shaders 2.2.6 → 2.2.9

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 (291) hide show
  1. package/dist/core/Stretch-C8iYAgNS.js +104 -0
  2. package/dist/core/index.js +170 -168
  3. package/dist/core/shaderRegistry.d.ts.map +1 -1
  4. package/dist/core/shaders/Stretch/index.d.ts +45 -0
  5. package/dist/core/shaders/Stretch/index.d.ts.map +1 -0
  6. package/dist/core/shaders/Stretch/index.js +8 -0
  7. package/dist/core/shaders/Swirl/index.js +1 -1
  8. package/dist/core/shaders/TiltShift/index.js +1 -1
  9. package/dist/core/shaders/Tritone/index.js +1 -1
  10. package/dist/core/shaders/Twirl/index.js +1 -1
  11. package/dist/core/shaders/Vibrance/index.js +1 -1
  12. package/dist/core/shaders/WaveDistortion/index.js +1 -1
  13. package/dist/core/shaders/ZoomBlur/index.js +1 -1
  14. package/dist/react/generatePresetCode-CbulNGo3.js +316 -0
  15. package/dist/react/generatePresetCode-ClK4i9O1.cjs +13 -0
  16. package/dist/react/index.cjs +398 -409
  17. package/dist/react/index.js +43985 -44301
  18. package/dist/react/utils/generatePresetCode.cjs +1 -13
  19. package/dist/react/utils/generatePresetCode.js +3 -596
  20. package/dist/registry.js +158 -0
  21. package/dist/svelte/components/Stretch.svelte.d.ts +4 -2
  22. package/dist/svelte/generatePresetCode-CbulNGo3.js +316 -0
  23. package/dist/{react/utils/generatePresetCode.d.ts → svelte/generatePresetCode.template.d.ts} +1 -2
  24. package/dist/svelte/index.d.ts +1 -0
  25. package/dist/svelte/index.js +43952 -44257
  26. package/dist/svelte/utils/generatePresetCode.js +3 -596
  27. package/dist/vue/generatePresetCode-Baa8DyZE.js +322 -0
  28. package/dist/vue/index.js +10152 -9953
  29. package/dist/vue/utils/generatePresetCode.js +1 -1
  30. package/package.json +6 -1
  31. package/dist/react/codegen.d.ts +0 -1
  32. package/dist/react/components/AngularBlur.d.ts +0 -31
  33. package/dist/react/components/AngularBlur.d.ts.map +0 -1
  34. package/dist/react/components/Ascii.d.ts +0 -31
  35. package/dist/react/components/Ascii.d.ts.map +0 -1
  36. package/dist/react/components/Blob.d.ts +0 -31
  37. package/dist/react/components/Blob.d.ts.map +0 -1
  38. package/dist/react/components/Blur.d.ts +0 -31
  39. package/dist/react/components/Blur.d.ts.map +0 -1
  40. package/dist/react/components/Bulge.d.ts +0 -31
  41. package/dist/react/components/Bulge.d.ts.map +0 -1
  42. package/dist/react/components/CRTScreen.d.ts +0 -31
  43. package/dist/react/components/CRTScreen.d.ts.map +0 -1
  44. package/dist/react/components/ChannelBlur.d.ts +0 -31
  45. package/dist/react/components/ChannelBlur.d.ts.map +0 -1
  46. package/dist/react/components/Checkerboard.d.ts +0 -31
  47. package/dist/react/components/Checkerboard.d.ts.map +0 -1
  48. package/dist/react/components/ChromaFlow.d.ts +0 -31
  49. package/dist/react/components/ChromaFlow.d.ts.map +0 -1
  50. package/dist/react/components/ChromaticAberration.d.ts +0 -31
  51. package/dist/react/components/ChromaticAberration.d.ts.map +0 -1
  52. package/dist/react/components/Circle.d.ts +0 -31
  53. package/dist/react/components/Circle.d.ts.map +0 -1
  54. package/dist/react/components/ColorMapping.d.ts +0 -29
  55. package/dist/react/components/ColorMapping.d.ts.map +0 -1
  56. package/dist/react/components/CursorTrail.d.ts +0 -31
  57. package/dist/react/components/CursorTrail.d.ts.map +0 -1
  58. package/dist/react/components/DiffuseBlur.d.ts +0 -31
  59. package/dist/react/components/DiffuseBlur.d.ts.map +0 -1
  60. package/dist/react/components/Dither.d.ts +0 -31
  61. package/dist/react/components/Dither.d.ts.map +0 -1
  62. package/dist/react/components/DotGrid.d.ts +0 -31
  63. package/dist/react/components/DotGrid.d.ts.map +0 -1
  64. package/dist/react/components/Duotone.d.ts +0 -31
  65. package/dist/react/components/Duotone.d.ts.map +0 -1
  66. package/dist/react/components/Exposure.d.ts +0 -29
  67. package/dist/react/components/Exposure.d.ts.map +0 -1
  68. package/dist/react/components/FilmGrain.d.ts +0 -31
  69. package/dist/react/components/FilmGrain.d.ts.map +0 -1
  70. package/dist/react/components/FloatingParticles.d.ts +0 -31
  71. package/dist/react/components/FloatingParticles.d.ts.map +0 -1
  72. package/dist/react/components/Glass.d.ts +0 -31
  73. package/dist/react/components/Glass.d.ts.map +0 -1
  74. package/dist/react/components/GlassTiles.d.ts +0 -31
  75. package/dist/react/components/GlassTiles.d.ts.map +0 -1
  76. package/dist/react/components/Glitch.d.ts +0 -29
  77. package/dist/react/components/Glitch.d.ts.map +0 -1
  78. package/dist/react/components/Glow.d.ts +0 -31
  79. package/dist/react/components/Glow.d.ts.map +0 -1
  80. package/dist/react/components/Godrays.d.ts +0 -31
  81. package/dist/react/components/Godrays.d.ts.map +0 -1
  82. package/dist/react/components/Grayscale.d.ts +0 -31
  83. package/dist/react/components/Grayscale.d.ts.map +0 -1
  84. package/dist/react/components/Grid.d.ts +0 -31
  85. package/dist/react/components/Grid.d.ts.map +0 -1
  86. package/dist/react/components/GridDistortion.d.ts +0 -31
  87. package/dist/react/components/GridDistortion.d.ts.map +0 -1
  88. package/dist/react/components/Group.d.ts +0 -31
  89. package/dist/react/components/Group.d.ts.map +0 -1
  90. package/dist/react/components/Halftone.d.ts +0 -31
  91. package/dist/react/components/Halftone.d.ts.map +0 -1
  92. package/dist/react/components/HueShift.d.ts +0 -31
  93. package/dist/react/components/HueShift.d.ts.map +0 -1
  94. package/dist/react/components/ImageTexture.d.ts +0 -31
  95. package/dist/react/components/ImageTexture.d.ts.map +0 -1
  96. package/dist/react/components/Invert.d.ts +0 -31
  97. package/dist/react/components/Invert.d.ts.map +0 -1
  98. package/dist/react/components/LinearBlur.d.ts +0 -31
  99. package/dist/react/components/LinearBlur.d.ts.map +0 -1
  100. package/dist/react/components/LinearGradient.d.ts +0 -31
  101. package/dist/react/components/LinearGradient.d.ts.map +0 -1
  102. package/dist/react/components/Liquify.d.ts +0 -31
  103. package/dist/react/components/Liquify.d.ts.map +0 -1
  104. package/dist/react/components/Mirror.d.ts +0 -29
  105. package/dist/react/components/Mirror.d.ts.map +0 -1
  106. package/dist/react/components/PerlinNoise.d.ts +0 -29
  107. package/dist/react/components/PerlinNoise.d.ts.map +0 -1
  108. package/dist/react/components/Pixelate.d.ts +0 -31
  109. package/dist/react/components/Pixelate.d.ts.map +0 -1
  110. package/dist/react/components/PolarCoordinates.d.ts +0 -31
  111. package/dist/react/components/PolarCoordinates.d.ts.map +0 -1
  112. package/dist/react/components/Posterize.d.ts +0 -31
  113. package/dist/react/components/Posterize.d.ts.map +0 -1
  114. package/dist/react/components/ProgressiveBlur.d.ts +0 -31
  115. package/dist/react/components/ProgressiveBlur.d.ts.map +0 -1
  116. package/dist/react/components/RadialBlur.d.ts +0 -29
  117. package/dist/react/components/RadialBlur.d.ts.map +0 -1
  118. package/dist/react/components/RadialGradient.d.ts +0 -31
  119. package/dist/react/components/RadialGradient.d.ts.map +0 -1
  120. package/dist/react/components/RectangularCoordinates.d.ts +0 -31
  121. package/dist/react/components/RectangularCoordinates.d.ts.map +0 -1
  122. package/dist/react/components/Ripples.d.ts +0 -31
  123. package/dist/react/components/Ripples.d.ts.map +0 -1
  124. package/dist/react/components/Saturation.d.ts +0 -31
  125. package/dist/react/components/Saturation.d.ts.map +0 -1
  126. package/dist/react/components/SimplexNoise.d.ts +0 -31
  127. package/dist/react/components/SimplexNoise.d.ts.map +0 -1
  128. package/dist/react/components/SineWave.d.ts +0 -31
  129. package/dist/react/components/SineWave.d.ts.map +0 -1
  130. package/dist/react/components/SolidColor.d.ts +0 -31
  131. package/dist/react/components/SolidColor.d.ts.map +0 -1
  132. package/dist/react/components/Spiral.d.ts +0 -31
  133. package/dist/react/components/Spiral.d.ts.map +0 -1
  134. package/dist/react/components/Strands.d.ts +0 -31
  135. package/dist/react/components/Strands.d.ts.map +0 -1
  136. package/dist/react/components/Stretch.d.ts +0 -29
  137. package/dist/react/components/Stretch.d.ts.map +0 -1
  138. package/dist/react/components/Swirl.d.ts +0 -31
  139. package/dist/react/components/Swirl.d.ts.map +0 -1
  140. package/dist/react/components/TiltShift.d.ts +0 -31
  141. package/dist/react/components/TiltShift.d.ts.map +0 -1
  142. package/dist/react/components/Tint.d.ts +0 -29
  143. package/dist/react/components/Tint.d.ts.map +0 -1
  144. package/dist/react/components/Tritone.d.ts +0 -31
  145. package/dist/react/components/Tritone.d.ts.map +0 -1
  146. package/dist/react/components/Twirl.d.ts +0 -31
  147. package/dist/react/components/Twirl.d.ts.map +0 -1
  148. package/dist/react/components/VCR.d.ts +0 -29
  149. package/dist/react/components/VCR.d.ts.map +0 -1
  150. package/dist/react/components/Vibrance.d.ts +0 -31
  151. package/dist/react/components/Vibrance.d.ts.map +0 -1
  152. package/dist/react/components/Vignette.d.ts +0 -29
  153. package/dist/react/components/Vignette.d.ts.map +0 -1
  154. package/dist/react/components/Voronoi.d.ts +0 -29
  155. package/dist/react/components/Voronoi.d.ts.map +0 -1
  156. package/dist/react/components/WaveDistortion.d.ts +0 -31
  157. package/dist/react/components/WaveDistortion.d.ts.map +0 -1
  158. package/dist/react/components/ZoomBlur.d.ts +0 -31
  159. package/dist/react/components/ZoomBlur.d.ts.map +0 -1
  160. package/dist/react/index.d.ts +0 -55
  161. package/dist/react/index.d.ts.map +0 -1
  162. package/dist/react/utils/generatePresetCode.d.ts.map +0 -1
  163. package/dist/svelte/components/ColorMapping.svelte.d.ts +0 -17
  164. package/dist/svelte/components/Exposure.svelte.d.ts +0 -17
  165. package/dist/svelte/components/Glass.svelte.d.ts +0 -19
  166. package/dist/svelte/components/Glitch.svelte.d.ts +0 -17
  167. package/dist/svelte/components/Mirror.svelte.d.ts +0 -17
  168. package/dist/svelte/components/PerlinNoise.svelte.d.ts +0 -17
  169. package/dist/svelte/components/RadialBlur.svelte.d.ts +0 -17
  170. package/dist/svelte/components/Tint.svelte.d.ts +0 -17
  171. package/dist/svelte/components/VCR.svelte.d.ts +0 -17
  172. package/dist/svelte/components/Vignette.svelte.d.ts +0 -17
  173. package/dist/svelte/components/Voronoi.svelte.d.ts +0 -17
  174. package/dist/vue/codegen.d.ts +0 -1
  175. package/dist/vue/components/AngularBlur.vue.d.ts +0 -57
  176. package/dist/vue/components/AngularBlur.vue.d.ts.map +0 -1
  177. package/dist/vue/components/Ascii.vue.d.ts +0 -57
  178. package/dist/vue/components/Ascii.vue.d.ts.map +0 -1
  179. package/dist/vue/components/Blob.vue.d.ts +0 -57
  180. package/dist/vue/components/Blob.vue.d.ts.map +0 -1
  181. package/dist/vue/components/Blur.vue.d.ts +0 -57
  182. package/dist/vue/components/Blur.vue.d.ts.map +0 -1
  183. package/dist/vue/components/Bulge.vue.d.ts +0 -57
  184. package/dist/vue/components/Bulge.vue.d.ts.map +0 -1
  185. package/dist/vue/components/CRTScreen.vue.d.ts +0 -57
  186. package/dist/vue/components/CRTScreen.vue.d.ts.map +0 -1
  187. package/dist/vue/components/ChannelBlur.vue.d.ts +0 -57
  188. package/dist/vue/components/ChannelBlur.vue.d.ts.map +0 -1
  189. package/dist/vue/components/Checkerboard.vue.d.ts +0 -57
  190. package/dist/vue/components/Checkerboard.vue.d.ts.map +0 -1
  191. package/dist/vue/components/ChromaFlow.vue.d.ts +0 -57
  192. package/dist/vue/components/ChromaFlow.vue.d.ts.map +0 -1
  193. package/dist/vue/components/ChromaticAberration.vue.d.ts +0 -57
  194. package/dist/vue/components/ChromaticAberration.vue.d.ts.map +0 -1
  195. package/dist/vue/components/Circle.vue.d.ts +0 -57
  196. package/dist/vue/components/Circle.vue.d.ts.map +0 -1
  197. package/dist/vue/components/CursorTrail.vue.d.ts +0 -57
  198. package/dist/vue/components/CursorTrail.vue.d.ts.map +0 -1
  199. package/dist/vue/components/DiffuseBlur.vue.d.ts +0 -57
  200. package/dist/vue/components/DiffuseBlur.vue.d.ts.map +0 -1
  201. package/dist/vue/components/Dither.vue.d.ts +0 -57
  202. package/dist/vue/components/Dither.vue.d.ts.map +0 -1
  203. package/dist/vue/components/DotGrid.vue.d.ts +0 -57
  204. package/dist/vue/components/DotGrid.vue.d.ts.map +0 -1
  205. package/dist/vue/components/Duotone.vue.d.ts +0 -57
  206. package/dist/vue/components/Duotone.vue.d.ts.map +0 -1
  207. package/dist/vue/components/FilmGrain.vue.d.ts +0 -57
  208. package/dist/vue/components/FilmGrain.vue.d.ts.map +0 -1
  209. package/dist/vue/components/FloatingParticles.vue.d.ts +0 -57
  210. package/dist/vue/components/FloatingParticles.vue.d.ts.map +0 -1
  211. package/dist/vue/components/GlassTiles.vue.d.ts +0 -57
  212. package/dist/vue/components/GlassTiles.vue.d.ts.map +0 -1
  213. package/dist/vue/components/Glow.vue.d.ts +0 -57
  214. package/dist/vue/components/Glow.vue.d.ts.map +0 -1
  215. package/dist/vue/components/Godrays.vue.d.ts +0 -57
  216. package/dist/vue/components/Godrays.vue.d.ts.map +0 -1
  217. package/dist/vue/components/Grayscale.vue.d.ts +0 -57
  218. package/dist/vue/components/Grayscale.vue.d.ts.map +0 -1
  219. package/dist/vue/components/Grid.vue.d.ts +0 -57
  220. package/dist/vue/components/Grid.vue.d.ts.map +0 -1
  221. package/dist/vue/components/GridDistortion.vue.d.ts +0 -57
  222. package/dist/vue/components/GridDistortion.vue.d.ts.map +0 -1
  223. package/dist/vue/components/Group.vue.d.ts +0 -57
  224. package/dist/vue/components/Group.vue.d.ts.map +0 -1
  225. package/dist/vue/components/HalfTone.vue.d.ts +0 -57
  226. package/dist/vue/components/HalfTone.vue.d.ts.map +0 -1
  227. package/dist/vue/components/HueShift.vue.d.ts +0 -57
  228. package/dist/vue/components/HueShift.vue.d.ts.map +0 -1
  229. package/dist/vue/components/ImageTexture.vue.d.ts +0 -57
  230. package/dist/vue/components/ImageTexture.vue.d.ts.map +0 -1
  231. package/dist/vue/components/Invert.vue.d.ts +0 -57
  232. package/dist/vue/components/Invert.vue.d.ts.map +0 -1
  233. package/dist/vue/components/LinearBlur.vue.d.ts +0 -57
  234. package/dist/vue/components/LinearBlur.vue.d.ts.map +0 -1
  235. package/dist/vue/components/LinearGradient.vue.d.ts +0 -57
  236. package/dist/vue/components/LinearGradient.vue.d.ts.map +0 -1
  237. package/dist/vue/components/Liquify.vue.d.ts +0 -57
  238. package/dist/vue/components/Liquify.vue.d.ts.map +0 -1
  239. package/dist/vue/components/Pixelate.vue.d.ts +0 -57
  240. package/dist/vue/components/Pixelate.vue.d.ts.map +0 -1
  241. package/dist/vue/components/PolarCoordinates.vue.d.ts +0 -57
  242. package/dist/vue/components/PolarCoordinates.vue.d.ts.map +0 -1
  243. package/dist/vue/components/Posterize.vue.d.ts +0 -57
  244. package/dist/vue/components/Posterize.vue.d.ts.map +0 -1
  245. package/dist/vue/components/ProgressiveBlur.vue.d.ts +0 -57
  246. package/dist/vue/components/ProgressiveBlur.vue.d.ts.map +0 -1
  247. package/dist/vue/components/RadialGradient.vue.d.ts +0 -57
  248. package/dist/vue/components/RadialGradient.vue.d.ts.map +0 -1
  249. package/dist/vue/components/RectangularCoordinates.vue.d.ts +0 -57
  250. package/dist/vue/components/RectangularCoordinates.vue.d.ts.map +0 -1
  251. package/dist/vue/components/Ripples.vue.d.ts +0 -57
  252. package/dist/vue/components/Ripples.vue.d.ts.map +0 -1
  253. package/dist/vue/components/Saturation.vue.d.ts +0 -57
  254. package/dist/vue/components/Saturation.vue.d.ts.map +0 -1
  255. package/dist/vue/components/SimplexNoise.vue.d.ts +0 -57
  256. package/dist/vue/components/SimplexNoise.vue.d.ts.map +0 -1
  257. package/dist/vue/components/SineWave.vue.d.ts +0 -57
  258. package/dist/vue/components/SineWave.vue.d.ts.map +0 -1
  259. package/dist/vue/components/SolidColor.vue.d.ts +0 -57
  260. package/dist/vue/components/SolidColor.vue.d.ts.map +0 -1
  261. package/dist/vue/components/Spiral.vue.d.ts +0 -57
  262. package/dist/vue/components/Spiral.vue.d.ts.map +0 -1
  263. package/dist/vue/components/Strands.vue.d.ts +0 -57
  264. package/dist/vue/components/Strands.vue.d.ts.map +0 -1
  265. package/dist/vue/components/Swirl.vue.d.ts +0 -57
  266. package/dist/vue/components/Swirl.vue.d.ts.map +0 -1
  267. package/dist/vue/components/TiltShift.vue.d.ts +0 -57
  268. package/dist/vue/components/TiltShift.vue.d.ts.map +0 -1
  269. package/dist/vue/components/Tritone.vue.d.ts +0 -57
  270. package/dist/vue/components/Tritone.vue.d.ts.map +0 -1
  271. package/dist/vue/components/Twirl.vue.d.ts +0 -57
  272. package/dist/vue/components/Twirl.vue.d.ts.map +0 -1
  273. package/dist/vue/components/Vibrance.vue.d.ts +0 -57
  274. package/dist/vue/components/Vibrance.vue.d.ts.map +0 -1
  275. package/dist/vue/components/WaveDistortion.vue.d.ts +0 -57
  276. package/dist/vue/components/WaveDistortion.vue.d.ts.map +0 -1
  277. package/dist/vue/components/ZoomBlur.vue.d.ts +0 -57
  278. package/dist/vue/components/ZoomBlur.vue.d.ts.map +0 -1
  279. package/dist/vue/generatePresetCode-D4V6rBae.js +0 -600
  280. package/dist/vue/index.d.ts +0 -55
  281. package/dist/vue/index.d.ts.map +0 -1
  282. package/dist/vue/utils/generatePresetCode.d.ts +0 -13
  283. package/dist/vue/utils/generatePresetCode.d.ts.map +0 -1
  284. /package/dist/core/{Swirl-BoveqtNV.js → Swirl-BpMwkNcm.js} +0 -0
  285. /package/dist/core/{TiltShift-D53azmRe.js → TiltShift-D31nakFq.js} +0 -0
  286. /package/dist/core/{Tritone-Cg1rX-hL.js → Tritone-Dx48G3b1.js} +0 -0
  287. /package/dist/core/{Twirl-raO5pe5X.js → Twirl-ng6pwyl2.js} +0 -0
  288. /package/dist/core/{Vibrance-DtekSkcz.js → Vibrance-D0ArL0qp.js} +0 -0
  289. /package/dist/core/{WaveDistortion-C65qO_cZ.js → WaveDistortion-DGKrpUdb.js} +0 -0
  290. /package/dist/core/{ZoomBlur-B97ZjhXe.js → ZoomBlur-uQyy5yko.js} +0 -0
  291. /package/dist/svelte/components/{HalfTone.svelte.d.ts → Halftone.svelte.d.ts} +0 -0
