@awesome-flow/noise 0.9.1 → 0.9.2

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 (49) hide show
  1. package/dist/abstract/index.cjs +6 -6
  2. package/dist/abstract/index.d.cts +2 -2
  3. package/dist/abstract/index.d.ts +2 -2
  4. package/dist/abstract/index.js +5 -5
  5. package/dist/{chunk-D5QJ3563.cjs → chunk-36USJJC4.cjs} +52 -117
  6. package/dist/{chunk-76MMGOOY.cjs → chunk-DQE5NXY7.cjs} +84 -181
  7. package/dist/{chunk-4YL2V7SE.js → chunk-FMJZTXJQ.js} +75 -140
  8. package/dist/{chunk-O5DVJAMK.cjs → chunk-LKDSXT7I.cjs} +66 -144
  9. package/dist/{chunk-L45ZU7VL.js → chunk-M26CSOHC.js} +109 -206
  10. package/dist/{chunk-S2ZGHJ75.js → chunk-NUA3VGOA.js} +99 -177
  11. package/dist/{chunk-MIYOMNAG.cjs → chunk-OLJKWO2H.cjs} +77 -129
  12. package/dist/{chunk-EHBNVDTI.js → chunk-R6TU3SBX.js} +7 -18
  13. package/dist/{chunk-BE4RLT5P.js → chunk-W4T6Q7A5.js} +75 -127
  14. package/dist/{chunk-X2GXADE5.cjs → chunk-XC7VF5YC.cjs} +7 -18
  15. package/dist/{index-EzT2GjIx.d.cts → index-BZr1EROK.d.cts} +1 -1
  16. package/dist/{index-DAAmYCPU.d.ts → index-DzD3jbPF.d.ts} +1 -1
  17. package/dist/nodes/generators/index.cjs +2 -2
  18. package/dist/nodes/generators/index.js +1 -1
  19. package/dist/nodes/groups/index.cjs +2 -2
  20. package/dist/nodes/groups/index.js +1 -1
  21. package/dist/nodes/index.cjs +6 -6
  22. package/dist/nodes/index.js +5 -5
  23. package/dist/nodes/modifiers/index.cjs +2 -2
  24. package/dist/nodes/modifiers/index.js +1 -1
  25. package/dist/nodes/output/index.cjs +6 -6
  26. package/dist/nodes/output/index.js +5 -5
  27. package/dist/nodes/selectors/index.cjs +6 -6
  28. package/dist/nodes/selectors/index.js +5 -5
  29. package/dist/nodes/transformers/index.cjs +2 -2
  30. package/dist/nodes/transformers/index.js +1 -1
  31. package/dist/templates/generators/index.cjs +6 -6
  32. package/dist/templates/generators/index.js +5 -5
  33. package/dist/templates/groups/index.cjs +6 -6
  34. package/dist/templates/groups/index.js +5 -5
  35. package/dist/templates/index.cjs +6 -6
  36. package/dist/templates/index.d.cts +1 -1
  37. package/dist/templates/index.d.ts +1 -1
  38. package/dist/templates/index.js +5 -5
  39. package/dist/templates/modifiers/index.cjs +6 -6
  40. package/dist/templates/modifiers/index.js +5 -5
  41. package/dist/templates/output/index.cjs +6 -6
  42. package/dist/templates/output/index.js +5 -5
  43. package/dist/templates/selectors/index.cjs +6 -6
  44. package/dist/templates/selectors/index.js +5 -5
  45. package/dist/templates/transformers/index.cjs +6 -6
  46. package/dist/templates/transformers/index.d.cts +1 -1
  47. package/dist/templates/transformers/index.d.ts +1 -1
  48. package/dist/templates/transformers/index.js +5 -5
  49. package/package.json +10 -10
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkD5QJ3563cjs = require('./chunk-D5QJ3563.cjs');
7
+ var _chunk36USJJC4cjs = require('./chunk-36USJJC4.cjs');
8
8
 
9
9
 
10
10
 
