@sdata-plugin-adapter/react 0.0.0-alpha.3 → 0.0.0-alpha.5
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/export-IdFffdaq.js +2 -0
- package/dist/export-IdFffdaq.js.map +1 -0
- package/dist/index-BTEOz66V.js +59 -0
- package/dist/index-BTEOz66V.js.map +1 -0
- package/dist/index-CPRh7huJ.js +4586 -0
- package/dist/index-CPRh7huJ.js.map +1 -0
- package/dist/index-D4XI9Up9.js +9 -0
- package/dist/index-D4XI9Up9.js.map +1 -0
- package/dist/index-DOjL63ZZ.js +92 -0
- package/dist/index-DOjL63ZZ.js.map +1 -0
- package/dist/index-DYH8RTH4.js +56 -0
- package/dist/index-DYH8RTH4.js.map +1 -0
- package/dist/index-bwVa5yZu.js +24 -0
- package/dist/index-bwVa5yZu.js.map +1 -0
- package/dist/index-uvW2tp_u.js +71 -0
- package/dist/index-uvW2tp_u.js.map +1 -0
- package/dist/index.d.ts +18 -1
- package/dist/index.js +18 -5557
- package/dist/index.js.map +1 -1
- package/dist/start-rmMDvB0v.js +704 -0
- package/dist/start-rmMDvB0v.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,704 @@
|
|
|
1
|
+
import je from "react";
|
|
2
|
+
import { setDomAttributes as cr } from "@sdata-plugin-adapter/utils";
|
|
3
|
+
import fr from "configJson";
|
|
4
|
+
var M = { exports: {} }, I = {};
|
|
5
|
+
/**
|
|
6
|
+
* @license React
|
|
7
|
+
* react-jsx-runtime.production.min.js
|
|
8
|
+
*
|
|
9
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the MIT license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
var we;
|
|
15
|
+
function lr() {
|
|
16
|
+
if (we) return I;
|
|
17
|
+
we = 1;
|
|
18
|
+
var O = je, E = Symbol.for("react.element"), _ = Symbol.for("react.fragment"), b = Object.prototype.hasOwnProperty, v = O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function m(l, s, P) {
|
|
20
|
+
var d, p = {}, h = null, C = null;
|
|
21
|
+
P !== void 0 && (h = "" + P), s.key !== void 0 && (h = "" + s.key), s.ref !== void 0 && (C = s.ref);
|
|
22
|
+
for (d in s) b.call(s, d) && !w.hasOwnProperty(d) && (p[d] = s[d]);
|
|
23
|
+
if (l && l.defaultProps) for (d in s = l.defaultProps, s) p[d] === void 0 && (p[d] = s[d]);
|
|
24
|
+
return { $$typeof: E, type: l, key: h, ref: C, props: p, _owner: v.current };
|
|
25
|
+
}
|
|
26
|
+
return I.Fragment = _, I.jsx = m, I.jsxs = m, I;
|
|
27
|
+
}
|
|
28
|
+
var $ = {};
|
|
29
|
+
/**
|
|
30
|
+
* @license React
|
|
31
|
+
* react-jsx-runtime.development.js
|
|
32
|
+
*
|
|
33
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the MIT license found in the
|
|
36
|
+
* LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/
|
|
38
|
+
var Oe;
|
|
39
|
+
function dr() {
|
|
40
|
+
return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
41
|
+
"use strict";
|
|
42
|
+
var O = je, E = Symbol.for("react.element"), _ = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), Z = Symbol.iterator, Se = "@@iterator";
|
|
43
|
+
function Ce(e) {
|
|
44
|
+
if (e === null || typeof e != "object")
|
|
45
|
+
return null;
|
|
46
|
+
var r = Z && e[Z] || e[Se];
|
|
47
|
+
return typeof r == "function" ? r : null;
|
|
48
|
+
}
|
|
49
|
+
var x = O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
50
|
+
function y(e) {
|
|
51
|
+
{
|
|
52
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
53
|
+
t[n - 1] = arguments[n];
|
|
54
|
+
xe("error", e, t);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function xe(e, r, t) {
|
|
58
|
+
{
|
|
59
|
+
var n = x.ReactDebugCurrentFrame, i = n.getStackAddendum();
|
|
60
|
+
i !== "" && (r += "%s", t = t.concat([i]));
|
|
61
|
+
var u = t.map(function(o) {
|
|
62
|
+
return String(o);
|
|
63
|
+
});
|
|
64
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
var De = !1, ke = !1, Fe = !1, Ae = !1, Ie = !1, Q;
|
|
68
|
+
Q = Symbol.for("react.module.reference");
|
|
69
|
+
function $e(e) {
|
|
70
|
+
return !!(typeof e == "string" || typeof e == "function" || e === b || e === w || Ie || e === v || e === P || e === d || Ae || e === C || De || ke || Fe || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === p || e.$$typeof === m || e.$$typeof === l || e.$$typeof === s || // This needs to include all possible module reference object
|
|
71
|
+
// types supported by any Flight configuration anywhere since
|
|
72
|
+
// we don't know which Flight build this will end up being used
|
|
73
|
+
// with.
|
|
74
|
+
e.$$typeof === Q || e.getModuleId !== void 0));
|
|
75
|
+
}
|
|
76
|
+
function Me(e, r, t) {
|
|
77
|
+
var n = e.displayName;
|
|
78
|
+
if (n)
|
|
79
|
+
return n;
|
|
80
|
+
var i = r.displayName || r.name || "";
|
|
81
|
+
return i !== "" ? t + "(" + i + ")" : t;
|
|
82
|
+
}
|
|
83
|
+
function ee(e) {
|
|
84
|
+
return e.displayName || "Context";
|
|
85
|
+
}
|
|
86
|
+
function T(e) {
|
|
87
|
+
if (e == null)
|
|
88
|
+
return null;
|
|
89
|
+
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
90
|
+
return e.displayName || e.name || null;
|
|
91
|
+
if (typeof e == "string")
|
|
92
|
+
return e;
|
|
93
|
+
switch (e) {
|
|
94
|
+
case b:
|
|
95
|
+
return "Fragment";
|
|
96
|
+
case _:
|
|
97
|
+
return "Portal";
|
|
98
|
+
case w:
|
|
99
|
+
return "Profiler";
|
|
100
|
+
case v:
|
|
101
|
+
return "StrictMode";
|
|
102
|
+
case P:
|
|
103
|
+
return "Suspense";
|
|
104
|
+
case d:
|
|
105
|
+
return "SuspenseList";
|
|
106
|
+
}
|
|
107
|
+
if (typeof e == "object")
|
|
108
|
+
switch (e.$$typeof) {
|
|
109
|
+
case l:
|
|
110
|
+
var r = e;
|
|
111
|
+
return ee(r) + ".Consumer";
|
|
112
|
+
case m:
|
|
113
|
+
var t = e;
|
|
114
|
+
return ee(t._context) + ".Provider";
|
|
115
|
+
case s:
|
|
116
|
+
return Me(e, e.render, "ForwardRef");
|
|
117
|
+
case p:
|
|
118
|
+
var n = e.displayName || null;
|
|
119
|
+
return n !== null ? n : T(e.type) || "Memo";
|
|
120
|
+
case h: {
|
|
121
|
+
var i = e, u = i._payload, o = i._init;
|
|
122
|
+
try {
|
|
123
|
+
return T(o(u));
|
|
124
|
+
} catch {
|
|
125
|
+
return null;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
var S = Object.assign, F = 0, re, te, ne, ae, oe, ie, ue;
|
|
132
|
+
function se() {
|
|
133
|
+
}
|
|
134
|
+
se.__reactDisabledLog = !0;
|
|
135
|
+
function Ne() {
|
|
136
|
+
{
|
|
137
|
+
if (F === 0) {
|
|
138
|
+
re = console.log, te = console.info, ne = console.warn, ae = console.error, oe = console.group, ie = console.groupCollapsed, ue = console.groupEnd;
|
|
139
|
+
var e = {
|
|
140
|
+
configurable: !0,
|
|
141
|
+
enumerable: !0,
|
|
142
|
+
value: se,
|
|
143
|
+
writable: !0
|
|
144
|
+
};
|
|
145
|
+
Object.defineProperties(console, {
|
|
146
|
+
info: e,
|
|
147
|
+
log: e,
|
|
148
|
+
warn: e,
|
|
149
|
+
error: e,
|
|
150
|
+
group: e,
|
|
151
|
+
groupCollapsed: e,
|
|
152
|
+
groupEnd: e
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
F++;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
function We() {
|
|
159
|
+
{
|
|
160
|
+
if (F--, F === 0) {
|
|
161
|
+
var e = {
|
|
162
|
+
configurable: !0,
|
|
163
|
+
enumerable: !0,
|
|
164
|
+
writable: !0
|
|
165
|
+
};
|
|
166
|
+
Object.defineProperties(console, {
|
|
167
|
+
log: S({}, e, {
|
|
168
|
+
value: re
|
|
169
|
+
}),
|
|
170
|
+
info: S({}, e, {
|
|
171
|
+
value: te
|
|
172
|
+
}),
|
|
173
|
+
warn: S({}, e, {
|
|
174
|
+
value: ne
|
|
175
|
+
}),
|
|
176
|
+
error: S({}, e, {
|
|
177
|
+
value: ae
|
|
178
|
+
}),
|
|
179
|
+
group: S({}, e, {
|
|
180
|
+
value: oe
|
|
181
|
+
}),
|
|
182
|
+
groupCollapsed: S({}, e, {
|
|
183
|
+
value: ie
|
|
184
|
+
}),
|
|
185
|
+
groupEnd: S({}, e, {
|
|
186
|
+
value: ue
|
|
187
|
+
})
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
F < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
var V = x.ReactCurrentDispatcher, q;
|
|
194
|
+
function N(e, r, t) {
|
|
195
|
+
{
|
|
196
|
+
if (q === void 0)
|
|
197
|
+
try {
|
|
198
|
+
throw Error();
|
|
199
|
+
} catch (i) {
|
|
200
|
+
var n = i.stack.trim().match(/\n( *(at )?)/);
|
|
201
|
+
q = n && n[1] || "";
|
|
202
|
+
}
|
|
203
|
+
return `
|
|
204
|
+
` + q + e;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
var G = !1, W;
|
|
208
|
+
{
|
|
209
|
+
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
210
|
+
W = new Le();
|
|
211
|
+
}
|
|
212
|
+
function ce(e, r) {
|
|
213
|
+
if (!e || G)
|
|
214
|
+
return "";
|
|
215
|
+
{
|
|
216
|
+
var t = W.get(e);
|
|
217
|
+
if (t !== void 0)
|
|
218
|
+
return t;
|
|
219
|
+
}
|
|
220
|
+
var n;
|
|
221
|
+
G = !0;
|
|
222
|
+
var i = Error.prepareStackTrace;
|
|
223
|
+
Error.prepareStackTrace = void 0;
|
|
224
|
+
var u;
|
|
225
|
+
u = V.current, V.current = null, Ne();
|
|
226
|
+
try {
|
|
227
|
+
if (r) {
|
|
228
|
+
var o = function() {
|
|
229
|
+
throw Error();
|
|
230
|
+
};
|
|
231
|
+
if (Object.defineProperty(o.prototype, "props", {
|
|
232
|
+
set: function() {
|
|
233
|
+
throw Error();
|
|
234
|
+
}
|
|
235
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
236
|
+
try {
|
|
237
|
+
Reflect.construct(o, []);
|
|
238
|
+
} catch (j) {
|
|
239
|
+
n = j;
|
|
240
|
+
}
|
|
241
|
+
Reflect.construct(e, [], o);
|
|
242
|
+
} else {
|
|
243
|
+
try {
|
|
244
|
+
o.call();
|
|
245
|
+
} catch (j) {
|
|
246
|
+
n = j;
|
|
247
|
+
}
|
|
248
|
+
e.call(o.prototype);
|
|
249
|
+
}
|
|
250
|
+
} else {
|
|
251
|
+
try {
|
|
252
|
+
throw Error();
|
|
253
|
+
} catch (j) {
|
|
254
|
+
n = j;
|
|
255
|
+
}
|
|
256
|
+
e();
|
|
257
|
+
}
|
|
258
|
+
} catch (j) {
|
|
259
|
+
if (j && n && typeof j.stack == "string") {
|
|
260
|
+
for (var a = j.stack.split(`
|
|
261
|
+
`), g = n.stack.split(`
|
|
262
|
+
`), c = a.length - 1, f = g.length - 1; c >= 1 && f >= 0 && a[c] !== g[f]; )
|
|
263
|
+
f--;
|
|
264
|
+
for (; c >= 1 && f >= 0; c--, f--)
|
|
265
|
+
if (a[c] !== g[f]) {
|
|
266
|
+
if (c !== 1 || f !== 1)
|
|
267
|
+
do
|
|
268
|
+
if (c--, f--, f < 0 || a[c] !== g[f]) {
|
|
269
|
+
var R = `
|
|
270
|
+
` + a[c].replace(" at new ", " at ");
|
|
271
|
+
return e.displayName && R.includes("<anonymous>") && (R = R.replace("<anonymous>", e.displayName)), typeof e == "function" && W.set(e, R), R;
|
|
272
|
+
}
|
|
273
|
+
while (c >= 1 && f >= 0);
|
|
274
|
+
break;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
} finally {
|
|
278
|
+
G = !1, V.current = u, We(), Error.prepareStackTrace = i;
|
|
279
|
+
}
|
|
280
|
+
var k = e ? e.displayName || e.name : "", _e = k ? N(k) : "";
|
|
281
|
+
return typeof e == "function" && W.set(e, _e), _e;
|
|
282
|
+
}
|
|
283
|
+
function Ye(e, r, t) {
|
|
284
|
+
return ce(e, !1);
|
|
285
|
+
}
|
|
286
|
+
function Ue(e) {
|
|
287
|
+
var r = e.prototype;
|
|
288
|
+
return !!(r && r.isReactComponent);
|
|
289
|
+
}
|
|
290
|
+
function L(e, r, t) {
|
|
291
|
+
if (e == null)
|
|
292
|
+
return "";
|
|
293
|
+
if (typeof e == "function")
|
|
294
|
+
return ce(e, Ue(e));
|
|
295
|
+
if (typeof e == "string")
|
|
296
|
+
return N(e);
|
|
297
|
+
switch (e) {
|
|
298
|
+
case P:
|
|
299
|
+
return N("Suspense");
|
|
300
|
+
case d:
|
|
301
|
+
return N("SuspenseList");
|
|
302
|
+
}
|
|
303
|
+
if (typeof e == "object")
|
|
304
|
+
switch (e.$$typeof) {
|
|
305
|
+
case s:
|
|
306
|
+
return Ye(e.render);
|
|
307
|
+
case p:
|
|
308
|
+
return L(e.type, r, t);
|
|
309
|
+
case h: {
|
|
310
|
+
var n = e, i = n._payload, u = n._init;
|
|
311
|
+
try {
|
|
312
|
+
return L(u(i), r, t);
|
|
313
|
+
} catch {
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
return "";
|
|
318
|
+
}
|
|
319
|
+
var Y = Object.prototype.hasOwnProperty, fe = {}, le = x.ReactDebugCurrentFrame;
|
|
320
|
+
function U(e) {
|
|
321
|
+
if (e) {
|
|
322
|
+
var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
|
|
323
|
+
le.setExtraStackFrame(t);
|
|
324
|
+
} else
|
|
325
|
+
le.setExtraStackFrame(null);
|
|
326
|
+
}
|
|
327
|
+
function Ve(e, r, t, n, i) {
|
|
328
|
+
{
|
|
329
|
+
var u = Function.call.bind(Y);
|
|
330
|
+
for (var o in e)
|
|
331
|
+
if (u(e, o)) {
|
|
332
|
+
var a = void 0;
|
|
333
|
+
try {
|
|
334
|
+
if (typeof e[o] != "function") {
|
|
335
|
+
var g = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
336
|
+
throw g.name = "Invariant Violation", g;
|
|
337
|
+
}
|
|
338
|
+
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
339
|
+
} catch (c) {
|
|
340
|
+
a = c;
|
|
341
|
+
}
|
|
342
|
+
a && !(a instanceof Error) && (U(i), y("%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).", n || "React class", t, o, typeof a), U(null)), a instanceof Error && !(a.message in fe) && (fe[a.message] = !0, U(i), y("Failed %s type: %s", t, a.message), U(null));
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
var qe = Array.isArray;
|
|
347
|
+
function J(e) {
|
|
348
|
+
return qe(e);
|
|
349
|
+
}
|
|
350
|
+
function Ge(e) {
|
|
351
|
+
{
|
|
352
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
353
|
+
return t;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
function Je(e) {
|
|
357
|
+
try {
|
|
358
|
+
return de(e), !1;
|
|
359
|
+
} catch {
|
|
360
|
+
return !0;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
function de(e) {
|
|
364
|
+
return "" + e;
|
|
365
|
+
}
|
|
366
|
+
function ve(e) {
|
|
367
|
+
if (Je(e))
|
|
368
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ge(e)), de(e);
|
|
369
|
+
}
|
|
370
|
+
var A = x.ReactCurrentOwner, Be = {
|
|
371
|
+
key: !0,
|
|
372
|
+
ref: !0,
|
|
373
|
+
__self: !0,
|
|
374
|
+
__source: !0
|
|
375
|
+
}, pe, ye, B;
|
|
376
|
+
B = {};
|
|
377
|
+
function ze(e) {
|
|
378
|
+
if (Y.call(e, "ref")) {
|
|
379
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
380
|
+
if (r && r.isReactWarning)
|
|
381
|
+
return !1;
|
|
382
|
+
}
|
|
383
|
+
return e.ref !== void 0;
|
|
384
|
+
}
|
|
385
|
+
function He(e) {
|
|
386
|
+
if (Y.call(e, "key")) {
|
|
387
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
388
|
+
if (r && r.isReactWarning)
|
|
389
|
+
return !1;
|
|
390
|
+
}
|
|
391
|
+
return e.key !== void 0;
|
|
392
|
+
}
|
|
393
|
+
function Ke(e, r) {
|
|
394
|
+
if (typeof e.ref == "string" && A.current && r && A.current.stateNode !== r) {
|
|
395
|
+
var t = T(A.current.type);
|
|
396
|
+
B[t] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(A.current.type), e.ref), B[t] = !0);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
function Xe(e, r) {
|
|
400
|
+
{
|
|
401
|
+
var t = function() {
|
|
402
|
+
pe || (pe = !0, y("%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)", r));
|
|
403
|
+
};
|
|
404
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
405
|
+
get: t,
|
|
406
|
+
configurable: !0
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
function Ze(e, r) {
|
|
411
|
+
{
|
|
412
|
+
var t = function() {
|
|
413
|
+
ye || (ye = !0, y("%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)", r));
|
|
414
|
+
};
|
|
415
|
+
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
416
|
+
get: t,
|
|
417
|
+
configurable: !0
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
var Qe = function(e, r, t, n, i, u, o) {
|
|
422
|
+
var a = {
|
|
423
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
424
|
+
$$typeof: E,
|
|
425
|
+
// Built-in properties that belong on the element
|
|
426
|
+
type: e,
|
|
427
|
+
key: r,
|
|
428
|
+
ref: t,
|
|
429
|
+
props: o,
|
|
430
|
+
// Record the component responsible for creating this element.
|
|
431
|
+
_owner: u
|
|
432
|
+
};
|
|
433
|
+
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
434
|
+
configurable: !1,
|
|
435
|
+
enumerable: !1,
|
|
436
|
+
writable: !0,
|
|
437
|
+
value: !1
|
|
438
|
+
}), Object.defineProperty(a, "_self", {
|
|
439
|
+
configurable: !1,
|
|
440
|
+
enumerable: !1,
|
|
441
|
+
writable: !1,
|
|
442
|
+
value: n
|
|
443
|
+
}), Object.defineProperty(a, "_source", {
|
|
444
|
+
configurable: !1,
|
|
445
|
+
enumerable: !1,
|
|
446
|
+
writable: !1,
|
|
447
|
+
value: i
|
|
448
|
+
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
449
|
+
};
|
|
450
|
+
function er(e, r, t, n, i) {
|
|
451
|
+
{
|
|
452
|
+
var u, o = {}, a = null, g = null;
|
|
453
|
+
t !== void 0 && (ve(t), a = "" + t), He(r) && (ve(r.key), a = "" + r.key), ze(r) && (g = r.ref, Ke(r, i));
|
|
454
|
+
for (u in r)
|
|
455
|
+
Y.call(r, u) && !Be.hasOwnProperty(u) && (o[u] = r[u]);
|
|
456
|
+
if (e && e.defaultProps) {
|
|
457
|
+
var c = e.defaultProps;
|
|
458
|
+
for (u in c)
|
|
459
|
+
o[u] === void 0 && (o[u] = c[u]);
|
|
460
|
+
}
|
|
461
|
+
if (a || g) {
|
|
462
|
+
var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
463
|
+
a && Xe(o, f), g && Ze(o, f);
|
|
464
|
+
}
|
|
465
|
+
return Qe(e, a, g, i, n, A.current, o);
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
var z = x.ReactCurrentOwner, ge = x.ReactDebugCurrentFrame;
|
|
469
|
+
function D(e) {
|
|
470
|
+
if (e) {
|
|
471
|
+
var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
|
|
472
|
+
ge.setExtraStackFrame(t);
|
|
473
|
+
} else
|
|
474
|
+
ge.setExtraStackFrame(null);
|
|
475
|
+
}
|
|
476
|
+
var H;
|
|
477
|
+
H = !1;
|
|
478
|
+
function K(e) {
|
|
479
|
+
return typeof e == "object" && e !== null && e.$$typeof === E;
|
|
480
|
+
}
|
|
481
|
+
function me() {
|
|
482
|
+
{
|
|
483
|
+
if (z.current) {
|
|
484
|
+
var e = T(z.current.type);
|
|
485
|
+
if (e)
|
|
486
|
+
return `
|
|
487
|
+
|
|
488
|
+
Check the render method of \`` + e + "`.";
|
|
489
|
+
}
|
|
490
|
+
return "";
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
function rr(e) {
|
|
494
|
+
{
|
|
495
|
+
if (e !== void 0) {
|
|
496
|
+
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
497
|
+
return `
|
|
498
|
+
|
|
499
|
+
Check your code at ` + r + ":" + t + ".";
|
|
500
|
+
}
|
|
501
|
+
return "";
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
var be = {};
|
|
505
|
+
function tr(e) {
|
|
506
|
+
{
|
|
507
|
+
var r = me();
|
|
508
|
+
if (!r) {
|
|
509
|
+
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
510
|
+
t && (r = `
|
|
511
|
+
|
|
512
|
+
Check the top-level render call using <` + t + ">.");
|
|
513
|
+
}
|
|
514
|
+
return r;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
function he(e, r) {
|
|
518
|
+
{
|
|
519
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
520
|
+
return;
|
|
521
|
+
e._store.validated = !0;
|
|
522
|
+
var t = tr(r);
|
|
523
|
+
if (be[t])
|
|
524
|
+
return;
|
|
525
|
+
be[t] = !0;
|
|
526
|
+
var n = "";
|
|
527
|
+
e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + T(e._owner.type) + "."), D(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), D(null);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
function Re(e, r) {
|
|
531
|
+
{
|
|
532
|
+
if (typeof e != "object")
|
|
533
|
+
return;
|
|
534
|
+
if (J(e))
|
|
535
|
+
for (var t = 0; t < e.length; t++) {
|
|
536
|
+
var n = e[t];
|
|
537
|
+
K(n) && he(n, r);
|
|
538
|
+
}
|
|
539
|
+
else if (K(e))
|
|
540
|
+
e._store && (e._store.validated = !0);
|
|
541
|
+
else if (e) {
|
|
542
|
+
var i = Ce(e);
|
|
543
|
+
if (typeof i == "function" && i !== e.entries)
|
|
544
|
+
for (var u = i.call(e), o; !(o = u.next()).done; )
|
|
545
|
+
K(o.value) && he(o.value, r);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
function nr(e) {
|
|
550
|
+
{
|
|
551
|
+
var r = e.type;
|
|
552
|
+
if (r == null || typeof r == "string")
|
|
553
|
+
return;
|
|
554
|
+
var t;
|
|
555
|
+
if (typeof r == "function")
|
|
556
|
+
t = r.propTypes;
|
|
557
|
+
else if (typeof r == "object" && (r.$$typeof === s || // Note: Memo only checks outer props here.
|
|
558
|
+
// Inner props are checked in the reconciler.
|
|
559
|
+
r.$$typeof === p))
|
|
560
|
+
t = r.propTypes;
|
|
561
|
+
else
|
|
562
|
+
return;
|
|
563
|
+
if (t) {
|
|
564
|
+
var n = T(r);
|
|
565
|
+
Ve(t, e.props, "prop", n, e);
|
|
566
|
+
} else if (r.PropTypes !== void 0 && !H) {
|
|
567
|
+
H = !0;
|
|
568
|
+
var i = T(r);
|
|
569
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
|
|
570
|
+
}
|
|
571
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
function ar(e) {
|
|
575
|
+
{
|
|
576
|
+
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
577
|
+
var n = r[t];
|
|
578
|
+
if (n !== "children" && n !== "key") {
|
|
579
|
+
D(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), D(null);
|
|
580
|
+
break;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
e.ref !== null && (D(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), D(null));
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
function Ee(e, r, t, n, i, u) {
|
|
587
|
+
{
|
|
588
|
+
var o = $e(e);
|
|
589
|
+
if (!o) {
|
|
590
|
+
var a = "";
|
|
591
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
592
|
+
var g = rr(i);
|
|
593
|
+
g ? a += g : a += me();
|
|
594
|
+
var c;
|
|
595
|
+
e === null ? c = "null" : J(e) ? c = "array" : e !== void 0 && e.$$typeof === E ? (c = "<" + (T(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : c = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", c, a);
|
|
596
|
+
}
|
|
597
|
+
var f = er(e, r, t, i, u);
|
|
598
|
+
if (f == null)
|
|
599
|
+
return f;
|
|
600
|
+
if (o) {
|
|
601
|
+
var R = r.children;
|
|
602
|
+
if (R !== void 0)
|
|
603
|
+
if (n)
|
|
604
|
+
if (J(R)) {
|
|
605
|
+
for (var k = 0; k < R.length; k++)
|
|
606
|
+
Re(R[k], e);
|
|
607
|
+
Object.freeze && Object.freeze(R);
|
|
608
|
+
} else
|
|
609
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
610
|
+
else
|
|
611
|
+
Re(R, e);
|
|
612
|
+
}
|
|
613
|
+
return e === b ? ar(f) : nr(f), f;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
function or(e, r, t) {
|
|
617
|
+
return Ee(e, r, t, !0);
|
|
618
|
+
}
|
|
619
|
+
function ir(e, r, t) {
|
|
620
|
+
return Ee(e, r, t, !1);
|
|
621
|
+
}
|
|
622
|
+
var ur = ir, sr = or;
|
|
623
|
+
$.Fragment = b, $.jsx = ur, $.jsxs = sr;
|
|
624
|
+
})()), $;
|
|
625
|
+
}
|
|
626
|
+
var wr = M.exports, Pe;
|
|
627
|
+
function vr() {
|
|
628
|
+
return Pe || (Pe = 1, process.env.NODE_ENV === "production" ? M.exports = lr() : M.exports = dr()), M.exports;
|
|
629
|
+
}
|
|
630
|
+
var Te = vr();
|
|
631
|
+
function pr({
|
|
632
|
+
props: O,
|
|
633
|
+
context: E,
|
|
634
|
+
eventBus: _,
|
|
635
|
+
adapter: b = (v) => v
|
|
636
|
+
}) {
|
|
637
|
+
const v = window.React, { useEffect: w, useState: m } = v;
|
|
638
|
+
return function(l) {
|
|
639
|
+
const s = () => {
|
|
640
|
+
const [P, d] = m(() => b(O));
|
|
641
|
+
return w(() => {
|
|
642
|
+
const p = (h) => {
|
|
643
|
+
const C = b(h);
|
|
644
|
+
d(C);
|
|
645
|
+
};
|
|
646
|
+
return _.on(p), () => {
|
|
647
|
+
_.remove();
|
|
648
|
+
};
|
|
649
|
+
}, []), /* @__PURE__ */ Te.jsx(l, { ...E, ...P });
|
|
650
|
+
};
|
|
651
|
+
return /* @__PURE__ */ Te.jsx(s, {});
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
const yr = !0, { id: X } = fr ?? {}, gr = window.online_development_islocal, mr = window.React, br = window.ReactDOM, hr = async (O, E, _ = null) => {
|
|
655
|
+
cr(O, E, typeof _ == "function" ? _ : (v) => v);
|
|
656
|
+
}, Or = ({
|
|
657
|
+
App: O,
|
|
658
|
+
setAttributes: E = hr,
|
|
659
|
+
adapter: _ = (v) => v,
|
|
660
|
+
beforeBootstrap: b = (v) => {
|
|
661
|
+
v();
|
|
662
|
+
}
|
|
663
|
+
}) => {
|
|
664
|
+
const { createRoot: v } = br;
|
|
665
|
+
if (X && (yr || !gr)) {
|
|
666
|
+
window.CUSTOM_PLUGIN || (window.CUSTOM_PLUGIN = /* @__PURE__ */ new Map());
|
|
667
|
+
const w = (m, l, s, P = {}, d) => {
|
|
668
|
+
b(
|
|
669
|
+
async () => {
|
|
670
|
+
try {
|
|
671
|
+
await E(m, l);
|
|
672
|
+
const p = pr({
|
|
673
|
+
// Cast props to the generic type expected by the HOC.
|
|
674
|
+
props: l,
|
|
675
|
+
context: s,
|
|
676
|
+
eventBus: P,
|
|
677
|
+
adapter: _
|
|
678
|
+
})(O), h = v(m);
|
|
679
|
+
d == null || d(h), h.render(p);
|
|
680
|
+
} catch (p) {
|
|
681
|
+
console.error(`[Plugin: ${X}] Bootstrap failed:`, p);
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
{ dom: m, props: l }
|
|
685
|
+
);
|
|
686
|
+
};
|
|
687
|
+
window.CUSTOM_PLUGIN.set(X, w);
|
|
688
|
+
} else
|
|
689
|
+
b(() => {
|
|
690
|
+
var m;
|
|
691
|
+
const w = document.getElementById("root");
|
|
692
|
+
if (w) {
|
|
693
|
+
const l = v(w), s = mr.createElement(O, {
|
|
694
|
+
type: "development"
|
|
695
|
+
});
|
|
696
|
+
(m = l == null ? void 0 : l.render) == null || m.call(l, s);
|
|
697
|
+
}
|
|
698
|
+
});
|
|
699
|
+
};
|
|
700
|
+
export {
|
|
701
|
+
Or as c,
|
|
702
|
+
hr as s
|
|
703
|
+
};
|
|
704
|
+
//# sourceMappingURL=start-rmMDvB0v.js.map
|