hyperframes 0.9.31 → 0.9.33

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 (302) hide show
  1. package/dist/{add-53MR45WI.js → add-GDXM36YQ.js} +18 -18
  2. package/dist/{agentPromptGenerator-NXF7237H.js → agentPromptGenerator-KPNDH2EI.js} +36 -19
  3. package/dist/{animatedGifPrep-XF6VJW22.js → animatedGifPrep-SAKETEZ2.js} +11 -11
  4. package/dist/api.js +51 -46
  5. package/dist/{appHistory-DLDRURHW.js → appHistory-WZIHFCPK.js} +3 -3
  6. package/dist/{asset-Y3YAVXJ3.js → asset-KOJC72AQ.js} +2 -2
  7. package/dist/{assetCataloger-DRLH2VFH.js → assetCataloger-Q4ZFUI6G.js} +13 -13
  8. package/dist/{audio-TRDZQ2NW.js → audio-XZBBXKQC.js} +32 -30
  9. package/dist/{auth-MN66MWGN.js → auth-X45YSZGE.js} +4 -4
  10. package/dist/{autoUpdate-KAIIQJBV.js → autoUpdate-77XWQ564.js} +3 -3
  11. package/dist/{avatars-F2COSI7P.js → avatars-D3D22TI2.js} +20 -19
  12. package/dist/{backgroundChecks-36UG4V5N.js → backgroundChecks-2L2RWFJ3.js} +4 -4
  13. package/dist/backgroundChecksWorker.js +5 -5
  14. package/dist/{batchRender-CI6OFGS5.js → batchRender-O7J47H2Z.js} +5 -5
  15. package/dist/{beats-GBCNB763.js → beats-6RVVU56H.js} +15 -15
  16. package/dist/{benchmark-AHHMJBDN.js → benchmark-D5JRNAVQ.js} +12 -12
  17. package/dist/{billing-HME22C5A.js → billing-WT4DGZII.js} +20 -19
  18. package/dist/{browser-VZTIOZI3.js → browser-2OR737P4.js} +9 -9
  19. package/dist/{bundleWithLocalizedFonts-XLFSHMET.js → bundleWithLocalizedFonts-VBET4RVR.js} +1 -1
  20. package/dist/{capture-ZILHWIOF.js → capture-23X2CK56.js} +82 -39
  21. package/dist/{capture-NU2ZIXJB.js → capture-B34FTO6G.js} +4 -4
  22. package/dist/{captureCompositionFrame-ZWVKRKLL.js → captureCompositionFrame-TPZKEVKN.js} +19 -19
  23. package/dist/{captureFile-O7JMINHC.js → captureFile-Y2ZMB7HK.js} +3 -3
  24. package/dist/{catalog-NVEGPXGE.js → catalog-ACHSYU5Z.js} +18 -18
  25. package/dist/{catch-up-W7ST5JSZ.js → catch-up-FGANS2BB.js} +12 -12
  26. package/dist/{check-BZ652RYH.js → check-DXK4L5WP.js} +54 -54
  27. package/dist/{checkAudio-5NVSRMGL.js → checkAudio-4ISYJED3.js} +20 -20
  28. package/dist/{checkBrowser-YN454IBU.js → checkBrowser-5ECMULMP.js} +47 -47
  29. package/dist/{chunk-Q7EIUAYK.js → chunk-23354HMA.js} +3 -3
  30. package/dist/{chunk-W4OMDRZF.js → chunk-2I4DQZLQ.js} +28 -8
  31. package/dist/{chunk-O4Z4D4KA.js → chunk-2KYLVWLO.js} +1 -1
  32. package/dist/{chunk-BJSUKOWW.js → chunk-2LMCARA5.js} +2 -2
  33. package/dist/{chunk-XB77LMOP.js → chunk-2QTGQGYA.js} +1 -1
  34. package/dist/{chunk-JULHFF3J.js → chunk-2RBQLV6B.js} +1 -1
  35. package/dist/{chunk-R5U5PFDJ.js → chunk-2TBW7UOF.js} +5177 -4970
  36. package/dist/{chunk-RCWPVC4M.js → chunk-3J32XVJ6.js} +2 -2
  37. package/dist/{chunk-CP4FVXKZ.js → chunk-45ZQI734.js} +2 -2
  38. package/dist/{chunk-LHBQW4GJ.js → chunk-4CHGNFCS.js} +23 -15
  39. package/dist/{chunk-RLYYA6IR.js → chunk-4DLYTSWQ.js} +15 -8
  40. package/dist/{chunk-JLUOG6S2.js → chunk-4FTJE22M.js} +2 -2
  41. package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
  42. package/dist/{chunk-ZSELEQI2.js → chunk-4US5QCXR.js} +408 -219
  43. package/dist/{chunk-CWOUPW5E.js → chunk-4WZU4FYS.js} +4 -4
  44. package/dist/{chunk-B7H5RCKP.js → chunk-5GYTBKZA.js} +2 -2
  45. package/dist/{chunk-4HSE3FWO.js → chunk-5RVPI6QL.js} +4 -4
  46. package/dist/{chunk-VEIGTKYZ.js → chunk-64F653HO.js} +36 -9
  47. package/dist/{chunk-KAICKZZK.js → chunk-6QEEF5RR.js} +1 -1
  48. package/dist/{chunk-5Q3TTLGB.js → chunk-6RV2QY4K.js} +31 -31
  49. package/dist/{chunk-3SZ43GZG.js → chunk-6ZVUTYNB.js} +6 -6
  50. package/dist/{chunk-C4U6FRZH.js → chunk-76KUCQXD.js} +14 -11
  51. package/dist/{chunk-SWOAB4GM.js → chunk-77UB5EHM.js} +1 -1
  52. package/dist/{chunk-GRHBVTBK.js → chunk-7LTXT7ME.js} +11 -9
  53. package/dist/{chunk-RBECDLMQ.js → chunk-7UUUV4PN.js} +1 -1
  54. package/dist/{chunk-X3HQA3YE.js → chunk-A4VXOJZO.js} +10 -8
  55. package/dist/{chunk-OJSOH2LS.js → chunk-ADYMQM7T.js} +2 -2
  56. package/dist/{chunk-GSXHYLW4.js → chunk-AIC7T7CC.js} +2 -2
  57. package/dist/{chunk-MQOO5Z4U.js → chunk-B66UZ2YK.js} +9 -9
  58. package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
  59. package/dist/{chunk-T7PFJH2B.js → chunk-BBL6STGK.js} +2 -2
  60. package/dist/{chunk-5AMGFTMU.js → chunk-C2VZ7UPE.js} +18 -18
  61. package/dist/{chunk-CUORARXJ.js → chunk-CDI3CCAU.js} +7 -7
  62. package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
  63. package/dist/{chunk-J3OVTOVC.js → chunk-CHJGVW5W.js} +15 -2
  64. package/dist/{chunk-OOEZ3FT3.js → chunk-CHM3QYLF.js} +3 -3
  65. package/dist/{chunk-TCQKCUDA.js → chunk-CKJDY6EK.js} +1 -1
  66. package/dist/{chunk-DJVSNDF3.js → chunk-CNJLBAKM.js} +133 -22
  67. package/dist/chunk-DDDSTRHU.js +3890 -0
  68. package/dist/{chunk-AWL5M7BX.js → chunk-DGC2RIQE.js} +4 -4
  69. package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
  70. package/dist/{chunk-WSPGX2SM.js → chunk-DMZER7D5.js} +1 -1
  71. package/dist/{chunk-3DIYMOES.js → chunk-ERJBWDPM.js} +7 -7
  72. package/dist/{chunk-56MGA4FM.js → chunk-ETWXZQN5.js} +2 -2
  73. package/dist/{chunk-MMAPQWUP.js → chunk-EX533ULK.js} +2 -2
  74. package/dist/{chunk-HM3PIREE.js → chunk-EX7WPDFA.js} +2 -2
  75. package/dist/{chunk-MX3UCKZR.js → chunk-FRH3CPW5.js} +1 -1
  76. package/dist/{chunk-F2GWIWHN.js → chunk-G2XAFJ2B.js} +2 -2
  77. package/dist/{chunk-FKW5FP4C.js → chunk-G55YEL2L.js} +129 -89
  78. package/dist/{chunk-FRBQ3FIM.js → chunk-GBIASKIH.js} +1 -1
  79. package/dist/{chunk-44VR2CWT.js → chunk-GHLLC6LJ.js} +2 -2
  80. package/dist/{chunk-BIQJKM2O.js → chunk-GOMTMQRT.js} +1 -1
  81. package/dist/{chunk-BCMR6DE4.js → chunk-HEXTAQYG.js} +2 -2
  82. package/dist/{chunk-URXVZMSI.js → chunk-HMB3IAVP.js} +2 -2
  83. package/dist/{chunk-22PWPQVX.js → chunk-HPKW6UVW.js} +6 -6
  84. package/dist/{chunk-OFQWTKPW.js → chunk-HZTRKUKE.js} +8 -2
  85. package/dist/{chunk-YJVJCNK4.js → chunk-I35B5RWZ.js} +3 -3
  86. package/dist/{chunk-SCWMPY3F.js → chunk-I3PA54IU.js} +1 -1
  87. package/dist/{chunk-IEXRKKHC.js → chunk-IEEIPTDW.js} +1 -1
  88. package/dist/{chunk-CWN75OWQ.js → chunk-IYLGUQFR.js} +19 -7
  89. package/dist/chunk-JCJJCYCP.js +392 -0
  90. package/dist/{chunk-P7LZ2WSQ.js → chunk-JSVCF4A6.js} +4 -4
  91. package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
  92. package/dist/{chunk-OBRKDUCE.js → chunk-KIAY63AB.js} +38 -4
  93. package/dist/{chunk-HYRPH6LL.js → chunk-KRWPTZBY.js} +2 -5
  94. package/dist/{chunk-6VNDEMSP.js → chunk-L6BFXQ6S.js} +8 -4
  95. package/dist/chunk-M3BJEZ7E.js +152 -0
  96. package/dist/{chunk-ZOOY4LEZ.js → chunk-MA35E5OY.js} +3 -3
  97. package/dist/{chunk-IHWNDG5C.js → chunk-MDBEAWP2.js} +3 -3
  98. package/dist/{chunk-TEOIEMTR.js → chunk-MDGNQWFN.js} +1 -1
  99. package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
  100. package/dist/{chunk-O7ZX5DHD.js → chunk-MP36L7OJ.js} +2 -2
  101. package/dist/{chunk-5LLDGJGZ.js → chunk-MVIUSNPZ.js} +1 -1
  102. package/dist/{chunk-IIMW46LC.js → chunk-N2C7WJDG.js} +1 -1
  103. package/dist/{chunk-XEPGN46Q.js → chunk-N6Y645MX.js} +1 -1
  104. package/dist/{chunk-IOPIOX5K.js → chunk-N7C7U3ZR.js} +7 -4
  105. package/dist/{chunk-AQJA7TAQ.js → chunk-NQFIMBXS.js} +2 -2
  106. package/dist/{chunk-G5DZZEQF.js → chunk-O2T6ZTLN.js} +1 -1
  107. package/dist/{chunk-RHUYVGFO.js → chunk-O5CNNVRY.js} +7 -7
  108. package/dist/{chunk-6WHOI52Z.js → chunk-OD7PLYYX.js} +8 -8
  109. package/dist/{chunk-K7JA32EI.js → chunk-PNP2BO3U.js} +2 -2
  110. package/dist/{chunk-5SDUQLZ3.js → chunk-PXDRW3QN.js} +1 -1
  111. package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
  112. package/dist/{chunk-SEVZKBMA.js → chunk-QWM3NY2E.js} +4 -4
  113. package/dist/{chunk-ZQYRP22G.js → chunk-R45WFVRA.js} +1 -1
  114. package/dist/{chunk-PGGMJW7B.js → chunk-RCB4SGTB.js} +35 -7
  115. package/dist/{chunk-GGDJLN5I.js → chunk-REJ4NIBY.js} +1 -1
  116. package/dist/{chunk-5HVQV4H4.js → chunk-RGYOCAHC.js} +2 -2
  117. package/dist/{chunk-GFDXA5QO.js → chunk-ROXILOZ6.js} +2 -2
  118. package/dist/{chunk-G5S72X6Q.js → chunk-SIGASWB7.js} +4 -4
  119. package/dist/{chunk-J5LQW6VB.js → chunk-SOAQ3XXB.js} +2 -2
  120. package/dist/{chunk-RLQOYHXT.js → chunk-SUXEL7G4.js} +15 -15
  121. package/dist/{chunk-SHOE3UR6.js → chunk-SVI2CJ6R.js} +1 -1
  122. package/dist/{chunk-Q77TZ76B.js → chunk-SWPI27QV.js} +8 -8
  123. package/dist/{chunk-T54RTTFW.js → chunk-T3GSTIBS.js} +3 -3
  124. package/dist/chunk-TFBPCJPG.js +26 -0
  125. package/dist/{chunk-XDIHAX2C.js → chunk-U77L3ZQZ.js} +1 -1
  126. package/dist/{chunk-3F2DTPBD.js → chunk-UC4X6I35.js} +6 -0
  127. package/dist/{chunk-7XZS4PNM.js → chunk-UE2WSWNA.js} +1 -1
  128. package/dist/{chunk-JHOPRAJN.js → chunk-VK3MQSA2.js} +11 -5
  129. package/dist/{chunk-KAHWO4XC.js → chunk-VKZSAAXZ.js} +3 -3
  130. package/dist/chunk-VQJLTYEK.js +453 -0
  131. package/dist/{chunk-5YYGPTBP.js → chunk-VZQXHYEI.js} +3 -3
  132. package/dist/{chunk-OZNJ2QD5.js → chunk-W2FSQBUR.js} +17 -17
  133. package/dist/{chunk-RVI665CP.js → chunk-W5PW26KE.js} +1 -1
  134. package/dist/{chunk-KKUBMYCY.js → chunk-WIMVXPYG.js} +12 -12
  135. package/dist/{chunk-ALVXFXUG.js → chunk-WXOOAAT4.js} +27 -4
  136. package/dist/{chunk-OB6DVKHE.js → chunk-WYPRTHXQ.js} +2 -2
  137. package/dist/{chunk-ELWX6CAA.js → chunk-XDDBSGBD.js} +2 -2
  138. package/dist/{chunk-VPPJIWVG.js → chunk-XDRSEU2I.js} +14 -14
  139. package/dist/{chunk-3OA75WJW.js → chunk-XFXCI4IP.js} +16 -9
  140. package/dist/{chunk-RJA64ACI.js → chunk-XQWWFIBR.js} +2 -2
  141. package/dist/{chunk-FK3KV32T.js → chunk-XSHJ37U3.js} +27 -24
  142. package/dist/{chunk-Y6RU3H6C.js → chunk-XUDJ5XSQ.js} +6 -6
  143. package/dist/{chunk-DFSAC4F4.js → chunk-XVVPEWNX.js} +1 -1
  144. package/dist/chunk-Y5DOT5NQ.js +57 -0
  145. package/dist/{chunk-SWC3QIEH.js → chunk-YAS347ZS.js} +1 -1
  146. package/dist/{chunk-L6ZLOJBI.js → chunk-YDG3OXH3.js} +3 -2
  147. package/dist/{chunk-SQ63BIR2.js → chunk-YNFHZ4RI.js} +3 -3
  148. package/dist/{chunk-5BIMSULZ.js → chunk-YSHUIQ3I.js} +2 -2
  149. package/dist/chunk-YTUPQTXA.js +560 -0
  150. package/dist/{chunk-54FVSPRH.js → chunk-ZIYXPDKY.js} +2 -2
  151. package/dist/chunk-ZOAANTVI.js +193 -0
  152. package/dist/{clean-WYXHI2DO.js → clean-3IN64RHM.js} +31 -31
  153. package/dist/cli.js +71 -69
  154. package/dist/{cloud-X52P5AIE.js → cloud-LBUZBUP6.js} +4 -4
  155. package/dist/{cloud-TDXVUIUM.js → cloud-SVYXHFEG.js} +9 -8
  156. package/dist/{cloudrun-36IR6ZKU.js → cloudrun-PZOF2QGL.js} +8 -8
  157. package/dist/{compare-R2KXOV2I.js → compare-UOJ3LXQQ.js} +46 -46
  158. package/dist/{compiler-FRWUFIQC.js → compiler-5ZDHBKBQ.js} +9 -7
  159. package/dist/{component-TIBQY7KQ.js → component-EVIPLTTJ.js} +3 -3
  160. package/dist/{compositions-NQPORXIX.js → compositions-R4GG5FBO.js} +17 -17
  161. package/dist/{contactSheet-PZXG3REG.js → contactSheet-HZMP42FZ.js} +4 -4
  162. package/dist/contract/LICENSE-Unicode.txt +39 -0
  163. package/dist/contract/path-policy.json +311 -0
  164. package/dist/contract/unicode-15.1.0.json +6179 -0
  165. package/dist/{curve-DTLRPBSB.js → curve-LR3PSRW3.js} +16 -16
  166. package/dist/{cuts-73HKU767.js → cuts-DHCOBAFT.js} +17 -17
  167. package/dist/{delete-HIHA436T.js → delete-MMGGU3QP.js} +12 -11
  168. package/dist/deploy-SKIGUTM2.js +213 -0
  169. package/dist/{describeProject-4A5UXQ25.js → describeProject-L7HNTBPV.js} +12 -12
  170. package/dist/{destroy-4DOMPOYB.js → destroy-5HSMMDH7.js} +22 -18
  171. package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-2ZPRAI3C.js} +4 -4
  172. package/dist/{diff-JPADFUMV.js → diff-KR7VKPYL.js} +48 -47
  173. package/dist/{dist-EFXKPJJT.js → dist-3MFNUZSN.js} +4 -4
  174. package/dist/{dist-KWXQYTRT.js → dist-HK3AZNNL.js} +22 -22
  175. package/dist/{dist-FKEKIXVL.js → dist-ZGYPFYOH.js} +4 -4
  176. package/dist/docs/rendering.md +2 -0
  177. package/dist/{doctor-3OO3CONL.js → doctor-G7VGNSA5.js} +18 -18
  178. package/dist/{energy-XFPN5YIL.js → energy-H7EEH6WO.js} +17 -17
  179. package/dist/{events-6ONCYFB5.js → events-5ATZCZTK.js} +4 -4
  180. package/dist/{events-QWPZT3EQ.js → events-ASG27IXP.js} +19 -19
  181. package/dist/{events-G2MME5LQ.js → events-YD6N7OPQ.js} +9 -9
  182. package/dist/execute-OAS454OB.js +109 -0
  183. package/dist/{extract-3EV72SMY.js → extract-645SENLA.js} +20 -20
  184. package/dist/{face-JZS6P3AT.js → face-WRT5XH4I.js} +19 -19
  185. package/dist/{feedback-JVWBHRQG.js → feedback-3LKLR5MV.js} +22 -17
  186. package/dist/{ffmpeg-XDAITYSU.js → ffmpeg-PXKIZL2X.js} +11 -11
  187. package/dist/{figma-KPHTDMCQ.js → figma-RIEVJJBW.js} +3 -3
  188. package/dist/fontLocalizeCli.js +20 -20
  189. package/dist/{frames-KRVRJTKC.js → frames-OTB3J5W3.js} +19 -19
  190. package/dist/{generate-X2MYGFZX.js → generate-IUKCZW2D.js} +33 -32
  191. package/dist/{get-QM24BI7N.js → get-6WVQ7TBV.js} +12 -11
  192. package/dist/{gpuPolicy-EFJJLHVV.js → gpuPolicy-HXSVAEU4.js} +11 -11
  193. package/dist/{grade-compare-W5N5LH4X.js → grade-compare-TCAYHDEF.js} +47 -47
  194. package/dist/{gsapParser-3H7ON3DO.js → gsapParser-L7TM3RGH.js} +49 -26
  195. package/dist/hangReport.js +1 -1
  196. package/dist/{heifImagePrep-X5QRRVTV.js → heifImagePrep-GXIMK4HK.js} +12 -12
  197. package/dist/{help-LWS4YWMO.js → help-RGOL5EJD.js} +2 -1
  198. package/dist/{history-SG34LBJY.js → history-XKPRGJGS.js} +15 -15
  199. package/dist/hyperframe.manifest.json +1 -1
  200. package/dist/hyperframe.runtime.iife.js +42 -42
  201. package/dist/hyperframes-player.global.js +1 -1
  202. package/dist/{info-2FC43IYB.js → info-EYBBC42V.js} +19 -19
  203. package/dist/{init-GKY5OKDV.js → init-F2FWPSMA.js} +36 -36
  204. package/dist/{ink-7UK6YCUY.js → ink-BWFERAAT.js} +17 -17
  205. package/dist/{inspect-ZB2NTNQA.js → inspect-74N7L3BW.js} +44 -44
  206. package/dist/{installer-GALVXWPC.js → installer-LOUR7G4R.js} +8 -8
  207. package/dist/{keyframes-LSP4FLHT.js → keyframes-WB5PTKFE.js} +15 -13
  208. package/dist/{lambda-3F32DRYF.js → lambda-JYCNXUKB.js} +20 -20
  209. package/dist/{layout-XPGS3QTX.js → layout-P52EVR24.js} +44 -44
  210. package/dist/{lint-Q5SO57RK.js → lint-SL55KAS2.js} +15 -15
  211. package/dist/{lintProject-5CBL7VFV.js → lintProject-46WU53VC.js} +4 -4
  212. package/dist/{list-FL5RYSFT.js → list-LN6CQH52.js} +14 -13
  213. package/dist/{localPage-IOHQETQT.js → localPage-L6OJU3UH.js} +12 -12
  214. package/dist/{login-D4TCWDDW.js → login-WTOAMDID.js} +8 -7
  215. package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
  216. package/dist/{look-G2BT4E4A.js → look-O6ESLJRP.js} +17 -17
  217. package/dist/{manager-F6WI43DQ.js → manager-CMEZWENF.js} +12 -12
  218. package/dist/{measure-VXQQHYMZ.js → measure-NEIXU53P.js} +11 -11
  219. package/dist/{media-treatment-ZXA3JZSL.js → media-treatment-6CAQG7MU.js} +19 -19
  220. package/dist/{media-use-63LZFAID.js → media-use-IXJFMKU7.js} +16 -9
  221. package/dist/{models-MWUVU4CY.js → models-TZALWUEY.js} +15 -15
  222. package/dist/{motionShot-U4YDT7UV.js → motionShot-OQYK6G6M.js} +24 -24
  223. package/dist/{normalize-audio-T5QJWU4P.js → normalize-audio-43PJLOBY.js} +15 -15
  224. package/dist/oauth-SAVP2YM4.js +40 -0
  225. package/dist/{open-DRLXHOW2.js → open-EOX6QY4M.js} +20 -20
  226. package/dist/{parakeetRunner-5OHEB3XZ.js → parakeetRunner-STHAXQAF.js} +19 -19
  227. package/dist/{pipeline-MAIRRYD6.js → pipeline-RRWZHFBQ.js} +14 -14
  228. package/dist/plan-JWUSMF4W.js +88 -0
  229. package/dist/{play-33A3EXX3.js → play-TUKTST32.js} +40 -34
  230. package/dist/{preflight-HSWMKB2Q.js → preflight-L42JKT6F.js} +12 -12
  231. package/dist/{present-HJIFEIDH.js → present-Z7HRDXPV.js} +34 -28
  232. package/dist/{preview-J6Z6RKMN.js → preview-HGTIRAV3.js} +31 -31
  233. package/dist/{probe-RA4VOGYY.js → probe-RXK44FY7.js} +17 -17
  234. package/dist/{producer-KWP2B4A5.js → producer-KJ2RZDJ3.js} +1 -1
  235. package/dist/{progress-TGYZ2TKQ.js → progress-IY6U35WH.js} +1 -1
  236. package/dist/{projectConfig-3YIGHLNE.js → projectConfig-K36NTJXP.js} +11 -11
  237. package/dist/{publication-QRUY2WJK.js → publication-OZWLT6K6.js} +6 -6
  238. package/dist/{publish-GV3I3GUL.js → publish-CRUTXNYM.js} +92 -30
  239. package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
  240. package/dist/{remove-background-UUITKXEQ.js → remove-background-R37HZPCG.js} +15 -15
  241. package/dist/{render-ZITQXHJP.js → render-EZMKBT7V.js} +57 -52
  242. package/dist/{render-NHVDJRFD.js → render-SU2XTMJL.js} +8 -8
  243. package/dist/{render-EC67XXR2.js → render-ZHCPCISN.js} +101 -937
  244. package/dist/{render-batch-RII4F3PD.js → render-batch-YIUOEAAL.js} +8 -8
  245. package/dist/renderSetupWorker.js +5 -5
  246. package/dist/{resolver-R3FXDZKS.js → resolver-DLCKRKQR.js} +8 -8
  247. package/dist/{reverse-2GJ5Y3WM.js → reverse-4FAVXIER.js} +1 -1
  248. package/dist/{run-24USN7TA.js → run-H4GVEJVS.js} +8 -6
  249. package/dist/{screenshotCapture-TEQVEBWB.js → screenshotCapture-CQF5FYVI.js} +14 -14
  250. package/dist/service-XDQOULGD.js +68 -0
  251. package/dist/share-CUCQALE7.js +274 -0
  252. package/dist/{sherpa-YIJR47GX.js → sherpa-WZNRQUVC.js} +18 -18
  253. package/dist/sherpaWorker.js +1 -1
  254. package/dist/{sites-LILUBMRM.js → sites-QK3F4AUS.js} +1 -1
  255. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  256. package/dist/skills/hyperframes-cli/references/preview-render.md +21 -0
  257. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +15 -4
  258. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +42 -6
  259. package/dist/skills/media-use/audio/scripts/lib/python.mjs +17 -2
  260. package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +50 -4
  261. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +11 -1
  262. package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -1
  263. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +31 -0
  264. package/dist/{skills-DM3XC7RQ.js → skills-J52DBZAK.js} +12 -12
  265. package/dist/{skillsUpdateCheck-ZHVFEOEN.js → skillsUpdateCheck-26DJHBTC.js} +4 -4
  266. package/dist/{snapshot-72RQQXHW.js → snapshot-ZIRQFDA7.js} +94 -69
  267. package/dist/{src-SPFGPZZQ.js → src-7BGBN6SS.js} +18 -18
  268. package/dist/{src-C43KUEBY.js → src-C3XYMTF4.js} +12 -10
  269. package/dist/{start-FSYSYLI7.js → start-QG2XNMYN.js} +31 -30
  270. package/dist/{state-W3AS6O2J.js → state-7OIPR4BG.js} +1 -1
  271. package/dist/{staticProjectServer-RHBRRGPK.js → staticProjectServer-TWMEFK3T.js} +28 -28
  272. package/dist/{status-TE74GP4Q.js → status-3UPA5WPI.js} +26 -24
  273. package/dist/studio/assets/{codec-DXM4vA6G.js → codec-qz1-OXLj.js} +1 -1
  274. package/dist/studio/assets/{hyperframes-player-D_016Ubp.js → hyperframes-player-2eG1zFX5.js} +1 -1
  275. package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
  276. package/dist/studio/assets/{index-Ob53qo6K.js → index-DDmhnfrS.js} +189 -189
  277. package/dist/studio/assets/{index-Bw4stQMm.js → index-DUveJ_YP.js} +1 -1
  278. package/dist/studio/assets/{pausedVideoDecoder-vbdgaMqL.js → pausedVideoDecoder-CoHTKUjM.js} +1 -1
  279. package/dist/studio/index.html +2 -2
  280. package/dist/{studio-api-JAOHMYPG.js → studio-api-Z42OO4JJ.js} +22 -22
  281. package/dist/{studioServer-RHCPM4CN.js → studioServer-SMN3RMVL.js} +455 -71
  282. package/dist/{sync-UZJ7DOUA.js → sync-ONTI2WSI.js} +17 -17
  283. package/dist/{synthesize-MDW4ZWTN.js → synthesize-FR5KPBRP.js} +4 -4
  284. package/dist/{telemetry-TFOEA2PM.js → telemetry-RRXALB5D.js} +9 -9
  285. package/dist/{templates-2AHM5TZ3.js → templates-BHFOSD6F.js} +23 -22
  286. package/dist/{timeline-ZGV323MP.js → timeline-Z5IHY5TN.js} +28 -28
  287. package/dist/{tokens-ERUFEWUA.js → tokens-MZVEPARM.js} +2 -2
  288. package/dist/{transcribe-6HLYS7NV.js → transcribe-5IZS4BGW.js} +37 -36
  289. package/dist/{transcribe-M5UZ2XFG.js → transcribe-M5N3YZZU.js} +15 -15
  290. package/dist/{tts-IXX2HHHJ.js → tts-ZE776B4I.js} +1 -1
  291. package/dist/{update-JDVI2XTM.js → update-EVPWBIKY.js} +14 -13
  292. package/dist/{updateCheck-GDTYPXKO.js → updateCheck-2UUEF6TC.js} +5 -3
  293. package/dist/{upgrade-SJKYBA4X.js → upgrade-DK45FD4K.js} +6 -4
  294. package/dist/{urlDownloader-2QCNXXUG.js → urlDownloader-3MPHIDSA.js} +10 -10
  295. package/dist/{validate-IUTHTA2N.js → validate-W27TQ367.js} +36 -36
  296. package/dist/{video-4BJ7WHI2.js → video-TI372QGV.js} +13 -13
  297. package/dist/{voices-UDSFBPZX.js → voices-FZV4PGT6.js} +30 -29
  298. package/dist/warmCheck.js +55 -55
  299. package/dist/warmCheckClient.js +1 -1
  300. package/package.json +2 -1
  301. package/dist/chunk-2X4PQEYM.js +0 -34
  302. package/dist/deploy-EB3FS2BT.js +0 -361
