@blockbite/ui 2.0.18 → 2.0.20
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/index.js +445 -427
- package/dist/index.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Button as ye, Dropdown as pn, TextControl as rt, CheckboxControl as vn, DropdownMenu as mn, FocalPointPicker as hn, PanelRow as yn, Popover as bn, RangeControl as gn, Modal as xn, Notice as _n, __experimentalInputControl as jn, __experimentalInputControlSuffixWrapper as Cn, SelectControl as wn, Spinner as En, TabPanel as Rn, __experimentalToggleGroupControl as Sn, __experimentalToggleGroupControlOptionIcon as kn, __experimentalToggleGroupControlOption as Tn, ToggleControl as On } from "@wordpress/components";
|
|
2
|
+
import { memo as tt, useState as F, useEffect as G, useCallback as Mt, useRef as lr, createPortal as Bt, forwardRef as Pn, createContext as Wt, useContext as nt, Children as Rr, isValidElement as Sr, useMemo as Nn } from "@wordpress/element";
|
|
3
|
+
import { Plus as An, Trash as In, ChevronDown as Dn, Cross2 as $n, Tailwind as Fn, Percentage as Ln, Grid as Mn, Desktop as Bn, Slider as Wn, ColumnSpacing as Un, Pencil1 as Vn } from "@blockbite/icons";
|
|
4
4
|
import Yn from "@wordpress/api-fetch";
|
|
5
5
|
import { __ as Me } from "@wordpress/i18n";
|
|
6
6
|
import { MediaUploadCheck as Qr, MediaUpload as Pt } from "@wordpress/block-editor";
|
|
7
|
-
import { SVG as zn, Path as
|
|
8
|
-
import { createBlock as
|
|
9
|
-
function
|
|
7
|
+
import { SVG as zn, Path as Hn } from "@wordpress/primitives";
|
|
8
|
+
import { createBlock as qn } from "@wordpress/blocks";
|
|
9
|
+
function Gn(o) {
|
|
10
10
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var kr = { exports: {} }, or = {}, Tr = { exports: {} }, N = {};
|
|
13
13
|
/**
|
|
14
14
|
* @license React
|
|
15
15
|
* react.production.min.js
|
|
@@ -20,7 +20,7 @@ var Sr = { exports: {} }, or = {}, Tr = { exports: {} }, N = {};
|
|
|
20
20
|
* LICENSE file in the root directory of this source tree.
|
|
21
21
|
*/
|
|
22
22
|
var Nt;
|
|
23
|
-
function
|
|
23
|
+
function Kn() {
|
|
24
24
|
if (Nt) return N;
|
|
25
25
|
Nt = 1;
|
|
26
26
|
var o = Symbol.for("react.element"), a = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), h = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), _ = Symbol.iterator;
|
|
@@ -32,7 +32,7 @@ function Hn() {
|
|
|
32
32
|
}, enqueueForceUpdate: function() {
|
|
33
33
|
}, enqueueReplaceState: function() {
|
|
34
34
|
}, enqueueSetState: function() {
|
|
35
|
-
} },
|
|
35
|
+
} }, k = Object.assign, ae = {};
|
|
36
36
|
function de(s, y, I) {
|
|
37
37
|
this.props = s, this.context = y, this.refs = ae, this.updater = I || T;
|
|
38
38
|
}
|
|
@@ -49,19 +49,19 @@ function Hn() {
|
|
|
49
49
|
this.props = s, this.context = y, this.refs = ae, this.updater = I || T;
|
|
50
50
|
}
|
|
51
51
|
var ge = Y.prototype = new A();
|
|
52
|
-
ge.constructor = Y,
|
|
53
|
-
var
|
|
52
|
+
ge.constructor = Y, k(ge, de.prototype), ge.isPureReactComponent = !0;
|
|
53
|
+
var K = Array.isArray, X = Object.prototype.hasOwnProperty, ie = { current: null }, pe = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
54
54
|
function je(s, y, I) {
|
|
55
|
-
var $, M = {}, J = null,
|
|
56
|
-
if (y != null) for ($ in y.ref !== void 0 && (
|
|
55
|
+
var $, M = {}, J = null, H = null;
|
|
56
|
+
if (y != null) for ($ in y.ref !== void 0 && (H = y.ref), y.key !== void 0 && (J = "" + y.key), y) X.call(y, $) && !pe.hasOwnProperty($) && (M[$] = y[$]);
|
|
57
57
|
var z = arguments.length - 2;
|
|
58
58
|
if (z === 1) M.children = I;
|
|
59
59
|
else if (1 < z) {
|
|
60
|
-
for (var
|
|
61
|
-
M.children =
|
|
60
|
+
for (var U = Array(z), oe = 0; oe < z; oe++) U[oe] = arguments[oe + 2];
|
|
61
|
+
M.children = U;
|
|
62
62
|
}
|
|
63
63
|
if (s && s.defaultProps) for ($ in z = s.defaultProps, z) M[$] === void 0 && (M[$] = z[$]);
|
|
64
|
-
return { $$typeof: o, type: s, key: J, ref:
|
|
64
|
+
return { $$typeof: o, type: s, key: J, ref: H, props: M, _owner: ie.current };
|
|
65
65
|
}
|
|
66
66
|
function Te(s, y) {
|
|
67
67
|
return { $$typeof: o, type: s.type, key: y, ref: s.ref, props: s.props, _owner: s._owner };
|
|
@@ -82,31 +82,31 @@ function Hn() {
|
|
|
82
82
|
function me(s, y, I, $, M) {
|
|
83
83
|
var J = typeof s;
|
|
84
84
|
(J === "undefined" || J === "boolean") && (s = null);
|
|
85
|
-
var
|
|
86
|
-
if (s === null)
|
|
85
|
+
var H = !1;
|
|
86
|
+
if (s === null) H = !0;
|
|
87
87
|
else switch (J) {
|
|
88
88
|
case "string":
|
|
89
89
|
case "number":
|
|
90
|
-
|
|
90
|
+
H = !0;
|
|
91
91
|
break;
|
|
92
92
|
case "object":
|
|
93
93
|
switch (s.$$typeof) {
|
|
94
94
|
case o:
|
|
95
95
|
case a:
|
|
96
|
-
|
|
96
|
+
H = !0;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
if (
|
|
99
|
+
if (H) return H = s, M = M(H), s = $ === "" ? "." + ve(H, 0) : $, K(M) ? (I = "", s != null && (I = s.replace(Pe, "$&/") + "/"), me(M, y, I, "", function(oe) {
|
|
100
100
|
return oe;
|
|
101
|
-
})) : M != null && (Oe(M) && (M = Te(M, I + (!M.key ||
|
|
102
|
-
if (
|
|
101
|
+
})) : M != null && (Oe(M) && (M = Te(M, I + (!M.key || H && H.key === M.key ? "" : ("" + M.key).replace(Pe, "$&/") + "/") + s)), y.push(M)), 1;
|
|
102
|
+
if (H = 0, $ = $ === "" ? "." : $ + ":", K(s)) for (var z = 0; z < s.length; z++) {
|
|
103
103
|
J = s[z];
|
|
104
|
-
var
|
|
105
|
-
|
|
104
|
+
var U = $ + ve(J, z);
|
|
105
|
+
H += me(J, y, I, U, M);
|
|
106
106
|
}
|
|
107
|
-
else if (
|
|
107
|
+
else if (U = O(s), typeof U == "function") for (s = U.call(s), z = 0; !(J = s.next()).done; ) J = J.value, U = $ + ve(J, z++), H += me(J, y, I, U, M);
|
|
108
108
|
else if (J === "object") throw y = String(s), Error("Objects are not valid as a React child (found: " + (y === "[object Object]" ? "object with keys {" + Object.keys(s).join(", ") + "}" : y) + "). If you meant to render a collection of children, use an array instead.");
|
|
109
|
-
return
|
|
109
|
+
return H;
|
|
110
110
|
}
|
|
111
111
|
function le(s, y, I) {
|
|
112
112
|
if (s == null) return s;
|
|
@@ -149,19 +149,19 @@ function Hn() {
|
|
|
149
149
|
return s;
|
|
150
150
|
} }, N.Component = de, N.Fragment = u, N.Profiler = d, N.PureComponent = Y, N.StrictMode = l, N.Suspense = g, N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ne, N.act = Ce, N.cloneElement = function(s, y, I) {
|
|
151
151
|
if (s == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + s + ".");
|
|
152
|
-
var $ =
|
|
152
|
+
var $ = k({}, s.props), M = s.key, J = s.ref, H = s._owner;
|
|
153
153
|
if (y != null) {
|
|
154
|
-
if (y.ref !== void 0 && (J = y.ref,
|
|
155
|
-
for (
|
|
156
|
-
}
|
|
157
|
-
var
|
|
158
|
-
if (
|
|
159
|
-
else if (1 <
|
|
160
|
-
z = Array(
|
|
161
|
-
for (var oe = 0; oe <
|
|
154
|
+
if (y.ref !== void 0 && (J = y.ref, H = ie.current), y.key !== void 0 && (M = "" + y.key), s.type && s.type.defaultProps) var z = s.type.defaultProps;
|
|
155
|
+
for (U in y) X.call(y, U) && !pe.hasOwnProperty(U) && ($[U] = y[U] === void 0 && z !== void 0 ? z[U] : y[U]);
|
|
156
|
+
}
|
|
157
|
+
var U = arguments.length - 2;
|
|
158
|
+
if (U === 1) $.children = I;
|
|
159
|
+
else if (1 < U) {
|
|
160
|
+
z = Array(U);
|
|
161
|
+
for (var oe = 0; oe < U; oe++) z[oe] = arguments[oe + 2];
|
|
162
162
|
$.children = z;
|
|
163
163
|
}
|
|
164
|
-
return { $$typeof: o, type: s.type, key: M, ref: J, props: $, _owner:
|
|
164
|
+
return { $$typeof: o, type: s.type, key: M, ref: J, props: $, _owner: H };
|
|
165
165
|
}, N.createContext = function(s) {
|
|
166
166
|
return s = { $$typeof: h, _currentValue: s, _currentValue2: s, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, s.Provider = { $$typeof: f, _context: s }, s.Consumer = s;
|
|
167
167
|
}, N.createElement = je, N.createFactory = function(s) {
|
|
@@ -230,7 +230,7 @@ function Jn() {
|
|
|
230
230
|
return At || (At = 1, function(o, a) {
|
|
231
231
|
process.env.NODE_ENV !== "production" && function() {
|
|
232
232
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
233
|
-
var u = "18.3.1", l = Symbol.for("react.element"), d = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), p = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"),
|
|
233
|
+
var u = "18.3.1", l = Symbol.for("react.element"), d = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), p = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), ae = Symbol.for("react.offscreen"), de = Symbol.iterator, A = "@@iterator";
|
|
234
234
|
function Y(e) {
|
|
235
235
|
if (e === null || typeof e != "object")
|
|
236
236
|
return null;
|
|
@@ -243,7 +243,7 @@ function Jn() {
|
|
|
243
243
|
* @type {ReactComponent}
|
|
244
244
|
*/
|
|
245
245
|
current: null
|
|
246
|
-
},
|
|
246
|
+
}, K = {
|
|
247
247
|
transition: null
|
|
248
248
|
}, X = {
|
|
249
249
|
current: null,
|
|
@@ -270,7 +270,7 @@ function Jn() {
|
|
|
270
270
|
};
|
|
271
271
|
var Oe = !1, Je = !1, Pe = !1, ve = !1, me = !1, le = {
|
|
272
272
|
ReactCurrentDispatcher: ge,
|
|
273
|
-
ReactCurrentBatchConfig:
|
|
273
|
+
ReactCurrentBatchConfig: K,
|
|
274
274
|
ReactCurrentOwner: ie
|
|
275
275
|
};
|
|
276
276
|
le.ReactDebugCurrentFrame = pe, le.ReactCurrentActQueue = X;
|
|
@@ -390,17 +390,17 @@ function Jn() {
|
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
392
|
};
|
|
393
|
-
for (var
|
|
394
|
-
M.hasOwnProperty(
|
|
393
|
+
for (var H in M)
|
|
394
|
+
M.hasOwnProperty(H) && J(H, M[H]);
|
|
395
395
|
}
|
|
396
396
|
function z() {
|
|
397
397
|
}
|
|
398
398
|
z.prototype = $.prototype;
|
|
399
|
-
function
|
|
399
|
+
function U(e, r, i) {
|
|
400
400
|
this.props = e, this.context = r, this.refs = I, this.updater = i || s;
|
|
401
401
|
}
|
|
402
|
-
var oe =
|
|
403
|
-
oe.constructor =
|
|
402
|
+
var oe = U.prototype = new z();
|
|
403
|
+
oe.constructor = U, y(oe, $.prototype), oe.isPureReactComponent = !0;
|
|
404
404
|
function Or() {
|
|
405
405
|
var e = {
|
|
406
406
|
current: null
|
|
@@ -408,7 +408,7 @@ function Jn() {
|
|
|
408
408
|
return Object.seal(e), e;
|
|
409
409
|
}
|
|
410
410
|
var ur = Array.isArray;
|
|
411
|
-
function
|
|
411
|
+
function Be(e) {
|
|
412
412
|
return ur(e);
|
|
413
413
|
}
|
|
414
414
|
function Pr(e) {
|
|
@@ -417,7 +417,7 @@ function Jn() {
|
|
|
417
417
|
return i;
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function We(e) {
|
|
421
421
|
try {
|
|
422
422
|
return Ee(e), !1;
|
|
423
423
|
} catch {
|
|
@@ -428,7 +428,7 @@ function Jn() {
|
|
|
428
428
|
return "" + e;
|
|
429
429
|
}
|
|
430
430
|
function Ae(e) {
|
|
431
|
-
if (
|
|
431
|
+
if (We(e))
|
|
432
432
|
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Pr(e)), Ee(e);
|
|
433
433
|
}
|
|
434
434
|
function cr(e, r, i) {
|
|
@@ -475,7 +475,7 @@ function Jn() {
|
|
|
475
475
|
case T:
|
|
476
476
|
var c = e.displayName || null;
|
|
477
477
|
return c !== null ? c : _e(e.type) || "Memo";
|
|
478
|
-
case
|
|
478
|
+
case k: {
|
|
479
479
|
var b = e, R = b._payload, w = b._init;
|
|
480
480
|
try {
|
|
481
481
|
return _e(w(R));
|
|
@@ -486,13 +486,13 @@ function Jn() {
|
|
|
486
486
|
}
|
|
487
487
|
return null;
|
|
488
488
|
}
|
|
489
|
-
var De = Object.prototype.hasOwnProperty,
|
|
489
|
+
var De = Object.prototype.hasOwnProperty, Ue = {
|
|
490
490
|
key: !0,
|
|
491
491
|
ref: !0,
|
|
492
492
|
__self: !0,
|
|
493
493
|
__source: !0
|
|
494
|
-
}, fr, dr,
|
|
495
|
-
|
|
494
|
+
}, fr, dr, Ve;
|
|
495
|
+
Ve = {};
|
|
496
496
|
function Xe(e) {
|
|
497
497
|
if (De.call(e, "ref")) {
|
|
498
498
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
@@ -530,11 +530,11 @@ function Jn() {
|
|
|
530
530
|
function vr(e) {
|
|
531
531
|
if (typeof e.ref == "string" && ie.current && e.__self && ie.current.stateNode !== e.__self) {
|
|
532
532
|
var r = _e(ie.current.type);
|
|
533
|
-
|
|
533
|
+
Ve[r] || (E('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', r, e.ref), Ve[r] = !0);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
var Qe = function(e, r, i, c, b, R, w) {
|
|
537
|
-
var
|
|
537
|
+
var S = {
|
|
538
538
|
// This tag allows us to uniquely identify this as a React Element
|
|
539
539
|
$$typeof: l,
|
|
540
540
|
// Built-in properties that belong on the element
|
|
@@ -545,35 +545,35 @@ function Jn() {
|
|
|
545
545
|
// Record the component responsible for creating this element.
|
|
546
546
|
_owner: R
|
|
547
547
|
};
|
|
548
|
-
return
|
|
548
|
+
return S._store = {}, Object.defineProperty(S._store, "validated", {
|
|
549
549
|
configurable: !1,
|
|
550
550
|
enumerable: !1,
|
|
551
551
|
writable: !0,
|
|
552
552
|
value: !1
|
|
553
|
-
}), Object.defineProperty(
|
|
553
|
+
}), Object.defineProperty(S, "_self", {
|
|
554
554
|
configurable: !1,
|
|
555
555
|
enumerable: !1,
|
|
556
556
|
writable: !1,
|
|
557
557
|
value: c
|
|
558
|
-
}), Object.defineProperty(
|
|
558
|
+
}), Object.defineProperty(S, "_source", {
|
|
559
559
|
configurable: !1,
|
|
560
560
|
enumerable: !1,
|
|
561
561
|
writable: !1,
|
|
562
562
|
value: b
|
|
563
|
-
}), Object.freeze && (Object.freeze(
|
|
563
|
+
}), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
|
|
564
564
|
};
|
|
565
565
|
function Ar(e, r, i) {
|
|
566
|
-
var c, b = {}, R = null, w = null,
|
|
566
|
+
var c, b = {}, R = null, w = null, S = null, L = null;
|
|
567
567
|
if (r != null) {
|
|
568
|
-
Xe(r) && (w = r.ref, vr(r)), Ze(r) && (Ae(r.key), R = "" + r.key),
|
|
568
|
+
Xe(r) && (w = r.ref, vr(r)), Ze(r) && (Ae(r.key), R = "" + r.key), S = r.__self === void 0 ? null : r.__self, L = r.__source === void 0 ? null : r.__source;
|
|
569
569
|
for (c in r)
|
|
570
|
-
De.call(r, c) && !
|
|
570
|
+
De.call(r, c) && !Ue.hasOwnProperty(c) && (b[c] = r[c]);
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
if (
|
|
572
|
+
var q = arguments.length - 2;
|
|
573
|
+
if (q === 1)
|
|
574
574
|
b.children = i;
|
|
575
|
-
else if (
|
|
576
|
-
for (var Z = Array(
|
|
575
|
+
else if (q > 1) {
|
|
576
|
+
for (var Z = Array(q), Q = 0; Q < q; Q++)
|
|
577
577
|
Z[Q] = arguments[Q + 2];
|
|
578
578
|
Object.freeze && Object.freeze(Z), b.children = Z;
|
|
579
579
|
}
|
|
@@ -586,7 +586,7 @@ function Jn() {
|
|
|
586
586
|
var se = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
587
587
|
R && Nr(b, se), w && pr(b, se);
|
|
588
588
|
}
|
|
589
|
-
return Qe(e, R, w,
|
|
589
|
+
return Qe(e, R, w, S, L, ie.current, b);
|
|
590
590
|
}
|
|
591
591
|
function Ir(e, r) {
|
|
592
592
|
var i = Qe(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
|
@@ -595,13 +595,13 @@ function Jn() {
|
|
|
595
595
|
function Dr(e, r, i) {
|
|
596
596
|
if (e == null)
|
|
597
597
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
598
|
-
var c, b = y({}, e.props), R = e.key, w = e.ref,
|
|
598
|
+
var c, b = y({}, e.props), R = e.key, w = e.ref, S = e._self, L = e._source, q = e._owner;
|
|
599
599
|
if (r != null) {
|
|
600
|
-
Xe(r) && (w = r.ref,
|
|
600
|
+
Xe(r) && (w = r.ref, q = ie.current), Ze(r) && (Ae(r.key), R = "" + r.key);
|
|
601
601
|
var Z;
|
|
602
602
|
e.type && e.type.defaultProps && (Z = e.type.defaultProps);
|
|
603
603
|
for (c in r)
|
|
604
|
-
De.call(r, c) && !
|
|
604
|
+
De.call(r, c) && !Ue.hasOwnProperty(c) && (r[c] === void 0 && Z !== void 0 ? b[c] = Z[c] : b[c] = r[c]);
|
|
605
605
|
}
|
|
606
606
|
var Q = arguments.length - 2;
|
|
607
607
|
if (Q === 1)
|
|
@@ -611,7 +611,7 @@ function Jn() {
|
|
|
611
611
|
re[se] = arguments[se + 2];
|
|
612
612
|
b.children = re;
|
|
613
613
|
}
|
|
614
|
-
return Qe(e.type, R, w,
|
|
614
|
+
return Qe(e.type, R, w, S, L, q, b);
|
|
615
615
|
}
|
|
616
616
|
function Re(e) {
|
|
617
617
|
return typeof e == "object" && e !== null && e.$$typeof === l;
|
|
@@ -626,9 +626,9 @@ function Jn() {
|
|
|
626
626
|
});
|
|
627
627
|
return "$" + c;
|
|
628
628
|
}
|
|
629
|
-
var rr = !1,
|
|
629
|
+
var rr = !1, Se = /\/+/g;
|
|
630
630
|
function Ye(e) {
|
|
631
|
-
return e.replace(
|
|
631
|
+
return e.replace(Se, "$&/");
|
|
632
632
|
}
|
|
633
633
|
function $e(e, r) {
|
|
634
634
|
return typeof e == "object" && e !== null && e.key != null ? (Ae(e.key), er("" + e.key)) : r.toString(36);
|
|
@@ -653,36 +653,36 @@ function Jn() {
|
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
655
|
if (w) {
|
|
656
|
-
var
|
|
657
|
-
if (
|
|
656
|
+
var S = e, L = b(S), q = c === "" ? mr + $e(S, 0) : c;
|
|
657
|
+
if (Be(L)) {
|
|
658
658
|
var Z = "";
|
|
659
|
-
|
|
660
|
-
return
|
|
659
|
+
q != null && (Z = Ye(q) + "/"), Fe(L, r, Z, "", function(dn) {
|
|
660
|
+
return dn;
|
|
661
661
|
});
|
|
662
|
-
} else L != null && (Re(L) && (L.key && (!
|
|
662
|
+
} else L != null && (Re(L) && (L.key && (!S || S.key !== L.key) && Ae(L.key), L = Ir(
|
|
663
663
|
L,
|
|
664
664
|
// Keep both the (mapped) and old keys if they differ, just as
|
|
665
665
|
// traverseAllChildren used to do for objects as children
|
|
666
666
|
i + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
667
|
-
(L.key && (!
|
|
667
|
+
(L.key && (!S || S.key !== L.key) ? (
|
|
668
668
|
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
669
669
|
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
670
670
|
Ye("" + L.key) + "/"
|
|
671
|
-
) : "") +
|
|
671
|
+
) : "") + q
|
|
672
672
|
)), r.push(L));
|
|
673
673
|
return 1;
|
|
674
674
|
}
|
|
675
675
|
var Q, re, se = 0, ce = c === "" ? mr : c + $r;
|
|
676
|
-
if (
|
|
676
|
+
if (Be(e))
|
|
677
677
|
for (var Er = 0; Er < e.length; Er++)
|
|
678
678
|
Q = e[Er], re = ce + $e(Q, Er), se += Fe(Q, r, i, re, b);
|
|
679
679
|
else {
|
|
680
680
|
var Zr = Y(e);
|
|
681
681
|
if (typeof Zr == "function") {
|
|
682
|
-
var
|
|
683
|
-
Zr ===
|
|
684
|
-
for (var
|
|
685
|
-
Q = Tt.value, re = ce + $e(Q,
|
|
682
|
+
var kt = e;
|
|
683
|
+
Zr === kt.entries && (rr || be("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), rr = !0);
|
|
684
|
+
for (var cn = Zr.call(kt), Tt, fn = 0; !(Tt = cn.next()).done; )
|
|
685
|
+
Q = Tt.value, re = ce + $e(Q, fn++), se += Fe(Q, r, i, re, b);
|
|
686
686
|
} else if (R === "object") {
|
|
687
687
|
var Ot = String(e);
|
|
688
688
|
throw new Error("Objects are not valid as a React child (found: " + (Ot === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : Ot) + "). If you meant to render a collection of children, use an array instead.");
|
|
@@ -799,23 +799,23 @@ function Jn() {
|
|
|
799
799
|
}
|
|
800
800
|
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
|
801
801
|
}
|
|
802
|
-
var Le = -1,
|
|
803
|
-
function
|
|
802
|
+
var Le = -1, He = 0, tr = 1, Mr = 2;
|
|
803
|
+
function Br(e) {
|
|
804
804
|
if (e._status === Le) {
|
|
805
805
|
var r = e._result, i = r();
|
|
806
806
|
if (i.then(function(R) {
|
|
807
|
-
if (e._status ===
|
|
807
|
+
if (e._status === He || e._status === Le) {
|
|
808
808
|
var w = e;
|
|
809
809
|
w._status = tr, w._result = R;
|
|
810
810
|
}
|
|
811
811
|
}, function(R) {
|
|
812
|
-
if (e._status ===
|
|
812
|
+
if (e._status === He || e._status === Le) {
|
|
813
813
|
var w = e;
|
|
814
814
|
w._status = Mr, w._result = R;
|
|
815
815
|
}
|
|
816
816
|
}), e._status === Le) {
|
|
817
817
|
var c = e;
|
|
818
|
-
c._status =
|
|
818
|
+
c._status = He, c._result = i;
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
821
|
if (e._status === tr) {
|
|
@@ -832,15 +832,15 @@ Your code should look like:
|
|
|
832
832
|
} else
|
|
833
833
|
throw e._result;
|
|
834
834
|
}
|
|
835
|
-
function
|
|
835
|
+
function Wr(e) {
|
|
836
836
|
var r = {
|
|
837
837
|
// We use these fields to store the result.
|
|
838
838
|
_status: Le,
|
|
839
839
|
_result: e
|
|
840
840
|
}, i = {
|
|
841
|
-
$$typeof:
|
|
841
|
+
$$typeof: k,
|
|
842
842
|
_payload: r,
|
|
843
|
-
_init:
|
|
843
|
+
_init: Br
|
|
844
844
|
};
|
|
845
845
|
{
|
|
846
846
|
var c, b;
|
|
@@ -871,7 +871,7 @@ Your code should look like:
|
|
|
871
871
|
}
|
|
872
872
|
return i;
|
|
873
873
|
}
|
|
874
|
-
function
|
|
874
|
+
function Ur(e) {
|
|
875
875
|
e != null && e.$$typeof === T ? E("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? E("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && E("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && E("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
876
876
|
var r = {
|
|
877
877
|
$$typeof: j,
|
|
@@ -895,7 +895,7 @@ Your code should look like:
|
|
|
895
895
|
var t;
|
|
896
896
|
t = Symbol.for("react.module.reference");
|
|
897
897
|
function m(e) {
|
|
898
|
-
return !!(typeof e == "string" || typeof e == "function" || e === f || e === v || me || e === h || e === _ || e === O || ve || e === ae || Oe || Je || Pe || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
898
|
+
return !!(typeof e == "string" || typeof e == "function" || e === f || e === v || me || e === h || e === _ || e === O || ve || e === ae || Oe || Je || Pe || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === T || e.$$typeof === g || e.$$typeof === p || e.$$typeof === j || // This needs to include all possible module reference object
|
|
899
899
|
// types supported by any Flight configuration anywhere since
|
|
900
900
|
// we don't know which Flight build this will end up being used
|
|
901
901
|
// with.
|
|
@@ -931,7 +931,7 @@ Your code should look like:
|
|
|
931
931
|
3. You might have more than one copy of React in the same app
|
|
932
932
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
|
933
933
|
}
|
|
934
|
-
function
|
|
934
|
+
function B(e) {
|
|
935
935
|
var r = C();
|
|
936
936
|
if (e._context !== void 0) {
|
|
937
937
|
var i = e._context;
|
|
@@ -939,7 +939,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
939
939
|
}
|
|
940
940
|
return r.useContext(e);
|
|
941
941
|
}
|
|
942
|
-
function
|
|
942
|
+
function V(e) {
|
|
943
943
|
var r = C();
|
|
944
944
|
return r.useState(e);
|
|
945
945
|
}
|
|
@@ -967,7 +967,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
967
967
|
var i = C();
|
|
968
968
|
return i.useCallback(e, r);
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function ke(e, r) {
|
|
971
971
|
var i = C();
|
|
972
972
|
return i.useMemo(e, r);
|
|
973
973
|
}
|
|
@@ -985,7 +985,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
985
985
|
var e = C();
|
|
986
986
|
return e.useTransition();
|
|
987
987
|
}
|
|
988
|
-
function
|
|
988
|
+
function Vr(e) {
|
|
989
989
|
var r = C();
|
|
990
990
|
return r.useDeferredValue(e);
|
|
991
991
|
}
|
|
@@ -993,7 +993,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
993
993
|
var e = C();
|
|
994
994
|
return e.useId();
|
|
995
995
|
}
|
|
996
|
-
function
|
|
996
|
+
function Yt(e, r, i) {
|
|
997
997
|
var c = C();
|
|
998
998
|
return c.useSyncExternalStore(e, r, i);
|
|
999
999
|
}
|
|
@@ -1001,7 +1001,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1001
1001
|
function vt() {
|
|
1002
1002
|
}
|
|
1003
1003
|
vt.__reactDisabledLog = !0;
|
|
1004
|
-
function
|
|
1004
|
+
function zt() {
|
|
1005
1005
|
{
|
|
1006
1006
|
if (ar === 0) {
|
|
1007
1007
|
it = console.log, lt = console.info, ut = console.warn, ct = console.error, ft = console.group, dt = console.groupCollapsed, pt = console.groupEnd;
|
|
@@ -1024,7 +1024,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1024
1024
|
ar++;
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function Ht() {
|
|
1028
1028
|
{
|
|
1029
1029
|
if (ar--, ar === 0) {
|
|
1030
1030
|
var e = {
|
|
@@ -1059,27 +1059,27 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1059
1059
|
ar < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
|
-
var zr = le.ReactCurrentDispatcher,
|
|
1062
|
+
var zr = le.ReactCurrentDispatcher, Hr;
|
|
1063
1063
|
function gr(e, r, i) {
|
|
1064
1064
|
{
|
|
1065
|
-
if (
|
|
1065
|
+
if (Hr === void 0)
|
|
1066
1066
|
try {
|
|
1067
1067
|
throw Error();
|
|
1068
1068
|
} catch (b) {
|
|
1069
1069
|
var c = b.stack.trim().match(/\n( *(at )?)/);
|
|
1070
|
-
|
|
1070
|
+
Hr = c && c[1] || "";
|
|
1071
1071
|
}
|
|
1072
1072
|
return `
|
|
1073
|
-
` +
|
|
1073
|
+
` + Hr + e;
|
|
1074
1074
|
}
|
|
1075
1075
|
}
|
|
1076
|
-
var
|
|
1076
|
+
var qr = !1, xr;
|
|
1077
1077
|
{
|
|
1078
|
-
var
|
|
1079
|
-
xr = new
|
|
1078
|
+
var qt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1079
|
+
xr = new qt();
|
|
1080
1080
|
}
|
|
1081
1081
|
function mt(e, r) {
|
|
1082
|
-
if (!e ||
|
|
1082
|
+
if (!e || qr)
|
|
1083
1083
|
return "";
|
|
1084
1084
|
{
|
|
1085
1085
|
var i = xr.get(e);
|
|
@@ -1087,11 +1087,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1087
1087
|
return i;
|
|
1088
1088
|
}
|
|
1089
1089
|
var c;
|
|
1090
|
-
|
|
1090
|
+
qr = !0;
|
|
1091
1091
|
var b = Error.prepareStackTrace;
|
|
1092
1092
|
Error.prepareStackTrace = void 0;
|
|
1093
1093
|
var R;
|
|
1094
|
-
R = zr.current, zr.current = null,
|
|
1094
|
+
R = zr.current, zr.current = null, zt();
|
|
1095
1095
|
try {
|
|
1096
1096
|
if (r) {
|
|
1097
1097
|
var w = function() {
|
|
@@ -1126,33 +1126,33 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1126
1126
|
}
|
|
1127
1127
|
} catch (ce) {
|
|
1128
1128
|
if (ce && c && typeof ce.stack == "string") {
|
|
1129
|
-
for (var
|
|
1129
|
+
for (var S = ce.stack.split(`
|
|
1130
1130
|
`), L = c.stack.split(`
|
|
1131
|
-
`),
|
|
1131
|
+
`), q = S.length - 1, Z = L.length - 1; q >= 1 && Z >= 0 && S[q] !== L[Z]; )
|
|
1132
1132
|
Z--;
|
|
1133
|
-
for (;
|
|
1134
|
-
if (
|
|
1135
|
-
if (
|
|
1133
|
+
for (; q >= 1 && Z >= 0; q--, Z--)
|
|
1134
|
+
if (S[q] !== L[Z]) {
|
|
1135
|
+
if (q !== 1 || Z !== 1)
|
|
1136
1136
|
do
|
|
1137
|
-
if (
|
|
1137
|
+
if (q--, Z--, Z < 0 || S[q] !== L[Z]) {
|
|
1138
1138
|
var Q = `
|
|
1139
|
-
` +
|
|
1139
|
+
` + S[q].replace(" at new ", " at ");
|
|
1140
1140
|
return e.displayName && Q.includes("<anonymous>") && (Q = Q.replace("<anonymous>", e.displayName)), typeof e == "function" && xr.set(e, Q), Q;
|
|
1141
1141
|
}
|
|
1142
|
-
while (
|
|
1142
|
+
while (q >= 1 && Z >= 0);
|
|
1143
1143
|
break;
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
1146
|
} finally {
|
|
1147
|
-
|
|
1147
|
+
qr = !1, zr.current = R, Ht(), Error.prepareStackTrace = b;
|
|
1148
1148
|
}
|
|
1149
1149
|
var re = e ? e.displayName || e.name : "", se = re ? gr(re) : "";
|
|
1150
1150
|
return typeof e == "function" && xr.set(e, se), se;
|
|
1151
1151
|
}
|
|
1152
|
-
function
|
|
1152
|
+
function Gt(e, r, i) {
|
|
1153
1153
|
return mt(e, !1);
|
|
1154
1154
|
}
|
|
1155
|
-
function
|
|
1155
|
+
function Kt(e) {
|
|
1156
1156
|
var r = e.prototype;
|
|
1157
1157
|
return !!(r && r.isReactComponent);
|
|
1158
1158
|
}
|
|
@@ -1160,7 +1160,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1160
1160
|
if (e == null)
|
|
1161
1161
|
return "";
|
|
1162
1162
|
if (typeof e == "function")
|
|
1163
|
-
return mt(e,
|
|
1163
|
+
return mt(e, Kt(e));
|
|
1164
1164
|
if (typeof e == "string")
|
|
1165
1165
|
return gr(e);
|
|
1166
1166
|
switch (e) {
|
|
@@ -1172,10 +1172,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1172
1172
|
if (typeof e == "object")
|
|
1173
1173
|
switch (e.$$typeof) {
|
|
1174
1174
|
case j:
|
|
1175
|
-
return
|
|
1175
|
+
return Gt(e.render);
|
|
1176
1176
|
case T:
|
|
1177
1177
|
return _r(e.type, r, i);
|
|
1178
|
-
case
|
|
1178
|
+
case k: {
|
|
1179
1179
|
var c = e, b = c._payload, R = c._init;
|
|
1180
1180
|
try {
|
|
1181
1181
|
return _r(R(b), r, i);
|
|
@@ -1193,34 +1193,34 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1193
1193
|
} else
|
|
1194
1194
|
yt.setExtraStackFrame(null);
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function Jt(e, r, i, c, b) {
|
|
1197
1197
|
{
|
|
1198
1198
|
var R = Function.call.bind(De);
|
|
1199
1199
|
for (var w in e)
|
|
1200
1200
|
if (R(e, w)) {
|
|
1201
|
-
var
|
|
1201
|
+
var S = void 0;
|
|
1202
1202
|
try {
|
|
1203
1203
|
if (typeof e[w] != "function") {
|
|
1204
1204
|
var L = Error((c || "React class") + ": " + i + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1205
1205
|
throw L.name = "Invariant Violation", L;
|
|
1206
1206
|
}
|
|
1207
|
-
|
|
1208
|
-
} catch (
|
|
1209
|
-
|
|
1207
|
+
S = e[w](r, w, c, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1208
|
+
} catch (q) {
|
|
1209
|
+
S = q;
|
|
1210
1210
|
}
|
|
1211
|
-
|
|
1211
|
+
S && !(S instanceof Error) && (jr(b), E("%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).", c || "React class", i, w, typeof S), jr(null)), S instanceof Error && !(S.message in ht) && (ht[S.message] = !0, jr(b), E("Failed %s type: %s", i, S.message), jr(null));
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
|
-
function
|
|
1215
|
+
function qe(e) {
|
|
1216
1216
|
if (e) {
|
|
1217
1217
|
var r = e._owner, i = _r(e.type, e._source, r ? r.type : null);
|
|
1218
1218
|
Te(i);
|
|
1219
1219
|
} else
|
|
1220
1220
|
Te(null);
|
|
1221
1221
|
}
|
|
1222
|
-
var
|
|
1223
|
-
|
|
1222
|
+
var Gr;
|
|
1223
|
+
Gr = !1;
|
|
1224
1224
|
function bt() {
|
|
1225
1225
|
if (ie.current) {
|
|
1226
1226
|
var e = _e(ie.current.type);
|
|
@@ -1231,7 +1231,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1231
1231
|
}
|
|
1232
1232
|
return "";
|
|
1233
1233
|
}
|
|
1234
|
-
function
|
|
1234
|
+
function Xt(e) {
|
|
1235
1235
|
if (e !== void 0) {
|
|
1236
1236
|
var r = e.fileName.replace(/^.*[\\\/]/, ""), i = e.lineNumber;
|
|
1237
1237
|
return `
|
|
@@ -1240,11 +1240,11 @@ Check your code at ` + r + ":" + i + ".";
|
|
|
1240
1240
|
}
|
|
1241
1241
|
return "";
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return e != null ?
|
|
1243
|
+
function Zt(e) {
|
|
1244
|
+
return e != null ? Xt(e.__source) : "";
|
|
1245
1245
|
}
|
|
1246
1246
|
var gt = {};
|
|
1247
|
-
function
|
|
1247
|
+
function Qt(e) {
|
|
1248
1248
|
var r = bt();
|
|
1249
1249
|
if (!r) {
|
|
1250
1250
|
var i = typeof e == "string" ? e : e.displayName || e.name;
|
|
@@ -1257,17 +1257,17 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1257
1257
|
function xt(e, r) {
|
|
1258
1258
|
if (!(!e._store || e._store.validated || e.key != null)) {
|
|
1259
1259
|
e._store.validated = !0;
|
|
1260
|
-
var i =
|
|
1260
|
+
var i = Qt(r);
|
|
1261
1261
|
if (!gt[i]) {
|
|
1262
1262
|
gt[i] = !0;
|
|
1263
1263
|
var c = "";
|
|
1264
|
-
e && e._owner && e._owner !== ie.current && (c = " It was passed a child from " + _e(e._owner.type) + "."),
|
|
1264
|
+
e && e._owner && e._owner !== ie.current && (c = " It was passed a child from " + _e(e._owner.type) + "."), qe(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, c), qe(null);
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
1267
1267
|
}
|
|
1268
1268
|
function _t(e, r) {
|
|
1269
1269
|
if (typeof e == "object") {
|
|
1270
|
-
if (
|
|
1270
|
+
if (Be(e))
|
|
1271
1271
|
for (var i = 0; i < e.length; i++) {
|
|
1272
1272
|
var c = e[i];
|
|
1273
1273
|
Re(c) && xt(c, r);
|
|
@@ -1298,25 +1298,25 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1298
1298
|
return;
|
|
1299
1299
|
if (i) {
|
|
1300
1300
|
var c = _e(r);
|
|
1301
|
-
|
|
1302
|
-
} else if (r.PropTypes !== void 0 && !
|
|
1303
|
-
|
|
1301
|
+
Jt(i, e.props, "prop", c, e);
|
|
1302
|
+
} else if (r.PropTypes !== void 0 && !Gr) {
|
|
1303
|
+
Gr = !0;
|
|
1304
1304
|
var b = _e(r);
|
|
1305
1305
|
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
|
|
1306
1306
|
}
|
|
1307
1307
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function en(e) {
|
|
1311
1311
|
{
|
|
1312
1312
|
for (var r = Object.keys(e.props), i = 0; i < r.length; i++) {
|
|
1313
1313
|
var c = r[i];
|
|
1314
1314
|
if (c !== "children" && c !== "key") {
|
|
1315
|
-
|
|
1315
|
+
qe(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), qe(null);
|
|
1316
1316
|
break;
|
|
1317
1317
|
}
|
|
1318
1318
|
}
|
|
1319
|
-
e.ref !== null && (
|
|
1319
|
+
e.ref !== null && (qe(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), qe(null));
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
1322
|
function Ct(e, r, i) {
|
|
@@ -1324,21 +1324,21 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1324
1324
|
if (!c) {
|
|
1325
1325
|
var b = "";
|
|
1326
1326
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1327
|
-
var R =
|
|
1327
|
+
var R = Zt(r);
|
|
1328
1328
|
R ? b += R : b += bt();
|
|
1329
1329
|
var w;
|
|
1330
|
-
e === null ? w = "null" :
|
|
1330
|
+
e === null ? w = "null" : Be(e) ? w = "array" : e !== void 0 && e.$$typeof === l ? (w = "<" + (_e(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, E("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, b);
|
|
1331
1331
|
}
|
|
1332
|
-
var
|
|
1333
|
-
if (
|
|
1334
|
-
return
|
|
1332
|
+
var S = Ar.apply(this, arguments);
|
|
1333
|
+
if (S == null)
|
|
1334
|
+
return S;
|
|
1335
1335
|
if (c)
|
|
1336
1336
|
for (var L = 2; L < arguments.length; L++)
|
|
1337
1337
|
_t(arguments[L], e);
|
|
1338
|
-
return e === f ?
|
|
1338
|
+
return e === f ? en(S) : jt(S), S;
|
|
1339
1339
|
}
|
|
1340
1340
|
var wt = !1;
|
|
1341
|
-
function
|
|
1341
|
+
function rn(e) {
|
|
1342
1342
|
var r = Ct.bind(null, e);
|
|
1343
1343
|
return r.type = e, wt || (wt = !0, be("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
|
|
1344
1344
|
enumerable: !1,
|
|
@@ -1349,27 +1349,27 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1349
1349
|
}
|
|
1350
1350
|
}), r;
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1352
|
+
function tn(e, r, i) {
|
|
1353
1353
|
for (var c = Dr.apply(this, arguments), b = 2; b < arguments.length; b++)
|
|
1354
1354
|
_t(arguments[b], c.type);
|
|
1355
1355
|
return jt(c), c;
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1358
|
-
var i =
|
|
1359
|
-
|
|
1360
|
-
var c =
|
|
1361
|
-
|
|
1357
|
+
function nn(e, r) {
|
|
1358
|
+
var i = K.transition;
|
|
1359
|
+
K.transition = {};
|
|
1360
|
+
var c = K.transition;
|
|
1361
|
+
K.transition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1362
1362
|
try {
|
|
1363
1363
|
e();
|
|
1364
1364
|
} finally {
|
|
1365
|
-
if (
|
|
1365
|
+
if (K.transition = i, i === null && c._updatedFibers) {
|
|
1366
1366
|
var b = c._updatedFibers.size;
|
|
1367
1367
|
b > 10 && be("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), c._updatedFibers.clear();
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
1370
|
}
|
|
1371
1371
|
var Et = !1, Cr = null;
|
|
1372
|
-
function
|
|
1372
|
+
function an(e) {
|
|
1373
1373
|
if (Cr === null)
|
|
1374
1374
|
try {
|
|
1375
1375
|
var r = ("require" + Math.random()).slice(0, 7), i = o && o[r];
|
|
@@ -1383,11 +1383,11 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1383
1383
|
}
|
|
1384
1384
|
return Cr(e);
|
|
1385
1385
|
}
|
|
1386
|
-
var
|
|
1387
|
-
function
|
|
1386
|
+
var Ge = 0, Rt = !1;
|
|
1387
|
+
function St(e) {
|
|
1388
1388
|
{
|
|
1389
|
-
var r =
|
|
1390
|
-
|
|
1389
|
+
var r = Ge;
|
|
1390
|
+
Ge++, X.current === null && (X.current = []);
|
|
1391
1391
|
var i = X.isBatchingLegacy, c;
|
|
1392
1392
|
try {
|
|
1393
1393
|
if (X.isBatchingLegacy = !0, c = e(), !i && X.didScheduleLegacyUpdate) {
|
|
@@ -1400,10 +1400,10 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1400
1400
|
X.isBatchingLegacy = i;
|
|
1401
1401
|
}
|
|
1402
1402
|
if (c !== null && typeof c == "object" && typeof c.then == "function") {
|
|
1403
|
-
var R = c, w = !1,
|
|
1403
|
+
var R = c, w = !1, S = {
|
|
1404
1404
|
then: function(re, se) {
|
|
1405
1405
|
w = !0, R.then(function(ce) {
|
|
1406
|
-
wr(r),
|
|
1406
|
+
wr(r), Ge === 0 ? Kr(ce, re, se) : re(ce);
|
|
1407
1407
|
}, function(ce) {
|
|
1408
1408
|
wr(r), se(ce);
|
|
1409
1409
|
});
|
|
@@ -1412,15 +1412,15 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1412
1412
|
return !Rt && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
1413
1413
|
}).then(function() {
|
|
1414
1414
|
w || (Rt = !0, E("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
|
|
1415
|
-
}),
|
|
1415
|
+
}), S;
|
|
1416
1416
|
} else {
|
|
1417
1417
|
var L = c;
|
|
1418
|
-
if (wr(r),
|
|
1419
|
-
var
|
|
1420
|
-
|
|
1418
|
+
if (wr(r), Ge === 0) {
|
|
1419
|
+
var q = X.current;
|
|
1420
|
+
q !== null && (Xr(q), X.current = null);
|
|
1421
1421
|
var Z = {
|
|
1422
1422
|
then: function(re, se) {
|
|
1423
|
-
X.current === null ? (X.current = [],
|
|
1423
|
+
X.current === null ? (X.current = [], Kr(L, re, se)) : re(L);
|
|
1424
1424
|
}
|
|
1425
1425
|
};
|
|
1426
1426
|
return Z;
|
|
@@ -1436,15 +1436,15 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
1438
1438
|
function wr(e) {
|
|
1439
|
-
e !==
|
|
1439
|
+
e !== Ge - 1 && E("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ge = e;
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1441
|
+
function Kr(e, r, i) {
|
|
1442
1442
|
{
|
|
1443
1443
|
var c = X.current;
|
|
1444
1444
|
if (c !== null)
|
|
1445
1445
|
try {
|
|
1446
|
-
Xr(c),
|
|
1447
|
-
c.length === 0 ? (X.current = null, r(e)) :
|
|
1446
|
+
Xr(c), an(function() {
|
|
1447
|
+
c.length === 0 ? (X.current = null, r(e)) : Kr(e, r, i);
|
|
1448
1448
|
});
|
|
1449
1449
|
} catch (b) {
|
|
1450
1450
|
i(b);
|
|
@@ -1473,20 +1473,20 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1473
1473
|
}
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
|
-
var
|
|
1476
|
+
var on = Ct, sn = tn, ln = rn, un = {
|
|
1477
1477
|
map: ze,
|
|
1478
1478
|
forEach: Fr,
|
|
1479
1479
|
count: hr,
|
|
1480
1480
|
toArray: yr,
|
|
1481
1481
|
only: br
|
|
1482
1482
|
};
|
|
1483
|
-
a.Children =
|
|
1483
|
+
a.Children = un, a.Component = $, a.Fragment = f, a.Profiler = v, a.PureComponent = U, a.StrictMode = h, a.Suspense = _, a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = le, a.act = St, a.cloneElement = sn, a.createContext = Lr, a.createElement = on, a.createFactory = ln, a.createRef = Or, a.forwardRef = Ur, a.isValidElement = Re, a.lazy = Wr, a.memo = x, a.startTransition = nn, a.unstable_act = St, a.useCallback = he, a.useContext = B, a.useDebugValue = fe, a.useDeferredValue = Vr, a.useEffect = ue, a.useId = Yr, a.useImperativeHandle = we, a.useInsertionEffect = ee, a.useLayoutEffect = te, a.useMemo = ke, a.useReducer = D, a.useRef = P, a.useState = V, a.useSyncExternalStore = Yt, a.useTransition = nr, a.version = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1484
1484
|
}();
|
|
1485
1485
|
}(ir, ir.exports)), ir.exports;
|
|
1486
1486
|
}
|
|
1487
1487
|
var It;
|
|
1488
1488
|
function at() {
|
|
1489
|
-
return It || (It = 1, process.env.NODE_ENV === "production" ? Tr.exports =
|
|
1489
|
+
return It || (It = 1, process.env.NODE_ENV === "production" ? Tr.exports = Kn() : Tr.exports = Jn()), Tr.exports;
|
|
1490
1490
|
}
|
|
1491
1491
|
/**
|
|
1492
1492
|
* @license React
|
|
@@ -1524,11 +1524,11 @@ var sr = {};
|
|
|
1524
1524
|
var $t;
|
|
1525
1525
|
function Zn() {
|
|
1526
1526
|
return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1527
|
-
var o = at(), a = Symbol.for("react.element"), u = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), v = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"),
|
|
1527
|
+
var o = at(), a = Symbol.for("react.element"), u = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), v = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), k = Symbol.iterator, ae = "@@iterator";
|
|
1528
1528
|
function de(t) {
|
|
1529
1529
|
if (t === null || typeof t != "object")
|
|
1530
1530
|
return null;
|
|
1531
|
-
var m =
|
|
1531
|
+
var m = k && t[k] || t[ae];
|
|
1532
1532
|
return typeof m == "function" ? m : null;
|
|
1533
1533
|
}
|
|
1534
1534
|
var A = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -1541,18 +1541,18 @@ function Zn() {
|
|
|
1541
1541
|
}
|
|
1542
1542
|
function ge(t, m, x) {
|
|
1543
1543
|
{
|
|
1544
|
-
var C = A.ReactDebugCurrentFrame,
|
|
1545
|
-
|
|
1546
|
-
var
|
|
1544
|
+
var C = A.ReactDebugCurrentFrame, B = C.getStackAddendum();
|
|
1545
|
+
B !== "" && (m += "%s", x = x.concat([B]));
|
|
1546
|
+
var V = x.map(function(D) {
|
|
1547
1547
|
return String(D);
|
|
1548
1548
|
});
|
|
1549
|
-
|
|
1549
|
+
V.unshift("Warning: " + m), Function.prototype.apply.call(console[t], console, V);
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
|
-
var
|
|
1552
|
+
var K = !1, X = !1, ie = !1, pe = !1, je = !1, Te;
|
|
1553
1553
|
Te = Symbol.for("react.module.reference");
|
|
1554
1554
|
function Oe(t) {
|
|
1555
|
-
return !!(typeof t == "string" || typeof t == "function" || t === l || t === f || je || t === d || t === p || t === j || pe || t === T ||
|
|
1555
|
+
return !!(typeof t == "string" || typeof t == "function" || t === l || t === f || je || t === d || t === p || t === j || pe || t === T || K || X || ie || typeof t == "object" && t !== null && (t.$$typeof === O || t.$$typeof === _ || t.$$typeof === h || t.$$typeof === v || t.$$typeof === g || // This needs to include all possible module reference object
|
|
1556
1556
|
// types supported by any Flight configuration anywhere since
|
|
1557
1557
|
// we don't know which Flight build this will end up being used
|
|
1558
1558
|
// with.
|
|
@@ -1562,8 +1562,8 @@ function Zn() {
|
|
|
1562
1562
|
var C = t.displayName;
|
|
1563
1563
|
if (C)
|
|
1564
1564
|
return C;
|
|
1565
|
-
var
|
|
1566
|
-
return
|
|
1565
|
+
var B = m.displayName || m.name || "";
|
|
1566
|
+
return B !== "" ? x + "(" + B + ")" : x;
|
|
1567
1567
|
}
|
|
1568
1568
|
function Pe(t) {
|
|
1569
1569
|
return t.displayName || "Context";
|
|
@@ -1603,9 +1603,9 @@ function Zn() {
|
|
|
1603
1603
|
var C = t.displayName || null;
|
|
1604
1604
|
return C !== null ? C : ve(t.type) || "Memo";
|
|
1605
1605
|
case O: {
|
|
1606
|
-
var
|
|
1606
|
+
var B = t, V = B._payload, D = B._init;
|
|
1607
1607
|
try {
|
|
1608
|
-
return ve(D(
|
|
1608
|
+
return ve(D(V));
|
|
1609
1609
|
} catch {
|
|
1610
1610
|
return null;
|
|
1611
1611
|
}
|
|
@@ -1675,27 +1675,27 @@ function Zn() {
|
|
|
1675
1675
|
le < 0 && Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
|
-
var J = A.ReactCurrentDispatcher,
|
|
1678
|
+
var J = A.ReactCurrentDispatcher, H;
|
|
1679
1679
|
function z(t, m, x) {
|
|
1680
1680
|
{
|
|
1681
|
-
if (
|
|
1681
|
+
if (H === void 0)
|
|
1682
1682
|
try {
|
|
1683
1683
|
throw Error();
|
|
1684
|
-
} catch (
|
|
1685
|
-
var C =
|
|
1686
|
-
|
|
1684
|
+
} catch (B) {
|
|
1685
|
+
var C = B.stack.trim().match(/\n( *(at )?)/);
|
|
1686
|
+
H = C && C[1] || "";
|
|
1687
1687
|
}
|
|
1688
1688
|
return `
|
|
1689
|
-
` +
|
|
1689
|
+
` + H + t;
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
|
-
var
|
|
1692
|
+
var U = !1, oe;
|
|
1693
1693
|
{
|
|
1694
1694
|
var Or = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1695
1695
|
oe = new Or();
|
|
1696
1696
|
}
|
|
1697
1697
|
function ur(t, m) {
|
|
1698
|
-
if (!t ||
|
|
1698
|
+
if (!t || U)
|
|
1699
1699
|
return "";
|
|
1700
1700
|
{
|
|
1701
1701
|
var x = oe.get(t);
|
|
@@ -1703,11 +1703,11 @@ function Zn() {
|
|
|
1703
1703
|
return x;
|
|
1704
1704
|
}
|
|
1705
1705
|
var C;
|
|
1706
|
-
|
|
1707
|
-
var
|
|
1706
|
+
U = !0;
|
|
1707
|
+
var B = Error.prepareStackTrace;
|
|
1708
1708
|
Error.prepareStackTrace = void 0;
|
|
1709
|
-
var
|
|
1710
|
-
|
|
1709
|
+
var V;
|
|
1710
|
+
V = J.current, J.current = null, $();
|
|
1711
1711
|
try {
|
|
1712
1712
|
if (m) {
|
|
1713
1713
|
var D = function() {
|
|
@@ -1760,19 +1760,19 @@ function Zn() {
|
|
|
1760
1760
|
}
|
|
1761
1761
|
}
|
|
1762
1762
|
} finally {
|
|
1763
|
-
|
|
1763
|
+
U = !1, J.current = V, M(), Error.prepareStackTrace = B;
|
|
1764
1764
|
}
|
|
1765
|
-
var
|
|
1765
|
+
var ke = t ? t.displayName || t.name : "", we = ke ? z(ke) : "";
|
|
1766
1766
|
return typeof t == "function" && oe.set(t, we), we;
|
|
1767
1767
|
}
|
|
1768
|
-
function
|
|
1768
|
+
function Be(t, m, x) {
|
|
1769
1769
|
return ur(t, !1);
|
|
1770
1770
|
}
|
|
1771
1771
|
function Pr(t) {
|
|
1772
1772
|
var m = t.prototype;
|
|
1773
1773
|
return !!(m && m.isReactComponent);
|
|
1774
1774
|
}
|
|
1775
|
-
function
|
|
1775
|
+
function We(t, m, x) {
|
|
1776
1776
|
if (t == null)
|
|
1777
1777
|
return "";
|
|
1778
1778
|
if (typeof t == "function")
|
|
@@ -1788,13 +1788,13 @@ function Zn() {
|
|
|
1788
1788
|
if (typeof t == "object")
|
|
1789
1789
|
switch (t.$$typeof) {
|
|
1790
1790
|
case g:
|
|
1791
|
-
return
|
|
1791
|
+
return Be(t.render);
|
|
1792
1792
|
case _:
|
|
1793
|
-
return
|
|
1793
|
+
return We(t.type, m, x);
|
|
1794
1794
|
case O: {
|
|
1795
|
-
var C = t,
|
|
1795
|
+
var C = t, B = C._payload, V = C._init;
|
|
1796
1796
|
try {
|
|
1797
|
-
return
|
|
1797
|
+
return We(V(B), m, x);
|
|
1798
1798
|
} catch {
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
@@ -1804,16 +1804,16 @@ function Zn() {
|
|
|
1804
1804
|
var Ee = Object.prototype.hasOwnProperty, Ae = {}, cr = A.ReactDebugCurrentFrame;
|
|
1805
1805
|
function Ie(t) {
|
|
1806
1806
|
if (t) {
|
|
1807
|
-
var m = t._owner, x =
|
|
1807
|
+
var m = t._owner, x = We(t.type, t._source, m ? m.type : null);
|
|
1808
1808
|
cr.setExtraStackFrame(x);
|
|
1809
1809
|
} else
|
|
1810
1810
|
cr.setExtraStackFrame(null);
|
|
1811
1811
|
}
|
|
1812
|
-
function _e(t, m, x, C,
|
|
1812
|
+
function _e(t, m, x, C, B) {
|
|
1813
1813
|
{
|
|
1814
|
-
var
|
|
1814
|
+
var V = Function.call.bind(Ee);
|
|
1815
1815
|
for (var D in t)
|
|
1816
|
-
if (
|
|
1816
|
+
if (V(t, D)) {
|
|
1817
1817
|
var P = void 0;
|
|
1818
1818
|
try {
|
|
1819
1819
|
if (typeof t[D] != "function") {
|
|
@@ -1824,12 +1824,12 @@ function Zn() {
|
|
|
1824
1824
|
} catch (ee) {
|
|
1825
1825
|
P = ee;
|
|
1826
1826
|
}
|
|
1827
|
-
P && !(P instanceof Error) && (Ie(
|
|
1827
|
+
P && !(P instanceof Error) && (Ie(B), Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", C || "React class", x, D, typeof P), Ie(null)), P instanceof Error && !(P.message in Ae) && (Ae[P.message] = !0, Ie(B), Y("Failed %s type: %s", x, P.message), Ie(null));
|
|
1828
1828
|
}
|
|
1829
1829
|
}
|
|
1830
1830
|
}
|
|
1831
1831
|
var De = Array.isArray;
|
|
1832
|
-
function
|
|
1832
|
+
function Ue(t) {
|
|
1833
1833
|
return De(t);
|
|
1834
1834
|
}
|
|
1835
1835
|
function fr(t) {
|
|
@@ -1840,17 +1840,17 @@ function Zn() {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
function dr(t) {
|
|
1842
1842
|
try {
|
|
1843
|
-
return
|
|
1843
|
+
return Ve(t), !1;
|
|
1844
1844
|
} catch {
|
|
1845
1845
|
return !0;
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1848
|
+
function Ve(t) {
|
|
1849
1849
|
return "" + t;
|
|
1850
1850
|
}
|
|
1851
1851
|
function Xe(t) {
|
|
1852
1852
|
if (dr(t))
|
|
1853
|
-
return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", fr(t)),
|
|
1853
|
+
return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", fr(t)), Ve(t);
|
|
1854
1854
|
}
|
|
1855
1855
|
var Ze = A.ReactCurrentOwner, Nr = {
|
|
1856
1856
|
key: !0,
|
|
@@ -1899,7 +1899,7 @@ function Zn() {
|
|
|
1899
1899
|
});
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
|
-
var mr = function(t, m, x, C,
|
|
1902
|
+
var mr = function(t, m, x, C, B, V, D) {
|
|
1903
1903
|
var P = {
|
|
1904
1904
|
// This tag allows us to uniquely identify this as a React Element
|
|
1905
1905
|
$$typeof: a,
|
|
@@ -1909,7 +1909,7 @@ function Zn() {
|
|
|
1909
1909
|
ref: x,
|
|
1910
1910
|
props: D,
|
|
1911
1911
|
// Record the component responsible for creating this element.
|
|
1912
|
-
_owner:
|
|
1912
|
+
_owner: V
|
|
1913
1913
|
};
|
|
1914
1914
|
return P._store = {}, Object.defineProperty(P._store, "validated", {
|
|
1915
1915
|
configurable: !1,
|
|
@@ -1925,31 +1925,31 @@ function Zn() {
|
|
|
1925
1925
|
configurable: !1,
|
|
1926
1926
|
enumerable: !1,
|
|
1927
1927
|
writable: !1,
|
|
1928
|
-
value:
|
|
1928
|
+
value: B
|
|
1929
1929
|
}), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
|
|
1930
1930
|
};
|
|
1931
|
-
function $r(t, m, x, C,
|
|
1931
|
+
function $r(t, m, x, C, B) {
|
|
1932
1932
|
{
|
|
1933
|
-
var
|
|
1934
|
-
x !== void 0 && (Xe(x), P = "" + x), Ar(m) && (Xe(m.key), P = "" + m.key), Qe(m) && (ue = m.ref, Ir(m,
|
|
1935
|
-
for (
|
|
1936
|
-
Ee.call(m,
|
|
1933
|
+
var V, D = {}, P = null, ue = null;
|
|
1934
|
+
x !== void 0 && (Xe(x), P = "" + x), Ar(m) && (Xe(m.key), P = "" + m.key), Qe(m) && (ue = m.ref, Ir(m, B));
|
|
1935
|
+
for (V in m)
|
|
1936
|
+
Ee.call(m, V) && !Nr.hasOwnProperty(V) && (D[V] = m[V]);
|
|
1937
1937
|
if (t && t.defaultProps) {
|
|
1938
1938
|
var ee = t.defaultProps;
|
|
1939
|
-
for (
|
|
1940
|
-
D[
|
|
1939
|
+
for (V in ee)
|
|
1940
|
+
D[V] === void 0 && (D[V] = ee[V]);
|
|
1941
1941
|
}
|
|
1942
1942
|
if (P || ue) {
|
|
1943
1943
|
var te = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1944
1944
|
P && Dr(D, te), ue && Re(D, te);
|
|
1945
1945
|
}
|
|
1946
|
-
return mr(t, P, ue,
|
|
1946
|
+
return mr(t, P, ue, B, C, Ze.current, D);
|
|
1947
1947
|
}
|
|
1948
1948
|
}
|
|
1949
1949
|
var er = A.ReactCurrentOwner, rr = A.ReactDebugCurrentFrame;
|
|
1950
|
-
function
|
|
1950
|
+
function Se(t) {
|
|
1951
1951
|
if (t) {
|
|
1952
|
-
var m = t._owner, x =
|
|
1952
|
+
var m = t._owner, x = We(t.type, t._source, m ? m.type : null);
|
|
1953
1953
|
rr.setExtraStackFrame(x);
|
|
1954
1954
|
} else
|
|
1955
1955
|
rr.setExtraStackFrame(null);
|
|
@@ -1997,14 +1997,14 @@ Check the top-level render call using <` + x + ">.");
|
|
|
1997
1997
|
return;
|
|
1998
1998
|
hr[x] = !0;
|
|
1999
1999
|
var C = "";
|
|
2000
|
-
t && t._owner && t._owner !== er.current && (C = " It was passed a child from " + ve(t._owner.type) + "."),
|
|
2000
|
+
t && t._owner && t._owner !== er.current && (C = " It was passed a child from " + ve(t._owner.type) + "."), Se(t), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, C), Se(null);
|
|
2001
2001
|
}
|
|
2002
2002
|
}
|
|
2003
2003
|
function br(t, m) {
|
|
2004
2004
|
{
|
|
2005
2005
|
if (typeof t != "object")
|
|
2006
2006
|
return;
|
|
2007
|
-
if (
|
|
2007
|
+
if (Ue(t))
|
|
2008
2008
|
for (var x = 0; x < t.length; x++) {
|
|
2009
2009
|
var C = t[x];
|
|
2010
2010
|
$e(C) && yr(C, m);
|
|
@@ -2012,9 +2012,9 @@ Check the top-level render call using <` + x + ">.");
|
|
|
2012
2012
|
else if ($e(t))
|
|
2013
2013
|
t._store && (t._store.validated = !0);
|
|
2014
2014
|
else if (t) {
|
|
2015
|
-
var
|
|
2016
|
-
if (typeof
|
|
2017
|
-
for (var
|
|
2015
|
+
var B = de(t);
|
|
2016
|
+
if (typeof B == "function" && B !== t.entries)
|
|
2017
|
+
for (var V = B.call(t), D; !(D = V.next()).done; )
|
|
2018
2018
|
$e(D.value) && yr(D.value, m);
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
@@ -2038,8 +2038,8 @@ Check the top-level render call using <` + x + ">.");
|
|
|
2038
2038
|
_e(x, t.props, "prop", C, t);
|
|
2039
2039
|
} else if (m.PropTypes !== void 0 && !Ye) {
|
|
2040
2040
|
Ye = !0;
|
|
2041
|
-
var
|
|
2042
|
-
Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
2041
|
+
var B = ve(m);
|
|
2042
|
+
Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
|
|
2043
2043
|
}
|
|
2044
2044
|
typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2045
2045
|
}
|
|
@@ -2049,15 +2049,15 @@ Check the top-level render call using <` + x + ">.");
|
|
|
2049
2049
|
for (var m = Object.keys(t.props), x = 0; x < m.length; x++) {
|
|
2050
2050
|
var C = m[x];
|
|
2051
2051
|
if (C !== "children" && C !== "key") {
|
|
2052
|
-
|
|
2052
|
+
Se(t), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), Se(null);
|
|
2053
2053
|
break;
|
|
2054
2054
|
}
|
|
2055
2055
|
}
|
|
2056
|
-
t.ref !== null && (
|
|
2056
|
+
t.ref !== null && (Se(t), Y("Invalid attribute `ref` supplied to `React.Fragment`."), Se(null));
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
2059
|
-
var
|
|
2060
|
-
function tr(t, m, x, C,
|
|
2059
|
+
var He = {};
|
|
2060
|
+
function tr(t, m, x, C, B, V) {
|
|
2061
2061
|
{
|
|
2062
2062
|
var D = Oe(t);
|
|
2063
2063
|
if (!D) {
|
|
@@ -2066,18 +2066,18 @@ Check the top-level render call using <` + x + ">.");
|
|
|
2066
2066
|
var ue = ze();
|
|
2067
2067
|
ue ? P += ue : P += Fe();
|
|
2068
2068
|
var ee;
|
|
2069
|
-
t === null ? ee = "null" :
|
|
2069
|
+
t === null ? ee = "null" : Ue(t) ? ee = "array" : t !== void 0 && t.$$typeof === a ? (ee = "<" + (ve(t.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof t, Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, P);
|
|
2070
2070
|
}
|
|
2071
|
-
var te = $r(t, m, x,
|
|
2071
|
+
var te = $r(t, m, x, B, V);
|
|
2072
2072
|
if (te == null)
|
|
2073
2073
|
return te;
|
|
2074
2074
|
if (D) {
|
|
2075
2075
|
var he = m.children;
|
|
2076
2076
|
if (he !== void 0)
|
|
2077
2077
|
if (C)
|
|
2078
|
-
if (
|
|
2079
|
-
for (var
|
|
2080
|
-
br(he[
|
|
2078
|
+
if (Ue(he)) {
|
|
2079
|
+
for (var ke = 0; ke < he.length; ke++)
|
|
2080
|
+
br(he[ke], t);
|
|
2081
2081
|
Object.freeze && Object.freeze(he);
|
|
2082
2082
|
} else
|
|
2083
2083
|
Y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -2088,14 +2088,14 @@ Check the top-level render call using <` + x + ">.");
|
|
|
2088
2088
|
var we = ve(t), fe = Object.keys(m).filter(function(Yr) {
|
|
2089
2089
|
return Yr !== "key";
|
|
2090
2090
|
}), nr = fe.length > 0 ? "{key: someKey, " + fe.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2091
|
-
if (!
|
|
2092
|
-
var
|
|
2091
|
+
if (!He[we + nr]) {
|
|
2092
|
+
var Vr = fe.length > 0 ? "{" + fe.join(": ..., ") + ": ...}" : "{}";
|
|
2093
2093
|
Y(`A props object containing a "key" prop is being spread into JSX:
|
|
2094
2094
|
let props = %s;
|
|
2095
2095
|
<%s {...props} />
|
|
2096
2096
|
React keys must be passed directly to JSX without using spread:
|
|
2097
2097
|
let props = %s;
|
|
2098
|
-
<%s key={someKey} {...props} />`, nr, we,
|
|
2098
|
+
<%s key={someKey} {...props} />`, nr, we, Vr, we), He[we + nr] = !0;
|
|
2099
2099
|
}
|
|
2100
2100
|
}
|
|
2101
2101
|
return t === l ? Le(te) : Lr(te), te;
|
|
@@ -2104,16 +2104,16 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2104
2104
|
function Mr(t, m, x) {
|
|
2105
2105
|
return tr(t, m, x, !0);
|
|
2106
2106
|
}
|
|
2107
|
-
function
|
|
2107
|
+
function Br(t, m, x) {
|
|
2108
2108
|
return tr(t, m, x, !1);
|
|
2109
2109
|
}
|
|
2110
|
-
var
|
|
2111
|
-
sr.Fragment = l, sr.jsx =
|
|
2110
|
+
var Wr = Br, Ur = Mr;
|
|
2111
|
+
sr.Fragment = l, sr.jsx = Wr, sr.jsxs = Ur;
|
|
2112
2112
|
}()), sr;
|
|
2113
2113
|
}
|
|
2114
2114
|
var Ft;
|
|
2115
2115
|
function Qn() {
|
|
2116
|
-
return Ft || (Ft = 1, process.env.NODE_ENV === "production" ?
|
|
2116
|
+
return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? kr.exports = Xn() : kr.exports = Zn()), kr.exports;
|
|
2117
2117
|
}
|
|
2118
2118
|
var n = Qn();
|
|
2119
2119
|
at();
|
|
@@ -2157,12 +2157,12 @@ function ea() {
|
|
|
2157
2157
|
}(et)), et.exports;
|
|
2158
2158
|
}
|
|
2159
2159
|
var ra = ea();
|
|
2160
|
-
const
|
|
2160
|
+
const W = /* @__PURE__ */ Gn(ra), ne = ({
|
|
2161
2161
|
children: o,
|
|
2162
2162
|
className: a,
|
|
2163
2163
|
important: u = !1,
|
|
2164
2164
|
onClick: l
|
|
2165
|
-
}) => u ? /* @__PURE__ */ n.jsx("div", { className: "bb_", onClick: l, children: /* @__PURE__ */ n.jsx("div", { className: a, children: o }) }) : /* @__PURE__ */ n.jsx("div", { className: a, children: o }),
|
|
2165
|
+
}) => u ? /* @__PURE__ */ n.jsx("div", { className: "bb_", onClick: l, children: /* @__PURE__ */ n.jsx("div", { className: a, children: o }) }) : /* @__PURE__ */ n.jsx("div", { className: a, children: o }), Ke = ({ icon: o, className: a = "" }) => o ? /* @__PURE__ */ n.jsxs(ne, { className: "blockbite--icon", children: [
|
|
2166
2166
|
/* @__PURE__ */ n.jsx(o, { className: a }),
|
|
2167
2167
|
" "
|
|
2168
2168
|
] }) : null, ta = tt(
|
|
@@ -2179,17 +2179,17 @@ const U = /* @__PURE__ */ Kn(ra), ne = ({
|
|
|
2179
2179
|
label: p
|
|
2180
2180
|
}) => {
|
|
2181
2181
|
const [j, _] = F(!1);
|
|
2182
|
-
|
|
2182
|
+
G(() => {
|
|
2183
2183
|
_(d === u);
|
|
2184
2184
|
}, [d]);
|
|
2185
|
-
const O =
|
|
2185
|
+
const O = Mt(() => {
|
|
2186
2186
|
_((T) => !T), f(u);
|
|
2187
2187
|
}, [j, f]);
|
|
2188
2188
|
return /* @__PURE__ */ n.jsxs(
|
|
2189
2189
|
ye,
|
|
2190
2190
|
{
|
|
2191
2191
|
"aria-label": p,
|
|
2192
|
-
className:
|
|
2192
|
+
className: W(a, "blockbite-ui__button--default"),
|
|
2193
2193
|
value: u,
|
|
2194
2194
|
size: v,
|
|
2195
2195
|
label: p,
|
|
@@ -2198,7 +2198,7 @@ const U = /* @__PURE__ */ Kn(ra), ne = ({
|
|
|
2198
2198
|
isPressed: j,
|
|
2199
2199
|
onClick: O,
|
|
2200
2200
|
children: [
|
|
2201
|
-
h && /* @__PURE__ */ n.jsx(
|
|
2201
|
+
h && /* @__PURE__ */ n.jsx(Ke, { icon: h }),
|
|
2202
2202
|
g !== "icon" ? o : null,
|
|
2203
2203
|
p && !o && g !== "icon" ? /* @__PURE__ */ n.jsx("span", { children: p }) : null
|
|
2204
2204
|
]
|
|
@@ -2219,70 +2219,70 @@ const U = /* @__PURE__ */ Kn(ra), ne = ({
|
|
|
2219
2219
|
onPressedChange: p
|
|
2220
2220
|
}) => {
|
|
2221
2221
|
const [j, _] = F(a);
|
|
2222
|
-
|
|
2222
|
+
G(() => {
|
|
2223
2223
|
_(a);
|
|
2224
2224
|
}, [a]);
|
|
2225
|
-
const O =
|
|
2226
|
-
(
|
|
2227
|
-
const ae = u && j ===
|
|
2225
|
+
const O = Mt(
|
|
2226
|
+
(k) => {
|
|
2227
|
+
const ae = u && j === k ? "" : k;
|
|
2228
2228
|
_(ae), p?.(ae);
|
|
2229
2229
|
},
|
|
2230
2230
|
[j, p, u]
|
|
2231
|
-
), T = (
|
|
2232
|
-
|
|
2233
|
-
/* @__PURE__ */ n.jsx("span", { children:
|
|
2231
|
+
), T = (k) => l === "icon" && k?.icon ? /* @__PURE__ */ n.jsx(Ke, { icon: k.icon }) : l === "label" ? /* @__PURE__ */ n.jsx("span", { children: k.label }) : /* @__PURE__ */ n.jsxs("span", { className: "flex items-center justify-center gap-1", children: [
|
|
2232
|
+
k.icon && /* @__PURE__ */ n.jsx(Ke, { icon: k.icon }),
|
|
2233
|
+
/* @__PURE__ */ n.jsx("span", { children: k.label })
|
|
2234
2234
|
] });
|
|
2235
2235
|
return /* @__PURE__ */ n.jsx(
|
|
2236
2236
|
ne,
|
|
2237
2237
|
{
|
|
2238
|
-
className:
|
|
2238
|
+
className: W(
|
|
2239
2239
|
"blockbite-ui__button-group flex flex-wrap gap-1",
|
|
2240
2240
|
o,
|
|
2241
2241
|
h ? "blockbite-ui__button-group--tabs" : ""
|
|
2242
2242
|
),
|
|
2243
|
-
children: d.map((
|
|
2243
|
+
children: d.map((k, ae) => /* @__PURE__ */ n.jsxs(
|
|
2244
2244
|
ye,
|
|
2245
2245
|
{
|
|
2246
|
-
className:
|
|
2246
|
+
className: W("blockbite-ui__button--default", {
|
|
2247
2247
|
grow: g,
|
|
2248
2248
|
"justify-center": g
|
|
2249
2249
|
}),
|
|
2250
|
-
"aria-label":
|
|
2250
|
+
"aria-label": k.label,
|
|
2251
2251
|
showTooltip: !0,
|
|
2252
|
-
value:
|
|
2252
|
+
value: k.value,
|
|
2253
2253
|
size: f,
|
|
2254
|
-
label:
|
|
2254
|
+
label: k?.tooltip || k.label,
|
|
2255
2255
|
variant: v,
|
|
2256
|
-
isPressed: j ===
|
|
2257
|
-
onClick: () => O(
|
|
2256
|
+
isPressed: j === k.value,
|
|
2257
|
+
onClick: () => O(k.value),
|
|
2258
2258
|
children: [
|
|
2259
|
-
T(
|
|
2260
|
-
|
|
2259
|
+
T(k),
|
|
2260
|
+
k.children && k.children
|
|
2261
2261
|
]
|
|
2262
2262
|
},
|
|
2263
|
-
`ButtonToggleGroup__${
|
|
2263
|
+
`ButtonToggleGroup__${k.value}__${k.label}__${ae}`
|
|
2264
2264
|
))
|
|
2265
2265
|
}
|
|
2266
2266
|
);
|
|
2267
2267
|
}
|
|
2268
2268
|
);
|
|
2269
|
-
function
|
|
2269
|
+
function Sa({
|
|
2270
2270
|
defaultValue: o,
|
|
2271
2271
|
options: a,
|
|
2272
2272
|
swatch: u,
|
|
2273
2273
|
onPressedChange: l
|
|
2274
2274
|
}) {
|
|
2275
2275
|
const [d, f] = F(""), [h, v] = F([]);
|
|
2276
|
-
return
|
|
2276
|
+
return G(() => {
|
|
2277
2277
|
v(
|
|
2278
2278
|
a.filter(
|
|
2279
2279
|
(g) => g.label.toLowerCase().includes(d.toLowerCase())
|
|
2280
2280
|
)
|
|
2281
2281
|
);
|
|
2282
|
-
}, [d, a]),
|
|
2282
|
+
}, [d, a]), G(() => {
|
|
2283
2283
|
f(""), v(a);
|
|
2284
2284
|
}, [o, a]), /* @__PURE__ */ n.jsx(
|
|
2285
|
-
|
|
2285
|
+
pn,
|
|
2286
2286
|
{
|
|
2287
2287
|
className: "option-panel-dropdown",
|
|
2288
2288
|
contentClassName: "option-panel-dropdown-content",
|
|
@@ -2294,17 +2294,16 @@ function ka({
|
|
|
2294
2294
|
size: "small",
|
|
2295
2295
|
onClick: p,
|
|
2296
2296
|
"aria-expanded": g,
|
|
2297
|
-
children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-1 !bg-transparent !p-0 !text-[11px] !text-current", children: [
|
|
2298
|
-
u && /* @__PURE__ */ n.jsx(
|
|
2297
|
+
children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-1.5 !bg-transparent !p-0 !text-[11px] !text-current", children: [
|
|
2298
|
+
u && !!o && /* @__PURE__ */ n.jsx(
|
|
2299
2299
|
"div",
|
|
2300
2300
|
{
|
|
2301
|
-
className:
|
|
2301
|
+
className: W(
|
|
2302
2302
|
`h-3 w-3 rounded-full bg-${o}`
|
|
2303
2303
|
)
|
|
2304
2304
|
}
|
|
2305
2305
|
),
|
|
2306
|
-
/* @__PURE__ */ n.jsx("span", { children: o || "Select option…" })
|
|
2307
|
-
/* @__PURE__ */ n.jsx(Mt, {})
|
|
2306
|
+
/* @__PURE__ */ n.jsx("span", { children: o || "Select option…" })
|
|
2308
2307
|
] })
|
|
2309
2308
|
}
|
|
2310
2309
|
) }),
|
|
@@ -2312,18 +2311,20 @@ function ka({
|
|
|
2312
2311
|
/* @__PURE__ */ n.jsx(
|
|
2313
2312
|
rt,
|
|
2314
2313
|
{
|
|
2314
|
+
__next40pxDefaultSize: !0,
|
|
2315
|
+
__nextHasNoMarginBottom: !0,
|
|
2315
2316
|
label: "Search options",
|
|
2316
2317
|
value: d,
|
|
2317
2318
|
onChange: (g) => f(g),
|
|
2318
2319
|
autoComplete: "off"
|
|
2319
2320
|
}
|
|
2320
2321
|
),
|
|
2321
|
-
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-2 gap-1 !bg-transparent
|
|
2322
|
+
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-2 gap-1 !bg-transparent p-0 !pt-2", children: [
|
|
2322
2323
|
h.length === 0 && /* @__PURE__ */ n.jsx("div", { className: "!text-gray-medium col-span-2 pb-2 text-center !text-[11px]", children: "No options found." }),
|
|
2323
2324
|
h.map((g, p) => /* @__PURE__ */ n.jsxs(
|
|
2324
2325
|
ta,
|
|
2325
2326
|
{
|
|
2326
|
-
className:
|
|
2327
|
+
className: W({
|
|
2327
2328
|
"bg-primary": g.value
|
|
2328
2329
|
}),
|
|
2329
2330
|
size: "small",
|
|
@@ -2336,7 +2337,7 @@ function ka({
|
|
|
2336
2337
|
u && /* @__PURE__ */ n.jsx(
|
|
2337
2338
|
"div",
|
|
2338
2339
|
{
|
|
2339
|
-
className:
|
|
2340
|
+
className: W(
|
|
2340
2341
|
`mr-3 h-3 w-3 rounded-full bg-${g.value}`
|
|
2341
2342
|
)
|
|
2342
2343
|
}
|
|
@@ -2355,7 +2356,7 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2355
2356
|
"div",
|
|
2356
2357
|
{
|
|
2357
2358
|
onClick: l,
|
|
2358
|
-
className:
|
|
2359
|
+
className: W(
|
|
2359
2360
|
a,
|
|
2360
2361
|
"inline-flex items-center rounded-full bg-blue-100 px-2.5 py-0.5 text-xs font-medium text-blue-800"
|
|
2361
2362
|
),
|
|
@@ -2364,9 +2365,9 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2364
2365
|
o
|
|
2365
2366
|
]
|
|
2366
2367
|
}
|
|
2367
|
-
),
|
|
2368
|
+
), ka = ({ htmlContent: o, cssContent: a, frontendAssets: u }) => {
|
|
2368
2369
|
const l = lr(null), [d, f] = F(null);
|
|
2369
|
-
return
|
|
2370
|
+
return G(() => {
|
|
2370
2371
|
const h = l.current;
|
|
2371
2372
|
return h && (h.onload = () => {
|
|
2372
2373
|
const v = h.contentDocument || h.contentWindow.document;
|
|
@@ -2407,7 +2408,7 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2407
2408
|
height: "100%"
|
|
2408
2409
|
}
|
|
2409
2410
|
),
|
|
2410
|
-
d &&
|
|
2411
|
+
d && Bt(
|
|
2411
2412
|
/* @__PURE__ */ n.jsx("div", { className: "b_", children: /* @__PURE__ */ n.jsx(
|
|
2412
2413
|
"div",
|
|
2413
2414
|
{
|
|
@@ -2440,7 +2441,7 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2440
2441
|
label: u,
|
|
2441
2442
|
showTooltip: !0,
|
|
2442
2443
|
disabled: g,
|
|
2443
|
-
className:
|
|
2444
|
+
className: W(
|
|
2444
2445
|
l,
|
|
2445
2446
|
"blockbite-ui__button",
|
|
2446
2447
|
"flex items-center justify-center gap-1",
|
|
@@ -2453,10 +2454,10 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2453
2454
|
onClick: d,
|
|
2454
2455
|
children: [
|
|
2455
2456
|
v && /* @__PURE__ */ n.jsx(
|
|
2456
|
-
|
|
2457
|
+
Ke,
|
|
2457
2458
|
{
|
|
2458
2459
|
icon: v,
|
|
2459
|
-
className:
|
|
2460
|
+
className: W({ "h-4 w-4": h === "icon-lg" })
|
|
2460
2461
|
}
|
|
2461
2462
|
),
|
|
2462
2463
|
p ? null : o,
|
|
@@ -2467,9 +2468,9 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2467
2468
|
}, Oa = ({ children: o, title: a }) => /* @__PURE__ */ n.jsxs(
|
|
2468
2469
|
ne,
|
|
2469
2470
|
{
|
|
2470
|
-
className:
|
|
2471
|
+
className: W(
|
|
2471
2472
|
"text-gray-medium my-2 flex items-center gap-1 text-[12px] font-medium",
|
|
2472
|
-
|
|
2473
|
+
W
|
|
2473
2474
|
),
|
|
2474
2475
|
children: [
|
|
2475
2476
|
a && /* @__PURE__ */ n.jsx(ne, { className: "font-medium", children: a }),
|
|
@@ -2482,7 +2483,7 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2482
2483
|
help: u,
|
|
2483
2484
|
badge: l,
|
|
2484
2485
|
...d
|
|
2485
|
-
}) => /* @__PURE__ */ n.jsxs("div", { className:
|
|
2486
|
+
}) => /* @__PURE__ */ n.jsxs("div", { className: W("mb-2", a), ...d, children: [
|
|
2486
2487
|
/* @__PURE__ */ n.jsxs("div", { className: "flex w-full flex-wrap items-center gap-2 justify-between", children: [
|
|
2487
2488
|
/* @__PURE__ */ n.jsx("span", { className: "shrink-1 text-[11px] font-medium uppercase leading-snug", children: o }),
|
|
2488
2489
|
!!l && /* @__PURE__ */ n.jsx(aa, { className: "text-[10px] py-px px-1", children: l })
|
|
@@ -2490,10 +2491,10 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2490
2491
|
u && /* @__PURE__ */ n.jsx("small", { className: "w-full shrink-0 text-[11px]", children: u })
|
|
2491
2492
|
] }), Na = ({ label: o, help: a, defaultChecked: u }) => {
|
|
2492
2493
|
const [l, d] = F(u);
|
|
2493
|
-
return
|
|
2494
|
+
return G(() => {
|
|
2494
2495
|
d(u);
|
|
2495
2496
|
}, [u]), /* @__PURE__ */ n.jsx(ne, { className: "blockbite-ui__checkbox mx-1 flex items-center gap-2", children: /* @__PURE__ */ n.jsx(
|
|
2496
|
-
|
|
2497
|
+
vn,
|
|
2497
2498
|
{
|
|
2498
2499
|
label: o,
|
|
2499
2500
|
help: a,
|
|
@@ -2501,7 +2502,7 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2501
2502
|
onChange: d
|
|
2502
2503
|
}
|
|
2503
2504
|
) });
|
|
2504
|
-
}, ot =
|
|
2505
|
+
}, ot = Pn(
|
|
2505
2506
|
({
|
|
2506
2507
|
onClick: o,
|
|
2507
2508
|
onChange: a,
|
|
@@ -2517,19 +2518,19 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
|
|
|
2517
2518
|
helper: _ = "",
|
|
2518
2519
|
...O
|
|
2519
2520
|
}, T) => {
|
|
2520
|
-
const
|
|
2521
|
+
const k = `text-control-${Math.random().toString(36).substring(2, 15)}`;
|
|
2521
2522
|
return /* @__PURE__ */ n.jsxs(
|
|
2522
2523
|
"div",
|
|
2523
2524
|
{
|
|
2524
|
-
className:
|
|
2525
|
+
className: W("flex items-center p-0", u),
|
|
2525
2526
|
...O,
|
|
2526
2527
|
children: [
|
|
2527
|
-
j ? /* @__PURE__ */ n.jsx("label", { htmlFor:
|
|
2528
|
+
j ? /* @__PURE__ */ n.jsx("label", { htmlFor: k, className: "text-primary !m-0 !mb-0 !mr-2", children: j }) : null,
|
|
2528
2529
|
/* @__PURE__ */ n.jsx(
|
|
2529
2530
|
"input",
|
|
2530
2531
|
{
|
|
2531
|
-
id:
|
|
2532
|
-
className:
|
|
2532
|
+
id: k,
|
|
2533
|
+
className: W(
|
|
2533
2534
|
"border-primary !m-0 !mb-0 h-[32px] !rounded-none border border-opacity-70 focus:outline-none focus:ring-0",
|
|
2534
2535
|
f
|
|
2535
2536
|
),
|
|
@@ -2570,27 +2571,27 @@ const Aa = ({
|
|
|
2570
2571
|
const [O, T] = F({
|
|
2571
2572
|
id: "",
|
|
2572
2573
|
name: ""
|
|
2573
|
-
}), [
|
|
2574
|
+
}), [k, ae] = F(!1), de = lr(null), A = () => {
|
|
2574
2575
|
l();
|
|
2575
2576
|
}, Y = () => {
|
|
2576
2577
|
if (!a || o.length === 0) return;
|
|
2577
|
-
const
|
|
2578
|
+
const K = o.filter((pe) => pe.id !== a?.id), X = o.findIndex((pe) => pe.id === a?.id), ie = K[X] || K[0];
|
|
2578
2579
|
d(a?.id), u(ie);
|
|
2579
|
-
}, ge = (
|
|
2580
|
-
ae(!0), O.id && f(O.id, { name:
|
|
2580
|
+
}, ge = (K) => {
|
|
2581
|
+
ae(!0), O.id && f(O.id, { name: K }), setTimeout(() => {
|
|
2581
2582
|
T({ id: "", name: "" }), ae(!1);
|
|
2582
2583
|
}, 500);
|
|
2583
2584
|
};
|
|
2584
2585
|
return /* @__PURE__ */ n.jsxs(ne, { important: !0, className: p, children: [
|
|
2585
2586
|
/* @__PURE__ */ n.jsxs("ul", { className: "h-[calc(100%-80px)] divide-y overflow-auto", children: [
|
|
2586
2587
|
g,
|
|
2587
|
-
o.length > 0 && /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("ul", { className: "divide-y border-b", children: o.map((
|
|
2588
|
+
o.length > 0 && /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("ul", { className: "divide-y border-b", children: o.map((K) => /* @__PURE__ */ n.jsxs(
|
|
2588
2589
|
"li",
|
|
2589
2590
|
{
|
|
2590
|
-
className:
|
|
2591
|
+
className: W(
|
|
2591
2592
|
"relative m-0 flex items-center justify-between gap-1 bg-opacity-50 hover:bg-easy",
|
|
2592
2593
|
{
|
|
2593
|
-
"bg-easy":
|
|
2594
|
+
"bg-easy": K.id === a?.id
|
|
2594
2595
|
}
|
|
2595
2596
|
),
|
|
2596
2597
|
children: [
|
|
@@ -2600,15 +2601,15 @@ const Aa = ({
|
|
|
2600
2601
|
{
|
|
2601
2602
|
className: "text-gray-medium w-full truncate px-3 py-2 text-left text-sm/6 font-semibold hover:text-wordpress",
|
|
2602
2603
|
onClick: () => {
|
|
2603
|
-
h(a?.id, { ...a }), u(
|
|
2604
|
+
h(a?.id, { ...a }), u(K);
|
|
2604
2605
|
},
|
|
2605
2606
|
onDoubleClick: () => {
|
|
2606
|
-
T({ id:
|
|
2607
|
+
T({ id: K.id, name: K.name || "" });
|
|
2607
2608
|
},
|
|
2608
|
-
children:
|
|
2609
|
+
children: k && O.id === K.id ? /* @__PURE__ */ n.jsx("span", { className: "animate-pulse text-gray-medium", children: O.name }) : /* @__PURE__ */ n.jsx("span", { className: "text-gray-medium", children: K.name || "Untitled" })
|
|
2609
2610
|
}
|
|
2610
2611
|
),
|
|
2611
|
-
O.id ===
|
|
2612
|
+
O.id === K.id && !k && /* @__PURE__ */ n.jsx(
|
|
2612
2613
|
ot,
|
|
2613
2614
|
{
|
|
2614
2615
|
className: "absolute left-1 top-0 w-[calc(100%-.5rem)] h-full",
|
|
@@ -2620,16 +2621,16 @@ const Aa = ({
|
|
|
2620
2621
|
}
|
|
2621
2622
|
)
|
|
2622
2623
|
] }),
|
|
2623
|
-
v && /* @__PURE__ */ n.jsx("div", { className: "flex gap-1 pr-1", children: v(
|
|
2624
|
+
v && /* @__PURE__ */ n.jsx("div", { className: "flex gap-1 pr-1", children: v(K) })
|
|
2624
2625
|
]
|
|
2625
2626
|
},
|
|
2626
|
-
`data__${
|
|
2627
|
+
`data__${K.id}`
|
|
2627
2628
|
)) }) })
|
|
2628
2629
|
] }),
|
|
2629
2630
|
/* @__PURE__ */ n.jsxs(
|
|
2630
2631
|
"div",
|
|
2631
2632
|
{
|
|
2632
|
-
className:
|
|
2633
|
+
className: W(
|
|
2633
2634
|
"flex flex-wrap justify-center gap-2 p-2",
|
|
2634
2635
|
_
|
|
2635
2636
|
),
|
|
@@ -2639,7 +2640,7 @@ const Aa = ({
|
|
|
2639
2640
|
ye,
|
|
2640
2641
|
{
|
|
2641
2642
|
onClick: A,
|
|
2642
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
2643
|
+
icon: /* @__PURE__ */ n.jsx(An, { className: "h-4 w-4" }),
|
|
2643
2644
|
variant: "tertiary",
|
|
2644
2645
|
size: "compact",
|
|
2645
2646
|
children: "Add"
|
|
@@ -2649,7 +2650,7 @@ const Aa = ({
|
|
|
2649
2650
|
ye,
|
|
2650
2651
|
{
|
|
2651
2652
|
onClick: Y,
|
|
2652
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
2653
|
+
icon: /* @__PURE__ */ n.jsx(In, { className: "h-4 w-4" }),
|
|
2653
2654
|
variant: "tertiary",
|
|
2654
2655
|
size: "compact",
|
|
2655
2656
|
disabled: !a || o.length === 0,
|
|
@@ -2668,9 +2669,9 @@ const Aa = ({
|
|
|
2668
2669
|
message: d
|
|
2669
2670
|
}) => {
|
|
2670
2671
|
const [f, h] = F(!1), v = lr(!1), g = lr(null);
|
|
2671
|
-
return
|
|
2672
|
+
return G(() => {
|
|
2672
2673
|
v.current = !0;
|
|
2673
|
-
}, []),
|
|
2674
|
+
}, []), G(() => {
|
|
2674
2675
|
if (v.current)
|
|
2675
2676
|
return l && (h(!0), g.current = setTimeout(() => {
|
|
2676
2677
|
h(!1);
|
|
@@ -2681,7 +2682,7 @@ const Aa = ({
|
|
|
2681
2682
|
ne,
|
|
2682
2683
|
{
|
|
2683
2684
|
important: !0,
|
|
2684
|
-
className:
|
|
2685
|
+
className: W("bb-ui__disappearing-message", a),
|
|
2685
2686
|
children: /* @__PURE__ */ n.jsx("div", { className: "bb-ui__disappearing-message__content", children: d ?? u })
|
|
2686
2687
|
}
|
|
2687
2688
|
) : null;
|
|
@@ -2689,12 +2690,12 @@ const Aa = ({
|
|
|
2689
2690
|
label: o,
|
|
2690
2691
|
className: a,
|
|
2691
2692
|
defaultValue: u,
|
|
2692
|
-
defaultIcon: l =
|
|
2693
|
+
defaultIcon: l = Dn,
|
|
2693
2694
|
onPressedChange: d,
|
|
2694
2695
|
options: f
|
|
2695
2696
|
}) => {
|
|
2696
2697
|
const [h, v] = F(null);
|
|
2697
|
-
|
|
2698
|
+
G(() => {
|
|
2698
2699
|
v(u);
|
|
2699
2700
|
}, [u]);
|
|
2700
2701
|
const g = [
|
|
@@ -2708,7 +2709,7 @@ const Aa = ({
|
|
|
2708
2709
|
}
|
|
2709
2710
|
})),
|
|
2710
2711
|
{
|
|
2711
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
2712
|
+
icon: /* @__PURE__ */ n.jsx(Ke, { icon: l }),
|
|
2712
2713
|
title: "Reset",
|
|
2713
2714
|
value: "reset",
|
|
2714
2715
|
onClick: () => {
|
|
@@ -2717,14 +2718,14 @@ const Aa = ({
|
|
|
2717
2718
|
}
|
|
2718
2719
|
];
|
|
2719
2720
|
return /* @__PURE__ */ n.jsx(
|
|
2720
|
-
|
|
2721
|
+
mn,
|
|
2721
2722
|
{
|
|
2722
2723
|
controls: g,
|
|
2723
|
-
className:
|
|
2724
|
+
className: W(
|
|
2724
2725
|
"blockbite-ui__dropdown-picker border-primary border",
|
|
2725
2726
|
a
|
|
2726
2727
|
),
|
|
2727
|
-
icon: f.find((p) => p.value === h)?.icon || /* @__PURE__ */ n.jsx(
|
|
2728
|
+
icon: f.find((p) => p.value === h)?.icon || /* @__PURE__ */ n.jsx(Ke, { icon: l }),
|
|
2728
2729
|
label: o || "Select"
|
|
2729
2730
|
}
|
|
2730
2731
|
);
|
|
@@ -2747,7 +2748,7 @@ function $a({
|
|
|
2747
2748
|
children: o
|
|
2748
2749
|
}) {
|
|
2749
2750
|
const a = lr(null), [u, l] = F({ x: 100, y: 100 }), [d, f] = F(!1), [h, v] = F({ x: 0, y: 0 });
|
|
2750
|
-
|
|
2751
|
+
G(() => {
|
|
2751
2752
|
const p = (_) => {
|
|
2752
2753
|
d && l({
|
|
2753
2754
|
x: _.clientX - h.x,
|
|
@@ -2790,13 +2791,13 @@ const Fa = ({
|
|
|
2790
2791
|
x: 0.5,
|
|
2791
2792
|
y: 0.5
|
|
2792
2793
|
});
|
|
2793
|
-
return
|
|
2794
|
+
return G(() => {
|
|
2794
2795
|
a(
|
|
2795
2796
|
`[${(l.x * 100).toFixed(2)}%_${(l.y * 100).toFixed(
|
|
2796
2797
|
2
|
|
2797
2798
|
)}%]`
|
|
2798
2799
|
);
|
|
2799
|
-
}, [l]),
|
|
2800
|
+
}, [l]), G(() => {
|
|
2800
2801
|
if (o.includes("%")) {
|
|
2801
2802
|
const [f, h] = o.replace("[", "").replace("%]", "").split("_").map((v) => parseFloat(v) / 100);
|
|
2802
2803
|
d({
|
|
@@ -2805,7 +2806,7 @@ const Fa = ({
|
|
|
2805
2806
|
});
|
|
2806
2807
|
}
|
|
2807
2808
|
}, [o]), /* @__PURE__ */ n.jsx(ne, { className: "relative flex flex-col", children: /* @__PURE__ */ n.jsx(
|
|
2808
|
-
|
|
2809
|
+
hn,
|
|
2809
2810
|
{
|
|
2810
2811
|
url: u,
|
|
2811
2812
|
value: l,
|
|
@@ -2819,7 +2820,7 @@ function La(o) {
|
|
|
2819
2820
|
url: "",
|
|
2820
2821
|
title: ""
|
|
2821
2822
|
});
|
|
2822
|
-
return
|
|
2823
|
+
return G(() => {
|
|
2823
2824
|
a !== "" && (d(null), Yn({
|
|
2824
2825
|
path: `/blockbite/v1/block-helpers/get-links/${a}`
|
|
2825
2826
|
}).then(
|
|
@@ -2827,12 +2828,14 @@ function La(o) {
|
|
|
2827
2828
|
v?.length ? d([...v]) : d([]);
|
|
2828
2829
|
}
|
|
2829
2830
|
));
|
|
2830
|
-
}, [a]),
|
|
2831
|
+
}, [a]), G(() => {
|
|
2831
2832
|
f.url !== "" && o.parentCallback(f);
|
|
2832
2833
|
}, [f]), /* @__PURE__ */ n.jsxs(ne, { className: "blockbite--editor-linkwrap", children: [
|
|
2833
2834
|
/* @__PURE__ */ n.jsx(
|
|
2834
2835
|
rt,
|
|
2835
2836
|
{
|
|
2837
|
+
__next40pxDefaultSize: !0,
|
|
2838
|
+
__nextHasNoMarginBottom: !0,
|
|
2836
2839
|
label: Me("Search link", "blockbitelinks"),
|
|
2837
2840
|
value: a,
|
|
2838
2841
|
placeholder: "Example: About",
|
|
@@ -2888,7 +2891,7 @@ function Ma({ mediaProps: o, mediaCallback: a }) {
|
|
|
2888
2891
|
width: 0,
|
|
2889
2892
|
height: 0
|
|
2890
2893
|
});
|
|
2891
|
-
|
|
2894
|
+
G(() => {
|
|
2892
2895
|
o && d({ ...o });
|
|
2893
2896
|
}, [o]);
|
|
2894
2897
|
const f = () => {
|
|
@@ -2917,7 +2920,7 @@ function Ma({ mediaProps: o, mediaCallback: a }) {
|
|
|
2917
2920
|
};
|
|
2918
2921
|
a({ ...p });
|
|
2919
2922
|
};
|
|
2920
|
-
return /* @__PURE__ */ n.jsxs(
|
|
2923
|
+
return /* @__PURE__ */ n.jsxs(yn, { children: [
|
|
2921
2924
|
l.id !== null && /* @__PURE__ */ n.jsx(Qr, { children: /* @__PURE__ */ n.jsx(
|
|
2922
2925
|
Pt,
|
|
2923
2926
|
{
|
|
@@ -2965,7 +2968,7 @@ const ia = ({
|
|
|
2965
2968
|
onVisibleChange: f
|
|
2966
2969
|
}) => {
|
|
2967
2970
|
const [h, v] = F(!!l);
|
|
2968
|
-
|
|
2971
|
+
G(() => {
|
|
2969
2972
|
l !== void 0 && v(l);
|
|
2970
2973
|
}, [l]);
|
|
2971
2974
|
const g = () => {
|
|
@@ -2973,7 +2976,7 @@ const ia = ({
|
|
|
2973
2976
|
v(p), f && f(p);
|
|
2974
2977
|
};
|
|
2975
2978
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: h && /* @__PURE__ */ n.jsx(
|
|
2976
|
-
|
|
2979
|
+
bn,
|
|
2977
2980
|
{
|
|
2978
2981
|
position: u,
|
|
2979
2982
|
className: "blockbite-ui__popover bb_",
|
|
@@ -2988,7 +2991,7 @@ const ia = ({
|
|
|
2988
2991
|
onClick: g,
|
|
2989
2992
|
size: "small",
|
|
2990
2993
|
className: "close-button absolute right-0 top-0",
|
|
2991
|
-
children: /* @__PURE__ */ n.jsx(
|
|
2994
|
+
children: /* @__PURE__ */ n.jsx($n, {})
|
|
2992
2995
|
}
|
|
2993
2996
|
),
|
|
2994
2997
|
o
|
|
@@ -3007,17 +3010,19 @@ const ia = ({
|
|
|
3007
3010
|
...g
|
|
3008
3011
|
}) => {
|
|
3009
3012
|
const [p] = F(0), [j, _] = F(0);
|
|
3010
|
-
|
|
3013
|
+
G(() => {
|
|
3011
3014
|
_(Math.round(parseInt(o) / (h ? 16 : 1)));
|
|
3012
3015
|
}, [o]);
|
|
3013
3016
|
function O(T) {
|
|
3014
|
-
const
|
|
3015
|
-
f(
|
|
3017
|
+
const k = T * (h ? 16 : 1);
|
|
3018
|
+
f(k.toString());
|
|
3016
3019
|
}
|
|
3017
3020
|
return /* @__PURE__ */ n.jsxs(ne, { className: "flex min-w-[240px] flex-col", children: [
|
|
3018
3021
|
/* @__PURE__ */ n.jsx(
|
|
3019
|
-
|
|
3022
|
+
gn,
|
|
3020
3023
|
{
|
|
3024
|
+
__next40pxDefaultSize: !0,
|
|
3025
|
+
__nextHasNoMarginBottom: !0,
|
|
3021
3026
|
label: a,
|
|
3022
3027
|
value: j,
|
|
3023
3028
|
min: u,
|
|
@@ -3036,18 +3041,18 @@ const ia = ({
|
|
|
3036
3041
|
" "
|
|
3037
3042
|
] })
|
|
3038
3043
|
] });
|
|
3039
|
-
},
|
|
3044
|
+
}, Ba = ({
|
|
3040
3045
|
defaultUnit: o,
|
|
3041
3046
|
defaultValue: a,
|
|
3042
3047
|
onValueChange: u,
|
|
3043
3048
|
onUnitChange: l,
|
|
3044
3049
|
inputClassName: d = "w-[75px]"
|
|
3045
3050
|
}) => {
|
|
3046
|
-
const [f, h] = F(!1), [v, g] = F([]), [p, j] = F(o), [_, O] = F(""), [T,
|
|
3047
|
-
|
|
3051
|
+
const [f, h] = F(!1), [v, g] = F([]), [p, j] = F(o), [_, O] = F(""), [T, k] = F(a);
|
|
3052
|
+
G(() => {
|
|
3048
3053
|
o && j(o), O(a.toString());
|
|
3049
|
-
}, [o, a]),
|
|
3050
|
-
!f && p === "arbitrary" &&
|
|
3054
|
+
}, [o, a]), G(() => {
|
|
3055
|
+
!f && p === "arbitrary" && k(_);
|
|
3051
3056
|
}, [f]);
|
|
3052
3057
|
const ae = (A) => {
|
|
3053
3058
|
if (A !== "arbitrary" && bb?.codex?.units?.spacing?.[A]) {
|
|
@@ -3060,15 +3065,15 @@ const ia = ({
|
|
|
3060
3065
|
h(!0);
|
|
3061
3066
|
}, de = [
|
|
3062
3067
|
{
|
|
3063
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3068
|
+
icon: /* @__PURE__ */ n.jsx(Fn, {}),
|
|
3064
3069
|
label: "Tailwind CSS Units",
|
|
3065
3070
|
value: "native"
|
|
3066
3071
|
},
|
|
3067
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
3068
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
3069
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
3070
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
3071
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
3072
|
+
{ icon: /* @__PURE__ */ n.jsx(Ln, {}), label: "Percentage Units", value: "percent" },
|
|
3073
|
+
{ icon: /* @__PURE__ */ n.jsx(Mn, {}), label: "Grid Units", value: "grid" },
|
|
3074
|
+
{ icon: /* @__PURE__ */ n.jsx(Bn, {}), label: "Screen Units", value: "screen" },
|
|
3075
|
+
{ icon: /* @__PURE__ */ n.jsx(Wn, {}), label: "Pixel Units", value: "arbitrary" },
|
|
3076
|
+
{ icon: /* @__PURE__ */ n.jsx(Un, {}), label: "Fluid Units", value: "fluid" }
|
|
3072
3077
|
];
|
|
3073
3078
|
return /* @__PURE__ */ n.jsx("div", { className: "relative flex flex-col items-baseline", children: /* @__PURE__ */ n.jsxs(
|
|
3074
3079
|
ot,
|
|
@@ -3140,12 +3145,12 @@ const ia = ({
|
|
|
3140
3145
|
]
|
|
3141
3146
|
}
|
|
3142
3147
|
) });
|
|
3143
|
-
},
|
|
3144
|
-
const o = nt(
|
|
3148
|
+
}, Ut = Wt(null), Vt = () => {
|
|
3149
|
+
const o = nt(Ut);
|
|
3145
3150
|
if (!o)
|
|
3146
3151
|
throw new Error("useModalContext must be used within a ModalProvider");
|
|
3147
3152
|
return o;
|
|
3148
|
-
},
|
|
3153
|
+
}, Wa = ({
|
|
3149
3154
|
children: o,
|
|
3150
3155
|
defaultOpen: a,
|
|
3151
3156
|
onOpenChange: u,
|
|
@@ -3153,24 +3158,24 @@ const ia = ({
|
|
|
3153
3158
|
className: d
|
|
3154
3159
|
}) => {
|
|
3155
3160
|
const [f, h] = F(!1);
|
|
3156
|
-
|
|
3161
|
+
G(() => {
|
|
3157
3162
|
h(a);
|
|
3158
3163
|
}, [a]);
|
|
3159
3164
|
const v = () => h(!0), g = () => h(!1);
|
|
3160
|
-
return
|
|
3165
|
+
return G(() => {
|
|
3161
3166
|
u(f);
|
|
3162
|
-
}, [f, u]), /* @__PURE__ */ n.jsxs(
|
|
3163
|
-
Rr.map(o, (p) =>
|
|
3167
|
+
}, [f, u]), /* @__PURE__ */ n.jsxs(Ut.Provider, { value: { closeModal: g, openModal: v }, children: [
|
|
3168
|
+
Rr.map(o, (p) => Sr(p) && p.type === da ? p : null),
|
|
3164
3169
|
f && /* @__PURE__ */ n.jsx(
|
|
3165
|
-
|
|
3170
|
+
xn,
|
|
3166
3171
|
{
|
|
3167
|
-
className:
|
|
3172
|
+
className: W("blockbite-ui__modal bb_", d),
|
|
3168
3173
|
onRequestClose: g,
|
|
3169
3174
|
title: l,
|
|
3170
3175
|
children: /* @__PURE__ */ n.jsxs("div", { className: "relative", children: [
|
|
3171
|
-
Rr.map(o, (p) =>
|
|
3172
|
-
Rr.map(o, (p) =>
|
|
3173
|
-
Rr.map(o, (p) =>
|
|
3176
|
+
Rr.map(o, (p) => Sr(p) && p.type === ua ? p : null),
|
|
3177
|
+
Rr.map(o, (p) => Sr(p) && p.type === fa ? p : null),
|
|
3178
|
+
Rr.map(o, (p) => Sr(p) && p.type === ca ? p : null)
|
|
3174
3179
|
] })
|
|
3175
3180
|
}
|
|
3176
3181
|
)
|
|
@@ -3178,7 +3183,7 @@ const ia = ({
|
|
|
3178
3183
|
}, ua = ({ children: o, className: a = "", ...u }) => /* @__PURE__ */ n.jsx(
|
|
3179
3184
|
"div",
|
|
3180
3185
|
{
|
|
3181
|
-
className:
|
|
3186
|
+
className: W(
|
|
3182
3187
|
"flex flex-col space-y-1.5 text-center sm:text-left",
|
|
3183
3188
|
a
|
|
3184
3189
|
),
|
|
@@ -3188,7 +3193,7 @@ const ia = ({
|
|
|
3188
3193
|
), ca = ({ children: o, className: a = "", ...u }) => /* @__PURE__ */ n.jsx(
|
|
3189
3194
|
"div",
|
|
3190
3195
|
{
|
|
3191
|
-
className:
|
|
3196
|
+
className: W(
|
|
3192
3197
|
"border-gray-light fixed bottom-0 left-0 right-0 flex h-[4rem] flex-row items-center justify-end space-x-2 border-t bg-white px-4",
|
|
3193
3198
|
a
|
|
3194
3199
|
),
|
|
@@ -3198,15 +3203,15 @@ const ia = ({
|
|
|
3198
3203
|
), fa = ({ children: o, className: a = "", ...u }) => /* @__PURE__ */ n.jsx(
|
|
3199
3204
|
"div",
|
|
3200
3205
|
{
|
|
3201
|
-
className:
|
|
3206
|
+
className: W("text-gray-medium px-4 pb-4 text-sm", a),
|
|
3202
3207
|
...u,
|
|
3203
3208
|
children: o
|
|
3204
3209
|
}
|
|
3205
|
-
),
|
|
3206
|
-
const { closeModal: a } =
|
|
3210
|
+
), Ua = ({ children: o }) => {
|
|
3211
|
+
const { closeModal: a } = Vt();
|
|
3207
3212
|
return /* @__PURE__ */ n.jsx("div", { onClick: a, className: "cursor-pointer", children: o });
|
|
3208
3213
|
}, da = ({ children: o }) => {
|
|
3209
|
-
const { openModal: a } =
|
|
3214
|
+
const { openModal: a } = Vt();
|
|
3210
3215
|
return /* @__PURE__ */ n.jsx("div", { onClick: a, className: "cursor-pointer", children: o });
|
|
3211
3216
|
};
|
|
3212
3217
|
function pa(o, a) {
|
|
@@ -3230,13 +3235,13 @@ function pa(o, a) {
|
|
|
3230
3235
|
}
|
|
3231
3236
|
});
|
|
3232
3237
|
}
|
|
3233
|
-
const
|
|
3238
|
+
const Va = ({
|
|
3234
3239
|
windowInstance: o,
|
|
3235
3240
|
onClose: a,
|
|
3236
3241
|
children: u
|
|
3237
3242
|
}) => {
|
|
3238
|
-
const l =
|
|
3239
|
-
return
|
|
3243
|
+
const l = Nn(() => document.createElement("div"), []);
|
|
3244
|
+
return G(() => {
|
|
3240
3245
|
const d = o;
|
|
3241
3246
|
d.document.body.innerHTML = "", d.document.body.appendChild(l), d.document.body.classList.add("bb_"), pa(document, d.document), d.document.title = document.title || "Blockbite Editor";
|
|
3242
3247
|
const f = () => {
|
|
@@ -3245,7 +3250,7 @@ const Ba = ({
|
|
|
3245
3250
|
return d.addEventListener("beforeunload", f), () => {
|
|
3246
3251
|
d.removeEventListener("beforeunload", f);
|
|
3247
3252
|
};
|
|
3248
|
-
}, [o]),
|
|
3253
|
+
}, [o]), Bt(u, l);
|
|
3249
3254
|
}, Ya = ({
|
|
3250
3255
|
children: o,
|
|
3251
3256
|
status: a = "success",
|
|
@@ -3253,10 +3258,10 @@ const Ba = ({
|
|
|
3253
3258
|
}) => {
|
|
3254
3259
|
const [l, d] = F(!0);
|
|
3255
3260
|
return /* @__PURE__ */ n.jsx(ne, { onClick: () => d(!1), children: l && /* @__PURE__ */ n.jsx(
|
|
3256
|
-
|
|
3261
|
+
_n,
|
|
3257
3262
|
{
|
|
3258
3263
|
status: a,
|
|
3259
|
-
className:
|
|
3264
|
+
className: W(u),
|
|
3260
3265
|
onRemove: () => d(!1),
|
|
3261
3266
|
children: o
|
|
3262
3267
|
}
|
|
@@ -3269,16 +3274,16 @@ const Ba = ({
|
|
|
3269
3274
|
}) => {
|
|
3270
3275
|
const [d, f] = F(!1);
|
|
3271
3276
|
return /* @__PURE__ */ n.jsx(
|
|
3272
|
-
|
|
3277
|
+
jn,
|
|
3273
3278
|
{
|
|
3274
3279
|
label: o,
|
|
3275
3280
|
value: a,
|
|
3276
3281
|
type: d ? "text" : "password",
|
|
3277
|
-
suffix: /* @__PURE__ */ n.jsx(
|
|
3282
|
+
suffix: /* @__PURE__ */ n.jsx(Cn, { variant: "control", children: /* @__PURE__ */ n.jsx(
|
|
3278
3283
|
ye,
|
|
3279
3284
|
{
|
|
3280
3285
|
icon: /* @__PURE__ */ n.jsx(zn, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx(
|
|
3281
|
-
|
|
3286
|
+
Hn,
|
|
3282
3287
|
{
|
|
3283
3288
|
d: d ? "M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z" : "M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z"
|
|
3284
3289
|
}
|
|
@@ -3292,7 +3297,7 @@ const Ba = ({
|
|
|
3292
3297
|
...l
|
|
3293
3298
|
}
|
|
3294
3299
|
);
|
|
3295
|
-
},
|
|
3300
|
+
}, Ha = ({
|
|
3296
3301
|
items: o,
|
|
3297
3302
|
activeId: a,
|
|
3298
3303
|
onSelect: u,
|
|
@@ -3309,7 +3314,7 @@ const Ba = ({
|
|
|
3309
3314
|
},
|
|
3310
3315
|
d.id
|
|
3311
3316
|
)) }) });
|
|
3312
|
-
function
|
|
3317
|
+
function qa(o) {
|
|
3313
3318
|
const { media: a, mediaClass: u } = o, { url: l, alt: d, sizes: f } = a;
|
|
3314
3319
|
if (f === void 0)
|
|
3315
3320
|
return /* @__PURE__ */ n.jsx("img", { src: l, alt: d, className: `bf_media ${u}` });
|
|
@@ -3342,7 +3347,7 @@ function Ga(o) {
|
|
|
3342
3347
|
j ? /* @__PURE__ */ n.jsx("img", { src: j, alt: d, className: `bf_media ${u}` }) : null
|
|
3343
3348
|
] });
|
|
3344
3349
|
}
|
|
3345
|
-
function
|
|
3350
|
+
function Ga(o) {
|
|
3346
3351
|
const { media: a, mediaClass: u } = o, { url: l } = a, d = l;
|
|
3347
3352
|
return /* @__PURE__ */ n.jsx(
|
|
3348
3353
|
"video",
|
|
@@ -3358,14 +3363,14 @@ function Ka(o) {
|
|
|
3358
3363
|
}
|
|
3359
3364
|
);
|
|
3360
3365
|
}
|
|
3361
|
-
const
|
|
3366
|
+
const Ka = ({
|
|
3362
3367
|
children: o,
|
|
3363
3368
|
className: a = "",
|
|
3364
3369
|
height: u = "large"
|
|
3365
3370
|
}) => /* @__PURE__ */ n.jsx(
|
|
3366
3371
|
ne,
|
|
3367
3372
|
{
|
|
3368
|
-
className:
|
|
3373
|
+
className: W("scrollbar relative overflow-y-scroll", a, {
|
|
3369
3374
|
"h-[400px]": u === "large",
|
|
3370
3375
|
"h-[300px]": u === "medium",
|
|
3371
3376
|
"h-[200px]": u === "small"
|
|
@@ -3381,7 +3386,7 @@ const Ha = ({
|
|
|
3381
3386
|
emptyLabel: f = "No options available"
|
|
3382
3387
|
}) => {
|
|
3383
3388
|
const [h, v] = F("");
|
|
3384
|
-
|
|
3389
|
+
G(() => {
|
|
3385
3390
|
v(u);
|
|
3386
3391
|
}, []);
|
|
3387
3392
|
const g = (p) => {
|
|
@@ -3389,8 +3394,10 @@ const Ha = ({
|
|
|
3389
3394
|
};
|
|
3390
3395
|
return /* @__PURE__ */ n.jsxs("div", { className: a, children: [
|
|
3391
3396
|
l && l.length > 0 && /* @__PURE__ */ n.jsx(
|
|
3392
|
-
|
|
3397
|
+
wn,
|
|
3393
3398
|
{
|
|
3399
|
+
__next40pxDefaultSize: !0,
|
|
3400
|
+
__nextHasNoMarginBottom: !0,
|
|
3394
3401
|
label: d || "",
|
|
3395
3402
|
value: h || "",
|
|
3396
3403
|
onChange: g,
|
|
@@ -3403,7 +3410,7 @@ const Ha = ({
|
|
|
3403
3410
|
buttonText: o = "Add block"
|
|
3404
3411
|
}) => {
|
|
3405
3412
|
const a = () => {
|
|
3406
|
-
const u = va("core/block-editor").getSelectedBlock(), { clientId: l, innerBlocks: d } = u, f = d[d.length - 1], h =
|
|
3413
|
+
const u = va("core/block-editor").getSelectedBlock(), { clientId: l, innerBlocks: d } = u, f = d[d.length - 1], h = qn(
|
|
3407
3414
|
f.name,
|
|
3408
3415
|
f.attributes,
|
|
3409
3416
|
f.innerBlocks
|
|
@@ -3413,14 +3420,14 @@ const Ha = ({
|
|
|
3413
3420
|
return /* @__PURE__ */ n.jsx(ye, { variant: "primary", onClick: () => a(), children: o });
|
|
3414
3421
|
}, Za = ({ children: o, watch: a, className: u }) => {
|
|
3415
3422
|
const [l, d] = F(0);
|
|
3416
|
-
return
|
|
3423
|
+
return G(() => {
|
|
3417
3424
|
setTimeout(() => {
|
|
3418
3425
|
d(1);
|
|
3419
3426
|
}, 250);
|
|
3420
3427
|
}, [a]), /* @__PURE__ */ n.jsx(
|
|
3421
3428
|
ne,
|
|
3422
3429
|
{
|
|
3423
|
-
className:
|
|
3430
|
+
className: W(
|
|
3424
3431
|
u,
|
|
3425
3432
|
"duration-50 transform transition-all ease-in-out",
|
|
3426
3433
|
{
|
|
@@ -3433,12 +3440,12 @@ const Ha = ({
|
|
|
3433
3440
|
);
|
|
3434
3441
|
}, Qa = ({ className: o, defaultValue: a }) => {
|
|
3435
3442
|
const [u, l] = F(!1);
|
|
3436
|
-
return
|
|
3443
|
+
return G(() => {
|
|
3437
3444
|
setTimeout(() => {
|
|
3438
3445
|
l(!1);
|
|
3439
3446
|
}, 500), a && l(!0);
|
|
3440
|
-
}, [u, a]), u && /* @__PURE__ */ n.jsx(
|
|
3441
|
-
}, st =
|
|
3447
|
+
}, [u, a]), u && /* @__PURE__ */ n.jsx(En, { className: W(o) });
|
|
3448
|
+
}, st = Wt(null), ha = ({
|
|
3442
3449
|
children: o,
|
|
3443
3450
|
defaultValue: a,
|
|
3444
3451
|
value: u,
|
|
@@ -3460,9 +3467,9 @@ const Ha = ({
|
|
|
3460
3467
|
}) => {
|
|
3461
3468
|
const d = nt(st), f = l || d?.setActiveTab;
|
|
3462
3469
|
return /* @__PURE__ */ n.jsx(
|
|
3463
|
-
|
|
3470
|
+
Rn,
|
|
3464
3471
|
{
|
|
3465
|
-
className:
|
|
3472
|
+
className: W("tabs-list", u),
|
|
3466
3473
|
tabs: o,
|
|
3467
3474
|
onSelect: (h) => {
|
|
3468
3475
|
f(h);
|
|
@@ -3483,14 +3490,23 @@ const Ha = ({
|
|
|
3483
3490
|
onClick: a,
|
|
3484
3491
|
color: u = "blue",
|
|
3485
3492
|
className: l
|
|
3486
|
-
}) => /* @__PURE__ */ n.jsx("button", { onClick: a, children: /* @__PURE__ */ n.jsx("div", { color: u, className:
|
|
3493
|
+
}) => /* @__PURE__ */ n.jsx("button", { onClick: a, children: /* @__PURE__ */ n.jsx("div", { color: u, className: W(l), children: o }) }), to = ({
|
|
3487
3494
|
onChange: o,
|
|
3488
3495
|
defaultValue: a,
|
|
3489
3496
|
children: u
|
|
3490
3497
|
}) => /* @__PURE__ */ n.jsxs(ne, { className: "blockbite-ui__text-control-label flex items-center", children: [
|
|
3491
3498
|
/* @__PURE__ */ n.jsxs("span", { className: "outline-b-2 relative block -outline-offset-2 outline-black", children: [
|
|
3492
|
-
/* @__PURE__ */ n.jsx(
|
|
3493
|
-
|
|
3499
|
+
/* @__PURE__ */ n.jsx(
|
|
3500
|
+
rt,
|
|
3501
|
+
{
|
|
3502
|
+
__next40pxDefaultSize: !0,
|
|
3503
|
+
__nextHasNoMarginBottom: !0,
|
|
3504
|
+
type: "text",
|
|
3505
|
+
value: a,
|
|
3506
|
+
onChange: o
|
|
3507
|
+
}
|
|
3508
|
+
),
|
|
3509
|
+
/* @__PURE__ */ n.jsx(Vn, { className: "absolute right-1 top-2" })
|
|
3494
3510
|
] }),
|
|
3495
3511
|
" ",
|
|
3496
3512
|
u
|
|
@@ -3506,17 +3522,19 @@ const Ha = ({
|
|
|
3506
3522
|
const [h, v] = F(""), g = (p) => {
|
|
3507
3523
|
f(p);
|
|
3508
3524
|
};
|
|
3509
|
-
return
|
|
3525
|
+
return G(() => {
|
|
3510
3526
|
v(u);
|
|
3511
|
-
}, [u]), /* @__PURE__ */ n.jsx(ne, { className:
|
|
3512
|
-
|
|
3527
|
+
}, [u]), /* @__PURE__ */ n.jsx(ne, { className: W(o), children: /* @__PURE__ */ n.jsx(
|
|
3528
|
+
Sn,
|
|
3513
3529
|
{
|
|
3530
|
+
__next40pxDefaultSize: !0,
|
|
3531
|
+
__nextHasNoMarginBottom: !0,
|
|
3514
3532
|
isBlock: !0,
|
|
3515
3533
|
value: h,
|
|
3516
3534
|
label: typeof d == "string" ? d : "",
|
|
3517
3535
|
children: a.map(
|
|
3518
3536
|
(p) => l === "icon" ? /* @__PURE__ */ n.jsx(
|
|
3519
|
-
|
|
3537
|
+
kn,
|
|
3520
3538
|
{
|
|
3521
3539
|
icon: p.icon,
|
|
3522
3540
|
label: p.label,
|
|
@@ -3525,7 +3543,7 @@ const Ha = ({
|
|
|
3525
3543
|
},
|
|
3526
3544
|
`ToggleGroupControlIcon-${p.value}`
|
|
3527
3545
|
) : /* @__PURE__ */ n.jsx(
|
|
3528
|
-
|
|
3546
|
+
Tn,
|
|
3529
3547
|
{
|
|
3530
3548
|
value: p.value,
|
|
3531
3549
|
label: p.label,
|
|
@@ -3545,10 +3563,10 @@ const Ha = ({
|
|
|
3545
3563
|
// Default to false if undefined, so it's always controlled
|
|
3546
3564
|
}) => {
|
|
3547
3565
|
const [d, f] = F(l);
|
|
3548
|
-
return
|
|
3566
|
+
return G(() => {
|
|
3549
3567
|
f(l);
|
|
3550
|
-
}, [l]), /* @__PURE__ */ n.jsx(ne, { className:
|
|
3551
|
-
|
|
3568
|
+
}, [l]), /* @__PURE__ */ n.jsx(ne, { className: W(a, "flex items-center gap-2"), children: /* @__PURE__ */ n.jsx(
|
|
3569
|
+
On,
|
|
3552
3570
|
{
|
|
3553
3571
|
checked: d,
|
|
3554
3572
|
label: o,
|
|
@@ -3559,9 +3577,9 @@ const Ha = ({
|
|
|
3559
3577
|
) });
|
|
3560
3578
|
};
|
|
3561
3579
|
export {
|
|
3562
|
-
|
|
3580
|
+
Sa as AutocompleteDropdown,
|
|
3563
3581
|
aa as Badge,
|
|
3564
|
-
|
|
3582
|
+
ka as BitePreview,
|
|
3565
3583
|
Ta as Button,
|
|
3566
3584
|
ta as ButtonToggle,
|
|
3567
3585
|
na as ButtonToggleGroup,
|
|
@@ -3574,25 +3592,25 @@ export {
|
|
|
3574
3592
|
Da as EmptyState,
|
|
3575
3593
|
$a as FloatingPanel,
|
|
3576
3594
|
Fa as FocalPointControl,
|
|
3577
|
-
|
|
3595
|
+
Ke as Icon,
|
|
3578
3596
|
La as LinkPicker,
|
|
3579
3597
|
Ma as MediaPicker,
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3598
|
+
Ba as MetricsControl,
|
|
3599
|
+
Wa as Modal,
|
|
3600
|
+
Ua as ModalClose,
|
|
3583
3601
|
fa as ModalContent,
|
|
3584
3602
|
ca as ModalFooter,
|
|
3585
3603
|
ua as ModalHeader,
|
|
3586
3604
|
da as ModalTrigger,
|
|
3587
|
-
|
|
3605
|
+
Va as NewWindowPortal,
|
|
3588
3606
|
Ya as Notice,
|
|
3589
3607
|
za as PasswordInput,
|
|
3590
3608
|
ia as Popover,
|
|
3591
|
-
|
|
3609
|
+
Ha as ProjectsNavigation,
|
|
3592
3610
|
la as RangeSlider,
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3611
|
+
qa as ResponsiveImage,
|
|
3612
|
+
Ga as ResponsiveVideo,
|
|
3613
|
+
Ka as ScrollList,
|
|
3596
3614
|
Ja as SelectControlWrapper,
|
|
3597
3615
|
Xa as SingleBlockTypeAppender,
|
|
3598
3616
|
Za as SlideIn,
|
|
@@ -3607,6 +3625,6 @@ export {
|
|
|
3607
3625
|
no as ToggleGroup,
|
|
3608
3626
|
ao as ToggleSwitch,
|
|
3609
3627
|
ne as Wrap,
|
|
3610
|
-
|
|
3628
|
+
Vt as useModalContext
|
|
3611
3629
|
};
|
|
3612
3630
|
//# sourceMappingURL=index.js.map
|