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