motionary 16.1.0 → 16.3.0

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 (1022) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README.md +41 -48
  3. package/README_ja.md +37 -13
  4. package/README_zh.md +38 -14
  5. package/bin/public-paths.mjs +2 -0
  6. package/dist/chunks/{anim-image-C6FOWZKe.cjs → anim-image-BJgW6MC0.cjs} +2 -2
  7. package/dist/chunks/{anim-image-CTMieF0F.js → anim-image-C3DWnEgP.js} +2 -2
  8. package/dist/chunks/audio-CWxlWX4e.js +1 -1
  9. package/dist/chunks/audio-D0LwPShE.cjs +1 -1
  10. package/dist/chunks/badge-wall-Bj-RRR7j.js +1 -1
  11. package/dist/chunks/badge-wall-CITexuW7.cjs +1 -1
  12. package/dist/chunks/base-BvH4nAcv.cjs +1 -1
  13. package/dist/chunks/base-QrtwTUOO.js +1 -1
  14. package/dist/chunks/bg-generator-CML8tPN8.cjs +1 -1
  15. package/dist/chunks/bg-generator-Dj1hH67O.js +1 -1
  16. package/dist/chunks/bind-B_CTL6Qn.js +1 -1
  17. package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
  18. package/dist/chunks/builtins-DQ_KD-84.js +1 -1
  19. package/dist/chunks/builtins-DweCp29Z.cjs +1 -1
  20. package/dist/chunks/carousel-DEgoYGFx.js +1 -1
  21. package/dist/chunks/carousel-DU3rHTq0.cjs +1 -1
  22. package/dist/chunks/cart-drawer-C0pY0dmc.js +1 -1
  23. package/dist/chunks/cart-drawer-CkFMKMhx.cjs +1 -1
  24. package/dist/chunks/code-export-B-eHxa4Z.js +1 -1
  25. package/dist/chunks/code-export-PdGSl9WE.cjs +1 -1
  26. package/dist/chunks/color-picker-B_xWVH8H.cjs +1 -1
  27. package/dist/chunks/color-picker-D15wk7nJ.js +1 -1
  28. package/dist/chunks/command-palette-BDNe1gMK.js +1 -1
  29. package/dist/chunks/command-palette-ISetAeX1.cjs +1 -1
  30. package/dist/chunks/core-BgR-tTTI.js +1 -1
  31. package/dist/chunks/core-BjcOCpJt.cjs +1 -1
  32. package/dist/chunks/core-CC1UXXEC.js +1 -1
  33. package/dist/chunks/core-DbAYRKnS.cjs +1 -1
  34. package/dist/chunks/core-Dj6iomdc.js +1 -1
  35. package/dist/chunks/core-DjjKLmZ6.cjs +1 -1
  36. package/dist/chunks/countdown-CG0Ihedq.js +1 -1
  37. package/dist/chunks/countdown-RQViryt7.cjs +1 -1
  38. package/dist/chunks/date-picker-BgApzPNn.cjs +1 -1
  39. package/dist/chunks/date-picker-DdlDcukY.js +1 -1
  40. package/dist/chunks/ease-HwYZnZat.cjs +1 -1
  41. package/dist/chunks/ease-XN8_0sXu.js +1 -1
  42. package/dist/chunks/equalizer--Sk1CWfZ.js +1 -1
  43. package/dist/chunks/equalizer-_eD_ZdCl.cjs +1 -1
  44. package/dist/chunks/festival-banner-BBqV8cdf.js +1 -1
  45. package/dist/chunks/festival-banner-Bs18K0MJ.cjs +1 -1
  46. package/dist/chunks/field-DDv6HlpL.js +1 -1
  47. package/dist/chunks/field-Dwq8-CLN.cjs +1 -1
  48. package/dist/chunks/format-BSTz6pm_.js +1 -1
  49. package/dist/chunks/format-b5fQz-vc.cjs +1 -1
  50. package/dist/chunks/fx-DaVuB89C.cjs +1 -1
  51. package/dist/chunks/fx-cO_b2EVv.js +1 -1
  52. package/dist/chunks/generative-BKoxWOSP.cjs +1 -1
  53. package/dist/chunks/generative-BNmS-QUD.js +1 -1
  54. package/dist/chunks/{gl-scene-BqiVwX2S.js → gl-scene-Cd-dBI-k.js} +2 -2
  55. package/dist/chunks/{gl-scene-Ca1IpbCm.cjs → gl-scene-DeYpgl2q.cjs} +2 -2
  56. package/dist/chunks/globe-DA0jyb6s.cjs +1 -1
  57. package/dist/chunks/globe-l0QidRYi.js +1 -1
  58. package/dist/chunks/gpu-B5AZJvCt.js +1 -1
  59. package/dist/chunks/gpu-C2C6iBQC.cjs +1 -1
  60. package/dist/chunks/gpu-particles-BCpT6_0b.js +1 -1
  61. package/dist/chunks/gpu-particles-wEO_rds1.cjs +1 -1
  62. package/dist/chunks/history-B0Ml40k1.cjs +1 -1
  63. package/dist/chunks/history-W7ot2kyl.js +1 -1
  64. package/dist/chunks/index-C9_FEsfz.cjs +1 -1
  65. package/dist/chunks/index-Pkno706C.js +1 -1
  66. package/dist/chunks/index-tags-B-JBecYg.js +1 -1
  67. package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
  68. package/dist/chunks/key-click-BLm3BI8_.js +1 -1
  69. package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
  70. package/dist/chunks/{keyframes-Dxt0T1BH.js → keyframes-Dibk7A9I.js} +2 -2
  71. package/dist/chunks/{keyframes-fbaCwDGM.cjs → keyframes-DwGEdwwg.cjs} +2 -2
  72. package/dist/chunks/leaderboard-CbiWHJt6.js +1 -1
  73. package/dist/chunks/leaderboard-DvSSQ8o3.cjs +1 -1
  74. package/dist/chunks/location-card-BZn9anlf.js +1 -1
  75. package/dist/chunks/location-card-DSPTApUe.cjs +1 -1
  76. package/dist/chunks/lottie-icon-BoxkukMd.cjs +1 -1
  77. package/dist/chunks/lottie-icon-DeHawSTn.js +1 -1
  78. package/dist/chunks/{lottie-player-BZQpJ3mP.js → lottie-player-CO4PLSBa.js} +2 -2
  79. package/dist/chunks/{lottie-player-CrWU23Ax.cjs → lottie-player-vMLHnuH_.cjs} +2 -2
  80. package/dist/chunks/lyrics-CRB7dA1j.cjs +1 -1
  81. package/dist/chunks/lyrics-DVbmLBlN.js +1 -1
  82. package/dist/chunks/manifest-B0WJg6hn.js +1 -1
  83. package/dist/chunks/manifest-xr3WET80.cjs +1 -1
  84. package/dist/chunks/menu-CZ1zHTT9.cjs +1 -1
  85. package/dist/chunks/menu-CnQ_M2MQ.js +1 -1
  86. package/dist/chunks/menu-toggle-5XOYiIyd.js +1 -1
  87. package/dist/chunks/menu-toggle-DGXN4VsN.cjs +1 -1
  88. package/dist/chunks/nav-morph-C4rD3wrU.cjs +1 -1
  89. package/dist/chunks/nav-morph-ziuI5hHS.js +1 -1
  90. package/dist/chunks/otp-Cb48zoUe.js +1 -1
  91. package/dist/chunks/otp-DUyEWYMi.cjs +1 -1
  92. package/dist/chunks/pagination-BIufB-g3.js +1 -1
  93. package/dist/chunks/pagination-DHmYZZU9.cjs +1 -1
  94. package/dist/chunks/{physics-playground-76T6wtNB.cjs → physics-playground-Bewa75WW.cjs} +2 -2
  95. package/dist/chunks/{physics-playground-BG1XGp6Q.js → physics-playground-HbhOTyEH.js} +2 -2
  96. package/dist/chunks/play-D9Utt9rO.cjs +1 -1
  97. package/dist/chunks/play-DZ_ho9zJ.js +1 -1
  98. package/dist/chunks/player-core-CeaR3esR.cjs +1 -1
  99. package/dist/chunks/player-core-DAEKafsQ.js +1 -1
  100. package/dist/chunks/presence-C-dO1CU4.js +1 -1
  101. package/dist/chunks/presence-DAthlALi.cjs +1 -1
  102. package/dist/chunks/presets-BYBVJVeP.js +1 -1
  103. package/dist/chunks/presets-CUHys3sK.cjs +1 -1
  104. package/dist/chunks/preview-DdgqW96I.js +1 -1
  105. package/dist/chunks/preview-kiMCBqSF.cjs +1 -1
  106. package/dist/chunks/prize-wheel-emDopI5c.cjs +1 -1
  107. package/dist/chunks/prize-wheel-xiuulNSI.js +1 -1
  108. package/dist/chunks/product-gallery-BoiBGX9H.js +1 -1
  109. package/dist/chunks/product-gallery-CKtSVhZk.cjs +1 -1
  110. package/dist/chunks/progress-ring-BsEz1MN3.js +1 -1
  111. package/dist/chunks/progress-ring-C75O4MUi.cjs +1 -1
  112. package/dist/chunks/project-CCfILvjg.js +1 -1
  113. package/dist/chunks/project-DiTOvzic.cjs +1 -1
  114. package/dist/chunks/prop-panel-DFqga6H5.cjs +1 -1
  115. package/dist/chunks/prop-panel-DqIbmWmc.js +1 -1
  116. package/dist/chunks/radar-D-bZRrgs.cjs +1 -1
  117. package/dist/chunks/radar-t201zj2r.js +1 -1
  118. package/dist/chunks/reactions-BL2iO8iy.cjs +1 -1
  119. package/dist/chunks/reactions-CX-_6Suh.js +1 -1
  120. package/dist/chunks/registry-B1ipgYF7.js +1 -1
  121. package/dist/chunks/{registry-Dk7T0M7p.js → registry-B3Ju6m4w.js} +2 -2
  122. package/dist/chunks/{registry-re1x_8yZ.cjs → registry-B6XX3AVt.cjs} +2 -2
  123. package/dist/chunks/registry-CibnX7Ui.cjs +1 -1
  124. package/dist/chunks/retro-button-CPAMUUZ2.js +1 -1
  125. package/dist/chunks/retro-button-DrrBZ6w8.cjs +1 -1
  126. package/dist/chunks/rive-D6X4J0Mi.cjs +1 -1
  127. package/dist/chunks/rive-uSPb8arE.js +1 -1
  128. package/dist/chunks/{runtime-link-CVudH41X.js → runtime-link-Bqd4WMil.js} +2 -2
  129. package/dist/chunks/{runtime-link-CjHKZNFa.cjs → runtime-link-cSmP9oK2.cjs} +2 -2
  130. package/dist/chunks/scene-C7-PUIZK.js +1 -1
  131. package/dist/chunks/scene-U2YkjCm0.cjs +1 -1
  132. package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
  133. package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
  134. package/dist/chunks/{scroll-scene-CN21eDNW.cjs → scroll-scene-COrtHfnK.cjs} +3 -3
  135. package/dist/chunks/{scroll-scene-Chh_nc5L.js → scroll-scene-Qt7VsuDE.js} +3 -3
  136. package/dist/chunks/segmented-CpB4mKIn.cjs +1 -1
  137. package/dist/chunks/segmented-KPw5KH1W.js +1 -1
  138. package/dist/chunks/shader-backdrop-BodjXMhw.cjs +1 -1
  139. package/dist/chunks/shader-backdrop-JPI5yk7O.js +1 -1
  140. package/dist/chunks/shared-Bf72wLyt.cjs +1 -1
  141. package/dist/chunks/shared-CkKHWrtJ.js +1 -1
  142. package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
  143. package/dist/chunks/shared-o9CtwHmi.js +1 -1
  144. package/dist/chunks/sheet-B38ylIEW.cjs +1 -1
  145. package/dist/chunks/sheet-CheLvhW_.js +1 -1
  146. package/dist/chunks/sign-DvZ1jHxE.js +1 -1
  147. package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
  148. package/dist/chunks/skeleton-reveal-DDDWXmcC.js +1 -1
  149. package/dist/chunks/skeleton-reveal-Dsd3Wp0n.cjs +1 -1
  150. package/dist/chunks/sparkline-DeKhZpVo.cjs +1 -1
  151. package/dist/chunks/sparkline-u-Oxv7YR.js +1 -1
  152. package/dist/chunks/spring-XEl_diDJ.cjs +1 -1
  153. package/dist/chunks/spring-YKWCyYGf.js +1 -1
  154. package/dist/chunks/stagger-B9sKPwQB.js +1 -1
  155. package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
  156. package/dist/chunks/suggestion-chips-BlX6Fmt-.js +1 -1
  157. package/dist/chunks/suggestion-chips-CAcbFTr4.cjs +1 -1
  158. package/dist/chunks/switch-DiTlApGd.cjs +1 -1
  159. package/dist/chunks/switch-kilxiPM3.js +1 -1
  160. package/dist/chunks/tab-bar-BBlVAqbq.cjs +1 -1
  161. package/dist/chunks/tab-bar-CBtsdbcT.js +1 -1
  162. package/dist/chunks/{ticker-BHDp3bM2.cjs → ticker-Cy386cSs.cjs} +2 -2
  163. package/dist/chunks/{ticker-D5dmHHiF.js → ticker-DH1XbUNF.js} +2 -2
  164. package/dist/chunks/tip-UhHR-P4Q.js +1 -1
  165. package/dist/chunks/tip-VGS3qAUm.cjs +1 -1
  166. package/dist/chunks/toast-stack-B_bO4fVO.js +1 -1
  167. package/dist/chunks/toast-stack-DprisNp_.cjs +1 -1
  168. package/dist/chunks/{tween-BDiN74XV.cjs → tween-BxJQy5VJ.cjs} +2 -2
  169. package/dist/chunks/{tween-QxulEo-G.js → tween-CDPoQTsq.js} +2 -2
  170. package/dist/chunks/upload-progress-CEAWkP-p.cjs +1 -1
  171. package/dist/chunks/upload-progress-kJz9Mw10.js +1 -1
  172. package/dist/chunks/v2-C_rZCsjr.js +1 -1
  173. package/dist/chunks/v2-El9dfBqV.cjs +1 -1
  174. package/dist/chunks/v3-read-BNhrN3tL.cjs +1 -1
  175. package/dist/chunks/v3-read-BqgIjLQP.js +1 -1
  176. package/dist/chunks/variants-BtqEJuki.cjs +1 -1
  177. package/dist/chunks/variants-CDG1W49e.js +1 -1
  178. package/dist/chunks/viewport-BAXHhZLV.js +1 -1
  179. package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
  180. package/dist/chunks/voice-button-9UauxvT9.cjs +1 -1
  181. package/dist/chunks/voice-button-leTq2whK.js +1 -1
  182. package/dist/chunks/weather-card-4Eg6e43D.cjs +1 -1
  183. package/dist/chunks/weather-card-CL5yJ4rw.js +1 -1
  184. package/dist/chunks/worker-canvas-BMBXAFWp.cjs +1 -1
  185. package/dist/chunks/worker-canvas-RGGXvIxH.js +1 -1
  186. package/dist/chunks/xp-bar-DgVUXJYh.js +1 -1
  187. package/dist/chunks/xp-bar-DkWfCTfB.cjs +1 -1
  188. package/dist/components/a11y.cjs +1 -1
  189. package/dist/components/a11y.js +1 -1
  190. package/dist/components/ai.cjs +1 -1
  191. package/dist/components/ai.js +1 -1
  192. package/dist/components/angular.cjs +1 -1
  193. package/dist/components/angular.js +1 -1
  194. package/dist/components/background.cjs +1 -1
  195. package/dist/components/background.js +1 -1
  196. package/dist/components/bridge.cjs +1 -1
  197. package/dist/components/bridge.js +1 -1
  198. package/dist/components/cards.cjs +1 -1
  199. package/dist/components/cards.js +1 -1
  200. package/dist/components/click.cjs +1 -1
  201. package/dist/components/click.js +1 -1
  202. package/dist/components/core.cjs +1 -1
  203. package/dist/components/core.js +1 -1
  204. package/dist/components/depth.cjs +1 -1
  205. package/dist/components/depth.js +1 -1
  206. package/dist/components/design.cjs +1 -1
  207. package/dist/components/design.js +1 -1
  208. package/dist/components/dotlottie.cjs +3 -3
  209. package/dist/components/dotlottie.js +3 -3
  210. package/dist/components/dsl.cjs +1 -1
  211. package/dist/components/dsl.js +1 -1
  212. package/dist/components/effects.cjs +1 -1
  213. package/dist/components/effects.js +1 -1
  214. package/dist/components/engine.cjs +1 -1
  215. package/dist/components/engine.js +1 -1
  216. package/dist/components/feedback.cjs +1 -1
  217. package/dist/components/feedback.js +1 -1
  218. package/dist/components/fx-3d.cjs +1 -1
  219. package/dist/components/fx-3d.js +1 -1
  220. package/dist/components/fx-ai.cjs +1 -1
  221. package/dist/components/fx-ai.js +1 -1
  222. package/dist/components/fx-chart.cjs +1 -1
  223. package/dist/components/fx-chart.js +1 -1
  224. package/dist/components/fx-cinema.cjs +1 -1
  225. package/dist/components/fx-cinema.js +1 -1
  226. package/dist/components/fx-cyber.cjs +1 -1
  227. package/dist/components/fx-cyber.js +1 -1
  228. package/dist/components/fx-festival.cjs +1 -1
  229. package/dist/components/fx-festival.js +1 -1
  230. package/dist/components/fx-focus.cjs +1 -1
  231. package/dist/components/fx-focus.js +1 -1
  232. package/dist/components/fx-form.cjs +1 -1
  233. package/dist/components/fx-form.js +1 -1
  234. package/dist/components/fx-game.cjs +1 -1
  235. package/dist/components/fx-game.js +1 -1
  236. package/dist/components/fx-genart.cjs +1 -1
  237. package/dist/components/fx-genart.js +1 -1
  238. package/dist/components/fx-geo.cjs +1 -1
  239. package/dist/components/fx-geo.js +1 -1
  240. package/dist/components/fx-gesture.cjs +1 -1
  241. package/dist/components/fx-gesture.js +1 -1
  242. package/dist/components/fx-gpu.cjs +1 -1
  243. package/dist/components/fx-gpu.js +1 -1
  244. package/dist/components/fx-light.cjs +1 -1
  245. package/dist/components/fx-light.js +1 -1
  246. package/dist/components/fx-lottie.cjs +1 -1
  247. package/dist/components/fx-lottie.js +1 -1
  248. package/dist/components/fx-morph.cjs +1 -1
  249. package/dist/components/fx-morph.js +1 -1
  250. package/dist/components/fx-music.cjs +1 -1
  251. package/dist/components/fx-music.js +1 -1
  252. package/dist/components/fx-organic.cjs +1 -1
  253. package/dist/components/fx-organic.js +1 -1
  254. package/dist/components/fx-paper.cjs +1 -1
  255. package/dist/components/fx-paper.js +1 -1
  256. package/dist/components/fx-perf.cjs +1 -1
  257. package/dist/components/fx-perf.js +1 -1
  258. package/dist/components/fx-physics.cjs +1 -1
  259. package/dist/components/fx-physics.js +1 -1
  260. package/dist/components/fx-retro.cjs +1 -1
  261. package/dist/components/fx-retro.js +1 -1
  262. package/dist/components/fx-safe.cjs +1 -1
  263. package/dist/components/fx-safe.js +1 -1
  264. package/dist/components/fx-shop.cjs +1 -1
  265. package/dist/components/fx-shop.js +1 -1
  266. package/dist/components/fx-social.cjs +1 -1
  267. package/dist/components/fx-social.js +1 -1
  268. package/dist/components/fx-spatial.cjs +1 -1
  269. package/dist/components/fx-spatial.js +1 -1
  270. package/dist/components/fx-surface.cjs +1 -1
  271. package/dist/components/fx-surface.js +1 -1
  272. package/dist/components/fx-text.cjs +1 -1
  273. package/dist/components/fx-text.js +1 -1
  274. package/dist/components/fx-transitions.cjs +1 -1
  275. package/dist/components/fx-transitions.js +1 -1
  276. package/dist/components/fx-video.cjs +1 -1
  277. package/dist/components/fx-video.js +1 -1
  278. package/dist/components/fx-weather.cjs +1 -1
  279. package/dist/components/fx-weather.js +1 -1
  280. package/dist/components/fx.cjs +1 -1
  281. package/dist/components/fx.js +1 -1
  282. package/dist/components/fx2.cjs +1 -1
  283. package/dist/components/fx2.js +1 -1
  284. package/dist/components/gesture.cjs +1 -1
  285. package/dist/components/gesture.js +1 -1
  286. package/dist/components/gl-model.cjs +3 -3
  287. package/dist/components/gl-model.js +3 -3
  288. package/dist/components/gl-pool.cjs +1 -1
  289. package/dist/components/gl-pool.js +1 -1
  290. package/dist/components/interaction.cjs +1 -1
  291. package/dist/components/interaction.js +1 -1
  292. package/dist/components/jsx.cjs +1 -1
  293. package/dist/components/jsx.js +1 -1
  294. package/dist/components/layout.cjs +1 -1
  295. package/dist/components/layout.js +1 -1
  296. package/dist/components/lazy.cjs +1 -1
  297. package/dist/components/lazy.js +1 -1
  298. package/dist/components/lite.cjs +1 -1
  299. package/dist/components/lite.js +1 -1
  300. package/dist/components/marketplace.cjs +1 -1
  301. package/dist/components/marketplace.js +1 -1
  302. package/dist/components/motion-layout.cjs +1 -1
  303. package/dist/components/motion-layout.js +1 -1
  304. package/dist/components/motion-scene.cjs +1 -1
  305. package/dist/components/motion-scene.js +1 -1
  306. package/dist/components/motion-tokens.cjs +1 -1
  307. package/dist/components/motion-tokens.js +1 -1
  308. package/dist/components/motion.cjs +1 -1
  309. package/dist/components/motion.js +1 -1
  310. package/dist/components/native.cjs +1 -1
  311. package/dist/components/native.js +1 -1
  312. package/dist/components/offscreen.cjs +1 -1
  313. package/dist/components/offscreen.js +1 -1
  314. package/dist/components/packs.cjs +1 -1
  315. package/dist/components/packs.js +1 -1
  316. package/dist/components/page.cjs +1 -1
  317. package/dist/components/page.js +1 -1
  318. package/dist/components/perf-tasks.cjs +1 -1
  319. package/dist/components/perf-tasks.js +1 -1
  320. package/dist/components/perf.cjs +1 -1
  321. package/dist/components/perf.js +1 -1
  322. package/dist/components/physics.cjs +1 -1
  323. package/dist/components/physics.js +1 -1
  324. package/dist/components/plugins.cjs +1 -1
  325. package/dist/components/plugins.js +1 -1
  326. package/dist/components/react.cjs +1 -1
  327. package/dist/components/react.js +1 -1
  328. package/dist/components/reveal.cjs +1 -1
  329. package/dist/components/reveal.js +1 -1
  330. package/dist/components/scene-symbols.cjs +1 -1
  331. package/dist/components/scene-symbols.js +1 -1
  332. package/dist/components/scene-v2.cjs +1 -1
  333. package/dist/components/scene-v2.js +1 -1
  334. package/dist/components/scene-v3.cjs +1 -1
  335. package/dist/components/scene-v3.js +1 -1
  336. package/dist/components/snap-carousel.cjs +2 -2
  337. package/dist/components/snap-carousel.js +2 -2
  338. package/dist/components/solid.cjs +1 -1
  339. package/dist/components/solid.js +1 -1
  340. package/dist/components/studio-a11y.cjs +1 -1
  341. package/dist/components/studio-a11y.js +1 -1
  342. package/dist/components/studio-ai.cjs +1 -1
  343. package/dist/components/studio-ai.js +1 -1
  344. package/dist/components/studio-app.cjs +1 -1
  345. package/dist/components/studio-app.js +1 -1
  346. package/dist/components/studio-assets.cjs +1 -1
  347. package/dist/components/studio-assets.js +1 -1
  348. package/dist/components/studio-budget.cjs +127 -0
  349. package/dist/components/studio-budget.d.cts +159 -0
  350. package/dist/components/studio-budget.d.ts +159 -0
  351. package/dist/components/studio-budget.js +119 -0
  352. package/dist/components/studio-canvas.cjs +1 -1
  353. package/dist/components/studio-canvas.js +1 -1
  354. package/dist/components/studio-export.cjs +1 -1
  355. package/dist/components/studio-export.js +1 -1
  356. package/dist/components/studio-native.cjs +1 -1
  357. package/dist/components/studio-native.js +1 -1
  358. package/dist/components/studio-plugins.cjs +271 -0
  359. package/dist/components/studio-plugins.d.cts +104 -0
  360. package/dist/components/studio-plugins.d.ts +104 -0
  361. package/dist/components/studio-plugins.js +262 -0
  362. package/dist/components/studio-provenance.cjs +1 -1
  363. package/dist/components/studio-provenance.js +1 -1
  364. package/dist/components/studio-store.cjs +1 -1
  365. package/dist/components/studio-store.js +1 -1
  366. package/dist/components/studio-templates.cjs +1 -1
  367. package/dist/components/studio-templates.js +1 -1
  368. package/dist/components/studio.cjs +1 -1
  369. package/dist/components/studio.js +1 -1
  370. package/dist/components/svelte.cjs +1 -1
  371. package/dist/components/svelte.js +1 -1
  372. package/dist/components/svg.cjs +1 -1
  373. package/dist/components/svg.js +1 -1
  374. package/dist/components/text.cjs +1 -1
  375. package/dist/components/text.js +1 -1
  376. package/dist/components/timeline-editor.cjs +1 -1
  377. package/dist/components/timeline-editor.js +1 -1
  378. package/dist/components/timeline.cjs +1 -1
  379. package/dist/components/timeline.js +1 -1
  380. package/dist/components/tokens.cjs +1 -1
  381. package/dist/components/tokens.js +1 -1
  382. package/dist/components/transitions.cjs +1 -1
  383. package/dist/components/transitions.js +1 -1
  384. package/dist/components/ui.cjs +1 -1
  385. package/dist/components/ui.js +1 -1
  386. package/dist/components/vue.cjs +1 -1
  387. package/dist/components/vue.js +1 -1
  388. package/dist/components/webgl.cjs +1 -1
  389. package/dist/components/webgl.js +1 -1
  390. package/dist/components/widgets.cjs +5 -5
  391. package/dist/components/widgets.js +7 -7
  392. package/dist/components.cjs +1 -1
  393. package/dist/components.js +1 -1
  394. package/dist/components.umd.js +1 -1
  395. package/dist/effects/achievement-unlock.cjs +1 -1
  396. package/dist/effects/achievement-unlock.js +1 -1
  397. package/dist/effects/aurora-veil.cjs +1 -1
  398. package/dist/effects/aurora-veil.js +1 -1
  399. package/dist/effects/badge-pop.cjs +1 -1
  400. package/dist/effects/badge-pop.js +1 -1
  401. package/dist/effects/bars-grow.cjs +1 -1
  402. package/dist/effects/bars-grow.js +1 -1
  403. package/dist/effects/beat-bounce.cjs +1 -1
  404. package/dist/effects/beat-bounce.js +1 -1
  405. package/dist/effects/blob-button.cjs +1 -1
  406. package/dist/effects/blob-button.js +1 -1
  407. package/dist/effects/bloom.cjs +1 -1
  408. package/dist/effects/bloom.js +1 -1
  409. package/dist/effects/breathe.cjs +1 -1
  410. package/dist/effects/breathe.js +1 -1
  411. package/dist/effects/brushed-metal.cjs +1 -1
  412. package/dist/effects/brushed-metal.js +1 -1
  413. package/dist/effects/camera-dolly.cjs +1 -1
  414. package/dist/effects/camera-dolly.js +1 -1
  415. package/dist/effects/card-flip-3d.cjs +1 -1
  416. package/dist/effects/card-flip-3d.js +1 -1
  417. package/dist/effects/chest-open.cjs +1 -1
  418. package/dist/effects/chest-open.js +1 -1
  419. package/dist/effects/cloth.cjs +1 -1
  420. package/dist/effects/cloth.js +1 -1
  421. package/dist/effects/coin-burst.cjs +1 -1
  422. package/dist/effects/coin-burst.js +1 -1
  423. package/dist/effects/color-pulse.cjs +1 -1
  424. package/dist/effects/color-pulse.js +1 -1
  425. package/dist/effects/crt-power.cjs +1 -1
  426. package/dist/effects/crt-power.js +1 -1
  427. package/dist/effects/crumple.cjs +1 -1
  428. package/dist/effects/crumple.js +1 -1
  429. package/dist/effects/data-decode.cjs +1 -1
  430. package/dist/effects/data-decode.js +1 -1
  431. package/dist/effects/day-cycle.cjs +1 -1
  432. package/dist/effects/day-cycle.js +1 -1
  433. package/dist/effects/depth-in.cjs +1 -1
  434. package/dist/effects/depth-in.js +1 -1
  435. package/dist/effects/depth-pop.cjs +1 -1
  436. package/dist/effects/depth-pop.js +1 -1
  437. package/dist/effects/depth-stack.cjs +1 -1
  438. package/dist/effects/depth-stack.js +1 -1
  439. package/dist/effects/dolly-in.cjs +1 -1
  440. package/dist/effects/dolly-in.js +1 -1
  441. package/dist/effects/dots-pop.cjs +1 -1
  442. package/dist/effects/dots-pop.js +1 -1
  443. package/dist/effects/field-shake.cjs +1 -1
  444. package/dist/effects/field-shake.js +1 -1
  445. package/dist/effects/field-success.cjs +1 -1
  446. package/dist/effects/field-success.js +1 -1
  447. package/dist/effects/film-burn.cjs +1 -1
  448. package/dist/effects/film-burn.js +1 -1
  449. package/dist/effects/fire.cjs +1 -1
  450. package/dist/effects/fire.js +1 -1
  451. package/dist/effects/fireflies.cjs +1 -1
  452. package/dist/effects/fireflies.js +1 -1
  453. package/dist/effects/firework-burst.cjs +1 -1
  454. package/dist/effects/firework-burst.js +1 -1
  455. package/dist/effects/flip-chars.cjs +1 -1
  456. package/dist/effects/flip-chars.js +1 -1
  457. package/dist/effects/fluid.cjs +1 -1
  458. package/dist/effects/fluid.js +1 -1
  459. package/dist/effects/fly-to-cart.cjs +1 -1
  460. package/dist/effects/fly-to-cart.js +1 -1
  461. package/dist/effects/focus-draw.cjs +1 -1
  462. package/dist/effects/focus-draw.js +1 -1
  463. package/dist/effects/focus-glow.cjs +1 -1
  464. package/dist/effects/focus-glow.js +1 -1
  465. package/dist/effects/fog.cjs +1 -1
  466. package/dist/effects/fog.js +1 -1
  467. package/dist/effects/font-breathe.cjs +1 -1
  468. package/dist/effects/font-breathe.js +1 -1
  469. package/dist/effects/form-cascade.cjs +1 -1
  470. package/dist/effects/form-cascade.js +1 -1
  471. package/dist/effects/gen-skeleton.cjs +1 -1
  472. package/dist/effects/gen-skeleton.js +1 -1
  473. package/dist/effects/glass-frost.cjs +1 -1
  474. package/dist/effects/glass-frost.js +1 -1
  475. package/dist/effects/glitch-text.cjs +1 -1
  476. package/dist/effects/glitch-text.js +1 -1
  477. package/dist/effects/globe-spin.cjs +1 -1
  478. package/dist/effects/globe-spin.js +1 -1
  479. package/dist/effects/god-rays.cjs +1 -1
  480. package/dist/effects/god-rays.js +1 -1
  481. package/dist/effects/gpu-lift.cjs +1 -1
  482. package/dist/effects/gpu-lift.js +1 -1
  483. package/dist/effects/grain-flicker.cjs +1 -1
  484. package/dist/effects/grain-flicker.js +1 -1
  485. package/dist/effects/halftone-in.cjs +1 -1
  486. package/dist/effects/halftone-in.js +1 -1
  487. package/dist/effects/highlight-sweep.cjs +1 -1
  488. package/dist/effects/highlight-sweep.js +1 -1
  489. package/dist/effects/hologram.cjs +1 -1
  490. package/dist/effects/hologram.js +1 -1
  491. package/dist/effects/hud-frame.cjs +1 -1
  492. package/dist/effects/hud-frame.js +1 -1
  493. package/dist/effects/icon-pop.cjs +1 -1
  494. package/dist/effects/icon-pop.js +1 -1
  495. package/dist/effects/icon-swap.cjs +1 -1
  496. package/dist/effects/icon-swap.js +1 -1
  497. package/dist/effects/idle-reveal.cjs +1 -1
  498. package/dist/effects/idle-reveal.js +1 -1
  499. package/dist/effects/ink.cjs +1 -1
  500. package/dist/effects/ink.js +1 -1
  501. package/dist/effects/jump-cut.cjs +1 -1
  502. package/dist/effects/jump-cut.js +1 -1
  503. package/dist/effects/kaleido.cjs +1 -1
  504. package/dist/effects/kaleido.js +1 -1
  505. package/dist/effects/label-float.cjs +1 -1
  506. package/dist/effects/label-float.js +1 -1
  507. package/dist/effects/lantern-rise.cjs +1 -1
  508. package/dist/effects/lantern-rise.js +1 -1
  509. package/dist/effects/leaves.cjs +1 -1
  510. package/dist/effects/leaves.js +1 -1
  511. package/dist/effects/letterbox.cjs +1 -1
  512. package/dist/effects/letterbox.js +1 -1
  513. package/dist/effects/level-up.cjs +1 -1
  514. package/dist/effects/level-up.js +1 -1
  515. package/dist/effects/light-follow.cjs +1 -1
  516. package/dist/effects/light-follow.js +1 -1
  517. package/dist/effects/lightning.cjs +1 -1
  518. package/dist/effects/lightning.js +1 -1
  519. package/dist/effects/line-draw.cjs +1 -1
  520. package/dist/effects/line-draw.js +1 -1
  521. package/dist/effects/liquid-text.cjs +1 -1
  522. package/dist/effects/liquid-text.js +1 -1
  523. package/dist/effects/liquid-wipe.cjs +1 -1
  524. package/dist/effects/liquid-wipe.js +1 -1
  525. package/dist/effects/lottie-play.cjs +1 -1
  526. package/dist/effects/lottie-play.js +1 -1
  527. package/dist/effects/magnet.cjs +1 -1
  528. package/dist/effects/magnet.js +1 -1
  529. package/dist/effects/marching-ants.cjs +1 -1
  530. package/dist/effects/marching-ants.js +1 -1
  531. package/dist/effects/marker-pulse.cjs +1 -1
  532. package/dist/effects/marker-pulse.js +1 -1
  533. package/dist/effects/mention-glow.cjs +1 -1
  534. package/dist/effects/mention-glow.js +1 -1
  535. package/dist/effects/mesh-drift.cjs +1 -1
  536. package/dist/effects/mesh-drift.js +1 -1
  537. package/dist/effects/message-in.cjs +1 -1
  538. package/dist/effects/message-in.js +1 -1
  539. package/dist/effects/mosaic-flip.cjs +1 -1
  540. package/dist/effects/mosaic-flip.js +1 -1
  541. package/dist/effects/neon-ignite.cjs +1 -1
  542. package/dist/effects/neon-ignite.js +1 -1
  543. package/dist/effects/neon-pulse.cjs +1 -1
  544. package/dist/effects/neon-pulse.js +1 -1
  545. package/dist/effects/neon-write.cjs +1 -1
  546. package/dist/effects/neon-write.js +1 -1
  547. package/dist/effects/neu-press.cjs +1 -1
  548. package/dist/effects/neu-press.js +1 -1
  549. package/dist/effects/noise-reveal.cjs +1 -1
  550. package/dist/effects/noise-reveal.js +1 -1
  551. package/dist/effects/number-roll.cjs +1 -1
  552. package/dist/effects/number-roll.js +1 -1
  553. package/dist/effects/orbit-camera.cjs +1 -1
  554. package/dist/effects/orbit-camera.js +1 -1
  555. package/dist/effects/orbit-in.cjs +1 -1
  556. package/dist/effects/orbit-in.js +1 -1
  557. package/dist/effects/origami.cjs +1 -1
  558. package/dist/effects/origami.js +1 -1
  559. package/dist/effects/page-curl.cjs +1 -1
  560. package/dist/effects/page-curl.js +1 -1
  561. package/dist/effects/pan-reveal.cjs +1 -1
  562. package/dist/effects/pan-reveal.js +1 -1
  563. package/dist/effects/paper-unfold.cjs +1 -1
  564. package/dist/effects/paper-unfold.js +1 -1
  565. package/dist/effects/particle-text.cjs +1 -1
  566. package/dist/effects/particle-text.js +1 -1
  567. package/dist/effects/path-morph.cjs +1 -1
  568. package/dist/effects/path-morph.js +1 -1
  569. package/dist/effects/pearlescent.cjs +1 -1
  570. package/dist/effects/pearlescent.js +1 -1
  571. package/dist/effects/pencil-sketch.cjs +1 -1
  572. package/dist/effects/pencil-sketch.js +1 -1
  573. package/dist/effects/pin-drop.cjs +1 -1
  574. package/dist/effects/pin-drop.js +1 -1
  575. package/dist/effects/pinball.cjs +1 -1
  576. package/dist/effects/pinball.js +1 -1
  577. package/dist/effects/pinch-hint.cjs +1 -1
  578. package/dist/effects/pinch-hint.js +1 -1
  579. package/dist/effects/pixelate-in.cjs +1 -1
  580. package/dist/effects/pixelate-in.js +1 -1
  581. package/dist/effects/pointer-shadow.cjs +1 -1
  582. package/dist/effects/pointer-shadow.js +1 -1
  583. package/dist/effects/portal-open.cjs +1 -1
  584. package/dist/effects/portal-open.js +1 -1
  585. package/dist/effects/price-flip.cjs +1 -1
  586. package/dist/effects/price-flip.js +1 -1
  587. package/dist/effects/product-spin.cjs +1 -1
  588. package/dist/effects/product-spin.js +1 -1
  589. package/dist/effects/rack-focus.cjs +1 -1
  590. package/dist/effects/rack-focus.js +1 -1
  591. package/dist/effects/radial-spectrum.cjs +1 -1
  592. package/dist/effects/radial-spectrum.js +1 -1
  593. package/dist/effects/rain-glass.cjs +1 -1
  594. package/dist/effects/rain-glass.js +1 -1
  595. package/dist/effects/reaction-burst.cjs +1 -1
  596. package/dist/effects/reaction-burst.js +1 -1
  597. package/dist/effects/read-receipt.cjs +1 -1
  598. package/dist/effects/read-receipt.js +1 -1
  599. package/dist/effects/refraction.cjs +1 -1
  600. package/dist/effects/refraction.js +1 -1
  601. package/dist/effects/ring-sweep.cjs +1 -1
  602. package/dist/effects/ring-sweep.js +1 -1
  603. package/dist/effects/ripple-dissolve.cjs +1 -1
  604. package/dist/effects/ripple-dissolve.js +1 -1
  605. package/dist/effects/rope.cjs +1 -1
  606. package/dist/effects/rope.js +1 -1
  607. package/dist/effects/route-draw.cjs +1 -1
  608. package/dist/effects/route-draw.js +1 -1
  609. package/dist/effects/safe-fade.cjs +1 -1
  610. package/dist/effects/safe-fade.js +1 -1
  611. package/dist/effects/sakura.cjs +1 -1
  612. package/dist/effects/sakura.js +1 -1
  613. package/dist/effects/sale-shine.cjs +1 -1
  614. package/dist/effects/sale-shine.js +1 -1
  615. package/dist/effects/sankey-flow.cjs +1 -1
  616. package/dist/effects/sankey-flow.js +1 -1
  617. package/dist/effects/scanline-sweep.cjs +1 -1
  618. package/dist/effects/scanline-sweep.js +1 -1
  619. package/dist/effects/shatter.cjs +1 -1
  620. package/dist/effects/shatter.js +1 -1
  621. package/dist/effects/smoke.cjs +1 -1
  622. package/dist/effects/smoke.js +1 -1
  623. package/dist/effects/snowfall.cjs +1 -1
  624. package/dist/effects/snowfall.js +1 -1
  625. package/dist/effects/soft-body.cjs +1 -1
  626. package/dist/effects/soft-body.js +1 -1
  627. package/dist/effects/sound-particles.cjs +1 -1
  628. package/dist/effects/sound-particles.js +1 -1
  629. package/dist/effects/spatial-float.cjs +1 -1
  630. package/dist/effects/spatial-float.js +1 -1
  631. package/dist/effects/spectrum-mirror.cjs +1 -1
  632. package/dist/effects/spectrum-mirror.js +1 -1
  633. package/dist/effects/splash.cjs +1 -1
  634. package/dist/effects/splash.js +1 -1
  635. package/dist/effects/spooky-float.cjs +1 -1
  636. package/dist/effects/spooky-float.js +1 -1
  637. package/dist/effects/stock-pulse.cjs +1 -1
  638. package/dist/effects/stock-pulse.js +1 -1
  639. package/dist/effects/stream-text.cjs +1 -1
  640. package/dist/effects/stream-text.js +1 -1
  641. package/dist/effects/stroke-draw.cjs +1 -1
  642. package/dist/effects/stroke-draw.js +1 -1
  643. package/dist/effects/success-check.cjs +1 -1
  644. package/dist/effects/success-check.js +1 -1
  645. package/dist/effects/swipe-hint.cjs +1 -1
  646. package/dist/effects/swipe-hint.js +1 -1
  647. package/dist/effects/text-trail.cjs +1 -1
  648. package/dist/effects/text-trail.js +1 -1
  649. package/dist/effects/thinking-glow.cjs +1 -1
  650. package/dist/effects/thinking-glow.js +1 -1
  651. package/dist/effects/tilt-wobble.cjs +1 -1
  652. package/dist/effects/tilt-wobble.js +1 -1
  653. package/dist/effects/typing-dots.cjs +1 -1
  654. package/dist/effects/typing-dots.js +1 -1
  655. package/dist/effects/underline-sweep.cjs +1 -1
  656. package/dist/effects/underline-sweep.js +1 -1
  657. package/dist/effects/vhs-glitch.cjs +1 -1
  658. package/dist/effects/vhs-glitch.js +1 -1
  659. package/dist/effects/vine-grow.cjs +1 -1
  660. package/dist/effects/vine-grow.js +1 -1
  661. package/dist/effects/vinyl-spin.cjs +1 -1
  662. package/dist/effects/vinyl-spin.js +1 -1
  663. package/dist/effects/voice-wave.cjs +1 -1
  664. package/dist/effects/voice-wave.js +1 -1
  665. package/dist/effects/water-drop.cjs +1 -1
  666. package/dist/effects/water-drop.js +1 -1
  667. package/dist/effects/watercolor.cjs +1 -1
  668. package/dist/effects/watercolor.js +1 -1
  669. package/dist/effects/waveform-scope.cjs +1 -1
  670. package/dist/effects/waveform-scope.js +1 -1
  671. package/dist/effects/xmas-snow.cjs +1 -1
  672. package/dist/effects/xmas-snow.js +1 -1
  673. package/dist/effects/xp-gain.cjs +1 -1
  674. package/dist/effects/xp-gain.js +1 -1
  675. package/dist/effects/y2k-shine.cjs +1 -1
  676. package/dist/effects/y2k-shine.js +1 -1
  677. package/dist/element.cjs +1 -1
  678. package/dist/element.js +1 -1
  679. package/dist/element.umd.js +1 -1
  680. package/dist/index.cjs +1 -1
  681. package/dist/index.js +1 -1
  682. package/dist/index.umd.js +1 -1
  683. package/dist/llms.txt +1 -1
  684. package/dist/manifest.json +1 -1
  685. package/dist/presets/extended.cjs +1 -1
  686. package/dist/presets/extended.js +1 -1
  687. package/dist/presets-extended.umd.js +1 -1
  688. package/dist/react.cjs +1 -1
  689. package/dist/react.js +1 -1
  690. package/dist/runtime/drag-snap.cjs +2 -2
  691. package/dist/runtime/drag-snap.iife.js +1 -1
  692. package/dist/runtime/drag-snap.js +2 -2
  693. package/dist/runtime/format-apng.cjs +3 -3
  694. package/dist/runtime/format-apng.iife.js +1 -1
  695. package/dist/runtime/format-apng.js +3 -3
  696. package/dist/runtime/format-css.cjs +3 -3
  697. package/dist/runtime/format-css.iife.js +1 -1
  698. package/dist/runtime/format-css.js +3 -3
  699. package/dist/runtime/format-gif.cjs +3 -3
  700. package/dist/runtime/format-gif.iife.js +1 -1
  701. package/dist/runtime/format-gif.js +3 -3
  702. package/dist/runtime/format-gltf.cjs +2 -2
  703. package/dist/runtime/format-gltf.iife.js +1 -1
  704. package/dist/runtime/format-gltf.js +2 -2
  705. package/dist/runtime/format-motion.cjs +4 -4
  706. package/dist/runtime/format-motion.iife.js +1 -1
  707. package/dist/runtime/format-motion.js +4 -4
  708. package/dist/runtime/format-obj.cjs +2 -2
  709. package/dist/runtime/format-obj.iife.js +1 -1
  710. package/dist/runtime/format-obj.js +2 -2
  711. package/dist/runtime/format-scene.cjs +2 -2
  712. package/dist/runtime/format-scene.iife.js +1 -1
  713. package/dist/runtime/format-scene.js +2 -2
  714. package/dist/runtime/format-sprite.cjs +3 -3
  715. package/dist/runtime/format-sprite.iife.js +1 -1
  716. package/dist/runtime/format-sprite.js +3 -3
  717. package/dist/runtime/format-svg.cjs +3 -3
  718. package/dist/runtime/format-svg.iife.js +1 -1
  719. package/dist/runtime/format-svg.js +3 -3
  720. package/dist/runtime/format-webp.cjs +3 -3
  721. package/dist/runtime/format-webp.iife.js +1 -1
  722. package/dist/runtime/format-webp.js +3 -3
  723. package/dist/runtime/gl.cjs +2 -2
  724. package/dist/runtime/gl.iife.js +1 -1
  725. package/dist/runtime/gl.js +2 -2
  726. package/dist/runtime/gltf-anim.cjs +2 -2
  727. package/dist/runtime/gltf-anim.iife.js +1 -1
  728. package/dist/runtime/gltf-anim.js +2 -2
  729. package/dist/runtime/gltf-decoders.cjs +2 -2
  730. package/dist/runtime/gltf-decoders.iife.js +1 -1
  731. package/dist/runtime/gltf-decoders.js +2 -2
  732. package/dist/runtime/lottie-state.cjs +2 -2
  733. package/dist/runtime/lottie-state.iife.js +1 -1
  734. package/dist/runtime/lottie-state.js +2 -2
  735. package/dist/runtime/physics.cjs +2 -2
  736. package/dist/runtime/physics.iife.js +1 -1
  737. package/dist/runtime/physics.js +2 -2
  738. package/dist/runtime/scroll.cjs +3 -3
  739. package/dist/runtime/scroll.iife.js +1 -1
  740. package/dist/runtime/scroll.js +3 -3
  741. package/dist/runtime/smooth.cjs +2 -2
  742. package/dist/runtime/smooth.iife.js +1 -1
  743. package/dist/runtime/smooth.js +2 -2
  744. package/dist/runtime/text.cjs +2 -2
  745. package/dist/runtime/text.iife.js +1 -1
  746. package/dist/runtime/text.js +2 -2
  747. package/dist/runtime/vector.cjs +3 -3
  748. package/dist/runtime/vector.iife.js +1 -1
  749. package/dist/runtime/vector.js +3 -3
  750. package/dist/runtime.cjs +4 -4
  751. package/dist/runtime.d.cts +1 -1
  752. package/dist/runtime.d.ts +1 -1
  753. package/dist/runtime.iife.js +2 -2
  754. package/dist/runtime.js +6 -6
  755. package/dist/solid.cjs +1 -1
  756. package/dist/solid.js +1 -1
  757. package/dist/svelte.cjs +1 -1
  758. package/dist/svelte.js +1 -1
  759. package/dist/vue.cjs +1 -1
  760. package/dist/vue.js +1 -1
  761. package/dist/widgets/add-to-cart.cjs +1 -1
  762. package/dist/widgets/add-to-cart.js +1 -1
  763. package/dist/widgets/badge-wall.cjs +1 -1
  764. package/dist/widgets/badge-wall.js +1 -1
  765. package/dist/widgets/bar-chart.cjs +1 -1
  766. package/dist/widgets/bar-chart.js +1 -1
  767. package/dist/widgets/bg-generator.cjs +1 -1
  768. package/dist/widgets/bg-generator.js +1 -1
  769. package/dist/widgets/carousel.cjs +1 -1
  770. package/dist/widgets/carousel.js +1 -1
  771. package/dist/widgets/cart-drawer.cjs +1 -1
  772. package/dist/widgets/cart-drawer.js +1 -1
  773. package/dist/widgets/chapter-nav.cjs +1 -1
  774. package/dist/widgets/chapter-nav.js +1 -1
  775. package/dist/widgets/chat-composer.cjs +1 -1
  776. package/dist/widgets/chat-composer.js +1 -1
  777. package/dist/widgets/clock-control.cjs +1 -1
  778. package/dist/widgets/clock-control.js +1 -1
  779. package/dist/widgets/code-export.cjs +1 -1
  780. package/dist/widgets/code-export.js +1 -1
  781. package/dist/widgets/color-picker.cjs +1 -1
  782. package/dist/widgets/color-picker.js +1 -1
  783. package/dist/widgets/command-palette.cjs +1 -1
  784. package/dist/widgets/command-palette.js +1 -1
  785. package/dist/widgets/compare.cjs +1 -1
  786. package/dist/widgets/compare.js +1 -1
  787. package/dist/widgets/countdown.cjs +1 -1
  788. package/dist/widgets/countdown.js +1 -1
  789. package/dist/widgets/cube-gallery.cjs +1 -1
  790. package/dist/widgets/cube-gallery.js +1 -1
  791. package/dist/widgets/date-picker.cjs +1 -1
  792. package/dist/widgets/date-picker.js +1 -1
  793. package/dist/widgets/disclosure.cjs +1 -1
  794. package/dist/widgets/disclosure.js +1 -1
  795. package/dist/widgets/dock.cjs +1 -1
  796. package/dist/widgets/dock.js +1 -1
  797. package/dist/widgets/dotlottie.cjs +1 -1
  798. package/dist/widgets/dotlottie.js +1 -1
  799. package/dist/widgets/equalizer.cjs +1 -1
  800. package/dist/widgets/equalizer.js +1 -1
  801. package/dist/widgets/festival-banner.cjs +1 -1
  802. package/dist/widgets/festival-banner.js +1 -1
  803. package/dist/widgets/field.cjs +1 -1
  804. package/dist/widgets/field.js +1 -1
  805. package/dist/widgets/file-drop.cjs +1 -1
  806. package/dist/widgets/file-drop.js +1 -1
  807. package/dist/widgets/gauge.cjs +1 -1
  808. package/dist/widgets/gauge.js +1 -1
  809. package/dist/widgets/gen-art.cjs +1 -1
  810. package/dist/widgets/gen-art.js +1 -1
  811. package/dist/widgets/gesture-sticker.cjs +1 -1
  812. package/dist/widgets/gesture-sticker.js +1 -1
  813. package/dist/widgets/gl-model.cjs +1 -1
  814. package/dist/widgets/gl-model.js +1 -1
  815. package/dist/widgets/gl-scene.cjs +2 -2
  816. package/dist/widgets/gl-scene.js +2 -2
  817. package/dist/widgets/globe.cjs +1 -1
  818. package/dist/widgets/globe.js +1 -1
  819. package/dist/widgets/gpu-particles.cjs +1 -1
  820. package/dist/widgets/gpu-particles.js +1 -1
  821. package/dist/widgets/gyro-card.cjs +1 -1
  822. package/dist/widgets/gyro-card.js +1 -1
  823. package/dist/widgets/hero-video.cjs +1 -1
  824. package/dist/widgets/hero-video.js +1 -1
  825. package/dist/widgets/hud-panel.cjs +1 -1
  826. package/dist/widgets/hud-panel.js +1 -1
  827. package/dist/widgets/hydrate.cjs +1 -1
  828. package/dist/widgets/hydrate.js +1 -1
  829. package/dist/widgets/install-button.cjs +1 -1
  830. package/dist/widgets/install-button.js +1 -1
  831. package/dist/widgets/kanban.cjs +1 -1
  832. package/dist/widgets/kanban.js +1 -1
  833. package/dist/widgets/keyframe-editor.cjs +1 -1
  834. package/dist/widgets/keyframe-editor.js +1 -1
  835. package/dist/widgets/kpi.cjs +1 -1
  836. package/dist/widgets/kpi.js +1 -1
  837. package/dist/widgets/leaderboard.cjs +1 -1
  838. package/dist/widgets/leaderboard.js +1 -1
  839. package/dist/widgets/liquid-nav.cjs +1 -1
  840. package/dist/widgets/liquid-nav.js +1 -1
  841. package/dist/widgets/location-card.cjs +1 -1
  842. package/dist/widgets/location-card.js +1 -1
  843. package/dist/widgets/lottie-icon.cjs +1 -1
  844. package/dist/widgets/lottie-icon.js +1 -1
  845. package/dist/widgets/lottie-player.cjs +2 -2
  846. package/dist/widgets/lottie-player.js +2 -2
  847. package/dist/widgets/lottie.cjs +1 -1
  848. package/dist/widgets/lottie.js +1 -1
  849. package/dist/widgets/lyrics.cjs +1 -1
  850. package/dist/widgets/lyrics.js +1 -1
  851. package/dist/widgets/masonry-flow.cjs +1 -1
  852. package/dist/widgets/masonry-flow.js +1 -1
  853. package/dist/widgets/menu-toggle.cjs +1 -1
  854. package/dist/widgets/menu-toggle.js +1 -1
  855. package/dist/widgets/menu.cjs +1 -1
  856. package/dist/widgets/menu.js +1 -1
  857. package/dist/widgets/message-list.cjs +1 -1
  858. package/dist/widgets/message-list.js +1 -1
  859. package/dist/widgets/milestones.cjs +1 -1
  860. package/dist/widgets/milestones.js +1 -1
  861. package/dist/widgets/modal.cjs +1 -1
  862. package/dist/widgets/modal.js +1 -1
  863. package/dist/widgets/motion-inspector.cjs +2 -2
  864. package/dist/widgets/motion-inspector.js +2 -2
  865. package/dist/widgets/motion-prefs.cjs +1 -1
  866. package/dist/widgets/motion-prefs.js +1 -1
  867. package/dist/widgets/motion-prompt.cjs +1 -1
  868. package/dist/widgets/motion-prompt.js +1 -1
  869. package/dist/widgets/motion-spec.cjs +1 -1
  870. package/dist/widgets/motion-spec.js +1 -1
  871. package/dist/widgets/motion.cjs +1 -1
  872. package/dist/widgets/motion.js +1 -1
  873. package/dist/widgets/music-player.cjs +1 -1
  874. package/dist/widgets/music-player.js +1 -1
  875. package/dist/widgets/native-preview.cjs +1 -1
  876. package/dist/widgets/native-preview.js +1 -1
  877. package/dist/widgets/nav-morph.cjs +1 -1
  878. package/dist/widgets/nav-morph.js +1 -1
  879. package/dist/widgets/notification-bell.cjs +1 -1
  880. package/dist/widgets/notification-bell.js +1 -1
  881. package/dist/widgets/odometer.cjs +1 -1
  882. package/dist/widgets/odometer.js +1 -1
  883. package/dist/widgets/organic-card.cjs +1 -1
  884. package/dist/widgets/organic-card.js +1 -1
  885. package/dist/widgets/otp.cjs +1 -1
  886. package/dist/widgets/otp.js +1 -1
  887. package/dist/widgets/pagination.cjs +1 -1
  888. package/dist/widgets/pagination.js +1 -1
  889. package/dist/widgets/panorama.cjs +1 -1
  890. package/dist/widgets/panorama.js +1 -1
  891. package/dist/widgets/parallax-layers.cjs +1 -1
  892. package/dist/widgets/parallax-layers.js +1 -1
  893. package/dist/widgets/pause-all.cjs +1 -1
  894. package/dist/widgets/pause-all.js +1 -1
  895. package/dist/widgets/perf-monitor.cjs +1 -1
  896. package/dist/widgets/perf-monitor.js +1 -1
  897. package/dist/widgets/physics-playground.cjs +2 -2
  898. package/dist/widgets/physics-playground.js +2 -2
  899. package/dist/widgets/plugin-card.cjs +3 -3
  900. package/dist/widgets/plugin-card.js +3 -3
  901. package/dist/widgets/plugin-store.cjs +1 -1
  902. package/dist/widgets/plugin-store.js +1 -1
  903. package/dist/widgets/presence.cjs +1 -1
  904. package/dist/widgets/presence.js +1 -1
  905. package/dist/widgets/prize-wheel.cjs +1 -1
  906. package/dist/widgets/prize-wheel.js +1 -1
  907. package/dist/widgets/product-gallery.cjs +1 -1
  908. package/dist/widgets/product-gallery.js +1 -1
  909. package/dist/widgets/progress-ring.cjs +1 -1
  910. package/dist/widgets/progress-ring.js +1 -1
  911. package/dist/widgets/prop-panel.cjs +1 -1
  912. package/dist/widgets/prop-panel.js +1 -1
  913. package/dist/widgets/pull-cord.cjs +1 -1
  914. package/dist/widgets/pull-cord.js +1 -1
  915. package/dist/widgets/radar.cjs +1 -1
  916. package/dist/widgets/radar.js +1 -1
  917. package/dist/widgets/reactions.cjs +1 -1
  918. package/dist/widgets/reactions.js +1 -1
  919. package/dist/widgets/red-envelope.cjs +1 -1
  920. package/dist/widgets/red-envelope.js +1 -1
  921. package/dist/widgets/retro-button.cjs +1 -1
  922. package/dist/widgets/retro-button.js +1 -1
  923. package/dist/widgets/rive.cjs +1 -1
  924. package/dist/widgets/rive.js +1 -1
  925. package/dist/widgets/route-transition.cjs +1 -1
  926. package/dist/widgets/route-transition.js +1 -1
  927. package/dist/widgets/scene.cjs +1 -1
  928. package/dist/widgets/scene.js +1 -1
  929. package/dist/widgets/scroll-ring.cjs +1 -1
  930. package/dist/widgets/scroll-ring.js +1 -1
  931. package/dist/widgets/scroll-scene.cjs +2 -2
  932. package/dist/widgets/scroll-scene.js +2 -2
  933. package/dist/widgets/segmented.cjs +1 -1
  934. package/dist/widgets/segmented.js +1 -1
  935. package/dist/widgets/shader-backdrop.cjs +1 -1
  936. package/dist/widgets/shader-backdrop.js +1 -1
  937. package/dist/widgets/sheet.cjs +1 -1
  938. package/dist/widgets/sheet.js +1 -1
  939. package/dist/widgets/shortcut.cjs +1 -1
  940. package/dist/widgets/shortcut.js +1 -1
  941. package/dist/widgets/skeleton-reveal.cjs +1 -1
  942. package/dist/widgets/skeleton-reveal.js +1 -1
  943. package/dist/widgets/sketch-chart.cjs +1 -1
  944. package/dist/widgets/sketch-chart.js +1 -1
  945. package/dist/widgets/smooth-scroll.cjs +2 -2
  946. package/dist/widgets/smooth-scroll.js +2 -2
  947. package/dist/widgets/snap-carousel.cjs +1 -1
  948. package/dist/widgets/snap-carousel.js +1 -1
  949. package/dist/widgets/sparkline.cjs +1 -1
  950. package/dist/widgets/sparkline.js +1 -1
  951. package/dist/widgets/spatial-card.cjs +1 -1
  952. package/dist/widgets/spatial-card.js +1 -1
  953. package/dist/widgets/star-rating.cjs +1 -1
  954. package/dist/widgets/star-rating.js +1 -1
  955. package/dist/widgets/stepper.cjs +1 -1
  956. package/dist/widgets/stepper.js +1 -1
  957. package/dist/widgets/sticky-wall.cjs +1 -1
  958. package/dist/widgets/sticky-wall.js +1 -1
  959. package/dist/widgets/stories.cjs +1 -1
  960. package/dist/widgets/stories.js +1 -1
  961. package/dist/widgets/suggestion-chips.cjs +1 -1
  962. package/dist/widgets/suggestion-chips.js +1 -1
  963. package/dist/widgets/swipe-deck.cjs +1 -1
  964. package/dist/widgets/swipe-deck.js +1 -1
  965. package/dist/widgets/switch.cjs +1 -1
  966. package/dist/widgets/switch.js +1 -1
  967. package/dist/widgets/tab-bar.cjs +1 -1
  968. package/dist/widgets/tab-bar.js +1 -1
  969. package/dist/widgets/terminal.cjs +1 -1
  970. package/dist/widgets/terminal.js +1 -1
  971. package/dist/widgets/text-splitter.cjs +3 -3
  972. package/dist/widgets/text-splitter.js +3 -3
  973. package/dist/widgets/theme-surface.cjs +1 -1
  974. package/dist/widgets/theme-surface.js +1 -1
  975. package/dist/widgets/theme-switcher.cjs +1 -1
  976. package/dist/widgets/theme-switcher.js +1 -1
  977. package/dist/widgets/tip.cjs +1 -1
  978. package/dist/widgets/tip.js +1 -1
  979. package/dist/widgets/toast-stack.cjs +1 -1
  980. package/dist/widgets/toast-stack.js +1 -1
  981. package/dist/widgets/token-editor.cjs +1 -1
  982. package/dist/widgets/token-editor.js +1 -1
  983. package/dist/widgets/upload-progress.cjs +1 -1
  984. package/dist/widgets/upload-progress.js +1 -1
  985. package/dist/widgets/video-card.cjs +1 -1
  986. package/dist/widgets/video-card.js +1 -1
  987. package/dist/widgets/voice-button.cjs +1 -1
  988. package/dist/widgets/voice-button.js +1 -1
  989. package/dist/widgets/volume-knob.cjs +1 -1
  990. package/dist/widgets/volume-knob.js +1 -1
  991. package/dist/widgets/weather-card.cjs +1 -1
  992. package/dist/widgets/weather-card.js +1 -1
  993. package/dist/widgets/worker-canvas.cjs +1 -1
  994. package/dist/widgets/worker-canvas.js +1 -1
  995. package/dist/widgets/xp-bar.cjs +1 -1
  996. package/dist/widgets/xp-bar.js +1 -1
  997. package/dist/widgets.umd.js +2 -2
  998. package/docs/ai-provider.md +2 -0
  999. package/docs/cdn-sri.md +43 -0
  1000. package/docs/component-contract.md +1 -1
  1001. package/docs/cross-platform.md +2 -0
  1002. package/docs/mcp-gateway-interop.md +1 -1
  1003. package/docs/mcp.md +2 -0
  1004. package/docs/source-maps.md +4 -2
  1005. package/docs/stability.md +41 -0
  1006. package/docs/studio-ai.md +2 -0
  1007. package/docs/studio-app.md +2 -0
  1008. package/docs/studio-assets.md +2 -0
  1009. package/docs/studio-budget.md +39 -0
  1010. package/docs/studio-canvas.md +2 -0
  1011. package/docs/studio-export.md +2 -0
  1012. package/docs/studio-native.md +2 -0
  1013. package/docs/studio-plugins.md +75 -0
  1014. package/docs/studio-provenance.md +2 -0
  1015. package/docs/studio-store.md +2 -0
  1016. package/docs/studio-templates.md +2 -0
  1017. package/docs/studio.md +2 -0
  1018. package/docs/timeline-editor.md +2 -0
  1019. package/docs/versions.md +1 -1
  1020. package/package.json +47 -3
  1021. package/docs/contract-report.json +0 -1
  1022. package/docs/contract-report.md +0 -60
