@motionscript/core 0.1.0-alpha.7 → 0.1.0-alpha.8

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 (498) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/NOTICE +15 -14
  3. package/README.md +4 -4
  4. package/dist/assets/manager.d.ts.map +1 -1
  5. package/dist/assets/manager.js +7 -5
  6. package/dist/assets/manager.js.map +1 -1
  7. package/dist/attributes/audio/effects/chain.d.ts +73 -0
  8. package/dist/attributes/audio/effects/chain.d.ts.map +1 -0
  9. package/dist/attributes/audio/effects/chain.js +67 -0
  10. package/dist/attributes/audio/effects/chain.js.map +1 -0
  11. package/dist/attributes/audio/effects/implementations/echo.d.ts +14 -0
  12. package/dist/attributes/audio/effects/implementations/echo.d.ts.map +1 -0
  13. package/dist/attributes/audio/effects/implementations/echo.js +11 -0
  14. package/dist/attributes/audio/effects/implementations/echo.js.map +1 -0
  15. package/dist/attributes/audio/effects/implementations/gain.d.ts +10 -0
  16. package/dist/attributes/audio/effects/implementations/gain.d.ts.map +1 -0
  17. package/dist/attributes/audio/effects/implementations/gain.js +6 -0
  18. package/dist/attributes/audio/effects/implementations/gain.js.map +1 -0
  19. package/dist/attributes/audio/effects/implementations/highpass.d.ts +12 -0
  20. package/dist/attributes/audio/effects/implementations/highpass.d.ts.map +1 -0
  21. package/dist/attributes/audio/effects/implementations/highpass.js +10 -0
  22. package/dist/attributes/audio/effects/implementations/highpass.js.map +1 -0
  23. package/dist/attributes/audio/effects/implementations/lowpass.d.ts +12 -0
  24. package/dist/attributes/audio/effects/implementations/lowpass.d.ts.map +1 -0
  25. package/dist/attributes/audio/effects/implementations/lowpass.js +10 -0
  26. package/dist/attributes/audio/effects/implementations/lowpass.js.map +1 -0
  27. package/dist/attributes/audio/effects/implementations/tremolo.d.ts +12 -0
  28. package/dist/attributes/audio/effects/implementations/tremolo.d.ts.map +1 -0
  29. package/dist/attributes/audio/effects/implementations/tremolo.js +10 -0
  30. package/dist/attributes/audio/effects/implementations/tremolo.js.map +1 -0
  31. package/dist/attributes/audio/effects/index.d.ts +12 -0
  32. package/dist/attributes/audio/effects/index.d.ts.map +1 -0
  33. package/dist/attributes/audio/effects/index.js +4 -0
  34. package/dist/attributes/audio/effects/index.js.map +1 -0
  35. package/dist/attributes/audio/effects/registry.d.ts +36 -0
  36. package/dist/attributes/audio/effects/registry.d.ts.map +1 -0
  37. package/dist/attributes/audio/effects/registry.js +80 -0
  38. package/dist/attributes/audio/effects/registry.js.map +1 -0
  39. package/dist/attributes/audio/effects/union.d.ts +14 -0
  40. package/dist/attributes/audio/effects/union.d.ts.map +1 -0
  41. package/dist/attributes/audio/effects/union.js +24 -0
  42. package/dist/attributes/audio/effects/union.js.map +1 -0
  43. package/dist/attributes/audio/ramp.d.ts +103 -0
  44. package/dist/attributes/audio/ramp.d.ts.map +1 -0
  45. package/dist/attributes/audio/ramp.js +246 -0
  46. package/dist/attributes/audio/ramp.js.map +1 -0
  47. package/dist/attributes/audio/request.d.ts +24 -13
  48. package/dist/attributes/audio/request.d.ts.map +1 -1
  49. package/dist/attributes/audio/request.js +4 -3
  50. package/dist/attributes/audio/request.js.map +1 -1
  51. package/dist/attributes/audio/schedule.d.ts +21 -13
  52. package/dist/attributes/audio/schedule.d.ts.map +1 -1
  53. package/dist/attributes/audio/schedule.js +42 -28
  54. package/dist/attributes/audio/schedule.js.map +1 -1
  55. package/dist/attributes/audio/sound.d.ts +15 -12
  56. package/dist/attributes/audio/sound.d.ts.map +1 -1
  57. package/dist/attributes/audio/sound.js +8 -10
  58. package/dist/attributes/audio/sound.js.map +1 -1
  59. package/dist/attributes/audio/transition.d.ts +33 -0
  60. package/dist/attributes/audio/transition.d.ts.map +1 -0
  61. package/dist/attributes/audio/transition.js +48 -0
  62. package/dist/attributes/audio/transition.js.map +1 -0
  63. package/dist/attributes/index.d.ts +4 -3
  64. package/dist/attributes/index.d.ts.map +1 -1
  65. package/dist/attributes/index.js +4 -7
  66. package/dist/attributes/index.js.map +1 -1
  67. package/dist/attributes/layout/matrix2d.d.ts +2 -2
  68. package/dist/attributes/layout/matrix2d.js.map +1 -1
  69. package/dist/attributes/layout/space3d.js +1 -1
  70. package/dist/attributes/layout/space3d.js.map +1 -1
  71. package/dist/attributes/properties/typed.d.ts +7 -7
  72. package/dist/attributes/properties/typed.d.ts.map +1 -1
  73. package/dist/attributes/properties/typed.js +6 -6
  74. package/dist/attributes/properties/typed.js.map +1 -1
  75. package/dist/attributes/shape/corners/corner-radius.d.ts +1 -2
  76. package/dist/attributes/shape/corners/corner-radius.d.ts.map +1 -1
  77. package/dist/attributes/shape/corners/corner-radius.js +1 -2
  78. package/dist/attributes/shape/corners/corner-radius.js.map +1 -1
  79. package/dist/attributes/shape/effects/chain.d.ts +96 -409
  80. package/dist/attributes/shape/effects/chain.d.ts.map +1 -1
  81. package/dist/attributes/shape/effects/chain.js +93 -283
  82. package/dist/attributes/shape/effects/chain.js.map +1 -1
  83. package/dist/attributes/shape/effects/effect-data.d.ts +1 -1
  84. package/dist/attributes/shape/effects/effect-data.js.map +1 -1
  85. package/dist/attributes/shape/effects/implementations/ascii.d.ts +45 -13
  86. package/dist/attributes/shape/effects/implementations/ascii.d.ts.map +1 -1
  87. package/dist/attributes/shape/effects/implementations/ascii.js +29 -23
  88. package/dist/attributes/shape/effects/implementations/ascii.js.map +1 -1
  89. package/dist/attributes/shape/effects/implementations/bit-crush.d.ts +32 -7
  90. package/dist/attributes/shape/effects/implementations/bit-crush.d.ts.map +1 -1
  91. package/dist/attributes/shape/effects/implementations/bit-crush.js +17 -15
  92. package/dist/attributes/shape/effects/implementations/bit-crush.js.map +1 -1
  93. package/dist/attributes/shape/effects/implementations/block-displace.d.ts +46 -10
  94. package/dist/attributes/shape/effects/implementations/block-displace.d.ts.map +1 -1
  95. package/dist/attributes/shape/effects/implementations/block-displace.js +21 -19
  96. package/dist/attributes/shape/effects/implementations/block-displace.js.map +1 -1
  97. package/dist/attributes/shape/effects/implementations/bloom.d.ts +32 -7
  98. package/dist/attributes/shape/effects/implementations/bloom.d.ts.map +1 -1
  99. package/dist/attributes/shape/effects/implementations/bloom.js +17 -11
  100. package/dist/attributes/shape/effects/implementations/bloom.js.map +1 -1
  101. package/dist/attributes/shape/effects/implementations/blur.d.ts +16 -3
  102. package/dist/attributes/shape/effects/implementations/blur.d.ts.map +1 -1
  103. package/dist/attributes/shape/effects/implementations/blur.js +13 -5
  104. package/dist/attributes/shape/effects/implementations/blur.js.map +1 -1
  105. package/dist/attributes/shape/effects/implementations/bulge.d.ts +28 -9
  106. package/dist/attributes/shape/effects/implementations/bulge.d.ts.map +1 -1
  107. package/dist/attributes/shape/effects/implementations/bulge.js +15 -14
  108. package/dist/attributes/shape/effects/implementations/bulge.js.map +1 -1
  109. package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts +21 -5
  110. package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts.map +1 -1
  111. package/dist/attributes/shape/effects/implementations/chromatic-aberration.js +15 -10
  112. package/dist/attributes/shape/effects/implementations/chromatic-aberration.js.map +1 -1
  113. package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts +96 -26
  114. package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts.map +1 -1
  115. package/dist/attributes/shape/effects/implementations/color-adjustment.js +29 -26
  116. package/dist/attributes/shape/effects/implementations/color-adjustment.js.map +1 -1
  117. package/dist/attributes/shape/effects/implementations/curves.d.ts +20 -6
  118. package/dist/attributes/shape/effects/implementations/curves.d.ts.map +1 -1
  119. package/dist/attributes/shape/effects/implementations/curves.js +26 -23
  120. package/dist/attributes/shape/effects/implementations/curves.js.map +1 -1
  121. package/dist/attributes/shape/effects/implementations/directional-blur.d.ts +26 -5
  122. package/dist/attributes/shape/effects/implementations/directional-blur.d.ts.map +1 -1
  123. package/dist/attributes/shape/effects/implementations/directional-blur.js +15 -10
  124. package/dist/attributes/shape/effects/implementations/directional-blur.js.map +1 -1
  125. package/dist/attributes/shape/effects/implementations/dither.d.ts +58 -11
  126. package/dist/attributes/shape/effects/implementations/dither.d.ts.map +1 -1
  127. package/dist/attributes/shape/effects/implementations/dither.js +26 -20
  128. package/dist/attributes/shape/effects/implementations/dither.js.map +1 -1
  129. package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts +46 -14
  130. package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts.map +1 -1
  131. package/dist/attributes/shape/effects/implementations/drop-shadow.js +24 -29
  132. package/dist/attributes/shape/effects/implementations/drop-shadow.js.map +1 -1
  133. package/dist/attributes/shape/effects/implementations/duotone.d.ts +26 -7
  134. package/dist/attributes/shape/effects/implementations/duotone.d.ts.map +1 -1
  135. package/dist/attributes/shape/effects/implementations/duotone.js +17 -16
  136. package/dist/attributes/shape/effects/implementations/duotone.js.map +1 -1
  137. package/dist/attributes/shape/effects/implementations/edges.d.ts +29 -7
  138. package/dist/attributes/shape/effects/implementations/edges.d.ts.map +1 -1
  139. package/dist/attributes/shape/effects/implementations/edges.js +17 -14
  140. package/dist/attributes/shape/effects/implementations/edges.js.map +1 -1
  141. package/dist/attributes/shape/effects/implementations/glass.d.ts +76 -19
  142. package/dist/attributes/shape/effects/implementations/glass.d.ts.map +1 -1
  143. package/dist/attributes/shape/effects/implementations/glass.js +28 -22
  144. package/dist/attributes/shape/effects/implementations/glass.js.map +1 -1
  145. package/dist/attributes/shape/effects/implementations/glow.d.ts +149 -42
  146. package/dist/attributes/shape/effects/implementations/glow.d.ts.map +1 -1
  147. package/dist/attributes/shape/effects/implementations/glow.js +74 -72
  148. package/dist/attributes/shape/effects/implementations/glow.js.map +1 -1
  149. package/dist/attributes/shape/effects/implementations/grain.d.ts +43 -11
  150. package/dist/attributes/shape/effects/implementations/grain.d.ts.map +1 -1
  151. package/dist/attributes/shape/effects/implementations/grain.js +21 -18
  152. package/dist/attributes/shape/effects/implementations/grain.js.map +1 -1
  153. package/dist/attributes/shape/effects/implementations/grayscale.d.ts +17 -3
  154. package/dist/attributes/shape/effects/implementations/grayscale.d.ts.map +1 -1
  155. package/dist/attributes/shape/effects/implementations/grayscale.js +13 -5
  156. package/dist/attributes/shape/effects/implementations/grayscale.js.map +1 -1
  157. package/dist/attributes/shape/effects/implementations/halftone.d.ts +40 -9
  158. package/dist/attributes/shape/effects/implementations/halftone.d.ts.map +1 -1
  159. package/dist/attributes/shape/effects/implementations/halftone.js +20 -16
  160. package/dist/attributes/shape/effects/implementations/halftone.js.map +1 -1
  161. package/dist/attributes/shape/effects/implementations/invert.d.ts +23 -5
  162. package/dist/attributes/shape/effects/implementations/invert.d.ts.map +1 -1
  163. package/dist/attributes/shape/effects/implementations/invert.js +15 -10
  164. package/dist/attributes/shape/effects/implementations/invert.js.map +1 -1
  165. package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts +57 -18
  166. package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts.map +1 -1
  167. package/dist/attributes/shape/effects/implementations/kaleidoscope.js +25 -22
  168. package/dist/attributes/shape/effects/implementations/kaleidoscope.js.map +1 -1
  169. package/dist/attributes/shape/effects/implementations/lut.d.ts +34 -7
  170. package/dist/attributes/shape/effects/implementations/lut.d.ts.map +1 -1
  171. package/dist/attributes/shape/effects/implementations/lut.js +20 -16
  172. package/dist/attributes/shape/effects/implementations/lut.js.map +1 -1
  173. package/dist/attributes/shape/effects/implementations/magnify.d.ts +27 -9
  174. package/dist/attributes/shape/effects/implementations/magnify.d.ts.map +1 -1
  175. package/dist/attributes/shape/effects/implementations/magnify.js +17 -14
  176. package/dist/attributes/shape/effects/implementations/magnify.js.map +1 -1
  177. package/dist/attributes/shape/effects/implementations/motion-blur.d.ts +54 -19
  178. package/dist/attributes/shape/effects/implementations/motion-blur.d.ts.map +1 -1
  179. package/dist/attributes/shape/effects/implementations/motion-blur.js +42 -20
  180. package/dist/attributes/shape/effects/implementations/motion-blur.js.map +1 -1
  181. package/dist/attributes/shape/effects/implementations/oil-paint.d.ts +17 -3
  182. package/dist/attributes/shape/effects/implementations/oil-paint.d.ts.map +1 -1
  183. package/dist/attributes/shape/effects/implementations/oil-paint.js +13 -9
  184. package/dist/attributes/shape/effects/implementations/oil-paint.js.map +1 -1
  185. package/dist/attributes/shape/effects/implementations/outline.d.ts +28 -8
  186. package/dist/attributes/shape/effects/implementations/outline.d.ts.map +1 -1
  187. package/dist/attributes/shape/effects/implementations/outline.js +18 -17
  188. package/dist/attributes/shape/effects/implementations/outline.js.map +1 -1
  189. package/dist/attributes/shape/effects/implementations/pixelate.d.ts +25 -6
  190. package/dist/attributes/shape/effects/implementations/pixelate.d.ts.map +1 -1
  191. package/dist/attributes/shape/effects/implementations/pixelate.js +16 -14
  192. package/dist/attributes/shape/effects/implementations/pixelate.js.map +1 -1
  193. package/dist/attributes/shape/effects/implementations/posterize.d.ts +14 -3
  194. package/dist/attributes/shape/effects/implementations/posterize.d.ts.map +1 -1
  195. package/dist/attributes/shape/effects/implementations/posterize.js +13 -9
  196. package/dist/attributes/shape/effects/implementations/posterize.js.map +1 -1
  197. package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts +91 -26
  198. package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts.map +1 -1
  199. package/dist/attributes/shape/effects/implementations/progressive-blur.js +27 -28
  200. package/dist/attributes/shape/effects/implementations/progressive-blur.js.map +1 -1
  201. package/dist/attributes/shape/effects/implementations/radial-blur.d.ts +49 -10
  202. package/dist/attributes/shape/effects/implementations/radial-blur.d.ts.map +1 -1
  203. package/dist/attributes/shape/effects/implementations/radial-blur.js +19 -20
  204. package/dist/attributes/shape/effects/implementations/radial-blur.js.map +1 -1
  205. package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts +36 -6
  206. package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts.map +1 -1
  207. package/dist/attributes/shape/effects/implementations/rgb-shift.js +16 -15
  208. package/dist/attributes/shape/effects/implementations/rgb-shift.js.map +1 -1
  209. package/dist/attributes/shape/effects/implementations/scanlines.d.ts +52 -11
  210. package/dist/attributes/shape/effects/implementations/scanlines.d.ts.map +1 -1
  211. package/dist/attributes/shape/effects/implementations/scanlines.js +21 -18
  212. package/dist/attributes/shape/effects/implementations/scanlines.js.map +1 -1
  213. package/dist/attributes/shape/effects/implementations/scatter.d.ts +23 -9
  214. package/dist/attributes/shape/effects/implementations/scatter.d.ts.map +1 -1
  215. package/dist/attributes/shape/effects/implementations/scatter.js +15 -12
  216. package/dist/attributes/shape/effects/implementations/scatter.js.map +1 -1
  217. package/dist/attributes/shape/effects/implementations/shader.d.ts +90 -34
  218. package/dist/attributes/shape/effects/implementations/shader.d.ts.map +1 -1
  219. package/dist/attributes/shape/effects/implementations/shader.js +42 -26
  220. package/dist/attributes/shape/effects/implementations/shader.js.map +1 -1
  221. package/dist/attributes/shape/effects/implementations/sharpen.d.ts +23 -5
  222. package/dist/attributes/shape/effects/implementations/sharpen.d.ts.map +1 -1
  223. package/dist/attributes/shape/effects/implementations/sharpen.js +16 -11
  224. package/dist/attributes/shape/effects/implementations/sharpen.js.map +1 -1
  225. package/dist/attributes/shape/effects/implementations/streak.d.ts +40 -9
  226. package/dist/attributes/shape/effects/implementations/streak.d.ts.map +1 -1
  227. package/dist/attributes/shape/effects/implementations/streak.js +19 -16
  228. package/dist/attributes/shape/effects/implementations/streak.js.map +1 -1
  229. package/dist/attributes/shape/effects/implementations/threshold.d.ts +24 -5
  230. package/dist/attributes/shape/effects/implementations/threshold.d.ts.map +1 -1
  231. package/dist/attributes/shape/effects/implementations/threshold.js +17 -11
  232. package/dist/attributes/shape/effects/implementations/threshold.js.map +1 -1
  233. package/dist/attributes/shape/effects/implementations/twirl.d.ts +35 -8
  234. package/dist/attributes/shape/effects/implementations/twirl.d.ts.map +1 -1
  235. package/dist/attributes/shape/effects/implementations/twirl.js +17 -16
  236. package/dist/attributes/shape/effects/implementations/twirl.js.map +1 -1
  237. package/dist/attributes/shape/effects/implementations/vignette.d.ts +37 -7
  238. package/dist/attributes/shape/effects/implementations/vignette.d.ts.map +1 -1
  239. package/dist/attributes/shape/effects/implementations/vignette.js +19 -18
  240. package/dist/attributes/shape/effects/implementations/vignette.js.map +1 -1
  241. package/dist/attributes/shape/effects/implementations/vintage.d.ts +24 -5
  242. package/dist/attributes/shape/effects/implementations/vintage.d.ts.map +1 -1
  243. package/dist/attributes/shape/effects/implementations/vintage.js +15 -10
  244. package/dist/attributes/shape/effects/implementations/vintage.js.map +1 -1
  245. package/dist/attributes/shape/effects/implementations/wave.d.ts +61 -14
  246. package/dist/attributes/shape/effects/implementations/wave.d.ts.map +1 -1
  247. package/dist/attributes/shape/effects/implementations/wave.js +26 -23
  248. package/dist/attributes/shape/effects/implementations/wave.js.map +1 -1
  249. package/dist/attributes/shape/effects/index.d.ts +4 -2
  250. package/dist/attributes/shape/effects/index.d.ts.map +1 -1
  251. package/dist/attributes/shape/effects/index.js +1 -1
  252. package/dist/attributes/shape/effects/index.js.map +1 -1
  253. package/dist/attributes/shape/effects/registry.d.ts +11 -0
  254. package/dist/attributes/shape/effects/registry.d.ts.map +1 -1
  255. package/dist/attributes/shape/effects/registry.js +113 -102
  256. package/dist/attributes/shape/effects/registry.js.map +1 -1
  257. package/dist/attributes/shape/effects/spec.d.ts +229 -0
  258. package/dist/attributes/shape/effects/spec.d.ts.map +1 -0
  259. package/dist/attributes/shape/effects/spec.js +178 -0
  260. package/dist/attributes/shape/effects/spec.js.map +1 -0
  261. package/dist/attributes/shape/fill/chain.d.ts +7 -9
  262. package/dist/attributes/shape/fill/chain.d.ts.map +1 -1
  263. package/dist/attributes/shape/fill/chain.js +9 -11
  264. package/dist/attributes/shape/fill/chain.js.map +1 -1
  265. package/dist/attributes/shape/fill/implementations/shader.d.ts +27 -26
  266. package/dist/attributes/shape/fill/implementations/shader.d.ts.map +1 -1
  267. package/dist/attributes/shape/fill/implementations/shader.js +20 -14
  268. package/dist/attributes/shape/fill/implementations/shader.js.map +1 -1
  269. package/dist/attributes/shape/fill/index.d.ts +1 -1
  270. package/dist/attributes/shape/fill/index.d.ts.map +1 -1
  271. package/dist/attributes/shape/fill/index.js.map +1 -1
  272. package/dist/attributes/shape/fill/registry.d.ts +1 -2
  273. package/dist/attributes/shape/fill/registry.d.ts.map +1 -1
  274. package/dist/attributes/shape/fill/registry.js +1 -2
  275. package/dist/attributes/shape/fill/registry.js.map +1 -1
  276. package/dist/attributes/shape/filters/chain.d.ts +2 -6
  277. package/dist/attributes/shape/filters/chain.d.ts.map +1 -1
  278. package/dist/attributes/shape/filters/chain.js +1 -5
  279. package/dist/attributes/shape/filters/chain.js.map +1 -1
  280. package/dist/attributes/shape/filters/implementations/color-matrix.d.ts +2 -2
  281. package/dist/attributes/shape/filters/implementations/color-matrix.d.ts.map +1 -1
  282. package/dist/attributes/shape/filters/implementations/color-matrix.js.map +1 -1
  283. package/dist/attributes/shape/filters/registry.d.ts +1 -1
  284. package/dist/attributes/shape/filters/registry.d.ts.map +1 -1
  285. package/dist/attributes/shape/filters/registry.js +3 -3
  286. package/dist/attributes/shape/filters/registry.js.map +1 -1
  287. package/dist/attributes/shape/filters/union.d.ts +2 -3
  288. package/dist/attributes/shape/filters/union.d.ts.map +1 -1
  289. package/dist/attributes/shape/filters/union.js.map +1 -1
  290. package/dist/attributes/shape/shaders/index.d.ts +2 -0
  291. package/dist/attributes/shape/shaders/index.d.ts.map +1 -1
  292. package/dist/attributes/shape/shaders/index.js +2 -0
  293. package/dist/attributes/shape/shaders/index.js.map +1 -1
  294. package/dist/attributes/shape/shaders/language.d.ts +26 -0
  295. package/dist/attributes/shape/shaders/language.d.ts.map +1 -0
  296. package/dist/attributes/shape/shaders/language.js +20 -0
  297. package/dist/attributes/shape/shaders/language.js.map +1 -0
  298. package/dist/attributes/shape/shaders/pack.d.ts +25 -11
  299. package/dist/attributes/shape/shaders/pack.d.ts.map +1 -1
  300. package/dist/attributes/shape/shaders/pack.js +9 -4
  301. package/dist/attributes/shape/shaders/pack.js.map +1 -1
  302. package/dist/attributes/shape/shaders/resolve.d.ts +4 -5
  303. package/dist/attributes/shape/shaders/resolve.d.ts.map +1 -1
  304. package/dist/attributes/shape/shaders/resolve.js +3 -6
  305. package/dist/attributes/shape/shaders/resolve.js.map +1 -1
  306. package/dist/attributes/shape/shaders/uniforms.d.ts +41 -0
  307. package/dist/attributes/shape/shaders/uniforms.d.ts.map +1 -0
  308. package/dist/attributes/shape/shaders/uniforms.js +0 -0
  309. package/dist/attributes/shape/shaders/uniforms.js.map +1 -0
  310. package/dist/browser/chunks/chunk-AOT33LMS.js +13 -0
  311. package/dist/browser/chunks/chunk-AOT33LMS.js.map +7 -0
  312. package/dist/browser/chunks/chunk-GKM6UZJR.js +6 -0
  313. package/dist/browser/chunks/chunk-GKM6UZJR.js.map +7 -0
  314. package/dist/browser/experimental.js +1 -1
  315. package/dist/browser/experimental.js.map +4 -4
  316. package/dist/browser/index.js +1 -1
  317. package/dist/browser/index.js.map +2 -2
  318. package/dist/browser/manifest.json +1 -1
  319. package/dist/browser/sdk.js +1 -1
  320. package/dist/components/builtins/audio/audio.d.ts +14 -5
  321. package/dist/components/builtins/audio/audio.d.ts.map +1 -1
  322. package/dist/components/builtins/audio/audio.js +10 -13
  323. package/dist/components/builtins/audio/audio.js.map +1 -1
  324. package/dist/components/builtins/geometry/composite.d.ts +3 -3
  325. package/dist/components/builtins/media/media.d.ts +7 -7
  326. package/dist/components/builtins/media/media.d.ts.map +1 -1
  327. package/dist/components/builtins/media/media.js +4 -10
  328. package/dist/components/builtins/media/media.js.map +1 -1
  329. package/dist/components/builtins/text/text.d.ts +12 -12
  330. package/dist/components/builtins/text/text.d.ts.map +1 -1
  331. package/dist/components/builtins/text/text.js +3 -0
  332. package/dist/components/builtins/text/text.js.map +1 -1
  333. package/dist/components/factory/api.d.ts +38 -11
  334. package/dist/components/factory/api.d.ts.map +1 -1
  335. package/dist/components/factory/api.js.map +1 -1
  336. package/dist/components/factory/component3d.d.ts.map +1 -1
  337. package/dist/components/factory/component3d.js +11 -3
  338. package/dist/components/factory/component3d.js.map +1 -1
  339. package/dist/components/factory/factory.d.ts +3 -0
  340. package/dist/components/factory/factory.d.ts.map +1 -1
  341. package/dist/components/factory/factory.js +39 -5
  342. package/dist/components/factory/factory.js.map +1 -1
  343. package/dist/components/modules/text-style.d.ts +1 -1
  344. package/dist/components/trees/2d/node-render.d.ts +1 -1
  345. package/dist/components/trees/2d/node-render.js +1 -1
  346. package/dist/components/trees/2d/node-render.js.map +1 -1
  347. package/dist/components/trees/2d/node2d.d.ts +1 -1
  348. package/dist/components/trees/2d/node2d.js +1 -1
  349. package/dist/components/trees/2d/node2d.js.map +1 -1
  350. package/dist/components/trees/audio/node-audio.d.ts +16 -9
  351. package/dist/components/trees/audio/node-audio.d.ts.map +1 -1
  352. package/dist/components/trees/audio/node-audio.js +15 -11
  353. package/dist/components/trees/audio/node-audio.js.map +1 -1
  354. package/dist/document/command-traits.d.ts +12 -2
  355. package/dist/document/command-traits.d.ts.map +1 -1
  356. package/dist/document/command-traits.js +34 -6
  357. package/dist/document/command-traits.js.map +1 -1
  358. package/dist/document/index.d.ts +8 -0
  359. package/dist/document/index.d.ts.map +1 -1
  360. package/dist/document/index.js +4 -0
  361. package/dist/document/index.js.map +1 -1
  362. package/dist/document/migrate.d.ts +70 -0
  363. package/dist/document/migrate.d.ts.map +1 -0
  364. package/dist/document/migrate.js +202 -0
  365. package/dist/document/migrate.js.map +1 -0
  366. package/dist/document/missing-node.d.ts +27 -0
  367. package/dist/document/missing-node.d.ts.map +1 -0
  368. package/dist/document/missing-node.js +48 -0
  369. package/dist/document/missing-node.js.map +1 -0
  370. package/dist/document/node-descriptor.d.ts +4 -0
  371. package/dist/document/node-descriptor.d.ts.map +1 -1
  372. package/dist/document/node-descriptor.js.map +1 -1
  373. package/dist/document/placement.d.ts +2 -1
  374. package/dist/document/placement.d.ts.map +1 -1
  375. package/dist/document/placement.js.map +1 -1
  376. package/dist/document/project.d.ts +2 -0
  377. package/dist/document/project.d.ts.map +1 -1
  378. package/dist/document/project.js +1 -0
  379. package/dist/document/project.js.map +1 -1
  380. package/dist/document/prop-evolution.d.ts +51 -0
  381. package/dist/document/prop-evolution.d.ts.map +1 -0
  382. package/dist/document/prop-evolution.js +83 -0
  383. package/dist/document/prop-evolution.js.map +1 -0
  384. package/dist/document/registry.d.ts +16 -0
  385. package/dist/document/registry.d.ts.map +1 -1
  386. package/dist/document/registry.js +30 -4
  387. package/dist/document/registry.js.map +1 -1
  388. package/dist/document/settled-index.d.ts +2 -0
  389. package/dist/document/settled-index.d.ts.map +1 -1
  390. package/dist/document/settled-index.js +5 -5
  391. package/dist/document/settled-index.js.map +1 -1
  392. package/dist/document/timeline-patch.d.ts +4 -0
  393. package/dist/document/timeline-patch.d.ts.map +1 -1
  394. package/dist/document/timeline-patch.js +28 -3
  395. package/dist/document/timeline-patch.js.map +1 -1
  396. package/dist/document/timeline.d.ts +45 -1
  397. package/dist/document/timeline.d.ts.map +1 -1
  398. package/dist/document/timeline.js +172 -42
  399. package/dist/document/timeline.js.map +1 -1
  400. package/dist/document/types.d.ts +14 -28
  401. package/dist/document/types.d.ts.map +1 -1
  402. package/dist/document/types.js.map +1 -1
  403. package/dist/document/validate.d.ts +17 -5
  404. package/dist/document/validate.d.ts.map +1 -1
  405. package/dist/document/validate.js +158 -21
  406. package/dist/document/validate.js.map +1 -1
  407. package/dist/document/vocabulary.d.ts +28 -0
  408. package/dist/document/vocabulary.d.ts.map +1 -0
  409. package/dist/document/vocabulary.js +42 -0
  410. package/dist/document/vocabulary.js.map +1 -0
  411. package/dist/experimental.d.ts +68 -8
  412. package/dist/experimental.d.ts.map +1 -1
  413. package/dist/experimental.js +22 -8
  414. package/dist/experimental.js.map +1 -1
  415. package/dist/platform/exporter.d.ts +13 -0
  416. package/dist/platform/exporter.d.ts.map +1 -1
  417. package/dist/platform/exporter.js.map +1 -1
  418. package/dist/renamed-scene-names.d.ts +1 -1
  419. package/dist/renamed-scene-names.d.ts.map +1 -1
  420. package/dist/renamed-scene-names.js +1 -1
  421. package/dist/renamed-scene-names.js.map +1 -1
  422. package/dist/render/canvas-render-context2d.d.ts +9 -0
  423. package/dist/render/canvas-render-context2d.d.ts.map +1 -1
  424. package/dist/render/canvas-render-context2d.js +10 -0
  425. package/dist/render/canvas-render-context2d.js.map +1 -1
  426. package/dist/render/clip-contains.js +1 -1
  427. package/dist/render/clip-contains.js.map +1 -1
  428. package/dist/render/descriptors/text.d.ts +2 -2
  429. package/dist/render/descriptors/text.js +2 -2
  430. package/dist/render/descriptors/text.js.map +1 -1
  431. package/dist/render/index.d.ts +2 -0
  432. package/dist/render/index.d.ts.map +1 -1
  433. package/dist/render/index.js +1 -0
  434. package/dist/render/index.js.map +1 -1
  435. package/dist/render/render-context2d.d.ts +1 -1
  436. package/dist/render/render-context2d.js.map +1 -1
  437. package/dist/render/render-issue.d.ts +39 -0
  438. package/dist/render/render-issue.d.ts.map +1 -0
  439. package/dist/render/render-issue.js +29 -0
  440. package/dist/render/render-issue.js.map +1 -0
  441. package/dist/render/surface.d.ts +2 -2
  442. package/dist/render/surface.js.map +1 -1
  443. package/dist/render3d/graphics3d.d.ts.map +1 -1
  444. package/dist/render3d/graphics3d.js +54 -5
  445. package/dist/render3d/graphics3d.js.map +1 -1
  446. package/dist/runtime/asset-refine.js +2 -1
  447. package/dist/runtime/asset-refine.js.map +1 -1
  448. package/dist/runtime/asset-timeline.d.ts +10 -0
  449. package/dist/runtime/asset-timeline.d.ts.map +1 -1
  450. package/dist/runtime/asset-timeline.js.map +1 -1
  451. package/dist/runtime/asset-update.d.ts.map +1 -1
  452. package/dist/runtime/asset-update.js +7 -0
  453. package/dist/runtime/asset-update.js.map +1 -1
  454. package/dist/runtime/clip-instance.d.ts +3 -1
  455. package/dist/runtime/clip-instance.d.ts.map +1 -1
  456. package/dist/runtime/clip-instance.js +4 -0
  457. package/dist/runtime/clip-instance.js.map +1 -1
  458. package/dist/runtime/clip-store.d.ts.map +1 -1
  459. package/dist/runtime/clip-store.js +17 -2
  460. package/dist/runtime/clip-store.js.map +1 -1
  461. package/dist/runtime/engine.d.ts +5 -3
  462. package/dist/runtime/engine.d.ts.map +1 -1
  463. package/dist/runtime/engine.js +2 -1
  464. package/dist/runtime/engine.js.map +1 -1
  465. package/dist/runtime/playback-controller.d.ts.map +1 -1
  466. package/dist/runtime/playback-controller.js +14 -4
  467. package/dist/runtime/playback-controller.js.map +1 -1
  468. package/dist/runtime/session.d.ts +7 -3
  469. package/dist/runtime/session.d.ts.map +1 -1
  470. package/dist/runtime/session.js +11 -4
  471. package/dist/runtime/session.js.map +1 -1
  472. package/dist/runtime/text-geometry.d.ts +1 -1
  473. package/dist/runtime/text-geometry.js.map +1 -1
  474. package/dist/sdk/index.d.ts +8 -6
  475. package/dist/sdk/index.d.ts.map +1 -1
  476. package/dist/sdk/index.js +10 -3
  477. package/dist/sdk/index.js.map +1 -1
  478. package/dist/tween/command-decorator.d.ts +7 -0
  479. package/dist/tween/command-decorator.d.ts.map +1 -1
  480. package/dist/tween/command-decorator.js +1 -0
  481. package/dist/tween/command-decorator.js.map +1 -1
  482. package/dist/tween/ease/describe.d.ts +2 -0
  483. package/dist/tween/ease/describe.d.ts.map +1 -1
  484. package/dist/tween/ease/describe.js +4 -0
  485. package/dist/tween/ease/describe.js.map +1 -1
  486. package/dist/tween/ease/spec.d.ts +31 -0
  487. package/dist/tween/ease/spec.d.ts.map +1 -0
  488. package/dist/tween/ease/spec.js +51 -0
  489. package/dist/tween/ease/spec.js.map +1 -0
  490. package/dist/tween/index.d.ts +1 -0
  491. package/dist/tween/index.d.ts.map +1 -1
  492. package/dist/tween/index.js +1 -0
  493. package/dist/tween/index.js.map +1 -1
  494. package/package.json +2 -2
  495. package/dist/browser/chunks/chunk-D4FSTPML.js +0 -14
  496. package/dist/browser/chunks/chunk-D4FSTPML.js.map +0 -7
  497. package/dist/browser/chunks/chunk-RTNATFWX.js +0 -5
  498. package/dist/browser/chunks/chunk-RTNATFWX.js.map +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"media.js","sourceRoot":"","sources":["../../../../src/components/builtins/media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nB,MAAM,CAAC,GAAG,KAA0F,CAAC;QACrG,MAAM,OAAO,GAAG,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtE,MAAM,OAAO,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,CAAC,CAAC,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC;QACzJ,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE;YAClD,IAAI,EAAE,CAAC,CAAC,OAAO,IAAI,gBAAgB,CAAC,EAAE,GAAG,KAAK,CAAC,IAAI,CAAU;YAC7D,sDAAsD;YACtD,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,OAAO;gBACnB,CAAC,CAAC,IAAI,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAU,CAAC,CAAC,SAAS,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE;gBACxH,CAAC,CAAC,IAAI,CAAC;SACd,CAAC,CAAC;IACP,CAAC;CACJ,CAAC,CAAC","sourcesContent":["import type { Alignment } from \"@/attributes/layout/alignment\";\r\nimport type { InsetsResolved } from \"@/attributes/layout/insets\";\r\nimport type { Vector2 } from \"@/attributes/layout/vector2\";\r\nimport { AudioFilters, resolveAudioFilters, type AudioFilter } from \"@/attributes/audio/filters/chain\";\r\nimport type { AudioFilterItem } from \"@/attributes/audio/filters/union\";\r\nimport type { ImageFit, ImageMatrix, ImageCrop } from \"@/attributes/shape/fill/implementations/image\";\r\nimport { sourceTimeFor, type VideoFillProp, type VideoFillResolved } from \"@/attributes/shape/fill/implementations/video\";\r\nimport { resolveFill, UNSET_MEDIA_FILL } from \"@/attributes/shape/fill/registry\";\r\nimport type { FillProp } from \"@/attributes/shape/fill/union\";\r\nimport { resolveChainAdjustments, type VideoAdjustment } from \"@/attributes/shape/filters/chain\";\r\nimport { lerpFilterArray, type AnyFilter } from \"@/attributes/shape/filters/registry\";\r\nimport { Graphics2D } from \"@/render/graphics2d\";\r\nimport type { NodeOf, Values } from \"@/components/factory/api\";\r\nimport { component2d } from \"@/components/factory/component2d\";\r\nimport { Types } from \"@/components/factory/types\";\r\nimport * as Corners from \"@/components/modules/corners\";\r\nimport * as Flow from \"@/components/modules/flow\";\r\nimport * as Paint from \"@/components/modules/paint\";\r\nimport { internalsOf } from \"@/components/factory/views\";\r\nimport type { RectProps } from \"@/components/builtins/geometry/geometry\";\r\n\r\n/**\r\n * Video: a rect painted with a playing picture under its fill, and the\r\n * picture's sound. Its sound plays from `play`; a `video` row with no `play`\r\n * of its own gets one per segment, or one over its span while it plays.\r\n */\r\n\r\nconst video = {\r\n src: Types.custom<string | undefined>(undefined),\r\n fit: Types.custom<ImageFit | undefined>(undefined),\r\n crop: Types.insets,\r\n zoom: 1,\r\n anchor: Types.alignment,\r\n matrix: Types.custom<ImageMatrix | undefined>(undefined),\r\n filters: Types.custom<VideoAdjustment, AnyFilter[]>([] as never, {\r\n resolve: (v) => resolveChainAdjustments(v),\r\n lerp: lerpFilterArray,\r\n }),\r\n playing: true,\r\n timestamp: Types.custom<number | null | undefined>(undefined),\r\n trimStart: Types.custom<number | undefined>(undefined),\r\n trimEnd: Types.custom<number | undefined>(undefined),\r\n speed: Types.custom<number | undefined>(undefined),\r\n loop: Types.custom<\"forward\" | \"reverse\" | \"none\" | undefined>(undefined),\r\n duration: Types.custom<number | undefined>(undefined),\r\n volume: 1,\r\n muted: false,\r\n audioFilters: Types.custom<AudioFilter, AudioFilterItem[]>([] as never, { resolve: (v) => resolveAudioFilters(v) }),\r\n bus: Types.custom<string | undefined>(undefined),\r\n segments: Types.custom<readonly VideoSegment[]>([]),\r\n};\r\n\r\ntype VideoState = Values<typeof video> & { readonly crop: InsetsResolved; readonly anchor: Alignment };\r\n\r\n/** Source seconds played by `elapsed` clip seconds into the segments, or `null` without any. */\r\nfunction playedAt(s: VideoState, elapsed: number): number | null {\r\n if (s.segments.length === 0) return null;\r\n let played = 0;\r\n for (const segment of s.segments) {\r\n if (elapsed <= segment.at) break;\r\n played += Math.min(elapsed - segment.at, segment.duration) * (segment.speed ?? s.speed ?? 1);\r\n }\r\n return played;\r\n}\r\n\r\nfunction scheduledTimestamp(s: VideoState, elapsed: number): number | undefined {\r\n const played = playedAt(s, elapsed);\r\n if (played === null) return undefined;\r\n const start = s.trimStart ?? 0;\r\n const first = s.segments[0];\r\n return sourceTimeFor(played + (first ? first.from - start : 0), start, s.trimEnd ?? Infinity, s.loop, s.duration);\r\n}\r\n\r\nconst pictures = new WeakMap<object, { readonly key: string; readonly fill: VideoFillResolved }>();\r\n\r\n/** The frame to paint, resolved once per change of what it depends on. */\r\nfunction pictureOf(host: object, s: VideoState, elapsed: number): VideoFillResolved | null {\r\n if (!s.src) {\r\n pictures.delete(host);\r\n return null;\r\n }\r\n const scheduled = scheduledTimestamp(s, elapsed);\r\n const crop = s.crop;\r\n const anchor = s.anchor as unknown as Vector2;\r\n const key = [\r\n s.src, s.fit ?? \"\", s.zoom, s.playing ? 1 : 0, crop.left, crop.right, crop.top, crop.bottom, anchor.x, anchor.y,\r\n s.timestamp ?? \"\", s.trimStart ?? \"\", s.trimEnd ?? \"\", s.speed ?? \"\", s.loop ?? \"\", s.duration ?? \"\", scheduled ?? \"\",\r\n ].join(\"|\");\r\n const kept = pictures.get(host);\r\n if (kept && kept.key === key) return kept.fill;\r\n const prop: VideoFillProp = {\r\n type: \"video\", src: s.src, fit: s.fit, crop: s.crop, zoom: s.zoom, anchor: s.anchor, matrix: s.matrix,\r\n filters: s.filters as never, playing: s.playing, timestamp: s.timestamp ?? scheduled,\r\n trimStart: s.trimStart, trimEnd: s.trimEnd, speed: s.speed, loop: s.loop, duration: s.duration,\r\n };\r\n const fill = resolveFill(prop as FillProp) as VideoFillResolved;\r\n pictures.set(host, { key, fill });\r\n return fill;\r\n}\r\n\r\nfunction soundFilters(s: VideoState, speed: number): AudioFilterItem[] {\r\n const filters: AudioFilterItem[] = [];\r\n if (speed !== 1) filters.push(...resolveAudioFilters(AudioFilters.speed(speed)));\r\n filters.push(...s.audioFilters);\r\n return filters;\r\n}\r\n\r\nexport const Video = component2d({\r\n key: \"video\",\r\n state: { ...Paint.state, ...Flow.state, ...Corners.state, ...video },\r\n commands: {\r\n ...Paint.commands,\r\n /** Its sound: from `from` in the source for a segment, or as it plays. Cut when the command ends. */\r\n play: {\r\n args: {\r\n from: Types.custom<number | undefined>(undefined),\r\n volume: Types.custom<number | undefined>(undefined),\r\n speed: Types.custom<number | undefined>(undefined),\r\n },\r\n run: (timeline, state) => {\r\n const s = state as unknown as VideoState;\r\n const segment = timeline.args.from !== undefined;\r\n if (!s.src || s.muted || (!segment && !s.playing)) return timeline.together([]);\r\n const speed = timeline.args.speed ?? s.speed ?? 1;\r\n const loop = !segment && (s.loop ?? \"none\") !== \"none\";\r\n return timeline.sound(s.src, {\r\n volume: timeline.args.volume ?? s.volume,\r\n loop,\r\n trimStart: segment ? timeline.args.from : s.trimStart,\r\n trimEnd: s.trimEnd,\r\n filters: soundFilters(s, speed),\r\n bus: s.bus,\r\n optional: true,\r\n closed: !loop,\r\n });\r\n },\r\n },\r\n },\r\n load: (loader, state) => {\r\n if (!state.src) return;\r\n loader.fill(resolveFill({\r\n type: \"video\", src: state.src, filters: state.filters, trimStart: state.trimStart, trimEnd: state.trimEnd,\r\n } as unknown as FillProp));\r\n },\r\n measure: (measurer, state, children) => Flow.measure(measurer, state, children, Paint.inset(state)),\r\n layout: (box, state, children) => Flow.layout(box, state, children, Paint.inset(state)),\r\n render: (ctx, state) => {\r\n const s = state as unknown as VideoState & Values<typeof Paint.state> & Values<typeof Corners.state>;\r\n const picture = pictureOf(internalsOf(ctx).host, s, ctx.time.elapsed);\r\n const outline = { width: ctx.size.width, height: ctx.size.height, cornerRadius: s.cornerRadius, cornerStyle: s.cornerStyle, start: s.start, end: s.end };\r\n Paint.draw(ctx, state, Corners.rect(ctx.size, state), {\r\n fill: [(picture ?? UNSET_MEDIA_FILL), ...state.fill] as never,\r\n // The overlay lies on the picture only, masked by it.\r\n overlay: () => (picture\r\n ? new Graphics2D().mask().rect(outline).fill([picture] as never).applyMask().rect(outline).fill(state.overlay).endMask()\r\n : null),\r\n });\r\n },\r\n});\r\n\r\nexport type Video = NodeOf<typeof Video>;\r\n\r\n// What code building a video names its props as, and the segments it plays.\r\n\r\nexport interface VideoProps extends RectProps {\r\n src?: string;\r\n /** How the (cropped) frame is scaled into the node's bounds. Default 'fill'. */\r\n fit?: ImageFit;\r\n /** Window onto the source frame, in fractions of its own size, applied before `fit`. */\r\n crop?: ImageCrop;\r\n /** Magnification on top of the fitted scale. `1` (default) is the fitted size. */\r\n zoom?: number;\r\n /** The point held fixed as `zoom` scales; also the alignment when it doesn't cover. */\r\n anchor?: Alignment;\r\n /** Raw frame→shape matrix; bypasses `crop`/`fit`/`zoom`/`anchor` and the bounds. */\r\n matrix?: ImageMatrix;\r\n /** Visual filters applied to the rendered frame (blur, color, posterizeTime, echo, …). */\r\n filters?: VideoAdjustment;\r\n /** Whether playback advances with the node's clock (drives both picture and sound). Default true. */\r\n playing?: boolean;\r\n /**\r\n * Explicit source time to show, in seconds. Omit it (the default) and the\r\n * picture is timed from the moment this node appeared; set it to drive the\r\n * playhead yourself, and set it to `null` to hand the playhead back to the\r\n * clock (`set()` merges a partial, so `undefined` won't clear it).\r\n */\r\n timestamp?: number | null;\r\n trimStart?: number;\r\n trimEnd?: number;\r\n /** Playback-rate multiplier for both picture and audio. Default 1. */\r\n speed?: number;\r\n loop?: 'forward' | 'reverse' | 'none';\r\n /** Length of one loop cycle, in seconds. Defaults to the trimmed clip length. */\r\n duration?: number;\r\n /** Audio volume in [0, 1]. Default 1. */\r\n volume?: number;\r\n /** Silence the video's audio track without affecting the picture. Default false. */\r\n muted?: boolean;\r\n /** Audio filters applied to the video's sound track (gain, eq, echo, …). */\r\n audioFilters?: AudioFilter;\r\n /**\r\n * The node id of an `AudioBus` in this clip to route the video's sound into.\r\n *\r\n * A `Video` is a `Node2D`, so it cannot be parented under a bus the way a\r\n * `SoundNode` is — its audio is welded to its picture, which has to stay in\r\n * the visual tree. Naming one instead is what lets a video's dialogue sit on\r\n * the same bus as everything else, so ducking the whole group is still one\r\n * edit — and it is the *same* id a `SoundNode` under that bus writes as its\r\n * `parentId`, rather than a second vocabulary for \"which bus\". An id matching\r\n * no bus routes straight to the master, the same as no bus at all.\r\n */\r\n bus?: string;\r\n /**\r\n * An explicit **playback schedule**: the stretches of this node's own clock\r\n * during which the clip advances, and where in the source each one starts.\r\n *\r\n * Omit it (the default) and playback is what it has always been — the clip\r\n * runs from the moment the node appears, at `speed`, until it or the node\r\n * runs out. Give it, and `playing`/`timestamp` are both superseded: the\r\n * picture takes its source time from whichever segment covers the current\r\n * `elapsed`, and the sound is scheduled one clip per segment.\r\n *\r\n * It exists because a **pause** cannot be expressed any other way. `playing:\r\n * false` holds the clip's *first* frame, because with playback derived\r\n * linearly from the clock there is nothing else it could hold; and the sound\r\n * runs on the node's own clock regardless, so a picture frozen by any means\r\n * would drift away from it. A schedule states the one thing both halves need\r\n * and neither could infer — that a paused stretch consumes no source — so\r\n * they cannot come apart.\r\n *\r\n * Still a pure function of the clock, which is the property everything else\r\n * here is built on: frame *N* is identical however the playhead reached it,\r\n * so a scrub, a playthrough and an export agree.\r\n */\r\n segments?: readonly VideoSegment[];\r\n\r\n}\r\n\r\n/**\r\n * One stretch of a {@link Video}'s own clock during which its source advances —\r\n * see {@link VideoProps.segments}.\r\n *\r\n * Trim and loop are applied *on top* of this, by the same code that applies them\r\n * to unscheduled playback, so a schedule says when the clip is running and the\r\n * clip's own props go on saying which part of the file it is running through.\r\n */\r\nexport interface VideoSegment {\r\n /** Second on the node's own clock (`NodeTime.elapsed`) this segment begins. */\r\n at: number;\r\n /** Source in-point for it, in seconds. */\r\n from: number;\r\n /**\r\n * How long it runs, in seconds of the node's clock.\r\n *\r\n * `Infinity` for a clip left running — the same open sentinel\r\n * `AudioRequest.endAt` uses — which resolves against the clip's length.\r\n */\r\n duration: number;\r\n /** Playback rate through it. Defaults to the node's own `speed`. */\r\n speed?: number;\r\n /** Linear gain for its sound. Defaults to the node's own `volume`. */\r\n volume?: number;\r\n}\r\n"]}
