@factorialco/f0-react 8.12.0 → 8.13.1
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/{ChatPdfThumbnail-wfHsJLMk.js → ChatPdfThumbnail-CfBQgTmG.js} +1 -1
- package/dist/{ChatPostComposerDialog-BAa4xzBC.js → ChatPostComposerDialog-j3WkMYEM.js} +2 -2
- package/dist/{DocumentToolbar-Bc1znO_Q.js → DocumentToolbar-DoxbkZ0Q.js} +1 -1
- package/dist/{DocxViewer-DjTE3iVD.js → DocxViewer-hDyColTJ.js} +1 -1
- package/dist/{F0Map-CcN0iO6Z.js → F0Map-BP47bCIe.js} +2 -2
- package/dist/{F0VideoPlayer-pQI4xLzC.js → F0VideoPlayer-BQPQelhy.js} +1 -1
- package/dist/{MapProvider-Bz6kk4Zk.js → MapProvider-C5LLBpRM.js} +223 -222
- package/dist/{SheetViewer-CY-N-_YY.js → SheetViewer-BBfhFgoj.js} +1 -1
- package/dist/{TextViewer-2miTeh8l.js → TextViewer-C7jS2ujf.js} +1 -1
- package/dist/ai.d.ts +19 -17
- package/dist/component-status.d.ts +17 -17
- package/dist/component-status.js +1 -1
- package/dist/{experimental-BtIfcJ2I.js → experimental-BreZtWX2.js} +19 -16
- package/dist/experimental.d.ts +19 -17
- package/dist/experimental.js +3 -3
- package/dist/f0.d.ts +19 -17
- package/dist/f0.js +6 -6
- package/dist/i18n-provider-defaults.d.ts +19 -17
- package/dist/i18n-provider-defaults.js +2 -0
- package/dist/{index-CoUo_j13.js → index-69C6iS9a.js} +2 -2
- package/dist/{index-YbrAEaQ8.js → index-B1XOetyW.js} +1 -1
- package/dist/index-De5im5x0.js +4 -0
- package/dist/{index-1WtOcIAn.js → index-Dg4X2EGu.js} +2 -2
- package/dist/{pdfWorker-D5Kshpho.js → pdfWorker-BI-9lR39.js} +1 -1
- package/package.json +1 -1
- package/dist/index-BxfHx5Xb.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m, jsxs as R, Fragment as We } from "react/jsx-runtime";
|
|
2
2
|
import * as qe from "react";
|
|
3
3
|
import oe, { useRef as F, useState as J, useCallback as K, useEffect as ie, useContext as ht, useMemo as Y, createContext as zt, forwardRef as Qe, useLayoutEffect as Lt, memo as Mt, useReducer as gz, cloneElement as ZT, PureComponent as ld, useId as mi, useImperativeHandle as ia, Fragment as Vf, createElement as Im, isValidElement as yz, Suspense as vz, lazy as bz, useDebugValue as QT, version as S4, createRef as eO, useSyncExternalStore as C4 } from "react";
|
|
4
|
-
import { f3 as E4, f4 as Zu, f5 as wz, cO as tO, f6 as xz, f7 as kz, f8 as _z, f9 as Iv, fa as Sz, fb as Cz, fc as Ez, fd as Nz, fe as Az, ff as Tz, fg as Oz, ab as it, fh as nO, fi as Iz, cl as Vt, aJ as Qu, aK as cd, au as Dz, av as Mz, cQ as go, B as Ft, E as
|
|
4
|
+
import { f3 as E4, f4 as Zu, f5 as wz, cO as tO, f6 as xz, f7 as kz, f8 as _z, f9 as Iv, fa as Sz, fb as Cz, fc as Ez, fd as Nz, fe as Az, ff as Tz, fg as Oz, ab as it, fh as nO, fi as Iz, cl as Vt, aJ as Qu, aK as cd, au as Dz, av as Mz, cQ as go, B as Ft, E as ii, G as dd, dh as Mk, eu as Pk, ev as Dm, S as Be, fj as iO, ew as Rk, u as Re, v as st, bj as eh, co as wc, br as Fy, r as Lk, cU as Pz, cB as rO, cR as Rz, df as Lz, e4 as oO, y as De, aY as th, fk as Fz, b4 as $z, b5 as Bz, fl as zz, cv as sO, dM as aO, fm as lO, d9 as cO, fn as jz, fo as Hz, fp as _a, fq as Bt, fr as Ni, fs as dO, ft as Vz, fu as fO, fv as Wz, fw as Xn, fx as $y, fy as pn, fz as uO, fA as By, fB as Fk, fC as $k, fD as Bk, fE as Wn, fF as Ci, fG as Hb, fH as zy, fI as Uz, fJ as ai, fK as $o, fL as ki, fM as ml, fN as zk, fO as jy, fP as Yp, fQ as Hy, eA as jk, fR as qz, fS as Xh, fT as Mm, fU as Kz, fV as Gz, fW as Yz, fX as Xz, fY as Jz, fZ as Zz, f_ as hO, f$ as pO, g0 as mO, g1 as gO, g2 as yO, g3 as Qz, g4 as Pm, g5 as ej, g6 as tj, g7 as nh, g8 as ra, cY as Jo, g9 as Hk, ga as Wo, gb as vO, cZ as bO, gc as nj, gd as ij, cW as rj, ge as oj, cX as sj, dj as li, gf as ci, gg as aj, gh as lj, gi as cj, gj as dj, gk as fj, gl as Vb, gm as uj, a4 as wO, gn as xO, et as kr, aa as Jt, eM as hj, dq as jr, ck as fd, d4 as Xa, am as ih, an as pj, dH as mj, go as kO, gp as _O, o as SO, ad as is, cw as ud, ey as CO, cE as EO, cF as Vk, a9 as rh, L as Vy, gq as gj, er as NO, de as yj, gr as AO, eQ as $n, gs as TO, gt as OO, gu as Wb, gv as vj, gw as N4, gx as IO, es as oa, eY as DO, dv as MO, eS as Wy, H as Uy, J as Wk, K as qy, eW as bj, k as Qn, aE as A4, aM as wj, a_ as xj, bw as Uk, gy as PO, gz as kj, eR as qk, gA as Kk, gB as RO, gC as gl, gD as Dv, bV as LO, cu as yl, ai as vr, dk as Gs, ep as _j, gE as T4, el as Gk, gF as Sj, dT as Cj, e8 as Ej, e6 as Nj, gG as FO, gH as Aj, cP as Tj, gI as Oj, gJ as $O, af as BO, gK as Ij, gL as Dj, gM as Mj, gN as O4, gO as I4, gP as D4, gQ as M4, gR as Pj, aC as Rj, gS as zO, ds as Lj, gT as Fj, cK as hd, M as jO, N as HO, Q as VO, gU as $j, gV as Bj, gW as P4, dR as Rm, eK as Wf, U as WO, V as UO, X as qO, Y as KO, w as sa, cp as Hr, s as zj, x as jj, gX as Hj, z as Ky, gY as GO, gZ as YO, g_ as Vj, g$ as Lm, h0 as Wj, h1 as Uj, h2 as Ba, h3 as qj, h4 as R4, h5 as Kj, h6 as Gj, h7 as Fm, h8 as Yj, h9 as Xj, ha as Jj, hb as XO, hc as Zj, hd as JO, he as Qj, hf as Gy, hg as pd, hh as eH, hi as Yk, hj as ln, hk as tH, cN as Uf, hl as ti, hm as nH, c_ as oh, hn as iH, a7 as Ja, at as Ub, dm as rH, dn as oH, cx as ZO, cy as QO, cz as eI, ho as Xk, hp as sH, d3 as tI, bP as sh, aS as rs, ej as nI, ek as iI, aG as rI, aV as aH, ce as oI, dG as lH, hq as cH, hr as dH, hs as $m, ht as Do, m as fH, c2 as uH, hu as hH, d_ as pH, aR as Bm, c5 as sI, c0 as mH, ex as L4, ei as gH, aZ as yH, hv as vH, hw as Yy, hx as Xy, hy as Jy, cA as Zy, hz as bH, hA as zm, hB as wH, hC as xH, dp as kH, hD as aI, by as Mv, hE as _H, hF as SH, bB as CH, bH as EH, hG as F4, hH as NH, hI as $4, hJ as Pv, hK as lI, a1 as cI, c1 as AH, a5 as TH, i as Jk, hL as OH, hM as IH, dO as DH, j as Zk, eF as MH, bU as PH, bL as RH, bt as B4, bx as Qk, ca as LH, eg as FH, hN as dI, hO as $H, hP as e2, l as BH, ax as zH, aT as jH, c3 as HH, hQ as VH, hR as WH, A as UH, hS as qH, hT as KH, hU as GH, hV as YH, hW as fI, cd as XH, hX as t2, hY as JH, hZ as ZH, h_ as QH, h$ as Rv, i0 as eV, i1 as Ie, i2 as ah, i3 as tV, i4 as nV, i5 as iV, i6 as rV, i7 as z4, i8 as oV, i9 as jm, R as sV, ia as aV, ib as Lv, ic as Jh, id as lV, ie as cV, ig as dV, ih as fV, ii as uV, aw as hV, c as pV, c4 as mV, W as Fv, ij as lh, ik as n2, il as i2, im as ch, io as gV, b_ as yV, eG as r2, eb as j4, al as vV, ah as bV, ee as wV, az as xV, bs as kV, cc as _V, c8 as SV, bl as uI, bm as hI, bn as pI, bK as mI, aI as gI, aq as yI, ao as vI, ar as bI, ap as wI, aO as xI, bZ as kI, cC as _I, ip as SI, iq as CV, cJ as EV, ba as NV, b8 as AV, b7 as TV, b6 as OV, b9 as IV, bo as DV, cf as MV, cn as PV, cm as RV, cb as LV, bF as FV, bO as $V, a2 as BV, cs as zV, ir as jV, is as $v, it as HV, bu as VV, iu as CI, iv as o2, iw as Fs, ix as sc, iy as EI, iz as NI, cI as WV, iA as UV, iB as qV, iC as KV, iD as GV, cD as YV, dQ as XV, cr as JV, iE as ZV } from "./F0CanvasPanel-DNldfGAD.js";
|
|
5
5
|
import { d as U, g as QV, e as di, T as dh, a as fh, b as uh, f as tn, u as s2, S as eW, c as Qy } from "./tooltip-CrXp1Uaz.js";
|
|
6
6
|
import { g as hh } from "./_commonjsHelpers-ByX85dGu.js";
|
|
7
7
|
import AI, { unstable_batchedUpdates as Zh, createPortal as e1, flushSync as tW } from "react-dom";
|
|
@@ -2515,7 +2515,7 @@ const EU = ({
|
|
|
2515
2515
|
}
|
|
2516
2516
|
) : /* @__PURE__ */ m(SU, { children: e });
|
|
2517
2517
|
}, BTe = Ft(
|
|
2518
|
-
|
|
2518
|
+
ii("Carousel", EU)
|
|
2519
2519
|
), NU = (e, t) => /* @__PURE__ */ R(
|
|
2520
2520
|
"svg",
|
|
2521
2521
|
{
|
|
@@ -2858,7 +2858,7 @@ const EU = ({
|
|
|
2858
2858
|
);
|
|
2859
2859
|
}
|
|
2860
2860
|
), HTe = Ft(
|
|
2861
|
-
|
|
2861
|
+
ii("Widget", dd(PU, LU))
|
|
2862
2862
|
);
|
|
2863
2863
|
function FU() {
|
|
2864
2864
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
@@ -5065,7 +5065,7 @@ const Yq = /* @__PURE__ */ Mt(function(t) {
|
|
|
5065
5065
|
return;
|
|
5066
5066
|
const {
|
|
5067
5067
|
onDragStart: Ut
|
|
5068
|
-
} = B.current,
|
|
5068
|
+
} = B.current, Un = {
|
|
5069
5069
|
activatorEvent: Je,
|
|
5070
5070
|
active: {
|
|
5071
5071
|
id: sn,
|
|
@@ -5074,13 +5074,13 @@ const Yq = /* @__PURE__ */ Mt(function(t) {
|
|
|
5074
5074
|
}
|
|
5075
5075
|
};
|
|
5076
5076
|
Zh(() => {
|
|
5077
|
-
Ut?.(
|
|
5077
|
+
Ut?.(Un), k(Ns.Initializing), v({
|
|
5078
5078
|
type: An.DragStart,
|
|
5079
5079
|
initialCoordinates: yt,
|
|
5080
5080
|
active: sn
|
|
5081
5081
|
}), b({
|
|
5082
5082
|
type: "onDragStart",
|
|
5083
|
-
event:
|
|
5083
|
+
event: Un
|
|
5084
5084
|
}), O(se.current), L(Je);
|
|
5085
5085
|
});
|
|
5086
5086
|
},
|
|
@@ -5099,7 +5099,7 @@ const Yq = /* @__PURE__ */ Mt(function(t) {
|
|
|
5099
5099
|
const {
|
|
5100
5100
|
active: Wt,
|
|
5101
5101
|
collisions: Ut,
|
|
5102
|
-
over:
|
|
5102
|
+
over: Un,
|
|
5103
5103
|
scrollAdjustedTranslate: kn
|
|
5104
5104
|
} = te.current;
|
|
5105
5105
|
let dn = null;
|
|
@@ -5112,7 +5112,7 @@ const Yq = /* @__PURE__ */ Mt(function(t) {
|
|
|
5112
5112
|
active: Wt,
|
|
5113
5113
|
collisions: Ut,
|
|
5114
5114
|
delta: kn,
|
|
5115
|
-
over:
|
|
5115
|
+
over: Un
|
|
5116
5116
|
}, yt === An.DragEnd && typeof _n == "function" && await Promise.resolve(_n(dn)) && (yt = An.DragCancel);
|
|
5117
5117
|
}
|
|
5118
5118
|
N.current = null, Zh(() => {
|
|
@@ -6903,7 +6903,7 @@ var vd = /* @__PURE__ */ (function(e) {
|
|
|
6903
6903
|
key: "renderTickItem",
|
|
6904
6904
|
value: function(i, r, o) {
|
|
6905
6905
|
var s;
|
|
6906
|
-
return /* @__PURE__ */ oe.isValidElement(i) ? s = /* @__PURE__ */ oe.cloneElement(i, r) :
|
|
6906
|
+
return /* @__PURE__ */ oe.isValidElement(i) ? s = /* @__PURE__ */ oe.cloneElement(i, r) : Xn(i) ? s = i(r) : s = /* @__PURE__ */ oe.createElement($y, pf({}, r, {
|
|
6907
6907
|
className: "recharts-polar-radius-axis-tick-value"
|
|
6908
6908
|
}), o), s;
|
|
6909
6909
|
}
|
|
@@ -7133,7 +7133,7 @@ var VG = Math.PI / 180, OS = 1e-5, bd = /* @__PURE__ */ (function(e) {
|
|
|
7133
7133
|
key: "renderTickItem",
|
|
7134
7134
|
value: function(i, r, o) {
|
|
7135
7135
|
var s;
|
|
7136
|
-
return /* @__PURE__ */ oe.isValidElement(i) ? s = /* @__PURE__ */ oe.cloneElement(i, r) :
|
|
7136
|
+
return /* @__PURE__ */ oe.isValidElement(i) ? s = /* @__PURE__ */ oe.cloneElement(i, r) : Xn(i) ? s = i(r) : s = /* @__PURE__ */ oe.createElement($y, Na({}, r, {
|
|
7137
7137
|
className: "recharts-polar-angle-axis-tick-value"
|
|
7138
7138
|
}), o), s;
|
|
7139
7139
|
}
|
|
@@ -7272,12 +7272,12 @@ var ss = /* @__PURE__ */ (function(e) {
|
|
|
7272
7272
|
var r = i.props.onAnimationEnd;
|
|
7273
7273
|
i.setState({
|
|
7274
7274
|
isAnimationFinished: !0
|
|
7275
|
-
}),
|
|
7275
|
+
}), Xn(r) && r();
|
|
7276
7276
|
}), ur(i, "handleAnimationStart", function() {
|
|
7277
7277
|
var r = i.props.onAnimationStart;
|
|
7278
7278
|
i.setState({
|
|
7279
7279
|
isAnimationFinished: !1
|
|
7280
|
-
}),
|
|
7280
|
+
}), Xn(r) && r();
|
|
7281
7281
|
}), i.state = {
|
|
7282
7282
|
isAnimationFinished: !n.isAnimationActive,
|
|
7283
7283
|
prevIsAnimationActive: n.isAnimationActive,
|
|
@@ -7474,7 +7474,7 @@ var ss = /* @__PURE__ */ (function(e) {
|
|
|
7474
7474
|
value: function(i, r, o) {
|
|
7475
7475
|
if (/* @__PURE__ */ oe.isValidElement(i))
|
|
7476
7476
|
return /* @__PURE__ */ oe.cloneElement(i, r);
|
|
7477
|
-
if (
|
|
7477
|
+
if (Xn(i))
|
|
7478
7478
|
return i(r);
|
|
7479
7479
|
var s = di("recharts-pie-label-line", typeof i != "boolean" ? i.className : "");
|
|
7480
7480
|
return /* @__PURE__ */ oe.createElement(Bk, Ql({}, r, {
|
|
@@ -7489,9 +7489,9 @@ var ss = /* @__PURE__ */ (function(e) {
|
|
|
7489
7489
|
if (/* @__PURE__ */ oe.isValidElement(i))
|
|
7490
7490
|
return /* @__PURE__ */ oe.cloneElement(i, r);
|
|
7491
7491
|
var s = o;
|
|
7492
|
-
if (
|
|
7492
|
+
if (Xn(i) && (s = i(r), /* @__PURE__ */ oe.isValidElement(s)))
|
|
7493
7493
|
return s;
|
|
7494
|
-
var a = di("recharts-pie-label-text", typeof i != "boolean" && !
|
|
7494
|
+
var a = di("recharts-pie-label-text", typeof i != "boolean" && !Xn(i) ? i.className : "");
|
|
7495
7495
|
return /* @__PURE__ */ oe.createElement($y, Ql({}, r, {
|
|
7496
7496
|
alignmentBaseline: "middle",
|
|
7497
7497
|
className: a
|
|
@@ -7752,12 +7752,12 @@ var bh = /* @__PURE__ */ (function(e) {
|
|
|
7752
7752
|
var s = n.props.onAnimationEnd;
|
|
7753
7753
|
n.setState({
|
|
7754
7754
|
isAnimationFinished: !0
|
|
7755
|
-
}),
|
|
7755
|
+
}), Xn(s) && s();
|
|
7756
7756
|
}), Bo(n, "handleAnimationStart", function() {
|
|
7757
7757
|
var s = n.props.onAnimationStart;
|
|
7758
7758
|
n.setState({
|
|
7759
7759
|
isAnimationFinished: !1
|
|
7760
|
-
}),
|
|
7760
|
+
}), Xn(s) && s();
|
|
7761
7761
|
}), Bo(n, "handleMouseEnter", function(s) {
|
|
7762
7762
|
var a = n.props.onMouseEnter;
|
|
7763
7763
|
a && a(n.props, s);
|
|
@@ -7792,7 +7792,7 @@ var bh = /* @__PURE__ */ (function(e) {
|
|
|
7792
7792
|
var r = this.props, o = r.shape, s = r.dot, a = r.isRange, l = r.baseLinePoints, c = r.connectNulls, d;
|
|
7793
7793
|
return /* @__PURE__ */ oe.isValidElement(o) ? d = /* @__PURE__ */ oe.cloneElement(o, oi(oi({}, this.props), {}, {
|
|
7794
7794
|
points: i
|
|
7795
|
-
})) :
|
|
7795
|
+
})) : Xn(o) ? d = o(oi(oi({}, this.props), {}, {
|
|
7796
7796
|
points: i
|
|
7797
7797
|
})) : d = /* @__PURE__ */ oe.createElement(wD, Qm({}, Bt(this.props, !0), {
|
|
7798
7798
|
onMouseEnter: this.handleMouseEnter,
|
|
@@ -7875,7 +7875,7 @@ var bh = /* @__PURE__ */ (function(e) {
|
|
|
7875
7875
|
var o;
|
|
7876
7876
|
if (/* @__PURE__ */ oe.isValidElement(i))
|
|
7877
7877
|
o = /* @__PURE__ */ oe.cloneElement(i, r);
|
|
7878
|
-
else if (
|
|
7878
|
+
else if (Xn(i))
|
|
7879
7879
|
o = i(r);
|
|
7880
7880
|
else {
|
|
7881
7881
|
var s = r.key, a = nY(r, tY);
|
|
@@ -7949,7 +7949,7 @@ function FS(e, t) {
|
|
|
7949
7949
|
}
|
|
7950
7950
|
return n;
|
|
7951
7951
|
}
|
|
7952
|
-
function
|
|
7952
|
+
function Yn(e) {
|
|
7953
7953
|
for (var t = 1; t < arguments.length; t++) {
|
|
7954
7954
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
7955
7955
|
t % 2 ? FS(Object(n), !0).forEach(function(i) {
|
|
@@ -8028,7 +8028,7 @@ function OD(e, t) {
|
|
|
8028
8028
|
var n;
|
|
8029
8029
|
if (/* @__PURE__ */ oe.isValidElement(e))
|
|
8030
8030
|
n = /* @__PURE__ */ oe.cloneElement(e, t);
|
|
8031
|
-
else if (
|
|
8031
|
+
else if (Xn(e))
|
|
8032
8032
|
n = e(t);
|
|
8033
8033
|
else {
|
|
8034
8034
|
var i = t.x1, r = t.y1, o = t.x2, s = t.y2, a = t.key, l = $S(t, fY), c = Bt(l, !1);
|
|
@@ -8050,7 +8050,7 @@ function vY(e) {
|
|
|
8050
8050
|
if (!r || !o || !o.length)
|
|
8051
8051
|
return null;
|
|
8052
8052
|
var s = o.map(function(a, l) {
|
|
8053
|
-
var c =
|
|
8053
|
+
var c = Yn(Yn({}, e), {}, {
|
|
8054
8054
|
x1: t,
|
|
8055
8055
|
y1: a,
|
|
8056
8056
|
x2: t + n,
|
|
@@ -8069,7 +8069,7 @@ function bY(e) {
|
|
|
8069
8069
|
if (!r || !o || !o.length)
|
|
8070
8070
|
return null;
|
|
8071
8071
|
var s = o.map(function(a, l) {
|
|
8072
|
-
var c =
|
|
8072
|
+
var c = Yn(Yn({}, e), {}, {
|
|
8073
8073
|
x1: a,
|
|
8074
8074
|
y1: t,
|
|
8075
8075
|
x2: a,
|
|
@@ -8147,7 +8147,7 @@ function xY(e) {
|
|
|
8147
8147
|
}
|
|
8148
8148
|
var kY = function(t, n) {
|
|
8149
8149
|
var i = t.xAxis, r = t.width, o = t.height, s = t.offset;
|
|
8150
|
-
return hO(pO(
|
|
8150
|
+
return hO(pO(Yn(Yn(Yn({}, gO.defaultProps), i), {}, {
|
|
8151
8151
|
ticks: mO(i, !0),
|
|
8152
8152
|
viewBox: {
|
|
8153
8153
|
x: 0,
|
|
@@ -8158,7 +8158,7 @@ var kY = function(t, n) {
|
|
|
8158
8158
|
})), s.left, s.left + s.width, n);
|
|
8159
8159
|
}, _Y = function(t, n) {
|
|
8160
8160
|
var i = t.yAxis, r = t.width, o = t.height, s = t.offset;
|
|
8161
|
-
return hO(pO(
|
|
8161
|
+
return hO(pO(Yn(Yn(Yn({}, gO.defaultProps), i), {}, {
|
|
8162
8162
|
ticks: mO(i, !0),
|
|
8163
8163
|
viewBox: {
|
|
8164
8164
|
x: 0,
|
|
@@ -8177,7 +8177,7 @@ var kY = function(t, n) {
|
|
|
8177
8177
|
horizontalFill: []
|
|
8178
8178
|
};
|
|
8179
8179
|
function wd(e) {
|
|
8180
|
-
var t, n, i, r, o, s, a = Gz(), l = Yz(), c = Xz(), d =
|
|
8180
|
+
var t, n, i, r, o, s, a = Gz(), l = Yz(), c = Xz(), d = Yn(Yn({}, e), {}, {
|
|
8181
8181
|
stroke: (t = e.stroke) !== null && t !== void 0 ? t : $l.stroke,
|
|
8182
8182
|
fill: (n = e.fill) !== null && n !== void 0 ? n : $l.fill,
|
|
8183
8183
|
horizontal: (i = e.horizontal) !== null && i !== void 0 ? i : $l.horizontal,
|
|
@@ -8192,9 +8192,9 @@ function wd(e) {
|
|
|
8192
8192
|
if (!ki(h) || h <= 0 || !ki(p) || p <= 0 || !ki(f) || f !== +f || !ki(u) || u !== +u)
|
|
8193
8193
|
return null;
|
|
8194
8194
|
var x = d.verticalCoordinatesGenerator || kY, k = d.horizontalCoordinatesGenerator || _Y, _ = d.horizontalPoints, S = d.verticalPoints;
|
|
8195
|
-
if ((!_ || !_.length) &&
|
|
8195
|
+
if ((!_ || !_.length) && Xn(k)) {
|
|
8196
8196
|
var C = g && g.length, E = k({
|
|
8197
|
-
yAxis: w ?
|
|
8197
|
+
yAxis: w ? Yn(Yn({}, w), {}, {
|
|
8198
8198
|
ticks: C ? g : w.ticks
|
|
8199
8199
|
}) : void 0,
|
|
8200
8200
|
width: a,
|
|
@@ -8203,9 +8203,9 @@ function wd(e) {
|
|
|
8203
8203
|
}, C ? !0 : y);
|
|
8204
8204
|
Mm(Array.isArray(E), "horizontalCoordinatesGenerator should return Array but instead it returned [".concat(Qa(E), "]")), Array.isArray(E) && (_ = E);
|
|
8205
8205
|
}
|
|
8206
|
-
if ((!S || !S.length) &&
|
|
8206
|
+
if ((!S || !S.length) && Xn(x)) {
|
|
8207
8207
|
var A = v && v.length, T = x({
|
|
8208
|
-
xAxis: b ?
|
|
8208
|
+
xAxis: b ? Yn(Yn({}, b), {}, {
|
|
8209
8209
|
ticks: A ? v : b.ticks
|
|
8210
8210
|
}) : void 0,
|
|
8211
8211
|
width: a,
|
|
@@ -8655,7 +8655,7 @@ var bl = /* @__PURE__ */ (function(e) {
|
|
|
8655
8655
|
var o;
|
|
8656
8656
|
if (/* @__PURE__ */ oe.isValidElement(i))
|
|
8657
8657
|
o = /* @__PURE__ */ oe.cloneElement(i, r);
|
|
8658
|
-
else if (
|
|
8658
|
+
else if (Xn(i))
|
|
8659
8659
|
o = i(r);
|
|
8660
8660
|
else {
|
|
8661
8661
|
var s = r.key, a = BS(r, CY), l = di("recharts-line-dot", typeof i != "boolean" ? i.className : "");
|
|
@@ -9105,7 +9105,7 @@ var wh = /* @__PURE__ */ (function(e) {
|
|
|
9105
9105
|
}, c), {}, {
|
|
9106
9106
|
points: d
|
|
9107
9107
|
});
|
|
9108
|
-
return /* @__PURE__ */ oe.isValidElement(o) ? f = /* @__PURE__ */ oe.cloneElement(o, b) :
|
|
9108
|
+
return /* @__PURE__ */ oe.isValidElement(o) ? f = /* @__PURE__ */ oe.cloneElement(o, b) : Xn(o) ? f = o(b) : f = /* @__PURE__ */ oe.createElement(Bk, yf({}, b, {
|
|
9109
9109
|
type: a
|
|
9110
9110
|
})), /* @__PURE__ */ oe.createElement(pn, {
|
|
9111
9111
|
className: "recharts-scatter-line",
|
|
@@ -11208,7 +11208,7 @@ const rg = Ft(VD), eOe = (e, t = {}, n = 0) => {
|
|
|
11208
11208
|
);
|
|
11209
11209
|
};
|
|
11210
11210
|
WD.displayName = "F0SegmentedControl";
|
|
11211
|
-
const KX =
|
|
11211
|
+
const KX = ii(
|
|
11212
11212
|
"F0SegmentedControl",
|
|
11213
11213
|
WD
|
|
11214
11214
|
), UD = Qe((e, t) => /* @__PURE__ */ m(SO, { ref: t, markdown: e.markdown ?? !0, ...e }));
|
|
@@ -12071,7 +12071,7 @@ function KD({
|
|
|
12071
12071
|
G.length > 0 ? /* @__PURE__ */ R("div", { className: "mt-4 flex flex-col gap-2", children: [
|
|
12072
12072
|
/* @__PURE__ */ m("div", { className: "text-gray-500 text-sm", children: g.date.compareTo }),
|
|
12073
12073
|
/* @__PURE__ */ m(
|
|
12074
|
-
|
|
12074
|
+
Qn,
|
|
12075
12075
|
{
|
|
12076
12076
|
label: g.date.compareTo,
|
|
12077
12077
|
hideLabel: !0,
|
|
@@ -17517,7 +17517,7 @@ function pQ(e) {
|
|
|
17517
17517
|
return /* @__PURE__ */ m(B9, { driver: n, children: /* @__PURE__ */ m(hQ, { ...e }) });
|
|
17518
17518
|
}
|
|
17519
17519
|
const mQ = Ft(
|
|
17520
|
-
|
|
17520
|
+
ii("F0TableOfContent", pQ)
|
|
17521
17521
|
);
|
|
17522
17522
|
function gQ(e) {
|
|
17523
17523
|
if (typeof e != "object" || e === null)
|
|
@@ -17889,7 +17889,7 @@ const AC = "bg-repeat-x bg-origin-border [background-image:repeating-linear-grad
|
|
|
17889
17889
|
]
|
|
17890
17890
|
}
|
|
17891
17891
|
);
|
|
17892
|
-
}, nM =
|
|
17892
|
+
}, nM = ii(
|
|
17893
17893
|
"SectionHeader",
|
|
17894
17894
|
bQ
|
|
17895
17895
|
);
|
|
@@ -19565,7 +19565,7 @@ function Jee({
|
|
|
19565
19565
|
);
|
|
19566
19566
|
}
|
|
19567
19567
|
function Zee(e) {
|
|
19568
|
-
const t =
|
|
19568
|
+
const t = ti(e);
|
|
19569
19569
|
return ln(t, "ZodLiteral") && t._def.value === !0;
|
|
19570
19570
|
}
|
|
19571
19571
|
function Qee({
|
|
@@ -21300,7 +21300,7 @@ function Gte({
|
|
|
21300
21300
|
e.align === "right" && "justify-end"
|
|
21301
21301
|
),
|
|
21302
21302
|
children: "source" in c && c.source ? /* @__PURE__ */ m(
|
|
21303
|
-
|
|
21303
|
+
Qn,
|
|
21304
21304
|
{
|
|
21305
21305
|
...f,
|
|
21306
21306
|
...u,
|
|
@@ -21308,7 +21308,7 @@ function Gte({
|
|
|
21308
21308
|
mapOptions: c.mapOptions
|
|
21309
21309
|
}
|
|
21310
21310
|
) : /* @__PURE__ */ m(
|
|
21311
|
-
|
|
21311
|
+
Qn,
|
|
21312
21312
|
{
|
|
21313
21313
|
...f,
|
|
21314
21314
|
...u,
|
|
@@ -21377,7 +21377,7 @@ function Yte({
|
|
|
21377
21377
|
e.align === "right" && "justify-end"
|
|
21378
21378
|
),
|
|
21379
21379
|
children: "source" in d && d.source ? /* @__PURE__ */ m(
|
|
21380
|
-
|
|
21380
|
+
Qn,
|
|
21381
21381
|
{
|
|
21382
21382
|
...f,
|
|
21383
21383
|
...u,
|
|
@@ -21385,7 +21385,7 @@ function Yte({
|
|
|
21385
21385
|
mapOptions: d.mapOptions
|
|
21386
21386
|
}
|
|
21387
21387
|
) : /* @__PURE__ */ m(
|
|
21388
|
-
|
|
21388
|
+
Qn,
|
|
21389
21389
|
{
|
|
21390
21390
|
...f,
|
|
21391
21391
|
...u,
|
|
@@ -22156,7 +22156,7 @@ function mne({
|
|
|
22156
22156
|
)
|
|
22157
22157
|
);
|
|
22158
22158
|
}
|
|
22159
|
-
const gne =
|
|
22159
|
+
const gne = ii(
|
|
22160
22160
|
"F0FormEditableTable",
|
|
22161
22161
|
mne
|
|
22162
22162
|
), yne = ({
|
|
@@ -22428,7 +22428,7 @@ const op = /* @__PURE__ */ new Set(), Ew = /* @__PURE__ */ new Set(), m0 = () =>
|
|
|
22428
22428
|
};
|
|
22429
22429
|
FM.displayName = "F0Dialog";
|
|
22430
22430
|
const xne = Ft(
|
|
22431
|
-
|
|
22431
|
+
ii("F0Dialog", FM)
|
|
22432
22432
|
), Aw = [];
|
|
22433
22433
|
let ws = Aw;
|
|
22434
22434
|
const Tw = /* @__PURE__ */ new Set();
|
|
@@ -22679,7 +22679,7 @@ const Ane = /* @__PURE__ */ new Set([
|
|
|
22679
22679
|
// .endsWith()
|
|
22680
22680
|
]);
|
|
22681
22681
|
function e5(e) {
|
|
22682
|
-
const t =
|
|
22682
|
+
const t = ti(e);
|
|
22683
22683
|
return ln(t, "ZodString") ? (t._def.checks || []).some((i) => i.kind === "min" ? (i.value ?? 0) >= 1 : Ane.has(i.kind)) : !1;
|
|
22684
22684
|
}
|
|
22685
22685
|
const Tne = /* @__PURE__ */ new Set([
|
|
@@ -22693,7 +22693,7 @@ const Tne = /* @__PURE__ */ new Set([
|
|
|
22693
22693
|
function Z2(e, t) {
|
|
22694
22694
|
if (Iw(e))
|
|
22695
22695
|
return !1;
|
|
22696
|
-
const n =
|
|
22696
|
+
const n = ti(e);
|
|
22697
22697
|
if (ln(n, "ZodString"))
|
|
22698
22698
|
return t && Tne.has(t) ? !0 : e5(e);
|
|
22699
22699
|
if (ln(n, "ZodObject")) {
|
|
@@ -22701,7 +22701,7 @@ function Z2(e, t) {
|
|
|
22701
22701
|
if (i && "value" in i) {
|
|
22702
22702
|
if (Iw(i.value))
|
|
22703
22703
|
return !1;
|
|
22704
|
-
if (ln(
|
|
22704
|
+
if (ln(ti(i.value), "ZodString"))
|
|
22705
22705
|
return e5(i.value);
|
|
22706
22706
|
}
|
|
22707
22707
|
}
|
|
@@ -24104,7 +24104,7 @@ function lie({
|
|
|
24104
24104
|
] }) });
|
|
24105
24105
|
}
|
|
24106
24106
|
const cie = Ft(
|
|
24107
|
-
|
|
24107
|
+
ii("OnePagination", lie)
|
|
24108
24108
|
), Q2 = ({
|
|
24109
24109
|
paginationInfo: e,
|
|
24110
24110
|
setPage: t,
|
|
@@ -26415,7 +26415,7 @@ const Wie = 220, Uie = (e, t, n, i = !0) => {
|
|
|
26415
26415
|
he,
|
|
26416
26416
|
O,
|
|
26417
26417
|
!!t.selectable
|
|
26418
|
-
),
|
|
26418
|
+
), Un = X?.records.some(
|
|
26419
26419
|
(xe) => t.itemsWithChildren?.(xe)
|
|
26420
26420
|
);
|
|
26421
26421
|
if (G)
|
|
@@ -26744,6 +26744,7 @@ const Wie = 220, Uie = (e, t, n, i = !0) => {
|
|
|
26744
26744
|
columns: O,
|
|
26745
26745
|
frozenColumnsLeft: he,
|
|
26746
26746
|
checkColumnWidth: Ut,
|
|
26747
|
+
tableWithChildren: Un,
|
|
26747
26748
|
referenceRowType: f,
|
|
26748
26749
|
itemActionsOnHover: u,
|
|
26749
26750
|
rowWrapper: v,
|
|
@@ -26789,7 +26790,7 @@ const Wie = 220, Uie = (e, t, n, i = !0) => {
|
|
|
26789
26790
|
columns: O,
|
|
26790
26791
|
frozenColumnsLeft: he,
|
|
26791
26792
|
checkColumnWidth: Ut,
|
|
26792
|
-
tableWithChildren:
|
|
26793
|
+
tableWithChildren: Un,
|
|
26793
26794
|
referenceRowType: f,
|
|
26794
26795
|
itemActionsOnHover: u,
|
|
26795
26796
|
boldRootRows: h,
|
|
@@ -32554,11 +32555,11 @@ const ede = {
|
|
|
32554
32555
|
position: "relative",
|
|
32555
32556
|
zIndex: 0
|
|
32556
32557
|
};
|
|
32557
|
-
function tde({ nodes: e, edges: t, defaultNodes: n, defaultEdges: i, className: r, nodeTypes: o, edgeTypes: s, onNodeClick: a, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: f, onMoveEnd: u, onConnect: h, onConnectStart: p, onConnectEnd: y, onClickConnectStart: g, onClickConnectEnd: v, onNodeMouseEnter: b, onNodeMouseMove: w, onNodeMouseLeave: x, onNodeContextMenu: k, onNodeDoubleClick: _, onNodeDragStart: S, onNodeDrag: C, onNodeDragStop: E, onNodesDelete: A, onEdgesDelete: T, onDelete: I, onSelectionChange: D, onSelectionDragStart: N, onSelectionDrag: M, onSelectionDragStop: O, onSelectionContextMenu: P, onSelectionStart: L, onSelectionEnd: B, onBeforeDelete: H, connectionMode: $, connectionLineType: V = Ms.Bezier, connectionLineStyle: X, connectionLineComponent: Q, connectionLineContainerStyle: z, deleteKeyCode: G = "Backspace", selectionKeyCode: W = "Shift", selectionOnDrag: j = !1, selectionMode: ne = mu.Full, panActivationKeyCode: le = "Space", multiSelectionKeyCode: Z = yu() ? "Meta" : "Control", zoomActivationKeyCode: te = yu() ? "Meta" : "Control", snapToGrid: ue, snapGrid: me, onlyRenderVisibleElements: ge = !1, selectNodesOnDrag: ye, nodesDraggable: Se, autoPanOnNodeFocus: q, nodesConnectable: ee, nodesFocusable: re, nodeOrigin: fe = gR, edgesFocusable: ae, edgesReconnectable: de, elementsSelectable: he = !0, defaultViewport: ve = Tle, minZoom: Te = 0.5, maxZoom: He = 2, translateExtent: Xe = pu, preventScrolling: pt = !0, nodeExtent: Ge, defaultMarkerColor: ut = "#b1b1b7", zoomOnScroll: ke = !0, zoomOnPinch: at = !0, panOnScroll: pe = !1, panOnScrollSpeed: se = 0.5, panOnScrollMode: ce = ja.Free, zoomOnDoubleClick: be = !0, panOnDrag: we = !0, onPaneClick: Ae, onPaneMouseEnter: Ee, onPaneMouseMove: ze, onPaneMouseLeave: Me, onPaneScroll: Ue, onPaneContextMenu: et, paneClickDistance: dt = 1, nodeClickDistance: ct = 0, children: Je, onReconnect: nt, onReconnectStart: gt, onReconnectEnd: yt, onEdgeContextMenu: sn, onEdgeDoubleClick: Wt, onEdgeMouseEnter: Ut, onEdgeMouseMove:
|
|
32558
|
+
function tde({ nodes: e, edges: t, defaultNodes: n, defaultEdges: i, className: r, nodeTypes: o, edgeTypes: s, onNodeClick: a, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: f, onMoveEnd: u, onConnect: h, onConnectStart: p, onConnectEnd: y, onClickConnectStart: g, onClickConnectEnd: v, onNodeMouseEnter: b, onNodeMouseMove: w, onNodeMouseLeave: x, onNodeContextMenu: k, onNodeDoubleClick: _, onNodeDragStart: S, onNodeDrag: C, onNodeDragStop: E, onNodesDelete: A, onEdgesDelete: T, onDelete: I, onSelectionChange: D, onSelectionDragStart: N, onSelectionDrag: M, onSelectionDragStop: O, onSelectionContextMenu: P, onSelectionStart: L, onSelectionEnd: B, onBeforeDelete: H, connectionMode: $, connectionLineType: V = Ms.Bezier, connectionLineStyle: X, connectionLineComponent: Q, connectionLineContainerStyle: z, deleteKeyCode: G = "Backspace", selectionKeyCode: W = "Shift", selectionOnDrag: j = !1, selectionMode: ne = mu.Full, panActivationKeyCode: le = "Space", multiSelectionKeyCode: Z = yu() ? "Meta" : "Control", zoomActivationKeyCode: te = yu() ? "Meta" : "Control", snapToGrid: ue, snapGrid: me, onlyRenderVisibleElements: ge = !1, selectNodesOnDrag: ye, nodesDraggable: Se, autoPanOnNodeFocus: q, nodesConnectable: ee, nodesFocusable: re, nodeOrigin: fe = gR, edgesFocusable: ae, edgesReconnectable: de, elementsSelectable: he = !0, defaultViewport: ve = Tle, minZoom: Te = 0.5, maxZoom: He = 2, translateExtent: Xe = pu, preventScrolling: pt = !0, nodeExtent: Ge, defaultMarkerColor: ut = "#b1b1b7", zoomOnScroll: ke = !0, zoomOnPinch: at = !0, panOnScroll: pe = !1, panOnScrollSpeed: se = 0.5, panOnScrollMode: ce = ja.Free, zoomOnDoubleClick: be = !0, panOnDrag: we = !0, onPaneClick: Ae, onPaneMouseEnter: Ee, onPaneMouseMove: ze, onPaneMouseLeave: Me, onPaneScroll: Ue, onPaneContextMenu: et, paneClickDistance: dt = 1, nodeClickDistance: ct = 0, children: Je, onReconnect: nt, onReconnectStart: gt, onReconnectEnd: yt, onEdgeContextMenu: sn, onEdgeDoubleClick: Wt, onEdgeMouseEnter: Ut, onEdgeMouseMove: Un, onEdgeMouseLeave: kn, reconnectRadius: dn = 10, onNodesChange: _n, onEdgesChange: Tn, noDragClassName: yi = "nodrag", noWheelClassName: Yi = "nowheel", noPanClassName: Pi = "nopan", fitView: xe, fitViewOptions: je, connectOnClick: Ct, attributionPosition: $t, proOptions: St, defaultEdgeOptions: gn, elevateNodesOnSelect: Sn = !0, elevateEdgesOnSelect: Ri = !1, disableKeyboardA11y: Sr = !1, autoPanOnConnect: hs, autoPanOnNodeDrag: bo, autoPanSpeed: Xi, connectionRadius: Li, isValidConnection: Ji, onError: Cl, style: Zi, id: Fe, nodeDragThreshold: Ve, connectionDragThreshold: ft, viewport: mt, onViewportChange: Qi, width: Jr, height: Zr, colorMode: wo = "light", debug: Pd, onScroll: xo, ariaLabelConfig: Rd, zIndexMode: El = "basic", ...Nl }, Al) {
|
|
32558
32559
|
const Fi = Fe || "1", pa = Mle(wo), On = K((ko) => {
|
|
32559
32560
|
ko.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), xo?.(ko);
|
|
32560
32561
|
}, [xo]);
|
|
32561
|
-
return m("div", { "data-testid": "rf__wrapper", ...Nl, onScroll: On, style: { ...Zi, ...ede }, ref: Al, className: xn(["react-flow", r, pa]), id: Fe, role: "application", children: R(Qce, { nodes: e, edges: t, width: Jr, height: Zr, fitView: xe, fitViewOptions: je, minZoom: Te, maxZoom: He, nodeOrigin: fe, nodeExtent: Ge, zIndexMode: El, children: [m(Dle, { nodes: e, edges: t, defaultNodes: n, defaultEdges: i, onConnect: h, onConnectStart: p, onConnectEnd: y, onClickConnectStart: g, onClickConnectEnd: v, nodesDraggable: Se, autoPanOnNodeFocus: q, nodesConnectable: ee, nodesFocusable: re, edgesFocusable: ae, edgesReconnectable: de, elementsSelectable: he, elevateNodesOnSelect: Sn, elevateEdgesOnSelect: Ri, minZoom: Te, maxZoom: He, nodeExtent: Ge, onNodesChange: _n, onEdgesChange: Tn, snapToGrid: ue, snapGrid: me, connectionMode: $, translateExtent: Xe, connectOnClick: Ct, defaultEdgeOptions: gn, fitView: xe, fitViewOptions: je, onNodesDelete: A, onEdgesDelete: T, onDelete: I, onNodeDragStart: S, onNodeDrag: C, onNodeDragStop: E, onSelectionDrag: M, onSelectionDragStart: N, onSelectionDragStop: O, onMove: d, onMoveStart: f, onMoveEnd: u, noPanClassName: Pi, nodeOrigin: fe, rfId: Fi, autoPanOnConnect: hs, autoPanOnNodeDrag: bo, autoPanSpeed: Xi, onError: Cl, connectionRadius: Li, isValidConnection: Ji, selectNodesOnDrag: ye, nodeDragThreshold: Ve, connectionDragThreshold: ft, onBeforeDelete: H, debug: Pd, ariaLabelConfig: Rd, zIndexMode: El }), m(Jce, { onInit: c, onNodeClick: a, onEdgeClick: l, onNodeMouseEnter: b, onNodeMouseMove: w, onNodeMouseLeave: x, onNodeContextMenu: k, onNodeDoubleClick: _, nodeTypes: o, edgeTypes: s, connectionLineType: V, connectionLineStyle: X, connectionLineComponent: Q, connectionLineContainerStyle: z, selectionKeyCode: W, selectionOnDrag: j, selectionMode: ne, deleteKeyCode: G, multiSelectionKeyCode: Z, panActivationKeyCode: le, zoomActivationKeyCode: te, onlyRenderVisibleElements: ge, defaultViewport: ve, translateExtent: Xe, minZoom: Te, maxZoom: He, preventScrolling: pt, zoomOnScroll: ke, zoomOnPinch: at, zoomOnDoubleClick: be, panOnScroll: pe, panOnScrollSpeed: se, panOnScrollMode: ce, panOnDrag: we, onPaneClick: Ae, onPaneMouseEnter: Ee, onPaneMouseMove: ze, onPaneMouseLeave: Me, onPaneScroll: Ue, onPaneContextMenu: et, paneClickDistance: dt, nodeClickDistance: ct, onSelectionContextMenu: P, onSelectionStart: L, onSelectionEnd: B, onReconnect: nt, onReconnectStart: gt, onReconnectEnd: yt, onEdgeContextMenu: sn, onEdgeDoubleClick: Wt, onEdgeMouseEnter: Ut, onEdgeMouseMove:
|
|
32562
|
+
return m("div", { "data-testid": "rf__wrapper", ...Nl, onScroll: On, style: { ...Zi, ...ede }, ref: Al, className: xn(["react-flow", r, pa]), id: Fe, role: "application", children: R(Qce, { nodes: e, edges: t, width: Jr, height: Zr, fitView: xe, fitViewOptions: je, minZoom: Te, maxZoom: He, nodeOrigin: fe, nodeExtent: Ge, zIndexMode: El, children: [m(Dle, { nodes: e, edges: t, defaultNodes: n, defaultEdges: i, onConnect: h, onConnectStart: p, onConnectEnd: y, onClickConnectStart: g, onClickConnectEnd: v, nodesDraggable: Se, autoPanOnNodeFocus: q, nodesConnectable: ee, nodesFocusable: re, edgesFocusable: ae, edgesReconnectable: de, elementsSelectable: he, elevateNodesOnSelect: Sn, elevateEdgesOnSelect: Ri, minZoom: Te, maxZoom: He, nodeExtent: Ge, onNodesChange: _n, onEdgesChange: Tn, snapToGrid: ue, snapGrid: me, connectionMode: $, translateExtent: Xe, connectOnClick: Ct, defaultEdgeOptions: gn, fitView: xe, fitViewOptions: je, onNodesDelete: A, onEdgesDelete: T, onDelete: I, onNodeDragStart: S, onNodeDrag: C, onNodeDragStop: E, onSelectionDrag: M, onSelectionDragStart: N, onSelectionDragStop: O, onMove: d, onMoveStart: f, onMoveEnd: u, noPanClassName: Pi, nodeOrigin: fe, rfId: Fi, autoPanOnConnect: hs, autoPanOnNodeDrag: bo, autoPanSpeed: Xi, onError: Cl, connectionRadius: Li, isValidConnection: Ji, selectNodesOnDrag: ye, nodeDragThreshold: Ve, connectionDragThreshold: ft, onBeforeDelete: H, debug: Pd, ariaLabelConfig: Rd, zIndexMode: El }), m(Jce, { onInit: c, onNodeClick: a, onEdgeClick: l, onNodeMouseEnter: b, onNodeMouseMove: w, onNodeMouseLeave: x, onNodeContextMenu: k, onNodeDoubleClick: _, nodeTypes: o, edgeTypes: s, connectionLineType: V, connectionLineStyle: X, connectionLineComponent: Q, connectionLineContainerStyle: z, selectionKeyCode: W, selectionOnDrag: j, selectionMode: ne, deleteKeyCode: G, multiSelectionKeyCode: Z, panActivationKeyCode: le, zoomActivationKeyCode: te, onlyRenderVisibleElements: ge, defaultViewport: ve, translateExtent: Xe, minZoom: Te, maxZoom: He, preventScrolling: pt, zoomOnScroll: ke, zoomOnPinch: at, zoomOnDoubleClick: be, panOnScroll: pe, panOnScrollSpeed: se, panOnScrollMode: ce, panOnDrag: we, onPaneClick: Ae, onPaneMouseEnter: Ee, onPaneMouseMove: ze, onPaneMouseLeave: Me, onPaneScroll: Ue, onPaneContextMenu: et, paneClickDistance: dt, nodeClickDistance: ct, onSelectionContextMenu: P, onSelectionStart: L, onSelectionEnd: B, onReconnect: nt, onReconnectStart: gt, onReconnectEnd: yt, onEdgeContextMenu: sn, onEdgeDoubleClick: Wt, onEdgeMouseEnter: Ut, onEdgeMouseMove: Un, onEdgeMouseLeave: kn, reconnectRadius: dn, defaultMarkerColor: ut, noDragClassName: yi, noWheelClassName: Yi, noPanClassName: Pi, rfId: Fi, disableKeyboardA11y: Sr, nodeExtent: Ge, viewport: mt, onViewportChange: Qi }), m(Ale, { onSelectionChange: D }), Je, m(_le, { proOptions: St, position: $t }), m(kle, { rfId: Fi, disableKeyboardA11y: Sr })] }) });
|
|
32562
32563
|
}
|
|
32563
32564
|
var nde = vR(tde);
|
|
32564
32565
|
function ide({ dimensions: e, lineWidth: t, variant: n, className: i }) {
|
|
@@ -34971,7 +34972,7 @@ function eue(e) {
|
|
|
34971
34972
|
}), gt = F(null), yt = F(
|
|
34972
34973
|
() => {
|
|
34973
34974
|
}
|
|
34974
|
-
), sn = F([]), Wt = F("detail"), Ut = Y(() => () => gt.current, []),
|
|
34975
|
+
), sn = F([]), Wt = F("detail"), Ut = Y(() => () => gt.current, []), Un = Y(
|
|
34975
34976
|
() => (ot) => yt.current(ot),
|
|
34976
34977
|
[]
|
|
34977
34978
|
), {
|
|
@@ -34994,7 +34995,7 @@ function eue(e) {
|
|
|
34994
34995
|
onViewportChange: X,
|
|
34995
34996
|
nodeWindowingActive: Z ?? !1,
|
|
34996
34997
|
getContentBounds: Ut,
|
|
34997
|
-
getNodePosition:
|
|
34998
|
+
getNodePosition: Un,
|
|
34998
34999
|
viewportInset: D
|
|
34999
35000
|
}), $t = (Z ?? !1) && dn, {
|
|
35000
35001
|
selectedNodes: St,
|
|
@@ -38905,7 +38906,7 @@ const M0 = ({
|
|
|
38905
38906
|
}
|
|
38906
38907
|
);
|
|
38907
38908
|
}, She = bz(
|
|
38908
|
-
() => import("./index-
|
|
38909
|
+
() => import("./index-69C6iS9a.js").then((e) => ({ default: e.MapCollection }))
|
|
38909
38910
|
), Xs = {
|
|
38910
38911
|
table: {
|
|
38911
38912
|
name: "Table",
|
|
@@ -40111,7 +40112,7 @@ const Xw = "dc_shared_view", bpe = (e) => {
|
|
|
40111
40112
|
};
|
|
40112
40113
|
return /* @__PURE__ */ m("div", { className: "flex flex-col", children: /* @__PURE__ */ R("div", { className: "flex items-end gap-2", children: [
|
|
40113
40114
|
/* @__PURE__ */ m("div", { className: "shrink grow [&_button]:h-8 [&_button]:rounded", children: /* @__PURE__ */ m(
|
|
40114
|
-
|
|
40115
|
+
Qn,
|
|
40115
40116
|
{
|
|
40116
40117
|
label: i.collections.sorting.sortBy,
|
|
40117
40118
|
options: r,
|
|
@@ -40455,7 +40456,7 @@ const Xw = "dc_shared_view", bpe = (e) => {
|
|
|
40455
40456
|
(_e) => !("type" in _e && _e.type === "separator")
|
|
40456
40457
|
)
|
|
40457
40458
|
};
|
|
40458
|
-
}, [Je, gt]), [sn, Wt] = J(!1), [Ut,
|
|
40459
|
+
}, [Je, gt]), [sn, Wt] = J(!1), [Ut, Un] = J(0), [kn, dn] = J(!1), [_n, Tn] = J("idle"), [yi, Yi] = J(!1), Pi = F(null), xe = F(null), je = F(null), Ct = F(null), $t = F(null), St = sie(
|
|
40459
40460
|
je,
|
|
40460
40461
|
Ct,
|
|
40461
40462
|
$t
|
|
@@ -40488,7 +40489,7 @@ const Xw = "dc_shared_view", bpe = (e) => {
|
|
|
40488
40489
|
const Li = Re(), Ji = Y(() => L === !0 ? (_e) => _e !== void 0 ? `${_e} ${Li.collections.itemsCount}` : null : L || void 0, [L, Li]), Cl = (_e, Ke, Ot) => {
|
|
40489
40490
|
i?.(_e, Ke, Ot), Wt(
|
|
40490
40491
|
!!_e.allSelected || _e.itemsStatus.some((Cr) => Cr.checked)
|
|
40491
|
-
), Tn((Cr) => Cr === "error" ? "idle" : Cr),
|
|
40492
|
+
), Tn((Cr) => Cr === "error" ? "idle" : Cr), Un(_e.selectedCount), dt(() => Ke), dn(_e.allSelected === !0);
|
|
40492
40493
|
const Rt = e.bulkActions ? e.bulkActions(_e) : void 0, vi = (Cr, gs) => {
|
|
40493
40494
|
Tn("loading"), gs.then(
|
|
40494
40495
|
() => {
|
|
@@ -41359,11 +41360,11 @@ function Fpe({
|
|
|
41359
41360
|
);
|
|
41360
41361
|
}
|
|
41361
41362
|
function $pe(e) {
|
|
41362
|
-
const t =
|
|
41363
|
+
const t = ti(e);
|
|
41363
41364
|
return ln(t, "ZodString") ? (t._def.checks || []).some((i) => i.kind === "email") : !1;
|
|
41364
41365
|
}
|
|
41365
41366
|
function Bpe(e) {
|
|
41366
|
-
const t =
|
|
41367
|
+
const t = ti(e);
|
|
41367
41368
|
return ln(t, "ZodString") ? (t._def.checks || []).some((i) => i.kind === "url") : !1;
|
|
41368
41369
|
}
|
|
41369
41370
|
function Jw(e) {
|
|
@@ -41393,9 +41394,9 @@ function LE(e) {
|
|
|
41393
41394
|
const t = pd(e), n = fI(
|
|
41394
41395
|
e,
|
|
41395
41396
|
t ?? {}
|
|
41396
|
-
), i = t ?? {}, r =
|
|
41397
|
+
), i = t ?? {}, r = ti(e);
|
|
41397
41398
|
if (ln(r, "ZodArray")) {
|
|
41398
|
-
const o =
|
|
41399
|
+
const o = ti(r._def.type), s = PE(i) ?? RE(o);
|
|
41399
41400
|
return s ? { kind: "multiselect", options: s } : null;
|
|
41400
41401
|
}
|
|
41401
41402
|
switch (n) {
|
|
@@ -41466,7 +41467,7 @@ function Vpe(e, t) {
|
|
|
41466
41467
|
n[r] = o;
|
|
41467
41468
|
continue;
|
|
41468
41469
|
}
|
|
41469
|
-
const s = o.describe(o.description ?? ""), a =
|
|
41470
|
+
const s = o.describe(o.description ?? ""), a = ti(o), l = t?.[r], c = l?.label ?? x8(r), d = l?.placeholder;
|
|
41470
41471
|
if (ln(a, "ZodEnum")) {
|
|
41471
41472
|
const f = a._def.values;
|
|
41472
41473
|
n[r] = $m(
|
|
@@ -41600,7 +41601,7 @@ function Wpe({
|
|
|
41600
41601
|
(se) => {
|
|
41601
41602
|
const ce = { ...se };
|
|
41602
41603
|
for (const be of _) {
|
|
41603
|
-
const we =
|
|
41604
|
+
const we = ti(k[be]);
|
|
41604
41605
|
if (ln(we, "ZodNumber") && typeof ce[be] == "string") {
|
|
41605
41606
|
const Ae = ce[be].trim();
|
|
41606
41607
|
ce[be] = Ae === "" ? void 0 : Number(Ae);
|
|
@@ -41635,7 +41636,7 @@ function Wpe({
|
|
|
41635
41636
|
ce[we] = Ae._def.defaultValue();
|
|
41636
41637
|
continue;
|
|
41637
41638
|
}
|
|
41638
|
-
const Ee =
|
|
41639
|
+
const Ee = ti(Ae);
|
|
41639
41640
|
ln(Ee, "ZodString") ? ce[we] = "" : ln(Ee, "ZodArray") ? ce[we] = [] : ln(Ee, "ZodBoolean") && (ce[we] = !1);
|
|
41640
41641
|
}
|
|
41641
41642
|
return ce;
|
|
@@ -42560,7 +42561,7 @@ const Qpe = {
|
|
|
42560
42561
|
}, V = /* @__PURE__ */ m("span", { className: "sr-only", role: "status", "aria-live": "polite", children: B });
|
|
42561
42562
|
return /* @__PURE__ */ R(We, { children: [
|
|
42562
42563
|
g ? /* @__PURE__ */ m(
|
|
42563
|
-
|
|
42564
|
+
Qn,
|
|
42564
42565
|
{
|
|
42565
42566
|
...$,
|
|
42566
42567
|
clearable: !0,
|
|
@@ -42568,7 +42569,7 @@ const Qpe = {
|
|
|
42568
42569
|
(!X || !Q) && c();
|
|
42569
42570
|
}
|
|
42570
42571
|
}
|
|
42571
|
-
) : /* @__PURE__ */ m(
|
|
42572
|
+
) : /* @__PURE__ */ m(Qn, { ...$ }),
|
|
42572
42573
|
V
|
|
42573
42574
|
] });
|
|
42574
42575
|
}, lme = (e, t) => (t ?? Object.keys(e)).filter((i) => i in e).map((i) => ({
|
|
@@ -42590,7 +42591,7 @@ const Qpe = {
|
|
|
42590
42591
|
[l.countries, i]
|
|
42591
42592
|
);
|
|
42592
42593
|
return /* @__PURE__ */ m(
|
|
42593
|
-
|
|
42594
|
+
Qn,
|
|
42594
42595
|
{
|
|
42595
42596
|
label: e,
|
|
42596
42597
|
placeholder: l.locationInput.selectCountry,
|
|
@@ -42867,7 +42868,7 @@ const Qpe = {
|
|
|
42867
42868
|
]
|
|
42868
42869
|
}
|
|
42869
42870
|
) : T || A ? /* @__PURE__ */ m("div", { onFocus: T, onBlur: A, children: q }) : q;
|
|
42870
|
-
}), jE =
|
|
42871
|
+
}), jE = ii(
|
|
42871
42872
|
"F0LocationInput",
|
|
42872
42873
|
ume
|
|
42873
42874
|
);
|
|
@@ -45591,7 +45592,7 @@ const fye = U8(oV), uye = ({ country: e }) => {
|
|
|
45591
45592
|
dialCode: Lv(e)
|
|
45592
45593
|
}) : a.phoneInput.country;
|
|
45593
45594
|
return /* @__PURE__ */ m("div", { className: "h-full shrink-0", children: /* @__PURE__ */ m(
|
|
45594
|
-
|
|
45595
|
+
Qn,
|
|
45595
45596
|
{
|
|
45596
45597
|
label: u,
|
|
45597
45598
|
hideLabel: !0,
|
|
@@ -45896,7 +45897,7 @@ const K8 = { AC: "40123", AD: "312345", AE: "501234567", AF: "701234567", AG: "2
|
|
|
45896
45897
|
}
|
|
45897
45898
|
);
|
|
45898
45899
|
}
|
|
45899
|
-
), vye =
|
|
45900
|
+
), vye = ii(
|
|
45900
45901
|
"F0PhoneInput",
|
|
45901
45902
|
yye
|
|
45902
45903
|
);
|
|
@@ -48998,7 +48999,7 @@ class Nu {
|
|
|
48998
48999
|
}
|
|
48999
49000
|
}
|
|
49000
49001
|
const z0 = /* @__PURE__ */ Object.create(null);
|
|
49001
|
-
class
|
|
49002
|
+
class ri {
|
|
49002
49003
|
/**
|
|
49003
49004
|
Get the step map that represents the changes made by this step,
|
|
49004
49005
|
and which can be used to transform between positions in the old
|
|
@@ -49081,7 +49082,7 @@ function B3(e, t, n) {
|
|
|
49081
49082
|
}
|
|
49082
49083
|
return Ce.fromArray(i);
|
|
49083
49084
|
}
|
|
49084
|
-
class Bs extends
|
|
49085
|
+
class Bs extends ri {
|
|
49085
49086
|
/**
|
|
49086
49087
|
Create a mark step.
|
|
49087
49088
|
*/
|
|
@@ -49119,8 +49120,8 @@ class Bs extends ii {
|
|
|
49119
49120
|
return new Bs(n.from, n.to, t.markFromJSON(n.mark));
|
|
49120
49121
|
}
|
|
49121
49122
|
}
|
|
49122
|
-
|
|
49123
|
-
class oo extends
|
|
49123
|
+
ri.jsonID("addMark", Bs);
|
|
49124
|
+
class oo extends ri {
|
|
49124
49125
|
/**
|
|
49125
49126
|
Create a mark-removing step.
|
|
49126
49127
|
*/
|
|
@@ -49158,8 +49159,8 @@ class oo extends ii {
|
|
|
49158
49159
|
return new oo(n.from, n.to, t.markFromJSON(n.mark));
|
|
49159
49160
|
}
|
|
49160
49161
|
}
|
|
49161
|
-
|
|
49162
|
-
class zs extends
|
|
49162
|
+
ri.jsonID("removeMark", oo);
|
|
49163
|
+
class zs extends ri {
|
|
49163
49164
|
/**
|
|
49164
49165
|
Create a node mark step.
|
|
49165
49166
|
*/
|
|
@@ -49202,8 +49203,8 @@ class zs extends ii {
|
|
|
49202
49203
|
return new zs(n.pos, t.markFromJSON(n.mark));
|
|
49203
49204
|
}
|
|
49204
49205
|
}
|
|
49205
|
-
|
|
49206
|
-
class Vc extends
|
|
49206
|
+
ri.jsonID("addNodeMark", zs);
|
|
49207
|
+
class Vc extends ri {
|
|
49207
49208
|
/**
|
|
49208
49209
|
Create a mark-removing step.
|
|
49209
49210
|
*/
|
|
@@ -49237,8 +49238,8 @@ class Vc extends ii {
|
|
|
49237
49238
|
return new Vc(n.pos, t.markFromJSON(n.mark));
|
|
49238
49239
|
}
|
|
49239
49240
|
}
|
|
49240
|
-
|
|
49241
|
-
class Mn extends
|
|
49241
|
+
ri.jsonID("removeNodeMark", Vc);
|
|
49242
|
+
class Mn extends ri {
|
|
49242
49243
|
/**
|
|
49243
49244
|
The given `slice` should fit the 'gap' between `from` and
|
|
49244
49245
|
`to`—the depths must line up, and the surrounding nodes must be
|
|
@@ -49289,8 +49290,8 @@ class Mn extends ii {
|
|
|
49289
49290
|
return new Mn(n.from, n.to, Pe.fromJSON(t, n.slice), !!n.structure);
|
|
49290
49291
|
}
|
|
49291
49292
|
}
|
|
49292
|
-
|
|
49293
|
-
class Pn extends
|
|
49293
|
+
ri.jsonID("replace", Mn);
|
|
49294
|
+
class Pn extends ri {
|
|
49294
49295
|
/**
|
|
49295
49296
|
Create a replace-around step with the given range and gap.
|
|
49296
49297
|
`insert` should be the point in the slice into which the content
|
|
@@ -49347,7 +49348,7 @@ class Pn extends ii {
|
|
|
49347
49348
|
return new Pn(n.from, n.to, n.gapFrom, n.gapTo, Pe.fromJSON(t, n.slice), n.insert, !!n.structure);
|
|
49348
49349
|
}
|
|
49349
49350
|
}
|
|
49350
|
-
|
|
49351
|
+
ri.jsonID("replaceAround", Pn);
|
|
49351
49352
|
function px(e, t, n) {
|
|
49352
49353
|
let i = e.resolve(t), r = n - t, o = i.depth;
|
|
49353
49354
|
for (; r > 0 && o > 0 && i.indexAfter(o) == i.node(o).childCount; )
|
|
@@ -49933,7 +49934,7 @@ function SL(e, t) {
|
|
|
49933
49934
|
}
|
|
49934
49935
|
return n;
|
|
49935
49936
|
}
|
|
49936
|
-
class hc extends
|
|
49937
|
+
class hc extends ri {
|
|
49937
49938
|
/**
|
|
49938
49939
|
Construct an attribute step.
|
|
49939
49940
|
*/
|
|
@@ -49970,8 +49971,8 @@ class hc extends ii {
|
|
|
49970
49971
|
return new hc(n.pos, n.attr, n.value);
|
|
49971
49972
|
}
|
|
49972
49973
|
}
|
|
49973
|
-
|
|
49974
|
-
class Au extends
|
|
49974
|
+
ri.jsonID("attr", hc);
|
|
49975
|
+
class Au extends ri {
|
|
49975
49976
|
/**
|
|
49976
49977
|
Construct an attribute step.
|
|
49977
49978
|
*/
|
|
@@ -50004,7 +50005,7 @@ class Au extends ii {
|
|
|
50004
50005
|
return new Au(n.attr, n.value);
|
|
50005
50006
|
}
|
|
50006
50007
|
}
|
|
50007
|
-
|
|
50008
|
+
ri.jsonID("docAttr", Au);
|
|
50008
50009
|
let Wc = class extends Error {
|
|
50009
50010
|
};
|
|
50010
50011
|
Wc = function e(t) {
|
|
@@ -51153,7 +51154,7 @@ function w1e(e, t, n) {
|
|
|
51153
51154
|
}
|
|
51154
51155
|
const ho = typeof navigator < "u" ? navigator : null, E6 = typeof document < "u" ? document : null, fa = ho && ho.userAgent || "", gx = /Edge\/(\d+)/.exec(fa), NL = /MSIE \d/.exec(fa), yx = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(fa), Ti = !!(NL || yx || gx), Ws = NL ? document.documentMode : yx ? +yx[1] : gx ? +gx[1] : 0, Ur = !Ti && /gecko\/(\d+)/i.test(fa);
|
|
51155
51156
|
Ur && +(/Firefox\/(\d+)/.exec(fa) || [0, 0])[1];
|
|
51156
|
-
const vx = !Ti && /Chrome\/(\d+)/.exec(fa),
|
|
51157
|
+
const vx = !Ti && /Chrome\/(\d+)/.exec(fa), Jn = !!vx, AL = vx ? +vx[1] : 0, ui = !Ti && !!ho && /Apple Computer/.test(ho.vendor), qc = ui && (/Mobile\/\w+/.test(fa) || !!ho && ho.maxTouchPoints > 2), fr = qc || (ho ? /Mac/.test(ho.platform) : !1), x1e = ho ? /Win/.test(ho.platform) : !1, Ho = /Android \d/.test(fa), Lh = !!E6 && "webkitFontSmoothing" in E6.documentElement.style, k1e = Lh ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
51157
51158
|
function _1e(e) {
|
|
51158
51159
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
51159
51160
|
return t ? {
|
|
@@ -52369,7 +52370,7 @@ class j1e {
|
|
|
52369
52370
|
for (; t instanceof ol; )
|
|
52370
52371
|
n = t, t = n.children[n.children.length - 1];
|
|
52371
52372
|
(!t || // Empty textblock
|
|
52372
|
-
!(t instanceof Z1) || /\n$/.test(t.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(t.node.text)) && ((ui ||
|
|
52373
|
+
!(t instanceof Z1) || /\n$/.test(t.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(t.node.text)) && ((ui || Jn) && t && t.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
|
|
52373
52374
|
}
|
|
52374
52375
|
addHackNode(t, n) {
|
|
52375
52376
|
if (n == this.top && this.index < n.children.length && n.children[this.index].matchesHack(t))
|
|
@@ -52545,7 +52546,7 @@ function zL(e) {
|
|
|
52545
52546
|
function Go(e, t = !1) {
|
|
52546
52547
|
let n = e.state.selection;
|
|
52547
52548
|
if (jL(e, n), !!zL(e)) {
|
|
52548
|
-
if (!t && e.input.mouseDown && e.input.mouseDown.allowDefault &&
|
|
52549
|
+
if (!t && e.input.mouseDown && e.input.mouseDown.allowDefault && Jn) {
|
|
52549
52550
|
let i = e.domSelectionRange(), r = e.domObserver.currentSelection;
|
|
52550
52551
|
if (i.anchorNode && r.anchorNode && rl(i.anchorNode, i.anchorOffset, r.anchorNode, r.anchorOffset)) {
|
|
52551
52552
|
e.input.mouseDown.delayedSelectionSync = !0, e.domObserver.setCurSelection();
|
|
@@ -52561,7 +52562,7 @@ function Go(e, t = !1) {
|
|
|
52561
52562
|
e.domObserver.setCurSelection(), e.domObserver.connectSelection();
|
|
52562
52563
|
}
|
|
52563
52564
|
}
|
|
52564
|
-
const R6 = ui ||
|
|
52565
|
+
const R6 = ui || Jn && AL < 63;
|
|
52565
52566
|
function L6(e, t) {
|
|
52566
52567
|
let { node: n, offset: i } = e.docView.domFromPos(t, 0), r = i < n.childNodes.length ? n.childNodes[i] : null, o = i ? n.childNodes[i - 1] : null;
|
|
52567
52568
|
if (ui && r && r.contentEditable == "false")
|
|
@@ -52789,7 +52790,7 @@ function kx(e, t, n) {
|
|
|
52789
52790
|
}
|
|
52790
52791
|
function j6(e, t) {
|
|
52791
52792
|
let n = e.state.doc.resolve(t);
|
|
52792
|
-
if (!(
|
|
52793
|
+
if (!(Jn || x1e) && n.parent.inlineContent) {
|
|
52793
52794
|
let r = e.coordsAtPos(t);
|
|
52794
52795
|
if (t > n.start()) {
|
|
52795
52796
|
let o = e.coordsAtPos(t - 1), s = (o.top + o.bottom) / 2;
|
|
@@ -53042,7 +53043,7 @@ function sve(e) {
|
|
|
53042
53043
|
return n;
|
|
53043
53044
|
}
|
|
53044
53045
|
function ave(e) {
|
|
53045
|
-
let t = e.querySelectorAll(
|
|
53046
|
+
let t = e.querySelectorAll(Jn ? "span:not([class]):not([style])" : "span.Apple-converted-space");
|
|
53046
53047
|
for (let n = 0; n < t.length; n++) {
|
|
53047
53048
|
let i = t[n];
|
|
53048
53049
|
i.childNodes.length == 1 && i.textContent == " " && i.parentNode && i.parentNode.replaceChild(e.ownerDocument.createTextNode(" "), i);
|
|
@@ -53117,7 +53118,7 @@ function pve(e, t) {
|
|
|
53117
53118
|
}
|
|
53118
53119
|
pi.keydown = (e, t) => {
|
|
53119
53120
|
let n = t;
|
|
53120
|
-
if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !JL(e, n) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(Ho &&
|
|
53121
|
+
if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !JL(e, n) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(Ho && Jn && n.keyCode == 13)))
|
|
53121
53122
|
if (n.keyCode != 229 && e.domObserver.forceFlush(), qc && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
|
|
53122
53123
|
let i = Date.now();
|
|
53123
53124
|
e.input.lastIOSEnter = i, e.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
@@ -53261,7 +53262,7 @@ class kve {
|
|
|
53261
53262
|
// (hidden) cursor is doesn't change the selection, and
|
|
53262
53263
|
// thus doesn't get a reaction from ProseMirror. This
|
|
53263
53264
|
// works around that.
|
|
53264
|
-
|
|
53265
|
+
Jn && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (pc(this.view, rt.near(this.view.state.doc.resolve(n.pos))), t.preventDefault()) : js(this.view, "pointer");
|
|
53265
53266
|
}
|
|
53266
53267
|
move(t) {
|
|
53267
53268
|
this.updateAllowDefault(t), js(this.view, "pointer"), t.buttons == 0 && this.done();
|
|
@@ -53421,7 +53422,7 @@ hi.dragstart = (e, t) => {
|
|
|
53421
53422
|
}
|
|
53422
53423
|
}
|
|
53423
53424
|
let a = (s || e.state.selection).content(), { dom: l, text: c, slice: d } = G3(e, a);
|
|
53424
|
-
(!n.dataTransfer.files.length || !
|
|
53425
|
+
(!n.dataTransfer.files.length || !Jn || AL > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(Tu ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", Tu || n.dataTransfer.setData("text/plain", c), e.dragging = new t7(d, !n[n7], s);
|
|
53425
53426
|
};
|
|
53426
53427
|
hi.dragend = (e) => {
|
|
53427
53428
|
let t = e.dragging;
|
|
@@ -53478,7 +53479,7 @@ hi.blur = (e, t) => {
|
|
|
53478
53479
|
e.focused && (e.domObserver.stop(), e.dom.classList.remove("ProseMirror-focused"), e.domObserver.start(), n.relatedTarget && e.dom.contains(n.relatedTarget) && e.domObserver.currentSelection.clear(), e.focused = !1);
|
|
53479
53480
|
};
|
|
53480
53481
|
hi.beforeinput = (e, t) => {
|
|
53481
|
-
if (
|
|
53482
|
+
if (Jn && Ho && t.inputType == "deleteContentBackward") {
|
|
53482
53483
|
e.domObserver.flushSoon();
|
|
53483
53484
|
let { domChangeCount: i } = e.input;
|
|
53484
53485
|
setTimeout(() => {
|
|
@@ -53646,7 +53647,7 @@ class Dt {
|
|
|
53646
53647
|
you must make a copy if you want need to preserve that.
|
|
53647
53648
|
*/
|
|
53648
53649
|
static create(t, n) {
|
|
53649
|
-
return n.length ? Fg(n, t, 0, Wa) :
|
|
53650
|
+
return n.length ? Fg(n, t, 0, Wa) : Kn;
|
|
53650
53651
|
}
|
|
53651
53652
|
/**
|
|
53652
53653
|
Find all decorations in this set which touch the given range
|
|
@@ -53676,7 +53677,7 @@ class Dt {
|
|
|
53676
53677
|
document.
|
|
53677
53678
|
*/
|
|
53678
53679
|
map(t, n, i) {
|
|
53679
|
-
return this ==
|
|
53680
|
+
return this == Kn || t.maps.length == 0 ? this : this.mapInner(t, n, 0, 0, i || Wa);
|
|
53680
53681
|
}
|
|
53681
53682
|
/**
|
|
53682
53683
|
@internal
|
|
@@ -53687,7 +53688,7 @@ class Dt {
|
|
|
53687
53688
|
let l = this.local[a].map(t, i, r);
|
|
53688
53689
|
l && l.type.valid(n, l) ? (s || (s = [])).push(l) : o.onRemove && o.onRemove(this.local[a].spec);
|
|
53689
53690
|
}
|
|
53690
|
-
return this.children.length ? Tve(this.children, s || [], t, n, i, r, o) : s ? new Dt(s.sort(Ua), Yl) :
|
|
53691
|
+
return this.children.length ? Tve(this.children, s || [], t, n, i, r, o) : s ? new Dt(s.sort(Ua), Yl) : Kn;
|
|
53691
53692
|
}
|
|
53692
53693
|
/**
|
|
53693
53694
|
Add the given array of decorations to the ones in the set,
|
|
@@ -53696,7 +53697,7 @@ class Dt {
|
|
|
53696
53697
|
structure.
|
|
53697
53698
|
*/
|
|
53698
53699
|
add(t, n) {
|
|
53699
|
-
return n.length ? this ==
|
|
53700
|
+
return n.length ? this == Kn ? Dt.create(t, n) : this.addInner(t, n, 0) : this;
|
|
53700
53701
|
}
|
|
53701
53702
|
addInner(t, n, i) {
|
|
53702
53703
|
let r, o = 0;
|
|
@@ -53718,7 +53719,7 @@ class Dt {
|
|
|
53718
53719
|
the ones in the given array.
|
|
53719
53720
|
*/
|
|
53720
53721
|
remove(t) {
|
|
53721
|
-
return t.length == 0 || this ==
|
|
53722
|
+
return t.length == 0 || this == Kn ? this : this.removeInner(t, 0);
|
|
53722
53723
|
}
|
|
53723
53724
|
removeInner(t, n) {
|
|
53724
53725
|
let i = this.children, r = this.local;
|
|
@@ -53730,7 +53731,7 @@ class Dt {
|
|
|
53730
53731
|
continue;
|
|
53731
53732
|
i == this.children && (i = this.children.slice());
|
|
53732
53733
|
let c = i[o + 2].removeInner(s, a + 1);
|
|
53733
|
-
c !=
|
|
53734
|
+
c != Kn ? i[o + 2] = c : (i.splice(o, 3), o -= 3);
|
|
53734
53735
|
}
|
|
53735
53736
|
if (r.length) {
|
|
53736
53737
|
for (let o = 0, s; o < t.length; o++)
|
|
@@ -53738,10 +53739,10 @@ class Dt {
|
|
|
53738
53739
|
for (let a = 0; a < r.length; a++)
|
|
53739
53740
|
r[a].eq(s, n) && (r == this.local && (r = this.local.slice()), r.splice(a--, 1));
|
|
53740
53741
|
}
|
|
53741
|
-
return i == this.children && r == this.local ? this : r.length || i.length ? new Dt(r, i) :
|
|
53742
|
+
return i == this.children && r == this.local ? this : r.length || i.length ? new Dt(r, i) : Kn;
|
|
53742
53743
|
}
|
|
53743
53744
|
forChild(t, n) {
|
|
53744
|
-
if (this ==
|
|
53745
|
+
if (this == Kn)
|
|
53745
53746
|
return this;
|
|
53746
53747
|
if (n.isLeaf)
|
|
53747
53748
|
return Dt.empty;
|
|
@@ -53763,7 +53764,7 @@ class Dt {
|
|
|
53763
53764
|
let a = new Dt(r.sort(Ua), Yl);
|
|
53764
53765
|
return i ? new Ps([a, i]) : a;
|
|
53765
53766
|
}
|
|
53766
|
-
return i ||
|
|
53767
|
+
return i || Kn;
|
|
53767
53768
|
}
|
|
53768
53769
|
/**
|
|
53769
53770
|
@internal
|
|
@@ -53791,7 +53792,7 @@ class Dt {
|
|
|
53791
53792
|
@internal
|
|
53792
53793
|
*/
|
|
53793
53794
|
localsInner(t) {
|
|
53794
|
-
if (this ==
|
|
53795
|
+
if (this == Kn)
|
|
53795
53796
|
return Yl;
|
|
53796
53797
|
if (t.inlineContent || !this.local.some(qs.is))
|
|
53797
53798
|
return this.local;
|
|
@@ -53806,7 +53807,7 @@ class Dt {
|
|
|
53806
53807
|
}
|
|
53807
53808
|
Dt.empty = new Dt([], []);
|
|
53808
53809
|
Dt.removeOverlap = Q3;
|
|
53809
|
-
const
|
|
53810
|
+
const Kn = Dt.empty;
|
|
53810
53811
|
class Ps {
|
|
53811
53812
|
constructor(t) {
|
|
53812
53813
|
this.members = t;
|
|
@@ -53821,7 +53822,7 @@ class Ps {
|
|
|
53821
53822
|
let i = [];
|
|
53822
53823
|
for (let r = 0; r < this.members.length; r++) {
|
|
53823
53824
|
let o = this.members[r].forChild(t, n);
|
|
53824
|
-
o !=
|
|
53825
|
+
o != Kn && (o instanceof Ps ? i = i.concat(o.members) : i.push(o));
|
|
53825
53826
|
}
|
|
53826
53827
|
return Ps.from(i);
|
|
53827
53828
|
}
|
|
@@ -53853,7 +53854,7 @@ class Ps {
|
|
|
53853
53854
|
static from(t) {
|
|
53854
53855
|
switch (t.length) {
|
|
53855
53856
|
case 0:
|
|
53856
|
-
return
|
|
53857
|
+
return Kn;
|
|
53857
53858
|
case 1:
|
|
53858
53859
|
return t[0];
|
|
53859
53860
|
default:
|
|
@@ -53896,7 +53897,7 @@ function Tve(e, t, n, i, r, o, s) {
|
|
|
53896
53897
|
let u = n.map(e[c + 1] + o, -1), h = u - r, { index: p, offset: y } = i.content.findIndex(f), g = i.maybeChild(p);
|
|
53897
53898
|
if (g && y == f && y + g.nodeSize == h) {
|
|
53898
53899
|
let v = a[c + 2].mapInner(n, g, d + 1, e[c] + o + 1, s);
|
|
53899
|
-
v !=
|
|
53900
|
+
v != Kn ? (a[c] = f, a[c + 1] = h, a[c + 2] = v) : (a[c + 1] = -2, l = !0);
|
|
53900
53901
|
} else
|
|
53901
53902
|
l = !0;
|
|
53902
53903
|
}
|
|
@@ -53958,13 +53959,13 @@ function Fg(e, t, n, i) {
|
|
|
53958
53959
|
if (c) {
|
|
53959
53960
|
o = !0;
|
|
53960
53961
|
let d = Fg(c, a, n + l + 1, i);
|
|
53961
|
-
d !=
|
|
53962
|
+
d != Kn && r.push(l, l + a.nodeSize, d);
|
|
53962
53963
|
}
|
|
53963
53964
|
});
|
|
53964
53965
|
let s = i7(o ? o7(e) : e, -n).sort(Ua);
|
|
53965
53966
|
for (let a = 0; a < s.length; a++)
|
|
53966
53967
|
s[a].type.valid(t, s[a]) || (i.onRemove && i.onRemove(s[a].spec), s.splice(a--, 1));
|
|
53967
|
-
return s.length || r.length ? new Dt(s, r) :
|
|
53968
|
+
return s.length || r.length ? new Dt(s, r) : Kn;
|
|
53968
53969
|
}
|
|
53969
53970
|
function Ua(e, t) {
|
|
53970
53971
|
return e.from - t.from || e.to - t.to;
|
|
@@ -53996,7 +53997,7 @@ function Y0(e) {
|
|
|
53996
53997
|
let t = [];
|
|
53997
53998
|
return e.someProp("decorations", (n) => {
|
|
53998
53999
|
let i = n(e.state);
|
|
53999
|
-
i && i !=
|
|
54000
|
+
i && i != Kn && t.push(i);
|
|
54000
54001
|
}), e.cursorWrapper && t.push(Dt.create(e.state.doc, [e.cursorWrapper.deco])), Ps.from(t);
|
|
54001
54002
|
}
|
|
54002
54003
|
const Ive = {
|
|
@@ -54197,7 +54198,7 @@ function Fve(e, t) {
|
|
|
54197
54198
|
}
|
|
54198
54199
|
function $ve(e, t, n) {
|
|
54199
54200
|
let { node: i, fromOffset: r, toOffset: o, from: s, to: a } = e.docView.parseRange(t, n), l = e.domSelectionRange(), c, d = l.anchorNode;
|
|
54200
|
-
if (d && e.dom.contains(d.nodeType == 1 ? d : d.parentNode) && (c = [{ node: d, offset: l.anchorOffset }], J1(l) || c.push({ node: l.focusNode, offset: l.focusOffset })),
|
|
54201
|
+
if (d && e.dom.contains(d.nodeType == 1 ? d : d.parentNode) && (c = [{ node: d, offset: l.anchorOffset }], J1(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), Jn && e.input.lastKeyCode === 8)
|
|
54201
54202
|
for (let g = o; g > r; g--) {
|
|
54202
54203
|
let v = i.childNodes[g - 1], b = v.pmViewDesc;
|
|
54203
54204
|
if (v.nodeName == "BR" && !b) {
|
|
@@ -54244,7 +54245,7 @@ function jve(e, t, n, i, r) {
|
|
|
54244
54245
|
if (e.input.compositionPendingChanges = 0, t < 0) {
|
|
54245
54246
|
let E = e.input.lastSelectionTime > Date.now() - 50 ? e.input.lastSelectionOrigin : null, A = q3(e, E);
|
|
54246
54247
|
if (A && !e.state.selection.eq(A)) {
|
|
54247
|
-
if (
|
|
54248
|
+
if (Jn && Ho && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (I) => I(e, Aa(13, "Enter"))))
|
|
54248
54249
|
return;
|
|
54249
54250
|
let T = e.state.tr.setSelection(A);
|
|
54250
54251
|
E == "pointer" ? T.setMeta("pointer", !0) : E == "key" && T.scrollIntoView(), o && T.setMeta("composition", o), e.dispatch(T);
|
|
@@ -54280,10 +54281,10 @@ function jve(e, t, n, i, r) {
|
|
|
54280
54281
|
return;
|
|
54281
54282
|
}
|
|
54282
54283
|
if (e.state.selection.anchor > p.start && Vve(d, p.start, p.endA, y, g) && e.someProp("handleKeyDown", (E) => E(e, Aa(8, "Backspace")))) {
|
|
54283
|
-
Ho &&
|
|
54284
|
+
Ho && Jn && e.domObserver.suppressSelectionUpdates();
|
|
54284
54285
|
return;
|
|
54285
54286
|
}
|
|
54286
|
-
|
|
54287
|
+
Jn && p.endB == p.start && (e.input.lastChromeDelete = Date.now()), Ho && !b && y.start() != g.start() && g.parentOffset == 0 && y.depth == g.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == p.endA && (p.endB -= 2, g = c.doc.resolveNoCache(p.endB - c.from), setTimeout(() => {
|
|
54287
54288
|
e.someProp("handleKeyDown", function(E) {
|
|
54288
54289
|
return E(e, Aa(13, "Enter"));
|
|
54289
54290
|
});
|
|
@@ -54306,7 +54307,7 @@ function jve(e, t, n, i, r) {
|
|
|
54306
54307
|
}
|
|
54307
54308
|
if (_ || (_ = e.state.tr.replace(x, k, c.doc.slice(p.start - c.from, p.endB - c.from))), c.sel) {
|
|
54308
54309
|
let E = J6(e, _.doc, c.sel);
|
|
54309
|
-
E && !(
|
|
54310
|
+
E && !(Jn && e.composing && E.empty && (p.start != p.endB || e.input.lastChromeDelete < Date.now() - 100) && (E.head == x || E.head == _.mapping.map(k) - 1) || Ti && E.empty && E.head == x) && _.setSelection(E);
|
|
54310
54311
|
}
|
|
54311
54312
|
S && _.ensureMarks(S), o && _.setMeta("composition", o), e.dispatch(_.scrollIntoView());
|
|
54312
54313
|
}
|
|
@@ -54460,9 +54461,9 @@ class Uve {
|
|
|
54460
54461
|
let u = d == "preserve" && s && this.dom.style.overflowAnchor == null && C1e(this);
|
|
54461
54462
|
if (s) {
|
|
54462
54463
|
this.domObserver.stop();
|
|
54463
|
-
let h = f && (Ti ||
|
|
54464
|
+
let h = f && (Ti || Jn) && !this.composing && !r.selection.empty && !t.selection.empty && qve(r.selection, t.selection);
|
|
54464
54465
|
if (f) {
|
|
54465
|
-
let p =
|
|
54466
|
+
let p = Jn ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
54466
54467
|
this.composing && (this.input.compositionNode = Sve(this)), (o || !this.docView.update(t.doc, c, l, this)) && (this.docView.updateOuterDeco(c), this.docView.destroy(), this.docView = M6(t.doc, c, l, this.dom, this)), p && !this.trackWrites && (h = !0);
|
|
54467
54468
|
}
|
|
54468
54469
|
h || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Y1e(this)) ? Go(this, h) : (jL(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
@@ -61910,7 +61911,7 @@ var zo = {
|
|
|
61910
61911
|
value: !0
|
|
61911
61912
|
}
|
|
61912
61913
|
};
|
|
61913
|
-
let
|
|
61914
|
+
let qn = null, _t = null;
|
|
61914
61915
|
const fb = {};
|
|
61915
61916
|
async function UN(e) {
|
|
61916
61917
|
if (fb[e]) return fb[e];
|
|
@@ -61939,11 +61940,11 @@ async function Mke(e) {
|
|
|
61939
61940
|
}
|
|
61940
61941
|
_t.originalCategories = _t.categories;
|
|
61941
61942
|
}
|
|
61942
|
-
if (
|
|
61943
|
+
if (qn = (typeof e.i18n == "function" ? await e.i18n() : e.i18n) || (i == "en" ? /* @__PURE__ */ lF(_F) : await UN(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${i}.json`)), e.custom) for (let l in e.custom) {
|
|
61943
61944
|
l = parseInt(l);
|
|
61944
61945
|
const c = e.custom[l], d = e.custom[l - 1];
|
|
61945
61946
|
if (!(!c.emojis || !c.emojis.length)) {
|
|
61946
|
-
c.id || (c.id = `custom_${l + 1}`), c.name || (c.name =
|
|
61947
|
+
c.id || (c.id = `custom_${l + 1}`), c.name || (c.name = qn.categories.custom), d && !c.icon && (c.target = d.target || d), _t.categories.push(c);
|
|
61947
61948
|
for (const f of c.emojis) _t.emojis[f.id] = f;
|
|
61948
61949
|
}
|
|
61949
61950
|
}
|
|
@@ -62680,7 +62681,7 @@ class i2e extends Yg {
|
|
|
62680
62681
|
class: "flex relative",
|
|
62681
62682
|
children: [
|
|
62682
62683
|
this.categories.map((n, i) => {
|
|
62683
|
-
const r = n.name ||
|
|
62684
|
+
const r = n.name || qn.categories[n.id], o = !this.props.unfocused && n.id == this.state.categoryId;
|
|
62684
62685
|
return o && (t = i), /* @__PURE__ */ Ne("button", {
|
|
62685
62686
|
"aria-label": r,
|
|
62686
62687
|
"aria-selected": o || void 0,
|
|
@@ -62737,7 +62738,7 @@ class o2e extends lo {
|
|
|
62737
62738
|
};
|
|
62738
62739
|
}
|
|
62739
62740
|
componentWillMount() {
|
|
62740
|
-
this.dir =
|
|
62741
|
+
this.dir = qn.rtl ? "rtl" : "ltr", this.refs = {
|
|
62741
62742
|
menu: Ao(),
|
|
62742
62743
|
navigation: Ao(),
|
|
62743
62744
|
scroll: Ao(),
|
|
@@ -63060,16 +63061,16 @@ class o2e extends lo {
|
|
|
63060
63061
|
children: [
|
|
63061
63062
|
/* @__PURE__ */ Ne("div", {
|
|
63062
63063
|
class: "preview-title ellipsis",
|
|
63063
|
-
children: t ? t.name :
|
|
63064
|
+
children: t ? t.name : qn.search_no_results_1
|
|
63064
63065
|
}),
|
|
63065
63066
|
/* @__PURE__ */ Ne("div", {
|
|
63066
63067
|
class: "preview-subtitle ellipsis color-c",
|
|
63067
|
-
children: t ? t.skins[0].shortcodes :
|
|
63068
|
+
children: t ? t.skins[0].shortcodes : qn.search_no_results_2
|
|
63068
63069
|
})
|
|
63069
63070
|
]
|
|
63070
63071
|
}) : /* @__PURE__ */ Ne("div", {
|
|
63071
63072
|
class: "preview-placeholder color-c",
|
|
63072
|
-
children:
|
|
63073
|
+
children: qn.pick
|
|
63073
63074
|
})
|
|
63074
63075
|
})
|
|
63075
63076
|
]
|
|
@@ -63143,7 +63144,7 @@ class o2e extends lo {
|
|
|
63143
63144
|
/* @__PURE__ */ Ne("input", {
|
|
63144
63145
|
type: "search",
|
|
63145
63146
|
ref: this.refs.searchInput,
|
|
63146
|
-
placeholder:
|
|
63147
|
+
placeholder: qn.search,
|
|
63147
63148
|
onClick: this.handleSearchClick,
|
|
63148
63149
|
onInput: this.handleSearchInput,
|
|
63149
63150
|
onKeyDown: this.handleSearchKeyDown,
|
|
@@ -63178,7 +63179,7 @@ class o2e extends lo {
|
|
|
63178
63179
|
children: [
|
|
63179
63180
|
/* @__PURE__ */ Ne("div", {
|
|
63180
63181
|
class: `sticky padding-small align-${this.dir[0]}`,
|
|
63181
|
-
children:
|
|
63182
|
+
children: qn.categories.search
|
|
63182
63183
|
}),
|
|
63183
63184
|
/* @__PURE__ */ Ne("div", {
|
|
63184
63185
|
children: t.length ? t.map((n, i) => /* @__PURE__ */ Ne("div", {
|
|
@@ -63195,7 +63196,7 @@ class o2e extends lo {
|
|
|
63195
63196
|
class: `padding-small align-${this.dir[0]}`,
|
|
63196
63197
|
children: this.props.onAddCustomEmoji && /* @__PURE__ */ Ne("a", {
|
|
63197
63198
|
onClick: this.props.onAddCustomEmoji,
|
|
63198
|
-
children:
|
|
63199
|
+
children: qn.add_custom
|
|
63199
63200
|
})
|
|
63200
63201
|
})
|
|
63201
63202
|
})
|
|
@@ -63219,7 +63220,7 @@ class o2e extends lo {
|
|
|
63219
63220
|
children: [
|
|
63220
63221
|
/* @__PURE__ */ Ne("div", {
|
|
63221
63222
|
class: `sticky padding-small align-${this.dir[0]}`,
|
|
63222
|
-
children: r.name ||
|
|
63223
|
+
children: r.name || qn.categories[r.id]
|
|
63223
63224
|
}),
|
|
63224
63225
|
/* @__PURE__ */ Ne("div", {
|
|
63225
63226
|
class: "relative",
|
|
@@ -63275,8 +63276,8 @@ class o2e extends lo {
|
|
|
63275
63276
|
ref: this.refs.skinToneButton,
|
|
63276
63277
|
class: "skin-tone-button flex flex-auto flex-center flex-middle",
|
|
63277
63278
|
"aria-selected": this.state.showSkins ? "" : void 0,
|
|
63278
|
-
"aria-label":
|
|
63279
|
-
title:
|
|
63279
|
+
"aria-label": qn.skins.choose,
|
|
63280
|
+
title: qn.skins.choose,
|
|
63280
63281
|
onClick: this.openSkins,
|
|
63281
63282
|
style: {
|
|
63282
63283
|
width: this.props.emojiSize,
|
|
@@ -63302,7 +63303,7 @@ class o2e extends lo {
|
|
|
63302
63303
|
ref: this.refs.menu,
|
|
63303
63304
|
role: "radiogroup",
|
|
63304
63305
|
dir: this.dir,
|
|
63305
|
-
"aria-label":
|
|
63306
|
+
"aria-label": qn.skins.choose,
|
|
63306
63307
|
class: "menu hidden",
|
|
63307
63308
|
"data-position": r.top ? "top" : "bottom",
|
|
63308
63309
|
style: r,
|
|
@@ -63316,7 +63317,7 @@ class o2e extends lo {
|
|
|
63316
63317
|
type: "radio",
|
|
63317
63318
|
name: "skin-tone",
|
|
63318
63319
|
value: s,
|
|
63319
|
-
"aria-label":
|
|
63320
|
+
"aria-label": qn.skins[s],
|
|
63320
63321
|
ref: a ? this.refs.skinToneRadio : null,
|
|
63321
63322
|
defaultChecked: a,
|
|
63322
63323
|
onChange: () => this.handleSkinMouseOver(s),
|
|
@@ -63337,7 +63338,7 @@ class o2e extends lo {
|
|
|
63337
63338
|
}),
|
|
63338
63339
|
/* @__PURE__ */ Ne("span", {
|
|
63339
63340
|
class: "margin-small-lr",
|
|
63340
|
-
children:
|
|
63341
|
+
children: qn.skins[s]
|
|
63341
63342
|
})
|
|
63342
63343
|
]
|
|
63343
63344
|
})
|
|
@@ -67087,7 +67088,7 @@ function b3e(e) {
|
|
|
67087
67088
|
for (let n = 0; n < e.colspan; n++) t.push(0);
|
|
67088
67089
|
return t;
|
|
67089
67090
|
}
|
|
67090
|
-
function
|
|
67091
|
+
function ni(e) {
|
|
67091
67092
|
let t = e.cached.tableNodeTypes;
|
|
67092
67093
|
if (!t) {
|
|
67093
67094
|
t = e.cached.tableNodeTypes = {};
|
|
@@ -67166,7 +67167,7 @@ function KF(e, t, n = 1) {
|
|
|
67166
67167
|
return i;
|
|
67167
67168
|
}
|
|
67168
67169
|
function _3e(e, t, n) {
|
|
67169
|
-
const i =
|
|
67170
|
+
const i = ni(t.type.schema).header_cell;
|
|
67170
67171
|
for (let r = 0; r < e.height; r++)
|
|
67171
67172
|
if (t.nodeAt(e.map[n + r * e.width]).type != i)
|
|
67172
67173
|
return !1;
|
|
@@ -67471,7 +67472,7 @@ function O3e(e, t, n, i) {
|
|
|
67471
67472
|
d.firstChild && (h = d.firstChild.type.spec.tableRole);
|
|
67472
67473
|
const p = [];
|
|
67473
67474
|
for (let g = 0; g < u; g++) {
|
|
67474
|
-
const v =
|
|
67475
|
+
const v = ni(e.schema)[h].createAndFill();
|
|
67475
67476
|
v && p.push(v);
|
|
67476
67477
|
}
|
|
67477
67478
|
const y = (l == 0 || s == l - 1) && a == l ? c + 1 : f - 1;
|
|
@@ -67501,7 +67502,7 @@ function JF(e, { map: t, tableStart: n, table: i }, r) {
|
|
|
67501
67502
|
KF(c.attrs, r - t.colCount(l))
|
|
67502
67503
|
), s += c.attrs.rowspan - 1;
|
|
67503
67504
|
} else {
|
|
67504
|
-
const l = o == null ?
|
|
67505
|
+
const l = o == null ? ni(i.type.schema).cell : i.nodeAt(t.map[a + o]).type, c = t.positionAt(s, r, i);
|
|
67505
67506
|
e.insert(e.mapping.map(n + c), l.createAndFill());
|
|
67506
67507
|
}
|
|
67507
67508
|
}
|
|
@@ -67557,7 +67558,7 @@ function P3e(e, t) {
|
|
|
67557
67558
|
}
|
|
67558
67559
|
function R3e(e, t, n) {
|
|
67559
67560
|
var i;
|
|
67560
|
-
const r =
|
|
67561
|
+
const r = ni(t.type.schema).header_cell;
|
|
67561
67562
|
for (let o = 0; o < e.width; o++)
|
|
67562
67563
|
if (((i = t.nodeAt(e.map[o + n * e.width])) == null ? void 0 : i.type) != r)
|
|
67563
67564
|
return !1;
|
|
@@ -67578,10 +67579,10 @@ function ZF(e, { map: t, tableStart: n, table: i }, r) {
|
|
|
67578
67579
|
rowspan: u.rowspan + 1
|
|
67579
67580
|
}), c += u.colspan - 1;
|
|
67580
67581
|
} else {
|
|
67581
|
-
const f = l == null ?
|
|
67582
|
+
const f = l == null ? ni(i.type.schema).cell : (o = i.nodeAt(t.map[d + l * t.width])) == null ? void 0 : o.type, u = f?.createAndFill();
|
|
67582
67583
|
u && a.push(u);
|
|
67583
67584
|
}
|
|
67584
|
-
return e.insert(s,
|
|
67585
|
+
return e.insert(s, ni(i.type.schema).row.create(null, a)), e;
|
|
67585
67586
|
}
|
|
67586
67587
|
function L3e(e, t) {
|
|
67587
67588
|
if (!Yr(e)) return !1;
|
|
@@ -67698,7 +67699,7 @@ function bA(e, t) {
|
|
|
67698
67699
|
return !0;
|
|
67699
67700
|
}
|
|
67700
67701
|
function wA(e, t) {
|
|
67701
|
-
const n =
|
|
67702
|
+
const n = ni(e.schema);
|
|
67702
67703
|
return j3e(({ node: i }) => n[i.type.spec.tableRole])(e, t);
|
|
67703
67704
|
}
|
|
67704
67705
|
function j3e(e) {
|
|
@@ -67775,7 +67776,7 @@ function V3e(e) {
|
|
|
67775
67776
|
return function(t, n) {
|
|
67776
67777
|
if (!Yr(t)) return !1;
|
|
67777
67778
|
if (n) {
|
|
67778
|
-
const i =
|
|
67779
|
+
const i = ni(t.schema), r = vo(t), o = t.tr, s = r.map.cellsInRect(
|
|
67779
67780
|
e == "column" ? {
|
|
67780
67781
|
left: r.left,
|
|
67781
67782
|
top: 0,
|
|
@@ -67824,7 +67825,7 @@ function ju(e, t) {
|
|
|
67824
67825
|
return t = t || { useDeprecatedLogic: !1 }, t.useDeprecatedLogic ? V3e(e) : function(n, i) {
|
|
67825
67826
|
if (!Yr(n)) return !1;
|
|
67826
67827
|
if (i) {
|
|
67827
|
-
const r =
|
|
67828
|
+
const r = ni(n.schema), o = vo(n), s = n.tr, a = xA("row", o, r), l = xA(
|
|
67828
67829
|
"column",
|
|
67829
67830
|
o,
|
|
67830
67831
|
r
|
|
@@ -67905,7 +67906,7 @@ function Pp(e, t) {
|
|
|
67905
67906
|
const n = e.selection;
|
|
67906
67907
|
if (!(n instanceof Zt)) return !1;
|
|
67907
67908
|
if (t) {
|
|
67908
|
-
const i = e.tr, r =
|
|
67909
|
+
const i = e.tr, r = ni(e.schema).cell.createAndFill().content;
|
|
67909
67910
|
n.forEachCell((o, s) => {
|
|
67910
67911
|
o.content.eq(r) || i.replace(
|
|
67911
67912
|
i.mapping.map(s + 1),
|
|
@@ -67927,14 +67928,14 @@ function K3e(e) {
|
|
|
67927
67928
|
let c = t.child(l).content;
|
|
67928
67929
|
const d = l ? 0 : Math.max(0, n - 1), f = l < t.childCount - 1 ? 0 : Math.max(0, i - 1);
|
|
67929
67930
|
(d || f) && (c = tk(
|
|
67930
|
-
|
|
67931
|
+
ni(s).row,
|
|
67931
67932
|
new Pe(c, d, f)
|
|
67932
67933
|
).content), a.push(c);
|
|
67933
67934
|
}
|
|
67934
67935
|
else if (o == "cell" || o == "header_cell")
|
|
67935
67936
|
a.push(
|
|
67936
67937
|
n || i ? tk(
|
|
67937
|
-
|
|
67938
|
+
ni(s).row,
|
|
67938
67939
|
new Pe(t, n, i)
|
|
67939
67940
|
).content : t
|
|
67940
67941
|
);
|
|
@@ -67956,7 +67957,7 @@ function G3e(e, t) {
|
|
|
67956
67957
|
for (let r = 0; r < n.length; r++) i = Math.max(i, n[r]);
|
|
67957
67958
|
for (let r = 0; r < n.length; r++)
|
|
67958
67959
|
if (r >= t.length && t.push(Ce.empty), n[r] < i) {
|
|
67959
|
-
const o =
|
|
67960
|
+
const o = ni(e).cell.createAndFill(), s = [];
|
|
67960
67961
|
for (let a = n[r]; a < i; a++)
|
|
67961
67962
|
s.push(o);
|
|
67962
67963
|
t[r] = t[r].append(Ce.from(s));
|
|
@@ -68010,7 +68011,7 @@ function Y3e({ width: e, height: t, rows: n }, i, r) {
|
|
|
68010
68011
|
return { width: e, height: t, rows: n };
|
|
68011
68012
|
}
|
|
68012
68013
|
function X3e(e, t, n, i, r, o, s) {
|
|
68013
|
-
const a = e.doc.type.schema, l =
|
|
68014
|
+
const a = e.doc.type.schema, l = ni(a);
|
|
68014
68015
|
let c, d;
|
|
68015
68016
|
if (r > t.width)
|
|
68016
68017
|
for (let f = 0, u = 0; f < t.height; f++) {
|
|
@@ -68189,7 +68190,7 @@ function Q3e(e, t, n) {
|
|
|
68189
68190
|
height: 1,
|
|
68190
68191
|
rows: [
|
|
68191
68192
|
Ce.from(
|
|
68192
|
-
tk(
|
|
68193
|
+
tk(ni(e.state.schema).cell, n)
|
|
68193
68194
|
)
|
|
68194
68195
|
]
|
|
68195
68196
|
});
|
|
@@ -68331,7 +68332,7 @@ function n_e({
|
|
|
68331
68332
|
state: {
|
|
68332
68333
|
init(s, a) {
|
|
68333
68334
|
var l, c;
|
|
68334
|
-
const d = (c = (l = o.spec) == null ? void 0 : l.props) == null ? void 0 : c.nodeViews, f =
|
|
68335
|
+
const d = (c = (l = o.spec) == null ? void 0 : l.props) == null ? void 0 : c.nodeViews, f = ni(a.schema).table.name;
|
|
68335
68336
|
return i && d && (d[f] = (u, h) => new i(u, n, h)), new i_e(-1, !1);
|
|
68336
68337
|
},
|
|
68337
68338
|
apply(s, a) {
|
|
@@ -73924,7 +73925,7 @@ const eCe = ({
|
|
|
73924
73925
|
] })
|
|
73925
73926
|
] }) })
|
|
73926
73927
|
] });
|
|
73927
|
-
}, T$ =
|
|
73928
|
+
}, T$ = ii(
|
|
73928
73929
|
"F0RichTextEditor",
|
|
73929
73930
|
dd(CCe, ECe)
|
|
73930
73931
|
), _Oe = T$;
|
|
@@ -74049,7 +74050,7 @@ function ICe({
|
|
|
74049
74050
|
hideLabel: !0
|
|
74050
74051
|
};
|
|
74051
74052
|
return e.multiple ? /* @__PURE__ */ m(
|
|
74052
|
-
|
|
74053
|
+
Qn,
|
|
74053
74054
|
{
|
|
74054
74055
|
...s,
|
|
74055
74056
|
multiple: !0,
|
|
@@ -74060,7 +74061,7 @@ function ICe({
|
|
|
74060
74061
|
}
|
|
74061
74062
|
}
|
|
74062
74063
|
) : e.clearable ? /* @__PURE__ */ m(
|
|
74063
|
-
|
|
74064
|
+
Qn,
|
|
74064
74065
|
{
|
|
74065
74066
|
...s,
|
|
74066
74067
|
clearable: !0,
|
|
@@ -74068,7 +74069,7 @@ function ICe({
|
|
|
74068
74069
|
onChange: o
|
|
74069
74070
|
}
|
|
74070
74071
|
) : /* @__PURE__ */ m(
|
|
74071
|
-
|
|
74072
|
+
Qn,
|
|
74072
74073
|
{
|
|
74073
74074
|
...s,
|
|
74074
74075
|
value: t.value ?? void 0,
|
|
@@ -74104,7 +74105,7 @@ function DCe({
|
|
|
74104
74105
|
hideLabel: !0
|
|
74105
74106
|
};
|
|
74106
74107
|
return e.multiple ? /* @__PURE__ */ m(
|
|
74107
|
-
|
|
74108
|
+
Qn,
|
|
74108
74109
|
{
|
|
74109
74110
|
...s,
|
|
74110
74111
|
multiple: !0,
|
|
@@ -74115,7 +74116,7 @@ function DCe({
|
|
|
74115
74116
|
}
|
|
74116
74117
|
}
|
|
74117
74118
|
) : e.clearable ? /* @__PURE__ */ m(
|
|
74118
|
-
|
|
74119
|
+
Qn,
|
|
74119
74120
|
{
|
|
74120
74121
|
...s,
|
|
74121
74122
|
clearable: !0,
|
|
@@ -74123,7 +74124,7 @@ function DCe({
|
|
|
74123
74124
|
onChange: o
|
|
74124
74125
|
}
|
|
74125
74126
|
) : /* @__PURE__ */ m(
|
|
74126
|
-
|
|
74127
|
+
Qn,
|
|
74127
74128
|
{
|
|
74128
74129
|
...s,
|
|
74129
74130
|
value: t.value ?? void 0,
|
|
@@ -74153,7 +74154,7 @@ function MCe(e) {
|
|
|
74153
74154
|
) : null;
|
|
74154
74155
|
}
|
|
74155
74156
|
function PCe(e) {
|
|
74156
|
-
const t =
|
|
74157
|
+
const t = ti(e);
|
|
74157
74158
|
return ln(t, "ZodLiteral") && t._def.value === !0;
|
|
74158
74159
|
}
|
|
74159
74160
|
function RCe({
|
|
@@ -75571,7 +75572,7 @@ function F$({
|
|
|
75571
75572
|
};
|
|
75572
75573
|
}
|
|
75573
75574
|
function Ab(e) {
|
|
75574
|
-
const t =
|
|
75575
|
+
const t = ti(e);
|
|
75575
75576
|
if (!ln(t, "ZodDate"))
|
|
75576
75577
|
return {};
|
|
75577
75578
|
const n = t._def.checks || [];
|
|
@@ -75581,7 +75582,7 @@ function Ab(e) {
|
|
|
75581
75582
|
return { minDate: i, maxDate: r };
|
|
75582
75583
|
}
|
|
75583
75584
|
function A5e(e) {
|
|
75584
|
-
const t =
|
|
75585
|
+
const t = ti(e);
|
|
75585
75586
|
if (!ln(t, "ZodNumber"))
|
|
75586
75587
|
return { isInteger: !1 };
|
|
75587
75588
|
const n = t._def.checks || [];
|
|
@@ -75591,7 +75592,7 @@ function A5e(e) {
|
|
|
75591
75592
|
return { min: i, max: r, isInteger: o };
|
|
75592
75593
|
}
|
|
75593
75594
|
function T5e(e) {
|
|
75594
|
-
const t =
|
|
75595
|
+
const t = ti(e);
|
|
75595
75596
|
if (!ln(t, "ZodString"))
|
|
75596
75597
|
return {};
|
|
75597
75598
|
const n = t._def.checks || [];
|
|
@@ -76063,7 +76064,7 @@ function z$(e) {
|
|
|
76063
76064
|
}
|
|
76064
76065
|
const tT = (e) => e.fields.map((t) => t.id).join("-");
|
|
76065
76066
|
function nT(e) {
|
|
76066
|
-
const t =
|
|
76067
|
+
const t = ti(e);
|
|
76067
76068
|
return ln(t, "ZodLiteral") && t._def.value === !0;
|
|
76068
76069
|
}
|
|
76069
76070
|
function J_({
|
|
@@ -77886,7 +77887,7 @@ function X$(e) {
|
|
|
77886
77887
|
Me.current = ze;
|
|
77887
77888
|
const [Ue, et] = J("idle"), [dt, ct] = J(), Je = F(null), nt = F(null), gt = F(null), yt = F(!0), sn = F(null), Wt = F(null), {
|
|
77888
77889
|
hasErrors: Ut,
|
|
77889
|
-
errorCount:
|
|
77890
|
+
errorCount: Un,
|
|
77890
77891
|
goToPreviousError: kn,
|
|
77891
77892
|
goToNextError: dn,
|
|
77892
77893
|
resetErrorNavigation: _n
|
|
@@ -78254,7 +78255,7 @@ function X$(e) {
|
|
|
78254
78255
|
actionBarStatus: Ue,
|
|
78255
78256
|
hasErrors: Ut,
|
|
78256
78257
|
hasPendingUploads: ze,
|
|
78257
|
-
errorCount:
|
|
78258
|
+
errorCount: Un,
|
|
78258
78259
|
resolvedActionBarLabel: Tn,
|
|
78259
78260
|
submitLabel: T,
|
|
78260
78261
|
submitIcon: I,
|
|
@@ -78271,7 +78272,7 @@ function X$(e) {
|
|
|
78271
78272
|
)
|
|
78272
78273
|
] }) }) });
|
|
78273
78274
|
}
|
|
78274
|
-
const oEe =
|
|
78275
|
+
const oEe = ii("F0Form", G$), J$ = Qe((e, t) => /* @__PURE__ */ m(SO, { ref: t, variant: "heading", ...e }));
|
|
78275
78276
|
J$.displayName = "F0Heading";
|
|
78276
78277
|
const SOe = Ft(J$);
|
|
78277
78278
|
function COe({
|
|
@@ -79225,7 +79226,7 @@ class _l extends Z$ {
|
|
|
79225
79226
|
getXmlElement(t = "") {
|
|
79226
79227
|
return (
|
|
79227
79228
|
/** @type {YXmlElement<{[key:string]:string}>} */
|
|
79228
|
-
this.get(t,
|
|
79229
|
+
this.get(t, Zn)
|
|
79229
79230
|
);
|
|
79230
79231
|
}
|
|
79231
79232
|
/**
|
|
@@ -80661,7 +80662,7 @@ const Q6e = (e, t) => {
|
|
|
80661
80662
|
t._item.parent;
|
|
80662
80663
|
}
|
|
80663
80664
|
return n;
|
|
80664
|
-
},
|
|
80665
|
+
}, ei = () => {
|
|
80665
80666
|
mB("Invalid access: Add Yjs type to a document before reading data.");
|
|
80666
80667
|
}, TB = 80;
|
|
80667
80668
|
let d4 = 0;
|
|
@@ -80833,7 +80834,7 @@ class Ln {
|
|
|
80833
80834
|
}
|
|
80834
80835
|
}
|
|
80835
80836
|
const IB = (e, t, n) => {
|
|
80836
|
-
e.doc ??
|
|
80837
|
+
e.doc ?? ei(), t < 0 && (t = e._length + t), n < 0 && (n = e._length + n);
|
|
80837
80838
|
let i = n - t;
|
|
80838
80839
|
const r = [];
|
|
80839
80840
|
let o = e._start;
|
|
@@ -80852,7 +80853,7 @@ const IB = (e, t, n) => {
|
|
|
80852
80853
|
}
|
|
80853
80854
|
return r;
|
|
80854
80855
|
}, DB = (e) => {
|
|
80855
|
-
e.doc ??
|
|
80856
|
+
e.doc ?? ei();
|
|
80856
80857
|
const t = [];
|
|
80857
80858
|
let n = e._start;
|
|
80858
80859
|
for (; n !== null; ) {
|
|
@@ -80878,7 +80879,7 @@ const IB = (e, t, n) => {
|
|
|
80878
80879
|
return n;
|
|
80879
80880
|
}, Yu = (e, t) => {
|
|
80880
80881
|
let n = 0, i = e._start;
|
|
80881
|
-
for (e.doc ??
|
|
80882
|
+
for (e.doc ?? ei(); i !== null; ) {
|
|
80882
80883
|
if (i.countable && !i.deleted) {
|
|
80883
80884
|
const r = i.content.getContent();
|
|
80884
80885
|
for (let o = 0; o < r.length; o++)
|
|
@@ -80916,7 +80917,7 @@ const IB = (e, t, n) => {
|
|
|
80916
80917
|
}
|
|
80917
80918
|
};
|
|
80918
80919
|
}, RB = (e, t) => {
|
|
80919
|
-
e.doc ??
|
|
80920
|
+
e.doc ?? ei();
|
|
80920
80921
|
const n = xv(e, t);
|
|
80921
80922
|
let i = e._start;
|
|
80922
80923
|
for (n !== null && (i = n.p, t -= n.index); i !== null; i = i.right)
|
|
@@ -81045,16 +81046,16 @@ const IB = (e, t, n) => {
|
|
|
81045
81046
|
}
|
|
81046
81047
|
new Ht(wt(s, bn(o.store, s)), r, r && r.lastId, null, null, t, n, a).integrate(e, 0);
|
|
81047
81048
|
}, u4 = (e, t) => {
|
|
81048
|
-
e.doc ??
|
|
81049
|
+
e.doc ?? ei();
|
|
81049
81050
|
const n = e._map.get(t);
|
|
81050
81051
|
return n !== void 0 && !n.deleted ? n.content.getContent()[n.length - 1] : void 0;
|
|
81051
81052
|
}, BB = (e) => {
|
|
81052
81053
|
const t = {};
|
|
81053
|
-
return e.doc ??
|
|
81054
|
+
return e.doc ?? ei(), e._map.forEach((n, i) => {
|
|
81054
81055
|
n.deleted || (t[i] = n.content.getContent()[n.length - 1]);
|
|
81055
81056
|
}), t;
|
|
81056
81057
|
}, zB = (e, t) => {
|
|
81057
|
-
e.doc ??
|
|
81058
|
+
e.doc ?? ei();
|
|
81058
81059
|
const n = e._map.get(t);
|
|
81059
81060
|
return n !== void 0 && !n.deleted;
|
|
81060
81061
|
}, oNe = (e, t) => {
|
|
@@ -81065,7 +81066,7 @@ const IB = (e, t, n) => {
|
|
|
81065
81066
|
o = o.left;
|
|
81066
81067
|
o !== null && Oa(o, t) && (n[r] = o.content.getContent()[o.length - 1]);
|
|
81067
81068
|
}), n;
|
|
81068
|
-
}, jp = (e) => (e.doc ??
|
|
81069
|
+
}, jp = (e) => (e.doc ?? ei(), S6e(
|
|
81069
81070
|
e._map.entries(),
|
|
81070
81071
|
/** @param {any} entry */
|
|
81071
81072
|
(t) => !t[1].deleted
|
|
@@ -81126,7 +81127,7 @@ class bc extends Ln {
|
|
|
81126
81127
|
)), t;
|
|
81127
81128
|
}
|
|
81128
81129
|
get length() {
|
|
81129
|
-
return this.doc ??
|
|
81130
|
+
return this.doc ?? ei(), this._length;
|
|
81130
81131
|
}
|
|
81131
81132
|
/**
|
|
81132
81133
|
* Creates YArrayEvent and calls observers.
|
|
@@ -81344,7 +81345,7 @@ class ad extends Ln {
|
|
|
81344
81345
|
* @return {Object<string,any>}
|
|
81345
81346
|
*/
|
|
81346
81347
|
toJSON() {
|
|
81347
|
-
this.doc ??
|
|
81348
|
+
this.doc ?? ei();
|
|
81348
81349
|
const t = {};
|
|
81349
81350
|
return this._map.forEach((n, i) => {
|
|
81350
81351
|
if (!n.deleted) {
|
|
@@ -81406,7 +81407,7 @@ class ad extends Ln {
|
|
|
81406
81407
|
* @param {function(MapType,string,YMap<MapType>):void} f A function to execute on every element of this YArray.
|
|
81407
81408
|
*/
|
|
81408
81409
|
forEach(t) {
|
|
81409
|
-
this.doc ??
|
|
81410
|
+
this.doc ?? ei(), this._map.forEach((n, i) => {
|
|
81410
81411
|
n.deleted || t(n.content.getContent()[n.length - 1], i, this);
|
|
81411
81412
|
});
|
|
81412
81413
|
}
|
|
@@ -81876,7 +81877,7 @@ class na extends Ln {
|
|
|
81876
81877
|
* @type {number}
|
|
81877
81878
|
*/
|
|
81878
81879
|
get length() {
|
|
81879
|
-
return this.doc ??
|
|
81880
|
+
return this.doc ?? ei(), this._length;
|
|
81880
81881
|
}
|
|
81881
81882
|
/**
|
|
81882
81883
|
* @param {Doc} y
|
|
@@ -81922,7 +81923,7 @@ class na extends Ln {
|
|
|
81922
81923
|
* @public
|
|
81923
81924
|
*/
|
|
81924
81925
|
toString() {
|
|
81925
|
-
this.doc ??
|
|
81926
|
+
this.doc ?? ei();
|
|
81926
81927
|
let t = "", n = this._start;
|
|
81927
81928
|
for (; n !== null; )
|
|
81928
81929
|
!n.deleted && n.countable && n.content.constructor === Kr && (t += /** @type {ContentString} */
|
|
@@ -81972,7 +81973,7 @@ class na extends Ln {
|
|
|
81972
81973
|
* @public
|
|
81973
81974
|
*/
|
|
81974
81975
|
toDelta(t, n, i) {
|
|
81975
|
-
this.doc ??
|
|
81976
|
+
this.doc ?? ei();
|
|
81976
81977
|
const r = [], o = /* @__PURE__ */ new Map(), s = (
|
|
81977
81978
|
/** @type {Doc} */
|
|
81978
81979
|
this.doc
|
|
@@ -82179,7 +82180,7 @@ class $b {
|
|
|
82179
82180
|
*/
|
|
82180
82181
|
constructor(t, n = () => !0) {
|
|
82181
82182
|
this._filter = n, this._root = t, this._currentNode = /** @type {Item} */
|
|
82182
|
-
t._start, this._firstCall = !0, t.doc ??
|
|
82183
|
+
t._start, this._firstCall = !0, t.doc ?? ei();
|
|
82183
82184
|
}
|
|
82184
82185
|
[Symbol.iterator]() {
|
|
82185
82186
|
return this;
|
|
@@ -82197,7 +82198,7 @@ class $b {
|
|
|
82197
82198
|
if (t !== null && (!this._firstCall || t.deleted || !this._filter(n)))
|
|
82198
82199
|
do
|
|
82199
82200
|
if (n = /** @type {any} */
|
|
82200
|
-
t.content.type, !t.deleted && (n.constructor ===
|
|
82201
|
+
t.content.type, !t.deleted && (n.constructor === Zn || n.constructor === hl) && n._start !== null)
|
|
82201
82202
|
t = n._start;
|
|
82202
82203
|
else
|
|
82203
82204
|
for (; t !== null; ) {
|
|
@@ -82261,7 +82262,7 @@ class hl extends Ln {
|
|
|
82261
82262
|
return t.insert(0, this.toArray().map((n) => n instanceof Ln ? n.clone() : n)), t;
|
|
82262
82263
|
}
|
|
82263
82264
|
get length() {
|
|
82264
|
-
return this.doc ??
|
|
82265
|
+
return this.doc ?? ei(), this._prelimContent === null ? this._length : this._prelimContent.length;
|
|
82265
82266
|
}
|
|
82266
82267
|
/**
|
|
82267
82268
|
* Create a subtree of childNodes.
|
|
@@ -82478,7 +82479,7 @@ class hl extends Ln {
|
|
|
82478
82479
|
}
|
|
82479
82480
|
}
|
|
82480
82481
|
const mNe = (e) => new hl();
|
|
82481
|
-
class
|
|
82482
|
+
class Zn extends hl {
|
|
82482
82483
|
constructor(t = "UNDEFINED") {
|
|
82483
82484
|
super(), this.nodeName = t, this._prelimAttrs = /* @__PURE__ */ new Map();
|
|
82484
82485
|
}
|
|
@@ -82526,7 +82527,7 @@ class Jn extends hl {
|
|
|
82526
82527
|
* @return {YXmlElement}
|
|
82527
82528
|
*/
|
|
82528
82529
|
_copy() {
|
|
82529
|
-
return new
|
|
82530
|
+
return new Zn(this.nodeName);
|
|
82530
82531
|
}
|
|
82531
82532
|
/**
|
|
82532
82533
|
* Makes a copy of this data type that can be included somewhere else.
|
|
@@ -82536,7 +82537,7 @@ class Jn extends hl {
|
|
|
82536
82537
|
* @return {YXmlElement<KV>}
|
|
82537
82538
|
*/
|
|
82538
82539
|
clone() {
|
|
82539
|
-
const t = new
|
|
82540
|
+
const t = new Zn(this.nodeName), n = this.getAttributes();
|
|
82540
82541
|
return JEe(n, (i, r) => {
|
|
82541
82542
|
typeof i == "string" && t.setAttribute(r, i);
|
|
82542
82543
|
}), t.insert(0, this.toArray().map((i) => i instanceof Ln ? i.clone() : i)), t;
|
|
@@ -82672,7 +82673,7 @@ class Jn extends hl {
|
|
|
82672
82673
|
t.writeTypeRef(PNe), t.writeKey(this.nodeName);
|
|
82673
82674
|
}
|
|
82674
82675
|
}
|
|
82675
|
-
const gNe = (e) => new
|
|
82676
|
+
const gNe = (e) => new Zn(e.readKey());
|
|
82676
82677
|
class yNe extends wv {
|
|
82677
82678
|
/**
|
|
82678
82679
|
* @param {YXmlElement|YXmlText|YXmlFragment} target The target on which the event is created.
|
|
@@ -84568,7 +84569,7 @@ const XB = (e, t, n, i, r, o) => {
|
|
|
84568
84569
|
n.mapping.get(e)
|
|
84569
84570
|
);
|
|
84570
84571
|
if (s === void 0) {
|
|
84571
|
-
if (e instanceof
|
|
84572
|
+
if (e instanceof Zn)
|
|
84572
84573
|
return Am(
|
|
84573
84574
|
e,
|
|
84574
84575
|
t,
|
|
@@ -84582,7 +84583,7 @@ const XB = (e, t, n, i, r, o) => {
|
|
|
84582
84583
|
return s;
|
|
84583
84584
|
}, Am = (e, t, n, i, r, o) => {
|
|
84584
84585
|
const s = [], a = (l) => {
|
|
84585
|
-
if (l instanceof
|
|
84586
|
+
if (l instanceof Zn) {
|
|
84586
84587
|
const c = XB(
|
|
84587
84588
|
l,
|
|
84588
84589
|
t,
|
|
@@ -84664,7 +84665,7 @@ const XB = (e, t, n, i, r, o) => {
|
|
|
84664
84665
|
}));
|
|
84665
84666
|
return n.applyDelta(i), t.mapping.set(n, e), n;
|
|
84666
84667
|
}, cAe = (e, t) => {
|
|
84667
|
-
const n = new
|
|
84668
|
+
const n = new Zn(e.type.name);
|
|
84668
84669
|
for (const i in e.attrs) {
|
|
84669
84670
|
const r = e.attrs[i];
|
|
84670
84671
|
r !== null && i !== "ychange" && n.setAttribute(i, r);
|
|
@@ -84710,7 +84711,7 @@ const XB = (e, t, n, i, r, o) => {
|
|
|
84710
84711
|
})
|
|
84711
84712
|
);
|
|
84712
84713
|
}, Ju = (e, t) => {
|
|
84713
|
-
if (e instanceof
|
|
84714
|
+
if (e instanceof Zn && !(t instanceof Array) && Ek(e, t)) {
|
|
84714
84715
|
const n = _v(t);
|
|
84715
84716
|
return e._length === n.length && m4(e.getAttributes(), t.attrs) && e.toArray().every(
|
|
84716
84717
|
(i, r) => Ju(i, n[r])
|
|
@@ -84778,9 +84779,9 @@ const XB = (e, t, n, i, r, o) => {
|
|
|
84778
84779
|
}
|
|
84779
84780
|
}), n;
|
|
84780
84781
|
}, Ck = (e, t, n, i) => {
|
|
84781
|
-
if (t instanceof
|
|
84782
|
+
if (t instanceof Zn && t.nodeName !== n.type.name)
|
|
84782
84783
|
throw new Error("node name mismatch!");
|
|
84783
|
-
if (i.mapping.set(t, n), t instanceof
|
|
84784
|
+
if (i.mapping.set(t, n), t instanceof Zn) {
|
|
84784
84785
|
const f = t.getAttributes(), u = n.attrs;
|
|
84785
84786
|
for (const h in u)
|
|
84786
84787
|
u[h] !== null ? f[h] !== u[h] && h !== "ychange" && t.setAttribute(h, u[h]) : t.removeAttribute(h);
|
|
@@ -84811,7 +84812,7 @@ const XB = (e, t, n, i, r, o) => {
|
|
|
84811
84812
|
if (u instanceof Di && h instanceof Array)
|
|
84812
84813
|
JB(u, h) || fAe(u, h, i), c += 1;
|
|
84813
84814
|
else {
|
|
84814
|
-
let g = u instanceof
|
|
84815
|
+
let g = u instanceof Zn && Ek(u, h), v = p instanceof Zn && Ek(p, y);
|
|
84815
84816
|
if (g && v) {
|
|
84816
84817
|
const b = FT(
|
|
84817
84818
|
/** @type {Y.XmlElement} */
|
|
@@ -84983,7 +84984,7 @@ function mAe(e) {
|
|
|
84983
84984
|
})), a;
|
|
84984
84985
|
}
|
|
84985
84986
|
);
|
|
84986
|
-
else if (i instanceof
|
|
84987
|
+
else if (i instanceof Zn) {
|
|
84987
84988
|
r = {
|
|
84988
84989
|
type: i.nodeName
|
|
84989
84990
|
};
|
|
@@ -85000,7 +85001,7 @@ function mAe(e) {
|
|
|
85000
85001
|
content: t.map(n)
|
|
85001
85002
|
};
|
|
85002
85003
|
}
|
|
85003
|
-
const gAe = (e) => Xo.getState(e)?.undoManager?.undo() != null, yAe = (e) => Xo.getState(e)?.undoManager?.redo() != null, vAe = /* @__PURE__ */ new Set(["paragraph"]), bAe = (e, t) => !(e instanceof Ht) || !(e.content instanceof Xr) || !(e.content.type instanceof na || e.content.type instanceof
|
|
85004
|
+
const gAe = (e) => Xo.getState(e)?.undoManager?.undo() != null, yAe = (e) => Xo.getState(e)?.undoManager?.redo() != null, vAe = /* @__PURE__ */ new Set(["paragraph"]), bAe = (e, t) => !(e instanceof Ht) || !(e.content instanceof Xr) || !(e.content.type instanceof na || e.content.type instanceof Zn && t.has(e.content.type.nodeName)) || e.content.type._length === 0, wAe = ({ protectedNodes: e = vAe, trackedOrigins: t = [], undoManager: n = null } = {}) => new Tt({
|
|
85004
85005
|
key: Xo,
|
|
85005
85006
|
state: {
|
|
85006
85007
|
init: (i, r) => {
|
|
@@ -85161,10 +85162,10 @@ class y4 {
|
|
|
85161
85162
|
}
|
|
85162
85163
|
resolve(t) {
|
|
85163
85164
|
const n = t.resolve(this.anchor), i = t.resolve(this.head);
|
|
85164
|
-
return new
|
|
85165
|
+
return new Gn(n, i);
|
|
85165
85166
|
}
|
|
85166
85167
|
}
|
|
85167
|
-
class
|
|
85168
|
+
class Gn extends rt {
|
|
85168
85169
|
constructor(t, n, i, r = 1) {
|
|
85169
85170
|
const { doc: o } = t, s = t === n, a = t.pos === o.content.size && n.pos === o.content.size, l = s && !a ? o.resolve(n.pos + (r > 0 ? 1 : -1)) : n, c = s && a ? o.resolve(t.pos - (r > 0 ? 1 : -1)) : t, d = Sv(c.min(l), c.max(l), i), f = l.pos >= t.pos ? d[0].$from : d[d.length - 1].$to, u = l.pos >= t.pos ? d[d.length - 1].$to : d[0].$from;
|
|
85170
85171
|
super(f, u, d), this.depth = i;
|
|
@@ -85175,11 +85176,11 @@ class Kn extends rt {
|
|
|
85175
85176
|
return this.ranges[this.ranges.length - 1].$to;
|
|
85176
85177
|
}
|
|
85177
85178
|
eq(t) {
|
|
85178
|
-
return t instanceof
|
|
85179
|
+
return t instanceof Gn && t.$from.pos === this.$from.pos && t.$to.pos === this.$to.pos;
|
|
85179
85180
|
}
|
|
85180
85181
|
map(t, n) {
|
|
85181
85182
|
const i = t.resolve(n.map(this.anchor)), r = t.resolve(n.map(this.head));
|
|
85182
|
-
return new
|
|
85183
|
+
return new Gn(i, r);
|
|
85183
85184
|
}
|
|
85184
85185
|
toJSON() {
|
|
85185
85186
|
return {
|
|
@@ -85198,22 +85199,22 @@ class Kn extends rt {
|
|
|
85198
85199
|
const { doc: t } = this.$from;
|
|
85199
85200
|
if (this.isForwards && this.ranges.length > 1) {
|
|
85200
85201
|
const r = this.ranges.slice(0, -1), o = r[0].$from, s = r[r.length - 1].$to;
|
|
85201
|
-
return new
|
|
85202
|
+
return new Gn(o, s, this.depth);
|
|
85202
85203
|
}
|
|
85203
85204
|
const n = this.ranges[0], i = t.resolve(Math.max(0, n.$from.pos - 1));
|
|
85204
|
-
return new
|
|
85205
|
+
return new Gn(this.$anchor, i, this.depth);
|
|
85205
85206
|
}
|
|
85206
85207
|
extendForwards() {
|
|
85207
85208
|
const { doc: t } = this.$from;
|
|
85208
85209
|
if (this.isBackwards && this.ranges.length > 1) {
|
|
85209
85210
|
const r = this.ranges.slice(1), o = r[0].$from, s = r[r.length - 1].$to;
|
|
85210
|
-
return new
|
|
85211
|
+
return new Gn(s, o, this.depth);
|
|
85211
85212
|
}
|
|
85212
85213
|
const n = this.ranges[this.ranges.length - 1], i = t.resolve(Math.min(t.content.size, n.$to.pos + 1));
|
|
85213
|
-
return new
|
|
85214
|
+
return new Gn(this.$anchor, i, this.depth);
|
|
85214
85215
|
}
|
|
85215
85216
|
static fromJSON(t, n) {
|
|
85216
|
-
return new
|
|
85217
|
+
return new Gn(t.resolve(n.anchor), t.resolve(n.head));
|
|
85217
85218
|
}
|
|
85218
85219
|
static create(t, n, i, r, o = 1) {
|
|
85219
85220
|
return new this(t.resolve(n), t.resolve(i), r, o);
|
|
@@ -85222,9 +85223,9 @@ class Kn extends rt {
|
|
|
85222
85223
|
return new y4(this.anchor, this.head);
|
|
85223
85224
|
}
|
|
85224
85225
|
}
|
|
85225
|
-
|
|
85226
|
+
Gn.prototype.visible = !1;
|
|
85226
85227
|
function Vp(e) {
|
|
85227
|
-
return e instanceof
|
|
85228
|
+
return e instanceof Gn;
|
|
85228
85229
|
}
|
|
85229
85230
|
At.create({
|
|
85230
85231
|
name: "nodeRange",
|
|
@@ -85240,7 +85241,7 @@ At.create({
|
|
|
85240
85241
|
"Shift-ArrowUp": ({ editor: e }) => {
|
|
85241
85242
|
const { depth: t } = this.options, { view: n, state: i } = e, { doc: r, selection: o, tr: s } = i, { anchor: a, head: l } = o;
|
|
85242
85243
|
if (!Vp(o)) {
|
|
85243
|
-
const d =
|
|
85244
|
+
const d = Gn.create(r, a, l, t, -1);
|
|
85244
85245
|
return s.setSelection(d), n.dispatch(s), !0;
|
|
85245
85246
|
}
|
|
85246
85247
|
const c = o.extendBackwards();
|
|
@@ -85250,7 +85251,7 @@ At.create({
|
|
|
85250
85251
|
"Shift-ArrowDown": ({ editor: e }) => {
|
|
85251
85252
|
const { depth: t } = this.options, { view: n, state: i } = e, { doc: r, selection: o, tr: s } = i, { anchor: a, head: l } = o;
|
|
85252
85253
|
if (!Vp(o)) {
|
|
85253
|
-
const d =
|
|
85254
|
+
const d = Gn.create(r, a, l, t);
|
|
85254
85255
|
return s.setSelection(d), n.dispatch(s), !0;
|
|
85255
85256
|
}
|
|
85256
85257
|
const c = o.extendForwards();
|
|
@@ -85258,7 +85259,7 @@ At.create({
|
|
|
85258
85259
|
},
|
|
85259
85260
|
// add `NodeRangeSelection` to all nodes
|
|
85260
85261
|
"Mod-a": ({ editor: e }) => {
|
|
85261
|
-
const { depth: t } = this.options, { view: n, state: i } = e, { doc: r, tr: o } = i, s =
|
|
85262
|
+
const { depth: t } = this.options, { view: n, state: i } = e, { doc: r, tr: o } = i, s = Gn.create(r, 0, r.content.size, t);
|
|
85262
85263
|
return o.setSelection(s), n.dispatch(o), !0;
|
|
85263
85264
|
}
|
|
85264
85265
|
};
|
|
@@ -85284,7 +85285,7 @@ At.create({
|
|
|
85284
85285
|
const { state: f } = n, { doc: u, selection: h, tr: p } = f, { $anchor: y, $head: g } = h;
|
|
85285
85286
|
if (y.sameParent(g))
|
|
85286
85287
|
return;
|
|
85287
|
-
const v =
|
|
85288
|
+
const v = Gn.create(u, y.pos, g.pos, this.options.depth);
|
|
85288
85289
|
p.setSelection(v), n.dispatch(p);
|
|
85289
85290
|
}, { once: !0 }), !1;
|
|
85290
85291
|
}
|
|
@@ -85377,7 +85378,7 @@ function NAe(e, t) {
|
|
|
85377
85378
|
const { empty: i, $from: r, $to: o } = n.state.selection, s = EAe(e, t), a = Sv(r, o, 0), l = a.some((g) => s.find((v) => v.$from === g.$from && v.$to === g.$to)), c = i || !l ? s : a;
|
|
85378
85379
|
if (!c.length)
|
|
85379
85380
|
return;
|
|
85380
|
-
const { tr: d } = n.state, f = document.createElement("div"), u = c[0].$from.pos, h = c[c.length - 1].$to.pos, p =
|
|
85381
|
+
const { tr: d } = n.state, f = document.createElement("div"), u = c[0].$from.pos, h = c[c.length - 1].$to.pos, p = Gn.create(n.state.doc, u, h), y = p.content();
|
|
85381
85382
|
c.forEach((g) => {
|
|
85382
85383
|
const v = n.nodeDOM(g.$from.pos), b = _Ae(v);
|
|
85383
85384
|
f.append(b);
|
|
@@ -86127,7 +86128,7 @@ const LAe = (e, t) => {
|
|
|
86127
86128
|
] })
|
|
86128
86129
|
]
|
|
86129
86130
|
}
|
|
86130
|
-
), GAe =
|
|
86131
|
+
), GAe = ii(
|
|
86131
86132
|
"F0NotesTextEditor",
|
|
86132
86133
|
dd(KAe, iz)
|
|
86133
86134
|
), NOe = GAe, AOe = iz, rz = Qe(
|
|
@@ -86184,7 +86185,7 @@ rz.displayName = "Dialog";
|
|
|
86184
86185
|
const TOe = Ft(
|
|
86185
86186
|
kr(
|
|
86186
86187
|
{ name: "Dialog", type: "info" },
|
|
86187
|
-
|
|
86188
|
+
ii("Dialog", rz)
|
|
86188
86189
|
)
|
|
86189
86190
|
), OOe = ({
|
|
86190
86191
|
avatar: e,
|
|
@@ -86514,7 +86515,7 @@ const eTe = (e) => {
|
|
|
86514
86515
|
}
|
|
86515
86516
|
);
|
|
86516
86517
|
}, DOe = Ft(
|
|
86517
|
-
|
|
86518
|
+
ii(
|
|
86518
86519
|
"F0ButtonToggleGroup",
|
|
86519
86520
|
eTe
|
|
86520
86521
|
)
|
|
@@ -87012,7 +87013,7 @@ const Hf = /* @__PURE__ */ new Map(), sTe = (e) => {
|
|
|
87012
87013
|
);
|
|
87013
87014
|
};
|
|
87014
87015
|
fz.displayName = "F0Coachmark";
|
|
87015
|
-
const STe =
|
|
87016
|
+
const STe = ii("F0Coachmark", fz), Tk = [];
|
|
87016
87017
|
let Er = Tk;
|
|
87017
87018
|
const Ok = /* @__PURE__ */ new Set();
|
|
87018
87019
|
let YT = 0;
|