shaders 2.2.34 → 2.2.36
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.
- package/dist/core/Perspective-CSP2Hb16.js +137 -0
- package/dist/core/Sharpness-cw57bW0s.js +41 -0
- package/dist/core/index.js +55 -51
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Perspective/index.d.ts +57 -0
- package/dist/core/shaders/Perspective/index.d.ts.map +1 -0
- package/dist/core/shaders/Perspective/index.js +4 -0
- package/dist/core/shaders/Pixelate/index.js +1 -1
- package/dist/core/shaders/PolarCoordinates/index.js +1 -1
- package/dist/core/shaders/Posterize/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
- package/dist/core/shaders/RadialGradient/index.js +1 -1
- package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
- package/dist/core/shaders/Ripples/index.js +1 -1
- package/dist/core/shaders/Saturation/index.js +1 -1
- package/dist/core/shaders/Sharpness/index.d.ts +14 -0
- package/dist/core/shaders/Sharpness/index.d.ts.map +1 -0
- package/dist/core/shaders/Sharpness/index.js +2 -0
- package/dist/core/shaders/SimplexNoise/index.js +1 -1
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.js +1 -1
- package/dist/core/shaders/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.js +1 -1
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/react/components/Perspective.d.ts +31 -0
- package/dist/react/components/Perspective.d.ts.map +1 -0
- package/dist/react/components/Sharpness.d.ts +31 -0
- package/dist/react/components/Sharpness.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-CwTRhENe.js → generatePresetCode-DtpUpaeM.js} +24 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +682 -404
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +242 -0
- package/dist/solid/components/Perspective.d.ts +28 -0
- package/dist/solid/components/Perspective.d.ts.map +1 -0
- package/dist/solid/components/Sharpness.d.ts +28 -0
- package/dist/solid/components/Sharpness.d.ts.map +1 -0
- package/dist/solid/index.d.ts +2 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +626 -344
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +24 -0
- package/dist/svelte/components/Perspective.svelte.d.ts +19 -0
- package/dist/svelte/components/Sharpness.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-Qh7jlXV3.js → generatePresetCode-Yu_cJh3q.js} +24 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +268 -46
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/Perspective.vue.d.ts +57 -0
- package/dist/vue/components/Perspective.vue.d.ts.map +1 -0
- package/dist/vue/components/Sharpness.vue.d.ts +57 -0
- package/dist/vue/components/Sharpness.vue.d.ts.map +1 -0
- package/dist/vue/{generatePresetCode-Bf-TQPvI.js → generatePresetCode-DnK2X66E.js} +24 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +410 -162
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +1 -1
- package/package.json +17 -1
- /package/dist/core/{Pixelate-C5Rx1dBp.js → Pixelate-BAoi-CSx.js} +0 -0
- /package/dist/core/{PolarCoordinates-CIh5ef8m.js → PolarCoordinates-BwN9HhFK.js} +0 -0
- /package/dist/core/{Posterize-Byy0Ek0l.js → Posterize-XoAqPWv2.js} +0 -0
- /package/dist/core/{ProgressiveBlur-Bzz24_y-.js → ProgressiveBlur-RuAm_BKx.js} +0 -0
- /package/dist/core/{RadialGradient-Ci1dU-1K.js → RadialGradient-BfFuRbIl.js} +0 -0
- /package/dist/core/{RectangularCoordinates-tVGG7WOJ.js → RectangularCoordinates-CiW3J4UT.js} +0 -0
- /package/dist/core/{Ripples-BCGSt5HD.js → Ripples-BAcLsbLr.js} +0 -0
- /package/dist/core/{Saturation-DWR1Nruu.js → Saturation-DVVlpikK.js} +0 -0
- /package/dist/core/{SimplexNoise-CAtknQS7.js → SimplexNoise-CxF7Tl5O.js} +0 -0
- /package/dist/core/{SineWave-CHtV6kB4.js → SineWave-SIEiE1O3.js} +0 -0
- /package/dist/core/{SolidColor-CSSquNVW.js → SolidColor-zYROg_aE.js} +0 -0
- /package/dist/core/{Spherize-BJby0xSU.js → Spherize-tsKMpSaS.js} +0 -0
- /package/dist/core/{Spiral-CpB3-tFZ.js → Spiral-PsIc1BI9.js} +0 -0
- /package/dist/core/{Strands-C2KWiJc8.js → Strands-xsbd_3Bt.js} +0 -0
- /package/dist/core/{Stretch-Chpzutao.js → Stretch-BhHjbcqd.js} +0 -0
- /package/dist/core/{Swirl-qbMypv_R.js → Swirl-CV1prOHF.js} +0 -0
- /package/dist/core/{TiltShift-D0qyWoe3.js → TiltShift-BYQjUHpn.js} +0 -0
- /package/dist/core/{Tritone-DzeueG1F.js → Tritone-CJW8YTyB.js} +0 -0
- /package/dist/core/{Twirl-B2Ic0WGq.js → Twirl-5k_XPd51.js} +0 -0
- /package/dist/core/{Vibrance-BAGXelBi.js → Vibrance-c25pkbWj.js} +0 -0
- /package/dist/core/{WaveDistortion-DYFl_8vA.js → WaveDistortion-BRgbfqt3.js} +0 -0
- /package/dist/core/{ZoomBlur-CXpRNRJA.js → ZoomBlur-DEozXA8U.js} +0 -0
package/dist/react/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as generatePresetCode } from "./generatePresetCode-
|
|
1
|
+
import { n as generatePresetCode } from "./generatePresetCode-DtpUpaeM.js";
|
|
2
2
|
import { createContext, useContext, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { createUniformsMap, shaderRenderer } from "../core/index.js";
|
|
4
4
|
import { componentDefinition } from "../core/shaders/AngularBlur/index.js";
|
|
@@ -38,28 +38,30 @@ import { componentDefinition as componentDefinition$30 } from "../core/shaders/I
|
|
|
38
38
|
import { componentDefinition as componentDefinition$31 } from "../core/shaders/LinearBlur/index.js";
|
|
39
39
|
import { componentDefinition as componentDefinition$32 } from "../core/shaders/LinearGradient/index.js";
|
|
40
40
|
import { componentDefinition as componentDefinition$33 } from "../core/shaders/Liquify/index.js";
|
|
41
|
-
import { componentDefinition as componentDefinition$34 } from "../core/shaders/
|
|
42
|
-
import { componentDefinition as componentDefinition$35 } from "../core/shaders/
|
|
43
|
-
import { componentDefinition as componentDefinition$36 } from "../core/shaders/
|
|
44
|
-
import { componentDefinition as componentDefinition$37 } from "../core/shaders/
|
|
45
|
-
import { componentDefinition as componentDefinition$38 } from "../core/shaders/
|
|
46
|
-
import { componentDefinition as componentDefinition$39 } from "../core/shaders/
|
|
47
|
-
import { componentDefinition as componentDefinition$40 } from "../core/shaders/
|
|
48
|
-
import { componentDefinition as componentDefinition$41 } from "../core/shaders/
|
|
49
|
-
import { componentDefinition as componentDefinition$42 } from "../core/shaders/
|
|
50
|
-
import { componentDefinition as componentDefinition$43 } from "../core/shaders/
|
|
51
|
-
import { componentDefinition as componentDefinition$44 } from "../core/shaders/
|
|
52
|
-
import { componentDefinition as componentDefinition$45 } from "../core/shaders/
|
|
53
|
-
import { componentDefinition as componentDefinition$46 } from "../core/shaders/
|
|
54
|
-
import { componentDefinition as componentDefinition$47 } from "../core/shaders/
|
|
55
|
-
import { componentDefinition as componentDefinition$48 } from "../core/shaders/
|
|
56
|
-
import { componentDefinition as componentDefinition$49 } from "../core/shaders/
|
|
57
|
-
import { componentDefinition as componentDefinition$50 } from "../core/shaders/
|
|
58
|
-
import { componentDefinition as componentDefinition$51 } from "../core/shaders/
|
|
59
|
-
import { componentDefinition as componentDefinition$52 } from "../core/shaders/
|
|
60
|
-
import { componentDefinition as componentDefinition$53 } from "../core/shaders/
|
|
61
|
-
import { componentDefinition as componentDefinition$54 } from "../core/shaders/
|
|
62
|
-
import { componentDefinition as componentDefinition$55 } from "../core/shaders/
|
|
41
|
+
import { componentDefinition as componentDefinition$34 } from "../core/shaders/Perspective/index.js";
|
|
42
|
+
import { componentDefinition as componentDefinition$35 } from "../core/shaders/Pixelate/index.js";
|
|
43
|
+
import { componentDefinition as componentDefinition$36 } from "../core/shaders/PolarCoordinates/index.js";
|
|
44
|
+
import { componentDefinition as componentDefinition$37 } from "../core/shaders/Posterize/index.js";
|
|
45
|
+
import { componentDefinition as componentDefinition$38 } from "../core/shaders/ProgressiveBlur/index.js";
|
|
46
|
+
import { componentDefinition as componentDefinition$39 } from "../core/shaders/RadialGradient/index.js";
|
|
47
|
+
import { componentDefinition as componentDefinition$40 } from "../core/shaders/RectangularCoordinates/index.js";
|
|
48
|
+
import { componentDefinition as componentDefinition$41 } from "../core/shaders/Ripples/index.js";
|
|
49
|
+
import { componentDefinition as componentDefinition$42 } from "../core/shaders/Saturation/index.js";
|
|
50
|
+
import { componentDefinition as componentDefinition$43 } from "../core/shaders/Sharpness/index.js";
|
|
51
|
+
import { componentDefinition as componentDefinition$44 } from "../core/shaders/SimplexNoise/index.js";
|
|
52
|
+
import { componentDefinition as componentDefinition$45 } from "../core/shaders/SineWave/index.js";
|
|
53
|
+
import { componentDefinition as componentDefinition$46 } from "../core/shaders/SolidColor/index.js";
|
|
54
|
+
import { componentDefinition as componentDefinition$47 } from "../core/shaders/Spherize/index.js";
|
|
55
|
+
import { componentDefinition as componentDefinition$48 } from "../core/shaders/Spiral/index.js";
|
|
56
|
+
import { componentDefinition as componentDefinition$49 } from "../core/shaders/Strands/index.js";
|
|
57
|
+
import { componentDefinition as componentDefinition$50 } from "../core/shaders/Stretch/index.js";
|
|
58
|
+
import { componentDefinition as componentDefinition$51 } from "../core/shaders/Swirl/index.js";
|
|
59
|
+
import { componentDefinition as componentDefinition$52 } from "../core/shaders/TiltShift/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$53 } from "../core/shaders/Tritone/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$54 } from "../core/shaders/Twirl/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$55 } from "../core/shaders/Vibrance/index.js";
|
|
63
|
+
import { componentDefinition as componentDefinition$56 } from "../core/shaders/WaveDistortion/index.js";
|
|
64
|
+
import { componentDefinition as componentDefinition$57 } from "../core/shaders/ZoomBlur/index.js";
|
|
63
65
|
const OmbreContext = createContext(null);
|
|
64
66
|
const Shader = ({ children, hideNotice = false, style = {}, className = "",...rest }) => {
|
|
65
67
|
const containerRef = useRef(null);
|
|
@@ -69,7 +71,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
69
71
|
if (rendererRef.current === null) rendererRef.current = shaderRenderer();
|
|
70
72
|
const telemetryCollectorRef = useRef(null);
|
|
71
73
|
const nodeRegister = useMemo(() => {
|
|
72
|
-
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$
|
|
74
|
+
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$58 = null) => {
|
|
73
75
|
if (fragmentNodeFunc === null) {
|
|
74
76
|
try {
|
|
75
77
|
rendererRef.current.removeNode(id);
|
|
@@ -79,7 +81,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
79
81
|
return;
|
|
80
82
|
}
|
|
81
83
|
try {
|
|
82
|
-
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$
|
|
84
|
+
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$58);
|
|
83
85
|
} catch (err) {
|
|
84
86
|
console.error("Error registering node:", err, {
|
|
85
87
|
id,
|
|
@@ -220,8 +222,284 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
220
222
|
});
|
|
221
223
|
};
|
|
222
224
|
var Shader_default = Shader;
|
|
223
|
-
function computeEffectiveProps$
|
|
224
|
-
let baseProps = { ...defaultProps$
|
|
225
|
+
function computeEffectiveProps$57(props, defaultProps$58) {
|
|
226
|
+
let baseProps = { ...defaultProps$58 };
|
|
227
|
+
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
228
|
+
return baseProps;
|
|
229
|
+
}
|
|
230
|
+
var DEFAULT_TRANSFORM$57 = {
|
|
231
|
+
offsetX: 0,
|
|
232
|
+
offsetY: 0,
|
|
233
|
+
rotation: 0,
|
|
234
|
+
scale: 1,
|
|
235
|
+
anchorX: .5,
|
|
236
|
+
anchorY: .5,
|
|
237
|
+
edges: "transparent"
|
|
238
|
+
};
|
|
239
|
+
var defaultProps$57 = {
|
|
240
|
+
blendMode: "normal",
|
|
241
|
+
renderOrder: 0,
|
|
242
|
+
visible: true
|
|
243
|
+
};
|
|
244
|
+
try {
|
|
245
|
+
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
246
|
+
const propConfig = config;
|
|
247
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$57[key] = propConfig.default;
|
|
248
|
+
});
|
|
249
|
+
} catch (e) {
|
|
250
|
+
console.warn("Error extracting default props:", e);
|
|
251
|
+
}
|
|
252
|
+
const OmbreComponent$57 = (props) => {
|
|
253
|
+
const context = useContext(OmbreContext);
|
|
254
|
+
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
255
|
+
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
256
|
+
const instanceId = useMemo(() => {
|
|
257
|
+
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
258
|
+
}, [props.id]);
|
|
259
|
+
const effectiveProps = useMemo(() => {
|
|
260
|
+
return computeEffectiveProps$57(props, defaultProps$57);
|
|
261
|
+
}, [props]);
|
|
262
|
+
const effectiveTransform = useMemo(() => ({
|
|
263
|
+
...DEFAULT_TRANSFORM$57,
|
|
264
|
+
...props.transform
|
|
265
|
+
}), [props.transform]);
|
|
266
|
+
const uniformsRef = useRef(null);
|
|
267
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
268
|
+
const childContextValue = useMemo(() => {
|
|
269
|
+
return {
|
|
270
|
+
...context,
|
|
271
|
+
ombreParentId: instanceId
|
|
272
|
+
};
|
|
273
|
+
}, [context, instanceId]);
|
|
274
|
+
useEffect(() => {
|
|
275
|
+
if (!uniformsRef.current) return;
|
|
276
|
+
try {
|
|
277
|
+
const metadata = {
|
|
278
|
+
blendMode: props.blendMode || "normal",
|
|
279
|
+
opacity: props.opacity,
|
|
280
|
+
visible: props.visible === false ? false : true,
|
|
281
|
+
id: props.id,
|
|
282
|
+
mask: props.maskSource ? {
|
|
283
|
+
source: props.maskSource,
|
|
284
|
+
type: props.maskType || "alpha"
|
|
285
|
+
} : void 0,
|
|
286
|
+
renderOrder: props.renderOrder || 0,
|
|
287
|
+
transform: effectiveTransform
|
|
288
|
+
};
|
|
289
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
290
|
+
return () => {
|
|
291
|
+
parentRegister(instanceId, null, null, null, null);
|
|
292
|
+
};
|
|
293
|
+
} catch (error) {
|
|
294
|
+
console.error("Error registering shader node:", error);
|
|
295
|
+
return () => {};
|
|
296
|
+
}
|
|
297
|
+
}, [
|
|
298
|
+
instanceId,
|
|
299
|
+
parentId,
|
|
300
|
+
parentRegister
|
|
301
|
+
]);
|
|
302
|
+
const prevPropsRef = useRef({});
|
|
303
|
+
useEffect(() => {
|
|
304
|
+
if (!uniformsRef.current) return;
|
|
305
|
+
try {
|
|
306
|
+
Object.entries(uniformsRef.current).forEach(([propName, uniformData]) => {
|
|
307
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
308
|
+
const { uniform, transform } = uniformData;
|
|
309
|
+
if (uniform?.value !== void 0 && propName in effectiveProps) {
|
|
310
|
+
const newValue = effectiveProps[propName];
|
|
311
|
+
if (newValue !== prevPropsRef.current[propName]) {
|
|
312
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
313
|
+
prevPropsRef.current[propName] = newValue;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
} catch (error) {
|
|
318
|
+
console.error("Error updating uniforms:", error);
|
|
319
|
+
}
|
|
320
|
+
}, [
|
|
321
|
+
effectiveProps,
|
|
322
|
+
instanceId,
|
|
323
|
+
parentUniformUpdate
|
|
324
|
+
]);
|
|
325
|
+
useEffect(() => {
|
|
326
|
+
try {
|
|
327
|
+
parentMetadataUpdate(instanceId, {
|
|
328
|
+
blendMode: props.blendMode || "normal",
|
|
329
|
+
opacity: props.opacity,
|
|
330
|
+
visible: props.visible === false ? false : true,
|
|
331
|
+
id: props.id,
|
|
332
|
+
mask: props.maskSource ? {
|
|
333
|
+
source: props.maskSource,
|
|
334
|
+
type: props.maskType || "alpha"
|
|
335
|
+
} : void 0,
|
|
336
|
+
renderOrder: props.renderOrder || 0,
|
|
337
|
+
transform: effectiveTransform
|
|
338
|
+
});
|
|
339
|
+
} catch (error) {
|
|
340
|
+
console.error("Error updating metadata:", error);
|
|
341
|
+
}
|
|
342
|
+
}, [
|
|
343
|
+
props.blendMode,
|
|
344
|
+
props.opacity,
|
|
345
|
+
props.visible,
|
|
346
|
+
props.maskSource,
|
|
347
|
+
props.maskType,
|
|
348
|
+
props.renderOrder,
|
|
349
|
+
props.id,
|
|
350
|
+
effectiveTransform,
|
|
351
|
+
instanceId,
|
|
352
|
+
parentMetadataUpdate
|
|
353
|
+
]);
|
|
354
|
+
if (props.ref && typeof props.ref === "function") try {
|
|
355
|
+
props.ref(null);
|
|
356
|
+
} catch (e) {}
|
|
357
|
+
return /* @__PURE__ */ jsx(OmbreContext.Provider, {
|
|
358
|
+
value: childContextValue,
|
|
359
|
+
children: props.children
|
|
360
|
+
});
|
|
361
|
+
};
|
|
362
|
+
var AngularBlur_default = OmbreComponent$57;
|
|
363
|
+
function computeEffectiveProps$56(props, defaultProps$58) {
|
|
364
|
+
let baseProps = { ...defaultProps$58 };
|
|
365
|
+
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
366
|
+
return baseProps;
|
|
367
|
+
}
|
|
368
|
+
var DEFAULT_TRANSFORM$56 = {
|
|
369
|
+
offsetX: 0,
|
|
370
|
+
offsetY: 0,
|
|
371
|
+
rotation: 0,
|
|
372
|
+
scale: 1,
|
|
373
|
+
anchorX: .5,
|
|
374
|
+
anchorY: .5,
|
|
375
|
+
edges: "transparent"
|
|
376
|
+
};
|
|
377
|
+
var defaultProps$56 = {
|
|
378
|
+
blendMode: "normal",
|
|
379
|
+
renderOrder: 0,
|
|
380
|
+
visible: true
|
|
381
|
+
};
|
|
382
|
+
try {
|
|
383
|
+
if (componentDefinition$1 && componentDefinition$1.props) Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
384
|
+
const propConfig = config;
|
|
385
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$56[key] = propConfig.default;
|
|
386
|
+
});
|
|
387
|
+
} catch (e) {
|
|
388
|
+
console.warn("Error extracting default props:", e);
|
|
389
|
+
}
|
|
390
|
+
const OmbreComponent$56 = (props) => {
|
|
391
|
+
const context = useContext(OmbreContext);
|
|
392
|
+
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
393
|
+
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
394
|
+
const instanceId = useMemo(() => {
|
|
395
|
+
return props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
396
|
+
}, [props.id]);
|
|
397
|
+
const effectiveProps = useMemo(() => {
|
|
398
|
+
return computeEffectiveProps$56(props, defaultProps$56);
|
|
399
|
+
}, [props]);
|
|
400
|
+
const effectiveTransform = useMemo(() => ({
|
|
401
|
+
...DEFAULT_TRANSFORM$56,
|
|
402
|
+
...props.transform
|
|
403
|
+
}), [props.transform]);
|
|
404
|
+
const uniformsRef = useRef(null);
|
|
405
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$1, effectiveProps, instanceId);
|
|
406
|
+
const childContextValue = useMemo(() => {
|
|
407
|
+
return {
|
|
408
|
+
...context,
|
|
409
|
+
ombreParentId: instanceId
|
|
410
|
+
};
|
|
411
|
+
}, [context, instanceId]);
|
|
412
|
+
useEffect(() => {
|
|
413
|
+
if (!uniformsRef.current) return;
|
|
414
|
+
try {
|
|
415
|
+
const metadata = {
|
|
416
|
+
blendMode: props.blendMode || "normal",
|
|
417
|
+
opacity: props.opacity,
|
|
418
|
+
visible: props.visible === false ? false : true,
|
|
419
|
+
id: props.id,
|
|
420
|
+
mask: props.maskSource ? {
|
|
421
|
+
source: props.maskSource,
|
|
422
|
+
type: props.maskType || "alpha"
|
|
423
|
+
} : void 0,
|
|
424
|
+
renderOrder: props.renderOrder || 0,
|
|
425
|
+
transform: effectiveTransform
|
|
426
|
+
};
|
|
427
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$1);
|
|
428
|
+
return () => {
|
|
429
|
+
parentRegister(instanceId, null, null, null, null);
|
|
430
|
+
};
|
|
431
|
+
} catch (error) {
|
|
432
|
+
console.error("Error registering shader node:", error);
|
|
433
|
+
return () => {};
|
|
434
|
+
}
|
|
435
|
+
}, [
|
|
436
|
+
instanceId,
|
|
437
|
+
parentId,
|
|
438
|
+
parentRegister
|
|
439
|
+
]);
|
|
440
|
+
const prevPropsRef = useRef({});
|
|
441
|
+
useEffect(() => {
|
|
442
|
+
if (!uniformsRef.current) return;
|
|
443
|
+
try {
|
|
444
|
+
Object.entries(uniformsRef.current).forEach(([propName, uniformData]) => {
|
|
445
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
446
|
+
const { uniform, transform } = uniformData;
|
|
447
|
+
if (uniform?.value !== void 0 && propName in effectiveProps) {
|
|
448
|
+
const newValue = effectiveProps[propName];
|
|
449
|
+
if (newValue !== prevPropsRef.current[propName]) {
|
|
450
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
451
|
+
prevPropsRef.current[propName] = newValue;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
} catch (error) {
|
|
456
|
+
console.error("Error updating uniforms:", error);
|
|
457
|
+
}
|
|
458
|
+
}, [
|
|
459
|
+
effectiveProps,
|
|
460
|
+
instanceId,
|
|
461
|
+
parentUniformUpdate
|
|
462
|
+
]);
|
|
463
|
+
useEffect(() => {
|
|
464
|
+
try {
|
|
465
|
+
parentMetadataUpdate(instanceId, {
|
|
466
|
+
blendMode: props.blendMode || "normal",
|
|
467
|
+
opacity: props.opacity,
|
|
468
|
+
visible: props.visible === false ? false : true,
|
|
469
|
+
id: props.id,
|
|
470
|
+
mask: props.maskSource ? {
|
|
471
|
+
source: props.maskSource,
|
|
472
|
+
type: props.maskType || "alpha"
|
|
473
|
+
} : void 0,
|
|
474
|
+
renderOrder: props.renderOrder || 0,
|
|
475
|
+
transform: effectiveTransform
|
|
476
|
+
});
|
|
477
|
+
} catch (error) {
|
|
478
|
+
console.error("Error updating metadata:", error);
|
|
479
|
+
}
|
|
480
|
+
}, [
|
|
481
|
+
props.blendMode,
|
|
482
|
+
props.opacity,
|
|
483
|
+
props.visible,
|
|
484
|
+
props.maskSource,
|
|
485
|
+
props.maskType,
|
|
486
|
+
props.renderOrder,
|
|
487
|
+
props.id,
|
|
488
|
+
effectiveTransform,
|
|
489
|
+
instanceId,
|
|
490
|
+
parentMetadataUpdate
|
|
491
|
+
]);
|
|
492
|
+
if (props.ref && typeof props.ref === "function") try {
|
|
493
|
+
props.ref(null);
|
|
494
|
+
} catch (e) {}
|
|
495
|
+
return /* @__PURE__ */ jsx(OmbreContext.Provider, {
|
|
496
|
+
value: childContextValue,
|
|
497
|
+
children: props.children
|
|
498
|
+
});
|
|
499
|
+
};
|
|
500
|
+
var Ascii_default = OmbreComponent$56;
|
|
501
|
+
function computeEffectiveProps$55(props, defaultProps$58) {
|
|
502
|
+
let baseProps = { ...defaultProps$58 };
|
|
225
503
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
226
504
|
return baseProps;
|
|
227
505
|
}
|
|
@@ -240,7 +518,7 @@ var defaultProps$55 = {
|
|
|
240
518
|
visible: true
|
|
241
519
|
};
|
|
242
520
|
try {
|
|
243
|
-
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
521
|
+
if (componentDefinition$2 && componentDefinition$2.props) Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
244
522
|
const propConfig = config;
|
|
245
523
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$55[key] = propConfig.default;
|
|
246
524
|
});
|
|
@@ -252,7 +530,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
252
530
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
253
531
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
254
532
|
const instanceId = useMemo(() => {
|
|
255
|
-
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
533
|
+
return props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
256
534
|
}, [props.id]);
|
|
257
535
|
const effectiveProps = useMemo(() => {
|
|
258
536
|
return computeEffectiveProps$55(props, defaultProps$55);
|
|
@@ -262,7 +540,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
262
540
|
...props.transform
|
|
263
541
|
}), [props.transform]);
|
|
264
542
|
const uniformsRef = useRef(null);
|
|
265
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
543
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$2, effectiveProps, instanceId);
|
|
266
544
|
const childContextValue = useMemo(() => {
|
|
267
545
|
return {
|
|
268
546
|
...context,
|
|
@@ -284,7 +562,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
284
562
|
renderOrder: props.renderOrder || 0,
|
|
285
563
|
transform: effectiveTransform
|
|
286
564
|
};
|
|
287
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
565
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$2);
|
|
288
566
|
return () => {
|
|
289
567
|
parentRegister(instanceId, null, null, null, null);
|
|
290
568
|
};
|
|
@@ -357,9 +635,9 @@ const OmbreComponent$55 = (props) => {
|
|
|
357
635
|
children: props.children
|
|
358
636
|
});
|
|
359
637
|
};
|
|
360
|
-
var
|
|
361
|
-
function computeEffectiveProps$54(props, defaultProps$
|
|
362
|
-
let baseProps = { ...defaultProps$
|
|
638
|
+
var Beam_default = OmbreComponent$55;
|
|
639
|
+
function computeEffectiveProps$54(props, defaultProps$58) {
|
|
640
|
+
let baseProps = { ...defaultProps$58 };
|
|
363
641
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
364
642
|
return baseProps;
|
|
365
643
|
}
|
|
@@ -378,7 +656,7 @@ var defaultProps$54 = {
|
|
|
378
656
|
visible: true
|
|
379
657
|
};
|
|
380
658
|
try {
|
|
381
|
-
if (componentDefinition$
|
|
659
|
+
if (componentDefinition$3 && componentDefinition$3.props) Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
382
660
|
const propConfig = config;
|
|
383
661
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$54[key] = propConfig.default;
|
|
384
662
|
});
|
|
@@ -390,7 +668,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
390
668
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
391
669
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
392
670
|
const instanceId = useMemo(() => {
|
|
393
|
-
return props.id || `${componentDefinition$
|
|
671
|
+
return props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
394
672
|
}, [props.id]);
|
|
395
673
|
const effectiveProps = useMemo(() => {
|
|
396
674
|
return computeEffectiveProps$54(props, defaultProps$54);
|
|
@@ -400,7 +678,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
400
678
|
...props.transform
|
|
401
679
|
}), [props.transform]);
|
|
402
680
|
const uniformsRef = useRef(null);
|
|
403
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
681
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$3, effectiveProps, instanceId);
|
|
404
682
|
const childContextValue = useMemo(() => {
|
|
405
683
|
return {
|
|
406
684
|
...context,
|
|
@@ -422,7 +700,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
422
700
|
renderOrder: props.renderOrder || 0,
|
|
423
701
|
transform: effectiveTransform
|
|
424
702
|
};
|
|
425
|
-
parentRegister(instanceId, componentDefinition$
|
|
703
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$3);
|
|
426
704
|
return () => {
|
|
427
705
|
parentRegister(instanceId, null, null, null, null);
|
|
428
706
|
};
|
|
@@ -495,9 +773,9 @@ const OmbreComponent$54 = (props) => {
|
|
|
495
773
|
children: props.children
|
|
496
774
|
});
|
|
497
775
|
};
|
|
498
|
-
var
|
|
499
|
-
function computeEffectiveProps$53(props, defaultProps$
|
|
500
|
-
let baseProps = { ...defaultProps$
|
|
776
|
+
var Blob_default = OmbreComponent$54;
|
|
777
|
+
function computeEffectiveProps$53(props, defaultProps$58) {
|
|
778
|
+
let baseProps = { ...defaultProps$58 };
|
|
501
779
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
502
780
|
return baseProps;
|
|
503
781
|
}
|
|
@@ -516,7 +794,7 @@ var defaultProps$53 = {
|
|
|
516
794
|
visible: true
|
|
517
795
|
};
|
|
518
796
|
try {
|
|
519
|
-
if (componentDefinition$
|
|
797
|
+
if (componentDefinition$4 && componentDefinition$4.props) Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
520
798
|
const propConfig = config;
|
|
521
799
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$53[key] = propConfig.default;
|
|
522
800
|
});
|
|
@@ -528,7 +806,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
528
806
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
529
807
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
530
808
|
const instanceId = useMemo(() => {
|
|
531
|
-
return props.id || `${componentDefinition$
|
|
809
|
+
return props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
532
810
|
}, [props.id]);
|
|
533
811
|
const effectiveProps = useMemo(() => {
|
|
534
812
|
return computeEffectiveProps$53(props, defaultProps$53);
|
|
@@ -538,7 +816,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
538
816
|
...props.transform
|
|
539
817
|
}), [props.transform]);
|
|
540
818
|
const uniformsRef = useRef(null);
|
|
541
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
819
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$4, effectiveProps, instanceId);
|
|
542
820
|
const childContextValue = useMemo(() => {
|
|
543
821
|
return {
|
|
544
822
|
...context,
|
|
@@ -560,7 +838,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
560
838
|
renderOrder: props.renderOrder || 0,
|
|
561
839
|
transform: effectiveTransform
|
|
562
840
|
};
|
|
563
|
-
parentRegister(instanceId, componentDefinition$
|
|
841
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$4);
|
|
564
842
|
return () => {
|
|
565
843
|
parentRegister(instanceId, null, null, null, null);
|
|
566
844
|
};
|
|
@@ -633,9 +911,9 @@ const OmbreComponent$53 = (props) => {
|
|
|
633
911
|
children: props.children
|
|
634
912
|
});
|
|
635
913
|
};
|
|
636
|
-
var
|
|
637
|
-
function computeEffectiveProps$52(props, defaultProps$
|
|
638
|
-
let baseProps = { ...defaultProps$
|
|
914
|
+
var Blur_default = OmbreComponent$53;
|
|
915
|
+
function computeEffectiveProps$52(props, defaultProps$58) {
|
|
916
|
+
let baseProps = { ...defaultProps$58 };
|
|
639
917
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
640
918
|
return baseProps;
|
|
641
919
|
}
|
|
@@ -654,7 +932,7 @@ var defaultProps$52 = {
|
|
|
654
932
|
visible: true
|
|
655
933
|
};
|
|
656
934
|
try {
|
|
657
|
-
if (componentDefinition$
|
|
935
|
+
if (componentDefinition$5 && componentDefinition$5.props) Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
658
936
|
const propConfig = config;
|
|
659
937
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$52[key] = propConfig.default;
|
|
660
938
|
});
|
|
@@ -666,7 +944,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
666
944
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
667
945
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
668
946
|
const instanceId = useMemo(() => {
|
|
669
|
-
return props.id || `${componentDefinition$
|
|
947
|
+
return props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
670
948
|
}, [props.id]);
|
|
671
949
|
const effectiveProps = useMemo(() => {
|
|
672
950
|
return computeEffectiveProps$52(props, defaultProps$52);
|
|
@@ -676,7 +954,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
676
954
|
...props.transform
|
|
677
955
|
}), [props.transform]);
|
|
678
956
|
const uniformsRef = useRef(null);
|
|
679
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
957
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$5, effectiveProps, instanceId);
|
|
680
958
|
const childContextValue = useMemo(() => {
|
|
681
959
|
return {
|
|
682
960
|
...context,
|
|
@@ -698,7 +976,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
698
976
|
renderOrder: props.renderOrder || 0,
|
|
699
977
|
transform: effectiveTransform
|
|
700
978
|
};
|
|
701
|
-
parentRegister(instanceId, componentDefinition$
|
|
979
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$5);
|
|
702
980
|
return () => {
|
|
703
981
|
parentRegister(instanceId, null, null, null, null);
|
|
704
982
|
};
|
|
@@ -771,9 +1049,9 @@ const OmbreComponent$52 = (props) => {
|
|
|
771
1049
|
children: props.children
|
|
772
1050
|
});
|
|
773
1051
|
};
|
|
774
|
-
var
|
|
775
|
-
function computeEffectiveProps$51(props, defaultProps$
|
|
776
|
-
let baseProps = { ...defaultProps$
|
|
1052
|
+
var BrightnessContrast_default = OmbreComponent$52;
|
|
1053
|
+
function computeEffectiveProps$51(props, defaultProps$58) {
|
|
1054
|
+
let baseProps = { ...defaultProps$58 };
|
|
777
1055
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
778
1056
|
return baseProps;
|
|
779
1057
|
}
|
|
@@ -792,7 +1070,7 @@ var defaultProps$51 = {
|
|
|
792
1070
|
visible: true
|
|
793
1071
|
};
|
|
794
1072
|
try {
|
|
795
|
-
if (componentDefinition$
|
|
1073
|
+
if (componentDefinition$6 && componentDefinition$6.props) Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
796
1074
|
const propConfig = config;
|
|
797
1075
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$51[key] = propConfig.default;
|
|
798
1076
|
});
|
|
@@ -804,7 +1082,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
804
1082
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
805
1083
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
806
1084
|
const instanceId = useMemo(() => {
|
|
807
|
-
return props.id || `${componentDefinition$
|
|
1085
|
+
return props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
808
1086
|
}, [props.id]);
|
|
809
1087
|
const effectiveProps = useMemo(() => {
|
|
810
1088
|
return computeEffectiveProps$51(props, defaultProps$51);
|
|
@@ -814,7 +1092,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
814
1092
|
...props.transform
|
|
815
1093
|
}), [props.transform]);
|
|
816
1094
|
const uniformsRef = useRef(null);
|
|
817
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1095
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$6, effectiveProps, instanceId);
|
|
818
1096
|
const childContextValue = useMemo(() => {
|
|
819
1097
|
return {
|
|
820
1098
|
...context,
|
|
@@ -836,7 +1114,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
836
1114
|
renderOrder: props.renderOrder || 0,
|
|
837
1115
|
transform: effectiveTransform
|
|
838
1116
|
};
|
|
839
|
-
parentRegister(instanceId, componentDefinition$
|
|
1117
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$6);
|
|
840
1118
|
return () => {
|
|
841
1119
|
parentRegister(instanceId, null, null, null, null);
|
|
842
1120
|
};
|
|
@@ -909,9 +1187,9 @@ const OmbreComponent$51 = (props) => {
|
|
|
909
1187
|
children: props.children
|
|
910
1188
|
});
|
|
911
1189
|
};
|
|
912
|
-
var
|
|
913
|
-
function computeEffectiveProps$50(props, defaultProps$
|
|
914
|
-
let baseProps = { ...defaultProps$
|
|
1190
|
+
var Bulge_default = OmbreComponent$51;
|
|
1191
|
+
function computeEffectiveProps$50(props, defaultProps$58) {
|
|
1192
|
+
let baseProps = { ...defaultProps$58 };
|
|
915
1193
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
916
1194
|
return baseProps;
|
|
917
1195
|
}
|
|
@@ -930,7 +1208,7 @@ var defaultProps$50 = {
|
|
|
930
1208
|
visible: true
|
|
931
1209
|
};
|
|
932
1210
|
try {
|
|
933
|
-
if (componentDefinition$
|
|
1211
|
+
if (componentDefinition$7 && componentDefinition$7.props) Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
934
1212
|
const propConfig = config;
|
|
935
1213
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$50[key] = propConfig.default;
|
|
936
1214
|
});
|
|
@@ -942,7 +1220,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
942
1220
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
943
1221
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
944
1222
|
const instanceId = useMemo(() => {
|
|
945
|
-
return props.id || `${componentDefinition$
|
|
1223
|
+
return props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
946
1224
|
}, [props.id]);
|
|
947
1225
|
const effectiveProps = useMemo(() => {
|
|
948
1226
|
return computeEffectiveProps$50(props, defaultProps$50);
|
|
@@ -952,7 +1230,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
952
1230
|
...props.transform
|
|
953
1231
|
}), [props.transform]);
|
|
954
1232
|
const uniformsRef = useRef(null);
|
|
955
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1233
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$7, effectiveProps, instanceId);
|
|
956
1234
|
const childContextValue = useMemo(() => {
|
|
957
1235
|
return {
|
|
958
1236
|
...context,
|
|
@@ -974,7 +1252,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
974
1252
|
renderOrder: props.renderOrder || 0,
|
|
975
1253
|
transform: effectiveTransform
|
|
976
1254
|
};
|
|
977
|
-
parentRegister(instanceId, componentDefinition$
|
|
1255
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$7);
|
|
978
1256
|
return () => {
|
|
979
1257
|
parentRegister(instanceId, null, null, null, null);
|
|
980
1258
|
};
|
|
@@ -1047,9 +1325,9 @@ const OmbreComponent$50 = (props) => {
|
|
|
1047
1325
|
children: props.children
|
|
1048
1326
|
});
|
|
1049
1327
|
};
|
|
1050
|
-
var
|
|
1051
|
-
function computeEffectiveProps$49(props, defaultProps$
|
|
1052
|
-
let baseProps = { ...defaultProps$
|
|
1328
|
+
var CRTScreen_default = OmbreComponent$50;
|
|
1329
|
+
function computeEffectiveProps$49(props, defaultProps$58) {
|
|
1330
|
+
let baseProps = { ...defaultProps$58 };
|
|
1053
1331
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1054
1332
|
return baseProps;
|
|
1055
1333
|
}
|
|
@@ -1068,7 +1346,7 @@ var defaultProps$49 = {
|
|
|
1068
1346
|
visible: true
|
|
1069
1347
|
};
|
|
1070
1348
|
try {
|
|
1071
|
-
if (componentDefinition$
|
|
1349
|
+
if (componentDefinition$8 && componentDefinition$8.props) Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1072
1350
|
const propConfig = config;
|
|
1073
1351
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$49[key] = propConfig.default;
|
|
1074
1352
|
});
|
|
@@ -1080,7 +1358,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1080
1358
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1081
1359
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1082
1360
|
const instanceId = useMemo(() => {
|
|
1083
|
-
return props.id || `${componentDefinition$
|
|
1361
|
+
return props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1084
1362
|
}, [props.id]);
|
|
1085
1363
|
const effectiveProps = useMemo(() => {
|
|
1086
1364
|
return computeEffectiveProps$49(props, defaultProps$49);
|
|
@@ -1090,7 +1368,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1090
1368
|
...props.transform
|
|
1091
1369
|
}), [props.transform]);
|
|
1092
1370
|
const uniformsRef = useRef(null);
|
|
1093
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1371
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$8, effectiveProps, instanceId);
|
|
1094
1372
|
const childContextValue = useMemo(() => {
|
|
1095
1373
|
return {
|
|
1096
1374
|
...context,
|
|
@@ -1112,7 +1390,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1112
1390
|
renderOrder: props.renderOrder || 0,
|
|
1113
1391
|
transform: effectiveTransform
|
|
1114
1392
|
};
|
|
1115
|
-
parentRegister(instanceId, componentDefinition$
|
|
1393
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$8);
|
|
1116
1394
|
return () => {
|
|
1117
1395
|
parentRegister(instanceId, null, null, null, null);
|
|
1118
1396
|
};
|
|
@@ -1185,9 +1463,9 @@ const OmbreComponent$49 = (props) => {
|
|
|
1185
1463
|
children: props.children
|
|
1186
1464
|
});
|
|
1187
1465
|
};
|
|
1188
|
-
var
|
|
1189
|
-
function computeEffectiveProps$48(props, defaultProps$
|
|
1190
|
-
let baseProps = { ...defaultProps$
|
|
1466
|
+
var ChannelBlur_default = OmbreComponent$49;
|
|
1467
|
+
function computeEffectiveProps$48(props, defaultProps$58) {
|
|
1468
|
+
let baseProps = { ...defaultProps$58 };
|
|
1191
1469
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1192
1470
|
return baseProps;
|
|
1193
1471
|
}
|
|
@@ -1206,7 +1484,7 @@ var defaultProps$48 = {
|
|
|
1206
1484
|
visible: true
|
|
1207
1485
|
};
|
|
1208
1486
|
try {
|
|
1209
|
-
if (componentDefinition$
|
|
1487
|
+
if (componentDefinition$9 && componentDefinition$9.props) Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1210
1488
|
const propConfig = config;
|
|
1211
1489
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$48[key] = propConfig.default;
|
|
1212
1490
|
});
|
|
@@ -1218,7 +1496,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1218
1496
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1219
1497
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1220
1498
|
const instanceId = useMemo(() => {
|
|
1221
|
-
return props.id || `${componentDefinition$
|
|
1499
|
+
return props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1222
1500
|
}, [props.id]);
|
|
1223
1501
|
const effectiveProps = useMemo(() => {
|
|
1224
1502
|
return computeEffectiveProps$48(props, defaultProps$48);
|
|
@@ -1228,7 +1506,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1228
1506
|
...props.transform
|
|
1229
1507
|
}), [props.transform]);
|
|
1230
1508
|
const uniformsRef = useRef(null);
|
|
1231
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1509
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$9, effectiveProps, instanceId);
|
|
1232
1510
|
const childContextValue = useMemo(() => {
|
|
1233
1511
|
return {
|
|
1234
1512
|
...context,
|
|
@@ -1250,7 +1528,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1250
1528
|
renderOrder: props.renderOrder || 0,
|
|
1251
1529
|
transform: effectiveTransform
|
|
1252
1530
|
};
|
|
1253
|
-
parentRegister(instanceId, componentDefinition$
|
|
1531
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$9);
|
|
1254
1532
|
return () => {
|
|
1255
1533
|
parentRegister(instanceId, null, null, null, null);
|
|
1256
1534
|
};
|
|
@@ -1323,9 +1601,9 @@ const OmbreComponent$48 = (props) => {
|
|
|
1323
1601
|
children: props.children
|
|
1324
1602
|
});
|
|
1325
1603
|
};
|
|
1326
|
-
var
|
|
1327
|
-
function computeEffectiveProps$47(props, defaultProps$
|
|
1328
|
-
let baseProps = { ...defaultProps$
|
|
1604
|
+
var Checkerboard_default = OmbreComponent$48;
|
|
1605
|
+
function computeEffectiveProps$47(props, defaultProps$58) {
|
|
1606
|
+
let baseProps = { ...defaultProps$58 };
|
|
1329
1607
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1330
1608
|
return baseProps;
|
|
1331
1609
|
}
|
|
@@ -1344,7 +1622,7 @@ var defaultProps$47 = {
|
|
|
1344
1622
|
visible: true
|
|
1345
1623
|
};
|
|
1346
1624
|
try {
|
|
1347
|
-
if (componentDefinition$
|
|
1625
|
+
if (componentDefinition$10 && componentDefinition$10.props) Object.entries(componentDefinition$10.props).forEach(([key, config]) => {
|
|
1348
1626
|
const propConfig = config;
|
|
1349
1627
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$47[key] = propConfig.default;
|
|
1350
1628
|
});
|
|
@@ -1356,7 +1634,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1356
1634
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1357
1635
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1358
1636
|
const instanceId = useMemo(() => {
|
|
1359
|
-
return props.id || `${componentDefinition$
|
|
1637
|
+
return props.id || `${componentDefinition$10.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1360
1638
|
}, [props.id]);
|
|
1361
1639
|
const effectiveProps = useMemo(() => {
|
|
1362
1640
|
return computeEffectiveProps$47(props, defaultProps$47);
|
|
@@ -1366,7 +1644,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1366
1644
|
...props.transform
|
|
1367
1645
|
}), [props.transform]);
|
|
1368
1646
|
const uniformsRef = useRef(null);
|
|
1369
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1647
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$10, effectiveProps, instanceId);
|
|
1370
1648
|
const childContextValue = useMemo(() => {
|
|
1371
1649
|
return {
|
|
1372
1650
|
...context,
|
|
@@ -1388,7 +1666,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1388
1666
|
renderOrder: props.renderOrder || 0,
|
|
1389
1667
|
transform: effectiveTransform
|
|
1390
1668
|
};
|
|
1391
|
-
parentRegister(instanceId, componentDefinition$
|
|
1669
|
+
parentRegister(instanceId, componentDefinition$10.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$10);
|
|
1392
1670
|
return () => {
|
|
1393
1671
|
parentRegister(instanceId, null, null, null, null);
|
|
1394
1672
|
};
|
|
@@ -1461,9 +1739,9 @@ const OmbreComponent$47 = (props) => {
|
|
|
1461
1739
|
children: props.children
|
|
1462
1740
|
});
|
|
1463
1741
|
};
|
|
1464
|
-
var
|
|
1465
|
-
function computeEffectiveProps$46(props, defaultProps$
|
|
1466
|
-
let baseProps = { ...defaultProps$
|
|
1742
|
+
var ChromaFlow_default = OmbreComponent$47;
|
|
1743
|
+
function computeEffectiveProps$46(props, defaultProps$58) {
|
|
1744
|
+
let baseProps = { ...defaultProps$58 };
|
|
1467
1745
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1468
1746
|
return baseProps;
|
|
1469
1747
|
}
|
|
@@ -1482,7 +1760,7 @@ var defaultProps$46 = {
|
|
|
1482
1760
|
visible: true
|
|
1483
1761
|
};
|
|
1484
1762
|
try {
|
|
1485
|
-
if (componentDefinition$
|
|
1763
|
+
if (componentDefinition$11 && componentDefinition$11.props) Object.entries(componentDefinition$11.props).forEach(([key, config]) => {
|
|
1486
1764
|
const propConfig = config;
|
|
1487
1765
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$46[key] = propConfig.default;
|
|
1488
1766
|
});
|
|
@@ -1494,7 +1772,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1494
1772
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1495
1773
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1496
1774
|
const instanceId = useMemo(() => {
|
|
1497
|
-
return props.id || `${componentDefinition$
|
|
1775
|
+
return props.id || `${componentDefinition$11.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1498
1776
|
}, [props.id]);
|
|
1499
1777
|
const effectiveProps = useMemo(() => {
|
|
1500
1778
|
return computeEffectiveProps$46(props, defaultProps$46);
|
|
@@ -1504,7 +1782,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1504
1782
|
...props.transform
|
|
1505
1783
|
}), [props.transform]);
|
|
1506
1784
|
const uniformsRef = useRef(null);
|
|
1507
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1785
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$11, effectiveProps, instanceId);
|
|
1508
1786
|
const childContextValue = useMemo(() => {
|
|
1509
1787
|
return {
|
|
1510
1788
|
...context,
|
|
@@ -1526,7 +1804,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1526
1804
|
renderOrder: props.renderOrder || 0,
|
|
1527
1805
|
transform: effectiveTransform
|
|
1528
1806
|
};
|
|
1529
|
-
parentRegister(instanceId, componentDefinition$
|
|
1807
|
+
parentRegister(instanceId, componentDefinition$11.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$11);
|
|
1530
1808
|
return () => {
|
|
1531
1809
|
parentRegister(instanceId, null, null, null, null);
|
|
1532
1810
|
};
|
|
@@ -1599,9 +1877,9 @@ const OmbreComponent$46 = (props) => {
|
|
|
1599
1877
|
children: props.children
|
|
1600
1878
|
});
|
|
1601
1879
|
};
|
|
1602
|
-
var
|
|
1603
|
-
function computeEffectiveProps$45(props, defaultProps$
|
|
1604
|
-
let baseProps = { ...defaultProps$
|
|
1880
|
+
var ChromaticAberration_default = OmbreComponent$46;
|
|
1881
|
+
function computeEffectiveProps$45(props, defaultProps$58) {
|
|
1882
|
+
let baseProps = { ...defaultProps$58 };
|
|
1605
1883
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1606
1884
|
return baseProps;
|
|
1607
1885
|
}
|
|
@@ -1620,7 +1898,7 @@ var defaultProps$45 = {
|
|
|
1620
1898
|
visible: true
|
|
1621
1899
|
};
|
|
1622
1900
|
try {
|
|
1623
|
-
if (componentDefinition$
|
|
1901
|
+
if (componentDefinition$12 && componentDefinition$12.props) Object.entries(componentDefinition$12.props).forEach(([key, config]) => {
|
|
1624
1902
|
const propConfig = config;
|
|
1625
1903
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$45[key] = propConfig.default;
|
|
1626
1904
|
});
|
|
@@ -1632,7 +1910,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1632
1910
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1633
1911
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1634
1912
|
const instanceId = useMemo(() => {
|
|
1635
|
-
return props.id || `${componentDefinition$
|
|
1913
|
+
return props.id || `${componentDefinition$12.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1636
1914
|
}, [props.id]);
|
|
1637
1915
|
const effectiveProps = useMemo(() => {
|
|
1638
1916
|
return computeEffectiveProps$45(props, defaultProps$45);
|
|
@@ -1642,7 +1920,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1642
1920
|
...props.transform
|
|
1643
1921
|
}), [props.transform]);
|
|
1644
1922
|
const uniformsRef = useRef(null);
|
|
1645
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1923
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$12, effectiveProps, instanceId);
|
|
1646
1924
|
const childContextValue = useMemo(() => {
|
|
1647
1925
|
return {
|
|
1648
1926
|
...context,
|
|
@@ -1664,7 +1942,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1664
1942
|
renderOrder: props.renderOrder || 0,
|
|
1665
1943
|
transform: effectiveTransform
|
|
1666
1944
|
};
|
|
1667
|
-
parentRegister(instanceId, componentDefinition$
|
|
1945
|
+
parentRegister(instanceId, componentDefinition$12.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$12);
|
|
1668
1946
|
return () => {
|
|
1669
1947
|
parentRegister(instanceId, null, null, null, null);
|
|
1670
1948
|
};
|
|
@@ -1737,9 +2015,9 @@ const OmbreComponent$45 = (props) => {
|
|
|
1737
2015
|
children: props.children
|
|
1738
2016
|
});
|
|
1739
2017
|
};
|
|
1740
|
-
var
|
|
1741
|
-
function computeEffectiveProps$44(props, defaultProps$
|
|
1742
|
-
let baseProps = { ...defaultProps$
|
|
2018
|
+
var Circle_default = OmbreComponent$45;
|
|
2019
|
+
function computeEffectiveProps$44(props, defaultProps$58) {
|
|
2020
|
+
let baseProps = { ...defaultProps$58 };
|
|
1743
2021
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1744
2022
|
return baseProps;
|
|
1745
2023
|
}
|
|
@@ -1758,7 +2036,7 @@ var defaultProps$44 = {
|
|
|
1758
2036
|
visible: true
|
|
1759
2037
|
};
|
|
1760
2038
|
try {
|
|
1761
|
-
if (componentDefinition$
|
|
2039
|
+
if (componentDefinition$13 && componentDefinition$13.props) Object.entries(componentDefinition$13.props).forEach(([key, config]) => {
|
|
1762
2040
|
const propConfig = config;
|
|
1763
2041
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$44[key] = propConfig.default;
|
|
1764
2042
|
});
|
|
@@ -1770,7 +2048,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
1770
2048
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1771
2049
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1772
2050
|
const instanceId = useMemo(() => {
|
|
1773
|
-
return props.id || `${componentDefinition$
|
|
2051
|
+
return props.id || `${componentDefinition$13.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1774
2052
|
}, [props.id]);
|
|
1775
2053
|
const effectiveProps = useMemo(() => {
|
|
1776
2054
|
return computeEffectiveProps$44(props, defaultProps$44);
|
|
@@ -1780,7 +2058,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
1780
2058
|
...props.transform
|
|
1781
2059
|
}), [props.transform]);
|
|
1782
2060
|
const uniformsRef = useRef(null);
|
|
1783
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2061
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$13, effectiveProps, instanceId);
|
|
1784
2062
|
const childContextValue = useMemo(() => {
|
|
1785
2063
|
return {
|
|
1786
2064
|
...context,
|
|
@@ -1802,7 +2080,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
1802
2080
|
renderOrder: props.renderOrder || 0,
|
|
1803
2081
|
transform: effectiveTransform
|
|
1804
2082
|
};
|
|
1805
|
-
parentRegister(instanceId, componentDefinition$
|
|
2083
|
+
parentRegister(instanceId, componentDefinition$13.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$13);
|
|
1806
2084
|
return () => {
|
|
1807
2085
|
parentRegister(instanceId, null, null, null, null);
|
|
1808
2086
|
};
|
|
@@ -1875,9 +2153,9 @@ const OmbreComponent$44 = (props) => {
|
|
|
1875
2153
|
children: props.children
|
|
1876
2154
|
});
|
|
1877
2155
|
};
|
|
1878
|
-
var
|
|
1879
|
-
function computeEffectiveProps$43(props, defaultProps$
|
|
1880
|
-
let baseProps = { ...defaultProps$
|
|
2156
|
+
var CursorTrail_default = OmbreComponent$44;
|
|
2157
|
+
function computeEffectiveProps$43(props, defaultProps$58) {
|
|
2158
|
+
let baseProps = { ...defaultProps$58 };
|
|
1881
2159
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1882
2160
|
return baseProps;
|
|
1883
2161
|
}
|
|
@@ -1896,7 +2174,7 @@ var defaultProps$43 = {
|
|
|
1896
2174
|
visible: true
|
|
1897
2175
|
};
|
|
1898
2176
|
try {
|
|
1899
|
-
if (componentDefinition$
|
|
2177
|
+
if (componentDefinition$14 && componentDefinition$14.props) Object.entries(componentDefinition$14.props).forEach(([key, config]) => {
|
|
1900
2178
|
const propConfig = config;
|
|
1901
2179
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$43[key] = propConfig.default;
|
|
1902
2180
|
});
|
|
@@ -1908,7 +2186,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
1908
2186
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1909
2187
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1910
2188
|
const instanceId = useMemo(() => {
|
|
1911
|
-
return props.id || `${componentDefinition$
|
|
2189
|
+
return props.id || `${componentDefinition$14.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1912
2190
|
}, [props.id]);
|
|
1913
2191
|
const effectiveProps = useMemo(() => {
|
|
1914
2192
|
return computeEffectiveProps$43(props, defaultProps$43);
|
|
@@ -1918,7 +2196,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
1918
2196
|
...props.transform
|
|
1919
2197
|
}), [props.transform]);
|
|
1920
2198
|
const uniformsRef = useRef(null);
|
|
1921
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2199
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$14, effectiveProps, instanceId);
|
|
1922
2200
|
const childContextValue = useMemo(() => {
|
|
1923
2201
|
return {
|
|
1924
2202
|
...context,
|
|
@@ -1940,7 +2218,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
1940
2218
|
renderOrder: props.renderOrder || 0,
|
|
1941
2219
|
transform: effectiveTransform
|
|
1942
2220
|
};
|
|
1943
|
-
parentRegister(instanceId, componentDefinition$
|
|
2221
|
+
parentRegister(instanceId, componentDefinition$14.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$14);
|
|
1944
2222
|
return () => {
|
|
1945
2223
|
parentRegister(instanceId, null, null, null, null);
|
|
1946
2224
|
};
|
|
@@ -2013,9 +2291,9 @@ const OmbreComponent$43 = (props) => {
|
|
|
2013
2291
|
children: props.children
|
|
2014
2292
|
});
|
|
2015
2293
|
};
|
|
2016
|
-
var
|
|
2017
|
-
function computeEffectiveProps$42(props, defaultProps$
|
|
2018
|
-
let baseProps = { ...defaultProps$
|
|
2294
|
+
var DiffuseBlur_default = OmbreComponent$43;
|
|
2295
|
+
function computeEffectiveProps$42(props, defaultProps$58) {
|
|
2296
|
+
let baseProps = { ...defaultProps$58 };
|
|
2019
2297
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2020
2298
|
return baseProps;
|
|
2021
2299
|
}
|
|
@@ -2034,7 +2312,7 @@ var defaultProps$42 = {
|
|
|
2034
2312
|
visible: true
|
|
2035
2313
|
};
|
|
2036
2314
|
try {
|
|
2037
|
-
if (componentDefinition$
|
|
2315
|
+
if (componentDefinition$15 && componentDefinition$15.props) Object.entries(componentDefinition$15.props).forEach(([key, config]) => {
|
|
2038
2316
|
const propConfig = config;
|
|
2039
2317
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$42[key] = propConfig.default;
|
|
2040
2318
|
});
|
|
@@ -2046,7 +2324,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2046
2324
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2047
2325
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2048
2326
|
const instanceId = useMemo(() => {
|
|
2049
|
-
return props.id || `${componentDefinition$
|
|
2327
|
+
return props.id || `${componentDefinition$15.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2050
2328
|
}, [props.id]);
|
|
2051
2329
|
const effectiveProps = useMemo(() => {
|
|
2052
2330
|
return computeEffectiveProps$42(props, defaultProps$42);
|
|
@@ -2056,7 +2334,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2056
2334
|
...props.transform
|
|
2057
2335
|
}), [props.transform]);
|
|
2058
2336
|
const uniformsRef = useRef(null);
|
|
2059
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2337
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$15, effectiveProps, instanceId);
|
|
2060
2338
|
const childContextValue = useMemo(() => {
|
|
2061
2339
|
return {
|
|
2062
2340
|
...context,
|
|
@@ -2078,7 +2356,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2078
2356
|
renderOrder: props.renderOrder || 0,
|
|
2079
2357
|
transform: effectiveTransform
|
|
2080
2358
|
};
|
|
2081
|
-
parentRegister(instanceId, componentDefinition$
|
|
2359
|
+
parentRegister(instanceId, componentDefinition$15.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$15);
|
|
2082
2360
|
return () => {
|
|
2083
2361
|
parentRegister(instanceId, null, null, null, null);
|
|
2084
2362
|
};
|
|
@@ -2151,9 +2429,9 @@ const OmbreComponent$42 = (props) => {
|
|
|
2151
2429
|
children: props.children
|
|
2152
2430
|
});
|
|
2153
2431
|
};
|
|
2154
|
-
var
|
|
2155
|
-
function computeEffectiveProps$41(props, defaultProps$
|
|
2156
|
-
let baseProps = { ...defaultProps$
|
|
2432
|
+
var Dither_default = OmbreComponent$42;
|
|
2433
|
+
function computeEffectiveProps$41(props, defaultProps$58) {
|
|
2434
|
+
let baseProps = { ...defaultProps$58 };
|
|
2157
2435
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2158
2436
|
return baseProps;
|
|
2159
2437
|
}
|
|
@@ -2172,7 +2450,7 @@ var defaultProps$41 = {
|
|
|
2172
2450
|
visible: true
|
|
2173
2451
|
};
|
|
2174
2452
|
try {
|
|
2175
|
-
if (componentDefinition$
|
|
2453
|
+
if (componentDefinition$16 && componentDefinition$16.props) Object.entries(componentDefinition$16.props).forEach(([key, config]) => {
|
|
2176
2454
|
const propConfig = config;
|
|
2177
2455
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$41[key] = propConfig.default;
|
|
2178
2456
|
});
|
|
@@ -2184,7 +2462,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2184
2462
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2185
2463
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2186
2464
|
const instanceId = useMemo(() => {
|
|
2187
|
-
return props.id || `${componentDefinition$
|
|
2465
|
+
return props.id || `${componentDefinition$16.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2188
2466
|
}, [props.id]);
|
|
2189
2467
|
const effectiveProps = useMemo(() => {
|
|
2190
2468
|
return computeEffectiveProps$41(props, defaultProps$41);
|
|
@@ -2194,7 +2472,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2194
2472
|
...props.transform
|
|
2195
2473
|
}), [props.transform]);
|
|
2196
2474
|
const uniformsRef = useRef(null);
|
|
2197
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2475
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$16, effectiveProps, instanceId);
|
|
2198
2476
|
const childContextValue = useMemo(() => {
|
|
2199
2477
|
return {
|
|
2200
2478
|
...context,
|
|
@@ -2216,7 +2494,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2216
2494
|
renderOrder: props.renderOrder || 0,
|
|
2217
2495
|
transform: effectiveTransform
|
|
2218
2496
|
};
|
|
2219
|
-
parentRegister(instanceId, componentDefinition$
|
|
2497
|
+
parentRegister(instanceId, componentDefinition$16.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$16);
|
|
2220
2498
|
return () => {
|
|
2221
2499
|
parentRegister(instanceId, null, null, null, null);
|
|
2222
2500
|
};
|
|
@@ -2289,9 +2567,9 @@ const OmbreComponent$41 = (props) => {
|
|
|
2289
2567
|
children: props.children
|
|
2290
2568
|
});
|
|
2291
2569
|
};
|
|
2292
|
-
var
|
|
2293
|
-
function computeEffectiveProps$40(props, defaultProps$
|
|
2294
|
-
let baseProps = { ...defaultProps$
|
|
2570
|
+
var DotGrid_default = OmbreComponent$41;
|
|
2571
|
+
function computeEffectiveProps$40(props, defaultProps$58) {
|
|
2572
|
+
let baseProps = { ...defaultProps$58 };
|
|
2295
2573
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2296
2574
|
return baseProps;
|
|
2297
2575
|
}
|
|
@@ -2310,7 +2588,7 @@ var defaultProps$40 = {
|
|
|
2310
2588
|
visible: true
|
|
2311
2589
|
};
|
|
2312
2590
|
try {
|
|
2313
|
-
if (componentDefinition$
|
|
2591
|
+
if (componentDefinition$17 && componentDefinition$17.props) Object.entries(componentDefinition$17.props).forEach(([key, config]) => {
|
|
2314
2592
|
const propConfig = config;
|
|
2315
2593
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$40[key] = propConfig.default;
|
|
2316
2594
|
});
|
|
@@ -2322,7 +2600,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2322
2600
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2323
2601
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2324
2602
|
const instanceId = useMemo(() => {
|
|
2325
|
-
return props.id || `${componentDefinition$
|
|
2603
|
+
return props.id || `${componentDefinition$17.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2326
2604
|
}, [props.id]);
|
|
2327
2605
|
const effectiveProps = useMemo(() => {
|
|
2328
2606
|
return computeEffectiveProps$40(props, defaultProps$40);
|
|
@@ -2332,7 +2610,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2332
2610
|
...props.transform
|
|
2333
2611
|
}), [props.transform]);
|
|
2334
2612
|
const uniformsRef = useRef(null);
|
|
2335
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2613
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$17, effectiveProps, instanceId);
|
|
2336
2614
|
const childContextValue = useMemo(() => {
|
|
2337
2615
|
return {
|
|
2338
2616
|
...context,
|
|
@@ -2354,7 +2632,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2354
2632
|
renderOrder: props.renderOrder || 0,
|
|
2355
2633
|
transform: effectiveTransform
|
|
2356
2634
|
};
|
|
2357
|
-
parentRegister(instanceId, componentDefinition$
|
|
2635
|
+
parentRegister(instanceId, componentDefinition$17.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$17);
|
|
2358
2636
|
return () => {
|
|
2359
2637
|
parentRegister(instanceId, null, null, null, null);
|
|
2360
2638
|
};
|
|
@@ -2427,9 +2705,9 @@ const OmbreComponent$40 = (props) => {
|
|
|
2427
2705
|
children: props.children
|
|
2428
2706
|
});
|
|
2429
2707
|
};
|
|
2430
|
-
var
|
|
2431
|
-
function computeEffectiveProps$39(props, defaultProps$
|
|
2432
|
-
let baseProps = { ...defaultProps$
|
|
2708
|
+
var Duotone_default = OmbreComponent$40;
|
|
2709
|
+
function computeEffectiveProps$39(props, defaultProps$58) {
|
|
2710
|
+
let baseProps = { ...defaultProps$58 };
|
|
2433
2711
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2434
2712
|
return baseProps;
|
|
2435
2713
|
}
|
|
@@ -2448,7 +2726,7 @@ var defaultProps$39 = {
|
|
|
2448
2726
|
visible: true
|
|
2449
2727
|
};
|
|
2450
2728
|
try {
|
|
2451
|
-
if (componentDefinition$
|
|
2729
|
+
if (componentDefinition$18 && componentDefinition$18.props) Object.entries(componentDefinition$18.props).forEach(([key, config]) => {
|
|
2452
2730
|
const propConfig = config;
|
|
2453
2731
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$39[key] = propConfig.default;
|
|
2454
2732
|
});
|
|
@@ -2460,7 +2738,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2460
2738
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2461
2739
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2462
2740
|
const instanceId = useMemo(() => {
|
|
2463
|
-
return props.id || `${componentDefinition$
|
|
2741
|
+
return props.id || `${componentDefinition$18.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2464
2742
|
}, [props.id]);
|
|
2465
2743
|
const effectiveProps = useMemo(() => {
|
|
2466
2744
|
return computeEffectiveProps$39(props, defaultProps$39);
|
|
@@ -2470,7 +2748,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2470
2748
|
...props.transform
|
|
2471
2749
|
}), [props.transform]);
|
|
2472
2750
|
const uniformsRef = useRef(null);
|
|
2473
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2751
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$18, effectiveProps, instanceId);
|
|
2474
2752
|
const childContextValue = useMemo(() => {
|
|
2475
2753
|
return {
|
|
2476
2754
|
...context,
|
|
@@ -2492,7 +2770,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2492
2770
|
renderOrder: props.renderOrder || 0,
|
|
2493
2771
|
transform: effectiveTransform
|
|
2494
2772
|
};
|
|
2495
|
-
parentRegister(instanceId, componentDefinition$
|
|
2773
|
+
parentRegister(instanceId, componentDefinition$18.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$18);
|
|
2496
2774
|
return () => {
|
|
2497
2775
|
parentRegister(instanceId, null, null, null, null);
|
|
2498
2776
|
};
|
|
@@ -2565,9 +2843,9 @@ const OmbreComponent$39 = (props) => {
|
|
|
2565
2843
|
children: props.children
|
|
2566
2844
|
});
|
|
2567
2845
|
};
|
|
2568
|
-
var
|
|
2569
|
-
function computeEffectiveProps$38(props, defaultProps$
|
|
2570
|
-
let baseProps = { ...defaultProps$
|
|
2846
|
+
var FilmGrain_default = OmbreComponent$39;
|
|
2847
|
+
function computeEffectiveProps$38(props, defaultProps$58) {
|
|
2848
|
+
let baseProps = { ...defaultProps$58 };
|
|
2571
2849
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2572
2850
|
return baseProps;
|
|
2573
2851
|
}
|
|
@@ -2586,7 +2864,7 @@ var defaultProps$38 = {
|
|
|
2586
2864
|
visible: true
|
|
2587
2865
|
};
|
|
2588
2866
|
try {
|
|
2589
|
-
if (componentDefinition$
|
|
2867
|
+
if (componentDefinition$19 && componentDefinition$19.props) Object.entries(componentDefinition$19.props).forEach(([key, config]) => {
|
|
2590
2868
|
const propConfig = config;
|
|
2591
2869
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$38[key] = propConfig.default;
|
|
2592
2870
|
});
|
|
@@ -2598,7 +2876,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2598
2876
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2599
2877
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2600
2878
|
const instanceId = useMemo(() => {
|
|
2601
|
-
return props.id || `${componentDefinition$
|
|
2879
|
+
return props.id || `${componentDefinition$19.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2602
2880
|
}, [props.id]);
|
|
2603
2881
|
const effectiveProps = useMemo(() => {
|
|
2604
2882
|
return computeEffectiveProps$38(props, defaultProps$38);
|
|
@@ -2608,7 +2886,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2608
2886
|
...props.transform
|
|
2609
2887
|
}), [props.transform]);
|
|
2610
2888
|
const uniformsRef = useRef(null);
|
|
2611
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2889
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$19, effectiveProps, instanceId);
|
|
2612
2890
|
const childContextValue = useMemo(() => {
|
|
2613
2891
|
return {
|
|
2614
2892
|
...context,
|
|
@@ -2630,7 +2908,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2630
2908
|
renderOrder: props.renderOrder || 0,
|
|
2631
2909
|
transform: effectiveTransform
|
|
2632
2910
|
};
|
|
2633
|
-
parentRegister(instanceId, componentDefinition$
|
|
2911
|
+
parentRegister(instanceId, componentDefinition$19.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$19);
|
|
2634
2912
|
return () => {
|
|
2635
2913
|
parentRegister(instanceId, null, null, null, null);
|
|
2636
2914
|
};
|
|
@@ -2703,9 +2981,9 @@ const OmbreComponent$38 = (props) => {
|
|
|
2703
2981
|
children: props.children
|
|
2704
2982
|
});
|
|
2705
2983
|
};
|
|
2706
|
-
var
|
|
2707
|
-
function computeEffectiveProps$37(props, defaultProps$
|
|
2708
|
-
let baseProps = { ...defaultProps$
|
|
2984
|
+
var FloatingParticles_default = OmbreComponent$38;
|
|
2985
|
+
function computeEffectiveProps$37(props, defaultProps$58) {
|
|
2986
|
+
let baseProps = { ...defaultProps$58 };
|
|
2709
2987
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2710
2988
|
return baseProps;
|
|
2711
2989
|
}
|
|
@@ -2724,7 +3002,7 @@ var defaultProps$37 = {
|
|
|
2724
3002
|
visible: true
|
|
2725
3003
|
};
|
|
2726
3004
|
try {
|
|
2727
|
-
if (componentDefinition$
|
|
3005
|
+
if (componentDefinition$20 && componentDefinition$20.props) Object.entries(componentDefinition$20.props).forEach(([key, config]) => {
|
|
2728
3006
|
const propConfig = config;
|
|
2729
3007
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$37[key] = propConfig.default;
|
|
2730
3008
|
});
|
|
@@ -2736,7 +3014,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
2736
3014
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2737
3015
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2738
3016
|
const instanceId = useMemo(() => {
|
|
2739
|
-
return props.id || `${componentDefinition$
|
|
3017
|
+
return props.id || `${componentDefinition$20.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2740
3018
|
}, [props.id]);
|
|
2741
3019
|
const effectiveProps = useMemo(() => {
|
|
2742
3020
|
return computeEffectiveProps$37(props, defaultProps$37);
|
|
@@ -2746,7 +3024,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
2746
3024
|
...props.transform
|
|
2747
3025
|
}), [props.transform]);
|
|
2748
3026
|
const uniformsRef = useRef(null);
|
|
2749
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3027
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$20, effectiveProps, instanceId);
|
|
2750
3028
|
const childContextValue = useMemo(() => {
|
|
2751
3029
|
return {
|
|
2752
3030
|
...context,
|
|
@@ -2768,7 +3046,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
2768
3046
|
renderOrder: props.renderOrder || 0,
|
|
2769
3047
|
transform: effectiveTransform
|
|
2770
3048
|
};
|
|
2771
|
-
parentRegister(instanceId, componentDefinition$
|
|
3049
|
+
parentRegister(instanceId, componentDefinition$20.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$20);
|
|
2772
3050
|
return () => {
|
|
2773
3051
|
parentRegister(instanceId, null, null, null, null);
|
|
2774
3052
|
};
|
|
@@ -2841,9 +3119,9 @@ const OmbreComponent$37 = (props) => {
|
|
|
2841
3119
|
children: props.children
|
|
2842
3120
|
});
|
|
2843
3121
|
};
|
|
2844
|
-
var
|
|
2845
|
-
function computeEffectiveProps$36(props, defaultProps$
|
|
2846
|
-
let baseProps = { ...defaultProps$
|
|
3122
|
+
var GlassTiles_default = OmbreComponent$37;
|
|
3123
|
+
function computeEffectiveProps$36(props, defaultProps$58) {
|
|
3124
|
+
let baseProps = { ...defaultProps$58 };
|
|
2847
3125
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2848
3126
|
return baseProps;
|
|
2849
3127
|
}
|
|
@@ -2862,7 +3140,7 @@ var defaultProps$36 = {
|
|
|
2862
3140
|
visible: true
|
|
2863
3141
|
};
|
|
2864
3142
|
try {
|
|
2865
|
-
if (componentDefinition$
|
|
3143
|
+
if (componentDefinition$21 && componentDefinition$21.props) Object.entries(componentDefinition$21.props).forEach(([key, config]) => {
|
|
2866
3144
|
const propConfig = config;
|
|
2867
3145
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$36[key] = propConfig.default;
|
|
2868
3146
|
});
|
|
@@ -2874,7 +3152,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
2874
3152
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2875
3153
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2876
3154
|
const instanceId = useMemo(() => {
|
|
2877
|
-
return props.id || `${componentDefinition$
|
|
3155
|
+
return props.id || `${componentDefinition$21.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2878
3156
|
}, [props.id]);
|
|
2879
3157
|
const effectiveProps = useMemo(() => {
|
|
2880
3158
|
return computeEffectiveProps$36(props, defaultProps$36);
|
|
@@ -2884,7 +3162,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
2884
3162
|
...props.transform
|
|
2885
3163
|
}), [props.transform]);
|
|
2886
3164
|
const uniformsRef = useRef(null);
|
|
2887
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3165
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$21, effectiveProps, instanceId);
|
|
2888
3166
|
const childContextValue = useMemo(() => {
|
|
2889
3167
|
return {
|
|
2890
3168
|
...context,
|
|
@@ -2906,7 +3184,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
2906
3184
|
renderOrder: props.renderOrder || 0,
|
|
2907
3185
|
transform: effectiveTransform
|
|
2908
3186
|
};
|
|
2909
|
-
parentRegister(instanceId, componentDefinition$
|
|
3187
|
+
parentRegister(instanceId, componentDefinition$21.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$21);
|
|
2910
3188
|
return () => {
|
|
2911
3189
|
parentRegister(instanceId, null, null, null, null);
|
|
2912
3190
|
};
|
|
@@ -2979,9 +3257,9 @@ const OmbreComponent$36 = (props) => {
|
|
|
2979
3257
|
children: props.children
|
|
2980
3258
|
});
|
|
2981
3259
|
};
|
|
2982
|
-
var
|
|
2983
|
-
function computeEffectiveProps$35(props, defaultProps$
|
|
2984
|
-
let baseProps = { ...defaultProps$
|
|
3260
|
+
var Glow_default = OmbreComponent$36;
|
|
3261
|
+
function computeEffectiveProps$35(props, defaultProps$58) {
|
|
3262
|
+
let baseProps = { ...defaultProps$58 };
|
|
2985
3263
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2986
3264
|
return baseProps;
|
|
2987
3265
|
}
|
|
@@ -3000,7 +3278,7 @@ var defaultProps$35 = {
|
|
|
3000
3278
|
visible: true
|
|
3001
3279
|
};
|
|
3002
3280
|
try {
|
|
3003
|
-
if (componentDefinition$
|
|
3281
|
+
if (componentDefinition$22 && componentDefinition$22.props) Object.entries(componentDefinition$22.props).forEach(([key, config]) => {
|
|
3004
3282
|
const propConfig = config;
|
|
3005
3283
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$35[key] = propConfig.default;
|
|
3006
3284
|
});
|
|
@@ -3012,7 +3290,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3012
3290
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3013
3291
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3014
3292
|
const instanceId = useMemo(() => {
|
|
3015
|
-
return props.id || `${componentDefinition$
|
|
3293
|
+
return props.id || `${componentDefinition$22.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3016
3294
|
}, [props.id]);
|
|
3017
3295
|
const effectiveProps = useMemo(() => {
|
|
3018
3296
|
return computeEffectiveProps$35(props, defaultProps$35);
|
|
@@ -3022,7 +3300,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3022
3300
|
...props.transform
|
|
3023
3301
|
}), [props.transform]);
|
|
3024
3302
|
const uniformsRef = useRef(null);
|
|
3025
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3303
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$22, effectiveProps, instanceId);
|
|
3026
3304
|
const childContextValue = useMemo(() => {
|
|
3027
3305
|
return {
|
|
3028
3306
|
...context,
|
|
@@ -3044,7 +3322,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3044
3322
|
renderOrder: props.renderOrder || 0,
|
|
3045
3323
|
transform: effectiveTransform
|
|
3046
3324
|
};
|
|
3047
|
-
parentRegister(instanceId, componentDefinition$
|
|
3325
|
+
parentRegister(instanceId, componentDefinition$22.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$22);
|
|
3048
3326
|
return () => {
|
|
3049
3327
|
parentRegister(instanceId, null, null, null, null);
|
|
3050
3328
|
};
|
|
@@ -3117,9 +3395,9 @@ const OmbreComponent$35 = (props) => {
|
|
|
3117
3395
|
children: props.children
|
|
3118
3396
|
});
|
|
3119
3397
|
};
|
|
3120
|
-
var
|
|
3121
|
-
function computeEffectiveProps$34(props, defaultProps$
|
|
3122
|
-
let baseProps = { ...defaultProps$
|
|
3398
|
+
var Godrays_default = OmbreComponent$35;
|
|
3399
|
+
function computeEffectiveProps$34(props, defaultProps$58) {
|
|
3400
|
+
let baseProps = { ...defaultProps$58 };
|
|
3123
3401
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3124
3402
|
return baseProps;
|
|
3125
3403
|
}
|
|
@@ -3138,7 +3416,7 @@ var defaultProps$34 = {
|
|
|
3138
3416
|
visible: true
|
|
3139
3417
|
};
|
|
3140
3418
|
try {
|
|
3141
|
-
if (componentDefinition$
|
|
3419
|
+
if (componentDefinition$23 && componentDefinition$23.props) Object.entries(componentDefinition$23.props).forEach(([key, config]) => {
|
|
3142
3420
|
const propConfig = config;
|
|
3143
3421
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$34[key] = propConfig.default;
|
|
3144
3422
|
});
|
|
@@ -3150,7 +3428,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3150
3428
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3151
3429
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3152
3430
|
const instanceId = useMemo(() => {
|
|
3153
|
-
return props.id || `${componentDefinition$
|
|
3431
|
+
return props.id || `${componentDefinition$23.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3154
3432
|
}, [props.id]);
|
|
3155
3433
|
const effectiveProps = useMemo(() => {
|
|
3156
3434
|
return computeEffectiveProps$34(props, defaultProps$34);
|
|
@@ -3160,7 +3438,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3160
3438
|
...props.transform
|
|
3161
3439
|
}), [props.transform]);
|
|
3162
3440
|
const uniformsRef = useRef(null);
|
|
3163
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3441
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$23, effectiveProps, instanceId);
|
|
3164
3442
|
const childContextValue = useMemo(() => {
|
|
3165
3443
|
return {
|
|
3166
3444
|
...context,
|
|
@@ -3182,7 +3460,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3182
3460
|
renderOrder: props.renderOrder || 0,
|
|
3183
3461
|
transform: effectiveTransform
|
|
3184
3462
|
};
|
|
3185
|
-
parentRegister(instanceId, componentDefinition$
|
|
3463
|
+
parentRegister(instanceId, componentDefinition$23.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$23);
|
|
3186
3464
|
return () => {
|
|
3187
3465
|
parentRegister(instanceId, null, null, null, null);
|
|
3188
3466
|
};
|
|
@@ -3255,9 +3533,9 @@ const OmbreComponent$34 = (props) => {
|
|
|
3255
3533
|
children: props.children
|
|
3256
3534
|
});
|
|
3257
3535
|
};
|
|
3258
|
-
var
|
|
3259
|
-
function computeEffectiveProps$33(props, defaultProps$
|
|
3260
|
-
let baseProps = { ...defaultProps$
|
|
3536
|
+
var Grayscale_default = OmbreComponent$34;
|
|
3537
|
+
function computeEffectiveProps$33(props, defaultProps$58) {
|
|
3538
|
+
let baseProps = { ...defaultProps$58 };
|
|
3261
3539
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3262
3540
|
return baseProps;
|
|
3263
3541
|
}
|
|
@@ -3276,7 +3554,7 @@ var defaultProps$33 = {
|
|
|
3276
3554
|
visible: true
|
|
3277
3555
|
};
|
|
3278
3556
|
try {
|
|
3279
|
-
if (componentDefinition$
|
|
3557
|
+
if (componentDefinition$24 && componentDefinition$24.props) Object.entries(componentDefinition$24.props).forEach(([key, config]) => {
|
|
3280
3558
|
const propConfig = config;
|
|
3281
3559
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$33[key] = propConfig.default;
|
|
3282
3560
|
});
|
|
@@ -3288,7 +3566,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3288
3566
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3289
3567
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3290
3568
|
const instanceId = useMemo(() => {
|
|
3291
|
-
return props.id || `${componentDefinition$
|
|
3569
|
+
return props.id || `${componentDefinition$24.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3292
3570
|
}, [props.id]);
|
|
3293
3571
|
const effectiveProps = useMemo(() => {
|
|
3294
3572
|
return computeEffectiveProps$33(props, defaultProps$33);
|
|
@@ -3298,7 +3576,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3298
3576
|
...props.transform
|
|
3299
3577
|
}), [props.transform]);
|
|
3300
3578
|
const uniformsRef = useRef(null);
|
|
3301
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3579
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$24, effectiveProps, instanceId);
|
|
3302
3580
|
const childContextValue = useMemo(() => {
|
|
3303
3581
|
return {
|
|
3304
3582
|
...context,
|
|
@@ -3320,7 +3598,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3320
3598
|
renderOrder: props.renderOrder || 0,
|
|
3321
3599
|
transform: effectiveTransform
|
|
3322
3600
|
};
|
|
3323
|
-
parentRegister(instanceId, componentDefinition$
|
|
3601
|
+
parentRegister(instanceId, componentDefinition$24.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$24);
|
|
3324
3602
|
return () => {
|
|
3325
3603
|
parentRegister(instanceId, null, null, null, null);
|
|
3326
3604
|
};
|
|
@@ -3393,9 +3671,9 @@ const OmbreComponent$33 = (props) => {
|
|
|
3393
3671
|
children: props.children
|
|
3394
3672
|
});
|
|
3395
3673
|
};
|
|
3396
|
-
var
|
|
3397
|
-
function computeEffectiveProps$32(props, defaultProps$
|
|
3398
|
-
let baseProps = { ...defaultProps$
|
|
3674
|
+
var Grid_default = OmbreComponent$33;
|
|
3675
|
+
function computeEffectiveProps$32(props, defaultProps$58) {
|
|
3676
|
+
let baseProps = { ...defaultProps$58 };
|
|
3399
3677
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3400
3678
|
return baseProps;
|
|
3401
3679
|
}
|
|
@@ -3414,7 +3692,7 @@ var defaultProps$32 = {
|
|
|
3414
3692
|
visible: true
|
|
3415
3693
|
};
|
|
3416
3694
|
try {
|
|
3417
|
-
if (componentDefinition$
|
|
3695
|
+
if (componentDefinition$25 && componentDefinition$25.props) Object.entries(componentDefinition$25.props).forEach(([key, config]) => {
|
|
3418
3696
|
const propConfig = config;
|
|
3419
3697
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$32[key] = propConfig.default;
|
|
3420
3698
|
});
|
|
@@ -3426,7 +3704,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3426
3704
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3427
3705
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3428
3706
|
const instanceId = useMemo(() => {
|
|
3429
|
-
return props.id || `${componentDefinition$
|
|
3707
|
+
return props.id || `${componentDefinition$25.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3430
3708
|
}, [props.id]);
|
|
3431
3709
|
const effectiveProps = useMemo(() => {
|
|
3432
3710
|
return computeEffectiveProps$32(props, defaultProps$32);
|
|
@@ -3436,7 +3714,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3436
3714
|
...props.transform
|
|
3437
3715
|
}), [props.transform]);
|
|
3438
3716
|
const uniformsRef = useRef(null);
|
|
3439
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3717
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$25, effectiveProps, instanceId);
|
|
3440
3718
|
const childContextValue = useMemo(() => {
|
|
3441
3719
|
return {
|
|
3442
3720
|
...context,
|
|
@@ -3458,7 +3736,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3458
3736
|
renderOrder: props.renderOrder || 0,
|
|
3459
3737
|
transform: effectiveTransform
|
|
3460
3738
|
};
|
|
3461
|
-
parentRegister(instanceId, componentDefinition$
|
|
3739
|
+
parentRegister(instanceId, componentDefinition$25.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$25);
|
|
3462
3740
|
return () => {
|
|
3463
3741
|
parentRegister(instanceId, null, null, null, null);
|
|
3464
3742
|
};
|
|
@@ -3531,9 +3809,9 @@ const OmbreComponent$32 = (props) => {
|
|
|
3531
3809
|
children: props.children
|
|
3532
3810
|
});
|
|
3533
3811
|
};
|
|
3534
|
-
var
|
|
3535
|
-
function computeEffectiveProps$31(props, defaultProps$
|
|
3536
|
-
let baseProps = { ...defaultProps$
|
|
3812
|
+
var GridDistortion_default = OmbreComponent$32;
|
|
3813
|
+
function computeEffectiveProps$31(props, defaultProps$58) {
|
|
3814
|
+
let baseProps = { ...defaultProps$58 };
|
|
3537
3815
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3538
3816
|
return baseProps;
|
|
3539
3817
|
}
|
|
@@ -3552,7 +3830,7 @@ var defaultProps$31 = {
|
|
|
3552
3830
|
visible: true
|
|
3553
3831
|
};
|
|
3554
3832
|
try {
|
|
3555
|
-
if (componentDefinition$
|
|
3833
|
+
if (componentDefinition$26 && componentDefinition$26.props) Object.entries(componentDefinition$26.props).forEach(([key, config]) => {
|
|
3556
3834
|
const propConfig = config;
|
|
3557
3835
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$31[key] = propConfig.default;
|
|
3558
3836
|
});
|
|
@@ -3564,7 +3842,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3564
3842
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3565
3843
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3566
3844
|
const instanceId = useMemo(() => {
|
|
3567
|
-
return props.id || `${componentDefinition$
|
|
3845
|
+
return props.id || `${componentDefinition$26.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3568
3846
|
}, [props.id]);
|
|
3569
3847
|
const effectiveProps = useMemo(() => {
|
|
3570
3848
|
return computeEffectiveProps$31(props, defaultProps$31);
|
|
@@ -3574,7 +3852,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3574
3852
|
...props.transform
|
|
3575
3853
|
}), [props.transform]);
|
|
3576
3854
|
const uniformsRef = useRef(null);
|
|
3577
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3855
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$26, effectiveProps, instanceId);
|
|
3578
3856
|
const childContextValue = useMemo(() => {
|
|
3579
3857
|
return {
|
|
3580
3858
|
...context,
|
|
@@ -3596,7 +3874,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3596
3874
|
renderOrder: props.renderOrder || 0,
|
|
3597
3875
|
transform: effectiveTransform
|
|
3598
3876
|
};
|
|
3599
|
-
parentRegister(instanceId, componentDefinition$
|
|
3877
|
+
parentRegister(instanceId, componentDefinition$26.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$26);
|
|
3600
3878
|
return () => {
|
|
3601
3879
|
parentRegister(instanceId, null, null, null, null);
|
|
3602
3880
|
};
|
|
@@ -3669,9 +3947,9 @@ const OmbreComponent$31 = (props) => {
|
|
|
3669
3947
|
children: props.children
|
|
3670
3948
|
});
|
|
3671
3949
|
};
|
|
3672
|
-
var
|
|
3673
|
-
function computeEffectiveProps$30(props, defaultProps$
|
|
3674
|
-
let baseProps = { ...defaultProps$
|
|
3950
|
+
var Group_default = OmbreComponent$31;
|
|
3951
|
+
function computeEffectiveProps$30(props, defaultProps$58) {
|
|
3952
|
+
let baseProps = { ...defaultProps$58 };
|
|
3675
3953
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3676
3954
|
return baseProps;
|
|
3677
3955
|
}
|
|
@@ -3690,7 +3968,7 @@ var defaultProps$30 = {
|
|
|
3690
3968
|
visible: true
|
|
3691
3969
|
};
|
|
3692
3970
|
try {
|
|
3693
|
-
if (componentDefinition$
|
|
3971
|
+
if (componentDefinition$27 && componentDefinition$27.props) Object.entries(componentDefinition$27.props).forEach(([key, config]) => {
|
|
3694
3972
|
const propConfig = config;
|
|
3695
3973
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$30[key] = propConfig.default;
|
|
3696
3974
|
});
|
|
@@ -3702,7 +3980,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3702
3980
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3703
3981
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3704
3982
|
const instanceId = useMemo(() => {
|
|
3705
|
-
return props.id || `${componentDefinition$
|
|
3983
|
+
return props.id || `${componentDefinition$27.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3706
3984
|
}, [props.id]);
|
|
3707
3985
|
const effectiveProps = useMemo(() => {
|
|
3708
3986
|
return computeEffectiveProps$30(props, defaultProps$30);
|
|
@@ -3712,7 +3990,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3712
3990
|
...props.transform
|
|
3713
3991
|
}), [props.transform]);
|
|
3714
3992
|
const uniformsRef = useRef(null);
|
|
3715
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3993
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$27, effectiveProps, instanceId);
|
|
3716
3994
|
const childContextValue = useMemo(() => {
|
|
3717
3995
|
return {
|
|
3718
3996
|
...context,
|
|
@@ -3734,7 +4012,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3734
4012
|
renderOrder: props.renderOrder || 0,
|
|
3735
4013
|
transform: effectiveTransform
|
|
3736
4014
|
};
|
|
3737
|
-
parentRegister(instanceId, componentDefinition$
|
|
4015
|
+
parentRegister(instanceId, componentDefinition$27.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$27);
|
|
3738
4016
|
return () => {
|
|
3739
4017
|
parentRegister(instanceId, null, null, null, null);
|
|
3740
4018
|
};
|
|
@@ -3807,9 +4085,9 @@ const OmbreComponent$30 = (props) => {
|
|
|
3807
4085
|
children: props.children
|
|
3808
4086
|
});
|
|
3809
4087
|
};
|
|
3810
|
-
var
|
|
3811
|
-
function computeEffectiveProps$29(props, defaultProps$
|
|
3812
|
-
let baseProps = { ...defaultProps$
|
|
4088
|
+
var Halftone_default = OmbreComponent$30;
|
|
4089
|
+
function computeEffectiveProps$29(props, defaultProps$58) {
|
|
4090
|
+
let baseProps = { ...defaultProps$58 };
|
|
3813
4091
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3814
4092
|
return baseProps;
|
|
3815
4093
|
}
|
|
@@ -3828,7 +4106,7 @@ var defaultProps$29 = {
|
|
|
3828
4106
|
visible: true
|
|
3829
4107
|
};
|
|
3830
4108
|
try {
|
|
3831
|
-
if (componentDefinition$
|
|
4109
|
+
if (componentDefinition$28 && componentDefinition$28.props) Object.entries(componentDefinition$28.props).forEach(([key, config]) => {
|
|
3832
4110
|
const propConfig = config;
|
|
3833
4111
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$29[key] = propConfig.default;
|
|
3834
4112
|
});
|
|
@@ -3840,7 +4118,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
3840
4118
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3841
4119
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3842
4120
|
const instanceId = useMemo(() => {
|
|
3843
|
-
return props.id || `${componentDefinition$
|
|
4121
|
+
return props.id || `${componentDefinition$28.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3844
4122
|
}, [props.id]);
|
|
3845
4123
|
const effectiveProps = useMemo(() => {
|
|
3846
4124
|
return computeEffectiveProps$29(props, defaultProps$29);
|
|
@@ -3850,7 +4128,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
3850
4128
|
...props.transform
|
|
3851
4129
|
}), [props.transform]);
|
|
3852
4130
|
const uniformsRef = useRef(null);
|
|
3853
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4131
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$28, effectiveProps, instanceId);
|
|
3854
4132
|
const childContextValue = useMemo(() => {
|
|
3855
4133
|
return {
|
|
3856
4134
|
...context,
|
|
@@ -3872,7 +4150,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
3872
4150
|
renderOrder: props.renderOrder || 0,
|
|
3873
4151
|
transform: effectiveTransform
|
|
3874
4152
|
};
|
|
3875
|
-
parentRegister(instanceId, componentDefinition$
|
|
4153
|
+
parentRegister(instanceId, componentDefinition$28.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$28);
|
|
3876
4154
|
return () => {
|
|
3877
4155
|
parentRegister(instanceId, null, null, null, null);
|
|
3878
4156
|
};
|
|
@@ -3945,9 +4223,9 @@ const OmbreComponent$29 = (props) => {
|
|
|
3945
4223
|
children: props.children
|
|
3946
4224
|
});
|
|
3947
4225
|
};
|
|
3948
|
-
var
|
|
3949
|
-
function computeEffectiveProps$28(props, defaultProps$
|
|
3950
|
-
let baseProps = { ...defaultProps$
|
|
4226
|
+
var HueShift_default = OmbreComponent$29;
|
|
4227
|
+
function computeEffectiveProps$28(props, defaultProps$58) {
|
|
4228
|
+
let baseProps = { ...defaultProps$58 };
|
|
3951
4229
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3952
4230
|
return baseProps;
|
|
3953
4231
|
}
|
|
@@ -3966,7 +4244,7 @@ var defaultProps$28 = {
|
|
|
3966
4244
|
visible: true
|
|
3967
4245
|
};
|
|
3968
4246
|
try {
|
|
3969
|
-
if (componentDefinition$
|
|
4247
|
+
if (componentDefinition$29 && componentDefinition$29.props) Object.entries(componentDefinition$29.props).forEach(([key, config]) => {
|
|
3970
4248
|
const propConfig = config;
|
|
3971
4249
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$28[key] = propConfig.default;
|
|
3972
4250
|
});
|
|
@@ -3978,7 +4256,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
3978
4256
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3979
4257
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3980
4258
|
const instanceId = useMemo(() => {
|
|
3981
|
-
return props.id || `${componentDefinition$
|
|
4259
|
+
return props.id || `${componentDefinition$29.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3982
4260
|
}, [props.id]);
|
|
3983
4261
|
const effectiveProps = useMemo(() => {
|
|
3984
4262
|
return computeEffectiveProps$28(props, defaultProps$28);
|
|
@@ -3988,7 +4266,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
3988
4266
|
...props.transform
|
|
3989
4267
|
}), [props.transform]);
|
|
3990
4268
|
const uniformsRef = useRef(null);
|
|
3991
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4269
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$29, effectiveProps, instanceId);
|
|
3992
4270
|
const childContextValue = useMemo(() => {
|
|
3993
4271
|
return {
|
|
3994
4272
|
...context,
|
|
@@ -4010,7 +4288,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4010
4288
|
renderOrder: props.renderOrder || 0,
|
|
4011
4289
|
transform: effectiveTransform
|
|
4012
4290
|
};
|
|
4013
|
-
parentRegister(instanceId, componentDefinition$
|
|
4291
|
+
parentRegister(instanceId, componentDefinition$29.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$29);
|
|
4014
4292
|
return () => {
|
|
4015
4293
|
parentRegister(instanceId, null, null, null, null);
|
|
4016
4294
|
};
|
|
@@ -4083,9 +4361,9 @@ const OmbreComponent$28 = (props) => {
|
|
|
4083
4361
|
children: props.children
|
|
4084
4362
|
});
|
|
4085
4363
|
};
|
|
4086
|
-
var
|
|
4087
|
-
function computeEffectiveProps$27(props, defaultProps$
|
|
4088
|
-
let baseProps = { ...defaultProps$
|
|
4364
|
+
var ImageTexture_default = OmbreComponent$28;
|
|
4365
|
+
function computeEffectiveProps$27(props, defaultProps$58) {
|
|
4366
|
+
let baseProps = { ...defaultProps$58 };
|
|
4089
4367
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4090
4368
|
return baseProps;
|
|
4091
4369
|
}
|
|
@@ -4104,7 +4382,7 @@ var defaultProps$27 = {
|
|
|
4104
4382
|
visible: true
|
|
4105
4383
|
};
|
|
4106
4384
|
try {
|
|
4107
|
-
if (componentDefinition$
|
|
4385
|
+
if (componentDefinition$30 && componentDefinition$30.props) Object.entries(componentDefinition$30.props).forEach(([key, config]) => {
|
|
4108
4386
|
const propConfig = config;
|
|
4109
4387
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$27[key] = propConfig.default;
|
|
4110
4388
|
});
|
|
@@ -4116,7 +4394,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4116
4394
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4117
4395
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4118
4396
|
const instanceId = useMemo(() => {
|
|
4119
|
-
return props.id || `${componentDefinition$
|
|
4397
|
+
return props.id || `${componentDefinition$30.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4120
4398
|
}, [props.id]);
|
|
4121
4399
|
const effectiveProps = useMemo(() => {
|
|
4122
4400
|
return computeEffectiveProps$27(props, defaultProps$27);
|
|
@@ -4126,7 +4404,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4126
4404
|
...props.transform
|
|
4127
4405
|
}), [props.transform]);
|
|
4128
4406
|
const uniformsRef = useRef(null);
|
|
4129
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4407
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$30, effectiveProps, instanceId);
|
|
4130
4408
|
const childContextValue = useMemo(() => {
|
|
4131
4409
|
return {
|
|
4132
4410
|
...context,
|
|
@@ -4148,7 +4426,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4148
4426
|
renderOrder: props.renderOrder || 0,
|
|
4149
4427
|
transform: effectiveTransform
|
|
4150
4428
|
};
|
|
4151
|
-
parentRegister(instanceId, componentDefinition$
|
|
4429
|
+
parentRegister(instanceId, componentDefinition$30.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$30);
|
|
4152
4430
|
return () => {
|
|
4153
4431
|
parentRegister(instanceId, null, null, null, null);
|
|
4154
4432
|
};
|
|
@@ -4221,9 +4499,9 @@ const OmbreComponent$27 = (props) => {
|
|
|
4221
4499
|
children: props.children
|
|
4222
4500
|
});
|
|
4223
4501
|
};
|
|
4224
|
-
var
|
|
4225
|
-
function computeEffectiveProps$26(props, defaultProps$
|
|
4226
|
-
let baseProps = { ...defaultProps$
|
|
4502
|
+
var Invert_default = OmbreComponent$27;
|
|
4503
|
+
function computeEffectiveProps$26(props, defaultProps$58) {
|
|
4504
|
+
let baseProps = { ...defaultProps$58 };
|
|
4227
4505
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4228
4506
|
return baseProps;
|
|
4229
4507
|
}
|
|
@@ -4242,7 +4520,7 @@ var defaultProps$26 = {
|
|
|
4242
4520
|
visible: true
|
|
4243
4521
|
};
|
|
4244
4522
|
try {
|
|
4245
|
-
if (componentDefinition$
|
|
4523
|
+
if (componentDefinition$31 && componentDefinition$31.props) Object.entries(componentDefinition$31.props).forEach(([key, config]) => {
|
|
4246
4524
|
const propConfig = config;
|
|
4247
4525
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$26[key] = propConfig.default;
|
|
4248
4526
|
});
|
|
@@ -4254,7 +4532,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4254
4532
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4255
4533
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4256
4534
|
const instanceId = useMemo(() => {
|
|
4257
|
-
return props.id || `${componentDefinition$
|
|
4535
|
+
return props.id || `${componentDefinition$31.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4258
4536
|
}, [props.id]);
|
|
4259
4537
|
const effectiveProps = useMemo(() => {
|
|
4260
4538
|
return computeEffectiveProps$26(props, defaultProps$26);
|
|
@@ -4264,7 +4542,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4264
4542
|
...props.transform
|
|
4265
4543
|
}), [props.transform]);
|
|
4266
4544
|
const uniformsRef = useRef(null);
|
|
4267
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4545
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$31, effectiveProps, instanceId);
|
|
4268
4546
|
const childContextValue = useMemo(() => {
|
|
4269
4547
|
return {
|
|
4270
4548
|
...context,
|
|
@@ -4286,7 +4564,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4286
4564
|
renderOrder: props.renderOrder || 0,
|
|
4287
4565
|
transform: effectiveTransform
|
|
4288
4566
|
};
|
|
4289
|
-
parentRegister(instanceId, componentDefinition$
|
|
4567
|
+
parentRegister(instanceId, componentDefinition$31.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$31);
|
|
4290
4568
|
return () => {
|
|
4291
4569
|
parentRegister(instanceId, null, null, null, null);
|
|
4292
4570
|
};
|
|
@@ -4359,9 +4637,9 @@ const OmbreComponent$26 = (props) => {
|
|
|
4359
4637
|
children: props.children
|
|
4360
4638
|
});
|
|
4361
4639
|
};
|
|
4362
|
-
var
|
|
4363
|
-
function computeEffectiveProps$25(props, defaultProps$
|
|
4364
|
-
let baseProps = { ...defaultProps$
|
|
4640
|
+
var LinearBlur_default = OmbreComponent$26;
|
|
4641
|
+
function computeEffectiveProps$25(props, defaultProps$58) {
|
|
4642
|
+
let baseProps = { ...defaultProps$58 };
|
|
4365
4643
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4366
4644
|
return baseProps;
|
|
4367
4645
|
}
|
|
@@ -4380,7 +4658,7 @@ var defaultProps$25 = {
|
|
|
4380
4658
|
visible: true
|
|
4381
4659
|
};
|
|
4382
4660
|
try {
|
|
4383
|
-
if (componentDefinition$
|
|
4661
|
+
if (componentDefinition$32 && componentDefinition$32.props) Object.entries(componentDefinition$32.props).forEach(([key, config]) => {
|
|
4384
4662
|
const propConfig = config;
|
|
4385
4663
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$25[key] = propConfig.default;
|
|
4386
4664
|
});
|
|
@@ -4392,7 +4670,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4392
4670
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4393
4671
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4394
4672
|
const instanceId = useMemo(() => {
|
|
4395
|
-
return props.id || `${componentDefinition$
|
|
4673
|
+
return props.id || `${componentDefinition$32.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4396
4674
|
}, [props.id]);
|
|
4397
4675
|
const effectiveProps = useMemo(() => {
|
|
4398
4676
|
return computeEffectiveProps$25(props, defaultProps$25);
|
|
@@ -4402,7 +4680,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4402
4680
|
...props.transform
|
|
4403
4681
|
}), [props.transform]);
|
|
4404
4682
|
const uniformsRef = useRef(null);
|
|
4405
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4683
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$32, effectiveProps, instanceId);
|
|
4406
4684
|
const childContextValue = useMemo(() => {
|
|
4407
4685
|
return {
|
|
4408
4686
|
...context,
|
|
@@ -4424,7 +4702,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4424
4702
|
renderOrder: props.renderOrder || 0,
|
|
4425
4703
|
transform: effectiveTransform
|
|
4426
4704
|
};
|
|
4427
|
-
parentRegister(instanceId, componentDefinition$
|
|
4705
|
+
parentRegister(instanceId, componentDefinition$32.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$32);
|
|
4428
4706
|
return () => {
|
|
4429
4707
|
parentRegister(instanceId, null, null, null, null);
|
|
4430
4708
|
};
|
|
@@ -4497,9 +4775,9 @@ const OmbreComponent$25 = (props) => {
|
|
|
4497
4775
|
children: props.children
|
|
4498
4776
|
});
|
|
4499
4777
|
};
|
|
4500
|
-
var
|
|
4501
|
-
function computeEffectiveProps$24(props, defaultProps$
|
|
4502
|
-
let baseProps = { ...defaultProps$
|
|
4778
|
+
var LinearGradient_default = OmbreComponent$25;
|
|
4779
|
+
function computeEffectiveProps$24(props, defaultProps$58) {
|
|
4780
|
+
let baseProps = { ...defaultProps$58 };
|
|
4503
4781
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4504
4782
|
return baseProps;
|
|
4505
4783
|
}
|
|
@@ -4518,7 +4796,7 @@ var defaultProps$24 = {
|
|
|
4518
4796
|
visible: true
|
|
4519
4797
|
};
|
|
4520
4798
|
try {
|
|
4521
|
-
if (componentDefinition$
|
|
4799
|
+
if (componentDefinition$33 && componentDefinition$33.props) Object.entries(componentDefinition$33.props).forEach(([key, config]) => {
|
|
4522
4800
|
const propConfig = config;
|
|
4523
4801
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$24[key] = propConfig.default;
|
|
4524
4802
|
});
|
|
@@ -4530,7 +4808,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4530
4808
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4531
4809
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4532
4810
|
const instanceId = useMemo(() => {
|
|
4533
|
-
return props.id || `${componentDefinition$
|
|
4811
|
+
return props.id || `${componentDefinition$33.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4534
4812
|
}, [props.id]);
|
|
4535
4813
|
const effectiveProps = useMemo(() => {
|
|
4536
4814
|
return computeEffectiveProps$24(props, defaultProps$24);
|
|
@@ -4540,7 +4818,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4540
4818
|
...props.transform
|
|
4541
4819
|
}), [props.transform]);
|
|
4542
4820
|
const uniformsRef = useRef(null);
|
|
4543
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4821
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$33, effectiveProps, instanceId);
|
|
4544
4822
|
const childContextValue = useMemo(() => {
|
|
4545
4823
|
return {
|
|
4546
4824
|
...context,
|
|
@@ -4562,7 +4840,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4562
4840
|
renderOrder: props.renderOrder || 0,
|
|
4563
4841
|
transform: effectiveTransform
|
|
4564
4842
|
};
|
|
4565
|
-
parentRegister(instanceId, componentDefinition$
|
|
4843
|
+
parentRegister(instanceId, componentDefinition$33.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$33);
|
|
4566
4844
|
return () => {
|
|
4567
4845
|
parentRegister(instanceId, null, null, null, null);
|
|
4568
4846
|
};
|
|
@@ -4635,9 +4913,9 @@ const OmbreComponent$24 = (props) => {
|
|
|
4635
4913
|
children: props.children
|
|
4636
4914
|
});
|
|
4637
4915
|
};
|
|
4638
|
-
var
|
|
4639
|
-
function computeEffectiveProps$23(props, defaultProps$
|
|
4640
|
-
let baseProps = { ...defaultProps$
|
|
4916
|
+
var Liquify_default = OmbreComponent$24;
|
|
4917
|
+
function computeEffectiveProps$23(props, defaultProps$58) {
|
|
4918
|
+
let baseProps = { ...defaultProps$58 };
|
|
4641
4919
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4642
4920
|
return baseProps;
|
|
4643
4921
|
}
|
|
@@ -4656,7 +4934,7 @@ var defaultProps$23 = {
|
|
|
4656
4934
|
visible: true
|
|
4657
4935
|
};
|
|
4658
4936
|
try {
|
|
4659
|
-
if (componentDefinition$
|
|
4937
|
+
if (componentDefinition$34 && componentDefinition$34.props) Object.entries(componentDefinition$34.props).forEach(([key, config]) => {
|
|
4660
4938
|
const propConfig = config;
|
|
4661
4939
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$23[key] = propConfig.default;
|
|
4662
4940
|
});
|
|
@@ -4668,7 +4946,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4668
4946
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4669
4947
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4670
4948
|
const instanceId = useMemo(() => {
|
|
4671
|
-
return props.id || `${componentDefinition$
|
|
4949
|
+
return props.id || `${componentDefinition$34.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4672
4950
|
}, [props.id]);
|
|
4673
4951
|
const effectiveProps = useMemo(() => {
|
|
4674
4952
|
return computeEffectiveProps$23(props, defaultProps$23);
|
|
@@ -4678,7 +4956,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4678
4956
|
...props.transform
|
|
4679
4957
|
}), [props.transform]);
|
|
4680
4958
|
const uniformsRef = useRef(null);
|
|
4681
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4959
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$34, effectiveProps, instanceId);
|
|
4682
4960
|
const childContextValue = useMemo(() => {
|
|
4683
4961
|
return {
|
|
4684
4962
|
...context,
|
|
@@ -4700,7 +4978,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4700
4978
|
renderOrder: props.renderOrder || 0,
|
|
4701
4979
|
transform: effectiveTransform
|
|
4702
4980
|
};
|
|
4703
|
-
parentRegister(instanceId, componentDefinition$
|
|
4981
|
+
parentRegister(instanceId, componentDefinition$34.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$34);
|
|
4704
4982
|
return () => {
|
|
4705
4983
|
parentRegister(instanceId, null, null, null, null);
|
|
4706
4984
|
};
|
|
@@ -4773,9 +5051,9 @@ const OmbreComponent$23 = (props) => {
|
|
|
4773
5051
|
children: props.children
|
|
4774
5052
|
});
|
|
4775
5053
|
};
|
|
4776
|
-
var
|
|
4777
|
-
function computeEffectiveProps$22(props, defaultProps$
|
|
4778
|
-
let baseProps = { ...defaultProps$
|
|
5054
|
+
var Perspective_default = OmbreComponent$23;
|
|
5055
|
+
function computeEffectiveProps$22(props, defaultProps$58) {
|
|
5056
|
+
let baseProps = { ...defaultProps$58 };
|
|
4779
5057
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4780
5058
|
return baseProps;
|
|
4781
5059
|
}
|
|
@@ -4794,7 +5072,7 @@ var defaultProps$22 = {
|
|
|
4794
5072
|
visible: true
|
|
4795
5073
|
};
|
|
4796
5074
|
try {
|
|
4797
|
-
if (componentDefinition$
|
|
5075
|
+
if (componentDefinition$35 && componentDefinition$35.props) Object.entries(componentDefinition$35.props).forEach(([key, config]) => {
|
|
4798
5076
|
const propConfig = config;
|
|
4799
5077
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$22[key] = propConfig.default;
|
|
4800
5078
|
});
|
|
@@ -4806,7 +5084,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
4806
5084
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4807
5085
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4808
5086
|
const instanceId = useMemo(() => {
|
|
4809
|
-
return props.id || `${componentDefinition$
|
|
5087
|
+
return props.id || `${componentDefinition$35.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4810
5088
|
}, [props.id]);
|
|
4811
5089
|
const effectiveProps = useMemo(() => {
|
|
4812
5090
|
return computeEffectiveProps$22(props, defaultProps$22);
|
|
@@ -4816,7 +5094,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
4816
5094
|
...props.transform
|
|
4817
5095
|
}), [props.transform]);
|
|
4818
5096
|
const uniformsRef = useRef(null);
|
|
4819
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5097
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$35, effectiveProps, instanceId);
|
|
4820
5098
|
const childContextValue = useMemo(() => {
|
|
4821
5099
|
return {
|
|
4822
5100
|
...context,
|
|
@@ -4838,7 +5116,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
4838
5116
|
renderOrder: props.renderOrder || 0,
|
|
4839
5117
|
transform: effectiveTransform
|
|
4840
5118
|
};
|
|
4841
|
-
parentRegister(instanceId, componentDefinition$
|
|
5119
|
+
parentRegister(instanceId, componentDefinition$35.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$35);
|
|
4842
5120
|
return () => {
|
|
4843
5121
|
parentRegister(instanceId, null, null, null, null);
|
|
4844
5122
|
};
|
|
@@ -4911,9 +5189,9 @@ const OmbreComponent$22 = (props) => {
|
|
|
4911
5189
|
children: props.children
|
|
4912
5190
|
});
|
|
4913
5191
|
};
|
|
4914
|
-
var
|
|
4915
|
-
function computeEffectiveProps$21(props, defaultProps$
|
|
4916
|
-
let baseProps = { ...defaultProps$
|
|
5192
|
+
var Pixelate_default = OmbreComponent$22;
|
|
5193
|
+
function computeEffectiveProps$21(props, defaultProps$58) {
|
|
5194
|
+
let baseProps = { ...defaultProps$58 };
|
|
4917
5195
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4918
5196
|
return baseProps;
|
|
4919
5197
|
}
|
|
@@ -4932,7 +5210,7 @@ var defaultProps$21 = {
|
|
|
4932
5210
|
visible: true
|
|
4933
5211
|
};
|
|
4934
5212
|
try {
|
|
4935
|
-
if (componentDefinition$
|
|
5213
|
+
if (componentDefinition$36 && componentDefinition$36.props) Object.entries(componentDefinition$36.props).forEach(([key, config]) => {
|
|
4936
5214
|
const propConfig = config;
|
|
4937
5215
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$21[key] = propConfig.default;
|
|
4938
5216
|
});
|
|
@@ -4944,7 +5222,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
4944
5222
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4945
5223
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4946
5224
|
const instanceId = useMemo(() => {
|
|
4947
|
-
return props.id || `${componentDefinition$
|
|
5225
|
+
return props.id || `${componentDefinition$36.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4948
5226
|
}, [props.id]);
|
|
4949
5227
|
const effectiveProps = useMemo(() => {
|
|
4950
5228
|
return computeEffectiveProps$21(props, defaultProps$21);
|
|
@@ -4954,7 +5232,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
4954
5232
|
...props.transform
|
|
4955
5233
|
}), [props.transform]);
|
|
4956
5234
|
const uniformsRef = useRef(null);
|
|
4957
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5235
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$36, effectiveProps, instanceId);
|
|
4958
5236
|
const childContextValue = useMemo(() => {
|
|
4959
5237
|
return {
|
|
4960
5238
|
...context,
|
|
@@ -4976,7 +5254,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
4976
5254
|
renderOrder: props.renderOrder || 0,
|
|
4977
5255
|
transform: effectiveTransform
|
|
4978
5256
|
};
|
|
4979
|
-
parentRegister(instanceId, componentDefinition$
|
|
5257
|
+
parentRegister(instanceId, componentDefinition$36.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$36);
|
|
4980
5258
|
return () => {
|
|
4981
5259
|
parentRegister(instanceId, null, null, null, null);
|
|
4982
5260
|
};
|
|
@@ -5049,9 +5327,9 @@ const OmbreComponent$21 = (props) => {
|
|
|
5049
5327
|
children: props.children
|
|
5050
5328
|
});
|
|
5051
5329
|
};
|
|
5052
|
-
var
|
|
5053
|
-
function computeEffectiveProps$20(props, defaultProps$
|
|
5054
|
-
let baseProps = { ...defaultProps$
|
|
5330
|
+
var PolarCoordinates_default = OmbreComponent$21;
|
|
5331
|
+
function computeEffectiveProps$20(props, defaultProps$58) {
|
|
5332
|
+
let baseProps = { ...defaultProps$58 };
|
|
5055
5333
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5056
5334
|
return baseProps;
|
|
5057
5335
|
}
|
|
@@ -5070,7 +5348,7 @@ var defaultProps$20 = {
|
|
|
5070
5348
|
visible: true
|
|
5071
5349
|
};
|
|
5072
5350
|
try {
|
|
5073
|
-
if (componentDefinition$
|
|
5351
|
+
if (componentDefinition$37 && componentDefinition$37.props) Object.entries(componentDefinition$37.props).forEach(([key, config]) => {
|
|
5074
5352
|
const propConfig = config;
|
|
5075
5353
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$20[key] = propConfig.default;
|
|
5076
5354
|
});
|
|
@@ -5082,7 +5360,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5082
5360
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5083
5361
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5084
5362
|
const instanceId = useMemo(() => {
|
|
5085
|
-
return props.id || `${componentDefinition$
|
|
5363
|
+
return props.id || `${componentDefinition$37.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5086
5364
|
}, [props.id]);
|
|
5087
5365
|
const effectiveProps = useMemo(() => {
|
|
5088
5366
|
return computeEffectiveProps$20(props, defaultProps$20);
|
|
@@ -5092,7 +5370,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5092
5370
|
...props.transform
|
|
5093
5371
|
}), [props.transform]);
|
|
5094
5372
|
const uniformsRef = useRef(null);
|
|
5095
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5373
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$37, effectiveProps, instanceId);
|
|
5096
5374
|
const childContextValue = useMemo(() => {
|
|
5097
5375
|
return {
|
|
5098
5376
|
...context,
|
|
@@ -5114,7 +5392,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5114
5392
|
renderOrder: props.renderOrder || 0,
|
|
5115
5393
|
transform: effectiveTransform
|
|
5116
5394
|
};
|
|
5117
|
-
parentRegister(instanceId, componentDefinition$
|
|
5395
|
+
parentRegister(instanceId, componentDefinition$37.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$37);
|
|
5118
5396
|
return () => {
|
|
5119
5397
|
parentRegister(instanceId, null, null, null, null);
|
|
5120
5398
|
};
|
|
@@ -5187,9 +5465,9 @@ const OmbreComponent$20 = (props) => {
|
|
|
5187
5465
|
children: props.children
|
|
5188
5466
|
});
|
|
5189
5467
|
};
|
|
5190
|
-
var
|
|
5191
|
-
function computeEffectiveProps$19(props, defaultProps$
|
|
5192
|
-
let baseProps = { ...defaultProps$
|
|
5468
|
+
var Posterize_default = OmbreComponent$20;
|
|
5469
|
+
function computeEffectiveProps$19(props, defaultProps$58) {
|
|
5470
|
+
let baseProps = { ...defaultProps$58 };
|
|
5193
5471
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5194
5472
|
return baseProps;
|
|
5195
5473
|
}
|
|
@@ -5208,7 +5486,7 @@ var defaultProps$19 = {
|
|
|
5208
5486
|
visible: true
|
|
5209
5487
|
};
|
|
5210
5488
|
try {
|
|
5211
|
-
if (componentDefinition$
|
|
5489
|
+
if (componentDefinition$38 && componentDefinition$38.props) Object.entries(componentDefinition$38.props).forEach(([key, config]) => {
|
|
5212
5490
|
const propConfig = config;
|
|
5213
5491
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$19[key] = propConfig.default;
|
|
5214
5492
|
});
|
|
@@ -5220,7 +5498,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5220
5498
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5221
5499
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5222
5500
|
const instanceId = useMemo(() => {
|
|
5223
|
-
return props.id || `${componentDefinition$
|
|
5501
|
+
return props.id || `${componentDefinition$38.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5224
5502
|
}, [props.id]);
|
|
5225
5503
|
const effectiveProps = useMemo(() => {
|
|
5226
5504
|
return computeEffectiveProps$19(props, defaultProps$19);
|
|
@@ -5230,7 +5508,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5230
5508
|
...props.transform
|
|
5231
5509
|
}), [props.transform]);
|
|
5232
5510
|
const uniformsRef = useRef(null);
|
|
5233
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5511
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$38, effectiveProps, instanceId);
|
|
5234
5512
|
const childContextValue = useMemo(() => {
|
|
5235
5513
|
return {
|
|
5236
5514
|
...context,
|
|
@@ -5252,7 +5530,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5252
5530
|
renderOrder: props.renderOrder || 0,
|
|
5253
5531
|
transform: effectiveTransform
|
|
5254
5532
|
};
|
|
5255
|
-
parentRegister(instanceId, componentDefinition$
|
|
5533
|
+
parentRegister(instanceId, componentDefinition$38.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$38);
|
|
5256
5534
|
return () => {
|
|
5257
5535
|
parentRegister(instanceId, null, null, null, null);
|
|
5258
5536
|
};
|
|
@@ -5325,9 +5603,9 @@ const OmbreComponent$19 = (props) => {
|
|
|
5325
5603
|
children: props.children
|
|
5326
5604
|
});
|
|
5327
5605
|
};
|
|
5328
|
-
var
|
|
5329
|
-
function computeEffectiveProps$18(props, defaultProps$
|
|
5330
|
-
let baseProps = { ...defaultProps$
|
|
5606
|
+
var ProgressiveBlur_default = OmbreComponent$19;
|
|
5607
|
+
function computeEffectiveProps$18(props, defaultProps$58) {
|
|
5608
|
+
let baseProps = { ...defaultProps$58 };
|
|
5331
5609
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5332
5610
|
return baseProps;
|
|
5333
5611
|
}
|
|
@@ -5346,7 +5624,7 @@ var defaultProps$18 = {
|
|
|
5346
5624
|
visible: true
|
|
5347
5625
|
};
|
|
5348
5626
|
try {
|
|
5349
|
-
if (componentDefinition$
|
|
5627
|
+
if (componentDefinition$39 && componentDefinition$39.props) Object.entries(componentDefinition$39.props).forEach(([key, config]) => {
|
|
5350
5628
|
const propConfig = config;
|
|
5351
5629
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$18[key] = propConfig.default;
|
|
5352
5630
|
});
|
|
@@ -5358,7 +5636,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5358
5636
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5359
5637
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5360
5638
|
const instanceId = useMemo(() => {
|
|
5361
|
-
return props.id || `${componentDefinition$
|
|
5639
|
+
return props.id || `${componentDefinition$39.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5362
5640
|
}, [props.id]);
|
|
5363
5641
|
const effectiveProps = useMemo(() => {
|
|
5364
5642
|
return computeEffectiveProps$18(props, defaultProps$18);
|
|
@@ -5368,7 +5646,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5368
5646
|
...props.transform
|
|
5369
5647
|
}), [props.transform]);
|
|
5370
5648
|
const uniformsRef = useRef(null);
|
|
5371
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5649
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$39, effectiveProps, instanceId);
|
|
5372
5650
|
const childContextValue = useMemo(() => {
|
|
5373
5651
|
return {
|
|
5374
5652
|
...context,
|
|
@@ -5390,7 +5668,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5390
5668
|
renderOrder: props.renderOrder || 0,
|
|
5391
5669
|
transform: effectiveTransform
|
|
5392
5670
|
};
|
|
5393
|
-
parentRegister(instanceId, componentDefinition$
|
|
5671
|
+
parentRegister(instanceId, componentDefinition$39.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$39);
|
|
5394
5672
|
return () => {
|
|
5395
5673
|
parentRegister(instanceId, null, null, null, null);
|
|
5396
5674
|
};
|
|
@@ -5463,9 +5741,9 @@ const OmbreComponent$18 = (props) => {
|
|
|
5463
5741
|
children: props.children
|
|
5464
5742
|
});
|
|
5465
5743
|
};
|
|
5466
|
-
var
|
|
5467
|
-
function computeEffectiveProps$17(props, defaultProps$
|
|
5468
|
-
let baseProps = { ...defaultProps$
|
|
5744
|
+
var RadialGradient_default = OmbreComponent$18;
|
|
5745
|
+
function computeEffectiveProps$17(props, defaultProps$58) {
|
|
5746
|
+
let baseProps = { ...defaultProps$58 };
|
|
5469
5747
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5470
5748
|
return baseProps;
|
|
5471
5749
|
}
|
|
@@ -5484,7 +5762,7 @@ var defaultProps$17 = {
|
|
|
5484
5762
|
visible: true
|
|
5485
5763
|
};
|
|
5486
5764
|
try {
|
|
5487
|
-
if (componentDefinition$
|
|
5765
|
+
if (componentDefinition$40 && componentDefinition$40.props) Object.entries(componentDefinition$40.props).forEach(([key, config]) => {
|
|
5488
5766
|
const propConfig = config;
|
|
5489
5767
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$17[key] = propConfig.default;
|
|
5490
5768
|
});
|
|
@@ -5496,7 +5774,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5496
5774
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5497
5775
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5498
5776
|
const instanceId = useMemo(() => {
|
|
5499
|
-
return props.id || `${componentDefinition$
|
|
5777
|
+
return props.id || `${componentDefinition$40.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5500
5778
|
}, [props.id]);
|
|
5501
5779
|
const effectiveProps = useMemo(() => {
|
|
5502
5780
|
return computeEffectiveProps$17(props, defaultProps$17);
|
|
@@ -5506,7 +5784,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5506
5784
|
...props.transform
|
|
5507
5785
|
}), [props.transform]);
|
|
5508
5786
|
const uniformsRef = useRef(null);
|
|
5509
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5787
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$40, effectiveProps, instanceId);
|
|
5510
5788
|
const childContextValue = useMemo(() => {
|
|
5511
5789
|
return {
|
|
5512
5790
|
...context,
|
|
@@ -5528,7 +5806,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5528
5806
|
renderOrder: props.renderOrder || 0,
|
|
5529
5807
|
transform: effectiveTransform
|
|
5530
5808
|
};
|
|
5531
|
-
parentRegister(instanceId, componentDefinition$
|
|
5809
|
+
parentRegister(instanceId, componentDefinition$40.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$40);
|
|
5532
5810
|
return () => {
|
|
5533
5811
|
parentRegister(instanceId, null, null, null, null);
|
|
5534
5812
|
};
|
|
@@ -5601,9 +5879,9 @@ const OmbreComponent$17 = (props) => {
|
|
|
5601
5879
|
children: props.children
|
|
5602
5880
|
});
|
|
5603
5881
|
};
|
|
5604
|
-
var
|
|
5605
|
-
function computeEffectiveProps$16(props, defaultProps$
|
|
5606
|
-
let baseProps = { ...defaultProps$
|
|
5882
|
+
var RectangularCoordinates_default = OmbreComponent$17;
|
|
5883
|
+
function computeEffectiveProps$16(props, defaultProps$58) {
|
|
5884
|
+
let baseProps = { ...defaultProps$58 };
|
|
5607
5885
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5608
5886
|
return baseProps;
|
|
5609
5887
|
}
|
|
@@ -5622,7 +5900,7 @@ var defaultProps$16 = {
|
|
|
5622
5900
|
visible: true
|
|
5623
5901
|
};
|
|
5624
5902
|
try {
|
|
5625
|
-
if (componentDefinition$
|
|
5903
|
+
if (componentDefinition$41 && componentDefinition$41.props) Object.entries(componentDefinition$41.props).forEach(([key, config]) => {
|
|
5626
5904
|
const propConfig = config;
|
|
5627
5905
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$16[key] = propConfig.default;
|
|
5628
5906
|
});
|
|
@@ -5634,7 +5912,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5634
5912
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5635
5913
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5636
5914
|
const instanceId = useMemo(() => {
|
|
5637
|
-
return props.id || `${componentDefinition$
|
|
5915
|
+
return props.id || `${componentDefinition$41.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5638
5916
|
}, [props.id]);
|
|
5639
5917
|
const effectiveProps = useMemo(() => {
|
|
5640
5918
|
return computeEffectiveProps$16(props, defaultProps$16);
|
|
@@ -5644,7 +5922,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5644
5922
|
...props.transform
|
|
5645
5923
|
}), [props.transform]);
|
|
5646
5924
|
const uniformsRef = useRef(null);
|
|
5647
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5925
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$41, effectiveProps, instanceId);
|
|
5648
5926
|
const childContextValue = useMemo(() => {
|
|
5649
5927
|
return {
|
|
5650
5928
|
...context,
|
|
@@ -5666,7 +5944,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5666
5944
|
renderOrder: props.renderOrder || 0,
|
|
5667
5945
|
transform: effectiveTransform
|
|
5668
5946
|
};
|
|
5669
|
-
parentRegister(instanceId, componentDefinition$
|
|
5947
|
+
parentRegister(instanceId, componentDefinition$41.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$41);
|
|
5670
5948
|
return () => {
|
|
5671
5949
|
parentRegister(instanceId, null, null, null, null);
|
|
5672
5950
|
};
|
|
@@ -5739,9 +6017,9 @@ const OmbreComponent$16 = (props) => {
|
|
|
5739
6017
|
children: props.children
|
|
5740
6018
|
});
|
|
5741
6019
|
};
|
|
5742
|
-
var
|
|
5743
|
-
function computeEffectiveProps$15(props, defaultProps$
|
|
5744
|
-
let baseProps = { ...defaultProps$
|
|
6020
|
+
var Ripples_default = OmbreComponent$16;
|
|
6021
|
+
function computeEffectiveProps$15(props, defaultProps$58) {
|
|
6022
|
+
let baseProps = { ...defaultProps$58 };
|
|
5745
6023
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5746
6024
|
return baseProps;
|
|
5747
6025
|
}
|
|
@@ -5760,7 +6038,7 @@ var defaultProps$15 = {
|
|
|
5760
6038
|
visible: true
|
|
5761
6039
|
};
|
|
5762
6040
|
try {
|
|
5763
|
-
if (componentDefinition$
|
|
6041
|
+
if (componentDefinition$42 && componentDefinition$42.props) Object.entries(componentDefinition$42.props).forEach(([key, config]) => {
|
|
5764
6042
|
const propConfig = config;
|
|
5765
6043
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$15[key] = propConfig.default;
|
|
5766
6044
|
});
|
|
@@ -5772,7 +6050,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
5772
6050
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5773
6051
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5774
6052
|
const instanceId = useMemo(() => {
|
|
5775
|
-
return props.id || `${componentDefinition$
|
|
6053
|
+
return props.id || `${componentDefinition$42.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5776
6054
|
}, [props.id]);
|
|
5777
6055
|
const effectiveProps = useMemo(() => {
|
|
5778
6056
|
return computeEffectiveProps$15(props, defaultProps$15);
|
|
@@ -5782,7 +6060,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
5782
6060
|
...props.transform
|
|
5783
6061
|
}), [props.transform]);
|
|
5784
6062
|
const uniformsRef = useRef(null);
|
|
5785
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6063
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$42, effectiveProps, instanceId);
|
|
5786
6064
|
const childContextValue = useMemo(() => {
|
|
5787
6065
|
return {
|
|
5788
6066
|
...context,
|
|
@@ -5804,7 +6082,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
5804
6082
|
renderOrder: props.renderOrder || 0,
|
|
5805
6083
|
transform: effectiveTransform
|
|
5806
6084
|
};
|
|
5807
|
-
parentRegister(instanceId, componentDefinition$
|
|
6085
|
+
parentRegister(instanceId, componentDefinition$42.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$42);
|
|
5808
6086
|
return () => {
|
|
5809
6087
|
parentRegister(instanceId, null, null, null, null);
|
|
5810
6088
|
};
|
|
@@ -5877,9 +6155,9 @@ const OmbreComponent$15 = (props) => {
|
|
|
5877
6155
|
children: props.children
|
|
5878
6156
|
});
|
|
5879
6157
|
};
|
|
5880
|
-
var
|
|
5881
|
-
function computeEffectiveProps$14(props, defaultProps$
|
|
5882
|
-
let baseProps = { ...defaultProps$
|
|
6158
|
+
var Saturation_default = OmbreComponent$15;
|
|
6159
|
+
function computeEffectiveProps$14(props, defaultProps$58) {
|
|
6160
|
+
let baseProps = { ...defaultProps$58 };
|
|
5883
6161
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5884
6162
|
return baseProps;
|
|
5885
6163
|
}
|
|
@@ -5898,7 +6176,7 @@ var defaultProps$14 = {
|
|
|
5898
6176
|
visible: true
|
|
5899
6177
|
};
|
|
5900
6178
|
try {
|
|
5901
|
-
if (componentDefinition$
|
|
6179
|
+
if (componentDefinition$43 && componentDefinition$43.props) Object.entries(componentDefinition$43.props).forEach(([key, config]) => {
|
|
5902
6180
|
const propConfig = config;
|
|
5903
6181
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$14[key] = propConfig.default;
|
|
5904
6182
|
});
|
|
@@ -5910,7 +6188,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
5910
6188
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5911
6189
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5912
6190
|
const instanceId = useMemo(() => {
|
|
5913
|
-
return props.id || `${componentDefinition$
|
|
6191
|
+
return props.id || `${componentDefinition$43.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5914
6192
|
}, [props.id]);
|
|
5915
6193
|
const effectiveProps = useMemo(() => {
|
|
5916
6194
|
return computeEffectiveProps$14(props, defaultProps$14);
|
|
@@ -5920,7 +6198,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
5920
6198
|
...props.transform
|
|
5921
6199
|
}), [props.transform]);
|
|
5922
6200
|
const uniformsRef = useRef(null);
|
|
5923
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6201
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$43, effectiveProps, instanceId);
|
|
5924
6202
|
const childContextValue = useMemo(() => {
|
|
5925
6203
|
return {
|
|
5926
6204
|
...context,
|
|
@@ -5942,7 +6220,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
5942
6220
|
renderOrder: props.renderOrder || 0,
|
|
5943
6221
|
transform: effectiveTransform
|
|
5944
6222
|
};
|
|
5945
|
-
parentRegister(instanceId, componentDefinition$
|
|
6223
|
+
parentRegister(instanceId, componentDefinition$43.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$43);
|
|
5946
6224
|
return () => {
|
|
5947
6225
|
parentRegister(instanceId, null, null, null, null);
|
|
5948
6226
|
};
|
|
@@ -6015,9 +6293,9 @@ const OmbreComponent$14 = (props) => {
|
|
|
6015
6293
|
children: props.children
|
|
6016
6294
|
});
|
|
6017
6295
|
};
|
|
6018
|
-
var
|
|
6019
|
-
function computeEffectiveProps$13(props, defaultProps$
|
|
6020
|
-
let baseProps = { ...defaultProps$
|
|
6296
|
+
var Sharpness_default = OmbreComponent$14;
|
|
6297
|
+
function computeEffectiveProps$13(props, defaultProps$58) {
|
|
6298
|
+
let baseProps = { ...defaultProps$58 };
|
|
6021
6299
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6022
6300
|
return baseProps;
|
|
6023
6301
|
}
|
|
@@ -6036,7 +6314,7 @@ var defaultProps$13 = {
|
|
|
6036
6314
|
visible: true
|
|
6037
6315
|
};
|
|
6038
6316
|
try {
|
|
6039
|
-
if (componentDefinition$
|
|
6317
|
+
if (componentDefinition$44 && componentDefinition$44.props) Object.entries(componentDefinition$44.props).forEach(([key, config]) => {
|
|
6040
6318
|
const propConfig = config;
|
|
6041
6319
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$13[key] = propConfig.default;
|
|
6042
6320
|
});
|
|
@@ -6048,7 +6326,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6048
6326
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6049
6327
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6050
6328
|
const instanceId = useMemo(() => {
|
|
6051
|
-
return props.id || `${componentDefinition$
|
|
6329
|
+
return props.id || `${componentDefinition$44.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6052
6330
|
}, [props.id]);
|
|
6053
6331
|
const effectiveProps = useMemo(() => {
|
|
6054
6332
|
return computeEffectiveProps$13(props, defaultProps$13);
|
|
@@ -6058,7 +6336,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6058
6336
|
...props.transform
|
|
6059
6337
|
}), [props.transform]);
|
|
6060
6338
|
const uniformsRef = useRef(null);
|
|
6061
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6339
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$44, effectiveProps, instanceId);
|
|
6062
6340
|
const childContextValue = useMemo(() => {
|
|
6063
6341
|
return {
|
|
6064
6342
|
...context,
|
|
@@ -6080,7 +6358,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6080
6358
|
renderOrder: props.renderOrder || 0,
|
|
6081
6359
|
transform: effectiveTransform
|
|
6082
6360
|
};
|
|
6083
|
-
parentRegister(instanceId, componentDefinition$
|
|
6361
|
+
parentRegister(instanceId, componentDefinition$44.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$44);
|
|
6084
6362
|
return () => {
|
|
6085
6363
|
parentRegister(instanceId, null, null, null, null);
|
|
6086
6364
|
};
|
|
@@ -6154,8 +6432,8 @@ const OmbreComponent$13 = (props) => {
|
|
|
6154
6432
|
});
|
|
6155
6433
|
};
|
|
6156
6434
|
var SimplexNoise_default = OmbreComponent$13;
|
|
6157
|
-
function computeEffectiveProps$12(props, defaultProps$
|
|
6158
|
-
let baseProps = { ...defaultProps$
|
|
6435
|
+
function computeEffectiveProps$12(props, defaultProps$58) {
|
|
6436
|
+
let baseProps = { ...defaultProps$58 };
|
|
6159
6437
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6160
6438
|
return baseProps;
|
|
6161
6439
|
}
|
|
@@ -6174,7 +6452,7 @@ var defaultProps$12 = {
|
|
|
6174
6452
|
visible: true
|
|
6175
6453
|
};
|
|
6176
6454
|
try {
|
|
6177
|
-
if (componentDefinition$
|
|
6455
|
+
if (componentDefinition$45 && componentDefinition$45.props) Object.entries(componentDefinition$45.props).forEach(([key, config]) => {
|
|
6178
6456
|
const propConfig = config;
|
|
6179
6457
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$12[key] = propConfig.default;
|
|
6180
6458
|
});
|
|
@@ -6186,7 +6464,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6186
6464
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6187
6465
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6188
6466
|
const instanceId = useMemo(() => {
|
|
6189
|
-
return props.id || `${componentDefinition$
|
|
6467
|
+
return props.id || `${componentDefinition$45.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6190
6468
|
}, [props.id]);
|
|
6191
6469
|
const effectiveProps = useMemo(() => {
|
|
6192
6470
|
return computeEffectiveProps$12(props, defaultProps$12);
|
|
@@ -6196,7 +6474,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6196
6474
|
...props.transform
|
|
6197
6475
|
}), [props.transform]);
|
|
6198
6476
|
const uniformsRef = useRef(null);
|
|
6199
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6477
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$45, effectiveProps, instanceId);
|
|
6200
6478
|
const childContextValue = useMemo(() => {
|
|
6201
6479
|
return {
|
|
6202
6480
|
...context,
|
|
@@ -6218,7 +6496,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6218
6496
|
renderOrder: props.renderOrder || 0,
|
|
6219
6497
|
transform: effectiveTransform
|
|
6220
6498
|
};
|
|
6221
|
-
parentRegister(instanceId, componentDefinition$
|
|
6499
|
+
parentRegister(instanceId, componentDefinition$45.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$45);
|
|
6222
6500
|
return () => {
|
|
6223
6501
|
parentRegister(instanceId, null, null, null, null);
|
|
6224
6502
|
};
|
|
@@ -6292,8 +6570,8 @@ const OmbreComponent$12 = (props) => {
|
|
|
6292
6570
|
});
|
|
6293
6571
|
};
|
|
6294
6572
|
var SineWave_default = OmbreComponent$12;
|
|
6295
|
-
function computeEffectiveProps$11(props, defaultProps$
|
|
6296
|
-
let baseProps = { ...defaultProps$
|
|
6573
|
+
function computeEffectiveProps$11(props, defaultProps$58) {
|
|
6574
|
+
let baseProps = { ...defaultProps$58 };
|
|
6297
6575
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6298
6576
|
return baseProps;
|
|
6299
6577
|
}
|
|
@@ -6312,7 +6590,7 @@ var defaultProps$11 = {
|
|
|
6312
6590
|
visible: true
|
|
6313
6591
|
};
|
|
6314
6592
|
try {
|
|
6315
|
-
if (componentDefinition$
|
|
6593
|
+
if (componentDefinition$46 && componentDefinition$46.props) Object.entries(componentDefinition$46.props).forEach(([key, config]) => {
|
|
6316
6594
|
const propConfig = config;
|
|
6317
6595
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$11[key] = propConfig.default;
|
|
6318
6596
|
});
|
|
@@ -6324,7 +6602,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6324
6602
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6325
6603
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6326
6604
|
const instanceId = useMemo(() => {
|
|
6327
|
-
return props.id || `${componentDefinition$
|
|
6605
|
+
return props.id || `${componentDefinition$46.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6328
6606
|
}, [props.id]);
|
|
6329
6607
|
const effectiveProps = useMemo(() => {
|
|
6330
6608
|
return computeEffectiveProps$11(props, defaultProps$11);
|
|
@@ -6334,7 +6612,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6334
6612
|
...props.transform
|
|
6335
6613
|
}), [props.transform]);
|
|
6336
6614
|
const uniformsRef = useRef(null);
|
|
6337
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6615
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$46, effectiveProps, instanceId);
|
|
6338
6616
|
const childContextValue = useMemo(() => {
|
|
6339
6617
|
return {
|
|
6340
6618
|
...context,
|
|
@@ -6356,7 +6634,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6356
6634
|
renderOrder: props.renderOrder || 0,
|
|
6357
6635
|
transform: effectiveTransform
|
|
6358
6636
|
};
|
|
6359
|
-
parentRegister(instanceId, componentDefinition$
|
|
6637
|
+
parentRegister(instanceId, componentDefinition$46.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$46);
|
|
6360
6638
|
return () => {
|
|
6361
6639
|
parentRegister(instanceId, null, null, null, null);
|
|
6362
6640
|
};
|
|
@@ -6430,8 +6708,8 @@ const OmbreComponent$11 = (props) => {
|
|
|
6430
6708
|
});
|
|
6431
6709
|
};
|
|
6432
6710
|
var SolidColor_default = OmbreComponent$11;
|
|
6433
|
-
function computeEffectiveProps$10(props, defaultProps$
|
|
6434
|
-
let baseProps = { ...defaultProps$
|
|
6711
|
+
function computeEffectiveProps$10(props, defaultProps$58) {
|
|
6712
|
+
let baseProps = { ...defaultProps$58 };
|
|
6435
6713
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6436
6714
|
return baseProps;
|
|
6437
6715
|
}
|
|
@@ -6450,7 +6728,7 @@ var defaultProps$10 = {
|
|
|
6450
6728
|
visible: true
|
|
6451
6729
|
};
|
|
6452
6730
|
try {
|
|
6453
|
-
if (componentDefinition$
|
|
6731
|
+
if (componentDefinition$47 && componentDefinition$47.props) Object.entries(componentDefinition$47.props).forEach(([key, config]) => {
|
|
6454
6732
|
const propConfig = config;
|
|
6455
6733
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$10[key] = propConfig.default;
|
|
6456
6734
|
});
|
|
@@ -6462,7 +6740,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6462
6740
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6463
6741
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6464
6742
|
const instanceId = useMemo(() => {
|
|
6465
|
-
return props.id || `${componentDefinition$
|
|
6743
|
+
return props.id || `${componentDefinition$47.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6466
6744
|
}, [props.id]);
|
|
6467
6745
|
const effectiveProps = useMemo(() => {
|
|
6468
6746
|
return computeEffectiveProps$10(props, defaultProps$10);
|
|
@@ -6472,7 +6750,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6472
6750
|
...props.transform
|
|
6473
6751
|
}), [props.transform]);
|
|
6474
6752
|
const uniformsRef = useRef(null);
|
|
6475
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6753
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$47, effectiveProps, instanceId);
|
|
6476
6754
|
const childContextValue = useMemo(() => {
|
|
6477
6755
|
return {
|
|
6478
6756
|
...context,
|
|
@@ -6494,7 +6772,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6494
6772
|
renderOrder: props.renderOrder || 0,
|
|
6495
6773
|
transform: effectiveTransform
|
|
6496
6774
|
};
|
|
6497
|
-
parentRegister(instanceId, componentDefinition$
|
|
6775
|
+
parentRegister(instanceId, componentDefinition$47.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$47);
|
|
6498
6776
|
return () => {
|
|
6499
6777
|
parentRegister(instanceId, null, null, null, null);
|
|
6500
6778
|
};
|
|
@@ -6568,8 +6846,8 @@ const OmbreComponent$10 = (props) => {
|
|
|
6568
6846
|
});
|
|
6569
6847
|
};
|
|
6570
6848
|
var Spherize_default = OmbreComponent$10;
|
|
6571
|
-
function computeEffectiveProps$9(props, defaultProps$
|
|
6572
|
-
let baseProps = { ...defaultProps$
|
|
6849
|
+
function computeEffectiveProps$9(props, defaultProps$58) {
|
|
6850
|
+
let baseProps = { ...defaultProps$58 };
|
|
6573
6851
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6574
6852
|
return baseProps;
|
|
6575
6853
|
}
|
|
@@ -6588,7 +6866,7 @@ var defaultProps$9 = {
|
|
|
6588
6866
|
visible: true
|
|
6589
6867
|
};
|
|
6590
6868
|
try {
|
|
6591
|
-
if (componentDefinition$
|
|
6869
|
+
if (componentDefinition$48 && componentDefinition$48.props) Object.entries(componentDefinition$48.props).forEach(([key, config]) => {
|
|
6592
6870
|
const propConfig = config;
|
|
6593
6871
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$9[key] = propConfig.default;
|
|
6594
6872
|
});
|
|
@@ -6600,7 +6878,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6600
6878
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6601
6879
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6602
6880
|
const instanceId = useMemo(() => {
|
|
6603
|
-
return props.id || `${componentDefinition$
|
|
6881
|
+
return props.id || `${componentDefinition$48.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6604
6882
|
}, [props.id]);
|
|
6605
6883
|
const effectiveProps = useMemo(() => {
|
|
6606
6884
|
return computeEffectiveProps$9(props, defaultProps$9);
|
|
@@ -6610,7 +6888,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6610
6888
|
...props.transform
|
|
6611
6889
|
}), [props.transform]);
|
|
6612
6890
|
const uniformsRef = useRef(null);
|
|
6613
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6891
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$48, effectiveProps, instanceId);
|
|
6614
6892
|
const childContextValue = useMemo(() => {
|
|
6615
6893
|
return {
|
|
6616
6894
|
...context,
|
|
@@ -6632,7 +6910,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6632
6910
|
renderOrder: props.renderOrder || 0,
|
|
6633
6911
|
transform: effectiveTransform
|
|
6634
6912
|
};
|
|
6635
|
-
parentRegister(instanceId, componentDefinition$
|
|
6913
|
+
parentRegister(instanceId, componentDefinition$48.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$48);
|
|
6636
6914
|
return () => {
|
|
6637
6915
|
parentRegister(instanceId, null, null, null, null);
|
|
6638
6916
|
};
|
|
@@ -6706,8 +6984,8 @@ const OmbreComponent$9 = (props) => {
|
|
|
6706
6984
|
});
|
|
6707
6985
|
};
|
|
6708
6986
|
var Spiral_default = OmbreComponent$9;
|
|
6709
|
-
function computeEffectiveProps$8(props, defaultProps$
|
|
6710
|
-
let baseProps = { ...defaultProps$
|
|
6987
|
+
function computeEffectiveProps$8(props, defaultProps$58) {
|
|
6988
|
+
let baseProps = { ...defaultProps$58 };
|
|
6711
6989
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6712
6990
|
return baseProps;
|
|
6713
6991
|
}
|
|
@@ -6726,7 +7004,7 @@ var defaultProps$8 = {
|
|
|
6726
7004
|
visible: true
|
|
6727
7005
|
};
|
|
6728
7006
|
try {
|
|
6729
|
-
if (componentDefinition$
|
|
7007
|
+
if (componentDefinition$49 && componentDefinition$49.props) Object.entries(componentDefinition$49.props).forEach(([key, config]) => {
|
|
6730
7008
|
const propConfig = config;
|
|
6731
7009
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$8[key] = propConfig.default;
|
|
6732
7010
|
});
|
|
@@ -6738,7 +7016,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
6738
7016
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6739
7017
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6740
7018
|
const instanceId = useMemo(() => {
|
|
6741
|
-
return props.id || `${componentDefinition$
|
|
7019
|
+
return props.id || `${componentDefinition$49.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6742
7020
|
}, [props.id]);
|
|
6743
7021
|
const effectiveProps = useMemo(() => {
|
|
6744
7022
|
return computeEffectiveProps$8(props, defaultProps$8);
|
|
@@ -6748,7 +7026,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
6748
7026
|
...props.transform
|
|
6749
7027
|
}), [props.transform]);
|
|
6750
7028
|
const uniformsRef = useRef(null);
|
|
6751
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7029
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$49, effectiveProps, instanceId);
|
|
6752
7030
|
const childContextValue = useMemo(() => {
|
|
6753
7031
|
return {
|
|
6754
7032
|
...context,
|
|
@@ -6770,7 +7048,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
6770
7048
|
renderOrder: props.renderOrder || 0,
|
|
6771
7049
|
transform: effectiveTransform
|
|
6772
7050
|
};
|
|
6773
|
-
parentRegister(instanceId, componentDefinition$
|
|
7051
|
+
parentRegister(instanceId, componentDefinition$49.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$49);
|
|
6774
7052
|
return () => {
|
|
6775
7053
|
parentRegister(instanceId, null, null, null, null);
|
|
6776
7054
|
};
|
|
@@ -6844,8 +7122,8 @@ const OmbreComponent$8 = (props) => {
|
|
|
6844
7122
|
});
|
|
6845
7123
|
};
|
|
6846
7124
|
var Strands_default = OmbreComponent$8;
|
|
6847
|
-
function computeEffectiveProps$7(props, defaultProps$
|
|
6848
|
-
let baseProps = { ...defaultProps$
|
|
7125
|
+
function computeEffectiveProps$7(props, defaultProps$58) {
|
|
7126
|
+
let baseProps = { ...defaultProps$58 };
|
|
6849
7127
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6850
7128
|
return baseProps;
|
|
6851
7129
|
}
|
|
@@ -6864,7 +7142,7 @@ var defaultProps$7 = {
|
|
|
6864
7142
|
visible: true
|
|
6865
7143
|
};
|
|
6866
7144
|
try {
|
|
6867
|
-
if (componentDefinition$
|
|
7145
|
+
if (componentDefinition$50 && componentDefinition$50.props) Object.entries(componentDefinition$50.props).forEach(([key, config]) => {
|
|
6868
7146
|
const propConfig = config;
|
|
6869
7147
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$7[key] = propConfig.default;
|
|
6870
7148
|
});
|
|
@@ -6876,7 +7154,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
6876
7154
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6877
7155
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6878
7156
|
const instanceId = useMemo(() => {
|
|
6879
|
-
return props.id || `${componentDefinition$
|
|
7157
|
+
return props.id || `${componentDefinition$50.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6880
7158
|
}, [props.id]);
|
|
6881
7159
|
const effectiveProps = useMemo(() => {
|
|
6882
7160
|
return computeEffectiveProps$7(props, defaultProps$7);
|
|
@@ -6886,7 +7164,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
6886
7164
|
...props.transform
|
|
6887
7165
|
}), [props.transform]);
|
|
6888
7166
|
const uniformsRef = useRef(null);
|
|
6889
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7167
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$50, effectiveProps, instanceId);
|
|
6890
7168
|
const childContextValue = useMemo(() => {
|
|
6891
7169
|
return {
|
|
6892
7170
|
...context,
|
|
@@ -6908,7 +7186,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
6908
7186
|
renderOrder: props.renderOrder || 0,
|
|
6909
7187
|
transform: effectiveTransform
|
|
6910
7188
|
};
|
|
6911
|
-
parentRegister(instanceId, componentDefinition$
|
|
7189
|
+
parentRegister(instanceId, componentDefinition$50.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$50);
|
|
6912
7190
|
return () => {
|
|
6913
7191
|
parentRegister(instanceId, null, null, null, null);
|
|
6914
7192
|
};
|
|
@@ -6982,8 +7260,8 @@ const OmbreComponent$7 = (props) => {
|
|
|
6982
7260
|
});
|
|
6983
7261
|
};
|
|
6984
7262
|
var Stretch_default = OmbreComponent$7;
|
|
6985
|
-
function computeEffectiveProps$6(props, defaultProps$
|
|
6986
|
-
let baseProps = { ...defaultProps$
|
|
7263
|
+
function computeEffectiveProps$6(props, defaultProps$58) {
|
|
7264
|
+
let baseProps = { ...defaultProps$58 };
|
|
6987
7265
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6988
7266
|
return baseProps;
|
|
6989
7267
|
}
|
|
@@ -7002,7 +7280,7 @@ var defaultProps$6 = {
|
|
|
7002
7280
|
visible: true
|
|
7003
7281
|
};
|
|
7004
7282
|
try {
|
|
7005
|
-
if (componentDefinition$
|
|
7283
|
+
if (componentDefinition$51 && componentDefinition$51.props) Object.entries(componentDefinition$51.props).forEach(([key, config]) => {
|
|
7006
7284
|
const propConfig = config;
|
|
7007
7285
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$6[key] = propConfig.default;
|
|
7008
7286
|
});
|
|
@@ -7014,7 +7292,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7014
7292
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7015
7293
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7016
7294
|
const instanceId = useMemo(() => {
|
|
7017
|
-
return props.id || `${componentDefinition$
|
|
7295
|
+
return props.id || `${componentDefinition$51.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7018
7296
|
}, [props.id]);
|
|
7019
7297
|
const effectiveProps = useMemo(() => {
|
|
7020
7298
|
return computeEffectiveProps$6(props, defaultProps$6);
|
|
@@ -7024,7 +7302,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7024
7302
|
...props.transform
|
|
7025
7303
|
}), [props.transform]);
|
|
7026
7304
|
const uniformsRef = useRef(null);
|
|
7027
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7305
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$51, effectiveProps, instanceId);
|
|
7028
7306
|
const childContextValue = useMemo(() => {
|
|
7029
7307
|
return {
|
|
7030
7308
|
...context,
|
|
@@ -7046,7 +7324,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7046
7324
|
renderOrder: props.renderOrder || 0,
|
|
7047
7325
|
transform: effectiveTransform
|
|
7048
7326
|
};
|
|
7049
|
-
parentRegister(instanceId, componentDefinition$
|
|
7327
|
+
parentRegister(instanceId, componentDefinition$51.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$51);
|
|
7050
7328
|
return () => {
|
|
7051
7329
|
parentRegister(instanceId, null, null, null, null);
|
|
7052
7330
|
};
|
|
@@ -7120,8 +7398,8 @@ const OmbreComponent$6 = (props) => {
|
|
|
7120
7398
|
});
|
|
7121
7399
|
};
|
|
7122
7400
|
var Swirl_default = OmbreComponent$6;
|
|
7123
|
-
function computeEffectiveProps$5(props, defaultProps$
|
|
7124
|
-
let baseProps = { ...defaultProps$
|
|
7401
|
+
function computeEffectiveProps$5(props, defaultProps$58) {
|
|
7402
|
+
let baseProps = { ...defaultProps$58 };
|
|
7125
7403
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7126
7404
|
return baseProps;
|
|
7127
7405
|
}
|
|
@@ -7140,7 +7418,7 @@ var defaultProps$5 = {
|
|
|
7140
7418
|
visible: true
|
|
7141
7419
|
};
|
|
7142
7420
|
try {
|
|
7143
|
-
if (componentDefinition$
|
|
7421
|
+
if (componentDefinition$52 && componentDefinition$52.props) Object.entries(componentDefinition$52.props).forEach(([key, config]) => {
|
|
7144
7422
|
const propConfig = config;
|
|
7145
7423
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$5[key] = propConfig.default;
|
|
7146
7424
|
});
|
|
@@ -7152,7 +7430,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7152
7430
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7153
7431
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7154
7432
|
const instanceId = useMemo(() => {
|
|
7155
|
-
return props.id || `${componentDefinition$
|
|
7433
|
+
return props.id || `${componentDefinition$52.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7156
7434
|
}, [props.id]);
|
|
7157
7435
|
const effectiveProps = useMemo(() => {
|
|
7158
7436
|
return computeEffectiveProps$5(props, defaultProps$5);
|
|
@@ -7162,7 +7440,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7162
7440
|
...props.transform
|
|
7163
7441
|
}), [props.transform]);
|
|
7164
7442
|
const uniformsRef = useRef(null);
|
|
7165
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7443
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$52, effectiveProps, instanceId);
|
|
7166
7444
|
const childContextValue = useMemo(() => {
|
|
7167
7445
|
return {
|
|
7168
7446
|
...context,
|
|
@@ -7184,7 +7462,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7184
7462
|
renderOrder: props.renderOrder || 0,
|
|
7185
7463
|
transform: effectiveTransform
|
|
7186
7464
|
};
|
|
7187
|
-
parentRegister(instanceId, componentDefinition$
|
|
7465
|
+
parentRegister(instanceId, componentDefinition$52.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$52);
|
|
7188
7466
|
return () => {
|
|
7189
7467
|
parentRegister(instanceId, null, null, null, null);
|
|
7190
7468
|
};
|
|
@@ -7258,8 +7536,8 @@ const OmbreComponent$5 = (props) => {
|
|
|
7258
7536
|
});
|
|
7259
7537
|
};
|
|
7260
7538
|
var TiltShift_default = OmbreComponent$5;
|
|
7261
|
-
function computeEffectiveProps$4(props, defaultProps$
|
|
7262
|
-
let baseProps = { ...defaultProps$
|
|
7539
|
+
function computeEffectiveProps$4(props, defaultProps$58) {
|
|
7540
|
+
let baseProps = { ...defaultProps$58 };
|
|
7263
7541
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7264
7542
|
return baseProps;
|
|
7265
7543
|
}
|
|
@@ -7278,7 +7556,7 @@ var defaultProps$4 = {
|
|
|
7278
7556
|
visible: true
|
|
7279
7557
|
};
|
|
7280
7558
|
try {
|
|
7281
|
-
if (componentDefinition$
|
|
7559
|
+
if (componentDefinition$53 && componentDefinition$53.props) Object.entries(componentDefinition$53.props).forEach(([key, config]) => {
|
|
7282
7560
|
const propConfig = config;
|
|
7283
7561
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$4[key] = propConfig.default;
|
|
7284
7562
|
});
|
|
@@ -7290,7 +7568,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7290
7568
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7291
7569
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7292
7570
|
const instanceId = useMemo(() => {
|
|
7293
|
-
return props.id || `${componentDefinition$
|
|
7571
|
+
return props.id || `${componentDefinition$53.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7294
7572
|
}, [props.id]);
|
|
7295
7573
|
const effectiveProps = useMemo(() => {
|
|
7296
7574
|
return computeEffectiveProps$4(props, defaultProps$4);
|
|
@@ -7300,7 +7578,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7300
7578
|
...props.transform
|
|
7301
7579
|
}), [props.transform]);
|
|
7302
7580
|
const uniformsRef = useRef(null);
|
|
7303
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7581
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$53, effectiveProps, instanceId);
|
|
7304
7582
|
const childContextValue = useMemo(() => {
|
|
7305
7583
|
return {
|
|
7306
7584
|
...context,
|
|
@@ -7322,7 +7600,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7322
7600
|
renderOrder: props.renderOrder || 0,
|
|
7323
7601
|
transform: effectiveTransform
|
|
7324
7602
|
};
|
|
7325
|
-
parentRegister(instanceId, componentDefinition$
|
|
7603
|
+
parentRegister(instanceId, componentDefinition$53.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$53);
|
|
7326
7604
|
return () => {
|
|
7327
7605
|
parentRegister(instanceId, null, null, null, null);
|
|
7328
7606
|
};
|
|
@@ -7396,8 +7674,8 @@ const OmbreComponent$4 = (props) => {
|
|
|
7396
7674
|
});
|
|
7397
7675
|
};
|
|
7398
7676
|
var Tritone_default = OmbreComponent$4;
|
|
7399
|
-
function computeEffectiveProps$3(props, defaultProps$
|
|
7400
|
-
let baseProps = { ...defaultProps$
|
|
7677
|
+
function computeEffectiveProps$3(props, defaultProps$58) {
|
|
7678
|
+
let baseProps = { ...defaultProps$58 };
|
|
7401
7679
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7402
7680
|
return baseProps;
|
|
7403
7681
|
}
|
|
@@ -7416,7 +7694,7 @@ var defaultProps$3 = {
|
|
|
7416
7694
|
visible: true
|
|
7417
7695
|
};
|
|
7418
7696
|
try {
|
|
7419
|
-
if (componentDefinition$
|
|
7697
|
+
if (componentDefinition$54 && componentDefinition$54.props) Object.entries(componentDefinition$54.props).forEach(([key, config]) => {
|
|
7420
7698
|
const propConfig = config;
|
|
7421
7699
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$3[key] = propConfig.default;
|
|
7422
7700
|
});
|
|
@@ -7428,7 +7706,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7428
7706
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7429
7707
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7430
7708
|
const instanceId = useMemo(() => {
|
|
7431
|
-
return props.id || `${componentDefinition$
|
|
7709
|
+
return props.id || `${componentDefinition$54.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7432
7710
|
}, [props.id]);
|
|
7433
7711
|
const effectiveProps = useMemo(() => {
|
|
7434
7712
|
return computeEffectiveProps$3(props, defaultProps$3);
|
|
@@ -7438,7 +7716,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7438
7716
|
...props.transform
|
|
7439
7717
|
}), [props.transform]);
|
|
7440
7718
|
const uniformsRef = useRef(null);
|
|
7441
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7719
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$54, effectiveProps, instanceId);
|
|
7442
7720
|
const childContextValue = useMemo(() => {
|
|
7443
7721
|
return {
|
|
7444
7722
|
...context,
|
|
@@ -7460,7 +7738,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7460
7738
|
renderOrder: props.renderOrder || 0,
|
|
7461
7739
|
transform: effectiveTransform
|
|
7462
7740
|
};
|
|
7463
|
-
parentRegister(instanceId, componentDefinition$
|
|
7741
|
+
parentRegister(instanceId, componentDefinition$54.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$54);
|
|
7464
7742
|
return () => {
|
|
7465
7743
|
parentRegister(instanceId, null, null, null, null);
|
|
7466
7744
|
};
|
|
@@ -7534,8 +7812,8 @@ const OmbreComponent$3 = (props) => {
|
|
|
7534
7812
|
});
|
|
7535
7813
|
};
|
|
7536
7814
|
var Twirl_default = OmbreComponent$3;
|
|
7537
|
-
function computeEffectiveProps$2(props, defaultProps$
|
|
7538
|
-
let baseProps = { ...defaultProps$
|
|
7815
|
+
function computeEffectiveProps$2(props, defaultProps$58) {
|
|
7816
|
+
let baseProps = { ...defaultProps$58 };
|
|
7539
7817
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7540
7818
|
return baseProps;
|
|
7541
7819
|
}
|
|
@@ -7554,7 +7832,7 @@ var defaultProps$2 = {
|
|
|
7554
7832
|
visible: true
|
|
7555
7833
|
};
|
|
7556
7834
|
try {
|
|
7557
|
-
if (componentDefinition$
|
|
7835
|
+
if (componentDefinition$55 && componentDefinition$55.props) Object.entries(componentDefinition$55.props).forEach(([key, config]) => {
|
|
7558
7836
|
const propConfig = config;
|
|
7559
7837
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$2[key] = propConfig.default;
|
|
7560
7838
|
});
|
|
@@ -7566,7 +7844,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7566
7844
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7567
7845
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7568
7846
|
const instanceId = useMemo(() => {
|
|
7569
|
-
return props.id || `${componentDefinition$
|
|
7847
|
+
return props.id || `${componentDefinition$55.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7570
7848
|
}, [props.id]);
|
|
7571
7849
|
const effectiveProps = useMemo(() => {
|
|
7572
7850
|
return computeEffectiveProps$2(props, defaultProps$2);
|
|
@@ -7576,7 +7854,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7576
7854
|
...props.transform
|
|
7577
7855
|
}), [props.transform]);
|
|
7578
7856
|
const uniformsRef = useRef(null);
|
|
7579
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7857
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$55, effectiveProps, instanceId);
|
|
7580
7858
|
const childContextValue = useMemo(() => {
|
|
7581
7859
|
return {
|
|
7582
7860
|
...context,
|
|
@@ -7598,7 +7876,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7598
7876
|
renderOrder: props.renderOrder || 0,
|
|
7599
7877
|
transform: effectiveTransform
|
|
7600
7878
|
};
|
|
7601
|
-
parentRegister(instanceId, componentDefinition$
|
|
7879
|
+
parentRegister(instanceId, componentDefinition$55.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$55);
|
|
7602
7880
|
return () => {
|
|
7603
7881
|
parentRegister(instanceId, null, null, null, null);
|
|
7604
7882
|
};
|
|
@@ -7672,8 +7950,8 @@ const OmbreComponent$2 = (props) => {
|
|
|
7672
7950
|
});
|
|
7673
7951
|
};
|
|
7674
7952
|
var Vibrance_default = OmbreComponent$2;
|
|
7675
|
-
function computeEffectiveProps$1(props, defaultProps$
|
|
7676
|
-
let baseProps = { ...defaultProps$
|
|
7953
|
+
function computeEffectiveProps$1(props, defaultProps$58) {
|
|
7954
|
+
let baseProps = { ...defaultProps$58 };
|
|
7677
7955
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7678
7956
|
return baseProps;
|
|
7679
7957
|
}
|
|
@@ -7692,7 +7970,7 @@ var defaultProps$1 = {
|
|
|
7692
7970
|
visible: true
|
|
7693
7971
|
};
|
|
7694
7972
|
try {
|
|
7695
|
-
if (componentDefinition$
|
|
7973
|
+
if (componentDefinition$56 && componentDefinition$56.props) Object.entries(componentDefinition$56.props).forEach(([key, config]) => {
|
|
7696
7974
|
const propConfig = config;
|
|
7697
7975
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$1[key] = propConfig.default;
|
|
7698
7976
|
});
|
|
@@ -7704,7 +7982,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7704
7982
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7705
7983
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7706
7984
|
const instanceId = useMemo(() => {
|
|
7707
|
-
return props.id || `${componentDefinition$
|
|
7985
|
+
return props.id || `${componentDefinition$56.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7708
7986
|
}, [props.id]);
|
|
7709
7987
|
const effectiveProps = useMemo(() => {
|
|
7710
7988
|
return computeEffectiveProps$1(props, defaultProps$1);
|
|
@@ -7714,7 +7992,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7714
7992
|
...props.transform
|
|
7715
7993
|
}), [props.transform]);
|
|
7716
7994
|
const uniformsRef = useRef(null);
|
|
7717
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7995
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$56, effectiveProps, instanceId);
|
|
7718
7996
|
const childContextValue = useMemo(() => {
|
|
7719
7997
|
return {
|
|
7720
7998
|
...context,
|
|
@@ -7736,7 +8014,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7736
8014
|
renderOrder: props.renderOrder || 0,
|
|
7737
8015
|
transform: effectiveTransform
|
|
7738
8016
|
};
|
|
7739
|
-
parentRegister(instanceId, componentDefinition$
|
|
8017
|
+
parentRegister(instanceId, componentDefinition$56.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$56);
|
|
7740
8018
|
return () => {
|
|
7741
8019
|
parentRegister(instanceId, null, null, null, null);
|
|
7742
8020
|
};
|
|
@@ -7810,8 +8088,8 @@ const OmbreComponent$1 = (props) => {
|
|
|
7810
8088
|
});
|
|
7811
8089
|
};
|
|
7812
8090
|
var WaveDistortion_default = OmbreComponent$1;
|
|
7813
|
-
function computeEffectiveProps(props, defaultProps$
|
|
7814
|
-
let baseProps = { ...defaultProps$
|
|
8091
|
+
function computeEffectiveProps(props, defaultProps$58) {
|
|
8092
|
+
let baseProps = { ...defaultProps$58 };
|
|
7815
8093
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7816
8094
|
return baseProps;
|
|
7817
8095
|
}
|
|
@@ -7830,7 +8108,7 @@ var defaultProps = {
|
|
|
7830
8108
|
visible: true
|
|
7831
8109
|
};
|
|
7832
8110
|
try {
|
|
7833
|
-
if (componentDefinition$
|
|
8111
|
+
if (componentDefinition$57 && componentDefinition$57.props) Object.entries(componentDefinition$57.props).forEach(([key, config]) => {
|
|
7834
8112
|
const propConfig = config;
|
|
7835
8113
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps[key] = propConfig.default;
|
|
7836
8114
|
});
|
|
@@ -7842,7 +8120,7 @@ const OmbreComponent = (props) => {
|
|
|
7842
8120
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7843
8121
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7844
8122
|
const instanceId = useMemo(() => {
|
|
7845
|
-
return props.id || `${componentDefinition$
|
|
8123
|
+
return props.id || `${componentDefinition$57.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7846
8124
|
}, [props.id]);
|
|
7847
8125
|
const effectiveProps = useMemo(() => {
|
|
7848
8126
|
return computeEffectiveProps(props, defaultProps);
|
|
@@ -7852,7 +8130,7 @@ const OmbreComponent = (props) => {
|
|
|
7852
8130
|
...props.transform
|
|
7853
8131
|
}), [props.transform]);
|
|
7854
8132
|
const uniformsRef = useRef(null);
|
|
7855
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8133
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$57, effectiveProps, instanceId);
|
|
7856
8134
|
const childContextValue = useMemo(() => {
|
|
7857
8135
|
return {
|
|
7858
8136
|
...context,
|
|
@@ -7874,7 +8152,7 @@ const OmbreComponent = (props) => {
|
|
|
7874
8152
|
renderOrder: props.renderOrder || 0,
|
|
7875
8153
|
transform: effectiveTransform
|
|
7876
8154
|
};
|
|
7877
|
-
parentRegister(instanceId, componentDefinition$
|
|
8155
|
+
parentRegister(instanceId, componentDefinition$57.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$57);
|
|
7878
8156
|
return () => {
|
|
7879
8157
|
parentRegister(instanceId, null, null, null, null);
|
|
7880
8158
|
};
|
|
@@ -7948,4 +8226,4 @@ const OmbreComponent = (props) => {
|
|
|
7948
8226
|
});
|
|
7949
8227
|
};
|
|
7950
8228
|
var ZoomBlur_default = OmbreComponent;
|
|
7951
|
-
export { AngularBlur_default as AngularBlur, Ascii_default as Ascii, Beam_default as Beam, Blob_default as Blob, Blur_default as Blur, BrightnessContrast_default as BrightnessContrast, Bulge_default as Bulge, CRTScreen_default as CRTScreen, ChannelBlur_default as ChannelBlur, Checkerboard_default as Checkerboard, ChromaFlow_default as ChromaFlow, ChromaticAberration_default as ChromaticAberration, Circle_default as Circle, CursorTrail_default as CursorTrail, DiffuseBlur_default as DiffuseBlur, Dither_default as Dither, DotGrid_default as DotGrid, Duotone_default as Duotone, FilmGrain_default as FilmGrain, FloatingParticles_default as FloatingParticles, GlassTiles_default as GlassTiles, Glow_default as Glow, Godrays_default as Godrays, Grayscale_default as Grayscale, Grid_default as Grid, GridDistortion_default as GridDistortion, Group_default as Group, Halftone_default as Halftone, HueShift_default as HueShift, ImageTexture_default as ImageTexture, Invert_default as Invert, LinearBlur_default as LinearBlur, LinearGradient_default as LinearGradient, Liquify_default as Liquify, Pixelate_default as Pixelate, PolarCoordinates_default as PolarCoordinates, Posterize_default as Posterize, ProgressiveBlur_default as ProgressiveBlur, RadialGradient_default as RadialGradient, RectangularCoordinates_default as RectangularCoordinates, Ripples_default as Ripples, Saturation_default as Saturation, Shader_default as Shader, SimplexNoise_default as SimplexNoise, SineWave_default as SineWave, SolidColor_default as SolidColor, Spherize_default as Spherize, Spiral_default as Spiral, Strands_default as Strands, Stretch_default as Stretch, Swirl_default as Swirl, TiltShift_default as TiltShift, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, ZoomBlur_default as ZoomBlur, generatePresetCode };
|
|
8229
|
+
export { AngularBlur_default as AngularBlur, Ascii_default as Ascii, Beam_default as Beam, Blob_default as Blob, Blur_default as Blur, BrightnessContrast_default as BrightnessContrast, Bulge_default as Bulge, CRTScreen_default as CRTScreen, ChannelBlur_default as ChannelBlur, Checkerboard_default as Checkerboard, ChromaFlow_default as ChromaFlow, ChromaticAberration_default as ChromaticAberration, Circle_default as Circle, CursorTrail_default as CursorTrail, DiffuseBlur_default as DiffuseBlur, Dither_default as Dither, DotGrid_default as DotGrid, Duotone_default as Duotone, FilmGrain_default as FilmGrain, FloatingParticles_default as FloatingParticles, GlassTiles_default as GlassTiles, Glow_default as Glow, Godrays_default as Godrays, Grayscale_default as Grayscale, Grid_default as Grid, GridDistortion_default as GridDistortion, Group_default as Group, Halftone_default as Halftone, HueShift_default as HueShift, ImageTexture_default as ImageTexture, Invert_default as Invert, LinearBlur_default as LinearBlur, LinearGradient_default as LinearGradient, Liquify_default as Liquify, Perspective_default as Perspective, Pixelate_default as Pixelate, PolarCoordinates_default as PolarCoordinates, Posterize_default as Posterize, ProgressiveBlur_default as ProgressiveBlur, RadialGradient_default as RadialGradient, RectangularCoordinates_default as RectangularCoordinates, Ripples_default as Ripples, Saturation_default as Saturation, Shader_default as Shader, Sharpness_default as Sharpness, SimplexNoise_default as SimplexNoise, SineWave_default as SineWave, SolidColor_default as SolidColor, Spherize_default as Spherize, Spiral_default as Spiral, Strands_default as Strands, Stretch_default as Stretch, Swirl_default as Swirl, TiltShift_default as TiltShift, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, ZoomBlur_default as ZoomBlur, generatePresetCode };
|