1
+ {"version":3,"file":"media.js","sourceRoot":"","sources":["../../../../src/components/builtins/media/media.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAA0B,MAAM,kCAAkC,CAAC;AAG/F,OAAO,EAAE,aAAa,EAA8C,MAAM,+CAA+C,CAAC;AAC1H,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEjF,OAAO,EAAE,uBAAuB,EAAwB,MAAM,kCAAkC,CAAC;AACjG,OAAO,EAAE,eAAe,EAAkB,MAAM,qCAAqC,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC;AACxD,OAAO,KAAK,IAAI,MAAM,2BAA2B,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAGzD;;;;GAIG;AAEH,MAAM,KAAK,GAAG;IACV,GAAG,EA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AAC","sourcesContent":["import type { Alignment } from \"@/attributes/layout/alignment\";\r\nimport type { InsetsResolved } from \"@/attributes/layout/insets\";\r\nimport type { Vector2 } from \"@/attributes/layout/vector2\";\r\nimport { resolveAudioEffects, type AudioEffectsInput } from \"@/attributes/audio/effects/chain\";\r\nimport type { AudioEffect } from \"@/attributes/audio/effects/union\";\r\nimport type { ImageFit, ImageMatrix, ImageCrop } from \"@/attributes/shape/fill/implementations/image\";\r\nimport { sourceTimeFor, type VideoFillProp, type VideoFillResolved } from \"@/attributes/shape/fill/implementations/video\";\r\nimport { resolveFill, UNSET_MEDIA_FILL } from \"@/attributes/shape/fill/registry\";\r\nimport type { FillProp } from \"@/attributes/shape/fill/union\";\r\nimport { resolveChainAdjustments, type VideoAdjustment } from \"@/attributes/shape/filters/chain\";\r\nimport { lerpFilterArray, type AnyFilter } from \"@/attributes/shape/filters/registry\";\r\nimport { Graphics2D } from \"@/render/graphics2d\";\r\nimport type { NodeOf, Values } from \"@/components/factory/api\";\r\nimport { component2d } from \"@/components/factory/component2d\";\r\nimport { Types } from \"@/components/factory/types\";\r\nimport * as Corners from \"@/components/modules/corners\";\r\nimport * as Flow from \"@/components/modules/flow\";\r\nimport * as Paint from \"@/components/modules/paint\";\r\nimport { internalsOf } from \"@/components/factory/views\";\r\nimport type { RectProps } from \"@/components/builtins/geometry/geometry\";\r\n\r\n/**\r\n * Video: a rect painted with a playing picture under its fill, and the\r\n * picture's sound. Its sound plays from `play`; a `video` row with no `play`\r\n * of its own gets one per segment, or one over its span while it plays.\r\n */\r\n\r\nconst video = {\r\n src: Types.custom<string | undefined>(undefined),\r\n fit: Types.custom<ImageFit | undefined>(undefined),\r\n crop: Types.insets,\r\n zoom: 1,\r\n anchor: Types.alignment,\r\n matrix: Types.custom<ImageMatrix | undefined>(undefined),\r\n filters: Types.custom<VideoAdjustment, AnyFilter[]>([] as never, {\r\n resolve: (v) => resolveChainAdjustments(v),\r\n lerp: lerpFilterArray,\r\n }),\r\n playing: true,\r\n timestamp: Types.custom<number | null | undefined>(undefined),\r\n trimStart: Types.custom<number | undefined>(undefined),\r\n trimEnd: Types.custom<number | undefined>(undefined),\r\n speed: Types.custom<number | undefined>(undefined),\r\n loop: Types.custom<\"forward\" | \"reverse\" | \"none\" | undefined>(undefined),\r\n duration: Types.custom<number | undefined>(undefined),\r\n volume: 1,\r\n muted: false,\r\n audioEffects: Types.custom<AudioEffectsInput, AudioEffect[]>([] as never, { resolve: (v) => resolveAudioEffects(v) }),\r\n bus: Types.custom<string | undefined>(undefined),\r\n segments: Types.custom<readonly VideoSegment[]>([]),\r\n};\r\n\r\ntype VideoState = Values<typeof video> & { readonly crop: InsetsResolved; readonly anchor: Alignment };\r\n\r\n/** Source seconds played by `elapsed` clip seconds into the segments, or `null` without any. */\r\nfunction playedAt(s: VideoState, elapsed: number): number | null {\r\n if (s.segments.length === 0) return null;\r\n let played = 0;\r\n for (const segment of s.segments) {\r\n if (elapsed <= segment.at) break;\r\n played += Math.min(elapsed - segment.at, segment.duration) * (segment.speed ?? s.speed ?? 1);\r\n }\r\n return played;\r\n}\r\n\r\nfunction scheduledTimestamp(s: VideoState, elapsed: number): number | undefined {\r\n const played = playedAt(s, elapsed);\r\n if (played === null) return undefined;\r\n const start = s.trimStart ?? 0;\r\n const first = s.segments[0];\r\n return sourceTimeFor(played + (first ? first.from - start : 0), start, s.trimEnd ?? Infinity, s.loop, s.duration);\r\n}\r\n\r\nconst pictures = new WeakMap<object, { readonly key: string; readonly fill: VideoFillResolved }>();\r\n\r\n/** The frame to paint, resolved once per change of what it depends on. */\r\nfunction pictureOf(host: object, s: VideoState, elapsed: number): VideoFillResolved | null {\r\n if (!s.src) {\r\n pictures.delete(host);\r\n return null;\r\n }\r\n const scheduled = scheduledTimestamp(s, elapsed);\r\n const crop = s.crop;\r\n const anchor = s.anchor as unknown as Vector2;\r\n const key = [\r\n s.src, s.fit ?? \"\", s.zoom, s.playing ? 1 : 0, crop.left, crop.right, crop.top, crop.bottom, anchor.x, anchor.y,\r\n s.timestamp ?? \"\", s.trimStart ?? \"\", s.trimEnd ?? \"\", s.speed ?? \"\", s.loop ?? \"\", s.duration ?? \"\", scheduled ?? \"\",\r\n ].join(\"|\");\r\n const kept = pictures.get(host);\r\n if (kept && kept.key === key) return kept.fill;\r\n const prop: VideoFillProp = {\r\n type: \"video\", src: s.src, fit: s.fit, crop: s.crop, zoom: s.zoom, anchor: s.anchor, matrix: s.matrix,\r\n filters: s.filters as never, playing: s.playing, timestamp: s.timestamp ?? scheduled,\r\n trimStart: s.trimStart, trimEnd: s.trimEnd, speed: s.speed, loop: s.loop, duration: s.duration,\r\n };\r\n const fill = resolveFill(prop as FillProp) as VideoFillResolved;\r\n pictures.set(host, { key, fill });\r\n return fill;\r\n}\r\n\r\nexport const Video = component2d({\r\n key: \"video\",\r\n state: { ...Paint.state, ...Flow.state, ...Corners.state, ...video },\r\n commands: {\r\n ...Paint.commands,\r\n /** Its sound: from `from` in the source for a segment, or as it plays. Cut when the command ends. */\r\n play: {\r\n args: {\r\n from: Types.custom<number | undefined>(undefined),\r\n volume: Types.custom<number | undefined>(undefined),\r\n speed: Types.custom<number | undefined>(undefined),\r\n },\r\n run: (timeline, state) => {\r\n const s = state as unknown as VideoState;\r\n const segment = timeline.args.from !== undefined;\r\n if (!s.src || s.muted || (!segment && !s.playing)) return timeline.together([]);\r\n const speed = timeline.args.speed ?? s.speed ?? 1;\r\n const loop = !segment && (s.loop ?? \"none\") !== \"none\";\r\n return timeline.sound(s.src, {\r\n volume: timeline.args.volume ?? s.volume,\r\n loop,\r\n trimStart: segment ? timeline.args.from : s.trimStart,\r\n trimEnd: s.trimEnd,\r\n speed,\r\n effects: s.audioEffects,\r\n bus: s.bus,\r\n optional: true,\r\n closed: !loop,\r\n });\r\n },\r\n },\r\n },\r\n load: (loader, state) => {\r\n if (!state.src) return;\r\n loader.fill(resolveFill({\r\n type: \"video\", src: state.src, filters: state.filters, trimStart: state.trimStart, trimEnd: state.trimEnd,\r\n } as unknown as FillProp));\r\n },\r\n measure: (measurer, state, children) => Flow.measure(measurer, state, children, Paint.inset(state)),\r\n layout: (box, state, children) => Flow.layout(box, state, children, Paint.inset(state)),\r\n render: (ctx, state) => {\r\n const s = state as unknown as VideoState & Values<typeof Paint.state> & Values<typeof Corners.state>;\r\n const picture = pictureOf(internalsOf(ctx).host, s, ctx.time.elapsed);\r\n const outline = { width: ctx.size.width, height: ctx.size.height, cornerRadius: s.cornerRadius, cornerStyle: s.cornerStyle, start: s.start, end: s.end };\r\n Paint.draw(ctx, state, Corners.rect(ctx.size, state), {\r\n fill: [(picture ?? UNSET_MEDIA_FILL), ...state.fill] as never,\r\n // The overlay lies on the picture only, masked by it.\r\n overlay: () => (picture\r\n ? new Graphics2D().mask().rect(outline).fill([picture] as never).applyMask().rect(outline).fill(state.overlay).endMask()\r\n : null),\r\n });\r\n },\r\n});\r\n\r\nexport type Video = NodeOf<typeof Video>;\r\n\r\n// What code building a video names its props as, and the segments it plays.\r\n\r\nexport interface VideoProps extends RectProps {\r\n src?: string;\r\n /** How the (cropped) frame is scaled into the node's bounds. Default 'fill'. */\r\n fit?: ImageFit;\r\n /** Window onto the source frame, in fractions of its own size, applied before `fit`. */\r\n crop?: ImageCrop;\r\n /** Magnification on top of the fitted scale. `1` (default) is the fitted size. */\r\n zoom?: number;\r\n /** The point held fixed as `zoom` scales; also the alignment when it doesn't cover. */\r\n anchor?: Alignment;\r\n /** Raw frame→shape matrix; bypasses `crop`/`fit`/`zoom`/`anchor` and the bounds. */\r\n matrix?: ImageMatrix;\r\n /** Visual filters applied to the rendered frame (blur, color, posterizeTime, echo, …). */\r\n filters?: VideoAdjustment;\r\n /** Whether playback advances with the node's clock (drives both picture and sound). Default true. */\r\n playing?: boolean;\r\n /**\r\n * Explicit source time to show, in seconds. Omit it (the default) and the\r\n * picture is timed from the moment this node appeared; set it to drive the\r\n * playhead yourself, and set it to `null` to hand the playhead back to the\r\n * clock (`set()` merges a partial, so `undefined` won't clear it).\r\n */\r\n timestamp?: number | null;\r\n trimStart?: number;\r\n trimEnd?: number;\r\n /** Playback-rate multiplier for both picture and audio. Default 1. */\r\n speed?: number;\r\n loop?: 'forward' | 'reverse' | 'none';\r\n /** Length of one loop cycle, in seconds. Defaults to the trimmed clip length. */\r\n duration?: number;\r\n /** Audio volume in [0, 1]. Default 1. */\r\n volume?: number;\r\n /** Silence the video's audio track without affecting the picture. Default false. */\r\n muted?: boolean;\r\n /** Audio effects applied to the video's sound track (gain, eq, echo, …). */\r\n audioEffects?: AudioEffectsInput;\r\n /**\r\n * The node id of an `AudioBus` in this clip to route the video's sound into.\r\n *\r\n * A `Video` is a `Node2D`, so it cannot be parented under a bus the way a\r\n * `SoundNode` is — its audio is welded to its picture, which has to stay in\r\n * the visual tree. Naming one instead is what lets a video's dialogue sit on\r\n * the same bus as everything else, so ducking the whole group is still one\r\n * edit — and it is the *same* id a `SoundNode` under that bus writes as its\r\n * `parentId`, rather than a second vocabulary for \"which bus\". An id matching\r\n * no bus routes straight to the master, the same as no bus at all.\r\n */\r\n bus?: string;\r\n /**\r\n * An explicit **playback schedule**: the stretches of this node's own clock\r\n * during which the clip advances, and where in the source each one starts.\r\n *\r\n * Omit it (the default) and playback is what it has always been — the clip\r\n * runs from the moment the node appears, at `speed`, until it or the node\r\n * runs out. Give it, and `playing`/`timestamp` are both superseded: the\r\n * picture takes its source time from whichever segment covers the current\r\n * `elapsed`, and the sound is scheduled one clip per segment.\r\n *\r\n * It exists because a **pause** cannot be expressed any other way. `playing:\r\n * false` holds the clip's *first* frame, because with playback derived\r\n * linearly from the clock there is nothing else it could hold; and the sound\r\n * runs on the node's own clock regardless, so a picture frozen by any means\r\n * would drift away from it. A schedule states the one thing both halves need\r\n * and neither could infer — that a paused stretch consumes no source — so\r\n * they cannot come apart.\r\n *\r\n * Still a pure function of the clock, which is the property everything else\r\n * here is built on: frame *N* is identical however the playhead reached it,\r\n * so a scrub, a playthrough and an export agree.\r\n */\r\n segments?: readonly VideoSegment[];\r\n\r\n}\r\n\r\n/**\r\n * One stretch of a {@link Video}'s own clock during which its source advances —\r\n * see {@link VideoProps.segments}.\r\n *\r\n * Trim and loop are applied *on top* of this, by the same code that applies them\r\n * to unscheduled playback, so a schedule says when the clip is running and the\r\n * clip's own props go on saying which part of the file it is running through.\r\n */\r\nexport interface VideoSegment {\r\n /** Second on the node's own clock (`NodeTime.elapsed`) this segment begins. */\r\n at: number;\r\n /** Source in-point for it, in seconds. */\r\n from: number;\r\n /**\r\n * How long it runs, in seconds of the node's clock.\r\n *\r\n * `Infinity` for a clip left running — the same open sentinel\r\n * `AudioRequest.endAt` uses — which resolves against the clip's length.\r\n */\r\n duration: number;\r\n /** Playback rate through it. Defaults to the node's own `speed`. */\r\n speed?: number;\r\n /** Linear gain for its sound. Defaults to the node's own `volume`. */\r\n volume?: number;\r\n}\r\n"]}
@@ -20,7 +20,7 @@ export declare const Text: import("../../../components/factory/api.js").Componen
20
20
  letterSpacing: import("../../../components/factory/api.js").Type<number, number, false>;
21
21
  lineHeight: import("../../../components/factory/api.js").Type<number, number, false>;
22
22
  textAlign: import("../../../components/factory/api.js").Type<TextAlign, TextAlign, false>;
23
- verticalAlign: import("../../../components/factory/api.js").Type<"top" | "bottom" | "center", "top" | "bottom" | "center", false>;
23
+ verticalAlign: import("../../../components/factory/api.js").Type<"center" | "top" | "bottom", "center" | "top" | "bottom", false>;
24
24
  textDecoration: import("../../../components/factory/api.js").Type<"none" | "underline" | "line-through", "none" | "underline" | "line-through", false>;
25
25
  textCase: import("../../../components/factory/api.js").Type<"none" | "upper" | "lower" | "title", "none" | "upper" | "lower" | "title", false>;
26
26
  minFontSize: import("../../../components/factory/api.js").Type<number, number, false>;
@@ -44,7 +44,7 @@ export declare const Text: import("../../../components/factory/api.js").Componen
44
44
  readonly flash: {
45
45
  readonly portion: import("../../../components/factory/api.js").Type<number, number, false>;
46
46
  };
47
- }, null, import("../../../components/trees/2d/node2d.js").Node2D<Node2DProps>, import("../../../components/factory/api.js").CallProps<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
47
+ }, readonly [], import("../../../components/trees/2d/node2d.js").Node2D<Node2DProps>, import("../../../components/factory/api.js").CallProps<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
48
48
  text: import("../../../components/factory/api.js").Type<string, string, false>;