@@ -0,0 +1,322 @@
1
+ function p(a) {
2
+ return a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
3
+ }
4
+ var c = {
5
+ AngularBlur: {
6
+ opacity: 1,
7
+ blendMode: "normal"
8
+ },
9
+ Ascii: {
10
+ opacity: 1,
11
+ blendMode: "normal"
12
+ },
13
+ Blob: {
14
+ opacity: 1,
15
+ blendMode: "normal"
16
+ },
17
+ Blur: {
18
+ opacity: 1,
19
+ blendMode: "normal"
20
+ },
21
+ Bulge: {
22
+ opacity: 1,
23
+ blendMode: "normal"
24
+ },
25
+ CRTScreen: {
26
+ opacity: 1,
27
+ blendMode: "normal"
28
+ },
29
+ ChannelBlur: {
30
+ opacity: 1,
31
+ blendMode: "normal"
32
+ },
33
+ Checkerboard: {
34
+ opacity: 1,
35
+ blendMode: "normal"
36
+ },
37
+ ChromaFlow: {
38
+ opacity: 1,
39
+ blendMode: "normal"
40
+ },
41
+ ChromaticAberration: {
42
+ opacity: 1,
43
+ blendMode: "normal"
44
+ },
45
+ Circle: {
46
+ opacity: 1,
47
+ blendMode: "normal"
48
+ },
49
+ CursorTrail: {
50
+ opacity: 1,
51
+ blendMode: "normal"
52
+ },
53
+ DiffuseBlur: {
54
+ opacity: 1,
55
+ blendMode: "normal"
56
+ },
57
+ Dither: {
58
+ opacity: 1,
59
+ blendMode: "normal"
60
+ },
61
+ DotGrid: {
62
+ opacity: 1,
63
+ blendMode: "normal"
64
+ },
65
+ Duotone: {
66
+ opacity: 1,
67
+ blendMode: "normal"
68
+ },
69
+ FilmGrain: {
70
+ opacity: 1,
71
+ blendMode: "normal"
72
+ },
73
+ FloatingParticles: {
74
+ opacity: 1,
75
+ blendMode: "normal"
76
+ },
77
+ GlassTiles: {
78
+ opacity: 1,
79
+ blendMode: "normal"
80
+ },
81
+ Glow: {
82
+ opacity: 1,
83
+ blendMode: "normal"
84
+ },
85
+ Godrays: {
86
+ opacity: 1,
87
+ blendMode: "normal"
88
+ },
89
+ Grayscale: {
90
+ opacity: 1,
91
+ blendMode: "normal"
92
+ },
93
+ Grid: {
94
+ opacity: 1,
95
+ blendMode: "normal"
96
+ },
97
+ GridDistortion: {
98
+ opacity: 1,
99
+ blendMode: "normal"
100
+ },
101
+ Group: {
102
+ opacity: 1,
103
+ blendMode: "normal"
104
+ },
105
+ Halftone: {
106
+ opacity: 1,
107
+ blendMode: "normal"
108
+ },
109
+ HueShift: {
110
+ opacity: 1,
111
+ blendMode: "normal"
112
+ },
113
+ ImageTexture: {
114
+ opacity: 1,
115
+ blendMode: "normal"
116
+ },
117
+ Invert: {
118
+ opacity: 1,
119
+ blendMode: "normal"
120
+ },
121
+ LinearBlur: {
122
+ opacity: 1,
123
+ blendMode: "normal"
124
+ },
125
+ LinearGradient: {
126
+ opacity: 1,
127
+ blendMode: "normal"
128
+ },
129
+ Liquify: {
130
+ opacity: 1,
131
+ blendMode: "normal"
132
+ },
133
+ Pixelate: {
134
+ opacity: 1,
135
+ blendMode: "normal"
136
+ },
137
+ PolarCoordinates: {
138
+ opacity: 1,
139
+ blendMode: "normal"
140
+ },
141
+ Posterize: {
142
+ opacity: 1,
143
+ blendMode: "normal"
144
+ },
145
+ ProgressiveBlur: {
146
+ opacity: 1,
147
+ blendMode: "normal"
148
+ },
149
+ RadialGradient: {
150
+ opacity: 1,
151
+ blendMode: "normal"
152
+ },
153
+ RectangularCoordinates: {
154
+ opacity: 1,
155
+ blendMode: "normal"
156
+ },
157
+ Ripples: {
158
+ opacity: 1,
159
+ blendMode: "normal"
160
+ },
161
+ Saturation: {
162
+ opacity: 1,
163
+ blendMode: "normal"
164
+ },
165
+ SimplexNoise: {
166
+ opacity: 1,
167
+ blendMode: "normal"
168
+ },
169
+ SineWave: {
170
+ opacity: 1,
171
+ blendMode: "normal"
172
+ },
173
+ SolidColor: {
174
+ opacity: 1,
175
+ blendMode: "normal"
176
+ },
177
+ Spiral: {
178
+ opacity: 1,
179
+ blendMode: "normal"
180
+ },
181
+ Strands: {
182
+ opacity: 1,
183
+ blendMode: "normal"
184
+ },
185
+ Stretch: {
186
+ opacity: 1,
187
+ blendMode: "normal"
188
+ },
189
+ Swirl: {
190
+ opacity: 1,
191
+ blendMode: "normal"
192
+ },
193
+ TiltShift: {
194
+ opacity: 1,
195
+ blendMode: "normal"
196
+ },
197
+ Tritone: {
198
+ opacity: 1,
199
+ blendMode: "normal"
200
+ },
201
+ Twirl: {
202
+ opacity: 1,
203
+ blendMode: "normal"
204
+ },
205
+ Vibrance: {
206
+ opacity: 1,
207
+ blendMode: "normal"
208
+ },
209
+ WaveDistortion: {
210
+ opacity: 1,
211
+ blendMode: "normal"
212
+ },
213
+ ZoomBlur: {
214
+ opacity: 1,
215
+ blendMode: "normal"
216
+ }
217
+ };
218
+ function s(a, t, o = " ") {
219
+ return Object.entries(a).filter(([e, r]) => {
220
+ const n = c[t] || {};
221
+ if (n.hasOwnProperty(e)) {
222
+ const l = n[e];
223
+ return typeof r == "object" && typeof l == "object" ? JSON.stringify(r) !== JSON.stringify(l) : r !== l;
224
+ }
225
+ return !(e === "opacity" && r === 1 || e === "blendMode" && r === "normal");
226
+ }).map(([e, r]) => {
227
+ const n = p(e);
228
+ return typeof r == "string" ? `${n}="${r}"` : typeof r == "object" ? `:${n}="${JSON.stringify(r).replace(/"/g, "'").replace(/'/g, "'")}"` : `:${n}="${r}"`;
229
+ }).join(`
230
+ ` + o + " ");
231
+ }
232
+ function m(a, t) {
233
+ const o = [];
234
+ function e(r) {
235
+ for (const n of r)
236
+ o.push(n), n.children && e(n.children);
237
+ }
238
+ return e(t), o.some((r) => r.props?.maskSource === a);
239
+ }
240
+ function y(a) {
241
+ const t = (o, e = " ") => {
242
+ const r = o.props ? s(o.props, o.type, e) : "";
243
+ let n = "";
244
+ o.id && m(o.id, a.components) && (n = `id="${o.id}"`);
245
+ const l = [n, r].filter(Boolean).join(`
246
+ ` + e + " ");
247
+ if (o.children && o.children.length > 0) {
248
+ const i = o.children.map((d) => t(d, e + " ")).join(`
249
+ `);
250
+ return l ? `${e}<${o.type}
251
+ ${e} ${l}>
252
+ ${i}
253
+ ${e}</${o.type}>` : `${e}<${o.type}>
254
+ ${i}
255
+ ${e}</${o.type}>`;
256
+ } else return l ? `${e}<${o.type}
257
+ ${e} ${l}/>` : `${e}<${o.type}/>`;
258
+ };
259
+ return `<Shader>
260
+ ${a.components.map((o) => t(o)).join(`
261
+ `)}
262
+ </Shader>`;
263
+ }
264
+ const b = [
265
+ "AngularBlur",
266
+ "Ascii",
267
+ "Blob",
268
+ "Blur",
269
+ "Bulge",
270
+ "CRTScreen",
271
+ "ChannelBlur",
272
+ "Checkerboard",
273
+ "ChromaFlow",
274
+ "ChromaticAberration",
275
+ "Circle",
276
+ "CursorTrail",
277
+ "DiffuseBlur",
278
+ "Dither",
279
+ "DotGrid",
280
+ "Duotone",
281
+ "FilmGrain",
282
+ "FloatingParticles",
283
+ "GlassTiles",
284
+ "Glow",
285
+ "Godrays",
286
+ "Grayscale",
287
+ "Grid",
288
+ "GridDistortion",
289
+ "Group",
290
+ "Halftone",
291
+ "HueShift",
292
+ "ImageTexture",
293
+ "Invert",
294
+ "LinearBlur",
295
+ "LinearGradient",
296
+ "Liquify",
297
+ "Pixelate",
298
+ "PolarCoordinates",
299
+ "Posterize",
300
+ "ProgressiveBlur",
301
+ "RadialGradient",
302
+ "RectangularCoordinates",
303
+ "Ripples",
304
+ "Saturation",
305
+ "SimplexNoise",
306
+ "SineWave",
307
+ "SolidColor",
308
+ "Spiral",
309
+ "Strands",
310
+ "Stretch",
311
+ "Swirl",
312
+ "TiltShift",
313
+ "Tritone",
314
+ "Twirl",
315
+ "Vibrance",
316
+ "WaveDistortion",
317
+ "ZoomBlur"
318
+ ];
319
+ export {
320
+ y as n,
321
+ b as t
322
+ };