shaders 2.3.50 → 2.3.51

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 (58) hide show
  1. package/dist/core/StudioBackground-CFjfBnWp.js +337 -0
  2. package/dist/core/registry.js +22 -20
  3. package/dist/core/shaderRegistry.d.ts.map +1 -1
  4. package/dist/core/shaders/StudioBackground/index.d.ts +141 -0
  5. package/dist/core/shaders/StudioBackground/index.d.ts.map +1 -0
  6. package/dist/core/shaders/StudioBackground/index.js +4 -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/Tint/index.js +1 -1
  10. package/dist/core/shaders/Tritone/index.js +1 -1
  11. package/dist/core/shaders/Twirl/index.js +1 -1
  12. package/dist/core/shaders/Vibrance/index.js +1 -1
  13. package/dist/core/shaders/VideoTexture/index.js +1 -1
  14. package/dist/core/shaders/WaveDistortion/index.js +1 -1
  15. package/dist/core/shaders/WebcamTexture/index.js +1 -1
  16. package/dist/core/shaders/ZoomBlur/index.js +1 -1
  17. package/dist/react/StudioBackground.js +164 -0
  18. package/dist/react/components/StudioBackground.d.ts +31 -0
  19. package/dist/react/components/StudioBackground.d.ts.map +1 -0
  20. package/dist/react/index.d.ts +1 -0
  21. package/dist/react/index.d.ts.map +1 -1
  22. package/dist/react/index.js +2 -1
  23. package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
  24. package/dist/react/utils/generatePresetCode.js +27 -0
  25. package/dist/registry.js +447 -0
  26. package/dist/solid/components/StudioBackground.d.ts +28 -0
  27. package/dist/solid/components/StudioBackground.d.ts.map +1 -0
  28. package/dist/solid/components/StudioBackground.js +168 -0
  29. package/dist/solid/index.d.ts +1 -0
  30. package/dist/solid/index.d.ts.map +1 -1
  31. package/dist/solid/index.js +24 -22
  32. package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
  33. package/dist/solid/utils/generatePresetCode.js +27 -0
  34. package/dist/svelte/components/StudioBackground.svelte.d.ts +19 -0
  35. package/dist/svelte/{generatePresetCode-Co-oSFXj.js → generatePresetCode-TDa1I3YR.js} +27 -0
  36. package/dist/svelte/index.d.ts +1 -0
  37. package/dist/svelte/index.js +293 -163
  38. package/dist/svelte/utils/generatePresetCode.js +1 -1
  39. package/dist/vue/StudioBackground.js +3 -0
  40. package/dist/vue/StudioBackground.vue_vue_type_script_setup_true_lang.js +162 -0
  41. package/dist/vue/components/StudioBackground.vue.d.ts +54 -0
  42. package/dist/vue/components/StudioBackground.vue.d.ts.map +1 -0
  43. package/dist/vue/index.d.ts +1 -0
  44. package/dist/vue/index.d.ts.map +1 -1
  45. package/dist/vue/index.js +2 -1
  46. package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
  47. package/dist/vue/utils/generatePresetCode.js +27 -0
  48. package/package.json +9 -1
  49. /package/dist/core/{Swirl-DO8dNtED.js → Swirl-BIFGxHL0.js} +0 -0
  50. /package/dist/core/{TiltShift-4QnOmvZ7.js → TiltShift-CLMFkzBs.js} +0 -0
  51. /package/dist/core/{Tint-Qc-4l2re.js → Tint-NQjiXLGu.js} +0 -0
  52. /package/dist/core/{Tritone-COUPuEp_.js → Tritone-67eoddBF.js} +0 -0
  53. /package/dist/core/{Twirl-Se1glQAi.js → Twirl-ZaYAMqmq.js} +0 -0
  54. /package/dist/core/{Vibrance-CUTMlggU.js → Vibrance-DbSUuK_4.js} +0 -0
  55. /package/dist/core/{VideoTexture-DsvlYXHz.js → VideoTexture-lHzoN3G9.js} +0 -0
  56. /package/dist/core/{WaveDistortion-D75I7wpE.js → WaveDistortion-CB6xTndT.js} +0 -0
  57. /package/dist/core/{WebcamTexture-Cj0_V3MP.js → WebcamTexture-BJUvpMmV.js} +0 -0
  58. /package/dist/core/{ZoomBlur-Cq6lhjH5.js → ZoomBlur-BCClC8fw.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { n as generatePresetCode } from "./generatePresetCode-Co-oSFXj.js";
1
+ import { n as generatePresetCode } from "./generatePresetCode-TDa1I3YR.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as $ from "svelte/internal/client";
4
4
  import { getContext, onDestroy, onMount, setContext } from "svelte";
@@ -64,19 +64,20 @@ import { componentDefinition as componentDefinition$57 } from "../core/shaders/S
64
64
  import { componentDefinition as componentDefinition$58 } from "../core/shaders/Strands/index.js";
65
65
  import { componentDefinition as componentDefinition$59 } from "../core/shaders/Stretch/index.js";
66
66
  import { componentDefinition as componentDefinition$60 } from "../core/shaders/Stripes/index.js";
67
- import { componentDefinition as componentDefinition$61 } from "../core/shaders/Swirl/index.js";
68
- import { componentDefinition as componentDefinition$62 } from "../core/shaders/TiltShift/index.js";
69
- import { componentDefinition as componentDefinition$63 } from "../core/shaders/Tint/index.js";
70
- import { componentDefinition as componentDefinition$64 } from "../core/shaders/Tritone/index.js";
71
- import { componentDefinition as componentDefinition$65 } from "../core/shaders/Twirl/index.js";
72
- import { componentDefinition as componentDefinition$66 } from "../core/shaders/Vibrance/index.js";
73
- import { componentDefinition as componentDefinition$67 } from "../core/shaders/VideoTexture/index.js";
74
- import { componentDefinition as componentDefinition$68 } from "../core/shaders/WaveDistortion/index.js";
75
- import { componentDefinition as componentDefinition$69 } from "../core/shaders/WebcamTexture/index.js";
76
- import { componentDefinition as componentDefinition$70 } from "../core/shaders/ZoomBlur/index.js";
67
+ import { componentDefinition as componentDefinition$61 } from "../core/shaders/StudioBackground/index.js";
68
+ import { componentDefinition as componentDefinition$62 } from "../core/shaders/Swirl/index.js";
69
+ import { componentDefinition as componentDefinition$63 } from "../core/shaders/TiltShift/index.js";
70
+ import { componentDefinition as componentDefinition$64 } from "../core/shaders/Tint/index.js";
71
+ import { componentDefinition as componentDefinition$65 } from "../core/shaders/Tritone/index.js";
72
+ import { componentDefinition as componentDefinition$66 } from "../core/shaders/Twirl/index.js";
73
+ import { componentDefinition as componentDefinition$67 } from "../core/shaders/Vibrance/index.js";
74
+ import { componentDefinition as componentDefinition$68 } from "../core/shaders/VideoTexture/index.js";
75
+ import { componentDefinition as componentDefinition$69 } from "../core/shaders/WaveDistortion/index.js";
76
+ import { componentDefinition as componentDefinition$70 } from "../core/shaders/WebcamTexture/index.js";
77
+ import { componentDefinition as componentDefinition$71 } from "../core/shaders/ZoomBlur/index.js";
77
78
  import { vec4 } from "three/tsl";
78
79
  import { TelemetryCollector, isExternalUser, shouldCollectTelemetry } from "../core/telemetry/index.js";
79
- var root$71 = $.from_html(`<span style="display:contents"><!></span>`);
80
+ var root$72 = $.from_html(`<span style="display:contents"><!></span>`);
80
81
  function AngularBlur($$anchor, $$props) {
81
82
  $.push($$props, true);
82
83
  const DEFAULT_TRANSFORM = {
@@ -196,7 +197,7 @@ function AngularBlur($$anchor, $$props) {
196
197
  $.set(isRegistered, false);
197
198
  parentRegister(instanceId, null, null, null, null);
198
199
  });
199
- var span = root$71();
200
+ var span = root$72();
200
201
  var node = $.child(span);
201
202
  children?.(node);
202
203
  $.reset(span);
@@ -205,7 +206,7 @@ function AngularBlur($$anchor, $$props) {
205
206
  $.append($$anchor, span);
206
207
  $.pop();
207
208
  }
208
- var root$70 = $.from_html(`<span style="display:contents"><!></span>`);
209
+ var root$71 = $.from_html(`<span style="display:contents"><!></span>`);
209
210
  function Ascii($$anchor, $$props) {
210
211
  $.push($$props, true);
211
212
  const DEFAULT_TRANSFORM = {
@@ -325,7 +326,7 @@ function Ascii($$anchor, $$props) {
325
326
  $.set(isRegistered, false);
326
327
  parentRegister(instanceId, null, null, null, null);
327
328
  });
328
- var span = root$70();
329
+ var span = root$71();
329
330
  var node = $.child(span);
330
331
  children?.(node);
331
332
  $.reset(span);
@@ -334,7 +335,7 @@ function Ascii($$anchor, $$props) {
334
335
  $.append($$anchor, span);
335
336
  $.pop();
336
337
  }
337
- var root$69 = $.from_html(`<span style="display:contents"><!></span>`);
338
+ var root$70 = $.from_html(`<span style="display:contents"><!></span>`);
338
339
  function Beam($$anchor, $$props) {
339
340
  $.push($$props, true);
340
341
  const DEFAULT_TRANSFORM = {
@@ -454,7 +455,7 @@ function Beam($$anchor, $$props) {
454
455
  $.set(isRegistered, false);
455
456
  parentRegister(instanceId, null, null, null, null);
456
457
  });
457
- var span = root$69();
458
+ var span = root$70();
458
459
  var node = $.child(span);
459
460
  children?.(node);
460
461
  $.reset(span);
@@ -463,7 +464,7 @@ function Beam($$anchor, $$props) {
463
464
  $.append($$anchor, span);
464
465
  $.pop();
465
466
  }
466
- var root$68 = $.from_html(`<span style="display:contents"><!></span>`);
467
+ var root$69 = $.from_html(`<span style="display:contents"><!></span>`);
467
468
  function Blob($$anchor, $$props) {
468
469
  $.push($$props, true);
469
470
  const DEFAULT_TRANSFORM = {
@@ -583,7 +584,7 @@ function Blob($$anchor, $$props) {
583
584
  $.set(isRegistered, false);
584
585
  parentRegister(instanceId, null, null, null, null);
585
586
  });
586
- var span = root$68();
587
+ var span = root$69();
587
588
  var node = $.child(span);
588
589
  children?.(node);
589
590
  $.reset(span);
@@ -592,7 +593,7 @@ function Blob($$anchor, $$props) {
592
593
  $.append($$anchor, span);
593
594
  $.pop();
594
595
  }
595
- var root$67 = $.from_html(`<span style="display:contents"><!></span>`);
596
+ var root$68 = $.from_html(`<span style="display:contents"><!></span>`);
596
597
  function Blur($$anchor, $$props) {
597
598
  $.push($$props, true);
598
599
  const DEFAULT_TRANSFORM = {
@@ -712,7 +713,7 @@ function Blur($$anchor, $$props) {
712
713
  $.set(isRegistered, false);
713
714
  parentRegister(instanceId, null, null, null, null);
714
715
  });
715
- var span = root$67();
716
+ var span = root$68();
716
717
  var node = $.child(span);
717
718
  children?.(node);
718
719
  $.reset(span);
@@ -721,7 +722,7 @@ function Blur($$anchor, $$props) {
721
722
  $.append($$anchor, span);
722
723
  $.pop();
723
724
  }
724
- var root$66 = $.from_html(`<span style="display:contents"><!></span>`);
725
+ var root$67 = $.from_html(`<span style="display:contents"><!></span>`);
725
726
  function BrightnessContrast($$anchor, $$props) {
726
727
  $.push($$props, true);
727
728
  const DEFAULT_TRANSFORM = {
@@ -841,7 +842,7 @@ function BrightnessContrast($$anchor, $$props) {
841
842
  $.set(isRegistered, false);
842
843
  parentRegister(instanceId, null, null, null, null);
843
844
  });
844
- var span = root$66();
845
+ var span = root$67();
845
846
  var node = $.child(span);
846
847
  children?.(node);
847
848
  $.reset(span);
@@ -850,7 +851,7 @@ function BrightnessContrast($$anchor, $$props) {
850
851
  $.append($$anchor, span);
851
852
  $.pop();
852
853
  }
853
- var root$65 = $.from_html(`<span style="display:contents"><!></span>`);
854
+ var root$66 = $.from_html(`<span style="display:contents"><!></span>`);
854
855
  function Bulge($$anchor, $$props) {
855
856
  $.push($$props, true);
856
857
  const DEFAULT_TRANSFORM = {
@@ -970,7 +971,7 @@ function Bulge($$anchor, $$props) {
970
971
  $.set(isRegistered, false);
971
972
  parentRegister(instanceId, null, null, null, null);
972
973
  });
973
- var span = root$65();
974
+ var span = root$66();
974
975
  var node = $.child(span);
975
976
  children?.(node);
976
977
  $.reset(span);
@@ -979,7 +980,7 @@ function Bulge($$anchor, $$props) {
979
980
  $.append($$anchor, span);
980
981
  $.pop();
981
982
  }
982
- var root$64 = $.from_html(`<span style="display:contents"><!></span>`);
983
+ var root$65 = $.from_html(`<span style="display:contents"><!></span>`);
983
984
  function CRTScreen($$anchor, $$props) {
984
985
  $.push($$props, true);
985
986
  const DEFAULT_TRANSFORM = {
@@ -1099,7 +1100,7 @@ function CRTScreen($$anchor, $$props) {
1099
1100
  $.set(isRegistered, false);
1100
1101
  parentRegister(instanceId, null, null, null, null);
1101
1102
  });
1102
- var span = root$64();
1103
+ var span = root$65();
1103
1104
  var node = $.child(span);
1104
1105
  children?.(node);
1105
1106
  $.reset(span);
@@ -1108,7 +1109,7 @@ function CRTScreen($$anchor, $$props) {
1108
1109
  $.append($$anchor, span);
1109
1110
  $.pop();
1110
1111
  }
1111
- var root$63 = $.from_html(`<span style="display:contents"><!></span>`);
1112
+ var root$64 = $.from_html(`<span style="display:contents"><!></span>`);
1112
1113
  function ChannelBlur($$anchor, $$props) {
1113
1114
  $.push($$props, true);
1114
1115
  const DEFAULT_TRANSFORM = {
@@ -1228,7 +1229,7 @@ function ChannelBlur($$anchor, $$props) {
1228
1229
  $.set(isRegistered, false);
1229
1230
  parentRegister(instanceId, null, null, null, null);
1230
1231
  });
1231
- var span = root$63();
1232
+ var span = root$64();
1232
1233
  var node = $.child(span);
1233
1234
  children?.(node);
1234
1235
  $.reset(span);
@@ -1237,7 +1238,7 @@ function ChannelBlur($$anchor, $$props) {
1237
1238
  $.append($$anchor, span);
1238
1239
  $.pop();
1239
1240
  }
1240
- var root$62 = $.from_html(`<span style="display:contents"><!></span>`);
1241
+ var root$63 = $.from_html(`<span style="display:contents"><!></span>`);
1241
1242
  function Checkerboard($$anchor, $$props) {
1242
1243
  $.push($$props, true);
1243
1244
  const DEFAULT_TRANSFORM = {
@@ -1357,7 +1358,7 @@ function Checkerboard($$anchor, $$props) {
1357
1358
  $.set(isRegistered, false);
1358
1359
  parentRegister(instanceId, null, null, null, null);
1359
1360
  });
1360
- var span = root$62();
1361
+ var span = root$63();
1361
1362
  var node = $.child(span);
1362
1363
  children?.(node);
1363
1364
  $.reset(span);
@@ -1366,7 +1367,7 @@ function Checkerboard($$anchor, $$props) {
1366
1367
  $.append($$anchor, span);
1367
1368
  $.pop();
1368
1369
  }
1369
- var root$61 = $.from_html(`<span style="display:contents"><!></span>`);
1370
+ var root$62 = $.from_html(`<span style="display:contents"><!></span>`);
1370
1371
  function ChromaFlow($$anchor, $$props) {
1371
1372
  $.push($$props, true);
1372
1373
  const DEFAULT_TRANSFORM = {
@@ -1486,7 +1487,7 @@ function ChromaFlow($$anchor, $$props) {
1486
1487
  $.set(isRegistered, false);
1487
1488
  parentRegister(instanceId, null, null, null, null);
1488
1489
  });
1489
- var span = root$61();
1490
+ var span = root$62();
1490
1491
  var node = $.child(span);
1491
1492
  children?.(node);
1492
1493
  $.reset(span);
@@ -1495,7 +1496,7 @@ function ChromaFlow($$anchor, $$props) {
1495
1496
  $.append($$anchor, span);
1496
1497
  $.pop();
1497
1498
  }
1498
- var root$60 = $.from_html(`<span style="display:contents"><!></span>`);
1499
+ var root$61 = $.from_html(`<span style="display:contents"><!></span>`);
1499
1500
  function ChromaticAberration($$anchor, $$props) {
1500
1501
  $.push($$props, true);
1501
1502
  const DEFAULT_TRANSFORM = {
@@ -1615,7 +1616,7 @@ function ChromaticAberration($$anchor, $$props) {
1615
1616
  $.set(isRegistered, false);
1616
1617
  parentRegister(instanceId, null, null, null, null);
1617
1618
  });
1618
- var span = root$60();
1619
+ var span = root$61();
1619
1620
  var node = $.child(span);
1620
1621
  children?.(node);
1621
1622
  $.reset(span);
@@ -1624,7 +1625,7 @@ function ChromaticAberration($$anchor, $$props) {
1624
1625
  $.append($$anchor, span);
1625
1626
  $.pop();
1626
1627
  }
1627
- var root$59 = $.from_html(`<span style="display:contents"><!></span>`);
1628
+ var root$60 = $.from_html(`<span style="display:contents"><!></span>`);
1628
1629
  function Circle($$anchor, $$props) {
1629
1630
  $.push($$props, true);
1630
1631
  const DEFAULT_TRANSFORM = {
@@ -1744,7 +1745,7 @@ function Circle($$anchor, $$props) {
1744
1745
  $.set(isRegistered, false);
1745
1746
  parentRegister(instanceId, null, null, null, null);
1746
1747
  });
1747
- var span = root$59();
1748
+ var span = root$60();
1748
1749
  var node = $.child(span);
1749
1750
  children?.(node);
1750
1751
  $.reset(span);
@@ -1753,7 +1754,7 @@ function Circle($$anchor, $$props) {
1753
1754
  $.append($$anchor, span);
1754
1755
  $.pop();
1755
1756
  }
1756
- var root$58 = $.from_html(`<span style="display:contents"><!></span>`);
1757
+ var root$59 = $.from_html(`<span style="display:contents"><!></span>`);
1757
1758
  function ConcentricSpin($$anchor, $$props) {
1758
1759
  $.push($$props, true);
1759
1760
  const DEFAULT_TRANSFORM = {
@@ -1873,7 +1874,7 @@ function ConcentricSpin($$anchor, $$props) {
1873
1874
  $.set(isRegistered, false);
1874
1875
  parentRegister(instanceId, null, null, null, null);
1875
1876
  });
1876
- var span = root$58();
1877
+ var span = root$59();
1877
1878
  var node = $.child(span);
1878
1879
  children?.(node);
1879
1880
  $.reset(span);
@@ -1882,7 +1883,7 @@ function ConcentricSpin($$anchor, $$props) {
1882
1883
  $.append($$anchor, span);
1883
1884
  $.pop();
1884
1885
  }
1885
- var root$57 = $.from_html(`<span style="display:contents"><!></span>`);
1886
+ var root$58 = $.from_html(`<span style="display:contents"><!></span>`);
1886
1887
  function ContourLines($$anchor, $$props) {
1887
1888
  $.push($$props, true);
1888
1889
  const DEFAULT_TRANSFORM = {
@@ -2002,7 +2003,7 @@ function ContourLines($$anchor, $$props) {
2002
2003
  $.set(isRegistered, false);
2003
2004
  parentRegister(instanceId, null, null, null, null);
2004
2005
  });
2005
- var span = root$57();
2006
+ var span = root$58();
2006
2007
  var node = $.child(span);
2007
2008
  children?.(node);
2008
2009
  $.reset(span);
@@ -2011,7 +2012,7 @@ function ContourLines($$anchor, $$props) {
2011
2012
  $.append($$anchor, span);
2012
2013
  $.pop();
2013
2014
  }
2014
- var root$56 = $.from_html(`<span style="display:contents"><!></span>`);
2015
+ var root$57 = $.from_html(`<span style="display:contents"><!></span>`);
2015
2016
  function CursorTrail($$anchor, $$props) {
2016
2017
  $.push($$props, true);
2017
2018
  const DEFAULT_TRANSFORM = {
@@ -2131,7 +2132,7 @@ function CursorTrail($$anchor, $$props) {
2131
2132
  $.set(isRegistered, false);
2132
2133
  parentRegister(instanceId, null, null, null, null);
2133
2134
  });
2134
- var span = root$56();
2135
+ var span = root$57();
2135
2136
  var node = $.child(span);
2136
2137
  children?.(node);
2137
2138
  $.reset(span);
@@ -2140,7 +2141,7 @@ function CursorTrail($$anchor, $$props) {
2140
2141
  $.append($$anchor, span);
2141
2142
  $.pop();
2142
2143
  }
2143
- var root$55 = $.from_html(`<span style="display:contents"><!></span>`);
2144
+ var root$56 = $.from_html(`<span style="display:contents"><!></span>`);
2144
2145
  function DiffuseBlur($$anchor, $$props) {
2145
2146
  $.push($$props, true);
2146
2147
  const DEFAULT_TRANSFORM = {
@@ -2260,7 +2261,7 @@ function DiffuseBlur($$anchor, $$props) {
2260
2261
  $.set(isRegistered, false);
2261
2262
  parentRegister(instanceId, null, null, null, null);
2262
2263
  });
2263
- var span = root$55();
2264
+ var span = root$56();
2264
2265
  var node = $.child(span);
2265
2266
  children?.(node);
2266
2267
  $.reset(span);
@@ -2269,7 +2270,7 @@ function DiffuseBlur($$anchor, $$props) {
2269
2270
  $.append($$anchor, span);
2270
2271
  $.pop();
2271
2272
  }
2272
- var root$54 = $.from_html(`<span style="display:contents"><!></span>`);
2273
+ var root$55 = $.from_html(`<span style="display:contents"><!></span>`);
2273
2274
  function Dither($$anchor, $$props) {
2274
2275
  $.push($$props, true);
2275
2276
  const DEFAULT_TRANSFORM = {
@@ -2389,7 +2390,7 @@ function Dither($$anchor, $$props) {
2389
2390
  $.set(isRegistered, false);
2390
2391
  parentRegister(instanceId, null, null, null, null);
2391
2392
  });
2392
- var span = root$54();
2393
+ var span = root$55();
2393
2394
  var node = $.child(span);
2394
2395
  children?.(node);
2395
2396
  $.reset(span);
@@ -2398,7 +2399,7 @@ function Dither($$anchor, $$props) {
2398
2399
  $.append($$anchor, span);
2399
2400
  $.pop();
2400
2401
  }
2401
- var root$53 = $.from_html(`<span style="display:contents"><!></span>`);
2402
+ var root$54 = $.from_html(`<span style="display:contents"><!></span>`);
2402
2403
  function DotGrid($$anchor, $$props) {
2403
2404
  $.push($$props, true);
2404
2405
  const DEFAULT_TRANSFORM = {
@@ -2518,7 +2519,7 @@ function DotGrid($$anchor, $$props) {
2518
2519
  $.set(isRegistered, false);
2519
2520
  parentRegister(instanceId, null, null, null, null);
2520
2521
  });
2521
- var span = root$53();
2522
+ var span = root$54();
2522
2523
  var node = $.child(span);
2523
2524
  children?.(node);
2524
2525
  $.reset(span);
@@ -2527,7 +2528,7 @@ function DotGrid($$anchor, $$props) {
2527
2528
  $.append($$anchor, span);
2528
2529
  $.pop();
2529
2530
  }
2530
- var root$52 = $.from_html(`<span style="display:contents"><!></span>`);
2531
+ var root$53 = $.from_html(`<span style="display:contents"><!></span>`);
2531
2532
  function Duotone($$anchor, $$props) {
2532
2533
  $.push($$props, true);
2533
2534
  const DEFAULT_TRANSFORM = {
@@ -2647,7 +2648,7 @@ function Duotone($$anchor, $$props) {
2647
2648
  $.set(isRegistered, false);
2648
2649
  parentRegister(instanceId, null, null, null, null);
2649
2650
  });
2650
- var span = root$52();
2651
+ var span = root$53();
2651
2652
  var node = $.child(span);
2652
2653
  children?.(node);
2653
2654
  $.reset(span);
@@ -2656,7 +2657,7 @@ function Duotone($$anchor, $$props) {
2656
2657
  $.append($$anchor, span);
2657
2658
  $.pop();
2658
2659
  }
2659
- var root$51 = $.from_html(`<span style="display:contents"><!></span>`);
2660
+ var root$52 = $.from_html(`<span style="display:contents"><!></span>`);
2660
2661
  function FilmGrain($$anchor, $$props) {
2661
2662
  $.push($$props, true);
2662
2663
  const DEFAULT_TRANSFORM = {
@@ -2776,7 +2777,7 @@ function FilmGrain($$anchor, $$props) {
2776
2777
  $.set(isRegistered, false);
2777
2778
  parentRegister(instanceId, null, null, null, null);
2778
2779
  });
2779
- var span = root$51();
2780
+ var span = root$52();
2780
2781
  var node = $.child(span);
2781
2782
  children?.(node);
2782
2783
  $.reset(span);
@@ -2785,7 +2786,7 @@ function FilmGrain($$anchor, $$props) {
2785
2786
  $.append($$anchor, span);
2786
2787
  $.pop();
2787
2788
  }
2788
- var root$50 = $.from_html(`<span style="display:contents"><!></span>`);
2789
+ var root$51 = $.from_html(`<span style="display:contents"><!></span>`);
2789
2790
  function FloatingParticles($$anchor, $$props) {
2790
2791
  $.push($$props, true);
2791
2792
  const DEFAULT_TRANSFORM = {
@@ -2905,7 +2906,7 @@ function FloatingParticles($$anchor, $$props) {
2905
2906
  $.set(isRegistered, false);
2906
2907
  parentRegister(instanceId, null, null, null, null);
2907
2908
  });
2908
- var span = root$50();
2909
+ var span = root$51();
2909
2910
  var node = $.child(span);
2910
2911
  children?.(node);
2911
2912
  $.reset(span);
@@ -2914,7 +2915,7 @@ function FloatingParticles($$anchor, $$props) {
2914
2915
  $.append($$anchor, span);
2915
2916
  $.pop();
2916
2917
  }
2917
- var root$49 = $.from_html(`<span style="display:contents"><!></span>`);
2918
+ var root$50 = $.from_html(`<span style="display:contents"><!></span>`);
2918
2919
  function FlowField($$anchor, $$props) {
2919
2920
  $.push($$props, true);
2920
2921
  const DEFAULT_TRANSFORM = {
@@ -3034,7 +3035,7 @@ function FlowField($$anchor, $$props) {
3034
3035
  $.set(isRegistered, false);
3035
3036
  parentRegister(instanceId, null, null, null, null);
3036
3037
  });
3037
- var span = root$49();
3038
+ var span = root$50();
3038
3039
  var node = $.child(span);
3039
3040
  children?.(node);
3040
3041
  $.reset(span);
@@ -3043,7 +3044,7 @@ function FlowField($$anchor, $$props) {
3043
3044
  $.append($$anchor, span);
3044
3045
  $.pop();
3045
3046
  }
3046
- var root$48 = $.from_html(`<span style="display:contents"><!></span>`);
3047
+ var root$49 = $.from_html(`<span style="display:contents"><!></span>`);
3047
3048
  function GlassTiles($$anchor, $$props) {
3048
3049
  $.push($$props, true);
3049
3050
  const DEFAULT_TRANSFORM = {
@@ -3163,7 +3164,7 @@ function GlassTiles($$anchor, $$props) {
3163
3164
  $.set(isRegistered, false);
3164
3165
  parentRegister(instanceId, null, null, null, null);
3165
3166
  });
3166
- var span = root$48();
3167
+ var span = root$49();
3167
3168
  var node = $.child(span);
3168
3169
  children?.(node);
3169
3170
  $.reset(span);
@@ -3172,7 +3173,7 @@ function GlassTiles($$anchor, $$props) {
3172
3173
  $.append($$anchor, span);
3173
3174
  $.pop();
3174
3175
  }
3175
- var root$47 = $.from_html(`<span style="display:contents"><!></span>`);
3176
+ var root$48 = $.from_html(`<span style="display:contents"><!></span>`);
3176
3177
  function Glitch($$anchor, $$props) {
3177
3178
  $.push($$props, true);
3178
3179
  const DEFAULT_TRANSFORM = {
@@ -3292,7 +3293,7 @@ function Glitch($$anchor, $$props) {
3292
3293
  $.set(isRegistered, false);
3293
3294
  parentRegister(instanceId, null, null, null, null);
3294
3295
  });
3295
- var span = root$47();
3296
+ var span = root$48();
3296
3297
  var node = $.child(span);
3297
3298
  children?.(node);
3298
3299
  $.reset(span);
@@ -3301,7 +3302,7 @@ function Glitch($$anchor, $$props) {
3301
3302
  $.append($$anchor, span);
3302
3303
  $.pop();
3303
3304
  }
3304
- var root$46 = $.from_html(`<span style="display:contents"><!></span>`);
3305
+ var root$47 = $.from_html(`<span style="display:contents"><!></span>`);
3305
3306
  function Glow($$anchor, $$props) {
3306
3307
  $.push($$props, true);
3307
3308
  const DEFAULT_TRANSFORM = {
@@ -3421,7 +3422,7 @@ function Glow($$anchor, $$props) {
3421
3422
  $.set(isRegistered, false);
3422
3423
  parentRegister(instanceId, null, null, null, null);
3423
3424
  });
3424
- var span = root$46();
3425
+ var span = root$47();
3425
3426
  var node = $.child(span);
3426
3427
  children?.(node);
3427
3428
  $.reset(span);
@@ -3430,7 +3431,7 @@ function Glow($$anchor, $$props) {
3430
3431
  $.append($$anchor, span);
3431
3432
  $.pop();
3432
3433
  }
3433
- var root$45 = $.from_html(`<span style="display:contents"><!></span>`);
3434
+ var root$46 = $.from_html(`<span style="display:contents"><!></span>`);
3434
3435
  function Godrays($$anchor, $$props) {
3435
3436
  $.push($$props, true);
3436
3437
  const DEFAULT_TRANSFORM = {
@@ -3550,7 +3551,7 @@ function Godrays($$anchor, $$props) {
3550
3551
  $.set(isRegistered, false);
3551
3552
  parentRegister(instanceId, null, null, null, null);
3552
3553
  });
3553
- var span = root$45();
3554
+ var span = root$46();
3554
3555
  var node = $.child(span);
3555
3556
  children?.(node);
3556
3557
  $.reset(span);
@@ -3559,7 +3560,7 @@ function Godrays($$anchor, $$props) {
3559
3560
  $.append($$anchor, span);
3560
3561
  $.pop();
3561
3562
  }
3562
- var root$44 = $.from_html(`<span style="display:contents"><!></span>`);
3563
+ var root$45 = $.from_html(`<span style="display:contents"><!></span>`);
3563
3564
  function Grayscale($$anchor, $$props) {
3564
3565
  $.push($$props, true);
3565
3566
  const DEFAULT_TRANSFORM = {
@@ -3679,7 +3680,7 @@ function Grayscale($$anchor, $$props) {
3679
3680
  $.set(isRegistered, false);
3680
3681
  parentRegister(instanceId, null, null, null, null);
3681
3682
  });
3682
- var span = root$44();
3683
+ var span = root$45();
3683
3684
  var node = $.child(span);
3684
3685
  children?.(node);
3685
3686
  $.reset(span);
@@ -3688,7 +3689,7 @@ function Grayscale($$anchor, $$props) {
3688
3689
  $.append($$anchor, span);
3689
3690
  $.pop();
3690
3691
  }
3691
- var root$43 = $.from_html(`<span style="display:contents"><!></span>`);
3692
+ var root$44 = $.from_html(`<span style="display:contents"><!></span>`);
3692
3693
  function Grid($$anchor, $$props) {
3693
3694
  $.push($$props, true);
3694
3695
  const DEFAULT_TRANSFORM = {
@@ -3808,7 +3809,7 @@ function Grid($$anchor, $$props) {
3808
3809
  $.set(isRegistered, false);
3809
3810
  parentRegister(instanceId, null, null, null, null);
3810
3811
  });
3811
- var span = root$43();
3812
+ var span = root$44();
3812
3813
  var node = $.child(span);
3813
3814
  children?.(node);
3814
3815
  $.reset(span);
@@ -3817,7 +3818,7 @@ function Grid($$anchor, $$props) {
3817
3818
  $.append($$anchor, span);
3818
3819
  $.pop();
3819
3820
  }
3820
- var root$42 = $.from_html(`<span style="display:contents"><!></span>`);
3821
+ var root$43 = $.from_html(`<span style="display:contents"><!></span>`);
3821
3822
  function GridDistortion($$anchor, $$props) {
3822
3823
  $.push($$props, true);
3823
3824
  const DEFAULT_TRANSFORM = {
@@ -3937,7 +3938,7 @@ function GridDistortion($$anchor, $$props) {
3937
3938
  $.set(isRegistered, false);
3938
3939
  parentRegister(instanceId, null, null, null, null);
3939
3940
  });
3940
- var span = root$42();
3941
+ var span = root$43();
3941
3942
  var node = $.child(span);
3942
3943
  children?.(node);
3943
3944
  $.reset(span);
@@ -3946,7 +3947,7 @@ function GridDistortion($$anchor, $$props) {
3946
3947
  $.append($$anchor, span);
3947
3948
  $.pop();
3948
3949
  }
3949
- var root$41 = $.from_html(`<span style="display:contents"><!></span>`);
3950
+ var root$42 = $.from_html(`<span style="display:contents"><!></span>`);
3950
3951
  function Group($$anchor, $$props) {
3951
3952
  $.push($$props, true);
3952
3953
  const DEFAULT_TRANSFORM = {
@@ -4066,7 +4067,7 @@ function Group($$anchor, $$props) {
4066
4067
  $.set(isRegistered, false);
4067
4068
  parentRegister(instanceId, null, null, null, null);
4068
4069
  });
4069
- var span = root$41();
4070
+ var span = root$42();
4070
4071
  var node = $.child(span);
4071
4072
  children?.(node);
4072
4073
  $.reset(span);
@@ -4075,7 +4076,7 @@ function Group($$anchor, $$props) {
4075
4076
  $.append($$anchor, span);
4076
4077
  $.pop();
4077
4078
  }
4078
- var root$40 = $.from_html(`<span style="display:contents"><!></span>`);
4079
+ var root$41 = $.from_html(`<span style="display:contents"><!></span>`);
4079
4080
  function Halftone($$anchor, $$props) {
4080
4081
  $.push($$props, true);
4081
4082
  const DEFAULT_TRANSFORM = {
@@ -4195,7 +4196,7 @@ function Halftone($$anchor, $$props) {
4195
4196
  $.set(isRegistered, false);
4196
4197
  parentRegister(instanceId, null, null, null, null);
4197
4198
  });
4198
- var span = root$40();
4199
+ var span = root$41();
4199
4200
  var node = $.child(span);
4200
4201
  children?.(node);
4201
4202
  $.reset(span);
@@ -4204,7 +4205,7 @@ function Halftone($$anchor, $$props) {
4204
4205
  $.append($$anchor, span);
4205
4206
  $.pop();
4206
4207
  }
4207
- var root$39 = $.from_html(`<span style="display:contents"><!></span>`);
4208
+ var root$40 = $.from_html(`<span style="display:contents"><!></span>`);
4208
4209
  function HueShift($$anchor, $$props) {
4209
4210
  $.push($$props, true);
4210
4211
  const DEFAULT_TRANSFORM = {
@@ -4324,7 +4325,7 @@ function HueShift($$anchor, $$props) {
4324
4325
  $.set(isRegistered, false);
4325
4326
  parentRegister(instanceId, null, null, null, null);
4326
4327
  });
4327
- var span = root$39();
4328
+ var span = root$40();
4328
4329
  var node = $.child(span);
4329
4330
  children?.(node);
4330
4331
  $.reset(span);
@@ -4333,7 +4334,7 @@ function HueShift($$anchor, $$props) {
4333
4334
  $.append($$anchor, span);
4334
4335
  $.pop();
4335
4336
  }
4336
- var root$38 = $.from_html(`<span style="display:contents"><!></span>`);
4337
+ var root$39 = $.from_html(`<span style="display:contents"><!></span>`);
4337
4338
  function ImageTexture($$anchor, $$props) {
4338
4339
  $.push($$props, true);
4339
4340
  const DEFAULT_TRANSFORM = {
@@ -4453,7 +4454,7 @@ function ImageTexture($$anchor, $$props) {
4453
4454
  $.set(isRegistered, false);
4454
4455
  parentRegister(instanceId, null, null, null, null);
4455
4456
  });
4456
- var span = root$38();
4457
+ var span = root$39();
4457
4458
  var node = $.child(span);
4458
4459
  children?.(node);
4459
4460
  $.reset(span);
@@ -4462,7 +4463,7 @@ function ImageTexture($$anchor, $$props) {
4462
4463
  $.append($$anchor, span);
4463
4464
  $.pop();
4464
4465
  }
4465
- var root$37 = $.from_html(`<span style="display:contents"><!></span>`);
4466
+ var root$38 = $.from_html(`<span style="display:contents"><!></span>`);
4466
4467
  function Invert($$anchor, $$props) {
4467
4468
  $.push($$props, true);
4468
4469
  const DEFAULT_TRANSFORM = {
@@ -4582,7 +4583,7 @@ function Invert($$anchor, $$props) {
4582
4583
  $.set(isRegistered, false);
4583
4584
  parentRegister(instanceId, null, null, null, null);
4584
4585
  });
4585
- var span = root$37();
4586
+ var span = root$38();
4586
4587
  var node = $.child(span);
4587
4588
  children?.(node);
4588
4589
  $.reset(span);
@@ -4591,7 +4592,7 @@ function Invert($$anchor, $$props) {
4591
4592
  $.append($$anchor, span);
4592
4593
  $.pop();
4593
4594
  }
4594
- var root$36 = $.from_html(`<span style="display:contents"><!></span>`);
4595
+ var root$37 = $.from_html(`<span style="display:contents"><!></span>`);
4595
4596
  function Kaleidoscope($$anchor, $$props) {
4596
4597
  $.push($$props, true);
4597
4598
  const DEFAULT_TRANSFORM = {
@@ -4711,7 +4712,7 @@ function Kaleidoscope($$anchor, $$props) {
4711
4712
  $.set(isRegistered, false);
4712
4713
  parentRegister(instanceId, null, null, null, null);
4713
4714
  });
4714
- var span = root$36();
4715
+ var span = root$37();
4715
4716
  var node = $.child(span);
4716
4717
  children?.(node);
4717
4718
  $.reset(span);
@@ -4720,7 +4721,7 @@ function Kaleidoscope($$anchor, $$props) {
4720
4721
  $.append($$anchor, span);
4721
4722
  $.pop();
4722
4723
  }
4723
- var root$35 = $.from_html(`<span style="display:contents"><!></span>`);
4724
+ var root$36 = $.from_html(`<span style="display:contents"><!></span>`);
4724
4725
  function LensFlare($$anchor, $$props) {
4725
4726
  $.push($$props, true);
4726
4727
  const DEFAULT_TRANSFORM = {
@@ -4840,7 +4841,7 @@ function LensFlare($$anchor, $$props) {
4840
4841
  $.set(isRegistered, false);
4841
4842
  parentRegister(instanceId, null, null, null, null);
4842
4843
  });
4843
- var span = root$35();
4844
+ var span = root$36();
4844
4845
  var node = $.child(span);
4845
4846
  children?.(node);
4846
4847
  $.reset(span);
@@ -4849,7 +4850,7 @@ function LensFlare($$anchor, $$props) {
4849
4850
  $.append($$anchor, span);
4850
4851
  $.pop();
4851
4852
  }
4852
- var root$34 = $.from_html(`<span style="display:contents"><!></span>`);
4853
+ var root$35 = $.from_html(`<span style="display:contents"><!></span>`);
4853
4854
  function LinearBlur($$anchor, $$props) {
4854
4855
  $.push($$props, true);
4855
4856
  const DEFAULT_TRANSFORM = {
@@ -4969,7 +4970,7 @@ function LinearBlur($$anchor, $$props) {
4969
4970
  $.set(isRegistered, false);
4970
4971
  parentRegister(instanceId, null, null, null, null);
4971
4972
  });
4972
- var span = root$34();
4973
+ var span = root$35();
4973
4974
  var node = $.child(span);
4974
4975
  children?.(node);
4975
4976
  $.reset(span);
@@ -4978,7 +4979,7 @@ function LinearBlur($$anchor, $$props) {
4978
4979
  $.append($$anchor, span);
4979
4980
  $.pop();
4980
4981
  }
4981
- var root$33 = $.from_html(`<span style="display:contents"><!></span>`);
4982
+ var root$34 = $.from_html(`<span style="display:contents"><!></span>`);
4982
4983
  function LinearGradient($$anchor, $$props) {
4983
4984
  $.push($$props, true);
4984
4985
  const DEFAULT_TRANSFORM = {
@@ -5098,7 +5099,7 @@ function LinearGradient($$anchor, $$props) {
5098
5099
  $.set(isRegistered, false);
5099
5100
  parentRegister(instanceId, null, null, null, null);
5100
5101
  });
5101
- var span = root$33();
5102
+ var span = root$34();
5102
5103
  var node = $.child(span);
5103
5104
  children?.(node);
5104
5105
  $.reset(span);
@@ -5107,7 +5108,7 @@ function LinearGradient($$anchor, $$props) {
5107
5108
  $.append($$anchor, span);
5108
5109
  $.pop();
5109
5110
  }
5110
- var root$32 = $.from_html(`<span style="display:contents"><!></span>`);
5111
+ var root$33 = $.from_html(`<span style="display:contents"><!></span>`);
5111
5112
  function Liquify($$anchor, $$props) {
5112
5113
  $.push($$props, true);
5113
5114
  const DEFAULT_TRANSFORM = {
@@ -5227,7 +5228,7 @@ function Liquify($$anchor, $$props) {
5227
5228
  $.set(isRegistered, false);
5228
5229
  parentRegister(instanceId, null, null, null, null);
5229
5230
  });
5230
- var span = root$32();
5231
+ var span = root$33();
5231
5232
  var node = $.child(span);
5232
5233
  children?.(node);
5233
5234
  $.reset(span);
@@ -5236,7 +5237,7 @@ function Liquify($$anchor, $$props) {
5236
5237
  $.append($$anchor, span);
5237
5238
  $.pop();
5238
5239
  }
5239
- var root$31 = $.from_html(`<span style="display:contents"><!></span>`);
5240
+ var root$32 = $.from_html(`<span style="display:contents"><!></span>`);
5240
5241
  function Mirror($$anchor, $$props) {
5241
5242
  $.push($$props, true);
5242
5243
  const DEFAULT_TRANSFORM = {
@@ -5356,7 +5357,7 @@ function Mirror($$anchor, $$props) {
5356
5357
  $.set(isRegistered, false);
5357
5358
  parentRegister(instanceId, null, null, null, null);
5358
5359
  });
5359
- var span = root$31();
5360
+ var span = root$32();
5360
5361
  var node = $.child(span);
5361
5362
  children?.(node);
5362
5363
  $.reset(span);
@@ -5365,7 +5366,7 @@ function Mirror($$anchor, $$props) {
5365
5366
  $.append($$anchor, span);
5366
5367
  $.pop();
5367
5368
  }
5368
- var root$30 = $.from_html(`<span style="display:contents"><!></span>`);
5369
+ var root$31 = $.from_html(`<span style="display:contents"><!></span>`);
5369
5370
  function Perspective($$anchor, $$props) {
5370
5371
  $.push($$props, true);
5371
5372
  const DEFAULT_TRANSFORM = {
@@ -5485,7 +5486,7 @@ function Perspective($$anchor, $$props) {
5485
5486
  $.set(isRegistered, false);
5486
5487
  parentRegister(instanceId, null, null, null, null);
5487
5488
  });
5488
- var span = root$30();
5489
+ var span = root$31();
5489
5490
  var node = $.child(span);
5490
5491
  children?.(node);
5491
5492
  $.reset(span);
@@ -5494,7 +5495,7 @@ function Perspective($$anchor, $$props) {
5494
5495
  $.append($$anchor, span);
5495
5496
  $.pop();
5496
5497
  }
5497
- var root$29 = $.from_html(`<span style="display:contents"><!></span>`);
5498
+ var root$30 = $.from_html(`<span style="display:contents"><!></span>`);
5498
5499
  function Pixelate($$anchor, $$props) {
5499
5500
  $.push($$props, true);
5500
5501
  const DEFAULT_TRANSFORM = {
@@ -5614,7 +5615,7 @@ function Pixelate($$anchor, $$props) {
5614
5615
  $.set(isRegistered, false);
5615
5616
  parentRegister(instanceId, null, null, null, null);
5616
5617
  });
5617
- var span = root$29();
5618
+ var span = root$30();
5618
5619
  var node = $.child(span);
5619
5620
  children?.(node);
5620
5621
  $.reset(span);
@@ -5623,7 +5624,7 @@ function Pixelate($$anchor, $$props) {
5623
5624
  $.append($$anchor, span);
5624
5625
  $.pop();
5625
5626
  }
5626
- var root$28 = $.from_html(`<span style="display:contents"><!></span>`);
5627
+ var root$29 = $.from_html(`<span style="display:contents"><!></span>`);
5627
5628
  function Plasma($$anchor, $$props) {
5628
5629
  $.push($$props, true);
5629
5630
  const DEFAULT_TRANSFORM = {
@@ -5743,7 +5744,7 @@ function Plasma($$anchor, $$props) {
5743
5744
  $.set(isRegistered, false);
5744
5745
  parentRegister(instanceId, null, null, null, null);
5745
5746
  });
5746
- var span = root$28();
5747
+ var span = root$29();
5747
5748
  var node = $.child(span);
5748
5749
  children?.(node);
5749
5750
  $.reset(span);
@@ -5752,7 +5753,7 @@ function Plasma($$anchor, $$props) {
5752
5753
  $.append($$anchor, span);
5753
5754
  $.pop();
5754
5755
  }
5755
- var root$27 = $.from_html(`<span style="display:contents"><!></span>`);
5756
+ var root$28 = $.from_html(`<span style="display:contents"><!></span>`);
5756
5757
  function PolarCoordinates($$anchor, $$props) {
5757
5758
  $.push($$props, true);
5758
5759
  const DEFAULT_TRANSFORM = {
@@ -5872,7 +5873,7 @@ function PolarCoordinates($$anchor, $$props) {
5872
5873
  $.set(isRegistered, false);
5873
5874
  parentRegister(instanceId, null, null, null, null);
5874
5875
  });
5875
- var span = root$27();
5876
+ var span = root$28();
5876
5877
  var node = $.child(span);
5877
5878
  children?.(node);
5878
5879
  $.reset(span);
@@ -5881,7 +5882,7 @@ function PolarCoordinates($$anchor, $$props) {
5881
5882
  $.append($$anchor, span);
5882
5883
  $.pop();
5883
5884
  }
5884
- var root$26 = $.from_html(`<span style="display:contents"><!></span>`);
5885
+ var root$27 = $.from_html(`<span style="display:contents"><!></span>`);
5885
5886
  function Posterize($$anchor, $$props) {
5886
5887
  $.push($$props, true);
5887
5888
  const DEFAULT_TRANSFORM = {
@@ -6001,7 +6002,7 @@ function Posterize($$anchor, $$props) {
6001
6002
  $.set(isRegistered, false);
6002
6003
  parentRegister(instanceId, null, null, null, null);
6003
6004
  });
6004
- var span = root$26();
6005
+ var span = root$27();
6005
6006
  var node = $.child(span);
6006
6007
  children?.(node);
6007
6008
  $.reset(span);
@@ -6010,7 +6011,7 @@ function Posterize($$anchor, $$props) {
6010
6011
  $.append($$anchor, span);
6011
6012
  $.pop();
6012
6013
  }
6013
- var root$25 = $.from_html(`<span style="display:contents"><!></span>`);
6014
+ var root$26 = $.from_html(`<span style="display:contents"><!></span>`);
6014
6015
  function ProgressiveBlur($$anchor, $$props) {
6015
6016
  $.push($$props, true);
6016
6017
  const DEFAULT_TRANSFORM = {
@@ -6130,7 +6131,7 @@ function ProgressiveBlur($$anchor, $$props) {
6130
6131
  $.set(isRegistered, false);
6131
6132
  parentRegister(instanceId, null, null, null, null);
6132
6133
  });
6133
- var span = root$25();
6134
+ var span = root$26();
6134
6135
  var node = $.child(span);
6135
6136
  children?.(node);
6136
6137
  $.reset(span);
@@ -6139,7 +6140,7 @@ function ProgressiveBlur($$anchor, $$props) {
6139
6140
  $.append($$anchor, span);
6140
6141
  $.pop();
6141
6142
  }
6142
- var root$24 = $.from_html(`<span style="display:contents"><!></span>`);
6143
+ var root$25 = $.from_html(`<span style="display:contents"><!></span>`);
6143
6144
  function RadialGradient($$anchor, $$props) {
6144
6145
  $.push($$props, true);
6145
6146
  const DEFAULT_TRANSFORM = {
@@ -6259,7 +6260,7 @@ function RadialGradient($$anchor, $$props) {
6259
6260
  $.set(isRegistered, false);
6260
6261
  parentRegister(instanceId, null, null, null, null);
6261
6262
  });
6262
- var span = root$24();
6263
+ var span = root$25();
6263
6264
  var node = $.child(span);
6264
6265
  children?.(node);
6265
6266
  $.reset(span);
@@ -6268,7 +6269,7 @@ function RadialGradient($$anchor, $$props) {
6268
6269
  $.append($$anchor, span);
6269
6270
  $.pop();
6270
6271
  }
6271
- var root$23 = $.from_html(`<span style="display:contents"><!></span>`);
6272
+ var root$24 = $.from_html(`<span style="display:contents"><!></span>`);
6272
6273
  function RectangularCoordinates($$anchor, $$props) {
6273
6274
  $.push($$props, true);
6274
6275
  const DEFAULT_TRANSFORM = {
@@ -6388,7 +6389,7 @@ function RectangularCoordinates($$anchor, $$props) {
6388
6389
  $.set(isRegistered, false);
6389
6390
  parentRegister(instanceId, null, null, null, null);
6390
6391
  });
6391
- var span = root$23();
6392
+ var span = root$24();
6392
6393
  var node = $.child(span);
6393
6394
  children?.(node);
6394
6395
  $.reset(span);
@@ -6397,7 +6398,7 @@ function RectangularCoordinates($$anchor, $$props) {
6397
6398
  $.append($$anchor, span);
6398
6399
  $.pop();
6399
6400
  }
6400
- var root$22 = $.from_html(`<span style="display:contents"><!></span>`);
6401
+ var root$23 = $.from_html(`<span style="display:contents"><!></span>`);
6401
6402
  function Ripples($$anchor, $$props) {
6402
6403
  $.push($$props, true);
6403
6404
  const DEFAULT_TRANSFORM = {
@@ -6517,7 +6518,7 @@ function Ripples($$anchor, $$props) {
6517
6518
  $.set(isRegistered, false);
6518
6519
  parentRegister(instanceId, null, null, null, null);
6519
6520
  });
6520
- var span = root$22();
6521
+ var span = root$23();
6521
6522
  var node = $.child(span);
6522
6523
  children?.(node);
6523
6524
  $.reset(span);
@@ -6526,7 +6527,7 @@ function Ripples($$anchor, $$props) {
6526
6527
  $.append($$anchor, span);
6527
6528
  $.pop();
6528
6529
  }
6529
- var root$21 = $.from_html(`<span style="display:contents"><!></span>`);
6530
+ var root$22 = $.from_html(`<span style="display:contents"><!></span>`);
6530
6531
  function Saturation($$anchor, $$props) {
6531
6532
  $.push($$props, true);
6532
6533
  const DEFAULT_TRANSFORM = {
@@ -6646,7 +6647,7 @@ function Saturation($$anchor, $$props) {
6646
6647
  $.set(isRegistered, false);
6647
6648
  parentRegister(instanceId, null, null, null, null);
6648
6649
  });
6649
- var span = root$21();
6650
+ var span = root$22();
6650
6651
  var node = $.child(span);
6651
6652
  children?.(node);
6652
6653
  $.reset(span);
@@ -6655,7 +6656,7 @@ function Saturation($$anchor, $$props) {
6655
6656
  $.append($$anchor, span);
6656
6657
  $.pop();
6657
6658
  }
6658
- var root$20 = $.from_html(`<span style="display:contents"><!></span>`);
6659
+ var root$21 = $.from_html(`<span style="display:contents"><!></span>`);
6659
6660
  function Sharpness($$anchor, $$props) {
6660
6661
  $.push($$props, true);
6661
6662
  const DEFAULT_TRANSFORM = {
@@ -6775,7 +6776,7 @@ function Sharpness($$anchor, $$props) {
6775
6776
  $.set(isRegistered, false);
6776
6777
  parentRegister(instanceId, null, null, null, null);
6777
6778
  });
6778
- var span = root$20();
6779
+ var span = root$21();
6779
6780
  var node = $.child(span);
6780
6781
  children?.(node);
6781
6782
  $.reset(span);
@@ -6784,7 +6785,7 @@ function Sharpness($$anchor, $$props) {
6784
6785
  $.append($$anchor, span);
6785
6786
  $.pop();
6786
6787
  }
6787
- var root$19 = $.from_html(`<span style="display:contents"><!></span>`);
6788
+ var root$20 = $.from_html(`<span style="display:contents"><!></span>`);
6788
6789
  function Shatter($$anchor, $$props) {
6789
6790
  $.push($$props, true);
6790
6791
  const DEFAULT_TRANSFORM = {
@@ -6904,7 +6905,7 @@ function Shatter($$anchor, $$props) {
6904
6905
  $.set(isRegistered, false);
6905
6906
  parentRegister(instanceId, null, null, null, null);
6906
6907
  });
6907
- var span = root$19();
6908
+ var span = root$20();
6908
6909
  var node = $.child(span);
6909
6910
  children?.(node);
6910
6911
  $.reset(span);
@@ -6913,7 +6914,7 @@ function Shatter($$anchor, $$props) {
6913
6914
  $.append($$anchor, span);
6914
6915
  $.pop();
6915
6916
  }
6916
- var root$18 = $.from_html(`<span style="display:contents"><!></span>`);
6917
+ var root$19 = $.from_html(`<span style="display:contents"><!></span>`);
6917
6918
  function SimplexNoise($$anchor, $$props) {
6918
6919
  $.push($$props, true);
6919
6920
  const DEFAULT_TRANSFORM = {
@@ -7033,7 +7034,7 @@ function SimplexNoise($$anchor, $$props) {
7033
7034
  $.set(isRegistered, false);
7034
7035
  parentRegister(instanceId, null, null, null, null);
7035
7036
  });
7036
- var span = root$18();
7037
+ var span = root$19();
7037
7038
  var node = $.child(span);
7038
7039
  children?.(node);
7039
7040
  $.reset(span);
@@ -7042,7 +7043,7 @@ function SimplexNoise($$anchor, $$props) {
7042
7043
  $.append($$anchor, span);
7043
7044
  $.pop();
7044
7045
  }
7045
- var root$17 = $.from_html(`<span style="display:contents"><!></span>`);
7046
+ var root$18 = $.from_html(`<span style="display:contents"><!></span>`);
7046
7047
  function SineWave($$anchor, $$props) {
7047
7048
  $.push($$props, true);
7048
7049
  const DEFAULT_TRANSFORM = {
@@ -7162,7 +7163,7 @@ function SineWave($$anchor, $$props) {
7162
7163
  $.set(isRegistered, false);
7163
7164
  parentRegister(instanceId, null, null, null, null);
7164
7165
  });
7165
- var span = root$17();
7166
+ var span = root$18();
7166
7167
  var node = $.child(span);
7167
7168
  children?.(node);
7168
7169
  $.reset(span);
@@ -7171,7 +7172,7 @@ function SineWave($$anchor, $$props) {
7171
7172
  $.append($$anchor, span);
7172
7173
  $.pop();
7173
7174
  }
7174
- var root$16 = $.from_html(`<span style="display:contents"><!></span>`);
7175
+ var root$17 = $.from_html(`<span style="display:contents"><!></span>`);
7175
7176
  function SolidColor($$anchor, $$props) {
7176
7177
  $.push($$props, true);
7177
7178
  const DEFAULT_TRANSFORM = {
@@ -7291,7 +7292,7 @@ function SolidColor($$anchor, $$props) {
7291
7292
  $.set(isRegistered, false);
7292
7293
  parentRegister(instanceId, null, null, null, null);
7293
7294
  });
7294
- var span = root$16();
7295
+ var span = root$17();
7295
7296
  var node = $.child(span);
7296
7297
  children?.(node);
7297
7298
  $.reset(span);
@@ -7300,7 +7301,7 @@ function SolidColor($$anchor, $$props) {
7300
7301
  $.append($$anchor, span);
7301
7302
  $.pop();
7302
7303
  }
7303
- var root$15 = $.from_html(`<span style="display:contents"><!></span>`);
7304
+ var root$16 = $.from_html(`<span style="display:contents"><!></span>`);
7304
7305
  function Spherize($$anchor, $$props) {
7305
7306
  $.push($$props, true);
7306
7307
  const DEFAULT_TRANSFORM = {
@@ -7420,7 +7421,7 @@ function Spherize($$anchor, $$props) {
7420
7421
  $.set(isRegistered, false);
7421
7422
  parentRegister(instanceId, null, null, null, null);
7422
7423
  });
7423
- var span = root$15();
7424
+ var span = root$16();
7424
7425
  var node = $.child(span);
7425
7426
  children?.(node);
7426
7427
  $.reset(span);
@@ -7429,7 +7430,7 @@ function Spherize($$anchor, $$props) {
7429
7430
  $.append($$anchor, span);
7430
7431
  $.pop();
7431
7432
  }
7432
- var root$14 = $.from_html(`<span style="display:contents"><!></span>`);
7433
+ var root$15 = $.from_html(`<span style="display:contents"><!></span>`);
7433
7434
  function Spiral($$anchor, $$props) {
7434
7435
  $.push($$props, true);
7435
7436
  const DEFAULT_TRANSFORM = {
@@ -7549,7 +7550,7 @@ function Spiral($$anchor, $$props) {
7549
7550
  $.set(isRegistered, false);
7550
7551
  parentRegister(instanceId, null, null, null, null);
7551
7552
  });
7552
- var span = root$14();
7553
+ var span = root$15();
7553
7554
  var node = $.child(span);
7554
7555
  children?.(node);
7555
7556
  $.reset(span);
@@ -7558,7 +7559,7 @@ function Spiral($$anchor, $$props) {
7558
7559
  $.append($$anchor, span);
7559
7560
  $.pop();
7560
7561
  }
7561
- var root$13 = $.from_html(`<span style="display:contents"><!></span>`);
7562
+ var root$14 = $.from_html(`<span style="display:contents"><!></span>`);
7562
7563
  function Strands($$anchor, $$props) {
7563
7564
  $.push($$props, true);
7564
7565
  const DEFAULT_TRANSFORM = {
@@ -7678,7 +7679,7 @@ function Strands($$anchor, $$props) {
7678
7679
  $.set(isRegistered, false);
7679
7680
  parentRegister(instanceId, null, null, null, null);
7680
7681
  });
7681
- var span = root$13();
7682
+ var span = root$14();
7682
7683
  var node = $.child(span);
7683
7684
  children?.(node);
7684
7685
  $.reset(span);
@@ -7687,7 +7688,7 @@ function Strands($$anchor, $$props) {
7687
7688
  $.append($$anchor, span);
7688
7689
  $.pop();
7689
7690
  }
7690
- var root$12 = $.from_html(`<span style="display:contents"><!></span>`);
7691
+ var root$13 = $.from_html(`<span style="display:contents"><!></span>`);
7691
7692
  function Stretch($$anchor, $$props) {
7692
7693
  $.push($$props, true);
7693
7694
  const DEFAULT_TRANSFORM = {
@@ -7807,7 +7808,7 @@ function Stretch($$anchor, $$props) {
7807
7808
  $.set(isRegistered, false);
7808
7809
  parentRegister(instanceId, null, null, null, null);
7809
7810
  });
7810
- var span = root$12();
7811
+ var span = root$13();
7811
7812
  var node = $.child(span);
7812
7813
  children?.(node);
7813
7814
  $.reset(span);
@@ -7816,7 +7817,7 @@ function Stretch($$anchor, $$props) {
7816
7817
  $.append($$anchor, span);
7817
7818
  $.pop();
7818
7819
  }
7819
- var root$11 = $.from_html(`<span style="display:contents"><!></span>`);
7820
+ var root$12 = $.from_html(`<span style="display:contents"><!></span>`);
7820
7821
  function Stripes($$anchor, $$props) {
7821
7822
  $.push($$props, true);
7822
7823
  const DEFAULT_TRANSFORM = {
@@ -7936,7 +7937,7 @@ function Stripes($$anchor, $$props) {
7936
7937
  $.set(isRegistered, false);
7937
7938
  parentRegister(instanceId, null, null, null, null);
7938
7939
  });
7939
- var span = root$11();
7940
+ var span = root$12();
7940
7941
  var node = $.child(span);
7941
7942
  children?.(node);
7942
7943
  $.reset(span);
@@ -7945,8 +7946,8 @@ function Stripes($$anchor, $$props) {
7945
7946
  $.append($$anchor, span);
7946
7947
  $.pop();
7947
7948
  }
7948
- var root$10 = $.from_html(`<span style="display:contents"><!></span>`);
7949
- function Swirl($$anchor, $$props) {
7949
+ var root$11 = $.from_html(`<span style="display:contents"><!></span>`);
7950
+ function StudioBackground($$anchor, $$props) {
7950
7951
  $.push($$props, true);
7951
7952
  const DEFAULT_TRANSFORM = {
7952
7953
  offsetX: 0,
@@ -8065,7 +8066,7 @@ function Swirl($$anchor, $$props) {
8065
8066
  $.set(isRegistered, false);
8066
8067
  parentRegister(instanceId, null, null, null, null);
8067
8068
  });
8068
- var span = root$10();
8069
+ var span = root$11();
8069
8070
  var node = $.child(span);
8070
8071
  children?.(node);
8071
8072
  $.reset(span);
@@ -8074,8 +8075,8 @@ function Swirl($$anchor, $$props) {
8074
8075
  $.append($$anchor, span);
8075
8076
  $.pop();
8076
8077
  }
8077
- var root$9 = $.from_html(`<span style="display:contents"><!></span>`);
8078
- function TiltShift($$anchor, $$props) {
8078
+ var root$10 = $.from_html(`<span style="display:contents"><!></span>`);
8079
+ function Swirl($$anchor, $$props) {
8079
8080
  $.push($$props, true);
8080
8081
  const DEFAULT_TRANSFORM = {
8081
8082
  offsetX: 0,
@@ -8194,7 +8195,7 @@ function TiltShift($$anchor, $$props) {
8194
8195
  $.set(isRegistered, false);
8195
8196
  parentRegister(instanceId, null, null, null, null);
8196
8197
  });
8197
- var span = root$9();
8198
+ var span = root$10();
8198
8199
  var node = $.child(span);
8199
8200
  children?.(node);
8200
8201
  $.reset(span);
@@ -8203,8 +8204,8 @@ function TiltShift($$anchor, $$props) {
8203
8204
  $.append($$anchor, span);
8204
8205
  $.pop();
8205
8206
  }
8206
- var root$8 = $.from_html(`<span style="display:contents"><!></span>`);
8207
- function Tint($$anchor, $$props) {
8207
+ var root$9 = $.from_html(`<span style="display:contents"><!></span>`);
8208
+ function TiltShift($$anchor, $$props) {
8208
8209
  $.push($$props, true);
8209
8210
  const DEFAULT_TRANSFORM = {
8210
8211
  offsetX: 0,
@@ -8323,7 +8324,7 @@ function Tint($$anchor, $$props) {
8323
8324
  $.set(isRegistered, false);
8324
8325
  parentRegister(instanceId, null, null, null, null);
8325
8326
  });
8326
- var span = root$8();
8327
+ var span = root$9();
8327
8328
  var node = $.child(span);
8328
8329
  children?.(node);
8329
8330
  $.reset(span);
@@ -8332,8 +8333,8 @@ function Tint($$anchor, $$props) {
8332
8333
  $.append($$anchor, span);
8333
8334
  $.pop();
8334
8335
  }
8335
- var root$7 = $.from_html(`<span style="display:contents"><!></span>`);
8336
- function Tritone($$anchor, $$props) {
8336
+ var root$8 = $.from_html(`<span style="display:contents"><!></span>`);
8337
+ function Tint($$anchor, $$props) {
8337
8338
  $.push($$props, true);
8338
8339
  const DEFAULT_TRANSFORM = {
8339
8340
  offsetX: 0,
@@ -8452,7 +8453,7 @@ function Tritone($$anchor, $$props) {
8452
8453
  $.set(isRegistered, false);
8453
8454
  parentRegister(instanceId, null, null, null, null);
8454
8455
  });
8455
- var span = root$7();
8456
+ var span = root$8();
8456
8457
  var node = $.child(span);
8457
8458
  children?.(node);
8458
8459
  $.reset(span);
@@ -8461,8 +8462,8 @@ function Tritone($$anchor, $$props) {
8461
8462
  $.append($$anchor, span);
8462
8463
  $.pop();
8463
8464
  }
8464
- var root$6 = $.from_html(`<span style="display:contents"><!></span>`);
8465
- function Twirl($$anchor, $$props) {
8465
+ var root$7 = $.from_html(`<span style="display:contents"><!></span>`);
8466
+ function Tritone($$anchor, $$props) {
8466
8467
  $.push($$props, true);
8467
8468
  const DEFAULT_TRANSFORM = {
8468
8469
  offsetX: 0,
@@ -8581,7 +8582,7 @@ function Twirl($$anchor, $$props) {
8581
8582
  $.set(isRegistered, false);
8582
8583
  parentRegister(instanceId, null, null, null, null);
8583
8584
  });
8584
- var span = root$6();
8585
+ var span = root$7();
8585
8586
  var node = $.child(span);
8586
8587
  children?.(node);
8587
8588
  $.reset(span);
@@ -8590,8 +8591,8 @@ function Twirl($$anchor, $$props) {
8590
8591
  $.append($$anchor, span);
8591
8592
  $.pop();
8592
8593
  }
8593
- var root$5 = $.from_html(`<span style="display:contents"><!></span>`);
8594
- function Vibrance($$anchor, $$props) {
8594
+ var root$6 = $.from_html(`<span style="display:contents"><!></span>`);
8595
+ function Twirl($$anchor, $$props) {
8595
8596
  $.push($$props, true);
8596
8597
  const DEFAULT_TRANSFORM = {
8597
8598
  offsetX: 0,
@@ -8710,7 +8711,7 @@ function Vibrance($$anchor, $$props) {
8710
8711
  $.set(isRegistered, false);
8711
8712
  parentRegister(instanceId, null, null, null, null);
8712
8713
  });
8713
- var span = root$5();
8714
+ var span = root$6();
8714
8715
  var node = $.child(span);
8715
8716
  children?.(node);
8716
8717
  $.reset(span);
@@ -8719,8 +8720,8 @@ function Vibrance($$anchor, $$props) {
8719
8720
  $.append($$anchor, span);
8720
8721
  $.pop();
8721
8722
  }
8722
- var root$4 = $.from_html(`<span style="display:contents"><!></span>`);
8723
- function VideoTexture($$anchor, $$props) {
8723
+ var root$5 = $.from_html(`<span style="display:contents"><!></span>`);
8724
+ function Vibrance($$anchor, $$props) {
8724
8725
  $.push($$props, true);
8725
8726
  const DEFAULT_TRANSFORM = {
8726
8727
  offsetX: 0,
@@ -8839,7 +8840,7 @@ function VideoTexture($$anchor, $$props) {
8839
8840
  $.set(isRegistered, false);
8840
8841
  parentRegister(instanceId, null, null, null, null);
8841
8842
  });
8842
- var span = root$4();
8843
+ var span = root$5();
8843
8844
  var node = $.child(span);
8844
8845
  children?.(node);
8845
8846
  $.reset(span);
@@ -8848,8 +8849,8 @@ function VideoTexture($$anchor, $$props) {
8848
8849
  $.append($$anchor, span);
8849
8850
  $.pop();
8850
8851
  }
8851
- var root$3 = $.from_html(`<span style="display:contents"><!></span>`);
8852
- function WaveDistortion($$anchor, $$props) {
8852
+ var root$4 = $.from_html(`<span style="display:contents"><!></span>`);
8853
+ function VideoTexture($$anchor, $$props) {
8853
8854
  $.push($$props, true);
8854
8855
  const DEFAULT_TRANSFORM = {
8855
8856
  offsetX: 0,
@@ -8968,7 +8969,7 @@ function WaveDistortion($$anchor, $$props) {
8968
8969
  $.set(isRegistered, false);
8969
8970
  parentRegister(instanceId, null, null, null, null);
8970
8971
  });
8971
- var span = root$3();
8972
+ var span = root$4();
8972
8973
  var node = $.child(span);
8973
8974
  children?.(node);
8974
8975
  $.reset(span);
@@ -8977,8 +8978,8 @@ function WaveDistortion($$anchor, $$props) {
8977
8978
  $.append($$anchor, span);
8978
8979
  $.pop();
8979
8980
  }
8980
- var root$2 = $.from_html(`<span style="display:contents"><!></span>`);
8981
- function WebcamTexture($$anchor, $$props) {
8981
+ var root$3 = $.from_html(`<span style="display:contents"><!></span>`);
8982
+ function WaveDistortion($$anchor, $$props) {
8982
8983
  $.push($$props, true);
8983
8984
  const DEFAULT_TRANSFORM = {
8984
8985
  offsetX: 0,
@@ -9097,7 +9098,7 @@ function WebcamTexture($$anchor, $$props) {
9097
9098
  $.set(isRegistered, false);
9098
9099
  parentRegister(instanceId, null, null, null, null);
9099
9100
  });
9100
- var span = root$2();
9101
+ var span = root$3();
9101
9102
  var node = $.child(span);
9102
9103
  children?.(node);
9103
9104
  $.reset(span);
@@ -9106,8 +9107,8 @@ function WebcamTexture($$anchor, $$props) {
9106
9107
  $.append($$anchor, span);
9107
9108
  $.pop();
9108
9109
  }
9109
- var root$1 = $.from_html(`<span style="display:contents"><!></span>`);
9110
- function ZoomBlur($$anchor, $$props) {
9110
+ var root$2 = $.from_html(`<span style="display:contents"><!></span>`);
9111
+ function WebcamTexture($$anchor, $$props) {
9111
9112
  $.push($$props, true);
9112
9113
  const DEFAULT_TRANSFORM = {
9113
9114
  offsetX: 0,
@@ -9226,6 +9227,135 @@ function ZoomBlur($$anchor, $$props) {
9226
9227
  $.set(isRegistered, false);
9227
9228
  parentRegister(instanceId, null, null, null, null);
9228
9229
  });
9230
+ var span = root$2();
9231
+ var node = $.child(span);
9232
+ children?.(node);
9233
+ $.reset(span);
9234
+ $.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
9235
+ $.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
9236
+ $.append($$anchor, span);
9237
+ $.pop();
9238
+ }
9239
+ var root$1 = $.from_html(`<span style="display:contents"><!></span>`);
9240
+ function ZoomBlur($$anchor, $$props) {
9241
+ $.push($$props, true);
9242
+ const DEFAULT_TRANSFORM = {
9243
+ offsetX: 0,
9244
+ offsetY: 0,
9245
+ rotation: 0,
9246
+ scale: 1,
9247
+ anchorX: .5,
9248
+ anchorY: .5,
9249
+ edges: "transparent"
9250
+ };
9251
+ const componentDefaults = {
9252
+ blendMode: "normal",
9253
+ visible: true,
9254
+ ...Object.entries(componentDefinition$71.props).reduce((acc, [key, config]) => {
9255
+ acc[key] = config.default;
9256
+ return acc;
9257
+ }, {})
9258
+ };
9259
+ const props = $.rest_props($$props, [
9260
+ "$$slots",
9261
+ "$$events",
9262
+ "$$legacy"
9263
+ ]);
9264
+ const blendMode = $$props.blendMode ?? componentDefaults.blendMode;
9265
+ const opacity = $$props.opacity;
9266
+ const visible = $$props.visible ?? componentDefaults.visible;
9267
+ const id = $$props.id;
9268
+ const maskSource = $$props.maskSource;
9269
+ const maskType = $$props.maskType;
9270
+ const renderOrder = $$props.renderOrder;
9271
+ const { children } = props;
9272
+ const effectiveTransform = $.derived(() => ({
9273
+ ...DEFAULT_TRANSFORM,
9274
+ ...$$props.transform
9275
+ }));
9276
+ const parentId = getContext("shaderParentId");
9277
+ if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
9278
+ const instanceId = id || Math.random().toString(36).substring(2, 10);
9279
+ setContext("shaderParentId", instanceId);
9280
+ const shaderReadyProps = $.derived(() => {
9281
+ let baseProps = { ...componentDefaults };
9282
+ for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
9283
+ const propValue = props[key];
9284
+ const defaultValue = componentDefaults[key];
9285
+ if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
9286
+ }
9287
+ return baseProps;
9288
+ });
9289
+ const uniforms = createUniformsMap(componentDefinition$71, $.get(shaderReadyProps), instanceId);
9290
+ const parentRegister = getContext("shaderNodeRegister");
9291
+ if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
9292
+ const parentUniformUpdate = getContext("shaderUniformUpdate");
9293
+ if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
9294
+ const parentMetadataUpdate = getContext("shaderMetadataUpdate");
9295
+ if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
9296
+ let orderMarker;
9297
+ let detectedRenderOrder = void 0;
9298
+ let isRegistered = $.state(false);
9299
+ Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
9300
+ $.user_effect(() => {
9301
+ if (!$.get(isRegistered)) return;
9302
+ if (uniform && uniform.value !== void 0) {
9303
+ const newValue = props[propName];
9304
+ if (newValue !== void 0) parentUniformUpdate(instanceId, propName, newValue);
9305
+ }
9306
+ });
9307
+ });
9308
+ $.user_effect(() => {
9309
+ if (!$.get(isRegistered)) return;
9310
+ parentMetadataUpdate(instanceId, {
9311
+ blendMode,
9312
+ opacity,
9313
+ visible: visible === false ? false : true,
9314
+ id,
9315
+ mask: maskSource ? {
9316
+ source: maskSource,
9317
+ type: maskType || "alpha"
9318
+ } : void 0,
9319
+ renderOrder: renderOrder ?? detectedRenderOrder,
9320
+ transform: $.get(effectiveTransform)
9321
+ });
9322
+ });
9323
+ onMount(() => {
9324
+ if (componentDefinition$71 && typeof componentDefinition$71.fragmentNode === "function") {
9325
+ parentRegister(instanceId, componentDefinition$71.fragmentNode, parentId, {
9326
+ blendMode,
9327
+ opacity,
9328
+ visible: visible !== false ? true : false,
9329
+ id,
9330
+ mask: maskSource ? {
9331
+ source: maskSource,
9332
+ type: maskType || "alpha"
9333
+ } : void 0,
9334
+ renderOrder: renderOrder ?? detectedRenderOrder,
9335
+ transform: $.get(effectiveTransform)
9336
+ }, uniforms);
9337
+ $.set(isRegistered, true);
9338
+ if (renderOrder === void 0 && orderMarker) {
9339
+ const parent = orderMarker.parentElement;
9340
+ if (parent) {
9341
+ const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
9342
+ const position = Array.from(siblings).indexOf(orderMarker);
9343
+ if (position >= 0) {
9344
+ detectedRenderOrder = position;
9345
+ parentMetadataUpdate(instanceId, { renderOrder: position });
9346
+ }
9347
+ }
9348
+ }
9349
+ } else console.error("componentDefinition.fragmentNode is not a function:", {
9350
+ componentDefinition: componentDefinition$71,
9351
+ fragmentNode: componentDefinition$71?.fragmentNode,
9352
+ type: typeof componentDefinition$71?.fragmentNode
9353
+ });
9354
+ });
9355
+ onDestroy(() => {
9356
+ $.set(isRegistered, false);
9357
+ parentRegister(instanceId, null, null, null, null);
9358
+ });
9229
9359
  var span = root$1();
9230
9360
  var node = $.child(span);
9231
9361
  children?.(node);
@@ -9367,4 +9497,4 @@ function Shader($$anchor, $$props) {
9367
9497
  $.append($$anchor, div);
9368
9498
  $.pop();
9369
9499
  }
9370
- export { AngularBlur, Ascii, Beam, Blob, Blur, BrightnessContrast, Bulge, CRTScreen, ChannelBlur, Checkerboard, ChromaFlow, ChromaticAberration, Circle, ConcentricSpin, ContourLines, CursorTrail, DiffuseBlur, Dither, DotGrid, Duotone, FilmGrain, FloatingParticles, FlowField, GlassTiles, Glitch, Glow, Godrays, Grayscale, Grid, GridDistortion, Group, Halftone, HueShift, ImageTexture, Invert, Kaleidoscope, LensFlare, LinearBlur, LinearGradient, Liquify, Mirror, Perspective, Pixelate, Plasma, PolarCoordinates, Posterize, ProgressiveBlur, RadialGradient, RectangularCoordinates, Ripples, Saturation, Shader, Sharpness, Shatter, SimplexNoise, SineWave, SolidColor, Spherize, Spiral, Strands, Stretch, Stripes, Swirl, TiltShift, Tint, Tritone, Twirl, Vibrance, VideoTexture, WaveDistortion, WebcamTexture, ZoomBlur, generatePresetCode };
9500
+ export { AngularBlur, Ascii, Beam, Blob, Blur, BrightnessContrast, Bulge, CRTScreen, ChannelBlur, Checkerboard, ChromaFlow, ChromaticAberration, Circle, ConcentricSpin, ContourLines, CursorTrail, DiffuseBlur, Dither, DotGrid, Duotone, FilmGrain, FloatingParticles, FlowField, GlassTiles, Glitch, Glow, Godrays, Grayscale, Grid, GridDistortion, Group, Halftone, HueShift, ImageTexture, Invert, Kaleidoscope, LensFlare, LinearBlur, LinearGradient, Liquify, Mirror, Perspective, Pixelate, Plasma, PolarCoordinates, Posterize, ProgressiveBlur, RadialGradient, RectangularCoordinates, Ripples, Saturation, Shader, Sharpness, Shatter, SimplexNoise, SineWave, SolidColor, Spherize, Spiral, Strands, Stretch, Stripes, StudioBackground, Swirl, TiltShift, Tint, Tritone, Twirl, Vibrance, VideoTexture, WaveDistortion, WebcamTexture, ZoomBlur, generatePresetCode };