hyperframes 0.9.13 → 0.9.14

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 (236) hide show
  1. package/dist/{add-PXF5OGLI.js → add-JNKCTPWJ.js} +16 -16
  2. package/dist/{agentPromptGenerator-DWNK722M.js → agentPromptGenerator-DSF7AEVE.js} +8 -8
  3. package/dist/{animatedGifPrep-FFBCFFIY.js → animatedGifPrep-BIEUMGB3.js} +8 -8
  4. package/dist/api.js +45 -23
  5. package/dist/{asset-FZVMLDSY.js → asset-V6JAJRCF.js} +2 -2
  6. package/dist/{assetCataloger-FXBZK55R.js → assetCataloger-SCLH2WAC.js} +9 -9
  7. package/dist/{audio-QYNPBNZQ.js → audio-JX76VDCY.js} +15 -15
  8. package/dist/{auth-2FBS4QC4.js → auth-TRE4ASYT.js} +2 -2
  9. package/dist/{autoUpdate-VFGRGQTO.js → autoUpdate-D5UUCIOR.js} +2 -2
  10. package/dist/{avatars-UVZFK2JR.js → avatars-26EUVWXR.js} +12 -12
  11. package/dist/{backgroundChecks-FN53YXTW.js → backgroundChecks-RM5GWZIW.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{batchRender-JB3D6X7U.js → batchRender-5ZEQ6U4N.js} +5 -5
  14. package/dist/{beats-5BJMEGGA.js → beats-3YW7MGZY.js} +22 -14
  15. package/dist/{benchmark-MP4JGPYM.js → benchmark-MYQTWUO3.js} +10 -10
  16. package/dist/{billing-XSPWEAYT.js → billing-2X3JNNM4.js} +95 -19
  17. package/dist/{browser-V4EB7UNU.js → browser-CQSY36GL.js} +3 -3
  18. package/dist/bundleWithLocalizedFonts-Z6KCDBP2.js +23 -0
  19. package/dist/{capture-L5TGT4SW.js → capture-IK5GIWOS.js} +20 -23
  20. package/dist/{capture-SQHH4HBC.js → capture-NWBNWBIX.js} +3 -3
  21. package/dist/{captureCompositionFrame-BAYKFJMM.js → captureCompositionFrame-KR3PELMO.js} +13 -13
  22. package/dist/{catalog-OLP2O5W6.js → catalog-2Q73F42B.js} +16 -16
  23. package/dist/{catch-up-LJWHENVV.js → catch-up-JP3FL3FX.js} +4 -4
  24. package/dist/{check-KGAKP3H5.js → check-UIMXDUPK.js} +46 -46
  25. package/dist/{checkAudio-QWBAUBJ2.js → checkAudio-CSX4G35O.js} +12 -12
  26. package/dist/{checkBrowser-J5UUWIPK.js → checkBrowser-MTCJVJYJ.js} +39 -39
  27. package/dist/{chunk-5Z7YSZRF.js → chunk-2BDSLTEG.js} +9 -9
  28. package/dist/{chunk-NXQMN7YC.js → chunk-2L4HQ5K4.js} +1 -1
  29. package/dist/{chunk-SGLX72IQ.js → chunk-2NHPNI42.js} +10 -10
  30. package/dist/{chunk-2WGAXAM7.js → chunk-2OIONPKY.js} +3 -3
  31. package/dist/{chunk-MJEE2WSS.js → chunk-2SYOEZ2Z.js} +2 -2
  32. package/dist/{chunk-O4Q44I77.js → chunk-2YT656R2.js} +6 -6
  33. package/dist/{chunk-VIEMTLSI.js → chunk-35RZMUTX.js} +7 -7
  34. package/dist/{chunk-U7AB4D6T.js → chunk-3B7TDQEW.js} +3 -3
  35. package/dist/{bundleWithLocalizedFonts-Z23O7MZ3.js → chunk-3BHDAXDA.js} +4 -8
  36. package/dist/{chunk-BYWQQMTB.js → chunk-3CXUZSLE.js} +2 -2
  37. package/dist/{chunk-EP6GCDZ6.js → chunk-4MY6FPX4.js} +1 -1
  38. package/dist/{chunk-6U6KMYIV.js → chunk-4NE6CBMW.js} +1 -1
  39. package/dist/{chunk-N2SXD5EG.js → chunk-53UV2EUT.js} +3 -3
  40. package/dist/{chunk-AR6IO4RY.js → chunk-5ENBFVPD.js} +2 -2
  41. package/dist/{chunk-AW3XJY4S.js → chunk-6FDVPIOO.js} +1 -1
  42. package/dist/{chunk-NW5QHUZO.js → chunk-6FOO4QTU.js} +1 -1
  43. package/dist/{chunk-WCNUB6WU.js → chunk-6OSVMSGV.js} +9 -9
  44. package/dist/{chunk-XHY36WZF.js → chunk-6UM5C4R6.js} +2 -2
  45. package/dist/{chunk-SFS5BTQ3.js → chunk-6YPQSVVR.js} +1 -1
  46. package/dist/{chunk-AB6DKVKC.js → chunk-6ZRGEVAM.js} +85 -25
  47. package/dist/{chunk-2QMEP4LR.js → chunk-7AVR3VZE.js} +1 -1
  48. package/dist/{chunk-3BLPPIJA.js → chunk-7LQVFIO4.js} +4 -4
  49. package/dist/{chunk-4HGTJHKB.js → chunk-7NPHPQH5.js} +2 -2
  50. package/dist/{chunk-CLT3CJKG.js → chunk-AOJBIFKU.js} +1 -1
  51. package/dist/{chunk-MDMQD6BV.js → chunk-B6C33MNL.js} +41 -17
  52. package/dist/{chunk-QVW57TUW.js → chunk-BNUN7KXZ.js} +2 -2
  53. package/dist/{chunk-2YVIA2BX.js → chunk-BXCPOMS3.js} +9 -7
  54. package/dist/{chunk-H6FRRSHM.js → chunk-CMPHS5E6.js} +2 -2
  55. package/dist/{chunk-JHILL4BN.js → chunk-CUCP7FKH.js} +461 -1
  56. package/dist/{chunk-CKZVLS3K.js → chunk-CZ5NNJ6H.js} +50 -20
  57. package/dist/{chunk-F6PFZMQU.js → chunk-D3FZQL5R.js} +8 -8
  58. package/dist/{chunk-TX3JT67F.js → chunk-DD47NQJZ.js} +1 -1
  59. package/dist/{chunk-EQSUX64Q.js → chunk-DSIGJUNY.js} +1 -1
  60. package/dist/{chunk-ZPJVKYDL.js → chunk-DTU4XJNP.js} +3 -3
  61. package/dist/{chunk-BE7Y3PJZ.js → chunk-DTZSKJV5.js} +3 -3
  62. package/dist/{chunk-6PGTJG3M.js → chunk-DVJUBMS7.js} +1 -1
  63. package/dist/{chunk-KUXOAS4Z.js → chunk-DX4OFRBN.js} +41 -37
  64. package/dist/{chunk-Y3ICFPFK.js → chunk-EAO46VPT.js} +3 -3
  65. package/dist/{chunk-M6JFR7KF.js → chunk-EOCFNE53.js} +21 -32
  66. package/dist/{chunk-LTBBFLOM.js → chunk-FC2OXEBQ.js} +1 -1
  67. package/dist/{chunk-N43XGFAZ.js → chunk-FF3VKFCN.js} +126 -66
  68. package/dist/{chunk-WSZWPYRG.js → chunk-FQFWGAON.js} +2 -2
  69. package/dist/{chunk-OPOYDJEW.js → chunk-FZRTCVU6.js} +1 -1
  70. package/dist/{chunk-FJIN5OWZ.js → chunk-GY7D2OEQ.js} +2 -2
  71. package/dist/chunk-HNZ2FZIB.js +45 -0
  72. package/dist/{chunk-7S2LS53F.js → chunk-HVIQQCLM.js} +13 -13
  73. package/dist/{chunk-7WSL3PT3.js → chunk-HZSAOL5O.js} +2 -2
  74. package/dist/{chunk-UPI2MZ5L.js → chunk-I5PI43EI.js} +1 -1
  75. package/dist/{chunk-MGAGDEBC.js → chunk-IO3BC2ZK.js} +1 -1
  76. package/dist/{chunk-JGTJEQ5X.js → chunk-IPZ3QGDO.js} +2 -2
  77. package/dist/{chunk-GPHY5R35.js → chunk-K5CK4G75.js} +3 -3
  78. package/dist/{chunk-RBF3AF7R.js → chunk-L24GJQNZ.js} +16 -12
  79. package/dist/chunk-LSUM6RTW.js +20 -0
  80. package/dist/{chunk-KHF5WT6E.js → chunk-LZYXYJMX.js} +1 -1
  81. package/dist/{chunk-H4VII7WN.js → chunk-M34AOUVK.js} +5 -5
  82. package/dist/{chunk-ITDHT7AO.js → chunk-MWPPZOY5.js} +4 -4
  83. package/dist/{chunk-2IB3XVAR.js → chunk-MY2W7VWC.js} +14 -14
  84. package/dist/{chunk-W5AUD5OL.js → chunk-N7ZKI2CE.js} +5 -5
  85. package/dist/{chunk-3SZZLHHM.js → chunk-NBUPR3ZF.js} +1 -1
  86. package/dist/{chunk-YHID4CM3.js → chunk-NLEIM52W.js} +83 -21
  87. package/dist/{chunk-TBXV7O3Z.js → chunk-NWFIYKEI.js} +4 -4
  88. package/dist/{chunk-N7EA7GWU.js → chunk-O4ONYFY3.js} +1 -1
  89. package/dist/{chunk-AIK4ETUZ.js → chunk-O4ZD7TVR.js} +17 -1
  90. package/dist/{chunk-C2KEGBR3.js → chunk-OHQRQE7F.js} +1 -394
  91. package/dist/{chunk-ZMRRTWKP.js → chunk-PA27AW3Y.js} +1 -1
  92. package/dist/{chunk-YMP5FTA3.js → chunk-PCY67JUL.js} +303 -29
  93. package/dist/{chunk-RADODJYB.js → chunk-PYPW33ET.js} +2 -2
  94. package/dist/{chunk-C5VZTKW2.js → chunk-QSEHVJFA.js} +67 -211
  95. package/dist/{chunk-CPMTEWQM.js → chunk-RX2PFZ5W.js} +4 -4
  96. package/dist/{chunk-MBX3BHW3.js → chunk-SAAJ2O7A.js} +1 -1
  97. package/dist/{chunk-GAKRZZHQ.js → chunk-SQC4CTD2.js} +2 -2
  98. package/dist/{chunk-WGQW65DO.js → chunk-SSBAETRX.js} +5 -5
  99. package/dist/{chunk-LGVUQ4GC.js → chunk-T32JKZX3.js} +3 -3
  100. package/dist/{chunk-NR2W7HUH.js → chunk-T4FLVFQE.js} +1 -1
  101. package/dist/{chunk-KWGOABKQ.js → chunk-TESXTEV5.js} +1 -1
  102. package/dist/{chunk-2IATDUYU.js → chunk-TRK77R5G.js} +1 -1
  103. package/dist/{chunk-T5ZEMZ3K.js → chunk-TTBCQFRY.js} +2 -2
  104. package/dist/{chunk-7AMCGJDM.js → chunk-U22NZEQV.js} +1 -1
  105. package/dist/{chunk-2ASPXS4U.js → chunk-VD5G4Y6U.js} +1 -1
  106. package/dist/{chunk-RL52TNCM.js → chunk-W7ITBVJE.js} +2 -2
  107. package/dist/{chunk-SXAZR7M4.js → chunk-WAH2X7FF.js} +2 -2
  108. package/dist/{chunk-HTSVFS4G.js → chunk-WXYV47JX.js} +2 -2
  109. package/dist/{chunk-NWQFOHXF.js → chunk-WYXBJVM2.js} +1 -1
  110. package/dist/{chunk-SM4F4H3T.js → chunk-X46MRJYK.js} +1 -1
  111. package/dist/{chunk-EZCMP7NJ.js → chunk-XMOWL46H.js} +1 -1
  112. package/dist/{chunk-SFO4FLUG.js → chunk-YBR4L5JA.js} +1 -1
  113. package/dist/{chunk-7FMUTGOH.js → chunk-ZB2XGJSP.js} +152 -5
  114. package/dist/{chunk-7Z7SREEU.js → chunk-ZE2QZHUH.js} +1 -1
  115. package/dist/{chunk-RWQEWEOV.js → chunk-ZNHWAGMH.js} +1 -1
  116. package/dist/{chunk-NMYRVKIL.js → chunk-ZSAKJRZB.js} +5 -5
  117. package/dist/{chunk-472XCBCV.js → chunk-ZZBO3GF5.js} +2 -2
  118. package/dist/{clean-NNYMY7FD.js → clean-P3SZCIFU.js} +20 -20
  119. package/dist/cli.js +60 -60
  120. package/dist/{cloud-6FBCPI3B.js → cloud-G7YQIVI7.js} +4 -4
  121. package/dist/{cloudrun-D4V4TV6S.js → cloudrun-LXZT5UDK.js} +7 -7
  122. package/dist/{compare-J3JV4AZ3.js → compare-BHQHEOMX.js} +35 -35
  123. package/dist/{compiler-5ANBCHB7.js → compiler-V72QWKGC.js} +5 -5
  124. package/dist/{component-QFREWBT5.js → component-6GDCT3GK.js} +3 -3
  125. package/dist/{compositions-NUTRZGAZ.js → compositions-JM6HKCRF.js} +12 -12
  126. package/dist/{curve-LR4THVRF.js → curve-Y7JRXLIJ.js} +12 -12
  127. package/dist/{cuts-5WPLSRM2.js → cuts-LDVDQTRL.js} +13 -13
  128. package/dist/{delete-KLIVMSTG.js → delete-NCZIKWHU.js} +2 -2
  129. package/dist/{deploy-CDWKRTWY.js → deploy-R4OEJEB6.js} +5 -2
  130. package/dist/{describeProject-YJEOPIW7.js → describeProject-4GKZTYHA.js} +10 -10
  131. package/dist/{deterministicFonts-GQMT52JQ.js → deterministicFonts-HY5GWGQQ.js} +3 -3
  132. package/dist/{diff-KY6T2E32.js → diff-C53GPSNU.js} +42 -24
  133. package/dist/{dist-GUX66F7V.js → dist-R7SPMKEZ.js} +4 -4
  134. package/dist/{dist-TQKOMXXI.js → dist-TI44VPHO.js} +3 -3
  135. package/dist/{dist-GVCHAZJU.js → dist-TJZSSDR2.js} +13 -13
  136. package/dist/{doctor-HLG4AP3Q.js → doctor-V4RICWU2.js} +12 -12
  137. package/dist/{energy-3T3DDIEN.js → energy-S5Z7CGSB.js} +13 -13
  138. package/dist/{events-LB2RDZX3.js → events-6HROTYLC.js} +11 -3
  139. package/dist/{events-HZG5BWCQ.js → events-QKJE5XRN.js} +2 -2
  140. package/dist/{events-ZZNUYUCY.js → events-RAJGQK7Y.js} +14 -14
  141. package/dist/{extract-7STXIEDI.js → extract-RYGWEC5V.js} +13 -13
  142. package/dist/{face-3DWRLSWO.js → face-IWRDW2QO.js} +13 -13
  143. package/dist/{feedback-4V2HGHTZ.js → feedback-HQTDLLPE.js} +9 -9
  144. package/dist/{ffmpeg-5BWHEWVW.js → ffmpeg-BX334YEK.js} +8 -8
  145. package/dist/{figma-4SSCW6YU.js → figma-P6U76KGI.js} +3 -3
  146. package/dist/fontLocalizeCli.js +13 -13
  147. package/dist/{frames-V3OUCXX6.js → frames-G2WYTVWV.js} +14 -14
  148. package/dist/{generate-W4HW4MJQ.js → generate-ZUE2AVOB.js} +35 -16
  149. package/dist/{get-FXFV3VDQ.js → get-7C3UC46A.js} +2 -2
  150. package/dist/{gpuPolicy-X4BOE2HD.js → gpuPolicy-5ZVYYWXN.js} +8 -8
  151. package/dist/{grade-compare-PV62LISL.js → grade-compare-IS3OVI7R.js} +39 -39
  152. package/dist/{heifImagePrep-2K2I4SCP.js → heifImagePrep-FBLLKI3P.js} +9 -9
  153. package/dist/{help-R2ASMVJB.js → help-2MPB27YU.js} +1 -1
  154. package/dist/{history-X24EZSOO.js → history-Q5EBBFPW.js} +6 -6
  155. package/dist/hyperframe.manifest.json +1 -1
  156. package/dist/hyperframe.runtime.iife.js +7 -7
  157. package/dist/hyperframes-player.global.js +1 -1
  158. package/dist/{info-DJ6TZSEF.js → info-TNG5QGFC.js} +9 -9
  159. package/dist/{init-GQ2GRVQS.js → init-UFPBBWC7.js} +37 -32
  160. package/dist/{ink-L4VRIFJ7.js → ink-UTPJHGZR.js} +13 -13
  161. package/dist/{inspect-5IXDDOJN.js → inspect-KXKKPWKX.js} +37 -37
  162. package/dist/{installer-ZIBXFENP.js → installer-UTFXM6KP.js} +7 -7
  163. package/dist/{keyframes-ASFH5XYJ.js → keyframes-S6V36BW6.js} +6 -6
  164. package/dist/{lambda-ELYE5XIZ.js → lambda-XWHALRKM.js} +13 -13
  165. package/dist/{layout-NNGVQWY4.js → layout-SSVKZKCZ.js} +37 -37
  166. package/dist/{lint-GYJFRDI2.js → lint-OQWGRKG5.js} +9 -9
  167. package/dist/{lintProject-NGMRZDNT.js → lintProject-Z2TEXMY4.js} +3 -3
  168. package/dist/{list-UBFDCTVO.js → list-FYLBMEL7.js} +2 -2
  169. package/dist/{localPage-DHAVU3EM.js → localPage-4GSU6N3J.js} +8 -8
  170. package/dist/{login-OKJT7QWG.js → login-JKFCYHRS.js} +4 -4
  171. package/dist/{look-4GINLBBO.js → look-WQ2DOKXH.js} +13 -13
  172. package/dist/{manager-Q5X74T5D.js → manager-F4F4A734.js} +9 -9
  173. package/dist/{measure-LICRA4FH.js → measure-XIFLTAMC.js} +11 -11
  174. package/dist/{media-treatment-PM3WLJZ4.js → media-treatment-S3LHQSQQ.js} +16 -16
  175. package/dist/{media-use-NUORYIBQ.js → media-use-NFM3ZXCF.js} +3 -3
  176. package/dist/{models-V2XJYFY5.js → models-G4KNLV66.js} +12 -12
  177. package/dist/{motionShot-YBJB6L3C.js → motionShot-IJGA5CBH.js} +16 -16
  178. package/dist/{normalize-audio-LUAEDEUM.js → normalize-audio-UP54N6J4.js} +11 -11
  179. package/dist/{open-RTL2AU5C.js → open-TAEKCYDB.js} +16 -16
  180. package/dist/{parakeetRunner-FBEL64JM.js → parakeetRunner-WFA4K7BH.js} +13 -13
  181. package/dist/{pipeline-2VN2FDAL.js → pipeline-SNENB5MZ.js} +11 -11
  182. package/dist/{play-U3EXVEC7.js → play-QTYMY453.js} +27 -27
  183. package/dist/{preflight-Z3U5OGW3.js → preflight-CZUKW3CW.js} +9 -9
  184. package/dist/{present-NXEDFMC4.js → present-KVHQECWG.js} +19 -19
  185. package/dist/{preview-AUDJW3KE.js → preview-6U62DM4P.js} +24 -24
  186. package/dist/{probe-QQXAWDZG.js → probe-UCVL3JDC.js} +13 -13
  187. package/dist/{producer-DNWWPGFA.js → producer-A4RPG3XL.js} +1 -1
  188. package/dist/{projectConfig-FMXOJBJY.js → projectConfig-FIW6FPZW.js} +10 -10
  189. package/dist/{publication-K4XAMUI6.js → publication-CCIGDK2X.js} +4 -4
  190. package/dist/{publish-7HSXMQEF.js → publish-VKSABRA4.js} +18 -15
  191. package/dist/{remove-background-AIYMKXZW.js → remove-background-CJJ54SHA.js} +12 -12
  192. package/dist/{render-RMPWJTY4.js → render-2YY64XPU.js} +346 -64
  193. package/dist/{render-SAAQKFHE.js → render-G54RA46B.js} +202 -35
  194. package/dist/{render-FD7LHCCC.js → render-I2MWX5GH.js} +7 -7
  195. package/dist/{render-batch-WPHP27VT.js → render-batch-X562GNRH.js} +10 -10
  196. package/dist/renderSetupWorker.js +3 -3
  197. package/dist/{resolver-E7IHSWCQ.js → resolver-GC4ZLQPV.js} +7 -7
  198. package/dist/{reverse-GHX5LUSV.js → reverse-2KZQ65Y7.js} +1 -1
  199. package/dist/{sherpa-QQZMXXO5.js → sherpa-SLRKS4SR.js} +12 -12
  200. package/dist/skills/hyperframes/SKILL.md +3 -1
  201. package/dist/skills/hyperframes/references/format.md +1 -1
  202. package/dist/skills/hyperframes-cli/SKILL.md +2 -0
  203. package/dist/skills/media-use/SKILL.md +2 -0
  204. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +2 -2
  205. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +2 -2
  206. package/dist/{skills-WCXVUM6C.js → skills-SOXKW42T.js} +6 -6
  207. package/dist/{skillsUpdateCheck-PEVW2JO6.js → skillsUpdateCheck-4RUEBT6B.js} +3 -3
  208. package/dist/{snapshot-2ACZXDLZ.js → snapshot-KIWJWZGW.js} +48 -48
  209. package/dist/{src-WISBTYBV.js → src-ABVBEVVK.js} +12 -12
  210. package/dist/{src-DA2HOM3K.js → src-DYWF24IK.js} +7 -7
  211. package/dist/{start-DDOWW7K5.js → start-EADJCDST.js} +49 -27
  212. package/dist/{staticProjectServer-MQ7H4MGQ.js → staticProjectServer-UCHJYCR6.js} +24 -24
  213. package/dist/{status-74IZXJKQ.js → status-E4OUQSHN.js} +45 -2
  214. package/dist/studio/assets/{hyperframes-player-B2_9tPTr.js → hyperframes-player-CfYFgHV8.js} +1 -1
  215. package/dist/studio/assets/{index-DToBQdGg.js → index-COfhX0Gz.js} +4 -4
  216. package/dist/studio/assets/{index-BHe_y2lu.js → index-Cj5x3rVD.js} +1 -1
  217. package/dist/studio/index.html +1 -1
  218. package/dist/{studio-api-UABUZ3PZ.js → studio-api-RGOTUJXP.js} +13 -13
  219. package/dist/{studioServer-FGXZA75B.js → studioServer-72COILB5.js} +61 -61
  220. package/dist/{sync-AVGYYG4D.js → sync-5Z5OQFB3.js} +13 -13
  221. package/dist/{telemetry-7IM2NV22.js → telemetry-OQ2JM37Y.js} +3 -3
  222. package/dist/{templates-5CWKOSBX.js → templates-YH5CUHHN.js} +45 -2
  223. package/dist/{timeline-A7R54T7C.js → timeline-IWU2T2BX.js} +21 -21
  224. package/dist/{tokens-W6RQVKWV.js → tokens-F7IBDWGE.js} +2 -2
  225. package/dist/{transcribe-N2C2MYCG.js → transcribe-GL3J3JB3.js} +11 -11
  226. package/dist/{transcribe-GPOMREHS.js → transcribe-YXDOCF32.js} +32 -20
  227. package/dist/{update-X643YOPS.js → update-MR5NL567.js} +7 -7
  228. package/dist/{updateCheck-O7IUSOXN.js → updateCheck-ONT2ZVAF.js} +2 -2
  229. package/dist/{upgrade-6NWYJUFT.js → upgrade-BJEGLKQS.js} +3 -3
  230. package/dist/{urlDownloader-PFHIVGDF.js → urlDownloader-3PV5WURP.js} +7 -7
  231. package/dist/{validate-IIFU6OEG.js → validate-GTTWJYCS.js} +26 -26
  232. package/dist/{video-R6TSXZMN.js → video-VP6X6YL5.js} +9 -9
  233. package/dist/{voices-Y572PKNN.js → voices-3EO2NQ5Q.js} +33 -14
  234. package/dist/warmCheck.js +46 -46
  235. package/package.json +1 -1
  236. package/dist/chunk-TSCUYZ4B.js +0 -29
@@ -5070,6 +5070,453 @@ function decodeAuthoredAttribute(value) {
5070
5070
  return decodeHTMLAttribute(value);
5071
5071
  }
5072
5072
 
5073
+ // ../parsers/dist/composition.js
5074
+ import * as acorn5 from "acorn";
5075
+ import * as acorn22 from "acorn";
5076
+ var CANVAS_DIMENSIONS2 = {
5077
+ landscape: { width: 1920, height: 1080 },
5078
+ portrait: { width: 1080, height: 1920 },
5079
+ "landscape-4k": { width: 3840, height: 2160 },
5080
+ "portrait-4k": { width: 2160, height: 3840 },
5081
+ square: { width: 1080, height: 1080 },
5082
+ "square-4k": { width: 2160, height: 2160 },
5083
+ "landscape-720p": { width: 1280, height: 720 },
5084
+ "portrait-720p": { width: 720, height: 1280 },
5085
+ "square-720p": { width: 720, height: 720 },
5086
+ // 480 tall at 16:9 is 853.33 wide: 854 keeps both sides even for 4:2:0 encoders.
5087
+ "landscape-480p": { width: 854, height: 480 },
5088
+ "portrait-480p": { width: 480, height: 854 },
5089
+ "square-480p": { width: 480, height: 480 }
5090
+ };
5091
+ var VALID_CANVAS_RESOLUTIONS2 = Object.keys(
5092
+ CANVAS_DIMENSIONS2
5093
+ );
5094
+ var COMPOSITION_VARIABLE_TYPES2 = [
5095
+ "string",
5096
+ "number",
5097
+ "color",
5098
+ "boolean",
5099
+ "enum",
5100
+ "font",
5101
+ "image"
5102
+ ];
5103
+ var FONT_ALIAS_MAP2 = {
5104
+ // ── Canonical bundled fonts (self-referencing) ────────────────────────
5105
+ inter: "inter",
5106
+ montserrat: "montserrat",
5107
+ outfit: "outfit",
5108
+ nunito: "nunito",
5109
+ oswald: "oswald",
5110
+ "league gothic": "league-gothic",
5111
+ "archivo black": "archivo-black",
5112
+ "space mono": "space-mono",
5113
+ "ibm plex mono": "ibm-plex-mono",
5114
+ "jetbrains mono": "jetbrains-mono",
5115
+ "eb garamond": "eb-garamond",
5116
+ "playfair display": "playfair-display",
5117
+ "source code pro": "source-code-pro",
5118
+ "noto sans jp": "noto-sans-jp",
5119
+ roboto: "roboto",
5120
+ "open sans": "open-sans",
5121
+ lato: "lato",
5122
+ poppins: "poppins",
5123
+ // ── Common aliases → nearest canonical ────────────────────────────────
5124
+ "helvetica neue": "inter",
5125
+ helvetica: "inter",
5126
+ arial: "inter",
5127
+ "helvetica bold": "inter",
5128
+ futura: "montserrat",
5129
+ "din alternate": "montserrat",
5130
+ "arial black": "montserrat",
5131
+ "bebas neue": "league-gothic",
5132
+ "courier new": "jetbrains-mono",
5133
+ courier: "jetbrains-mono",
5134
+ garamond: "eb-garamond",
5135
+ "noto sans japanese": "noto-sans-jp",
5136
+ "segoe ui": "roboto",
5137
+ // ── macOS sans-serif system fonts → inter ─────────────────────────────
5138
+ "sf pro": "inter",
5139
+ "sf pro display": "inter",
5140
+ "sf pro text": "inter",
5141
+ "sf pro rounded": "inter",
5142
+ avenir: "inter",
5143
+ "avenir next": "inter",
5144
+ "lucida grande": "inter",
5145
+ geneva: "inter",
5146
+ optima: "inter",
5147
+ // ── Windows sans-serif system fonts → inter ───────────────────────────
5148
+ verdana: "inter",
5149
+ tahoma: "inter",
5150
+ "trebuchet ms": "inter",
5151
+ calibri: "inter",
5152
+ candara: "inter",
5153
+ corbel: "inter",
5154
+ "lucida sans": "inter",
5155
+ "lucida sans unicode": "inter",
5156
+ // ── Linux sans-serif system fonts → inter ─────────────────────────────
5157
+ "noto sans": "inter",
5158
+ "dejavu sans": "inter",
5159
+ "liberation sans": "inter",
5160
+ // ── Monospace system fonts → jetbrains-mono ───────────────────────────
5161
+ "sf mono": "jetbrains-mono",
5162
+ menlo: "jetbrains-mono",
5163
+ monaco: "jetbrains-mono",
5164
+ consolas: "jetbrains-mono",
5165
+ "lucida console": "jetbrains-mono",
5166
+ "lucida sans typewriter": "jetbrains-mono",
5167
+ "andale mono": "jetbrains-mono",
5168
+ "dejavu sans mono": "jetbrains-mono",
5169
+ "liberation mono": "jetbrains-mono",
5170
+ // ── Serif system fonts → eb-garamond ──────────────────────────────────
5171
+ georgia: "eb-garamond",
5172
+ palatino: "eb-garamond",
5173
+ "palatino linotype": "eb-garamond",
5174
+ "book antiqua": "eb-garamond",
5175
+ cambria: "eb-garamond",
5176
+ times: "eb-garamond",
5177
+ "times new roman": "eb-garamond",
5178
+ "dejavu serif": "eb-garamond",
5179
+ "liberation serif": "eb-garamond"
5180
+ };
5181
+ var FONT_ALIAS_KEYS2 = new Set(Object.keys(FONT_ALIAS_MAP2));
5182
+ var CANONICAL_FONT_DISPLAY_NAMES2 = {
5183
+ inter: "Inter",
5184
+ montserrat: "Montserrat",
5185
+ outfit: "Outfit",
5186
+ nunito: "Nunito",
5187
+ oswald: "Oswald",
5188
+ "league-gothic": "League Gothic",
5189
+ "archivo-black": "Archivo Black",
5190
+ "space-mono": "Space Mono",
5191
+ "ibm-plex-mono": "IBM Plex Mono",
5192
+ "jetbrains-mono": "JetBrains Mono",
5193
+ "eb-garamond": "EB Garamond",
5194
+ "playfair-display": "Playfair Display",
5195
+ "source-code-pro": "Source Code Pro",
5196
+ "noto-sans-jp": "Noto Sans JP",
5197
+ roboto: "Roboto",
5198
+ "open-sans": "Open Sans",
5199
+ lato: "Lato",
5200
+ poppins: "Poppins"
5201
+ };
5202
+ function resolveAliasDisplayName2(alias) {
5203
+ const slug = FONT_ALIAS_MAP2[alias.toLowerCase()];
5204
+ if (!slug) return void 0;
5205
+ return CANONICAL_FONT_DISPLAY_NAMES2[slug];
5206
+ }
5207
+ var FONT_SIZE_KEYWORD = /^(?:xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large|smaller|larger)$/i;
5208
+ var FONT_SIZE_VALUE = /^(?:\d*\.?\d+(?!(?:deg|grad|rad|turn)$)[a-z%]+|(?:calc|min|max|clamp)\(.*\))$/i;
5209
+ var PRE_SIZE_KEYWORD = /^(?:normal|italic|oblique|small-caps|bold|bolder|lighter|(?:ultra-|extra-|semi-)?(?:condensed|expanded)|[+-]?\d*\.?\d+(?:deg|grad|rad|turn)?)$/i;
5210
+ var CUSTOM_PROPERTY = /^var\(.*\)$/i;
5211
+ var NO_FAMILY = /^(?:caption|icon|menu|message-box|small-caption|status-bar|inherit|initial|unset|revert|revert-layer)$/i;
5212
+ function maskGroups(value) {
5213
+ let depth = 0;
5214
+ let quote = null;
5215
+ return value.replace(/[\s\S]/g, (char) => {
5216
+ if (quote) {
5217
+ if (char === quote) quote = null;
5218
+ return "_";
5219
+ }
5220
+ if (char === '"' || char === "'") {
5221
+ quote = char;
5222
+ return "_";
5223
+ }
5224
+ if (char === "(") depth += 1;
5225
+ const inside = depth > 0;
5226
+ if (char === ")") depth -= 1;
5227
+ return inside ? "_" : char;
5228
+ });
5229
+ }
5230
+ function tokens(value) {
5231
+ return [...maskGroups(value).matchAll(/\S+/g)].map(({ 0: masked, index }) => ({
5232
+ text: value.slice(index, index + masked.length),
5233
+ masked,
5234
+ start: index
5235
+ }));
5236
+ }
5237
+ var isSize = (text) => FONT_SIZE_KEYWORD.test(text) || FONT_SIZE_VALUE.test(text);
5238
+ function familyStart(list, at) {
5239
+ const size = list[at];
5240
+ const slash = size.masked.indexOf("/");
5241
+ if (slash >= 0) return slash === size.masked.length - 1 ? at + 2 : at + 1;
5242
+ const next = list[at + 1]?.masked;
5243
+ if (next === "/") return at + 3;
5244
+ return next?.startsWith("/") ? at + 2 : at + 1;
5245
+ }
5246
+ var carriesLineHeight = (list, at) => list[at].masked.includes("/") || (list[at + 1]?.masked.startsWith("/") ?? false);
5247
+ var headOf = ({ text, masked }) => masked.includes("/") ? text.slice(0, masked.indexOf("/")) : text;
5248
+ function findSize(list) {
5249
+ let unsure = false;
5250
+ for (let i = 0; i < list.length; i++) {
5251
+ const head = headOf(list[i]);
5252
+ const isVar = CUSTOM_PROPERTY.test(head);
5253
+ if (isSize(head) || isVar && carriesLineHeight(list, i)) return { at: i, unsure };
5254
+ if (!isVar && !PRE_SIZE_KEYWORD.test(head)) unsure = true;
5255
+ }
5256
+ return { at: -1, unsure };
5257
+ }
5258
+ function lastLeadingVar(list) {
5259
+ let last = -1;
5260
+ for (let i = 0; i < list.length - 1; i++) if (CUSTOM_PROPERTY.test(list[i].text)) last = i;
5261
+ return last;
5262
+ }
5263
+ function parseFontShorthand(value) {
5264
+ const list = tokens(value);
5265
+ if (list.length === 1 && NO_FAMILY.test(list[0].text)) return { families: "", certain: true };
5266
+ const rest = (from) => list[from] ? value.slice(list[from].start).trim() : "";
5267
+ const size = findSize(list);
5268
+ if (size.at >= 0) return { families: rest(familyStart(list, size.at)), certain: !size.unsure };
5269
+ const lastVar = lastLeadingVar(list);
5270
+ if (lastVar < 0) return { families: "", certain: !size.unsure };
5271
+ return { families: rest(lastVar + 1), certain: false };
5272
+ }
5273
+ function fontShorthandFamilies(value) {
5274
+ return parseFontShorthand(value).families;
5275
+ }
5276
+ var DEFAULT_TYPEOF2 = {
5277
+ string: "string",
5278
+ number: "number",
5279
+ color: "string",
5280
+ boolean: "boolean",
5281
+ enum: "string",
5282
+ font: "string",
5283
+ image: "string"
5284
+ };
5285
+ function isRecord2(v) {
5286
+ return typeof v === "object" && v !== null && !Array.isArray(v);
5287
+ }
5288
+ function isFontValue2(value) {
5289
+ return isRecord2(value) && typeof value.name === "string" && typeof value.source === "string";
5290
+ }
5291
+ function isImageValue2(value) {
5292
+ return isRecord2(value) && typeof value.url === "string" && (value.alt === void 0 || typeof value.alt === "string") && (value.fit === void 0 || value.fit === "cover" || value.fit === "contain" || value.fit === "fill" || value.fit === "none" || value.fit === "scale-down");
5293
+ }
5294
+ function isVariableType2(t) {
5295
+ return typeof t === "string" && t in DEFAULT_TYPEOF2;
5296
+ }
5297
+ function isCompositionVariable2(v) {
5298
+ if (!isRecord2(v)) return false;
5299
+ if (typeof v.id !== "string" || typeof v.label !== "string") return false;
5300
+ if (!isVariableType2(v.type)) return false;
5301
+ if (v.type === "font") return typeof v.default === "string" || isFontValue2(v.default);
5302
+ if (v.type === "image") return typeof v.default === "string" || isImageValue2(v.default);
5303
+ if (typeof v.default !== DEFAULT_TYPEOF2[v.type]) return false;
5304
+ if (v.type === "enum" && !Array.isArray(v.options)) return false;
5305
+ return true;
5306
+ }
5307
+ function isSafeMediaUrl(url) {
5308
+ const normalized = url.replace(/[\u0000-\u0020]/g, "");
5309
+ const scheme = /^([a-z][a-z0-9+.-]*):/i.exec(normalized);
5310
+ if (!scheme) return true;
5311
+ const proto = scheme[1]?.toLowerCase();
5312
+ if (!proto) return false;
5313
+ if (proto === "https" || proto === "http" || proto === "blob") return true;
5314
+ if (proto === "data") return /^data:image\//i.test(normalized);
5315
+ return false;
5316
+ }
5317
+ var COMPOSITION_ATTRIBUTES2 = Object.freeze({
5318
+ start: "data-start",
5319
+ duration: "data-duration",
5320
+ trackIndex: "data-track-index",
5321
+ derivedEnd: "data-end",
5322
+ legacyTrack: "data-layer"
5323
+ });
5324
+ var CANONICAL_AUTHORED_TIMING_ATTRIBUTES2 = Object.freeze([
5325
+ COMPOSITION_ATTRIBUTES2.start,
5326
+ COMPOSITION_ATTRIBUTES2.duration,
5327
+ COMPOSITION_ATTRIBUTES2.trackIndex
5328
+ ]);
5329
+ var DERIVED_TIMING_ATTRIBUTES2 = Object.freeze([
5330
+ COMPOSITION_ATTRIBUTES2.derivedEnd
5331
+ ]);
5332
+ var LEGACY_TIMING_ATTRIBUTES2 = Object.freeze([
5333
+ COMPOSITION_ATTRIBUTES2.derivedEnd,
5334
+ COMPOSITION_ATTRIBUTES2.legacyTrack
5335
+ ]);
5336
+ var HTML_BODY_CSS_WIDTH_FIRST_RE2 = /(html\s*,\s*body\s*\{[^}]*?width:\s*)(\d+)px([^}]*?height:\s*)(\d+)px/i;
5337
+ var HTML_BODY_CSS_HEIGHT_FIRST_RE2 = /(html\s*,\s*body\s*\{[^}]*?height:\s*)(\d+)px([^}]*?width:\s*)(\d+)px/i;
5338
+ var VIEWPORT_META_SIZE_RE2 = /(<meta[^>]*name=["']viewport["'][^>]*content=["']width=)(\d+)(,\s*height=)(\d+)/i;
5339
+ function parseProgram3(script) {
5340
+ try {
5341
+ return acorn22.parse(script, { ecmaVersion: "latest", sourceType: "script" });
5342
+ } catch {
5343
+ return acorn22.parse(script, { ecmaVersion: "latest", sourceType: "module" });
5344
+ }
5345
+ }
5346
+ function literalString2(node) {
5347
+ if (node?.type === "Literal" && typeof node.value === "string") return node.value;
5348
+ if (node?.type === "TemplateLiteral" && node.expressions.length === 0) {
5349
+ return node.quasis[0]?.value.cooked ?? void 0;
5350
+ }
5351
+ return void 0;
5352
+ }
5353
+ function memberName2(node) {
5354
+ if (node?.type !== "MemberExpression") return void 0;
5355
+ if (!node.computed && node.property.type === "Identifier") return node.property.name;
5356
+ return literalString2(node.property);
5357
+ }
5358
+ function isFunctionScope2(node) {
5359
+ return node.type === "Program" || node.type === "FunctionDeclaration" || node.type === "FunctionExpression" || node.type === "ArrowFunctionExpression" || node.type === "StaticBlock";
5360
+ }
5361
+ function isScope2(node) {
5362
+ return isFunctionScope2(node) || node.type === "BlockStatement" || node.type === "CatchClause" || node.type === "ForStatement" || node.type === "ForInStatement" || node.type === "ForOfStatement" || node.type === "SwitchStatement" || node.type === "ClassDeclaration" || node.type === "ClassExpression";
5363
+ }
5364
+ function declarePattern2(pattern, initializer, scope, initializerScope = scope) {
5365
+ switch (pattern.type) {
5366
+ case "Identifier":
5367
+ if (initializer || !scope.bindings.has(pattern.name)) {
5368
+ scope.bindings.set(pattern.name, { initializer, scope: initializerScope });
5369
+ }
5370
+ break;
5371
+ case "RestElement":
5372
+ declarePattern2(pattern.argument, null, scope);
5373
+ break;
5374
+ case "AssignmentPattern":
5375
+ declarePattern2(pattern.left, null, scope);
5376
+ break;
5377
+ case "ArrayPattern":
5378
+ case "ObjectPattern":
5379
+ declarePatterns2(destructuredPatterns2(pattern), scope);
5380
+ break;
5381
+ }
5382
+ }
5383
+ function declarePatterns2(patterns, scope) {
5384
+ for (const pattern of patterns) declarePattern2(pattern, null, scope);
5385
+ }
5386
+ function destructuredPatterns2(pattern) {
5387
+ if (pattern.type === "ObjectPattern") {
5388
+ return pattern.properties.map(
5389
+ (property) => property.type === "RestElement" ? property.argument : property.value
5390
+ );
5391
+ }
5392
+ return pattern.elements.filter((element) => element !== null);
5393
+ }
5394
+ function declareOptionalPattern2(pattern, scope) {
5395
+ if (pattern) declarePattern2(pattern, null, scope);
5396
+ }
5397
+ function declareScopedName2(node, scope) {
5398
+ switch (node.type) {
5399
+ case "FunctionExpression":
5400
+ case "FunctionDeclaration":
5401
+ declareOptionalPattern2(node.id, scope);
5402
+ declarePatterns2(node.params, scope);
5403
+ break;
5404
+ case "ArrowFunctionExpression":
5405
+ declarePatterns2(node.params, scope);
5406
+ break;
5407
+ case "ClassDeclaration":
5408
+ case "ClassExpression":
5409
+ declareOptionalPattern2(node.id, scope);
5410
+ break;
5411
+ case "CatchClause":
5412
+ declareOptionalPattern2(node.param, scope);
5413
+ break;
5414
+ case "ImportDeclaration":
5415
+ declarePatterns2(
5416
+ node.specifiers.map((specifier) => specifier.local),
5417
+ scope
5418
+ );
5419
+ break;
5420
+ }
5421
+ }
5422
+ function lookupBinding2(name, scope) {
5423
+ for (let current = scope; current; current = current.parent) {
5424
+ const binding = current.bindings.get(name);
5425
+ if (binding) return binding;
5426
+ }
5427
+ return void 0;
5428
+ }
5429
+ function collectBindings2(ast) {
5430
+ const root = { bindings: /* @__PURE__ */ new Map() };
5431
+ const scopes = new WeakMap([[ast, root]]);
5432
+ const scopeAt = (ancestors, functionOnly = false) => {
5433
+ let parent = root;
5434
+ let selected = root;
5435
+ for (const node of ancestors) {
5436
+ if (!isScope2(node)) continue;
5437
+ let scope = scopes.get(node);
5438
+ if (!scope) {
5439
+ scope = { parent, bindings: /* @__PURE__ */ new Map() };
5440
+ scopes.set(node, scope);
5441
+ }
5442
+ parent = scope;
5443
+ if (!functionOnly || isFunctionScope2(node)) selected = scope;
5444
+ }
5445
+ return selected;
5446
+ };
5447
+ fullAncestor(ast, (node, _state, ancestors) => {
5448
+ const scope = scopeAt(ancestors);
5449
+ if (node.type === "VariableDeclarator") {
5450
+ const declaration = ancestors.at(-2);
5451
+ const bindingScope = scopeAt(
5452
+ ancestors,
5453
+ declaration?.type === "VariableDeclaration" && declaration.kind === "var"
5454
+ );
5455
+ declarePattern2(node.id, node.init ?? null, bindingScope, scope);
5456
+ return;
5457
+ }
5458
+ if ((node.type === "FunctionDeclaration" || node.type === "ClassDeclaration") && node.id) {
5459
+ declarePattern2(node.id, null, scopeAt(ancestors.slice(0, -1)));
5460
+ }
5461
+ declareScopedName2(node, scope);
5462
+ });
5463
+ return scopeAt;
5464
+ }
5465
+ function lookupSelector2(node, scope, seen = /* @__PURE__ */ new Set()) {
5466
+ if (node?.type === "Identifier") {
5467
+ const binding = lookupBinding2(node.name, scope);
5468
+ if (!binding || seen.has(binding)) return void 0;
5469
+ seen.add(binding);
5470
+ return lookupSelector2(binding.initializer, binding.scope, seen);
5471
+ }
5472
+ return selectorFromDomLookup2(node);
5473
+ }
5474
+ function selectorFromDomLookup2(node) {
5475
+ if (node?.type !== "CallExpression" || node.callee.type !== "MemberExpression") {
5476
+ return void 0;
5477
+ }
5478
+ const method = memberName2(node.callee);
5479
+ if (method !== "getElementById" && method !== "querySelector") return void 0;
5480
+ const value = literalString2(node.arguments[0]);
5481
+ if (!value) return void 0;
5482
+ return method === "getElementById" ? `#${value}` : value;
5483
+ }
5484
+ function extractMediaSrcMutations2(script) {
5485
+ try {
5486
+ const ast = parseProgram3(script);
5487
+ const scopeAt = collectBindings2(ast);
5488
+ const mutations = [];
5489
+ ancestor(ast, {
5490
+ AssignmentExpression(node, _state, ancestors) {
5491
+ if (node.operator !== "=" || node.left.type !== "MemberExpression" || memberName2(node.left) !== "src")
5492
+ return;
5493
+ const selector = lookupSelector2(node.left.object, scopeAt(ancestors));
5494
+ if (!selector) return;
5495
+ mutations.push({
5496
+ selector,
5497
+ operation: "src_assignment",
5498
+ raw: script.slice(node.start, node.end)
5499
+ });
5500
+ },
5501
+ CallExpression(node, _state, ancestors) {
5502
+ if (node.callee.type !== "MemberExpression" || memberName2(node.callee) !== "setAttribute")
5503
+ return;
5504
+ if (literalString2(node.arguments[0])?.toLowerCase() !== "src") return;
5505
+ const selector = lookupSelector2(node.callee.object, scopeAt(ancestors));
5506
+ if (!selector) return;
5507
+ mutations.push({
5508
+ selector,
5509
+ operation: "set_attribute",
5510
+ raw: script.slice(node.start, node.end)
5511
+ });
5512
+ }
5513
+ });
5514
+ return mutations;
5515
+ } catch {
5516
+ return [];
5517
+ }
5518
+ }
5519
+
5073
5520
  export {
5074
5521
  MagicString,
5075
5522
  CANVAS_DIMENSIONS,
@@ -5116,5 +5563,18 @@ export {
5116
5563
  resolveAliasDisplayName,
5117
5564
  scanHtmlOpeningTags,
5118
5565
  HTML_ATTRIBUTE_ENTITIES,
5119
- decodeAuthoredAttribute
5566
+ decodeAuthoredAttribute,
5567
+ COMPOSITION_VARIABLE_TYPES2,
5568
+ FONT_ALIAS_KEYS2,
5569
+ resolveAliasDisplayName2,
5570
+ parseFontShorthand,
5571
+ fontShorthandFamilies,
5572
+ isFontValue2 as isFontValue,
5573
+ isImageValue2 as isImageValue,
5574
+ isCompositionVariable2 as isCompositionVariable,
5575
+ isSafeMediaUrl,
5576
+ HTML_BODY_CSS_WIDTH_FIRST_RE2,
5577
+ HTML_BODY_CSS_HEIGHT_FIRST_RE2,
5578
+ VIEWPORT_META_SIZE_RE2,
5579
+ extractMediaSrcMutations2
5120
5580
  };
@@ -28,32 +28,33 @@ import {
28
28
  COLOR_GRADING_SOURCE_TAGS,
29
29
  COLOR_GROUP_TAG,
30
30
  COMPOSITION_ATTRIBUTES,
31
- COMPOSITION_VARIABLE_TYPES,
32
- FONT_ALIAS_KEYS,
33
- HTML_BODY_CSS_HEIGHT_FIRST_RE,
34
- HTML_BODY_CSS_WIDTH_FIRST_RE,
35
31
  MEDIA_START_BASIS_ATTR,
36
- VIEWPORT_META_SIZE_RE,
37
32
  checkSubCompositionUsability,
38
33
  compositionOriginSeconds,
39
34
  cutToHostSlots,
40
- extractMediaSrcMutations,
41
- isCompositionVariable,
42
- isSafeMediaUrl,
43
35
  parseNumeric,
44
36
  readAuthoredDurationSeconds,
45
37
  readClipTiming,
46
38
  readDataDurationSeconds,
47
- resolveAliasDisplayName,
48
39
  resolveMediaDuration,
49
40
  resolveMediaStartSeconds,
50
41
  rewriteAssetPath,
51
42
  spansOverlap,
52
43
  validateColorGradingContract
53
- } from "./chunk-C2KEGBR3.js";
44
+ } from "./chunk-OHQRQE7F.js";
54
45
  import {
55
- encodeUrlPath
56
- } from "./chunk-JHILL4BN.js";
46
+ COMPOSITION_VARIABLE_TYPES2 as COMPOSITION_VARIABLE_TYPES,
47
+ FONT_ALIAS_KEYS2 as FONT_ALIAS_KEYS,
48
+ HTML_BODY_CSS_HEIGHT_FIRST_RE2 as HTML_BODY_CSS_HEIGHT_FIRST_RE,
49
+ HTML_BODY_CSS_WIDTH_FIRST_RE2 as HTML_BODY_CSS_WIDTH_FIRST_RE,
50
+ VIEWPORT_META_SIZE_RE2 as VIEWPORT_META_SIZE_RE,
51
+ encodeUrlPath,
52
+ extractMediaSrcMutations2 as extractMediaSrcMutations,
53
+ isCompositionVariable,
54
+ isSafeMediaUrl,
55
+ parseFontShorthand,
56
+ resolveAliasDisplayName2 as resolveAliasDisplayName
57
+ } from "./chunk-CUCP7FKH.js";
57
58
  import {
58
59
  parseHTML
59
60
  } from "./chunk-GWTIFRF5.js";
