shaders 2.2.42 → 2.2.43
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/WebcamTexture-D4Uv7Plz.js +168 -0
- package/dist/core/index.js +11 -9
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/WebcamTexture/index.d.ts +21 -0
- package/dist/core/shaders/WebcamTexture/index.d.ts.map +1 -0
- package/dist/core/shaders/WebcamTexture/index.js +2 -0
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/react/components/WebcamTexture.d.ts +31 -0
- package/dist/react/components/WebcamTexture.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-BrkW1bEe.js → generatePresetCode-D0yiVxb4.js} +7 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +570 -431
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +91 -0
- package/dist/solid/components/WebcamTexture.d.ts +28 -0
- package/dist/solid/components/WebcamTexture.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 +508 -366
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +7 -0
- package/dist/svelte/components/WebcamTexture.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-bx7z5wvC.js → generatePresetCode-DUGaV_ym.js} +7 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +115 -4
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/WebcamTexture.vue.d.ts +57 -0
- package/dist/vue/components/WebcamTexture.vue.d.ts.map +1 -0
- package/dist/vue/{generatePresetCode-_7ZzqQPH.js → generatePresetCode-CShQ8TLw.js} +7 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +131 -9
- 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/{ZoomBlur-CTrw7HxX.js → ZoomBlur-CIkkDBIo.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-D0yiVxb4.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";
|
|
@@ -64,7 +64,8 @@ import { componentDefinition as componentDefinition$56 } from "../core/shaders/T
|
|
|
64
64
|
import { componentDefinition as componentDefinition$57 } from "../core/shaders/Twirl/index.js";
|
|
65
65
|
import { componentDefinition as componentDefinition$58 } from "../core/shaders/Vibrance/index.js";
|
|
66
66
|
import { componentDefinition as componentDefinition$59 } from "../core/shaders/WaveDistortion/index.js";
|
|
67
|
-
import { componentDefinition as componentDefinition$60 } from "../core/shaders/
|
|
67
|
+
import { componentDefinition as componentDefinition$60 } from "../core/shaders/WebcamTexture/index.js";
|
|
68
|
+
import { componentDefinition as componentDefinition$61 } from "../core/shaders/ZoomBlur/index.js";
|
|
68
69
|
const OmbreContext = createContext(null);
|
|
69
70
|
const Shader = ({ children, hideNotice = false, style = {}, className = "",...rest }) => {
|
|
70
71
|
const containerRef = useRef(null);
|
|
@@ -74,7 +75,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
74
75
|
if (rendererRef.current === null) rendererRef.current = shaderRenderer();
|
|
75
76
|
const telemetryCollectorRef = useRef(null);
|
|
76
77
|
const nodeRegister = useMemo(() => {
|
|
77
|
-
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$
|
|
78
|
+
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$62 = null) => {
|
|
78
79
|
if (fragmentNodeFunc === null) {
|
|
79
80
|
try {
|
|
80
81
|
rendererRef.current.removeNode(id);
|
|
@@ -84,7 +85,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
84
85
|
return;
|
|
85
86
|
}
|
|
86
87
|
try {
|
|
87
|
-
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$
|
|
88
|
+
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$62);
|
|
88
89
|
} catch (err) {
|
|
89
90
|
console.error("Error registering node:", err, {
|
|
90
91
|
id,
|
|
@@ -225,8 +226,146 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
225
226
|
});
|
|
226
227
|
};
|
|
227
228
|
var Shader_default = Shader;
|
|
228
|
-
function computeEffectiveProps$
|
|
229
|
-
let baseProps = { ...defaultProps$
|
|
229
|
+
function computeEffectiveProps$61(props, defaultProps$62) {
|
|
230
|
+
let baseProps = { ...defaultProps$62 };
|
|
231
|
+
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
232
|
+
return baseProps;
|
|
233
|
+
}
|
|
234
|
+
var DEFAULT_TRANSFORM$61 = {
|
|
235
|
+
offsetX: 0,
|
|
236
|
+
offsetY: 0,
|
|
237
|
+
rotation: 0,
|
|
238
|
+
scale: 1,
|
|
239
|
+
anchorX: .5,
|
|
240
|
+
anchorY: .5,
|
|
241
|
+
edges: "transparent"
|
|
242
|
+
};
|
|
243
|
+
var defaultProps$61 = {
|
|
244
|
+
blendMode: "normal",
|
|
245
|
+
renderOrder: 0,
|
|
246
|
+
visible: true
|
|
247
|
+
};
|
|
248
|
+
try {
|
|
249
|
+
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
250
|
+
const propConfig = config;
|
|
251
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$61[key] = propConfig.default;
|
|
252
|
+
});
|
|
253
|
+
} catch (e) {
|
|
254
|
+
console.warn("Error extracting default props:", e);
|
|
255
|
+
}
|
|
256
|
+
const OmbreComponent$61 = (props) => {
|
|
257
|
+
const context = useContext(OmbreContext);
|
|
258
|
+
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
259
|
+
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
260
|
+
const instanceId = useMemo(() => {
|
|
261
|
+
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
262
|
+
}, [props.id]);
|
|
263
|
+
const effectiveProps = useMemo(() => {
|
|
264
|
+
return computeEffectiveProps$61(props, defaultProps$61);
|
|
265
|
+
}, [props]);
|
|
266
|
+
const effectiveTransform = useMemo(() => ({
|
|
267
|
+
...DEFAULT_TRANSFORM$61,
|
|
268
|
+
...props.transform
|
|
269
|
+
}), [props.transform]);
|
|
270
|
+
const uniformsRef = useRef(null);
|
|
271
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
272
|
+
const childContextValue = useMemo(() => {
|
|
273
|
+
return {
|
|
274
|
+
...context,
|
|
275
|
+
ombreParentId: instanceId
|
|
276
|
+
};
|
|
277
|
+
}, [context, instanceId]);
|
|
278
|
+
useEffect(() => {
|
|
279
|
+
if (!uniformsRef.current) return;
|
|
280
|
+
try {
|
|
281
|
+
const metadata = {
|
|
282
|
+
blendMode: props.blendMode || "normal",
|
|
283
|
+
opacity: props.opacity,
|
|
284
|
+
visible: props.visible === false ? false : true,
|
|
285
|
+
id: props.id,
|
|
286
|
+
mask: props.maskSource ? {
|
|
287
|
+
source: props.maskSource,
|
|
288
|
+
type: props.maskType || "alpha"
|
|
289
|
+
} : void 0,
|
|
290
|
+
renderOrder: props.renderOrder || 0,
|
|
291
|
+
transform: effectiveTransform
|
|
292
|
+
};
|
|
293
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
294
|
+
return () => {
|
|
295
|
+
parentRegister(instanceId, null, null, null, null);
|
|
296
|
+
};
|
|
297
|
+
} catch (error) {
|
|
298
|
+
console.error("Error registering shader node:", error);
|
|
299
|
+
return () => {};
|
|
300
|
+
}
|
|
301
|
+
}, [
|
|
302
|
+
instanceId,
|
|
303
|
+
parentId,
|
|
304
|
+
parentRegister
|
|
305
|
+
]);
|
|
306
|
+
const prevPropsRef = useRef({});
|
|
307
|
+
useEffect(() => {
|
|
308
|
+
if (!uniformsRef.current) return;
|
|
309
|
+
try {
|
|
310
|
+
Object.entries(uniformsRef.current).forEach(([propName, uniformData]) => {
|
|
311
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
312
|
+
const { uniform, transform } = uniformData;
|
|
313
|
+
if (uniform?.value !== void 0 && propName in effectiveProps) {
|
|
314
|
+
const newValue = effectiveProps[propName];
|
|
315
|
+
if (newValue !== prevPropsRef.current[propName]) {
|
|
316
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
317
|
+
prevPropsRef.current[propName] = newValue;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
} catch (error) {
|
|
322
|
+
console.error("Error updating uniforms:", error);
|
|
323
|
+
}
|
|
324
|
+
}, [
|
|
325
|
+
effectiveProps,
|
|
326
|
+
instanceId,
|
|
327
|
+
parentUniformUpdate
|
|
328
|
+
]);
|
|
329
|
+
useEffect(() => {
|
|
330
|
+
try {
|
|
331
|
+
parentMetadataUpdate(instanceId, {
|
|
332
|
+
blendMode: props.blendMode || "normal",
|
|
333
|
+
opacity: props.opacity,
|
|
334
|
+
visible: props.visible === false ? false : true,
|
|
335
|
+
id: props.id,
|
|
336
|
+
mask: props.maskSource ? {
|
|
337
|
+
source: props.maskSource,
|
|
338
|
+
type: props.maskType || "alpha"
|
|
339
|
+
} : void 0,
|
|
340
|
+
renderOrder: props.renderOrder || 0,
|
|
341
|
+
transform: effectiveTransform
|
|
342
|
+
});
|
|
343
|
+
} catch (error) {
|
|
344
|
+
console.error("Error updating metadata:", error);
|
|
345
|
+
}
|
|
346
|
+
}, [
|
|
347
|
+
props.blendMode,
|
|
348
|
+
props.opacity,
|
|
349
|
+
props.visible,
|
|
350
|
+
props.maskSource,
|
|
351
|
+
props.maskType,
|
|
352
|
+
props.renderOrder,
|
|
353
|
+
props.id,
|
|
354
|
+
effectiveTransform,
|
|
355
|
+
instanceId,
|
|
356
|
+
parentMetadataUpdate
|
|
357
|
+
]);
|
|
358
|
+
if (props.ref && typeof props.ref === "function") try {
|
|
359
|
+
props.ref(null);
|
|
360
|
+
} catch (e) {}
|
|
361
|
+
return /* @__PURE__ */ jsx(OmbreContext.Provider, {
|
|
362
|
+
value: childContextValue,
|
|
363
|
+
children: props.children
|
|
364
|
+
});
|
|
365
|
+
};
|
|
366
|
+
var AngularBlur_default = OmbreComponent$61;
|
|
367
|
+
function computeEffectiveProps$60(props, defaultProps$62) {
|
|
368
|
+
let baseProps = { ...defaultProps$62 };
|
|
230
369
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
231
370
|
return baseProps;
|
|
232
371
|
}
|
|
@@ -245,7 +384,7 @@ var defaultProps$60 = {
|
|
|
245
384
|
visible: true
|
|
246
385
|
};
|
|
247
386
|
try {
|
|
248
|
-
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
387
|
+
if (componentDefinition$1 && componentDefinition$1.props) Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
249
388
|
const propConfig = config;
|
|
250
389
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$60[key] = propConfig.default;
|
|
251
390
|
});
|
|
@@ -257,7 +396,7 @@ const OmbreComponent$60 = (props) => {
|
|
|
257
396
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
258
397
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
259
398
|
const instanceId = useMemo(() => {
|
|
260
|
-
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
399
|
+
return props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
261
400
|
}, [props.id]);
|
|
262
401
|
const effectiveProps = useMemo(() => {
|
|
263
402
|
return computeEffectiveProps$60(props, defaultProps$60);
|
|
@@ -267,7 +406,7 @@ const OmbreComponent$60 = (props) => {
|
|
|
267
406
|
...props.transform
|
|
268
407
|
}), [props.transform]);
|
|
269
408
|
const uniformsRef = useRef(null);
|
|
270
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
409
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$1, effectiveProps, instanceId);
|
|
271
410
|
const childContextValue = useMemo(() => {
|
|
272
411
|
return {
|
|
273
412
|
...context,
|
|
@@ -289,7 +428,7 @@ const OmbreComponent$60 = (props) => {
|
|
|
289
428
|
renderOrder: props.renderOrder || 0,
|
|
290
429
|
transform: effectiveTransform
|
|
291
430
|
};
|
|
292
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
431
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$1);
|
|
293
432
|
return () => {
|
|
294
433
|
parentRegister(instanceId, null, null, null, null);
|
|
295
434
|
};
|
|
@@ -362,9 +501,9 @@ const OmbreComponent$60 = (props) => {
|
|
|
362
501
|
children: props.children
|
|
363
502
|
});
|
|
364
503
|
};
|
|
365
|
-
var
|
|
366
|
-
function computeEffectiveProps$59(props, defaultProps$
|
|
367
|
-
let baseProps = { ...defaultProps$
|
|
504
|
+
var Ascii_default = OmbreComponent$60;
|
|
505
|
+
function computeEffectiveProps$59(props, defaultProps$62) {
|
|
506
|
+
let baseProps = { ...defaultProps$62 };
|
|
368
507
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
369
508
|
return baseProps;
|
|
370
509
|
}
|
|
@@ -383,7 +522,7 @@ var defaultProps$59 = {
|
|
|
383
522
|
visible: true
|
|
384
523
|
};
|
|
385
524
|
try {
|
|
386
|
-
if (componentDefinition$
|
|
525
|
+
if (componentDefinition$2 && componentDefinition$2.props) Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
387
526
|
const propConfig = config;
|
|
388
527
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$59[key] = propConfig.default;
|
|
389
528
|
});
|
|
@@ -395,7 +534,7 @@ const OmbreComponent$59 = (props) => {
|
|
|
395
534
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
396
535
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
397
536
|
const instanceId = useMemo(() => {
|
|
398
|
-
return props.id || `${componentDefinition$
|
|
537
|
+
return props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
399
538
|
}, [props.id]);
|
|
400
539
|
const effectiveProps = useMemo(() => {
|
|
401
540
|
return computeEffectiveProps$59(props, defaultProps$59);
|
|
@@ -405,7 +544,7 @@ const OmbreComponent$59 = (props) => {
|
|
|
405
544
|
...props.transform
|
|
406
545
|
}), [props.transform]);
|
|
407
546
|
const uniformsRef = useRef(null);
|
|
408
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
547
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$2, effectiveProps, instanceId);
|
|
409
548
|
const childContextValue = useMemo(() => {
|
|
410
549
|
return {
|
|
411
550
|
...context,
|
|
@@ -427,7 +566,7 @@ const OmbreComponent$59 = (props) => {
|
|
|
427
566
|
renderOrder: props.renderOrder || 0,
|
|
428
567
|
transform: effectiveTransform
|
|
429
568
|
};
|
|
430
|
-
parentRegister(instanceId, componentDefinition$
|
|
569
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$2);
|
|
431
570
|
return () => {
|
|
432
571
|
parentRegister(instanceId, null, null, null, null);
|
|
433
572
|
};
|
|
@@ -500,9 +639,9 @@ const OmbreComponent$59 = (props) => {
|
|
|
500
639
|
children: props.children
|
|
501
640
|
});
|
|
502
641
|
};
|
|
503
|
-
var
|
|
504
|
-
function computeEffectiveProps$58(props, defaultProps$
|
|
505
|
-
let baseProps = { ...defaultProps$
|
|
642
|
+
var Beam_default = OmbreComponent$59;
|
|
643
|
+
function computeEffectiveProps$58(props, defaultProps$62) {
|
|
644
|
+
let baseProps = { ...defaultProps$62 };
|
|
506
645
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
507
646
|
return baseProps;
|
|
508
647
|
}
|
|
@@ -521,7 +660,7 @@ var defaultProps$58 = {
|
|
|
521
660
|
visible: true
|
|
522
661
|
};
|
|
523
662
|
try {
|
|
524
|
-
if (componentDefinition$
|
|
663
|
+
if (componentDefinition$3 && componentDefinition$3.props) Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
525
664
|
const propConfig = config;
|
|
526
665
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$58[key] = propConfig.default;
|
|
527
666
|
});
|
|
@@ -533,7 +672,7 @@ const OmbreComponent$58 = (props) => {
|
|
|
533
672
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
534
673
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
535
674
|
const instanceId = useMemo(() => {
|
|
536
|
-
return props.id || `${componentDefinition$
|
|
675
|
+
return props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
537
676
|
}, [props.id]);
|
|
538
677
|
const effectiveProps = useMemo(() => {
|
|
539
678
|
return computeEffectiveProps$58(props, defaultProps$58);
|
|
@@ -543,7 +682,7 @@ const OmbreComponent$58 = (props) => {
|
|
|
543
682
|
...props.transform
|
|
544
683
|
}), [props.transform]);
|
|
545
684
|
const uniformsRef = useRef(null);
|
|
546
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
685
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$3, effectiveProps, instanceId);
|
|
547
686
|
const childContextValue = useMemo(() => {
|
|
548
687
|
return {
|
|
549
688
|
...context,
|
|
@@ -565,7 +704,7 @@ const OmbreComponent$58 = (props) => {
|
|
|
565
704
|
renderOrder: props.renderOrder || 0,
|
|
566
705
|
transform: effectiveTransform
|
|
567
706
|
};
|
|
568
|
-
parentRegister(instanceId, componentDefinition$
|
|
707
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$3);
|
|
569
708
|
return () => {
|
|
570
709
|
parentRegister(instanceId, null, null, null, null);
|
|
571
710
|
};
|
|
@@ -638,9 +777,9 @@ const OmbreComponent$58 = (props) => {
|
|
|
638
777
|
children: props.children
|
|
639
778
|
});
|
|
640
779
|
};
|
|
641
|
-
var
|
|
642
|
-
function computeEffectiveProps$57(props, defaultProps$
|
|
643
|
-
let baseProps = { ...defaultProps$
|
|
780
|
+
var Blob_default = OmbreComponent$58;
|
|
781
|
+
function computeEffectiveProps$57(props, defaultProps$62) {
|
|
782
|
+
let baseProps = { ...defaultProps$62 };
|
|
644
783
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
645
784
|
return baseProps;
|
|
646
785
|
}
|
|
@@ -659,7 +798,7 @@ var defaultProps$57 = {
|
|
|
659
798
|
visible: true
|
|
660
799
|
};
|
|
661
800
|
try {
|
|
662
|
-
if (componentDefinition$
|
|
801
|
+
if (componentDefinition$4 && componentDefinition$4.props) Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
663
802
|
const propConfig = config;
|
|
664
803
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$57[key] = propConfig.default;
|
|
665
804
|
});
|
|
@@ -671,7 +810,7 @@ const OmbreComponent$57 = (props) => {
|
|
|
671
810
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
672
811
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
673
812
|
const instanceId = useMemo(() => {
|
|
674
|
-
return props.id || `${componentDefinition$
|
|
813
|
+
return props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
675
814
|
}, [props.id]);
|
|
676
815
|
const effectiveProps = useMemo(() => {
|
|
677
816
|
return computeEffectiveProps$57(props, defaultProps$57);
|
|
@@ -681,7 +820,7 @@ const OmbreComponent$57 = (props) => {
|
|
|
681
820
|
...props.transform
|
|
682
821
|
}), [props.transform]);
|
|
683
822
|
const uniformsRef = useRef(null);
|
|
684
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
823
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$4, effectiveProps, instanceId);
|
|
685
824
|
const childContextValue = useMemo(() => {
|
|
686
825
|
return {
|
|
687
826
|
...context,
|
|
@@ -703,7 +842,7 @@ const OmbreComponent$57 = (props) => {
|
|
|
703
842
|
renderOrder: props.renderOrder || 0,
|
|
704
843
|
transform: effectiveTransform
|
|
705
844
|
};
|
|
706
|
-
parentRegister(instanceId, componentDefinition$
|
|
845
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$4);
|
|
707
846
|
return () => {
|
|
708
847
|
parentRegister(instanceId, null, null, null, null);
|
|
709
848
|
};
|
|
@@ -776,9 +915,9 @@ const OmbreComponent$57 = (props) => {
|
|
|
776
915
|
children: props.children
|
|
777
916
|
});
|
|
778
917
|
};
|
|
779
|
-
var
|
|
780
|
-
function computeEffectiveProps$56(props, defaultProps$
|
|
781
|
-
let baseProps = { ...defaultProps$
|
|
918
|
+
var Blur_default = OmbreComponent$57;
|
|
919
|
+
function computeEffectiveProps$56(props, defaultProps$62) {
|
|
920
|
+
let baseProps = { ...defaultProps$62 };
|
|
782
921
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
783
922
|
return baseProps;
|
|
784
923
|
}
|
|
@@ -797,7 +936,7 @@ var defaultProps$56 = {
|
|
|
797
936
|
visible: true
|
|
798
937
|
};
|
|
799
938
|
try {
|
|
800
|
-
if (componentDefinition$
|
|
939
|
+
if (componentDefinition$5 && componentDefinition$5.props) Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
801
940
|
const propConfig = config;
|
|
802
941
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$56[key] = propConfig.default;
|
|
803
942
|
});
|
|
@@ -809,7 +948,7 @@ const OmbreComponent$56 = (props) => {
|
|
|
809
948
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
810
949
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
811
950
|
const instanceId = useMemo(() => {
|
|
812
|
-
return props.id || `${componentDefinition$
|
|
951
|
+
return props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
813
952
|
}, [props.id]);
|
|
814
953
|
const effectiveProps = useMemo(() => {
|
|
815
954
|
return computeEffectiveProps$56(props, defaultProps$56);
|
|
@@ -819,7 +958,7 @@ const OmbreComponent$56 = (props) => {
|
|
|
819
958
|
...props.transform
|
|
820
959
|
}), [props.transform]);
|
|
821
960
|
const uniformsRef = useRef(null);
|
|
822
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
961
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$5, effectiveProps, instanceId);
|
|
823
962
|
const childContextValue = useMemo(() => {
|
|
824
963
|
return {
|
|
825
964
|
...context,
|
|
@@ -841,7 +980,7 @@ const OmbreComponent$56 = (props) => {
|
|
|
841
980
|
renderOrder: props.renderOrder || 0,
|
|
842
981
|
transform: effectiveTransform
|
|
843
982
|
};
|
|
844
|
-
parentRegister(instanceId, componentDefinition$
|
|
983
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$5);
|
|
845
984
|
return () => {
|
|
846
985
|
parentRegister(instanceId, null, null, null, null);
|
|
847
986
|
};
|
|
@@ -914,9 +1053,9 @@ const OmbreComponent$56 = (props) => {
|
|
|
914
1053
|
children: props.children
|
|
915
1054
|
});
|
|
916
1055
|
};
|
|
917
|
-
var
|
|
918
|
-
function computeEffectiveProps$55(props, defaultProps$
|
|
919
|
-
let baseProps = { ...defaultProps$
|
|
1056
|
+
var BrightnessContrast_default = OmbreComponent$56;
|
|
1057
|
+
function computeEffectiveProps$55(props, defaultProps$62) {
|
|
1058
|
+
let baseProps = { ...defaultProps$62 };
|
|
920
1059
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
921
1060
|
return baseProps;
|
|
922
1061
|
}
|
|
@@ -935,7 +1074,7 @@ var defaultProps$55 = {
|
|
|
935
1074
|
visible: true
|
|
936
1075
|
};
|
|
937
1076
|
try {
|
|
938
|
-
if (componentDefinition$
|
|
1077
|
+
if (componentDefinition$6 && componentDefinition$6.props) Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
939
1078
|
const propConfig = config;
|
|
940
1079
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$55[key] = propConfig.default;
|
|
941
1080
|
});
|
|
@@ -947,7 +1086,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
947
1086
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
948
1087
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
949
1088
|
const instanceId = useMemo(() => {
|
|
950
|
-
return props.id || `${componentDefinition$
|
|
1089
|
+
return props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
951
1090
|
}, [props.id]);
|
|
952
1091
|
const effectiveProps = useMemo(() => {
|
|
953
1092
|
return computeEffectiveProps$55(props, defaultProps$55);
|
|
@@ -957,7 +1096,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
957
1096
|
...props.transform
|
|
958
1097
|
}), [props.transform]);
|
|
959
1098
|
const uniformsRef = useRef(null);
|
|
960
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1099
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$6, effectiveProps, instanceId);
|
|
961
1100
|
const childContextValue = useMemo(() => {
|
|
962
1101
|
return {
|
|
963
1102
|
...context,
|
|
@@ -979,7 +1118,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
979
1118
|
renderOrder: props.renderOrder || 0,
|
|
980
1119
|
transform: effectiveTransform
|
|
981
1120
|
};
|
|
982
|
-
parentRegister(instanceId, componentDefinition$
|
|
1121
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$6);
|
|
983
1122
|
return () => {
|
|
984
1123
|
parentRegister(instanceId, null, null, null, null);
|
|
985
1124
|
};
|
|
@@ -1052,9 +1191,9 @@ const OmbreComponent$55 = (props) => {
|
|
|
1052
1191
|
children: props.children
|
|
1053
1192
|
});
|
|
1054
1193
|
};
|
|
1055
|
-
var
|
|
1056
|
-
function computeEffectiveProps$54(props, defaultProps$
|
|
1057
|
-
let baseProps = { ...defaultProps$
|
|
1194
|
+
var Bulge_default = OmbreComponent$55;
|
|
1195
|
+
function computeEffectiveProps$54(props, defaultProps$62) {
|
|
1196
|
+
let baseProps = { ...defaultProps$62 };
|
|
1058
1197
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1059
1198
|
return baseProps;
|
|
1060
1199
|
}
|
|
@@ -1073,7 +1212,7 @@ var defaultProps$54 = {
|
|
|
1073
1212
|
visible: true
|
|
1074
1213
|
};
|
|
1075
1214
|
try {
|
|
1076
|
-
if (componentDefinition$
|
|
1215
|
+
if (componentDefinition$7 && componentDefinition$7.props) Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
1077
1216
|
const propConfig = config;
|
|
1078
1217
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$54[key] = propConfig.default;
|
|
1079
1218
|
});
|
|
@@ -1085,7 +1224,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
1085
1224
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1086
1225
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1087
1226
|
const instanceId = useMemo(() => {
|
|
1088
|
-
return props.id || `${componentDefinition$
|
|
1227
|
+
return props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1089
1228
|
}, [props.id]);
|
|
1090
1229
|
const effectiveProps = useMemo(() => {
|
|
1091
1230
|
return computeEffectiveProps$54(props, defaultProps$54);
|
|
@@ -1095,7 +1234,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
1095
1234
|
...props.transform
|
|
1096
1235
|
}), [props.transform]);
|
|
1097
1236
|
const uniformsRef = useRef(null);
|
|
1098
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1237
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$7, effectiveProps, instanceId);
|
|
1099
1238
|
const childContextValue = useMemo(() => {
|
|
1100
1239
|
return {
|
|
1101
1240
|
...context,
|
|
@@ -1117,7 +1256,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
1117
1256
|
renderOrder: props.renderOrder || 0,
|
|
1118
1257
|
transform: effectiveTransform
|
|
1119
1258
|
};
|
|
1120
|
-
parentRegister(instanceId, componentDefinition$
|
|
1259
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$7);
|
|
1121
1260
|
return () => {
|
|
1122
1261
|
parentRegister(instanceId, null, null, null, null);
|
|
1123
1262
|
};
|
|
@@ -1190,9 +1329,9 @@ const OmbreComponent$54 = (props) => {
|
|
|
1190
1329
|
children: props.children
|
|
1191
1330
|
});
|
|
1192
1331
|
};
|
|
1193
|
-
var
|
|
1194
|
-
function computeEffectiveProps$53(props, defaultProps$
|
|
1195
|
-
let baseProps = { ...defaultProps$
|
|
1332
|
+
var CRTScreen_default = OmbreComponent$54;
|
|
1333
|
+
function computeEffectiveProps$53(props, defaultProps$62) {
|
|
1334
|
+
let baseProps = { ...defaultProps$62 };
|
|
1196
1335
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1197
1336
|
return baseProps;
|
|
1198
1337
|
}
|
|
@@ -1211,7 +1350,7 @@ var defaultProps$53 = {
|
|
|
1211
1350
|
visible: true
|
|
1212
1351
|
};
|
|
1213
1352
|
try {
|
|
1214
|
-
if (componentDefinition$
|
|
1353
|
+
if (componentDefinition$8 && componentDefinition$8.props) Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1215
1354
|
const propConfig = config;
|
|
1216
1355
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$53[key] = propConfig.default;
|
|
1217
1356
|
});
|
|
@@ -1223,7 +1362,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
1223
1362
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1224
1363
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1225
1364
|
const instanceId = useMemo(() => {
|
|
1226
|
-
return props.id || `${componentDefinition$
|
|
1365
|
+
return props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1227
1366
|
}, [props.id]);
|
|
1228
1367
|
const effectiveProps = useMemo(() => {
|
|
1229
1368
|
return computeEffectiveProps$53(props, defaultProps$53);
|
|
@@ -1233,7 +1372,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
1233
1372
|
...props.transform
|
|
1234
1373
|
}), [props.transform]);
|
|
1235
1374
|
const uniformsRef = useRef(null);
|
|
1236
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1375
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$8, effectiveProps, instanceId);
|
|
1237
1376
|
const childContextValue = useMemo(() => {
|
|
1238
1377
|
return {
|
|
1239
1378
|
...context,
|
|
@@ -1255,7 +1394,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
1255
1394
|
renderOrder: props.renderOrder || 0,
|
|
1256
1395
|
transform: effectiveTransform
|
|
1257
1396
|
};
|
|
1258
|
-
parentRegister(instanceId, componentDefinition$
|
|
1397
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$8);
|
|
1259
1398
|
return () => {
|
|
1260
1399
|
parentRegister(instanceId, null, null, null, null);
|
|
1261
1400
|
};
|
|
@@ -1328,9 +1467,9 @@ const OmbreComponent$53 = (props) => {
|
|
|
1328
1467
|
children: props.children
|
|
1329
1468
|
});
|
|
1330
1469
|
};
|
|
1331
|
-
var
|
|
1332
|
-
function computeEffectiveProps$52(props, defaultProps$
|
|
1333
|
-
let baseProps = { ...defaultProps$
|
|
1470
|
+
var ChannelBlur_default = OmbreComponent$53;
|
|
1471
|
+
function computeEffectiveProps$52(props, defaultProps$62) {
|
|
1472
|
+
let baseProps = { ...defaultProps$62 };
|
|
1334
1473
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1335
1474
|
return baseProps;
|
|
1336
1475
|
}
|
|
@@ -1349,7 +1488,7 @@ var defaultProps$52 = {
|
|
|
1349
1488
|
visible: true
|
|
1350
1489
|
};
|
|
1351
1490
|
try {
|
|
1352
|
-
if (componentDefinition$
|
|
1491
|
+
if (componentDefinition$9 && componentDefinition$9.props) Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1353
1492
|
const propConfig = config;
|
|
1354
1493
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$52[key] = propConfig.default;
|
|
1355
1494
|
});
|
|
@@ -1361,7 +1500,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
1361
1500
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1362
1501
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1363
1502
|
const instanceId = useMemo(() => {
|
|
1364
|
-
return props.id || `${componentDefinition$
|
|
1503
|
+
return props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1365
1504
|
}, [props.id]);
|
|
1366
1505
|
const effectiveProps = useMemo(() => {
|
|
1367
1506
|
return computeEffectiveProps$52(props, defaultProps$52);
|
|
@@ -1371,7 +1510,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
1371
1510
|
...props.transform
|
|
1372
1511
|
}), [props.transform]);
|
|
1373
1512
|
const uniformsRef = useRef(null);
|
|
1374
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1513
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$9, effectiveProps, instanceId);
|
|
1375
1514
|
const childContextValue = useMemo(() => {
|
|
1376
1515
|
return {
|
|
1377
1516
|
...context,
|
|
@@ -1393,7 +1532,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
1393
1532
|
renderOrder: props.renderOrder || 0,
|
|
1394
1533
|
transform: effectiveTransform
|
|
1395
1534
|
};
|
|
1396
|
-
parentRegister(instanceId, componentDefinition$
|
|
1535
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$9);
|
|
1397
1536
|
return () => {
|
|
1398
1537
|
parentRegister(instanceId, null, null, null, null);
|
|
1399
1538
|
};
|
|
@@ -1466,9 +1605,9 @@ const OmbreComponent$52 = (props) => {
|
|
|
1466
1605
|
children: props.children
|
|
1467
1606
|
});
|
|
1468
1607
|
};
|
|
1469
|
-
var
|
|
1470
|
-
function computeEffectiveProps$51(props, defaultProps$
|
|
1471
|
-
let baseProps = { ...defaultProps$
|
|
1608
|
+
var Checkerboard_default = OmbreComponent$52;
|
|
1609
|
+
function computeEffectiveProps$51(props, defaultProps$62) {
|
|
1610
|
+
let baseProps = { ...defaultProps$62 };
|
|
1472
1611
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1473
1612
|
return baseProps;
|
|
1474
1613
|
}
|
|
@@ -1487,7 +1626,7 @@ var defaultProps$51 = {
|
|
|
1487
1626
|
visible: true
|
|
1488
1627
|
};
|
|
1489
1628
|
try {
|
|
1490
|
-
if (componentDefinition$
|
|
1629
|
+
if (componentDefinition$10 && componentDefinition$10.props) Object.entries(componentDefinition$10.props).forEach(([key, config]) => {
|
|
1491
1630
|
const propConfig = config;
|
|
1492
1631
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$51[key] = propConfig.default;
|
|
1493
1632
|
});
|
|
@@ -1499,7 +1638,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
1499
1638
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1500
1639
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1501
1640
|
const instanceId = useMemo(() => {
|
|
1502
|
-
return props.id || `${componentDefinition$
|
|
1641
|
+
return props.id || `${componentDefinition$10.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1503
1642
|
}, [props.id]);
|
|
1504
1643
|
const effectiveProps = useMemo(() => {
|
|
1505
1644
|
return computeEffectiveProps$51(props, defaultProps$51);
|
|
@@ -1509,7 +1648,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
1509
1648
|
...props.transform
|
|
1510
1649
|
}), [props.transform]);
|
|
1511
1650
|
const uniformsRef = useRef(null);
|
|
1512
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1651
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$10, effectiveProps, instanceId);
|
|
1513
1652
|
const childContextValue = useMemo(() => {
|
|
1514
1653
|
return {
|
|
1515
1654
|
...context,
|
|
@@ -1531,7 +1670,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
1531
1670
|
renderOrder: props.renderOrder || 0,
|
|
1532
1671
|
transform: effectiveTransform
|
|
1533
1672
|
};
|
|
1534
|
-
parentRegister(instanceId, componentDefinition$
|
|
1673
|
+
parentRegister(instanceId, componentDefinition$10.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$10);
|
|
1535
1674
|
return () => {
|
|
1536
1675
|
parentRegister(instanceId, null, null, null, null);
|
|
1537
1676
|
};
|
|
@@ -1604,9 +1743,9 @@ const OmbreComponent$51 = (props) => {
|
|
|
1604
1743
|
children: props.children
|
|
1605
1744
|
});
|
|
1606
1745
|
};
|
|
1607
|
-
var
|
|
1608
|
-
function computeEffectiveProps$50(props, defaultProps$
|
|
1609
|
-
let baseProps = { ...defaultProps$
|
|
1746
|
+
var ChromaFlow_default = OmbreComponent$51;
|
|
1747
|
+
function computeEffectiveProps$50(props, defaultProps$62) {
|
|
1748
|
+
let baseProps = { ...defaultProps$62 };
|
|
1610
1749
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1611
1750
|
return baseProps;
|
|
1612
1751
|
}
|
|
@@ -1625,7 +1764,7 @@ var defaultProps$50 = {
|
|
|
1625
1764
|
visible: true
|
|
1626
1765
|
};
|
|
1627
1766
|
try {
|
|
1628
|
-
if (componentDefinition$
|
|
1767
|
+
if (componentDefinition$11 && componentDefinition$11.props) Object.entries(componentDefinition$11.props).forEach(([key, config]) => {
|
|
1629
1768
|
const propConfig = config;
|
|
1630
1769
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$50[key] = propConfig.default;
|
|
1631
1770
|
});
|
|
@@ -1637,7 +1776,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
1637
1776
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1638
1777
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1639
1778
|
const instanceId = useMemo(() => {
|
|
1640
|
-
return props.id || `${componentDefinition$
|
|
1779
|
+
return props.id || `${componentDefinition$11.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1641
1780
|
}, [props.id]);
|
|
1642
1781
|
const effectiveProps = useMemo(() => {
|
|
1643
1782
|
return computeEffectiveProps$50(props, defaultProps$50);
|
|
@@ -1647,7 +1786,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
1647
1786
|
...props.transform
|
|
1648
1787
|
}), [props.transform]);
|
|
1649
1788
|
const uniformsRef = useRef(null);
|
|
1650
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1789
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$11, effectiveProps, instanceId);
|
|
1651
1790
|
const childContextValue = useMemo(() => {
|
|
1652
1791
|
return {
|
|
1653
1792
|
...context,
|
|
@@ -1669,7 +1808,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
1669
1808
|
renderOrder: props.renderOrder || 0,
|
|
1670
1809
|
transform: effectiveTransform
|
|
1671
1810
|
};
|
|
1672
|
-
parentRegister(instanceId, componentDefinition$
|
|
1811
|
+
parentRegister(instanceId, componentDefinition$11.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$11);
|
|
1673
1812
|
return () => {
|
|
1674
1813
|
parentRegister(instanceId, null, null, null, null);
|
|
1675
1814
|
};
|
|
@@ -1742,9 +1881,9 @@ const OmbreComponent$50 = (props) => {
|
|
|
1742
1881
|
children: props.children
|
|
1743
1882
|
});
|
|
1744
1883
|
};
|
|
1745
|
-
var
|
|
1746
|
-
function computeEffectiveProps$49(props, defaultProps$
|
|
1747
|
-
let baseProps = { ...defaultProps$
|
|
1884
|
+
var ChromaticAberration_default = OmbreComponent$50;
|
|
1885
|
+
function computeEffectiveProps$49(props, defaultProps$62) {
|
|
1886
|
+
let baseProps = { ...defaultProps$62 };
|
|
1748
1887
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1749
1888
|
return baseProps;
|
|
1750
1889
|
}
|
|
@@ -1763,7 +1902,7 @@ var defaultProps$49 = {
|
|
|
1763
1902
|
visible: true
|
|
1764
1903
|
};
|
|
1765
1904
|
try {
|
|
1766
|
-
if (componentDefinition$
|
|
1905
|
+
if (componentDefinition$12 && componentDefinition$12.props) Object.entries(componentDefinition$12.props).forEach(([key, config]) => {
|
|
1767
1906
|
const propConfig = config;
|
|
1768
1907
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$49[key] = propConfig.default;
|
|
1769
1908
|
});
|
|
@@ -1775,7 +1914,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1775
1914
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1776
1915
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1777
1916
|
const instanceId = useMemo(() => {
|
|
1778
|
-
return props.id || `${componentDefinition$
|
|
1917
|
+
return props.id || `${componentDefinition$12.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1779
1918
|
}, [props.id]);
|
|
1780
1919
|
const effectiveProps = useMemo(() => {
|
|
1781
1920
|
return computeEffectiveProps$49(props, defaultProps$49);
|
|
@@ -1785,7 +1924,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1785
1924
|
...props.transform
|
|
1786
1925
|
}), [props.transform]);
|
|
1787
1926
|
const uniformsRef = useRef(null);
|
|
1788
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1927
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$12, effectiveProps, instanceId);
|
|
1789
1928
|
const childContextValue = useMemo(() => {
|
|
1790
1929
|
return {
|
|
1791
1930
|
...context,
|
|
@@ -1807,7 +1946,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1807
1946
|
renderOrder: props.renderOrder || 0,
|
|
1808
1947
|
transform: effectiveTransform
|
|
1809
1948
|
};
|
|
1810
|
-
parentRegister(instanceId, componentDefinition$
|
|
1949
|
+
parentRegister(instanceId, componentDefinition$12.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$12);
|
|
1811
1950
|
return () => {
|
|
1812
1951
|
parentRegister(instanceId, null, null, null, null);
|
|
1813
1952
|
};
|
|
@@ -1880,9 +2019,9 @@ const OmbreComponent$49 = (props) => {
|
|
|
1880
2019
|
children: props.children
|
|
1881
2020
|
});
|
|
1882
2021
|
};
|
|
1883
|
-
var
|
|
1884
|
-
function computeEffectiveProps$48(props, defaultProps$
|
|
1885
|
-
let baseProps = { ...defaultProps$
|
|
2022
|
+
var Circle_default = OmbreComponent$49;
|
|
2023
|
+
function computeEffectiveProps$48(props, defaultProps$62) {
|
|
2024
|
+
let baseProps = { ...defaultProps$62 };
|
|
1886
2025
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1887
2026
|
return baseProps;
|
|
1888
2027
|
}
|
|
@@ -1901,7 +2040,7 @@ var defaultProps$48 = {
|
|
|
1901
2040
|
visible: true
|
|
1902
2041
|
};
|
|
1903
2042
|
try {
|
|
1904
|
-
if (componentDefinition$
|
|
2043
|
+
if (componentDefinition$13 && componentDefinition$13.props) Object.entries(componentDefinition$13.props).forEach(([key, config]) => {
|
|
1905
2044
|
const propConfig = config;
|
|
1906
2045
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$48[key] = propConfig.default;
|
|
1907
2046
|
});
|
|
@@ -1913,7 +2052,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1913
2052
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1914
2053
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1915
2054
|
const instanceId = useMemo(() => {
|
|
1916
|
-
return props.id || `${componentDefinition$
|
|
2055
|
+
return props.id || `${componentDefinition$13.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1917
2056
|
}, [props.id]);
|
|
1918
2057
|
const effectiveProps = useMemo(() => {
|
|
1919
2058
|
return computeEffectiveProps$48(props, defaultProps$48);
|
|
@@ -1923,7 +2062,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1923
2062
|
...props.transform
|
|
1924
2063
|
}), [props.transform]);
|
|
1925
2064
|
const uniformsRef = useRef(null);
|
|
1926
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2065
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$13, effectiveProps, instanceId);
|
|
1927
2066
|
const childContextValue = useMemo(() => {
|
|
1928
2067
|
return {
|
|
1929
2068
|
...context,
|
|
@@ -1945,7 +2084,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1945
2084
|
renderOrder: props.renderOrder || 0,
|
|
1946
2085
|
transform: effectiveTransform
|
|
1947
2086
|
};
|
|
1948
|
-
parentRegister(instanceId, componentDefinition$
|
|
2087
|
+
parentRegister(instanceId, componentDefinition$13.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$13);
|
|
1949
2088
|
return () => {
|
|
1950
2089
|
parentRegister(instanceId, null, null, null, null);
|
|
1951
2090
|
};
|
|
@@ -2018,9 +2157,9 @@ const OmbreComponent$48 = (props) => {
|
|
|
2018
2157
|
children: props.children
|
|
2019
2158
|
});
|
|
2020
2159
|
};
|
|
2021
|
-
var
|
|
2022
|
-
function computeEffectiveProps$47(props, defaultProps$
|
|
2023
|
-
let baseProps = { ...defaultProps$
|
|
2160
|
+
var CursorTrail_default = OmbreComponent$48;
|
|
2161
|
+
function computeEffectiveProps$47(props, defaultProps$62) {
|
|
2162
|
+
let baseProps = { ...defaultProps$62 };
|
|
2024
2163
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2025
2164
|
return baseProps;
|
|
2026
2165
|
}
|
|
@@ -2039,7 +2178,7 @@ var defaultProps$47 = {
|
|
|
2039
2178
|
visible: true
|
|
2040
2179
|
};
|
|
2041
2180
|
try {
|
|
2042
|
-
if (componentDefinition$
|
|
2181
|
+
if (componentDefinition$14 && componentDefinition$14.props) Object.entries(componentDefinition$14.props).forEach(([key, config]) => {
|
|
2043
2182
|
const propConfig = config;
|
|
2044
2183
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$47[key] = propConfig.default;
|
|
2045
2184
|
});
|
|
@@ -2051,7 +2190,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
2051
2190
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2052
2191
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2053
2192
|
const instanceId = useMemo(() => {
|
|
2054
|
-
return props.id || `${componentDefinition$
|
|
2193
|
+
return props.id || `${componentDefinition$14.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2055
2194
|
}, [props.id]);
|
|
2056
2195
|
const effectiveProps = useMemo(() => {
|
|
2057
2196
|
return computeEffectiveProps$47(props, defaultProps$47);
|
|
@@ -2061,7 +2200,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
2061
2200
|
...props.transform
|
|
2062
2201
|
}), [props.transform]);
|
|
2063
2202
|
const uniformsRef = useRef(null);
|
|
2064
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2203
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$14, effectiveProps, instanceId);
|
|
2065
2204
|
const childContextValue = useMemo(() => {
|
|
2066
2205
|
return {
|
|
2067
2206
|
...context,
|
|
@@ -2083,7 +2222,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
2083
2222
|
renderOrder: props.renderOrder || 0,
|
|
2084
2223
|
transform: effectiveTransform
|
|
2085
2224
|
};
|
|
2086
|
-
parentRegister(instanceId, componentDefinition$
|
|
2225
|
+
parentRegister(instanceId, componentDefinition$14.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$14);
|
|
2087
2226
|
return () => {
|
|
2088
2227
|
parentRegister(instanceId, null, null, null, null);
|
|
2089
2228
|
};
|
|
@@ -2156,9 +2295,9 @@ const OmbreComponent$47 = (props) => {
|
|
|
2156
2295
|
children: props.children
|
|
2157
2296
|
});
|
|
2158
2297
|
};
|
|
2159
|
-
var
|
|
2160
|
-
function computeEffectiveProps$46(props, defaultProps$
|
|
2161
|
-
let baseProps = { ...defaultProps$
|
|
2298
|
+
var DiffuseBlur_default = OmbreComponent$47;
|
|
2299
|
+
function computeEffectiveProps$46(props, defaultProps$62) {
|
|
2300
|
+
let baseProps = { ...defaultProps$62 };
|
|
2162
2301
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2163
2302
|
return baseProps;
|
|
2164
2303
|
}
|
|
@@ -2177,7 +2316,7 @@ var defaultProps$46 = {
|
|
|
2177
2316
|
visible: true
|
|
2178
2317
|
};
|
|
2179
2318
|
try {
|
|
2180
|
-
if (componentDefinition$
|
|
2319
|
+
if (componentDefinition$15 && componentDefinition$15.props) Object.entries(componentDefinition$15.props).forEach(([key, config]) => {
|
|
2181
2320
|
const propConfig = config;
|
|
2182
2321
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$46[key] = propConfig.default;
|
|
2183
2322
|
});
|
|
@@ -2189,7 +2328,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
2189
2328
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2190
2329
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2191
2330
|
const instanceId = useMemo(() => {
|
|
2192
|
-
return props.id || `${componentDefinition$
|
|
2331
|
+
return props.id || `${componentDefinition$15.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2193
2332
|
}, [props.id]);
|
|
2194
2333
|
const effectiveProps = useMemo(() => {
|
|
2195
2334
|
return computeEffectiveProps$46(props, defaultProps$46);
|
|
@@ -2199,7 +2338,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
2199
2338
|
...props.transform
|
|
2200
2339
|
}), [props.transform]);
|
|
2201
2340
|
const uniformsRef = useRef(null);
|
|
2202
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2341
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$15, effectiveProps, instanceId);
|
|
2203
2342
|
const childContextValue = useMemo(() => {
|
|
2204
2343
|
return {
|
|
2205
2344
|
...context,
|
|
@@ -2221,7 +2360,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
2221
2360
|
renderOrder: props.renderOrder || 0,
|
|
2222
2361
|
transform: effectiveTransform
|
|
2223
2362
|
};
|
|
2224
|
-
parentRegister(instanceId, componentDefinition$
|
|
2363
|
+
parentRegister(instanceId, componentDefinition$15.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$15);
|
|
2225
2364
|
return () => {
|
|
2226
2365
|
parentRegister(instanceId, null, null, null, null);
|
|
2227
2366
|
};
|
|
@@ -2294,9 +2433,9 @@ const OmbreComponent$46 = (props) => {
|
|
|
2294
2433
|
children: props.children
|
|
2295
2434
|
});
|
|
2296
2435
|
};
|
|
2297
|
-
var
|
|
2298
|
-
function computeEffectiveProps$45(props, defaultProps$
|
|
2299
|
-
let baseProps = { ...defaultProps$
|
|
2436
|
+
var Dither_default = OmbreComponent$46;
|
|
2437
|
+
function computeEffectiveProps$45(props, defaultProps$62) {
|
|
2438
|
+
let baseProps = { ...defaultProps$62 };
|
|
2300
2439
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2301
2440
|
return baseProps;
|
|
2302
2441
|
}
|
|
@@ -2315,7 +2454,7 @@ var defaultProps$45 = {
|
|
|
2315
2454
|
visible: true
|
|
2316
2455
|
};
|
|
2317
2456
|
try {
|
|
2318
|
-
if (componentDefinition$
|
|
2457
|
+
if (componentDefinition$16 && componentDefinition$16.props) Object.entries(componentDefinition$16.props).forEach(([key, config]) => {
|
|
2319
2458
|
const propConfig = config;
|
|
2320
2459
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$45[key] = propConfig.default;
|
|
2321
2460
|
});
|
|
@@ -2327,7 +2466,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
2327
2466
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2328
2467
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2329
2468
|
const instanceId = useMemo(() => {
|
|
2330
|
-
return props.id || `${componentDefinition$
|
|
2469
|
+
return props.id || `${componentDefinition$16.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2331
2470
|
}, [props.id]);
|
|
2332
2471
|
const effectiveProps = useMemo(() => {
|
|
2333
2472
|
return computeEffectiveProps$45(props, defaultProps$45);
|
|
@@ -2337,7 +2476,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
2337
2476
|
...props.transform
|
|
2338
2477
|
}), [props.transform]);
|
|
2339
2478
|
const uniformsRef = useRef(null);
|
|
2340
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2479
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$16, effectiveProps, instanceId);
|
|
2341
2480
|
const childContextValue = useMemo(() => {
|
|
2342
2481
|
return {
|
|
2343
2482
|
...context,
|
|
@@ -2359,7 +2498,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
2359
2498
|
renderOrder: props.renderOrder || 0,
|
|
2360
2499
|
transform: effectiveTransform
|
|
2361
2500
|
};
|
|
2362
|
-
parentRegister(instanceId, componentDefinition$
|
|
2501
|
+
parentRegister(instanceId, componentDefinition$16.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$16);
|
|
2363
2502
|
return () => {
|
|
2364
2503
|
parentRegister(instanceId, null, null, null, null);
|
|
2365
2504
|
};
|
|
@@ -2432,9 +2571,9 @@ const OmbreComponent$45 = (props) => {
|
|
|
2432
2571
|
children: props.children
|
|
2433
2572
|
});
|
|
2434
2573
|
};
|
|
2435
|
-
var
|
|
2436
|
-
function computeEffectiveProps$44(props, defaultProps$
|
|
2437
|
-
let baseProps = { ...defaultProps$
|
|
2574
|
+
var DotGrid_default = OmbreComponent$45;
|
|
2575
|
+
function computeEffectiveProps$44(props, defaultProps$62) {
|
|
2576
|
+
let baseProps = { ...defaultProps$62 };
|
|
2438
2577
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2439
2578
|
return baseProps;
|
|
2440
2579
|
}
|
|
@@ -2453,7 +2592,7 @@ var defaultProps$44 = {
|
|
|
2453
2592
|
visible: true
|
|
2454
2593
|
};
|
|
2455
2594
|
try {
|
|
2456
|
-
if (componentDefinition$
|
|
2595
|
+
if (componentDefinition$17 && componentDefinition$17.props) Object.entries(componentDefinition$17.props).forEach(([key, config]) => {
|
|
2457
2596
|
const propConfig = config;
|
|
2458
2597
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$44[key] = propConfig.default;
|
|
2459
2598
|
});
|
|
@@ -2465,7 +2604,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
2465
2604
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2466
2605
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2467
2606
|
const instanceId = useMemo(() => {
|
|
2468
|
-
return props.id || `${componentDefinition$
|
|
2607
|
+
return props.id || `${componentDefinition$17.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2469
2608
|
}, [props.id]);
|
|
2470
2609
|
const effectiveProps = useMemo(() => {
|
|
2471
2610
|
return computeEffectiveProps$44(props, defaultProps$44);
|
|
@@ -2475,7 +2614,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
2475
2614
|
...props.transform
|
|
2476
2615
|
}), [props.transform]);
|
|
2477
2616
|
const uniformsRef = useRef(null);
|
|
2478
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2617
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$17, effectiveProps, instanceId);
|
|
2479
2618
|
const childContextValue = useMemo(() => {
|
|
2480
2619
|
return {
|
|
2481
2620
|
...context,
|
|
@@ -2497,7 +2636,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
2497
2636
|
renderOrder: props.renderOrder || 0,
|
|
2498
2637
|
transform: effectiveTransform
|
|
2499
2638
|
};
|
|
2500
|
-
parentRegister(instanceId, componentDefinition$
|
|
2639
|
+
parentRegister(instanceId, componentDefinition$17.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$17);
|
|
2501
2640
|
return () => {
|
|
2502
2641
|
parentRegister(instanceId, null, null, null, null);
|
|
2503
2642
|
};
|
|
@@ -2570,9 +2709,9 @@ const OmbreComponent$44 = (props) => {
|
|
|
2570
2709
|
children: props.children
|
|
2571
2710
|
});
|
|
2572
2711
|
};
|
|
2573
|
-
var
|
|
2574
|
-
function computeEffectiveProps$43(props, defaultProps$
|
|
2575
|
-
let baseProps = { ...defaultProps$
|
|
2712
|
+
var Duotone_default = OmbreComponent$44;
|
|
2713
|
+
function computeEffectiveProps$43(props, defaultProps$62) {
|
|
2714
|
+
let baseProps = { ...defaultProps$62 };
|
|
2576
2715
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2577
2716
|
return baseProps;
|
|
2578
2717
|
}
|
|
@@ -2591,7 +2730,7 @@ var defaultProps$43 = {
|
|
|
2591
2730
|
visible: true
|
|
2592
2731
|
};
|
|
2593
2732
|
try {
|
|
2594
|
-
if (componentDefinition$
|
|
2733
|
+
if (componentDefinition$18 && componentDefinition$18.props) Object.entries(componentDefinition$18.props).forEach(([key, config]) => {
|
|
2595
2734
|
const propConfig = config;
|
|
2596
2735
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$43[key] = propConfig.default;
|
|
2597
2736
|
});
|
|
@@ -2603,7 +2742,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
2603
2742
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2604
2743
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2605
2744
|
const instanceId = useMemo(() => {
|
|
2606
|
-
return props.id || `${componentDefinition$
|
|
2745
|
+
return props.id || `${componentDefinition$18.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2607
2746
|
}, [props.id]);
|
|
2608
2747
|
const effectiveProps = useMemo(() => {
|
|
2609
2748
|
return computeEffectiveProps$43(props, defaultProps$43);
|
|
@@ -2613,7 +2752,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
2613
2752
|
...props.transform
|
|
2614
2753
|
}), [props.transform]);
|
|
2615
2754
|
const uniformsRef = useRef(null);
|
|
2616
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2755
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$18, effectiveProps, instanceId);
|
|
2617
2756
|
const childContextValue = useMemo(() => {
|
|
2618
2757
|
return {
|
|
2619
2758
|
...context,
|
|
@@ -2635,7 +2774,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
2635
2774
|
renderOrder: props.renderOrder || 0,
|
|
2636
2775
|
transform: effectiveTransform
|
|
2637
2776
|
};
|
|
2638
|
-
parentRegister(instanceId, componentDefinition$
|
|
2777
|
+
parentRegister(instanceId, componentDefinition$18.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$18);
|
|
2639
2778
|
return () => {
|
|
2640
2779
|
parentRegister(instanceId, null, null, null, null);
|
|
2641
2780
|
};
|
|
@@ -2708,9 +2847,9 @@ const OmbreComponent$43 = (props) => {
|
|
|
2708
2847
|
children: props.children
|
|
2709
2848
|
});
|
|
2710
2849
|
};
|
|
2711
|
-
var
|
|
2712
|
-
function computeEffectiveProps$42(props, defaultProps$
|
|
2713
|
-
let baseProps = { ...defaultProps$
|
|
2850
|
+
var FilmGrain_default = OmbreComponent$43;
|
|
2851
|
+
function computeEffectiveProps$42(props, defaultProps$62) {
|
|
2852
|
+
let baseProps = { ...defaultProps$62 };
|
|
2714
2853
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2715
2854
|
return baseProps;
|
|
2716
2855
|
}
|
|
@@ -2729,7 +2868,7 @@ var defaultProps$42 = {
|
|
|
2729
2868
|
visible: true
|
|
2730
2869
|
};
|
|
2731
2870
|
try {
|
|
2732
|
-
if (componentDefinition$
|
|
2871
|
+
if (componentDefinition$19 && componentDefinition$19.props) Object.entries(componentDefinition$19.props).forEach(([key, config]) => {
|
|
2733
2872
|
const propConfig = config;
|
|
2734
2873
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$42[key] = propConfig.default;
|
|
2735
2874
|
});
|
|
@@ -2741,7 +2880,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2741
2880
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2742
2881
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2743
2882
|
const instanceId = useMemo(() => {
|
|
2744
|
-
return props.id || `${componentDefinition$
|
|
2883
|
+
return props.id || `${componentDefinition$19.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2745
2884
|
}, [props.id]);
|
|
2746
2885
|
const effectiveProps = useMemo(() => {
|
|
2747
2886
|
return computeEffectiveProps$42(props, defaultProps$42);
|
|
@@ -2751,7 +2890,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2751
2890
|
...props.transform
|
|
2752
2891
|
}), [props.transform]);
|
|
2753
2892
|
const uniformsRef = useRef(null);
|
|
2754
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2893
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$19, effectiveProps, instanceId);
|
|
2755
2894
|
const childContextValue = useMemo(() => {
|
|
2756
2895
|
return {
|
|
2757
2896
|
...context,
|
|
@@ -2773,7 +2912,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2773
2912
|
renderOrder: props.renderOrder || 0,
|
|
2774
2913
|
transform: effectiveTransform
|
|
2775
2914
|
};
|
|
2776
|
-
parentRegister(instanceId, componentDefinition$
|
|
2915
|
+
parentRegister(instanceId, componentDefinition$19.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$19);
|
|
2777
2916
|
return () => {
|
|
2778
2917
|
parentRegister(instanceId, null, null, null, null);
|
|
2779
2918
|
};
|
|
@@ -2846,9 +2985,9 @@ const OmbreComponent$42 = (props) => {
|
|
|
2846
2985
|
children: props.children
|
|
2847
2986
|
});
|
|
2848
2987
|
};
|
|
2849
|
-
var
|
|
2850
|
-
function computeEffectiveProps$41(props, defaultProps$
|
|
2851
|
-
let baseProps = { ...defaultProps$
|
|
2988
|
+
var FloatingParticles_default = OmbreComponent$42;
|
|
2989
|
+
function computeEffectiveProps$41(props, defaultProps$62) {
|
|
2990
|
+
let baseProps = { ...defaultProps$62 };
|
|
2852
2991
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2853
2992
|
return baseProps;
|
|
2854
2993
|
}
|
|
@@ -2867,7 +3006,7 @@ var defaultProps$41 = {
|
|
|
2867
3006
|
visible: true
|
|
2868
3007
|
};
|
|
2869
3008
|
try {
|
|
2870
|
-
if (componentDefinition$
|
|
3009
|
+
if (componentDefinition$20 && componentDefinition$20.props) Object.entries(componentDefinition$20.props).forEach(([key, config]) => {
|
|
2871
3010
|
const propConfig = config;
|
|
2872
3011
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$41[key] = propConfig.default;
|
|
2873
3012
|
});
|
|
@@ -2879,7 +3018,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2879
3018
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2880
3019
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2881
3020
|
const instanceId = useMemo(() => {
|
|
2882
|
-
return props.id || `${componentDefinition$
|
|
3021
|
+
return props.id || `${componentDefinition$20.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2883
3022
|
}, [props.id]);
|
|
2884
3023
|
const effectiveProps = useMemo(() => {
|
|
2885
3024
|
return computeEffectiveProps$41(props, defaultProps$41);
|
|
@@ -2889,7 +3028,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2889
3028
|
...props.transform
|
|
2890
3029
|
}), [props.transform]);
|
|
2891
3030
|
const uniformsRef = useRef(null);
|
|
2892
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3031
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$20, effectiveProps, instanceId);
|
|
2893
3032
|
const childContextValue = useMemo(() => {
|
|
2894
3033
|
return {
|
|
2895
3034
|
...context,
|
|
@@ -2911,7 +3050,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2911
3050
|
renderOrder: props.renderOrder || 0,
|
|
2912
3051
|
transform: effectiveTransform
|
|
2913
3052
|
};
|
|
2914
|
-
parentRegister(instanceId, componentDefinition$
|
|
3053
|
+
parentRegister(instanceId, componentDefinition$20.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$20);
|
|
2915
3054
|
return () => {
|
|
2916
3055
|
parentRegister(instanceId, null, null, null, null);
|
|
2917
3056
|
};
|
|
@@ -2984,9 +3123,9 @@ const OmbreComponent$41 = (props) => {
|
|
|
2984
3123
|
children: props.children
|
|
2985
3124
|
});
|
|
2986
3125
|
};
|
|
2987
|
-
var
|
|
2988
|
-
function computeEffectiveProps$40(props, defaultProps$
|
|
2989
|
-
let baseProps = { ...defaultProps$
|
|
3126
|
+
var GlassTiles_default = OmbreComponent$41;
|
|
3127
|
+
function computeEffectiveProps$40(props, defaultProps$62) {
|
|
3128
|
+
let baseProps = { ...defaultProps$62 };
|
|
2990
3129
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2991
3130
|
return baseProps;
|
|
2992
3131
|
}
|
|
@@ -3005,7 +3144,7 @@ var defaultProps$40 = {
|
|
|
3005
3144
|
visible: true
|
|
3006
3145
|
};
|
|
3007
3146
|
try {
|
|
3008
|
-
if (componentDefinition$
|
|
3147
|
+
if (componentDefinition$21 && componentDefinition$21.props) Object.entries(componentDefinition$21.props).forEach(([key, config]) => {
|
|
3009
3148
|
const propConfig = config;
|
|
3010
3149
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$40[key] = propConfig.default;
|
|
3011
3150
|
});
|
|
@@ -3017,7 +3156,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
3017
3156
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3018
3157
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3019
3158
|
const instanceId = useMemo(() => {
|
|
3020
|
-
return props.id || `${componentDefinition$
|
|
3159
|
+
return props.id || `${componentDefinition$21.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3021
3160
|
}, [props.id]);
|
|
3022
3161
|
const effectiveProps = useMemo(() => {
|
|
3023
3162
|
return computeEffectiveProps$40(props, defaultProps$40);
|
|
@@ -3027,7 +3166,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
3027
3166
|
...props.transform
|
|
3028
3167
|
}), [props.transform]);
|
|
3029
3168
|
const uniformsRef = useRef(null);
|
|
3030
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3169
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$21, effectiveProps, instanceId);
|
|
3031
3170
|
const childContextValue = useMemo(() => {
|
|
3032
3171
|
return {
|
|
3033
3172
|
...context,
|
|
@@ -3049,7 +3188,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
3049
3188
|
renderOrder: props.renderOrder || 0,
|
|
3050
3189
|
transform: effectiveTransform
|
|
3051
3190
|
};
|
|
3052
|
-
parentRegister(instanceId, componentDefinition$
|
|
3191
|
+
parentRegister(instanceId, componentDefinition$21.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$21);
|
|
3053
3192
|
return () => {
|
|
3054
3193
|
parentRegister(instanceId, null, null, null, null);
|
|
3055
3194
|
};
|
|
@@ -3122,9 +3261,9 @@ const OmbreComponent$40 = (props) => {
|
|
|
3122
3261
|
children: props.children
|
|
3123
3262
|
});
|
|
3124
3263
|
};
|
|
3125
|
-
var
|
|
3126
|
-
function computeEffectiveProps$39(props, defaultProps$
|
|
3127
|
-
let baseProps = { ...defaultProps$
|
|
3264
|
+
var Glow_default = OmbreComponent$40;
|
|
3265
|
+
function computeEffectiveProps$39(props, defaultProps$62) {
|
|
3266
|
+
let baseProps = { ...defaultProps$62 };
|
|
3128
3267
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3129
3268
|
return baseProps;
|
|
3130
3269
|
}
|
|
@@ -3143,7 +3282,7 @@ var defaultProps$39 = {
|
|
|
3143
3282
|
visible: true
|
|
3144
3283
|
};
|
|
3145
3284
|
try {
|
|
3146
|
-
if (componentDefinition$
|
|
3285
|
+
if (componentDefinition$22 && componentDefinition$22.props) Object.entries(componentDefinition$22.props).forEach(([key, config]) => {
|
|
3147
3286
|
const propConfig = config;
|
|
3148
3287
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$39[key] = propConfig.default;
|
|
3149
3288
|
});
|
|
@@ -3155,7 +3294,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
3155
3294
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3156
3295
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3157
3296
|
const instanceId = useMemo(() => {
|
|
3158
|
-
return props.id || `${componentDefinition$
|
|
3297
|
+
return props.id || `${componentDefinition$22.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3159
3298
|
}, [props.id]);
|
|
3160
3299
|
const effectiveProps = useMemo(() => {
|
|
3161
3300
|
return computeEffectiveProps$39(props, defaultProps$39);
|
|
@@ -3165,7 +3304,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
3165
3304
|
...props.transform
|
|
3166
3305
|
}), [props.transform]);
|
|
3167
3306
|
const uniformsRef = useRef(null);
|
|
3168
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3307
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$22, effectiveProps, instanceId);
|
|
3169
3308
|
const childContextValue = useMemo(() => {
|
|
3170
3309
|
return {
|
|
3171
3310
|
...context,
|
|
@@ -3187,7 +3326,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
3187
3326
|
renderOrder: props.renderOrder || 0,
|
|
3188
3327
|
transform: effectiveTransform
|
|
3189
3328
|
};
|
|
3190
|
-
parentRegister(instanceId, componentDefinition$
|
|
3329
|
+
parentRegister(instanceId, componentDefinition$22.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$22);
|
|
3191
3330
|
return () => {
|
|
3192
3331
|
parentRegister(instanceId, null, null, null, null);
|
|
3193
3332
|
};
|
|
@@ -3260,9 +3399,9 @@ const OmbreComponent$39 = (props) => {
|
|
|
3260
3399
|
children: props.children
|
|
3261
3400
|
});
|
|
3262
3401
|
};
|
|
3263
|
-
var
|
|
3264
|
-
function computeEffectiveProps$38(props, defaultProps$
|
|
3265
|
-
let baseProps = { ...defaultProps$
|
|
3402
|
+
var Godrays_default = OmbreComponent$39;
|
|
3403
|
+
function computeEffectiveProps$38(props, defaultProps$62) {
|
|
3404
|
+
let baseProps = { ...defaultProps$62 };
|
|
3266
3405
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3267
3406
|
return baseProps;
|
|
3268
3407
|
}
|
|
@@ -3281,7 +3420,7 @@ var defaultProps$38 = {
|
|
|
3281
3420
|
visible: true
|
|
3282
3421
|
};
|
|
3283
3422
|
try {
|
|
3284
|
-
if (componentDefinition$
|
|
3423
|
+
if (componentDefinition$23 && componentDefinition$23.props) Object.entries(componentDefinition$23.props).forEach(([key, config]) => {
|
|
3285
3424
|
const propConfig = config;
|
|
3286
3425
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$38[key] = propConfig.default;
|
|
3287
3426
|
});
|
|
@@ -3293,7 +3432,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
3293
3432
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3294
3433
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3295
3434
|
const instanceId = useMemo(() => {
|
|
3296
|
-
return props.id || `${componentDefinition$
|
|
3435
|
+
return props.id || `${componentDefinition$23.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3297
3436
|
}, [props.id]);
|
|
3298
3437
|
const effectiveProps = useMemo(() => {
|
|
3299
3438
|
return computeEffectiveProps$38(props, defaultProps$38);
|
|
@@ -3303,7 +3442,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
3303
3442
|
...props.transform
|
|
3304
3443
|
}), [props.transform]);
|
|
3305
3444
|
const uniformsRef = useRef(null);
|
|
3306
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3445
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$23, effectiveProps, instanceId);
|
|
3307
3446
|
const childContextValue = useMemo(() => {
|
|
3308
3447
|
return {
|
|
3309
3448
|
...context,
|
|
@@ -3325,7 +3464,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
3325
3464
|
renderOrder: props.renderOrder || 0,
|
|
3326
3465
|
transform: effectiveTransform
|
|
3327
3466
|
};
|
|
3328
|
-
parentRegister(instanceId, componentDefinition$
|
|
3467
|
+
parentRegister(instanceId, componentDefinition$23.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$23);
|
|
3329
3468
|
return () => {
|
|
3330
3469
|
parentRegister(instanceId, null, null, null, null);
|
|
3331
3470
|
};
|
|
@@ -3398,9 +3537,9 @@ const OmbreComponent$38 = (props) => {
|
|
|
3398
3537
|
children: props.children
|
|
3399
3538
|
});
|
|
3400
3539
|
};
|
|
3401
|
-
var
|
|
3402
|
-
function computeEffectiveProps$37(props, defaultProps$
|
|
3403
|
-
let baseProps = { ...defaultProps$
|
|
3540
|
+
var Grayscale_default = OmbreComponent$38;
|
|
3541
|
+
function computeEffectiveProps$37(props, defaultProps$62) {
|
|
3542
|
+
let baseProps = { ...defaultProps$62 };
|
|
3404
3543
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3405
3544
|
return baseProps;
|
|
3406
3545
|
}
|
|
@@ -3419,7 +3558,7 @@ var defaultProps$37 = {
|
|
|
3419
3558
|
visible: true
|
|
3420
3559
|
};
|
|
3421
3560
|
try {
|
|
3422
|
-
if (componentDefinition$
|
|
3561
|
+
if (componentDefinition$24 && componentDefinition$24.props) Object.entries(componentDefinition$24.props).forEach(([key, config]) => {
|
|
3423
3562
|
const propConfig = config;
|
|
3424
3563
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$37[key] = propConfig.default;
|
|
3425
3564
|
});
|
|
@@ -3431,7 +3570,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
3431
3570
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3432
3571
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3433
3572
|
const instanceId = useMemo(() => {
|
|
3434
|
-
return props.id || `${componentDefinition$
|
|
3573
|
+
return props.id || `${componentDefinition$24.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3435
3574
|
}, [props.id]);
|
|
3436
3575
|
const effectiveProps = useMemo(() => {
|
|
3437
3576
|
return computeEffectiveProps$37(props, defaultProps$37);
|
|
@@ -3441,7 +3580,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
3441
3580
|
...props.transform
|
|
3442
3581
|
}), [props.transform]);
|
|
3443
3582
|
const uniformsRef = useRef(null);
|
|
3444
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3583
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$24, effectiveProps, instanceId);
|
|
3445
3584
|
const childContextValue = useMemo(() => {
|
|
3446
3585
|
return {
|
|
3447
3586
|
...context,
|
|
@@ -3463,7 +3602,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
3463
3602
|
renderOrder: props.renderOrder || 0,
|
|
3464
3603
|
transform: effectiveTransform
|
|
3465
3604
|
};
|
|
3466
|
-
parentRegister(instanceId, componentDefinition$
|
|
3605
|
+
parentRegister(instanceId, componentDefinition$24.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$24);
|
|
3467
3606
|
return () => {
|
|
3468
3607
|
parentRegister(instanceId, null, null, null, null);
|
|
3469
3608
|
};
|
|
@@ -3536,9 +3675,9 @@ const OmbreComponent$37 = (props) => {
|
|
|
3536
3675
|
children: props.children
|
|
3537
3676
|
});
|
|
3538
3677
|
};
|
|
3539
|
-
var
|
|
3540
|
-
function computeEffectiveProps$36(props, defaultProps$
|
|
3541
|
-
let baseProps = { ...defaultProps$
|
|
3678
|
+
var Grid_default = OmbreComponent$37;
|
|
3679
|
+
function computeEffectiveProps$36(props, defaultProps$62) {
|
|
3680
|
+
let baseProps = { ...defaultProps$62 };
|
|
3542
3681
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3543
3682
|
return baseProps;
|
|
3544
3683
|
}
|
|
@@ -3557,7 +3696,7 @@ var defaultProps$36 = {
|
|
|
3557
3696
|
visible: true
|
|
3558
3697
|
};
|
|
3559
3698
|
try {
|
|
3560
|
-
if (componentDefinition$
|
|
3699
|
+
if (componentDefinition$25 && componentDefinition$25.props) Object.entries(componentDefinition$25.props).forEach(([key, config]) => {
|
|
3561
3700
|
const propConfig = config;
|
|
3562
3701
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$36[key] = propConfig.default;
|
|
3563
3702
|
});
|
|
@@ -3569,7 +3708,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
3569
3708
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3570
3709
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3571
3710
|
const instanceId = useMemo(() => {
|
|
3572
|
-
return props.id || `${componentDefinition$
|
|
3711
|
+
return props.id || `${componentDefinition$25.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3573
3712
|
}, [props.id]);
|
|
3574
3713
|
const effectiveProps = useMemo(() => {
|
|
3575
3714
|
return computeEffectiveProps$36(props, defaultProps$36);
|
|
@@ -3579,7 +3718,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
3579
3718
|
...props.transform
|
|
3580
3719
|
}), [props.transform]);
|
|
3581
3720
|
const uniformsRef = useRef(null);
|
|
3582
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3721
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$25, effectiveProps, instanceId);
|
|
3583
3722
|
const childContextValue = useMemo(() => {
|
|
3584
3723
|
return {
|
|
3585
3724
|
...context,
|
|
@@ -3601,7 +3740,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
3601
3740
|
renderOrder: props.renderOrder || 0,
|
|
3602
3741
|
transform: effectiveTransform
|
|
3603
3742
|
};
|
|
3604
|
-
parentRegister(instanceId, componentDefinition$
|
|
3743
|
+
parentRegister(instanceId, componentDefinition$25.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$25);
|
|
3605
3744
|
return () => {
|
|
3606
3745
|
parentRegister(instanceId, null, null, null, null);
|
|
3607
3746
|
};
|
|
@@ -3674,9 +3813,9 @@ const OmbreComponent$36 = (props) => {
|
|
|
3674
3813
|
children: props.children
|
|
3675
3814
|
});
|
|
3676
3815
|
};
|
|
3677
|
-
var
|
|
3678
|
-
function computeEffectiveProps$35(props, defaultProps$
|
|
3679
|
-
let baseProps = { ...defaultProps$
|
|
3816
|
+
var GridDistortion_default = OmbreComponent$36;
|
|
3817
|
+
function computeEffectiveProps$35(props, defaultProps$62) {
|
|
3818
|
+
let baseProps = { ...defaultProps$62 };
|
|
3680
3819
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3681
3820
|
return baseProps;
|
|
3682
3821
|
}
|
|
@@ -3695,7 +3834,7 @@ var defaultProps$35 = {
|
|
|
3695
3834
|
visible: true
|
|
3696
3835
|
};
|
|
3697
3836
|
try {
|
|
3698
|
-
if (componentDefinition$
|
|
3837
|
+
if (componentDefinition$26 && componentDefinition$26.props) Object.entries(componentDefinition$26.props).forEach(([key, config]) => {
|
|
3699
3838
|
const propConfig = config;
|
|
3700
3839
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$35[key] = propConfig.default;
|
|
3701
3840
|
});
|
|
@@ -3707,7 +3846,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3707
3846
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3708
3847
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3709
3848
|
const instanceId = useMemo(() => {
|
|
3710
|
-
return props.id || `${componentDefinition$
|
|
3849
|
+
return props.id || `${componentDefinition$26.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3711
3850
|
}, [props.id]);
|
|
3712
3851
|
const effectiveProps = useMemo(() => {
|
|
3713
3852
|
return computeEffectiveProps$35(props, defaultProps$35);
|
|
@@ -3717,7 +3856,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3717
3856
|
...props.transform
|
|
3718
3857
|
}), [props.transform]);
|
|
3719
3858
|
const uniformsRef = useRef(null);
|
|
3720
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3859
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$26, effectiveProps, instanceId);
|
|
3721
3860
|
const childContextValue = useMemo(() => {
|
|
3722
3861
|
return {
|
|
3723
3862
|
...context,
|
|
@@ -3739,7 +3878,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3739
3878
|
renderOrder: props.renderOrder || 0,
|
|
3740
3879
|
transform: effectiveTransform
|
|
3741
3880
|
};
|
|
3742
|
-
parentRegister(instanceId, componentDefinition$
|
|
3881
|
+
parentRegister(instanceId, componentDefinition$26.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$26);
|
|
3743
3882
|
return () => {
|
|
3744
3883
|
parentRegister(instanceId, null, null, null, null);
|
|
3745
3884
|
};
|
|
@@ -3812,9 +3951,9 @@ const OmbreComponent$35 = (props) => {
|
|
|
3812
3951
|
children: props.children
|
|
3813
3952
|
});
|
|
3814
3953
|
};
|
|
3815
|
-
var
|
|
3816
|
-
function computeEffectiveProps$34(props, defaultProps$
|
|
3817
|
-
let baseProps = { ...defaultProps$
|
|
3954
|
+
var Group_default = OmbreComponent$35;
|
|
3955
|
+
function computeEffectiveProps$34(props, defaultProps$62) {
|
|
3956
|
+
let baseProps = { ...defaultProps$62 };
|
|
3818
3957
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3819
3958
|
return baseProps;
|
|
3820
3959
|
}
|
|
@@ -3833,7 +3972,7 @@ var defaultProps$34 = {
|
|
|
3833
3972
|
visible: true
|
|
3834
3973
|
};
|
|
3835
3974
|
try {
|
|
3836
|
-
if (componentDefinition$
|
|
3975
|
+
if (componentDefinition$27 && componentDefinition$27.props) Object.entries(componentDefinition$27.props).forEach(([key, config]) => {
|
|
3837
3976
|
const propConfig = config;
|
|
3838
3977
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$34[key] = propConfig.default;
|
|
3839
3978
|
});
|
|
@@ -3845,7 +3984,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3845
3984
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3846
3985
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3847
3986
|
const instanceId = useMemo(() => {
|
|
3848
|
-
return props.id || `${componentDefinition$
|
|
3987
|
+
return props.id || `${componentDefinition$27.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3849
3988
|
}, [props.id]);
|
|
3850
3989
|
const effectiveProps = useMemo(() => {
|
|
3851
3990
|
return computeEffectiveProps$34(props, defaultProps$34);
|
|
@@ -3855,7 +3994,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3855
3994
|
...props.transform
|
|
3856
3995
|
}), [props.transform]);
|
|
3857
3996
|
const uniformsRef = useRef(null);
|
|
3858
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3997
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$27, effectiveProps, instanceId);
|
|
3859
3998
|
const childContextValue = useMemo(() => {
|
|
3860
3999
|
return {
|
|
3861
4000
|
...context,
|
|
@@ -3877,7 +4016,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3877
4016
|
renderOrder: props.renderOrder || 0,
|
|
3878
4017
|
transform: effectiveTransform
|
|
3879
4018
|
};
|
|
3880
|
-
parentRegister(instanceId, componentDefinition$
|
|
4019
|
+
parentRegister(instanceId, componentDefinition$27.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$27);
|
|
3881
4020
|
return () => {
|
|
3882
4021
|
parentRegister(instanceId, null, null, null, null);
|
|
3883
4022
|
};
|
|
@@ -3950,9 +4089,9 @@ const OmbreComponent$34 = (props) => {
|
|
|
3950
4089
|
children: props.children
|
|
3951
4090
|
});
|
|
3952
4091
|
};
|
|
3953
|
-
var
|
|
3954
|
-
function computeEffectiveProps$33(props, defaultProps$
|
|
3955
|
-
let baseProps = { ...defaultProps$
|
|
4092
|
+
var Halftone_default = OmbreComponent$34;
|
|
4093
|
+
function computeEffectiveProps$33(props, defaultProps$62) {
|
|
4094
|
+
let baseProps = { ...defaultProps$62 };
|
|
3956
4095
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3957
4096
|
return baseProps;
|
|
3958
4097
|
}
|
|
@@ -3971,7 +4110,7 @@ var defaultProps$33 = {
|
|
|
3971
4110
|
visible: true
|
|
3972
4111
|
};
|
|
3973
4112
|
try {
|
|
3974
|
-
if (componentDefinition$
|
|
4113
|
+
if (componentDefinition$28 && componentDefinition$28.props) Object.entries(componentDefinition$28.props).forEach(([key, config]) => {
|
|
3975
4114
|
const propConfig = config;
|
|
3976
4115
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$33[key] = propConfig.default;
|
|
3977
4116
|
});
|
|
@@ -3983,7 +4122,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3983
4122
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3984
4123
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3985
4124
|
const instanceId = useMemo(() => {
|
|
3986
|
-
return props.id || `${componentDefinition$
|
|
4125
|
+
return props.id || `${componentDefinition$28.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3987
4126
|
}, [props.id]);
|
|
3988
4127
|
const effectiveProps = useMemo(() => {
|
|
3989
4128
|
return computeEffectiveProps$33(props, defaultProps$33);
|
|
@@ -3993,7 +4132,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3993
4132
|
...props.transform
|
|
3994
4133
|
}), [props.transform]);
|
|
3995
4134
|
const uniformsRef = useRef(null);
|
|
3996
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4135
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$28, effectiveProps, instanceId);
|
|
3997
4136
|
const childContextValue = useMemo(() => {
|
|
3998
4137
|
return {
|
|
3999
4138
|
...context,
|
|
@@ -4015,7 +4154,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
4015
4154
|
renderOrder: props.renderOrder || 0,
|
|
4016
4155
|
transform: effectiveTransform
|
|
4017
4156
|
};
|
|
4018
|
-
parentRegister(instanceId, componentDefinition$
|
|
4157
|
+
parentRegister(instanceId, componentDefinition$28.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$28);
|
|
4019
4158
|
return () => {
|
|
4020
4159
|
parentRegister(instanceId, null, null, null, null);
|
|
4021
4160
|
};
|
|
@@ -4088,9 +4227,9 @@ const OmbreComponent$33 = (props) => {
|
|
|
4088
4227
|
children: props.children
|
|
4089
4228
|
});
|
|
4090
4229
|
};
|
|
4091
|
-
var
|
|
4092
|
-
function computeEffectiveProps$32(props, defaultProps$
|
|
4093
|
-
let baseProps = { ...defaultProps$
|
|
4230
|
+
var HueShift_default = OmbreComponent$33;
|
|
4231
|
+
function computeEffectiveProps$32(props, defaultProps$62) {
|
|
4232
|
+
let baseProps = { ...defaultProps$62 };
|
|
4094
4233
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4095
4234
|
return baseProps;
|
|
4096
4235
|
}
|
|
@@ -4109,7 +4248,7 @@ var defaultProps$32 = {
|
|
|
4109
4248
|
visible: true
|
|
4110
4249
|
};
|
|
4111
4250
|
try {
|
|
4112
|
-
if (componentDefinition$
|
|
4251
|
+
if (componentDefinition$29 && componentDefinition$29.props) Object.entries(componentDefinition$29.props).forEach(([key, config]) => {
|
|
4113
4252
|
const propConfig = config;
|
|
4114
4253
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$32[key] = propConfig.default;
|
|
4115
4254
|
});
|
|
@@ -4121,7 +4260,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
4121
4260
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4122
4261
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4123
4262
|
const instanceId = useMemo(() => {
|
|
4124
|
-
return props.id || `${componentDefinition$
|
|
4263
|
+
return props.id || `${componentDefinition$29.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4125
4264
|
}, [props.id]);
|
|
4126
4265
|
const effectiveProps = useMemo(() => {
|
|
4127
4266
|
return computeEffectiveProps$32(props, defaultProps$32);
|
|
@@ -4131,7 +4270,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
4131
4270
|
...props.transform
|
|
4132
4271
|
}), [props.transform]);
|
|
4133
4272
|
const uniformsRef = useRef(null);
|
|
4134
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4273
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$29, effectiveProps, instanceId);
|
|
4135
4274
|
const childContextValue = useMemo(() => {
|
|
4136
4275
|
return {
|
|
4137
4276
|
...context,
|
|
@@ -4153,7 +4292,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
4153
4292
|
renderOrder: props.renderOrder || 0,
|
|
4154
4293
|
transform: effectiveTransform
|
|
4155
4294
|
};
|
|
4156
|
-
parentRegister(instanceId, componentDefinition$
|
|
4295
|
+
parentRegister(instanceId, componentDefinition$29.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$29);
|
|
4157
4296
|
return () => {
|
|
4158
4297
|
parentRegister(instanceId, null, null, null, null);
|
|
4159
4298
|
};
|
|
@@ -4226,9 +4365,9 @@ const OmbreComponent$32 = (props) => {
|
|
|
4226
4365
|
children: props.children
|
|
4227
4366
|
});
|
|
4228
4367
|
};
|
|
4229
|
-
var
|
|
4230
|
-
function computeEffectiveProps$31(props, defaultProps$
|
|
4231
|
-
let baseProps = { ...defaultProps$
|
|
4368
|
+
var ImageTexture_default = OmbreComponent$32;
|
|
4369
|
+
function computeEffectiveProps$31(props, defaultProps$62) {
|
|
4370
|
+
let baseProps = { ...defaultProps$62 };
|
|
4232
4371
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4233
4372
|
return baseProps;
|
|
4234
4373
|
}
|
|
@@ -4247,7 +4386,7 @@ var defaultProps$31 = {
|
|
|
4247
4386
|
visible: true
|
|
4248
4387
|
};
|
|
4249
4388
|
try {
|
|
4250
|
-
if (componentDefinition$
|
|
4389
|
+
if (componentDefinition$30 && componentDefinition$30.props) Object.entries(componentDefinition$30.props).forEach(([key, config]) => {
|
|
4251
4390
|
const propConfig = config;
|
|
4252
4391
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$31[key] = propConfig.default;
|
|
4253
4392
|
});
|
|
@@ -4259,7 +4398,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
4259
4398
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4260
4399
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4261
4400
|
const instanceId = useMemo(() => {
|
|
4262
|
-
return props.id || `${componentDefinition$
|
|
4401
|
+
return props.id || `${componentDefinition$30.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4263
4402
|
}, [props.id]);
|
|
4264
4403
|
const effectiveProps = useMemo(() => {
|
|
4265
4404
|
return computeEffectiveProps$31(props, defaultProps$31);
|
|
@@ -4269,7 +4408,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
4269
4408
|
...props.transform
|
|
4270
4409
|
}), [props.transform]);
|
|
4271
4410
|
const uniformsRef = useRef(null);
|
|
4272
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4411
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$30, effectiveProps, instanceId);
|
|
4273
4412
|
const childContextValue = useMemo(() => {
|
|
4274
4413
|
return {
|
|
4275
4414
|
...context,
|
|
@@ -4291,7 +4430,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
4291
4430
|
renderOrder: props.renderOrder || 0,
|
|
4292
4431
|
transform: effectiveTransform
|
|
4293
4432
|
};
|
|
4294
|
-
parentRegister(instanceId, componentDefinition$
|
|
4433
|
+
parentRegister(instanceId, componentDefinition$30.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$30);
|
|
4295
4434
|
return () => {
|
|
4296
4435
|
parentRegister(instanceId, null, null, null, null);
|
|
4297
4436
|
};
|
|
@@ -4364,9 +4503,9 @@ const OmbreComponent$31 = (props) => {
|
|
|
4364
4503
|
children: props.children
|
|
4365
4504
|
});
|
|
4366
4505
|
};
|
|
4367
|
-
var
|
|
4368
|
-
function computeEffectiveProps$30(props, defaultProps$
|
|
4369
|
-
let baseProps = { ...defaultProps$
|
|
4506
|
+
var Invert_default = OmbreComponent$31;
|
|
4507
|
+
function computeEffectiveProps$30(props, defaultProps$62) {
|
|
4508
|
+
let baseProps = { ...defaultProps$62 };
|
|
4370
4509
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4371
4510
|
return baseProps;
|
|
4372
4511
|
}
|
|
@@ -4385,7 +4524,7 @@ var defaultProps$30 = {
|
|
|
4385
4524
|
visible: true
|
|
4386
4525
|
};
|
|
4387
4526
|
try {
|
|
4388
|
-
if (componentDefinition$
|
|
4527
|
+
if (componentDefinition$31 && componentDefinition$31.props) Object.entries(componentDefinition$31.props).forEach(([key, config]) => {
|
|
4389
4528
|
const propConfig = config;
|
|
4390
4529
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$30[key] = propConfig.default;
|
|
4391
4530
|
});
|
|
@@ -4397,7 +4536,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
4397
4536
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4398
4537
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4399
4538
|
const instanceId = useMemo(() => {
|
|
4400
|
-
return props.id || `${componentDefinition$
|
|
4539
|
+
return props.id || `${componentDefinition$31.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4401
4540
|
}, [props.id]);
|
|
4402
4541
|
const effectiveProps = useMemo(() => {
|
|
4403
4542
|
return computeEffectiveProps$30(props, defaultProps$30);
|
|
@@ -4407,7 +4546,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
4407
4546
|
...props.transform
|
|
4408
4547
|
}), [props.transform]);
|
|
4409
4548
|
const uniformsRef = useRef(null);
|
|
4410
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4549
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$31, effectiveProps, instanceId);
|
|
4411
4550
|
const childContextValue = useMemo(() => {
|
|
4412
4551
|
return {
|
|
4413
4552
|
...context,
|
|
@@ -4429,7 +4568,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
4429
4568
|
renderOrder: props.renderOrder || 0,
|
|
4430
4569
|
transform: effectiveTransform
|
|
4431
4570
|
};
|
|
4432
|
-
parentRegister(instanceId, componentDefinition$
|
|
4571
|
+
parentRegister(instanceId, componentDefinition$31.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$31);
|
|
4433
4572
|
return () => {
|
|
4434
4573
|
parentRegister(instanceId, null, null, null, null);
|
|
4435
4574
|
};
|
|
@@ -4502,9 +4641,9 @@ const OmbreComponent$30 = (props) => {
|
|
|
4502
4641
|
children: props.children
|
|
4503
4642
|
});
|
|
4504
4643
|
};
|
|
4505
|
-
var
|
|
4506
|
-
function computeEffectiveProps$29(props, defaultProps$
|
|
4507
|
-
let baseProps = { ...defaultProps$
|
|
4644
|
+
var LinearBlur_default = OmbreComponent$30;
|
|
4645
|
+
function computeEffectiveProps$29(props, defaultProps$62) {
|
|
4646
|
+
let baseProps = { ...defaultProps$62 };
|
|
4508
4647
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4509
4648
|
return baseProps;
|
|
4510
4649
|
}
|
|
@@ -4523,7 +4662,7 @@ var defaultProps$29 = {
|
|
|
4523
4662
|
visible: true
|
|
4524
4663
|
};
|
|
4525
4664
|
try {
|
|
4526
|
-
if (componentDefinition$
|
|
4665
|
+
if (componentDefinition$32 && componentDefinition$32.props) Object.entries(componentDefinition$32.props).forEach(([key, config]) => {
|
|
4527
4666
|
const propConfig = config;
|
|
4528
4667
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$29[key] = propConfig.default;
|
|
4529
4668
|
});
|
|
@@ -4535,7 +4674,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
4535
4674
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4536
4675
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4537
4676
|
const instanceId = useMemo(() => {
|
|
4538
|
-
return props.id || `${componentDefinition$
|
|
4677
|
+
return props.id || `${componentDefinition$32.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4539
4678
|
}, [props.id]);
|
|
4540
4679
|
const effectiveProps = useMemo(() => {
|
|
4541
4680
|
return computeEffectiveProps$29(props, defaultProps$29);
|
|
@@ -4545,7 +4684,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
4545
4684
|
...props.transform
|
|
4546
4685
|
}), [props.transform]);
|
|
4547
4686
|
const uniformsRef = useRef(null);
|
|
4548
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4687
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$32, effectiveProps, instanceId);
|
|
4549
4688
|
const childContextValue = useMemo(() => {
|
|
4550
4689
|
return {
|
|
4551
4690
|
...context,
|
|
@@ -4567,7 +4706,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
4567
4706
|
renderOrder: props.renderOrder || 0,
|
|
4568
4707
|
transform: effectiveTransform
|
|
4569
4708
|
};
|
|
4570
|
-
parentRegister(instanceId, componentDefinition$
|
|
4709
|
+
parentRegister(instanceId, componentDefinition$32.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$32);
|
|
4571
4710
|
return () => {
|
|
4572
4711
|
parentRegister(instanceId, null, null, null, null);
|
|
4573
4712
|
};
|
|
@@ -4640,9 +4779,9 @@ const OmbreComponent$29 = (props) => {
|
|
|
4640
4779
|
children: props.children
|
|
4641
4780
|
});
|
|
4642
4781
|
};
|
|
4643
|
-
var
|
|
4644
|
-
function computeEffectiveProps$28(props, defaultProps$
|
|
4645
|
-
let baseProps = { ...defaultProps$
|
|
4782
|
+
var LinearGradient_default = OmbreComponent$29;
|
|
4783
|
+
function computeEffectiveProps$28(props, defaultProps$62) {
|
|
4784
|
+
let baseProps = { ...defaultProps$62 };
|
|
4646
4785
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4647
4786
|
return baseProps;
|
|
4648
4787
|
}
|
|
@@ -4661,7 +4800,7 @@ var defaultProps$28 = {
|
|
|
4661
4800
|
visible: true
|
|
4662
4801
|
};
|
|
4663
4802
|
try {
|
|
4664
|
-
if (componentDefinition$
|
|
4803
|
+
if (componentDefinition$33 && componentDefinition$33.props) Object.entries(componentDefinition$33.props).forEach(([key, config]) => {
|
|
4665
4804
|
const propConfig = config;
|
|
4666
4805
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$28[key] = propConfig.default;
|
|
4667
4806
|
});
|
|
@@ -4673,7 +4812,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4673
4812
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4674
4813
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4675
4814
|
const instanceId = useMemo(() => {
|
|
4676
|
-
return props.id || `${componentDefinition$
|
|
4815
|
+
return props.id || `${componentDefinition$33.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4677
4816
|
}, [props.id]);
|
|
4678
4817
|
const effectiveProps = useMemo(() => {
|
|
4679
4818
|
return computeEffectiveProps$28(props, defaultProps$28);
|
|
@@ -4683,7 +4822,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4683
4822
|
...props.transform
|
|
4684
4823
|
}), [props.transform]);
|
|
4685
4824
|
const uniformsRef = useRef(null);
|
|
4686
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4825
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$33, effectiveProps, instanceId);
|
|
4687
4826
|
const childContextValue = useMemo(() => {
|
|
4688
4827
|
return {
|
|
4689
4828
|
...context,
|
|
@@ -4705,7 +4844,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4705
4844
|
renderOrder: props.renderOrder || 0,
|
|
4706
4845
|
transform: effectiveTransform
|
|
4707
4846
|
};
|
|
4708
|
-
parentRegister(instanceId, componentDefinition$
|
|
4847
|
+
parentRegister(instanceId, componentDefinition$33.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$33);
|
|
4709
4848
|
return () => {
|
|
4710
4849
|
parentRegister(instanceId, null, null, null, null);
|
|
4711
4850
|
};
|
|
@@ -4778,9 +4917,9 @@ const OmbreComponent$28 = (props) => {
|
|
|
4778
4917
|
children: props.children
|
|
4779
4918
|
});
|
|
4780
4919
|
};
|
|
4781
|
-
var
|
|
4782
|
-
function computeEffectiveProps$27(props, defaultProps$
|
|
4783
|
-
let baseProps = { ...defaultProps$
|
|
4920
|
+
var Liquify_default = OmbreComponent$28;
|
|
4921
|
+
function computeEffectiveProps$27(props, defaultProps$62) {
|
|
4922
|
+
let baseProps = { ...defaultProps$62 };
|
|
4784
4923
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4785
4924
|
return baseProps;
|
|
4786
4925
|
}
|
|
@@ -4799,7 +4938,7 @@ var defaultProps$27 = {
|
|
|
4799
4938
|
visible: true
|
|
4800
4939
|
};
|
|
4801
4940
|
try {
|
|
4802
|
-
if (componentDefinition$
|
|
4941
|
+
if (componentDefinition$34 && componentDefinition$34.props) Object.entries(componentDefinition$34.props).forEach(([key, config]) => {
|
|
4803
4942
|
const propConfig = config;
|
|
4804
4943
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$27[key] = propConfig.default;
|
|
4805
4944
|
});
|
|
@@ -4811,7 +4950,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4811
4950
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4812
4951
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4813
4952
|
const instanceId = useMemo(() => {
|
|
4814
|
-
return props.id || `${componentDefinition$
|
|
4953
|
+
return props.id || `${componentDefinition$34.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4815
4954
|
}, [props.id]);
|
|
4816
4955
|
const effectiveProps = useMemo(() => {
|
|
4817
4956
|
return computeEffectiveProps$27(props, defaultProps$27);
|
|
@@ -4821,7 +4960,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4821
4960
|
...props.transform
|
|
4822
4961
|
}), [props.transform]);
|
|
4823
4962
|
const uniformsRef = useRef(null);
|
|
4824
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4963
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$34, effectiveProps, instanceId);
|
|
4825
4964
|
const childContextValue = useMemo(() => {
|
|
4826
4965
|
return {
|
|
4827
4966
|
...context,
|
|
@@ -4843,7 +4982,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4843
4982
|
renderOrder: props.renderOrder || 0,
|
|
4844
4983
|
transform: effectiveTransform
|
|
4845
4984
|
};
|
|
4846
|
-
parentRegister(instanceId, componentDefinition$
|
|
4985
|
+
parentRegister(instanceId, componentDefinition$34.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$34);
|
|
4847
4986
|
return () => {
|
|
4848
4987
|
parentRegister(instanceId, null, null, null, null);
|
|
4849
4988
|
};
|
|
@@ -4916,9 +5055,9 @@ const OmbreComponent$27 = (props) => {
|
|
|
4916
5055
|
children: props.children
|
|
4917
5056
|
});
|
|
4918
5057
|
};
|
|
4919
|
-
var
|
|
4920
|
-
function computeEffectiveProps$26(props, defaultProps$
|
|
4921
|
-
let baseProps = { ...defaultProps$
|
|
5058
|
+
var Perspective_default = OmbreComponent$27;
|
|
5059
|
+
function computeEffectiveProps$26(props, defaultProps$62) {
|
|
5060
|
+
let baseProps = { ...defaultProps$62 };
|
|
4922
5061
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4923
5062
|
return baseProps;
|
|
4924
5063
|
}
|
|
@@ -4937,7 +5076,7 @@ var defaultProps$26 = {
|
|
|
4937
5076
|
visible: true
|
|
4938
5077
|
};
|
|
4939
5078
|
try {
|
|
4940
|
-
if (componentDefinition$
|
|
5079
|
+
if (componentDefinition$35 && componentDefinition$35.props) Object.entries(componentDefinition$35.props).forEach(([key, config]) => {
|
|
4941
5080
|
const propConfig = config;
|
|
4942
5081
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$26[key] = propConfig.default;
|
|
4943
5082
|
});
|
|
@@ -4949,7 +5088,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4949
5088
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4950
5089
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4951
5090
|
const instanceId = useMemo(() => {
|
|
4952
|
-
return props.id || `${componentDefinition$
|
|
5091
|
+
return props.id || `${componentDefinition$35.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4953
5092
|
}, [props.id]);
|
|
4954
5093
|
const effectiveProps = useMemo(() => {
|
|
4955
5094
|
return computeEffectiveProps$26(props, defaultProps$26);
|
|
@@ -4959,7 +5098,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4959
5098
|
...props.transform
|
|
4960
5099
|
}), [props.transform]);
|
|
4961
5100
|
const uniformsRef = useRef(null);
|
|
4962
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5101
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$35, effectiveProps, instanceId);
|
|
4963
5102
|
const childContextValue = useMemo(() => {
|
|
4964
5103
|
return {
|
|
4965
5104
|
...context,
|
|
@@ -4981,7 +5120,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4981
5120
|
renderOrder: props.renderOrder || 0,
|
|
4982
5121
|
transform: effectiveTransform
|
|
4983
5122
|
};
|
|
4984
|
-
parentRegister(instanceId, componentDefinition$
|
|
5123
|
+
parentRegister(instanceId, componentDefinition$35.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$35);
|
|
4985
5124
|
return () => {
|
|
4986
5125
|
parentRegister(instanceId, null, null, null, null);
|
|
4987
5126
|
};
|
|
@@ -5054,9 +5193,9 @@ const OmbreComponent$26 = (props) => {
|
|
|
5054
5193
|
children: props.children
|
|
5055
5194
|
});
|
|
5056
5195
|
};
|
|
5057
|
-
var
|
|
5058
|
-
function computeEffectiveProps$25(props, defaultProps$
|
|
5059
|
-
let baseProps = { ...defaultProps$
|
|
5196
|
+
var Pixelate_default = OmbreComponent$26;
|
|
5197
|
+
function computeEffectiveProps$25(props, defaultProps$62) {
|
|
5198
|
+
let baseProps = { ...defaultProps$62 };
|
|
5060
5199
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5061
5200
|
return baseProps;
|
|
5062
5201
|
}
|
|
@@ -5075,7 +5214,7 @@ var defaultProps$25 = {
|
|
|
5075
5214
|
visible: true
|
|
5076
5215
|
};
|
|
5077
5216
|
try {
|
|
5078
|
-
if (componentDefinition$
|
|
5217
|
+
if (componentDefinition$36 && componentDefinition$36.props) Object.entries(componentDefinition$36.props).forEach(([key, config]) => {
|
|
5079
5218
|
const propConfig = config;
|
|
5080
5219
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$25[key] = propConfig.default;
|
|
5081
5220
|
});
|
|
@@ -5087,7 +5226,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
5087
5226
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5088
5227
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5089
5228
|
const instanceId = useMemo(() => {
|
|
5090
|
-
return props.id || `${componentDefinition$
|
|
5229
|
+
return props.id || `${componentDefinition$36.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5091
5230
|
}, [props.id]);
|
|
5092
5231
|
const effectiveProps = useMemo(() => {
|
|
5093
5232
|
return computeEffectiveProps$25(props, defaultProps$25);
|
|
@@ -5097,7 +5236,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
5097
5236
|
...props.transform
|
|
5098
5237
|
}), [props.transform]);
|
|
5099
5238
|
const uniformsRef = useRef(null);
|
|
5100
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5239
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$36, effectiveProps, instanceId);
|
|
5101
5240
|
const childContextValue = useMemo(() => {
|
|
5102
5241
|
return {
|
|
5103
5242
|
...context,
|
|
@@ -5119,7 +5258,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
5119
5258
|
renderOrder: props.renderOrder || 0,
|
|
5120
5259
|
transform: effectiveTransform
|
|
5121
5260
|
};
|
|
5122
|
-
parentRegister(instanceId, componentDefinition$
|
|
5261
|
+
parentRegister(instanceId, componentDefinition$36.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$36);
|
|
5123
5262
|
return () => {
|
|
5124
5263
|
parentRegister(instanceId, null, null, null, null);
|
|
5125
5264
|
};
|
|
@@ -5192,9 +5331,9 @@ const OmbreComponent$25 = (props) => {
|
|
|
5192
5331
|
children: props.children
|
|
5193
5332
|
});
|
|
5194
5333
|
};
|
|
5195
|
-
var
|
|
5196
|
-
function computeEffectiveProps$24(props, defaultProps$
|
|
5197
|
-
let baseProps = { ...defaultProps$
|
|
5334
|
+
var PolarCoordinates_default = OmbreComponent$25;
|
|
5335
|
+
function computeEffectiveProps$24(props, defaultProps$62) {
|
|
5336
|
+
let baseProps = { ...defaultProps$62 };
|
|
5198
5337
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5199
5338
|
return baseProps;
|
|
5200
5339
|
}
|
|
@@ -5213,7 +5352,7 @@ var defaultProps$24 = {
|
|
|
5213
5352
|
visible: true
|
|
5214
5353
|
};
|
|
5215
5354
|
try {
|
|
5216
|
-
if (componentDefinition$
|
|
5355
|
+
if (componentDefinition$37 && componentDefinition$37.props) Object.entries(componentDefinition$37.props).forEach(([key, config]) => {
|
|
5217
5356
|
const propConfig = config;
|
|
5218
5357
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$24[key] = propConfig.default;
|
|
5219
5358
|
});
|
|
@@ -5225,7 +5364,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
5225
5364
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5226
5365
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5227
5366
|
const instanceId = useMemo(() => {
|
|
5228
|
-
return props.id || `${componentDefinition$
|
|
5367
|
+
return props.id || `${componentDefinition$37.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5229
5368
|
}, [props.id]);
|
|
5230
5369
|
const effectiveProps = useMemo(() => {
|
|
5231
5370
|
return computeEffectiveProps$24(props, defaultProps$24);
|
|
@@ -5235,7 +5374,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
5235
5374
|
...props.transform
|
|
5236
5375
|
}), [props.transform]);
|
|
5237
5376
|
const uniformsRef = useRef(null);
|
|
5238
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5377
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$37, effectiveProps, instanceId);
|
|
5239
5378
|
const childContextValue = useMemo(() => {
|
|
5240
5379
|
return {
|
|
5241
5380
|
...context,
|
|
@@ -5257,7 +5396,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
5257
5396
|
renderOrder: props.renderOrder || 0,
|
|
5258
5397
|
transform: effectiveTransform
|
|
5259
5398
|
};
|
|
5260
|
-
parentRegister(instanceId, componentDefinition$
|
|
5399
|
+
parentRegister(instanceId, componentDefinition$37.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$37);
|
|
5261
5400
|
return () => {
|
|
5262
5401
|
parentRegister(instanceId, null, null, null, null);
|
|
5263
5402
|
};
|
|
@@ -5330,9 +5469,9 @@ const OmbreComponent$24 = (props) => {
|
|
|
5330
5469
|
children: props.children
|
|
5331
5470
|
});
|
|
5332
5471
|
};
|
|
5333
|
-
var
|
|
5334
|
-
function computeEffectiveProps$23(props, defaultProps$
|
|
5335
|
-
let baseProps = { ...defaultProps$
|
|
5472
|
+
var Posterize_default = OmbreComponent$24;
|
|
5473
|
+
function computeEffectiveProps$23(props, defaultProps$62) {
|
|
5474
|
+
let baseProps = { ...defaultProps$62 };
|
|
5336
5475
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5337
5476
|
return baseProps;
|
|
5338
5477
|
}
|
|
@@ -5351,7 +5490,7 @@ var defaultProps$23 = {
|
|
|
5351
5490
|
visible: true
|
|
5352
5491
|
};
|
|
5353
5492
|
try {
|
|
5354
|
-
if (componentDefinition$
|
|
5493
|
+
if (componentDefinition$38 && componentDefinition$38.props) Object.entries(componentDefinition$38.props).forEach(([key, config]) => {
|
|
5355
5494
|
const propConfig = config;
|
|
5356
5495
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$23[key] = propConfig.default;
|
|
5357
5496
|
});
|
|
@@ -5363,7 +5502,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
5363
5502
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5364
5503
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5365
5504
|
const instanceId = useMemo(() => {
|
|
5366
|
-
return props.id || `${componentDefinition$
|
|
5505
|
+
return props.id || `${componentDefinition$38.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5367
5506
|
}, [props.id]);
|
|
5368
5507
|
const effectiveProps = useMemo(() => {
|
|
5369
5508
|
return computeEffectiveProps$23(props, defaultProps$23);
|
|
@@ -5373,7 +5512,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
5373
5512
|
...props.transform
|
|
5374
5513
|
}), [props.transform]);
|
|
5375
5514
|
const uniformsRef = useRef(null);
|
|
5376
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5515
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$38, effectiveProps, instanceId);
|
|
5377
5516
|
const childContextValue = useMemo(() => {
|
|
5378
5517
|
return {
|
|
5379
5518
|
...context,
|
|
@@ -5395,7 +5534,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
5395
5534
|
renderOrder: props.renderOrder || 0,
|
|
5396
5535
|
transform: effectiveTransform
|
|
5397
5536
|
};
|
|
5398
|
-
parentRegister(instanceId, componentDefinition$
|
|
5537
|
+
parentRegister(instanceId, componentDefinition$38.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$38);
|
|
5399
5538
|
return () => {
|
|
5400
5539
|
parentRegister(instanceId, null, null, null, null);
|
|
5401
5540
|
};
|
|
@@ -5468,9 +5607,9 @@ const OmbreComponent$23 = (props) => {
|
|
|
5468
5607
|
children: props.children
|
|
5469
5608
|
});
|
|
5470
5609
|
};
|
|
5471
|
-
var
|
|
5472
|
-
function computeEffectiveProps$22(props, defaultProps$
|
|
5473
|
-
let baseProps = { ...defaultProps$
|
|
5610
|
+
var ProgressiveBlur_default = OmbreComponent$23;
|
|
5611
|
+
function computeEffectiveProps$22(props, defaultProps$62) {
|
|
5612
|
+
let baseProps = { ...defaultProps$62 };
|
|
5474
5613
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5475
5614
|
return baseProps;
|
|
5476
5615
|
}
|
|
@@ -5489,7 +5628,7 @@ var defaultProps$22 = {
|
|
|
5489
5628
|
visible: true
|
|
5490
5629
|
};
|
|
5491
5630
|
try {
|
|
5492
|
-
if (componentDefinition$
|
|
5631
|
+
if (componentDefinition$39 && componentDefinition$39.props) Object.entries(componentDefinition$39.props).forEach(([key, config]) => {
|
|
5493
5632
|
const propConfig = config;
|
|
5494
5633
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$22[key] = propConfig.default;
|
|
5495
5634
|
});
|
|
@@ -5501,7 +5640,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
5501
5640
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5502
5641
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5503
5642
|
const instanceId = useMemo(() => {
|
|
5504
|
-
return props.id || `${componentDefinition$
|
|
5643
|
+
return props.id || `${componentDefinition$39.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5505
5644
|
}, [props.id]);
|
|
5506
5645
|
const effectiveProps = useMemo(() => {
|
|
5507
5646
|
return computeEffectiveProps$22(props, defaultProps$22);
|
|
@@ -5511,7 +5650,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
5511
5650
|
...props.transform
|
|
5512
5651
|
}), [props.transform]);
|
|
5513
5652
|
const uniformsRef = useRef(null);
|
|
5514
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5653
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$39, effectiveProps, instanceId);
|
|
5515
5654
|
const childContextValue = useMemo(() => {
|
|
5516
5655
|
return {
|
|
5517
5656
|
...context,
|
|
@@ -5533,7 +5672,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
5533
5672
|
renderOrder: props.renderOrder || 0,
|
|
5534
5673
|
transform: effectiveTransform
|
|
5535
5674
|
};
|
|
5536
|
-
parentRegister(instanceId, componentDefinition$
|
|
5675
|
+
parentRegister(instanceId, componentDefinition$39.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$39);
|
|
5537
5676
|
return () => {
|
|
5538
5677
|
parentRegister(instanceId, null, null, null, null);
|
|
5539
5678
|
};
|
|
@@ -5606,9 +5745,9 @@ const OmbreComponent$22 = (props) => {
|
|
|
5606
5745
|
children: props.children
|
|
5607
5746
|
});
|
|
5608
5747
|
};
|
|
5609
|
-
var
|
|
5610
|
-
function computeEffectiveProps$21(props, defaultProps$
|
|
5611
|
-
let baseProps = { ...defaultProps$
|
|
5748
|
+
var RadialGradient_default = OmbreComponent$22;
|
|
5749
|
+
function computeEffectiveProps$21(props, defaultProps$62) {
|
|
5750
|
+
let baseProps = { ...defaultProps$62 };
|
|
5612
5751
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5613
5752
|
return baseProps;
|
|
5614
5753
|
}
|
|
@@ -5627,7 +5766,7 @@ var defaultProps$21 = {
|
|
|
5627
5766
|
visible: true
|
|
5628
5767
|
};
|
|
5629
5768
|
try {
|
|
5630
|
-
if (componentDefinition$
|
|
5769
|
+
if (componentDefinition$40 && componentDefinition$40.props) Object.entries(componentDefinition$40.props).forEach(([key, config]) => {
|
|
5631
5770
|
const propConfig = config;
|
|
5632
5771
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$21[key] = propConfig.default;
|
|
5633
5772
|
});
|
|
@@ -5639,7 +5778,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
5639
5778
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5640
5779
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5641
5780
|
const instanceId = useMemo(() => {
|
|
5642
|
-
return props.id || `${componentDefinition$
|
|
5781
|
+
return props.id || `${componentDefinition$40.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5643
5782
|
}, [props.id]);
|
|
5644
5783
|
const effectiveProps = useMemo(() => {
|
|
5645
5784
|
return computeEffectiveProps$21(props, defaultProps$21);
|
|
@@ -5649,7 +5788,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
5649
5788
|
...props.transform
|
|
5650
5789
|
}), [props.transform]);
|
|
5651
5790
|
const uniformsRef = useRef(null);
|
|
5652
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5791
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$40, effectiveProps, instanceId);
|
|
5653
5792
|
const childContextValue = useMemo(() => {
|
|
5654
5793
|
return {
|
|
5655
5794
|
...context,
|
|
@@ -5671,7 +5810,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
5671
5810
|
renderOrder: props.renderOrder || 0,
|
|
5672
5811
|
transform: effectiveTransform
|
|
5673
5812
|
};
|
|
5674
|
-
parentRegister(instanceId, componentDefinition$
|
|
5813
|
+
parentRegister(instanceId, componentDefinition$40.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$40);
|
|
5675
5814
|
return () => {
|
|
5676
5815
|
parentRegister(instanceId, null, null, null, null);
|
|
5677
5816
|
};
|
|
@@ -5744,9 +5883,9 @@ const OmbreComponent$21 = (props) => {
|
|
|
5744
5883
|
children: props.children
|
|
5745
5884
|
});
|
|
5746
5885
|
};
|
|
5747
|
-
var
|
|
5748
|
-
function computeEffectiveProps$20(props, defaultProps$
|
|
5749
|
-
let baseProps = { ...defaultProps$
|
|
5886
|
+
var RectangularCoordinates_default = OmbreComponent$21;
|
|
5887
|
+
function computeEffectiveProps$20(props, defaultProps$62) {
|
|
5888
|
+
let baseProps = { ...defaultProps$62 };
|
|
5750
5889
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5751
5890
|
return baseProps;
|
|
5752
5891
|
}
|
|
@@ -5765,7 +5904,7 @@ var defaultProps$20 = {
|
|
|
5765
5904
|
visible: true
|
|
5766
5905
|
};
|
|
5767
5906
|
try {
|
|
5768
|
-
if (componentDefinition$
|
|
5907
|
+
if (componentDefinition$41 && componentDefinition$41.props) Object.entries(componentDefinition$41.props).forEach(([key, config]) => {
|
|
5769
5908
|
const propConfig = config;
|
|
5770
5909
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$20[key] = propConfig.default;
|
|
5771
5910
|
});
|
|
@@ -5777,7 +5916,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5777
5916
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5778
5917
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5779
5918
|
const instanceId = useMemo(() => {
|
|
5780
|
-
return props.id || `${componentDefinition$
|
|
5919
|
+
return props.id || `${componentDefinition$41.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5781
5920
|
}, [props.id]);
|
|
5782
5921
|
const effectiveProps = useMemo(() => {
|
|
5783
5922
|
return computeEffectiveProps$20(props, defaultProps$20);
|
|
@@ -5787,7 +5926,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5787
5926
|
...props.transform
|
|
5788
5927
|
}), [props.transform]);
|
|
5789
5928
|
const uniformsRef = useRef(null);
|
|
5790
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5929
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$41, effectiveProps, instanceId);
|
|
5791
5930
|
const childContextValue = useMemo(() => {
|
|
5792
5931
|
return {
|
|
5793
5932
|
...context,
|
|
@@ -5809,7 +5948,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5809
5948
|
renderOrder: props.renderOrder || 0,
|
|
5810
5949
|
transform: effectiveTransform
|
|
5811
5950
|
};
|
|
5812
|
-
parentRegister(instanceId, componentDefinition$
|
|
5951
|
+
parentRegister(instanceId, componentDefinition$41.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$41);
|
|
5813
5952
|
return () => {
|
|
5814
5953
|
parentRegister(instanceId, null, null, null, null);
|
|
5815
5954
|
};
|
|
@@ -5882,9 +6021,9 @@ const OmbreComponent$20 = (props) => {
|
|
|
5882
6021
|
children: props.children
|
|
5883
6022
|
});
|
|
5884
6023
|
};
|
|
5885
|
-
var
|
|
5886
|
-
function computeEffectiveProps$19(props, defaultProps$
|
|
5887
|
-
let baseProps = { ...defaultProps$
|
|
6024
|
+
var Ripples_default = OmbreComponent$20;
|
|
6025
|
+
function computeEffectiveProps$19(props, defaultProps$62) {
|
|
6026
|
+
let baseProps = { ...defaultProps$62 };
|
|
5888
6027
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5889
6028
|
return baseProps;
|
|
5890
6029
|
}
|
|
@@ -5903,7 +6042,7 @@ var defaultProps$19 = {
|
|
|
5903
6042
|
visible: true
|
|
5904
6043
|
};
|
|
5905
6044
|
try {
|
|
5906
|
-
if (componentDefinition$
|
|
6045
|
+
if (componentDefinition$42 && componentDefinition$42.props) Object.entries(componentDefinition$42.props).forEach(([key, config]) => {
|
|
5907
6046
|
const propConfig = config;
|
|
5908
6047
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$19[key] = propConfig.default;
|
|
5909
6048
|
});
|
|
@@ -5915,7 +6054,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5915
6054
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5916
6055
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5917
6056
|
const instanceId = useMemo(() => {
|
|
5918
|
-
return props.id || `${componentDefinition$
|
|
6057
|
+
return props.id || `${componentDefinition$42.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5919
6058
|
}, [props.id]);
|
|
5920
6059
|
const effectiveProps = useMemo(() => {
|
|
5921
6060
|
return computeEffectiveProps$19(props, defaultProps$19);
|
|
@@ -5925,7 +6064,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5925
6064
|
...props.transform
|
|
5926
6065
|
}), [props.transform]);
|
|
5927
6066
|
const uniformsRef = useRef(null);
|
|
5928
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6067
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$42, effectiveProps, instanceId);
|
|
5929
6068
|
const childContextValue = useMemo(() => {
|
|
5930
6069
|
return {
|
|
5931
6070
|
...context,
|
|
@@ -5947,7 +6086,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5947
6086
|
renderOrder: props.renderOrder || 0,
|
|
5948
6087
|
transform: effectiveTransform
|
|
5949
6088
|
};
|
|
5950
|
-
parentRegister(instanceId, componentDefinition$
|
|
6089
|
+
parentRegister(instanceId, componentDefinition$42.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$42);
|
|
5951
6090
|
return () => {
|
|
5952
6091
|
parentRegister(instanceId, null, null, null, null);
|
|
5953
6092
|
};
|
|
@@ -6020,9 +6159,9 @@ const OmbreComponent$19 = (props) => {
|
|
|
6020
6159
|
children: props.children
|
|
6021
6160
|
});
|
|
6022
6161
|
};
|
|
6023
|
-
var
|
|
6024
|
-
function computeEffectiveProps$18(props, defaultProps$
|
|
6025
|
-
let baseProps = { ...defaultProps$
|
|
6162
|
+
var Saturation_default = OmbreComponent$19;
|
|
6163
|
+
function computeEffectiveProps$18(props, defaultProps$62) {
|
|
6164
|
+
let baseProps = { ...defaultProps$62 };
|
|
6026
6165
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6027
6166
|
return baseProps;
|
|
6028
6167
|
}
|
|
@@ -6041,7 +6180,7 @@ var defaultProps$18 = {
|
|
|
6041
6180
|
visible: true
|
|
6042
6181
|
};
|
|
6043
6182
|
try {
|
|
6044
|
-
if (componentDefinition$
|
|
6183
|
+
if (componentDefinition$43 && componentDefinition$43.props) Object.entries(componentDefinition$43.props).forEach(([key, config]) => {
|
|
6045
6184
|
const propConfig = config;
|
|
6046
6185
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$18[key] = propConfig.default;
|
|
6047
6186
|
});
|
|
@@ -6053,7 +6192,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
6053
6192
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6054
6193
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6055
6194
|
const instanceId = useMemo(() => {
|
|
6056
|
-
return props.id || `${componentDefinition$
|
|
6195
|
+
return props.id || `${componentDefinition$43.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6057
6196
|
}, [props.id]);
|
|
6058
6197
|
const effectiveProps = useMemo(() => {
|
|
6059
6198
|
return computeEffectiveProps$18(props, defaultProps$18);
|
|
@@ -6063,7 +6202,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
6063
6202
|
...props.transform
|
|
6064
6203
|
}), [props.transform]);
|
|
6065
6204
|
const uniformsRef = useRef(null);
|
|
6066
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6205
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$43, effectiveProps, instanceId);
|
|
6067
6206
|
const childContextValue = useMemo(() => {
|
|
6068
6207
|
return {
|
|
6069
6208
|
...context,
|
|
@@ -6085,7 +6224,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
6085
6224
|
renderOrder: props.renderOrder || 0,
|
|
6086
6225
|
transform: effectiveTransform
|
|
6087
6226
|
};
|
|
6088
|
-
parentRegister(instanceId, componentDefinition$
|
|
6227
|
+
parentRegister(instanceId, componentDefinition$43.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$43);
|
|
6089
6228
|
return () => {
|
|
6090
6229
|
parentRegister(instanceId, null, null, null, null);
|
|
6091
6230
|
};
|
|
@@ -6158,9 +6297,9 @@ const OmbreComponent$18 = (props) => {
|
|
|
6158
6297
|
children: props.children
|
|
6159
6298
|
});
|
|
6160
6299
|
};
|
|
6161
|
-
var
|
|
6162
|
-
function computeEffectiveProps$17(props, defaultProps$
|
|
6163
|
-
let baseProps = { ...defaultProps$
|
|
6300
|
+
var Sharpness_default = OmbreComponent$18;
|
|
6301
|
+
function computeEffectiveProps$17(props, defaultProps$62) {
|
|
6302
|
+
let baseProps = { ...defaultProps$62 };
|
|
6164
6303
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6165
6304
|
return baseProps;
|
|
6166
6305
|
}
|
|
@@ -6179,7 +6318,7 @@ var defaultProps$17 = {
|
|
|
6179
6318
|
visible: true
|
|
6180
6319
|
};
|
|
6181
6320
|
try {
|
|
6182
|
-
if (componentDefinition$
|
|
6321
|
+
if (componentDefinition$44 && componentDefinition$44.props) Object.entries(componentDefinition$44.props).forEach(([key, config]) => {
|
|
6183
6322
|
const propConfig = config;
|
|
6184
6323
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$17[key] = propConfig.default;
|
|
6185
6324
|
});
|
|
@@ -6191,7 +6330,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
6191
6330
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6192
6331
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6193
6332
|
const instanceId = useMemo(() => {
|
|
6194
|
-
return props.id || `${componentDefinition$
|
|
6333
|
+
return props.id || `${componentDefinition$44.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6195
6334
|
}, [props.id]);
|
|
6196
6335
|
const effectiveProps = useMemo(() => {
|
|
6197
6336
|
return computeEffectiveProps$17(props, defaultProps$17);
|
|
@@ -6201,7 +6340,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
6201
6340
|
...props.transform
|
|
6202
6341
|
}), [props.transform]);
|
|
6203
6342
|
const uniformsRef = useRef(null);
|
|
6204
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6343
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$44, effectiveProps, instanceId);
|
|
6205
6344
|
const childContextValue = useMemo(() => {
|
|
6206
6345
|
return {
|
|
6207
6346
|
...context,
|
|
@@ -6223,7 +6362,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
6223
6362
|
renderOrder: props.renderOrder || 0,
|
|
6224
6363
|
transform: effectiveTransform
|
|
6225
6364
|
};
|
|
6226
|
-
parentRegister(instanceId, componentDefinition$
|
|
6365
|
+
parentRegister(instanceId, componentDefinition$44.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$44);
|
|
6227
6366
|
return () => {
|
|
6228
6367
|
parentRegister(instanceId, null, null, null, null);
|
|
6229
6368
|
};
|
|
@@ -6296,9 +6435,9 @@ const OmbreComponent$17 = (props) => {
|
|
|
6296
6435
|
children: props.children
|
|
6297
6436
|
});
|
|
6298
6437
|
};
|
|
6299
|
-
var
|
|
6300
|
-
function computeEffectiveProps$16(props, defaultProps$
|
|
6301
|
-
let baseProps = { ...defaultProps$
|
|
6438
|
+
var Shatter_default = OmbreComponent$17;
|
|
6439
|
+
function computeEffectiveProps$16(props, defaultProps$62) {
|
|
6440
|
+
let baseProps = { ...defaultProps$62 };
|
|
6302
6441
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6303
6442
|
return baseProps;
|
|
6304
6443
|
}
|
|
@@ -6317,7 +6456,7 @@ var defaultProps$16 = {
|
|
|
6317
6456
|
visible: true
|
|
6318
6457
|
};
|
|
6319
6458
|
try {
|
|
6320
|
-
if (componentDefinition$
|
|
6459
|
+
if (componentDefinition$45 && componentDefinition$45.props) Object.entries(componentDefinition$45.props).forEach(([key, config]) => {
|
|
6321
6460
|
const propConfig = config;
|
|
6322
6461
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$16[key] = propConfig.default;
|
|
6323
6462
|
});
|
|
@@ -6329,7 +6468,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
6329
6468
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6330
6469
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6331
6470
|
const instanceId = useMemo(() => {
|
|
6332
|
-
return props.id || `${componentDefinition$
|
|
6471
|
+
return props.id || `${componentDefinition$45.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6333
6472
|
}, [props.id]);
|
|
6334
6473
|
const effectiveProps = useMemo(() => {
|
|
6335
6474
|
return computeEffectiveProps$16(props, defaultProps$16);
|
|
@@ -6339,7 +6478,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
6339
6478
|
...props.transform
|
|
6340
6479
|
}), [props.transform]);
|
|
6341
6480
|
const uniformsRef = useRef(null);
|
|
6342
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6481
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$45, effectiveProps, instanceId);
|
|
6343
6482
|
const childContextValue = useMemo(() => {
|
|
6344
6483
|
return {
|
|
6345
6484
|
...context,
|
|
@@ -6361,7 +6500,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
6361
6500
|
renderOrder: props.renderOrder || 0,
|
|
6362
6501
|
transform: effectiveTransform
|
|
6363
6502
|
};
|
|
6364
|
-
parentRegister(instanceId, componentDefinition$
|
|
6503
|
+
parentRegister(instanceId, componentDefinition$45.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$45);
|
|
6365
6504
|
return () => {
|
|
6366
6505
|
parentRegister(instanceId, null, null, null, null);
|
|
6367
6506
|
};
|
|
@@ -6434,9 +6573,9 @@ const OmbreComponent$16 = (props) => {
|
|
|
6434
6573
|
children: props.children
|
|
6435
6574
|
});
|
|
6436
6575
|
};
|
|
6437
|
-
var
|
|
6438
|
-
function computeEffectiveProps$15(props, defaultProps$
|
|
6439
|
-
let baseProps = { ...defaultProps$
|
|
6576
|
+
var SimplexNoise_default = OmbreComponent$16;
|
|
6577
|
+
function computeEffectiveProps$15(props, defaultProps$62) {
|
|
6578
|
+
let baseProps = { ...defaultProps$62 };
|
|
6440
6579
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6441
6580
|
return baseProps;
|
|
6442
6581
|
}
|
|
@@ -6455,7 +6594,7 @@ var defaultProps$15 = {
|
|
|
6455
6594
|
visible: true
|
|
6456
6595
|
};
|
|
6457
6596
|
try {
|
|
6458
|
-
if (componentDefinition$
|
|
6597
|
+
if (componentDefinition$46 && componentDefinition$46.props) Object.entries(componentDefinition$46.props).forEach(([key, config]) => {
|
|
6459
6598
|
const propConfig = config;
|
|
6460
6599
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$15[key] = propConfig.default;
|
|
6461
6600
|
});
|
|
@@ -6467,7 +6606,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
6467
6606
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6468
6607
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6469
6608
|
const instanceId = useMemo(() => {
|
|
6470
|
-
return props.id || `${componentDefinition$
|
|
6609
|
+
return props.id || `${componentDefinition$46.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6471
6610
|
}, [props.id]);
|
|
6472
6611
|
const effectiveProps = useMemo(() => {
|
|
6473
6612
|
return computeEffectiveProps$15(props, defaultProps$15);
|
|
@@ -6477,7 +6616,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
6477
6616
|
...props.transform
|
|
6478
6617
|
}), [props.transform]);
|
|
6479
6618
|
const uniformsRef = useRef(null);
|
|
6480
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6619
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$46, effectiveProps, instanceId);
|
|
6481
6620
|
const childContextValue = useMemo(() => {
|
|
6482
6621
|
return {
|
|
6483
6622
|
...context,
|
|
@@ -6499,7 +6638,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
6499
6638
|
renderOrder: props.renderOrder || 0,
|
|
6500
6639
|
transform: effectiveTransform
|
|
6501
6640
|
};
|
|
6502
|
-
parentRegister(instanceId, componentDefinition$
|
|
6641
|
+
parentRegister(instanceId, componentDefinition$46.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$46);
|
|
6503
6642
|
return () => {
|
|
6504
6643
|
parentRegister(instanceId, null, null, null, null);
|
|
6505
6644
|
};
|
|
@@ -6572,9 +6711,9 @@ const OmbreComponent$15 = (props) => {
|
|
|
6572
6711
|
children: props.children
|
|
6573
6712
|
});
|
|
6574
6713
|
};
|
|
6575
|
-
var
|
|
6576
|
-
function computeEffectiveProps$14(props, defaultProps$
|
|
6577
|
-
let baseProps = { ...defaultProps$
|
|
6714
|
+
var SineWave_default = OmbreComponent$15;
|
|
6715
|
+
function computeEffectiveProps$14(props, defaultProps$62) {
|
|
6716
|
+
let baseProps = { ...defaultProps$62 };
|
|
6578
6717
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6579
6718
|
return baseProps;
|
|
6580
6719
|
}
|
|
@@ -6593,7 +6732,7 @@ var defaultProps$14 = {
|
|
|
6593
6732
|
visible: true
|
|
6594
6733
|
};
|
|
6595
6734
|
try {
|
|
6596
|
-
if (componentDefinition$
|
|
6735
|
+
if (componentDefinition$47 && componentDefinition$47.props) Object.entries(componentDefinition$47.props).forEach(([key, config]) => {
|
|
6597
6736
|
const propConfig = config;
|
|
6598
6737
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$14[key] = propConfig.default;
|
|
6599
6738
|
});
|
|
@@ -6605,7 +6744,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
6605
6744
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6606
6745
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6607
6746
|
const instanceId = useMemo(() => {
|
|
6608
|
-
return props.id || `${componentDefinition$
|
|
6747
|
+
return props.id || `${componentDefinition$47.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6609
6748
|
}, [props.id]);
|
|
6610
6749
|
const effectiveProps = useMemo(() => {
|
|
6611
6750
|
return computeEffectiveProps$14(props, defaultProps$14);
|
|
@@ -6615,7 +6754,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
6615
6754
|
...props.transform
|
|
6616
6755
|
}), [props.transform]);
|
|
6617
6756
|
const uniformsRef = useRef(null);
|
|
6618
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6757
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$47, effectiveProps, instanceId);
|
|
6619
6758
|
const childContextValue = useMemo(() => {
|
|
6620
6759
|
return {
|
|
6621
6760
|
...context,
|
|
@@ -6637,7 +6776,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
6637
6776
|
renderOrder: props.renderOrder || 0,
|
|
6638
6777
|
transform: effectiveTransform
|
|
6639
6778
|
};
|
|
6640
|
-
parentRegister(instanceId, componentDefinition$
|
|
6779
|
+
parentRegister(instanceId, componentDefinition$47.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$47);
|
|
6641
6780
|
return () => {
|
|
6642
6781
|
parentRegister(instanceId, null, null, null, null);
|
|
6643
6782
|
};
|
|
@@ -6710,9 +6849,9 @@ const OmbreComponent$14 = (props) => {
|
|
|
6710
6849
|
children: props.children
|
|
6711
6850
|
});
|
|
6712
6851
|
};
|
|
6713
|
-
var
|
|
6714
|
-
function computeEffectiveProps$13(props, defaultProps$
|
|
6715
|
-
let baseProps = { ...defaultProps$
|
|
6852
|
+
var SolidColor_default = OmbreComponent$14;
|
|
6853
|
+
function computeEffectiveProps$13(props, defaultProps$62) {
|
|
6854
|
+
let baseProps = { ...defaultProps$62 };
|
|
6716
6855
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6717
6856
|
return baseProps;
|
|
6718
6857
|
}
|
|
@@ -6731,7 +6870,7 @@ var defaultProps$13 = {
|
|
|
6731
6870
|
visible: true
|
|
6732
6871
|
};
|
|
6733
6872
|
try {
|
|
6734
|
-
if (componentDefinition$
|
|
6873
|
+
if (componentDefinition$48 && componentDefinition$48.props) Object.entries(componentDefinition$48.props).forEach(([key, config]) => {
|
|
6735
6874
|
const propConfig = config;
|
|
6736
6875
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$13[key] = propConfig.default;
|
|
6737
6876
|
});
|
|
@@ -6743,7 +6882,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6743
6882
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6744
6883
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6745
6884
|
const instanceId = useMemo(() => {
|
|
6746
|
-
return props.id || `${componentDefinition$
|
|
6885
|
+
return props.id || `${componentDefinition$48.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6747
6886
|
}, [props.id]);
|
|
6748
6887
|
const effectiveProps = useMemo(() => {
|
|
6749
6888
|
return computeEffectiveProps$13(props, defaultProps$13);
|
|
@@ -6753,7 +6892,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6753
6892
|
...props.transform
|
|
6754
6893
|
}), [props.transform]);
|
|
6755
6894
|
const uniformsRef = useRef(null);
|
|
6756
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6895
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$48, effectiveProps, instanceId);
|
|
6757
6896
|
const childContextValue = useMemo(() => {
|
|
6758
6897
|
return {
|
|
6759
6898
|
...context,
|
|
@@ -6775,7 +6914,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6775
6914
|
renderOrder: props.renderOrder || 0,
|
|
6776
6915
|
transform: effectiveTransform
|
|
6777
6916
|
};
|
|
6778
|
-
parentRegister(instanceId, componentDefinition$
|
|
6917
|
+
parentRegister(instanceId, componentDefinition$48.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$48);
|
|
6779
6918
|
return () => {
|
|
6780
6919
|
parentRegister(instanceId, null, null, null, null);
|
|
6781
6920
|
};
|
|
@@ -6848,9 +6987,9 @@ const OmbreComponent$13 = (props) => {
|
|
|
6848
6987
|
children: props.children
|
|
6849
6988
|
});
|
|
6850
6989
|
};
|
|
6851
|
-
var
|
|
6852
|
-
function computeEffectiveProps$12(props, defaultProps$
|
|
6853
|
-
let baseProps = { ...defaultProps$
|
|
6990
|
+
var Spherize_default = OmbreComponent$13;
|
|
6991
|
+
function computeEffectiveProps$12(props, defaultProps$62) {
|
|
6992
|
+
let baseProps = { ...defaultProps$62 };
|
|
6854
6993
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6855
6994
|
return baseProps;
|
|
6856
6995
|
}
|
|
@@ -6869,7 +7008,7 @@ var defaultProps$12 = {
|
|
|
6869
7008
|
visible: true
|
|
6870
7009
|
};
|
|
6871
7010
|
try {
|
|
6872
|
-
if (componentDefinition$
|
|
7011
|
+
if (componentDefinition$49 && componentDefinition$49.props) Object.entries(componentDefinition$49.props).forEach(([key, config]) => {
|
|
6873
7012
|
const propConfig = config;
|
|
6874
7013
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$12[key] = propConfig.default;
|
|
6875
7014
|
});
|
|
@@ -6881,7 +7020,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6881
7020
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6882
7021
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6883
7022
|
const instanceId = useMemo(() => {
|
|
6884
|
-
return props.id || `${componentDefinition$
|
|
7023
|
+
return props.id || `${componentDefinition$49.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6885
7024
|
}, [props.id]);
|
|
6886
7025
|
const effectiveProps = useMemo(() => {
|
|
6887
7026
|
return computeEffectiveProps$12(props, defaultProps$12);
|
|
@@ -6891,7 +7030,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6891
7030
|
...props.transform
|
|
6892
7031
|
}), [props.transform]);
|
|
6893
7032
|
const uniformsRef = useRef(null);
|
|
6894
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7033
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$49, effectiveProps, instanceId);
|
|
6895
7034
|
const childContextValue = useMemo(() => {
|
|
6896
7035
|
return {
|
|
6897
7036
|
...context,
|
|
@@ -6913,7 +7052,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6913
7052
|
renderOrder: props.renderOrder || 0,
|
|
6914
7053
|
transform: effectiveTransform
|
|
6915
7054
|
};
|
|
6916
|
-
parentRegister(instanceId, componentDefinition$
|
|
7055
|
+
parentRegister(instanceId, componentDefinition$49.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$49);
|
|
6917
7056
|
return () => {
|
|
6918
7057
|
parentRegister(instanceId, null, null, null, null);
|
|
6919
7058
|
};
|
|
@@ -6986,9 +7125,9 @@ const OmbreComponent$12 = (props) => {
|
|
|
6986
7125
|
children: props.children
|
|
6987
7126
|
});
|
|
6988
7127
|
};
|
|
6989
|
-
var
|
|
6990
|
-
function computeEffectiveProps$11(props, defaultProps$
|
|
6991
|
-
let baseProps = { ...defaultProps$
|
|
7128
|
+
var Spiral_default = OmbreComponent$12;
|
|
7129
|
+
function computeEffectiveProps$11(props, defaultProps$62) {
|
|
7130
|
+
let baseProps = { ...defaultProps$62 };
|
|
6992
7131
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6993
7132
|
return baseProps;
|
|
6994
7133
|
}
|
|
@@ -7007,7 +7146,7 @@ var defaultProps$11 = {
|
|
|
7007
7146
|
visible: true
|
|
7008
7147
|
};
|
|
7009
7148
|
try {
|
|
7010
|
-
if (componentDefinition$
|
|
7149
|
+
if (componentDefinition$50 && componentDefinition$50.props) Object.entries(componentDefinition$50.props).forEach(([key, config]) => {
|
|
7011
7150
|
const propConfig = config;
|
|
7012
7151
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$11[key] = propConfig.default;
|
|
7013
7152
|
});
|
|
@@ -7019,7 +7158,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
7019
7158
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7020
7159
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7021
7160
|
const instanceId = useMemo(() => {
|
|
7022
|
-
return props.id || `${componentDefinition$
|
|
7161
|
+
return props.id || `${componentDefinition$50.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7023
7162
|
}, [props.id]);
|
|
7024
7163
|
const effectiveProps = useMemo(() => {
|
|
7025
7164
|
return computeEffectiveProps$11(props, defaultProps$11);
|
|
@@ -7029,7 +7168,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
7029
7168
|
...props.transform
|
|
7030
7169
|
}), [props.transform]);
|
|
7031
7170
|
const uniformsRef = useRef(null);
|
|
7032
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7171
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$50, effectiveProps, instanceId);
|
|
7033
7172
|
const childContextValue = useMemo(() => {
|
|
7034
7173
|
return {
|
|
7035
7174
|
...context,
|
|
@@ -7051,7 +7190,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
7051
7190
|
renderOrder: props.renderOrder || 0,
|
|
7052
7191
|
transform: effectiveTransform
|
|
7053
7192
|
};
|
|
7054
|
-
parentRegister(instanceId, componentDefinition$
|
|
7193
|
+
parentRegister(instanceId, componentDefinition$50.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$50);
|
|
7055
7194
|
return () => {
|
|
7056
7195
|
parentRegister(instanceId, null, null, null, null);
|
|
7057
7196
|
};
|
|
@@ -7124,9 +7263,9 @@ const OmbreComponent$11 = (props) => {
|
|
|
7124
7263
|
children: props.children
|
|
7125
7264
|
});
|
|
7126
7265
|
};
|
|
7127
|
-
var
|
|
7128
|
-
function computeEffectiveProps$10(props, defaultProps$
|
|
7129
|
-
let baseProps = { ...defaultProps$
|
|
7266
|
+
var Strands_default = OmbreComponent$11;
|
|
7267
|
+
function computeEffectiveProps$10(props, defaultProps$62) {
|
|
7268
|
+
let baseProps = { ...defaultProps$62 };
|
|
7130
7269
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7131
7270
|
return baseProps;
|
|
7132
7271
|
}
|
|
@@ -7145,7 +7284,7 @@ var defaultProps$10 = {
|
|
|
7145
7284
|
visible: true
|
|
7146
7285
|
};
|
|
7147
7286
|
try {
|
|
7148
|
-
if (componentDefinition$
|
|
7287
|
+
if (componentDefinition$51 && componentDefinition$51.props) Object.entries(componentDefinition$51.props).forEach(([key, config]) => {
|
|
7149
7288
|
const propConfig = config;
|
|
7150
7289
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$10[key] = propConfig.default;
|
|
7151
7290
|
});
|
|
@@ -7157,7 +7296,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
7157
7296
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7158
7297
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7159
7298
|
const instanceId = useMemo(() => {
|
|
7160
|
-
return props.id || `${componentDefinition$
|
|
7299
|
+
return props.id || `${componentDefinition$51.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7161
7300
|
}, [props.id]);
|
|
7162
7301
|
const effectiveProps = useMemo(() => {
|
|
7163
7302
|
return computeEffectiveProps$10(props, defaultProps$10);
|
|
@@ -7167,7 +7306,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
7167
7306
|
...props.transform
|
|
7168
7307
|
}), [props.transform]);
|
|
7169
7308
|
const uniformsRef = useRef(null);
|
|
7170
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7309
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$51, effectiveProps, instanceId);
|
|
7171
7310
|
const childContextValue = useMemo(() => {
|
|
7172
7311
|
return {
|
|
7173
7312
|
...context,
|
|
@@ -7189,7 +7328,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
7189
7328
|
renderOrder: props.renderOrder || 0,
|
|
7190
7329
|
transform: effectiveTransform
|
|
7191
7330
|
};
|
|
7192
|
-
parentRegister(instanceId, componentDefinition$
|
|
7331
|
+
parentRegister(instanceId, componentDefinition$51.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$51);
|
|
7193
7332
|
return () => {
|
|
7194
7333
|
parentRegister(instanceId, null, null, null, null);
|
|
7195
7334
|
};
|
|
@@ -7262,9 +7401,9 @@ const OmbreComponent$10 = (props) => {
|
|
|
7262
7401
|
children: props.children
|
|
7263
7402
|
});
|
|
7264
7403
|
};
|
|
7265
|
-
var
|
|
7266
|
-
function computeEffectiveProps$9(props, defaultProps$
|
|
7267
|
-
let baseProps = { ...defaultProps$
|
|
7404
|
+
var Stretch_default = OmbreComponent$10;
|
|
7405
|
+
function computeEffectiveProps$9(props, defaultProps$62) {
|
|
7406
|
+
let baseProps = { ...defaultProps$62 };
|
|
7268
7407
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7269
7408
|
return baseProps;
|
|
7270
7409
|
}
|
|
@@ -7283,7 +7422,7 @@ var defaultProps$9 = {
|
|
|
7283
7422
|
visible: true
|
|
7284
7423
|
};
|
|
7285
7424
|
try {
|
|
7286
|
-
if (componentDefinition$
|
|
7425
|
+
if (componentDefinition$52 && componentDefinition$52.props) Object.entries(componentDefinition$52.props).forEach(([key, config]) => {
|
|
7287
7426
|
const propConfig = config;
|
|
7288
7427
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$9[key] = propConfig.default;
|
|
7289
7428
|
});
|
|
@@ -7295,7 +7434,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
7295
7434
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7296
7435
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7297
7436
|
const instanceId = useMemo(() => {
|
|
7298
|
-
return props.id || `${componentDefinition$
|
|
7437
|
+
return props.id || `${componentDefinition$52.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7299
7438
|
}, [props.id]);
|
|
7300
7439
|
const effectiveProps = useMemo(() => {
|
|
7301
7440
|
return computeEffectiveProps$9(props, defaultProps$9);
|
|
@@ -7305,7 +7444,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
7305
7444
|
...props.transform
|
|
7306
7445
|
}), [props.transform]);
|
|
7307
7446
|
const uniformsRef = useRef(null);
|
|
7308
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7447
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$52, effectiveProps, instanceId);
|
|
7309
7448
|
const childContextValue = useMemo(() => {
|
|
7310
7449
|
return {
|
|
7311
7450
|
...context,
|
|
@@ -7327,7 +7466,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
7327
7466
|
renderOrder: props.renderOrder || 0,
|
|
7328
7467
|
transform: effectiveTransform
|
|
7329
7468
|
};
|
|
7330
|
-
parentRegister(instanceId, componentDefinition$
|
|
7469
|
+
parentRegister(instanceId, componentDefinition$52.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$52);
|
|
7331
7470
|
return () => {
|
|
7332
7471
|
parentRegister(instanceId, null, null, null, null);
|
|
7333
7472
|
};
|
|
@@ -7400,9 +7539,9 @@ const OmbreComponent$9 = (props) => {
|
|
|
7400
7539
|
children: props.children
|
|
7401
7540
|
});
|
|
7402
7541
|
};
|
|
7403
|
-
var
|
|
7404
|
-
function computeEffectiveProps$8(props, defaultProps$
|
|
7405
|
-
let baseProps = { ...defaultProps$
|
|
7542
|
+
var Stripes_default = OmbreComponent$9;
|
|
7543
|
+
function computeEffectiveProps$8(props, defaultProps$62) {
|
|
7544
|
+
let baseProps = { ...defaultProps$62 };
|
|
7406
7545
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7407
7546
|
return baseProps;
|
|
7408
7547
|
}
|
|
@@ -7421,7 +7560,7 @@ var defaultProps$8 = {
|
|
|
7421
7560
|
visible: true
|
|
7422
7561
|
};
|
|
7423
7562
|
try {
|
|
7424
|
-
if (componentDefinition$
|
|
7563
|
+
if (componentDefinition$53 && componentDefinition$53.props) Object.entries(componentDefinition$53.props).forEach(([key, config]) => {
|
|
7425
7564
|
const propConfig = config;
|
|
7426
7565
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$8[key] = propConfig.default;
|
|
7427
7566
|
});
|
|
@@ -7433,7 +7572,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
7433
7572
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7434
7573
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7435
7574
|
const instanceId = useMemo(() => {
|
|
7436
|
-
return props.id || `${componentDefinition$
|
|
7575
|
+
return props.id || `${componentDefinition$53.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7437
7576
|
}, [props.id]);
|
|
7438
7577
|
const effectiveProps = useMemo(() => {
|
|
7439
7578
|
return computeEffectiveProps$8(props, defaultProps$8);
|
|
@@ -7443,7 +7582,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
7443
7582
|
...props.transform
|
|
7444
7583
|
}), [props.transform]);
|
|
7445
7584
|
const uniformsRef = useRef(null);
|
|
7446
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7585
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$53, effectiveProps, instanceId);
|
|
7447
7586
|
const childContextValue = useMemo(() => {
|
|
7448
7587
|
return {
|
|
7449
7588
|
...context,
|
|
@@ -7465,7 +7604,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
7465
7604
|
renderOrder: props.renderOrder || 0,
|
|
7466
7605
|
transform: effectiveTransform
|
|
7467
7606
|
};
|
|
7468
|
-
parentRegister(instanceId, componentDefinition$
|
|
7607
|
+
parentRegister(instanceId, componentDefinition$53.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$53);
|
|
7469
7608
|
return () => {
|
|
7470
7609
|
parentRegister(instanceId, null, null, null, null);
|
|
7471
7610
|
};
|
|
@@ -7538,9 +7677,9 @@ const OmbreComponent$8 = (props) => {
|
|
|
7538
7677
|
children: props.children
|
|
7539
7678
|
});
|
|
7540
7679
|
};
|
|
7541
|
-
var
|
|
7542
|
-
function computeEffectiveProps$7(props, defaultProps$
|
|
7543
|
-
let baseProps = { ...defaultProps$
|
|
7680
|
+
var Swirl_default = OmbreComponent$8;
|
|
7681
|
+
function computeEffectiveProps$7(props, defaultProps$62) {
|
|
7682
|
+
let baseProps = { ...defaultProps$62 };
|
|
7544
7683
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7545
7684
|
return baseProps;
|
|
7546
7685
|
}
|
|
@@ -7559,7 +7698,7 @@ var defaultProps$7 = {
|
|
|
7559
7698
|
visible: true
|
|
7560
7699
|
};
|
|
7561
7700
|
try {
|
|
7562
|
-
if (componentDefinition$
|
|
7701
|
+
if (componentDefinition$54 && componentDefinition$54.props) Object.entries(componentDefinition$54.props).forEach(([key, config]) => {
|
|
7563
7702
|
const propConfig = config;
|
|
7564
7703
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$7[key] = propConfig.default;
|
|
7565
7704
|
});
|
|
@@ -7571,7 +7710,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
7571
7710
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7572
7711
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7573
7712
|
const instanceId = useMemo(() => {
|
|
7574
|
-
return props.id || `${componentDefinition$
|
|
7713
|
+
return props.id || `${componentDefinition$54.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7575
7714
|
}, [props.id]);
|
|
7576
7715
|
const effectiveProps = useMemo(() => {
|
|
7577
7716
|
return computeEffectiveProps$7(props, defaultProps$7);
|
|
@@ -7581,7 +7720,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
7581
7720
|
...props.transform
|
|
7582
7721
|
}), [props.transform]);
|
|
7583
7722
|
const uniformsRef = useRef(null);
|
|
7584
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7723
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$54, effectiveProps, instanceId);
|
|
7585
7724
|
const childContextValue = useMemo(() => {
|
|
7586
7725
|
return {
|
|
7587
7726
|
...context,
|
|
@@ -7603,7 +7742,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
7603
7742
|
renderOrder: props.renderOrder || 0,
|
|
7604
7743
|
transform: effectiveTransform
|
|
7605
7744
|
};
|
|
7606
|
-
parentRegister(instanceId, componentDefinition$
|
|
7745
|
+
parentRegister(instanceId, componentDefinition$54.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$54);
|
|
7607
7746
|
return () => {
|
|
7608
7747
|
parentRegister(instanceId, null, null, null, null);
|
|
7609
7748
|
};
|
|
@@ -7676,9 +7815,9 @@ const OmbreComponent$7 = (props) => {
|
|
|
7676
7815
|
children: props.children
|
|
7677
7816
|
});
|
|
7678
7817
|
};
|
|
7679
|
-
var
|
|
7680
|
-
function computeEffectiveProps$6(props, defaultProps$
|
|
7681
|
-
let baseProps = { ...defaultProps$
|
|
7818
|
+
var TiltShift_default = OmbreComponent$7;
|
|
7819
|
+
function computeEffectiveProps$6(props, defaultProps$62) {
|
|
7820
|
+
let baseProps = { ...defaultProps$62 };
|
|
7682
7821
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7683
7822
|
return baseProps;
|
|
7684
7823
|
}
|
|
@@ -7697,7 +7836,7 @@ var defaultProps$6 = {
|
|
|
7697
7836
|
visible: true
|
|
7698
7837
|
};
|
|
7699
7838
|
try {
|
|
7700
|
-
if (componentDefinition$
|
|
7839
|
+
if (componentDefinition$55 && componentDefinition$55.props) Object.entries(componentDefinition$55.props).forEach(([key, config]) => {
|
|
7701
7840
|
const propConfig = config;
|
|
7702
7841
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$6[key] = propConfig.default;
|
|
7703
7842
|
});
|
|
@@ -7709,7 +7848,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7709
7848
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7710
7849
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7711
7850
|
const instanceId = useMemo(() => {
|
|
7712
|
-
return props.id || `${componentDefinition$
|
|
7851
|
+
return props.id || `${componentDefinition$55.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7713
7852
|
}, [props.id]);
|
|
7714
7853
|
const effectiveProps = useMemo(() => {
|
|
7715
7854
|
return computeEffectiveProps$6(props, defaultProps$6);
|
|
@@ -7719,7 +7858,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7719
7858
|
...props.transform
|
|
7720
7859
|
}), [props.transform]);
|
|
7721
7860
|
const uniformsRef = useRef(null);
|
|
7722
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7861
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$55, effectiveProps, instanceId);
|
|
7723
7862
|
const childContextValue = useMemo(() => {
|
|
7724
7863
|
return {
|
|
7725
7864
|
...context,
|
|
@@ -7741,7 +7880,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7741
7880
|
renderOrder: props.renderOrder || 0,
|
|
7742
7881
|
transform: effectiveTransform
|
|
7743
7882
|
};
|
|
7744
|
-
parentRegister(instanceId, componentDefinition$
|
|
7883
|
+
parentRegister(instanceId, componentDefinition$55.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$55);
|
|
7745
7884
|
return () => {
|
|
7746
7885
|
parentRegister(instanceId, null, null, null, null);
|
|
7747
7886
|
};
|
|
@@ -7814,9 +7953,9 @@ const OmbreComponent$6 = (props) => {
|
|
|
7814
7953
|
children: props.children
|
|
7815
7954
|
});
|
|
7816
7955
|
};
|
|
7817
|
-
var
|
|
7818
|
-
function computeEffectiveProps$5(props, defaultProps$
|
|
7819
|
-
let baseProps = { ...defaultProps$
|
|
7956
|
+
var Tint_default = OmbreComponent$6;
|
|
7957
|
+
function computeEffectiveProps$5(props, defaultProps$62) {
|
|
7958
|
+
let baseProps = { ...defaultProps$62 };
|
|
7820
7959
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7821
7960
|
return baseProps;
|
|
7822
7961
|
}
|
|
@@ -7835,7 +7974,7 @@ var defaultProps$5 = {
|
|
|
7835
7974
|
visible: true
|
|
7836
7975
|
};
|
|
7837
7976
|
try {
|
|
7838
|
-
if (componentDefinition$
|
|
7977
|
+
if (componentDefinition$56 && componentDefinition$56.props) Object.entries(componentDefinition$56.props).forEach(([key, config]) => {
|
|
7839
7978
|
const propConfig = config;
|
|
7840
7979
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$5[key] = propConfig.default;
|
|
7841
7980
|
});
|
|
@@ -7847,7 +7986,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7847
7986
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7848
7987
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7849
7988
|
const instanceId = useMemo(() => {
|
|
7850
|
-
return props.id || `${componentDefinition$
|
|
7989
|
+
return props.id || `${componentDefinition$56.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7851
7990
|
}, [props.id]);
|
|
7852
7991
|
const effectiveProps = useMemo(() => {
|
|
7853
7992
|
return computeEffectiveProps$5(props, defaultProps$5);
|
|
@@ -7857,7 +7996,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7857
7996
|
...props.transform
|
|
7858
7997
|
}), [props.transform]);
|
|
7859
7998
|
const uniformsRef = useRef(null);
|
|
7860
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7999
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$56, effectiveProps, instanceId);
|
|
7861
8000
|
const childContextValue = useMemo(() => {
|
|
7862
8001
|
return {
|
|
7863
8002
|
...context,
|
|
@@ -7879,7 +8018,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7879
8018
|
renderOrder: props.renderOrder || 0,
|
|
7880
8019
|
transform: effectiveTransform
|
|
7881
8020
|
};
|
|
7882
|
-
parentRegister(instanceId, componentDefinition$
|
|
8021
|
+
parentRegister(instanceId, componentDefinition$56.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$56);
|
|
7883
8022
|
return () => {
|
|
7884
8023
|
parentRegister(instanceId, null, null, null, null);
|
|
7885
8024
|
};
|
|
@@ -7952,9 +8091,9 @@ const OmbreComponent$5 = (props) => {
|
|
|
7952
8091
|
children: props.children
|
|
7953
8092
|
});
|
|
7954
8093
|
};
|
|
7955
|
-
var
|
|
7956
|
-
function computeEffectiveProps$4(props, defaultProps$
|
|
7957
|
-
let baseProps = { ...defaultProps$
|
|
8094
|
+
var Tritone_default = OmbreComponent$5;
|
|
8095
|
+
function computeEffectiveProps$4(props, defaultProps$62) {
|
|
8096
|
+
let baseProps = { ...defaultProps$62 };
|
|
7958
8097
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7959
8098
|
return baseProps;
|
|
7960
8099
|
}
|
|
@@ -7973,7 +8112,7 @@ var defaultProps$4 = {
|
|
|
7973
8112
|
visible: true
|
|
7974
8113
|
};
|
|
7975
8114
|
try {
|
|
7976
|
-
if (componentDefinition$
|
|
8115
|
+
if (componentDefinition$57 && componentDefinition$57.props) Object.entries(componentDefinition$57.props).forEach(([key, config]) => {
|
|
7977
8116
|
const propConfig = config;
|
|
7978
8117
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$4[key] = propConfig.default;
|
|
7979
8118
|
});
|
|
@@ -7985,7 +8124,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7985
8124
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7986
8125
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7987
8126
|
const instanceId = useMemo(() => {
|
|
7988
|
-
return props.id || `${componentDefinition$
|
|
8127
|
+
return props.id || `${componentDefinition$57.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7989
8128
|
}, [props.id]);
|
|
7990
8129
|
const effectiveProps = useMemo(() => {
|
|
7991
8130
|
return computeEffectiveProps$4(props, defaultProps$4);
|
|
@@ -7995,7 +8134,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7995
8134
|
...props.transform
|
|
7996
8135
|
}), [props.transform]);
|
|
7997
8136
|
const uniformsRef = useRef(null);
|
|
7998
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8137
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$57, effectiveProps, instanceId);
|
|
7999
8138
|
const childContextValue = useMemo(() => {
|
|
8000
8139
|
return {
|
|
8001
8140
|
...context,
|
|
@@ -8017,7 +8156,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
8017
8156
|
renderOrder: props.renderOrder || 0,
|
|
8018
8157
|
transform: effectiveTransform
|
|
8019
8158
|
};
|
|
8020
|
-
parentRegister(instanceId, componentDefinition$
|
|
8159
|
+
parentRegister(instanceId, componentDefinition$57.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$57);
|
|
8021
8160
|
return () => {
|
|
8022
8161
|
parentRegister(instanceId, null, null, null, null);
|
|
8023
8162
|
};
|
|
@@ -8090,9 +8229,9 @@ const OmbreComponent$4 = (props) => {
|
|
|
8090
8229
|
children: props.children
|
|
8091
8230
|
});
|
|
8092
8231
|
};
|
|
8093
|
-
var
|
|
8094
|
-
function computeEffectiveProps$3(props, defaultProps$
|
|
8095
|
-
let baseProps = { ...defaultProps$
|
|
8232
|
+
var Twirl_default = OmbreComponent$4;
|
|
8233
|
+
function computeEffectiveProps$3(props, defaultProps$62) {
|
|
8234
|
+
let baseProps = { ...defaultProps$62 };
|
|
8096
8235
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
8097
8236
|
return baseProps;
|
|
8098
8237
|
}
|
|
@@ -8111,7 +8250,7 @@ var defaultProps$3 = {
|
|
|
8111
8250
|
visible: true
|
|
8112
8251
|
};
|
|
8113
8252
|
try {
|
|
8114
|
-
if (componentDefinition$
|
|
8253
|
+
if (componentDefinition$58 && componentDefinition$58.props) Object.entries(componentDefinition$58.props).forEach(([key, config]) => {
|
|
8115
8254
|
const propConfig = config;
|
|
8116
8255
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$3[key] = propConfig.default;
|
|
8117
8256
|
});
|
|
@@ -8123,7 +8262,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
8123
8262
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
8124
8263
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
8125
8264
|
const instanceId = useMemo(() => {
|
|
8126
|
-
return props.id || `${componentDefinition$
|
|
8265
|
+
return props.id || `${componentDefinition$58.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8127
8266
|
}, [props.id]);
|
|
8128
8267
|
const effectiveProps = useMemo(() => {
|
|
8129
8268
|
return computeEffectiveProps$3(props, defaultProps$3);
|
|
@@ -8133,7 +8272,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
8133
8272
|
...props.transform
|
|
8134
8273
|
}), [props.transform]);
|
|
8135
8274
|
const uniformsRef = useRef(null);
|
|
8136
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8275
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$58, effectiveProps, instanceId);
|
|
8137
8276
|
const childContextValue = useMemo(() => {
|
|
8138
8277
|
return {
|
|
8139
8278
|
...context,
|
|
@@ -8155,7 +8294,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
8155
8294
|
renderOrder: props.renderOrder || 0,
|
|
8156
8295
|
transform: effectiveTransform
|
|
8157
8296
|
};
|
|
8158
|
-
parentRegister(instanceId, componentDefinition$
|
|
8297
|
+
parentRegister(instanceId, componentDefinition$58.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$58);
|
|
8159
8298
|
return () => {
|
|
8160
8299
|
parentRegister(instanceId, null, null, null, null);
|
|
8161
8300
|
};
|
|
@@ -8228,9 +8367,9 @@ const OmbreComponent$3 = (props) => {
|
|
|
8228
8367
|
children: props.children
|
|
8229
8368
|
});
|
|
8230
8369
|
};
|
|
8231
|
-
var
|
|
8232
|
-
function computeEffectiveProps$2(props, defaultProps$
|
|
8233
|
-
let baseProps = { ...defaultProps$
|
|
8370
|
+
var Vibrance_default = OmbreComponent$3;
|
|
8371
|
+
function computeEffectiveProps$2(props, defaultProps$62) {
|
|
8372
|
+
let baseProps = { ...defaultProps$62 };
|
|
8234
8373
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
8235
8374
|
return baseProps;
|
|
8236
8375
|
}
|
|
@@ -8249,7 +8388,7 @@ var defaultProps$2 = {
|
|
|
8249
8388
|
visible: true
|
|
8250
8389
|
};
|
|
8251
8390
|
try {
|
|
8252
|
-
if (componentDefinition$
|
|
8391
|
+
if (componentDefinition$59 && componentDefinition$59.props) Object.entries(componentDefinition$59.props).forEach(([key, config]) => {
|
|
8253
8392
|
const propConfig = config;
|
|
8254
8393
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$2[key] = propConfig.default;
|
|
8255
8394
|
});
|
|
@@ -8261,7 +8400,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
8261
8400
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
8262
8401
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
8263
8402
|
const instanceId = useMemo(() => {
|
|
8264
|
-
return props.id || `${componentDefinition$
|
|
8403
|
+
return props.id || `${componentDefinition$59.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8265
8404
|
}, [props.id]);
|
|
8266
8405
|
const effectiveProps = useMemo(() => {
|
|
8267
8406
|
return computeEffectiveProps$2(props, defaultProps$2);
|
|
@@ -8271,7 +8410,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
8271
8410
|
...props.transform
|
|
8272
8411
|
}), [props.transform]);
|
|
8273
8412
|
const uniformsRef = useRef(null);
|
|
8274
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8413
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$59, effectiveProps, instanceId);
|
|
8275
8414
|
const childContextValue = useMemo(() => {
|
|
8276
8415
|
return {
|
|
8277
8416
|
...context,
|
|
@@ -8293,7 +8432,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
8293
8432
|
renderOrder: props.renderOrder || 0,
|
|
8294
8433
|
transform: effectiveTransform
|
|
8295
8434
|
};
|
|
8296
|
-
parentRegister(instanceId, componentDefinition$
|
|
8435
|
+
parentRegister(instanceId, componentDefinition$59.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$59);
|
|
8297
8436
|
return () => {
|
|
8298
8437
|
parentRegister(instanceId, null, null, null, null);
|
|
8299
8438
|
};
|
|
@@ -8366,9 +8505,9 @@ const OmbreComponent$2 = (props) => {
|
|
|
8366
8505
|
children: props.children
|
|
8367
8506
|
});
|
|
8368
8507
|
};
|
|
8369
|
-
var
|
|
8370
|
-
function computeEffectiveProps$1(props, defaultProps$
|
|
8371
|
-
let baseProps = { ...defaultProps$
|
|
8508
|
+
var WaveDistortion_default = OmbreComponent$2;
|
|
8509
|
+
function computeEffectiveProps$1(props, defaultProps$62) {
|
|
8510
|
+
let baseProps = { ...defaultProps$62 };
|
|
8372
8511
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
8373
8512
|
return baseProps;
|
|
8374
8513
|
}
|
|
@@ -8387,7 +8526,7 @@ var defaultProps$1 = {
|
|
|
8387
8526
|
visible: true
|
|
8388
8527
|
};
|
|
8389
8528
|
try {
|
|
8390
|
-
if (componentDefinition$
|
|
8529
|
+
if (componentDefinition$60 && componentDefinition$60.props) Object.entries(componentDefinition$60.props).forEach(([key, config]) => {
|
|
8391
8530
|
const propConfig = config;
|
|
8392
8531
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$1[key] = propConfig.default;
|
|
8393
8532
|
});
|
|
@@ -8399,7 +8538,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
8399
8538
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
8400
8539
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
8401
8540
|
const instanceId = useMemo(() => {
|
|
8402
|
-
return props.id || `${componentDefinition$
|
|
8541
|
+
return props.id || `${componentDefinition$60.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8403
8542
|
}, [props.id]);
|
|
8404
8543
|
const effectiveProps = useMemo(() => {
|
|
8405
8544
|
return computeEffectiveProps$1(props, defaultProps$1);
|
|
@@ -8409,7 +8548,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
8409
8548
|
...props.transform
|
|
8410
8549
|
}), [props.transform]);
|
|
8411
8550
|
const uniformsRef = useRef(null);
|
|
8412
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8551
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$60, effectiveProps, instanceId);
|
|
8413
8552
|
const childContextValue = useMemo(() => {
|
|
8414
8553
|
return {
|
|
8415
8554
|
...context,
|
|
@@ -8431,7 +8570,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
8431
8570
|
renderOrder: props.renderOrder || 0,
|
|
8432
8571
|
transform: effectiveTransform
|
|
8433
8572
|
};
|
|
8434
|
-
parentRegister(instanceId, componentDefinition$
|
|
8573
|
+
parentRegister(instanceId, componentDefinition$60.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$60);
|
|
8435
8574
|
return () => {
|
|
8436
8575
|
parentRegister(instanceId, null, null, null, null);
|
|
8437
8576
|
};
|
|
@@ -8504,9 +8643,9 @@ const OmbreComponent$1 = (props) => {
|
|
|
8504
8643
|
children: props.children
|
|
8505
8644
|
});
|
|
8506
8645
|
};
|
|
8507
|
-
var
|
|
8508
|
-
function computeEffectiveProps(props, defaultProps$
|
|
8509
|
-
let baseProps = { ...defaultProps$
|
|
8646
|
+
var WebcamTexture_default = OmbreComponent$1;
|
|
8647
|
+
function computeEffectiveProps(props, defaultProps$62) {
|
|
8648
|
+
let baseProps = { ...defaultProps$62 };
|
|
8510
8649
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
8511
8650
|
return baseProps;
|
|
8512
8651
|
}
|
|
@@ -8525,7 +8664,7 @@ var defaultProps = {
|
|
|
8525
8664
|
visible: true
|
|
8526
8665
|
};
|
|
8527
8666
|
try {
|
|
8528
|
-
if (componentDefinition$
|
|
8667
|
+
if (componentDefinition$61 && componentDefinition$61.props) Object.entries(componentDefinition$61.props).forEach(([key, config]) => {
|
|
8529
8668
|
const propConfig = config;
|
|
8530
8669
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps[key] = propConfig.default;
|
|
8531
8670
|
});
|
|
@@ -8537,7 +8676,7 @@ const OmbreComponent = (props) => {
|
|
|
8537
8676
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
8538
8677
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
8539
8678
|
const instanceId = useMemo(() => {
|
|
8540
|
-
return props.id || `${componentDefinition$
|
|
8679
|
+
return props.id || `${componentDefinition$61.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8541
8680
|
}, [props.id]);
|
|
8542
8681
|
const effectiveProps = useMemo(() => {
|
|
8543
8682
|
return computeEffectiveProps(props, defaultProps);
|
|
@@ -8547,7 +8686,7 @@ const OmbreComponent = (props) => {
|
|
|
8547
8686
|
...props.transform
|
|
8548
8687
|
}), [props.transform]);
|
|
8549
8688
|
const uniformsRef = useRef(null);
|
|
8550
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8689
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$61, effectiveProps, instanceId);
|
|
8551
8690
|
const childContextValue = useMemo(() => {
|
|
8552
8691
|
return {
|
|
8553
8692
|
...context,
|
|
@@ -8569,7 +8708,7 @@ const OmbreComponent = (props) => {
|
|
|
8569
8708
|
renderOrder: props.renderOrder || 0,
|
|
8570
8709
|
transform: effectiveTransform
|
|
8571
8710
|
};
|
|
8572
|
-
parentRegister(instanceId, componentDefinition$
|
|
8711
|
+
parentRegister(instanceId, componentDefinition$61.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$61);
|
|
8573
8712
|
return () => {
|
|
8574
8713
|
parentRegister(instanceId, null, null, null, null);
|
|
8575
8714
|
};
|
|
@@ -8643,4 +8782,4 @@ const OmbreComponent = (props) => {
|
|
|
8643
8782
|
});
|
|
8644
8783
|
};
|
|
8645
8784
|
var ZoomBlur_default = OmbreComponent;
|
|
8646
|
-
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, Shatter_default as Shatter, 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, Stripes_default as Stripes, Swirl_default as Swirl, TiltShift_default as TiltShift, Tint_default as Tint, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, ZoomBlur_default as ZoomBlur, generatePresetCode };
|
|
8785
|
+
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, Shatter_default as Shatter, 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, Stripes_default as Stripes, Swirl_default as Swirl, TiltShift_default as TiltShift, Tint_default as Tint, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, WebcamTexture_default as WebcamTexture, ZoomBlur_default as ZoomBlur, generatePresetCode };
|