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