minerva-plexus-csd 1.1.8 → 1.1.9
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/minerva-plexus-csd.es.js +201 -195
- package/dist/minerva-plexus-csd.umd.js +13 -13
- package/package.json +1 -1
|
@@ -93,7 +93,7 @@ function zv() {
|
|
|
93
93
|
function B(A) {
|
|
94
94
|
return A.displayName || "Context";
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function G(A) {
|
|
97
97
|
if (A == null)
|
|
98
98
|
return null;
|
|
99
99
|
if (typeof A.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof A == "function")
|
|
@@ -126,11 +126,11 @@ function zv() {
|
|
|
126
126
|
return O(A, A.render, "ForwardRef");
|
|
127
127
|
case f:
|
|
128
128
|
var oe = A.displayName || null;
|
|
129
|
-
return oe !== null ? oe :
|
|
129
|
+
return oe !== null ? oe : G(A.type) || "Memo";
|
|
130
130
|
case p: {
|
|
131
131
|
var me = A, Ee = me._payload, pe = me._init;
|
|
132
132
|
try {
|
|
133
|
-
return
|
|
133
|
+
return G(pe(Ee));
|
|
134
134
|
} catch {
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
@@ -138,13 +138,13 @@ function zv() {
|
|
|
138
138
|
}
|
|
139
139
|
return null;
|
|
140
140
|
}
|
|
141
|
-
var F = Object.assign,
|
|
141
|
+
var F = Object.assign, q = 0, W, H, J, w, I, U, C;
|
|
142
142
|
function Y() {
|
|
143
143
|
}
|
|
144
144
|
Y.__reactDisabledLog = !0;
|
|
145
145
|
function K() {
|
|
146
146
|
{
|
|
147
|
-
if (
|
|
147
|
+
if (q === 0) {
|
|
148
148
|
W = console.log, H = console.info, J = console.warn, w = console.error, I = console.group, U = console.groupCollapsed, C = console.groupEnd;
|
|
149
149
|
var A = {
|
|
150
150
|
configurable: !0,
|
|
@@ -162,12 +162,12 @@ function zv() {
|
|
|
162
162
|
groupEnd: A
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
|
-
|
|
165
|
+
q++;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
function Z() {
|
|
169
169
|
{
|
|
170
|
-
if (
|
|
170
|
+
if (q--, q === 0) {
|
|
171
171
|
var A = {
|
|
172
172
|
configurable: !0,
|
|
173
173
|
enumerable: !0,
|
|
@@ -197,7 +197,7 @@ function zv() {
|
|
|
197
197
|
})
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
|
|
200
|
+
q < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
var Q = y.ReactCurrentDispatcher, ee;
|
|
@@ -373,7 +373,7 @@ function zv() {
|
|
|
373
373
|
function P(A) {
|
|
374
374
|
return "" + A;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function z(A) {
|
|
377
377
|
if (nn(A))
|
|
378
378
|
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ut(A)), P(A);
|
|
379
379
|
}
|
|
@@ -456,7 +456,7 @@ function zv() {
|
|
|
456
456
|
function dt(A, $, X, oe, me) {
|
|
457
457
|
{
|
|
458
458
|
var Ee, pe = {}, de = null, Be = null;
|
|
459
|
-
X !== void 0 && (
|
|
459
|
+
X !== void 0 && (z(X), de = "" + X), ct($) && (z($.key), de = "" + $.key), Ct($) && (Be = $.ref, Bt($, me));
|
|
460
460
|
for (Ee in $)
|
|
461
461
|
ut.call($, Ee) && !ce.hasOwnProperty(Ee) && (pe[Ee] = $[Ee]);
|
|
462
462
|
if (A && A.defaultProps) {
|
|
@@ -487,7 +487,7 @@ function zv() {
|
|
|
487
487
|
function Fc() {
|
|
488
488
|
{
|
|
489
489
|
if (Or.current) {
|
|
490
|
-
var A =
|
|
490
|
+
var A = G(Or.current.type);
|
|
491
491
|
if (A)
|
|
492
492
|
return `
|
|
493
493
|
|
|
@@ -522,7 +522,7 @@ Check the top-level render call using <` + X + ">.");
|
|
|
522
522
|
return;
|
|
523
523
|
Pc[X] = !0;
|
|
524
524
|
var oe = "";
|
|
525
|
-
A && A._owner && A._owner !== Or.current && (oe = " It was passed a child from " +
|
|
525
|
+
A && A._owner && A._owner !== Or.current && (oe = " It was passed a child from " + G(A._owner.type) + "."), rn(A), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', X, oe), rn(null);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
function Bc(A, $) {
|
|
@@ -559,11 +559,11 @@ Check the top-level render call using <` + X + ">.");
|
|
|
559
559
|
else
|
|
560
560
|
return;
|
|
561
561
|
if (X) {
|
|
562
|
-
var oe =
|
|
562
|
+
var oe = G($);
|
|
563
563
|
_t(X, A.props, "prop", oe, A);
|
|
564
564
|
} else if ($.PropTypes !== void 0 && !Lr) {
|
|
565
565
|
Lr = !0;
|
|
566
|
-
var me =
|
|
566
|
+
var me = G($);
|
|
567
567
|
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", me || "Unknown");
|
|
568
568
|
}
|
|
569
569
|
typeof $.getDefaultProps == "function" && !$.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -591,7 +591,7 @@ Check the top-level render call using <` + X + ">.");
|
|
|
591
591
|
var Be = Av();
|
|
592
592
|
Be ? de += Be : de += Fc();
|
|
593
593
|
var Ae;
|
|
594
|
-
A === null ? Ae = "null" : At(A) ? Ae = "array" : A !== void 0 && A.$$typeof === n ? (Ae = "<" + (
|
|
594
|
+
A === null ? Ae = "null" : At(A) ? Ae = "array" : A !== void 0 && A.$$typeof === n ? (Ae = "<" + (G(A.type) || "Unknown") + " />", de = " Did you accidentally export a JSX literal instead of a component?") : Ae = typeof A, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ae, de);
|
|
595
595
|
}
|
|
596
596
|
var Re = dt(A, $, X, me, Ee);
|
|
597
597
|
if (Re == null)
|
|
@@ -610,7 +610,7 @@ Check the top-level render call using <` + X + ">.");
|
|
|
610
610
|
Bc(et, A);
|
|
611
611
|
}
|
|
612
612
|
if (ut.call($, "key")) {
|
|
613
|
-
var jt =
|
|
613
|
+
var jt = G(A), qe = Object.keys($).filter(function(Fv) {
|
|
614
614
|
return Fv !== "key";
|
|
615
615
|
}), Mr = qe.length > 0 ? "{key: someKey, " + qe.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
616
616
|
if (!$c[jt + Mr]) {
|
|
@@ -4779,9 +4779,9 @@ function pw(e, t, n) {
|
|
|
4779
4779
|
return F === s ? (b.enter("codeFencedFenceSequence"), B(F)) : D(F);
|
|
4780
4780
|
}
|
|
4781
4781
|
function B(F) {
|
|
4782
|
-
return F === s ? (k++, b.consume(F), B) : k >= o ? (b.exit("codeFencedFenceSequence"), fe(F) ? Se(b,
|
|
4782
|
+
return F === s ? (k++, b.consume(F), B) : k >= o ? (b.exit("codeFencedFenceSequence"), fe(F) ? Se(b, G, "whitespace")(F) : G(F)) : D(F);
|
|
4783
4783
|
}
|
|
4784
|
-
function
|
|
4784
|
+
function G(F) {
|
|
4785
4785
|
return F === null || ae(F) ? (b.exit("codeFencedFence"), R(F)) : D(F);
|
|
4786
4786
|
}
|
|
4787
4787
|
}
|
|
@@ -5490,18 +5490,18 @@ function qw(e, t, n) {
|
|
|
5490
5490
|
return C === null || ae(C) ? O(C) : fe(C) ? (e.consume(C), N) : n(C);
|
|
5491
5491
|
}
|
|
5492
5492
|
function O(C) {
|
|
5493
|
-
return C === 45 && a === 2 ? (e.consume(C),
|
|
5493
|
+
return C === 45 && a === 2 ? (e.consume(C), q) : C === 60 && a === 1 ? (e.consume(C), W) : C === 62 && a === 4 ? (e.consume(C), I) : C === 63 && a === 3 ? (e.consume(C), w) : C === 93 && a === 5 ? (e.consume(C), J) : ae(C) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(Bw, U, B)(C)) : C === null || ae(C) ? (e.exit("htmlFlowData"), B(C)) : (e.consume(C), O);
|
|
5494
5494
|
}
|
|
5495
5495
|
function B(C) {
|
|
5496
|
-
return e.check($w,
|
|
5496
|
+
return e.check($w, G, U)(C);
|
|
5497
5497
|
}
|
|
5498
|
-
function
|
|
5498
|
+
function G(C) {
|
|
5499
5499
|
return e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), F;
|
|
5500
5500
|
}
|
|
5501
5501
|
function F(C) {
|
|
5502
5502
|
return C === null || ae(C) ? B(C) : (e.enter("htmlFlowData"), O(C));
|
|
5503
5503
|
}
|
|
5504
|
-
function
|
|
5504
|
+
function q(C) {
|
|
5505
5505
|
return C === 45 ? (e.consume(C), w) : O(C);
|
|
5506
5506
|
}
|
|
5507
5507
|
function W(C) {
|
|
@@ -5570,7 +5570,7 @@ function Vw(e, t, n) {
|
|
|
5570
5570
|
return w === 45 ? (e.consume(w), p) : d(w);
|
|
5571
5571
|
}
|
|
5572
5572
|
function p(w) {
|
|
5573
|
-
return w === 62 ?
|
|
5573
|
+
return w === 62 ? q(w) : w === 45 ? f(w) : d(w);
|
|
5574
5574
|
}
|
|
5575
5575
|
function E(w) {
|
|
5576
5576
|
const I = "CDATA[";
|
|
@@ -5583,16 +5583,16 @@ function Vw(e, t, n) {
|
|
|
5583
5583
|
return w === 93 ? (e.consume(w), T) : S(w);
|
|
5584
5584
|
}
|
|
5585
5585
|
function T(w) {
|
|
5586
|
-
return w === 62 ?
|
|
5586
|
+
return w === 62 ? q(w) : w === 93 ? (e.consume(w), T) : S(w);
|
|
5587
5587
|
}
|
|
5588
5588
|
function y(w) {
|
|
5589
|
-
return w === null || w === 62 ?
|
|
5589
|
+
return w === null || w === 62 ? q(w) : ae(w) ? (o = y, W(w)) : (e.consume(w), y);
|
|
5590
5590
|
}
|
|
5591
5591
|
function m(w) {
|
|
5592
5592
|
return w === null ? n(w) : w === 63 ? (e.consume(w), _) : ae(w) ? (o = m, W(w)) : (e.consume(w), m);
|
|
5593
5593
|
}
|
|
5594
5594
|
function _(w) {
|
|
5595
|
-
return w === 62 ?
|
|
5595
|
+
return w === 62 ? q(w) : m(w);
|
|
5596
5596
|
}
|
|
5597
5597
|
function h(w) {
|
|
5598
5598
|
return mt(w) ? (e.consume(w), b) : n(w);
|
|
@@ -5601,13 +5601,13 @@ function Vw(e, t, n) {
|
|
|
5601
5601
|
return w === 45 || Je(w) ? (e.consume(w), b) : R(w);
|
|
5602
5602
|
}
|
|
5603
5603
|
function R(w) {
|
|
5604
|
-
return ae(w) ? (o = R, W(w)) : fe(w) ? (e.consume(w), R) :
|
|
5604
|
+
return ae(w) ? (o = R, W(w)) : fe(w) ? (e.consume(w), R) : q(w);
|
|
5605
5605
|
}
|
|
5606
5606
|
function D(w) {
|
|
5607
5607
|
return w === 45 || Je(w) ? (e.consume(w), D) : w === 47 || w === 62 || He(w) ? k(w) : n(w);
|
|
5608
5608
|
}
|
|
5609
5609
|
function k(w) {
|
|
5610
|
-
return w === 47 ? (e.consume(w),
|
|
5610
|
+
return w === 47 ? (e.consume(w), q) : w === 58 || w === 95 || mt(w) ? (e.consume(w), L) : ae(w) ? (o = k, W(w)) : fe(w) ? (e.consume(w), k) : q(w);
|
|
5611
5611
|
}
|
|
5612
5612
|
function L(w) {
|
|
5613
5613
|
return w === 45 || w === 46 || w === 58 || w === 95 || Je(w) ? (e.consume(w), L) : N(w);
|
|
@@ -5616,18 +5616,18 @@ function Vw(e, t, n) {
|
|
|
5616
5616
|
return w === 61 ? (e.consume(w), O) : ae(w) ? (o = N, W(w)) : fe(w) ? (e.consume(w), N) : k(w);
|
|
5617
5617
|
}
|
|
5618
5618
|
function O(w) {
|
|
5619
|
-
return w === null || w === 60 || w === 61 || w === 62 || w === 96 ? n(w) : w === 34 || w === 39 ? (e.consume(w), a = w, B) : ae(w) ? (o = O, W(w)) : fe(w) ? (e.consume(w), O) : (e.consume(w),
|
|
5619
|
+
return w === null || w === 60 || w === 61 || w === 62 || w === 96 ? n(w) : w === 34 || w === 39 ? (e.consume(w), a = w, B) : ae(w) ? (o = O, W(w)) : fe(w) ? (e.consume(w), O) : (e.consume(w), G);
|
|
5620
5620
|
}
|
|
5621
5621
|
function B(w) {
|
|
5622
5622
|
return w === a ? (e.consume(w), a = void 0, F) : w === null ? n(w) : ae(w) ? (o = B, W(w)) : (e.consume(w), B);
|
|
5623
5623
|
}
|
|
5624
|
-
function
|
|
5625
|
-
return w === null || w === 34 || w === 39 || w === 60 || w === 61 || w === 96 ? n(w) : w === 47 || w === 62 || He(w) ? k(w) : (e.consume(w),
|
|
5624
|
+
function G(w) {
|
|
5625
|
+
return w === null || w === 34 || w === 39 || w === 60 || w === 61 || w === 96 ? n(w) : w === 47 || w === 62 || He(w) ? k(w) : (e.consume(w), G);
|
|
5626
5626
|
}
|
|
5627
5627
|
function F(w) {
|
|
5628
5628
|
return w === 47 || w === 62 || He(w) ? k(w) : n(w);
|
|
5629
5629
|
}
|
|
5630
|
-
function
|
|
5630
|
+
function q(w) {
|
|
5631
5631
|
return w === 62 ? (e.consume(w), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(w);
|
|
5632
5632
|
}
|
|
5633
5633
|
function W(w) {
|
|
@@ -6207,14 +6207,14 @@ function LC(e, t, n) {
|
|
|
6207
6207
|
_bufferIndex: N,
|
|
6208
6208
|
_index: O,
|
|
6209
6209
|
line: B,
|
|
6210
|
-
column:
|
|
6210
|
+
column: G,
|
|
6211
6211
|
offset: F
|
|
6212
6212
|
} = r;
|
|
6213
6213
|
return {
|
|
6214
6214
|
_bufferIndex: N,
|
|
6215
6215
|
_index: O,
|
|
6216
6216
|
line: B,
|
|
6217
|
-
column:
|
|
6217
|
+
column: G,
|
|
6218
6218
|
offset: F
|
|
6219
6219
|
};
|
|
6220
6220
|
}
|
|
@@ -6257,18 +6257,18 @@ function LC(e, t, n) {
|
|
|
6257
6257
|
}
|
|
6258
6258
|
function R(N, O) {
|
|
6259
6259
|
return B;
|
|
6260
|
-
function B(
|
|
6260
|
+
function B(G, F, q) {
|
|
6261
6261
|
let W, H, J, w;
|
|
6262
|
-
return Array.isArray(
|
|
6262
|
+
return Array.isArray(G) ? (
|
|
6263
6263
|
/* c8 ignore next 1 */
|
|
6264
|
-
U(
|
|
6265
|
-
) : "tokenize" in
|
|
6264
|
+
U(G)
|
|
6265
|
+
) : "tokenize" in G ? (
|
|
6266
6266
|
// Looks like a construct.
|
|
6267
6267
|
U([
|
|
6268
6268
|
/** @type {Construct} */
|
|
6269
|
-
|
|
6269
|
+
G
|
|
6270
6270
|
])
|
|
6271
|
-
) : I(
|
|
6271
|
+
) : I(G);
|
|
6272
6272
|
function I(Z) {
|
|
6273
6273
|
return Q;
|
|
6274
6274
|
function Q(ee) {
|
|
@@ -6282,7 +6282,7 @@ function LC(e, t, n) {
|
|
|
6282
6282
|
}
|
|
6283
6283
|
}
|
|
6284
6284
|
function U(Z) {
|
|
6285
|
-
return W = Z, H = 0, Z.length === 0 ?
|
|
6285
|
+
return W = Z, H = 0, Z.length === 0 ? q : C(Z[H]);
|
|
6286
6286
|
}
|
|
6287
6287
|
function C(Z) {
|
|
6288
6288
|
return Q;
|
|
@@ -6302,7 +6302,7 @@ function LC(e, t, n) {
|
|
|
6302
6302
|
return N(J, w), F;
|
|
6303
6303
|
}
|
|
6304
6304
|
function K(Z) {
|
|
6305
|
-
return w.restore(), ++H < W.length ? C(W[H]) :
|
|
6305
|
+
return w.restore(), ++H < W.length ? C(W[H]) : q;
|
|
6306
6306
|
}
|
|
6307
6307
|
}
|
|
6308
6308
|
}
|
|
@@ -6310,13 +6310,13 @@ function LC(e, t, n) {
|
|
|
6310
6310
|
N.resolveAll && !i.includes(N) && i.push(N), N.resolve && yt(u.events, O, u.events.length - O, N.resolve(u.events.slice(O), u)), N.resolveTo && (u.events = N.resolveTo(u.events, u));
|
|
6311
6311
|
}
|
|
6312
6312
|
function k() {
|
|
6313
|
-
const N = E(), O = u.previous, B = u.currentConstruct,
|
|
6313
|
+
const N = E(), O = u.previous, B = u.currentConstruct, G = u.events.length, F = Array.from(s);
|
|
6314
6314
|
return {
|
|
6315
|
-
from:
|
|
6316
|
-
restore:
|
|
6315
|
+
from: G,
|
|
6316
|
+
restore: q
|
|
6317
6317
|
};
|
|
6318
|
-
function
|
|
6319
|
-
r = N, u.previous = O, u.currentConstruct = B, u.events.length =
|
|
6318
|
+
function q() {
|
|
6319
|
+
r = N, u.previous = O, u.currentConstruct = B, u.events.length = G, s = F, L();
|
|
6320
6320
|
}
|
|
6321
6321
|
}
|
|
6322
6322
|
function L() {
|
|
@@ -6534,13 +6534,13 @@ function zC(e) {
|
|
|
6534
6534
|
hardBreakTrailing: l(O),
|
|
6535
6535
|
htmlFlow: l(B),
|
|
6536
6536
|
htmlFlowData: L,
|
|
6537
|
-
htmlText: l(
|
|
6537
|
+
htmlText: l(G),
|
|
6538
6538
|
htmlTextData: L,
|
|
6539
6539
|
image: l(W),
|
|
6540
6540
|
label: J,
|
|
6541
6541
|
labelText: H,
|
|
6542
6542
|
lineEnding: N,
|
|
6543
|
-
link: l(
|
|
6543
|
+
link: l(q),
|
|
6544
6544
|
listItem: l(),
|
|
6545
6545
|
listOrdered: l(),
|
|
6546
6546
|
listUnordered: l(),
|
|
@@ -6560,12 +6560,12 @@ function zC(e) {
|
|
|
6560
6560
|
const n = {};
|
|
6561
6561
|
return r;
|
|
6562
6562
|
function r(P) {
|
|
6563
|
-
let
|
|
6563
|
+
let z = {
|
|
6564
6564
|
type: "root",
|
|
6565
6565
|
children: []
|
|
6566
6566
|
};
|
|
6567
6567
|
const re = {
|
|
6568
|
-
stack: [
|
|
6568
|
+
stack: [z],
|
|
6569
6569
|
tokenStack: [],
|
|
6570
6570
|
config: t,
|
|
6571
6571
|
enter: s,
|
|
@@ -6593,7 +6593,7 @@ function zC(e) {
|
|
|
6593
6593
|
const je = re.tokenStack[re.tokenStack.length - 1];
|
|
6594
6594
|
(je[1] || gd).call(re, void 0, je[0]);
|
|
6595
6595
|
}
|
|
6596
|
-
for (
|
|
6596
|
+
for (z.position = {
|
|
6597
6597
|
start: kt(P.length > 0 ? P[0][1].start : {
|
|
6598
6598
|
line: 1,
|
|
6599
6599
|
column: 1,
|
|
@@ -6605,11 +6605,11 @@ function zC(e) {
|
|
|
6605
6605
|
offset: 0
|
|
6606
6606
|
})
|
|
6607
6607
|
}, ge = -1; ++ge < t.transforms.length; )
|
|
6608
|
-
|
|
6609
|
-
return
|
|
6608
|
+
z = t.transforms[ge](z) || z;
|
|
6609
|
+
return z;
|
|
6610
6610
|
}
|
|
6611
|
-
function a(P,
|
|
6612
|
-
let ce =
|
|
6611
|
+
function a(P, z, re) {
|
|
6612
|
+
let ce = z - 1, ge = -1, je = !1, Ct, ct, Bt, $t;
|
|
6613
6613
|
for (; ++ce <= re; ) {
|
|
6614
6614
|
const Ue = P[ce];
|
|
6615
6615
|
switch (Ue[1].type) {
|
|
@@ -6656,12 +6656,12 @@ function zC(e) {
|
|
|
6656
6656
|
}
|
|
6657
6657
|
}
|
|
6658
6658
|
}
|
|
6659
|
-
return P[
|
|
6659
|
+
return P[z][1]._spread = je, re;
|
|
6660
6660
|
}
|
|
6661
|
-
function i(P,
|
|
6661
|
+
function i(P, z) {
|
|
6662
6662
|
return re;
|
|
6663
6663
|
function re(ce) {
|
|
6664
|
-
s.call(this, P(ce), ce),
|
|
6664
|
+
s.call(this, P(ce), ce), z && z.call(this, ce);
|
|
6665
6665
|
}
|
|
6666
6666
|
}
|
|
6667
6667
|
function o() {
|
|
@@ -6670,23 +6670,23 @@ function zC(e) {
|
|
|
6670
6670
|
children: []
|
|
6671
6671
|
});
|
|
6672
6672
|
}
|
|
6673
|
-
function s(P,
|
|
6674
|
-
this.stack[this.stack.length - 1].children.push(P), this.stack.push(P), this.tokenStack.push([
|
|
6675
|
-
start: kt(
|
|
6673
|
+
function s(P, z, re) {
|
|
6674
|
+
this.stack[this.stack.length - 1].children.push(P), this.stack.push(P), this.tokenStack.push([z, re || void 0]), P.position = {
|
|
6675
|
+
start: kt(z.start),
|
|
6676
6676
|
// @ts-expect-error: `end` will be patched later.
|
|
6677
6677
|
end: void 0
|
|
6678
6678
|
};
|
|
6679
6679
|
}
|
|
6680
6680
|
function l(P) {
|
|
6681
|
-
return
|
|
6682
|
-
function
|
|
6681
|
+
return z;
|
|
6682
|
+
function z(re) {
|
|
6683
6683
|
P && P.call(this, re), u.call(this, re);
|
|
6684
6684
|
}
|
|
6685
6685
|
}
|
|
6686
|
-
function u(P,
|
|
6686
|
+
function u(P, z) {
|
|
6687
6687
|
const re = this.stack.pop(), ce = this.tokenStack.pop();
|
|
6688
6688
|
if (ce)
|
|
6689
|
-
ce[0].type !== P.type && (
|
|
6689
|
+
ce[0].type !== P.type && (z ? z.call(this, P, ce[0]) : (ce[1] || gd).call(this, P, ce[0]));
|
|
6690
6690
|
else throw new Error("Cannot close `" + P.type + "` (" + On({
|
|
6691
6691
|
start: P.start,
|
|
6692
6692
|
end: P.end
|
|
@@ -6701,54 +6701,54 @@ function zC(e) {
|
|
|
6701
6701
|
}
|
|
6702
6702
|
function f(P) {
|
|
6703
6703
|
if (this.data.expectingFirstListItemValue) {
|
|
6704
|
-
const
|
|
6705
|
-
|
|
6704
|
+
const z = this.stack[this.stack.length - 2];
|
|
6705
|
+
z.start = Number.parseInt(this.sliceSerialize(P), 10), this.data.expectingFirstListItemValue = void 0;
|
|
6706
6706
|
}
|
|
6707
6707
|
}
|
|
6708
6708
|
function p() {
|
|
6709
|
-
const P = this.resume(),
|
|
6710
|
-
|
|
6709
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6710
|
+
z.lang = P;
|
|
6711
6711
|
}
|
|
6712
6712
|
function E() {
|
|
6713
|
-
const P = this.resume(),
|
|
6714
|
-
|
|
6713
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6714
|
+
z.meta = P;
|
|
6715
6715
|
}
|
|
6716
6716
|
function S() {
|
|
6717
6717
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
6718
6718
|
}
|
|
6719
6719
|
function x() {
|
|
6720
|
-
const P = this.resume(),
|
|
6721
|
-
|
|
6720
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6721
|
+
z.value = P.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
6722
6722
|
}
|
|
6723
6723
|
function T() {
|
|
6724
|
-
const P = this.resume(),
|
|
6725
|
-
|
|
6724
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6725
|
+
z.value = P.replace(/(\r?\n|\r)$/g, "");
|
|
6726
6726
|
}
|
|
6727
6727
|
function y(P) {
|
|
6728
|
-
const
|
|
6729
|
-
re.label =
|
|
6728
|
+
const z = this.resume(), re = this.stack[this.stack.length - 1];
|
|
6729
|
+
re.label = z, re.identifier = fn(this.sliceSerialize(P)).toLowerCase();
|
|
6730
6730
|
}
|
|
6731
6731
|
function m() {
|
|
6732
|
-
const P = this.resume(),
|
|
6733
|
-
|
|
6732
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6733
|
+
z.title = P;
|
|
6734
6734
|
}
|
|
6735
6735
|
function _() {
|
|
6736
|
-
const P = this.resume(),
|
|
6737
|
-
|
|
6736
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6737
|
+
z.url = P;
|
|
6738
6738
|
}
|
|
6739
6739
|
function h(P) {
|
|
6740
|
-
const
|
|
6741
|
-
if (!
|
|
6740
|
+
const z = this.stack[this.stack.length - 1];
|
|
6741
|
+
if (!z.depth) {
|
|
6742
6742
|
const re = this.sliceSerialize(P).length;
|
|
6743
|
-
|
|
6743
|
+
z.depth = re;
|
|
6744
6744
|
}
|
|
6745
6745
|
}
|
|
6746
6746
|
function b() {
|
|
6747
6747
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
6748
6748
|
}
|
|
6749
6749
|
function R(P) {
|
|
6750
|
-
const
|
|
6751
|
-
|
|
6750
|
+
const z = this.stack[this.stack.length - 1];
|
|
6751
|
+
z.depth = this.sliceSerialize(P).codePointAt(0) === 61 ? 1 : 2;
|
|
6752
6752
|
}
|
|
6753
6753
|
function D() {
|
|
6754
6754
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
@@ -6763,38 +6763,38 @@ function zC(e) {
|
|
|
6763
6763
|
}, re.push(ce)), this.stack.push(ce);
|
|
6764
6764
|
}
|
|
6765
6765
|
function L(P) {
|
|
6766
|
-
const
|
|
6767
|
-
|
|
6766
|
+
const z = this.stack.pop();
|
|
6767
|
+
z.value += this.sliceSerialize(P), z.position.end = kt(P.end);
|
|
6768
6768
|
}
|
|
6769
6769
|
function N(P) {
|
|
6770
|
-
const
|
|
6770
|
+
const z = this.stack[this.stack.length - 1];
|
|
6771
6771
|
if (this.data.atHardBreak) {
|
|
6772
|
-
const re =
|
|
6772
|
+
const re = z.children[z.children.length - 1];
|
|
6773
6773
|
re.position.end = kt(P.end), this.data.atHardBreak = void 0;
|
|
6774
6774
|
return;
|
|
6775
6775
|
}
|
|
6776
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(
|
|
6776
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(z.type) && (k.call(this, P), L.call(this, P));
|
|
6777
6777
|
}
|
|
6778
6778
|
function O() {
|
|
6779
6779
|
this.data.atHardBreak = !0;
|
|
6780
6780
|
}
|
|
6781
6781
|
function B() {
|
|
6782
|
-
const P = this.resume(),
|
|
6783
|
-
|
|
6782
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6783
|
+
z.value = P;
|
|
6784
6784
|
}
|
|
6785
|
-
function
|
|
6786
|
-
const P = this.resume(),
|
|
6787
|
-
|
|
6785
|
+
function G() {
|
|
6786
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6787
|
+
z.value = P;
|
|
6788
6788
|
}
|
|
6789
6789
|
function F() {
|
|
6790
|
-
const P = this.resume(),
|
|
6791
|
-
|
|
6790
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6791
|
+
z.value = P;
|
|
6792
6792
|
}
|
|
6793
|
-
function
|
|
6793
|
+
function q() {
|
|
6794
6794
|
const P = this.stack[this.stack.length - 1];
|
|
6795
6795
|
if (this.data.inReference) {
|
|
6796
|
-
const
|
|
6797
|
-
P.type += "Reference", P.referenceType =
|
|
6796
|
+
const z = this.data.referenceType || "shortcut";
|
|
6797
|
+
P.type += "Reference", P.referenceType = z, delete P.url, delete P.title;
|
|
6798
6798
|
} else
|
|
6799
6799
|
delete P.identifier, delete P.label;
|
|
6800
6800
|
this.data.referenceType = void 0;
|
|
@@ -6802,31 +6802,31 @@ function zC(e) {
|
|
|
6802
6802
|
function W() {
|
|
6803
6803
|
const P = this.stack[this.stack.length - 1];
|
|
6804
6804
|
if (this.data.inReference) {
|
|
6805
|
-
const
|
|
6806
|
-
P.type += "Reference", P.referenceType =
|
|
6805
|
+
const z = this.data.referenceType || "shortcut";
|
|
6806
|
+
P.type += "Reference", P.referenceType = z, delete P.url, delete P.title;
|
|
6807
6807
|
} else
|
|
6808
6808
|
delete P.identifier, delete P.label;
|
|
6809
6809
|
this.data.referenceType = void 0;
|
|
6810
6810
|
}
|
|
6811
6811
|
function H(P) {
|
|
6812
|
-
const
|
|
6813
|
-
re.label = $C(
|
|
6812
|
+
const z = this.sliceSerialize(P), re = this.stack[this.stack.length - 2];
|
|
6813
|
+
re.label = $C(z), re.identifier = fn(z).toLowerCase();
|
|
6814
6814
|
}
|
|
6815
6815
|
function J() {
|
|
6816
|
-
const P = this.stack[this.stack.length - 1],
|
|
6816
|
+
const P = this.stack[this.stack.length - 1], z = this.resume(), re = this.stack[this.stack.length - 1];
|
|
6817
6817
|
if (this.data.inReference = !0, re.type === "link") {
|
|
6818
6818
|
const ce = P.children;
|
|
6819
6819
|
re.children = ce;
|
|
6820
6820
|
} else
|
|
6821
|
-
re.alt =
|
|
6821
|
+
re.alt = z;
|
|
6822
6822
|
}
|
|
6823
6823
|
function w() {
|
|
6824
|
-
const P = this.resume(),
|
|
6825
|
-
|
|
6824
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6825
|
+
z.url = P;
|
|
6826
6826
|
}
|
|
6827
6827
|
function I() {
|
|
6828
|
-
const P = this.resume(),
|
|
6829
|
-
|
|
6828
|
+
const P = this.resume(), z = this.stack[this.stack.length - 1];
|
|
6829
|
+
z.title = P;
|
|
6830
6830
|
}
|
|
6831
6831
|
function U() {
|
|
6832
6832
|
this.data.inReference = void 0;
|
|
@@ -6835,32 +6835,32 @@ function zC(e) {
|
|
|
6835
6835
|
this.data.referenceType = "collapsed";
|
|
6836
6836
|
}
|
|
6837
6837
|
function Y(P) {
|
|
6838
|
-
const
|
|
6839
|
-
re.label =
|
|
6838
|
+
const z = this.resume(), re = this.stack[this.stack.length - 1];
|
|
6839
|
+
re.label = z, re.identifier = fn(this.sliceSerialize(P)).toLowerCase(), this.data.referenceType = "full";
|
|
6840
6840
|
}
|
|
6841
6841
|
function K(P) {
|
|
6842
6842
|
this.data.characterReferenceType = P.type;
|
|
6843
6843
|
}
|
|
6844
6844
|
function Z(P) {
|
|
6845
|
-
const
|
|
6845
|
+
const z = this.sliceSerialize(P), re = this.data.characterReferenceType;
|
|
6846
6846
|
let ce;
|
|
6847
|
-
re ? (ce = Ey(
|
|
6847
|
+
re ? (ce = Ey(z, re === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : ce = Hu(z);
|
|
6848
6848
|
const ge = this.stack[this.stack.length - 1];
|
|
6849
6849
|
ge.value += ce;
|
|
6850
6850
|
}
|
|
6851
6851
|
function Q(P) {
|
|
6852
|
-
const
|
|
6853
|
-
|
|
6852
|
+
const z = this.stack.pop();
|
|
6853
|
+
z.position.end = kt(P.end);
|
|
6854
6854
|
}
|
|
6855
6855
|
function ee(P) {
|
|
6856
6856
|
L.call(this, P);
|
|
6857
|
-
const
|
|
6858
|
-
|
|
6857
|
+
const z = this.stack[this.stack.length - 1];
|
|
6858
|
+
z.url = this.sliceSerialize(P);
|
|
6859
6859
|
}
|
|
6860
6860
|
function te(P) {
|
|
6861
6861
|
L.call(this, P);
|
|
6862
|
-
const
|
|
6863
|
-
|
|
6862
|
+
const z = this.stack[this.stack.length - 1];
|
|
6863
|
+
z.url = "mailto:" + this.sliceSerialize(P);
|
|
6864
6864
|
}
|
|
6865
6865
|
function ie() {
|
|
6866
6866
|
return {
|
|
@@ -9566,17 +9566,17 @@ function $x(e, t, n, r, a, i, o, s, l) {
|
|
|
9566
9566
|
`)
|
|
9567
9567
|
};
|
|
9568
9568
|
if (N === 0) {
|
|
9569
|
-
var
|
|
9569
|
+
var G = c.slice(f + 1, p).concat(dr({
|
|
9570
9570
|
children: [B],
|
|
9571
9571
|
className: b.properties.className
|
|
9572
|
-
})), F = x(
|
|
9572
|
+
})), F = x(G, O);
|
|
9573
9573
|
d.push(F);
|
|
9574
9574
|
} else if (N === k.length - 1) {
|
|
9575
|
-
var
|
|
9575
|
+
var q = c[p + 1] && c[p + 1].children && c[p + 1].children[0], W = {
|
|
9576
9576
|
type: "text",
|
|
9577
9577
|
value: "".concat(L)
|
|
9578
9578
|
};
|
|
9579
|
-
if (
|
|
9579
|
+
if (q) {
|
|
9580
9580
|
var H = dr({
|
|
9581
9581
|
children: [W],
|
|
9582
9582
|
className: b.properties.className
|
|
@@ -9644,7 +9644,7 @@ function zx(e, t) {
|
|
|
9644
9644
|
var a = r.language, i = r.children, o = r.style, s = o === void 0 ? t : o, l = r.customStyle, u = l === void 0 ? {} : l, c = r.codeTagProps, d = c === void 0 ? {
|
|
9645
9645
|
className: a ? "language-".concat(a) : void 0,
|
|
9646
9646
|
style: It(It({}, s['code[class*="language-"]']), s['code[class*="language-'.concat(a, '"]')])
|
|
9647
|
-
} : c, f = r.useInlineStyles, p = f === void 0 ? !0 : f, E = r.showLineNumbers, S = E === void 0 ? !1 : E, x = r.showInlineLineNumbers, T = x === void 0 ? !0 : x, y = r.startingLineNumber, m = y === void 0 ? 1 : y, _ = r.lineNumberContainerStyle, h = r.lineNumberStyle, b = h === void 0 ? {} : h, R = r.wrapLines, D = r.wrapLongLines, k = D === void 0 ? !1 : D, L = r.lineProps, N = L === void 0 ? {} : L, O = r.renderer, B = r.PreTag,
|
|
9647
|
+
} : c, f = r.useInlineStyles, p = f === void 0 ? !0 : f, E = r.showLineNumbers, S = E === void 0 ? !1 : E, x = r.showInlineLineNumbers, T = x === void 0 ? !0 : x, y = r.startingLineNumber, m = y === void 0 ? 1 : y, _ = r.lineNumberContainerStyle, h = r.lineNumberStyle, b = h === void 0 ? {} : h, R = r.wrapLines, D = r.wrapLongLines, k = D === void 0 ? !1 : D, L = r.lineProps, N = L === void 0 ? {} : L, O = r.renderer, B = r.PreTag, G = B === void 0 ? "pre" : B, F = r.CodeTag, q = F === void 0 ? "code" : F, W = r.code, H = W === void 0 ? (Array.isArray(i) ? i[0] : i) || "" : W, J = r.astGenerator, w = wx(r, Dx);
|
|
9648
9648
|
J = J || e;
|
|
9649
9649
|
var I = S ? /* @__PURE__ */ Te.createElement(Ux, {
|
|
9650
9650
|
containerStyle: _,
|
|
@@ -9665,7 +9665,7 @@ function zx(e, t) {
|
|
|
9665
9665
|
}, d.style) : d.style = It({
|
|
9666
9666
|
whiteSpace: "pre"
|
|
9667
9667
|
}, d.style), !J)
|
|
9668
|
-
return /* @__PURE__ */ Te.createElement(
|
|
9668
|
+
return /* @__PURE__ */ Te.createElement(G, Y, I, /* @__PURE__ */ Te.createElement(q, d, H));
|
|
9669
9669
|
(R === void 0 && O || k) && (R = !0), O = O || jx;
|
|
9670
9670
|
var K = [{
|
|
9671
9671
|
type: "text",
|
|
@@ -9681,7 +9681,7 @@ function zx(e, t) {
|
|
|
9681
9681
|
Q === 1 && Z.value[0].type === "text" && (Q = Z.value[0].value.split(`
|
|
9682
9682
|
`).length);
|
|
9683
9683
|
var ee = Q + m, te = $x(Z, R, N, S, T, m, ee, b, k);
|
|
9684
|
-
return /* @__PURE__ */ Te.createElement(
|
|
9684
|
+
return /* @__PURE__ */ Te.createElement(G, Y, /* @__PURE__ */ Te.createElement(q, d, !T && I, O({
|
|
9685
9685
|
rows: te,
|
|
9686
9686
|
stylesheet: s,
|
|
9687
9687
|
useInlineStyles: p
|
|
@@ -10540,16 +10540,16 @@ function PR(e, t) {
|
|
|
10540
10540
|
return (n.position.indent || n.position.start) && (n.indent = n.position.indent || [], n.position = n.position.start), UR(e, n);
|
|
10541
10541
|
}
|
|
10542
10542
|
function UR(e, t) {
|
|
10543
|
-
var n = t.additional, r = t.nonTerminated, a = t.text, i = t.reference, o = t.warning, s = t.textContext, l = t.referenceContext, u = t.warningContext, c = t.position, d = t.indent || [], f = e.length, p = 0, E = -1, S = c.column || 1, x = c.line || 1, T = "", y = [], m, _, h, b, R, D, k, L, N, O, B,
|
|
10543
|
+
var n = t.additional, r = t.nonTerminated, a = t.text, i = t.reference, o = t.warning, s = t.textContext, l = t.referenceContext, u = t.warningContext, c = t.position, d = t.indent || [], f = e.length, p = 0, E = -1, S = c.column || 1, x = c.line || 1, T = "", y = [], m, _, h, b, R, D, k, L, N, O, B, G, F, q, W, H, J, w, I;
|
|
10544
10544
|
for (typeof n == "string" && (n = n.charCodeAt(0)), H = U(), L = o ? C : _R, p--, f++; ++p < f; )
|
|
10545
10545
|
if (R === ep && (S = d[E] || 1), R = e.charCodeAt(p), R === tp) {
|
|
10546
10546
|
if (k = e.charCodeAt(p + 1), k === AR || k === ep || k === RR || k === kR || k === tp || k === NR || k !== k || n && k === n) {
|
|
10547
10547
|
T += sn(R), S++;
|
|
10548
10548
|
continue;
|
|
10549
10549
|
}
|
|
10550
|
-
for (F = p + 1,
|
|
10551
|
-
b += sn(k),
|
|
10552
|
-
h = e.charCodeAt(I) === IR, h && (I++, _ =
|
|
10550
|
+
for (F = p + 1, G = F, I = F, k === LR ? (I = ++G, k = e.charCodeAt(I), k === DR || k === MR ? (q = oc, I = ++G) : q = sc) : q = un, m = "", B = "", b = "", W = Tr[q], I--; ++I < f && (k = e.charCodeAt(I), !!W(k)); )
|
|
10551
|
+
b += sn(k), q === un && xR.call(Xd, b) && (m = b, B = Xd[b]);
|
|
10552
|
+
h = e.charCodeAt(I) === IR, h && (I++, _ = q === un ? CR(b) : !1, _ && (m = b, B = _)), w = 1 + I - F, !h && !r || (b ? q === un ? (h && !B ? L(dE, 1) : (m !== b && (I = G + m.length, w = 1 + I - G, h = !1), h || (N = m ? sE : uE, t.attribute ? (k = e.charCodeAt(I), k === OR ? (L(N, w), B = null) : oE(k) ? B = null : L(N, w)) : L(N, w))), D = B) : (h || L(lE, w), D = parseInt(b, lc[q]), BR(D) ? (L(pE, w), D = sn(FR)) : D in Jd ? (L(Au, w), D = Jd[D]) : (O = "", $R(D) && L(Au, w), D > 65535 && (D -= 65536, O += sn(D >>> 10 | 55296), D = 56320 | D & 1023), D = O + sn(D))) : q !== un && L(cE, w)), D ? (Y(), H = U(), p = I - 1, S += I - F + 1, y.push(D), J = U(), J.offset++, i && i.call(
|
|
10553
10553
|
l,
|
|
10554
10554
|
D,
|
|
10555
10555
|
{ start: H, end: J },
|
|
@@ -11203,10 +11203,10 @@ var fE = { exports: {} };
|
|
|
11203
11203
|
for (var L = 0; L < k.length; ++L) {
|
|
11204
11204
|
if (R && R.cause == D + "," + L)
|
|
11205
11205
|
return;
|
|
11206
|
-
var N = k[L], O = N.inside, B = !!N.lookbehind,
|
|
11207
|
-
if (
|
|
11208
|
-
var
|
|
11209
|
-
N.pattern = RegExp(N.pattern.source,
|
|
11206
|
+
var N = k[L], O = N.inside, B = !!N.lookbehind, G = !!N.greedy, F = N.alias;
|
|
11207
|
+
if (G && !N.pattern.global) {
|
|
11208
|
+
var q = N.pattern.toString().match(/[imsuy]*$/)[0];
|
|
11209
|
+
N.pattern = RegExp(N.pattern.source, q + "g");
|
|
11210
11210
|
}
|
|
11211
11211
|
for (var W = N.pattern || N, H = h.next, J = b; H !== m.tail && !(R && J >= R.reach); J += H.value.length, H = H.next) {
|
|
11212
11212
|
var w = H.value;
|
|
@@ -11214,7 +11214,7 @@ var fE = { exports: {} };
|
|
|
11214
11214
|
return;
|
|
11215
11215
|
if (!(w instanceof l)) {
|
|
11216
11216
|
var I = 1, U;
|
|
11217
|
-
if (
|
|
11217
|
+
if (G) {
|
|
11218
11218
|
if (U = u(W, J, y, B), !U || U.index >= y.length)
|
|
11219
11219
|
break;
|
|
11220
11220
|
var Z = U.index, C = U.index + U[0].length, Y = J;
|
|
@@ -13365,7 +13365,7 @@ function xr() {
|
|
|
13365
13365
|
N
|
|
13366
13366
|
]),
|
|
13367
13367
|
2
|
|
13368
|
-
), B = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,
|
|
13368
|
+
), B = /\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source, G = r(/<<0>>(?:\s*\(<<1>>*\))?/.source, [
|
|
13369
13369
|
x,
|
|
13370
13370
|
O
|
|
13371
13371
|
]);
|
|
@@ -13375,7 +13375,7 @@ function xr() {
|
|
|
13375
13375
|
// [Foo], [Foo(1), Bar(2, Prop = "foo")], [return: Foo(1), Bar(2)], [assembly: Foo(Bar)]
|
|
13376
13376
|
pattern: a(
|
|
13377
13377
|
/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,
|
|
13378
|
-
[B,
|
|
13378
|
+
[B, G]
|
|
13379
13379
|
),
|
|
13380
13380
|
lookbehind: !0,
|
|
13381
13381
|
greedy: !0,
|
|
@@ -13398,13 +13398,13 @@ function xr() {
|
|
|
13398
13398
|
}
|
|
13399
13399
|
}
|
|
13400
13400
|
});
|
|
13401
|
-
var F = /:[^}\r\n]+/.source,
|
|
13401
|
+
var F = /:[^}\r\n]+/.source, q = i(
|
|
13402
13402
|
r(/[^"'/()]|<<0>>|\(<<self>>*\)/.source, [
|
|
13403
13403
|
N
|
|
13404
13404
|
]),
|
|
13405
13405
|
2
|
|
13406
13406
|
), W = r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
|
|
13407
|
-
|
|
13407
|
+
q,
|
|
13408
13408
|
F
|
|
13409
13409
|
]), H = i(
|
|
13410
13410
|
r(
|
|
@@ -13452,7 +13452,7 @@ function xr() {
|
|
|
13452
13452
|
),
|
|
13453
13453
|
lookbehind: !0,
|
|
13454
13454
|
greedy: !0,
|
|
13455
|
-
inside: w(W,
|
|
13455
|
+
inside: w(W, q)
|
|
13456
13456
|
},
|
|
13457
13457
|
{
|
|
13458
13458
|
pattern: a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [
|
|
@@ -20612,13 +20612,13 @@ function gN() {
|
|
|
20612
20612
|
var O = R[m], B = typeof N == "string" ? N : (
|
|
20613
20613
|
/** @type {string} */
|
|
20614
20614
|
N.content
|
|
20615
|
-
),
|
|
20616
|
-
if (
|
|
20615
|
+
), G = B.indexOf(O);
|
|
20616
|
+
if (G !== -1) {
|
|
20617
20617
|
++m;
|
|
20618
|
-
var F = B.substring(0,
|
|
20618
|
+
var F = B.substring(0, G), q = d(
|
|
20619
20619
|
_[O]
|
|
20620
|
-
), W = B.substring(
|
|
20621
|
-
if (F && H.push(F), H.push(
|
|
20620
|
+
), W = B.substring(G + O.length), H = [];
|
|
20621
|
+
if (F && H.push(F), H.push(q), W) {
|
|
20622
20622
|
var J = [W];
|
|
20623
20623
|
D(J), H.push.apply(H, J);
|
|
20624
20624
|
}
|
|
@@ -32700,7 +32700,7 @@ function FL() {
|
|
|
32700
32700
|
}
|
|
32701
32701
|
}
|
|
32702
32702
|
}
|
|
32703
|
-
var b = u, R = c, D = l, k = s, L = n, N = d, O = a, B = S,
|
|
32703
|
+
var b = u, R = c, D = l, k = s, L = n, N = d, O = a, B = S, G = E, F = r, q = o, W = i, H = f, J = !1;
|
|
32704
32704
|
function w(V) {
|
|
32705
32705
|
return J || (J = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), I(V) || h(V) === u;
|
|
32706
32706
|
}
|
|
@@ -32740,7 +32740,7 @@ function FL() {
|
|
|
32740
32740
|
function _e(V) {
|
|
32741
32741
|
return h(V) === f;
|
|
32742
32742
|
}
|
|
32743
|
-
be.AsyncMode = b, be.ConcurrentMode = R, be.ContextConsumer = D, be.ContextProvider = k, be.Element = L, be.ForwardRef = N, be.Fragment = O, be.Lazy = B, be.Memo =
|
|
32743
|
+
be.AsyncMode = b, be.ConcurrentMode = R, be.ContextConsumer = D, be.ContextProvider = k, be.Element = L, be.ForwardRef = N, be.Fragment = O, be.Lazy = B, be.Memo = G, be.Portal = F, be.Profiler = q, be.StrictMode = W, be.Suspense = H, be.isAsyncMode = w, be.isConcurrentMode = I, be.isContextConsumer = U, be.isContextProvider = C, be.isElement = Y, be.isForwardRef = K, be.isFragment = Z, be.isLazy = Q, be.isMemo = ee, be.isPortal = te, be.isProfiler = ie, be.isStrictMode = ne, be.isSuspense = _e, be.isValidElementType = _, be.typeOf = h;
|
|
32744
32744
|
}(), be;
|
|
32745
32745
|
}
|
|
32746
32746
|
var cb;
|
|
@@ -32904,7 +32904,7 @@ function BL() {
|
|
|
32904
32904
|
oneOf: D,
|
|
32905
32905
|
oneOfType: L,
|
|
32906
32906
|
shape: B,
|
|
32907
|
-
exact:
|
|
32907
|
+
exact: G
|
|
32908
32908
|
};
|
|
32909
32909
|
function S(I, U) {
|
|
32910
32910
|
return I === U ? I !== 0 || 1 / I === 1 / U : I !== I && U !== U;
|
|
@@ -33087,7 +33087,7 @@ function BL() {
|
|
|
33087
33087
|
}
|
|
33088
33088
|
return T(U);
|
|
33089
33089
|
}
|
|
33090
|
-
function
|
|
33090
|
+
function G(I) {
|
|
33091
33091
|
function U(C, Y, K, Z, Q) {
|
|
33092
33092
|
var ee = C[Y], te = W(ee);
|
|
33093
33093
|
if (te !== "object")
|
|
@@ -33143,12 +33143,12 @@ Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
|
|
|
33143
33143
|
return !1;
|
|
33144
33144
|
}
|
|
33145
33145
|
}
|
|
33146
|
-
function
|
|
33146
|
+
function q(I, U) {
|
|
33147
33147
|
return I === "symbol" ? !0 : U ? U["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && U instanceof Symbol : !1;
|
|
33148
33148
|
}
|
|
33149
33149
|
function W(I) {
|
|
33150
33150
|
var U = typeof I;
|
|
33151
|
-
return Array.isArray(I) ? "array" : I instanceof RegExp ? "object" :
|
|
33151
|
+
return Array.isArray(I) ? "array" : I instanceof RegExp ? "object" : q(U, I) ? "symbol" : U;
|
|
33152
33152
|
}
|
|
33153
33153
|
function H(I) {
|
|
33154
33154
|
if (typeof I > "u" || I === null)
|
|
@@ -34376,8 +34376,8 @@ function jn(e, t) {
|
|
|
34376
34376
|
if (f === Rn && N) {
|
|
34377
34377
|
var O = N[a];
|
|
34378
34378
|
Object.keys(L).forEach(function(B) {
|
|
34379
|
-
var
|
|
34380
|
-
L[B] += O[F] *
|
|
34379
|
+
var G = [ot, it].indexOf(B) >= 0 ? 1 : -1, F = [Ve, it].indexOf(B) >= 0 ? "y" : "x";
|
|
34380
|
+
L[B] += O[F] * G;
|
|
34381
34381
|
});
|
|
34382
34382
|
}
|
|
34383
34383
|
return L;
|
|
@@ -34421,16 +34421,16 @@ function Y3(e) {
|
|
|
34421
34421
|
allowedAutoPlacements: S
|
|
34422
34422
|
}) : K);
|
|
34423
34423
|
}, []), h = t.rects.reference, b = t.rects.popper, R = /* @__PURE__ */ new Map(), D = !0, k = _[0], L = 0; L < _.length; L++) {
|
|
34424
|
-
var N = _[L], O = ht(N), B = yn(N) === mn,
|
|
34424
|
+
var N = _[L], O = ht(N), B = yn(N) === mn, G = [Ve, it].indexOf(O) >= 0, F = G ? "width" : "height", q = jn(t, {
|
|
34425
34425
|
placement: N,
|
|
34426
34426
|
boundary: c,
|
|
34427
34427
|
rootBoundary: d,
|
|
34428
34428
|
altBoundary: f,
|
|
34429
34429
|
padding: u
|
|
34430
|
-
}), W =
|
|
34430
|
+
}), W = G ? B ? ot : We : B ? it : Ve;
|
|
34431
34431
|
h[F] > b[F] && (W = pr(W));
|
|
34432
34432
|
var H = pr(W), J = [];
|
|
34433
|
-
if (i && J.push(
|
|
34433
|
+
if (i && J.push(q[O] <= 0), s && J.push(q[W] <= 0, q[H] <= 0), J.every(function(Y) {
|
|
34434
34434
|
return Y;
|
|
34435
34435
|
})) {
|
|
34436
34436
|
k = N, D = !1;
|
|
@@ -34568,14 +34568,14 @@ function a6(e) {
|
|
|
34568
34568
|
};
|
|
34569
34569
|
if (b) {
|
|
34570
34570
|
if (i) {
|
|
34571
|
-
var B,
|
|
34571
|
+
var B, G = _ === "y" ? Ve : We, F = _ === "y" ? it : ot, q = _ === "y" ? "height" : "width", W = b[_], H = W + x[G], J = W - x[F], w = p ? -D[q] / 2 : 0, I = y === mn ? R[q] : D[q], U = y === mn ? -D[q] : -R[q], C = t.elements.arrow, Y = p && C ? Ac(C) : {
|
|
34572
34572
|
width: 0,
|
|
34573
34573
|
height: 0
|
|
34574
|
-
}, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : VE(), Z = K[
|
|
34574
|
+
}, K = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : VE(), Z = K[G], Q = K[F], ee = Fn(0, R[q], Y[q]), te = m ? R[q] / 2 - w - ee - Z - L.mainAxis : I - ee - Z - L.mainAxis, ie = m ? -R[q] / 2 + w + ee + Q + L.mainAxis : U + ee + Q + L.mainAxis, ne = t.elements.arrow && Zn(t.elements.arrow), _e = ne ? _ === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, V = (B = N == null ? void 0 : N[_]) != null ? B : 0, De = W + te - V - _e, lt = W + ie - V, Ze = Fn(p ? hr(H, De) : H, W, p ? Yt(J, lt) : J);
|
|
34575
34575
|
b[_] = Ze, O[_] = Ze - W;
|
|
34576
34576
|
}
|
|
34577
34577
|
if (s) {
|
|
34578
|
-
var ut, en = _ === "x" ? Ve : We, Pt = _ === "x" ? it : ot, Pe = b[h], _t = h === "y" ? "height" : "width", tn = Pe + x[en], At = Pe - x[Pt], Ut = [Ve, We].indexOf(T) !== -1, nn = (ut = N == null ? void 0 : N[h]) != null ? ut : 0, P = Ut ? tn : Pe - R[_t] - D[_t] - nn + L.altAxis,
|
|
34578
|
+
var ut, en = _ === "x" ? Ve : We, Pt = _ === "x" ? it : ot, Pe = b[h], _t = h === "y" ? "height" : "width", tn = Pe + x[en], At = Pe - x[Pt], Ut = [Ve, We].indexOf(T) !== -1, nn = (ut = N == null ? void 0 : N[h]) != null ? ut : 0, P = Ut ? tn : Pe - R[_t] - D[_t] - nn + L.altAxis, z = Ut ? Pe + R[_t] + D[_t] - nn - L.altAxis : At, re = p && Ut ? R3(P, Pe, z) : Fn(p ? P : tn, Pe, p ? z : At);
|
|
34579
34579
|
b[h] = re, O[h] = re - Pe;
|
|
34580
34580
|
}
|
|
34581
34581
|
t.modifiersData[r] = O;
|
|
@@ -35292,22 +35292,22 @@ function Xn({
|
|
|
35292
35292
|
const L = (N, O) => {
|
|
35293
35293
|
if (!d.current) return null;
|
|
35294
35294
|
const B = Eb(d.current, a);
|
|
35295
|
-
let
|
|
35296
|
-
return
|
|
35295
|
+
let G = B.indexOf(N) + O;
|
|
35296
|
+
return G = Math.max(0, Math.min(G, B.length)), B[G];
|
|
35297
35297
|
};
|
|
35298
35298
|
return e3(Me(() => l.document, [l]), "keydown", (N) => {
|
|
35299
35299
|
var O, B;
|
|
35300
35300
|
const {
|
|
35301
|
-
key:
|
|
35302
|
-
} = N, F = N.target,
|
|
35303
|
-
if (/input|textarea/i.test(F.tagName) && (
|
|
35301
|
+
key: G
|
|
35302
|
+
} = N, F = N.target, q = (O = d.current) == null ? void 0 : O.contains(F), W = (B = E.current) == null ? void 0 : B.contains(F);
|
|
35303
|
+
if (/input|textarea/i.test(F.tagName) && (G === " " || G !== "Escape" && q || G === "Escape" && F.type === "search") || !q && !W || G === "Tab" && (!d.current || !u))
|
|
35304
35304
|
return;
|
|
35305
35305
|
y.current = N.type;
|
|
35306
35306
|
const J = {
|
|
35307
35307
|
originalEvent: N,
|
|
35308
35308
|
source: N.type
|
|
35309
35309
|
};
|
|
35310
|
-
switch (
|
|
35310
|
+
switch (G) {
|
|
35311
35311
|
case "ArrowUp": {
|
|
35312
35312
|
const w = L(F, -1);
|
|
35313
35313
|
w && w.focus && w.focus(), N.preventDefault();
|
|
@@ -35330,7 +35330,7 @@ function Xn({
|
|
|
35330
35330
|
});
|
|
35331
35331
|
break;
|
|
35332
35332
|
case "Escape":
|
|
35333
|
-
|
|
35333
|
+
G === "Escape" && (N.preventDefault(), N.stopPropagation()), c(!1, J);
|
|
35334
35334
|
break;
|
|
35335
35335
|
}
|
|
35336
35336
|
}), /* @__PURE__ */ g.jsx(Fu.Provider, {
|
|
@@ -36381,9 +36381,9 @@ const TD = ({
|
|
|
36381
36381
|
n((D) => {
|
|
36382
36382
|
const k = D.filter(
|
|
36383
36383
|
(F) => F.sender_type === "ai" && (F.isStatus201 || d)
|
|
36384
|
-
), L = D.filter((F) => F.sender_type !== "user" || !F.pendingSync ? !1 : !R.find((W) => W.sender_type === "user" && W.content === F.content && Math.abs(
|
|
36384
|
+
), L = D.filter((F) => F.sender_type !== "user" || !F.pendingSync ? !1 : !R.find((W) => W.sender_type === "user" && W.content.trim() === F.content.trim() && Math.abs(
|
|
36385
36385
|
new Date(W.created_at).getTime() - new Date(F.created_at).getTime()
|
|
36386
|
-
) <
|
|
36386
|
+
) < 15e3)), N = D.find(
|
|
36387
36387
|
(F) => F.pendingSync && F.sender_type === "ai" && !F.isStatus201
|
|
36388
36388
|
);
|
|
36389
36389
|
if (!N) {
|
|
@@ -36392,11 +36392,17 @@ const TD = ({
|
|
|
36392
36392
|
...L,
|
|
36393
36393
|
...k
|
|
36394
36394
|
].sort(
|
|
36395
|
-
(
|
|
36395
|
+
(q, W) => new Date(q.created_at).getTime() - new Date(W.created_at).getTime()
|
|
36396
36396
|
);
|
|
36397
36397
|
return console.log(
|
|
36398
|
-
"
|
|
36399
|
-
F
|
|
36398
|
+
"🔥 Mensajes actuales tras fetch (sin pending):",
|
|
36399
|
+
F.map((q) => ({
|
|
36400
|
+
id: q.id,
|
|
36401
|
+
content: q.content,
|
|
36402
|
+
created_at: q.created_at,
|
|
36403
|
+
sender_type: q.sender_type,
|
|
36404
|
+
pendingSync: q.pendingSync
|
|
36405
|
+
}))
|
|
36400
36406
|
), F;
|
|
36401
36407
|
}
|
|
36402
36408
|
const O = R.find(
|
|
@@ -36410,26 +36416,26 @@ const TD = ({
|
|
|
36410
36416
|
...L,
|
|
36411
36417
|
...k
|
|
36412
36418
|
].sort(
|
|
36413
|
-
(
|
|
36419
|
+
(q, W) => new Date(q.created_at).getTime() - new Date(W.created_at).getTime()
|
|
36414
36420
|
);
|
|
36415
36421
|
return console.log(
|
|
36416
36422
|
"Estado de messages tras fetchMessages (sin real):",
|
|
36417
36423
|
F
|
|
36418
36424
|
), F;
|
|
36419
36425
|
}
|
|
36420
|
-
const
|
|
36426
|
+
const G = [
|
|
36421
36427
|
...R.map(
|
|
36422
36428
|
(F) => F.id === O.id ? { ...F, content: N.content } : F
|
|
36423
36429
|
),
|
|
36424
36430
|
...L,
|
|
36425
36431
|
...k
|
|
36426
36432
|
].sort(
|
|
36427
|
-
(F,
|
|
36433
|
+
(F, q) => new Date(F.created_at).getTime() - new Date(q.created_at).getTime()
|
|
36428
36434
|
);
|
|
36429
36435
|
return console.log(
|
|
36430
36436
|
"Estado de messages tras fetchMessages (final):",
|
|
36431
|
-
|
|
36432
|
-
),
|
|
36437
|
+
G
|
|
36438
|
+
), G;
|
|
36433
36439
|
}), p(R);
|
|
36434
36440
|
} catch (b) {
|
|
36435
36441
|
console.error("Failed to fetch messages:", b), n((R) => {
|
|
@@ -36462,10 +36468,10 @@ const TD = ({
|
|
|
36462
36468
|
pendingSync: !0
|
|
36463
36469
|
};
|
|
36464
36470
|
n((F) => {
|
|
36465
|
-
const
|
|
36471
|
+
const q = [...F, L].sort(
|
|
36466
36472
|
(W, H) => new Date(W.created_at).getTime() - new Date(H.created_at).getTime()
|
|
36467
36473
|
);
|
|
36468
|
-
return console.log("Estado de messages tras agregar userMessage:",
|
|
36474
|
+
return console.log("Estado de messages tras agregar userMessage:", q), q;
|
|
36469
36475
|
});
|
|
36470
36476
|
const N = new Date(
|
|
36471
36477
|
(/* @__PURE__ */ new Date()).getTime() + 1
|
|
@@ -36482,19 +36488,19 @@ const TD = ({
|
|
|
36482
36488
|
isStatus201: !1
|
|
36483
36489
|
};
|
|
36484
36490
|
n((F) => {
|
|
36485
|
-
const
|
|
36491
|
+
const q = [...F, B].sort(
|
|
36486
36492
|
(W, H) => new Date(W.created_at).getTime() - new Date(H.created_at).getTime()
|
|
36487
36493
|
);
|
|
36488
|
-
return console.log("Estado de messages tras agregar botMessage:",
|
|
36494
|
+
return console.log("Estado de messages tras agregar botMessage:", q), q;
|
|
36489
36495
|
}), a(!0), o(!0);
|
|
36490
|
-
const
|
|
36491
|
-
l.current =
|
|
36496
|
+
const G = new AbortController();
|
|
36497
|
+
l.current = G, c(!0);
|
|
36492
36498
|
try {
|
|
36493
36499
|
D = await Vv(
|
|
36494
36500
|
h,
|
|
36495
36501
|
b,
|
|
36496
36502
|
R,
|
|
36497
|
-
|
|
36503
|
+
G.signal
|
|
36498
36504
|
);
|
|
36499
36505
|
const F = D.status === 201;
|
|
36500
36506
|
if (F) {
|
|
@@ -36517,12 +36523,12 @@ const TD = ({
|
|
|
36517
36523
|
}
|
|
36518
36524
|
if (!D.body)
|
|
36519
36525
|
throw new Error("No body in response");
|
|
36520
|
-
const
|
|
36521
|
-
S.current =
|
|
36526
|
+
const q = D.body.getReader();
|
|
36527
|
+
S.current = q;
|
|
36522
36528
|
const W = new TextDecoder();
|
|
36523
36529
|
let H = "";
|
|
36524
36530
|
for (; ; ) {
|
|
36525
|
-
const { done: J, value: w } = await
|
|
36531
|
+
const { done: J, value: w } = await q.read();
|
|
36526
36532
|
if (J) {
|
|
36527
36533
|
F && (f(!0), console.log(
|
|
36528
36534
|
"Streaming finalizado para status 201, goTicket establecido a true"
|
|
@@ -36567,7 +36573,7 @@ const TD = ({
|
|
|
36567
36573
|
n((O) => {
|
|
36568
36574
|
const B = O.findIndex((F) => F.id === b);
|
|
36569
36575
|
if (B === -1) return O;
|
|
36570
|
-
const
|
|
36576
|
+
const G = [
|
|
36571
36577
|
...O.slice(0, B),
|
|
36572
36578
|
{
|
|
36573
36579
|
...O[B],
|
|
@@ -36576,7 +36582,7 @@ const TD = ({
|
|
|
36576
36582
|
pendingSync: !0
|
|
36577
36583
|
}
|
|
36578
36584
|
];
|
|
36579
|
-
return console.log("Estado de messages tras editar mensaje:",
|
|
36585
|
+
return console.log("Estado de messages tras editar mensaje:", G), G;
|
|
36580
36586
|
});
|
|
36581
36587
|
const k = new Date(
|
|
36582
36588
|
(/* @__PURE__ */ new Date()).getTime() + 1
|
|
@@ -36606,12 +36612,12 @@ const TD = ({
|
|
|
36606
36612
|
throw new Error("No body in response");
|
|
36607
36613
|
const B = O.body.getReader();
|
|
36608
36614
|
S.current = B;
|
|
36609
|
-
const
|
|
36615
|
+
const G = new TextDecoder();
|
|
36610
36616
|
let F = "";
|
|
36611
36617
|
for (; ; ) {
|
|
36612
|
-
const { done:
|
|
36613
|
-
if (
|
|
36614
|
-
const H =
|
|
36618
|
+
const { done: q, value: W } = await B.read();
|
|
36619
|
+
if (q) break;
|
|
36620
|
+
const H = G.decode(W, { stream: !0 });
|
|
36615
36621
|
console.log("Chunk recibido del stream (edit):", H), await Hc(H, E, (J) => {
|
|
36616
36622
|
F += J, n((w) => {
|
|
36617
36623
|
const I = w.map(
|