@@ -0,0 +1,159 @@
1
+ declare const TIMELINE_DOC_FORMAT = "motionary-timeline";
2
+ type TimelineValue = number | string;
3
+ interface TimelineKeyframe {
4
+ /** Unique within the document. */
5
+ id: string;
6
+ /** ms from the start of the timeline. */
7
+ time: number;
8
+ /** CSS property → value (`opacity: 0`, `transform: 'translateX(20px)'`, `--x: 4`). */
9
+ props: Record<string, TimelineValue>;
10
+ /** Easing of the segment from this keyframe to the next (CSS easing / named ease). Default `linear`. */
11
+ easing?: string;
12
+ }
13
+ interface TimelineLayer {
14
+ id: string;
15
+ type: 'track' | 'group';
16
+ name?: string;
17
+ /** Id of the group this layer belongs to. */
18
+ parent?: string;
19
+ /** Locked layers (or layers in a locked group) are not changed by editing operations. */
20
+ locked?: boolean;
21
+ /** Muted layers (or layers in a muted group) are left out of the preview and exports. */
22
+ muted?: boolean;
23
+ /** When any layer is solo, only solo layers (and their children) play. */
24
+ solo?: boolean;
25
+ /** Tracks: selector inside the preview root (`:scope` = the root). */
26
+ target?: string;
27
+ /** Tracks: keyframes, kept sorted by time. */
28
+ keyframes?: TimelineKeyframe[];
29
+ }
30
+ interface TimelineDoc {
31
+ format: typeof TIMELINE_DOC_FORMAT;
32
+ version: 1;
33
+ name?: string;
34
+ /** Total length in ms (default: the last keyframe). */
35
+ duration?: number;
36
+ /** Seed for `random(a, b)` values (default 1). */
37
+ seed?: number;
38
+ /** Layers, top to bottom; a group's children follow it. */
39
+ layers: TimelineLayer[];
40
+ /** Anything JSON — kept verbatim through parse / serialize. */
41
+ meta?: unknown;
42
+ }
43
+
44
+ /**
45
+ * 14.5 project & asset workflow (`motionary/studio/assets`): image, SVG, font, video and audio references in a Studio
46
+ * project, relative path resolution confined to the project directory, an offline project pack (one JSON file holding
47
+ * the project and every referenced local asset) and missing-asset reports / relinking after a project moved to another
48
+ * device. Pure: no DOM, no network, no file system — callers pass bytes and file lists in and get bytes and reports out.
49
+ * Nothing is ever executed: script-like files (`.js`, `.html`, `.wasm`, …) are reported and never packed, unpacked
50
+ * or suggested.
51
+ */
52
+
53
+ type AssetFiles = Record<string, Uint8Array> | Map<string, Uint8Array>;
54
+
55
+ /**
56
+ * 14.7 output & preview reliability — `motionary/studio/export` (= `motionary/components/studio-export`).
57
+ *
58
+ * - `bakeScene` turns a Studio project / Scene v2 / timeline document into per-property points: linear segments the
59
+ * browser interpolates exactly like the preview keep only their end points, every other segment (eased, discrete,
60
+ * custom properties) is sampled at each frame with `sampleTimelineDoc`, so the value at every frame time is the
61
+ * reference value. `random()` is resolved by seed.
62
+ * - `exportStandalone` writes a work that plays without the editor and without a network: `index.html`, `scene.css`
63
+ * (CSS `@keyframes`, works with scripts off), `scene.js` (a small player, optional) and `assets/` (or one inline
64
+ * HTML file). Deterministic to the byte. Values, selectors, titles and stage markup are checked so nothing can
65
+ * leave its CSS declaration or HTML element; unsafe asset paths become `about:invalid`.
66
+ * - `frameDigest` fingerprints "the same animation" (every frame at a frame rate).
67
+ * - `createFrameExportJob` feeds frames to an adapter (the seam for GIF / video encoders) and can fail, keep a
68
+ * checkpoint and resume — fully independent of the basic export.
69
+ *
70
+ * Pure: the exporter reads no DOM, opens no network and evaluates nothing. The player is a string.
71
+ */
72
+
73
+ type ExportInput = string | TimelineDoc | Record<string, unknown> | {
74
+ pack: string;
75
+ };
76
+ interface ExportOptions {
77
+ fps?: number;
78
+ /** Project-relative path → bytes (the 14.5 asset files). A pack input brings its own. */
79
+ assets?: AssetFiles;
80
+ /** One HTML file: CSS, data and player inline, local assets as data: URIs. */
81
+ inline?: boolean;
82
+ /** Include the player (default true). `false` = CSS only, no script. */
83
+ js?: boolean;
84
+ title?: string;
85
+ lang?: string;
86
+ loop?: boolean;
87
+ /** Your stage markup (what the tracks target). Scripts, frames, inline handlers and javascript: URLs are removed. Default: one element per simple `#id` / `.class` / tag target. */
88
+ stage?: string;
89
+ }
90
+
91
+ /**
92
+ * 16.3: performance budget in Studio. While you edit, measure what the export will cost — the bytes of the 14.7
93
+ * standalone export (raw, and gzip where `CompressionStream` exists) and a frame cost from the baked tracks (each
94
+ * property changing in a frame adds its class cost: composite 1, paint 4, layout 10) — check it against your limits,
95
+ * block "publish export" when it is over budget (the publish callback is never called), and show a small live meter.
96
+ * Opt-in entry `motionary/studio/budget` (= `motionary/components/studio-budget`); not in lite or studio.
97
+ */
98
+
99
+ type PropClass = 'composite' | 'paint' | 'layout';
100
+ declare const PROP_COST: Record<PropClass, number>;
101
+ interface FrameCost {
102
+ /** Highest frame cost, the start time (ms) of its first frame, and how many frames were checked. */
103
+ peak: number;
104
+ peakAt: number;
105
+ frames: number;
106
+ /** `target property` pairs that animate layout / paint properties (in document order). */
107
+ layout: string[];
108
+ paint: string[];
109
+ }
110
+ interface BudgetMeasure {
111
+ bytes: number;
112
+ gzipBytes: number | null;
113
+ files: Record<string, number>;
114
+ cost: FrameCost;
115
+ }
116
+ interface BudgetLimits {
117
+ /** Raw export size limit in KB (1024 bytes). */
118
+ kb?: number;
119
+ /** Gzip size limit in KB, checked only where gzip could be measured. */
120
+ gzipKb?: number;
121
+ frameCost?: number;
122
+ /** `false` = no layout property may animate. */
123
+ layout?: boolean;
124
+ }
125
+ interface BudgetOver {
126
+ metric: 'kb' | 'gzipKb' | 'frameCost' | 'layout';
127
+ value: number;
128
+ limit: number;
129
+ }
130
+ interface BudgetCheck {
131
+ ok: boolean;
132
+ over: BudgetOver[];
133
+ }
134
+ interface GuardResult<R> {
135
+ ok: boolean;
136
+ value?: R;
137
+ over?: BudgetOver[];
138
+ measure: BudgetMeasure;
139
+ }
140
+ /** Rendering class of a CSS property (camelCase or kebab-case); unknown and custom properties count as paint. */
141
+ declare function propClass(prop: string): PropClass;
142
+ /** Cost of every frame at `fps` (default 60): the sum of the costs of the properties whose value changes in it. */
143
+ declare function frameCost(input: ExportInput, o?: {
144
+ fps?: number;
145
+ }): FrameCost;
146
+ /** Measure the standalone export of a project (same options as `exportStandalone`). Deterministic. */
147
+ declare function measureExport(input: ExportInput, o?: ExportOptions): Promise<BudgetMeasure>;
148
+ /** Every metric over its limit (order: kb, gzipKb, frameCost, layout). */
149
+ declare function checkBudget(m: BudgetMeasure, l: BudgetLimits): BudgetCheck;
150
+ /** "Publish export" with a budget: over budget → `{ ok: false, over }` and `publish` is not called. */
151
+ declare function guardPublish<R>(input: ExportInput, limits: BudgetLimits, publish: (files: Map<string, string | Uint8Array>, measure: BudgetMeasure) => R | Promise<R>, o?: ExportOptions): Promise<GuardResult<Awaited<R>>>;
152
+ /** A live meter (`role="status"`, polite): "12.3 KB / 20 KB · gzip 4.1 KB · cost 14 / 30"; `data-over` names the first metric over. */
153
+ declare function createBudgetMeter(el: HTMLElement, limits: BudgetLimits): {
154
+ update(m: BudgetMeasure): BudgetCheck;
155
+ destroy(): void;
156
+ };
157
+
158
+ export { PROP_COST, checkBudget, createBudgetMeter, frameCost, guardPublish, measureExport, propClass };
159
+ export type { BudgetCheck, BudgetLimits, BudgetMeasure, BudgetOver, FrameCost, GuardResult, PropClass };
@@ -0,0 +1,119 @@
1
+ import { bakeScene, exportStandalone } from './studio-export.js';
2
+
3
+ /**
4
+ * 16.3: performance budget in Studio. While you edit, measure what the export will cost — the bytes of the 14.7
5
+ * standalone export (raw, and gzip where `CompressionStream` exists) and a frame cost from the baked tracks (each
6
+ * property changing in a frame adds its class cost: composite 1, paint 4, layout 10) — check it against your limits,
7
+ * block "publish export" when it is over budget (the publish callback is never called), and show a small live meter.
8
+ * Opt-in entry `motionary/studio/budget` (= `motionary/components/studio-budget`); not in lite or studio.
9
+ */
10
+ const PROP_COST = { composite: 1, paint: 4, layout: 10 };
11
+ const COMPOSITE = /^(opacity|transform|translate|rotate|scale)$/;
12
+ const LAYOUT = /^((min-|max-)?(width|height)|top|left|right|bottom|inset(-.+)?|(margin|padding)(-.+)?|font-size|line-height|(letter|word)-spacing|border(-(top|right|bottom|left))?-width|flex(-basis|-grow|-shrink)?|(row-|column-)?gap|grid-template-(rows|columns))$/;
13
+ const kebab = (p) => (p.startsWith('--') ? p : p.replace(/[A-Z]/g, (c) => '-' + c.toLowerCase()));
14
+ const r2 = (n) => Math.round(n * 100) / 100;
15
+ const utf8 = (v) => (typeof v === 'string' ? new TextEncoder().encode(v) : v);
16
+ /** Rendering class of a CSS property (camelCase or kebab-case); unknown and custom properties count as paint. */
17
+ function propClass(prop) {
18
+ const p = kebab(prop);
19
+ return COMPOSITE.test(p) ? 'composite' : LAYOUT.test(p) ? 'layout' : 'paint';
20
+ }
21
+ /** Cost of every frame at `fps` (default 60): the sum of the costs of the properties whose value changes in it. */
22
+ function frameCost(input, o = {}) {
23
+ const b = bakeScene(input, o);
24
+ const dt = 1000 / b.fps, frames = Math.max(1, Math.ceil((b.duration * b.fps) / 1000 - 1e-9));
25
+ const layout = [], paint = [];
26
+ const segs = []; // [from, to, cost] of every changing segment
27
+ for (const t of b.tracks)
28
+ for (const p of Object.keys(t.props)) {
29
+ const pts = t.props[p], cls = propClass(p);
30
+ let moved = false;
31
+ for (let k = 0; k + 1 < pts.length; k++)
32
+ if (JSON.stringify(pts[k][1]) !== JSON.stringify(pts[k + 1][1])) {
33
+ segs.push([pts[k][0], pts[k + 1][0], PROP_COST[cls]]);
34
+ moved = true;
35
+ }
36
+ const name = `${t.target} ${p}`;
37
+ if (moved && cls !== 'composite')
38
+ (cls === 'layout' ? layout : paint).push(name);
39
+ }
40
+ let peak = 0, peakAt = 0;
41
+ for (let i = 0; i < frames; i++) {
42
+ const a = i * dt, z = a + dt;
43
+ let c = 0;
44
+ for (const s of segs)
45
+ if (s[0] < z && s[1] > a)
46
+ c += s[2];
47
+ if (c > peak) {
48
+ peak = c;
49
+ peakAt = r2(a);
50
+ }
51
+ }
52
+ return { peak, peakAt, frames, layout: [...new Set(layout)], paint: [...new Set(paint)] };
53
+ }
54
+ async function gzipSize(bytes) {
55
+ const r = new ReadableStream({ start(c) { c.enqueue(bytes); c.close(); } }).pipeThrough(new CompressionStream('gzip')).getReader();
56
+ let n = 0;
57
+ for (let x = await r.read(); !x.done; x = await r.read())
58
+ n += x.value.byteLength;
59
+ return n;
60
+ }
61
+ async function run(input, o) {
62
+ const { files } = exportStandalone(input, o);
63
+ const sizes = {};
64
+ let bytes = 0, gz = typeof CompressionStream === 'function' && typeof ReadableStream === 'function' ? 0 : null;
65
+ for (const k of [...files.keys()].sort()) {
66
+ const u = utf8(files.get(k));
67
+ sizes[k] = u.length;
68
+ bytes += u.length;
69
+ if (gz !== null)
70
+ gz += await gzipSize(u);
71
+ }
72
+ return { files, measure: { bytes, gzipBytes: gz, files: sizes, cost: frameCost(input, o) } };
73
+ }
74
+ /** Measure the standalone export of a project (same options as `exportStandalone`). Deterministic. */
75
+ async function measureExport(input, o = {}) {
76
+ return (await run(input, o)).measure;
77
+ }
78
+ /** Every metric over its limit (order: kb, gzipKb, frameCost, layout). */
79
+ function checkBudget(m, l) {
80
+ const over = [];
81
+ const kb = r2(m.bytes / 1024);
82
+ if (l.kb !== undefined && kb > l.kb)
83
+ over.push({ metric: 'kb', value: kb, limit: l.kb });
84
+ if (l.gzipKb !== undefined && m.gzipBytes !== null && r2(m.gzipBytes / 1024) > l.gzipKb)
85
+ over.push({ metric: 'gzipKb', value: r2(m.gzipBytes / 1024), limit: l.gzipKb });
86
+ if (l.frameCost !== undefined && m.cost.peak > l.frameCost)
87
+ over.push({ metric: 'frameCost', value: m.cost.peak, limit: l.frameCost });
88
+ if (l.layout === false && m.cost.layout.length)
89
+ over.push({ metric: 'layout', value: m.cost.layout.length, limit: 0 });
90
+ return { ok: !over.length, over };
91
+ }
92
+ /** "Publish export" with a budget: over budget → `{ ok: false, over }` and `publish` is not called. */
93
+ async function guardPublish(input, limits, publish, o = {}) {
94
+ const { files, measure } = await run(input, o);
95
+ const c = checkBudget(measure, limits);
96
+ return c.ok ? { ok: true, value: await publish(files, measure), measure } : { ok: false, over: c.over, measure };
97
+ }
98
+ /** A live meter (`role="status"`, polite): "12.3 KB / 20 KB · gzip 4.1 KB · cost 14 / 30"; `data-over` names the first metric over. */
99
+ function createBudgetMeter(el, limits) {
100
+ el.setAttribute('role', 'status');
101
+ el.setAttribute('aria-live', 'polite');
102
+ return {
103
+ update(m) {
104
+ const c = checkBudget(m, limits);
105
+ const lim = (v, u = '') => (v !== undefined ? ` / ${v}${u}` : '');
106
+ el.textContent = `${r2(m.bytes / 1024)} KB${lim(limits.kb, ' KB')}${m.gzipBytes !== null ? ` · gzip ${r2(m.gzipBytes / 1024)} KB` : ''} · cost ${m.cost.peak}${lim(limits.frameCost)}`;
107
+ c.ok ? el.removeAttribute('data-over') : el.setAttribute('data-over', c.over[0].metric);
108
+ return c;
109
+ },
110
+ destroy() {
111
+ el.textContent = '';
112
+ for (const a of ['role', 'aria-live', 'data-over'])
113
+ el.removeAttribute(a);
114
+ },
115
+ };
116
+ }
117
+
118
+ export { PROP_COST, checkBudget, createBudgetMeter, frameCost, guardPublish, measureExport, propClass };
119
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.3.0/dist/components/studio-budget.js.map
@@ -995,4 +995,4 @@ exports.snapLines = snapLines;
995
995
  exports.snapRect = snapRect;
