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