49
49
  wrap: boolean;
50
50
  path: import("../../../components/factory/api.js").Type<PathData | PathBuilder | null, PathData | null, false>;
@@ -56,7 +56,7 @@ export declare const Text: import("../../../components/factory/api.js").Componen
56
56
  letterSpacing: import("../../../components/factory/api.js").Type<number, number, false>;
57
57
  lineHeight: import("../../../components/factory/api.js").Type<number, number, false>;
58
58
  textAlign: import("../../../components/factory/api.js").Type<TextAlign, TextAlign, false>;
59
- verticalAlign: import("../../../components/factory/api.js").Type<"top" | "bottom" | "center", "top" | "bottom" | "center", false>;
59
+ verticalAlign: import("../../../components/factory/api.js").Type<"center" | "top" | "bottom", "center" | "top" | "bottom", false>;
60
60
  textDecoration: import("../../../components/factory/api.js").Type<"none" | "underline" | "line-through", "none" | "underline" | "line-through", false>;
61
61
  textCase: import("../../../components/factory/api.js").Type<"none" | "upper" | "lower" | "title", "none" | "upper" | "lower" | "title", false>;
62
62
  minFontSize: import("../../../components/factory/api.js").Type<number, number, false>;
@@ -66,7 +66,7 @@ export declare const Text: import("../../../components/factory/api.js").Componen
66
66
  shadow: import("../../../components/factory/api.js").Type<Shadow, import("../../../attributes/shape/shadow/shadow.js").ShadowResolved[], false>;
