@graphysdk/react 1.9.0-beta.1793726975536 → 1.9.0-beta.1793788324987
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/editable.browser.mjs +462 -462
- package/dist/index.browser.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
|
@@ -37511,7 +37511,7 @@ function Z6e(e, t, n, r = {}) {
|
|
|
37511
37511
|
}
|
|
37512
37512
|
return String(n);
|
|
37513
37513
|
}
|
|
37514
|
-
function
|
|
37514
|
+
function e4e(e, t, n, r = {}) {
|
|
37515
37515
|
try {
|
|
37516
37516
|
return IK(e, t, r).formatToParts(n);
|
|
37517
37517
|
} catch (o) {
|
|
@@ -37519,24 +37519,24 @@ function eBe(e, t, n, r = {}) {
|
|
|
37519
37519
|
}
|
|
37520
37520
|
return [];
|
|
37521
37521
|
}
|
|
37522
|
-
function
|
|
37522
|
+
function t4e(e) {
|
|
37523
37523
|
return typeof (e ? e[Object.keys(e)[0]] : void 0) == "string";
|
|
37524
37524
|
}
|
|
37525
|
-
function
|
|
37526
|
-
e.onWarn && e.defaultRichTextElements &&
|
|
37525
|
+
function n4e(e) {
|
|
37526
|
+
e.onWarn && e.defaultRichTextElements && t4e(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
37527
37527
|
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
37528
37528
|
For more details see https://formatjs.github.io/docs/getting-started/message-distribution`);
|
|
37529
37529
|
}
|
|
37530
|
-
function
|
|
37530
|
+
function r4e(e, t) {
|
|
37531
37531
|
const n = D6e(t), r = {
|
|
37532
37532
|
...MK,
|
|
37533
37533
|
...e
|
|
37534
37534
|
}, { locale: o, defaultLocale: i, onError: s } = r;
|
|
37535
|
-
return o ? !Intl.NumberFormat.supportedLocalesOf(o).length && s ? s(new fF(`Missing locale data for locale: "${o}" in Intl.NumberFormat. Using default locale: "${i}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)) : !Intl.DateTimeFormat.supportedLocalesOf(o).length && s && s(new fF(`Missing locale data for locale: "${o}" in Intl.DateTimeFormat. Using default locale: "${i}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)) : (s && s(new R6e(`"locale" was not configured, using "${i}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)), r.locale = r.defaultLocale || "en"),
|
|
37535
|
+
return o ? !Intl.NumberFormat.supportedLocalesOf(o).length && s ? s(new fF(`Missing locale data for locale: "${o}" in Intl.NumberFormat. Using default locale: "${i}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)) : !Intl.DateTimeFormat.supportedLocalesOf(o).length && s && s(new fF(`Missing locale data for locale: "${o}" in Intl.DateTimeFormat. Using default locale: "${i}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)) : (s && s(new R6e(`"locale" was not configured, using "${i}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)), r.locale = r.defaultLocale || "en"), n4e(r), {
|
|
37536
37536
|
...r,
|
|
37537
37537
|
formatters: n,
|
|
37538
37538
|
formatNumber: Z6e.bind(null, r, n.getNumberFormat),
|
|
37539
|
-
formatNumberToParts:
|
|
37539
|
+
formatNumberToParts: e4e.bind(null, r, n.getNumberFormat),
|
|
37540
37540
|
formatRelativeTime: J6e.bind(null, r, n.getRelativeTimeFormat),
|
|
37541
37541
|
formatDate: F6e.bind(null, r, n.getDateTimeFormat),
|
|
37542
37542
|
formatDateToParts: H6e.bind(null, r, n.getDateTimeFormat),
|
|
@@ -37551,22 +37551,22 @@ function rBe(e, t) {
|
|
|
37551
37551
|
formatDisplayName: G6e.bind(null, r, n.getDisplayNames)
|
|
37552
37552
|
};
|
|
37553
37553
|
}
|
|
37554
|
-
function
|
|
37554
|
+
function o4e(e, t, n = Error) {
|
|
37555
37555
|
if (!e) throw new n(t);
|
|
37556
37556
|
}
|
|
37557
|
-
function
|
|
37558
|
-
|
|
37557
|
+
function i4e(e) {
|
|
37558
|
+
o4e(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
|
|
37559
37559
|
}
|
|
37560
37560
|
var LK = {
|
|
37561
37561
|
...MK,
|
|
37562
37562
|
textComponent: C.Fragment
|
|
37563
37563
|
}, OK = (e) => C.Children.toArray(e).map((t, n) => C.isValidElement(t) ? /* @__PURE__ */ m(C.Fragment, { children: t }, n) : t);
|
|
37564
|
-
function
|
|
37564
|
+
function s4e(e) {
|
|
37565
37565
|
return function(t) {
|
|
37566
37566
|
return e(OK(t));
|
|
37567
37567
|
};
|
|
37568
37568
|
}
|
|
37569
|
-
function
|
|
37569
|
+
function a4e(e, t) {
|
|
37570
37570
|
if (e === t) return !0;
|
|
37571
37571
|
if (!e || !t) return !1;
|
|
37572
37572
|
var n = Object.keys(e), r = Object.keys(t), o = n.length;
|
|
@@ -37577,7 +37577,7 @@ function aBe(e, t) {
|
|
|
37577
37577
|
}
|
|
37578
37578
|
return !0;
|
|
37579
37579
|
}
|
|
37580
|
-
var
|
|
37580
|
+
var l4e = /* @__PURE__ */ qr(((e) => {
|
|
37581
37581
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, o = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, i = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, s = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = t ? /* @__PURE__ */ Symbol.for("react.context") : 60110, c = t ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, u = t ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, d = t ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = t ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, f = t ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, p = t ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, g = t ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, v = t ? /* @__PURE__ */ Symbol.for("react.block") : 60121, y = t ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, b = t ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, x = t ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
37582
37582
|
function S(T) {
|
|
37583
37583
|
if (typeof T == "object" && T !== null) {
|
|
@@ -37639,10 +37639,10 @@ var lBe = /* @__PURE__ */ qr(((e) => {
|
|
|
37639
37639
|
}, e.isValidElementType = function(T) {
|
|
37640
37640
|
return typeof T == "string" || typeof T == "function" || T === o || T === u || T === s || T === i || T === h || T === f || typeof T == "object" && T !== null && (T.$$typeof === g || T.$$typeof === p || T.$$typeof === a || T.$$typeof === l || T.$$typeof === d || T.$$typeof === y || T.$$typeof === b || T.$$typeof === x || T.$$typeof === v);
|
|
37641
37641
|
}, e.typeOf = S;
|
|
37642
|
-
})),
|
|
37643
|
-
t.exports =
|
|
37644
|
-
})),
|
|
37645
|
-
var n =
|
|
37642
|
+
})), c4e = /* @__PURE__ */ qr(((e, t) => {
|
|
37643
|
+
t.exports = l4e();
|
|
37644
|
+
})), u4e = /* @__PURE__ */ qr(((e, t) => {
|
|
37645
|
+
var n = c4e(), r = {
|
|
37646
37646
|
childContextTypes: !0,
|
|
37647
37647
|
contextType: !0,
|
|
37648
37648
|
contextTypes: !0,
|
|
@@ -37703,18 +37703,18 @@ var lBe = /* @__PURE__ */ qr(((e) => {
|
|
|
37703
37703
|
return v;
|
|
37704
37704
|
}
|
|
37705
37705
|
t.exports = g;
|
|
37706
|
-
})), vF = /* @__PURE__ */ D8(
|
|
37706
|
+
})), vF = /* @__PURE__ */ D8(u4e(), 1), K1t = vF.default ?? vF, d4e = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = C.createContext(null)) : C.createContext(null), { Consumer: q1t, Provider: h4e } = d4e, f4e = h4e;
|
|
37707
37707
|
function _K(e) {
|
|
37708
37708
|
return e && Object.keys(e).reduce((t, n) => {
|
|
37709
37709
|
const r = e[n];
|
|
37710
|
-
return t[n] = kK(r) ?
|
|
37710
|
+
return t[n] = kK(r) ? s4e(r) : r, t;
|
|
37711
37711
|
}, {});
|
|
37712
37712
|
}
|
|
37713
37713
|
var yF = (e, t, n, r, ...o) => {
|
|
37714
37714
|
const i = ok(e, t, n, _K(r), ...o);
|
|
37715
37715
|
return Array.isArray(i) ? OK(i) : i;
|
|
37716
37716
|
}, bF = ({ defaultRichTextElements: e, ...t }, n) => {
|
|
37717
|
-
const r = _K(e), o =
|
|
37717
|
+
const r = _K(e), o = r4e({
|
|
37718
37718
|
...LK,
|
|
37719
37719
|
...t,
|
|
37720
37720
|
defaultRichTextElements: r
|
|
@@ -37761,13 +37761,13 @@ var mR = class extends C.PureComponent {
|
|
|
37761
37761
|
}
|
|
37762
37762
|
static getDerivedStateFromProps(e, { prevConfig: t, cache: n }) {
|
|
37763
37763
|
const r = cT(e);
|
|
37764
|
-
return
|
|
37764
|
+
return a4e(t, r) ? null : {
|
|
37765
37765
|
intl: bF(r, n),
|
|
37766
37766
|
prevConfig: r
|
|
37767
37767
|
};
|
|
37768
37768
|
}
|
|
37769
37769
|
render() {
|
|
37770
|
-
return
|
|
37770
|
+
return i4e(this.state.intl), /* @__PURE__ */ m(f4e, {
|
|
37771
37771
|
value: this.state.intl,
|
|
37772
37772
|
children: this.props.children
|
|
37773
37773
|
});
|
|
@@ -37775,7 +37775,7 @@ var mR = class extends C.PureComponent {
|
|
|
37775
37775
|
};
|
|
37776
37776
|
he(mR, "displayName", "IntlProvider");
|
|
37777
37777
|
he(mR, "defaultProps", LK);
|
|
37778
|
-
var
|
|
37778
|
+
var p4e = {
|
|
37779
37779
|
loading: "جاري التحميل",
|
|
37780
37780
|
error: "حدث خطأ ما",
|
|
37781
37781
|
axisLabels: { placeholder: "إضافة تسمية" },
|
|
@@ -37826,10 +37826,10 @@ var pBe = {
|
|
|
37826
37826
|
comparisonReference: ({ value: e }) => `من ${e}`
|
|
37827
37827
|
},
|
|
37828
37828
|
legend: { hiddenItems: "عناصر وسيلة الإيضاح المخفية" }
|
|
37829
|
-
},
|
|
37830
|
-
graph:
|
|
37829
|
+
}, m4e = {
|
|
37830
|
+
graph: p4e,
|
|
37831
37831
|
dir: "rtl"
|
|
37832
|
-
},
|
|
37832
|
+
}, g4e = {
|
|
37833
37833
|
loading: "Loading",
|
|
37834
37834
|
error: "Something went wrong",
|
|
37835
37835
|
axisLabels: { placeholder: "Add label" },
|
|
@@ -37880,10 +37880,10 @@ var pBe = {
|
|
|
37880
37880
|
comparisonReference: ({ value: e }) => `from ${e}`
|
|
37881
37881
|
},
|
|
37882
37882
|
legend: { hiddenItems: "Hidden legend items" }
|
|
37883
|
-
},
|
|
37884
|
-
graph:
|
|
37883
|
+
}, v4e = {
|
|
37884
|
+
graph: g4e,
|
|
37885
37885
|
dir: "ltr"
|
|
37886
|
-
},
|
|
37886
|
+
}, y4e = {}, b4e = {
|
|
37887
37887
|
loading: "A carregar",
|
|
37888
37888
|
error: "Algo correu mal",
|
|
37889
37889
|
axisLabels: { placeholder: "Adicionar etiqueta" },
|
|
@@ -37934,27 +37934,27 @@ var pBe = {
|
|
|
37934
37934
|
comparisonReference: ({ value: e }) => `de ${e}`
|
|
37935
37935
|
},
|
|
37936
37936
|
legend: { hiddenItems: "Itens de legenda ocultos" }
|
|
37937
|
-
},
|
|
37938
|
-
graph:
|
|
37937
|
+
}, x4e = {
|
|
37938
|
+
graph: b4e,
|
|
37939
37939
|
dir: "ltr"
|
|
37940
37940
|
}, Bx = {
|
|
37941
|
-
"en-GB":
|
|
37942
|
-
"en-US":
|
|
37943
|
-
ar:
|
|
37944
|
-
"pt-PT":
|
|
37945
|
-
},
|
|
37941
|
+
"en-GB": v4e,
|
|
37942
|
+
"en-US": y4e,
|
|
37943
|
+
ar: m4e,
|
|
37944
|
+
"pt-PT": x4e
|
|
37945
|
+
}, w4e = ({ locale: e, overrides: t, fallbackLocale: n = "en-GB", dictionaries: r }) => {
|
|
37946
37946
|
const o = t ?? {}, i = e ?? n, s = [...r.map((l) => l[i]), ...r.map((l) => l[n])];
|
|
37947
37947
|
return (l, c) => {
|
|
37948
37948
|
const u = c ?? {}, d = l.split("."), h = o[l];
|
|
37949
37949
|
if (h) return typeof h == "function" ? h(u) : h;
|
|
37950
37950
|
for (const f of s) {
|
|
37951
37951
|
if (f === void 0) continue;
|
|
37952
|
-
const p =
|
|
37952
|
+
const p = T4e(f, d);
|
|
37953
37953
|
if (p) return typeof p == "function" ? p(u) : p;
|
|
37954
37954
|
}
|
|
37955
37955
|
return l;
|
|
37956
37956
|
};
|
|
37957
|
-
},
|
|
37957
|
+
}, S4e = ({ locale: e, overrides: t }) => t?.dir ?? Bx[e].dir ?? "ltr", T4e = (e, t) => {
|
|
37958
37958
|
let n = e;
|
|
37959
37959
|
for (const r of t) {
|
|
37960
37960
|
if (typeof n != "object" || n === null) return;
|
|
@@ -37963,22 +37963,22 @@ var pBe = {
|
|
|
37963
37963
|
if (typeof n == "string" || typeof n == "function") return n;
|
|
37964
37964
|
}, DK = (e = oh) => {
|
|
37965
37965
|
const { language: t, region: n } = new Intl.Locale(ax(e));
|
|
37966
|
-
return [`${t}-${n}`, t].find(
|
|
37967
|
-
},
|
|
37966
|
+
return [`${t}-${n}`, t].find(A4e) ?? "en-GB";
|
|
37967
|
+
}, A4e = (e) => e in Bx, gR = St(null), C4e = [Bx], Le = () => FK().translator, NK = () => FK().dir, vR = (e) => {
|
|
37968
37968
|
const t = Ve(gR)?.requested;
|
|
37969
37969
|
return {
|
|
37970
37970
|
locale: t?.locale ?? e,
|
|
37971
37971
|
i18nOverrides: t?.i18nOverrides
|
|
37972
37972
|
};
|
|
37973
|
-
}, yR = ({ locale: e, children: t, i18nOverrides: n, dictionaries: r =
|
|
37973
|
+
}, yR = ({ locale: e, children: t, i18nOverrides: n, dictionaries: r = C4e }) => {
|
|
37974
37974
|
const o = DK(e), i = q(() => ({
|
|
37975
|
-
translator:
|
|
37975
|
+
translator: w4e({
|
|
37976
37976
|
locale: o,
|
|
37977
37977
|
overrides: n,
|
|
37978
37978
|
fallbackLocale: "en-GB",
|
|
37979
37979
|
dictionaries: r
|
|
37980
37980
|
}),
|
|
37981
|
-
dir:
|
|
37981
|
+
dir: S4e({
|
|
37982
37982
|
locale: o,
|
|
37983
37983
|
overrides: n
|
|
37984
37984
|
}),
|
|
@@ -38004,7 +38004,7 @@ var pBe = {
|
|
|
38004
38004
|
const e = Ve(gR);
|
|
38005
38005
|
if (!e) throw new Error("useI18n must be used within IntlProvider");
|
|
38006
38006
|
return e;
|
|
38007
|
-
},
|
|
38007
|
+
}, k4e = () => {
|
|
38008
38008
|
const e = /* @__PURE__ */ new Map();
|
|
38009
38009
|
return mh((t) => ({
|
|
38010
38010
|
hover: _r,
|
|
@@ -38013,7 +38013,7 @@ var pBe = {
|
|
|
38013
38013
|
suspendsHover: !1,
|
|
38014
38014
|
editorOwnsQuery: !1,
|
|
38015
38015
|
setHoverState: (n) => t((r) => r.hover === n ? r : { hover: n }),
|
|
38016
|
-
setTooltipAnchor: (n) => t((r) =>
|
|
38016
|
+
setTooltipAnchor: (n) => t((r) => E4e(r.tooltipAnchor, n) ? r : { tooltipAnchor: n }),
|
|
38017
38017
|
publishPointerRegions: (n, r) => {
|
|
38018
38018
|
r.length === 0 ? e.delete(n) : e.set(n, r);
|
|
38019
38019
|
const o = tEe(e);
|
|
@@ -38022,7 +38022,7 @@ var pBe = {
|
|
|
38022
38022
|
setSuspendsHover: (n) => t((r) => r.suspendsHover === n ? r : { suspendsHover: n }),
|
|
38023
38023
|
setEditorOwnsQuery: (n) => t((r) => r.editorOwnsQuery === n ? r : { editorOwnsQuery: n })
|
|
38024
38024
|
}));
|
|
38025
|
-
},
|
|
38025
|
+
}, E4e = (e, t) => e === t ? !0 : e === null || t === null ? !1 : e.x === t.x && e.y === t.y && e.placement === t.placement && e.annotationId === t.annotationId, M4e = (e, t) => {
|
|
38026
38026
|
const n = q(() => ({
|
|
38027
38027
|
layers: e,
|
|
38028
38028
|
coordSystem: t
|
|
@@ -38036,11 +38036,11 @@ var pBe = {
|
|
|
38036
38036
|
}
|
|
38037
38037
|
o.update(n);
|
|
38038
38038
|
}, [o, n]), o;
|
|
38039
|
-
}, BK = St(null),
|
|
38039
|
+
}, BK = St(null), P4e = ({ children: e }) => {
|
|
38040
38040
|
const { layers: t, coordSystem: n } = Te(xn((a) => ({
|
|
38041
38041
|
layers: a.layers,
|
|
38042
38042
|
coordSystem: a.coordSystem
|
|
38043
|
-
}))), r =
|
|
38043
|
+
}))), r = M4e(t, n), [o] = De(() => k4e()), i = Ie(null), s = Ie(null);
|
|
38044
38044
|
return s.current === null && (s.current = {
|
|
38045
38045
|
engine: r,
|
|
38046
38046
|
store: o,
|
|
@@ -38053,12 +38053,12 @@ var pBe = {
|
|
|
38053
38053
|
const e = Ve(BK);
|
|
38054
38054
|
if (e === null) throw new Error("useHoverContext must be used inside a <HoverProvider>.");
|
|
38055
38055
|
return e;
|
|
38056
|
-
},
|
|
38056
|
+
}, R4e = [
|
|
38057
38057
|
"top",
|
|
38058
38058
|
"right",
|
|
38059
38059
|
"bottom",
|
|
38060
38060
|
"left"
|
|
38061
|
-
], ik = Math.min, Wl = Math.max, uT = Math.floor,
|
|
38061
|
+
], ik = Math.min, Wl = Math.max, uT = Math.floor, I4e = {
|
|
38062
38062
|
left: "right",
|
|
38063
38063
|
right: "left",
|
|
38064
38064
|
bottom: "top",
|
|
@@ -38089,13 +38089,13 @@ function Yo(e) {
|
|
|
38089
38089
|
function wR(e) {
|
|
38090
38090
|
return bR(Yo(e));
|
|
38091
38091
|
}
|
|
38092
|
-
function
|
|
38092
|
+
function L4e(e, t, n) {
|
|
38093
38093
|
n === void 0 && (n = !1);
|
|
38094
38094
|
const r = gl(e), o = wR(e), i = xR(o);
|
|
38095
38095
|
let s = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
38096
38096
|
return t.reference[i] > t.floating[i] && (s = ob(s)), [s, ob(s)];
|
|
38097
38097
|
}
|
|
38098
|
-
function
|
|
38098
|
+
function O4e(e) {
|
|
38099
38099
|
const t = ob(e);
|
|
38100
38100
|
return [
|
|
38101
38101
|
ak(e),
|
|
@@ -38106,29 +38106,29 @@ function OBe(e) {
|
|
|
38106
38106
|
function ak(e) {
|
|
38107
38107
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
38108
38108
|
}
|
|
38109
|
-
var xF = ["left", "right"], wF = ["right", "left"],
|
|
38110
|
-
function
|
|
38109
|
+
var xF = ["left", "right"], wF = ["right", "left"], _4e = ["top", "bottom"], D4e = ["bottom", "top"];
|
|
38110
|
+
function N4e(e, t, n) {
|
|
38111
38111
|
switch (e) {
|
|
38112
38112
|
case "top":
|
|
38113
38113
|
case "bottom":
|
|
38114
38114
|
return n ? t ? wF : xF : t ? xF : wF;
|
|
38115
38115
|
case "left":
|
|
38116
38116
|
case "right":
|
|
38117
|
-
return t ?
|
|
38117
|
+
return t ? _4e : D4e;
|
|
38118
38118
|
default:
|
|
38119
38119
|
return [];
|
|
38120
38120
|
}
|
|
38121
38121
|
}
|
|
38122
|
-
function
|
|
38122
|
+
function F4e(e, t, n, r) {
|
|
38123
38123
|
const o = gl(e);
|
|
38124
|
-
let i =
|
|
38124
|
+
let i = N4e(ro(e), n === "start", r);
|
|
38125
38125
|
return o && (i = i.map((s) => s + "-" + o), t && (i = i.concat(i.map(ak)))), i;
|
|
38126
38126
|
}
|
|
38127
38127
|
function ob(e) {
|
|
38128
38128
|
const t = ro(e);
|
|
38129
|
-
return
|
|
38129
|
+
return I4e[t] + e.slice(t.length);
|
|
38130
38130
|
}
|
|
38131
|
-
function
|
|
38131
|
+
function B4e(e) {
|
|
38132
38132
|
var t, n, r, o;
|
|
38133
38133
|
return {
|
|
38134
38134
|
top: (t = e.top) != null ? t : 0,
|
|
@@ -38138,7 +38138,7 @@ function BBe(e) {
|
|
|
38138
38138
|
};
|
|
38139
38139
|
}
|
|
38140
38140
|
function VK(e) {
|
|
38141
|
-
return typeof e != "number" ?
|
|
38141
|
+
return typeof e != "number" ? B4e(e) : {
|
|
38142
38142
|
top: e,
|
|
38143
38143
|
right: e,
|
|
38144
38144
|
bottom: e,
|
|
@@ -38203,7 +38203,7 @@ function SF(e, t, n) {
|
|
|
38203
38203
|
}
|
|
38204
38204
|
return f;
|
|
38205
38205
|
}
|
|
38206
|
-
async function
|
|
38206
|
+
async function V4e(e, t) {
|
|
38207
38207
|
var n;
|
|
38208
38208
|
t === void 0 && (t = {});
|
|
38209
38209
|
const { x: r, y: o, platform: i, rects: s, elements: a, strategy: l } = e, { boundary: c = "clippingAncestors", rootBoundary: u = "viewport", elementContext: d = "floating", altBoundary: h = !1, padding: f = 0 } = ca(t, e), p = VK(f), g = a[h ? d === "floating" ? "reference" : "floating" : d], v = mm(await i.getClippingRect({
|
|
@@ -38235,10 +38235,10 @@ async function VBe(e, t) {
|
|
|
38235
38235
|
right: (S.right - v.right + p.right) / x.x
|
|
38236
38236
|
};
|
|
38237
38237
|
}
|
|
38238
|
-
var
|
|
38238
|
+
var H4e = 50, $4e = async (e, t, n) => {
|
|
38239
38239
|
const { placement: r = "bottom", strategy: o = "absolute", middleware: i = [], platform: s } = n, a = s.detectOverflow ? s : {
|
|
38240
38240
|
...s,
|
|
38241
|
-
detectOverflow:
|
|
38241
|
+
detectOverflow: V4e
|
|
38242
38242
|
}, l = await (s.isRTL == null ? void 0 : s.isRTL(t));
|
|
38243
38243
|
let c = await s.getElementRects({
|
|
38244
38244
|
reference: e,
|
|
@@ -38266,7 +38266,7 @@ var HBe = 50, $Be = async (e, t, n) => {
|
|
|
38266
38266
|
u = x ?? u, d = S ?? d, p[y] = {
|
|
38267
38267
|
...p[y],
|
|
38268
38268
|
...A
|
|
38269
|
-
}, T && f <
|
|
38269
|
+
}, T && f < H4e && (f++, typeof T == "object" && (T.placement && (h = T.placement), T.rects && (c = T.rects === !0 ? await s.getElementRects({
|
|
38270
38270
|
reference: e,
|
|
38271
38271
|
floating: t,
|
|
38272
38272
|
strategy: o
|
|
@@ -38279,7 +38279,7 @@ var HBe = 50, $Be = async (e, t, n) => {
|
|
|
38279
38279
|
strategy: o,
|
|
38280
38280
|
middlewareData: p
|
|
38281
38281
|
};
|
|
38282
|
-
},
|
|
38282
|
+
}, z4e = function(e) {
|
|
38283
38283
|
return e === void 0 && (e = {}), {
|
|
38284
38284
|
name: "flip",
|
|
38285
38285
|
options: e,
|
|
@@ -38287,12 +38287,12 @@ var HBe = 50, $Be = async (e, t, n) => {
|
|
|
38287
38287
|
var n, r;
|
|
38288
38288
|
const { placement: o, middlewareData: i, rects: s, initialPlacement: a, platform: l, elements: c } = t, { mainAxis: u = !0, crossAxis: d = !0, fallbackPlacements: h, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: g = !0, ...v } = ca(e, t);
|
|
38289
38289
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
38290
|
-
const y = ro(o), b = Yo(a), x = ro(a) === a, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), A = h || (x || !g ? [ob(a)] :
|
|
38291
|
-
!h && T && A.push(...
|
|
38290
|
+
const y = ro(o), b = Yo(a), x = ro(a) === a, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), A = h || (x || !g ? [ob(a)] : O4e(a)), T = p !== "none";
|
|
38291
|
+
!h && T && A.push(...F4e(a, g, p, S));
|
|
38292
38292
|
const M = [a, ...A], w = await l.detectOverflow(t, v), P = [];
|
|
38293
38293
|
let D = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
38294
38294
|
if (u && P.push(w[y]), d) {
|
|
38295
|
-
const L =
|
|
38295
|
+
const L = L4e(o, s, S);
|
|
38296
38296
|
P.push(w[L[0]], w[L[1]]);
|
|
38297
38297
|
}
|
|
38298
38298
|
if (D = [...D, {
|
|
@@ -38342,9 +38342,9 @@ function TF(e, t) {
|
|
|
38342
38342
|
};
|
|
38343
38343
|
}
|
|
38344
38344
|
function AF(e) {
|
|
38345
|
-
return
|
|
38345
|
+
return R4e.some((t) => e[t] >= 0);
|
|
38346
38346
|
}
|
|
38347
|
-
var
|
|
38347
|
+
var G4e = function(e) {
|
|
38348
38348
|
return e === void 0 && (e = {}), {
|
|
38349
38349
|
name: "hide",
|
|
38350
38350
|
options: e,
|
|
@@ -38377,7 +38377,7 @@ var GBe = function(e) {
|
|
|
38377
38377
|
}
|
|
38378
38378
|
};
|
|
38379
38379
|
}, HK = /* @__PURE__ */ new Set(["left", "top"]);
|
|
38380
|
-
async function
|
|
38380
|
+
async function W4e(e, t) {
|
|
38381
38381
|
const { placement: n, platform: r, elements: o } = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), s = ro(n), a = gl(n), l = Yo(n) === "y", c = HK.has(s) ? -1 : 1, u = i && l ? -1 : 1, d = ca(t, e);
|
|
38382
38382
|
let { mainAxis: h, crossAxis: f, alignmentAxis: p } = typeof d == "number" ? {
|
|
38383
38383
|
mainAxis: d,
|
|
@@ -38396,13 +38396,13 @@ async function WBe(e, t) {
|
|
|
38396
38396
|
y: f * u
|
|
38397
38397
|
};
|
|
38398
38398
|
}
|
|
38399
|
-
var
|
|
38399
|
+
var U4e = function(e) {
|
|
38400
38400
|
return e === void 0 && (e = 0), {
|
|
38401
38401
|
name: "offset",
|
|
38402
38402
|
options: e,
|
|
38403
38403
|
async fn(t) {
|
|
38404
38404
|
var n, r;
|
|
38405
|
-
const { x: o, y: i, placement: s, middlewareData: a } = t, l = await
|
|
38405
|
+
const { x: o, y: i, placement: s, middlewareData: a } = t, l = await W4e(t, e);
|
|
38406
38406
|
return s === ((n = a.offset) == null ? void 0 : n.placement) && (r = a.arrow) != null && r.alignmentOffset ? {} : {
|
|
38407
38407
|
x: o + l.x,
|
|
38408
38408
|
y: i + l.y,
|
|
@@ -38413,7 +38413,7 @@ var UBe = function(e) {
|
|
|
38413
38413
|
};
|
|
38414
38414
|
}
|
|
38415
38415
|
};
|
|
38416
|
-
},
|
|
38416
|
+
}, j4e = function(e) {
|
|
38417
38417
|
return e === void 0 && (e = {}), {
|
|
38418
38418
|
name: "shift",
|
|
38419
38419
|
options: e,
|
|
@@ -38455,7 +38455,7 @@ var UBe = function(e) {
|
|
|
38455
38455
|
};
|
|
38456
38456
|
}
|
|
38457
38457
|
};
|
|
38458
|
-
},
|
|
38458
|
+
}, Y4e = function(e) {
|
|
38459
38459
|
return e === void 0 && (e = {}), {
|
|
38460
38460
|
options: e,
|
|
38461
38461
|
fn(t) {
|
|
@@ -38487,7 +38487,7 @@ var UBe = function(e) {
|
|
|
38487
38487
|
};
|
|
38488
38488
|
}
|
|
38489
38489
|
};
|
|
38490
|
-
},
|
|
38490
|
+
}, K4e = function(e) {
|
|
38491
38491
|
return e === void 0 && (e = {}), {
|
|
38492
38492
|
name: "size",
|
|
38493
38493
|
options: e,
|
|
@@ -38546,7 +38546,7 @@ function Eg(e) {
|
|
|
38546
38546
|
const { overflow: t, overflowX: n, overflowY: r, display: o } = Ti(e);
|
|
38547
38547
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && o !== "inline" && o !== "contents";
|
|
38548
38548
|
}
|
|
38549
|
-
function
|
|
38549
|
+
function q4e(e) {
|
|
38550
38550
|
return /^(table|td|th)$/.test(wh(e));
|
|
38551
38551
|
}
|
|
38552
38552
|
function Hx(e) {
|
|
@@ -38560,12 +38560,12 @@ function Hx(e) {
|
|
|
38560
38560
|
return !1;
|
|
38561
38561
|
}
|
|
38562
38562
|
}
|
|
38563
|
-
var
|
|
38563
|
+
var X4e = /transform|translate|scale|rotate|perspective|filter/, J4e = /paint|layout|strict|content/, Nl = (e) => !!e && e !== "none", dT;
|
|
38564
38564
|
function SR(e) {
|
|
38565
38565
|
const t = Si(e) ? Ti(e) : e;
|
|
38566
|
-
return Nl(t.transform) || Nl(t.translate) || Nl(t.scale) || Nl(t.rotate) || Nl(t.perspective) || !TR() && (Nl(t.backdropFilter) || Nl(t.filter)) ||
|
|
38566
|
+
return Nl(t.transform) || Nl(t.translate) || Nl(t.scale) || Nl(t.rotate) || Nl(t.perspective) || !TR() && (Nl(t.backdropFilter) || Nl(t.filter)) || X4e.test(t.willChange || "") || J4e.test(t.contain || "");
|
|
38567
38567
|
}
|
|
38568
|
-
function
|
|
38568
|
+
function Q4e(e) {
|
|
38569
38569
|
let t = ol(e);
|
|
38570
38570
|
for (; xa(t) && !Fd(t); ) {
|
|
38571
38571
|
if (SR(t)) return t;
|
|
@@ -38636,15 +38636,15 @@ function fd(e) {
|
|
|
38636
38636
|
y: a
|
|
38637
38637
|
};
|
|
38638
38638
|
}
|
|
38639
|
-
var
|
|
38639
|
+
var Z4e = /* @__PURE__ */ is(0);
|
|
38640
38640
|
function WK(e) {
|
|
38641
38641
|
const t = So(e);
|
|
38642
|
-
return !TR() || !t.visualViewport ?
|
|
38642
|
+
return !TR() || !t.visualViewport ? Z4e : {
|
|
38643
38643
|
x: t.visualViewport.offsetLeft,
|
|
38644
38644
|
y: t.visualViewport.offsetTop
|
|
38645
38645
|
};
|
|
38646
38646
|
}
|
|
38647
|
-
function
|
|
38647
|
+
function eBe(e, t, n) {
|
|
38648
38648
|
return t === void 0 && (t = !1), !n || t && n !== So(e) ? !1 : t;
|
|
38649
38649
|
}
|
|
38650
38650
|
function Fc(e, t, n, r) {
|
|
@@ -38652,7 +38652,7 @@ function Fc(e, t, n, r) {
|
|
|
38652
38652
|
const o = e.getBoundingClientRect(), i = AR(e);
|
|
38653
38653
|
let s = is(1);
|
|
38654
38654
|
t && (r ? Si(r) && (s = fd(r)) : s = fd(e));
|
|
38655
|
-
const a =
|
|
38655
|
+
const a = eBe(i, n, r) ? WK(i) : is(0);
|
|
38656
38656
|
let l = (o.left + a.x) / s.x, c = (o.top + a.y) / s.y, u = o.width / s.x, d = o.height / s.y;
|
|
38657
38657
|
if (i) {
|
|
38658
38658
|
const h = So(i), f = r && Si(r) ? So(r) : r;
|
|
@@ -38680,7 +38680,7 @@ function UK(e, t) {
|
|
|
38680
38680
|
y: n.top + t.scrollTop
|
|
38681
38681
|
};
|
|
38682
38682
|
}
|
|
38683
|
-
function
|
|
38683
|
+
function tBe(e) {
|
|
38684
38684
|
let { elements: t, rect: n, offsetParent: r, strategy: o } = e;
|
|
38685
38685
|
const i = o === "fixed", s = ws(r), a = t ? Hx(t.floating) : !1;
|
|
38686
38686
|
if (r === s || a && i) return n;
|
|
@@ -38701,10 +38701,10 @@ function t4e(e) {
|
|
|
38701
38701
|
y: n.y * c.y - l.scrollTop * c.y + u.y + h.y
|
|
38702
38702
|
};
|
|
38703
38703
|
}
|
|
38704
|
-
function
|
|
38704
|
+
function nBe(e) {
|
|
38705
38705
|
return Array.from(e.getClientRects());
|
|
38706
38706
|
}
|
|
38707
|
-
function
|
|
38707
|
+
function rBe(e) {
|
|
38708
38708
|
const t = ws(e), n = $x(e), r = e.ownerDocument.body, o = hd(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = hd(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
38709
38709
|
let s = -n.scrollLeft + zx(e);
|
|
38710
38710
|
const a = -n.scrollTop;
|
|
@@ -38716,7 +38716,7 @@ function r4e(e) {
|
|
|
38716
38716
|
};
|
|
38717
38717
|
}
|
|
38718
38718
|
var kF = 25;
|
|
38719
|
-
function
|
|
38719
|
+
function oBe(e, t) {
|
|
38720
38720
|
const n = So(e), r = ws(e), o = n.visualViewport;
|
|
38721
38721
|
let i = r.clientWidth, s = r.clientHeight, a = 0, l = 0;
|
|
38722
38722
|
if (o) {
|
|
@@ -38736,7 +38736,7 @@ function o4e(e, t) {
|
|
|
38736
38736
|
y: l
|
|
38737
38737
|
};
|
|
38738
38738
|
}
|
|
38739
|
-
function
|
|
38739
|
+
function iBe(e, t) {
|
|
38740
38740
|
const n = Fc(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, i = xa(e) ? fd(e) : is(1);
|
|
38741
38741
|
return {
|
|
38742
38742
|
width: e.clientWidth * i.x,
|
|
@@ -38747,9 +38747,9 @@ function i4e(e, t) {
|
|
|
38747
38747
|
}
|
|
38748
38748
|
function EF(e, t, n) {
|
|
38749
38749
|
let r;
|
|
38750
|
-
if (t === "viewport") r =
|
|
38751
|
-
else if (t === "document") r =
|
|
38752
|
-
else if (Si(t)) r =
|
|
38750
|
+
if (t === "viewport") r = oBe(e, n);
|
|
38751
|
+
else if (t === "document") r = rBe(ws(e));
|
|
38752
|
+
else if (Si(t)) r = iBe(t, n);
|
|
38753
38753
|
else {
|
|
38754
38754
|
const o = WK(e);
|
|
38755
38755
|
r = {
|
|
@@ -38765,7 +38765,7 @@ function jK(e, t) {
|
|
|
38765
38765
|
const n = ol(e);
|
|
38766
38766
|
return n === t || !Si(n) || Fd(n) ? !1 : Ti(n).position === "fixed" || jK(n, t);
|
|
38767
38767
|
}
|
|
38768
|
-
function
|
|
38768
|
+
function sBe(e, t) {
|
|
38769
38769
|
const n = t.get(e);
|
|
38770
38770
|
if (n) return n;
|
|
38771
38771
|
let r = gm(e, [], !1).filter((a) => Si(a) && wh(a) !== "body"), o = null;
|
|
@@ -38777,9 +38777,9 @@ function s4e(e, t) {
|
|
|
38777
38777
|
}
|
|
38778
38778
|
return t.set(e, r), r;
|
|
38779
38779
|
}
|
|
38780
|
-
function
|
|
38780
|
+
function aBe(e) {
|
|
38781
38781
|
let { element: t, boundary: n, rootBoundary: r, strategy: o } = e;
|
|
38782
|
-
const i = [...n === "clippingAncestors" ? Hx(t) ? [] :
|
|
38782
|
+
const i = [...n === "clippingAncestors" ? Hx(t) ? [] : sBe(t, this._c) : [].concat(n), r], s = EF(t, i[0], o);
|
|
38783
38783
|
let a = s.top, l = s.right, c = s.bottom, u = s.left;
|
|
38784
38784
|
for (let d = 1; d < i.length; d++) {
|
|
38785
38785
|
const h = EF(t, i[d], o);
|
|
@@ -38792,14 +38792,14 @@ function a4e(e) {
|
|
|
38792
38792
|
y: a
|
|
38793
38793
|
};
|
|
38794
38794
|
}
|
|
38795
|
-
function
|
|
38795
|
+
function lBe(e) {
|
|
38796
38796
|
const { width: t, height: n } = GK(e);
|
|
38797
38797
|
return {
|
|
38798
38798
|
width: t,
|
|
38799
38799
|
height: n
|
|
38800
38800
|
};
|
|
38801
38801
|
}
|
|
38802
|
-
function
|
|
38802
|
+
function cBe(e, t, n) {
|
|
38803
38803
|
const r = xa(t), o = ws(t), i = n === "fixed", s = Fc(e, !0, i, t);
|
|
38804
38804
|
let a = {
|
|
38805
38805
|
scrollLeft: 0,
|
|
@@ -38844,13 +38844,13 @@ function YK(e, t) {
|
|
|
38844
38844
|
return n;
|
|
38845
38845
|
}
|
|
38846
38846
|
let r = MF(e, t);
|
|
38847
|
-
for (; r &&
|
|
38848
|
-
return r && Fd(r) && hT(r) && !SR(r) ? n : r ||
|
|
38847
|
+
for (; r && q4e(r) && hT(r); ) r = MF(r, t);
|
|
38848
|
+
return r && Fd(r) && hT(r) && !SR(r) ? n : r || Q4e(e) || n;
|
|
38849
38849
|
}
|
|
38850
|
-
var
|
|
38850
|
+
var uBe = async function(e) {
|
|
38851
38851
|
const t = this.getOffsetParent || YK, n = this.getDimensions, r = await n(e.floating);
|
|
38852
38852
|
return {
|
|
38853
|
-
reference:
|
|
38853
|
+
reference: cBe(e.reference, await t(e.floating), e.strategy),
|
|
38854
38854
|
floating: {
|
|
38855
38855
|
x: 0,
|
|
38856
38856
|
y: 0,
|
|
@@ -38859,25 +38859,25 @@ var u4e = async function(e) {
|
|
|
38859
38859
|
}
|
|
38860
38860
|
};
|
|
38861
38861
|
};
|
|
38862
|
-
function
|
|
38862
|
+
function dBe(e) {
|
|
38863
38863
|
return Ti(e).direction === "rtl";
|
|
38864
38864
|
}
|
|
38865
38865
|
var KK = {
|
|
38866
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
38866
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: tBe,
|
|
38867
38867
|
getDocumentElement: ws,
|
|
38868
|
-
getClippingRect:
|
|
38868
|
+
getClippingRect: aBe,
|
|
38869
38869
|
getOffsetParent: YK,
|
|
38870
|
-
getElementRects:
|
|
38871
|
-
getClientRects:
|
|
38872
|
-
getDimensions:
|
|
38870
|
+
getElementRects: uBe,
|
|
38871
|
+
getClientRects: nBe,
|
|
38872
|
+
getDimensions: lBe,
|
|
38873
38873
|
getScale: fd,
|
|
38874
38874
|
isElement: Si,
|
|
38875
|
-
isRTL:
|
|
38875
|
+
isRTL: dBe
|
|
38876
38876
|
};
|
|
38877
38877
|
function qK(e, t) {
|
|
38878
38878
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
38879
38879
|
}
|
|
38880
|
-
function
|
|
38880
|
+
function hBe(e, t) {
|
|
38881
38881
|
let n = null, r;
|
|
38882
38882
|
const o = ws(e);
|
|
38883
38883
|
function i() {
|
|
@@ -38921,7 +38921,7 @@ function uk(e, t, n, r) {
|
|
|
38921
38921
|
u.forEach((y) => {
|
|
38922
38922
|
o && y.addEventListener("scroll", n, { passive: !0 }), i && y.addEventListener("resize", n);
|
|
38923
38923
|
});
|
|
38924
|
-
const d = c && a ?
|
|
38924
|
+
const d = c && a ? hBe(c, n) : null;
|
|
38925
38925
|
let h = -1, f = null;
|
|
38926
38926
|
s && (f = new ResizeObserver((y) => {
|
|
38927
38927
|
let [b] = y;
|
|
@@ -38943,7 +38943,7 @@ function uk(e, t, n, r) {
|
|
|
38943
38943
|
}), d?.(), (y = f) == null || y.disconnect(), f = null, l && cancelAnimationFrame(p);
|
|
38944
38944
|
};
|
|
38945
38945
|
}
|
|
38946
|
-
var
|
|
38946
|
+
var fBe = U4e, pBe = j4e, mBe = z4e, gBe = K4e, vBe = G4e, yBe = Y4e, bBe = (e, t, n) => {
|
|
38947
38947
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
38948
38948
|
platform: KK,
|
|
38949
38949
|
...n
|
|
@@ -38951,7 +38951,7 @@ var f4e = UBe, p4e = jBe, m4e = zBe, g4e = KBe, v4e = GBe, y4e = YBe, b4e = (e,
|
|
|
38951
38951
|
...o.platform,
|
|
38952
38952
|
_c: r
|
|
38953
38953
|
};
|
|
38954
|
-
return $
|
|
38954
|
+
return $4e(e, t, {
|
|
38955
38955
|
...o,
|
|
38956
38956
|
platform: i
|
|
38957
38957
|
});
|
|
@@ -39014,7 +39014,7 @@ function Gx(e) {
|
|
|
39014
39014
|
strategy: n,
|
|
39015
39015
|
middleware: h
|
|
39016
39016
|
};
|
|
39017
|
-
k.current && (N.platform = k.current),
|
|
39017
|
+
k.current && (N.platform = k.current), bBe(T.current, M.current, N).then((F) => {
|
|
39018
39018
|
const V = {
|
|
39019
39019
|
...F,
|
|
39020
39020
|
isPositioned: R.current !== !1
|
|
@@ -39098,38 +39098,38 @@ function Gx(e) {
|
|
|
39098
39098
|
]);
|
|
39099
39099
|
}
|
|
39100
39100
|
var vm = (e, t) => {
|
|
39101
|
-
const n =
|
|
39101
|
+
const n = fBe(e);
|
|
39102
39102
|
return {
|
|
39103
39103
|
name: n.name,
|
|
39104
39104
|
fn: n.fn,
|
|
39105
39105
|
options: [e, t]
|
|
39106
39106
|
};
|
|
39107
39107
|
}, ym = (e, t) => {
|
|
39108
|
-
const n =
|
|
39108
|
+
const n = pBe(e);
|
|
39109
39109
|
return {
|
|
39110
39110
|
name: n.name,
|
|
39111
39111
|
fn: n.fn,
|
|
39112
39112
|
options: [e, t]
|
|
39113
39113
|
};
|
|
39114
|
-
},
|
|
39115
|
-
fn:
|
|
39114
|
+
}, xBe = (e, t) => ({
|
|
39115
|
+
fn: yBe(e).fn,
|
|
39116
39116
|
options: [e, t]
|
|
39117
39117
|
}), bm = (e, t) => {
|
|
39118
|
-
const n =
|
|
39118
|
+
const n = mBe(e);
|
|
39119
39119
|
return {
|
|
39120
39120
|
name: n.name,
|
|
39121
39121
|
fn: n.fn,
|
|
39122
39122
|
options: [e, t]
|
|
39123
39123
|
};
|
|
39124
|
-
},
|
|
39125
|
-
const n =
|
|
39124
|
+
}, wBe = (e, t) => {
|
|
39125
|
+
const n = gBe(e);
|
|
39126
39126
|
return {
|
|
39127
39127
|
name: n.name,
|
|
39128
39128
|
fn: n.fn,
|
|
39129
39129
|
options: [e, t]
|
|
39130
39130
|
};
|
|
39131
|
-
},
|
|
39132
|
-
const n =
|
|
39131
|
+
}, SBe = (e, t) => {
|
|
39132
|
+
const n = vBe(e);
|
|
39133
39133
|
return {
|
|
39134
39134
|
name: n.name,
|
|
39135
39135
|
fn: n.fn,
|
|
@@ -39140,7 +39140,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), CR = (e,
|
|
|
39140
39140
|
const n = xA(e);
|
|
39141
39141
|
let r = t.get(n);
|
|
39142
39142
|
return r === void 0 && (r = V8(e), t.set(n, r)), r;
|
|
39143
|
-
}, Sh = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`,
|
|
39143
|
+
}, Sh = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`, TBe = (e) => e === "none" ? "none" : `${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color}`, cu = (e) => {
|
|
39144
39144
|
if (e !== "none")
|
|
39145
39145
|
return `drop-shadow(${e.offsetX}px ${e.offsetY}px ${e.blur}px ${e.color})`;
|
|
39146
39146
|
}, Pg = St(null), RF = [
|
|
@@ -39158,7 +39158,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), CR = (e,
|
|
|
39158
39158
|
const i = /* @__PURE__ */ new Map(), s = (c, u) => {
|
|
39159
39159
|
switch (u) {
|
|
39160
39160
|
case "shadow":
|
|
39161
|
-
return
|
|
39161
|
+
return EBe(t.get("shadow", c), r);
|
|
39162
39162
|
case "blendMode":
|
|
39163
39163
|
return t.get("blendMode", c) === "normal";
|
|
39164
39164
|
case "alpha":
|
|
@@ -39170,22 +39170,22 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), CR = (e,
|
|
|
39170
39170
|
return d === void 0 || CR(d, i);
|
|
39171
39171
|
}
|
|
39172
39172
|
}
|
|
39173
|
-
}, a =
|
|
39173
|
+
}, a = CBe(e.styles), l = RF.filter((c) => a.has(c) || kBe(e, c));
|
|
39174
39174
|
if (!RF.filter((c) => !l.includes(c)).some((c) => !s(n, c)))
|
|
39175
39175
|
return l.length === 0 || e.data.findFirst((c) => l.some((u) => !s(c, u))) === null ? o : void 0;
|
|
39176
|
-
}, [e, t]),
|
|
39176
|
+
}, [e, t]), ABe = (e, t) => {
|
|
39177
39177
|
const n = Ve(Pg), r = n?.layerId === e.id && n.paintsShadow;
|
|
39178
|
-
return q(() => r ?
|
|
39179
|
-
},
|
|
39178
|
+
return q(() => r ? MBe(t) : t, [r, t]);
|
|
39179
|
+
}, CBe = (e) => {
|
|
39180
39180
|
const t = /* @__PURE__ */ new Set();
|
|
39181
39181
|
for (const n of [...e.defaults, ...e.overrides])
|
|
39182
39182
|
if (!(n.matches === void 0 || n.state !== void 0 || n.part !== void 0))
|
|
39183
39183
|
for (const r of Object.keys(n.declarations)) t.add(r);
|
|
39184
39184
|
return t;
|
|
39185
|
-
},
|
|
39185
|
+
}, kBe = (e, t) => {
|
|
39186
39186
|
const n = e.styles.observation.aesthetics[t];
|
|
39187
39187
|
return n === void 0 || !Object.hasOwn(ta, n) ? !1 : e.data.hasVariable(ta[n]);
|
|
39188
|
-
},
|
|
39188
|
+
}, EBe = (e, t) => e === "none" || t === "none" ? e === t : e.offsetX === t.offsetX && e.offsetY === t.offsetY && e.blur === t.blur && e.color === t.color, MBe = (e) => {
|
|
39189
39189
|
const { get: t, resolve: n } = e;
|
|
39190
39190
|
return {
|
|
39191
39191
|
...e,
|
|
@@ -39195,7 +39195,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), CR = (e,
|
|
|
39195
39195
|
return s === void 0 && (a.shadow = "none"), a;
|
|
39196
39196
|
}
|
|
39197
39197
|
};
|
|
39198
|
-
}, QK = () => Xe().styleResolver, Xt = (e) =>
|
|
39198
|
+
}, QK = () => Xe().styleResolver, Xt = (e) => ABe(e, wa()(e)), We = () => {
|
|
39199
39199
|
const e = QK(), t = Te((n) => n.styles);
|
|
39200
39200
|
return e.readers({ styles: t });
|
|
39201
39201
|
}, ZK = (e) => {
|
|
@@ -39204,14 +39204,14 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), CR = (e,
|
|
|
39204
39204
|
}, eq = (e) => {
|
|
39205
39205
|
const t = wa(), n = Te((r) => r.layers).find((r) => r.id === e.layerId);
|
|
39206
39206
|
return n === void 0 ? void 0 : dl({ geom: t }, n, e.observation);
|
|
39207
|
-
},
|
|
39207
|
+
}, PBe = () => {
|
|
39208
39208
|
const e = wa(), t = Te((n) => n.layers);
|
|
39209
39209
|
return q(() => (n) => {
|
|
39210
39210
|
const r = Xz(t, n);
|
|
39211
39211
|
if (r !== null)
|
|
39212
39212
|
return dl({ geom: e }, r.layer, r.observation);
|
|
39213
39213
|
}, [t, e]);
|
|
39214
|
-
},
|
|
39214
|
+
}, RBe = (e) => {
|
|
39215
39215
|
const t = wa(), n = Te((r) => r.layers);
|
|
39216
39216
|
return q(() => (r) => {
|
|
39217
39217
|
const o = Xz(n, r);
|
|
@@ -39235,7 +39235,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), CR = (e,
|
|
|
39235
39235
|
}, wa = () => {
|
|
39236
39236
|
const e = QK();
|
|
39237
39237
|
return Te((t) => e.readers(t).geom);
|
|
39238
|
-
},
|
|
39238
|
+
}, IBe = {
|
|
39239
39239
|
centerX: 0,
|
|
39240
39240
|
centerY: 0,
|
|
39241
39241
|
radius: 1
|
|
@@ -39252,7 +39252,7 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), CR = (e,
|
|
|
39252
39252
|
x: n,
|
|
39253
39253
|
y: n
|
|
39254
39254
|
};
|
|
39255
|
-
}, ei = (e, t, n =
|
|
39255
|
+
}, ei = (e, t, n = IBe) => {
|
|
39256
39256
|
const r = Xi(e, t);
|
|
39257
39257
|
return {
|
|
39258
39258
|
x: n.centerX + r.x * n.radius,
|
|
@@ -39271,15 +39271,15 @@ var Mg = (e, t, n) => e.get("alpha", t, n) * e.get("fillAlpha", t, n), CR = (e,
|
|
|
39271
39271
|
var tq = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [], J1t = (e, t) => ({
|
|
39272
39272
|
name: e,
|
|
39273
39273
|
definition: t
|
|
39274
|
-
}),
|
|
39275
|
-
const n = q(() =>
|
|
39274
|
+
}), LBe = (e, t) => [...e ?? [], ...t ?? []], OBe = ({ glyphs: e, children: t }) => {
|
|
39275
|
+
const n = q(() => zBe(e), [e]);
|
|
39276
39276
|
return /* @__PURE__ */ m(tq.Provider, {
|
|
39277
39277
|
value: n,
|
|
39278
39278
|
children: t
|
|
39279
39279
|
});
|
|
39280
|
-
}, Wx = () => Ve(tq),
|
|
39281
|
-
const n =
|
|
39282
|
-
return n !== void 0 ? n :
|
|
39280
|
+
}, Wx = () => Ve(tq), _Be = (e, t) => {
|
|
39281
|
+
const n = VBe(e, t);
|
|
39282
|
+
return n !== void 0 ? n : HBe(e, t, BBe(e, t));
|
|
39283
39283
|
}, nq = ({ symbol: e, glyphs: t, size: n, fill: r, fillOpacity: o, stroke: i, strokeOpacity: s, strokeWidth: a }) => {
|
|
39284
39284
|
if (x0(e)) return /* @__PURE__ */ m(IF, {
|
|
39285
39285
|
image: e.image,
|
|
@@ -39297,7 +39297,7 @@ var tq = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39297
39297
|
strokeWidth: a
|
|
39298
39298
|
}) : typeof l == "function" ? /* @__PURE__ */ m("g", {
|
|
39299
39299
|
color: r,
|
|
39300
|
-
children: /* @__PURE__ */ m(
|
|
39300
|
+
children: /* @__PURE__ */ m(GBe, {
|
|
39301
39301
|
glyph: l,
|
|
39302
39302
|
paint: {
|
|
39303
39303
|
size: n,
|
|
@@ -39308,7 +39308,7 @@ var tq = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39308
39308
|
strokeWidth: a
|
|
39309
39309
|
}
|
|
39310
39310
|
})
|
|
39311
|
-
}) : "d" in l ? /* @__PURE__ */ m(
|
|
39311
|
+
}) : "d" in l ? /* @__PURE__ */ m(WBe, {
|
|
39312
39312
|
glyph: l,
|
|
39313
39313
|
size: n,
|
|
39314
39314
|
fill: r,
|
|
@@ -39322,32 +39322,32 @@ var tq = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39322
39322
|
fill: r,
|
|
39323
39323
|
fillOpacity: o
|
|
39324
39324
|
});
|
|
39325
|
-
},
|
|
39325
|
+
}, DBe = (e) => {
|
|
39326
39326
|
const t = atob(e), n = Uint8Array.from(t, (r) => r.charCodeAt(0));
|
|
39327
39327
|
return new TextDecoder().decode(n);
|
|
39328
|
-
},
|
|
39328
|
+
}, NBe = (e) => {
|
|
39329
39329
|
try {
|
|
39330
|
-
return
|
|
39330
|
+
return DBe(e);
|
|
39331
39331
|
} catch {
|
|
39332
39332
|
return;
|
|
39333
39333
|
}
|
|
39334
|
-
},
|
|
39334
|
+
}, FBe = (e) => {
|
|
39335
39335
|
try {
|
|
39336
39336
|
return decodeURIComponent(e);
|
|
39337
39337
|
} catch {
|
|
39338
39338
|
return e;
|
|
39339
39339
|
}
|
|
39340
|
-
},
|
|
39340
|
+
}, BBe = (e, t) => {
|
|
39341
39341
|
if (!e.startsWith("data:image/svg+xml")) return e;
|
|
39342
39342
|
const n = e.indexOf(",");
|
|
39343
39343
|
if (n < 0) return e;
|
|
39344
|
-
const r = e.slice(0, n), o = e.slice(n + 1), i = r.includes(";base64") ?
|
|
39345
|
-
return i === void 0 || !i.includes("currentColor") ? e : `data:image/svg+xml;charset=utf-8,${encodeURIComponent(i.replaceAll("currentColor", $
|
|
39346
|
-
},
|
|
39344
|
+
const r = e.slice(0, n), o = e.slice(n + 1), i = r.includes(";base64") ? NBe(o) : FBe(o);
|
|
39345
|
+
return i === void 0 || !i.includes("currentColor") ? e : `data:image/svg+xml;charset=utf-8,${encodeURIComponent(i.replaceAll("currentColor", $Be(t)))}`;
|
|
39346
|
+
}, VBe = (e, t) => {
|
|
39347
39347
|
const n = Cf.get(e)?.get(t);
|
|
39348
39348
|
if (n !== void 0)
|
|
39349
39349
|
return rq(e, t), n;
|
|
39350
|
-
},
|
|
39350
|
+
}, HBe = (e, t, n) => {
|
|
39351
39351
|
let r = Cf.get(e);
|
|
39352
39352
|
for (r === void 0 && (r = /* @__PURE__ */ new Map(), Cf.set(e, r)), r.set(t, n), rq(e, t); sp.length > 32; ) {
|
|
39353
39353
|
const o = sp.shift();
|
|
@@ -39362,21 +39362,21 @@ var tq = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39362
39362
|
fill: t
|
|
39363
39363
|
} : sp.splice(n, 1)[0];
|
|
39364
39364
|
r !== void 0 && sp.push(r);
|
|
39365
|
-
}, $
|
|
39365
|
+
}, $Be = (e) => {
|
|
39366
39366
|
const t = e.trim();
|
|
39367
39367
|
return t.length === 0 || t === "currentColor" || t === "inherit" || t.startsWith("var(") || t.startsWith("url(") ? "#000000" : t;
|
|
39368
|
-
},
|
|
39368
|
+
}, zBe = (e) => {
|
|
39369
39369
|
const t = /* @__PURE__ */ new Map();
|
|
39370
39370
|
for (const n of e) t.set(n.name, n.definition);
|
|
39371
39371
|
return t;
|
|
39372
|
-
},
|
|
39373
|
-
href:
|
|
39372
|
+
}, GBe = ({ glyph: e, paint: t }) => /* @__PURE__ */ m(e, { ...t }), IF = ({ image: e, size: t, fill: n, fillOpacity: r }) => /* @__PURE__ */ m("image", {
|
|
39373
|
+
href: _Be(e, n),
|
|
39374
39374
|
x: -t / 2,
|
|
39375
39375
|
y: -t / 2,
|
|
39376
39376
|
width: t,
|
|
39377
39377
|
height: t,
|
|
39378
39378
|
opacity: r
|
|
39379
|
-
}),
|
|
39379
|
+
}), WBe = ({ glyph: e, size: t, fill: n, fillOpacity: r, stroke: o, strokeOpacity: i, strokeWidth: s }) => {
|
|
39380
39380
|
const [a, l, c, u] = e.viewBox, d = Math.max(c, u), h = d === 0 ? 0 : t / d;
|
|
39381
39381
|
return /* @__PURE__ */ m("g", {
|
|
39382
39382
|
transform: `translate(${-(a + c / 2) * h} ${-(l + u / 2) * h}) scale(${h})`,
|
|
@@ -39511,10 +39511,10 @@ var tq = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39511
39511
|
transform: `translate(${t}, ${n})`
|
|
39512
39512
|
}
|
|
39513
39513
|
});
|
|
39514
|
-
},
|
|
39514
|
+
}, UBe = 2, jBe = 0.7, vl = ({ hit: e, project: t = Bc }) => {
|
|
39515
39515
|
const n = ZK(e.layerId), r = eq(e) ?? ig;
|
|
39516
39516
|
if (!e.anchored) return null;
|
|
39517
|
-
const o = (t2(e.observation) ?? 1) *
|
|
39517
|
+
const o = (t2(e.observation) ?? 1) * jBe, i = n?.get("size", e.observation) ?? 8, s = n?.get("stroke", e.observation, "hovered") ?? "#ffffff", a = t(e.x, e.y);
|
|
39518
39518
|
return /* @__PURE__ */ m(Ig, {
|
|
39519
39519
|
symbol: n?.get("symbol", e.observation) ?? "circle",
|
|
39520
39520
|
cx: _e(a.x),
|
|
@@ -39523,14 +39523,14 @@ var tq = St(/* @__PURE__ */ new Map()), Cf = /* @__PURE__ */ new Map(), sp = [],
|
|
|
39523
39523
|
fill: r,
|
|
39524
39524
|
opacity: o,
|
|
39525
39525
|
stroke: s,
|
|
39526
|
-
strokeWidth:
|
|
39526
|
+
strokeWidth: UBe,
|
|
39527
39527
|
"data-testid": "companion-point"
|
|
39528
39528
|
});
|
|
39529
39529
|
};
|
|
39530
|
-
var LF = 10 ** 2, un = (e) => Math.round(e * LF) / LF,
|
|
39530
|
+
var LF = 10 ** 2, un = (e) => Math.round(e * LF) / LF, YBe = 32, KBe = (e, t) => {
|
|
39531
39531
|
const n = un(t), r = un(2 * t), o = `a${n},${n} 0 1,0 ${r},0a${n},${n} 0 1,0 ${-r},0Z`;
|
|
39532
39532
|
return e.map(({ x: i, y: s }) => `M${un(i - t)},${un(s)}${o}`).join("");
|
|
39533
|
-
},
|
|
39533
|
+
}, qBe = (e, t, n) => {
|
|
39534
39534
|
const r = n.axis === "x", o = r ? e.y : e.x, i = r ? e.x : e.y, s = r ? e.height : e.width, a = r ? e.width : e.height, [l, c, u, d] = r ? [
|
|
39535
39535
|
t[0],
|
|
39536
39536
|
t[3],
|
|
@@ -39544,7 +39544,7 @@ var LF = 10 ** 2, un = (e) => Math.round(e * LF) / LF, Y4e = 32, K4e = (e, t) =>
|
|
|
39544
39544
|
}, b = (M, w, P) => `A${un(M)},${un(M)} 0 0 ${v} ${y(w, P)}`, x = (M, w) => {
|
|
39545
39545
|
const P = i + M, D = g - w, k = (_, I) => I > 0 ? _ - Math.sqrt(Math.max(0, _ * _ - I * I)) : 0, R = () => {
|
|
39546
39546
|
let [_, I] = [D, P];
|
|
39547
|
-
for (let O = 0; O <
|
|
39547
|
+
for (let O = 0; O < YBe; O++) {
|
|
39548
39548
|
const N = (_ + I) / 2;
|
|
39549
39549
|
k(M, P - N) > k(w, N - D) ? _ = N : I = N;
|
|
39550
39550
|
}
|
|
@@ -39596,7 +39596,7 @@ var LF = 10 ** 2, un = (e) => Math.round(e * LF) / LF, Y4e = 32, K4e = (e, t) =>
|
|
|
39596
39596
|
}, ab = (e, t) => ({
|
|
39597
39597
|
x: e.x * t.width,
|
|
39598
39598
|
y: e.y * t.height
|
|
39599
|
-
}),
|
|
39599
|
+
}), XBe = (e) => {
|
|
39600
39600
|
const t = /* @__PURE__ */ new Map();
|
|
39601
39601
|
for (const { center: n, size: r } of e) {
|
|
39602
39602
|
const o = t.get(r) ?? [];
|
|
@@ -39607,7 +39607,7 @@ var LF = 10 ** 2, un = (e) => Math.round(e * LF) / LF, Y4e = 32, K4e = (e, t) =>
|
|
|
39607
39607
|
centers: r,
|
|
39608
39608
|
size: n
|
|
39609
39609
|
}));
|
|
39610
|
-
}, iq = (e, t, { origin: n, scaleX: r, scaleY: o }) => `${un(n.x + e * r)},${un(n.y + t * o)}`,
|
|
39610
|
+
}, iq = (e, t, { origin: n, scaleX: r, scaleY: o }) => `${un(n.x + e * r)},${un(n.y + t * o)}`, JBe = ({ layer: e, coordSystem: t, panelRect: n, animateTransitions: r }) => {
|
|
39611
39611
|
const { areaGenerator: o } = X2(t, e.params), i = {
|
|
39612
39612
|
origin: {
|
|
39613
39613
|
x: 0,
|
|
@@ -39622,7 +39622,7 @@ var LF = 10 ** 2, un = (e) => Math.round(e * LF) / LF, Y4e = 32, K4e = (e, t) =>
|
|
|
39622
39622
|
const u = J2([...c], e.params.missingValues), [d] = u;
|
|
39623
39623
|
if (d !== void 0) {
|
|
39624
39624
|
if (u.length === 1) {
|
|
39625
|
-
const h =
|
|
39625
|
+
const h = QBe(d, t, n);
|
|
39626
39626
|
h !== null && a.push(h);
|
|
39627
39627
|
return;
|
|
39628
39628
|
}
|
|
@@ -39639,14 +39639,14 @@ var LF = 10 ** 2, un = (e) => Math.round(e * LF) / LF, Y4e = 32, K4e = (e, t) =>
|
|
|
39639
39639
|
centers: a,
|
|
39640
39640
|
size: 8
|
|
39641
39641
|
}), l;
|
|
39642
|
-
},
|
|
39642
|
+
}, QBe = (e, t, n) => {
|
|
39643
39643
|
if (t.mainAxis === "y") {
|
|
39644
39644
|
const i = Gt(e), s = Zd(e);
|
|
39645
39645
|
return i === null || s === null ? null : ab(Bc(s, i), n);
|
|
39646
39646
|
}
|
|
39647
39647
|
const r = Nt(e), o = ma(e);
|
|
39648
39648
|
return r === null || o === null ? null : ab(Bc(r, o), n);
|
|
39649
|
-
},
|
|
39649
|
+
}, ZBe = 1.5, sq = (e, t) => aq(e, t) ? Math.max(t, ZBe) : t, yl = (e, t, n) => {
|
|
39650
39650
|
const r = sq(e, t);
|
|
39651
39651
|
return {
|
|
39652
39652
|
strokeWidth: r,
|
|
@@ -40299,7 +40299,7 @@ var xm = (e, t, n) => {
|
|
|
40299
40299
|
companions: [...r, ...o]
|
|
40300
40300
|
}),
|
|
40301
40301
|
renderHoverCompanions: ({ related: e }) => /* @__PURE__ */ m(He, { children: e.map((t) => /* @__PURE__ */ m(vl, { hit: t }, `companion-${t.layerId}-${t.pointIndex}`)) }),
|
|
40302
|
-
getEditOutlineShapes:
|
|
40302
|
+
getEditOutlineShapes: JBe,
|
|
40303
40303
|
getOverlayAnchor: ({ observation: e, coordSystem: t }) => {
|
|
40304
40304
|
if (t.mainAxis === "x") {
|
|
40305
40305
|
const o = Nt(e), i = ma(e);
|
|
@@ -40799,7 +40799,7 @@ var QVe = 9999, ZVe = Xx(T0e), Cq = (e) => e === "full", kq = (e, t, n) => {
|
|
|
40799
40799
|
const h = a.get(q1(s, d));
|
|
40800
40800
|
if (h === void 0) continue;
|
|
40801
40801
|
const f = JM(s, h.bounds, h.cap?.maxWidth, r), p = Mq(s, d, f), g = wm(f, r), v = wm(p, r), y = td(h.corners, g);
|
|
40802
|
-
c += i8e(v, g) && !o8e(y, g) ? kf(g, y) :
|
|
40802
|
+
c += i8e(v, g) && !o8e(y, g) ? kf(g, y) : qBe(g, y, s === "x" ? {
|
|
40803
40803
|
axis: "y",
|
|
40804
40804
|
from: v.y,
|
|
40805
40805
|
to: v.y + v.height
|
|
@@ -41768,7 +41768,7 @@ var QVe = 9999, ZVe = Xx(T0e), Cq = (e) => e === "full", kq = (e, t, n) => {
|
|
|
41768
41768
|
size: n.get("size", i) + n.get("strokeWidth", i)
|
|
41769
41769
|
});
|
|
41770
41770
|
}
|
|
41771
|
-
return
|
|
41771
|
+
return XBe(o);
|
|
41772
41772
|
}, $8e = po(function({ layer: t, animateTransitions: n, intro: r }) {
|
|
41773
41773
|
const o = Xt(t), i = tw(r?.type === "grow" && r.growAxis === "size" ? r : null, n);
|
|
41774
41774
|
return q(() => {
|
|
@@ -42648,7 +42648,7 @@ var j7e = hse((() => {
|
|
|
42648
42648
|
strokeWidth: e.textOutlineWidth * 2,
|
|
42649
42649
|
strokeLinejoin: "round",
|
|
42650
42650
|
paintOrder: "stroke"
|
|
42651
|
-
} : {}, BR = (e) => e.textShadow === void 0 ? {} : { textShadow:
|
|
42651
|
+
} : {}, BR = (e) => e.textShadow === void 0 ? {} : { textShadow: TBe(e.textShadow) }, iw = (e) => {
|
|
42652
42652
|
const t = e.textShadow === void 0 ? void 0 : cu(e.textShadow);
|
|
42653
42653
|
return t === void 0 ? {} : { filter: t };
|
|
42654
42654
|
}, VR = (e) => dX(e) ? {
|
|
@@ -44840,7 +44840,7 @@ var qX = St(null), f$e = ({ panelRect: e, children: t }) => {
|
|
|
44840
44840
|
start: n(e.start),
|
|
44841
44841
|
end: n(e.end)
|
|
44842
44842
|
}) ?? t.stroke, p$e = (e) => {
|
|
44843
|
-
const { formattingLocale: t } = Xe(), n = bl(), { fonts: r } = uu(), o = jt((v) => $t(v, "difference-arrow-endpoint-drag")), i =
|
|
44843
|
+
const { formattingLocale: t } = Xe(), n = bl(), { fonts: r } = uu(), o = jt((v) => $t(v, "difference-arrow-endpoint-drag")), i = PBe(), s = We(), { differenceArrows: a, mainAxis: l, parsingLocale: c } = Te(xn((v) => ({
|
|
44844
44844
|
differenceArrows: v.annotations.differenceArrows,
|
|
44845
44845
|
mainAxis: ya(v.coordSystem),
|
|
44846
44846
|
parsingLocale: v.config.parsingLocale
|
|
@@ -46666,7 +46666,7 @@ var XGe = (e, t, n, r) => t !== "comment" ? n : w2(n, 140, (o) => e.measureText(
|
|
|
46666
46666
|
const { pinnedNumbers: t, comments: n } = Te(xn((p) => ({
|
|
46667
46667
|
pinnedNumbers: p.annotations.pinnedNumbers,
|
|
46668
46668
|
comments: p.annotations.comments
|
|
46669
|
-
}))), r = Te((p) => p.coordSystem), o = _o(), i =
|
|
46669
|
+
}))), r = Te((p) => p.coordSystem), o = _o(), i = RBe(10), s = We(), a = qGe(e), { store: l } = ni(), c = q(() => {
|
|
46670
46670
|
const p = /* @__PURE__ */ new Map();
|
|
46671
46671
|
for (const g of t) p.set(g.id, g.at);
|
|
46672
46672
|
for (const g of n) p.set(g.id, g.at);
|
|
@@ -48349,7 +48349,7 @@ var kUe = [], EUe = ({ graphChrome: e, editable: t, mode: n, style: r, contentRe
|
|
|
48349
48349
|
}, MUe = (e, t) => e ? { backgroundColor: "transparent" } : t === void 0 || t >= 1 ? {} : { backgroundColor: `color-mix(in srgb, ${re.graphBackground} ${t * 100}%, transparent)` }, rxt = (e) => /* @__PURE__ */ m(yR, {
|
|
48350
48350
|
...vR(Ng()),
|
|
48351
48351
|
children: /* @__PURE__ */ m(zJ, { ...e })
|
|
48352
|
-
}), zJ = ({ slots: e, sizing: t = xUe, onResize: n, ...r }) => /* @__PURE__ */ m(
|
|
48352
|
+
}), zJ = ({ slots: e, sizing: t = xUe, onResize: n, ...r }) => /* @__PURE__ */ m(P4e, { children: /* @__PURE__ */ m(h7e, { children: /* @__PURE__ */ m(k7e, {
|
|
48353
48353
|
slots: e,
|
|
48354
48354
|
children: /* @__PURE__ */ m(yUe, {
|
|
48355
48355
|
sizing: t,
|
|
@@ -50848,7 +50848,7 @@ function IYe(e, t = "expected all items to be functions, instead received the fo
|
|
|
50848
50848
|
throw new TypeError(`${t}[${n}]`);
|
|
50849
50849
|
}
|
|
50850
50850
|
}
|
|
50851
|
-
var
|
|
50851
|
+
var e4 = (e) => Array.isArray(e) ? e : [e];
|
|
50852
50852
|
function LYe(e) {
|
|
50853
50853
|
const t = Array.isArray(e[0]) ? e[0] : e;
|
|
50854
50854
|
return IYe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
|
|
@@ -50944,7 +50944,7 @@ var VYe = class {
|
|
|
50944
50944
|
deref() {
|
|
50945
50945
|
return this.value;
|
|
50946
50946
|
}
|
|
50947
|
-
}, HYe = typeof WeakRef < "u" ? WeakRef : VYe, $Ye = 0,
|
|
50947
|
+
}, HYe = typeof WeakRef < "u" ? WeakRef : VYe, $Ye = 0, t4 = 1;
|
|
50948
50948
|
function Vv() {
|
|
50949
50949
|
return {
|
|
50950
50950
|
s: $Ye,
|
|
@@ -50976,12 +50976,12 @@ function GQ(e, t = {}) {
|
|
|
50976
50976
|
}
|
|
50977
50977
|
const c = a;
|
|
50978
50978
|
let u;
|
|
50979
|
-
if (a.s ===
|
|
50979
|
+
if (a.s === t4) u = a.v;
|
|
50980
50980
|
else if (u = e.apply(null, arguments), i++, r) {
|
|
50981
50981
|
const d = o?.deref?.() ?? o;
|
|
50982
50982
|
d != null && r(d, u) && (u = d, i !== 0 && i--), o = typeof u == "object" && u !== null || typeof u == "function" ? new HYe(u) : u;
|
|
50983
50983
|
}
|
|
50984
|
-
return c.s =
|
|
50984
|
+
return c.s = t4, c.v = u, u;
|
|
50985
50985
|
}
|
|
50986
50986
|
return s.clearCache = () => {
|
|
50987
50987
|
n = Vv(), s.resetResultsCount();
|
|
@@ -50999,7 +50999,7 @@ function WQ(e, ...t) {
|
|
|
50999
50999
|
const { memoize: u, memoizeOptions: d = [], argsMemoize: h = GQ, argsMemoizeOptions: f = [], devModeChecks: p = {} } = {
|
|
51000
51000
|
...n,
|
|
51001
51001
|
...l
|
|
51002
|
-
}, g =
|
|
51002
|
+
}, g = e4(d), v = e4(f), y = LYe(o), b = u(function() {
|
|
51003
51003
|
return i++, c.apply(null, arguments);
|
|
51004
51004
|
}, ...g), x = h(function() {
|
|
51005
51005
|
s++;
|
|
@@ -52135,11 +52135,11 @@ function $v(e, t, n) {
|
|
|
52135
52135
|
for (let s = 0; s < t.length; s += 1) {
|
|
52136
52136
|
let a;
|
|
52137
52137
|
const l = t[s]?.[n];
|
|
52138
|
-
typeof l == "function" ? a = e ? l(e) : null : a = l, a &&
|
|
52138
|
+
typeof l == "function" ? a = e ? l(e) : null : a = l, a && n4(i, a, o, r);
|
|
52139
52139
|
}
|
|
52140
|
-
return
|
|
52140
|
+
return n4(i, e, o, r), i;
|
|
52141
52141
|
}
|
|
52142
|
-
function
|
|
52142
|
+
function n4(e, t, n, r) {
|
|
52143
52143
|
for (const o in t) {
|
|
52144
52144
|
const i = t[o];
|
|
52145
52145
|
n && (o === "active" || o === "selected") || (o.startsWith("on") ? (r.has(o) || r.set(o, []), typeof i == "function" && (r.get(o)?.push(i), e[o] = (...s) => r.get(o)?.map((a) => a(...s)).find((a) => a !== void 0))) : e[o] = i);
|
|
@@ -52555,7 +52555,7 @@ function nZ(e, t) {
|
|
|
52555
52555
|
A
|
|
52556
52556
|
]);
|
|
52557
52557
|
}
|
|
52558
|
-
var
|
|
52558
|
+
var r4 = 0.1, gKe = r4 * r4, Wt = 0.5;
|
|
52559
52559
|
function Gv(e, t, n, r, o, i) {
|
|
52560
52560
|
return r >= t != i >= t && e <= (o - n) * (t - r) / (i - r) + n;
|
|
52561
52561
|
}
|
|
@@ -52786,7 +52786,7 @@ function $I(e) {
|
|
|
52786
52786
|
i
|
|
52787
52787
|
]);
|
|
52788
52788
|
}
|
|
52789
|
-
function
|
|
52789
|
+
function o4({ props: e }) {
|
|
52790
52790
|
const { children: t, open: n, defaultOpen: r = !1, onOpenChange: o, onOpenChangeComplete: i, modal: s = !1, handle: a, triggerId: l, defaultTriggerId: c = null } = e, u = xKe.useStore(a?.store, {
|
|
52791
52791
|
modal: s,
|
|
52792
52792
|
open: r,
|
|
@@ -52848,7 +52848,7 @@ function oB({ props: e }) {
|
|
|
52848
52848
|
});
|
|
52849
52849
|
}
|
|
52850
52850
|
function kw(e) {
|
|
52851
|
-
return Nh(!0) ? /* @__PURE__ */ m(
|
|
52851
|
+
return Nh(!0) ? /* @__PURE__ */ m(o4, { props: e }) : /* @__PURE__ */ m(zQ, { children: /* @__PURE__ */ m(o4, { props: e }) });
|
|
52852
52852
|
}
|
|
52853
52853
|
var iZ = /* @__PURE__ */ C.createContext(void 0);
|
|
52854
52854
|
function zI(e = !1) {
|
|
@@ -53106,7 +53106,7 @@ var IKe = (e) => ({
|
|
|
53106
53106
|
name: "hide",
|
|
53107
53107
|
async fn(e) {
|
|
53108
53108
|
const { width: t, height: n, x: r, y: o } = e.rects.reference, i = t === 0 && n === 0 && r === 0 && o === 0;
|
|
53109
|
-
return { data: { referenceHidden: (await
|
|
53109
|
+
return { data: { referenceHidden: (await SBe().fn(e)).data?.referenceHidden || i } };
|
|
53110
53110
|
}
|
|
53111
53111
|
}, e0 = {
|
|
53112
53112
|
sideX: "left",
|
|
@@ -53159,7 +53159,7 @@ function cZ(e, t, n) {
|
|
|
53159
53159
|
left: r ? n ? "inline-end" : "inline-start" : "left"
|
|
53160
53160
|
}[t];
|
|
53161
53161
|
}
|
|
53162
|
-
function
|
|
53162
|
+
function i4(e, t, n) {
|
|
53163
53163
|
const { rects: r, placement: o } = e;
|
|
53164
53164
|
return {
|
|
53165
53165
|
side: cZ(t, ro(o), n),
|
|
@@ -53202,7 +53202,7 @@ function Mw(e) {
|
|
|
53202
53202
|
boundary: a === "clipping-ancestors" ? "clippingAncestors" : a,
|
|
53203
53203
|
padding: O
|
|
53204
53204
|
}, U = C.useRef(null), J = Cn(o), j = Cn(s), Q = [vm((ze) => {
|
|
53205
|
-
const ht =
|
|
53205
|
+
const ht = i4(ze, r, L), wt = typeof J.current == "function" ? J.current(ht) : J.current, Pt = typeof j.current == "function" ? j.current(ht) : j.current;
|
|
53206
53206
|
return {
|
|
53207
53207
|
mainAxis: wt,
|
|
53208
53208
|
crossAxis: Pt,
|
|
@@ -53236,7 +53236,7 @@ function Mw(e) {
|
|
|
53236
53236
|
} : void 0,
|
|
53237
53237
|
mainAxis: w !== "none",
|
|
53238
53238
|
crossAxis: W,
|
|
53239
|
-
limiter: c || v ? void 0 :
|
|
53239
|
+
limiter: c || v ? void 0 : xBe((wt) => {
|
|
53240
53240
|
if (!U.current) return {};
|
|
53241
53241
|
const { width: Pt, height: Ze } = U.current.getBoundingClientRect(), Tt = Yo(ro(wt.placement)), qe = Tt === "y" ? Pt : Ze, we = Tt === "y" ? O.left + O.right : O.top + O.bottom;
|
|
53242
53242
|
return { offset: qe / 2 + we / 2 };
|
|
@@ -53249,7 +53249,7 @@ function Mw(e) {
|
|
|
53249
53249
|
O,
|
|
53250
53250
|
w
|
|
53251
53251
|
]);
|
|
53252
|
-
M === "shift" || w === "shift" || i === "center" ? Q.push(Z, Y) : Q.push(Y, Z), Q.push(
|
|
53252
|
+
M === "shift" || w === "shift" || i === "center" ? Q.push(Z, Y) : Q.push(Y, Z), Q.push(wBe({
|
|
53253
53253
|
...ae,
|
|
53254
53254
|
apply({ elements: { floating: ze }, availableWidth: ht, availableHeight: wt, rects: Pt }) {
|
|
53255
53255
|
const Ze = ze.style;
|
|
@@ -53264,7 +53264,7 @@ function Mw(e) {
|
|
|
53264
53264
|
}), [u]), {
|
|
53265
53265
|
name: "transformOrigin",
|
|
53266
53266
|
fn(ze) {
|
|
53267
|
-
const { elements: ht, middlewareData: wt, placement: Pt, rects: Ze, y: Tt } = ze, qe = ro(Pt), we = Yo(qe), je = U.current, et = wt.arrow?.x || 0, gt = wt.arrow?.y || 0, sn = je?.clientWidth || 0, tt = je?.clientHeight || 0, ct = et + sn / 2, Sn = gt + tt / 2, No = Math.abs(wt.shift?.y || 0), vo = Ze.reference.height / 2, Kn = typeof o == "function" ? o(
|
|
53267
|
+
const { elements: ht, middlewareData: wt, placement: Pt, rects: Ze, y: Tt } = ze, qe = ro(Pt), we = Yo(qe), je = U.current, et = wt.arrow?.x || 0, gt = wt.arrow?.y || 0, sn = je?.clientWidth || 0, tt = je?.clientHeight || 0, ct = et + sn / 2, Sn = gt + tt / 2, No = Math.abs(wt.shift?.y || 0), vo = Ze.reference.height / 2, Kn = typeof o == "function" ? o(i4(ze, r, L)) : o, bu = No > Kn, Yh = {
|
|
53268
53268
|
top: `${ct}px calc(100% + ${Kn}px)`,
|
|
53269
53269
|
bottom: `${ct}px ${-Kn}px`,
|
|
53270
53270
|
left: `calc(100% + ${Kn}px) ${Sn}px`,
|
|
@@ -53312,7 +53312,7 @@ function Mw(e) {
|
|
|
53312
53312
|
]), Ue = C.useRef(null);
|
|
53313
53313
|
ve(() => {
|
|
53314
53314
|
if (!p) return;
|
|
53315
|
-
const ze = E.current, ht = typeof ze == "function" ? ze() : ze, wt = (
|
|
53315
|
+
const ze = E.current, ht = typeof ze == "function" ? ze() : ze, wt = (s4(ht) ? ht.current : ht) || null;
|
|
53316
53316
|
wt !== Ue.current && ($.setPositionReference(wt), Ue.current = wt);
|
|
53317
53317
|
}, [
|
|
53318
53318
|
p,
|
|
@@ -53322,7 +53322,7 @@ function Mw(e) {
|
|
|
53322
53322
|
]), C.useEffect(() => {
|
|
53323
53323
|
if (!p) return;
|
|
53324
53324
|
const ze = E.current;
|
|
53325
|
-
typeof ze != "function" &&
|
|
53325
|
+
typeof ze != "function" && s4(ze) && ze.current !== Ue.current && ($.setPositionReference(ze.current), Ue.current = ze.current);
|
|
53326
53326
|
}, [
|
|
53327
53327
|
p,
|
|
53328
53328
|
$,
|
|
@@ -53379,7 +53379,7 @@ function Mw(e) {
|
|
|
53379
53379
|
oe
|
|
53380
53380
|
]);
|
|
53381
53381
|
}
|
|
53382
|
-
function
|
|
53382
|
+
function s4(e) {
|
|
53383
53383
|
return e != null && "current" in e;
|
|
53384
53384
|
}
|
|
53385
53385
|
var YI = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
@@ -53531,19 +53531,19 @@ var BKe = "Meta", VKe = /* @__PURE__ */ new Set([
|
|
|
53531
53531
|
function HKe(e) {
|
|
53532
53532
|
return xr(e) && e.tagName === "INPUT";
|
|
53533
53533
|
}
|
|
53534
|
-
function
|
|
53534
|
+
function a4(e) {
|
|
53535
53535
|
return !!(HKe(e) && e.selectionStart != null || xr(e) && e.tagName === "TEXTAREA");
|
|
53536
53536
|
}
|
|
53537
|
-
function
|
|
53537
|
+
function l4(e, t, n, r) {
|
|
53538
53538
|
if (!e || !t || !t.scrollTo) return;
|
|
53539
53539
|
let o = e.scrollLeft, i = e.scrollTop;
|
|
53540
53540
|
const s = e.clientWidth < e.scrollWidth, a = e.clientHeight < e.scrollHeight;
|
|
53541
53541
|
if (s && r !== "vertical") {
|
|
53542
|
-
const l =
|
|
53542
|
+
const l = c4(e, t, "left"), c = jv(e), u = jv(t);
|
|
53543
53543
|
n === "ltr" && (l + t.offsetWidth + u.scrollMarginRight > e.scrollLeft + e.clientWidth - c.scrollPaddingRight ? o = l + t.offsetWidth + u.scrollMarginRight - e.clientWidth + c.scrollPaddingRight : l - u.scrollMarginLeft < e.scrollLeft + c.scrollPaddingLeft && (o = l - u.scrollMarginLeft - c.scrollPaddingLeft)), n === "rtl" && (l - u.scrollMarginRight < e.scrollLeft + c.scrollPaddingLeft ? o = l - u.scrollMarginLeft - c.scrollPaddingLeft : l + t.offsetWidth + u.scrollMarginRight > e.scrollLeft + e.clientWidth - c.scrollPaddingRight && (o = l + t.offsetWidth + u.scrollMarginRight - e.clientWidth + c.scrollPaddingRight));
|
|
53544
53544
|
}
|
|
53545
53545
|
if (a && r !== "horizontal") {
|
|
53546
|
-
const l =
|
|
53546
|
+
const l = c4(e, t, "top"), c = jv(e), u = jv(t);
|
|
53547
53547
|
l - u.scrollMarginTop < e.scrollTop + c.scrollPaddingTop ? i = l - u.scrollMarginTop - c.scrollPaddingTop : l + t.offsetHeight + u.scrollMarginBottom > e.scrollTop + e.clientHeight - c.scrollPaddingBottom && (i = l + t.offsetHeight + u.scrollMarginBottom - e.clientHeight + c.scrollPaddingBottom);
|
|
53548
53548
|
}
|
|
53549
53549
|
e.scrollTo({
|
|
@@ -53552,7 +53552,7 @@ function lB(e, t, n, r) {
|
|
|
53552
53552
|
behavior: "auto"
|
|
53553
53553
|
});
|
|
53554
53554
|
}
|
|
53555
|
-
function
|
|
53555
|
+
function c4(e, t, n) {
|
|
53556
53556
|
const r = n === "left" ? "offsetLeft" : "offsetTop";
|
|
53557
53557
|
let o = 0;
|
|
53558
53558
|
for (; t.offsetParent && (o += t[r], t.offsetParent !== e); )
|
|
@@ -53702,7 +53702,7 @@ var Mm = function(e, t, n) {
|
|
|
53702
53702
|
return "touches" in e;
|
|
53703
53703
|
}, Nk = function(e) {
|
|
53704
53704
|
return e && e.ownerDocument.defaultView || self;
|
|
53705
|
-
},
|
|
53705
|
+
}, u4 = function(e, t, n) {
|
|
53706
53706
|
var r = e.getBoundingClientRect(), o = fp(t) ? (function(i, s) {
|
|
53707
53707
|
for (var a = 0; a < i.length; a++) if (i[a].identifier === s) return i[a];
|
|
53708
53708
|
return i[0];
|
|
@@ -53711,7 +53711,7 @@ var Mm = function(e, t, n) {
|
|
|
53711
53711
|
left: Mm((o.pageX - (r.left + Nk(e).pageXOffset)) / r.width),
|
|
53712
53712
|
top: Mm((o.pageY - (r.top + Nk(e).pageYOffset)) / r.height)
|
|
53713
53713
|
};
|
|
53714
|
-
},
|
|
53714
|
+
}, d4 = function(e) {
|
|
53715
53715
|
!fp(e) && e.preventDefault();
|
|
53716
53716
|
}, mZ = Vt.memo(function(e) {
|
|
53717
53717
|
var t = e.onMove, n = e.onKey, r = e.onEnd, o = Lw(e, [
|
|
@@ -53720,7 +53720,7 @@ var Mm = function(e, t, n) {
|
|
|
53720
53720
|
"onEnd"
|
|
53721
53721
|
]), i = Ie(null), s = vc(t), a = vc(n), l = vc(r), c = Ie(null), u = Ie(!1), d = q(function() {
|
|
53722
53722
|
var v = function(x) {
|
|
53723
|
-
|
|
53723
|
+
d4(x), (fp(x) ? x.touches.length > 0 : x.buttons > 0) && i.current ? s(u4(i.current, x, c.current)) : (b(!1), l());
|
|
53724
53724
|
}, y = function() {
|
|
53725
53725
|
b(!1), l();
|
|
53726
53726
|
};
|
|
@@ -53731,7 +53731,7 @@ var Mm = function(e, t, n) {
|
|
|
53731
53731
|
return [
|
|
53732
53732
|
function(x) {
|
|
53733
53733
|
var S = x.nativeEvent, A = i.current;
|
|
53734
|
-
if (A && (
|
|
53734
|
+
if (A && (d4(S), !(function(M, w) {
|
|
53735
53735
|
return w && !fp(M);
|
|
53736
53736
|
})(S, u.current) && A)) {
|
|
53737
53737
|
if (fp(S)) {
|
|
@@ -53739,7 +53739,7 @@ var Mm = function(e, t, n) {
|
|
|
53739
53739
|
var T = S.changedTouches || [];
|
|
53740
53740
|
T.length && (c.current = T[0].identifier);
|
|
53741
53741
|
}
|
|
53742
|
-
A.focus(), s(
|
|
53742
|
+
A.focus(), s(u4(A, S, c.current)), b(!0);
|
|
53743
53743
|
}
|
|
53744
53744
|
},
|
|
53745
53745
|
function(x) {
|
|
@@ -53966,12 +53966,12 @@ function tqe(e, t, n, r) {
|
|
|
53966
53966
|
}
|
|
53967
53967
|
var nqe, rqe = typeof window < "u" ? To : Ae, oqe = function() {
|
|
53968
53968
|
return nqe || (typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : void 0);
|
|
53969
|
-
},
|
|
53969
|
+
}, h4 = /* @__PURE__ */ new Map(), iqe = function(e) {
|
|
53970
53970
|
rqe(function() {
|
|
53971
53971
|
var t = e.current ? e.current.ownerDocument : document;
|
|
53972
|
-
if (t !== void 0 && !
|
|
53972
|
+
if (t !== void 0 && !h4.has(t)) {
|
|
53973
53973
|
var n = t.createElement("style");
|
|
53974
|
-
n.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,
|
|
53974
|
+
n.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`, h4.set(t, n);
|
|
53975
53975
|
var r = oqe();
|
|
53976
53976
|
r && n.setAttribute("nonce", r), t.head.appendChild(n);
|
|
53977
53977
|
}
|
|
@@ -54048,7 +54048,7 @@ var nqe, rqe = typeof window < "u" ? To : Ae, oqe = function() {
|
|
|
54048
54048
|
onChange: g,
|
|
54049
54049
|
onBlur: v
|
|
54050
54050
|
}));
|
|
54051
|
-
},
|
|
54051
|
+
}, f4 = function(e) {
|
|
54052
54052
|
return "#" + e;
|
|
54053
54053
|
}, dqe = function(e) {
|
|
54054
54054
|
var t = e.prefixed, n = e.alpha, r = Lw(e, ["prefixed", "alpha"]), o = Ke(function(s) {
|
|
@@ -54061,8 +54061,8 @@ var nqe, rqe = typeof window < "u" ? To : Ae, oqe = function() {
|
|
|
54061
54061
|
}, [n]);
|
|
54062
54062
|
return Vt.createElement(uqe, Hh({}, r, {
|
|
54063
54063
|
escape: o,
|
|
54064
|
-
format: t ?
|
|
54065
|
-
process:
|
|
54064
|
+
format: t ? f4 : void 0,
|
|
54065
|
+
process: f4,
|
|
54066
54066
|
validate: i
|
|
54067
54067
|
}));
|
|
54068
54068
|
}, Cs = "base-ui-portal_basePortal__1u17r8l0", hqe = "data-graphy-chart-chrome", fqe = "data-graphy-chart-menu", pqe = { [fqe]: "" }, Ow = (e) => ({ [hqe]: e }), t0 = (e, t) => e instanceof Element && e.closest(`[data-graphy-chart-chrome="${CSS.escape(t)}"]`) !== null, yZ = (e) => e instanceof Element && e.closest("[data-graphy-chart-menu]") !== null, Vk = (e) => e instanceof Element && e.closest("[data-graphy-chart-chrome]") !== null, bZ = (e, t, n) => n !== null && $2({
|
|
@@ -54170,10 +54170,10 @@ function ms({ controlled: e, default: t, name: n, state: r = "value" }) {
|
|
|
54170
54170
|
o || s(a);
|
|
54171
54171
|
}, [])];
|
|
54172
54172
|
}
|
|
54173
|
-
var
|
|
54173
|
+
var p4 = 0, Mqe = class wZ extends Ci {
|
|
54174
54174
|
constructor(...t) {
|
|
54175
54175
|
super(...t), he(this, "clear", () => {
|
|
54176
|
-
this.currentId !==
|
|
54176
|
+
this.currentId !== p4 && (clearInterval(this.currentId), this.currentId = p4);
|
|
54177
54177
|
});
|
|
54178
54178
|
}
|
|
54179
54179
|
static create() {
|
|
@@ -54195,7 +54195,7 @@ function Rqe() {
|
|
|
54195
54195
|
if (e === void 0) throw new Error(_t(43));
|
|
54196
54196
|
return e;
|
|
54197
54197
|
}
|
|
54198
|
-
var
|
|
54198
|
+
var m4 = /* @__PURE__ */ (function(e) {
|
|
54199
54199
|
return e.disabled = "data-disabled", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
54200
54200
|
})({}), Iqe = {
|
|
54201
54201
|
badInput: !1,
|
|
@@ -54219,7 +54219,7 @@ var mB = /* @__PURE__ */ (function(e) {
|
|
|
54219
54219
|
disabled: !1,
|
|
54220
54220
|
...If
|
|
54221
54221
|
}, Pl = { valid(e) {
|
|
54222
|
-
return e === null ? null : e ? { [
|
|
54222
|
+
return e === null ? null : e ? { [m4.valid]: "" } : { [m4.invalid]: "" };
|
|
54223
54223
|
} }, Oqe = /* @__PURE__ */ C.createContext({
|
|
54224
54224
|
invalid: void 0,
|
|
54225
54225
|
name: void 0,
|
|
@@ -54308,15 +54308,15 @@ var TZ = {
|
|
|
54308
54308
|
inputValue: () => null,
|
|
54309
54309
|
value: () => null,
|
|
54310
54310
|
...Pl
|
|
54311
|
-
},
|
|
54311
|
+
}, g4 = /* @__PURE__ */ new Map();
|
|
54312
54312
|
function Pm(e, t) {
|
|
54313
54313
|
const n = JSON.stringify({
|
|
54314
54314
|
locale: e,
|
|
54315
54315
|
options: t
|
|
54316
|
-
}), r =
|
|
54316
|
+
}), r = g4.get(n);
|
|
54317
54317
|
if (r) return r;
|
|
54318
54318
|
const o = new Intl.NumberFormat(e, t);
|
|
54319
|
-
return
|
|
54319
|
+
return g4.set(n, o), o;
|
|
54320
54320
|
}
|
|
54321
54321
|
function ls(e, t, n) {
|
|
54322
54322
|
return e == null ? "" : Pm(t, n).format(e);
|
|
@@ -54397,14 +54397,14 @@ var Dqe = [
|
|
|
54397
54397
|
"—",
|
|
54398
54398
|
"﹣"
|
|
54399
54399
|
], RZ = ["+", "﹢"];
|
|
54400
|
-
var Fqe = new RegExp(`[${CZ.join("")}]`, "g"), Bqe = new RegExp(`[${kZ.join("")}]`, "g"), Vqe = new RegExp(`[${XI.join("")}]`, "g"), Hqe = new RegExp(`[${Dqe.join("")}]`, "g"), $qe = new RegExp(`[${EZ.join("")}]`), zqe = new RegExp(`[${MZ.join("")}]`), Hk = /[٠١٢٣٤٥٦٧٨٩]/, IZ = /[۰۱۲۳۴۵۶۷۸۹]/, $k = /[零〇一二三四五六七八九]/,
|
|
54400
|
+
var Fqe = new RegExp(`[${CZ.join("")}]`, "g"), Bqe = new RegExp(`[${kZ.join("")}]`, "g"), Vqe = new RegExp(`[${XI.join("")}]`, "g"), Hqe = new RegExp(`[${Dqe.join("")}]`, "g"), $qe = new RegExp(`[${EZ.join("")}]`), zqe = new RegExp(`[${MZ.join("")}]`), Hk = /[٠١٢٣٤٥٦٧٨٩]/, IZ = /[۰۱۲۳۴۵۶۷۸۹]/, $k = /[零〇一二三四五六七八九]/, v4 = new RegExp(`[${XI.join("")}]`), Gqe = [
|
|
54401
54401
|
".",
|
|
54402
54402
|
",",
|
|
54403
54403
|
".",
|
|
54404
54404
|
",",
|
|
54405
54405
|
"٫",
|
|
54406
54406
|
"٬"
|
|
54407
|
-
],
|
|
54407
|
+
], y4 = /\p{Zs}/u, Wqe = ["+", ...RZ], Uqe = ["-", ...PZ], Kv = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), jqe = (e) => e.replace(/[-\\\]^]/g, (t) => `\\${t}`), LZ = (e) => `[${e.map(jqe).join("")}]`, OZ = LZ(["-"].concat(PZ)), _Z = LZ(["+"].concat(RZ)), DZ = new RegExp(OZ, "gu"), NZ = new RegExp(_Z, "gu"), df = new RegExp(OZ), qv = new RegExp(_Z);
|
|
54408
54408
|
function JI(e, t) {
|
|
54409
54409
|
const n = Pm(e, t).formatToParts(11111.1), r = {};
|
|
54410
54410
|
return n.forEach((o) => {
|
|
@@ -54533,11 +54533,11 @@ var Qqe = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
54533
54533
|
const se = eKe(), te = Cn(S), de = C.useRef(!1), oe = ge((qe, we) => {
|
|
54534
54534
|
de.current = !1, v?.(qe, we);
|
|
54535
54535
|
}), le = kn(), ie = Pqe(), X = kn(), ue = C.useRef(!1), ce = C.useRef(0), Ee = C.useRef(!0), Pe = C.useRef(null), $e = C.useRef(() => {
|
|
54536
|
-
}), [Ue, Qe] = C.useState(() => p !== void 0 ?
|
|
54536
|
+
}), [Ue, Qe] = C.useState(() => p !== void 0 ? b4($, A, S) : ls($, A, S)), [Ce, nt] = C.useState("numeric"), mt = ge(() => {
|
|
54537
54537
|
const { decimal: qe, group: we, currency: je, literal: et } = JI(A, S), gt = /* @__PURE__ */ new Set();
|
|
54538
|
-
Gqe.forEach((ct) => gt.add(ct)), qe && gt.add(qe), we && (gt.add(we),
|
|
54538
|
+
Gqe.forEach((ct) => gt.add(ct)), qe && gt.add(qe), we && (gt.add(we), y4.test(we) && gt.add(" "));
|
|
54539
54539
|
const sn = Q === "percent" || Q === "unit" && S?.unit === "percent", tt = Q === "percent" || Q === "unit" && S?.unit === "permille";
|
|
54540
|
-
return sn && EZ.forEach((ct) => gt.add(ct)), tt && MZ.forEach((ct) => gt.add(ct)), Q === "currency" && je && gt.add(je), et && (Array.from(et).forEach((ct) => gt.add(ct)),
|
|
54540
|
+
return sn && EZ.forEach((ct) => gt.add(ct)), tt && MZ.forEach((ct) => gt.add(ct)), Q === "currency" && je && gt.add(je), et && (Array.from(et).forEach((ct) => gt.add(ct)), y4.test(et) && gt.add(" ")), Wqe.forEach((ct) => gt.add(ct)), U < 0 && Uqe.forEach((ct) => gt.add(ct)), gt;
|
|
54541
54541
|
}), Me = ge((qe) => qe?.altKey ? s : qe?.shiftKey ? l : G), ot = ge((qe, we) => {
|
|
54542
54542
|
const je = we.event, et = we.direction, gt = we.reason, sn = !x || !(gt === "input-change" || gt === "input-blur" || gt === "input-paste" || gt === "input-clear" || gt === "none"), tt = Jqe(qe, {
|
|
54543
54543
|
step: et ? Me(je) * et : void 0,
|
|
@@ -54592,7 +54592,7 @@ var Qqe = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
54592
54592
|
});
|
|
54593
54593
|
ve(function() {
|
|
54594
54594
|
if (!Ee.current) return;
|
|
54595
|
-
const we = p !== void 0 ?
|
|
54595
|
+
const we = p !== void 0 ? b4($, A, S) : ls($, A, S);
|
|
54596
54596
|
we !== Ue && Qe(we);
|
|
54597
54597
|
}), ve(function() {
|
|
54598
54598
|
if (!gI) return;
|
|
@@ -54737,7 +54737,7 @@ var Qqe = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
54737
54737
|
})]
|
|
54738
54738
|
});
|
|
54739
54739
|
});
|
|
54740
|
-
function
|
|
54740
|
+
function b4(e, t, n) {
|
|
54741
54741
|
return n?.maximumFractionDigits != null || n?.minimumFractionDigits != null ? ls(e, t, n) : AZ(e, t, n);
|
|
54742
54742
|
}
|
|
54743
54743
|
function Zqe(e, t) {
|
|
@@ -54883,7 +54883,7 @@ var tXe = {
|
|
|
54883
54883
|
}
|
|
54884
54884
|
const j = c();
|
|
54885
54885
|
if (!Array.from(J).every((ne) => {
|
|
54886
|
-
const W = ne >= "0" && ne <= "9", Y = Hk.test(ne), Z = $k.test(ne), z = IZ.test(ne), $ =
|
|
54886
|
+
const W = ne >= "0" && ne <= "9", Y = Hk.test(ne), Z = $k.test(ne), z = IZ.test(ne), $ = v4.test(ne), H = df.test(ne);
|
|
54887
54887
|
return W || Y || Z || z || $ || H || j.has(ne);
|
|
54888
54888
|
})) return;
|
|
54889
54889
|
const Q = Xv(J, M, l.current);
|
|
@@ -54914,7 +54914,7 @@ var tXe = {
|
|
|
54914
54914
|
Q = !p.includes(ce) || $ || Pe;
|
|
54915
54915
|
}
|
|
54916
54916
|
});
|
|
54917
|
-
const se = U.key >= "0" && U.key <= "9", te = Hk.test(U.key), de = $k.test(U.key), oe =
|
|
54917
|
+
const se = U.key >= "0" && U.key <= "9", te = Hk.test(U.key), de = $k.test(U.key), oe = v4.test(U.key), le = nXe.has(U.key);
|
|
54918
54918
|
if (U.which === 229 || U.altKey || U.ctrlKey || U.metaKey || Q || se || te || oe || de || le) return;
|
|
54919
54919
|
const ie = Xv(p, M, l.current), X = u(U) ?? 1;
|
|
54920
54920
|
Dr(U);
|
|
@@ -55032,11 +55032,11 @@ var aXe = ({ value: e, onChange: t, onCommit: n, min: r, max: o, step: i, placeh
|
|
|
55032
55032
|
]
|
|
55033
55033
|
})
|
|
55034
55034
|
});
|
|
55035
|
-
},
|
|
55035
|
+
}, x4 = /* @__PURE__ */ (function(e) {
|
|
55036
55036
|
return e.checked = "data-checked", e.unchecked = "data-unchecked", e.disabled = "data-disabled", e.readonly = "data-readonly", e.required = "data-required", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
55037
|
-
})({}),
|
|
55037
|
+
})({}), w4 = {
|
|
55038
55038
|
checked(e) {
|
|
55039
|
-
return e ? { [
|
|
55039
|
+
return e ? { [x4.checked]: "" } : { [x4.unchecked]: "" };
|
|
55040
55040
|
},
|
|
55041
55041
|
...fu,
|
|
55042
55042
|
...Pl
|
|
@@ -55279,7 +55279,7 @@ var gXe = /* @__PURE__ */ C.createContext(void 0), WZ = /* @__PURE__ */ C.forwar
|
|
|
55279
55279
|
state: te,
|
|
55280
55280
|
ref: le,
|
|
55281
55281
|
props: ie,
|
|
55282
|
-
stateAttributesMapping:
|
|
55282
|
+
stateAttributesMapping: w4
|
|
55283
55283
|
});
|
|
55284
55284
|
return /* @__PURE__ */ B(gXe.Provider, {
|
|
55285
55285
|
value: de,
|
|
@@ -55290,7 +55290,7 @@ var gXe = /* @__PURE__ */ C.createContext(void 0), WZ = /* @__PURE__ */ C.forwar
|
|
|
55290
55290
|
state: te,
|
|
55291
55291
|
refs: le,
|
|
55292
55292
|
props: ie,
|
|
55293
|
-
stateAttributesMapping:
|
|
55293
|
+
stateAttributesMapping: w4
|
|
55294
55294
|
}) : X, /* @__PURE__ */ m("input", { ...se })]
|
|
55295
55295
|
});
|
|
55296
55296
|
});
|
|
@@ -55379,18 +55379,18 @@ function wXe(e) {
|
|
|
55379
55379
|
const { itemSizes: t, cols: n = 1, loopFocus: r = !0, dense: o = !1, orientation: i = "both", direction: s, highlightedIndex: a, onHighlightedIndexChange: l, rootRef: c, enableHomeAndEndKeys: u = !1, stopEventPropagation: d = !1, disabledIndices: h, modifierKeys: f = xXe } = e, [p, g] = C.useState(0), v = n > 1, y = C.useRef(null), b = jr(y, c), x = C.useRef([]), S = C.useRef(!1), A = a ?? p, T = ge((P, D = !1) => {
|
|
55380
55380
|
if ((l ?? g)(P), D) {
|
|
55381
55381
|
const k = x.current[P];
|
|
55382
|
-
|
|
55382
|
+
l4(y.current, k, s, i);
|
|
55383
55383
|
}
|
|
55384
55384
|
}), M = ge((P) => {
|
|
55385
55385
|
if (P.size === 0 || S.current) return;
|
|
55386
55386
|
S.current = !0;
|
|
55387
55387
|
const D = Array.from(P.keys()), k = D.find((E) => E?.hasAttribute("data-composite-item-active")) ?? null, R = k ? D.indexOf(k) : -1;
|
|
55388
|
-
R !== -1 && T(R),
|
|
55388
|
+
R !== -1 && T(R), l4(y.current, k, s, i);
|
|
55389
55389
|
}), w = C.useMemo(() => ({
|
|
55390
55390
|
"aria-orientation": i === "both" ? void 0 : i,
|
|
55391
55391
|
ref: b,
|
|
55392
55392
|
onFocus(P) {
|
|
55393
|
-
!y.current || !
|
|
55393
|
+
!y.current || !a4(P.target) || P.target.setSelectionRange(0, P.target.value.length ?? 0);
|
|
55394
55394
|
},
|
|
55395
55395
|
onKeyDown(P) {
|
|
55396
55396
|
const D = u ? NKe : hZ;
|
|
@@ -55404,7 +55404,7 @@ function wXe(e) {
|
|
|
55404
55404
|
vertical: ss,
|
|
55405
55405
|
both: L
|
|
55406
55406
|
}[i];
|
|
55407
|
-
if (
|
|
55407
|
+
if (a4(P.target) && !zk(P.target)) {
|
|
55408
55408
|
const K = P.target.selectionStart, ae = P.target.selectionEnd, U = P.target.value ?? "";
|
|
55409
55409
|
if (K == null || P.shiftKey || K !== ae || P.key !== _ && K < U.length || P.key !== E && K > 0) return;
|
|
55410
55410
|
}
|
|
@@ -56563,7 +56563,7 @@ function dee(e) {
|
|
|
56563
56563
|
bottom: t.bottom + d / 2
|
|
56564
56564
|
};
|
|
56565
56565
|
}
|
|
56566
|
-
var Jv = 2, ZXe = 400,
|
|
56566
|
+
var Jv = 2, ZXe = 400, S4 = 200, eJe = {
|
|
56567
56567
|
...Tb,
|
|
56568
56568
|
...Pl,
|
|
56569
56569
|
value: () => null
|
|
@@ -56578,8 +56578,8 @@ var Jv = 2, ZXe = 400, SB = 200, eJe = {
|
|
|
56578
56578
|
})), j = kn(), Q = kn(), ne = kn(), W = kn();
|
|
56579
56579
|
C.useEffect(() => {
|
|
56580
56580
|
if (P)
|
|
56581
|
-
return I || N ? W.start(
|
|
56582
|
-
y.current.allowUnselectedMouseUp = !0, ne.start(
|
|
56581
|
+
return I || N ? W.start(S4, () => {
|
|
56582
|
+
y.current.allowUnselectedMouseUp = !0, ne.start(S4, () => {
|
|
56583
56583
|
y.current.allowSelectedMouseUp = !0;
|
|
56584
56584
|
});
|
|
56585
56585
|
}) : ne.start(ZXe, () => {
|
|
@@ -56803,7 +56803,7 @@ function fee(e) {
|
|
|
56803
56803
|
const t = e.currentTarget.getBoundingClientRect();
|
|
56804
56804
|
return t.top + 1 <= e.clientY && e.clientY <= t.bottom - 1 && t.left + 1 <= e.clientX && e.clientX <= t.right - 1;
|
|
56805
56805
|
}
|
|
56806
|
-
var Qv = "base-ui-disable-scrollbar",
|
|
56806
|
+
var Qv = "base-ui-disable-scrollbar", T4 = {
|
|
56807
56807
|
className: Qv,
|
|
56808
56808
|
getElement(e) {
|
|
56809
56809
|
return /* @__PURE__ */ m("style", {
|
|
@@ -56827,7 +56827,7 @@ var Ps = 1, fJe = {
|
|
|
56827
56827
|
g();
|
|
56828
56828
|
return;
|
|
56829
56829
|
}
|
|
56830
|
-
const z = F.style.top === "0px", $ = F.style.bottom === "0px", H = F.getBoundingClientRect().height, se = vt(F), te = getComputedStyle(F), de = parseFloat(te.marginTop), oe = parseFloat(te.marginBottom), le =
|
|
56830
|
+
const z = F.style.top === "0px", $ = F.style.bottom === "0px", H = F.getBoundingClientRect().height, se = vt(F), te = getComputedStyle(F), de = parseFloat(te.marginTop), oe = parseFloat(te.marginBottom), le = A4(getComputedStyle(l.current)), ie = Math.min(se.documentElement.clientHeight - de - oe, le), X = Z.scrollTop, ue = Zv(Z);
|
|
56831
56831
|
let ce = 0, Ee = null, Pe = !1, $e = !1;
|
|
56832
56832
|
const Ue = (Ce) => {
|
|
56833
56833
|
F.style.height = `${Ce}px`;
|
|
@@ -56899,7 +56899,7 @@ var Ps = 1, fJe = {
|
|
|
56899
56899
|
const z = gJe(Z);
|
|
56900
56900
|
Z.style.removeProperty("--transform-origin");
|
|
56901
56901
|
try {
|
|
56902
|
-
const $ = getComputedStyle(F), H = getComputedStyle(Z), se = vt(N), te = Ur(F), de = mJe(N), oe = ey(N.getBoundingClientRect(), de), le = ey(F.getBoundingClientRect(), de), ie = oe.left, X = oe.height, ue = V || Z, ce = ue.scrollHeight, Ee = parseFloat(H.borderBottomWidth), Pe = parseFloat($.marginTop) || 10, $e = parseFloat($.marginBottom) || 10, Ue = parseFloat($.minHeight) || 100, Qe =
|
|
56902
|
+
const $ = getComputedStyle(F), H = getComputedStyle(Z), se = vt(N), te = Ur(F), de = mJe(N), oe = ey(N.getBoundingClientRect(), de), le = ey(F.getBoundingClientRect(), de), ie = oe.left, X = oe.height, ue = V || Z, ce = ue.scrollHeight, Ee = parseFloat(H.borderBottomWidth), Pe = parseFloat($.marginTop) || 10, $e = parseFloat($.marginBottom) || 10, Ue = parseFloat($.minHeight) || 100, Qe = A4(H), Ce = 5, nt = 5, mt = 20, Me = se.documentElement.clientHeight - Pe - $e, ot = se.documentElement.clientWidth, ze = Me - oe.bottom + X, ht = h.current, wt = d.current;
|
|
56903
56903
|
let Pt, Ze = 0, Tt = 0;
|
|
56904
56904
|
if (ht && wt) {
|
|
56905
56905
|
const Kn = ey(wt.getBoundingClientRect(), de);
|
|
@@ -56999,11 +56999,11 @@ var Ps = 1, fJe = {
|
|
|
56999
56999
|
I,
|
|
57000
57000
|
W,
|
|
57001
57001
|
Ml(O),
|
|
57002
|
-
{ className: !V && S ?
|
|
57002
|
+
{ className: !V && S ? T4.className : void 0 },
|
|
57003
57003
|
s
|
|
57004
57004
|
]
|
|
57005
57005
|
});
|
|
57006
|
-
return /* @__PURE__ */ B(C.Fragment, { children: [!k &&
|
|
57006
|
+
return /* @__PURE__ */ B(C.Fragment, { children: [!k && T4.getElement(D), /* @__PURE__ */ m(EI, {
|
|
57007
57007
|
context: P,
|
|
57008
57008
|
modal: !1,
|
|
57009
57009
|
disabled: !_,
|
|
@@ -57012,7 +57012,7 @@ var Ps = 1, fJe = {
|
|
|
57012
57012
|
children: Y
|
|
57013
57013
|
})] });
|
|
57014
57014
|
});
|
|
57015
|
-
function
|
|
57015
|
+
function A4(e) {
|
|
57016
57016
|
const t = e.maxHeight || "";
|
|
57017
57017
|
return t.endsWith("px") && parseFloat(t) || 1 / 0;
|
|
57018
57018
|
}
|
|
@@ -57030,17 +57030,17 @@ function ey(e, t) {
|
|
|
57030
57030
|
height: e.height / t.y
|
|
57031
57031
|
});
|
|
57032
57032
|
}
|
|
57033
|
-
var
|
|
57033
|
+
var C4 = [
|
|
57034
57034
|
["transform", "none"],
|
|
57035
57035
|
["scale", "1"],
|
|
57036
57036
|
["translate", "0 0"]
|
|
57037
57037
|
];
|
|
57038
57038
|
function gJe(e) {
|
|
57039
57039
|
const { style: t } = e, n = {};
|
|
57040
|
-
for (const [r, o] of
|
|
57040
|
+
for (const [r, o] of C4)
|
|
57041
57041
|
n[r] = t.getPropertyValue(r), t.setProperty(r, o, "important");
|
|
57042
57042
|
return () => {
|
|
57043
|
-
for (const [r] of
|
|
57043
|
+
for (const [r] of C4) {
|
|
57044
57044
|
const o = n[r];
|
|
57045
57045
|
o ? t.setProperty(r, o) : t.removeProperty(r);
|
|
57046
57046
|
}
|
|
@@ -57245,7 +57245,7 @@ var vJe = /* @__PURE__ */ C.memo(/* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
57245
57245
|
strokeLinejoin: "round",
|
|
57246
57246
|
children: /* @__PURE__ */ m("path", { d: "M20 6 9 17l-5-5" })
|
|
57247
57247
|
})
|
|
57248
|
-
}), wJe = "select_trigger__17k9te0 controls_field__1mwk9xt0", SJe = "select_fieldValue__17k9te1", TJe = "select_placeholder__17k9te2",
|
|
57248
|
+
}), wJe = "select_trigger__17k9te0 controls_field__1mwk9xt0", SJe = "select_fieldValue__17k9te1", TJe = "select_placeholder__17k9te2", k4 = "select_fieldIcon__17k9te3", AJe = "select_positioner__17k9te4", CJe = "select_popup__17k9te5", kJe = "select_item__17k9te6", EJe = "select_itemText__17k9te7";
|
|
57249
57249
|
var MJe = ({ options: e, value: t, onChange: n, placeholder: r, disabled: o, hasError: i, ariaLabel: s, ariaLabelledBy: a, id: l }) => {
|
|
57250
57250
|
const c = Sa({
|
|
57251
57251
|
id: l,
|
|
@@ -57268,7 +57268,7 @@ var MJe = ({ options: e, value: t, onChange: n, placeholder: r, disabled: o, has
|
|
|
57268
57268
|
className: SJe,
|
|
57269
57269
|
children: (d) => PJe(e, d, r)
|
|
57270
57270
|
}), /* @__PURE__ */ m(oJe, {
|
|
57271
|
-
className:
|
|
57271
|
+
className: k4,
|
|
57272
57272
|
children: /* @__PURE__ */ m(Lh, { size: "sm" })
|
|
57273
57273
|
})]
|
|
57274
57274
|
}), /* @__PURE__ */ m(sJe, {
|
|
@@ -57294,7 +57294,7 @@ var MJe = ({ options: e, value: t, onChange: n, placeholder: r, disabled: o, has
|
|
|
57294
57294
|
})]
|
|
57295
57295
|
}),
|
|
57296
57296
|
/* @__PURE__ */ m(yJe, {
|
|
57297
|
-
className:
|
|
57297
|
+
className: k4,
|
|
57298
57298
|
children: /* @__PURE__ */ m(vee, { size: "sm" })
|
|
57299
57299
|
})
|
|
57300
57300
|
]
|
|
@@ -57542,7 +57542,7 @@ function Aee(e, t, n) {
|
|
|
57542
57542
|
const r = Math.round((e - n) / t) * t + n;
|
|
57543
57543
|
return Number(r.toFixed(DJe(t)));
|
|
57544
57544
|
}
|
|
57545
|
-
function
|
|
57545
|
+
function E4({ values: e, index: t, nextValue: n, min: r, max: o, step: i, minStepsBetweenValues: s, initialValues: a }) {
|
|
57546
57546
|
if (e.length === 0) return [];
|
|
57547
57547
|
const l = e.slice(), c = i * s, u = l.length - 1, d = a ?? e;
|
|
57548
57548
|
l[t] = Hr(n, r + t * c, o - (u - t) * c);
|
|
@@ -57584,7 +57584,7 @@ function NJe({ behavior: e, values: t, currentValues: n, initialValues: r, press
|
|
|
57584
57584
|
});
|
|
57585
57585
|
let D = i;
|
|
57586
57586
|
T ? D = Math.max(i, g[w]) : D = Math.min(i, g[w]);
|
|
57587
|
-
const k =
|
|
57587
|
+
const k = E4({
|
|
57588
57588
|
values: g,
|
|
57589
57589
|
index: w,
|
|
57590
57590
|
nextValue: D,
|
|
@@ -57611,7 +57611,7 @@ function NJe({ behavior: e, values: t, currentValues: n, initialValues: r, press
|
|
|
57611
57611
|
}
|
|
57612
57612
|
case "push":
|
|
57613
57613
|
return {
|
|
57614
|
-
value:
|
|
57614
|
+
value: E4({
|
|
57615
57615
|
values: u,
|
|
57616
57616
|
index: o,
|
|
57617
57617
|
nextValue: i,
|
|
@@ -58073,12 +58073,12 @@ function nQe() {
|
|
|
58073
58073
|
if (e === void 0) throw new Error(_t(63));
|
|
58074
58074
|
return e;
|
|
58075
58075
|
}
|
|
58076
|
-
var
|
|
58076
|
+
var M4 = /* @__PURE__ */ (function(e) {
|
|
58077
58077
|
return e.checked = "data-checked", e.unchecked = "data-unchecked", e.disabled = "data-disabled", e.readonly = "data-readonly", e.required = "data-required", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
|
|
58078
58078
|
})({}), Mee = {
|
|
58079
58079
|
...Pl,
|
|
58080
58080
|
checked(e) {
|
|
58081
|
-
return e ? { [
|
|
58081
|
+
return e ? { [M4.checked]: "" } : { [M4.unchecked]: "" };
|
|
58082
58082
|
}
|
|
58083
58083
|
}, rQe = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
58084
58084
|
const { checked: r, className: o, defaultChecked: i, "aria-labelledby": s, id: a, inputRef: l, name: c, nativeButton: u = !1, onCheckedChange: d, readOnly: h = !1, required: f = !1, disabled: p = !1, render: g, uncheckedValue: v, value: y, ...b } = t, { clearErrors: x } = $h(), { state: S, setTouched: A, setDirty: T, validityData: M, setFilled: w, setFocused: P, shouldValidateOnChange: D, validationMode: k, disabled: R, name: E, validation: L } = si(), { labelId: _ } = Rl(), I = R || p, O = E ?? c, N = ge(d), F = C.useRef(null), V = jr(F, l, L.inputRef), G = C.useRef(null), K = pr(), ae = mu({
|
|
@@ -58389,22 +58389,22 @@ var Pee = ({ options: e, value: t, onChange: n, onCommit: r, itemLayout: o = "in
|
|
|
58389
58389
|
value: r,
|
|
58390
58390
|
children: t
|
|
58391
58391
|
});
|
|
58392
|
-
}, st = () => Ve(Uk),
|
|
58392
|
+
}, st = () => Ve(Uk), P4 = {
|
|
58393
58393
|
stack: "row_row_stack__gcdkz0",
|
|
58394
58394
|
grid: "row_row_grid__gcdkz1"
|
|
58395
|
-
},
|
|
58395
|
+
}, R4 = "row_control__gcdkz2", yQe = {
|
|
58396
58396
|
plain: "row_label_plain__gcdkz4 row_labelBase__gcdkz3",
|
|
58397
58397
|
withIcon: "row_label_withIcon__gcdkz5 row_labelBase__gcdkz3"
|
|
58398
58398
|
}, be = ({ label: e, layout: t = "grid", icon: n, children: r }) => {
|
|
58399
58399
|
const o = En(), i = En();
|
|
58400
58400
|
return e === void 0 ? /* @__PURE__ */ m(Gk, {
|
|
58401
|
-
className:
|
|
58401
|
+
className: P4[t],
|
|
58402
58402
|
children: /* @__PURE__ */ m("div", {
|
|
58403
|
-
className:
|
|
58403
|
+
className: R4,
|
|
58404
58404
|
children: r
|
|
58405
58405
|
})
|
|
58406
58406
|
}) : /* @__PURE__ */ B(Gk, {
|
|
58407
|
-
className:
|
|
58407
|
+
className: P4[t],
|
|
58408
58408
|
children: [/* @__PURE__ */ B("label", {
|
|
58409
58409
|
id: o,
|
|
58410
58410
|
htmlFor: i,
|
|
@@ -58414,7 +58414,7 @@ var Pee = ({ options: e, value: t, onChange: n, onCommit: r, itemLayout: o = "in
|
|
|
58414
58414
|
children: n
|
|
58415
58415
|
}), e]
|
|
58416
58416
|
}), /* @__PURE__ */ m("div", {
|
|
58417
|
-
className:
|
|
58417
|
+
className: R4,
|
|
58418
58418
|
children: /* @__PURE__ */ m(WJ, {
|
|
58419
58419
|
labelId: o,
|
|
58420
58420
|
controlId: i,
|
|
@@ -58693,13 +58693,13 @@ var AQe = {
|
|
|
58693
58693
|
strokeLinecap: "round",
|
|
58694
58694
|
strokeLinejoin: "round"
|
|
58695
58695
|
})
|
|
58696
|
-
}),
|
|
58696
|
+
}), I4 = {
|
|
58697
58697
|
supportsDataLabels: !1,
|
|
58698
58698
|
supportsPercentages: !1,
|
|
58699
58699
|
supportsStackTotals: !1,
|
|
58700
58700
|
supportsCategoryLabels: !1
|
|
58701
58701
|
}, Dee = (e, t, n) => {
|
|
58702
|
-
if (!n.hasCapability(e.geom, t) || MQe(e)) return
|
|
58702
|
+
if (!n.hasCapability(e.geom, t) || MQe(e)) return I4;
|
|
58703
58703
|
const { showDataLabels: r } = e.dataLabels, o = e.geom === "bar", i = t === "polar";
|
|
58704
58704
|
return {
|
|
58705
58705
|
supportsDataLabels: !0,
|
|
@@ -59695,12 +59695,12 @@ var rZe = "chart-type-rows_arrangements__1bay7nr1", oZe = [
|
|
|
59695
59695
|
}, [s]);
|
|
59696
59696
|
const c = Cx(e);
|
|
59697
59697
|
if (c === null) return null;
|
|
59698
|
-
const u = hZe(c), d = Pb(c), h = Eb(c), f = u ?? h, p = r(f === null ? "editor.overlayMenu.customChartType" : `editor.graphTypes.${f.name}`), g = (u === void 0 ? h :
|
|
59698
|
+
const u = hZe(c), d = Pb(c), h = Eb(c), f = u ?? h, p = r(f === null ? "editor.overlayMenu.customChartType" : `editor.graphTypes.${f.name}`), g = (u === void 0 ? h : O4(u, d))?.icon, v = u !== void 0 && u.arrangements.length > 1, y = v && (t || u.name === "combo"), b = () => a(!s), x = ({ summary: T }) => {
|
|
59699
59699
|
n.dispatch(new Ax(Vee(T, c)), { transient: !0 });
|
|
59700
59700
|
}, S = (T) => {
|
|
59701
|
-
const M =
|
|
59702
|
-
M !== void 0 && x(
|
|
59703
|
-
}, A =
|
|
59701
|
+
const M = L4.find((w) => w.name === T);
|
|
59702
|
+
M !== void 0 && x(O4(M, v ? d : null));
|
|
59703
|
+
}, A = L4.map(({ name: T, arrangements: [M] }) => ({
|
|
59704
59704
|
value: T,
|
|
59705
59705
|
label: r(`editor.graphTypes.${T}`),
|
|
59706
59706
|
icon: /* @__PURE__ */ m(M.icon, { size: "md" }),
|
|
@@ -59750,7 +59750,7 @@ var rZe = "chart-type-rows_arrangements__1bay7nr1", oZe = [
|
|
|
59750
59750
|
name: e,
|
|
59751
59751
|
arrangements: [n, ...[...Rm, ...oZe].filter((r) => r !== n && $ee(n.summary, r.summary))]
|
|
59752
59752
|
}];
|
|
59753
|
-
}),
|
|
59753
|
+
}), L4 = zee.filter(({ name: e }) => e !== "combo"), uZe = ({ type: e, arrangement: t, onPick: n, onCommit: r }) => {
|
|
59754
59754
|
const o = Le(), { ToggleGroup: i } = st(), s = e.arrangements.map(({ summary: l, icon: c }) => {
|
|
59755
59755
|
const u = Pb(l);
|
|
59756
59756
|
return {
|
|
@@ -59774,7 +59774,7 @@ var rZe = "chart-type-rows_arrangements__1bay7nr1", oZe = [
|
|
|
59774
59774
|
})
|
|
59775
59775
|
})
|
|
59776
59776
|
});
|
|
59777
|
-
}, dZe = (e) => e instanceof Element && e.closest('[role="radio"]:not([aria-disabled="true"])') !== null, Pb = (e) => cr(e) ? lZe[e.comboType] : aZe[e.position],
|
|
59777
|
+
}, dZe = (e) => e instanceof Element && e.closest('[role="radio"]:not([aria-disabled="true"])') !== null, Pb = (e) => cr(e) ? lZe[e.comboType] : aZe[e.position], O4 = (e, t) => e.arrangements.find(({ summary: n }) => Pb(n) === t) ?? e.arrangements[0], hZe = (e) => zee.find(({ arrangements: [t] }) => $ee(t.summary, e)), fZe = () => {
|
|
59778
59778
|
const e = Te((a) => a.scales.color), t = Do(), n = Le(), [r, o] = De(null);
|
|
59779
59779
|
Ae(() => () => t.commit(), [t]);
|
|
59780
59780
|
const i = Jz(e), s = Qke(e, r === null ? i : [r, ...i]);
|
|
@@ -59859,8 +59859,8 @@ var rZe = "chart-type-rows_arrangements__1bay7nr1", oZe = [
|
|
|
59859
59859
|
r: pZe[e],
|
|
59860
59860
|
fill: "currentColor"
|
|
59861
59861
|
})
|
|
59862
|
-
}), DT = 18,
|
|
59863
|
-
const n = vG(e,
|
|
59862
|
+
}), DT = 18, _4 = 12, gZe = ({ symbol: e, ...t }) => {
|
|
59863
|
+
const n = vG(e, _4, _4), r = DT / 2;
|
|
59864
59864
|
return /* @__PURE__ */ m(ke, {
|
|
59865
59865
|
viewBox: `0 0 ${DT} ${DT}`,
|
|
59866
59866
|
...t,
|
|
@@ -59890,7 +59890,7 @@ var uxt = 512 * 1024, yZe = (e) => new Promise((t) => {
|
|
|
59890
59890
|
const o = new Image();
|
|
59891
59891
|
o.onload = () => t({ image: r }), o.onerror = () => t({ rejection: "undecodable" }), o.src = r;
|
|
59892
59892
|
}, n.readAsDataURL(e);
|
|
59893
|
-
}),
|
|
59893
|
+
}), D4 = [
|
|
59894
59894
|
"solid",
|
|
59895
59895
|
"dashed",
|
|
59896
59896
|
"dotted"
|
|
@@ -59939,14 +59939,14 @@ var uxt = 512 * 1024, yZe = (e) => new Promise((t) => {
|
|
|
59939
59939
|
});
|
|
59940
59940
|
}, jee = ({ lineStyle: e, onChange: t }) => {
|
|
59941
59941
|
const n = Le(), { ToggleGroup: r } = st(), o = (i) => {
|
|
59942
|
-
const s =
|
|
59942
|
+
const s = D4.find((a) => a === i);
|
|
59943
59943
|
s !== void 0 && t(s);
|
|
59944
59944
|
};
|
|
59945
59945
|
return /* @__PURE__ */ m(be, {
|
|
59946
59946
|
label: n("editor.fineTunePanel.lineStyleSection.title"),
|
|
59947
59947
|
children: /* @__PURE__ */ m(r, {
|
|
59948
59948
|
value: e ?? "",
|
|
59949
|
-
options:
|
|
59949
|
+
options: D4.map((i) => ({
|
|
59950
59950
|
value: i,
|
|
59951
59951
|
label: n(`editor.graphPanel.gridSection.lineStyles.${i}`),
|
|
59952
59952
|
icon: /* @__PURE__ */ m(Gee, { lineStyle: i })
|
|
@@ -60025,17 +60025,17 @@ var uxt = 512 * 1024, yZe = (e) => new Promise((t) => {
|
|
|
60025
60025
|
children: s[t]
|
|
60026
60026
|
})]
|
|
60027
60027
|
});
|
|
60028
|
-
}, Yee = St({}), xZe = Yee.Provider, wZe = () => Ve(Yee), SZe = "palette-row_circle__10fivl30", Yk = "theme", TZe = 3, ny = 14,
|
|
60028
|
+
}, Yee = St({}), xZe = Yee.Provider, wZe = () => Ve(Yee), SZe = "palette-row_circle__10fivl30", Yk = "theme", TZe = 3, ny = 14, N4 = 9, AZe = () => {
|
|
60029
60029
|
const e = Te((u) => u.scales.color), t = wZe(), n = Do(), r = Le(), { RadioGrid: o } = st();
|
|
60030
60030
|
if (Object.keys(t).length === 0 || e?.kind !== "visual" || e.spec.scaleType !== "discrete" || e.defaultPalette === void 0) return null;
|
|
60031
60031
|
const { defaultPalette: i, spec: s } = e, a = Object.entries(t), l = [{
|
|
60032
60032
|
value: Yk,
|
|
60033
60033
|
label: r("editor.overlayMenu.themePalette"),
|
|
60034
|
-
icon: /* @__PURE__ */ m(
|
|
60034
|
+
icon: /* @__PURE__ */ m(F4, { colors: i })
|
|
60035
60035
|
}, ...a.map(([u, d]) => ({
|
|
60036
60036
|
value: Kk(u),
|
|
60037
60037
|
label: u,
|
|
60038
|
-
icon: /* @__PURE__ */ m(
|
|
60038
|
+
icon: /* @__PURE__ */ m(F4, { colors: d })
|
|
60039
60039
|
}))], c = (u) => {
|
|
60040
60040
|
const d = a.find(([f]) => Kk(f) === u);
|
|
60041
60041
|
if (u !== Yk && d === void 0) return;
|
|
@@ -60061,8 +60061,8 @@ var uxt = 512 * 1024, yZe = (e) => new Promise((t) => {
|
|
|
60061
60061
|
if (e === null) return Yk;
|
|
60062
60062
|
const n = t.find(([, r]) => lo(r, e));
|
|
60063
60063
|
return n === void 0 ? "" : Kk(n[0]);
|
|
60064
|
-
},
|
|
60065
|
-
const t = e.slice(0, TZe), n = ny / 2, r = ny + (t.length - 1) *
|
|
60064
|
+
}, F4 = ({ colors: e }) => {
|
|
60065
|
+
const t = e.slice(0, TZe), n = ny / 2, r = ny + (t.length - 1) * N4;
|
|
60066
60066
|
return /* @__PURE__ */ m("svg", {
|
|
60067
60067
|
width: r,
|
|
60068
60068
|
height: ny,
|
|
@@ -60070,20 +60070,20 @@ var uxt = 512 * 1024, yZe = (e) => new Promise((t) => {
|
|
|
60070
60070
|
"aria-hidden": "true",
|
|
60071
60071
|
children: t.map((o, i) => /* @__PURE__ */ m("circle", {
|
|
60072
60072
|
className: SZe,
|
|
60073
|
-
cx: n + i *
|
|
60073
|
+
cx: n + i * N4,
|
|
60074
60074
|
cy: n,
|
|
60075
60075
|
r: n - 0.5,
|
|
60076
60076
|
fill: o
|
|
60077
60077
|
}, i)).reverse()
|
|
60078
60078
|
});
|
|
60079
|
-
},
|
|
60079
|
+
}, B4 = ["smooth", "linear"], Kee = () => {
|
|
60080
60080
|
const e = Te((k) => k), t = We(), n = Rh(), r = Do(), o = Le(), { Switch: i, ToggleGroup: s } = st(), a = qee(e.layers, e.coordSystem.type, n), l = (k) => a.filter(({ support: R }) => k(R)).map(({ layer: R }) => R), c = kZe(e, t), u = c.filter((k) => k.smooth !== null), d = c.filter((k) => k.missingValues !== null && k.missingValueOptions.length > 1), h = jk.filter((k) => d.some((R) => R.missingValueOptions.includes(k))), f = RZe(u), p = IZe(d), g = (k) => {
|
|
60081
60081
|
r.dispatch(new lr({ commands: c.map((R) => new Ix({
|
|
60082
60082
|
layerId: R.layerId,
|
|
60083
60083
|
showPoints: k
|
|
60084
60084
|
})) }));
|
|
60085
60085
|
}, v = (k) => {
|
|
60086
|
-
const R =
|
|
60086
|
+
const R = B4.find((E) => E === k);
|
|
60087
60087
|
R !== void 0 && r.dispatch(new lr({ commands: u.map((E) => new EP({
|
|
60088
60088
|
layerId: E.layerId,
|
|
60089
60089
|
curve: R
|
|
@@ -60192,7 +60192,7 @@ var uxt = 512 * 1024, yZe = (e) => new Promise((t) => {
|
|
|
60192
60192
|
label: o("editor.graphPanel.graphOptions.smoothLines"),
|
|
60193
60193
|
children: /* @__PURE__ */ m(s, {
|
|
60194
60194
|
value: f,
|
|
60195
|
-
options:
|
|
60195
|
+
options: B4.map((k) => ({
|
|
60196
60196
|
value: k,
|
|
60197
60197
|
label: o(`editor.graphPanel.graphOptions.curves.${k}`),
|
|
60198
60198
|
icon: /* @__PURE__ */ m(CQe, { curve: k })
|
|
@@ -60316,12 +60316,12 @@ var qee = (e, t, n) => e.filter((r) => r.interactive).map((r) => ({
|
|
|
60316
60316
|
return null;
|
|
60317
60317
|
}, OZe = ({ geom: e, coord: t, position: n }, r, o = "style", i = null) => {
|
|
60318
60318
|
for (const s of r) {
|
|
60319
|
-
const a =
|
|
60319
|
+
const a = V4(H4(s.layers, e)?.[t]?.[n], o), l = a !== void 0 ? a : V4(H4(s.geoms, e), o);
|
|
60320
60320
|
if (l === null) return null;
|
|
60321
60321
|
if (l !== void 0) return l;
|
|
60322
60322
|
}
|
|
60323
60323
|
return i;
|
|
60324
|
-
}, _Ze = (e) => typeof e == "object" && ("style" in e || "annotate" in e),
|
|
60324
|
+
}, _Ze = (e) => typeof e == "object" && ("style" in e || "annotate" in e), V4 = (e, t) => e == null ? e : _Ze(e) ? e[t] : t === "style" ? e : void 0, H4 = (e, t) => e !== void 0 && Object.hasOwn(e, t) ? e[t] : void 0, Rb = [
|
|
60325
60325
|
"solid",
|
|
60326
60326
|
"dashed",
|
|
60327
60327
|
"dotted"
|
|
@@ -60400,7 +60400,7 @@ ete.hasRows = (e, { scene: t }) => {
|
|
|
60400
60400
|
const n = t.guides.axes.filter(Xee);
|
|
60401
60401
|
return n.length === 0 ? !1 : e.axis === "both" ? !0 : n.some((r) => r.scaledAesthetic === e.axis);
|
|
60402
60402
|
};
|
|
60403
|
-
var $
|
|
60403
|
+
var $4 = [
|
|
60404
60404
|
{
|
|
60405
60405
|
position: "top",
|
|
60406
60406
|
align: "start",
|
|
@@ -60454,7 +60454,7 @@ var $B = [
|
|
|
60454
60454
|
center: "Center",
|
|
60455
60455
|
end: "End"
|
|
60456
60456
|
}, FZe = () => {
|
|
60457
|
-
const e = Te((l) => l.guides.legends.drawn[0]), t = Do(), n = Le(), { RadioGrid: r } = st(), o = e === void 0, i = o ? "" : HT(e), s = $
|
|
60457
|
+
const e = Te((l) => l.guides.legends.drawn[0]), t = Do(), n = Le(), { RadioGrid: r } = st(), o = e === void 0, i = o ? "" : HT(e), s = $4.map((l) => {
|
|
60458
60458
|
const c = HT(l);
|
|
60459
60459
|
return {
|
|
60460
60460
|
value: c,
|
|
@@ -60468,7 +60468,7 @@ var $B = [
|
|
|
60468
60468
|
gridColumn: l.gridColumn
|
|
60469
60469
|
};
|
|
60470
60470
|
}), a = (l) => {
|
|
60471
|
-
const c = $
|
|
60471
|
+
const c = $4.find((u) => HT(u) === l);
|
|
60472
60472
|
c !== void 0 && t.dispatch(new XW({
|
|
60473
60473
|
position: c.position,
|
|
60474
60474
|
align: c.align
|
|
@@ -60650,7 +60650,7 @@ var VZe = ({ graph: e, target: t }) => {
|
|
|
60650
60650
|
clipRule: "evenodd"
|
|
60651
60651
|
})
|
|
60652
60652
|
]
|
|
60653
|
-
}), UZe = "corssed-icon_crossed__1xtk1zg0", jZe = "corssed-icon_crossedStrike__1xtk1zg1",
|
|
60653
|
+
}), UZe = "corssed-icon_crossed__1xtk1zg0", jZe = "corssed-icon_crossedStrike__1xtk1zg1", z4 = ({ children: e }) => /* @__PURE__ */ B("span", {
|
|
60654
60654
|
className: UZe,
|
|
60655
60655
|
"aria-hidden": "true",
|
|
60656
60656
|
children: [e, /* @__PURE__ */ m("span", { className: jZe })]
|
|
@@ -61150,7 +61150,7 @@ var JZe = (e) => {
|
|
|
61150
61150
|
scatterPoint: net,
|
|
61151
61151
|
scatterSeries: ret,
|
|
61152
61152
|
pieSlice: tet
|
|
61153
|
-
},
|
|
61153
|
+
}, G4 = ({ labelKey: e }) => {
|
|
61154
61154
|
const t = oet[e];
|
|
61155
61155
|
return /* @__PURE__ */ m(t, {});
|
|
61156
61156
|
}, iet = (e, t) => {
|
|
@@ -61193,7 +61193,7 @@ var JZe = (e) => {
|
|
|
61193
61193
|
});
|
|
61194
61194
|
};
|
|
61195
61195
|
return t.hasRows = (n, { scene: r }) => gj(n, r) !== null, t;
|
|
61196
|
-
}, n0 = oL((e, t) => XZe(t, e)),
|
|
61196
|
+
}, n0 = oL((e, t) => XZe(t, e)), W4 = oL(cte), xet = oL(ute), wet = ({ anchor: e, readHighlightOptions: t }) => {
|
|
61197
61197
|
const { layer: n, observation: r, at: o } = e, i = Le(), { dispatch: s } = Do(), { selectionStore: a } = Xe(), { Button: l } = st(), [c, u] = De(null), d = Te((A) => A.spec.annotations), h = Te((A) => A.config.parsingLocale), f = cW(d, o, q(() => u9(n, h), [n, h])), p = f !== null && aet(f) ? f : null, g = iet(n, r), v = g.at(-1), y = Te((A) => A.coordSystem), b = q(() => jz({
|
|
61198
61198
|
layer: n,
|
|
61199
61199
|
at: o,
|
|
@@ -61222,7 +61222,7 @@ var JZe = (e) => {
|
|
|
61222
61222
|
}) : c === "highlight" ? /* @__PURE__ */ m($T, {
|
|
61223
61223
|
title: i("graph.annotations.highlights.menuTitle"),
|
|
61224
61224
|
onBack: S,
|
|
61225
|
-
children: /* @__PURE__ */ m(
|
|
61225
|
+
children: /* @__PURE__ */ m(U4, {
|
|
61226
61226
|
layer: n,
|
|
61227
61227
|
observation: r,
|
|
61228
61228
|
highlights: g,
|
|
@@ -61236,12 +61236,12 @@ var JZe = (e) => {
|
|
|
61236
61236
|
children: [
|
|
61237
61237
|
p !== null && /* @__PURE__ */ m(l, {
|
|
61238
61238
|
label: i(mte[p.kind].phrase),
|
|
61239
|
-
icon: /* @__PURE__ */ m(
|
|
61239
|
+
icon: /* @__PURE__ */ m(z4, { children: Tet(p.kind) }),
|
|
61240
61240
|
onClick: () => x(new hl({ id: p.annotation.id }))
|
|
61241
61241
|
}),
|
|
61242
61242
|
v !== void 0 && /* @__PURE__ */ m(l, {
|
|
61243
61243
|
label: i("graph.annotations.baseMenu.removeHighlight"),
|
|
61244
|
-
icon: /* @__PURE__ */ m(
|
|
61244
|
+
icon: /* @__PURE__ */ m(z4, { children: /* @__PURE__ */ m(ste, {}) }),
|
|
61245
61245
|
onClick: () => x(new wP({ id: v.id }))
|
|
61246
61246
|
}),
|
|
61247
61247
|
(p !== null || v !== void 0) && /* @__PURE__ */ m(uet, {}),
|
|
@@ -61267,7 +61267,7 @@ var JZe = (e) => {
|
|
|
61267
61267
|
onClick: () => u("sticker")
|
|
61268
61268
|
})
|
|
61269
61269
|
] }),
|
|
61270
|
-
n.highlight !== null && /* @__PURE__ */ m(
|
|
61270
|
+
n.highlight !== null && /* @__PURE__ */ m(U4, {
|
|
61271
61271
|
layer: n,
|
|
61272
61272
|
observation: r,
|
|
61273
61273
|
highlights: g,
|
|
@@ -61360,7 +61360,7 @@ var JZe = (e) => {
|
|
|
61360
61360
|
alt: ""
|
|
61361
61361
|
})
|
|
61362
61362
|
}, n))
|
|
61363
|
-
}),
|
|
61363
|
+
}), U4 = ({ layer: e, observation: t, highlights: n, options: r, expanded: o, onOpen: i, onRun: s }) => {
|
|
61364
61364
|
const a = Le(), { Button: l } = st(), c = q(() => $ke(e, t), [e, t]), u = new Set(n.map((p) => p.scope)), d = r.filter((p) => !u.has(p.scope)), [h] = d;
|
|
61365
61365
|
if (c === null || h === void 0) return null;
|
|
61366
61366
|
const f = (p) => {
|
|
@@ -61374,12 +61374,12 @@ var JZe = (e) => {
|
|
|
61374
61374
|
className: pte,
|
|
61375
61375
|
children: d.map((p) => /* @__PURE__ */ m(l, {
|
|
61376
61376
|
label: a(`graph.annotations.highlights.labels.${p.labelKey}`),
|
|
61377
|
-
icon: /* @__PURE__ */ m(
|
|
61377
|
+
icon: /* @__PURE__ */ m(G4, { labelKey: p.labelKey }),
|
|
61378
61378
|
onClick: () => f(p.scope)
|
|
61379
61379
|
}, p.scope))
|
|
61380
61380
|
}) : d.length === 1 ? /* @__PURE__ */ m(l, {
|
|
61381
61381
|
label: r.length === 1 ? a("graph.annotations.baseMenu.highlight") : a("graph.annotations.baseMenu.highlightWithLabel", { label: a(`graph.annotations.highlights.labels.${h.labelKey}`) }),
|
|
61382
|
-
icon: /* @__PURE__ */ m(
|
|
61382
|
+
icon: /* @__PURE__ */ m(G4, { labelKey: h.labelKey }),
|
|
61383
61383
|
onClick: () => f(h.scope)
|
|
61384
61384
|
}) : /* @__PURE__ */ m(l, {
|
|
61385
61385
|
label: a("graph.annotations.baseMenu.highlight"),
|
|
@@ -61439,11 +61439,11 @@ var Eet = ({ graph: e, target: t }) => {
|
|
|
61439
61439
|
},
|
|
61440
61440
|
line: {
|
|
61441
61441
|
style: qk,
|
|
61442
|
-
annotate:
|
|
61442
|
+
annotate: W4
|
|
61443
61443
|
},
|
|
61444
61444
|
area: {
|
|
61445
61445
|
style: qk,
|
|
61446
|
-
annotate:
|
|
61446
|
+
annotate: W4
|
|
61447
61447
|
},
|
|
61448
61448
|
bar: {
|
|
61449
61449
|
style: _ee,
|
|
@@ -64012,13 +64012,13 @@ var Eet = ({ graph: e, target: t }) => {
|
|
|
64012
64012
|
}), Yet = ({ children: e }) => /* @__PURE__ */ m(KI, {
|
|
64013
64013
|
direction: NK(),
|
|
64014
64014
|
children: e
|
|
64015
|
-
}),
|
|
64015
|
+
}), j4 = Object.defineProperty, Ket = (e, t) => {
|
|
64016
64016
|
let n = {};
|
|
64017
|
-
for (var r in e)
|
|
64017
|
+
for (var r in e) j4(n, r, {
|
|
64018
64018
|
get: e[r],
|
|
64019
64019
|
enumerable: !0
|
|
64020
64020
|
});
|
|
64021
|
-
return t ||
|
|
64021
|
+
return t || j4(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
64022
64022
|
};
|
|
64023
64023
|
function rr(e) {
|
|
64024
64024
|
this.content = e;
|
|
@@ -64466,7 +64466,7 @@ function Xet(e, t) {
|
|
|
64466
64466
|
end: r.resolveNoCache(r.content.size - e.openEnd - n)
|
|
64467
64467
|
};
|
|
64468
64468
|
}
|
|
64469
|
-
var
|
|
64469
|
+
var Y4 = class Qk {
|
|
64470
64470
|
constructor(t, n, r) {
|
|
64471
64471
|
this.pos = t, this.path = n, this.parentOffset = r, this.depth = n.length / 3 - 1;
|
|
64472
64472
|
}
|
|
@@ -64575,12 +64575,12 @@ var YB = class Qk {
|
|
|
64575
64575
|
return new Qk(n, r, i);
|
|
64576
64576
|
}
|
|
64577
64577
|
static resolveCached(t, n) {
|
|
64578
|
-
let r =
|
|
64578
|
+
let r = K4.get(t);
|
|
64579
64579
|
if (r) for (let i = 0; i < r.elts.length; i++) {
|
|
64580
64580
|
let s = r.elts[i];
|
|
64581
64581
|
if (s.pos == n) return s;
|
|
64582
64582
|
}
|
|
64583
|
-
else
|
|
64583
|
+
else K4.set(t, r = new Jet());
|
|
64584
64584
|
let o = r.elts[r.i] = Qk.resolve(t, n);
|
|
64585
64585
|
return r.i = (r.i + 1) % Qet, o;
|
|
64586
64586
|
}
|
|
@@ -64588,7 +64588,7 @@ var YB = class Qk {
|
|
|
64588
64588
|
constructor() {
|
|
64589
64589
|
this.elts = [], this.i = 0;
|
|
64590
64590
|
}
|
|
64591
|
-
}, Qet = 12,
|
|
64591
|
+
}, Qet = 12, K4 = /* @__PURE__ */ new WeakMap(), Ob = class {
|
|
64592
64592
|
constructor(e, t, n) {
|
|
64593
64593
|
this.$from = e, this.$to = t, this.depth = n;
|
|
64594
64594
|
}
|
|
@@ -64709,10 +64709,10 @@ var YB = class Qk {
|
|
|
64709
64709
|
};
|
|
64710
64710
|
}
|
|
64711
64711
|
resolve(t) {
|
|
64712
|
-
return
|
|
64712
|
+
return Y4.resolveCached(this, t);
|
|
64713
64713
|
}
|
|
64714
64714
|
resolveNoCache(t) {
|
|
64715
|
-
return
|
|
64715
|
+
return Y4.resolve(this, t);
|
|
64716
64716
|
}
|
|
64717
64717
|
rangeHasMark(t, n, r) {
|
|
64718
64718
|
let o = !1;
|
|
@@ -64990,14 +64990,14 @@ function rtt(e) {
|
|
|
64990
64990
|
else break;
|
|
64991
64991
|
return t;
|
|
64992
64992
|
}
|
|
64993
|
-
function
|
|
64993
|
+
function q4(e) {
|
|
64994
64994
|
/\D/.test(e.next) && e.err("Expected number, got '" + e.next + "'");
|
|
64995
64995
|
let t = Number(e.next);
|
|
64996
64996
|
return e.pos++, t;
|
|
64997
64997
|
}
|
|
64998
64998
|
function ott(e, t) {
|
|
64999
|
-
let n =
|
|
65000
|
-
return e.eat(",") && (e.next != "}" ? r =
|
|
64999
|
+
let n = q4(e), r = n;
|
|
65000
|
+
return e.eat(",") && (e.next != "}" ? r = q4(e) : r = -1), e.eat("}") || e.err("Unclosed braced range"), {
|
|
65001
65001
|
type: "range",
|
|
65002
65002
|
min: n,
|
|
65003
65003
|
max: r,
|
|
@@ -65084,7 +65084,7 @@ function att(e) {
|
|
|
65084
65084
|
function Ote(e, t) {
|
|
65085
65085
|
return t - e;
|
|
65086
65086
|
}
|
|
65087
|
-
function
|
|
65087
|
+
function X4(e, t) {
|
|
65088
65088
|
let n = [];
|
|
65089
65089
|
return r(t), n.sort(Ote);
|
|
65090
65090
|
function r(o) {
|
|
@@ -65099,7 +65099,7 @@ function XB(e, t) {
|
|
|
65099
65099
|
}
|
|
65100
65100
|
function ltt(e) {
|
|
65101
65101
|
let t = /* @__PURE__ */ Object.create(null);
|
|
65102
|
-
return n(
|
|
65102
|
+
return n(X4(e, 0));
|
|
65103
65103
|
function n(r) {
|
|
65104
65104
|
let o = [];
|
|
65105
65105
|
r.forEach((s) => {
|
|
@@ -65107,7 +65107,7 @@ function ltt(e) {
|
|
|
65107
65107
|
if (!a) return;
|
|
65108
65108
|
let c;
|
|
65109
65109
|
for (let u = 0; u < o.length; u++) o[u][0] == a && (c = o[u][1]);
|
|
65110
|
-
|
|
65110
|
+
X4(e, l).forEach((u) => {
|
|
65111
65111
|
c || o.push([a, c = []]), c.indexOf(u) == -1 && c.push(u);
|
|
65112
65112
|
});
|
|
65113
65113
|
});
|
|
@@ -65164,7 +65164,7 @@ function Fte(e, t) {
|
|
|
65164
65164
|
if (t) for (let r in t) n[r] = new dtt(e, r, t[r]);
|
|
65165
65165
|
return n;
|
|
65166
65166
|
}
|
|
65167
|
-
var
|
|
65167
|
+
var J4 = class Bte {
|
|
65168
65168
|
constructor(t, n, r) {
|
|
65169
65169
|
this.name = t, this.schema = n, this.spec = r, this.markSet = null, this.groups = r.group ? r.group.split(" ") : [], this.attrs = Fte(t, r.attrs), this.defaultAttrs = _te(this.attrs), this.contentMatch = null, this.inlineContent = null, this.isBlock = !(r.inline || t == "text"), this.isText = t == "text";
|
|
65170
65170
|
}
|
|
@@ -65293,7 +65293,7 @@ var dtt = class {
|
|
|
65293
65293
|
this.linebreakReplacement = null, this.cached = /* @__PURE__ */ Object.create(null);
|
|
65294
65294
|
let t = this.spec = {};
|
|
65295
65295
|
for (let r in e) t[r] = e[r];
|
|
65296
|
-
t.nodes = rr.from(e.nodes), t.marks = rr.from(e.marks || {}), this.nodes =
|
|
65296
|
+
t.nodes = rr.from(e.nodes), t.marks = rr.from(e.marks || {}), this.nodes = J4.compile(this.spec.nodes, this), this.marks = Vte.compile(this.spec.marks, this);
|
|
65297
65297
|
let n = /* @__PURE__ */ Object.create(null);
|
|
65298
65298
|
for (let r in this.nodes) {
|
|
65299
65299
|
if (r in this.marks) throw new RangeError(r + " can not be both a node and a mark");
|
|
@@ -65303,17 +65303,17 @@ var dtt = class {
|
|
|
65303
65303
|
if (!o.isInline || !o.isLeaf) throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");
|
|
65304
65304
|
this.linebreakReplacement = o;
|
|
65305
65305
|
}
|
|
65306
|
-
o.markSet = s == "_" ? null : s ?
|
|
65306
|
+
o.markSet = s == "_" ? null : s ? Q4(this, s.split(" ")) : s == "" || !o.inlineContent ? [] : null;
|
|
65307
65307
|
}
|
|
65308
65308
|
for (let r in this.marks) {
|
|
65309
65309
|
let o = this.marks[r], i = o.spec.excludes;
|
|
65310
|
-
o.excluded = i == null ? [o] : i == "" ? [] :
|
|
65310
|
+
o.excluded = i == null ? [o] : i == "" ? [] : Q4(this, i.split(" "));
|
|
65311
65311
|
}
|
|
65312
65312
|
this.nodeFromJSON = (r) => xc.fromJSON(this, r), this.markFromJSON = (r) => Kt.fromJSON(this, r), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null);
|
|
65313
65313
|
}
|
|
65314
65314
|
node(e, t = null, n, r) {
|
|
65315
65315
|
if (typeof e == "string") e = this.nodeType(e);
|
|
65316
|
-
else if (e instanceof
|
|
65316
|
+
else if (e instanceof J4) {
|
|
65317
65317
|
if (e.schema != this) throw new RangeError("Node type from different schema used (" + e.name + ")");
|
|
65318
65318
|
} else throw new RangeError("Invalid node type: " + e);
|
|
65319
65319
|
return e.createChecked(t, n, r);
|
|
@@ -65331,7 +65331,7 @@ var dtt = class {
|
|
|
65331
65331
|
return t;
|
|
65332
65332
|
}
|
|
65333
65333
|
};
|
|
65334
|
-
function
|
|
65334
|
+
function Q4(e, t) {
|
|
65335
65335
|
let n = [];
|
|
65336
65336
|
for (let r = 0; r < t.length; r++) {
|
|
65337
65337
|
let o = t[r], i = e.marks[o], s = i;
|
|
@@ -65367,11 +65367,11 @@ var vp = class tE {
|
|
|
65367
65367
|
});
|
|
65368
65368
|
}
|
|
65369
65369
|
parse(t, n = {}) {
|
|
65370
|
-
let r = new
|
|
65370
|
+
let r = new eB(this, n, !1);
|
|
65371
65371
|
return r.addAll(t, Kt.none, n.from, n.to), r.finish();
|
|
65372
65372
|
}
|
|
65373
65373
|
parseSlice(t, n = {}) {
|
|
65374
|
-
let r = new
|
|
65374
|
+
let r = new eB(this, n, !0);
|
|
65375
65375
|
return r.addAll(t, Kt.none, n.from, n.to), Ne.maxOpen(r.finish());
|
|
65376
65376
|
}
|
|
65377
65377
|
matchTag(t, n, r) {
|
|
@@ -65413,13 +65413,13 @@ var vp = class tE {
|
|
|
65413
65413
|
for (let o in t.marks) {
|
|
65414
65414
|
let i = t.marks[o].spec.parseDOM;
|
|
65415
65415
|
i && i.forEach((s) => {
|
|
65416
|
-
r(s =
|
|
65416
|
+
r(s = tB(s)), s.mark || s.ignore || s.clearMark || (s.mark = o);
|
|
65417
65417
|
});
|
|
65418
65418
|
}
|
|
65419
65419
|
for (let o in t.nodes) {
|
|
65420
65420
|
let i = t.nodes[o].spec.parseDOM;
|
|
65421
65421
|
i && i.forEach((s) => {
|
|
65422
|
-
r(s =
|
|
65422
|
+
r(s = tB(s)), s.node || s.ignore || s.mark || (s.node = o);
|
|
65423
65423
|
});
|
|
65424
65424
|
}
|
|
65425
65425
|
return n;
|
|
@@ -65472,7 +65472,7 @@ var vp = class tE {
|
|
|
65472
65472
|
ol: !0,
|
|
65473
65473
|
ul: !0
|
|
65474
65474
|
}, _b = 1, Wte = 2, r0 = 4;
|
|
65475
|
-
function
|
|
65475
|
+
function Z4(e, t, n) {
|
|
65476
65476
|
return t != null ? (t ? _b : 0) | (t === "full" ? Wte : 0) : e && e.whitespace == "pre" ? 3 : n & -5;
|
|
65477
65477
|
}
|
|
65478
65478
|
var sy = class {
|
|
@@ -65505,10 +65505,10 @@ var sy = class {
|
|
|
65505
65505
|
inlineContext(e) {
|
|
65506
65506
|
return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !zte.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
|
|
65507
65507
|
}
|
|
65508
|
-
},
|
|
65508
|
+
}, eB = class {
|
|
65509
65509
|
constructor(e, t, n) {
|
|
65510
65510
|
this.parser = e, this.options = t, this.isOpen = n, this.open = 0, this.localPreserveWS = !1;
|
|
65511
|
-
let r = t.topNode, o, i =
|
|
65511
|
+
let r = t.topNode, o, i = Z4(null, t.preserveWhitespace, 0) | (n ? r0 : 0);
|
|
65512
65512
|
r ? o = new sy(r.type, r.attrs, Kt.none, !0, t.topMatch || r.type.contentMatch, i) : n ? o = new sy(null, null, Kt.none, !0, null, i) : o = new sy(e.schema.topNodeType, null, Kt.none, !0, null, i), this.nodes = [o], this.find = t.findPositions, this.needsBlock = !1;
|
|
65513
65513
|
}
|
|
65514
65514
|
get top() {
|
|
@@ -65639,7 +65639,7 @@ var sy = class {
|
|
|
65639
65639
|
let o = this.top;
|
|
65640
65640
|
o.match && (o.match = o.match.matchType(e.type));
|
|
65641
65641
|
let i = Kt.none;
|
|
65642
|
-
for (let s of r.concat(e.marks)) (o.type ? o.type.allowsMarkType(s.type) :
|
|
65642
|
+
for (let s of r.concat(e.marks)) (o.type ? o.type.allowsMarkType(s.type) : nB(s.type, e.type)) && (i = s.addToSet(i));
|
|
65643
65643
|
return o.content.push(e.mark(i)), !0;
|
|
65644
65644
|
}
|
|
65645
65645
|
return !1;
|
|
@@ -65652,10 +65652,10 @@ var sy = class {
|
|
|
65652
65652
|
this.closeExtra();
|
|
65653
65653
|
let i = this.top;
|
|
65654
65654
|
i.match = i.match && i.match.matchType(e);
|
|
65655
|
-
let s =
|
|
65655
|
+
let s = Z4(e, o, i.options);
|
|
65656
65656
|
i.options & r0 && i.content.length == 0 && (s |= r0);
|
|
65657
65657
|
let a = Kt.none;
|
|
65658
|
-
return n = n.filter((l) => (i.type ? i.type.allowsMarkType(l.type) :
|
|
65658
|
+
return n = n.filter((l) => (i.type ? i.type.allowsMarkType(l.type) : nB(l.type, e)) ? (a = l.addToSet(a), !1) : !0), this.nodes.push(new sy(e, t, a, r, null, s)), this.open++, n;
|
|
65659
65659
|
}
|
|
65660
65660
|
closeExtra(e = !1) {
|
|
65661
65661
|
let t = this.nodes.length - 1;
|
|
@@ -65741,12 +65741,12 @@ function mtt(e) {
|
|
|
65741
65741
|
function gtt(e, t) {
|
|
65742
65742
|
return (e.matches || e.msMatchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector).call(e, t);
|
|
65743
65743
|
}
|
|
65744
|
-
function
|
|
65744
|
+
function tB(e) {
|
|
65745
65745
|
let t = {};
|
|
65746
65746
|
for (let n in e) t[n] = e[n];
|
|
65747
65747
|
return t;
|
|
65748
65748
|
}
|
|
65749
|
-
function
|
|
65749
|
+
function nB(e, t) {
|
|
65750
65750
|
let n = t.schema.nodes;
|
|
65751
65751
|
for (let r in n) {
|
|
65752
65752
|
let o = n[r];
|
|
@@ -65817,14 +65817,14 @@ var Wg = class Ute {
|
|
|
65817
65817
|
return t.cached.domSerializer || (t.cached.domSerializer = new Ute(this.nodesFromSchema(t), this.marksFromSchema(t)));
|
|
65818
65818
|
}
|
|
65819
65819
|
static nodesFromSchema(t) {
|
|
65820
|
-
let n =
|
|
65820
|
+
let n = rB(t.nodes);
|
|
65821
65821
|
return n.text || (n.text = (r) => r.text), n;
|
|
65822
65822
|
}
|
|
65823
65823
|
static marksFromSchema(t) {
|
|
65824
|
-
return
|
|
65824
|
+
return rB(t.marks);
|
|
65825
65825
|
}
|
|
65826
65826
|
};
|
|
65827
|
-
function
|
|
65827
|
+
function rB(e) {
|
|
65828
65828
|
let t = {};
|
|
65829
65829
|
for (let n in e) {
|
|
65830
65830
|
let r = e[n].spec.toDOM;
|
|
@@ -65835,10 +65835,10 @@ function r4(e) {
|
|
|
65835
65835
|
function ay(e) {
|
|
65836
65836
|
return e.document || window.document;
|
|
65837
65837
|
}
|
|
65838
|
-
var
|
|
65838
|
+
var oB = /* @__PURE__ */ new WeakMap();
|
|
65839
65839
|
function vtt(e) {
|
|
65840
|
-
let t =
|
|
65841
|
-
return t === void 0 &&
|
|
65840
|
+
let t = oB.get(e);
|
|
65841
|
+
return t === void 0 && oB.set(e, t = ytt(e)), t;
|
|
65842
65842
|
}
|
|
65843
65843
|
function ytt(e) {
|
|
65844
65844
|
let t = null;
|
|
@@ -65892,7 +65892,7 @@ var jte = 65535, Yte = Math.pow(2, 16);
|
|
|
65892
65892
|
function btt(e, t) {
|
|
65893
65893
|
return e + t * Yte;
|
|
65894
65894
|
}
|
|
65895
|
-
function
|
|
65895
|
+
function iB(e) {
|
|
65896
65896
|
return e & jte;
|
|
65897
65897
|
}
|
|
65898
65898
|
function xtt(e) {
|
|
@@ -65919,7 +65919,7 @@ var wtt = 1, Stt = 2, Kte = 4, qte = 8, nE = class {
|
|
|
65919
65919
|
if (this.ranges = t, this.inverted = n, !t.length && Uu.empty) return Uu.empty;
|
|
65920
65920
|
}
|
|
65921
65921
|
recover(t) {
|
|
65922
|
-
let n = 0, r =
|
|
65922
|
+
let n = 0, r = iB(t);
|
|
65923
65923
|
if (!this.inverted) for (let o = 0; o < r; o++) n += this.ranges[o * 3 + 2] - this.ranges[o * 3 + 1];
|
|
65924
65924
|
return this.ranges[r * 3] + n + xtt(t);
|
|
65925
65925
|
}
|
|
@@ -65946,7 +65946,7 @@ var wtt = 1, Stt = 2, Kte = 4, qte = 8, nE = class {
|
|
|
65946
65946
|
return r ? t + o : new nE(t + o, 0, null);
|
|
65947
65947
|
}
|
|
65948
65948
|
touches(t, n) {
|
|
65949
|
-
let r = 0, o =
|
|
65949
|
+
let r = 0, o = iB(n), i = this.inverted ? 2 : 1, s = this.inverted ? 1 : 2;
|
|
65950
65950
|
for (let a = 0; a < this.ranges.length; a += 3) {
|
|
65951
65951
|
let l = this.ranges[a] - (this.inverted ? r : 0);
|
|
65952
65952
|
if (l > t) break;
|
|
@@ -66409,12 +66409,12 @@ function ktt(e, t, n) {
|
|
|
66409
66409
|
}
|
|
66410
66410
|
function Jte(e, t, n = null, r = e) {
|
|
66411
66411
|
let o = Ett(e, t), i = o && Mtt(r, t);
|
|
66412
|
-
return i ? o.map(
|
|
66412
|
+
return i ? o.map(sB).concat({
|
|
66413
66413
|
type: t,
|
|
66414
66414
|
attrs: n
|
|
66415
|
-
}).concat(i.map(
|
|
66415
|
+
}).concat(i.map(sB)) : null;
|
|
66416
66416
|
}
|
|
66417
|
-
function
|
|
66417
|
+
function sB(e) {
|
|
66418
66418
|
return {
|
|
66419
66419
|
type: e,
|
|
66420
66420
|
attrs: null
|
|
@@ -66641,7 +66641,7 @@ var Ftt = class {
|
|
|
66641
66641
|
}
|
|
66642
66642
|
for (let t = 1; t <= 2; t++) for (let n = t == 1 ? e : this.unplaced.openStart; n >= 0; n--) {
|
|
66643
66643
|
let r, o = null;
|
|
66644
|
-
n ? (o =
|
|
66644
|
+
n ? (o = aB(this.unplaced.content, n - 1).firstChild, r = o.content) : r = this.unplaced.content;
|
|
66645
66645
|
let i = r.firstChild;
|
|
66646
66646
|
for (let s = this.depth; s >= 0; s--) {
|
|
66647
66647
|
let { type: a, match: l } = this.frontier[s], c, u = null;
|
|
@@ -66663,10 +66663,10 @@ var Ftt = class {
|
|
|
66663
66663
|
}
|
|
66664
66664
|
openMore() {
|
|
66665
66665
|
let { content: e, openStart: t, openEnd: n } = this.unplaced;
|
|
66666
|
-
return
|
|
66666
|
+
return lB(e, -1) <= t ? !1 : (this.unplaced.size > 1 && lB(e, 1) > n && n++, this.unplaced = new Ne(e, t + 1, n), !0);
|
|
66667
66667
|
}
|
|
66668
66668
|
dropNode() {
|
|
66669
|
-
let { content: e, openStart: t, openEnd: n } = this.unplaced, r =
|
|
66669
|
+
let { content: e, openStart: t, openEnd: n } = this.unplaced, r = aB(e, t);
|
|
66670
66670
|
if (r.childCount <= 1 && t > 0) {
|
|
66671
66671
|
let o = e.size - t <= t + r.size;
|
|
66672
66672
|
this.unplaced = new Ne(Nf(e, t - 1, 1), t - 1, o ? t - 1 : n);
|
|
@@ -66750,7 +66750,7 @@ function Nf(e, t, n) {
|
|
|
66750
66750
|
function Ff(e, t, n) {
|
|
66751
66751
|
return t == 0 ? e.append(n) : e.replaceChild(e.childCount - 1, e.lastChild.copy(Ff(e.lastChild.content, t - 1, n)));
|
|
66752
66752
|
}
|
|
66753
|
-
function
|
|
66753
|
+
function aB(e, t) {
|
|
66754
66754
|
for (let n = 0; n < t; n++) e = e.firstChild.content;
|
|
66755
66755
|
return e;
|
|
66756
66756
|
}
|
|
@@ -66772,7 +66772,7 @@ function Btt(e, t, n) {
|
|
|
66772
66772
|
function Vtt(e) {
|
|
66773
66773
|
return e.spec.defining || e.spec.definingForContent;
|
|
66774
66774
|
}
|
|
66775
|
-
function
|
|
66775
|
+
function lB(e, t) {
|
|
66776
66776
|
for (let n = 0; ; n++) {
|
|
66777
66777
|
let r = t < 0 ? e.firstChild : e.lastChild;
|
|
66778
66778
|
if (!r || r.isAtom) return n;
|
|
@@ -67089,14 +67089,14 @@ var lne = class {
|
|
|
67089
67089
|
let o = e.steps.length, i = this.ranges;
|
|
67090
67090
|
for (let s = 0; s < i.length; s++) {
|
|
67091
67091
|
let { $from: a, $to: l } = i[s], c = e.mapping.slice(o);
|
|
67092
|
-
e.replaceRange(c.map(a.pos), c.map(l.pos), s ? Ne.empty : t), s == 0 &&
|
|
67092
|
+
e.replaceRange(c.map(a.pos), c.map(l.pos), s ? Ne.empty : t), s == 0 && dB(e, o, (n ? n.isInline : r && r.isTextblock) ? -1 : 1);
|
|
67093
67093
|
}
|
|
67094
67094
|
}
|
|
67095
67095
|
replaceWith(e, t) {
|
|
67096
67096
|
let n = e.steps.length, r = this.ranges;
|
|
67097
67097
|
for (let o = 0; o < r.length; o++) {
|
|
67098
67098
|
let { $from: i, $to: s } = r[o], a = e.mapping.slice(n), l = a.map(i.pos), c = a.map(s.pos);
|
|
67099
|
-
o ? e.deleteRange(l, c) : (e.replaceRangeWith(l, c, t),
|
|
67099
|
+
o ? e.deleteRange(l, c) : (e.replaceRangeWith(l, c, t), dB(e, n, t.isInline ? -1 : 1));
|
|
67100
67100
|
}
|
|
67101
67101
|
}
|
|
67102
67102
|
static findFrom(e, t, n = !1) {
|
|
@@ -67136,13 +67136,13 @@ var Gtt = class {
|
|
|
67136
67136
|
constructor(e, t) {
|
|
67137
67137
|
this.$from = e, this.$to = t;
|
|
67138
67138
|
}
|
|
67139
|
-
},
|
|
67140
|
-
function
|
|
67141
|
-
!
|
|
67139
|
+
}, cB = !1;
|
|
67140
|
+
function uB(e) {
|
|
67141
|
+
!cB && !e.parent.inlineContent && (cB = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + e.parent.type.name + ")"));
|
|
67142
67142
|
}
|
|
67143
67143
|
var yt = class Bf extends xt {
|
|
67144
67144
|
constructor(t, n = t) {
|
|
67145
|
-
|
|
67145
|
+
uB(t), uB(n), super(t, n);
|
|
67146
67146
|
}
|
|
67147
67147
|
get $cursor() {
|
|
67148
67148
|
return this.$anchor.pos == this.$head.pos ? this.$head : null;
|
|
@@ -67300,7 +67300,7 @@ function ju(e, t, n, r, o, i = !1) {
|
|
|
67300
67300
|
}
|
|
67301
67301
|
return null;
|
|
67302
67302
|
}
|
|
67303
|
-
function
|
|
67303
|
+
function dB(e, t, n) {
|
|
67304
67304
|
let r = e.steps.length - 1;
|
|
67305
67305
|
if (r < t) return;
|
|
67306
67306
|
let o = e.steps[r];
|
|
@@ -67310,7 +67310,7 @@ function d4(e, t, n) {
|
|
|
67310
67310
|
s == null && (s = u);
|
|
67311
67311
|
}), e.setSelection(xt.near(e.doc.resolve(s), n));
|
|
67312
67312
|
}
|
|
67313
|
-
var
|
|
67313
|
+
var hB = 1, fB = 2, pB = 4, jtt = class extends lne {
|
|
67314
67314
|
constructor(e) {
|
|
67315
67315
|
super(e.doc), this.curSelectionFor = 0, this.updated = 0, this.meta = /* @__PURE__ */ Object.create(null), this.time = Date.now(), this.curSelection = e.selection, this.storedMarks = e.storedMarks;
|
|
67316
67316
|
}
|
|
@@ -67319,13 +67319,13 @@ var h4 = 1, f4 = 2, p4 = 4, jtt = class extends lne {
|
|
|
67319
67319
|
}
|
|
67320
67320
|
setSelection(e) {
|
|
67321
67321
|
if (e.$from.doc != this.doc) throw new RangeError("Selection passed to setSelection must point at the current document");
|
|
67322
|
-
return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated |
|
|
67322
|
+
return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | hB) & -3, this.storedMarks = null, this;
|
|
67323
67323
|
}
|
|
67324
67324
|
get selectionSet() {
|
|
67325
|
-
return (this.updated &
|
|
67325
|
+
return (this.updated & hB) > 0;
|
|
67326
67326
|
}
|
|
67327
67327
|
setStoredMarks(e) {
|
|
67328
|
-
return this.storedMarks = e, this.updated |=
|
|
67328
|
+
return this.storedMarks = e, this.updated |= fB, this;
|
|
67329
67329
|
}
|
|
67330
67330
|
ensureMarks(e) {
|
|
67331
67331
|
return Kt.sameSet(this.storedMarks || this.selection.$from.marks(), e) || this.setStoredMarks(e), this;
|
|
@@ -67337,7 +67337,7 @@ var h4 = 1, f4 = 2, p4 = 4, jtt = class extends lne {
|
|
|
67337
67337
|
return this.ensureMarks(e.removeFromSet(this.storedMarks || this.selection.$head.marks()));
|
|
67338
67338
|
}
|
|
67339
67339
|
get storedMarksSet() {
|
|
67340
|
-
return (this.updated &
|
|
67340
|
+
return (this.updated & fB) > 0;
|
|
67341
67341
|
}
|
|
67342
67342
|
addStep(e, t) {
|
|
67343
67343
|
super.addStep(e, t), this.updated = this.updated & -3, this.storedMarks = null;
|
|
@@ -67380,18 +67380,18 @@ var h4 = 1, f4 = 2, p4 = 4, jtt = class extends lne {
|
|
|
67380
67380
|
return !0;
|
|
67381
67381
|
}
|
|
67382
67382
|
scrollIntoView() {
|
|
67383
|
-
return this.updated |=
|
|
67383
|
+
return this.updated |= pB, this;
|
|
67384
67384
|
}
|
|
67385
67385
|
get scrolledIntoView() {
|
|
67386
|
-
return (this.updated &
|
|
67386
|
+
return (this.updated & pB) > 0;
|
|
67387
67387
|
}
|
|
67388
67388
|
};
|
|
67389
|
-
function
|
|
67389
|
+
function mB(e, t) {
|
|
67390
67390
|
return !t || !e ? e : e.bind(t);
|
|
67391
67391
|
}
|
|
67392
67392
|
var Hf = class {
|
|
67393
67393
|
constructor(e, t, n) {
|
|
67394
|
-
this.name = e, this.init =
|
|
67394
|
+
this.name = e, this.init = mB(t.init, n), this.apply = mB(t.apply, n);
|
|
67395
67395
|
}
|
|
67396
67396
|
}, Ytt = [
|
|
67397
67397
|
new Hf("doc", {
|
|
@@ -67433,7 +67433,7 @@ var Hf = class {
|
|
|
67433
67433
|
this.plugins.push(n), this.pluginsByKey[n.key] = n, n.spec.state && this.fields.push(new Hf(n.key, n.spec.state, n));
|
|
67434
67434
|
});
|
|
67435
67435
|
}
|
|
67436
|
-
},
|
|
67436
|
+
}, gB = class $f {
|
|
67437
67437
|
constructor(t) {
|
|
67438
67438
|
this.config = t;
|
|
67439
67439
|
}
|
|
@@ -67853,7 +67853,7 @@ function ont(e, t = null) {
|
|
|
67853
67853
|
return a ? (r && r(n.tr.wrap(s, a).scrollIntoView()), !0) : !1;
|
|
67854
67854
|
};
|
|
67855
67855
|
}
|
|
67856
|
-
function
|
|
67856
|
+
function vB(e, t = null) {
|
|
67857
67857
|
return function(n, r) {
|
|
67858
67858
|
let o = !1;
|
|
67859
67859
|
for (let i = 0; i < n.selection.ranges.length && !o; i++) {
|
|
@@ -67886,14 +67886,14 @@ function fL(...e) {
|
|
|
67886
67886
|
return !1;
|
|
67887
67887
|
};
|
|
67888
67888
|
}
|
|
67889
|
-
var KT = fL(pne, gne, yne),
|
|
67889
|
+
var KT = fL(pne, gne, yne), yB = fL(pne, xne, wne), Hs = {
|
|
67890
67890
|
Enter: fL(Sne, Ane, Cne, ent),
|
|
67891
67891
|
"Mod-Enter": Tne,
|
|
67892
67892
|
Backspace: KT,
|
|
67893
67893
|
"Mod-Backspace": KT,
|
|
67894
67894
|
"Shift-Backspace": KT,
|
|
67895
|
-
Delete:
|
|
67896
|
-
"Mod-Delete":
|
|
67895
|
+
Delete: yB,
|
|
67896
|
+
"Mod-Delete": yB,
|
|
67897
67897
|
"Mod-a": nnt
|
|
67898
67898
|
}, Rne = {
|
|
67899
67899
|
"Ctrl-h": Hs.Backspace,
|
|
@@ -67989,9 +67989,9 @@ var sr = function(e) {
|
|
|
67989
67989
|
}, hnt = function() {
|
|
67990
67990
|
aE = null;
|
|
67991
67991
|
}, Gc = function(e, t, n, r) {
|
|
67992
|
-
return n && (
|
|
67992
|
+
return n && (bB(e, t, n, r, -1) || bB(e, t, n, r, 1));
|
|
67993
67993
|
}, fnt = /^(img|br|input|textarea|hr)$/i;
|
|
67994
|
-
function
|
|
67994
|
+
function bB(e, t, n, r, o) {
|
|
67995
67995
|
for (var i; ; ) {
|
|
67996
67996
|
if (e == n && t == r) return !0;
|
|
67997
67997
|
if (t == (o < 0 ? 0 : Go(e))) {
|
|
@@ -68074,9 +68074,9 @@ function ynt(e, t, n) {
|
|
|
68074
68074
|
};
|
|
68075
68075
|
}
|
|
68076
68076
|
}
|
|
68077
|
-
var gs = typeof navigator < "u" ? navigator : null,
|
|
68077
|
+
var gs = typeof navigator < "u" ? navigator : null, xB = typeof document < "u" ? document : null, Ll = gs && gs.userAgent || "", lE = /Edge\/(\d+)/.exec(Ll), Ine = /MSIE \d/.exec(Ll), cE = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ll), oo = !!(Ine || cE || lE), Ka = Ine ? document.documentMode : cE ? +cE[1] : lE ? +lE[1] : 0, qo = !oo && /gecko\/(\d+)/i.test(Ll);
|
|
68078
68078
|
qo && +(/Firefox\/(\d+)/.exec(Ll) || [0, 0])[1];
|
|
68079
|
-
var uE = !oo && /Chrome\/(\d+)/.exec(Ll), hr = !!uE, Lne = uE ? +uE[1] : 0, Ar = !oo && !!gs && /Apple Computer/.test(gs.vendor), Kd = Ar && (/Mobile\/\w+/.test(Ll) || !!gs && gs.maxTouchPoints > 2), $o = Kd || (gs ? /Mac/.test(gs.platform) : !1), One = gs ? /Win/.test(gs.platform) : !1, Ks = /Android \d/.test(Ll), jg = !!
|
|
68079
|
+
var uE = !oo && /Chrome\/(\d+)/.exec(Ll), hr = !!uE, Lne = uE ? +uE[1] : 0, Ar = !oo && !!gs && /Apple Computer/.test(gs.vendor), Kd = Ar && (/Mobile\/\w+/.test(Ll) || !!gs && gs.maxTouchPoints > 2), $o = Kd || (gs ? /Mac/.test(gs.platform) : !1), One = gs ? /Win/.test(gs.platform) : !1, Ks = /Android \d/.test(Ll), jg = !!xB && "webkitFontSmoothing" in xB.documentElement.style, bnt = jg ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
68080
68080
|
function xnt(e) {
|
|
68081
68081
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
68082
68082
|
return t ? {
|
|
@@ -68103,7 +68103,7 @@ function wnt(e) {
|
|
|
68103
68103
|
bottom: t.top + e.clientHeight * r
|
|
68104
68104
|
};
|
|
68105
68105
|
}
|
|
68106
|
-
function
|
|
68106
|
+
function wB(e, t, n) {
|
|
68107
68107
|
if (!dE(t) && t.left == 0) return;
|
|
68108
68108
|
let r = e.someProp("scrollThreshold") || 0, o = e.someProp("scrollMargin") || 5, i = e.dom.ownerDocument;
|
|
68109
68109
|
for (let s = n || e.dom; s; ) {
|
|
@@ -68413,11 +68413,11 @@ function Ont(e, t, n) {
|
|
|
68413
68413
|
return h != null && (a.caretBidiLevel = h), v;
|
|
68414
68414
|
}) : r.pos == r.start() || r.pos == r.end();
|
|
68415
68415
|
}
|
|
68416
|
-
var
|
|
68416
|
+
var SB = null, TB = null, AB = !1;
|
|
68417
68417
|
function _nt(e, t, n) {
|
|
68418
|
-
return
|
|
68418
|
+
return SB == t && TB == n ? AB : (SB = t, TB = n, AB = n == "up" || n == "down" ? Int(e, t, n) : Ont(e, t, n));
|
|
68419
68419
|
}
|
|
68420
|
-
var Xo = 0,
|
|
68420
|
+
var Xo = 0, CB = 1, nc = 2, xi = 3, Yg = class {
|
|
68421
68421
|
constructor(e, t, n, r) {
|
|
68422
68422
|
this.parent = e, this.children = t, this.dom = n, this.contentDOM = r, this.dirty = Xo, n.pmViewDesc = this;
|
|
68423
68423
|
}
|
|
@@ -68701,7 +68701,7 @@ var Xo = 0, C4 = 1, nc = 2, xi = 3, Yg = class {
|
|
|
68701
68701
|
if (n == i ? e <= i && t >= n : e < i && t > n) {
|
|
68702
68702
|
let s = n + o.border, a = i - o.border;
|
|
68703
68703
|
if (e >= s && t <= a) {
|
|
68704
|
-
this.dirty = e == n || t == i ? nc :
|
|
68704
|
+
this.dirty = e == n || t == i ? nc : CB, e == s && t == a && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = xi : o.markDirty(e - s, t - s);
|
|
68705
68705
|
return;
|
|
68706
68706
|
} else o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? nc : xi;
|
|
68707
68707
|
}
|
|
@@ -68712,7 +68712,7 @@ var Xo = 0, C4 = 1, nc = 2, xi = 3, Yg = class {
|
|
|
68712
68712
|
markParentsDirty() {
|
|
68713
68713
|
let e = 1;
|
|
68714
68714
|
for (let t = this.parent; t; t = t.parent, e++) {
|
|
68715
|
-
let n = e == 1 ? nc :
|
|
68715
|
+
let n = e == 1 ? nc : CB;
|
|
68716
68716
|
t.dirty < n && (t.dirty = n);
|
|
68717
68717
|
}
|
|
68718
68718
|
}
|
|
@@ -68933,7 +68933,7 @@ var Xo = 0, C4 = 1, nc = 2, xi = 3, Yg = class {
|
|
|
68933
68933
|
return this.node.isAtom;
|
|
68934
68934
|
}
|
|
68935
68935
|
};
|
|
68936
|
-
function
|
|
68936
|
+
function kB(e, t, n, r, o) {
|
|
68937
68937
|
Yne(r, t, e);
|
|
68938
68938
|
let i = new gd(void 0, e, t, n, r, r, r);
|
|
68939
68939
|
return i.contentDOM && i.updateChildren(o, 0), i;
|
|
@@ -69029,7 +69029,7 @@ function Une(e, t, n) {
|
|
|
69029
69029
|
let s = t[i], a = s.dom;
|
|
69030
69030
|
if (a.parentNode == e) {
|
|
69031
69031
|
for (; a != r; )
|
|
69032
|
-
r =
|
|
69032
|
+
r = EB(r), o = !0;
|
|
69033
69033
|
r = r.nextSibling;
|
|
69034
69034
|
} else
|
|
69035
69035
|
o = !0, e.insertBefore(a, r);
|
|
@@ -69039,7 +69039,7 @@ function Une(e, t, n) {
|
|
|
69039
69039
|
}
|
|
69040
69040
|
}
|
|
69041
69041
|
for (; r; )
|
|
69042
|
-
r =
|
|
69042
|
+
r = EB(r), o = !0;
|
|
69043
69043
|
o && n.trackWrites == e && (n.trackWrites = null);
|
|
69044
69044
|
}
|
|
69045
69045
|
var bp = function(e) {
|
|
@@ -69100,7 +69100,7 @@ function Nb(e, t) {
|
|
|
69100
69100
|
for (let n = 0; n < e.length; n++) if (!e[n].type.eq(t[n].type)) return !1;
|
|
69101
69101
|
return !0;
|
|
69102
69102
|
}
|
|
69103
|
-
function
|
|
69103
|
+
function EB(e) {
|
|
69104
69104
|
let t = e.nextSibling;
|
|
69105
69105
|
return e.parentNode.removeChild(e), t;
|
|
69106
69106
|
}
|
|
@@ -69384,12 +69384,12 @@ function Zs(e, t = !1) {
|
|
|
69384
69384
|
if (e.domObserver.disconnectSelection(), e.cursorWrapper) Unt(e);
|
|
69385
69385
|
else {
|
|
69386
69386
|
let { anchor: o, head: i } = n, s, a;
|
|
69387
|
-
|
|
69387
|
+
MB && !(n instanceof yt) && (n.$from.parent.inlineContent || (s = PB(e, n.from)), !n.empty && !n.$from.parent.inlineContent && (a = PB(e, n.to))), e.docView.setSelection(o, i, e, t), MB && (s && RB(s), a && RB(a)), n.visible ? e.dom.classList.remove("ProseMirror-hideselection") : (e.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && Wnt(e));
|
|
69388
69388
|
}
|
|
69389
69389
|
e.domObserver.setCurSelection(), e.domObserver.connectSelection();
|
|
69390
69390
|
}
|
|
69391
|
-
var
|
|
69392
|
-
function
|
|
69391
|
+
var MB = Ar || hr && Lne < 63;
|
|
69392
|
+
function PB(e, t) {
|
|
69393
69393
|
let { node: n, offset: r } = e.docView.domFromPos(t, 0), o = r < n.childNodes.length ? n.childNodes[r] : null, i = r ? n.childNodes[r - 1] : null;
|
|
69394
69394
|
if (Ar && o && o.contentEditable == "false") return XT(o);
|
|
69395
69395
|
if ((!o || o.contentEditable == "false") && (!i || i.contentEditable == "false")) {
|
|
@@ -69400,7 +69400,7 @@ function P4(e, t) {
|
|
|
69400
69400
|
function XT(e) {
|
|
69401
69401
|
return e.contentEditable = "true", Ar && e.draggable && (e.draggable = !1, e.wasDraggable = !0), e;
|
|
69402
69402
|
}
|
|
69403
|
-
function
|
|
69403
|
+
function RB(e) {
|
|
69404
69404
|
e.contentEditable = "false", e.wasDraggable && (e.draggable = !0, e.wasDraggable = null);
|
|
69405
69405
|
}
|
|
69406
69406
|
function Wnt(e) {
|
|
@@ -69422,16 +69422,16 @@ function Unt(e) {
|
|
|
69422
69422
|
function qne(e, t) {
|
|
69423
69423
|
if (t instanceof it) {
|
|
69424
69424
|
let n = e.docView.descAt(t.from);
|
|
69425
|
-
n != e.lastSelectedViewDesc && (
|
|
69426
|
-
} else
|
|
69425
|
+
n != e.lastSelectedViewDesc && (IB(e), n && n.selectNode(), e.lastSelectedViewDesc = n);
|
|
69426
|
+
} else IB(e);
|
|
69427
69427
|
}
|
|
69428
|
-
function
|
|
69428
|
+
function IB(e) {
|
|
69429
69429
|
e.lastSelectedViewDesc && (e.lastSelectedViewDesc.parent && e.lastSelectedViewDesc.deselectNode(), e.lastSelectedViewDesc = void 0);
|
|
69430
69430
|
}
|
|
69431
69431
|
function gL(e, t, n, r) {
|
|
69432
69432
|
return e.someProp("createSelectionBetween", (o) => o(e, t, n)) || yt.between(t, n, r);
|
|
69433
69433
|
}
|
|
69434
|
-
function
|
|
69434
|
+
function LB(e) {
|
|
69435
69435
|
return e.editable && !e.hasFocus() ? !1 : Xne(e);
|
|
69436
69436
|
}
|
|
69437
69437
|
function Xne(e) {
|
|
@@ -69454,7 +69454,7 @@ function mE(e, t) {
|
|
|
69454
69454
|
function Oa(e, t) {
|
|
69455
69455
|
return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()), !0;
|
|
69456
69456
|
}
|
|
69457
|
-
function
|
|
69457
|
+
function OB(e, t, n) {
|
|
69458
69458
|
let r = e.state.selection;
|
|
69459
69459
|
if (r instanceof yt)
|
|
69460
69460
|
if (n.indexOf("s") > -1) {
|
|
@@ -69588,7 +69588,7 @@ function gE(e, t, n) {
|
|
|
69588
69588
|
e.state == o && Zs(e);
|
|
69589
69589
|
}, 50);
|
|
69590
69590
|
}
|
|
69591
|
-
function
|
|
69591
|
+
function _B(e, t) {
|
|
69592
69592
|
let n = e.state.doc.resolve(t);
|
|
69593
69593
|
if (!(hr || One) && n.parent.inlineContent) {
|
|
69594
69594
|
let r = e.coordsAtPos(t);
|
|
@@ -69603,7 +69603,7 @@ function _4(e, t) {
|
|
|
69603
69603
|
}
|
|
69604
69604
|
return getComputedStyle(e.dom).direction == "rtl" ? "rtl" : "ltr";
|
|
69605
69605
|
}
|
|
69606
|
-
function
|
|
69606
|
+
function DB(e, t, n) {
|
|
69607
69607
|
let r = e.state.selection;
|
|
69608
69608
|
if (r instanceof yt && !r.empty || n.indexOf("s") > -1 || $o && n.indexOf("m") > -1) return !1;
|
|
69609
69609
|
let { $from: o, $to: i } = r;
|
|
@@ -69617,7 +69617,7 @@ function D4(e, t, n) {
|
|
|
69617
69617
|
}
|
|
69618
69618
|
return !1;
|
|
69619
69619
|
}
|
|
69620
|
-
function
|
|
69620
|
+
function NB(e, t) {
|
|
69621
69621
|
if (!(e.state.selection instanceof yt)) return !0;
|
|
69622
69622
|
let { $head: n, $anchor: r, empty: o } = e.state.selection;
|
|
69623
69623
|
if (!n.sameParent(r)) return !0;
|
|
@@ -69630,7 +69630,7 @@ function N4(e, t) {
|
|
|
69630
69630
|
}
|
|
69631
69631
|
return !1;
|
|
69632
69632
|
}
|
|
69633
|
-
function
|
|
69633
|
+
function FB(e, t, n) {
|
|
69634
69634
|
e.domObserver.stop(), t.contentEditable = n, e.domObserver.start();
|
|
69635
69635
|
}
|
|
69636
69636
|
function Jnt(e) {
|
|
@@ -69638,7 +69638,7 @@ function Jnt(e) {
|
|
|
69638
69638
|
let { focusNode: t, focusOffset: n } = e.domSelectionRange();
|
|
69639
69639
|
if (t && t.nodeType == 1 && n == 0 && t.firstChild && t.firstChild.contentEditable == "false") {
|
|
69640
69640
|
let r = t.firstChild;
|
|
69641
|
-
|
|
69641
|
+
FB(e, r, "true"), setTimeout(() => FB(e, r, "false"), 20);
|
|
69642
69642
|
}
|
|
69643
69643
|
return !1;
|
|
69644
69644
|
}
|
|
@@ -69648,18 +69648,18 @@ function Qnt(e) {
|
|
|
69648
69648
|
}
|
|
69649
69649
|
function Znt(e, t) {
|
|
69650
69650
|
let n = t.keyCode, r = Qnt(t);
|
|
69651
|
-
if (n == 8 || $o && n == 72 && r == "c") return
|
|
69652
|
-
if (n == 46 && !t.shiftKey || $o && n == 68 && r == "c") return
|
|
69651
|
+
if (n == 8 || $o && n == 72 && r == "c") return NB(e, -1) || Nu(e, -1);
|
|
69652
|
+
if (n == 46 && !t.shiftKey || $o && n == 68 && r == "c") return NB(e, 1) || Nu(e, 1);
|
|
69653
69653
|
if (n == 13 || n == 27) return !0;
|
|
69654
69654
|
if (n == 37 || $o && n == 66 && r == "c") {
|
|
69655
|
-
let o = n == 37 ?
|
|
69656
|
-
return
|
|
69655
|
+
let o = n == 37 ? _B(e, e.state.selection.from) == "ltr" ? -1 : 1 : -1;
|
|
69656
|
+
return OB(e, o, r) || Nu(e, o);
|
|
69657
69657
|
} else if (n == 39 || $o && n == 70 && r == "c") {
|
|
69658
|
-
let o = n == 39 ?
|
|
69659
|
-
return
|
|
69658
|
+
let o = n == 39 ? _B(e, e.state.selection.from) == "ltr" ? 1 : -1 : 1;
|
|
69659
|
+
return OB(e, o, r) || Nu(e, o);
|
|
69660
69660
|
} else {
|
|
69661
|
-
if (n == 38 || $o && n == 80 && r == "c") return
|
|
69662
|
-
if (n == 40 || $o && n == 78 && r == "c") return Jnt(e) ||
|
|
69661
|
+
if (n == 38 || $o && n == 80 && r == "c") return DB(e, -1, r) || Nu(e, -1);
|
|
69662
|
+
if (n == 40 || $o && n == 78 && r == "c") return Jnt(e) || DB(e, 1, r) || Nu(e, 1);
|
|
69663
69663
|
if (r == ($o ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90)) return !0;
|
|
69664
69664
|
}
|
|
69665
69665
|
return !1;
|
|
@@ -69731,12 +69731,12 @@ function Qne(e, t, n, r, o) {
|
|
|
69731
69731
|
ruleFromNode(d) {
|
|
69732
69732
|
return d.nodeName == "BR" && !d.nextSibling && d.parentNode && !ert.test(d.parentNode.nodeName) ? { ignore: !0 } : null;
|
|
69733
69733
|
}
|
|
69734
|
-
})), u) a = irt(
|
|
69734
|
+
})), u) a = irt(BB(a, +u[1], +u[2]), u[4]);
|
|
69735
69735
|
else if (a = Ne.maxOpen(trt(a.content, o), !0), a.openStart || a.openEnd) {
|
|
69736
69736
|
let d = 0, h = 0;
|
|
69737
69737
|
for (let f = a.content.firstChild; d < a.openStart && !f.type.spec.isolating; d++, f = f.firstChild) ;
|
|
69738
69738
|
for (let f = a.content.lastChild; h < a.openEnd && !f.type.spec.isolating; h++, f = f.lastChild) ;
|
|
69739
|
-
a =
|
|
69739
|
+
a = BB(a, d, h);
|
|
69740
69740
|
}
|
|
69741
69741
|
return e.someProp("transformPasted", (d) => {
|
|
69742
69742
|
a = d(a, e, l);
|
|
@@ -69781,7 +69781,7 @@ function vE(e, t, n, r, o, i) {
|
|
|
69781
69781
|
let s = t < 0 ? e.firstChild : e.lastChild, a = s.content;
|
|
69782
69782
|
return e.childCount > 1 && (i = 0), o < r - 1 && (a = vE(a, t, n, r, o + 1, i)), o >= n && (a = t < 0 ? s.contentMatchAt(0).fillBefore(a, i <= o).append(a) : a.append(s.contentMatchAt(s.childCount).fillBefore(Se.empty, !0))), e.replaceChild(t < 0 ? 0 : e.childCount - 1, s.copy(a));
|
|
69783
69783
|
}
|
|
69784
|
-
function
|
|
69784
|
+
function BB(e, t, n) {
|
|
69785
69785
|
return t < e.openStart && (e = new Ne(vE(e.content, -1, t, e.openStart, 0, e.openEnd), t, e.openEnd)), n < e.openEnd && (e = new Ne(vE(e.content, 1, n, e.openEnd, 0, 0), e.openStart, n)), e;
|
|
69786
69786
|
}
|
|
69787
69787
|
var nre = {
|
|
@@ -70315,7 +70315,7 @@ function Dm(e, t) {
|
|
|
70315
70315
|
for (let n in t) if (!(n in e)) return !1;
|
|
70316
70316
|
return !0;
|
|
70317
70317
|
}
|
|
70318
|
-
var
|
|
70318
|
+
var VB = class fre {
|
|
70319
70319
|
constructor(t, n) {
|
|
70320
70320
|
this.toDOM = t, this.spec = n || wc, this.side = this.spec.side || 0;
|
|
70321
70321
|
}
|
|
@@ -70384,7 +70384,7 @@ var V4 = class fre {
|
|
|
70384
70384
|
return this.type.map(t, this, n, r);
|
|
70385
70385
|
}
|
|
70386
70386
|
static widget(t, n, r) {
|
|
70387
|
-
return new zf(t, t, new
|
|
70387
|
+
return new zf(t, t, new VB(n, r));
|
|
70388
70388
|
}
|
|
70389
70389
|
static inline(t, n, r, o) {
|
|
70390
70390
|
return new zf(t, n, new wp(r, o));
|
|
@@ -70399,7 +70399,7 @@ var V4 = class fre {
|
|
|
70399
70399
|
return this.type instanceof wp;
|
|
70400
70400
|
}
|
|
70401
70401
|
get widget() {
|
|
70402
|
-
return this.type instanceof
|
|
70402
|
+
return this.type instanceof VB;
|
|
70403
70403
|
}
|
|
70404
70404
|
}, Yu = [], wc = {}, bn = class Ra {
|
|
70405
70405
|
constructor(t, n) {
|
|
@@ -70661,17 +70661,17 @@ function wL(e) {
|
|
|
70661
70661
|
if (r.from != r.to) for (let o = n + 1; o < t.length; o++) {
|
|
70662
70662
|
let i = t[o];
|
|
70663
70663
|
if (i.from == r.from) {
|
|
70664
|
-
i.to != r.to && (t == e && (t = e.slice()), t[o] = i.copy(i.from, r.to),
|
|
70664
|
+
i.to != r.to && (t == e && (t = e.slice()), t[o] = i.copy(i.from, r.to), HB(t, o + 1, i.copy(r.to, i.to)));
|
|
70665
70665
|
continue;
|
|
70666
70666
|
} else {
|
|
70667
|
-
i.from < r.to && (t == e && (t = e.slice()), t[n] = r.copy(r.from, i.from),
|
|
70667
|
+
i.from < r.to && (t == e && (t = e.slice()), t[n] = r.copy(r.from, i.from), HB(t, o, r.copy(i.from, r.to)));
|
|
70668
70668
|
break;
|
|
70669
70669
|
}
|
|
70670
70670
|
}
|
|
70671
70671
|
}
|
|
70672
70672
|
return t;
|
|
70673
70673
|
}
|
|
70674
|
-
function
|
|
70674
|
+
function HB(e, t, n) {
|
|
70675
70675
|
for (; t < e.length && Sc(n, e[t]) > 0; ) t++;
|
|
70676
70676
|
e.splice(t, 0, n);
|
|
70677
70677
|
}
|
|
@@ -70747,7 +70747,7 @@ var Lrt = {
|
|
|
70747
70747
|
this.suppressingSelectionUpdates = !0, setTimeout(() => this.suppressingSelectionUpdates = !1, 50);
|
|
70748
70748
|
}
|
|
70749
70749
|
onSelectionChange() {
|
|
70750
|
-
if (
|
|
70750
|
+
if (LB(this.view)) {
|
|
70751
70751
|
if (this.suppressingSelectionUpdates) return Zs(this.view);
|
|
70752
70752
|
if (oo && Ka <= 11 && !this.view.state.selection.empty) {
|
|
70753
70753
|
let e = this.view.domSelectionRange();
|
|
@@ -70783,7 +70783,7 @@ var Lrt = {
|
|
|
70783
70783
|
if (!e.docView || this.flushingSoon > -1) return;
|
|
70784
70784
|
let t = this.pendingRecords();
|
|
70785
70785
|
t.length && (this.queue = []);
|
|
70786
|
-
let n = e.domSelectionRange(), r = !this.suppressingSelectionUpdates && !this.currentSelection.eq(n) &&
|
|
70786
|
+
let n = e.domSelectionRange(), r = !this.suppressingSelectionUpdates && !this.currentSelection.eq(n) && LB(e) && !this.ignoreSelectionChange(n), o = -1, i = -1, s = !1, a = [];
|
|
70787
70787
|
if (e.editable) for (let c = 0; c < t.length; c++) {
|
|
70788
70788
|
let u = this.registerMutation(t[c], a);
|
|
70789
70789
|
u && (o = o < 0 ? u.from : Math.min(u.from, o), i = i < 0 ? u.to : Math.max(u.to, i), u.typeOver && (s = !0));
|
|
@@ -70847,18 +70847,18 @@ var Lrt = {
|
|
|
70847
70847
|
typeOver: e.target.nodeValue == e.oldValue
|
|
70848
70848
|
});
|
|
70849
70849
|
}
|
|
70850
|
-
}, $
|
|
70850
|
+
}, $B = /* @__PURE__ */ new WeakMap(), zB = !1;
|
|
70851
70851
|
function Nrt(e) {
|
|
70852
|
-
if (!$
|
|
70852
|
+
if (!$B.has(e) && ($B.set(e, null), [
|
|
70853
70853
|
"normal",
|
|
70854
70854
|
"nowrap",
|
|
70855
70855
|
"pre-line"
|
|
70856
70856
|
].indexOf(getComputedStyle(e.dom).whiteSpace) !== -1)) {
|
|
70857
|
-
if (e.requiresGeckoHackNode = qo,
|
|
70858
|
-
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),
|
|
70857
|
+
if (e.requiresGeckoHackNode = qo, zB) return;
|
|
70858
|
+
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), zB = !0;
|
|
70859
70859
|
}
|
|
70860
70860
|
}
|
|
70861
|
-
function
|
|
70861
|
+
function GB(e, t) {
|
|
70862
70862
|
let n = t.startContainer, r = t.startOffset, o = t.endContainer, i = t.endOffset, s = e.domAtPos(e.state.selection.anchor);
|
|
70863
70863
|
return Gc(s.node, s.offset, o, i) && ([n, r, o, i] = [
|
|
70864
70864
|
o,
|
|
@@ -70875,13 +70875,13 @@ function G4(e, t) {
|
|
|
70875
70875
|
function Frt(e, t) {
|
|
70876
70876
|
if (t.getComposedRanges) {
|
|
70877
70877
|
let o = t.getComposedRanges(e.root)[0];
|
|
70878
|
-
if (o) return
|
|
70878
|
+
if (o) return GB(e, o);
|
|
70879
70879
|
}
|
|
70880
70880
|
let n;
|
|
70881
70881
|
function r(o) {
|
|
70882
70882
|
o.preventDefault(), o.stopImmediatePropagation(), n = o.getTargetRanges()[0];
|
|
70883
70883
|
}
|
|
70884
|
-
return e.dom.addEventListener("beforeinput", r, !0), document.execCommand("indent"), e.dom.removeEventListener("beforeinput", r, !0), n ?
|
|
70884
|
+
return e.dom.addEventListener("beforeinput", r, !0), document.execCommand("indent"), e.dom.removeEventListener("beforeinput", r, !0), n ? GB(e, n) : null;
|
|
70885
70885
|
}
|
|
70886
70886
|
function Brt(e, t) {
|
|
70887
70887
|
for (let n = t.parentNode; n && n != e.dom; n = n.parentNode) {
|
|
@@ -70986,7 +70986,7 @@ function Grt(e, t, n, r, o) {
|
|
|
70986
70986
|
};
|
|
70987
70987
|
else {
|
|
70988
70988
|
if (c.sel) {
|
|
70989
|
-
let M =
|
|
70989
|
+
let M = WB(e, e.state.doc, c.sel);
|
|
70990
70990
|
if (M && !M.eq(e.state.selection)) {
|
|
70991
70991
|
let w = e.state.tr.setSelection(M);
|
|
70992
70992
|
i && w.setMeta("composition", i), e.dispatch(w);
|
|
@@ -71012,7 +71012,7 @@ function Grt(e, t, n, r, o) {
|
|
|
71012
71012
|
let x = p.start, S = p.endA, A = (M) => {
|
|
71013
71013
|
let w = M || e.state.tr.replace(x, S, c.doc.slice(p.start - c.from, p.endB - c.from));
|
|
71014
71014
|
if (c.sel) {
|
|
71015
|
-
let P =
|
|
71015
|
+
let P = WB(e, w.doc, c.sel);
|
|
71016
71016
|
P && !(hr && e.composing && P.empty && (p.start != p.endB || e.input.lastChromeDelete < Date.now() - 100) && (P.head == x || P.head == w.mapping.map(S) - 1) || oo && P.empty && P.head == x) && w.setSelection(P);
|
|
71017
71017
|
}
|
|
71018
71018
|
return i && w.setMeta("composition", i), w.scrollIntoView();
|
|
@@ -71030,7 +71030,7 @@ function Grt(e, t, n, r, o) {
|
|
|
71030
71030
|
} else e.dispatch(A());
|
|
71031
71031
|
else e.dispatch(A());
|
|
71032
71032
|
}
|
|
71033
|
-
function
|
|
71033
|
+
function WB(e, t, n) {
|
|
71034
71034
|
return Math.max(n.anchor, n.head) > t.content.size ? null : gL(e, t.resolve(n.anchor), t.resolve(n.head));
|
|
71035
71035
|
}
|
|
71036
71036
|
function Wrt(e, t) {
|
|
@@ -71094,7 +71094,7 @@ function jrt(e, t, n, r, o) {
|
|
|
71094
71094
|
}
|
|
71095
71095
|
var bre = class {
|
|
71096
71096
|
constructor(e, t) {
|
|
71097
|
-
this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new art(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach(
|
|
71097
|
+
this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new art(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach(qB), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = YB(this), jB(this), this.nodeViews = KB(this), this.docView = kB(this.state.doc, UB(this), JT(this), this.dom, this), this.domObserver = new Drt(this, (n, r, o, i) => Grt(this, n, r, o, i)), this.domObserver.start(), lrt(this), this.updatePluginViews();
|
|
71098
71098
|
}
|
|
71099
71099
|
get composing() {
|
|
71100
71100
|
return this.input.composing;
|
|
@@ -71111,7 +71111,7 @@ var bre = class {
|
|
|
71111
71111
|
update(e) {
|
|
71112
71112
|
e.handleDOMEvents != this._props.handleDOMEvents && yE(this);
|
|
71113
71113
|
let t = this._props;
|
|
71114
|
-
this._props = e, e.plugins && (e.plugins.forEach(
|
|
71114
|
+
this._props = e, e.plugins && (e.plugins.forEach(qB), this.directPlugins = e.plugins), this.updateStateInner(e.state, t);
|
|
71115
71115
|
}
|
|
71116
71116
|
setProps(e) {
|
|
71117
71117
|
let t = {};
|
|
@@ -71129,11 +71129,11 @@ var bre = class {
|
|
|
71129
71129
|
e.storedMarks && this.composing && (cre(this), i = !0), this.state = e;
|
|
71130
71130
|
let s = r.plugins != e.plugins || this._props.plugins != t.plugins;
|
|
71131
71131
|
if (s || this._props.plugins != t.plugins || this._props.nodeViews != t.nodeViews) {
|
|
71132
|
-
let h =
|
|
71132
|
+
let h = KB(this);
|
|
71133
71133
|
Krt(h, this.nodeViews) && (this.nodeViews = h, o = !0);
|
|
71134
71134
|
}
|
|
71135
|
-
(s || t.handleDOMEvents != this._props.handleDOMEvents) && yE(this), this.editable =
|
|
71136
|
-
let a = JT(this), l =
|
|
71135
|
+
(s || t.handleDOMEvents != this._props.handleDOMEvents) && yE(this), this.editable = YB(this), jB(this);
|
|
71136
|
+
let a = JT(this), l = UB(this), c = r.plugins != e.plugins && !r.doc.eq(e.doc) ? "reset" : e.scrollToSelection > r.scrollToSelection ? "to selection" : "preserve", u = o || !this.docView.matchesNode(e.doc, l, a);
|
|
71137
71137
|
(u || !e.selection.eq(r.selection)) && (i = !0);
|
|
71138
71138
|
let d = c == "preserve" && i && this.dom.style.overflowAnchor == null && Snt(this);
|
|
71139
71139
|
if (i) {
|
|
@@ -71141,7 +71141,7 @@ var bre = class {
|
|
|
71141
71141
|
let h = u && (oo || hr) && !this.composing && !r.selection.empty && !e.selection.empty && Yrt(r.selection, e.selection);
|
|
71142
71142
|
if (u) {
|
|
71143
71143
|
let p = hr ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
71144
|
-
this.composing && (this.input.compositionNode = Trt(this)), (o || !this.docView.update(e.doc, l, a, this)) && (this.docView.updateOuterDeco(l), this.docView.destroy(), this.docView =
|
|
71144
|
+
this.composing && (this.input.compositionNode = Trt(this)), (o || !this.docView.update(e.doc, l, a, this)) && (this.docView.updateOuterDeco(l), this.docView.destroy(), this.docView = kB(e.doc, l, a, this.dom, this)), p && (!this.trackWrites || !this.dom.contains(this.trackWrites)) && (h = !0);
|
|
71145
71145
|
}
|
|
71146
71146
|
let f = this.input.mouseDown;
|
|
71147
71147
|
h || !(f && this.domObserver.currentSelection.eq(this.domSelectionRange()) && jnt(this) && f.delaySelUpdate()) ? Zs(this, h) : (qne(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
@@ -71153,8 +71153,8 @@ var bre = class {
|
|
|
71153
71153
|
if (!(!e || !this.dom.contains(e.nodeType == 1 ? e : e.parentNode))) {
|
|
71154
71154
|
if (!this.someProp("handleScrollToSelection", (t) => t(this))) if (this.state.selection instanceof it) {
|
|
71155
71155
|
let t = this.docView.domAfterPos(this.state.selection.from);
|
|
71156
|
-
t.nodeType == 1 &&
|
|
71157
|
-
} else
|
|
71156
|
+
t.nodeType == 1 && wB(this, t.getBoundingClientRect(), e);
|
|
71157
|
+
} else wB(this, this.coordsAtPos(this.state.selection.head, 1), e);
|
|
71158
71158
|
}
|
|
71159
71159
|
}
|
|
71160
71160
|
destroyPluginViews() {
|
|
@@ -71282,14 +71282,14 @@ bre.prototype.dispatch = function(e) {
|
|
|
71282
71282
|
let t = this._props.dispatchTransaction;
|
|
71283
71283
|
t ? t.call(this, e) : this.updateState(this.state.apply(e));
|
|
71284
71284
|
};
|
|
71285
|
-
function
|
|
71285
|
+
function UB(e) {
|
|
71286
71286
|
let t = /* @__PURE__ */ Object.create(null);
|
|
71287
71287
|
return t.class = "ProseMirror", t.contenteditable = String(e.editable), e.someProp("attributes", (n) => {
|
|
71288
71288
|
if (typeof n == "function" && (n = n(e.state)), n)
|
|
71289
71289
|
for (let r in n) r == "class" ? t.class += " " + n[r] : r == "style" ? t.style = (t.style ? t.style + ";" : "") + n[r] : !t[r] && r != "contenteditable" && r != "nodeName" && (t[r] = String(n[r]));
|
|
71290
71290
|
}), t.translate || (t.translate = "no"), [ks.node(0, e.state.doc.content.size, t)];
|
|
71291
71291
|
}
|
|
71292
|
-
function
|
|
71292
|
+
function jB(e) {
|
|
71293
71293
|
if (e.markCursor) {
|
|
71294
71294
|
let t = document.createElement("img");
|
|
71295
71295
|
t.className = "ProseMirror-separator", t.setAttribute("mark-placeholder", "true"), t.setAttribute("alt", ""), e.cursorWrapper = {
|
|
@@ -71301,14 +71301,14 @@ function j4(e) {
|
|
|
71301
71301
|
};
|
|
71302
71302
|
} else e.cursorWrapper = null;
|
|
71303
71303
|
}
|
|
71304
|
-
function
|
|
71304
|
+
function YB(e) {
|
|
71305
71305
|
return !e.someProp("editable", (t) => t(e.state) === !1);
|
|
71306
71306
|
}
|
|
71307
71307
|
function Yrt(e, t) {
|
|
71308
71308
|
let n = Math.min(e.$anchor.sharedDepth(e.head), t.$anchor.sharedDepth(t.head));
|
|
71309
71309
|
return e.$anchor.start(n) != t.$anchor.start(n);
|
|
71310
71310
|
}
|
|
71311
|
-
function
|
|
71311
|
+
function KB(e) {
|
|
71312
71312
|
let t = /* @__PURE__ */ Object.create(null);
|
|
71313
71313
|
function n(r) {
|
|
71314
71314
|
for (let o in r) Object.prototype.hasOwnProperty.call(t, o) || (t[o] = r[o]);
|
|
@@ -71324,7 +71324,7 @@ function Krt(e, t) {
|
|
|
71324
71324
|
for (let o in t) r++;
|
|
71325
71325
|
return n != r;
|
|
71326
71326
|
}
|
|
71327
|
-
function
|
|
71327
|
+
function qB(e) {
|
|
71328
71328
|
if (e.spec.state || e.spec.filterTransaction || e.spec.appendTransaction) throw new RangeError("Plugins passed directly to the view must not have a state component");
|
|
71329
71329
|
}
|
|
71330
71330
|
var sl = {
|
|
@@ -71619,13 +71619,13 @@ var uot = (e) => ({ tr: t, state: n, dispatch: r }) => {
|
|
|
71619
71619
|
}, dot = (e) => ({ tr: t, dispatch: n }) => {
|
|
71620
71620
|
const { from: r, to: o } = e;
|
|
71621
71621
|
return n && t.delete(r, o), !0;
|
|
71622
|
-
}, hot = (e) => e.content ? /^text(\*|\+)/.test(e.content) : !1,
|
|
71622
|
+
}, hot = (e) => e.content ? /^text(\*|\+)/.test(e.content) : !1, XB = (e, t, n) => {
|
|
71623
71623
|
if (!e.parent.isInline || n === "left" && e.pos > e.start() || n === "right" && e.pos < e.end()) return e.pos;
|
|
71624
71624
|
const r = t.nodes[e.parent.type.name].spec;
|
|
71625
71625
|
return hot(r) ? n === "left" ? e.start() - 1 : e.end() + 1 : e.pos;
|
|
71626
71626
|
}, fot = (e, t, n) => ({
|
|
71627
|
-
from:
|
|
71628
|
-
to:
|
|
71627
|
+
from: XB(e, n, "left"),
|
|
71628
|
+
to: XB(t, n, "right")
|
|
71629
71629
|
}), pot = () => ({ state: e, dispatch: t }) => {
|
|
71630
71630
|
if (e.selection.empty) return !1;
|
|
71631
71631
|
if (t) {
|
|
@@ -71647,7 +71647,7 @@ function $b(e, t, n = { strict: !0 }) {
|
|
|
71647
71647
|
function Sre(e, t, n = {}) {
|
|
71648
71648
|
return e.find((r) => r.type === t && $b(Object.fromEntries(Object.keys(n).map((o) => [o, r.attrs[o]])), n));
|
|
71649
71649
|
}
|
|
71650
|
-
function
|
|
71650
|
+
function JB(e, t, n = {}) {
|
|
71651
71651
|
return !!Sre(e, t, n);
|
|
71652
71652
|
}
|
|
71653
71653
|
function TL(e, t, n) {
|
|
@@ -71660,9 +71660,9 @@ function TL(e, t, n) {
|
|
|
71660
71660
|
}
|
|
71661
71661
|
if (!Sre([...r.node.marks], t, n)) return;
|
|
71662
71662
|
let o = r.index, i = e.start() + r.offset, s = o + 1, a = i + r.node.nodeSize;
|
|
71663
|
-
for (; o > 0 &&
|
|
71663
|
+
for (; o > 0 && JB([...e.parent.child(o - 1).marks], t, n); )
|
|
71664
71664
|
o -= 1, i -= e.parent.child(o).nodeSize;
|
|
71665
|
-
for (; s < e.parent.childCount &&
|
|
71665
|
+
for (; s < e.parent.childCount && JB([...e.parent.child(s).marks], t, n); )
|
|
71666
71666
|
a += e.parent.child(s).nodeSize, s += 1;
|
|
71667
71667
|
return {
|
|
71668
71668
|
from: i,
|
|
@@ -71705,7 +71705,7 @@ function xE(e, t = null) {
|
|
|
71705
71705
|
const o = n.from, i = r.to;
|
|
71706
71706
|
return t === "all" ? yt.create(e, oc(0, o, i), oc(e.content.size, o, i)) : yt.create(e, oc(t, o, i), oc(t, o, i));
|
|
71707
71707
|
}
|
|
71708
|
-
function
|
|
71708
|
+
function QB() {
|
|
71709
71709
|
return ["Android"].includes(navigator.platform) || /android/i.test(navigator.userAgent);
|
|
71710
71710
|
}
|
|
71711
71711
|
function zb() {
|
|
@@ -71727,7 +71727,7 @@ var xot = (e = null, t = {}) => ({ editor: n, view: r, tr: o, dispatch: i }) =>
|
|
|
71727
71727
|
...t
|
|
71728
71728
|
};
|
|
71729
71729
|
const s = () => {
|
|
71730
|
-
(zb() ||
|
|
71730
|
+
(zb() || QB()) && r.dom.focus(), bot() && !zb() && !QB() && r.dom.focus({ preventScroll: !0 }), requestAnimationFrame(() => {
|
|
71731
71731
|
n.isDestroyed || (r.focus(), t?.scrollIntoView && n.commands.scrollIntoView());
|
|
71732
71732
|
});
|
|
71733
71733
|
};
|
|
@@ -71983,7 +71983,7 @@ var Dot = (e, t = {}) => ({ state: n, dispatch: r }) => Nm(n, er(e, n.schema), t
|
|
|
71983
71983
|
function Ww(e, t) {
|
|
71984
71984
|
return t.nodes[e] ? "node" : t.marks[e] ? "mark" : null;
|
|
71985
71985
|
}
|
|
71986
|
-
function
|
|
71986
|
+
function ZB(e, t) {
|
|
71987
71987
|
const n = typeof t == "string" ? [t] : t;
|
|
71988
71988
|
return Object.keys(e).reduce((r, o) => (n.includes(o) || (r[o] = e[o]), r), {});
|
|
71989
71989
|
}
|
|
@@ -71995,8 +71995,8 @@ var Vot = (e, t) => ({ tr: n, state: r, dispatch: o }) => {
|
|
|
71995
71995
|
let l = !1;
|
|
71996
71996
|
return n.selection.ranges.forEach((c) => {
|
|
71997
71997
|
r.doc.nodesBetween(c.$from.pos, c.$to.pos, (u, d) => {
|
|
71998
|
-
i && i === u.type && (l = !0, o && n.setNodeMarkup(d, void 0,
|
|
71999
|
-
s === h.type && (l = !0, o && n.addMark(d, d + u.nodeSize, s.create(
|
|
71998
|
+
i && i === u.type && (l = !0, o && n.setNodeMarkup(d, void 0, ZB(u.attrs, t))), s && u.marks.length && u.marks.forEach((h) => {
|
|
71999
|
+
s === h.type && (l = !0, o && n.addMark(d, d + u.nodeSize, s.create(ZB(h.attrs, t))));
|
|
72000
72000
|
});
|
|
72001
72001
|
});
|
|
72002
72002
|
}), l;
|
|
@@ -72606,10 +72606,10 @@ var dit = (e, t = {}) => ({ tr: n, state: r, dispatch: o }) => {
|
|
|
72606
72606
|
}, hit = (e, t) => ({ tr: n }) => (n.setMeta(e, t), !0), fit = (e, t = {}) => ({ state: n, dispatch: r, chain: o }) => {
|
|
72607
72607
|
const i = er(e, n.schema);
|
|
72608
72608
|
let s;
|
|
72609
|
-
return n.selection.$anchor.sameParent(n.selection.$head) && (s = n.selection.$anchor.parent.attrs), i.isTextblock ? o().command(({ commands: a }) =>
|
|
72609
|
+
return n.selection.$anchor.sameParent(n.selection.$head) && (s = n.selection.$anchor.parent.attrs), i.isTextblock ? o().command(({ commands: a }) => vB(i, {
|
|
72610
72610
|
...s,
|
|
72611
72611
|
...t
|
|
72612
|
-
})(n) ? !0 : a.clearNodes()).command(({ state: a }) =>
|
|
72612
|
+
})(n) ? !0 : a.clearNodes()).command(({ state: a }) => vB(i, {
|
|
72613
72613
|
...s,
|
|
72614
72614
|
...t
|
|
72615
72615
|
})(a, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
|
|
@@ -74378,7 +74378,7 @@ img.ProseMirror-separator {
|
|
|
74378
74378
|
const t = this.createDoc();
|
|
74379
74379
|
if (!this.editorState) {
|
|
74380
74380
|
const n = xE(t, this.options.autofocus);
|
|
74381
|
-
this.editorState =
|
|
74381
|
+
this.editorState = gB.create({
|
|
74382
74382
|
doc: t,
|
|
74383
74383
|
schema: this.schema,
|
|
74384
74384
|
selection: n || void 0
|
|
@@ -74507,7 +74507,7 @@ img.ProseMirror-separator {
|
|
|
74507
74507
|
} catch (t) {
|
|
74508
74508
|
if (!(t instanceof Error) || !["[tiptap error]: Invalid JSON content", "[tiptap error]: Invalid HTML content"].includes(t.message)) throw t;
|
|
74509
74509
|
const n = wE(this.options.content, this.schema, this.options.parseOptions, { errorOnInvalidContent: !1 });
|
|
74510
|
-
return this.editorState =
|
|
74510
|
+
return this.editorState = gB.create({
|
|
74511
74511
|
doc: n,
|
|
74512
74512
|
schema: this.schema,
|
|
74513
74513
|
selection: xE(n, this.options.autofocus) || void 0
|
|
@@ -80601,7 +80601,7 @@ var VV = (e, t) => {
|
|
|
80601
80601
|
}, i);
|
|
80602
80602
|
case "dots":
|
|
80603
80603
|
return r.centers.length === 0 ? null : /* @__PURE__ */ m("path", {
|
|
80604
|
-
d:
|
|
80604
|
+
d: KBe(r.centers, r.size / 2),
|
|
80605
80605
|
pathLength: iie(r.size / 2, n, r.centers.length),
|
|
80606
80606
|
"data-geom": t.geom
|
|
80607
80607
|
}, i);
|
|
@@ -86901,7 +86901,7 @@ var Kvt = (e) => mh((t) => ({
|
|
|
86901
86901
|
notify: () => e.forEach((t) => t())
|
|
86902
86902
|
};
|
|
86903
86903
|
}, Qie = ({ data: e, spec: t, plugins: n = [], theme: r, glyphs: o, formattingLocale: i, handleRef: s, onSpecChange: a, onError: l, onWarnings: c, colorScheme: u = "light", children: d }) => {
|
|
86904
|
-
const h = Jvt(i, c), [f] = De(() => r), [p] = De(() =>
|
|
86904
|
+
const h = Jvt(i, c), [f] = De(() => r), [p] = De(() => LBe(r?.glyphs, o)), g = f?.colorScheme ?? u, [v] = De(() => GR([...f?.plugins ?? [], ...n].filter(Xie))), y = En(), [b] = De(() => ike(n)), [x] = De(() => _2(n)), [S] = De(() => Ivt()), [A] = De(() => JHe()), T = q(() => cP({ colorScheme: g }), [g]), { store: M, dispatch: w, commit: P, history: D, subscribe: k, getScene: R, compileBus: E, compileErrors: L, findGeom: _ } = qvt({
|
|
86905
86905
|
spec: t,
|
|
86906
86906
|
data: e,
|
|
86907
86907
|
colorScheme: g,
|
|
@@ -86987,7 +86987,7 @@ var Kvt = (e) => mh((t) => ({
|
|
|
86987
86987
|
value: x,
|
|
86988
86988
|
children: /* @__PURE__ */ m(Lg, {
|
|
86989
86989
|
shapes: f?.shapes,
|
|
86990
|
-
children: /* @__PURE__ */ m(
|
|
86990
|
+
children: /* @__PURE__ */ m(OBe, {
|
|
86991
86991
|
glyphs: p,
|
|
86992
86992
|
children: d
|
|
86993
86993
|
})
|
|
@@ -87464,7 +87464,7 @@ var Ryt = (e) => [...new Set(e)], Iyt = (e) => ({
|
|
|
87464
87464
|
stickers: e.stickers.length,
|
|
87465
87465
|
pinnedNumbers: e.pinnedNumbers.length,
|
|
87466
87466
|
comments: e.comments.length
|
|
87467
|
-
}), Lyt = "https://3b76a42331a1e27a2adb223278bf1b48@o4505108638597120.ingest.us.sentry.io/4512260250992640", Oyt = "1.9.0-beta.
|
|
87467
|
+
}), Lyt = "https://3b76a42331a1e27a2adb223278bf1b48@o4505108638597120.ingest.us.sentry.io/4512260250992640", Oyt = "1.9.0-beta.1793788324987", _yt = /^(https?):\/\/([^@]+)@([^/]+)\/(\d+)\/?$/;
|
|
87468
87468
|
function tse() {
|
|
87469
87469
|
return Lyt;
|
|
87470
87470
|
}
|
|
@@ -87645,7 +87645,7 @@ export {
|
|
|
87645
87645
|
ete as GridEditMenu,
|
|
87646
87646
|
zxt as GridSection,
|
|
87647
87647
|
Gxt as HeadlineSection,
|
|
87648
|
-
|
|
87648
|
+
P4e as HoverProvider,
|
|
87649
87649
|
X1t as IntlProvider,
|
|
87650
87650
|
r9e as IntroFade,
|
|
87651
87651
|
hq as IntroWipeClip,
|
|
@@ -87753,7 +87753,7 @@ export {
|
|
|
87753
87753
|
Va as areAnchorsEqual,
|
|
87754
87754
|
ns as areEditTargetsEqual,
|
|
87755
87755
|
NRe as areObservationAnchorsEqual,
|
|
87756
|
-
|
|
87756
|
+
XBe as buildDotsEditOutlineShapes,
|
|
87757
87757
|
ul as buildObservationsTarget,
|
|
87758
87758
|
Vz as buildObservationsTargetAtValue,
|
|
87759
87759
|
sg as buildPanelAnchorBox,
|