@cyberskill/cyber-editor 2.0.2 → 2.0.3

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 _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
- import pn from "@tiptap/extension-list-item";
5
- import { Color as bn } from "@tiptap/extension-color";
1
+ import ke, { forwardRef as hr, createElement as yt, useState as he, useRef as yr, useEffect as vr } from "react";
2
+ import { useCurrentEditor as Ct, NodeViewWrapper as gr, NodeViewContent as cn, ReactNodeViewRenderer as xr, EditorProvider as un } from "@tiptap/react";
3
+ import { ColorPicker as dn, Tooltip as vt, Dropdown as kt, Menu as Ft, Modal as fn } from "antd";
4
+ import mn from "@tiptap/extension-list-item";
5
+ import { Color as pn } from "@tiptap/extension-color";
6
6
  import Bt from "@tiptap/extension-text-style";
7
- import hn from "@tiptap/starter-kit";
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
- import En from "@tiptap/extension-task-list";
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
- import { Node as gr, mergeAttributes as xr } from "@tiptap/core";
20
- import _n from "@tiptap/extension-image";
21
- import Nr from "react-dom";
22
- function On(e) {
7
+ import bn from "@tiptap/starter-kit";
8
+ import hn 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";
13
+ import Nn from "@tiptap/extension-task-list";
14
+ import En 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 kn from "@tiptap/extension-table-cell";
19
+ import { Node as Nr, mergeAttributes as Er } from "@tiptap/core";
20
+ import Dn from "@tiptap/extension-image";
21
+ import Sr from "react-dom";
22
+ function _n(e) {
23
23
  if (e.__esModule) return e;
24
24
  var t = e.default;
25
25
  if (typeof t == "function") {
@@ -49,7 +49,7 @@ var gt = { exports: {} }, Le = {};
49
49
  * LICENSE file in the root directory of this source tree.
50
50
  */
51
51
  var Xt;
52
- function Rn() {
52
+ function On() {
53
53
  if (Xt) return Le;
54
54
  Xt = 1;
55
55
  var e = Symbol.for("react.fragment");
@@ -66,9 +66,9 @@ var We = {};
66
66
  * LICENSE file in the root directory of this source tree.
67
67
  */
68
68
  var Kt;
69
- function Pn() {
69
+ function Rn() {
70
70
  return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
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";
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"), 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;
@@ -306,8 +306,8 @@ function Pn() {
306
306
  } finally {
307
307
  H = !1, k.current = X, z(), Error.prepareStackTrace = q;
308
308
  }
309
- var Te = i ? i.displayName || i.name : "", De = Te ? j(Te) : "";
310
- return typeof i == "function" && M.set(i, De), De;
309
+ var Te = i ? i.displayName || i.name : "", _e = Te ? j(Te) : "";
310
+ return typeof i == "function" && M.set(i, _e), _e;
311
311
  }
312
312
  function pe(i, d, y) {
313
313
  return h(i, !1);
@@ -316,7 +316,7 @@ function Pn() {
316
316
  var d = i.prototype;
317
317
  return !!(d && d.isReactComponent);
318
318
  }
319
- function ke(i, d, y) {
319
+ function De(i, d, y) {
320
320
  if (i == null)
321
321
  return "";
322
322
  if (typeof i == "function")
@@ -334,11 +334,11 @@ function Pn() {
334
334
  case m:
335
335
  return pe(i.render);
336
336
  case N:
337
- return ke(i.type, d, y);
337
+ return De(i.type, d, y);
338
338
  case O: {
339
339
  var w = i, q = w._payload, X = w._init;
340
340
  try {
341
- return ke(X(q), d, y);
341
+ return De(X(q), d, y);
342
342
  } catch {
343
343
  }
344
344
  }
@@ -348,12 +348,12 @@ function Pn() {
348
348
  var Me = Object.prototype.hasOwnProperty, Mt = {}, Vt = W.ReactDebugCurrentFrame;
349
349
  function He(i) {
350
350
  if (i) {
351
- var d = i._owner, y = ke(i.type, i._source, d ? d.type : null);
351
+ var d = i._owner, y = De(i.type, i._source, d ? d.type : null);
352
352
  Vt.setExtraStackFrame(y);
353
353
  } else
354
354
  Vt.setExtraStackFrame(null);
355
355
  }
356
- function Hr(i, d, y, w, q) {
356
+ function Wr(i, d, y, w, q) {
357
357
  {
358
358
  var X = Function.call.bind(Me);
359
359
  for (var I in i)
@@ -372,17 +372,17 @@ function Pn() {
372
372
  }
373
373
  }
374
374
  }
375
- var Lr = Array.isArray;
375
+ var qr = Array.isArray;
376
376
  function Qe(i) {
377
- return Lr(i);
377
+ return qr(i);
378
378
  }
379
- function Wr(i) {
379
+ function Yr(i) {
380
380
  {
381
381
  var d = typeof Symbol == "function" && Symbol.toStringTag, y = d && i[Symbol.toStringTag] || i.constructor.name || "Object";
382
382
  return y;
383
383
  }
384
384
  }
385
- function qr(i) {
385
+ function Ur(i) {
386
386
  try {
387
387
  return At(i), !1;
388
388
  } catch {
@@ -393,17 +393,17 @@ function Pn() {
393
393
  return "" + i;
394
394
  }
395
395
  function $t(i) {
396
- if (qr(i))
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);
396
+ if (Ur(i))
397
+ return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Yr(i)), At(i);
398
398
  }
399
- var Ve = W.ReactCurrentOwner, Yr = {
399
+ var Ve = W.ReactCurrentOwner, Fr = {
400
400
  key: !0,
401
401
  ref: !0,
402
402
  __self: !0,
403
403
  __source: !0
404
404
  }, zt, It, et;
405
405
  et = {};
406
- function Ur(i) {
406
+ function Br(i) {
407
407
  if (Me.call(i, "ref")) {
408
408
  var d = Object.getOwnPropertyDescriptor(i, "ref").get;
409
409
  if (d && d.isReactWarning)
@@ -411,7 +411,7 @@ function Pn() {
411
411
  }
412
412
  return i.ref !== void 0;
413
413
  }
414
- function Fr(i) {
414
+ function Xr(i) {
415
415
  if (Me.call(i, "key")) {
416
416
  var d = Object.getOwnPropertyDescriptor(i, "key").get;
417
417
  if (d && d.isReactWarning)
@@ -419,13 +419,13 @@ function Pn() {
419
419
  }
420
420
  return i.key !== void 0;
421
421
  }
422
- function Br(i, d) {
422
+ function Kr(i, d) {
423
423
  if (typeof i.ref == "string" && Ve.current && d && Ve.current.stateNode !== d) {
424
424
  var y = ee(Ve.current.type);
425
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
- function Xr(i, d) {
428
+ function Gr(i, d) {
429
429
  {
430
430
  var y = function() {
431
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));
@@ -436,7 +436,7 @@ function Pn() {
436
436
  });
437
437
  }
438
438
  }
439
- function Kr(i, d) {
439
+ function Jr(i, d) {
440
440
  {
441
441
  var y = function() {
442
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));
@@ -447,7 +447,7 @@ function Pn() {
447
447
  });
448
448
  }
449
449
  }
450
- var Gr = function(i, d, y, w, q, X, I) {
450
+ var Zr = function(i, d, y, w, q, X, I) {
451
451
  var V = {
452
452
  // This tag allows us to uniquely identify this as a React Element
453
453
  $$typeof: t,
@@ -476,12 +476,12 @@ function Pn() {
476
476
  value: q
477
477
  }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
478
478
  };
479
- function Jr(i, d, y, w, q) {
479
+ function Qr(i, d, y, w, q) {
480
480
  {
481
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));
482
+ y !== void 0 && ($t(y), V = "" + y), Xr(d) && ($t(d.key), V = "" + d.key), Br(d) && (ne = d.ref, Kr(d, q));
483
483
  for (X in d)
484
- Me.call(d, X) && !Yr.hasOwnProperty(X) && (I[X] = d[X]);
484
+ Me.call(d, X) && !Fr.hasOwnProperty(X) && (I[X] = d[X]);
485
485
  if (i && i.defaultProps) {
486
486
  var G = i.defaultProps;
487
487
  for (X in G)
@@ -489,15 +489,15 @@ function Pn() {
489
489
  }
490
490
  if (V || ne) {
491
491
  var J = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
492
- V && Xr(I, J), ne && Kr(I, J);
492
+ V && Gr(I, J), ne && Jr(I, J);
493
493
  }
494
- return Gr(i, V, ne, q, w, Ve.current, I);
494
+ return Zr(i, V, ne, q, w, Ve.current, I);
495
495
  }
496
496
  }
497
497
  var tt = W.ReactCurrentOwner, Ht = W.ReactDebugCurrentFrame;
498
498
  function Pe(i) {
499
499
  if (i) {
500
- var d = i._owner, y = ke(i.type, i._source, d ? d.type : null);
500
+ var d = i._owner, y = De(i.type, i._source, d ? d.type : null);
501
501
  Ht.setExtraStackFrame(y);
502
502
  } else
503
503
  Ht.setExtraStackFrame(null);
@@ -519,7 +519,7 @@ Check the render method of \`` + i + "`.";
519
519
  return "";
520
520
  }
521
521
  }
522
- function Zr(i) {
522
+ function en(i) {
523
523
  {
524
524
  if (i !== void 0) {
525
525
  var d = i.fileName.replace(/^.*[\\\/]/, ""), y = i.lineNumber;
@@ -531,7 +531,7 @@ Check your code at ` + d + ":" + y + ".";
531
531
  }
532
532
  }
533
533
  var Wt = {};
534
- function Qr(i) {
534
+ function tn(i) {
535
535
  {
536
536
  var d = Lt();
537
537
  if (!d) {
@@ -548,7 +548,7 @@ Check the top-level render call using <` + y + ">.");
548
548
  if (!i._store || i._store.validated || i.key != null)
549
549
  return;
550
550
  i._store.validated = !0;
551
- var y = Qr(d);
551
+ var y = tn(d);
552
552
  if (Wt[y])
553
553
  return;
554
554
  Wt[y] = !0;
@@ -575,7 +575,7 @@ Check the top-level render call using <` + y + ">.");
575
575
  }
576
576
  }
577
577
  }
578
- function en(i) {
578
+ function rn(i) {
579
579
  {
580
580
  var d = i.type;
581
581
  if (d == null || typeof d == "string")
@@ -591,7 +591,7 @@ Check the top-level render call using <` + y + ">.");
591
591
  return;
592
592
  if (y) {
593
593
  var w = ee(d);
594
- Hr(y, i.props, "prop", w, i);
594
+ Wr(y, i.props, "prop", w, i);
595
595
  } else if (d.PropTypes !== void 0 && !rt) {
596
596
  rt = !0;
597
597
  var q = ee(d);
@@ -600,7 +600,7 @@ Check the top-level render call using <` + y + ">.");
600
600
  typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
601
601
  }
602
602
  }
603
- function tn(i) {
603
+ function nn(i) {
604
604
  {
605
605
  for (var d = Object.keys(i.props), y = 0; y < d.length; y++) {
606
606
  var w = d[y];
@@ -613,18 +613,18 @@ Check the top-level render call using <` + y + ">.");
613
613
  }
614
614
  }
615
615
  var Ut = {};
616
- function rn(i, d, y, w, q, X) {
616
+ function on(i, d, y, w, q, X) {
617
617
  {
618
618
  var I = fe(i);
619
619
  if (!I) {
620
620
  var V = "";
621
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
- var ne = Zr(q);
622
+ var ne = en(q);
623
623
  ne ? V += ne : V += Lt();
624
624
  var G;
625
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, y, q, X);
627
+ var J = Qr(i, d, y, q, X);
628
628
  if (J == null)
629
629
  return J;
630
630
  if (I) {
@@ -641,27 +641,27 @@ Check the top-level render call using <` + y + ">.");
641
641
  Yt(be, i);
642
642
  }
643
643
  if (Me.call(d, "key")) {
644
- var De = ee(i), ae = Object.keys(d).filter(function(an) {
645
- return an !== "key";
644
+ var _e = ee(i), ae = Object.keys(d).filter(function(ln) {
645
+ return ln !== "key";
646
646
  }), it = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
647
- if (!Ut[De + it]) {
648
- var on = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
647
+ if (!Ut[_e + it]) {
648
+ var sn = 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} />`, it, De, on, De), Ut[De + it] = !0;
654
+ <%s key={someKey} {...props} />`, it, _e, sn, _e), Ut[_e + it] = !0;
655
655
  }
656
656
  }
657
- return i === n ? tn(J) : en(J), J;
657
+ return i === n ? nn(J) : rn(J), J;
658
658
  }
659
659
  }
660
- var nn = rn;
661
- We.Fragment = n, We.jsxDEV = nn;
660
+ var an = on;
661
+ We.Fragment = n, We.jsxDEV = an;
662
662
  }()), We;
663
663
  }
664
- process.env.NODE_ENV === "production" ? gt.exports = Rn() : gt.exports = Pn();
664
+ process.env.NODE_ENV === "production" ? gt.exports = On() : gt.exports = Rn();
665
665
  var l = gt.exports;
666
666
  /**
667
667
  * @license lucide-react v0.474.0 - ISC
@@ -669,14 +669,14 @@ var l = gt.exports;
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 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();
672
+ const Pn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), wr = (...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 jn = {
679
+ var Tn = {
680
680
  xmlns: "http://www.w3.org/2000/svg",
681
681
  width: 24,
682
682
  height: 24,
@@ -693,7 +693,7 @@ var jn = {
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 Mn = hr(
696
+ const jn = hr(
697
697
  ({
698
698
  color: e = "currentColor",
699
699
  size: t = 24,
@@ -707,12 +707,12 @@ const Mn = hr(
707
707
  "svg",
708
708
  {
709
709
  ref: m,
710
- ...jn,
710
+ ...Tn,
711
711
  width: t,
712
712
  height: t,
713
713
  stroke: e,
714
714
  strokeWidth: n ? Number(r) * 24 / Number(t) : r,
715
- className: Er("lucide", o),
715
+ className: wr("lucide", o),
716
716
  ...u
717
717
  },
718
718
  [
@@ -729,10 +729,10 @@ const Mn = hr(
729
729
  */
730
730
  const L = (e, t) => {
731
731
  const r = hr(
732
- ({ className: n, ...o }, a) => yt(Mn, {
732
+ ({ className: n, ...o }, a) => yt(jn, {
733
733
  ref: a,
734
734
  iconNode: t,
735
- className: Er(`lucide-${Tn(e)}`, n),
735
+ className: wr(`lucide-${Pn(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 Vn = [
747
+ const Mn = [
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", Vn);
751
+ ], Vn = L("AlignCenter", Mn);
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 $n = [
758
+ const An = [
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
- ], zn = L("AlignJustify", $n);
762
+ ], $n = L("AlignJustify", An);
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 In = [
769
+ const zn = [
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
- ], Hn = L("AlignLeft", In);
773
+ ], In = L("AlignLeft", zn);
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 Ln = [
780
+ const Hn = [
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
- ], Wn = L("AlignRight", Ln);
784
+ ], Ln = L("AlignRight", Hn);
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 qn = [
791
+ const Wn = [
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
- ], Yn = L("Bold", qn);
796
+ ], qn = L("Bold", Wn);
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 Un = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Fn = L("ChevronDown", Un);
803
+ const Yn = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Un = L("ChevronDown", Yn);
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 Bn = [
810
+ const Fn = [
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
- ], Xn = L("Code", Bn);
813
+ ], Bn = L("Code", Fn);
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 Kn = [
820
+ const Xn = [
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
- ], Gn = L("CornerDownRight", Kn);
823
+ ], Kn = L("CornerDownRight", Xn);
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 Jn = [
830
+ const Gn = [
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
- ], ot = L("Heading1", Jn);
835
+ ], ot = L("Heading1", Gn);
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 Zn = [
842
+ const Jn = [
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", Zn);
847
+ ], Gt = L("Heading2", Jn);
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 Qn = [
854
+ const Zn = [
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", Qn);
860
+ ], Jt = L("Heading3", Zn);
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 ei = [
867
+ const Qn = [
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", ei);
873
+ ], Zt = L("Heading4", Qn);
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 ti = [
880
+ const ei = [
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 ti = [
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", ti);
889
+ ], Qt = L("Heading5", ei);
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 ri = [
896
+ const ti = [
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", ri);
902
+ ], er = L("Heading6", ti);
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 ni = [
909
+ const ri = [
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
- ], ii = L("Image", ni);
913
+ ], ni = L("Image", ri);
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 oi = [
920
+ const ii = [
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
- ], ai = L("Italic", oi);
924
+ ], oi = L("Italic", ii);
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 si = [
931
+ const ai = [
932
932
  [
933
933
  "path",
934
934
  {
@@ -950,49 +950,49 @@ const si = [
950
950
  key: "kqbvx6"
951
951
  }
952
952
  ]
953
- ], li = L("Layers", si);
953
+ ], si = L("Layers", ai);
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 ci = [
960
+ const li = [
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
- ], ui = L("ListOrdered", ci);
967
+ ], ci = L("ListOrdered", li);
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 di = [
974
+ const ui = [
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
- ], fi = L("List", di);
981
+ ], di = L("List", ui);
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 mi = [["path", { d: "M5 12h14", key: "1ays0h" }]], pi = L("Minus", mi);
988
+ const fi = [["path", { d: "M5 12h14", key: "1ays0h" }]], mi = L("Minus", fi);
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 bi = [
995
+ const pi = [
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 bi = [
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", bi);
1003
+ ], bi = L("PaintBucket", pi);
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 yi = [
1010
+ const hi = [
1011
1011
  ["path", { d: "M5 12h14", key: "1ays0h" }],
1012
1012
  ["path", { d: "M12 5v14", key: "s699le" }]
1013
- ], vi = L("Plus", yi);
1013
+ ], yi = L("Plus", hi);
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 gi = [
1020
+ const vi = [
1021
1021
  [
1022
1022
  "path",
1023
1023
  {
@@ -1032,45 +1032,45 @@ const gi = [
1032
1032
  key: "1ymkrd"
1033
1033
  }
1034
1034
  ]
1035
- ], xi = L("Quote", gi);
1035
+ ], gi = L("Quote", vi);
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 Ni = [
1042
+ const xi = [
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", Ni);
1045
+ ], Ni = L("Redo", xi);
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 Si = [
1052
+ const Ei = [
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
- ], wi = L("SquareCheckBig", Si);
1055
+ ], Si = L("SquareCheckBig", Ei);
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 Ci = [
1062
+ const wi = [
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
- ], ki = L("Strikethrough", Ci);
1066
+ ], Ci = L("Strikethrough", wi);
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 Di = [
1073
+ const ki = [
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 Di = [
1080
1080
  key: "e8ta8j"
1081
1081
  }
1082
1082
  ]
1083
- ], _i = L("Subscript", Di);
1083
+ ], Di = L("Subscript", ki);
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 Oi = [
1090
+ const _i = [
1091
1091
  ["path", { d: "m4 19 8-8", key: "hr47gm" }],
1092
1092
  ["path", { d: "m12 19-8-8", key: "1dhhmo" }],
1093
1093
  [
@@ -1097,61 +1097,61 @@ const Oi = [
1097
1097
  key: "1dfcux"
1098
1098
  }
1099
1099
  ]
1100
- ], Ri = L("Superscript", Oi);
1100
+ ], Oi = L("Superscript", _i);
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 Pi = [
1107
+ const Ri = [
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
- ], Ti = L("Table", Pi);
1112
+ ], Pi = L("Table", Ri);
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 ji = [
1119
+ const Ti = [
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
- ], Mi = L("TextCursor", ji);
1123
+ ], ji = L("TextCursor", Ti);
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 Vi = [
1130
+ const Mi = [
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", Vi);
1133
+ ], Vi = L("Underline", Mi);
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 $i = [
1140
+ const Ai = [
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
- ], zi = L("Undo", $i);
1143
+ ], $i = L("Undo", Ai);
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 Ii = [
1150
+ const zi = [
1151
1151
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
1152
1152
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
1153
- ], Hi = L("X", Ii);
1154
- function Li({ editor: e }) {
1153
+ ], Ii = L("X", zi);
1154
+ function Hi({ editor: e }) {
1155
1155
  const [t, r] = he(!1);
1156
1156
  return /* @__PURE__ */ l.jsxDEV("div", { className: "relative", children: [
1157
1157
  /* @__PURE__ */ l.jsxDEV(
@@ -1159,11 +1159,11 @@ function Li({ editor: e }) {
1159
1159
  {
1160
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(Hi, { size: 24 }, void 0, !1, {
1162
+ children: t ? /* @__PURE__ */ l.jsxDEV(Ii, { 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(li, { size: 24 }, void 0, !1, {
1166
+ }, this) : /* @__PURE__ */ l.jsxDEV(si, { 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
@@ -1200,7 +1200,7 @@ function Li({ editor: e }) {
1200
1200
  },
1201
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(vi, { size: 16 }, void 0, !1, {
1203
+ /* @__PURE__ */ l.jsxDEV(yi, { 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
@@ -1239,7 +1239,7 @@ function Li({ editor: e }) {
1239
1239
  }, this);
1240
1240
  }
1241
1241
  const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1242
- fn,
1242
+ dn,
1243
1243
  {
1244
1244
  value: e,
1245
1245
  onChange: t,
@@ -1267,7 +1267,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1267
1267
  columnNumber: 9
1268
1268
  },
1269
1269
  void 0
1270
- ), Wi = ({ editor: e }) => {
1270
+ ), Li = ({ editor: e }) => {
1271
1271
  const [t, r] = he("#1677ff"), [n, o] = he("#ffffff"), a = (m) => {
1272
1272
  const p = m.toHexString();
1273
1273
  r(p), e.chain().focus().setColor(p).run();
@@ -1279,7 +1279,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1279
1279
  };
1280
1280
  return /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-4", children: [
1281
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, {
1282
+ /* @__PURE__ */ l.jsxDEV(ji, { size: 20, color: "black" }, void 0, !1, {
1283
1283
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1284
1284
  lineNumber: 33,
1285
1285
  columnNumber: 21
@@ -1299,7 +1299,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1299
1299
  columnNumber: 13
1300
1300
  }, void 0),
1301
1301
  /* @__PURE__ */ l.jsxDEV(vt, { title: "Highlight Color", children: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onMouseDown: u, children: [
1302
- /* @__PURE__ */ l.jsxDEV(hi, { size: 20, color: "black" }, void 0, !1, {
1302
+ /* @__PURE__ */ l.jsxDEV(bi, { size: 20, color: "black" }, void 0, !1, {
1303
1303
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/color/color-picker.tsx",
1304
1304
  lineNumber: 41,
1305
1305
  columnNumber: 21
@@ -1323,7 +1323,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1323
1323
  lineNumber: 29,
1324
1324
  columnNumber: 9
1325
1325
  }, void 0);
1326
- }, qi = ({ editor: e }) => {
1326
+ }, Wi = ({ editor: e }) => {
1327
1327
  if (!e) return null;
1328
1328
  const t = () => {
1329
1329
  for (let n = 1; n <= 6; n++)
@@ -1375,7 +1375,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1375
1375
  ...Array.from({ length: 6 }, (n, o) => ({
1376
1376
  key: `${o + 1}`,
1377
1377
  label: /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-2", onClick: () => e.chain().focus().toggleHeading({ level: o + 1 }).run(), children: [
1378
- _e.createElement([ot, Gt, Jt, Zt, Qt, er][o], { size: 16 }),
1378
+ ke.createElement([ot, Gt, Jt, Zt, Qt, er][o], { size: 16 }),
1379
1379
  /* @__PURE__ */ l.jsxDEV("span", { children: [
1380
1380
  "Heading ",
1381
1381
  o + 1
@@ -1401,7 +1401,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1401
1401
  lineNumber: 41,
1402
1402
  columnNumber: 9
1403
1403
  }, void 0);
1404
- }, Yi = 8, Ui = 8, Fi = ({
1404
+ }, qi = 8, Yi = 8, Ui = ({
1405
1405
  editor: e,
1406
1406
  buttonClass: t,
1407
1407
  activeClass: r
@@ -1416,8 +1416,8 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1416
1416
  onOpenChange: s,
1417
1417
  trigger: ["hover"],
1418
1418
  overlay: /* @__PURE__ */ l.jsxDEV("div", { className: "w-56 p-4 bg-white border border-gray-300 rounded-lg shadow-xl", children: [
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) => {
1419
+ /* @__PURE__ */ l.jsxDEV("div", { className: "grid grid-cols-8 gap-1", children: Array.from({ length: qi }).map(
1420
+ (m, p) => Array.from({ length: Yi }).map((b, N) => {
1421
1421
  const O = p < n.rows && N < n.cols;
1422
1422
  return /* @__PURE__ */ l.jsxDEV(
1423
1423
  "div",
@@ -1455,7 +1455,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1455
1455
  "button",
1456
1456
  {
1457
1457
  className: `${t} ${a ? r : ""} transition-all`,
1458
- children: /* @__PURE__ */ l.jsxDEV(Ti, { className: "w-5 h-5" }, void 0, !1, {
1458
+ children: /* @__PURE__ */ l.jsxDEV(Pi, { className: "w-5 h-5" }, void 0, !1, {
1459
1459
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/table/table-selector.tsx",
1460
1460
  lineNumber: 65,
1461
1461
  columnNumber: 17
@@ -1481,7 +1481,7 @@ const Ue = ({ value: e, onChange: t }) => /* @__PURE__ */ l.jsxDEV(
1481
1481
  void 0
1482
1482
  );
1483
1483
  };
1484
- function Bi() {
1484
+ function Fi() {
1485
1485
  const { editor: e } = Ct();
1486
1486
  if (!e) return null;
1487
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(
@@ -1513,7 +1513,7 @@ function Bi() {
1513
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: [
1514
1514
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1515
1515
  n(
1516
- /* @__PURE__ */ l.jsxDEV(Yn, { size: 16 }, void 0, !1, {
1516
+ /* @__PURE__ */ l.jsxDEV(qn, { size: 16 }, void 0, !1, {
1517
1517
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1518
1518
  lineNumber: 54,
1519
1519
  columnNumber: 21
@@ -1524,7 +1524,7 @@ function Bi() {
1524
1524
  "Bold"
1525
1525
  ),
1526
1526
  n(
1527
- /* @__PURE__ */ l.jsxDEV(ai, { size: 16 }, void 0, !1, {
1527
+ /* @__PURE__ */ l.jsxDEV(oi, { size: 16 }, void 0, !1, {
1528
1528
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1529
1529
  lineNumber: 61,
1530
1530
  columnNumber: 21
@@ -1535,7 +1535,7 @@ function Bi() {
1535
1535
  "Italic"
1536
1536
  ),
1537
1537
  n(
1538
- /* @__PURE__ */ l.jsxDEV(Ai, { size: 16 }, void 0, !1, {
1538
+ /* @__PURE__ */ l.jsxDEV(Vi, { size: 16 }, void 0, !1, {
1539
1539
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1540
1540
  lineNumber: 68,
1541
1541
  columnNumber: 21
@@ -1546,7 +1546,7 @@ function Bi() {
1546
1546
  "Underline"
1547
1547
  ),
1548
1548
  n(
1549
- /* @__PURE__ */ l.jsxDEV(ki, { size: 16 }, void 0, !1, {
1549
+ /* @__PURE__ */ l.jsxDEV(Ci, { size: 16 }, void 0, !1, {
1550
1550
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1551
1551
  lineNumber: 75,
1552
1552
  columnNumber: 21
@@ -1557,7 +1557,7 @@ function Bi() {
1557
1557
  "Strikethrough"
1558
1558
  ),
1559
1559
  n(
1560
- /* @__PURE__ */ l.jsxDEV(Xn, { size: 16 }, void 0, !1, {
1560
+ /* @__PURE__ */ l.jsxDEV(Bn, { size: 16 }, void 0, !1, {
1561
1561
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1562
1562
  lineNumber: 82,
1563
1563
  columnNumber: 21
@@ -1568,7 +1568,7 @@ function Bi() {
1568
1568
  "Code"
1569
1569
  ),
1570
1570
  n(
1571
- /* @__PURE__ */ l.jsxDEV(_i, { size: 16 }, void 0, !1, {
1571
+ /* @__PURE__ */ l.jsxDEV(Di, { size: 16 }, void 0, !1, {
1572
1572
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1573
1573
  lineNumber: 89,
1574
1574
  columnNumber: 21
@@ -1579,7 +1579,7 @@ function Bi() {
1579
1579
  "Subscript"
1580
1580
  ),
1581
1581
  n(
1582
- /* @__PURE__ */ l.jsxDEV(Ri, { size: 16 }, void 0, !1, {
1582
+ /* @__PURE__ */ l.jsxDEV(Oi, { size: 16 }, void 0, !1, {
1583
1583
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1584
1584
  lineNumber: 96,
1585
1585
  columnNumber: 21
@@ -1599,7 +1599,7 @@ function Bi() {
1599
1599
  lineNumber: 104,
1600
1600
  columnNumber: 13
1601
1601
  }, this),
1602
- /* @__PURE__ */ l.jsxDEV(qi, { editor: e }, void 0, !1, {
1602
+ /* @__PURE__ */ l.jsxDEV(Wi, { editor: e }, void 0, !1, {
1603
1603
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1604
1604
  lineNumber: 107,
1605
1605
  columnNumber: 13
@@ -1611,7 +1611,7 @@ function Bi() {
1611
1611
  }, this),
1612
1612
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1613
1613
  n(
1614
- /* @__PURE__ */ l.jsxDEV(Hn, { size: 16 }, void 0, !1, {
1614
+ /* @__PURE__ */ l.jsxDEV(In, { size: 16 }, void 0, !1, {
1615
1615
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1616
1616
  lineNumber: 114,
1617
1617
  columnNumber: 21
@@ -1622,7 +1622,7 @@ function Bi() {
1622
1622
  "Align Left"
1623
1623
  ),
1624
1624
  n(
1625
- /* @__PURE__ */ l.jsxDEV(An, { size: 16 }, void 0, !1, {
1625
+ /* @__PURE__ */ l.jsxDEV(Vn, { size: 16 }, void 0, !1, {
1626
1626
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1627
1627
  lineNumber: 121,
1628
1628
  columnNumber: 21
@@ -1633,7 +1633,7 @@ function Bi() {
1633
1633
  "Align Center"
1634
1634
  ),
1635
1635
  n(
1636
- /* @__PURE__ */ l.jsxDEV(Wn, { size: 16 }, void 0, !1, {
1636
+ /* @__PURE__ */ l.jsxDEV(Ln, { size: 16 }, void 0, !1, {
1637
1637
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1638
1638
  lineNumber: 126,
1639
1639
  columnNumber: 21
@@ -1644,7 +1644,7 @@ function Bi() {
1644
1644
  "Align Right"
1645
1645
  ),
1646
1646
  n(
1647
- /* @__PURE__ */ l.jsxDEV(zn, { size: 16 }, void 0, !1, {
1647
+ /* @__PURE__ */ l.jsxDEV($n, { size: 16 }, void 0, !1, {
1648
1648
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1649
1649
  lineNumber: 131,
1650
1650
  columnNumber: 21
@@ -1666,7 +1666,7 @@ function Bi() {
1666
1666
  }, this),
1667
1667
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1668
1668
  n(
1669
- /* @__PURE__ */ l.jsxDEV(fi, { size: 16 }, void 0, !1, {
1669
+ /* @__PURE__ */ l.jsxDEV(di, { size: 16 }, void 0, !1, {
1670
1670
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1671
1671
  lineNumber: 142,
1672
1672
  columnNumber: 21
@@ -1677,7 +1677,7 @@ function Bi() {
1677
1677
  "Bullet List"
1678
1678
  ),
1679
1679
  n(
1680
- /* @__PURE__ */ l.jsxDEV(ui, { size: 16 }, void 0, !1, {
1680
+ /* @__PURE__ */ l.jsxDEV(ci, { size: 16 }, void 0, !1, {
1681
1681
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1682
1682
  lineNumber: 147,
1683
1683
  columnNumber: 21
@@ -1688,7 +1688,7 @@ function Bi() {
1688
1688
  "Ordered List"
1689
1689
  ),
1690
1690
  n(
1691
- /* @__PURE__ */ l.jsxDEV(wi, { size: 16 }, void 0, !1, {
1691
+ /* @__PURE__ */ l.jsxDEV(Si, { size: 16 }, void 0, !1, {
1692
1692
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1693
1693
  lineNumber: 152,
1694
1694
  columnNumber: 21
@@ -1710,7 +1710,7 @@ function Bi() {
1710
1710
  }, this),
1711
1711
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1712
1712
  n(
1713
- /* @__PURE__ */ l.jsxDEV(xi, { size: 16 }, void 0, !1, {
1713
+ /* @__PURE__ */ l.jsxDEV(gi, { size: 16 }, void 0, !1, {
1714
1714
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1715
1715
  lineNumber: 163,
1716
1716
  columnNumber: 21
@@ -1720,13 +1720,13 @@ function Bi() {
1720
1720
  !1,
1721
1721
  "Blockquote"
1722
1722
  ),
1723
- /* @__PURE__ */ l.jsxDEV(Fi, { editor: e, buttonClass: t, activeClass: r }, void 0, !1, {
1723
+ /* @__PURE__ */ l.jsxDEV(Ui, { editor: e, buttonClass: t, activeClass: r }, void 0, !1, {
1724
1724
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1725
1725
  lineNumber: 167,
1726
1726
  columnNumber: 17
1727
1727
  }, this),
1728
1728
  n(
1729
- /* @__PURE__ */ l.jsxDEV(pi, { size: 16 }, void 0, !1, {
1729
+ /* @__PURE__ */ l.jsxDEV(mi, { size: 16 }, void 0, !1, {
1730
1730
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1731
1731
  lineNumber: 169,
1732
1732
  columnNumber: 21
@@ -1737,7 +1737,7 @@ function Bi() {
1737
1737
  "Horizontal Rule"
1738
1738
  ),
1739
1739
  n(
1740
- /* @__PURE__ */ l.jsxDEV(Gn, { size: 16 }, void 0, !1, {
1740
+ /* @__PURE__ */ l.jsxDEV(Kn, { size: 16 }, void 0, !1, {
1741
1741
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1742
1742
  lineNumber: 173,
1743
1743
  columnNumber: 21
@@ -1759,7 +1759,7 @@ function Bi() {
1759
1759
  }, this),
1760
1760
  /* @__PURE__ */ l.jsxDEV("div", { className: "flex items-center gap-1", children: [
1761
1761
  n(
1762
- /* @__PURE__ */ l.jsxDEV(zi, { size: 16 }, void 0, !1, {
1762
+ /* @__PURE__ */ l.jsxDEV($i, { size: 16 }, void 0, !1, {
1763
1763
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1764
1764
  lineNumber: 183,
1765
1765
  columnNumber: 21
@@ -1769,7 +1769,7 @@ function Bi() {
1769
1769
  !e.can().chain().focus().undo().run()
1770
1770
  ),
1771
1771
  n(
1772
- /* @__PURE__ */ l.jsxDEV(Ei, { size: 16 }, void 0, !1, {
1772
+ /* @__PURE__ */ l.jsxDEV(Ni, { size: 16 }, void 0, !1, {
1773
1773
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1774
1774
  lineNumber: 189,
1775
1775
  columnNumber: 21
@@ -1789,7 +1789,7 @@ function Bi() {
1789
1789
  columnNumber: 13
1790
1790
  }, this),
1791
1791
  n(
1792
- /* @__PURE__ */ l.jsxDEV(ii, { size: 16 }, void 0, !1, {
1792
+ /* @__PURE__ */ l.jsxDEV(ni, { size: 16 }, void 0, !1, {
1793
1793
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1794
1794
  lineNumber: 199,
1795
1795
  columnNumber: 17
@@ -1814,7 +1814,7 @@ function Bi() {
1814
1814
  lineNumber: 217,
1815
1815
  columnNumber: 13
1816
1816
  }, this),
1817
- /* @__PURE__ */ l.jsxDEV(Wi, { editor: e }, void 0, !1, {
1817
+ /* @__PURE__ */ l.jsxDEV(Li, { editor: e }, void 0, !1, {
1818
1818
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1819
1819
  lineNumber: 220,
1820
1820
  columnNumber: 13
@@ -1824,7 +1824,7 @@ function Bi() {
1824
1824
  lineNumber: 222,
1825
1825
  columnNumber: 13
1826
1826
  }, this),
1827
- /* @__PURE__ */ l.jsxDEV(Li, { editor: e }, void 0, !1, {
1827
+ /* @__PURE__ */ l.jsxDEV(Hi, { editor: e }, void 0, !1, {
1828
1828
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/tool-bar/tool-bar-tiptap.tsx",
1829
1829
  lineNumber: 223,
1830
1830
  columnNumber: 13
@@ -1835,7 +1835,7 @@ function Bi() {
1835
1835
  columnNumber: 9
1836
1836
  }, this);
1837
1837
  }
1838
- const Sr = ({
1838
+ const Cr = ({
1839
1839
  title: e,
1840
1840
  childrenContent: t,
1841
1841
  editable: r,
@@ -1857,7 +1857,7 @@ const Sr = ({
1857
1857
  columnNumber: 17
1858
1858
  }, void 0) : t,
1859
1859
  /* @__PURE__ */ l.jsxDEV(
1860
- mn,
1860
+ fn,
1861
1861
  {
1862
1862
  title: `Edit ${e}`,
1863
1863
  open: o,
@@ -1879,7 +1879,7 @@ const Sr = ({
1879
1879
  lineNumber: 26,
1880
1880
  columnNumber: 9
1881
1881
  }, void 0);
1882
- }, Xi = () => {
1882
+ }, Bi = () => {
1883
1883
  const [e, t] = he(!1), { editor: r } = Ct();
1884
1884
  if (!r) return null;
1885
1885
  const n = (b) => {
@@ -1889,8 +1889,8 @@ const Sr = ({
1889
1889
  }, p = (b) => {
1890
1890
  u(b.toHexString());
1891
1891
  };
1892
- return /* @__PURE__ */ l.jsxDEV(yr, { className: "accordion-wrapper", children: /* @__PURE__ */ l.jsxDEV(
1893
- Sr,
1892
+ return /* @__PURE__ */ l.jsxDEV(gr, { className: "accordion-wrapper", children: /* @__PURE__ */ l.jsxDEV(
1893
+ Cr,
1894
1894
  {
1895
1895
  title: "Accordion",
1896
1896
  childrenContent: /* @__PURE__ */ l.jsxDEV(
@@ -1926,7 +1926,7 @@ const Sr = ({
1926
1926
  void 0
1927
1927
  ),
1928
1928
  /* @__PURE__ */ l.jsxDEV(
1929
- Fn,
1929
+ Un,
1930
1930
  {
1931
1931
  className: `transition-transform duration-300 ${e ? "rotate-180" : ""}`,
1932
1932
  size: 20
@@ -1956,7 +1956,7 @@ const Sr = ({
1956
1956
  {
1957
1957
  className: `overflow-hidden duration-300 ease-in-out ${e ? "max-h-96 opacity-100" : "max-h-0 opacity-0"} `,
1958
1958
  children: /* @__PURE__ */ l.jsxDEV("div", { className: "p-4 border-t", children: /* @__PURE__ */ l.jsxDEV(
1959
- un,
1959
+ cn,
1960
1960
  {
1961
1961
  contentEditable: !0
1962
1962
  },
@@ -2119,7 +2119,7 @@ const Sr = ({
2119
2119
  lineNumber: 32,
2120
2120
  columnNumber: 9
2121
2121
  }, void 0);
2122
- }, Ki = gr.create({
2122
+ }, Xi = Nr.create({
2123
2123
  name: "accordion",
2124
2124
  group: "block",
2125
2125
  content: "block+",
@@ -2136,10 +2136,10 @@ const Sr = ({
2136
2136
  ];
2137
2137
  },
2138
2138
  renderHTML({ HTMLAttributes: e }) {
2139
- return ["accordion", xr(e)];
2139
+ return ["accordion", Er(e)];
2140
2140
  },
2141
2141
  addNodeView() {
2142
- return vr(Xi);
2142
+ return xr(Bi);
2143
2143
  },
2144
2144
  addCommands() {
2145
2145
  return {
@@ -2150,7 +2150,7 @@ const Sr = ({
2150
2150
  };
2151
2151
  }
2152
2152
  });
2153
- var Dt = { exports: {} }, ze = {}, Be = { exports: {} }, wr = {}, xt = { exports: {} }, qe = { exports: {} }, U = {};
2153
+ var Dt = { exports: {} }, ze = {}, Be = { exports: {} }, kr = {}, xt = { exports: {} }, qe = { exports: {} }, U = {};
2154
2154
  /** @license React v16.13.1
2155
2155
  * react-is.production.min.js
2156
2156
  *
@@ -2160,7 +2160,7 @@ var Dt = { exports: {} }, ze = {}, Be = { exports: {} }, wr = {}, xt = { exports
2160
2160
  * LICENSE file in the root directory of this source tree.
2161
2161
  */
2162
2162
  var tr;
2163
- function Gi() {
2163
+ function Ki() {
2164
2164
  if (tr) return U;
2165
2165
  tr = 1;
2166
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;
@@ -2235,7 +2235,7 @@ var F = {};
2235
2235
  * LICENSE file in the root directory of this source tree.
2236
2236
  */
2237
2237
  var rr;
2238
- function Ji() {
2238
+ function Gi() {
2239
2239
  return rr || (rr = 1, process.env.NODE_ENV !== "production" && function() {
2240
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;
2241
2241
  function x(h) {
@@ -2257,14 +2257,14 @@ function Ji() {
2257
2257
  case N:
2258
2258
  return Re;
2259
2259
  default:
2260
- var ke = Re && Re.$$typeof;
2261
- switch (ke) {
2260
+ var De = Re && Re.$$typeof;
2261
+ switch (De) {
2262
2262
  case u:
2263
2263
  case b:
2264
2264
  case A:
2265
2265
  case S:
2266
2266
  case s:
2267
- return ke;
2267
+ return De;
2268
2268
  default:
2269
2269
  return pe;
2270
2270
  }
@@ -2318,8 +2318,8 @@ function Ji() {
2318
2318
  }()), F;
2319
2319
  }
2320
2320
  var nr;
2321
- function Cr() {
2322
- return nr || (nr = 1, process.env.NODE_ENV === "production" ? qe.exports = Gi() : qe.exports = Ji()), qe.exports;
2321
+ function Dr() {
2322
+ return nr || (nr = 1, process.env.NODE_ENV === "production" ? qe.exports = Ki() : qe.exports = Gi()), qe.exports;
2323
2323
  }
2324
2324
  /*
2325
2325
  object-assign
@@ -2327,7 +2327,7 @@ object-assign
2327
2327
  @license MIT
2328
2328
  */
2329
2329
  var at, ir;
2330
- function Zi() {
2330
+ function Ji() {
2331
2331
  if (ir) return at;
2332
2332
  ir = 1;
2333
2333
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
@@ -2380,17 +2380,17 @@ function _t() {
2380
2380
  return st = e, st;
2381
2381
  }
2382
2382
  var lt, ar;
2383
- function kr() {
2383
+ function _r() {
2384
2384
  return ar || (ar = 1, lt = Function.call.bind(Object.prototype.hasOwnProperty)), lt;
2385
2385
  }
2386
2386
  var ct, sr;
2387
- function Qi() {
2387
+ function Zi() {
2388
2388
  if (sr) return ct;
2389
2389
  sr = 1;
2390
2390
  var e = function() {
2391
2391
  };
2392
2392
  if (process.env.NODE_ENV !== "production") {
2393
- var t = _t(), r = {}, n = kr();
2393
+ var t = _t(), r = {}, n = _r();
2394
2394
  e = function(a) {
2395
2395
  var s = "Warning: " + a;
2396
2396
  typeof console < "u" && console.error(s);
@@ -2433,10 +2433,10 @@ function Qi() {
2433
2433
  }, ct = o, ct;
2434
2434
  }
2435
2435
  var ut, lr;
2436
- function eo() {
2436
+ function Qi() {
2437
2437
  if (lr) return ut;
2438
2438
  lr = 1;
2439
- var e = Cr(), t = Zi(), r = _t(), n = kr(), o = Qi(), a = function() {
2439
+ var e = Dr(), t = Ji(), r = _t(), n = _r(), o = Zi(), a = function() {
2440
2440
  };
2441
2441
  process.env.NODE_ENV !== "production" && (a = function(u) {
2442
2442
  var m = "Warning: " + u;
@@ -2754,7 +2754,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
2754
2754
  }, ut;
2755
2755
  }
2756
2756
  var dt, cr;
2757
- function to() {
2757
+ function eo() {
2758
2758
  if (cr) return dt;
2759
2759
  cr = 1;
2760
2760
  var e = _t();
@@ -2802,50 +2802,50 @@ function to() {
2802
2802
  }, dt;
2803
2803
  }
2804
2804
  if (process.env.NODE_ENV !== "production") {
2805
- var ro = Cr(), no = !0;
2806
- xt.exports = eo()(ro.isElement, no);
2805
+ var to = Dr(), ro = !0;
2806
+ xt.exports = Qi()(to.isElement, ro);
2807
2807
  } else
2808
- xt.exports = to()();
2808
+ xt.exports = eo()();
2809
2809
  var Xe = xt.exports;
2810
- function Dr(e) {
2810
+ function Or(e) {
2811
2811
  var t, r, n = "";
2812
2812
  if (typeof e == "string" || typeof e == "number") n += e;
2813
- else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = Dr(e[t])) && (n && (n += " "), n += r);
2813
+ else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = Or(e[t])) && (n && (n += " "), n += r);
2814
2814
  else for (t in e) e[t] && (n && (n += " "), n += t);
2815
2815
  return n;
2816
2816
  }
2817
2817
  function ur() {
2818
- for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = Dr(e)) && (n && (n += " "), n += t);
2818
+ for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = Or(e)) && (n && (n += " "), n += t);
2819
2819
  return n;
2820
2820
  }
2821
- const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2821
+ const no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2822
2822
  __proto__: null,
2823
2823
  clsx: ur,
2824
2824
  default: ur
2825
- }, Symbol.toStringTag, { value: "Module" })), oo = /* @__PURE__ */ On(io);
2825
+ }, Symbol.toStringTag, { value: "Module" })), io = /* @__PURE__ */ _n(no);
2826
2826
  var K = {}, xe = {};
2827
2827
  Object.defineProperty(xe, "__esModule", {
2828
2828
  value: !0
2829
2829
  });
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) {
2830
+ xe.dontSetMe = co;
2831
+ xe.findInArray = oo;
2832
+ xe.int = lo;
2833
+ xe.isFunction = ao;
2834
+ xe.isNum = so;
2835
+ function oo(e, t) {
2836
2836
  for (let r = 0, n = e.length; r < n; r++)
2837
2837
  if (t.apply(t, [e[r], r, e])) return e[r];
2838
2838
  }
2839
- function so(e) {
2839
+ function ao(e) {
2840
2840
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Function]";
2841
2841
  }
2842
- function lo(e) {
2842
+ function so(e) {
2843
2843
  return typeof e == "number" && !isNaN(e);
2844
2844
  }
2845
- function co(e) {
2845
+ function lo(e) {
2846
2846
  return parseInt(e, 10);
2847
2847
  }
2848
- function uo(e, t, r) {
2848
+ function co(e, t, r) {
2849
2849
  if (e[t])
2850
2850
  return new Error("Invalid prop ".concat(t, " passed to ").concat(r, " - do not set this, set it on the child."));
2851
2851
  }
@@ -2853,69 +2853,69 @@ var Oe = {};
2853
2853
  Object.defineProperty(Oe, "__esModule", {
2854
2854
  value: !0
2855
2855
  });
2856
- Oe.browserPrefixToKey = Or;
2857
- Oe.browserPrefixToStyle = fo;
2856
+ Oe.browserPrefixToKey = Pr;
2857
+ Oe.browserPrefixToStyle = uo;
2858
2858
  Oe.default = void 0;
2859
- Oe.getPrefix = _r;
2859
+ Oe.getPrefix = Rr;
2860
2860
  const ft = ["Moz", "Webkit", "O", "ms"];
2861
- function _r() {
2861
+ function Rr() {
2862
2862
  var e;
2863
2863
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "transform";
2864
2864
  if (typeof window > "u") return "";
2865
2865
  const r = (e = window.document) === null || e === void 0 || (e = e.documentElement) === null || e === void 0 ? void 0 : e.style;
2866
2866
  if (!r || t in r) return "";
2867
2867
  for (let n = 0; n < ft.length; n++)
2868
- if (Or(t, ft[n]) in r) return ft[n];
2868
+ if (Pr(t, ft[n]) in r) return ft[n];
2869
2869
  return "";
2870
2870
  }
2871
- function Or(e, t) {
2872
- return t ? "".concat(t).concat(mo(e)) : e;
2871
+ function Pr(e, t) {
2872
+ return t ? "".concat(t).concat(fo(e)) : e;
2873
2873
  }
2874
- function fo(e, t) {
2874
+ function uo(e, t) {
2875
2875
  return t ? "-".concat(t.toLowerCase(), "-").concat(e) : e;
2876
2876
  }
2877
- function mo(e) {
2877
+ function fo(e) {
2878
2878
  let t = "", r = !0;
2879
2879
  for (let n = 0; n < e.length; n++)
2880
2880
  r ? (t += e[n].toUpperCase(), r = !1) : e[n] === "-" ? r = !0 : t += e[n];
2881
2881
  return t;
2882
2882
  }
2883
- Oe.default = _r();
2883
+ Oe.default = Rr();
2884
2884
  Object.defineProperty(K, "__esModule", {
2885
2885
  value: !0
2886
2886
  });
2887
- K.addClassName = Tr;
2888
- K.addEvent = ho;
2889
- K.addUserSelectStyles = Do;
2890
- K.createCSSTransform = So;
2891
- K.createSVGTransform = wo;
2892
- K.getTouch = Co;
2893
- K.getTouchIdentifier = ko;
2887
+ K.addClassName = Mr;
2888
+ K.addEvent = bo;
2889
+ K.addUserSelectStyles = ko;
2890
+ K.createCSSTransform = Eo;
2891
+ K.createSVGTransform = So;
2892
+ K.getTouch = wo;
2893
+ K.getTouchIdentifier = Co;
2894
2894
  K.getTranslation = Ot;
2895
- K.innerHeight = xo;
2896
- K.innerWidth = No;
2897
- K.matchesSelector = Pr;
2898
- K.matchesSelectorAndParentsTo = bo;
2899
- K.offsetXYFromParent = Eo;
2900
- K.outerHeight = vo;
2901
- K.outerWidth = go;
2902
- K.removeClassName = jr;
2903
- K.removeEvent = yo;
2904
- K.removeUserSelectStyles = _o;
2905
- var ue = xe, dr = po(Oe);
2906
- function Rr(e) {
2895
+ K.innerHeight = go;
2896
+ K.innerWidth = xo;
2897
+ K.matchesSelector = jr;
2898
+ K.matchesSelectorAndParentsTo = po;
2899
+ K.offsetXYFromParent = No;
2900
+ K.outerHeight = yo;
2901
+ K.outerWidth = vo;
2902
+ K.removeClassName = Vr;
2903
+ K.removeEvent = ho;
2904
+ K.removeUserSelectStyles = Do;
2905
+ var ue = xe, dr = mo(Oe);
2906
+ function Tr(e) {
2907
2907
  if (typeof WeakMap != "function") return null;
2908
2908
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
2909
- return (Rr = function(n) {
2909
+ return (Tr = function(n) {
2910
2910
  return n ? r : t;
2911
2911
  })(e);
2912
2912
  }
2913
- function po(e, t) {
2913
+ function mo(e, t) {
2914
2914
  if (e && e.__esModule)
2915
2915
  return e;
2916
2916
  if (e === null || typeof e != "object" && typeof e != "function")
2917
2917
  return { default: e };
2918
- var r = Rr(t);
2918
+ var r = Tr(t);
2919
2919
  if (r && r.has(e))
2920
2920
  return r.get(e);
2921
2921
  var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -2927,21 +2927,21 @@ function po(e, t) {
2927
2927
  return n.default = e, r && r.set(e, n), n;
2928
2928
  }
2929
2929
  let Ye = "";
2930
- function Pr(e, t) {
2930
+ function jr(e, t) {
2931
2931
  return Ye || (Ye = (0, ue.findInArray)(["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], function(r) {
2932
2932
  return (0, ue.isFunction)(e[r]);
2933
2933
  })), (0, ue.isFunction)(e[Ye]) ? e[Ye](t) : !1;
2934
2934
  }
2935
- function bo(e, t, r) {
2935
+ function po(e, t, r) {
2936
2936
  let n = e;
2937
2937
  do {
2938
- if (Pr(n, t)) return !0;
2938
+ if (jr(n, t)) return !0;
2939
2939
  if (n === r) return !1;
2940
2940
  n = n.parentNode;
2941
2941
  } while (n);
2942
2942
  return !1;
2943
2943
  }
2944
- function ho(e, t, r, n) {
2944
+ function bo(e, t, r, n) {
2945
2945
  if (!e) return;
2946
2946
  const o = {
2947
2947
  capture: !0,
@@ -2949,7 +2949,7 @@ function ho(e, t, r, n) {
2949
2949
  };
2950
2950
  e.addEventListener ? e.addEventListener(t, r, o) : e.attachEvent ? e.attachEvent("on" + t, r) : e["on" + t] = r;
2951
2951
  }
2952
- function yo(e, t, r, n) {
2952
+ function ho(e, t, r, n) {
2953
2953
  if (!e) return;
2954
2954
  const o = {
2955
2955
  capture: !0,
@@ -2957,27 +2957,27 @@ function yo(e, t, r, n) {
2957
2957
  };
2958
2958
  e.removeEventListener ? e.removeEventListener(t, r, o) : e.detachEvent ? e.detachEvent("on" + t, r) : e["on" + t] = null;
2959
2959
  }
2960
- function vo(e) {
2960
+ function yo(e) {
2961
2961
  let t = e.clientHeight;
2962
2962
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2963
2963
  return t += (0, ue.int)(r.borderTopWidth), t += (0, ue.int)(r.borderBottomWidth), t;
2964
2964
  }
2965
- function go(e) {
2965
+ function vo(e) {
2966
2966
  let t = e.clientWidth;
2967
2967
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2968
2968
  return t += (0, ue.int)(r.borderLeftWidth), t += (0, ue.int)(r.borderRightWidth), t;
2969
2969
  }
2970
- function xo(e) {
2970
+ function go(e) {
2971
2971
  let t = e.clientHeight;
2972
2972
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2973
2973
  return t -= (0, ue.int)(r.paddingTop), t -= (0, ue.int)(r.paddingBottom), t;
2974
2974
  }
2975
- function No(e) {
2975
+ function xo(e) {
2976
2976
  let t = e.clientWidth;
2977
2977
  const r = e.ownerDocument.defaultView.getComputedStyle(e);
2978
2978
  return t -= (0, ue.int)(r.paddingLeft), t -= (0, ue.int)(r.paddingRight), t;
2979
2979
  }
2980
- function Eo(e, t, r) {
2980
+ function No(e, t, r) {
2981
2981
  const o = t === t.ownerDocument.body ? {
2982
2982
  left: 0,
2983
2983
  top: 0
@@ -2987,13 +2987,13 @@ function Eo(e, t, r) {
2987
2987
  y: s
2988
2988
  };
2989
2989
  }
2990
- function So(e, t) {
2990
+ function Eo(e, t) {
2991
2991
  const r = Ot(e, t, "px");
2992
2992
  return {
2993
2993
  [(0, dr.browserPrefixToKey)("transform", dr.default)]: r
2994
2994
  };
2995
2995
  }
2996
- function wo(e, t) {
2996
+ function So(e, t) {
2997
2997
  return Ot(e, t, "");
2998
2998
  }
2999
2999
  function Ot(e, t, r) {
@@ -3007,24 +3007,24 @@ function Ot(e, t, r) {
3007
3007
  }
3008
3008
  return a;
3009
3009
  }
3010
- function Co(e, t) {
3010
+ function wo(e, t) {
3011
3011
  return e.targetTouches && (0, ue.findInArray)(e.targetTouches, (r) => t === r.identifier) || e.changedTouches && (0, ue.findInArray)(e.changedTouches, (r) => t === r.identifier);
3012
3012
  }
3013
- function ko(e) {
3013
+ function Co(e) {
3014
3014
  if (e.targetTouches && e.targetTouches[0]) return e.targetTouches[0].identifier;
3015
3015
  if (e.changedTouches && e.changedTouches[0]) return e.changedTouches[0].identifier;
3016
3016
  }
3017
- function Do(e) {
3017
+ function ko(e) {
3018
3018
  if (!e) return;
3019
3019
  let t = e.getElementById("react-draggable-style-el");
3020
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;}
3021
3021
  `, t.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
3022
- `, e.getElementsByTagName("head")[0].appendChild(t)), e.body && Tr(e.body, "react-draggable-transparent-selection");
3022
+ `, e.getElementsByTagName("head")[0].appendChild(t)), e.body && Mr(e.body, "react-draggable-transparent-selection");
3023
3023
  }
3024
- function _o(e) {
3024
+ function Do(e) {
3025
3025
  if (e)
3026
3026
  try {
3027
- if (e.body && jr(e.body, "react-draggable-transparent-selection"), e.selection)
3027
+ if (e.body && Vr(e.body, "react-draggable-transparent-selection"), e.selection)
3028
3028
  e.selection.empty();
3029
3029
  else {
3030
3030
  const t = (e.defaultView || window).getSelection();
@@ -3033,30 +3033,30 @@ function _o(e) {
3033
3033
  } catch {
3034
3034
  }
3035
3035
  }
3036
- function Tr(e, t) {
3036
+ function Mr(e, t) {
3037
3037
  e.classList ? e.classList.add(t) : e.className.match(new RegExp("(?:^|\\s)".concat(t, "(?!\\S)"))) || (e.className += " ".concat(t));
3038
3038
  }
3039
- function jr(e, t) {
3039
+ function Vr(e, t) {
3040
3040
  e.classList ? e.classList.remove(t) : e.className = e.className.replace(new RegExp("(?:^|\\s)".concat(t, "(?!\\S)"), "g"), "");
3041
3041
  }
3042
3042
  var Ne = {};
3043
3043
  Object.defineProperty(Ne, "__esModule", {
3044
3044
  value: !0
3045
3045
  });
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;
3046
+ Ne.canDragX = Ro;
3047
+ Ne.canDragY = Po;
3048
+ Ne.createCoreData = jo;
3049
+ Ne.createDraggableData = Mo;
3050
+ Ne.getBoundPosition = _o;
3051
+ Ne.getControlPosition = To;
3052
+ Ne.snapToGrid = Oo;
3053
3053
  var ce = xe, je = K;
3054
- function Oo(e, t, r) {
3054
+ function _o(e, t, r) {
3055
3055
  if (!e.props.bounds) return [t, r];
3056
3056
  let {
3057
3057
  bounds: n
3058
3058
  } = e.props;
3059
- n = typeof n == "string" ? n : Ao(n);
3059
+ n = typeof n == "string" ? n : Vo(n);
3060
3060
  const o = Rt(e);
3061
3061
  if (typeof n == "string") {
3062
3062
  const {
@@ -3075,23 +3075,23 @@ function Oo(e, t, r) {
3075
3075
  }
3076
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];
3077
3077
  }
3078
- function Ro(e, t, r) {
3078
+ function Oo(e, t, r) {
3079
3079
  const n = Math.round(t / e[0]) * e[0], o = Math.round(r / e[1]) * e[1];
3080
3080
  return [n, o];
3081
3081
  }
3082
- function Po(e) {
3082
+ function Ro(e) {
3083
3083
  return e.props.axis === "both" || e.props.axis === "x";
3084
3084
  }
3085
- function To(e) {
3085
+ function Po(e) {
3086
3086
  return e.props.axis === "both" || e.props.axis === "y";
3087
3087
  }
3088
- function jo(e, t, r) {
3088
+ function To(e, t, r) {
3089
3089
  const n = typeof t == "number" ? (0, je.getTouch)(e, t) : null;
3090
3090
  if (typeof t == "number" && !n) return null;
3091
3091
  const o = Rt(r), a = r.props.offsetParent || o.offsetParent || o.ownerDocument.body;
3092
3092
  return (0, je.offsetXYFromParent)(n || e, a, r.props.scale);
3093
3093
  }
3094
- function Mo(e, t, r) {
3094
+ function jo(e, t, r) {
3095
3095
  const n = !(0, ce.isNum)(e.lastX), o = Rt(e);
3096
3096
  return n ? {
3097
3097
  node: o,
@@ -3111,7 +3111,7 @@ function Mo(e, t, r) {
3111
3111
  y: r
3112
3112
  };
3113
3113
  }
3114
- function Vo(e, t) {
3114
+ function Mo(e, t) {
3115
3115
  const r = e.props.scale;
3116
3116
  return {
3117
3117
  node: t.node,
@@ -3123,7 +3123,7 @@ function Vo(e, t) {
3123
3123
  lastY: e.state.y
3124
3124
  };
3125
3125
  }
3126
- function Ao(e) {
3126
+ function Vo(e) {
3127
3127
  return {
3128
3128
  left: e.left,
3129
3129
  top: e.top,
@@ -3141,30 +3141,30 @@ var Ke = {}, Ge = {};
3141
3141
  Object.defineProperty(Ge, "__esModule", {
3142
3142
  value: !0
3143
3143
  });
3144
- Ge.default = $o;
3145
- function $o() {
3144
+ Ge.default = Ao;
3145
+ function Ao() {
3146
3146
  }
3147
3147
  Object.defineProperty(Ke, "__esModule", {
3148
3148
  value: !0
3149
3149
  });
3150
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);
3151
+ var mt = zo(ke), se = Pt(Xe), $o = Pt(Sr), re = K, we = Ne, pt = xe, Ae = Pt(Ge);
3152
3152
  function Pt(e) {
3153
3153
  return e && e.__esModule ? e : { default: e };
3154
3154
  }
3155
- function Mr(e) {
3155
+ function Ar(e) {
3156
3156
  if (typeof WeakMap != "function") return null;
3157
3157
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
3158
- return (Mr = function(n) {
3158
+ return (Ar = function(n) {
3159
3159
  return n ? r : t;
3160
3160
  })(e);
3161
3161
  }
3162
- function Io(e, t) {
3162
+ function zo(e, t) {
3163
3163
  if (e && e.__esModule)
3164
3164
  return e;
3165
3165
  if (e === null || typeof e != "object" && typeof e != "function")
3166
3166
  return { default: e };
3167
- var r = Mr(t);
3167
+ var r = Ar(t);
3168
3168
  if (r && r.has(e))
3169
3169
  return r.get(e);
3170
3170
  var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -3176,13 +3176,13 @@ function Io(e, t) {
3176
3176
  return n.default = e, r && r.set(e, n), n;
3177
3177
  }
3178
3178
  function ie(e, t, r) {
3179
- return t = Ho(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3179
+ return t = Io(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3180
3180
  }
3181
- function Ho(e) {
3182
- var t = Lo(e, "string");
3181
+ function Io(e) {
3182
+ var t = Ho(e, "string");
3183
3183
  return typeof t == "symbol" ? t : String(t);
3184
3184
  }
3185
- function Lo(e, t) {
3185
+ function Ho(e, t) {
3186
3186
  if (typeof e != "object" || e === null) return e;
3187
3187
  var r = e[Symbol.toPrimitive];
3188
3188
  if (r !== void 0) {
@@ -3290,7 +3290,7 @@ let Ce = ve.mouse, Je = class extends mt.Component {
3290
3290
  // the underlying DOM node ourselves. See the README for more information.
3291
3291
  findDOMNode() {
3292
3292
  var t, r;
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);
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 : $o.default.findDOMNode(this);
3294
3294
  }
3295
3295
  render() {
3296
3296
  return /* @__PURE__ */ mt.cloneElement(mt.Children.only(this.props.children), {
@@ -3454,7 +3454,7 @@ ie(Je, "defaultProps", {
3454
3454
  return m.default;
3455
3455
  }
3456
3456
  }), e.default = void 0;
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);
3457
+ var t = O(ke), r = b(Xe), n = b(Sr), o = b(io), a = K, s = Ne, u = xe, m = b(Ke), p = b(Ge);
3458
3458
  function b(v) {
3459
3459
  return v && v.__esModule ? v : { default: v };
3460
3460
  }
@@ -3765,19 +3765,19 @@ ie(Je, "defaultProps", {
3765
3765
  },
3766
3766
  scale: 1
3767
3767
  });
3768
- })(wr);
3768
+ })(kr);
3769
3769
  const {
3770
- default: Vr,
3771
- DraggableCore: Wo
3772
- } = wr;
3773
- Be.exports = Vr;
3774
- Be.exports.default = Vr;
3775
- Be.exports.DraggableCore = Wo;
3776
- var qo = Be.exports, Tt = {};
3770
+ default: $r,
3771
+ DraggableCore: Lo
3772
+ } = kr;
3773
+ Be.exports = $r;
3774
+ Be.exports.default = $r;
3775
+ Be.exports.DraggableCore = Lo;
3776
+ var Wo = Be.exports, Tt = {};
3777
3777
  Tt.__esModule = !0;
3778
- Tt.cloneElement = Ko;
3779
- var Yo = Uo(_e);
3780
- function Uo(e) {
3778
+ Tt.cloneElement = Xo;
3779
+ var qo = Yo(ke);
3780
+ function Yo(e) {
3781
3781
  return e && e.__esModule ? e : { default: e };
3782
3782
  }
3783
3783
  function fr(e, t) {
@@ -3794,21 +3794,21 @@ function mr(e) {
3794
3794
  for (var t = 1; t < arguments.length; t++) {
3795
3795
  var r = arguments[t] != null ? arguments[t] : {};
3796
3796
  t % 2 ? fr(Object(r), !0).forEach(function(n) {
3797
- Fo(e, n, r[n]);
3797
+ Uo(e, n, r[n]);
3798
3798
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : fr(Object(r)).forEach(function(n) {
3799
3799
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3800
3800
  });
3801
3801
  }
3802
3802
  return e;
3803
3803
  }
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;
3804
+ function Uo(e, t, r) {
3805
+ return t = Fo(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3806
3806
  }
3807
- function Bo(e) {
3808
- var t = Xo(e, "string");
3807
+ function Fo(e) {
3808
+ var t = Bo(e, "string");
3809
3809
  return typeof t == "symbol" ? t : String(t);
3810
3810
  }
3811
- function Xo(e, t) {
3811
+ function Bo(e, t) {
3812
3812
  if (typeof e != "object" || e === null) return e;
3813
3813
  var r = e[Symbol.toPrimitive];
3814
3814
  if (r !== void 0) {
@@ -3818,17 +3818,17 @@ function Xo(e, t) {
3818
3818
  }
3819
3819
  return (t === "string" ? String : Number)(e);
3820
3820
  }
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);
3821
+ function Xo(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__ */ qo.default.cloneElement(e, t);
3823
3823
  }
3824
3824
  var Ie = {};
3825
3825
  Ie.__esModule = !0;
3826
3826
  Ie.resizableProps = void 0;
3827
- var D = Go(Xe);
3828
- function Go(e) {
3827
+ var D = Ko(Xe);
3828
+ function Ko(e) {
3829
3829
  return e && e.__esModule ? e : { default: e };
3830
3830
  }
3831
- var Jo = {
3831
+ var Go = {
3832
3832
  /*
3833
3833
  * Restricts resizing to a particular axis (default: 'both')
3834
3834
  * 'both' - allows resizing by width or height
@@ -3933,23 +3933,23 @@ var Jo = {
3933
3933
  return D.default.number.apply(D.default, r);
3934
3934
  }
3935
3935
  };
3936
- Ie.resizableProps = Jo;
3936
+ Ie.resizableProps = Go;
3937
3937
  ze.__esModule = !0;
3938
3938
  ze.default = void 0;
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) {
3939
+ var $e = ta(ke), Jo = Wo, Zo = Tt, Qo = Ie, ea = ["children", "className", "draggableOpts", "width", "height", "handle", "handleSize", "lockAspectRatio", "axis", "minConstraints", "maxConstraints", "onResize", "onResizeStop", "onResizeStart", "resizeHandles", "transformScale"];
3940
+ function zr(e) {
3941
3941
  if (typeof WeakMap != "function") return null;
3942
3942
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
3943
- return (Ar = function(o) {
3943
+ return (zr = function(o) {
3944
3944
  return o ? r : t;
3945
3945
  })(e);
3946
3946
  }
3947
- function ra(e, t) {
3947
+ function ta(e, t) {
3948
3948
  if (e && e.__esModule)
3949
3949
  return e;
3950
3950
  if (e === null || typeof e != "object" && typeof e != "function")
3951
3951
  return { default: e };
3952
- var r = Ar(t);
3952
+ var r = zr(t);
3953
3953
  if (r && r.has(e))
3954
3954
  return r.get(e);
3955
3955
  var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -3970,7 +3970,7 @@ function Nt() {
3970
3970
  return e;
3971
3971
  }, Nt.apply(this, arguments);
3972
3972
  }
3973
- function na(e, t) {
3973
+ function ra(e, t) {
3974
3974
  if (e == null) return {};
3975
3975
  var r = {}, n = Object.keys(e), o, a;
3976
3976
  for (a = 0; a < n.length; a++)
@@ -3991,21 +3991,21 @@ function bt(e) {
3991
3991
  for (var t = 1; t < arguments.length; t++) {
3992
3992
  var r = arguments[t] != null ? arguments[t] : {};
3993
3993
  t % 2 ? pr(Object(r), !0).forEach(function(n) {
3994
- ia(e, n, r[n]);
3994
+ na(e, n, r[n]);
3995
3995
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : pr(Object(r)).forEach(function(n) {
3996
3996
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3997
3997
  });
3998
3998
  }
3999
3999
  return e;
4000
4000
  }
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;
4001
+ function na(e, t, r) {
4002
+ return t = ia(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4003
4003
  }
4004
- function oa(e) {
4005
- var t = aa(e, "string");
4004
+ function ia(e) {
4005
+ var t = oa(e, "string");
4006
4006
  return typeof t == "symbol" ? t : String(t);
4007
4007
  }
4008
- function aa(e, t) {
4008
+ function oa(e, t) {
4009
4009
  if (typeof e != "object" || e === null) return e;
4010
4010
  var r = e[Symbol.toPrimitive];
4011
4011
  if (r !== void 0) {
@@ -4015,7 +4015,7 @@ function aa(e, t) {
4015
4015
  }
4016
4016
  return (t === "string" ? String : Number)(e);
4017
4017
  }
4018
- function sa(e, t) {
4018
+ function aa(e, t) {
4019
4019
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Et(e, t);
4020
4020
  }
4021
4021
  function Et(e, t) {
@@ -4024,7 +4024,7 @@ function Et(e, t) {
4024
4024
  }, Et(e, t);
4025
4025
  }
4026
4026
  var jt = /* @__PURE__ */ function(e) {
4027
- sa(t, e);
4027
+ aa(t, e);
4028
4028
  function t() {
4029
4029
  for (var n, o = arguments.length, a = new Array(o), s = 0; s < o; s++)
4030
4030
  a[s] = arguments[s];
@@ -4096,12 +4096,12 @@ var jt = /* @__PURE__ */ function(e) {
4096
4096
  a.width, a.height, a.handle, a.handleSize, a.lockAspectRatio, a.axis, a.minConstraints, a.maxConstraints, a.onResize, a.onResizeStop, a.onResizeStart;
4097
4097
  var p = a.resizeHandles;
4098
4098
  a.transformScale;
4099
- var b = na(a, ta);
4100
- return (0, Qo.cloneElement)(s, bt(bt({}, b), {}, {
4099
+ var b = ra(a, ea);
4100
+ return (0, Zo.cloneElement)(s, bt(bt({}, b), {}, {
4101
4101
  className: (u ? u + " " : "") + "react-resizable",
4102
4102
  children: [].concat(s.props.children, p.map(function(N) {
4103
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, {
4104
+ return /* @__PURE__ */ $e.createElement(Jo.DraggableCore, Nt({}, m, {
4105
4105
  nodeRef: S,
4106
4106
  key: "resizableHandle-" + N,
4107
4107
  onStop: o.resizeHandler("onResizeStop", N),
@@ -4113,7 +4113,7 @@ var jt = /* @__PURE__ */ function(e) {
4113
4113
  }, t;
4114
4114
  }($e.Component);
4115
4115
  ze.default = jt;
4116
- jt.propTypes = ea.resizableProps;
4116
+ jt.propTypes = Qo.resizableProps;
4117
4117
  jt.defaultProps = {
4118
4118
  axis: "both",
4119
4119
  handleSize: [20, 20],
@@ -4126,23 +4126,23 @@ jt.defaultProps = {
4126
4126
  var Ze = {};
4127
4127
  Ze.__esModule = !0;
4128
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"];
4130
- function $r(e) {
4129
+ var ht = da(ke), sa = Ir(Xe), la = Ir(ze), ca = Ie, ua = ["handle", "handleSize", "onResize", "onResizeStart", "onResizeStop", "draggableOpts", "minConstraints", "maxConstraints", "lockAspectRatio", "axis", "width", "height", "resizeHandles", "style", "transformScale"];
4130
+ function Ir(e) {
4131
4131
  return e && e.__esModule ? e : { default: e };
4132
4132
  }
4133
- function zr(e) {
4133
+ function Hr(e) {
4134
4134
  if (typeof WeakMap != "function") return null;
4135
4135
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
4136
- return (zr = function(o) {
4136
+ return (Hr = function(o) {
4137
4137
  return o ? r : t;
4138
4138
  })(e);
4139
4139
  }
4140
- function fa(e, t) {
4140
+ function da(e, t) {
4141
4141
  if (e && e.__esModule)
4142
4142
  return e;
4143
4143
  if (e === null || typeof e != "object" && typeof e != "function")
4144
4144
  return { default: e };
4145
- var r = zr(t);
4145
+ var r = Hr(t);
4146
4146
  if (r && r.has(e))
4147
4147
  return r.get(e);
4148
4148
  var n = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
@@ -4177,21 +4177,21 @@ function Fe(e) {
4177
4177
  for (var t = 1; t < arguments.length; t++) {
4178
4178
  var r = arguments[t] != null ? arguments[t] : {};
4179
4179
  t % 2 ? br(Object(r), !0).forEach(function(n) {
4180
- ma(e, n, r[n]);
4180
+ fa(e, n, r[n]);
4181
4181
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : br(Object(r)).forEach(function(n) {
4182
4182
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
4183
4183
  });
4184
4184
  }
4185
4185
  return e;
4186
4186
  }
4187
- function ma(e, t, r) {
4188
- return t = pa(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4187
+ function fa(e, t, r) {
4188
+ return t = ma(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4189
4189
  }
4190
- function pa(e) {
4191
- var t = ba(e, "string");
4190
+ function ma(e) {
4191
+ var t = pa(e, "string");
4192
4192
  return typeof t == "symbol" ? t : String(t);
4193
4193
  }
4194
- function ba(e, t) {
4194
+ function pa(e, t) {
4195
4195
  if (typeof e != "object" || e === null) return e;
4196
4196
  var r = e[Symbol.toPrimitive];
4197
4197
  if (r !== void 0) {
@@ -4201,14 +4201,14 @@ function ba(e, t) {
4201
4201
  }
4202
4202
  return (t === "string" ? String : Number)(e);
4203
4203
  }
4204
- function ha(e, t) {
4204
+ function ba(e, t) {
4205
4205
  if (e == null) return {};
4206
4206
  var r = {}, n = Object.keys(e), o, a;
4207
4207
  for (a = 0; a < n.length; a++)
4208
4208
  o = n[a], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
4209
4209
  return r;
4210
4210
  }
4211
- function ya(e, t) {
4211
+ function ha(e, t) {
4212
4212
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, wt(e, t);
4213
4213
  }
4214
4214
  function wt(e, t) {
@@ -4216,8 +4216,8 @@ function wt(e, t) {
4216
4216
  return n.__proto__ = o, n;
4217
4217
  }, wt(e, t);
4218
4218
  }
4219
- var Ir = /* @__PURE__ */ function(e) {
4220
- ya(t, e);
4219
+ var Lr = /* @__PURE__ */ function(e) {
4220
+ ha(t, e);
4221
4221
  function t() {
4222
4222
  for (var n, o = arguments.length, a = new Array(o), s = 0; s < o; s++)
4223
4223
  a[s] = arguments[s];
@@ -4247,8 +4247,8 @@ var Ir = /* @__PURE__ */ function(e) {
4247
4247
  o.onResize;
4248
4248
  var u = o.onResizeStart, m = o.onResizeStop, p = o.draggableOpts, b = o.minConstraints, N = o.maxConstraints, O = o.lockAspectRatio, S = o.axis;
4249
4249
  o.width, o.height;
4250
- var A = o.resizeHandles, $ = o.style, B = o.transformScale, W = ha(o, da);
4251
- return /* @__PURE__ */ ht.createElement(ca.default, {
4250
+ var A = o.resizeHandles, $ = o.style, B = o.transformScale, W = ba(o, ua);
4251
+ return /* @__PURE__ */ ht.createElement(la.default, {
4252
4252
  axis: S,
4253
4253
  draggableOpts: p,
4254
4254
  handle: a,
@@ -4271,16 +4271,16 @@ var Ir = /* @__PURE__ */ function(e) {
4271
4271
  })));
4272
4272
  }, t;
4273
4273
  }(ht.Component);
4274
- Ze.default = Ir;
4275
- Ir.propTypes = Fe(Fe({}, ua.resizableProps), {}, {
4276
- children: la.default.element
4274
+ Ze.default = Lr;
4275
+ Lr.propTypes = Fe(Fe({}, ca.resizableProps), {}, {
4276
+ children: sa.default.element
4277
4277
  });
4278
4278
  Dt.exports = function() {
4279
4279
  throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable");
4280
4280
  };
4281
4281
  Dt.exports.Resizable = ze.default;
4282
- var va = Dt.exports.ResizableBox = Ze.default;
4283
- const ga = (e) => {
4282
+ var ya = Dt.exports.ResizableBox = Ze.default;
4283
+ const va = (e) => {
4284
4284
  const { editor: t } = Ct();
4285
4285
  if (!t) return null;
4286
4286
  const { node: r, updateAttributes: n } = e, [o, a] = he({
@@ -4289,8 +4289,8 @@ const ga = (e) => {
4289
4289
  }), [s, u] = he({
4290
4290
  left: r.attrs.marginLeft || 0,
4291
4291
  right: r.attrs.marginRight || 0
4292
- }), [m, p] = he(r.attrs.src || ""), b = sn(null);
4293
- ln(() => {
4292
+ }), [m, p] = he(r.attrs.src || ""), b = yr(null);
4293
+ vr(() => {
4294
4294
  if (r.attrs.src && b.current) {
4295
4295
  const S = new Image();
4296
4296
  S.onload = () => {
@@ -4318,8 +4318,8 @@ const ga = (e) => {
4318
4318
  marginRight: s.right
4319
4319
  });
4320
4320
  };
4321
- return /* @__PURE__ */ l.jsxDEV(yr, { className: "image-wrapper", children: /* @__PURE__ */ l.jsxDEV(
4322
- Sr,
4321
+ return /* @__PURE__ */ l.jsxDEV(gr, { className: "image-wrapper", children: /* @__PURE__ */ l.jsxDEV(
4322
+ Cr,
4323
4323
  {
4324
4324
  title: "Image",
4325
4325
  childrenContent: /* @__PURE__ */ l.jsxDEV(
@@ -4331,7 +4331,7 @@ const ga = (e) => {
4331
4331
  marginRight: s.right
4332
4332
  },
4333
4333
  children: t.isEditable ? /* @__PURE__ */ l.jsxDEV(
4334
- va,
4334
+ ya,
4335
4335
  {
4336
4336
  width: o.width,
4337
4337
  height: o.height,
@@ -4588,7 +4588,7 @@ const ga = (e) => {
4588
4588
  lineNumber: 66,
4589
4589
  columnNumber: 9
4590
4590
  }, void 0);
4591
- }, xa = gr.create({
4591
+ }, ga = Nr.create({
4592
4592
  name: "image",
4593
4593
  group: "block",
4594
4594
  content: "inline*",
@@ -4606,10 +4606,10 @@ const ga = (e) => {
4606
4606
  return [{ tag: "image" }];
4607
4607
  },
4608
4608
  renderHTML({ HTMLAttributes: e }) {
4609
- return ["image", xr(e)];
4609
+ return ["image", Er(e)];
4610
4610
  },
4611
4611
  addNodeView() {
4612
- return vr(ga);
4612
+ return xr(va);
4613
4613
  },
4614
4614
  addCommands() {
4615
4615
  return {
@@ -4619,13 +4619,13 @@ const ga = (e) => {
4619
4619
  }).run()
4620
4620
  };
4621
4621
  }
4622
- }), Na = [
4623
- bn.configure({
4624
- types: [Bt.name, pn.name]
4622
+ }), xa = [
4623
+ pn.configure({
4624
+ types: [Bt.name, mn.name]
4625
4625
  }),
4626
4626
  Bt,
4627
- yn.configure({ multicolor: !0 }),
4628
- hn.configure({
4627
+ hn.configure({ multicolor: !0 }),
4628
+ bn.configure({
4629
4629
  bulletList: {
4630
4630
  keepMarks: !0,
4631
4631
  keepAttributes: !1
@@ -4635,16 +4635,16 @@ const ga = (e) => {
4635
4635
  keepAttributes: !1
4636
4636
  }
4637
4637
  }),
4638
- Ki,
4638
+ Xi,
4639
+ yn,
4639
4640
  vn,
4640
4641
  gn,
4641
- xn,
4642
- Nn.configure({
4642
+ xn.configure({
4643
4643
  types: ["heading", "paragraph"]
4644
4644
  }),
4645
+ Nn,
4645
4646
  En,
4646
- Sn,
4647
- wn.configure({
4647
+ Sn.configure({
4648
4648
  resizable: !0,
4649
4649
  lastColumnResizable: !0,
4650
4650
  allowTableNodeSelection: !0,
@@ -4652,16 +4652,16 @@ const ga = (e) => {
4652
4652
  class: "table-wrapper"
4653
4653
  }
4654
4654
  }),
4655
+ wn,
4655
4656
  Cn,
4656
- kn,
4657
- Dn.configure({
4657
+ kn.configure({
4658
4658
  HTMLAttributes: {
4659
4659
  class: "table-cell"
4660
4660
  }
4661
4661
  }),
4662
- _n,
4663
- xa
4664
- ], Ya = ({
4662
+ Dn,
4663
+ ga
4664
+ ], qa = ({
4665
4665
  content: e = "",
4666
4666
  slotBefore: t = !1,
4667
4667
  className: r = "",
@@ -4669,37 +4669,42 @@ const ga = (e) => {
4669
4669
  editable: o = !0,
4670
4670
  onChange: a
4671
4671
  }) => {
4672
- const s = cn(() => Na, []), u = ({ editor: m }) => {
4673
- a && a(m.getHTML());
4672
+ const s = yr(null), u = ke.useMemo(() => xa, []), m = ({ editor: b }) => {
4673
+ a && a(b.getHTML());
4674
+ }, p = ({ editor: b }) => {
4675
+ s.current = b;
4674
4676
  };
4675
- return /* @__PURE__ */ l.jsxDEV("div", { className: `cyber-editor-container ${r}`, children: /* @__PURE__ */ l.jsxDEV(
4676
- dn,
4677
+ return vr(() => {
4678
+ s.current && e !== s.current.getHTML() && s.current.commands.setContent(e);
4679
+ }, [e]), /* @__PURE__ */ l.jsxDEV("div", { className: `cyber-editor-container ${r}`, children: /* @__PURE__ */ l.jsxDEV(
4680
+ un,
4677
4681
  {
4678
- slotBefore: t === !0 ? /* @__PURE__ */ l.jsxDEV(Bi, {}, void 0, !1, {
4682
+ slotBefore: t ? /* @__PURE__ */ l.jsxDEV(Fi, {}, void 0, !1, {
4679
4683
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/editor-provider.tsx",
4680
- lineNumber: 26,
4681
- columnNumber: 51
4684
+ lineNumber: 38,
4685
+ columnNumber: 42
4682
4686
  }, void 0) : null,
4683
- extensions: s,
4687
+ extensions: u,
4684
4688
  content: e,
4685
4689
  editable: o,
4686
- onUpdate: u,
4690
+ onUpdate: m,
4691
+ onCreate: p,
4687
4692
  editorContainerProps: { className: `${n}` }
4688
4693
  },
4689
4694
  void 0,
4690
4695
  !1,
4691
4696
  {
4692
4697
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/editor-provider.tsx",
4693
- lineNumber: 25,
4698
+ lineNumber: 37,
4694
4699
  columnNumber: 13
4695
4700
  },
4696
4701
  void 0
4697
4702
  ) }, void 0, !1, {
4698
4703
  fileName: "E:/CyberSkill/cyber-editor/src/extensions/editor-provider.tsx",
4699
- lineNumber: 24,
4704
+ lineNumber: 36,
4700
4705
  columnNumber: 9
4701
4706
  }, void 0);
4702
4707
  };
4703
4708
  export {
4704
- Ya as CyberEditorProvider
4709
+ qa as CyberEditorProvider
4705
4710
  };