@@ -16,10 +16,10 @@ var _chunkD5QJ3563cjs = require('./chunk-D5QJ3563.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkO5DVJAMKcjs = require('./chunk-O5DVJAMK.cjs');
19
+ var _chunkLKDSXT7Icjs = require('./chunk-LKDSXT7I.cjs');
20
20
 
21
21
 
22
- var _chunkX2GXADE5cjs = require('./chunk-X2GXADE5.cjs');
22
+ var _chunkXC7VF5YCcjs = require('./chunk-XC7VF5YC.cjs');
23
23
 
24
24
 
25
25
 
@@ -30,7 +30,7 @@ var _chunkX2GXADE5cjs = require('./chunk-X2GXADE5.cjs');
30
30
 
31
31
 
32
32
 
33
- var _chunk76MMGOOYcjs = require('./chunk-76MMGOOY.cjs');
33
+ var _chunkDQE5NXY7cjs = require('./chunk-DQE5NXY7.cjs');
34
34
 
35
35
  // src/nodes/output/noise-logger-node.tsx
36
36
  var _hooks = require('@awesome-flow/core/hooks');
@@ -60,8 +60,7 @@ function NoiseLoggerNode({
60
60
  _optionalChain([v, 'access', _12 => _12.position, 'optionalAccess', _13 => _13.z]),
61
61
  ": ",
62
62
  v.value
63
- ] }, i))]) }),
64
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" })
63
+ ] }, i))]) })
65
64
  ] });
66
65
  }
67
66
  var noise_logger_node_default = NoiseLoggerNode;
@@ -82,7 +81,7 @@ var _components = require('@awesome-flow/core/components');
82
81
  var _libnoisesimplexts = require('libnoise-simplex-ts');
83
82
 
84
83
  function NoiseBlendNode(t0) {
85
- const $ = _compilerruntime.c.call(void 0, 17);
84
+ const $ = _compilerruntime.c.call(void 0, 13);
86
85
  const {
87
86
  id,
88
87
  selected,
@@ -111,7 +110,7 @@ function NoiseBlendNode(t0) {
111
110
  const onDataUpdated = t1;
112
111
  let t2;
113
112
  if ($[3] !== data.handles || $[4] !== id || $[5] !== onDataUpdated) {
114
- t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { nodeId: id, handles: data.handles, handleKey: "dataId", onDataUpdated, type: "target", resetComputedData: true });
113
+ t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { nodeId: id, handles: data.handles, groupBy: "dataId", onDataUpdated, type: "target", resetComputedData: true });
115
114
  $[3] = data.handles;
116
115
  $[4] = id;
117
116
  $[5] = onDataUpdated;
@@ -120,31 +119,18 @@ function NoiseBlendNode(t0) {
120
119
  t2 = $[6];
121
120
  }
122
121
  let t3;
123
- if ($[7] !== data.handles || $[8] !== id) {
124
- t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
125
- $[7] = data.handles;
122
+ if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
123
+ t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t2 });
124
+ $[7] = data;
126
125
  $[8] = id;
127
- $[9] = t3;
128
- } else {
129
- t3 = $[9];
130
- }
131
- let t4;
132
- if ($[10] !== data || $[11] !== id || $[12] !== selected || $[13] !== t2 || $[14] !== t3 || $[15] !== type) {
133
- t4 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
134
- t2,
135
- t3
136
- ] });
137
- $[10] = data;
138
- $[11] = id;
139
- $[12] = selected;
140
- $[13] = t2;
141
- $[14] = t3;
142
- $[15] = type;
143
- $[16] = t4;
126
+ $[9] = selected;
127
+ $[10] = t2;
128
+ $[11] = type;
129
+ $[12] = t3;
144
130
  } else {
145
- t4 = $[16];
131
+ t3 = $[12];
146
132
  }
147
- return t4;
133
+ return t3;
148
134
  }
149
135
  var noise_blend_node_default = NoiseBlendNode;
150
136
 
@@ -158,7 +144,7 @@ var noise_blend_node_default = NoiseBlendNode;
158
144
 
159
145
 
