sykpcomposer 0.0.259 → 0.0.260
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ImageComponent-aebf375a.js → ImageComponent-9df7866b.js} +3 -3
- package/dist/{ImageComponent-aebf375a.js.map → ImageComponent-9df7866b.js.map} +1 -1
- package/dist/{InlineImageComponent-8770a2c3.js → InlineImageComponent-dff3a244.js} +3 -3
- package/dist/{InlineImageComponent-8770a2c3.js.map → InlineImageComponent-dff3a244.js.map} +1 -1
- package/dist/{LexicalNestedComposer.prod-3361fad1.js → LexicalNestedComposer.prod-f8ecbbae.js} +2 -2
- package/dist/{LexicalNestedComposer.prod-3361fad1.js.map → LexicalNestedComposer.prod-f8ecbbae.js.map} +1 -1
- package/dist/{index-e5d75707.js → index-ff645d30.js} +365 -365
- package/dist/{index-e5d75707.js.map → index-ff645d30.js.map} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +13 -13
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -670,7 +670,7 @@ Check the top-level render call using <` + ve + ">.");
|
|
|
670
670
|
}(dh)), dh;
|
|
671
671
|
}
|
|
672
672
|
process.env.NODE_ENV === "production" ? Fh.exports = J_() : Fh.exports = K_();
|
|
673
|
-
var
|
|
673
|
+
var He = Fh.exports;
|
|
674
674
|
function G_(y) {
|
|
675
675
|
return y && y.__esModule && Object.prototype.hasOwnProperty.call(y, "default") ? y.default : y;
|
|
676
676
|
}
|
|
@@ -4778,7 +4778,7 @@ function Qg({ initialConfig: y, children: i }) {
|
|
|
4778
4778
|
return rw(() => {
|
|
4779
4779
|
const e = y.editable, [c] = p;
|
|
4780
4780
|
c.setEditable(e === void 0 || e);
|
|
4781
|
-
}, []),
|
|
4781
|
+
}, []), He.jsx(Tg.Provider, { value: p, children: i });
|
|
4782
4782
|
}
|
|
4783
4783
|
const Zv = {
|
|
4784
4784
|
autocomplete: "PlaygroundEditorTheme__autocomplete",
|
|
@@ -6630,7 +6630,7 @@ function rp() {
|
|
|
6630
6630
|
function Ir(y) {
|
|
6631
6631
|
return y instanceof zi;
|
|
6632
6632
|
}
|
|
6633
|
-
const Mw = lr.lazy(() => import("./ImageComponent-
|
|
6633
|
+
const Mw = lr.lazy(() => import("./ImageComponent-9df7866b.js"));
|
|
6634
6634
|
function Rw(y) {
|
|
6635
6635
|
const i = y;
|
|
6636
6636
|
if (i.src.startsWith("file:///"))
|
|
@@ -6731,7 +6731,7 @@ class Tc extends Cc {
|
|
|
6731
6731
|
return this.__altText;
|
|
6732
6732
|
}
|
|
6733
6733
|
decorate() {
|
|
6734
|
-
return /* @__PURE__ */
|
|
6734
|
+
return /* @__PURE__ */ He.jsx(Bf, { fallback: null, children: /* @__PURE__ */ He.jsx(
|
|
6735
6735
|
Mw,
|
|
6736
6736
|
{
|
|
6737
6737
|
src: this.__src,
|
|
@@ -6776,7 +6776,7 @@ function op({
|
|
|
6776
6776
|
function Dw(y) {
|
|
6777
6777
|
return y instanceof Tc;
|
|
6778
6778
|
}
|
|
6779
|
-
const Lw = lr.lazy(() => import("./InlineImageComponent-
|
|
6779
|
+
const Lw = lr.lazy(() => import("./InlineImageComponent-dff3a244.js"));
|
|
6780
6780
|
function Bw(y) {
|
|
6781
6781
|
if (y instanceof HTMLImageElement) {
|
|
6782
6782
|
const { alt: i, src: p, width: e, height: c } = y;
|
|
@@ -6893,7 +6893,7 @@ let ip = class m1 extends Cc {
|
|
|
6893
6893
|
return !1;
|
|
6894
6894
|
}
|
|
6895
6895
|
decorate() {
|
|
6896
|
-
return /* @__PURE__ */
|
|
6896
|
+
return /* @__PURE__ */ He.jsx(Bf, { fallback: null, children: /* @__PURE__ */ He.jsx(
|
|
6897
6897
|
Lw,
|
|
6898
6898
|
{
|
|
6899
6899
|
src: this.__src,
|
|
@@ -7594,9 +7594,9 @@ function tS({
|
|
|
7594
7594
|
type: n = "text",
|
|
7595
7595
|
name: t = ""
|
|
7596
7596
|
}) {
|
|
7597
|
-
return /* @__PURE__ */
|
|
7598
|
-
/* @__PURE__ */
|
|
7599
|
-
/* @__PURE__ */
|
|
7597
|
+
return /* @__PURE__ */ He.jsxs("div", { className: "Input__wrapper", children: [
|
|
7598
|
+
/* @__PURE__ */ He.jsx("label", { className: "Input__label", children: y }),
|
|
7599
|
+
/* @__PURE__ */ He.jsx(
|
|
7600
7600
|
"input",
|
|
7601
7601
|
{
|
|
7602
7602
|
type: n,
|
|
@@ -7616,7 +7616,7 @@ function nS({
|
|
|
7616
7616
|
"data-test-id": y,
|
|
7617
7617
|
children: i
|
|
7618
7618
|
}) {
|
|
7619
|
-
return /* @__PURE__ */
|
|
7619
|
+
return /* @__PURE__ */ He.jsx("div", { className: "DialogActions", "data-test-id": y, children: i });
|
|
7620
7620
|
}
|
|
7621
7621
|
function rS(...y) {
|
|
7622
7622
|
return y.filter(Boolean).join(" ");
|
|
@@ -7630,7 +7630,7 @@ function oS({
|
|
|
7630
7630
|
small: n,
|
|
7631
7631
|
title: t
|
|
7632
7632
|
}) {
|
|
7633
|
-
return /* @__PURE__ */
|
|
7633
|
+
return /* @__PURE__ */ He.jsx(
|
|
7634
7634
|
"button",
|
|
7635
7635
|
{
|
|
7636
7636
|
disabled: c,
|
|
@@ -7654,9 +7654,9 @@ function iS({
|
|
|
7654
7654
|
onChange: p,
|
|
7655
7655
|
"data-test-id": e
|
|
7656
7656
|
}) {
|
|
7657
|
-
return /* @__PURE__ */
|
|
7658
|
-
/* @__PURE__ */
|
|
7659
|
-
/* @__PURE__ */
|
|
7657
|
+
return /* @__PURE__ */ He.jsxs("div", { className: "Input__wrapper", children: [
|
|
7658
|
+
/* @__PURE__ */ He.jsx("label", { className: "Input__label", children: i }),
|
|
7659
|
+
/* @__PURE__ */ He.jsx(
|
|
7660
7660
|
"input",
|
|
7661
7661
|
{
|
|
7662
7662
|
type: "file",
|
|
@@ -7678,8 +7678,8 @@ function sS({
|
|
|
7678
7678
|
return typeof a.result == "string" && p(a.result), "";
|
|
7679
7679
|
}, o !== null && a.readAsDataURL(o[0]);
|
|
7680
7680
|
};
|
|
7681
|
-
return /* @__PURE__ */
|
|
7682
|
-
/* @__PURE__ */
|
|
7681
|
+
return /* @__PURE__ */ He.jsxs(He.Fragment, { children: [
|
|
7682
|
+
/* @__PURE__ */ He.jsx(
|
|
7683
7683
|
iS,
|
|
7684
7684
|
{
|
|
7685
7685
|
label: "Image Upload",
|
|
@@ -7688,7 +7688,7 @@ function sS({
|
|
|
7688
7688
|
"data-test-id": "image-modal-file-upload"
|
|
7689
7689
|
}
|
|
7690
7690
|
),
|
|
7691
|
-
/* @__PURE__ */
|
|
7691
|
+
/* @__PURE__ */ He.jsx(
|
|
7692
7692
|
tS,
|
|
7693
7693
|
{
|
|
7694
7694
|
label: "Alt Text",
|
|
@@ -7698,7 +7698,7 @@ function sS({
|
|
|
7698
7698
|
"data-test-id": "image-modal-alt-text-input"
|
|
7699
7699
|
}
|
|
7700
7700
|
),
|
|
7701
|
-
/* @__PURE__ */
|
|
7701
|
+
/* @__PURE__ */ He.jsx(nS, { children: /* @__PURE__ */ He.jsx(
|
|
7702
7702
|
oS,
|
|
7703
7703
|
{
|
|
7704
7704
|
"data-test-id": "image-modal-file-upload-btn",
|
|
@@ -7726,7 +7726,7 @@ function lS({
|
|
|
7726
7726
|
const n = (t) => {
|
|
7727
7727
|
y.dispatchCommand(am, t), i();
|
|
7728
7728
|
};
|
|
7729
|
-
return /* @__PURE__ */
|
|
7729
|
+
return /* @__PURE__ */ He.jsx(He.Fragment, { children: p === "file" && /* @__PURE__ */ He.jsx(sS, { onClick: n }) });
|
|
7730
7730
|
}
|
|
7731
7731
|
function cS(y, i) {
|
|
7732
7732
|
y.preventDefault();
|
|
@@ -7902,7 +7902,7 @@ const yS = Ui.createContext(null), bS = ({
|
|
|
7902
7902
|
}, m = () => {
|
|
7903
7903
|
i || (p((h) => (h === !1 && l({ aspect: 1, x: 0, y: 0, width: 100, height: 100 }), !h)), s(!1));
|
|
7904
7904
|
};
|
|
7905
|
-
return /* @__PURE__ */
|
|
7905
|
+
return /* @__PURE__ */ He.jsx(
|
|
7906
7906
|
yS.Provider,
|
|
7907
7907
|
{
|
|
7908
7908
|
value: {
|
|
@@ -10240,10 +10240,10 @@ var A1 = { exports: {} };
|
|
|
10240
10240
|
}
|
|
10241
10241
|
};
|
|
10242
10242
|
}
|
|
10243
|
-
var
|
|
10243
|
+
var qe = ["Webkit", "Moz", "ms"], gt = v.createElement("div").style, ft = {};
|
|
10244
10244
|
function me($) {
|
|
10245
|
-
for (var Q = $[0].toUpperCase() + $.slice(1), te =
|
|
10246
|
-
if ($ =
|
|
10245
|
+
for (var Q = $[0].toUpperCase() + $.slice(1), te = qe.length; te--; )
|
|
10246
|
+
if ($ = qe[te] + Q, $ in gt)
|
|
10247
10247
|
return $;
|
|
10248
10248
|
}
|
|
10249
10249
|
function Ue($) {
|
|
@@ -12907,7 +12907,7 @@ lg.renderStatic = lg.rewind;
|
|
|
12907
12907
|
const _E = ({ styleConfig: y }) => {
|
|
12908
12908
|
const { heading: i } = y;
|
|
12909
12909
|
let p = i.find((o) => o.title === "Heading1"), e = i.find((o) => o.title === "Heading2"), c = i.find((o) => o.title === "Heading3"), n = i.find((o) => o.title === "Heading4"), t = i.find((o) => o.title === "Heading5");
|
|
12910
|
-
return /* @__PURE__ */
|
|
12910
|
+
return /* @__PURE__ */ He.jsx(lg, { children: /* @__PURE__ */ He.jsx("style", { type: "text/css", children: `
|
|
12911
12911
|
.PlaygroundEditorTheme__h1 {
|
|
12912
12912
|
font-size: ${p ? p.fontSize : ""}px;
|
|
12913
12913
|
font-family: ${p ? p.fontFamily : ""};
|
|
@@ -12989,7 +12989,7 @@ function sa({
|
|
|
12989
12989
|
const { registerItem: t } = n;
|
|
12990
12990
|
return _n(() => {
|
|
12991
12991
|
c && c.current && t(c);
|
|
12992
|
-
}, [c, t]), /* @__PURE__ */
|
|
12992
|
+
}, [c, t]), /* @__PURE__ */ He.jsx(
|
|
12993
12993
|
"button",
|
|
12994
12994
|
{
|
|
12995
12995
|
className: i,
|
|
@@ -13029,7 +13029,7 @@ function SE({
|
|
|
13029
13029
|
);
|
|
13030
13030
|
return _n(() => {
|
|
13031
13031
|
e && !n && t(e[0]), n && n.current && n.current.focus();
|
|
13032
|
-
}, [e, n]), /* @__PURE__ */
|
|
13032
|
+
}, [e, n]), /* @__PURE__ */ He.jsx(L1.Provider, { value: r, children: /* @__PURE__ */ He.jsx("div", { className: "dropdown", ref: i, onKeyDown: a, children: y }) });
|
|
13033
13033
|
}
|
|
13034
13034
|
function um({
|
|
13035
13035
|
disabled: y = !1,
|
|
@@ -13076,8 +13076,8 @@ function um({
|
|
|
13076
13076
|
return document.addEventListener("scroll", u), () => {
|
|
13077
13077
|
document.removeEventListener("scroll", u);
|
|
13078
13078
|
};
|
|
13079
|
-
}, [a, o, r]), /* @__PURE__ */
|
|
13080
|
-
/* @__PURE__ */
|
|
13079
|
+
}, [a, o, r]), /* @__PURE__ */ He.jsxs(He.Fragment, { children: [
|
|
13080
|
+
/* @__PURE__ */ He.jsxs(
|
|
13081
13081
|
"button",
|
|
13082
13082
|
{
|
|
13083
13083
|
type: "button",
|
|
@@ -13087,20 +13087,20 @@ function um({
|
|
|
13087
13087
|
onClick: () => d(!r),
|
|
13088
13088
|
ref: a,
|
|
13089
13089
|
children: [
|
|
13090
|
-
c && /* @__PURE__ */
|
|
13091
|
-
i && /* @__PURE__ */
|
|
13092
|
-
/* @__PURE__ */
|
|
13090
|
+
c && /* @__PURE__ */ He.jsx("span", { className: c }),
|
|
13091
|
+
i && /* @__PURE__ */ He.jsx("span", { className: "text dropdown-button-text", children: i }),
|
|
13092
|
+
/* @__PURE__ */ He.jsx("i", { className: "chevron-down" })
|
|
13093
13093
|
]
|
|
13094
13094
|
}
|
|
13095
13095
|
),
|
|
13096
13096
|
r && yc(
|
|
13097
|
-
/* @__PURE__ */
|
|
13097
|
+
/* @__PURE__ */ He.jsx(SE, { dropDownRef: o, onClose: s, children: n }),
|
|
13098
13098
|
document.body
|
|
13099
13099
|
)
|
|
13100
13100
|
] });
|
|
13101
13101
|
}
|
|
13102
13102
|
function X0() {
|
|
13103
|
-
return /* @__PURE__ */
|
|
13103
|
+
return /* @__PURE__ */ He.jsx("div", { className: "divider" });
|
|
13104
13104
|
}
|
|
13105
13105
|
const eb = 8, tb = 72, Oa = {
|
|
13106
13106
|
h1: "Heading 1",
|
|
@@ -13279,8 +13279,8 @@ const eb = 8, tb = 72, Oa = {
|
|
|
13279
13279
|
s("paragraph"), r("11");
|
|
13280
13280
|
break;
|
|
13281
13281
|
}
|
|
13282
|
-
}, [o]), /* @__PURE__ */
|
|
13283
|
-
/* @__PURE__ */
|
|
13282
|
+
}, [o]), /* @__PURE__ */ He.jsxs(He.Fragment, { children: [
|
|
13283
|
+
/* @__PURE__ */ He.jsx(
|
|
13284
13284
|
"input",
|
|
13285
13285
|
{
|
|
13286
13286
|
title: "Font Size",
|
|
@@ -13295,9 +13295,9 @@ const eb = 8, tb = 72, Oa = {
|
|
|
13295
13295
|
onBlur: h
|
|
13296
13296
|
}
|
|
13297
13297
|
),
|
|
13298
|
-
/* @__PURE__ */
|
|
13299
|
-
c && c.heading ? /* @__PURE__ */
|
|
13300
|
-
/* @__PURE__ */
|
|
13298
|
+
/* @__PURE__ */ He.jsx(X0, {}),
|
|
13299
|
+
c && c.heading ? /* @__PURE__ */ He.jsxs("div", { title: Oa[d], className: "symbol-dropdown cust-head-dropDown", children: [
|
|
13300
|
+
/* @__PURE__ */ He.jsxs(
|
|
13301
13301
|
um,
|
|
13302
13302
|
{
|
|
13303
13303
|
disabled: i,
|
|
@@ -13306,86 +13306,86 @@ const eb = 8, tb = 72, Oa = {
|
|
|
13306
13306
|
buttonIconClassName: "icon block-type " + d,
|
|
13307
13307
|
buttonLabel: Oa[d],
|
|
13308
13308
|
children: [
|
|
13309
|
-
/* @__PURE__ */
|
|
13309
|
+
/* @__PURE__ */ He.jsxs(
|
|
13310
13310
|
sa,
|
|
13311
13311
|
{
|
|
13312
13312
|
className: `item ${d === "paragraph" ? "active" : ""}`,
|
|
13313
13313
|
onClick: () => v("paragraph"),
|
|
13314
13314
|
children: [
|
|
13315
|
-
/* @__PURE__ */
|
|
13316
|
-
/* @__PURE__ */
|
|
13315
|
+
/* @__PURE__ */ He.jsx("i", { className: "icon paragraph" }),
|
|
13316
|
+
/* @__PURE__ */ He.jsx("span", { className: "text", children: Oa.paragraph })
|
|
13317
13317
|
]
|
|
13318
13318
|
}
|
|
13319
13319
|
),
|
|
13320
13320
|
c.heading && c.heading.find(
|
|
13321
13321
|
(b) => b.title === "Heading1"
|
|
13322
|
-
) && /* @__PURE__ */
|
|
13322
|
+
) && /* @__PURE__ */ He.jsxs(
|
|
13323
13323
|
sa,
|
|
13324
13324
|
{
|
|
13325
13325
|
className: `item ${d === "h1" ? "active" : ""}`,
|
|
13326
13326
|
onClick: () => v("h1"),
|
|
13327
13327
|
children: [
|
|
13328
|
-
/* @__PURE__ */
|
|
13329
|
-
/* @__PURE__ */
|
|
13328
|
+
/* @__PURE__ */ He.jsx("i", { className: "icon h1" }),
|
|
13329
|
+
/* @__PURE__ */ He.jsx("span", { className: "text", children: Oa.h1 })
|
|
13330
13330
|
]
|
|
13331
13331
|
}
|
|
13332
13332
|
),
|
|
13333
13333
|
c.heading && c.heading.find(
|
|
13334
13334
|
(b) => b.title === "Heading2"
|
|
13335
|
-
) && /* @__PURE__ */
|
|
13335
|
+
) && /* @__PURE__ */ He.jsxs(
|
|
13336
13336
|
sa,
|
|
13337
13337
|
{
|
|
13338
13338
|
className: `item ${d === "h2" ? "active" : ""}`,
|
|
13339
13339
|
onClick: () => v("h2"),
|
|
13340
13340
|
children: [
|
|
13341
|
-
/* @__PURE__ */
|
|
13342
|
-
/* @__PURE__ */
|
|
13341
|
+
/* @__PURE__ */ He.jsx("i", { className: "icon h2" }),
|
|
13342
|
+
/* @__PURE__ */ He.jsx("span", { className: "text", children: Oa.h2 })
|
|
13343
13343
|
]
|
|
13344
13344
|
}
|
|
13345
13345
|
),
|
|
13346
13346
|
c.heading && c.heading.find(
|
|
13347
13347
|
(b) => b.title === "Heading3"
|
|
13348
|
-
) && /* @__PURE__ */
|
|
13348
|
+
) && /* @__PURE__ */ He.jsxs(
|
|
13349
13349
|
sa,
|
|
13350
13350
|
{
|
|
13351
13351
|
className: `item ${d === "h3" ? "active" : ""}`,
|
|
13352
13352
|
onClick: () => v("h3"),
|
|
13353
13353
|
children: [
|
|
13354
|
-
/* @__PURE__ */
|
|
13355
|
-
/* @__PURE__ */
|
|
13354
|
+
/* @__PURE__ */ He.jsx("i", { className: "icon h3" }),
|
|
13355
|
+
/* @__PURE__ */ He.jsx("span", { className: "text", children: Oa.h3 })
|
|
13356
13356
|
]
|
|
13357
13357
|
}
|
|
13358
13358
|
),
|
|
13359
13359
|
c.heading && c.heading.find(
|
|
13360
13360
|
(b) => b.title === "Heading4"
|
|
13361
|
-
) && /* @__PURE__ */
|
|
13361
|
+
) && /* @__PURE__ */ He.jsxs(
|
|
13362
13362
|
sa,
|
|
13363
13363
|
{
|
|
13364
13364
|
className: `item ${d === "h4" ? "active" : ""}`,
|
|
13365
13365
|
onClick: () => v("h4"),
|
|
13366
13366
|
children: [
|
|
13367
|
-
/* @__PURE__ */
|
|
13368
|
-
/* @__PURE__ */
|
|
13367
|
+
/* @__PURE__ */ He.jsx("i", { className: "icon h4" }),
|
|
13368
|
+
/* @__PURE__ */ He.jsx("span", { className: "text", children: Oa.h4 })
|
|
13369
13369
|
]
|
|
13370
13370
|
}
|
|
13371
13371
|
),
|
|
13372
13372
|
c.heading && c.heading.find(
|
|
13373
13373
|
(b) => b.title === "Heading5"
|
|
13374
|
-
) && /* @__PURE__ */
|
|
13374
|
+
) && /* @__PURE__ */ He.jsxs(
|
|
13375
13375
|
sa,
|
|
13376
13376
|
{
|
|
13377
13377
|
className: `item ${d === "h5" ? "active" : ""}`,
|
|
13378
13378
|
onClick: () => v("h5"),
|
|
13379
13379
|
children: [
|
|
13380
|
-
/* @__PURE__ */
|
|
13381
|
-
/* @__PURE__ */
|
|
13380
|
+
/* @__PURE__ */ He.jsx("i", { className: "icon h5" }),
|
|
13381
|
+
/* @__PURE__ */ He.jsx("span", { className: "text", children: Oa.h5 })
|
|
13382
13382
|
]
|
|
13383
13383
|
}
|
|
13384
13384
|
)
|
|
13385
13385
|
]
|
|
13386
13386
|
}
|
|
13387
13387
|
),
|
|
13388
|
-
/* @__PURE__ */
|
|
13388
|
+
/* @__PURE__ */ He.jsx(X0, {})
|
|
13389
13389
|
] }) : ""
|
|
13390
13390
|
] });
|
|
13391
13391
|
}, Zd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgUHJvIDYuMS4xIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlIChDb21tZXJjaWFsIExpY2Vuc2UpIENvcHlyaWdodCAyMDIyIEZvbnRpY29ucywgSW5jLi0tPjxwYXRoIGQ9Ik0wIDI1NkMwIDExNC42IDExNC42IDAgMjU2IDBzMjU2IDExNC42IDI1NiAyNTYtMTE0LjYgMjU2LTI1NiAyNTZTMCAzOTcuNCAwIDI1NnptMTc1LTQ3LjkgNDcuMSA0N0wxNzUgMzAzYy05LjMgOS40LTkuMyAyNC42IDAgMzMuMSA5LjQgMTAuMiAyNC42IDEwLjIgMzMuMSAwbDQ3LTQ2LjIgNDcuOSA0Ni4yYzkuNCAxMC4yIDI0LjYgMTAuMiAzMy4xIDAgMTAuMi04LjUgMTAuMi0yMy43IDAtMzMuMWwtNDYuMi00Ny45IDQ2LjItNDdjMTAuMi04LjUgMTAuMi0yMy43IDAtMzMuMS04LjUtOS4zLTIzLjctOS4zLTMzLjEgMGwtNDcuOSA0Ny4xLTQ3LTQ3LjFjLTguNS05LjMtMjMuNy05LjMtMzMuMSAwLTkuMyA5LjQtOS4zIDI0LjYgMCAzMy4xeiIvPjwvc3ZnPg==";
|
|
@@ -13400,12 +13400,12 @@ function CE({ onClose: y }) {
|
|
|
13400
13400
|
}, r = () => {
|
|
13401
13401
|
t(!1), y == null || y();
|
|
13402
13402
|
};
|
|
13403
|
-
return /* @__PURE__ */
|
|
13404
|
-
/* @__PURE__ */
|
|
13405
|
-
/* @__PURE__ */
|
|
13406
|
-
/* @__PURE__ */
|
|
13407
|
-
/* @__PURE__ */
|
|
13408
|
-
/* @__PURE__ */
|
|
13403
|
+
return /* @__PURE__ */ He.jsx(He.Fragment, { children: n && /* @__PURE__ */ He.jsx("div", { className: "modal-overlay", children: /* @__PURE__ */ He.jsxs("div", { className: "modal-content", children: [
|
|
13404
|
+
/* @__PURE__ */ He.jsx("h3", { children: "Select Table Dimensions" }),
|
|
13405
|
+
/* @__PURE__ */ He.jsx("button", { className: "modal-buttons-close", onClick: () => r(), children: /* @__PURE__ */ He.jsx("img", { src: Zd, height: 16, width: 16, style: { margin: "0 0 29px 10px" } }) }),
|
|
13406
|
+
/* @__PURE__ */ He.jsxs("div", { className: "select-table-container", children: [
|
|
13407
|
+
/* @__PURE__ */ He.jsx("label", { children: "Rows" }),
|
|
13408
|
+
/* @__PURE__ */ He.jsx(
|
|
13409
13409
|
"input",
|
|
13410
13410
|
{
|
|
13411
13411
|
type: "number",
|
|
@@ -13414,9 +13414,9 @@ function CE({ onClose: y }) {
|
|
|
13414
13414
|
}
|
|
13415
13415
|
)
|
|
13416
13416
|
] }),
|
|
13417
|
-
/* @__PURE__ */
|
|
13418
|
-
/* @__PURE__ */
|
|
13419
|
-
/* @__PURE__ */
|
|
13417
|
+
/* @__PURE__ */ He.jsxs("div", { className: "select-table-container", children: [
|
|
13418
|
+
/* @__PURE__ */ He.jsx("label", { children: "Column" }),
|
|
13419
|
+
/* @__PURE__ */ He.jsx(
|
|
13420
13420
|
"input",
|
|
13421
13421
|
{
|
|
13422
13422
|
type: "number",
|
|
@@ -13425,7 +13425,7 @@ function CE({ onClose: y }) {
|
|
|
13425
13425
|
}
|
|
13426
13426
|
)
|
|
13427
13427
|
] }),
|
|
13428
|
-
/* @__PURE__ */
|
|
13428
|
+
/* @__PURE__ */ He.jsx("div", { children: /* @__PURE__ */ He.jsx("div", { className: "modal-buttons", children: /* @__PURE__ */ He.jsx("button", { className: "toolbar-item", onClick: a, children: "Confirm" }) }) })
|
|
13429
13429
|
] }) }) });
|
|
13430
13430
|
}
|
|
13431
13431
|
const OE = [
|
|
@@ -13458,15 +13458,15 @@ function TE() {
|
|
|
13458
13458
|
}
|
|
13459
13459
|
}), p(!1);
|
|
13460
13460
|
};
|
|
13461
|
-
return /* @__PURE__ */
|
|
13461
|
+
return /* @__PURE__ */ He.jsx("div", { title: "Symbols", className: "symbol-dropdown cust-head-dropDown", children: /* @__PURE__ */ He.jsx(
|
|
13462
13462
|
um,
|
|
13463
13463
|
{
|
|
13464
13464
|
buttonClassName: "toolbar-item block-controls",
|
|
13465
13465
|
buttonAriaLabel: "For appying Symbols",
|
|
13466
13466
|
buttonLabel: "Symbols",
|
|
13467
|
-
children: /* @__PURE__ */
|
|
13468
|
-
/* @__PURE__ */
|
|
13469
|
-
/* @__PURE__ */
|
|
13467
|
+
children: /* @__PURE__ */ He.jsx("div", { className: "symbol-Flex-container", children: OE.map(({ letter: c, uppercase: n, lowercase: t }) => /* @__PURE__ */ He.jsxs("div", { className: "symbol-items", children: [
|
|
13468
|
+
/* @__PURE__ */ He.jsx(sa, { className: "terr", onClick: () => e(t), children: t }),
|
|
13469
|
+
/* @__PURE__ */ He.jsx(sa, { className: "terr", onClick: () => e(n), children: n })
|
|
13470
13470
|
] }, c)) })
|
|
13471
13471
|
}
|
|
13472
13472
|
) });
|
|
@@ -13718,44 +13718,44 @@ function sC({
|
|
|
13718
13718
|
}
|
|
13719
13719
|
});
|
|
13720
13720
|
};
|
|
13721
|
-
return p ? /* @__PURE__ */
|
|
13722
|
-
e && /* @__PURE__ */
|
|
13723
|
-
/* @__PURE__ */
|
|
13721
|
+
return p ? /* @__PURE__ */ He.jsxs(He.Fragment, { children: [
|
|
13722
|
+
e && /* @__PURE__ */ He.jsxs("div", { children: [
|
|
13723
|
+
/* @__PURE__ */ He.jsx(
|
|
13724
13724
|
"button",
|
|
13725
13725
|
{
|
|
13726
13726
|
className: "PlaygroundEditorTheme__tableAddRows",
|
|
13727
13727
|
style: { ...r, flex: "50%", padding: "20px" },
|
|
13728
13728
|
onClick: () => m(!0),
|
|
13729
|
-
children: /* @__PURE__ */
|
|
13729
|
+
children: /* @__PURE__ */ He.jsx("img", { src: nb, height: 14, width: 14, style: { backgroundColor: "#90EE90", marginLeft: "-3px", borderRadius: "20px" } })
|
|
13730
13730
|
}
|
|
13731
13731
|
),
|
|
13732
|
-
/* @__PURE__ */
|
|
13732
|
+
/* @__PURE__ */ He.jsx(
|
|
13733
13733
|
"button",
|
|
13734
13734
|
{
|
|
13735
13735
|
className: "PlaygroundEditorTheme__tableAddRows",
|
|
13736
13736
|
style: { ...r, flex: "50%" },
|
|
13737
13737
|
onClick: () => h(!0),
|
|
13738
|
-
children: /* @__PURE__ */
|
|
13738
|
+
children: /* @__PURE__ */ He.jsx("img", { src: rb, height: 14, width: 14, style: { backgroundColor: "#FFCCCB", marginLeft: "-3px", borderRadius: "20px" } })
|
|
13739
13739
|
}
|
|
13740
13740
|
)
|
|
13741
13741
|
] }),
|
|
13742
|
-
n && /* @__PURE__ */
|
|
13743
|
-
/* @__PURE__ */
|
|
13742
|
+
n && /* @__PURE__ */ He.jsxs("div", { className: "table-add-row-flex-container", children: [
|
|
13743
|
+
/* @__PURE__ */ He.jsx(
|
|
13744
13744
|
"button",
|
|
13745
13745
|
{
|
|
13746
13746
|
className: "PlaygroundEditorTheme__tableAddColumns table-add-row-flex-children",
|
|
13747
13747
|
style: { ...r, flex: "50%", padding: "20px" },
|
|
13748
13748
|
onClick: () => m(!1),
|
|
13749
|
-
children: /* @__PURE__ */
|
|
13749
|
+
children: /* @__PURE__ */ He.jsx("img", { src: nb, height: 14, width: 14, style: { backgroundColor: "#90EE90", marginLeft: "3px", borderRadius: "20px", border: "green" } })
|
|
13750
13750
|
}
|
|
13751
13751
|
),
|
|
13752
|
-
/* @__PURE__ */
|
|
13752
|
+
/* @__PURE__ */ He.jsx(
|
|
13753
13753
|
"button",
|
|
13754
13754
|
{
|
|
13755
13755
|
className: "PlaygroundEditorTheme__tableAddColumns table-add-row-flex-children",
|
|
13756
13756
|
style: { ...r, flex: "30%" },
|
|
13757
13757
|
onClick: () => h(!1),
|
|
13758
|
-
children: /* @__PURE__ */
|
|
13758
|
+
children: /* @__PURE__ */ He.jsx("img", { src: rb, height: 14, width: 14, style: { backgroundColor: "#FFCCCB", marginLeft: "-3px", borderRadius: "20px", border: "green" } })
|
|
13759
13759
|
}
|
|
13760
13760
|
)
|
|
13761
13761
|
] })
|
|
@@ -13779,7 +13779,7 @@ function cC({
|
|
|
13779
13779
|
anchorElem: y = document.body
|
|
13780
13780
|
}) {
|
|
13781
13781
|
return Gu() ? yc(
|
|
13782
|
-
/* @__PURE__ */
|
|
13782
|
+
/* @__PURE__ */ He.jsx(sC, { anchorElem: y }),
|
|
13783
13783
|
y
|
|
13784
13784
|
) : null;
|
|
13785
13785
|
}
|
|
@@ -13803,9 +13803,9 @@ function uC({
|
|
|
13803
13803
|
return a !== null && (n = a.parentElement, n !== null && n.addEventListener("click", o)), window.addEventListener("keydown", t), () => {
|
|
13804
13804
|
window.removeEventListener("keydown", t), n !== null && (n == null || n.removeEventListener("click", o));
|
|
13805
13805
|
};
|
|
13806
|
-
}, [e, y]), /* @__PURE__ */
|
|
13807
|
-
/* @__PURE__ */
|
|
13808
|
-
/* @__PURE__ */
|
|
13806
|
+
}, [e, y]), /* @__PURE__ */ He.jsx("div", { className: "Modal__overlay", role: "dialog", children: /* @__PURE__ */ He.jsxs("div", { className: "Modal__modal", tabIndex: -1, ref: c, children: [
|
|
13807
|
+
/* @__PURE__ */ He.jsx("h2", { className: "Modal__title", children: p }),
|
|
13808
|
+
/* @__PURE__ */ He.jsx(
|
|
13809
13809
|
"button",
|
|
13810
13810
|
{
|
|
13811
13811
|
className: "Modal__closeButton",
|
|
@@ -13815,7 +13815,7 @@ function uC({
|
|
|
13815
13815
|
children: "X"
|
|
13816
13816
|
}
|
|
13817
13817
|
),
|
|
13818
|
-
/* @__PURE__ */
|
|
13818
|
+
/* @__PURE__ */ He.jsx("div", { className: "Modal__content", children: i })
|
|
13819
13819
|
] }) });
|
|
13820
13820
|
}
|
|
13821
13821
|
function dC({
|
|
@@ -13825,7 +13825,7 @@ function dC({
|
|
|
13825
13825
|
closeOnClickOutside: e = !1
|
|
13826
13826
|
}) {
|
|
13827
13827
|
return yc(
|
|
13828
|
-
/* @__PURE__ */
|
|
13828
|
+
/* @__PURE__ */ He.jsx(
|
|
13829
13829
|
uC,
|
|
13830
13830
|
{
|
|
13831
13831
|
onClose: y,
|
|
@@ -13844,7 +13844,7 @@ function fC() {
|
|
|
13844
13844
|
if (y === null)
|
|
13845
13845
|
return null;
|
|
13846
13846
|
const { title: n, content: t, closeOnClickOutside: o } = y;
|
|
13847
|
-
return /* @__PURE__ */
|
|
13847
|
+
return /* @__PURE__ */ He.jsx(
|
|
13848
13848
|
dC,
|
|
13849
13849
|
{
|
|
13850
13850
|
onClose: p,
|
|
@@ -13912,7 +13912,7 @@ const pC = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idX
|
|
|
13912
13912
|
n === "local" && location.reload(), n === "remote" && c();
|
|
13913
13913
|
}, 1e3), l();
|
|
13914
13914
|
};
|
|
13915
|
-
return /* @__PURE__ */
|
|
13915
|
+
return /* @__PURE__ */ He.jsx("button", { className: `green-button-paste ${o.length > 100 ? "" : "disable-btn"}`, onClick: F, children: "Insert Node" });
|
|
13916
13916
|
}
|
|
13917
13917
|
function h(I, M) {
|
|
13918
13918
|
const F = /font-weight:\s*([a-zA-Z0-9\-]+);/, N = /text-decoration:\s*([^;]+?)(?=\s*;|\s*$)/, R = /font-style:\s*([a-zA-Z0-9\-]+);/, j = /font-size:\s*([\d.]+(?:px|pt|em|rem|%)?)/, O = /color:\s*([^;]+)/, A = I.match(F), D = I.match(N), L = I.match(R), J = I.match(j), k = I.match(O), z = A ? A[1] : null, W = D ? D[1] : null, K = L ? L[1] : null, B = J ? J[1] : null, H = k ? k[1] : null;
|
|
@@ -14028,29 +14028,29 @@ const pC = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idX
|
|
|
14028
14028
|
}, C = () => {
|
|
14029
14029
|
e(!1), a("");
|
|
14030
14030
|
};
|
|
14031
|
-
return /* @__PURE__ */
|
|
14032
|
-
/* @__PURE__ */
|
|
14031
|
+
return /* @__PURE__ */ He.jsxs(He.Fragment, { children: [
|
|
14032
|
+
/* @__PURE__ */ He.jsx(
|
|
14033
14033
|
"button",
|
|
14034
14034
|
{
|
|
14035
14035
|
title: "MS-Word content paste",
|
|
14036
14036
|
className: "toolbar-item space insert-ms-word-btn",
|
|
14037
14037
|
onClick: w,
|
|
14038
|
-
children: /* @__PURE__ */
|
|
14038
|
+
children: /* @__PURE__ */ He.jsx("img", { src: pC, height: 16, width: 16 })
|
|
14039
14039
|
}
|
|
14040
14040
|
),
|
|
14041
|
-
i && i.length > 0 ? y && /* @__PURE__ */
|
|
14042
|
-
/* @__PURE__ */
|
|
14043
|
-
/* @__PURE__ */
|
|
14044
|
-
/* @__PURE__ */
|
|
14041
|
+
i && i.length > 0 ? y && /* @__PURE__ */ He.jsx("div", { className: "modal-overlay", children: /* @__PURE__ */ He.jsxs("div", { className: "modal-content custom-paste-modal-content", children: [
|
|
14042
|
+
/* @__PURE__ */ He.jsx("h3", { children: "Paste MS Word Content below" }),
|
|
14043
|
+
/* @__PURE__ */ He.jsx("button", { className: "modal-buttons-close", onClick: C, children: /* @__PURE__ */ He.jsx("img", { src: Zd, height: 16, width: 16, style: { margin: "0 0 29px 10px" } }) }),
|
|
14044
|
+
/* @__PURE__ */ He.jsxs("div", { className: "select-table-container", children: [
|
|
14045
14045
|
o.length > 100,
|
|
14046
|
-
/* @__PURE__ */
|
|
14046
|
+
/* @__PURE__ */ He.jsx(
|
|
14047
14047
|
"textarea",
|
|
14048
14048
|
{
|
|
14049
14049
|
onPaste: x,
|
|
14050
14050
|
className: o && o.length > 100 ? "small-paste-area" : "enlarge-paste-area"
|
|
14051
14051
|
}
|
|
14052
14052
|
),
|
|
14053
|
-
/* @__PURE__ */
|
|
14053
|
+
/* @__PURE__ */ He.jsx(
|
|
14054
14054
|
"div",
|
|
14055
14055
|
{
|
|
14056
14056
|
contentEditable: !0,
|
|
@@ -14060,16 +14060,16 @@ const pC = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idX
|
|
|
14060
14060
|
}
|
|
14061
14061
|
)
|
|
14062
14062
|
] }),
|
|
14063
|
-
/* @__PURE__ */
|
|
14064
|
-
/* @__PURE__ */
|
|
14065
|
-
/* @__PURE__ */
|
|
14063
|
+
/* @__PURE__ */ He.jsx("div", { children: /* @__PURE__ */ He.jsxs("div", { className: "modal-buttons", children: [
|
|
14064
|
+
/* @__PURE__ */ He.jsx("button", { className: `red-button-paste ${o.length > 100 ? "" : "disable-btn"}`, onClick: g, children: "Reset" }),
|
|
14065
|
+
/* @__PURE__ */ He.jsx(m, {})
|
|
14066
14066
|
] }) })
|
|
14067
|
-
] }) }) : y && /* @__PURE__ */
|
|
14068
|
-
/* @__PURE__ */
|
|
14069
|
-
/* @__PURE__ */
|
|
14070
|
-
/* @__PURE__ */
|
|
14067
|
+
] }) }) : y && /* @__PURE__ */ He.jsx("div", { className: "modal-overlay", children: p ? /* @__PURE__ */ He.jsxs("div", { className: "modal-content custom-paste-modal-content", children: [
|
|
14068
|
+
/* @__PURE__ */ He.jsx("h3", { children: "Paste MS Word Content below" }),
|
|
14069
|
+
/* @__PURE__ */ He.jsx("button", { className: "modal-buttons-close", onClick: C, children: /* @__PURE__ */ He.jsx("img", { src: Zd, height: 16, width: 16, style: { margin: "0 0 29px 10px" } }) }),
|
|
14070
|
+
/* @__PURE__ */ He.jsxs("div", { className: "select-table-container", children: [
|
|
14071
14071
|
o.length > 100,
|
|
14072
|
-
/* @__PURE__ */
|
|
14072
|
+
/* @__PURE__ */ He.jsx(
|
|
14073
14073
|
"div",
|
|
14074
14074
|
{
|
|
14075
14075
|
className: "text-area-loading",
|
|
@@ -14077,19 +14077,19 @@ const pC = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idX
|
|
|
14077
14077
|
}
|
|
14078
14078
|
)
|
|
14079
14079
|
] })
|
|
14080
|
-
] }) : /* @__PURE__ */
|
|
14081
|
-
/* @__PURE__ */
|
|
14082
|
-
/* @__PURE__ */
|
|
14083
|
-
/* @__PURE__ */
|
|
14080
|
+
] }) : /* @__PURE__ */ He.jsxs("div", { className: "modal-content custom-paste-modal-content", children: [
|
|
14081
|
+
/* @__PURE__ */ He.jsx("h3", { children: "Paste MS Word Content below" }),
|
|
14082
|
+
/* @__PURE__ */ He.jsx("button", { className: "modal-buttons-close", onClick: C, children: /* @__PURE__ */ He.jsx("img", { src: Zd, height: 16, width: 16, style: { margin: "0 0 29px 10px" } }) }),
|
|
14083
|
+
/* @__PURE__ */ He.jsxs("div", { className: "select-table-container", children: [
|
|
14084
14084
|
o.length > 100,
|
|
14085
|
-
/* @__PURE__ */
|
|
14085
|
+
/* @__PURE__ */ He.jsx(
|
|
14086
14086
|
"textarea",
|
|
14087
14087
|
{
|
|
14088
14088
|
onPaste: x,
|
|
14089
14089
|
className: o && o.length > 100 ? "small-paste-area" : "enlarge-paste-area"
|
|
14090
14090
|
}
|
|
14091
14091
|
),
|
|
14092
|
-
/* @__PURE__ */
|
|
14092
|
+
/* @__PURE__ */ He.jsx(
|
|
14093
14093
|
"div",
|
|
14094
14094
|
{
|
|
14095
14095
|
contentEditable: !0,
|
|
@@ -14099,15 +14099,15 @@ const pC = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idX
|
|
|
14099
14099
|
}
|
|
14100
14100
|
)
|
|
14101
14101
|
] }),
|
|
14102
|
-
/* @__PURE__ */
|
|
14103
|
-
/* @__PURE__ */
|
|
14104
|
-
/* @__PURE__ */
|
|
14102
|
+
/* @__PURE__ */ He.jsx("div", { children: /* @__PURE__ */ He.jsxs("div", { className: "modal-buttons", children: [
|
|
14103
|
+
/* @__PURE__ */ He.jsx("button", { className: `red-button-paste ${o.length > 100 ? "" : "disable-btn"}`, onClick: g, children: "Reset" }),
|
|
14104
|
+
/* @__PURE__ */ He.jsx(m, {})
|
|
14105
14105
|
] }) })
|
|
14106
14106
|
] }) })
|
|
14107
14107
|
] });
|
|
14108
14108
|
}, gC = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktdGFibGUiPjxwYXRoIGQ9Ik0wIDJhMiAyIDAgMCAxIDItMmgxMmEyIDIgMCAwIDEgMiAydjEyYTIgMiAwIDAgMS0yIDJIMmEyIDIgMCAwIDEtMi0yVjJ6bTE1IDJoLTR2M2g0VjR6bTAgNGgtNHYzaDRWOHptMCA0aC00djNoM2ExIDEgMCAwIDAgMS0xdi0yem0tNSAzdi0zSDZ2M2g0em0tNSAwdi0zSDF2MmExIDEgMCAwIDAgMSAxaDN6bS00LTRoNFY4SDF2M3ptMC00aDRWNEgxdjN6bTUtM3YzaDRWNEg2em00IDRINnYzaDRWOHoiLz48L3N2Zz4=", mC = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0naXNvLTg4NTktMSc/Pgo8IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPgo8c3ZnIGZpbGw9IiMwMDAwMDAiIGhlaWdodD0iODAwcHgiIHdpZHRoPSI4MDBweCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNTAgMzUwIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzUwIDM1MCI+CiAgPHBhdGggZD0iTTUsMzUwaDM0MFYwSDVWMzUweiBNMjUsMzMwdi02Mi4yMTJoMzAwVjMzMEgyNXogTTE3OS41MDksMjQ3LjQ5NEg2MC40OTFMMTIwLDE3MS4yNTNMMTc5LjUwOSwyNDcuNDk0eiAgIE0xNzYuNDQzLDIxMS4wNjFsMzMuNjgzLTMyLjMyM2w3NC42NTQsNjkuMDVoLTc5LjY3TDE3Ni40NDMsMjExLjA2MXogTTMyNSw5Ni41NzRjLTYuMzg0LDIuMjY5LTEzLjA4NSwzLjQyNi0yMCwzLjQyNiAgYy0zMy4wODQsMC02MC0yNi45MTYtNjAtNjBjMC02LjkxMSwxLjE1Ni0xMy42MTIsMy40MjItMjBIMzI1Vjk2LjU3NHogTTI1LDIwaDIwMi41MTZDMjI1Ljg0NSwyNi40NzksMjI1LDMzLjE2NiwyMjUsNDAgIGMwLDQ0LjExMiwzNS44ODgsODAsODAsODBjNi44MzcsMCwxMy41MjMtMC44NDYsMjAtMi41MTh2MTMwLjMwNmgtMTAuNzY3bC0xMDQuMzU5LTk2LjUyNmwtNDUuODAxLDQzLjk1MUwxMjAsMTM4Ljc0OCAgbC04NS4xMDksMTA5LjA0SDI1VjIweiIvPgo8L3N2Zz4=", cu = 1;
|
|
14109
14109
|
function Fl() {
|
|
14110
|
-
return /* @__PURE__ */
|
|
14110
|
+
return /* @__PURE__ */ He.jsx("div", { className: "divider" });
|
|
14111
14111
|
}
|
|
14112
14112
|
function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c }) {
|
|
14113
14113
|
const [n] = ir(), t = wr(null), [o, a] = un(!1), [r, d] = un(!1), [s, u] = un(!1), [l, f] = un(!1), [m, h] = un(!1), [v, _] = un(!1), [b, S] = un(!1), [E, x] = un(!1), [g, w] = un("11px"), [C, I] = un(() => n.isEditable()), [M, F] = un(""), [N, R] = un(""), [j, O] = un(""), [A, D] = fC(), [L, J] = un(!1), k = Mn(() => {
|
|
@@ -14203,8 +14203,8 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14203
14203
|
(K) => (F("Enter"), !0),
|
|
14204
14204
|
cu
|
|
14205
14205
|
)
|
|
14206
|
-
), [n, k, W]), /* @__PURE__ */
|
|
14207
|
-
/* @__PURE__ */
|
|
14206
|
+
), [n, k, W]), /* @__PURE__ */ He.jsxs("div", { className: "toolbar", ref: t, children: [
|
|
14207
|
+
/* @__PURE__ */ He.jsx(
|
|
14208
14208
|
"button",
|
|
14209
14209
|
{
|
|
14210
14210
|
title: "Undo",
|
|
@@ -14214,10 +14214,10 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14214
14214
|
},
|
|
14215
14215
|
className: "toolbar-item spaced",
|
|
14216
14216
|
"aria-label": "Undo",
|
|
14217
|
-
children: /* @__PURE__ */
|
|
14217
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format undo" })
|
|
14218
14218
|
}
|
|
14219
14219
|
),
|
|
14220
|
-
/* @__PURE__ */
|
|
14220
|
+
/* @__PURE__ */ He.jsx(
|
|
14221
14221
|
"button",
|
|
14222
14222
|
{
|
|
14223
14223
|
title: "Redo",
|
|
@@ -14227,11 +14227,11 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14227
14227
|
},
|
|
14228
14228
|
className: "toolbar-item",
|
|
14229
14229
|
"aria-label": "Redo",
|
|
14230
|
-
children: /* @__PURE__ */
|
|
14230
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format redo" })
|
|
14231
14231
|
}
|
|
14232
14232
|
),
|
|
14233
|
-
/* @__PURE__ */
|
|
14234
|
-
/* @__PURE__ */
|
|
14233
|
+
/* @__PURE__ */ He.jsx(Fl, {}),
|
|
14234
|
+
/* @__PURE__ */ He.jsx(
|
|
14235
14235
|
EE,
|
|
14236
14236
|
{
|
|
14237
14237
|
currentElementClick: N,
|
|
@@ -14244,8 +14244,8 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14244
14244
|
currentElementSelect: j
|
|
14245
14245
|
}
|
|
14246
14246
|
),
|
|
14247
|
-
/* @__PURE__ */
|
|
14248
|
-
/* @__PURE__ */
|
|
14247
|
+
/* @__PURE__ */ He.jsx(Fl, {}),
|
|
14248
|
+
/* @__PURE__ */ He.jsx(
|
|
14249
14249
|
"button",
|
|
14250
14250
|
{
|
|
14251
14251
|
title: "Bold",
|
|
@@ -14254,10 +14254,10 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14254
14254
|
},
|
|
14255
14255
|
className: "toolbar-item spaced " + (s ? "active" : ""),
|
|
14256
14256
|
"aria-label": "Format Bold",
|
|
14257
|
-
children: /* @__PURE__ */
|
|
14257
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format bold" })
|
|
14258
14258
|
}
|
|
14259
14259
|
),
|
|
14260
|
-
/* @__PURE__ */
|
|
14260
|
+
/* @__PURE__ */ He.jsx(
|
|
14261
14261
|
"button",
|
|
14262
14262
|
{
|
|
14263
14263
|
title: "Italic",
|
|
@@ -14266,10 +14266,10 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14266
14266
|
},
|
|
14267
14267
|
className: "toolbar-item spaced " + (l ? "active" : ""),
|
|
14268
14268
|
"aria-label": "Format Italics",
|
|
14269
|
-
children: /* @__PURE__ */
|
|
14269
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format italic" })
|
|
14270
14270
|
}
|
|
14271
14271
|
),
|
|
14272
|
-
/* @__PURE__ */
|
|
14272
|
+
/* @__PURE__ */ He.jsx(
|
|
14273
14273
|
"button",
|
|
14274
14274
|
{
|
|
14275
14275
|
title: "Underline",
|
|
@@ -14278,10 +14278,10 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14278
14278
|
},
|
|
14279
14279
|
className: "toolbar-item spaced " + (m ? "active" : ""),
|
|
14280
14280
|
"aria-label": "Format Underline",
|
|
14281
|
-
children: /* @__PURE__ */
|
|
14281
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format underline" })
|
|
14282
14282
|
}
|
|
14283
14283
|
),
|
|
14284
|
-
/* @__PURE__ */
|
|
14284
|
+
/* @__PURE__ */ He.jsx(
|
|
14285
14285
|
"button",
|
|
14286
14286
|
{
|
|
14287
14287
|
title: "Strikethrough",
|
|
@@ -14290,10 +14290,10 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14290
14290
|
},
|
|
14291
14291
|
className: "toolbar-item spaced " + (v ? "active" : ""),
|
|
14292
14292
|
"aria-label": "Format Strikethrough",
|
|
14293
|
-
children: /* @__PURE__ */
|
|
14293
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format strikethrough" })
|
|
14294
14294
|
}
|
|
14295
14295
|
),
|
|
14296
|
-
/* @__PURE__ */
|
|
14296
|
+
/* @__PURE__ */ He.jsx(
|
|
14297
14297
|
"button",
|
|
14298
14298
|
{
|
|
14299
14299
|
title: "SuperScript",
|
|
@@ -14302,7 +14302,7 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14302
14302
|
},
|
|
14303
14303
|
className: "toolbar-item spaced " + (E ? "active" : ""),
|
|
14304
14304
|
"aria-label": "Format SuperScript",
|
|
14305
|
-
children: /* @__PURE__ */
|
|
14305
|
+
children: /* @__PURE__ */ He.jsx(
|
|
14306
14306
|
"img",
|
|
14307
14307
|
{
|
|
14308
14308
|
src: wE,
|
|
@@ -14313,7 +14313,7 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14313
14313
|
)
|
|
14314
14314
|
}
|
|
14315
14315
|
),
|
|
14316
|
-
/* @__PURE__ */
|
|
14316
|
+
/* @__PURE__ */ He.jsx(
|
|
14317
14317
|
"button",
|
|
14318
14318
|
{
|
|
14319
14319
|
title: "SubScript",
|
|
@@ -14322,7 +14322,7 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14322
14322
|
},
|
|
14323
14323
|
className: "toolbar-item spaced " + (b ? "active" : ""),
|
|
14324
14324
|
"aria-label": "Format SubScript",
|
|
14325
|
-
children: /* @__PURE__ */
|
|
14325
|
+
children: /* @__PURE__ */ He.jsx(
|
|
14326
14326
|
"img",
|
|
14327
14327
|
{
|
|
14328
14328
|
src: xE,
|
|
@@ -14333,8 +14333,8 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14333
14333
|
)
|
|
14334
14334
|
}
|
|
14335
14335
|
),
|
|
14336
|
-
/* @__PURE__ */
|
|
14337
|
-
/* @__PURE__ */
|
|
14336
|
+
/* @__PURE__ */ He.jsx(Fl, {}),
|
|
14337
|
+
/* @__PURE__ */ He.jsx(
|
|
14338
14338
|
"button",
|
|
14339
14339
|
{
|
|
14340
14340
|
title: "Left Align",
|
|
@@ -14343,10 +14343,10 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14343
14343
|
},
|
|
14344
14344
|
className: "toolbar-item spaced",
|
|
14345
14345
|
"aria-label": "Left Align",
|
|
14346
|
-
children: /* @__PURE__ */
|
|
14346
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format left-align" })
|
|
14347
14347
|
}
|
|
14348
14348
|
),
|
|
14349
|
-
/* @__PURE__ */
|
|
14349
|
+
/* @__PURE__ */ He.jsx(
|
|
14350
14350
|
"button",
|
|
14351
14351
|
{
|
|
14352
14352
|
title: "Center Align",
|
|
@@ -14355,10 +14355,10 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14355
14355
|
},
|
|
14356
14356
|
className: "toolbar-item spaced",
|
|
14357
14357
|
"aria-label": "Center Align",
|
|
14358
|
-
children: /* @__PURE__ */
|
|
14358
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format center-align" })
|
|
14359
14359
|
}
|
|
14360
14360
|
),
|
|
14361
|
-
/* @__PURE__ */
|
|
14361
|
+
/* @__PURE__ */ He.jsx(
|
|
14362
14362
|
"button",
|
|
14363
14363
|
{
|
|
14364
14364
|
title: "Right Align",
|
|
@@ -14367,10 +14367,10 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14367
14367
|
},
|
|
14368
14368
|
className: "toolbar-item spaced",
|
|
14369
14369
|
"aria-label": "Right Align",
|
|
14370
|
-
children: /* @__PURE__ */
|
|
14370
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format right-align" })
|
|
14371
14371
|
}
|
|
14372
14372
|
),
|
|
14373
|
-
/* @__PURE__ */
|
|
14373
|
+
/* @__PURE__ */ He.jsx(
|
|
14374
14374
|
"button",
|
|
14375
14375
|
{
|
|
14376
14376
|
title: "Justify Align",
|
|
@@ -14379,12 +14379,12 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14379
14379
|
},
|
|
14380
14380
|
className: "toolbar-item",
|
|
14381
14381
|
"aria-label": "Justify Align",
|
|
14382
|
-
children: /* @__PURE__ */
|
|
14382
|
+
children: /* @__PURE__ */ He.jsx("i", { className: "format justify-align" })
|
|
14383
14383
|
}
|
|
14384
14384
|
),
|
|
14385
|
-
/* @__PURE__ */
|
|
14386
|
-
/* @__PURE__ */
|
|
14387
|
-
/* @__PURE__ */
|
|
14385
|
+
/* @__PURE__ */ He.jsx(Fl, {}),
|
|
14386
|
+
/* @__PURE__ */ He.jsx(TE, {}),
|
|
14387
|
+
/* @__PURE__ */ He.jsx(
|
|
14388
14388
|
hC,
|
|
14389
14389
|
{
|
|
14390
14390
|
source: c,
|
|
@@ -14395,9 +14395,9 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14395
14395
|
collabApiKey: p
|
|
14396
14396
|
}
|
|
14397
14397
|
),
|
|
14398
|
-
/* @__PURE__ */
|
|
14399
|
-
/* @__PURE__ */
|
|
14400
|
-
/* @__PURE__ */
|
|
14398
|
+
/* @__PURE__ */ He.jsx(Fl, {}),
|
|
14399
|
+
/* @__PURE__ */ He.jsx(cC, {}),
|
|
14400
|
+
/* @__PURE__ */ He.jsxs(
|
|
14401
14401
|
um,
|
|
14402
14402
|
{
|
|
14403
14403
|
disabled: !C,
|
|
@@ -14406,15 +14406,15 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14406
14406
|
buttonAriaLabel: "Insert specialized editor node",
|
|
14407
14407
|
buttonIconClassName: "icon plus",
|
|
14408
14408
|
children: [
|
|
14409
|
-
/* @__PURE__ */
|
|
14409
|
+
/* @__PURE__ */ He.jsx(
|
|
14410
14410
|
sa,
|
|
14411
14411
|
{
|
|
14412
14412
|
onClick: () => {
|
|
14413
|
-
D("Insert Image", (K) => /* @__PURE__ */
|
|
14413
|
+
D("Insert Image", (K) => /* @__PURE__ */ He.jsx(lS, { activeEditor: n, onClose: K }));
|
|
14414
14414
|
},
|
|
14415
14415
|
className: "item",
|
|
14416
|
-
children: /* @__PURE__ */
|
|
14417
|
-
/* @__PURE__ */
|
|
14416
|
+
children: /* @__PURE__ */ He.jsxs("div", { style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
14417
|
+
/* @__PURE__ */ He.jsx(
|
|
14418
14418
|
"img",
|
|
14419
14419
|
{
|
|
14420
14420
|
className: "add-toolbar-image-icon",
|
|
@@ -14423,15 +14423,15 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14423
14423
|
style: { height: "16px", width: "16px" }
|
|
14424
14424
|
}
|
|
14425
14425
|
),
|
|
14426
|
-
/* @__PURE__ */
|
|
14426
|
+
/* @__PURE__ */ He.jsx("span", { className: "text", children: "Image" })
|
|
14427
14427
|
] })
|
|
14428
14428
|
}
|
|
14429
14429
|
),
|
|
14430
|
-
/* @__PURE__ */
|
|
14430
|
+
/* @__PURE__ */ He.jsx(
|
|
14431
14431
|
sa,
|
|
14432
14432
|
{
|
|
14433
14433
|
onClick: () => {
|
|
14434
|
-
D("Insert Table", (K) => /* @__PURE__ */
|
|
14434
|
+
D("Insert Table", (K) => /* @__PURE__ */ He.jsx(
|
|
14435
14435
|
CE,
|
|
14436
14436
|
{
|
|
14437
14437
|
onClose: K
|
|
@@ -14439,8 +14439,8 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14439
14439
|
));
|
|
14440
14440
|
},
|
|
14441
14441
|
className: "item",
|
|
14442
|
-
children: /* @__PURE__ */
|
|
14443
|
-
/* @__PURE__ */
|
|
14442
|
+
children: /* @__PURE__ */ He.jsxs("div", { style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
14443
|
+
/* @__PURE__ */ He.jsx(
|
|
14444
14444
|
"img",
|
|
14445
14445
|
{
|
|
14446
14446
|
className: "add-toolbar-table-icon",
|
|
@@ -14449,15 +14449,15 @@ function yC({ onlUser: y, styleConfig: i, collabApiKey: p, onPaste: e, source: c
|
|
|
14449
14449
|
style: { height: "16px", width: "16px" }
|
|
14450
14450
|
}
|
|
14451
14451
|
),
|
|
14452
|
-
/* @__PURE__ */
|
|
14452
|
+
/* @__PURE__ */ He.jsx("span", { className: "text", children: "Table" })
|
|
14453
14453
|
] })
|
|
14454
14454
|
}
|
|
14455
14455
|
)
|
|
14456
14456
|
]
|
|
14457
14457
|
}
|
|
14458
14458
|
),
|
|
14459
|
-
/* @__PURE__ */
|
|
14460
|
-
/* @__PURE__ */
|
|
14459
|
+
/* @__PURE__ */ He.jsx(Fl, {}),
|
|
14460
|
+
/* @__PURE__ */ He.jsx("div", { className: "flex-container-onluser", children: y }),
|
|
14461
14461
|
A
|
|
14462
14462
|
] });
|
|
14463
14463
|
}
|
|
@@ -14565,7 +14565,7 @@ function q1({ contentEditable: y, placeholder: i, ErrorBoundary: p }) {
|
|
|
14565
14565
|
}, [n]), jo(() => {
|
|
14566
14566
|
const r = [], d = Object.keys(o);
|
|
14567
14567
|
for (let s = 0; s < d.length; s++) {
|
|
14568
|
-
const u = d[s], l =
|
|
14568
|
+
const u = d[s], l = He.jsx(t, { onError: (m) => n._onError(m), children: He.jsx(Bf, { fallback: null, children: o[u] }) }), f = n.getElementByKey(u);
|
|
14569
14569
|
f !== null && r.push(yc(l, f, u));
|
|
14570
14570
|
}
|
|
14571
14571
|
return r;
|
|
@@ -14573,7 +14573,7 @@ function q1({ contentEditable: y, placeholder: i, ErrorBoundary: p }) {
|
|
|
14573
14573
|
}(e, p);
|
|
14574
14574
|
return function(n) {
|
|
14575
14575
|
ug(() => ro(Qw(n), H1(n)), [n]);
|
|
14576
|
-
}(e),
|
|
14576
|
+
}(e), He.jsxs(He.Fragment, { children: [y, He.jsx(_C, { content: i }), c] });
|
|
14577
14577
|
}
|
|
14578
14578
|
function _C({ content: y }) {
|
|
14579
14579
|
const [i] = ir(), p = function(c) {
|
|
@@ -14638,7 +14638,7 @@ var cb = { error: null }, xC = function(y) {
|
|
|
14638
14638
|
}, e;
|
|
14639
14639
|
}(lr.Component);
|
|
14640
14640
|
function dm({ children: y, onError: i }) {
|
|
14641
|
-
return
|
|
14641
|
+
return He.jsx(xC, { fallback: He.jsx("div", { style: { border: "1px solid #f00", color: "#f00", padding: "8px" }, children: "An error was thrown." }), onError: i, children: y });
|
|
14642
14642
|
}
|
|
14643
14643
|
function fm({ defaultSelection: y }) {
|
|
14644
14644
|
const [i] = ir();
|
|
@@ -14656,7 +14656,7 @@ function pm({ ariaActiveDescendant: y, ariaAutoComplete: i, ariaControls: p, ari
|
|
|
14656
14656
|
}, [b]);
|
|
14657
14657
|
return wC(() => (E(b.isEditable()), b.registerEditableListener((g) => {
|
|
14658
14658
|
E(g);
|
|
14659
|
-
})), [b]),
|
|
14659
|
+
})), [b]), He.jsx("div", { ..._, "aria-activedescendant": S ? y : void 0, "aria-autocomplete": S ? i : "none", "aria-controls": S ? p : void 0, "aria-describedby": e, "aria-expanded": S && l === "combobox" ? !!c : void 0, "aria-label": n, "aria-labelledby": t, "aria-multiline": o, "aria-owns": S ? a : void 0, "aria-readonly": !S || void 0, "aria-required": r, autoCapitalize: d, className: s, contentEditable: S, "data-testid": v, id: u, ref: x, role: l, spellCheck: f, style: m, tabIndex: h });
|
|
14660
14660
|
}
|
|
14661
14661
|
const SC = 33, EC = 50;
|
|
14662
14662
|
function CC({ editor: y }) {
|
|
@@ -14826,8 +14826,8 @@ function CC({ editor: y }) {
|
|
|
14826
14826
|
top: null
|
|
14827
14827
|
};
|
|
14828
14828
|
}, [o, s, n])();
|
|
14829
|
-
return /* @__PURE__ */
|
|
14830
|
-
/* @__PURE__ */
|
|
14829
|
+
return /* @__PURE__ */ He.jsx("div", { ref: p, children: o != null && !r && /* @__PURE__ */ He.jsxs(He.Fragment, { children: [
|
|
14830
|
+
/* @__PURE__ */ He.jsx(
|
|
14831
14831
|
"div",
|
|
14832
14832
|
{
|
|
14833
14833
|
className: "TableCellResizer__resizer TableCellResizer__ui",
|
|
@@ -14835,7 +14835,7 @@ function CC({ editor: y }) {
|
|
|
14835
14835
|
onMouseDown: _("right")
|
|
14836
14836
|
}
|
|
14837
14837
|
),
|
|
14838
|
-
/* @__PURE__ */
|
|
14838
|
+
/* @__PURE__ */ He.jsx(
|
|
14839
14839
|
"div",
|
|
14840
14840
|
{
|
|
14841
14841
|
className: "TableCellResizer__resizer TableCellResizer__ui",
|
|
@@ -14848,7 +14848,7 @@ function CC({ editor: y }) {
|
|
|
14848
14848
|
function OC() {
|
|
14849
14849
|
const [y] = ir(), i = Gu();
|
|
14850
14850
|
return jo(
|
|
14851
|
-
() => i ? yc(/* @__PURE__ */
|
|
14851
|
+
() => i ? yc(/* @__PURE__ */ He.jsx(CC, { editor: y }), document.body) : null,
|
|
14852
14852
|
[y, i]
|
|
14853
14853
|
);
|
|
14854
14854
|
}
|
|
@@ -15351,7 +15351,7 @@ function QC({ contentEditable: y, placeholder: i, ErrorBoundary: p }) {
|
|
|
15351
15351
|
}, [n]), jo(() => {
|
|
15352
15352
|
const r = [], d = Object.keys(o);
|
|
15353
15353
|
for (let s = 0; s < d.length; s++) {
|
|
15354
|
-
const u = d[s], l =
|
|
15354
|
+
const u = d[s], l = He.jsx(t, { onError: (m) => n._onError(m), children: He.jsx(Bf, { fallback: null, children: o[u] }) }), f = n.getElementByKey(u);
|
|
15355
15355
|
f !== null && r.push(yc(l, f, u));
|
|
15356
15356
|
}
|
|
15357
15357
|
return r;
|
|
@@ -15359,7 +15359,7 @@ function QC({ contentEditable: y, placeholder: i, ErrorBoundary: p }) {
|
|
|
15359
15359
|
}(e, p);
|
|
15360
15360
|
return function(n) {
|
|
15361
15361
|
gg(() => ro(ZC(n), H1(n)), [n]);
|
|
15362
|
-
}(e),
|
|
15362
|
+
}(e), He.jsxs(He.Fragment, { children: [y, He.jsx(XC, { content: i }), c] });
|
|
15363
15363
|
}
|
|
15364
15364
|
function XC({ content: y }) {
|
|
15365
15365
|
const [i] = ir(), p = function(c) {
|
|
@@ -17228,30 +17228,30 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
17228
17228
|
return h(D), h(L), D;
|
|
17229
17229
|
h(D), h(L);
|
|
17230
17230
|
try {
|
|
17231
|
-
var we = ((
|
|
17232
|
-
if (
|
|
17231
|
+
var we = ((qe) => {
|
|
17232
|
+
if (qe.na !== void 0)
|
|
17233
17233
|
return C;
|
|
17234
|
-
if (
|
|
17234
|
+
if (qe.li !== void 0 && qe.ld !== void 0)
|
|
17235
17235
|
return 1;
|
|
17236
|
-
if (
|
|
17236
|
+
if (qe.li !== void 0)
|
|
17237
17237
|
return 2;
|
|
17238
|
-
if (
|
|
17238
|
+
if (qe.ld !== void 0)
|
|
17239
17239
|
return 3;
|
|
17240
|
-
if (
|
|
17240
|
+
if (qe.lm !== void 0)
|
|
17241
17241
|
return 4;
|
|
17242
|
-
if (
|
|
17242
|
+
if (qe.oi !== void 0 && qe.od !== void 0)
|
|
17243
17243
|
return 5;
|
|
17244
|
-
if (
|
|
17244
|
+
if (qe.oi !== void 0)
|
|
17245
17245
|
return 6;
|
|
17246
|
-
if (
|
|
17246
|
+
if (qe.od !== void 0)
|
|
17247
17247
|
return 7;
|
|
17248
|
-
if (
|
|
17248
|
+
if (qe.t && qe.t == "pt")
|
|
17249
17249
|
return 8;
|
|
17250
|
-
if (
|
|
17250
|
+
if (qe.t && qe.t == "rt")
|
|
17251
17251
|
return 9;
|
|
17252
|
-
if (
|
|
17252
|
+
if (qe.t && qe.t == "qd")
|
|
17253
17253
|
return 10;
|
|
17254
|
-
throw new Error("Unknown optype: ".concat(JSON.stringify(
|
|
17254
|
+
throw new Error("Unknown optype: ".concat(JSON.stringify(qe)));
|
|
17255
17255
|
})(L);
|
|
17256
17256
|
switch (we) {
|
|
17257
17257
|
case C:
|
|
@@ -17395,8 +17395,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
17395
17395
|
default:
|
|
17396
17396
|
throw new Error("json-ot: unkown op type ".concat(we));
|
|
17397
17397
|
}
|
|
17398
|
-
} catch (
|
|
17399
|
-
console.error(
|
|
17398
|
+
} catch (qe) {
|
|
17399
|
+
console.error(qe);
|
|
17400
17400
|
}
|
|
17401
17401
|
}
|
|
17402
17402
|
function M(A, D, L, J, k) {
|
|
@@ -29518,7 +29518,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " "));
|
|
|
29518
29518
|
P = P.return;
|
|
29519
29519
|
}
|
|
29520
29520
|
}
|
|
29521
|
-
var
|
|
29521
|
+
var qe, gt, ft, me, Ue = !1, ht = [], Pt = null, Mt = null, Gt = null, Ht = /* @__PURE__ */ new Map(), Zt = /* @__PURE__ */ new Map(), en = [], zn = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
|
|
29522
29522
|
function wn(T, P, V, re, oe) {
|
|
29523
29523
|
return { blockedOn: T, domEventName: P, eventSystemFlags: 16 | V, nativeEvent: oe, targetContainers: [re] };
|
|
29524
29524
|
}
|
|
@@ -29566,7 +29566,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " "));
|
|
|
29566
29566
|
for (Ue = !1; 0 < ht.length; ) {
|
|
29567
29567
|
var T = ht[0];
|
|
29568
29568
|
if (T.blockedOn !== null) {
|
|
29569
|
-
(T = Rc(T.blockedOn)) !== null &&
|
|
29569
|
+
(T = Rc(T.blockedOn)) !== null && qe(T);
|
|
29570
29570
|
break;
|
|
29571
29571
|
}
|
|
29572
29572
|
for (var P = T.targetContainers; 0 < P.length; ) {
|
|
@@ -33011,7 +33011,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
33011
33011
|
jd(null, T, null, function() {
|
|
33012
33012
|
P[bl] = null;
|
|
33013
33013
|
});
|
|
33014
|
-
},
|
|
33014
|
+
}, qe = function(T) {
|
|
33015
33015
|
T.tag === 13 && (ns(T, 4, ui()), ah(T, 4));
|
|
33016
33016
|
}, gt = function(T) {
|
|
33017
33017
|
T.tag === 13 && (ns(T, 67108864, ui()), ah(T, 67108864));
|
|
@@ -33768,16 +33768,16 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
33768
33768
|
function h() {
|
|
33769
33769
|
return (h = Object.assign || function(ge) {
|
|
33770
33770
|
for (var ze = 1; ze < arguments.length; ze++) {
|
|
33771
|
-
var Ke,
|
|
33772
|
-
for (Ke in
|
|
33773
|
-
Object.prototype.hasOwnProperty.call(
|
|
33771
|
+
var Ke, qe = arguments[ze];
|
|
33772
|
+
for (Ke in qe)
|
|
33773
|
+
Object.prototype.hasOwnProperty.call(qe, Ke) && (ge[Ke] = qe[Ke]);
|
|
33774
33774
|
}
|
|
33775
33775
|
return ge;
|
|
33776
33776
|
}).apply(this, arguments);
|
|
33777
33777
|
}
|
|
33778
33778
|
var v = function(ge, ze) {
|
|
33779
|
-
for (var Ke = [ge[0]],
|
|
33780
|
-
Ke.push(ze[
|
|
33779
|
+
for (var Ke = [ge[0]], qe = 0, gt = ze.length; qe < gt; qe += 1)
|
|
33780
|
+
Ke.push(ze[qe], ge[qe + 1]);
|
|
33781
33781
|
return Ke;
|
|
33782
33782
|
}, _ = function(ge) {
|
|
33783
33783
|
return ge !== null && typeof ge == "object" && (ge.toString ? ge.toString() : Object.prototype.toString.call(ge)) === "[object Object]" && !a.typeOf(ge);
|
|
@@ -33834,15 +33834,15 @@ as for instance in your render method then you may be running into this limitati
|
|
|
33834
33834
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
33835
33835
|
` } : {};
|
|
33836
33836
|
function N() {
|
|
33837
|
-
for (var ge = arguments.length <= 0 ? void 0 : arguments[0], ze = [], Ke = 1,
|
|
33837
|
+
for (var ge = arguments.length <= 0 ? void 0 : arguments[0], ze = [], Ke = 1, qe = arguments.length; Ke < qe; Ke += 1)
|
|
33838
33838
|
ze.push(Ke < 0 || arguments.length <= Ke ? void 0 : arguments[Ke]);
|
|
33839
33839
|
return ze.forEach(function(gt) {
|
|
33840
33840
|
ge = ge.replace(/%[a-z]/, gt);
|
|
33841
33841
|
}), ge;
|
|
33842
33842
|
}
|
|
33843
33843
|
function R(ge) {
|
|
33844
|
-
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0),
|
|
33845
|
-
Ke[
|
|
33844
|
+
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0), qe = 1; qe < ze; qe++)
|
|
33845
|
+
Ke[qe - 1] = arguments[qe];
|
|
33846
33846
|
throw t.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + ge + " for more information." + (0 < Ke.length ? " Args: " + Ke.join(", ") : "")) : new Error(N.apply(void 0, [F[ge]].concat(Ke)).trim());
|
|
33847
33847
|
}
|
|
33848
33848
|
function j(ge) {
|
|
@@ -33854,14 +33854,14 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
33854
33854
|
return t.env.NODE_ENV !== "production" && ((0 | ze) < 0 || 1 << 30 < ze) && R(16, "" + ze), L.set(ge, ze), J.set(ze, ge), ze;
|
|
33855
33855
|
}
|
|
33856
33856
|
function O(ge) {
|
|
33857
|
-
var ze = document.head, Ke = ge || ze,
|
|
33857
|
+
var ze = document.head, Ke = ge || ze, qe = (ge = document.createElement("style"), ze = (ze = (() => {
|
|
33858
33858
|
for (var gt = Ke.childNodes, ft = gt.length; 0 <= ft; ft--) {
|
|
33859
33859
|
var me = gt[ft];
|
|
33860
33860
|
if (me && me.nodeType === 1 && me.hasAttribute(w))
|
|
33861
33861
|
return me;
|
|
33862
33862
|
}
|
|
33863
33863
|
})()) !== void 0 ? ze.nextSibling : null, ge.setAttribute(w, "active"), ge.setAttribute("data-styled-version", "5.3.11"), H());
|
|
33864
|
-
return
|
|
33864
|
+
return qe && ge.setAttribute("nonce", qe), Ke.insertBefore(ge, ze), ge;
|
|
33865
33865
|
}
|
|
33866
33866
|
function A(ge) {
|
|
33867
33867
|
return String.fromCharCode(ge + (25 < ge ? 39 : 97));
|
|
@@ -33872,25 +33872,25 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
33872
33872
|
return ze;
|
|
33873
33873
|
}, Qe.insertRules = function(ge, ze) {
|
|
33874
33874
|
if (ge >= this.groupSizes.length) {
|
|
33875
|
-
for (var Ke = this.groupSizes,
|
|
33875
|
+
for (var Ke = this.groupSizes, qe = Ke.length, gt = qe; gt <= ge; )
|
|
33876
33876
|
(gt <<= 1) < 0 && R(16, "" + ge);
|
|
33877
33877
|
this.groupSizes = new Uint32Array(gt), this.groupSizes.set(Ke), this.length = gt;
|
|
33878
|
-
for (var ft =
|
|
33878
|
+
for (var ft = qe; ft < gt; ft++)
|
|
33879
33879
|
this.groupSizes[ft] = 0;
|
|
33880
33880
|
}
|
|
33881
33881
|
for (var me = this.indexOfGroup(ge + 1), Ue = 0, ht = ze.length; Ue < ht; Ue++)
|
|
33882
33882
|
this.tag.insertRule(me, ze[Ue]) && (this.groupSizes[ge]++, me++);
|
|
33883
33883
|
}, Qe.clearGroup = function(ge) {
|
|
33884
33884
|
if (ge < this.length) {
|
|
33885
|
-
var ze = this.groupSizes[ge], Ke = this.indexOfGroup(ge),
|
|
33885
|
+
var ze = this.groupSizes[ge], Ke = this.indexOfGroup(ge), qe = Ke + ze;
|
|
33886
33886
|
this.groupSizes[ge] = 0;
|
|
33887
|
-
for (var gt = Ke; gt <
|
|
33887
|
+
for (var gt = Ke; gt < qe; gt++)
|
|
33888
33888
|
this.tag.deleteRule(Ke);
|
|
33889
33889
|
}
|
|
33890
33890
|
}, Qe.getGroup = function(ge) {
|
|
33891
33891
|
var ze = "";
|
|
33892
33892
|
if (!(ge >= this.length || this.groupSizes[ge] === 0))
|
|
33893
|
-
for (var Ke = this.groupSizes[ge],
|
|
33893
|
+
for (var Ke = this.groupSizes[ge], qe = (ge = this.indexOfGroup(ge)) + Ke, gt = ge; gt < qe; gt++)
|
|
33894
33894
|
ze += this.tag.getRule(gt) + `/*!sc*/
|
|
33895
33895
|
`;
|
|
33896
33896
|
return ze;
|
|
@@ -33898,8 +33898,8 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
33898
33898
|
var D = Ee, L = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), k = 1, z = function(ge, ze) {
|
|
33899
33899
|
k <= ze && (k = ze + 1), L.set(ge, ze), J.set(ze, ge);
|
|
33900
33900
|
}, W = "style[" + w + '][data-styled-version="5.3.11"]', K = new RegExp("^" + w + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), B = function(ge, ze, Ke) {
|
|
33901
|
-
for (var
|
|
33902
|
-
(
|
|
33901
|
+
for (var qe, gt = Ke.split(","), ft = 0, me = gt.length; ft < me; ft++)
|
|
33902
|
+
(qe = gt[ft]) && ge.registerName(ze, qe);
|
|
33903
33903
|
}, H = function() {
|
|
33904
33904
|
return p.nc;
|
|
33905
33905
|
}, q = ((Qe = ue.prototype).insertRule = function(ge, ze) {
|
|
@@ -33945,10 +33945,10 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
33945
33945
|
}, Qe.clearTag = function() {
|
|
33946
33946
|
this.tag = void 0;
|
|
33947
33947
|
}, Qe.toString = function() {
|
|
33948
|
-
for (var ge = this.getTag(), ze = ge.length, Ke = "",
|
|
33949
|
-
Ue =
|
|
33948
|
+
for (var ge = this.getTag(), ze = ge.length, Ke = "", qe = 0; qe < ze; qe++) {
|
|
33949
|
+
Ue = qe;
|
|
33950
33950
|
var gt, ft, me, Ue = J.get(Ue);
|
|
33951
|
-
Ue !== void 0 && (gt = this.names.get(Ue), ft = ge.getGroup(
|
|
33951
|
+
Ue !== void 0 && (gt = this.names.get(Ue), ft = ge.getGroup(qe), gt) && ft && gt.size && (Ue = w + ".g" + qe + '[id="' + Ue + '"]', me = "", gt !== void 0 && gt.forEach(function(ht) {
|
|
33952
33952
|
0 < ht.length && (me += ht + ",");
|
|
33953
33953
|
}), Ke += ft + Ue + '{content:"' + me + `"}/*!sc*/
|
|
33954
33954
|
`);
|
|
@@ -33958,8 +33958,8 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
33958
33958
|
function ne(ge, ze, Ke) {
|
|
33959
33959
|
if (ge === void 0 && (ge = S), ze === void 0 && (ze = {}), this.options = h({}, Z, {}, ge), this.gs = ze, this.names = new Map(Ke), this.server = !!ge.isServer, !this.server && C && Y) {
|
|
33960
33960
|
Y = !1;
|
|
33961
|
-
for (var
|
|
33962
|
-
var me =
|
|
33961
|
+
for (var qe = document.querySelectorAll(W), gt = 0, ft = qe.length; gt < ft; gt++) {
|
|
33962
|
+
var me = qe[gt];
|
|
33963
33963
|
me && me.getAttribute(w) !== "active" && (((Ue, ht) => {
|
|
33964
33964
|
for (var Pt = (ht.textContent || "").split(`/*!sc*/
|
|
33965
33965
|
`), Mt = [], Gt = 0, Ht = Pt.length; Gt < Ht; Gt++) {
|
|
@@ -33980,8 +33980,8 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
33980
33980
|
(ge = this.element = O(ge)).appendChild(document.createTextNode("")), this.sheet = ((ze) => {
|
|
33981
33981
|
if (ze.sheet)
|
|
33982
33982
|
return ze.sheet;
|
|
33983
|
-
for (var Ke = document.styleSheets,
|
|
33984
|
-
var ft = Ke[
|
|
33983
|
+
for (var Ke = document.styleSheets, qe = 0, gt = Ke.length; qe < gt; qe++) {
|
|
33984
|
+
var ft = Ke[qe];
|
|
33985
33985
|
if (ft.ownerNode === ze)
|
|
33986
33986
|
return ft;
|
|
33987
33987
|
}
|
|
@@ -34013,15 +34013,15 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
34013
34013
|
return !0;
|
|
34014
34014
|
}
|
|
34015
34015
|
var we = Pe("5.3.11"), Se = (Je.prototype.generateAndInjectStyles = function(ge, ze, Ke) {
|
|
34016
|
-
var
|
|
34016
|
+
var qe = this.componentId, gt = [];
|
|
34017
34017
|
if (this.baseStyle && gt.push(this.baseStyle.generateAndInjectStyles(ge, ze, Ke)), this.isStatic && !Ke.hash)
|
|
34018
|
-
this.staticRulesId && ze.hasNameForId(
|
|
34018
|
+
this.staticRulesId && ze.hasNameForId(qe, this.staticRulesId) ? gt.push(this.staticRulesId) : (ft = sn(this.rules, ge, ze, Ke).join(""), me = le(de(this.baseHash, ft) >>> 0), ze.hasNameForId(qe, me) || (ft = Ke(ft, "." + me, void 0, qe), ze.insertRules(qe, me, ft)), gt.push(me), this.staticRulesId = me);
|
|
34019
34019
|
else {
|
|
34020
34020
|
for (var ft, me, Ue = this.rules.length, ht = de(this.baseHash, Ke.hash), Pt = "", Mt = 0; Mt < Ue; Mt++) {
|
|
34021
34021
|
var Gt = this.rules[Mt];
|
|
34022
34022
|
typeof Gt == "string" ? (Pt += Gt, t.env.NODE_ENV !== "production" && (ht = de(ht, Gt + Mt))) : Gt && (Gt = sn(Gt, ge, ze, Ke), ht = de(ht, (Gt = Array.isArray(Gt) ? Gt.join("") : Gt) + Mt), Pt += Gt);
|
|
34023
34023
|
}
|
|
34024
|
-
Pt && (ft = le(ht >>> 0), ze.hasNameForId(
|
|
34024
|
+
Pt && (ft = le(ht >>> 0), ze.hasNameForId(qe, ft) || (me = Ke(Pt, "." + ft, void 0, qe), ze.insertRules(qe, ft, me)), gt.push(ft));
|
|
34025
34025
|
}
|
|
34026
34026
|
return gt.join(" ");
|
|
34027
34027
|
}, Je), xe = /^\s*\/\/.*$/gm, Re = [":", "[", ".", "#"];
|
|
@@ -34030,9 +34030,9 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
34030
34030
|
}
|
|
34031
34031
|
function De(ge) {
|
|
34032
34032
|
function ze(Ht, Zt, en) {
|
|
34033
|
-
return Zt === 0 && Re.indexOf(en[
|
|
34033
|
+
return Zt === 0 && Re.indexOf(en[qe.length]) !== -1 || en.match(ft) ? Ht : "." + Ke;
|
|
34034
34034
|
}
|
|
34035
|
-
var Ke,
|
|
34035
|
+
var Ke, qe, gt, ft, me, Ue = (Ue = (ge = ge === void 0 ? S : ge).options) === void 0 ? S : Ue, ht = (ge = (ge = ge.plugins) === void 0 ? b : ge, new u(Ue)), Pt = [];
|
|
34036
34036
|
function Mt(Ht) {
|
|
34037
34037
|
if (Ht)
|
|
34038
34038
|
try {
|
|
@@ -34041,12 +34041,12 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
34041
34041
|
}
|
|
34042
34042
|
}
|
|
34043
34043
|
function Gt(Ht, Zt, en, zn) {
|
|
34044
|
-
return zn === void 0 && (zn = "&"), Ht = Ht.replace(xe, ""), Ht = Zt && en ? en + " " + Zt + " { " + Ht + " }" : Ht, Ke = zn,
|
|
34044
|
+
return zn === void 0 && (zn = "&"), Ht = Ht.replace(xe, ""), Ht = Zt && en ? en + " " + Zt + " { " + Ht + " }" : Ht, Ke = zn, qe = Zt, gt = new RegExp("\\" + qe + "\\b", "g"), ft = new RegExp("(\\" + qe + "\\b){2,}"), ht(en || !Zt ? "" : Zt, Ht);
|
|
34045
34045
|
}
|
|
34046
34046
|
return me = function(Ht) {
|
|
34047
34047
|
Pt.push(Ht);
|
|
34048
34048
|
}, ht.use([].concat(ge, [function(Ht, Zt, en) {
|
|
34049
|
-
Ht === 2 && en.length && 0 < en[0].lastIndexOf(
|
|
34049
|
+
Ht === 2 && en.length && 0 < en[0].lastIndexOf(qe) && (en[0] = en[0].replace(gt, ze));
|
|
34050
34050
|
}, function(Ht, Zt, en, zn, wn, En, Jn, dr, oo, jr) {
|
|
34051
34051
|
switch (Ht) {
|
|
34052
34052
|
case 1:
|
|
@@ -34083,8 +34083,8 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
34083
34083
|
return r.useContext(nt) || je;
|
|
34084
34084
|
}
|
|
34085
34085
|
function Te(ge) {
|
|
34086
|
-
var ze = (gt = r.useState(ge.stylisPlugins))[0], Ke = gt[1],
|
|
34087
|
-
var me =
|
|
34086
|
+
var ze = (gt = r.useState(ge.stylisPlugins))[0], Ke = gt[1], qe = be(), gt = r.useMemo(function() {
|
|
34087
|
+
var me = qe;
|
|
34088
34088
|
return ge.sheet ? me = ge.sheet : ge.target && (me = me.reconstructWithOptions({ target: ge.target }, !1)), ge.disableCSSOMInjection ? me.reconstructWithOptions({ useCSSOMInjection: !1 }) : me;
|
|
34089
34089
|
}, [ge.disableCSSOMInjection, ge.sheet, ge.target]), ft = r.useMemo(function() {
|
|
34090
34090
|
return De({ options: { prefix: !ge.disableVendorPrefixes }, plugins: ze });
|
|
@@ -34101,10 +34101,10 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
34101
34101
|
};
|
|
34102
34102
|
function ot(ge, ze) {
|
|
34103
34103
|
var Ke = this;
|
|
34104
|
-
this.inject = function(
|
|
34104
|
+
this.inject = function(qe, gt) {
|
|
34105
34105
|
gt === void 0 && (gt = je);
|
|
34106
34106
|
var ft = Ke.name + gt.hash;
|
|
34107
|
-
|
|
34107
|
+
qe.hasNameForId(Ke.id, ft) || qe.insertRules(Ke.id, ft, gt(Ke.rules, ft, "@keyframes"));
|
|
34108
34108
|
}, this.toString = function() {
|
|
34109
34109
|
return R(12, String(Ke.name));
|
|
34110
34110
|
}, this.name = ge, this.id = "sc-keyframes-" + ge, this.rules = ze;
|
|
@@ -34115,14 +34115,14 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
34115
34115
|
var fn = function(ge) {
|
|
34116
34116
|
return ge == null || ge === !1 || ge === "";
|
|
34117
34117
|
};
|
|
34118
|
-
function sn(ge, ze, Ke,
|
|
34118
|
+
function sn(ge, ze, Ke, qe) {
|
|
34119
34119
|
if (Array.isArray(ge)) {
|
|
34120
34120
|
for (var gt, ft = [], me = 0, Ue = ge.length; me < Ue; me += 1)
|
|
34121
|
-
(gt = sn(ge[me], ze, Ke,
|
|
34121
|
+
(gt = sn(ge[me], ze, Ke, qe)) !== "" && (Array.isArray(gt) ? ft.push.apply(ft, gt) : ft.push(gt));
|
|
34122
34122
|
return ft;
|
|
34123
34123
|
}
|
|
34124
34124
|
var ht;
|
|
34125
|
-
return fn(ge) ? "" : g(ge) ? "." + ge.styledComponentId : E(ge) ? typeof ge != "function" || ge.prototype && ge.prototype.isReactComponent || !ze ? ge : (ht = ge(ze), t.env.NODE_ENV !== "production" && a.isElement(ht) && x(ge), sn(ht, ze, Ke,
|
|
34125
|
+
return fn(ge) ? "" : g(ge) ? "." + ge.styledComponentId : E(ge) ? typeof ge != "function" || ge.prototype && ge.prototype.isReactComponent || !ze ? ge : (ht = ge(ze), t.env.NODE_ENV !== "production" && a.isElement(ht) && x(ge), sn(ht, ze, Ke, qe)) : ge instanceof Xe ? Ke ? (ge.inject(Ke, qe), ge.getName(qe)) : ge : _(ge) ? function Pt(Mt, Gt) {
|
|
34126
34126
|
var Ht, Zt, en, zn = [];
|
|
34127
34127
|
for (en in Mt)
|
|
34128
34128
|
Mt.hasOwnProperty(en) && !fn(Mt[en]) && (Array.isArray(Mt[en]) && Mt[en].isCss || E(Mt[en]) ? zn.push(rn(en) + ":", Mt[en], ";") : _(Mt[en]) ? zn.push.apply(zn, Pt(Mt[en], en)) : zn.push(rn(en) + ": " + (Ht = en, ((Zt = Mt[en]) == null || typeof Zt == "boolean" || Zt === "" ? "" : typeof Zt != "number" || Zt === 0 || Ht in l || Ht.startsWith("--") ? String(Zt).trim() : Zt + "px") + ";")));
|
|
@@ -34133,15 +34133,15 @@ Has styled-components' style tag been unmounted or altered by another script?
|
|
|
34133
34133
|
return Array.isArray(ge) && (ge.isCss = !0), ge;
|
|
34134
34134
|
};
|
|
34135
34135
|
function xt(ge) {
|
|
34136
|
-
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0),
|
|
34137
|
-
Ke[
|
|
34136
|
+
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0), qe = 1; qe < ze; qe++)
|
|
34137
|
+
Ke[qe - 1] = arguments[qe];
|
|
34138
34138
|
return E(ge) || _(ge) ? gn(sn(v(b, [ge].concat(Ke)))) : Ke.length === 0 && ge.length === 1 && typeof ge[0] == "string" ? ge : gn(sn(v(ge, Ke)));
|
|
34139
34139
|
}
|
|
34140
34140
|
var Ft = /invalid hook call/i, Xt = /* @__PURE__ */ new Set(), Nt = function(ge, ze) {
|
|
34141
34141
|
if (t.env.NODE_ENV !== "production") {
|
|
34142
34142
|
var Ke = "The component " + ge + (ze ? ' with the id of "' + ze + '"' : "") + ` has been created dynamically.
|
|
34143
34143
|
You may see this warning because you've called styled inside another component.
|
|
34144
|
-
To resolve this only create new StyledComponents outside of any render method and function component.`,
|
|
34144
|
+
To resolve this only create new StyledComponents outside of any render method and function component.`, qe = console.error;
|
|
34145
34145
|
try {
|
|
34146
34146
|
var gt = !0;
|
|
34147
34147
|
console.error = function(ft) {
|
|
@@ -34150,13 +34150,13 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
34150
34150
|
else {
|
|
34151
34151
|
for (var me = arguments.length, Ue = new Array(1 < me ? me - 1 : 0), ht = 1; ht < me; ht++)
|
|
34152
34152
|
Ue[ht - 1] = arguments[ht];
|
|
34153
|
-
|
|
34153
|
+
qe.apply(void 0, [ft].concat(Ue));
|
|
34154
34154
|
}
|
|
34155
34155
|
}, r.useRef(), gt && !Xt.has(Ke) && Xt.add(Ke);
|
|
34156
34156
|
} catch (ft) {
|
|
34157
34157
|
Ft.test(ft.message) && Xt.delete(Ke);
|
|
34158
34158
|
} finally {
|
|
34159
|
-
console.error =
|
|
34159
|
+
console.error = qe;
|
|
34160
34160
|
}
|
|
34161
34161
|
}
|
|
34162
34162
|
}, ct = function(ge, ze, Ke) {
|
|
@@ -34177,8 +34177,8 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
34177
34177
|
return ge !== "__proto__" && ge !== "constructor" && ge !== "prototype";
|
|
34178
34178
|
};
|
|
34179
34179
|
function Ct(ge) {
|
|
34180
|
-
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0),
|
|
34181
|
-
Ke[
|
|
34180
|
+
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0), qe = 1; qe < ze; qe++)
|
|
34181
|
+
Ke[qe - 1] = arguments[qe];
|
|
34182
34182
|
for (var gt, ft, me, Ue = 0, ht = Ke; Ue < ht.length; Ue++) {
|
|
34183
34183
|
var Pt = ht[Ue];
|
|
34184
34184
|
if (dt(Pt))
|
|
@@ -34189,7 +34189,7 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
34189
34189
|
}
|
|
34190
34190
|
var $e = d.createContext(), Qe = $e.Consumer, mt = {};
|
|
34191
34191
|
function $t(ge, ze, Ke) {
|
|
34192
|
-
var
|
|
34192
|
+
var qe = g(ge), gt = !tt(ge), ft = (ft = ze.attrs) === void 0 ? b : ft, me = (me = ze.componentId) === void 0 ? ((wn, En) => (wn = typeof wn != "string" ? "sc" : ve(wn), mt[wn] = (mt[wn] || 0) + 1, wn = wn + "-" + ke("5.3.11" + wn + mt[wn]), En ? En + "-" + wn : wn))(ze.displayName, ze.parentComponentId) : me, Ue = (ht = ze.displayName) === void 0 ? tt(Ue = ge) ? "styled." + Ue : "Styled(" + x(Ue) + ")" : ht, ht = ze.displayName && ze.componentId ? ve(ze.displayName) + "-" + ze.componentId : ze.componentId || me, Pt = qe && ge.attrs ? Array.prototype.concat(ge.attrs, ft).filter(Boolean) : ft;
|
|
34193
34193
|
function Mt(wn, En) {
|
|
34194
34194
|
var Jn, dr, oo, jr, Nr = Gt, wo = zn, fr = Nr.attrs, mr = Nr.componentStyle, Rr = Nr.defaultProps, ti = Nr.foldedComponentIds, Xr = Nr.shouldForwardProp, io = Nr.styledComponentId, No = Nr.target, eo = (Rr = ct(wn, r.useContext($e), Rr) || S, dr = h({}, wn, { theme: Rr = Rr === void 0 ? S : Rr }), oo = {}, fr.forEach(function(gi) {
|
|
34195
34195
|
var Ln, Bn, Po, So = gi;
|
|
@@ -34200,11 +34200,11 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
34200
34200
|
jr[0] !== "$" && jr !== "as" && (jr === "forwardedAs" ? nr.as = co[jr] : (Xr ? Xr(jr, f, Uo) : !ga || f(jr)) && (nr[jr] = co[jr]));
|
|
34201
34201
|
return wn.style && fr.style !== wn.style && (nr.style = h({}, wn.style, {}, fr.style)), nr.className = Array.prototype.concat(ti, io, Rr !== io ? Rr : null, wn.className, fr.className).filter(Boolean).join(" "), nr.ref = eo, r.createElement(Uo, nr);
|
|
34202
34202
|
}
|
|
34203
|
-
me = ze.shouldForwardProp,
|
|
34203
|
+
me = ze.shouldForwardProp, qe && ge.shouldForwardProp && (me = ze.shouldForwardProp ? function(wn, En, Jn) {
|
|
34204
34204
|
return ge.shouldForwardProp(wn, En, Jn) && ze.shouldForwardProp(wn, En, Jn);
|
|
34205
34205
|
} : ge.shouldForwardProp);
|
|
34206
|
-
var Gt, Ht, Zt, en = new Se(Ke, ht,
|
|
34207
|
-
return Mt.displayName = Ue, (Gt = d.forwardRef(Mt)).attrs = Pt, Gt.componentStyle = en, Gt.displayName = Ue, Gt.shouldForwardProp = me, Gt.foldedComponentIds =
|
|
34206
|
+
var Gt, Ht, Zt, en = new Se(Ke, ht, qe ? ge.componentStyle : void 0), zn = en.isStatic && ft.length === 0;
|
|
34207
|
+
return Mt.displayName = Ue, (Gt = d.forwardRef(Mt)).attrs = Pt, Gt.componentStyle = en, Gt.displayName = Ue, Gt.shouldForwardProp = me, Gt.foldedComponentIds = qe ? Array.prototype.concat(ge.foldedComponentIds, ge.styledComponentId) : b, Gt.styledComponentId = ht, Gt.target = qe ? ge.target : ge, Gt.withComponent = function(wn) {
|
|
34208
34208
|
var En = ze.componentId, Jn = ((dr, oo) => {
|
|
34209
34209
|
if (dr == null)
|
|
34210
34210
|
return {};
|
|
@@ -34216,7 +34216,7 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
34216
34216
|
}, Object.defineProperty(Gt, "defaultProps", { get: function() {
|
|
34217
34217
|
return this._foldedDefaultProps;
|
|
34218
34218
|
}, set: function(wn) {
|
|
34219
|
-
this._foldedDefaultProps =
|
|
34219
|
+
this._foldedDefaultProps = qe ? Ct({}, ge.defaultProps, wn) : wn;
|
|
34220
34220
|
} }), t.env.NODE_ENV !== "production" && (Nt(Ue, ht), Gt.warnTooManyClasses = (Zt = !(Ht = {}), function(wn) {
|
|
34221
34221
|
!Zt && (Ht[wn] = !0, 200 <= Object.keys(Ht).length) && (Zt = !0, Ht = {});
|
|
34222
34222
|
})), Object.defineProperty(Gt, "toString", { value: function() {
|
|
@@ -34224,25 +34224,25 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
34224
34224
|
} }), gt && m(Gt, ge, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), Gt;
|
|
34225
34225
|
}
|
|
34226
34226
|
function Ut(ge) {
|
|
34227
|
-
return function ze(Ke,
|
|
34227
|
+
return function ze(Ke, qe, gt) {
|
|
34228
34228
|
var ft;
|
|
34229
|
-
return gt === void 0 && (gt = S), a.isValidElementType(
|
|
34230
|
-
return Ke(
|
|
34229
|
+
return gt === void 0 && (gt = S), a.isValidElementType(qe) ? ((ft = function() {
|
|
34230
|
+
return Ke(qe, gt, xt.apply(void 0, arguments));
|
|
34231
34231
|
}).withConfig = function(me) {
|
|
34232
|
-
return ze(Ke,
|
|
34232
|
+
return ze(Ke, qe, h({}, gt, {}, me));
|
|
34233
34233
|
}, ft.attrs = function(me) {
|
|
34234
|
-
return ze(Ke,
|
|
34235
|
-
}, ft) : R(1, String(
|
|
34234
|
+
return ze(Ke, qe, h({}, gt, { attrs: Array.prototype.concat(gt.attrs, me).filter(Boolean) }));
|
|
34235
|
+
}, ft) : R(1, String(qe));
|
|
34236
34236
|
}($t, ge);
|
|
34237
34237
|
}
|
|
34238
34238
|
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function(ge) {
|
|
34239
34239
|
Ut[ge] = Ut(ge);
|
|
34240
|
-
}), (Kt = st.prototype).createStyles = function(ge, ze, Ke,
|
|
34241
|
-
ze =
|
|
34240
|
+
}), (Kt = st.prototype).createStyles = function(ge, ze, Ke, qe) {
|
|
34241
|
+
ze = qe(sn(this.rules, ze, Ke, qe).join(""), ""), qe = this.componentId + ge, Ke.insertRules(qe, qe, ze);
|
|
34242
34242
|
}, Kt.removeStyles = function(ge, ze) {
|
|
34243
34243
|
ze.clearRules(this.componentId + ge);
|
|
34244
|
-
}, Kt.renderStyles = function(ge, ze, Ke,
|
|
34245
|
-
2 < ge && X.registerId(this.componentId + ge), this.removeStyles(ge, Ke), this.createStyles(ge, ze, Ke,
|
|
34244
|
+
}, Kt.renderStyles = function(ge, ze, Ke, qe) {
|
|
34245
|
+
2 < ge && X.registerId(this.componentId + ge), this.removeStyles(ge, Ke), this.createStyles(ge, ze, Ke, qe);
|
|
34246
34246
|
};
|
|
34247
34247
|
var nn = st, Kt = ((Kt = Me.prototype).collectStyles = function(ge) {
|
|
34248
34248
|
return this.sealed ? R(2) : d.createElement(Te, { sheet: this.instance }, ge);
|
|
@@ -34268,13 +34268,13 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
34268
34268
|
}
|
|
34269
34269
|
t.env.NODE_ENV, t.env.NODE_ENV !== "production" && t.env.NODE_ENV !== "test" && typeof window < "u" && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, window["__styled-components-init__"] += 1), n.ServerStyleSheet = Kt, n.StyleSheetConsumer = I, n.StyleSheetContext = Ie, n.StyleSheetManager = Te, n.ThemeConsumer = Qe, n.ThemeContext = $e, n.ThemeProvider = function(ge) {
|
|
34270
34270
|
var ze = r.useContext($e), Ke = r.useMemo(function() {
|
|
34271
|
-
return
|
|
34272
|
-
var
|
|
34271
|
+
return qe = ge.theme, gt = ze, qe ? E(qe) ? (ft = qe(gt), t.env.NODE_ENV === "production" || ft !== null && !Array.isArray(ft) && typeof ft == "object" ? ft : R(7)) : Array.isArray(qe) || typeof qe != "object" ? R(8) : gt ? h({}, gt, {}, qe) : qe : R(14);
|
|
34272
|
+
var qe, gt, ft;
|
|
34273
34273
|
}, [ge.theme, ze]);
|
|
34274
34274
|
return ge.children ? d.createElement($e.Provider, { value: Ke }, ge.children) : null;
|
|
34275
34275
|
}, n.__PRIVATE__ = Ce, n.createGlobalStyle = function(ge) {
|
|
34276
|
-
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0),
|
|
34277
|
-
Ke[
|
|
34276
|
+
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0), qe = 1; qe < ze; qe++)
|
|
34277
|
+
Ke[qe - 1] = arguments[qe];
|
|
34278
34278
|
var gt = xt.apply(void 0, [ge].concat(Ke)), ft = "sc-global-" + ke(JSON.stringify(gt)), me = new nn(gt, ft);
|
|
34279
34279
|
function Ue(Pt) {
|
|
34280
34280
|
var Mt = be(), Gt = Ye(), Ht = r.useContext($e), Zt = r.useRef(Mt.allocateGSInstance(ft)).current;
|
|
@@ -34293,17 +34293,17 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
34293
34293
|
return t.env.NODE_ENV !== "production" && Nt(ft), d.memo(Ue);
|
|
34294
34294
|
}, n.css = xt, n.default = Ut, n.isStyledComponent = g, n.keyframes = function(ge) {
|
|
34295
34295
|
t.env.NODE_ENV;
|
|
34296
|
-
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0),
|
|
34297
|
-
Ke[
|
|
34296
|
+
for (var ze = arguments.length, Ke = new Array(1 < ze ? ze - 1 : 0), qe = 1; qe < ze; qe++)
|
|
34297
|
+
Ke[qe - 1] = arguments[qe];
|
|
34298
34298
|
ge = xt.apply(void 0, [ge].concat(Ke)).join("");
|
|
34299
34299
|
var gt = ke(ge);
|
|
34300
34300
|
return new Xe(gt, ge);
|
|
34301
34301
|
}, n.useTheme = function() {
|
|
34302
34302
|
return r.useContext($e);
|
|
34303
34303
|
}, n.version = "5.3.11", n.withTheme = function(ge) {
|
|
34304
|
-
var ze = d.forwardRef(function(Ke,
|
|
34304
|
+
var ze = d.forwardRef(function(Ke, qe) {
|
|
34305
34305
|
var gt = r.useContext($e), ft = ge.defaultProps;
|
|
34306
|
-
return gt = ct(Ke, gt, ft), t.env.NODE_ENV !== "production" && gt === void 0 && x(ge), d.createElement(ge, h({}, Ke, { theme: gt, ref:
|
|
34306
|
+
return gt = ct(Ke, gt, ft), t.env.NODE_ENV !== "production" && gt === void 0 && x(ge), d.createElement(ge, h({}, Ke, { theme: gt, ref: qe }));
|
|
34307
34307
|
});
|
|
34308
34308
|
return m(ze, ge), ze.displayName = "WithTheme(" + x(ge) + ")", ze;
|
|
34309
34309
|
};
|
|
@@ -41659,7 +41659,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41659
41659
|
rt = Ge;
|
|
41660
41660
|
}, d), ot = (this.cver = Jt, null), rn = (this.setSID = function(Ge) {
|
|
41661
41661
|
ot = Ge;
|
|
41662
|
-
}, 1), fn = s, sn = Fe.codoxLogger, gn = Fe.startCb, xt = Fe.sockOpenTimer, Ft = Fe.editorInstance, Xt = v.reportError.bind(v), Nt = v.addBreadcrumb.bind(v), ct = v.addTag.bind(v), ye = (this.breadCrumb = Nt, this.editorInstance = Ft, Nt("[codoxi]* ccw: t = 0; CV=" + Jt + "; seid = " + Fe.sid, _), ct("clientVersion", Jt), Fe.ver), Ne = this, ve = (this.app = Fe).appType, ke = Fe.sid, tt = Fe.domains, dt = Fe.cid, Et = (tt.b(), tt.c()), Ct = (Et.sw && Et.sw(this), Fe.sysInfo), $e = Fe.anyClient, Qe = Fe.founder, mt = nt.Write, $t = (Fe.role && (mt = Fe.role), gn), Ut = { sid: ot, jointime: /* @__PURE__ */ new Date(), userinfo: Object.assign({}, Fe.user), role: mt, founder: Qe }, nn = (this.minfo = Ut, null), Kt = null, Ce = null, Me = (u || (this.rangy || (this.rangy = e("rangy/lib/rangy-selectionsaverestore")), this.rangy.initialized) || this.rangy.init(), this.rangy = e("rangy/lib/rangy-selectionsaverestore"), this.rangy.init(), 0), st = null, ge = null, ze = [], Ke = null,
|
|
41662
|
+
}, 1), fn = s, sn = Fe.codoxLogger, gn = Fe.startCb, xt = Fe.sockOpenTimer, Ft = Fe.editorInstance, Xt = v.reportError.bind(v), Nt = v.addBreadcrumb.bind(v), ct = v.addTag.bind(v), ye = (this.breadCrumb = Nt, this.editorInstance = Ft, Nt("[codoxi]* ccw: t = 0; CV=" + Jt + "; seid = " + Fe.sid, _), ct("clientVersion", Jt), Fe.ver), Ne = this, ve = (this.app = Fe).appType, ke = Fe.sid, tt = Fe.domains, dt = Fe.cid, Et = (tt.b(), tt.c()), Ct = (Et.sw && Et.sw(this), Fe.sysInfo), $e = Fe.anyClient, Qe = Fe.founder, mt = nt.Write, $t = (Fe.role && (mt = Fe.role), gn), Ut = { sid: ot, jointime: /* @__PURE__ */ new Date(), userinfo: Object.assign({}, Fe.user), role: mt, founder: Qe }, nn = (this.minfo = Ut, null), Kt = null, Ce = null, Me = (u || (this.rangy || (this.rangy = e("rangy/lib/rangy-selectionsaverestore")), this.rangy.initialized) || this.rangy.init(), this.rangy = e("rangy/lib/rangy-selectionsaverestore"), this.rangy.init(), 0), st = null, ge = null, ze = [], Ke = null, qe = a.now(), gt = 0, ft = b, me = ee.pmod(), Ue = !1, ht = null, Pt = !1, Mt = (this.setSMC = function(Ge) {
|
|
41663
41663
|
Pt = Ge;
|
|
41664
41664
|
}, null), Gt = null, Ht = null, Zt = null, en = null, zn = null, wn = null, En = null, Jn = null, dr = null, oo = !0, jr = !0, Nr = !0, wo = !0, fr = !0, mr = !0, Rr = !0, ti = !0, Xr = null, io = null, No = null, eo = null, Uo = null, ga = null, co = null, nr = null, gi = null, Ln = null, Bn = null, Po = null, So = null, ni = null, ki = null, Ai = null, Ji = null;
|
|
41665
41665
|
function mo(Ge) {
|
|
@@ -41794,7 +41794,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41794
41794
|
}
|
|
41795
41795
|
var Tr, Dr = !1, Gr = !1;
|
|
41796
41796
|
function yr(Ge) {
|
|
41797
|
-
var at = Ge, _t = (
|
|
41797
|
+
var at = Ge, _t = (qe = a.now(), Ge.caid = ot, Ge.cak = Ce, Ge.d = ke, "");
|
|
41798
41798
|
if (!je)
|
|
41799
41799
|
throw new Error("ESTOP:socket nonexistence");
|
|
41800
41800
|
je.canSendJSON || (_t = JSON.stringify(Ge)).length;
|
|
@@ -41904,7 +41904,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41904
41904
|
}, this.srtt = function(Ge) {
|
|
41905
41905
|
gt = Ge;
|
|
41906
41906
|
}, this.glst = function() {
|
|
41907
|
-
return
|
|
41907
|
+
return qe;
|
|
41908
41908
|
}, this.nu = bt, this.nsi = function(Ge, at) {
|
|
41909
41909
|
if (!be) {
|
|
41910
41910
|
Fe.a.b(dt, Bn.mbs);
|
|
@@ -43472,21 +43472,21 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
43472
43472
|
return ke !== null && (Nt.Xa || (Nt.Xa = []), Nt.pon && (ke.pon = Nt.pon + 1), ke.pon = Nt.pon + 1, Nt.Xa.push(ke)), delete je.isInDR;
|
|
43473
43473
|
}
|
|
43474
43474
|
if (Xt === Ft)
|
|
43475
|
-
F(be) ? Ye && (O(be.do, 0), rt[ot] = rt[ot] + 1, rt[1 + ot] = 0) : x(be) && je.ft && be.ft && ((Ke,
|
|
43475
|
+
F(be) ? Ye && (O(be.do, 0), rt[ot] = rt[ot] + 1, rt[1 + ot] = 0) : x(be) && je.ft && be.ft && ((Ke, qe) => {
|
|
43476
43476
|
for (var gt = 0; gt < Ke.length; gt++)
|
|
43477
|
-
for (var ft = 0; ft <
|
|
43478
|
-
if (Ke[gt] ===
|
|
43477
|
+
for (var ft = 0; ft < qe.length; ft++)
|
|
43478
|
+
if (Ke[gt] === qe[ft])
|
|
43479
43479
|
return 1;
|
|
43480
43480
|
})(be.ft, je.ft) || (F(be) && (be.otg = Xt), O(be.do, 0), rt[ot] = rt[ot] + 1, rt[rt.length - 1] = rt[rt.length - 1] - je.do[0].p + 1);
|
|
43481
43481
|
else if (Ft < Xt)
|
|
43482
43482
|
F(be) && (be.otg = Xt), O(be.do, Xt - Ft), rt[ot] = rt[ot] + 1, rt[rt.length - 1] = rt[rt.length - 1] - je.do[0].p + 1;
|
|
43483
|
-
else if (((Ke,
|
|
43483
|
+
else if (((Ke, qe) => {
|
|
43484
43484
|
if (!R(Ke) && Ke.do.length !== 0) {
|
|
43485
43485
|
var gt = 0, ft = 0, me = (Ke.do[0].tg && !Ke.do[0].sx && (ft = Ke.do[0].tg, gt = 1), ft);
|
|
43486
43486
|
if (Ke.do[gt].sx) {
|
|
43487
43487
|
for (var Ue = gt; Ue < Ke.do.length; Ue++)
|
|
43488
43488
|
me += Ke.do[Ue].tg;
|
|
43489
|
-
if (ft <
|
|
43489
|
+
if (ft < qe && qe < me && !o)
|
|
43490
43490
|
return 1;
|
|
43491
43491
|
}
|
|
43492
43492
|
}
|
|
@@ -44208,14 +44208,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44208
44208
|
return st;
|
|
44209
44209
|
}
|
|
44210
44210
|
} else {
|
|
44211
|
-
var Ke,
|
|
44211
|
+
var Ke, qe, gt = Nt($e), ft = gt == u || gt == l;
|
|
44212
44212
|
if (tt($e))
|
|
44213
|
-
return Ke = $e, (
|
|
44213
|
+
return Ke = $e, (qe = Qe) ? Ke.slice() : (qe = new Ke.constructor(Ke.length), Ke.copy(qe), qe);
|
|
44214
44214
|
if (gt == h || gt == r || ft && !nn) {
|
|
44215
44215
|
if (U($e))
|
|
44216
44216
|
return nn ? $e : {};
|
|
44217
44217
|
if (Ce = typeof (Ke = ft ? {} : $e).constructor != "function" || ct(Ke) ? {} : ((Ht) => Et(Ht) ? Le(Ht) : {})(Pe(Ke)), !Qe)
|
|
44218
|
-
return ft =
|
|
44218
|
+
return ft = qe = $e, ft = (Ue = Ce) && gn(ft, Ct(ft), Ue), gn(qe, Xt(qe), ft);
|
|
44219
44219
|
} else {
|
|
44220
44220
|
if (!k[gt])
|
|
44221
44221
|
return nn ? $e : {};
|
|
@@ -44552,7 +44552,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44552
44552
|
if (!(1 & tt) && ($e = $t && K.call(ve, "__wrapped__"), mt = Ut && K.call(ke, "__wrapped__"), $e || mt))
|
|
44553
44553
|
return Ct($t = $e ? ve.value() : ve, Ut = mt ? ke.value() : ke, tt, dt, Et = Et || new De());
|
|
44554
44554
|
if (Qe) {
|
|
44555
|
-
var
|
|
44555
|
+
var qe = ve, gt = ke, ft = tt, me = dt, Ue = Ct, ht = Et = Et || new De(), Pt = 1 & ft, Mt = Xe(qe), Gt = Mt.length;
|
|
44556
44556
|
if (Gt != ($e = Xe(gt).length) && !Pt)
|
|
44557
44557
|
return !1;
|
|
44558
44558
|
for (var Ht = Gt; Ht--; ) {
|
|
@@ -44560,17 +44560,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44560
44560
|
if (!(Pt ? Zt in gt : K.call(gt, Zt)))
|
|
44561
44561
|
return !1;
|
|
44562
44562
|
}
|
|
44563
|
-
if (($e = ht.get(
|
|
44563
|
+
if (($e = ht.get(qe)) && ht.get(gt))
|
|
44564
44564
|
return $e == gt;
|
|
44565
|
-
for (var en = !0, zn = (ht.set(
|
|
44566
|
-
var wn, En =
|
|
44567
|
-
if (!((wn = me ? Pt ? me(Jn, En, Zt, gt,
|
|
44565
|
+
for (var en = !0, zn = (ht.set(qe, gt), ht.set(gt, qe), Pt); ++Ht < Gt; ) {
|
|
44566
|
+
var wn, En = qe[Zt = Mt[Ht]], Jn = gt[Zt];
|
|
44567
|
+
if (!((wn = me ? Pt ? me(Jn, En, Zt, gt, qe, ht) : me(En, Jn, Zt, qe, gt, ht) : wn) === void 0 ? En === Jn || Ue(En, Jn, ft, me, ht) : wn)) {
|
|
44568
44568
|
en = !1;
|
|
44569
44569
|
break;
|
|
44570
44570
|
}
|
|
44571
44571
|
zn = zn || Zt == "constructor";
|
|
44572
44572
|
}
|
|
44573
|
-
return en && !zn && ($e =
|
|
44573
|
+
return en && !zn && ($e = qe.constructor) != (mt = gt.constructor) && "constructor" in qe && "constructor" in gt && !(typeof $e == "function" && $e instanceof $e && typeof mt == "function" && mt instanceof mt) && (en = !1), ht.delete(qe), ht.delete(gt), en;
|
|
44574
44574
|
}
|
|
44575
44575
|
return !1;
|
|
44576
44576
|
}
|
|
@@ -46219,12 +46219,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
46219
46219
|
return Ce = Ee(Ce.endContainer, Ce.endOffset, Me.startContainer, Me.startOffset), st ? ge <= 0 && 0 <= Ce : ge < 0 && 0 < Ce;
|
|
46220
46220
|
}
|
|
46221
46221
|
function je(Ce, Me, st) {
|
|
46222
|
-
var ge, ze, Ke,
|
|
46222
|
+
var ge, ze, Ke, qe;
|
|
46223
46223
|
for (st = st || { stop: !1 }; Ke = Ce.next(); )
|
|
46224
46224
|
if (Ce.isPartiallySelectedSubtree()) {
|
|
46225
46225
|
if (Me(Ke) === !1)
|
|
46226
46226
|
return void (st.stop = !0);
|
|
46227
|
-
if (je(
|
|
46227
|
+
if (je(qe = Ce.getSubtreeIterator(), Me, st), qe.detach(), st.stop)
|
|
46228
46228
|
return;
|
|
46229
46229
|
} else
|
|
46230
46230
|
for (ge = Y.createIterator(Ke); ze = ge.next(); )
|
|
@@ -46320,8 +46320,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
46320
46320
|
}
|
|
46321
46321
|
function Et(Ce, Me) {
|
|
46322
46322
|
ke(Ce);
|
|
46323
|
-
var st = Ce.startContainer, ge = Ce.startOffset, ze = Ce.endContainer, Ke = Ce.endOffset,
|
|
46324
|
-
ne(ze) && 0 < Ke && Ke < ze.length && le(ze, Ke, Me), ne(st) && 0 < ge && ge < st.length && (st = le(st, ge, Me),
|
|
46323
|
+
var st = Ce.startContainer, ge = Ce.startOffset, ze = Ce.endContainer, Ke = Ce.endOffset, qe = st === ze;
|
|
46324
|
+
ne(ze) && 0 < Ke && Ke < ze.length && le(ze, Ke, Me), ne(st) && 0 < ge && ge < st.length && (st = le(st, ge, Me), qe ? (Ke -= ge, ze = st) : ze == st.parentNode && Ke >= ce(st) && Ke++, ge = 0), Ce.setStartAndEnd(st, ge, ze, Ke);
|
|
46325
46325
|
}
|
|
46326
46326
|
function Ct(Ce) {
|
|
46327
46327
|
ke(Ce);
|
|
@@ -46344,55 +46344,55 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
46344
46344
|
};
|
|
46345
46345
|
}
|
|
46346
46346
|
function Ut(Ce, Me) {
|
|
46347
|
-
function st(
|
|
46347
|
+
function st(qe, gt) {
|
|
46348
46348
|
return function(ft) {
|
|
46349
|
-
Ft(ft, lt), Ft(we(ft), ut), ft = (
|
|
46349
|
+
Ft(ft, lt), Ft(we(ft), ut), ft = (qe ? De : Ie)(ft), (gt ? ge : ze)(this, ft.node, ft.offset);
|
|
46350
46350
|
};
|
|
46351
46351
|
}
|
|
46352
|
-
function ge(
|
|
46353
|
-
var me =
|
|
46354
|
-
gt ===
|
|
46352
|
+
function ge(qe, gt, ft) {
|
|
46353
|
+
var me = qe.endContainer, Ue = qe.endOffset;
|
|
46354
|
+
gt === qe.startContainer && ft === qe.startOffset || (we(gt) == we(me) && Ee(gt, ft, me, Ue) != 1 || (me = gt, Ue = ft), Me(qe, gt, ft, me, Ue));
|
|
46355
46355
|
}
|
|
46356
|
-
function ze(
|
|
46357
|
-
var me =
|
|
46358
|
-
gt ===
|
|
46356
|
+
function ze(qe, gt, ft) {
|
|
46357
|
+
var me = qe.startContainer, Ue = qe.startOffset;
|
|
46358
|
+
gt === qe.endContainer && ft === qe.endOffset || (we(gt) == we(me) && Ee(gt, ft, me, Ue) != -1 || (me = gt, Ue = ft), Me(qe, me, Ue, gt, ft));
|
|
46359
46359
|
}
|
|
46360
46360
|
function Ke() {
|
|
46361
46361
|
}
|
|
46362
|
-
Ke.prototype = U.rangePrototype, Ce.prototype = new Ke(), Z.extend(Ce.prototype, { setStart: function(
|
|
46363
|
-
xt(
|
|
46364
|
-
}, setEnd: function(
|
|
46365
|
-
xt(
|
|
46362
|
+
Ke.prototype = U.rangePrototype, Ce.prototype = new Ke(), Z.extend(Ce.prototype, { setStart: function(qe, gt) {
|
|
46363
|
+
xt(qe, !0), Xt(qe, gt), ge(this, qe, gt);
|
|
46364
|
+
}, setEnd: function(qe, gt) {
|
|
46365
|
+
xt(qe, !0), Xt(qe, gt), ze(this, qe, gt);
|
|
46366
46366
|
}, setStartAndEnd: function() {
|
|
46367
|
-
var
|
|
46368
|
-
switch (
|
|
46367
|
+
var qe = arguments, gt = qe[0], ft = qe[1], me = gt, Ue = ft;
|
|
46368
|
+
switch (qe.length) {
|
|
46369
46369
|
case 3:
|
|
46370
|
-
Ue =
|
|
46370
|
+
Ue = qe[2];
|
|
46371
46371
|
break;
|
|
46372
46372
|
case 4:
|
|
46373
|
-
me =
|
|
46373
|
+
me = qe[2], Ue = qe[3];
|
|
46374
46374
|
}
|
|
46375
46375
|
xt(gt, !0), Xt(gt, ft), xt(me, !0), Xt(me, Ue), Me(this, gt, ft, me, Ue);
|
|
46376
|
-
}, setBoundary: function(
|
|
46377
|
-
this["set" + (ft ? "Start" : "End")](
|
|
46378
|
-
}, setStartBefore: st(!0, !0), setStartAfter: st(!1, !0), setEndBefore: st(!0, !1), setEndAfter: st(!1, !1), collapse: function(
|
|
46379
|
-
ke(this),
|
|
46380
|
-
}, selectNodeContents: function(
|
|
46381
|
-
xt(
|
|
46382
|
-
}, selectNode: function(
|
|
46383
|
-
xt(
|
|
46384
|
-
var gt = De(
|
|
46385
|
-
|
|
46376
|
+
}, setBoundary: function(qe, gt, ft) {
|
|
46377
|
+
this["set" + (ft ? "Start" : "End")](qe, gt);
|
|
46378
|
+
}, setStartBefore: st(!0, !0), setStartAfter: st(!1, !0), setEndBefore: st(!0, !1), setEndAfter: st(!1, !1), collapse: function(qe) {
|
|
46379
|
+
ke(this), qe ? Me(this, this.startContainer, this.startOffset, this.startContainer, this.startOffset) : Me(this, this.endContainer, this.endOffset, this.endContainer, this.endOffset);
|
|
46380
|
+
}, selectNodeContents: function(qe) {
|
|
46381
|
+
xt(qe, !0), Me(this, qe, 0, qe, Pe(qe));
|
|
46382
|
+
}, selectNode: function(qe) {
|
|
46383
|
+
xt(qe, !1), Ft(qe, lt);
|
|
46384
|
+
var gt = De(qe);
|
|
46385
|
+
qe = Ie(qe), Me(this, gt.node, gt.offset, qe.node, qe.offset);
|
|
46386
46386
|
}, extractContents: $t(Ye, Me), deleteContents: $t(be, Me), canSurroundContents: function() {
|
|
46387
46387
|
ke(this), ct(this.startContainer), ct(this.endContainer);
|
|
46388
|
-
var
|
|
46389
|
-
return
|
|
46388
|
+
var qe = new Xe(this, !0), gt = qe._first && Re(qe._first, this) || qe._last && Re(qe._last, this);
|
|
46389
|
+
return qe.detach(), !gt;
|
|
46390
46390
|
}, splitBoundaries: function() {
|
|
46391
46391
|
Et(this);
|
|
46392
|
-
}, splitBoundariesPreservingPositions: function(
|
|
46393
|
-
Et(this,
|
|
46392
|
+
}, splitBoundariesPreservingPositions: function(qe) {
|
|
46393
|
+
Et(this, qe);
|
|
46394
46394
|
}, normalizeBoundaries: function() {
|
|
46395
|
-
function
|
|
46395
|
+
function qe(Ht) {
|
|
46396
46396
|
var Zt = Ht.nextSibling;
|
|
46397
46397
|
Zt && Zt.nodeType == Ht.nodeType && (Mt = (Pt = Ht).length, Ht.appendData(Zt.data), xe(Zt));
|
|
46398
46398
|
}
|
|
@@ -46402,9 +46402,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
46402
46402
|
}
|
|
46403
46403
|
ke(this);
|
|
46404
46404
|
var ft, me, Ue = this.startContainer, ht = this.startOffset, Pt = this.endContainer, Mt = this.endOffset, Gt = !0;
|
|
46405
|
-
ne(Pt) ? Mt == Pt.length ?
|
|
46406
|
-
}, collapseToPoint: function(
|
|
46407
|
-
xt(
|
|
46405
|
+
ne(Pt) ? Mt == Pt.length ? qe(Pt) : Mt == 0 && (ft = Pt.previousSibling) && ft.nodeType == Pt.nodeType && (Mt = ft.length, Ue == Pt && (Gt = !1), ft.appendData(Pt.data), xe(Pt), Pt = ft) : (0 < Mt && (me = Pt.childNodes[Mt - 1]) && ne(me) && qe(me), Gt = !this.collapsed), Gt ? ne(Ue) ? ht == 0 ? gt(Ue) : ht == Ue.length && (ft = Ue.nextSibling) && ft.nodeType == Ue.nodeType && (Pt == ft && (Mt += (Pt = Ue).length), Ue.appendData(ft.data), xe(ft)) : ht < Ue.childNodes.length && (me = Ue.childNodes[ht]) && ne(me) && gt(me) : (Ue = Pt, ht = Mt), Me(this, Ue, ht, Pt, Mt);
|
|
46406
|
+
}, collapseToPoint: function(qe, gt) {
|
|
46407
|
+
xt(qe, !0), Xt(qe, gt), this.setStartAndEnd(qe, gt);
|
|
46408
46408
|
}, parentElement: function() {
|
|
46409
46409
|
return ke(this), this.commonAncestorContainer ? gn(this.commonAncestorContainer, !0) : null;
|
|
46410
46410
|
} }), mt(Ce);
|
|
@@ -46426,12 +46426,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
46426
46426
|
}, cloneContents: function() {
|
|
46427
46427
|
var Ce, Me;
|
|
46428
46428
|
return ke(this), this.collapsed ? Je(this).createDocumentFragment() : this.startContainer === this.endContainer && ne(this.startContainer) ? ((Me = this.startContainer.cloneNode(!0)).data = Me.data.slice(this.startOffset, this.endOffset), (Ce = Je(this).createDocumentFragment()).appendChild(Me), Ce) : (Me = function st(ge) {
|
|
46429
|
-
for (var ze, Ke,
|
|
46429
|
+
for (var ze, Ke, qe = Je(ge.range).createDocumentFragment(); ze = ge.next(); ) {
|
|
46430
46430
|
if (Ke = ge.isPartiallySelectedSubtree(), ze = ze.cloneNode(!Ke), Ke && (Ke = ge.getSubtreeIterator(), ze.appendChild(st(Ke)), Ke.detach()), ze.nodeType == 10)
|
|
46431
46431
|
throw new ee("HIERARCHY_REQUEST_ERR");
|
|
46432
|
-
|
|
46432
|
+
qe.appendChild(ze);
|
|
46433
46433
|
}
|
|
46434
|
-
return
|
|
46434
|
+
return qe;
|
|
46435
46435
|
}(Ce = new Xe(this, !0)), Ce.detach(), Me);
|
|
46436
46436
|
}, canSurroundContents: function() {
|
|
46437
46437
|
ke(this), ct(this.startContainer), ct(this.endContainer);
|
|
@@ -46502,11 +46502,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
46502
46502
|
var Me = this.cloneRange(), st = (Me.selectNode(Ce), Me.getNodes([3]));
|
|
46503
46503
|
return 0 < st.length ? (Me.setStart(st[0], 0), st = st.pop(), Me.setEnd(st, st.length), this.containsRange(Me)) : this.containsNodeContents(Ce);
|
|
46504
46504
|
}, getNodes: function(Ce, Me) {
|
|
46505
|
-
return ke(this), st = this, ge = Me, Ke = !(!(Me = Ce) || !Me.length),
|
|
46505
|
+
return ke(this), st = this, ge = Me, Ke = !(!(Me = Ce) || !Me.length), qe = !!ge, Ke && (ze = new RegExp("^(" + Me.join("|") + ")$")), je(new Xe(st, !(gt = [])), function(ft) {
|
|
46506
46506
|
var me;
|
|
46507
|
-
Ke && !ze.test(ft.nodeType) ||
|
|
46507
|
+
Ke && !ze.test(ft.nodeType) || qe && !ge(ft) || ft == (me = st.startContainer) && ne(me) && st.startOffset == me.length || ft == (me = st.endContainer) && ne(me) && st.endOffset == 0 || gt.push(ft);
|
|
46508
46508
|
}), gt;
|
|
46509
|
-
var st, ge, ze, Ke,
|
|
46509
|
+
var st, ge, ze, Ke, qe, gt;
|
|
46510
46510
|
}, getDocument: function() {
|
|
46511
46511
|
return Je(this);
|
|
46512
46512
|
}, collapseBefore: function(Ce) {
|
|
@@ -46517,9 +46517,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
46517
46517
|
var Me = Je(this), st = U.createRange(Me), ge = 0, ze = 0;
|
|
46518
46518
|
return Ce = Ce || Y.getBody(Me), st.selectNodeContents(Ce), (Me = this.intersection(st)) && (st.setEnd(Me.startContainer, Me.startOffset), ze = (ge = st.toString().length) + Me.toString().length), { start: ge, end: ze, containerNode: Ce };
|
|
46519
46519
|
}, moveToBookmark: function(Ce) {
|
|
46520
|
-
for (var Me, st, ge, ze, Ke = Ce.containerNode,
|
|
46520
|
+
for (var Me, st, ge, ze, Ke = Ce.containerNode, qe = 0, gt = (this.setStart(Ke, 0), this.collapse(!0), [Ke]), ft = !1, me = !1; !me && (Me = gt.pop()); )
|
|
46521
46521
|
if (Me.nodeType == 3)
|
|
46522
|
-
st =
|
|
46522
|
+
st = qe + Me.length, !ft && Ce.start >= qe && Ce.start <= st && (this.setStart(Me, Ce.start - qe), ft = !0), ft && Ce.end >= qe && Ce.end <= st && (this.setEnd(Me, Ce.end - qe), me = !0), qe = st;
|
|
46523
46523
|
else
|
|
46524
46524
|
for (ge = (ze = Me.childNodes).length; ge--; )
|
|
46525
46525
|
gt.push(ze[ge]);
|
|
@@ -46919,7 +46919,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
46919
46919
|
if (me.win.document != Le(Ue))
|
|
46920
46920
|
throw new Ee("WRONG_DOCUMENT_ERR");
|
|
46921
46921
|
}
|
|
46922
|
-
function
|
|
46922
|
+
function qe(me, Ue) {
|
|
46923
46923
|
if (Ue < 0 || Ue > (ee.isCharacterDataNode(me) ? me : me.childNodes).length)
|
|
46924
46924
|
throw new Ee("INDEX_SIZE_ERR");
|
|
46925
46925
|
}
|
|
@@ -46985,7 +46985,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
46985
46985
|
}, Xe ? Me.setBaseAndExtent = function(me, Ue, ht, Pt) {
|
|
46986
46986
|
this.nativeSelection.setBaseAndExtent(me, Ue, ht, Pt), this.refresh();
|
|
46987
46987
|
} : Te && (Me.setBaseAndExtent = function(me, Ue, ht, Pt) {
|
|
46988
|
-
|
|
46988
|
+
qe(me, Ue), qe(ht, Pt), Ke(this, me), Ke(this, ht);
|
|
46989
46989
|
var Mt = U.createRange(node), Gt = ee.comparePoints(me, Ue, ht, Pt) == -1;
|
|
46990
46990
|
Gt ? Mt.setStartAndEnd(ht, Pt, me, Ue) : Mt.setStartAndEnd(me, Ue, ht, Pt), this.setSingleRange(Mt, Gt);
|
|
46991
46991
|
}), Me.deleteFromDocument = function() {
|
|
@@ -52427,7 +52427,7 @@ function _k({ options: y, onQueryChange: i, onSelectOption: p, onOpen: e, onClos
|
|
|
52427
52427
|
return () => {
|
|
52428
52428
|
h();
|
|
52429
52429
|
};
|
|
52430
|
-
}, [d, t, i, s, f, m]), s === null || d === null ? null :
|
|
52430
|
+
}, [d, t, i, s, f, m]), s === null || d === null ? null : He.jsx(vk, { close: f, resolution: s, editor: d, anchorElementRef: l, options: y, menuRenderFn: n, shouldSplitNodeWithQuery: !0, onSelectOption: p, commandPriority: a });
|
|
52431
52431
|
}
|
|
52432
52432
|
function tv(y, i) {
|
|
52433
52433
|
return y.getEditorState().read(() => {
|
|
@@ -52515,7 +52515,7 @@ function Sk(y) {
|
|
|
52515
52515
|
v,
|
|
52516
52516
|
E,
|
|
52517
52517
|
x
|
|
52518
|
-
]), a ?
|
|
52518
|
+
]), a ? He.jsx(
|
|
52519
52519
|
a,
|
|
52520
52520
|
{
|
|
52521
52521
|
// @ts-ignore
|
|
@@ -52527,7 +52527,7 @@ function Sk(y) {
|
|
|
52527
52527
|
"data-beautiful-mention": m,
|
|
52528
52528
|
children: m
|
|
52529
52529
|
}
|
|
52530
|
-
) : t ?
|
|
52530
|
+
) : t ? He.jsxs("span", { ref: f, className: s && t.containerFocused ? t.containerFocused : t.container, "data-beautiful-mention": m, children: [He.jsx("span", { className: t.trigger, children: p }), He.jsx("span", { className: t.value, children: i })] }) : He.jsx("span", { ref: f, className: h, "data-beautiful-mention": m, children: m });
|
|
52531
52531
|
}
|
|
52532
52532
|
function Ek(y) {
|
|
52533
52533
|
const i = y.getAttribute("data-lexical-beautiful-mention-trigger"), p = y.getAttribute("data-lexical-beautiful-mention-value");
|
|
@@ -52602,7 +52602,7 @@ class ul extends Cc {
|
|
|
52602
52602
|
}
|
|
52603
52603
|
decorate(i, p) {
|
|
52604
52604
|
const { className: e, classNameFocused: c, classNames: n } = this.getCssClassesFromTheme(p);
|
|
52605
|
-
return
|
|
52605
|
+
return He.jsx(Sk, { nodeKey: this.getKey(), trigger: this.getTrigger(), value: this.getValue(), data: this.getData(), className: e, classNameFocused: c, classNames: n, component: this.component() });
|
|
52606
52606
|
}
|
|
52607
52607
|
getCssClassesFromTheme(i) {
|
|
52608
52608
|
var p;
|
|
@@ -53038,7 +53038,7 @@ function Kk(y) {
|
|
|
53038
53038
|
return document.addEventListener("mousedown", X), () => {
|
|
53039
53039
|
document.removeEventListener("mousedown", X);
|
|
53040
53040
|
};
|
|
53041
|
-
}, [A, S, Y]), !j || !A ? null : df.createPortal(
|
|
53041
|
+
}, [A, S, Y]), !j || !A ? null : df.createPortal(He.jsx(u, { loading: t, itemType: N, role: "menu", "aria-activedescendant": E !== null && R[E] ? R[E].displayValue : "", "aria-label": "Choose trigger and value", "aria-hidden": !j, children: R.map((Z, X) => He.jsx(l, { selected: X === E, role: "menuitem", "aria-selected": E === X, "aria-label": `Choose ${Z.value}`, item: Z.comboboxItem, ref: Z.setRefElement, onClick: () => {
|
|
53042
53042
|
B(X);
|
|
53043
53043
|
}, onMouseEnter: () => {
|
|
53044
53044
|
k(X);
|
|
@@ -53326,9 +53326,9 @@ function eA(y) {
|
|
|
53326
53326
|
B
|
|
53327
53327
|
]), _n(() => {
|
|
53328
53328
|
L && S ? f == null || f() : m == null || m(), L && !S && J();
|
|
53329
|
-
}, [f, m, L, S, J]), Pc ? y.combobox ?
|
|
53329
|
+
}, [f, m, L, S, J]), Pc ? y.combobox ? He.jsx(Kk, { options: D, loading: F, onQueryChange: w, onSelectOption: k, onReset: () => {
|
|
53330
53330
|
I(null);
|
|
53331
|
-
}, triggerFn: W, triggers: E, punctuation: v, creatable: O, comboboxOpen: y.comboboxOpen, comboboxAnchor: y.comboboxAnchor, comboboxAnchorClassName: y.comboboxAnchorClassName, comboboxComponent: y.comboboxComponent, comboboxItemComponent: y.comboboxItemComponent, comboboxAdditionalItems: y.comboboxAdditionalItems, onComboboxOpen: y.onComboboxOpen, onComboboxClose: y.onComboboxClose, onComboboxFocusChange: y.onComboboxFocusChange, onComboboxItemSelect: y.onComboboxItemSelect }) :
|
|
53331
|
+
}, triggerFn: W, triggers: E, punctuation: v, creatable: O, comboboxOpen: y.comboboxOpen, comboboxAnchor: y.comboboxAnchor, comboboxAnchorClassName: y.comboboxAnchorClassName, comboboxComponent: y.comboboxComponent, comboboxItemComponent: y.comboboxItemComponent, comboboxAdditionalItems: y.comboboxAdditionalItems, onComboboxOpen: y.onComboboxOpen, onComboboxClose: y.onComboboxClose, onComboboxFocusChange: y.onComboboxFocusChange, onComboboxItemSelect: y.onComboboxItemSelect }) : He.jsx(_k, { commandPriority: ju, onQueryChange: w, onSelectOption: z, triggerFn: W, options: D, anchorClassName: d, onClose: J, menuRenderFn: (Y, { selectedIndex: Z, selectOptionAndCleanUp: X, setHighlightedIndex: ee }) => (R.current = Z, Y.current && D.length === 0 && N && !F && S && r ? df.createPortal(He.jsx(r, {}), Y.current) : Y.current && L ? df.createPortal(He.jsx(o, { loading: F, role: "menu", "aria-label": "Choose a mention", "aria-hidden": !L, "aria-activedescendant": !mu && Z !== null && D[Z] ? D[Z].displayValue : "", children: D.map((ne, ce) => He.jsx(a, Object.assign({ tabIndex: -1, selected: !mu && Z === ce, ref: ne.setRefElement, role: "menuitem", "aria-selected": !mu && Z === ce, "aria-label": `Choose ${ne.value}`, item: ne.menuItem, itemValue: ne.value, label: ne.displayValue }, ne.data, { onClick: () => {
|
|
53332
53332
|
ee(ce), X(ne);
|
|
53333
53333
|
}, onMouseDown: (se) => {
|
|
53334
53334
|
se.preventDefault();
|
|
@@ -53339,9 +53339,9 @@ function eA(y) {
|
|
|
53339
53339
|
const tA = ({
|
|
53340
53340
|
loading: y,
|
|
53341
53341
|
...i
|
|
53342
|
-
}) => y ? /* @__PURE__ */
|
|
53342
|
+
}) => y ? /* @__PURE__ */ He.jsx("ul", { id: "mention-container", className: "mentionsContainer", ...i, children: /* @__PURE__ */ He.jsx("li", { className: "mentionsContainerItem", children: "Loading..." }) }) : /* @__PURE__ */ He.jsx("ul", { id: "mention-container", className: "mentionsContainer", ...i }), nA = W_(({ selected: y, item: i, children: p, ...e }, c) => {
|
|
53343
53343
|
var n, t, o;
|
|
53344
|
-
return /* @__PURE__ */
|
|
53344
|
+
return /* @__PURE__ */ He.jsx(
|
|
53345
53345
|
"li",
|
|
53346
53346
|
{
|
|
53347
53347
|
className: `mentionsContainerItem ${y && "selected"}`,
|
|
@@ -53434,7 +53434,7 @@ class Zu extends Cc {
|
|
|
53434
53434
|
return !1;
|
|
53435
53435
|
}
|
|
53436
53436
|
decorate() {
|
|
53437
|
-
return /* @__PURE__ */
|
|
53437
|
+
return /* @__PURE__ */ He.jsx(rA, { nodeKey: this.__key });
|
|
53438
53438
|
}
|
|
53439
53439
|
}
|
|
53440
53440
|
function oA() {
|
|
@@ -53567,7 +53567,7 @@ function hA({
|
|
|
53567
53567
|
let G = [], Y = [];
|
|
53568
53568
|
F && F.length > 0 && F.map((Z, X) => {
|
|
53569
53569
|
Y.includes(Z.name) || (Y.push(Z.name), G.push(
|
|
53570
|
-
/* @__PURE__ */
|
|
53570
|
+
/* @__PURE__ */ He.jsxs(
|
|
53571
53571
|
"div",
|
|
53572
53572
|
{
|
|
53573
53573
|
title: Z.email,
|
|
@@ -53597,11 +53597,11 @@ function hA({
|
|
|
53597
53597
|
a(G);
|
|
53598
53598
|
}, 500);
|
|
53599
53599
|
}, [f, o, a]);
|
|
53600
|
-
return /* @__PURE__ */
|
|
53601
|
-
/* @__PURE__ */
|
|
53602
|
-
/* @__PURE__ */
|
|
53603
|
-
/* @__PURE__ */
|
|
53604
|
-
d && /* @__PURE__ */
|
|
53600
|
+
return /* @__PURE__ */ He.jsxs("div", { ref: v, children: [
|
|
53601
|
+
/* @__PURE__ */ He.jsx(bS, { children: /* @__PURE__ */ He.jsxs(Qg, { initialConfig: L, children: [
|
|
53602
|
+
/* @__PURE__ */ He.jsx(g_, { ref: R }),
|
|
53603
|
+
/* @__PURE__ */ He.jsxs("div", { className: "editor-container", children: [
|
|
53604
|
+
d && /* @__PURE__ */ He.jsx("div", { style: { pointerEvents: l ? "none" : "all" }, children: /* @__PURE__ */ He.jsx(
|
|
53605
53605
|
yC,
|
|
53606
53606
|
{
|
|
53607
53607
|
styleConfig: p,
|
|
@@ -53611,25 +53611,25 @@ function hA({
|
|
|
53611
53611
|
source: h,
|
|
53612
53612
|
onPaste: m
|
|
53613
53613
|
}
|
|
53614
|
-
),
|
|
53615
|
-
/* @__PURE__ */
|
|
53616
|
-
/* @__PURE__ */
|
|
53614
|
+
) }),
|
|
53615
|
+
/* @__PURE__ */ He.jsxs("div", { className: "editor-inner", children: [
|
|
53616
|
+
/* @__PURE__ */ He.jsx(
|
|
53617
53617
|
q1,
|
|
53618
53618
|
{
|
|
53619
|
-
contentEditable: /* @__PURE__ */
|
|
53619
|
+
contentEditable: /* @__PURE__ */ He.jsx("div", { className: "custom-margin", children: /* @__PURE__ */ He.jsx(pm, { className: `editor-input ${f}`, contentEditable: !1 }) }),
|
|
53620
53620
|
placeholder: null,
|
|
53621
53621
|
ErrorBoundary: dm
|
|
53622
53622
|
}
|
|
53623
53623
|
),
|
|
53624
|
-
/* @__PURE__ */
|
|
53624
|
+
/* @__PURE__ */ He.jsx(fm, {})
|
|
53625
53625
|
] })
|
|
53626
53626
|
] }),
|
|
53627
|
-
/* @__PURE__ */
|
|
53628
|
-
/* @__PURE__ */
|
|
53629
|
-
/* @__PURE__ */
|
|
53630
|
-
/* @__PURE__ */
|
|
53631
|
-
/* @__PURE__ */
|
|
53632
|
-
/* @__PURE__ */
|
|
53627
|
+
/* @__PURE__ */ He.jsx(eS, {}),
|
|
53628
|
+
/* @__PURE__ */ He.jsx(OC, {}),
|
|
53629
|
+
/* @__PURE__ */ He.jsx(uS, {}),
|
|
53630
|
+
/* @__PURE__ */ He.jsx(_S, {}),
|
|
53631
|
+
/* @__PURE__ */ He.jsx(gm, {}),
|
|
53632
|
+
/* @__PURE__ */ He.jsx(
|
|
53633
53633
|
eA,
|
|
53634
53634
|
{
|
|
53635
53635
|
items: r,
|
|
@@ -53637,9 +53637,9 @@ function hA({
|
|
|
53637
53637
|
menuItemComponent: nA
|
|
53638
53638
|
}
|
|
53639
53639
|
),
|
|
53640
|
-
/* @__PURE__ */
|
|
53640
|
+
/* @__PURE__ */ He.jsx(aA, { onChange: f.includes("objective") ? q : U })
|
|
53641
53641
|
] }) }),
|
|
53642
|
-
/* @__PURE__ */
|
|
53642
|
+
/* @__PURE__ */ He.jsx(_E, { styleConfig: p })
|
|
53643
53643
|
] });
|
|
53644
53644
|
}
|
|
53645
53645
|
const cA = [], uA = m_([...cA]);
|
|
@@ -53720,7 +53720,7 @@ function gA({
|
|
|
53720
53720
|
let F = [], N = [];
|
|
53721
53721
|
f && f.length > 0 && f.map((R, j) => {
|
|
53722
53722
|
N.includes(R.name) || (N.push(R.name), F.push(
|
|
53723
|
-
/* @__PURE__ */
|
|
53723
|
+
/* @__PURE__ */ He.jsxs(
|
|
53724
53724
|
"div",
|
|
53725
53725
|
{
|
|
53726
53726
|
title: R.email,
|
|
@@ -53740,21 +53740,21 @@ function gA({
|
|
|
53740
53740
|
let F = uc(".editor-input-2").html();
|
|
53741
53741
|
F !== b.current && (console.log("Editor Variant 2 HTML", F), n(F), b.current = F);
|
|
53742
53742
|
};
|
|
53743
|
-
return /* @__PURE__ */
|
|
53744
|
-
/* @__PURE__ */
|
|
53745
|
-
/* @__PURE__ */
|
|
53746
|
-
/* @__PURE__ */
|
|
53743
|
+
return /* @__PURE__ */ He.jsx("div", { ref: r, children: /* @__PURE__ */ He.jsxs(Qg, { initialConfig: S, children: [
|
|
53744
|
+
/* @__PURE__ */ He.jsx(g_, { ref: h }),
|
|
53745
|
+
/* @__PURE__ */ He.jsx("div", { className: "editor-container", children: /* @__PURE__ */ He.jsxs("div", { className: "editor-inner-2", children: [
|
|
53746
|
+
/* @__PURE__ */ He.jsx(
|
|
53747
53747
|
q1,
|
|
53748
53748
|
{
|
|
53749
|
-
contentEditable: /* @__PURE__ */
|
|
53749
|
+
contentEditable: /* @__PURE__ */ He.jsx("div", { className: "custom-margin-2", children: /* @__PURE__ */ He.jsx(pm, { className: "editor-input-2 inpt-2" }) }),
|
|
53750
53750
|
placeholder: null,
|
|
53751
53751
|
ErrorBoundary: dm
|
|
53752
53752
|
}
|
|
53753
53753
|
),
|
|
53754
|
-
/* @__PURE__ */
|
|
53755
|
-
/* @__PURE__ */
|
|
53754
|
+
/* @__PURE__ */ He.jsx(K1, { onChange: M }),
|
|
53755
|
+
/* @__PURE__ */ He.jsx(fm, {})
|
|
53756
53756
|
] }) }),
|
|
53757
|
-
/* @__PURE__ */
|
|
53757
|
+
/* @__PURE__ */ He.jsx(gm, {})
|
|
53758
53758
|
] }) });
|
|
53759
53759
|
}
|
|
53760
53760
|
export {
|
|
@@ -53774,7 +53774,7 @@ export {
|
|
|
53774
53774
|
_s as g,
|
|
53775
53775
|
sl as h,
|
|
53776
53776
|
Ci as i,
|
|
53777
|
-
|
|
53777
|
+
He as j,
|
|
53778
53778
|
Ma as k,
|
|
53779
53779
|
q1 as l,
|
|
53780
53780
|
dm as m,
|
|
@@ -53791,4 +53791,4 @@ export {
|
|
|
53791
53791
|
Ar as x,
|
|
53792
53792
|
gA as y
|
|
53793
53793
|
};
|
|
53794
|
-
//# sourceMappingURL=index-
|
|
53794
|
+
//# sourceMappingURL=index-ff645d30.js.map
|