@developer.notchatbot/webchat 1.4.7 → 1.5.0
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/webchat-bundle.min.js +261 -261
- package/dist/webchat-bundle.min.umd.cjs +14 -14
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@ var H = (e, t, n) => new Promise((r, o) => {
|
|
|
36
36
|
}, a = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(s, i);
|
|
37
37
|
a((n = n.apply(e, t)).next());
|
|
38
38
|
});
|
|
39
|
-
function
|
|
39
|
+
function qh(e) {
|
|
40
40
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
41
41
|
}
|
|
42
42
|
var zc = { exports: {} }, D = {};
|
|
@@ -49,7 +49,7 @@ var zc = { exports: {} }, D = {};
|
|
|
49
49
|
* This source code is licensed under the MIT license found in the
|
|
50
50
|
* LICENSE file in the root directory of this source tree.
|
|
51
51
|
*/
|
|
52
|
-
var oo = Symbol.for("react.element"),
|
|
52
|
+
var oo = Symbol.for("react.element"), Wh = Symbol.for("react.portal"), Vh = Symbol.for("react.fragment"), Qh = Symbol.for("react.strict_mode"), Hh = Symbol.for("react.profiler"), Yh = Symbol.for("react.provider"), Kh = Symbol.for("react.context"), Xh = Symbol.for("react.forward_ref"), Zh = Symbol.for("react.suspense"), Gh = Symbol.for("react.memo"), Jh = Symbol.for("react.lazy"), uu = Symbol.iterator;
|
|
53
53
|
function ep(e) {
|
|
54
54
|
return e === null || typeof e != "object" ? null : (e = uu && e[uu] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
55
55
|
}
|
|
@@ -80,10 +80,10 @@ var Ua = Ba.prototype = new Bc();
|
|
|
80
80
|
Ua.constructor = Ba;
|
|
81
81
|
Dc(Ua, or.prototype);
|
|
82
82
|
Ua.isPureReactComponent = !0;
|
|
83
|
-
var cu = Array.isArray, Uc = Object.prototype.hasOwnProperty,
|
|
84
|
-
function
|
|
83
|
+
var cu = Array.isArray, Uc = Object.prototype.hasOwnProperty, qa = { current: null }, qc = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
84
|
+
function Wc(e, t, n) {
|
|
85
85
|
var r, o = {}, s = null, i = null;
|
|
86
|
-
if (t != null) for (r in t.ref !== void 0 && (i = t.ref), t.key !== void 0 && (s = "" + t.key), t) Uc.call(t, r) && !
|
|
86
|
+
if (t != null) for (r in t.ref !== void 0 && (i = t.ref), t.key !== void 0 && (s = "" + t.key), t) Uc.call(t, r) && !qc.hasOwnProperty(r) && (o[r] = t[r]);
|
|
87
87
|
var a = arguments.length - 2;
|
|
88
88
|
if (a === 1) o.children = n;
|
|
89
89
|
else if (1 < a) {
|
|
@@ -91,12 +91,12 @@ function qc(e, t, n) {
|
|
|
91
91
|
o.children = l;
|
|
92
92
|
}
|
|
93
93
|
if (e && e.defaultProps) for (r in a = e.defaultProps, a) o[r] === void 0 && (o[r] = a[r]);
|
|
94
|
-
return { $$typeof: oo, type: e, key: s, ref: i, props: o, _owner:
|
|
94
|
+
return { $$typeof: oo, type: e, key: s, ref: i, props: o, _owner: qa.current };
|
|
95
95
|
}
|
|
96
96
|
function tp(e, t) {
|
|
97
97
|
return { $$typeof: oo, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner };
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Wa(e) {
|
|
100
100
|
return typeof e == "object" && e !== null && e.$$typeof === oo;
|
|
101
101
|
}
|
|
102
102
|
function np(e) {
|
|
@@ -122,13 +122,13 @@ function $o(e, t, n, r, o) {
|
|
|
122
122
|
case "object":
|
|
123
123
|
switch (e.$$typeof) {
|
|
124
124
|
case oo:
|
|
125
|
-
case
|
|
125
|
+
case Wh:
|
|
126
126
|
i = !0;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
if (i) return i = e, o = o(i), e = r === "" ? "." + oi(i, 0) : r, cu(o) ? (n = "", e != null && (n = e.replace(du, "$&/") + "/"), $o(o, t, n, "", function(u) {
|
|
130
130
|
return u;
|
|
131
|
-
})) : o != null && (
|
|
131
|
+
})) : o != null && (Wa(o) && (o = tp(o, n + (!o.key || i && i.key === o.key ? "" : ("" + o.key).replace(du, "$&/") + "/") + e)), t.push(o)), 1;
|
|
132
132
|
if (i = 0, r = r === "" ? "." : r + ":", cu(e)) for (var a = 0; a < e.length; a++) {
|
|
133
133
|
s = e[a];
|
|
134
134
|
var l = r + oi(s, a);
|
|
@@ -157,8 +157,8 @@ function rp(e) {
|
|
|
157
157
|
if (e._status === 1) return e._result.default;
|
|
158
158
|
throw e._result;
|
|
159
159
|
}
|
|
160
|
-
var Ae = { current: null }, jo = { transition: null }, op = { ReactCurrentDispatcher: Ae, ReactCurrentBatchConfig: jo, ReactCurrentOwner:
|
|
161
|
-
function
|
|
160
|
+
var Ae = { current: null }, jo = { transition: null }, op = { ReactCurrentDispatcher: Ae, ReactCurrentBatchConfig: jo, ReactCurrentOwner: qa };
|
|
161
|
+
function Vc() {
|
|
162
162
|
throw Error("act(...) is not supported in production builds of React.");
|
|
163
163
|
}
|
|
164
164
|
D.Children = { map: po, forEach: function(e, t, n) {
|
|
@@ -175,23 +175,23 @@ D.Children = { map: po, forEach: function(e, t, n) {
|
|
|
175
175
|
return t;
|
|
176
176
|
}) || [];
|
|
177
177
|
}, only: function(e) {
|
|
178
|
-
if (!
|
|
178
|
+
if (!Wa(e)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
179
179
|
return e;
|
|
180
180
|
} };
|
|
181
181
|
D.Component = or;
|
|
182
|
-
D.Fragment =
|
|
182
|
+
D.Fragment = Vh;
|
|
183
183
|
D.Profiler = Hh;
|
|
184
184
|
D.PureComponent = Ba;
|
|
185
185
|
D.StrictMode = Qh;
|
|
186
186
|
D.Suspense = Zh;
|
|
187
187
|
D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = op;
|
|
188
|
-
D.act =
|
|
188
|
+
D.act = Vc;
|
|
189
189
|
D.cloneElement = function(e, t, n) {
|
|
190
190
|
if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
191
191
|
var r = Dc({}, e.props), o = e.key, s = e.ref, i = e._owner;
|
|
192
192
|
if (t != null) {
|
|
193
|
-
if (t.ref !== void 0 && (s = t.ref, i =
|
|
194
|
-
for (l in t) Uc.call(t, l) && !
|
|
193
|
+
if (t.ref !== void 0 && (s = t.ref, i = qa.current), t.key !== void 0 && (o = "" + t.key), e.type && e.type.defaultProps) var a = e.type.defaultProps;
|
|
194
|
+
for (l in t) Uc.call(t, l) && !qc.hasOwnProperty(l) && (r[l] = t[l] === void 0 && a !== void 0 ? a[l] : t[l]);
|
|
195
195
|
}
|
|
196
196
|
var l = arguments.length - 2;
|
|
197
197
|
if (l === 1) r.children = n;
|
|
@@ -205,9 +205,9 @@ D.cloneElement = function(e, t, n) {
|
|
|
205
205
|
D.createContext = function(e) {
|
|
206
206
|
return e = { $$typeof: Kh, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, e.Provider = { $$typeof: Yh, _context: e }, e.Consumer = e;
|
|
207
207
|
};
|
|
208
|
-
D.createElement =
|
|
208
|
+
D.createElement = Wc;
|
|
209
209
|
D.createFactory = function(e) {
|
|
210
|
-
var t =
|
|
210
|
+
var t = Wc.bind(null, e);
|
|
211
211
|
return t.type = e, t;
|
|
212
212
|
};
|
|
213
213
|
D.createRef = function() {
|
|
@@ -216,7 +216,7 @@ D.createRef = function() {
|
|
|
216
216
|
D.forwardRef = function(e) {
|
|
217
217
|
return { $$typeof: Xh, render: e };
|
|
218
218
|
};
|
|
219
|
-
D.isValidElement =
|
|
219
|
+
D.isValidElement = Wa;
|
|
220
220
|
D.lazy = function(e) {
|
|
221
221
|
return { $$typeof: Jh, _payload: { _status: -1, _result: e }, _init: rp };
|
|
222
222
|
};
|
|
@@ -232,7 +232,7 @@ D.startTransition = function(e) {
|
|
|
232
232
|
jo.transition = t;
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
|
-
D.unstable_act =
|
|
235
|
+
D.unstable_act = Vc;
|
|
236
236
|
D.useCallback = function(e, t) {
|
|
237
237
|
return Ae.current.useCallback(e, t);
|
|
238
238
|
};
|
|
@@ -280,7 +280,7 @@ D.useTransition = function() {
|
|
|
280
280
|
D.version = "18.3.1";
|
|
281
281
|
zc.exports = D;
|
|
282
282
|
var S = zc.exports;
|
|
283
|
-
const Yn = /* @__PURE__ */
|
|
283
|
+
const Yn = /* @__PURE__ */ qh(S);
|
|
284
284
|
var Qc = { exports: {} }, He = {}, Hc = { exports: {} }, Yc = {};
|
|
285
285
|
/**
|
|
286
286
|
* @license React
|
|
@@ -347,7 +347,7 @@ var Qc = { exports: {} }, He = {}, Hc = { exports: {} }, Yc = {};
|
|
|
347
347
|
if (w = !1, g(C), !y) if (n(l) !== null) y = !0, O(k);
|
|
348
348
|
else {
|
|
349
349
|
var P = n(u);
|
|
350
|
-
P !== null &&
|
|
350
|
+
P !== null && q(b, P.startTime - C);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
function k(C, P) {
|
|
@@ -366,7 +366,7 @@ var Qc = { exports: {} }, He = {}, Hc = { exports: {} }, Yc = {};
|
|
|
366
366
|
if (m !== null) var it = !0;
|
|
367
367
|
else {
|
|
368
368
|
var xe = n(u);
|
|
369
|
-
xe !== null &&
|
|
369
|
+
xe !== null && q(b, xe.startTime - P), it = !1;
|
|
370
370
|
}
|
|
371
371
|
return it;
|
|
372
372
|
} finally {
|
|
@@ -404,7 +404,7 @@ var Qc = { exports: {} }, He = {}, Hc = { exports: {} }, Yc = {};
|
|
|
404
404
|
function O(C) {
|
|
405
405
|
R = C, T || (T = !0, Ne());
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function q(C, P) {
|
|
408
408
|
E = I(function() {
|
|
409
409
|
C(e.unstable_now());
|
|
410
410
|
}, P);
|
|
@@ -474,7 +474,7 @@ var Qc = { exports: {} }, He = {}, Hc = { exports: {} }, Yc = {};
|
|
|
474
474
|
default:
|
|
475
475
|
te = 5e3;
|
|
476
476
|
}
|
|
477
|
-
return te = L + te, C = { id: d++, callback: P, priorityLevel: C, startTime: L, expirationTime: te, sortIndex: -1 }, L > U ? (C.sortIndex = L, t(u, C), n(l) === null && C === n(u) && (w ? (h(E), E = -1) : w = !0,
|
|
477
|
+
return te = L + te, C = { id: d++, callback: P, priorityLevel: C, startTime: L, expirationTime: te, sortIndex: -1 }, L > U ? (C.sortIndex = L, t(u, C), n(l) === null && C === n(u) && (w ? (h(E), E = -1) : w = !0, q(b, L - U))) : (C.sortIndex = te, t(l, C), y || v || (y = !0, O(k))), C;
|
|
478
478
|
}, e.unstable_shouldYield = F, e.unstable_wrapCallback = function(C) {
|
|
479
479
|
var P = f;
|
|
480
480
|
return function() {
|
|
@@ -574,23 +574,23 @@ var be = {};
|
|
|
574
574
|
["rowSpan", "start"].forEach(function(e) {
|
|
575
575
|
be[e] = new Me(e, 5, !1, e.toLowerCase(), null, !1, !1);
|
|
576
576
|
});
|
|
577
|
-
var
|
|
577
|
+
var Va = /[\-:]([a-z])/g;
|
|
578
578
|
function Qa(e) {
|
|
579
579
|
return e[1].toUpperCase();
|
|
580
580
|
}
|
|
581
581
|
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e) {
|
|
582
582
|
var t = e.replace(
|
|
583
|
-
|
|
583
|
+
Va,
|
|
584
584
|
Qa
|
|
585
585
|
);
|
|
586
586
|
be[t] = new Me(t, 1, !1, e, null, !1, !1);
|
|
587
587
|
});
|
|
588
588
|
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) {
|
|
589
|
-
var t = e.replace(
|
|
589
|
+
var t = e.replace(Va, Qa);
|
|
590
590
|
be[t] = new Me(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1);
|
|
591
591
|
});
|
|
592
592
|
["xml:base", "xml:lang", "xml:space"].forEach(function(e) {
|
|
593
|
-
var t = e.replace(
|
|
593
|
+
var t = e.replace(Va, Qa);
|
|
594
594
|
be[t] = new Me(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1);
|
|
595
595
|
});
|
|
596
596
|
["tabIndex", "crossOrigin"].forEach(function(e) {
|
|
@@ -836,7 +836,7 @@ function ts(e) {
|
|
|
836
836
|
return e.body;
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function qi(e, t) {
|
|
840
840
|
var n = t.checked;
|
|
841
841
|
return se({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: n != null ? n : e._wrapperState.initialChecked });
|
|
842
842
|
}
|
|
@@ -847,7 +847,7 @@ function gu(e, t) {
|
|
|
847
847
|
function td(e, t) {
|
|
848
848
|
t = t.checked, t != null && Ha(e, "checked", t, !1);
|
|
849
849
|
}
|
|
850
|
-
function
|
|
850
|
+
function Wi(e, t) {
|
|
851
851
|
td(e, t);
|
|
852
852
|
var n = tn(t.value), r = t.type;
|
|
853
853
|
if (n != null) r === "number" ? (n === 0 && e.value === "" || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n);
|
|
@@ -855,7 +855,7 @@ function qi(e, t) {
|
|
|
855
855
|
e.removeAttribute("value");
|
|
856
856
|
return;
|
|
857
857
|
}
|
|
858
|
-
t.hasOwnProperty("value") ?
|
|
858
|
+
t.hasOwnProperty("value") ? Vi(e, t.type, n) : t.hasOwnProperty("defaultValue") && Vi(e, t.type, tn(t.defaultValue)), t.checked == null && t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked);
|
|
859
859
|
}
|
|
860
860
|
function mu(e, t, n) {
|
|
861
861
|
if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
|
|
@@ -865,7 +865,7 @@ function mu(e, t, n) {
|
|
|
865
865
|
}
|
|
866
866
|
n = e.name, n !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, n !== "" && (e.name = n);
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function Vi(e, t, n) {
|
|
869
869
|
(t !== "number" || ts(e.ownerDocument) !== e) && (n == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n));
|
|
870
870
|
}
|
|
871
871
|
var wr = Array.isArray;
|
|
@@ -1039,7 +1039,7 @@ var Xi = null;
|
|
|
1039
1039
|
function Za(e) {
|
|
1040
1040
|
return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;
|
|
1041
1041
|
}
|
|
1042
|
-
var Zi = null, Un = null,
|
|
1042
|
+
var Zi = null, Un = null, qn = null;
|
|
1043
1043
|
function vu(e) {
|
|
1044
1044
|
if (e = ao(e)) {
|
|
1045
1045
|
if (typeof Zi != "function") throw Error(x(280));
|
|
@@ -1048,12 +1048,12 @@ function vu(e) {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
}
|
|
1050
1050
|
function ad(e) {
|
|
1051
|
-
Un ?
|
|
1051
|
+
Un ? qn ? qn.push(e) : qn = [e] : Un = e;
|
|
1052
1052
|
}
|
|
1053
1053
|
function ld() {
|
|
1054
1054
|
if (Un) {
|
|
1055
|
-
var e = Un, t =
|
|
1056
|
-
if (
|
|
1055
|
+
var e = Un, t = qn;
|
|
1056
|
+
if (qn = Un = null, vu(e), t) for (e = 0; e < t.length; e++) vu(t[e]);
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
1059
|
function ud(e, t) {
|
|
@@ -1068,7 +1068,7 @@ function dd(e, t, n) {
|
|
|
1068
1068
|
try {
|
|
1069
1069
|
return ud(e, t, n);
|
|
1070
1070
|
} finally {
|
|
1071
|
-
li = !1, (Un !== null ||
|
|
1071
|
+
li = !1, (Un !== null || qn !== null) && (cd(), ld());
|
|
1072
1072
|
}
|
|
1073
1073
|
}
|
|
1074
1074
|
function Or(e, t) {
|
|
@@ -1376,7 +1376,7 @@ var Y = 0;
|
|
|
1376
1376
|
function vd(e) {
|
|
1377
1377
|
return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1;
|
|
1378
1378
|
}
|
|
1379
|
-
var bd, el, xd, kd, Sd, ta = !1, bo = [], Ht = null, Yt = null, Kt = null, Dr = /* @__PURE__ */ new Map(), Fr = /* @__PURE__ */ new Map(),
|
|
1379
|
+
var bd, el, xd, kd, Sd, ta = !1, bo = [], Ht = null, Yt = null, Kt = null, Dr = /* @__PURE__ */ new Map(), Fr = /* @__PURE__ */ new Map(), qt = [], Np = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
|
|
1380
1380
|
function ku(e, t) {
|
|
1381
1381
|
switch (e) {
|
|
1382
1382
|
case "focusin":
|
|
@@ -1472,26 +1472,26 @@ function Br(e) {
|
|
|
1472
1472
|
r.blockedOn === e && (r.blockedOn = null);
|
|
1473
1473
|
}
|
|
1474
1474
|
}
|
|
1475
|
-
for (Ht !== null && cr(Ht, e), Yt !== null && cr(Yt, e), Kt !== null && cr(Kt, e), Dr.forEach(t), Fr.forEach(t), n = 0; n <
|
|
1476
|
-
for (; 0 <
|
|
1475
|
+
for (Ht !== null && cr(Ht, e), Yt !== null && cr(Yt, e), Kt !== null && cr(Kt, e), Dr.forEach(t), Fr.forEach(t), n = 0; n < qt.length; n++) r = qt[n], r.blockedOn === e && (r.blockedOn = null);
|
|
1476
|
+
for (; 0 < qt.length && (n = qt[0], n.blockedOn === null); ) Cd(n), n.blockedOn === null && qt.shift();
|
|
1477
1477
|
}
|
|
1478
|
-
var
|
|
1478
|
+
var Wn = zt.ReactCurrentBatchConfig, is = !0;
|
|
1479
1479
|
function $p(e, t, n, r) {
|
|
1480
|
-
var o = Y, s =
|
|
1481
|
-
|
|
1480
|
+
var o = Y, s = Wn.transition;
|
|
1481
|
+
Wn.transition = null;
|
|
1482
1482
|
try {
|
|
1483
1483
|
Y = 1, tl(e, t, n, r);
|
|
1484
1484
|
} finally {
|
|
1485
|
-
Y = o,
|
|
1485
|
+
Y = o, Wn.transition = s;
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
1488
|
function jp(e, t, n, r) {
|
|
1489
|
-
var o = Y, s =
|
|
1490
|
-
|
|
1489
|
+
var o = Y, s = Wn.transition;
|
|
1490
|
+
Wn.transition = null;
|
|
1491
1491
|
try {
|
|
1492
1492
|
Y = 4, tl(e, t, n, r);
|
|
1493
1493
|
} finally {
|
|
1494
|
-
Y = o,
|
|
1494
|
+
Y = o, Wn.transition = s;
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
1497
|
function tl(e, t, n, r) {
|
|
@@ -1613,10 +1613,10 @@ function Ed(e) {
|
|
|
1613
1613
|
return 16;
|
|
1614
1614
|
}
|
|
1615
1615
|
}
|
|
1616
|
-
var
|
|
1616
|
+
var Vt = null, nl = null, Oo = null;
|
|
1617
1617
|
function Td() {
|
|
1618
1618
|
if (Oo) return Oo;
|
|
1619
|
-
var e, t = nl, n = t.length, r, o = "value" in
|
|
1619
|
+
var e, t = nl, n = t.length, r, o = "value" in Vt ? Vt.value : Vt.textContent, s = o.length;
|
|
1620
1620
|
for (e = 0; e < n && t[e] === o[e]; e++) ;
|
|
1621
1621
|
var i = n - e;
|
|
1622
1622
|
for (r = 1; r <= i && t[n - r] === o[s - r]; r++) ;
|
|
@@ -1656,9 +1656,9 @@ var sr = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
|
|
|
1656
1656
|
return "movementX" in e ? e.movementX : (e !== dr && (dr && e.type === "mousemove" ? (ci = e.screenX - dr.screenX, di = e.screenY - dr.screenY) : di = ci = 0, dr = e), ci);
|
|
1657
1657
|
}, movementY: function(e) {
|
|
1658
1658
|
return "movementY" in e ? e.movementY : di;
|
|
1659
|
-
} }), Eu = Ye(js), Op = se({}, js, { dataTransfer: 0 }), Dp = Ye(Op), Fp = se({}, io, { relatedTarget: 0 }), fi = Ye(Fp), Bp = se({}, sr, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Up = Ye(Bp),
|
|
1659
|
+
} }), Eu = Ye(js), Op = se({}, js, { dataTransfer: 0 }), Dp = Ye(Op), Fp = se({}, io, { relatedTarget: 0 }), fi = Ye(Fp), Bp = se({}, sr, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Up = Ye(Bp), qp = se({}, sr, { clipboardData: function(e) {
|
|
1660
1660
|
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
|
|
1661
|
-
} }),
|
|
1661
|
+
} }), Wp = Ye(qp), Vp = se({}, sr, { data: 0 }), Tu = Ye(Vp), Qp = {
|
|
1662
1662
|
Esc: "Escape",
|
|
1663
1663
|
Spacebar: " ",
|
|
1664
1664
|
Left: "ArrowLeft",
|
|
@@ -1771,7 +1771,7 @@ function ag(e, t) {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
1773
|
function lg(e, t) {
|
|
1774
|
-
if (An) return e === "compositionend" || !sl && _d(e, t) ? (e = Td(), Oo = nl =
|
|
1774
|
+
if (An) return e === "compositionend" || !sl && _d(e, t) ? (e = Td(), Oo = nl = Vt = null, An = !1, e) : null;
|
|
1775
1775
|
switch (e) {
|
|
1776
1776
|
case "paste":
|
|
1777
1777
|
return null;
|
|
@@ -1844,7 +1844,7 @@ function mg(e, t) {
|
|
|
1844
1844
|
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
1845
1845
|
}
|
|
1846
1846
|
var pt = typeof Object.is == "function" ? Object.is : mg;
|
|
1847
|
-
function
|
|
1847
|
+
function qr(e, t) {
|
|
1848
1848
|
if (pt(e, t)) return !0;
|
|
1849
1849
|
if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1;
|
|
1850
1850
|
var n = Object.keys(e), r = Object.keys(t);
|
|
@@ -1923,7 +1923,7 @@ function yg(e) {
|
|
|
1923
1923
|
var wg = Pt && "documentMode" in document && 11 >= document.documentMode, Mn = null, ra = null, Tr = null, oa = !1;
|
|
1924
1924
|
function $u(e, t, n) {
|
|
1925
1925
|
var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
|
|
1926
|
-
oa || Mn == null || Mn !== ts(r) || (r = Mn, "selectionStart" in r && il(r) ? r = { start: r.selectionStart, end: r.selectionEnd } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = { anchorNode: r.anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }), Tr &&
|
|
1926
|
+
oa || Mn == null || Mn !== ts(r) || (r = Mn, "selectionStart" in r && il(r) ? r = { start: r.selectionStart, end: r.selectionEnd } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = { anchorNode: r.anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }), Tr && qr(Tr, r) || (Tr = r, r = ls(ra, "onSelect"), 0 < r.length && (t = new rl("onSelect", "select", null, t, n), e.push({ event: t, listeners: r }), t.target = Mn)));
|
|
1927
1927
|
}
|
|
1928
1928
|
function ko(e, t) {
|
|
1929
1929
|
var n = {};
|
|
@@ -1999,7 +1999,7 @@ function wi(e, t, n) {
|
|
|
1999
1999
|
t && (r |= 4), Ud(n, e, r, t);
|
|
2000
2000
|
}
|
|
2001
2001
|
var So = "_reactListening" + Math.random().toString(36).slice(2);
|
|
2002
|
-
function
|
|
2002
|
+
function Wr(e) {
|
|
2003
2003
|
if (!e[So]) {
|
|
2004
2004
|
e[So] = !0, Kc.forEach(function(n) {
|
|
2005
2005
|
n !== "selectionchange" && (xg.has(n) || wi(n, !1, e), wi(n, !0, e));
|
|
@@ -2113,7 +2113,7 @@ function vi(e, t, n, r, o) {
|
|
|
2113
2113
|
case "copy":
|
|
2114
2114
|
case "cut":
|
|
2115
2115
|
case "paste":
|
|
2116
|
-
v =
|
|
2116
|
+
v = Wp;
|
|
2117
2117
|
break;
|
|
2118
2118
|
case "gotpointercapture":
|
|
2119
2119
|
case "lostpointercapture":
|
|
@@ -2130,7 +2130,7 @@ function vi(e, t, n, r, o) {
|
|
|
2130
2130
|
for (var c = u, g; c !== null; ) {
|
|
2131
2131
|
g = c;
|
|
2132
2132
|
var b = g.stateNode;
|
|
2133
|
-
if (g.tag === 5 && b !== null && (g = b, h !== null && (b = Or(c, h), b != null && w.push(
|
|
2133
|
+
if (g.tag === 5 && b !== null && (g = b, h !== null && (b = Or(c, h), b != null && w.push(Vr(c, b, g)))), I) break;
|
|
2134
2134
|
c = c.return;
|
|
2135
2135
|
}
|
|
2136
2136
|
0 < w.length && (f = new v(f, y, null, n, d), m.push({ event: f, listeners: w }));
|
|
@@ -2167,7 +2167,7 @@ function vi(e, t, n, r, o) {
|
|
|
2167
2167
|
Ad(m, k, n, d);
|
|
2168
2168
|
break e;
|
|
2169
2169
|
}
|
|
2170
|
-
T && T(e, f, u), e === "focusout" && (T = f._wrapperState) && T.controlled && f.type === "number" &&
|
|
2170
|
+
T && T(e, f, u), e === "focusout" && (T = f._wrapperState) && T.controlled && f.type === "number" && Vi(f, "number", f.value);
|
|
2171
2171
|
}
|
|
2172
2172
|
switch (T = u ? Pn(u) : window, e) {
|
|
2173
2173
|
case "focusin":
|
|
@@ -2206,18 +2206,18 @@ function vi(e, t, n, r, o) {
|
|
|
2206
2206
|
E = void 0;
|
|
2207
2207
|
}
|
|
2208
2208
|
else An ? _d(e, n) && (E = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (E = "onCompositionStart");
|
|
2209
|
-
E && (Rd && n.locale !== "ko" && (An || E !== "onCompositionStart" ? E === "onCompositionEnd" && An && (R = Td()) : (
|
|
2209
|
+
E && (Rd && n.locale !== "ko" && (An || E !== "onCompositionStart" ? E === "onCompositionEnd" && An && (R = Td()) : (Vt = d, nl = "value" in Vt ? Vt.value : Vt.textContent, An = !0)), T = ls(u, E), 0 < T.length && (E = new Tu(E, e, null, n, d), m.push({ event: E, listeners: T }), R ? E.data = R : (R = Id(n), R !== null && (E.data = R)))), (R = ig ? ag(e, n) : lg(e, n)) && (u = ls(u, "onBeforeInput"), 0 < u.length && (d = new Tu("onBeforeInput", "beforeinput", null, n, d), m.push({ event: d, listeners: u }), d.data = R));
|
|
2210
2210
|
}
|
|
2211
2211
|
Bd(m, t);
|
|
2212
2212
|
});
|
|
2213
2213
|
}
|
|
2214
|
-
function
|
|
2214
|
+
function Vr(e, t, n) {
|
|
2215
2215
|
return { instance: e, listener: t, currentTarget: n };
|
|
2216
2216
|
}
|
|
2217
2217
|
function ls(e, t) {
|
|
2218
2218
|
for (var n = t + "Capture", r = []; e !== null; ) {
|
|
2219
2219
|
var o = e, s = o.stateNode;
|
|
2220
|
-
o.tag === 5 && s !== null && (o = s, s = Or(e, n), s != null && r.unshift(
|
|
2220
|
+
o.tag === 5 && s !== null && (o = s, s = Or(e, n), s != null && r.unshift(Vr(e, s, o)), s = Or(e, t), s != null && r.push(Vr(e, s, o))), e = e.return;
|
|
2221
2221
|
}
|
|
2222
2222
|
return r;
|
|
2223
2223
|
}
|
|
@@ -2232,7 +2232,7 @@ function Ou(e, t, n, r, o) {
|
|
|
2232
2232
|
for (var s = t._reactName, i = []; n !== null && n !== r; ) {
|
|
2233
2233
|
var a = n, l = a.alternate, u = a.stateNode;
|
|
2234
2234
|
if (l !== null && l === r) break;
|
|
2235
|
-
a.tag === 5 && u !== null && (a = u, o ? (l = Or(n, s), l != null && i.unshift(
|
|
2235
|
+
a.tag === 5 && u !== null && (a = u, o ? (l = Or(n, s), l != null && i.unshift(Vr(n, l, a))) : o || (l = Or(n, s), l != null && i.push(Vr(n, l, a)))), n = n.return;
|
|
2236
2236
|
}
|
|
2237
2237
|
i.length !== 0 && e.push({ event: t, listeners: i });
|
|
2238
2238
|
}
|
|
@@ -2354,7 +2354,7 @@ function Uu(e, t, n) {
|
|
|
2354
2354
|
if (Te.current !== nn) throw Error(x(168));
|
|
2355
2355
|
G(Te, t), G(ze, n);
|
|
2356
2356
|
}
|
|
2357
|
-
function
|
|
2357
|
+
function qd(e, t, n) {
|
|
2358
2358
|
var r = e.stateNode;
|
|
2359
2359
|
if (t = t.childContextTypes, typeof r.getChildContext != "function") return n;
|
|
2360
2360
|
r = r.getChildContext();
|
|
@@ -2364,17 +2364,17 @@ function Vd(e, t, n) {
|
|
|
2364
2364
|
function ds(e) {
|
|
2365
2365
|
return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || nn, gn = Te.current, G(Te, e), G(ze, ze.current), !0;
|
|
2366
2366
|
}
|
|
2367
|
-
function
|
|
2367
|
+
function qu(e, t, n) {
|
|
2368
2368
|
var r = e.stateNode;
|
|
2369
2369
|
if (!r) throw Error(x(169));
|
|
2370
|
-
n ? (e =
|
|
2370
|
+
n ? (e = qd(e, t, gn), r.__reactInternalMemoizedMergedChildContext = e, ee(ze), ee(Te), G(Te, e)) : ee(ze), G(ze, n);
|
|
2371
2371
|
}
|
|
2372
2372
|
var Tt = null, Fs = !1, xi = !1;
|
|
2373
|
-
function
|
|
2373
|
+
function Wd(e) {
|
|
2374
2374
|
Tt === null ? Tt = [e] : Tt.push(e);
|
|
2375
2375
|
}
|
|
2376
2376
|
function Ig(e) {
|
|
2377
|
-
Fs = !0,
|
|
2377
|
+
Fs = !0, Wd(e);
|
|
2378
2378
|
}
|
|
2379
2379
|
function sn() {
|
|
2380
2380
|
if (!xi && Tt !== null) {
|
|
@@ -2401,7 +2401,7 @@ var $n = [], jn = 0, fs = null, hs = 0, Ge = [], Je = 0, mn = null, _t = 1, It =
|
|
|
2401
2401
|
function an(e, t) {
|
|
2402
2402
|
$n[jn++] = hs, $n[jn++] = fs, fs = e, hs = t;
|
|
2403
2403
|
}
|
|
2404
|
-
function
|
|
2404
|
+
function Vd(e, t, n) {
|
|
2405
2405
|
Ge[Je++] = _t, Ge[Je++] = It, Ge[Je++] = mn, mn = e;
|
|
2406
2406
|
var r = _t;
|
|
2407
2407
|
e = It;
|
|
@@ -2414,26 +2414,26 @@ function Wd(e, t, n) {
|
|
|
2414
2414
|
} else _t = 1 << s | n << o | r, It = e;
|
|
2415
2415
|
}
|
|
2416
2416
|
function al(e) {
|
|
2417
|
-
e.return !== null && (an(e, 1),
|
|
2417
|
+
e.return !== null && (an(e, 1), Vd(e, 1, 0));
|
|
2418
2418
|
}
|
|
2419
2419
|
function ll(e) {
|
|
2420
2420
|
for (; e === fs; ) fs = $n[--jn], $n[jn] = null, hs = $n[--jn], $n[jn] = null;
|
|
2421
2421
|
for (; e === mn; ) mn = Ge[--Je], Ge[Je] = null, It = Ge[--Je], Ge[Je] = null, _t = Ge[--Je], Ge[Je] = null;
|
|
2422
2422
|
}
|
|
2423
|
-
var
|
|
2423
|
+
var Ve = null, We = null, ne = !1, dt = null;
|
|
2424
2424
|
function Qd(e, t) {
|
|
2425
2425
|
var n = tt(5, null, null, 0);
|
|
2426
2426
|
n.elementType = "DELETED", n.stateNode = t, n.return = e, t = e.deletions, t === null ? (e.deletions = [n], e.flags |= 16) : t.push(n);
|
|
2427
2427
|
}
|
|
2428
|
-
function
|
|
2428
|
+
function Wu(e, t) {
|
|
2429
2429
|
switch (e.tag) {
|
|
2430
2430
|
case 5:
|
|
2431
2431
|
var n = e.type;
|
|
2432
|
-
return t = t.nodeType !== 1 || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t,
|
|
2432
|
+
return t = t.nodeType !== 1 || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, Ve = e, We = Xt(t.firstChild), !0) : !1;
|
|
2433
2433
|
case 6:
|
|
2434
|
-
return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t,
|
|
2434
|
+
return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, Ve = e, We = null, !0) : !1;
|
|
2435
2435
|
case 13:
|
|
2436
|
-
return t = t.nodeType !== 8 ? null : t, t !== null ? (n = mn !== null ? { id: _t, overflow: It } : null, e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }, n = tt(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n,
|
|
2436
|
+
return t = t.nodeType !== 8 ? null : t, t !== null ? (n = mn !== null ? { id: _t, overflow: It } : null, e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }, n = tt(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, Ve = e, We = null, !0) : !1;
|
|
2437
2437
|
default:
|
|
2438
2438
|
return !1;
|
|
2439
2439
|
}
|
|
@@ -2443,34 +2443,34 @@ function da(e) {
|
|
|
2443
2443
|
}
|
|
2444
2444
|
function fa(e) {
|
|
2445
2445
|
if (ne) {
|
|
2446
|
-
var t =
|
|
2446
|
+
var t = We;
|
|
2447
2447
|
if (t) {
|
|
2448
2448
|
var n = t;
|
|
2449
|
-
if (!
|
|
2449
|
+
if (!Wu(e, t)) {
|
|
2450
2450
|
if (da(e)) throw Error(x(418));
|
|
2451
2451
|
t = Xt(n.nextSibling);
|
|
2452
|
-
var r =
|
|
2453
|
-
t &&
|
|
2452
|
+
var r = Ve;
|
|
2453
|
+
t && Wu(e, t) ? Qd(r, n) : (e.flags = e.flags & -4097 | 2, ne = !1, Ve = e);
|
|
2454
2454
|
}
|
|
2455
2455
|
} else {
|
|
2456
2456
|
if (da(e)) throw Error(x(418));
|
|
2457
|
-
e.flags = e.flags & -4097 | 2, ne = !1,
|
|
2457
|
+
e.flags = e.flags & -4097 | 2, ne = !1, Ve = e;
|
|
2458
2458
|
}
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
|
-
function
|
|
2461
|
+
function Vu(e) {
|
|
2462
2462
|
for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) e = e.return;
|
|
2463
|
-
|
|
2463
|
+
Ve = e;
|
|
2464
2464
|
}
|
|
2465
2465
|
function Eo(e) {
|
|
2466
|
-
if (e !==
|
|
2467
|
-
if (!ne) return
|
|
2466
|
+
if (e !== Ve) return !1;
|
|
2467
|
+
if (!ne) return Vu(e), ne = !0, !1;
|
|
2468
2468
|
var t;
|
|
2469
|
-
if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !aa(e.type, e.memoizedProps)), t && (t =
|
|
2469
|
+
if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !aa(e.type, e.memoizedProps)), t && (t = We)) {
|
|
2470
2470
|
if (da(e)) throw Hd(), Error(x(418));
|
|
2471
2471
|
for (; t; ) Qd(e, t), t = Xt(t.nextSibling);
|
|
2472
2472
|
}
|
|
2473
|
-
if (
|
|
2473
|
+
if (Vu(e), e.tag === 13) {
|
|
2474
2474
|
if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(x(317));
|
|
2475
2475
|
e: {
|
|
2476
2476
|
for (e = e.nextSibling, t = 0; e; ) {
|
|
@@ -2478,7 +2478,7 @@ function Eo(e) {
|
|
|
2478
2478
|
var n = e.data;
|
|
2479
2479
|
if (n === "/$") {
|
|
2480
2480
|
if (t === 0) {
|
|
2481
|
-
|
|
2481
|
+
We = Xt(e.nextSibling);
|
|
2482
2482
|
break e;
|
|
2483
2483
|
}
|
|
2484
2484
|
t--;
|
|
@@ -2486,16 +2486,16 @@ function Eo(e) {
|
|
|
2486
2486
|
}
|
|
2487
2487
|
e = e.nextSibling;
|
|
2488
2488
|
}
|
|
2489
|
-
|
|
2489
|
+
We = null;
|
|
2490
2490
|
}
|
|
2491
|
-
} else
|
|
2491
|
+
} else We = Ve ? Xt(e.stateNode.nextSibling) : null;
|
|
2492
2492
|
return !0;
|
|
2493
2493
|
}
|
|
2494
2494
|
function Hd() {
|
|
2495
|
-
for (var e =
|
|
2495
|
+
for (var e = We; e; ) e = Xt(e.nextSibling);
|
|
2496
2496
|
}
|
|
2497
2497
|
function Zn() {
|
|
2498
|
-
|
|
2498
|
+
We = Ve = null, ne = !1;
|
|
2499
2499
|
}
|
|
2500
2500
|
function ul(e) {
|
|
2501
2501
|
dt === null ? dt = [e] : dt.push(e);
|
|
@@ -2733,7 +2733,7 @@ function ha(e, t, n) {
|
|
|
2733
2733
|
e = e.return;
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
2736
|
-
function
|
|
2736
|
+
function Vn(e, t) {
|
|
2737
2737
|
gs = e, cl = zn = null, e = e.dependencies, e !== null && e.firstContext !== null && (e.lanes & t && (je = !0), e.firstContext = null);
|
|
2738
2738
|
}
|
|
2739
2739
|
function ot(e) {
|
|
@@ -3293,7 +3293,7 @@ var Us = { isMounted: function(e) {
|
|
|
3293
3293
|
o.tag = 2, t != null && (o.callback = t), t = Zt(e, o, r), t !== null && (ht(t, e, r, n), Fo(t, e, r));
|
|
3294
3294
|
} };
|
|
3295
3295
|
function Zu(e, t, n, r, o, s, i) {
|
|
3296
|
-
return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, s, i) : t.prototype && t.prototype.isPureReactComponent ? !
|
|
3296
|
+
return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, s, i) : t.prototype && t.prototype.isPureReactComponent ? !qr(n, r) || !qr(o, s) : !0;
|
|
3297
3297
|
}
|
|
3298
3298
|
function vf(e, t, n) {
|
|
3299
3299
|
var r = !1, o = nn, s = t.contextType;
|
|
@@ -3387,7 +3387,7 @@ function Re(e, t, n, r) {
|
|
|
3387
3387
|
function nc(e, t, n, r, o) {
|
|
3388
3388
|
n = n.render;
|
|
3389
3389
|
var s = t.ref;
|
|
3390
|
-
return
|
|
3390
|
+
return Vn(t, o), r = vl(e, t, n, r, s, o), n = bl(), e !== null && !je ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o, jt(e, t, o)) : (ne && n && al(t), t.flags |= 1, Re(e, t, r, o), t.child);
|
|
3391
3391
|
}
|
|
3392
3392
|
function rc(e, t, n, r, o) {
|
|
3393
3393
|
if (e === null) {
|
|
@@ -3396,14 +3396,14 @@ function rc(e, t, n, r, o) {
|
|
|
3396
3396
|
}
|
|
3397
3397
|
if (s = e.child, !(e.lanes & o)) {
|
|
3398
3398
|
var i = s.memoizedProps;
|
|
3399
|
-
if (n = n.compare, n = n !== null ? n :
|
|
3399
|
+
if (n = n.compare, n = n !== null ? n : qr, n(i, r) && e.ref === t.ref) return jt(e, t, o);
|
|
3400
3400
|
}
|
|
3401
3401
|
return t.flags |= 1, e = en(s, r), e.ref = t.ref, e.return = t, t.child = e;
|
|
3402
3402
|
}
|
|
3403
3403
|
function kf(e, t, n, r, o) {
|
|
3404
3404
|
if (e !== null) {
|
|
3405
3405
|
var s = e.memoizedProps;
|
|
3406
|
-
if (
|
|
3406
|
+
if (qr(s, r) && e.ref === t.ref) if (je = !1, t.pendingProps = r = s, (e.lanes & o) !== 0) e.flags & 131072 && (je = !0);
|
|
3407
3407
|
else return t.lanes = e.lanes, jt(e, t, o);
|
|
3408
3408
|
}
|
|
3409
3409
|
return ya(e, t, n, r, o);
|
|
@@ -3424,14 +3424,14 @@ function Cf(e, t) {
|
|
|
3424
3424
|
}
|
|
3425
3425
|
function ya(e, t, n, r, o) {
|
|
3426
3426
|
var s = Oe(n) ? gn : Te.current;
|
|
3427
|
-
return s = Xn(t, s),
|
|
3427
|
+
return s = Xn(t, s), Vn(t, o), n = vl(e, t, n, r, s, o), r = bl(), e !== null && !je ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o, jt(e, t, o)) : (ne && r && al(t), t.flags |= 1, Re(e, t, n, o), t.child);
|
|
3428
3428
|
}
|
|
3429
3429
|
function oc(e, t, n, r, o) {
|
|
3430
3430
|
if (Oe(n)) {
|
|
3431
3431
|
var s = !0;
|
|
3432
3432
|
ds(t);
|
|
3433
3433
|
} else s = !1;
|
|
3434
|
-
if (
|
|
3434
|
+
if (Vn(t, o), t.stateNode === null) qo(e, t), vf(t, n, r), ga(t, n, r, o), r = !0;
|
|
3435
3435
|
else if (e === null) {
|
|
3436
3436
|
var i = t.stateNode, a = t.memoizedProps;
|
|
3437
3437
|
i.props = a;
|
|
@@ -3453,10 +3453,10 @@ function oc(e, t, n, r, o) {
|
|
|
3453
3453
|
function wa(e, t, n, r, o, s) {
|
|
3454
3454
|
Cf(e, t);
|
|
3455
3455
|
var i = (t.flags & 128) !== 0;
|
|
3456
|
-
if (!r && !i) return o &&
|
|
3456
|
+
if (!r && !i) return o && qu(t, n, !1), jt(e, t, s);
|
|
3457
3457
|
r = t.stateNode, Dg.current = t;
|
|
3458
3458
|
var a = i && typeof n.getDerivedStateFromError != "function" ? null : r.render();
|
|
3459
|
-
return t.flags |= 1, e !== null && i ? (t.child = Gn(t, e.child, null, s), t.child = Gn(t, null, a, s)) : Re(e, t, a, s), t.memoizedState = r.state, o &&
|
|
3459
|
+
return t.flags |= 1, e !== null && i ? (t.child = Gn(t, e.child, null, s), t.child = Gn(t, null, a, s)) : Re(e, t, a, s), t.memoizedState = r.state, o && qu(t, n, !0), t.child;
|
|
3460
3460
|
}
|
|
3461
3461
|
function Ef(e) {
|
|
3462
3462
|
var t = e.stateNode;
|
|
@@ -3472,7 +3472,7 @@ function ba(e) {
|
|
|
3472
3472
|
function Tf(e, t, n) {
|
|
3473
3473
|
var r = t.pendingProps, o = re.current, s = !1, i = (t.flags & 128) !== 0, a;
|
|
3474
3474
|
if ((a = i) || (a = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), a ? (s = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (o |= 1), G(re, o & 1), e === null)
|
|
3475
|
-
return fa(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (i = r.children, e = r.fallback, s ? (r = t.mode, s = t.child, i = { mode: "hidden", children: i }, !(r & 1) && s !== null ? (s.childLanes = 0, s.pendingProps = i) : s =
|
|
3475
|
+
return fa(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (i = r.children, e = r.fallback, s ? (r = t.mode, s = t.child, i = { mode: "hidden", children: i }, !(r & 1) && s !== null ? (s.childLanes = 0, s.pendingProps = i) : s = Vs(i, r, 0, null), e = hn(e, r, n, null), s.return = t, e.return = t, s.sibling = e, t.child = s, t.child.memoizedState = ba(n), t.memoizedState = va, e) : Sl(t, i));
|
|
3476
3476
|
if (o = e.memoizedState, o !== null && (a = o.dehydrated, a !== null)) return Fg(e, t, i, r, a, o, n);
|
|
3477
3477
|
if (s) {
|
|
3478
3478
|
s = r.fallback, i = t.mode, o = e.child, a = o.sibling;
|
|
@@ -3482,14 +3482,14 @@ function Tf(e, t, n) {
|
|
|
3482
3482
|
return s = e.child, e = s.sibling, r = en(s, { mode: "visible", children: r.children }), !(t.mode & 1) && (r.lanes = n), r.return = t, r.sibling = null, e !== null && (n = t.deletions, n === null ? (t.deletions = [e], t.flags |= 16) : n.push(e)), t.child = r, t.memoizedState = null, r;
|
|
3483
3483
|
}
|
|
3484
3484
|
function Sl(e, t) {
|
|
3485
|
-
return t =
|
|
3485
|
+
return t = Vs({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t;
|
|
3486
3486
|
}
|
|
3487
3487
|
function Ro(e, t, n, r) {
|
|
3488
3488
|
return r !== null && ul(r), Gn(t, e.child, null, n), e = Sl(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
|
|
3489
3489
|
}
|
|
3490
3490
|
function Fg(e, t, n, r, o, s, i) {
|
|
3491
3491
|
if (n)
|
|
3492
|
-
return t.flags & 256 ? (t.flags &= -257, r = Ti(Error(x(422))), Ro(e, t, i, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (s = r.fallback, o = t.mode, r =
|
|
3492
|
+
return t.flags & 256 ? (t.flags &= -257, r = Ti(Error(x(422))), Ro(e, t, i, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (s = r.fallback, o = t.mode, r = Vs({ mode: "visible", children: r.children }, o, 0, null), s = hn(s, o, i, null), s.flags |= 2, r.return = t, s.return = t, r.sibling = s, t.child = r, t.mode & 1 && Gn(t, e.child, null, i), t.child.memoizedState = ba(i), t.memoizedState = va, s);
|
|
3493
3493
|
if (!(t.mode & 1)) return Ro(e, t, i, null);
|
|
3494
3494
|
if (o.data === "$!") {
|
|
3495
3495
|
if (r = o.nextSibling && o.nextSibling.dataset, r) var a = r.dgst;
|
|
@@ -3537,7 +3537,7 @@ function Fg(e, t, n, r, o, s, i) {
|
|
|
3537
3537
|
}
|
|
3538
3538
|
return Il(), r = Ti(Error(x(421))), Ro(e, t, i, r);
|
|
3539
3539
|
}
|
|
3540
|
-
return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Jg.bind(null, e), o._reactRetry = t, null) : (e = s.treeContext,
|
|
3540
|
+
return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Jg.bind(null, e), o._reactRetry = t, null) : (e = s.treeContext, We = Xt(o.nextSibling), Ve = t, ne = !0, dt = null, e !== null && (Ge[Je++] = _t, Ge[Je++] = It, Ge[Je++] = mn, _t = e.id, It = e.overflow, mn = t), t = Sl(t, r.children), t.flags |= 4096, t);
|
|
3541
3541
|
}
|
|
3542
3542
|
function ic(e, t, n) {
|
|
3543
3543
|
e.lanes |= t;
|
|
@@ -3592,7 +3592,7 @@ function Rf(e, t, n) {
|
|
|
3592
3592
|
}
|
|
3593
3593
|
return t.child;
|
|
3594
3594
|
}
|
|
3595
|
-
function
|
|
3595
|
+
function qo(e, t) {
|
|
3596
3596
|
!(t.mode & 1) && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2);
|
|
3597
3597
|
}
|
|
3598
3598
|
function jt(e, t, n) {
|
|
@@ -3665,7 +3665,7 @@ If = function(e, t, n, r) {
|
|
|
3665
3665
|
var s = null;
|
|
3666
3666
|
switch (n) {
|
|
3667
3667
|
case "input":
|
|
3668
|
-
o =
|
|
3668
|
+
o = qi(e, o), r = qi(e, r), s = [];
|
|
3669
3669
|
break;
|
|
3670
3670
|
case "select":
|
|
3671
3671
|
o = se({}, o, { value: void 0 }), r = se({}, r, { value: void 0 }), s = [];
|
|
@@ -3842,7 +3842,7 @@ function Ug(e, t, n) {
|
|
|
3842
3842
|
J("toggle", e), o = r;
|
|
3843
3843
|
break;
|
|
3844
3844
|
case "input":
|
|
3845
|
-
gu(e, r), o =
|
|
3845
|
+
gu(e, r), o = qi(e, r), J("invalid", e);
|
|
3846
3846
|
break;
|
|
3847
3847
|
case "option":
|
|
3848
3848
|
o = r;
|
|
@@ -3906,7 +3906,7 @@ function Ug(e, t, n) {
|
|
|
3906
3906
|
else {
|
|
3907
3907
|
if (typeof r != "string" && t.stateNode === null) throw Error(x(166));
|
|
3908
3908
|
if (n = dn(Yr.current), dn(kt.current), Eo(t)) {
|
|
3909
|
-
if (r = t.stateNode, n = t.memoizedProps, r[vt] = t, (s = r.nodeValue !== n) && (e =
|
|
3909
|
+
if (r = t.stateNode, n = t.memoizedProps, r[vt] = t, (s = r.nodeValue !== n) && (e = Ve, e !== null)) switch (e.tag) {
|
|
3910
3910
|
case 3:
|
|
3911
3911
|
Co(r.nodeValue, n, (e.mode & 1) !== 0);
|
|
3912
3912
|
break;
|
|
@@ -3919,7 +3919,7 @@ function Ug(e, t, n) {
|
|
|
3919
3919
|
return Se(t), null;
|
|
3920
3920
|
case 13:
|
|
3921
3921
|
if (ee(re), r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
|
|
3922
|
-
if (ne &&
|
|
3922
|
+
if (ne && We !== null && t.mode & 1 && !(t.flags & 128)) Hd(), Zn(), t.flags |= 98560, s = !1;
|
|
3923
3923
|
else if (s = Eo(t), r !== null && r.dehydrated !== null) {
|
|
3924
3924
|
if (e === null) {
|
|
3925
3925
|
if (!s) throw Error(x(318));
|
|
@@ -3932,7 +3932,7 @@ function Ug(e, t, n) {
|
|
|
3932
3932
|
}
|
|
3933
3933
|
return t.flags & 128 ? (t.lanes = n, t) : (r = r !== null, r !== (e !== null && e.memoizedState !== null) && r && (t.child.flags |= 8192, t.mode & 1 && (e === null || re.current & 1 ? pe === 0 && (pe = 3) : Il())), t.updateQueue !== null && (t.flags |= 4), Se(t), null);
|
|
3934
3934
|
case 4:
|
|
3935
|
-
return Jn(), xa(e, t), e === null &&
|
|
3935
|
+
return Jn(), xa(e, t), e === null && Wr(t.stateNode.containerInfo), Se(t), null;
|
|
3936
3936
|
case 10:
|
|
3937
3937
|
return fl(t.type._context), Se(t), null;
|
|
3938
3938
|
case 17:
|
|
@@ -3967,7 +3967,7 @@ function Ug(e, t, n) {
|
|
|
3967
3967
|
}
|
|
3968
3968
|
throw Error(x(156, t.tag));
|
|
3969
3969
|
}
|
|
3970
|
-
function
|
|
3970
|
+
function qg(e, t) {
|
|
3971
3971
|
switch (ll(t), t.tag) {
|
|
3972
3972
|
case 1:
|
|
3973
3973
|
return Oe(t.type) && cs(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
|
|
@@ -3996,7 +3996,7 @@ function Vg(e, t) {
|
|
|
3996
3996
|
return null;
|
|
3997
3997
|
}
|
|
3998
3998
|
}
|
|
3999
|
-
var _o = !1, Ee = !1,
|
|
3999
|
+
var _o = !1, Ee = !1, Wg = typeof WeakSet == "function" ? WeakSet : Set, A = null;
|
|
4000
4000
|
function On(e, t) {
|
|
4001
4001
|
var n = e.ref;
|
|
4002
4002
|
if (n !== null) if (typeof n == "function") try {
|
|
@@ -4014,7 +4014,7 @@ function ka(e, t, n) {
|
|
|
4014
4014
|
}
|
|
4015
4015
|
}
|
|
4016
4016
|
var ac = !1;
|
|
4017
|
-
function
|
|
4017
|
+
function Vg(e, t) {
|
|
4018
4018
|
if (sa = is, e = Ld(), il(e)) {
|
|
4019
4019
|
if ("selectionStart" in e) var n = { start: e.selectionStart, end: e.selectionEnd };
|
|
4020
4020
|
else e: {
|
|
@@ -4098,7 +4098,7 @@ function _r(e, t, n) {
|
|
|
4098
4098
|
} while (o !== r);
|
|
4099
4099
|
}
|
|
4100
4100
|
}
|
|
4101
|
-
function
|
|
4101
|
+
function qs(e, t) {
|
|
4102
4102
|
if (t = t.updateQueue, t = t !== null ? t.lastEffect : null, t !== null) {
|
|
4103
4103
|
var n = t = t.next;
|
|
4104
4104
|
do {
|
|
@@ -4212,7 +4212,7 @@ function uc(e) {
|
|
|
4212
4212
|
if (t !== null) {
|
|
4213
4213
|
e.updateQueue = null;
|
|
4214
4214
|
var n = e.stateNode;
|
|
4215
|
-
n === null && (n = e.stateNode = new
|
|
4215
|
+
n === null && (n = e.stateNode = new Wg()), t.forEach(function(r) {
|
|
4216
4216
|
var o = em.bind(null, e, r);
|
|
4217
4217
|
n.has(r) || (n.add(r), r.then(o, o));
|
|
4218
4218
|
});
|
|
@@ -4257,7 +4257,7 @@ function Lf(e, t) {
|
|
|
4257
4257
|
case 15:
|
|
4258
4258
|
if (lt(t, e), gt(e), r & 4) {
|
|
4259
4259
|
try {
|
|
4260
|
-
_r(3, e, e.return),
|
|
4260
|
+
_r(3, e, e.return), qs(3, e);
|
|
4261
4261
|
} catch (w) {
|
|
4262
4262
|
ae(e, e.return, w);
|
|
4263
4263
|
}
|
|
@@ -4291,7 +4291,7 @@ function Lf(e, t) {
|
|
|
4291
4291
|
}
|
|
4292
4292
|
switch (a) {
|
|
4293
4293
|
case "input":
|
|
4294
|
-
|
|
4294
|
+
Wi(o, s);
|
|
4295
4295
|
break;
|
|
4296
4296
|
case "textarea":
|
|
4297
4297
|
nd(o, s);
|
|
@@ -4480,7 +4480,7 @@ function cc(e) {
|
|
|
4480
4480
|
case 0:
|
|
4481
4481
|
case 11:
|
|
4482
4482
|
case 15:
|
|
4483
|
-
Ee ||
|
|
4483
|
+
Ee || qs(5, t);
|
|
4484
4484
|
break;
|
|
4485
4485
|
case 1:
|
|
4486
4486
|
var r = t.stateNode;
|
|
@@ -4591,7 +4591,7 @@ function fc(e) {
|
|
|
4591
4591
|
case 15:
|
|
4592
4592
|
var n = t.return;
|
|
4593
4593
|
try {
|
|
4594
|
-
|
|
4594
|
+
qs(4, t);
|
|
4595
4595
|
} catch (l) {
|
|
4596
4596
|
ae(t, n, l);
|
|
4597
4597
|
}
|
|
@@ -4636,16 +4636,16 @@ function fc(e) {
|
|
|
4636
4636
|
A = t.return;
|
|
4637
4637
|
}
|
|
4638
4638
|
}
|
|
4639
|
-
var Hg = Math.ceil, bs = zt.ReactCurrentDispatcher, Cl = zt.ReactCurrentOwner, rt = zt.ReactCurrentBatchConfig, B = 0, me = null, ce = null, ve = 0, Be = 0, Dn = on(0), pe = 0, Gr = null, wn = 0,
|
|
4639
|
+
var Hg = Math.ceil, bs = zt.ReactCurrentDispatcher, Cl = zt.ReactCurrentOwner, rt = zt.ReactCurrentBatchConfig, B = 0, me = null, ce = null, ve = 0, Be = 0, Dn = on(0), pe = 0, Gr = null, wn = 0, Ws = 0, El = 0, Ir = null, $e = null, Tl = 0, tr = 1 / 0, Et = null, xs = !1, Ta = null, Gt = null, Io = !1, Qt = null, ks = 0, Ar = 0, Ra = null, Wo = -1, Vo = 0;
|
|
4640
4640
|
function Ie() {
|
|
4641
|
-
return B & 6 ? le() :
|
|
4641
|
+
return B & 6 ? le() : Wo !== -1 ? Wo : Wo = le();
|
|
4642
4642
|
}
|
|
4643
4643
|
function Jt(e) {
|
|
4644
|
-
return e.mode & 1 ? B & 2 && ve !== 0 ? ve & -ve : Ag.transition !== null ? (
|
|
4644
|
+
return e.mode & 1 ? B & 2 && ve !== 0 ? ve & -ve : Ag.transition !== null ? (Vo === 0 && (Vo = wd()), Vo) : (e = Y, e !== 0 || (e = window.event, e = e === void 0 ? 16 : Ed(e.type)), e) : 1;
|
|
4645
4645
|
}
|
|
4646
4646
|
function ht(e, t, n, r) {
|
|
4647
4647
|
if (50 < Ar) throw Ar = 0, Ra = null, Error(x(185));
|
|
4648
|
-
so(e, n, r), (!(B & 2) || e !== me) && (e === me && (!(B & 2) && (
|
|
4648
|
+
so(e, n, r), (!(B & 2) || e !== me) && (e === me && (!(B & 2) && (Ws |= n), pe === 4 && Wt(e, ve)), De(e, r), n === 1 && B === 0 && !(t.mode & 1) && (tr = le() + 500, Fs && sn()));
|
|
4649
4649
|
}
|
|
4650
4650
|
function De(e, t) {
|
|
4651
4651
|
var n = e.callbackNode;
|
|
@@ -4653,7 +4653,7 @@ function De(e, t) {
|
|
|
4653
4653
|
var r = ss(e, e === me ? ve : 0);
|
|
4654
4654
|
if (r === 0) n !== null && xu(n), e.callbackNode = null, e.callbackPriority = 0;
|
|
4655
4655
|
else if (t = r & -r, e.callbackPriority !== t) {
|
|
4656
|
-
if (n != null && xu(n), t === 1) e.tag === 0 ? Ig(hc.bind(null, e)) :
|
|
4656
|
+
if (n != null && xu(n), t === 1) e.tag === 0 ? Ig(hc.bind(null, e)) : Wd(hc.bind(null, e)), Eg(function() {
|
|
4657
4657
|
!(B & 6) && sn();
|
|
4658
4658
|
}), n = null;
|
|
4659
4659
|
else {
|
|
@@ -4673,13 +4673,13 @@ function De(e, t) {
|
|
|
4673
4673
|
default:
|
|
4674
4674
|
n = os;
|
|
4675
4675
|
}
|
|
4676
|
-
n =
|
|
4676
|
+
n = qf(n, jf.bind(null, e));
|
|
4677
4677
|
}
|
|
4678
4678
|
e.callbackPriority = t, e.callbackNode = n;
|
|
4679
4679
|
}
|
|
4680
4680
|
}
|
|
4681
4681
|
function jf(e, t) {
|
|
4682
|
-
if (
|
|
4682
|
+
if (Wo = -1, Vo = 0, B & 6) throw Error(x(327));
|
|
4683
4683
|
var n = e.callbackNode;
|
|
4684
4684
|
if (Qn() && e.callbackNode !== n) return null;
|
|
4685
4685
|
var r = ss(e, e === me ? ve : 0);
|
|
@@ -4702,10 +4702,10 @@ function jf(e, t) {
|
|
|
4702
4702
|
dl(), bs.current = s, B = o, ce !== null ? t = 0 : (me = null, ve = 0, t = pe);
|
|
4703
4703
|
}
|
|
4704
4704
|
if (t !== 0) {
|
|
4705
|
-
if (t === 2 && (o = ea(e), o !== 0 && (r = o, t = _a(e, o))), t === 1) throw n = Gr, fn(e, 0),
|
|
4706
|
-
if (t === 6)
|
|
4705
|
+
if (t === 2 && (o = ea(e), o !== 0 && (r = o, t = _a(e, o))), t === 1) throw n = Gr, fn(e, 0), Wt(e, r), De(e, le()), n;
|
|
4706
|
+
if (t === 6) Wt(e, r);
|
|
4707
4707
|
else {
|
|
4708
|
-
if (o = e.current.alternate, !(r & 30) && !Yg(o) && (t = Ss(e, r), t === 2 && (s = ea(e), s !== 0 && (r = s, t = _a(e, s))), t === 1)) throw n = Gr, fn(e, 0),
|
|
4708
|
+
if (o = e.current.alternate, !(r & 30) && !Yg(o) && (t = Ss(e, r), t === 2 && (s = ea(e), s !== 0 && (r = s, t = _a(e, s))), t === 1)) throw n = Gr, fn(e, 0), Wt(e, r), De(e, le()), n;
|
|
4709
4709
|
switch (e.finishedWork = o, e.finishedLanes = r, t) {
|
|
4710
4710
|
case 0:
|
|
4711
4711
|
case 1:
|
|
@@ -4714,7 +4714,7 @@ function jf(e, t) {
|
|
|
4714
4714
|
ln(e, $e, Et);
|
|
4715
4715
|
break;
|
|
4716
4716
|
case 3:
|
|
4717
|
-
if (
|
|
4717
|
+
if (Wt(e, r), (r & 130023424) === r && (t = Tl + 500 - le(), 10 < t)) {
|
|
4718
4718
|
if (ss(e, 0) !== 0) break;
|
|
4719
4719
|
if (o = e.suspendedLanes, (o & r) !== r) {
|
|
4720
4720
|
Ie(), e.pingedLanes |= e.suspendedLanes & o;
|
|
@@ -4726,7 +4726,7 @@ function jf(e, t) {
|
|
|
4726
4726
|
ln(e, $e, Et);
|
|
4727
4727
|
break;
|
|
4728
4728
|
case 4:
|
|
4729
|
-
if (
|
|
4729
|
+
if (Wt(e, r), (r & 4194240) === r) break;
|
|
4730
4730
|
for (t = e.eventTimes, o = -1; 0 < r; ) {
|
|
4731
4731
|
var i = 31 - ft(r);
|
|
4732
4732
|
s = 1 << i, i = t[i], i > o && (o = i), r &= ~s;
|
|
@@ -4780,8 +4780,8 @@ function Yg(e) {
|
|
|
4780
4780
|
}
|
|
4781
4781
|
return !0;
|
|
4782
4782
|
}
|
|
4783
|
-
function
|
|
4784
|
-
for (t &= ~El, t &= ~
|
|
4783
|
+
function Wt(e, t) {
|
|
4784
|
+
for (t &= ~El, t &= ~Ws, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t; ) {
|
|
4785
4785
|
var n = 31 - ft(t), r = 1 << n;
|
|
4786
4786
|
e[n] = -1, t &= ~r;
|
|
4787
4787
|
}
|
|
@@ -4796,7 +4796,7 @@ function hc(e) {
|
|
|
4796
4796
|
var r = ea(e);
|
|
4797
4797
|
r !== 0 && (t = r, n = _a(e, r));
|
|
4798
4798
|
}
|
|
4799
|
-
if (n === 1) throw n = Gr, fn(e, 0),
|
|
4799
|
+
if (n === 1) throw n = Gr, fn(e, 0), Wt(e, t), De(e, le()), n;
|
|
4800
4800
|
if (n === 6) throw Error(x(345));
|
|
4801
4801
|
return e.finishedWork = e.current.alternate, e.finishedLanes = t, ln(e, $e, Et), De(e, le()), null;
|
|
4802
4802
|
}
|
|
@@ -4856,7 +4856,7 @@ function fn(e, t) {
|
|
|
4856
4856
|
}
|
|
4857
4857
|
n = n.return;
|
|
4858
4858
|
}
|
|
4859
|
-
if (me = e, ce = e = en(e.current, null), ve = Be = t, pe = 0, Gr = null, El =
|
|
4859
|
+
if (me = e, ce = e = en(e.current, null), ve = Be = t, pe = 0, Gr = null, El = Ws = wn = 0, $e = Ir = null, cn !== null) {
|
|
4860
4860
|
for (t = 0; t < cn.length; t++) if (n = cn[t], r = n.interleaved, r !== null) {
|
|
4861
4861
|
n.interleaved = null;
|
|
4862
4862
|
var o = r.next, s = n.pending;
|
|
@@ -4950,7 +4950,7 @@ function Of() {
|
|
|
4950
4950
|
return bs.current = vs, e === null ? vs : e;
|
|
4951
4951
|
}
|
|
4952
4952
|
function Il() {
|
|
4953
|
-
(pe === 0 || pe === 3 || pe === 2) && (pe = 4), me === null || !(wn & 268435455) && !(
|
|
4953
|
+
(pe === 0 || pe === 3 || pe === 2) && (pe = 4), me === null || !(wn & 268435455) && !(Ws & 268435455) || Wt(me, ve);
|
|
4954
4954
|
}
|
|
4955
4955
|
function Ss(e, t) {
|
|
4956
4956
|
var n = B;
|
|
@@ -4983,7 +4983,7 @@ function Ff(e) {
|
|
|
4983
4983
|
do {
|
|
4984
4984
|
var n = t.alternate;
|
|
4985
4985
|
if (e = t.return, t.flags & 32768) {
|
|
4986
|
-
if (n =
|
|
4986
|
+
if (n = qg(n, t), n !== null) {
|
|
4987
4987
|
n.flags &= 32767, ce = n;
|
|
4988
4988
|
return;
|
|
4989
4989
|
}
|
|
@@ -5024,14 +5024,14 @@ function Zg(e, t, n, r) {
|
|
|
5024
5024
|
if (e.finishedWork = null, e.finishedLanes = 0, n === e.current) throw Error(x(177));
|
|
5025
5025
|
e.callbackNode = null, e.callbackPriority = 0;
|
|
5026
5026
|
var s = n.lanes | n.childLanes;
|
|
5027
|
-
if (Mp(e, s), e === me && (ce = me = null, ve = 0), !(n.subtreeFlags & 2064) && !(n.flags & 2064) || Io || (Io = !0,
|
|
5027
|
+
if (Mp(e, s), e === me && (ce = me = null, ve = 0), !(n.subtreeFlags & 2064) && !(n.flags & 2064) || Io || (Io = !0, qf(os, function() {
|
|
5028
5028
|
return Qn(), null;
|
|
5029
5029
|
})), s = (n.flags & 15990) !== 0, n.subtreeFlags & 15990 || s) {
|
|
5030
5030
|
s = rt.transition, rt.transition = null;
|
|
5031
5031
|
var i = Y;
|
|
5032
5032
|
Y = 1;
|
|
5033
5033
|
var a = B;
|
|
5034
|
-
B |= 4, Cl.current = null,
|
|
5034
|
+
B |= 4, Cl.current = null, Vg(e, n), Lf(n, e), yg(ia), is = !!sa, ia = sa = null, e.current = n, Qg(n), kp(), B = a, Y = i, rt.transition = s;
|
|
5035
5035
|
} else e.current = n;
|
|
5036
5036
|
if (Io && (Io = !1, Qt = e, ks = o), s = e.pendingLanes, s === 0 && (Gt = null), Ep(n.stateNode), De(e, le()), t !== null) for (r = e.onRecoverableError, n = 0; n < t.length; n++) o = t[n], r(o.value, { componentStack: o.stack, digest: o.digest });
|
|
5037
5037
|
if (xs) throw xs = !1, e = Ta, Ta = null, e;
|
|
@@ -5118,7 +5118,7 @@ function Qn() {
|
|
|
5118
5118
|
case 0:
|
|
5119
5119
|
case 11:
|
|
5120
5120
|
case 15:
|
|
5121
|
-
|
|
5121
|
+
qs(9, a);
|
|
5122
5122
|
}
|
|
5123
5123
|
} catch (k) {
|
|
5124
5124
|
ae(a, a.return, k);
|
|
@@ -5202,19 +5202,19 @@ Uf = function(e, t, n) {
|
|
|
5202
5202
|
if (!(e.lanes & n) && !(t.flags & 128)) return je = !1, Bg(e, t, n);
|
|
5203
5203
|
je = !!(e.flags & 131072);
|
|
5204
5204
|
}
|
|
5205
|
-
else je = !1, ne && t.flags & 1048576 &&
|
|
5205
|
+
else je = !1, ne && t.flags & 1048576 && Vd(t, hs, t.index);
|
|
5206
5206
|
switch (t.lanes = 0, t.tag) {
|
|
5207
5207
|
case 2:
|
|
5208
5208
|
var r = t.type;
|
|
5209
|
-
|
|
5209
|
+
qo(e, t), e = t.pendingProps;
|
|
5210
5210
|
var o = Xn(t, Te.current);
|
|
5211
|
-
|
|
5211
|
+
Vn(t, n), o = vl(null, t, r, e, o, n);
|
|
5212
5212
|
var s = bl();
|
|
5213
5213
|
return t.flags |= 1, typeof o == "object" && o !== null && typeof o.render == "function" && o.$$typeof === void 0 ? (t.tag = 1, t.memoizedState = null, t.updateQueue = null, Oe(r) ? (s = !0, ds(t)) : s = !1, t.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, pl(t), o.updater = Us, t.stateNode = o, o._reactInternals = t, ga(t, r, e, n), t = wa(null, t, r, !0, s, n)) : (t.tag = 0, ne && s && al(t), Re(null, t, o, n), t = t.child), t;
|
|
5214
5214
|
case 16:
|
|
5215
5215
|
r = t.elementType;
|
|
5216
5216
|
e: {
|
|
5217
|
-
switch (
|
|
5217
|
+
switch (qo(e, t), e = t.pendingProps, o = r._init, r = o(r._payload), t.type = r, o = t.tag = nm(r), e = ut(r, e), o) {
|
|
5218
5218
|
case 0:
|
|
5219
5219
|
t = ya(null, t, r, e, n);
|
|
5220
5220
|
break e;
|
|
@@ -5250,7 +5250,7 @@ Uf = function(e, t, n) {
|
|
|
5250
5250
|
} else if (r !== o) {
|
|
5251
5251
|
o = er(Error(x(424)), t), t = sc(e, t, r, n, o);
|
|
5252
5252
|
break e;
|
|
5253
|
-
} else for (
|
|
5253
|
+
} else for (We = Xt(t.stateNode.containerInfo.firstChild), Ve = t, ne = !0, dt = null, n = Kd(t, null, r, n), t.child = n; n; ) n.flags = n.flags & -3 | 4096, n = n.sibling;
|
|
5254
5254
|
else {
|
|
5255
5255
|
if (Zn(), r === o) {
|
|
5256
5256
|
t = jt(e, t, n);
|
|
@@ -5331,13 +5331,13 @@ Uf = function(e, t, n) {
|
|
|
5331
5331
|
}
|
|
5332
5332
|
return t;
|
|
5333
5333
|
case 9:
|
|
5334
|
-
return o = t.type, r = t.pendingProps.children,
|
|
5334
|
+
return o = t.type, r = t.pendingProps.children, Vn(t, n), o = ot(o), r = r(o), t.flags |= 1, Re(e, t, r, n), t.child;
|
|
5335
5335
|
case 14:
|
|
5336
5336
|
return r = t.type, o = ut(r, t.pendingProps), o = ut(r.type, o), rc(e, t, r, o, n);
|
|
5337
5337
|
case 15:
|
|
5338
5338
|
return kf(e, t, t.type, t.pendingProps, n);
|
|
5339
5339
|
case 17:
|
|
5340
|
-
return r = t.type, o = t.pendingProps, o = t.elementType === r ? o : ut(r, o),
|
|
5340
|
+
return r = t.type, o = t.pendingProps, o = t.elementType === r ? o : ut(r, o), qo(e, t), t.tag = 1, Oe(r) ? (e = !0, ds(t)) : e = !1, Vn(t, n), vf(t, r, o), ga(t, r, o, n), wa(null, t, r, !0, e, n);
|
|
5341
5341
|
case 19:
|
|
5342
5342
|
return Rf(e, t, n);
|
|
5343
5343
|
case 22:
|
|
@@ -5345,7 +5345,7 @@ Uf = function(e, t, n) {
|
|
|
5345
5345
|
}
|
|
5346
5346
|
throw Error(x(156, t.tag));
|
|
5347
5347
|
};
|
|
5348
|
-
function
|
|
5348
|
+
function qf(e, t) {
|
|
5349
5349
|
return gd(e, t);
|
|
5350
5350
|
}
|
|
5351
5351
|
function tm(e, t, n, r) {
|
|
@@ -5386,7 +5386,7 @@ function Qo(e, t, n, r, o, s) {
|
|
|
5386
5386
|
case Bi:
|
|
5387
5387
|
return e = tt(19, n, t, o), e.elementType = Bi, e.lanes = s, e;
|
|
5388
5388
|
case Gc:
|
|
5389
|
-
return
|
|
5389
|
+
return Vs(n, o, s, t);
|
|
5390
5390
|
default:
|
|
5391
5391
|
if (typeof e == "object" && e !== null) switch (e.$$typeof) {
|
|
5392
5392
|
case Xc:
|
|
@@ -5412,7 +5412,7 @@ function Qo(e, t, n, r, o, s) {
|
|
|
5412
5412
|
function hn(e, t, n, r) {
|
|
5413
5413
|
return e = tt(7, e, r, t), e.lanes = n, e;
|
|
5414
5414
|
}
|
|
5415
|
-
function
|
|
5415
|
+
function Vs(e, t, n, r) {
|
|
5416
5416
|
return e = tt(22, e, r, t), e.elementType = Gc, e.lanes = n, e.stateNode = { isHidden: !1 }, e;
|
|
5417
5417
|
}
|
|
5418
5418
|
function _i(e, t, n) {
|
|
@@ -5431,7 +5431,7 @@ function om(e, t, n) {
|
|
|
5431
5431
|
var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
5432
5432
|
return { $$typeof: _n, key: r == null ? null : "" + r, children: e, containerInfo: t, implementation: n };
|
|
5433
5433
|
}
|
|
5434
|
-
function
|
|
5434
|
+
function Wf(e) {
|
|
5435
5435
|
if (!e) return nn;
|
|
5436
5436
|
e = e._reactInternals;
|
|
5437
5437
|
e: {
|
|
@@ -5454,16 +5454,16 @@ function qf(e) {
|
|
|
5454
5454
|
}
|
|
5455
5455
|
if (e.tag === 1) {
|
|
5456
5456
|
var n = e.type;
|
|
5457
|
-
if (Oe(n)) return
|
|
5457
|
+
if (Oe(n)) return qd(e, n, t);
|
|
5458
5458
|
}
|
|
5459
5459
|
return t;
|
|
5460
5460
|
}
|
|
5461
|
-
function
|
|
5462
|
-
return e = Ml(n, r, !0, e, o, s, i, a, l), e.context =
|
|
5461
|
+
function Vf(e, t, n, r, o, s, i, a, l) {
|
|
5462
|
+
return e = Ml(n, r, !0, e, o, s, i, a, l), e.context = Wf(null), n = e.current, r = Ie(), o = Jt(n), s = Nt(r, o), s.callback = t != null ? t : null, Zt(n, s, o), e.current.lanes = o, so(e, o, r), De(e, r), e;
|
|
5463
5463
|
}
|
|
5464
5464
|
function Qs(e, t, n, r) {
|
|
5465
5465
|
var o = t.current, s = Ie(), i = Jt(o);
|
|
5466
|
-
return n =
|
|
5466
|
+
return n = Wf(n), t.context === null ? t.context = n : t.pendingContext = n, t = Nt(s, i), t.payload = { element: e }, r = r === void 0 ? null : r, r !== null && (t.callback = r), e = Zt(o, t, i), e !== null && (ht(e, o, i, s), Fo(e, o, i)), i;
|
|
5467
5467
|
}
|
|
5468
5468
|
function Cs(e) {
|
|
5469
5469
|
if (e = e.current, !e.child) return null;
|
|
@@ -5514,8 +5514,8 @@ Hs.prototype.unstable_scheduleHydration = function(e) {
|
|
|
5514
5514
|
if (e) {
|
|
5515
5515
|
var t = kd();
|
|
5516
5516
|
e = { blockedOn: null, target: e, priority: t };
|
|
5517
|
-
for (var n = 0; n <
|
|
5518
|
-
|
|
5517
|
+
for (var n = 0; n < qt.length && t !== 0 && t < qt[n].priority; n++) ;
|
|
5518
|
+
qt.splice(n, 0, e), n === 0 && Cd(e);
|
|
5519
5519
|
}
|
|
5520
5520
|
};
|
|
5521
5521
|
function Ll(e) {
|
|
@@ -5535,8 +5535,8 @@ function im(e, t, n, r, o) {
|
|
|
5535
5535
|
s.call(u);
|
|
5536
5536
|
};
|
|
5537
5537
|
}
|
|
5538
|
-
var i =
|
|
5539
|
-
return e._reactRootContainer = i, e[Lt] = i.current,
|
|
5538
|
+
var i = Vf(t, r, e, 0, null, !1, !1, "", mc);
|
|
5539
|
+
return e._reactRootContainer = i, e[Lt] = i.current, Wr(e.nodeType === 8 ? e.parentNode : e), vn(), i;
|
|
5540
5540
|
}
|
|
5541
5541
|
for (; o = e.lastChild; ) e.removeChild(o);
|
|
5542
5542
|
if (typeof r == "function") {
|
|
@@ -5547,7 +5547,7 @@ function im(e, t, n, r, o) {
|
|
|
5547
5547
|
};
|
|
5548
5548
|
}
|
|
5549
5549
|
var l = Ml(e, 0, !1, null, null, !1, !1, "", mc);
|
|
5550
|
-
return e._reactRootContainer = l, e[Lt] = l.current,
|
|
5550
|
+
return e._reactRootContainer = l, e[Lt] = l.current, Wr(e.nodeType === 8 ? e.parentNode : e), vn(function() {
|
|
5551
5551
|
Qs(t, l, n, r);
|
|
5552
5552
|
}), l;
|
|
5553
5553
|
}
|
|
@@ -5619,14 +5619,14 @@ Sd = function(e, t) {
|
|
|
5619
5619
|
Zi = function(e, t, n) {
|
|
5620
5620
|
switch (t) {
|
|
5621
5621
|
case "input":
|
|
5622
|
-
if (
|
|
5622
|
+
if (Wi(e, n), t = n.name, n.type === "radio" && t != null) {
|
|
5623
5623
|
for (n = e; n.parentNode; ) n = n.parentNode;
|
|
5624
5624
|
for (n = n.querySelectorAll("input[name=" + JSON.stringify("" + t) + '][type="radio"]'), t = 0; t < n.length; t++) {
|
|
5625
5625
|
var r = n[t];
|
|
5626
5626
|
if (r !== e && r.form === e.form) {
|
|
5627
5627
|
var o = Ds(r);
|
|
5628
5628
|
if (!o) throw Error(x(90));
|
|
5629
|
-
ed(r),
|
|
5629
|
+
ed(r), Wi(r, o);
|
|
5630
5630
|
}
|
|
5631
5631
|
}
|
|
5632
5632
|
}
|
|
@@ -5659,7 +5659,7 @@ He.createPortal = function(e, t) {
|
|
|
5659
5659
|
He.createRoot = function(e, t) {
|
|
5660
5660
|
if (!Ll(e)) throw Error(x(299));
|
|
5661
5661
|
var n = !1, r = "", o = Qf;
|
|
5662
|
-
return t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (o = t.onRecoverableError)), t = Ml(e, 1, !1, null, null, n, !1, r, o), e[Lt] = t.current,
|
|
5662
|
+
return t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (o = t.onRecoverableError)), t = Ml(e, 1, !1, null, null, n, !1, r, o), e[Lt] = t.current, Wr(e.nodeType === 8 ? e.parentNode : e), new Pl(t);
|
|
5663
5663
|
};
|
|
5664
5664
|
He.findDOMNode = function(e) {
|
|
5665
5665
|
if (e == null) return null;
|
|
@@ -5679,7 +5679,7 @@ He.hydrate = function(e, t, n) {
|
|
|
5679
5679
|
He.hydrateRoot = function(e, t, n) {
|
|
5680
5680
|
if (!Ll(e)) throw Error(x(405));
|
|
5681
5681
|
var r = n != null && n.hydratedSources || null, o = !1, s = "", i = Qf;
|
|
5682
|
-
if (n != null && (n.unstable_strictMode === !0 && (o = !0), n.identifierPrefix !== void 0 && (s = n.identifierPrefix), n.onRecoverableError !== void 0 && (i = n.onRecoverableError)), t =
|
|
5682
|
+
if (n != null && (n.unstable_strictMode === !0 && (o = !0), n.identifierPrefix !== void 0 && (s = n.identifierPrefix), n.onRecoverableError !== void 0 && (i = n.onRecoverableError)), t = Vf(t, null, e, 1, n != null ? n : null, o, !1, s, i), e[Lt] = t.current, Wr(e), r) for (e = 0; e < r.length; e++) n = r[e], o = n._getVersion, o = o(n._source), t.mutableSourceEagerHydrationData == null ? t.mutableSourceEagerHydrationData = [n, o] : t.mutableSourceEagerHydrationData.push(
|
|
5683
5683
|
n,
|
|
5684
5684
|
o
|
|
5685
5685
|
);
|
|
@@ -5779,7 +5779,7 @@ const mm = ({
|
|
|
5779
5779
|
/* @__PURE__ */ p.jsx("div", { className: "nbc-absolute nbc-top-0 nbc-right-0 nbc-w-3 nbc-h-3 nbc-bg-green-400 nbc-rounded-full nbc-animate-ping nbc-opacity-75" }),
|
|
5780
5780
|
/* @__PURE__ */ p.jsx("div", { className: "nbc-absolute nbc-top-0 nbc-right-0 nbc-w-4 nbc-h-4 nbc-bg-green-500 nbc-rounded-full nbc-border-2 nbc-border-white nbc-flex nbc-items-center nbc-justify-center nbc-shadow-md nbc-animate-bounce", children: /* @__PURE__ */ p.jsx("div", { className: "nbc-w-2 nbc-h-2 nbc-bg-white nbc-rounded-full" }) })
|
|
5781
5781
|
] }),
|
|
5782
|
-
e ? /* @__PURE__ */ p.jsx("svg", { className: "nbc-w-8 nbc-h-8", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ p.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) : u ? /* @__PURE__ */ p.jsx("svg", { className: "nbc-w-7 nbc-h-7", viewBox: "0 0 24 24", strokeWidth:
|
|
5782
|
+
e ? /* @__PURE__ */ p.jsx("svg", { className: "nbc-w-8 nbc-h-8", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ p.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) }) : u ? /* @__PURE__ */ p.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: "nbc-w-7 nbc-h-7", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", children: /* @__PURE__ */ p.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 0 1-.825-.242m9.345-8.334a2.126 2.126 0 0 0-.476-.095 48.64 48.64 0 0 0-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0 0 11.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155" }) }) : /* @__PURE__ */ p.jsx("svg", { className: "nbc-w-8 nbc-h-8", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ p.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z M8 12h.01 M12 12h.01 M16 12h.01" }) })
|
|
5783
5783
|
]
|
|
5784
5784
|
}
|
|
5785
5785
|
);
|
|
@@ -5872,7 +5872,7 @@ function Xf(e) {
|
|
|
5872
5872
|
Sn = e;
|
|
5873
5873
|
}
|
|
5874
5874
|
var Mr = { exec: () => null };
|
|
5875
|
-
function
|
|
5875
|
+
function V(e, t = "") {
|
|
5876
5876
|
let n = typeof e == "string" ? e : e.source;
|
|
5877
5877
|
const r = {
|
|
5878
5878
|
replace: (o, s) => {
|
|
@@ -5940,10 +5940,10 @@ var _e = {
|
|
|
5940
5940
|
fencesBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`),
|
|
5941
5941
|
headingBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
|
|
5942
5942
|
htmlBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
5943
|
-
}, wm = /^(?:[ \t]*(?:\n|$))+/, vm = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, bm = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, uo = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, xm = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, jl = /(?:[*+-]|\d{1,9}[.)])/, Zf = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Gf =
|
|
5943
|
+
}, wm = /^(?:[ \t]*(?:\n|$))+/, vm = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, bm = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, uo = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, xm = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, jl = /(?:[*+-]|\d{1,9}[.)])/, Zf = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Gf = V(Zf).replace(/bull/g, jl).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(), km = V(Zf).replace(/bull/g, jl).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(), zl = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Sm = /^[^\n]+/, Ol = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Cm = V(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ol).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Em = V(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, jl).getRegex(), Gs = "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", Dl = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Tm = V(
|
|
5944
5944
|
"^ {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|$))",
|
|
5945
5945
|
"i"
|
|
5946
|
-
).replace("comment", Dl).replace("tag", Gs).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Jf =
|
|
5946
|
+
).replace("comment", Dl).replace("tag", Gs).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Jf = V(zl).replace("hr", uo).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", Gs).getRegex(), Rm = V(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Jf).getRegex(), Fl = {
|
|
5947
5947
|
blockquote: Rm,
|
|
5948
5948
|
code: vm,
|
|
5949
5949
|
def: Cm,
|
|
@@ -5957,14 +5957,14 @@ var _e = {
|
|
|
5957
5957
|
paragraph: Jf,
|
|
5958
5958
|
table: Mr,
|
|
5959
5959
|
text: Sm
|
|
5960
|
-
}, wc =
|
|
5960
|
+
}, wc = V(
|
|
5961
5961
|
"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
|
|
5962
5962
|
).replace("hr", uo).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", Gs).getRegex(), _m = Q(_({}, Fl), {
|
|
5963
5963
|
lheading: km,
|
|
5964
5964
|
table: wc,
|
|
5965
|
-
paragraph:
|
|
5965
|
+
paragraph: V(zl).replace("hr", uo).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", wc).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", Gs).getRegex()
|
|
5966
5966
|
}), Im = Q(_({}, Fl), {
|
|
5967
|
-
html:
|
|
5967
|
+
html: V(
|
|
5968
5968
|
`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
|
|
5969
5969
|
).replace("comment", Dl).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(),
|
|
5970
5970
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
@@ -5972,18 +5972,18 @@ var _e = {
|
|
|
5972
5972
|
fences: Mr,
|
|
5973
5973
|
// fences not supported
|
|
5974
5974
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
5975
|
-
paragraph:
|
|
5975
|
+
paragraph: V(zl).replace("hr", uo).replace("heading", ` *#{1,6} *[^
|
|
5976
5976
|
]`).replace("lheading", Gf).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
5977
|
-
}), Am = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Mm = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, eh = /^( {2,}|\\)\n(?!\s*$)/, Nm = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Js = /[\p{P}\p{S}]/u, Bl = /[\s\p{P}\p{S}]/u, th = /[^\s\p{P}\p{S}]/u, Pm =
|
|
5977
|
+
}), Am = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Mm = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, eh = /^( {2,}|\\)\n(?!\s*$)/, Nm = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Js = /[\p{P}\p{S}]/u, Bl = /[\s\p{P}\p{S}]/u, th = /[^\s\p{P}\p{S}]/u, Pm = V(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Bl).getRegex(), nh = /(?!~)[\p{P}\p{S}]/u, Lm = /(?!~)[\s\p{P}\p{S}]/u, $m = /(?:[^\s\p{P}\p{S}]|~)/u, jm = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, rh = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, zm = V(rh, "u").replace(/punct/g, Js).getRegex(), Om = V(rh, "u").replace(/punct/g, nh).getRegex(), oh = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Dm = V(oh, "gu").replace(/notPunctSpace/g, th).replace(/punctSpace/g, Bl).replace(/punct/g, Js).getRegex(), Fm = V(oh, "gu").replace(/notPunctSpace/g, $m).replace(/punctSpace/g, Lm).replace(/punct/g, nh).getRegex(), Bm = V(
|
|
5978
5978
|
"^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
|
|
5979
5979
|
"gu"
|
|
5980
|
-
).replace(/notPunctSpace/g, th).replace(/punctSpace/g, Bl).replace(/punct/g, Js).getRegex(), Um =
|
|
5980
|
+
).replace(/notPunctSpace/g, th).replace(/punctSpace/g, Bl).replace(/punct/g, Js).getRegex(), Um = V(/\\(punct)/, "gu").replace(/punct/g, Js).getRegex(), qm = V(/^<(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(), Wm = V(Dl).replace("(?:-->|$)", "-->").getRegex(), Vm = V(
|
|
5981
5981
|
"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
|
|
5982
|
-
).replace("comment",
|
|
5982
|
+
).replace("comment", Wm).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Es = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Qm = V(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Es).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), sh = V(/^!?\[(label)\]\[(ref)\]/).replace("label", Es).replace("ref", Ol).getRegex(), ih = V(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ol).getRegex(), Hm = V("reflink|nolink(?!\\()", "g").replace("reflink", sh).replace("nolink", ih).getRegex(), Ul = {
|
|
5983
5983
|
_backpedal: Mr,
|
|
5984
5984
|
// only used for GFM url
|
|
5985
5985
|
anyPunctuation: Um,
|
|
5986
|
-
autolink:
|
|
5986
|
+
autolink: qm,
|
|
5987
5987
|
blockSkip: jm,
|
|
5988
5988
|
br: eh,
|
|
5989
5989
|
code: Mm,
|
|
@@ -5997,22 +5997,22 @@ var _e = {
|
|
|
5997
5997
|
punctuation: Pm,
|
|
5998
5998
|
reflink: sh,
|
|
5999
5999
|
reflinkSearch: Hm,
|
|
6000
|
-
tag:
|
|
6000
|
+
tag: Vm,
|
|
6001
6001
|
text: Nm,
|
|
6002
6002
|
url: Mr
|
|
6003
6003
|
}, Ym = Q(_({}, Ul), {
|
|
6004
|
-
link:
|
|
6005
|
-
reflink:
|
|
6004
|
+
link: V(/^!?\[(label)\]\((.*?)\)/).replace("label", Es).getRegex(),
|
|
6005
|
+
reflink: V(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Es).getRegex()
|
|
6006
6006
|
}), Aa = Q(_({}, Ul), {
|
|
6007
6007
|
emStrongRDelimAst: Fm,
|
|
6008
6008
|
emStrongLDelim: Om,
|
|
6009
|
-
url:
|
|
6009
|
+
url: V(/^((?: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(),
|
|
6010
6010
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
6011
6011
|
del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
|
|
6012
6012
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
6013
6013
|
}), Km = Q(_({}, Aa), {
|
|
6014
|
-
br:
|
|
6015
|
-
text:
|
|
6014
|
+
br: V(eh).replace("{2,}", "*").getRegex(),
|
|
6015
|
+
text: V(Aa.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
6016
6016
|
}), Mo = {
|
|
6017
6017
|
normal: Fl,
|
|
6018
6018
|
gfm: _m,
|
|
@@ -6973,7 +6973,7 @@ ${e}</tr>
|
|
|
6973
6973
|
text(e) {
|
|
6974
6974
|
return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : yt(e.text);
|
|
6975
6975
|
}
|
|
6976
|
-
},
|
|
6976
|
+
}, ql = class {
|
|
6977
6977
|
// no need for block level renderers
|
|
6978
6978
|
strong({ text: e }) {
|
|
6979
6979
|
return e;
|
|
@@ -7007,7 +7007,7 @@ ${e}</tr>
|
|
|
7007
7007
|
Z(this, "options");
|
|
7008
7008
|
Z(this, "renderer");
|
|
7009
7009
|
Z(this, "textRenderer");
|
|
7010
|
-
this.options = t || Sn, this.options.renderer = this.options.renderer || new Rs(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new
|
|
7010
|
+
this.options = t || Sn, this.options.renderer = this.options.renderer || new Rs(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new ql();
|
|
7011
7011
|
}
|
|
7012
7012
|
/**
|
|
7013
7013
|
* Static Parse Method
|
|
@@ -7212,7 +7212,7 @@ ${e}</tr>
|
|
|
7212
7212
|
Z(this, "parseInline", this.parseMarkdown(!1));
|
|
7213
7213
|
Z(this, "Parser", Mt);
|
|
7214
7214
|
Z(this, "Renderer", Rs);
|
|
7215
|
-
Z(this, "TextRenderer",
|
|
7215
|
+
Z(this, "TextRenderer", ql);
|
|
7216
7216
|
Z(this, "Lexer", At);
|
|
7217
7217
|
Z(this, "Tokenizer", Ts);
|
|
7218
7218
|
Z(this, "Hooks", Ho);
|
|
@@ -7377,35 +7377,35 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
7377
7377
|
};
|
|
7378
7378
|
}
|
|
7379
7379
|
}, bn = new Jm();
|
|
7380
|
-
function
|
|
7380
|
+
function W(e, t) {
|
|
7381
7381
|
return bn.parse(e, t);
|
|
7382
7382
|
}
|
|
7383
|
-
|
|
7384
|
-
return bn.setOptions(e),
|
|
7383
|
+
W.options = W.setOptions = function(e) {
|
|
7384
|
+
return bn.setOptions(e), W.defaults = bn.defaults, Xf(W.defaults), W;
|
|
7385
7385
|
};
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
return bn.use(...e),
|
|
7386
|
+
W.getDefaults = $l;
|
|
7387
|
+
W.defaults = Sn;
|
|
7388
|
+
W.use = function(...e) {
|
|
7389
|
+
return bn.use(...e), W.defaults = bn.defaults, Xf(W.defaults), W;
|
|
7390
7390
|
};
|
|
7391
|
-
|
|
7391
|
+
W.walkTokens = function(e, t) {
|
|
7392
7392
|
return bn.walkTokens(e, t);
|
|
7393
7393
|
};
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7394
|
+
W.parseInline = bn.parseInline;
|
|
7395
|
+
W.Parser = Mt;
|
|
7396
|
+
W.parser = Mt.parse;
|
|
7397
|
+
W.Renderer = Rs;
|
|
7398
|
+
W.TextRenderer = ql;
|
|
7399
|
+
W.Lexer = At;
|
|
7400
|
+
W.lexer = At.lex;
|
|
7401
|
+
W.Tokenizer = Ts;
|
|
7402
|
+
W.Hooks = Ho;
|
|
7403
|
+
W.parse = W;
|
|
7404
|
+
W.options;
|
|
7405
|
+
W.setOptions;
|
|
7406
|
+
W.use;
|
|
7407
|
+
W.walkTokens;
|
|
7408
|
+
W.parseInline;
|
|
7409
7409
|
Mt.parse;
|
|
7410
7410
|
At.lex;
|
|
7411
7411
|
const ey = (e) => {
|
|
@@ -7419,7 +7419,7 @@ function Sc(e) {
|
|
|
7419
7419
|
const t = ey(e), n = t.getDate().toString().padStart(2, "0"), r = (t.getMonth() + 1).toString().padStart(2, "0"), o = t.getFullYear(), s = t.getHours().toString().padStart(2, "0"), i = t.getMinutes().toString().padStart(2, "0");
|
|
7420
7420
|
return `${n}/${r}/${o} ${s}:${i}`;
|
|
7421
7421
|
}
|
|
7422
|
-
const _s = new
|
|
7422
|
+
const _s = new W.Renderer();
|
|
7423
7423
|
_s.link = ({ href: e, title: t, text: n }) => `<a href="${e}" title="${t || ""}" target="_blank" class="nbc-text-blue-500 nbc-hover:underline">${n}</a>`;
|
|
7424
7424
|
_s.heading = ({ depth: e, text: t }) => `<h${e} class="nbc-text-[${1.5 - e * 0.2}rem] nbc-font-bold nbc-mb-2">${t}</h${e}>`;
|
|
7425
7425
|
const ty = ({ message: e, avatar: t, textColor: n, bubbleUserColor: r }) => e.sender === "user" ? /* @__PURE__ */ p.jsx("div", { className: "nbc-w-full nbc-flex nbc-justify-end nbc-mb-4", children: /* @__PURE__ */ p.jsxs("div", { className: "nbc-max-w-[90%] nbc-px-4 nbc-py-3 nbc-rounded-2xl nbc-text-sm nbc-leading-relaxed nbc-bg-gray-100 nbc-text-gray-900 nbc-rounded-br-md", style: { color: n, backgroundColor: r }, children: [
|
|
@@ -7428,7 +7428,7 @@ const ty = ({ message: e, avatar: t, textColor: n, bubbleUserColor: r }) => e.se
|
|
|
7428
7428
|
{
|
|
7429
7429
|
className: "nbc-break-words",
|
|
7430
7430
|
style: { overflowWrap: "anywhere", wordBreak: "break-word" },
|
|
7431
|
-
dangerouslySetInnerHTML: { __html:
|
|
7431
|
+
dangerouslySetInnerHTML: { __html: W(e.text, { renderer: _s }) },
|
|
7432
7432
|
id: "notchatbot-message-text"
|
|
7433
7433
|
}
|
|
7434
7434
|
),
|
|
@@ -7457,7 +7457,7 @@ const ty = ({ message: e, avatar: t, textColor: n, bubbleUserColor: r }) => e.se
|
|
|
7457
7457
|
{
|
|
7458
7458
|
className: "nbc-break-words",
|
|
7459
7459
|
style: { overflowWrap: "anywhere", wordBreak: "break-word" },
|
|
7460
|
-
dangerouslySetInnerHTML: { __html:
|
|
7460
|
+
dangerouslySetInnerHTML: { __html: W(e.text, { renderer: _s }) },
|
|
7461
7461
|
id: "notchatbot-message-text"
|
|
7462
7462
|
}
|
|
7463
7463
|
) })
|
|
@@ -7608,7 +7608,7 @@ const lh = ({
|
|
|
7608
7608
|
var M;
|
|
7609
7609
|
(M = v.current) == null || M.click();
|
|
7610
7610
|
}, T = (M) => {
|
|
7611
|
-
l((z) => z.filter((O,
|
|
7611
|
+
l((z) => z.filter((O, q) => q !== M));
|
|
7612
7612
|
}, R = (M) => M === "application/pdf" ? "📄" : "📎", E = (M, z) => M.type.startsWith("image/") ? /* @__PURE__ */ p.jsx(
|
|
7613
7613
|
"img",
|
|
7614
7614
|
{
|
|
@@ -7626,23 +7626,23 @@ const lh = ({
|
|
|
7626
7626
|
M.preventDefault(), M.stopPropagation(), f(!1);
|
|
7627
7627
|
const z = M.dataTransfer.files;
|
|
7628
7628
|
if (!z || z.length === 0) return;
|
|
7629
|
-
const O = ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp", "application/pdf"],
|
|
7630
|
-
if (
|
|
7629
|
+
const O = ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp", "application/pdf"], q = Array.from(z).filter((C) => O.includes(C.type));
|
|
7630
|
+
if (q.length === 0) {
|
|
7631
7631
|
alert("Solo se permiten imágenes (JPEG, PNG, GIF, WebP) y archivos PDF.");
|
|
7632
7632
|
return;
|
|
7633
7633
|
}
|
|
7634
|
-
yield Ne(
|
|
7634
|
+
yield Ne(q);
|
|
7635
7635
|
}), Ne = (M) => H(void 0, null, function* () {
|
|
7636
|
-
const z = [], O = [],
|
|
7636
|
+
const z = [], O = [], q = [];
|
|
7637
7637
|
if (M.forEach((C) => {
|
|
7638
7638
|
const P = g(C);
|
|
7639
|
-
P.isValid ? z.push(C) : P.reason === "duplicate" ? O.push(C.name) : P.reason === "size" &&
|
|
7639
|
+
P.isValid ? z.push(C) : P.reason === "duplicate" ? O.push(C.name) : P.reason === "size" && q.push(C.name);
|
|
7640
7640
|
}), O.length > 0) {
|
|
7641
7641
|
const C = O.length > 3 ? `${O.slice(0, 3).join(", ")} y ${O.length - 3} más` : O.join(", ");
|
|
7642
7642
|
alert(`Los siguientes archivos ya están seleccionados: ${C}`);
|
|
7643
7643
|
}
|
|
7644
|
-
if (
|
|
7645
|
-
const C =
|
|
7644
|
+
if (q.length > 0) {
|
|
7645
|
+
const C = q.length > 3 ? `${q.slice(0, 3).join(", ")} y ${q.length - 3} más` : q.join(", ");
|
|
7646
7646
|
alert(`Los siguientes archivos exceden el tamaño máximo: ${C}`);
|
|
7647
7647
|
}
|
|
7648
7648
|
if (z.length !== 0) {
|
|
@@ -7887,13 +7887,13 @@ const lh = ({
|
|
|
7887
7887
|
onRatingChange: y,
|
|
7888
7888
|
conversationId: w
|
|
7889
7889
|
}) => {
|
|
7890
|
-
const [I, h] = S.useState(!1), [c, g] = S.useState(!1), [b, k] = S.useState(580), [T, R] = S.useState(!1), E = (O,
|
|
7891
|
-
o(O,
|
|
7890
|
+
const [I, h] = S.useState(!1), [c, g] = S.useState(!1), [b, k] = S.useState(580), [T, R] = S.useState(!1), E = (O, q) => {
|
|
7891
|
+
o(O, q);
|
|
7892
7892
|
}, $ = () => {
|
|
7893
7893
|
R(!1), y && y(!0);
|
|
7894
|
-
}, N = () => r.filter((
|
|
7894
|
+
}, N = () => r.filter((q) => q.sender === "user").length >= 2 && T && !v;
|
|
7895
7895
|
if (S.useEffect(() => {
|
|
7896
|
-
r.filter((
|
|
7896
|
+
r.filter((q) => q.sender === "user").length >= 2 && !T && !v && R(!0);
|
|
7897
7897
|
}, [r, T, v]), S.useEffect(() => {
|
|
7898
7898
|
e ? (g(!0), setTimeout(() => h(!0), 10)) : (h(!1), setTimeout(() => g(!1), 300));
|
|
7899
7899
|
}, [e]), S.useEffect(() => {
|
|
@@ -7902,18 +7902,18 @@ const lh = ({
|
|
|
7902
7902
|
k(xe);
|
|
7903
7903
|
};
|
|
7904
7904
|
O();
|
|
7905
|
-
const
|
|
7905
|
+
const q = () => {
|
|
7906
7906
|
O();
|
|
7907
7907
|
};
|
|
7908
7908
|
if (typeof window != "undefined")
|
|
7909
|
-
return window.addEventListener("resize",
|
|
7909
|
+
return window.addEventListener("resize", q), () => window.removeEventListener("resize", q);
|
|
7910
7910
|
}, [l, n.marginBottom]), !c) return null;
|
|
7911
7911
|
const F = () => {
|
|
7912
|
-
const O = a || n.position || "bottom-right",
|
|
7912
|
+
const O = a || n.position || "bottom-right", q = l || n.marginBottom || 16, C = u || n.marginSide || 16, U = {
|
|
7913
7913
|
width: "400px",
|
|
7914
7914
|
height: `${b}px`,
|
|
7915
7915
|
zIndex: 2147483647,
|
|
7916
|
-
bottom: `${
|
|
7916
|
+
bottom: `${q + 64 + 10}px`
|
|
7917
7917
|
};
|
|
7918
7918
|
return O === "bottom-left" ? Q(_({}, U), {
|
|
7919
7919
|
left: `${C}px`
|
|
@@ -8171,7 +8171,7 @@ function nt() {
|
|
|
8171
8171
|
function ch(e) {
|
|
8172
8172
|
return /^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e);
|
|
8173
8173
|
}
|
|
8174
|
-
function
|
|
8174
|
+
function Wl(e, t, n = {}) {
|
|
8175
8175
|
const {
|
|
8176
8176
|
expires: r,
|
|
8177
8177
|
maxAge: o,
|
|
@@ -8191,14 +8191,14 @@ function dh(e) {
|
|
|
8191
8191
|
return null;
|
|
8192
8192
|
}
|
|
8193
8193
|
function dy(e, t = {}) {
|
|
8194
|
-
|
|
8194
|
+
Wl(e, "", Q(_({}, t), {
|
|
8195
8195
|
expires: /* @__PURE__ */ new Date(0)
|
|
8196
8196
|
}));
|
|
8197
8197
|
}
|
|
8198
8198
|
function fh() {
|
|
8199
8199
|
try {
|
|
8200
8200
|
const e = "__webchat_test__";
|
|
8201
|
-
|
|
8201
|
+
Wl(e, "test");
|
|
8202
8202
|
const t = dh(e) === "test";
|
|
8203
8203
|
return dy(e), t;
|
|
8204
8204
|
} catch (e) {
|
|
@@ -8206,7 +8206,7 @@ function fh() {
|
|
|
8206
8206
|
}
|
|
8207
8207
|
}
|
|
8208
8208
|
const hh = "notchatbot", fy = 24;
|
|
8209
|
-
function
|
|
8209
|
+
function Vl() {
|
|
8210
8210
|
if (!fh())
|
|
8211
8211
|
return console.warn("WebChat: Cookies not supported, using session-only data"), {
|
|
8212
8212
|
conversationId: nt(),
|
|
@@ -8237,7 +8237,7 @@ function ph(e) {
|
|
|
8237
8237
|
if (typeof e.conversationStarted != "boolean")
|
|
8238
8238
|
throw new Error("Invalid cookie data: conversationStarted must be a boolean");
|
|
8239
8239
|
const t = fy * 60 * 60;
|
|
8240
|
-
|
|
8240
|
+
Wl(hh, JSON.stringify(e), {
|
|
8241
8241
|
maxAge: t,
|
|
8242
8242
|
secure: window.location.protocol === "https:",
|
|
8243
8243
|
sameSite: "lax",
|
|
@@ -8245,16 +8245,16 @@ function ph(e) {
|
|
|
8245
8245
|
});
|
|
8246
8246
|
}
|
|
8247
8247
|
function hy(e) {
|
|
8248
|
-
const t =
|
|
8248
|
+
const t = Vl(), n = Q(_({}, t), {
|
|
8249
8249
|
conversationStarted: e
|
|
8250
8250
|
});
|
|
8251
8251
|
return ph(n), n;
|
|
8252
8252
|
}
|
|
8253
8253
|
function gh() {
|
|
8254
|
-
return
|
|
8254
|
+
return Vl().conversationId;
|
|
8255
8255
|
}
|
|
8256
8256
|
function Ai() {
|
|
8257
|
-
return
|
|
8257
|
+
return Vl().conversationStarted;
|
|
8258
8258
|
}
|
|
8259
8259
|
const py = () => {
|
|
8260
8260
|
if (typeof window == "undefined")
|
|
@@ -8721,8 +8721,8 @@ function pn(e, t) {
|
|
|
8721
8721
|
args: to(t)
|
|
8722
8722
|
});
|
|
8723
8723
|
}
|
|
8724
|
-
var Uy = Object.defineProperty,
|
|
8725
|
-
class
|
|
8724
|
+
var Uy = Object.defineProperty, qy = (e, t, n) => t in e ? Uy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, mt = (e, t, n) => qy(e, typeof t != "symbol" ? t + "" : t, n);
|
|
8725
|
+
class Wy {
|
|
8726
8726
|
constructor() {
|
|
8727
8727
|
mt(this, "nextQueryId"), mt(this, "querySetVersion"), mt(this, "querySet"), mt(this, "queryIdToToken"), mt(this, "identityVersion"), mt(this, "auth"), mt(this, "outstandingQueriesOlderThanRestart"), mt(this, "outstandingAuthOlderThanRestart"), mt(this, "paused"), mt(this, "pendingQuerySetModifications"), this.nextQueryId = 0, this.querySetVersion = 0, this.identityVersion = 0, this.querySet = /* @__PURE__ */ new Map(), this.queryIdToToken = /* @__PURE__ */ new Map(), this.outstandingQueriesOlderThanRestart = /* @__PURE__ */ new Set(), this.outstandingAuthOlderThanRestart = !1, this.paused = !1, this.pendingQuerySetModifications = /* @__PURE__ */ new Map();
|
|
8728
8728
|
}
|
|
@@ -8923,7 +8923,7 @@ class qy {
|
|
|
8923
8923
|
}
|
|
8924
8924
|
}
|
|
8925
8925
|
}
|
|
8926
|
-
var
|
|
8926
|
+
var Vy = Object.defineProperty, Qy = (e, t, n) => t in e ? Vy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, No = (e, t, n) => Qy(e, typeof t != "symbol" ? t + "" : t, n);
|
|
8927
8927
|
class Hy {
|
|
8928
8928
|
constructor(t, n) {
|
|
8929
8929
|
this.logger = t, this.markConnectionStateDirty = n, No(this, "inflightRequests"), No(this, "requestsOlderThanRestart"), No(this, "inflightMutationsCount", 0), No(this, "inflightActionsCount", 0), this.inflightRequests = /* @__PURE__ */ new Map(), this.requestsOlderThanRestart = /* @__PURE__ */ new Set();
|
|
@@ -10045,7 +10045,7 @@ class Pw {
|
|
|
10045
10045
|
else
|
|
10046
10046
|
throw new Error(`Unknown parent protocol ${l}`);
|
|
10047
10047
|
const d = `${u}://${a}/api/${Ic}/sync`;
|
|
10048
|
-
this.state = new
|
|
10048
|
+
this.state = new Wy(), this.remoteQuerySet = new Pc(
|
|
10049
10049
|
(h) => this.state.queryPath(h),
|
|
10050
10050
|
this.logger
|
|
10051
10051
|
), this.requestManager = new Hy(
|
|
@@ -11012,7 +11012,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ph = (e) => ({
|
|
|
11012
11012
|
"482f3528-460c-4a07-8c8a-cbd187aa78a1",
|
|
11013
11013
|
"1e893aee-c613-4a31-853b-d1b65cd89104",
|
|
11014
11014
|
"dedcf0f1-0c44-4435-806d-c0bb9acf4714"
|
|
11015
|
-
], r = n.includes(e.apiKey || ""), [o, s] = S.useState(() => Ko(e)), [i, a] = S.useState(!r), [l, u] = S.useState(r), [d, m] = S.useState(null), [f, v] = S.useState(!1), [y, w] = S.useState(!1), [I, h] = S.useState(() => jc()), [c, g] = S.useState(""), [b, k] = S.useState(!1), [T, R] = S.useState(!1), [E, $] = S.useState(!1), [N, F] = S.useState(""), [X, Ne] = S.useState(null), [M, z] = S.useState(!1), [O,
|
|
11015
|
+
], r = n.includes(e.apiKey || ""), [o, s] = S.useState(() => Ko(e)), [i, a] = S.useState(!r), [l, u] = S.useState(r), [d, m] = S.useState(null), [f, v] = S.useState(!1), [y, w] = S.useState(!1), [I, h] = S.useState(() => jc()), [c, g] = S.useState(""), [b, k] = S.useState(!1), [T, R] = S.useState(!1), [E, $] = S.useState(!1), [N, F] = S.useState(""), [X, Ne] = S.useState(null), [M, z] = S.useState(!1), [O, q] = S.useState(!1), [C, P] = S.useState(""), [L, U] = S.useState(!0), [te, it] = S.useState(!1), xe = S.useRef(!0);
|
|
11016
11016
|
S.useEffect(() => {
|
|
11017
11017
|
if (xe.current) {
|
|
11018
11018
|
xe.current = !1;
|
|
@@ -11096,7 +11096,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ph = (e) => ({
|
|
|
11096
11096
|
Xl,
|
|
11097
11097
|
Zl
|
|
11098
11098
|
);
|
|
11099
|
-
Ne(K),
|
|
11099
|
+
Ne(K), q(!0);
|
|
11100
11100
|
} catch (j) {
|
|
11101
11101
|
console.error("[❌ CONVEX SETUP ERROR]", j);
|
|
11102
11102
|
}
|
|
@@ -11222,7 +11222,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ph = (e) => ({
|
|
|
11222
11222
|
marginSide: Pe.marginSide,
|
|
11223
11223
|
primaryColor: o.primaryColor || "#007bff",
|
|
11224
11224
|
isMobile: I,
|
|
11225
|
-
isOpen: f,
|
|
11225
|
+
isOpen: f || y,
|
|
11226
11226
|
onPopoverClick: co
|
|
11227
11227
|
}
|
|
11228
11228
|
),
|
|
@@ -11363,7 +11363,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ph = (e) => ({
|
|
|
11363
11363
|
] }) }),
|
|
11364
11364
|
/* @__PURE__ */ p.jsx("h3", { className: "nbc-m-0 nbc-text-lg nbc-font-bold nbc-text-white", children: e })
|
|
11365
11365
|
] });
|
|
11366
|
-
},
|
|
11366
|
+
}, qw = ({
|
|
11367
11367
|
footerText: e,
|
|
11368
11368
|
primaryColor: t,
|
|
11369
11369
|
footerColor: n
|
|
@@ -11387,7 +11387,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ph = (e) => ({
|
|
|
11387
11387
|
return /* @__PURE__ */ p.jsx("div", { id: "notchatbot-embed-chat-footer", className: "nbc-py-3 nbc-px-4 nbc-bg-gray-50 nbc-text-xs nbc-text-gray-600 nbc-text-center nbc-leading-relaxed nbc-italic", style: {
|
|
11388
11388
|
backgroundColor: n
|
|
11389
11389
|
}, children: r(e) });
|
|
11390
|
-
},
|
|
11390
|
+
}, Ww = ({
|
|
11391
11391
|
config: e,
|
|
11392
11392
|
messages: t,
|
|
11393
11393
|
onSendMessage: n,
|
|
@@ -11467,7 +11467,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ph = (e) => ({
|
|
|
11467
11467
|
}
|
|
11468
11468
|
),
|
|
11469
11469
|
e.showFooter !== !1 && e.footerText && /* @__PURE__ */ p.jsx(
|
|
11470
|
-
|
|
11470
|
+
qw,
|
|
11471
11471
|
{
|
|
11472
11472
|
footerText: e.footerText,
|
|
11473
11473
|
primaryColor: e.primaryColor,
|
|
@@ -11475,7 +11475,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ph = (e) => ({
|
|
|
11475
11475
|
}
|
|
11476
11476
|
)
|
|
11477
11477
|
] });
|
|
11478
|
-
},
|
|
11478
|
+
}, Vw = ({ config: e }) => {
|
|
11479
11479
|
if (!e.apiKey)
|
|
11480
11480
|
return null;
|
|
11481
11481
|
const [t, n] = S.useState(""), [r, o] = S.useState(!1), [s, i] = S.useState(""), [a, l] = S.useState(null), [u, d] = S.useState(!1), [m, f] = S.useState(!0), [v, y] = S.useState([
|
|
@@ -11585,7 +11585,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ph = (e) => ({
|
|
|
11585
11585
|
}, [a]), S.useEffect(() => {
|
|
11586
11586
|
t && !u && c();
|
|
11587
11587
|
}, [t, u, c]), /* @__PURE__ */ p.jsx(
|
|
11588
|
-
|
|
11588
|
+
Ww,
|
|
11589
11589
|
{
|
|
11590
11590
|
config: e,
|
|
11591
11591
|
messages: v,
|
|
@@ -11693,7 +11693,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, Ph = (e) => ({
|
|
|
11693
11693
|
})();
|
|
11694
11694
|
let Rn = null;
|
|
11695
11695
|
const Lr = {}, Jo = {};
|
|
11696
|
-
let
|
|
11696
|
+
let qe = null, he = null, Oa = !1, ro = {};
|
|
11697
11697
|
const Da = {}, $h = (e) => {
|
|
11698
11698
|
try {
|
|
11699
11699
|
if (!e.elementId)
|
|
@@ -11712,7 +11712,7 @@ const Da = {}, $h = (e) => {
|
|
|
11712
11712
|
const o = document.createElement("div");
|
|
11713
11713
|
n.appendChild(o);
|
|
11714
11714
|
const s = Xs(o);
|
|
11715
|
-
return s.render(Yn.createElement(
|
|
11715
|
+
return s.render(Yn.createElement(Vw, { config: e })), Jo[e.elementId] = {
|
|
11716
11716
|
destroy: () => {
|
|
11717
11717
|
s.unmount(), n.innerHTML = "", delete Jo[e.elementId], Da[e.elementId] = e;
|
|
11718
11718
|
}
|
|
@@ -11753,7 +11753,7 @@ const jh = (e) => {
|
|
|
11753
11753
|
let r = document.getElementById(n.elementId);
|
|
11754
11754
|
r || (r = document.createElement("div"), r.id = n.elementId, document.body.appendChild(r)), r.style.setProperty("display", "block", "important"), r.childNodes.length || r.appendChild(document.createTextNode(""));
|
|
11755
11755
|
let o;
|
|
11756
|
-
r.shadowRoot ? (o = r.shadowRoot, o.innerHTML = "") : o = r.attachShadow({ mode: "open" }),
|
|
11756
|
+
r.shadowRoot ? (o = r.shadowRoot, o.innerHTML = "") : o = r.attachShadow({ mode: "open" }), qe = o;
|
|
11757
11757
|
const s = document.createElement("style");
|
|
11758
11758
|
s.textContent = Lh, o.appendChild(s);
|
|
11759
11759
|
const i = document.createElement("div");
|
|
@@ -11763,7 +11763,7 @@ const jh = (e) => {
|
|
|
11763
11763
|
return v.render(Yn.createElement(t, { config: n })), Lr[n.elementId] = {
|
|
11764
11764
|
root: v,
|
|
11765
11765
|
destroy: () => {
|
|
11766
|
-
v.unmount(), Rn = null,
|
|
11766
|
+
v.unmount(), Rn = null, qe && (qe.innerHTML = ""), delete Lr[n.elementId];
|
|
11767
11767
|
},
|
|
11768
11768
|
getConversationId: () => gh(),
|
|
11769
11769
|
setIsOpen: (y) => {
|
|
@@ -11778,13 +11778,13 @@ const jh = (e) => {
|
|
|
11778
11778
|
hide: () => d && d(),
|
|
11779
11779
|
show: () => m && m(),
|
|
11780
11780
|
injectCSS: (y) => {
|
|
11781
|
-
if (!
|
|
11782
|
-
let w =
|
|
11783
|
-
w && w.remove(), w = document.createElement("style"), w.setAttribute("data-custom", "true"), w.textContent = y,
|
|
11781
|
+
if (!qe) return;
|
|
11782
|
+
let w = qe.querySelector("style[data-custom]");
|
|
11783
|
+
w && w.remove(), w = document.createElement("style"), w.setAttribute("data-custom", "true"), w.textContent = y, qe.appendChild(w);
|
|
11784
11784
|
},
|
|
11785
11785
|
removeCustomCSS: () => {
|
|
11786
|
-
if (!
|
|
11787
|
-
const y =
|
|
11786
|
+
if (!qe) return;
|
|
11787
|
+
const y = qe.querySelector("style[data-custom]");
|
|
11788
11788
|
y && y.remove();
|
|
11789
11789
|
},
|
|
11790
11790
|
getIsOpen: () => f ? f() : Oa
|
|
@@ -11898,13 +11898,13 @@ typeof window != "undefined" && (window.WebChat = Hw, window.EmbedChat = Yw, win
|
|
|
11898
11898
|
const e = Ct();
|
|
11899
11899
|
e && e.show && e.show();
|
|
11900
11900
|
}, window.injectWebChatCSS = (e) => {
|
|
11901
|
-
if (Ct(),
|
|
11902
|
-
let t =
|
|
11903
|
-
t && t.remove(), t = document.createElement("style"), t.setAttribute("data-custom", "true"), t.textContent = e,
|
|
11901
|
+
if (Ct(), qe) {
|
|
11902
|
+
let t = qe.querySelector("style[data-custom]");
|
|
11903
|
+
t && t.remove(), t = document.createElement("style"), t.setAttribute("data-custom", "true"), t.textContent = e, qe.appendChild(t);
|
|
11904
11904
|
}
|
|
11905
11905
|
}, window.removeWebChatCSS = () => {
|
|
11906
|
-
if (Ct(),
|
|
11907
|
-
const e =
|
|
11906
|
+
if (Ct(), qe) {
|
|
11907
|
+
const e = qe.querySelector("style[data-custom]");
|
|
11908
11908
|
e && e.remove();
|
|
11909
11909
|
}
|
|
11910
11910
|
}, window.unmountEmbedChat = (e) => {
|