160
146
  function NoiseSelectNode(t0) {
161
- const $ = _compilerruntime.c.call(void 0, 41);
147
+ const $ = _compilerruntime.c.call(void 0, 37);
162
148
  const {
163
149
  id,
164
150
  selected,
@@ -271,7 +257,7 @@ function NoiseSelectNode(t0) {
271
257
  }
272
258
  let t10;
273
259
  if ($[22] !== data.handles || $[23] !== id || $[24] !== onDataUpdated) {
274
- t10 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { nodeId: id, handles: data.handles, handleKey: "dataId", onDataUpdated, type: "target", resetComputedData: true });
260
+ t10 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { nodeId: id, handles: data.handles, groupBy: "dataId", onDataUpdated, type: "target", resetComputedData: true });
275
261
  $[22] = data.handles;
276
262
  $[23] = id;
277
263
  $[24] = onDataUpdated;
@@ -296,31 +282,18 @@ function NoiseSelectNode(t0) {
296
282
  t11 = $[30];
297
283
  }
298
284
  let t12;
299
- if ($[31] !== data.handles || $[32] !== id) {
300
- t12 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
301
- $[31] = data.handles;
285
+ if ($[31] !== data || $[32] !== id || $[33] !== selected || $[34] !== t11 || $[35] !== type) {
286
+ t12 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t11 });
287
+ $[31] = data;
302
288
  $[32] = id;
303
- $[33] = t12;
289
+ $[33] = selected;
290
+ $[34] = t11;
291
+ $[35] = type;
292
+ $[36] = t12;
304
293
  } else {
305
- t12 = $[33];
294
+ t12 = $[36];
306
295
  }
307
- let t13;
308
- if ($[34] !== data || $[35] !== id || $[36] !== selected || $[37] !== t11 || $[38] !== t12 || $[39] !== type) {
309
- t13 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
310
- t11,
311
- t12
312
- ] });
313
- $[34] = data;
314
- $[35] = id;
315
- $[36] = selected;
316
- $[37] = t11;
317
- $[38] = t12;
318
- $[39] = type;
319
- $[40] = t13;
320
- } else {
321
- t13 = $[40];
322
- }
323
- return t13;
296
+ return t12;
324
297
  }
325
298
  var noise_select_node_default = NoiseSelectNode;
326
299
 
@@ -332,7 +305,7 @@ var noise_select_node_default = NoiseSelectNode;
332
305
 
333
306
 
334
307
  function NoiseRawTextureNode(t0) {
335
- const $ = _compilerruntime.c.call(void 0, 28);
308
+ const $ = _compilerruntime.c.call(void 0, 24);
336
309
  const {
337
310
  id,
338
311
  selected,
@@ -439,31 +412,18 @@ function NoiseRawTextureNode(t0) {
439
412
  t9 = $[17];
440
413
  }
441
414
  let t10;
442
- if ($[18] !== data.handles || $[19] !== id) {
443
- t10 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
444
- $[18] = data.handles;
415
+ if ($[18] !== data || $[19] !== id || $[20] !== selected || $[21] !== t9 || $[22] !== type) {
416
+ t10 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t9 });
417
+ $[18] = data;
445
418
  $[19] = id;
446
- $[20] = t10;
447
- } else {
448
- t10 = $[20];
449
- }
450
- let t11;
451
- if ($[21] !== data || $[22] !== id || $[23] !== selected || $[24] !== t10 || $[25] !== t9 || $[26] !== type) {
452
- t11 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
453
- t9,
454
- t10
455
- ] });
456
- $[21] = data;
457
- $[22] = id;
458
- $[23] = selected;
459
- $[24] = t10;
460
- $[25] = t9;
461
- $[26] = type;
462
- $[27] = t11;
419
+ $[20] = selected;
420
+ $[21] = t9;
421
+ $[22] = type;
422
+ $[23] = t10;
463
423
  } else {
464
- t11 = $[27];
424
+ t10 = $[23];
465
425
  }
466
- return t11;
426
+ return t10;
467
427
  }
468
428
  function _temp2(n) {
469
429
  return [n.value * 255, n.value * 255, n.value * 255, 255];
@@ -501,8 +461,7 @@ function PositionsLoggerNode({
501
461
  v.y,
502
462
  ":",
503
463
  v.z
504
- ] }, i))]) }),
505
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" })
464
+ ] }, i))]) })
506
465
  ] });
507
466
  }
