font-controls 1.0.0 → 1.1.0

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.
@@ -1,634 +1,283 @@
1
- import Ie, { useState as Ae, useEffect as wt } from "react";
2
- import Xt from "react-dom";
3
- function Cr(e) {
1
+ import Ie, { useState as me, useEffect as Xe } from "react";
2
+ import st from "react-dom";
3
+ function St(e) {
4
4
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
5
  }
6
- var at = { exports: {} }, De = {};
6
+ var Me = { exports: {} }, de = {};
7
7
  /**
8
8
  * @license React
9
- * react-jsx-runtime.production.min.js
9
+ * react-jsx-runtime.production.js
10
10
  *
11
- * Copyright (c) Facebook, Inc. and its affiliates.
11
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
12
12
  *
13
13
  * This source code is licensed under the MIT license found in the
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
- var Pt;
17
- function wr() {
18
- if (Pt) return De;
19
- Pt = 1;
20
- var e = Ie, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function p(c, d, m) {
22
- var g, T = {}, A = null, Y = null;
23
- m !== void 0 && (A = "" + m), d.key !== void 0 && (A = "" + d.key), d.ref !== void 0 && (Y = d.ref);
24
- for (g in d) o.call(d, g) && !u.hasOwnProperty(g) && (T[g] = d[g]);
25
- if (c && c.defaultProps) for (g in d = c.defaultProps, d) T[g] === void 0 && (T[g] = d[g]);
26
- return { $$typeof: t, type: c, key: A, ref: Y, props: T, _owner: a.current };
16
+ var qe;
17
+ function xt() {
18
+ if (qe) return de;
19
+ qe = 1;
20
+ var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
21
+ function r(o, a, i) {
22
+ var d = null;
23
+ if (i !== void 0 && (d = "" + i), a.key !== void 0 && (d = "" + a.key), "key" in a) {
24
+ i = {};
25
+ for (var u in a)
26
+ u !== "key" && (i[u] = a[u]);
27
+ } else i = a;
28
+ return a = i.ref, {
29
+ $$typeof: e,
30
+ type: o,
31
+ key: d,
32
+ ref: a !== void 0 ? a : null,
33
+ props: i
34
+ };
27
35
  }
28
- return De.Fragment = r, De.jsx = p, De.jsxs = p, De;
36
+ return de.Fragment = t, de.jsx = r, de.jsxs = r, de;
29
37
  }
30
- var Ne = {};
38
+ var pe = {};
31
39
  /**
32
40
  * @license React
33
41
  * react-jsx-runtime.development.js
34
42
  *
35
- * Copyright (c) Facebook, Inc. and its affiliates.
43
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
36
44
  *
37
45
  * This source code is licensed under the MIT license found in the
38
46
  * LICENSE file in the root directory of this source tree.
39
47
  */
40
- var Rt;
41
- function Pr() {
42
- return Rt || (Rt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var e = Ie, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), c = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), q = Symbol.iterator, X = "@@iterator";
44
- function _(n) {
45
- if (n === null || typeof n != "object")
46
- return null;
47
- var s = q && n[q] || n[X];
48
- return typeof s == "function" ? s : null;
49
- }
50
- var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function b(n) {
52
- {
53
- for (var s = arguments.length, v = new Array(s > 1 ? s - 1 : 0), E = 1; E < s; E++)
54
- v[E - 1] = arguments[E];
55
- C("error", n, v);
56
- }
57
- }
58
- function C(n, s, v) {
59
- {
60
- var E = x.ReactDebugCurrentFrame, W = E.getStackAddendum();
61
- W !== "" && (s += "%s", v = v.concat([W]));
62
- var B = v.map(function(F) {
63
- return String(F);
64
- });
65
- B.unshift("Warning: " + s), Function.prototype.apply.call(console[n], console, B);
66
- }
67
- }
68
- var S = !1, i = !1, k = !1, Z = !1, Q = !1, G;
69
- G = Symbol.for("react.module.reference");
70
- function J(n) {
71
- return !!(typeof n == "string" || typeof n == "function" || n === o || n === u || Q || n === a || n === m || n === g || Z || n === Y || S || i || k || typeof n == "object" && n !== null && (n.$$typeof === A || n.$$typeof === T || n.$$typeof === p || n.$$typeof === c || n.$$typeof === d || // This needs to include all possible module reference object
72
- // types supported by any Flight configuration anywhere since
73
- // we don't know which Flight build this will end up being used
74
- // with.
75
- n.$$typeof === G || n.getModuleId !== void 0));
76
- }
77
- function me(n, s, v) {
78
- var E = n.displayName;
79
- if (E)
80
- return E;
81
- var W = s.displayName || s.name || "";
82
- return W !== "" ? v + "(" + W + ")" : v;
83
- }
84
- function be(n) {
85
- return n.displayName || "Context";
86
- }
87
- function ne(n) {
88
- if (n == null)
89
- return null;
90
- if (typeof n.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
91
- return n.displayName || n.name || null;
92
- if (typeof n == "string")
93
- return n;
48
+ var Be;
49
+ function Tt() {
50
+ return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
51
+ function e(n) {
52
+ if (n == null) return null;
53
+ if (typeof n == "function")
54
+ return n.$$typeof === ne ? null : n.displayName || n.name || null;
55
+ if (typeof n == "string") return n;
94
56
  switch (n) {
95
- case o:
57
+ case T:
96
58
  return "Fragment";
97
- case r:
98
- return "Portal";
99
- case u:
59
+ case x:
100
60
  return "Profiler";
101
- case a:
61
+ case _:
102
62
  return "StrictMode";
103
- case m:
63
+ case R:
104
64
  return "Suspense";
105
- case g:
65
+ case L:
106
66
  return "SuspenseList";
67
+ case W:
68
+ return "Activity";
107
69
  }
108
70
  if (typeof n == "object")
109
- switch (n.$$typeof) {
110
- case c:
111
- var s = n;
112
- return be(s) + ".Consumer";
113
- case p:
114
- var v = n;
115
- return be(v._context) + ".Provider";
116
- case d:
117
- return me(n, n.render, "ForwardRef");
118
- case T:
119
- var E = n.displayName || null;
120
- return E !== null ? E : ne(n.type) || "Memo";
121
- case A: {
122
- var W = n, B = W._payload, F = W._init;
71
+ switch (typeof n.tag == "number" && console.error(
72
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
73
+ ), n.$$typeof) {
74
+ case $:
75
+ return "Portal";
76
+ case S:
77
+ return n.displayName || "Context";
78
+ case E:
79
+ return (n._context.displayName || "Context") + ".Consumer";
80
+ case s:
81
+ var f = n.render;
82
+ return n = n.displayName, n || (n = f.displayName || f.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
83
+ case U:
84
+ return f = n.displayName || null, f !== null ? f : e(n.type) || "Memo";
85
+ case Y:
86
+ f = n._payload, n = n._init;
123
87
  try {
124
- return ne(F(B));
88
+ return e(n(f));
125
89
  } catch {
126
- return null;
127
90
  }
128
- }
129
91
  }
130
92
  return null;
131
93
  }
132
- var K = Object.assign, he = 0, ee, le, ve, Se, l, y, O;
133
- function j() {
134
- }
135
- j.__reactDisabledLog = !0;
136
- function w() {
137
- {
138
- if (he === 0) {
139
- ee = console.log, le = console.info, ve = console.warn, Se = console.error, l = console.group, y = console.groupCollapsed, O = console.groupEnd;
140
- var n = {
141
- configurable: !0,
142
- enumerable: !0,
143
- value: j,
144
- writable: !0
145
- };
146
- Object.defineProperties(console, {
147
- info: n,
148
- log: n,
149
- warn: n,
150
- error: n,
151
- group: n,
152
- groupCollapsed: n,
153
- groupEnd: n
154
- });
155
- }
156
- he++;
157
- }
158
- }
159
- function $() {
160
- {
161
- if (he--, he === 0) {
162
- var n = {
163
- configurable: !0,
164
- enumerable: !0,
165
- writable: !0
166
- };
167
- Object.defineProperties(console, {
168
- log: K({}, n, {
169
- value: ee
170
- }),
171
- info: K({}, n, {
172
- value: le
173
- }),
174
- warn: K({}, n, {
175
- value: ve
176
- }),
177
- error: K({}, n, {
178
- value: Se
179
- }),
180
- group: K({}, n, {
181
- value: l
182
- }),
183
- groupCollapsed: K({}, n, {
184
- value: y
185
- }),
186
- groupEnd: K({}, n, {
187
- value: O
188
- })
189
- });
190
- }
191
- he < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
- }
193
- }
194
- var P = x.ReactCurrentDispatcher, R;
195
- function D(n, s, v) {
196
- {
197
- if (R === void 0)
198
- try {
199
- throw Error();
200
- } catch (W) {
201
- var E = W.stack.trim().match(/\n( *(at )?)/);
202
- R = E && E[1] || "";
203
- }
204
- return `
205
- ` + R + n;
206
- }
207
- }
208
- var I = !1, N;
209
- {
210
- var te = typeof WeakMap == "function" ? WeakMap : Map;
211
- N = new te();
94
+ function t(n) {
95
+ return "" + n;
212
96
  }
213
- function h(n, s) {
214
- if (!n || I)
215
- return "";
216
- {
217
- var v = N.get(n);
218
- if (v !== void 0)
219
- return v;
220
- }
221
- var E;
222
- I = !0;
223
- var W = Error.prepareStackTrace;
224
- Error.prepareStackTrace = void 0;
225
- var B;
226
- B = P.current, P.current = null, w();
97
+ function r(n) {
227
98
  try {
228
- if (s) {
229
- var F = function() {
230
- throw Error();
231
- };
232
- if (Object.defineProperty(F.prototype, "props", {
233
- set: function() {
234
- throw Error();
235
- }
236
- }), typeof Reflect == "object" && Reflect.construct) {
237
- try {
238
- Reflect.construct(F, []);
239
- } catch (se) {
240
- E = se;
241
- }
242
- Reflect.construct(n, [], F);
243
- } else {
244
- try {
245
- F.call();
246
- } catch (se) {
247
- E = se;
248
- }
249
- n.call(F.prototype);
250
- }
251
- } else {
252
- try {
253
- throw Error();
254
- } catch (se) {
255
- E = se;
256
- }
257
- n();
258
- }
259
- } catch (se) {
260
- if (se && E && typeof se.stack == "string") {
261
- for (var M = se.stack.split(`
262
- `), oe = E.stack.split(`
263
- `), H = M.length - 1, z = oe.length - 1; H >= 1 && z >= 0 && M[H] !== oe[z]; )
264
- z--;
265
- for (; H >= 1 && z >= 0; H--, z--)
266
- if (M[H] !== oe[z]) {
267
- if (H !== 1 || z !== 1)
268
- do
269
- if (H--, z--, z < 0 || M[H] !== oe[z]) {
270
- var de = `
271
- ` + M[H].replace(" at new ", " at ");
272
- return n.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", n.displayName)), typeof n == "function" && N.set(n, de), de;
273
- }
274
- while (H >= 1 && z >= 0);
275
- break;
276
- }
277
- }
278
- } finally {
279
- I = !1, P.current = B, $(), Error.prepareStackTrace = W;
280
- }
281
- var Re = n ? n.displayName || n.name : "", _e = Re ? D(Re) : "";
282
- return typeof n == "function" && N.set(n, _e), _e;
283
- }
284
- function fe(n, s, v) {
285
- return h(n, !1);
286
- }
287
- function we(n) {
288
- var s = n.prototype;
289
- return !!(s && s.isReactComponent);
290
- }
291
- function Te(n, s, v) {
292
- if (n == null)
293
- return "";
294
- if (typeof n == "function")
295
- return h(n, we(n));
296
- if (typeof n == "string")
297
- return D(n);
298
- switch (n) {
299
- case m:
300
- return D("Suspense");
301
- case g:
302
- return D("SuspenseList");
303
- }
304
- if (typeof n == "object")
305
- switch (n.$$typeof) {
306
- case d:
307
- return fe(n.render);
308
- case T:
309
- return Te(n.type, s, v);
310
- case A: {
311
- var E = n, W = E._payload, B = E._init;
312
- try {
313
- return Te(B(W), s, v);
314
- } catch {
315
- }
316
- }
317
- }
318
- return "";
319
- }
320
- var Oe = Object.prototype.hasOwnProperty, dt = {}, pt = x.ReactDebugCurrentFrame;
321
- function ke(n) {
322
- if (n) {
323
- var s = n._owner, v = Te(n.type, n._source, s ? s.type : null);
324
- pt.setExtraStackFrame(v);
325
- } else
326
- pt.setExtraStackFrame(null);
327
- }
328
- function nr(n, s, v, E, W) {
329
- {
330
- var B = Function.call.bind(Oe);
331
- for (var F in n)
332
- if (B(n, F)) {
333
- var M = void 0;
334
- try {
335
- if (typeof n[F] != "function") {
336
- var oe = Error((E || "React class") + ": " + v + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw oe.name = "Invariant Violation", oe;
338
- }
339
- M = n[F](s, F, E, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (H) {
341
- M = H;
342
- }
343
- M && !(M instanceof Error) && (ke(W), b("%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).", E || "React class", v, F, typeof M), ke(null)), M instanceof Error && !(M.message in dt) && (dt[M.message] = !0, ke(W), b("Failed %s type: %s", v, M.message), ke(null));
344
- }
99
+ t(n);
100
+ var f = !1;
101
+ } catch {
102
+ f = !0;
345
103
  }
346
- }
347
- var or = Array.isArray;
348
- function Xe(n) {
349
- return or(n);
350
- }
351
- function ar(n) {
352
- {
353
- var s = typeof Symbol == "function" && Symbol.toStringTag, v = s && n[Symbol.toStringTag] || n.constructor.name || "Object";
354
- return v;
104
+ if (f) {
105
+ f = console;
106
+ var y = f.error, m = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
107
+ return y.call(
108
+ f,
109
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
110
+ m
111
+ ), t(n);
355
112
  }
356
113
  }
357
- function ir(n) {
114
+ function o(n) {
115
+ if (n === T) return "<>";
116
+ if (typeof n == "object" && n !== null && n.$$typeof === Y)
117
+ return "<...>";
358
118
  try {
359
- return ht(n), !1;
119
+ var f = e(n);
120
+ return f ? "<" + f + ">" : "<...>";
360
121
  } catch {
361
- return !0;
122
+ return "<...>";
362
123
  }
363
124
  }
364
- function ht(n) {
365
- return "" + n;
125
+ function a() {
126
+ var n = oe.A;
127
+ return n === null ? null : n.getOwner();
366
128
  }
367
- function vt(n) {
368
- if (ir(n))
369
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ar(n)), ht(n);
370
- }
371
- var gt = x.ReactCurrentOwner, sr = {
372
- key: !0,
373
- ref: !0,
374
- __self: !0,
375
- __source: !0
376
- }, yt, mt;
377
- function lr(n) {
378
- if (Oe.call(n, "ref")) {
379
- var s = Object.getOwnPropertyDescriptor(n, "ref").get;
380
- if (s && s.isReactWarning)
381
- return !1;
382
- }
383
- return n.ref !== void 0;
129
+ function i() {
130
+ return Error("react-stack-top-frame");
384
131
  }
385
- function ur(n) {
386
- if (Oe.call(n, "key")) {
387
- var s = Object.getOwnPropertyDescriptor(n, "key").get;
388
- if (s && s.isReactWarning)
389
- return !1;
132
+ function d(n) {
133
+ if (ae.call(n, "key")) {
134
+ var f = Object.getOwnPropertyDescriptor(n, "key").get;
135
+ if (f && f.isReactWarning) return !1;
390
136
  }
391
137
  return n.key !== void 0;
392
138
  }
393
- function cr(n, s) {
394
- typeof n.ref == "string" && gt.current;
395
- }
396
- function fr(n, s) {
397
- {
398
- var v = function() {
399
- yt || (yt = !0, b("%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)", s));
400
- };
401
- v.isReactWarning = !0, Object.defineProperty(n, "key", {
402
- get: v,
403
- configurable: !0
404
- });
139
+ function u(n, f) {
140
+ function y() {
141
+ X || (X = !0, console.error(
142
+ "%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://react.dev/link/special-props)",
143
+ f
144
+ ));
405
145
  }
146
+ y.isReactWarning = !0, Object.defineProperty(n, "key", {
147
+ get: y,
148
+ configurable: !0
149
+ });
406
150
  }
407
- function dr(n, s) {
408
- {
409
- var v = function() {
410
- mt || (mt = !0, b("%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)", s));
411
- };
412
- v.isReactWarning = !0, Object.defineProperty(n, "ref", {
413
- get: v,
414
- configurable: !0
415
- });
416
- }
151
+ function h() {
152
+ var n = e(this.type);
153
+ return V[n] || (V[n] = !0, console.error(
154
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
155
+ )), n = this.props.ref, n !== void 0 ? n : null;
417
156
  }
418
- var pr = function(n, s, v, E, W, B, F) {
419
- var M = {
420
- // This tag allows us to uniquely identify this as a React Element
421
- $$typeof: t,
422
- // Built-in properties that belong on the element
157
+ function g(n, f, y, m, j, w) {
158
+ var b = y.ref;
159
+ return n = {
160
+ $$typeof: I,
423
161
  type: n,
424
- key: s,
425
- ref: v,
426
- props: F,
427
- // Record the component responsible for creating this element.
428
- _owner: B
429
- };
430
- return M._store = {}, Object.defineProperty(M._store, "validated", {
162
+ key: f,
163
+ props: y,
164
+ _owner: m
165
+ }, (b !== void 0 ? b : null) !== null ? Object.defineProperty(n, "ref", {
166
+ enumerable: !1,
167
+ get: h
168
+ }) : Object.defineProperty(n, "ref", { enumerable: !1, value: null }), n._store = {}, Object.defineProperty(n._store, "validated", {
431
169
  configurable: !1,
432
170
  enumerable: !1,
433
171
  writable: !0,
434
- value: !1
435
- }), Object.defineProperty(M, "_self", {
172
+ value: 0
173
+ }), Object.defineProperty(n, "_debugInfo", {
436
174
  configurable: !1,
437
175
  enumerable: !1,
438
- writable: !1,
439
- value: E
440
- }), Object.defineProperty(M, "_source", {
176
+ writable: !0,
177
+ value: null
178
+ }), Object.defineProperty(n, "_debugStack", {
441
179
  configurable: !1,
442
180
  enumerable: !1,
443
- writable: !1,
444
- value: W
445
- }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
446
- };
447
- function hr(n, s, v, E, W) {
448
- {
449
- var B, F = {}, M = null, oe = null;
450
- v !== void 0 && (vt(v), M = "" + v), ur(s) && (vt(s.key), M = "" + s.key), lr(s) && (oe = s.ref, cr(s, W));
451
- for (B in s)
452
- Oe.call(s, B) && !sr.hasOwnProperty(B) && (F[B] = s[B]);
453
- if (n && n.defaultProps) {
454
- var H = n.defaultProps;
455
- for (B in H)
456
- F[B] === void 0 && (F[B] = H[B]);
457
- }
458
- if (M || oe) {
459
- var z = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
460
- M && fr(F, z), oe && dr(F, z);
461
- }
462
- return pr(n, M, oe, W, E, gt.current, F);
463
- }
464
- }
465
- var qe = x.ReactCurrentOwner, bt = x.ReactDebugCurrentFrame;
466
- function Pe(n) {
467
- if (n) {
468
- var s = n._owner, v = Te(n.type, n._source, s ? s.type : null);
469
- bt.setExtraStackFrame(v);
470
- } else
471
- bt.setExtraStackFrame(null);
472
- }
473
- var Be;
474
- Be = !1;
475
- function Ve(n) {
476
- return typeof n == "object" && n !== null && n.$$typeof === t;
477
- }
478
- function St() {
479
- {
480
- if (qe.current) {
481
- var n = ne(qe.current.type);
482
- if (n)
483
- return `
484
-
485
- Check the render method of \`` + n + "`.";
486
- }
487
- return "";
488
- }
489
- }
490
- function vr(n) {
491
- return "";
492
- }
493
- var xt = {};
494
- function gr(n) {
495
- {
496
- var s = St();
497
- if (!s) {
498
- var v = typeof n == "string" ? n : n.displayName || n.name;
499
- v && (s = `
500
-
501
- Check the top-level render call using <` + v + ">.");
502
- }
503
- return s;
504
- }
505
- }
506
- function Et(n, s) {
507
- {
508
- if (!n._store || n._store.validated || n.key != null)
509
- return;
510
- n._store.validated = !0;
511
- var v = gr(s);
512
- if (xt[v])
513
- return;
514
- xt[v] = !0;
515
- var E = "";
516
- n && n._owner && n._owner !== qe.current && (E = " It was passed a child from " + ne(n._owner.type) + "."), Pe(n), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, E), Pe(null);
517
- }
518
- }
519
- function Tt(n, s) {
520
- {
521
- if (typeof n != "object")
522
- return;
523
- if (Xe(n))
524
- for (var v = 0; v < n.length; v++) {
525
- var E = n[v];
526
- Ve(E) && Et(E, s);
527
- }
528
- else if (Ve(n))
529
- n._store && (n._store.validated = !0);
530
- else if (n) {
531
- var W = _(n);
532
- if (typeof W == "function" && W !== n.entries)
533
- for (var B = W.call(n), F; !(F = B.next()).done; )
534
- Ve(F.value) && Et(F.value, s);
535
- }
536
- }
537
- }
538
- function yr(n) {
539
- {
540
- var s = n.type;
541
- if (s == null || typeof s == "string")
542
- return;
543
- var v;
544
- if (typeof s == "function")
545
- v = s.propTypes;
546
- else if (typeof s == "object" && (s.$$typeof === d || // Note: Memo only checks outer props here.
547
- // Inner props are checked in the reconciler.
548
- s.$$typeof === T))
549
- v = s.propTypes;
550
- else
551
- return;
552
- if (v) {
553
- var E = ne(s);
554
- nr(v, n.props, "prop", E, n);
555
- } else if (s.PropTypes !== void 0 && !Be) {
556
- Be = !0;
557
- var W = ne(s);
558
- b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", W || "Unknown");
559
- }
560
- typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
- }
562
- }
563
- function mr(n) {
564
- {
565
- for (var s = Object.keys(n.props), v = 0; v < s.length; v++) {
566
- var E = s[v];
567
- if (E !== "children" && E !== "key") {
568
- Pe(n), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), Pe(null);
569
- break;
570
- }
571
- }
572
- n.ref !== null && (Pe(n), b("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
573
- }
574
- }
575
- var _t = {};
576
- function Ct(n, s, v, E, W, B) {
577
- {
578
- var F = J(n);
579
- if (!F) {
580
- var M = "";
581
- (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var oe = vr();
583
- oe ? M += oe : M += St();
584
- var H;
585
- n === null ? H = "null" : Xe(n) ? H = "array" : n !== void 0 && n.$$typeof === t ? (H = "<" + (ne(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : H = typeof n, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, M);
586
- }
587
- var z = hr(n, s, v, W, B);
588
- if (z == null)
589
- return z;
590
- if (F) {
591
- var de = s.children;
592
- if (de !== void 0)
593
- if (E)
594
- if (Xe(de)) {
595
- for (var Re = 0; Re < de.length; Re++)
596
- Tt(de[Re], n);
597
- Object.freeze && Object.freeze(de);
598
- } else
599
- b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
- else
601
- Tt(de, n);
602
- }
603
- if (Oe.call(s, "key")) {
604
- var _e = ne(n), se = Object.keys(s).filter(function(_r) {
605
- return _r !== "key";
606
- }), He = se.length > 0 ? "{key: someKey, " + se.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!_t[_e + He]) {
608
- var Tr = se.length > 0 ? "{" + se.join(": ..., ") + ": ...}" : "{}";
609
- b(`A props object containing a "key" prop is being spread into JSX:
181
+ writable: !0,
182
+ value: j
183
+ }), Object.defineProperty(n, "_debugTask", {
184
+ configurable: !1,
185
+ enumerable: !1,
186
+ writable: !0,
187
+ value: w
188
+ }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
189
+ }
190
+ function v(n, f, y, m, j, w) {
191
+ var b = f.children;
192
+ if (b !== void 0)
193
+ if (m)
194
+ if (K(b)) {
195
+ for (m = 0; m < b.length; m++)
196
+ P(b[m]);
197
+ Object.freeze && Object.freeze(b);
198
+ } else
199
+ console.error(
200
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
201
+ );
202
+ else P(b);
203
+ if (ae.call(f, "key")) {
204
+ b = e(n);
205
+ var C = Object.keys(f).filter(function(O) {
206
+ return O !== "key";
207
+ });
208
+ m = 0 < C.length ? "{key: someKey, " + C.join(": ..., ") + ": ...}" : "{key: someKey}", l[b + m] || (C = 0 < C.length ? "{" + C.join(": ..., ") + ": ...}" : "{}", console.error(
209
+ `A props object containing a "key" prop is being spread into JSX:
610
210
  let props = %s;
611
211
  <%s {...props} />
612
212
  React keys must be passed directly to JSX without using spread:
613
213
  let props = %s;
614
- <%s key={someKey} {...props} />`, He, _e, Tr, _e), _t[_e + He] = !0;
615
- }
616
- }
617
- return n === o ? mr(z) : yr(z), z;
214
+ <%s key={someKey} {...props} />`,
215
+ m,
216
+ b,
217
+ C,
218
+ b
219
+ ), l[b + m] = !0);
618
220
  }
221
+ if (b = null, y !== void 0 && (r(y), b = "" + y), d(f) && (r(f.key), b = "" + f.key), "key" in f) {
222
+ y = {};
223
+ for (var D in f)
224
+ D !== "key" && (y[D] = f[D]);
225
+ } else y = f;
226
+ return b && u(
227
+ y,
228
+ typeof n == "function" ? n.displayName || n.name || "Unknown" : n
229
+ ), g(
230
+ n,
231
+ b,
232
+ y,
233
+ a(),
234
+ j,
235
+ w
236
+ );
619
237
  }
620
- function br(n, s, v) {
621
- return Ct(n, s, v, !0);
238
+ function P(n) {
239
+ A(n) ? n._store && (n._store.validated = 1) : typeof n == "object" && n !== null && n.$$typeof === Y && (n._payload.status === "fulfilled" ? A(n._payload.value) && n._payload.value._store && (n._payload.value._store.validated = 1) : n._store && (n._store.validated = 1));
622
240
  }
623
- function Sr(n, s, v) {
624
- return Ct(n, s, v, !1);
241
+ function A(n) {
242
+ return typeof n == "object" && n !== null && n.$$typeof === I;
625
243
  }
626
- var xr = Sr, Er = br;
627
- Ne.Fragment = o, Ne.jsx = xr, Ne.jsxs = Er;
628
- }()), Ne;
244
+ var N = Ie, I = Symbol.for("react.transitional.element"), $ = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), _ = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), S = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), U = Symbol.for("react.memo"), Y = Symbol.for("react.lazy"), W = Symbol.for("react.activity"), ne = Symbol.for("react.client.reference"), oe = N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ae = Object.prototype.hasOwnProperty, K = Array.isArray, se = console.createTask ? console.createTask : function() {
245
+ return null;
246
+ };
247
+ N = {
248
+ react_stack_bottom_frame: function(n) {
249
+ return n();
250
+ }
251
+ };
252
+ var X, V = {}, Q = N.react_stack_bottom_frame.bind(
253
+ N,
254
+ i
255
+ )(), ie = se(o(i)), l = {};
256
+ pe.Fragment = T, pe.jsx = function(n, f, y) {
257
+ var m = 1e4 > oe.recentlyCreatedOwnerStacks++;
258
+ return v(
259
+ n,
260
+ f,
261
+ y,
262
+ !1,
263
+ m ? Error("react-stack-top-frame") : Q,
264
+ m ? se(o(n)) : ie
265
+ );
266
+ }, pe.jsxs = function(n, f, y) {
267
+ var m = 1e4 > oe.recentlyCreatedOwnerStacks++;
268
+ return v(
269
+ n,
270
+ f,
271
+ y,
272
+ !0,
273
+ m ? Error("react-stack-top-frame") : Q,
274
+ m ? se(o(n)) : ie
275
+ );
276
+ };
277
+ }()), pe;
629
278
  }
630
- process.env.NODE_ENV === "production" ? at.exports = wr() : at.exports = Pr();
631
- var f = at.exports, Ye = { exports: {} }, qt = {}, it = { exports: {} }, $e = { exports: {} }, L = {};
279
+ process.env.NODE_ENV === "production" ? Me.exports = xt() : Me.exports = Tt();
280
+ var c = Me.exports, be = { exports: {} }, it = {}, ke = { exports: {} }, ye = { exports: {} }, M = {};
632
281
  /** @license React v16.13.1
633
282
  * react-is.production.min.js
634
283
  *
@@ -637,73 +286,73 @@ var f = at.exports, Ye = { exports: {} }, qt = {}, it = { exports: {} }, $e = {
637
286
  * This source code is licensed under the MIT license found in the
638
287
  * LICENSE file in the root directory of this source tree.
639
288
  */
640
- var jt;
641
- function Rr() {
642
- if (jt) return L;
643
- jt = 1;
644
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, u = e ? Symbol.for("react.profiler") : 60114, p = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, T = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, Y = e ? Symbol.for("react.memo") : 60115, q = e ? Symbol.for("react.lazy") : 60116, X = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, b = e ? Symbol.for("react.scope") : 60119;
645
- function C(i) {
646
- if (typeof i == "object" && i !== null) {
647
- var k = i.$$typeof;
648
- switch (k) {
289
+ var He;
290
+ function Et() {
291
+ if (He) return M;
292
+ He = 1;
293
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, P = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
294
+ function E(s) {
295
+ if (typeof s == "object" && s !== null) {
296
+ var R = s.$$typeof;
297
+ switch (R) {
649
298
  case t:
650
- switch (i = i.type, i) {
651
- case d:
652
- case m:
299
+ switch (s = s.type, s) {
300
+ case h:
301
+ case g:
653
302
  case o:
654
- case u:
303
+ case i:
655
304
  case a:
656
- case T:
657
- return i;
305
+ case P:
306
+ return s;
658
307
  default:
659
- switch (i = i && i.$$typeof, i) {
660
- case c:
661
- case g:
662
- case q:
663
- case Y:
664
- case p:
665
- return i;
308
+ switch (s = s && s.$$typeof, s) {
309
+ case u:
310
+ case v:
311
+ case I:
312
+ case N:
313
+ case d:
314
+ return s;
666
315
  default:
667
- return k;
316
+ return R;
668
317
  }
669
318
  }
670
319
  case r:
671
- return k;
320
+ return R;
672
321
  }
673
322
  }
674
323
  }
675
- function S(i) {
676
- return C(i) === m;
324
+ function S(s) {
325
+ return E(s) === g;
677
326
  }
678
- return L.AsyncMode = d, L.ConcurrentMode = m, L.ContextConsumer = c, L.ContextProvider = p, L.Element = t, L.ForwardRef = g, L.Fragment = o, L.Lazy = q, L.Memo = Y, L.Portal = r, L.Profiler = u, L.StrictMode = a, L.Suspense = T, L.isAsyncMode = function(i) {
679
- return S(i) || C(i) === d;
680
- }, L.isConcurrentMode = S, L.isContextConsumer = function(i) {
681
- return C(i) === c;
682
- }, L.isContextProvider = function(i) {
683
- return C(i) === p;
684
- }, L.isElement = function(i) {
685
- return typeof i == "object" && i !== null && i.$$typeof === t;
686
- }, L.isForwardRef = function(i) {
687
- return C(i) === g;
688
- }, L.isFragment = function(i) {
689
- return C(i) === o;
690
- }, L.isLazy = function(i) {
691
- return C(i) === q;
692
- }, L.isMemo = function(i) {
693
- return C(i) === Y;
694
- }, L.isPortal = function(i) {
695
- return C(i) === r;
696
- }, L.isProfiler = function(i) {
697
- return C(i) === u;
698
- }, L.isStrictMode = function(i) {
699
- return C(i) === a;
700
- }, L.isSuspense = function(i) {
701
- return C(i) === T;
702
- }, L.isValidElementType = function(i) {
703
- return typeof i == "string" || typeof i == "function" || i === o || i === m || i === u || i === a || i === T || i === A || typeof i == "object" && i !== null && (i.$$typeof === q || i.$$typeof === Y || i.$$typeof === p || i.$$typeof === c || i.$$typeof === g || i.$$typeof === _ || i.$$typeof === x || i.$$typeof === b || i.$$typeof === X);
704
- }, L.typeOf = C, L;
327
+ return M.AsyncMode = h, M.ConcurrentMode = g, M.ContextConsumer = u, M.ContextProvider = d, M.Element = t, M.ForwardRef = v, M.Fragment = o, M.Lazy = I, M.Memo = N, M.Portal = r, M.Profiler = i, M.StrictMode = a, M.Suspense = P, M.isAsyncMode = function(s) {
328
+ return S(s) || E(s) === h;
329
+ }, M.isConcurrentMode = S, M.isContextConsumer = function(s) {
330
+ return E(s) === u;
331
+ }, M.isContextProvider = function(s) {
332
+ return E(s) === d;
333
+ }, M.isElement = function(s) {
334
+ return typeof s == "object" && s !== null && s.$$typeof === t;
335
+ }, M.isForwardRef = function(s) {
336
+ return E(s) === v;
337
+ }, M.isFragment = function(s) {
338
+ return E(s) === o;
339
+ }, M.isLazy = function(s) {
340
+ return E(s) === I;
341
+ }, M.isMemo = function(s) {
342
+ return E(s) === N;
343
+ }, M.isPortal = function(s) {
344
+ return E(s) === r;
345
+ }, M.isProfiler = function(s) {
346
+ return E(s) === i;
347
+ }, M.isStrictMode = function(s) {
348
+ return E(s) === a;
349
+ }, M.isSuspense = function(s) {
350
+ return E(s) === P;
351
+ }, M.isValidElementType = function(s) {
352
+ return typeof s == "string" || typeof s == "function" || s === o || s === g || s === i || s === a || s === P || s === A || typeof s == "object" && s !== null && (s.$$typeof === I || s.$$typeof === N || s.$$typeof === d || s.$$typeof === u || s.$$typeof === v || s.$$typeof === T || s.$$typeof === _ || s.$$typeof === x || s.$$typeof === $);
353
+ }, M.typeOf = E, M;
705
354
  }
706
- var U = {};
355
+ var k = {};
707
356
  /** @license React v16.13.1
708
357
  * react-is.development.js
709
358
  *
@@ -712,195 +361,195 @@ var U = {};
712
361
  * This source code is licensed under the MIT license found in the
713
362
  * LICENSE file in the root directory of this source tree.
714
363
  */
715
- var Ot;
716
- function jr() {
717
- return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && function() {
718
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, u = e ? Symbol.for("react.profiler") : 60114, p = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, T = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, Y = e ? Symbol.for("react.memo") : 60115, q = e ? Symbol.for("react.lazy") : 60116, X = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, b = e ? Symbol.for("react.scope") : 60119;
719
- function C(h) {
720
- return typeof h == "string" || typeof h == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
721
- h === o || h === m || h === u || h === a || h === T || h === A || typeof h == "object" && h !== null && (h.$$typeof === q || h.$$typeof === Y || h.$$typeof === p || h.$$typeof === c || h.$$typeof === g || h.$$typeof === _ || h.$$typeof === x || h.$$typeof === b || h.$$typeof === X);
722
- }
723
- function S(h) {
724
- if (typeof h == "object" && h !== null) {
725
- var fe = h.$$typeof;
726
- switch (fe) {
364
+ var ze;
365
+ function _t() {
366
+ return ze || (ze = 1, process.env.NODE_ENV !== "production" && function() {
367
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, h = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, P = e ? Symbol.for("react.suspense") : 60113, A = e ? Symbol.for("react.suspense_list") : 60120, N = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
368
+ function E(p) {
369
+ return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
370
+ p === o || p === g || p === i || p === a || p === P || p === A || typeof p == "object" && p !== null && (p.$$typeof === I || p.$$typeof === N || p.$$typeof === d || p.$$typeof === u || p.$$typeof === v || p.$$typeof === T || p.$$typeof === _ || p.$$typeof === x || p.$$typeof === $);
371
+ }
372
+ function S(p) {
373
+ if (typeof p == "object" && p !== null) {
374
+ var ee = p.$$typeof;
375
+ switch (ee) {
727
376
  case t:
728
- var we = h.type;
729
- switch (we) {
730
- case d:
731
- case m:
377
+ var ge = p.type;
378
+ switch (ge) {
379
+ case h:
380
+ case g:
732
381
  case o:
733
- case u:
382
+ case i:
734
383
  case a:
735
- case T:
736
- return we;
384
+ case P:
385
+ return ge;
737
386
  default:
738
- var Te = we && we.$$typeof;
739
- switch (Te) {
740
- case c:
741
- case g:
742
- case q:
743
- case Y:
744
- case p:
745
- return Te;
387
+ var Ue = ge && ge.$$typeof;
388
+ switch (Ue) {
389
+ case u:
390
+ case v:
391
+ case I:
392
+ case N:
393
+ case d:
394
+ return Ue;
746
395
  default:
747
- return fe;
396
+ return ee;
748
397
  }
749
398
  }
750
399
  case r:
751
- return fe;
400
+ return ee;
752
401
  }
753
402
  }
754
403
  }
755
- var i = d, k = m, Z = c, Q = p, G = t, J = g, me = o, be = q, ne = Y, K = r, he = u, ee = a, le = T, ve = !1;
756
- function Se(h) {
757
- return ve || (ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), l(h) || S(h) === d;
404
+ var s = h, R = g, L = u, U = d, Y = t, W = v, ne = o, oe = I, ae = N, K = r, se = i, X = a, V = P, Q = !1;
405
+ function ie(p) {
406
+ return Q || (Q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), l(p) || S(p) === h;
758
407
  }
759
- function l(h) {
760
- return S(h) === m;
408
+ function l(p) {
409
+ return S(p) === g;
761
410
  }
762
- function y(h) {
763
- return S(h) === c;
411
+ function n(p) {
412
+ return S(p) === u;
764
413
  }
765
- function O(h) {
766
- return S(h) === p;
414
+ function f(p) {
415
+ return S(p) === d;
767
416
  }
768
- function j(h) {
769
- return typeof h == "object" && h !== null && h.$$typeof === t;
417
+ function y(p) {
418
+ return typeof p == "object" && p !== null && p.$$typeof === t;
770
419
  }
771
- function w(h) {
772
- return S(h) === g;
420
+ function m(p) {
421
+ return S(p) === v;
773
422
  }
774
- function $(h) {
775
- return S(h) === o;
423
+ function j(p) {
424
+ return S(p) === o;
776
425
  }
777
- function P(h) {
778
- return S(h) === q;
426
+ function w(p) {
427
+ return S(p) === I;
779
428
  }
780
- function R(h) {
781
- return S(h) === Y;
429
+ function b(p) {
430
+ return S(p) === N;
782
431
  }
783
- function D(h) {
784
- return S(h) === r;
432
+ function C(p) {
433
+ return S(p) === r;
785
434
  }
786
- function I(h) {
787
- return S(h) === u;
435
+ function D(p) {
436
+ return S(p) === i;
788
437
  }
789
- function N(h) {
790
- return S(h) === a;
438
+ function O(p) {
439
+ return S(p) === a;
791
440
  }
792
- function te(h) {
793
- return S(h) === T;
441
+ function z(p) {
442
+ return S(p) === P;
794
443
  }
795
- U.AsyncMode = i, U.ConcurrentMode = k, U.ContextConsumer = Z, U.ContextProvider = Q, U.Element = G, U.ForwardRef = J, U.Fragment = me, U.Lazy = be, U.Memo = ne, U.Portal = K, U.Profiler = he, U.StrictMode = ee, U.Suspense = le, U.isAsyncMode = Se, U.isConcurrentMode = l, U.isContextConsumer = y, U.isContextProvider = O, U.isElement = j, U.isForwardRef = w, U.isFragment = $, U.isLazy = P, U.isMemo = R, U.isPortal = D, U.isProfiler = I, U.isStrictMode = N, U.isSuspense = te, U.isValidElementType = C, U.typeOf = S;
796
- }()), U;
444
+ k.AsyncMode = s, k.ConcurrentMode = R, k.ContextConsumer = L, k.ContextProvider = U, k.Element = Y, k.ForwardRef = W, k.Fragment = ne, k.Lazy = oe, k.Memo = ae, k.Portal = K, k.Profiler = se, k.StrictMode = X, k.Suspense = V, k.isAsyncMode = ie, k.isConcurrentMode = l, k.isContextConsumer = n, k.isContextProvider = f, k.isElement = y, k.isForwardRef = m, k.isFragment = j, k.isLazy = w, k.isMemo = b, k.isPortal = C, k.isProfiler = D, k.isStrictMode = O, k.isSuspense = z, k.isValidElementType = E, k.typeOf = S;
445
+ }()), k;
797
446
  }
798
- var Dt;
799
- function Bt() {
800
- return Dt || (Dt = 1, process.env.NODE_ENV === "production" ? $e.exports = Rr() : $e.exports = jr()), $e.exports;
447
+ var Ve;
448
+ function lt() {
449
+ return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? ye.exports = Et() : ye.exports = _t()), ye.exports;
801
450
  }
802
451
  /*
803
452
  object-assign
804
453
  (c) Sindre Sorhus
805
454
  @license MIT
806
455
  */
807
- var ze, Nt;
808
- function Or() {
809
- if (Nt) return ze;
810
- Nt = 1;
456
+ var Ee, Ge;
457
+ function wt() {
458
+ if (Ge) return Ee;
459
+ Ge = 1;
811
460
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
812
- function o(u) {
813
- if (u == null)
461
+ function o(i) {
462
+ if (i == null)
814
463
  throw new TypeError("Object.assign cannot be called with null or undefined");
815
- return Object(u);
464
+ return Object(i);
816
465
  }
817
466
  function a() {
818
467
  try {
819
468
  if (!Object.assign)
820
469
  return !1;
821
- var u = new String("abc");
822
- if (u[5] = "de", Object.getOwnPropertyNames(u)[0] === "5")
470
+ var i = new String("abc");
471
+ if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
823
472
  return !1;
824
- for (var p = {}, c = 0; c < 10; c++)
825
- p["_" + String.fromCharCode(c)] = c;
826
- var d = Object.getOwnPropertyNames(p).map(function(g) {
827
- return p[g];
473
+ for (var d = {}, u = 0; u < 10; u++)
474
+ d["_" + String.fromCharCode(u)] = u;
475
+ var h = Object.getOwnPropertyNames(d).map(function(v) {
476
+ return d[v];
828
477
  });
829
- if (d.join("") !== "0123456789")
478
+ if (h.join("") !== "0123456789")
830
479
  return !1;
831
- var m = {};
832
- return "abcdefghijklmnopqrst".split("").forEach(function(g) {
833
- m[g] = g;
834
- }), Object.keys(Object.assign({}, m)).join("") === "abcdefghijklmnopqrst";
480
+ var g = {};
481
+ return "abcdefghijklmnopqrst".split("").forEach(function(v) {
482
+ g[v] = v;
483
+ }), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
835
484
  } catch {
836
485
  return !1;
837
486
  }
838
487
  }
839
- return ze = a() ? Object.assign : function(u, p) {
840
- for (var c, d = o(u), m, g = 1; g < arguments.length; g++) {
841
- c = Object(arguments[g]);
842
- for (var T in c)
843
- t.call(c, T) && (d[T] = c[T]);
488
+ return Ee = a() ? Object.assign : function(i, d) {
489
+ for (var u, h = o(i), g, v = 1; v < arguments.length; v++) {
490
+ u = Object(arguments[v]);
491
+ for (var P in u)
492
+ t.call(u, P) && (h[P] = u[P]);
844
493
  if (e) {
845
- m = e(c);
846
- for (var A = 0; A < m.length; A++)
847
- r.call(c, m[A]) && (d[m[A]] = c[m[A]]);
494
+ g = e(u);
495
+ for (var A = 0; A < g.length; A++)
496
+ r.call(u, g[A]) && (h[g[A]] = u[g[A]]);
848
497
  }
849
498
  }
850
- return d;
851
- }, ze;
499
+ return h;
500
+ }, Ee;
852
501
  }
853
- var Ge, Mt;
854
- function lt() {
855
- if (Mt) return Ge;
856
- Mt = 1;
502
+ var _e, Je;
503
+ function Fe() {
504
+ if (Je) return _e;
505
+ Je = 1;
857
506
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
858
- return Ge = e, Ge;
507
+ return _e = e, _e;
859
508
  }
860
- var Je, At;
861
- function Vt() {
862
- return At || (At = 1, Je = Function.call.bind(Object.prototype.hasOwnProperty)), Je;
509
+ var we, Ke;
510
+ function ct() {
511
+ return Ke || (Ke = 1, we = Function.call.bind(Object.prototype.hasOwnProperty)), we;
863
512
  }
864
- var Ke, kt;
865
- function Dr() {
866
- if (kt) return Ke;
867
- kt = 1;
513
+ var Ce, Ze;
514
+ function Ct() {
515
+ if (Ze) return Ce;
516
+ Ze = 1;
868
517
  var e = function() {
869
518
  };
870
519
  if (process.env.NODE_ENV !== "production") {
871
- var t = lt(), r = {}, o = Vt();
872
- e = function(u) {
873
- var p = "Warning: " + u;
874
- typeof console < "u" && console.error(p);
520
+ var t = Fe(), r = {}, o = ct();
521
+ e = function(i) {
522
+ var d = "Warning: " + i;
523
+ typeof console < "u" && console.error(d);
875
524
  try {
876
- throw new Error(p);
525
+ throw new Error(d);
877
526
  } catch {
878
527
  }
879
528
  };
880
529
  }
881
- function a(u, p, c, d, m) {
530
+ function a(i, d, u, h, g) {
882
531
  if (process.env.NODE_ENV !== "production") {
883
- for (var g in u)
884
- if (o(u, g)) {
885
- var T;
532
+ for (var v in i)
533
+ if (o(i, v)) {
534
+ var P;
886
535
  try {
887
- if (typeof u[g] != "function") {
536
+ if (typeof i[v] != "function") {
888
537
  var A = Error(
889
- (d || "React class") + ": " + c + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof u[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
538
+ (h || "React class") + ": " + u + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
890
539
  );
891
540
  throw A.name = "Invariant Violation", A;
892
541
  }
893
- T = u[g](p, g, d, c, null, t);
894
- } catch (q) {
895
- T = q;
542
+ P = i[v](d, v, h, u, null, t);
543
+ } catch (I) {
544
+ P = I;
896
545
  }
897
- if (T && !(T instanceof Error) && e(
898
- (d || "React class") + ": type specification of " + c + " `" + g + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof T + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
899
- ), T instanceof Error && !(T.message in r)) {
900
- r[T.message] = !0;
901
- var Y = m ? m() : "";
546
+ if (P && !(P instanceof Error) && e(
547
+ (h || "React class") + ": type specification of " + u + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof P + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
548
+ ), P instanceof Error && !(P.message in r)) {
549
+ r[P.message] = !0;
550
+ var N = g ? g() : "";
902
551
  e(
903
- "Failed " + c + " type: " + T.message + (Y ?? "")
552
+ "Failed " + u + " type: " + P.message + (N ?? "")
904
553
  );
905
554
  }
906
555
  }
@@ -908,256 +557,256 @@ function Dr() {
908
557
  }
909
558
  return a.resetWarningCache = function() {
910
559
  process.env.NODE_ENV !== "production" && (r = {});
911
- }, Ke = a, Ke;
560
+ }, Ce = a, Ce;
912
561
  }
913
- var Ze, $t;
914
- function Nr() {
915
- if ($t) return Ze;
916
- $t = 1;
917
- var e = Bt(), t = Or(), r = lt(), o = Vt(), a = Dr(), u = function() {
562
+ var Pe, Qe;
563
+ function Pt() {
564
+ if (Qe) return Pe;
565
+ Qe = 1;
566
+ var e = lt(), t = wt(), r = Fe(), o = ct(), a = Ct(), i = function() {
918
567
  };
919
- process.env.NODE_ENV !== "production" && (u = function(c) {
920
- var d = "Warning: " + c;
921
- typeof console < "u" && console.error(d);
568
+ process.env.NODE_ENV !== "production" && (i = function(u) {
569
+ var h = "Warning: " + u;
570
+ typeof console < "u" && console.error(h);
922
571
  try {
923
- throw new Error(d);
572
+ throw new Error(h);
924
573
  } catch {
925
574
  }
926
575
  });
927
- function p() {
576
+ function d() {
928
577
  return null;
929
578
  }
930
- return Ze = function(c, d) {
931
- var m = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
932
- function T(l) {
933
- var y = l && (m && l[m] || l[g]);
934
- if (typeof y == "function")
935
- return y;
936
- }
937
- var A = "<<anonymous>>", Y = {
938
- array: x("array"),
939
- bigint: x("bigint"),
940
- bool: x("boolean"),
941
- func: x("function"),
942
- number: x("number"),
943
- object: x("object"),
944
- string: x("string"),
945
- symbol: x("symbol"),
946
- any: b(),
947
- arrayOf: C,
579
+ return Pe = function(u, h) {
580
+ var g = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
581
+ function P(l) {
582
+ var n = l && (g && l[g] || l[v]);
583
+ if (typeof n == "function")
584
+ return n;
585
+ }
586
+ var A = "<<anonymous>>", N = {
587
+ array: _("array"),
588
+ bigint: _("bigint"),
589
+ bool: _("boolean"),
590
+ func: _("function"),
591
+ number: _("number"),
592
+ object: _("object"),
593
+ string: _("string"),
594
+ symbol: _("symbol"),
595
+ any: x(),
596
+ arrayOf: E,
948
597
  element: S(),
949
- elementType: i(),
950
- instanceOf: k,
951
- node: J(),
952
- objectOf: Q,
953
- oneOf: Z,
954
- oneOfType: G,
955
- shape: be,
956
- exact: ne
598
+ elementType: s(),
599
+ instanceOf: R,
600
+ node: W(),
601
+ objectOf: U,
602
+ oneOf: L,
603
+ oneOfType: Y,
604
+ shape: oe,
605
+ exact: ae
957
606
  };
958
- function q(l, y) {
959
- return l === y ? l !== 0 || 1 / l === 1 / y : l !== l && y !== y;
607
+ function I(l, n) {
608
+ return l === n ? l !== 0 || 1 / l === 1 / n : l !== l && n !== n;
960
609
  }
961
- function X(l, y) {
962
- this.message = l, this.data = y && typeof y == "object" ? y : {}, this.stack = "";
610
+ function $(l, n) {
611
+ this.message = l, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
963
612
  }
964
- X.prototype = Error.prototype;
965
- function _(l) {
613
+ $.prototype = Error.prototype;
614
+ function T(l) {
966
615
  if (process.env.NODE_ENV !== "production")
967
- var y = {}, O = 0;
968
- function j($, P, R, D, I, N, te) {
969
- if (D = D || A, N = N || R, te !== r) {
970
- if (d) {
971
- var h = new Error(
616
+ var n = {}, f = 0;
617
+ function y(j, w, b, C, D, O, z) {
618
+ if (C = C || A, O = O || b, z !== r) {
619
+ if (h) {
620
+ var p = new Error(
972
621
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
973
622
  );
974
- throw h.name = "Invariant Violation", h;
623
+ throw p.name = "Invariant Violation", p;
975
624
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
976
- var fe = D + ":" + R;
977
- !y[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
978
- O < 3 && (u(
979
- "You are manually calling a React.PropTypes validation function for the `" + N + "` prop on `" + D + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
980
- ), y[fe] = !0, O++);
625
+ var ee = C + ":" + b;
626
+ !n[ee] && // Avoid spamming the console because they are often not actionable except for lib authors
627
+ f < 3 && (i(
628
+ "You are manually calling a React.PropTypes validation function for the `" + O + "` prop on `" + C + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
629
+ ), n[ee] = !0, f++);
981
630
  }
982
631
  }
983
- return P[R] == null ? $ ? P[R] === null ? new X("The " + I + " `" + N + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new X("The " + I + " `" + N + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : l(P, R, D, I, N);
632
+ return w[b] == null ? j ? w[b] === null ? new $("The " + D + " `" + O + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new $("The " + D + " `" + O + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : l(w, b, C, D, O);
984
633
  }
985
- var w = j.bind(null, !1);
986
- return w.isRequired = j.bind(null, !0), w;
987
- }
988
- function x(l) {
989
- function y(O, j, w, $, P, R) {
990
- var D = O[j], I = ee(D);
991
- if (I !== l) {
992
- var N = le(D);
993
- return new X(
994
- "Invalid " + $ + " `" + P + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected ") + ("`" + l + "`."),
634
+ var m = y.bind(null, !1);
635
+ return m.isRequired = y.bind(null, !0), m;
636
+ }
637
+ function _(l) {
638
+ function n(f, y, m, j, w, b) {
639
+ var C = f[y], D = X(C);
640
+ if (D !== l) {
641
+ var O = V(C);
642
+ return new $(
643
+ "Invalid " + j + " `" + w + "` of type " + ("`" + O + "` supplied to `" + m + "`, expected ") + ("`" + l + "`."),
995
644
  { expectedType: l }
996
645
  );
997
646
  }
998
647
  return null;
999
648
  }
1000
- return _(y);
649
+ return T(n);
1001
650
  }
1002
- function b() {
1003
- return _(p);
651
+ function x() {
652
+ return T(d);
1004
653
  }
1005
- function C(l) {
1006
- function y(O, j, w, $, P) {
654
+ function E(l) {
655
+ function n(f, y, m, j, w) {
1007
656
  if (typeof l != "function")
1008
- return new X("Property `" + P + "` of component `" + w + "` has invalid PropType notation inside arrayOf.");
1009
- var R = O[j];
1010
- if (!Array.isArray(R)) {
1011
- var D = ee(R);
1012
- return new X("Invalid " + $ + " `" + P + "` of type " + ("`" + D + "` supplied to `" + w + "`, expected an array."));
657
+ return new $("Property `" + w + "` of component `" + m + "` has invalid PropType notation inside arrayOf.");
658
+ var b = f[y];
659
+ if (!Array.isArray(b)) {
660
+ var C = X(b);
661
+ return new $("Invalid " + j + " `" + w + "` of type " + ("`" + C + "` supplied to `" + m + "`, expected an array."));
1013
662
  }
1014
- for (var I = 0; I < R.length; I++) {
1015
- var N = l(R, I, w, $, P + "[" + I + "]", r);
1016
- if (N instanceof Error)
1017
- return N;
663
+ for (var D = 0; D < b.length; D++) {
664
+ var O = l(b, D, m, j, w + "[" + D + "]", r);
665
+ if (O instanceof Error)
666
+ return O;
1018
667
  }
1019
668
  return null;
1020
669
  }
1021
- return _(y);
670
+ return T(n);
1022
671
  }
1023
672
  function S() {
1024
- function l(y, O, j, w, $) {
1025
- var P = y[O];
1026
- if (!c(P)) {
1027
- var R = ee(P);
1028
- return new X("Invalid " + w + " `" + $ + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected a single ReactElement."));
673
+ function l(n, f, y, m, j) {
674
+ var w = n[f];
675
+ if (!u(w)) {
676
+ var b = X(w);
677
+ return new $("Invalid " + m + " `" + j + "` of type " + ("`" + b + "` supplied to `" + y + "`, expected a single ReactElement."));
1029
678
  }
1030
679
  return null;
1031
680
  }
1032
- return _(l);
1033
- }
1034
- function i() {
1035
- function l(y, O, j, w, $) {
1036
- var P = y[O];
1037
- if (!e.isValidElementType(P)) {
1038
- var R = ee(P);
1039
- return new X("Invalid " + w + " `" + $ + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected a single ReactElement type."));
681
+ return T(l);
682
+ }
683
+ function s() {
684
+ function l(n, f, y, m, j) {
685
+ var w = n[f];
686
+ if (!e.isValidElementType(w)) {
687
+ var b = X(w);
688
+ return new $("Invalid " + m + " `" + j + "` of type " + ("`" + b + "` supplied to `" + y + "`, expected a single ReactElement type."));
1040
689
  }
1041
690
  return null;
1042
691
  }
1043
- return _(l);
692
+ return T(l);
1044
693
  }
1045
- function k(l) {
1046
- function y(O, j, w, $, P) {
1047
- if (!(O[j] instanceof l)) {
1048
- var R = l.name || A, D = Se(O[j]);
1049
- return new X("Invalid " + $ + " `" + P + "` of type " + ("`" + D + "` supplied to `" + w + "`, expected ") + ("instance of `" + R + "`."));
694
+ function R(l) {
695
+ function n(f, y, m, j, w) {
696
+ if (!(f[y] instanceof l)) {
697
+ var b = l.name || A, C = ie(f[y]);
698
+ return new $("Invalid " + j + " `" + w + "` of type " + ("`" + C + "` supplied to `" + m + "`, expected ") + ("instance of `" + b + "`."));
1050
699
  }
1051
700
  return null;
1052
701
  }
1053
- return _(y);
702
+ return T(n);
1054
703
  }
1055
- function Z(l) {
704
+ function L(l) {
1056
705
  if (!Array.isArray(l))
1057
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? u(
706
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1058
707
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1059
- ) : u("Invalid argument supplied to oneOf, expected an array.")), p;
1060
- function y(O, j, w, $, P) {
1061
- for (var R = O[j], D = 0; D < l.length; D++)
1062
- if (q(R, l[D]))
708
+ ) : i("Invalid argument supplied to oneOf, expected an array.")), d;
709
+ function n(f, y, m, j, w) {
710
+ for (var b = f[y], C = 0; C < l.length; C++)
711
+ if (I(b, l[C]))
1063
712
  return null;
1064
- var I = JSON.stringify(l, function(te, h) {
1065
- var fe = le(h);
1066
- return fe === "symbol" ? String(h) : h;
713
+ var D = JSON.stringify(l, function(z, p) {
714
+ var ee = V(p);
715
+ return ee === "symbol" ? String(p) : p;
1067
716
  });
1068
- return new X("Invalid " + $ + " `" + P + "` of value `" + String(R) + "` " + ("supplied to `" + w + "`, expected one of " + I + "."));
717
+ return new $("Invalid " + j + " `" + w + "` of value `" + String(b) + "` " + ("supplied to `" + m + "`, expected one of " + D + "."));
1069
718
  }
1070
- return _(y);
719
+ return T(n);
1071
720
  }
1072
- function Q(l) {
1073
- function y(O, j, w, $, P) {
721
+ function U(l) {
722
+ function n(f, y, m, j, w) {
1074
723
  if (typeof l != "function")
1075
- return new X("Property `" + P + "` of component `" + w + "` has invalid PropType notation inside objectOf.");
1076
- var R = O[j], D = ee(R);
1077
- if (D !== "object")
1078
- return new X("Invalid " + $ + " `" + P + "` of type " + ("`" + D + "` supplied to `" + w + "`, expected an object."));
1079
- for (var I in R)
1080
- if (o(R, I)) {
1081
- var N = l(R, I, w, $, P + "." + I, r);
1082
- if (N instanceof Error)
1083
- return N;
724
+ return new $("Property `" + w + "` of component `" + m + "` has invalid PropType notation inside objectOf.");
725
+ var b = f[y], C = X(b);
726
+ if (C !== "object")
727
+ return new $("Invalid " + j + " `" + w + "` of type " + ("`" + C + "` supplied to `" + m + "`, expected an object."));
728
+ for (var D in b)
729
+ if (o(b, D)) {
730
+ var O = l(b, D, m, j, w + "." + D, r);
731
+ if (O instanceof Error)
732
+ return O;
1084
733
  }
1085
734
  return null;
1086
735
  }
1087
- return _(y);
736
+ return T(n);
1088
737
  }
1089
- function G(l) {
738
+ function Y(l) {
1090
739
  if (!Array.isArray(l))
1091
- return process.env.NODE_ENV !== "production" && u("Invalid argument supplied to oneOfType, expected an instance of array."), p;
1092
- for (var y = 0; y < l.length; y++) {
1093
- var O = l[y];
1094
- if (typeof O != "function")
1095
- return u(
1096
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ve(O) + " at index " + y + "."
1097
- ), p;
740
+ return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), d;
741
+ for (var n = 0; n < l.length; n++) {
742
+ var f = l[n];
743
+ if (typeof f != "function")
744
+ return i(
745
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Q(f) + " at index " + n + "."
746
+ ), d;
1098
747
  }
1099
- function j(w, $, P, R, D) {
1100
- for (var I = [], N = 0; N < l.length; N++) {
1101
- var te = l[N], h = te(w, $, P, R, D, r);
1102
- if (h == null)
748
+ function y(m, j, w, b, C) {
749
+ for (var D = [], O = 0; O < l.length; O++) {
750
+ var z = l[O], p = z(m, j, w, b, C, r);
751
+ if (p == null)
1103
752
  return null;
1104
- h.data && o(h.data, "expectedType") && I.push(h.data.expectedType);
753
+ p.data && o(p.data, "expectedType") && D.push(p.data.expectedType);
1105
754
  }
1106
- var fe = I.length > 0 ? ", expected one of type [" + I.join(", ") + "]" : "";
1107
- return new X("Invalid " + R + " `" + D + "` supplied to " + ("`" + P + "`" + fe + "."));
755
+ var ee = D.length > 0 ? ", expected one of type [" + D.join(", ") + "]" : "";
756
+ return new $("Invalid " + b + " `" + C + "` supplied to " + ("`" + w + "`" + ee + "."));
1108
757
  }
1109
- return _(j);
758
+ return T(y);
1110
759
  }
1111
- function J() {
1112
- function l(y, O, j, w, $) {
1113
- return K(y[O]) ? null : new X("Invalid " + w + " `" + $ + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
760
+ function W() {
761
+ function l(n, f, y, m, j) {
762
+ return K(n[f]) ? null : new $("Invalid " + m + " `" + j + "` supplied to " + ("`" + y + "`, expected a ReactNode."));
1114
763
  }
1115
- return _(l);
764
+ return T(l);
1116
765
  }
1117
- function me(l, y, O, j, w) {
1118
- return new X(
1119
- (l || "React class") + ": " + y + " type `" + O + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + w + "`."
766
+ function ne(l, n, f, y, m) {
767
+ return new $(
768
+ (l || "React class") + ": " + n + " type `" + f + "." + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + m + "`."
1120
769
  );
1121
770
  }
1122
- function be(l) {
1123
- function y(O, j, w, $, P) {
1124
- var R = O[j], D = ee(R);
1125
- if (D !== "object")
1126
- return new X("Invalid " + $ + " `" + P + "` of type `" + D + "` " + ("supplied to `" + w + "`, expected `object`."));
1127
- for (var I in l) {
1128
- var N = l[I];
1129
- if (typeof N != "function")
1130
- return me(w, $, P, I, le(N));
1131
- var te = N(R, I, w, $, P + "." + I, r);
1132
- if (te)
1133
- return te;
771
+ function oe(l) {
772
+ function n(f, y, m, j, w) {
773
+ var b = f[y], C = X(b);
774
+ if (C !== "object")
775
+ return new $("Invalid " + j + " `" + w + "` of type `" + C + "` " + ("supplied to `" + m + "`, expected `object`."));
776
+ for (var D in l) {
777
+ var O = l[D];
778
+ if (typeof O != "function")
779
+ return ne(m, j, w, D, V(O));
780
+ var z = O(b, D, m, j, w + "." + D, r);
781
+ if (z)
782
+ return z;
1134
783
  }
1135
784
  return null;
1136
785
  }
1137
- return _(y);
1138
- }
1139
- function ne(l) {
1140
- function y(O, j, w, $, P) {
1141
- var R = O[j], D = ee(R);
1142
- if (D !== "object")
1143
- return new X("Invalid " + $ + " `" + P + "` of type `" + D + "` " + ("supplied to `" + w + "`, expected `object`."));
1144
- var I = t({}, O[j], l);
1145
- for (var N in I) {
1146
- var te = l[N];
1147
- if (o(l, N) && typeof te != "function")
1148
- return me(w, $, P, N, le(te));
1149
- if (!te)
1150
- return new X(
1151
- "Invalid " + $ + " `" + P + "` key `" + N + "` supplied to `" + w + "`.\nBad object: " + JSON.stringify(O[j], null, " ") + `
786
+ return T(n);
787
+ }
788
+ function ae(l) {
789
+ function n(f, y, m, j, w) {
790
+ var b = f[y], C = X(b);
791
+ if (C !== "object")
792
+ return new $("Invalid " + j + " `" + w + "` of type `" + C + "` " + ("supplied to `" + m + "`, expected `object`."));
793
+ var D = t({}, f[y], l);
794
+ for (var O in D) {
795
+ var z = l[O];
796
+ if (o(l, O) && typeof z != "function")
797
+ return ne(m, j, w, O, V(z));
798
+ if (!z)
799
+ return new $(
800
+ "Invalid " + j + " `" + w + "` key `" + O + "` supplied to `" + m + "`.\nBad object: " + JSON.stringify(f[y], null, " ") + `
1152
801
  Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
1153
802
  );
1154
- var h = te(R, N, w, $, P + "." + N, r);
1155
- if (h)
1156
- return h;
803
+ var p = z(b, O, m, j, w + "." + O, r);
804
+ if (p)
805
+ return p;
1157
806
  }
1158
807
  return null;
1159
808
  }
1160
- return _(y);
809
+ return T(n);
1161
810
  }
1162
811
  function K(l) {
1163
812
  switch (typeof l) {
@@ -1170,19 +819,19 @@ Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
1170
819
  case "object":
1171
820
  if (Array.isArray(l))
1172
821
  return l.every(K);
1173
- if (l === null || c(l))
822
+ if (l === null || u(l))
1174
823
  return !0;
1175
- var y = T(l);
1176
- if (y) {
1177
- var O = y.call(l), j;
1178
- if (y !== l.entries) {
1179
- for (; !(j = O.next()).done; )
1180
- if (!K(j.value))
824
+ var n = P(l);
825
+ if (n) {
826
+ var f = n.call(l), y;
827
+ if (n !== l.entries) {
828
+ for (; !(y = f.next()).done; )
829
+ if (!K(y.value))
1181
830
  return !1;
1182
831
  } else
1183
- for (; !(j = O.next()).done; ) {
1184
- var w = j.value;
1185
- if (w && !K(w[1]))
832
+ for (; !(y = f.next()).done; ) {
833
+ var m = y.value;
834
+ if (m && !K(m[1]))
1186
835
  return !1;
1187
836
  }
1188
837
  } else
@@ -1192,57 +841,57 @@ Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
1192
841
  return !1;
1193
842
  }
1194
843
  }
1195
- function he(l, y) {
1196
- return l === "symbol" ? !0 : y ? y["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && y instanceof Symbol : !1;
844
+ function se(l, n) {
845
+ return l === "symbol" ? !0 : n ? n["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && n instanceof Symbol : !1;
1197
846
  }
1198
- function ee(l) {
1199
- var y = typeof l;
1200
- return Array.isArray(l) ? "array" : l instanceof RegExp ? "object" : he(y, l) ? "symbol" : y;
847
+ function X(l) {
848
+ var n = typeof l;
849
+ return Array.isArray(l) ? "array" : l instanceof RegExp ? "object" : se(n, l) ? "symbol" : n;
1201
850
  }
1202
- function le(l) {
851
+ function V(l) {
1203
852
  if (typeof l > "u" || l === null)
1204
853
  return "" + l;
1205
- var y = ee(l);
1206
- if (y === "object") {
854
+ var n = X(l);
855
+ if (n === "object") {
1207
856
  if (l instanceof Date)
1208
857
  return "date";
1209
858
  if (l instanceof RegExp)
1210
859
  return "regexp";
1211
860
  }
1212
- return y;
861
+ return n;
1213
862
  }
1214
- function ve(l) {
1215
- var y = le(l);
1216
- switch (y) {
863
+ function Q(l) {
864
+ var n = V(l);
865
+ switch (n) {
1217
866
  case "array":
1218
867
  case "object":
1219
- return "an " + y;
868
+ return "an " + n;
1220
869
  case "boolean":
1221
870
  case "date":
1222
871
  case "regexp":
1223
- return "a " + y;
872
+ return "a " + n;
1224
873
  default:
1225
- return y;
874
+ return n;
1226
875
  }
1227
876
  }
1228
- function Se(l) {
877
+ function ie(l) {
1229
878
  return !l.constructor || !l.constructor.name ? A : l.constructor.name;
1230
879
  }
1231
- return Y.checkPropTypes = a, Y.resetWarningCache = a.resetWarningCache, Y.PropTypes = Y, Y;
1232
- }, Ze;
880
+ return N.checkPropTypes = a, N.resetWarningCache = a.resetWarningCache, N.PropTypes = N, N;
881
+ }, Pe;
1233
882
  }
1234
- var Qe, Ft;
1235
- function Mr() {
1236
- if (Ft) return Qe;
1237
- Ft = 1;
1238
- var e = lt();
883
+ var je, et;
884
+ function jt() {
885
+ if (et) return je;
886
+ et = 1;
887
+ var e = Fe();
1239
888
  function t() {
1240
889
  }
1241
890
  function r() {
1242
891
  }
1243
- return r.resetWarningCache = t, Qe = function() {
1244
- function o(p, c, d, m, g, T) {
1245
- if (T !== e) {
892
+ return r.resetWarningCache = t, je = function() {
893
+ function o(d, u, h, g, v, P) {
894
+ if (P !== e) {
1246
895
  var A = new Error(
1247
896
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1248
897
  );
@@ -1253,7 +902,7 @@ function Mr() {
1253
902
  function a() {
1254
903
  return o;
1255
904
  }
1256
- var u = {
905
+ var i = {
1257
906
  array: o,
1258
907
  bigint: o,
1259
908
  bool: o,
@@ -1276,139 +925,139 @@ function Mr() {
1276
925
  checkPropTypes: r,
1277
926
  resetWarningCache: t
1278
927
  };
1279
- return u.PropTypes = u, u;
1280
- }, Qe;
928
+ return i.PropTypes = i, i;
929
+ }, je;
1281
930
  }
1282
931
  if (process.env.NODE_ENV !== "production") {
1283
- var Ar = Bt(), kr = !0;
1284
- it.exports = Nr()(Ar.isElement, kr);
932
+ var Rt = lt(), Ot = !0;
933
+ ke.exports = Pt()(Rt.isElement, Ot);
1285
934
  } else
1286
- it.exports = Mr()();
1287
- var Ht = it.exports, st = { exports: {} };
1288
- function zt(e) {
935
+ ke.exports = jt()();
936
+ var ut = ke.exports, $e = { exports: {} };
937
+ function ft(e) {
1289
938
  var t, r, o = "";
1290
939
  if (typeof e == "string" || typeof e == "number") o += e;
1291
940
  else if (typeof e == "object") if (Array.isArray(e)) {
1292
941
  var a = e.length;
1293
- for (t = 0; t < a; t++) e[t] && (r = zt(e[t])) && (o && (o += " "), o += r);
942
+ for (t = 0; t < a; t++) e[t] && (r = ft(e[t])) && (o && (o += " "), o += r);
1294
943
  } else for (r in e) e[r] && (o && (o += " "), o += r);
1295
944
  return o;
1296
945
  }
1297
- function It() {
1298
- for (var e, t, r = 0, o = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = zt(e)) && (o && (o += " "), o += t);
946
+ function tt() {
947
+ for (var e, t, r = 0, o = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = ft(e)) && (o && (o += " "), o += t);
1299
948
  return o;
1300
949
  }
1301
- st.exports = It, st.exports.clsx = It;
1302
- var $r = st.exports, V = {}, ge = {};
1303
- Object.defineProperty(ge, "__esModule", {
950
+ $e.exports = tt, $e.exports.clsx = tt;
951
+ var Dt = $e.exports, F = {}, te = {};
952
+ Object.defineProperty(te, "__esModule", {
1304
953
  value: !0
1305
954
  });
1306
- ge.dontSetMe = Lr;
1307
- ge.findInArray = Fr;
1308
- ge.int = Wr;
1309
- ge.isFunction = Ir;
1310
- ge.isNum = Yr;
1311
- function Fr(e, t) {
955
+ te.dontSetMe = $t;
956
+ te.findInArray = Nt;
957
+ te.int = kt;
958
+ te.isFunction = At;
959
+ te.isNum = Mt;
960
+ function Nt(e, t) {
1312
961
  for (let r = 0, o = e.length; r < o; r++)
1313
962
  if (t.apply(t, [e[r], r, e])) return e[r];
1314
963
  }
1315
- function Ir(e) {
964
+ function At(e) {
1316
965
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Function]";
1317
966
  }
1318
- function Yr(e) {
967
+ function Mt(e) {
1319
968
  return typeof e == "number" && !isNaN(e);
1320
969
  }
1321
- function Wr(e) {
970
+ function kt(e) {
1322
971
  return parseInt(e, 10);
1323
972
  }
1324
- function Lr(e, t, r) {
973
+ function $t(e, t, r) {
1325
974
  if (e[t])
1326
975
  return new Error(`Invalid prop ${t} passed to ${r} - do not set this, set it on the child.`);
1327
976
  }
1328
- var Ce = {};
1329
- Object.defineProperty(Ce, "__esModule", {
977
+ var ue = {};
978
+ Object.defineProperty(ue, "__esModule", {
1330
979
  value: !0
1331
980
  });
1332
- Ce.browserPrefixToKey = Jt;
1333
- Ce.browserPrefixToStyle = Ur;
1334
- Ce.default = void 0;
1335
- Ce.getPrefix = Gt;
1336
- const et = ["Moz", "Webkit", "O", "ms"];
1337
- function Gt() {
981
+ ue.browserPrefixToKey = pt;
982
+ ue.browserPrefixToStyle = It;
983
+ ue.default = void 0;
984
+ ue.getPrefix = dt;
985
+ const Re = ["Moz", "Webkit", "O", "ms"];
986
+ function dt() {
1338
987
  var r, o;
1339
988
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
1340
989
  if (typeof window > "u") return "";
1341
990
  const t = (o = (r = window.document) == null ? void 0 : r.documentElement) == null ? void 0 : o.style;
1342
991
  if (!t || e in t) return "";
1343
- for (let a = 0; a < et.length; a++)
1344
- if (Jt(e, et[a]) in t) return et[a];
992
+ for (let a = 0; a < Re.length; a++)
993
+ if (pt(e, Re[a]) in t) return Re[a];
1345
994
  return "";
1346
995
  }
1347
- function Jt(e, t) {
1348
- return t ? `${t}${Xr(e)}` : e;
996
+ function pt(e, t) {
997
+ return t ? `${t}${Ft(e)}` : e;
1349
998
  }
1350
- function Ur(e, t) {
999
+ function It(e, t) {
1351
1000
  return t ? `-${t.toLowerCase()}-${e}` : e;
1352
1001
  }
1353
- function Xr(e) {
1002
+ function Ft(e) {
1354
1003
  let t = "", r = !0;
1355
1004
  for (let o = 0; o < e.length; o++)
1356
1005
  r ? (t += e[o].toUpperCase(), r = !1) : e[o] === "-" ? r = !0 : t += e[o];
1357
1006
  return t;
1358
1007
  }
1359
- Ce.default = Gt();
1360
- Object.defineProperty(V, "__esModule", {
1008
+ ue.default = dt();
1009
+ Object.defineProperty(F, "__esModule", {
1361
1010
  value: !0
1362
1011
  });
1363
- V.addClassName = Qt;
1364
- V.addEvent = Br;
1365
- V.addUserSelectStyles = rn;
1366
- V.createCSSTransform = Zr;
1367
- V.createSVGTransform = Qr;
1368
- V.getTouch = en;
1369
- V.getTouchIdentifier = tn;
1370
- V.getTranslation = ut;
1371
- V.innerHeight = Gr;
1372
- V.innerWidth = Jr;
1373
- V.matchesSelector = Zt;
1374
- V.matchesSelectorAndParentsTo = qr;
1375
- V.offsetXYFromParent = Kr;
1376
- V.outerHeight = Hr;
1377
- V.outerWidth = zr;
1378
- V.removeClassName = er;
1379
- V.removeEvent = Vr;
1380
- V.scheduleRemoveUserSelectStyles = nn;
1381
- var ce = ge, Yt = Kt(Ce);
1382
- function Kt(e, t) {
1012
+ F.addClassName = gt;
1013
+ F.addEvent = Wt;
1014
+ F.addUserSelectStyles = Kt;
1015
+ F.createCSSTransform = zt;
1016
+ F.createSVGTransform = Vt;
1017
+ F.getTouch = Gt;
1018
+ F.getTouchIdentifier = Jt;
1019
+ F.getTranslation = Ye;
1020
+ F.innerHeight = qt;
1021
+ F.innerWidth = Bt;
1022
+ F.matchesSelector = mt;
1023
+ F.matchesSelectorAndParentsTo = Yt;
1024
+ F.offsetXYFromParent = Ht;
1025
+ F.outerHeight = Ut;
1026
+ F.outerWidth = Xt;
1027
+ F.removeClassName = yt;
1028
+ F.removeEvent = Lt;
1029
+ F.scheduleRemoveUserSelectStyles = Zt;
1030
+ var J = te, rt = ht(ue);
1031
+ function ht(e, t) {
1383
1032
  if (typeof WeakMap == "function") var r = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap();
1384
- return (Kt = function(a, u) {
1385
- if (!u && a && a.__esModule) return a;
1386
- var p, c, d = { __proto__: null, default: a };
1387
- if (a === null || typeof a != "object" && typeof a != "function") return d;
1388
- if (p = u ? o : r) {
1389
- if (p.has(a)) return p.get(a);
1390
- p.set(a, d);
1391
- }
1392
- for (const m in a) m !== "default" && {}.hasOwnProperty.call(a, m) && ((c = (p = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, m)) && (c.get || c.set) ? p(d, m, c) : d[m] = a[m]);
1393
- return d;
1033
+ return (ht = function(a, i) {
1034
+ if (!i && a && a.__esModule) return a;
1035
+ var d, u, h = { __proto__: null, default: a };
1036
+ if (a === null || typeof a != "object" && typeof a != "function") return h;
1037
+ if (d = i ? o : r) {
1038
+ if (d.has(a)) return d.get(a);
1039
+ d.set(a, h);
1040
+ }
1041
+ for (const g in a) g !== "default" && {}.hasOwnProperty.call(a, g) && ((u = (d = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, g)) && (u.get || u.set) ? d(h, g, u) : h[g] = a[g]);
1042
+ return h;
1394
1043
  })(e, t);
1395
1044
  }
1396
- let Fe = "";
1397
- function Zt(e, t) {
1398
- return Fe || (Fe = (0, ce.findInArray)(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(r) {
1399
- return (0, ce.isFunction)(e[r]);
1400
- })), (0, ce.isFunction)(e[Fe]) ? e[Fe](t) : !1;
1045
+ let ve = "";
1046
+ function mt(e, t) {
1047
+ return ve || (ve = (0, J.findInArray)(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(r) {
1048
+ return (0, J.isFunction)(e[r]);
1049
+ })), (0, J.isFunction)(e[ve]) ? e[ve](t) : !1;
1401
1050
  }
1402
- function qr(e, t, r) {
1051
+ function Yt(e, t, r) {
1403
1052
  let o = e;
1404
1053
  do {
1405
- if (Zt(o, t)) return !0;
1054
+ if (mt(o, t)) return !0;
1406
1055
  if (o === r) return !1;
1407
1056
  o = o.parentNode;
1408
1057
  } while (o);
1409
1058
  return !1;
1410
1059
  }
1411
- function Br(e, t, r, o) {
1060
+ function Wt(e, t, r, o) {
1412
1061
  if (!e) return;
1413
1062
  const a = {
1414
1063
  capture: !0,
@@ -1416,7 +1065,7 @@ function Br(e, t, r, o) {
1416
1065
  };
1417
1066
  e.addEventListener ? e.addEventListener(t, r, a) : e.attachEvent ? e.attachEvent("on" + t, r) : e["on" + t] = r;
1418
1067
  }
1419
- function Vr(e, t, r, o) {
1068
+ function Lt(e, t, r, o) {
1420
1069
  if (!e) return;
1421
1070
  const a = {
1422
1071
  capture: !0,
@@ -1424,79 +1073,79 @@ function Vr(e, t, r, o) {
1424
1073
  };
1425
1074
  e.removeEventListener ? e.removeEventListener(t, r, a) : e.detachEvent ? e.detachEvent("on" + t, r) : e["on" + t] = null;
1426
1075
  }
1427
- function Hr(e) {
1076
+ function Ut(e) {
1428
1077
  let t = e.clientHeight;
1429
1078
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
1430
- return t += (0, ce.int)(r.borderTopWidth), t += (0, ce.int)(r.borderBottomWidth), t;
1079
+ return t += (0, J.int)(r.borderTopWidth), t += (0, J.int)(r.borderBottomWidth), t;
1431
1080
  }
1432
- function zr(e) {
1081
+ function Xt(e) {
1433
1082
  let t = e.clientWidth;
1434
1083
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
1435
- return t += (0, ce.int)(r.borderLeftWidth), t += (0, ce.int)(r.borderRightWidth), t;
1084
+ return t += (0, J.int)(r.borderLeftWidth), t += (0, J.int)(r.borderRightWidth), t;
1436
1085
  }
1437
- function Gr(e) {
1086
+ function qt(e) {
1438
1087
  let t = e.clientHeight;
1439
1088
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
1440
- return t -= (0, ce.int)(r.paddingTop), t -= (0, ce.int)(r.paddingBottom), t;
1089
+ return t -= (0, J.int)(r.paddingTop), t -= (0, J.int)(r.paddingBottom), t;
1441
1090
  }
1442
- function Jr(e) {
1091
+ function Bt(e) {
1443
1092
  let t = e.clientWidth;
1444
1093
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
1445
- return t -= (0, ce.int)(r.paddingLeft), t -= (0, ce.int)(r.paddingRight), t;
1094
+ return t -= (0, J.int)(r.paddingLeft), t -= (0, J.int)(r.paddingRight), t;
1446
1095
  }
1447
- function Kr(e, t, r) {
1096
+ function Ht(e, t, r) {
1448
1097
  const a = t === t.ownerDocument.body ? {
1449
1098
  left: 0,
1450
1099
  top: 0
1451
- } : t.getBoundingClientRect(), u = (e.clientX + t.scrollLeft - a.left) / r, p = (e.clientY + t.scrollTop - a.top) / r;
1100
+ } : t.getBoundingClientRect(), i = (e.clientX + t.scrollLeft - a.left) / r, d = (e.clientY + t.scrollTop - a.top) / r;
1452
1101
  return {
1453
- x: u,
1454
- y: p
1102
+ x: i,
1103
+ y: d
1455
1104
  };
1456
1105
  }
1457
- function Zr(e, t) {
1458
- const r = ut(e, t, "px");
1106
+ function zt(e, t) {
1107
+ const r = Ye(e, t, "px");
1459
1108
  return {
1460
- [(0, Yt.browserPrefixToKey)("transform", Yt.default)]: r
1109
+ [(0, rt.browserPrefixToKey)("transform", rt.default)]: r
1461
1110
  };
1462
1111
  }
1463
- function Qr(e, t) {
1464
- return ut(e, t, "");
1112
+ function Vt(e, t) {
1113
+ return Ye(e, t, "");
1465
1114
  }
1466
- function ut(e, t, r) {
1115
+ function Ye(e, t, r) {
1467
1116
  let {
1468
1117
  x: o,
1469
1118
  y: a
1470
- } = e, u = `translate(${o}${r},${a}${r})`;
1119
+ } = e, i = `translate(${o}${r},${a}${r})`;
1471
1120
  if (t) {
1472
- const p = `${typeof t.x == "string" ? t.x : t.x + r}`, c = `${typeof t.y == "string" ? t.y : t.y + r}`;
1473
- u = `translate(${p}, ${c})` + u;
1121
+ const d = `${typeof t.x == "string" ? t.x : t.x + r}`, u = `${typeof t.y == "string" ? t.y : t.y + r}`;
1122
+ i = `translate(${d}, ${u})` + i;
1474
1123
  }
1475
- return u;
1124
+ return i;
1476
1125
  }
1477
- function en(e, t) {
1478
- return e.targetTouches && (0, ce.findInArray)(e.targetTouches, (r) => t === r.identifier) || e.changedTouches && (0, ce.findInArray)(e.changedTouches, (r) => t === r.identifier);
1126
+ function Gt(e, t) {
1127
+ return e.targetTouches && (0, J.findInArray)(e.targetTouches, (r) => t === r.identifier) || e.changedTouches && (0, J.findInArray)(e.changedTouches, (r) => t === r.identifier);
1479
1128
  }
1480
- function tn(e) {
1129
+ function Jt(e) {
1481
1130
  if (e.targetTouches && e.targetTouches[0]) return e.targetTouches[0].identifier;
1482
1131
  if (e.changedTouches && e.changedTouches[0]) return e.changedTouches[0].identifier;
1483
1132
  }
1484
- function rn(e) {
1133
+ function Kt(e) {
1485
1134
  if (!e) return;
1486
1135
  let t = e.getElementById("react-draggable-style-el");
1487
1136
  t || (t = e.createElement("style"), t.type = "text/css", t.id = "react-draggable-style-el", t.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
1488
1137
  `, t.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
1489
- `, e.getElementsByTagName("head")[0].appendChild(t)), e.body && Qt(e.body, "react-draggable-transparent-selection");
1138
+ `, e.getElementsByTagName("head")[0].appendChild(t)), e.body && gt(e.body, "react-draggable-transparent-selection");
1490
1139
  }
1491
- function nn(e) {
1140
+ function Zt(e) {
1492
1141
  window.requestAnimationFrame ? window.requestAnimationFrame(() => {
1493
- Wt(e);
1494
- }) : Wt(e);
1142
+ nt(e);
1143
+ }) : nt(e);
1495
1144
  }
1496
- function Wt(e) {
1145
+ function nt(e) {
1497
1146
  if (e)
1498
1147
  try {
1499
- if (e.body && er(e.body, "react-draggable-transparent-selection"), e.selection)
1148
+ if (e.body && yt(e.body, "react-draggable-transparent-selection"), e.selection)
1500
1149
  e.selection.empty();
1501
1150
  else {
1502
1151
  const t = (e.defaultView || window).getSelection();
@@ -1505,66 +1154,66 @@ function Wt(e) {
1505
1154
  } catch {
1506
1155
  }
1507
1156
  }
1508
- function Qt(e, t) {
1157
+ function gt(e, t) {
1509
1158
  e.classList ? e.classList.add(t) : e.className.match(new RegExp(`(?:^|\\s)${t}(?!\\S)`)) || (e.className += ` ${t}`);
1510
1159
  }
1511
- function er(e, t) {
1160
+ function yt(e, t) {
1512
1161
  e.classList ? e.classList.remove(t) : e.className = e.className.replace(new RegExp(`(?:^|\\s)${t}(?!\\S)`, "g"), "");
1513
1162
  }
1514
- var ye = {};
1515
- Object.defineProperty(ye, "__esModule", {
1163
+ var re = {};
1164
+ Object.defineProperty(re, "__esModule", {
1516
1165
  value: !0
1517
1166
  });
1518
- ye.canDragX = sn;
1519
- ye.canDragY = ln;
1520
- ye.createCoreData = cn;
1521
- ye.createDraggableData = fn;
1522
- ye.getBoundPosition = on;
1523
- ye.getControlPosition = un;
1524
- ye.snapToGrid = an;
1525
- var ue = ge, je = V;
1526
- function on(e, t, r) {
1167
+ re.canDragX = tr;
1168
+ re.canDragY = rr;
1169
+ re.createCoreData = or;
1170
+ re.createDraggableData = ar;
1171
+ re.getBoundPosition = Qt;
1172
+ re.getControlPosition = nr;
1173
+ re.snapToGrid = er;
1174
+ var G = te, fe = F;
1175
+ function Qt(e, t, r) {
1527
1176
  if (!e.props.bounds) return [t, r];
1528
1177
  let {
1529
1178
  bounds: o
1530
1179
  } = e.props;
1531
- o = typeof o == "string" ? o : dn(o);
1532
- const a = ct(e);
1180
+ o = typeof o == "string" ? o : sr(o);
1181
+ const a = We(e);
1533
1182
  if (typeof o == "string") {
1534
1183
  const {
1535
- ownerDocument: u
1536
- } = a, p = u.defaultView;
1537
- let c;
1538
- if (o === "parent" ? c = a.parentNode : c = a.getRootNode().querySelector(o), !(c instanceof p.HTMLElement))
1184
+ ownerDocument: i
1185
+ } = a, d = i.defaultView;
1186
+ let u;
1187
+ if (o === "parent" ? u = a.parentNode : u = a.getRootNode().querySelector(o), !(u instanceof d.HTMLElement))
1539
1188
  throw new Error('Bounds selector "' + o + '" could not find an element.');
1540
- const d = c, m = p.getComputedStyle(a), g = p.getComputedStyle(d);
1189
+ const h = u, g = d.getComputedStyle(a), v = d.getComputedStyle(h);
1541
1190
  o = {
1542
- left: -a.offsetLeft + (0, ue.int)(g.paddingLeft) + (0, ue.int)(m.marginLeft),
1543
- top: -a.offsetTop + (0, ue.int)(g.paddingTop) + (0, ue.int)(m.marginTop),
1544
- right: (0, je.innerWidth)(d) - (0, je.outerWidth)(a) - a.offsetLeft + (0, ue.int)(g.paddingRight) - (0, ue.int)(m.marginRight),
1545
- bottom: (0, je.innerHeight)(d) - (0, je.outerHeight)(a) - a.offsetTop + (0, ue.int)(g.paddingBottom) - (0, ue.int)(m.marginBottom)
1191
+ left: -a.offsetLeft + (0, G.int)(v.paddingLeft) + (0, G.int)(g.marginLeft),
1192
+ top: -a.offsetTop + (0, G.int)(v.paddingTop) + (0, G.int)(g.marginTop),
1193
+ right: (0, fe.innerWidth)(h) - (0, fe.outerWidth)(a) - a.offsetLeft + (0, G.int)(v.paddingRight) - (0, G.int)(g.marginRight),
1194
+ bottom: (0, fe.innerHeight)(h) - (0, fe.outerHeight)(a) - a.offsetTop + (0, G.int)(v.paddingBottom) - (0, G.int)(g.marginBottom)
1546
1195
  };
1547
1196
  }
1548
- return (0, ue.isNum)(o.right) && (t = Math.min(t, o.right)), (0, ue.isNum)(o.bottom) && (r = Math.min(r, o.bottom)), (0, ue.isNum)(o.left) && (t = Math.max(t, o.left)), (0, ue.isNum)(o.top) && (r = Math.max(r, o.top)), [t, r];
1197
+ return (0, G.isNum)(o.right) && (t = Math.min(t, o.right)), (0, G.isNum)(o.bottom) && (r = Math.min(r, o.bottom)), (0, G.isNum)(o.left) && (t = Math.max(t, o.left)), (0, G.isNum)(o.top) && (r = Math.max(r, o.top)), [t, r];
1549
1198
  }
1550
- function an(e, t, r) {
1199
+ function er(e, t, r) {
1551
1200
  const o = Math.round(t / e[0]) * e[0], a = Math.round(r / e[1]) * e[1];
1552
1201
  return [o, a];
1553
1202
  }
1554
- function sn(e) {
1203
+ function tr(e) {
1555
1204
  return e.props.axis === "both" || e.props.axis === "x";
1556
1205
  }
1557
- function ln(e) {
1206
+ function rr(e) {
1558
1207
  return e.props.axis === "both" || e.props.axis === "y";
1559
1208
  }
1560
- function un(e, t, r) {
1561
- const o = typeof t == "number" ? (0, je.getTouch)(e, t) : null;
1209
+ function nr(e, t, r) {
1210
+ const o = typeof t == "number" ? (0, fe.getTouch)(e, t) : null;
1562
1211
  if (typeof t == "number" && !o) return null;
1563
- const a = ct(r), u = r.props.offsetParent || a.offsetParent || a.ownerDocument.body;
1564
- return (0, je.offsetXYFromParent)(o || e, u, r.props.scale);
1212
+ const a = We(r), i = r.props.offsetParent || a.offsetParent || a.ownerDocument.body;
1213
+ return (0, fe.offsetXYFromParent)(o || e, i, r.props.scale);
1565
1214
  }
1566
- function cn(e, t, r) {
1567
- const o = !(0, ue.isNum)(e.lastX), a = ct(e);
1215
+ function or(e, t, r) {
1216
+ const o = !(0, G.isNum)(e.lastX), a = We(e);
1568
1217
  return o ? {
1569
1218
  node: a,
1570
1219
  deltaX: 0,
@@ -1583,7 +1232,7 @@ function cn(e, t, r) {
1583
1232
  y: r
1584
1233
  };
1585
1234
  }
1586
- function fn(e, t) {
1235
+ function ar(e, t) {
1587
1236
  const r = e.props.scale;
1588
1237
  return {
1589
1238
  node: t.node,
@@ -1595,7 +1244,7 @@ function fn(e, t) {
1595
1244
  lastY: e.state.y
1596
1245
  };
1597
1246
  }
1598
- function dn(e) {
1247
+ function sr(e) {
1599
1248
  return {
1600
1249
  left: e.left,
1601
1250
  top: e.top,
@@ -1603,49 +1252,49 @@ function dn(e) {
1603
1252
  bottom: e.bottom
1604
1253
  };
1605
1254
  }
1606
- function ct(e) {
1255
+ function We(e) {
1607
1256
  const t = e.findDOMNode();
1608
1257
  if (!t)
1609
1258
  throw new Error("<DraggableCore>: Unmounted during event!");
1610
1259
  return t;
1611
1260
  }
1612
- var We = {}, Le = {};
1613
- Object.defineProperty(Le, "__esModule", {
1261
+ var Se = {}, xe = {};
1262
+ Object.defineProperty(xe, "__esModule", {
1614
1263
  value: !0
1615
1264
  });
1616
- Le.default = pn;
1617
- function pn() {
1265
+ xe.default = ir;
1266
+ function ir() {
1618
1267
  }
1619
- Object.defineProperty(We, "__esModule", {
1268
+ Object.defineProperty(Se, "__esModule", {
1620
1269
  value: !0
1621
1270
  });
1622
- We.default = void 0;
1623
- var tt = tr(Ie), ae = ft(Ht), hn = ft(Xt), re = V, xe = ye, rt = ge, Me = ft(Le);
1624
- function ft(e) {
1271
+ Se.default = void 0;
1272
+ var Oe = vt(Ie), B = Le(ut), lr = Le(st), q = F, le = re, De = te, he = Le(xe);
1273
+ function Le(e) {
1625
1274
  return e && e.__esModule ? e : { default: e };
1626
1275
  }
1627
- function tr(e, t) {
1276
+ function vt(e, t) {
1628
1277
  if (typeof WeakMap == "function") var r = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap();
1629
- return (tr = function(a, u) {
1630
- if (!u && a && a.__esModule) return a;
1631
- var p, c, d = { __proto__: null, default: a };
1632
- if (a === null || typeof a != "object" && typeof a != "function") return d;
1633
- if (p = u ? o : r) {
1634
- if (p.has(a)) return p.get(a);
1635
- p.set(a, d);
1636
- }
1637
- for (const m in a) m !== "default" && {}.hasOwnProperty.call(a, m) && ((c = (p = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, m)) && (c.get || c.set) ? p(d, m, c) : d[m] = a[m]);
1638
- return d;
1278
+ return (vt = function(a, i) {
1279
+ if (!i && a && a.__esModule) return a;
1280
+ var d, u, h = { __proto__: null, default: a };
1281
+ if (a === null || typeof a != "object" && typeof a != "function") return h;
1282
+ if (d = i ? o : r) {
1283
+ if (d.has(a)) return d.get(a);
1284
+ d.set(a, h);
1285
+ }
1286
+ for (const g in a) g !== "default" && {}.hasOwnProperty.call(a, g) && ((u = (d = Object.defineProperty) && Object.getOwnPropertyDescriptor(a, g)) && (u.get || u.set) ? d(h, g, u) : h[g] = a[g]);
1287
+ return h;
1639
1288
  })(e, t);
1640
1289
  }
1641
- function ie(e, t, r) {
1642
- return (t = vn(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
1290
+ function H(e, t, r) {
1291
+ return (t = cr(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
1643
1292
  }
1644
- function vn(e) {
1645
- var t = gn(e, "string");
1293
+ function cr(e) {
1294
+ var t = ur(e, "string");
1646
1295
  return typeof t == "symbol" ? t : t + "";
1647
1296
  }
1648
- function gn(e, t) {
1297
+ function ur(e, t) {
1649
1298
  if (typeof e != "object" || !e) return e;
1650
1299
  var r = e[Symbol.toPrimitive];
1651
1300
  if (r !== void 0) {
@@ -1655,7 +1304,7 @@ function gn(e, t) {
1655
1304
  }
1656
1305
  return (t === "string" ? String : Number)(e);
1657
1306
  }
1658
- const pe = {
1307
+ const Z = {
1659
1308
  touch: {
1660
1309
  start: "touchstart",
1661
1310
  move: "touchmove",
@@ -1667,9 +1316,9 @@ const pe = {
1667
1316
  stop: "mouseup"
1668
1317
  }
1669
1318
  };
1670
- let Ee = pe.mouse, Ue = class extends tt.Component {
1319
+ let ce = Z.mouse, Te = class extends Oe.Component {
1671
1320
  constructor() {
1672
- super(...arguments), ie(this, "dragging", !1), ie(this, "lastX", NaN), ie(this, "lastY", NaN), ie(this, "touchIdentifier", null), ie(this, "mounted", !1), ie(this, "handleDragStart", (t) => {
1321
+ super(...arguments), H(this, "dragging", !1), H(this, "lastX", NaN), H(this, "lastY", NaN), H(this, "touchIdentifier", null), H(this, "mounted", !1), H(this, "handleDragStart", (t) => {
1673
1322
  if (this.props.onMouseDown(t), !this.props.allowAnyClick && typeof t.button == "number" && t.button !== 0) return !1;
1674
1323
  const r = this.findDOMNode();
1675
1324
  if (!r || !r.ownerDocument || !r.ownerDocument.body)
@@ -1677,63 +1326,63 @@ let Ee = pe.mouse, Ue = class extends tt.Component {
1677
1326
  const {
1678
1327
  ownerDocument: o
1679
1328
  } = r;
1680
- if (this.props.disabled || !(t.target instanceof o.defaultView.Node) || this.props.handle && !(0, re.matchesSelectorAndParentsTo)(t.target, this.props.handle, r) || this.props.cancel && (0, re.matchesSelectorAndParentsTo)(t.target, this.props.cancel, r))
1329
+ if (this.props.disabled || !(t.target instanceof o.defaultView.Node) || this.props.handle && !(0, q.matchesSelectorAndParentsTo)(t.target, this.props.handle, r) || this.props.cancel && (0, q.matchesSelectorAndParentsTo)(t.target, this.props.cancel, r))
1681
1330
  return;
1682
1331
  t.type === "touchstart" && !this.props.allowMobileScroll && t.preventDefault();
1683
- const a = (0, re.getTouchIdentifier)(t);
1332
+ const a = (0, q.getTouchIdentifier)(t);
1684
1333
  this.touchIdentifier = a;
1685
- const u = (0, xe.getControlPosition)(t, a, this);
1686
- if (u == null) return;
1334
+ const i = (0, le.getControlPosition)(t, a, this);
1335
+ if (i == null) return;
1687
1336
  const {
1688
- x: p,
1689
- y: c
1690
- } = u, d = (0, xe.createCoreData)(this, p, c);
1691
- (0, Me.default)("DraggableCore: handleDragStart: %j", d), (0, Me.default)("calling", this.props.onStart), !(this.props.onStart(t, d) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, re.addUserSelectStyles)(o), this.dragging = !0, this.lastX = p, this.lastY = c, (0, re.addEvent)(o, Ee.move, this.handleDrag), (0, re.addEvent)(o, Ee.stop, this.handleDragStop));
1692
- }), ie(this, "handleDrag", (t) => {
1693
- const r = (0, xe.getControlPosition)(t, this.touchIdentifier, this);
1337
+ x: d,
1338
+ y: u
1339
+ } = i, h = (0, le.createCoreData)(this, d, u);
1340
+ (0, he.default)("DraggableCore: handleDragStart: %j", h), (0, he.default)("calling", this.props.onStart), !(this.props.onStart(t, h) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, q.addUserSelectStyles)(o), this.dragging = !0, this.lastX = d, this.lastY = u, (0, q.addEvent)(o, ce.move, this.handleDrag), (0, q.addEvent)(o, ce.stop, this.handleDragStop));
1341
+ }), H(this, "handleDrag", (t) => {
1342
+ const r = (0, le.getControlPosition)(t, this.touchIdentifier, this);
1694
1343
  if (r == null) return;
1695
1344
  let {
1696
1345
  x: o,
1697
1346
  y: a
1698
1347
  } = r;
1699
1348
  if (Array.isArray(this.props.grid)) {
1700
- let c = o - this.lastX, d = a - this.lastY;
1701
- if ([c, d] = (0, xe.snapToGrid)(this.props.grid, c, d), !c && !d) return;
1702
- o = this.lastX + c, a = this.lastY + d;
1349
+ let u = o - this.lastX, h = a - this.lastY;
1350
+ if ([u, h] = (0, le.snapToGrid)(this.props.grid, u, h), !u && !h) return;
1351
+ o = this.lastX + u, a = this.lastY + h;
1703
1352
  }
1704
- const u = (0, xe.createCoreData)(this, o, a);
1705
- if ((0, Me.default)("DraggableCore: handleDrag: %j", u), this.props.onDrag(t, u) === !1 || this.mounted === !1) {
1353
+ const i = (0, le.createCoreData)(this, o, a);
1354
+ if ((0, he.default)("DraggableCore: handleDrag: %j", i), this.props.onDrag(t, i) === !1 || this.mounted === !1) {
1706
1355
  try {
1707
1356
  this.handleDragStop(new MouseEvent("mouseup"));
1708
1357
  } catch {
1709
- const d = document.createEvent("MouseEvents");
1710
- d.initMouseEvent("mouseup", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), this.handleDragStop(d);
1358
+ const h = document.createEvent("MouseEvents");
1359
+ h.initMouseEvent("mouseup", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), this.handleDragStop(h);
1711
1360
  }
1712
1361
  return;
1713
1362
  }
1714
1363
  this.lastX = o, this.lastY = a;
1715
- }), ie(this, "handleDragStop", (t) => {
1364
+ }), H(this, "handleDragStop", (t) => {
1716
1365
  if (!this.dragging) return;
1717
- const r = (0, xe.getControlPosition)(t, this.touchIdentifier, this);
1366
+ const r = (0, le.getControlPosition)(t, this.touchIdentifier, this);
1718
1367
  if (r == null) return;
1719
1368
  let {
1720
1369
  x: o,
1721
1370
  y: a
1722
1371
  } = r;
1723
1372
  if (Array.isArray(this.props.grid)) {
1724
- let d = o - this.lastX || 0, m = a - this.lastY || 0;
1725
- [d, m] = (0, xe.snapToGrid)(this.props.grid, d, m), o = this.lastX + d, a = this.lastY + m;
1373
+ let h = o - this.lastX || 0, g = a - this.lastY || 0;
1374
+ [h, g] = (0, le.snapToGrid)(this.props.grid, h, g), o = this.lastX + h, a = this.lastY + g;
1726
1375
  }
1727
- const u = (0, xe.createCoreData)(this, o, a);
1728
- if (this.props.onStop(t, u) === !1 || this.mounted === !1) return !1;
1729
- const c = this.findDOMNode();
1730
- c && this.props.enableUserSelectHack && (0, re.scheduleRemoveUserSelectStyles)(c.ownerDocument), (0, Me.default)("DraggableCore: handleDragStop: %j", u), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, c && ((0, Me.default)("DraggableCore: Removing handlers"), (0, re.removeEvent)(c.ownerDocument, Ee.move, this.handleDrag), (0, re.removeEvent)(c.ownerDocument, Ee.stop, this.handleDragStop));
1731
- }), ie(this, "onMouseDown", (t) => (Ee = pe.mouse, this.handleDragStart(t))), ie(this, "onMouseUp", (t) => (Ee = pe.mouse, this.handleDragStop(t))), ie(this, "onTouchStart", (t) => (Ee = pe.touch, this.handleDragStart(t))), ie(this, "onTouchEnd", (t) => (Ee = pe.touch, this.handleDragStop(t)));
1376
+ const i = (0, le.createCoreData)(this, o, a);
1377
+ if (this.props.onStop(t, i) === !1 || this.mounted === !1) return !1;
1378
+ const u = this.findDOMNode();
1379
+ u && this.props.enableUserSelectHack && (0, q.scheduleRemoveUserSelectStyles)(u.ownerDocument), (0, he.default)("DraggableCore: handleDragStop: %j", i), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, u && ((0, he.default)("DraggableCore: Removing handlers"), (0, q.removeEvent)(u.ownerDocument, ce.move, this.handleDrag), (0, q.removeEvent)(u.ownerDocument, ce.stop, this.handleDragStop));
1380
+ }), H(this, "onMouseDown", (t) => (ce = Z.mouse, this.handleDragStart(t))), H(this, "onMouseUp", (t) => (ce = Z.mouse, this.handleDragStop(t))), H(this, "onTouchStart", (t) => (ce = Z.touch, this.handleDragStart(t))), H(this, "onTouchEnd", (t) => (ce = Z.touch, this.handleDragStop(t)));
1732
1381
  }
1733
1382
  componentDidMount() {
1734
1383
  this.mounted = !0;
1735
1384
  const t = this.findDOMNode();
1736
- t && (0, re.addEvent)(t, pe.touch.start, this.onTouchStart, {
1385
+ t && (0, q.addEvent)(t, Z.touch.start, this.onTouchStart, {
1737
1386
  passive: !1
1738
1387
  });
1739
1388
  }
@@ -1744,19 +1393,19 @@ let Ee = pe.mouse, Ue = class extends tt.Component {
1744
1393
  const {
1745
1394
  ownerDocument: r
1746
1395
  } = t;
1747
- (0, re.removeEvent)(r, pe.mouse.move, this.handleDrag), (0, re.removeEvent)(r, pe.touch.move, this.handleDrag), (0, re.removeEvent)(r, pe.mouse.stop, this.handleDragStop), (0, re.removeEvent)(r, pe.touch.stop, this.handleDragStop), (0, re.removeEvent)(t, pe.touch.start, this.onTouchStart, {
1396
+ (0, q.removeEvent)(r, Z.mouse.move, this.handleDrag), (0, q.removeEvent)(r, Z.touch.move, this.handleDrag), (0, q.removeEvent)(r, Z.mouse.stop, this.handleDragStop), (0, q.removeEvent)(r, Z.touch.stop, this.handleDragStop), (0, q.removeEvent)(t, Z.touch.start, this.onTouchStart, {
1748
1397
  passive: !1
1749
- }), this.props.enableUserSelectHack && (0, re.scheduleRemoveUserSelectStyles)(r);
1398
+ }), this.props.enableUserSelectHack && (0, q.scheduleRemoveUserSelectStyles)(r);
1750
1399
  }
1751
1400
  }
1752
1401
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
1753
1402
  // the underlying DOM node ourselves. See the README for more information.
1754
1403
  findDOMNode() {
1755
1404
  var t, r, o;
1756
- return (t = this.props) != null && t.nodeRef ? (o = (r = this.props) == null ? void 0 : r.nodeRef) == null ? void 0 : o.current : hn.default.findDOMNode(this);
1405
+ return (t = this.props) != null && t.nodeRef ? (o = (r = this.props) == null ? void 0 : r.nodeRef) == null ? void 0 : o.current : lr.default.findDOMNode(this);
1757
1406
  }
1758
1407
  render() {
1759
- return /* @__PURE__ */ tt.cloneElement(tt.Children.only(this.props.children), {
1408
+ return /* @__PURE__ */ Oe.cloneElement(Oe.Children.only(this.props.children), {
1760
1409
  // Note: mouseMove handler is attached to document so it will still function
1761
1410
  // when the user drags quickly and leaves the bounds of the element.
1762
1411
  onMouseDown: this.onMouseDown,
@@ -1768,16 +1417,16 @@ let Ee = pe.mouse, Ue = class extends tt.Component {
1768
1417
  });
1769
1418
  }
1770
1419
  };
1771
- We.default = Ue;
1772
- ie(Ue, "displayName", "DraggableCore");
1773
- ie(Ue, "propTypes", {
1420
+ Se.default = Te;
1421
+ H(Te, "displayName", "DraggableCore");
1422
+ H(Te, "propTypes", {
1774
1423
  /**
1775
1424
  * `allowAnyClick` allows dragging using any mouse button.
1776
1425
  * By default, we only accept the left button.
1777
1426
  *
1778
1427
  * Defaults to `false`.
1779
1428
  */
1780
- allowAnyClick: ae.default.bool,
1429
+ allowAnyClick: B.default.bool,
1781
1430
  /**
1782
1431
  * `allowMobileScroll` turns off cancellation of the 'touchstart' event
1783
1432
  * on mobile devices. Only enable this if you are having trouble with click
@@ -1785,19 +1434,19 @@ ie(Ue, "propTypes", {
1785
1434
  *
1786
1435
  * Defaults to `false`.
1787
1436
  */
1788
- allowMobileScroll: ae.default.bool,
1789
- children: ae.default.node.isRequired,
1437
+ allowMobileScroll: B.default.bool,
1438
+ children: B.default.node.isRequired,
1790
1439
  /**
1791
1440
  * `disabled`, if true, stops the <Draggable> from dragging. All handlers,
1792
1441
  * with the exception of `onMouseDown`, will not fire.
1793
1442
  */
1794
- disabled: ae.default.bool,
1443
+ disabled: B.default.bool,
1795
1444
  /**
1796
1445
  * By default, we add 'user-select:none' attributes to the document body
1797
1446
  * to prevent ugly text selection during drag. If this is causing problems
1798
1447
  * for your app, set this to `false`.
1799
1448
  */
1800
- enableUserSelectHack: ae.default.bool,
1449
+ enableUserSelectHack: B.default.bool,
1801
1450
  /**
1802
1451
  * `offsetParent`, if set, uses the passed DOM node to compute drag offsets
1803
1452
  * instead of using the parent node.
@@ -1809,7 +1458,7 @@ ie(Ue, "propTypes", {
1809
1458
  /**
1810
1459
  * `grid` specifies the x and y that dragging should snap to.
1811
1460
  */
1812
- grid: ae.default.arrayOf(ae.default.number),
1461
+ grid: B.default.arrayOf(B.default.number),
1813
1462
  /**
1814
1463
  * `handle` specifies a selector to be used as the handle that initiates drag.
1815
1464
  *
@@ -1830,7 +1479,7 @@ ie(Ue, "propTypes", {
1830
1479
  * });
1831
1480
  * ```
1832
1481
  */
1833
- handle: ae.default.string,
1482
+ handle: B.default.string,
1834
1483
  /**
1835
1484
  * `cancel` specifies a selector to be used to prevent drag initialization.
1836
1485
  *
@@ -1851,7 +1500,7 @@ ie(Ue, "propTypes", {
1851
1500
  * });
1852
1501
  * ```
1853
1502
  */
1854
- cancel: ae.default.string,
1503
+ cancel: B.default.string,
1855
1504
  /* If running in React Strict mode, ReactDOM.findDOMNode() is deprecated.
1856
1505
  * Unfortunately, in order for <Draggable> to work properly, we need raw access
1857
1506
  * to the underlying DOM node. If you want to avoid the warning, pass a `nodeRef`
@@ -1869,39 +1518,39 @@ ie(Ue, "propTypes", {
1869
1518
  * This can be used for arbitrarily nested components, so long as the ref ends up
1870
1519
  * pointing to the actual child DOM node and not a custom component.
1871
1520
  */
1872
- nodeRef: ae.default.object,
1521
+ nodeRef: B.default.object,
1873
1522
  /**
1874
1523
  * Called when dragging starts.
1875
1524
  * If this function returns the boolean false, dragging will be canceled.
1876
1525
  */
1877
- onStart: ae.default.func,
1526
+ onStart: B.default.func,
1878
1527
  /**
1879
1528
  * Called while dragging.
1880
1529
  * If this function returns the boolean false, dragging will be canceled.
1881
1530
  */
1882
- onDrag: ae.default.func,
1531
+ onDrag: B.default.func,
1883
1532
  /**
1884
1533
  * Called when dragging stops.
1885
1534
  * If this function returns the boolean false, the drag will remain active.
1886
1535
  */
1887
- onStop: ae.default.func,
1536
+ onStop: B.default.func,
1888
1537
  /**
1889
1538
  * A workaround option which can be passed if onMouseDown needs to be accessed,
1890
1539
  * since it'll always be blocked (as there is internal use of onMouseDown)
1891
1540
  */
1892
- onMouseDown: ae.default.func,
1541
+ onMouseDown: B.default.func,
1893
1542
  /**
1894
1543
  * `scale`, if set, applies scaling while dragging an element
1895
1544
  */
1896
- scale: ae.default.number,
1545
+ scale: B.default.number,
1897
1546
  /**
1898
1547
  * These properties should be defined on the child, not here.
1899
1548
  */
1900
- className: rt.dontSetMe,
1901
- style: rt.dontSetMe,
1902
- transform: rt.dontSetMe
1549
+ className: De.dontSetMe,
1550
+ style: De.dontSetMe,
1551
+ transform: De.dontSetMe
1903
1552
  });
1904
- ie(Ue, "defaultProps", {
1553
+ H(Te, "defaultProps", {
1905
1554
  allowAnyClick: !1,
1906
1555
  // by default only accept left click
1907
1556
  allowMobileScroll: !1,
@@ -1923,65 +1572,65 @@ ie(Ue, "defaultProps", {
1923
1572
  }), Object.defineProperty(e, "DraggableCore", {
1924
1573
  enumerable: !0,
1925
1574
  get: function() {
1926
- return d.default;
1575
+ return h.default;
1927
1576
  }
1928
1577
  }), e.default = void 0;
1929
- var t = T(Ie), r = g(Ht), o = g(Xt), a = $r, u = V, p = ye, c = ge, d = g(We), m = g(Le);
1930
- function g(x) {
1931
- return x && x.__esModule ? x : { default: x };
1578
+ var t = P(Ie), r = v(ut), o = v(st), a = Dt, i = F, d = re, u = te, h = v(Se), g = v(xe);
1579
+ function v(_) {
1580
+ return _ && _.__esModule ? _ : { default: _ };
1932
1581
  }
1933
- function T(x, b) {
1934
- if (typeof WeakMap == "function") var C = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap();
1935
- return (T = function(i, k) {
1936
- if (!k && i && i.__esModule) return i;
1937
- var Z, Q, G = { __proto__: null, default: i };
1938
- if (i === null || typeof i != "object" && typeof i != "function") return G;
1939
- if (Z = k ? S : C) {
1940
- if (Z.has(i)) return Z.get(i);
1941
- Z.set(i, G);
1582
+ function P(_, x) {
1583
+ if (typeof WeakMap == "function") var E = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap();
1584
+ return (P = function(s, R) {
1585
+ if (!R && s && s.__esModule) return s;
1586
+ var L, U, Y = { __proto__: null, default: s };
1587
+ if (s === null || typeof s != "object" && typeof s != "function") return Y;
1588
+ if (L = R ? S : E) {
1589
+ if (L.has(s)) return L.get(s);
1590
+ L.set(s, Y);
1942
1591
  }
1943
- for (const J in i) J !== "default" && {}.hasOwnProperty.call(i, J) && ((Q = (Z = Object.defineProperty) && Object.getOwnPropertyDescriptor(i, J)) && (Q.get || Q.set) ? Z(G, J, Q) : G[J] = i[J]);
1944
- return G;
1945
- })(x, b);
1592
+ for (const W in s) W !== "default" && {}.hasOwnProperty.call(s, W) && ((U = (L = Object.defineProperty) && Object.getOwnPropertyDescriptor(s, W)) && (U.get || U.set) ? L(Y, W, U) : Y[W] = s[W]);
1593
+ return Y;
1594
+ })(_, x);
1946
1595
  }
1947
1596
  function A() {
1948
- return A = Object.assign ? Object.assign.bind() : function(x) {
1949
- for (var b = 1; b < arguments.length; b++) {
1950
- var C = arguments[b];
1951
- for (var S in C) ({}).hasOwnProperty.call(C, S) && (x[S] = C[S]);
1597
+ return A = Object.assign ? Object.assign.bind() : function(_) {
1598
+ for (var x = 1; x < arguments.length; x++) {
1599
+ var E = arguments[x];
1600
+ for (var S in E) ({}).hasOwnProperty.call(E, S) && (_[S] = E[S]);
1952
1601
  }
1953
- return x;
1602
+ return _;
1954
1603
  }, A.apply(null, arguments);
1955
1604
  }
1956
- function Y(x, b, C) {
1957
- return (b = q(b)) in x ? Object.defineProperty(x, b, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : x[b] = C, x;
1605
+ function N(_, x, E) {
1606
+ return (x = I(x)) in _ ? Object.defineProperty(_, x, { value: E, enumerable: !0, configurable: !0, writable: !0 }) : _[x] = E, _;
1958
1607
  }
1959
- function q(x) {
1960
- var b = X(x, "string");
1961
- return typeof b == "symbol" ? b : b + "";
1608
+ function I(_) {
1609
+ var x = $(_, "string");
1610
+ return typeof x == "symbol" ? x : x + "";
1962
1611
  }
1963
- function X(x, b) {
1964
- if (typeof x != "object" || !x) return x;
1965
- var C = x[Symbol.toPrimitive];
1966
- if (C !== void 0) {
1967
- var S = C.call(x, b);
1612
+ function $(_, x) {
1613
+ if (typeof _ != "object" || !_) return _;
1614
+ var E = _[Symbol.toPrimitive];
1615
+ if (E !== void 0) {
1616
+ var S = E.call(_, x);
1968
1617
  if (typeof S != "object") return S;
1969
1618
  throw new TypeError("@@toPrimitive must return a primitive value.");
1970
1619
  }
1971
- return (b === "string" ? String : Number)(x);
1620
+ return (x === "string" ? String : Number)(_);
1972
1621
  }
1973
- class _ extends t.Component {
1622
+ class T extends t.Component {
1974
1623
  // React 16.3+
1975
1624
  // Arity (props, state)
1976
- static getDerivedStateFromProps(b, C) {
1625
+ static getDerivedStateFromProps(x, E) {
1977
1626
  let {
1978
1627
  position: S
1979
- } = b, {
1980
- prevPropsPosition: i
1981
- } = C;
1982
- return S && (!i || S.x !== i.x || S.y !== i.y) ? ((0, m.default)("Draggable: getDerivedStateFromProps %j", {
1628
+ } = x, {
1629
+ prevPropsPosition: s
1630
+ } = E;
1631
+ return S && (!s || S.x !== s.x || S.y !== s.y) ? ((0, g.default)("Draggable: getDerivedStateFromProps %j", {
1983
1632
  position: S,
1984
- prevPropsPosition: i
1633
+ prevPropsPosition: s
1985
1634
  }), {
1986
1635
  x: S.x,
1987
1636
  y: S.y,
@@ -1990,66 +1639,66 @@ ie(Ue, "defaultProps", {
1990
1639
  }
1991
1640
  }) : null;
1992
1641
  }
1993
- constructor(b) {
1994
- super(b), Y(this, "onDragStart", (C, S) => {
1995
- if ((0, m.default)("Draggable: onDragStart: %j", S), this.props.onStart(C, (0, p.createDraggableData)(this, S)) === !1) return !1;
1642
+ constructor(x) {
1643
+ super(x), N(this, "onDragStart", (E, S) => {
1644
+ if ((0, g.default)("Draggable: onDragStart: %j", S), this.props.onStart(E, (0, d.createDraggableData)(this, S)) === !1) return !1;
1996
1645
  this.setState({
1997
1646
  dragging: !0,
1998
1647
  dragged: !0
1999
1648
  });
2000
- }), Y(this, "onDrag", (C, S) => {
1649
+ }), N(this, "onDrag", (E, S) => {
2001
1650
  if (!this.state.dragging) return !1;
2002
- (0, m.default)("Draggable: onDrag: %j", S);
2003
- const i = (0, p.createDraggableData)(this, S), k = {
2004
- x: i.x,
2005
- y: i.y,
1651
+ (0, g.default)("Draggable: onDrag: %j", S);
1652
+ const s = (0, d.createDraggableData)(this, S), R = {
1653
+ x: s.x,
1654
+ y: s.y,
2006
1655
  slackX: 0,
2007
1656
  slackY: 0
2008
1657
  };
2009
1658
  if (this.props.bounds) {
2010
1659
  const {
2011
- x: Q,
2012
- y: G
2013
- } = k;
2014
- k.x += this.state.slackX, k.y += this.state.slackY;
2015
- const [J, me] = (0, p.getBoundPosition)(this, k.x, k.y);
2016
- k.x = J, k.y = me, k.slackX = this.state.slackX + (Q - k.x), k.slackY = this.state.slackY + (G - k.y), i.x = k.x, i.y = k.y, i.deltaX = k.x - this.state.x, i.deltaY = k.y - this.state.y;
1660
+ x: U,
1661
+ y: Y
1662
+ } = R;
1663
+ R.x += this.state.slackX, R.y += this.state.slackY;
1664
+ const [W, ne] = (0, d.getBoundPosition)(this, R.x, R.y);
1665
+ R.x = W, R.y = ne, R.slackX = this.state.slackX + (U - R.x), R.slackY = this.state.slackY + (Y - R.y), s.x = R.x, s.y = R.y, s.deltaX = R.x - this.state.x, s.deltaY = R.y - this.state.y;
2017
1666
  }
2018
- if (this.props.onDrag(C, i) === !1) return !1;
2019
- this.setState(k);
2020
- }), Y(this, "onDragStop", (C, S) => {
2021
- if (!this.state.dragging || this.props.onStop(C, (0, p.createDraggableData)(this, S)) === !1) return !1;
2022
- (0, m.default)("Draggable: onDragStop: %j", S);
2023
- const k = {
1667
+ if (this.props.onDrag(E, s) === !1) return !1;
1668
+ this.setState(R);
1669
+ }), N(this, "onDragStop", (E, S) => {
1670
+ if (!this.state.dragging || this.props.onStop(E, (0, d.createDraggableData)(this, S)) === !1) return !1;
1671
+ (0, g.default)("Draggable: onDragStop: %j", S);
1672
+ const R = {
2024
1673
  dragging: !1,
2025
1674
  slackX: 0,
2026
1675
  slackY: 0
2027
1676
  };
2028
1677
  if (!!this.props.position) {
2029
1678
  const {
2030
- x: Q,
2031
- y: G
1679
+ x: U,
1680
+ y: Y
2032
1681
  } = this.props.position;
2033
- k.x = Q, k.y = G;
1682
+ R.x = U, R.y = Y;
2034
1683
  }
2035
- this.setState(k);
1684
+ this.setState(R);
2036
1685
  }), this.state = {
2037
1686
  // Whether or not we are currently dragging.
2038
1687
  dragging: !1,
2039
1688
  // Whether or not we have been dragged before.
2040
1689
  dragged: !1,
2041
1690
  // Current transform x and y.
2042
- x: b.position ? b.position.x : b.defaultPosition.x,
2043
- y: b.position ? b.position.y : b.defaultPosition.y,
1691
+ x: x.position ? x.position.x : x.defaultPosition.x,
1692
+ y: x.position ? x.position.y : x.defaultPosition.y,
2044
1693
  prevPropsPosition: {
2045
- ...b.position
1694
+ ...x.position
2046
1695
  },
2047
1696
  // Used for compensating for out-of-bounds drags
2048
1697
  slackX: 0,
2049
1698
  slackY: 0,
2050
1699
  // Can only determine if SVG after mounting
2051
1700
  isElementSVG: !1
2052
- }, b.position && !(b.onDrag || b.onStop) && console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.");
1701
+ }, x.position && !(x.onDrag || x.onStop) && console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.");
2053
1702
  }
2054
1703
  componentDidMount() {
2055
1704
  typeof window.SVGElement < "u" && this.findDOMNode() instanceof window.SVGElement && this.setState({
@@ -2064,52 +1713,52 @@ ie(Ue, "defaultProps", {
2064
1713
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
2065
1714
  // the underlying DOM node ourselves. See the README for more information.
2066
1715
  findDOMNode() {
2067
- var b, C;
2068
- return ((C = (b = this.props) == null ? void 0 : b.nodeRef) == null ? void 0 : C.current) ?? o.default.findDOMNode(this);
1716
+ var x, E;
1717
+ return ((E = (x = this.props) == null ? void 0 : x.nodeRef) == null ? void 0 : E.current) ?? o.default.findDOMNode(this);
2069
1718
  }
2070
1719
  render() {
2071
1720
  const {
2072
- axis: b,
2073
- bounds: C,
1721
+ axis: x,
1722
+ bounds: E,
2074
1723
  children: S,
2075
- defaultPosition: i,
2076
- defaultClassName: k,
2077
- defaultClassNameDragging: Z,
2078
- defaultClassNameDragged: Q,
2079
- position: G,
2080
- positionOffset: J,
2081
- scale: me,
2082
- ...be
1724
+ defaultPosition: s,
1725
+ defaultClassName: R,
1726
+ defaultClassNameDragging: L,
1727
+ defaultClassNameDragged: U,
1728
+ position: Y,
1729
+ positionOffset: W,
1730
+ scale: ne,
1731
+ ...oe
2083
1732
  } = this.props;
2084
- let ne = {}, K = null;
2085
- const ee = !!!G || this.state.dragging, le = G || i, ve = {
1733
+ let ae = {}, K = null;
1734
+ const X = !!!Y || this.state.dragging, V = Y || s, Q = {
2086
1735
  // Set left if horizontal drag is enabled
2087
- x: (0, p.canDragX)(this) && ee ? this.state.x : le.x,
1736
+ x: (0, d.canDragX)(this) && X ? this.state.x : V.x,
2088
1737
  // Set top if vertical drag is enabled
2089
- y: (0, p.canDragY)(this) && ee ? this.state.y : le.y
1738
+ y: (0, d.canDragY)(this) && X ? this.state.y : V.y
2090
1739
  };
2091
- this.state.isElementSVG ? K = (0, u.createSVGTransform)(ve, J) : ne = (0, u.createCSSTransform)(ve, J);
2092
- const Se = (0, a.clsx)(S.props.className || "", k, {
2093
- [Z]: this.state.dragging,
2094
- [Q]: this.state.dragged
1740
+ this.state.isElementSVG ? K = (0, i.createSVGTransform)(Q, W) : ae = (0, i.createCSSTransform)(Q, W);
1741
+ const ie = (0, a.clsx)(S.props.className || "", R, {
1742
+ [L]: this.state.dragging,
1743
+ [U]: this.state.dragged
2095
1744
  });
2096
- return /* @__PURE__ */ t.createElement(d.default, A({}, be, {
1745
+ return /* @__PURE__ */ t.createElement(h.default, A({}, oe, {
2097
1746
  onStart: this.onDragStart,
2098
1747
  onDrag: this.onDrag,
2099
1748
  onStop: this.onDragStop
2100
1749
  }), /* @__PURE__ */ t.cloneElement(t.Children.only(S), {
2101
- className: Se,
1750
+ className: ie,
2102
1751
  style: {
2103
1752
  ...S.props.style,
2104
- ...ne
1753
+ ...ae
2105
1754
  },
2106
1755
  transform: K
2107
1756
  }));
2108
1757
  }
2109
1758
  }
2110
- e.default = _, Y(_, "displayName", "Draggable"), Y(_, "propTypes", {
1759
+ e.default = T, N(T, "displayName", "Draggable"), N(T, "propTypes", {
2111
1760
  // Accepts all props <DraggableCore> accepts.
2112
- ...d.default.propTypes,
1761
+ ...h.default.propTypes,
2113
1762
  /**
2114
1763
  * `axis` determines which axis the draggable can move.
2115
1764
  *
@@ -2211,11 +1860,11 @@ ie(Ue, "defaultProps", {
2211
1860
  /**
2212
1861
  * These properties should be defined on the child, not here.
2213
1862
  */
2214
- className: c.dontSetMe,
2215
- style: c.dontSetMe,
2216
- transform: c.dontSetMe
2217
- }), Y(_, "defaultProps", {
2218
- ...d.default.defaultProps,
1863
+ className: u.dontSetMe,
1864
+ style: u.dontSetMe,
1865
+ transform: u.dontSetMe
1866
+ }), N(T, "defaultProps", {
1867
+ ...h.default.defaultProps,
2219
1868
  axis: "both",
2220
1869
  bounds: !1,
2221
1870
  defaultClassName: "react-draggable",
@@ -2227,41 +1876,41 @@ ie(Ue, "defaultProps", {
2227
1876
  },
2228
1877
  scale: 1
2229
1878
  });
2230
- })(qt);
1879
+ })(it);
2231
1880
  const {
2232
- default: rr,
2233
- DraggableCore: yn
2234
- } = qt;
2235
- Ye.exports = rr;
2236
- Ye.exports.default = rr;
2237
- Ye.exports.DraggableCore = yn;
2238
- var mn = Ye.exports;
2239
- const bn = /* @__PURE__ */ Cr(mn), Sn = ({
1881
+ default: bt,
1882
+ DraggableCore: fr
1883
+ } = it;
1884
+ be.exports = bt;
1885
+ be.exports.default = bt;
1886
+ be.exports.DraggableCore = fr;
1887
+ var dr = be.exports;
1888
+ const pr = /* @__PURE__ */ St(dr), hr = ({
2240
1889
  title: e,
2241
1890
  collapsed: t = !1,
2242
1891
  draggable: r = !0,
2243
1892
  position: o = { x: 20, y: 20 },
2244
1893
  children: a
2245
1894
  }) => {
2246
- const [u, p] = Ae(t);
2247
- return /* @__PURE__ */ f.jsx(
2248
- bn,
1895
+ const [i, d] = me(t);
1896
+ return /* @__PURE__ */ c.jsx(
1897
+ pr,
2249
1898
  {
2250
1899
  handle: ".font-controls-header",
2251
1900
  disabled: !r,
2252
1901
  defaultPosition: o,
2253
1902
  bounds: "parent",
2254
- children: /* @__PURE__ */ f.jsxs("div", { className: "font-controls-panel", children: [
2255
- /* @__PURE__ */ f.jsxs("div", { className: "font-controls-header", children: [
2256
- /* @__PURE__ */ f.jsx("h3", { className: "font-controls-title", children: e }),
2257
- /* @__PURE__ */ f.jsx(
1903
+ children: /* @__PURE__ */ c.jsxs("div", { className: "font-controls-panel", children: [
1904
+ /* @__PURE__ */ c.jsxs("div", { className: "font-controls-header", children: [
1905
+ /* @__PURE__ */ c.jsx("h3", { className: "font-controls-title", children: e }),
1906
+ /* @__PURE__ */ c.jsx(
2258
1907
  "button",
2259
1908
  {
2260
- className: `font-controls-toggle ${u ? "collapsed" : ""}`,
2261
- onClick: () => p(!u),
1909
+ className: `font-controls-toggle ${i ? "collapsed" : ""}`,
1910
+ onClick: () => d(!i),
2262
1911
  type: "button",
2263
- "aria-label": u ? "Expand" : "Collapse",
2264
- children: /* @__PURE__ */ f.jsx(
1912
+ "aria-label": i ? "Expand" : "Collapse",
1913
+ children: /* @__PURE__ */ c.jsx(
2265
1914
  "svg",
2266
1915
  {
2267
1916
  viewBox: "0 0 24 24",
@@ -2270,42 +1919,42 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2270
1919
  strokeWidth: "2",
2271
1920
  strokeLinecap: "round",
2272
1921
  strokeLinejoin: "round",
2273
- children: /* @__PURE__ */ f.jsx("polyline", { points: "6 9 12 15 18 9" })
1922
+ children: /* @__PURE__ */ c.jsx("polyline", { points: "6 9 12 15 18 9" })
2274
1923
  }
2275
1924
  )
2276
1925
  }
2277
1926
  )
2278
1927
  ] }),
2279
- !u && /* @__PURE__ */ f.jsx("div", { className: "font-controls-content", children: a })
1928
+ !i && /* @__PURE__ */ c.jsx("div", { className: "font-controls-content", children: a })
2280
1929
  ] })
2281
1930
  }
2282
1931
  );
2283
- }, xn = ({
1932
+ }, mr = ({
2284
1933
  value: e,
2285
1934
  onChange: t,
2286
1935
  fontFamilies: r
2287
- }) => /* @__PURE__ */ f.jsxs("div", { className: "font-control-group", children: [
2288
- /* @__PURE__ */ f.jsx("label", { className: "font-control-label", children: "Font Family" }),
2289
- /* @__PURE__ */ f.jsx(
1936
+ }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
1937
+ /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Font Family" }),
1938
+ /* @__PURE__ */ c.jsx(
2290
1939
  "select",
2291
1940
  {
2292
1941
  className: "font-control-input font-control-select",
2293
1942
  value: e,
2294
1943
  onChange: (o) => t(o.target.value),
2295
1944
  style: { fontFamily: e },
2296
- children: r.map((o) => /* @__PURE__ */ f.jsx("option", { value: o, style: { fontFamily: o }, children: o }, o))
1945
+ children: r.map((o) => /* @__PURE__ */ c.jsx("option", { value: o, style: { fontFamily: o }, children: o }, o))
2297
1946
  }
2298
1947
  )
2299
- ] }), En = ({
1948
+ ] }), gr = ({
2300
1949
  value: e,
2301
1950
  onChange: t,
2302
1951
  min: r,
2303
1952
  max: o,
2304
1953
  step: a
2305
- }) => /* @__PURE__ */ f.jsxs("div", { className: "font-control-group", children: [
2306
- /* @__PURE__ */ f.jsx("label", { className: "font-control-label", children: "Font Size" }),
2307
- /* @__PURE__ */ f.jsxs("div", { className: "font-control-slider-container", children: [
2308
- /* @__PURE__ */ f.jsx(
1954
+ }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
1955
+ /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Font Size" }),
1956
+ /* @__PURE__ */ c.jsxs("div", { className: "font-control-slider-container", children: [
1957
+ /* @__PURE__ */ c.jsx(
2309
1958
  "input",
2310
1959
  {
2311
1960
  type: "range",
@@ -2314,10 +1963,10 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2314
1963
  max: o,
2315
1964
  step: a,
2316
1965
  value: e,
2317
- onChange: (u) => t(Number(u.target.value))
1966
+ onChange: (i) => t(Number(i.target.value))
2318
1967
  }
2319
1968
  ),
2320
- /* @__PURE__ */ f.jsx(
1969
+ /* @__PURE__ */ c.jsx(
2321
1970
  "input",
2322
1971
  {
2323
1972
  type: "number",
@@ -2326,11 +1975,11 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2326
1975
  max: o,
2327
1976
  step: a,
2328
1977
  value: e,
2329
- onChange: (u) => t(Number(u.target.value))
1978
+ onChange: (i) => t(Number(i.target.value))
2330
1979
  }
2331
1980
  )
2332
1981
  ] })
2333
- ] }), Tn = [
1982
+ ] }), yr = [
2334
1983
  { value: 100, label: "Thin" },
2335
1984
  { value: 200, label: "Extra Light" },
2336
1985
  { value: 300, label: "Light" },
@@ -2340,18 +1989,18 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2340
1989
  { value: 700, label: "Bold" },
2341
1990
  { value: 800, label: "Extra Bold" },
2342
1991
  { value: 900, label: "Black" }
2343
- ], _n = ({
1992
+ ], vr = ({
2344
1993
  value: e,
2345
1994
  onChange: t
2346
- }) => /* @__PURE__ */ f.jsxs("div", { className: "font-control-group", children: [
2347
- /* @__PURE__ */ f.jsx("label", { className: "font-control-label", children: "Font Weight" }),
2348
- /* @__PURE__ */ f.jsx(
1995
+ }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
1996
+ /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Font Weight" }),
1997
+ /* @__PURE__ */ c.jsx(
2349
1998
  "select",
2350
1999
  {
2351
2000
  className: "font-control-input font-control-select",
2352
2001
  value: e,
2353
2002
  onChange: (r) => t(Number(r.target.value)),
2354
- children: Tn.map((r) => /* @__PURE__ */ f.jsxs("option", { value: r.value, children: [
2003
+ children: yr.map((r) => /* @__PURE__ */ c.jsxs("option", { value: r.value, children: [
2355
2004
  r.label,
2356
2005
  " (",
2357
2006
  r.value,
@@ -2359,13 +2008,13 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2359
2008
  ] }, r.value))
2360
2009
  }
2361
2010
  )
2362
- ] }), Cn = ({
2011
+ ] }), br = ({
2363
2012
  value: e,
2364
2013
  onChange: t
2365
- }) => /* @__PURE__ */ f.jsxs("div", { className: "font-control-group", children: [
2366
- /* @__PURE__ */ f.jsx("label", { className: "font-control-label", children: "Line Height" }),
2367
- /* @__PURE__ */ f.jsxs("div", { className: "font-control-slider-container", children: [
2368
- /* @__PURE__ */ f.jsx(
2014
+ }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2015
+ /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Line Height" }),
2016
+ /* @__PURE__ */ c.jsxs("div", { className: "font-control-slider-container", children: [
2017
+ /* @__PURE__ */ c.jsx(
2369
2018
  "input",
2370
2019
  {
2371
2020
  type: "range",
@@ -2377,7 +2026,7 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2377
2026
  onChange: (r) => t(Number(r.target.value))
2378
2027
  }
2379
2028
  ),
2380
- /* @__PURE__ */ f.jsx(
2029
+ /* @__PURE__ */ c.jsx(
2381
2030
  "input",
2382
2031
  {
2383
2032
  type: "number",
@@ -2390,13 +2039,13 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2390
2039
  }
2391
2040
  )
2392
2041
  ] })
2393
- ] }), wn = ({
2042
+ ] }), Sr = ({
2394
2043
  value: e,
2395
2044
  onChange: t
2396
- }) => /* @__PURE__ */ f.jsxs("div", { className: "font-control-group", children: [
2397
- /* @__PURE__ */ f.jsx("label", { className: "font-control-label", children: "Letter Spacing" }),
2398
- /* @__PURE__ */ f.jsxs("div", { className: "font-control-slider-container", children: [
2399
- /* @__PURE__ */ f.jsx(
2045
+ }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2046
+ /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Letter Spacing" }),
2047
+ /* @__PURE__ */ c.jsxs("div", { className: "font-control-slider-container", children: [
2048
+ /* @__PURE__ */ c.jsx(
2400
2049
  "input",
2401
2050
  {
2402
2051
  type: "range",
@@ -2408,7 +2057,7 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2408
2057
  onChange: (r) => t(Number(r.target.value))
2409
2058
  }
2410
2059
  ),
2411
- /* @__PURE__ */ f.jsx(
2060
+ /* @__PURE__ */ c.jsx(
2412
2061
  "input",
2413
2062
  {
2414
2063
  type: "number",
@@ -2421,32 +2070,32 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2421
2070
  }
2422
2071
  )
2423
2072
  ] })
2424
- ] }), Pn = [
2073
+ ] }), xr = [
2425
2074
  { value: "none", label: "None" },
2426
2075
  { value: "uppercase", label: "UPPERCASE" },
2427
2076
  { value: "lowercase", label: "lowercase" },
2428
2077
  { value: "capitalize", label: "Capitalize" }
2429
- ], Rn = ({
2078
+ ], Tr = ({
2430
2079
  value: e,
2431
2080
  onChange: t
2432
- }) => /* @__PURE__ */ f.jsxs("div", { className: "font-control-group", children: [
2433
- /* @__PURE__ */ f.jsx("label", { className: "font-control-label", children: "Text Transform" }),
2434
- /* @__PURE__ */ f.jsx(
2081
+ }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2082
+ /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Text Transform" }),
2083
+ /* @__PURE__ */ c.jsx(
2435
2084
  "select",
2436
2085
  {
2437
2086
  className: "font-control-input font-control-select",
2438
2087
  value: e,
2439
2088
  onChange: (r) => t(r.target.value),
2440
- children: Pn.map((r) => /* @__PURE__ */ f.jsx("option", { value: r.value, children: r.label }, r.value))
2089
+ children: xr.map((r) => /* @__PURE__ */ c.jsx("option", { value: r.value, children: r.label }, r.value))
2441
2090
  }
2442
2091
  )
2443
- ] }), jn = ({
2092
+ ] }), Er = ({
2444
2093
  value: e,
2445
2094
  onChange: t
2446
- }) => /* @__PURE__ */ f.jsxs("div", { className: "font-control-group", children: [
2447
- /* @__PURE__ */ f.jsx("label", { className: "font-control-label", children: "Text Color" }),
2448
- /* @__PURE__ */ f.jsxs("div", { className: "font-control-color-input", children: [
2449
- /* @__PURE__ */ f.jsx("div", { className: "font-control-color-preview", children: /* @__PURE__ */ f.jsx(
2095
+ }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2096
+ /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Text Color" }),
2097
+ /* @__PURE__ */ c.jsxs("div", { className: "font-control-color-input", children: [
2098
+ /* @__PURE__ */ c.jsx("div", { className: "font-control-color-preview", children: /* @__PURE__ */ c.jsx(
2450
2099
  "input",
2451
2100
  {
2452
2101
  type: "color",
@@ -2454,7 +2103,7 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2454
2103
  onChange: (r) => t(r.target.value)
2455
2104
  }
2456
2105
  ) }),
2457
- /* @__PURE__ */ f.jsx(
2106
+ /* @__PURE__ */ c.jsx(
2458
2107
  "input",
2459
2108
  {
2460
2109
  type: "text",
@@ -2465,17 +2114,17 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2465
2114
  }
2466
2115
  )
2467
2116
  ] })
2468
- ] }), On = [
2117
+ ] }), _r = [
2469
2118
  { value: "left", icon: "⬅" },
2470
2119
  { value: "center", icon: "↔" },
2471
2120
  { value: "right", icon: "➡" },
2472
2121
  { value: "justify", icon: "⬌" }
2473
- ], Dn = ({
2122
+ ], wr = ({
2474
2123
  value: e,
2475
2124
  onChange: t
2476
- }) => /* @__PURE__ */ f.jsxs("div", { className: "font-control-group", children: [
2477
- /* @__PURE__ */ f.jsx("label", { className: "font-control-label", children: "Text Align" }),
2478
- /* @__PURE__ */ f.jsx("div", { className: "font-control-button-group", children: On.map((r) => /* @__PURE__ */ f.jsx(
2125
+ }) => /* @__PURE__ */ c.jsxs("div", { className: "font-control-group", children: [
2126
+ /* @__PURE__ */ c.jsx("label", { className: "font-control-label", children: "Text Align" }),
2127
+ /* @__PURE__ */ c.jsx("div", { className: "font-control-button-group", children: _r.map((r) => /* @__PURE__ */ c.jsx(
2479
2128
  "button",
2480
2129
  {
2481
2130
  className: `font-control-button ${e === r.value ? "active" : ""}`,
@@ -2485,41 +2134,41 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2485
2134
  },
2486
2135
  r.value
2487
2136
  )) })
2488
- ] }), nt = ({
2137
+ ] }), Ne = ({
2489
2138
  title: e,
2490
2139
  code: t,
2491
2140
  language: r = "css"
2492
2141
  }) => {
2493
- const [o, a] = Ae(!1), u = async () => {
2142
+ const [o, a] = me(!1), i = async () => {
2494
2143
  try {
2495
2144
  await navigator.clipboard.writeText(t), a(!0), setTimeout(() => a(!1), 2e3);
2496
- } catch (p) {
2497
- console.error("Failed to copy:", p);
2145
+ } catch (d) {
2146
+ console.error("Failed to copy:", d);
2498
2147
  }
2499
2148
  };
2500
- return /* @__PURE__ */ f.jsxs("div", { className: "font-control-code-block", children: [
2501
- /* @__PURE__ */ f.jsxs("div", { className: "font-control-code-header", children: [
2502
- /* @__PURE__ */ f.jsx("span", { className: "font-control-code-title", children: e }),
2503
- /* @__PURE__ */ f.jsx(
2149
+ return /* @__PURE__ */ c.jsxs("div", { className: "font-control-code-block", children: [
2150
+ /* @__PURE__ */ c.jsxs("div", { className: "font-control-code-header", children: [
2151
+ /* @__PURE__ */ c.jsx("span", { className: "font-control-code-title", children: e }),
2152
+ /* @__PURE__ */ c.jsx(
2504
2153
  "button",
2505
2154
  {
2506
2155
  className: "font-control-copy-button",
2507
- onClick: u,
2156
+ onClick: i,
2508
2157
  type: "button",
2509
- children: o ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
2510
- /* @__PURE__ */ f.jsx(
2158
+ children: o ? /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2159
+ /* @__PURE__ */ c.jsx(
2511
2160
  "svg",
2512
2161
  {
2513
2162
  viewBox: "0 0 24 24",
2514
2163
  fill: "none",
2515
2164
  stroke: "currentColor",
2516
2165
  strokeWidth: "2",
2517
- children: /* @__PURE__ */ f.jsx("polyline", { points: "20 6 9 17 4 12" })
2166
+ children: /* @__PURE__ */ c.jsx("polyline", { points: "20 6 9 17 4 12" })
2518
2167
  }
2519
2168
  ),
2520
2169
  "Copied!"
2521
- ] }) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
2522
- /* @__PURE__ */ f.jsxs(
2170
+ ] }) : /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
2171
+ /* @__PURE__ */ c.jsxs(
2523
2172
  "svg",
2524
2173
  {
2525
2174
  viewBox: "0 0 24 24",
@@ -2527,8 +2176,8 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2527
2176
  stroke: "currentColor",
2528
2177
  strokeWidth: "2",
2529
2178
  children: [
2530
- /* @__PURE__ */ f.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
2531
- /* @__PURE__ */ f.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
2179
+ /* @__PURE__ */ c.jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
2180
+ /* @__PURE__ */ c.jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
2532
2181
  ]
2533
2182
  }
2534
2183
  ),
@@ -2537,25 +2186,25 @@ const bn = /* @__PURE__ */ Cr(mn), Sn = ({
2537
2186
  }
2538
2187
  )
2539
2188
  ] }),
2540
- /* @__PURE__ */ f.jsx("pre", { className: "font-control-code-content", children: /* @__PURE__ */ f.jsx("code", { className: `language-${r}`, children: t }) })
2189
+ /* @__PURE__ */ c.jsx("pre", { className: "font-control-code-content", children: /* @__PURE__ */ c.jsx("code", { className: `language-${r}`, children: t }) })
2541
2190
  ] });
2542
- }, Lt = /* @__PURE__ */ new Set();
2543
- function Nn(e) {
2544
- if (Lt.has(e))
2191
+ }, ot = /* @__PURE__ */ new Set();
2192
+ function Cr(e) {
2193
+ if (ot.has(e))
2545
2194
  return;
2546
2195
  const t = document.createElement("link");
2547
- t.rel = "stylesheet", t.href = `https://fonts.googleapis.com/css2?family=${e.replace(/ /g, "+")}:wght@100;200;300;400;500;600;700;800;900&display=swap`, document.head.appendChild(t), Lt.add(e);
2196
+ t.rel = "stylesheet", t.href = `https://fonts.googleapis.com/css2?family=${e.replace(/ /g, "+")}:wght@100;200;300;400;500;600;700;800;900&display=swap`, document.head.appendChild(t), ot.add(e);
2548
2197
  }
2549
- function Mn(e) {
2198
+ function Pr(e) {
2550
2199
  if (!document.querySelector('link[href*="fonts.googleapis.com"]')) {
2551
2200
  const t = document.createElement("link");
2552
2201
  t.rel = "preconnect", t.href = "https://fonts.googleapis.com";
2553
2202
  const r = document.createElement("link");
2554
2203
  r.rel = "preconnect", r.href = "https://fonts.gstatic.com", r.crossOrigin = "anonymous", document.head.appendChild(t), document.head.appendChild(r);
2555
2204
  }
2556
- e.forEach(Nn);
2205
+ e.forEach(Cr);
2557
2206
  }
2558
- function An(e) {
2207
+ function jr(e) {
2559
2208
  return [
2560
2209
  "Arial",
2561
2210
  "Helvetica",
@@ -2567,7 +2216,7 @@ function An(e) {
2567
2216
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
2568
2217
  <link href="${`https://fonts.googleapis.com/css2?family=${e.replace(/ /g, "+")}:wght@100;200;300;400;500;600;700;800;900&display=swap`}" rel="stylesheet">`;
2569
2218
  }
2570
- function kn(e) {
2219
+ function Rr(e) {
2571
2220
  return `<h1 style={{
2572
2221
  fontFamily: '${e.fontFamily}',
2573
2222
  fontSize: '${e.fontSize}px',
@@ -2581,7 +2230,7 @@ function kn(e) {
2581
2230
  Your Text Here
2582
2231
  </h1>`;
2583
2232
  }
2584
- function $n(e) {
2233
+ function Or(e) {
2585
2234
  return `.my-text {
2586
2235
  font-family: '${e.fontFamily}', sans-serif;
2587
2236
  font-size: ${e.fontSize}px;
@@ -2593,7 +2242,7 @@ function $n(e) {
2593
2242
  text-align: ${e.textAlign};
2594
2243
  }`;
2595
2244
  }
2596
- const Fn = [
2245
+ const Dr = [
2597
2246
  // Sans-serif - Modern & Clean
2598
2247
  "Inter",
2599
2248
  "Roboto",
@@ -2623,7 +2272,7 @@ const Fn = [
2623
2272
  "Righteous",
2624
2273
  "Permanent Marker",
2625
2274
  "Pacifico"
2626
- ], ot = {
2275
+ ], Ae = {
2627
2276
  fontFamily: "Arial",
2628
2277
  fontSize: 16,
2629
2278
  fontWeight: 400,
@@ -2632,109 +2281,109 @@ const Fn = [
2632
2281
  textTransform: "none",
2633
2282
  color: "#000000",
2634
2283
  textAlign: "left"
2635
- }, Ln = ({
2284
+ }, kr = ({
2636
2285
  value: e,
2637
2286
  onChange: t,
2638
- fontFamilies: r = Fn,
2287
+ fontFamilies: r = Dr,
2639
2288
  minFontSize: o = 8,
2640
2289
  maxFontSize: a = 120,
2641
- fontSizeStep: u = 1,
2642
- title: p = "Font Controls",
2643
- collapsed: c = !1,
2644
- draggable: d = !0,
2645
- position: m
2290
+ fontSizeStep: i = 1,
2291
+ title: d = "Font Controls",
2292
+ collapsed: u = !1,
2293
+ draggable: h = !0,
2294
+ position: g
2646
2295
  }) => {
2647
- const [g, T] = Ae({
2648
- ...ot,
2296
+ const [v, P] = me({
2297
+ ...Ae,
2649
2298
  ...e
2650
- }), [A, Y] = Ae(!1);
2651
- wt(() => {
2652
- e && T((_) => ({ ..._, ...e }));
2653
- }, [e]), wt(() => {
2654
- Mn(r);
2299
+ }), [A, N] = me(!1);
2300
+ Xe(() => {
2301
+ e && P((T) => ({ ...T, ...e }));
2302
+ }, [e]), Xe(() => {
2303
+ Pr(r);
2655
2304
  }, [r]);
2656
- const q = (_, x) => {
2657
- const b = { ...g, [_]: x };
2658
- T(b), t == null || t(b);
2659
- }, X = () => {
2660
- T(ot), t == null || t(ot);
2305
+ const I = (T, _) => {
2306
+ const x = { ...v, [T]: _ };
2307
+ P(x), t == null || t(x);
2308
+ }, $ = () => {
2309
+ P(Ae), t == null || t(Ae);
2661
2310
  };
2662
- return /* @__PURE__ */ f.jsxs(
2663
- Sn,
2311
+ return /* @__PURE__ */ c.jsxs(
2312
+ hr,
2664
2313
  {
2665
- title: p,
2666
- collapsed: c,
2667
- draggable: d,
2668
- position: m,
2314
+ title: d,
2315
+ collapsed: u,
2316
+ draggable: h,
2317
+ position: g,
2669
2318
  children: [
2670
- /* @__PURE__ */ f.jsx(
2671
- xn,
2319
+ /* @__PURE__ */ c.jsx(
2320
+ mr,
2672
2321
  {
2673
- value: g.fontFamily,
2674
- onChange: (_) => q("fontFamily", _),
2322
+ value: v.fontFamily,
2323
+ onChange: (T) => I("fontFamily", T),
2675
2324
  fontFamilies: r
2676
2325
  }
2677
2326
  ),
2678
- /* @__PURE__ */ f.jsx(
2679
- En,
2327
+ /* @__PURE__ */ c.jsx(
2328
+ gr,
2680
2329
  {
2681
- value: g.fontSize,
2682
- onChange: (_) => q("fontSize", _),
2330
+ value: v.fontSize,
2331
+ onChange: (T) => I("fontSize", T),
2683
2332
  min: o,
2684
2333
  max: a,
2685
- step: u
2334
+ step: i
2686
2335
  }
2687
2336
  ),
2688
- /* @__PURE__ */ f.jsx(
2689
- _n,
2337
+ /* @__PURE__ */ c.jsx(
2338
+ vr,
2690
2339
  {
2691
- value: g.fontWeight,
2692
- onChange: (_) => q("fontWeight", _)
2340
+ value: v.fontWeight,
2341
+ onChange: (T) => I("fontWeight", T)
2693
2342
  }
2694
2343
  ),
2695
- /* @__PURE__ */ f.jsx(
2696
- Cn,
2344
+ /* @__PURE__ */ c.jsx(
2345
+ br,
2697
2346
  {
2698
- value: g.lineHeight,
2699
- onChange: (_) => q("lineHeight", _)
2347
+ value: v.lineHeight,
2348
+ onChange: (T) => I("lineHeight", T)
2700
2349
  }
2701
2350
  ),
2702
- /* @__PURE__ */ f.jsx(
2703
- wn,
2351
+ /* @__PURE__ */ c.jsx(
2352
+ Sr,
2704
2353
  {
2705
- value: g.letterSpacing,
2706
- onChange: (_) => q("letterSpacing", _)
2354
+ value: v.letterSpacing,
2355
+ onChange: (T) => I("letterSpacing", T)
2707
2356
  }
2708
2357
  ),
2709
- /* @__PURE__ */ f.jsx(
2710
- Rn,
2358
+ /* @__PURE__ */ c.jsx(
2359
+ Tr,
2711
2360
  {
2712
- value: g.textTransform,
2713
- onChange: (_) => q("textTransform", _)
2361
+ value: v.textTransform,
2362
+ onChange: (T) => I("textTransform", T)
2714
2363
  }
2715
2364
  ),
2716
- /* @__PURE__ */ f.jsx(
2717
- jn,
2365
+ /* @__PURE__ */ c.jsx(
2366
+ Er,
2718
2367
  {
2719
- value: g.color,
2720
- onChange: (_) => q("color", _)
2368
+ value: v.color,
2369
+ onChange: (T) => I("color", T)
2721
2370
  }
2722
2371
  ),
2723
- /* @__PURE__ */ f.jsx(
2724
- Dn,
2372
+ /* @__PURE__ */ c.jsx(
2373
+ wr,
2725
2374
  {
2726
- value: g.textAlign,
2727
- onChange: (_) => q("textAlign", _)
2375
+ value: v.textAlign,
2376
+ onChange: (T) => I("textAlign", T)
2728
2377
  }
2729
2378
  ),
2730
- /* @__PURE__ */ f.jsxs(
2379
+ /* @__PURE__ */ c.jsxs(
2731
2380
  "button",
2732
2381
  {
2733
2382
  className: "font-control-reset-button",
2734
- onClick: X,
2383
+ onClick: $,
2735
2384
  type: "button",
2736
2385
  children: [
2737
- /* @__PURE__ */ f.jsxs(
2386
+ /* @__PURE__ */ c.jsxs(
2738
2387
  "svg",
2739
2388
  {
2740
2389
  viewBox: "0 0 24 24",
@@ -2744,9 +2393,9 @@ const Fn = [
2744
2393
  strokeLinecap: "round",
2745
2394
  strokeLinejoin: "round",
2746
2395
  children: [
2747
- /* @__PURE__ */ f.jsx("polyline", { points: "1 4 1 10 7 10" }),
2748
- /* @__PURE__ */ f.jsx("polyline", { points: "23 20 23 14 17 14" }),
2749
- /* @__PURE__ */ f.jsx("path", { d: "M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15" })
2396
+ /* @__PURE__ */ c.jsx("polyline", { points: "1 4 1 10 7 10" }),
2397
+ /* @__PURE__ */ c.jsx("polyline", { points: "23 20 23 14 17 14" }),
2398
+ /* @__PURE__ */ c.jsx("path", { d: "M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15" })
2750
2399
  ]
2751
2400
  }
2752
2401
  ),
@@ -2754,15 +2403,15 @@ const Fn = [
2754
2403
  ]
2755
2404
  }
2756
2405
  ),
2757
- /* @__PURE__ */ f.jsxs("div", { className: "font-control-export-section", children: [
2758
- /* @__PURE__ */ f.jsxs(
2406
+ /* @__PURE__ */ c.jsxs("div", { className: "font-control-export-section", children: [
2407
+ /* @__PURE__ */ c.jsxs(
2759
2408
  "button",
2760
2409
  {
2761
2410
  className: "font-control-export-toggle",
2762
- onClick: () => Y(!A),
2411
+ onClick: () => N(!A),
2763
2412
  type: "button",
2764
2413
  children: [
2765
- /* @__PURE__ */ f.jsx(
2414
+ /* @__PURE__ */ c.jsx(
2766
2415
  "svg",
2767
2416
  {
2768
2417
  viewBox: "0 0 24 24",
@@ -2770,35 +2419,35 @@ const Fn = [
2770
2419
  stroke: "currentColor",
2771
2420
  strokeWidth: "2",
2772
2421
  className: A ? "rotated" : "",
2773
- children: /* @__PURE__ */ f.jsx("polyline", { points: "9 18 15 12 9 6" })
2422
+ children: /* @__PURE__ */ c.jsx("polyline", { points: "9 18 15 12 9 6" })
2774
2423
  }
2775
2424
  ),
2776
2425
  "Export Configuration"
2777
2426
  ]
2778
2427
  }
2779
2428
  ),
2780
- A && /* @__PURE__ */ f.jsxs("div", { className: "font-control-export-content", children: [
2781
- /* @__PURE__ */ f.jsx(
2782
- nt,
2429
+ A && /* @__PURE__ */ c.jsxs("div", { className: "font-control-export-content", children: [
2430
+ /* @__PURE__ */ c.jsx(
2431
+ Ne,
2783
2432
  {
2784
2433
  title: "1. Google Fonts Import (HTML)",
2785
- code: An(g.fontFamily),
2434
+ code: jr(v.fontFamily),
2786
2435
  language: "html"
2787
2436
  }
2788
2437
  ),
2789
- /* @__PURE__ */ f.jsx(
2790
- nt,
2438
+ /* @__PURE__ */ c.jsx(
2439
+ Ne,
2791
2440
  {
2792
2441
  title: "2. React/JSX Inline Styles",
2793
- code: kn(g),
2442
+ code: Rr(v),
2794
2443
  language: "tsx"
2795
2444
  }
2796
2445
  ),
2797
- /* @__PURE__ */ f.jsx(
2798
- nt,
2446
+ /* @__PURE__ */ c.jsx(
2447
+ Ne,
2799
2448
  {
2800
2449
  title: "3. CSS Class",
2801
- code: $n(g),
2450
+ code: Or(v),
2802
2451
  language: "css"
2803
2452
  }
2804
2453
  )
@@ -2807,7 +2456,7 @@ const Fn = [
2807
2456
  ]
2808
2457
  }
2809
2458
  );
2810
- }, Ut = {
2459
+ }, at = {
2811
2460
  fontFamily: "Arial",
2812
2461
  fontSize: 16,
2813
2462
  fontWeight: 400,
@@ -2816,25 +2465,25 @@ const Fn = [
2816
2465
  textTransform: "none",
2817
2466
  color: "#000000",
2818
2467
  textAlign: "left"
2819
- }, Un = (e) => {
2820
- const [t, r] = Ae({
2821
- ...Ut,
2468
+ }, $r = (e) => {
2469
+ const [t, r] = me({
2470
+ ...at,
2822
2471
  ...e
2823
2472
  });
2824
2473
  return {
2825
2474
  config: t,
2826
2475
  setConfig: r,
2827
- updateConfig: (u, p) => {
2828
- r((c) => ({ ...c, [u]: p }));
2476
+ updateConfig: (i, d) => {
2477
+ r((u) => ({ ...u, [i]: d }));
2829
2478
  },
2830
2479
  resetConfig: () => {
2831
- r({ ...Ut, ...e });
2480
+ r({ ...at, ...e });
2832
2481
  }
2833
2482
  };
2834
2483
  };
2835
2484
  export {
2836
- Ln as FontControls,
2837
- Mn as loadAllDefaultFonts,
2838
- Nn as loadGoogleFont,
2839
- Un as useFontControls
2485
+ kr as FontControls,
2486
+ Pr as loadAllDefaultFonts,
2487
+ Cr as loadGoogleFont,
2488
+ $r as useFontControls
2840
2489
  };