67
67
  start: import("../../../components/factory/api.js").Type<number, number, false>;
68
68
  end: import("../../../components/factory/api.js").Type<number, number, false>;
69
- }>, null, import("../../../components/factory/api.js").BuiltNode<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
69
+ }>, readonly [], import("../../../components/factory/api.js").BuiltNode<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
70
70
  text: import("../../../components/factory/api.js").Type<string, string, false>;
71
71
  wrap: boolean;
72
72
  path: import("../../../components/factory/api.js").Type<PathData | PathBuilder | null, PathData | null, false>;
@@ -78,7 +78,7 @@ export declare const Text: import("../../../components/factory/api.js").Componen
78
78
  letterSpacing: import("../../../components/factory/api.js").Type<number, number, false>;
79
79
  lineHeight: import("../../../components/factory/api.js").Type<number, number, false>;
80
80
  textAlign: import("../../../components/factory/api.js").Type<TextAlign, TextAlign, false>;
81
- verticalAlign: import("../../../components/factory/api.js").Type<"top" | "bottom" | "center", "top" | "bottom" | "center", false>;
81
+ verticalAlign: import("../../../components/factory/api.js").Type<"center" | "top" | "bottom", "center" | "top" | "bottom", false>;
82
82
  textDecoration: import("../../../components/factory/api.js").Type<"none" | "underline" | "line-through", "none" | "underline" | "line-through", false>;