508
467
  var positions_logger_node_default = PositionsLoggerNode;
@@ -1435,37 +1394,37 @@ var NoiseNodeType = /* @__PURE__ */ ((NoiseNodeType2) => {
1435
1394
  return NoiseNodeType2;
1436
1395
  })(NoiseNodeType || {});
1437
1396
  var noiseNodeTypes = {
1438
- ["group-module" /* groupModule */]: _chunkX2GXADE5cjs.module_group_node_default,
1439
- ["position" /* position */]: _chunkO5DVJAMKcjs.position_const_node_default,
1440
- ["grid" /* grid */]: _chunkO5DVJAMKcjs.position_grid_node_default,
1397
+ ["group-module" /* groupModule */]: _chunkXC7VF5YCcjs.module_group_node_default,
1398
+ ["position" /* position */]: _chunkLKDSXT7Icjs.position_const_node_default,
1399
+ ["grid" /* grid */]: _chunkLKDSXT7Icjs.position_grid_node_default,
1441
1400
  ["noise-output" /* noiseOutput */]: noise_output_node_default,
1442
1401
  ["texture-data" /* textureData */]: noise_raw_texture_node_default,
1443
1402
  ["noise-logger" /* noiseLogger */]: noise_logger_node_default,
1444
1403
  ["position-logger" /* positionLogger */]: positions_logger_node_default,
1445
- ["noise-constant" /* noiseConst */]: _chunkO5DVJAMKcjs.noise_const_node_default,
1446
- ["noise-billow" /* noiseBillow */]: _chunkO5DVJAMKcjs.noise_billow_node_default,
1447
- ["noise-checkerboard" /* noiseCheckerboard */]: _chunkO5DVJAMKcjs.noise_checkerboard_node_default,
1448
- ["noise-cylinders" /* noiseCylinders */]: _chunkO5DVJAMKcjs.noise_cylinders_node_default,
1449
- ["noise-perlin" /* noisePerlin */]: _chunkO5DVJAMKcjs.noise_perlin_node_default,
1450
- ["noise-ridged-multi" /* noiseRidgedMulti */]: _chunkO5DVJAMKcjs.noise_ridgedmulti_node_default,
1451
- ["noise-spheres" /* noiseSpheres */]: _chunkO5DVJAMKcjs.noise_spheres_node_default,
1452
- ["noise-voronoi" /* noiseVoronoi */]: _chunkO5DVJAMKcjs.noise_voronoi_node_default,
1453
- ["noise-combiner" /* noiseCombine */]: _chunk76MMGOOYcjs.noise_combine_node_default,
1454
- ["noise-clamp" /* noiseClamp */]: _chunk76MMGOOYcjs.noise_clamp_node_default,
1455
- ["noise-abs" /* noiseAbs */]: _chunk76MMGOOYcjs.noise_abs_node_default,
1456
- ["noise-normalize" /* noiseNormalize */]: _chunk76MMGOOYcjs.noise_normalize_node_default,
1457
- ["noise-curve" /* noiseCurve */]: _chunk76MMGOOYcjs.noise_curve_node_default,
1458
- ["noise-exponent" /* noiseExponent */]: _chunk76MMGOOYcjs.noise_exponent_node_default,
1459
- ["noise-invert" /* noiseInvert */]: _chunk76MMGOOYcjs.noise_invert_node_default,
1460
- ["noise-scale-bias" /* noiseScaleBias */]: _chunk76MMGOOYcjs.noise_scale_bias_node_default,
1461
- ["noise-terrace" /* noiseTerrace */]: _chunk76MMGOOYcjs.noise_terrace_node_default,
1404
+ ["noise-constant" /* noiseConst */]: _chunkLKDSXT7Icjs.noise_const_node_default,
1405
+ ["noise-billow" /* noiseBillow */]: _chunkLKDSXT7Icjs.noise_billow_node_default,
1406
+ ["noise-checkerboard" /* noiseCheckerboard */]: _chunkLKDSXT7Icjs.noise_checkerboard_node_default,
1407
+ ["noise-cylinders" /* noiseCylinders */]: _chunkLKDSXT7Icjs.noise_cylinders_node_default,
1408
+ ["noise-perlin" /* noisePerlin */]: _chunkLKDSXT7Icjs.noise_perlin_node_default,
1409
+ ["noise-ridged-multi" /* noiseRidgedMulti */]: _chunkLKDSXT7Icjs.noise_ridgedmulti_node_default,
1410
+ ["noise-spheres" /* noiseSpheres */]: _chunkLKDSXT7Icjs.noise_spheres_node_default,
1411
+ ["noise-voronoi" /* noiseVoronoi */]: _chunkLKDSXT7Icjs.noise_voronoi_node_default,
1412
+ ["noise-combiner" /* noiseCombine */]: _chunkDQE5NXY7cjs.noise_combine_node_default,
1413
+ ["noise-clamp" /* noiseClamp */]: _chunkDQE5NXY7cjs.noise_clamp_node_default,
1414
+ ["noise-abs" /* noiseAbs */]: _chunkDQE5NXY7cjs.noise_abs_node_default,
1415
+ ["noise-normalize" /* noiseNormalize */]: _chunkDQE5NXY7cjs.noise_normalize_node_default,
1416
+ ["noise-curve" /* noiseCurve */]: _chunkDQE5NXY7cjs.noise_curve_node_default,
1417
+ ["noise-exponent" /* noiseExponent */]: _chunkDQE5NXY7cjs.noise_exponent_node_default,
1418
+ ["noise-invert" /* noiseInvert */]: _chunkDQE5NXY7cjs.noise_invert_node_default,
1419
+ ["noise-scale-bias" /* noiseScaleBias */]: _chunkDQE5NXY7cjs.noise_scale_bias_node_default,
1420
+ ["noise-terrace" /* noiseTerrace */]: _chunkDQE5NXY7cjs.noise_terrace_node_default,
1462
1421
  ["noise-blend" /* noiseBlend */]: noise_blend_node_default,
1463
1422
  ["noise-select" /* noiseSelect */]: noise_select_node_default,
1464
- ["noise-displace" /* noiseDisplace */]: _chunkD5QJ3563cjs.noise_displace_node_default,
1465
- ["noise-rotate-point" /* noiseRotatePoint */]: _chunkD5QJ3563cjs.noise_rotate_point_node_default,
1466
- ["noise-scale-point" /* noiseScalePoint */]: _chunkD5QJ3563cjs.noise_scale_point_node_default,
1467
- ["noise-translate-point" /* noiseTranslatePoint */]: _chunkD5QJ3563cjs.noise_translate_point_node_default,
1468
- ["noise-turbulence" /* noiseTurbulence */]: _chunkD5QJ3563cjs.noise_turbulence_node_default
1423
+ ["noise-displace" /* noiseDisplace */]: _chunk36USJJC4cjs.noise_displace_node_default,
1424
+ ["noise-rotate-point" /* noiseRotatePoint */]: _chunk36USJJC4cjs.noise_rotate_point_node_default,
1425
+ ["noise-scale-point" /* noiseScalePoint */]: _chunk36USJJC4cjs.noise_scale_point_node_default,
1426
+ ["noise-translate-point" /* noiseTranslatePoint */]: _chunk36USJJC4cjs.noise_translate_point_node_default,
1427
+ ["noise-turbulence" /* noiseTurbulence */]: _chunk36USJJC4cjs.noise_turbulence_node_default
1469
1428
  };
