3d-shape-particle-text 1.0.0 → 1.0.1
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/README.md +15 -0
- package/dist/3d-shape-particle-text.es.js +499 -491
- package/dist/3d-shape-particle-text.umd.js +10 -10
- package/index.d.ts +30 -0
- package/package.json +7 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import lt, { useRef as
|
|
2
|
-
import * as
|
|
3
|
-
var
|
|
1
|
+
import lt, { useRef as nt, useEffect as dt } from "react";
|
|
2
|
+
import * as u from "three";
|
|
3
|
+
var at = { exports: {} }, Ge = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,19 +12,19 @@ var nt = { exports: {} }, Ae = {};
|
|
|
12
12
|
*/
|
|
13
13
|
var ot;
|
|
14
14
|
function ht() {
|
|
15
|
-
if (ot) return
|
|
15
|
+
if (ot) return Ge;
|
|
16
16
|
ot = 1;
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
if (
|
|
23
|
-
return { $$typeof:
|
|
17
|
+
var ge = lt, L = Symbol.for("react.element"), ye = Symbol.for("react.fragment"), X = Object.prototype.hasOwnProperty, se = ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, be = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function ce(V, R, U) {
|
|
19
|
+
var x, M = {}, B = null, le = null;
|
|
20
|
+
U !== void 0 && (B = "" + U), R.key !== void 0 && (B = "" + R.key), R.ref !== void 0 && (le = R.ref);
|
|
21
|
+
for (x in R) X.call(R, x) && !be.hasOwnProperty(x) && (M[x] = R[x]);
|
|
22
|
+
if (V && V.defaultProps) for (x in R = V.defaultProps, R) M[x] === void 0 && (M[x] = R[x]);
|
|
23
|
+
return { $$typeof: L, type: V, key: B, ref: le, props: M, _owner: se.current };
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return Ge.Fragment = ye, Ge.jsx = ce, Ge.jsxs = ce, Ge;
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Ie = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.development.js
|
|
@@ -37,51 +37,51 @@ var Ce = {};
|
|
|
37
37
|
var st;
|
|
38
38
|
function pt() {
|
|
39
39
|
return st || (st = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
|
-
var
|
|
41
|
-
function
|
|
40
|
+
var ge = lt, L = Symbol.for("react.element"), ye = Symbol.for("react.portal"), X = Symbol.for("react.fragment"), se = Symbol.for("react.strict_mode"), be = Symbol.for("react.profiler"), ce = Symbol.for("react.provider"), V = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), U = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), le = Symbol.for("react.offscreen"), Ce = Symbol.iterator, Ye = "@@iterator";
|
|
41
|
+
function J(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
|
-
var t =
|
|
44
|
+
var t = Ce && e[Ce] || e[Ye];
|
|
45
45
|
return typeof t == "function" ? t : null;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var K = ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
48
|
function _(e) {
|
|
49
49
|
{
|
|
50
|
-
for (var t = arguments.length,
|
|
51
|
-
|
|
52
|
-
Xe("error", e,
|
|
50
|
+
for (var t = arguments.length, a = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
|
|
51
|
+
a[s - 1] = arguments[s];
|
|
52
|
+
Xe("error", e, a);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function Xe(e, t,
|
|
55
|
+
function Xe(e, t, a) {
|
|
56
56
|
{
|
|
57
|
-
var s =
|
|
58
|
-
|
|
59
|
-
var
|
|
57
|
+
var s = K.ReactDebugCurrentFrame, f = s.getStackAddendum();
|
|
58
|
+
f !== "" && (t += "%s", a = a.concat([f]));
|
|
59
|
+
var h = a.map(function(l) {
|
|
60
60
|
return String(l);
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
h.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, h);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var Je = !1,
|
|
66
|
-
|
|
67
|
-
function
|
|
68
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
65
|
+
var Je = !1, $e = !1, we = !1, E = !1, ue = !1, xe;
|
|
66
|
+
xe = Symbol.for("react.module.reference");
|
|
67
|
+
function it(e) {
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === X || e === be || ue || e === se || e === U || e === x || E || e === le || Je || $e || we || typeof e == "object" && e !== null && (e.$$typeof === B || e.$$typeof === M || e.$$typeof === ce || e.$$typeof === V || e.$$typeof === R || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
72
|
-
e.$$typeof ===
|
|
72
|
+
e.$$typeof === xe || e.getModuleId !== void 0));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function ne(e, t, a) {
|
|
75
75
|
var s = e.displayName;
|
|
76
76
|
if (s)
|
|
77
77
|
return s;
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var f = t.displayName || t.name || "";
|
|
79
|
+
return f !== "" ? a + "(" + f + ")" : a;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Z(e) {
|
|
82
82
|
return e.displayName || "Context";
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function y(e) {
|
|
85
85
|
if (e == null)
|
|
86
86
|
return null;
|
|
87
87
|
if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -89,36 +89,36 @@ function pt() {
|
|
|
89
89
|
if (typeof e == "string")
|
|
90
90
|
return e;
|
|
91
91
|
switch (e) {
|
|
92
|
-
case
|
|
92
|
+
case X:
|
|
93
93
|
return "Fragment";
|
|
94
|
-
case
|
|
94
|
+
case ye:
|
|
95
95
|
return "Portal";
|
|
96
|
-
case
|
|
96
|
+
case be:
|
|
97
97
|
return "Profiler";
|
|
98
|
-
case
|
|
98
|
+
case se:
|
|
99
99
|
return "StrictMode";
|
|
100
|
-
case
|
|
100
|
+
case U:
|
|
101
101
|
return "Suspense";
|
|
102
|
-
case
|
|
102
|
+
case x:
|
|
103
103
|
return "SuspenseList";
|
|
104
104
|
}
|
|
105
105
|
if (typeof e == "object")
|
|
106
106
|
switch (e.$$typeof) {
|
|
107
|
-
case
|
|
107
|
+
case V:
|
|
108
108
|
var t = e;
|
|
109
|
-
return
|
|
110
|
-
case
|
|
111
|
-
var
|
|
112
|
-
return
|
|
109
|
+
return Z(t) + ".Consumer";
|
|
110
|
+
case ce:
|
|
111
|
+
var a = e;
|
|
112
|
+
return Z(a._context) + ".Provider";
|
|
113
113
|
case R:
|
|
114
|
-
return
|
|
114
|
+
return ne(e, e.render, "ForwardRef");
|
|
115
115
|
case M:
|
|
116
116
|
var s = e.displayName || null;
|
|
117
|
-
return s !== null ? s :
|
|
118
|
-
case
|
|
119
|
-
var
|
|
117
|
+
return s !== null ? s : y(e.type) || "Memo";
|
|
118
|
+
case B: {
|
|
119
|
+
var f = e, h = f._payload, l = f._init;
|
|
120
120
|
try {
|
|
121
|
-
return
|
|
121
|
+
return y(l(h));
|
|
122
122
|
} catch {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
@@ -126,18 +126,18 @@ function pt() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
129
|
+
var q = Object.assign, O = 0, W, ae, N, fe, F, je, Ee;
|
|
130
|
+
function Re() {
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
function
|
|
132
|
+
Re.__reactDisabledLog = !0;
|
|
133
|
+
function G() {
|
|
134
134
|
{
|
|
135
|
-
if (
|
|
136
|
-
|
|
135
|
+
if (O === 0) {
|
|
136
|
+
W = console.log, ae = console.info, N = console.warn, fe = console.error, F = console.group, je = console.groupCollapsed, Ee = console.groupEnd;
|
|
137
137
|
var e = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
140
|
-
value:
|
|
140
|
+
value: Re,
|
|
141
141
|
writable: !0
|
|
142
142
|
};
|
|
143
143
|
Object.defineProperties(console, {
|
|
@@ -150,77 +150,77 @@ function pt() {
|
|
|
150
150
|
groupEnd: e
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
O++;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function C() {
|
|
157
157
|
{
|
|
158
|
-
if (
|
|
158
|
+
if (O--, O === 0) {
|
|
159
159
|
var e = {
|
|
160
160
|
configurable: !0,
|
|
161
161
|
enumerable: !0,
|
|
162
162
|
writable: !0
|
|
163
163
|
};
|
|
164
164
|
Object.defineProperties(console, {
|
|
165
|
-
log:
|
|
166
|
-
value:
|
|
165
|
+
log: q({}, e, {
|
|
166
|
+
value: W
|
|
167
167
|
}),
|
|
168
|
-
info:
|
|
169
|
-
value:
|
|
168
|
+
info: q({}, e, {
|
|
169
|
+
value: ae
|
|
170
170
|
}),
|
|
171
|
-
warn:
|
|
172
|
-
value:
|
|
171
|
+
warn: q({}, e, {
|
|
172
|
+
value: N
|
|
173
173
|
}),
|
|
174
|
-
error:
|
|
175
|
-
value:
|
|
174
|
+
error: q({}, e, {
|
|
175
|
+
value: fe
|
|
176
176
|
}),
|
|
177
|
-
group:
|
|
178
|
-
value:
|
|
177
|
+
group: q({}, e, {
|
|
178
|
+
value: F
|
|
179
179
|
}),
|
|
180
|
-
groupCollapsed:
|
|
181
|
-
value:
|
|
180
|
+
groupCollapsed: q({}, e, {
|
|
181
|
+
value: je
|
|
182
182
|
}),
|
|
183
|
-
groupEnd:
|
|
184
|
-
value:
|
|
183
|
+
groupEnd: q({}, e, {
|
|
184
|
+
value: Ee
|
|
185
185
|
})
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
O < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
function
|
|
191
|
+
var p = K.ReactCurrentDispatcher, ze;
|
|
192
|
+
function S(e, t, a) {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (ze === void 0)
|
|
195
195
|
try {
|
|
196
196
|
throw Error();
|
|
197
|
-
} catch (
|
|
198
|
-
var s =
|
|
199
|
-
|
|
197
|
+
} catch (f) {
|
|
198
|
+
var s = f.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
+
ze = s && s[1] || "";
|
|
200
200
|
}
|
|
201
201
|
return `
|
|
202
|
-
` +
|
|
202
|
+
` + ze + e;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
var
|
|
205
|
+
var ke = !1, _e;
|
|
206
206
|
{
|
|
207
207
|
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
208
|
-
|
|
208
|
+
_e = new Ke();
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
if (!e ||
|
|
210
|
+
function H(e, t) {
|
|
211
|
+
if (!e || ke)
|
|
212
212
|
return "";
|
|
213
213
|
{
|
|
214
|
-
var
|
|
215
|
-
if (
|
|
216
|
-
return
|
|
214
|
+
var a = _e.get(e);
|
|
215
|
+
if (a !== void 0)
|
|
216
|
+
return a;
|
|
217
217
|
}
|
|
218
218
|
var s;
|
|
219
|
-
|
|
220
|
-
var
|
|
219
|
+
ke = !0;
|
|
220
|
+
var f = Error.prepareStackTrace;
|
|
221
221
|
Error.prepareStackTrace = void 0;
|
|
222
|
-
var
|
|
223
|
-
|
|
222
|
+
var h;
|
|
223
|
+
h = p.current, p.current = null, G();
|
|
224
224
|
try {
|
|
225
225
|
if (t) {
|
|
226
226
|
var l = function() {
|
|
@@ -233,249 +233,249 @@ function pt() {
|
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
235
|
Reflect.construct(l, []);
|
|
236
|
-
} catch (
|
|
237
|
-
s =
|
|
236
|
+
} catch (A) {
|
|
237
|
+
s = A;
|
|
238
238
|
}
|
|
239
239
|
Reflect.construct(e, [], l);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
242
|
l.call();
|
|
243
|
-
} catch (
|
|
244
|
-
s =
|
|
243
|
+
} catch (A) {
|
|
244
|
+
s = A;
|
|
245
245
|
}
|
|
246
246
|
e.call(l.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
|
-
} catch (
|
|
252
|
-
s =
|
|
251
|
+
} catch (A) {
|
|
252
|
+
s = A;
|
|
253
253
|
}
|
|
254
254
|
e();
|
|
255
255
|
}
|
|
256
|
-
} catch (
|
|
257
|
-
if (
|
|
258
|
-
for (var
|
|
259
|
-
`),
|
|
260
|
-
`),
|
|
261
|
-
|
|
262
|
-
for (;
|
|
263
|
-
if (
|
|
264
|
-
if (
|
|
256
|
+
} catch (A) {
|
|
257
|
+
if (A && s && typeof A.stack == "string") {
|
|
258
|
+
for (var d = A.stack.split(`
|
|
259
|
+
`), w = s.stack.split(`
|
|
260
|
+
`), m = d.length - 1, b = w.length - 1; m >= 1 && b >= 0 && d[m] !== w[b]; )
|
|
261
|
+
b--;
|
|
262
|
+
for (; m >= 1 && b >= 0; m--, b--)
|
|
263
|
+
if (d[m] !== w[b]) {
|
|
264
|
+
if (m !== 1 || b !== 1)
|
|
265
265
|
do
|
|
266
|
-
if (
|
|
267
|
-
var
|
|
268
|
-
` +
|
|
269
|
-
return e.displayName &&
|
|
266
|
+
if (m--, b--, b < 0 || d[m] !== w[b]) {
|
|
267
|
+
var z = `
|
|
268
|
+
` + d[m].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && z.includes("<anonymous>") && (z = z.replace("<anonymous>", e.displayName)), typeof e == "function" && _e.set(e, z), z;
|
|
270
270
|
}
|
|
271
|
-
while (
|
|
271
|
+
while (m >= 1 && b >= 0);
|
|
272
272
|
break;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
} finally {
|
|
276
|
-
|
|
276
|
+
ke = !1, p.current = h, C(), Error.prepareStackTrace = f;
|
|
277
277
|
}
|
|
278
|
-
var
|
|
279
|
-
return typeof e == "function" &&
|
|
278
|
+
var Oe = e ? e.displayName || e.name : "", me = Oe ? S(Oe) : "";
|
|
279
|
+
return typeof e == "function" && _e.set(e, me), me;
|
|
280
280
|
}
|
|
281
|
-
function Ze(e, t,
|
|
282
|
-
return
|
|
281
|
+
function Ze(e, t, a) {
|
|
282
|
+
return H(e, !1);
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function Qe(e) {
|
|
285
285
|
var t = e.prototype;
|
|
286
286
|
return !!(t && t.isReactComponent);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Pe(e, t, a) {
|
|
289
289
|
if (e == null)
|
|
290
290
|
return "";
|
|
291
291
|
if (typeof e == "function")
|
|
292
|
-
return
|
|
292
|
+
return H(e, Qe(e));
|
|
293
293
|
if (typeof e == "string")
|
|
294
|
-
return
|
|
294
|
+
return S(e);
|
|
295
295
|
switch (e) {
|
|
296
|
-
case
|
|
297
|
-
return
|
|
298
|
-
case
|
|
299
|
-
return
|
|
296
|
+
case U:
|
|
297
|
+
return S("Suspense");
|
|
298
|
+
case x:
|
|
299
|
+
return S("SuspenseList");
|
|
300
300
|
}
|
|
301
301
|
if (typeof e == "object")
|
|
302
302
|
switch (e.$$typeof) {
|
|
303
303
|
case R:
|
|
304
304
|
return Ze(e.render);
|
|
305
305
|
case M:
|
|
306
|
-
return
|
|
307
|
-
case
|
|
308
|
-
var s = e,
|
|
306
|
+
return Pe(e.type, t, a);
|
|
307
|
+
case B: {
|
|
308
|
+
var s = e, f = s._payload, h = s._init;
|
|
309
309
|
try {
|
|
310
|
-
return
|
|
310
|
+
return Pe(h(f), t, a);
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
return "";
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
function
|
|
317
|
+
var de = Object.prototype.hasOwnProperty, Ae = {}, Fe = K.ReactDebugCurrentFrame;
|
|
318
|
+
function he(e) {
|
|
319
319
|
if (e) {
|
|
320
|
-
var t = e._owner,
|
|
321
|
-
|
|
320
|
+
var t = e._owner, a = Pe(e.type, e._source, t ? t.type : null);
|
|
321
|
+
Fe.setExtraStackFrame(a);
|
|
322
322
|
} else
|
|
323
|
-
|
|
323
|
+
Fe.setExtraStackFrame(null);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Me(e, t, a, s, f) {
|
|
326
326
|
{
|
|
327
|
-
var
|
|
327
|
+
var h = Function.call.bind(de);
|
|
328
328
|
for (var l in e)
|
|
329
|
-
if (
|
|
330
|
-
var
|
|
329
|
+
if (h(e, l)) {
|
|
330
|
+
var d = void 0;
|
|
331
331
|
try {
|
|
332
332
|
if (typeof e[l] != "function") {
|
|
333
|
-
var
|
|
334
|
-
throw
|
|
333
|
+
var w = Error((s || "React class") + ": " + a + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw w.name = "Invariant Violation", w;
|
|
335
335
|
}
|
|
336
|
-
|
|
337
|
-
} catch (
|
|
338
|
-
|
|
336
|
+
d = e[l](t, l, s, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
+
} catch (m) {
|
|
338
|
+
d = m;
|
|
339
339
|
}
|
|
340
|
-
|
|
340
|
+
d && !(d instanceof Error) && (he(f), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", a, l, typeof d), he(null)), d instanceof Error && !(d.message in Ae) && (Ae[d.message] = !0, he(f), _("Failed %s type: %s", a, d.message), he(null));
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
var
|
|
345
|
-
function
|
|
346
|
-
return
|
|
344
|
+
var Q = Array.isArray;
|
|
345
|
+
function pe(e) {
|
|
346
|
+
return Q(e);
|
|
347
347
|
}
|
|
348
348
|
function et(e) {
|
|
349
349
|
{
|
|
350
|
-
var t = typeof Symbol == "function" && Symbol.toStringTag,
|
|
351
|
-
return
|
|
350
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, a = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
|
+
return a;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Be(e) {
|
|
355
355
|
try {
|
|
356
|
-
return
|
|
356
|
+
return Ve(e), !1;
|
|
357
357
|
} catch {
|
|
358
358
|
return !0;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ve(e) {
|
|
362
362
|
return "" + e;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
if (
|
|
366
|
-
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", et(e)),
|
|
364
|
+
function Ue(e) {
|
|
365
|
+
if (Be(e))
|
|
366
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", et(e)), Ve(e);
|
|
367
367
|
}
|
|
368
|
-
var
|
|
368
|
+
var ve = K.ReactCurrentOwner, Te = {
|
|
369
369
|
key: !0,
|
|
370
370
|
ref: !0,
|
|
371
371
|
__self: !0,
|
|
372
372
|
__source: !0
|
|
373
|
-
},
|
|
374
|
-
function
|
|
375
|
-
if (
|
|
373
|
+
}, ee, De;
|
|
374
|
+
function ie(e) {
|
|
375
|
+
if (de.call(e, "ref")) {
|
|
376
376
|
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
377
|
if (t && t.isReactWarning)
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
if (
|
|
382
|
+
function tt(e) {
|
|
383
|
+
if (de.call(e, "key")) {
|
|
384
384
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
385
|
if (t && t.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
391
|
-
typeof e.ref == "string" &&
|
|
390
|
+
function te(e, t) {
|
|
391
|
+
typeof e.ref == "string" && ve.current;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function qe(e, t) {
|
|
394
394
|
{
|
|
395
|
-
var
|
|
396
|
-
|
|
395
|
+
var a = function() {
|
|
396
|
+
ee || (ee = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
397
397
|
};
|
|
398
|
-
|
|
399
|
-
get:
|
|
398
|
+
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
399
|
+
get: a,
|
|
400
400
|
configurable: !0
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Ne(e, t) {
|
|
405
405
|
{
|
|
406
|
-
var
|
|
407
|
-
|
|
406
|
+
var a = function() {
|
|
407
|
+
De || (De = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
408
408
|
};
|
|
409
|
-
|
|
410
|
-
get:
|
|
409
|
+
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
410
|
+
get: a,
|
|
411
411
|
configurable: !0
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
416
|
-
var
|
|
415
|
+
var Le = function(e, t, a, s, f, h, l) {
|
|
416
|
+
var d = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
|
-
$$typeof:
|
|
418
|
+
$$typeof: L,
|
|
419
419
|
// Built-in properties that belong on the element
|
|
420
420
|
type: e,
|
|
421
421
|
key: t,
|
|
422
|
-
ref:
|
|
422
|
+
ref: a,
|
|
423
423
|
props: l,
|
|
424
424
|
// Record the component responsible for creating this element.
|
|
425
|
-
_owner:
|
|
425
|
+
_owner: h
|
|
426
426
|
};
|
|
427
|
-
return
|
|
427
|
+
return d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
428
428
|
configurable: !1,
|
|
429
429
|
enumerable: !1,
|
|
430
430
|
writable: !0,
|
|
431
431
|
value: !1
|
|
432
|
-
}), Object.defineProperty(
|
|
432
|
+
}), Object.defineProperty(d, "_self", {
|
|
433
433
|
configurable: !1,
|
|
434
434
|
enumerable: !1,
|
|
435
435
|
writable: !1,
|
|
436
436
|
value: s
|
|
437
|
-
}), Object.defineProperty(
|
|
437
|
+
}), Object.defineProperty(d, "_source", {
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !1,
|
|
441
|
-
value:
|
|
442
|
-
}), Object.freeze && (Object.freeze(
|
|
441
|
+
value: f
|
|
442
|
+
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
443
443
|
};
|
|
444
|
-
function
|
|
444
|
+
function He(e, t, a, s, f) {
|
|
445
445
|
{
|
|
446
|
-
var
|
|
447
|
-
|
|
448
|
-
for (
|
|
449
|
-
|
|
446
|
+
var h, l = {}, d = null, w = null;
|
|
447
|
+
a !== void 0 && (Ue(a), d = "" + a), tt(t) && (Ue(t.key), d = "" + t.key), ie(t) && (w = t.ref, te(t, f));
|
|
448
|
+
for (h in t)
|
|
449
|
+
de.call(t, h) && !Te.hasOwnProperty(h) && (l[h] = t[h]);
|
|
450
450
|
if (e && e.defaultProps) {
|
|
451
|
-
var
|
|
452
|
-
for (
|
|
453
|
-
l[
|
|
451
|
+
var m = e.defaultProps;
|
|
452
|
+
for (h in m)
|
|
453
|
+
l[h] === void 0 && (l[h] = m[h]);
|
|
454
454
|
}
|
|
455
|
-
if (
|
|
456
|
-
var
|
|
457
|
-
|
|
455
|
+
if (d || w) {
|
|
456
|
+
var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
+
d && qe(l, b), w && Ne(l, b);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return Le(e, d, w, f, s, ve.current, l);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
var
|
|
463
|
-
function
|
|
462
|
+
var Se = K.ReactCurrentOwner, We = K.ReactDebugCurrentFrame;
|
|
463
|
+
function re(e) {
|
|
464
464
|
if (e) {
|
|
465
|
-
var t = e._owner,
|
|
466
|
-
|
|
465
|
+
var t = e._owner, a = Pe(e.type, e._source, t ? t.type : null);
|
|
466
|
+
We.setExtraStackFrame(a);
|
|
467
467
|
} else
|
|
468
|
-
|
|
468
|
+
We.setExtraStackFrame(null);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
function
|
|
473
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
470
|
+
var r;
|
|
471
|
+
r = !1;
|
|
472
|
+
function n(e) {
|
|
473
|
+
return typeof e == "object" && e !== null && e.$$typeof === L;
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function o() {
|
|
476
476
|
{
|
|
477
|
-
if (
|
|
478
|
-
var e =
|
|
477
|
+
if (Se.current) {
|
|
478
|
+
var e = y(Se.current.type);
|
|
479
479
|
if (e)
|
|
480
480
|
return `
|
|
481
481
|
|
|
@@ -484,464 +484,472 @@ Check the render method of \`` + e + "`.";
|
|
|
484
484
|
return "";
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function c(e) {
|
|
488
488
|
return "";
|
|
489
489
|
}
|
|
490
|
-
var
|
|
491
|
-
function
|
|
490
|
+
var i = {};
|
|
491
|
+
function g(e) {
|
|
492
492
|
{
|
|
493
|
-
var t =
|
|
493
|
+
var t = o();
|
|
494
494
|
if (!t) {
|
|
495
|
-
var
|
|
496
|
-
|
|
495
|
+
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
496
|
+
a && (t = `
|
|
497
497
|
|
|
498
|
-
Check the top-level render call using <` +
|
|
498
|
+
Check the top-level render call using <` + a + ">.");
|
|
499
499
|
}
|
|
500
500
|
return t;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function T(e, t) {
|
|
504
504
|
{
|
|
505
505
|
if (!e._store || e._store.validated || e.key != null)
|
|
506
506
|
return;
|
|
507
507
|
e._store.validated = !0;
|
|
508
|
-
var
|
|
509
|
-
if (
|
|
508
|
+
var a = g(t);
|
|
509
|
+
if (i[a])
|
|
510
510
|
return;
|
|
511
|
-
|
|
511
|
+
i[a] = !0;
|
|
512
512
|
var s = "";
|
|
513
|
-
e && e._owner && e._owner !==
|
|
513
|
+
e && e._owner && e._owner !== Se.current && (s = " It was passed a child from " + y(e._owner.type) + "."), re(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, s), re(null);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function v(e, t) {
|
|
517
517
|
{
|
|
518
518
|
if (typeof e != "object")
|
|
519
519
|
return;
|
|
520
|
-
if (
|
|
521
|
-
for (var
|
|
522
|
-
var s = e[
|
|
523
|
-
|
|
520
|
+
if (pe(e))
|
|
521
|
+
for (var a = 0; a < e.length; a++) {
|
|
522
|
+
var s = e[a];
|
|
523
|
+
n(s) && T(s, t);
|
|
524
524
|
}
|
|
525
|
-
else if (
|
|
525
|
+
else if (n(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var
|
|
529
|
-
if (typeof
|
|
530
|
-
for (var
|
|
531
|
-
|
|
528
|
+
var f = J(e);
|
|
529
|
+
if (typeof f == "function" && f !== e.entries)
|
|
530
|
+
for (var h = f.call(e), l; !(l = h.next()).done; )
|
|
531
|
+
n(l.value) && T(l.value, t);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function j(e) {
|
|
536
536
|
{
|
|
537
537
|
var t = e.type;
|
|
538
538
|
if (t == null || typeof t == "string")
|
|
539
539
|
return;
|
|
540
|
-
var
|
|
540
|
+
var a;
|
|
541
541
|
if (typeof t == "function")
|
|
542
|
-
|
|
542
|
+
a = t.propTypes;
|
|
543
543
|
else if (typeof t == "object" && (t.$$typeof === R || // Note: Memo only checks outer props here.
|
|
544
544
|
// Inner props are checked in the reconciler.
|
|
545
545
|
t.$$typeof === M))
|
|
546
|
-
|
|
546
|
+
a = t.propTypes;
|
|
547
547
|
else
|
|
548
548
|
return;
|
|
549
|
-
if (
|
|
550
|
-
var s =
|
|
551
|
-
|
|
552
|
-
} else if (t.PropTypes !== void 0 && !
|
|
553
|
-
|
|
554
|
-
var
|
|
555
|
-
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
549
|
+
if (a) {
|
|
550
|
+
var s = y(t);
|
|
551
|
+
Me(a, e.props, "prop", s, e);
|
|
552
|
+
} else if (t.PropTypes !== void 0 && !r) {
|
|
553
|
+
r = !0;
|
|
554
|
+
var f = y(t);
|
|
555
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", f || "Unknown");
|
|
556
556
|
}
|
|
557
557
|
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function P(e) {
|
|
561
561
|
{
|
|
562
|
-
for (var t = Object.keys(e.props),
|
|
563
|
-
var s = t[
|
|
562
|
+
for (var t = Object.keys(e.props), a = 0; a < t.length; a++) {
|
|
563
|
+
var s = t[a];
|
|
564
564
|
if (s !== "children" && s !== "key") {
|
|
565
|
-
|
|
565
|
+
re(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), re(null);
|
|
566
566
|
break;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
e.ref !== null && (
|
|
569
|
+
e.ref !== null && (re(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), re(null));
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
572
|
+
var I = {};
|
|
573
|
+
function D(e, t, a, s, f, h) {
|
|
574
574
|
{
|
|
575
|
-
var l =
|
|
575
|
+
var l = it(e);
|
|
576
576
|
if (!l) {
|
|
577
|
-
var
|
|
578
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
579
|
-
var
|
|
580
|
-
|
|
581
|
-
var
|
|
582
|
-
e === null ?
|
|
577
|
+
var d = "";
|
|
578
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
579
|
+
var w = c();
|
|
580
|
+
w ? d += w : d += o();
|
|
581
|
+
var m;
|
|
582
|
+
e === null ? m = "null" : pe(e) ? m = "array" : e !== void 0 && e.$$typeof === L ? (m = "<" + (y(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, d);
|
|
583
583
|
}
|
|
584
|
-
var
|
|
585
|
-
if (
|
|
586
|
-
return
|
|
584
|
+
var b = He(e, t, a, f, h);
|
|
585
|
+
if (b == null)
|
|
586
|
+
return b;
|
|
587
587
|
if (l) {
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
588
|
+
var z = t.children;
|
|
589
|
+
if (z !== void 0)
|
|
590
590
|
if (s)
|
|
591
|
-
if (
|
|
592
|
-
for (var
|
|
593
|
-
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (pe(z)) {
|
|
592
|
+
for (var Oe = 0; Oe < z.length; Oe++)
|
|
593
|
+
v(z[Oe], e);
|
|
594
|
+
Object.freeze && Object.freeze(z);
|
|
595
595
|
} else
|
|
596
596
|
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
|
|
598
|
+
v(z, e);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
601
|
-
var
|
|
600
|
+
if (de.call(t, "key")) {
|
|
601
|
+
var me = y(e), A = Object.keys(t).filter(function(ft) {
|
|
602
602
|
return ft !== "key";
|
|
603
|
-
}),
|
|
604
|
-
if (!
|
|
605
|
-
var ut =
|
|
603
|
+
}), rt = A.length > 0 ? "{key: someKey, " + A.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
|
+
if (!I[me + rt]) {
|
|
605
|
+
var ut = A.length > 0 ? "{" + A.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
_(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
609
609
|
React keys must be passed directly to JSX without using spread:
|
|
610
610
|
let props = %s;
|
|
611
|
-
<%s key={someKey} {...props} />`,
|
|
611
|
+
<%s key={someKey} {...props} />`, rt, me, ut, me), I[me + rt] = !0;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
return e ===
|
|
614
|
+
return e === X ? P(b) : j(b), b;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function
|
|
618
|
-
return
|
|
617
|
+
function oe(e, t, a) {
|
|
618
|
+
return D(e, t, a, !0);
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
620
|
+
function k(e, t, a) {
|
|
621
|
+
return D(e, t, a, !1);
|
|
622
622
|
}
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
}()),
|
|
623
|
+
var Y = k, $ = oe;
|
|
624
|
+
Ie.Fragment = X, Ie.jsx = Y, Ie.jsxs = $;
|
|
625
|
+
}()), Ie;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var ct =
|
|
627
|
+
process.env.NODE_ENV === "production" ? at.exports = ht() : at.exports = pt();
|
|
628
|
+
var ct = at.exports;
|
|
629
629
|
const mt = ({
|
|
630
|
-
text:
|
|
631
|
-
particleCount:
|
|
632
|
-
particleSize:
|
|
633
|
-
primaryColor:
|
|
630
|
+
text: ge = "AI",
|
|
631
|
+
particleCount: L = 24e3,
|
|
632
|
+
particleSize: ye = 0.01,
|
|
633
|
+
primaryColor: X = { r: 0.396, g: 0.239, b: 0.82 },
|
|
634
634
|
// #653DD1
|
|
635
|
-
secondaryColor:
|
|
635
|
+
secondaryColor: se = { r: 0.537, g: 0.239, b: 0.82 },
|
|
636
636
|
// Purple variant
|
|
637
|
-
backgroundColor:
|
|
638
|
-
transparent:
|
|
639
|
-
morphDuration:
|
|
637
|
+
backgroundColor: be = "#000000",
|
|
638
|
+
transparent: ce = !1,
|
|
639
|
+
morphDuration: V = 2.5,
|
|
640
640
|
rotationSpeed: R = 0.4,
|
|
641
|
-
hoverIntensity:
|
|
642
|
-
lightningIntensity:
|
|
641
|
+
hoverIntensity: U = 0.05,
|
|
642
|
+
lightningIntensity: x = 1,
|
|
643
643
|
lightningColor: M = null,
|
|
644
644
|
// Optional hex or {r,g,b} object. If null, uses random colors
|
|
645
|
-
zapSpread:
|
|
645
|
+
zapSpread: B = 0.7,
|
|
646
646
|
// Amplitude/Spread of lightning
|
|
647
|
-
zapWidth:
|
|
647
|
+
zapWidth: le = 0.02,
|
|
648
648
|
// Thickness of lightning
|
|
649
|
-
cameraDistance:
|
|
650
|
-
globeOpacity:
|
|
651
|
-
globeColor:
|
|
649
|
+
cameraDistance: Ce = 5.5,
|
|
650
|
+
globeOpacity: Ye = 0.08,
|
|
651
|
+
globeColor: J = null,
|
|
652
652
|
// Optional override for globe color
|
|
653
|
-
showGlobe:
|
|
653
|
+
showGlobe: K = !0,
|
|
654
654
|
glowEffect: _ = !0,
|
|
655
655
|
className: Xe = "",
|
|
656
656
|
style: Je = {}
|
|
657
657
|
}) => {
|
|
658
|
-
const
|
|
659
|
-
return
|
|
660
|
-
const
|
|
661
|
-
if (!
|
|
658
|
+
const $e = nt(null), we = nt(null);
|
|
659
|
+
return nt([]), dt(() => {
|
|
660
|
+
const E = $e.current;
|
|
661
|
+
if (!E) {
|
|
662
662
|
console.error("ShapeParticleText: Canvas element not found");
|
|
663
663
|
return;
|
|
664
664
|
}
|
|
665
|
-
let
|
|
666
|
-
const
|
|
665
|
+
let ue = !0;
|
|
666
|
+
const xe = [];
|
|
667
667
|
return (() => {
|
|
668
|
-
var
|
|
669
|
-
if (!
|
|
670
|
-
const
|
|
671
|
-
let
|
|
668
|
+
var We, re;
|
|
669
|
+
if (!ue) return;
|
|
670
|
+
const ne = new u.Scene(), Z = new u.PerspectiveCamera(50, E.offsetWidth / E.offsetHeight, 0.1, 1e3);
|
|
671
|
+
let y;
|
|
672
672
|
try {
|
|
673
|
-
const
|
|
673
|
+
const r = {
|
|
674
674
|
alpha: !0,
|
|
675
675
|
antialias: !0,
|
|
676
676
|
powerPreference: "default"
|
|
677
|
-
},
|
|
678
|
-
if (!
|
|
677
|
+
}, n = E.getContext("webgl2", r) || E.getContext("webgl", r) || E.getContext("experimental-webgl", r);
|
|
678
|
+
if (!n) {
|
|
679
679
|
console.error("ShapeParticleText: WebGL not supported in this environment");
|
|
680
680
|
return;
|
|
681
681
|
}
|
|
682
682
|
const o = (c, i) => {
|
|
683
|
-
const
|
|
684
|
-
return
|
|
683
|
+
const g = Object.getOwnPropertyDescriptor(c, i);
|
|
684
|
+
return g && !g.writable && !g.configurable;
|
|
685
685
|
};
|
|
686
|
-
if (!
|
|
687
|
-
const c =
|
|
686
|
+
if (!n.getShaderPrecisionFormat._isPatched) {
|
|
687
|
+
const c = n.getShaderPrecisionFormat, i = function(...g) {
|
|
688
688
|
return { rangeMin: 127, rangeMax: 127, precision: 23 };
|
|
689
689
|
};
|
|
690
|
-
i._isPatched = !0, Object.defineProperty(
|
|
690
|
+
i._isPatched = !0, Object.defineProperty(n, "getShaderPrecisionFormat", {
|
|
691
691
|
value: i,
|
|
692
692
|
configurable: !0
|
|
693
693
|
});
|
|
694
694
|
}
|
|
695
|
-
if (!
|
|
696
|
-
const c =
|
|
697
|
-
let
|
|
695
|
+
if (!n.getParameter._isPatched) {
|
|
696
|
+
const c = n.getParameter, i = function(...g) {
|
|
697
|
+
let T = null;
|
|
698
698
|
try {
|
|
699
|
-
|
|
699
|
+
T = c.apply(n, g);
|
|
700
700
|
} catch {
|
|
701
701
|
}
|
|
702
|
-
const v =
|
|
703
|
-
return
|
|
702
|
+
const v = g[0];
|
|
703
|
+
return T ?? (v === 7938 ? "WebGL 1.0 (Three.js Mock)" : v === 35724 ? "WebGL GLSL ES 1.0 (Three.js Mock)" : v === 7936 ? "Three.js Mock Vendor" : v === 7937 ? "Three.js Mock Renderer" : v === 34921 || v === 34930 || v === 35657 || v === 35658 ? 16 : "");
|
|
704
704
|
};
|
|
705
|
-
i._isPatched = !0, Object.defineProperty(
|
|
705
|
+
i._isPatched = !0, Object.defineProperty(n, "getParameter", {
|
|
706
706
|
value: i,
|
|
707
707
|
configurable: !0
|
|
708
708
|
});
|
|
709
709
|
}
|
|
710
|
-
if (!
|
|
711
|
-
const c =
|
|
712
|
-
let
|
|
710
|
+
if (!n.getExtension._isPatched) {
|
|
711
|
+
const c = n.getExtension, i = function(...g) {
|
|
712
|
+
let T = null;
|
|
713
713
|
try {
|
|
714
|
-
|
|
714
|
+
T = c.apply(n, g);
|
|
715
715
|
} catch {
|
|
716
716
|
}
|
|
717
|
-
return
|
|
717
|
+
return T === null && g[0] === "WEBGL_debug_renderer_info" ? null : T;
|
|
718
718
|
};
|
|
719
|
-
i._isPatched = !0, Object.defineProperty(
|
|
719
|
+
i._isPatched = !0, Object.defineProperty(n, "getExtension", {
|
|
720
720
|
value: i,
|
|
721
721
|
configurable: !0
|
|
722
722
|
});
|
|
723
723
|
}
|
|
724
|
-
|
|
725
|
-
canvas:
|
|
726
|
-
context:
|
|
724
|
+
y = new u.WebGLRenderer({
|
|
725
|
+
canvas: E,
|
|
726
|
+
context: n,
|
|
727
727
|
precision: "mediump",
|
|
728
|
-
...
|
|
729
|
-
}),
|
|
730
|
-
} catch (
|
|
731
|
-
console.warn("ShapeParticleText: Failed to initialize custom context renderer, attempting hard fallback...",
|
|
728
|
+
...r
|
|
729
|
+
}), y.capabilities && (y.capabilities.isWebGL2 || (y.capabilities.isWebGL2 = !0), y.capabilities.precision || (y.capabilities.precision = "mediump"));
|
|
730
|
+
} catch (r) {
|
|
731
|
+
console.warn("ShapeParticleText: Failed to initialize custom context renderer, attempting hard fallback...", r);
|
|
732
732
|
try {
|
|
733
|
-
|
|
734
|
-
} catch (
|
|
735
|
-
console.error("ShapeParticleText: Fatal error initializing WebGL renderer:",
|
|
733
|
+
y = new u.WebGLRenderer({ canvas: E });
|
|
734
|
+
} catch (n) {
|
|
735
|
+
console.error("ShapeParticleText: Fatal error initializing WebGL renderer:", n);
|
|
736
736
|
return;
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
739
|
+
y.setSize(E.offsetWidth, E.offsetHeight), y.setPixelRatio(Math.min(window.devicePixelRatio, 2)), y.setClearColor(0, 0);
|
|
740
|
+
const q = (r, n) => {
|
|
741
|
+
if (!r) return n;
|
|
742
|
+
if (typeof r == "string") {
|
|
743
|
+
const o = new u.Color(r);
|
|
744
|
+
return { r: o.r, g: o.g, b: o.b };
|
|
745
|
+
}
|
|
746
|
+
return typeof r == "object" && typeof r.r == "number" ? r : n;
|
|
747
|
+
}, O = q(X, { r: 0.396, g: 0.239, b: 0.82 }), W = q(se, { r: 0.537, g: 0.239, b: 0.82 });
|
|
748
|
+
let ae = null;
|
|
749
|
+
if (K) {
|
|
750
|
+
const r = new u.SphereGeometry(2, 48, 48);
|
|
751
|
+
let n;
|
|
752
|
+
J ? n = typeof J == "string" ? new u.Color(J) : new u.Color(J.r, J.g, J.b) : n = new u.Color(O.r, O.g, O.b);
|
|
753
|
+
const o = new u.MeshBasicMaterial({
|
|
754
|
+
color: n,
|
|
747
755
|
wireframe: !0,
|
|
748
756
|
transparent: !0,
|
|
749
|
-
opacity:
|
|
757
|
+
opacity: Ye
|
|
750
758
|
});
|
|
751
|
-
|
|
759
|
+
ae = new u.Mesh(r, o), ne.add(ae);
|
|
752
760
|
}
|
|
753
|
-
const
|
|
761
|
+
const N = new u.Group(), fe = new Float32Array(L * 3), F = new Float32Array(L * 3), je = new Float32Array(L), Ee = [], Re = [], G = [], C = [];
|
|
754
762
|
let p = 0;
|
|
755
|
-
for (let
|
|
756
|
-
const
|
|
757
|
-
let v = i * Math.sin(o) * Math.cos(c),
|
|
758
|
-
v = v * 0.85 +
|
|
759
|
-
const
|
|
760
|
-
|
|
761
|
-
const
|
|
762
|
-
if (
|
|
763
|
+
for (let r = 0; r < L; r++) {
|
|
764
|
+
const n = r < L / 2 ? -1 : 1, o = Math.random() * Math.PI, c = Math.random() * Math.PI * 2, i = 1.4 + Math.random() * 0.3, g = 1.2 + Math.random() * 0.2, T = 1 + Math.random() * 0.2;
|
|
765
|
+
let v = i * Math.sin(o) * Math.cos(c), j = g * Math.sin(o) * Math.sin(c), P = T * Math.cos(o);
|
|
766
|
+
v = v * 0.85 + n * 0.35;
|
|
767
|
+
const I = (Math.sin(o * 8) * Math.cos(c * 6) + Math.sin(o * 12) * Math.sin(c * 8)) * 0.12, D = Math.sqrt(v * v + j * j + P * P);
|
|
768
|
+
D > 0.1 && (v += I * (v / D), j += I * (j / D), P += I * (P / D));
|
|
769
|
+
const oe = Math.sqrt(v * v + j * j + P * P);
|
|
770
|
+
if (oe < 1 || oe > 2 || n === -1 && v > -0.15 || n === 1 && v < 0.15)
|
|
763
771
|
continue;
|
|
764
|
-
const
|
|
765
|
-
|
|
766
|
-
const
|
|
767
|
-
if (
|
|
768
|
-
|
|
769
|
-
else if (
|
|
770
|
-
const
|
|
771
|
-
|
|
772
|
+
const k = new u.Vector3(v, j, P);
|
|
773
|
+
k.x < 0 ? Ee.push(k.clone()) : Re.push(k.clone()), fe[p * 3] = k.x, fe[p * 3 + 1] = k.y, fe[p * 3 + 2] = k.z, G.push(k.x, k.y, k.z);
|
|
774
|
+
const Y = (j + g) / (g * 2);
|
|
775
|
+
if (Y < 0.3)
|
|
776
|
+
F[p * 3] = O.r * 0.5 + Y * 0.4, F[p * 3 + 1] = O.g * 1 + Y * 0.05, F[p * 3 + 2] = O.b * 1 + Y * 0.05;
|
|
777
|
+
else if (Y < 0.6) {
|
|
778
|
+
const $ = (Y - 0.3) / 0.3;
|
|
779
|
+
F[p * 3] = (O.r * (1 - $) + W.r * $) * 1.1, F[p * 3 + 1] = (O.g * (1 - $) + W.g * $) * 1.1, F[p * 3 + 2] = (O.b * (1 - $) + W.b * $) * 1.1;
|
|
772
780
|
} else
|
|
773
|
-
|
|
774
|
-
|
|
781
|
+
F[p * 3] = W.r * 1, F[p * 3 + 1] = W.g * 1, F[p * 3 + 2] = W.b * 1;
|
|
782
|
+
je[p] = Math.random() * 1.5 + 0.8, p++;
|
|
775
783
|
}
|
|
776
|
-
const
|
|
777
|
-
const o =
|
|
784
|
+
const S = ((r, n = 1.5) => {
|
|
785
|
+
const o = r && r.trim().length > 0 ? r : "AI", c = document.createElement("canvas"), i = c.getContext("2d");
|
|
778
786
|
c.width = 1024, c.height = 512, i.fillStyle = "white", i.textAlign = "center", i.textBaseline = "middle";
|
|
779
|
-
let
|
|
780
|
-
i.font = `bold ${
|
|
781
|
-
const
|
|
787
|
+
let g = 350;
|
|
788
|
+
i.font = `bold ${g}px Arial`;
|
|
789
|
+
const T = c.width * 0.85;
|
|
782
790
|
let v = i.measureText(o);
|
|
783
|
-
for (; (v.width >
|
|
784
|
-
|
|
791
|
+
for (; (v.width > T || g > c.height * 0.7) && g > 20; )
|
|
792
|
+
g -= 10, i.font = `bold ${g}px Arial`, v = i.measureText(o);
|
|
785
793
|
i.fillText(o, c.width / 2, c.height / 2);
|
|
786
|
-
const
|
|
787
|
-
let
|
|
788
|
-
for (let
|
|
789
|
-
for (let
|
|
790
|
-
const
|
|
791
|
-
if (
|
|
792
|
-
const
|
|
793
|
-
|
|
794
|
+
const j = i.getImageData(0, 0, c.width, c.height), P = [], I = 3, D = 220;
|
|
795
|
+
let oe = 1 / 0, k = -1 / 0, Y = 1 / 0, $ = -1 / 0;
|
|
796
|
+
for (let h = 0; h < c.height; h += I)
|
|
797
|
+
for (let l = 0; l < c.width; l += I) {
|
|
798
|
+
const d = (Math.floor(h) * c.width + Math.floor(l)) * 4;
|
|
799
|
+
if (j.data[d + 3] > 160) {
|
|
800
|
+
const w = (l - c.width / 2) / D * n, m = -(h - c.height / 2) / D * n, b = (Math.random() - 0.5) * 0.25;
|
|
801
|
+
P.push({ x: w, y: m, z: b }), w < oe && (oe = w), w > k && (k = w), m < Y && (Y = m), m > $ && ($ = m);
|
|
794
802
|
}
|
|
795
803
|
}
|
|
796
|
-
const
|
|
797
|
-
let
|
|
798
|
-
return
|
|
799
|
-
|
|
800
|
-
}),
|
|
801
|
-
})(
|
|
802
|
-
if (
|
|
803
|
-
if (
|
|
804
|
-
const
|
|
805
|
-
for (let
|
|
806
|
-
const o = Math.floor(
|
|
807
|
-
|
|
804
|
+
const e = k - oe, t = $ - Y, a = 3.2, s = 2.5;
|
|
805
|
+
let f = 1;
|
|
806
|
+
return e > a && (f = a / e), t * f > s && (f = s / t), f < 1 && P.forEach((h) => {
|
|
807
|
+
h.x *= f, h.y *= f, h.z *= f;
|
|
808
|
+
}), P;
|
|
809
|
+
})(ge, 1.8);
|
|
810
|
+
if (S.length > 0)
|
|
811
|
+
if (S.length > p) {
|
|
812
|
+
const r = S.length / p;
|
|
813
|
+
for (let n = 0; n < p; n++) {
|
|
814
|
+
const o = Math.floor(n * r), c = S[Math.min(o, S.length - 1)];
|
|
815
|
+
C.push(c.x, c.y, c.z);
|
|
808
816
|
}
|
|
809
817
|
} else
|
|
810
|
-
for (let
|
|
811
|
-
if (
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
818
|
+
for (let r = 0; r < p; r++)
|
|
819
|
+
if (r < S.length)
|
|
820
|
+
C.push(
|
|
821
|
+
S[r].x,
|
|
822
|
+
S[r].y,
|
|
823
|
+
S[r].z
|
|
816
824
|
);
|
|
817
825
|
else {
|
|
818
|
-
const
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
826
|
+
const n = S[Math.floor(Math.random() * S.length)];
|
|
827
|
+
C.push(
|
|
828
|
+
n.x + (Math.random() - 0.5) * 0.5,
|
|
829
|
+
n.y + (Math.random() - 0.5) * 0.5,
|
|
830
|
+
n.z + (Math.random() - 0.5) * 0.3
|
|
823
831
|
);
|
|
824
832
|
}
|
|
825
833
|
else
|
|
826
|
-
for (let
|
|
827
|
-
|
|
828
|
-
const
|
|
829
|
-
|
|
830
|
-
const
|
|
831
|
-
size:
|
|
834
|
+
for (let r = 0; r < p; r++)
|
|
835
|
+
C.push(0, 0, 0);
|
|
836
|
+
const ke = fe.slice(0, p * 3), _e = F.slice(0, p * 3), Ke = je.slice(0, p), H = new u.BufferGeometry();
|
|
837
|
+
H.setAttribute("position", new u.BufferAttribute(ke, 3)), H.setAttribute("color", new u.BufferAttribute(_e, 3)), H.setAttribute("size", new u.BufferAttribute(Ke, 1)), H.setDrawRange(0, p);
|
|
838
|
+
const Ze = new u.PointsMaterial({
|
|
839
|
+
size: ye,
|
|
832
840
|
vertexColors: !0,
|
|
833
841
|
transparent: !0,
|
|
834
842
|
opacity: 1,
|
|
835
|
-
blending: _ ?
|
|
843
|
+
blending: _ ? u.AdditiveBlending : u.NormalBlending,
|
|
836
844
|
sizeAttenuation: !0
|
|
837
|
-
}),
|
|
838
|
-
|
|
839
|
-
const
|
|
840
|
-
color:
|
|
845
|
+
}), Qe = new u.Points(H, Ze);
|
|
846
|
+
N.add(Qe), ne.add(N);
|
|
847
|
+
const Pe = new u.Color(W.r, W.g, W.b), de = new u.LineBasicMaterial({
|
|
848
|
+
color: Pe,
|
|
841
849
|
transparent: !0,
|
|
842
850
|
opacity: 0.2
|
|
843
|
-
}),
|
|
844
|
-
if (
|
|
845
|
-
for (let
|
|
846
|
-
const
|
|
847
|
-
if (!
|
|
848
|
-
const c = new
|
|
849
|
-
|
|
851
|
+
}), Ae = new u.Group(), Fe = Ee.length, he = Re.length;
|
|
852
|
+
if (Fe > 0 && he > 0)
|
|
853
|
+
for (let r = 0; r < 80; r++) {
|
|
854
|
+
const n = (We = Ee[Math.floor(Math.random() * Fe)]) == null ? void 0 : We.clone(), o = (re = Re[Math.floor(Math.random() * he)]) == null ? void 0 : re.clone();
|
|
855
|
+
if (!n || !o) continue;
|
|
856
|
+
const c = new u.BufferGeometry().setFromPoints([n, o]), i = new u.Line(c, de);
|
|
857
|
+
Ae.add(i);
|
|
850
858
|
}
|
|
851
|
-
|
|
852
|
-
const
|
|
853
|
-
|
|
854
|
-
const
|
|
855
|
-
let
|
|
856
|
-
const
|
|
857
|
-
(Math.random() - 0.5) *
|
|
858
|
-
(Math.random() - 0.5) *
|
|
859
|
-
(Math.random() - 0.5) *
|
|
860
|
-
),
|
|
861
|
-
if (!
|
|
862
|
-
const
|
|
859
|
+
N.add(Ae);
|
|
860
|
+
const Me = new u.Group();
|
|
861
|
+
N.add(Me);
|
|
862
|
+
const Q = [];
|
|
863
|
+
let pe = 0;
|
|
864
|
+
const et = 6, Be = (r) => new u.Vector3(
|
|
865
|
+
(Math.random() - 0.5) * r,
|
|
866
|
+
(Math.random() - 0.5) * r,
|
|
867
|
+
(Math.random() - 0.5) * r
|
|
868
|
+
), Ve = () => {
|
|
869
|
+
if (!ue || !p) return;
|
|
870
|
+
const r = Math.floor(Math.random() * p), n = Math.floor(Math.random() * p), o = H.attributes.position.array, c = new u.Vector3(o[r * 3], o[r * 3 + 1], o[r * 3 + 2]), i = new u.Vector3(o[n * 3], o[n * 3 + 1], o[n * 3 + 2]);
|
|
863
871
|
if (c.lengthSq() < 0.1 || i.lengthSq() < 0.1 || c.distanceToSquared(i) < 0.5) return;
|
|
864
|
-
const
|
|
865
|
-
let
|
|
866
|
-
M ? M.r !== void 0 ?
|
|
867
|
-
const
|
|
868
|
-
color:
|
|
872
|
+
const g = c.clone().lerp(i, 0.3).add(Be(B)), T = c.clone().lerp(i, 0.7).add(Be(B)), v = new u.CatmullRomCurve3([c, g, T, i]), j = new u.TubeGeometry(v, 12, le, 4, !1);
|
|
873
|
+
let P;
|
|
874
|
+
M ? M.r !== void 0 ? P = new u.Color(M.r, M.g, M.b) : P = new u.Color(M) : P = new u.Color().setHSL(0.7 + Math.random() * 0.08, 1, 0.7 + Math.random() * 0.15);
|
|
875
|
+
const I = new u.MeshBasicMaterial({
|
|
876
|
+
color: P,
|
|
869
877
|
transparent: !0,
|
|
870
878
|
opacity: 0.85,
|
|
871
|
-
blending:
|
|
872
|
-
}),
|
|
873
|
-
|
|
874
|
-
line:
|
|
875
|
-
material:
|
|
879
|
+
blending: u.AdditiveBlending
|
|
880
|
+
}), D = new u.Mesh(j, I);
|
|
881
|
+
Me.add(D), Q.push({
|
|
882
|
+
line: D,
|
|
883
|
+
material: I,
|
|
876
884
|
life: 0,
|
|
877
885
|
maxLife: 0.5 + Math.random() * 0.9,
|
|
878
886
|
flickerSpeed: 18 + Math.random() * 20,
|
|
879
887
|
phase: Math.random() * Math.PI * 2
|
|
880
888
|
});
|
|
881
|
-
},
|
|
882
|
-
|
|
883
|
-
const
|
|
884
|
-
if (!
|
|
885
|
-
const
|
|
886
|
-
|
|
889
|
+
}, Ue = new u.Clock();
|
|
890
|
+
Z.position.set(0, 0, Ce);
|
|
891
|
+
const ve = { x: 0, y: 0 }, Te = { x: 0, y: 0 }, ee = { x: 0, y: 0 }, De = (r) => {
|
|
892
|
+
if (!E) return;
|
|
893
|
+
const n = E.getBoundingClientRect();
|
|
894
|
+
ve.x = (r.clientX - n.left) / n.width * 2 - 1, ve.y = -((r.clientY - n.top) / n.height) * 2 + 1, Te.y = ve.x * 0.3 * (U / 0.05), Te.x = ve.y * 0.2 * (U / 0.05);
|
|
887
895
|
};
|
|
888
|
-
|
|
889
|
-
|
|
896
|
+
E.addEventListener("mousemove", De), xe.push(() => {
|
|
897
|
+
E.removeEventListener("mousemove", De);
|
|
890
898
|
});
|
|
891
|
-
let
|
|
892
|
-
const
|
|
893
|
-
let
|
|
894
|
-
const
|
|
895
|
-
let
|
|
896
|
-
function
|
|
897
|
-
if (!
|
|
898
|
-
|
|
899
|
-
const
|
|
900
|
-
if (
|
|
901
|
-
|
|
902
|
-
const
|
|
899
|
+
let ie = 0;
|
|
900
|
+
const tt = 0.08;
|
|
901
|
+
let te = 0, qe = 1;
|
|
902
|
+
const Ne = 3;
|
|
903
|
+
let Le = Ne;
|
|
904
|
+
function He() {
|
|
905
|
+
if (!ue) return;
|
|
906
|
+
we.current = requestAnimationFrame(He);
|
|
907
|
+
const r = Ue.getDelta();
|
|
908
|
+
if (ie += r, ee.x += (Te.x - ee.x) * 0.05, ee.y += (Te.y - ee.y) * 0.05, ae && (ae.rotation.y += r * 0.1, ae.rotation.x = Math.sin(ie * 0.3) * 0.03), N.rotation.y = Math.sin(ie * 0.4) * R + ee.y, N.rotation.x = Math.sin(ie * 0.25) * tt + ee.x, N.rotation.z = Math.cos(ie * 0.15) * 0.015, Le -= r, Le <= 0) {
|
|
909
|
+
te += r / V, te >= 1 && (te = 0, qe *= -1, Le = Ne);
|
|
910
|
+
const n = te < 0.5 ? 2 * te * te : 1 - Math.pow(-2 * te + 2, 2) / 2, o = H.attributes.position;
|
|
903
911
|
for (let c = 0; c < p; c++) {
|
|
904
912
|
const i = c * 3;
|
|
905
|
-
|
|
913
|
+
qe === 1 ? (o.array[i] = G[i] + (C[i] - G[i]) * n, o.array[i + 1] = G[i + 1] + (C[i + 1] - G[i + 1]) * n, o.array[i + 2] = G[i + 2] + (C[i + 2] - G[i + 2]) * n) : (o.array[i] = C[i] + (G[i] - C[i]) * n, o.array[i + 1] = C[i + 1] + (G[i + 1] - C[i + 1]) * n, o.array[i + 2] = C[i + 2] + (G[i + 2] - C[i + 2]) * n);
|
|
906
914
|
}
|
|
907
915
|
o.needsUpdate = !0;
|
|
908
916
|
}
|
|
909
|
-
|
|
910
|
-
for (let
|
|
911
|
-
const o =
|
|
917
|
+
pe -= r, x > 0 && pe <= 0 && Q.length < et * x && (Ve(), pe = (0.12 + Math.random() * 0.25) / Math.max(0.1, x));
|
|
918
|
+
for (let n = Q.length - 1; n >= 0; n--) {
|
|
919
|
+
const o = Q[n];
|
|
912
920
|
if (!o || !o.material) continue;
|
|
913
|
-
o.life +=
|
|
914
|
-
const c = o.life / o.maxLife, i = Math.pow(Math.max(0, 1 - c), 1.5),
|
|
915
|
-
o.material.opacity = Math.max(0, i *
|
|
921
|
+
o.life += r;
|
|
922
|
+
const c = o.life / o.maxLife, i = Math.pow(Math.max(0, 1 - c), 1.5), g = 0.6 + Math.sin(ie * o.flickerSpeed + o.phase) * 0.4;
|
|
923
|
+
o.material.opacity = Math.max(0, i * g * Math.min(1, x)), o.life >= o.maxLife && (Me.remove(o.line), o.line.geometry && o.line.geometry.dispose(), o.material && o.material.dispose(), Q.splice(n, 1));
|
|
916
924
|
}
|
|
917
|
-
|
|
925
|
+
y.render(ne, Z);
|
|
918
926
|
}
|
|
919
|
-
|
|
920
|
-
const
|
|
921
|
-
if (!
|
|
922
|
-
const
|
|
923
|
-
|
|
927
|
+
He();
|
|
928
|
+
const Se = () => {
|
|
929
|
+
if (!ue || !E) return;
|
|
930
|
+
const r = E.offsetWidth, n = E.offsetHeight;
|
|
931
|
+
r === 0 || n === 0 || (Z.aspect = r / n, Z.updateProjectionMatrix(), y.setSize(r, n), y.setPixelRatio(Math.min(window.devicePixelRatio * 1.5, 3)));
|
|
924
932
|
};
|
|
925
|
-
window.addEventListener("resize",
|
|
926
|
-
window.removeEventListener("resize",
|
|
927
|
-
|
|
928
|
-
}),
|
|
929
|
-
|
|
930
|
-
}),
|
|
933
|
+
window.addEventListener("resize", Se), xe.push(() => {
|
|
934
|
+
window.removeEventListener("resize", Se), Q.forEach((r) => {
|
|
935
|
+
r.line && (Me.remove(r.line), r.line.geometry && r.line.geometry.dispose(), r.material && r.material.dispose());
|
|
936
|
+
}), Q.length = 0, ne.traverse((r) => {
|
|
937
|
+
r.geometry && r.geometry.dispose(), r.material && (Array.isArray(r.material) ? r.material.forEach((n) => n.dispose()) : r.material.dispose());
|
|
938
|
+
}), y.dispose();
|
|
931
939
|
});
|
|
932
940
|
})(), () => {
|
|
933
|
-
|
|
941
|
+
ue = !1, we.current && (cancelAnimationFrame(we.current), we.current = null), xe.forEach((ne) => {
|
|
934
942
|
try {
|
|
935
|
-
|
|
936
|
-
} catch (
|
|
937
|
-
console.error("Cleanup error:",
|
|
943
|
+
ne();
|
|
944
|
+
} catch (Z) {
|
|
945
|
+
console.error("Cleanup error:", Z);
|
|
938
946
|
}
|
|
939
947
|
});
|
|
940
948
|
};
|
|
941
|
-
}, [
|
|
949
|
+
}, [ge, L, ye, X, se, V, R, U, x, M, B, le, Ce, Ye, J, K, _]), /* @__PURE__ */ ct.jsx("div", { className: Xe, style: { position: "relative", width: "100%", height: "100%", backgroundColor: ce ? "transparent" : be, ...Je }, children: /* @__PURE__ */ ct.jsx(
|
|
942
950
|
"canvas",
|
|
943
951
|
{
|
|
944
|
-
ref:
|
|
952
|
+
ref: $e,
|
|
945
953
|
style: {
|
|
946
954
|
display: "block",
|
|
947
955
|
width: "100%",
|