83
83
  textCase: import("../../../components/factory/api.js").Type<"none" | "upper" | "lower" | "title", "none" | "upper" | "lower" | "title", false>;
84
84
  minFontSize: import("../../../components/factory/api.js").Type<number, number, false>;
@@ -118,7 +118,7 @@ export declare const NumberNode: import("../../../components/factory/api.js").Co
118
118
  letterSpacing: import("../../../components/factory/api.js").Type<number, number, false>;
119
119
  lineHeight: import("../../../components/factory/api.js").Type<number, number, false>;
120
120
  textAlign: import("../../../components/factory/api.js").Type<TextAlign, TextAlign, false>;
121
- verticalAlign: import("../../../components/factory/api.js").Type<"top" | "bottom" | "center", "top" | "bottom" | "center", false>;
121
+ verticalAlign: import("../../../components/factory/api.js").Type<"center" | "top" | "bottom", "center" | "top" | "bottom", false>;
122
122
  textDecoration: import("../../../components/factory/api.js").Type<"none" | "underline" | "line-through", "none" | "underline" | "line-through", false>;
123
123
  textCase: import("../../../components/factory/api.js").Type<"none" | "upper" | "lower" | "title", "none" | "upper" | "lower" | "title", false>;
124
124
  minFontSize: import("../../../components/factory/api.js").Type<number, number, false>;