@@ -10,7 +10,7 @@ import {
10
10
 
11
11
  // ../parsers/dist/assetResolution.js
12
12
  import { closeSync, constants, existsSync, fstatSync, openSync, readFileSync } from "fs";
13
- import { isAbsolute as isAbsolute2, join as join2, posix as posix2, relative as relative2, resolve as resolve3, sep } from "path";
13
+ import { isAbsolute as isAbsolute2, join as join2, parse, posix as posix2, relative as relative2, resolve as resolve3, sep } from "path";
14
14
  import { fileURLToPath } from "url";
15
15
  import { posix } from "path";
16
16
  function readAttributeValue(html, at) {
@@ -120,6 +120,9 @@ function splitUrlSuffix(urlValue) {
120
120
  if (hashIdx >= 0) cutIdx = Math.min(cutIdx, hashIdx);
121
121
  return { basePath: urlValue.slice(0, cutIdx), suffix: urlValue.slice(cutIdx) };
122
122
  }
123
+ function decodedUrlPath(url) {
124
+ return decodeWellFormedEscapes(splitUrlSuffix(url).basePath);
125
+ }
123
126
  function encodeUrlPath(path) {
124
127
  return encodeURIComponent(path).replace(/%2F/g, "/").replace(/['()]/g, (char) => `%${char.charCodeAt(0).toString(16).toUpperCase()}`);
125
128
  }
@@ -193,12 +196,34 @@ function resolveLocalAssetCandidates(projectDir, url) {
193
196
  }
194
197
  const normalized = posix2.normalize(projectRelative.replace(/\\/g, "/"));
195
198
  const clamped = normalized.replace(/^(\.\.\/)+/, "");
196
- if (clamped && !clamped.startsWith("..")) {
197
- addCandidate(candidates, resolve3(projectRoot, clamped));
198
- }
199
+ if (!clamped || clamped.startsWith("..")) continue;
200
+ const reanchored = resolve3(projectRoot, clamped);
201
+ if (isWithinProjectRoot(projectRoot, reanchored)) addCandidate(candidates, reanchored);
199
202
  }
200
203
  return candidates;
201
204
  }
205
+ function namesAnotherNetworkRoot(base, target) {
206
+ const root = parse(resolve3(target)).root;
207
+ return /^[\\/]{2}/.test(root) && root.toLowerCase() !== parse(resolve3(base)).root.toLowerCase();
208
+ }
209
+ var LEADING_PARENT_SEGMENT = /^\.\.(?:[\\/]|$)/;
210
+ function staysInsideProject(projectDir, path) {
211
+ const relativePath = relative2(resolve3(projectDir), path);
212
+ return !LEADING_PARENT_SEGMENT.test(relativePath) && !isAbsolute2(relativePath);
213
+ }
214
+ function resolveCompositionSrc(projectDir, src) {
215
+ const rooted = (value) => resolve3(projectDir, value.replace(/^(?:\.?[\\/])+/, ""));
216
+ const decoded = rooted(decodedUrlPath(src));
217
+ if (!staysInsideProject(projectDir, decoded)) return null;
218
+ const raw = rooted(src);
219
+ return !existsSync(decoded) && staysInsideProject(projectDir, raw) && existsSync(raw) ? raw : decoded;
220
+ }
221
+ function localAbsoluteAssetFile(projectDir, src) {
222
+ const path = cleanAssetUrl(src);
223
+ if (isNonRelativeUrl(path) || !isAbsolute2(path)) return null;
224
+ const file = resolve3(projectDir, path);
225
+ return !namesAnotherNetworkRoot(projectDir, file) && existsSync(file) ? file : null;
226
+ }
202
227
  function resolveExistingLocalAsset(projectDir, url) {
203
228
  const projectRoot = resolve3(projectDir);
204
229
  const resolved = resolveLocalAssetCandidates(projectRoot, url).find(existsSync);
@@ -209,7 +234,7 @@ function resolveAuthoredAssetFile(projectDir, compositionFile, src) {
209
234
  const cleanSrc = cleanAssetUrl(src.trim());
210
235
  if (!cleanSrc) return null;
211
236
  const rootRelative = cleanSrc.startsWith("/") ? cleanSrc : rewriteAssetPath(compositionFile, cleanSrc, (path) => existsSync(join2(projectDir, path)));
212
- return resolveExistingLocalAsset(projectDir, rootRelative)?.resolved ?? null;
237
+ return resolveExistingLocalAsset(projectDir, rootRelative)?.resolved ?? localAbsoluteAssetFile(projectDir, cleanSrc);
213
238
  }
214
239
  function reanchoredCandidates(variant, baseDir, compiledDir) {
215
240
  const baseAbs = resolve3(baseDir);
@@ -300,6 +325,9 @@ export {
300
325
  cleanAssetUrl,
301
326
  isWithinProjectRoot,
302
327
  resolveLocalAssetCandidates,
328
+ namesAnotherNetworkRoot,
329
+ resolveCompositionSrc,
330
+ localAbsoluteAssetFile,
303
331
  resolveExistingLocalAsset,
304
332
  resolveAuthoredAssetFile,
305
333
  resolveProjectRelativeSrc,
@@ -59,21 +59,21 @@ import {
59
59
  warnUnknownEnumValues,
60
60
  wrapInlineScriptWithErrorBoundary,
61
61
  wrapScopedCompositionScript
62
- } from "./chunk-ELWX6CAA.js";
62
+ } from "./chunk-XDDBSGBD.js";
63
63
  import {
64
64
  cssVariableName
65
65
  } from "./chunk-VC76R6W2.js";
66
66
  import {
67
67
  isSafePath,
68
68
  resolveWithinProject
69
- } from "./chunk-OFQWTKPW.js";
69
+ } from "./chunk-HZTRKUKE.js";
70
70
  import {
71
71
  linkedSources,
72
72
  lintHyperframeHtml
73
- } from "./chunk-DJVSNDF3.js";
73
+ } from "./chunk-CNJLBAKM.js";
74
74
  import {
75
75
  readTextFile
76
- } from "./chunk-WVRAFHJU.js";
76
+ } from "./chunk-K2Z6OXEI.js";
77
77
  import {
78
78
  CSS_URL_RE,
79
79
  checkSubCompositionUsability,
@@ -90,6 +90,9 @@ import {
90
90
  rewriteSrcsetUrls,
91
91
  splitUrlSuffix
92
92
  } from "./chunk-6MKM2RVL.js";
93
+ import {
94
+ isSafeMediaUrl
95
+ } from "./chunk-N7C7U3ZR.js";
93
96
  import {
94
97
  parseHTML
95
98
  } from "./chunk-GWTIFRF5.js";
@@ -326,9 +329,39 @@ function markFlattenedInnerRoot(prepared) {
326
329
  }
327
330
 
328
331
  // ../core/dist/runtime/applyVariableBindings.js
332
+ var VAR_SRC_TAGS = /* @__PURE__ */ new Set(["img", "video", "audio", "source"]);
333
+ function resolveUrl(value) {
334
+ if (typeof value === "string" && value.length > 0)
335
+ return value;
336
+ if (value !== null && typeof value === "object") {
337
+ const url = value.url;
338
+ if (typeof url === "string" && url.length > 0)
339
+ return url;
340
+ }
341
+ return null;
342
+ }
329
343
  function sanitizeCssValue(value) {
330
344
  return value.replace(/[;{}<>\r\n]/g, "");
331
345
  }
346
+ function boundMediaSrc(el, values, warn = true) {
347
+ const id = el.getAttribute("data-var-src")?.trim();
348
+ if (!id)
349
+ return null;
350
+ if (!VAR_SRC_TAGS.has(el.tagName.toLowerCase())) {
351
+ if (warn)
352
+ console.warn(`[hyperframes] Ignoring data-var-src on <${el.tagName.toLowerCase()}>: variable-bound src is only allowed on ${Array.from(VAR_SRC_TAGS).join("/")}.`);
353
+ return null;
354
+ }
355
+ const url = resolveUrl(values[id]);
356
+ if (url === null)
357
+ return null;
358
+ if (!isSafeMediaUrl(url)) {
359
+ if (warn)
360
+ console.warn(`[hyperframes] Ignoring data-var-src="${id}": unsafe URL protocol.`);
361
+ return null;
362
+ }
363
+ return url;
364
+ }
332
365
 
333
366
  // ../core/dist/compiler/htmlBundler.js
334
367
  import { AsyncLocalStorage } from "async_hooks";
@@ -2847,6 +2880,7 @@ export {
2847
2880
  ensureExternalScriptTag,
2848
2881
  emitMountedModuleScripts,
2849
2882
  FLATTENED_INNER_ROOT_STRIP_ATTRS,
2883
+ boundMediaSrc,
2850
2884
  extractStandaloneEntryFromIndex,
2851
2885
  validateHyperframeHtmlContract,
2852
2886
  ensureExternalLinkTag,
@@ -9,7 +9,7 @@ var __dirname = __hf_dirname(__filename);
9
9
  import { execFileSync } from "child_process";
10
10
  import { accessSync, closeSync, constants, existsSync, openSync, readSync } from "fs";
11
11
  import { createRequire } from "module";
12
- import { basename, delimiter, dirname, join, resolve } from "path";
12
+ import { basename, delimiter, dirname, isAbsolute, join, resolve } from "path";
13
13
  var FFMPEG_PATH_ENV = "HYPERFRAMES_FFMPEG_PATH";
14
14
  var FFPROBE_PATH_ENV = "HYPERFRAMES_FFPROBE_PATH";
15
15
  var ENV_BY_NAME = {
@@ -66,10 +66,7 @@ function isExecutablePathCandidate(candidate) {
66
66
  }
67
67
  function scanPath(name) {
68
68
  const pathValue = process.env.PATH;
69
- const searchDirs = [
70
- ...process.platform === "win32" ? [process.cwd()] : [],
71
- ...pathValue ? pathValue.split(delimiter) : []
72
- ].filter(Boolean);
69
+ const searchDirs = (pathValue ? pathValue.split(delimiter) : []).filter((dir) => isAbsolute(dir));
73
70
  if (searchDirs.length === 0) return void 0;
74
71
  const extensions = process.platform === "win32" ? [
75
72
  ".exe",
@@ -8,13 +8,16 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-R5U5PFDJ.js";
11
+ } from "./chunk-2TBW7UOF.js";
12
12
  import {
13
13
  renameWithRetry
14
- } from "./chunk-IEXRKKHC.js";
14
+ } from "./chunk-IEEIPTDW.js";
15
15
  import {
16
16
  parseAnimatedGifMetadata
17
- } from "./chunk-HM3PIREE.js";
17
+ } from "./chunk-EX7WPDFA.js";
18
+ import {
19
+ namesAnotherNetworkRoot
20
+ } from "./chunk-K2Z6OXEI.js";
18
21
  import {
19
22
  parseHTML
20
23
  } from "./chunk-GWTIFRF5.js";
@@ -82,9 +85,10 @@ function resolveLocalImageSourcePath(src, options) {
82
85
  const mapped = options.sourceAssets?.get(trimmed) ?? options.sourceAssets?.get(basePath) ?? options.sourceAssets?.get(normalizedBase);
83
86
  if (mapped && existsSync(mapped)) return mapped;
84
87
  if (isHttpUrl(trimmed)) return null;
88
+ const protocolRelativeUrlOnShare = basePath.startsWith("/") && namesAnotherNetworkRoot(options.projectDir, basePath);
85
89
  const projectRelative = basePath.startsWith("/") ? basePath.slice(1) : basePath;
86
90
  const candidates = [
87
- isAbsolute(basePath) ? basePath : resolve(options.projectDir, projectRelative),
91
+ ...protocolRelativeUrlOnShare ? [] : [isAbsolute(basePath) ? basePath : resolve(options.projectDir, projectRelative)],
88
92
  resolve(options.downloadDir, normalizedBase)
89
93
  ];
90
94
  return candidates.find((candidate) => existsSync(candidate)) ?? null;
@@ -0,0 +1,152 @@
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
+ import {
8
+ apiBaseUrl,
9
+ isHeaderSafe,
10
+ readStore
11
+ } from "./chunk-BAWGEGKD.js";
12
+ import {
13
+ ErrInvalidStore,
14
+ ErrLoginExpired,
15
+ ErrNotConfigured,
16
+ assertOAuthIdentity,
17
+ isAuthError
18
+ } from "./chunk-DMW5SSUN.js";
19
+
20
+ // src/auth/resolver.ts
21
+ var ENV_CREDENTIAL_VAR = {
22
+ env: "HEYGEN_API_KEY",
23
+ env_alias: "HYPERFRAMES_API_KEY",
24
+ env_oauth: "HEYGEN_ACCESS_TOKEN"
25
+ };
26
+ var envCredentialVar = (source) => source in ENV_CREDENTIAL_VAR ? ENV_CREDENTIAL_VAR[source] : void 0;
27
+ var EXPIRY_SKEW_MS = 60 * 1e3;
28
+ async function resolveCredential(opts = {}) {
29
+ const now = (opts.now ?? (() => /* @__PURE__ */ new Date()))();
30
+ const envKey = envApiKey();
31
+ if (envKey && !heygenApiHost()) return envKey;
32
+ const accessToken = headerSafeEnv(ENV_CREDENTIAL_VAR.env_oauth);
33
+ if (accessToken) {
34
+ return { type: "oauth", access_token: accessToken, source: "env_oauth", refreshable: false };
35
+ }
36
+ if (envKey && loginRefreshFailed) return envKey;
37
+ return await fromStore(now, envKey);
38
+ }
39
+ async function fromStore(now, envKey) {
40
+ const store = await readStore().catch((err) => {
41
+ if (envKey) return null;
42
+ throw err;
43
+ });
44
+ if (!store || store.source === "absent") {
45
+ if (envKey) return envKey;
46
+ throw ErrNotConfigured();
47
+ }
48
+ const { credentials, source } = store;
49
+ const fileSource = source === "file_legacy" ? "file_legacy" : "file_json";
50
+ const login = credentials.oauth && boundToThisClient(credentials.oauth) ? pickOAuth(credentials.oauth, now, fileSource) : null;
51
+ return login ?? envKey ?? storedApiKey(credentials, fileSource);
52
+ }
53
+ function storedApiKey(credentials, source) {
54
+ if (credentials.oauth) {
55
+ assertOAuthIdentity(credentials.oauth);
56
+ throw ErrLoginExpired();
57
+ }
58
+ if (credentials.api_key) return { type: "api_key", key: credentials.api_key, source };
59
+ throw ErrNotConfigured();
60
+ }
61
+ function envApiKey() {
62
+ const heygenEnv = headerSafeEnv(ENV_CREDENTIAL_VAR.env);
63
+ if (heygenEnv) return { type: "api_key", key: heygenEnv, source: "env" };
64
+ const hfEnv = headerSafeEnv(ENV_CREDENTIAL_VAR.env_alias);
65
+ if (hfEnv) return { type: "api_key", key: hfEnv, source: "env_alias" };
66
+ return void 0;
67
+ }
68
+ function heygenApiHost() {
69
+ const mediaBase = process.env["HEYGEN_API_BASE"]?.trim();
70
+ return [apiBaseUrl(), ...mediaBase ? [mediaBase] : []].every((base) => {
71
+ try {
72
+ const host = new URL(base).hostname;
73
+ return host === "heygen.com" || host.endsWith(".heygen.com");
74
+ } catch {
75
+ return false;
76
+ }
77
+ });
78
+ }
79
+ function boundToThisClient(tokens) {
80
+ try {
81
+ assertOAuthIdentity(tokens);
82
+ return true;
83
+ } catch {
84
+ return false;
85
+ }
86
+ }
87
+ var loginRefreshFailed = false;
88
+ async function afterRefreshFailure(err, refreshToken) {
89
+ if (!isAuthError(err)) throw err;
90
+ if (err.code === "LOGIN_CHANGED" || err.code === "REFRESH_FAILED") {
91
+ const stored = await readStore().catch(() => null);
92
+ const current = stored?.credentials.oauth?.refresh_token;
93
+ if (current && current !== refreshToken) {
94
+ const next = await resolveCredential();
95
+ if (next.type !== "oauth" || !next.refreshable) return next;
96
+ }
97
+ }
98
+ if (!err.refused && err.code !== "LOGIN_EXPIRED") throw err;
99
+ const key = envApiKey();
100
+ if (!key) throw err;
101
+ loginRefreshFailed = true;
102
+ return key;
103
+ }
104
+ function headerSafeEnv(name) {
105
+ const value = process.env[name];
106
+ if (value && !isHeaderSafe(value)) {
107
+ throw ErrInvalidStore(`${name} contains control characters`);
108
+ }
109
+ return value;
110
+ }
111
+ async function tryResolveCredential(opts = {}) {
112
+ try {
113
+ return await resolveCredential(opts);
114
+ } catch (err) {
115
+ if (isAuthError(err) && err.code === "NOT_CONFIGURED") {
116
+ return null;
117
+ }
118
+ throw err;
119
+ }
120
+ }
121
+ function pickOAuth(tokens, now, source) {
122
+ const expiresAt = parseDate(tokens.expires_at);
123
+ const expired = isTokenExpired(expiresAt, now);
124
+ if (expired && !tokens.refresh_token) return null;
125
+ const out = {
126
+ type: "oauth",
127
+ access_token: tokens.access_token,
128
+ source,
129
+ refreshable: expired && tokens.refresh_token !== void 0
130
+ };
131
+ if (tokens.refresh_token) out.refresh_token = tokens.refresh_token;
132
+ if (expiresAt) out.expires_at = expiresAt;
133
+ if (tokens.scope) out.scope = tokens.scope;
134
+ return out;
135
+ }
136
+ function isTokenExpired(expiresAt, now) {
137
+ return expiresAt !== void 0 && expiresAt.getTime() - EXPIRY_SKEW_MS < now.getTime();
138
+ }
139
+ function parseDate(s) {
140
+ if (!s) return void 0;
141
+ const d = new Date(s);
142
+ return Number.isNaN(d.getTime()) ? void 0 : d;
143
+ }
144
+
145
+ export {
146
+ ENV_CREDENTIAL_VAR,
147
+ envCredentialVar,
148
+ resolveCredential,
149
+ afterRefreshFailure,
150
+ tryResolveCredential,
151
+ isTokenExpired
152
+ };
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCloudAuthHeaders,
9
9
  resolveCloudBaseUrl
10
- } from "./chunk-ZLDYDO64.js";
10
+ } from "./chunk-QUUZ2BGC.js";
11
11
  import {
12
12
  readProjectConfig
13
- } from "./chunk-J5LQW6VB.js";
13
+ } from "./chunk-SOAQ3XXB.js";
14
14
  import {
15
15
  normalizeSkillSlug
16
16
  } from "./chunk-HVW7ABXD.js";
17
17
  import {
18
18
  trackBillingCheckoutReturnRefused
19
- } from "./chunk-OJSOH2LS.js";
19
+ } from "./chunk-ADYMQM7T.js";
20
20
 
