bi-components-library 1.3.2-next.40 → 1.3.2-next.41
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/bi-components-library.css +1 -1
- package/dist/index.es.js +409 -409
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +17 -17
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -559,7 +559,7 @@ const { Option: _0 } = Ll, I0 = ({
|
|
|
559
559
|
current: 1,
|
|
560
560
|
pageSize: a,
|
|
561
561
|
total: 0
|
|
562
|
-
}), [b, y] = J({}), [w, k] = J({}), [
|
|
562
|
+
}), [b, y] = J({}), [w, k] = J({}), [A] = ea.useForm(), I = te(m);
|
|
563
563
|
I.current = m;
|
|
564
564
|
const T = te(o);
|
|
565
565
|
T.current = o;
|
|
@@ -570,7 +570,7 @@ const { Option: _0 } = Ll, I0 = ({
|
|
|
570
570
|
sorter: E ? !0 : void 0,
|
|
571
571
|
render: F || ((W) => W)
|
|
572
572
|
};
|
|
573
|
-
}), [e]),
|
|
573
|
+
}), [e]), N = z(async (L = {}) => {
|
|
574
574
|
if (t) {
|
|
575
575
|
h(!0);
|
|
576
576
|
try {
|
|
@@ -596,10 +596,10 @@ const { Option: _0 } = Ll, I0 = ({
|
|
|
596
596
|
}, [t, w, b]), P = z((L) => {
|
|
597
597
|
y(L), g((E) => ({ ...E, current: 1 }));
|
|
598
598
|
}, []), D = z(() => {
|
|
599
|
-
|
|
600
|
-
}, [
|
|
601
|
-
|
|
602
|
-
}, [
|
|
599
|
+
A.resetFields(), y({}), g((L) => ({ ...L, current: 1 }));
|
|
600
|
+
}, [A]), B = z(() => {
|
|
601
|
+
N();
|
|
602
|
+
}, [N]), V = z((L, E, F) => {
|
|
603
603
|
const Y = {
|
|
604
604
|
current: L.current || 1,
|
|
605
605
|
pageSize: L.pageSize || a,
|
|
@@ -612,12 +612,12 @@ const { Option: _0 } = Ll, I0 = ({
|
|
|
612
612
|
}, [a]);
|
|
613
613
|
return be(() => {
|
|
614
614
|
const L = Object.keys(o).length > 0;
|
|
615
|
-
(s && !O.current || L) && (
|
|
616
|
-
}, [s, o,
|
|
615
|
+
(s && !O.current || L) && (N(), O.current = !0);
|
|
616
|
+
}, [s, o, N]), /* @__PURE__ */ q("div", { children: [
|
|
617
617
|
r && n.length > 0 && /* @__PURE__ */ v(mo, { size: "small", style: { marginBottom: 16 }, children: /* @__PURE__ */ q(
|
|
618
618
|
ea,
|
|
619
619
|
{
|
|
620
|
-
form:
|
|
620
|
+
form: A,
|
|
621
621
|
layout: "inline",
|
|
622
622
|
onFinish: P,
|
|
623
623
|
initialValues: n.reduce((L, E) => (E.defaultValue !== void 0 && (L[E.key] = E.defaultValue), L), {}),
|
|
@@ -2039,7 +2039,7 @@ function K0() {
|
|
|
2039
2039
|
if (!b) return [];
|
|
2040
2040
|
y = y || {};
|
|
2041
2041
|
var w = 1, k = 1;
|
|
2042
|
-
function
|
|
2042
|
+
function A(L) {
|
|
2043
2043
|
var E = L.match(t);
|
|
2044
2044
|
E && (w += E.length);
|
|
2045
2045
|
var F = L.lastIndexOf(o);
|
|
@@ -2048,7 +2048,7 @@ function K0() {
|
|
|
2048
2048
|
function I() {
|
|
2049
2049
|
var L = { line: w, column: k };
|
|
2050
2050
|
return function(E) {
|
|
2051
|
-
return E.position = new T(L),
|
|
2051
|
+
return E.position = new T(L), N(), E;
|
|
2052
2052
|
};
|
|
2053
2053
|
}
|
|
2054
2054
|
function T(L) {
|
|
@@ -2065,10 +2065,10 @@ function K0() {
|
|
|
2065
2065
|
var E = L.exec(b);
|
|
2066
2066
|
if (E) {
|
|
2067
2067
|
var F = E[0];
|
|
2068
|
-
return
|
|
2068
|
+
return A(F), b = b.slice(F.length), E;
|
|
2069
2069
|
}
|
|
2070
2070
|
}
|
|
2071
|
-
function
|
|
2071
|
+
function N() {
|
|
2072
2072
|
_(n);
|
|
2073
2073
|
}
|
|
2074
2074
|
function P(L) {
|
|
@@ -2085,7 +2085,7 @@ function K0() {
|
|
|
2085
2085
|
if (E += 2, d === b.charAt(E - 1))
|
|
2086
2086
|
return O("End of comment missing");
|
|
2087
2087
|
var F = b.slice(2, E - 2);
|
|
2088
|
-
return k += 2,
|
|
2088
|
+
return k += 2, A(F), b = b.slice(E), k += 2, L({
|
|
2089
2089
|
type: f,
|
|
2090
2090
|
comment: F
|
|
2091
2091
|
});
|
|
@@ -2110,7 +2110,7 @@ function K0() {
|
|
|
2110
2110
|
E !== !1 && (L.push(E), P(L));
|
|
2111
2111
|
return L;
|
|
2112
2112
|
}
|
|
2113
|
-
return
|
|
2113
|
+
return N(), V();
|
|
2114
2114
|
}
|
|
2115
2115
|
function g(b) {
|
|
2116
2116
|
return b ? b.replace(s, d) : d;
|
|
@@ -2789,28 +2789,28 @@ function R1(e) {
|
|
|
2789
2789
|
return s;
|
|
2790
2790
|
function s(k) {
|
|
2791
2791
|
if (r < n.length) {
|
|
2792
|
-
const
|
|
2793
|
-
return t.containerState =
|
|
2792
|
+
const A = n[r];
|
|
2793
|
+
return t.containerState = A[1], e.attempt(A[0].continuation, o, u)(k);
|
|
2794
2794
|
}
|
|
2795
2795
|
return u(k);
|
|
2796
2796
|
}
|
|
2797
2797
|
function o(k) {
|
|
2798
2798
|
if (r++, t.containerState._closeFlow) {
|
|
2799
2799
|
t.containerState._closeFlow = void 0, l && w();
|
|
2800
|
-
const
|
|
2801
|
-
let I =
|
|
2800
|
+
const A = t.events.length;
|
|
2801
|
+
let I = A, T;
|
|
2802
2802
|
for (; I--; )
|
|
2803
2803
|
if (t.events[I][0] === "exit" && t.events[I][1].type === "chunkFlow") {
|
|
2804
2804
|
T = t.events[I][1].end;
|
|
2805
2805
|
break;
|
|
2806
2806
|
}
|
|
2807
2807
|
y(r);
|
|
2808
|
-
let O =
|
|
2808
|
+
let O = A;
|
|
2809
2809
|
for (; O < t.events.length; )
|
|
2810
2810
|
t.events[O][1].end = {
|
|
2811
2811
|
...T
|
|
2812
2812
|
}, O++;
|
|
2813
|
-
return Zt(t.events, I + 1, 0, t.events.slice(
|
|
2813
|
+
return Zt(t.events, I + 1, 0, t.events.slice(A)), t.events.length = O, u(k);
|
|
2814
2814
|
}
|
|
2815
2815
|
return s(k);
|
|
2816
2816
|
}
|
|
@@ -2854,9 +2854,9 @@ function R1(e) {
|
|
|
2854
2854
|
}
|
|
2855
2855
|
return ce(k) ? (e.consume(k), b(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, s) : (e.consume(k), g);
|
|
2856
2856
|
}
|
|
2857
|
-
function b(k,
|
|
2857
|
+
function b(k, A) {
|
|
2858
2858
|
const I = t.sliceStream(k);
|
|
2859
|
-
if (
|
|
2859
|
+
if (A && I.push(null), k.previous = a, a && (a.next = k), a = k, l.defineSkip(k.start), l.write(I), t.parser.lazy[k.start.line]) {
|
|
2860
2860
|
let T = l.events.length;
|
|
2861
2861
|
for (; T--; )
|
|
2862
2862
|
if (
|
|
@@ -2867,14 +2867,14 @@ function R1(e) {
|
|
|
2867
2867
|
)
|
|
2868
2868
|
return;
|
|
2869
2869
|
const O = t.events.length;
|
|
2870
|
-
let _ = O,
|
|
2870
|
+
let _ = O, N, P;
|
|
2871
2871
|
for (; _--; )
|
|
2872
2872
|
if (t.events[_][0] === "exit" && t.events[_][1].type === "chunkFlow") {
|
|
2873
|
-
if (
|
|
2873
|
+
if (N) {
|
|
2874
2874
|
P = t.events[_][1].end;
|
|
2875
2875
|
break;
|
|
2876
2876
|
}
|
|
2877
|
-
|
|
2877
|
+
N = !0;
|
|
2878
2878
|
}
|
|
2879
2879
|
for (y(r), T = O; T < t.events.length; )
|
|
2880
2880
|
t.events[T][1].end = {
|
|
@@ -2884,9 +2884,9 @@ function R1(e) {
|
|
|
2884
2884
|
}
|
|
2885
2885
|
}
|
|
2886
2886
|
function y(k) {
|
|
2887
|
-
let
|
|
2888
|
-
for (;
|
|
2889
|
-
const I = n[
|
|
2887
|
+
let A = n.length;
|
|
2888
|
+
for (; A-- > k; ) {
|
|
2889
|
+
const I = n[A];
|
|
2890
2890
|
t.containerState = I[1], I[0].exit.call(t, e);
|
|
2891
2891
|
}
|
|
2892
2892
|
n.length = k;
|
|
@@ -3143,7 +3143,7 @@ function W1(e, t, n) {
|
|
|
3143
3143
|
return T === s ? (i++, e.consume(T), c) : i < 3 ? n(T) : (e.exit("codeFencedFenceSequence"), Ie(T) ? Oe(e, d, "whitespace")(T) : d(T));
|
|
3144
3144
|
}
|
|
3145
3145
|
function d(T) {
|
|
3146
|
-
return T === null || ce(T) ? (e.exit("codeFencedFence"), r.interrupt ? t(T) : e.check(tc, g,
|
|
3146
|
+
return T === null || ce(T) ? (e.exit("codeFencedFence"), r.interrupt ? t(T) : e.check(tc, g, A)(T)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
3147
3147
|
contentType: "string"
|
|
3148
3148
|
}), f(T));
|
|
3149
3149
|
}
|
|
@@ -3159,7 +3159,7 @@ function W1(e, t, n) {
|
|
|
3159
3159
|
return T === null || ce(T) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(T)) : T === 96 && T === s ? n(T) : (e.consume(T), m);
|
|
3160
3160
|
}
|
|
3161
3161
|
function g(T) {
|
|
3162
|
-
return e.attempt(l,
|
|
3162
|
+
return e.attempt(l, A, b)(T);
|
|
3163
3163
|
}
|
|
3164
3164
|
function b(T) {
|
|
3165
3165
|
return e.enter("lineEnding"), e.consume(T), e.exit("lineEnding"), y;
|
|
@@ -3168,16 +3168,16 @@ function W1(e, t, n) {
|
|
|
3168
3168
|
return a > 0 && Ie(T) ? Oe(e, w, "linePrefix", a + 1)(T) : w(T);
|
|
3169
3169
|
}
|
|
3170
3170
|
function w(T) {
|
|
3171
|
-
return T === null || ce(T) ? e.check(tc, g,
|
|
3171
|
+
return T === null || ce(T) ? e.check(tc, g, A)(T) : (e.enter("codeFlowValue"), k(T));
|
|
3172
3172
|
}
|
|
3173
3173
|
function k(T) {
|
|
3174
3174
|
return T === null || ce(T) ? (e.exit("codeFlowValue"), w(T)) : (e.consume(T), k);
|
|
3175
3175
|
}
|
|
3176
|
-
function
|
|
3176
|
+
function A(T) {
|
|
3177
3177
|
return e.exit("codeFenced"), t(T);
|
|
3178
3178
|
}
|
|
3179
3179
|
function I(T, O, _) {
|
|
3180
|
-
let
|
|
3180
|
+
let N = 0;
|
|
3181
3181
|
return P;
|
|
3182
3182
|
function P(E) {
|
|
3183
3183
|
return T.enter("lineEnding"), T.consume(E), T.exit("lineEnding"), D;
|
|
@@ -3189,7 +3189,7 @@ function W1(e, t, n) {
|
|
|
3189
3189
|
return E === s ? (T.enter("codeFencedFenceSequence"), V(E)) : _(E);
|
|
3190
3190
|
}
|
|
3191
3191
|
function V(E) {
|
|
3192
|
-
return E === s ? (
|
|
3192
|
+
return E === s ? (N++, T.consume(E), V) : N >= i ? (T.exit("codeFencedFenceSequence"), Ie(E) ? Oe(T, L, "whitespace")(E) : L(E)) : _(E);
|
|
3193
3193
|
}
|
|
3194
3194
|
function L(E) {
|
|
3195
3195
|
return E === null || ce(E) ? (T.exit("codeFencedFence"), O(E)) : _(E);
|
|
@@ -3873,10 +3873,10 @@ function Tg(e, t, n) {
|
|
|
3873
3873
|
return Ie(R) ? (e.consume(R), w) : P(R);
|
|
3874
3874
|
}
|
|
3875
3875
|
function k(R) {
|
|
3876
|
-
return R === 47 ? (e.consume(R), P) : R === 58 || R === 95 || Qt(R) ? (e.consume(R),
|
|
3876
|
+
return R === 47 ? (e.consume(R), P) : R === 58 || R === 95 || Qt(R) ? (e.consume(R), A) : Ie(R) ? (e.consume(R), k) : P(R);
|
|
3877
3877
|
}
|
|
3878
|
-
function
|
|
3879
|
-
return R === 45 || R === 46 || R === 58 || R === 95 || Mt(R) ? (e.consume(R),
|
|
3878
|
+
function A(R) {
|
|
3879
|
+
return R === 45 || R === 46 || R === 58 || R === 95 || Mt(R) ? (e.consume(R), A) : I(R);
|
|
3880
3880
|
}
|
|
3881
3881
|
function I(R) {
|
|
3882
3882
|
return R === 61 ? (e.consume(R), T) : Ie(R) ? (e.consume(R), I) : k(R);
|
|
@@ -3885,12 +3885,12 @@ function Tg(e, t, n) {
|
|
|
3885
3885
|
return R === null || R === 60 || R === 61 || R === 62 || R === 96 ? n(R) : R === 34 || R === 39 ? (e.consume(R), o = R, O) : Ie(R) ? (e.consume(R), T) : _(R);
|
|
3886
3886
|
}
|
|
3887
3887
|
function O(R) {
|
|
3888
|
-
return R === o ? (e.consume(R), o = null,
|
|
3888
|
+
return R === o ? (e.consume(R), o = null, N) : R === null || ce(R) ? n(R) : (e.consume(R), O);
|
|
3889
3889
|
}
|
|
3890
3890
|
function _(R) {
|
|
3891
3891
|
return R === null || R === 34 || R === 39 || R === 47 || R === 60 || R === 61 || R === 62 || R === 96 || $e(R) ? I(R) : (e.consume(R), _);
|
|
3892
3892
|
}
|
|
3893
|
-
function
|
|
3893
|
+
function N(R) {
|
|
3894
3894
|
return R === 47 || R === 62 || Ie(R) ? k(R) : n(R);
|
|
3895
3895
|
}
|
|
3896
3896
|
function P(R) {
|
|
@@ -3999,9 +3999,9 @@ function kg(e, t, n) {
|
|
|
3999
3999
|
return C === null || C === 62 ? F(C) : ce(C) ? (i = w, Y(C)) : (e.consume(C), w);
|
|
4000
4000
|
}
|
|
4001
4001
|
function k(C) {
|
|
4002
|
-
return C === null ? n(C) : C === 63 ? (e.consume(C),
|
|
4002
|
+
return C === null ? n(C) : C === 63 ? (e.consume(C), A) : ce(C) ? (i = k, Y(C)) : (e.consume(C), k);
|
|
4003
4003
|
}
|
|
4004
|
-
function
|
|
4004
|
+
function A(C) {
|
|
4005
4005
|
return C === 62 ? F(C) : k(C);
|
|
4006
4006
|
}
|
|
4007
4007
|
function I(C) {
|
|
@@ -4014,16 +4014,16 @@ function kg(e, t, n) {
|
|
|
4014
4014
|
return ce(C) ? (i = O, Y(C)) : Ie(C) ? (e.consume(C), O) : F(C);
|
|
4015
4015
|
}
|
|
4016
4016
|
function _(C) {
|
|
4017
|
-
return C === 45 || Mt(C) ? (e.consume(C), _) : C === 47 || C === 62 || $e(C) ?
|
|
4017
|
+
return C === 45 || Mt(C) ? (e.consume(C), _) : C === 47 || C === 62 || $e(C) ? N(C) : n(C);
|
|
4018
4018
|
}
|
|
4019
|
-
function
|
|
4020
|
-
return C === 47 ? (e.consume(C), F) : C === 58 || C === 95 || Qt(C) ? (e.consume(C), P) : ce(C) ? (i =
|
|
4019
|
+
function N(C) {
|
|
4020
|
+
return C === 47 ? (e.consume(C), F) : C === 58 || C === 95 || Qt(C) ? (e.consume(C), P) : ce(C) ? (i = N, Y(C)) : Ie(C) ? (e.consume(C), N) : F(C);
|
|
4021
4021
|
}
|
|
4022
4022
|
function P(C) {
|
|
4023
4023
|
return C === 45 || C === 46 || C === 58 || C === 95 || Mt(C) ? (e.consume(C), P) : D(C);
|
|
4024
4024
|
}
|
|
4025
4025
|
function D(C) {
|
|
4026
|
-
return C === 61 ? (e.consume(C), B) : ce(C) ? (i = D, Y(C)) : Ie(C) ? (e.consume(C), D) :
|
|
4026
|
+
return C === 61 ? (e.consume(C), B) : ce(C) ? (i = D, Y(C)) : Ie(C) ? (e.consume(C), D) : N(C);
|
|
4027
4027
|
}
|
|
4028
4028
|
function B(C) {
|
|
4029
4029
|
return C === null || C === 60 || C === 61 || C === 62 || C === 96 ? n(C) : C === 34 || C === 39 ? (e.consume(C), l = C, V) : ce(C) ? (i = B, Y(C)) : Ie(C) ? (e.consume(C), B) : (e.consume(C), L);
|
|
@@ -4032,10 +4032,10 @@ function kg(e, t, n) {
|
|
|
4032
4032
|
return C === l ? (e.consume(C), l = void 0, E) : C === null ? n(C) : ce(C) ? (i = V, Y(C)) : (e.consume(C), V);
|
|
4033
4033
|
}
|
|
4034
4034
|
function L(C) {
|
|
4035
|
-
return C === null || C === 34 || C === 39 || C === 60 || C === 61 || C === 96 ? n(C) : C === 47 || C === 62 || $e(C) ?
|
|
4035
|
+
return C === null || C === 34 || C === 39 || C === 60 || C === 61 || C === 96 ? n(C) : C === 47 || C === 62 || $e(C) ? N(C) : (e.consume(C), L);
|
|
4036
4036
|
}
|
|
4037
4037
|
function E(C) {
|
|
4038
|
-
return C === 47 || C === 62 || $e(C) ?
|
|
4038
|
+
return C === 47 || C === 62 || $e(C) ? N(C) : n(C);
|
|
4039
4039
|
}
|
|
4040
4040
|
function F(C) {
|
|
4041
4041
|
return C === 62 ? (e.consume(C), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(C);
|
|
@@ -4585,7 +4585,7 @@ function fv(e, t, n) {
|
|
|
4585
4585
|
check: O(T),
|
|
4586
4586
|
consume: w,
|
|
4587
4587
|
enter: k,
|
|
4588
|
-
exit:
|
|
4588
|
+
exit: A,
|
|
4589
4589
|
interrupt: O(T, {
|
|
4590
4590
|
interrupt: !0
|
|
4591
4591
|
})
|
|
@@ -4655,7 +4655,7 @@ function fv(e, t, n) {
|
|
|
4655
4655
|
const V = B || {};
|
|
4656
4656
|
return V.type = D, V.start = m(), u.events.push(["enter", V, u]), s.push(V), V;
|
|
4657
4657
|
}
|
|
4658
|
-
function
|
|
4658
|
+
function A(D) {
|
|
4659
4659
|
const B = s.pop();
|
|
4660
4660
|
return B.end = m(), u.events.push(["exit", B, u]), B;
|
|
4661
4661
|
}
|
|
@@ -4697,7 +4697,7 @@ function fv(e, t, n) {
|
|
|
4697
4697
|
function R(Ne) {
|
|
4698
4698
|
return de;
|
|
4699
4699
|
function de(ke) {
|
|
4700
|
-
return C =
|
|
4700
|
+
return C = N(), Q = Ne, Ne.partial || (u.currentConstruct = Ne), Ne.name && u.parser.constructs.disable.null.includes(Ne.name) ? _e() : Ne.tokenize.call(
|
|
4701
4701
|
// If we do have fields, create an object w/ `context` as its
|
|
4702
4702
|
// prototype.
|
|
4703
4703
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
@@ -4719,7 +4719,7 @@ function fv(e, t, n) {
|
|
|
4719
4719
|
function _(D, B) {
|
|
4720
4720
|
D.resolveAll && !a.includes(D) && a.push(D), D.resolve && Zt(u.events, B, u.events.length - B, D.resolve(u.events.slice(B), u)), D.resolveTo && (u.events = D.resolveTo(u.events, u));
|
|
4721
4721
|
}
|
|
4722
|
-
function
|
|
4722
|
+
function N() {
|
|
4723
4723
|
const D = m(), B = u.previous, V = u.currentConstruct, L = u.events.length, E = Array.from(s);
|
|
4724
4724
|
return {
|
|
4725
4725
|
from: L,
|
|
@@ -4873,20 +4873,20 @@ function Cv(e) {
|
|
|
4873
4873
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
|
4874
4874
|
enter: {
|
|
4875
4875
|
autolink: a(rn),
|
|
4876
|
-
autolinkProtocol:
|
|
4877
|
-
autolinkEmail:
|
|
4876
|
+
autolinkProtocol: N,
|
|
4877
|
+
autolinkEmail: N,
|
|
4878
4878
|
atxHeading: a(hn),
|
|
4879
4879
|
blockQuote: a(we),
|
|
4880
|
-
characterEscape:
|
|
4881
|
-
characterReference:
|
|
4880
|
+
characterEscape: N,
|
|
4881
|
+
characterReference: N,
|
|
4882
4882
|
codeFenced: a(st),
|
|
4883
4883
|
codeFencedFenceInfo: i,
|
|
4884
4884
|
codeFencedFenceMeta: i,
|
|
4885
4885
|
codeIndented: a(st, i),
|
|
4886
4886
|
codeText: a(Qe, i),
|
|
4887
|
-
codeTextData:
|
|
4888
|
-
data:
|
|
4889
|
-
codeFlowValue:
|
|
4887
|
+
codeTextData: N,
|
|
4888
|
+
data: N,
|
|
4889
|
+
codeFlowValue: N,
|
|
4890
4890
|
definition: a(gt),
|
|
4891
4891
|
definitionDestinationString: i,
|
|
4892
4892
|
definitionLabelString: i,
|
|
@@ -4895,9 +4895,9 @@ function Cv(e) {
|
|
|
4895
4895
|
hardBreakEscape: a(me),
|
|
4896
4896
|
hardBreakTrailing: a(me),
|
|
4897
4897
|
htmlFlow: a(Pe, i),
|
|
4898
|
-
htmlFlowData:
|
|
4898
|
+
htmlFlowData: N,
|
|
4899
4899
|
htmlText: a(Pe, i),
|
|
4900
|
-
htmlTextData:
|
|
4900
|
+
htmlTextData: N,
|
|
4901
4901
|
image: a(pn),
|
|
4902
4902
|
label: i,
|
|
4903
4903
|
link: a(rn),
|
|
@@ -4936,7 +4936,7 @@ function Cv(e) {
|
|
|
4936
4936
|
codeTextData: P,
|
|
4937
4937
|
data: P,
|
|
4938
4938
|
definition: o(),
|
|
4939
|
-
definitionDestinationString:
|
|
4939
|
+
definitionDestinationString: A,
|
|
4940
4940
|
definitionLabelString: w,
|
|
4941
4941
|
definitionTitleString: k,
|
|
4942
4942
|
emphasis: o(),
|
|
@@ -5142,7 +5142,7 @@ function Cv(e) {
|
|
|
5142
5142
|
const j = this.resume(), ee = this.stack[this.stack.length - 1];
|
|
5143
5143
|
ee.title = j;
|
|
5144
5144
|
}
|
|
5145
|
-
function
|
|
5145
|
+
function A() {
|
|
5146
5146
|
const j = this.resume(), ee = this.stack[this.stack.length - 1];
|
|
5147
5147
|
ee.url = j;
|
|
5148
5148
|
}
|
|
@@ -5163,7 +5163,7 @@ function Cv(e) {
|
|
|
5163
5163
|
function _() {
|
|
5164
5164
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
5165
5165
|
}
|
|
5166
|
-
function
|
|
5166
|
+
function N(j) {
|
|
5167
5167
|
const ge = this.stack[this.stack.length - 1].children;
|
|
5168
5168
|
let Ce = ge[ge.length - 1];
|
|
5169
5169
|
(!Ce || Ce.type !== "text") && (Ce = Gl(), Ce.position = {
|
|
@@ -5183,7 +5183,7 @@ function Cv(e) {
|
|
|
5183
5183
|
ge.position.end = vn(j.end), this.data.atHardBreak = void 0;
|
|
5184
5184
|
return;
|
|
5185
5185
|
}
|
|
5186
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(ee.type) && (
|
|
5186
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(ee.type) && (N.call(this, j), P.call(this, j));
|
|
5187
5187
|
}
|
|
5188
5188
|
function B() {
|
|
5189
5189
|
this.data.atHardBreak = !0;
|
|
@@ -14488,37 +14488,37 @@ function Fo(e, t) {
|
|
|
14488
14488
|
continue;
|
|
14489
14489
|
}
|
|
14490
14490
|
const w = a + 1;
|
|
14491
|
-
let k = w,
|
|
14491
|
+
let k = w, A = w, I;
|
|
14492
14492
|
if (y === 35) {
|
|
14493
|
-
|
|
14494
|
-
const V = e.charCodeAt(
|
|
14495
|
-
V === 88 || V === 120 ? (I = "hexadecimal",
|
|
14493
|
+
A = ++k;
|
|
14494
|
+
const V = e.charCodeAt(A);
|
|
14495
|
+
V === 88 || V === 120 ? (I = "hexadecimal", A = ++k) : I = "decimal";
|
|
14496
14496
|
} else
|
|
14497
14497
|
I = "named";
|
|
14498
14498
|
let T = "", O = "", _ = "";
|
|
14499
|
-
const
|
|
14500
|
-
for (
|
|
14501
|
-
const V = e.charCodeAt(
|
|
14502
|
-
if (!
|
|
14499
|
+
const N = I === "named" ? Wc : I === "decimal" ? sp : gC;
|
|
14500
|
+
for (A--; ++A <= e.length; ) {
|
|
14501
|
+
const V = e.charCodeAt(A);
|
|
14502
|
+
if (!N(V))
|
|
14503
14503
|
break;
|
|
14504
14504
|
_ += String.fromCharCode(V), I === "named" && bC.includes(_) && (T = _, O = El(_));
|
|
14505
14505
|
}
|
|
14506
|
-
let P = e.charCodeAt(
|
|
14506
|
+
let P = e.charCodeAt(A) === 59;
|
|
14507
14507
|
if (P) {
|
|
14508
|
-
|
|
14508
|
+
A++;
|
|
14509
14509
|
const V = I === "named" ? El(_) : !1;
|
|
14510
14510
|
V && (T = _, O = V);
|
|
14511
14511
|
}
|
|
14512
|
-
let D = 1 +
|
|
14512
|
+
let D = 1 + A - w, B = "";
|
|
14513
14513
|
if (!(!P && n.nonTerminated === !1)) if (!_)
|
|
14514
14514
|
I !== "named" && g(4, D);
|
|
14515
14515
|
else if (I === "named") {
|
|
14516
14516
|
if (P && !O)
|
|
14517
14517
|
g(5, 1);
|
|
14518
|
-
else if (T !== _ && (
|
|
14518
|
+
else if (T !== _ && (A = k + T.length, D = 1 + A - k, P = !1), !P) {
|
|
14519
14519
|
const V = T ? 1 : 3;
|
|
14520
14520
|
if (n.attribute) {
|
|
14521
|
-
const L = e.charCodeAt(
|
|
14521
|
+
const L = e.charCodeAt(A);
|
|
14522
14522
|
L === 61 ? (g(V, D), O = "") : Wc(L) ? O = "" : g(V, D);
|
|
14523
14523
|
} else
|
|
14524
14524
|
g(V, D);
|
|
@@ -14542,16 +14542,16 @@ function Fo(e, t) {
|
|
|
14542
14542
|
}
|
|
14543
14543
|
}
|
|
14544
14544
|
if (B) {
|
|
14545
|
-
b(), f = m(), a =
|
|
14545
|
+
b(), f = m(), a = A - 1, d += A - w + 1, l.push(B);
|
|
14546
14546
|
const V = m();
|
|
14547
14547
|
V.offset++, n.reference && n.reference.call(
|
|
14548
14548
|
n.referenceContext || void 0,
|
|
14549
14549
|
B,
|
|
14550
14550
|
{ start: f, end: V },
|
|
14551
|
-
e.slice(w - 1,
|
|
14551
|
+
e.slice(w - 1, A)
|
|
14552
14552
|
), f = V;
|
|
14553
14553
|
} else
|
|
14554
|
-
_ = e.slice(w - 1,
|
|
14554
|
+
_ = e.slice(w - 1, A), s += _, d += _.length, a = A - 1;
|
|
14555
14555
|
} else
|
|
14556
14556
|
h === 10 && (c++, i++, d = 0), Number.isNaN(h) ? b() : (s += String.fromCharCode(h), d++);
|
|
14557
14557
|
return l.join("");
|
|
@@ -14846,9 +14846,9 @@ function Uo(e, t, n, r, l, a, i, s, o, u, c, d, f, h, m) {
|
|
|
14846
14846
|
/** @type {TokenType} */
|
|
14847
14847
|
g + "Marker"
|
|
14848
14848
|
);
|
|
14849
|
-
return e.enter(a), e.enter(g), e.enter(F), e.consume(E), e.exit(F),
|
|
14849
|
+
return e.enter(a), e.enter(g), e.enter(F), e.consume(E), e.exit(F), A;
|
|
14850
14850
|
}
|
|
14851
|
-
function
|
|
14851
|
+
function A(E) {
|
|
14852
14852
|
if (E === null || E === 34 || E === 35 || E === 39 || E === 46 || E === 60 || E === 61 || E === 62 || E === 96 || E === 125 || $e(E))
|
|
14853
14853
|
return n(E);
|
|
14854
14854
|
const F = (
|
|
@@ -14876,10 +14876,10 @@ function Uo(e, t, n, r, l, a, i, s, o, u, c, d, f, h, m) {
|
|
|
14876
14876
|
return E === 61 ? (e.enter(u), e.consume(E), e.exit(u), _) : (e.exit(a), w(E));
|
|
14877
14877
|
}
|
|
14878
14878
|
function _(E) {
|
|
14879
|
-
return E === null || E === 60 || E === 61 || E === 62 || E === 96 || E === 125 || m && ce(E) ? n(E) : E === 34 || E === 39 ? (e.enter(c), e.enter(f), e.consume(E), e.exit(f), b = E, P) : m && Ie(E) ? Oe(e, _, "whitespace")(E) : !m && $e(E) ? un(e, _)(E) : (e.enter(d), e.enter(h), e.consume(E), b = void 0,
|
|
14879
|
+
return E === null || E === 60 || E === 61 || E === 62 || E === 96 || E === 125 || m && ce(E) ? n(E) : E === 34 || E === 39 ? (e.enter(c), e.enter(f), e.consume(E), e.exit(f), b = E, P) : m && Ie(E) ? Oe(e, _, "whitespace")(E) : !m && $e(E) ? un(e, _)(E) : (e.enter(d), e.enter(h), e.consume(E), b = void 0, N);
|
|
14880
14880
|
}
|
|
14881
|
-
function
|
|
14882
|
-
return E === null || E === 34 || E === 39 || E === 60 || E === 61 || E === 62 || E === 96 ? n(E) : E === 125 || $e(E) ? (e.exit(h), e.exit(d), e.exit(a), w(E)) : (e.consume(E),
|
|
14881
|
+
function N(E) {
|
|
14882
|
+
return E === null || E === 34 || E === 39 || E === 60 || E === 61 || E === 62 || E === 96 ? n(E) : E === 125 || $e(E) ? (e.exit(h), e.exit(d), e.exit(a), w(E)) : (e.consume(E), N);
|
|
14883
14883
|
}
|
|
14884
14884
|
function P(E) {
|
|
14885
14885
|
return E === b ? (e.enter(f), e.consume(E), e.exit(f), e.exit(c), e.exit(a), V) : (e.enter(d), D(E));
|
|
@@ -14953,79 +14953,79 @@ function YC(e, t, n) {
|
|
|
14953
14953
|
const r = this, l = r.events[r.events.length - 1], a = l && l[1].type === "linePrefix" ? l[2].sliceSerialize(l[1], !0).length : 0;
|
|
14954
14954
|
let i = 0, s;
|
|
14955
14955
|
return o;
|
|
14956
|
-
function o(
|
|
14957
|
-
return e.enter("directiveContainer"), e.enter("directiveContainerFence"), e.enter("directiveContainerSequence"), u(
|
|
14956
|
+
function o(N) {
|
|
14957
|
+
return e.enter("directiveContainer"), e.enter("directiveContainerFence"), e.enter("directiveContainerSequence"), u(N);
|
|
14958
14958
|
}
|
|
14959
|
-
function u(
|
|
14960
|
-
return
|
|
14959
|
+
function u(N) {
|
|
14960
|
+
return N === 58 ? (e.consume(N), i++, u) : i < 3 ? n(N) : (e.exit("directiveContainerSequence"), Vo.call(r, e, c, n, "directiveContainerName")(N));
|
|
14961
14961
|
}
|
|
14962
|
-
function c(
|
|
14963
|
-
return
|
|
14962
|
+
function c(N) {
|
|
14963
|
+
return N === 91 ? e.attempt(qC, d, d)(N) : d(N);
|
|
14964
14964
|
}
|
|
14965
|
-
function d(
|
|
14966
|
-
return
|
|
14965
|
+
function d(N) {
|
|
14966
|
+
return N === 123 ? e.attempt(WC, f, f)(N) : f(N);
|
|
14967
14967
|
}
|
|
14968
|
-
function f(
|
|
14969
|
-
return Oe(e, h, "whitespace")(
|
|
14968
|
+
function f(N) {
|
|
14969
|
+
return Oe(e, h, "whitespace")(N);
|
|
14970
14970
|
}
|
|
14971
|
-
function h(
|
|
14972
|
-
return e.exit("directiveContainerFence"),
|
|
14971
|
+
function h(N) {
|
|
14972
|
+
return e.exit("directiveContainerFence"), N === null ? O(N) : ce(N) ? r.interrupt ? t(N) : e.attempt(aa, m, O)(N) : n(N);
|
|
14973
14973
|
}
|
|
14974
|
-
function m(
|
|
14975
|
-
return
|
|
14974
|
+
function m(N) {
|
|
14975
|
+
return N === null ? O(N) : ce(N) ? e.check(aa, k, O)(N) : (e.enter("directiveContainerContent"), g(N));
|
|
14976
14976
|
}
|
|
14977
|
-
function g(
|
|
14977
|
+
function g(N) {
|
|
14978
14978
|
return e.attempt({
|
|
14979
14979
|
tokenize: _,
|
|
14980
14980
|
partial: !0
|
|
14981
|
-
}, T, a ? Oe(e, b, "linePrefix", a + 1) : b)(
|
|
14981
|
+
}, T, a ? Oe(e, b, "linePrefix", a + 1) : b)(N);
|
|
14982
14982
|
}
|
|
14983
|
-
function b(
|
|
14984
|
-
return
|
|
14983
|
+
function b(N) {
|
|
14984
|
+
return N === null ? T(N) : ce(N) ? e.check(aa, w, T)(N) : w(N);
|
|
14985
14985
|
}
|
|
14986
|
-
function y(
|
|
14987
|
-
if (
|
|
14986
|
+
function y(N) {
|
|
14987
|
+
if (N === null) {
|
|
14988
14988
|
const P = e.exit("chunkDocument");
|
|
14989
|
-
return r.parser.lazy[P.start.line] = !1, T(
|
|
14989
|
+
return r.parser.lazy[P.start.line] = !1, T(N);
|
|
14990
14990
|
}
|
|
14991
|
-
return ce(
|
|
14991
|
+
return ce(N) ? e.check(aa, A, I)(N) : (e.consume(N), y);
|
|
14992
14992
|
}
|
|
14993
|
-
function w(
|
|
14993
|
+
function w(N) {
|
|
14994
14994
|
const P = e.enter("chunkDocument", {
|
|
14995
14995
|
contentType: "document",
|
|
14996
14996
|
previous: s
|
|
14997
14997
|
});
|
|
14998
|
-
return s && (s.next = P), s = P, y(
|
|
14998
|
+
return s && (s.next = P), s = P, y(N);
|
|
14999
14999
|
}
|
|
15000
|
-
function k(
|
|
15001
|
-
return e.enter("directiveContainerContent"), g(
|
|
15000
|
+
function k(N) {
|
|
15001
|
+
return e.enter("directiveContainerContent"), g(N);
|
|
15002
15002
|
}
|
|
15003
|
-
function N
|
|
15004
|
-
e.consume(
|
|
15003
|
+
function A(N) {
|
|
15004
|
+
e.consume(N);
|
|
15005
15005
|
const P = e.exit("chunkDocument");
|
|
15006
15006
|
return r.parser.lazy[P.start.line] = !1, g;
|
|
15007
15007
|
}
|
|
15008
|
-
function I(
|
|
15008
|
+
function I(N) {
|
|
15009
15009
|
const P = e.exit("chunkDocument");
|
|
15010
|
-
return r.parser.lazy[P.start.line] = !1, T(
|
|
15010
|
+
return r.parser.lazy[P.start.line] = !1, T(N);
|
|
15011
15011
|
}
|
|
15012
|
-
function T(
|
|
15013
|
-
return e.exit("directiveContainerContent"), O(
|
|
15012
|
+
function T(N) {
|
|
15013
|
+
return e.exit("directiveContainerContent"), O(N);
|
|
15014
15014
|
}
|
|
15015
|
-
function O(
|
|
15016
|
-
return e.exit("directiveContainer"), t(
|
|
15015
|
+
function O(N) {
|
|
15016
|
+
return e.exit("directiveContainer"), t(N);
|
|
15017
15017
|
}
|
|
15018
|
-
function _(
|
|
15018
|
+
function _(N, P, D) {
|
|
15019
15019
|
let B = 0;
|
|
15020
|
-
return Oe(
|
|
15020
|
+
return Oe(N, V, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
15021
15021
|
function V(F) {
|
|
15022
|
-
return
|
|
15022
|
+
return N.enter("directiveContainerFence"), N.enter("directiveContainerSequence"), L(F);
|
|
15023
15023
|
}
|
|
15024
15024
|
function L(F) {
|
|
15025
|
-
return F === 58 ? (
|
|
15025
|
+
return F === 58 ? (N.consume(F), B++, L) : B < i ? D(F) : (N.exit("directiveContainerSequence"), Oe(N, E, "whitespace")(F));
|
|
15026
15026
|
}
|
|
15027
15027
|
function E(F) {
|
|
15028
|
-
return F === null || ce(F) ? (
|
|
15028
|
+
return F === null || ce(F) ? (N.exit("directiveContainerFence"), P(F)) : D(F);
|
|
15029
15029
|
}
|
|
15030
15030
|
}
|
|
15031
15031
|
}
|
|
@@ -15213,7 +15213,7 @@ const dx = {
|
|
|
15213
15213
|
initialStepIndex: n = 0,
|
|
15214
15214
|
onClose: r
|
|
15215
15215
|
}) => {
|
|
15216
|
-
const l = hr(), a = Array.isArray(e.platforms) ? e.platforms : [], i = a.length, [s, o] = J(t), [u, c] = J(n), d = Math.min(Math.max(s, 0), Math.max(i - 1, 0)), f = a[d], h = Array.isArray(f?.images) ? f.images : [], m = Array.isArray(f?.stepDescriptions) ? f.stepDescriptions : [], g = Math.min(h.length, m.length), b = Math.min(Math.max(u, 0), Math.max(g - 1, 0)), y = h[b], w = m[b] || "", k = (e.description || "").trim(),
|
|
15216
|
+
const l = hr(), a = Array.isArray(e.platforms) ? e.platforms : [], i = a.length, [s, o] = J(t), [u, c] = J(n), d = Math.min(Math.max(s, 0), Math.max(i - 1, 0)), f = a[d], h = Array.isArray(f?.images) ? f.images : [], m = Array.isArray(f?.stepDescriptions) ? f.stepDescriptions : [], g = Math.min(h.length, m.length), b = Math.min(Math.max(u, 0), Math.max(g - 1, 0)), y = h[b], w = m[b] || "", k = (e.description || "").trim(), A = (e.disclaimer || "").trim(), I = i > 1;
|
|
15217
15217
|
be(() => {
|
|
15218
15218
|
const O = (_) => {
|
|
15219
15219
|
_.key === "Escape" ? r() : _.key === "ArrowLeft" && b > 0 ? c(b - 1) : _.key === "ArrowRight" && b < g - 1 && c(b + 1);
|
|
@@ -15315,7 +15315,7 @@ const dx = {
|
|
|
15315
15315
|
)) }) : null
|
|
15316
15316
|
] }),
|
|
15317
15317
|
w ? /* @__PURE__ */ v("div", { className: "rte-steps-preview-step-text", children: Qc(w) }) : null,
|
|
15318
|
-
|
|
15318
|
+
A ? /* @__PURE__ */ q("div", { className: "rte-steps-preview-warning", children: [
|
|
15319
15319
|
/* @__PURE__ */ v(
|
|
15320
15320
|
"i",
|
|
15321
15321
|
{
|
|
@@ -15323,7 +15323,7 @@ const dx = {
|
|
|
15323
15323
|
"aria-hidden": "true"
|
|
15324
15324
|
}
|
|
15325
15325
|
),
|
|
15326
|
-
/* @__PURE__ */ v("span", { children:
|
|
15326
|
+
/* @__PURE__ */ v("span", { children: A })
|
|
15327
15327
|
] }) : null
|
|
15328
15328
|
] })
|
|
15329
15329
|
] })
|
|
@@ -15410,33 +15410,33 @@ const dx = {
|
|
|
15410
15410
|
() => i.includes(`
|
|
15411
15411
|
`)
|
|
15412
15412
|
), w = e.allowNewline !== !1, k = z(
|
|
15413
|
-
(
|
|
15413
|
+
(N) => {
|
|
15414
15414
|
if (!e.key) return;
|
|
15415
|
-
const P =
|
|
15415
|
+
const P = N.target.value, D = w ? P : P.replace(/\n+/g, " ");
|
|
15416
15416
|
n(e.key, D);
|
|
15417
15417
|
},
|
|
15418
15418
|
[e.key, n, w]
|
|
15419
|
-
),
|
|
15420
|
-
(
|
|
15421
|
-
w ||
|
|
15419
|
+
), A = z(
|
|
15420
|
+
(N) => {
|
|
15421
|
+
w || N.nativeEvent.isComposing || N.keyCode === 229 || N.key === "Enter" && N.preventDefault();
|
|
15422
15422
|
},
|
|
15423
15423
|
[w]
|
|
15424
15424
|
), I = z(
|
|
15425
|
-
(
|
|
15425
|
+
(N) => {
|
|
15426
15426
|
const P = m.current;
|
|
15427
15427
|
if (!P) return;
|
|
15428
15428
|
const D = window.getComputedStyle(P), B = Number.parseFloat(D.lineHeight) || 22, V = Number.parseFloat(D.paddingTop) || 0, L = Number.parseFloat(D.paddingBottom) || 0, E = B + V + L, F = P.offsetHeight > E + 1, Y = i.includes(`
|
|
15429
15429
|
`) || F;
|
|
15430
|
-
|
|
15430
|
+
N ? Y && y((W) => W || !0) : y((W) => W === Y ? W : Y);
|
|
15431
15431
|
},
|
|
15432
15432
|
[i]
|
|
15433
15433
|
);
|
|
15434
15434
|
We(() => {
|
|
15435
15435
|
g.current !== i ? (g.current = i, I(!1)) : I(!0);
|
|
15436
15436
|
}, [I, i, s]), be(() => {
|
|
15437
|
-
const
|
|
15438
|
-
if (!
|
|
15439
|
-
const P =
|
|
15437
|
+
const N = h.current;
|
|
15438
|
+
if (!N || typeof ResizeObserver > "u") return;
|
|
15439
|
+
const P = N.closest(".rte-editor");
|
|
15440
15440
|
if (!P) return;
|
|
15441
15441
|
const D = new ResizeObserver(() => I(!0));
|
|
15442
15442
|
return D.observe(P), () => D.disconnect();
|
|
@@ -15463,7 +15463,7 @@ const dx = {
|
|
|
15463
15463
|
rows: 1,
|
|
15464
15464
|
value: i,
|
|
15465
15465
|
onChange: k,
|
|
15466
|
-
onKeyDown:
|
|
15466
|
+
onKeyDown: A,
|
|
15467
15467
|
disabled: r,
|
|
15468
15468
|
placeholder: s,
|
|
15469
15469
|
"aria-invalid": !!l
|
|
@@ -15509,12 +15509,12 @@ const dp = ye.memo(
|
|
|
15509
15509
|
const P = b.indexOf(".");
|
|
15510
15510
|
b.length - P - 1 > 2 && (b = b.slice(0, P + 3));
|
|
15511
15511
|
}
|
|
15512
|
-
const w = b.indexOf("."), k = w !== -1 ? b.length - w - 1 : 0,
|
|
15512
|
+
const w = b.indexOf("."), k = w !== -1 ? b.length - w - 1 : 0, A = b.endsWith(".") || w !== -1 && k === 1;
|
|
15513
15513
|
if (b === "") {
|
|
15514
15514
|
n(e.key, "");
|
|
15515
15515
|
return;
|
|
15516
15516
|
}
|
|
15517
|
-
if (
|
|
15517
|
+
if (A) {
|
|
15518
15518
|
n(e.key, b);
|
|
15519
15519
|
return;
|
|
15520
15520
|
}
|
|
@@ -15528,8 +15528,8 @@ const dp = ye.memo(
|
|
|
15528
15528
|
n(e.key, "");
|
|
15529
15529
|
return;
|
|
15530
15530
|
}
|
|
15531
|
-
const _ = Math.min(Math.max(I, T), O),
|
|
15532
|
-
n(e.key,
|
|
15531
|
+
const _ = Math.min(Math.max(I, T), O), N = k > 0 ? _.toFixed(k) : String(_);
|
|
15532
|
+
n(e.key, N);
|
|
15533
15533
|
},
|
|
15534
15534
|
[e.key, e.min, e.max, n]
|
|
15535
15535
|
), o = z(
|
|
@@ -15641,7 +15641,7 @@ const $o = {
|
|
|
15641
15641
|
}, [i, e.options, e.placeholder]), [o, u] = J(64), c = te(null), d = z(() => {
|
|
15642
15642
|
const f = c.current;
|
|
15643
15643
|
if (!f) return;
|
|
15644
|
-
const h = f.querySelector(".ant-select-selection-item"), m = f.querySelector(".ant-select-selection-placeholder"), g = h || m, b = (g?.textContent || "").trim() || s, y = f.querySelector(".ant-select-selector"), w = g || y || f, k = window.getComputedStyle(w),
|
|
15644
|
+
const h = f.querySelector(".ant-select-selection-item"), m = f.querySelector(".ant-select-selection-placeholder"), g = h || m, b = (g?.textContent || "").trim() || s, y = f.querySelector(".ant-select-selector"), w = g || y || f, k = window.getComputedStyle(w), A = g ? k.fontSize : "16px", I = k.fontFamily || "sans-serif", T = k.fontWeight || "400", _ = `${k.fontStyle || "normal"} ${T} ${A} ${I}`, P = document.createElement("canvas").getContext("2d"), D = P ? Math.ceil((P.font = _, P.measureText(b).width || 0)) : 0;
|
|
15645
15645
|
let B = 0;
|
|
15646
15646
|
if (y) {
|
|
15647
15647
|
const W = window.getComputedStyle(y);
|
|
@@ -15714,12 +15714,12 @@ const hp = ye.memo(
|
|
|
15714
15714
|
[e.options]
|
|
15715
15715
|
), s = t ?? e.defaultValue, o = Ve(() => s ? i.some((_) => String(_.value) === String(s)) ? null : String(s) : null, [s, i]), u = Ve(() => {
|
|
15716
15716
|
const _ = [...i];
|
|
15717
|
-
return o && !i.some((
|
|
15717
|
+
return o && !i.some((N) => String(N.value) === o) && _.unshift({ label: o, value: o }), _;
|
|
15718
15718
|
}, [i, o]), [c, d] = J(""), [f, h] = J(80), m = te(null), g = Ve(() => {
|
|
15719
15719
|
const _ = c.trim();
|
|
15720
15720
|
if (!_) return u;
|
|
15721
|
-
const
|
|
15722
|
-
(B) => B.label.toLowerCase().includes(
|
|
15721
|
+
const N = _.toLowerCase(), P = u.filter(
|
|
15722
|
+
(B) => B.label.toLowerCase().includes(N) || String(B.value).toLowerCase().includes(N)
|
|
15723
15723
|
);
|
|
15724
15724
|
return u.some(
|
|
15725
15725
|
(B) => B.label === _ || String(B.value) === _
|
|
@@ -15733,19 +15733,19 @@ const hp = ye.memo(
|
|
|
15733
15733
|
(_) => {
|
|
15734
15734
|
if (_.key === "Enter" && c.trim()) {
|
|
15735
15735
|
_.preventDefault(), _.stopPropagation();
|
|
15736
|
-
const
|
|
15737
|
-
(D) => D.label ===
|
|
15736
|
+
const N = c.trim(), P = i.find(
|
|
15737
|
+
(D) => D.label === N || String(D.value) === N
|
|
15738
15738
|
);
|
|
15739
|
-
d(""), n(e.key, P ? String(P.value) :
|
|
15739
|
+
d(""), n(e.key, P ? String(P.value) : N);
|
|
15740
15740
|
}
|
|
15741
15741
|
},
|
|
15742
15742
|
[c, i, e.key, n]
|
|
15743
15743
|
), k = z(() => {
|
|
15744
15744
|
d(""), n(e.key, "");
|
|
15745
|
-
}, [e.key, n]),
|
|
15745
|
+
}, [e.key, n]), A = z(() => {
|
|
15746
15746
|
if (s != null && s !== "") {
|
|
15747
15747
|
const _ = u.find(
|
|
15748
|
-
(
|
|
15748
|
+
(N) => String(N.value) === String(s)
|
|
15749
15749
|
);
|
|
15750
15750
|
return _ ? typeof _.label == "string" ? _.label : String(_.label ?? s) : String(s);
|
|
15751
15751
|
}
|
|
@@ -15753,7 +15753,7 @@ const hp = ye.memo(
|
|
|
15753
15753
|
}, [s, u, a]), I = z(() => {
|
|
15754
15754
|
const _ = m.current;
|
|
15755
15755
|
if (!_) return;
|
|
15756
|
-
const
|
|
15756
|
+
const N = _.querySelector(".ant-select-selection-item"), P = _.querySelector(".ant-select-selection-placeholder"), D = N || P, B = (D?.textContent || "").trim() || A(), V = _.querySelector(".ant-select-selector"), L = D || V || _, E = window.getComputedStyle(L), F = D ? E.fontSize : "16px", Y = E.fontFamily || "sans-serif", W = E.fontWeight || "400", C = `${E.fontStyle || "normal"} ${W} ${F} ${Y}`, re = document.createElement("canvas").getContext("2d"), R = re ? Math.ceil((re.font = C, re.measureText(B).width || 0)) : 0;
|
|
15757
15757
|
let pe = 0;
|
|
15758
15758
|
if (V) {
|
|
15759
15759
|
const we = window.getComputedStyle(V);
|
|
@@ -15767,18 +15767,18 @@ const hp = ye.memo(
|
|
|
15767
15767
|
}
|
|
15768
15768
|
const De = Math.min(240, Math.max(80, R + pe + Ne + ke + 4));
|
|
15769
15769
|
h((we) => we === De ? we : De);
|
|
15770
|
-
}, [
|
|
15770
|
+
}, [A]);
|
|
15771
15771
|
We(() => {
|
|
15772
|
-
const _ = window.requestAnimationFrame(() => I()),
|
|
15772
|
+
const _ = window.requestAnimationFrame(() => I()), N = window.setTimeout(() => I(), 60);
|
|
15773
15773
|
return () => {
|
|
15774
|
-
window.cancelAnimationFrame(_), window.clearTimeout(
|
|
15774
|
+
window.cancelAnimationFrame(_), window.clearTimeout(N);
|
|
15775
15775
|
};
|
|
15776
15776
|
}, [I]), be(() => {
|
|
15777
15777
|
if (!("fonts" in document)) return;
|
|
15778
15778
|
let _ = !1;
|
|
15779
|
-
const
|
|
15780
|
-
if (
|
|
15781
|
-
return
|
|
15779
|
+
const N = document.fonts;
|
|
15780
|
+
if (N?.ready)
|
|
15781
|
+
return N.ready.then(() => {
|
|
15782
15782
|
_ || I();
|
|
15783
15783
|
}), () => {
|
|
15784
15784
|
_ = !0;
|
|
@@ -15951,7 +15951,7 @@ function mp() {
|
|
|
15951
15951
|
} }, k = function(L, E, F) {
|
|
15952
15952
|
var Y = String(L);
|
|
15953
15953
|
return !Y || Y.length >= E ? L : "" + Array(E + 1 - Y.length).join(F) + L;
|
|
15954
|
-
},
|
|
15954
|
+
}, A = { s: k, z: function(L) {
|
|
15955
15955
|
var E = -L.utcOffset(), F = Math.abs(E), Y = Math.floor(F / 60), W = F % 60;
|
|
15956
15956
|
return (E <= 0 ? "+" : "-") + k(Y, 2, "0") + ":" + k(W, 2, "0");
|
|
15957
15957
|
}, m: function L(E, F) {
|
|
@@ -15968,7 +15968,7 @@ function mp() {
|
|
|
15968
15968
|
T[I] = w;
|
|
15969
15969
|
var O = "$isDayjsObject", _ = function(L) {
|
|
15970
15970
|
return L instanceof B || !(!L || !L[O]);
|
|
15971
|
-
},
|
|
15971
|
+
}, N = function L(E, F, Y) {
|
|
15972
15972
|
var W;
|
|
15973
15973
|
if (!E) return I;
|
|
15974
15974
|
if (typeof E == "string") {
|
|
@@ -15985,13 +15985,13 @@ function mp() {
|
|
|
15985
15985
|
if (_(L)) return L.clone();
|
|
15986
15986
|
var F = typeof E == "object" ? E : {};
|
|
15987
15987
|
return F.date = L, F.args = arguments, new B(F);
|
|
15988
|
-
}, D =
|
|
15989
|
-
D.l =
|
|
15988
|
+
}, D = A;
|
|
15989
|
+
D.l = N, D.i = _, D.w = function(L, E) {
|
|
15990
15990
|
return P(L, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
|
|
15991
15991
|
};
|
|
15992
15992
|
var B = function() {
|
|
15993
15993
|
function L(F) {
|
|
15994
|
-
this.$L =
|
|
15994
|
+
this.$L = N(F.locale, null, !0), this.parse(F), this.$x = this.$x || F.x || {}, this[O] = !0;
|
|
15995
15995
|
}
|
|
15996
15996
|
var E = L.prototype;
|
|
15997
15997
|
return E.parse = function(F) {
|
|
@@ -16191,7 +16191,7 @@ function mp() {
|
|
|
16191
16191
|
return T[this.$L];
|
|
16192
16192
|
}, E.locale = function(F, Y) {
|
|
16193
16193
|
if (!F) return this.$L;
|
|
16194
|
-
var W = this.clone(), Q =
|
|
16194
|
+
var W = this.clone(), Q = N(F, Y, !0);
|
|
16195
16195
|
return Q && (W.$L = Q), W;
|
|
16196
16196
|
}, E.clone = function() {
|
|
16197
16197
|
return D.w(this.$d, this);
|
|
@@ -16211,7 +16211,7 @@ function mp() {
|
|
|
16211
16211
|
};
|
|
16212
16212
|
}), P.extend = function(L, E) {
|
|
16213
16213
|
return L.$i || (L(E, B, P), L.$i = !0), P;
|
|
16214
|
-
}, P.locale =
|
|
16214
|
+
}, P.locale = N, P.isDayjs = _, P.unix = function(L) {
|
|
16215
16215
|
return P(1e3 * L);
|
|
16216
16216
|
}, P.en = T[I], P.Ls = T, P.p = {}, P;
|
|
16217
16217
|
});
|
|
@@ -22198,10 +22198,10 @@ const Rx = [
|
|
|
22198
22198
|
return I.length ? I.join("-") : o.join("-");
|
|
22199
22199
|
}
|
|
22200
22200
|
return i;
|
|
22201
|
-
}, [o, a, i]),
|
|
22201
|
+
}, [o, a, i]), A = z(() => {
|
|
22202
22202
|
const I = m.current;
|
|
22203
22203
|
if (!I) return;
|
|
22204
|
-
const T = k(), O = I.querySelector(".ant-select-selector"), _ = I.querySelector(".ant-select-selection-item") || I.querySelector(".ant-select-selection-placeholder"),
|
|
22204
|
+
const T = k(), O = I.querySelector(".ant-select-selector"), _ = I.querySelector(".ant-select-selection-item") || I.querySelector(".ant-select-selection-placeholder"), N = _ || O || I, P = window.getComputedStyle(N), D = _ ? P.fontSize : "16px", B = P.fontFamily || "sans-serif", V = P.fontWeight || "400", E = `${P.fontStyle || "normal"} ${V} ${D} ${B}`, Y = document.createElement("canvas").getContext("2d"), W = Y ? Math.ceil((Y.font = E, Y.measureText(T).width || 0)) : 0;
|
|
22205
22205
|
let Q = 0;
|
|
22206
22206
|
if (O) {
|
|
22207
22207
|
const re = window.getComputedStyle(O);
|
|
@@ -22211,21 +22211,21 @@ const Rx = [
|
|
|
22211
22211
|
h((re) => re === oe ? re : oe);
|
|
22212
22212
|
}, [k]);
|
|
22213
22213
|
return We(() => {
|
|
22214
|
-
const I = window.requestAnimationFrame(() =>
|
|
22214
|
+
const I = window.requestAnimationFrame(() => A()), T = window.setTimeout(() => A(), 60);
|
|
22215
22215
|
return () => {
|
|
22216
22216
|
window.cancelAnimationFrame(I), window.clearTimeout(T);
|
|
22217
22217
|
};
|
|
22218
|
-
}, [
|
|
22218
|
+
}, [A]), be(() => {
|
|
22219
22219
|
if (!("fonts" in document)) return;
|
|
22220
22220
|
let I = !1;
|
|
22221
22221
|
const T = document.fonts;
|
|
22222
22222
|
if (T?.ready)
|
|
22223
22223
|
return T.ready.then(() => {
|
|
22224
|
-
I ||
|
|
22224
|
+
I || A();
|
|
22225
22225
|
}), () => {
|
|
22226
22226
|
I = !0;
|
|
22227
22227
|
};
|
|
22228
|
-
}, [
|
|
22228
|
+
}, [A]), /* @__PURE__ */ v(Fn, { node: e, children: /* @__PURE__ */ v(
|
|
22229
22229
|
"span",
|
|
22230
22230
|
{
|
|
22231
22231
|
ref: m,
|
|
@@ -22342,8 +22342,8 @@ const qo = (e) => {
|
|
|
22342
22342
|
const T = ++g.current;
|
|
22343
22343
|
c(!0), n({ nodeKey: e, nodeType: t }).then((O) => {
|
|
22344
22344
|
if (T !== g.current) return;
|
|
22345
|
-
const _ = i ? O.tabs.filter((D) => D.key !== "currentConversationReports") : O.tabs,
|
|
22346
|
-
f(
|
|
22345
|
+
const _ = i ? O.tabs.filter((D) => D.key !== "currentConversationReports") : O.tabs, N = { ...O, tabs: _ };
|
|
22346
|
+
f(N);
|
|
22347
22347
|
const P = _.find((D) => D.items.length > 0);
|
|
22348
22348
|
m(P?.key ?? _[0]?.key ?? "");
|
|
22349
22349
|
}).catch(() => {
|
|
@@ -22361,7 +22361,7 @@ const qo = (e) => {
|
|
|
22361
22361
|
const T = d.tabs.find((O) => y(O.items).length > 0);
|
|
22362
22362
|
T && m((O) => O === T.key ? O : T.key);
|
|
22363
22363
|
}, [o, s, d, y]);
|
|
22364
|
-
const w = d?.tabs.find((T) => T.key === h), k = w ? y(w.items) : [],
|
|
22364
|
+
const w = d?.tabs.find((T) => T.key === h), k = w ? y(w.items) : [], A = z((T) => {
|
|
22365
22365
|
const O = T.currentTarget;
|
|
22366
22366
|
O.classList.add("is-scrolling"), b.current && window.clearTimeout(b.current), b.current = window.setTimeout(() => {
|
|
22367
22367
|
O.classList.remove("is-scrolling"), b.current = null;
|
|
@@ -22382,7 +22382,7 @@ const qo = (e) => {
|
|
|
22382
22382
|
},
|
|
22383
22383
|
T.key
|
|
22384
22384
|
)) }) }),
|
|
22385
|
-
/* @__PURE__ */ v("div", { className: "rte-report-dropdown-list", onScroll:
|
|
22385
|
+
/* @__PURE__ */ v("div", { className: "rte-report-dropdown-list", onScroll: A, children: !w || k.length === 0 ? /* @__PURE__ */ q("div", { className: "rte-report-dropdown-empty", children: [
|
|
22386
22386
|
/* @__PURE__ */ v(
|
|
22387
22387
|
"img",
|
|
22388
22388
|
{
|
|
@@ -22445,17 +22445,17 @@ const qo = (e) => {
|
|
|
22445
22445
|
quiet: u,
|
|
22446
22446
|
openSignal: c
|
|
22447
22447
|
}) => {
|
|
22448
|
-
const d = hr(), [f, h] = J(!1), m = te(null), g = te({}).current, [b, y] = J("bottomLeft"), [w, k] = J(0),
|
|
22449
|
-
const
|
|
22450
|
-
if (!
|
|
22451
|
-
const D =
|
|
22448
|
+
const d = hr(), [f, h] = J(!1), m = te(null), g = te({}).current, [b, y] = J("bottomLeft"), [w, k] = J(0), A = z(() => {
|
|
22449
|
+
const N = e.current, P = m.current;
|
|
22450
|
+
if (!N || !P) return;
|
|
22451
|
+
const D = N.getBoundingClientRect(), B = P.getBoundingClientRect();
|
|
22452
22452
|
k(D.left - B.left);
|
|
22453
22453
|
const V = 236, L = window.innerHeight - D.bottom;
|
|
22454
22454
|
y(L < V ? "topLeft" : "bottomLeft");
|
|
22455
22455
|
}, [e]);
|
|
22456
22456
|
We(() => {
|
|
22457
|
-
f &&
|
|
22458
|
-
}, [f,
|
|
22457
|
+
f && A();
|
|
22458
|
+
}, [f, A]);
|
|
22459
22459
|
const I = Ve(
|
|
22460
22460
|
() => ({
|
|
22461
22461
|
offset: [w, b === "bottomLeft" ? 4 : -4],
|
|
@@ -22470,28 +22470,28 @@ const qo = (e) => {
|
|
|
22470
22470
|
be(() => {
|
|
22471
22471
|
c !== void 0 && T();
|
|
22472
22472
|
}, [c, T]), be(() => {
|
|
22473
|
-
const
|
|
22473
|
+
const N = (P) => {
|
|
22474
22474
|
P.detail !== g && h(!1);
|
|
22475
22475
|
};
|
|
22476
|
-
return document.addEventListener("rte-report-dropdown-opening",
|
|
22476
|
+
return document.addEventListener("rte-report-dropdown-opening", N), () => document.removeEventListener("rte-report-dropdown-opening", N);
|
|
22477
22477
|
}, [g]), be(() => {
|
|
22478
22478
|
if (!f) return;
|
|
22479
|
-
const
|
|
22479
|
+
const N = (P) => {
|
|
22480
22480
|
const D = e.current, B = P.target;
|
|
22481
22481
|
D?.contains(B) || document.querySelector(".rte-report-dropdown-overlay")?.contains(B) || h(!1);
|
|
22482
22482
|
};
|
|
22483
|
-
return document.addEventListener("mousedown",
|
|
22483
|
+
return document.addEventListener("mousedown", N), () => document.removeEventListener("mousedown", N);
|
|
22484
22484
|
}, [f, e]);
|
|
22485
22485
|
const O = z(
|
|
22486
|
-
(
|
|
22487
|
-
h(!1), l(
|
|
22486
|
+
(N) => {
|
|
22487
|
+
h(!1), l(N);
|
|
22488
22488
|
},
|
|
22489
22489
|
[l]
|
|
22490
22490
|
);
|
|
22491
22491
|
return /* @__PURE__ */ v(
|
|
22492
22492
|
wa,
|
|
22493
22493
|
{
|
|
22494
|
-
content: f ? /* @__PURE__ */ v(
|
|
22494
|
+
content: f ? /* @__PURE__ */ v(
|
|
22495
22495
|
Bx,
|
|
22496
22496
|
{
|
|
22497
22497
|
nodeKey: t,
|
|
@@ -22504,7 +22504,7 @@ const qo = (e) => {
|
|
|
22504
22504
|
preciseMatchKey: o,
|
|
22505
22505
|
open: f
|
|
22506
22506
|
}
|
|
22507
|
-
)
|
|
22507
|
+
) : null,
|
|
22508
22508
|
trigger: [],
|
|
22509
22509
|
open: f,
|
|
22510
22510
|
placement: b,
|
|
@@ -22524,8 +22524,8 @@ const qo = (e) => {
|
|
|
22524
22524
|
"data-key": t,
|
|
22525
22525
|
"data-node-type": n,
|
|
22526
22526
|
contentEditable: !1,
|
|
22527
|
-
onClick: (
|
|
22528
|
-
|
|
22527
|
+
onClick: (N) => {
|
|
22528
|
+
N.stopPropagation(), f ? h(!1) : T();
|
|
22529
22529
|
},
|
|
22530
22530
|
children: /* @__PURE__ */ v(
|
|
22531
22531
|
"i",
|
|
@@ -22566,17 +22566,17 @@ const qo = (e) => {
|
|
|
22566
22566
|
onShiftReportNames: f
|
|
22567
22567
|
}) => {
|
|
22568
22568
|
const h = e.maxCount ?? 9, m = e.minCount ?? 1, g = Hx(e.tooltip), b = !1, y = !!g, w = Ve(() => t ?? [], [t]), k = Ve(() => {
|
|
22569
|
-
const T = w.filter((
|
|
22570
|
-
return Array.from({ length: _ }, (
|
|
22571
|
-
}, [w, m, h]),
|
|
22569
|
+
const T = w.filter((N) => N && N.trim().length > 0), O = Math.max(m, Math.min(T.length + 1, h)), _ = Math.min(Math.max(w.length, O), h);
|
|
22570
|
+
return Array.from({ length: _ }, (N, P) => w[P] ?? "");
|
|
22571
|
+
}, [w, m, h]), A = z(
|
|
22572
22572
|
(T, O) => {
|
|
22573
22573
|
const _ = [...k];
|
|
22574
22574
|
if (_[T] = O, O.trim() === "") {
|
|
22575
|
-
const
|
|
22575
|
+
const N = _.reduce(
|
|
22576
22576
|
(P, D, B) => D && D.trim() ? B : P,
|
|
22577
22577
|
-1
|
|
22578
22578
|
);
|
|
22579
|
-
T <
|
|
22579
|
+
T < N && _.splice(T, 1), _.length = N + 1, f?.(e.key, T);
|
|
22580
22580
|
}
|
|
22581
22581
|
n(e.key, _);
|
|
22582
22582
|
},
|
|
@@ -22590,9 +22590,9 @@ const qo = (e) => {
|
|
|
22590
22590
|
);
|
|
22591
22591
|
return z(
|
|
22592
22592
|
(T) => {
|
|
22593
|
-
|
|
22593
|
+
A(T, "");
|
|
22594
22594
|
},
|
|
22595
|
-
[
|
|
22595
|
+
[A]
|
|
22596
22596
|
), /* @__PURE__ */ v(Fn, { node: e, children: /* @__PURE__ */ v("span", { className: `rte-multi-variable ${l ? "rte-multi-variable-error" : ""}`, children: k.map((T, O) => (`${e.key}${O}`, /* @__PURE__ */ v(
|
|
22597
22597
|
Ep,
|
|
22598
22598
|
{
|
|
@@ -22602,7 +22602,7 @@ const qo = (e) => {
|
|
|
22602
22602
|
placeholder: e.placeholder,
|
|
22603
22603
|
disabled: r,
|
|
22604
22604
|
tooltip: g,
|
|
22605
|
-
onUpdate: (_) =>
|
|
22605
|
+
onUpdate: (_) => A(O, _),
|
|
22606
22606
|
showDropdown: b,
|
|
22607
22607
|
showInfoIcon: y,
|
|
22608
22608
|
reportListFetch: a,
|
|
@@ -22640,7 +22640,7 @@ const Ep = ({
|
|
|
22640
22640
|
onResolveName: b,
|
|
22641
22641
|
onClearName: y
|
|
22642
22642
|
}) => {
|
|
22643
|
-
const w = te(null), k = `${e}_${t}`,
|
|
22643
|
+
const w = te(null), k = `${e}_${t}`, A = !!g, I = !(n || "").trim(), T = o && I, O = s || T || A, _ = te(""), N = z(
|
|
22644
22644
|
async (Q) => {
|
|
22645
22645
|
if (!b) return;
|
|
22646
22646
|
const C = (Q || "").trim();
|
|
@@ -22648,14 +22648,14 @@ const Ep = ({
|
|
|
22648
22648
|
},
|
|
22649
22649
|
[b]
|
|
22650
22650
|
), P = z(() => {
|
|
22651
|
-
|
|
22652
|
-
}, [
|
|
22651
|
+
N(n);
|
|
22652
|
+
}, [N, n]), D = z(
|
|
22653
22653
|
(Q) => {
|
|
22654
22654
|
if (!b) return;
|
|
22655
22655
|
const C = Q.clipboardData.getData("text/plain");
|
|
22656
|
-
/^https?:\/\//i.test(C.trim()) && (Q.preventDefault(), i(C), document.dispatchEvent(new CustomEvent("rte-report-dropdown-opening", { detail: null })),
|
|
22656
|
+
/^https?:\/\//i.test(C.trim()) && (Q.preventDefault(), i(C), document.dispatchEvent(new CustomEvent("rte-report-dropdown-opening", { detail: null })), N(C));
|
|
22657
22657
|
},
|
|
22658
|
-
[b, i,
|
|
22658
|
+
[b, i, N]
|
|
22659
22659
|
);
|
|
22660
22660
|
We(() => {
|
|
22661
22661
|
(n || "").trim() || (_.current = "");
|
|
@@ -22670,7 +22670,7 @@ const Ep = ({
|
|
|
22670
22670
|
}, [V, F]);
|
|
22671
22671
|
const Y = L > 0 ? Math.max(40, L + 2) : 40, W = [
|
|
22672
22672
|
"variable-chip",
|
|
22673
|
-
|
|
22673
|
+
A ? "rte-report-name-chip" : "",
|
|
22674
22674
|
O ? "rte-variable-with-icon" : ""
|
|
22675
22675
|
].filter(Boolean).join(" ");
|
|
22676
22676
|
return /* @__PURE__ */ q(
|
|
@@ -22682,9 +22682,9 @@ const Ep = ({
|
|
|
22682
22682
|
"data-key": k,
|
|
22683
22683
|
"data-multi-key": e,
|
|
22684
22684
|
"data-index": t,
|
|
22685
|
-
"data-report-url":
|
|
22685
|
+
"data-report-url": A ? n || !0 : void 0,
|
|
22686
22686
|
"data-report-name": g || void 0,
|
|
22687
|
-
...a && !
|
|
22687
|
+
...a && !A && I ? { "data-tooltip": a, "data-variable-key": e } : {},
|
|
22688
22688
|
children: [
|
|
22689
22689
|
/* @__PURE__ */ v(
|
|
22690
22690
|
"span",
|
|
@@ -22703,7 +22703,7 @@ const Ep = ({
|
|
|
22703
22703
|
children: V
|
|
22704
22704
|
}
|
|
22705
22705
|
),
|
|
22706
|
-
|
|
22706
|
+
A ? /* @__PURE__ */ q(it, { children: [
|
|
22707
22707
|
/* @__PURE__ */ v(
|
|
22708
22708
|
"span",
|
|
22709
22709
|
{
|
|
@@ -22764,7 +22764,7 @@ const Ep = ({
|
|
|
22764
22764
|
}
|
|
22765
22765
|
}
|
|
22766
22766
|
),
|
|
22767
|
-
!
|
|
22767
|
+
!A && s && u && /* @__PURE__ */ v(
|
|
22768
22768
|
td,
|
|
22769
22769
|
{
|
|
22770
22770
|
chipRef: w,
|
|
@@ -22777,7 +22777,7 @@ const Ep = ({
|
|
|
22777
22777
|
hideCurrentSessionReport: f
|
|
22778
22778
|
}
|
|
22779
22779
|
),
|
|
22780
|
-
!
|
|
22780
|
+
!A && T && /* @__PURE__ */ v(
|
|
22781
22781
|
Vr,
|
|
22782
22782
|
{
|
|
22783
22783
|
tooltip: a,
|
|
@@ -22806,18 +22806,18 @@ const Ep = ({
|
|
|
22806
22806
|
onAnalyzeReport: h
|
|
22807
22807
|
}) => {
|
|
22808
22808
|
const m = e.maxCount ?? 9, g = e.minCount ?? 1, b = Ux(e.tooltip), y = !!a && !!b, w = !y && !!b, k = Ve(() => {
|
|
22809
|
-
const _ = t ?? [],
|
|
22809
|
+
const _ = t ?? [], N = _.reduce(
|
|
22810
22810
|
(P, D, B) => D && D.trim() ? B : P,
|
|
22811
22811
|
-1
|
|
22812
22812
|
);
|
|
22813
|
-
return _.slice(0,
|
|
22814
|
-
}, [t]),
|
|
22815
|
-
const _ = k.filter((D) => D && D.trim().length > 0),
|
|
22813
|
+
return _.slice(0, N + 1);
|
|
22814
|
+
}, [t]), A = Ve(() => {
|
|
22815
|
+
const _ = k.filter((D) => D && D.trim().length > 0), N = Math.max(g, Math.min(_.length + 1, m)), P = Math.min(Math.max(k.length, N), m);
|
|
22816
22816
|
return Array.from({ length: P }, (D, B) => k[B] ?? "");
|
|
22817
22817
|
}, [k, g, m]), I = z(
|
|
22818
|
-
(_,
|
|
22819
|
-
const P = [...
|
|
22820
|
-
if (P[_] =
|
|
22818
|
+
(_, N) => {
|
|
22819
|
+
const P = [...A];
|
|
22820
|
+
if (P[_] = N, N.trim() === "") {
|
|
22821
22821
|
const D = P.reduce(
|
|
22822
22822
|
(B, V, L) => V && V.trim() ? L : B,
|
|
22823
22823
|
-1
|
|
@@ -22826,13 +22826,13 @@ const Ep = ({
|
|
|
22826
22826
|
}
|
|
22827
22827
|
n(e.key, P);
|
|
22828
22828
|
},
|
|
22829
|
-
[
|
|
22829
|
+
[A, e.key, n, f]
|
|
22830
22830
|
), T = z(
|
|
22831
|
-
(_,
|
|
22832
|
-
const P = [...
|
|
22833
|
-
P[_] =
|
|
22831
|
+
(_, N) => {
|
|
22832
|
+
const P = [...A];
|
|
22833
|
+
P[_] = N.url, n(e.key, P), h?.(`${e.key}_${_}`, N.url), c && /^https?:\/\//i.test(N.url) && c(`${e.key}_${_}`, N.url, "multi-variable-select");
|
|
22834
22834
|
},
|
|
22835
|
-
[
|
|
22835
|
+
[A, e.key, n, h, c]
|
|
22836
22836
|
), O = z(
|
|
22837
22837
|
(_) => {
|
|
22838
22838
|
I(_, "");
|
|
@@ -22843,31 +22843,31 @@ const Ep = ({
|
|
|
22843
22843
|
"span",
|
|
22844
22844
|
{
|
|
22845
22845
|
className: `rte-multi-variable-select ${l ? "rte-multi-variable-select-error" : ""}`,
|
|
22846
|
-
children:
|
|
22847
|
-
const P = `${e.key}_${
|
|
22846
|
+
children: A.map((_, N) => {
|
|
22847
|
+
const P = `${e.key}_${N}`;
|
|
22848
22848
|
return /* @__PURE__ */ v(
|
|
22849
22849
|
Ep,
|
|
22850
22850
|
{
|
|
22851
22851
|
nodeKey: e.key,
|
|
22852
|
-
idx:
|
|
22852
|
+
idx: N,
|
|
22853
22853
|
row: _,
|
|
22854
22854
|
placeholder: e.placeholder,
|
|
22855
22855
|
disabled: r,
|
|
22856
22856
|
tooltip: b,
|
|
22857
|
-
onUpdate: (D) => I(
|
|
22857
|
+
onUpdate: (D) => I(N, D),
|
|
22858
22858
|
showDropdown: y,
|
|
22859
22859
|
showInfoIcon: w,
|
|
22860
22860
|
reportListFetch: a,
|
|
22861
22861
|
onReportGoGenerate: i,
|
|
22862
22862
|
onViewReport: s,
|
|
22863
22863
|
hideCurrentSessionReport: o,
|
|
22864
|
-
onSelectReport: (D) => T(
|
|
22864
|
+
onSelectReport: (D) => T(N, D),
|
|
22865
22865
|
nodeType: "multi-variable-select",
|
|
22866
22866
|
reportName: u?.[P],
|
|
22867
22867
|
onResolveName: c ? (D) => c(P, D, "multi-variable-select") : void 0,
|
|
22868
|
-
onClearName: d ? () => O(
|
|
22868
|
+
onClearName: d ? () => O(N) : void 0
|
|
22869
22869
|
},
|
|
22870
|
-
|
|
22870
|
+
N
|
|
22871
22871
|
);
|
|
22872
22872
|
})
|
|
22873
22873
|
}
|
|
@@ -22899,7 +22899,7 @@ const zx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Vx = (e) => zx.test(e), $x
|
|
|
22899
22899
|
onReplace: c,
|
|
22900
22900
|
onRemove: d
|
|
22901
22901
|
}) => {
|
|
22902
|
-
const f = te(null), h = te(null), m = hr(), [g, b] = J(!1), y = t != null, w = Cp(t), [k,
|
|
22902
|
+
const f = te(null), h = te(null), m = hr(), [g, b] = J(!1), y = t != null, w = Cp(t), [k, A] = J(!1), I = z(() => {
|
|
22903
22903
|
a || f.current?.click();
|
|
22904
22904
|
}, [a]), T = z(
|
|
22905
22905
|
(W) => {
|
|
@@ -22915,7 +22915,7 @@ const zx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Vx = (e) => zx.test(e), $x
|
|
|
22915
22915
|
Q && Q.length > 0 && c(e, Q), W.target.value = "";
|
|
22916
22916
|
},
|
|
22917
22917
|
[c, e]
|
|
22918
|
-
),
|
|
22918
|
+
), N = z(() => {
|
|
22919
22919
|
a || b(!0);
|
|
22920
22920
|
}, [a]), P = z(
|
|
22921
22921
|
(W) => {
|
|
@@ -22936,8 +22936,8 @@ const zx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Vx = (e) => zx.test(e), $x
|
|
|
22936
22936
|
className: `iconfont icon-tishi upload-info-icon${y ? " hidden" : ""}`,
|
|
22937
22937
|
"data-upload-key": e,
|
|
22938
22938
|
"data-tooltip": l,
|
|
22939
|
-
onMouseEnter: () =>
|
|
22940
|
-
onMouseLeave: () =>
|
|
22939
|
+
onMouseEnter: () => A(!0),
|
|
22940
|
+
onMouseLeave: () => A(!1),
|
|
22941
22941
|
onClick: (W) => {
|
|
22942
22942
|
W.stopPropagation(), W.preventDefault();
|
|
22943
22943
|
}
|
|
@@ -22963,7 +22963,7 @@ const zx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Vx = (e) => zx.test(e), $x
|
|
|
22963
22963
|
"data-key": e,
|
|
22964
22964
|
"data-group": o,
|
|
22965
22965
|
"data-tooltip": l || void 0,
|
|
22966
|
-
onClick:
|
|
22966
|
+
onClick: N,
|
|
22967
22967
|
children: [
|
|
22968
22968
|
F,
|
|
22969
22969
|
/* @__PURE__ */ v(
|
|
@@ -23140,7 +23140,7 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
|
|
|
23140
23140
|
E != null ? D.push({ key: L, file: E }) : B.push(L);
|
|
23141
23141
|
}
|
|
23142
23142
|
return { filledEntries: D, emptyKeys: B };
|
|
23143
|
-
}, [t, i, e.key, e.maxCount]),
|
|
23143
|
+
}, [t, i, e.key, e.maxCount]), A = w.length;
|
|
23144
23144
|
if (!i) {
|
|
23145
23145
|
const P = e.key, D = t[P] ?? null, B = D != null, V = (e.text || "").trim(), L = B && e.showHint === !0 && V.length >= Zx, E = /* @__PURE__ */ v(
|
|
23146
23146
|
xa,
|
|
@@ -23186,7 +23186,7 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
|
|
|
23186
23186
|
}
|
|
23187
23187
|
const I = e.minCount ?? 1, T = e.maxCount ?? 0, O = Math.min(
|
|
23188
23188
|
T,
|
|
23189
|
-
Math.max(I,
|
|
23189
|
+
Math.max(I, A + (A < T ? 1 : 0))
|
|
23190
23190
|
), _ = [];
|
|
23191
23191
|
for (const { key: P, file: D } of w)
|
|
23192
23192
|
_.push(
|
|
@@ -23209,8 +23209,8 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
|
|
|
23209
23209
|
P
|
|
23210
23210
|
)
|
|
23211
23211
|
);
|
|
23212
|
-
const
|
|
23213
|
-
for (const P of k.slice(0,
|
|
23212
|
+
const N = Math.max(0, O - A);
|
|
23213
|
+
for (const P of k.slice(0, N))
|
|
23214
23214
|
_.push(
|
|
23215
23215
|
/* @__PURE__ */ v(
|
|
23216
23216
|
xa,
|
|
@@ -23239,7 +23239,7 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
|
|
|
23239
23239
|
children: [
|
|
23240
23240
|
/* @__PURE__ */ v("span", { className: "rte-text-required", children: /* @__PURE__ */ v("i", { className: "iconfont icon-bitian", style: { fontSize: 10 } }) }),
|
|
23241
23241
|
/* @__PURE__ */ v("span", { className: "rte-upload-batch-chips", ref: o, children: _ }),
|
|
23242
|
-
d && c ? /* @__PURE__ */ v(er, { data: c, hidden:
|
|
23242
|
+
d && c ? /* @__PURE__ */ v(er, { data: c, hidden: A > 0 }) : null
|
|
23243
23243
|
]
|
|
23244
23244
|
}
|
|
23245
23245
|
) : /* @__PURE__ */ q(
|
|
@@ -23249,7 +23249,7 @@ const Gx = (e = Date.now()) => e - nd < jx ? !1 : (nd = e, !0), Kx = 32, Qx = (e
|
|
|
23249
23249
|
ref: o,
|
|
23250
23250
|
children: [
|
|
23251
23251
|
_,
|
|
23252
|
-
d && c ? /* @__PURE__ */ v(er, { data: c, hidden:
|
|
23252
|
+
d && c ? /* @__PURE__ */ v(er, { data: c, hidden: A > 0 }) : null
|
|
23253
23253
|
]
|
|
23254
23254
|
}
|
|
23255
23255
|
);
|
|
@@ -23397,7 +23397,7 @@ const rd = 2 * Math.PI * 6.5, Sp = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23397
23397
|
}) => {
|
|
23398
23398
|
const [o, u] = J(
|
|
23399
23399
|
"idle"
|
|
23400
|
-
), [c, d] = J(0), [f, h] = J(""), [m, g] = J(""), b = te(null), y = te(0), w = te(null), k = t || e.placeholder || "", [
|
|
23400
|
+
), [c, d] = J(0), [f, h] = J(""), [m, g] = J(""), b = te(null), y = te(0), w = te(null), k = t || e.placeholder || "", [A, I] = J(0), T = z(() => {
|
|
23401
23401
|
w.current && I(w.current.offsetWidth);
|
|
23402
23402
|
}, []);
|
|
23403
23403
|
We(() => {
|
|
@@ -23407,7 +23407,7 @@ const rd = 2 * Math.PI * 6.5, Sp = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23407
23407
|
const oe = new ResizeObserver(() => T());
|
|
23408
23408
|
return oe.observe(C), () => oe.disconnect();
|
|
23409
23409
|
}, [k, T]);
|
|
23410
|
-
const O =
|
|
23410
|
+
const O = A > 0 ? Math.max(40, A + 2) : 40, _ = Vl(e.tooltip), N = !!_, P = N ? "" : lS(e.tooltip), D = !!(t || n), B = z(() => {
|
|
23411
23411
|
b.current && (window.clearInterval(b.current), b.current = null);
|
|
23412
23412
|
}, []), V = z(() => {
|
|
23413
23413
|
B();
|
|
@@ -23462,7 +23462,7 @@ const rd = 2 * Math.PI * 6.5, Sp = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23462
23462
|
},
|
|
23463
23463
|
[e.key, r, l]
|
|
23464
23464
|
), W = (C) => {
|
|
23465
|
-
const oe =
|
|
23465
|
+
const oe = N && _ ? /* @__PURE__ */ v(er, { data: _, hidden: D }) : null;
|
|
23466
23466
|
return e.required ? /* @__PURE__ */ q(it, { children: [
|
|
23467
23467
|
/* @__PURE__ */ q(
|
|
23468
23468
|
"span",
|
|
@@ -23628,9 +23628,9 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
|
|
|
23628
23628
|
disabled: i,
|
|
23629
23629
|
error: s
|
|
23630
23630
|
}) => {
|
|
23631
|
-
const o = te(null), [u, c] = J("idle"), [d, f] = J(0), [h, m] = J(""), [g, b] = J(""), [y, w] = J(""), k = Vl(e.tooltip),
|
|
23631
|
+
const o = te(null), [u, c] = J("idle"), [d, f] = J(0), [h, m] = J(""), [g, b] = J(""), [y, w] = J(""), k = Vl(e.tooltip), A = !!k, I = A ? "" : aS(e.tooltip), T = !!t && !!n, O = u === "loading", _ = z(() => {
|
|
23632
23632
|
i || O || !a || o.current?.click();
|
|
23633
|
-
}, [i, O, a]),
|
|
23633
|
+
}, [i, O, a]), N = z(
|
|
23634
23634
|
async (B) => {
|
|
23635
23635
|
const V = B.target.files?.[0];
|
|
23636
23636
|
if (B.target.value = "", !V || !a) return;
|
|
@@ -23655,7 +23655,7 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
|
|
|
23655
23655
|
},
|
|
23656
23656
|
[e.key, r, l]
|
|
23657
23657
|
), D = (B) => {
|
|
23658
|
-
const V =
|
|
23658
|
+
const V = A && k ? /* @__PURE__ */ v(er, { data: k, hidden: T }) : null;
|
|
23659
23659
|
return e.required ? /* @__PURE__ */ q(it, { children: [
|
|
23660
23660
|
/* @__PURE__ */ q(
|
|
23661
23661
|
"span",
|
|
@@ -23720,7 +23720,7 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
|
|
|
23720
23720
|
type: "file",
|
|
23721
23721
|
accept: "video/*",
|
|
23722
23722
|
style: { display: "none" },
|
|
23723
|
-
onChange:
|
|
23723
|
+
onChange: N
|
|
23724
23724
|
}
|
|
23725
23725
|
)
|
|
23726
23726
|
]
|
|
@@ -23785,7 +23785,7 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
|
|
|
23785
23785
|
type: "file",
|
|
23786
23786
|
accept: "video/*",
|
|
23787
23787
|
style: { display: "none" },
|
|
23788
|
-
onChange:
|
|
23788
|
+
onChange: N
|
|
23789
23789
|
}
|
|
23790
23790
|
)
|
|
23791
23791
|
]
|
|
@@ -23821,7 +23821,7 @@ const aS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", iS = 10
|
|
|
23821
23821
|
type: "file",
|
|
23822
23822
|
accept: "video/*",
|
|
23823
23823
|
style: { display: "none" },
|
|
23824
|
-
onChange:
|
|
23824
|
+
onChange: N
|
|
23825
23825
|
}
|
|
23826
23826
|
)
|
|
23827
23827
|
]
|
|
@@ -23866,8 +23866,8 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23866
23866
|
if (I !== m.current) return;
|
|
23867
23867
|
const O = a ? T.tabs.filter((P) => P.key !== "currentConversationReports") : T.tabs, _ = { ...T, tabs: O };
|
|
23868
23868
|
d(_);
|
|
23869
|
-
const
|
|
23870
|
-
h(
|
|
23869
|
+
const N = O.find((P) => P.items.length > 0);
|
|
23870
|
+
h(N?.key ?? O[0]?.key ?? "");
|
|
23871
23871
|
}).catch(() => {
|
|
23872
23872
|
I === m.current && d({ tabs: [] });
|
|
23873
23873
|
}).finally(() => {
|
|
@@ -23888,7 +23888,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23888
23888
|
T.classList.add("is-scrolling"), g.current && window.clearTimeout(g.current), g.current = window.setTimeout(() => {
|
|
23889
23889
|
T.classList.remove("is-scrolling"), g.current = null;
|
|
23890
23890
|
}, 300);
|
|
23891
|
-
}, []),
|
|
23891
|
+
}, []), A = z(
|
|
23892
23892
|
(I, T) => {
|
|
23893
23893
|
I.stopPropagation(), l ? l(T) : window.open(T.viewUrl || T.url, "_blank");
|
|
23894
23894
|
},
|
|
@@ -23942,7 +23942,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23942
23942
|
"span",
|
|
23943
23943
|
{
|
|
23944
23944
|
className: "rte-report-dropdown-item-action",
|
|
23945
|
-
onClick: (O) =>
|
|
23945
|
+
onClick: (O) => A(O, I),
|
|
23946
23946
|
children: [
|
|
23947
23947
|
/* @__PURE__ */ v("i", { className: "iconfont icon-chakanbaogao" }),
|
|
23948
23948
|
"查看报告"
|
|
@@ -23969,7 +23969,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23969
23969
|
disabled: c,
|
|
23970
23970
|
error: d
|
|
23971
23971
|
}) => {
|
|
23972
|
-
const f = hr(), h = uS(e.tooltip), m = t ?? "", g = !!i, b = !m && !g, y = !!l, w = y && !c && (b || g), k = !y && !!h && b,
|
|
23972
|
+
const f = hr(), h = uS(e.tooltip), m = t ?? "", g = !!i, b = !m && !g, y = !!l, w = y && !c && (b || g), k = !y && !!h && b, A = w || k, [I, T] = J(!1), [O, _] = J(!1), N = te({}).current, P = te(""), D = z(
|
|
23973
23973
|
async (me) => {
|
|
23974
23974
|
const Pe = me.trim();
|
|
23975
23975
|
if (!(!Pe || !r) && P.current !== Pe) {
|
|
@@ -23997,9 +23997,9 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23997
23997
|
[e.key, n, D]
|
|
23998
23998
|
), L = z(() => {
|
|
23999
23999
|
document.dispatchEvent(
|
|
24000
|
-
new CustomEvent("rte-report-dropdown-opening", { detail:
|
|
24000
|
+
new CustomEvent("rte-report-dropdown-opening", { detail: N })
|
|
24001
24001
|
), _(!0);
|
|
24002
|
-
}, [
|
|
24002
|
+
}, [N]), E = z(
|
|
24003
24003
|
(me) => {
|
|
24004
24004
|
e.key && (n(e.key, me.url), _(!1), /^https?:\/\//i.test(me.url) && D(me.url));
|
|
24005
24005
|
},
|
|
@@ -24012,16 +24012,16 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
24012
24012
|
);
|
|
24013
24013
|
be(() => {
|
|
24014
24014
|
const me = (Pe) => {
|
|
24015
|
-
Pe.detail !==
|
|
24015
|
+
Pe.detail !== N && _(!1);
|
|
24016
24016
|
};
|
|
24017
24017
|
return document.addEventListener("rte-report-dropdown-opening", me), () => document.removeEventListener("rte-report-dropdown-opening", me);
|
|
24018
|
-
}, [
|
|
24018
|
+
}, [N]);
|
|
24019
24019
|
const Y = [
|
|
24020
24020
|
"variable-chip",
|
|
24021
24021
|
"rte-report-url",
|
|
24022
24022
|
g ? "rte-report-name-chip" : "",
|
|
24023
24023
|
d ? "rte-report-url-error" : "",
|
|
24024
|
-
|
|
24024
|
+
A ? "rte-variable-with-icon" : ""
|
|
24025
24025
|
].filter(Boolean).join(" "), W = te(null), Q = te(null), [C, oe] = J("bottomLeft"), re = z(() => {
|
|
24026
24026
|
const me = Q.current;
|
|
24027
24027
|
if (!me) return;
|
|
@@ -24151,7 +24151,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
24151
24151
|
_e
|
|
24152
24152
|
]
|
|
24153
24153
|
}
|
|
24154
|
-
), hn = w && O ? /* @__PURE__ */ v(
|
|
24154
|
+
), hn = w && O ? /* @__PURE__ */ v(
|
|
24155
24155
|
fS,
|
|
24156
24156
|
{
|
|
24157
24157
|
nodeKey: e.key,
|
|
@@ -24163,7 +24163,7 @@ const oS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
24163
24163
|
preciseMatchKey: Qe,
|
|
24164
24164
|
open: O
|
|
24165
24165
|
}
|
|
24166
|
-
)
|
|
24166
|
+
) : null;
|
|
24167
24167
|
return e.required ? /* @__PURE__ */ v(it, { children: /* @__PURE__ */ q(
|
|
24168
24168
|
"span",
|
|
24169
24169
|
{
|
|
@@ -24286,7 +24286,7 @@ function Rp(e, t) {
|
|
|
24286
24286
|
[i, r.key, a, g]
|
|
24287
24287
|
), w = !l, k = ["variable-chip", e.chipClass];
|
|
24288
24288
|
w && k.push("show-placeholder"), o && k.push(e.errorClass);
|
|
24289
|
-
const
|
|
24289
|
+
const A = Vl(r.tooltip), I = r.tooltip == null ? "" : typeof r.tooltip == "string" ? r.tooltip : JSON.stringify(r.tooltip), T = !!I && !up(I);
|
|
24290
24290
|
T && w && k.push("rte-variable-with-icon");
|
|
24291
24291
|
const O = r.placeholder ?? e.defaultPlaceholder, _ = /* @__PURE__ */ v(
|
|
24292
24292
|
"span",
|
|
@@ -24302,7 +24302,7 @@ function Rp(e, t) {
|
|
|
24302
24302
|
onBlur: b,
|
|
24303
24303
|
onPaste: y
|
|
24304
24304
|
}
|
|
24305
|
-
),
|
|
24305
|
+
), N = T ? /* @__PURE__ */ q("span", { className: "rte-markdown-host", children: [
|
|
24306
24306
|
_,
|
|
24307
24307
|
/* @__PURE__ */ v(
|
|
24308
24308
|
Vr,
|
|
@@ -24314,8 +24314,8 @@ function Rp(e, t) {
|
|
|
24314
24314
|
}
|
|
24315
24315
|
)
|
|
24316
24316
|
] }) : _, P = /* @__PURE__ */ q(it, { children: [
|
|
24317
|
-
|
|
24318
|
-
|
|
24317
|
+
N,
|
|
24318
|
+
A ? /* @__PURE__ */ v(er, { data: A, hidden: !w }) : null
|
|
24319
24319
|
] });
|
|
24320
24320
|
return r.required ? /* @__PURE__ */ q(
|
|
24321
24321
|
"span",
|
|
@@ -32778,8 +32778,8 @@ function qA(e, t, n, r, l) {
|
|
|
32778
32778
|
if (_ && !e.state.selection.eq(_)) {
|
|
32779
32779
|
if (at && cn && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (P) => P(e, Yn(13, "Enter"))))
|
|
32780
32780
|
return;
|
|
32781
|
-
let
|
|
32782
|
-
O == "pointer" ?
|
|
32781
|
+
let N = e.state.tr.setSelection(_);
|
|
32782
|
+
O == "pointer" ? N.setMeta("pointer", !0) : O == "key" && N.scrollIntoView(), a && N.setMeta("composition", a), e.dispatch(N);
|
|
32783
32783
|
}
|
|
32784
32784
|
return;
|
|
32785
32785
|
}
|
|
@@ -32820,28 +32820,28 @@ function qA(e, t, n, r, l) {
|
|
|
32820
32820
|
return O(e, Yn(13, "Enter"));
|
|
32821
32821
|
});
|
|
32822
32822
|
}, 20));
|
|
32823
|
-
let k = m.start,
|
|
32824
|
-
let _ = O || e.state.tr.replace(k,
|
|
32823
|
+
let k = m.start, A = m.endA, I = (O) => {
|
|
32824
|
+
let _ = O || e.state.tr.replace(k, A, u.doc.slice(m.start - u.from, m.endB - u.from));
|
|
32825
32825
|
if (u.sel) {
|
|
32826
|
-
let
|
|
32827
|
-
|
|
32826
|
+
let N = Qd(e, _.doc, u.sel);
|
|
32827
|
+
N && !(at && e.composing && N.empty && (m.start != m.endB || e.input.lastChromeDelete < Date.now() - 100) && (N.head == k || N.head == _.mapping.map(A) - 1) || kt && N.empty && N.head == k) && _.setSelection(N);
|
|
32828
32828
|
}
|
|
32829
32829
|
return a && _.setMeta("composition", a), _.scrollIntoView();
|
|
32830
32830
|
}, T;
|
|
32831
32831
|
if (w)
|
|
32832
32832
|
if (g.pos == b.pos) {
|
|
32833
32833
|
kt && On <= 11 && g.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => fn(e), 20));
|
|
32834
|
-
let O = I(e.state.tr.delete(k,
|
|
32834
|
+
let O = I(e.state.tr.delete(k, A)), _ = c.resolve(m.start).marksAcross(c.resolve(m.endA));
|
|
32835
32835
|
_ && O.ensureMarks(_), e.dispatch(O);
|
|
32836
32836
|
} else if (
|
|
32837
32837
|
// Adding or removing a mark
|
|
32838
32838
|
m.endA == m.endB && (T = WA(g.parent.content.cut(g.parentOffset, b.parentOffset), y.parent.content.cut(y.parentOffset, m.endA - y.start())))
|
|
32839
32839
|
) {
|
|
32840
32840
|
let O = I(e.state.tr);
|
|
32841
|
-
T.type == "add" ? O.addMark(k,
|
|
32841
|
+
T.type == "add" ? O.addMark(k, A, T.mark) : O.removeMark(k, A, T.mark), e.dispatch(O);
|
|
32842
32842
|
} else if (g.parent.child(g.index()).isText && g.index() == b.index() - (b.textOffset ? 0 : 1)) {
|
|
32843
|
-
let O = g.parent.textBetween(g.parentOffset, b.parentOffset), _ = () => I(e.state.tr.insertText(O, k,
|
|
32844
|
-
e.someProp("handleTextInput", (
|
|
32843
|
+
let O = g.parent.textBetween(g.parentOffset, b.parentOffset), _ = () => I(e.state.tr.insertText(O, k, A));
|
|
32844
|
+
e.someProp("handleTextInput", (N) => N(e, k, A, O, _)) || e.dispatch(_());
|
|
32845
32845
|
} else
|
|
32846
32846
|
e.dispatch(I());
|
|
32847
32847
|
else
|
|
@@ -34460,8 +34460,8 @@ function LN(e) {
|
|
|
34460
34460
|
DN(y, a.find, i).forEach((k) => {
|
|
34461
34461
|
if (k.index === void 0)
|
|
34462
34462
|
return;
|
|
34463
|
-
const
|
|
34464
|
-
from: n.tr.mapping.map(
|
|
34463
|
+
const A = g + k.index + 1, I = A + k[0].length, T = {
|
|
34464
|
+
from: n.tr.mapping.map(A),
|
|
34465
34465
|
to: n.tr.mapping.map(I)
|
|
34466
34466
|
}, O = a.handler({
|
|
34467
34467
|
state: n,
|
|
@@ -34565,13 +34565,13 @@ function BN(e) {
|
|
|
34565
34565
|
pasteEvt: _
|
|
34566
34566
|
});
|
|
34567
34567
|
}
|
|
34568
|
-
const k = f.doc.content.findDiffStart(h.doc.content),
|
|
34569
|
-
if (!(!MN(k) || !
|
|
34568
|
+
const k = f.doc.content.findDiffStart(h.doc.content), A = f.doc.content.findDiffEnd(h.doc.content);
|
|
34569
|
+
if (!(!MN(k) || !A || k === A.b))
|
|
34570
34570
|
return o({
|
|
34571
34571
|
rule: c,
|
|
34572
34572
|
state: h,
|
|
34573
34573
|
from: k,
|
|
34574
|
-
to:
|
|
34574
|
+
to: A,
|
|
34575
34575
|
pasteEvt: i
|
|
34576
34576
|
});
|
|
34577
34577
|
}
|
|
@@ -35330,8 +35330,8 @@ function so(e, t, n = {}) {
|
|
|
35330
35330
|
if (!g.isText && !g.marks.length)
|
|
35331
35331
|
return;
|
|
35332
35332
|
const y = Math.max(h, b), w = Math.min(m, b + g.nodeSize), k = w - y;
|
|
35333
|
-
i += k, s.push(...g.marks.map((
|
|
35334
|
-
mark:
|
|
35333
|
+
i += k, s.push(...g.marks.map((A) => ({
|
|
35334
|
+
mark: A,
|
|
35335
35335
|
from: y,
|
|
35336
35336
|
to: w
|
|
35337
35337
|
})));
|
|
@@ -35498,18 +35498,18 @@ const q3 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
|
|
|
35498
35498
|
const w = o.index(-1) ? 1 : o.index(-2) ? 2 : 3;
|
|
35499
35499
|
for (let _ = o.depth - w; _ >= o.depth - 3; _ -= 1)
|
|
35500
35500
|
y = K.from(o.node(_).copy(y));
|
|
35501
|
-
const k = o.indexAfter(-1) < o.node(-2).childCount ? 1 : o.indexAfter(-2) < o.node(-3).childCount ? 2 : 3,
|
|
35501
|
+
const k = o.indexAfter(-1) < o.node(-2).childCount ? 1 : o.indexAfter(-2) < o.node(-3).childCount ? 2 : 3, A = {
|
|
35502
35502
|
...Aa(f, o.node().type.name, o.node().attrs),
|
|
35503
35503
|
...t
|
|
35504
|
-
}, I = ((i = s.contentMatch.defaultType) === null || i === void 0 ? void 0 : i.createAndFill(
|
|
35504
|
+
}, I = ((i = s.contentMatch.defaultType) === null || i === void 0 ? void 0 : i.createAndFill(A)) || void 0;
|
|
35505
35505
|
y = y.append(K.from(s.createAndFill(null, I) || void 0));
|
|
35506
35506
|
const T = o.before(o.depth - (w - 1));
|
|
35507
35507
|
n.replace(T, o.after(-k), new ne(y, 4 - w, 0));
|
|
35508
35508
|
let O = -1;
|
|
35509
|
-
n.doc.nodesBetween(T, n.doc.content.size, (_,
|
|
35509
|
+
n.doc.nodesBetween(T, n.doc.content.size, (_, N) => {
|
|
35510
35510
|
if (O > -1)
|
|
35511
35511
|
return !1;
|
|
35512
|
-
_.isTextblock && _.content.size === 0 && (O =
|
|
35512
|
+
_.isTextblock && _.content.size === 0 && (O = N + 1);
|
|
35513
35513
|
}), O > -1 && n.setSelection(Ee.near(n.doc.resolve(O))), n.scrollIntoView();
|
|
35514
35514
|
}
|
|
35515
35515
|
return !0;
|
|
@@ -35529,10 +35529,10 @@ const q3 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
|
|
|
35529
35529
|
if (!dn(n.doc, o.pos, 2))
|
|
35530
35530
|
return !1;
|
|
35531
35531
|
if (l) {
|
|
35532
|
-
const { selection: y, storedMarks: w } = r, { splittableMarks: k } = a.extensionManager,
|
|
35533
|
-
if (n.split(o.pos, 2, b).scrollIntoView(), !
|
|
35532
|
+
const { selection: y, storedMarks: w } = r, { splittableMarks: k } = a.extensionManager, A = w || y.$to.parentOffset && y.$from.marks();
|
|
35533
|
+
if (n.split(o.pos, 2, b).scrollIntoView(), !A || !l)
|
|
35534
35534
|
return !0;
|
|
35535
|
-
const I =
|
|
35535
|
+
const I = A.filter((T) => k.includes(T.type.name));
|
|
35536
35536
|
n.ensureMarks(I);
|
|
35537
35537
|
}
|
|
35538
35538
|
return !0;
|
|
@@ -35555,7 +35555,7 @@ const q3 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
|
|
|
35555
35555
|
const l = e.doc.nodeAt(r);
|
|
35556
35556
|
return n.node.type === l?.type && Hn(e.doc, r) && e.join(r), !0;
|
|
35557
35557
|
}, Y3 = (e, t, n, r = {}) => ({ editor: l, tr: a, state: i, dispatch: s, chain: o, commands: u, can: c }) => {
|
|
35558
|
-
const { extensions: d, splittableMarks: f } = l.extensionManager, h = tt(e, i.schema), m = tt(t, i.schema), { selection: g, storedMarks: b } = i, { $from: y, $to: w } = g, k = y.blockRange(w),
|
|
35558
|
+
const { extensions: d, splittableMarks: f } = l.extensionManager, h = tt(e, i.schema), m = tt(t, i.schema), { selection: g, storedMarks: b } = i, { $from: y, $to: w } = g, k = y.blockRange(w), A = b || g.$to.parentOffset && g.$from.marks();
|
|
35559
35559
|
if (!k)
|
|
35560
35560
|
return !1;
|
|
35561
35561
|
const I = fu((T) => df(T.type.name, d))(g);
|
|
@@ -35565,8 +35565,8 @@ const q3 = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
|
|
|
35565
35565
|
if (df(I.node.type.name, d) && h.validContent(I.node.content) && s)
|
|
35566
35566
|
return o().command(() => (a.setNodeMarkup(I.pos, h), !0)).command(() => ys(a, h)).command(() => Es(a, h)).run();
|
|
35567
35567
|
}
|
|
35568
|
-
return !n || !
|
|
35569
|
-
const T = c().wrapInList(h, r), O =
|
|
35568
|
+
return !n || !A || !s ? o().command(() => c().wrapInList(h, r) ? !0 : u.clearNodes()).wrapInList(h, r).command(() => ys(a, h)).command(() => Es(a, h)).run() : o().command(() => {
|
|
35569
|
+
const T = c().wrapInList(h, r), O = A.filter((_) => f.includes(_.type.name));
|
|
35570
35570
|
return a.ensureMarks(O), T ? !0 : u.clearNodes();
|
|
35571
35571
|
}).wrapInList(h, r).command(() => ys(a, h)).command(() => Es(a, h)).run();
|
|
35572
35572
|
}, j3 = (e, t = {}, n = {}) => ({ state: r, commands: l }) => {
|
|
@@ -36650,65 +36650,65 @@ function vw() {
|
|
|
36650
36650
|
var e = ye, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
36651
36651
|
function n(k) {
|
|
36652
36652
|
{
|
|
36653
|
-
for (var
|
|
36653
|
+
for (var A = arguments.length, I = new Array(A > 1 ? A - 1 : 0), T = 1; T < A; T++)
|
|
36654
36654
|
I[T - 1] = arguments[T];
|
|
36655
36655
|
r("error", k, I);
|
|
36656
36656
|
}
|
|
36657
36657
|
}
|
|
36658
|
-
function r(k,
|
|
36658
|
+
function r(k, A, I) {
|
|
36659
36659
|
{
|
|
36660
36660
|
var T = t.ReactDebugCurrentFrame, O = T.getStackAddendum();
|
|
36661
|
-
O !== "" && (
|
|
36662
|
-
var _ = I.map(function(
|
|
36663
|
-
return String(
|
|
36661
|
+
O !== "" && (A += "%s", I = I.concat([O]));
|
|
36662
|
+
var _ = I.map(function(N) {
|
|
36663
|
+
return String(N);
|
|
36664
36664
|
});
|
|
36665
|
-
_.unshift("Warning: " +
|
|
36665
|
+
_.unshift("Warning: " + A), Function.prototype.apply.call(console[k], console, _);
|
|
36666
36666
|
}
|
|
36667
36667
|
}
|
|
36668
|
-
function l(k,
|
|
36669
|
-
return k ===
|
|
36668
|
+
function l(k, A) {
|
|
36669
|
+
return k === A && (k !== 0 || 1 / k === 1 / A) || k !== k && A !== A;
|
|
36670
36670
|
}
|
|
36671
36671
|
var a = typeof Object.is == "function" ? Object.is : l, i = e.useState, s = e.useEffect, o = e.useLayoutEffect, u = e.useDebugValue, c = !1, d = !1;
|
|
36672
|
-
function f(k,
|
|
36672
|
+
function f(k, A, I) {
|
|
36673
36673
|
c || e.startTransition !== void 0 && (c = !0, n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
36674
|
-
var T =
|
|
36674
|
+
var T = A();
|
|
36675
36675
|
if (!d) {
|
|
36676
|
-
var O =
|
|
36676
|
+
var O = A();
|
|
36677
36677
|
a(T, O) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), d = !0);
|
|
36678
36678
|
}
|
|
36679
36679
|
var _ = i({
|
|
36680
36680
|
inst: {
|
|
36681
36681
|
value: T,
|
|
36682
|
-
getSnapshot:
|
|
36682
|
+
getSnapshot: A
|
|
36683
36683
|
}
|
|
36684
|
-
}),
|
|
36684
|
+
}), N = _[0].inst, P = _[1];
|
|
36685
36685
|
return o(function() {
|
|
36686
|
-
|
|
36687
|
-
inst:
|
|
36686
|
+
N.value = T, N.getSnapshot = A, h(N) && P({
|
|
36687
|
+
inst: N
|
|
36688
36688
|
});
|
|
36689
|
-
}, [k, T,
|
|
36690
|
-
h(
|
|
36691
|
-
inst:
|
|
36689
|
+
}, [k, T, A]), s(function() {
|
|
36690
|
+
h(N) && P({
|
|
36691
|
+
inst: N
|
|
36692
36692
|
});
|
|
36693
36693
|
var D = function() {
|
|
36694
|
-
h(
|
|
36695
|
-
inst:
|
|
36694
|
+
h(N) && P({
|
|
36695
|
+
inst: N
|
|
36696
36696
|
});
|
|
36697
36697
|
};
|
|
36698
36698
|
return k(D);
|
|
36699
36699
|
}, [k]), u(T), T;
|
|
36700
36700
|
}
|
|
36701
36701
|
function h(k) {
|
|
36702
|
-
var
|
|
36702
|
+
var A = k.getSnapshot, I = k.value;
|
|
36703
36703
|
try {
|
|
36704
|
-
var T =
|
|
36704
|
+
var T = A();
|
|
36705
36705
|
return !a(I, T);
|
|
36706
36706
|
} catch {
|
|
36707
36707
|
return !0;
|
|
36708
36708
|
}
|
|
36709
36709
|
}
|
|
36710
|
-
function m(k,
|
|
36711
|
-
return
|
|
36710
|
+
function m(k, A, I) {
|
|
36711
|
+
return A();
|
|
36712
36712
|
}
|
|
36713
36713
|
var g = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", b = !g, y = b ? m : f, w = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : y;
|
|
36714
36714
|
Cs.useSyncExternalStore = w, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
@@ -36892,15 +36892,15 @@ function Nw() {
|
|
|
36892
36892
|
if (!w) {
|
|
36893
36893
|
if (w = !0, k = T, T = f(T), h !== void 0 && g.hasValue) {
|
|
36894
36894
|
var O = g.value;
|
|
36895
|
-
if (h(O, T)) return
|
|
36895
|
+
if (h(O, T)) return A = O;
|
|
36896
36896
|
}
|
|
36897
|
-
return
|
|
36897
|
+
return A = T;
|
|
36898
36898
|
}
|
|
36899
|
-
if (O =
|
|
36899
|
+
if (O = A, r(k, T)) return O;
|
|
36900
36900
|
var _ = f(T);
|
|
36901
|
-
return h !== void 0 && h(O, _) ? O : (k = T,
|
|
36901
|
+
return h !== void 0 && h(O, _) ? O : (k = T, A = _);
|
|
36902
36902
|
}
|
|
36903
|
-
var w = !1, k,
|
|
36903
|
+
var w = !1, k, A, I = d === void 0 ? null : d;
|
|
36904
36904
|
return [function() {
|
|
36905
36905
|
return y(c());
|
|
36906
36906
|
}, I === null ? void 0 : function() {
|
|
@@ -36955,16 +36955,16 @@ function ww() {
|
|
|
36955
36955
|
return F;
|
|
36956
36956
|
var Y = h(B);
|
|
36957
36957
|
return m !== void 0 && m(F, Y) ? F : (T = B, O = Y, Y);
|
|
36958
|
-
},
|
|
36958
|
+
}, N = f === void 0 ? null : f, P = function() {
|
|
36959
36959
|
return _(d());
|
|
36960
|
-
}, D =
|
|
36961
|
-
return _(
|
|
36960
|
+
}, D = N === null ? void 0 : function() {
|
|
36961
|
+
return _(N());
|
|
36962
36962
|
};
|
|
36963
36963
|
return [P, D];
|
|
36964
|
-
}, [d, f, h, m]), w = y[0], k = y[1],
|
|
36964
|
+
}, [d, f, h, m]), w = y[0], k = y[1], A = l(c, w, k);
|
|
36965
36965
|
return i(function() {
|
|
36966
|
-
b.hasValue = !0, b.value =
|
|
36967
|
-
}, [
|
|
36966
|
+
b.hasValue = !0, b.value = A;
|
|
36967
|
+
}, [A]), o(A), A;
|
|
36968
36968
|
}
|
|
36969
36969
|
Ss.useSyncExternalStoreWithSelector = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
36970
36970
|
}()), Ss;
|
|
@@ -38672,8 +38672,8 @@ const U6 = ({ expanded: e, onToggle: t }) => /* @__PURE__ */ q(
|
|
|
38672
38672
|
content: t || "",
|
|
38673
38673
|
editable: !r,
|
|
38674
38674
|
onUpdate: ({ editor: k }) => {
|
|
38675
|
-
const
|
|
38676
|
-
|
|
38675
|
+
const A = m.current;
|
|
38676
|
+
A && h.current(A, k.getHTML());
|
|
38677
38677
|
},
|
|
38678
38678
|
editorProps: {
|
|
38679
38679
|
attributes: {
|
|
@@ -38685,15 +38685,15 @@ const U6 = ({ expanded: e, onToggle: t }) => /* @__PURE__ */ q(
|
|
|
38685
38685
|
});
|
|
38686
38686
|
be(() => {
|
|
38687
38687
|
if (!g) return;
|
|
38688
|
-
const k = g.getHTML(),
|
|
38689
|
-
k !==
|
|
38688
|
+
const k = g.getHTML(), A = t ?? "";
|
|
38689
|
+
k !== A && (g.isFocused || g.commands.setContent(A, !1));
|
|
38690
38690
|
}, [t, g]), be(() => {
|
|
38691
38691
|
g && g.setEditable(!r);
|
|
38692
38692
|
}, [r, g]);
|
|
38693
38693
|
const b = z(() => {
|
|
38694
38694
|
f((k) => {
|
|
38695
|
-
const
|
|
38696
|
-
return e.key && i?.(e.key,
|
|
38695
|
+
const A = !k;
|
|
38696
|
+
return e.key && i?.(e.key, A), A;
|
|
38697
38697
|
});
|
|
38698
38698
|
}, [e.key, i]);
|
|
38699
38699
|
if (!g) return null;
|
|
@@ -39655,12 +39655,12 @@ const i_ = ["全部技能", "我的技能", "系统技能", "订阅技能"], s_
|
|
|
39655
39655
|
}, wb = ye.memo(({ selectedId: e, onSelect: t, onAction: n, skillListFetch: r }) => {
|
|
39656
39656
|
const [l, a] = J(0), [i, s] = J(r ? [] : c_), [o, u] = J(!1), [c, d] = J(""), [f, h] = J(""), m = hr(), g = m ? () => m : void 0, b = te(0);
|
|
39657
39657
|
be(() => {
|
|
39658
|
-
const
|
|
39659
|
-
return () => window.clearTimeout(
|
|
39658
|
+
const A = window.setTimeout(() => h(c.trim()), 300);
|
|
39659
|
+
return () => window.clearTimeout(A);
|
|
39660
39660
|
}, [c]);
|
|
39661
39661
|
const y = z(async () => {
|
|
39662
39662
|
if (!r) return;
|
|
39663
|
-
const
|
|
39663
|
+
const A = ++b.current;
|
|
39664
39664
|
u(!0);
|
|
39665
39665
|
try {
|
|
39666
39666
|
const I = await r({
|
|
@@ -39669,41 +39669,41 @@ const i_ = ["全部技能", "我的技能", "系统技能", "订阅技能"], s_
|
|
|
39669
39669
|
pageSize: o_,
|
|
39670
39670
|
keyword: f || void 0
|
|
39671
39671
|
});
|
|
39672
|
-
if (
|
|
39672
|
+
if (A !== b.current) return;
|
|
39673
39673
|
s(I.map(d_));
|
|
39674
39674
|
} catch {
|
|
39675
|
-
|
|
39675
|
+
A === b.current && Jt.error("技能列表加载失败");
|
|
39676
39676
|
} finally {
|
|
39677
|
-
|
|
39677
|
+
A === b.current && u(!1);
|
|
39678
39678
|
}
|
|
39679
39679
|
}, [r, l, f]);
|
|
39680
39680
|
be(() => {
|
|
39681
39681
|
y();
|
|
39682
39682
|
}, [y]);
|
|
39683
|
-
const w = (
|
|
39684
|
-
e ===
|
|
39685
|
-
}, k = async (
|
|
39683
|
+
const w = (A) => {
|
|
39684
|
+
e === A.id ? t?.(null) : t?.({ id: A.id, title: A.title });
|
|
39685
|
+
}, k = async (A) => {
|
|
39686
39686
|
try {
|
|
39687
|
-
await n?.("delete", { id:
|
|
39687
|
+
await n?.("delete", { id: A.id, title: A.title });
|
|
39688
39688
|
} catch {
|
|
39689
39689
|
Jt.error("删除失败");
|
|
39690
39690
|
return;
|
|
39691
39691
|
}
|
|
39692
|
-
e ===
|
|
39692
|
+
e === A.id && t?.(null), r ? await y() : s((I) => I.filter((T) => T.id !== A.id)), Jt.success("已删除技能");
|
|
39693
39693
|
};
|
|
39694
39694
|
return /* @__PURE__ */ q("div", { className: "rte-skill-panel", children: [
|
|
39695
39695
|
/* @__PURE__ */ q("div", { className: "rte-skill-panel-header", children: [
|
|
39696
|
-
/* @__PURE__ */ v("div", { className: "rte-skill-tabs", children: i_.map((
|
|
39696
|
+
/* @__PURE__ */ v("div", { className: "rte-skill-tabs", children: i_.map((A, I) => /* @__PURE__ */ q(
|
|
39697
39697
|
"div",
|
|
39698
39698
|
{
|
|
39699
39699
|
className: `rte-skill-tab${I === l ? " rte-skill-tab-active" : ""}`,
|
|
39700
39700
|
onClick: () => a(I),
|
|
39701
39701
|
children: [
|
|
39702
|
-
/* @__PURE__ */ v("span", { className: "rte-skill-tab-text", children:
|
|
39702
|
+
/* @__PURE__ */ v("span", { className: "rte-skill-tab-text", children: A }),
|
|
39703
39703
|
/* @__PURE__ */ v("span", { className: "rte-skill-tab-underline" })
|
|
39704
39704
|
]
|
|
39705
39705
|
},
|
|
39706
|
-
|
|
39706
|
+
A
|
|
39707
39707
|
)) }),
|
|
39708
39708
|
/* @__PURE__ */ q("div", { className: "rte-skill-actions", children: [
|
|
39709
39709
|
/* @__PURE__ */ q("div", { className: "rte-skill-search", children: [
|
|
@@ -39713,7 +39713,7 @@ const i_ = ["全部技能", "我的技能", "系统技能", "订阅技能"], s_
|
|
|
39713
39713
|
className: "rte-skill-search-input",
|
|
39714
39714
|
placeholder: "请输入想搜索的技能名称",
|
|
39715
39715
|
value: c,
|
|
39716
|
-
onChange: (
|
|
39716
|
+
onChange: (A) => d(A.target.value)
|
|
39717
39717
|
}
|
|
39718
39718
|
),
|
|
39719
39719
|
/* @__PURE__ */ v("span", { className: "rte-skill-search-icon", children: /* @__PURE__ */ v(f_, {}) })
|
|
@@ -39728,19 +39728,19 @@ const i_ = ["全部技能", "我的技能", "系统技能", "订阅技能"], s_
|
|
|
39728
39728
|
] })
|
|
39729
39729
|
] })
|
|
39730
39730
|
] }),
|
|
39731
|
-
o ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: /* @__PURE__ */ v(Xa, {}) }) : i.length === 0 ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: "暂无技能" }) : /* @__PURE__ */ v("div", { className: "rte-skill-cards", children: i.map((
|
|
39731
|
+
o ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: /* @__PURE__ */ v(Xa, {}) }) : i.length === 0 ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: "暂无技能" }) : /* @__PURE__ */ v("div", { className: "rte-skill-cards", children: i.map((A) => /* @__PURE__ */ v(
|
|
39732
39732
|
S_,
|
|
39733
39733
|
{
|
|
39734
|
-
card:
|
|
39735
|
-
selected: e ===
|
|
39736
|
-
onClick: () => w(
|
|
39737
|
-
onShare: () => n?.("share", { id:
|
|
39738
|
-
onEdit: () => n?.("edit", { id:
|
|
39739
|
-
onDelete: () => k(
|
|
39740
|
-
onUse: () => t?.({ id:
|
|
39734
|
+
card: A,
|
|
39735
|
+
selected: e === A.id,
|
|
39736
|
+
onClick: () => w(A),
|
|
39737
|
+
onShare: () => n?.("share", { id: A.id, title: A.title }),
|
|
39738
|
+
onEdit: () => n?.("edit", { id: A.id, title: A.title }),
|
|
39739
|
+
onDelete: () => k(A),
|
|
39740
|
+
onUse: () => t?.({ id: A.id, title: A.title }),
|
|
39741
39741
|
getPopupContainer: g
|
|
39742
39742
|
},
|
|
39743
|
-
|
|
39743
|
+
A.id
|
|
39744
39744
|
)) })
|
|
39745
39745
|
] });
|
|
39746
39746
|
});
|
|
@@ -39768,8 +39768,8 @@ const If = 8, k_ = () => /* @__PURE__ */ v(
|
|
|
39768
39768
|
const [a, i] = J(!1), [s, o] = J(null), u = te(null), c = te(null), d = hr(), f = z(() => (u.current?.closest(".rich-text-editor") ?? u.current)?.getBoundingClientRect() ?? null, []), h = z(() => {
|
|
39769
39769
|
const w = f();
|
|
39770
39770
|
if (!w) return;
|
|
39771
|
-
const k = w.bottom + If,
|
|
39772
|
-
o({ left: w.left - O, top: k - _, width: w.width, maxHeight:
|
|
39771
|
+
const k = w.bottom + If, A = Math.max(0, window.innerHeight - k - If), T = (c.current?.offsetParent ?? d)?.getBoundingClientRect(), O = T?.left ?? 0, _ = T?.top ?? 0;
|
|
39772
|
+
o({ left: w.left - O, top: k - _, width: w.width, maxHeight: A });
|
|
39773
39773
|
}, [f, d]);
|
|
39774
39774
|
We(() => {
|
|
39775
39775
|
if (a)
|
|
@@ -39779,8 +39779,8 @@ const If = 8, k_ = () => /* @__PURE__ */ v(
|
|
|
39779
39779
|
}, [a, h]), be(() => {
|
|
39780
39780
|
if (!a) return;
|
|
39781
39781
|
const w = (k) => {
|
|
39782
|
-
const
|
|
39783
|
-
u.current?.contains(
|
|
39782
|
+
const A = k.target;
|
|
39783
|
+
u.current?.contains(A) || c.current?.contains(A) || A instanceof Element && A.closest(".rte-skill-delete-confirm, .rte-skill-share-popover") || i(!1);
|
|
39784
39784
|
};
|
|
39785
39785
|
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
39786
39786
|
}, [a]);
|
|
@@ -40096,12 +40096,12 @@ const Of = 9999, oI = (e) => {
|
|
|
40096
40096
|
className: y,
|
|
40097
40097
|
videoUrlParse: w,
|
|
40098
40098
|
videoUpload: k,
|
|
40099
|
-
reportAnalyze:
|
|
40099
|
+
reportAnalyze: A,
|
|
40100
40100
|
reportListFetch: I,
|
|
40101
40101
|
onReportGoGenerate: T,
|
|
40102
40102
|
reportNameResolve: O,
|
|
40103
40103
|
onViewReport: _,
|
|
40104
|
-
hideCurrentSessionReport:
|
|
40104
|
+
hideCurrentSessionReport: N,
|
|
40105
40105
|
markdownAnalyze: P,
|
|
40106
40106
|
markdownNameAnalyze: D,
|
|
40107
40107
|
agentOptions: B,
|
|
@@ -40200,7 +40200,7 @@ const Of = 9999, oI = (e) => {
|
|
|
40200
40200
|
qr && Ql(null);
|
|
40201
40201
|
}, [qr]);
|
|
40202
40202
|
const { errors: Fb, validate: ku, clearError: Au } = Y6(Ct), { excludedKeys: Yr, hideSeparator: Hb } = K6(Ct, Qe, ot), { analyzeReport: Xl, analyzeMarkdown: Nu, analyzeMarkdownName: wu, resolveReportName: Jl } = Q6({
|
|
40203
|
-
reportAnalyze:
|
|
40203
|
+
reportAnalyze: A,
|
|
40204
40204
|
markdownAnalyze: P,
|
|
40205
40205
|
markdownNameAnalyze: D,
|
|
40206
40206
|
reportNameResolve: O
|
|
@@ -40674,7 +40674,7 @@ const Of = 9999, oI = (e) => {
|
|
|
40674
40674
|
reportListFetch: I,
|
|
40675
40675
|
onReportGoGenerate: T,
|
|
40676
40676
|
onViewReport: _,
|
|
40677
|
-
hideCurrentSessionReport:
|
|
40677
|
+
hideCurrentSessionReport: N,
|
|
40678
40678
|
reportNames: Gl,
|
|
40679
40679
|
onClearReport: Vb,
|
|
40680
40680
|
onResolveMultiName: _i,
|
|
@@ -40817,7 +40817,7 @@ const Of = 9999, oI = (e) => {
|
|
|
40817
40817
|
}) => {
|
|
40818
40818
|
const [f, h] = J(5), m = Math.ceil(r / n), g = Ve(() => l.length >= m, [l, m]), b = () => Array.from(
|
|
40819
40819
|
{ length: m },
|
|
40820
|
-
(k,
|
|
40820
|
+
(k, A) => A + 1
|
|
40821
40821
|
).filter((k) => !l.includes(k)).slice(0, f);
|
|
40822
40822
|
return /* @__PURE__ */ q("div", { className: "pagination_footer", children: [
|
|
40823
40823
|
/* @__PURE__ */ q("div", { className: "pagination_leftWrap", children: [
|
|
@@ -40862,9 +40862,9 @@ const Of = 9999, oI = (e) => {
|
|
|
40862
40862
|
showSizeChanger: !1,
|
|
40863
40863
|
showQuickJumper: !1,
|
|
40864
40864
|
showTotal: () => "",
|
|
40865
|
-
itemRender: (w, k,
|
|
40865
|
+
itemRender: (w, k, A) => {
|
|
40866
40866
|
const I = l.includes(w);
|
|
40867
|
-
return k === "prev" || k === "next" || k === "jump-prev" || k === "jump-next" ? /* @__PURE__ */ v("div", { className: "pageBox", children:
|
|
40867
|
+
return k === "prev" || k === "next" || k === "jump-prev" || k === "jump-next" ? /* @__PURE__ */ v("div", { className: "pageBox", children: A }) : /* @__PURE__ */ q(
|
|
40868
40868
|
"div",
|
|
40869
40869
|
{
|
|
40870
40870
|
className: "pageBox",
|
|
@@ -41053,9 +41053,9 @@ const U_ = ({
|
|
|
41053
41053
|
onChange: a,
|
|
41054
41054
|
...i
|
|
41055
41055
|
}) => {
|
|
41056
|
-
const [s, o] = J(""), [u, c] = J(0), [d, f] = J(!1), [h, m] = J(!1), [g, b] = J(!1), y = te(void 0), w = te(void 0), k = te(e),
|
|
41056
|
+
const [s, o] = J(""), [u, c] = J(0), [d, f] = J(!1), [h, m] = J(!1), [g, b] = J(!1), y = te(void 0), w = te(void 0), k = te(e), A = te(u), I = te(h), T = te(s);
|
|
41057
41057
|
be(() => {
|
|
41058
|
-
k.current = e,
|
|
41058
|
+
k.current = e, A.current = u, I.current = h, T.current = s;
|
|
41059
41059
|
});
|
|
41060
41060
|
const O = z((L, E) => {
|
|
41061
41061
|
let F = 0;
|
|
@@ -41070,10 +41070,10 @@ const U_ = ({
|
|
|
41070
41070
|
E > 0 ? (o(T.current.slice(0, E - 1)), E--, w.current = window.setTimeout(F, n / 2)) : L?.();
|
|
41071
41071
|
};
|
|
41072
41072
|
F();
|
|
41073
|
-
}, [n]),
|
|
41073
|
+
}, [n]), N = z(() => {
|
|
41074
41074
|
if (k.current.length === 0 || I.current) return;
|
|
41075
41075
|
f(!0);
|
|
41076
|
-
const L = k.current[
|
|
41076
|
+
const L = k.current[A.current];
|
|
41077
41077
|
T.current ? _(() => {
|
|
41078
41078
|
O(L, () => {
|
|
41079
41079
|
y.current = window.setTimeout(() => {
|
|
@@ -41086,11 +41086,11 @@ const U_ = ({
|
|
|
41086
41086
|
}, 2e3);
|
|
41087
41087
|
});
|
|
41088
41088
|
}, [_, O]);
|
|
41089
|
-
return be(() => (r && e.length > 0 && !h &&
|
|
41089
|
+
return be(() => (r && e.length > 0 && !h && N(), () => {
|
|
41090
41090
|
y.current && window.clearTimeout(y.current), w.current && window.clearTimeout(w.current);
|
|
41091
|
-
}), [u, h, r, e.length,
|
|
41092
|
-
!d && r && e.length > 0 && !h &&
|
|
41093
|
-
}, [u, d, r, e.length, h,
|
|
41091
|
+
}), [u, h, r, e.length, N]), be(() => {
|
|
41092
|
+
!d && r && e.length > 0 && !h && N();
|
|
41093
|
+
}, [u, d, r, e.length, h, N]), /* @__PURE__ */ q("div", { style: { position: "relative" }, children: [
|
|
41094
41094
|
/* @__PURE__ */ v(
|
|
41095
41095
|
go,
|
|
41096
41096
|
{
|
|
@@ -41234,9 +41234,9 @@ const z_ = ({
|
|
|
41234
41234
|
...h
|
|
41235
41235
|
// 其他原生属性
|
|
41236
41236
|
}) => {
|
|
41237
|
-
const [m, g] = J(""), [b, y] = J(0), [w, k] = J(!1), [
|
|
41237
|
+
const [m, g] = J(""), [b, y] = J(0), [w, k] = J(!1), [A, I] = J(!1), [T, O] = J(!1), [_, N] = J(l || ""), P = te(void 0), D = te(void 0), B = te(e), V = te(b), L = te(A), E = te(m), F = te(null);
|
|
41238
41238
|
be(() => {
|
|
41239
|
-
B.current = e, V.current = b, L.current =
|
|
41239
|
+
B.current = e, V.current = b, L.current = A, E.current = m;
|
|
41240
41240
|
});
|
|
41241
41241
|
const Y = z((de, ke) => {
|
|
41242
41242
|
let De = 0;
|
|
@@ -41267,21 +41267,21 @@ const z_ = ({
|
|
|
41267
41267
|
}, 2e3);
|
|
41268
41268
|
});
|
|
41269
41269
|
}, [W, Y]);
|
|
41270
|
-
be(() => (r && e.length > 0 && !
|
|
41270
|
+
be(() => (r && e.length > 0 && !A && Q(), () => {
|
|
41271
41271
|
P.current && window.clearTimeout(P.current), D.current && window.clearTimeout(D.current);
|
|
41272
|
-
}), [b,
|
|
41273
|
-
!w && r && e.length > 0 && !
|
|
41274
|
-
}, [b, w, r, e.length,
|
|
41272
|
+
}), [b, A, r, e.length, Q]), be(() => {
|
|
41273
|
+
!w && r && e.length > 0 && !A && Q();
|
|
41274
|
+
}, [b, w, r, e.length, A, Q]);
|
|
41275
41275
|
const C = (de) => {
|
|
41276
41276
|
I(!0), P.current && window.clearTimeout(P.current), D.current && window.clearTimeout(D.current), k(!1), O(!1), h.onFocus?.(de);
|
|
41277
41277
|
}, oe = (de) => {
|
|
41278
41278
|
I(!1), !l && e.length > 0 && (g(""), y(0)), h.onBlur?.(de);
|
|
41279
41279
|
}, re = (de) => {
|
|
41280
41280
|
const ke = de.target.value;
|
|
41281
|
-
s && ke.length > s || (a ? a(ke) :
|
|
41281
|
+
s && ke.length > s || (a ? a(ke) : N(ke), h.onChange?.(de));
|
|
41282
41282
|
}, R = () => {
|
|
41283
41283
|
const de = a ? l : _;
|
|
41284
|
-
de.trim() && !c && (i?.(de), a ||
|
|
41284
|
+
de.trim() && !c && (i?.(de), a || N(""));
|
|
41285
41285
|
}, pe = (de) => {
|
|
41286
41286
|
(de.ctrlKey || de.metaKey) && de.key === "Enter" && (de.preventDefault(), R()), h.onKeyDown?.(de);
|
|
41287
41287
|
}, _e = a ? l : _, Ne = c || !_e.trim() || (s ? _e.length > s : !1);
|
|
@@ -41300,7 +41300,7 @@ const z_ = ({
|
|
|
41300
41300
|
de.target.style.borderColor = "#d9d9d9", de.target.style.boxShadow = "none", oe(de);
|
|
41301
41301
|
},
|
|
41302
41302
|
onKeyDown: pe,
|
|
41303
|
-
placeholder:
|
|
41303
|
+
placeholder: A || _e ? t : "",
|
|
41304
41304
|
maxLength: s,
|
|
41305
41305
|
rows: d,
|
|
41306
41306
|
disabled: c,
|
|
@@ -41324,7 +41324,7 @@ const z_ = ({
|
|
|
41324
41324
|
...h
|
|
41325
41325
|
}
|
|
41326
41326
|
),
|
|
41327
|
-
!
|
|
41327
|
+
!A && !_e && m && /* @__PURE__ */ q(
|
|
41328
41328
|
"div",
|
|
41329
41329
|
{
|
|
41330
41330
|
style: {
|
|
@@ -41524,16 +41524,16 @@ const Lb = ({
|
|
|
41524
41524
|
style: m,
|
|
41525
41525
|
...g
|
|
41526
41526
|
}) => {
|
|
41527
|
-
const b = te(null), [y, w] = J(!1), [k,
|
|
41527
|
+
const b = te(null), [y, w] = J(!1), [k, A] = J(!1), [I, T] = J(!1), O = z(() => {
|
|
41528
41528
|
b.current && (b.current.play(), w(!0), c?.());
|
|
41529
41529
|
}, [c]), _ = z(() => {
|
|
41530
41530
|
b.current && (b.current.pause(), w(!1), d?.());
|
|
41531
|
-
}, [d]),
|
|
41531
|
+
}, [d]), N = z((Y) => {
|
|
41532
41532
|
Y.stopPropagation(), y ? _() : O();
|
|
41533
41533
|
}, [y, O, _]), P = z(() => {
|
|
41534
|
-
|
|
41534
|
+
A(!0), s && !y && O();
|
|
41535
41535
|
}, [s, y, O]), D = z(() => {
|
|
41536
|
-
|
|
41536
|
+
A(!1), s && y && _();
|
|
41537
41537
|
}, [s, y, _]), B = z(() => {
|
|
41538
41538
|
T(!0), u?.();
|
|
41539
41539
|
}, [u]), V = z(() => {
|
|
@@ -41584,7 +41584,7 @@ const Lb = ({
|
|
|
41584
41584
|
"div",
|
|
41585
41585
|
{
|
|
41586
41586
|
className: `video-play-button ${k ? "hovered" : ""}`,
|
|
41587
|
-
onClick:
|
|
41587
|
+
onClick: N,
|
|
41588
41588
|
children: y ? /* @__PURE__ */ v(b0, { className: "play-icon" }) : /* @__PURE__ */ v(g0, { className: "play-icon" })
|
|
41589
41589
|
}
|
|
41590
41590
|
),
|
|
@@ -41718,14 +41718,14 @@ const V_ = (e) => [".mp4", ".webm", ".ogg", ".mov", ".avi", ".wmv", ".flv", ".mk
|
|
|
41718
41718
|
return b < 576 ? l.xs || 1 : b < 768 ? l.sm || 2 : b < 992 ? l.md || 3 : b < 1200 ? l.lg || 4 : b < 1600 ? l.xl || 5 : l.xxl || 6;
|
|
41719
41719
|
}, [r, t, l]), h = z(() => {
|
|
41720
41720
|
if (!o.current) return;
|
|
41721
|
-
const b = u, y = o.current, k = (y.offsetWidth - n * (b - 1)) / b,
|
|
41721
|
+
const b = u, y = o.current, k = (y.offsetWidth - n * (b - 1)) / b, A = new Array(b).fill(0);
|
|
41722
41722
|
e.forEach((T, O) => {
|
|
41723
|
-
const _ = T.id || O,
|
|
41724
|
-
if (!
|
|
41725
|
-
const P = Math.min(...
|
|
41726
|
-
|
|
41723
|
+
const _ = T.id || O, N = d.current.get(_);
|
|
41724
|
+
if (!N) return;
|
|
41725
|
+
const P = Math.min(...A), D = A.indexOf(P), B = D * (k + n), V = A[D];
|
|
41726
|
+
N.style.position = "absolute", N.style.left = `${B}px`, N.style.top = `${V}px`, N.style.width = `${k}px`, A[D] += N.offsetHeight + n;
|
|
41727
41727
|
});
|
|
41728
|
-
const I = Math.max(...
|
|
41728
|
+
const I = Math.max(...A);
|
|
41729
41729
|
y.style.height = `${I}px`;
|
|
41730
41730
|
}, [e, u, n]);
|
|
41731
41731
|
be(() => {
|
|
@@ -41761,8 +41761,8 @@ const V_ = (e) => [".mp4", ".webm", ".ogg", ".mov", ".avi", ".wmv", ".flv", ".mk
|
|
|
41761
41761
|
return /* @__PURE__ */ v(
|
|
41762
41762
|
"div",
|
|
41763
41763
|
{
|
|
41764
|
-
ref: (
|
|
41765
|
-
|
|
41764
|
+
ref: (A) => {
|
|
41765
|
+
A ? d.current.set(w, A) : d.current.delete(w);
|
|
41766
41766
|
},
|
|
41767
41767
|
className: "waterfall-item",
|
|
41768
41768
|
children: k === "video" ? /* @__PURE__ */ v("div", { style: {
|
|
@@ -42019,24 +42019,24 @@ const ga = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
42019
42019
|
r.forEach((y, w) => {
|
|
42020
42020
|
const k = w + o;
|
|
42021
42021
|
if (k >= l.length) return;
|
|
42022
|
-
const
|
|
42023
|
-
let I =
|
|
42024
|
-
I.length < c && (I = K_(
|
|
42022
|
+
const A = l[k];
|
|
42023
|
+
let I = A.split(/[\r\n]+/).map((_) => _.trim()).filter((_) => _ !== "");
|
|
42024
|
+
I.length < c && (I = K_(A));
|
|
42025
42025
|
const T = (_) => I.length === c * 2 ? I[_ * 2] ?? "" : I[_] ?? "", O = {};
|
|
42026
|
-
O[ll("日期")] = y, u.forEach((_,
|
|
42027
|
-
const P = T(
|
|
42026
|
+
O[ll("日期")] = y, u.forEach((_, N) => {
|
|
42027
|
+
const P = T(N), D = G_(P), B = ll(_);
|
|
42028
42028
|
O[B] = D;
|
|
42029
42029
|
}), d.push(O);
|
|
42030
42030
|
});
|
|
42031
42031
|
const f = s.filter((y) => {
|
|
42032
42032
|
const w = ll(y);
|
|
42033
42033
|
return d.some((k) => {
|
|
42034
|
-
const
|
|
42035
|
-
return
|
|
42034
|
+
const A = k[w];
|
|
42035
|
+
return A !== void 0 && String(A).trim() !== "";
|
|
42036
42036
|
});
|
|
42037
42037
|
}), h = `| ${f.join(" | ")} |`, m = `| ${f.map(() => "---").join(" | ")} |`, g = d.map((y) => `| ${f.map((k) => {
|
|
42038
|
-
const
|
|
42039
|
-
return y[
|
|
42038
|
+
const A = ll(k);
|
|
42039
|
+
return y[A] ?? "-";
|
|
42040
42040
|
}).join(" | ")} |`);
|
|
42041
42041
|
return {
|
|
42042
42042
|
markdown: [h, m, ...g].join(`
|