@@ -137,7 +137,7 @@ export declare const NumberNode: import("../../../components/factory/api.js").Co
137
137
  readonly flash: {
138
138
  readonly portion: import("../../../components/factory/api.js").Type<number, number, false>;
139
139
  };
140
- }, null, import("../../../components/trees/2d/node2d.js").Node2D<Node2DProps>, import("../../../components/factory/api.js").CallProps<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
140
+ }, readonly [], import("../../../components/trees/2d/node2d.js").Node2D<Node2DProps>, import("../../../components/factory/api.js").CallProps<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
141
141
  value: number;
142
142
  format: import("../../../components/factory/api.js").Type<NumberFormat, NumberFormat, false>;
143
143
  customPattern: string;
@@ -151,7 +151,7 @@ export declare const NumberNode: import("../../../components/factory/api.js").Co
151
151
  letterSpacing: import("../../../components/factory/api.js").Type<number, number, false>;
152
152
  lineHeight: import("../../../components/factory/api.js").Type<number, number, false>;
153
153
  textAlign: import("../../../components/factory/api.js").Type<TextAlign, TextAlign, false>;
154
- verticalAlign: import("../../../components/factory/api.js").Type<"top" | "bottom" | "center", "top" | "bottom" | "center", false>;
154
+ verticalAlign: import("../../../components/factory/api.js").Type<"center" | "top" | "bottom", "center" | "top" | "bottom", false>;
155
155
  textDecoration: import("../../../components/factory/api.js").Type<"none" | "underline" | "line-through", "none" | "underline" | "line-through", false>;
156
156
  textCase: import("../../../components/factory/api.js").Type<"none" | "upper" | "lower" | "title", "none" | "upper" | "lower" | "title", false>;
157
157
  minFontSize: import("../../../components/factory/api.js").Type<number, number, false>;
@@ -161,7 +161,7 @@ export declare const NumberNode: import("../../../components/factory/api.js").Co
161
161
  shadow: import("../../../components/factory/api.js").Type<Shadow, import("../../../attributes/shape/shadow/shadow.js").ShadowResolved[], false>;
162
162
  start: import("../../../components/factory/api.js").Type<number, number, false>;
163
163
  end: import("../../../components/factory/api.js").Type<number, number, false>;
164
- }>, null, import("../../../components/factory/api.js").BuiltNode<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
164
+ }>, readonly [], import("../../../components/factory/api.js").BuiltNode<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
165
165
  value: number;
166
166
  format: import("../../../components/factory/api.js").Type<NumberFormat, NumberFormat, false>;
167
167
  customPattern: string;
@@ -175,7 +175,7 @@ export declare const NumberNode: import("../../../components/factory/api.js").Co
175
175
  letterSpacing: import("../../../components/factory/api.js").Type<number, number, false>;
176
176
  lineHeight: import("../../../components/factory/api.js").Type<number, number, false>;
177
177
  textAlign: import("../../../components/factory/api.js").Type<TextAlign, TextAlign, false>;
178
- verticalAlign: import("../../../components/factory/api.js").Type<"top" | "bottom" | "center", "top" | "bottom" | "center", false>;
178
+ verticalAlign: import("../../../components/factory/api.js").Type<"center" | "top" | "bottom", "center" | "top" | "bottom", false>;
179
179
  textDecoration: import("../../../components/factory/api.js").Type<"none" | "underline" | "line-through", "none" | "underline" | "line-through", false>;
180
180
  textCase: import("../../../components/factory/api.js").Type<"none" | "upper" | "lower" | "title", "none" | "upper" | "lower" | "title", false>;
181
181
  minFontSize: import("../../../components/factory/api.js").Type<number, number, false>;
@@ -219,7 +219,7 @@ export declare const RichText: import("../../../components/factory/api.js").Comp
219
219
  readonly flash: {
220
220
  readonly portion: import("../../../components/factory/api.js").Type<number, number, false>;
221
221
  };
222
- }, null, import("../../../components/trees/2d/node2d.js").Node2D<Node2DProps>, import("../../../components/factory/api.js").CallProps<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
222
+ }, readonly [], import("../../../components/trees/2d/node2d.js").Node2D<Node2DProps>, import("../../../components/factory/api.js").CallProps<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
223
223
  readonly fontSize: import("../../../components/factory/api.js").Type<number, number, false>;
224
224
  readonly spans: import("../../../components/factory/api.js").Type<TextSpan | TextSpan[], TextSpan[], false>;
225
225
  readonly fontFamily: import("../../../components/factory/api.js").Type<string, string, false>;
@@ -234,7 +234,7 @@ export declare const RichText: import("../../../components/factory/api.js").Comp
234
234
  readonly shadow: import("../../../components/factory/api.js").Type<Shadow, import("../../../attributes/shape/shadow/shadow.js").ShadowResolved[], false>;
235
235
  readonly start: import("../../../components/factory/api.js").Type<number, number, false>;
236
236
  readonly end: import("../../../components/factory/api.js").Type<number, number, false>;
