ai-chatbot-widget 0.0.35 → 0.0.36
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/chatbot-widget.es.js +416 -410
- package/dist/chatbot-widget.iife.js +27 -27
- package/package.json +1 -1
|
@@ -97,26 +97,26 @@ function sg() {
|
|
|
97
97
|
return m.now() - g;
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
var
|
|
100
|
+
var v = [], p = [], b = 1, z = null, D = 3, Q = !1, U = !1, H = !1, L = !1, P = typeof setTimeout == "function" ? setTimeout : null, re = typeof clearTimeout == "function" ? clearTimeout : null, ie = typeof setImmediate < "u" ? setImmediate : null;
|
|
101
101
|
function se(C) {
|
|
102
102
|
for (var k = s(p); k !== null; ) {
|
|
103
103
|
if (k.callback === null) r(p);
|
|
104
104
|
else if (k.startTime <= C)
|
|
105
|
-
r(p), k.sortIndex = k.expirationTime, u(
|
|
105
|
+
r(p), k.sortIndex = k.expirationTime, u(v, k);
|
|
106
106
|
else break;
|
|
107
107
|
k = s(p);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
function de(C) {
|
|
111
111
|
if (H = !1, se(C), !U)
|
|
112
|
-
if (s(
|
|
112
|
+
if (s(v) !== null)
|
|
113
113
|
U = !0, V || (V = !0, nt());
|
|
114
114
|
else {
|
|
115
115
|
var k = s(p);
|
|
116
116
|
k !== null && fe(de, k.startTime - C);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
var V = !1,
|
|
119
|
+
var V = !1, ge = -1, Ze = 5, ke = -1;
|
|
120
120
|
function xt() {
|
|
121
121
|
return L ? !0 : !(c.unstable_now() - ke < Ze);
|
|
122
122
|
}
|
|
@@ -127,11 +127,11 @@ function sg() {
|
|
|
127
127
|
var k = !0;
|
|
128
128
|
try {
|
|
129
129
|
e: {
|
|
130
|
-
U = !1, H && (H = !1, re(
|
|
130
|
+
U = !1, H && (H = !1, re(ge), ge = -1), Q = !0;
|
|
131
131
|
var q = D;
|
|
132
132
|
try {
|
|
133
133
|
t: {
|
|
134
|
-
for (se(C), z = s(
|
|
134
|
+
for (se(C), z = s(v); z !== null && !(z.expirationTime > C && xt()); ) {
|
|
135
135
|
var ue = z.callback;
|
|
136
136
|
if (typeof ue == "function") {
|
|
137
137
|
z.callback = null, D = z.priorityLevel;
|
|
@@ -142,9 +142,9 @@ function sg() {
|
|
|
142
142
|
z.callback = ve, se(C), k = !0;
|
|
143
143
|
break t;
|
|
144
144
|
}
|
|
145
|
-
z === s(
|
|
146
|
-
} else r(
|
|
147
|
-
z = s(
|
|
145
|
+
z === s(v) && r(v), se(C);
|
|
146
|
+
} else r(v);
|
|
147
|
+
z = s(v);
|
|
148
148
|
}
|
|
149
149
|
if (z !== null) k = !0;
|
|
150
150
|
else {
|
|
@@ -181,7 +181,7 @@ function sg() {
|
|
|
181
181
|
P(kt, 0);
|
|
182
182
|
};
|
|
183
183
|
function fe(C, k) {
|
|
184
|
-
|
|
184
|
+
ge = P(function() {
|
|
185
185
|
C(c.unstable_now());
|
|
186
186
|
}, k);
|
|
187
187
|
}
|
|
@@ -255,7 +255,7 @@ function sg() {
|
|
|
255
255
|
startTime: q,
|
|
256
256
|
expirationTime: ve,
|
|
257
257
|
sortIndex: -1
|
|
258
|
-
}, q > ue ? (C.sortIndex = q, u(p, C), s(
|
|
258
|
+
}, q > ue ? (C.sortIndex = q, u(p, C), s(v) === null && C === s(p) && (H ? (re(ge), ge = -1) : H = !0, fe(de, q - ue))) : (C.sortIndex = ve, u(v, C), U || Q || (U = !0, V || (V = !0, nt()))), C;
|
|
259
259
|
}, c.unstable_shouldYield = xt, c.unstable_wrapCallback = function(C) {
|
|
260
260
|
var k = D;
|
|
261
261
|
return function() {
|
|
@@ -288,7 +288,7 @@ function fg() {
|
|
|
288
288
|
* This source code is licensed under the MIT license found in the
|
|
289
289
|
* LICENSE file in the root directory of this source tree.
|
|
290
290
|
*/
|
|
291
|
-
var u = Symbol.for("react.transitional.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), m = Symbol.for("react.consumer"), g = Symbol.for("react.context"),
|
|
291
|
+
var u = Symbol.for("react.transitional.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), m = Symbol.for("react.consumer"), g = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), b = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), D = Symbol.iterator;
|
|
292
292
|
function Q(x) {
|
|
293
293
|
return x === null || typeof x != "object" ? null : (x = D && x[D] || x["@@iterator"], typeof x == "function" ? x : null);
|
|
294
294
|
}
|
|
@@ -323,7 +323,7 @@ function fg() {
|
|
|
323
323
|
}
|
|
324
324
|
var se = ie.prototype = new re();
|
|
325
325
|
se.constructor = ie, H(se, P.prototype), se.isPureReactComponent = !0;
|
|
326
|
-
var de = Array.isArray, V = { H: null, A: null, T: null, S: null, V: null },
|
|
326
|
+
var de = Array.isArray, V = { H: null, A: null, T: null, S: null, V: null }, ge = Object.prototype.hasOwnProperty;
|
|
327
327
|
function Ze(x, B, Y, j, $, Te) {
|
|
328
328
|
return Y = Te.ref, {
|
|
329
329
|
$$typeof: u,
|
|
@@ -539,7 +539,7 @@ function fg() {
|
|
|
539
539
|
var j = H({}, x.props), $ = x.key, Te = void 0;
|
|
540
540
|
if (B != null)
|
|
541
541
|
for (F in B.ref !== void 0 && (Te = void 0), B.key !== void 0 && ($ = "" + B.key), B)
|
|
542
|
-
!
|
|
542
|
+
!ge.call(B, F) || F === "key" || F === "__self" || F === "__source" || F === "ref" && B.ref === void 0 || (j[F] = B[F]);
|
|
543
543
|
var F = arguments.length - 2;
|
|
544
544
|
if (F === 1) j.children = Y;
|
|
545
545
|
else if (1 < F) {
|
|
@@ -564,7 +564,7 @@ function fg() {
|
|
|
564
564
|
var j, $ = {}, Te = null;
|
|
565
565
|
if (B != null)
|
|
566
566
|
for (j in B.key !== void 0 && (Te = "" + B.key), B)
|
|
567
|
-
|
|
567
|
+
ge.call(B, j) && j !== "key" && j !== "__self" && j !== "__source" && ($[j] = B[j]);
|
|
568
568
|
var F = arguments.length - 2;
|
|
569
569
|
if (F === 1) $.children = Y;
|
|
570
570
|
else if (1 < F) {
|
|
@@ -579,7 +579,7 @@ function fg() {
|
|
|
579
579
|
}, ee.createRef = function() {
|
|
580
580
|
return { current: null };
|
|
581
581
|
}, ee.forwardRef = function(x) {
|
|
582
|
-
return { $$typeof:
|
|
582
|
+
return { $$typeof: v, render: x };
|
|
583
583
|
}, ee.isValidElement = xt, ee.lazy = function(x) {
|
|
584
584
|
return {
|
|
585
585
|
$$typeof: z,
|
|
@@ -670,14 +670,14 @@ function og() {
|
|
|
670
670
|
if (_d) return Pe;
|
|
671
671
|
_d = 1;
|
|
672
672
|
var c = hr();
|
|
673
|
-
function u(
|
|
674
|
-
var p = "https://react.dev/errors/" +
|
|
673
|
+
function u(v) {
|
|
674
|
+
var p = "https://react.dev/errors/" + v;
|
|
675
675
|
if (1 < arguments.length) {
|
|
676
676
|
p += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
677
677
|
for (var b = 2; b < arguments.length; b++)
|
|
678
678
|
p += "&args[]=" + encodeURIComponent(arguments[b]);
|
|
679
679
|
}
|
|
680
|
-
return "Minified React error #" +
|
|
680
|
+
return "Minified React error #" + v + "; visit " + p + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
681
681
|
}
|
|
682
682
|
function s() {
|
|
683
683
|
}
|
|
@@ -698,75 +698,75 @@ function og() {
|
|
|
698
698
|
p: 0,
|
|
699
699
|
findDOMNode: null
|
|
700
700
|
}, f = Symbol.for("react.portal");
|
|
701
|
-
function h(
|
|
701
|
+
function h(v, p, b) {
|
|
702
702
|
var z = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
703
703
|
return {
|
|
704
704
|
$$typeof: f,
|
|
705
705
|
key: z == null ? null : "" + z,
|
|
706
|
-
children:
|
|
706
|
+
children: v,
|
|
707
707
|
containerInfo: p,
|
|
708
708
|
implementation: b
|
|
709
709
|
};
|
|
710
710
|
}
|
|
711
711
|
var m = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
712
|
-
function g(
|
|
713
|
-
if (
|
|
712
|
+
function g(v, p) {
|
|
713
|
+
if (v === "font") return "";
|
|
714
714
|
if (typeof p == "string")
|
|
715
715
|
return p === "use-credentials" ? p : "";
|
|
716
716
|
}
|
|
717
|
-
return Pe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, Pe.createPortal = function(
|
|
717
|
+
return Pe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, Pe.createPortal = function(v, p) {
|
|
718
718
|
var b = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
719
719
|
if (!p || p.nodeType !== 1 && p.nodeType !== 9 && p.nodeType !== 11)
|
|
720
720
|
throw Error(u(299));
|
|
721
|
-
return h(
|
|
722
|
-
}, Pe.flushSync = function(
|
|
721
|
+
return h(v, p, null, b);
|
|
722
|
+
}, Pe.flushSync = function(v) {
|
|
723
723
|
var p = m.T, b = r.p;
|
|
724
724
|
try {
|
|
725
|
-
if (m.T = null, r.p = 2,
|
|
725
|
+
if (m.T = null, r.p = 2, v) return v();
|
|
726
726
|
} finally {
|
|
727
727
|
m.T = p, r.p = b, r.d.f();
|
|
728
728
|
}
|
|
729
|
-
}, Pe.preconnect = function(
|
|
730
|
-
typeof
|
|
731
|
-
}, Pe.prefetchDNS = function(
|
|
732
|
-
typeof
|
|
733
|
-
}, Pe.preinit = function(
|
|
734
|
-
if (typeof
|
|
729
|
+
}, Pe.preconnect = function(v, p) {
|
|
730
|
+
typeof v == "string" && (p ? (p = p.crossOrigin, p = typeof p == "string" ? p === "use-credentials" ? p : "" : void 0) : p = null, r.d.C(v, p));
|
|
731
|
+
}, Pe.prefetchDNS = function(v) {
|
|
732
|
+
typeof v == "string" && r.d.D(v);
|
|
733
|
+
}, Pe.preinit = function(v, p) {
|
|
734
|
+
if (typeof v == "string" && p && typeof p.as == "string") {
|
|
735
735
|
var b = p.as, z = g(b, p.crossOrigin), D = typeof p.integrity == "string" ? p.integrity : void 0, Q = typeof p.fetchPriority == "string" ? p.fetchPriority : void 0;
|
|
736
736
|
b === "style" ? r.d.S(
|
|
737
|
-
|
|
737
|
+
v,
|
|
738
738
|
typeof p.precedence == "string" ? p.precedence : void 0,
|
|
739
739
|
{
|
|
740
740
|
crossOrigin: z,
|
|
741
741
|
integrity: D,
|
|
742
742
|
fetchPriority: Q
|
|
743
743
|
}
|
|
744
|
-
) : b === "script" && r.d.X(
|
|
744
|
+
) : b === "script" && r.d.X(v, {
|
|
745
745
|
crossOrigin: z,
|
|
746
746
|
integrity: D,
|
|
747
747
|
fetchPriority: Q,
|
|
748
748
|
nonce: typeof p.nonce == "string" ? p.nonce : void 0
|
|
749
749
|
});
|
|
750
750
|
}
|
|
751
|
-
}, Pe.preinitModule = function(
|
|
752
|
-
if (typeof
|
|
751
|
+
}, Pe.preinitModule = function(v, p) {
|
|
752
|
+
if (typeof v == "string")
|
|
753
753
|
if (typeof p == "object" && p !== null) {
|
|
754
754
|
if (p.as == null || p.as === "script") {
|
|
755
755
|
var b = g(
|
|
756
756
|
p.as,
|
|
757
757
|
p.crossOrigin
|
|
758
758
|
);
|
|
759
|
-
r.d.M(
|
|
759
|
+
r.d.M(v, {
|
|
760
760
|
crossOrigin: b,
|
|
761
761
|
integrity: typeof p.integrity == "string" ? p.integrity : void 0,
|
|
762
762
|
nonce: typeof p.nonce == "string" ? p.nonce : void 0
|
|
763
763
|
});
|
|
764
764
|
}
|
|
765
|
-
} else p == null && r.d.M(
|
|
766
|
-
}, Pe.preload = function(
|
|
767
|
-
if (typeof
|
|
765
|
+
} else p == null && r.d.M(v);
|
|
766
|
+
}, Pe.preload = function(v, p) {
|
|
767
|
+
if (typeof v == "string" && typeof p == "object" && p !== null && typeof p.as == "string") {
|
|
768
768
|
var b = p.as, z = g(b, p.crossOrigin);
|
|
769
|
-
r.d.L(
|
|
769
|
+
r.d.L(v, b, {
|
|
770
770
|
crossOrigin: z,
|
|
771
771
|
integrity: typeof p.integrity == "string" ? p.integrity : void 0,
|
|
772
772
|
nonce: typeof p.nonce == "string" ? p.nonce : void 0,
|
|
@@ -778,22 +778,22 @@ function og() {
|
|
|
778
778
|
media: typeof p.media == "string" ? p.media : void 0
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
|
-
}, Pe.preloadModule = function(
|
|
782
|
-
if (typeof
|
|
781
|
+
}, Pe.preloadModule = function(v, p) {
|
|
782
|
+
if (typeof v == "string")
|
|
783
783
|
if (p) {
|
|
784
784
|
var b = g(p.as, p.crossOrigin);
|
|
785
|
-
r.d.m(
|
|
785
|
+
r.d.m(v, {
|
|
786
786
|
as: typeof p.as == "string" && p.as !== "script" ? p.as : void 0,
|
|
787
787
|
crossOrigin: b,
|
|
788
788
|
integrity: typeof p.integrity == "string" ? p.integrity : void 0
|
|
789
789
|
});
|
|
790
|
-
} else r.d.m(
|
|
791
|
-
}, Pe.requestFormReset = function(
|
|
792
|
-
r.d.r(
|
|
793
|
-
}, Pe.unstable_batchedUpdates = function(
|
|
794
|
-
return
|
|
795
|
-
}, Pe.useFormState = function(
|
|
796
|
-
return m.H.useFormState(
|
|
790
|
+
} else r.d.m(v);
|
|
791
|
+
}, Pe.requestFormReset = function(v) {
|
|
792
|
+
r.d.r(v);
|
|
793
|
+
}, Pe.unstable_batchedUpdates = function(v, p) {
|
|
794
|
+
return v(p);
|
|
795
|
+
}, Pe.useFormState = function(v, p, b) {
|
|
796
|
+
return m.H.useFormState(v, p, b);
|
|
797
797
|
}, Pe.useFormStatus = function() {
|
|
798
798
|
return m.H.useHostTransitionStatus();
|
|
799
799
|
}, Pe.version = "19.1.0", Pe;
|
|
@@ -857,7 +857,7 @@ function dg() {
|
|
|
857
857
|
}
|
|
858
858
|
return null;
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function v(e) {
|
|
861
861
|
if (m(e) !== e)
|
|
862
862
|
throw Error(f(188));
|
|
863
863
|
}
|
|
@@ -880,8 +880,8 @@ function dg() {
|
|
|
880
880
|
}
|
|
881
881
|
if (a.child === i.child) {
|
|
882
882
|
for (i = a.child; i; ) {
|
|
883
|
-
if (i === l) return
|
|
884
|
-
if (i === n) return
|
|
883
|
+
if (i === l) return v(a), e;
|
|
884
|
+
if (i === n) return v(a), t;
|
|
885
885
|
i = i.sibling;
|
|
886
886
|
}
|
|
887
887
|
throw Error(f(188));
|
|
@@ -928,7 +928,7 @@ function dg() {
|
|
|
928
928
|
}
|
|
929
929
|
return null;
|
|
930
930
|
}
|
|
931
|
-
var z = Object.assign, D = Symbol.for("react.element"), Q = Symbol.for("react.transitional.element"), U = Symbol.for("react.portal"), H = Symbol.for("react.fragment"), L = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), re = Symbol.for("react.provider"), ie = Symbol.for("react.consumer"), se = Symbol.for("react.context"), de = Symbol.for("react.forward_ref"), V = Symbol.for("react.suspense"),
|
|
931
|
+
var z = Object.assign, D = Symbol.for("react.element"), Q = Symbol.for("react.transitional.element"), U = Symbol.for("react.portal"), H = Symbol.for("react.fragment"), L = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), re = Symbol.for("react.provider"), ie = Symbol.for("react.consumer"), se = Symbol.for("react.context"), de = Symbol.for("react.forward_ref"), V = Symbol.for("react.suspense"), ge = Symbol.for("react.suspense_list"), Ze = Symbol.for("react.memo"), ke = Symbol.for("react.lazy"), xt = Symbol.for("react.activity"), kt = Symbol.for("react.memo_cache_sentinel"), nt = Symbol.iterator;
|
|
932
932
|
function $e(e) {
|
|
933
933
|
return e === null || typeof e != "object" ? null : (e = nt && e[nt] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
934
934
|
}
|
|
@@ -947,7 +947,7 @@ function dg() {
|
|
|
947
947
|
return "StrictMode";
|
|
948
948
|
case V:
|
|
949
949
|
return "Suspense";
|
|
950
|
-
case
|
|
950
|
+
case ge:
|
|
951
951
|
return "SuspenseList";
|
|
952
952
|
case xt:
|
|
953
953
|
return "Activity";
|
|
@@ -2408,8 +2408,8 @@ Error generating stack: ` + l.message + `
|
|
|
2408
2408
|
return e = mt(12, l, t, a | 2), e.elementType = P, e.lanes = i, e;
|
|
2409
2409
|
case V:
|
|
2410
2410
|
return e = mt(13, l, t, a), e.elementType = V, e.lanes = i, e;
|
|
2411
|
-
case
|
|
2412
|
-
return e = mt(19, l, t, a), e.elementType =
|
|
2411
|
+
case ge:
|
|
2412
|
+
return e = mt(19, l, t, a), e.elementType = ge, e.lanes = i, e;
|
|
2413
2413
|
default:
|
|
2414
2414
|
if (typeof e == "object" && e !== null)
|
|
2415
2415
|
switch (e.$$typeof) {
|
|
@@ -2862,7 +2862,7 @@ Error generating stack: ` + l.message + `
|
|
|
2862
2862
|
function ml(e, t, l) {
|
|
2863
2863
|
var n = e.updateQueue;
|
|
2864
2864
|
if (n === null) return null;
|
|
2865
|
-
if (n = n.shared, (
|
|
2865
|
+
if (n = n.shared, (ye & 2) !== 0) {
|
|
2866
2866
|
var a = n.pending;
|
|
2867
2867
|
return a === null ? t.next = t : (t.next = a.next, a.next = t), n.pending = t, t = gu(e), _f(e, null, l), t;
|
|
2868
2868
|
}
|
|
@@ -4000,136 +4000,136 @@ Error generating stack: ` + l.message + `
|
|
|
4000
4000
|
return t(e._payload);
|
|
4001
4001
|
}
|
|
4002
4002
|
function Do(e) {
|
|
4003
|
-
function t(E,
|
|
4003
|
+
function t(E, S) {
|
|
4004
4004
|
if (e) {
|
|
4005
4005
|
var T = E.deletions;
|
|
4006
|
-
T === null ? (E.deletions = [
|
|
4006
|
+
T === null ? (E.deletions = [S], E.flags |= 16) : T.push(S);
|
|
4007
4007
|
}
|
|
4008
4008
|
}
|
|
4009
|
-
function l(E,
|
|
4009
|
+
function l(E, S) {
|
|
4010
4010
|
if (!e) return null;
|
|
4011
|
-
for (;
|
|
4012
|
-
t(E,
|
|
4011
|
+
for (; S !== null; )
|
|
4012
|
+
t(E, S), S = S.sibling;
|
|
4013
4013
|
return null;
|
|
4014
4014
|
}
|
|
4015
4015
|
function n(E) {
|
|
4016
|
-
for (var
|
|
4017
|
-
E.key !== null ?
|
|
4018
|
-
return
|
|
4016
|
+
for (var S = /* @__PURE__ */ new Map(); E !== null; )
|
|
4017
|
+
E.key !== null ? S.set(E.key, E) : S.set(E.index, E), E = E.sibling;
|
|
4018
|
+
return S;
|
|
4019
4019
|
}
|
|
4020
|
-
function a(E,
|
|
4021
|
-
return E = Vt(E,
|
|
4020
|
+
function a(E, S) {
|
|
4021
|
+
return E = Vt(E, S), E.index = 0, E.sibling = null, E;
|
|
4022
4022
|
}
|
|
4023
|
-
function i(E,
|
|
4024
|
-
return E.index = T, e ? (T = E.alternate, T !== null ? (T = T.index, T <
|
|
4023
|
+
function i(E, S, T) {
|
|
4024
|
+
return E.index = T, e ? (T = E.alternate, T !== null ? (T = T.index, T < S ? (E.flags |= 67108866, S) : T) : (E.flags |= 67108866, S)) : (E.flags |= 1048576, S);
|
|
4025
4025
|
}
|
|
4026
4026
|
function o(E) {
|
|
4027
4027
|
return e && E.alternate === null && (E.flags |= 67108866), E;
|
|
4028
4028
|
}
|
|
4029
|
-
function d(E,
|
|
4030
|
-
return
|
|
4029
|
+
function d(E, S, T, M) {
|
|
4030
|
+
return S === null || S.tag !== 6 ? (S = dc(T, E.mode, M), S.return = E, S) : (S = a(S, T), S.return = E, S);
|
|
4031
4031
|
}
|
|
4032
|
-
function y(E,
|
|
4032
|
+
function y(E, S, T, M) {
|
|
4033
4033
|
var G = T.type;
|
|
4034
4034
|
return G === H ? w(
|
|
4035
4035
|
E,
|
|
4036
|
-
|
|
4036
|
+
S,
|
|
4037
4037
|
T.props.children,
|
|
4038
4038
|
M,
|
|
4039
4039
|
T.key
|
|
4040
|
-
) :
|
|
4040
|
+
) : S !== null && (S.elementType === G || typeof G == "object" && G !== null && G.$$typeof === ke && wo(G) === S.type) ? (S = a(S, T.props), Sa(S, T), S.return = E, S) : (S = yu(
|
|
4041
4041
|
T.type,
|
|
4042
4042
|
T.key,
|
|
4043
4043
|
T.props,
|
|
4044
4044
|
null,
|
|
4045
4045
|
E.mode,
|
|
4046
4046
|
M
|
|
4047
|
-
), Sa(
|
|
4047
|
+
), Sa(S, T), S.return = E, S);
|
|
4048
4048
|
}
|
|
4049
|
-
function A(E,
|
|
4050
|
-
return
|
|
4049
|
+
function A(E, S, T, M) {
|
|
4050
|
+
return S === null || S.tag !== 4 || S.stateNode.containerInfo !== T.containerInfo || S.stateNode.implementation !== T.implementation ? (S = pc(T, E.mode, M), S.return = E, S) : (S = a(S, T.children || []), S.return = E, S);
|
|
4051
4051
|
}
|
|
4052
|
-
function w(E,
|
|
4053
|
-
return
|
|
4052
|
+
function w(E, S, T, M, G) {
|
|
4053
|
+
return S === null || S.tag !== 7 ? (S = Hl(
|
|
4054
4054
|
T,
|
|
4055
4055
|
E.mode,
|
|
4056
4056
|
M,
|
|
4057
4057
|
G
|
|
4058
|
-
),
|
|
4058
|
+
), S.return = E, S) : (S = a(S, T), S.return = E, S);
|
|
4059
4059
|
}
|
|
4060
|
-
function N(E,
|
|
4061
|
-
if (typeof
|
|
4062
|
-
return
|
|
4063
|
-
"" +
|
|
4060
|
+
function N(E, S, T) {
|
|
4061
|
+
if (typeof S == "string" && S !== "" || typeof S == "number" || typeof S == "bigint")
|
|
4062
|
+
return S = dc(
|
|
4063
|
+
"" + S,
|
|
4064
4064
|
E.mode,
|
|
4065
4065
|
T
|
|
4066
|
-
),
|
|
4067
|
-
if (typeof
|
|
4068
|
-
switch (
|
|
4066
|
+
), S.return = E, S;
|
|
4067
|
+
if (typeof S == "object" && S !== null) {
|
|
4068
|
+
switch (S.$$typeof) {
|
|
4069
4069
|
case Q:
|
|
4070
4070
|
return T = yu(
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4071
|
+
S.type,
|
|
4072
|
+
S.key,
|
|
4073
|
+
S.props,
|
|
4074
4074
|
null,
|
|
4075
4075
|
E.mode,
|
|
4076
4076
|
T
|
|
4077
|
-
), Sa(T,
|
|
4077
|
+
), Sa(T, S), T.return = E, T;
|
|
4078
4078
|
case U:
|
|
4079
|
-
return
|
|
4080
|
-
|
|
4079
|
+
return S = pc(
|
|
4080
|
+
S,
|
|
4081
4081
|
E.mode,
|
|
4082
4082
|
T
|
|
4083
|
-
),
|
|
4083
|
+
), S.return = E, S;
|
|
4084
4084
|
case ke:
|
|
4085
|
-
var M =
|
|
4086
|
-
return
|
|
4085
|
+
var M = S._init;
|
|
4086
|
+
return S = M(S._payload), N(E, S, T);
|
|
4087
4087
|
}
|
|
4088
|
-
if (C(
|
|
4089
|
-
return
|
|
4090
|
-
|
|
4088
|
+
if (C(S) || $e(S))
|
|
4089
|
+
return S = Hl(
|
|
4090
|
+
S,
|
|
4091
4091
|
E.mode,
|
|
4092
4092
|
T,
|
|
4093
4093
|
null
|
|
4094
|
-
),
|
|
4095
|
-
if (typeof
|
|
4096
|
-
return N(E, Bu(
|
|
4097
|
-
if (
|
|
4094
|
+
), S.return = E, S;
|
|
4095
|
+
if (typeof S.then == "function")
|
|
4096
|
+
return N(E, Bu(S), T);
|
|
4097
|
+
if (S.$$typeof === se)
|
|
4098
4098
|
return N(
|
|
4099
4099
|
E,
|
|
4100
|
-
xu(E,
|
|
4100
|
+
xu(E, S),
|
|
4101
4101
|
T
|
|
4102
4102
|
);
|
|
4103
|
-
ku(E,
|
|
4103
|
+
ku(E, S);
|
|
4104
4104
|
}
|
|
4105
4105
|
return null;
|
|
4106
4106
|
}
|
|
4107
|
-
function R(E,
|
|
4108
|
-
var G =
|
|
4107
|
+
function R(E, S, T, M) {
|
|
4108
|
+
var G = S !== null ? S.key : null;
|
|
4109
4109
|
if (typeof T == "string" && T !== "" || typeof T == "number" || typeof T == "bigint")
|
|
4110
|
-
return G !== null ? null : d(E,
|
|
4110
|
+
return G !== null ? null : d(E, S, "" + T, M);
|
|
4111
4111
|
if (typeof T == "object" && T !== null) {
|
|
4112
4112
|
switch (T.$$typeof) {
|
|
4113
4113
|
case Q:
|
|
4114
|
-
return T.key === G ? y(E,
|
|
4114
|
+
return T.key === G ? y(E, S, T, M) : null;
|
|
4115
4115
|
case U:
|
|
4116
|
-
return T.key === G ? A(E,
|
|
4116
|
+
return T.key === G ? A(E, S, T, M) : null;
|
|
4117
4117
|
case ke:
|
|
4118
|
-
return G = T._init, T = G(T._payload), R(E,
|
|
4118
|
+
return G = T._init, T = G(T._payload), R(E, S, T, M);
|
|
4119
4119
|
}
|
|
4120
4120
|
if (C(T) || $e(T))
|
|
4121
|
-
return G !== null ? null : w(E,
|
|
4121
|
+
return G !== null ? null : w(E, S, T, M, null);
|
|
4122
4122
|
if (typeof T.then == "function")
|
|
4123
4123
|
return R(
|
|
4124
4124
|
E,
|
|
4125
|
-
|
|
4125
|
+
S,
|
|
4126
4126
|
Bu(T),
|
|
4127
4127
|
M
|
|
4128
4128
|
);
|
|
4129
4129
|
if (T.$$typeof === se)
|
|
4130
4130
|
return R(
|
|
4131
4131
|
E,
|
|
4132
|
-
|
|
4132
|
+
S,
|
|
4133
4133
|
xu(E, T),
|
|
4134
4134
|
M
|
|
4135
4135
|
);
|
|
@@ -4137,35 +4137,35 @@ Error generating stack: ` + l.message + `
|
|
|
4137
4137
|
}
|
|
4138
4138
|
return null;
|
|
4139
4139
|
}
|
|
4140
|
-
function _(E,
|
|
4140
|
+
function _(E, S, T, M, G) {
|
|
4141
4141
|
if (typeof M == "string" && M !== "" || typeof M == "number" || typeof M == "bigint")
|
|
4142
|
-
return E = E.get(T) || null, d(
|
|
4142
|
+
return E = E.get(T) || null, d(S, E, "" + M, G);
|
|
4143
4143
|
if (typeof M == "object" && M !== null) {
|
|
4144
4144
|
switch (M.$$typeof) {
|
|
4145
4145
|
case Q:
|
|
4146
4146
|
return E = E.get(
|
|
4147
4147
|
M.key === null ? T : M.key
|
|
4148
|
-
) || null, y(
|
|
4148
|
+
) || null, y(S, E, M, G);
|
|
4149
4149
|
case U:
|
|
4150
4150
|
return E = E.get(
|
|
4151
4151
|
M.key === null ? T : M.key
|
|
4152
|
-
) || null, A(
|
|
4152
|
+
) || null, A(S, E, M, G);
|
|
4153
4153
|
case ke:
|
|
4154
4154
|
var le = M._init;
|
|
4155
4155
|
return M = le(M._payload), _(
|
|
4156
4156
|
E,
|
|
4157
|
-
|
|
4157
|
+
S,
|
|
4158
4158
|
T,
|
|
4159
4159
|
M,
|
|
4160
4160
|
G
|
|
4161
4161
|
);
|
|
4162
4162
|
}
|
|
4163
4163
|
if (C(M) || $e(M))
|
|
4164
|
-
return E = E.get(T) || null, w(
|
|
4164
|
+
return E = E.get(T) || null, w(S, E, M, G, null);
|
|
4165
4165
|
if (typeof M.then == "function")
|
|
4166
4166
|
return _(
|
|
4167
4167
|
E,
|
|
4168
|
-
|
|
4168
|
+
S,
|
|
4169
4169
|
T,
|
|
4170
4170
|
Bu(M),
|
|
4171
4171
|
G
|
|
@@ -4173,17 +4173,17 @@ Error generating stack: ` + l.message + `
|
|
|
4173
4173
|
if (M.$$typeof === se)
|
|
4174
4174
|
return _(
|
|
4175
4175
|
E,
|
|
4176
|
-
|
|
4176
|
+
S,
|
|
4177
4177
|
T,
|
|
4178
|
-
xu(
|
|
4178
|
+
xu(S, M),
|
|
4179
4179
|
G
|
|
4180
4180
|
);
|
|
4181
|
-
ku(
|
|
4181
|
+
ku(S, M);
|
|
4182
4182
|
}
|
|
4183
4183
|
return null;
|
|
4184
4184
|
}
|
|
4185
|
-
function W(E,
|
|
4186
|
-
for (var G = null, le = null, X =
|
|
4185
|
+
function W(E, S, T, M) {
|
|
4186
|
+
for (var G = null, le = null, X = S, J = S = 0, Qe = null; X !== null && J < T.length; J++) {
|
|
4187
4187
|
X.index > J ? (Qe = X, X = null) : Qe = X.sibling;
|
|
4188
4188
|
var oe = R(
|
|
4189
4189
|
E,
|
|
@@ -4195,15 +4195,15 @@ Error generating stack: ` + l.message + `
|
|
|
4195
4195
|
X === null && (X = Qe);
|
|
4196
4196
|
break;
|
|
4197
4197
|
}
|
|
4198
|
-
e && X && oe.alternate === null && t(E, X),
|
|
4198
|
+
e && X && oe.alternate === null && t(E, X), S = i(oe, S, J), le === null ? G = oe : le.sibling = oe, le = oe, X = Qe;
|
|
4199
4199
|
}
|
|
4200
4200
|
if (J === T.length)
|
|
4201
4201
|
return l(E, X), he && Ll(E, J), G;
|
|
4202
4202
|
if (X === null) {
|
|
4203
4203
|
for (; J < T.length; J++)
|
|
4204
|
-
X = N(E, T[J], M), X !== null && (
|
|
4204
|
+
X = N(E, T[J], M), X !== null && (S = i(
|
|
4205
4205
|
X,
|
|
4206
|
-
|
|
4206
|
+
S,
|
|
4207
4207
|
J
|
|
4208
4208
|
), le === null ? G = X : le.sibling = X, le = X);
|
|
4209
4209
|
return he && Ll(E, J), G;
|
|
@@ -4217,68 +4217,68 @@ Error generating stack: ` + l.message + `
|
|
|
4217
4217
|
M
|
|
4218
4218
|
), Qe !== null && (e && Qe.alternate !== null && X.delete(
|
|
4219
4219
|
Qe.key === null ? J : Qe.key
|
|
4220
|
-
),
|
|
4220
|
+
), S = i(
|
|
4221
4221
|
Qe,
|
|
4222
|
-
|
|
4222
|
+
S,
|
|
4223
4223
|
J
|
|
4224
4224
|
), le === null ? G = Qe : le.sibling = Qe, le = Qe);
|
|
4225
4225
|
return e && X.forEach(function(Nl) {
|
|
4226
4226
|
return t(E, Nl);
|
|
4227
4227
|
}), he && Ll(E, J), G;
|
|
4228
4228
|
}
|
|
4229
|
-
function K(E,
|
|
4229
|
+
function K(E, S, T, M) {
|
|
4230
4230
|
if (T == null) throw Error(f(151));
|
|
4231
|
-
for (var G = null, le = null, X =
|
|
4231
|
+
for (var G = null, le = null, X = S, J = S = 0, Qe = null, oe = T.next(); X !== null && !oe.done; J++, oe = T.next()) {
|
|
4232
4232
|
X.index > J ? (Qe = X, X = null) : Qe = X.sibling;
|
|
4233
4233
|
var Nl = R(E, X, oe.value, M);
|
|
4234
4234
|
if (Nl === null) {
|
|
4235
4235
|
X === null && (X = Qe);
|
|
4236
4236
|
break;
|
|
4237
4237
|
}
|
|
4238
|
-
e && X && Nl.alternate === null && t(E, X),
|
|
4238
|
+
e && X && Nl.alternate === null && t(E, X), S = i(Nl, S, J), le === null ? G = Nl : le.sibling = Nl, le = Nl, X = Qe;
|
|
4239
4239
|
}
|
|
4240
4240
|
if (oe.done)
|
|
4241
4241
|
return l(E, X), he && Ll(E, J), G;
|
|
4242
4242
|
if (X === null) {
|
|
4243
4243
|
for (; !oe.done; J++, oe = T.next())
|
|
4244
|
-
oe = N(E, oe.value, M), oe !== null && (
|
|
4244
|
+
oe = N(E, oe.value, M), oe !== null && (S = i(oe, S, J), le === null ? G = oe : le.sibling = oe, le = oe);
|
|
4245
4245
|
return he && Ll(E, J), G;
|
|
4246
4246
|
}
|
|
4247
4247
|
for (X = n(X); !oe.done; J++, oe = T.next())
|
|
4248
|
-
oe = _(X, E, J, oe.value, M), oe !== null && (e && oe.alternate !== null && X.delete(oe.key === null ? J : oe.key),
|
|
4248
|
+
oe = _(X, E, J, oe.value, M), oe !== null && (e && oe.alternate !== null && X.delete(oe.key === null ? J : oe.key), S = i(oe, S, J), le === null ? G = oe : le.sibling = oe, le = oe);
|
|
4249
4249
|
return e && X.forEach(function(lg) {
|
|
4250
4250
|
return t(E, lg);
|
|
4251
4251
|
}), he && Ll(E, J), G;
|
|
4252
4252
|
}
|
|
4253
|
-
function Ee(E,
|
|
4253
|
+
function Ee(E, S, T, M) {
|
|
4254
4254
|
if (typeof T == "object" && T !== null && T.type === H && T.key === null && (T = T.props.children), typeof T == "object" && T !== null) {
|
|
4255
4255
|
switch (T.$$typeof) {
|
|
4256
4256
|
case Q:
|
|
4257
4257
|
e: {
|
|
4258
|
-
for (var G = T.key;
|
|
4259
|
-
if (
|
|
4258
|
+
for (var G = T.key; S !== null; ) {
|
|
4259
|
+
if (S.key === G) {
|
|
4260
4260
|
if (G = T.type, G === H) {
|
|
4261
|
-
if (
|
|
4261
|
+
if (S.tag === 7) {
|
|
4262
4262
|
l(
|
|
4263
4263
|
E,
|
|
4264
|
-
|
|
4264
|
+
S.sibling
|
|
4265
4265
|
), M = a(
|
|
4266
|
-
|
|
4266
|
+
S,
|
|
4267
4267
|
T.props.children
|
|
4268
4268
|
), M.return = E, E = M;
|
|
4269
4269
|
break e;
|
|
4270
4270
|
}
|
|
4271
|
-
} else if (
|
|
4271
|
+
} else if (S.elementType === G || typeof G == "object" && G !== null && G.$$typeof === ke && wo(G) === S.type) {
|
|
4272
4272
|
l(
|
|
4273
4273
|
E,
|
|
4274
|
-
|
|
4275
|
-
), M = a(
|
|
4274
|
+
S.sibling
|
|
4275
|
+
), M = a(S, T.props), Sa(M, T), M.return = E, E = M;
|
|
4276
4276
|
break e;
|
|
4277
4277
|
}
|
|
4278
|
-
l(E,
|
|
4278
|
+
l(E, S);
|
|
4279
4279
|
break;
|
|
4280
|
-
} else t(E,
|
|
4281
|
-
|
|
4280
|
+
} else t(E, S);
|
|
4281
|
+
S = S.sibling;
|
|
4282
4282
|
}
|
|
4283
4283
|
T.type === H ? (M = Hl(
|
|
4284
4284
|
T.props.children,
|
|
@@ -4297,20 +4297,20 @@ Error generating stack: ` + l.message + `
|
|
|
4297
4297
|
return o(E);
|
|
4298
4298
|
case U:
|
|
4299
4299
|
e: {
|
|
4300
|
-
for (G = T.key;
|
|
4301
|
-
if (
|
|
4302
|
-
if (
|
|
4300
|
+
for (G = T.key; S !== null; ) {
|
|
4301
|
+
if (S.key === G)
|
|
4302
|
+
if (S.tag === 4 && S.stateNode.containerInfo === T.containerInfo && S.stateNode.implementation === T.implementation) {
|
|
4303
4303
|
l(
|
|
4304
4304
|
E,
|
|
4305
|
-
|
|
4306
|
-
), M = a(
|
|
4305
|
+
S.sibling
|
|
4306
|
+
), M = a(S, T.children || []), M.return = E, E = M;
|
|
4307
4307
|
break e;
|
|
4308
4308
|
} else {
|
|
4309
|
-
l(E,
|
|
4309
|
+
l(E, S);
|
|
4310
4310
|
break;
|
|
4311
4311
|
}
|
|
4312
|
-
else t(E,
|
|
4313
|
-
|
|
4312
|
+
else t(E, S);
|
|
4313
|
+
S = S.sibling;
|
|
4314
4314
|
}
|
|
4315
4315
|
M = pc(T, E.mode, M), M.return = E, E = M;
|
|
4316
4316
|
}
|
|
@@ -4318,7 +4318,7 @@ Error generating stack: ` + l.message + `
|
|
|
4318
4318
|
case ke:
|
|
4319
4319
|
return G = T._init, T = G(T._payload), Ee(
|
|
4320
4320
|
E,
|
|
4321
|
-
|
|
4321
|
+
S,
|
|
4322
4322
|
T,
|
|
4323
4323
|
M
|
|
4324
4324
|
);
|
|
@@ -4326,7 +4326,7 @@ Error generating stack: ` + l.message + `
|
|
|
4326
4326
|
if (C(T))
|
|
4327
4327
|
return W(
|
|
4328
4328
|
E,
|
|
4329
|
-
|
|
4329
|
+
S,
|
|
4330
4330
|
T,
|
|
4331
4331
|
M
|
|
4332
4332
|
);
|
|
@@ -4334,7 +4334,7 @@ Error generating stack: ` + l.message + `
|
|
|
4334
4334
|
if (G = $e(T), typeof G != "function") throw Error(f(150));
|
|
4335
4335
|
return T = G.call(T), K(
|
|
4336
4336
|
E,
|
|
4337
|
-
|
|
4337
|
+
S,
|
|
4338
4338
|
T,
|
|
4339
4339
|
M
|
|
4340
4340
|
);
|
|
@@ -4342,27 +4342,27 @@ Error generating stack: ` + l.message + `
|
|
|
4342
4342
|
if (typeof T.then == "function")
|
|
4343
4343
|
return Ee(
|
|
4344
4344
|
E,
|
|
4345
|
-
|
|
4345
|
+
S,
|
|
4346
4346
|
Bu(T),
|
|
4347
4347
|
M
|
|
4348
4348
|
);
|
|
4349
4349
|
if (T.$$typeof === se)
|
|
4350
4350
|
return Ee(
|
|
4351
4351
|
E,
|
|
4352
|
-
|
|
4352
|
+
S,
|
|
4353
4353
|
xu(E, T),
|
|
4354
4354
|
M
|
|
4355
4355
|
);
|
|
4356
4356
|
ku(E, T);
|
|
4357
4357
|
}
|
|
4358
|
-
return typeof T == "string" && T !== "" || typeof T == "number" || typeof T == "bigint" ? (T = "" + T,
|
|
4358
|
+
return typeof T == "string" && T !== "" || typeof T == "number" || typeof T == "bigint" ? (T = "" + T, S !== null && S.tag === 6 ? (l(E, S.sibling), M = a(S, T), M.return = E, E = M) : (l(E, S), M = dc(T, E.mode, M), M.return = E, E = M), o(E)) : l(E, S);
|
|
4359
4359
|
}
|
|
4360
|
-
return function(E,
|
|
4360
|
+
return function(E, S, T, M) {
|
|
4361
4361
|
try {
|
|
4362
4362
|
va = 0;
|
|
4363
4363
|
var G = Ee(
|
|
4364
4364
|
E,
|
|
4365
|
-
|
|
4365
|
+
S,
|
|
4366
4366
|
T,
|
|
4367
4367
|
M
|
|
4368
4368
|
);
|
|
@@ -6987,9 +6987,9 @@ Error generating stack: ` + l.message + `
|
|
|
6987
6987
|
var t = Fe(He), l = t.data.get(e);
|
|
6988
6988
|
return l === void 0 && (l = e(), t.data.set(e, l)), l;
|
|
6989
6989
|
}
|
|
6990
|
-
}, rm = typeof WeakMap == "function" ? WeakMap : Map,
|
|
6990
|
+
}, rm = typeof WeakMap == "function" ? WeakMap : Map, ye = 0, _e = null, ne = null, ce = 0, be = 0, bt = null, El = !1, Mn = !1, os = !1, nl = 0, Me = 0, Tl = 0, $l = 0, hs = 0, wt = 0, Nn = 0, Oa = null, st = null, ds = !1, ps = 0, Qu = 1 / 0, Zu = null, Al = null, Ke = 0, Rl = null, Un = null, Bn = 0, ms = 0, gs = null, vh = null, za = 0, ys = null;
|
|
6991
6991
|
function vt() {
|
|
6992
|
-
if ((
|
|
6992
|
+
if ((ye & 2) !== 0 && ce !== 0)
|
|
6993
6993
|
return ce & -ce;
|
|
6994
6994
|
if (k.T !== null) {
|
|
6995
6995
|
var e = xn;
|
|
@@ -7003,12 +7003,12 @@ Error generating stack: ` + l.message + `
|
|
|
7003
7003
|
return e !== null && (e.flags |= 32), wt;
|
|
7004
7004
|
}
|
|
7005
7005
|
function St(e, t, l) {
|
|
7006
|
-
(e === _e && (
|
|
7006
|
+
(e === _e && (be === 2 || be === 9) || e.cancelPendingCommit !== null) && (kn(e, 0), _l(
|
|
7007
7007
|
e,
|
|
7008
7008
|
ce,
|
|
7009
7009
|
wt,
|
|
7010
7010
|
!1
|
|
7011
|
-
)), Vn(e, l), ((
|
|
7011
|
+
)), Vn(e, l), ((ye & 2) === 0 || e !== _e) && (e === _e && ((ye & 2) === 0 && ($l |= l), Me === 4 && _l(
|
|
7012
7012
|
e,
|
|
7013
7013
|
ce,
|
|
7014
7014
|
wt,
|
|
@@ -7016,7 +7016,7 @@ Error generating stack: ` + l.message + `
|
|
|
7016
7016
|
)), Yt(e));
|
|
7017
7017
|
}
|
|
7018
7018
|
function xh(e, t, l) {
|
|
7019
|
-
if ((
|
|
7019
|
+
if ((ye & 6) !== 0) throw Error(f(327));
|
|
7020
7020
|
var n = !l && (t & 124) === 0 && (t & e.expiredLanes) === 0 || Zn(e, t), a = n ? hm(e, t) : Ss(e, t, !0), i = n;
|
|
7021
7021
|
do {
|
|
7022
7022
|
if (a === 0) {
|
|
@@ -7205,11 +7205,11 @@ Error generating stack: ` + l.message + `
|
|
|
7205
7205
|
l !== 0 && Mr(e, l, t);
|
|
7206
7206
|
}
|
|
7207
7207
|
function Vu() {
|
|
7208
|
-
return (
|
|
7208
|
+
return (ye & 6) === 0 ? (wa(0), !1) : !0;
|
|
7209
7209
|
}
|
|
7210
7210
|
function bs() {
|
|
7211
7211
|
if (ne !== null) {
|
|
7212
|
-
if (
|
|
7212
|
+
if (be === 0)
|
|
7213
7213
|
var e = ne.return;
|
|
7214
7214
|
else
|
|
7215
7215
|
e = ne, $t = Xl = null, kc(e), On = null, va = 0, e = ne;
|
|
@@ -7220,7 +7220,7 @@ Error generating stack: ` + l.message + `
|
|
|
7220
7220
|
}
|
|
7221
7221
|
function kn(e, t) {
|
|
7222
7222
|
var l = e.timeoutHandle;
|
|
7223
|
-
l !== -1 && (e.timeoutHandle = -1, zm(l)), l = e.cancelPendingCommit, l !== null && (e.cancelPendingCommit = null, l()), bs(), _e = e, ne = l = Vt(e.current, null), ce = t,
|
|
7223
|
+
l !== -1 && (e.timeoutHandle = -1, zm(l)), l = e.cancelPendingCommit, l !== null && (e.cancelPendingCommit = null, l()), bs(), _e = e, ne = l = Vt(e.current, null), ce = t, be = 0, bt = null, El = !1, Mn = Zn(e, t), os = !1, Nn = wt = hs = $l = Tl = Me = 0, st = Oa = null, ds = !1, (t & 8) !== 0 && (t |= t & 32);
|
|
7224
7224
|
var n = e.entangledLanes;
|
|
7225
7225
|
if (n !== 0)
|
|
7226
7226
|
for (e = e.entanglements, n &= t; 0 < n; ) {
|
|
@@ -7230,7 +7230,7 @@ Error generating stack: ` + l.message + `
|
|
|
7230
7230
|
return nl = t, pu(), l;
|
|
7231
7231
|
}
|
|
7232
7232
|
function Th(e, t) {
|
|
7233
|
-
te = null, k.H = Uu, t === fa || t === Tu ? (t = jf(),
|
|
7233
|
+
te = null, k.H = Uu, t === fa || t === Tu ? (t = jf(), be = 3) : t === Cf ? (t = jf(), be = 4) : be = t === Yo ? 8 : t !== null && typeof t == "object" && typeof t.then == "function" ? 6 : 1, bt = t, ne === null && (Me = 1, Hu(
|
|
7234
7234
|
e,
|
|
7235
7235
|
At(t, e.current)
|
|
7236
7236
|
));
|
|
@@ -7252,16 +7252,16 @@ Error generating stack: ` + l.message + `
|
|
|
7252
7252
|
);
|
|
7253
7253
|
}
|
|
7254
7254
|
function Ss(e, t, l) {
|
|
7255
|
-
var n =
|
|
7256
|
-
|
|
7255
|
+
var n = ye;
|
|
7256
|
+
ye |= 2;
|
|
7257
7257
|
var a = Ah(), i = Rh();
|
|
7258
7258
|
(_e !== e || ce !== t) && (Zu = null, kn(e, t)), t = !1;
|
|
7259
7259
|
var o = Me;
|
|
7260
7260
|
e: do
|
|
7261
7261
|
try {
|
|
7262
|
-
if (
|
|
7262
|
+
if (be !== 0 && ne !== null) {
|
|
7263
7263
|
var d = ne, y = bt;
|
|
7264
|
-
switch (
|
|
7264
|
+
switch (be) {
|
|
7265
7265
|
case 8:
|
|
7266
7266
|
bs(), o = 6;
|
|
7267
7267
|
break e;
|
|
@@ -7270,14 +7270,14 @@ Error generating stack: ` + l.message + `
|
|
|
7270
7270
|
case 9:
|
|
7271
7271
|
case 6:
|
|
7272
7272
|
zt.current === null && (t = !0);
|
|
7273
|
-
var A =
|
|
7274
|
-
if (
|
|
7273
|
+
var A = be;
|
|
7274
|
+
if (be = 0, bt = null, Cn(e, d, y, A), l && Mn) {
|
|
7275
7275
|
o = 0;
|
|
7276
7276
|
break e;
|
|
7277
7277
|
}
|
|
7278
7278
|
break;
|
|
7279
7279
|
default:
|
|
7280
|
-
A =
|
|
7280
|
+
A = be, be = 0, bt = null, Cn(e, d, y, A);
|
|
7281
7281
|
}
|
|
7282
7282
|
}
|
|
7283
7283
|
om(), o = Me;
|
|
@@ -7286,14 +7286,14 @@ Error generating stack: ` + l.message + `
|
|
|
7286
7286
|
Th(e, w);
|
|
7287
7287
|
}
|
|
7288
7288
|
while (!0);
|
|
7289
|
-
return t && e.shellSuspendCounter++, $t = Xl = null,
|
|
7289
|
+
return t && e.shellSuspendCounter++, $t = Xl = null, ye = n, k.H = a, k.A = i, ne === null && (_e = null, ce = 0, pu()), o;
|
|
7290
7290
|
}
|
|
7291
7291
|
function om() {
|
|
7292
7292
|
for (; ne !== null; ) _h(ne);
|
|
7293
7293
|
}
|
|
7294
7294
|
function hm(e, t) {
|
|
7295
|
-
var l =
|
|
7296
|
-
|
|
7295
|
+
var l = ye;
|
|
7296
|
+
ye |= 2;
|
|
7297
7297
|
var n = Ah(), a = Rh();
|
|
7298
7298
|
_e !== e || ce !== t ? (Zu = null, Qu = Ct() + 500, kn(e, t)) : Mn = Zn(
|
|
7299
7299
|
e,
|
|
@@ -7301,31 +7301,31 @@ Error generating stack: ` + l.message + `
|
|
|
7301
7301
|
);
|
|
7302
7302
|
e: do
|
|
7303
7303
|
try {
|
|
7304
|
-
if (
|
|
7304
|
+
if (be !== 0 && ne !== null) {
|
|
7305
7305
|
t = ne;
|
|
7306
7306
|
var i = bt;
|
|
7307
|
-
t: switch (
|
|
7307
|
+
t: switch (be) {
|
|
7308
7308
|
case 1:
|
|
7309
|
-
|
|
7309
|
+
be = 0, bt = null, Cn(e, t, i, 1);
|
|
7310
7310
|
break;
|
|
7311
7311
|
case 2:
|
|
7312
7312
|
case 9:
|
|
7313
7313
|
if (qf(i)) {
|
|
7314
|
-
|
|
7314
|
+
be = 0, bt = null, Oh(t);
|
|
7315
7315
|
break;
|
|
7316
7316
|
}
|
|
7317
7317
|
t = function() {
|
|
7318
|
-
|
|
7318
|
+
be !== 2 && be !== 9 || _e !== e || (be = 7), Yt(e);
|
|
7319
7319
|
}, i.then(t, t);
|
|
7320
7320
|
break e;
|
|
7321
7321
|
case 3:
|
|
7322
|
-
|
|
7322
|
+
be = 7;
|
|
7323
7323
|
break e;
|
|
7324
7324
|
case 4:
|
|
7325
|
-
|
|
7325
|
+
be = 5;
|
|
7326
7326
|
break e;
|
|
7327
7327
|
case 7:
|
|
7328
|
-
qf(i) ? (
|
|
7328
|
+
qf(i) ? (be = 0, bt = null, Oh(t)) : (be = 0, bt = null, Cn(e, t, i, 7));
|
|
7329
7329
|
break;
|
|
7330
7330
|
case 5:
|
|
7331
7331
|
var o = null;
|
|
@@ -7336,7 +7336,7 @@ Error generating stack: ` + l.message + `
|
|
|
7336
7336
|
case 27:
|
|
7337
7337
|
var d = ne;
|
|
7338
7338
|
if (!o || sd(o)) {
|
|
7339
|
-
|
|
7339
|
+
be = 0, bt = null;
|
|
7340
7340
|
var y = d.sibling;
|
|
7341
7341
|
if (y !== null) ne = y;
|
|
7342
7342
|
else {
|
|
@@ -7346,10 +7346,10 @@ Error generating stack: ` + l.message + `
|
|
|
7346
7346
|
break t;
|
|
7347
7347
|
}
|
|
7348
7348
|
}
|
|
7349
|
-
|
|
7349
|
+
be = 0, bt = null, Cn(e, t, i, 5);
|
|
7350
7350
|
break;
|
|
7351
7351
|
case 6:
|
|
7352
|
-
|
|
7352
|
+
be = 0, bt = null, Cn(e, t, i, 6);
|
|
7353
7353
|
break;
|
|
7354
7354
|
case 8:
|
|
7355
7355
|
bs(), Me = 6;
|
|
@@ -7364,7 +7364,7 @@ Error generating stack: ` + l.message + `
|
|
|
7364
7364
|
Th(e, w);
|
|
7365
7365
|
}
|
|
7366
7366
|
while (!0);
|
|
7367
|
-
return $t = Xl = null, k.H = n, k.A = a,
|
|
7367
|
+
return $t = Xl = null, k.H = n, k.A = a, ye = l, ne !== null ? 0 : (_e = null, ce = 0, pu(), Me);
|
|
7368
7368
|
}
|
|
7369
7369
|
function dm() {
|
|
7370
7370
|
for (; ne !== null && !kp(); )
|
|
@@ -7480,7 +7480,7 @@ Error generating stack: ` + l.message + `
|
|
|
7480
7480
|
do
|
|
7481
7481
|
Ju();
|
|
7482
7482
|
while (Ke !== 0);
|
|
7483
|
-
if ((
|
|
7483
|
+
if ((ye & 6) !== 0) throw Error(f(327));
|
|
7484
7484
|
if (t !== null) {
|
|
7485
7485
|
if (t === e.current) throw Error(f(177));
|
|
7486
7486
|
if (i = t.lanes | t.childLanes, i |= fc, Zp(
|
|
@@ -7493,11 +7493,11 @@ Error generating stack: ` + l.message + `
|
|
|
7493
7493
|
), e === _e && (ne = _e = null, ce = 0), Un = t, Rl = e, Bn = l, ms = i, gs = a, vh = n, (t.subtreeFlags & 10256) !== 0 || (t.flags & 10256) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, ym(Ia, function() {
|
|
7494
7494
|
return Bh(), null;
|
|
7495
7495
|
})) : (e.callbackNode = null, e.callbackPriority = 0), n = (t.flags & 13878) !== 0, (t.subtreeFlags & 13878) !== 0 || n) {
|
|
7496
|
-
n = k.T, k.T = null, a = q.p, q.p = 2, o =
|
|
7496
|
+
n = k.T, k.T = null, a = q.p, q.p = 2, o = ye, ye |= 4;
|
|
7497
7497
|
try {
|
|
7498
7498
|
im(e, t, l);
|
|
7499
7499
|
} finally {
|
|
7500
|
-
|
|
7500
|
+
ye = o, q.p = a, k.T = n;
|
|
7501
7501
|
}
|
|
7502
7502
|
}
|
|
7503
7503
|
Ke = 1, Dh(), Mh(), Nh();
|
|
@@ -7511,8 +7511,8 @@ Error generating stack: ` + l.message + `
|
|
|
7511
7511
|
l = k.T, k.T = null;
|
|
7512
7512
|
var n = q.p;
|
|
7513
7513
|
q.p = 2;
|
|
7514
|
-
var a =
|
|
7515
|
-
|
|
7514
|
+
var a = ye;
|
|
7515
|
+
ye |= 4;
|
|
7516
7516
|
try {
|
|
7517
7517
|
hh(t, e);
|
|
7518
7518
|
var i = Ns, o = yf(e.containerInfo), d = i.focusedElem, y = i.selectionRange;
|
|
@@ -7535,13 +7535,13 @@ Error generating stack: ` + l.message + `
|
|
|
7535
7535
|
var E = mf(
|
|
7536
7536
|
d,
|
|
7537
7537
|
K
|
|
7538
|
-
),
|
|
7538
|
+
), S = mf(
|
|
7539
7539
|
d,
|
|
7540
7540
|
Ee
|
|
7541
7541
|
);
|
|
7542
|
-
if (E &&
|
|
7542
|
+
if (E && S && (_.rangeCount !== 1 || _.anchorNode !== E.node || _.anchorOffset !== E.offset || _.focusNode !== S.node || _.focusOffset !== S.offset)) {
|
|
7543
7543
|
var T = N.createRange();
|
|
7544
|
-
T.setStart(E.node, E.offset), _.removeAllRanges(), K > Ee ? (_.addRange(T), _.extend(
|
|
7544
|
+
T.setStart(E.node, E.offset), _.removeAllRanges(), K > Ee ? (_.addRange(T), _.extend(S.node, S.offset)) : (T.setEnd(S.node, S.offset), _.addRange(T));
|
|
7545
7545
|
}
|
|
7546
7546
|
}
|
|
7547
7547
|
}
|
|
@@ -7559,7 +7559,7 @@ Error generating stack: ` + l.message + `
|
|
|
7559
7559
|
}
|
|
7560
7560
|
ii = !!Ms, Ns = Ms = null;
|
|
7561
7561
|
} finally {
|
|
7562
|
-
|
|
7562
|
+
ye = a, q.p = n, k.T = l;
|
|
7563
7563
|
}
|
|
7564
7564
|
}
|
|
7565
7565
|
e.current = t, Ke = 2;
|
|
@@ -7573,12 +7573,12 @@ Error generating stack: ` + l.message + `
|
|
|
7573
7573
|
l = k.T, k.T = null;
|
|
7574
7574
|
var n = q.p;
|
|
7575
7575
|
q.p = 2;
|
|
7576
|
-
var a =
|
|
7577
|
-
|
|
7576
|
+
var a = ye;
|
|
7577
|
+
ye |= 4;
|
|
7578
7578
|
try {
|
|
7579
7579
|
sh(e, t.alternate, t);
|
|
7580
7580
|
} finally {
|
|
7581
|
-
|
|
7581
|
+
ye = a, q.p = n, k.T = l;
|
|
7582
7582
|
}
|
|
7583
7583
|
}
|
|
7584
7584
|
Ke = 3;
|
|
@@ -7630,14 +7630,14 @@ Error generating stack: ` + l.message + `
|
|
|
7630
7630
|
try {
|
|
7631
7631
|
q.p = 32 > l ? 32 : l, k.T = null, l = gs, gs = null;
|
|
7632
7632
|
var i = Rl, o = Bn;
|
|
7633
|
-
if (Ke = 0, Un = Rl = null, Bn = 0, (
|
|
7634
|
-
var d =
|
|
7635
|
-
if (
|
|
7633
|
+
if (Ke = 0, Un = Rl = null, Bn = 0, (ye & 6) !== 0) throw Error(f(331));
|
|
7634
|
+
var d = ye;
|
|
7635
|
+
if (ye |= 4, yh(i.current), ph(
|
|
7636
7636
|
i,
|
|
7637
7637
|
i.current,
|
|
7638
7638
|
o,
|
|
7639
7639
|
l
|
|
7640
|
-
),
|
|
7640
|
+
), ye = d, wa(0, !1), ht && typeof ht.onPostCommitFiberRoot == "function")
|
|
7641
7641
|
try {
|
|
7642
7642
|
ht.onPostCommitFiberRoot(Qn, i);
|
|
7643
7643
|
} catch {
|
|
@@ -7689,7 +7689,7 @@ Error generating stack: ` + l.message + `
|
|
|
7689
7689
|
}
|
|
7690
7690
|
function pm(e, t, l) {
|
|
7691
7691
|
var n = e.pingCache;
|
|
7692
|
-
n !== null && n.delete(t), e.pingedLanes |= e.suspendedLanes & l, e.warmLanes &= ~l, _e === e && (ce & l) === l && (Me === 4 || Me === 3 && (ce & 62914560) === ce && 300 > Ct() - ps ? (
|
|
7692
|
+
n !== null && n.delete(t), e.pingedLanes |= e.suspendedLanes & l, e.warmLanes &= ~l, _e === e && (ce & l) === l && (Me === 4 || Me === 3 && (ce & 62914560) === ce && 300 > Ct() - ps ? (ye & 2) === 0 && kn(e, 0) : hs |= l, Nn === ce && (Nn = 0)), Yt(e);
|
|
7693
7693
|
}
|
|
7694
7694
|
function Ch(e, t) {
|
|
7695
7695
|
t === 0 && (t = Dr()), e = yn(e, t), e !== null && (Vn(e, t), Yt(e));
|
|
@@ -7770,7 +7770,7 @@ Error generating stack: ` + l.message + `
|
|
|
7770
7770
|
e,
|
|
7771
7771
|
e === t ? l : 0,
|
|
7772
7772
|
e.cancelPendingCommit !== null || e.timeoutHandle !== -1
|
|
7773
|
-
), n = e.callbackNode, l === 0 || e === t && (
|
|
7773
|
+
), n = e.callbackNode, l === 0 || e === t && (be === 2 || be === 9) || e.cancelPendingCommit !== null)
|
|
7774
7774
|
return n !== null && n !== null && ki(n), e.callbackNode = null, e.callbackPriority = 0;
|
|
7775
7775
|
if ((l & 3) === 0 || Zn(e, l)) {
|
|
7776
7776
|
if (t = l & -l, t === e.callbackPriority) return t;
|
|
@@ -7811,7 +7811,7 @@ Error generating stack: ` + l.message + `
|
|
|
7811
7811
|
}
|
|
7812
7812
|
function vm() {
|
|
7813
7813
|
wm(function() {
|
|
7814
|
-
(
|
|
7814
|
+
(ye & 6) !== 0 ? Bi(
|
|
7815
7815
|
_r,
|
|
7816
7816
|
bm
|
|
7817
7817
|
) : qh();
|
|
@@ -8112,12 +8112,12 @@ Error generating stack: ` + l.message + `
|
|
|
8112
8112
|
}
|
|
8113
8113
|
var K = (t & 4) !== 0, Ee = !K && (e === "scroll" || e === "scrollend"), E = K ? R !== null ? R + "Capture" : null : R;
|
|
8114
8114
|
K = [];
|
|
8115
|
-
for (var
|
|
8116
|
-
var M =
|
|
8117
|
-
if (T = M.stateNode, M = M.tag, M !== 5 && M !== 26 && M !== 27 || T === null || E === null || (M = $n(
|
|
8118
|
-
Ma(
|
|
8115
|
+
for (var S = A, T; S !== null; ) {
|
|
8116
|
+
var M = S;
|
|
8117
|
+
if (T = M.stateNode, M = M.tag, M !== 5 && M !== 26 && M !== 27 || T === null || E === null || (M = $n(S, E), M != null && K.push(
|
|
8118
|
+
Ma(S, M, T)
|
|
8119
8119
|
)), Ee) break;
|
|
8120
|
-
|
|
8120
|
+
S = S.return;
|
|
8121
8121
|
}
|
|
8122
8122
|
0 < K.length && (R = new _(
|
|
8123
8123
|
R,
|
|
@@ -8133,29 +8133,29 @@ Error generating stack: ` + l.message + `
|
|
|
8133
8133
|
if (R = e === "mouseover" || e === "pointerover", _ = e === "mouseout" || e === "pointerout", R && l !== Ki && (W = l.relatedTarget || l.fromElement) && (nn(W) || W[ln]))
|
|
8134
8134
|
break e;
|
|
8135
8135
|
if ((_ || R) && (R = w.window === w ? w : (R = w.ownerDocument) ? R.defaultView || R.parentWindow : window, _ ? (W = l.relatedTarget || l.toElement, _ = A, W = W ? nn(W) : null, W !== null && (Ee = m(W), K = W.tag, W !== Ee || K !== 5 && K !== 27 && K !== 6) && (W = null)) : (_ = null, W = A), _ !== W)) {
|
|
8136
|
-
if (K = Pr, M = "onMouseLeave", E = "onMouseEnter",
|
|
8136
|
+
if (K = Pr, M = "onMouseLeave", E = "onMouseEnter", S = "mouse", (e === "pointerout" || e === "pointerover") && (K = ef, M = "onPointerLeave", E = "onPointerEnter", S = "pointer"), Ee = _ == null ? R : Jn(_), T = W == null ? R : Jn(W), R = new K(
|
|
8137
8137
|
M,
|
|
8138
|
-
|
|
8138
|
+
S + "leave",
|
|
8139
8139
|
_,
|
|
8140
8140
|
l,
|
|
8141
8141
|
w
|
|
8142
8142
|
), R.target = Ee, R.relatedTarget = T, M = null, nn(w) === A && (K = new K(
|
|
8143
8143
|
E,
|
|
8144
|
-
|
|
8144
|
+
S + "enter",
|
|
8145
8145
|
W,
|
|
8146
8146
|
l,
|
|
8147
8147
|
w
|
|
8148
8148
|
), K.target = T, K.relatedTarget = Ee, M = K), Ee = M, _ && W)
|
|
8149
8149
|
t: {
|
|
8150
|
-
for (K = _, E = W,
|
|
8151
|
-
|
|
8150
|
+
for (K = _, E = W, S = 0, T = K; T; T = Hn(T))
|
|
8151
|
+
S++;
|
|
8152
8152
|
for (T = 0, M = E; M; M = Hn(M))
|
|
8153
8153
|
T++;
|
|
8154
|
-
for (; 0 <
|
|
8155
|
-
K = Hn(K),
|
|
8156
|
-
for (; 0 < T -
|
|
8154
|
+
for (; 0 < S - T; )
|
|
8155
|
+
K = Hn(K), S--;
|
|
8156
|
+
for (; 0 < T - S; )
|
|
8157
8157
|
E = Hn(E), T--;
|
|
8158
|
-
for (;
|
|
8158
|
+
for (; S--; ) {
|
|
8159
8159
|
if (K === E || E !== null && K === E.alternate)
|
|
8160
8160
|
break t;
|
|
8161
8161
|
K = Hn(K), E = Hn(E);
|
|
@@ -9775,7 +9775,7 @@ Error generating stack: ` + l.message + `
|
|
|
9775
9775
|
var y = 1 << 31 - dt(o);
|
|
9776
9776
|
d.entanglements[1] |= y, o &= ~y;
|
|
9777
9777
|
}
|
|
9778
|
-
Yt(i), (
|
|
9778
|
+
Yt(i), (ye & 6) === 0 && (Qu = Ct() + 500, wa(0));
|
|
9779
9779
|
}
|
|
9780
9780
|
}
|
|
9781
9781
|
break;
|
|
@@ -10281,10 +10281,10 @@ const xg = Le.forwardRef(
|
|
|
10281
10281
|
children: h,
|
|
10282
10282
|
iconNode: m,
|
|
10283
10283
|
...g
|
|
10284
|
-
},
|
|
10284
|
+
}, v) => Le.createElement(
|
|
10285
10285
|
"svg",
|
|
10286
10286
|
{
|
|
10287
|
-
ref:
|
|
10287
|
+
ref: v,
|
|
10288
10288
|
...Sg,
|
|
10289
10289
|
width: u,
|
|
10290
10290
|
height: u,
|
|
@@ -10493,7 +10493,7 @@ function Id(c) {
|
|
|
10493
10493
|
tn = c;
|
|
10494
10494
|
}
|
|
10495
10495
|
var Va = { exec: () => null };
|
|
10496
|
-
function
|
|
10496
|
+
function me(c, u = "") {
|
|
10497
10497
|
let s = typeof c == "string" ? c : c.source;
|
|
10498
10498
|
const r = {
|
|
10499
10499
|
replace: (f, h) => {
|
|
@@ -10561,10 +10561,10 @@ var lt = {
|
|
|
10561
10561
|
fencesBeginRegex: (c) => new RegExp(`^ {0,${Math.min(3, c - 1)}}(?:\`\`\`|~~~)`),
|
|
10562
10562
|
headingBeginRegex: (c) => new RegExp(`^ {0,${Math.min(3, c - 1)}}#`),
|
|
10563
10563
|
htmlBeginRegex: (c) => new RegExp(`^ {0,${Math.min(3, c - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
10564
|
-
}, Ng = /^(?:[ \t]*(?:\n|$))+/, Ug = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Bg = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, $a = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, kg = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, mr = /(?:[*+-]|\d{1,9}[.)])/, ep = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, tp =
|
|
10564
|
+
}, Ng = /^(?:[ \t]*(?:\n|$))+/, Ug = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Bg = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, $a = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, kg = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, mr = /(?:[*+-]|\d{1,9}[.)])/, ep = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, tp = me(ep).replace(/bull/g, mr).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Cg = me(ep).replace(/bull/g, mr).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), gr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, qg = /^[^\n]+/, yr = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Hg = me(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", yr).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), jg = me(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, mr).getRegex(), Ti = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", br = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Lg = me(
|
|
10565
10565
|
"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))",
|
|
10566
10566
|
"i"
|
|
10567
|
-
).replace("comment", br).replace("tag", Ti).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), lp =
|
|
10567
|
+
).replace("comment", br).replace("tag", Ti).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), lp = me(gr).replace("hr", $a).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ti).getRegex(), Yg = me(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", lp).getRegex(), vr = {
|
|
10568
10568
|
blockquote: Yg,
|
|
10569
10569
|
code: Ug,
|
|
10570
10570
|
def: Hg,
|
|
@@ -10578,16 +10578,16 @@ var lt = {
|
|
|
10578
10578
|
paragraph: lp,
|
|
10579
10579
|
table: Va,
|
|
10580
10580
|
text: qg
|
|
10581
|
-
}, Md =
|
|
10581
|
+
}, Md = me(
|
|
10582
10582
|
"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
|
|
10583
10583
|
).replace("hr", $a).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ti).getRegex(), Gg = {
|
|
10584
10584
|
...vr,
|
|
10585
10585
|
lheading: Cg,
|
|
10586
10586
|
table: Md,
|
|
10587
|
-
paragraph:
|
|
10587
|
+
paragraph: me(gr).replace("hr", $a).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Md).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Ti).getRegex()
|
|
10588
10588
|
}, Xg = {
|
|
10589
10589
|
...vr,
|
|
10590
|
-
html:
|
|
10590
|
+
html: me(
|
|
10591
10591
|
`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
|
|
10592
10592
|
).replace("comment", br).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
10593
10593
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
@@ -10595,14 +10595,14 @@ var lt = {
|
|
|
10595
10595
|
fences: Va,
|
|
10596
10596
|
// fences not supported
|
|
10597
10597
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
10598
|
-
paragraph:
|
|
10598
|
+
paragraph: me(gr).replace("hr", $a).replace("heading", ` *#{1,6} *[^
|
|
10599
10599
|
]`).replace("lheading", tp).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
10600
|
-
}, Qg = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Zg = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, np = /^( {2,}|\\)\n(?!\s*$)/, Vg = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ai = /[\p{P}\p{S}]/u, Sr = /[\s\p{P}\p{S}]/u, ap = /[^\s\p{P}\p{S}]/u, Kg =
|
|
10600
|
+
}, Qg = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Zg = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, np = /^( {2,}|\\)\n(?!\s*$)/, Vg = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ai = /[\p{P}\p{S}]/u, Sr = /[\s\p{P}\p{S}]/u, ap = /[^\s\p{P}\p{S}]/u, Kg = me(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Sr).getRegex(), up = /(?!~)[\p{P}\p{S}]/u, Jg = /(?!~)[\s\p{P}\p{S}]/u, $g = /(?:[^\s\p{P}\p{S}]|~)/u, Wg = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, ip = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Fg = me(ip, "u").replace(/punct/g, Ai).getRegex(), Pg = me(ip, "u").replace(/punct/g, up).getRegex(), cp = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ig = me(cp, "gu").replace(/notPunctSpace/g, ap).replace(/punctSpace/g, Sr).replace(/punct/g, Ai).getRegex(), ey = me(cp, "gu").replace(/notPunctSpace/g, $g).replace(/punctSpace/g, Jg).replace(/punct/g, up).getRegex(), ty = me(
|
|
10601
10601
|
"^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
|
|
10602
10602
|
"gu"
|
|
10603
|
-
).replace(/notPunctSpace/g, ap).replace(/punctSpace/g, Sr).replace(/punct/g, Ai).getRegex(), ly =
|
|
10603
|
+
).replace(/notPunctSpace/g, ap).replace(/punctSpace/g, Sr).replace(/punct/g, Ai).getRegex(), ly = me(/\\(punct)/, "gu").replace(/punct/g, Ai).getRegex(), ny = me(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), ay = me(br).replace("(?:-->|$)", "-->").getRegex(), uy = me(
|
|
10604
10604
|
"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
|
|
10605
|
-
).replace("comment", ay).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), bi = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, iy =
|
|
10605
|
+
).replace("comment", ay).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), bi = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, iy = me(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", bi).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), sp = me(/^!?\[(label)\]\[(ref)\]/).replace("label", bi).replace("ref", yr).getRegex(), rp = me(/^!?\[(ref)\](?:\[\])?/).replace("ref", yr).getRegex(), cy = me("reflink|nolink(?!\\()", "g").replace("reflink", sp).replace("nolink", rp).getRegex(), xr = {
|
|
10606
10606
|
_backpedal: Va,
|
|
10607
10607
|
// only used for GFM url
|
|
10608
10608
|
anyPunctuation: ly,
|
|
@@ -10625,20 +10625,20 @@ var lt = {
|
|
|
10625
10625
|
url: Va
|
|
10626
10626
|
}, sy = {
|
|
10627
10627
|
...xr,
|
|
10628
|
-
link:
|
|
10629
|
-
reflink:
|
|
10628
|
+
link: me(/^!?\[(label)\]\((.*?)\)/).replace("label", bi).getRegex(),
|
|
10629
|
+
reflink: me(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", bi).getRegex()
|
|
10630
10630
|
}, nr = {
|
|
10631
10631
|
...xr,
|
|
10632
10632
|
emStrongRDelimAst: ey,
|
|
10633
10633
|
emStrongLDelim: Pg,
|
|
10634
|
-
url:
|
|
10634
|
+
url: me(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
|
|
10635
10635
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
10636
10636
|
del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
|
|
10637
10637
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
10638
10638
|
}, ry = {
|
|
10639
10639
|
...nr,
|
|
10640
|
-
br:
|
|
10641
|
-
text:
|
|
10640
|
+
br: me(np).replace("{2,}", "*").getRegex(),
|
|
10641
|
+
text: me(nr.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
10642
10642
|
}, di = {
|
|
10643
10643
|
normal: vr,
|
|
10644
10644
|
gfm: Gg,
|
|
@@ -10673,9 +10673,9 @@ function Ud(c) {
|
|
|
10673
10673
|
}
|
|
10674
10674
|
function Bd(c, u) {
|
|
10675
10675
|
var h;
|
|
10676
|
-
const s = c.replace(lt.findPipe, (m, g,
|
|
10676
|
+
const s = c.replace(lt.findPipe, (m, g, v) => {
|
|
10677
10677
|
let p = !1, b = g;
|
|
10678
|
-
for (; --b >= 0 &&
|
|
10678
|
+
for (; --b >= 0 && v[b] === "\\"; ) p = !p;
|
|
10679
10679
|
return p ? "|" : " |";
|
|
10680
10680
|
}), r = s.split(lt.splitPipe);
|
|
10681
10681
|
let f = 0;
|
|
@@ -10713,7 +10713,7 @@ function oy(c, u) {
|
|
|
10713
10713
|
function kd(c, u, s, r, f) {
|
|
10714
10714
|
const h = u.href, m = u.title || null, g = c[1].replace(f.other.outputLinkReplace, "$1");
|
|
10715
10715
|
r.state.inLink = !0;
|
|
10716
|
-
const
|
|
10716
|
+
const v = {
|
|
10717
10717
|
type: c[0].charAt(0) === "!" ? "image" : "link",
|
|
10718
10718
|
raw: s,
|
|
10719
10719
|
href: h,
|
|
@@ -10721,7 +10721,7 @@ function kd(c, u, s, r, f) {
|
|
|
10721
10721
|
text: g,
|
|
10722
10722
|
tokens: r.inlineTokens(g)
|
|
10723
10723
|
};
|
|
10724
|
-
return r.state.inLink = !1,
|
|
10724
|
+
return r.state.inLink = !1, v;
|
|
10725
10725
|
}
|
|
10726
10726
|
function hy(c, u, s) {
|
|
10727
10727
|
const r = c.match(s.other.indentCodeCompensation);
|
|
@@ -10816,15 +10816,15 @@ var vi = class {
|
|
|
10816
10816
|
for (; s.length > 0; ) {
|
|
10817
10817
|
let m = !1;
|
|
10818
10818
|
const g = [];
|
|
10819
|
-
let
|
|
10820
|
-
for (
|
|
10821
|
-
if (this.rules.other.blockquoteStart.test(s[
|
|
10822
|
-
g.push(s[
|
|
10819
|
+
let v;
|
|
10820
|
+
for (v = 0; v < s.length; v++)
|
|
10821
|
+
if (this.rules.other.blockquoteStart.test(s[v]))
|
|
10822
|
+
g.push(s[v]), m = !0;
|
|
10823
10823
|
else if (!m)
|
|
10824
|
-
g.push(s[
|
|
10824
|
+
g.push(s[v]);
|
|
10825
10825
|
else
|
|
10826
10826
|
break;
|
|
10827
|
-
s = s.slice(
|
|
10827
|
+
s = s.slice(v);
|
|
10828
10828
|
const p = g.join(`
|
|
10829
10829
|
`), b = p.replace(this.rules.other.blockquoteSetextReplace, `
|
|
10830
10830
|
$1`).replace(this.rules.other.blockquoteSetextReplace2, "");
|
|
@@ -10876,7 +10876,7 @@ ${b}` : b;
|
|
|
10876
10876
|
const h = this.rules.other.listItemRegex(s);
|
|
10877
10877
|
let m = !1;
|
|
10878
10878
|
for (; c; ) {
|
|
10879
|
-
let
|
|
10879
|
+
let v = !1, p = "", b = "";
|
|
10880
10880
|
if (!(u = h.exec(c)) || this.rules.block.hr.test(c))
|
|
10881
10881
|
break;
|
|
10882
10882
|
p = u[0], c = c.substring(p.length);
|
|
@@ -10884,17 +10884,17 @@ ${b}` : b;
|
|
|
10884
10884
|
`, 1)[0].replace(this.rules.other.listReplaceTabs, (P) => " ".repeat(3 * P.length)), D = c.split(`
|
|
10885
10885
|
`, 1)[0], Q = !z.trim(), U = 0;
|
|
10886
10886
|
if (this.options.pedantic ? (U = 2, b = z.trimStart()) : Q ? U = u[1].length + 1 : (U = u[2].search(this.rules.other.nonSpaceChar), U = U > 4 ? 1 : U, b = z.slice(U), U += u[1].length), Q && this.rules.other.blankLine.test(D) && (p += D + `
|
|
10887
|
-
`, c = c.substring(D.length + 1),
|
|
10887
|
+
`, c = c.substring(D.length + 1), v = !0), !v) {
|
|
10888
10888
|
const P = this.rules.other.nextBulletRegex(U), re = this.rules.other.hrRegex(U), ie = this.rules.other.fencesBeginRegex(U), se = this.rules.other.headingBeginRegex(U), de = this.rules.other.htmlBeginRegex(U);
|
|
10889
10889
|
for (; c; ) {
|
|
10890
10890
|
const V = c.split(`
|
|
10891
10891
|
`, 1)[0];
|
|
10892
|
-
let
|
|
10893
|
-
if (D = V, this.options.pedantic ? (D = D.replace(this.rules.other.listReplaceNesting, " "),
|
|
10892
|
+
let ge;
|
|
10893
|
+
if (D = V, this.options.pedantic ? (D = D.replace(this.rules.other.listReplaceNesting, " "), ge = D) : ge = D.replace(this.rules.other.tabCharGlobal, " "), ie.test(D) || se.test(D) || de.test(D) || P.test(D) || re.test(D))
|
|
10894
10894
|
break;
|
|
10895
|
-
if (
|
|
10895
|
+
if (ge.search(this.rules.other.nonSpaceChar) >= U || !D.trim())
|
|
10896
10896
|
b += `
|
|
10897
|
-
` +
|
|
10897
|
+
` + ge.slice(U);
|
|
10898
10898
|
else {
|
|
10899
10899
|
if (Q || z.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || ie.test(z) || se.test(z) || re.test(z))
|
|
10900
10900
|
break;
|
|
@@ -10902,7 +10902,7 @@ ${b}` : b;
|
|
|
10902
10902
|
` + D;
|
|
10903
10903
|
}
|
|
10904
10904
|
!Q && !D.trim() && (Q = !0), p += V + `
|
|
10905
|
-
`, c = c.substring(V.length + 1), z =
|
|
10905
|
+
`, c = c.substring(V.length + 1), z = ge.slice(U);
|
|
10906
10906
|
}
|
|
10907
10907
|
}
|
|
10908
10908
|
f.loose || (m ? f.loose = !0 : this.rules.other.doubleBlankLine.test(p) && (m = !0));
|
|
@@ -10923,14 +10923,14 @@ ${b}` : b;
|
|
|
10923
10923
|
else
|
|
10924
10924
|
return;
|
|
10925
10925
|
f.raw = f.raw.trimEnd();
|
|
10926
|
-
for (let
|
|
10927
|
-
if (this.lexer.state.top = !1, f.items[
|
|
10928
|
-
const p = f.items[
|
|
10926
|
+
for (let v = 0; v < f.items.length; v++)
|
|
10927
|
+
if (this.lexer.state.top = !1, f.items[v].tokens = this.lexer.blockTokens(f.items[v].text, []), !f.loose) {
|
|
10928
|
+
const p = f.items[v].tokens.filter((z) => z.type === "space"), b = p.length > 0 && p.some((z) => this.rules.other.anyLine.test(z.raw));
|
|
10929
10929
|
f.loose = b;
|
|
10930
10930
|
}
|
|
10931
10931
|
if (f.loose)
|
|
10932
|
-
for (let
|
|
10933
|
-
f.items[
|
|
10932
|
+
for (let v = 0; v < f.items.length; v++)
|
|
10933
|
+
f.items[v].loose = !0;
|
|
10934
10934
|
return f;
|
|
10935
10935
|
}
|
|
10936
10936
|
}
|
|
@@ -10982,9 +10982,9 @@ ${b}` : b;
|
|
|
10982
10982
|
align: h.align[g]
|
|
10983
10983
|
});
|
|
10984
10984
|
for (const g of f)
|
|
10985
|
-
h.rows.push(Bd(g, h.header.length).map((
|
|
10986
|
-
text:
|
|
10987
|
-
tokens: this.lexer.inline(
|
|
10985
|
+
h.rows.push(Bd(g, h.header.length).map((v, p) => ({
|
|
10986
|
+
text: v,
|
|
10987
|
+
tokens: this.lexer.inline(v),
|
|
10988
10988
|
header: !1,
|
|
10989
10989
|
align: h.align[p]
|
|
10990
10990
|
})));
|
|
@@ -11097,19 +11097,19 @@ ${b}` : b;
|
|
|
11097
11097
|
if (!r || r[3] && s.match(this.rules.other.unicodeAlphaNumeric)) return;
|
|
11098
11098
|
if (!(r[1] || r[2] || "") || !s || this.rules.inline.punctuation.exec(s)) {
|
|
11099
11099
|
const h = [...r[0]].length - 1;
|
|
11100
|
-
let m, g,
|
|
11100
|
+
let m, g, v = h, p = 0;
|
|
11101
11101
|
const b = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
|
|
11102
11102
|
for (b.lastIndex = 0, u = u.slice(-1 * c.length + h); (r = b.exec(u)) != null; ) {
|
|
11103
11103
|
if (m = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !m) continue;
|
|
11104
11104
|
if (g = [...m].length, r[3] || r[4]) {
|
|
11105
|
-
|
|
11105
|
+
v += g;
|
|
11106
11106
|
continue;
|
|
11107
11107
|
} else if ((r[5] || r[6]) && h % 3 && !((h + g) % 3)) {
|
|
11108
11108
|
p += g;
|
|
11109
11109
|
continue;
|
|
11110
11110
|
}
|
|
11111
|
-
if (
|
|
11112
|
-
g = Math.min(g, g +
|
|
11111
|
+
if (v -= g, v > 0) continue;
|
|
11112
|
+
g = Math.min(g, g + v + p);
|
|
11113
11113
|
const z = [...r[0]][0].length, D = c.slice(0, h + r.index + z + g);
|
|
11114
11114
|
if (Math.min(h, g) % 2) {
|
|
11115
11115
|
const U = D.slice(1, -1);
|
|
@@ -11336,20 +11336,20 @@ ${b}` : b;
|
|
|
11336
11336
|
u = u.substring(g.raw.length), s.push(g);
|
|
11337
11337
|
continue;
|
|
11338
11338
|
}
|
|
11339
|
-
let
|
|
11339
|
+
let v = u;
|
|
11340
11340
|
if ((m = this.options.extensions) != null && m.startBlock) {
|
|
11341
11341
|
let p = 1 / 0;
|
|
11342
11342
|
const b = u.slice(1);
|
|
11343
11343
|
let z;
|
|
11344
11344
|
this.options.extensions.startBlock.forEach((D) => {
|
|
11345
11345
|
z = D.call({ lexer: this }, b), typeof z == "number" && z >= 0 && (p = Math.min(p, z));
|
|
11346
|
-
}), p < 1 / 0 && p >= 0 && (
|
|
11346
|
+
}), p < 1 / 0 && p >= 0 && (v = u.substring(0, p + 1));
|
|
11347
11347
|
}
|
|
11348
|
-
if (this.state.top && (g = this.tokenizer.paragraph(
|
|
11348
|
+
if (this.state.top && (g = this.tokenizer.paragraph(v))) {
|
|
11349
11349
|
const p = s.at(-1);
|
|
11350
11350
|
r && (p == null ? void 0 : p.type) === "paragraph" ? (p.raw += `
|
|
11351
11351
|
` + g.raw, p.text += `
|
|
11352
|
-
` + g.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = p.text) : s.push(g), r =
|
|
11352
|
+
` + g.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = p.text) : s.push(g), r = v.length !== u.length, u = u.substring(g.raw.length);
|
|
11353
11353
|
continue;
|
|
11354
11354
|
}
|
|
11355
11355
|
if (g = this.tokenizer.text(u)) {
|
|
@@ -11378,7 +11378,7 @@ ${b}` : b;
|
|
|
11378
11378
|
* Lexing/Compiling
|
|
11379
11379
|
*/
|
|
11380
11380
|
inlineTokens(u, s = []) {
|
|
11381
|
-
var g,
|
|
11381
|
+
var g, v, p;
|
|
11382
11382
|
let r = u, f = null;
|
|
11383
11383
|
if (this.tokens.links) {
|
|
11384
11384
|
const b = Object.keys(this.tokens.links);
|
|
@@ -11394,7 +11394,7 @@ ${b}` : b;
|
|
|
11394
11394
|
for (; u; ) {
|
|
11395
11395
|
h || (m = ""), h = !1;
|
|
11396
11396
|
let b;
|
|
11397
|
-
if ((
|
|
11397
|
+
if ((v = (g = this.options.extensions) == null ? void 0 : g.inline) != null && v.some((D) => (b = D.call({ lexer: this }, u, s)) ? (u = u.substring(b.raw.length), s.push(b), !0) : !1))
|
|
11398
11398
|
continue;
|
|
11399
11399
|
if (b = this.tokenizer.escape(u)) {
|
|
11400
11400
|
u = u.substring(b.raw.length), s.push(b);
|
|
@@ -11662,46 +11662,46 @@ ${c}</tr>
|
|
|
11662
11662
|
continue;
|
|
11663
11663
|
}
|
|
11664
11664
|
}
|
|
11665
|
-
const
|
|
11666
|
-
switch (
|
|
11665
|
+
const v = g;
|
|
11666
|
+
switch (v.type) {
|
|
11667
11667
|
case "space": {
|
|
11668
|
-
r += this.renderer.space(
|
|
11668
|
+
r += this.renderer.space(v);
|
|
11669
11669
|
continue;
|
|
11670
11670
|
}
|
|
11671
11671
|
case "hr": {
|
|
11672
|
-
r += this.renderer.hr(
|
|
11672
|
+
r += this.renderer.hr(v);
|
|
11673
11673
|
continue;
|
|
11674
11674
|
}
|
|
11675
11675
|
case "heading": {
|
|
11676
|
-
r += this.renderer.heading(
|
|
11676
|
+
r += this.renderer.heading(v);
|
|
11677
11677
|
continue;
|
|
11678
11678
|
}
|
|
11679
11679
|
case "code": {
|
|
11680
|
-
r += this.renderer.code(
|
|
11680
|
+
r += this.renderer.code(v);
|
|
11681
11681
|
continue;
|
|
11682
11682
|
}
|
|
11683
11683
|
case "table": {
|
|
11684
|
-
r += this.renderer.table(
|
|
11684
|
+
r += this.renderer.table(v);
|
|
11685
11685
|
continue;
|
|
11686
11686
|
}
|
|
11687
11687
|
case "blockquote": {
|
|
11688
|
-
r += this.renderer.blockquote(
|
|
11688
|
+
r += this.renderer.blockquote(v);
|
|
11689
11689
|
continue;
|
|
11690
11690
|
}
|
|
11691
11691
|
case "list": {
|
|
11692
|
-
r += this.renderer.list(
|
|
11692
|
+
r += this.renderer.list(v);
|
|
11693
11693
|
continue;
|
|
11694
11694
|
}
|
|
11695
11695
|
case "html": {
|
|
11696
|
-
r += this.renderer.html(
|
|
11696
|
+
r += this.renderer.html(v);
|
|
11697
11697
|
continue;
|
|
11698
11698
|
}
|
|
11699
11699
|
case "paragraph": {
|
|
11700
|
-
r += this.renderer.paragraph(
|
|
11700
|
+
r += this.renderer.paragraph(v);
|
|
11701
11701
|
continue;
|
|
11702
11702
|
}
|
|
11703
11703
|
case "text": {
|
|
11704
|
-
let p =
|
|
11704
|
+
let p = v, b = this.renderer.text(p);
|
|
11705
11705
|
for (; m + 1 < u.length && u[m + 1].type === "text"; )
|
|
11706
11706
|
p = u[++m], b += `
|
|
11707
11707
|
` + this.renderer.text(p);
|
|
@@ -11714,7 +11714,7 @@ ${c}</tr>
|
|
|
11714
11714
|
continue;
|
|
11715
11715
|
}
|
|
11716
11716
|
default: {
|
|
11717
|
-
const p = 'Token with "' +
|
|
11717
|
+
const p = 'Token with "' + v.type + '" type was not found.';
|
|
11718
11718
|
if (this.options.silent)
|
|
11719
11719
|
return console.error(p), "";
|
|
11720
11720
|
throw new Error(p);
|
|
@@ -11738,50 +11738,50 @@ ${c}</tr>
|
|
|
11738
11738
|
continue;
|
|
11739
11739
|
}
|
|
11740
11740
|
}
|
|
11741
|
-
const
|
|
11742
|
-
switch (
|
|
11741
|
+
const v = g;
|
|
11742
|
+
switch (v.type) {
|
|
11743
11743
|
case "escape": {
|
|
11744
|
-
r += s.text(
|
|
11744
|
+
r += s.text(v);
|
|
11745
11745
|
break;
|
|
11746
11746
|
}
|
|
11747
11747
|
case "html": {
|
|
11748
|
-
r += s.html(
|
|
11748
|
+
r += s.html(v);
|
|
11749
11749
|
break;
|
|
11750
11750
|
}
|
|
11751
11751
|
case "link": {
|
|
11752
|
-
r += s.link(
|
|
11752
|
+
r += s.link(v);
|
|
11753
11753
|
break;
|
|
11754
11754
|
}
|
|
11755
11755
|
case "image": {
|
|
11756
|
-
r += s.image(
|
|
11756
|
+
r += s.image(v);
|
|
11757
11757
|
break;
|
|
11758
11758
|
}
|
|
11759
11759
|
case "strong": {
|
|
11760
|
-
r += s.strong(
|
|
11760
|
+
r += s.strong(v);
|
|
11761
11761
|
break;
|
|
11762
11762
|
}
|
|
11763
11763
|
case "em": {
|
|
11764
|
-
r += s.em(
|
|
11764
|
+
r += s.em(v);
|
|
11765
11765
|
break;
|
|
11766
11766
|
}
|
|
11767
11767
|
case "codespan": {
|
|
11768
|
-
r += s.codespan(
|
|
11768
|
+
r += s.codespan(v);
|
|
11769
11769
|
break;
|
|
11770
11770
|
}
|
|
11771
11771
|
case "br": {
|
|
11772
|
-
r += s.br(
|
|
11772
|
+
r += s.br(v);
|
|
11773
11773
|
break;
|
|
11774
11774
|
}
|
|
11775
11775
|
case "del": {
|
|
11776
|
-
r += s.del(
|
|
11776
|
+
r += s.del(v);
|
|
11777
11777
|
break;
|
|
11778
11778
|
}
|
|
11779
11779
|
case "text": {
|
|
11780
|
-
r += s.text(
|
|
11780
|
+
r += s.text(v);
|
|
11781
11781
|
break;
|
|
11782
11782
|
}
|
|
11783
11783
|
default: {
|
|
11784
|
-
const p = 'Token with "' +
|
|
11784
|
+
const p = 'Token with "' + v.type + '" type was not found.';
|
|
11785
11785
|
if (this.options.silent)
|
|
11786
11786
|
return console.error(p), "";
|
|
11787
11787
|
throw new Error(p);
|
|
@@ -11857,8 +11857,8 @@ ${c}</tr>
|
|
|
11857
11857
|
for (const g of m.header)
|
|
11858
11858
|
s = s.concat(this.walkTokens(g.tokens, u));
|
|
11859
11859
|
for (const g of m.rows)
|
|
11860
|
-
for (const
|
|
11861
|
-
s = s.concat(this.walkTokens(
|
|
11860
|
+
for (const v of g)
|
|
11861
|
+
s = s.concat(this.walkTokens(v.tokens, u));
|
|
11862
11862
|
break;
|
|
11863
11863
|
}
|
|
11864
11864
|
case "list": {
|
|
@@ -11869,8 +11869,8 @@ ${c}</tr>
|
|
|
11869
11869
|
default: {
|
|
11870
11870
|
const m = h;
|
|
11871
11871
|
(f = (r = this.defaults.extensions) == null ? void 0 : r.childTokens) != null && f[m.type] ? this.defaults.extensions.childTokens[m.type].forEach((g) => {
|
|
11872
|
-
const
|
|
11873
|
-
s = s.concat(this.walkTokens(
|
|
11872
|
+
const v = m[g].flat(1 / 0);
|
|
11873
|
+
s = s.concat(this.walkTokens(v, u));
|
|
11874
11874
|
}) : m.tokens && (s = s.concat(this.walkTokens(m.tokens, u)));
|
|
11875
11875
|
}
|
|
11876
11876
|
}
|
|
@@ -11904,10 +11904,10 @@ ${c}</tr>
|
|
|
11904
11904
|
throw new Error(`renderer '${h}' does not exist`);
|
|
11905
11905
|
if (["options", "parser"].includes(h))
|
|
11906
11906
|
continue;
|
|
11907
|
-
const m = h, g = s.renderer[m],
|
|
11907
|
+
const m = h, g = s.renderer[m], v = f[m];
|
|
11908
11908
|
f[m] = (...p) => {
|
|
11909
11909
|
let b = g.apply(f, p);
|
|
11910
|
-
return b === !1 && (b =
|
|
11910
|
+
return b === !1 && (b = v.apply(f, p)), b || "";
|
|
11911
11911
|
};
|
|
11912
11912
|
}
|
|
11913
11913
|
r.renderer = f;
|
|
@@ -11919,10 +11919,10 @@ ${c}</tr>
|
|
|
11919
11919
|
throw new Error(`tokenizer '${h}' does not exist`);
|
|
11920
11920
|
if (["options", "rules", "lexer"].includes(h))
|
|
11921
11921
|
continue;
|
|
11922
|
-
const m = h, g = s.tokenizer[m],
|
|
11922
|
+
const m = h, g = s.tokenizer[m], v = f[m];
|
|
11923
11923
|
f[m] = (...p) => {
|
|
11924
11924
|
let b = g.apply(f, p);
|
|
11925
|
-
return b === !1 && (b =
|
|
11925
|
+
return b === !1 && (b = v.apply(f, p)), b;
|
|
11926
11926
|
};
|
|
11927
11927
|
}
|
|
11928
11928
|
r.tokenizer = f;
|
|
@@ -11934,15 +11934,15 @@ ${c}</tr>
|
|
|
11934
11934
|
throw new Error(`hook '${h}' does not exist`);
|
|
11935
11935
|
if (["options", "block"].includes(h))
|
|
11936
11936
|
continue;
|
|
11937
|
-
const m = h, g = s.hooks[m],
|
|
11937
|
+
const m = h, g = s.hooks[m], v = f[m];
|
|
11938
11938
|
pi.passThroughHooks.has(h) ? f[m] = (p) => {
|
|
11939
11939
|
if (this.defaults.async)
|
|
11940
|
-
return Promise.resolve(g.call(f, p)).then((z) =>
|
|
11940
|
+
return Promise.resolve(g.call(f, p)).then((z) => v.call(f, z));
|
|
11941
11941
|
const b = g.call(f, p);
|
|
11942
|
-
return
|
|
11942
|
+
return v.call(f, b);
|
|
11943
11943
|
} : f[m] = (...p) => {
|
|
11944
11944
|
let b = g.apply(f, p);
|
|
11945
|
-
return b === !1 && (b =
|
|
11945
|
+
return b === !1 && (b = v.apply(f, p)), b;
|
|
11946
11946
|
};
|
|
11947
11947
|
}
|
|
11948
11948
|
r.hooks = f;
|
|
@@ -11976,14 +11976,14 @@ ${c}</tr>
|
|
|
11976
11976
|
if (typeof s != "string")
|
|
11977
11977
|
return m(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(s) + ", string expected"));
|
|
11978
11978
|
h.hooks && (h.hooks.options = h, h.hooks.block = c);
|
|
11979
|
-
const g = h.hooks ? h.hooks.provideLexer() : c ? ul.lex : ul.lexInline,
|
|
11979
|
+
const g = h.hooks ? h.hooks.provideLexer() : c ? ul.lex : ul.lexInline, v = h.hooks ? h.hooks.provideParser() : c ? il.parse : il.parseInline;
|
|
11980
11980
|
if (h.async)
|
|
11981
|
-
return Promise.resolve(h.hooks ? h.hooks.preprocess(s) : s).then((p) => g(p, h)).then((p) => h.hooks ? h.hooks.processAllTokens(p) : p).then((p) => h.walkTokens ? Promise.all(this.walkTokens(p, h.walkTokens)).then(() => p) : p).then((p) =>
|
|
11981
|
+
return Promise.resolve(h.hooks ? h.hooks.preprocess(s) : s).then((p) => g(p, h)).then((p) => h.hooks ? h.hooks.processAllTokens(p) : p).then((p) => h.walkTokens ? Promise.all(this.walkTokens(p, h.walkTokens)).then(() => p) : p).then((p) => v(p, h)).then((p) => h.hooks ? h.hooks.postprocess(p) : p).catch(m);
|
|
11982
11982
|
try {
|
|
11983
11983
|
h.hooks && (s = h.hooks.preprocess(s));
|
|
11984
11984
|
let p = g(s, h);
|
|
11985
11985
|
h.hooks && (p = h.hooks.processAllTokens(p)), h.walkTokens && this.walkTokens(p, h.walkTokens);
|
|
11986
|
-
let b =
|
|
11986
|
+
let b = v(p, h);
|
|
11987
11987
|
return h.hooks && (b = h.hooks.postprocess(b)), b;
|
|
11988
11988
|
} catch (p) {
|
|
11989
11989
|
return m(p);
|
|
@@ -12003,39 +12003,45 @@ Please report this to https://github.com/markedjs/marked.`, c) {
|
|
|
12003
12003
|
};
|
|
12004
12004
|
}
|
|
12005
12005
|
}, Il = new dy();
|
|
12006
|
-
function
|
|
12006
|
+
function pe(c, u) {
|
|
12007
12007
|
return Il.parse(c, u);
|
|
12008
12008
|
}
|
|
12009
|
-
|
|
12010
|
-
return Il.setOptions(c),
|
|
12009
|
+
pe.options = pe.setOptions = function(c) {
|
|
12010
|
+
return Il.setOptions(c), pe.defaults = Il.defaults, Id(pe.defaults), pe;
|
|
12011
12011
|
};
|
|
12012
|
-
|
|
12013
|
-
|
|
12014
|
-
|
|
12015
|
-
return Il.use(...c),
|
|
12012
|
+
pe.getDefaults = pr;
|
|
12013
|
+
pe.defaults = tn;
|
|
12014
|
+
pe.use = function(...c) {
|
|
12015
|
+
return Il.use(...c), pe.defaults = Il.defaults, Id(pe.defaults), pe;
|
|
12016
12016
|
};
|
|
12017
|
-
|
|
12017
|
+
pe.walkTokens = function(c, u) {
|
|
12018
12018
|
return Il.walkTokens(c, u);
|
|
12019
12019
|
};
|
|
12020
|
-
|
|
12021
|
-
|
|
12022
|
-
|
|
12023
|
-
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
|
|
12034
|
-
|
|
12020
|
+
pe.parseInline = Il.parseInline;
|
|
12021
|
+
pe.Parser = il;
|
|
12022
|
+
pe.parser = il.parse;
|
|
12023
|
+
pe.Renderer = Si;
|
|
12024
|
+
pe.TextRenderer = Er;
|
|
12025
|
+
pe.Lexer = ul;
|
|
12026
|
+
pe.lexer = ul.lex;
|
|
12027
|
+
pe.Tokenizer = vi;
|
|
12028
|
+
pe.Hooks = pi;
|
|
12029
|
+
pe.parse = pe;
|
|
12030
|
+
pe.options;
|
|
12031
|
+
pe.setOptions;
|
|
12032
|
+
pe.use;
|
|
12033
|
+
pe.walkTokens;
|
|
12034
|
+
pe.parseInline;
|
|
12035
12035
|
il.parse;
|
|
12036
12036
|
ul.lex;
|
|
12037
12037
|
function Cd({ message: c, index: u, theme: s, margin: r = !0 }) {
|
|
12038
|
-
const f =
|
|
12038
|
+
const f = new pe.Renderer();
|
|
12039
|
+
f.link = ({ href: m, title: g, text: v }) => {
|
|
12040
|
+
const p = g ? ` title="${g}"` : "";
|
|
12041
|
+
return `<a target="_blank" rel="noopener noreferrer" href="${m}"${p}>${v}</a>`;
|
|
12042
|
+
};
|
|
12043
|
+
const h = Le.useMemo(() => pe(c.content.replaceAll("```", ""), {
|
|
12044
|
+
renderer: f,
|
|
12039
12045
|
gfm: !0,
|
|
12040
12046
|
breaks: !0
|
|
12041
12047
|
}), [c.content]);
|
|
@@ -12054,7 +12060,7 @@ function Cd({ message: c, index: u, theme: s, margin: r = !0 }) {
|
|
|
12054
12060
|
children: /* @__PURE__ */ Z.jsxs("div", { className: "flex items-start space-x-2", children: [
|
|
12055
12061
|
c.sender === "bot" && /* @__PURE__ */ Z.jsx(dr, { className: `w-4 h-4 mt-0.5 ${tt(s, "messageBotIcon")} flex-shrink-0` }),
|
|
12056
12062
|
c.sender === "user" && /* @__PURE__ */ Z.jsx(zg, { className: `w-4 h-4 mt-0.5 ${tt(s, "messageUserIcon")} flex-shrink-0` }),
|
|
12057
|
-
/* @__PURE__ */ Z.jsx("div", { className: "text-sm leading-relaxed message", dangerouslySetInnerHTML: { __html:
|
|
12063
|
+
/* @__PURE__ */ Z.jsx("div", { className: "text-sm leading-relaxed message", dangerouslySetInnerHTML: { __html: h } })
|
|
12058
12064
|
] })
|
|
12059
12065
|
}
|
|
12060
12066
|
)
|
|
@@ -12286,8 +12292,8 @@ const eb = (c) => {
|
|
|
12286
12292
|
u[f] = r;
|
|
12287
12293
|
const h = Gn(r) ? [] : {};
|
|
12288
12294
|
return Wa(r, (m, g) => {
|
|
12289
|
-
const
|
|
12290
|
-
!Ka(
|
|
12295
|
+
const v = s(m, f + 1);
|
|
12296
|
+
!Ka(v) && (h[g] = v);
|
|
12291
12297
|
}), u[f] = void 0, h;
|
|
12292
12298
|
}
|
|
12293
12299
|
}
|
|
@@ -12406,8 +12412,8 @@ Object.defineProperties(I, vp);
|
|
|
12406
12412
|
Object.defineProperty(bp, "isAxiosError", { value: !0 });
|
|
12407
12413
|
I.from = (c, u, s, r, f, h) => {
|
|
12408
12414
|
const m = Object.create(bp);
|
|
12409
|
-
return O.toFlatObject(c, m, function(
|
|
12410
|
-
return
|
|
12415
|
+
return O.toFlatObject(c, m, function(v) {
|
|
12416
|
+
return v !== Error.prototype;
|
|
12411
12417
|
}, (g) => g !== "isAxiosError"), I.call(m, c.message, u, s, r, f), m.cause = c, m.name = c.name, h && Object.assign(m, h), m;
|
|
12412
12418
|
};
|
|
12413
12419
|
const ub = null;
|
|
@@ -12438,7 +12444,7 @@ function wi(c, u, s) {
|
|
|
12438
12444
|
}, !1, function(H, L) {
|
|
12439
12445
|
return !O.isUndefined(L[H]);
|
|
12440
12446
|
});
|
|
12441
|
-
const r = s.metaTokens, f = s.visitor || b, h = s.dots, m = s.indexes,
|
|
12447
|
+
const r = s.metaTokens, f = s.visitor || b, h = s.dots, m = s.indexes, v = (s.Blob || typeof Blob < "u" && Blob) && O.isSpecCompliantForm(u);
|
|
12442
12448
|
if (!O.isFunction(f))
|
|
12443
12449
|
throw new TypeError("visitor must be a function");
|
|
12444
12450
|
function p(U) {
|
|
@@ -12447,9 +12453,9 @@ function wi(c, u, s) {
|
|
|
12447
12453
|
return U.toISOString();
|
|
12448
12454
|
if (O.isBoolean(U))
|
|
12449
12455
|
return U.toString();
|
|
12450
|
-
if (!
|
|
12456
|
+
if (!v && O.isBlob(U))
|
|
12451
12457
|
throw new I("Blob is not supported. Use a Buffer instead.");
|
|
12452
|
-
return O.isArrayBuffer(U) || O.isTypedArray(U) ?
|
|
12458
|
+
return O.isArrayBuffer(U) || O.isTypedArray(U) ? v && typeof Blob == "function" ? new Blob([U]) : Buffer.from(U) : U;
|
|
12453
12459
|
}
|
|
12454
12460
|
function b(U, H, L) {
|
|
12455
12461
|
let P = U;
|
|
@@ -12639,8 +12645,8 @@ function Ap(c) {
|
|
|
12639
12645
|
function u(s, r, f, h) {
|
|
12640
12646
|
let m = s[h++];
|
|
12641
12647
|
if (m === "__proto__") return !0;
|
|
12642
|
-
const g = Number.isFinite(+m),
|
|
12643
|
-
return m = !m && O.isArray(f) ? f.length : m,
|
|
12648
|
+
const g = Number.isFinite(+m), v = h >= s.length;
|
|
12649
|
+
return m = !m && O.isArray(f) ? f.length : m, v ? (O.hasOwnProp(f, m) ? f[m] = [f[m], r] : f[m] = r, !g) : ((!f[m] || !O.isObject(f[m])) && (f[m] = []), u(s, r, f[m], h) && O.isArray(f[m]) && (f[m] = vb(f[m])), !g);
|
|
12644
12650
|
}
|
|
12645
12651
|
if (O.isFormData(c) && O.isFunction(c.entries)) {
|
|
12646
12652
|
const s = {};
|
|
@@ -12678,10 +12684,10 @@ const Fa = {
|
|
|
12678
12684
|
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
12679
12685
|
return yb(u, this.formSerializer).toString();
|
|
12680
12686
|
if ((g = O.isFileList(u)) || r.indexOf("multipart/form-data") > -1) {
|
|
12681
|
-
const
|
|
12687
|
+
const v = this.env && this.env.FormData;
|
|
12682
12688
|
return wi(
|
|
12683
12689
|
g ? { "files[]": u } : u,
|
|
12684
|
-
|
|
12690
|
+
v && new v(),
|
|
12685
12691
|
this.formSerializer
|
|
12686
12692
|
);
|
|
12687
12693
|
}
|
|
@@ -12799,24 +12805,24 @@ let ft = class {
|
|
|
12799
12805
|
}
|
|
12800
12806
|
set(u, s, r) {
|
|
12801
12807
|
const f = this;
|
|
12802
|
-
function h(g,
|
|
12803
|
-
const b = Za(
|
|
12808
|
+
function h(g, v, p) {
|
|
12809
|
+
const b = Za(v);
|
|
12804
12810
|
if (!b)
|
|
12805
12811
|
throw new Error("header name must be a non-empty string");
|
|
12806
12812
|
const z = O.findKey(f, b);
|
|
12807
|
-
(!z || f[z] === void 0 || p === !0 || p === void 0 && f[z] !== !1) && (f[z ||
|
|
12813
|
+
(!z || f[z] === void 0 || p === !0 || p === void 0 && f[z] !== !1) && (f[z || v] = gi(g));
|
|
12808
12814
|
}
|
|
12809
|
-
const m = (g,
|
|
12815
|
+
const m = (g, v) => O.forEach(g, (p, b) => h(p, b, v));
|
|
12810
12816
|
if (O.isPlainObject(u) || u instanceof this.constructor)
|
|
12811
12817
|
m(u, s);
|
|
12812
12818
|
else if (O.isString(u) && (u = u.trim()) && !Ab(u))
|
|
12813
12819
|
m(Eb(u), s);
|
|
12814
12820
|
else if (O.isObject(u) && O.isIterable(u)) {
|
|
12815
|
-
let g = {},
|
|
12821
|
+
let g = {}, v, p;
|
|
12816
12822
|
for (const b of u) {
|
|
12817
12823
|
if (!O.isArray(b))
|
|
12818
12824
|
throw TypeError("Object iterator must return a key-value pair");
|
|
12819
|
-
g[p = b[0]] = (
|
|
12825
|
+
g[p = b[0]] = (v = g[p]) ? O.isArray(v) ? [...v, b[1]] : [v, b[1]] : b[1];
|
|
12820
12826
|
}
|
|
12821
12827
|
m(g, s);
|
|
12822
12828
|
} else
|
|
@@ -12964,9 +12970,9 @@ function zb(c, u) {
|
|
|
12964
12970
|
c = c || 10;
|
|
12965
12971
|
const s = new Array(c), r = new Array(c);
|
|
12966
12972
|
let f = 0, h = 0, m;
|
|
12967
|
-
return u = u !== void 0 ? u : 1e3, function(
|
|
12973
|
+
return u = u !== void 0 ? u : 1e3, function(v) {
|
|
12968
12974
|
const p = Date.now(), b = r[h];
|
|
12969
|
-
m || (m = p), s[f] =
|
|
12975
|
+
m || (m = p), s[f] = v, r[f] = p;
|
|
12970
12976
|
let z = h, D = 0;
|
|
12971
12977
|
for (; z !== f; )
|
|
12972
12978
|
D += s[z++], z = z % c;
|
|
@@ -12992,13 +12998,13 @@ const xi = (c, u, s = 3) => {
|
|
|
12992
12998
|
let r = 0;
|
|
12993
12999
|
const f = zb(50, 250);
|
|
12994
13000
|
return wb((h) => {
|
|
12995
|
-
const m = h.loaded, g = h.lengthComputable ? h.total : void 0,
|
|
13001
|
+
const m = h.loaded, g = h.lengthComputable ? h.total : void 0, v = m - r, p = f(v), b = m <= g;
|
|
12996
13002
|
r = m;
|
|
12997
13003
|
const z = {
|
|
12998
13004
|
loaded: m,
|
|
12999
13005
|
total: g,
|
|
13000
13006
|
progress: g ? m / g : void 0,
|
|
13001
|
-
bytes:
|
|
13007
|
+
bytes: v,
|
|
13002
13008
|
rate: p || void 0,
|
|
13003
13009
|
estimated: p && g && b ? (g - m) / p : void 0,
|
|
13004
13010
|
event: h,
|
|
@@ -13083,7 +13089,7 @@ function en(c, u) {
|
|
|
13083
13089
|
if (z in c)
|
|
13084
13090
|
return r(void 0, p);
|
|
13085
13091
|
}
|
|
13086
|
-
const
|
|
13092
|
+
const v = {
|
|
13087
13093
|
url: h,
|
|
13088
13094
|
method: h,
|
|
13089
13095
|
data: h,
|
|
@@ -13115,7 +13121,7 @@ function en(c, u) {
|
|
|
13115
13121
|
headers: (p, b, z) => f(Zd(p), Zd(b), z, !0)
|
|
13116
13122
|
};
|
|
13117
13123
|
return O.forEach(Object.keys(Object.assign({}, c, u)), function(b) {
|
|
13118
|
-
const z =
|
|
13124
|
+
const z = v[b] || f, D = z(c[b], u[b], b);
|
|
13119
13125
|
O.isUndefined(D) && z !== g || (s[b] = D);
|
|
13120
13126
|
}), s;
|
|
13121
13127
|
}
|
|
@@ -13126,12 +13132,12 @@ const zp = (c) => {
|
|
|
13126
13132
|
"Authorization",
|
|
13127
13133
|
"Basic " + btoa((g.username || "") + ":" + (g.password ? unescape(encodeURIComponent(g.password)) : ""))
|
|
13128
13134
|
);
|
|
13129
|
-
let
|
|
13135
|
+
let v;
|
|
13130
13136
|
if (O.isFormData(s)) {
|
|
13131
13137
|
if (Ie.hasStandardBrowserEnv || Ie.hasStandardBrowserWebWorkerEnv)
|
|
13132
13138
|
m.setContentType(void 0);
|
|
13133
|
-
else if ((
|
|
13134
|
-
const [p, ...b] =
|
|
13139
|
+
else if ((v = m.getContentType()) !== !1) {
|
|
13140
|
+
const [p, ...b] = v ? v.split(";").map((z) => z.trim()).filter(Boolean) : [];
|
|
13135
13141
|
m.setContentType([p || "multipart/form-data", ...b].join("; "));
|
|
13136
13142
|
}
|
|
13137
13143
|
}
|
|
@@ -13145,7 +13151,7 @@ const zp = (c) => {
|
|
|
13145
13151
|
const f = zp(c);
|
|
13146
13152
|
let h = f.data;
|
|
13147
13153
|
const m = ft.from(f.headers).normalize();
|
|
13148
|
-
let { responseType: g, onUploadProgress:
|
|
13154
|
+
let { responseType: g, onUploadProgress: v, onDownloadProgress: p } = f, b, z, D, Q, U;
|
|
13149
13155
|
function H() {
|
|
13150
13156
|
Q && Q(), U && U(), f.cancelToken && f.cancelToken.unsubscribe(b), f.signal && f.signal.removeEventListener("abort", b);
|
|
13151
13157
|
}
|
|
@@ -13164,10 +13170,10 @@ const zp = (c) => {
|
|
|
13164
13170
|
config: c,
|
|
13165
13171
|
request: L
|
|
13166
13172
|
};
|
|
13167
|
-
_p(function(
|
|
13168
|
-
s(
|
|
13169
|
-
}, function(
|
|
13170
|
-
r(
|
|
13173
|
+
_p(function(ge) {
|
|
13174
|
+
s(ge), H();
|
|
13175
|
+
}, function(ge) {
|
|
13176
|
+
r(ge), H();
|
|
13171
13177
|
}, de), L = null;
|
|
13172
13178
|
}
|
|
13173
13179
|
"onloadend" in L ? L.onloadend = P : L.onreadystatechange = function() {
|
|
@@ -13187,7 +13193,7 @@ const zp = (c) => {
|
|
|
13187
13193
|
)), L = null;
|
|
13188
13194
|
}, h === void 0 && m.setContentType(null), "setRequestHeader" in L && O.forEach(m.toJSON(), function(se, de) {
|
|
13189
13195
|
L.setRequestHeader(de, se);
|
|
13190
|
-
}), O.isUndefined(f.withCredentials) || (L.withCredentials = !!f.withCredentials), g && g !== "json" && (L.responseType = f.responseType), p && ([D, U] = xi(p, !0), L.addEventListener("progress", D)),
|
|
13196
|
+
}), O.isUndefined(f.withCredentials) || (L.withCredentials = !!f.withCredentials), g && g !== "json" && (L.responseType = f.responseType), p && ([D, U] = xi(p, !0), L.addEventListener("progress", D)), v && L.upload && ([z, Q] = xi(v), L.upload.addEventListener("progress", z), L.upload.addEventListener("loadend", Q)), (f.cancelToken || f.signal) && (b = (ie) => {
|
|
13191
13197
|
L && (r(!ie || ie.type ? new Xn(null, c, L) : ie), L.abort(), L = null);
|
|
13192
13198
|
}, f.cancelToken && f.cancelToken.subscribe(b), f.signal && (f.signal.aborted ? b() : f.signal.addEventListener("abort", b)));
|
|
13193
13199
|
const re = Ob(f.url);
|
|
@@ -13217,8 +13223,8 @@ const zp = (c) => {
|
|
|
13217
13223
|
}), c = null);
|
|
13218
13224
|
};
|
|
13219
13225
|
c.forEach((p) => p.addEventListener("abort", h));
|
|
13220
|
-
const { signal:
|
|
13221
|
-
return
|
|
13226
|
+
const { signal: v } = r;
|
|
13227
|
+
return v.unsubscribe = () => O.asap(g), v;
|
|
13222
13228
|
}
|
|
13223
13229
|
}, qb = function* (c, u) {
|
|
13224
13230
|
let s = c.byteLength;
|
|
@@ -13250,15 +13256,15 @@ const zp = (c) => {
|
|
|
13250
13256
|
}
|
|
13251
13257
|
}, Vd = (c, u, s, r) => {
|
|
13252
13258
|
const f = Hb(c, u);
|
|
13253
|
-
let h = 0, m, g = (
|
|
13254
|
-
m || (m = !0, r && r(
|
|
13259
|
+
let h = 0, m, g = (v) => {
|
|
13260
|
+
m || (m = !0, r && r(v));
|
|
13255
13261
|
};
|
|
13256
13262
|
return new ReadableStream({
|
|
13257
|
-
async pull(
|
|
13263
|
+
async pull(v) {
|
|
13258
13264
|
try {
|
|
13259
13265
|
const { done: p, value: b } = await f.next();
|
|
13260
13266
|
if (p) {
|
|
13261
|
-
g(),
|
|
13267
|
+
g(), v.close();
|
|
13262
13268
|
return;
|
|
13263
13269
|
}
|
|
13264
13270
|
let z = b.byteLength;
|
|
@@ -13266,13 +13272,13 @@ const zp = (c) => {
|
|
|
13266
13272
|
let D = h += z;
|
|
13267
13273
|
s(D);
|
|
13268
13274
|
}
|
|
13269
|
-
|
|
13275
|
+
v.enqueue(new Uint8Array(b));
|
|
13270
13276
|
} catch (p) {
|
|
13271
13277
|
throw g(p), p;
|
|
13272
13278
|
}
|
|
13273
13279
|
},
|
|
13274
|
-
cancel(
|
|
13275
|
-
return g(
|
|
13280
|
+
cancel(v) {
|
|
13281
|
+
return g(v), f.return();
|
|
13276
13282
|
}
|
|
13277
13283
|
}, {
|
|
13278
13284
|
highWaterMark: 2
|
|
@@ -13329,7 +13335,7 @@ const Gb = async (c) => {
|
|
|
13329
13335
|
cancelToken: h,
|
|
13330
13336
|
timeout: m,
|
|
13331
13337
|
onDownloadProgress: g,
|
|
13332
|
-
onUploadProgress:
|
|
13338
|
+
onUploadProgress: v,
|
|
13333
13339
|
responseType: p,
|
|
13334
13340
|
headers: b,
|
|
13335
13341
|
withCredentials: z = "same-origin",
|
|
@@ -13342,18 +13348,18 @@ const Gb = async (c) => {
|
|
|
13342
13348
|
});
|
|
13343
13349
|
let L;
|
|
13344
13350
|
try {
|
|
13345
|
-
if (
|
|
13351
|
+
if (v && Yb && s !== "get" && s !== "head" && (L = await Xb(b, r)) !== 0) {
|
|
13346
13352
|
let de = new Request(u, {
|
|
13347
13353
|
method: "POST",
|
|
13348
13354
|
body: r,
|
|
13349
13355
|
duplex: "half"
|
|
13350
13356
|
}), V;
|
|
13351
13357
|
if (O.isFormData(r) && (V = de.headers.get("content-type")) && b.setContentType(V), de.body) {
|
|
13352
|
-
const [
|
|
13358
|
+
const [ge, Ze] = Xd(
|
|
13353
13359
|
L,
|
|
13354
|
-
xi(Qd(
|
|
13360
|
+
xi(Qd(v))
|
|
13355
13361
|
);
|
|
13356
|
-
r = Vd(de.body, Kd,
|
|
13362
|
+
r = Vd(de.body, Kd, ge, Ze);
|
|
13357
13363
|
}
|
|
13358
13364
|
}
|
|
13359
13365
|
O.isString(z) || (z = z ? "include" : "omit");
|
|
@@ -13374,12 +13380,12 @@ const Gb = async (c) => {
|
|
|
13374
13380
|
["status", "statusText", "headers"].forEach((ke) => {
|
|
13375
13381
|
de[ke] = re[ke];
|
|
13376
13382
|
});
|
|
13377
|
-
const V = O.toFiniteNumber(re.headers.get("content-length")), [
|
|
13383
|
+
const V = O.toFiniteNumber(re.headers.get("content-length")), [ge, Ze] = g && Xd(
|
|
13378
13384
|
V,
|
|
13379
13385
|
xi(Qd(g), !0)
|
|
13380
13386
|
) || [];
|
|
13381
13387
|
re = new Response(
|
|
13382
|
-
Vd(re.body, Kd,
|
|
13388
|
+
Vd(re.body, Kd, ge, () => {
|
|
13383
13389
|
Ze && Ze(), H && H();
|
|
13384
13390
|
}),
|
|
13385
13391
|
de
|
|
@@ -13436,7 +13442,7 @@ const Jd = (c) => `- ${c}`, Zb = (c) => O.isFunction(c) || c === null || c === !
|
|
|
13436
13442
|
}
|
|
13437
13443
|
if (!r) {
|
|
13438
13444
|
const h = Object.entries(f).map(
|
|
13439
|
-
([g,
|
|
13445
|
+
([g, v]) => `adapter ${g} ` + (v === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
13440
13446
|
);
|
|
13441
13447
|
let m = u ? h.length > 1 ? `since :
|
|
13442
13448
|
` + h.map(Jd).join(`
|
|
@@ -13508,9 +13514,9 @@ function Vb(c, u, s) {
|
|
|
13508
13514
|
for (; f-- > 0; ) {
|
|
13509
13515
|
const h = r[f], m = u[h];
|
|
13510
13516
|
if (m) {
|
|
13511
|
-
const g = c[h],
|
|
13512
|
-
if (
|
|
13513
|
-
throw new I("option " + h + " must be " +
|
|
13517
|
+
const g = c[h], v = g === void 0 || m(g, h, c);
|
|
13518
|
+
if (v !== !0)
|
|
13519
|
+
throw new I("option " + h + " must be " + v, I.ERR_BAD_OPTION_VALUE);
|
|
13514
13520
|
continue;
|
|
13515
13521
|
}
|
|
13516
13522
|
if (s !== !0)
|
|
@@ -13580,16 +13586,16 @@ let Pl = class {
|
|
|
13580
13586
|
}
|
|
13581
13587
|
), s.headers = ft.concat(m, h);
|
|
13582
13588
|
const g = [];
|
|
13583
|
-
let
|
|
13589
|
+
let v = !0;
|
|
13584
13590
|
this.interceptors.request.forEach(function(H) {
|
|
13585
|
-
typeof H.runWhen == "function" && H.runWhen(s) === !1 || (
|
|
13591
|
+
typeof H.runWhen == "function" && H.runWhen(s) === !1 || (v = v && H.synchronous, g.unshift(H.fulfilled, H.rejected));
|
|
13586
13592
|
});
|
|
13587
13593
|
const p = [];
|
|
13588
13594
|
this.interceptors.response.forEach(function(H) {
|
|
13589
13595
|
p.push(H.fulfilled, H.rejected);
|
|
13590
13596
|
});
|
|
13591
13597
|
let b, z = 0, D;
|
|
13592
|
-
if (!
|
|
13598
|
+
if (!v) {
|
|
13593
13599
|
const U = [$d.bind(this), void 0];
|
|
13594
13600
|
for (U.unshift.apply(U, g), U.push.apply(U, p), D = U.length, b = Promise.resolve(s); z < D; )
|
|
13595
13601
|
b = b.then(U[z++], U[z++]);
|
|
@@ -13859,8 +13865,8 @@ function Pb() {
|
|
|
13859
13865
|
}
|
|
13860
13866
|
}, []);
|
|
13861
13867
|
}
|
|
13862
|
-
function Ib({ theme: c = "boring", notificationBadge: u = !0, greeting: s, pageContext: r, chatPrompts: f = [], chatbotUrl: h, dialogeBaseUrl: m, title: g = "AI Assistant", imageUrl:
|
|
13863
|
-
const z = s ? [{ content: s, sender: "bot" }] : [], [D, Q] = Le.useState(!1), [U, H] = Le.useState(s ? z : []), [L, P] = Le.useState(""), [re, ie] = Le.useState(!1), [se, de] = Le.useState(!0), V = Le.useRef(null), [
|
|
13868
|
+
function Ib({ theme: c = "boring", notificationBadge: u = !0, greeting: s, pageContext: r, chatPrompts: f = [], chatbotUrl: h, dialogeBaseUrl: m, title: g = "AI Assistant", imageUrl: v, imageWidth: p, greetingOutside: b = !1 }) {
|
|
13869
|
+
const z = s ? [{ content: s, sender: "bot" }] : [], [D, Q] = Le.useState(!1), [U, H] = Le.useState(s ? z : []), [L, P] = Le.useState(""), [re, ie] = Le.useState(!1), [se, de] = Le.useState(!0), V = Le.useRef(null), [ge, Ze] = Le.useState(f), [ke, xt] = Le.useState(u);
|
|
13864
13870
|
Pb();
|
|
13865
13871
|
const kt = () => {
|
|
13866
13872
|
var fe;
|
|
@@ -13893,7 +13899,7 @@ function Ib({ theme: c = "boring", notificationBadge: u = !0, greeting: s, pageC
|
|
|
13893
13899
|
open: { isOpen: D, setIsOpen: Q },
|
|
13894
13900
|
messageOptions: { messages: U, setMessages: H },
|
|
13895
13901
|
input: { inputValue: L, setInputValue: P },
|
|
13896
|
-
promptsOptions: { prompts:
|
|
13902
|
+
promptsOptions: { prompts: ge, setPrompts: Ze },
|
|
13897
13903
|
scrollToBottom: kt
|
|
13898
13904
|
});
|
|
13899
13905
|
}, $e = async (fe) => {
|
|
@@ -13933,14 +13939,14 @@ function Ib({ theme: c = "boring", notificationBadge: u = !0, greeting: s, pageC
|
|
|
13933
13939
|
${D ? "scale-100 opacity-100" : "scale-0 opacity-0 pointer-events-none"}
|
|
13934
13940
|
`,
|
|
13935
13941
|
children: /* @__PURE__ */ Z.jsxs("div", { className: `${tt(c, "mainBackground")} rounded-4xl shadow-2xl backdrop-blur-xl h-full flex flex-col overflow-hidden`, children: [
|
|
13936
|
-
/* @__PURE__ */ Z.jsx(Mg, { setIsOpen: Q, theme: c, title: g, imageUrl:
|
|
13942
|
+
/* @__PURE__ */ Z.jsx(Mg, { setIsOpen: Q, theme: c, title: g, imageUrl: v, imageWidth: p }),
|
|
13937
13943
|
/* @__PURE__ */ Z.jsxs("div", { className: "flex-1 flex flex-col h-full justify-between overflow-y-auto p-2 lg:p-4 space-y-2 lg:space-y-4 scrollbar-thin scrollbar-thumb-purple-500/50 scrollbar-track-transparent", children: [
|
|
13938
13944
|
/* @__PURE__ */ Z.jsxs("div", { className: "space-y-4 ", children: [
|
|
13939
13945
|
U.map((fe, C) => /* @__PURE__ */ Z.jsx(Cd, { message: fe, index: C, theme: c }, fe.content)),
|
|
13940
13946
|
re && /* @__PURE__ */ Z.jsx(py, {}),
|
|
13941
13947
|
/* @__PURE__ */ Z.jsx("div", { ref: V })
|
|
13942
13948
|
] }),
|
|
13943
|
-
se && /* @__PURE__ */ Z.jsx("div", { className: "flex gap-2 flex-wrap", children:
|
|
13949
|
+
se && /* @__PURE__ */ Z.jsx("div", { className: "flex gap-2 flex-wrap", children: ge.map((fe) => /* @__PURE__ */ Z.jsx(vy, { prompt: fe, handleSendMessage: $e, theme: c }, fe)) })
|
|
13944
13950
|
] }),
|
|
13945
13951
|
/* @__PURE__ */ Z.jsx(gy, { handleKeyPress: cl, inputValue: L, setInputValue: P, handleSendMessage: () => $e(), theme: c })
|
|
13946
13952
|
] })
|