@ylzcc/editor 0.4.3 → 0.4.4
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/editor.es.js +468 -159
- package/dist/editor.umd.js +16 -15
- package/package.json +5 -5
package/dist/editor.es.js
CHANGED
|
@@ -38,6 +38,7 @@ function _mergeNamespaces(kh, Ff) {
|
|
|
38
38
|
}
|
|
39
39
|
return Object.freeze(Object.defineProperty(kh, Symbol.toStringTag, { value: "Module" }));
|
|
40
40
|
}
|
|
41
|
+
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
41
42
|
function getDefaultExportFromCjs(kh) {
|
|
42
43
|
return kh && kh.__esModule && Object.prototype.hasOwnProperty.call(kh, "default") ? kh.default : kh;
|
|
43
44
|
}
|
|
@@ -13267,7 +13268,7 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
|
|
|
13267
13268
|
}, TIPPY_DEFAULT_APPEND_TO = function() {
|
|
13268
13269
|
return document.body;
|
|
13269
13270
|
};
|
|
13270
|
-
function hasOwnProperty$
|
|
13271
|
+
function hasOwnProperty$5(kh, Ff) {
|
|
13271
13272
|
return {}.hasOwnProperty.call(kh, Ff);
|
|
13272
13273
|
}
|
|
13273
13274
|
function getValueAtIndexOrReturn(kh, Ff, x_) {
|
|
@@ -13570,7 +13571,7 @@ function validateProps(kh, Ff) {
|
|
|
13570
13571
|
kh === void 0 && (kh = {}), Ff === void 0 && (Ff = []);
|
|
13571
13572
|
var x_ = Object.keys(kh);
|
|
13572
13573
|
x_.forEach(function(B_) {
|
|
13573
|
-
var $_ = removeProperties(defaultProps, Object.keys(pluginProps)), $P = !hasOwnProperty$
|
|
13574
|
+
var $_ = removeProperties(defaultProps, Object.keys(pluginProps)), $P = !hasOwnProperty$5($_, B_);
|
|
13574
13575
|
$P && ($P = Ff.filter(function(zP) {
|
|
13575
13576
|
return zP.name === B_;
|
|
13576
13577
|
}).length === 0), warnWhen($P, ["`" + B_ + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
@@ -29428,10 +29429,13 @@ const Heading = Node$1.create({
|
|
|
29428
29429
|
}, [c0e]), /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: c0e ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `catalogue${a0e ? " catalogue-hover" : ""}`, onMouseLeave: p0e, children: [
|
|
29429
29430
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "catalogue-header", children: [
|
|
29430
29431
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "目录" }),
|
|
29431
|
-
x_ === !1 ? /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { cursor: "not-allowed" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8.0015 2C11.5962 2 14.5869 4.58651 15.2139 8C14.5869 11.4135 11.5962 14 8.0015 14C4.40672 14 1.41607 11.4135 0.789062 8C1.41607 4.58651 4.40672 2 8.0015 2ZM8.0015 12.6667C10.8252 12.6667 13.2415 10.7013 13.8531 8C13.2415 5.29869 10.8252 3.33333 8.0015 3.33333C5.1777 3.33333 2.76145 5.29869 2.14982 8C2.76145 10.7013 5.1777 12.6667 8.0015 12.6667ZM8.0015 11C6.34462 11 5.00148 9.65687 5.00148 8C5.00148 6.34315 6.34462 5 8.0015 5C9.6583 5 11.0015 6.34315 11.0015 8C11.0015 9.65687 9.6583 11 8.0015 11ZM8.0015 9.66667C8.92197 9.66667 9.66817 8.92047 9.66817 8C9.66817 7.07953 8.92197 6.33333 8.0015 6.33333C7.08104 6.33333 6.33481 7.07953 6.33481 8C6.33481 8.92047 7.08104 9.66667 8.0015 9.66667Z", fill: "#CCCCCC" }) }) :
|
|
29432
|
-
|
|
29433
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("
|
|
29434
|
-
|
|
29432
|
+
x_ === !1 ? /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { cursor: "not-allowed" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8.0015 2C11.5962 2 14.5869 4.58651 15.2139 8C14.5869 11.4135 11.5962 14 8.0015 14C4.40672 14 1.41607 11.4135 0.789062 8C1.41607 4.58651 4.40672 2 8.0015 2ZM8.0015 12.6667C10.8252 12.6667 13.2415 10.7013 13.8531 8C13.2415 5.29869 10.8252 3.33333 8.0015 3.33333C5.1777 3.33333 2.76145 5.29869 2.14982 8C2.76145 10.7013 5.1777 12.6667 8.0015 12.6667ZM8.0015 11C6.34462 11 5.00148 9.65687 5.00148 8C5.00148 6.34315 6.34462 5 8.0015 5C9.6583 5 11.0015 6.34315 11.0015 8C11.0015 9.65687 9.6583 11 8.0015 11ZM8.0015 9.66667C8.92197 9.66667 9.66817 8.92047 9.66817 8C9.66817 7.07953 8.92197 6.33333 8.0015 6.33333C7.08104 6.33333 6.33481 7.07953 6.33481 8C6.33481 8.92047 7.08104 9.66667 8.0015 9.66667Z", fill: "#CCCCCC" }) }) : (
|
|
29433
|
+
// @ts-ignore
|
|
29434
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { placement: "bottomLeft", arrow: !1, title: a0e ? "显示目录" : "隐藏目录", color: "white", overlayClassName: "ylz-editor-tooltip", children: /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: a0e ? /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", onClick: h0e, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8.0015 2C11.5962 2 14.5869 4.58651 15.2139 8C14.5869 11.4135 11.5962 14 8.0015 14C4.40672 14 1.41607 11.4135 0.789062 8C1.41607 4.58651 4.40672 2 8.0015 2ZM8.0015 12.6667C10.8252 12.6667 13.2415 10.7013 13.8531 8C13.2415 5.29869 10.8252 3.33333 8.0015 3.33333C5.1777 3.33333 2.76145 5.29869 2.14982 8C2.76145 10.7013 5.1777 12.6667 8.0015 12.6667ZM8.0015 11C6.34462 11 5.00148 9.65687 5.00148 8C5.00148 6.34315 6.34462 5 8.0015 5C9.6583 5 11.0015 6.34315 11.0015 8C11.0015 9.65687 9.6583 11 8.0015 11ZM8.0015 9.66667C8.92197 9.66667 9.66817 8.92047 9.66817 8C9.66817 7.07953 8.92197 6.33333 8.0015 6.33333C7.08104 6.33333 6.33481 7.07953 6.33481 8C6.33481 8.92047 7.08104 9.66667 8.0015 9.66667Z", fill: "#666666" }) }) : /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", onClick: () => u0e(), children: [
|
|
29435
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("g", { clipPath: "url(#clip0_3702_1182)", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M11.9211 12.8647C10.7869 13.5838 9.44188 14.0003 7.99955 14.0003C4.40476 14.0003 1.41412 11.4138 0.787109 8.0003C1.07823 6.41538 1.8789 5.00877 3.013 3.95655L0.928456 1.87201L1.87127 0.929199L15.0706 14.1285L14.1278 15.0714L11.9211 12.8647ZM3.95642 4.89997C3.0705 5.70693 2.42455 6.7783 2.14787 8.0003C2.7595 10.7016 5.17575 12.667 7.99955 12.667C9.06582 12.667 10.074 12.3867 10.9489 11.8924L9.59668 10.5402C9.13422 10.8316 8.58655 11.0003 7.99955 11.0003C6.34267 11.0003 4.99952 9.6571 4.99952 8.0003C4.99952 7.41323 5.16813 6.86557 5.45956 6.40311L3.95642 4.89997ZM8.60862 9.55217L6.44766 7.39123C6.37355 7.5799 6.33286 7.7853 6.33286 8.0003C6.33286 8.92077 7.07908 9.66697 7.99955 9.66697C8.21448 9.66697 8.41995 9.62623 8.60862 9.55217ZM13.8705 11.0618L12.9167 10.108C13.3539 9.4847 13.6763 8.77257 13.8511 8.0003C13.2395 5.29895 10.8233 3.33361 7.99955 3.33361C7.43562 3.33361 6.88795 3.41199 6.36768 3.55895L5.31566 2.50693C6.14686 2.17989 7.05222 2.00027 7.99955 2.00027C11.5943 2.00027 14.5849 4.58678 15.2119 8.0003C15.0038 9.13337 14.5352 10.1754 13.8705 11.0618ZM7.81462 5.00588C7.87575 5.00216 7.93742 5.00027 7.99955 5.00027C9.65635 5.00027 10.9995 6.34342 10.9995 8.0003C10.9995 8.06237 10.9976 8.12403 10.9939 8.18517L7.81462 5.00588Z", fill: "#666666" }) }),
|
|
29436
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("defs", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("clipPath", { id: "clip0_3702_1182", children: /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
29437
|
+
] }) }) })
|
|
29438
|
+
)
|
|
29435
29439
|
] }),
|
|
29436
29440
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "catalogue-main", children: zP == null ? void 0 : zP.map(
|
|
29437
29441
|
(w0e, R0e) => {
|
|
@@ -30943,10 +30947,10 @@ function bind(kh, Ff) {
|
|
|
30943
30947
|
return kh.apply(Ff, arguments);
|
|
30944
30948
|
};
|
|
30945
30949
|
}
|
|
30946
|
-
const { toString: toString$
|
|
30947
|
-
const x_ = toString$
|
|
30950
|
+
const { toString: toString$6 } = Object.prototype, { getPrototypeOf } = Object, kindOf = /* @__PURE__ */ ((kh) => (Ff) => {
|
|
30951
|
+
const x_ = toString$6.call(Ff);
|
|
30948
30952
|
return kh[x_] || (kh[x_] = x_.slice(8, -1).toLowerCase());
|
|
30949
|
-
})(/* @__PURE__ */ Object.create(null)), kindOfTest = (kh) => (kh = kh.toLowerCase(), (Ff) => kindOf(Ff) === kh), typeOfTest = (kh) => (Ff) => typeof Ff === kh, { isArray: isArray$
|
|
30953
|
+
})(/* @__PURE__ */ Object.create(null)), kindOfTest = (kh) => (kh = kh.toLowerCase(), (Ff) => kindOf(Ff) === kh), typeOfTest = (kh) => (Ff) => typeof Ff === kh, { isArray: isArray$3 } = Array, isUndefined = typeOfTest("undefined");
|
|
30950
30954
|
function isBuffer$2(kh) {
|
|
30951
30955
|
return kh !== null && !isUndefined(kh) && kh.constructor !== null && !isUndefined(kh.constructor) && isFunction(kh.constructor.isBuffer) && kh.constructor.isBuffer(kh);
|
|
30952
30956
|
}
|
|
@@ -30969,7 +30973,7 @@ function forEach(kh, Ff, { allOwnKeys: x_ = !1 } = {}) {
|
|
|
30969
30973
|
if (kh === null || typeof kh > "u")
|
|
30970
30974
|
return;
|
|
30971
30975
|
let B_, $_;
|
|
30972
|
-
if (typeof kh != "object" && (kh = [kh]), isArray$
|
|
30976
|
+
if (typeof kh != "object" && (kh = [kh]), isArray$3(kh))
|
|
30973
30977
|
for (B_ = 0, $_ = kh.length; B_ < $_; B_++)
|
|
30974
30978
|
Ff.call(null, kh[B_], B_, kh);
|
|
30975
30979
|
else {
|
|
@@ -30992,7 +30996,7 @@ const _global = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self
|
|
|
30992
30996
|
function merge() {
|
|
30993
30997
|
const { caseless: kh } = isContextDefined(this) && this || {}, Ff = {}, x_ = (B_, $_) => {
|
|
30994
30998
|
const $P = kh && findKey(Ff, $_) || $_;
|
|
30995
|
-
isPlainObject$2(Ff[$P]) && isPlainObject$2(B_) ? Ff[$P] = merge(Ff[$P], B_) : isPlainObject$2(B_) ? Ff[$P] = merge({}, B_) : isArray$
|
|
30999
|
+
isPlainObject$2(Ff[$P]) && isPlainObject$2(B_) ? Ff[$P] = merge(Ff[$P], B_) : isPlainObject$2(B_) ? Ff[$P] = merge({}, B_) : isArray$3(B_) ? Ff[$P] = B_.slice() : Ff[$P] = B_;
|
|
30996
31000
|
};
|
|
30997
31001
|
for (let B_ = 0, $_ = arguments.length; B_ < $_; B_++)
|
|
30998
31002
|
arguments[B_] && forEach(arguments[B_], x_);
|
|
@@ -31022,7 +31026,7 @@ const extend$2 = (kh, Ff, x_, { allOwnKeys: B_ } = {}) => (forEach(Ff, ($_, $P)
|
|
|
31022
31026
|
}, toArray = (kh) => {
|
|
31023
31027
|
if (!kh)
|
|
31024
31028
|
return null;
|
|
31025
|
-
if (isArray$
|
|
31029
|
+
if (isArray$3(kh))
|
|
31026
31030
|
return kh;
|
|
31027
31031
|
let Ff = kh.length;
|
|
31028
31032
|
if (!isNumber(Ff))
|
|
@@ -31049,7 +31053,7 @@ const extend$2 = (kh, Ff, x_, { allOwnKeys: B_ } = {}) => (forEach(Ff, ($_, $P)
|
|
|
31049
31053
|
function(x_, B_, $_) {
|
|
31050
31054
|
return B_.toUpperCase() + $_;
|
|
31051
31055
|
}
|
|
31052
|
-
), hasOwnProperty$
|
|
31056
|
+
), hasOwnProperty$4 = (({ hasOwnProperty: kh }) => (Ff, x_) => kh.call(Ff, x_))(Object.prototype), isRegExp = kindOfTest("RegExp"), reduceDescriptors = (kh, Ff) => {
|
|
31053
31057
|
const x_ = Object.getOwnPropertyDescriptors(kh), B_ = {};
|
|
31054
31058
|
forEach(x_, ($_, $P) => {
|
|
31055
31059
|
let zP;
|
|
@@ -31076,7 +31080,7 @@ const extend$2 = (kh, Ff, x_, { allOwnKeys: B_ } = {}) => (forEach(Ff, ($_, $P)
|
|
|
31076
31080
|
x_[$P] = !0;
|
|
31077
31081
|
});
|
|
31078
31082
|
};
|
|
31079
|
-
return isArray$
|
|
31083
|
+
return isArray$3(kh) ? B_(kh) : B_(String(kh).split(Ff)), x_;
|
|
31080
31084
|
}, noop$1 = () => {
|
|
31081
31085
|
}, toFiniteNumber = (kh, Ff) => (kh = +kh, Number.isFinite(kh) ? kh : Ff), ALPHA = "abcdefghijklmnopqrstuvwxyz", DIGIT$1 = "0123456789", ALPHABET = {
|
|
31082
31086
|
DIGIT: DIGIT$1,
|
|
@@ -31099,7 +31103,7 @@ const toJSONObject = (kh) => {
|
|
|
31099
31103
|
return;
|
|
31100
31104
|
if (!("toJSON" in B_)) {
|
|
31101
31105
|
Ff[$_] = B_;
|
|
31102
|
-
const $P = isArray$
|
|
31106
|
+
const $P = isArray$3(B_) ? [] : {};
|
|
31103
31107
|
return forEach(B_, (zP, e0e) => {
|
|
31104
31108
|
const t0e = x_(zP, $_ + 1);
|
|
31105
31109
|
!isUndefined(t0e) && ($P[e0e] = t0e);
|
|
@@ -31110,7 +31114,7 @@ const toJSONObject = (kh) => {
|
|
|
31110
31114
|
};
|
|
31111
31115
|
return x_(kh, 0);
|
|
31112
31116
|
}, isAsyncFn = kindOfTest("AsyncFunction"), isThenable = (kh) => kh && (isObject(kh) || isFunction(kh)) && isFunction(kh.then) && isFunction(kh.catch), utils$1 = {
|
|
31113
|
-
isArray: isArray$
|
|
31117
|
+
isArray: isArray$3,
|
|
31114
31118
|
isArrayBuffer: isArrayBuffer$1,
|
|
31115
31119
|
isBuffer: isBuffer$2,
|
|
31116
31120
|
isFormData,
|
|
@@ -31144,8 +31148,8 @@ const toJSONObject = (kh) => {
|
|
|
31144
31148
|
forEachEntry,
|
|
31145
31149
|
matchAll,
|
|
31146
31150
|
isHTMLForm,
|
|
31147
|
-
hasOwnProperty: hasOwnProperty$
|
|
31148
|
-
hasOwnProp: hasOwnProperty$
|
|
31151
|
+
hasOwnProperty: hasOwnProperty$4,
|
|
31152
|
+
hasOwnProp: hasOwnProperty$4,
|
|
31149
31153
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
31150
31154
|
reduceDescriptors,
|
|
31151
31155
|
freezeMethods,
|
|
@@ -33531,7 +33535,7 @@ var isBuffer = function(Ff) {
|
|
|
33531
33535
|
return Ff != null && Ff.constructor != null && typeof Ff.constructor.isBuffer == "function" && Ff.constructor.isBuffer(Ff);
|
|
33532
33536
|
};
|
|
33533
33537
|
const isBuffer$1 = /* @__PURE__ */ getDefaultExportFromCjs(isBuffer);
|
|
33534
|
-
var hasOwn = Object.prototype.hasOwnProperty, toStr = Object.prototype.toString, defineProperty = Object.defineProperty, gOPD = Object.getOwnPropertyDescriptor, isArray = function(Ff) {
|
|
33538
|
+
var hasOwn = Object.prototype.hasOwnProperty, toStr = Object.prototype.toString, defineProperty = Object.defineProperty, gOPD = Object.getOwnPropertyDescriptor, isArray$2 = function(Ff) {
|
|
33535
33539
|
return typeof Array.isArray == "function" ? Array.isArray(Ff) : toStr.call(Ff) === "[object Array]";
|
|
33536
33540
|
}, isPlainObject$1 = function(Ff) {
|
|
33537
33541
|
if (!Ff || toStr.call(Ff) !== "[object Object]")
|
|
@@ -33563,7 +33567,7 @@ var hasOwn = Object.prototype.hasOwnProperty, toStr = Object.prototype.toString,
|
|
|
33563
33567
|
for (typeof e0e == "boolean" && (r0e = e0e, e0e = arguments[1] || {}, t0e = 2), (e0e == null || typeof e0e != "object" && typeof e0e != "function") && (e0e = {}); t0e < n0e; ++t0e)
|
|
33564
33568
|
if (Ff = arguments[t0e], Ff != null)
|
|
33565
33569
|
for (x_ in Ff)
|
|
33566
|
-
B_ = getProperty(e0e, x_), $_ = getProperty(Ff, x_), e0e !== $_ && (r0e && $_ && (isPlainObject$1($_) || ($P = isArray($_))) ? ($P ? ($P = !1, zP = B_ && isArray(B_) ? B_ : []) : zP = B_ && isPlainObject$1(B_) ? B_ : {}, setProperty(e0e, { name: x_, newValue: kh(r0e, zP, $_) })) : typeof $_ < "u" && setProperty(e0e, { name: x_, newValue: $_ }));
|
|
33570
|
+
B_ = getProperty(e0e, x_), $_ = getProperty(Ff, x_), e0e !== $_ && (r0e && $_ && (isPlainObject$1($_) || ($P = isArray$2($_))) ? ($P ? ($P = !1, zP = B_ && isArray$2(B_) ? B_ : []) : zP = B_ && isPlainObject$1(B_) ? B_ : {}, setProperty(e0e, { name: x_, newValue: kh(r0e, zP, $_) })) : typeof $_ < "u" && setProperty(e0e, { name: x_, newValue: $_ }));
|
|
33567
33571
|
return e0e;
|
|
33568
33572
|
};
|
|
33569
33573
|
const extend$1 = /* @__PURE__ */ getDefaultExportFromCjs(extend);
|
|
@@ -34243,7 +34247,7 @@ function looksLikeAVFileValue(kh) {
|
|
|
34243
34247
|
return typeof kh == "string" || isBuffer$1(kh);
|
|
34244
34248
|
}
|
|
34245
34249
|
const emptyOptions = {};
|
|
34246
|
-
function toString(kh, Ff) {
|
|
34250
|
+
function toString$5(kh, Ff) {
|
|
34247
34251
|
const x_ = Ff || emptyOptions, B_ = typeof x_.includeImageAlt == "boolean" ? x_.includeImageAlt : !0, $_ = typeof x_.includeHtml == "boolean" ? x_.includeHtml : !0;
|
|
34248
34252
|
return one$1(kh, B_, $_);
|
|
34249
34253
|
}
|
|
@@ -34280,7 +34284,7 @@ function splice$2(kh, Ff, x_, B_) {
|
|
|
34280
34284
|
function push(kh, Ff) {
|
|
34281
34285
|
return kh.length > 0 ? (splice$2(kh, kh.length, 0, Ff), kh) : Ff;
|
|
34282
34286
|
}
|
|
34283
|
-
const hasOwnProperty$
|
|
34287
|
+
const hasOwnProperty$3 = {}.hasOwnProperty;
|
|
34284
34288
|
function combineExtensions$1(kh) {
|
|
34285
34289
|
const Ff = {};
|
|
34286
34290
|
let x_ = -1;
|
|
@@ -34291,11 +34295,11 @@ function combineExtensions$1(kh) {
|
|
|
34291
34295
|
function syntaxExtension$1(kh, Ff) {
|
|
34292
34296
|
let x_;
|
|
34293
34297
|
for (x_ in Ff) {
|
|
34294
|
-
const $_ = (hasOwnProperty$
|
|
34298
|
+
const $_ = (hasOwnProperty$3.call(kh, x_) ? kh[x_] : void 0) || (kh[x_] = {}), $P = Ff[x_];
|
|
34295
34299
|
let zP;
|
|
34296
34300
|
if ($P)
|
|
34297
34301
|
for (zP in $P) {
|
|
34298
|
-
hasOwnProperty$
|
|
34302
|
+
hasOwnProperty$3.call($_, zP) || ($_[zP] = []);
|
|
34299
34303
|
const e0e = $P[zP];
|
|
34300
34304
|
constructs$1(
|
|
34301
34305
|
// @ts-expect-error Looks like a list.
|
|
@@ -36730,7 +36734,7 @@ function compiler(kh) {
|
|
|
36730
36734
|
return Sme.position.end = point(W0e.end), Sme;
|
|
36731
36735
|
}
|
|
36732
36736
|
function o0e() {
|
|
36733
|
-
return toString(this.stack.pop());
|
|
36737
|
+
return toString$5(this.stack.pop());
|
|
36734
36738
|
}
|
|
36735
36739
|
function s0e() {
|
|
36736
36740
|
$P("expectingFirstListItemValue", !0);
|
|
@@ -37399,7 +37403,7 @@ function formatHeadingAsSetext(kh, Ff) {
|
|
|
37399
37403
|
return visit(kh, (B_) => {
|
|
37400
37404
|
if ("value" in B_ && /\r?\n|\r/.test(B_.value) || B_.type === "break")
|
|
37401
37405
|
return x_ = !0, EXIT;
|
|
37402
|
-
}), !!((!kh.depth || kh.depth < 3) && toString(kh) && (Ff.options.setext || x_));
|
|
37406
|
+
}), !!((!kh.depth || kh.depth < 3) && toString$5(kh) && (Ff.options.setext || x_));
|
|
37403
37407
|
}
|
|
37404
37408
|
function heading(kh, Ff, x_, B_) {
|
|
37405
37409
|
const $_ = Math.max(Math.min(6, kh.depth || 1), 1), $P = x_.createTracker(B_);
|
|
@@ -37520,7 +37524,7 @@ function inlineCodePeek() {
|
|
|
37520
37524
|
return "`";
|
|
37521
37525
|
}
|
|
37522
37526
|
function formatLinkAsAutolink(kh, Ff) {
|
|
37523
|
-
const x_ = toString(kh);
|
|
37527
|
+
const x_ = toString$5(kh);
|
|
37524
37528
|
return !!(!Ff.options.resourceLink && // If there’s a url…
|
|
37525
37529
|
kh.url && // And there’s a no title…
|
|
37526
37530
|
!kh.title && // And the content of `node` is a single text node…
|
|
@@ -37728,7 +37732,7 @@ const phrasing = (
|
|
|
37728
37732
|
"text"
|
|
37729
37733
|
])
|
|
37730
37734
|
);
|
|
37731
|
-
function root(kh, Ff, x_, B_) {
|
|
37735
|
+
function root$2(kh, Ff, x_, B_) {
|
|
37732
37736
|
return (kh.children.some((zP) => phrasing(zP)) ? x_.containerPhrasing : x_.containerFlow).call(x_, kh, B_);
|
|
37733
37737
|
}
|
|
37734
37738
|
function checkStrong(kh) {
|
|
@@ -37786,7 +37790,7 @@ const handle = {
|
|
|
37786
37790
|
list,
|
|
37787
37791
|
listItem,
|
|
37788
37792
|
paragraph,
|
|
37789
|
-
root,
|
|
37793
|
+
root: root$2,
|
|
37790
37794
|
strong,
|
|
37791
37795
|
text: text$1,
|
|
37792
37796
|
thematicBreak
|
|
@@ -38275,7 +38279,7 @@ function splice$1(kh, Ff, x_, B_) {
|
|
|
38275
38279
|
for (x_ && kh.splice(Ff, x_); $P < B_.length; )
|
|
38276
38280
|
zP = B_.slice($P, $P + 1e4), zP.unshift(Ff, 0), kh.splice(...zP), $P += 1e4, Ff += 1e4;
|
|
38277
38281
|
}
|
|
38278
|
-
const hasOwnProperty$
|
|
38282
|
+
const hasOwnProperty$2 = {}.hasOwnProperty;
|
|
38279
38283
|
function combineExtensions(kh) {
|
|
38280
38284
|
const Ff = {};
|
|
38281
38285
|
let x_ = -1;
|
|
@@ -38286,11 +38290,11 @@ function combineExtensions(kh) {
|
|
|
38286
38290
|
function syntaxExtension(kh, Ff) {
|
|
38287
38291
|
let x_;
|
|
38288
38292
|
for (x_ in Ff) {
|
|
38289
|
-
const $_ = (hasOwnProperty$
|
|
38293
|
+
const $_ = (hasOwnProperty$2.call(kh, x_) ? kh[x_] : void 0) || (kh[x_] = {}), $P = Ff[x_];
|
|
38290
38294
|
let zP;
|
|
38291
38295
|
if ($P)
|
|
38292
38296
|
for (zP in $P) {
|
|
38293
|
-
hasOwnProperty$
|
|
38297
|
+
hasOwnProperty$2.call($_, zP) || ($_[zP] = []);
|
|
38294
38298
|
const e0e = $P[zP];
|
|
38295
38299
|
constructs(
|
|
38296
38300
|
// @ts-expect-error Looks like a list.
|
|
@@ -40124,7 +40128,7 @@ function init$2(kh) {
|
|
|
40124
40128
|
};
|
|
40125
40129
|
}
|
|
40126
40130
|
function run$1(kh, Ff) {
|
|
40127
|
-
const x_ = stringToArray(Ff.replace(/[A-Z]/g, (e0e) => e0e.toLowerCase())), B_ = x_.length, $_ = [];
|
|
40131
|
+
const x_ = stringToArray$2(Ff.replace(/[A-Z]/g, (e0e) => e0e.toLowerCase())), B_ = x_.length, $_ = [];
|
|
40128
40132
|
let $P = 0, zP = 0;
|
|
40129
40133
|
for (; zP < B_; ) {
|
|
40130
40134
|
let e0e = kh, t0e = null, n0e = 0, r0e = null, i0e = -1, o0e = -1;
|
|
@@ -40143,7 +40147,7 @@ function run$1(kh, Ff) {
|
|
|
40143
40147
|
}
|
|
40144
40148
|
return $_;
|
|
40145
40149
|
}
|
|
40146
|
-
function stringToArray(kh) {
|
|
40150
|
+
function stringToArray$2(kh) {
|
|
40147
40151
|
const Ff = [], x_ = kh.length;
|
|
40148
40152
|
let B_ = 0;
|
|
40149
40153
|
for (; B_ < x_; ) {
|
|
@@ -86341,15 +86345,58 @@ const deleteTableWhenAllCellsSelected = ({ editor: kh }) => {
|
|
|
86341
86345
|
});
|
|
86342
86346
|
var IconContext = /* @__PURE__ */ createContext({});
|
|
86343
86347
|
const Context = IconContext;
|
|
86344
|
-
function
|
|
86345
|
-
|
|
86346
|
-
|
|
86347
|
-
|
|
86348
|
-
|
|
86349
|
-
|
|
86350
|
-
|
|
86348
|
+
function _typeof(kh) {
|
|
86349
|
+
"@babel/helpers - typeof";
|
|
86350
|
+
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(Ff) {
|
|
86351
|
+
return typeof Ff;
|
|
86352
|
+
} : function(Ff) {
|
|
86353
|
+
return Ff && typeof Symbol == "function" && Ff.constructor === Symbol && Ff !== Symbol.prototype ? "symbol" : typeof Ff;
|
|
86354
|
+
}, _typeof(kh);
|
|
86355
|
+
}
|
|
86356
|
+
function toPrimitive(kh, Ff) {
|
|
86357
|
+
if (_typeof(kh) != "object" || !kh)
|
|
86351
86358
|
return kh;
|
|
86352
|
-
|
|
86359
|
+
var x_ = kh[Symbol.toPrimitive];
|
|
86360
|
+
if (x_ !== void 0) {
|
|
86361
|
+
var B_ = x_.call(kh, Ff || "default");
|
|
86362
|
+
if (_typeof(B_) != "object")
|
|
86363
|
+
return B_;
|
|
86364
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
86365
|
+
}
|
|
86366
|
+
return (Ff === "string" ? String : Number)(kh);
|
|
86367
|
+
}
|
|
86368
|
+
function toPropertyKey(kh) {
|
|
86369
|
+
var Ff = toPrimitive(kh, "string");
|
|
86370
|
+
return _typeof(Ff) == "symbol" ? Ff : String(Ff);
|
|
86371
|
+
}
|
|
86372
|
+
function _defineProperty(kh, Ff, x_) {
|
|
86373
|
+
return Ff = toPropertyKey(Ff), Ff in kh ? Object.defineProperty(kh, Ff, {
|
|
86374
|
+
value: x_,
|
|
86375
|
+
enumerable: !0,
|
|
86376
|
+
configurable: !0,
|
|
86377
|
+
writable: !0
|
|
86378
|
+
}) : kh[Ff] = x_, kh;
|
|
86379
|
+
}
|
|
86380
|
+
function ownKeys(kh, Ff) {
|
|
86381
|
+
var x_ = Object.keys(kh);
|
|
86382
|
+
if (Object.getOwnPropertySymbols) {
|
|
86383
|
+
var B_ = Object.getOwnPropertySymbols(kh);
|
|
86384
|
+
Ff && (B_ = B_.filter(function($_) {
|
|
86385
|
+
return Object.getOwnPropertyDescriptor(kh, $_).enumerable;
|
|
86386
|
+
})), x_.push.apply(x_, B_);
|
|
86387
|
+
}
|
|
86388
|
+
return x_;
|
|
86389
|
+
}
|
|
86390
|
+
function _objectSpread2(kh) {
|
|
86391
|
+
for (var Ff = 1; Ff < arguments.length; Ff++) {
|
|
86392
|
+
var x_ = arguments[Ff] != null ? arguments[Ff] : {};
|
|
86393
|
+
Ff % 2 ? ownKeys(Object(x_), !0).forEach(function(B_) {
|
|
86394
|
+
_defineProperty(kh, B_, x_[B_]);
|
|
86395
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(kh, Object.getOwnPropertyDescriptors(x_)) : ownKeys(Object(x_)).forEach(function(B_) {
|
|
86396
|
+
Object.defineProperty(kh, B_, Object.getOwnPropertyDescriptor(x_, B_));
|
|
86397
|
+
});
|
|
86398
|
+
}
|
|
86399
|
+
return kh;
|
|
86353
86400
|
}
|
|
86354
86401
|
function _arrayWithHoles(kh) {
|
|
86355
86402
|
if (Array.isArray(kh))
|
|
@@ -86405,38 +86452,6 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
86405
86452
|
function _slicedToArray(kh, Ff) {
|
|
86406
86453
|
return _arrayWithHoles(kh) || _iterableToArrayLimit(kh, Ff) || _unsupportedIterableToArray(kh, Ff) || _nonIterableRest();
|
|
86407
86454
|
}
|
|
86408
|
-
function _typeof(kh) {
|
|
86409
|
-
"@babel/helpers - typeof";
|
|
86410
|
-
return _typeof = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(Ff) {
|
|
86411
|
-
return typeof Ff;
|
|
86412
|
-
} : function(Ff) {
|
|
86413
|
-
return Ff && typeof Symbol == "function" && Ff.constructor === Symbol && Ff !== Symbol.prototype ? "symbol" : typeof Ff;
|
|
86414
|
-
}, _typeof(kh);
|
|
86415
|
-
}
|
|
86416
|
-
function toPrimitive(kh, Ff) {
|
|
86417
|
-
if (_typeof(kh) != "object" || !kh)
|
|
86418
|
-
return kh;
|
|
86419
|
-
var x_ = kh[Symbol.toPrimitive];
|
|
86420
|
-
if (x_ !== void 0) {
|
|
86421
|
-
var B_ = x_.call(kh, Ff || "default");
|
|
86422
|
-
if (_typeof(B_) != "object")
|
|
86423
|
-
return B_;
|
|
86424
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
86425
|
-
}
|
|
86426
|
-
return (Ff === "string" ? String : Number)(kh);
|
|
86427
|
-
}
|
|
86428
|
-
function toPropertyKey(kh) {
|
|
86429
|
-
var Ff = toPrimitive(kh, "string");
|
|
86430
|
-
return _typeof(Ff) == "symbol" ? Ff : String(Ff);
|
|
86431
|
-
}
|
|
86432
|
-
function _defineProperty(kh, Ff, x_) {
|
|
86433
|
-
return Ff = toPropertyKey(Ff), Ff in kh ? Object.defineProperty(kh, Ff, {
|
|
86434
|
-
value: x_,
|
|
86435
|
-
enumerable: !0,
|
|
86436
|
-
configurable: !0,
|
|
86437
|
-
writable: !0
|
|
86438
|
-
}) : kh[Ff] = x_, kh;
|
|
86439
|
-
}
|
|
86440
86455
|
function _objectWithoutPropertiesLoose(kh, Ff) {
|
|
86441
86456
|
if (kh == null)
|
|
86442
86457
|
return {};
|
|
@@ -86881,7 +86896,7 @@ var presetPrimaryColors = {
|
|
|
86881
86896
|
lime: "#A0D911",
|
|
86882
86897
|
green: "#52C41A",
|
|
86883
86898
|
cyan: "#13C2C2",
|
|
86884
|
-
blue: "#
|
|
86899
|
+
blue: "#1890FF",
|
|
86885
86900
|
geekblue: "#2F54EB",
|
|
86886
86901
|
purple: "#722ED1",
|
|
86887
86902
|
magenta: "#EB2F96",
|
|
@@ -86893,28 +86908,40 @@ Object.keys(presetPrimaryColors).forEach(function(kh) {
|
|
|
86893
86908
|
backgroundColor: "#141414"
|
|
86894
86909
|
}), presetDarkPalettes[kh].primary = presetDarkPalettes[kh][5];
|
|
86895
86910
|
});
|
|
86896
|
-
var
|
|
86897
|
-
|
|
86898
|
-
|
|
86899
|
-
|
|
86900
|
-
|
|
86901
|
-
|
|
86902
|
-
return
|
|
86903
|
-
}
|
|
86911
|
+
var warned = {}, preWarningFns = [], preMessage = function kh(Ff) {
|
|
86912
|
+
preWarningFns.push(Ff);
|
|
86913
|
+
};
|
|
86914
|
+
function warning$1(kh, Ff) {
|
|
86915
|
+
if (process.env.NODE_ENV !== "production" && !kh && console !== void 0) {
|
|
86916
|
+
var x_ = preWarningFns.reduce(function(B_, $_) {
|
|
86917
|
+
return $_(B_ ?? "", "warning");
|
|
86918
|
+
}, Ff);
|
|
86919
|
+
x_ && console.error("Warning: ".concat(x_));
|
|
86904
86920
|
}
|
|
86905
|
-
return x_;
|
|
86906
86921
|
}
|
|
86907
|
-
function
|
|
86908
|
-
|
|
86909
|
-
var x_ =
|
|
86910
|
-
|
|
86911
|
-
|
|
86912
|
-
|
|
86913
|
-
Object.defineProperty(kh, B_, Object.getOwnPropertyDescriptor(x_, B_));
|
|
86914
|
-
});
|
|
86922
|
+
function note(kh, Ff) {
|
|
86923
|
+
if (process.env.NODE_ENV !== "production" && !kh && console !== void 0) {
|
|
86924
|
+
var x_ = preWarningFns.reduce(function(B_, $_) {
|
|
86925
|
+
return $_(B_ ?? "", "note");
|
|
86926
|
+
}, Ff);
|
|
86927
|
+
x_ && console.warn("Note: ".concat(x_));
|
|
86915
86928
|
}
|
|
86916
|
-
return kh;
|
|
86917
86929
|
}
|
|
86930
|
+
function resetWarned() {
|
|
86931
|
+
warned = {};
|
|
86932
|
+
}
|
|
86933
|
+
function call(kh, Ff, x_) {
|
|
86934
|
+
!Ff && !warned[x_] && (kh(!1, x_), warned[x_] = !0);
|
|
86935
|
+
}
|
|
86936
|
+
function warningOnce(kh, Ff) {
|
|
86937
|
+
call(warning$1, kh, Ff);
|
|
86938
|
+
}
|
|
86939
|
+
function noteOnce(kh, Ff) {
|
|
86940
|
+
call(note, kh, Ff);
|
|
86941
|
+
}
|
|
86942
|
+
warningOnce.preMessage = preMessage;
|
|
86943
|
+
warningOnce.resetWarned = resetWarned;
|
|
86944
|
+
warningOnce.noteOnce = noteOnce;
|
|
86918
86945
|
function canUseDom() {
|
|
86919
86946
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
86920
86947
|
}
|
|
@@ -87002,55 +87029,340 @@ function updateCSS(kh, Ff) {
|
|
|
87002
87029
|
var r0e = injectCSS(kh, $P);
|
|
87003
87030
|
return r0e.setAttribute(getMark($P), Ff), r0e;
|
|
87004
87031
|
}
|
|
87005
|
-
|
|
87006
|
-
|
|
87007
|
-
|
|
87032
|
+
var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal, _freeGlobal = freeGlobal$1, freeGlobal = _freeGlobal, freeSelf = typeof self == "object" && self && self.Object === Object && self, root$1 = freeGlobal || freeSelf || Function("return this")(), _root = root$1, root = _root, Symbol$4 = root.Symbol, _Symbol = Symbol$4;
|
|
87033
|
+
function arrayMap$1(kh, Ff) {
|
|
87034
|
+
for (var x_ = -1, B_ = kh == null ? 0 : kh.length, $_ = Array(B_); ++x_ < B_; )
|
|
87035
|
+
$_[x_] = Ff(kh[x_], x_, kh);
|
|
87036
|
+
return $_;
|
|
87008
87037
|
}
|
|
87009
|
-
|
|
87010
|
-
|
|
87038
|
+
var _arrayMap = arrayMap$1, isArray$1 = Array.isArray, isArray_1 = isArray$1, Symbol$3 = _Symbol, objectProto$1 = Object.prototype, hasOwnProperty$1 = objectProto$1.hasOwnProperty, nativeObjectToString$1 = objectProto$1.toString, symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
|
|
87039
|
+
function getRawTag$1(kh) {
|
|
87040
|
+
var Ff = hasOwnProperty$1.call(kh, symToStringTag$1), x_ = kh[symToStringTag$1];
|
|
87041
|
+
try {
|
|
87042
|
+
kh[symToStringTag$1] = void 0;
|
|
87043
|
+
var B_ = !0;
|
|
87044
|
+
} catch {
|
|
87045
|
+
}
|
|
87046
|
+
var $_ = nativeObjectToString$1.call(kh);
|
|
87047
|
+
return B_ && (Ff ? kh[symToStringTag$1] = x_ : delete kh[symToStringTag$1]), $_;
|
|
87011
87048
|
}
|
|
87012
|
-
|
|
87013
|
-
|
|
87049
|
+
var _getRawTag = getRawTag$1, objectProto = Object.prototype, nativeObjectToString = objectProto.toString;
|
|
87050
|
+
function objectToString$1(kh) {
|
|
87051
|
+
return nativeObjectToString.call(kh);
|
|
87014
87052
|
}
|
|
87015
|
-
var
|
|
87016
|
-
|
|
87017
|
-
|
|
87018
|
-
function warning$1(kh, Ff) {
|
|
87019
|
-
if (process.env.NODE_ENV !== "production" && !kh && console !== void 0) {
|
|
87020
|
-
var x_ = preWarningFns.reduce(function(B_, $_) {
|
|
87021
|
-
return $_(B_ ?? "", "warning");
|
|
87022
|
-
}, Ff);
|
|
87023
|
-
x_ && console.error("Warning: ".concat(x_));
|
|
87024
|
-
}
|
|
87053
|
+
var _objectToString = objectToString$1, Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString, nullTag = "[object Null]", undefinedTag = "[object Undefined]", symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
|
|
87054
|
+
function baseGetTag$1(kh) {
|
|
87055
|
+
return kh == null ? kh === void 0 ? undefinedTag : nullTag : symToStringTag && symToStringTag in Object(kh) ? getRawTag(kh) : objectToString(kh);
|
|
87025
87056
|
}
|
|
87026
|
-
|
|
87027
|
-
|
|
87028
|
-
|
|
87029
|
-
return $_(B_ ?? "", "note");
|
|
87030
|
-
}, Ff);
|
|
87031
|
-
x_ && console.warn("Note: ".concat(x_));
|
|
87032
|
-
}
|
|
87057
|
+
var _baseGetTag = baseGetTag$1;
|
|
87058
|
+
function isObjectLike$1(kh) {
|
|
87059
|
+
return kh != null && typeof kh == "object";
|
|
87033
87060
|
}
|
|
87034
|
-
|
|
87035
|
-
|
|
87061
|
+
var isObjectLike_1 = isObjectLike$1, baseGetTag = _baseGetTag, isObjectLike = isObjectLike_1, symbolTag = "[object Symbol]";
|
|
87062
|
+
function isSymbol$1(kh) {
|
|
87063
|
+
return typeof kh == "symbol" || isObjectLike(kh) && baseGetTag(kh) == symbolTag;
|
|
87036
87064
|
}
|
|
87037
|
-
|
|
87038
|
-
|
|
87065
|
+
var isSymbol_1 = isSymbol$1, Symbol$1 = _Symbol, arrayMap = _arrayMap, isArray = isArray_1, isSymbol = isSymbol_1, INFINITY = 1 / 0, symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
|
|
87066
|
+
function baseToString$1(kh) {
|
|
87067
|
+
if (typeof kh == "string")
|
|
87068
|
+
return kh;
|
|
87069
|
+
if (isArray(kh))
|
|
87070
|
+
return arrayMap(kh, baseToString$1) + "";
|
|
87071
|
+
if (isSymbol(kh))
|
|
87072
|
+
return symbolToString ? symbolToString.call(kh) : "";
|
|
87073
|
+
var Ff = kh + "";
|
|
87074
|
+
return Ff == "0" && 1 / kh == -INFINITY ? "-0" : Ff;
|
|
87075
|
+
}
|
|
87076
|
+
var _baseToString = baseToString$1, baseToString = _baseToString;
|
|
87077
|
+
function toString$4(kh) {
|
|
87078
|
+
return kh == null ? "" : baseToString(kh);
|
|
87079
|
+
}
|
|
87080
|
+
var toString_1 = toString$4;
|
|
87081
|
+
function baseSlice$1(kh, Ff, x_) {
|
|
87082
|
+
var B_ = -1, $_ = kh.length;
|
|
87083
|
+
Ff < 0 && (Ff = -Ff > $_ ? 0 : $_ + Ff), x_ = x_ > $_ ? $_ : x_, x_ < 0 && (x_ += $_), $_ = Ff > x_ ? 0 : x_ - Ff >>> 0, Ff >>>= 0;
|
|
87084
|
+
for (var $P = Array($_); ++B_ < $_; )
|
|
87085
|
+
$P[B_] = kh[B_ + Ff];
|
|
87086
|
+
return $P;
|
|
87039
87087
|
}
|
|
87040
|
-
|
|
87041
|
-
|
|
87088
|
+
var _baseSlice = baseSlice$1, baseSlice = _baseSlice;
|
|
87089
|
+
function castSlice$1(kh, Ff, x_) {
|
|
87090
|
+
var B_ = kh.length;
|
|
87091
|
+
return x_ = x_ === void 0 ? B_ : x_, !Ff && x_ >= B_ ? kh : baseSlice(kh, Ff, x_);
|
|
87042
87092
|
}
|
|
87043
|
-
|
|
87044
|
-
|
|
87093
|
+
var _castSlice = castSlice$1, rsAstralRange$2 = "\\ud800-\\udfff", rsComboMarksRange$3 = "\\u0300-\\u036f", reComboHalfMarksRange$3 = "\\ufe20-\\ufe2f", rsComboSymbolsRange$3 = "\\u20d0-\\u20ff", rsComboRange$3 = rsComboMarksRange$3 + reComboHalfMarksRange$3 + rsComboSymbolsRange$3, rsVarRange$2 = "\\ufe0e\\ufe0f", rsZWJ$2 = "\\u200d", reHasUnicode = RegExp("[" + rsZWJ$2 + rsAstralRange$2 + rsComboRange$3 + rsVarRange$2 + "]");
|
|
87094
|
+
function hasUnicode$2(kh) {
|
|
87095
|
+
return reHasUnicode.test(kh);
|
|
87045
87096
|
}
|
|
87046
|
-
|
|
87047
|
-
|
|
87048
|
-
|
|
87049
|
-
|
|
87050
|
-
|
|
87051
|
-
|
|
87052
|
-
|
|
87097
|
+
var _hasUnicode = hasUnicode$2;
|
|
87098
|
+
function asciiToArray$1(kh) {
|
|
87099
|
+
return kh.split("");
|
|
87100
|
+
}
|
|
87101
|
+
var _asciiToArray = asciiToArray$1, rsAstralRange$1 = "\\ud800-\\udfff", rsComboMarksRange$2 = "\\u0300-\\u036f", reComboHalfMarksRange$2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange$2 = "\\u20d0-\\u20ff", rsComboRange$2 = rsComboMarksRange$2 + reComboHalfMarksRange$2 + rsComboSymbolsRange$2, rsVarRange$1 = "\\ufe0e\\ufe0f", rsAstral = "[" + rsAstralRange$1 + "]", rsCombo$2 = "[" + rsComboRange$2 + "]", rsFitz$1 = "\\ud83c[\\udffb-\\udfff]", rsModifier$1 = "(?:" + rsCombo$2 + "|" + rsFitz$1 + ")", rsNonAstral$1 = "[^" + rsAstralRange$1 + "]", rsRegional$1 = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair$1 = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsZWJ$1 = "\\u200d", reOptMod$1 = rsModifier$1 + "?", rsOptVar$1 = "[" + rsVarRange$1 + "]?", rsOptJoin$1 = "(?:" + rsZWJ$1 + "(?:" + [rsNonAstral$1, rsRegional$1, rsSurrPair$1].join("|") + ")" + rsOptVar$1 + reOptMod$1 + ")*", rsSeq$1 = rsOptVar$1 + reOptMod$1 + rsOptJoin$1, rsSymbol = "(?:" + [rsNonAstral$1 + rsCombo$2 + "?", rsCombo$2, rsRegional$1, rsSurrPair$1, rsAstral].join("|") + ")", reUnicode = RegExp(rsFitz$1 + "(?=" + rsFitz$1 + ")|" + rsSymbol + rsSeq$1, "g");
|
|
87102
|
+
function unicodeToArray$1(kh) {
|
|
87103
|
+
return kh.match(reUnicode) || [];
|
|
87104
|
+
}
|
|
87105
|
+
var _unicodeToArray = unicodeToArray$1, asciiToArray = _asciiToArray, hasUnicode$1 = _hasUnicode, unicodeToArray = _unicodeToArray;
|
|
87106
|
+
function stringToArray$1(kh) {
|
|
87107
|
+
return hasUnicode$1(kh) ? unicodeToArray(kh) : asciiToArray(kh);
|
|
87108
|
+
}
|
|
87109
|
+
var _stringToArray = stringToArray$1, castSlice = _castSlice, hasUnicode = _hasUnicode, stringToArray = _stringToArray, toString$3 = toString_1;
|
|
87110
|
+
function createCaseFirst$1(kh) {
|
|
87111
|
+
return function(Ff) {
|
|
87112
|
+
Ff = toString$3(Ff);
|
|
87113
|
+
var x_ = hasUnicode(Ff) ? stringToArray(Ff) : void 0, B_ = x_ ? x_[0] : Ff.charAt(0), $_ = x_ ? castSlice(x_, 1).join("") : Ff.slice(1);
|
|
87114
|
+
return B_[kh]() + $_;
|
|
87115
|
+
};
|
|
87053
87116
|
}
|
|
87117
|
+
var _createCaseFirst = createCaseFirst$1, createCaseFirst = _createCaseFirst, upperFirst$1 = createCaseFirst("toUpperCase"), upperFirst_1 = upperFirst$1, toString$2 = toString_1, upperFirst = upperFirst_1;
|
|
87118
|
+
function capitalize$1(kh) {
|
|
87119
|
+
return upperFirst(toString$2(kh).toLowerCase());
|
|
87120
|
+
}
|
|
87121
|
+
var capitalize_1 = capitalize$1;
|
|
87122
|
+
function arrayReduce$1(kh, Ff, x_, B_) {
|
|
87123
|
+
var $_ = -1, $P = kh == null ? 0 : kh.length;
|
|
87124
|
+
for (B_ && $P && (x_ = kh[++$_]); ++$_ < $P; )
|
|
87125
|
+
x_ = Ff(x_, kh[$_], $_, kh);
|
|
87126
|
+
return x_;
|
|
87127
|
+
}
|
|
87128
|
+
var _arrayReduce = arrayReduce$1;
|
|
87129
|
+
function basePropertyOf$1(kh) {
|
|
87130
|
+
return function(Ff) {
|
|
87131
|
+
return kh == null ? void 0 : kh[Ff];
|
|
87132
|
+
};
|
|
87133
|
+
}
|
|
87134
|
+
var _basePropertyOf = basePropertyOf$1, basePropertyOf = _basePropertyOf, deburredLetters = {
|
|
87135
|
+
// Latin-1 Supplement block.
|
|
87136
|
+
À: "A",
|
|
87137
|
+
Á: "A",
|
|
87138
|
+
Â: "A",
|
|
87139
|
+
Ã: "A",
|
|
87140
|
+
Ä: "A",
|
|
87141
|
+
Å: "A",
|
|
87142
|
+
à: "a",
|
|
87143
|
+
á: "a",
|
|
87144
|
+
â: "a",
|
|
87145
|
+
ã: "a",
|
|
87146
|
+
ä: "a",
|
|
87147
|
+
å: "a",
|
|
87148
|
+
Ç: "C",
|
|
87149
|
+
ç: "c",
|
|
87150
|
+
Ð: "D",
|
|
87151
|
+
ð: "d",
|
|
87152
|
+
È: "E",
|
|
87153
|
+
É: "E",
|
|
87154
|
+
Ê: "E",
|
|
87155
|
+
Ë: "E",
|
|
87156
|
+
è: "e",
|
|
87157
|
+
é: "e",
|
|
87158
|
+
ê: "e",
|
|
87159
|
+
ë: "e",
|
|
87160
|
+
Ì: "I",
|
|
87161
|
+
Í: "I",
|
|
87162
|
+
Î: "I",
|
|
87163
|
+
Ï: "I",
|
|
87164
|
+
ì: "i",
|
|
87165
|
+
í: "i",
|
|
87166
|
+
î: "i",
|
|
87167
|
+
ï: "i",
|
|
87168
|
+
Ñ: "N",
|
|
87169
|
+
ñ: "n",
|
|
87170
|
+
Ò: "O",
|
|
87171
|
+
Ó: "O",
|
|
87172
|
+
Ô: "O",
|
|
87173
|
+
Õ: "O",
|
|
87174
|
+
Ö: "O",
|
|
87175
|
+
Ø: "O",
|
|
87176
|
+
ò: "o",
|
|
87177
|
+
ó: "o",
|
|
87178
|
+
ô: "o",
|
|
87179
|
+
õ: "o",
|
|
87180
|
+
ö: "o",
|
|
87181
|
+
ø: "o",
|
|
87182
|
+
Ù: "U",
|
|
87183
|
+
Ú: "U",
|
|
87184
|
+
Û: "U",
|
|
87185
|
+
Ü: "U",
|
|
87186
|
+
ù: "u",
|
|
87187
|
+
ú: "u",
|
|
87188
|
+
û: "u",
|
|
87189
|
+
ü: "u",
|
|
87190
|
+
Ý: "Y",
|
|
87191
|
+
ý: "y",
|
|
87192
|
+
ÿ: "y",
|
|
87193
|
+
Æ: "Ae",
|
|
87194
|
+
æ: "ae",
|
|
87195
|
+
Þ: "Th",
|
|
87196
|
+
þ: "th",
|
|
87197
|
+
ß: "ss",
|
|
87198
|
+
// Latin Extended-A block.
|
|
87199
|
+
Ā: "A",
|
|
87200
|
+
Ă: "A",
|
|
87201
|
+
Ą: "A",
|
|
87202
|
+
ā: "a",
|
|
87203
|
+
ă: "a",
|
|
87204
|
+
ą: "a",
|
|
87205
|
+
Ć: "C",
|
|
87206
|
+
Ĉ: "C",
|
|
87207
|
+
Ċ: "C",
|
|
87208
|
+
Č: "C",
|
|
87209
|
+
ć: "c",
|
|
87210
|
+
ĉ: "c",
|
|
87211
|
+
ċ: "c",
|
|
87212
|
+
č: "c",
|
|
87213
|
+
Ď: "D",
|
|
87214
|
+
Đ: "D",
|
|
87215
|
+
ď: "d",
|
|
87216
|
+
đ: "d",
|
|
87217
|
+
Ē: "E",
|
|
87218
|
+
Ĕ: "E",
|
|
87219
|
+
Ė: "E",
|
|
87220
|
+
Ę: "E",
|
|
87221
|
+
Ě: "E",
|
|
87222
|
+
ē: "e",
|
|
87223
|
+
ĕ: "e",
|
|
87224
|
+
ė: "e",
|
|
87225
|
+
ę: "e",
|
|
87226
|
+
ě: "e",
|
|
87227
|
+
Ĝ: "G",
|
|
87228
|
+
Ğ: "G",
|
|
87229
|
+
Ġ: "G",
|
|
87230
|
+
Ģ: "G",
|
|
87231
|
+
ĝ: "g",
|
|
87232
|
+
ğ: "g",
|
|
87233
|
+
ġ: "g",
|
|
87234
|
+
ģ: "g",
|
|
87235
|
+
Ĥ: "H",
|
|
87236
|
+
Ħ: "H",
|
|
87237
|
+
ĥ: "h",
|
|
87238
|
+
ħ: "h",
|
|
87239
|
+
Ĩ: "I",
|
|
87240
|
+
Ī: "I",
|
|
87241
|
+
Ĭ: "I",
|
|
87242
|
+
Į: "I",
|
|
87243
|
+
İ: "I",
|
|
87244
|
+
ĩ: "i",
|
|
87245
|
+
ī: "i",
|
|
87246
|
+
ĭ: "i",
|
|
87247
|
+
į: "i",
|
|
87248
|
+
ı: "i",
|
|
87249
|
+
Ĵ: "J",
|
|
87250
|
+
ĵ: "j",
|
|
87251
|
+
Ķ: "K",
|
|
87252
|
+
ķ: "k",
|
|
87253
|
+
ĸ: "k",
|
|
87254
|
+
Ĺ: "L",
|
|
87255
|
+
Ļ: "L",
|
|
87256
|
+
Ľ: "L",
|
|
87257
|
+
Ŀ: "L",
|
|
87258
|
+
Ł: "L",
|
|
87259
|
+
ĺ: "l",
|
|
87260
|
+
ļ: "l",
|
|
87261
|
+
ľ: "l",
|
|
87262
|
+
ŀ: "l",
|
|
87263
|
+
ł: "l",
|
|
87264
|
+
Ń: "N",
|
|
87265
|
+
Ņ: "N",
|
|
87266
|
+
Ň: "N",
|
|
87267
|
+
Ŋ: "N",
|
|
87268
|
+
ń: "n",
|
|
87269
|
+
ņ: "n",
|
|
87270
|
+
ň: "n",
|
|
87271
|
+
ŋ: "n",
|
|
87272
|
+
Ō: "O",
|
|
87273
|
+
Ŏ: "O",
|
|
87274
|
+
Ő: "O",
|
|
87275
|
+
ō: "o",
|
|
87276
|
+
ŏ: "o",
|
|
87277
|
+
ő: "o",
|
|
87278
|
+
Ŕ: "R",
|
|
87279
|
+
Ŗ: "R",
|
|
87280
|
+
Ř: "R",
|
|
87281
|
+
ŕ: "r",
|
|
87282
|
+
ŗ: "r",
|
|
87283
|
+
ř: "r",
|
|
87284
|
+
Ś: "S",
|
|
87285
|
+
Ŝ: "S",
|
|
87286
|
+
Ş: "S",
|
|
87287
|
+
Š: "S",
|
|
87288
|
+
ś: "s",
|
|
87289
|
+
ŝ: "s",
|
|
87290
|
+
ş: "s",
|
|
87291
|
+
š: "s",
|
|
87292
|
+
Ţ: "T",
|
|
87293
|
+
Ť: "T",
|
|
87294
|
+
Ŧ: "T",
|
|
87295
|
+
ţ: "t",
|
|
87296
|
+
ť: "t",
|
|
87297
|
+
ŧ: "t",
|
|
87298
|
+
Ũ: "U",
|
|
87299
|
+
Ū: "U",
|
|
87300
|
+
Ŭ: "U",
|
|
87301
|
+
Ů: "U",
|
|
87302
|
+
Ű: "U",
|
|
87303
|
+
Ų: "U",
|
|
87304
|
+
ũ: "u",
|
|
87305
|
+
ū: "u",
|
|
87306
|
+
ŭ: "u",
|
|
87307
|
+
ů: "u",
|
|
87308
|
+
ű: "u",
|
|
87309
|
+
ų: "u",
|
|
87310
|
+
Ŵ: "W",
|
|
87311
|
+
ŵ: "w",
|
|
87312
|
+
Ŷ: "Y",
|
|
87313
|
+
ŷ: "y",
|
|
87314
|
+
Ÿ: "Y",
|
|
87315
|
+
Ź: "Z",
|
|
87316
|
+
Ż: "Z",
|
|
87317
|
+
Ž: "Z",
|
|
87318
|
+
ź: "z",
|
|
87319
|
+
ż: "z",
|
|
87320
|
+
ž: "z",
|
|
87321
|
+
IJ: "IJ",
|
|
87322
|
+
ij: "ij",
|
|
87323
|
+
Œ: "Oe",
|
|
87324
|
+
œ: "oe",
|
|
87325
|
+
ʼn: "'n",
|
|
87326
|
+
ſ: "s"
|
|
87327
|
+
}, deburrLetter$1 = basePropertyOf(deburredLetters), _deburrLetter = deburrLetter$1, deburrLetter = _deburrLetter, toString$1 = toString_1, reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, rsComboMarksRange$1 = "\\u0300-\\u036f", reComboHalfMarksRange$1 = "\\ufe20-\\ufe2f", rsComboSymbolsRange$1 = "\\u20d0-\\u20ff", rsComboRange$1 = rsComboMarksRange$1 + reComboHalfMarksRange$1 + rsComboSymbolsRange$1, rsCombo$1 = "[" + rsComboRange$1 + "]", reComboMark = RegExp(rsCombo$1, "g");
|
|
87328
|
+
function deburr$1(kh) {
|
|
87329
|
+
return kh = toString$1(kh), kh && kh.replace(reLatin, deburrLetter).replace(reComboMark, "");
|
|
87330
|
+
}
|
|
87331
|
+
var deburr_1 = deburr$1, reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
87332
|
+
function asciiWords$1(kh) {
|
|
87333
|
+
return kh.match(reAsciiWord) || [];
|
|
87334
|
+
}
|
|
87335
|
+
var _asciiWords = asciiWords$1, reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
87336
|
+
function hasUnicodeWord$1(kh) {
|
|
87337
|
+
return reHasUnicodeWord.test(kh);
|
|
87338
|
+
}
|
|
87339
|
+
var _hasUnicodeWord = hasUnicodeWord$1, rsAstralRange = "\\ud800-\\udfff", rsComboMarksRange = "\\u0300-\\u036f", reComboHalfMarksRange = "\\ufe20-\\ufe2f", rsComboSymbolsRange = "\\u20d0-\\u20ff", rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, rsDingbatRange = "\\u2700-\\u27bf", rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff", rsMathOpRange = "\\xac\\xb1\\xd7\\xf7", rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", rsPunctuationRange = "\\u2000-\\u206f", rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde", rsVarRange = "\\ufe0e\\ufe0f", rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange, rsApos$1 = "['’]", rsBreak = "[" + rsBreakRange + "]", rsCombo = "[" + rsComboRange + "]", rsDigits = "\\d+", rsDingbat = "[" + rsDingbatRange + "]", rsLower = "[" + rsLowerRange + "]", rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]", rsFitz = "\\ud83c[\\udffb-\\udfff]", rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")", rsNonAstral = "[^" + rsAstralRange + "]", rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsUpper = "[" + rsUpperRange + "]", rsZWJ = "\\u200d", rsMiscLower = "(?:" + rsLower + "|" + rsMisc + ")", rsMiscUpper = "(?:" + rsUpper + "|" + rsMisc + ")", rsOptContrLower = "(?:" + rsApos$1 + "(?:d|ll|m|re|s|t|ve))?", rsOptContrUpper = "(?:" + rsApos$1 + "(?:D|LL|M|RE|S|T|VE))?", reOptMod = rsModifier + "?", rsOptVar = "[" + rsVarRange + "]?", rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*", rsOrdLower = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", rsOrdUpper = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", rsSeq = rsOptVar + reOptMod + rsOptJoin, rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq, reUnicodeWord = RegExp([
|
|
87340
|
+
rsUpper + "?" + rsLower + "+" + rsOptContrLower + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")",
|
|
87341
|
+
rsMiscUpper + "+" + rsOptContrUpper + "(?=" + [rsBreak, rsUpper + rsMiscLower, "$"].join("|") + ")",
|
|
87342
|
+
rsUpper + "?" + rsMiscLower + "+" + rsOptContrLower,
|
|
87343
|
+
rsUpper + "+" + rsOptContrUpper,
|
|
87344
|
+
rsOrdUpper,
|
|
87345
|
+
rsOrdLower,
|
|
87346
|
+
rsDigits,
|
|
87347
|
+
rsEmoji
|
|
87348
|
+
].join("|"), "g");
|
|
87349
|
+
function unicodeWords$1(kh) {
|
|
87350
|
+
return kh.match(reUnicodeWord) || [];
|
|
87351
|
+
}
|
|
87352
|
+
var _unicodeWords = unicodeWords$1, asciiWords = _asciiWords, hasUnicodeWord = _hasUnicodeWord, toString = toString_1, unicodeWords = _unicodeWords;
|
|
87353
|
+
function words$1(kh, Ff, x_) {
|
|
87354
|
+
return kh = toString(kh), Ff = x_ ? void 0 : Ff, Ff === void 0 ? hasUnicodeWord(kh) ? unicodeWords(kh) : asciiWords(kh) : kh.match(Ff) || [];
|
|
87355
|
+
}
|
|
87356
|
+
var words_1 = words$1, arrayReduce = _arrayReduce, deburr = deburr_1, words = words_1, rsApos = "['’]", reApos = RegExp(rsApos, "g");
|
|
87357
|
+
function createCompounder$1(kh) {
|
|
87358
|
+
return function(Ff) {
|
|
87359
|
+
return arrayReduce(words(deburr(Ff).replace(reApos, "")), kh, "");
|
|
87360
|
+
};
|
|
87361
|
+
}
|
|
87362
|
+
var _createCompounder = createCompounder$1, capitalize = capitalize_1, createCompounder = _createCompounder, camelCase = createCompounder(function(kh, Ff, x_) {
|
|
87363
|
+
return Ff = Ff.toLowerCase(), kh + (x_ ? capitalize(Ff) : Ff);
|
|
87364
|
+
}), camelCase_1 = camelCase;
|
|
87365
|
+
const camelCase$1 = /* @__PURE__ */ getDefaultExportFromCjs(camelCase_1);
|
|
87054
87366
|
function warning(kh, Ff) {
|
|
87055
87367
|
warningOnce(kh, "[@ant-design/icons] ".concat(Ff));
|
|
87056
87368
|
}
|
|
@@ -87066,7 +87378,7 @@ function normalizeAttrs() {
|
|
|
87066
87378
|
Ff.className = B_, delete Ff.class;
|
|
87067
87379
|
break;
|
|
87068
87380
|
default:
|
|
87069
|
-
delete Ff[x_], Ff[camelCase(x_)] = B_;
|
|
87381
|
+
delete Ff[x_], Ff[camelCase$1(x_)] = B_;
|
|
87070
87382
|
}
|
|
87071
87383
|
return Ff;
|
|
87072
87384
|
}, {});
|
|
@@ -87090,7 +87402,8 @@ function normalizeTwoToneColors(kh) {
|
|
|
87090
87402
|
}
|
|
87091
87403
|
var iconStyles = `
|
|
87092
87404
|
.anticon {
|
|
87093
|
-
display: inline-
|
|
87405
|
+
display: inline-flex;
|
|
87406
|
+
alignItems: center;
|
|
87094
87407
|
color: inherit;
|
|
87095
87408
|
font-style: normal;
|
|
87096
87409
|
line-height: 0;
|
|
@@ -87142,14 +87455,12 @@ var iconStyles = `
|
|
|
87142
87455
|
transform: rotate(360deg);
|
|
87143
87456
|
}
|
|
87144
87457
|
}
|
|
87145
|
-
`, useInsertStyles = function kh(
|
|
87146
|
-
var x_ = useContext(Context), B_ = x_.csp
|
|
87147
|
-
|
|
87148
|
-
|
|
87149
|
-
updateCSS($P, "@ant-design-icons", {
|
|
87458
|
+
`, useInsertStyles = function kh() {
|
|
87459
|
+
var Ff = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : iconStyles, x_ = useContext(Context), B_ = x_.csp;
|
|
87460
|
+
useEffect(function() {
|
|
87461
|
+
updateCSS(Ff, "@ant-design-icons", {
|
|
87150
87462
|
prepend: !0,
|
|
87151
|
-
csp: B_
|
|
87152
|
-
attachTo: e0e
|
|
87463
|
+
csp: B_
|
|
87153
87464
|
});
|
|
87154
87465
|
}, []);
|
|
87155
87466
|
}, _excluded$1 = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"], twoToneColorPalette = {
|
|
@@ -87165,27 +87476,25 @@ function getTwoToneColors() {
|
|
|
87165
87476
|
return _objectSpread2({}, twoToneColorPalette);
|
|
87166
87477
|
}
|
|
87167
87478
|
var IconBase = function kh(Ff) {
|
|
87168
|
-
var x_ = Ff.icon, B_ = Ff.className, $_ = Ff.onClick, $P = Ff.style, zP = Ff.primaryColor, e0e = Ff.secondaryColor, t0e = _objectWithoutProperties(Ff, _excluded$1), n0e =
|
|
87169
|
-
if (zP && (
|
|
87479
|
+
var x_ = Ff.icon, B_ = Ff.className, $_ = Ff.onClick, $P = Ff.style, zP = Ff.primaryColor, e0e = Ff.secondaryColor, t0e = _objectWithoutProperties(Ff, _excluded$1), n0e = twoToneColorPalette;
|
|
87480
|
+
if (zP && (n0e = {
|
|
87170
87481
|
primaryColor: zP,
|
|
87171
87482
|
secondaryColor: e0e || getSecondaryColor(zP)
|
|
87172
|
-
}), useInsertStyles(
|
|
87483
|
+
}), useInsertStyles(), warning(isIconDefinition(x_), "icon should be icon definiton, but got ".concat(x_)), !isIconDefinition(x_))
|
|
87173
87484
|
return null;
|
|
87174
|
-
var
|
|
87175
|
-
return
|
|
87176
|
-
icon:
|
|
87177
|
-
})), generate(
|
|
87485
|
+
var r0e = x_;
|
|
87486
|
+
return r0e && typeof r0e.icon == "function" && (r0e = _objectSpread2(_objectSpread2({}, r0e), {}, {
|
|
87487
|
+
icon: r0e.icon(n0e.primaryColor, n0e.secondaryColor)
|
|
87488
|
+
})), generate(r0e.icon, "svg-".concat(r0e.name), _objectSpread2({
|
|
87178
87489
|
className: B_,
|
|
87179
87490
|
onClick: $_,
|
|
87180
87491
|
style: $P,
|
|
87181
|
-
"data-icon":
|
|
87492
|
+
"data-icon": r0e.name,
|
|
87182
87493
|
width: "1em",
|
|
87183
87494
|
height: "1em",
|
|
87184
87495
|
fill: "currentColor",
|
|
87185
87496
|
"aria-hidden": "true"
|
|
87186
|
-
}, t0e)
|
|
87187
|
-
ref: n0e
|
|
87188
|
-
}));
|
|
87497
|
+
}, t0e));
|
|
87189
87498
|
};
|
|
87190
87499
|
IconBase.displayName = "IconReact";
|
|
87191
87500
|
IconBase.getTwoToneColors = getTwoToneColors;
|
|
@@ -87203,7 +87512,7 @@ function getTwoToneColor() {
|
|
|
87203
87512
|
return kh.calculated ? [kh.primaryColor, kh.secondaryColor] : kh.primaryColor;
|
|
87204
87513
|
}
|
|
87205
87514
|
var _excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
|
|
87206
|
-
setTwoToneColor(
|
|
87515
|
+
setTwoToneColor("#1890ff");
|
|
87207
87516
|
var Icon = /* @__PURE__ */ React.forwardRef(function(kh, Ff) {
|
|
87208
87517
|
var x_ = kh.className, B_ = kh.icon, $_ = kh.spin, $P = kh.rotate, zP = kh.tabIndex, e0e = kh.onClick, t0e = kh.twoToneColor, n0e = _objectWithoutProperties(kh, _excluded), r0e = React.useContext(Context), i0e = r0e.prefixCls, o0e = i0e === void 0 ? "anticon" : i0e, s0e = r0e.rootClassName, c0e = classNames(s0e, o0e, _defineProperty(_defineProperty({}, "".concat(o0e, "-").concat(B_.name), !!B_.name), "".concat(o0e, "-spin"), !!$_ || B_.name === "loading"), x_), d0e = zP;
|
|
87209
87518
|
d0e === void 0 && e0e && (d0e = -1);
|
|
@@ -87211,10 +87520,10 @@ var Icon = /* @__PURE__ */ React.forwardRef(function(kh, Ff) {
|
|
|
87211
87520
|
msTransform: "rotate(".concat($P, "deg)"),
|
|
87212
87521
|
transform: "rotate(".concat($P, "deg)")
|
|
87213
87522
|
} : void 0, l0e = normalizeTwoToneColors(t0e), u0e = _slicedToArray(l0e, 2), h0e = u0e[0], f0e = u0e[1];
|
|
87214
|
-
return /* @__PURE__ */ React.createElement("span",
|
|
87523
|
+
return /* @__PURE__ */ React.createElement("span", _objectSpread2(_objectSpread2({
|
|
87215
87524
|
role: "img",
|
|
87216
87525
|
"aria-label": B_.name
|
|
87217
|
-
}, n0e, {
|
|
87526
|
+
}, n0e), {}, {
|
|
87218
87527
|
ref: Ff,
|
|
87219
87528
|
tabIndex: d0e,
|
|
87220
87529
|
onClick: e0e,
|
|
@@ -87233,13 +87542,13 @@ const AntdIcon = Icon;
|
|
|
87233
87542
|
var ExclamationCircleFilled$2 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "exclamation-circle", theme: "filled" };
|
|
87234
87543
|
const ExclamationCircleFilledSvg = ExclamationCircleFilled$2;
|
|
87235
87544
|
var ExclamationCircleFilled = function kh(Ff, x_) {
|
|
87236
|
-
return /* @__PURE__ */ React.createElement(AntdIcon,
|
|
87545
|
+
return /* @__PURE__ */ React.createElement(AntdIcon, _objectSpread2(_objectSpread2({}, Ff), {}, {
|
|
87237
87546
|
ref: x_,
|
|
87238
87547
|
icon: ExclamationCircleFilledSvg
|
|
87239
87548
|
}));
|
|
87240
|
-
};
|
|
87241
|
-
process.env.NODE_ENV !== "production" && (
|
|
87242
|
-
const ExclamationCircleFilled$1 =
|
|
87549
|
+
}, RefIcon = /* @__PURE__ */ React.forwardRef(ExclamationCircleFilled);
|
|
87550
|
+
process.env.NODE_ENV !== "production" && (RefIcon.displayName = "ExclamationCircleFilled");
|
|
87551
|
+
const ExclamationCircleFilled$1 = RefIcon, { BubbleMenu, BubbleMenuView } = bubbleModules;
|
|
87243
87552
|
let Editor = (kh, Ff) => {
|
|
87244
87553
|
var j0e, z0e;
|
|
87245
87554
|
const {
|