@cyberskill/cyber-editor 2.0.1 → 2.0.2

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,25 +1,25 @@
1
- import ke, { forwardRef as br, createElement as bt, useState as ge, useRef as sn, useEffect as ln, useMemo as cn } from "react";
2
- import { useCurrentEditor as wt, NodeViewWrapper as yr, NodeViewContent as un, ReactNodeViewRenderer as vr, EditorProvider as dn } from "@tiptap/react";
3
- import { Tooltip as yt, ColorPicker as Ut, Dropdown as Ct, Menu as Ft, Modal as fn } from "antd";
1
+ import _e, { forwardRef as hr, createElement as yt, useState as he, useRef as sn, useEffect as ln, useMemo as cn } from "react";
2
+ import { useCurrentEditor as Ct, NodeViewWrapper as yr, NodeViewContent as un, ReactNodeViewRenderer as vr, EditorProvider as dn } from "@tiptap/react";
3
+ import { ColorPicker as fn, Tooltip as vt, Dropdown as kt, Menu as Ft, Modal as mn } from "antd";
4
4
  import pn from "@tiptap/extension-list-item";
5
- import { Color as mn } from "@tiptap/extension-color";
5
+ import { Color as bn } from "@tiptap/extension-color";
6
6
  import Bt from "@tiptap/extension-text-style";
7
7
  import hn from "@tiptap/starter-kit";
8
- import bn from "@tiptap/extension-highlight";
9
- import yn from "@tiptap/extension-underline";
10
- import vn from "@tiptap/extension-subscript";
11
- import gn from "@tiptap/extension-superscript";
12
- import xn from "@tiptap/extension-text-align";
8
+ import yn from "@tiptap/extension-highlight";
9
+ import vn from "@tiptap/extension-underline";
10
+ import gn from "@tiptap/extension-subscript";
11
+ import xn from "@tiptap/extension-superscript";
12
+ import Nn from "@tiptap/extension-text-align";
13
13
  import En from "@tiptap/extension-task-list";
14
- import Nn from "@tiptap/extension-task-item";
15
- import Sn from "@tiptap/extension-table";
16
- import wn from "@tiptap/extension-table-row";
17
- import Cn from "@tiptap/extension-table-header";
18
- import _n from "@tiptap/extension-table-cell";
14
+ import Sn from "@tiptap/extension-task-item";
15
+ import wn from "@tiptap/extension-table";
16
+ import Cn from "@tiptap/extension-table-row";
17
+ import kn from "@tiptap/extension-table-header";
18
+ import Dn from "@tiptap/extension-table-cell";
19
19
  import { Node as gr, mergeAttributes as xr } from "@tiptap/core";
20
- import Dn from "@tiptap/extension-image";
21
- import Er from "react-dom";
22
- function kn(e) {
20
+ import _n from "@tiptap/extension-image";
21
+ import Nr from "react-dom";
22
+ function On(e) {
23
23
  if (e.__esModule) return e;
24
24
  var t = e.default;
25
25
  if (typeof t == "function") {
@@ -38,7 +38,7 @@ function kn(e) {
38
38
  });
39
39
  }), r;
40
40
  }
41
- var vt = { exports: {} }, Le = {};
41
+ var gt = { exports: {} }, Le = {};
42
42
  /**
43
43
  * @license React
44
44
  * react-jsx-dev-runtime.production.min.js
@@ -49,7 +49,7 @@ var vt = { exports: {} }, Le = {};
49
49
  * LICENSE file in the root directory of this source tree.
50
50
  */
51
51
  var Xt;
52
- function On() {
52
+ function Rn() {
53
53
  if (Xt) return Le;
54
54
  Xt = 1;
55
55
  var e = Symbol.for("react.fragment");
@@ -66,50 +66,50 @@ var We = {};
66
66
  * LICENSE file in the root directory of this source tree.
67
67
  */
68
68
  var Kt;
69
- function Rn() {
69
+ function Pn() {
70
70
  return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
71
- var e = ke, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), u = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), V = Symbol.iterator, $ = "@@iterator";
71
+ var e = _e, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), u = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), A = Symbol.iterator, $ = "@@iterator";
72
72
  function B(i) {
73
73
  if (i === null || typeof i != "object")
74
74
  return null;
75
- var d = V && i[V] || i[$];
75
+ var d = A && i[A] || i[$];
76
76
  return typeof d == "function" ? d : null;
77
77
  }
78
78
  var W = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
79
79
  function v(i) {
80
80
  {
81
- for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), w = 1; w < d; w++)
82
- b[w - 1] = arguments[w];
83
- x("error", i, b);
81
+ for (var d = arguments.length, y = new Array(d > 1 ? d - 1 : 0), w = 1; w < d; w++)
82
+ y[w - 1] = arguments[w];
83
+ x("error", i, y);
84
84
  }
85
85
  }