237
- }>, null, import("../../../components/factory/api.js").BuiltNode<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
237
+ }>, readonly [], import("../../../components/factory/api.js").BuiltNode<import("../../../components/factory/api.js").Merge<import("../../../components/factory/api.js").Box2DState, {
238
238
  readonly fontSize: import("../../../components/factory/api.js").Type<number, number, false>;
239
239
  readonly spans: import("../../../components/factory/api.js").Type<TextSpan | TextSpan[], TextSpan[], false>;
240
240
  readonly fontFamily: import("../../../components/factory/api.js").Type<string, string, false>;
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/components/builtins/text/text.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAGjJ,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAOvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AA0C/D,uFAAuF;AACvF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AE,MAAM,CAAC;IACd;;;;;;OAMG;IACH,MAAM,EAAE,YAAY,CAAC;IACrB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB,2DAA2D;IAC3D,OAAO,EAAE,OAAO,CAAC;IACjB,yDAAyD;IACzD,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,aAAc,SAAQ,UAAU;IAC7C,KAAK,EAAE,QAAQ,GAAG,QAAQ,EAAE,CAAC;IAC7B,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,QAAQ,EAAE,MAAM,CAAC;IACjB,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,SAAS,EAAE,SAAS,CAAC;IACrB,oEAAoE;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,qBAAsB,SAAQ,WAAW;IACtD,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB"}
@@ -44,6 +44,7 @@ const textSource = (state) => ({ text: state.text, wraps: state.wrap, glyphPath:
44
44
  /** Copy somebody typed: wraps when asked, rides a path, styles stretches of itself. */
45
45
  export const Text = component2d({
46
46
  key: "text",
47
+ allowedChildren: [],
47
48
  state: textState,
48
49
  defaults: {
49
50
  width: (state) => (state.fontSize === "autofit" || state.wrap ? "fill" : "hug"),
@@ -78,6 +79,7 @@ const numberSource = (state) => ({ text: formatNumber(state.value, numberNodePat
78
79
  /** A figure, formatted from its value: a quantity, not copy. */
79
80
  export const NumberNode = component2d({
80
81
  key: "number",
82
+ allowedChildren: [],
81
83
  state: numberState,
82
84
  defaults: { width: autofits, height: autofits },
83
85
  commands: { ...glyphCommands, countTo: { args: ["value"] } },
@@ -89,6 +91,7 @@ const { verticalAlign: _v, textDecoration: _d, textCase: _c, minFontSize: _m, ..
89
91
  /** Spans of text, each styled on its own, set on lines that break only where they say. */
90
92
  export const RichText = component2d({
91
93
  key: "richtext",
94
+ allowedChildren: [],
92
95
  state: {
93
96
  ...glyphPaint,
94
97
  ...richStyle,
@@ -1 +1 @@
1
- {"version":3,"file":"text.js","sourceRoot":"","sources":["../../../../src/components/builtins/text/text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAC;AAQ7D;;;;GAIG;AAEH,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC;AACzD,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,aAAa,EAA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AO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;SAChE,CAAC;KACL;IACD,QAAQ,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE;IACzC,QAAQ,EAAE,EAAE,GAAG,aAAa,EAAE;IAC9B,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC;IAC/D,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC;IACzE,MAAM,EAAE,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC;CAC9D,CAAC,CAAC;AAEH,+FAA+F;AAC/F,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CAAC;IACxC,GAAG,EAAE,oBAAoB;IACzB,KAAK,EAAE,SAAS,CAAC,QAAQ;IACzB,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC;IAClE,MAAM,EAAE,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;CACxF,CAAC,CAAC","sourcesContent":["import { fillOps } from \"@/attributes/shape/fill/registry\";\r\nimport { strokeOps } from \"@/attributes/shape/stroke/stroke\";\r\nimport type { ResolvedTextRun, TextRun, TextSpan, FontStyle, TextAlign, TextCase, TextDecoration, VerticalAlign } from \"@/attributes/text/types\";\r\nimport { formatNumber } from \"@/components/builtins/text/number-format\";\r\nimport { numberNodePattern } from \"@/components/builtins/text/number-pattern\";\r\nimport type { PathData } from \"@/render/descriptors/path\";\r\nimport { PathBuilder } from \"@/render/descriptors/path-builder\";\r\nimport type { NodeOf } from \"@/components/factory/api\";\r\nimport { component2d } from \"@/components/factory/component2d\";\r\nimport { Types } from \"@/components/factory/types\";\r\nimport * as Paint from \"@/components/modules/paint\";\r\nimport * as TextLayout from \"@/components/modules/text-layout\";\r\nimport * as TextStyle from \"@/components/modules/text-style\";\r\n\r\nimport type { Node2DProps } from \"@/components/trees/2d/node2d\";\r\nimport type { Fill } from \"@/attributes/shape/fill/chain\";\r\nimport type { Stroke } from \"@/attributes/shape/stroke/stroke\";\r\nimport type { PaintProps } from \"@/components/builtins/geometry/geometry\";\r\nimport type { Shadow } from \"@/attributes/shape/shadow/shadow\";\r\n\r\n/**\r\n * The text built-ins. A glyph node paints like a shape, but has no outline to\r\n * lay an overlay over, so it takes Paint without one; its face comes from\r\n * TextStyle, which inherits what the author left unset.\r\n */\r\n\r\nconst { overlay: _overlay, ...glyphPaint } = Paint.state;\r\nconst { overlayTo: _overlayTo, ...glyphCommands } = Paint.commands;\r\n\r\n/** Glyphs hug themselves; `'autofit'` fills the box it fits to. */\r\nconst autofits = (state: { readonly fontSize: number | \"autofit\" }) => (state.fontSize === \"autofit\" ? \"fill\" : \"hug\");\r\n\r\nconst NO_RUNS: readonly never[] = [];\r\n\r\nfunction resolvePath(value: PathData | PathBuilder | null | undefined): PathData | null {\r\n if (value == null) return null;\r\n return value instanceof PathBuilder ? value.toCommands() : value;\r\n}\r\n\r\nfunction resolveRuns(value: TextRun[] | null | undefined): ResolvedTextRun[] {\r\n if (!Array.isArray(value)) return [];\r\n return value.map(({ fill, stroke, ...run }) => ({\r\n ...run,\r\n ...(fill === undefined ? {} : { fill: fillOps.resolve(fill) }),\r\n ...(stroke === undefined ? {} : { stroke: strokeOps.resolve(stroke) }),\r\n }));\r\n}\r\n\r\nconst textState = {\r\n ...glyphPaint,\r\n ...TextStyle.state,\r\n text: Types.text(\"\", { typing: true }),\r\n wrap: false,\r\n path: Types.custom<PathData | PathBuilder | null, PathData | null>(null, { resolve: resolvePath }),\r\n runs: Types.custom<TextRun[], ResolvedTextRun[]>([], { resolve: resolveRuns, animatable: false }),\r\n};\r\n\r\nconst textSource = (state: { readonly text: string; readonly wrap: boolean; readonly path: PathData | null; readonly runs: ResolvedTextRun[] }) =>\r\n ({ text: state.text, wraps: state.wrap, glyphPath: state.path, runs: state.runs });\r\n\r\n/** Copy somebody typed: wraps when asked, rides a path, styles stretches of itself. */\r\nexport const Text = component2d({\r\n key: \"text\",\r\n state: textState,\r\n defaults: {\r\n width: (state) => (state.fontSize === \"autofit\" || state.wrap ? \"fill\" : \"hug\"),\r\n height: autofits,\r\n },\r\n commands: {\r\n ...glyphCommands,\r\n append: {\r\n args: { text: Types.text(\"\", { multiline: true }) },\r\n run: (timeline, state) => timeline.tween({ text: state.text + timeline.args.text }),\r\n },\r\n prepend: {\r\n args: { text: Types.text(\"\", { multiline: true }) },\r\n run: (timeline, state) => timeline.tween({ text: timeline.args.text + state.text }),\r\n },\r\n },\r\n load: (loader, state) => TextLayout.load(loader, state, textSource(state)),\r\n measure: (measurer, state) => TextLayout.measure(measurer, state, textSource(state)),\r\n render: (ctx, state) => TextLayout.draw(ctx, state, textSource(state)),\r\n});\r\n\r\nconst numberState = {\r\n ...glyphPaint,\r\n ...TextStyle.state,\r\n value: 0,\r\n format: Types.custom<NumberFormat>(\"number\"),\r\n customPattern: \"\",\r\n fractionDigits: 0,\r\n grouped: true,\r\n currencySymbol: \"$\",\r\n};\r\n\r\nconst numberSource = (state: Parameters<typeof numberNodePattern>[0] & { readonly value: number }) =>\r\n ({ text: formatNumber(state.value, numberNodePattern(state)), wraps: false, glyphPath: null, runs: NO_RUNS });\r\n\r\n/** A figure, formatted from its value: a quantity, not copy. */\r\nexport const NumberNode = component2d({\r\n key: \"number\",\r\n state: numberState,\r\n defaults: { width: autofits, height: autofits },\r\n commands: { ...glyphCommands, countTo: { args: [\"value\"] } },\r\n load: (loader, state) => TextLayout.load(loader, state, numberSource(state)),\r\n measure: (measurer, state) => TextLayout.measure(measurer, state, numberSource(state)),\r\n render: (ctx, state) => TextLayout.draw(ctx, state, numberSource(state)),\r\n});\r\n\r\nconst { verticalAlign: _v, textDecoration: _d, textCase: _c, minFontSize: _m, ...richStyle } = TextStyle.state;\r\n\r\n/** Spans of text, each styled on its own, set on lines that break only where they say. */\r\nexport const RichText = component2d({\r\n key: \"richtext\",\r\n state: {\r\n ...glyphPaint,\r\n ...richStyle,\r\n fontSize: Types.number(48, { inherit: TextStyle.inherit(\"fontSize\", { autofit: false }) }),\r\n spans: Types.custom<TextSpan | TextSpan[], TextSpan[]>([], {\r\n resolve: (v) => (v == null ? [] : Array.isArray(v) ? v : [v]),\r\n }),\r\n },\r\n defaults: { width: \"hug\", height: \"hug\" },\r\n commands: { ...glyphCommands },\r\n load: (loader, state) => TextLayout.loadRichText(loader, state),\r\n measure: (measurer, state) => TextLayout.measureRichText(measurer, state),\r\n render: (ctx, state) => TextLayout.drawRichText(ctx, state),\r\n});\r\n\r\n/** The face text below it is set in, field by field, over whatever is inherited from above. */\r\nexport const DefaultTextStyle = component2d({\r\n key: \"default-text-style\",\r\n state: TextStyle.provided,\r\n provide: (state, inherited) => TextStyle.provide(state, inherited),\r\n render: (ctx, state) => ctx.textStyle(TextStyle.current(state), () => ctx.children()),\r\n});\r\n\r\nexport type Text = NodeOf<typeof Text>;\r\nexport type NumberNode = NodeOf<typeof NumberNode>;\r\nexport type RichText = NodeOf<typeof RichText>;\r\nexport type DefaultTextStyle = NodeOf<typeof DefaultTextStyle>;\r\n\r\n// What code building a text node names its props as.\r\n\r\n/** The fields a string is shaped and set by, shared by every node that draws glyphs. */\r\nexport interface TextBaseProps extends PaintProps {\r\n fontSize: number | 'autofit';\r\n fontFamily: string;\r\n fontWeight: number;\r\n fontStyle: FontStyle;\r\n letterSpacing: number;\r\n lineHeight: number;\r\n textAlign: TextAlign;\r\n verticalAlign: VerticalAlign;\r\n textDecoration: TextDecoration;\r\n textCase: TextCase;\r\n minFontSize: number;\r\n /**\r\n * Name of a typography preset from `theme.typography` (e.g. `\"header\"`).\r\n * Supplies any text-style prop (fontSize, fontWeight, …) not set explicitly\r\n * here. An explicit prop always wins over the preset; the preset wins over an\r\n * inherited `<DefaultTextStyle>`.\r\n */\r\n variant: string;\r\n}\r\n\r\nexport interface TextProps extends TextBaseProps {\r\n text: string;\r\n /** Wrap onto more lines once the text runs out of width. */\r\n wrap: boolean;\r\n /**\r\n * Wrap the text around a path (text-on-path). Accepts the same value shapes\r\n * as the {@link Path} node's `d`: an SVG path string, a `PathCommand[]`, or a\r\n * {@link PathBuilder}. When set, `wrap` and multi-line (`\\n`) are ignored\r\n * (single line), and `runs` are not applied.\r\n */\r\n path: PathData | PathBuilder;\r\n /**\r\n * Stretches of `text` styled apart from the node — see {@link TextRun}.\r\n * Where two overlap the later one wins; offsets past the end of the string\r\n * style nothing. Ignored on a `path`.\r\n */\r\n runs: TextRun[];\r\n}\r\n\r\n/**\r\n * How a {@link NumberNode}'s value is written down.\r\n *\r\n * `'custom'` hands the pattern over verbatim through\r\n * {@link NumberProps.customPattern}; the other three compose one from\r\n * {@link NumberProps.fractionDigits} and {@link NumberProps.grouped}.\r\n */\r\nexport type NumberFormat = \"currency\" | \"percent\" | \"number\" | \"custom\";\r\n\r\nexport interface NumberProps extends TextBaseProps {\r\n /** The numeric value to display. Tweenable — `to({ value })` counts. */\r\n value: number;\r\n /**\r\n * How the figure is written:\r\n * - `'number'` — plain decimal (the default)\r\n * - `'currency'` — money, prefixed with {@link NumberProps.currencySymbol}\r\n * - `'percent'` — multiplies by 100 and appends `%` (so `0.42` → `42%`)\r\n * - `'custom'` — {@link NumberProps.customPattern}, verbatim\r\n */\r\n format: NumberFormat;\r\n /**\r\n * The pattern, when {@link NumberProps.format} is `'custom'` — the same\r\n * grammar `formatNumber` takes (`#,##0.00`, `0.0%`, `$#,##0`).\r\n */\r\n customPattern: string;\r\n /**\r\n * Fixed number of decimal places. Always exactly this many, which is what\r\n * keeps a counting animation from flickering trailing digits as the value\r\n * crosses an integer boundary.\r\n */\r\n fractionDigits: number;\r\n /** Group digits in threes — `1,000` rather than `1000`. */\r\n grouped: boolean;\r\n /** The symbol a `'currency'` figure is prefixed with. */\r\n currencySymbol: string;\r\n}\r\n\r\nexport interface RichTextProps extends PaintProps {\r\n spans: TextSpan | TextSpan[];\r\n /** Default font family inherited by spans that don't set one. */\r\n fontFamily: string;\r\n /** Default font size inherited by spans that don't set one. */\r\n fontSize: number;\r\n /** Default font weight inherited by spans that don't set one. */\r\n fontWeight: number;\r\n /** Default font style inherited by spans that don't set one. */\r\n fontStyle: FontStyle;\r\n /** Default letter spacing inherited by spans that don't set one. */\r\n letterSpacing: number;\r\n /** Line height multiplier applied to each run's font size. */\r\n lineHeight: number;\r\n textAlign: TextAlign;\r\n /**\r\n * Name of a typography preset from `theme.typography` (e.g. `\"body\"`).\r\n * Supplies any node-level default (fontSize, fontWeight, …) not set\r\n * explicitly here, which `runs()` then folds into each span. An explicit prop\r\n * wins over the preset; the preset wins over an inherited `<DefaultTextStyle>`.\r\n */\r\n variant: string;\r\n}\r\n\r\nexport interface DefaultTextStyleProps extends Node2DProps {\r\n fontFamily: string;\r\n fontSize: number | 'autofit';\r\n fontWeight: number;\r\n fontStyle: FontStyle;\r\n letterSpacing: number;\r\n lineHeight: number;\r\n textAlign: TextAlign;\r\n fill: Fill;\r\n stroke: Stroke;\r\n shadow: Shadow;\r\n}\r\n"]}
1
+ {"version":3,"file":"text.js","sourceRoot":"","sources":["../../../../src/components/builtins/text/text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CA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IACzB,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC;IAClE,MAAM,EAAE,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;CACxF,CAAC,CAAC","sourcesContent":["import { fillOps } from \"@/attributes/shape/fill/registry\";\r\nimport { strokeOps } from \"@/attributes/shape/stroke/stroke\";\r\nimport type { ResolvedTextRun, TextRun, TextSpan, FontStyle, TextAlign, TextCase, TextDecoration, VerticalAlign } from \"@/attributes/text/types\";\r\nimport { formatNumber } from \"@/components/builtins/text/number-format\";\r\nimport { numberNodePattern } from \"@/components/builtins/text/number-pattern\";\r\nimport type { PathData } from \"@/render/descriptors/path\";\r\nimport { PathBuilder } from \"@/render/descriptors/path-builder\";\r\nimport type { NodeOf } from \"@/components/factory/api\";\r\nimport { component2d } from \"@/components/factory/component2d\";\r\nimport { Types } from \"@/components/factory/types\";\r\nimport * as Paint from \"@/components/modules/paint\";\r\nimport * as TextLayout from \"@/components/modules/text-layout\";\r\nimport * as TextStyle from \"@/components/modules/text-style\";\r\n\r\nimport type { Node2DProps } from \"@/components/trees/2d/node2d\";\r\nimport type { Fill } from \"@/attributes/shape/fill/chain\";\r\nimport type { Stroke } from \"@/attributes/shape/stroke/stroke\";\r\nimport type { PaintProps } from \"@/components/builtins/geometry/geometry\";\r\nimport type { Shadow } from \"@/attributes/shape/shadow/shadow\";\r\n\r\n/**\r\n * The text built-ins. A glyph node paints like a shape, but has no outline to\r\n * lay an overlay over, so it takes Paint without one; its face comes from\r\n * TextStyle, which inherits what the author left unset.\r\n */\r\n\r\nconst { overlay: _overlay, ...glyphPaint } = Paint.state;\r\nconst { overlayTo: _overlayTo, ...glyphCommands } = Paint.commands;\r\n\r\n/** Glyphs hug themselves; `'autofit'` fills the box it fits to. */\r\nconst autofits = (state: { readonly fontSize: number | \"autofit\" }) => (state.fontSize === \"autofit\" ? \"fill\" : \"hug\");\r\n\r\nconst NO_RUNS: readonly never[] = [];\r\n\r\nfunction resolvePath(value: PathData | PathBuilder | null | undefined): PathData | null {\r\n if (value == null) return null;\r\n return value instanceof PathBuilder ? value.toCommands() : value;\r\n}\r\n\r\nfunction resolveRuns(value: TextRun[] | null | undefined): ResolvedTextRun[] {\r\n if (!Array.isArray(value)) return [];\r\n return value.map(({ fill, stroke, ...run }) => ({\r\n ...run,\r\n ...(fill === undefined ? {} : { fill: fillOps.resolve(fill) }),\r\n ...(stroke === undefined ? {} : { stroke: strokeOps.resolve(stroke) }),\r\n }));\r\n}\r\n\r\nconst textState = {\r\n ...glyphPaint,\r\n ...TextStyle.state,\r\n text: Types.text(\"\", { typing: true }),\r\n wrap: false,\r\n path: Types.custom<PathData | PathBuilder | null, PathData | null>(null, { resolve: resolvePath }),\r\n runs: Types.custom<TextRun[], ResolvedTextRun[]>([], { resolve: resolveRuns, animatable: false }),\r\n};\r\n\r\nconst textSource = (state: { readonly text: string; readonly wrap: boolean; readonly path: PathData | null; readonly runs: ResolvedTextRun[] }) =>\r\n ({ text: state.text, wraps: state.wrap, glyphPath: state.path, runs: state.runs });\r\n\r\n/** Copy somebody typed: wraps when asked, rides a path, styles stretches of itself. */\r\nexport const Text = component2d({\r\n key: \"text\",\r\n allowedChildren: [],\r\n state: textState,\r\n defaults: {\r\n width: (state) => (state.fontSize === \"autofit\" || state.wrap ? \"fill\" : \"hug\"),\r\n height: autofits,\r\n },\r\n commands: {\r\n ...glyphCommands,\r\n append: {\r\n args: { text: Types.text(\"\", { multiline: true }) },\r\n run: (timeline, state) => timeline.tween({ text: state.text + timeline.args.text }),\r\n },\r\n prepend: {\r\n args: { text: Types.text(\"\", { multiline: true }) },\r\n run: (timeline, state) => timeline.tween({ text: timeline.args.text + state.text }),\r\n },\r\n },\r\n load: (loader, state) => TextLayout.load(loader, state, textSource(state)),\r\n measure: (measurer, state) => TextLayout.measure(measurer, state, textSource(state)),\r\n render: (ctx, state) => TextLayout.draw(ctx, state, textSource(state)),\r\n});\r\n\r\nconst numberState = {\r\n ...glyphPaint,\r\n ...TextStyle.state,\r\n value: 0,\r\n format: Types.custom<NumberFormat>(\"number\"),\r\n customPattern: \"\",\r\n fractionDigits: 0,\r\n grouped: true,\r\n currencySymbol: \"$\",\r\n};\r\n\r\nconst numberSource = (state: Parameters<typeof numberNodePattern>[0] & { readonly value: number }) =>\r\n ({ text: formatNumber(state.value, numberNodePattern(state)), wraps: false, glyphPath: null, runs: NO_RUNS });\r\n\r\n/** A figure, formatted from its value: a quantity, not copy. */\r\nexport const NumberNode = component2d({\r\n key: \"number\",\r\n allowedChildren: [],\r\n state: numberState,\r\n defaults: { width: autofits, height: autofits },\r\n commands: { ...glyphCommands, countTo: { args: [\"value\"] } },\r\n load: (loader, state) => TextLayout.load(loader, state, numberSource(state)),\r\n measure: (measurer, state) => TextLayout.measure(measurer, state, numberSource(state)),\r\n render: (ctx, state) => TextLayout.draw(ctx, state, numberSource(state)),\r\n});\r\n\r\nconst { verticalAlign: _v, textDecoration: _d, textCase: _c, minFontSize: _m, ...richStyle } = TextStyle.state;\r\n\r\n/** Spans of text, each styled on its own, set on lines that break only where they say. */\r\nexport const RichText = component2d({\r\n key: \"richtext\",\r\n allowedChildren: [],\r\n state: {\r\n ...glyphPaint,\r\n ...richStyle,\r\n fontSize: Types.number(48, { inherit: TextStyle.inherit(\"fontSize\", { autofit: false }) }),\r\n spans: Types.custom<TextSpan | TextSpan[], TextSpan[]>([], {\r\n resolve: (v) => (v == null ? [] : Array.isArray(v) ? v : [v]),\r\n }),\r\n },\r\n defaults: { width: \"hug\", height: \"hug\" },\r\n commands: { ...glyphCommands },\r\n load: (loader, state) => TextLayout.loadRichText(loader, state),\r\n measure: (measurer, state) => TextLayout.measureRichText(measurer, state),\r\n render: (ctx, state) => TextLayout.drawRichText(ctx, state),\r\n});\r\n\r\n/** The face text below it is set in, field by field, over whatever is inherited from above. */\r\nexport const DefaultTextStyle = component2d({\r\n key: \"default-text-style\",\r\n state: TextStyle.provided,\r\n provide: (state, inherited) => TextStyle.provide(state, inherited),\r\n render: (ctx, state) => ctx.textStyle(TextStyle.current(state), () => ctx.children()),\r\n});\r\n\r\nexport type Text = NodeOf<typeof Text>;\r\nexport type NumberNode = NodeOf<typeof NumberNode>;\r\nexport type RichText = NodeOf<typeof RichText>;\r\nexport type DefaultTextStyle = NodeOf<typeof DefaultTextStyle>;\r\n\r\n// What code building a text node names its props as.\r\n\r\n/** The fields a string is shaped and set by, shared by every node that draws glyphs. */\r\nexport interface TextBaseProps extends PaintProps {\r\n fontSize: number | 'autofit';\r\n fontFamily: string;\r\n fontWeight: number;\r\n fontStyle: FontStyle;\r\n letterSpacing: number;\r\n lineHeight: number;\r\n textAlign: TextAlign;\r\n verticalAlign: VerticalAlign;\r\n textDecoration: TextDecoration;\r\n textCase: TextCase;\r\n minFontSize: number;\r\n /**\r\n * Name of a typography preset from `theme.typography` (e.g. `\"header\"`).\r\n * Supplies any text-style prop (fontSize, fontWeight, …) not set explicitly\r\n * here. An explicit prop always wins over the preset; the preset wins over an\r\n * inherited `<DefaultTextStyle>`.\r\n */\r\n variant: string;\r\n}\r\n\r\nexport interface TextProps extends TextBaseProps {\r\n text: string;\r\n /** Wrap onto more lines once the text runs out of width. */\r\n wrap: boolean;\r\n /**\r\n * Wrap the text around a path (text-on-path). Accepts the same value shapes\r\n * as the {@link Path} node's `d`: an SVG path string, a `PathCommand[]`, or a\r\n * {@link PathBuilder}. When set, `wrap` and multi-line (`\\n`) are ignored\r\n * (single line), and `runs` are not applied.\r\n */\r\n path: PathData | PathBuilder;\r\n /**\r\n * Stretches of `text` styled apart from the node — see {@link TextRun}.\r\n * Where two overlap the later one wins; offsets past the end of the string\r\n * style nothing. Ignored on a `path`.\r\n */\r\n runs: TextRun[];\r\n}\r\n\r\n/**\r\n * How a {@link NumberNode}'s value is written down.\r\n *\r\n * `'custom'` hands the pattern over verbatim through\r\n * {@link NumberProps.customPattern}; the other three compose one from\r\n * {@link NumberProps.fractionDigits} and {@link NumberProps.grouped}.\r\n */\r\nexport type NumberFormat = \"currency\" | \"percent\" | \"number\" | \"custom\";\r\n\r\nexport interface NumberProps extends TextBaseProps {\r\n /** The numeric value to display. Tweenable — `to({ value })` counts. */\r\n value: number;\r\n /**\r\n * How the figure is written:\r\n * - `'number'` — plain decimal (the default)\r\n * - `'currency'` — money, prefixed with {@link NumberProps.currencySymbol}\r\n * - `'percent'` — multiplies by 100 and appends `%` (so `0.42` → `42%`)\r\n * - `'custom'` — {@link NumberProps.customPattern}, verbatim\r\n */\r\n format: NumberFormat;\r\n /**\r\n * The pattern, when {@link NumberProps.format} is `'custom'` — the same\r\n * grammar `formatNumber` takes (`#,##0.00`, `0.0%`, `$#,##0`).\r\n */\r\n customPattern: string;\r\n /**\r\n * Fixed number of decimal places. Always exactly this many, which is what\r\n * keeps a counting animation from flickering trailing digits as the value\r\n * crosses an integer boundary.\r\n */\r\n fractionDigits: number;\r\n /** Group digits in threes — `1,000` rather than `1000`. */\r\n grouped: boolean;\r\n /** The symbol a `'currency'` figure is prefixed with. */\r\n currencySymbol: string;\r\n}\r\n\r\nexport interface RichTextProps extends PaintProps {\r\n spans: TextSpan | TextSpan[];\r\n /** Default font family inherited by spans that don't set one. */\r\n fontFamily: string;\r\n /** Default font size inherited by spans that don't set one. */\r\n fontSize: number;\r\n /** Default font weight inherited by spans that don't set one. */\r\n fontWeight: number;\r\n /** Default font style inherited by spans that don't set one. */\r\n fontStyle: FontStyle;\r\n /** Default letter spacing inherited by spans that don't set one. */\r\n letterSpacing: number;\r\n /** Line height multiplier applied to each run's font size. */\r\n lineHeight: number;\r\n textAlign: TextAlign;\r\n /**\r\n * Name of a typography preset from `theme.typography` (e.g. `\"body\"`).\r\n * Supplies any node-level default (fontSize, fontWeight, …) not set\r\n * explicitly here, which `runs()` then folds into each span. An explicit prop\r\n * wins over the preset; the preset wins over an inherited `<DefaultTextStyle>`.\r\n */\r\n variant: string;\r\n}\r\n\r\nexport interface DefaultTextStyleProps extends Node2DProps {\r\n fontFamily: string;\r\n fontSize: number | 'autofit';\r\n fontWeight: number;\r\n fontStyle: FontStyle;\r\n letterSpacing: number;\r\n lineHeight: number;\r\n textAlign: TextAlign;\r\n fill: Fill;\r\n stroke: Stroke;\r\n shadow: Shadow;\r\n}\r\n"]}
@@ -1,8 +1,4 @@
1
- /**
2
- * The types of the component factories — the same shapes
3
- * `experiments/component-syntax/src/api.ts` proves, trimmed to the 2D tree
4
- * for this first runtime slice.
5
- */
1
+ /** The types of the component factories. */
6
2
  import type { Alignment } from "../../attributes/layout/alignment.js";
7
3
  import type { InsetsProps, InsetsResolved } from "../../attributes/layout/insets.js";
8
4
  import type { Size2D, SizeInput } from "../../attributes/layout/size.js";
@@ -16,9 +12,10 @@ import type { CameraScope, ChildPlane, Node2D, Node2DProps } from "../../compone
16
12
  import type { Node } from "../../components/trees/node/node.js";
17
13
  import type { SpaceCamera } from "../../attributes/layout/space3d.js";
18
14
  import type { TextStyle } from "../../attributes/text/types.js";
19
- import type { AudioFilter } from "../../attributes/audio/filters/chain.js";
20
- import type { Param } from "../../attributes/audio/filters/curve.js";
21
- import type { AudioFilterItem } from "../../attributes/audio/filters/union.js";
15
+ import type { AudioEffectsInput } from "../../attributes/audio/effects/chain.js";
16
+ import type { Param } from "../../attributes/audio/ramp.js";
17
+ import type { AudioTransition } from "../../attributes/audio/transition.js";
18
+ import type { AudioEffect } from "../../attributes/audio/effects/union.js";
22
19
  import type { Context } from "../../util/context.js";
23
20
  import type { RefTarget } from "../../util/reference.js";
24
21
  import type { Command } from "../../tween/command.js";
@@ -97,7 +94,9 @@ export interface BoxAudioState {
97
94
  readonly volume: Type<Param>;
98
95
  readonly pan: Type<Param>;
99
96
  readonly mute: Type<boolean>;
100
- readonly filters: Type<AudioFilter, AudioFilterItem[]>;
97
+ readonly effects: Type<AudioEffectsInput, AudioEffect[]>;
98
+ readonly transitionIn: Type<AudioTransition | undefined>;
99
+ readonly transitionOut: Type<AudioTransition | undefined>;
101
100
  }
102
101
  type BuiltIn2DCommand = "moveTo" | "fadeTo" | "rotateTo" | "scaleTo" | "layoutTo" | "effectTo" | "pulse" | "wiggle" | "to" | "set";
103
102
  type Merge<P, S> = Omit<P, keyof S> & S;
@@ -364,8 +363,11 @@ export interface SoundOptions {
364
363
  readonly trimStart?: number;
365
364
  readonly trimEnd?: number;
366
365
  readonly loop?: boolean;
367
- readonly volume?: number;
368
- readonly filters?: AudioFilter;
366
+ readonly volume?: Param;
367
+ readonly speed?: Param;
368
+ readonly effects?: AudioEffectsInput;
369
+ readonly transitionIn?: AudioTransition;
370
+ readonly transitionOut?: AudioTransition;
369
371
  /** Missing from the catalog, it is skipped rather than an error. */
370
372
  readonly optional?: boolean;
371
373
  /** The id of the bus it feeds. A sound node feeds the buses it sits in. */
@@ -400,10 +402,12 @@ export type CommandEntry<A, S, V, K> = (A extends readonly unknown[] ? {
400
402
  readonly args: A & readonly (keyof Writes<S> & string)[];
401
403
  readonly run?: undefined;
402
404
  readonly easing?: EasingFunction;
405
+ readonly entrance?: boolean;
403
406
  } : never) | ((timeline: Timeline<{}, S>, state: V, children: K) => Piece) | (A extends readonly unknown[] ? never : {
404
407
  readonly args: A;
405
408
  run(timeline: Timeline<Values<A>, S>, state: V, children: K): Piece;
406
409
  readonly easing?: EasingFunction;
410
+ readonly entrance?: boolean;
407
411
  });
408
412
  export type CommandsSpec<C, S, V, K> = {
409
413
  [N in keyof C]: CommandEntry<C[N], S, V, K>;
@@ -427,6 +431,12 @@ export interface Spec2D<K extends string, All, S, C, A, B> {
427
431
  readonly key: K;
428
432
  readonly state?: S;
429
433
  readonly defaults?: Defaults<All, A>;
434
+ /** Old prop keys a stored row may still carry → the entry each became. */
435
+ readonly renamed?: Readonly<Record<string, string>>;
436
+ /** Entries that still work but should no longer be set: why, and what to use instead. */
437
+ readonly deprecated?: Readonly<Record<string, string>>;
438
+ /** Value hooks by entry, or by an old key in `renamed` to convert only what was stored under it (`migrateNodeProps`). */
439
+ readonly migrate?: Readonly<Record<string, (value: unknown) => unknown>>;
430
440
  readonly allowedChildren?: A;
431
441
  /** The components it goes only inside; unsaid, wherever its tree allows. A row elsewhere fails its build. */
432
442
  readonly allowedParents?: readonly AnyComponent[];
@@ -454,6 +464,12 @@ export interface SpecAudio<K extends string, All, S, C, A, B> {
454
464
  readonly key: K;
455
465
  readonly state?: S;
456
466
  readonly defaults?: Defaults<All, A>;
467
+ /** Old prop keys a stored row may still carry → the entry each became. */
468
+ readonly renamed?: Readonly<Record<string, string>>;
469
+ /** Entries that still work but should no longer be set: why, and what to use instead. */
470
+ readonly deprecated?: Readonly<Record<string, string>>;
471
+ /** Value hooks by entry, or by an old key in `renamed` to convert only what was stored under it (`migrateNodeProps`). */
472
+ readonly migrate?: Readonly<Record<string, (value: unknown) => unknown>>;
457
473
  readonly allowedChildren?: A;
458
474
  /** The components it goes only inside; unsaid, wherever its tree allows. A row elsewhere fails its build. */
459
475
  readonly allowedParents?: readonly AnyComponent[];
@@ -490,6 +506,11 @@ export type CallProps3D<S, R = Node3D> = TreeCallProps<S, R> & Placement3DProps;
490
506
  /** What a 3D `render` draws into: today's scene calls, with a camera standing where its node stands. */
491
507
  export interface RenderContext3D {
492
508
  readonly time: Clock;
509
+ /**
510
+ * `render` runs only so what it draws loads, and nothing is shown: only the
511
+ * materials, models and environment count, so geometry built from data may be skipped.
512
+ */
513
+ readonly declaring: boolean;
493
514
  draw(graphics: Graphics3D | null | undefined): void;
494
515
  light(light: LightData3D, transform?: Transform3D): void;
495
516
  /** The scene's camera, placed by this node's transform. A node that stands one is no group: its children stay in its parent's space. */
@@ -501,6 +522,12 @@ export interface Spec3D<K extends string, All, S, C, A, B> {
501
522
  readonly key: K;
502
523
  readonly state?: S;
503
524
  readonly defaults?: Defaults<All, A>;
525
+ /** Old prop keys a stored row may still carry → the entry each became. */
526
+ readonly renamed?: Readonly<Record<string, string>>;
527
+ /** Entries that still work but should no longer be set: why, and what to use instead. */
528
+ readonly deprecated?: Readonly<Record<string, string>>;
529
+ /** Value hooks by entry, or by an old key in `renamed` to convert only what was stored under it (`migrateNodeProps`). */
530
+ readonly migrate?: Readonly<Record<string, (value: unknown) => unknown>>;
504
531
  readonly allowedChildren?: A;
505
532
  /** The components it goes only inside; unsaid, wherever its tree allows. A row elsewhere fails its build. */
506
533
  readonly allowedParents?: readonly AnyComponent[];
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../src/components/factory/api.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACjG,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;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