21
21
  // src/heygen/plan.ts
22
22
  import { randomUUID } from "crypto";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-OJSOH2LS.js";
10
+ } from "./chunk-ADYMQM7T.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-5BIMSULZ.js";
13
+ } from "./chunk-YSHUIQ3I.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-JCNPHRGX.js";
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
86
  import("./system-W2ZTDOLV.js"),
87
- import("./ffmpeg-XDAITYSU.js")
87
+ import("./ffmpeg-PXKIZL2X.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -8,7 +8,7 @@ import {
8
8
  ratioOf,
9
9
  readClip,
10
10
  round
11
- } from "./chunk-SCWMPY3F.js";
11
+ } from "./chunk-I3PA54IU.js";
12
12
 
13
13
  // src/measure/look.ts
14
14
  var LOOK_FLOOR = { luma: 1, contrast: 1, saturation: 0.01 };
@@ -8,7 +8,7 @@ import {
8
8
  forceRefreshCredentials,
9
9
  resolveCloudAuthHeaders,
10
10
  resolveCloudBaseUrl
11
- } from "./chunk-ZLDYDO64.js";
11
+ } from "./chunk-QUUZ2BGC.js";
12
12
  import {
13
13
  HyperframesApiError,
14
14
  HyperframesCloudClient
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-R5U5PFDJ.js";
9
+ } from "./chunk-2TBW7UOF.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-X6JUUQCM.js";
13
13
  import {
14
14
  findFfBinary,
15
15
  getSkippedX86Binary
16
- } from "./chunk-HYRPH6LL.js";
16
+ } from "./chunk-KRWPTZBY.js";
17
17
  import {
18
18
  detectWsl
19
19
  } from "./chunk-7KDQAD2W.js";