86
- function x(i, d, b) {
86
+ function x(i, d, y) {
87
87
  {
88
88
  var w = W.ReactDebugCurrentFrame, q = w.getStackAddendum();
89
- q !== "" && (d += "%s", b = b.concat([q]));
90
- var X = b.map(function(I) {
89
+ q !== "" && (d += "%s", y = y.concat([q]));
90
+ var X = y.map(function(I) {
91
91
  return String(I);
92
92
  });
93
93
  X.unshift("Warning: " + d), Function.prototype.apply.call(console[i], console, X);
94
94
  }
95
95
  }
96
- var N = !1, c = !1, Y = !1, P = !1, Q = !1, de;
96
+ var E = !1, c = !1, Y = !1, P = !1, Q = !1, de;
97
97
  de = Symbol.for("react.module.reference");
98
98
  function fe(i) {
99
- return !!(typeof i == "string" || typeof i == "function" || i === n || i === a || Q || i === o || i === m || i === y || P || i === S || N || c || Y || typeof i == "object" && i !== null && (i.$$typeof === O || i.$$typeof === E || i.$$typeof === s || i.$$typeof === u || i.$$typeof === p || // This needs to include all possible module reference object
99
+ return !!(typeof i == "string" || typeof i == "function" || i === n || i === a || Q || i === o || i === p || i === b || P || i === S || E || c || Y || typeof i == "object" && i !== null && (i.$$typeof === O || i.$$typeof === N || i.$$typeof === s || i.$$typeof === u || i.$$typeof === m || // This needs to include all possible module reference object
100
100
  // types supported by any Flight configuration anywhere since
101
101
  // we don't know which Flight build this will end up being used
102
102
  // with.
103
103
  i.$$typeof === de || i.getModuleId !== void 0));
104
104
  }
105
- function be(i, d, b) {
105
+ function ye(i, d, y) {
106
106
  var w = i.displayName;
107
107
  if (w)
108
108
  return w;
109
109
  var q = d.displayName || d.name || "";
110
- return q !== "" ? b + "(" + q + ")" : b;
110
+ return q !== "" ? y + "(" + q + ")" : y;
111
111
  }
112
- function Ne(i) {
112
+ function Ee(i) {
113
113
  return i.displayName || "Context";
114
114
  }
115
115
  function ee(i) {
@@ -128,22 +128,22 @@ function Rn() {
128
128
  return "Profiler";
129
129
  case o:
130
130
  return "StrictMode";
131
- case m:
131
+ case p:
132
132
  return "Suspense";
133
- case y:
133
+ case b:
134
134
  return "SuspenseList";
135
135
  }
136
136
  if (typeof i == "object")
137
137
  switch (i.$$typeof) {
138
138
  case u:
139
139
  var d = i;
140
- return Ne(d) + ".Consumer";
140
+ return Ee(d) + ".Consumer";
141
141
  case s:
142
- var b = i;
143
- return Ne(b._context) + ".Provider";
144
- case p:
145
- return be(i, i.render, "ForwardRef");
146
- case E:
142
+ var y = i;
143
+ return Ee(y._context) + ".Provider";
144
+ case m:
145
+ return ye(i, i.render, "ForwardRef");
146
+ case N:
147
147
  var w = i.displayName || null;
148
148
  return w !== null ? w : ee(i.type) || "Memo";
149
149
  case O: {
@@ -157,14 +157,14 @@ function Rn() {
157
157
  }
158
158
  return null;
159
159
  }
160
- var Z = Object.assign, pe = 0, oe, le, ve, Se, f, g, T;
160
+ var Z = Object.assign, me = 0, oe, le, ge, Se, f, g, T;
161
161
  function R() {
162
162
  }
163
163
  R.__reactDisabledLog = !0;
164
164
  function C() {
165
165
  {
166
- if (pe === 0) {
167
- oe = console.log, le = console.info, ve = console.warn, Se = console.error, f = console.group, g = console.groupCollapsed, T = console.groupEnd;
166
+ if (me === 0) {
167
+ oe = console.log, le = console.info, ge = console.warn, Se = console.error, f = console.group, g = console.groupCollapsed, T = console.groupEnd;
168
168
  var i = {
169
169
  configurable: !0,
170
170
  enumerable: !0,
@@ -181,12 +181,12 @@ function Rn() {
181
181
  groupEnd: i
182
182
  });
183
183
  }
184
- pe++;
184
+ me++;
185
185
  }
186
186
  }
187
187
  function z() {
188
188
  {
189
- if (pe--, pe === 0) {
189
+ if (me--, me === 0) {
190
190
  var i = {
191
191
  configurable: !0,
192
192
  enumerable: !0,
@@ -200,7 +200,7 @@ function Rn() {
200
200
  value: le
201
201
  }),
202
202
  warn: Z({}, i, {
203
- value: ve
203
+ value: ge
204
204
  }),
205
205
  error: Z({}, i, {
206
206
  value: Se
@@ -216,21 +216,21 @@ function Rn() {
216
216
  })
217
217
  });
218
218
  }
219
- pe < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
219
+ me < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
220
220
  }
221
221
  }
222
- var _ = W.ReactCurrentDispatcher, k;
223
- function j(i, d, b) {
222
+ var k = W.ReactCurrentDispatcher, _;
223
+ function j(i, d, y) {
224
224
  {
225
- if (k === void 0)
225
+ if (_ === void 0)
226
226
  try {
227
227
  throw Error();
228
228
  } catch (q) {
229
229
  var w = q.stack.trim().match(/\n( *(at )?)/);
230
- k = w && w[1] || "";
230
+ _ = w && w[1] || "";
231
231
  }
232
232
  return `
233
- ` + k + i;
233
+ ` + _ + i;
234
234
  }
235
235
  }
236
236
  var H = !1, M;
@@ -242,16 +242,16 @@ function Rn() {
242
242
  if (!i || H)
243
243
  return "";
244
244
  {
245
- var b = M.get(i);
246
- if (b !== void 0)
247
- return b;
245
+ var y = M.get(i);
246
+ if (y !== void 0)
247
+ return y;
248
248
  }
249
249
  var w;
250
250
  H = !0;
251
251
  var q = Error.prepareStackTrace;
252
252
  Error.prepareStackTrace = void 0;
253
253
  var X;
254
- X = _.current, _.current = null, C();
254
+ X = k.current, k.current = null, C();
255
255
  try {
256
256
  if (d) {
257
257
  var I = function() {
@@ -286,37 +286,37 @@ function Rn() {
286
286
  }
287
287
  } catch (ae) {
288
288
  if (ae && w && typeof ae.stack == "string") {
289
- for (var A = ae.stack.split(`
289
+ for (var V = ae.stack.split(`
290
290
  `), ne = w.stack.split(`
291
- `), G = A.length - 1, J = ne.length - 1; G >= 1 && J >= 0 && A[G] !== ne[J]; )
291
+ `), G = V.length - 1, J = ne.length - 1; G >= 1 && J >= 0 && V[G] !== ne[J]; )
292
292
  J--;
293
293
  for (; G >= 1 && J >= 0; G--, J--)
294
- if (A[G] !== ne[J]) {
294
+ if (V[G] !== ne[J]) {
295
295
  if (G !== 1 || J !== 1)
296
296
  do
297
- if (G--, J--, J < 0 || A[G] !== ne[J]) {
298
- var he = `
299
- ` + A[G].replace(" at new ", " at ");
300
- return i.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", i.displayName)), typeof i == "function" && M.set(i, he), he;
297
+ if (G--, J--, J < 0 || V[G] !== ne[J]) {
298
+ var be = `
299
+ ` + V[G].replace(" at new ", " at ");
300
+ return i.displayName && be.includes("<anonymous>") && (be = be.replace("<anonymous>", i.displayName)), typeof i == "function" && M.set(i, be), be;
301
301
  }
302
302
  while (G >= 1 && J >= 0);
303
303
  break;
304
304
  }
305
305
  }
306
306
  } finally {
307
- H = !1, _.current = X, z(), Error.prepareStackTrace = q;
307
+ H = !1, k.current = X, z(), Error.prepareStackTrace = q;
308
308
  }
309
309
  var Te = i ? i.displayName || i.name : "", De = Te ? j(Te) : "";
310
310
  return typeof i == "function" && M.set(i, De), De;
311
311
  }
312
- function me(i, d, b) {
312
+ function pe(i, d, y) {
313
313
  return h(i, !1);
314
314
  }
315
315
  function Re(i) {
316
316
  var d = i.prototype;
317
317
  return !!(d && d.isReactComponent);
318
318
  }
319
- function _e(i, d, b) {
319
+ function ke(i, d, y) {
320
320
  if (i == null)
321
321
  return "";
322
322
  if (typeof i == "function")
@@ -324,62 +324,62 @@ function Rn() {
324
324
  if (typeof i == "string")
325
325
  return j(i);
326
326
  switch (i) {
327
- case m:
327
+ case p:
328
328
  return j("Suspense");
329
- case y:
329
+ case b:
330
330
  return j("SuspenseList");
331
331
  }
332
332
  if (typeof i == "object")
333
333
  switch (i.$$typeof) {
334
- case p:
335
- return me(i.render);
336
- case E:
337
- return _e(i.type, d, b);
334
+ case m:
335
+ return pe(i.render);
336
+ case N:
337
+ return ke(i.type, d, y);
338
338
  case O: {
339
339
  var w = i, q = w._payload, X = w._init;
340
340
  try {
341
- return _e(X(q), d, b);
341
+ return ke(X(q), d, y);
342
342
  } catch {
343
343
  }
344
344
  }
345
345
  }
346
346
  return "";
347
347
  }
348
- var Me = Object.prototype.hasOwnProperty, jt = {}, Mt = W.ReactDebugCurrentFrame;
348
+ var Me = Object.prototype.hasOwnProperty, Mt = {}, Vt = W.ReactDebugCurrentFrame;
349
349
  function He(i) {
350
350
  if (i) {
351
- var d = i._owner, b = _e(i.type, i._source, d ? d.type : null);
352
- Mt.setExtraStackFrame(b);
351
+ var d = i._owner, y = ke(i.type, i._source, d ? d.type : null);
352
+ Vt.setExtraStackFrame(y);
353
353
  } else
354
- Mt.setExtraStackFrame(null);
354
+ Vt.setExtraStackFrame(null);
355
355
  }
356
- function Hr(i, d, b, w, q) {
356
+ function Hr(i, d, y, w, q) {
357
357
  {
358
358
  var X = Function.call.bind(Me);
359
359
  for (var I in i)
360
360
  if (X(i, I)) {
361
- var A = void 0;
361
+ var V = void 0;
362
362
  try {
363
363
  if (typeof i[I] != "function") {
364
- var ne = Error((w || "React class") + ": " + b + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
364
+ var ne = Error((w || "React class") + ": " + y + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
365
365
  throw ne.name = "Invariant Violation", ne;
366
366
  }
367
- A = i[I](d, I, w, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
367
+ V = i[I](d, I, w, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
368
368
  } catch (G) {
369
- A = G;
369
+ V = G;
370
370
  }
371
- A && !(A instanceof Error) && (He(q), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", b, I, typeof A), He(null)), A instanceof Error && !(A.message in jt) && (jt[A.message] = !0, He(q), v("Failed %s type: %s", b, A.message), He(null));
371
+ V && !(V instanceof Error) && (He(q), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", y, I, typeof V), He(null)), V instanceof Error && !(V.message in Mt) && (Mt[V.message] = !0, He(q), v("Failed %s type: %s", y, V.message), He(null));
372
372
  }
373
373
  }
374
374
  }
375
375
  var Lr = Array.isArray;
376
- function Ze(i) {
376
+ function Qe(i) {
377
377
  return Lr(i);
378
378
  }
379
379
  function Wr(i) {
380
380
  {
381
- var d = typeof Symbol == "function" && Symbol.toStringTag, b = d && i[Symbol.toStringTag] || i.constructor.name || "Object";
382
- return b;
381
+ var d = typeof Symbol == "function" && Symbol.toStringTag, y = d && i[Symbol.toStringTag] || i.constructor.name || "Object";
382
+ return y;
383
383
  }
384
384
  }
385
385
  function qr(i) {
@@ -392,17 +392,17 @@ function Rn() {
392
392
  function At(i) {
393
393
  return "" + i;
394
394
  }
395
- function Vt(i) {
395
+ function $t(i) {
396
396
  if (qr(i))
397
397
  return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wr(i)), At(i);
398
398
  }
399
- var Ae = W.ReactCurrentOwner, Yr = {
399
+ var Ve = W.ReactCurrentOwner, Yr = {
400
400
  key: !0,
401
401
  ref: !0,
402
402
  __self: !0,
403
403
  __source: !0
404
- }, $t, zt, Qe;
405
- Qe = {};
404
+ }, zt, It, et;
405
+ et = {};
406
406
  function Ur(i) {
407
407
  if (Me.call(i, "ref")) {
408
408
  var d = Object.getOwnPropertyDescriptor(i, "ref").get;
@@ -420,66 +420,66 @@ function Rn() {
420
420
  return i.key !== void 0;
421
421
  }
422
422
  function Br(i, d) {
423
- if (typeof i.ref == "string" && Ae.current && d && Ae.current.stateNode !== d) {
424
- var b = ee(Ae.current.type);
425
- Qe[b] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ee(Ae.current.type), i.ref), Qe[b] = !0);
423
+ if (typeof i.ref == "string" && Ve.current && d && Ve.current.stateNode !== d) {
424
+ var y = ee(Ve.current.type);
425
+ et[y] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ee(Ve.current.type), i.ref), et[y] = !0);
426
426
  }
427
427
  }
428
428
  function Xr(i, d) {
429
429
  {
430
- var b = function() {
431
- $t || ($t = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
430
+ var y = function() {
431
+ zt || (zt = !0, v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
432
432
  };
433
- b.isReactWarning = !0, Object.defineProperty(i, "key", {
434
- get: b,
433
+ y.isReactWarning = !0, Object.defineProperty(i, "key", {
434
+ get: y,
435
435
  configurable: !0
436
436
  });
437
437
  }
438
438
  }
439
439
  function Kr(i, d) {
440
440
  {
441
- var b = function() {
442
- zt || (zt = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
441
+ var y = function() {
442
+ It || (It = !0, v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
443
443
  };
444
- b.isReactWarning = !0, Object.defineProperty(i, "ref", {
445
- get: b,
444
+ y.isReactWarning = !0, Object.defineProperty(i, "ref", {
445
+ get: y,
446
446
  configurable: !0
447
447
  });
448
448
  }
449
449
  }
450
- var Gr = function(i, d, b, w, q, X, I) {
451
- var A = {
450
+ var Gr = function(i, d, y, w, q, X, I) {
451
+ var V = {
452
452
  // This tag allows us to uniquely identify this as a React Element
453
453
  $$typeof: t,
454
454
  // Built-in properties that belong on the element
455
455
  type: i,
456
456
  key: d,
457
- ref: b,
457
+ ref: y,
458
458
  props: I,
459
459
  // Record the component responsible for creating this element.
460
460
  _owner: X
461
461
  };
462
- return A._store = {}, Object.defineProperty(A._store, "validated", {
462
+ return V._store = {}, Object.defineProperty(V._store, "validated", {
463
463
  configurable: !1,
464
464
  enumerable: !1,
465
465
  writable: !0,
466
466
  value: !1
467
- }), Object.defineProperty(A, "_self", {
467
+ }), Object.defineProperty(V, "_self", {
468
468
  configurable: !1,
469
469
  enumerable: !1,
470
470
  writable: !1,
471
471
  value: w
472
- }), Object.defineProperty(A, "_source", {
472
+ }), Object.defineProperty(V, "_source", {
473
473
  configurable: !1,
474
474
  enumerable: !1,
475
475
  writable: !1,
476
476
  value: q
477
- }), Object.freeze && (Object.freeze(A.props), Object.freeze(A)), A;
477
+ }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
478
478
  };
479
- function Jr(i, d, b, w, q) {
479
+ function Jr(i, d, y, w, q) {
480
480
  {
481
- var X, I = {}, A = null, ne = null;
482
- b !== void 0 && (Vt(b), A = "" + b), Fr(d) && (Vt(d.key), A = "" + d.key), Ur(d) && (ne = d.ref, Br(d, q));
481
+ var X, I = {}, V = null, ne = null;
482
+ y !== void 0 && ($t(y), V = "" + y), Fr(d) && ($t(d.key), V = "" + d.key), Ur(d) && (ne = d.ref, Br(d, q));
483
483
  for (X in d)
484
484
  Me.call(d, X) && !Yr.hasOwnProperty(X) && (I[X] = d[X]);
485
485
  if (i && i.defaultProps) {
@@ -487,30 +487,30 @@ function Rn() {
487
487
  for (X in G)
488
488
  I[X] === void 0 && (I[X] = G[X]);
489
489
  }
490
- if (A || ne) {
490
+ if (V || ne) {
491
491
  var J = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
492
- A && Xr(I, J), ne && Kr(I, J);
492
+ V && Xr(I, J), ne && Kr(I, J);
493
493
  }
494
- return Gr(i, A, ne, q, w, Ae.current, I);
494
+ return Gr(i, V, ne, q, w, Ve.current, I);
495
495
  }
496
496
  }
497
- var et = W.ReactCurrentOwner, It = W.ReactDebugCurrentFrame;
497
+ var tt = W.ReactCurrentOwner, Ht = W.ReactDebugCurrentFrame;
498
498
  function Pe(i) {
499
499
  if (i) {
500
- var d = i._owner, b = _e(i.type, i._source, d ? d.type : null);
501
- It.setExtraStackFrame(b);
500
+ var d = i._owner, y = ke(i.type, i._source, d ? d.type : null);
501
+ Ht.setExtraStackFrame(y);
502
502
  } else
503
- It.setExtraStackFrame(null);
503
+ Ht.setExtraStackFrame(null);
504
504
  }
505
- var tt;
506
- tt = !1;
507
- function rt(i) {
505
+ var rt;
506
+ rt = !1;
507
+ function nt(i) {
508
508
  return typeof i == "object" && i !== null && i.$$typeof === t;
509
509
  }
510
- function Ht() {
510
+ function Lt() {
511
511
  {
512
- if (et.current) {
513
- var i = ee(et.current.type);
512
+ if (tt.current) {
513
+ var i = ee(tt.current.type);
514
514
  if (i)
515
515
  return `
516
516
 
@@ -522,56 +522,56 @@ Check the render method of \`` + i + "`.";
522
522
  function Zr(i) {
523
523
  {
524
524
  if (i !== void 0) {
525
- var d = i.fileName.replace(/^.*[\\\/]/, ""), b = i.lineNumber;
525
+ var d = i.fileName.replace(/^.*[\\\/]/, ""), y = i.lineNumber;
526
526
  return `
527
527
 
528
- Check your code at ` + d + ":" + b + ".";
528
+ Check your code at ` + d + ":" + y + ".";
529
529
  }
530
530
  return "";
531
531
  }
532
532
  }
533
- var Lt = {};
533
+ var Wt = {};
534
534
  function Qr(i) {
535
535
  {
536
- var d = Ht();
536
+ var d = Lt();
537
537
  if (!d) {
538
- var b = typeof i == "string" ? i : i.displayName || i.name;
539
- b && (d = `
538
+ var y = typeof i == "string" ? i : i.displayName || i.name;
539
+ y && (d = `
540
540
 
541
- Check the top-level render call using <` + b + ">.");
541
+ Check the top-level render call using <` + y + ">.");
542
542
  }
543
543
  return d;
544
544
  }
545
545
  }
546
- function Wt(i, d) {
546
+ function qt(i, d) {
547
547
  {
548
548
  if (!i._store || i._store.validated || i.key != null)
549
549
  return;
550
550
  i._store.validated = !0;
551
- var b = Qr(d);
552
- if (Lt[b])
551
+ var y = Qr(d);
552
+ if (Wt[y])
553
553
  return;
554
- Lt[b] = !0;
554
+ Wt[y] = !0;
555
555
  var w = "";
556
- i && i._owner && i._owner !== et.current && (w = " It was passed a child from " + ee(i._owner.type) + "."), Pe(i), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, w), Pe(null);
556
+ i && i._owner && i._owner !== tt.current && (w = " It was passed a child from " + ee(i._owner.type) + "."), Pe(i), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, w), Pe(null);
557
557
  }
558
558
  }
559
- function qt(i, d) {
559
+ function Yt(i, d) {
560
560
  {
561
561
  if (typeof i != "object")
562
562
  return;
563
- if (Ze(i))
564
- for (var b = 0; b < i.length; b++) {
565
- var w = i[b];
566
- rt(w) && Wt(w, d);
563
+ if (Qe(i))
564
+ for (var y = 0; y < i.length; y++) {
565
+ var w = i[y];
566
+ nt(w) && qt(w, d);
567
567
  }
568
- else if (rt(i))
568
+ else if (nt(i))
569
569
  i._store && (i._store.validated = !0);
570
570
  else if (i) {
571
571
  var q = B(i);
572
572
  if (typeof q == "function" && q !== i.entries)
573
573
  for (var X = q.call(i), I; !(I = X.next()).done; )
574
- rt(I.value) && Wt(I.value, d);
574
+ nt(I.value) && qt(I.value, d);
575
575
  }
576
576
  }
577
577
  }
@@ -580,20 +580,20 @@ Check the top-level render call using <` + b + ">.");
580
580
  var d = i.type;
581
581
  if (d == null || typeof d == "string")
582
582
  return;
583
- var b;
583
+ var y;
584
584
  if (typeof d == "function")
585
- b = d.propTypes;
586
- else if (typeof d == "object" && (d.$$typeof === p || // Note: Memo only checks outer props here.
585
+ y = d.propTypes;
586
+ else if (typeof d == "object" && (d.$$typeof === m || // Note: Memo only checks outer props here.
587
587
  // Inner props are checked in the reconciler.
588
- d.$$typeof === E))
589
- b = d.propTypes;
588
+ d.$$typeof === N))
589
+ y = d.propTypes;
590
590
  else
591
591
  return;
592
- if (b) {
592
+ if (y) {
593
593
  var w = ee(d);
594
- Hr(b, i.props, "prop", w, i);
595
- } else if (d.PropTypes !== void 0 && !tt) {
596
- tt = !0;
594
+ Hr(y, i.props, "prop", w, i);
595
+ } else if (d.PropTypes !== void 0 && !rt) {
596
+ rt = !0;
597
597
  var q = ee(d);
598
598
  v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", q || "Unknown");
599
599
  }
@@ -602,8 +602,8 @@ Check the top-level render call using <` + b + ">.");
602
602
  }
603
603
  function tn(i) {
604
604
  {
605
- for (var d = Object.keys(i.props), b = 0; b < d.length; b++) {
606
- var w = d[b];
605
+ for (var d = Object.keys(i.props), y = 0; y < d.length; y++) {
606
+ var w = d[y];
607
607
  if (w !== "children" && w !== "key") {
608
608
  Pe(i), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), Pe(null);
609
609
  break;
@@ -612,46 +612,46 @@ Check the top-level render call using <` + b + ">.");
612
612
  i.ref !== null && (Pe(i), v("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
613
613
  }
614
614
  }
615
- var Yt = {};
616
- function rn(i, d, b, w, q, X) {
615
+ var Ut = {};
616
+ function rn(i, d, y, w, q, X) {
617
617
  {
618
618
  var I = fe(i);
619
619
  if (!I) {
620
- var A = "";
621
- (i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (A += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
620
+ var V = "";
621
+ (i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
622
622
  var ne = Zr(q);
623
- ne ? A += ne : A += Ht();
623
+ ne ? V += ne : V += Lt();
624
624
  var G;
625
- i === null ? G = "null" : Ze(i) ? G = "array" : i !== void 0 && i.$$typeof === t ? (G = "<" + (ee(i.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : G = typeof i, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, A);
625
+ i === null ? G = "null" : Qe(i) ? G = "array" : i !== void 0 && i.$$typeof === t ? (G = "<" + (ee(i.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : G = typeof i, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, V);
626
626
  }
627
- var J = Jr(i, d, b, q, X);
627
+ var J = Jr(i, d, y, q, X);
628
628
  if (J == null)
629
629
  return J;
630
630
  if (I) {
631
- var he = d.children;
632
- if (he !== void 0)
631
+ var be = d.children;
632
+ if (be !== void 0)
633
633
  if (w)
634
- if (Ze(he)) {
635
- for (var Te = 0; Te < he.length; Te++)
636
- qt(he[Te], i);
637
- Object.freeze && Object.freeze(he);
634
+ if (Qe(be)) {
635
+ for (var Te = 0; Te < be.length; Te++)
636
+ Yt(be[Te], i);
637
+ Object.freeze && Object.freeze(be);
638
638
  } else
639
639
  v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
640
640
  else
641
- qt(he, i);
641
+ Yt(be, i);
642
642
  }
643
643
  if (Me.call(d, "key")) {
644
644
  var De = ee(i), ae = Object.keys(d).filter(function(an) {
645
645
  return an !== "key";
646
- }), nt = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
647
- if (!Yt[De + nt]) {
646
+ }), it = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
647
+ if (!Ut[De + it]) {
648
648
  var on = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
649
649
  v(`A props object containing a "key" prop is being spread into JSX:
650
650
  let props = %s;
651
651
  <%s {...props} />
652
652
  React keys must be passed directly to JSX without using spread:
653
653
  let props = %s;
654
- <%s key={someKey} {...props} />`, nt, De, on, De), Yt[De + nt] = !0;
654
+ <%s key={someKey} {...props} />`, it, De, on, De), Ut[De + it] = !0;
655
655
  }
656
656
  }
657
657
  return i === n ? tn(J) : en(J), J;
@@ -661,22 +661,22 @@ React keys must be passed directly to JSX without using spread:
661
661
  We.Fragment = n, We.jsxDEV = nn;
662
662
  }()), We;
663
663
  }
664
- process.env.NODE_ENV === "production" ? vt.exports = On() : vt.exports = Rn();
665
- var l = vt.exports;
664
+ process.env.NODE_ENV === "production" ? gt.exports = Rn() : gt.exports = Pn();
665
+ var l = gt.exports;
666
666
  /**
667
667
  * @license lucide-react v0.474.0 - ISC
668
668
  *
669
669
  * This source code is licensed under the ISC license.
670
670
  * See the LICENSE file in the root directory of this source tree.
671
671
  */
672
- const Pn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Nr = (...e) => e.filter((t, r, n) => !!t && t.trim() !== "" && n.indexOf(t) === r).join(" ").trim();
672
+ const Tn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Er = (...e) => e.filter((t, r, n) => !!t && t.trim() !== "" && n.indexOf(t) === r).join(" ").trim();
673
673
  /**
674
674
  * @license lucide-react v0.474.0 - ISC
675
675
  *
676
676
  * This source code is licensed under the ISC license.
677
677
  * See the LICENSE file in the root directory of this source tree.
678
678
  */
679
- var Tn = {
679
+ var jn = {
680
680
  xmlns: "http://www.w3.org/2000/svg",
681
681
  width: 24,
682
682
  height: 24,
@@ -693,7 +693,7 @@ var Tn = {
693
693
  * This source code is licensed under the ISC license.
694
694
  * See the LICENSE file in the root directory of this source tree.
695
695
  */
696
- const jn = br(
696
+ const Mn = hr(
697
697
  ({
698
698
  color: e = "currentColor",
699
699
  size: t = 24,
@@ -703,20 +703,20 @@ const jn = br(
703
703
  children: a,
704
704
  iconNode: s,
705
705
  ...u
706
- }, p) => bt(
706
+ }, m) => yt(
707
707
  "svg",
708
708
  {
709
- ref: p,
710
- ...Tn,
709
+ ref: m,
710
+ ...jn,
711
711
  width: t,
712
712
  height: t,
713
713
  stroke: e,
714
714
  strokeWidth: n ? Number(r) * 24 / Number(t) : r,
715
- className: Nr("lucide", o),
715
+ className: Er("lucide", o),
716
716
  ...u
717
717
  },
718
718
  [
719
- ...s.map(([m, y]) => bt(m, y)),
719
+ ...s.map(([p, b]) => yt(p, b)),
720
720
  ...Array.isArray(a) ? a : [a]
721
721
  ]
722
722
  )
@@ -728,11 +728,11 @@ const jn = br(
728
728
  * See the LICENSE file in the root directory of this source tree.
729
729
  */
730
730
  const L = (e, t) => {
731
- const r = br(
732
- ({ className: n, ...o }, a) => bt(jn, {
731
+ const r = hr(
732
+ ({ className: n, ...o }, a) => yt(Mn, {
733
733
  ref: a,
734
734
  iconNode: t,
735
- className: Nr(`lucide-${Pn(e)}`, n),
735
+ className: Er(`lucide-${Tn(e)}`, n),
736
736
  ...o
737
737
  })
738
738
  );
@@ -744,140 +744,140 @@ const L = (e, t) => {
744
744
  * This source code is licensed under the ISC license.
745
745
  * See the LICENSE file in the root directory of this source tree.
746
746
  */
747
- const Mn = [
747
+ const Vn = [
748
748
  ["path", { d: "M17 12H7", key: "16if0g" }],
749
749
  ["path", { d: "M19 18H5", key: "18s9l3" }],
750
750
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
751
- ], An = L("AlignCenter", Mn);
751
+ ], An = L("AlignCenter", Vn);
752
752
  /**
753
753
  * @license lucide-react v0.474.0 - ISC
754
754
  *
755
755
  * This source code is licensed under the ISC license.
756
756
  * See the LICENSE file in the root directory of this source tree.
757
757
  */
758
- const Vn = [
758
+ const $n = [
759
759
  ["path", { d: "M3 12h18", key: "1i2n21" }],
760
760
  ["path", { d: "M3 18h18", key: "1h113x" }],
761
761
  ["path", { d: "M3 6h18", key: "d0wm0j" }]
762
- ], $n = L("AlignJustify", Vn);
762
+ ], zn = L("AlignJustify", $n);
763
763
  /**
764
764
  * @license lucide-react v0.474.0 - ISC
765
765
  *
766
766
  * This source code is licensed under the ISC license.
767
767
  * See the LICENSE file in the root directory of this source tree.
768
768
  */
769
- const zn = [
769
+ const In = [
770
770
  ["path", { d: "M15 12H3", key: "6jk70r" }],
771
771
  ["path", { d: "M17 18H3", key: "1amg6g" }],
772
772
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
773
- ], In = L("AlignLeft", zn);
773
+ ], Hn = L("AlignLeft", In);
774
774
  /**
775
775
  * @license lucide-react v0.474.0 - ISC
776
776
  *
777
777
  * This source code is licensed under the ISC license.
778
778
  * See the LICENSE file in the root directory of this source tree.
779
779
  */
780
- const Hn = [
780
+ const Ln = [
781
781
  ["path", { d: "M21 12H9", key: "dn1m92" }],
782
782
  ["path", { d: "M21 18H7", key: "1ygte8" }],
783
783
  ["path", { d: "M21 6H3", key: "1jwq7v" }]
784
- ], Ln = L("AlignRight", Hn);
784
+ ], Wn = L("AlignRight", Ln);
785
785
  /**
786
786
  * @license lucide-react v0.474.0 - ISC
787
787
  *
788
788
  * This source code is licensed under the ISC license.
789
789
  * See the LICENSE file in the root directory of this source tree.
790
790
  */
791
- const Wn = [
791
+ const qn = [
792
792
  [
793
793
  "path",
794
794
  { d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8", key: "mg9rjx" }
795
795
  ]
796
- ], qn = L("Bold", Wn);
796
+ ], Yn = L("Bold", qn);
797
797
  /**
798
798
  * @license lucide-react v0.474.0 - ISC
799
799
  *
800
800
  * This source code is licensed under the ISC license.
801
801
  * See the LICENSE file in the root directory of this source tree.
802
802
  */
803
- const Yn = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Un = L("ChevronDown", Yn);
803
+ const Un = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Fn = L("ChevronDown", Un);
804
804
  /**
805
805
  * @license lucide-react v0.474.0 - ISC
806
806
  *
807
807
  * This source code is licensed under the ISC license.
808
808
  * See the LICENSE file in the root directory of this source tree.
809
809
  */
810
- const Fn = [
810
+ const Bn = [
811
811
  ["polyline", { points: "16 18 22 12 16 6", key: "z7tu5w" }],
812
812
  ["polyline", { points: "8 6 2 12 8 18", key: "1eg1df" }]
813
- ], Bn = L("Code", Fn);
813
+ ], Xn = L("Code", Bn);
814
814
  /**
815
815
  * @license lucide-react v0.474.0 - ISC
816
816
  *
817
817
  * This source code is licensed under the ISC license.
818
818
  * See the LICENSE file in the root directory of this source tree.
819
819
  */
820
- const Xn = [
820
+ const Kn = [
821
821
  ["polyline", { points: "15 10 20 15 15 20", key: "1q7qjw" }],
822
822
  ["path", { d: "M4 4v7a4 4 0 0 0 4 4h12", key: "z08zvw" }]
823
- ], Kn = L("CornerDownRight", Xn);
823
+ ], Gn = L("CornerDownRight", Kn);
824
824
  /**
825
825
  * @license lucide-react v0.474.0 - ISC
826
826
  *
827
827
  * This source code is licensed under the ISC license.
828
828
  * See the LICENSE file in the root directory of this source tree.
829
829
  */
830
- const Gn = [
830
+ const Jn = [
831
831
  ["path", { d: "M4 12h8", key: "17cfdx" }],
832
832
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
833
833
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
834
834
  ["path", { d: "m17 12 3-2v8", key: "1hhhft" }]
835
- ], it = L("Heading1", Gn);
835
+ ], ot = L("Heading1", Jn);
836
836
  /**
837
837
  * @license lucide-react v0.474.0 - ISC
838
838
  *
839
839
  * This source code is licensed under the ISC license.
840
840
  * See the LICENSE file in the root directory of this source tree.
841
841
  */
842
- const Jn = [
842
+ const Zn = [
843
843
  ["path", { d: "M4 12h8", key: "17cfdx" }],
844
844
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
845
845
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
846
846
  ["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1", key: "9jr5yi" }]
847
- ], Gt = L("Heading2", Jn);
847
+ ], Gt = L("Heading2", Zn);
848
848
  /**
849
849
  * @license lucide-react v0.474.0 - ISC
850
850
  *
851
851
  * This source code is licensed under the ISC license.
852
852
  * See the LICENSE file in the root directory of this source tree.
853
853
  */
854
- const Zn = [
854
+ const Qn = [
855
855
  ["path", { d: "M4 12h8", key: "17cfdx" }],
856
856
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
857
857
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
858
858
  ["path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2", key: "68ncm8" }],
859
859
  ["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2", key: "1ejuhz" }]
860
- ], Jt = L("Heading3", Zn);
860
+ ], Jt = L("Heading3", Qn);
861
861
  /**
862
862
  * @license lucide-react v0.474.0 - ISC
863
863
  *
864
864
  * This source code is licensed under the ISC license.
865
865
  * See the LICENSE file in the root directory of this source tree.
866
866
  */
867
- const Qn = [
867
+ const ei = [
868
868
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
869
869
  ["path", { d: "M17 10v3a1 1 0 0 0 1 1h3", key: "tj5zdr" }],
870
870
  ["path", { d: "M21 10v8", key: "1kdml4" }],
871
871
  ["path", { d: "M4 12h8", key: "17cfdx" }],
872
872
  ["path", { d: "M4 18V6", key: "1rz3zl" }]
873
- ], Zt = L("Heading4", Qn);
873
+ ], Zt = L("Heading4", ei);
874
874
  /**
875
875
  * @license lucide-react v0.474.0 - ISC
876
876
  *
877
877
  * This source code is licensed under the ISC license.
878
878
  * See the LICENSE file in the root directory of this source tree.
879
879
  */
880
- const ei = [
880
+ const ti = [
881
881
  ["path", { d: "M4 12h8", key: "17cfdx" }],
882
882
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
883
883
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
@@ -886,49 +886,49 @@ const ei = [
886
886
  "path",
887
887
  { d: "M17 17.7c.4.2.8.3 1.3.3 1.5 0 2.7-1.1 2.7-2.5S19.8 13 18.3 13H17", key: "2nebdn" }
888
888
  ]
889
- ], Qt = L("Heading5", ei);
889
+ ], Qt = L("Heading5", ti);
890
890
  /**
891
891
  * @license lucide-react v0.474.0 - ISC
892
892
  *
893
893
  * This source code is licensed under the ISC license.
894
894
  * See the LICENSE file in the root directory of this source tree.
895
895
  */
896
- const ti = [
896
+ const ri = [
897
897
  ["path", { d: "M4 12h8", key: "17cfdx" }],
898
898
  ["path", { d: "M4 18V6", key: "1rz3zl" }],
899
899
  ["path", { d: "M12 18V6", key: "zqpxq5" }],
900
900
  ["circle", { cx: "19", cy: "16", r: "2", key: "15mx69" }],
901
901
  ["path", { d: "M20 10c-2 2-3 3.5-3 6", key: "f35dl0" }]
902
- ], er = L("Heading6", ti);
902
+ ], er = L("Heading6", ri);
903
903
  /**
904
904
  * @license lucide-react v0.474.0 - ISC
905
905
  *
906
906
  * This source code is licensed under the ISC license.
907
907
  * See the LICENSE file in the root directory of this source tree.
908
908
  */
909
- const ri = [
909
+ const ni = [
910
910
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
911
911
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
912
912
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
913
- ], ni = L("Image", ri);
913
+ ], ii = L("Image", ni);
914
914
  /**
915
915
  * @license lucide-react v0.474.0 - ISC
916
916
  *
917
917
  * This source code is licensed under the ISC license.
918
918
  * See the LICENSE file in the root directory of this source tree.
919
919
  */
920
- const ii = [
920
+ const oi = [
921
921
  ["line", { x1: "19", x2: "10", y1: "4", y2: "4", key: "15jd3p" }],
922
922
  ["line", { x1: "14", x2: "5", y1: "20", y2: "20", key: "bu0au3" }],
923
923
  ["line", { x1: "15", x2: "9", y1: "4", y2: "20", key: "uljnxc" }]
924
- ], oi = L("Italic", ii);
924
+ ], ai = L("Italic", oi);
925
925
  /**
926
926
  * @license lucide-react v0.474.0 - ISC
927
927
  *
928
928
  * This source code is licensed under the ISC license.
929
929
  * See the LICENSE file in the root directory of this source tree.
930
930
  */
931
- const ai = [
931
+ const si = [
932
932
  [
933
933
  "path",
934
934
  {
@@ -950,49 +950,49 @@ const ai = [
950
950
  key: "kqbvx6"
951
951
  }
952
952
  ]
953
- ], si = L("Layers", ai);
953
+ ], li = L("Layers", si);
954
954
  /**
955
955
  * @license lucide-react v0.474.0 - ISC
956
956
  *
957
957
  * This source code is licensed under the ISC license.
958
958
  * See the LICENSE file in the root directory of this source tree.
959
959
  */
960
- const li = [
960
+ const ci = [
961
961
  ["path", { d: "M10 12h11", key: "6m4ad9" }],
962
962
  ["path", { d: "M10 18h11", key: "11hvi2" }],
963
963
  ["path", { d: "M10 6h11", key: "c7qv1k" }],
964
964
  ["path", { d: "M4 10h2", key: "16xx2s" }],
965
965
  ["path", { d: "M4 6h1v4", key: "cnovpq" }],
966
966
  ["path", { d: "M6 18H4c0-1 2-2 2-3s-1-1.5-2-1", key: "m9a95d" }]
967
- ], ci = L("ListOrdered", li);
967
+ ], ui = L("ListOrdered", ci);
968
968
  /**
969
969
  * @license lucide-react v0.474.0 - ISC
970
970
  *
971
971
  * This source code is licensed under the ISC license.
972
972
  * See the LICENSE file in the root directory of this source tree.
973
973
  */
974
- const ui = [
974
+ const di = [
975
975
  ["path", { d: "M3 12h.01", key: "nlz23k" }],
976
976
  ["path", { d: "M3 18h.01", key: "1tta3j" }],
977
977
  ["path", { d: "M3 6h.01", key: "1rqtza" }],
978
978
  ["path", { d: "M8 12h13", key: "1za7za" }],
979
979
  ["path", { d: "M8 18h13", key: "1lx6n3" }],
980
980
  ["path", { d: "M8 6h13", key: "ik3vkj" }]
981
- ], di = L("List", ui);
981
+ ], fi = L("List", di);
982
982
  /**
983
983
  * @license lucide-react v0.474.0 - ISC
984
984
  *
985
985
  * This source code is licensed under the ISC license.
986
986
  * See the LICENSE file in the root directory of this source tree.
987
987
  */
988
- const fi = [["path", { d: "M5 12h14", key: "1ays0h" }]], pi = L("Minus", fi);
988
+ const mi = [["path", { d: "M5 12h14", key: "1ays0h" }]], pi = L("Minus", mi);
989
989
  /**
990
990
  * @license lucide-react v0.474.0 - ISC
991
991
  *
992
992
  * This source code is licensed under the ISC license.
993
993
  * See the LICENSE file in the root directory of this source tree.
994
994
  */
995
- const mi = [
995
+ const bi = [
996
996
  [
997
997
  "path",
998
998
  { d: "m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z", key: "irua1i" }
@@ -1000,24 +1000,24 @@ const mi = [
1000
1000
  ["path", { d: "m5 2 5 5", key: "1lls2c" }],
1001
1001
  ["path", { d: "M2 13h15", key: "1hkzvu" }],
1002
1002
  ["path", { d: "M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z", key: "xk76lq" }]
1003
- ], hi = L("PaintBucket", mi);
1003
+ ], hi = L("PaintBucket", bi);
1004
1004
  /**
1005
1005
  * @license lucide-react v0.474.0 - ISC
1006
1006
  *
1007
1007
  * This source code is licensed under the ISC license.
1008
1008
  * See the LICENSE file in the root directory of this source tree.
1009
1009
  */
1010
- const bi = [
1010
+ const yi = [
1011
1011
  ["path", { d: "M5 12h14", key: "1ays0h" }],
1012
1012
  ["path", { d: "M12 5v14", key: "s699le" }]
1013
- ], yi = L("Plus", bi);
1013
+ ], vi = L("Plus", yi);
1014
1014
  /**
1015
1015
  * @license lucide-react v0.474.0 - ISC
1016
1016
  *
1017
1017
  * This source code is licensed under the ISC license.
1018
1018
  * See the LICENSE file in the root directory of this source tree.
1019
1019
  */
1020
- const vi = [
1020
+ const gi = [
1021
1021
  [
1022
1022
  "path",
1023
1023
  {
@@ -1032,45 +1032,45 @@ const vi = [
1032
1032
  key: "1ymkrd"
1033
1033
  }
1034
1034
  ]
1035
- ], gi = L("Quote", vi);
1035
+ ], xi = L("Quote", gi);
1036
1036
  /**
1037
1037
  * @license lucide-react v0.474.0 - ISC
1038
1038
  *
1039
1039
  * This source code is licensed under the ISC license.
1040
1040
  * See the LICENSE file in the root directory of this source tree.
1041
1041
  */
1042
- const xi = [
1042
+ const Ni = [
1043
1043
  ["path", { d: "M21 7v6h-6", key: "3ptur4" }],
1044
1044
  ["path", { d: "M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7", key: "1kgawr" }]
1045
- ], Ei = L("Redo", xi);
1045
+ ], Ei = L("Redo", Ni);
1046
1046
  /**
1047
1047
  * @license lucide-react v0.474.0 - ISC
1048
1048
  *
1049
1049
  * This source code is licensed under the ISC license.
1050
1050
  * See the LICENSE file in the root directory of this source tree.
1051
1051
  */
1052
- const Ni = [
1052
+ const Si = [
1053
1053
  ["path", { d: "M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5", key: "1uzm8b" }],
1054
1054
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
1055
- ], Si = L("SquareCheckBig", Ni);
1055
+ ], wi = L("SquareCheckBig", Si);
1056
1056
  /**
1057
1057
  * @license lucide-react v0.474.0 - ISC
1058
1058
  *
1059
1059
  * This source code is licensed under the ISC license.
1060
1060
  * See the LICENSE file in the root directory of this source tree.
1061
1061
  */
1062
- const wi = [
1062
+ const Ci = [
1063
1063
  ["path", { d: "M16 4H9a3 3 0 0 0-2.83 4", key: "43sutm" }],
1064
1064
  ["path", { d: "M14 12a4 4 0 0 1 0 8H6", key: "nlfj13" }],
1065
1065
  ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }]
1066
- ], Ci = L("Strikethrough", wi);
1066
+ ], ki = L("Strikethrough", Ci);
1067
1067
  /**
1068
1068
  * @license lucide-react v0.474.0 - ISC
1069
1069
  *
1070
1070
  * This source code is licensed under the ISC license.
1071
1071
  * See the LICENSE file in the root directory of this source tree.
1072
1072
  */
1073
- const _i = [
1073
+ const Di = [
1074
1074
  ["path", { d: "m4 5 8 8", key: "1eunvl" }],
1075
1075
  ["path", { d: "m12 5-8 8", key: "1ah0jp" }],
1076
1076
  [
@@ -1080,14 +1080,14 @@ const _i = [
1080
1080
  key: "e8ta8j"
1081
1081
  }
1082
1082
  ]
1083
- ], Di = L("Subscript", _i);
1083
+ ], _i = L("Subscript", Di);
1084
1084
  /**
1085
1085
  * @license lucide-react v0.474.0 - ISC
1086
1086
  *
1087
1087
  * This source code is licensed under the ISC license.
1088
1088
  * See the LICENSE file in the root directory of this source tree.
1089
1089
  */
1090
- const ki = [
1090
+ const Oi = [
1091
1091
  ["path", { d: "m4 19 8-8", key: "hr47gm" }],
1092
1092
  ["path", { d: "m12 19-8-8", key: "1dhhmo" }],
1093
1093
  [
@@ -1097,73 +1097,73 @@ const ki = [
1097
1097
  key: "1dfcux"
1098
1098
  }
1099
1099
  ]
1100
- ], Oi = L("Superscript", ki);
1100
+ ], Ri = L("Superscript", Oi);
1101
1101
  /**
1102
1102
  * @license lucide-react v0.474.0 - ISC
1103
1103
  *
1104
1104
  * This source code is licensed under the ISC license.
1105
1105
  * See the LICENSE file in the root directory of this source tree.
1106
1106
  */
1107
- const Ri = [
1107
+ const Pi = [
1108
1108
  ["path", { d: "M12 3v18", key: "108xh3" }],
1109
1109
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
1110
1110
  ["path", { d: "M3 9h18", key: "1pudct" }],
1111
1111
  ["path", { d: "M3 15h18", key: "5xshup" }]
1112
- ], Pi = L("Table", Ri);
1112
+ ], Ti = L("Table", Pi);
1113
1113
  /**
1114
1114
  * @license lucide-react v0.474.0 - ISC
1115
1115
  *
1116
1116
  * This source code is licensed under the ISC license.
1117
1117
  * See the LICENSE file in the root directory of this source tree.
1118
1118
  */
1119
- const Ti = [
1119
+ const ji = [
1120
1120
  ["path", { d: "M17 22h-1a4 4 0 0 1-4-4V6a4 4 0 0 1 4-4h1", key: "uvaxm9" }],
1121
1121
  ["path", { d: "M7 22h1a4 4 0 0 0 4-4v-1", key: "11xy8d" }],
1122
1122
  ["path", { d: "M7 2h1a4 4 0 0 1 4 4v1", key: "1uw06m" }]
1123
- ], ji = L("TextCursor", Ti);
1123
+ ], Mi = L("TextCursor", ji);
1124
1124
  /**
1125
1125
  * @license lucide-react v0.474.0 - ISC
1126
1126
  *
1127
1127
  * This source code is licensed under the ISC license.
1128
1128
  * See the LICENSE file in the root directory of this source tree.
1129
1129
  */
1130
- const Mi = [
1130
+ const Vi = [
1131
1131
  ["path", { d: "M6 4v6a6 6 0 0 0 12 0V4", key: "9kb039" }],
1132
1132
  ["line", { x1: "4", x2: "20", y1: "20", y2: "20", key: "nun2al" }]
1133
- ], Ai = L("Underline", Mi);
1133
+ ], Ai = L("Underline", Vi);
1134
1134
  /**
1135
1135
  * @license lucide-react v0.474.0 - ISC
1136
1136
  *
1137
1137
  * This source code is licensed under the ISC license.
1138
1138
  * See the LICENSE file in the root directory of this source tree.
1139
1139
  */
1140
- const Vi = [
1140
+ const $i = [
1141
1141
  ["path", { d: "M3 7v6h6", key: "1v2h90" }],
1142
1142
  ["path", { d: "M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13", key: "1r6uu6" }]
1143
- ], $i = L("Undo", Vi);
1143
+ ], zi = L("Undo", $i);
1144
1144
  /**
1145
1145
  * @license lucide-react v0.474.0 - ISC
1146
1146
  *
1147
1147
  * This source code is licensed under the ISC license.
1148
1148
  * See the LICENSE file in the root directory of this source tree.
1149
1149
  */
1150
- const zi = [
1150
+ const Ii = [
1151
1151
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
1152
1152
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
1153
- ], Ii = L("X", zi);
1154
- function Hi({ editor: e }) {
1155
- const [t, r] = ge(!1);
1153
+ ], Hi = L("X", Ii);
1154
+ function Li({ editor: e }) {
1155
+ const [t, r] = he(!1);
1156
1156
  return /* @__PURE__ */ l.jsxDEV("div", { className: "relative", children: [
1157
1157
  /* @__PURE__ */ l.jsxDEV(
1158
1158
  "button",
1159
1159
  {
1160
- className: "fixed z-50 flex items-center justify-center w-12 h-12 text-white transition-all duration-300 bg-blue-500 rounded-full shadow-lg bottom-4 right-4 hover:bg-blue-600",
1160
+ className: `p-1 text-black transition-all duration-300 rounded-md shadow-lg hover:bg-blue-100 hover:text-blue-600 ${t ? "bg-blue-100 text-blue-600" : ""}`,
1161
1161
  onClick: () => r(!t),
1162
- children: t ? /* @__PURE__ */ l.jsxDEV(Ii, { size: 24 }, void 0, !1, {
1162
+ children: t ? /* @__PURE__ */ l.jsxDEV(Hi, { size: 24 }, void 0, !1, {
1163
1163
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/cyber-extensions.tsx",
1164
1164
  lineNumber: 13,
1165
1165
  columnNumber: 25
1166
- }, this) : /* @__PURE__ */ l.jsxDEV(si, { size: 24 }, void 0, !1, {
1166
+ }, this) : /* @__PURE__ */ l.jsxDEV(li, { size: 24 }, void 0, !1, {
1167
1167
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/cyber-extensions.tsx",
1168
1168
  lineNumber: 13,
1169
1169
  columnNumber: 43
@@ -1183,7 +1183,7 @@ function Hi({ editor: e }) {
1183
1183
  {
1184
1184
  className: "fixed z-40 w-64 p-4 bg-white border border-gray-200 rounded-lg shadow-xl bottom-20 right-4 animate-slide-up",
1185
1185
  children: /* @__PURE__ */ l.jsxDEV("div", { className: "space-y-2", children: [
1186
- /* @__PURE__ */ l.jsxDEV("h3", { className: "mb-3 text-lg font-semibold text-gray-700", children: "Insert Components" }, void 0, !1, {
1186
+ /* @__PURE__ */ l.jsxDEV("h3", { className: "mb-3 font-bold text-center text-gray-700", children: "Cyber Extensions" }, void 0, !1, {
1187
1187
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/cyber-extensions.tsx",
1188
1188
  lineNumber: 21,
1189
1189
  columnNumber: 25
@@ -1198,14 +1198,14 @@ function Hi({ editor: e }) {
1198
1198
  content: [{ type: "paragraph", content: [{ type: "text", text: "Accordion content" }] }]
1199
1199
  }).run();
1200
1200
  },
1201
- className: "flex items-center justify-center w-full gap-2 px-4 py-2 text-blue-600 duration-300 rounded-md bg-blue-50 hover:bg-blue-100 hover:text-blue-700",
1201
+ className: "flex items-center justify-center w-full gap-2 px-3 py-1 text-blue-600 duration-300 rounded-md bg-blue-50 hover:bg-blue-100 hover:text-blue-700",
1202
1202
  children: [
1203
- /* @__PURE__ */ l.jsxDEV(yi, { size: 16 }, void 0, !1, {
1203
+ /* @__PURE__ */ l.jsxDEV(vi, { size: 16 }, void 0, !1, {
1204
1204
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/cyber-extensions.tsx",
1205
1205
  lineNumber: 33,
1206
1206
  columnNumber: 29
1207
1207
  }, this),
1208
- "Add Accordion"
1208
+ " Accordion"
1209
1209
  ]
1210
1210
  },
1211
1211
  void 0,
@@ -1238,120 +1238,99 @@ function Hi({ editor: e }) {
1238
1238
  columnNumber: 9
1239
1239
  }, this);
1240
1240
  }
1241
- const Li = ({ editor: e }) => {
1242
- const [t, r] = ge("#1677ff"), [n, o] = ge("#ffffff"), a = (p) => {
1243
- const m = p.toHexString();
1244
- r(m), e.chain().focus().setColor(m).run();
1245
- }, s = (p) => {
1246
- const m = p.toHexString();
1247
- o(m), e.chain().focus().setHighlight({ color: m }).run();
1248
- }, u = (p) => {
1249
- p.preventDefault();
1241
+ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1242
+ fn,
1243
+ {
1244
+ value: e,
1245
+ onChange: t,
1246
+ presets: [
1247
+ {
1248
+ label: "Recommended",
1249
+ colors: [
1250
+ "#1677ff",
1251
+ "#52c41a",
1252
+ "#faad14",
1253
+ "#ff4d4f",
1254
+ "#722ed1",
1255
+ "#13c2c2",
1256
+ "#ffffff",
1257
+ "#000000"
1258
+ ]
1259
+ }
1260
+ ]
1261
+ },
1262
+ void 0,
1263
+ !1,
1264
+ {
1265
+ fileName: "E:/CyberSkill/cyber-editor/src/components/color-picker.tsx",
1266
+ lineNumber: 12,
1267
+ columnNumber: 9
1268
+ },
1269
+ void 0
1270
+ ), Wi = ({ editor: e }) => {
1271
+ const [t, r] = he("#1677ff"), [n, o] = he("#ffffff"), a = (m) => {
1272
+ const p = m.toHexString();
1273
+ r(p), e.chain().focus().setColor(p).run();
1274
+ }, s = (m) => {
1275
+ const p = m.toHexString();
1276
+ o(p), e.chain().focus().setHighlight({ color: p }).run();
1277
+ }, u = (m) => {
1278
+ m.preventDefault();
1250
1279
  };
1251
1280
  return /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-4", children: [
1252
- /* @__PURE__ */ l.jsxDEV(yt, { title: "Text Color", children: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onMouseDown: u, children: [
1253
- /* @__PURE__ */ l.jsxDEV(ji, { size: 20, color: "black" }, void 0, !1, {
1281
+ /* @__PURE__ */ l.jsxDEV(vt, { title: "Text Color", children: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onMouseDown: u, children: [
1282
+ /* @__PURE__ */ l.jsxDEV(Mi, { size: 20, color: "black" }, void 0, !1, {
1254
1283
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1255
- lineNumber: 32,
1284
+ lineNumber: 33,
1256
1285
  columnNumber: 21
1257
1286
  }, void 0),
1258
- /* @__PURE__ */ l.jsxDEV(
1259
- Ut,
1260
- {
1261
- value: t,
1262
- onChange: a,
1263
- presets: [
1264
- {
1265
- label: "Recommended",
1266
- colors: [
1267
- "#1677ff",
1268
- "#52c41a",
1269
- "#faad14",
1270
- "#ff4d4f",
1271
- "#722ed1",
1272
- "#13c2c2",
1273
- "#ffffff",
1274
- "#000000"
1275
- ]
1276
- }
1277
- ]
1278
- },
1279
- void 0,
1280
- !1,
1281
- {
1282
- fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1283
- lineNumber: 33,
1284
- columnNumber: 21
1285
- },
1286
- void 0
1287
- )
1287
+ /* @__PURE__ */ l.jsxDEV(Ue, { value: t, onChange: a }, void 0, !1, {
1288
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1289
+ lineNumber: 34,
1290
+ columnNumber: 21
1291
+ }, void 0)
1288
1292
  ] }, void 0, !0, {
1289
1293
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1290
- lineNumber: 31,
1294
+ lineNumber: 32,
1291
1295
  columnNumber: 17
1292
1296
  }, void 0) }, void 0, !1, {
1293
1297
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1294
- lineNumber: 30,
1298
+ lineNumber: 31,
1295
1299
  columnNumber: 13
1296
1300
  }, void 0),
1297
- /* @__PURE__ */ l.jsxDEV(yt, { title: "Highlight Color", children: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onMouseDown: u, children: [
1301
+ /* @__PURE__ */ l.jsxDEV(vt, { title: "Highlight Color", children: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onMouseDown: u, children: [
1298
1302
  /* @__PURE__ */ l.jsxDEV(hi, { size: 20, color: "black" }, void 0, !1, {
1299
1303
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1300
- lineNumber: 58,
1304
+ lineNumber: 41,
1301
1305
  columnNumber: 21
1302
1306
  }, void 0),
1303
- /* @__PURE__ */ l.jsxDEV(
1304
- Ut,
1305
- {
1306
- value: n,
1307
- onChange: s,
1308
- presets: [
1309
- {
1310
- label: "Recommended",
1311
- colors: [
1312
- "#1677ff",
1313
- "#52c41a",
1314
- "#faad14",
1315
- "#ff4d4f",
1316
- "#722ed1",
1317
- "#13c2c2",
1318
- "#ffffff",
1319
- "#000000"
1320
- ]
1321
- }
1322
- ]
1323
- },
1324
- void 0,
1325
- !1,
1326
- {
1327
- fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1328
- lineNumber: 59,
1329
- columnNumber: 21
1330
- },
1331
- void 0
1332
- )
1307
+ /* @__PURE__ */ l.jsxDEV(Ue, { value: n, onChange: s }, void 0, !1, {
1308
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1309
+ lineNumber: 42,
1310
+ columnNumber: 21
1311
+ }, void 0)
1333
1312
  ] }, void 0, !0, {
1334
1313
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1335
- lineNumber: 57,
1314
+ lineNumber: 40,
1336
1315
  columnNumber: 17
1337
1316
  }, void 0) }, void 0, !1, {
1338
1317
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1339
- lineNumber: 56,
1318
+ lineNumber: 39,
1340
1319
  columnNumber: 13
1341
1320
  }, void 0)
1342
1321
  ] }, void 0, !0, {
1343
1322
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1344
- lineNumber: 28,
1323
+ lineNumber: 29,
1345
1324
  columnNumber: 9
1346
1325
  }, void 0);
1347
- }, Wi = ({ editor: e }) => {
1326
+ }, qi = ({ editor: e }) => {
1348
1327
  if (!e) return null;
1349
1328
  const t = () => {
1350
1329
  for (let n = 1; n <= 6; n++)
1351
1330
  if (e.isActive("heading", { level: n }))
1352
1331
  switch (n) {
1353
1332
  case 1:
1354
- return /* @__PURE__ */ l.jsxDEV(it, { size: 16 }, void 0, !1, {
1333
+ return /* @__PURE__ */ l.jsxDEV(ot, { size: 16 }, void 0, !1, {
1355
1334
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/heading/heading-dropdown.tsx",
1356
1335
  lineNumber: 15,
1357
1336
  columnNumber: 36
@@ -1387,7 +1366,7 @@ const Li = ({ editor: e }) => {
1387
1366
  columnNumber: 36
1388
1367
  }, void 0);
1389
1368
  }
1390
- return /* @__PURE__ */ l.jsxDEV(it, { size: 16 }, void 0, !1, {
1369
+ return /* @__PURE__ */ l.jsxDEV(ot, { size: 16 }, void 0, !1, {
1391
1370
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/heading/heading-dropdown.tsx",
1392
1371
  lineNumber: 24,
1393
1372
  columnNumber: 16
@@ -1396,7 +1375,7 @@ const Li = ({ editor: e }) => {
1396
1375
  ...Array.from({ length: 6 }, (n, o) => ({
1397
1376
  key: `${o + 1}`,
1398
1377
  label: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onClick: () => e.chain().focus().toggleHeading({ level: o + 1 }).run(), children: [
1399
- ke.createElement([it, Gt, Jt, Zt, Qt, er][o], { size: 16 }),
1378
+ _e.createElement([ot, Gt, Jt, Zt, Qt, er][o], { size: 16 }),
1400
1379
  /* @__PURE__ */ l.jsxDEV("span", { children: [
1401
1380
  "Heading ",
1402
1381
  o + 1
@@ -1413,7 +1392,7 @@ const Li = ({ editor: e }) => {
1413
1392
  className: e.isActive("heading", { level: o + 1 }) ? "ant-dropdown-menu-item-active" : ""
1414
1393
  }))
1415
1394
  ];
1416
- return /* @__PURE__ */ l.jsxDEV(Ct, { menu: { items: r }, trigger: ["hover"], placement: "bottomLeft", children: /* @__PURE__ */ l.jsxDEV("button", { className: "flex items-center gap-1 p-2 rounded-md hover:bg-blue-100 hover:text-blue-600", children: t() }, void 0, !1, {
1395
+ return /* @__PURE__ */ l.jsxDEV(kt, { menu: { items: r }, trigger: ["hover"], placement: "bottomLeft", children: /* @__PURE__ */ l.jsxDEV("button", { className: "flex items-center gap-1 p-2 rounded-md hover:bg-blue-100 hover:text-blue-600", children: t() }, void 0, !1, {
1417
1396
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/heading/heading-dropdown.tsx",
1418
1397
  lineNumber: 42,
1419
1398
  columnNumber: 13
@@ -1422,32 +1401,32 @@ const Li = ({ editor: e }) => {
1422
1401
  lineNumber: 41,
1423
1402
  columnNumber: 9
1424
1403
  }, void 0);
1425
- }, qi = 8, Yi = 8, Ui = ({
1404
+ }, Yi = 8, Ui = 8, Fi = ({
1426
1405
  editor: e,
1427
1406
  buttonClass: t,
1428
1407
  activeClass: r
1429
1408
  }) => {
1430
- const [n, o] = ge({ rows: 0, cols: 0 }), [a, s] = ge(!1), u = (p, m) => {
1431
- e.chain().focus().insertTable({ rows: p, cols: m, withHeaderRow: !0 }).run(), s(!1);
1409
+ const [n, o] = he({ rows: 0, cols: 0 }), [a, s] = he(!1), u = (m, p) => {
1410
+ e.chain().focus().insertTable({ rows: m, cols: p, withHeaderRow: !0 }).run(), s(!1);
1432
1411
  };
1433
1412
  return /* @__PURE__ */ l.jsxDEV(
1434
- Ct,
1413
+ kt,
1435
1414
  {
1436
1415
  open: a,
1437
1416
  onOpenChange: s,
1438
1417
  trigger: ["hover"],
1439
1418
  overlay: /* @__PURE__ */ l.jsxDEV("div", { className: "w-56 p-4 bg-white border border-gray-300 rounded-lg shadow-xl", children: [
1440
- /* @__PURE__ */ l.jsxDEV("div", { className: "grid grid-cols-8 gap-1", children: Array.from({ length: qi }).map(
1441
- (p, m) => Array.from({ length: Yi }).map((y, E) => {
1442
- const O = m < n.rows && E < n.cols;
1419
+ /* @__PURE__ */ l.jsxDEV("div", { className: "grid grid-cols-8 gap-1", children: Array.from({ length: Yi }).map(
1420
+ (m, p) => Array.from({ length: Ui }).map((b, N) => {
1421
+ const O = p < n.rows && N < n.cols;
1443
1422
  return /* @__PURE__ */ l.jsxDEV(
1444
1423
  "div",
1445
1424
  {
1446
1425
  className: `w-5 h-5 border rounded-sm cursor-pointer transition-all duration-200 ${O ? "bg-blue-400 border-white scale-110" : "bg-gray-200 hover:bg-gray-300"}`,
1447
- onMouseEnter: () => o({ rows: m + 1, cols: E + 1 }),
1448
- onClick: () => u(m + 1, E + 1)
1426
+ onMouseEnter: () => o({ rows: p + 1, cols: N + 1 }),
1427
+ onClick: () => u(p + 1, N + 1)
1449
1428
  },
1450
- `${m}-${E}`,
1429
+ `${p}-${N}`,
1451
1430
  !1,
1452
1431
  {
1453
1432
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/table/table-selector.tsx",
@@ -1476,7 +1455,7 @@ const Li = ({ editor: e }) => {
1476
1455
  "button",
1477
1456
  {
1478
1457
  className: `${t} ${a ? r : ""} transition-all`,
1479
- children: /* @__PURE__ */ l.jsxDEV(Pi, { className: "w-5 h-5" }, void 0, !1, {
1458
+ children: /* @__PURE__ */ l.jsxDEV(Ti, { className: "w-5 h-5" }, void 0, !1, {
1480
1459
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/table/table-selector.tsx",
1481
1460
  lineNumber: 65,
1482
1461
  columnNumber: 17
@@ -1502,10 +1481,10 @@ const Li = ({ editor: e }) => {
1502
1481
  void 0
1503
1482
  );
1504
1483
  };
1505
- function Fi() {
1506
- const { editor: e } = wt();
1484
+ function Bi() {
1485
+ const { editor: e } = Ct();
1507
1486
  if (!e) return null;
1508
- const t = "p-2 rounded-md transition-all duration-200 hover:bg-blue-100 hover:text-blue-600", r = "bg-blue-100 text-blue-600", n = (o, a, s, u, p) => /* @__PURE__ */ l.jsxDEV(yt, { title: p, children: /* @__PURE__ */ l.jsxDEV(
1487
+ const t = "p-2 rounded-md transition-all duration-200 hover:bg-blue-100 hover:text-blue-600", r = "bg-blue-100 text-blue-600", n = (o, a, s, u, m) => /* @__PURE__ */ l.jsxDEV(vt, { title: m, children: /* @__PURE__ */ l.jsxDEV(
1509
1488
  "button",
1510
1489
  {
1511
1490
  type: "button",
@@ -1534,7 +1513,7 @@ function Fi() {
1534
1513
  return /* @__PURE__ */ l.jsxDEV("div", { className: "flex flex-wrap items-center gap-2 p-2 border-b border-gray-200 rounded-t-lg bg-gray-50", children: [
1535
1514
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1536
1515
  n(
1537
- /* @__PURE__ */ l.jsxDEV(qn, { size: 16 }, void 0, !1, {
1516
+ /* @__PURE__ */ l.jsxDEV(Yn, { size: 16 }, void 0, !1, {
1538
1517
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1539
1518
  lineNumber: 54,
1540
1519
  columnNumber: 21
@@ -1545,7 +1524,7 @@ function Fi() {
1545
1524
  "Bold"
1546
1525
  ),
1547
1526
  n(
1548
- /* @__PURE__ */ l.jsxDEV(oi, { size: 16 }, void 0, !1, {
1527
+ /* @__PURE__ */ l.jsxDEV(ai, { size: 16 }, void 0, !1, {
1549
1528
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1550
1529
  lineNumber: 61,
1551
1530
  columnNumber: 21
@@ -1567,7 +1546,7 @@ function Fi() {
1567
1546
  "Underline"
1568
1547
  ),
1569
1548
  n(
1570
- /* @__PURE__ */ l.jsxDEV(Ci, { size: 16 }, void 0, !1, {
1549
+ /* @__PURE__ */ l.jsxDEV(ki, { size: 16 }, void 0, !1, {
1571
1550
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1572
1551
  lineNumber: 75,
1573
1552
  columnNumber: 21
@@ -1578,7 +1557,7 @@ function Fi() {
1578
1557
  "Strikethrough"
1579
1558
  ),
1580
1559
  n(
1581
- /* @__PURE__ */ l.jsxDEV(Bn, { size: 16 }, void 0, !1, {
1560
+ /* @__PURE__ */ l.jsxDEV(Xn, { size: 16 }, void 0, !1, {
1582
1561
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1583
1562
  lineNumber: 82,
1584
1563
  columnNumber: 21
@@ -1589,7 +1568,7 @@ function Fi() {
1589
1568
  "Code"
1590
1569
  ),
1591
1570
  n(
1592
- /* @__PURE__ */ l.jsxDEV(Di, { size: 16 }, void 0, !1, {
1571
+ /* @__PURE__ */ l.jsxDEV(_i, { size: 16 }, void 0, !1, {
1593
1572
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1594
1573
  lineNumber: 89,
1595
1574
  columnNumber: 21
@@ -1600,7 +1579,7 @@ function Fi() {
1600
1579
  "Subscript"
1601
1580
  ),
1602
1581
  n(
1603
- /* @__PURE__ */ l.jsxDEV(Oi, { size: 16 }, void 0, !1, {
1582
+ /* @__PURE__ */ l.jsxDEV(Ri, { size: 16 }, void 0, !1, {
1604
1583
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1605
1584
  lineNumber: 96,
1606
1585
  columnNumber: 21
@@ -1620,7 +1599,7 @@ function Fi() {
1620
1599
  lineNumber: 104,
1621
1600
  columnNumber: 13
1622
1601
  }, this),
1623
- /* @__PURE__ */ l.jsxDEV(Wi, { editor: e }, void 0, !1, {
1602
+ /* @__PURE__ */ l.jsxDEV(qi, { editor: e }, void 0, !1, {
1624
1603
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1625
1604
  lineNumber: 107,
1626
1605
  columnNumber: 13
@@ -1632,7 +1611,7 @@ function Fi() {
1632
1611
  }, this),
1633
1612
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1634
1613
  n(
1635
- /* @__PURE__ */ l.jsxDEV(In, { size: 16 }, void 0, !1, {
1614
+ /* @__PURE__ */ l.jsxDEV(Hn, { size: 16 }, void 0, !1, {
1636
1615
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1637
1616
  lineNumber: 114,
1638
1617
  columnNumber: 21
@@ -1654,7 +1633,7 @@ function Fi() {
1654
1633
  "Align Center"
1655
1634
  ),
1656
1635
  n(
1657
- /* @__PURE__ */ l.jsxDEV(Ln, { size: 16 }, void 0, !1, {
1636
+ /* @__PURE__ */ l.jsxDEV(Wn, { size: 16 }, void 0, !1, {
1658
1637
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1659
1638
  lineNumber: 126,
1660
1639
  columnNumber: 21
@@ -1665,7 +1644,7 @@ function Fi() {
1665
1644
  "Align Right"
1666
1645
  ),
1667
1646
  n(
1668
- /* @__PURE__ */ l.jsxDEV($n, { size: 16 }, void 0, !1, {
1647
+ /* @__PURE__ */ l.jsxDEV(zn, { size: 16 }, void 0, !1, {
1669
1648
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1670
1649
  lineNumber: 131,
1671
1650
  columnNumber: 21
@@ -1687,7 +1666,7 @@ function Fi() {
1687
1666
  }, this),
1688
1667
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1689
1668
  n(
1690
- /* @__PURE__ */ l.jsxDEV(di, { size: 16 }, void 0, !1, {
1669
+ /* @__PURE__ */ l.jsxDEV(fi, { size: 16 }, void 0, !1, {
1691
1670
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1692
1671
  lineNumber: 142,
1693
1672
  columnNumber: 21
@@ -1698,7 +1677,7 @@ function Fi() {
1698
1677
  "Bullet List"
1699
1678
  ),
1700
1679
  n(
1701
- /* @__PURE__ */ l.jsxDEV(ci, { size: 16 }, void 0, !1, {
1680
+ /* @__PURE__ */ l.jsxDEV(ui, { size: 16 }, void 0, !1, {
1702
1681
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1703
1682
  lineNumber: 147,
1704
1683
  columnNumber: 21
@@ -1709,7 +1688,7 @@ function Fi() {
1709
1688
  "Ordered List"
1710
1689
  ),
1711
1690
  n(
1712
- /* @__PURE__ */ l.jsxDEV(Si, { size: 16 }, void 0, !1, {
1691
+ /* @__PURE__ */ l.jsxDEV(wi, { size: 16 }, void 0, !1, {
1713
1692
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1714
1693
  lineNumber: 152,
1715
1694
  columnNumber: 21
@@ -1731,7 +1710,7 @@ function Fi() {
1731
1710
  }, this),
1732
1711
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1733
1712
  n(
1734
- /* @__PURE__ */ l.jsxDEV(gi, { size: 16 }, void 0, !1, {
1713
+ /* @__PURE__ */ l.jsxDEV(xi, { size: 16 }, void 0, !1, {
1735
1714
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1736
1715
  lineNumber: 163,
1737
1716
  columnNumber: 21
@@ -1741,7 +1720,7 @@ function Fi() {
1741
1720
  !1,
1742
1721
  "Blockquote"
1743
1722
  ),
1744
- /* @__PURE__ */ l.jsxDEV(Ui, { editor: e, buttonClass: t, activeClass: r }, void 0, !1, {
1723
+ /* @__PURE__ */ l.jsxDEV(Fi, { editor: e, buttonClass: t, activeClass: r }, void 0, !1, {
1745
1724
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1746
1725
  lineNumber: 167,
1747
1726
  columnNumber: 17
@@ -1758,7 +1737,7 @@ function Fi() {
1758
1737
  "Horizontal Rule"
1759
1738
  ),
1760
1739
  n(
1761
- /* @__PURE__ */ l.jsxDEV(Kn, { size: 16 }, void 0, !1, {
1740
+ /* @__PURE__ */ l.jsxDEV(Gn, { size: 16 }, void 0, !1, {
1762
1741
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1763
1742
  lineNumber: 173,
1764
1743
  columnNumber: 21
@@ -1780,7 +1759,7 @@ function Fi() {
1780
1759
  }, this),
1781
1760
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1782
1761
  n(
1783
- /* @__PURE__ */ l.jsxDEV($i, { size: 16 }, void 0, !1, {
1762
+ /* @__PURE__ */ l.jsxDEV(zi, { size: 16 }, void 0, !1, {
1784
1763
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1785
1764
  lineNumber: 183,
1786
1765
  columnNumber: 21
@@ -1810,7 +1789,7 @@ function Fi() {
1810
1789
  columnNumber: 13
1811
1790
  }, this),
1812
1791
  n(
1813
- /* @__PURE__ */ l.jsxDEV(ni, { size: 16 }, void 0, !1, {
1792
+ /* @__PURE__ */ l.jsxDEV(ii, { size: 16 }, void 0, !1, {
1814
1793
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1815
1794
  lineNumber: 199,
1816
1795
  columnNumber: 17
@@ -1835,14 +1814,19 @@ function Fi() {
1835
1814
  lineNumber: 217,
1836
1815
  columnNumber: 13
1837
1816
  }, this),
1838
- /* @__PURE__ */ l.jsxDEV(Li, { editor: e }, void 0, !1, {
1817
+ /* @__PURE__ */ l.jsxDEV(Wi, { editor: e }, void 0, !1, {
1839
1818
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1840
1819
  lineNumber: 220,
1841
1820
  columnNumber: 13
1842
1821
  }, this),
1843
- /* @__PURE__ */ l.jsxDEV(Hi, { editor: e }, void 0, !1, {
1822
+ /* @__PURE__ */ l.jsxDEV("div", { className: "h-5 w-[1px] bg-gray-300 mx-2" }, void 0, !1, {
1844
1823
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1845
- lineNumber: 221,
1824
+ lineNumber: 222,
1825
+ columnNumber: 13
1826
+ }, this),
1827
+ /* @__PURE__ */ l.jsxDEV(Li, { editor: e }, void 0, !1, {
1828
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1829
+ lineNumber: 223,
1846
1830
  columnNumber: 13
1847
1831
  }, this)
1848
1832
  ] }, void 0, !0, {
@@ -1852,57 +1836,63 @@ function Fi() {
1852
1836
  }, this);
1853
1837
  }
1854
1838
  const Sr = ({
1855
- childrenContent: e,
1856
- editable: t,
1857
- childrenEdit: r
1839
+ title: e,
1840
+ childrenContent: t,
1841
+ editable: r,
1842
+ childrenEdit: n
1858
1843
  }) => {
1859
- const [n, o] = ge(!1), a = t ? /* @__PURE__ */ l.jsxDEV(Ft, { children: /* @__PURE__ */ l.jsxDEV(Ft.Item, { onClick: () => o(!0), children: "Edit" }, "edit", !1, {
1844
+ const [o, a] = he(!1), s = r ? /* @__PURE__ */ l.jsxDEV(Ft, { children: /* @__PURE__ */ l.jsxDEV(Ft.Item, { onClick: () => a(!0), children: "Edit" }, "edit", !1, {
1860
1845
  fileName: "E:/CyberSkill/cyber-editor/src/components/modal-edit.tsx",
1861
- lineNumber: 17,
1846
+ lineNumber: 19,
1862
1847
  columnNumber: 13
1863
1848
  }, void 0) }, void 0, !1, {
1864
1849
  fileName: "E:/CyberSkill/cyber-editor/src/components/modal-edit.tsx",
1865
- lineNumber: 16,
1850
+ lineNumber: 18,
1866
1851
  columnNumber: 9
1867
1852
  }, void 0) : null;
1868
1853
  return /* @__PURE__ */ l.jsxDEV("div", { children: [
1869
- t && a ? /* @__PURE__ */ l.jsxDEV(Ct, { overlay: a, trigger: ["contextMenu"], children: e }, void 0, !1, {
1854
+ r && s ? /* @__PURE__ */ l.jsxDEV(kt, { overlay: s, trigger: ["contextMenu"], children: t }, void 0, !1, {
1870
1855
  fileName: "E:/CyberSkill/cyber-editor/src/components/modal-edit.tsx",
1871
- lineNumber: 26,
1856
+ lineNumber: 28,
1872
1857
  columnNumber: 17
1873
- }, void 0) : e,
1858
+ }, void 0) : t,
1874
1859
  /* @__PURE__ */ l.jsxDEV(
1875
- fn,
1860
+ mn,
1876
1861
  {
1877
- title: "Edit",
1878
- open: n,
1879
- onOk: () => o(!1),
1880
- onCancel: () => o(!1),
1881
- children: r
1862
+ title: `Edit ${e}`,
1863
+ open: o,
1864
+ onOk: () => a(!1),
1865
+ onCancel: () => a(!1),
1866
+ children: n
1882
1867
  },
1883
1868
  void 0,
1884
1869
  !1,
1885
1870
  {
1886
1871
  fileName: "E:/CyberSkill/cyber-editor/src/components/modal-edit.tsx",
1887
- lineNumber: 33,
1872
+ lineNumber: 35,
1888
1873
  columnNumber: 13
1889
1874
  },
1890
1875
  void 0
1891
1876
  )
1892
1877
  ] }, void 0, !0, {
1893
1878
  fileName: "E:/CyberSkill/cyber-editor/src/components/modal-edit.tsx",
1894
- lineNumber: 24,
1879
+ lineNumber: 26,
1895
1880
  columnNumber: 9
1896
1881
  }, void 0);
1897
- }, Bi = () => {
1898
- const [e, t] = ge(!1), { editor: r } = wt();
1882
+ }, Xi = () => {
1883
+ const [e, t] = he(!1), { editor: r } = Ct();
1899
1884
  if (!r) return null;
1900
- const n = (o) => {
1901
- o.preventDefault();
1885
+ const n = (b) => {
1886
+ b.preventDefault();
1887
+ }, [o, a] = he("#f3f4f6"), [s, u] = he("#f3f4f6"), m = (b) => {
1888
+ a(b.toHexString());
1889
+ }, p = (b) => {
1890
+ u(b.toHexString());
1902
1891
  };
1903
1892
  return /* @__PURE__ */ l.jsxDEV(yr, { className: "accordion-wrapper", children: /* @__PURE__ */ l.jsxDEV(
1904
1893
  Sr,
1905
1894
  {
1895
+ title: "Accordion",
1906
1896
  childrenContent: /* @__PURE__ */ l.jsxDEV(
1907
1897
  "div",
1908
1898
  {
@@ -1912,13 +1902,15 @@ const Sr = ({
1912
1902
  /* @__PURE__ */ l.jsxDEV(
1913
1903
  "div",
1914
1904
  {
1915
- className: "flex items-center justify-between p-4 bg-gray-50 hover:bg-gray-100",
1905
+ className: "flex items-center justify-between p-4 transition-colors accordion-header",
1906
+ style: { backgroundColor: o },
1916
1907
  onClick: () => t(!e),
1917
1908
  children: [
1918
1909
  /* @__PURE__ */ l.jsxDEV(
1919
1910
  "input",
1920
1911
  {
1921
1912
  className: "w-full text-lg font-medium bg-transparent border-none outline-none",
1913
+ style: { color: s },
1922
1914
  disabled: !r.isEditable,
1923
1915
  suppressContentEditableWarning: !0,
1924
1916
  contentEditable: !0,
@@ -1928,13 +1920,13 @@ const Sr = ({
1928
1920
  !1,
1929
1921
  {
1930
1922
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1931
- lineNumber: 31,
1923
+ lineNumber: 45,
1932
1924
  columnNumber: 29
1933
1925
  },
1934
1926
  void 0
1935
1927
  ),
1936
1928
  /* @__PURE__ */ l.jsxDEV(
1937
- Un,
1929
+ Fn,
1938
1930
  {
1939
1931
  className: `transition-transform duration-300 ${e ? "rotate-180" : ""}`,
1940
1932
  size: 20
@@ -1943,7 +1935,7 @@ const Sr = ({
1943
1935
  !1,
1944
1936
  {
1945
1937
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1946
- lineNumber: 38,
1938
+ lineNumber: 53,
1947
1939
  columnNumber: 29
1948
1940
  },
1949
1941
  void 0
@@ -1954,7 +1946,7 @@ const Sr = ({
1954
1946
  !0,
1955
1947
  {
1956
1948
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1957
- lineNumber: 27,
1949
+ lineNumber: 40,
1958
1950
  columnNumber: 25
1959
1951
  },
1960
1952
  void 0
@@ -1972,13 +1964,13 @@ const Sr = ({
1972
1964
  !1,
1973
1965
  {
1974
1966
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1975
- lineNumber: 48,
1967
+ lineNumber: 63,
1976
1968
  columnNumber: 33
1977
1969
  },
1978
1970
  void 0
1979
1971
  ) }, void 0, !1, {
1980
1972
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1981
- lineNumber: 47,
1973
+ lineNumber: 62,
1982
1974
  columnNumber: 29
1983
1975
  }, void 0)
1984
1976
  },
@@ -1986,7 +1978,7 @@ const Sr = ({
1986
1978
  !1,
1987
1979
  {
1988
1980
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
1989
- lineNumber: 44,
1981
+ lineNumber: 59,
1990
1982
  columnNumber: 25
1991
1983
  },
1992
1984
  void 0
@@ -1997,27 +1989,137 @@ const Sr = ({
1997
1989
  !0,
1998
1990
  {
1999
1991
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2000
- lineNumber: 23,
1992
+ lineNumber: 36,
2001
1993
  columnNumber: 21
2002
1994
  },
2003
1995
  void 0
2004
1996
  ),
2005
- editable: r.isEditable
1997
+ editable: r.isEditable,
1998
+ childrenEdit: /* @__PURE__ */ l.jsxDEV("div", { className: "px-6 py-4 space-y-6 rounded-lg bg-gray-50", children: [
1999
+ /* @__PURE__ */ l.jsxDEV("div", { className: "grid grid-cols-1 gap-6", children: [
2000
+ /* @__PURE__ */ l.jsxDEV("div", { className: "flex flex-col space-y-2", children: [
2001
+ /* @__PURE__ */ l.jsxDEV("label", { className: "font-medium text-gray-700", children: "Background Color" }, void 0, !1, {
2002
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2003
+ lineNumber: 75,
2004
+ columnNumber: 33
2005
+ }, void 0),
2006
+ /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center space-x-3", children: [
2007
+ /* @__PURE__ */ l.jsxDEV(
2008
+ "div",
2009
+ {
2010
+ className: "w-8 h-8 border rounded shadow",
2011
+ style: { backgroundColor: o }
2012
+ },
2013
+ void 0,
2014
+ !1,
2015
+ {
2016
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2017
+ lineNumber: 77,
2018
+ columnNumber: 37
2019
+ },
2020
+ void 0
2021
+ ),
2022
+ /* @__PURE__ */ l.jsxDEV(Ue, { value: o, onChange: m }, void 0, !1, {
2023
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2024
+ lineNumber: 81,
2025
+ columnNumber: 37
2026
+ }, void 0)
2027
+ ] }, void 0, !0, {
2028
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2029
+ lineNumber: 76,
2030
+ columnNumber: 33
2031
+ }, void 0)
2032
+ ] }, void 0, !0, {
2033
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2034
+ lineNumber: 74,
2035
+ columnNumber: 29
2036
+ }, void 0),
2037
+ /* @__PURE__ */ l.jsxDEV("div", { className: "flex flex-col space-y-2", children: [
2038
+ /* @__PURE__ */ l.jsxDEV("label", { className: "font-medium text-gray-700", children: "Title Color" }, void 0, !1, {
2039
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2040
+ lineNumber: 86,
2041
+ columnNumber: 33
2042
+ }, void 0),
2043
+ /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center space-x-3", children: [
2044
+ /* @__PURE__ */ l.jsxDEV(
2045
+ "div",
2046
+ {
2047
+ className: "w-8 h-8 border rounded shadow",
2048
+ style: { backgroundColor: s }
2049
+ },
2050
+ void 0,
2051
+ !1,
2052
+ {
2053
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2054
+ lineNumber: 88,
2055
+ columnNumber: 37
2056
+ },
2057
+ void 0
2058
+ ),
2059
+ /* @__PURE__ */ l.jsxDEV(Ue, { value: s, onChange: p }, void 0, !1, {
2060
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2061
+ lineNumber: 92,
2062
+ columnNumber: 37
2063
+ }, void 0)
2064
+ ] }, void 0, !0, {
2065
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2066
+ lineNumber: 87,
2067
+ columnNumber: 33
2068
+ }, void 0)
2069
+ ] }, void 0, !0, {
2070
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2071
+ lineNumber: 85,
2072
+ columnNumber: 29
2073
+ }, void 0)
2074
+ ] }, void 0, !0, {
2075
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2076
+ lineNumber: 73,
2077
+ columnNumber: 25
2078
+ }, void 0),
2079
+ /* @__PURE__ */ l.jsxDEV("div", { className: "pt-4 border-t border-gray-200", children: /* @__PURE__ */ l.jsxDEV("div", { className: "p-3 bg-white border rounded-md", children: [
2080
+ /* @__PURE__ */ l.jsxDEV("div", { className: "text-sm text-gray-600", children: "Preview" }, void 0, !1, {
2081
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2082
+ lineNumber: 99,
2083
+ columnNumber: 33
2084
+ }, void 0),
2085
+ /* @__PURE__ */ l.jsxDEV("div", { className: "p-2 mt-2 rounded", style: { backgroundColor: o }, children: /* @__PURE__ */ l.jsxDEV("span", { style: { color: s, fontWeight: 500 }, children: "Accordion Title" }, void 0, !1, {
2086
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2087
+ lineNumber: 101,
2088
+ columnNumber: 37
2089
+ }, void 0) }, void 0, !1, {
2090
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2091
+ lineNumber: 100,
2092
+ columnNumber: 33
2093
+ }, void 0)
2094
+ ] }, void 0, !0, {
2095
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2096
+ lineNumber: 98,
2097
+ columnNumber: 29
2098
+ }, void 0) }, void 0, !1, {
2099
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2100
+ lineNumber: 97,
2101
+ columnNumber: 25
2102
+ }, void 0)
2103
+ ] }, void 0, !0, {
2104
+ fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2105
+ lineNumber: 72,
2106
+ columnNumber: 21
2107
+ }, void 0)
2006
2108
  },
2007
2109
  void 0,
2008
2110
  !1,
2009
2111
  {
2010
2112
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2011
- lineNumber: 21,
2113
+ lineNumber: 33,
2012
2114
  columnNumber: 13
2013
2115
  },
2014
2116
  void 0
2015
2117
  ) }, void 0, !1, {
2016
2118
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/accordion/accordion-view.tsx",
2017
- lineNumber: 20,
2119
+ lineNumber: 32,
2018
2120
  columnNumber: 9
2019
2121
  }, void 0);
2020
- }, Xi = gr.create({
2122
+ }, Ki = gr.create({
2021
2123
  name: "accordion",
2022
2124
  group: "block",
2023
2125
  content: "block+",
@@ -2037,7 +2139,7 @@ const Sr = ({
2037
2139
  return ["accordion", xr(e)];
2038
2140
  },
2039
2141
  addNodeView() {
2040
- return vr(Bi);
2142
+ return vr(Xi);
2041
2143
  },
2042
2144
  addCommands() {
2043
2145
  return {
@@ -2048,7 +2150,7 @@ const Sr = ({
2048
2150
  };
2049
2151
  }
2050
2152
  });
2051
- var _t = { exports: {} }, ze = {}, Fe = { exports: {} }, wr = {}, gt = { exports: {} }, qe = { exports: {} }, U = {};
2153
+ var Dt = { exports: {} }, ze = {}, Be = { exports: {} }, wr = {}, xt = { exports: {} }, qe = { exports: {} }, U = {};
2052
2154
  /** @license React v16.13.1
2053
2155
  * react-is.production.min.js
2054
2156
  *
@@ -2058,28 +2160,28 @@ var _t = { exports: {} }, ze = {}, Fe = { exports: {} }, wr = {}, gt = { exports
2058
2160
  * LICENSE file in the root directory of this source tree.
2059
2161
  */
2060
2162
  var tr;
2061
- function Ki() {
2163
+ function Gi() {
2062
2164
  if (tr) return U;
2063
2165
  tr = 1;
2064
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, V = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
2166
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, N = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
2065
2167
  function x(c) {
2066
2168
  if (typeof c == "object" && c !== null) {
2067
2169
  var Y = c.$$typeof;
2068
2170
  switch (Y) {
2069
2171
  case t:
2070
2172
  switch (c = c.type, c) {
2071
- case p:
2072
2173
  case m:
2174
+ case p:
2073
2175
  case n:
2074
2176
  case a:
2075
2177
  case o:
2076
- case E:
2178
+ case N:
2077
2179
  return c;
2078
2180
  default:
2079
2181
  switch (c = c && c.$$typeof, c) {
2080
2182
  case u:
2081
- case y:
2082
- case V:
2183
+ case b:
2184
+ case A:
2083
2185
  case S:
2084
2186
  case s:
2085
2187
  return c;
@@ -2092,23 +2194,23 @@ function Ki() {
2092
2194
  }
2093
2195
  }
2094
2196
  }
2095
- function N(c) {
2096
- return x(c) === m;
2197
+ function E(c) {
2198
+ return x(c) === p;
2097
2199
  }
2098
- return U.AsyncMode = p, U.ConcurrentMode = m, U.ContextConsumer = u, U.ContextProvider = s, U.Element = t, U.ForwardRef = y, U.Fragment = n, U.Lazy = V, U.Memo = S, U.Portal = r, U.Profiler = a, U.StrictMode = o, U.Suspense = E, U.isAsyncMode = function(c) {
2099
- return N(c) || x(c) === p;
2100
- }, U.isConcurrentMode = N, U.isContextConsumer = function(c) {
2200
+ return U.AsyncMode = m, U.ConcurrentMode = p, U.ContextConsumer = u, U.ContextProvider = s, U.Element = t, U.ForwardRef = b, U.Fragment = n, U.Lazy = A, U.Memo = S, U.Portal = r, U.Profiler = a, U.StrictMode = o, U.Suspense = N, U.isAsyncMode = function(c) {
2201
+ return E(c) || x(c) === m;
2202
+ }, U.isConcurrentMode = E, U.isContextConsumer = function(c) {
2101
2203
  return x(c) === u;
2102
2204
  }, U.isContextProvider = function(c) {
2103
2205
  return x(c) === s;
2104
2206
  }, U.isElement = function(c) {
2105
2207
  return typeof c == "object" && c !== null && c.$$typeof === t;
2106
2208
  }, U.isForwardRef = function(c) {
2107
- return x(c) === y;
2209
+ return x(c) === b;
2108
2210
  }, U.isFragment = function(c) {
2109
2211
  return x(c) === n;
2110
2212
  }, U.isLazy = function(c) {
2111
- return x(c) === V;
2213
+ return x(c) === A;
2112
2214
  }, U.isMemo = function(c) {
2113
2215
  return x(c) === S;
2114
2216
  }, U.isPortal = function(c) {
@@ -2118,9 +2220,9 @@ function Ki() {
2118
2220
  }, U.isStrictMode = function(c) {
2119
2221
  return x(c) === o;
2120
2222
  }, U.isSuspense = function(c) {
2121
- return x(c) === E;
2223
+ return x(c) === N;
2122
2224
  }, U.isValidElementType = function(c) {
2123
- return typeof c == "string" || typeof c == "function" || c === n || c === m || c === a || c === o || c === E || c === O || typeof c == "object" && c !== null && (c.$$typeof === V || c.$$typeof === S || c.$$typeof === s || c.$$typeof === u || c.$$typeof === y || c.$$typeof === B || c.$$typeof === W || c.$$typeof === v || c.$$typeof === $);
2225
+ return typeof c == "string" || typeof c == "function" || c === n || c === p || c === a || c === o || c === N || c === O || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === S || c.$$typeof === s || c.$$typeof === u || c.$$typeof === b || c.$$typeof === B || c.$$typeof === W || c.$$typeof === v || c.$$typeof === $);
2124
2226
  }, U.typeOf = x, U;
2125
2227
  }
2126
2228
  var F = {};
@@ -2133,100 +2235,100 @@ var F = {};
2133
2235
  * LICENSE file in the root directory of this source tree.
2134
2236
  */
2135
2237
  var rr;
2136
- function Gi() {
2238
+ function Ji() {
2137
2239
  return rr || (rr = 1, process.env.NODE_ENV !== "production" && function() {
2138
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, E = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, V = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
2240
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, b = e ? Symbol.for("react.forward_ref") : 60112, N = e ? Symbol.for("react.suspense") : 60113, O = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, $ = e ? Symbol.for("react.block") : 60121, B = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, v = e ? Symbol.for("react.scope") : 60119;
2139
2241
  function x(h) {
2140
2242
  return typeof h == "string" || typeof h == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2141
- h === n || h === m || h === a || h === o || h === E || h === O || typeof h == "object" && h !== null && (h.$$typeof === V || h.$$typeof === S || h.$$typeof === s || h.$$typeof === u || h.$$typeof === y || h.$$typeof === B || h.$$typeof === W || h.$$typeof === v || h.$$typeof === $);
2243
+ h === n || h === p || h === a || h === o || h === N || h === O || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof === S || h.$$typeof === s || h.$$typeof === u || h.$$typeof === b || h.$$typeof === B || h.$$typeof === W || h.$$typeof === v || h.$$typeof === $);
2142
2244
  }
2143
- function N(h) {
2245
+ function E(h) {
2144
2246
  if (typeof h == "object" && h !== null) {
2145
- var me = h.$$typeof;
2146
- switch (me) {
2247
+ var pe = h.$$typeof;
2248
+ switch (pe) {
2147
2249
  case t:
2148
2250
  var Re = h.type;
2149
2251
  switch (Re) {
2150
- case p:
2151
2252
  case m:
2253
+ case p:
2152
2254
  case n:
2153
2255
  case a:
2154
2256
  case o:
2155
- case E:
2257
+ case N:
2156
2258
  return Re;
2157
2259
  default:
2158
- var _e = Re && Re.$$typeof;
2159
- switch (_e) {
2260
+ var ke = Re && Re.$$typeof;
2261
+ switch (ke) {
2160
2262
  case u:
2161
- case y:
2162
- case V:
2263
+ case b:
2264
+ case A:
2163
2265
  case S:
2164
2266
  case s:
2165
- return _e;
2267
+ return ke;
2166
2268
  default:
2167
- return me;
2269
+ return pe;
2168
2270
  }
2169
2271
  }
2170
2272
  case r:
2171
- return me;
2273
+ return pe;
2172
2274
  }
2173
2275
  }
2174
2276
  }
2175
- var c = p, Y = m, P = u, Q = s, de = t, fe = y, be = n, Ne = V, ee = S, Z = r, pe = a, oe = o, le = E, ve = !1;
2277
+ var c = m, Y = p, P = u, Q = s, de = t, fe = b, ye = n, Ee = A, ee = S, Z = r, me = a, oe = o, le = N, ge = !1;
2176
2278
  function Se(h) {
2177
- 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.")), f(h) || N(h) === p;
2279
+ return ge || (ge = !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.")), f(h) || E(h) === m;
2178
2280
  }
2179
2281
  function f(h) {
2180
- return N(h) === m;
2282
+ return E(h) === p;
2181
2283
  }
2182
2284
  function g(h) {
2183
- return N(h) === u;
2285
+ return E(h) === u;
2184
2286
  }
2185
2287
  function T(h) {
2186
- return N(h) === s;
2288
+ return E(h) === s;
2187
2289
  }
2188
2290
  function R(h) {
2189
2291
  return typeof h == "object" && h !== null && h.$$typeof === t;
2190
2292
  }
2191
2293
  function C(h) {
2192
- return N(h) === y;
2294
+ return E(h) === b;
2193
2295
  }
2194
2296
  function z(h) {
2195
- return N(h) === n;
2196
- }
2197
- function _(h) {
2198
- return N(h) === V;
2297
+ return E(h) === n;
2199
2298
  }
2200
2299
  function k(h) {
2201
- return N(h) === S;
2300
+ return E(h) === A;
2301
+ }
2302
+ function _(h) {
2303
+ return E(h) === S;
2202
2304
  }
2203
2305
  function j(h) {
2204
- return N(h) === r;
2306
+ return E(h) === r;
2205
2307
  }
2206
2308
  function H(h) {
2207
- return N(h) === a;
2309
+ return E(h) === a;
2208
2310
  }
2209
2311
  function M(h) {
2210
- return N(h) === o;
2312
+ return E(h) === o;
2211
2313
  }
2212
2314
  function te(h) {
2213
- return N(h) === E;
2315
+ return E(h) === N;
2214
2316
  }
2215
- F.AsyncMode = c, F.ConcurrentMode = Y, F.ContextConsumer = P, F.ContextProvider = Q, F.Element = de, F.ForwardRef = fe, F.Fragment = be, F.Lazy = Ne, F.Memo = ee, F.Portal = Z, F.Profiler = pe, F.StrictMode = oe, F.Suspense = le, F.isAsyncMode = Se, F.isConcurrentMode = f, F.isContextConsumer = g, F.isContextProvider = T, F.isElement = R, F.isForwardRef = C, F.isFragment = z, F.isLazy = _, F.isMemo = k, F.isPortal = j, F.isProfiler = H, F.isStrictMode = M, F.isSuspense = te, F.isValidElementType = x, F.typeOf = N;
2317
+ F.AsyncMode = c, F.ConcurrentMode = Y, F.ContextConsumer = P, F.ContextProvider = Q, F.Element = de, F.ForwardRef = fe, F.Fragment = ye, F.Lazy = Ee, F.Memo = ee, F.Portal = Z, F.Profiler = me, F.StrictMode = oe, F.Suspense = le, F.isAsyncMode = Se, F.isConcurrentMode = f, F.isContextConsumer = g, F.isContextProvider = T, F.isElement = R, F.isForwardRef = C, F.isFragment = z, F.isLazy = k, F.isMemo = _, F.isPortal = j, F.isProfiler = H, F.isStrictMode = M, F.isSuspense = te, F.isValidElementType = x, F.typeOf = E;
2216
2318
  }()), F;
2217
2319
  }
2218
2320
  var nr;
2219
2321
  function Cr() {
2220
- return nr || (nr = 1, process.env.NODE_ENV === "production" ? qe.exports = Ki() : qe.exports = Gi()), qe.exports;
2322
+ return nr || (nr = 1, process.env.NODE_ENV === "production" ? qe.exports = Gi() : qe.exports = Ji()), qe.exports;
2221
2323
  }
2222
2324
  /*
2223
2325
  object-assign
2224
2326
  (c) Sindre Sorhus
2225
2327
  @license MIT
2226
2328
  */
2227
- var ot, ir;
2228
- function Ji() {
2229
- if (ir) return ot;
2329
+ var at, ir;
2330
+ function Zi() {
2331
+ if (ir) return at;
2230
2332
  ir = 1;
2231
2333
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
2232
2334
  function n(a) {
@@ -2243,52 +2345,52 @@ function Ji() {
2243
2345
  return !1;
2244
2346
  for (var s = {}, u = 0; u < 10; u++)
2245
2347
  s["_" + String.fromCharCode(u)] = u;
2246
- var p = Object.getOwnPropertyNames(s).map(function(y) {
2247
- return s[y];
2348
+ var m = Object.getOwnPropertyNames(s).map(function(b) {
2349
+ return s[b];
2248
2350
  });
2249
- if (p.join("") !== "0123456789")
2351
+ if (m.join("") !== "0123456789")
2250
2352
  return !1;
2251
- var m = {};
2252
- return "abcdefghijklmnopqrst".split("").forEach(function(y) {
2253
- m[y] = y;
2254
- }), Object.keys(Object.assign({}, m)).join("") === "abcdefghijklmnopqrst";
2353
+ var p = {};
2354
+ return "abcdefghijklmnopqrst".split("").forEach(function(b) {
2355
+ p[b] = b;
2356
+ }), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
2255
2357
  } catch {
2256
2358
  return !1;
2257
2359
  }
2258
2360
  }
2259
- return ot = o() ? Object.assign : function(a, s) {
2260
- for (var u, p = n(a), m, y = 1; y < arguments.length; y++) {
2261
- u = Object(arguments[y]);
2262
- for (var E in u)
2263
- t.call(u, E) && (p[E] = u[E]);
2361
+ return at = o() ? Object.assign : function(a, s) {
2362
+ for (var u, m = n(a), p, b = 1; b < arguments.length; b++) {
2363
+ u = Object(arguments[b]);
2364
+ for (var N in u)
2365
+ t.call(u, N) && (m[N] = u[N]);
2264
2366
  if (e) {
2265
- m = e(u);
2266
- for (var O = 0; O < m.length; O++)
2267
- r.call(u, m[O]) && (p[m[O]] = u[m[O]]);
2367
+ p = e(u);
2368
+ for (var O = 0; O < p.length; O++)
2369
+ r.call(u, p[O]) && (m[p[O]] = u[p[O]]);
2268
2370
  }
2269
2371
  }
2270
- return p;
2271
- }, ot;
2372
+ return m;
2373
+ }, at;
2272
2374
  }
2273
- var at, or;
2274
- function Dt() {
2275
- if (or) return at;
2375
+ var st, or;
2376
+ function _t() {
2377
+ if (or) return st;
2276
2378
  or = 1;
2277
2379
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
2278
- return at = e, at;
2380
+ return st = e, st;
2279
2381
  }
2280
- var st, ar;
2281
- function _r() {
2282
- return ar || (ar = 1, st = Function.call.bind(Object.prototype.hasOwnProperty)), st;
2382
+ var lt, ar;
2383
+ function kr() {
2384
+ return ar || (ar = 1, lt = Function.call.bind(Object.prototype.hasOwnProperty)), lt;
2283
2385
  }
2284
- var lt, sr;
2285
- function Zi() {
2286
- if (sr) return lt;
2386
+ var ct, sr;
2387
+ function Qi() {
2388
+ if (sr) return ct;
2287
2389
  sr = 1;
2288
2390
  var e = function() {
2289
2391
  };
2290
2392
  if (process.env.NODE_ENV !== "production") {
2291
- var t = Dt(), r = {}, n = _r();
2393
+ var t = _t(), r = {}, n = kr();
2292
2394
  e = function(a) {
2293
2395
  var s = "Warning: " + a;
2294
2396
  typeof console < "u" && console.error(s);
@@ -2298,29 +2400,29 @@ function Zi() {
2298
2400
  }
2299
2401
  };
2300
2402
  }
2301
- function o(a, s, u, p, m) {
2403
+ function o(a, s, u, m, p) {
2302
2404
  if (process.env.NODE_ENV !== "production") {
2303
- for (var y in a)
2304
- if (n(a, y)) {
2305
- var E;
2405
+ for (var b in a)
2406
+ if (n(a, b)) {
2407
+ var N;
2306
2408
  try {
2307
- if (typeof a[y] != "function") {
2409
+ if (typeof a[b] != "function") {
2308
2410
  var O = Error(
2309
- (p || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2411
+ (m || "React class") + ": " + u + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2310
2412
  );
2311
2413
  throw O.name = "Invariant Violation", O;
2312
2414
  }
2313
- E = a[y](s, y, p, u, null, t);
2314
- } catch (V) {
2315
- E = V;
2415
+ N = a[b](s, b, m, u, null, t);
2416
+ } catch (A) {
2417
+ N = A;
2316
2418
  }
2317
- if (E && !(E instanceof Error) && e(
2318
- (p || "React class") + ": type specification of " + u + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2319
- ), E instanceof Error && !(E.message in r)) {
2320
- r[E.message] = !0;
2321
- var S = m ? m() : "";
2419
+ if (N && !(N instanceof Error) && e(
2420
+ (m || "React class") + ": type specification of " + u + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof N + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2421
+ ), N instanceof Error && !(N.message in r)) {
2422
+ r[N.message] = !0;
2423
+ var S = p ? p() : "";
2322
2424
  e(
2323
- "Failed " + u + " type: " + E.message + (S ?? "")
2425
+ "Failed " + u + " type: " + N.message + (S ?? "")
2324
2426
  );
2325
2427
  }
2326
2428
  }
@@ -2328,29 +2430,29 @@ function Zi() {
2328
2430
  }
2329
2431
  return o.resetWarningCache = function() {
2330
2432
  process.env.NODE_ENV !== "production" && (r = {});
2331
- }, lt = o, lt;
2433
+ }, ct = o, ct;
2332
2434
  }
2333
- var ct, lr;
2334
- function Qi() {
2335
- if (lr) return ct;
2435
+ var ut, lr;
2436
+ function eo() {
2437
+ if (lr) return ut;
2336
2438
  lr = 1;
2337
- var e = Cr(), t = Ji(), r = Dt(), n = _r(), o = Zi(), a = function() {
2439
+ var e = Cr(), t = Zi(), r = _t(), n = kr(), o = Qi(), a = function() {
2338
2440
  };
2339
2441
  process.env.NODE_ENV !== "production" && (a = function(u) {
2340
- var p = "Warning: " + u;
2341
- typeof console < "u" && console.error(p);
2442
+ var m = "Warning: " + u;
2443
+ typeof console < "u" && console.error(m);
2342
2444
  try {
2343
- throw new Error(p);
2445
+ throw new Error(m);
2344
2446
  } catch {
2345
2447
  }
2346
2448
  });
2347
2449
  function s() {
2348
2450
  return null;
2349
2451
  }
2350
- return ct = function(u, p) {
2351
- var m = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
2352
- function E(f) {
2353
- var g = f && (m && f[m] || f[y]);
2452
+ return ut = function(u, m) {
2453
+ var p = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
2454
+ function N(f) {
2455
+ var g = f && (p && f[p] || f[b]);
2354
2456
  if (typeof g == "function")
2355
2457
  return g;
2356
2458
  }
@@ -2365,17 +2467,17 @@ function Qi() {
2365
2467
  symbol: W("symbol"),
2366
2468
  any: v(),
2367
2469
  arrayOf: x,
2368
- element: N(),
2470
+ element: E(),
2369
2471
  elementType: c(),
2370
2472
  instanceOf: Y,
2371
2473
  node: fe(),
2372
2474
  objectOf: Q,
2373
2475
  oneOf: P,
2374
2476
  oneOfType: de,
2375
- shape: Ne,
2477
+ shape: Ee,
2376
2478
  exact: ee
2377
2479
  };
2378
- function V(f, g) {
2480
+ function A(f, g) {
2379
2481
  return f === g ? f !== 0 || 1 / f === 1 / g : f !== f && g !== g;
2380
2482
  }
2381
2483
  function $(f, g) {
@@ -2385,33 +2487,33 @@ function Qi() {
2385
2487
  function B(f) {
2386
2488
  if (process.env.NODE_ENV !== "production")
2387
2489
  var g = {}, T = 0;
2388
- function R(z, _, k, j, H, M, te) {
2389
- if (j = j || O, M = M || k, te !== r) {
2390
- if (p) {
2490
+ function R(z, k, _, j, H, M, te) {
2491
+ if (j = j || O, M = M || _, te !== r) {
2492
+ if (m) {
2391
2493
  var h = new Error(
2392
2494
  "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"
2393
2495
  );
2394
2496
  throw h.name = "Invariant Violation", h;
2395
2497
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2396
- var me = j + ":" + k;
2397
- !g[me] && // Avoid spamming the console because they are often not actionable except for lib authors
2498
+ var pe = j + ":" + _;
2499
+ !g[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
2398
2500
  T < 3 && (a(
2399
2501
  "You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + j + "`. 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."
2400
- ), g[me] = !0, T++);
2502
+ ), g[pe] = !0, T++);
2401
2503
  }
2402
2504
  }
2403
- return _[k] == null ? z ? _[k] === null ? new $("The " + H + " `" + M + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new $("The " + H + " `" + M + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : f(_, k, j, H, M);
2505
+ return k[_] == null ? z ? k[_] === null ? new $("The " + H + " `" + M + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new $("The " + H + " `" + M + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : f(k, _, j, H, M);
2404
2506
  }
2405
2507
  var C = R.bind(null, !1);
2406
2508
  return C.isRequired = R.bind(null, !0), C;
2407
2509
  }
2408
2510
  function W(f) {
2409
- function g(T, R, C, z, _, k) {
2511
+ function g(T, R, C, z, k, _) {
2410
2512
  var j = T[R], H = oe(j);
2411
2513
  if (H !== f) {
2412
2514
  var M = le(j);
2413
2515
  return new $(
2414
- "Invalid " + z + " `" + _ + "` of type " + ("`" + M + "` supplied to `" + C + "`, expected ") + ("`" + f + "`."),
2516
+ "Invalid " + z + " `" + k + "` of type " + ("`" + M + "` supplied to `" + C + "`, expected ") + ("`" + f + "`."),
2415
2517
  { expectedType: f }
2416
2518
  );
2417
2519
  }
@@ -2423,16 +2525,16 @@ function Qi() {
2423
2525
  return B(s);
2424
2526
  }
2425
2527
  function x(f) {
2426
- function g(T, R, C, z, _) {
2528
+ function g(T, R, C, z, k) {
2427
2529
  if (typeof f != "function")
2428
- return new $("Property `" + _ + "` of component `" + C + "` has invalid PropType notation inside arrayOf.");
2429
- var k = T[R];
2430
- if (!Array.isArray(k)) {
2431
- var j = oe(k);
2432
- return new $("Invalid " + z + " `" + _ + "` of type " + ("`" + j + "` supplied to `" + C + "`, expected an array."));
2530
+ return new $("Property `" + k + "` of component `" + C + "` has invalid PropType notation inside arrayOf.");
2531
+ var _ = T[R];
2532
+ if (!Array.isArray(_)) {
2533
+ var j = oe(_);
2534
+ return new $("Invalid " + z + " `" + k + "` of type " + ("`" + j + "` supplied to `" + C + "`, expected an array."));
2433
2535
  }
2434
- for (var H = 0; H < k.length; H++) {
2435
- var M = f(k, H, C, z, _ + "[" + H + "]", r);
2536
+ for (var H = 0; H < _.length; H++) {
2537
+ var M = f(_, H, C, z, k + "[" + H + "]", r);
2436
2538
  if (M instanceof Error)
2437
2539
  return M;
2438
2540
  }
@@ -2440,12 +2542,12 @@ function Qi() {
2440
2542
  }
2441
2543
  return B(g);
2442
2544
  }
2443
- function N() {
2545
+ function E() {
2444
2546
  function f(g, T, R, C, z) {
2445
- var _ = g[T];
2446
- if (!u(_)) {
2447
- var k = oe(_);
2448
- return new $("Invalid " + C + " `" + z + "` of type " + ("`" + k + "` supplied to `" + R + "`, expected a single ReactElement."));
2547
+ var k = g[T];
2548
+ if (!u(k)) {
2549
+ var _ = oe(k);
2550
+ return new $("Invalid " + C + " `" + z + "` of type " + ("`" + _ + "` supplied to `" + R + "`, expected a single ReactElement."));
2449
2551
  }
2450
2552
  return null;
2451
2553
  }
@@ -2453,20 +2555,20 @@ function Qi() {
2453
2555
  }
2454
2556
  function c() {
2455
2557
  function f(g, T, R, C, z) {
2456
- var _ = g[T];
2457
- if (!e.isValidElementType(_)) {
2458
- var k = oe(_);
2459
- return new $("Invalid " + C + " `" + z + "` of type " + ("`" + k + "` supplied to `" + R + "`, expected a single ReactElement type."));
2558
+ var k = g[T];
2559
+ if (!e.isValidElementType(k)) {
2560
+ var _ = oe(k);
2561
+ return new $("Invalid " + C + " `" + z + "` of type " + ("`" + _ + "` supplied to `" + R + "`, expected a single ReactElement type."));
2460
2562
  }
2461
2563
  return null;
2462
2564
  }
2463
2565
  return B(f);
2464
2566
  }
2465
2567
  function Y(f) {
2466
- function g(T, R, C, z, _) {
2568
+ function g(T, R, C, z, k) {
2467
2569
  if (!(T[R] instanceof f)) {
2468
- var k = f.name || O, j = Se(T[R]);
2469
- return new $("Invalid " + z + " `" + _ + "` of type " + ("`" + j + "` supplied to `" + C + "`, expected ") + ("instance of `" + k + "`."));
2570
+ var _ = f.name || O, j = Se(T[R]);
2571
+ return new $("Invalid " + z + " `" + k + "` of type " + ("`" + j + "` supplied to `" + C + "`, expected ") + ("instance of `" + _ + "`."));
2470
2572
  }
2471
2573
  return null;
2472
2574
  }
@@ -2477,28 +2579,28 @@ function Qi() {
2477
2579
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
2478
2580
  "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])."
2479
2581
  ) : a("Invalid argument supplied to oneOf, expected an array.")), s;
2480
- function g(T, R, C, z, _) {
2481
- for (var k = T[R], j = 0; j < f.length; j++)
2482
- if (V(k, f[j]))
2582
+ function g(T, R, C, z, k) {
2583
+ for (var _ = T[R], j = 0; j < f.length; j++)
2584
+ if (A(_, f[j]))
2483
2585
  return null;
2484
2586
  var H = JSON.stringify(f, function(te, h) {
2485
- var me = le(h);
2486
- return me === "symbol" ? String(h) : h;
2587
+ var pe = le(h);
2588
+ return pe === "symbol" ? String(h) : h;
2487
2589
  });
2488
- return new $("Invalid " + z + " `" + _ + "` of value `" + String(k) + "` " + ("supplied to `" + C + "`, expected one of " + H + "."));
2590
+ return new $("Invalid " + z + " `" + k + "` of value `" + String(_) + "` " + ("supplied to `" + C + "`, expected one of " + H + "."));
2489
2591
  }
2490
2592
  return B(g);
2491
2593
  }
2492
2594
  function Q(f) {
2493
- function g(T, R, C, z, _) {
2595
+ function g(T, R, C, z, k) {
2494
2596
  if (typeof f != "function")
2495
- return new $("Property `" + _ + "` of component `" + C + "` has invalid PropType notation inside objectOf.");
2496
- var k = T[R], j = oe(k);
2597
+ return new $("Property `" + k + "` of component `" + C + "` has invalid PropType notation inside objectOf.");
2598
+ var _ = T[R], j = oe(_);
2497
2599
  if (j !== "object")
2498
- return new $("Invalid " + z + " `" + _ + "` of type " + ("`" + j + "` supplied to `" + C + "`, expected an object."));
2499
- for (var H in k)
2500
- if (n(k, H)) {
2501
- var M = f(k, H, C, z, _ + "." + H, r);
2600
+ return new $("Invalid " + z + " `" + k + "` of type " + ("`" + j + "` supplied to `" + C + "`, expected an object."));
2601
+ for (var H in _)
2602
+ if (n(_, H)) {
2603
+ var M = f(_, H, C, z, k + "." + H, r);
2502
2604
  if (M instanceof Error)
2503
2605
  return M;
2504
2606
  }
@@ -2513,18 +2615,18 @@ function Qi() {
2513
2615
  var T = f[g];
2514
2616
  if (typeof T != "function")
2515
2617
  return a(
2516
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ve(T) + " at index " + g + "."
2618
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge(T) + " at index " + g + "."
2517
2619
  ), s;
2518
2620
  }
2519
- function R(C, z, _, k, j) {
2621
+ function R(C, z, k, _, j) {
2520
2622
  for (var H = [], M = 0; M < f.length; M++) {
2521
- var te = f[M], h = te(C, z, _, k, j, r);
2623
+ var te = f[M], h = te(C, z, k, _, j, r);
2522
2624
  if (h == null)
2523
2625
  return null;
2524
2626
  h.data && n(h.data, "expectedType") && H.push(h.data.expectedType);
2525
2627
  }
2526
- var me = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
2527
- return new $("Invalid " + k + " `" + j + "` supplied to " + ("`" + _ + "`" + me + "."));
2628
+ var pe = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
2629
+ return new $("Invalid " + _ + " `" + j + "` supplied to " + ("`" + k + "`" + pe + "."));
2528
2630
  }
2529
2631
  return B(R);
2530
2632
  }
@@ -2534,21 +2636,21 @@ function Qi() {
2534
2636
  }
2535
2637
  return B(f);
2536
2638
  }
2537
- function be(f, g, T, R, C) {
2639
+ function ye(f, g, T, R, C) {
2538
2640
  return new $(
2539
2641
  (f || "React class") + ": " + g + " type `" + T + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + C + "`."
2540
2642
  );
2541
2643
  }
2542
- function Ne(f) {
2543
- function g(T, R, C, z, _) {
2544
- var k = T[R], j = oe(k);
2644
+ function Ee(f) {
2645
+ function g(T, R, C, z, k) {
2646
+ var _ = T[R], j = oe(_);
2545
2647
  if (j !== "object")
2546
- return new $("Invalid " + z + " `" + _ + "` of type `" + j + "` " + ("supplied to `" + C + "`, expected `object`."));
2648
+ return new $("Invalid " + z + " `" + k + "` of type `" + j + "` " + ("supplied to `" + C + "`, expected `object`."));
2547
2649
  for (var H in f) {
2548
2650
  var M = f[H];
2549
2651
  if (typeof M != "function")
2550
- return be(C, z, _, H, le(M));
2551
- var te = M(k, H, C, z, _ + "." + H, r);
2652
+ return ye(C, z, k, H, le(M));
2653
+ var te = M(_, H, C, z, k + "." + H, r);
2552
2654
  if (te)
2553
2655
  return te;
2554
2656
  }
@@ -2557,21 +2659,21 @@ function Qi() {
2557
2659
  return B(g);
2558
2660
  }
2559
2661
  function ee(f) {
2560
- function g(T, R, C, z, _) {
2561
- var k = T[R], j = oe(k);
2662
+ function g(T, R, C, z, k) {
2663
+ var _ = T[R], j = oe(_);
2562
2664
  if (j !== "object")
2563
- return new $("Invalid " + z + " `" + _ + "` of type `" + j + "` " + ("supplied to `" + C + "`, expected `object`."));
2665
+ return new $("Invalid " + z + " `" + k + "` of type `" + j + "` " + ("supplied to `" + C + "`, expected `object`."));
2564
2666
  var H = t({}, T[R], f);
2565
2667
  for (var M in H) {
2566
2668
  var te = f[M];
2567
2669
  if (n(f, M) && typeof te != "function")
2568
- return be(C, z, _, M, le(te));
2670
+ return ye(C, z, k, M, le(te));
2569
2671
  if (!te)
2570
2672
  return new $(
2571
- "Invalid " + z + " `" + _ + "` key `" + M + "` supplied to `" + C + "`.\nBad object: " + JSON.stringify(T[R], null, " ") + `
2673
+ "Invalid " + z + " `" + k + "` key `" + M + "` supplied to `" + C + "`.\nBad object: " + JSON.stringify(T[R], null, " ") + `
2572
2674
  Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2573
2675
  );
2574
- var h = te(k, M, C, z, _ + "." + M, r);
2676
+ var h = te(_, M, C, z, k + "." + M, r);
2575
2677
  if (h)
2576
2678
  return h;
2577
2679
  }
@@ -2592,7 +2694,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2592
2694
  return f.every(Z);
2593
2695
  if (f === null || u(f))
2594
2696
  return !0;
2595
- var g = E(f);
2697
+ var g = N(f);
2596
2698
  if (g) {
2597
2699
  var T = g.call(f), R;
2598
2700
  if (g !== f.entries) {
@@ -2612,12 +2714,12 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2612
2714
  return !1;
2613
2715
  }
2614
2716
  }
2615
- function pe(f, g) {
2717
+ function me(f, g) {
2616
2718
  return f === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
2617
2719
  }
2618
2720
  function oe(f) {
2619
2721
  var g = typeof f;
2620
- return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : pe(g, f) ? "symbol" : g;
2722
+ return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : me(g, f) ? "symbol" : g;
2621
2723
  }
2622
2724
  function le(f) {
2623
2725
  if (typeof f > "u" || f === null)
@@ -2631,7 +2733,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2631
2733
  }
2632
2734
  return g;
2633
2735
  }
2634
- function ve(f) {
2736
+ function ge(f) {
2635
2737
  var g = le(f);
2636
2738
  switch (g) {
2637
2739
  case "array":
@@ -2649,20 +2751,20 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2649
2751
  return !f.constructor || !f.constructor.name ? O : f.constructor.name;
2650
2752
  }
2651
2753
  return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
2652
- }, ct;
2754
+ }, ut;
2653
2755
  }
2654
- var ut, cr;
2655
- function eo() {
2656
- if (cr) return ut;
2756
+ var dt, cr;
2757
+ function to() {
2758
+ if (cr) return dt;
2657
2759
  cr = 1;
2658
- var e = Dt();
2760
+ var e = _t();
2659
2761
  function t() {
2660
2762
  }
2661
2763
  function r() {
2662
2764
  }
2663
- return r.resetWarningCache = t, ut = function() {
2664
- function n(s, u, p, m, y, E) {
2665
- if (E !== e) {
2765
+ return r.resetWarningCache = t, dt = function() {
2766
+ function n(s, u, m, p, b, N) {
2767
+ if (N !== e) {
2666
2768
  var O = new Error(
2667
2769
  "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"
2668
2770
  );
@@ -2697,14 +2799,14 @@ function eo() {
2697
2799
  resetWarningCache: t
2698
2800
  };
2699
2801
  return a.PropTypes = a, a;
2700
- }, ut;
2802
+ }, dt;
2701
2803
  }
2702
2804
  if (process.env.NODE_ENV !== "production") {
2703
- var to = Cr(), ro = !0;
2704
- gt.exports = Qi()(to.isElement, ro);
2805
+ var ro = Cr(), no = !0;
2806
+ xt.exports = eo()(ro.isElement, no);
2705
2807
  } else
2706
- gt.exports = eo()();
2707
- var Be = gt.exports;
2808
+ xt.exports = to()();
2809
+ var Xe = xt.exports;
2708
2810
  function Dr(e) {
2709
2811
  var t, r, n = "";
2710
2812
  if (typeof e == "string" || typeof e == "number") n += e;
@@ -2716,34 +2818,34 @@ function ur() {
2716
2818
  for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = Dr(e)) && (n && (n += " "), n += t);
2717
2819
  return n;
2718
2820
  }
2719
- const no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2821
+ const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2720
2822
  __proto__: null,
2721
2823
  clsx: ur,
2722
2824
  default: ur
2723
- }, Symbol.toStringTag, { value: "Module" })), io = /* @__PURE__ */ kn(no);
2825
+ }, Symbol.toStringTag, { value: "Module" })), oo = /* @__PURE__ */ On(io);
2724
2826
  var K = {}, xe = {};
2725
2827
  Object.defineProperty(xe, "__esModule", {
2726
2828
  value: !0
2727
2829
  });
2728
- xe.dontSetMe = co;
2729
- xe.findInArray = oo;
2730
- xe.int = lo;
2731
- xe.isFunction = ao;
2732
- xe.isNum = so;
2733
- function oo(e, t) {
2830
+ xe.dontSetMe = uo;
2831
+ xe.findInArray = ao;
2832
+ xe.int = co;
2833
+ xe.isFunction = so;
2834
+ xe.isNum = lo;
2835
+ function ao(e, t) {
2734
2836
  for (let r = 0, n = e.length; r < n; r++)
2735
2837
  if (t.apply(t, [e[r], r, e])) return e[r];
2736
2838
  }
2737
- function ao(e) {
2839
+ function so(e) {
2738
2840
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Function]";
2739
2841
  }
2740
- function so(e) {
2842
+ function lo(e) {
2741
2843
  return typeof e == "number" && !isNaN(e);
2742
2844
  }
2743
- function lo(e) {
2845
+ function co(e) {
2744
2846
  return parseInt(e, 10);
2745
2847
  }
2746
- function co(e, t, r) {
2848
+ function uo(e, t, r) {
2747
2849
  if (e[t])
2748
2850
  return new Error("Invalid prop ".concat(t, " passed to ").concat(r, " - do not set this, set it on the child."));
2749
2851
  }
@@ -2752,54 +2854,54 @@ Object.defineProperty(Oe, "__esModule", {
2752
2854
  value: !0
2753
2855
  });
2754
2856
  Oe.browserPrefixToKey = Or;
2755
- Oe.browserPrefixToStyle = uo;
2857
+ Oe.browserPrefixToStyle = fo;
2756
2858
  Oe.default = void 0;
2757
- Oe.getPrefix = kr;
2758
- const dt = ["Moz", "Webkit", "O", "ms"];
2759
- function kr() {
2859
+ Oe.getPrefix = _r;
2860
+ const ft = ["Moz", "Webkit", "O", "ms"];
2861
+ function _r() {
2760
2862
  var e;
2761
2863
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
2762
2864
  if (typeof window > "u") return "";
2763
2865
  const r = (e = window.document) === null || e === void 0 || (e = e.documentElement) === null || e === void 0 ? void 0 : e.style;
2764
2866
  if (!r || t in r) return "";
2765
- for (let n = 0; n < dt.length; n++)
2766
- if (Or(t, dt[n]) in r) return dt[n];
2867
+ for (let n = 0; n < ft.length; n++)
2868
+ if (Or(t, ft[n]) in r) return ft[n];
2767
2869
  return "";
2768
2870
  }
2769
2871
  function Or(e, t) {
2770
- return t ? "".concat(t).concat(fo(e)) : e;
2872
+ return t ? "".concat(t).concat(mo(e)) : e;
2771
2873
  }
2772
- function uo(e, t) {
2874
+ function fo(e, t) {
2773
2875
  return t ? "-".concat(t.toLowerCase(), "-").concat(e) : e;
2774
2876
  }
2775
- function fo(e) {
2877
+ function mo(e) {
2776
2878
  let t = "", r = !0;
2777
2879
  for (let n = 0; n < e.length; n++)
2778
2880
  r ? (t += e[n].toUpperCase(), r = !1) : e[n] === "-" ? r = !0 : t += e[n];
2779
2881
  return t;
2780
2882
  }
2781
- Oe.default = kr();
2883
+ Oe.default = _r();
2782
2884
  Object.defineProperty(K, "__esModule", {
2783
2885
  value: !0
2784
2886
  });
2785
2887
  K.addClassName = Tr;
2786
2888
  K.addEvent = ho;
2787
- K.addUserSelectStyles = _o;
2788
- K.createCSSTransform = No;
2789
- K.createSVGTransform = So;
2790
- K.getTouch = wo;
2791
- K.getTouchIdentifier = Co;
2792
- K.getTranslation = kt;
2793
- K.innerHeight = go;
2794
- K.innerWidth = xo;
2889
+ K.addUserSelectStyles = Do;
2890
+ K.createCSSTransform = So;
2891
+ K.createSVGTransform = wo;
2892
+ K.getTouch = Co;
2893
+ K.getTouchIdentifier = ko;
2894
+ K.getTranslation = Ot;
2895
+ K.innerHeight = xo;
2896
+ K.innerWidth = No;
2795
2897
  K.matchesSelector = Pr;
2796
- K.matchesSelectorAndParentsTo = mo;
2898
+ K.matchesSelectorAndParentsTo = bo;
2797
2899
  K.offsetXYFromParent = Eo;
2798
- K.outerHeight = yo;
2799
- K.outerWidth = vo;
2900
+ K.outerHeight = vo;
2901
+ K.outerWidth = go;
2800
2902
  K.removeClassName = jr;
2801
- K.removeEvent = bo;
2802
- K.removeUserSelectStyles = Do;
2903
+ K.removeEvent = yo;
2904
+ K.removeUserSelectStyles = _o;
2803
2905
  var ue = xe, dr = po(Oe);
2804
2906
  function Rr(e) {
2805
2907
  if (typeof WeakMap != "function") return null;
@@ -2830,7 +2932,7 @@ function Pr(e, t) {
2830
2932
  return (0, ue.isFunction)(e[r]);
2831
2933
  })), (0, ue.isFunction)(e[Ye]) ? e[Ye](t) : !1;
2832
2934
  }
2833
- function mo(e, t, r) {
2935
+ function bo(e, t, r) {
2834
2936
  let n = e;
2835
2937
  do {
2836
2938
  if (Pr(n, t)) return !0;
@@ -2847,7 +2949,7 @@ function ho(e, t, r, n) {
2847
2949
  };
2848
2950
  e.addEventListener ? e.addEventListener(t, r, o) : e.attachEvent ? e.attachEvent("on" + t, r) : e["on" + t] = r;
2849
2951
  }
2850
- function bo(e, t, r, n) {
2952
+ function yo(e, t, r, n) {
2851
2953
  if (!e) return;
2852
2954
  const o = {
2853
2955
  capture: !0,
@@ -2855,22 +2957,22 @@ function bo(e, t, r, n) {
2855
2957
  };
2856
2958
  e.removeEventListener ? e.removeEventListener(t, r, o) : e.detachEvent ? e.detachEvent("on" + t, r) : e["on" + t] = null;
2857
2959
  }
2858
- function yo(e) {
2960
+ function vo(e) {
2859
2961
  let t = e.clientHeight;
2860
2962
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2861
2963
  return t += (0, ue.int)(r.borderTopWidth), t += (0, ue.int)(r.borderBottomWidth), t;
2862
2964
  }
2863
- function vo(e) {
2965
+ function go(e) {
2864
2966
  let t = e.clientWidth;
2865
2967
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2866
2968
  return t += (0, ue.int)(r.borderLeftWidth), t += (0, ue.int)(r.borderRightWidth), t;
2867
2969
  }
2868
- function go(e) {
2970
+ function xo(e) {
2869
2971
  let t = e.clientHeight;
2870
2972
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2871
2973
  return t -= (0, ue.int)(r.paddingTop), t -= (0, ue.int)(r.paddingBottom), t;
2872
2974
  }
2873
- function xo(e) {
2975
+ function No(e) {
2874
2976
  let t = e.clientWidth;
2875
2977
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2876
2978
  return t -= (0, ue.int)(r.paddingLeft), t -= (0, ue.int)(r.paddingRight), t;
@@ -2885,16 +2987,16 @@ function Eo(e, t, r) {
2885
2987
  y: s
2886
2988
  };
2887
2989
  }
2888
- function No(e, t) {
2889
- const r = kt(e, t, "px");
2990
+ function So(e, t) {
2991
+ const r = Ot(e, t, "px");
2890
2992
  return {
2891
2993
  [(0, dr.browserPrefixToKey)("transform", dr.default)]: r
2892
2994
  };
2893
2995
  }
2894
- function So(e, t) {
2895
- return kt(e, t, "");
2996
+ function wo(e, t) {
2997
+ return Ot(e, t, "");
2896
2998
  }
2897
- function kt(e, t, r) {
2999
+ function Ot(e, t, r) {
2898
3000
  let {
2899
3001
  x: n,
2900
3002
  y: o
@@ -2905,21 +3007,21 @@ function kt(e, t, r) {
2905
3007
  }
2906
3008
  return a;
2907
3009
  }
2908
- function wo(e, t) {
3010
+ function Co(e, t) {
2909
3011
  return e.targetTouches && (0, ue.findInArray)(e.targetTouches, (r) => t === r.identifier) || e.changedTouches && (0, ue.findInArray)(e.changedTouches, (r) => t === r.identifier);
2910
3012
  }
2911
- function Co(e) {
3013
+ function ko(e) {
2912
3014
  if (e.targetTouches && e.targetTouches[0]) return e.targetTouches[0].identifier;
2913
3015
  if (e.changedTouches && e.changedTouches[0]) return e.changedTouches[0].identifier;
2914
3016
  }
2915
- function _o(e) {
3017
+ function Do(e) {
2916
3018
  if (!e) return;
2917
3019
  let t = e.getElementById("react-draggable-style-el");
2918
3020
  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;}
2919
3021
  `, t.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
2920
3022
  `, e.getElementsByTagName("head")[0].appendChild(t)), e.body && Tr(e.body, "react-draggable-transparent-selection");
2921
3023
  }
2922
- function Do(e) {
3024
+ function _o(e) {
2923
3025
  if (e)
2924
3026
  try {
2925
3027
  if (e.body && jr(e.body, "react-draggable-transparent-selection"), e.selection)
@@ -2937,25 +3039,25 @@ function Tr(e, t) {
2937
3039
  function jr(e, t) {
2938
3040
  e.classList ? e.classList.remove(t) : e.className = e.className.replace(new RegExp("(?:^|\\s)".concat(t, "(?!\\S)"), "g"), "");
2939
3041
  }
2940
- var Ee = {};
2941
- Object.defineProperty(Ee, "__esModule", {
3042
+ var Ne = {};
3043
+ Object.defineProperty(Ne, "__esModule", {
2942
3044
  value: !0
2943
3045
  });
2944
- Ee.canDragX = Ro;
2945
- Ee.canDragY = Po;
2946
- Ee.createCoreData = jo;
2947
- Ee.createDraggableData = Mo;
2948
- Ee.getBoundPosition = ko;
2949
- Ee.getControlPosition = To;
2950
- Ee.snapToGrid = Oo;
3046
+ Ne.canDragX = Po;
3047
+ Ne.canDragY = To;
3048
+ Ne.createCoreData = Mo;
3049
+ Ne.createDraggableData = Vo;
3050
+ Ne.getBoundPosition = Oo;
3051
+ Ne.getControlPosition = jo;
3052
+ Ne.snapToGrid = Ro;
2951
3053
  var ce = xe, je = K;
2952
- function ko(e, t, r) {
3054
+ function Oo(e, t, r) {
2953
3055
  if (!e.props.bounds) return [t, r];
2954
3056
  let {
2955
3057
  bounds: n
2956
3058
  } = e.props;
2957
3059
  n = typeof n == "string" ? n : Ao(n);
2958
- const o = Ot(e);
3060
+ const o = Rt(e);
2959
3061
  if (typeof n == "string") {
2960
3062
  const {
2961
3063
  ownerDocument: a
@@ -2963,34 +3065,34 @@ function ko(e, t, r) {
2963
3065
  let u;
2964
3066
  if (n === "parent" ? u = o.parentNode : u = a.querySelector(n), !(u instanceof s.HTMLElement))
2965
3067
  throw new Error('Bounds selector "' + n + '" could not find an element.');
2966
- const p = u, m = s.getComputedStyle(o), y = s.getComputedStyle(p);
3068
+ const m = u, p = s.getComputedStyle(o), b = s.getComputedStyle(m);
2967
3069
  n = {
2968
- left: -o.offsetLeft + (0, ce.int)(y.paddingLeft) + (0, ce.int)(m.marginLeft),
2969
- top: -o.offsetTop + (0, ce.int)(y.paddingTop) + (0, ce.int)(m.marginTop),
2970
- right: (0, je.innerWidth)(p) - (0, je.outerWidth)(o) - o.offsetLeft + (0, ce.int)(y.paddingRight) - (0, ce.int)(m.marginRight),
2971
- bottom: (0, je.innerHeight)(p) - (0, je.outerHeight)(o) - o.offsetTop + (0, ce.int)(y.paddingBottom) - (0, ce.int)(m.marginBottom)
3070
+ left: -o.offsetLeft + (0, ce.int)(b.paddingLeft) + (0, ce.int)(p.marginLeft),
3071
+ top: -o.offsetTop + (0, ce.int)(b.paddingTop) + (0, ce.int)(p.marginTop),
3072
+ right: (0, je.innerWidth)(m) - (0, je.outerWidth)(o) - o.offsetLeft + (0, ce.int)(b.paddingRight) - (0, ce.int)(p.marginRight),
3073
+ bottom: (0, je.innerHeight)(m) - (0, je.outerHeight)(o) - o.offsetTop + (0, ce.int)(b.paddingBottom) - (0, ce.int)(p.marginBottom)
2972
3074
  };
2973
3075
  }
2974
3076
  return (0, ce.isNum)(n.right) && (t = Math.min(t, n.right)), (0, ce.isNum)(n.bottom) && (r = Math.min(r, n.bottom)), (0, ce.isNum)(n.left) && (t = Math.max(t, n.left)), (0, ce.isNum)(n.top) && (r = Math.max(r, n.top)), [t, r];
2975
3077
  }
2976
- function Oo(e, t, r) {
3078
+ function Ro(e, t, r) {
2977
3079
  const n = Math.round(t / e[0]) * e[0], o = Math.round(r / e[1]) * e[1];
2978
3080
  return [n, o];
2979
3081
  }
2980
- function Ro(e) {
3082
+ function Po(e) {
2981
3083
  return e.props.axis === "both" || e.props.axis === "x";
2982
3084
  }
2983
- function Po(e) {
3085
+ function To(e) {
2984
3086
  return e.props.axis === "both" || e.props.axis === "y";
2985
3087
  }
2986
- function To(e, t, r) {
3088
+ function jo(e, t, r) {
2987
3089
  const n = typeof t == "number" ? (0, je.getTouch)(e, t) : null;
2988
3090
  if (typeof t == "number" && !n) return null;
2989
- const o = Ot(r), a = r.props.offsetParent || o.offsetParent || o.ownerDocument.body;
3091
+ const o = Rt(r), a = r.props.offsetParent || o.offsetParent || o.ownerDocument.body;
2990
3092
  return (0, je.offsetXYFromParent)(n || e, a, r.props.scale);
2991
3093
  }
2992
- function jo(e, t, r) {
2993
- const n = !(0, ce.isNum)(e.lastX), o = Ot(e);
3094
+ function Mo(e, t, r) {
3095
+ const n = !(0, ce.isNum)(e.lastX), o = Rt(e);
2994
3096
  return n ? {
2995
3097
  node: o,
2996
3098
  deltaX: 0,
@@ -3009,7 +3111,7 @@ function jo(e, t, r) {
3009
3111
  y: r
3010
3112
  };
3011
3113
  }
3012
- function Mo(e, t) {
3114
+ function Vo(e, t) {
3013
3115
  const r = e.props.scale;
3014
3116
  return {
3015
3117
  node: t.node,
@@ -3029,25 +3131,25 @@ function Ao(e) {
3029
3131
  bottom: e.bottom
3030
3132
  };
3031
3133
  }
3032
- function Ot(e) {
3134
+ function Rt(e) {
3033
3135
  const t = e.findDOMNode();
3034
3136
  if (!t)
3035
3137
  throw new Error("<DraggableCore>: Unmounted during event!");
3036
3138
  return t;
3037
3139
  }
3038
- var Xe = {}, Ke = {};
3039
- Object.defineProperty(Ke, "__esModule", {
3140
+ var Ke = {}, Ge = {};
3141
+ Object.defineProperty(Ge, "__esModule", {
3040
3142
  value: !0
3041
3143
  });
3042
- Ke.default = Vo;
3043
- function Vo() {
3144
+ Ge.default = $o;
3145
+ function $o() {
3044
3146
  }
3045
- Object.defineProperty(Xe, "__esModule", {
3147
+ Object.defineProperty(Ke, "__esModule", {
3046
3148
  value: !0
3047
3149
  });
3048
- Xe.default = void 0;
3049
- var ft = zo(ke), se = Rt(Be), $o = Rt(Er), re = K, we = Ee, pt = xe, Ve = Rt(Ke);
3050
- function Rt(e) {
3150
+ Ke.default = void 0;
3151
+ var mt = Io(_e), se = Pt(Xe), zo = Pt(Nr), re = K, we = Ne, pt = xe, Ae = Pt(Ge);
3152
+ function Pt(e) {
3051
3153
  return e && e.__esModule ? e : { default: e };
3052
3154
  }
3053
3155
  function Mr(e) {
@@ -3057,7 +3159,7 @@ function Mr(e) {
3057
3159
  return n ? r : t;
3058
3160
  })(e);
3059
3161
  }
3060
- function zo(e, t) {
3162
+ function Io(e, t) {
3061
3163
  if (e && e.__esModule)
3062
3164
  return e;
3063
3165
  if (e === null || typeof e != "object" && typeof e != "function")
@@ -3074,13 +3176,13 @@ function zo(e, t) {
3074
3176
  return n.default = e, r && r.set(e, n), n;
3075
3177
  }
3076
3178
  function ie(e, t, r) {
3077
- return t = Io(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3179
+ return t = Ho(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3078
3180
  }
3079
- function Io(e) {
3080
- var t = Ho(e, "string");
3181
+ function Ho(e) {
3182
+ var t = Lo(e, "string");
3081
3183
  return typeof t == "symbol" ? t : String(t);
3082
3184
  }
3083
- function Ho(e, t) {
3185
+ function Lo(e, t) {
3084
3186
  if (typeof e != "object" || e === null) return e;
3085
3187
  var r = e[Symbol.toPrimitive];
3086
3188
  if (r !== void 0) {
@@ -3090,7 +3192,7 @@ function Ho(e, t) {
3090
3192
  }
3091
3193
  return (t === "string" ? String : Number)(e);
3092
3194
  }
3093
- const ye = {
3195
+ const ve = {
3094
3196
  touch: {
3095
3197
  start: "touchstart",
3096
3198
  move: "touchmove",
@@ -3102,7 +3204,7 @@ const ye = {
3102
3204
  stop: "mouseup"
3103
3205
  }
3104
3206
  };
3105
- let Ce = ye.mouse, Ge = class extends ft.Component {
3207
+ let Ce = ve.mouse, Je = class extends mt.Component {
3106
3208
  constructor() {
3107
3209
  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) => {
3108
3210
  if (this.props.onMouseDown(t), !this.props.allowAnyClick && typeof t.button == "number" && t.button !== 0) return !1;
@@ -3122,8 +3224,8 @@ let Ce = ye.mouse, Ge = class extends ft.Component {
3122
3224
  const {
3123
3225
  x: s,
3124
3226
  y: u
3125
- } = a, p = (0, we.createCoreData)(this, s, u);
3126
- (0, Ve.default)("DraggableCore: handleDragStart: %j", p), (0, Ve.default)("calling", this.props.onStart), !(this.props.onStart(t, p) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, re.addUserSelectStyles)(n), this.dragging = !0, this.lastX = s, this.lastY = u, (0, re.addEvent)(n, Ce.move, this.handleDrag), (0, re.addEvent)(n, Ce.stop, this.handleDragStop));
3227
+ } = a, m = (0, we.createCoreData)(this, s, u);
3228
+ (0, Ae.default)("DraggableCore: handleDragStart: %j", m), (0, Ae.default)("calling", this.props.onStart), !(this.props.onStart(t, m) === !1 || this.mounted === !1) && (this.props.enableUserSelectHack && (0, re.addUserSelectStyles)(n), this.dragging = !0, this.lastX = s, this.lastY = u, (0, re.addEvent)(n, Ce.move, this.handleDrag), (0, re.addEvent)(n, Ce.stop, this.handleDragStop));
3127
3229
  }), ie(this, "handleDrag", (t) => {
3128
3230
  const r = (0, we.getControlPosition)(t, this.touchIdentifier, this);
3129
3231
  if (r == null) return;
@@ -3132,17 +3234,17 @@ let Ce = ye.mouse, Ge = class extends ft.Component {
3132
3234
  y: o
3133
3235
  } = r;
3134
3236
  if (Array.isArray(this.props.grid)) {
3135
- let u = n - this.lastX, p = o - this.lastY;
3136
- if ([u, p] = (0, we.snapToGrid)(this.props.grid, u, p), !u && !p) return;
3137
- n = this.lastX + u, o = this.lastY + p;
3237
+ let u = n - this.lastX, m = o - this.lastY;
3238
+ if ([u, m] = (0, we.snapToGrid)(this.props.grid, u, m), !u && !m) return;
3239
+ n = this.lastX + u, o = this.lastY + m;
3138
3240
  }
3139
3241
  const a = (0, we.createCoreData)(this, n, o);
3140
- if ((0, Ve.default)("DraggableCore: handleDrag: %j", a), this.props.onDrag(t, a) === !1 || this.mounted === !1) {
3242
+ if ((0, Ae.default)("DraggableCore: handleDrag: %j", a), this.props.onDrag(t, a) === !1 || this.mounted === !1) {
3141
3243
  try {
3142
3244
  this.handleDragStop(new MouseEvent("mouseup"));
3143
3245
  } catch {
3144
- const p = document.createEvent("MouseEvents");
3145
- p.initMouseEvent("mouseup", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), this.handleDragStop(p);
3246
+ const m = document.createEvent("MouseEvents");
3247
+ m.initMouseEvent("mouseup", !0, !0, window, 0, 0, 0, 0, 0, !1, !1, !1, !1, 0, null), this.handleDragStop(m);
3146
3248
  }
3147
3249
  return;
3148
3250
  }
@@ -3156,19 +3258,19 @@ let Ce = ye.mouse, Ge = class extends ft.Component {
3156
3258
  y: o
3157
3259
  } = r;
3158
3260
  if (Array.isArray(this.props.grid)) {
3159
- let p = n - this.lastX || 0, m = o - this.lastY || 0;
3160
- [p, m] = (0, we.snapToGrid)(this.props.grid, p, m), n = this.lastX + p, o = this.lastY + m;
3261
+ let m = n - this.lastX || 0, p = o - this.lastY || 0;
3262
+ [m, p] = (0, we.snapToGrid)(this.props.grid, m, p), n = this.lastX + m, o = this.lastY + p;
3161
3263
  }
3162
3264
  const a = (0, we.createCoreData)(this, n, o);
3163
3265
  if (this.props.onStop(t, a) === !1 || this.mounted === !1) return !1;
3164
3266
  const u = this.findDOMNode();
3165
- u && this.props.enableUserSelectHack && (0, re.removeUserSelectStyles)(u.ownerDocument), (0, Ve.default)("DraggableCore: handleDragStop: %j", a), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, u && ((0, Ve.default)("DraggableCore: Removing handlers"), (0, re.removeEvent)(u.ownerDocument, Ce.move, this.handleDrag), (0, re.removeEvent)(u.ownerDocument, Ce.stop, this.handleDragStop));
3166
- }), ie(this, "onMouseDown", (t) => (Ce = ye.mouse, this.handleDragStart(t))), ie(this, "onMouseUp", (t) => (Ce = ye.mouse, this.handleDragStop(t))), ie(this, "onTouchStart", (t) => (Ce = ye.touch, this.handleDragStart(t))), ie(this, "onTouchEnd", (t) => (Ce = ye.touch, this.handleDragStop(t)));
3267
+ u && this.props.enableUserSelectHack && (0, re.removeUserSelectStyles)(u.ownerDocument), (0, Ae.default)("DraggableCore: handleDragStop: %j", a), this.dragging = !1, this.lastX = NaN, this.lastY = NaN, u && ((0, Ae.default)("DraggableCore: Removing handlers"), (0, re.removeEvent)(u.ownerDocument, Ce.move, this.handleDrag), (0, re.removeEvent)(u.ownerDocument, Ce.stop, this.handleDragStop));
3268
+ }), ie(this, "onMouseDown", (t) => (Ce = ve.mouse, this.handleDragStart(t))), ie(this, "onMouseUp", (t) => (Ce = ve.mouse, this.handleDragStop(t))), ie(this, "onTouchStart", (t) => (Ce = ve.touch, this.handleDragStart(t))), ie(this, "onTouchEnd", (t) => (Ce = ve.touch, this.handleDragStop(t)));
3167
3269
  }
3168
3270
  componentDidMount() {
3169
3271
  this.mounted = !0;
3170
3272
  const t = this.findDOMNode();
3171
- t && (0, re.addEvent)(t, ye.touch.start, this.onTouchStart, {
3273
+ t && (0, re.addEvent)(t, ve.touch.start, this.onTouchStart, {
3172
3274
  passive: !1
3173
3275
  });
3174
3276
  }
@@ -3179,7 +3281,7 @@ let Ce = ye.mouse, Ge = class extends ft.Component {
3179
3281
  const {
3180
3282
  ownerDocument: r
3181
3283
  } = t;
3182
- (0, re.removeEvent)(r, ye.mouse.move, this.handleDrag), (0, re.removeEvent)(r, ye.touch.move, this.handleDrag), (0, re.removeEvent)(r, ye.mouse.stop, this.handleDragStop), (0, re.removeEvent)(r, ye.touch.stop, this.handleDragStop), (0, re.removeEvent)(t, ye.touch.start, this.onTouchStart, {
3284
+ (0, re.removeEvent)(r, ve.mouse.move, this.handleDrag), (0, re.removeEvent)(r, ve.touch.move, this.handleDrag), (0, re.removeEvent)(r, ve.mouse.stop, this.handleDragStop), (0, re.removeEvent)(r, ve.touch.stop, this.handleDragStop), (0, re.removeEvent)(t, ve.touch.start, this.onTouchStart, {
3183
3285
  passive: !1
3184
3286
  }), this.props.enableUserSelectHack && (0, re.removeUserSelectStyles)(r);
3185
3287
  }
@@ -3188,10 +3290,10 @@ let Ce = ye.mouse, Ge = class extends ft.Component {
3188
3290
  // the underlying DOM node ourselves. See the README for more information.
3189
3291
  findDOMNode() {
3190
3292
  var t, r;
3191
- return (t = this.props) !== null && t !== void 0 && t.nodeRef ? (r = this.props) === null || r === void 0 || (r = r.nodeRef) === null || r === void 0 ? void 0 : r.current : $o.default.findDOMNode(this);
3293
+ return (t = this.props) !== null && t !== void 0 && t.nodeRef ? (r = this.props) === null || r === void 0 || (r = r.nodeRef) === null || r === void 0 ? void 0 : r.current : zo.default.findDOMNode(this);
3192
3294
  }
3193
3295
  render() {
3194
- return /* @__PURE__ */ ft.cloneElement(ft.Children.only(this.props.children), {
3296
+ return /* @__PURE__ */ mt.cloneElement(mt.Children.only(this.props.children), {
3195
3297
  // Note: mouseMove handler is attached to document so it will still function
3196
3298
  // when the user drags quickly and leaves the bounds of the element.
3197
3299
  onMouseDown: this.onMouseDown,
@@ -3203,9 +3305,9 @@ let Ce = ye.mouse, Ge = class extends ft.Component {
3203
3305
  });
3204
3306
  }
3205
3307
  };
3206
- Xe.default = Ge;
3207
- ie(Ge, "displayName", "DraggableCore");
3208
- ie(Ge, "propTypes", {
3308
+ Ke.default = Je;
3309
+ ie(Je, "displayName", "DraggableCore");
3310
+ ie(Je, "propTypes", {
3209
3311
  /**
3210
3312
  * `allowAnyClick` allows dragging using any mouse button.
3211
3313
  * By default, we only accept the left button.
@@ -3328,7 +3430,7 @@ ie(Ge, "propTypes", {
3328
3430
  style: pt.dontSetMe,
3329
3431
  transform: pt.dontSetMe
3330
3432
  });
3331
- ie(Ge, "defaultProps", {
3433
+ ie(Je, "defaultProps", {
3332
3434
  allowAnyClick: !1,
3333
3435
  // by default only accept left click
3334
3436
  disabled: !1,
@@ -3349,18 +3451,18 @@ ie(Ge, "defaultProps", {
3349
3451
  }), Object.defineProperty(e, "DraggableCore", {
3350
3452
  enumerable: !0,
3351
3453
  get: function() {
3352
- return p.default;
3454
+ return m.default;
3353
3455
  }
3354
3456
  }), e.default = void 0;
3355
- var t = O(ke), r = y(Be), n = y(Er), o = y(io), a = K, s = Ee, u = xe, p = y(Xe), m = y(Ke);
3356
- function y(v) {
3457
+ var t = O(_e), r = b(Xe), n = b(Nr), o = b(oo), a = K, s = Ne, u = xe, m = b(Ke), p = b(Ge);
3458
+ function b(v) {
3357
3459
  return v && v.__esModule ? v : { default: v };
3358
3460
  }
3359
- function E(v) {
3461
+ function N(v) {
3360
3462
  if (typeof WeakMap != "function") return null;
3361
- var x = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap();
3362
- return (E = function(c) {
3363
- return c ? N : x;
3463
+ var x = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap();
3464
+ return (N = function(c) {
3465
+ return c ? E : x;
3364
3466
  })(v);
3365
3467
  }
3366
3468
  function O(v, x) {
@@ -3368,29 +3470,29 @@ ie(Ge, "defaultProps", {
3368
3470
  return v;
3369
3471
  if (v === null || typeof v != "object" && typeof v != "function")
3370
3472
  return { default: v };
3371
- var N = E(x);
3372
- if (N && N.has(v))
3373
- return N.get(v);
3473
+ var E = N(x);
3474
+ if (E && E.has(v))
3475
+ return E.get(v);
3374
3476
  var c = {}, Y = Object.defineProperty && Object.getOwnPropertyDescriptor;
3375
3477
  for (var P in v)
3376
3478
  if (P !== "default" && Object.prototype.hasOwnProperty.call(v, P)) {
3377
3479
  var Q = Y ? Object.getOwnPropertyDescriptor(v, P) : null;
3378
3480
  Q && (Q.get || Q.set) ? Object.defineProperty(c, P, Q) : c[P] = v[P];
3379
3481
  }
3380
- return c.default = v, N && N.set(v, c), c;
3482
+ return c.default = v, E && E.set(v, c), c;
3381
3483
  }
3382
3484
  function S() {
3383
3485
  return S = Object.assign ? Object.assign.bind() : function(v) {
3384
3486
  for (var x = 1; x < arguments.length; x++) {
3385
- var N = arguments[x];
3386
- for (var c in N)
3387
- Object.prototype.hasOwnProperty.call(N, c) && (v[c] = N[c]);
3487
+ var E = arguments[x];
3488
+ for (var c in E)
3489
+ Object.prototype.hasOwnProperty.call(E, c) && (v[c] = E[c]);
3388
3490
  }
3389
3491
  return v;
3390
3492
  }, S.apply(this, arguments);
3391
3493
  }
3392
- function V(v, x, N) {
3393
- return x = $(x), x in v ? Object.defineProperty(v, x, { value: N, enumerable: !0, configurable: !0, writable: !0 }) : v[x] = N, v;
3494
+ function A(v, x, E) {
3495
+ return x = $(x), x in v ? Object.defineProperty(v, x, { value: E, enumerable: !0, configurable: !0, writable: !0 }) : v[x] = E, v;
3394
3496
  }
3395
3497
  function $(v) {
3396
3498
  var x = B(v, "string");
@@ -3398,9 +3500,9 @@ ie(Ge, "defaultProps", {
3398
3500
  }
3399
3501
  function B(v, x) {
3400
3502
  if (typeof v != "object" || v === null) return v;
3401
- var N = v[Symbol.toPrimitive];
3402
- if (N !== void 0) {
3403
- var c = N.call(v, x || "default");
3503
+ var E = v[Symbol.toPrimitive];
3504
+ if (E !== void 0) {
3505
+ var c = E.call(v, x || "default");
3404
3506
  if (typeof c != "object") return c;
3405
3507
  throw new TypeError("@@toPrimitive must return a primitive value.");
3406
3508
  }
@@ -3409,13 +3511,13 @@ ie(Ge, "defaultProps", {
3409
3511
  class W extends t.Component {
3410
3512
  // React 16.3+
3411
3513
  // Arity (props, state)
3412
- static getDerivedStateFromProps(x, N) {
3514
+ static getDerivedStateFromProps(x, E) {
3413
3515
  let {
3414
3516
  position: c
3415
3517
  } = x, {
3416
3518
  prevPropsPosition: Y
3417
- } = N;
3418
- return c && (!Y || c.x !== Y.x || c.y !== Y.y) ? ((0, m.default)("Draggable: getDerivedStateFromProps %j", {
3519
+ } = E;
3520
+ return c && (!Y || c.x !== Y.x || c.y !== Y.y) ? ((0, p.default)("Draggable: getDerivedStateFromProps %j", {
3419
3521
  position: c,
3420
3522
  prevPropsPosition: Y
3421
3523
  }), {
@@ -3427,15 +3529,15 @@ ie(Ge, "defaultProps", {
3427
3529
  }) : null;
3428
3530
  }
3429
3531
  constructor(x) {
3430
- super(x), V(this, "onDragStart", (N, c) => {
3431
- if ((0, m.default)("Draggable: onDragStart: %j", c), this.props.onStart(N, (0, s.createDraggableData)(this, c)) === !1) return !1;
3532
+ super(x), A(this, "onDragStart", (E, c) => {
3533
+ if ((0, p.default)("Draggable: onDragStart: %j", c), this.props.onStart(E, (0, s.createDraggableData)(this, c)) === !1) return !1;
3432
3534
  this.setState({
3433
3535
  dragging: !0,
3434
3536
  dragged: !0
3435
3537
  });
3436
- }), V(this, "onDrag", (N, c) => {
3538
+ }), A(this, "onDrag", (E, c) => {
3437
3539
  if (!this.state.dragging) return !1;
3438
- (0, m.default)("Draggable: onDrag: %j", c);
3540
+ (0, p.default)("Draggable: onDrag: %j", c);
3439
3541
  const Y = (0, s.createDraggableData)(this, c), P = {
3440
3542
  x: Y.x,
3441
3543
  y: Y.y,
@@ -3448,14 +3550,14 @@ ie(Ge, "defaultProps", {
3448
3550
  y: fe
3449
3551
  } = P;
3450
3552
  P.x += this.state.slackX, P.y += this.state.slackY;
3451
- const [be, Ne] = (0, s.getBoundPosition)(this, P.x, P.y);
3452
- P.x = be, P.y = Ne, P.slackX = this.state.slackX + (de - P.x), P.slackY = this.state.slackY + (fe - P.y), Y.x = P.x, Y.y = P.y, Y.deltaX = P.x - this.state.x, Y.deltaY = P.y - this.state.y;
3553
+ const [ye, Ee] = (0, s.getBoundPosition)(this, P.x, P.y);
3554
+ P.x = ye, P.y = Ee, P.slackX = this.state.slackX + (de - P.x), P.slackY = this.state.slackY + (fe - P.y), Y.x = P.x, Y.y = P.y, Y.deltaX = P.x - this.state.x, Y.deltaY = P.y - this.state.y;
3453
3555
  }
3454
- if (this.props.onDrag(N, Y) === !1) return !1;
3556
+ if (this.props.onDrag(E, Y) === !1) return !1;
3455
3557
  this.setState(P);
3456
- }), V(this, "onDragStop", (N, c) => {
3457
- if (!this.state.dragging || this.props.onStop(N, (0, s.createDraggableData)(this, c)) === !1) return !1;
3458
- (0, m.default)("Draggable: onDragStop: %j", c);
3558
+ }), A(this, "onDragStop", (E, c) => {
3559
+ if (!this.state.dragging || this.props.onStop(E, (0, s.createDraggableData)(this, c)) === !1) return !1;
3560
+ (0, p.default)("Draggable: onDragStop: %j", c);
3459
3561
  const P = {
3460
3562
  dragging: !1,
3461
3563
  slackX: 0,
@@ -3500,36 +3602,36 @@ ie(Ge, "defaultProps", {
3500
3602
  // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find
3501
3603
  // the underlying DOM node ourselves. See the README for more information.
3502
3604
  findDOMNode() {
3503
- var x, N;
3504
- return (x = (N = this.props) === null || N === void 0 || (N = N.nodeRef) === null || N === void 0 ? void 0 : N.current) !== null && x !== void 0 ? x : n.default.findDOMNode(this);
3605
+ var x, E;
3606
+ return (x = (E = this.props) === null || E === void 0 || (E = E.nodeRef) === null || E === void 0 ? void 0 : E.current) !== null && x !== void 0 ? x : n.default.findDOMNode(this);
3505
3607
  }
3506
3608
  render() {
3507
3609
  const {
3508
3610
  axis: x,
3509
- bounds: N,
3611
+ bounds: E,
3510
3612
  children: c,
3511
3613
  defaultPosition: Y,
3512
3614
  defaultClassName: P,
3513
3615
  defaultClassNameDragging: Q,
3514
3616
  defaultClassNameDragged: de,
3515
3617
  position: fe,
3516
- positionOffset: be,
3517
- scale: Ne,
3618
+ positionOffset: ye,
3619
+ scale: Ee,
3518
3620
  ...ee
3519
3621
  } = this.props;
3520
- let Z = {}, pe = null;
3521
- const le = !!!fe || this.state.dragging, ve = fe || Y, Se = {
3622
+ let Z = {}, me = null;
3623
+ const le = !!!fe || this.state.dragging, ge = fe || Y, Se = {
3522
3624
  // Set left if horizontal drag is enabled
3523
- x: (0, s.canDragX)(this) && le ? this.state.x : ve.x,
3625
+ x: (0, s.canDragX)(this) && le ? this.state.x : ge.x,
3524
3626
  // Set top if vertical drag is enabled
3525
- y: (0, s.canDragY)(this) && le ? this.state.y : ve.y
3627
+ y: (0, s.canDragY)(this) && le ? this.state.y : ge.y
3526
3628
  };
3527
- this.state.isElementSVG ? pe = (0, a.createSVGTransform)(Se, be) : Z = (0, a.createCSSTransform)(Se, be);
3629
+ this.state.isElementSVG ? me = (0, a.createSVGTransform)(Se, ye) : Z = (0, a.createCSSTransform)(Se, ye);
3528
3630
  const f = (0, o.default)(c.props.className || "", P, {
3529
3631
  [Q]: this.state.dragging,
3530
3632
  [de]: this.state.dragged
3531
3633
  });
3532
- return /* @__PURE__ */ t.createElement(p.default, S({}, ee, {
3634
+ return /* @__PURE__ */ t.createElement(m.default, S({}, ee, {
3533
3635
  onStart: this.onDragStart,
3534
3636
  onDrag: this.onDrag,
3535
3637
  onStop: this.onDragStop
@@ -3539,13 +3641,13 @@ ie(Ge, "defaultProps", {
3539
3641
  ...c.props.style,
3540
3642
  ...Z
3541
3643
  },
3542
- transform: pe
3644
+ transform: me
3543
3645
  }));
3544
3646
  }
3545
3647
  }
3546
- e.default = W, V(W, "displayName", "Draggable"), V(W, "propTypes", {
3648
+ e.default = W, A(W, "displayName", "Draggable"), A(W, "propTypes", {
3547
3649
  // Accepts all props <DraggableCore> accepts.
3548
- ...p.default.propTypes,
3650
+ ...m.default.propTypes,
3549
3651
  /**
3550
3652
  * `axis` determines which axis the draggable can move.
3551
3653
  *
@@ -3650,8 +3752,8 @@ ie(Ge, "defaultProps", {
3650
3752
  className: u.dontSetMe,
3651
3753
  style: u.dontSetMe,
3652
3754
  transform: u.dontSetMe
3653
- }), V(W, "defaultProps", {
3654
- ...p.default.defaultProps,
3755
+ }), A(W, "defaultProps", {
3756
+ ...m.default.defaultProps,
3655
3757
  axis: "both",
3656
3758
  bounds: !1,
3657
3759
  defaultClassName: "react-draggable",
@@ -3665,17 +3767,17 @@ ie(Ge, "defaultProps", {
3665
3767
  });
3666
3768
  })(wr);
3667
3769
  const {
3668
- default: Ar,
3669
- DraggableCore: Lo
3770
+ default: Vr,
3771
+ DraggableCore: Wo
3670
3772
  } = wr;
3671
- Fe.exports = Ar;
3672
- Fe.exports.default = Ar;
3673
- Fe.exports.DraggableCore = Lo;
3674
- var Wo = Fe.exports, Pt = {};
3675
- Pt.__esModule = !0;
3676
- Pt.cloneElement = Xo;
3677
- var qo = Yo(ke);
3678
- function Yo(e) {
3773
+ Be.exports = Vr;
3774
+ Be.exports.default = Vr;
3775
+ Be.exports.DraggableCore = Wo;
3776
+ var qo = Be.exports, Tt = {};
3777
+ Tt.__esModule = !0;
3778
+ Tt.cloneElement = Ko;
3779
+ var Yo = Uo(_e);
3780
+ function Uo(e) {
3679
3781
  return e && e.__esModule ? e : { default: e };
3680
3782
  }
3681
3783
  function fr(e, t) {
@@ -3688,25 +3790,25 @@ function fr(e, t) {
3688
3790
  }
3689
3791
  return r;
3690
3792
  }
3691
- function pr(e) {
3793
+ function mr(e) {
3692
3794
  for (var t = 1; t < arguments.length; t++) {
3693
3795
  var r = arguments[t] != null ? arguments[t] : {};
3694
3796
  t % 2 ? fr(Object(r), !0).forEach(function(n) {
3695
- Uo(e, n, r[n]);
3797
+ Fo(e, n, r[n]);
3696
3798
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : fr(Object(r)).forEach(function(n) {
3697
3799
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3698
3800
  });
3699
3801
  }
3700
3802
  return e;
3701
3803
  }
3702
- function Uo(e, t, r) {
3703
- return t = Fo(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3804
+ function Fo(e, t, r) {
3805
+ return t = Bo(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3704
3806
  }
3705
- function Fo(e) {
3706
- var t = Bo(e, "string");
3807
+ function Bo(e) {
3808
+ var t = Xo(e, "string");
3707
3809
  return typeof t == "symbol" ? t : String(t);
3708
3810
  }
3709
- function Bo(e, t) {
3811
+ function Xo(e, t) {
3710
3812
  if (typeof e != "object" || e === null) return e;
3711
3813
  var r = e[Symbol.toPrimitive];
3712
3814
  if (r !== void 0) {
@@ -3716,17 +3818,17 @@ function Bo(e, t) {
3716
3818
  }
3717
3819
  return (t === "string" ? String : Number)(e);
3718
3820
  }
3719
- function Xo(e, t) {
3720
- return t.style && e.props.style && (t.style = pr(pr({}, e.props.style), t.style)), t.className && e.props.className && (t.className = e.props.className + " " + t.className), /* @__PURE__ */ qo.default.cloneElement(e, t);
3821
+ function Ko(e, t) {
3822
+ return t.style && e.props.style && (t.style = mr(mr({}, e.props.style), t.style)), t.className && e.props.className && (t.className = e.props.className + " " + t.className), /* @__PURE__ */ Yo.default.cloneElement(e, t);
3721
3823
  }
3722
3824
  var Ie = {};
3723
3825
  Ie.__esModule = !0;
3724
3826
  Ie.resizableProps = void 0;
3725
- var D = Ko(Be);
3726
- function Ko(e) {
3827
+ var D = Go(Xe);
3828
+ function Go(e) {
3727
3829
  return e && e.__esModule ? e : { default: e };
3728
3830
  }
3729
- var Go = {
3831
+ var Jo = {
3730
3832
  /*
3731
3833
  * Restricts resizing to a particular axis (default: 'both')
3732
3834
  * 'both' - allows resizing by width or height
@@ -3831,23 +3933,23 @@ var Go = {
3831
3933
  return D.default.number.apply(D.default, r);
3832
3934
  }
3833
3935
  };
3834
- Ie.resizableProps = Go;
3936
+ Ie.resizableProps = Jo;
3835
3937
  ze.__esModule = !0;
3836
3938
  ze.default = void 0;
3837
- var $e = ta(ke), Jo = Wo, Zo = Pt, Qo = Ie, ea = ["children", "className", "draggableOpts", "width", "height", "handle", "handleSize", "lockAspectRatio", "axis", "minConstraints", "maxConstraints", "onResize", "onResizeStop", "onResizeStart", "resizeHandles", "transformScale"];
3838
- function Vr(e) {
3939
+ var $e = ra(_e), Zo = qo, Qo = Tt, ea = Ie, ta = ["children", "className", "draggableOpts", "width", "height", "handle", "handleSize", "lockAspectRatio", "axis", "minConstraints", "maxConstraints", "onResize", "onResizeStop", "onResizeStart", "resizeHandles", "transformScale"];
3940
+ function Ar(e) {
3839
3941
  if (typeof WeakMap != "function") return null;
3840
3942
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
3841
- return (Vr = function(o) {
3943
+ return (Ar = function(o) {
3842
3944
  return o ? r : t;
3843
3945
  })(e);
3844
3946
  }
3845
- function ta(e, t) {
3947
+ function ra(e, t) {
3846
3948
  if (e && e.__esModule)
3847
3949
  return e;
3848
3950
  if (e === null || typeof e != "object" && typeof e != "function")
3849
3951
  return { default: e };
3850
- var r = Vr(t);
3952
+ var r = Ar(t);
3851
3953
  if (r && r.has(e))
3852
3954
  return r.get(e);
3853
3955
  var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -3858,24 +3960,24 @@ function ta(e, t) {
3858
3960
  }
3859
3961
  return n.default = e, r && r.set(e, n), n;
3860
3962
  }
3861
- function xt() {
3862
- return xt = Object.assign ? Object.assign.bind() : function(e) {
3963
+ function Nt() {
3964
+ return Nt = Object.assign ? Object.assign.bind() : function(e) {
3863
3965
  for (var t = 1; t < arguments.length; t++) {
3864
3966
  var r = arguments[t];
3865
3967
  for (var n in r)
3866
3968
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
3867
3969
  }
3868
3970
  return e;
3869
- }, xt.apply(this, arguments);
3971
+ }, Nt.apply(this, arguments);
3870
3972
  }
3871
- function ra(e, t) {
3973
+ function na(e, t) {
3872
3974
  if (e == null) return {};
3873
3975
  var r = {}, n = Object.keys(e), o, a;
3874
3976
  for (a = 0; a < n.length; a++)
3875
3977
  o = n[a], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
3876
3978
  return r;
3877
3979
  }
3878
- function mr(e, t) {
3980
+ function pr(e, t) {
3879
3981
  var r = Object.keys(e);
3880
3982
  if (Object.getOwnPropertySymbols) {
3881
3983
  var n = Object.getOwnPropertySymbols(e);
@@ -3885,25 +3987,25 @@ function mr(e, t) {
3885
3987
  }
3886
3988
  return r;
3887
3989
  }
3888
- function mt(e) {
3990
+ function bt(e) {
3889
3991
  for (var t = 1; t < arguments.length; t++) {
3890
3992
  var r = arguments[t] != null ? arguments[t] : {};
3891
- t % 2 ? mr(Object(r), !0).forEach(function(n) {
3892
- na(e, n, r[n]);
3893
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : mr(Object(r)).forEach(function(n) {
3993
+ t % 2 ? pr(Object(r), !0).forEach(function(n) {
3994
+ ia(e, n, r[n]);
3995
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : pr(Object(r)).forEach(function(n) {
3894
3996
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3895
3997
  });
3896
3998
  }
3897
3999
  return e;
3898
4000
  }
3899
- function na(e, t, r) {
3900
- return t = ia(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4001
+ function ia(e, t, r) {
4002
+ return t = oa(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3901
4003
  }
3902
- function ia(e) {
3903
- var t = oa(e, "string");
4004
+ function oa(e) {
4005
+ var t = aa(e, "string");
3904
4006
  return typeof t == "symbol" ? t : String(t);
3905
4007
  }
3906
- function oa(e, t) {
4008
+ function aa(e, t) {
3907
4009
  if (typeof e != "object" || e === null) return e;
3908
4010
  var r = e[Symbol.toPrimitive];
3909
4011
  if (r !== void 0) {
@@ -3913,7 +4015,7 @@ function oa(e, t) {
3913
4015
  }
3914
4016
  return (t === "string" ? String : Number)(e);
3915
4017
  }
3916
- function aa(e, t) {
4018
+ function sa(e, t) {
3917
4019
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Et(e, t);
3918
4020
  }
3919
4021
  function Et(e, t) {
@@ -3921,8 +4023,8 @@ function Et(e, t) {
3921
4023
  return n.__proto__ = o, n;
3922
4024
  }, Et(e, t);
3923
4025
  }
3924
- var Tt = /* @__PURE__ */ function(e) {
3925
- aa(t, e);
4026
+ var jt = /* @__PURE__ */ function(e) {
4027
+ sa(t, e);
3926
4028
  function t() {
3927
4029
  for (var n, o = arguments.length, a = new Array(o), s = 0; s < o; s++)
3928
4030
  a[s] = arguments[s];
@@ -3934,41 +4036,41 @@ var Tt = /* @__PURE__ */ function(e) {
3934
4036
  }, r.resetData = function() {
3935
4037
  this.lastHandleRect = this.slack = null;
3936
4038
  }, r.runConstraints = function(o, a) {
3937
- var s = this.props, u = s.minConstraints, p = s.maxConstraints, m = s.lockAspectRatio;
3938
- if (!u && !p && !m) return [o, a];
3939
- if (m) {
3940
- var y = this.props.width / this.props.height, E = o - this.props.width, O = a - this.props.height;
3941
- Math.abs(E) > Math.abs(O * y) ? a = o / y : o = a * y;
4039
+ var s = this.props, u = s.minConstraints, m = s.maxConstraints, p = s.lockAspectRatio;
4040
+ if (!u && !m && !p) return [o, a];
4041
+ if (p) {
4042
+ var b = this.props.width / this.props.height, N = o - this.props.width, O = a - this.props.height;
4043
+ Math.abs(N) > Math.abs(O * b) ? a = o / b : o = a * b;
3942
4044
  }
3943
- var S = o, V = a, $ = this.slack || [0, 0], B = $[0], W = $[1];
3944
- return o += B, a += W, u && (o = Math.max(u[0], o), a = Math.max(u[1], a)), p && (o = Math.min(p[0], o), a = Math.min(p[1], a)), this.slack = [B + (S - o), W + (V - a)], [o, a];
4045
+ var S = o, A = a, $ = this.slack || [0, 0], B = $[0], W = $[1];
4046
+ return o += B, a += W, u && (o = Math.max(u[0], o), a = Math.max(u[1], a)), m && (o = Math.min(m[0], o), a = Math.min(m[1], a)), this.slack = [B + (S - o), W + (A - a)], [o, a];
3945
4047
  }, r.resizeHandler = function(o, a) {
3946
4048
  var s = this;
3947
- return function(u, p) {
3948
- var m = p.node, y = p.deltaX, E = p.deltaY;
4049
+ return function(u, m) {
4050
+ var p = m.node, b = m.deltaX, N = m.deltaY;
3949
4051
  o === "onResizeStart" && s.resetData();
3950
4052
  var O = (s.props.axis === "both" || s.props.axis === "x") && a !== "n" && a !== "s", S = (s.props.axis === "both" || s.props.axis === "y") && a !== "e" && a !== "w";
3951
4053
  if (!(!O && !S)) {
3952
- var V = a[0], $ = a[a.length - 1], B = m.getBoundingClientRect();
4054
+ var A = a[0], $ = a[a.length - 1], B = p.getBoundingClientRect();
3953
4055
  if (s.lastHandleRect != null) {
3954
4056
  if ($ === "w") {
3955
4057
  var W = B.left - s.lastHandleRect.left;
3956
- y += W;
4058
+ b += W;
3957
4059
  }
3958
- if (V === "n") {
4060
+ if (A === "n") {
3959
4061
  var v = B.top - s.lastHandleRect.top;
3960
- E += v;
4062
+ N += v;
3961
4063
  }
3962
4064
  }
3963
- s.lastHandleRect = B, $ === "w" && (y = -y), V === "n" && (E = -E);
3964
- var x = s.props.width + (O ? y / s.props.transformScale : 0), N = s.props.height + (S ? E / s.props.transformScale : 0), c = s.runConstraints(x, N);
3965
- x = c[0], N = c[1];
3966
- var Y = x !== s.props.width || N !== s.props.height, P = typeof s.props[o] == "function" ? s.props[o] : null, Q = o === "onResize" && !Y;
4065
+ s.lastHandleRect = B, $ === "w" && (b = -b), A === "n" && (N = -N);
4066
+ var x = s.props.width + (O ? b / s.props.transformScale : 0), E = s.props.height + (S ? N / s.props.transformScale : 0), c = s.runConstraints(x, E);
4067
+ x = c[0], E = c[1];
4068
+ var Y = x !== s.props.width || E !== s.props.height, P = typeof s.props[o] == "function" ? s.props[o] : null, Q = o === "onResize" && !Y;
3967
4069
  P && !Q && (u.persist == null || u.persist(), P(u, {
3968
- node: m,
4070
+ node: p,
3969
4071
  size: {
3970
4072
  width: x,
3971
- height: N
4073
+ height: E
3972
4074
  },
3973
4075
  handle: a
3974
4076
  })), o === "onResizeStop" && s.resetData();
@@ -3983,36 +4085,36 @@ var Tt = /* @__PURE__ */ function(e) {
3983
4085
  });
3984
4086
  if (typeof s == "function")
3985
4087
  return s(o, a);
3986
- var u = typeof s.type == "string", p = mt({
4088
+ var u = typeof s.type == "string", m = bt({
3987
4089
  ref: a
3988
4090
  }, u ? {} : {
3989
4091
  handleAxis: o
3990
4092
  });
3991
- return /* @__PURE__ */ $e.cloneElement(s, p);
4093
+ return /* @__PURE__ */ $e.cloneElement(s, m);
3992
4094
  }, r.render = function() {
3993
- var o = this, a = this.props, s = a.children, u = a.className, p = a.draggableOpts;
4095
+ var o = this, a = this.props, s = a.children, u = a.className, m = a.draggableOpts;
3994
4096
  a.width, a.height, a.handle, a.handleSize, a.lockAspectRatio, a.axis, a.minConstraints, a.maxConstraints, a.onResize, a.onResizeStop, a.onResizeStart;
3995
- var m = a.resizeHandles;
4097
+ var p = a.resizeHandles;
3996
4098
  a.transformScale;
3997
- var y = ra(a, ea);
3998
- return (0, Zo.cloneElement)(s, mt(mt({}, y), {}, {
4099
+ var b = na(a, ta);
4100
+ return (0, Qo.cloneElement)(s, bt(bt({}, b), {}, {
3999
4101
  className: (u ? u + " " : "") + "react-resizable",
4000
- children: [].concat(s.props.children, m.map(function(E) {
4001
- var O, S = (O = o.handleRefs[E]) != null ? O : o.handleRefs[E] = /* @__PURE__ */ $e.createRef();
4002
- return /* @__PURE__ */ $e.createElement(Jo.DraggableCore, xt({}, p, {
4102
+ children: [].concat(s.props.children, p.map(function(N) {
4103
+ var O, S = (O = o.handleRefs[N]) != null ? O : o.handleRefs[N] = /* @__PURE__ */ $e.createRef();
4104
+ return /* @__PURE__ */ $e.createElement(Zo.DraggableCore, Nt({}, m, {
4003
4105
  nodeRef: S,
4004
- key: "resizableHandle-" + E,
4005
- onStop: o.resizeHandler("onResizeStop", E),
4006
- onStart: o.resizeHandler("onResizeStart", E),
4007
- onDrag: o.resizeHandler("onResize", E)
4008
- }), o.renderResizeHandle(E, S));
4106
+ key: "resizableHandle-" + N,
4107
+ onStop: o.resizeHandler("onResizeStop", N),
4108
+ onStart: o.resizeHandler("onResizeStart", N),
4109
+ onDrag: o.resizeHandler("onResize", N)
4110
+ }), o.renderResizeHandle(N, S));
4009
4111
  }))
4010
4112
  }));
4011
4113
  }, t;
4012
4114
  }($e.Component);
4013
- ze.default = Tt;
4014
- Tt.propTypes = Qo.resizableProps;
4015
- Tt.defaultProps = {
4115
+ ze.default = jt;
4116
+ jt.propTypes = ea.resizableProps;
4117
+ jt.defaultProps = {
4016
4118
  axis: "both",
4017
4119
  handleSize: [20, 20],
4018
4120
  lockAspectRatio: !1,
@@ -4021,10 +4123,10 @@ Tt.defaultProps = {
4021
4123
  resizeHandles: ["se"],
4022
4124
  transformScale: 1
4023
4125
  };
4024
- var Je = {};
4025
- Je.__esModule = !0;
4026
- Je.default = void 0;
4027
- var ht = da(ke), sa = $r(Be), la = $r(ze), ca = Ie, ua = ["handle", "handleSize", "onResize", "onResizeStart", "onResizeStop", "draggableOpts", "minConstraints", "maxConstraints", "lockAspectRatio", "axis", "width", "height", "resizeHandles", "style", "transformScale"];
4126
+ var Ze = {};
4127
+ Ze.__esModule = !0;
4128
+ Ze.default = void 0;
4129
+ var ht = fa(_e), la = $r(Xe), ca = $r(ze), ua = Ie, da = ["handle", "handleSize", "onResize", "onResizeStart", "onResizeStop", "draggableOpts", "minConstraints", "maxConstraints", "lockAspectRatio", "axis", "width", "height", "resizeHandles", "style", "transformScale"];
4028
4130
  function $r(e) {
4029
4131
  return e && e.__esModule ? e : { default: e };
4030
4132
  }
@@ -4035,7 +4137,7 @@ function zr(e) {
4035
4137
  return o ? r : t;
4036
4138
  })(e);
4037
4139
  }
4038
- function da(e, t) {
4140
+ function fa(e, t) {
4039
4141
  if (e && e.__esModule)
4040
4142
  return e;
4041
4143
  if (e === null || typeof e != "object" && typeof e != "function")
@@ -4051,17 +4153,17 @@ function da(e, t) {
4051
4153
  }
4052
4154
  return n.default = e, r && r.set(e, n), n;
4053
4155
  }
4054
- function Nt() {
4055
- return Nt = Object.assign ? Object.assign.bind() : function(e) {
4156
+ function St() {
4157
+ return St = Object.assign ? Object.assign.bind() : function(e) {
4056
4158
  for (var t = 1; t < arguments.length; t++) {
4057
4159
  var r = arguments[t];
4058
4160
  for (var n in r)
4059
4161
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
4060
4162
  }
4061
4163
  return e;
4062
- }, Nt.apply(this, arguments);
4164
+ }, St.apply(this, arguments);
4063
4165
  }
4064
- function hr(e, t) {
4166
+ function br(e, t) {
4065
4167
  var r = Object.keys(e);
4066
4168
  if (Object.getOwnPropertySymbols) {
4067
4169
  var n = Object.getOwnPropertySymbols(e);
@@ -4071,25 +4173,25 @@ function hr(e, t) {
4071
4173
  }
4072
4174
  return r;
4073
4175
  }
4074
- function Ue(e) {
4176
+ function Fe(e) {
4075
4177
  for (var t = 1; t < arguments.length; t++) {
4076
4178
  var r = arguments[t] != null ? arguments[t] : {};
4077
- t % 2 ? hr(Object(r), !0).forEach(function(n) {
4078
- fa(e, n, r[n]);
4079
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : hr(Object(r)).forEach(function(n) {
4179
+ t % 2 ? br(Object(r), !0).forEach(function(n) {
4180
+ ma(e, n, r[n]);
4181
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : br(Object(r)).forEach(function(n) {
4080
4182
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
4081
4183
  });
4082
4184
  }
4083
4185
  return e;
4084
4186
  }
4085
- function fa(e, t, r) {
4187
+ function ma(e, t, r) {
4086
4188
  return t = pa(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4087
4189
  }
4088
4190
  function pa(e) {
4089
- var t = ma(e, "string");
4191
+ var t = ba(e, "string");
4090
4192
  return typeof t == "symbol" ? t : String(t);
4091
4193
  }
4092
- function ma(e, t) {
4194
+ function ba(e, t) {
4093
4195
  if (typeof e != "object" || e === null) return e;
4094
4196
  var r = e[Symbol.toPrimitive];
4095
4197
  if (r !== void 0) {
@@ -4106,16 +4208,16 @@ function ha(e, t) {
4106
4208
  o = n[a], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
4107
4209
  return r;
4108
4210
  }
4109
- function ba(e, t) {
4110
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, St(e, t);
4211
+ function ya(e, t) {
4212
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, wt(e, t);
4111
4213
  }
4112
- function St(e, t) {
4113
- return St = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, o) {
4214
+ function wt(e, t) {
4215
+ return wt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, o) {
4114
4216
  return n.__proto__ = o, n;
4115
- }, St(e, t);
4217
+ }, wt(e, t);
4116
4218
  }
4117
4219
  var Ir = /* @__PURE__ */ function(e) {
4118
- ba(t, e);
4220
+ ya(t, e);
4119
4221
  function t() {
4120
4222
  for (var n, o = arguments.length, a = new Array(o), s = 0; s < o; s++)
4121
4223
  a[s] = arguments[s];
@@ -4124,11 +4226,11 @@ var Ir = /* @__PURE__ */ function(e) {
4124
4226
  height: n.props.height,
4125
4227
  propsWidth: n.props.width,
4126
4228
  propsHeight: n.props.height
4127
- }, n.onResize = function(u, p) {
4128
- var m = p.size;
4129
- n.props.onResize ? (u.persist == null || u.persist(), n.setState(m, function() {
4130
- return n.props.onResize && n.props.onResize(u, p);
4131
- })) : n.setState(m);
4229
+ }, n.onResize = function(u, m) {
4230
+ var p = m.size;
4231
+ n.props.onResize ? (u.persist == null || u.persist(), n.setState(p, function() {
4232
+ return n.props.onResize && n.props.onResize(u, m);
4233
+ })) : n.setState(p);
4132
4234
  }, n;
4133
4235
  }
4134
4236
  t.getDerivedStateFromProps = function(o, a) {
@@ -4143,53 +4245,53 @@ var Ir = /* @__PURE__ */ function(e) {
4143
4245
  return r.render = function() {
4144
4246
  var o = this.props, a = o.handle, s = o.handleSize;
4145
4247
  o.onResize;
4146
- var u = o.onResizeStart, p = o.onResizeStop, m = o.draggableOpts, y = o.minConstraints, E = o.maxConstraints, O = o.lockAspectRatio, S = o.axis;
4248
+ var u = o.onResizeStart, m = o.onResizeStop, p = o.draggableOpts, b = o.minConstraints, N = o.maxConstraints, O = o.lockAspectRatio, S = o.axis;
4147
4249
  o.width, o.height;
4148
- var V = o.resizeHandles, $ = o.style, B = o.transformScale, W = ha(o, ua);
4149
- return /* @__PURE__ */ ht.createElement(la.default, {
4250
+ var A = o.resizeHandles, $ = o.style, B = o.transformScale, W = ha(o, da);
4251
+ return /* @__PURE__ */ ht.createElement(ca.default, {
4150
4252
  axis: S,
4151
- draggableOpts: m,
4253
+ draggableOpts: p,
4152
4254
  handle: a,
4153
4255
  handleSize: s,
4154
4256
  height: this.state.height,
4155
4257
  lockAspectRatio: O,
4156
- maxConstraints: E,
4157
- minConstraints: y,
4258
+ maxConstraints: N,
4259
+ minConstraints: b,
4158
4260
  onResizeStart: u,
4159
4261
  onResize: this.onResize,
4160
- onResizeStop: p,
4161
- resizeHandles: V,
4262
+ onResizeStop: m,
4263
+ resizeHandles: A,
4162
4264
  transformScale: B,
4163
4265
  width: this.state.width
4164
- }, /* @__PURE__ */ ht.createElement("div", Nt({}, W, {
4165
- style: Ue(Ue({}, $), {}, {
4266
+ }, /* @__PURE__ */ ht.createElement("div", St({}, W, {
4267
+ style: Fe(Fe({}, $), {}, {
4166
4268
  width: this.state.width + "px",
4167
4269
  height: this.state.height + "px"
4168
4270
  })
4169
4271
  })));
4170
4272
  }, t;
4171
4273
  }(ht.Component);
4172
- Je.default = Ir;
4173
- Ir.propTypes = Ue(Ue({}, ca.resizableProps), {}, {
4174
- children: sa.default.element
4274
+ Ze.default = Ir;
4275
+ Ir.propTypes = Fe(Fe({}, ua.resizableProps), {}, {
4276
+ children: la.default.element
4175
4277
  });
4176
- _t.exports = function() {
4278
+ Dt.exports = function() {
4177
4279
  throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable");
4178
4280
  };
4179
- _t.exports.Resizable = ze.default;
4180
- var ya = _t.exports.ResizableBox = Je.default;
4181
- const va = (e) => {
4182
- const { editor: t } = wt();
4281
+ Dt.exports.Resizable = ze.default;
4282
+ var va = Dt.exports.ResizableBox = Ze.default;
4283
+ const ga = (e) => {
4284
+ const { editor: t } = Ct();
4183
4285
  if (!t) return null;
4184
- const { node: r, updateAttributes: n } = e, [o, a] = ge({
4286
+ const { node: r, updateAttributes: n } = e, [o, a] = he({
4185
4287
  width: r.attrs.width || 300,
4186
4288
  height: r.attrs.height || 300
4187
- }), [s, u] = ge({
4289
+ }), [s, u] = he({
4188
4290
  left: r.attrs.marginLeft || 0,
4189
4291
  right: r.attrs.marginRight || 0
4190
- }), [p, m] = ge(r.attrs.src || ""), y = sn(null);
4292
+ }), [m, p] = he(r.attrs.src || ""), b = sn(null);
4191
4293
  ln(() => {
4192
- if (r.attrs.src && y.current) {
4294
+ if (r.attrs.src && b.current) {
4193
4295
  const S = new Image();
4194
4296
  S.onload = () => {
4195
4297
  (!r.attrs.width || !r.attrs.height) && a({
@@ -4199,17 +4301,17 @@ const va = (e) => {
4199
4301
  }, S.src = r.attrs.src;
4200
4302
  }
4201
4303
  }, [r.attrs.src]);
4202
- const E = (S, { size: V }) => {
4304
+ const N = (S, { size: A }) => {
4203
4305
  a({
4204
- width: V.width,
4205
- height: V.height
4306
+ width: A.width,
4307
+ height: A.height
4206
4308
  }), n({
4207
- width: V.width,
4208
- height: V.height
4309
+ width: A.width,
4310
+ height: A.height
4209
4311
  });
4210
4312
  }, O = () => {
4211
4313
  n({
4212
- src: p,
4314
+ src: m,
4213
4315
  width: o.width,
4214
4316
  height: o.height,
4215
4317
  marginLeft: s.left,
@@ -4219,6 +4321,7 @@ const va = (e) => {
4219
4321
  return /* @__PURE__ */ l.jsxDEV(yr, { className: "image-wrapper", children: /* @__PURE__ */ l.jsxDEV(
4220
4322
  Sr,
4221
4323
  {
4324
+ title: "Image",
4222
4325
  childrenContent: /* @__PURE__ */ l.jsxDEV(
4223
4326
  "div",
4224
4327
  {
@@ -4228,11 +4331,11 @@ const va = (e) => {
4228
4331
  marginRight: s.right
4229
4332
  },
4230
4333
  children: t.isEditable ? /* @__PURE__ */ l.jsxDEV(
4231
- ya,
4334
+ va,
4232
4335
  {
4233
4336
  width: o.width,
4234
4337
  height: o.height,
4235
- onResize: E,
4338
+ onResize: N,
4236
4339
  minConstraints: [100, 100],
4237
4340
  maxConstraints: [800, 800],
4238
4341
  lockAspectRatio: !0,
@@ -4240,7 +4343,7 @@ const va = (e) => {
4240
4343
  children: /* @__PURE__ */ l.jsxDEV(
4241
4344
  "img",
4242
4345
  {
4243
- ref: y,
4346
+ ref: b,
4244
4347
  src: r.attrs.src,
4245
4348
  alt: "Uploaded",
4246
4349
  className: "object-contain w-full h-full",
@@ -4250,7 +4353,7 @@ const va = (e) => {
4250
4353
  !1,
4251
4354
  {
4252
4355
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4253
- lineNumber: 86,
4356
+ lineNumber: 87,
4254
4357
  columnNumber: 33
4255
4358
  },
4256
4359
  void 0
@@ -4260,14 +4363,14 @@ const va = (e) => {
4260
4363
  !1,
4261
4364
  {
4262
4365
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4263
- lineNumber: 77,
4366
+ lineNumber: 78,
4264
4367
  columnNumber: 29
4265
4368
  },
4266
4369
  void 0
4267
4370
  ) : /* @__PURE__ */ l.jsxDEV(
4268
4371
  "img",
4269
4372
  {
4270
- ref: y,
4373
+ ref: b,
4271
4374
  src: r.attrs.src,
4272
4375
  alt: "Uploaded",
4273
4376
  style: {
@@ -4281,7 +4384,7 @@ const va = (e) => {
4281
4384
  !1,
4282
4385
  {
4283
4386
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4284
- lineNumber: 95,
4387
+ lineNumber: 96,
4285
4388
  columnNumber: 29
4286
4389
  },
4287
4390
  void 0
@@ -4291,7 +4394,7 @@ const va = (e) => {
4291
4394
  !1,
4292
4395
  {
4293
4396
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4294
- lineNumber: 69,
4397
+ lineNumber: 70,
4295
4398
  columnNumber: 21
4296
4399
  },
4297
4400
  void 0
@@ -4301,36 +4404,36 @@ const va = (e) => {
4301
4404
  /* @__PURE__ */ l.jsxDEV("div", { children: [
4302
4405
  /* @__PURE__ */ l.jsxDEV("label", { className: "block text-sm font-medium", children: "Image URL" }, void 0, !1, {
4303
4406
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4304
- lineNumber: 113,
4407
+ lineNumber: 114,
4305
4408
  columnNumber: 29
4306
4409
  }, void 0),
4307
4410
  /* @__PURE__ */ l.jsxDEV(
4308
4411
  "input",
4309
4412
  {
4310
4413
  type: "text",
4311
- value: p,
4312
- onChange: (S) => m(S.target.value),
4414
+ value: m,
4415
+ onChange: (S) => p(S.target.value),
4313
4416
  className: "w-full p-2 border rounded"
4314
4417
  },
4315
4418
  void 0,
4316
4419
  !1,
4317
4420
  {
4318
4421
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4319
- lineNumber: 114,
4422
+ lineNumber: 115,
4320
4423
  columnNumber: 29
4321
4424
  },
4322
4425
  void 0
4323
4426
  )
4324
4427
  ] }, void 0, !0, {
4325
4428
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4326
- lineNumber: 112,
4429
+ lineNumber: 113,
4327
4430
  columnNumber: 25
4328
4431
  }, void 0),
4329
4432
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex gap-2", children: [
4330
4433
  /* @__PURE__ */ l.jsxDEV("div", { children: [
4331
4434
  /* @__PURE__ */ l.jsxDEV("label", { className: "block text-sm font-medium", children: "Width" }, void 0, !1, {
4332
4435
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4333
- lineNumber: 124,
4436
+ lineNumber: 125,
4334
4437
  columnNumber: 33
4335
4438
  }, void 0),
4336
4439
  /* @__PURE__ */ l.jsxDEV(
@@ -4345,20 +4448,20 @@ const va = (e) => {
4345
4448
  !1,
4346
4449
  {
4347
4450
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4348
- lineNumber: 125,
4451
+ lineNumber: 126,
4349
4452
  columnNumber: 33
4350
4453
  },
4351
4454
  void 0
4352
4455
  )
4353
4456
  ] }, void 0, !0, {
4354
4457
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4355
- lineNumber: 123,
4458
+ lineNumber: 124,
4356
4459
  columnNumber: 29
4357
4460
  }, void 0),
4358
4461
  /* @__PURE__ */ l.jsxDEV("div", { children: [
4359
4462
  /* @__PURE__ */ l.jsxDEV("label", { className: "block text-sm font-medium", children: "Height" }, void 0, !1, {
4360
4463
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4361
- lineNumber: 133,
4464
+ lineNumber: 134,
4362
4465
  columnNumber: 33
4363
4466
  }, void 0),
4364
4467
  /* @__PURE__ */ l.jsxDEV(
@@ -4373,26 +4476,26 @@ const va = (e) => {
4373
4476
  !1,
4374
4477
  {
4375
4478
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4376
- lineNumber: 134,
4479
+ lineNumber: 135,
4377
4480
  columnNumber: 33
4378
4481
  },
4379
4482
  void 0
4380
4483
  )
4381
4484
  ] }, void 0, !0, {
4382
4485
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4383
- lineNumber: 132,
4486
+ lineNumber: 133,
4384
4487
  columnNumber: 29
4385
4488
  }, void 0)
4386
4489
  ] }, void 0, !0, {
4387
4490
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4388
- lineNumber: 122,
4491
+ lineNumber: 123,
4389
4492
  columnNumber: 25
4390
4493
  }, void 0),
4391
4494
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex gap-2", children: [
4392
4495
  /* @__PURE__ */ l.jsxDEV("div", { children: [
4393
4496
  /* @__PURE__ */ l.jsxDEV("label", { className: "block text-sm font-medium", children: "Margin Left" }, void 0, !1, {
4394
4497
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4395
- lineNumber: 145,
4498
+ lineNumber: 146,
4396
4499
  columnNumber: 33
4397
4500
  }, void 0),
4398
4501
  /* @__PURE__ */ l.jsxDEV(
@@ -4407,20 +4510,20 @@ const va = (e) => {
4407
4510
  !1,
4408
4511
  {
4409
4512
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4410
- lineNumber: 146,
4513
+ lineNumber: 147,
4411
4514
  columnNumber: 33
4412
4515
  },
4413
4516
  void 0
4414
4517
  )
4415
4518
  ] }, void 0, !0, {
4416
4519
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4417
- lineNumber: 144,
4520
+ lineNumber: 145,
4418
4521
  columnNumber: 29
4419
4522
  }, void 0),
4420
4523
  /* @__PURE__ */ l.jsxDEV("div", { children: [
4421
4524
  /* @__PURE__ */ l.jsxDEV("label", { className: "block text-sm font-medium", children: "Margin Right" }, void 0, !1, {
4422
4525
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4423
- lineNumber: 154,
4526
+ lineNumber: 155,
4424
4527
  columnNumber: 33
4425
4528
  }, void 0),
4426
4529
  /* @__PURE__ */ l.jsxDEV(
@@ -4435,19 +4538,19 @@ const va = (e) => {
4435
4538
  !1,
4436
4539
  {
4437
4540
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4438
- lineNumber: 155,
4541
+ lineNumber: 156,
4439
4542
  columnNumber: 33
4440
4543
  },
4441
4544
  void 0
4442
4545
  )
4443
4546
  ] }, void 0, !0, {
4444
4547
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4445
- lineNumber: 153,
4548
+ lineNumber: 154,
4446
4549
  columnNumber: 29
4447
4550
  }, void 0)
4448
4551
  ] }, void 0, !0, {
4449
4552
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4450
- lineNumber: 143,
4553
+ lineNumber: 144,
4451
4554
  columnNumber: 25
4452
4555
  }, void 0),
4453
4556
  /* @__PURE__ */ l.jsxDEV(
@@ -4461,14 +4564,14 @@ const va = (e) => {
4461
4564
  !1,
4462
4565
  {
4463
4566
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4464
- lineNumber: 164,
4567
+ lineNumber: 165,
4465
4568
  columnNumber: 25
4466
4569
  },
4467
4570
  void 0
4468
4571
  )
4469
4572
  ] }, void 0, !0, {
4470
4573
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/image/image-view.tsx",
4471
- lineNumber: 111,
4574
+ lineNumber: 112,
4472
4575
  columnNumber: 21
4473
4576
  }, void 0)
4474
4577
  },
@@ -4485,7 +4588,7 @@ const va = (e) => {
4485
4588
  lineNumber: 66,
4486
4589
  columnNumber: 9
4487
4590
  }, void 0);
4488
- }, ga = gr.create({
4591
+ }, xa = gr.create({
4489
4592
  name: "image",
4490
4593
  group: "block",
4491
4594
  content: "inline*",
@@ -4506,7 +4609,7 @@ const va = (e) => {
4506
4609
  return ["image", xr(e)];
4507
4610
  },
4508
4611
  addNodeView() {
4509
- return vr(va);
4612
+ return vr(ga);
4510
4613
  },
4511
4614
  addCommands() {
4512
4615
  return {
@@ -4516,12 +4619,12 @@ const va = (e) => {
4516
4619
  }).run()
4517
4620
  };
4518
4621
  }
4519
- }), xa = [
4520
- mn.configure({
4622
+ }), Na = [
4623
+ bn.configure({
4521
4624
  types: [Bt.name, pn.name]
4522
4625
  }),
4523
4626
  Bt,
4524
- bn.configure({ multicolor: !0 }),
4627
+ yn.configure({ multicolor: !0 }),
4525
4628
  hn.configure({
4526
4629
  bulletList: {
4527
4630
  keepMarks: !0,
@@ -4532,16 +4635,16 @@ const va = (e) => {
4532
4635
  keepAttributes: !1
4533
4636
  }
4534
4637
  }),
4535
- Xi,
4536
- yn,
4638
+ Ki,
4537
4639
  vn,
4538
4640
  gn,
4539
- xn.configure({
4641
+ xn,
4642
+ Nn.configure({
4540
4643
  types: ["heading", "paragraph"]
4541
4644
  }),
4542
4645
  En,
4543
- Nn,
4544
- Sn.configure({
4646
+ Sn,
4647
+ wn.configure({
4545
4648
  resizable: !0,
4546
4649
  lastColumnResizable: !0,
4547
4650
  allowTableNodeSelection: !0,
@@ -4549,16 +4652,16 @@ const va = (e) => {
4549
4652
  class: "table-wrapper"
4550
4653
  }
4551
4654
  }),
4552
- wn,
4553
4655
  Cn,
4554
- _n.configure({
4656
+ kn,
4657
+ Dn.configure({
4555
4658
  HTMLAttributes: {
4556
4659
  class: "table-cell"
4557
4660
  }
4558
4661
  }),
4559
- Dn,
4560
- ga
4561
- ], qa = ({
4662
+ _n,
4663
+ xa
4664
+ ], Ya = ({
4562
4665
  content: e = "",
4563
4666
  slotBefore: t = !1,
4564
4667
  className: r = "",
@@ -4566,13 +4669,13 @@ const va = (e) => {
4566
4669
  editable: o = !0,
4567
4670
  onChange: a
4568
4671
  }) => {
4569
- const s = cn(() => xa, []), u = ({ editor: p }) => {
4570
- a && a(p.getHTML());
4672
+ const s = cn(() => Na, []), u = ({ editor: m }) => {
4673
+ a && a(m.getHTML());
4571
4674
  };
4572
4675
  return /* @__PURE__ */ l.jsxDEV("div", { className: `cyber-editor-container ${r}`, children: /* @__PURE__ */ l.jsxDEV(
4573
4676
  dn,
4574
4677
  {
4575
- slotBefore: t === !0 ? /* @__PURE__ */ l.jsxDEV(Fi, {}, void 0, !1, {
4678
+ slotBefore: t === !0 ? /* @__PURE__ */ l.jsxDEV(Bi, {}, void 0, !1, {
4576
4679
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/editor-provider.tsx",
4577
4680
  lineNumber: 26,
4578
4681
  columnNumber: 51
@@ -4598,5 +4701,5 @@ const va = (e) => {
4598
4701
  }, void 0);
4599
4702
  };
4600
4703
  export {
4601
- qa as CyberEditorProvider
4704
+ Ya as CyberEditorProvider
4602
4705
  };