1470
1429
  var noiseNodeTemplates = {
1471
1430
  ["noise-output" /* noiseOutput */]: new NoiseOutputNodeTemplateFactory(),
@@ -1504,7 +1463,7 @@ var noiseNodeTemplates = {
1504
1463
  // src/nodes/output/noise-output-node.tsx
1505
1464
 
1506
1465
  function NoiseOutputNode(t0) {
1507
- const $ = _compilerruntime.c.call(void 0, 20);
1466
+ const $ = _compilerruntime.c.call(void 0, 16);
1508
1467
  const {
1509
1468
  id,
1510
1469
  selected,
@@ -1548,7 +1507,7 @@ function NoiseOutputNode(t0) {
1548
1507
  const onDataUpdated = t1;
1549
1508
  let t2;
1550
1509
  if ($[3] !== data.handles || $[4] !== id || $[5] !== onDataUpdated) {
1551
- t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { nodeId: id, handles: data.handles, handleKey: "dataType", onDataUpdated, type: "target", resetComputedData: true });
1510
+ t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { nodeId: id, handles: data.handles, groupBy: "dataType", onDataUpdated, type: "target", resetComputedData: true });
1552
1511
  $[3] = data.handles;
1553
1512
  $[4] = id;
1554
1513
  $[5] = onDataUpdated;
@@ -1568,33 +1527,22 @@ function NoiseOutputNode(t0) {
1568
1527
  t3 = $[8];
1569
1528
  }
1570
1529
  let t4;
1571
- if ($[9] !== data.handles || $[10] !== id) {
1572
- t4 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
1573
- $[9] = data.handles;
1574
- $[10] = id;
1575
- $[11] = t4;
1576
- } else {
1577
- t4 = $[11];
1578
- }
1579
- let t5;
1580
- if ($[12] !== data || $[13] !== id || $[14] !== selected || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== type) {
1581
- t5 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
1530
+ if ($[9] !== data || $[10] !== id || $[11] !== selected || $[12] !== t2 || $[13] !== t3 || $[14] !== type) {
1531
+ t4 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
1582
1532
  t2,
1583
- t3,
1584
- t4
1533
+ t3
1585
1534
  ] });
1586
- $[12] = data;
1587
- $[13] = id;
1588
- $[14] = selected;
1589
- $[15] = t2;
1590
- $[16] = t3;
1591
- $[17] = t4;
1592
- $[18] = type;
1593
- $[19] = t5;
1535
+ $[9] = data;
1536
+ $[10] = id;
1537
+ $[11] = selected;
1538
+ $[12] = t2;
1539
+ $[13] = t3;
1540
+ $[14] = type;
1541
+ $[15] = t4;
1594
1542
  } else {
1595
- t5 = $[19];
1543
+ t4 = $[15];
1596
1544
  }
1597
- return t5;
1545
+ return t4;
1598
1546
  }
1599
1547
  var noise_output_node_default = NoiseOutputNode;
1600
1548
 
@@ -2,11 +2,10 @@
2
2
  import { c as _c } from "react/compiler-runtime";
3
3
  import { GroupNode } from "@awesome-flow/core/nodes";
4
4
  import { useIncomingComputedData, useUpdateNodeComputedData } from "@awesome-flow/core/hooks";
5
- import { NodeTrackConnections } from "@awesome-flow/core/layout";
6
5
  import { useEffect } from "react";
7
6
  import { jsx } from "react/jsx-runtime";
8
7
  function ModuleGroupNode(props) {
9
- const $ = _c(11);
8
+ const $ = _c(7);
10
9
  const incomingModules = useIncomingComputedData(props.id);
11
10
  const updateComputedData = useUpdateNodeComputedData();
12
11
  let t0;
@@ -34,24 +33,14 @@ function ModuleGroupNode(props) {
34
33
  }
35
34
  useEffect(t0, t1);
36
35
  let t2;
37
- if ($[5] !== props.data.handles || $[6] !== props.id) {
38
- t2 = /* @__PURE__ */ jsx(NodeTrackConnections, { handles: props.data.handles, nodeId: props.id, type: "target" });
39
- $[5] = props.data.handles;
40
- $[6] = props.id;
41
- $[7] = t2;
36
+ if ($[5] !== props) {
37
+ t2 = /* @__PURE__ */ jsx(GroupNode, { ...props });
38
+ $[5] = props;
39
+ $[6] = t2;
42
40
  } else {
43
- t2 = $[7];
41
+ t2 = $[6];
44
42
  }
45
- let t3;
46
- if ($[8] !== props || $[9] !== t2) {
47
- t3 = /* @__PURE__ */ jsx(GroupNode, { ...props, children: t2 });
48
- $[8] = props;
49
- $[9] = t2;
50
- $[10] = t3;
51
- } else {
52
- t3 = $[10];
53
- }
54
- return t3;
43
+ return t2;
55
44
  }
56
45
  var module_group_node_default = ModuleGroupNode;
57
46