@@ -11,7 +11,7 @@ import {
11
11
  round,
12
12
  runFfmpeg,
13
13
  videoClip
14
- } from "./chunk-SCWMPY3F.js";
14
+ } from "./chunk-I3PA54IU.js";
15
15
 
16
16
  // src/measure/sync.ts
17
17
  var RATE = 16e3;
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-G5S72X6Q.js";
13
+ } from "./chunk-SIGASWB7.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  windowsLocalAppData
9
- } from "./chunk-54FVSPRH.js";
9
+ } from "./chunk-ZIYXPDKY.js";
10
10
  import {
11
11
  MAX_PORT_SCAN,
12
12
  PreviewServerPortMismatchError,
@@ -1232,7 +1232,7 @@ function serializeGsapAnimations(animations, timelineVar = "tl", options) {
1232
1232
  return aNum - bNum;
1233
1233
  });
1234
1234
  const lines = sorted.map((anim) => {
1235
- const selector = JSON.stringify(anim.targetSelector);
1235
+ const selector = scriptJson(anim.targetSelector);
1236
1236
  const props = { ...anim.properties };
1237
1237
  if (anim.duration !== void 0) props.duration = anim.duration;
1238
1238
  if (anim.ease) props.ease = anim.ease;
@@ -1245,7 +1245,7 @@ function serializeGsapAnimations(animations, timelineVar = "tl", options) {
1245
1245
  propsStr = propsStr.slice(0, -2) + `, ${extrasStr} }`;
1246
1246
  }
1247
1247
  }
1248
- const posStr = JSON.stringify(anim.position);
1248
+ const posStr = scriptJson(anim.position);
1249
1249
  switch (anim.method) {
1250
1250
  case "set":
1251
1251
  return anim.global ? ` gsap.set(${selector}, ${propsStr});` : ` ${timelineVar}.set(${selector}, ${propsStr}, ${posStr});`;
@@ -1289,11 +1289,14 @@ function serializeGsapAnimations(animations, timelineVar = "tl", options) {
1289
1289
  ${lines.join("\n")}${mediaSync}${postamble}
1290
1290
  `;
1291
1291
  }
1292
+ function scriptJson(value) {
1293
+ return String(JSON.stringify(value)).replace(/<(\/script|!--)/gi, "\\u003c$1");
1294
+ }
1292
1295
  function serializeValue(value) {
1293
1296
  if (typeof value === "string" && value.startsWith("__raw:")) {
1294
1297
  return value.slice(6);
1295
1298
  }
1296
- if (typeof value === "string") return JSON.stringify(value);
1299
+ if (typeof value === "string") return scriptJson(value);
1297
1300
  return String(value);
1298
1301
  }
1299
1302
  function plainPercentKey(percentage) {
@@ -1301,7 +1304,7 @@ function plainPercentKey(percentage) {
1301
1304
  return `${text}%`;
1302
1305
  }
1303
1306
  function safeJsKey(key) {
1304
- return /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(key) ? key : JSON.stringify(key);
1307
+ return /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(key) ? key : scriptJson(key);
1305
1308
  }
1306
1309
  function serializeObject(obj) {
1307
1310
  const entries = Object.entries(obj).map(([key, value]) => {
@@ -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-T7PFJH2B.js";
9
+ } from "./chunk-BBL6STGK.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-R5U5PFDJ.js";
18
+ } from "./chunk-2TBW7UOF.js";
19
19
  import {
20
20
  processIsAlive
21
21
  } from "./chunk-KGPLIH7B.js";
@@ -10,7 +10,7 @@ import {
10
10
  ratioOf,
11
11
  readClip,
12
12
  round
13
- } from "./chunk-SCWMPY3F.js";
13
+ } from "./chunk-I3PA54IU.js";
14
14
 
15
15
  // src/measure/energy.ts
16
16
  var ENERGY_RATE = 12;
@@ -6,34 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-WSPGX2SM.js";
9
+ } from "./chunk-DMZER7D5.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-KAHWO4XC.js";
15
+ } from "./chunk-VKZSAAXZ.js";
16
16
  import {
17
17
  idempotencyKey,
18
18
  runJob
19
- } from "./chunk-GRHBVTBK.js";
19
+ } from "./chunk-7LTXT7ME.js";
20
20
  import {
21
21
  projectOf,
22
22
  runFfmpeg
23
- } from "./chunk-SCWMPY3F.js";
23
+ } from "./chunk-I3PA54IU.js";
24
24
  import {
25
25
  initialModelForLanguage,
26
26
  transcribe
27
- } from "./chunk-CWOUPW5E.js";
27
+ } from "./chunk-4WZU4FYS.js";
28
28
  import {
29
29
  createRenderCancellationScope,
30
30
  stoppedByCancelSignal
31
- } from "./chunk-DFSAC4F4.js";
31
+ } from "./chunk-XVVPEWNX.js";
32
32
  import {
33
33
  DEFAULT_MODEL,
34
34
  findWhisper,
35
35
  isWhisperUnavailable
36
- } from "./chunk-W4OMDRZF.js";
36
+ } from "./chunk-2I4DQZLQ.js";
37
37
  import {
38
38
  formatSrt,
39
39
  formatVtt,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-MX3UCKZR.js";
10
+ } from "./chunk-FRH3CPW5.js";
11
11
  import {
12
12
  readJsonFlag
13
13
  } from "./chunk-EHZESMRB.js";
@@ -17,22 +17,22 @@ import {
17
17
  loadProjectConfig,
18
18
  projectConfigPath,
19
19
  recordProjectRegistryItems
20
- } from "./chunk-J5LQW6VB.js";
20
+ } from "./chunk-SOAQ3XXB.js";
21
21
  import {
22
22
  resolveItemWithDependencies,
23
23
  resolveItemsByTag
24
- } from "./chunk-RVI665CP.js";
24
+ } from "./chunk-W5PW26KE.js";
25
25
  import {
26
26
  InvalidVariableValuesError,
27
27
  prepareItem,
28
28
  publishItem
29
- } from "./chunk-PGGMJW7B.js";
29
+ } from "./chunk-RCB4SGTB.js";
30
30
  import {
31
31
  DEFAULT_REGISTRY_URL
32
- } from "./chunk-C4U6FRZH.js";
32
+ } from "./chunk-76KUCQXD.js";
33
33
  import {
34
34
  trackRegistryItemAdded
35
- } from "./chunk-OJSOH2LS.js";
35
+ } from "./chunk-ADYMQM7T.js";
36
36
  import {
37
37
  defineCommand
38
38
  } from "./chunk-DL4OD7IA.js";
@@ -41,11 +41,11 @@ import {
41
41
  } from "./chunk-JCNPHRGX.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-HM3PIREE.js";
44
+ } from "./chunk-EX7WPDFA.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
48
- } from "./chunk-OFQWTKPW.js";
48
+ } from "./chunk-HZTRKUKE.js";
49
49
  import {
50
50
  parseHTML
51
51
  } from "./chunk-GWTIFRF5.js";
@@ -22,10 +22,10 @@ import {
22
22
  import {
23
23
  formatVariableValidationIssue,
24
24
  validateVariables
25
- } from "./chunk-HM3PIREE.js";
25
+ } from "./chunk-EX7WPDFA.js";
26
26
  import {
27
27
  extractCompositionMetadata
28
- } from "./chunk-IOPIOX5K.js";
28
+ } from "./chunk-N7C7U3ZR.js";
29
29
  import {
30
30
  failCommand,
31
31
  failUsage
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  createStagingDir,
12
12
  resolveWritePath
13
- } from "./chunk-IEXRKKHC.js";
13
+ } from "./chunk-IEEIPTDW.js";
14
14
 
15
15
  // src/cloud/download.ts
16
16
  import { chmodSync, renameSync, rmSync, statSync } from "fs";