996
996
  exports.snapToGrid = snapToGrid;
997
997
  exports.snapValue = snapValue;
998
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.1.0/dist/components/studio-canvas.cjs.map
998
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.3.0/dist/components/studio-canvas.cjs.map
@@ -975,4 +975,4 @@ function createStudioCanvas(root, o) {
975
975
  }
976
976
 
977
977
  export { STUDIO_CANVAS_VERSION, applyCanvasOps, canvasBounds, canvasBox, canvasMove, canvasReorder, canvasSetBox, canvasSetHidden, canvasSetLocked, createStudioCanvas, marqueeHits, readCanvasGeometry, rectsIntersect, resizeBox, rotationFromPointer, snapLines, snapRect, snapToGrid, snapValue };
978
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.1.0/dist/components/studio-canvas.js.map
978
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.3.0/dist/components/studio-canvas.js.map
@@ -476,4 +476,4 @@ exports.createJsonFramesAdapter = createJsonFramesAdapter;
476
476
  exports.exportStandalone = exportStandalone;
477
477
  exports.frameDigest = frameDigest;
478
478
  exports.sampleBaked = sampleBaked;
479
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.1.0/dist/components/studio-export.cjs.map
479
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.3.0/dist/components/studio-export.cjs.map
@@ -463,4 +463,4 @@ const PLAYER_JS = ('(function(){var W=window,D=document,E=D.getElementById("mot
463
463
  'if(q)seek(+q[1]);else if(rm)seek(S.d);else{seek(0);play()}})();');