@@ -10403,14 +10404,20 @@ function resolveUsedFontNames(value, properties, resolving = /* @__PURE__ */ new
10403
10404
  return resolveUsedFontNames(referenced, properties, new Set(resolving).add(property));
10404
10405
  });
10405
10406
  }
10407
+ function usedFamilyList(decl) {
10408
+ if (isFontFaceDeclaration(decl)) return "";
10409
+ if (decl.prop.toLowerCase() !== "font") return decl.value;
10410
+ const shorthand = parseFontShorthand(decl.value);
10411
+ return shorthand.certain ? shorthand.families : "";
10412
+ }
10413
+ var FONT_FAMILY_PROPS = /^font(?:-family)?$/i;
10406
10414
  function extractUsedFontFamilies(styles) {
10407
10415
  const used = [];
10408
10416
  const seen = /* @__PURE__ */ new Set();
10409
10417
  const properties = collectFontCustomProperties(styles);
10410
10418
  for (const style of styles) {
10411
- parseFontCss(style.content)?.walkDecls(/^font-family$/i, (decl) => {
10412
- if (isFontFaceDeclaration(decl)) return;
10413
- for (const name of resolveUsedFontNames(decl.value, properties)) {
10419
+ parseFontCss(style.content)?.walkDecls(FONT_FAMILY_PROPS, (decl) => {
10420
+ for (const name of resolveUsedFontNames(usedFamilyList(decl), properties)) {
10414
10421
  if (!GENERIC_FAMILIES.has(name) && !seen.has(name)) {
10415
10422
  seen.add(name);
10416
10423
  used.push(name);
@@ -10512,9 +10519,33 @@ var fontRules = [
10512
10519
  code: "font_family_without_font_face",
10513
10520
  severity: "error",
10514
10521
  message: `Font ${undeclared.length === 1 ? "family" : "families"} used without @font-face declaration: ${undeclared.join(", ")}. These are not in the auto-resolved font list, so the renderer cannot supply them automatically. Text will fall back to a generic font, producing incorrect typography in the video.`,
10515
- fixHint: "Add @font-face { font-family: '...'; src: url('capture/assets/fonts/...woff2'); } for each font family, pointing to the captured .woff2 files. For an OS-bundled system font (e.g. Hiragino Sans, Microsoft YaHei) that has no downloadable file, use src: local('Exact Font Name') instead. The declaration alone satisfies this check without needing a font file."
10522
+ fixHint: "Add @font-face { font-family: '...'; src: url('capture/assets/fonts/...woff2'); } for each font family, pointing to the captured .woff2 files, or switch to a Google Fonts family. An OS font such as PingFang SC or Hiragino Sans renders locally from the installed copy, but a cloud render has no copy and refuses it."
10516
10523
  });
10517
10524
  return findings;
10525
+ },
10526
+ ({ styles, rawSource, options, locate }) => {
10527
+ if (isRegistrySourceFile(options.filePath) || isRegistryInstalledFile(rawSource)) return [];
10528
+ const findings = [];
10529
+ for (const style of styles) {
10530
+ parseFontCss(style.content)?.walkAtRules(/^font-face$/i, (rule) => {
10531
+ let family = null;
10532
+ let sources = "";
10533
+ rule.walkDecls((decl) => {
10534
+ const prop = decl.prop.toLowerCase();
10535
+ if (prop === "font-family") family = normalizeUsedFontName(decl.value);
10536
+ else if (prop === "src") sources += ` ${decl.value}`;
10537
+ });
10538
+ if (!family || !/\blocal\s*\(/i.test(sources) || /\burl\s*\(/i.test(sources)) return;
10539
+ findings.push({
10540
+ ...locate(style, rule.source?.start?.offset),
10541
+ code: "font_face_local_only",
10542
+ severity: "warning",
10543
+ message: `@font-face '${family}' only names a font installed on this machine (src: local()). A local render uses the installed copy; a cloud render or another machine has none and falls back to a different font.`,
10544
+ fixHint: "Add a url() source to the font file (.woff2) inside the project, or use a Google Fonts family, so every render draws the same glyphs."
10545
+ });
10546
+ });
10547
+ }
10548
+ return findings;
10518
10549
  }
10519
10550
  ];
10520
10551
  function uniqueFontLocation(styles, families, locate) {
@@ -10522,10 +10553,9 @@ function uniqueFontLocation(styles, families, locate) {
10522
10553
  const properties = collectFontCustomProperties(styles);
10523
10554
  for (const style of styles) {
10524
10555
  try {
10525
- postcss3.parse(style.content).walkDecls(/^font-family$/i, (decl) => {
10526
- if (isFontFaceDeclaration(decl)) return;
10527
- if (!resolveUsedFontNames(decl.value, properties).some((name) => families.includes(name)))
10528
- return;
10556
+ postcss3.parse(style.content).walkDecls(FONT_FAMILY_PROPS, (decl) => {
10557
+ const named = resolveUsedFontNames(usedFamilyList(decl), properties);
10558
+ if (!named.some((name) => families.includes(name))) return;
10529
10559
  locations.push(locate(style, decl.source?.start?.offset));
10530
10560
  });
10531
10561
  } catch {
@@ -9,33 +9,33 @@ import {
9
9
  } from "./chunk-LLMSX6V6.js";
10
10
  import {
11
11
  readCompositionFps
12
- } from "./chunk-7AMCGJDM.js";
12
+ } from "./chunk-U22NZEQV.js";
13
13
  import {
14
14
  findSyncPartner,
15
15
  readLinkTiming,
16
16
  syncOffsetFrames
17
- } from "./chunk-AW3XJY4S.js";
17
+ } from "./chunk-6FDVPIOO.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-AB6DKVKC.js";
22
+ } from "./chunk-6ZRGEVAM.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-W5AUD5OL.js";
27
+ } from "./chunk-N7ZKI2CE.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-Y3ICFPFK.js";
34
+ } from "./chunk-EAO46VPT.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-CKZVLS3K.js";
38
+ } from "./chunk-CZ5NNJ6H.js";
39
39
  import {
40
40
  resolveAuthoredAssetFile
41
41
  } from "./chunk-WVRAFHJU.js";
@@ -48,12 +48,12 @@ import {
48
48
  readPlaybackRate,
49
49
  resolveMediaDuration,
50
50
  resolveMediaStartSeconds
51
- } from "./chunk-C2KEGBR3.js";
51
+ } from "./chunk-OHQRQE7F.js";
52
52
  import {
53
53
  isSubCompositionHost,
54
54
  topLevelElements,
55
55
  trackKindOf
56
- } from "./chunk-JHILL4BN.js";
56
+ } from "./chunk-CUCP7FKH.js";
57
57
 
58
58
  // src/timeline/describeProject.ts
59
59
  import { readFileSync, realpathSync, statSync } from "fs";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-AB6DKVKC.js";
9
+ } from "./chunk-6ZRGEVAM.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-ITDHT7AO.js";
13
+ } from "./chunk-MWPPZOY5.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";