@blockbite/ui 2.0.15 → 2.0.17
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/Badge.d.ts +3 -2
- package/dist/DataItemList.d.ts +18 -0
- package/dist/DisappearingMessage.d.ts +6 -4
- package/dist/TextControl.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1355 -1338
- package/dist/index.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +5 -3
- package/dist/SectionList.d.ts +0 -20
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Pencil1 as Mt,
|
|
2
|
-
import { Button as
|
|
3
|
-
import { memo as tt, useState as F, useEffect as K, useCallback as Wt, useRef as
|
|
1
|
+
import { Pencil1 as Mt, Plus as vn, Trash as mn, ChevronDown as hn, Cross2 as yn, Tailwind as bn, Percentage as gn, Grid as xn, Desktop as _n, Slider as jn, ColumnSpacing as Cn } from "@blockbite/icons";
|
|
2
|
+
import { Button as ye, Dropdown as wn, TextControl as rt, CheckboxControl as En, DropdownMenu as Rn, FocalPointPicker as kn, PanelRow as Sn, Popover as Tn, RangeControl as On, Modal as Pn, Notice as Nn, __experimentalInputControl as An, __experimentalInputControlSuffixWrapper as In, SelectControl as Dn, Spinner as $n, TabPanel as Fn, __experimentalToggleGroupControl as Ln, __experimentalToggleGroupControlOptionIcon as Mn, __experimentalToggleGroupControlOption as Wn, ToggleControl as Un } from "@wordpress/components";
|
|
3
|
+
import { memo as tt, useState as F, useEffect as K, useCallback as Wt, useRef as lr, createPortal as Ut, forwardRef as Vn, createContext as Vt, useContext as nt, Children as Rr, isValidElement as kr, useMemo as Bn } from "@wordpress/element";
|
|
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
7
|
import { SVG as zn, Path as qn } from "@wordpress/primitives";
|
|
8
8
|
import { createBlock as Gn } from "@wordpress/blocks";
|
|
9
|
-
function
|
|
9
|
+
function Kn(o) {
|
|
10
10
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var Sr = { exports: {} }, or = {}, Tr = { exports: {} }, N = {};
|
|
13
13
|
/**
|
|
14
14
|
* @license React
|
|
15
15
|
* react.production.min.js
|
|
@@ -20,11 +20,11 @@ var kr = { exports: {} }, or = {}, Sr = { exports: {} }, P = {};
|
|
|
20
20
|
* LICENSE file in the root directory of this source tree.
|
|
21
21
|
*/
|
|
22
22
|
var Nt;
|
|
23
|
-
function
|
|
24
|
-
if (Nt) return
|
|
23
|
+
function Hn() {
|
|
24
|
+
if (Nt) return N;
|
|
25
25
|
Nt = 1;
|
|
26
|
-
var o = Symbol.for("react.element"), a = Symbol.for("react.portal"),
|
|
27
|
-
function
|
|
26
|
+
var o = Symbol.for("react.element"), a = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), d = 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;
|
|
27
|
+
function O(s) {
|
|
28
28
|
return s === null || typeof s != "object" ? null : (s = _ && s[_] || s["@@iterator"], typeof s == "function" ? s : null);
|
|
29
29
|
}
|
|
30
30
|
var T = { isMounted: function() {
|
|
@@ -32,36 +32,36 @@ function Kn() {
|
|
|
32
32
|
}, enqueueForceUpdate: function() {
|
|
33
33
|
}, enqueueReplaceState: function() {
|
|
34
34
|
}, enqueueSetState: function() {
|
|
35
|
-
} },
|
|
36
|
-
function
|
|
37
|
-
this.props = s, this.context = y, this.refs =
|
|
35
|
+
} }, S = Object.assign, ae = {};
|
|
36
|
+
function de(s, y, I) {
|
|
37
|
+
this.props = s, this.context = y, this.refs = ae, this.updater = I || T;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
de.prototype.isReactComponent = {}, de.prototype.setState = function(s, y) {
|
|
40
40
|
if (typeof s != "object" && typeof s != "function" && s != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
41
41
|
this.updater.enqueueSetState(this, s, y, "setState");
|
|
42
|
-
},
|
|
42
|
+
}, de.prototype.forceUpdate = function(s) {
|
|
43
43
|
this.updater.enqueueForceUpdate(this, s, "forceUpdate");
|
|
44
44
|
};
|
|
45
|
-
function
|
|
45
|
+
function A() {
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
function Y(s, y,
|
|
49
|
-
this.props = s, this.context = y, this.refs =
|
|
47
|
+
A.prototype = de.prototype;
|
|
48
|
+
function Y(s, y, I) {
|
|
49
|
+
this.props = s, this.context = y, this.refs = ae, this.updater = I || T;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
var
|
|
54
|
-
function
|
|
55
|
-
var $, M = {}, J = null,
|
|
56
|
-
if (y != null) for ($ in y.ref !== void 0 && (
|
|
51
|
+
var ge = Y.prototype = new A();
|
|
52
|
+
ge.constructor = Y, S(ge, de.prototype), ge.isPureReactComponent = !0;
|
|
53
|
+
var H = Array.isArray, X = Object.prototype.hasOwnProperty, ie = { current: null }, pe = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
54
|
+
function je(s, y, I) {
|
|
55
|
+
var $, M = {}, J = null, q = null;
|
|
56
|
+
if (y != null) for ($ in y.ref !== void 0 && (q = 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
|
-
if (z === 1) M.children =
|
|
58
|
+
if (z === 1) M.children = I;
|
|
59
59
|
else if (1 < z) {
|
|
60
60
|
for (var V = Array(z), oe = 0; oe < z; oe++) V[oe] = arguments[oe + 2];
|
|
61
61
|
M.children = V;
|
|
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: q, 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 };
|
|
@@ -71,148 +71,148 @@ function Kn() {
|
|
|
71
71
|
}
|
|
72
72
|
function Je(s) {
|
|
73
73
|
var y = { "=": "=0", ":": "=2" };
|
|
74
|
-
return "$" + s.replace(/[=:]/g, function(
|
|
75
|
-
return y[
|
|
74
|
+
return "$" + s.replace(/[=:]/g, function(I) {
|
|
75
|
+
return y[I];
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
var Pe = /\/+/g;
|
|
79
|
-
function
|
|
79
|
+
function ve(s, y) {
|
|
80
80
|
return typeof s == "object" && s !== null && s.key != null ? Je("" + s.key) : y.toString(36);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
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 q = !1;
|
|
86
|
+
if (s === null) q = !0;
|
|
87
87
|
else switch (J) {
|
|
88
88
|
case "string":
|
|
89
89
|
case "number":
|
|
90
|
-
|
|
90
|
+
q = !0;
|
|
91
91
|
break;
|
|
92
92
|
case "object":
|
|
93
93
|
switch (s.$$typeof) {
|
|
94
94
|
case o:
|
|
95
95
|
case a:
|
|
96
|
-
|
|
96
|
+
q = !0;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
if (
|
|
99
|
+
if (q) return q = s, M = M(q), s = $ === "" ? "." + ve(q, 0) : $, H(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,
|
|
102
|
-
if (
|
|
101
|
+
})) : M != null && (Oe(M) && (M = Te(M, I + (!M.key || q && q.key === M.key ? "" : ("" + M.key).replace(Pe, "$&/") + "/") + s)), y.push(M)), 1;
|
|
102
|
+
if (q = 0, $ = $ === "" ? "." : $ + ":", H(s)) for (var z = 0; z < s.length; z++) {
|
|
103
103
|
J = s[z];
|
|
104
|
-
var V = $ +
|
|
105
|
-
|
|
104
|
+
var V = $ + ve(J, z);
|
|
105
|
+
q += me(J, y, I, V, M);
|
|
106
106
|
}
|
|
107
|
-
else if (V =
|
|
107
|
+
else if (V = O(s), typeof V == "function") for (s = V.call(s), z = 0; !(J = s.next()).done; ) J = J.value, V = $ + ve(J, z++), q += me(J, y, I, V, 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 q;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function le(s, y, I) {
|
|
112
112
|
if (s == null) return s;
|
|
113
113
|
var $ = [], M = 0;
|
|
114
|
-
return
|
|
115
|
-
return y.call(
|
|
114
|
+
return me(s, $, "", "", function(J) {
|
|
115
|
+
return y.call(I, J, M++);
|
|
116
116
|
}), $;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function be(s) {
|
|
119
119
|
if (s._status === -1) {
|
|
120
120
|
var y = s._result;
|
|
121
|
-
y = y(), y.then(function(
|
|
122
|
-
(s._status === 0 || s._status === -1) && (s._status = 1, s._result =
|
|
123
|
-
}, function(
|
|
124
|
-
(s._status === 0 || s._status === -1) && (s._status = 2, s._result =
|
|
121
|
+
y = y(), y.then(function(I) {
|
|
122
|
+
(s._status === 0 || s._status === -1) && (s._status = 1, s._result = I);
|
|
123
|
+
}, function(I) {
|
|
124
|
+
(s._status === 0 || s._status === -1) && (s._status = 2, s._result = I);
|
|
125
125
|
}), s._status === -1 && (s._status = 0, s._result = y);
|
|
126
126
|
}
|
|
127
127
|
if (s._status === 1) return s._result.default;
|
|
128
128
|
throw s._result;
|
|
129
129
|
}
|
|
130
|
-
var
|
|
130
|
+
var E = { current: null }, xe = { transition: null }, Ne = { ReactCurrentDispatcher: E, ReactCurrentBatchConfig: xe, ReactCurrentOwner: ie };
|
|
131
131
|
function Ce() {
|
|
132
132
|
throw Error("act(...) is not supported in production builds of React.");
|
|
133
133
|
}
|
|
134
|
-
return
|
|
135
|
-
|
|
134
|
+
return N.Children = { map: le, forEach: function(s, y, I) {
|
|
135
|
+
le(s, function() {
|
|
136
136
|
y.apply(this, arguments);
|
|
137
|
-
},
|
|
137
|
+
}, I);
|
|
138
138
|
}, count: function(s) {
|
|
139
139
|
var y = 0;
|
|
140
|
-
return
|
|
140
|
+
return le(s, function() {
|
|
141
141
|
y++;
|
|
142
142
|
}), y;
|
|
143
143
|
}, toArray: function(s) {
|
|
144
|
-
return
|
|
144
|
+
return le(s, function(y) {
|
|
145
145
|
return y;
|
|
146
146
|
}) || [];
|
|
147
147
|
}, only: function(s) {
|
|
148
148
|
if (!Oe(s)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
149
149
|
return s;
|
|
150
|
-
} },
|
|
150
|
+
} }, N.Component = de, N.Fragment = u, N.Profiler = f, 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 $ = S({}, s.props), M = s.key, J = s.ref, q = s._owner;
|
|
153
153
|
if (y != null) {
|
|
154
|
-
if (y.ref !== void 0 && (J = y.ref,
|
|
155
|
-
for (V in y)
|
|
154
|
+
if (y.ref !== void 0 && (J = y.ref, q = ie.current), y.key !== void 0 && (M = "" + y.key), s.type && s.type.defaultProps) var z = s.type.defaultProps;
|
|
155
|
+
for (V in y) X.call(y, V) && !pe.hasOwnProperty(V) && ($[V] = y[V] === void 0 && z !== void 0 ? z[V] : y[V]);
|
|
156
156
|
}
|
|
157
157
|
var V = arguments.length - 2;
|
|
158
|
-
if (V === 1) $.children =
|
|
158
|
+
if (V === 1) $.children = I;
|
|
159
159
|
else if (1 < V) {
|
|
160
160
|
z = Array(V);
|
|
161
161
|
for (var oe = 0; oe < V; 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:
|
|
165
|
-
},
|
|
166
|
-
return s = { $$typeof:
|
|
167
|
-
},
|
|
168
|
-
var y =
|
|
164
|
+
return { $$typeof: o, type: s.type, key: M, ref: J, props: $, _owner: q };
|
|
165
|
+
}, N.createContext = function(s) {
|
|
166
|
+
return s = { $$typeof: h, _currentValue: s, _currentValue2: s, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, s.Provider = { $$typeof: d, _context: s }, s.Consumer = s;
|
|
167
|
+
}, N.createElement = je, N.createFactory = function(s) {
|
|
168
|
+
var y = je.bind(null, s);
|
|
169
169
|
return y.type = s, y;
|
|
170
|
-
},
|
|
170
|
+
}, N.createRef = function() {
|
|
171
171
|
return { current: null };
|
|
172
|
-
},
|
|
173
|
-
return { $$typeof:
|
|
174
|
-
},
|
|
175
|
-
return { $$typeof:
|
|
176
|
-
},
|
|
172
|
+
}, N.forwardRef = function(s) {
|
|
173
|
+
return { $$typeof: v, render: s };
|
|
174
|
+
}, N.isValidElement = Oe, N.lazy = function(s) {
|
|
175
|
+
return { $$typeof: j, _payload: { _status: -1, _result: s }, _init: be };
|
|
176
|
+
}, N.memo = function(s, y) {
|
|
177
177
|
return { $$typeof: p, type: s, compare: y === void 0 ? null : y };
|
|
178
|
-
},
|
|
179
|
-
var y =
|
|
180
|
-
|
|
178
|
+
}, N.startTransition = function(s) {
|
|
179
|
+
var y = xe.transition;
|
|
180
|
+
xe.transition = {};
|
|
181
181
|
try {
|
|
182
182
|
s();
|
|
183
183
|
} finally {
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
return
|
|
188
|
-
},
|
|
189
|
-
return
|
|
190
|
-
},
|
|
191
|
-
},
|
|
192
|
-
return
|
|
193
|
-
},
|
|
194
|
-
return
|
|
195
|
-
},
|
|
196
|
-
return
|
|
197
|
-
},
|
|
198
|
-
return
|
|
199
|
-
},
|
|
200
|
-
return
|
|
201
|
-
},
|
|
202
|
-
return
|
|
203
|
-
},
|
|
204
|
-
return
|
|
205
|
-
},
|
|
206
|
-
return
|
|
207
|
-
},
|
|
208
|
-
return
|
|
209
|
-
},
|
|
210
|
-
return
|
|
211
|
-
},
|
|
212
|
-
return
|
|
213
|
-
},
|
|
214
|
-
return
|
|
215
|
-
},
|
|
184
|
+
xe.transition = y;
|
|
185
|
+
}
|
|
186
|
+
}, N.unstable_act = Ce, N.useCallback = function(s, y) {
|
|
187
|
+
return E.current.useCallback(s, y);
|
|
188
|
+
}, N.useContext = function(s) {
|
|
189
|
+
return E.current.useContext(s);
|
|
190
|
+
}, N.useDebugValue = function() {
|
|
191
|
+
}, N.useDeferredValue = function(s) {
|
|
192
|
+
return E.current.useDeferredValue(s);
|
|
193
|
+
}, N.useEffect = function(s, y) {
|
|
194
|
+
return E.current.useEffect(s, y);
|
|
195
|
+
}, N.useId = function() {
|
|
196
|
+
return E.current.useId();
|
|
197
|
+
}, N.useImperativeHandle = function(s, y, I) {
|
|
198
|
+
return E.current.useImperativeHandle(s, y, I);
|
|
199
|
+
}, N.useInsertionEffect = function(s, y) {
|
|
200
|
+
return E.current.useInsertionEffect(s, y);
|
|
201
|
+
}, N.useLayoutEffect = function(s, y) {
|
|
202
|
+
return E.current.useLayoutEffect(s, y);
|
|
203
|
+
}, N.useMemo = function(s, y) {
|
|
204
|
+
return E.current.useMemo(s, y);
|
|
205
|
+
}, N.useReducer = function(s, y, I) {
|
|
206
|
+
return E.current.useReducer(s, y, I);
|
|
207
|
+
}, N.useRef = function(s) {
|
|
208
|
+
return E.current.useRef(s);
|
|
209
|
+
}, N.useState = function(s) {
|
|
210
|
+
return E.current.useState(s);
|
|
211
|
+
}, N.useSyncExternalStore = function(s, y, I) {
|
|
212
|
+
return E.current.useSyncExternalStore(s, y, I);
|
|
213
|
+
}, N.useTransition = function() {
|
|
214
|
+
return E.current.useTransition();
|
|
215
|
+
}, N.version = "18.3.1", N;
|
|
216
216
|
}
|
|
217
217
|
var ir = { exports: {} };
|
|
218
218
|
/**
|
|
@@ -230,72 +230,72 @@ 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
|
|
233
|
+
var u = "18.3.1", l = Symbol.for("react.element"), f = Symbol.for("react.portal"), d = 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"), S = 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;
|
|
237
|
-
var r =
|
|
237
|
+
var r = de && e[de] || e[A];
|
|
238
238
|
return typeof r == "function" ? r : null;
|
|
239
239
|
}
|
|
240
|
-
var
|
|
240
|
+
var ge = {
|
|
241
241
|
/**
|
|
242
242
|
* @internal
|
|
243
243
|
* @type {ReactComponent}
|
|
244
244
|
*/
|
|
245
245
|
current: null
|
|
246
|
-
},
|
|
246
|
+
}, H = {
|
|
247
247
|
transition: null
|
|
248
|
-
},
|
|
248
|
+
}, X = {
|
|
249
249
|
current: null,
|
|
250
250
|
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
|
251
251
|
isBatchingLegacy: !1,
|
|
252
252
|
didScheduleLegacyUpdate: !1
|
|
253
|
-
},
|
|
253
|
+
}, ie = {
|
|
254
254
|
/**
|
|
255
255
|
* @internal
|
|
256
256
|
* @type {ReactComponent}
|
|
257
257
|
*/
|
|
258
258
|
current: null
|
|
259
|
-
},
|
|
259
|
+
}, pe = {}, je = null;
|
|
260
260
|
function Te(e) {
|
|
261
|
-
|
|
261
|
+
je = e;
|
|
262
262
|
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
},
|
|
263
|
+
pe.setExtraStackFrame = function(e) {
|
|
264
|
+
je = e;
|
|
265
|
+
}, pe.getCurrentStack = null, pe.getStackAddendum = function() {
|
|
266
266
|
var e = "";
|
|
267
|
-
|
|
268
|
-
var r =
|
|
267
|
+
je && (e += je);
|
|
268
|
+
var r = pe.getCurrentStack;
|
|
269
269
|
return r && (e += r() || ""), e;
|
|
270
270
|
};
|
|
271
|
-
var Oe = !1, Je = !1, Pe = !1,
|
|
272
|
-
ReactCurrentDispatcher:
|
|
273
|
-
ReactCurrentBatchConfig:
|
|
274
|
-
ReactCurrentOwner:
|
|
271
|
+
var Oe = !1, Je = !1, Pe = !1, ve = !1, me = !1, le = {
|
|
272
|
+
ReactCurrentDispatcher: ge,
|
|
273
|
+
ReactCurrentBatchConfig: H,
|
|
274
|
+
ReactCurrentOwner: ie
|
|
275
275
|
};
|
|
276
|
-
|
|
277
|
-
function
|
|
276
|
+
le.ReactDebugCurrentFrame = pe, le.ReactCurrentActQueue = X;
|
|
277
|
+
function be(e) {
|
|
278
278
|
{
|
|
279
279
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
|
|
280
280
|
i[c - 1] = arguments[c];
|
|
281
|
-
|
|
281
|
+
xe("warn", e, i);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function E(e) {
|
|
285
285
|
{
|
|
286
286
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
|
|
287
287
|
i[c - 1] = arguments[c];
|
|
288
|
-
|
|
288
|
+
xe("error", e, i);
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function xe(e, r, i) {
|
|
292
292
|
{
|
|
293
|
-
var c =
|
|
293
|
+
var c = le.ReactDebugCurrentFrame, b = c.getStackAddendum();
|
|
294
294
|
b !== "" && (r += "%s", i = i.concat([b]));
|
|
295
|
-
var
|
|
295
|
+
var R = i.map(function(w) {
|
|
296
296
|
return String(w);
|
|
297
297
|
});
|
|
298
|
-
|
|
298
|
+
R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
var Ne = {};
|
|
@@ -304,7 +304,7 @@ function Jn() {
|
|
|
304
304
|
var i = e.constructor, c = i && (i.displayName || i.name) || "ReactClass", b = c + "." + r;
|
|
305
305
|
if (Ne[b])
|
|
306
306
|
return;
|
|
307
|
-
|
|
307
|
+
E("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, c), Ne[b] = !0;
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
var s = {
|
|
@@ -367,10 +367,10 @@ function Jn() {
|
|
|
367
367
|
enqueueSetState: function(e, r, i, c) {
|
|
368
368
|
Ce(e, "setState");
|
|
369
369
|
}
|
|
370
|
-
}, y = Object.assign,
|
|
371
|
-
Object.freeze(
|
|
370
|
+
}, y = Object.assign, I = {};
|
|
371
|
+
Object.freeze(I);
|
|
372
372
|
function $(e, r, i) {
|
|
373
|
-
this.props = e, this.context = r, this.refs =
|
|
373
|
+
this.props = e, this.context = r, this.refs = I, this.updater = i || s;
|
|
374
374
|
}
|
|
375
375
|
$.prototype.isReactComponent = {}, $.prototype.setState = function(e, r) {
|
|
376
376
|
if (typeof e != "object" && typeof e != "function" && e != null)
|
|
@@ -386,18 +386,18 @@ function Jn() {
|
|
|
386
386
|
}, J = function(e, r) {
|
|
387
387
|
Object.defineProperty($.prototype, e, {
|
|
388
388
|
get: function() {
|
|
389
|
-
|
|
389
|
+
be("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
392
|
};
|
|
393
|
-
for (var
|
|
394
|
-
M.hasOwnProperty(
|
|
393
|
+
for (var q in M)
|
|
394
|
+
M.hasOwnProperty(q) && J(q, M[q]);
|
|
395
395
|
}
|
|
396
396
|
function z() {
|
|
397
397
|
}
|
|
398
398
|
z.prototype = $.prototype;
|
|
399
399
|
function V(e, r, i) {
|
|
400
|
-
this.props = e, this.context = r, this.refs =
|
|
400
|
+
this.props = e, this.context = r, this.refs = I, this.updater = i || s;
|
|
401
401
|
}
|
|
402
402
|
var oe = V.prototype = new z();
|
|
403
403
|
oe.constructor = V, y(oe, $.prototype), oe.isPureReactComponent = !0;
|
|
@@ -407,9 +407,9 @@ function Jn() {
|
|
|
407
407
|
};
|
|
408
408
|
return Object.seal(e), e;
|
|
409
409
|
}
|
|
410
|
-
var
|
|
410
|
+
var ur = Array.isArray;
|
|
411
411
|
function We(e) {
|
|
412
|
-
return
|
|
412
|
+
return ur(e);
|
|
413
413
|
}
|
|
414
414
|
function Pr(e) {
|
|
415
415
|
{
|
|
@@ -429,9 +429,9 @@ function Jn() {
|
|
|
429
429
|
}
|
|
430
430
|
function Ae(e) {
|
|
431
431
|
if (Ue(e))
|
|
432
|
-
return
|
|
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
|
-
function
|
|
434
|
+
function cr(e, r, i) {
|
|
435
435
|
var c = e.displayName;
|
|
436
436
|
if (c)
|
|
437
437
|
return c;
|
|
@@ -441,25 +441,25 @@ function Jn() {
|
|
|
441
441
|
function Ie(e) {
|
|
442
442
|
return e.displayName || "Context";
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function _e(e) {
|
|
445
445
|
if (e == null)
|
|
446
446
|
return null;
|
|
447
|
-
if (typeof e.tag == "number" &&
|
|
447
|
+
if (typeof e.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
448
448
|
return e.displayName || e.name || null;
|
|
449
449
|
if (typeof e == "string")
|
|
450
450
|
return e;
|
|
451
451
|
switch (e) {
|
|
452
|
-
case f:
|
|
453
|
-
return "Fragment";
|
|
454
452
|
case d:
|
|
453
|
+
return "Fragment";
|
|
454
|
+
case f:
|
|
455
455
|
return "Portal";
|
|
456
|
-
case
|
|
456
|
+
case v:
|
|
457
457
|
return "Profiler";
|
|
458
|
-
case
|
|
458
|
+
case h:
|
|
459
459
|
return "StrictMode";
|
|
460
460
|
case _:
|
|
461
461
|
return "Suspense";
|
|
462
|
-
case
|
|
462
|
+
case O:
|
|
463
463
|
return "SuspenseList";
|
|
464
464
|
}
|
|
465
465
|
if (typeof e == "object")
|
|
@@ -470,15 +470,15 @@ function Jn() {
|
|
|
470
470
|
case g:
|
|
471
471
|
var i = e;
|
|
472
472
|
return Ie(i._context) + ".Provider";
|
|
473
|
-
case
|
|
474
|
-
return
|
|
473
|
+
case j:
|
|
474
|
+
return cr(e, e.render, "ForwardRef");
|
|
475
475
|
case T:
|
|
476
476
|
var c = e.displayName || null;
|
|
477
|
-
return c !== null ? c :
|
|
478
|
-
case
|
|
479
|
-
var b = e,
|
|
477
|
+
return c !== null ? c : _e(e.type) || "Memo";
|
|
478
|
+
case S: {
|
|
479
|
+
var b = e, R = b._payload, w = b._init;
|
|
480
480
|
try {
|
|
481
|
-
return
|
|
481
|
+
return _e(w(R));
|
|
482
482
|
} catch {
|
|
483
483
|
return null;
|
|
484
484
|
}
|
|
@@ -486,15 +486,15 @@ function Jn() {
|
|
|
486
486
|
}
|
|
487
487
|
return null;
|
|
488
488
|
}
|
|
489
|
-
var
|
|
489
|
+
var De = Object.prototype.hasOwnProperty, Ve = {
|
|
490
490
|
key: !0,
|
|
491
491
|
ref: !0,
|
|
492
492
|
__self: !0,
|
|
493
493
|
__source: !0
|
|
494
|
-
},
|
|
494
|
+
}, fr, dr, Be;
|
|
495
495
|
Be = {};
|
|
496
496
|
function Xe(e) {
|
|
497
|
-
if (
|
|
497
|
+
if (De.call(e, "ref")) {
|
|
498
498
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
499
499
|
if (r && r.isReactWarning)
|
|
500
500
|
return !1;
|
|
@@ -502,7 +502,7 @@ function Jn() {
|
|
|
502
502
|
return e.ref !== void 0;
|
|
503
503
|
}
|
|
504
504
|
function Ze(e) {
|
|
505
|
-
if (
|
|
505
|
+
if (De.call(e, "key")) {
|
|
506
506
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
507
507
|
if (r && r.isReactWarning)
|
|
508
508
|
return !1;
|
|
@@ -511,112 +511,112 @@ function Jn() {
|
|
|
511
511
|
}
|
|
512
512
|
function Nr(e, r) {
|
|
513
513
|
var i = function() {
|
|
514
|
-
|
|
514
|
+
fr || (fr = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
515
515
|
};
|
|
516
516
|
i.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
517
517
|
get: i,
|
|
518
518
|
configurable: !0
|
|
519
519
|
});
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function pr(e, r) {
|
|
522
522
|
var i = function() {
|
|
523
|
-
|
|
523
|
+
dr || (dr = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
524
524
|
};
|
|
525
525
|
i.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
526
526
|
get: i,
|
|
527
527
|
configurable: !0
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
if (typeof e.ref == "string" &&
|
|
532
|
-
var r =
|
|
533
|
-
Be[r] || (
|
|
530
|
+
function vr(e) {
|
|
531
|
+
if (typeof e.ref == "string" && ie.current && e.__self && ie.current.stateNode !== e.__self) {
|
|
532
|
+
var r = _e(ie.current.type);
|
|
533
|
+
Be[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), Be[r] = !0);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
var Qe = function(e, r, i, c, b,
|
|
537
|
-
var
|
|
536
|
+
var Qe = function(e, r, i, c, b, R, w) {
|
|
537
|
+
var k = {
|
|
538
538
|
// This tag allows us to uniquely identify this as a React Element
|
|
539
|
-
$$typeof:
|
|
539
|
+
$$typeof: l,
|
|
540
540
|
// Built-in properties that belong on the element
|
|
541
541
|
type: e,
|
|
542
542
|
key: r,
|
|
543
543
|
ref: i,
|
|
544
544
|
props: w,
|
|
545
545
|
// Record the component responsible for creating this element.
|
|
546
|
-
_owner:
|
|
546
|
+
_owner: R
|
|
547
547
|
};
|
|
548
|
-
return
|
|
548
|
+
return k._store = {}, Object.defineProperty(k._store, "validated", {
|
|
549
549
|
configurable: !1,
|
|
550
550
|
enumerable: !1,
|
|
551
551
|
writable: !0,
|
|
552
552
|
value: !1
|
|
553
|
-
}), Object.defineProperty(
|
|
553
|
+
}), Object.defineProperty(k, "_self", {
|
|
554
554
|
configurable: !1,
|
|
555
555
|
enumerable: !1,
|
|
556
556
|
writable: !1,
|
|
557
557
|
value: c
|
|
558
|
-
}), Object.defineProperty(
|
|
558
|
+
}), Object.defineProperty(k, "_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(k.props), Object.freeze(k)), k;
|
|
564
564
|
};
|
|
565
565
|
function Ar(e, r, i) {
|
|
566
|
-
var c, b = {},
|
|
566
|
+
var c, b = {}, R = null, w = null, k = null, L = null;
|
|
567
567
|
if (r != null) {
|
|
568
|
-
Xe(r) && (w = r.ref,
|
|
568
|
+
Xe(r) && (w = r.ref, vr(r)), Ze(r) && (Ae(r.key), R = "" + r.key), k = r.__self === void 0 ? null : r.__self, L = r.__source === void 0 ? null : r.__source;
|
|
569
569
|
for (c in r)
|
|
570
|
-
|
|
570
|
+
De.call(r, c) && !Ve.hasOwnProperty(c) && (b[c] = r[c]);
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
if (
|
|
572
|
+
var G = arguments.length - 2;
|
|
573
|
+
if (G === 1)
|
|
574
574
|
b.children = i;
|
|
575
|
-
else if (
|
|
576
|
-
for (var
|
|
577
|
-
|
|
578
|
-
Object.freeze && Object.freeze(
|
|
575
|
+
else if (G > 1) {
|
|
576
|
+
for (var Z = Array(G), Q = 0; Q < G; Q++)
|
|
577
|
+
Z[Q] = arguments[Q + 2];
|
|
578
|
+
Object.freeze && Object.freeze(Z), b.children = Z;
|
|
579
579
|
}
|
|
580
580
|
if (e && e.defaultProps) {
|
|
581
|
-
var
|
|
582
|
-
for (c in
|
|
583
|
-
b[c] === void 0 && (b[c] =
|
|
581
|
+
var re = e.defaultProps;
|
|
582
|
+
for (c in re)
|
|
583
|
+
b[c] === void 0 && (b[c] = re[c]);
|
|
584
584
|
}
|
|
585
|
-
if (
|
|
585
|
+
if (R || w) {
|
|
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,
|
|
589
|
+
return Qe(e, R, w, k, 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);
|
|
593
593
|
return i;
|
|
594
594
|
}
|
|
595
|
-
function
|
|
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),
|
|
598
|
+
var c, b = y({}, e.props), R = e.key, w = e.ref, k = e._self, L = e._source, G = e._owner;
|
|
599
599
|
if (r != null) {
|
|
600
|
-
Xe(r) && (w = r.ref,
|
|
601
|
-
var
|
|
602
|
-
e.type && e.type.defaultProps && (
|
|
600
|
+
Xe(r) && (w = r.ref, G = ie.current), Ze(r) && (Ae(r.key), R = "" + r.key);
|
|
601
|
+
var Z;
|
|
602
|
+
e.type && e.type.defaultProps && (Z = e.type.defaultProps);
|
|
603
603
|
for (c in r)
|
|
604
|
-
|
|
604
|
+
De.call(r, c) && !Ve.hasOwnProperty(c) && (r[c] === void 0 && Z !== void 0 ? b[c] = Z[c] : b[c] = r[c]);
|
|
605
605
|
}
|
|
606
|
-
var
|
|
607
|
-
if (
|
|
606
|
+
var Q = arguments.length - 2;
|
|
607
|
+
if (Q === 1)
|
|
608
608
|
b.children = i;
|
|
609
|
-
else if (
|
|
610
|
-
for (var
|
|
611
|
-
|
|
612
|
-
b.children =
|
|
609
|
+
else if (Q > 1) {
|
|
610
|
+
for (var re = Array(Q), se = 0; se < Q; se++)
|
|
611
|
+
re[se] = arguments[se + 2];
|
|
612
|
+
b.children = re;
|
|
613
613
|
}
|
|
614
|
-
return Qe(e.type,
|
|
614
|
+
return Qe(e.type, R, w, k, L, G, b);
|
|
615
615
|
}
|
|
616
616
|
function Re(e) {
|
|
617
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
617
|
+
return typeof e == "object" && e !== null && e.$$typeof === l;
|
|
618
618
|
}
|
|
619
|
-
var
|
|
619
|
+
var mr = ".", $r = ":";
|
|
620
620
|
function er(e) {
|
|
621
621
|
var r = /[=:]/g, i = {
|
|
622
622
|
"=": "=0",
|
|
@@ -630,60 +630,60 @@ function Jn() {
|
|
|
630
630
|
function Ye(e) {
|
|
631
631
|
return e.replace(ke, "$&/");
|
|
632
632
|
}
|
|
633
|
-
function
|
|
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);
|
|
635
635
|
}
|
|
636
636
|
function Fe(e, r, i, c, b) {
|
|
637
|
-
var
|
|
638
|
-
(
|
|
637
|
+
var R = typeof e;
|
|
638
|
+
(R === "undefined" || R === "boolean") && (e = null);
|
|
639
639
|
var w = !1;
|
|
640
640
|
if (e === null)
|
|
641
641
|
w = !0;
|
|
642
642
|
else
|
|
643
|
-
switch (
|
|
643
|
+
switch (R) {
|
|
644
644
|
case "string":
|
|
645
645
|
case "number":
|
|
646
646
|
w = !0;
|
|
647
647
|
break;
|
|
648
648
|
case "object":
|
|
649
649
|
switch (e.$$typeof) {
|
|
650
|
-
case
|
|
651
|
-
case
|
|
650
|
+
case l:
|
|
651
|
+
case f:
|
|
652
652
|
w = !0;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
655
|
if (w) {
|
|
656
|
-
var
|
|
657
|
-
if (We(
|
|
658
|
-
var
|
|
659
|
-
|
|
656
|
+
var k = e, L = b(k), G = c === "" ? mr + $e(k, 0) : c;
|
|
657
|
+
if (We(L)) {
|
|
658
|
+
var Z = "";
|
|
659
|
+
G != null && (Z = Ye(G) + "/"), Fe(L, r, Z, "", function(pn) {
|
|
660
660
|
return pn;
|
|
661
661
|
});
|
|
662
|
-
} else
|
|
663
|
-
|
|
662
|
+
} else L != null && (Re(L) && (L.key && (!k || k.key !== L.key) && Ae(L.key), L = Ir(
|
|
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
|
-
(
|
|
667
|
+
(L.key && (!k || k.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
|
-
Ye("" +
|
|
671
|
-
) : "") +
|
|
672
|
-
)), r.push(
|
|
670
|
+
Ye("" + L.key) + "/"
|
|
671
|
+
) : "") + G
|
|
672
|
+
)), r.push(L));
|
|
673
673
|
return 1;
|
|
674
674
|
}
|
|
675
|
-
var
|
|
675
|
+
var Q, re, se = 0, ce = c === "" ? mr : c + $r;
|
|
676
676
|
if (We(e))
|
|
677
|
-
for (var
|
|
678
|
-
|
|
677
|
+
for (var Er = 0; Er < e.length; Er++)
|
|
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
682
|
var St = e;
|
|
683
|
-
Zr === St.entries && (rr ||
|
|
683
|
+
Zr === St.entries && (rr || be("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), rr = !0);
|
|
684
684
|
for (var fn = Zr.call(St), Tt, dn = 0; !(Tt = fn.next()).done; )
|
|
685
|
-
|
|
686
|
-
} else if (
|
|
685
|
+
Q = Tt.value, re = ce + $e(Q, dn++), se += Fe(Q, r, i, re, b);
|
|
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.");
|
|
689
689
|
}
|
|
@@ -694,11 +694,11 @@ function Jn() {
|
|
|
694
694
|
if (e == null)
|
|
695
695
|
return e;
|
|
696
696
|
var c = [], b = 0;
|
|
697
|
-
return Fe(e, c, "", "", function(
|
|
698
|
-
return r.call(i,
|
|
697
|
+
return Fe(e, c, "", "", function(R) {
|
|
698
|
+
return r.call(i, R, b++);
|
|
699
699
|
}), c;
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
function hr(e) {
|
|
702
702
|
var r = 0;
|
|
703
703
|
return ze(e, function() {
|
|
704
704
|
r++;
|
|
@@ -709,12 +709,12 @@ function Jn() {
|
|
|
709
709
|
r.apply(this, arguments);
|
|
710
710
|
}, i);
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function yr(e) {
|
|
713
713
|
return ze(e, function(r) {
|
|
714
714
|
return r;
|
|
715
715
|
}) || [];
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function br(e) {
|
|
718
718
|
if (!Re(e))
|
|
719
719
|
throw new Error("React.Children.only expected to receive a single React element child.");
|
|
720
720
|
return e;
|
|
@@ -745,14 +745,14 @@ function Jn() {
|
|
|
745
745
|
};
|
|
746
746
|
var i = !1, c = !1, b = !1;
|
|
747
747
|
{
|
|
748
|
-
var
|
|
748
|
+
var R = {
|
|
749
749
|
$$typeof: p,
|
|
750
750
|
_context: r
|
|
751
751
|
};
|
|
752
|
-
Object.defineProperties(
|
|
752
|
+
Object.defineProperties(R, {
|
|
753
753
|
Provider: {
|
|
754
754
|
get: function() {
|
|
755
|
-
return c || (c = !0,
|
|
755
|
+
return c || (c = !0, E("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
|
|
756
756
|
},
|
|
757
757
|
set: function(w) {
|
|
758
758
|
r.Provider = w;
|
|
@@ -784,7 +784,7 @@ function Jn() {
|
|
|
784
784
|
},
|
|
785
785
|
Consumer: {
|
|
786
786
|
get: function() {
|
|
787
|
-
return i || (i = !0,
|
|
787
|
+
return i || (i = !0, E("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
|
|
788
788
|
}
|
|
789
789
|
},
|
|
790
790
|
displayName: {
|
|
@@ -792,10 +792,10 @@ function Jn() {
|
|
|
792
792
|
return r.displayName;
|
|
793
793
|
},
|
|
794
794
|
set: function(w) {
|
|
795
|
-
b || (
|
|
795
|
+
b || (be("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", w), b = !0);
|
|
796
796
|
}
|
|
797
797
|
}
|
|
798
|
-
}), r.Consumer =
|
|
798
|
+
}), r.Consumer = R;
|
|
799
799
|
}
|
|
800
800
|
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
|
801
801
|
}
|
|
@@ -803,15 +803,15 @@ function Jn() {
|
|
|
803
803
|
function Wr(e) {
|
|
804
804
|
if (e._status === Le) {
|
|
805
805
|
var r = e._result, i = r();
|
|
806
|
-
if (i.then(function(
|
|
806
|
+
if (i.then(function(R) {
|
|
807
807
|
if (e._status === qe || e._status === Le) {
|
|
808
808
|
var w = e;
|
|
809
|
-
w._status = tr, w._result =
|
|
809
|
+
w._status = tr, w._result = R;
|
|
810
810
|
}
|
|
811
|
-
}, function(
|
|
811
|
+
}, function(R) {
|
|
812
812
|
if (e._status === qe || e._status === Le) {
|
|
813
813
|
var w = e;
|
|
814
|
-
w._status = Mr, w._result =
|
|
814
|
+
w._status = Mr, w._result = R;
|
|
815
815
|
}
|
|
816
816
|
}), e._status === Le) {
|
|
817
817
|
var c = e;
|
|
@@ -820,12 +820,12 @@ function Jn() {
|
|
|
820
820
|
}
|
|
821
821
|
if (e._status === tr) {
|
|
822
822
|
var b = e._result;
|
|
823
|
-
return b === void 0 &&
|
|
823
|
+
return b === void 0 && E(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
824
824
|
|
|
825
825
|
Your code should look like:
|
|
826
826
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
827
827
|
|
|
828
|
-
Did you accidentally put curly braces around the import?`, b), "default" in b ||
|
|
828
|
+
Did you accidentally put curly braces around the import?`, b), "default" in b || E(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
829
829
|
|
|
830
830
|
Your code should look like:
|
|
831
831
|
const MyComponent = lazy(() => import('./MyComponent'))`, b), b.default;
|
|
@@ -838,7 +838,7 @@ Your code should look like:
|
|
|
838
838
|
_status: Le,
|
|
839
839
|
_result: e
|
|
840
840
|
}, i = {
|
|
841
|
-
$$typeof:
|
|
841
|
+
$$typeof: S,
|
|
842
842
|
_payload: r,
|
|
843
843
|
_init: Wr
|
|
844
844
|
};
|
|
@@ -850,8 +850,8 @@ Your code should look like:
|
|
|
850
850
|
get: function() {
|
|
851
851
|
return c;
|
|
852
852
|
},
|
|
853
|
-
set: function(
|
|
854
|
-
|
|
853
|
+
set: function(R) {
|
|
854
|
+
E("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), c = R, Object.defineProperty(i, "defaultProps", {
|
|
855
855
|
enumerable: !0
|
|
856
856
|
});
|
|
857
857
|
}
|
|
@@ -861,8 +861,8 @@ Your code should look like:
|
|
|
861
861
|
get: function() {
|
|
862
862
|
return b;
|
|
863
863
|
},
|
|
864
|
-
set: function(
|
|
865
|
-
|
|
864
|
+
set: function(R) {
|
|
865
|
+
E("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), b = R, Object.defineProperty(i, "propTypes", {
|
|
866
866
|
enumerable: !0
|
|
867
867
|
});
|
|
868
868
|
}
|
|
@@ -872,9 +872,9 @@ Your code should look like:
|
|
|
872
872
|
return i;
|
|
873
873
|
}
|
|
874
874
|
function Vr(e) {
|
|
875
|
-
e != null && e.$$typeof === T ?
|
|
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
|
-
$$typeof:
|
|
877
|
+
$$typeof: j,
|
|
878
878
|
render: e
|
|
879
879
|
};
|
|
880
880
|
{
|
|
@@ -894,15 +894,15 @@ Your code should look like:
|
|
|
894
894
|
}
|
|
895
895
|
var t;
|
|
896
896
|
t = Symbol.for("react.module.reference");
|
|
897
|
-
function
|
|
898
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
897
|
+
function m(e) {
|
|
898
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === v || me || e === h || e === _ || e === O || ve || e === ae || Oe || Je || Pe || typeof e == "object" && e !== null && (e.$$typeof === S || 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.
|
|
902
902
|
e.$$typeof === t || e.getModuleId !== void 0));
|
|
903
903
|
}
|
|
904
904
|
function x(e, r) {
|
|
905
|
-
|
|
905
|
+
m(e) || E("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
906
906
|
var i = {
|
|
907
907
|
$$typeof: T,
|
|
908
908
|
type: e,
|
|
@@ -923,78 +923,78 @@ Your code should look like:
|
|
|
923
923
|
}
|
|
924
924
|
return i;
|
|
925
925
|
}
|
|
926
|
-
function
|
|
927
|
-
var e =
|
|
928
|
-
return e === null &&
|
|
926
|
+
function C() {
|
|
927
|
+
var e = ge.current;
|
|
928
|
+
return e === null && E(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
929
929
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
930
930
|
2. You might be breaking the Rules of Hooks
|
|
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
934
|
function W(e) {
|
|
935
|
-
var r =
|
|
935
|
+
var r = C();
|
|
936
936
|
if (e._context !== void 0) {
|
|
937
937
|
var i = e._context;
|
|
938
|
-
i.Consumer === e ?
|
|
938
|
+
i.Consumer === e ? E("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : i.Provider === e && E("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
939
939
|
}
|
|
940
940
|
return r.useContext(e);
|
|
941
941
|
}
|
|
942
942
|
function B(e) {
|
|
943
|
-
var r =
|
|
943
|
+
var r = C();
|
|
944
944
|
return r.useState(e);
|
|
945
945
|
}
|
|
946
|
-
function
|
|
947
|
-
var c =
|
|
946
|
+
function D(e, r, i) {
|
|
947
|
+
var c = C();
|
|
948
948
|
return c.useReducer(e, r, i);
|
|
949
949
|
}
|
|
950
|
-
function
|
|
951
|
-
var r =
|
|
950
|
+
function P(e) {
|
|
951
|
+
var r = C();
|
|
952
952
|
return r.useRef(e);
|
|
953
953
|
}
|
|
954
|
-
function
|
|
955
|
-
var i =
|
|
954
|
+
function ue(e, r) {
|
|
955
|
+
var i = C();
|
|
956
956
|
return i.useEffect(e, r);
|
|
957
957
|
}
|
|
958
|
-
function
|
|
959
|
-
var i =
|
|
958
|
+
function ee(e, r) {
|
|
959
|
+
var i = C();
|
|
960
960
|
return i.useInsertionEffect(e, r);
|
|
961
961
|
}
|
|
962
962
|
function ne(e, r) {
|
|
963
|
-
var i =
|
|
963
|
+
var i = C();
|
|
964
964
|
return i.useLayoutEffect(e, r);
|
|
965
965
|
}
|
|
966
|
-
function
|
|
967
|
-
var i =
|
|
966
|
+
function he(e, r) {
|
|
967
|
+
var i = C();
|
|
968
968
|
return i.useCallback(e, r);
|
|
969
969
|
}
|
|
970
970
|
function Se(e, r) {
|
|
971
|
-
var i =
|
|
971
|
+
var i = C();
|
|
972
972
|
return i.useMemo(e, r);
|
|
973
973
|
}
|
|
974
|
-
function
|
|
975
|
-
var c =
|
|
974
|
+
function we(e, r, i) {
|
|
975
|
+
var c = C();
|
|
976
976
|
return c.useImperativeHandle(e, r, i);
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function fe(e, r) {
|
|
979
979
|
{
|
|
980
|
-
var i =
|
|
980
|
+
var i = C();
|
|
981
981
|
return i.useDebugValue(e, r);
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
function nr() {
|
|
985
|
-
var e =
|
|
985
|
+
var e = C();
|
|
986
986
|
return e.useTransition();
|
|
987
987
|
}
|
|
988
988
|
function Br(e) {
|
|
989
|
-
var r =
|
|
989
|
+
var r = C();
|
|
990
990
|
return r.useDeferredValue(e);
|
|
991
991
|
}
|
|
992
992
|
function Yr() {
|
|
993
|
-
var e =
|
|
993
|
+
var e = C();
|
|
994
994
|
return e.useId();
|
|
995
995
|
}
|
|
996
996
|
function zt(e, r, i) {
|
|
997
|
-
var c =
|
|
997
|
+
var c = C();
|
|
998
998
|
return c.useSyncExternalStore(e, r, i);
|
|
999
999
|
}
|
|
1000
1000
|
var ar = 0, it, lt, ut, ct, ft, dt, pt;
|
|
@@ -1056,11 +1056,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1056
1056
|
})
|
|
1057
1057
|
});
|
|
1058
1058
|
}
|
|
1059
|
-
ar < 0 &&
|
|
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 =
|
|
1063
|
-
function
|
|
1062
|
+
var zr = le.ReactCurrentDispatcher, qr;
|
|
1063
|
+
function gr(e, r, i) {
|
|
1064
1064
|
{
|
|
1065
1065
|
if (qr === void 0)
|
|
1066
1066
|
try {
|
|
@@ -1073,16 +1073,16 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1073
1073
|
` + qr + e;
|
|
1074
1074
|
}
|
|
1075
1075
|
}
|
|
1076
|
-
var Gr = !1,
|
|
1076
|
+
var Gr = !1, xr;
|
|
1077
1077
|
{
|
|
1078
|
-
var
|
|
1079
|
-
|
|
1078
|
+
var Kt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1079
|
+
xr = new Kt();
|
|
1080
1080
|
}
|
|
1081
1081
|
function mt(e, r) {
|
|
1082
1082
|
if (!e || Gr)
|
|
1083
1083
|
return "";
|
|
1084
1084
|
{
|
|
1085
|
-
var i =
|
|
1085
|
+
var i = xr.get(e);
|
|
1086
1086
|
if (i !== void 0)
|
|
1087
1087
|
return i;
|
|
1088
1088
|
}
|
|
@@ -1090,8 +1090,8 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1090
1090
|
Gr = !0;
|
|
1091
1091
|
var b = Error.prepareStackTrace;
|
|
1092
1092
|
Error.prepareStackTrace = void 0;
|
|
1093
|
-
var
|
|
1094
|
-
|
|
1093
|
+
var R;
|
|
1094
|
+
R = zr.current, zr.current = null, qt();
|
|
1095
1095
|
try {
|
|
1096
1096
|
if (r) {
|
|
1097
1097
|
var w = function() {
|
|
@@ -1104,126 +1104,126 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1104
1104
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1105
1105
|
try {
|
|
1106
1106
|
Reflect.construct(w, []);
|
|
1107
|
-
} catch (
|
|
1108
|
-
c =
|
|
1107
|
+
} catch (ce) {
|
|
1108
|
+
c = ce;
|
|
1109
1109
|
}
|
|
1110
1110
|
Reflect.construct(e, [], w);
|
|
1111
1111
|
} else {
|
|
1112
1112
|
try {
|
|
1113
1113
|
w.call();
|
|
1114
|
-
} catch (
|
|
1115
|
-
c =
|
|
1114
|
+
} catch (ce) {
|
|
1115
|
+
c = ce;
|
|
1116
1116
|
}
|
|
1117
1117
|
e.call(w.prototype);
|
|
1118
1118
|
}
|
|
1119
1119
|
} else {
|
|
1120
1120
|
try {
|
|
1121
1121
|
throw Error();
|
|
1122
|
-
} catch (
|
|
1123
|
-
c =
|
|
1122
|
+
} catch (ce) {
|
|
1123
|
+
c = ce;
|
|
1124
1124
|
}
|
|
1125
1125
|
e();
|
|
1126
1126
|
}
|
|
1127
|
-
} catch (
|
|
1128
|
-
if (
|
|
1129
|
-
for (var
|
|
1130
|
-
`),
|
|
1131
|
-
`),
|
|
1132
|
-
|
|
1133
|
-
for (;
|
|
1134
|
-
if (
|
|
1135
|
-
if (
|
|
1127
|
+
} catch (ce) {
|
|
1128
|
+
if (ce && c && typeof ce.stack == "string") {
|
|
1129
|
+
for (var k = ce.stack.split(`
|
|
1130
|
+
`), L = c.stack.split(`
|
|
1131
|
+
`), G = k.length - 1, Z = L.length - 1; G >= 1 && Z >= 0 && k[G] !== L[Z]; )
|
|
1132
|
+
Z--;
|
|
1133
|
+
for (; G >= 1 && Z >= 0; G--, Z--)
|
|
1134
|
+
if (k[G] !== L[Z]) {
|
|
1135
|
+
if (G !== 1 || Z !== 1)
|
|
1136
1136
|
do
|
|
1137
|
-
if (
|
|
1138
|
-
var
|
|
1139
|
-
` +
|
|
1140
|
-
return e.displayName &&
|
|
1137
|
+
if (G--, Z--, Z < 0 || k[G] !== L[Z]) {
|
|
1138
|
+
var Q = `
|
|
1139
|
+
` + k[G].replace(" at new ", " at ");
|
|
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 (G >= 1 && Z >= 0);
|
|
1143
1143
|
break;
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
1146
|
} finally {
|
|
1147
|
-
Gr = !1, zr.current =
|
|
1147
|
+
Gr = !1, zr.current = R, Gt(), Error.prepareStackTrace = b;
|
|
1148
1148
|
}
|
|
1149
|
-
var
|
|
1150
|
-
return typeof e == "function" &&
|
|
1149
|
+
var re = e ? e.displayName || e.name : "", se = re ? gr(re) : "";
|
|
1150
|
+
return typeof e == "function" && xr.set(e, se), se;
|
|
1151
1151
|
}
|
|
1152
|
-
function
|
|
1152
|
+
function Ht(e, r, i) {
|
|
1153
1153
|
return mt(e, !1);
|
|
1154
1154
|
}
|
|
1155
1155
|
function Jt(e) {
|
|
1156
1156
|
var r = e.prototype;
|
|
1157
1157
|
return !!(r && r.isReactComponent);
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1159
|
+
function _r(e, r, i) {
|
|
1160
1160
|
if (e == null)
|
|
1161
1161
|
return "";
|
|
1162
1162
|
if (typeof e == "function")
|
|
1163
1163
|
return mt(e, Jt(e));
|
|
1164
1164
|
if (typeof e == "string")
|
|
1165
|
-
return
|
|
1165
|
+
return gr(e);
|
|
1166
1166
|
switch (e) {
|
|
1167
1167
|
case _:
|
|
1168
|
-
return
|
|
1169
|
-
case
|
|
1170
|
-
return
|
|
1168
|
+
return gr("Suspense");
|
|
1169
|
+
case O:
|
|
1170
|
+
return gr("SuspenseList");
|
|
1171
1171
|
}
|
|
1172
1172
|
if (typeof e == "object")
|
|
1173
1173
|
switch (e.$$typeof) {
|
|
1174
|
-
case
|
|
1175
|
-
return
|
|
1174
|
+
case j:
|
|
1175
|
+
return Ht(e.render);
|
|
1176
1176
|
case T:
|
|
1177
|
-
return
|
|
1178
|
-
case
|
|
1179
|
-
var c = e, b = c._payload,
|
|
1177
|
+
return _r(e.type, r, i);
|
|
1178
|
+
case S: {
|
|
1179
|
+
var c = e, b = c._payload, R = c._init;
|
|
1180
1180
|
try {
|
|
1181
|
-
return
|
|
1181
|
+
return _r(R(b), r, i);
|
|
1182
1182
|
} catch {
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
1186
|
return "";
|
|
1187
1187
|
}
|
|
1188
|
-
var ht = {}, yt =
|
|
1189
|
-
function
|
|
1188
|
+
var ht = {}, yt = le.ReactDebugCurrentFrame;
|
|
1189
|
+
function jr(e) {
|
|
1190
1190
|
if (e) {
|
|
1191
|
-
var r = e._owner, i =
|
|
1191
|
+
var r = e._owner, i = _r(e.type, e._source, r ? r.type : null);
|
|
1192
1192
|
yt.setExtraStackFrame(i);
|
|
1193
1193
|
} else
|
|
1194
1194
|
yt.setExtraStackFrame(null);
|
|
1195
1195
|
}
|
|
1196
1196
|
function Xt(e, r, i, c, b) {
|
|
1197
1197
|
{
|
|
1198
|
-
var
|
|
1198
|
+
var R = Function.call.bind(De);
|
|
1199
1199
|
for (var w in e)
|
|
1200
|
-
if (
|
|
1201
|
-
var
|
|
1200
|
+
if (R(e, w)) {
|
|
1201
|
+
var k = void 0;
|
|
1202
1202
|
try {
|
|
1203
1203
|
if (typeof e[w] != "function") {
|
|
1204
|
-
var
|
|
1205
|
-
throw
|
|
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
|
+
throw L.name = "Invariant Violation", L;
|
|
1206
1206
|
}
|
|
1207
|
-
|
|
1208
|
-
} catch (
|
|
1209
|
-
|
|
1207
|
+
k = e[w](r, w, c, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1208
|
+
} catch (G) {
|
|
1209
|
+
k = G;
|
|
1210
1210
|
}
|
|
1211
|
-
|
|
1211
|
+
k && !(k 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 k), jr(null)), k instanceof Error && !(k.message in ht) && (ht[k.message] = !0, jr(b), E("Failed %s type: %s", i, k.message), jr(null));
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
1215
|
function Ge(e) {
|
|
1216
1216
|
if (e) {
|
|
1217
|
-
var r = e._owner, i =
|
|
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 Kr;
|
|
1223
|
+
Kr = !1;
|
|
1224
1224
|
function bt() {
|
|
1225
|
-
if (
|
|
1226
|
-
var e =
|
|
1225
|
+
if (ie.current) {
|
|
1226
|
+
var e = _e(ie.current.type);
|
|
1227
1227
|
if (e)
|
|
1228
1228
|
return `
|
|
1229
1229
|
|
|
@@ -1261,7 +1261,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1261
1261
|
if (!gt[i]) {
|
|
1262
1262
|
gt[i] = !0;
|
|
1263
1263
|
var c = "";
|
|
1264
|
-
e && e._owner && e._owner !==
|
|
1264
|
+
e && e._owner && e._owner !== ie.current && (c = " It was passed a child from " + _e(e._owner.type) + "."), Ge(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), Ge(null);
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
1267
1267
|
}
|
|
@@ -1277,12 +1277,12 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1277
1277
|
else if (e) {
|
|
1278
1278
|
var b = Y(e);
|
|
1279
1279
|
if (typeof b == "function" && b !== e.entries)
|
|
1280
|
-
for (var
|
|
1280
|
+
for (var R = b.call(e), w; !(w = R.next()).done; )
|
|
1281
1281
|
Re(w.value) && xt(w.value, r);
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
|
-
function
|
|
1285
|
+
function jt(e) {
|
|
1286
1286
|
{
|
|
1287
1287
|
var r = e.type;
|
|
1288
1288
|
if (r == null || typeof r == "string")
|
|
@@ -1290,21 +1290,21 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1290
1290
|
var i;
|
|
1291
1291
|
if (typeof r == "function")
|
|
1292
1292
|
i = r.propTypes;
|
|
1293
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
1293
|
+
else if (typeof r == "object" && (r.$$typeof === j || // Note: Memo only checks outer props here.
|
|
1294
1294
|
// Inner props are checked in the reconciler.
|
|
1295
1295
|
r.$$typeof === T))
|
|
1296
1296
|
i = r.propTypes;
|
|
1297
1297
|
else
|
|
1298
1298
|
return;
|
|
1299
1299
|
if (i) {
|
|
1300
|
-
var c =
|
|
1300
|
+
var c = _e(r);
|
|
1301
1301
|
Xt(i, e.props, "prop", c, e);
|
|
1302
|
-
} else if (r.PropTypes !== void 0 && !
|
|
1303
|
-
|
|
1304
|
-
var b =
|
|
1305
|
-
|
|
1302
|
+
} else if (r.PropTypes !== void 0 && !Kr) {
|
|
1303
|
+
Kr = !0;
|
|
1304
|
+
var b = _e(r);
|
|
1305
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
|
|
1306
1306
|
}
|
|
1307
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
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
1310
|
function rn(e) {
|
|
@@ -1312,59 +1312,59 @@ Check the top-level render call using <` + i + ">.");
|
|
|
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
|
-
Ge(e),
|
|
1315
|
+
Ge(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), Ge(null);
|
|
1316
1316
|
break;
|
|
1317
1317
|
}
|
|
1318
1318
|
}
|
|
1319
|
-
e.ref !== null && (Ge(e),
|
|
1319
|
+
e.ref !== null && (Ge(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), Ge(null));
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1323
|
-
var c =
|
|
1322
|
+
function Ct(e, r, i) {
|
|
1323
|
+
var c = m(e);
|
|
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
|
|
1328
|
-
|
|
1327
|
+
var R = Qt(r);
|
|
1328
|
+
R ? b += R : b += bt();
|
|
1329
1329
|
var w;
|
|
1330
|
-
e === null ? w = "null" : We(e) ? w = "array" : e !== void 0 && e.$$typeof ===
|
|
1330
|
+
e === null ? w = "null" : We(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 k = Ar.apply(this, arguments);
|
|
1333
|
+
if (k == null)
|
|
1334
|
+
return k;
|
|
1335
1335
|
if (c)
|
|
1336
|
-
for (var
|
|
1337
|
-
_t(arguments[
|
|
1338
|
-
return e ===
|
|
1336
|
+
for (var L = 2; L < arguments.length; L++)
|
|
1337
|
+
_t(arguments[L], e);
|
|
1338
|
+
return e === d ? rn(k) : jt(k), k;
|
|
1339
1339
|
}
|
|
1340
1340
|
var wt = !1;
|
|
1341
1341
|
function tn(e) {
|
|
1342
|
-
var r =
|
|
1343
|
-
return r.type = e, wt || (wt = !0,
|
|
1342
|
+
var r = Ct.bind(null, e);
|
|
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,
|
|
1345
1345
|
get: function() {
|
|
1346
|
-
return
|
|
1346
|
+
return be("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
|
|
1347
1347
|
value: e
|
|
1348
1348
|
}), e;
|
|
1349
1349
|
}
|
|
1350
1350
|
}), r;
|
|
1351
1351
|
}
|
|
1352
1352
|
function nn(e, r, i) {
|
|
1353
|
-
for (var c =
|
|
1353
|
+
for (var c = Dr.apply(this, arguments), b = 2; b < arguments.length; b++)
|
|
1354
1354
|
_t(arguments[b], c.type);
|
|
1355
|
-
return
|
|
1355
|
+
return jt(c), c;
|
|
1356
1356
|
}
|
|
1357
1357
|
function an(e, r) {
|
|
1358
|
-
var i =
|
|
1359
|
-
|
|
1360
|
-
var c =
|
|
1361
|
-
|
|
1358
|
+
var i = H.transition;
|
|
1359
|
+
H.transition = {};
|
|
1360
|
+
var c = H.transition;
|
|
1361
|
+
H.transition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1362
1362
|
try {
|
|
1363
1363
|
e();
|
|
1364
1364
|
} finally {
|
|
1365
|
-
if (
|
|
1365
|
+
if (H.transition = i, i === null && c._updatedFibers) {
|
|
1366
1366
|
var b = c._updatedFibers.size;
|
|
1367
|
-
b > 10 &&
|
|
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
|
}
|
|
@@ -1376,75 +1376,75 @@ Check the top-level render call using <` + i + ">.");
|
|
|
1376
1376
|
Cr = i.call(o, "timers").setImmediate;
|
|
1377
1377
|
} catch {
|
|
1378
1378
|
Cr = function(b) {
|
|
1379
|
-
Et === !1 && (Et = !0, typeof MessageChannel > "u" &&
|
|
1380
|
-
var
|
|
1381
|
-
|
|
1379
|
+
Et === !1 && (Et = !0, typeof MessageChannel > "u" && E("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
1380
|
+
var R = new MessageChannel();
|
|
1381
|
+
R.port1.onmessage = b, R.port2.postMessage(void 0);
|
|
1382
1382
|
};
|
|
1383
1383
|
}
|
|
1384
1384
|
return Cr(e);
|
|
1385
1385
|
}
|
|
1386
|
-
var
|
|
1386
|
+
var Ke = 0, Rt = !1;
|
|
1387
1387
|
function kt(e) {
|
|
1388
1388
|
{
|
|
1389
|
-
var r =
|
|
1390
|
-
|
|
1391
|
-
var i =
|
|
1389
|
+
var r = Ke;
|
|
1390
|
+
Ke++, X.current === null && (X.current = []);
|
|
1391
|
+
var i = X.isBatchingLegacy, c;
|
|
1392
1392
|
try {
|
|
1393
|
-
if (
|
|
1394
|
-
var b =
|
|
1395
|
-
b !== null && (
|
|
1393
|
+
if (X.isBatchingLegacy = !0, c = e(), !i && X.didScheduleLegacyUpdate) {
|
|
1394
|
+
var b = X.current;
|
|
1395
|
+
b !== null && (X.didScheduleLegacyUpdate = !1, Xr(b));
|
|
1396
1396
|
}
|
|
1397
|
-
} catch (
|
|
1398
|
-
throw
|
|
1397
|
+
} catch (re) {
|
|
1398
|
+
throw wr(r), re;
|
|
1399
1399
|
} finally {
|
|
1400
|
-
|
|
1400
|
+
X.isBatchingLegacy = i;
|
|
1401
1401
|
}
|
|
1402
1402
|
if (c !== null && typeof c == "object" && typeof c.then == "function") {
|
|
1403
|
-
var
|
|
1404
|
-
then: function(
|
|
1405
|
-
w = !0,
|
|
1406
|
-
|
|
1407
|
-
}, function(
|
|
1408
|
-
|
|
1403
|
+
var R = c, w = !1, k = {
|
|
1404
|
+
then: function(re, se) {
|
|
1405
|
+
w = !0, R.then(function(ce) {
|
|
1406
|
+
wr(r), Ke === 0 ? Hr(ce, re, se) : re(ce);
|
|
1407
|
+
}, function(ce) {
|
|
1408
|
+
wr(r), se(ce);
|
|
1409
1409
|
});
|
|
1410
1410
|
}
|
|
1411
1411
|
};
|
|
1412
1412
|
return !Rt && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
1413
1413
|
}).then(function() {
|
|
1414
|
-
w || (Rt = !0,
|
|
1415
|
-
}),
|
|
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
|
+
}), k;
|
|
1416
1416
|
} else {
|
|
1417
|
-
var
|
|
1418
|
-
if (
|
|
1419
|
-
var
|
|
1420
|
-
|
|
1421
|
-
var
|
|
1422
|
-
then: function(
|
|
1423
|
-
|
|
1417
|
+
var L = c;
|
|
1418
|
+
if (wr(r), Ke === 0) {
|
|
1419
|
+
var G = X.current;
|
|
1420
|
+
G !== null && (Xr(G), X.current = null);
|
|
1421
|
+
var Z = {
|
|
1422
|
+
then: function(re, se) {
|
|
1423
|
+
X.current === null ? (X.current = [], Hr(L, re, se)) : re(L);
|
|
1424
1424
|
}
|
|
1425
1425
|
};
|
|
1426
|
-
return
|
|
1426
|
+
return Z;
|
|
1427
1427
|
} else {
|
|
1428
|
-
var
|
|
1429
|
-
then: function(
|
|
1430
|
-
|
|
1428
|
+
var Q = {
|
|
1429
|
+
then: function(re, se) {
|
|
1430
|
+
re(L);
|
|
1431
1431
|
}
|
|
1432
1432
|
};
|
|
1433
|
-
return
|
|
1433
|
+
return Q;
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
1438
|
-
function
|
|
1439
|
-
e !==
|
|
1438
|
+
function wr(e) {
|
|
1439
|
+
e !== Ke - 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. "), Ke = e;
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1441
|
+
function Hr(e, r, i) {
|
|
1442
1442
|
{
|
|
1443
|
-
var c =
|
|
1443
|
+
var c = X.current;
|
|
1444
1444
|
if (c !== null)
|
|
1445
1445
|
try {
|
|
1446
1446
|
Xr(c), on(function() {
|
|
1447
|
-
c.length === 0 ? (
|
|
1447
|
+
c.length === 0 ? (X.current = null, r(e)) : Hr(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 sn =
|
|
1476
|
+
var sn = Ct, ln = nn, un = tn, cn = {
|
|
1477
1477
|
map: ze,
|
|
1478
1478
|
forEach: Fr,
|
|
1479
|
-
count:
|
|
1480
|
-
toArray:
|
|
1481
|
-
only:
|
|
1479
|
+
count: hr,
|
|
1480
|
+
toArray: yr,
|
|
1481
|
+
only: br
|
|
1482
1482
|
};
|
|
1483
|
-
a.Children = cn, a.Component = $, a.Fragment =
|
|
1483
|
+
a.Children = cn, a.Component = $, a.Fragment = d, a.Profiler = v, a.PureComponent = V, a.StrictMode = h, a.Suspense = _, a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = le, a.act = kt, a.cloneElement = ln, a.createContext = Lr, a.createElement = sn, a.createFactory = un, a.createRef = Or, a.forwardRef = Vr, a.isValidElement = Re, a.lazy = Ur, a.memo = x, a.startTransition = an, a.unstable_act = kt, a.useCallback = he, a.useContext = W, a.useDebugValue = fe, a.useDeferredValue = Br, a.useEffect = ue, a.useId = Yr, a.useImperativeHandle = we, a.useInsertionEffect = ee, a.useLayoutEffect = ne, a.useMemo = Se, a.useReducer = D, a.useRef = P, a.useState = B, a.useSyncExternalStore = zt, 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" ?
|
|
1489
|
+
return It || (It = 1, process.env.NODE_ENV === "production" ? Tr.exports = Hn() : Tr.exports = Jn()), Tr.exports;
|
|
1490
1490
|
}
|
|
1491
1491
|
/**
|
|
1492
1492
|
* @license React
|
|
@@ -1497,19 +1497,19 @@ function at() {
|
|
|
1497
1497
|
* This source code is licensed under the MIT license found in the
|
|
1498
1498
|
* LICENSE file in the root directory of this source tree.
|
|
1499
1499
|
*/
|
|
1500
|
-
var
|
|
1500
|
+
var Dt;
|
|
1501
1501
|
function Xn() {
|
|
1502
|
-
if (
|
|
1503
|
-
|
|
1504
|
-
var o = at(), a = Symbol.for("react.element"),
|
|
1505
|
-
function
|
|
1506
|
-
var
|
|
1507
|
-
p !== void 0 && (
|
|
1508
|
-
for (
|
|
1509
|
-
if (
|
|
1510
|
-
return { $$typeof: a, type:
|
|
1502
|
+
if (Dt) return or;
|
|
1503
|
+
Dt = 1;
|
|
1504
|
+
var o = at(), a = Symbol.for("react.element"), u = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, f = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1505
|
+
function h(v, g, p) {
|
|
1506
|
+
var j, _ = {}, O = null, T = null;
|
|
1507
|
+
p !== void 0 && (O = "" + p), g.key !== void 0 && (O = "" + g.key), g.ref !== void 0 && (T = g.ref);
|
|
1508
|
+
for (j in g) l.call(g, j) && !d.hasOwnProperty(j) && (_[j] = g[j]);
|
|
1509
|
+
if (v && v.defaultProps) for (j in g = v.defaultProps, g) _[j] === void 0 && (_[j] = g[j]);
|
|
1510
|
+
return { $$typeof: a, type: v, key: O, ref: T, props: _, _owner: f.current };
|
|
1511
1511
|
}
|
|
1512
|
-
return or.Fragment =
|
|
1512
|
+
return or.Fragment = u, or.jsx = h, or.jsxs = h, or;
|
|
1513
1513
|
}
|
|
1514
1514
|
var sr = {};
|
|
1515
1515
|
/**
|
|
@@ -1521,54 +1521,54 @@ var sr = {};
|
|
|
1521
1521
|
* This source code is licensed under the MIT license found in the
|
|
1522
1522
|
* LICENSE file in the root directory of this source tree.
|
|
1523
1523
|
*/
|
|
1524
|
-
var
|
|
1524
|
+
var $t;
|
|
1525
1525
|
function Zn() {
|
|
1526
|
-
return
|
|
1527
|
-
var o = at(), a = Symbol.for("react.element"),
|
|
1528
|
-
function
|
|
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"), f = Symbol.for("react.strict_mode"), d = 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"), S = Symbol.iterator, ae = "@@iterator";
|
|
1528
|
+
function de(t) {
|
|
1529
1529
|
if (t === null || typeof t != "object")
|
|
1530
1530
|
return null;
|
|
1531
|
-
var
|
|
1532
|
-
return typeof
|
|
1531
|
+
var m = S && t[S] || t[ae];
|
|
1532
|
+
return typeof m == "function" ? m : null;
|
|
1533
1533
|
}
|
|
1534
|
-
var
|
|
1534
|
+
var A = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1535
1535
|
function Y(t) {
|
|
1536
1536
|
{
|
|
1537
|
-
for (var
|
|
1538
|
-
x[
|
|
1539
|
-
|
|
1537
|
+
for (var m = arguments.length, x = new Array(m > 1 ? m - 1 : 0), C = 1; C < m; C++)
|
|
1538
|
+
x[C - 1] = arguments[C];
|
|
1539
|
+
ge("error", t, x);
|
|
1540
1540
|
}
|
|
1541
1541
|
}
|
|
1542
|
-
function
|
|
1542
|
+
function ge(t, m, x) {
|
|
1543
1543
|
{
|
|
1544
|
-
var
|
|
1545
|
-
W !== "" && (
|
|
1546
|
-
var B = x.map(function(
|
|
1547
|
-
return String(
|
|
1544
|
+
var C = A.ReactDebugCurrentFrame, W = C.getStackAddendum();
|
|
1545
|
+
W !== "" && (m += "%s", x = x.concat([W]));
|
|
1546
|
+
var B = x.map(function(D) {
|
|
1547
|
+
return String(D);
|
|
1548
1548
|
});
|
|
1549
|
-
B.unshift("Warning: " +
|
|
1549
|
+
B.unshift("Warning: " + m), Function.prototype.apply.call(console[t], console, B);
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
|
-
var
|
|
1552
|
+
var H = !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 ===
|
|
1555
|
+
return !!(typeof t == "string" || typeof t == "function" || t === l || t === d || je || t === f || t === p || t === j || pe || t === T || H || 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.
|
|
1559
1559
|
t.$$typeof === Te || t.getModuleId !== void 0));
|
|
1560
1560
|
}
|
|
1561
|
-
function Je(t,
|
|
1562
|
-
var
|
|
1563
|
-
if (
|
|
1564
|
-
return
|
|
1565
|
-
var W =
|
|
1561
|
+
function Je(t, m, x) {
|
|
1562
|
+
var C = t.displayName;
|
|
1563
|
+
if (C)
|
|
1564
|
+
return C;
|
|
1565
|
+
var W = m.displayName || m.name || "";
|
|
1566
1566
|
return W !== "" ? x + "(" + W + ")" : x;
|
|
1567
1567
|
}
|
|
1568
1568
|
function Pe(t) {
|
|
1569
1569
|
return t.displayName || "Context";
|
|
1570
1570
|
}
|
|
1571
|
-
function
|
|
1571
|
+
function ve(t) {
|
|
1572
1572
|
if (t == null)
|
|
1573
1573
|
return null;
|
|
1574
1574
|
if (typeof t.tag == "number" && Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
@@ -1576,36 +1576,36 @@ function Zn() {
|
|
|
1576
1576
|
if (typeof t == "string")
|
|
1577
1577
|
return t;
|
|
1578
1578
|
switch (t) {
|
|
1579
|
-
case u:
|
|
1580
|
-
return "Fragment";
|
|
1581
1579
|
case l:
|
|
1580
|
+
return "Fragment";
|
|
1581
|
+
case u:
|
|
1582
1582
|
return "Portal";
|
|
1583
|
-
case f:
|
|
1584
|
-
return "Profiler";
|
|
1585
1583
|
case d:
|
|
1584
|
+
return "Profiler";
|
|
1585
|
+
case f:
|
|
1586
1586
|
return "StrictMode";
|
|
1587
1587
|
case p:
|
|
1588
1588
|
return "Suspense";
|
|
1589
|
-
case
|
|
1589
|
+
case j:
|
|
1590
1590
|
return "SuspenseList";
|
|
1591
1591
|
}
|
|
1592
1592
|
if (typeof t == "object")
|
|
1593
1593
|
switch (t.$$typeof) {
|
|
1594
|
+
case v:
|
|
1595
|
+
var m = t;
|
|
1596
|
+
return Pe(m) + ".Consumer";
|
|
1594
1597
|
case h:
|
|
1595
|
-
var v = t;
|
|
1596
|
-
return Pe(v) + ".Consumer";
|
|
1597
|
-
case m:
|
|
1598
1598
|
var x = t;
|
|
1599
1599
|
return Pe(x._context) + ".Provider";
|
|
1600
1600
|
case g:
|
|
1601
1601
|
return Je(t, t.render, "ForwardRef");
|
|
1602
1602
|
case _:
|
|
1603
|
-
var
|
|
1604
|
-
return
|
|
1605
|
-
case
|
|
1606
|
-
var W = t, B = W._payload,
|
|
1603
|
+
var C = t.displayName || null;
|
|
1604
|
+
return C !== null ? C : ve(t.type) || "Memo";
|
|
1605
|
+
case O: {
|
|
1606
|
+
var W = t, B = W._payload, D = W._init;
|
|
1607
1607
|
try {
|
|
1608
|
-
return
|
|
1608
|
+
return ve(D(B));
|
|
1609
1609
|
} catch {
|
|
1610
1610
|
return null;
|
|
1611
1611
|
}
|
|
@@ -1613,18 +1613,18 @@ function Zn() {
|
|
|
1613
1613
|
}
|
|
1614
1614
|
return null;
|
|
1615
1615
|
}
|
|
1616
|
-
var
|
|
1617
|
-
function
|
|
1616
|
+
var me = Object.assign, le = 0, be, E, xe, Ne, Ce, s, y;
|
|
1617
|
+
function I() {
|
|
1618
1618
|
}
|
|
1619
|
-
|
|
1619
|
+
I.__reactDisabledLog = !0;
|
|
1620
1620
|
function $() {
|
|
1621
1621
|
{
|
|
1622
|
-
if (
|
|
1623
|
-
|
|
1622
|
+
if (le === 0) {
|
|
1623
|
+
be = console.log, E = console.info, xe = console.warn, Ne = console.error, Ce = console.group, s = console.groupCollapsed, y = console.groupEnd;
|
|
1624
1624
|
var t = {
|
|
1625
1625
|
configurable: !0,
|
|
1626
1626
|
enumerable: !0,
|
|
1627
|
-
value:
|
|
1627
|
+
value: I,
|
|
1628
1628
|
writable: !0
|
|
1629
1629
|
};
|
|
1630
1630
|
Object.defineProperties(console, {
|
|
@@ -1637,56 +1637,56 @@ function Zn() {
|
|
|
1637
1637
|
groupEnd: t
|
|
1638
1638
|
});
|
|
1639
1639
|
}
|
|
1640
|
-
|
|
1640
|
+
le++;
|
|
1641
1641
|
}
|
|
1642
1642
|
}
|
|
1643
1643
|
function M() {
|
|
1644
1644
|
{
|
|
1645
|
-
if (
|
|
1645
|
+
if (le--, le === 0) {
|
|
1646
1646
|
var t = {
|
|
1647
1647
|
configurable: !0,
|
|
1648
1648
|
enumerable: !0,
|
|
1649
1649
|
writable: !0
|
|
1650
1650
|
};
|
|
1651
1651
|
Object.defineProperties(console, {
|
|
1652
|
-
log:
|
|
1653
|
-
value:
|
|
1652
|
+
log: me({}, t, {
|
|
1653
|
+
value: be
|
|
1654
1654
|
}),
|
|
1655
|
-
info:
|
|
1656
|
-
value:
|
|
1655
|
+
info: me({}, t, {
|
|
1656
|
+
value: E
|
|
1657
1657
|
}),
|
|
1658
|
-
warn:
|
|
1659
|
-
value:
|
|
1658
|
+
warn: me({}, t, {
|
|
1659
|
+
value: xe
|
|
1660
1660
|
}),
|
|
1661
|
-
error:
|
|
1661
|
+
error: me({}, t, {
|
|
1662
1662
|
value: Ne
|
|
1663
1663
|
}),
|
|
1664
|
-
group:
|
|
1664
|
+
group: me({}, t, {
|
|
1665
1665
|
value: Ce
|
|
1666
1666
|
}),
|
|
1667
|
-
groupCollapsed:
|
|
1667
|
+
groupCollapsed: me({}, t, {
|
|
1668
1668
|
value: s
|
|
1669
1669
|
}),
|
|
1670
|
-
groupEnd:
|
|
1670
|
+
groupEnd: me({}, t, {
|
|
1671
1671
|
value: y
|
|
1672
1672
|
})
|
|
1673
1673
|
});
|
|
1674
1674
|
}
|
|
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 =
|
|
1679
|
-
function z(t,
|
|
1678
|
+
var J = A.ReactCurrentDispatcher, q;
|
|
1679
|
+
function z(t, m, x) {
|
|
1680
1680
|
{
|
|
1681
|
-
if (
|
|
1681
|
+
if (q === void 0)
|
|
1682
1682
|
try {
|
|
1683
1683
|
throw Error();
|
|
1684
1684
|
} catch (W) {
|
|
1685
|
-
var
|
|
1686
|
-
|
|
1685
|
+
var C = W.stack.trim().match(/\n( *(at )?)/);
|
|
1686
|
+
q = C && C[1] || "";
|
|
1687
1687
|
}
|
|
1688
1688
|
return `
|
|
1689
|
-
` +
|
|
1689
|
+
` + q + t;
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
1692
|
var V = !1, oe;
|
|
@@ -1694,7 +1694,7 @@ function Zn() {
|
|
|
1694
1694
|
var Or = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1695
1695
|
oe = new Or();
|
|
1696
1696
|
}
|
|
1697
|
-
function
|
|
1697
|
+
function ur(t, m) {
|
|
1698
1698
|
if (!t || V)
|
|
1699
1699
|
return "";
|
|
1700
1700
|
{
|
|
@@ -1702,87 +1702,87 @@ function Zn() {
|
|
|
1702
1702
|
if (x !== void 0)
|
|
1703
1703
|
return x;
|
|
1704
1704
|
}
|
|
1705
|
-
var
|
|
1705
|
+
var C;
|
|
1706
1706
|
V = !0;
|
|
1707
1707
|
var W = Error.prepareStackTrace;
|
|
1708
1708
|
Error.prepareStackTrace = void 0;
|
|
1709
1709
|
var B;
|
|
1710
1710
|
B = J.current, J.current = null, $();
|
|
1711
1711
|
try {
|
|
1712
|
-
if (
|
|
1713
|
-
var
|
|
1712
|
+
if (m) {
|
|
1713
|
+
var D = function() {
|
|
1714
1714
|
throw Error();
|
|
1715
1715
|
};
|
|
1716
|
-
if (Object.defineProperty(
|
|
1716
|
+
if (Object.defineProperty(D.prototype, "props", {
|
|
1717
1717
|
set: function() {
|
|
1718
1718
|
throw Error();
|
|
1719
1719
|
}
|
|
1720
1720
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1721
1721
|
try {
|
|
1722
|
-
Reflect.construct(
|
|
1723
|
-
} catch (
|
|
1724
|
-
|
|
1722
|
+
Reflect.construct(D, []);
|
|
1723
|
+
} catch (fe) {
|
|
1724
|
+
C = fe;
|
|
1725
1725
|
}
|
|
1726
|
-
Reflect.construct(t, [],
|
|
1726
|
+
Reflect.construct(t, [], D);
|
|
1727
1727
|
} else {
|
|
1728
1728
|
try {
|
|
1729
|
-
|
|
1730
|
-
} catch (
|
|
1731
|
-
|
|
1729
|
+
D.call();
|
|
1730
|
+
} catch (fe) {
|
|
1731
|
+
C = fe;
|
|
1732
1732
|
}
|
|
1733
|
-
t.call(
|
|
1733
|
+
t.call(D.prototype);
|
|
1734
1734
|
}
|
|
1735
1735
|
} else {
|
|
1736
1736
|
try {
|
|
1737
1737
|
throw Error();
|
|
1738
|
-
} catch (
|
|
1739
|
-
|
|
1738
|
+
} catch (fe) {
|
|
1739
|
+
C = fe;
|
|
1740
1740
|
}
|
|
1741
1741
|
t();
|
|
1742
1742
|
}
|
|
1743
|
-
} catch (
|
|
1744
|
-
if (
|
|
1745
|
-
for (var
|
|
1746
|
-
`),
|
|
1747
|
-
`),
|
|
1743
|
+
} catch (fe) {
|
|
1744
|
+
if (fe && C && typeof fe.stack == "string") {
|
|
1745
|
+
for (var P = fe.stack.split(`
|
|
1746
|
+
`), ue = C.stack.split(`
|
|
1747
|
+
`), ee = P.length - 1, ne = ue.length - 1; ee >= 1 && ne >= 0 && P[ee] !== ue[ne]; )
|
|
1748
1748
|
ne--;
|
|
1749
|
-
for (;
|
|
1750
|
-
if (
|
|
1751
|
-
if (
|
|
1749
|
+
for (; ee >= 1 && ne >= 0; ee--, ne--)
|
|
1750
|
+
if (P[ee] !== ue[ne]) {
|
|
1751
|
+
if (ee !== 1 || ne !== 1)
|
|
1752
1752
|
do
|
|
1753
|
-
if (
|
|
1754
|
-
var
|
|
1755
|
-
` +
|
|
1756
|
-
return t.displayName &&
|
|
1753
|
+
if (ee--, ne--, ne < 0 || P[ee] !== ue[ne]) {
|
|
1754
|
+
var he = `
|
|
1755
|
+
` + P[ee].replace(" at new ", " at ");
|
|
1756
|
+
return t.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", t.displayName)), typeof t == "function" && oe.set(t, he), he;
|
|
1757
1757
|
}
|
|
1758
|
-
while (
|
|
1758
|
+
while (ee >= 1 && ne >= 0);
|
|
1759
1759
|
break;
|
|
1760
1760
|
}
|
|
1761
1761
|
}
|
|
1762
1762
|
} finally {
|
|
1763
1763
|
V = !1, J.current = B, M(), Error.prepareStackTrace = W;
|
|
1764
1764
|
}
|
|
1765
|
-
var Se = t ? t.displayName || t.name : "",
|
|
1766
|
-
return typeof t == "function" && oe.set(t,
|
|
1765
|
+
var Se = t ? t.displayName || t.name : "", we = Se ? z(Se) : "";
|
|
1766
|
+
return typeof t == "function" && oe.set(t, we), we;
|
|
1767
1767
|
}
|
|
1768
|
-
function We(t,
|
|
1769
|
-
return
|
|
1768
|
+
function We(t, m, x) {
|
|
1769
|
+
return ur(t, !1);
|
|
1770
1770
|
}
|
|
1771
1771
|
function Pr(t) {
|
|
1772
|
-
var
|
|
1773
|
-
return !!(
|
|
1772
|
+
var m = t.prototype;
|
|
1773
|
+
return !!(m && m.isReactComponent);
|
|
1774
1774
|
}
|
|
1775
|
-
function Ue(t,
|
|
1775
|
+
function Ue(t, m, x) {
|
|
1776
1776
|
if (t == null)
|
|
1777
1777
|
return "";
|
|
1778
1778
|
if (typeof t == "function")
|
|
1779
|
-
return
|
|
1779
|
+
return ur(t, Pr(t));
|
|
1780
1780
|
if (typeof t == "string")
|
|
1781
1781
|
return z(t);
|
|
1782
1782
|
switch (t) {
|
|
1783
1783
|
case p:
|
|
1784
1784
|
return z("Suspense");
|
|
1785
|
-
case
|
|
1785
|
+
case j:
|
|
1786
1786
|
return z("SuspenseList");
|
|
1787
1787
|
}
|
|
1788
1788
|
if (typeof t == "object")
|
|
@@ -1790,55 +1790,55 @@ function Zn() {
|
|
|
1790
1790
|
case g:
|
|
1791
1791
|
return We(t.render);
|
|
1792
1792
|
case _:
|
|
1793
|
-
return Ue(t.type,
|
|
1794
|
-
case
|
|
1795
|
-
var
|
|
1793
|
+
return Ue(t.type, m, x);
|
|
1794
|
+
case O: {
|
|
1795
|
+
var C = t, W = C._payload, B = C._init;
|
|
1796
1796
|
try {
|
|
1797
|
-
return Ue(B(W),
|
|
1797
|
+
return Ue(B(W), m, x);
|
|
1798
1798
|
} catch {
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
1802
1802
|
return "";
|
|
1803
1803
|
}
|
|
1804
|
-
var Ee = Object.prototype.hasOwnProperty, Ae = {},
|
|
1804
|
+
var Ee = Object.prototype.hasOwnProperty, Ae = {}, cr = A.ReactDebugCurrentFrame;
|
|
1805
1805
|
function Ie(t) {
|
|
1806
1806
|
if (t) {
|
|
1807
|
-
var
|
|
1808
|
-
|
|
1807
|
+
var m = t._owner, x = Ue(t.type, t._source, m ? m.type : null);
|
|
1808
|
+
cr.setExtraStackFrame(x);
|
|
1809
1809
|
} else
|
|
1810
|
-
|
|
1810
|
+
cr.setExtraStackFrame(null);
|
|
1811
1811
|
}
|
|
1812
|
-
function
|
|
1812
|
+
function _e(t, m, x, C, W) {
|
|
1813
1813
|
{
|
|
1814
1814
|
var B = Function.call.bind(Ee);
|
|
1815
|
-
for (var
|
|
1816
|
-
if (B(t,
|
|
1817
|
-
var
|
|
1815
|
+
for (var D in t)
|
|
1816
|
+
if (B(t, D)) {
|
|
1817
|
+
var P = void 0;
|
|
1818
1818
|
try {
|
|
1819
|
-
if (typeof t[
|
|
1820
|
-
var
|
|
1821
|
-
throw
|
|
1819
|
+
if (typeof t[D] != "function") {
|
|
1820
|
+
var ue = Error((C || "React class") + ": " + x + " type `" + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[D] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1821
|
+
throw ue.name = "Invariant Violation", ue;
|
|
1822
1822
|
}
|
|
1823
|
-
|
|
1824
|
-
} catch (
|
|
1825
|
-
|
|
1823
|
+
P = t[D](m, D, C, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1824
|
+
} catch (ee) {
|
|
1825
|
+
P = ee;
|
|
1826
1826
|
}
|
|
1827
|
-
|
|
1827
|
+
P && !(P instanceof Error) && (Ie(W), 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(W), Y("Failed %s type: %s", x, P.message), Ie(null));
|
|
1828
1828
|
}
|
|
1829
1829
|
}
|
|
1830
1830
|
}
|
|
1831
|
-
var
|
|
1831
|
+
var De = Array.isArray;
|
|
1832
1832
|
function Ve(t) {
|
|
1833
|
-
return
|
|
1833
|
+
return De(t);
|
|
1834
1834
|
}
|
|
1835
|
-
function
|
|
1835
|
+
function fr(t) {
|
|
1836
1836
|
{
|
|
1837
|
-
var
|
|
1837
|
+
var m = typeof Symbol == "function" && Symbol.toStringTag, x = m && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
1838
1838
|
return x;
|
|
1839
1839
|
}
|
|
1840
1840
|
}
|
|
1841
|
-
function
|
|
1841
|
+
function dr(t) {
|
|
1842
1842
|
try {
|
|
1843
1843
|
return Be(t), !1;
|
|
1844
1844
|
} catch {
|
|
@@ -1849,38 +1849,38 @@ function Zn() {
|
|
|
1849
1849
|
return "" + t;
|
|
1850
1850
|
}
|
|
1851
1851
|
function Xe(t) {
|
|
1852
|
-
if (
|
|
1853
|
-
return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
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)), Be(t);
|
|
1854
1854
|
}
|
|
1855
|
-
var Ze =
|
|
1855
|
+
var Ze = A.ReactCurrentOwner, Nr = {
|
|
1856
1856
|
key: !0,
|
|
1857
1857
|
ref: !0,
|
|
1858
1858
|
__self: !0,
|
|
1859
1859
|
__source: !0
|
|
1860
|
-
},
|
|
1860
|
+
}, pr, vr;
|
|
1861
1861
|
function Qe(t) {
|
|
1862
1862
|
if (Ee.call(t, "ref")) {
|
|
1863
|
-
var
|
|
1864
|
-
if (
|
|
1863
|
+
var m = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1864
|
+
if (m && m.isReactWarning)
|
|
1865
1865
|
return !1;
|
|
1866
1866
|
}
|
|
1867
1867
|
return t.ref !== void 0;
|
|
1868
1868
|
}
|
|
1869
1869
|
function Ar(t) {
|
|
1870
1870
|
if (Ee.call(t, "key")) {
|
|
1871
|
-
var
|
|
1872
|
-
if (
|
|
1871
|
+
var m = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1872
|
+
if (m && m.isReactWarning)
|
|
1873
1873
|
return !1;
|
|
1874
1874
|
}
|
|
1875
1875
|
return t.key !== void 0;
|
|
1876
1876
|
}
|
|
1877
|
-
function Ir(t,
|
|
1877
|
+
function Ir(t, m) {
|
|
1878
1878
|
typeof t.ref == "string" && Ze.current;
|
|
1879
1879
|
}
|
|
1880
|
-
function
|
|
1880
|
+
function Dr(t, m) {
|
|
1881
1881
|
{
|
|
1882
1882
|
var x = function() {
|
|
1883
|
-
|
|
1883
|
+
pr || (pr = !0, Y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", m));
|
|
1884
1884
|
};
|
|
1885
1885
|
x.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1886
1886
|
get: x,
|
|
@@ -1888,10 +1888,10 @@ function Zn() {
|
|
|
1888
1888
|
});
|
|
1889
1889
|
}
|
|
1890
1890
|
}
|
|
1891
|
-
function Re(t,
|
|
1891
|
+
function Re(t, m) {
|
|
1892
1892
|
{
|
|
1893
1893
|
var x = function() {
|
|
1894
|
-
|
|
1894
|
+
vr || (vr = !0, Y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", m));
|
|
1895
1895
|
};
|
|
1896
1896
|
x.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1897
1897
|
get: x,
|
|
@@ -1899,70 +1899,70 @@ function Zn() {
|
|
|
1899
1899
|
});
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
|
-
var
|
|
1903
|
-
var
|
|
1902
|
+
var mr = function(t, m, x, C, W, B, D) {
|
|
1903
|
+
var P = {
|
|
1904
1904
|
// This tag allows us to uniquely identify this as a React Element
|
|
1905
1905
|
$$typeof: a,
|
|
1906
1906
|
// Built-in properties that belong on the element
|
|
1907
1907
|
type: t,
|
|
1908
|
-
key:
|
|
1908
|
+
key: m,
|
|
1909
1909
|
ref: x,
|
|
1910
|
-
props:
|
|
1910
|
+
props: D,
|
|
1911
1911
|
// Record the component responsible for creating this element.
|
|
1912
1912
|
_owner: B
|
|
1913
1913
|
};
|
|
1914
|
-
return
|
|
1914
|
+
return P._store = {}, Object.defineProperty(P._store, "validated", {
|
|
1915
1915
|
configurable: !1,
|
|
1916
1916
|
enumerable: !1,
|
|
1917
1917
|
writable: !0,
|
|
1918
1918
|
value: !1
|
|
1919
|
-
}), Object.defineProperty(
|
|
1919
|
+
}), Object.defineProperty(P, "_self", {
|
|
1920
1920
|
configurable: !1,
|
|
1921
1921
|
enumerable: !1,
|
|
1922
1922
|
writable: !1,
|
|
1923
|
-
value:
|
|
1924
|
-
}), Object.defineProperty(
|
|
1923
|
+
value: C
|
|
1924
|
+
}), Object.defineProperty(P, "_source", {
|
|
1925
1925
|
configurable: !1,
|
|
1926
1926
|
enumerable: !1,
|
|
1927
1927
|
writable: !1,
|
|
1928
1928
|
value: W
|
|
1929
|
-
}), Object.freeze && (Object.freeze(
|
|
1929
|
+
}), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
|
|
1930
1930
|
};
|
|
1931
|
-
function
|
|
1931
|
+
function $r(t, m, x, C, W) {
|
|
1932
1932
|
{
|
|
1933
|
-
var B,
|
|
1934
|
-
x !== void 0 && (Xe(x),
|
|
1935
|
-
for (B in
|
|
1936
|
-
Ee.call(
|
|
1933
|
+
var B, 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, W));
|
|
1935
|
+
for (B in m)
|
|
1936
|
+
Ee.call(m, B) && !Nr.hasOwnProperty(B) && (D[B] = m[B]);
|
|
1937
1937
|
if (t && t.defaultProps) {
|
|
1938
|
-
var
|
|
1939
|
-
for (B in
|
|
1940
|
-
|
|
1938
|
+
var ee = t.defaultProps;
|
|
1939
|
+
for (B in ee)
|
|
1940
|
+
D[B] === void 0 && (D[B] = ee[B]);
|
|
1941
1941
|
}
|
|
1942
|
-
if (
|
|
1942
|
+
if (P || ue) {
|
|
1943
1943
|
var ne = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1944
|
-
|
|
1944
|
+
P && Dr(D, ne), ue && Re(D, ne);
|
|
1945
1945
|
}
|
|
1946
|
-
return
|
|
1946
|
+
return mr(t, P, ue, W, C, Ze.current, D);
|
|
1947
1947
|
}
|
|
1948
1948
|
}
|
|
1949
|
-
var er =
|
|
1949
|
+
var er = A.ReactCurrentOwner, rr = A.ReactDebugCurrentFrame;
|
|
1950
1950
|
function ke(t) {
|
|
1951
1951
|
if (t) {
|
|
1952
|
-
var
|
|
1952
|
+
var m = t._owner, x = Ue(t.type, t._source, m ? m.type : null);
|
|
1953
1953
|
rr.setExtraStackFrame(x);
|
|
1954
1954
|
} else
|
|
1955
1955
|
rr.setExtraStackFrame(null);
|
|
1956
1956
|
}
|
|
1957
1957
|
var Ye;
|
|
1958
1958
|
Ye = !1;
|
|
1959
|
-
function
|
|
1959
|
+
function $e(t) {
|
|
1960
1960
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
1961
1961
|
}
|
|
1962
1962
|
function Fe() {
|
|
1963
1963
|
{
|
|
1964
1964
|
if (er.current) {
|
|
1965
|
-
var t =
|
|
1965
|
+
var t = ve(er.current.type);
|
|
1966
1966
|
if (t)
|
|
1967
1967
|
return `
|
|
1968
1968
|
|
|
@@ -1974,82 +1974,82 @@ Check the render method of \`` + t + "`.";
|
|
|
1974
1974
|
function ze(t) {
|
|
1975
1975
|
return "";
|
|
1976
1976
|
}
|
|
1977
|
-
var
|
|
1977
|
+
var hr = {};
|
|
1978
1978
|
function Fr(t) {
|
|
1979
1979
|
{
|
|
1980
|
-
var
|
|
1981
|
-
if (!
|
|
1980
|
+
var m = Fe();
|
|
1981
|
+
if (!m) {
|
|
1982
1982
|
var x = typeof t == "string" ? t : t.displayName || t.name;
|
|
1983
|
-
x && (
|
|
1983
|
+
x && (m = `
|
|
1984
1984
|
|
|
1985
1985
|
Check the top-level render call using <` + x + ">.");
|
|
1986
1986
|
}
|
|
1987
|
-
return
|
|
1987
|
+
return m;
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
1990
|
-
function
|
|
1990
|
+
function yr(t, m) {
|
|
1991
1991
|
{
|
|
1992
1992
|
if (!t._store || t._store.validated || t.key != null)
|
|
1993
1993
|
return;
|
|
1994
1994
|
t._store.validated = !0;
|
|
1995
|
-
var x = Fr(
|
|
1996
|
-
if (
|
|
1995
|
+
var x = Fr(m);
|
|
1996
|
+
if (hr[x])
|
|
1997
1997
|
return;
|
|
1998
|
-
|
|
1999
|
-
var
|
|
2000
|
-
t && t._owner && t._owner !== er.current && (
|
|
1998
|
+
hr[x] = !0;
|
|
1999
|
+
var C = "";
|
|
2000
|
+
t && t._owner && t._owner !== er.current && (C = " It was passed a child from " + ve(t._owner.type) + "."), ke(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), ke(null);
|
|
2001
2001
|
}
|
|
2002
2002
|
}
|
|
2003
|
-
function
|
|
2003
|
+
function br(t, m) {
|
|
2004
2004
|
{
|
|
2005
2005
|
if (typeof t != "object")
|
|
2006
2006
|
return;
|
|
2007
2007
|
if (Ve(t))
|
|
2008
2008
|
for (var x = 0; x < t.length; x++) {
|
|
2009
|
-
var
|
|
2010
|
-
|
|
2009
|
+
var C = t[x];
|
|
2010
|
+
$e(C) && yr(C, m);
|
|
2011
2011
|
}
|
|
2012
|
-
else if (
|
|
2012
|
+
else if ($e(t))
|
|
2013
2013
|
t._store && (t._store.validated = !0);
|
|
2014
2014
|
else if (t) {
|
|
2015
|
-
var W =
|
|
2015
|
+
var W = de(t);
|
|
2016
2016
|
if (typeof W == "function" && W !== t.entries)
|
|
2017
|
-
for (var B = W.call(t),
|
|
2018
|
-
|
|
2017
|
+
for (var B = W.call(t), D; !(D = B.next()).done; )
|
|
2018
|
+
$e(D.value) && yr(D.value, m);
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
2021
|
}
|
|
2022
2022
|
function Lr(t) {
|
|
2023
2023
|
{
|
|
2024
|
-
var
|
|
2025
|
-
if (
|
|
2024
|
+
var m = t.type;
|
|
2025
|
+
if (m == null || typeof m == "string")
|
|
2026
2026
|
return;
|
|
2027
2027
|
var x;
|
|
2028
|
-
if (typeof
|
|
2029
|
-
x =
|
|
2030
|
-
else if (typeof
|
|
2028
|
+
if (typeof m == "function")
|
|
2029
|
+
x = m.propTypes;
|
|
2030
|
+
else if (typeof m == "object" && (m.$$typeof === g || // Note: Memo only checks outer props here.
|
|
2031
2031
|
// Inner props are checked in the reconciler.
|
|
2032
|
-
|
|
2033
|
-
x =
|
|
2032
|
+
m.$$typeof === _))
|
|
2033
|
+
x = m.propTypes;
|
|
2034
2034
|
else
|
|
2035
2035
|
return;
|
|
2036
2036
|
if (x) {
|
|
2037
|
-
var
|
|
2038
|
-
|
|
2039
|
-
} else if (
|
|
2037
|
+
var C = ve(m);
|
|
2038
|
+
_e(x, t.props, "prop", C, t);
|
|
2039
|
+
} else if (m.PropTypes !== void 0 && !Ye) {
|
|
2040
2040
|
Ye = !0;
|
|
2041
|
-
var W =
|
|
2041
|
+
var W = ve(m);
|
|
2042
2042
|
Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", W || "Unknown");
|
|
2043
2043
|
}
|
|
2044
|
-
typeof
|
|
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
|
}
|
|
2046
2046
|
}
|
|
2047
2047
|
function Le(t) {
|
|
2048
2048
|
{
|
|
2049
|
-
for (var
|
|
2050
|
-
var
|
|
2051
|
-
if (
|
|
2052
|
-
ke(t), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
2049
|
+
for (var m = Object.keys(t.props), x = 0; x < m.length; x++) {
|
|
2050
|
+
var C = m[x];
|
|
2051
|
+
if (C !== "children" && C !== "key") {
|
|
2052
|
+
ke(t), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), ke(null);
|
|
2053
2053
|
break;
|
|
2054
2054
|
}
|
|
2055
2055
|
}
|
|
@@ -2057,63 +2057,63 @@ Check the top-level render call using <` + x + ">.");
|
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
2059
2059
|
var qe = {};
|
|
2060
|
-
function tr(t,
|
|
2060
|
+
function tr(t, m, x, C, W, B) {
|
|
2061
2061
|
{
|
|
2062
|
-
var
|
|
2063
|
-
if (!
|
|
2064
|
-
var
|
|
2065
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
2066
|
-
var
|
|
2067
|
-
|
|
2068
|
-
var
|
|
2069
|
-
t === null ?
|
|
2070
|
-
}
|
|
2071
|
-
var ne =
|
|
2062
|
+
var D = Oe(t);
|
|
2063
|
+
if (!D) {
|
|
2064
|
+
var P = "";
|
|
2065
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (P += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2066
|
+
var ue = ze();
|
|
2067
|
+
ue ? P += ue : P += Fe();
|
|
2068
|
+
var ee;
|
|
2069
|
+
t === null ? ee = "null" : Ve(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
|
+
}
|
|
2071
|
+
var ne = $r(t, m, x, W, B);
|
|
2072
2072
|
if (ne == null)
|
|
2073
2073
|
return ne;
|
|
2074
|
-
if (
|
|
2075
|
-
var
|
|
2076
|
-
if (
|
|
2077
|
-
if (
|
|
2078
|
-
if (Ve(
|
|
2079
|
-
for (var Se = 0; Se <
|
|
2080
|
-
|
|
2081
|
-
Object.freeze && Object.freeze(
|
|
2074
|
+
if (D) {
|
|
2075
|
+
var he = m.children;
|
|
2076
|
+
if (he !== void 0)
|
|
2077
|
+
if (C)
|
|
2078
|
+
if (Ve(he)) {
|
|
2079
|
+
for (var Se = 0; Se < he.length; Se++)
|
|
2080
|
+
br(he[Se], t);
|
|
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.");
|
|
2084
2084
|
else
|
|
2085
|
-
|
|
2085
|
+
br(he, t);
|
|
2086
2086
|
}
|
|
2087
|
-
if (Ee.call(
|
|
2088
|
-
var
|
|
2087
|
+
if (Ee.call(m, "key")) {
|
|
2088
|
+
var we = ve(t), fe = Object.keys(m).filter(function(Yr) {
|
|
2089
2089
|
return Yr !== "key";
|
|
2090
|
-
}), nr =
|
|
2091
|
-
if (!qe[
|
|
2092
|
-
var Br =
|
|
2090
|
+
}), nr = fe.length > 0 ? "{key: someKey, " + fe.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2091
|
+
if (!qe[we + nr]) {
|
|
2092
|
+
var Br = 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,
|
|
2098
|
+
<%s key={someKey} {...props} />`, nr, we, Br, we), qe[we + nr] = !0;
|
|
2099
2099
|
}
|
|
2100
2100
|
}
|
|
2101
|
-
return t ===
|
|
2101
|
+
return t === l ? Le(ne) : Lr(ne), ne;
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
|
-
function Mr(t,
|
|
2105
|
-
return tr(t,
|
|
2104
|
+
function Mr(t, m, x) {
|
|
2105
|
+
return tr(t, m, x, !0);
|
|
2106
2106
|
}
|
|
2107
|
-
function Wr(t,
|
|
2108
|
-
return tr(t,
|
|
2107
|
+
function Wr(t, m, x) {
|
|
2108
|
+
return tr(t, m, x, !1);
|
|
2109
2109
|
}
|
|
2110
2110
|
var Ur = Wr, Vr = Mr;
|
|
2111
|
-
sr.Fragment =
|
|
2111
|
+
sr.Fragment = l, sr.jsx = Ur, sr.jsxs = Vr;
|
|
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" ? Sr.exports = Xn() : Sr.exports = Zn()), Sr.exports;
|
|
2117
2117
|
}
|
|
2118
2118
|
var n = Qn();
|
|
2119
2119
|
at();
|
|
@@ -2128,77 +2128,77 @@ function ea() {
|
|
|
2128
2128
|
return Lt || (Lt = 1, function(o) {
|
|
2129
2129
|
(function() {
|
|
2130
2130
|
var a = {}.hasOwnProperty;
|
|
2131
|
-
function
|
|
2132
|
-
for (var
|
|
2133
|
-
var
|
|
2134
|
-
|
|
2131
|
+
function u() {
|
|
2132
|
+
for (var d = "", h = 0; h < arguments.length; h++) {
|
|
2133
|
+
var v = arguments[h];
|
|
2134
|
+
v && (d = f(d, l(v)));
|
|
2135
2135
|
}
|
|
2136
|
-
return
|
|
2136
|
+
return d;
|
|
2137
2137
|
}
|
|
2138
|
-
function
|
|
2139
|
-
if (typeof
|
|
2140
|
-
return
|
|
2141
|
-
if (typeof
|
|
2138
|
+
function l(d) {
|
|
2139
|
+
if (typeof d == "string" || typeof d == "number")
|
|
2140
|
+
return d;
|
|
2141
|
+
if (typeof d != "object")
|
|
2142
2142
|
return "";
|
|
2143
|
-
if (Array.isArray(
|
|
2144
|
-
return
|
|
2145
|
-
if (
|
|
2146
|
-
return
|
|
2147
|
-
var
|
|
2148
|
-
for (var
|
|
2149
|
-
a.call(
|
|
2150
|
-
return
|
|
2151
|
-
}
|
|
2152
|
-
function d
|
|
2153
|
-
return
|
|
2154
|
-
}
|
|
2155
|
-
o.exports ? (
|
|
2143
|
+
if (Array.isArray(d))
|
|
2144
|
+
return u.apply(null, d);
|
|
2145
|
+
if (d.toString !== Object.prototype.toString && !d.toString.toString().includes("[native code]"))
|
|
2146
|
+
return d.toString();
|
|
2147
|
+
var h = "";
|
|
2148
|
+
for (var v in d)
|
|
2149
|
+
a.call(d, v) && d[v] && (h = f(h, v));
|
|
2150
|
+
return h;
|
|
2151
|
+
}
|
|
2152
|
+
function f(d, h) {
|
|
2153
|
+
return h ? d ? d + " " + h : d + h : d;
|
|
2154
|
+
}
|
|
2155
|
+
o.exports ? (u.default = u, o.exports = u) : window.classNames = u;
|
|
2156
2156
|
})();
|
|
2157
2157
|
}(et)), et.exports;
|
|
2158
2158
|
}
|
|
2159
2159
|
var ra = ea();
|
|
2160
|
-
const
|
|
2160
|
+
const U = /* @__PURE__ */ Kn(ra), te = ({
|
|
2161
2161
|
children: o,
|
|
2162
2162
|
className: a,
|
|
2163
|
-
important:
|
|
2164
|
-
onClick:
|
|
2165
|
-
}) =>
|
|
2163
|
+
important: u = !1,
|
|
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 }), He = ({ icon: o, className: a = "" }) => o ? /* @__PURE__ */ n.jsxs(te, { className: "blockbite--icon", children: [
|
|
2166
2166
|
/* @__PURE__ */ n.jsx(o, { className: a }),
|
|
2167
2167
|
" "
|
|
2168
2168
|
] }) : null, ta = tt(
|
|
2169
2169
|
({
|
|
2170
2170
|
children: o,
|
|
2171
2171
|
className: a,
|
|
2172
|
-
value:
|
|
2173
|
-
variant:
|
|
2174
|
-
defaultPressed:
|
|
2175
|
-
onPressedChange:
|
|
2176
|
-
icon:
|
|
2177
|
-
size:
|
|
2172
|
+
value: u,
|
|
2173
|
+
variant: l = "secondary",
|
|
2174
|
+
defaultPressed: f,
|
|
2175
|
+
onPressedChange: d,
|
|
2176
|
+
icon: h,
|
|
2177
|
+
size: v = "compact",
|
|
2178
2178
|
display: g = "auto",
|
|
2179
2179
|
label: p
|
|
2180
2180
|
}) => {
|
|
2181
|
-
const [
|
|
2181
|
+
const [j, _] = F(!1);
|
|
2182
2182
|
K(() => {
|
|
2183
|
-
_(
|
|
2184
|
-
}, [
|
|
2185
|
-
const
|
|
2186
|
-
_((T) => !T),
|
|
2187
|
-
}, [
|
|
2183
|
+
_(f === u);
|
|
2184
|
+
}, [f]);
|
|
2185
|
+
const O = Wt(() => {
|
|
2186
|
+
_((T) => !T), d(u);
|
|
2187
|
+
}, [j, d]);
|
|
2188
2188
|
return /* @__PURE__ */ n.jsxs(
|
|
2189
|
-
|
|
2189
|
+
ye,
|
|
2190
2190
|
{
|
|
2191
2191
|
"aria-label": p,
|
|
2192
|
-
className:
|
|
2193
|
-
value:
|
|
2194
|
-
size:
|
|
2192
|
+
className: U(a, "blockbite-ui__button--default"),
|
|
2193
|
+
value: u,
|
|
2194
|
+
size: v,
|
|
2195
2195
|
label: p,
|
|
2196
|
-
variant:
|
|
2196
|
+
variant: l,
|
|
2197
2197
|
showTooltip: !0,
|
|
2198
|
-
isPressed:
|
|
2199
|
-
onClick:
|
|
2198
|
+
isPressed: j,
|
|
2199
|
+
onClick: O,
|
|
2200
2200
|
children: [
|
|
2201
|
-
|
|
2201
|
+
h && /* @__PURE__ */ n.jsx(He, { icon: h }),
|
|
2202
2202
|
g !== "icon" ? o : null,
|
|
2203
2203
|
p && !o && g !== "icon" ? /* @__PURE__ */ n.jsx("span", { children: p }) : null
|
|
2204
2204
|
]
|
|
@@ -2209,58 +2209,58 @@ const q = /* @__PURE__ */ Hn(ra), Q = ({
|
|
|
2209
2209
|
({
|
|
2210
2210
|
className: o,
|
|
2211
2211
|
defaultPressed: a = "",
|
|
2212
|
-
toggle:
|
|
2213
|
-
display:
|
|
2214
|
-
options:
|
|
2215
|
-
size:
|
|
2216
|
-
tabs:
|
|
2217
|
-
variant:
|
|
2212
|
+
toggle: u = !0,
|
|
2213
|
+
display: l = "auto",
|
|
2214
|
+
options: f,
|
|
2215
|
+
size: d = "compact",
|
|
2216
|
+
tabs: h = !1,
|
|
2217
|
+
variant: v = "secondary",
|
|
2218
2218
|
stretch: g = !1,
|
|
2219
2219
|
onPressedChange: p
|
|
2220
2220
|
}) => {
|
|
2221
|
-
const [
|
|
2221
|
+
const [j, _] = F(a);
|
|
2222
2222
|
K(() => {
|
|
2223
2223
|
_(a);
|
|
2224
2224
|
}, [a]);
|
|
2225
|
-
const
|
|
2226
|
-
(
|
|
2227
|
-
const
|
|
2228
|
-
_(
|
|
2225
|
+
const O = Wt(
|
|
2226
|
+
(S) => {
|
|
2227
|
+
const ae = u && j === S ? "" : S;
|
|
2228
|
+
_(ae), p?.(ae);
|
|
2229
2229
|
},
|
|
2230
|
-
[
|
|
2231
|
-
), T = (
|
|
2232
|
-
|
|
2233
|
-
/* @__PURE__ */ n.jsx("span", { children:
|
|
2230
|
+
[j, p, u]
|
|
2231
|
+
), T = (S) => l === "icon" && S?.icon ? /* @__PURE__ */ n.jsx(He, { icon: S.icon }) : l === "label" ? /* @__PURE__ */ n.jsx("span", { children: S.label }) : /* @__PURE__ */ n.jsxs("span", { className: "flex items-center justify-center gap-1", children: [
|
|
2232
|
+
S.icon && /* @__PURE__ */ n.jsx(He, { icon: S.icon }),
|
|
2233
|
+
/* @__PURE__ */ n.jsx("span", { children: S.label })
|
|
2234
2234
|
] });
|
|
2235
2235
|
return /* @__PURE__ */ n.jsx(
|
|
2236
|
-
|
|
2236
|
+
te,
|
|
2237
2237
|
{
|
|
2238
|
-
className:
|
|
2238
|
+
className: U(
|
|
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:
|
|
2244
|
-
|
|
2243
|
+
children: f.map((S, ae) => /* @__PURE__ */ n.jsxs(
|
|
2244
|
+
ye,
|
|
2245
2245
|
{
|
|
2246
|
-
className:
|
|
2246
|
+
className: U("blockbite-ui__button--default", {
|
|
2247
2247
|
grow: g,
|
|
2248
2248
|
"justify-center": g
|
|
2249
2249
|
}),
|
|
2250
|
-
"aria-label":
|
|
2250
|
+
"aria-label": S.label,
|
|
2251
2251
|
showTooltip: !0,
|
|
2252
|
-
value:
|
|
2253
|
-
size:
|
|
2254
|
-
label:
|
|
2255
|
-
variant:
|
|
2256
|
-
isPressed:
|
|
2257
|
-
onClick: () =>
|
|
2252
|
+
value: S.value,
|
|
2253
|
+
size: d,
|
|
2254
|
+
label: S?.tooltip || S.label,
|
|
2255
|
+
variant: v,
|
|
2256
|
+
isPressed: j === S.value,
|
|
2257
|
+
onClick: () => O(S.value),
|
|
2258
2258
|
children: [
|
|
2259
|
-
T(
|
|
2260
|
-
|
|
2259
|
+
T(S),
|
|
2260
|
+
S.children && S.children
|
|
2261
2261
|
]
|
|
2262
2262
|
},
|
|
2263
|
-
`ButtonToggleGroup__${
|
|
2263
|
+
`ButtonToggleGroup__${S.value}__${S.label}__${ae}`
|
|
2264
2264
|
))
|
|
2265
2265
|
}
|
|
2266
2266
|
);
|
|
@@ -2269,36 +2269,36 @@ const q = /* @__PURE__ */ Hn(ra), Q = ({
|
|
|
2269
2269
|
function ka({
|
|
2270
2270
|
defaultValue: o,
|
|
2271
2271
|
options: a,
|
|
2272
|
-
swatch:
|
|
2273
|
-
onPressedChange:
|
|
2272
|
+
swatch: u,
|
|
2273
|
+
onPressedChange: l
|
|
2274
2274
|
}) {
|
|
2275
|
-
const [
|
|
2275
|
+
const [f, d] = F(""), [h, v] = F([]);
|
|
2276
2276
|
return K(() => {
|
|
2277
|
-
|
|
2277
|
+
v(
|
|
2278
2278
|
a.filter(
|
|
2279
|
-
(g) => g.label.toLowerCase().includes(
|
|
2279
|
+
(g) => g.label.toLowerCase().includes(f.toLowerCase())
|
|
2280
2280
|
)
|
|
2281
2281
|
);
|
|
2282
|
-
}, [
|
|
2283
|
-
|
|
2282
|
+
}, [f, a]), K(() => {
|
|
2283
|
+
d(""), v(a);
|
|
2284
2284
|
}, [o, a]), /* @__PURE__ */ n.jsx(
|
|
2285
2285
|
wn,
|
|
2286
2286
|
{
|
|
2287
2287
|
className: "option-panel-dropdown",
|
|
2288
2288
|
contentClassName: "option-panel-dropdown-content",
|
|
2289
2289
|
popoverProps: { placement: "bottom-start" },
|
|
2290
|
-
renderToggle: ({ isOpen: g, onToggle: p }) => /* @__PURE__ */ n.jsx(
|
|
2291
|
-
|
|
2290
|
+
renderToggle: ({ isOpen: g, onToggle: p }) => /* @__PURE__ */ n.jsx(te, { important: !0, children: /* @__PURE__ */ n.jsx(
|
|
2291
|
+
ye,
|
|
2292
2292
|
{
|
|
2293
2293
|
variant: "secondary",
|
|
2294
2294
|
size: "small",
|
|
2295
2295
|
onClick: p,
|
|
2296
2296
|
"aria-expanded": g,
|
|
2297
2297
|
children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-1 !bg-transparent !p-0 !text-[11px] !text-current", children: [
|
|
2298
|
-
|
|
2298
|
+
u && /* @__PURE__ */ n.jsx(
|
|
2299
2299
|
"div",
|
|
2300
2300
|
{
|
|
2301
|
-
className:
|
|
2301
|
+
className: U(
|
|
2302
2302
|
`h-3 w-3 rounded-full bg-${o}`
|
|
2303
2303
|
)
|
|
2304
2304
|
}
|
|
@@ -2308,35 +2308,35 @@ function ka({
|
|
|
2308
2308
|
] })
|
|
2309
2309
|
}
|
|
2310
2310
|
) }),
|
|
2311
|
-
renderContent: () => /* @__PURE__ */ n.jsx(
|
|
2311
|
+
renderContent: () => /* @__PURE__ */ n.jsx(te, { important: !0, children: /* @__PURE__ */ n.jsxs("div", { className: "w-52", children: [
|
|
2312
2312
|
/* @__PURE__ */ n.jsx(
|
|
2313
2313
|
rt,
|
|
2314
2314
|
{
|
|
2315
2315
|
label: "Search options",
|
|
2316
|
-
value:
|
|
2317
|
-
onChange: (g) =>
|
|
2316
|
+
value: f,
|
|
2317
|
+
onChange: (g) => d(g),
|
|
2318
2318
|
autoComplete: "off"
|
|
2319
2319
|
}
|
|
2320
2320
|
),
|
|
2321
2321
|
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-2 gap-1 !bg-transparent !p-0 !pt-2", children: [
|
|
2322
|
-
|
|
2323
|
-
|
|
2322
|
+
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
|
+
h.map((g, p) => /* @__PURE__ */ n.jsxs(
|
|
2324
2324
|
ta,
|
|
2325
2325
|
{
|
|
2326
|
-
className:
|
|
2326
|
+
className: U({
|
|
2327
2327
|
"bg-primary": g.value
|
|
2328
2328
|
}),
|
|
2329
2329
|
size: "small",
|
|
2330
2330
|
value: g.value.toString(),
|
|
2331
2331
|
defaultPressed: o,
|
|
2332
|
-
onPressedChange: (
|
|
2333
|
-
|
|
2332
|
+
onPressedChange: (j) => {
|
|
2333
|
+
l(j ? g.value : "");
|
|
2334
2334
|
},
|
|
2335
2335
|
children: [
|
|
2336
|
-
|
|
2336
|
+
u && /* @__PURE__ */ n.jsx(
|
|
2337
2337
|
"div",
|
|
2338
2338
|
{
|
|
2339
|
-
className:
|
|
2339
|
+
className: U(
|
|
2340
2340
|
`mr-3 h-3 w-3 rounded-full bg-${g.value}`
|
|
2341
2341
|
)
|
|
2342
2342
|
}
|
|
@@ -2351,44 +2351,47 @@ function ka({
|
|
|
2351
2351
|
}
|
|
2352
2352
|
);
|
|
2353
2353
|
}
|
|
2354
|
-
const aa = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.
|
|
2354
|
+
const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__ */ n.jsxs(
|
|
2355
2355
|
"div",
|
|
2356
2356
|
{
|
|
2357
2357
|
onClick: l,
|
|
2358
|
-
className:
|
|
2358
|
+
className: U(
|
|
2359
2359
|
a,
|
|
2360
2360
|
"inline-flex items-center rounded-full bg-blue-100 px-2.5 py-0.5 text-xs font-medium text-blue-800"
|
|
2361
2361
|
),
|
|
2362
|
-
children:
|
|
2362
|
+
children: [
|
|
2363
|
+
u && /* @__PURE__ */ n.jsx("span", { className: "mr-1 text-xs font-semibold text-gray-700", children: u }),
|
|
2364
|
+
o
|
|
2365
|
+
]
|
|
2363
2366
|
}
|
|
2364
|
-
), Sa = ({ htmlContent: o, cssContent: a, frontendAssets:
|
|
2365
|
-
const
|
|
2367
|
+
), Sa = ({ htmlContent: o, cssContent: a, frontendAssets: u }) => {
|
|
2368
|
+
const l = lr(null), [f, d] = F(null);
|
|
2366
2369
|
return K(() => {
|
|
2367
|
-
const
|
|
2368
|
-
return
|
|
2369
|
-
const
|
|
2370
|
-
if (
|
|
2371
|
-
|
|
2372
|
-
const g =
|
|
2373
|
-
g.innerHTML = a,
|
|
2374
|
-
const
|
|
2375
|
-
if (
|
|
2370
|
+
const h = l.current;
|
|
2371
|
+
return h && (h.onload = () => {
|
|
2372
|
+
const v = h.contentDocument || h.contentWindow.document;
|
|
2373
|
+
if (v) {
|
|
2374
|
+
d(v.body);
|
|
2375
|
+
const g = v.createElement("style");
|
|
2376
|
+
g.innerHTML = a, v.head.appendChild(g), u.forEach(({ type: p, id: j, url: _ }) => {
|
|
2377
|
+
const O = document.getElementById(j);
|
|
2378
|
+
if (O) {
|
|
2376
2379
|
const T = document.adoptNode(
|
|
2377
|
-
|
|
2380
|
+
O.cloneNode(!0)
|
|
2378
2381
|
);
|
|
2379
|
-
|
|
2382
|
+
v.head.appendChild(T);
|
|
2380
2383
|
} else {
|
|
2381
|
-
const T =
|
|
2384
|
+
const T = v.createElement(
|
|
2382
2385
|
p === "script" ? "script" : "link"
|
|
2383
2386
|
);
|
|
2384
|
-
T.id =
|
|
2387
|
+
T.id = j, p === "script" ? (T.src = _, T.async = !0) : (T.rel = "stylesheet", T.href = _), v.head.appendChild(T);
|
|
2385
2388
|
}
|
|
2386
2389
|
});
|
|
2387
2390
|
}
|
|
2388
2391
|
}), () => {
|
|
2389
|
-
|
|
2392
|
+
h && (h.onload = null);
|
|
2390
2393
|
};
|
|
2391
|
-
}, [o, a,
|
|
2394
|
+
}, [o, a, u]), /* @__PURE__ */ n.jsxs(
|
|
2392
2395
|
"div",
|
|
2393
2396
|
{
|
|
2394
2397
|
className: "render-preview-container",
|
|
@@ -2397,14 +2400,14 @@ const aa = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
|
|
|
2397
2400
|
/* @__PURE__ */ n.jsx(
|
|
2398
2401
|
"iframe",
|
|
2399
2402
|
{
|
|
2400
|
-
ref:
|
|
2403
|
+
ref: l,
|
|
2401
2404
|
title: "Preview",
|
|
2402
2405
|
className: "editor-styles-wrapper",
|
|
2403
2406
|
width: "100%",
|
|
2404
2407
|
height: "100%"
|
|
2405
2408
|
}
|
|
2406
2409
|
),
|
|
2407
|
-
|
|
2410
|
+
f && Ut(
|
|
2408
2411
|
/* @__PURE__ */ n.jsx("div", { className: "b_", children: /* @__PURE__ */ n.jsx(
|
|
2409
2412
|
"div",
|
|
2410
2413
|
{
|
|
@@ -2412,7 +2415,7 @@ const aa = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
|
|
|
2412
2415
|
dangerouslySetInnerHTML: { __html: o }
|
|
2413
2416
|
}
|
|
2414
2417
|
) }),
|
|
2415
|
-
|
|
2418
|
+
f
|
|
2416
2419
|
)
|
|
2417
2420
|
]
|
|
2418
2421
|
}
|
|
@@ -2420,129 +2423,297 @@ const aa = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
|
|
|
2420
2423
|
}, Ta = ({
|
|
2421
2424
|
children: o,
|
|
2422
2425
|
size: a = "default",
|
|
2423
|
-
label:
|
|
2424
|
-
className:
|
|
2425
|
-
onClick:
|
|
2426
|
-
variant:
|
|
2427
|
-
display:
|
|
2428
|
-
icon:
|
|
2426
|
+
label: u,
|
|
2427
|
+
className: l,
|
|
2428
|
+
onClick: f,
|
|
2429
|
+
variant: d = "primary",
|
|
2430
|
+
display: h = "auto",
|
|
2431
|
+
icon: v,
|
|
2429
2432
|
disabled: g = !1
|
|
2430
2433
|
}) => {
|
|
2431
|
-
const p =
|
|
2434
|
+
const p = h === "icon" || h === "icon-lg";
|
|
2432
2435
|
return /* @__PURE__ */ n.jsxs(
|
|
2433
|
-
|
|
2436
|
+
ye,
|
|
2434
2437
|
{
|
|
2435
2438
|
size: a,
|
|
2436
|
-
variant:
|
|
2437
|
-
label:
|
|
2439
|
+
variant: d,
|
|
2440
|
+
label: u,
|
|
2438
2441
|
showTooltip: !0,
|
|
2439
2442
|
disabled: g,
|
|
2440
|
-
className:
|
|
2441
|
-
|
|
2443
|
+
className: U(
|
|
2444
|
+
l,
|
|
2442
2445
|
"blockbite-ui__button",
|
|
2443
2446
|
"flex items-center justify-center gap-1",
|
|
2444
|
-
{ "is-primary":
|
|
2445
|
-
{ "is-secondary":
|
|
2446
|
-
{ "is-link":
|
|
2447
|
-
{ "is-tertiary":
|
|
2448
|
-
{ "is-icon":
|
|
2447
|
+
{ "is-primary": d === "primary" },
|
|
2448
|
+
{ "is-secondary": d === "secondary" },
|
|
2449
|
+
{ "is-link": d === "link" },
|
|
2450
|
+
{ "is-tertiary": d === "tertiary" },
|
|
2451
|
+
{ "is-icon": h === "icon" }
|
|
2449
2452
|
),
|
|
2450
|
-
onClick:
|
|
2453
|
+
onClick: f,
|
|
2451
2454
|
children: [
|
|
2452
|
-
|
|
2453
|
-
|
|
2455
|
+
v && /* @__PURE__ */ n.jsx(
|
|
2456
|
+
He,
|
|
2454
2457
|
{
|
|
2455
|
-
icon:
|
|
2456
|
-
className:
|
|
2458
|
+
icon: v,
|
|
2459
|
+
className: U({ "h-4 w-4": h === "icon-lg" })
|
|
2457
2460
|
}
|
|
2458
2461
|
),
|
|
2459
2462
|
p ? null : o,
|
|
2460
|
-
|
|
2463
|
+
u && !o && !p ? /* @__PURE__ */ n.jsx("span", { children: u }) : null
|
|
2461
2464
|
]
|
|
2462
2465
|
}
|
|
2463
2466
|
);
|
|
2464
2467
|
}, Oa = ({ children: o, title: a }) => /* @__PURE__ */ n.jsxs(
|
|
2465
|
-
|
|
2468
|
+
te,
|
|
2466
2469
|
{
|
|
2467
|
-
className:
|
|
2470
|
+
className: U(
|
|
2468
2471
|
"text-gray-medium my-2 flex items-center gap-1 text-[12px] font-medium",
|
|
2469
|
-
|
|
2472
|
+
U
|
|
2470
2473
|
),
|
|
2471
2474
|
children: [
|
|
2472
|
-
a && /* @__PURE__ */ n.jsx(
|
|
2475
|
+
a && /* @__PURE__ */ n.jsx(te, { className: "font-medium", children: a }),
|
|
2473
2476
|
o
|
|
2474
2477
|
]
|
|
2475
2478
|
}
|
|
2476
2479
|
), Pa = ({
|
|
2477
2480
|
id: o = "",
|
|
2478
2481
|
title: a,
|
|
2479
|
-
className:
|
|
2480
|
-
help:
|
|
2481
|
-
badge:
|
|
2482
|
-
}) => /* @__PURE__ */ n.jsxs("div", { ...o ? { id: o } : null, className:
|
|
2482
|
+
className: u,
|
|
2483
|
+
help: l,
|
|
2484
|
+
badge: f
|
|
2485
|
+
}) => /* @__PURE__ */ n.jsxs("div", { ...o ? { id: o } : null, className: U("mb-4", u), children: [
|
|
2483
2486
|
/* @__PURE__ */ n.jsxs("div", { className: "flex w-full flex-wrap items-center gap-2 justify-between", children: [
|
|
2484
2487
|
/* @__PURE__ */ n.jsx("small", { className: "shrink-1 text-[12px]", children: a }),
|
|
2485
|
-
!!
|
|
2488
|
+
!!f && /* @__PURE__ */ n.jsx(aa, { className: "text-[.65rem] py-px px-1", children: f }),
|
|
2486
2489
|
/* @__PURE__ */ n.jsx("span", { className: "h-[1px] w-full bg-easy" })
|
|
2487
2490
|
] }),
|
|
2488
|
-
|
|
2489
|
-
] }), Na = ({ label: o, help: a, defaultChecked:
|
|
2490
|
-
const [
|
|
2491
|
+
l && /* @__PURE__ */ n.jsx("small", { className: "w-full shrink-0 text-[12px]", children: l })
|
|
2492
|
+
] }), Na = ({ label: o, help: a, defaultChecked: u }) => {
|
|
2493
|
+
const [l, f] = F(u);
|
|
2491
2494
|
return K(() => {
|
|
2492
|
-
|
|
2493
|
-
}, [
|
|
2495
|
+
f(u);
|
|
2496
|
+
}, [u]), /* @__PURE__ */ n.jsx(te, { className: "blockbite-ui__checkbox mx-1 flex items-center gap-2", children: /* @__PURE__ */ n.jsx(
|
|
2494
2497
|
En,
|
|
2495
2498
|
{
|
|
2496
2499
|
label: o,
|
|
2497
2500
|
help: a,
|
|
2498
|
-
checked:
|
|
2499
|
-
onChange:
|
|
2501
|
+
checked: l,
|
|
2502
|
+
onChange: f
|
|
2500
2503
|
}
|
|
2501
2504
|
) });
|
|
2502
|
-
},
|
|
2505
|
+
}, ot = Vn(
|
|
2506
|
+
({
|
|
2507
|
+
onClick: o,
|
|
2508
|
+
onChange: a,
|
|
2509
|
+
className: u,
|
|
2510
|
+
defaultValue: l,
|
|
2511
|
+
children: f,
|
|
2512
|
+
inputClassName: d,
|
|
2513
|
+
readOnly: h,
|
|
2514
|
+
placeholder: v,
|
|
2515
|
+
onBlur: g,
|
|
2516
|
+
type: p = "text",
|
|
2517
|
+
label: j,
|
|
2518
|
+
helper: _ = "",
|
|
2519
|
+
...O
|
|
2520
|
+
}, T) => {
|
|
2521
|
+
const S = `text-control-${Math.random().toString(36).substring(2, 15)}`;
|
|
2522
|
+
return /* @__PURE__ */ n.jsxs(
|
|
2523
|
+
"div",
|
|
2524
|
+
{
|
|
2525
|
+
className: U("flex items-center p-0", u),
|
|
2526
|
+
...O,
|
|
2527
|
+
children: [
|
|
2528
|
+
j ? /* @__PURE__ */ n.jsx("label", { htmlFor: S, className: "text-primary !m-0 !mb-0 !mr-2", children: j }) : null,
|
|
2529
|
+
/* @__PURE__ */ n.jsx(
|
|
2530
|
+
"input",
|
|
2531
|
+
{
|
|
2532
|
+
id: S,
|
|
2533
|
+
className: U(
|
|
2534
|
+
"border-primary !m-0 !mb-0 h-[32px] !rounded-none border border-opacity-70 focus:outline-none focus:ring-0",
|
|
2535
|
+
d
|
|
2536
|
+
),
|
|
2537
|
+
type: p,
|
|
2538
|
+
value: l,
|
|
2539
|
+
placeholder: v,
|
|
2540
|
+
onFocus: () => o && o(),
|
|
2541
|
+
onBlur: (ae) => {
|
|
2542
|
+
o && o(), g && g(ae.target.value);
|
|
2543
|
+
},
|
|
2544
|
+
onChange: (ae) => a && a(ae.target.value),
|
|
2545
|
+
readOnly: h,
|
|
2546
|
+
ref: T
|
|
2547
|
+
}
|
|
2548
|
+
),
|
|
2549
|
+
/* @__PURE__ */ n.jsx("span", { children: f }),
|
|
2550
|
+
_ && /* @__PURE__ */ n.jsx("p", { className: "text-primary !m-0 !mb-0 text-xs", children: _ })
|
|
2551
|
+
]
|
|
2552
|
+
}
|
|
2553
|
+
);
|
|
2554
|
+
}
|
|
2555
|
+
);
|
|
2556
|
+
ot.displayName = "TextControl";
|
|
2557
|
+
const Aa = ({
|
|
2558
|
+
data: o,
|
|
2559
|
+
active: a,
|
|
2560
|
+
setActive: u,
|
|
2561
|
+
onCreate: l,
|
|
2562
|
+
onDelete: f,
|
|
2563
|
+
onUpdate: d,
|
|
2564
|
+
onSwitch: h,
|
|
2565
|
+
renderItemActions: v,
|
|
2566
|
+
addons: g,
|
|
2567
|
+
className: p = "",
|
|
2568
|
+
footerSlot: j,
|
|
2569
|
+
footerSlotClassName: _ = ""
|
|
2570
|
+
}) => {
|
|
2571
|
+
const [O, T] = F({
|
|
2572
|
+
id: "",
|
|
2573
|
+
name: ""
|
|
2574
|
+
}), [S, ae] = F(!1), de = lr(null), A = () => {
|
|
2575
|
+
l();
|
|
2576
|
+
}, Y = () => {
|
|
2577
|
+
if (!a || o.length === 0) return;
|
|
2578
|
+
const H = o.filter((pe) => pe.id !== a?.id), X = o.findIndex((pe) => pe.id === a?.id), ie = H[X] || H[0];
|
|
2579
|
+
f(a?.id), u(ie);
|
|
2580
|
+
}, ge = (H) => {
|
|
2581
|
+
ae(!0), O.id && d(O.id, { name: H }), setTimeout(() => {
|
|
2582
|
+
T({ id: "", name: "" }), ae(!1);
|
|
2583
|
+
}, 500);
|
|
2584
|
+
};
|
|
2585
|
+
return /* @__PURE__ */ n.jsxs(te, { important: !0, className: p, children: [
|
|
2586
|
+
/* @__PURE__ */ n.jsxs("ul", { className: "h-[calc(100%-80px)] divide-y overflow-auto", children: [
|
|
2587
|
+
g,
|
|
2588
|
+
o.length > 0 && /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("ul", { className: "divide-y border-b", children: o.map((H) => /* @__PURE__ */ n.jsxs(
|
|
2589
|
+
"li",
|
|
2590
|
+
{
|
|
2591
|
+
className: U(
|
|
2592
|
+
"relative m-0 flex items-center justify-between gap-1 bg-opacity-50 hover:bg-easy",
|
|
2593
|
+
{
|
|
2594
|
+
"bg-easy": H.id === a?.id
|
|
2595
|
+
}
|
|
2596
|
+
),
|
|
2597
|
+
children: [
|
|
2598
|
+
/* @__PURE__ */ n.jsxs("div", { className: "flex-1 relative", children: [
|
|
2599
|
+
/* @__PURE__ */ n.jsx(
|
|
2600
|
+
"button",
|
|
2601
|
+
{
|
|
2602
|
+
className: "text-gray-medium w-full truncate px-3 py-2 text-left text-sm/6 font-semibold hover:text-wordpress",
|
|
2603
|
+
onClick: () => {
|
|
2604
|
+
h(a?.id, { ...a }), u(H);
|
|
2605
|
+
},
|
|
2606
|
+
onDoubleClick: () => {
|
|
2607
|
+
T({ id: H.id, name: H.name || "" });
|
|
2608
|
+
},
|
|
2609
|
+
children: S && O.id === H.id ? /* @__PURE__ */ n.jsx("span", { className: "animate-pulse text-gray-medium", children: O.name }) : /* @__PURE__ */ n.jsx("span", { className: "text-gray-medium", children: H.name || "Untitled" })
|
|
2610
|
+
}
|
|
2611
|
+
),
|
|
2612
|
+
O.id === H.id && !S && /* @__PURE__ */ n.jsx(
|
|
2613
|
+
ot,
|
|
2614
|
+
{
|
|
2615
|
+
className: "absolute left-1 top-0 w-full h-full",
|
|
2616
|
+
inputClassName: "w-full",
|
|
2617
|
+
defaultValue: O.name,
|
|
2618
|
+
onChange: (X) => T({ ...O, name: X }),
|
|
2619
|
+
ref: de,
|
|
2620
|
+
onBlur: ge
|
|
2621
|
+
}
|
|
2622
|
+
)
|
|
2623
|
+
] }),
|
|
2624
|
+
v && /* @__PURE__ */ n.jsx("div", { className: "flex gap-1 pr-1", children: v(H) })
|
|
2625
|
+
]
|
|
2626
|
+
},
|
|
2627
|
+
`data__${H.id}`
|
|
2628
|
+
)) }) })
|
|
2629
|
+
] }),
|
|
2630
|
+
/* @__PURE__ */ n.jsxs(
|
|
2631
|
+
"div",
|
|
2632
|
+
{
|
|
2633
|
+
className: U(
|
|
2634
|
+
"flex flex-wrap justify-center gap-2 p-2",
|
|
2635
|
+
_
|
|
2636
|
+
),
|
|
2637
|
+
children: [
|
|
2638
|
+
j,
|
|
2639
|
+
/* @__PURE__ */ n.jsx(
|
|
2640
|
+
ye,
|
|
2641
|
+
{
|
|
2642
|
+
onClick: A,
|
|
2643
|
+
icon: /* @__PURE__ */ n.jsx(vn, { className: "h-4 w-4" }),
|
|
2644
|
+
variant: "tertiary",
|
|
2645
|
+
size: "compact",
|
|
2646
|
+
children: "Add"
|
|
2647
|
+
}
|
|
2648
|
+
),
|
|
2649
|
+
/* @__PURE__ */ n.jsx(
|
|
2650
|
+
ye,
|
|
2651
|
+
{
|
|
2652
|
+
onClick: Y,
|
|
2653
|
+
icon: /* @__PURE__ */ n.jsx(mn, { className: "h-4 w-4" }),
|
|
2654
|
+
variant: "tertiary",
|
|
2655
|
+
size: "compact",
|
|
2656
|
+
disabled: !a || o.length === 0,
|
|
2657
|
+
children: "Remove"
|
|
2658
|
+
}
|
|
2659
|
+
)
|
|
2660
|
+
]
|
|
2661
|
+
}
|
|
2662
|
+
)
|
|
2663
|
+
] });
|
|
2664
|
+
}, Ia = ({
|
|
2503
2665
|
duration: o = 3e3,
|
|
2504
|
-
|
|
2505
|
-
|
|
2666
|
+
className: a,
|
|
2667
|
+
children: u,
|
|
2668
|
+
show: l,
|
|
2669
|
+
message: f
|
|
2506
2670
|
}) => {
|
|
2507
|
-
const [
|
|
2671
|
+
const [d, h] = F(!1), v = lr(!1), g = lr(null);
|
|
2508
2672
|
return K(() => {
|
|
2509
|
-
|
|
2673
|
+
v.current = !0;
|
|
2510
2674
|
}, []), K(() => {
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
}, [l, o]),
|
|
2675
|
+
if (v.current)
|
|
2676
|
+
return l && (h(!0), g.current = setTimeout(() => {
|
|
2677
|
+
h(!1);
|
|
2678
|
+
}, o)), () => {
|
|
2679
|
+
g.current && clearTimeout(g.current);
|
|
2680
|
+
};
|
|
2681
|
+
}, [l, o]), d ? /* @__PURE__ */ n.jsx(
|
|
2682
|
+
te,
|
|
2683
|
+
{
|
|
2684
|
+
important: !0,
|
|
2685
|
+
className: U("bb-ui__disappearing-message", a),
|
|
2686
|
+
children: /* @__PURE__ */ n.jsx("div", { className: "bb-ui__disappearing-message__content", children: f ?? u })
|
|
2687
|
+
}
|
|
2688
|
+
) : null;
|
|
2518
2689
|
}, oa = ({
|
|
2519
2690
|
label: o,
|
|
2520
2691
|
className: a,
|
|
2521
|
-
defaultValue:
|
|
2522
|
-
defaultIcon:
|
|
2523
|
-
onPressedChange:
|
|
2524
|
-
options:
|
|
2692
|
+
defaultValue: u,
|
|
2693
|
+
defaultIcon: l = hn,
|
|
2694
|
+
onPressedChange: f,
|
|
2695
|
+
options: d
|
|
2525
2696
|
}) => {
|
|
2526
|
-
const [
|
|
2697
|
+
const [h, v] = F(null);
|
|
2527
2698
|
K(() => {
|
|
2528
|
-
|
|
2529
|
-
}, [
|
|
2699
|
+
v(u);
|
|
2700
|
+
}, [u]);
|
|
2530
2701
|
const g = [
|
|
2531
|
-
...
|
|
2702
|
+
...d.map((p) => ({
|
|
2532
2703
|
icon: p.icon,
|
|
2533
2704
|
label: p.label,
|
|
2534
2705
|
title: p.label,
|
|
2535
2706
|
value: p.value,
|
|
2536
2707
|
onClick: () => {
|
|
2537
|
-
|
|
2708
|
+
v(p.value), f(p.value);
|
|
2538
2709
|
}
|
|
2539
2710
|
})),
|
|
2540
2711
|
{
|
|
2541
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
2712
|
+
icon: /* @__PURE__ */ n.jsx(He, { icon: l }),
|
|
2542
2713
|
title: "Reset",
|
|
2543
2714
|
value: "reset",
|
|
2544
2715
|
onClick: () => {
|
|
2545
|
-
|
|
2716
|
+
v("reset"), f("reset");
|
|
2546
2717
|
}
|
|
2547
2718
|
}
|
|
2548
2719
|
];
|
|
@@ -2550,54 +2721,54 @@ const aa = ({ children: o, className: a, onClick: l }) => /* @__PURE__ */ n.jsx(
|
|
|
2550
2721
|
Rn,
|
|
2551
2722
|
{
|
|
2552
2723
|
controls: g,
|
|
2553
|
-
className:
|
|
2724
|
+
className: U(
|
|
2554
2725
|
"blockbite-ui__dropdown-picker border-primary border",
|
|
2555
2726
|
a
|
|
2556
2727
|
),
|
|
2557
|
-
icon:
|
|
2728
|
+
icon: d.find((p) => p.value === h)?.icon || /* @__PURE__ */ n.jsx(He, { icon: l }),
|
|
2558
2729
|
label: o || "Select"
|
|
2559
2730
|
}
|
|
2560
2731
|
);
|
|
2561
2732
|
};
|
|
2562
|
-
function
|
|
2733
|
+
function Da({
|
|
2563
2734
|
icon: o,
|
|
2564
2735
|
title: a,
|
|
2565
|
-
description:
|
|
2566
|
-
children:
|
|
2567
|
-
...
|
|
2736
|
+
description: u,
|
|
2737
|
+
children: l = null,
|
|
2738
|
+
...f
|
|
2568
2739
|
}) {
|
|
2569
|
-
return /* @__PURE__ */ n.jsx("div", { ...
|
|
2740
|
+
return /* @__PURE__ */ n.jsx("div", { ...f, children: /* @__PURE__ */ n.jsx("div", { className: "flex h-full w-full flex-col items-center justify-center text-center !font-sans", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-sm", children: [
|
|
2570
2741
|
o && /* @__PURE__ */ n.jsx("div", { className: "mx-auto !text-gray-400", children: o }),
|
|
2571
2742
|
/* @__PURE__ */ n.jsx("h3", { className: "text-gray-medium mt-2 !font-sans text-sm font-medium", children: a }),
|
|
2572
|
-
/* @__PURE__ */ n.jsx("p", { className: "mt-1 !font-sans text-sm !text-gray-500", children:
|
|
2573
|
-
|
|
2743
|
+
/* @__PURE__ */ n.jsx("p", { className: "mt-1 !font-sans text-sm !text-gray-500", children: u }),
|
|
2744
|
+
l && /* @__PURE__ */ n.jsx("div", { className: "mt-4", children: l })
|
|
2574
2745
|
] }) }) });
|
|
2575
2746
|
}
|
|
2576
2747
|
function $a({
|
|
2577
2748
|
children: o
|
|
2578
2749
|
}) {
|
|
2579
|
-
const a =
|
|
2750
|
+
const a = lr(null), [u, l] = F({ x: 100, y: 100 }), [f, d] = F(!1), [h, v] = F({ x: 0, y: 0 });
|
|
2580
2751
|
K(() => {
|
|
2581
2752
|
const p = (_) => {
|
|
2582
|
-
|
|
2583
|
-
x: _.clientX -
|
|
2584
|
-
y: _.clientY -
|
|
2753
|
+
f && l({
|
|
2754
|
+
x: _.clientX - h.x,
|
|
2755
|
+
y: _.clientY - h.y
|
|
2585
2756
|
});
|
|
2586
|
-
},
|
|
2587
|
-
return window.addEventListener("mousemove", p), window.addEventListener("mouseup",
|
|
2588
|
-
window.removeEventListener("mousemove", p), window.removeEventListener("mouseup",
|
|
2757
|
+
}, j = () => d(!1);
|
|
2758
|
+
return window.addEventListener("mousemove", p), window.addEventListener("mouseup", j), () => {
|
|
2759
|
+
window.removeEventListener("mousemove", p), window.removeEventListener("mouseup", j);
|
|
2589
2760
|
};
|
|
2590
|
-
}, [
|
|
2761
|
+
}, [f, h]);
|
|
2591
2762
|
const g = (p) => {
|
|
2592
|
-
const
|
|
2593
|
-
|
|
2763
|
+
const j = a.current.getBoundingClientRect();
|
|
2764
|
+
v({ x: p.clientX - j.left, y: p.clientY - j.top }), d(!0);
|
|
2594
2765
|
};
|
|
2595
2766
|
return /* @__PURE__ */ n.jsx("div", { className: "bb_", children: /* @__PURE__ */ n.jsxs(
|
|
2596
2767
|
"div",
|
|
2597
2768
|
{
|
|
2598
2769
|
ref: a,
|
|
2599
2770
|
className: "fixed bg-white shadow-xl rounded-2xl p-4 w-[400px] h-[550px] z-[9999]",
|
|
2600
|
-
style: { left:
|
|
2771
|
+
style: { left: u.x, top: u.y },
|
|
2601
2772
|
children: [
|
|
2602
2773
|
o,
|
|
2603
2774
|
/* @__PURE__ */ n.jsx(
|
|
@@ -2611,72 +2782,72 @@ function $a({
|
|
|
2611
2782
|
}
|
|
2612
2783
|
) });
|
|
2613
2784
|
}
|
|
2614
|
-
const
|
|
2785
|
+
const Fa = ({
|
|
2615
2786
|
defaultValue: o,
|
|
2616
2787
|
onValueChange: a,
|
|
2617
|
-
url:
|
|
2788
|
+
url: u
|
|
2618
2789
|
}) => {
|
|
2619
|
-
const [
|
|
2790
|
+
const [l, f] = F({
|
|
2620
2791
|
x: 0.5,
|
|
2621
2792
|
y: 0.5
|
|
2622
2793
|
});
|
|
2623
2794
|
return K(() => {
|
|
2624
2795
|
a(
|
|
2625
|
-
`[${(
|
|
2796
|
+
`[${(l.x * 100).toFixed(2)}%_${(l.y * 100).toFixed(
|
|
2626
2797
|
2
|
|
2627
2798
|
)}%]`
|
|
2628
2799
|
);
|
|
2629
|
-
}, [
|
|
2800
|
+
}, [l]), K(() => {
|
|
2630
2801
|
if (o.includes("%")) {
|
|
2631
|
-
const [
|
|
2632
|
-
|
|
2633
|
-
x:
|
|
2634
|
-
y:
|
|
2802
|
+
const [d, h] = o.replace("[", "").replace("%]", "").split("_").map((v) => parseFloat(v) / 100);
|
|
2803
|
+
f({
|
|
2804
|
+
x: d,
|
|
2805
|
+
y: h
|
|
2635
2806
|
});
|
|
2636
2807
|
}
|
|
2637
|
-
}, [o]), /* @__PURE__ */ n.jsx(
|
|
2808
|
+
}, [o]), /* @__PURE__ */ n.jsx(te, { className: "relative flex flex-col", children: /* @__PURE__ */ n.jsx(
|
|
2638
2809
|
kn,
|
|
2639
2810
|
{
|
|
2640
|
-
url:
|
|
2641
|
-
value:
|
|
2642
|
-
onDrag: (
|
|
2643
|
-
onChange: (
|
|
2811
|
+
url: u,
|
|
2812
|
+
value: l,
|
|
2813
|
+
onDrag: (d) => f(d),
|
|
2814
|
+
onChange: (d) => f(d)
|
|
2644
2815
|
}
|
|
2645
2816
|
) });
|
|
2646
2817
|
};
|
|
2647
|
-
function
|
|
2648
|
-
const [a,
|
|
2818
|
+
function La(o) {
|
|
2819
|
+
const [a, u] = F(""), [l, f] = F([]), [d, h] = F({
|
|
2649
2820
|
url: "",
|
|
2650
2821
|
title: ""
|
|
2651
2822
|
});
|
|
2652
2823
|
return K(() => {
|
|
2653
|
-
a !== "" && (
|
|
2824
|
+
a !== "" && (f(null), Yn({
|
|
2654
2825
|
path: `/blockbite/v1/block-helpers/get-links/${a}`
|
|
2655
2826
|
}).then(
|
|
2656
|
-
(
|
|
2657
|
-
|
|
2827
|
+
(v) => {
|
|
2828
|
+
v?.length ? f([...v]) : f([]);
|
|
2658
2829
|
}
|
|
2659
2830
|
));
|
|
2660
2831
|
}, [a]), K(() => {
|
|
2661
|
-
|
|
2662
|
-
}, [
|
|
2832
|
+
d.url !== "" && o.parentCallback(d);
|
|
2833
|
+
}, [d]), /* @__PURE__ */ n.jsxs(te, { className: "blockbite--editor-linkwrap", children: [
|
|
2663
2834
|
/* @__PURE__ */ n.jsx(
|
|
2664
2835
|
rt,
|
|
2665
2836
|
{
|
|
2666
2837
|
label: Me("Search link", "blockbitelinks"),
|
|
2667
2838
|
value: a,
|
|
2668
2839
|
placeholder: "Example: About",
|
|
2669
|
-
onChange: (
|
|
2840
|
+
onChange: (v) => u(v),
|
|
2670
2841
|
help: Me("Type a post, page, title", "blockbitelinks")
|
|
2671
2842
|
}
|
|
2672
2843
|
),
|
|
2673
2844
|
a ? /* @__PURE__ */ n.jsx("div", { className: "blockbite--editor-linklist", children: /* @__PURE__ */ n.jsx(
|
|
2674
2845
|
sa,
|
|
2675
2846
|
{
|
|
2676
|
-
links:
|
|
2677
|
-
onActiveLink: (
|
|
2678
|
-
|
|
2679
|
-
|
|
2847
|
+
links: l,
|
|
2848
|
+
onActiveLink: (v) => [
|
|
2849
|
+
h({ ...v }),
|
|
2850
|
+
u("")
|
|
2680
2851
|
]
|
|
2681
2852
|
}
|
|
2682
2853
|
) }) : null
|
|
@@ -2687,29 +2858,29 @@ function sa({ links: o, onActiveLink: a }) {
|
|
|
2687
2858
|
return /* @__PURE__ */ n.jsx("p", { children: "Loading..." });
|
|
2688
2859
|
if (o.length === 0)
|
|
2689
2860
|
return /* @__PURE__ */ n.jsx("p", { children: "No Results" });
|
|
2690
|
-
const
|
|
2861
|
+
const u = o.map((l) => /* @__PURE__ */ n.jsx(te, { children: /* @__PURE__ */ n.jsxs(
|
|
2691
2862
|
"span",
|
|
2692
2863
|
{
|
|
2693
2864
|
className: "blockbite--editor-link",
|
|
2694
|
-
onClick: () => a(
|
|
2865
|
+
onClick: () => a(l),
|
|
2695
2866
|
children: [
|
|
2696
|
-
/* @__PURE__ */ n.jsx("span", { children:
|
|
2697
|
-
/* @__PURE__ */ n.jsx("span", { className: "blockbite--preview-link", children:
|
|
2698
|
-
/* @__PURE__ */ n.jsx("span", { className: "blockbite--preview-link", children:
|
|
2867
|
+
/* @__PURE__ */ n.jsx("span", { children: l.title }),
|
|
2868
|
+
/* @__PURE__ */ n.jsx("span", { className: "blockbite--preview-link", children: l.url }),
|
|
2869
|
+
/* @__PURE__ */ n.jsx("span", { className: "blockbite--preview-link", children: l.post_type })
|
|
2699
2870
|
]
|
|
2700
2871
|
}
|
|
2701
|
-
) },
|
|
2702
|
-
return /* @__PURE__ */ n.jsx(n.Fragment, { children:
|
|
2872
|
+
) }, l.id));
|
|
2873
|
+
return /* @__PURE__ */ n.jsx(n.Fragment, { children: u });
|
|
2703
2874
|
}
|
|
2704
|
-
function
|
|
2705
|
-
const
|
|
2875
|
+
function Ma({ mediaProps: o, mediaCallback: a }) {
|
|
2876
|
+
const u = [
|
|
2706
2877
|
"image",
|
|
2707
2878
|
"video",
|
|
2708
2879
|
"image/svg+xml",
|
|
2709
2880
|
"svg",
|
|
2710
2881
|
"text/plain",
|
|
2711
2882
|
"application/json"
|
|
2712
|
-
], [
|
|
2883
|
+
], [l, f] = F({
|
|
2713
2884
|
id: null,
|
|
2714
2885
|
url: "",
|
|
2715
2886
|
sizes: [],
|
|
@@ -2719,53 +2890,53 @@ function La({ mediaProps: o, mediaCallback: a }) {
|
|
|
2719
2890
|
height: 0
|
|
2720
2891
|
});
|
|
2721
2892
|
K(() => {
|
|
2722
|
-
o &&
|
|
2893
|
+
o && f({ ...o });
|
|
2723
2894
|
}, [o]);
|
|
2724
|
-
const
|
|
2895
|
+
const d = () => {
|
|
2725
2896
|
a({ ...{
|
|
2726
2897
|
mediaId: 0,
|
|
2727
2898
|
mediaUrl: ""
|
|
2728
2899
|
} });
|
|
2729
|
-
},
|
|
2900
|
+
}, h = (v) => {
|
|
2730
2901
|
const g = {
|
|
2731
2902
|
thumbnail: null,
|
|
2732
2903
|
medium: null,
|
|
2733
2904
|
large: null
|
|
2734
2905
|
};
|
|
2735
|
-
|
|
2736
|
-
const _ =
|
|
2737
|
-
return (
|
|
2738
|
-
}),
|
|
2906
|
+
v?.sizes && Object.keys(v.sizes).map((j) => {
|
|
2907
|
+
const _ = v.sizes[j];
|
|
2908
|
+
return (j === "thumbnail" || _.width < 768 || _.height < 768) && (g.thumbnail = _.url), (j === "medium" || _.width > 1024 && _.width < 1024 || _.height < 1536 && _.height > 1536) && (g.medium = _.url), (j === "large" || _.width > 1536 || _.height > 1536) && (g.large = _.url), null;
|
|
2909
|
+
}), v.url.endsWith(".json") && (v.type = "lottie"), v.url.endsWith(".svg") && (v.type = "svg");
|
|
2739
2910
|
const p = {
|
|
2740
|
-
id:
|
|
2741
|
-
url:
|
|
2911
|
+
id: v.id,
|
|
2912
|
+
url: v.url,
|
|
2742
2913
|
sizes: g,
|
|
2743
|
-
alt:
|
|
2744
|
-
type:
|
|
2745
|
-
width:
|
|
2746
|
-
height:
|
|
2914
|
+
alt: v.alt,
|
|
2915
|
+
type: v.type,
|
|
2916
|
+
width: v.width,
|
|
2917
|
+
height: v.height
|
|
2747
2918
|
};
|
|
2748
2919
|
a({ ...p });
|
|
2749
2920
|
};
|
|
2750
2921
|
return /* @__PURE__ */ n.jsxs(Sn, { children: [
|
|
2751
|
-
|
|
2922
|
+
l.id !== null && /* @__PURE__ */ n.jsx(Qr, { children: /* @__PURE__ */ n.jsx(
|
|
2752
2923
|
Pt,
|
|
2753
2924
|
{
|
|
2754
|
-
onSelect:
|
|
2755
|
-
value:
|
|
2756
|
-
allowedTypes:
|
|
2757
|
-
render: ({ open:
|
|
2758
|
-
|
|
2925
|
+
onSelect: h,
|
|
2926
|
+
value: l.id,
|
|
2927
|
+
allowedTypes: u,
|
|
2928
|
+
render: ({ open: v }) => /* @__PURE__ */ n.jsxs(
|
|
2929
|
+
ye,
|
|
2759
2930
|
{
|
|
2760
|
-
className:
|
|
2761
|
-
onClick:
|
|
2931
|
+
className: l.id === 0 ? "editor-post-featured-image__toggle" : "editor-post-featured-image__preview",
|
|
2932
|
+
onClick: v,
|
|
2762
2933
|
children: [
|
|
2763
|
-
|
|
2764
|
-
|
|
2934
|
+
l.id === 0 && Me("Choose Media", "blockbite"),
|
|
2935
|
+
l.id && l.type === "image" ? /* @__PURE__ */ n.jsx("div", { className: "blockbite--editor-visual-image", children: /* @__PURE__ */ n.jsx(
|
|
2765
2936
|
"img",
|
|
2766
2937
|
{
|
|
2767
|
-
alt:
|
|
2768
|
-
src:
|
|
2938
|
+
alt: l.alt ? l.alt : Me("Image", "blockbite"),
|
|
2939
|
+
src: l.url
|
|
2769
2940
|
}
|
|
2770
2941
|
) }) : "Add media"
|
|
2771
2942
|
]
|
|
@@ -2773,52 +2944,52 @@ function La({ mediaProps: o, mediaCallback: a }) {
|
|
|
2773
2944
|
)
|
|
2774
2945
|
}
|
|
2775
2946
|
) }),
|
|
2776
|
-
|
|
2947
|
+
l.id !== 0 && /* @__PURE__ */ n.jsx(Qr, { children: /* @__PURE__ */ n.jsx(
|
|
2777
2948
|
Pt,
|
|
2778
2949
|
{
|
|
2779
2950
|
title: Me("Replace media", "blockbite"),
|
|
2780
|
-
value:
|
|
2781
|
-
onSelect:
|
|
2782
|
-
allowedTypes:
|
|
2783
|
-
render: ({ open:
|
|
2951
|
+
value: l.id,
|
|
2952
|
+
onSelect: h,
|
|
2953
|
+
allowedTypes: u,
|
|
2954
|
+
render: ({ open: v }) => /* @__PURE__ */ n.jsx(ye, { onClick: v, children: Me("Replace media", "blockbite") })
|
|
2784
2955
|
}
|
|
2785
2956
|
) }),
|
|
2786
|
-
|
|
2957
|
+
l.id !== 0 && /* @__PURE__ */ n.jsx(Qr, { children: /* @__PURE__ */ n.jsx(ye, { onClick: () => d(), isDestructive: !0, children: Me("Remove media", "blockbite") }) })
|
|
2787
2958
|
] });
|
|
2788
2959
|
}
|
|
2789
2960
|
const ia = ({
|
|
2790
2961
|
children: o,
|
|
2791
2962
|
className: a,
|
|
2792
|
-
position:
|
|
2793
|
-
visible:
|
|
2794
|
-
onClick:
|
|
2795
|
-
onVisibleChange:
|
|
2963
|
+
position: u,
|
|
2964
|
+
visible: l,
|
|
2965
|
+
onClick: f,
|
|
2966
|
+
onVisibleChange: d
|
|
2796
2967
|
}) => {
|
|
2797
|
-
const [
|
|
2968
|
+
const [h, v] = F(!!l);
|
|
2798
2969
|
K(() => {
|
|
2799
|
-
|
|
2800
|
-
}, [
|
|
2970
|
+
l !== void 0 && v(l);
|
|
2971
|
+
}, [l]);
|
|
2801
2972
|
const g = () => {
|
|
2802
|
-
const p = !
|
|
2803
|
-
|
|
2973
|
+
const p = !h;
|
|
2974
|
+
v(p), d && d(p);
|
|
2804
2975
|
};
|
|
2805
|
-
return /* @__PURE__ */ n.jsx(n.Fragment, { children:
|
|
2976
|
+
return /* @__PURE__ */ n.jsx(n.Fragment, { children: h && /* @__PURE__ */ n.jsx(
|
|
2806
2977
|
Tn,
|
|
2807
2978
|
{
|
|
2808
|
-
position:
|
|
2979
|
+
position: u,
|
|
2809
2980
|
className: "blockbite-ui__popover bb_",
|
|
2810
|
-
onClick:
|
|
2981
|
+
onClick: f,
|
|
2811
2982
|
onFocusOutside: () => {
|
|
2812
|
-
|
|
2983
|
+
v(!1), d && d(!1);
|
|
2813
2984
|
},
|
|
2814
2985
|
children: /* @__PURE__ */ n.jsx("div", { className: a, children: /* @__PURE__ */ n.jsxs("div", { className: "relative h-full w-full p-4", children: [
|
|
2815
2986
|
/* @__PURE__ */ n.jsx(
|
|
2816
|
-
|
|
2987
|
+
ye,
|
|
2817
2988
|
{
|
|
2818
2989
|
onClick: g,
|
|
2819
2990
|
size: "small",
|
|
2820
2991
|
className: "close-button absolute right-0 top-0",
|
|
2821
|
-
children: /* @__PURE__ */ n.jsx(
|
|
2992
|
+
children: /* @__PURE__ */ n.jsx(yn, {})
|
|
2822
2993
|
}
|
|
2823
2994
|
),
|
|
2824
2995
|
o
|
|
@@ -2828,143 +2999,99 @@ const ia = ({
|
|
|
2828
2999
|
}, la = ({
|
|
2829
3000
|
defaultValue: o,
|
|
2830
3001
|
label: a,
|
|
2831
|
-
min:
|
|
2832
|
-
max:
|
|
2833
|
-
withInputField:
|
|
2834
|
-
onValueChange:
|
|
2835
|
-
gridMode:
|
|
2836
|
-
showTooltip:
|
|
3002
|
+
min: u = 0,
|
|
3003
|
+
max: l = 2e3,
|
|
3004
|
+
withInputField: f = !1,
|
|
3005
|
+
onValueChange: d,
|
|
3006
|
+
gridMode: h = !1,
|
|
3007
|
+
showTooltip: v = !1,
|
|
2837
3008
|
...g
|
|
2838
3009
|
}) => {
|
|
2839
|
-
const [p] = F(0), [
|
|
3010
|
+
const [p] = F(0), [j, _] = F(0);
|
|
2840
3011
|
K(() => {
|
|
2841
|
-
_(Math.round(parseInt(o) / (
|
|
3012
|
+
_(Math.round(parseInt(o) / (h ? 16 : 1)));
|
|
2842
3013
|
}, [o]);
|
|
2843
|
-
function
|
|
2844
|
-
const
|
|
2845
|
-
|
|
3014
|
+
function O(T) {
|
|
3015
|
+
const S = T * (h ? 16 : 1);
|
|
3016
|
+
d(S.toString());
|
|
2846
3017
|
}
|
|
2847
|
-
return /* @__PURE__ */ n.jsxs(
|
|
3018
|
+
return /* @__PURE__ */ n.jsxs(te, { className: "flex min-w-[240px] flex-col", children: [
|
|
2848
3019
|
/* @__PURE__ */ n.jsx(
|
|
2849
3020
|
On,
|
|
2850
3021
|
{
|
|
2851
3022
|
label: a,
|
|
2852
|
-
value:
|
|
2853
|
-
min:
|
|
2854
|
-
max:
|
|
2855
|
-
showTooltip:
|
|
2856
|
-
withInputField:
|
|
3023
|
+
value: j,
|
|
3024
|
+
min: u,
|
|
3025
|
+
max: l,
|
|
3026
|
+
showTooltip: v,
|
|
3027
|
+
withInputField: f,
|
|
2857
3028
|
onChange: (T) => {
|
|
2858
|
-
_(T),
|
|
3029
|
+
_(T), O(T);
|
|
2859
3030
|
},
|
|
2860
3031
|
resetFallbackValue: p,
|
|
2861
3032
|
...g
|
|
2862
3033
|
}
|
|
2863
3034
|
),
|
|
2864
3035
|
/* @__PURE__ */ n.jsxs("span", { children: [
|
|
2865
|
-
|
|
3036
|
+
h ? `${j * 16}px` : null,
|
|
2866
3037
|
" "
|
|
2867
3038
|
] })
|
|
2868
3039
|
] });
|
|
2869
|
-
},
|
|
2870
|
-
({
|
|
2871
|
-
onClick: o,
|
|
2872
|
-
onChange: a,
|
|
2873
|
-
className: l,
|
|
2874
|
-
defaultValue: u,
|
|
2875
|
-
children: d,
|
|
2876
|
-
inputClassName: f,
|
|
2877
|
-
readOnly: m,
|
|
2878
|
-
placeholder: h,
|
|
2879
|
-
onBlur: g,
|
|
2880
|
-
type: p = "text",
|
|
2881
|
-
label: C,
|
|
2882
|
-
helper: _ = ""
|
|
2883
|
-
}, L) => {
|
|
2884
|
-
const T = `text-control-${Math.random().toString(36).substring(2, 15)}`;
|
|
2885
|
-
return /* @__PURE__ */ n.jsxs(Q, { className: q("flex items-center p-0", l), children: [
|
|
2886
|
-
C ? /* @__PURE__ */ n.jsx("label", { htmlFor: T, className: "text-primary !m-0 !mb-0 !mr-2", children: C }) : null,
|
|
2887
|
-
/* @__PURE__ */ n.jsx(
|
|
2888
|
-
"input",
|
|
2889
|
-
{
|
|
2890
|
-
id: T,
|
|
2891
|
-
className: q(
|
|
2892
|
-
"border-primary !m-0 !mb-0 h-[32px] !rounded-none border border-opacity-70 focus:outline-none focus:ring-0",
|
|
2893
|
-
f
|
|
2894
|
-
),
|
|
2895
|
-
type: p,
|
|
2896
|
-
value: u,
|
|
2897
|
-
placeholder: h,
|
|
2898
|
-
onFocus: () => o && o(),
|
|
2899
|
-
onBlur: (E) => {
|
|
2900
|
-
o && o(), g && g(E.target.value);
|
|
2901
|
-
},
|
|
2902
|
-
onChange: (E) => a && a(E.target.value),
|
|
2903
|
-
readOnly: m,
|
|
2904
|
-
ref: L
|
|
2905
|
-
}
|
|
2906
|
-
),
|
|
2907
|
-
/* @__PURE__ */ n.jsx("span", { children: d }),
|
|
2908
|
-
_ && /* @__PURE__ */ n.jsx("p", { className: "text-primary !m-0 !mb-0 text-xs", children: _ })
|
|
2909
|
-
] });
|
|
2910
|
-
}
|
|
2911
|
-
);
|
|
2912
|
-
ot.displayName = "TextControl";
|
|
2913
|
-
const Ma = ({
|
|
3040
|
+
}, Wa = ({
|
|
2914
3041
|
defaultUnit: o,
|
|
2915
3042
|
defaultValue: a,
|
|
2916
|
-
onValueChange:
|
|
2917
|
-
onUnitChange:
|
|
2918
|
-
inputClassName:
|
|
3043
|
+
onValueChange: u,
|
|
3044
|
+
onUnitChange: l,
|
|
3045
|
+
inputClassName: f = "w-[75px]"
|
|
2919
3046
|
}) => {
|
|
2920
|
-
const [
|
|
3047
|
+
const [d, h] = F(!1), [v, g] = F([]), [p, j] = F(o), [_, O] = F(""), [T, S] = F(a);
|
|
2921
3048
|
K(() => {
|
|
2922
|
-
o &&
|
|
3049
|
+
o && j(o), O(a.toString());
|
|
2923
3050
|
}, [o, a]), K(() => {
|
|
2924
|
-
!
|
|
2925
|
-
}, [
|
|
2926
|
-
const
|
|
2927
|
-
if (
|
|
2928
|
-
const Y = bb.codex.units.spacing[
|
|
3051
|
+
!d && p === "arbitrary" && S(_);
|
|
3052
|
+
}, [d]);
|
|
3053
|
+
const ae = (A) => {
|
|
3054
|
+
if (A !== "arbitrary" && bb?.codex?.units?.spacing?.[A]) {
|
|
3055
|
+
const Y = bb.codex.units.spacing[A];
|
|
2929
3056
|
g(
|
|
2930
3057
|
Array.isArray(Y) ? Y : Object.keys(Y)
|
|
2931
3058
|
);
|
|
2932
3059
|
} else
|
|
2933
3060
|
g([]);
|
|
2934
|
-
|
|
2935
|
-
},
|
|
3061
|
+
h(!0);
|
|
3062
|
+
}, de = [
|
|
2936
3063
|
{
|
|
2937
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3064
|
+
icon: /* @__PURE__ */ n.jsx(bn, {}),
|
|
2938
3065
|
label: "Tailwind CSS Units",
|
|
2939
3066
|
value: "native"
|
|
2940
3067
|
},
|
|
2941
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
2942
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
2943
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
2944
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
2945
|
-
{ icon: /* @__PURE__ */ n.jsx(
|
|
3068
|
+
{ icon: /* @__PURE__ */ n.jsx(gn, {}), label: "Percentage Units", value: "percent" },
|
|
3069
|
+
{ icon: /* @__PURE__ */ n.jsx(xn, {}), label: "Grid Units", value: "grid" },
|
|
3070
|
+
{ icon: /* @__PURE__ */ n.jsx(_n, {}), label: "Screen Units", value: "screen" },
|
|
3071
|
+
{ icon: /* @__PURE__ */ n.jsx(jn, {}), label: "Pixel Units", value: "arbitrary" },
|
|
3072
|
+
{ icon: /* @__PURE__ */ n.jsx(Cn, {}), label: "Fluid Units", value: "fluid" }
|
|
2946
3073
|
];
|
|
2947
|
-
return /* @__PURE__ */ n.jsx(
|
|
3074
|
+
return /* @__PURE__ */ n.jsx(te, { className: "relative flex flex-col items-baseline", children: /* @__PURE__ */ n.jsxs(
|
|
2948
3075
|
ot,
|
|
2949
3076
|
{
|
|
2950
|
-
inputClassName:
|
|
3077
|
+
inputClassName: f,
|
|
2951
3078
|
defaultValue: (
|
|
2952
3079
|
// Remove the "b_" prefix for grid units
|
|
2953
3080
|
p === "grid" ? _.replace("b_", "") : _
|
|
2954
3081
|
),
|
|
2955
|
-
onClick: () => p !== "arbitrary" &&
|
|
2956
|
-
onChange: (
|
|
2957
|
-
|
|
3082
|
+
onClick: () => p !== "arbitrary" && ae(p),
|
|
3083
|
+
onChange: (A) => {
|
|
3084
|
+
O(A), u(A);
|
|
2958
3085
|
},
|
|
2959
3086
|
readOnly: p !== "arbitrary",
|
|
2960
3087
|
children: [
|
|
2961
3088
|
/* @__PURE__ */ n.jsx(
|
|
2962
3089
|
ia,
|
|
2963
3090
|
{
|
|
2964
|
-
visible:
|
|
3091
|
+
visible: d,
|
|
2965
3092
|
position: "bottom left",
|
|
2966
3093
|
className: "w-[300px] bg-white shadow-sm",
|
|
2967
|
-
onVisibleChange:
|
|
3094
|
+
onVisibleChange: h,
|
|
2968
3095
|
children: p === "arbitrary" ? /* @__PURE__ */ n.jsx(
|
|
2969
3096
|
la,
|
|
2970
3097
|
{
|
|
@@ -2976,25 +3103,25 @@ const Ma = ({
|
|
|
2976
3103
|
showTooltip: !1,
|
|
2977
3104
|
allowReset: !0,
|
|
2978
3105
|
resetFallbackValue: isNaN(T.toString()) ? 0 : Number(T) / 16,
|
|
2979
|
-
onValueChange: (
|
|
2980
|
-
|
|
3106
|
+
onValueChange: (A) => {
|
|
3107
|
+
O(A), u(A);
|
|
2981
3108
|
}
|
|
2982
3109
|
}
|
|
2983
3110
|
) : /* @__PURE__ */ n.jsx(
|
|
2984
3111
|
na,
|
|
2985
3112
|
{
|
|
2986
3113
|
className: "mt-4",
|
|
2987
|
-
options:
|
|
2988
|
-
value:
|
|
2989
|
-
label: p === "grid" ?
|
|
3114
|
+
options: v.map((A) => ({
|
|
3115
|
+
value: A,
|
|
3116
|
+
label: p === "grid" ? A.toString().replace("b_", "") : A,
|
|
2990
3117
|
onClick: () => {
|
|
2991
|
-
|
|
3118
|
+
O(A), u(A);
|
|
2992
3119
|
}
|
|
2993
3120
|
})),
|
|
2994
3121
|
size: "small",
|
|
2995
3122
|
defaultPressed: _?.toString() || "",
|
|
2996
|
-
onPressedChange: (
|
|
2997
|
-
|
|
3123
|
+
onPressedChange: (A) => {
|
|
3124
|
+
O(A), u(A);
|
|
2998
3125
|
}
|
|
2999
3126
|
}
|
|
3000
3127
|
)
|
|
@@ -3005,9 +3132,9 @@ const Ma = ({
|
|
|
3005
3132
|
{
|
|
3006
3133
|
className: "h-[32px]",
|
|
3007
3134
|
defaultValue: p,
|
|
3008
|
-
options:
|
|
3009
|
-
onPressedChange: (
|
|
3010
|
-
|
|
3135
|
+
options: de,
|
|
3136
|
+
onPressedChange: (A) => {
|
|
3137
|
+
A === "reset" ? (O(""), u(""), h(!1)) : (j(A), l(A), ae(A));
|
|
3011
3138
|
}
|
|
3012
3139
|
}
|
|
3013
3140
|
)
|
|
@@ -3019,64 +3146,64 @@ const Ma = ({
|
|
|
3019
3146
|
if (!o)
|
|
3020
3147
|
throw new Error("useModalContext must be used within a ModalProvider");
|
|
3021
3148
|
return o;
|
|
3022
|
-
},
|
|
3149
|
+
}, Ua = ({
|
|
3023
3150
|
children: o,
|
|
3024
3151
|
defaultOpen: a,
|
|
3025
|
-
onOpenChange:
|
|
3026
|
-
title:
|
|
3027
|
-
className:
|
|
3152
|
+
onOpenChange: u,
|
|
3153
|
+
title: l,
|
|
3154
|
+
className: f
|
|
3028
3155
|
}) => {
|
|
3029
|
-
const [
|
|
3156
|
+
const [d, h] = F(!1);
|
|
3030
3157
|
K(() => {
|
|
3031
|
-
|
|
3158
|
+
h(a);
|
|
3032
3159
|
}, [a]);
|
|
3033
|
-
const
|
|
3160
|
+
const v = () => h(!0), g = () => h(!1);
|
|
3034
3161
|
return K(() => {
|
|
3035
|
-
|
|
3036
|
-
}, [
|
|
3037
|
-
|
|
3038
|
-
|
|
3162
|
+
u(d);
|
|
3163
|
+
}, [d, u]), /* @__PURE__ */ n.jsxs(Bt.Provider, { value: { closeModal: g, openModal: v }, children: [
|
|
3164
|
+
Rr.map(o, (p) => kr(p) && p.type === da ? p : null),
|
|
3165
|
+
d && /* @__PURE__ */ n.jsx(
|
|
3039
3166
|
Pn,
|
|
3040
3167
|
{
|
|
3041
|
-
className:
|
|
3168
|
+
className: U("blockbite-ui__modal bb_", f),
|
|
3042
3169
|
onRequestClose: g,
|
|
3043
|
-
title:
|
|
3170
|
+
title: l,
|
|
3044
3171
|
children: /* @__PURE__ */ n.jsxs("div", { className: "relative", children: [
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3172
|
+
Rr.map(o, (p) => kr(p) && p.type === ua ? p : null),
|
|
3173
|
+
Rr.map(o, (p) => kr(p) && p.type === fa ? p : null),
|
|
3174
|
+
Rr.map(o, (p) => kr(p) && p.type === ca ? p : null)
|
|
3048
3175
|
] })
|
|
3049
3176
|
}
|
|
3050
3177
|
)
|
|
3051
3178
|
] });
|
|
3052
|
-
}, ua = ({ children: o, className: a = "", ...
|
|
3179
|
+
}, ua = ({ children: o, className: a = "", ...u }) => /* @__PURE__ */ n.jsx(
|
|
3053
3180
|
"div",
|
|
3054
3181
|
{
|
|
3055
|
-
className:
|
|
3182
|
+
className: U(
|
|
3056
3183
|
"flex flex-col space-y-1.5 text-center sm:text-left",
|
|
3057
3184
|
a
|
|
3058
3185
|
),
|
|
3059
|
-
...
|
|
3186
|
+
...u,
|
|
3060
3187
|
children: o
|
|
3061
3188
|
}
|
|
3062
|
-
), ca = ({ children: o, className: a = "", ...
|
|
3189
|
+
), ca = ({ children: o, className: a = "", ...u }) => /* @__PURE__ */ n.jsx(
|
|
3063
3190
|
"div",
|
|
3064
3191
|
{
|
|
3065
|
-
className:
|
|
3192
|
+
className: U(
|
|
3066
3193
|
"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",
|
|
3067
3194
|
a
|
|
3068
3195
|
),
|
|
3069
|
-
...
|
|
3196
|
+
...u,
|
|
3070
3197
|
children: o
|
|
3071
3198
|
}
|
|
3072
|
-
), fa = ({ children: o, className: a = "", ...
|
|
3199
|
+
), fa = ({ children: o, className: a = "", ...u }) => /* @__PURE__ */ n.jsx(
|
|
3073
3200
|
"div",
|
|
3074
3201
|
{
|
|
3075
|
-
className:
|
|
3076
|
-
...
|
|
3202
|
+
className: U("text-gray-medium px-4 pb-4 text-sm", a),
|
|
3203
|
+
...u,
|
|
3077
3204
|
children: o
|
|
3078
3205
|
}
|
|
3079
|
-
),
|
|
3206
|
+
), Va = ({ children: o }) => {
|
|
3080
3207
|
const { closeModal: a } = Yt();
|
|
3081
3208
|
return /* @__PURE__ */ n.jsx("div", { onClick: a, className: "cursor-pointer", children: o });
|
|
3082
3209
|
}, da = ({ children: o }) => {
|
|
@@ -3084,125 +3211,125 @@ const Ma = ({
|
|
|
3084
3211
|
return /* @__PURE__ */ n.jsx("div", { onClick: a, className: "cursor-pointer", children: o });
|
|
3085
3212
|
};
|
|
3086
3213
|
function pa(o, a) {
|
|
3087
|
-
Array.from(o.styleSheets).forEach((
|
|
3214
|
+
Array.from(o.styleSheets).forEach((u) => {
|
|
3088
3215
|
try {
|
|
3089
|
-
if (
|
|
3090
|
-
const
|
|
3091
|
-
Array.from(
|
|
3092
|
-
|
|
3093
|
-
}), a.head.appendChild(
|
|
3094
|
-
} else if (
|
|
3095
|
-
const
|
|
3096
|
-
|
|
3097
|
-
}
|
|
3098
|
-
} catch (
|
|
3099
|
-
if (
|
|
3100
|
-
const
|
|
3101
|
-
|
|
3216
|
+
if (u.cssRules) {
|
|
3217
|
+
const l = a.createElement("style");
|
|
3218
|
+
Array.from(u.cssRules).forEach((f) => {
|
|
3219
|
+
l.appendChild(a.createTextNode(f.cssText));
|
|
3220
|
+
}), a.head.appendChild(l);
|
|
3221
|
+
} else if (u.href) {
|
|
3222
|
+
const l = a.createElement("link");
|
|
3223
|
+
l.rel = "stylesheet", l.href = u.href, a.head.appendChild(l);
|
|
3224
|
+
}
|
|
3225
|
+
} catch (l) {
|
|
3226
|
+
if (u.href) {
|
|
3227
|
+
const f = a.createElement("link");
|
|
3228
|
+
f.rel = "stylesheet", f.href = u.href, a.head.appendChild(f);
|
|
3102
3229
|
} else
|
|
3103
|
-
console.warn("Error copying styles:",
|
|
3230
|
+
console.warn("Error copying styles:", l);
|
|
3104
3231
|
}
|
|
3105
3232
|
});
|
|
3106
3233
|
}
|
|
3107
|
-
const
|
|
3234
|
+
const Ba = ({
|
|
3108
3235
|
windowInstance: o,
|
|
3109
3236
|
onClose: a,
|
|
3110
|
-
children:
|
|
3237
|
+
children: u
|
|
3111
3238
|
}) => {
|
|
3112
|
-
const
|
|
3239
|
+
const l = Bn(() => document.createElement("div"), []);
|
|
3113
3240
|
return K(() => {
|
|
3114
|
-
const
|
|
3115
|
-
|
|
3116
|
-
const
|
|
3241
|
+
const f = o;
|
|
3242
|
+
f.document.body.innerHTML = "", f.document.body.appendChild(l), f.document.body.classList.add("bb_"), pa(document, f.document), f.document.title = document.title || "Blockbite Editor";
|
|
3243
|
+
const d = () => {
|
|
3117
3244
|
setTimeout(a, 100);
|
|
3118
3245
|
};
|
|
3119
|
-
return
|
|
3120
|
-
|
|
3246
|
+
return f.addEventListener("beforeunload", d), () => {
|
|
3247
|
+
f.removeEventListener("beforeunload", d);
|
|
3121
3248
|
};
|
|
3122
|
-
}, [o]), Ut(
|
|
3123
|
-
},
|
|
3249
|
+
}, [o]), Ut(u, l);
|
|
3250
|
+
}, Ya = ({
|
|
3124
3251
|
children: o,
|
|
3125
3252
|
status: a = "success",
|
|
3126
|
-
className:
|
|
3253
|
+
className: u
|
|
3127
3254
|
}) => {
|
|
3128
|
-
const [
|
|
3129
|
-
return /* @__PURE__ */ n.jsx(
|
|
3255
|
+
const [l, f] = F(!0);
|
|
3256
|
+
return /* @__PURE__ */ n.jsx(te, { onClick: () => f(!1), children: l && /* @__PURE__ */ n.jsx(
|
|
3130
3257
|
Nn,
|
|
3131
3258
|
{
|
|
3132
3259
|
status: a,
|
|
3133
|
-
className:
|
|
3134
|
-
onRemove: () =>
|
|
3260
|
+
className: U(u),
|
|
3261
|
+
onRemove: () => f(!1),
|
|
3135
3262
|
children: o
|
|
3136
3263
|
}
|
|
3137
3264
|
) });
|
|
3138
|
-
},
|
|
3265
|
+
}, za = ({
|
|
3139
3266
|
label: o,
|
|
3140
3267
|
value: a,
|
|
3141
|
-
onChange:
|
|
3142
|
-
...
|
|
3268
|
+
onChange: u,
|
|
3269
|
+
...l
|
|
3143
3270
|
}) => {
|
|
3144
|
-
const [
|
|
3271
|
+
const [f, d] = F(!1);
|
|
3145
3272
|
return /* @__PURE__ */ n.jsx(
|
|
3146
3273
|
An,
|
|
3147
3274
|
{
|
|
3148
3275
|
label: o,
|
|
3149
3276
|
value: a,
|
|
3150
|
-
type:
|
|
3277
|
+
type: f ? "text" : "password",
|
|
3151
3278
|
suffix: /* @__PURE__ */ n.jsx(In, { variant: "control", children: /* @__PURE__ */ n.jsx(
|
|
3152
|
-
|
|
3279
|
+
ye,
|
|
3153
3280
|
{
|
|
3154
3281
|
icon: /* @__PURE__ */ n.jsx(zn, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx(
|
|
3155
3282
|
qn,
|
|
3156
3283
|
{
|
|
3157
|
-
d:
|
|
3284
|
+
d: f ? "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"
|
|
3158
3285
|
}
|
|
3159
3286
|
) }),
|
|
3160
3287
|
label: "Show password",
|
|
3161
|
-
onClick: () =>
|
|
3288
|
+
onClick: () => d((h) => !h),
|
|
3162
3289
|
size: "small"
|
|
3163
3290
|
}
|
|
3164
3291
|
) }),
|
|
3165
|
-
onChange:
|
|
3166
|
-
...
|
|
3292
|
+
onChange: u,
|
|
3293
|
+
...l
|
|
3167
3294
|
}
|
|
3168
3295
|
);
|
|
3169
|
-
},
|
|
3296
|
+
}, qa = ({
|
|
3170
3297
|
items: o,
|
|
3171
3298
|
activeId: a,
|
|
3172
|
-
onSelect:
|
|
3173
|
-
className:
|
|
3174
|
-
}) => /* @__PURE__ */ n.jsx(
|
|
3299
|
+
onSelect: u,
|
|
3300
|
+
className: l
|
|
3301
|
+
}) => /* @__PURE__ */ n.jsx(te, { important: !0, className: l, children: /* @__PURE__ */ n.jsx("div", { className: "w-[200px] overflow-y-auto border-r border-gray-200 gap-2", children: o.map((f) => /* @__PURE__ */ n.jsxs(
|
|
3175
3302
|
"div",
|
|
3176
3303
|
{
|
|
3177
|
-
onClick: () =>
|
|
3178
|
-
className: `cursor-pointer p-2 border-l-4 flex gap-2 items-center ${a ===
|
|
3304
|
+
onClick: () => u(f.id),
|
|
3305
|
+
className: `cursor-pointer p-2 border-l-4 flex gap-2 items-center ${a === f.id ? "border-blue-500 bg-gray-100" : "border-transparent"}`,
|
|
3179
3306
|
children: [
|
|
3180
|
-
/* @__PURE__ */ n.jsx("span", { className: "rounded bg-slate-300 w-12 h-12 flex items-center justify-center text-2xl font-bold text-white", children:
|
|
3181
|
-
/* @__PURE__ */ n.jsx("p", { className: "text-sm text-center mt-1", children:
|
|
3307
|
+
/* @__PURE__ */ n.jsx("span", { className: "rounded bg-slate-300 w-12 h-12 flex items-center justify-center text-2xl font-bold text-white", children: f.name.charAt(0).toUpperCase() }),
|
|
3308
|
+
/* @__PURE__ */ n.jsx("p", { className: "text-sm text-center mt-1", children: f.name })
|
|
3182
3309
|
]
|
|
3183
3310
|
},
|
|
3184
|
-
|
|
3311
|
+
f.id
|
|
3185
3312
|
)) }) });
|
|
3186
|
-
function
|
|
3187
|
-
const { media: a, mediaClass:
|
|
3188
|
-
if (
|
|
3189
|
-
return /* @__PURE__ */ n.jsx("img", { src:
|
|
3190
|
-
const { thumbnail:
|
|
3313
|
+
function Ga(o) {
|
|
3314
|
+
const { media: a, mediaClass: u } = o, { url: l, alt: f, sizes: d } = a;
|
|
3315
|
+
if (d === void 0)
|
|
3316
|
+
return /* @__PURE__ */ n.jsx("img", { src: l, alt: f, className: `bf_media ${u}` });
|
|
3317
|
+
const { thumbnail: h, medium: v, large: g } = d, p = h || l, j = v || l, _ = g || l;
|
|
3191
3318
|
return /* @__PURE__ */ n.jsxs("picture", { className: "bf_responsive-media", children: [
|
|
3192
3319
|
p ? /* @__PURE__ */ n.jsx(
|
|
3193
3320
|
"source",
|
|
3194
3321
|
{
|
|
3195
3322
|
media: "(max-width: 768px)",
|
|
3196
3323
|
srcSet: p,
|
|
3197
|
-
className: `bf_media ${
|
|
3324
|
+
className: `bf_media ${u}`
|
|
3198
3325
|
}
|
|
3199
3326
|
) : null,
|
|
3200
|
-
|
|
3327
|
+
j ? /* @__PURE__ */ n.jsx(
|
|
3201
3328
|
"source",
|
|
3202
3329
|
{
|
|
3203
3330
|
media: "(min-width: 1024px)",
|
|
3204
|
-
srcSet:
|
|
3205
|
-
className: `bf_media ${
|
|
3331
|
+
srcSet: j,
|
|
3332
|
+
className: `bf_media ${u}`
|
|
3206
3333
|
}
|
|
3207
3334
|
) : null,
|
|
3208
3335
|
_ ? /* @__PURE__ */ n.jsx(
|
|
@@ -3210,246 +3337,136 @@ function qa(o) {
|
|
|
3210
3337
|
{
|
|
3211
3338
|
media: "(min-width: 1536px)",
|
|
3212
3339
|
srcSet: _,
|
|
3213
|
-
className: `bf_media ${
|
|
3340
|
+
className: `bf_media ${u}`
|
|
3214
3341
|
}
|
|
3215
3342
|
) : null,
|
|
3216
|
-
|
|
3343
|
+
j ? /* @__PURE__ */ n.jsx("img", { src: j, alt: f, className: `bf_media ${u}` }) : null
|
|
3217
3344
|
] });
|
|
3218
3345
|
}
|
|
3219
|
-
function
|
|
3220
|
-
const { media: a, mediaClass:
|
|
3346
|
+
function Ka(o) {
|
|
3347
|
+
const { media: a, mediaClass: u } = o, { url: l } = a, f = l;
|
|
3221
3348
|
return /* @__PURE__ */ n.jsx(
|
|
3222
3349
|
"video",
|
|
3223
3350
|
{
|
|
3224
|
-
className: `bf_responsive-media ${
|
|
3351
|
+
className: `bf_responsive-media ${u}`,
|
|
3225
3352
|
preload: "none",
|
|
3226
3353
|
playsInline: !0,
|
|
3227
3354
|
controls: !0,
|
|
3228
3355
|
autoPlay: !0,
|
|
3229
3356
|
muted: !0,
|
|
3230
3357
|
loop: !0,
|
|
3231
|
-
children: /* @__PURE__ */ n.jsx("source", { src:
|
|
3358
|
+
children: /* @__PURE__ */ n.jsx("source", { src: f, type: "video/mp4" })
|
|
3232
3359
|
}
|
|
3233
3360
|
);
|
|
3234
3361
|
}
|
|
3235
3362
|
const Ha = ({
|
|
3236
3363
|
children: o,
|
|
3237
3364
|
className: a = "",
|
|
3238
|
-
height:
|
|
3365
|
+
height: u = "large"
|
|
3239
3366
|
}) => /* @__PURE__ */ n.jsx(
|
|
3240
|
-
|
|
3367
|
+
te,
|
|
3241
3368
|
{
|
|
3242
|
-
className:
|
|
3243
|
-
"h-[400px]":
|
|
3244
|
-
"h-[300px]":
|
|
3245
|
-
"h-[200px]":
|
|
3369
|
+
className: U("scrollbar relative overflow-y-scroll", a, {
|
|
3370
|
+
"h-[400px]": u === "large",
|
|
3371
|
+
"h-[300px]": u === "medium",
|
|
3372
|
+
"h-[200px]": u === "small"
|
|
3246
3373
|
}),
|
|
3247
3374
|
children: o
|
|
3248
3375
|
}
|
|
3249
|
-
),
|
|
3250
|
-
sections: o,
|
|
3251
|
-
setSections: a,
|
|
3252
|
-
activeSection: l,
|
|
3253
|
-
setActiveSection: u,
|
|
3254
|
-
Update: d,
|
|
3255
|
-
newSection: f,
|
|
3256
|
-
setCode: m,
|
|
3257
|
-
addons: h
|
|
3258
|
-
}) => {
|
|
3259
|
-
const [g, p] = F({
|
|
3260
|
-
id: "",
|
|
3261
|
-
name: ""
|
|
3262
|
-
}), C = Tr(null), _ = () => {
|
|
3263
|
-
const E = { ...f() };
|
|
3264
|
-
a([...o, E]);
|
|
3265
|
-
}, L = () => {
|
|
3266
|
-
if (!l || o.length === 0) return;
|
|
3267
|
-
const E = o.filter(
|
|
3268
|
-
(U) => U.id !== l
|
|
3269
|
-
);
|
|
3270
|
-
let ee = null;
|
|
3271
|
-
if (E.length > 0) {
|
|
3272
|
-
const U = o.findIndex((Y) => Y.id === l), N = Math.min(U, E.length - 1);
|
|
3273
|
-
ee = E[N]?.id || E[0]?.id;
|
|
3274
|
-
} else {
|
|
3275
|
-
const U = { ...f() };
|
|
3276
|
-
E.push(U), ee = U.id;
|
|
3277
|
-
}
|
|
3278
|
-
a(E), u(ee), m(E.find((U) => U.id === ee)?.code || "");
|
|
3279
|
-
}, T = (E) => {
|
|
3280
|
-
a(
|
|
3281
|
-
(ee) => ee.map(
|
|
3282
|
-
(U) => U.id === g.id ? { ...U, name: E } : U
|
|
3283
|
-
)
|
|
3284
|
-
), p({
|
|
3285
|
-
id: "",
|
|
3286
|
-
name: ""
|
|
3287
|
-
});
|
|
3288
|
-
};
|
|
3289
|
-
return /* @__PURE__ */ n.jsxs(Q, { important: !0, className: "w-[200px] border-r", children: [
|
|
3290
|
-
/* @__PURE__ */ n.jsxs("ul", { className: "h-[calc(100%-80px)] divide-y overflow-auto", children: [
|
|
3291
|
-
h,
|
|
3292
|
-
/* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("ul", { className: "divide-y border-b", children: o.map((E, ee) => /* @__PURE__ */ n.jsxs(
|
|
3293
|
-
"li",
|
|
3294
|
-
{
|
|
3295
|
-
className: "relative m-0",
|
|
3296
|
-
children: [
|
|
3297
|
-
/* @__PURE__ */ n.jsx(
|
|
3298
|
-
"button",
|
|
3299
|
-
{
|
|
3300
|
-
className: q(
|
|
3301
|
-
"text-gray-medium w-full truncate bg-opacity-50 px-3 py-2 text-left text-sm/6 font-semibold hover:bg-easy hover:text-wordpress",
|
|
3302
|
-
{
|
|
3303
|
-
"bg-easy": E.id === l
|
|
3304
|
-
}
|
|
3305
|
-
),
|
|
3306
|
-
onClick: () => {
|
|
3307
|
-
u(E.id), d(l, E.id);
|
|
3308
|
-
},
|
|
3309
|
-
onDoubleClick: () => {
|
|
3310
|
-
p({
|
|
3311
|
-
id: E.id,
|
|
3312
|
-
name: E.name
|
|
3313
|
-
});
|
|
3314
|
-
},
|
|
3315
|
-
children: E.name
|
|
3316
|
-
}
|
|
3317
|
-
),
|
|
3318
|
-
g.id === E.id && /* @__PURE__ */ n.jsx(
|
|
3319
|
-
ot,
|
|
3320
|
-
{
|
|
3321
|
-
className: "absolute left-0 top-0 h-full w-full",
|
|
3322
|
-
defaultValue: g.name,
|
|
3323
|
-
onChange: (U) => p({
|
|
3324
|
-
...g,
|
|
3325
|
-
name: U
|
|
3326
|
-
}),
|
|
3327
|
-
ref: C,
|
|
3328
|
-
onBlur: (U) => T(U)
|
|
3329
|
-
}
|
|
3330
|
-
)
|
|
3331
|
-
]
|
|
3332
|
-
},
|
|
3333
|
-
`section__${ee}__${E?.id}`
|
|
3334
|
-
)) }) })
|
|
3335
|
-
] }),
|
|
3336
|
-
/* @__PURE__ */ n.jsxs(Q, { className: "flex justify-center gap-2 p-2", children: [
|
|
3337
|
-
/* @__PURE__ */ n.jsx(
|
|
3338
|
-
me,
|
|
3339
|
-
{
|
|
3340
|
-
onClick: _,
|
|
3341
|
-
icon: /* @__PURE__ */ n.jsx(Cn, {}),
|
|
3342
|
-
variant: "tertiary",
|
|
3343
|
-
size: "compact",
|
|
3344
|
-
children: "Add"
|
|
3345
|
-
}
|
|
3346
|
-
),
|
|
3347
|
-
/* @__PURE__ */ n.jsx(
|
|
3348
|
-
me,
|
|
3349
|
-
{
|
|
3350
|
-
onClick: L,
|
|
3351
|
-
icon: /* @__PURE__ */ n.jsx(jn, {}),
|
|
3352
|
-
variant: "tertiary",
|
|
3353
|
-
size: "compact",
|
|
3354
|
-
children: "Remove"
|
|
3355
|
-
}
|
|
3356
|
-
)
|
|
3357
|
-
] })
|
|
3358
|
-
] });
|
|
3359
|
-
}, Ja = ({
|
|
3376
|
+
), Ja = ({
|
|
3360
3377
|
onChange: o,
|
|
3361
3378
|
className: a,
|
|
3362
|
-
defaultValue:
|
|
3363
|
-
options:
|
|
3364
|
-
label:
|
|
3365
|
-
emptyLabel:
|
|
3379
|
+
defaultValue: u,
|
|
3380
|
+
options: l,
|
|
3381
|
+
label: f = "",
|
|
3382
|
+
emptyLabel: d = "No options available"
|
|
3366
3383
|
}) => {
|
|
3367
|
-
const [
|
|
3384
|
+
const [h, v] = F("");
|
|
3368
3385
|
K(() => {
|
|
3369
|
-
|
|
3386
|
+
v(u);
|
|
3370
3387
|
}, []);
|
|
3371
3388
|
const g = (p) => {
|
|
3372
|
-
|
|
3389
|
+
v(p), o && o(p);
|
|
3373
3390
|
};
|
|
3374
3391
|
return /* @__PURE__ */ n.jsxs("div", { className: a, children: [
|
|
3375
|
-
|
|
3376
|
-
|
|
3392
|
+
l && l.length > 0 && /* @__PURE__ */ n.jsx(
|
|
3393
|
+
Dn,
|
|
3377
3394
|
{
|
|
3378
|
-
label:
|
|
3379
|
-
value:
|
|
3395
|
+
label: f || "",
|
|
3396
|
+
value: h || "",
|
|
3380
3397
|
onChange: g,
|
|
3381
|
-
options: [{ value: "", label: "Select an option" }, ...
|
|
3398
|
+
options: [{ value: "", label: "Select an option" }, ...l]
|
|
3382
3399
|
}
|
|
3383
3400
|
),
|
|
3384
|
-
(!
|
|
3401
|
+
(!l || l?.length === 0) && /* @__PURE__ */ n.jsx("p", { className: "mb-2", children: d })
|
|
3385
3402
|
] });
|
|
3386
3403
|
}, { select: va, dispatch: ma } = wp.data, Xa = ({
|
|
3387
3404
|
buttonText: o = "Add block"
|
|
3388
3405
|
}) => {
|
|
3389
3406
|
const a = () => {
|
|
3390
|
-
const
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3407
|
+
const u = va("core/block-editor").getSelectedBlock(), { clientId: l, innerBlocks: f } = u, d = f[f.length - 1], h = Gn(
|
|
3408
|
+
d.name,
|
|
3409
|
+
d.attributes,
|
|
3410
|
+
d.innerBlocks
|
|
3394
3411
|
);
|
|
3395
|
-
ma("core/block-editor").insertBlocks(
|
|
3412
|
+
ma("core/block-editor").insertBlocks(h, 0, l);
|
|
3396
3413
|
};
|
|
3397
|
-
return /* @__PURE__ */ n.jsx(
|
|
3398
|
-
}, Za = ({ children: o, watch: a, className:
|
|
3399
|
-
const [
|
|
3414
|
+
return /* @__PURE__ */ n.jsx(ye, { variant: "primary", onClick: () => a(), children: o });
|
|
3415
|
+
}, Za = ({ children: o, watch: a, className: u }) => {
|
|
3416
|
+
const [l, f] = F(0);
|
|
3400
3417
|
return K(() => {
|
|
3401
3418
|
setTimeout(() => {
|
|
3402
|
-
|
|
3419
|
+
f(1);
|
|
3403
3420
|
}, 250);
|
|
3404
3421
|
}, [a]), /* @__PURE__ */ n.jsx(
|
|
3405
|
-
|
|
3422
|
+
te,
|
|
3406
3423
|
{
|
|
3407
|
-
className:
|
|
3408
|
-
|
|
3424
|
+
className: U(
|
|
3425
|
+
u,
|
|
3409
3426
|
"duration-50 transform transition-all ease-in-out",
|
|
3410
3427
|
{
|
|
3411
|
-
"translate-x-0":
|
|
3412
|
-
"-translate-x-full":
|
|
3428
|
+
"translate-x-0": l === 1,
|
|
3429
|
+
"-translate-x-full": l === 0
|
|
3413
3430
|
}
|
|
3414
3431
|
),
|
|
3415
3432
|
children: o
|
|
3416
3433
|
}
|
|
3417
3434
|
);
|
|
3418
3435
|
}, Qa = ({ className: o, defaultValue: a }) => {
|
|
3419
|
-
const [
|
|
3436
|
+
const [u, l] = F(!1);
|
|
3420
3437
|
return K(() => {
|
|
3421
3438
|
setTimeout(() => {
|
|
3422
|
-
|
|
3423
|
-
}, 500), a &&
|
|
3424
|
-
}, [
|
|
3439
|
+
l(!1);
|
|
3440
|
+
}, 500), a && l(!0);
|
|
3441
|
+
}, [u, a]), u && /* @__PURE__ */ n.jsx($n, { className: U(o) });
|
|
3425
3442
|
}, st = Vt(null), ha = ({
|
|
3426
3443
|
children: o,
|
|
3427
3444
|
defaultValue: a,
|
|
3428
|
-
value:
|
|
3429
|
-
onValueChange:
|
|
3430
|
-
...
|
|
3445
|
+
value: u,
|
|
3446
|
+
onValueChange: l,
|
|
3447
|
+
...f
|
|
3431
3448
|
}) => {
|
|
3432
|
-
const
|
|
3433
|
-
activeTab:
|
|
3449
|
+
const d = u !== void 0, [h, v] = F(a || ""), j = {
|
|
3450
|
+
activeTab: d ? u : h,
|
|
3434
3451
|
setActiveTab: (_) => {
|
|
3435
|
-
|
|
3452
|
+
d || v(_), l && l(_);
|
|
3436
3453
|
}
|
|
3437
3454
|
};
|
|
3438
|
-
return /* @__PURE__ */ n.jsx(st.Provider, { value:
|
|
3455
|
+
return /* @__PURE__ */ n.jsx(st.Provider, { value: j, children: /* @__PURE__ */ n.jsx(te, { important: !0, className: f.className, children: o }) });
|
|
3439
3456
|
}, ya = ({
|
|
3440
3457
|
options: o,
|
|
3441
3458
|
children: a,
|
|
3442
|
-
className:
|
|
3443
|
-
onValueChange:
|
|
3459
|
+
className: u,
|
|
3460
|
+
onValueChange: l
|
|
3444
3461
|
}) => {
|
|
3445
|
-
const
|
|
3462
|
+
const f = nt(st), d = l || f?.setActiveTab;
|
|
3446
3463
|
return /* @__PURE__ */ n.jsx(
|
|
3447
3464
|
Fn,
|
|
3448
3465
|
{
|
|
3449
|
-
className:
|
|
3466
|
+
className: U("tabs-list", u),
|
|
3450
3467
|
tabs: o,
|
|
3451
|
-
onSelect: (
|
|
3452
|
-
|
|
3468
|
+
onSelect: (h) => {
|
|
3469
|
+
d(h);
|
|
3453
3470
|
},
|
|
3454
3471
|
children: () => a
|
|
3455
3472
|
}
|
|
@@ -3457,49 +3474,49 @@ const Ha = ({
|
|
|
3457
3474
|
}, ba = ({
|
|
3458
3475
|
value: o,
|
|
3459
3476
|
children: a,
|
|
3460
|
-
className:
|
|
3461
|
-
}) => nt(st)?.activeTab === o ? /* @__PURE__ */ n.jsx(
|
|
3477
|
+
className: u
|
|
3478
|
+
}) => nt(st)?.activeTab === o ? /* @__PURE__ */ n.jsx(te, { className: u, children: a }) : null, eo = {
|
|
3462
3479
|
Wrapper: ha,
|
|
3463
3480
|
List: ya,
|
|
3464
3481
|
Content: ba
|
|
3465
3482
|
}, ro = ({
|
|
3466
3483
|
children: o,
|
|
3467
3484
|
onClick: a,
|
|
3468
|
-
color:
|
|
3469
|
-
className:
|
|
3470
|
-
}) => /* @__PURE__ */ n.jsx("button", { onClick: a, children: /* @__PURE__ */ n.jsx("div", { color:
|
|
3485
|
+
color: u = "blue",
|
|
3486
|
+
className: l
|
|
3487
|
+
}) => /* @__PURE__ */ n.jsx("button", { onClick: a, children: /* @__PURE__ */ n.jsx("div", { color: u, className: U(l), children: o }) }), to = ({
|
|
3471
3488
|
onChange: o,
|
|
3472
3489
|
defaultValue: a,
|
|
3473
|
-
children:
|
|
3474
|
-
}) => /* @__PURE__ */ n.jsxs(
|
|
3490
|
+
children: u
|
|
3491
|
+
}) => /* @__PURE__ */ n.jsxs(te, { className: "blockbite-ui__text-control-label flex items-center", children: [
|
|
3475
3492
|
/* @__PURE__ */ n.jsxs("span", { className: "outline-b-2 relative block -outline-offset-2 outline-black", children: [
|
|
3476
3493
|
/* @__PURE__ */ n.jsx(rt, { type: "text", value: a, onChange: o }),
|
|
3477
3494
|
/* @__PURE__ */ n.jsx(Mt, { className: "absolute right-1 top-2" })
|
|
3478
3495
|
] }),
|
|
3479
3496
|
" ",
|
|
3480
|
-
|
|
3497
|
+
u
|
|
3481
3498
|
] }), no = tt(
|
|
3482
3499
|
({
|
|
3483
3500
|
className: o,
|
|
3484
3501
|
options: a,
|
|
3485
|
-
defaultPressed:
|
|
3486
|
-
display:
|
|
3487
|
-
label:
|
|
3488
|
-
onPressedChange:
|
|
3502
|
+
defaultPressed: u,
|
|
3503
|
+
display: l = "label",
|
|
3504
|
+
label: f = !1,
|
|
3505
|
+
onPressedChange: d
|
|
3489
3506
|
}) => {
|
|
3490
|
-
const [
|
|
3491
|
-
|
|
3507
|
+
const [h, v] = F(""), g = (p) => {
|
|
3508
|
+
d(p);
|
|
3492
3509
|
};
|
|
3493
3510
|
return K(() => {
|
|
3494
|
-
|
|
3495
|
-
}, [
|
|
3511
|
+
v(u);
|
|
3512
|
+
}, [u]), /* @__PURE__ */ n.jsx(te, { className: U(o), children: /* @__PURE__ */ n.jsx(
|
|
3496
3513
|
Ln,
|
|
3497
3514
|
{
|
|
3498
3515
|
isBlock: !0,
|
|
3499
|
-
value:
|
|
3500
|
-
label: typeof
|
|
3516
|
+
value: h,
|
|
3517
|
+
label: typeof f == "string" ? f : "",
|
|
3501
3518
|
children: a.map(
|
|
3502
|
-
(p) =>
|
|
3519
|
+
(p) => l === "icon" ? /* @__PURE__ */ n.jsx(
|
|
3503
3520
|
Mn,
|
|
3504
3521
|
{
|
|
3505
3522
|
icon: p.icon,
|
|
@@ -3524,20 +3541,20 @@ const Ha = ({
|
|
|
3524
3541
|
), ao = ({
|
|
3525
3542
|
label: o,
|
|
3526
3543
|
className: a,
|
|
3527
|
-
onChange:
|
|
3528
|
-
checked:
|
|
3544
|
+
onChange: u,
|
|
3545
|
+
checked: l = !1
|
|
3529
3546
|
// Default to false if undefined, so it's always controlled
|
|
3530
3547
|
}) => {
|
|
3531
|
-
const [
|
|
3548
|
+
const [f, d] = F(l);
|
|
3532
3549
|
return K(() => {
|
|
3533
|
-
|
|
3534
|
-
}, [
|
|
3550
|
+
d(l);
|
|
3551
|
+
}, [l]), /* @__PURE__ */ n.jsx(te, { className: U(a, "flex items-center gap-2"), children: /* @__PURE__ */ n.jsx(
|
|
3535
3552
|
Un,
|
|
3536
3553
|
{
|
|
3537
|
-
checked:
|
|
3554
|
+
checked: f,
|
|
3538
3555
|
label: o,
|
|
3539
|
-
onChange: (
|
|
3540
|
-
|
|
3556
|
+
onChange: (h) => {
|
|
3557
|
+
d(h), u && u(h);
|
|
3541
3558
|
}
|
|
3542
3559
|
}
|
|
3543
3560
|
) });
|
|
@@ -3552,31 +3569,31 @@ export {
|
|
|
3552
3569
|
Oa as Chapter,
|
|
3553
3570
|
Pa as ChapterDivider,
|
|
3554
3571
|
Na as Checkbox,
|
|
3555
|
-
Aa as
|
|
3572
|
+
Aa as DataItemList,
|
|
3573
|
+
Ia as DisappearingMessage,
|
|
3556
3574
|
oa as DropdownPicker,
|
|
3557
|
-
|
|
3575
|
+
Da as EmptyState,
|
|
3558
3576
|
$a as FloatingPanel,
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3577
|
+
Fa as FocalPointControl,
|
|
3578
|
+
He as Icon,
|
|
3579
|
+
La as LinkPicker,
|
|
3580
|
+
Ma as MediaPicker,
|
|
3581
|
+
Wa as MetricsControl,
|
|
3582
|
+
Ua as Modal,
|
|
3583
|
+
Va as ModalClose,
|
|
3566
3584
|
fa as ModalContent,
|
|
3567
3585
|
ca as ModalFooter,
|
|
3568
3586
|
ua as ModalHeader,
|
|
3569
3587
|
da as ModalTrigger,
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3588
|
+
Ba as NewWindowPortal,
|
|
3589
|
+
Ya as Notice,
|
|
3590
|
+
za as PasswordInput,
|
|
3573
3591
|
ia as Popover,
|
|
3574
|
-
|
|
3592
|
+
qa as ProjectsNavigation,
|
|
3575
3593
|
la as RangeSlider,
|
|
3576
|
-
|
|
3577
|
-
|
|
3594
|
+
Ga as ResponsiveImage,
|
|
3595
|
+
Ka as ResponsiveVideo,
|
|
3578
3596
|
Ha as ScrollList,
|
|
3579
|
-
Ka as SectionList,
|
|
3580
3597
|
Ja as SelectControlWrapper,
|
|
3581
3598
|
Xa as SingleBlockTypeAppender,
|
|
3582
3599
|
Za as SlideIn,
|
|
@@ -3590,7 +3607,7 @@ export {
|
|
|
3590
3607
|
to as TextControlLabel,
|
|
3591
3608
|
no as ToggleGroup,
|
|
3592
3609
|
ao as ToggleSwitch,
|
|
3593
|
-
|
|
3610
|
+
te as Wrap,
|
|
3594
3611
|
Yt as useModalContext
|
|
3595
3612
|
};
|
|
3596
3613
|
//# sourceMappingURL=index.js.map
|