464
464
 
465
465
  export { BAKED_FORMAT, EXPORT_LIMITS, FRAME_JOB_FORMAT, PLAYER_JS, STUDIO_EXPORT_VERSION, bakeScene, cleanStage, createFrameExportJob, createJsonFramesAdapter, exportStandalone, frameDigest, sampleBaked };
466
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.1.0/dist/components/studio-export.js.map
466
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.3.0/dist/components/studio-export.js.map
@@ -341,4 +341,4 @@ exports.NATIVE_TARGETS = NATIVE_TARGETS;
341
341
  exports.STUDIO_NATIVE_VERSION = STUDIO_NATIVE_VERSION;
342
342
  exports.exportNative = exportNative;
343
343
  exports.nativeSupport = nativeSupport;
344
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.1.0/dist/components/studio-native.cjs.map
344
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.3.0/dist/components/studio-native.cjs.map
@@ -336,4 +336,4 @@ function exportNative(input, opts) {
336
336
  }
337
337
 
338
338
  export { NATIVE_TARGETS, STUDIO_NATIVE_VERSION, exportNative, nativeSupport };
339
- //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.1.0/dist/components/studio-native.js.map
339
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.3.0/dist/components/studio-native.js.map
@@ -0,0 +1,271 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * 16.2: Studio plugin API (preview, `@experimental` until it is frozen as v1 in 17.0). Third-party panels and
5
+ * exporters run in a sandbox (a Worker, or an iframe with `sandbox="allow-scripts"` and a `default-src 'none'` CSP)
6
+ * and talk to the Studio only through messages. A manifest declares the permissions; the host answers a call only
7
+ * when its permission was granted and audits every call. Proposals never write the project: the host hands a copy
8
+ * to the Studio's `propose` callback, which decides (one undo step). A plugin that throws, times out or floods the
9
+ * host is marked `crashed` and terminated; the host and every other plugin keep working, and no host method throws.
10
+ * Opt-in entry `motionary/studio/plugins` (= `motionary/components/studio-plugins`); not in lite or studio.
11
+ */
12
+ const PLUGIN_PERMISSIONS = ['project:read', 'project:propose', 'panel', 'exporter'];
13
+ const isObj = (v) => !!v && typeof v === 'object' && !Array.isArray(v);
14
+ const bad = (m) => new Error(`[motionary] plugins: ${m}`);
15
+ const msg = (x) => String((x && x.message) || x);
16
+ const fail = (error) => ({ ok: false, error });
17
+ const clone = (v) => (v === undefined ? v : JSON.parse(JSON.stringify(v)));
18
+ const NEEDS = { 'project.get': 'project:read', 'project.propose': 'project:propose', 'panel.set': 'panel', 'exporter.register': 'exporter' };
19
+ /** Validate a manifest (object or JSON text); unknown fields are dropped, anything unclear is refused. */
20
+ function parsePluginManifest(input) {
21
+ const text = typeof input === 'string' ? input : JSON.stringify(input);
22
+ if (!text || text.length > 16384)
23
+ throw bad('manifest too large');
24
+ const m = JSON.parse(text);
25
+ if (!isObj(m))
26
+ throw bad('manifest must be an object');
27
+ if (typeof m.id !== 'string' || !/^[a-z0-9][a-z0-9.-]{1,63}$/.test(m.id))
28
+ throw bad(`bad id "${m.id}"`);
29
+ if (typeof m.name !== 'string' || !m.name)
30
+ throw bad('name required');
31
+ if (typeof m.version !== 'string' || !/^\d+\.\d+\.\d+(-[\w.-]+)?$/.test(m.version))
32
+ throw bad(`bad version "${m.version}"`);
33
+ if (m.api !== 1)
34
+ throw bad('api must be 1');
35
+ const ps = Array.isArray(m.permissions) ? m.permissions : [];
36
+ for (const p of ps)
37
+ if (!PLUGIN_PERMISSIONS.includes(p))
38
+ throw bad(`permission "${p}" unknown`);
39
+ return { id: m.id, name: m.name, version: m.version, api: 1, permissions: [...new Set(ps)] };
40
+ }
41
+ /** Plugin side of the protocol. Self-contained: it is also serialized into the Worker / iframe source. */
42
+ function pluginRuntime(post, listen) {
43
+ let n = 0, exp;
44
+ const wait = new Map();
45
+ listen((m) => {
46
+ if (m && m.t === 'res') {
47
+ const w = wait.get(m.id);
48
+ if (w) {
49
+ wait.delete(m.id);
50
+ m.ok ? w[0](m.value) : w[1](new Error(m.error));
51
+ }
52
+ }
53
+ else if (m && m.t === 'export')
54
+ new Promise((r) => r(exp(m.project))).then((files) => post({ t: 'exported', id: m.id, files }), (e) => post({ t: 'exported', id: m.id, error: String((e && e.message) || e) }));
55
+ });
56
+ const call = (method, ...args) => new Promise((res, rej) => { wait.set(++n, [res, rej]); post({ t: 'call', id: n, method, args }); });
57
+ return { getProject: () => call('project.get'), propose: (p, note) => call('project.propose', p, note), setPanel: (p) => call('panel.set', p), onExport: (fn) => { exp = fn; return call('exporter.register'); } };
58
+ }
59
+ const report = (post) => `addEventListener('error',e=>${post}({t:'error',message:String(e.message)}));addEventListener('unhandledrejection',e=>${post}({t:'error',message:String(e.reason&&e.reason.message||e.reason)}));`;
60
+ /** Worker source: the runtime as a `motionary` global, error reporting, then the plugin code. */
61
+ function pluginWorkerSource(code) {
62
+ return `const motionary=(${pluginRuntime})(m=>postMessage(m),f=>addEventListener('message',e=>f(e.data)));${report('postMessage')}\n${code}`;
63
+ }
64
+ /** iframe `srcdoc`: scripts only (CSP `default-src 'none'`), messages only to and from the parent. */
65
+ function pluginFrameSource(code) {
66
+ return `<!doctype html><meta id="sandbox-csp" http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline'"><script>const P=m=>parent.postMessage(m,'*');const motionary=(${pluginRuntime})(P,f=>addEventListener('message',e=>{if(e.source===parent)f(e.data)}));${report('P')}\n${code.replace(/<\/(script)/gi, '<\\/$1')}\n</script>`;
67
+ }
68
+ /** Run plugin code in a dedicated Worker (no DOM, own thread: an endless loop cannot block the Studio). */
69
+ function createWorkerTransport(code) {
70
+ if (typeof Worker !== 'function')
71
+ throw bad('Worker is not available here');
72
+ const url = URL.createObjectURL(new Blob([pluginWorkerSource(code)], { type: 'text/javascript' }));
73
+ const w = new Worker(url);
74
+ return {
75
+ send: (m) => w.postMessage(m),
76
+ onMessage: (f) => { w.onmessage = (e) => f(e.data); },
77
+ onError: (f) => { w.onerror = (e) => { e.preventDefault(); f(e.message); }; },
78
+ terminate: () => { w.terminate(); URL.revokeObjectURL(url); },
79
+ };
80
+ }
81
+ /** Run plugin code in a hidden `sandbox="allow-scripts"` iframe (opaque origin: no cookies, storage or parent DOM). */
82
+ function createIframeTransport(code, parent = document.body) {
83
+ const f = document.createElement('iframe');
84
+ f.setAttribute('sandbox', 'allow-scripts');
85
+ f.style.display = 'none';
86
+ f.srcdoc = pluginFrameSource(code);
87
+ let q = [], on = () => { }, err = () => { };
88
+ const listen = (e) => { if (e.source && e.source === f.contentWindow) {
89
+ const m = e.data;
90
+ isObj(m) && m.t === 'error' ? err(m.message) : on(m);
91
+ } };
92
+ addEventListener('message', listen);
93
+ f.onload = () => { for (const m of q || [])
94
+ f.contentWindow?.postMessage(m, '*'); q = null; };
95
+ parent.appendChild(f);
96
+ return {
97
+ send: (m) => (q ? q.push(m) : f.contentWindow?.postMessage(m, '*')),
98
+ onMessage: (fn) => { on = fn; },
99
+ onError: (fn) => { err = fn; },
100
+ terminate: () => { removeEventListener('message', listen); f.remove(); },
101
+ };
102
+ }
103
+ /** In-process transport for tests and trusted code (NO sandbox). Messages are copied and delivered asynchronously. */
104
+ function createLocalTransport(plugin) {
105
+ let host, err, inbox, dead = false;
106
+ const later = (f) => queueMicrotask(() => { if (!dead)
107
+ f(); });
108
+ later(() => {
109
+ const mo = pluginRuntime((m) => later(() => host?.(clone(m))), (f) => { inbox = f; });
110
+ new Promise((r) => r(plugin(mo))).catch((e) => later(() => err?.(e)));
111
+ });
112
+ return { send: (m) => later(() => inbox?.(clone(m))), onMessage: (f) => { host = f; }, onError: (f) => { err = f; }, terminate: () => { dead = true; } };
113
+ }
114
+ function files(f) {
115
+ if (!isObj(f))
116
+ return fail('exporter must return { path: text }');
117
+ let size = 0;
118
+ const keys = Object.keys(f);
119
+ if (keys.length > 500)
120
+ return fail('too many files');
121
+ for (const k of keys) {
122
+ if (!/^[\w-][\w.-]*(\/[\w-][\w.-]*)*$/.test(k) || k.includes('..'))
123
+ return fail(`bad path "${k}"`);
124
+ if (typeof f[k] !== 'string')
125
+ return fail(`file "${k}" is not text`);
126
+ if ((size += f[k].length) > 1e7)
127
+ return fail('export too large');
128
+ }
129
+ return { ok: true, value: { files: f } };
130
+ }
131
+ /** The Studio side: loads plugins, answers their calls by permission, runs exporters, isolates crashes. */
132
+ function createPluginHost(o) {
133
+ const all = new Map();
134
+ const audit = [];
135
+ const timeout = o.timeoutMs ?? 2000, max = o.maxMessages ?? 200;
136
+ let seq = 0;
137
+ const end = (e) => {
138
+ try {
139
+ e.t.terminate();
140
+ }
141
+ catch { /* already gone */ }
142
+ for (const w of e.wait.values())
143
+ w(fail(e.error || 'stopped'));
144
+ e.wait.clear();
145
+ };
146
+ const crash = (e, why) => {
147
+ if (e.status !== 'running')
148
+ return;
149
+ e.status = 'crashed';
150
+ e.error = why;
151
+ end(e);
152
+ try {
153
+ o.onCrash?.(e.m.id, why);
154
+ }
155
+ catch { /* the host never throws */ }
156
+ };
157
+ const info = (e) => ({ id: e.m.id, name: e.m.name, version: e.m.version, permissions: e.m.permissions, status: e.status, exporter: e.exporter, ...(e.error ? { error: e.error } : {}) });
158
+ const onMsg = (e, m) => {
159
+ if (e.status !== 'running' || !isObj(m))
160
+ return;
161
+ const now = Date.now();
162
+ if (now - e.win >= 1000) {
163
+ e.win = now;
164
+ e.n = 0;
165
+ }
166
+ if (++e.n > max)
167
+ return crash(e, 'message flood');
168
+ if (m.t === 'error')
169
+ return crash(e, String(m.message));
170
+ if (m.t === 'exported') {
171
+ const w = e.wait.get(m.id);
172
+ if (w) {
173
+ e.wait.delete(m.id);
174
+ w(m.error !== undefined ? fail(String(m.error)) : files(m.files));
175
+ }
176
+ return;
177
+ }
178
+ if (m.t !== 'call')
179
+ return;
180
+ const need = NEEDS[m.method], a = Array.isArray(m.args) ? m.args : [];
181
+ const allowed = !!need && e.m.permissions.includes(need);
182
+ audit.push({ plugin: e.m.id, method: String(m.method), allowed, at: now });
183
+ new Promise((res) => {
184
+ if (!need)
185
+ throw bad(`unknown method "${m.method}"`);
186
+ if (!allowed)
187
+ throw bad(`permission "${need}" not granted`);
188
+ if (need === 'project:read')
189
+ return res(clone(o.getProject()));
190
+ if (need === 'project:propose') {
191
+ if (!o.propose)
192
+ throw bad('proposals are not accepted here');
193
+ return res(Promise.resolve(o.propose(clone(a[0]), { plugin: e.m.id, note: String(a[1] ?? '') })).then(Boolean));
194
+ }
195
+ if (need === 'panel') {
196
+ const p = a[0];
197
+ if (!isObj(p) || typeof p.text !== 'string' || (p.title !== undefined && typeof p.title !== 'string'))
198
+ throw bad('panel needs { title?, text }');
199
+ if (p.text.length + (p.title || '').length > 8192)
200
+ throw bad('panel text too large');
201
+ e.panel = p.title !== undefined ? { title: p.title, text: p.text } : { text: p.text };
202
+ }
203
+ else
204
+ e.exporter = true;
205
+ res(true);
206
+ }).then((value) => ({ t: 'res', id: m.id, ok: true, value }), (x) => ({ t: 'res', id: m.id, ok: false, error: msg(x) }))
207
+ .then((r) => { if (e.status === 'running')
208
+ try {
209
+ e.t.send(r);
210
+ }
211
+ catch (x) {
212
+ crash(e, msg(x));
213
+ } });
214
+ };
215
+ return {
216
+ audit,
217
+ load(manifest, t) {
218
+ try {
219
+ const m = parsePluginManifest(manifest);
220
+ if (all.has(m.id))
221
+ return fail(`plugin "${m.id}" is already loaded`);
222
+ const tr = typeof t === 'string' ? createWorkerTransport(t) : t;
223
+ const e = { m, t: tr, status: 'running', wait: new Map(), n: 0, win: 0, exporter: false };
224
+ all.set(m.id, e);
225
+ tr.onMessage((x) => onMsg(e, x));
226
+ tr.onError((x) => crash(e, msg(x)));
227
+ return { ok: true, value: info(e) };
228
+ }
229
+ catch (x) {
230
+ return fail(msg(x));
231
+ }
232
+ },
233
+ plugins: () => [...all.values()].map(info),
234
+ panels: () => [...all.values()].filter((e) => e.panel && e.status === 'running').map((e) => ({ plugin: e.m.id, ...e.panel })),
235
+ runExporter(id) {
236
+ const e = all.get(id);
237
+ if (!e || e.status !== 'running')
238
+ return Promise.resolve(fail(`plugin "${id}" is not running`));
239
+ if (!e.exporter)
240
+ return Promise.resolve(fail(`plugin "${id}" has no exporter`));
241
+ const n = ++seq;
242
+ return new Promise((res) => {
243
+ const timer = setTimeout(() => { e.wait.delete(n); res(fail(`timeout after ${timeout} ms`)); crash(e, `exporter timeout after ${timeout} ms`); }, timeout);
244
+ e.wait.set(n, (r) => { clearTimeout(timer); res(r); });
245
+ try {
246
+ e.t.send({ t: 'export', id: n, project: clone(o.getProject()) });
247
+ }
248
+ catch (x) {
249
+ crash(e, msg(x));
250
+ }
251
+ });
252
+ },
253
+ stop(id) {
254
+ const e = all.get(id);
255
+ if (e && e.status === 'running') {
256
+ e.status = 'stopped';
257
+ end(e);
258
+ }
259
+ },
260
+ };
261
+ }
262
+
263
+ exports.PLUGIN_PERMISSIONS = PLUGIN_PERMISSIONS;
264
+ exports.createIframeTransport = createIframeTransport;
265
+ exports.createLocalTransport = createLocalTransport;
266
+ exports.createPluginHost = createPluginHost;
267
+ exports.createWorkerTransport = createWorkerTransport;
268
+ exports.parsePluginManifest = parsePluginManifest;
269
+ exports.pluginFrameSource = pluginFrameSource;
270
+ exports.pluginWorkerSource = pluginWorkerSource;
271
+ //# sourceMappingURL=https://raw.githubusercontent.com/HarrisonCN/Motionary/v16.3.0/dist/components/studio-plugins.cjs.map