@billgangcom/theme-lib 1.15.0 → 1.15.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/dist/builder.cjs.js +8 -8
- package/dist/builder.es.js +887 -886
- package/dist/{index-O85p6vDc.cjs → index-Cr8kurIY.cjs} +15 -15
- package/dist/{index-QsuPYj6C.js → index-D4jHAwqq.js} +488 -506
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import M, { useState as Gs, useEffect as Nt, createContext as
|
|
2
|
-
function
|
|
1
|
+
import M, { useState as Gs, useEffect as Nt, createContext as Eo, memo as Oo, useLayoutEffect as _o, useCallback as Po, useMemo as K, isValidElement as Ro, cloneElement as Ee, useContext as ko } from "react";
|
|
2
|
+
function ar(s) {
|
|
3
3
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
4
4
|
}
|
|
5
5
|
var ks = { exports: {} }, _t = {};
|
|
@@ -12,10 +12,10 @@ var ks = { exports: {} }, _t = {};
|
|
|
12
12
|
* This source code is licensed under the MIT license found in the
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
if (
|
|
18
|
-
|
|
15
|
+
var Oe;
|
|
16
|
+
function Io() {
|
|
17
|
+
if (Oe) return _t;
|
|
18
|
+
Oe = 1;
|
|
19
19
|
var s = M, t = Symbol.for("react.element"), e = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
20
20
|
function n(a, u, l) {
|
|
21
21
|
var p, d = {}, b = null, y = null;
|
|
@@ -36,9 +36,9 @@ var Pt = {};
|
|
|
36
36
|
* This source code is licensed under the MIT license found in the
|
|
37
37
|
* LICENSE file in the root directory of this source tree.
|
|
38
38
|
*/
|
|
39
|
-
var
|
|
40
|
-
function
|
|
41
|
-
return
|
|
39
|
+
var _e;
|
|
40
|
+
function Ao() {
|
|
41
|
+
return _e || (_e = 1, process.env.NODE_ENV !== "production" && function() {
|
|
42
42
|
var s = M, t = Symbol.for("react.element"), e = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), n = Symbol.for("react.provider"), a = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), g = Symbol.iterator, f = "@@iterator";
|
|
43
43
|
function S(c) {
|
|
44
44
|
if (c === null || typeof c != "object")
|
|
@@ -58,10 +58,10 @@ function No() {
|
|
|
58
58
|
{
|
|
59
59
|
var D = C.ReactDebugCurrentFrame, R = D.getStackAddendum();
|
|
60
60
|
R !== "" && (x += "%s", w = w.concat([R]));
|
|
61
|
-
var
|
|
61
|
+
var k = w.map(function(P) {
|
|
62
62
|
return String(P);
|
|
63
63
|
});
|
|
64
|
-
|
|
64
|
+
k.unshift("Warning: " + x), Function.prototype.apply.call(console[c], console, k);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
var A = !1, L = !1, j = !1, Q = !1, it = !1, ct;
|
|
@@ -118,9 +118,9 @@ function No() {
|
|
|
118
118
|
var D = c.displayName || null;
|
|
119
119
|
return D !== null ? D : et(c.type) || "Memo";
|
|
120
120
|
case b: {
|
|
121
|
-
var R = c,
|
|
121
|
+
var R = c, k = R._payload, P = R._init;
|
|
122
122
|
try {
|
|
123
|
-
return et(P(
|
|
123
|
+
return et(P(k));
|
|
124
124
|
} catch {
|
|
125
125
|
return null;
|
|
126
126
|
}
|
|
@@ -128,18 +128,18 @@ function No() {
|
|
|
128
128
|
}
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
|
-
var lt = Object.assign, Dt = 0, ie, ne, ae, ce, le, ue
|
|
132
|
-
function
|
|
131
|
+
var lt = Object.assign, Dt = 0, oe, ie, ne, ae, ce, le, ue;
|
|
132
|
+
function pe() {
|
|
133
133
|
}
|
|
134
|
-
|
|
135
|
-
function
|
|
134
|
+
pe.__reactDisabledLog = !0;
|
|
135
|
+
function Qr() {
|
|
136
136
|
{
|
|
137
137
|
if (Dt === 0) {
|
|
138
|
-
|
|
138
|
+
oe = console.log, ie = console.info, ne = console.warn, ae = console.error, ce = console.group, le = console.groupCollapsed, ue = console.groupEnd;
|
|
139
139
|
var c = {
|
|
140
140
|
configurable: !0,
|
|
141
141
|
enumerable: !0,
|
|
142
|
-
value:
|
|
142
|
+
value: pe,
|
|
143
143
|
writable: !0
|
|
144
144
|
};
|
|
145
145
|
Object.defineProperties(console, {
|
|
@@ -155,7 +155,7 @@ function No() {
|
|
|
155
155
|
Dt++;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Zr() {
|
|
159
159
|
{
|
|
160
160
|
if (Dt--, Dt === 0) {
|
|
161
161
|
var c = {
|
|
@@ -165,25 +165,25 @@ function No() {
|
|
|
165
165
|
};
|
|
166
166
|
Object.defineProperties(console, {
|
|
167
167
|
log: lt({}, c, {
|
|
168
|
-
value:
|
|
168
|
+
value: oe
|
|
169
169
|
}),
|
|
170
170
|
info: lt({}, c, {
|
|
171
|
-
value:
|
|
171
|
+
value: ie
|
|
172
172
|
}),
|
|
173
173
|
warn: lt({}, c, {
|
|
174
|
-
value:
|
|
174
|
+
value: ne
|
|
175
175
|
}),
|
|
176
176
|
error: lt({}, c, {
|
|
177
|
-
value:
|
|
177
|
+
value: ae
|
|
178
178
|
}),
|
|
179
179
|
group: lt({}, c, {
|
|
180
|
-
value:
|
|
180
|
+
value: ce
|
|
181
181
|
}),
|
|
182
182
|
groupCollapsed: lt({}, c, {
|
|
183
|
-
value:
|
|
183
|
+
value: le
|
|
184
184
|
}),
|
|
185
185
|
groupEnd: lt({}, c, {
|
|
186
|
-
value:
|
|
186
|
+
value: ue
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}
|
|
@@ -191,7 +191,7 @@ function No() {
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
var us = C.ReactCurrentDispatcher, ps;
|
|
194
|
-
function
|
|
194
|
+
function Bt(c, x, w) {
|
|
195
195
|
{
|
|
196
196
|
if (ps === void 0)
|
|
197
197
|
try {
|
|
@@ -206,10 +206,10 @@ function No() {
|
|
|
206
206
|
}
|
|
207
207
|
var ms = !1, Mt;
|
|
208
208
|
{
|
|
209
|
-
var
|
|
210
|
-
Mt = new
|
|
209
|
+
var to = typeof WeakMap == "function" ? WeakMap : Map;
|
|
210
|
+
Mt = new to();
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function me(c, x) {
|
|
213
213
|
if (!c || ms)
|
|
214
214
|
return "";
|
|
215
215
|
{
|
|
@@ -221,8 +221,8 @@ function No() {
|
|
|
221
221
|
ms = !0;
|
|
222
222
|
var R = Error.prepareStackTrace;
|
|
223
223
|
Error.prepareStackTrace = void 0;
|
|
224
|
-
var
|
|
225
|
-
|
|
224
|
+
var k;
|
|
225
|
+
k = us.current, us.current = null, Qr();
|
|
226
226
|
try {
|
|
227
227
|
if (x) {
|
|
228
228
|
var P = function() {
|
|
@@ -259,31 +259,31 @@ function No() {
|
|
|
259
259
|
if (q && D && typeof q.stack == "string") {
|
|
260
260
|
for (var _ = q.stack.split(`
|
|
261
261
|
`), U = D.stack.split(`
|
|
262
|
-
`),
|
|
263
|
-
|
|
264
|
-
for (;
|
|
265
|
-
if (_[
|
|
266
|
-
if (
|
|
262
|
+
`), F = _.length - 1, B = U.length - 1; F >= 1 && B >= 0 && _[F] !== U[B]; )
|
|
263
|
+
B--;
|
|
264
|
+
for (; F >= 1 && B >= 0; F--, B--)
|
|
265
|
+
if (_[F] !== U[B]) {
|
|
266
|
+
if (F !== 1 || B !== 1)
|
|
267
267
|
do
|
|
268
|
-
if (
|
|
268
|
+
if (F--, B--, B < 0 || _[F] !== U[B]) {
|
|
269
269
|
var z = `
|
|
270
|
-
` + _[
|
|
270
|
+
` + _[F].replace(" at new ", " at ");
|
|
271
271
|
return c.displayName && z.includes("<anonymous>") && (z = z.replace("<anonymous>", c.displayName)), typeof c == "function" && Mt.set(c, z), z;
|
|
272
272
|
}
|
|
273
|
-
while (
|
|
273
|
+
while (F >= 1 && B >= 0);
|
|
274
274
|
break;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
} finally {
|
|
278
|
-
ms = !1, us.current =
|
|
278
|
+
ms = !1, us.current = k, Zr(), Error.prepareStackTrace = R;
|
|
279
279
|
}
|
|
280
|
-
var St = c ? c.displayName || c.name : "", ut = St ?
|
|
280
|
+
var St = c ? c.displayName || c.name : "", ut = St ? Bt(St) : "";
|
|
281
281
|
return typeof c == "function" && Mt.set(c, ut), ut;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
284
|
-
return
|
|
283
|
+
function so(c, x, w) {
|
|
284
|
+
return me(c, !1);
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function eo(c) {
|
|
287
287
|
var x = c.prototype;
|
|
288
288
|
return !!(x && x.isReactComponent);
|
|
289
289
|
}
|
|
@@ -291,44 +291,44 @@ function No() {
|
|
|
291
291
|
if (c == null)
|
|
292
292
|
return "";
|
|
293
293
|
if (typeof c == "function")
|
|
294
|
-
return
|
|
294
|
+
return me(c, eo(c));
|
|
295
295
|
if (typeof c == "string")
|
|
296
|
-
return
|
|
296
|
+
return Bt(c);
|
|
297
297
|
switch (c) {
|
|
298
298
|
case l:
|
|
299
|
-
return
|
|
299
|
+
return Bt("Suspense");
|
|
300
300
|
case p:
|
|
301
|
-
return
|
|
301
|
+
return Bt("SuspenseList");
|
|
302
302
|
}
|
|
303
303
|
if (typeof c == "object")
|
|
304
304
|
switch (c.$$typeof) {
|
|
305
305
|
case u:
|
|
306
|
-
return
|
|
306
|
+
return so(c.render);
|
|
307
307
|
case d:
|
|
308
308
|
return jt(c.type, x, w);
|
|
309
309
|
case b: {
|
|
310
|
-
var D = c, R = D._payload,
|
|
310
|
+
var D = c, R = D._payload, k = D._init;
|
|
311
311
|
try {
|
|
312
|
-
return jt(
|
|
312
|
+
return jt(k(R), x, w);
|
|
313
313
|
} catch {
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
return "";
|
|
318
318
|
}
|
|
319
|
-
var Et = Object.prototype.hasOwnProperty,
|
|
319
|
+
var Et = Object.prototype.hasOwnProperty, de = {}, fe = C.ReactDebugCurrentFrame;
|
|
320
320
|
function Ht(c) {
|
|
321
321
|
if (c) {
|
|
322
322
|
var x = c._owner, w = jt(c.type, c._source, x ? x.type : null);
|
|
323
|
-
|
|
323
|
+
fe.setExtraStackFrame(w);
|
|
324
324
|
} else
|
|
325
|
-
|
|
325
|
+
fe.setExtraStackFrame(null);
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function ro(c, x, w, D, R) {
|
|
328
328
|
{
|
|
329
|
-
var
|
|
329
|
+
var k = Function.call.bind(Et);
|
|
330
330
|
for (var P in c)
|
|
331
|
-
if (
|
|
331
|
+
if (k(c, P)) {
|
|
332
332
|
var _ = void 0;
|
|
333
333
|
try {
|
|
334
334
|
if (typeof c[P] != "function") {
|
|
@@ -336,45 +336,45 @@ function No() {
|
|
|
336
336
|
throw U.name = "Invariant Violation", U;
|
|
337
337
|
}
|
|
338
338
|
_ = c[P](x, P, D, w, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
339
|
-
} catch (
|
|
340
|
-
_ =
|
|
339
|
+
} catch (F) {
|
|
340
|
+
_ = F;
|
|
341
341
|
}
|
|
342
|
-
_ && !(_ instanceof Error) && (Ht(R), v("%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).", D || "React class", w, P, typeof _), Ht(null)), _ instanceof Error && !(_.message in
|
|
342
|
+
_ && !(_ instanceof Error) && (Ht(R), v("%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).", D || "React class", w, P, typeof _), Ht(null)), _ instanceof Error && !(_.message in de) && (de[_.message] = !0, Ht(R), v("Failed %s type: %s", w, _.message), Ht(null));
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
|
-
var
|
|
346
|
+
var oo = Array.isArray;
|
|
347
347
|
function ds(c) {
|
|
348
|
-
return
|
|
348
|
+
return oo(c);
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function io(c) {
|
|
351
351
|
{
|
|
352
352
|
var x = typeof Symbol == "function" && Symbol.toStringTag, w = x && c[Symbol.toStringTag] || c.constructor.name || "Object";
|
|
353
353
|
return w;
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function no(c) {
|
|
357
357
|
try {
|
|
358
|
-
return
|
|
358
|
+
return he(c), !1;
|
|
359
359
|
} catch {
|
|
360
360
|
return !0;
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function he(c) {
|
|
364
364
|
return "" + c;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
367
|
-
if (
|
|
368
|
-
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
366
|
+
function ge(c) {
|
|
367
|
+
if (no(c))
|
|
368
|
+
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", io(c)), he(c);
|
|
369
369
|
}
|
|
370
|
-
var Ot = C.ReactCurrentOwner,
|
|
370
|
+
var Ot = C.ReactCurrentOwner, ao = {
|
|
371
371
|
key: !0,
|
|
372
372
|
ref: !0,
|
|
373
373
|
__self: !0,
|
|
374
374
|
__source: !0
|
|
375
|
-
},
|
|
375
|
+
}, xe, Se, fs;
|
|
376
376
|
fs = {};
|
|
377
|
-
function
|
|
377
|
+
function co(c) {
|
|
378
378
|
if (Et.call(c, "ref")) {
|
|
379
379
|
var x = Object.getOwnPropertyDescriptor(c, "ref").get;
|
|
380
380
|
if (x && x.isReactWarning)
|
|
@@ -382,7 +382,7 @@ function No() {
|
|
|
382
382
|
}
|
|
383
383
|
return c.ref !== void 0;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function lo(c) {
|
|
386
386
|
if (Et.call(c, "key")) {
|
|
387
387
|
var x = Object.getOwnPropertyDescriptor(c, "key").get;
|
|
388
388
|
if (x && x.isReactWarning)
|
|
@@ -390,16 +390,16 @@ function No() {
|
|
|
390
390
|
}
|
|
391
391
|
return c.key !== void 0;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function uo(c, x) {
|
|
394
394
|
if (typeof c.ref == "string" && Ot.current && x && Ot.current.stateNode !== x) {
|
|
395
395
|
var w = et(Ot.current.type);
|
|
396
396
|
fs[w] || (v('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', et(Ot.current.type), c.ref), fs[w] = !0);
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function po(c, x) {
|
|
400
400
|
{
|
|
401
401
|
var w = function() {
|
|
402
|
-
|
|
402
|
+
xe || (xe = !0, v("%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)", x));
|
|
403
403
|
};
|
|
404
404
|
w.isReactWarning = !0, Object.defineProperty(c, "key", {
|
|
405
405
|
get: w,
|
|
@@ -407,10 +407,10 @@ function No() {
|
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function mo(c, x) {
|
|
411
411
|
{
|
|
412
412
|
var w = function() {
|
|
413
|
-
|
|
413
|
+
Se || (Se = !0, v("%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)", x));
|
|
414
414
|
};
|
|
415
415
|
w.isReactWarning = !0, Object.defineProperty(c, "ref", {
|
|
416
416
|
get: w,
|
|
@@ -418,7 +418,7 @@ function No() {
|
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
var
|
|
421
|
+
var fo = function(c, x, w, D, R, k, P) {
|
|
422
422
|
var _ = {
|
|
423
423
|
// This tag allows us to uniquely identify this as a React Element
|
|
424
424
|
$$typeof: t,
|
|
@@ -428,7 +428,7 @@ function No() {
|
|
|
428
428
|
ref: w,
|
|
429
429
|
props: P,
|
|
430
430
|
// Record the component responsible for creating this element.
|
|
431
|
-
_owner:
|
|
431
|
+
_owner: k
|
|
432
432
|
};
|
|
433
433
|
return _._store = {}, Object.defineProperty(_._store, "validated", {
|
|
434
434
|
configurable: !1,
|
|
@@ -447,38 +447,38 @@ function No() {
|
|
|
447
447
|
value: R
|
|
448
448
|
}), Object.freeze && (Object.freeze(_.props), Object.freeze(_)), _;
|
|
449
449
|
};
|
|
450
|
-
function
|
|
450
|
+
function ho(c, x, w, D, R) {
|
|
451
451
|
{
|
|
452
|
-
var
|
|
453
|
-
w !== void 0 && (
|
|
454
|
-
for (
|
|
455
|
-
Et.call(x,
|
|
452
|
+
var k, P = {}, _ = null, U = null;
|
|
453
|
+
w !== void 0 && (ge(w), _ = "" + w), lo(x) && (ge(x.key), _ = "" + x.key), co(x) && (U = x.ref, uo(x, R));
|
|
454
|
+
for (k in x)
|
|
455
|
+
Et.call(x, k) && !ao.hasOwnProperty(k) && (P[k] = x[k]);
|
|
456
456
|
if (c && c.defaultProps) {
|
|
457
|
-
var
|
|
458
|
-
for (
|
|
459
|
-
P[
|
|
457
|
+
var F = c.defaultProps;
|
|
458
|
+
for (k in F)
|
|
459
|
+
P[k] === void 0 && (P[k] = F[k]);
|
|
460
460
|
}
|
|
461
461
|
if (_ || U) {
|
|
462
|
-
var
|
|
463
|
-
_ &&
|
|
462
|
+
var B = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
463
|
+
_ && po(P, B), U && mo(P, B);
|
|
464
464
|
}
|
|
465
|
-
return
|
|
465
|
+
return fo(c, _, U, R, D, Ot.current, P);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
var hs = C.ReactCurrentOwner,
|
|
468
|
+
var hs = C.ReactCurrentOwner, ye = C.ReactDebugCurrentFrame;
|
|
469
469
|
function xt(c) {
|
|
470
470
|
if (c) {
|
|
471
471
|
var x = c._owner, w = jt(c.type, c._source, x ? x.type : null);
|
|
472
|
-
|
|
472
|
+
ye.setExtraStackFrame(w);
|
|
473
473
|
} else
|
|
474
|
-
|
|
474
|
+
ye.setExtraStackFrame(null);
|
|
475
475
|
}
|
|
476
476
|
var gs;
|
|
477
477
|
gs = !1;
|
|
478
478
|
function xs(c) {
|
|
479
479
|
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
480
480
|
}
|
|
481
|
-
function
|
|
481
|
+
function be() {
|
|
482
482
|
{
|
|
483
483
|
if (hs.current) {
|
|
484
484
|
var c = et(hs.current.type);
|
|
@@ -490,13 +490,13 @@ Check the render method of \`` + c + "`.";
|
|
|
490
490
|
return "";
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function go(c) {
|
|
494
494
|
return "";
|
|
495
495
|
}
|
|
496
|
-
var
|
|
497
|
-
function
|
|
496
|
+
var ve = {};
|
|
497
|
+
function xo(c) {
|
|
498
498
|
{
|
|
499
|
-
var x =
|
|
499
|
+
var x = be();
|
|
500
500
|
if (!x) {
|
|
501
501
|
var w = typeof c == "string" ? c : c.displayName || c.name;
|
|
502
502
|
w && (x = `
|
|
@@ -506,39 +506,39 @@ Check the top-level render call using <` + w + ">.");
|
|
|
506
506
|
return x;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function we(c, x) {
|
|
510
510
|
{
|
|
511
511
|
if (!c._store || c._store.validated || c.key != null)
|
|
512
512
|
return;
|
|
513
513
|
c._store.validated = !0;
|
|
514
|
-
var w =
|
|
515
|
-
if (
|
|
514
|
+
var w = xo(x);
|
|
515
|
+
if (ve[w])
|
|
516
516
|
return;
|
|
517
|
-
|
|
517
|
+
ve[w] = !0;
|
|
518
518
|
var D = "";
|
|
519
519
|
c && c._owner && c._owner !== hs.current && (D = " It was passed a child from " + et(c._owner.type) + "."), xt(c), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', w, D), xt(null);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Ce(c, x) {
|
|
523
523
|
{
|
|
524
524
|
if (typeof c != "object")
|
|
525
525
|
return;
|
|
526
526
|
if (ds(c))
|
|
527
527
|
for (var w = 0; w < c.length; w++) {
|
|
528
528
|
var D = c[w];
|
|
529
|
-
xs(D) &&
|
|
529
|
+
xs(D) && we(D, x);
|
|
530
530
|
}
|
|
531
531
|
else if (xs(c))
|
|
532
532
|
c._store && (c._store.validated = !0);
|
|
533
533
|
else if (c) {
|
|
534
534
|
var R = S(c);
|
|
535
535
|
if (typeof R == "function" && R !== c.entries)
|
|
536
|
-
for (var
|
|
537
|
-
xs(P.value) &&
|
|
536
|
+
for (var k = R.call(c), P; !(P = k.next()).done; )
|
|
537
|
+
xs(P.value) && we(P.value, x);
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function So(c) {
|
|
542
542
|
{
|
|
543
543
|
var x = c.type;
|
|
544
544
|
if (x == null || typeof x == "string")
|
|
@@ -554,7 +554,7 @@ Check the top-level render call using <` + w + ">.");
|
|
|
554
554
|
return;
|
|
555
555
|
if (w) {
|
|
556
556
|
var D = et(x);
|
|
557
|
-
|
|
557
|
+
ro(w, c.props, "prop", D, c);
|
|
558
558
|
} else if (x.PropTypes !== void 0 && !gs) {
|
|
559
559
|
gs = !0;
|
|
560
560
|
var R = et(x);
|
|
@@ -563,7 +563,7 @@ Check the top-level render call using <` + w + ">.");
|
|
|
563
563
|
typeof x.getDefaultProps == "function" && !x.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function yo(c) {
|
|
567
567
|
{
|
|
568
568
|
for (var x = Object.keys(c.props), w = 0; w < x.length; w++) {
|
|
569
569
|
var D = x[w];
|
|
@@ -575,64 +575,64 @@ Check the top-level render call using <` + w + ">.");
|
|
|
575
575
|
c.ref !== null && (xt(c), v("Invalid attribute `ref` supplied to `React.Fragment`."), xt(null));
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
var
|
|
579
|
-
function
|
|
578
|
+
var Te = {};
|
|
579
|
+
function De(c, x, w, D, R, k) {
|
|
580
580
|
{
|
|
581
581
|
var P = tt(c);
|
|
582
582
|
if (!P) {
|
|
583
583
|
var _ = "";
|
|
584
584
|
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (_ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
585
|
-
var U =
|
|
586
|
-
U ? _ += U : _ +=
|
|
587
|
-
var
|
|
588
|
-
c === null ?
|
|
585
|
+
var U = go();
|
|
586
|
+
U ? _ += U : _ += be();
|
|
587
|
+
var F;
|
|
588
|
+
c === null ? F = "null" : ds(c) ? F = "array" : c !== void 0 && c.$$typeof === t ? (F = "<" + (et(c.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : F = typeof c, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, _);
|
|
589
589
|
}
|
|
590
|
-
var
|
|
591
|
-
if (
|
|
592
|
-
return
|
|
590
|
+
var B = ho(c, x, w, R, k);
|
|
591
|
+
if (B == null)
|
|
592
|
+
return B;
|
|
593
593
|
if (P) {
|
|
594
594
|
var z = x.children;
|
|
595
595
|
if (z !== void 0)
|
|
596
596
|
if (D)
|
|
597
597
|
if (ds(z)) {
|
|
598
598
|
for (var St = 0; St < z.length; St++)
|
|
599
|
-
|
|
599
|
+
Ce(z[St], c);
|
|
600
600
|
Object.freeze && Object.freeze(z);
|
|
601
601
|
} else
|
|
602
602
|
v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
603
603
|
else
|
|
604
|
-
|
|
604
|
+
Ce(z, c);
|
|
605
605
|
}
|
|
606
606
|
if (Et.call(x, "key")) {
|
|
607
|
-
var ut = et(c), q = Object.keys(x).filter(function(
|
|
608
|
-
return
|
|
607
|
+
var ut = et(c), q = Object.keys(x).filter(function(Do) {
|
|
608
|
+
return Do !== "key";
|
|
609
609
|
}), Ss = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
610
|
-
if (!
|
|
611
|
-
var
|
|
610
|
+
if (!Te[ut + Ss]) {
|
|
611
|
+
var To = q.length > 0 ? "{" + q.join(": ..., ") + ": ...}" : "{}";
|
|
612
612
|
v(`A props object containing a "key" prop is being spread into JSX:
|
|
613
613
|
let props = %s;
|
|
614
614
|
<%s {...props} />
|
|
615
615
|
React keys must be passed directly to JSX without using spread:
|
|
616
616
|
let props = %s;
|
|
617
|
-
<%s key={someKey} {...props} />`, Ss, ut,
|
|
617
|
+
<%s key={someKey} {...props} />`, Ss, ut, To, ut), Te[ut + Ss] = !0;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
return c === r ?
|
|
620
|
+
return c === r ? yo(B) : So(B), B;
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
function
|
|
624
|
-
return
|
|
623
|
+
function bo(c, x, w) {
|
|
624
|
+
return De(c, x, w, !0);
|
|
625
625
|
}
|
|
626
|
-
function
|
|
627
|
-
return
|
|
626
|
+
function vo(c, x, w) {
|
|
627
|
+
return De(c, x, w, !1);
|
|
628
628
|
}
|
|
629
|
-
var
|
|
630
|
-
Pt.Fragment = r, Pt.jsx =
|
|
629
|
+
var wo = vo, Co = bo;
|
|
630
|
+
Pt.Fragment = r, Pt.jsx = wo, Pt.jsxs = Co;
|
|
631
631
|
}()), Pt;
|
|
632
632
|
}
|
|
633
|
-
process.env.NODE_ENV === "production" ? ks.exports =
|
|
633
|
+
process.env.NODE_ENV === "production" ? ks.exports = Io() : ks.exports = Ao();
|
|
634
634
|
var h = ks.exports;
|
|
635
|
-
const
|
|
635
|
+
const No = [
|
|
636
636
|
{
|
|
637
637
|
icon: "TreeStructure",
|
|
638
638
|
name: "Layers"
|
|
@@ -649,7 +649,7 @@ const Lo = [
|
|
|
649
649
|
icon: "Gear",
|
|
650
650
|
name: "Settings"
|
|
651
651
|
}
|
|
652
|
-
], Kt = "https://g-api.billgang.com", Tu = "https://www.googleapis.com/webfonts/v1/webfonts",
|
|
652
|
+
], Kt = "https://g-api.billgang.com", Tu = "https://www.googleapis.com/webfonts/v1/webfonts", Lo = "https://stores-api.billgang.com", Du = Array.from({ length: 122 / 2 + 1 }, (s, t) => String(6 + t * 2)), Eu = [
|
|
653
653
|
"100",
|
|
654
654
|
"200",
|
|
655
655
|
"300",
|
|
@@ -660,27 +660,27 @@ const Lo = [
|
|
|
660
660
|
"800",
|
|
661
661
|
"900"
|
|
662
662
|
];
|
|
663
|
-
function
|
|
663
|
+
function cr(s, t) {
|
|
664
664
|
return function() {
|
|
665
665
|
return s.apply(t, arguments);
|
|
666
666
|
};
|
|
667
667
|
}
|
|
668
|
-
const { toString:
|
|
669
|
-
const e =
|
|
668
|
+
const { toString: Fo } = Object.prototype, { getPrototypeOf: zs } = Object, Qt = /* @__PURE__ */ ((s) => (t) => {
|
|
669
|
+
const e = Fo.call(t);
|
|
670
670
|
return s[e] || (s[e] = e.slice(8, -1).toLowerCase());
|
|
671
671
|
})(/* @__PURE__ */ Object.create(null)), Z = (s) => (s = s.toLowerCase(), (t) => Qt(t) === s), Zt = (s) => (t) => typeof t === s, { isArray: wt } = Array, At = Zt("undefined");
|
|
672
|
-
function
|
|
672
|
+
function Bo(s) {
|
|
673
673
|
return s !== null && !At(s) && s.constructor !== null && !At(s.constructor) && W(s.constructor.isBuffer) && s.constructor.isBuffer(s);
|
|
674
674
|
}
|
|
675
|
-
const
|
|
675
|
+
const lr = Z("ArrayBuffer");
|
|
676
676
|
function Mo(s) {
|
|
677
677
|
let t;
|
|
678
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(s) : t = s && s.buffer &&
|
|
678
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(s) : t = s && s.buffer && lr(s.buffer), t;
|
|
679
679
|
}
|
|
680
|
-
const jo = Zt("string"), W = Zt("function"),
|
|
680
|
+
const jo = Zt("string"), W = Zt("function"), ur = Zt("number"), ts = (s) => s !== null && typeof s == "object", Ho = (s) => s === !0 || s === !1, Gt = (s) => {
|
|
681
681
|
if (Qt(s) !== "object")
|
|
682
682
|
return !1;
|
|
683
|
-
const t =
|
|
683
|
+
const t = zs(s);
|
|
684
684
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in s) && !(Symbol.iterator in s);
|
|
685
685
|
}, Uo = Z("Date"), qo = Z("File"), $o = Z("Blob"), Vo = Z("FileList"), Wo = (s) => ts(s) && W(s.pipe), Go = (s) => {
|
|
686
686
|
let t;
|
|
@@ -701,7 +701,7 @@ function Lt(s, t, { allOwnKeys: e = !1 } = {}) {
|
|
|
701
701
|
a = i[r], t.call(null, s[a], a, s);
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
|
-
function
|
|
704
|
+
function pr(s, t) {
|
|
705
705
|
t = t.toLowerCase();
|
|
706
706
|
const e = Object.keys(s);
|
|
707
707
|
let r = e.length, o;
|
|
@@ -710,10 +710,10 @@ function mr(s, t) {
|
|
|
710
710
|
return o;
|
|
711
711
|
return null;
|
|
712
712
|
}
|
|
713
|
-
const dt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
713
|
+
const dt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, mr = (s) => !At(s) && s !== dt;
|
|
714
714
|
function Is() {
|
|
715
|
-
const { caseless: s } =
|
|
716
|
-
const i = s &&
|
|
715
|
+
const { caseless: s } = mr(this) && this || {}, t = {}, e = (r, o) => {
|
|
716
|
+
const i = s && pr(t, o) || o;
|
|
717
717
|
Gt(t[i]) && Gt(r) ? t[i] = Is(t[i], r) : Gt(r) ? t[i] = Is({}, r) : wt(r) ? t[i] = r.slice() : t[i] = r;
|
|
718
718
|
};
|
|
719
719
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
@@ -721,7 +721,7 @@ function Is() {
|
|
|
721
721
|
return t;
|
|
722
722
|
}
|
|
723
723
|
const Zo = (s, t, e, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
|
|
724
|
-
e && W(o) ? s[i] =
|
|
724
|
+
e && W(o) ? s[i] = cr(o, e) : s[i] = o;
|
|
725
725
|
}, { allOwnKeys: r }), s), ti = (s) => (s.charCodeAt(0) === 65279 && (s = s.slice(1)), s), si = (s, t, e, r) => {
|
|
726
726
|
s.prototype = Object.create(t.prototype, r), s.prototype.constructor = s, Object.defineProperty(s, "super", {
|
|
727
727
|
value: t.prototype
|
|
@@ -733,7 +733,7 @@ const Zo = (s, t, e, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
|
|
|
733
733
|
do {
|
|
734
734
|
for (o = Object.getOwnPropertyNames(s), i = o.length; i-- > 0; )
|
|
735
735
|
n = o[i], (!r || r(n, s, t)) && !a[n] && (t[n] = s[n], a[n] = !0);
|
|
736
|
-
s = e !== !1 &&
|
|
736
|
+
s = e !== !1 && zs(s);
|
|
737
737
|
} while (s && (!e || e(s, t)) && s !== Object.prototype);
|
|
738
738
|
return t;
|
|
739
739
|
}, ri = (s, t, e) => {
|
|
@@ -744,12 +744,12 @@ const Zo = (s, t, e, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
|
|
|
744
744
|
if (!s) return null;
|
|
745
745
|
if (wt(s)) return s;
|
|
746
746
|
let t = s.length;
|
|
747
|
-
if (!
|
|
747
|
+
if (!ur(t)) return null;
|
|
748
748
|
const e = new Array(t);
|
|
749
749
|
for (; t-- > 0; )
|
|
750
750
|
e[t] = s[t];
|
|
751
751
|
return e;
|
|
752
|
-
}, ii = /* @__PURE__ */ ((s) => (t) => s && t instanceof s)(typeof Uint8Array < "u" &&
|
|
752
|
+
}, ii = /* @__PURE__ */ ((s) => (t) => s && t instanceof s)(typeof Uint8Array < "u" && zs(Uint8Array)), ni = (s, t) => {
|
|
753
753
|
const r = (s && s[Symbol.iterator]).call(s);
|
|
754
754
|
let o;
|
|
755
755
|
for (; (o = r.next()) && !o.done; ) {
|
|
@@ -767,14 +767,14 @@ const Zo = (s, t, e, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
|
|
|
767
767
|
function(e, r, o) {
|
|
768
768
|
return r.toUpperCase() + o;
|
|
769
769
|
}
|
|
770
|
-
),
|
|
770
|
+
), Pe = (({ hasOwnProperty: s }) => (t, e) => s.call(t, e))(Object.prototype), ui = Z("RegExp"), dr = (s, t) => {
|
|
771
771
|
const e = Object.getOwnPropertyDescriptors(s), r = {};
|
|
772
772
|
Lt(e, (o, i) => {
|
|
773
773
|
let n;
|
|
774
774
|
(n = t(o, i, s)) !== !1 && (r[i] = n || o);
|
|
775
775
|
}), Object.defineProperties(s, r);
|
|
776
776
|
}, pi = (s) => {
|
|
777
|
-
|
|
777
|
+
dr(s, (t, e) => {
|
|
778
778
|
if (W(s) && ["arguments", "caller", "callee"].indexOf(e) !== -1)
|
|
779
779
|
return !1;
|
|
780
780
|
const r = s[e];
|
|
@@ -796,11 +796,11 @@ const Zo = (s, t, e, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
|
|
|
796
796
|
};
|
|
797
797
|
return wt(s) ? r(s) : r(String(s).split(t)), e;
|
|
798
798
|
}, di = () => {
|
|
799
|
-
}, fi = (s, t) => s != null && Number.isFinite(s = +s) ? s : t, ys = "abcdefghijklmnopqrstuvwxyz",
|
|
800
|
-
DIGIT:
|
|
799
|
+
}, fi = (s, t) => s != null && Number.isFinite(s = +s) ? s : t, ys = "abcdefghijklmnopqrstuvwxyz", Re = "0123456789", fr = {
|
|
800
|
+
DIGIT: Re,
|
|
801
801
|
ALPHA: ys,
|
|
802
|
-
ALPHA_DIGIT: ys + ys.toUpperCase() +
|
|
803
|
-
}, hi = (s = 16, t =
|
|
802
|
+
ALPHA_DIGIT: ys + ys.toUpperCase() + Re
|
|
803
|
+
}, hi = (s = 16, t = fr.ALPHA_DIGIT) => {
|
|
804
804
|
let e = "";
|
|
805
805
|
const { length: r } = t;
|
|
806
806
|
for (; s--; )
|
|
@@ -827,21 +827,21 @@ const xi = (s) => {
|
|
|
827
827
|
return r;
|
|
828
828
|
};
|
|
829
829
|
return e(s, 0);
|
|
830
|
-
}, Si = Z("AsyncFunction"), yi = (s) => s && (ts(s) || W(s)) && W(s.then) && W(s.catch),
|
|
830
|
+
}, Si = Z("AsyncFunction"), yi = (s) => s && (ts(s) || W(s)) && W(s.then) && W(s.catch), hr = ((s, t) => s ? setImmediate : t ? ((e, r) => (dt.addEventListener("message", ({ source: o, data: i }) => {
|
|
831
831
|
o === dt && i === e && r.length && r.shift()();
|
|
832
832
|
}, !1), (o) => {
|
|
833
833
|
r.push(o), dt.postMessage(e, "*");
|
|
834
834
|
}))(`axios@${Math.random()}`, []) : (e) => setTimeout(e))(
|
|
835
835
|
typeof setImmediate == "function",
|
|
836
836
|
W(dt.postMessage)
|
|
837
|
-
), bi = typeof queueMicrotask < "u" ? queueMicrotask.bind(dt) : typeof process < "u" && process.nextTick ||
|
|
837
|
+
), bi = typeof queueMicrotask < "u" ? queueMicrotask.bind(dt) : typeof process < "u" && process.nextTick || hr, m = {
|
|
838
838
|
isArray: wt,
|
|
839
|
-
isArrayBuffer:
|
|
840
|
-
isBuffer:
|
|
839
|
+
isArrayBuffer: lr,
|
|
840
|
+
isBuffer: Bo,
|
|
841
841
|
isFormData: Go,
|
|
842
842
|
isArrayBufferView: Mo,
|
|
843
843
|
isString: jo,
|
|
844
|
-
isNumber:
|
|
844
|
+
isNumber: ur,
|
|
845
845
|
isBoolean: Ho,
|
|
846
846
|
isObject: ts,
|
|
847
847
|
isPlainObject: Gt,
|
|
@@ -873,25 +873,25 @@ const xi = (s) => {
|
|
|
873
873
|
forEachEntry: ni,
|
|
874
874
|
matchAll: ai,
|
|
875
875
|
isHTMLForm: ci,
|
|
876
|
-
hasOwnProperty:
|
|
877
|
-
hasOwnProp:
|
|
876
|
+
hasOwnProperty: Pe,
|
|
877
|
+
hasOwnProp: Pe,
|
|
878
878
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
879
|
-
reduceDescriptors:
|
|
879
|
+
reduceDescriptors: dr,
|
|
880
880
|
freezeMethods: pi,
|
|
881
881
|
toObjectSet: mi,
|
|
882
882
|
toCamelCase: li,
|
|
883
883
|
noop: di,
|
|
884
884
|
toFiniteNumber: fi,
|
|
885
|
-
findKey:
|
|
885
|
+
findKey: pr,
|
|
886
886
|
global: dt,
|
|
887
|
-
isContextDefined:
|
|
888
|
-
ALPHABET:
|
|
887
|
+
isContextDefined: mr,
|
|
888
|
+
ALPHABET: fr,
|
|
889
889
|
generateString: hi,
|
|
890
890
|
isSpecCompliantForm: gi,
|
|
891
891
|
toJSONObject: xi,
|
|
892
892
|
isAsyncFn: Si,
|
|
893
893
|
isThenable: yi,
|
|
894
|
-
setImmediate:
|
|
894
|
+
setImmediate: hr,
|
|
895
895
|
asap: bi
|
|
896
896
|
};
|
|
897
897
|
function E(s, t, e, r, o) {
|
|
@@ -918,7 +918,7 @@ m.inherits(E, Error, {
|
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
920
|
});
|
|
921
|
-
const
|
|
921
|
+
const gr = E.prototype, xr = {};
|
|
922
922
|
[
|
|
923
923
|
"ERR_BAD_OPTION_VALUE",
|
|
924
924
|
"ERR_BAD_OPTION",
|
|
@@ -934,12 +934,12 @@ const xr = E.prototype, Sr = {};
|
|
|
934
934
|
"ERR_INVALID_URL"
|
|
935
935
|
// eslint-disable-next-line func-names
|
|
936
936
|
].forEach((s) => {
|
|
937
|
-
|
|
937
|
+
xr[s] = { value: s };
|
|
938
938
|
});
|
|
939
|
-
Object.defineProperties(E,
|
|
940
|
-
Object.defineProperty(
|
|
939
|
+
Object.defineProperties(E, xr);
|
|
940
|
+
Object.defineProperty(gr, "isAxiosError", { value: !0 });
|
|
941
941
|
E.from = (s, t, e, r, o, i) => {
|
|
942
|
-
const n = Object.create(
|
|
942
|
+
const n = Object.create(gr);
|
|
943
943
|
return m.toFlatObject(s, n, function(u) {
|
|
944
944
|
return u !== Error.prototype;
|
|
945
945
|
}, (a) => a !== "isAxiosError"), E.call(n, s.message, t, e, r, o), n.cause = s, n.name = s.name, i && Object.assign(n, i), n;
|
|
@@ -948,12 +948,12 @@ const vi = null;
|
|
|
948
948
|
function As(s) {
|
|
949
949
|
return m.isPlainObject(s) || m.isArray(s);
|
|
950
950
|
}
|
|
951
|
-
function
|
|
951
|
+
function Sr(s) {
|
|
952
952
|
return m.endsWith(s, "[]") ? s.slice(0, -2) : s;
|
|
953
953
|
}
|
|
954
|
-
function
|
|
954
|
+
function ke(s, t, e) {
|
|
955
955
|
return s ? s.concat(t).map(function(o, i) {
|
|
956
|
-
return o =
|
|
956
|
+
return o = Sr(o), !e && i ? "[" + o + "]" : o;
|
|
957
957
|
}).join(e ? "." : "") : t;
|
|
958
958
|
}
|
|
959
959
|
function wi(s) {
|
|
@@ -989,15 +989,15 @@ function ss(s, t, e) {
|
|
|
989
989
|
if (m.endsWith(f, "{}"))
|
|
990
990
|
f = r ? f : f.slice(0, -2), g = JSON.stringify(g);
|
|
991
991
|
else if (m.isArray(g) && wi(g) || (m.isFileList(g) || m.endsWith(f, "[]")) && (C = m.toArray(g)))
|
|
992
|
-
return f =
|
|
992
|
+
return f = Sr(f), C.forEach(function(T, A) {
|
|
993
993
|
!(m.isUndefined(T) || T === null) && t.append(
|
|
994
994
|
// eslint-disable-next-line no-nested-ternary
|
|
995
|
-
n === !0 ?
|
|
995
|
+
n === !0 ? ke([f], A, i) : n === null ? f : f + "[]",
|
|
996
996
|
l(T)
|
|
997
997
|
);
|
|
998
998
|
}), !1;
|
|
999
999
|
}
|
|
1000
|
-
return As(g) ? !0 : (t.append(
|
|
1000
|
+
return As(g) ? !0 : (t.append(ke(S, f, i), l(g)), !1);
|
|
1001
1001
|
}
|
|
1002
1002
|
const d = [], b = Object.assign(Ci, {
|
|
1003
1003
|
defaultVisitor: p,
|
|
@@ -1023,7 +1023,7 @@ function ss(s, t, e) {
|
|
|
1023
1023
|
throw new TypeError("data must be an object");
|
|
1024
1024
|
return y(s), t;
|
|
1025
1025
|
}
|
|
1026
|
-
function
|
|
1026
|
+
function Ie(s) {
|
|
1027
1027
|
const t = {
|
|
1028
1028
|
"!": "%21",
|
|
1029
1029
|
"'": "%27",
|
|
@@ -1037,17 +1037,17 @@ function Ae(s) {
|
|
|
1037
1037
|
return t[r];
|
|
1038
1038
|
});
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function Xs(s, t) {
|
|
1041
1041
|
this._pairs = [], s && ss(s, this, t);
|
|
1042
1042
|
}
|
|
1043
|
-
const
|
|
1044
|
-
|
|
1043
|
+
const yr = Xs.prototype;
|
|
1044
|
+
yr.append = function(t, e) {
|
|
1045
1045
|
this._pairs.push([t, e]);
|
|
1046
1046
|
};
|
|
1047
|
-
|
|
1047
|
+
yr.toString = function(t) {
|
|
1048
1048
|
const e = t ? function(r) {
|
|
1049
|
-
return t.call(this, r,
|
|
1050
|
-
} :
|
|
1049
|
+
return t.call(this, r, Ie);
|
|
1050
|
+
} : Ie;
|
|
1051
1051
|
return this._pairs.map(function(o) {
|
|
1052
1052
|
return e(o[0]) + "=" + e(o[1]);
|
|
1053
1053
|
}, "").join("&");
|
|
@@ -1055,18 +1055,18 @@ br.toString = function(t) {
|
|
|
1055
1055
|
function Ti(s) {
|
|
1056
1056
|
return encodeURIComponent(s).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function br(s, t, e) {
|
|
1059
1059
|
if (!t)
|
|
1060
1060
|
return s;
|
|
1061
1061
|
const r = e && e.encode || Ti, o = e && e.serialize;
|
|
1062
1062
|
let i;
|
|
1063
|
-
if (o ? i = o(t, e) : i = m.isURLSearchParams(t) ? t.toString() : new
|
|
1063
|
+
if (o ? i = o(t, e) : i = m.isURLSearchParams(t) ? t.toString() : new Xs(t, e).toString(r), i) {
|
|
1064
1064
|
const n = s.indexOf("#");
|
|
1065
1065
|
n !== -1 && (s = s.slice(0, n)), s += (s.indexOf("?") === -1 ? "?" : "&") + i;
|
|
1066
1066
|
}
|
|
1067
1067
|
return s;
|
|
1068
1068
|
}
|
|
1069
|
-
class
|
|
1069
|
+
class Ae {
|
|
1070
1070
|
constructor() {
|
|
1071
1071
|
this.handlers = [];
|
|
1072
1072
|
}
|
|
@@ -1120,11 +1120,11 @@ class Ne {
|
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
1122
|
}
|
|
1123
|
-
const
|
|
1123
|
+
const vr = {
|
|
1124
1124
|
silentJSONParsing: !0,
|
|
1125
1125
|
forcedJSONParsing: !0,
|
|
1126
1126
|
clarifyTimeoutError: !1
|
|
1127
|
-
}, Di = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
1127
|
+
}, Di = typeof URLSearchParams < "u" ? URLSearchParams : Xs, Ei = typeof FormData < "u" ? FormData : null, Oi = typeof Blob < "u" ? Blob : null, _i = {
|
|
1128
1128
|
isBrowser: !0,
|
|
1129
1129
|
classes: {
|
|
1130
1130
|
URLSearchParams: Di,
|
|
@@ -1132,10 +1132,10 @@ const wr = {
|
|
|
1132
1132
|
Blob: Oi
|
|
1133
1133
|
},
|
|
1134
1134
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
1135
|
-
},
|
|
1136
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ki =
|
|
1135
|
+
}, Ys = typeof window < "u" && typeof document < "u", Ns = typeof navigator == "object" && navigator || void 0, Pi = Ys && (!Ns || ["ReactNative", "NativeScript", "NS"].indexOf(Ns.product) < 0), Ri = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
1136
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ki = Ys && window.location.href || "http://localhost", Ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1137
1137
|
__proto__: null,
|
|
1138
|
-
hasBrowserEnv:
|
|
1138
|
+
hasBrowserEnv: Ys,
|
|
1139
1139
|
hasStandardBrowserEnv: Pi,
|
|
1140
1140
|
hasStandardBrowserWebWorkerEnv: Ri,
|
|
1141
1141
|
navigator: Ns,
|
|
@@ -1163,7 +1163,7 @@ function Li(s) {
|
|
|
1163
1163
|
i = e[r], t[i] = s[i];
|
|
1164
1164
|
return t;
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function wr(s) {
|
|
1167
1167
|
function t(e, r, o, i) {
|
|
1168
1168
|
let n = e[i++];
|
|
1169
1169
|
if (n === "__proto__") return !0;
|
|
@@ -1178,7 +1178,7 @@ function Cr(s) {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
return null;
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function Fi(s, t, e) {
|
|
1182
1182
|
if (m.isString(s))
|
|
1183
1183
|
try {
|
|
1184
1184
|
return (t || JSON.parse)(s), m.trim(s);
|
|
@@ -1188,13 +1188,13 @@ function Bi(s, t, e) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
return (0, JSON.stringify)(s);
|
|
1190
1190
|
}
|
|
1191
|
-
const
|
|
1192
|
-
transitional:
|
|
1191
|
+
const Ft = {
|
|
1192
|
+
transitional: vr,
|
|
1193
1193
|
adapter: ["xhr", "http", "fetch"],
|
|
1194
1194
|
transformRequest: [function(t, e) {
|
|
1195
1195
|
const r = e.getContentType() || "", o = r.indexOf("application/json") > -1, i = m.isObject(t);
|
|
1196
1196
|
if (i && m.isHTMLForm(t) && (t = new FormData(t)), m.isFormData(t))
|
|
1197
|
-
return o ? JSON.stringify(
|
|
1197
|
+
return o ? JSON.stringify(wr(t)) : t;
|
|
1198
1198
|
if (m.isArrayBuffer(t) || m.isBuffer(t) || m.isStream(t) || m.isFile(t) || m.isBlob(t) || m.isReadableStream(t))
|
|
1199
1199
|
return t;
|
|
1200
1200
|
if (m.isArrayBufferView(t))
|
|
@@ -1214,10 +1214,10 @@ const Bt = {
|
|
|
1214
1214
|
);
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
|
-
return i || o ? (e.setContentType("application/json", !1),
|
|
1217
|
+
return i || o ? (e.setContentType("application/json", !1), Fi(t)) : t;
|
|
1218
1218
|
}],
|
|
1219
1219
|
transformResponse: [function(t) {
|
|
1220
|
-
const e = this.transitional ||
|
|
1220
|
+
const e = this.transitional || Ft.transitional, r = e && e.forcedJSONParsing, o = this.responseType === "json";
|
|
1221
1221
|
if (m.isResponse(t) || m.isReadableStream(t))
|
|
1222
1222
|
return t;
|
|
1223
1223
|
if (t && m.isString(t) && (r && !this.responseType || o)) {
|
|
@@ -1255,9 +1255,9 @@ const Bt = {
|
|
|
1255
1255
|
}
|
|
1256
1256
|
};
|
|
1257
1257
|
m.forEach(["delete", "get", "head", "post", "put", "patch"], (s) => {
|
|
1258
|
-
|
|
1258
|
+
Ft.headers[s] = {};
|
|
1259
1259
|
});
|
|
1260
|
-
const
|
|
1260
|
+
const Bi = m.toObjectSet([
|
|
1261
1261
|
"age",
|
|
1262
1262
|
"authorization",
|
|
1263
1263
|
"content-length",
|
|
@@ -1280,9 +1280,9 @@ const Fi = m.toObjectSet([
|
|
|
1280
1280
|
let e, r, o;
|
|
1281
1281
|
return s && s.split(`
|
|
1282
1282
|
`).forEach(function(n) {
|
|
1283
|
-
o = n.indexOf(":"), e = n.substring(0, o).trim().toLowerCase(), r = n.substring(o + 1).trim(), !(!e || t[e] &&
|
|
1283
|
+
o = n.indexOf(":"), e = n.substring(0, o).trim().toLowerCase(), r = n.substring(o + 1).trim(), !(!e || t[e] && Bi[e]) && (e === "set-cookie" ? t[e] ? t[e].push(r) : t[e] = [r] : t[e] = t[e] ? t[e] + ", " + r : r);
|
|
1284
1284
|
}), t;
|
|
1285
|
-
},
|
|
1285
|
+
}, Ne = Symbol("internals");
|
|
1286
1286
|
function Rt(s) {
|
|
1287
1287
|
return s && String(s).trim().toLowerCase();
|
|
1288
1288
|
}
|
|
@@ -1429,7 +1429,7 @@ class V {
|
|
|
1429
1429
|
return e.forEach((o) => r.set(o)), r;
|
|
1430
1430
|
}
|
|
1431
1431
|
static accessor(t) {
|
|
1432
|
-
const r = (this[
|
|
1432
|
+
const r = (this[Ne] = this[Ne] = {
|
|
1433
1433
|
accessors: {}
|
|
1434
1434
|
}).accessors, o = this.prototype;
|
|
1435
1435
|
function i(n) {
|
|
@@ -1451,13 +1451,13 @@ m.reduceDescriptors(V.prototype, ({ value: s }, t) => {
|
|
|
1451
1451
|
});
|
|
1452
1452
|
m.freezeMethods(V);
|
|
1453
1453
|
function vs(s, t) {
|
|
1454
|
-
const e = this ||
|
|
1454
|
+
const e = this || Ft, r = t || e, o = V.from(r.headers);
|
|
1455
1455
|
let i = r.data;
|
|
1456
1456
|
return m.forEach(s, function(a) {
|
|
1457
1457
|
i = a.call(e, i, o.normalize(), t ? t.status : void 0);
|
|
1458
1458
|
}), o.normalize(), i;
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1460
|
+
function Cr(s) {
|
|
1461
1461
|
return !!(s && s.__CANCEL__);
|
|
1462
1462
|
}
|
|
1463
1463
|
function Ct(s, t, e) {
|
|
@@ -1466,7 +1466,7 @@ function Ct(s, t, e) {
|
|
|
1466
1466
|
m.inherits(Ct, E, {
|
|
1467
1467
|
__CANCEL__: !0
|
|
1468
1468
|
});
|
|
1469
|
-
function
|
|
1469
|
+
function Tr(s, t, e) {
|
|
1470
1470
|
const r = e.config.validateStatus;
|
|
1471
1471
|
!e.status || !r || r(e.status) ? s(e) : t(new E(
|
|
1472
1472
|
"Request failed with status code " + e.status,
|
|
@@ -1527,7 +1527,7 @@ const Yt = (s, t, e = 3) => {
|
|
|
1527
1527
|
};
|
|
1528
1528
|
s(d);
|
|
1529
1529
|
}, e);
|
|
1530
|
-
},
|
|
1530
|
+
}, Le = (s, t) => {
|
|
1531
1531
|
const e = s != null;
|
|
1532
1532
|
return [(r) => t[0]({
|
|
1533
1533
|
lengthComputable: e,
|
|
@@ -1598,10 +1598,10 @@ function Xi(s) {
|
|
|
1598
1598
|
function Yi(s, t) {
|
|
1599
1599
|
return t ? s.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : s;
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function Dr(s, t) {
|
|
1602
1602
|
return s && !Xi(t) ? Yi(s, t) : t;
|
|
1603
1603
|
}
|
|
1604
|
-
const
|
|
1604
|
+
const Be = (s) => s instanceof V ? { ...s } : s;
|
|
1605
1605
|
function ht(s, t) {
|
|
1606
1606
|
t = t || {};
|
|
1607
1607
|
const e = {};
|
|
@@ -1659,17 +1659,17 @@ function ht(s, t) {
|
|
|
1659
1659
|
socketPath: n,
|
|
1660
1660
|
responseEncoding: n,
|
|
1661
1661
|
validateStatus: a,
|
|
1662
|
-
headers: (l, p) => o(
|
|
1662
|
+
headers: (l, p) => o(Be(l), Be(p), !0)
|
|
1663
1663
|
};
|
|
1664
1664
|
return m.forEach(Object.keys(Object.assign({}, s, t)), function(p) {
|
|
1665
1665
|
const d = u[p] || o, b = d(s[p], t[p], p);
|
|
1666
1666
|
m.isUndefined(b) && d !== a || (e[p] = b);
|
|
1667
1667
|
}), e;
|
|
1668
1668
|
}
|
|
1669
|
-
const
|
|
1669
|
+
const Er = (s) => {
|
|
1670
1670
|
const t = ht({}, s);
|
|
1671
1671
|
let { data: e, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: i, headers: n, auth: a } = t;
|
|
1672
|
-
t.headers = n = V.from(n), t.url =
|
|
1672
|
+
t.headers = n = V.from(n), t.url = br(Dr(t.baseURL, t.url), s.params, s.paramsSerializer), a && n.set(
|
|
1673
1673
|
"Authorization",
|
|
1674
1674
|
"Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
|
|
1675
1675
|
);
|
|
@@ -1689,7 +1689,7 @@ const Or = (s) => {
|
|
|
1689
1689
|
return t;
|
|
1690
1690
|
}, Ji = typeof XMLHttpRequest < "u", Ki = Ji && function(s) {
|
|
1691
1691
|
return new Promise(function(e, r) {
|
|
1692
|
-
const o =
|
|
1692
|
+
const o = Er(s);
|
|
1693
1693
|
let i = o.data;
|
|
1694
1694
|
const n = V.from(o.headers).normalize();
|
|
1695
1695
|
let { responseType: a, onUploadProgress: u, onDownloadProgress: l } = o, p, d, b, y, g;
|
|
@@ -1711,7 +1711,7 @@ const Or = (s) => {
|
|
|
1711
1711
|
config: s,
|
|
1712
1712
|
request: S
|
|
1713
1713
|
};
|
|
1714
|
-
|
|
1714
|
+
Tr(function(Q) {
|
|
1715
1715
|
e(Q), f();
|
|
1716
1716
|
}, function(Q) {
|
|
1717
1717
|
r(Q), f();
|
|
@@ -1725,7 +1725,7 @@ const Or = (s) => {
|
|
|
1725
1725
|
r(new E("Network Error", E.ERR_NETWORK, s, S)), S = null;
|
|
1726
1726
|
}, S.ontimeout = function() {
|
|
1727
1727
|
let A = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
1728
|
-
const L = o.transitional ||
|
|
1728
|
+
const L = o.transitional || vr;
|
|
1729
1729
|
o.timeoutErrorMessage && (A = o.timeoutErrorMessage), r(new E(
|
|
1730
1730
|
A,
|
|
1731
1731
|
L.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
|
|
@@ -1795,7 +1795,7 @@ const Or = (s) => {
|
|
|
1795
1795
|
} finally {
|
|
1796
1796
|
await t.cancel();
|
|
1797
1797
|
}
|
|
1798
|
-
},
|
|
1798
|
+
}, Me = (s, t, e, r) => {
|
|
1799
1799
|
const o = tn(s, t);
|
|
1800
1800
|
let i = 0, n, a = (u) => {
|
|
1801
1801
|
n || (n = !0, r && r(u));
|
|
@@ -1824,13 +1824,13 @@ const Or = (s) => {
|
|
|
1824
1824
|
}, {
|
|
1825
1825
|
highWaterMark: 2
|
|
1826
1826
|
});
|
|
1827
|
-
}, es = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function",
|
|
1827
|
+
}, es = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Or = es && typeof ReadableStream == "function", en = es && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((s) => (t) => s.encode(t))(new TextEncoder()) : async (s) => new Uint8Array(await new Response(s).arrayBuffer())), _r = (s, ...t) => {
|
|
1828
1828
|
try {
|
|
1829
1829
|
return !!s(...t);
|
|
1830
1830
|
} catch {
|
|
1831
1831
|
return !1;
|
|
1832
1832
|
}
|
|
1833
|
-
}, rn =
|
|
1833
|
+
}, rn = Or && _r(() => {
|
|
1834
1834
|
let s = !1;
|
|
1835
1835
|
const t = new Request($.origin, {
|
|
1836
1836
|
body: new ReadableStream(),
|
|
@@ -1840,7 +1840,7 @@ const Or = (s) => {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
}).headers.has("Content-Type");
|
|
1842
1842
|
return s && !t;
|
|
1843
|
-
}),
|
|
1843
|
+
}), je = 64 * 1024, Ls = Or && _r(() => m.isReadableStream(new Response("").body)), Jt = {
|
|
1844
1844
|
stream: Ls && ((s) => s.body)
|
|
1845
1845
|
};
|
|
1846
1846
|
es && ((s) => {
|
|
@@ -1881,7 +1881,7 @@ const on = async (s) => {
|
|
|
1881
1881
|
headers: p,
|
|
1882
1882
|
withCredentials: d = "same-origin",
|
|
1883
1883
|
fetchOptions: b
|
|
1884
|
-
} =
|
|
1884
|
+
} = Er(s);
|
|
1885
1885
|
l = l ? (l + "").toLowerCase() : "text";
|
|
1886
1886
|
let y = Qi([o, i && i.toAbortSignal()], n), g;
|
|
1887
1887
|
const f = y && y.unsubscribe && (() => {
|
|
@@ -1896,11 +1896,11 @@ const on = async (s) => {
|
|
|
1896
1896
|
duplex: "half"
|
|
1897
1897
|
}), j;
|
|
1898
1898
|
if (m.isFormData(r) && (j = L.headers.get("content-type")) && p.setContentType(j), L.body) {
|
|
1899
|
-
const [Q, it] =
|
|
1899
|
+
const [Q, it] = Le(
|
|
1900
1900
|
S,
|
|
1901
1901
|
Yt(Fe(u))
|
|
1902
1902
|
);
|
|
1903
|
-
r =
|
|
1903
|
+
r = Me(L.body, je, Q, it);
|
|
1904
1904
|
}
|
|
1905
1905
|
}
|
|
1906
1906
|
m.isString(d) || (d = d ? "include" : "omit");
|
|
@@ -1921,12 +1921,12 @@ const on = async (s) => {
|
|
|
1921
1921
|
["status", "statusText", "headers"].forEach((ct) => {
|
|
1922
1922
|
L[ct] = v[ct];
|
|
1923
1923
|
});
|
|
1924
|
-
const j = m.toFiniteNumber(v.headers.get("content-length")), [Q, it] = a &&
|
|
1924
|
+
const j = m.toFiniteNumber(v.headers.get("content-length")), [Q, it] = a && Le(
|
|
1925
1925
|
j,
|
|
1926
1926
|
Yt(Fe(a), !0)
|
|
1927
1927
|
) || [];
|
|
1928
1928
|
v = new Response(
|
|
1929
|
-
|
|
1929
|
+
Me(v.body, je, Q, () => {
|
|
1930
1930
|
it && it(), f && f();
|
|
1931
1931
|
}),
|
|
1932
1932
|
L
|
|
@@ -1935,7 +1935,7 @@ const on = async (s) => {
|
|
|
1935
1935
|
l = l || "text";
|
|
1936
1936
|
let A = await Jt[m.findKey(Jt, l) || "text"](v, s);
|
|
1937
1937
|
return !T && f && f(), await new Promise((L, j) => {
|
|
1938
|
-
|
|
1938
|
+
Tr(L, j, {
|
|
1939
1939
|
data: A,
|
|
1940
1940
|
headers: V.from(v.headers),
|
|
1941
1941
|
status: v.status,
|
|
@@ -1952,12 +1952,12 @@ const on = async (s) => {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
) : E.from(C, C && C.code, s, g);
|
|
1954
1954
|
}
|
|
1955
|
-
}),
|
|
1955
|
+
}), Fs = {
|
|
1956
1956
|
http: vi,
|
|
1957
1957
|
xhr: Ki,
|
|
1958
1958
|
fetch: an
|
|
1959
1959
|
};
|
|
1960
|
-
m.forEach(
|
|
1960
|
+
m.forEach(Fs, (s, t) => {
|
|
1961
1961
|
if (s) {
|
|
1962
1962
|
try {
|
|
1963
1963
|
Object.defineProperty(s, "name", { value: t });
|
|
@@ -1966,7 +1966,7 @@ m.forEach(Bs, (s, t) => {
|
|
|
1966
1966
|
Object.defineProperty(s, "adapterName", { value: t });
|
|
1967
1967
|
}
|
|
1968
1968
|
});
|
|
1969
|
-
const
|
|
1969
|
+
const He = (s) => `- ${s}`, cn = (s) => m.isFunction(s) || s === null || s === !1, Pr = {
|
|
1970
1970
|
getAdapter: (s) => {
|
|
1971
1971
|
s = m.isArray(s) ? s : [s];
|
|
1972
1972
|
const { length: t } = s;
|
|
@@ -1975,7 +1975,7 @@ const Ue = (s) => `- ${s}`, cn = (s) => m.isFunction(s) || s === null || s === !
|
|
|
1975
1975
|
for (let i = 0; i < t; i++) {
|
|
1976
1976
|
e = s[i];
|
|
1977
1977
|
let n;
|
|
1978
|
-
if (r = e, !cn(e) && (r =
|
|
1978
|
+
if (r = e, !cn(e) && (r = Fs[(n = String(e)).toLowerCase()], r === void 0))
|
|
1979
1979
|
throw new E(`Unknown adapter '${n}'`);
|
|
1980
1980
|
if (r)
|
|
1981
1981
|
break;
|
|
@@ -1986,8 +1986,8 @@ const Ue = (s) => `- ${s}`, cn = (s) => m.isFunction(s) || s === null || s === !
|
|
|
1986
1986
|
([a, u]) => `adapter ${a} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1987
1987
|
);
|
|
1988
1988
|
let n = t ? i.length > 1 ? `since :
|
|
1989
|
-
` + i.map(
|
|
1990
|
-
`) : " " +
|
|
1989
|
+
` + i.map(He).join(`
|
|
1990
|
+
`) : " " + He(i[0]) : "as no adapter specified";
|
|
1991
1991
|
throw new E(
|
|
1992
1992
|
"There is no suitable adapter to dispatch the request " + n,
|
|
1993
1993
|
"ERR_NOT_SUPPORT"
|
|
@@ -1995,40 +1995,40 @@ const Ue = (s) => `- ${s}`, cn = (s) => m.isFunction(s) || s === null || s === !
|
|
|
1995
1995
|
}
|
|
1996
1996
|
return r;
|
|
1997
1997
|
},
|
|
1998
|
-
adapters:
|
|
1998
|
+
adapters: Fs
|
|
1999
1999
|
};
|
|
2000
2000
|
function ws(s) {
|
|
2001
2001
|
if (s.cancelToken && s.cancelToken.throwIfRequested(), s.signal && s.signal.aborted)
|
|
2002
2002
|
throw new Ct(null, s);
|
|
2003
2003
|
}
|
|
2004
|
-
function
|
|
2004
|
+
function Ue(s) {
|
|
2005
2005
|
return ws(s), s.headers = V.from(s.headers), s.data = vs.call(
|
|
2006
2006
|
s,
|
|
2007
2007
|
s.transformRequest
|
|
2008
|
-
), ["post", "put", "patch"].indexOf(s.method) !== -1 && s.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
2008
|
+
), ["post", "put", "patch"].indexOf(s.method) !== -1 && s.headers.setContentType("application/x-www-form-urlencoded", !1), Pr.getAdapter(s.adapter || Ft.adapter)(s).then(function(r) {
|
|
2009
2009
|
return ws(s), r.data = vs.call(
|
|
2010
2010
|
s,
|
|
2011
2011
|
s.transformResponse,
|
|
2012
2012
|
r
|
|
2013
2013
|
), r.headers = V.from(r.headers), r;
|
|
2014
2014
|
}, function(r) {
|
|
2015
|
-
return
|
|
2015
|
+
return Cr(r) || (ws(s), r && r.response && (r.response.data = vs.call(
|
|
2016
2016
|
s,
|
|
2017
2017
|
s.transformResponse,
|
|
2018
2018
|
r.response
|
|
2019
2019
|
), r.response.headers = V.from(r.response.headers))), Promise.reject(r);
|
|
2020
2020
|
});
|
|
2021
2021
|
}
|
|
2022
|
-
const
|
|
2022
|
+
const Rr = "1.7.7", Js = {};
|
|
2023
2023
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((s, t) => {
|
|
2024
|
-
|
|
2024
|
+
Js[s] = function(r) {
|
|
2025
2025
|
return typeof r === s || "a" + (t < 1 ? "n " : " ") + s;
|
|
2026
2026
|
};
|
|
2027
2027
|
});
|
|
2028
|
-
const
|
|
2029
|
-
|
|
2028
|
+
const qe = {};
|
|
2029
|
+
Js.transitional = function(t, e, r) {
|
|
2030
2030
|
function o(i, n) {
|
|
2031
|
-
return "[Axios v" +
|
|
2031
|
+
return "[Axios v" + Rr + "] Transitional option '" + i + "'" + n + (r ? ". " + r : "");
|
|
2032
2032
|
}
|
|
2033
2033
|
return (i, n, a) => {
|
|
2034
2034
|
if (t === !1)
|
|
@@ -2036,7 +2036,7 @@ Ks.transitional = function(t, e, r) {
|
|
|
2036
2036
|
o(n, " has been removed" + (e ? " in " + e : "")),
|
|
2037
2037
|
E.ERR_DEPRECATED
|
|
2038
2038
|
);
|
|
2039
|
-
return e &&
|
|
2039
|
+
return e && !qe[n] && (qe[n] = !0, console.warn(
|
|
2040
2040
|
o(
|
|
2041
2041
|
n,
|
|
2042
2042
|
" has been deprecated since v" + e + " and will be removed in the near future"
|
|
@@ -2061,15 +2061,15 @@ function ln(s, t, e) {
|
|
|
2061
2061
|
throw new E("Unknown option " + i, E.ERR_BAD_OPTION);
|
|
2062
2062
|
}
|
|
2063
2063
|
}
|
|
2064
|
-
const
|
|
2064
|
+
const Bs = {
|
|
2065
2065
|
assertOptions: ln,
|
|
2066
|
-
validators:
|
|
2067
|
-
}, at =
|
|
2066
|
+
validators: Js
|
|
2067
|
+
}, at = Bs.validators;
|
|
2068
2068
|
class ft {
|
|
2069
2069
|
constructor(t) {
|
|
2070
2070
|
this.defaults = t, this.interceptors = {
|
|
2071
|
-
request: new
|
|
2072
|
-
response: new
|
|
2071
|
+
request: new Ae(),
|
|
2072
|
+
response: new Ae()
|
|
2073
2073
|
};
|
|
2074
2074
|
}
|
|
2075
2075
|
/**
|
|
@@ -2100,13 +2100,13 @@ class ft {
|
|
|
2100
2100
|
_request(t, e) {
|
|
2101
2101
|
typeof t == "string" ? (e = e || {}, e.url = t) : e = t || {}, e = ht(this.defaults, e);
|
|
2102
2102
|
const { transitional: r, paramsSerializer: o, headers: i } = e;
|
|
2103
|
-
r !== void 0 &&
|
|
2103
|
+
r !== void 0 && Bs.assertOptions(r, {
|
|
2104
2104
|
silentJSONParsing: at.transitional(at.boolean),
|
|
2105
2105
|
forcedJSONParsing: at.transitional(at.boolean),
|
|
2106
2106
|
clarifyTimeoutError: at.transitional(at.boolean)
|
|
2107
2107
|
}, !1), o != null && (m.isFunction(o) ? e.paramsSerializer = {
|
|
2108
2108
|
serialize: o
|
|
2109
|
-
} :
|
|
2109
|
+
} : Bs.assertOptions(o, {
|
|
2110
2110
|
encode: at.function,
|
|
2111
2111
|
serialize: at.function
|
|
2112
2112
|
}, !0)), e.method = (e.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -2131,7 +2131,7 @@ class ft {
|
|
|
2131
2131
|
});
|
|
2132
2132
|
let p, d = 0, b;
|
|
2133
2133
|
if (!u) {
|
|
2134
|
-
const g = [
|
|
2134
|
+
const g = [Ue.bind(this), void 0];
|
|
2135
2135
|
for (g.unshift.apply(g, a), g.push.apply(g, l), b = g.length, p = Promise.resolve(e); d < b; )
|
|
2136
2136
|
p = p.then(g[d++], g[d++]);
|
|
2137
2137
|
return p;
|
|
@@ -2148,7 +2148,7 @@ class ft {
|
|
|
2148
2148
|
}
|
|
2149
2149
|
}
|
|
2150
2150
|
try {
|
|
2151
|
-
p =
|
|
2151
|
+
p = Ue.call(this, y);
|
|
2152
2152
|
} catch (g) {
|
|
2153
2153
|
return Promise.reject(g);
|
|
2154
2154
|
}
|
|
@@ -2158,8 +2158,8 @@ class ft {
|
|
|
2158
2158
|
}
|
|
2159
2159
|
getUri(t) {
|
|
2160
2160
|
t = ht(this.defaults, t);
|
|
2161
|
-
const e =
|
|
2162
|
-
return
|
|
2161
|
+
const e = Dr(t.baseURL, t.url);
|
|
2162
|
+
return br(e, t.params, t.paramsSerializer);
|
|
2163
2163
|
}
|
|
2164
2164
|
}
|
|
2165
2165
|
m.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -2186,7 +2186,7 @@ m.forEach(["post", "put", "patch"], function(t) {
|
|
|
2186
2186
|
}
|
|
2187
2187
|
ft.prototype[t] = e(), ft.prototype[t + "Form"] = e(!0);
|
|
2188
2188
|
});
|
|
2189
|
-
class
|
|
2189
|
+
class Ks {
|
|
2190
2190
|
constructor(t) {
|
|
2191
2191
|
if (typeof t != "function")
|
|
2192
2192
|
throw new TypeError("executor must be a function.");
|
|
@@ -2252,7 +2252,7 @@ class Qs {
|
|
|
2252
2252
|
static source() {
|
|
2253
2253
|
let t;
|
|
2254
2254
|
return {
|
|
2255
|
-
token: new
|
|
2255
|
+
token: new Ks(function(o) {
|
|
2256
2256
|
t = o;
|
|
2257
2257
|
}),
|
|
2258
2258
|
cancel: t
|
|
@@ -2335,41 +2335,41 @@ const Ms = {
|
|
|
2335
2335
|
Object.entries(Ms).forEach(([s, t]) => {
|
|
2336
2336
|
Ms[t] = s;
|
|
2337
2337
|
});
|
|
2338
|
-
function
|
|
2339
|
-
const t = new ft(s), e =
|
|
2338
|
+
function kr(s) {
|
|
2339
|
+
const t = new ft(s), e = cr(ft.prototype.request, t);
|
|
2340
2340
|
return m.extend(e, ft.prototype, t, { allOwnKeys: !0 }), m.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(o) {
|
|
2341
|
-
return
|
|
2341
|
+
return kr(ht(s, o));
|
|
2342
2342
|
}, e;
|
|
2343
2343
|
}
|
|
2344
|
-
const
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2344
|
+
const I = kr(Ft);
|
|
2345
|
+
I.Axios = ft;
|
|
2346
|
+
I.CanceledError = Ct;
|
|
2347
|
+
I.CancelToken = Ks;
|
|
2348
|
+
I.isCancel = Cr;
|
|
2349
|
+
I.VERSION = Rr;
|
|
2350
|
+
I.toFormData = ss;
|
|
2351
|
+
I.AxiosError = E;
|
|
2352
|
+
I.Cancel = I.CanceledError;
|
|
2353
|
+
I.all = function(t) {
|
|
2354
2354
|
return Promise.all(t);
|
|
2355
2355
|
};
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2356
|
+
I.spread = un;
|
|
2357
|
+
I.isAxiosError = pn;
|
|
2358
|
+
I.mergeConfig = ht;
|
|
2359
|
+
I.AxiosHeaders = V;
|
|
2360
|
+
I.formToJSON = (s) => wr(m.isHTMLForm(s) ? new FormData(s) : s);
|
|
2361
|
+
I.getAdapter = Pr.getAdapter;
|
|
2362
|
+
I.HttpStatusCode = Ms;
|
|
2363
|
+
I.default = I;
|
|
2364
2364
|
const Ou = async (s = "get", t, e) => {
|
|
2365
2365
|
const r = localStorage.getItem("shopId") || void 0, o = localStorage.getItem("draftId"), i = `${Kt}/v2/builder/shops/${r}/drafts/${o}/${t}`, n = localStorage.getItem("accessToken") || void 0;
|
|
2366
2366
|
if (s.toUpperCase() === "GET")
|
|
2367
|
-
return (await
|
|
2367
|
+
return (await I.get(i, {
|
|
2368
2368
|
headers: {
|
|
2369
2369
|
Authorization: `Bearer ${n}`
|
|
2370
2370
|
}
|
|
2371
2371
|
})).data;
|
|
2372
|
-
s.toUpperCase() === "POST" && await
|
|
2372
|
+
s.toUpperCase() === "POST" && await I.post(
|
|
2373
2373
|
i,
|
|
2374
2374
|
{
|
|
2375
2375
|
...e
|
|
@@ -2379,7 +2379,7 @@ const Ou = async (s = "get", t, e) => {
|
|
|
2379
2379
|
Authorization: `Bearer ${n}`
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
|
-
), s.toUpperCase() === "PUT" && await
|
|
2382
|
+
), s.toUpperCase() === "PUT" && await I.put(
|
|
2383
2383
|
i,
|
|
2384
2384
|
{
|
|
2385
2385
|
...e
|
|
@@ -2392,14 +2392,14 @@ const Ou = async (s = "get", t, e) => {
|
|
|
2392
2392
|
);
|
|
2393
2393
|
}, mn = async () => {
|
|
2394
2394
|
const s = localStorage.getItem("shopId") || void 0, t = `${Kt}/v1/dash/shops/${s}/images`, e = localStorage.getItem("accessToken") || void 0;
|
|
2395
|
-
return (await
|
|
2395
|
+
return (await I.get(t, {
|
|
2396
2396
|
headers: {
|
|
2397
2397
|
Authorization: `Bearer ${e}`
|
|
2398
2398
|
}
|
|
2399
2399
|
})).data;
|
|
2400
2400
|
}, dn = async (s) => {
|
|
2401
2401
|
const t = localStorage.getItem("shopId") || void 0, e = `${Kt}/v1/dash/shops/${t}/images`, r = localStorage.getItem("accessToken") || void 0;
|
|
2402
|
-
return (await
|
|
2402
|
+
return (await I.post(e, s, {
|
|
2403
2403
|
headers: {
|
|
2404
2404
|
Authorization: `Bearer ${r}`,
|
|
2405
2405
|
"Content-Type": "multipart/form-data"
|
|
@@ -2407,37 +2407,21 @@ const Ou = async (s = "get", t, e) => {
|
|
|
2407
2407
|
})).data;
|
|
2408
2408
|
}, _u = async (s) => {
|
|
2409
2409
|
const t = localStorage.getItem("shopId") || void 0, e = localStorage.getItem("draftId"), r = `${Kt}/v2/builder/shops/${t}/drafts/${e}/pages/${s}`, o = localStorage.getItem("accessToken") || void 0;
|
|
2410
|
-
return (await
|
|
2410
|
+
return (await I.delete(r, {
|
|
2411
2411
|
headers: {
|
|
2412
2412
|
Authorization: `Bearer ${o}`,
|
|
2413
2413
|
"Content-Type": "multipart/form-data"
|
|
2414
2414
|
}
|
|
2415
2415
|
})).data;
|
|
2416
2416
|
}, Pu = async (s) => {
|
|
2417
|
-
const e = `${
|
|
2418
|
-
return (await
|
|
2417
|
+
const t = window.location.hostname, e = `${Lo}/shops/${t}/${s}`, r = localStorage.getItem("accessToken") || void 0;
|
|
2418
|
+
return (await I.get(e, {
|
|
2419
2419
|
headers: {
|
|
2420
2420
|
Authorization: `Bearer ${r}`,
|
|
2421
2421
|
"Content-Type": "multipart/form-data"
|
|
2422
2422
|
}
|
|
2423
2423
|
})).data;
|
|
2424
|
-
},
|
|
2425
|
-
const t = `${zs}/shops/dsada.bgng.io/settings`, e = localStorage.getItem("accessToken") || void 0;
|
|
2426
|
-
return (await k.get(t, {
|
|
2427
|
-
headers: {
|
|
2428
|
-
Authorization: `Bearer ${e}`,
|
|
2429
|
-
"Content-Type": "multipart/form-data"
|
|
2430
|
-
}
|
|
2431
|
-
})).data;
|
|
2432
|
-
}, ku = async () => {
|
|
2433
|
-
const t = `${zs}/shops/dsada.bgng.io/theme`, e = localStorage.getItem("accessToken") || void 0;
|
|
2434
|
-
return (await k.get(t, {
|
|
2435
|
-
headers: {
|
|
2436
|
-
Authorization: `Bearer ${e}`,
|
|
2437
|
-
"Content-Type": "multipart/form-data"
|
|
2438
|
-
}
|
|
2439
|
-
})).data;
|
|
2440
|
-
}, Ve = (s) => {
|
|
2424
|
+
}, $e = (s) => {
|
|
2441
2425
|
let t;
|
|
2442
2426
|
const e = /* @__PURE__ */ new Set(), r = (l, p) => {
|
|
2443
2427
|
const d = typeof l == "function" ? l(t) : l;
|
|
@@ -2447,7 +2431,7 @@ const Ou = async (s = "get", t, e) => {
|
|
|
2447
2431
|
}
|
|
2448
2432
|
}, o = () => t, a = { setState: r, getState: o, getInitialState: () => u, subscribe: (l) => (e.add(l), () => e.delete(l)) }, u = t = s(r, o, a);
|
|
2449
2433
|
return a;
|
|
2450
|
-
}, fn = (s) => s ?
|
|
2434
|
+
}, fn = (s) => s ? $e(s) : $e, hn = (s) => s;
|
|
2451
2435
|
function gn(s, t = hn) {
|
|
2452
2436
|
const e = M.useSyncExternalStore(
|
|
2453
2437
|
s.subscribe,
|
|
@@ -2456,10 +2440,10 @@ function gn(s, t = hn) {
|
|
|
2456
2440
|
);
|
|
2457
2441
|
return M.useDebugValue(e), e;
|
|
2458
2442
|
}
|
|
2459
|
-
const
|
|
2443
|
+
const Ve = (s) => {
|
|
2460
2444
|
const t = fn(s), e = (r) => gn(t, r);
|
|
2461
2445
|
return Object.assign(e, t), e;
|
|
2462
|
-
}, G = (s) => s ?
|
|
2446
|
+
}, G = (s) => s ? Ve(s) : Ve, Ru = G((s) => ({
|
|
2463
2447
|
blocks: null,
|
|
2464
2448
|
setBlocks: (t) => s(() => ({ blocks: t })),
|
|
2465
2449
|
activeBlock: null,
|
|
@@ -2468,7 +2452,7 @@ const We = (s) => {
|
|
|
2468
2452
|
setSourceBlocks: (t) => s(() => ({ sourceBlocks: t })),
|
|
2469
2453
|
currentInstance: null,
|
|
2470
2454
|
setCurrentInstance: (t) => s(() => ({ currentInstance: t }))
|
|
2471
|
-
})),
|
|
2455
|
+
})), ku = G((s) => ({
|
|
2472
2456
|
currentDevice: {
|
|
2473
2457
|
icon: "Desktop",
|
|
2474
2458
|
value: "desktop"
|
|
@@ -2479,8 +2463,8 @@ G((s) => ({
|
|
|
2479
2463
|
pageData: null,
|
|
2480
2464
|
setPageData: (t) => s(() => ({ pageData: t }))
|
|
2481
2465
|
}));
|
|
2482
|
-
const
|
|
2483
|
-
activeBlock:
|
|
2466
|
+
const Iu = G((s) => ({
|
|
2467
|
+
activeBlock: No[0],
|
|
2484
2468
|
setActiveBlock: (t) => s(() => ({ activeBlock: t }))
|
|
2485
2469
|
}));
|
|
2486
2470
|
function xn(s, t) {
|
|
@@ -2625,7 +2609,7 @@ const js = (s) => (t) => {
|
|
|
2625
2609
|
u.delete(f);
|
|
2626
2610
|
})
|
|
2627
2611
|
}, i.skipHydration || g(), y || b;
|
|
2628
|
-
}, rs = Sn,
|
|
2612
|
+
}, rs = Sn, Au = G(
|
|
2629
2613
|
rs(
|
|
2630
2614
|
(s) => ({
|
|
2631
2615
|
onPreview: !1,
|
|
@@ -2655,17 +2639,17 @@ function vn() {
|
|
|
2655
2639
|
return Ut(bn);
|
|
2656
2640
|
}
|
|
2657
2641
|
var wn = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
2658
|
-
const
|
|
2642
|
+
const We = {
|
|
2659
2643
|
randomUUID: wn
|
|
2660
2644
|
};
|
|
2661
2645
|
function Hs(s, t, e) {
|
|
2662
|
-
if (
|
|
2663
|
-
return
|
|
2646
|
+
if (We.randomUUID && !t && !s)
|
|
2647
|
+
return We.randomUUID();
|
|
2664
2648
|
s = s || {};
|
|
2665
2649
|
var r = s.random || (s.rng || vn)();
|
|
2666
2650
|
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, yn(r);
|
|
2667
2651
|
}
|
|
2668
|
-
const
|
|
2652
|
+
const Nu = G(
|
|
2669
2653
|
rs(
|
|
2670
2654
|
(s, t) => ({
|
|
2671
2655
|
header: null,
|
|
@@ -2827,7 +2811,7 @@ const Bu = G(
|
|
|
2827
2811
|
hidePreview: () => {
|
|
2828
2812
|
s({ isPreviewVisible: !1, hoverBlockId: null });
|
|
2829
2813
|
}
|
|
2830
|
-
})),
|
|
2814
|
+
})), Lu = G((s) => ({
|
|
2831
2815
|
activeBlock: null,
|
|
2832
2816
|
setActiveBlock: (t) => s(() => ({ activeBlock: t })),
|
|
2833
2817
|
activeFont: null,
|
|
@@ -2984,7 +2968,7 @@ const Bu = G(
|
|
|
2984
2968
|
}
|
|
2985
2969
|
}
|
|
2986
2970
|
}))
|
|
2987
|
-
})),
|
|
2971
|
+
})), Fu = G(
|
|
2988
2972
|
rs(
|
|
2989
2973
|
(s) => ({
|
|
2990
2974
|
fonts: [],
|
|
@@ -2994,7 +2978,7 @@ const Bu = G(
|
|
|
2994
2978
|
name: "fonts-storage"
|
|
2995
2979
|
}
|
|
2996
2980
|
)
|
|
2997
|
-
),
|
|
2981
|
+
), Bu = G((s) => ({
|
|
2998
2982
|
settings: null,
|
|
2999
2983
|
setSettings: (t) => s(() => ({ settings: t }))
|
|
3000
2984
|
})), Tn = G()((s) => ({
|
|
@@ -3025,7 +3009,7 @@ const Bu = G(
|
|
|
3025
3009
|
setColor: (t) => s(() => ({ color: t })),
|
|
3026
3010
|
setUpdate: (t) => s(() => ({ update: t })),
|
|
3027
3011
|
setColorChange: (t) => s(() => ({ colorChange: t }))
|
|
3028
|
-
})),
|
|
3012
|
+
})), Mu = G(
|
|
3029
3013
|
rs(
|
|
3030
3014
|
(s, t) => ({
|
|
3031
3015
|
pages: null,
|
|
@@ -3079,7 +3063,7 @@ const Bu = G(
|
|
|
3079
3063
|
}
|
|
3080
3064
|
}
|
|
3081
3065
|
)
|
|
3082
|
-
),
|
|
3066
|
+
), Ir = G((s) => ({
|
|
3083
3067
|
openModal: !1,
|
|
3084
3068
|
setOpenModal: (t) => s(() => ({ openModal: t })),
|
|
3085
3069
|
onChange: null,
|
|
@@ -3096,12 +3080,12 @@ const Bu = G(
|
|
|
3096
3080
|
)
|
|
3097
3081
|
);
|
|
3098
3082
|
});
|
|
3099
|
-
}, En = "_icon_bsuj2_1", On = "_hoverable_bsuj2_5", _n = "_rotated_bsuj2_9",
|
|
3083
|
+
}, En = "_icon_bsuj2_1", On = "_hoverable_bsuj2_5", _n = "_rotated_bsuj2_9", Ge = {
|
|
3100
3084
|
icon: En,
|
|
3101
3085
|
hoverable: On,
|
|
3102
3086
|
rotated: _n
|
|
3103
3087
|
};
|
|
3104
|
-
var
|
|
3088
|
+
var Ar = { exports: {} };
|
|
3105
3089
|
/*!
|
|
3106
3090
|
Copyright (c) 2018 Jed Watson.
|
|
3107
3091
|
Licensed under the MIT License (MIT), see
|
|
@@ -3136,9 +3120,9 @@ var Nr = { exports: {} };
|
|
|
3136
3120
|
}
|
|
3137
3121
|
s.exports ? (e.default = e, s.exports = e) : window.classNames = e;
|
|
3138
3122
|
})();
|
|
3139
|
-
})(
|
|
3140
|
-
var Pn =
|
|
3141
|
-
const J = /* @__PURE__ */
|
|
3123
|
+
})(Ar);
|
|
3124
|
+
var Pn = Ar.exports;
|
|
3125
|
+
const J = /* @__PURE__ */ ar(Pn), ot = (s) => {
|
|
3142
3126
|
const {
|
|
3143
3127
|
name: t,
|
|
3144
3128
|
fill: e = "currentColor",
|
|
@@ -3164,8 +3148,8 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3164
3148
|
style: {
|
|
3165
3149
|
"--icon-fill": e
|
|
3166
3150
|
},
|
|
3167
|
-
className: J(
|
|
3168
|
-
[
|
|
3151
|
+
className: J(Ge.icon, i, {
|
|
3152
|
+
[Ge.hoverable]: r
|
|
3169
3153
|
}),
|
|
3170
3154
|
onClick: o,
|
|
3171
3155
|
width: n,
|
|
@@ -3177,7 +3161,7 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3177
3161
|
primary: kn,
|
|
3178
3162
|
secondary: In,
|
|
3179
3163
|
content: An
|
|
3180
|
-
},
|
|
3164
|
+
}, ze = (s) => {
|
|
3181
3165
|
const {
|
|
3182
3166
|
children: t,
|
|
3183
3167
|
onClick: e,
|
|
@@ -3214,15 +3198,15 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3214
3198
|
] }) : /* @__PURE__ */ h.jsx(h.Fragment, { children: t })
|
|
3215
3199
|
}
|
|
3216
3200
|
);
|
|
3217
|
-
}, Nn = "_wrapper_wp7u5_1", Ln = "_label_wp7u5_9",
|
|
3201
|
+
}, Nn = "_wrapper_wp7u5_1", Ln = "_label_wp7u5_9", Fn = "_input_wp7u5_17", Bn = "_required_wp7u5_36", Mn = "_paddingless_wp7u5_40", jn = "_content_wp7u5_44", Hn = "_borderless_wp7u5_50", pt = {
|
|
3218
3202
|
wrapper: Nn,
|
|
3219
3203
|
label: Ln,
|
|
3220
|
-
input:
|
|
3221
|
-
required:
|
|
3204
|
+
input: Fn,
|
|
3205
|
+
required: Bn,
|
|
3222
3206
|
paddingless: Mn,
|
|
3223
3207
|
content: jn,
|
|
3224
3208
|
borderless: Hn
|
|
3225
|
-
},
|
|
3209
|
+
}, ju = (s) => {
|
|
3226
3210
|
const {
|
|
3227
3211
|
onChange: t,
|
|
3228
3212
|
style: e,
|
|
@@ -3303,7 +3287,7 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3303
3287
|
options: zn,
|
|
3304
3288
|
option: Xn,
|
|
3305
3289
|
addon: Yn
|
|
3306
|
-
},
|
|
3290
|
+
}, Hu = (s) => {
|
|
3307
3291
|
const { leftAddon: t, onChange: e, label: r, value: o, options: i, style: n } = s, [a, u] = M.useState(!1);
|
|
3308
3292
|
function l(p) {
|
|
3309
3293
|
e(p), u(!1);
|
|
@@ -3386,7 +3370,7 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3386
3370
|
toggle: Qn,
|
|
3387
3371
|
background: Zn,
|
|
3388
3372
|
padding: ta
|
|
3389
|
-
},
|
|
3373
|
+
}, Uu = (s) => {
|
|
3390
3374
|
const { onChange: t, style: e, current: r, label: o, hasBackground: i = !1, paddingless: n = !0 } = s, [a, u] = M.useState(r), l = () => {
|
|
3391
3375
|
u((p) => !p), t == null || t(!a);
|
|
3392
3376
|
};
|
|
@@ -3425,7 +3409,7 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3425
3409
|
) });
|
|
3426
3410
|
}, sa = "_wrapper_1inu5_1", ea = {
|
|
3427
3411
|
wrapper: sa
|
|
3428
|
-
},
|
|
3412
|
+
}, qu = ({ children: s }) => {
|
|
3429
3413
|
const { hoverBlockId: t, startHideTimeout: e, clearHideTimeout: r, setMouseOverModal: o } = Cn();
|
|
3430
3414
|
return t ? /* @__PURE__ */ h.jsx(
|
|
3431
3415
|
"div",
|
|
@@ -3444,7 +3428,7 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3444
3428
|
blocks: ra,
|
|
3445
3429
|
block: oa,
|
|
3446
3430
|
active: ia
|
|
3447
|
-
},
|
|
3431
|
+
}, $u = (s) => {
|
|
3448
3432
|
const { items: t, selectedItem: e, onSelect: r, getIconName: o } = s;
|
|
3449
3433
|
return /* @__PURE__ */ h.jsx("div", { className: Ts.blocks, children: t.map((i) => /* @__PURE__ */ h.jsx(
|
|
3450
3434
|
"div",
|
|
@@ -3476,7 +3460,7 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3476
3460
|
name: xa,
|
|
3477
3461
|
secondary: Sa,
|
|
3478
3462
|
input: ya
|
|
3479
|
-
},
|
|
3463
|
+
}, Vu = (s) => {
|
|
3480
3464
|
const { initialColor: t, onChange: e, title: r, labelStyle: o = "primary" } = s, [i, n] = M.useState(t), {
|
|
3481
3465
|
setActiveLabel: a,
|
|
3482
3466
|
setModalPosition: u,
|
|
@@ -3551,7 +3535,7 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3551
3535
|
] });
|
|
3552
3536
|
}, ba = "_modal_1qb2a_1", va = {
|
|
3553
3537
|
modal: ba
|
|
3554
|
-
},
|
|
3538
|
+
}, Wu = (s) => {
|
|
3555
3539
|
const { close: t, children: e } = s;
|
|
3556
3540
|
return M.useEffect(() => {
|
|
3557
3541
|
const r = () => {
|
|
@@ -3566,7 +3550,7 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3566
3550
|
label: Ca,
|
|
3567
3551
|
textarea: Ta,
|
|
3568
3552
|
length: Da
|
|
3569
|
-
},
|
|
3553
|
+
}, Gu = (s) => {
|
|
3570
3554
|
const { onChange: t, label: e, value: r, maxLength: o, placeholder: i } = s, [n, a] = M.useState(r.length);
|
|
3571
3555
|
return /* @__PURE__ */ h.jsxs("div", { className: $t.wrapper, children: [
|
|
3572
3556
|
e && /* @__PURE__ */ h.jsx(
|
|
@@ -3604,7 +3588,7 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3604
3588
|
radio: Ra,
|
|
3605
3589
|
custom: ka,
|
|
3606
3590
|
option: Ia
|
|
3607
|
-
},
|
|
3591
|
+
}, zu = (s) => {
|
|
3608
3592
|
const { defaultValue: t, options: e, onChange: r, label: o } = s, [i, n] = M.useState(t), a = (u) => {
|
|
3609
3593
|
const l = u.target.value;
|
|
3610
3594
|
n(l), r(l);
|
|
@@ -3633,13 +3617,13 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3633
3617
|
u.value
|
|
3634
3618
|
)) })
|
|
3635
3619
|
] });
|
|
3636
|
-
}, Aa = "_tip_pl6k0_1", Na = "_text_pl6k0_9", La = "_warning_pl6k0_15",
|
|
3620
|
+
}, Aa = "_tip_pl6k0_1", Na = "_text_pl6k0_9", La = "_warning_pl6k0_15", Fa = "_error_pl6k0_20", Ba = "_hide_pl6k0_25", kt = {
|
|
3637
3621
|
tip: Aa,
|
|
3638
3622
|
text: Na,
|
|
3639
3623
|
warning: La,
|
|
3640
|
-
error:
|
|
3641
|
-
hide:
|
|
3642
|
-
},
|
|
3624
|
+
error: Fa,
|
|
3625
|
+
hide: Ba
|
|
3626
|
+
}, Xu = (s) => {
|
|
3643
3627
|
const { type: t, message: e, style: r } = s, [o, i] = M.useState(!1);
|
|
3644
3628
|
return /* @__PURE__ */ h.jsxs(
|
|
3645
3629
|
"div",
|
|
@@ -3715,17 +3699,17 @@ const J = /* @__PURE__ */ cr(Pn), ot = (s) => {
|
|
|
3715
3699
|
}, $a = "_loader_wrwsz_1", Va = "_spin_wrwsz_1", Wa = {
|
|
3716
3700
|
loader: $a,
|
|
3717
3701
|
spin: Va
|
|
3718
|
-
},
|
|
3702
|
+
}, Yu = () => /* @__PURE__ */ h.jsx("div", { className: Wa.loader }), Nr = Eo({
|
|
3719
3703
|
dragDropManager: void 0
|
|
3720
3704
|
});
|
|
3721
3705
|
function X(s) {
|
|
3722
3706
|
return "Minified Redux error #" + s + "; visit https://redux.js.org/Errors?code=" + s + " for the full message or use the non-minified dev environment for full errors. ";
|
|
3723
3707
|
}
|
|
3724
|
-
var
|
|
3708
|
+
var Xe = function() {
|
|
3725
3709
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
3726
3710
|
}(), Ds = function() {
|
|
3727
3711
|
return Math.random().toString(36).substring(7).split("").join(".");
|
|
3728
|
-
},
|
|
3712
|
+
}, Ye = {
|
|
3729
3713
|
INIT: "@@redux/INIT" + Ds(),
|
|
3730
3714
|
REPLACE: "@@redux/REPLACE" + Ds(),
|
|
3731
3715
|
PROBE_UNKNOWN_ACTION: function() {
|
|
@@ -3778,14 +3762,14 @@ function bt(s) {
|
|
|
3778
3762
|
var t = typeof s;
|
|
3779
3763
|
return process.env.NODE_ENV !== "production" && (t = za(s)), t;
|
|
3780
3764
|
}
|
|
3781
|
-
function
|
|
3765
|
+
function Lr(s, t, e) {
|
|
3782
3766
|
var r;
|
|
3783
3767
|
if (typeof t == "function" && typeof e == "function" || typeof e == "function" && typeof arguments[3] == "function")
|
|
3784
3768
|
throw new Error(process.env.NODE_ENV === "production" ? X(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
|
|
3785
3769
|
if (typeof t == "function" && typeof e > "u" && (e = t, t = void 0), typeof e < "u") {
|
|
3786
3770
|
if (typeof e != "function")
|
|
3787
3771
|
throw new Error(process.env.NODE_ENV === "production" ? X(1) : "Expected the enhancer to be a function. Instead, received: '" + bt(e) + "'");
|
|
3788
|
-
return e(
|
|
3772
|
+
return e(Lr)(s, t);
|
|
3789
3773
|
}
|
|
3790
3774
|
if (typeof s != "function")
|
|
3791
3775
|
throw new Error(process.env.NODE_ENV === "production" ? X(2) : "Expected the root reducer to be a function. Instead, received: '" + bt(s) + "'");
|
|
@@ -3836,7 +3820,7 @@ function Br(s, t, e) {
|
|
|
3836
3820
|
if (typeof f != "function")
|
|
3837
3821
|
throw new Error(process.env.NODE_ENV === "production" ? X(10) : "Expected the nextReducer to be a function. Instead, received: '" + bt(f));
|
|
3838
3822
|
o = f, b({
|
|
3839
|
-
type:
|
|
3823
|
+
type: Ye.REPLACE
|
|
3840
3824
|
});
|
|
3841
3825
|
}
|
|
3842
3826
|
function g() {
|
|
@@ -3862,18 +3846,18 @@ function Br(s, t, e) {
|
|
|
3862
3846
|
unsubscribe: A
|
|
3863
3847
|
};
|
|
3864
3848
|
}
|
|
3865
|
-
}, f[
|
|
3849
|
+
}, f[Xe] = function() {
|
|
3866
3850
|
return this;
|
|
3867
3851
|
}, f;
|
|
3868
3852
|
}
|
|
3869
3853
|
return b({
|
|
3870
|
-
type:
|
|
3854
|
+
type: Ye.INIT
|
|
3871
3855
|
}), r = {
|
|
3872
3856
|
dispatch: b,
|
|
3873
3857
|
subscribe: d,
|
|
3874
3858
|
getState: p,
|
|
3875
3859
|
replaceReducer: y
|
|
3876
|
-
}, r[
|
|
3860
|
+
}, r[Xe] = g, r;
|
|
3877
3861
|
}
|
|
3878
3862
|
function O(s, t, ...e) {
|
|
3879
3863
|
if (Ka() && t === void 0)
|
|
@@ -3923,10 +3907,10 @@ function sc(s, t) {
|
|
|
3923
3907
|
(e) => t.indexOf(e) > -1
|
|
3924
3908
|
);
|
|
3925
3909
|
}
|
|
3926
|
-
const
|
|
3927
|
-
function
|
|
3910
|
+
const Qs = "dnd-core/INIT_COORDS", os = "dnd-core/BEGIN_DRAG", Zs = "dnd-core/PUBLISH_DRAG_SOURCE", is = "dnd-core/HOVER", ns = "dnd-core/DROP", as = "dnd-core/END_DRAG";
|
|
3911
|
+
function Je(s, t) {
|
|
3928
3912
|
return {
|
|
3929
|
-
type:
|
|
3913
|
+
type: Qs,
|
|
3930
3914
|
payload: {
|
|
3931
3915
|
sourceClientOffset: t || null,
|
|
3932
3916
|
clientOffset: s || null
|
|
@@ -3934,7 +3918,7 @@ function Ke(s, t) {
|
|
|
3934
3918
|
};
|
|
3935
3919
|
}
|
|
3936
3920
|
const ec = {
|
|
3937
|
-
type:
|
|
3921
|
+
type: Qs,
|
|
3938
3922
|
payload: {
|
|
3939
3923
|
clientOffset: null,
|
|
3940
3924
|
sourceClientOffset: null
|
|
@@ -3945,7 +3929,7 @@ function rc(s) {
|
|
|
3945
3929
|
publishSource: !0
|
|
3946
3930
|
}) {
|
|
3947
3931
|
const { publishSource: o = !0, clientOffset: i, getSourceClientOffset: n } = r, a = s.getMonitor(), u = s.getRegistry();
|
|
3948
|
-
s.dispatch(
|
|
3932
|
+
s.dispatch(Je(i)), oc(e, a, u);
|
|
3949
3933
|
const l = ac(e, a);
|
|
3950
3934
|
if (l == null) {
|
|
3951
3935
|
s.dispatch(ec);
|
|
@@ -3957,7 +3941,7 @@ function rc(s) {
|
|
|
3957
3941
|
throw new Error("getSourceClientOffset must be defined");
|
|
3958
3942
|
ic(n), p = n(l);
|
|
3959
3943
|
}
|
|
3960
|
-
s.dispatch(
|
|
3944
|
+
s.dispatch(Je(i, p));
|
|
3961
3945
|
const b = u.getSource(l).beginDrag(a, l);
|
|
3962
3946
|
if (b == null)
|
|
3963
3947
|
return;
|
|
@@ -4102,7 +4086,7 @@ function wc(s) {
|
|
|
4102
4086
|
return function() {
|
|
4103
4087
|
if (s.getMonitor().isDragging())
|
|
4104
4088
|
return {
|
|
4105
|
-
type:
|
|
4089
|
+
type: Zs
|
|
4106
4090
|
};
|
|
4107
4091
|
};
|
|
4108
4092
|
}
|
|
@@ -4158,7 +4142,7 @@ function Dc(s, t) {
|
|
|
4158
4142
|
y: s.y + t.y
|
|
4159
4143
|
};
|
|
4160
4144
|
}
|
|
4161
|
-
function
|
|
4145
|
+
function Br(s, t) {
|
|
4162
4146
|
return {
|
|
4163
4147
|
x: s.x - t.x,
|
|
4164
4148
|
y: s.y - t.y
|
|
@@ -4166,17 +4150,17 @@ function Mr(s, t) {
|
|
|
4166
4150
|
}
|
|
4167
4151
|
function Ec(s) {
|
|
4168
4152
|
const { clientOffset: t, initialClientOffset: e, initialSourceClientOffset: r } = s;
|
|
4169
|
-
return !t || !e || !r ? null :
|
|
4153
|
+
return !t || !e || !r ? null : Br(Dc(t, r), e);
|
|
4170
4154
|
}
|
|
4171
4155
|
function Oc(s) {
|
|
4172
4156
|
const { clientOffset: t, initialClientOffset: e } = s;
|
|
4173
|
-
return !t || !e ? null :
|
|
4157
|
+
return !t || !e ? null : Br(t, e);
|
|
4174
4158
|
}
|
|
4175
|
-
const It = [],
|
|
4159
|
+
const It = [], te = [];
|
|
4176
4160
|
It.__IS_NONE__ = !0;
|
|
4177
|
-
|
|
4161
|
+
te.__IS_ALL__ = !0;
|
|
4178
4162
|
function _c(s, t) {
|
|
4179
|
-
return s === It ? !1 : s ===
|
|
4163
|
+
return s === It ? !1 : s === te || typeof t > "u" ? !0 : sc(t, s).length > 0;
|
|
4180
4164
|
}
|
|
4181
4165
|
class Pc {
|
|
4182
4166
|
subscribeToStateChange(t, e = {}) {
|
|
@@ -4286,8 +4270,8 @@ class Pc {
|
|
|
4286
4270
|
this.store = t, this.registry = e;
|
|
4287
4271
|
}
|
|
4288
4272
|
}
|
|
4289
|
-
const
|
|
4290
|
-
function
|
|
4273
|
+
const Ke = typeof global < "u" ? global : self, Mr = Ke.MutationObserver || Ke.WebKitMutationObserver;
|
|
4274
|
+
function jr(s) {
|
|
4291
4275
|
return function() {
|
|
4292
4276
|
const e = setTimeout(o, 0), r = setInterval(o, 50);
|
|
4293
4277
|
function o() {
|
|
@@ -4297,14 +4281,14 @@ function Hr(s) {
|
|
|
4297
4281
|
}
|
|
4298
4282
|
function Rc(s) {
|
|
4299
4283
|
let t = 1;
|
|
4300
|
-
const e = new
|
|
4284
|
+
const e = new Mr(s), r = document.createTextNode("");
|
|
4301
4285
|
return e.observe(r, {
|
|
4302
4286
|
characterData: !0
|
|
4303
4287
|
}), function() {
|
|
4304
4288
|
t = -t, r.data = t;
|
|
4305
4289
|
};
|
|
4306
4290
|
}
|
|
4307
|
-
const kc = typeof
|
|
4291
|
+
const kc = typeof Mr == "function" ? (
|
|
4308
4292
|
// reliably everywhere they are implemented.
|
|
4309
4293
|
// They are implemented in all modern browsers.
|
|
4310
4294
|
//
|
|
@@ -4341,7 +4325,7 @@ const kc = typeof jr == "function" ? (
|
|
|
4341
4325
|
// - Internet Explorer 6-9
|
|
4342
4326
|
// - iPad Safari 4.3
|
|
4343
4327
|
// - Lynx 2.8.7
|
|
4344
|
-
|
|
4328
|
+
jr
|
|
4345
4329
|
);
|
|
4346
4330
|
class Ic {
|
|
4347
4331
|
// Use the fastest means possible to execute a task in its own turn, with
|
|
@@ -4372,7 +4356,7 @@ class Ic {
|
|
|
4372
4356
|
t.length = 0, this.index = 0, this.flushing = !1;
|
|
4373
4357
|
}, this.registerPendingError = (t) => {
|
|
4374
4358
|
this.pendingErrors.push(t), this.requestErrorThrow();
|
|
4375
|
-
}, this.requestFlush = kc(this.flush), this.requestErrorThrow =
|
|
4359
|
+
}, this.requestFlush = kc(this.flush), this.requestErrorThrow = jr(() => {
|
|
4376
4360
|
if (this.pendingErrors.length)
|
|
4377
4361
|
throw this.pendingErrors.shift();
|
|
4378
4362
|
});
|
|
@@ -4404,14 +4388,14 @@ class Nc {
|
|
|
4404
4388
|
this.onError = t, this.freeTasks = [];
|
|
4405
4389
|
}
|
|
4406
4390
|
}
|
|
4407
|
-
const
|
|
4408
|
-
function Bc(s) {
|
|
4409
|
-
Ur.enqueueTask(Lc.create(s));
|
|
4410
|
-
}
|
|
4411
|
-
const ee = "dnd-core/ADD_SOURCE", re = "dnd-core/ADD_TARGET", oe = "dnd-core/REMOVE_SOURCE", cs = "dnd-core/REMOVE_TARGET";
|
|
4391
|
+
const Hr = new Ic(), Lc = new Nc(Hr.registerPendingError);
|
|
4412
4392
|
function Fc(s) {
|
|
4393
|
+
Hr.enqueueTask(Lc.create(s));
|
|
4394
|
+
}
|
|
4395
|
+
const se = "dnd-core/ADD_SOURCE", ee = "dnd-core/ADD_TARGET", re = "dnd-core/REMOVE_SOURCE", cs = "dnd-core/REMOVE_TARGET";
|
|
4396
|
+
function Bc(s) {
|
|
4413
4397
|
return {
|
|
4414
|
-
type:
|
|
4398
|
+
type: se,
|
|
4415
4399
|
payload: {
|
|
4416
4400
|
sourceId: s
|
|
4417
4401
|
}
|
|
@@ -4419,7 +4403,7 @@ function Fc(s) {
|
|
|
4419
4403
|
}
|
|
4420
4404
|
function Mc(s) {
|
|
4421
4405
|
return {
|
|
4422
|
-
type:
|
|
4406
|
+
type: ee,
|
|
4423
4407
|
payload: {
|
|
4424
4408
|
targetId: s
|
|
4425
4409
|
}
|
|
@@ -4427,7 +4411,7 @@ function Mc(s) {
|
|
|
4427
4411
|
}
|
|
4428
4412
|
function jc(s) {
|
|
4429
4413
|
return {
|
|
4430
|
-
type:
|
|
4414
|
+
type: re,
|
|
4431
4415
|
payload: {
|
|
4432
4416
|
sourceId: s
|
|
4433
4417
|
}
|
|
@@ -4475,7 +4459,7 @@ function Wc(s) {
|
|
|
4475
4459
|
throw new Error(`Unknown Handler Role: ${s}`);
|
|
4476
4460
|
}
|
|
4477
4461
|
}
|
|
4478
|
-
function
|
|
4462
|
+
function Qe(s) {
|
|
4479
4463
|
switch (s[0]) {
|
|
4480
4464
|
case "S":
|
|
4481
4465
|
return Y.SOURCE;
|
|
@@ -4485,7 +4469,7 @@ function Ze(s) {
|
|
|
4485
4469
|
throw new Error(`Cannot parse handler ID: ${s}`);
|
|
4486
4470
|
}
|
|
4487
4471
|
}
|
|
4488
|
-
function
|
|
4472
|
+
function Ze(s, t) {
|
|
4489
4473
|
const e = s.entries();
|
|
4490
4474
|
let r = !1;
|
|
4491
4475
|
do {
|
|
@@ -4500,7 +4484,7 @@ class Gc {
|
|
|
4500
4484
|
addSource(t, e) {
|
|
4501
4485
|
qs(t), Uc(e);
|
|
4502
4486
|
const r = this.addHandler(Y.SOURCE, t, e);
|
|
4503
|
-
return this.store.dispatch(
|
|
4487
|
+
return this.store.dispatch(Bc(r)), r;
|
|
4504
4488
|
}
|
|
4505
4489
|
addTarget(t, e) {
|
|
4506
4490
|
qs(t, !0), qc(e);
|
|
@@ -4508,7 +4492,7 @@ class Gc {
|
|
|
4508
4492
|
return this.store.dispatch(Mc(r)), r;
|
|
4509
4493
|
}
|
|
4510
4494
|
containsHandler(t) {
|
|
4511
|
-
return
|
|
4495
|
+
return Ze(this.dragSources, t) || Ze(this.dropTargets, t);
|
|
4512
4496
|
}
|
|
4513
4497
|
getSource(t, e = !1) {
|
|
4514
4498
|
return O(this.isSourceId(t), "Expected a valid source ID."), e && t === this.pinnedSourceId ? this.pinnedSource : this.dragSources.get(t);
|
|
@@ -4523,13 +4507,13 @@ class Gc {
|
|
|
4523
4507
|
return O(this.isTargetId(t), "Expected a valid target ID."), this.types.get(t);
|
|
4524
4508
|
}
|
|
4525
4509
|
isSourceId(t) {
|
|
4526
|
-
return
|
|
4510
|
+
return Qe(t) === Y.SOURCE;
|
|
4527
4511
|
}
|
|
4528
4512
|
isTargetId(t) {
|
|
4529
|
-
return
|
|
4513
|
+
return Qe(t) === Y.TARGET;
|
|
4530
4514
|
}
|
|
4531
4515
|
removeSource(t) {
|
|
4532
|
-
O(this.getSource(t), "Expected an existing source."), this.store.dispatch(jc(t)),
|
|
4516
|
+
O(this.getSource(t), "Expected an existing source."), this.store.dispatch(jc(t)), Fc(() => {
|
|
4533
4517
|
this.dragSources.delete(t), this.types.delete(t);
|
|
4534
4518
|
});
|
|
4535
4519
|
}
|
|
@@ -4567,17 +4551,17 @@ function Jc(s = It, t) {
|
|
|
4567
4551
|
switch (t.type) {
|
|
4568
4552
|
case is:
|
|
4569
4553
|
break;
|
|
4554
|
+
case se:
|
|
4570
4555
|
case ee:
|
|
4571
|
-
case re:
|
|
4572
4556
|
case cs:
|
|
4573
|
-
case
|
|
4557
|
+
case re:
|
|
4574
4558
|
return It;
|
|
4575
4559
|
case os:
|
|
4576
|
-
case
|
|
4560
|
+
case Zs:
|
|
4577
4561
|
case as:
|
|
4578
4562
|
case ns:
|
|
4579
4563
|
default:
|
|
4580
|
-
return
|
|
4564
|
+
return te;
|
|
4581
4565
|
}
|
|
4582
4566
|
const { targetIds: e = [], prevTargetIds: r = [] } = t.payload, o = tc(e, r);
|
|
4583
4567
|
if (!(o.length > 0 || !Yc(e, r)))
|
|
@@ -4604,15 +4588,15 @@ function Qc(s) {
|
|
|
4604
4588
|
}
|
|
4605
4589
|
return s;
|
|
4606
4590
|
}
|
|
4607
|
-
const
|
|
4591
|
+
const tr = {
|
|
4608
4592
|
initialSourceClientOffset: null,
|
|
4609
4593
|
initialClientOffset: null,
|
|
4610
4594
|
clientOffset: null
|
|
4611
4595
|
};
|
|
4612
|
-
function Zc(s =
|
|
4596
|
+
function Zc(s = tr, t) {
|
|
4613
4597
|
const { payload: e } = t;
|
|
4614
4598
|
switch (t.type) {
|
|
4615
|
-
case
|
|
4599
|
+
case Qs:
|
|
4616
4600
|
case os:
|
|
4617
4601
|
return {
|
|
4618
4602
|
initialSourceClientOffset: e.sourceClientOffset,
|
|
@@ -4625,7 +4609,7 @@ function Zc(s = sr, t) {
|
|
|
4625
4609
|
});
|
|
4626
4610
|
case as:
|
|
4627
4611
|
case ns:
|
|
4628
|
-
return
|
|
4612
|
+
return tr;
|
|
4629
4613
|
default:
|
|
4630
4614
|
return s;
|
|
4631
4615
|
}
|
|
@@ -4670,7 +4654,7 @@ function el(s = sl, t) {
|
|
|
4670
4654
|
dropResult: null,
|
|
4671
4655
|
didDrop: !1
|
|
4672
4656
|
});
|
|
4673
|
-
case
|
|
4657
|
+
case Zs:
|
|
4674
4658
|
return vt({}, s, {
|
|
4675
4659
|
isSourcePublic: !0
|
|
4676
4660
|
});
|
|
@@ -4704,10 +4688,10 @@ function el(s = sl, t) {
|
|
|
4704
4688
|
}
|
|
4705
4689
|
function rl(s = 0, t) {
|
|
4706
4690
|
switch (t.type) {
|
|
4691
|
+
case se:
|
|
4707
4692
|
case ee:
|
|
4708
|
-
case re:
|
|
4709
4693
|
return s + 1;
|
|
4710
|
-
case
|
|
4694
|
+
case re:
|
|
4711
4695
|
case cs:
|
|
4712
4696
|
return s - 1;
|
|
4713
4697
|
default:
|
|
@@ -4756,7 +4740,7 @@ function cl(s, t = void 0, e = {}, r = !1) {
|
|
|
4756
4740
|
}
|
|
4757
4741
|
function ll(s) {
|
|
4758
4742
|
const t = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__;
|
|
4759
|
-
return
|
|
4743
|
+
return Lr(al, s && t && t({
|
|
4760
4744
|
name: "dnd-core",
|
|
4761
4745
|
instanceId: "dnd-core"
|
|
4762
4746
|
}));
|
|
@@ -4778,21 +4762,21 @@ function pl(s, t) {
|
|
|
4778
4762
|
o = r[i], !(t.indexOf(o) >= 0) && (e[o] = s[o]);
|
|
4779
4763
|
return e;
|
|
4780
4764
|
}
|
|
4781
|
-
let
|
|
4765
|
+
let sr = 0;
|
|
4782
4766
|
const Xt = Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");
|
|
4783
|
-
var
|
|
4767
|
+
var Ju = /* @__PURE__ */ Oo(function(t) {
|
|
4784
4768
|
var { children: e } = t, r = ul(t, [
|
|
4785
4769
|
"children"
|
|
4786
4770
|
]);
|
|
4787
4771
|
const [o, i] = ml(r);
|
|
4788
4772
|
return Nt(() => {
|
|
4789
4773
|
if (i) {
|
|
4790
|
-
const n =
|
|
4791
|
-
return ++
|
|
4792
|
-
--
|
|
4774
|
+
const n = Ur();
|
|
4775
|
+
return ++sr, () => {
|
|
4776
|
+
--sr === 0 && (n[Xt] = null);
|
|
4793
4777
|
};
|
|
4794
4778
|
}
|
|
4795
|
-
}, []), /* @__PURE__ */ h.jsx(
|
|
4779
|
+
}, []), /* @__PURE__ */ h.jsx(Nr.Provider, {
|
|
4796
4780
|
value: o,
|
|
4797
4781
|
children: e
|
|
4798
4782
|
});
|
|
@@ -4811,13 +4795,13 @@ function ml(s) {
|
|
|
4811
4795
|
e
|
|
4812
4796
|
];
|
|
4813
4797
|
}
|
|
4814
|
-
function dl(s, t =
|
|
4798
|
+
function dl(s, t = Ur(), e, r) {
|
|
4815
4799
|
const o = t;
|
|
4816
4800
|
return o[Xt] || (o[Xt] = {
|
|
4817
4801
|
dragDropManager: cl(s, t, e, r)
|
|
4818
4802
|
}), o[Xt];
|
|
4819
4803
|
}
|
|
4820
|
-
function
|
|
4804
|
+
function Ur() {
|
|
4821
4805
|
return typeof global < "u" ? global : window;
|
|
4822
4806
|
}
|
|
4823
4807
|
var fl = function s(t, e) {
|
|
@@ -4845,11 +4829,11 @@ var fl = function s(t, e) {
|
|
|
4845
4829
|
}
|
|
4846
4830
|
return t !== t && e !== e;
|
|
4847
4831
|
};
|
|
4848
|
-
const hl = /* @__PURE__ */
|
|
4832
|
+
const hl = /* @__PURE__ */ ar(fl), gt = typeof window < "u" ? _o : Nt;
|
|
4849
4833
|
function gl(s, t, e) {
|
|
4850
4834
|
const [r, o] = Gs(
|
|
4851
4835
|
() => t(s)
|
|
4852
|
-
), i =
|
|
4836
|
+
), i = Po(() => {
|
|
4853
4837
|
const n = t(s);
|
|
4854
4838
|
hl(r, n) || (o(n), e && e());
|
|
4855
4839
|
}, [
|
|
@@ -4877,14 +4861,14 @@ function xl(s, t, e) {
|
|
|
4877
4861
|
o
|
|
4878
4862
|
]), r;
|
|
4879
4863
|
}
|
|
4880
|
-
function
|
|
4864
|
+
function qr(s, t, e) {
|
|
4881
4865
|
return xl(
|
|
4882
4866
|
t,
|
|
4883
4867
|
s || (() => ({})),
|
|
4884
4868
|
() => e.reconnect()
|
|
4885
4869
|
);
|
|
4886
4870
|
}
|
|
4887
|
-
function
|
|
4871
|
+
function $r(s, t) {
|
|
4888
4872
|
const e = [];
|
|
4889
4873
|
return typeof s != "function" && e.push(s), K(() => typeof s == "function" ? s() : s, e);
|
|
4890
4874
|
}
|
|
@@ -5093,7 +5077,7 @@ function Tl(s) {
|
|
|
5093
5077
|
}
|
|
5094
5078
|
function Dl(s) {
|
|
5095
5079
|
return (t = null, e = null) => {
|
|
5096
|
-
if (!
|
|
5080
|
+
if (!Ro(t)) {
|
|
5097
5081
|
const i = t;
|
|
5098
5082
|
return s(i, e), i;
|
|
5099
5083
|
}
|
|
@@ -5101,7 +5085,7 @@ function Dl(s) {
|
|
|
5101
5085
|
return Tl(r), El(r, e ? (i) => s(i, e) : s);
|
|
5102
5086
|
};
|
|
5103
5087
|
}
|
|
5104
|
-
function
|
|
5088
|
+
function Vr(s) {
|
|
5105
5089
|
const t = {};
|
|
5106
5090
|
return Object.keys(s).forEach((e) => {
|
|
5107
5091
|
const r = s[e];
|
|
@@ -5113,16 +5097,16 @@ function Wr(s) {
|
|
|
5113
5097
|
}
|
|
5114
5098
|
}), t;
|
|
5115
5099
|
}
|
|
5116
|
-
function
|
|
5100
|
+
function er(s, t) {
|
|
5117
5101
|
typeof s == "function" ? s(t) : s.current = t;
|
|
5118
5102
|
}
|
|
5119
5103
|
function El(s, t) {
|
|
5120
5104
|
const e = s.ref;
|
|
5121
|
-
return O(typeof e != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), e ?
|
|
5105
|
+
return O(typeof e != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), e ? Ee(s, {
|
|
5122
5106
|
ref: (r) => {
|
|
5123
|
-
|
|
5107
|
+
er(e, r), er(t, r);
|
|
5124
5108
|
}
|
|
5125
|
-
}) :
|
|
5109
|
+
}) : Ee(s, {
|
|
5126
5110
|
ref: t
|
|
5127
5111
|
});
|
|
5128
5112
|
}
|
|
@@ -5197,7 +5181,7 @@ class Ol {
|
|
|
5197
5181
|
this.dragPreviewNode = null, this.dragPreviewRef = null;
|
|
5198
5182
|
}
|
|
5199
5183
|
constructor(t) {
|
|
5200
|
-
this.hooks =
|
|
5184
|
+
this.hooks = Vr({
|
|
5201
5185
|
dragSource: (e, r) => {
|
|
5202
5186
|
this.clearDragSource(), this.dragSourceOptions = r || null, Vs(e) ? this.dragSourceRef = e : this.dragSourceNode = e, this.reconnectDragSource();
|
|
5203
5187
|
},
|
|
@@ -5251,7 +5235,7 @@ class _l {
|
|
|
5251
5235
|
this.dropTargetRef = null, this.dropTargetNode = null;
|
|
5252
5236
|
}
|
|
5253
5237
|
constructor(t) {
|
|
5254
|
-
this.hooks =
|
|
5238
|
+
this.hooks = Vr({
|
|
5255
5239
|
dropTarget: (e, r) => {
|
|
5256
5240
|
this.clearDropTarget(), this.dropTargetOptions = r, Vs(e) ? this.dropTargetRef = e : this.dropTargetNode = e, this.reconnect();
|
|
5257
5241
|
}
|
|
@@ -5259,7 +5243,7 @@ class _l {
|
|
|
5259
5243
|
}
|
|
5260
5244
|
}
|
|
5261
5245
|
function Tt() {
|
|
5262
|
-
const { dragDropManager: s } =
|
|
5246
|
+
const { dragDropManager: s } = ko(Nr);
|
|
5263
5247
|
return O(s != null, "Expected drag drop context"), s;
|
|
5264
5248
|
}
|
|
5265
5249
|
function Pl(s, t) {
|
|
@@ -5345,12 +5329,12 @@ function Nl(s, t, e) {
|
|
|
5345
5329
|
i
|
|
5346
5330
|
]);
|
|
5347
5331
|
}
|
|
5348
|
-
function
|
|
5349
|
-
const e =
|
|
5332
|
+
function Ku(s, t) {
|
|
5333
|
+
const e = $r(s);
|
|
5350
5334
|
O(!e.begin, "useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");
|
|
5351
5335
|
const r = Rl(), o = Pl(e.options, e.previewOptions);
|
|
5352
5336
|
return Nl(e, r, o), [
|
|
5353
|
-
|
|
5337
|
+
qr(e.collect, r, o),
|
|
5354
5338
|
Sl(o),
|
|
5355
5339
|
yl(o)
|
|
5356
5340
|
];
|
|
@@ -5363,7 +5347,7 @@ function Ll(s) {
|
|
|
5363
5347
|
]
|
|
5364
5348
|
);
|
|
5365
5349
|
}
|
|
5366
|
-
function
|
|
5350
|
+
function Fl(s) {
|
|
5367
5351
|
const t = Tt(), e = K(
|
|
5368
5352
|
() => new _l(t.getBackend()),
|
|
5369
5353
|
[
|
|
@@ -5374,7 +5358,7 @@ function Bl(s) {
|
|
|
5374
5358
|
s
|
|
5375
5359
|
]), e;
|
|
5376
5360
|
}
|
|
5377
|
-
function
|
|
5361
|
+
function Bl() {
|
|
5378
5362
|
const s = Tt();
|
|
5379
5363
|
return K(
|
|
5380
5364
|
() => new vl(s),
|
|
@@ -5437,14 +5421,14 @@ function Ul(s, t, e) {
|
|
|
5437
5421
|
).join("|")
|
|
5438
5422
|
]);
|
|
5439
5423
|
}
|
|
5440
|
-
function
|
|
5441
|
-
const e =
|
|
5424
|
+
function Qu(s, t) {
|
|
5425
|
+
const e = $r(s), r = Bl(), o = Fl(e.options);
|
|
5442
5426
|
return Ul(e, r, o), [
|
|
5443
|
-
|
|
5427
|
+
qr(e.collect, r, o),
|
|
5444
5428
|
Ll(o)
|
|
5445
5429
|
];
|
|
5446
5430
|
}
|
|
5447
|
-
function
|
|
5431
|
+
function Wr(s) {
|
|
5448
5432
|
let t = null;
|
|
5449
5433
|
return () => (t == null && (t = s()), t);
|
|
5450
5434
|
}
|
|
@@ -5519,12 +5503,12 @@ class Wl {
|
|
|
5519
5503
|
this.config = t, this.item = {}, this.initializeExposedProperties();
|
|
5520
5504
|
}
|
|
5521
5505
|
}
|
|
5522
|
-
const
|
|
5506
|
+
const Gr = "__NATIVE_FILE__", zr = "__NATIVE_URL__", Xr = "__NATIVE_TEXT__", Yr = "__NATIVE_HTML__", rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5523
5507
|
__proto__: null,
|
|
5524
|
-
FILE:
|
|
5525
|
-
HTML:
|
|
5526
|
-
TEXT:
|
|
5527
|
-
URL:
|
|
5508
|
+
FILE: Gr,
|
|
5509
|
+
HTML: Yr,
|
|
5510
|
+
TEXT: Xr,
|
|
5511
|
+
URL: zr
|
|
5528
5512
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5529
5513
|
function Ps(s, t, e) {
|
|
5530
5514
|
const r = t.reduce(
|
|
@@ -5534,7 +5518,7 @@ function Ps(s, t, e) {
|
|
|
5534
5518
|
return r ?? e;
|
|
5535
5519
|
}
|
|
5536
5520
|
const Ws = {
|
|
5537
|
-
[
|
|
5521
|
+
[Gr]: {
|
|
5538
5522
|
exposeProperties: {
|
|
5539
5523
|
files: (s) => Array.prototype.slice.call(s.files),
|
|
5540
5524
|
items: (s) => s.items,
|
|
@@ -5544,7 +5528,7 @@ const Ws = {
|
|
|
5544
5528
|
"Files"
|
|
5545
5529
|
]
|
|
5546
5530
|
},
|
|
5547
|
-
[
|
|
5531
|
+
[Yr]: {
|
|
5548
5532
|
exposeProperties: {
|
|
5549
5533
|
html: (s, t) => Ps(s, t, ""),
|
|
5550
5534
|
dataTransfer: (s) => s
|
|
@@ -5554,7 +5538,7 @@ const Ws = {
|
|
|
5554
5538
|
"text/html"
|
|
5555
5539
|
]
|
|
5556
5540
|
},
|
|
5557
|
-
[
|
|
5541
|
+
[zr]: {
|
|
5558
5542
|
exposeProperties: {
|
|
5559
5543
|
urls: (s, t) => Ps(s, t, "").split(`
|
|
5560
5544
|
`),
|
|
@@ -5565,7 +5549,7 @@ const Ws = {
|
|
|
5565
5549
|
"text/uri-list"
|
|
5566
5550
|
]
|
|
5567
5551
|
},
|
|
5568
|
-
[
|
|
5552
|
+
[Xr]: {
|
|
5569
5553
|
exposeProperties: {
|
|
5570
5554
|
text: (s, t) => Ps(s, t, ""),
|
|
5571
5555
|
dataTransfer: (s) => s
|
|
@@ -5594,12 +5578,12 @@ function Rs(s) {
|
|
|
5594
5578
|
) : !1;
|
|
5595
5579
|
})[0] || null;
|
|
5596
5580
|
}
|
|
5597
|
-
const zl =
|
|
5581
|
+
const zl = Wr(
|
|
5598
5582
|
() => /firefox/i.test(navigator.userAgent)
|
|
5599
|
-
),
|
|
5583
|
+
), Jr = Wr(
|
|
5600
5584
|
() => !!window.safari
|
|
5601
5585
|
);
|
|
5602
|
-
class
|
|
5586
|
+
class or {
|
|
5603
5587
|
interpolate(t) {
|
|
5604
5588
|
const { xs: e, ys: r, c1s: o, c2s: i, c3s: n } = this;
|
|
5605
5589
|
let a = e.length - 1;
|
|
@@ -5656,7 +5640,7 @@ class ir {
|
|
|
5656
5640
|
}
|
|
5657
5641
|
}
|
|
5658
5642
|
const Xl = 1;
|
|
5659
|
-
function
|
|
5643
|
+
function Kr(s) {
|
|
5660
5644
|
const t = s.nodeType === Xl ? s : s.parentElement;
|
|
5661
5645
|
if (!t)
|
|
5662
5646
|
return null;
|
|
@@ -5678,17 +5662,17 @@ function Yl(s) {
|
|
|
5678
5662
|
}
|
|
5679
5663
|
function Jl(s, t, e, r) {
|
|
5680
5664
|
let o = s ? t.width : e, i = s ? t.height : r;
|
|
5681
|
-
return
|
|
5665
|
+
return Jr() && s && (i /= window.devicePixelRatio, o /= window.devicePixelRatio), {
|
|
5682
5666
|
dragPreviewWidth: o,
|
|
5683
5667
|
dragPreviewHeight: i
|
|
5684
5668
|
};
|
|
5685
5669
|
}
|
|
5686
5670
|
function Kl(s, t, e, r, o) {
|
|
5687
|
-
const i = Yl(t), a =
|
|
5671
|
+
const i = Yl(t), a = Kr(i ? s : t), u = {
|
|
5688
5672
|
x: e.x - a.x,
|
|
5689
5673
|
y: e.y - a.y
|
|
5690
5674
|
}, { offsetWidth: l, offsetHeight: p } = s, { anchorX: d, anchorY: b } = r, { dragPreviewWidth: y, dragPreviewHeight: g } = Jl(i, t, l, p), f = () => {
|
|
5691
|
-
let j = new
|
|
5675
|
+
let j = new or([
|
|
5692
5676
|
0,
|
|
5693
5677
|
0.5,
|
|
5694
5678
|
1
|
|
@@ -5700,8 +5684,8 @@ function Kl(s, t, e, r, o) {
|
|
|
5700
5684
|
// Dock to the bottom
|
|
5701
5685
|
u.y + g - p
|
|
5702
5686
|
]).interpolate(b);
|
|
5703
|
-
return
|
|
5704
|
-
}, S = () => new
|
|
5687
|
+
return Jr() && i && (j += (window.devicePixelRatio - 1) * g), j;
|
|
5688
|
+
}, S = () => new or([
|
|
5705
5689
|
0,
|
|
5706
5690
|
0.5,
|
|
5707
5691
|
1
|
|
@@ -5745,7 +5729,7 @@ function Zl(s, t, e) {
|
|
|
5745
5729
|
writable: !0
|
|
5746
5730
|
}) : s[t] = e, s;
|
|
5747
5731
|
}
|
|
5748
|
-
function
|
|
5732
|
+
function ir(s) {
|
|
5749
5733
|
for (var t = 1; t < arguments.length; t++) {
|
|
5750
5734
|
var e = arguments[t] != null ? arguments[t] : {}, r = Object.keys(e);
|
|
5751
5735
|
typeof Object.getOwnPropertySymbols == "function" && (r = r.concat(Object.getOwnPropertySymbols(e).filter(function(o) {
|
|
@@ -5827,7 +5811,7 @@ class tu {
|
|
|
5827
5811
|
}
|
|
5828
5812
|
getCurrentSourceNodeOptions() {
|
|
5829
5813
|
const t = this.monitor.getSourceId(), e = this.sourceNodeOptions.get(t);
|
|
5830
|
-
return
|
|
5814
|
+
return ir({
|
|
5831
5815
|
dropEffect: this.altKeyPressed ? "copy" : "move"
|
|
5832
5816
|
}, e || {});
|
|
5833
5817
|
}
|
|
@@ -5836,7 +5820,7 @@ class tu {
|
|
|
5836
5820
|
}
|
|
5837
5821
|
getCurrentSourcePreviewNodeOptions() {
|
|
5838
5822
|
const t = this.monitor.getSourceId(), e = this.sourcePreviewNodeOptions.get(t);
|
|
5839
|
-
return
|
|
5823
|
+
return ir({
|
|
5840
5824
|
anchorX: 0.5,
|
|
5841
5825
|
anchorY: 0.5,
|
|
5842
5826
|
captureDraggingState: !1
|
|
@@ -5844,8 +5828,8 @@ class tu {
|
|
|
5844
5828
|
}
|
|
5845
5829
|
isDraggingNativeItem() {
|
|
5846
5830
|
const t = this.monitor.getItemType();
|
|
5847
|
-
return Object.keys(
|
|
5848
|
-
(e) =>
|
|
5831
|
+
return Object.keys(rr).some(
|
|
5832
|
+
(e) => rr[e] === t
|
|
5849
5833
|
);
|
|
5850
5834
|
}
|
|
5851
5835
|
beginDragNativeItem(t, e) {
|
|
@@ -5886,7 +5870,7 @@ class tu {
|
|
|
5886
5870
|
constructor(t, e, r) {
|
|
5887
5871
|
this.sourcePreviewNodes = /* @__PURE__ */ new Map(), this.sourcePreviewNodeOptions = /* @__PURE__ */ new Map(), this.sourceNodes = /* @__PURE__ */ new Map(), this.sourceNodeOptions = /* @__PURE__ */ new Map(), this.dragStartSourceIds = null, this.dropTargetIds = [], this.dragEnterTargetIds = [], this.currentNativeSource = null, this.currentNativeHandle = null, this.currentDragSourceNode = null, this.altKeyPressed = !1, this.mouseMoveTimeoutTimer = null, this.asyncEndDragFrameId = null, this.dragOverTargetIds = null, this.lastClientOffset = null, this.hoverRafId = null, this.getSourceClientOffset = (o) => {
|
|
5888
5872
|
const i = this.sourceNodes.get(o);
|
|
5889
|
-
return i &&
|
|
5873
|
+
return i && Kr(i) || null;
|
|
5890
5874
|
}, this.endDragNativeItem = () => {
|
|
5891
5875
|
this.isDraggingNativeItem() && (this.actions.endDrag(), this.currentNativeHandle && this.registry.removeSource(this.currentNativeHandle), this.currentNativeHandle = null, this.currentNativeSource = null);
|
|
5892
5876
|
}, this.isNodeInDocument = (o) => !!(o && this.document && this.document.body && this.document.body.contains(o)), this.endDragIfSourceWasRemovedFromDOM = () => {
|
|
@@ -6003,7 +5987,7 @@ class tu {
|
|
|
6003
5987
|
}, this.options = new Ql(e, r), this.actions = t.getActions(), this.monitor = t.getMonitor(), this.registry = t.getRegistry(), this.enterLeaveCounter = new Vl(this.isNodeInDocument);
|
|
6004
5988
|
}
|
|
6005
5989
|
}
|
|
6006
|
-
const
|
|
5990
|
+
const Zu = function(t, e, r) {
|
|
6007
5991
|
return new tu(t, e, r);
|
|
6008
5992
|
}, su = "_wrapper_tm686_2", eu = "_label_tm686_9", ru = "_icon_tm686_16", ou = "_text_tm686_26", iu = "_content_tm686_33", nu = "_modal_tm686_43", au = "_top_tm686_51", cu = "_title_tm686_58", lu = "_modalContent_tm686_65", uu = "_images_tm686_74", pu = "_add_tm686_83", mu = "_description_tm686_95", du = "_bottom_tm686_105", fu = "_cancel_tm686_117", hu = "_highlight_tm686_122", gu = "_accent_tm686_127", xu = "_image_tm686_74", Su = "_selected_tm686_141", yu = "_checkbox_tm686_145", bu = "_loading_tm686_151", vu = "_spinner_tm686_163", wu = "_spin_tm686_163", N = {
|
|
6009
5993
|
wrapper: su,
|
|
@@ -6028,8 +6012,8 @@ const sp = function(t, e, r) {
|
|
|
6028
6012
|
loading: bu,
|
|
6029
6013
|
spinner: vu,
|
|
6030
6014
|
spin: wu
|
|
6031
|
-
},
|
|
6032
|
-
const { label: t, onChange: e } = s, { setOpenModal: r, setOnChange: o } =
|
|
6015
|
+
}, tp = (s) => {
|
|
6016
|
+
const { label: t, onChange: e } = s, { setOpenModal: r, setOnChange: o } = Ir();
|
|
6033
6017
|
return /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsxs(
|
|
6034
6018
|
"div",
|
|
6035
6019
|
{
|
|
@@ -6061,8 +6045,8 @@ const sp = function(t, e, r) {
|
|
|
6061
6045
|
]
|
|
6062
6046
|
}
|
|
6063
6047
|
) });
|
|
6064
|
-
},
|
|
6065
|
-
const { setOpenModal: s, onChange: t } =
|
|
6048
|
+
}, sp = () => {
|
|
6049
|
+
const { setOpenModal: s, onChange: t } = Ir(), e = () => {
|
|
6066
6050
|
var d;
|
|
6067
6051
|
(d = r.current) == null || d.click();
|
|
6068
6052
|
}, r = M.useRef(null), [o, i] = M.useState([]), [n, a] = M.useState(!1), u = async (d) => {
|
|
@@ -6159,7 +6143,7 @@ const sp = function(t, e, r) {
|
|
|
6159
6143
|
}
|
|
6160
6144
|
)
|
|
6161
6145
|
] }),
|
|
6162
|
-
n && /* @__PURE__ */ h.jsx(
|
|
6146
|
+
n && /* @__PURE__ */ h.jsx(nr, {}),
|
|
6163
6147
|
o.map((d) => /* @__PURE__ */ h.jsxs(
|
|
6164
6148
|
"div",
|
|
6165
6149
|
{
|
|
@@ -6192,12 +6176,12 @@ const sp = function(t, e, r) {
|
|
|
6192
6176
|
},
|
|
6193
6177
|
d.id
|
|
6194
6178
|
)),
|
|
6195
|
-
o.length === 0 && [...new Array(5)].map(() => /* @__PURE__ */ h.jsx(
|
|
6179
|
+
o.length === 0 && [...new Array(5)].map(() => /* @__PURE__ */ h.jsx(nr, {}))
|
|
6196
6180
|
] })
|
|
6197
6181
|
] }),
|
|
6198
6182
|
/* @__PURE__ */ h.jsxs("div", { className: N.bottom, children: [
|
|
6199
6183
|
/* @__PURE__ */ h.jsx(
|
|
6200
|
-
|
|
6184
|
+
ze,
|
|
6201
6185
|
{
|
|
6202
6186
|
className: N.cancel,
|
|
6203
6187
|
onClick: () => s(!1),
|
|
@@ -6205,7 +6189,7 @@ const sp = function(t, e, r) {
|
|
|
6205
6189
|
}
|
|
6206
6190
|
),
|
|
6207
6191
|
/* @__PURE__ */ h.jsx(
|
|
6208
|
-
|
|
6192
|
+
ze,
|
|
6209
6193
|
{
|
|
6210
6194
|
onClick: () => {
|
|
6211
6195
|
s(!1), p();
|
|
@@ -6217,53 +6201,51 @@ const sp = function(t, e, r) {
|
|
|
6217
6201
|
]
|
|
6218
6202
|
}
|
|
6219
6203
|
);
|
|
6220
|
-
},
|
|
6204
|
+
}, nr = () => /* @__PURE__ */ h.jsx("div", { className: N.loading, children: /* @__PURE__ */ h.jsx("div", { className: N.spinner }) });
|
|
6221
6205
|
export {
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6206
|
+
yt as A,
|
|
6207
|
+
ze as B,
|
|
6208
|
+
tp as C,
|
|
6209
|
+
Ju as D,
|
|
6210
|
+
Du as E,
|
|
6211
|
+
Fu as F,
|
|
6212
|
+
Eu as G,
|
|
6213
|
+
Zu as H,
|
|
6230
6214
|
ot as I,
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
Uu as a,
|
|
6244
|
-
qu as b,
|
|
6215
|
+
Ir as J,
|
|
6216
|
+
I as K,
|
|
6217
|
+
Yu as L,
|
|
6218
|
+
Wu as M,
|
|
6219
|
+
Kt as N,
|
|
6220
|
+
Tu as O,
|
|
6221
|
+
$u as P,
|
|
6222
|
+
zu as R,
|
|
6223
|
+
Uu as S,
|
|
6224
|
+
Gu as T,
|
|
6225
|
+
ju as a,
|
|
6226
|
+
Hu as b,
|
|
6245
6227
|
J as c,
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6228
|
+
Ku as d,
|
|
6229
|
+
qu as e,
|
|
6230
|
+
Vu as f,
|
|
6231
|
+
Xu as g,
|
|
6250
6232
|
qa as h,
|
|
6251
|
-
|
|
6233
|
+
sp as i,
|
|
6252
6234
|
h as j,
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6235
|
+
Nu as k,
|
|
6236
|
+
Bu as l,
|
|
6237
|
+
Mu as m,
|
|
6238
|
+
Ru as n,
|
|
6257
6239
|
Pu as o,
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6240
|
+
ku as p,
|
|
6241
|
+
Au as q,
|
|
6242
|
+
_u as r,
|
|
6261
6243
|
Lu as s,
|
|
6262
|
-
|
|
6263
|
-
|
|
6244
|
+
Ou as t,
|
|
6245
|
+
Qu as u,
|
|
6264
6246
|
Hs as v,
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6247
|
+
Iu as w,
|
|
6248
|
+
No as x,
|
|
6249
|
+
Cn as y,
|
|
6250
|
+
Tn as z
|
|
6269
6251
|
};
|