@developer.notchatbot/webchat 1.2.4 → 1.2.5
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 +331 -327
- package/dist/webchat-bundle.min.umd.cjs +17 -17
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var Ad = Object.defineProperty, Id = Object.defineProperties;
|
|
2
|
+
var Pd = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Zr = Object.getOwnPropertySymbols;
|
|
4
4
|
var fl = Object.prototype.hasOwnProperty, dl = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ii = (e, t, n) => t in e ?
|
|
5
|
+
var Ii = (e, t, n) => t in e ? Ad(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ie = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
7
|
fl.call(t, n) && Ii(e, n, t[n]);
|
|
8
8
|
if (Zr)
|
|
9
9
|
for (var n of Zr(t))
|
|
10
10
|
dl.call(t, n) && Ii(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
}, De = (e, t) =>
|
|
12
|
+
}, De = (e, t) => Id(e, Pd(t));
|
|
13
13
|
var Pi = (e, t) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var r in e)
|
|
@@ -49,8 +49,8 @@ var Lu = { exports: {} }, se = {};
|
|
|
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 $r = Symbol.for("react.element"),
|
|
53
|
-
function
|
|
52
|
+
var $r = Symbol.for("react.element"), Md = Symbol.for("react.portal"), Nd = Symbol.for("react.fragment"), Ld = Symbol.for("react.strict_mode"), jd = Symbol.for("react.profiler"), Dd = Symbol.for("react.provider"), Ud = Symbol.for("react.context"), Bd = Symbol.for("react.forward_ref"), _d = Symbol.for("react.suspense"), zd = Symbol.for("react.memo"), Hd = Symbol.for("react.lazy"), hl = Symbol.iterator;
|
|
53
|
+
function Fd(e) {
|
|
54
54
|
return e === null || typeof e != "object" ? null : (e = hl && e[hl] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
55
55
|
}
|
|
56
56
|
var ju = { isMounted: function() {
|
|
@@ -93,13 +93,13 @@ function Hu(e, t, n) {
|
|
|
93
93
|
if (e && e.defaultProps) for (r in l = e.defaultProps, l) o[r] === void 0 && (o[r] = l[r]);
|
|
94
94
|
return { $$typeof: $r, type: e, key: i, ref: a, props: o, _owner: ss.current };
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Gd(e, t) {
|
|
97
97
|
return { $$typeof: $r, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner };
|
|
98
98
|
}
|
|
99
99
|
function ls(e) {
|
|
100
100
|
return typeof e == "object" && e !== null && e.$$typeof === $r;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Wd(e) {
|
|
103
103
|
var t = { "=": "=0", ":": "=2" };
|
|
104
104
|
return "$" + e.replace(/[=:]/g, function(n) {
|
|
105
105
|
return t[n];
|
|
@@ -107,7 +107,7 @@ function Fd(e) {
|
|
|
107
107
|
}
|
|
108
108
|
var gl = /\/+/g;
|
|
109
109
|
function Mi(e, t) {
|
|
110
|
-
return typeof e == "object" && e !== null && e.key != null ?
|
|
110
|
+
return typeof e == "object" && e !== null && e.key != null ? Wd("" + e.key) : t.toString(36);
|
|
111
111
|
}
|
|
112
112
|
function yo(e, t, n, r, o) {
|
|
113
113
|
var i = typeof e;
|
|
@@ -122,19 +122,19 @@ function yo(e, t, n, r, o) {
|
|
|
122
122
|
case "object":
|
|
123
123
|
switch (e.$$typeof) {
|
|
124
124
|
case $r:
|
|
125
|
-
case
|
|
125
|
+
case Md:
|
|
126
126
|
a = !0;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
if (a) return a = e, o = o(a), e = r === "" ? "." + Mi(a, 0) : r, pl(o) ? (n = "", e != null && (n = e.replace(gl, "$&/") + "/"), yo(o, t, n, "", function(m) {
|
|
130
130
|
return m;
|
|
131
|
-
})) : o != null && (ls(o) && (o =
|
|
131
|
+
})) : o != null && (ls(o) && (o = Gd(o, n + (!o.key || a && a.key === o.key ? "" : ("" + o.key).replace(gl, "$&/") + "/") + e)), t.push(o)), 1;
|
|
132
132
|
if (a = 0, r = r === "" ? "." : r + ":", pl(e)) for (var l = 0; l < e.length; l++) {
|
|
133
133
|
i = e[l];
|
|
134
134
|
var d = r + Mi(i, l);
|
|
135
135
|
a += yo(i, t, n, d, o);
|
|
136
136
|
}
|
|
137
|
-
else if (d =
|
|
137
|
+
else if (d = Fd(e), typeof d == "function") for (e = d.call(e), l = 0; !(i = e.next()).done; ) i = i.value, d = r + Mi(i, l++), a += yo(i, t, n, d, o);
|
|
138
138
|
else if (i === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
|
|
139
139
|
return a;
|
|
140
140
|
}
|
|
@@ -145,7 +145,7 @@ function qr(e, t, n) {
|
|
|
145
145
|
return t.call(n, i, o++);
|
|
146
146
|
}), r;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function $d(e) {
|
|
149
149
|
if (e._status === -1) {
|
|
150
150
|
var t = e._result;
|
|
151
151
|
t = t(), t.then(function(n) {
|
|
@@ -157,7 +157,7 @@ function Gd(e) {
|
|
|
157
157
|
if (e._status === 1) return e._result.default;
|
|
158
158
|
throw e._result;
|
|
159
159
|
}
|
|
160
|
-
var We = { current: null }, wo = { transition: null },
|
|
160
|
+
var We = { current: null }, wo = { transition: null }, Vd = { ReactCurrentDispatcher: We, ReactCurrentBatchConfig: wo, ReactCurrentOwner: ss };
|
|
161
161
|
function Fu() {
|
|
162
162
|
throw Error("act(...) is not supported in production builds of React.");
|
|
163
163
|
}
|
|
@@ -179,12 +179,12 @@ se.Children = { map: qr, forEach: function(e, t, n) {
|
|
|
179
179
|
return e;
|
|
180
180
|
} };
|
|
181
181
|
se.Component = Xn;
|
|
182
|
-
se.Fragment =
|
|
183
|
-
se.Profiler =
|
|
182
|
+
se.Fragment = Nd;
|
|
183
|
+
se.Profiler = jd;
|
|
184
184
|
se.PureComponent = is;
|
|
185
|
-
se.StrictMode =
|
|
186
|
-
se.Suspense =
|
|
187
|
-
se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
|
|
185
|
+
se.StrictMode = Ld;
|
|
186
|
+
se.Suspense = _d;
|
|
187
|
+
se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Vd;
|
|
188
188
|
se.act = Fu;
|
|
189
189
|
se.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 + ".");
|
|
@@ -203,7 +203,7 @@ se.cloneElement = function(e, t, n) {
|
|
|
203
203
|
return { $$typeof: $r, type: e.type, key: o, ref: i, props: r, _owner: a };
|
|
204
204
|
};
|
|
205
205
|
se.createContext = function(e) {
|
|
206
|
-
return e = { $$typeof:
|
|
206
|
+
return e = { $$typeof: Ud, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, e.Provider = { $$typeof: Dd, _context: e }, e.Consumer = e;
|
|
207
207
|
};
|
|
208
208
|
se.createElement = Hu;
|
|
209
209
|
se.createFactory = function(e) {
|
|
@@ -214,14 +214,14 @@ se.createRef = function() {
|
|
|
214
214
|
return { current: null };
|
|
215
215
|
};
|
|
216
216
|
se.forwardRef = function(e) {
|
|
217
|
-
return { $$typeof:
|
|
217
|
+
return { $$typeof: Bd, render: e };
|
|
218
218
|
};
|
|
219
219
|
se.isValidElement = ls;
|
|
220
220
|
se.lazy = function(e) {
|
|
221
|
-
return { $$typeof:
|
|
221
|
+
return { $$typeof: Hd, _payload: { _status: -1, _result: e }, _init: $d };
|
|
222
222
|
};
|
|
223
223
|
se.memo = function(e, t) {
|
|
224
|
-
return { $$typeof:
|
|
224
|
+
return { $$typeof: zd, type: e, compare: t === void 0 ? null : t };
|
|
225
225
|
};
|
|
226
226
|
se.startTransition = function(e) {
|
|
227
227
|
var t = wo.transition;
|
|
@@ -489,7 +489,7 @@ var Gu = { exports: {} }, it = {}, Wu = { exports: {} }, $u = {};
|
|
|
489
489
|
};
|
|
490
490
|
})($u);
|
|
491
491
|
Wu.exports = $u;
|
|
492
|
-
var
|
|
492
|
+
var Kd = Wu.exports;
|
|
493
493
|
/**
|
|
494
494
|
* @license React
|
|
495
495
|
* react-dom.production.min.js
|
|
@@ -499,7 +499,7 @@ var $d = Wu.exports;
|
|
|
499
499
|
* This source code is licensed under the MIT license found in the
|
|
500
500
|
* LICENSE file in the root directory of this source tree.
|
|
501
501
|
*/
|
|
502
|
-
var
|
|
502
|
+
var Qd = Z, ot = Kd;
|
|
503
503
|
function Y(e) {
|
|
504
504
|
for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
505
505
|
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
@@ -511,11 +511,11 @@ function bn(e, t) {
|
|
|
511
511
|
function Wn(e, t) {
|
|
512
512
|
for (Or[e] = t, e = 0; e < t.length; e++) Vu.add(t[e]);
|
|
513
513
|
}
|
|
514
|
-
var jt = !(typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined"), aa = Object.prototype.hasOwnProperty,
|
|
515
|
-
function
|
|
516
|
-
return aa.call(vl, e) ? !0 : aa.call(ml, e) ? !1 :
|
|
514
|
+
var jt = !(typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined"), aa = Object.prototype.hasOwnProperty, Yd = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, ml = {}, vl = {};
|
|
515
|
+
function Jd(e) {
|
|
516
|
+
return aa.call(vl, e) ? !0 : aa.call(ml, e) ? !1 : Yd.test(e) ? vl[e] = !0 : (ml[e] = !0, !1);
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function Xd(e, t, n, r) {
|
|
519
519
|
if (n !== null && n.type === 0) return !1;
|
|
520
520
|
switch (typeof t) {
|
|
521
521
|
case "function":
|
|
@@ -527,8 +527,8 @@ function Yd(e, t, n, r) {
|
|
|
527
527
|
return !1;
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
if (t === null || typeof t == "undefined" ||
|
|
530
|
+
function Zd(e, t, n, r) {
|
|
531
|
+
if (t === null || typeof t == "undefined" || Xd(e, t, n, r)) return !0;
|
|
532
532
|
if (r) return !1;
|
|
533
533
|
if (n !== null) switch (n.type) {
|
|
534
534
|
case 3:
|
|
@@ -602,9 +602,9 @@ je.xlinkHref = new $e("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/
|
|
|
602
602
|
});
|
|
603
603
|
function fs(e, t, n, r) {
|
|
604
604
|
var o = je.hasOwnProperty(t) ? je[t] : null;
|
|
605
|
-
(o !== null ? o.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (
|
|
605
|
+
(o !== null ? o.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (Zd(t, n, o, r) && (n = null), r || o === null ? Jd(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : o.mustUseProperty ? e[o.propertyName] = n === null ? o.type === 3 ? !1 : "" : n : (t = o.attributeName, r = o.attributeNamespace, n === null ? e.removeAttribute(t) : (o = o.type, n = o === 3 || o === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))));
|
|
606
606
|
}
|
|
607
|
-
var _t =
|
|
607
|
+
var _t = Qd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, eo = Symbol.for("react.element"), Rn = Symbol.for("react.portal"), On = Symbol.for("react.fragment"), ds = Symbol.for("react.strict_mode"), sa = Symbol.for("react.profiler"), Ku = Symbol.for("react.provider"), Qu = Symbol.for("react.context"), hs = Symbol.for("react.forward_ref"), la = Symbol.for("react.suspense"), ua = Symbol.for("react.suspense_list"), ps = Symbol.for("react.memo"), Ht = Symbol.for("react.lazy"), Yu = Symbol.for("react.offscreen"), yl = Symbol.iterator;
|
|
608
608
|
function tr(e) {
|
|
609
609
|
return e === null || typeof e != "object" ? null : (e = yl && e[yl] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
610
610
|
}
|
|
@@ -675,7 +675,7 @@ function ji(e, t) {
|
|
|
675
675
|
}
|
|
676
676
|
return (e = e ? e.displayName || e.name : "") ? fr(e) : "";
|
|
677
677
|
}
|
|
678
|
-
function
|
|
678
|
+
function qd(e) {
|
|
679
679
|
switch (e.tag) {
|
|
680
680
|
case 5:
|
|
681
681
|
return fr(e.type);
|
|
@@ -734,7 +734,7 @@ function ca(e) {
|
|
|
734
734
|
}
|
|
735
735
|
return null;
|
|
736
736
|
}
|
|
737
|
-
function
|
|
737
|
+
function eh(e) {
|
|
738
738
|
var t = e.type;
|
|
739
739
|
switch (e.tag) {
|
|
740
740
|
case 24:
|
|
@@ -801,7 +801,7 @@ function Ju(e) {
|
|
|
801
801
|
var t = e.type;
|
|
802
802
|
return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function th(e) {
|
|
805
805
|
var t = Ju(e) ? "checked" : "value", n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), r = "" + e[t];
|
|
806
806
|
if (!e.hasOwnProperty(t) && typeof n != "undefined" && typeof n.get == "function" && typeof n.set == "function") {
|
|
807
807
|
var o = n.get, i = n.set;
|
|
@@ -819,7 +819,7 @@ function qd(e) {
|
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
821
|
function to(e) {
|
|
822
|
-
e._valueTracker || (e._valueTracker =
|
|
822
|
+
e._valueTracker || (e._valueTracker = th(e));
|
|
823
823
|
}
|
|
824
824
|
function Xu(e) {
|
|
825
825
|
if (!e) return !1;
|
|
@@ -992,9 +992,9 @@ var gr = {
|
|
|
992
992
|
strokeMiterlimit: !0,
|
|
993
993
|
strokeOpacity: !0,
|
|
994
994
|
strokeWidth: !0
|
|
995
|
-
},
|
|
995
|
+
}, nh = ["Webkit", "ms", "Moz", "O"];
|
|
996
996
|
Object.keys(gr).forEach(function(e) {
|
|
997
|
-
|
|
997
|
+
nh.forEach(function(t) {
|
|
998
998
|
t = t + e.charAt(0).toUpperCase() + e.substring(1), gr[t] = gr[e];
|
|
999
999
|
});
|
|
1000
1000
|
});
|
|
@@ -1008,10 +1008,10 @@ function rc(e, t) {
|
|
|
1008
1008
|
n === "float" && (n = "cssFloat"), r ? e.setProperty(n, o) : e[n] = o;
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
1011
|
-
var
|
|
1011
|
+
var rh = Ce({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
|
|
1012
1012
|
function ma(e, t) {
|
|
1013
1013
|
if (t) {
|
|
1014
|
-
if (
|
|
1014
|
+
if (rh[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(Y(137, e));
|
|
1015
1015
|
if (t.dangerouslySetInnerHTML != null) {
|
|
1016
1016
|
if (t.children != null) throw Error(Y(60));
|
|
1017
1017
|
if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error(Y(61));
|
|
@@ -1107,7 +1107,7 @@ if (jt) try {
|
|
|
1107
1107
|
} catch (e) {
|
|
1108
1108
|
xa = !1;
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function oh(e, t, n, r, o, i, a, l, d) {
|
|
1111
1111
|
var m = Array.prototype.slice.call(arguments, 3);
|
|
1112
1112
|
try {
|
|
1113
1113
|
t.apply(n, m);
|
|
@@ -1115,14 +1115,14 @@ function nh(e, t, n, r, o, i, a, l, d) {
|
|
|
1115
1115
|
this.onError(b);
|
|
1116
1116
|
}
|
|
1117
1117
|
}
|
|
1118
|
-
var mr = !1, jo = null, Do = !1, ba = null,
|
|
1118
|
+
var mr = !1, jo = null, Do = !1, ba = null, ih = { onError: function(e) {
|
|
1119
1119
|
mr = !0, jo = e;
|
|
1120
1120
|
} };
|
|
1121
|
-
function
|
|
1122
|
-
mr = !1, jo = null,
|
|
1121
|
+
function ah(e, t, n, r, o, i, a, l, d) {
|
|
1122
|
+
mr = !1, jo = null, oh.apply(ih, arguments);
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1125
|
-
if (
|
|
1124
|
+
function sh(e, t, n, r, o, i, a, l, d) {
|
|
1125
|
+
if (ah.apply(this, arguments), mr) {
|
|
1126
1126
|
if (mr) {
|
|
1127
1127
|
var m = jo;
|
|
1128
1128
|
mr = !1, jo = null;
|
|
@@ -1151,7 +1151,7 @@ function uc(e) {
|
|
|
1151
1151
|
function kl(e) {
|
|
1152
1152
|
if (Sn(e) !== e) throw Error(Y(188));
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function lh(e) {
|
|
1155
1155
|
var t = e.alternate;
|
|
1156
1156
|
if (!t) {
|
|
1157
1157
|
if (t = Sn(e), t === null) throw Error(Y(188));
|
|
@@ -1210,7 +1210,7 @@ function ah(e) {
|
|
|
1210
1210
|
return n.stateNode.current === n ? e : t;
|
|
1211
1211
|
}
|
|
1212
1212
|
function cc(e) {
|
|
1213
|
-
return e =
|
|
1213
|
+
return e = lh(e), e !== null ? fc(e) : null;
|
|
1214
1214
|
}
|
|
1215
1215
|
function fc(e) {
|
|
1216
1216
|
if (e.tag === 5 || e.tag === 6) return e;
|
|
@@ -1221,16 +1221,16 @@ function fc(e) {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
return null;
|
|
1223
1223
|
}
|
|
1224
|
-
var dc = ot.unstable_scheduleCallback, El = ot.unstable_cancelCallback,
|
|
1225
|
-
function
|
|
1224
|
+
var dc = ot.unstable_scheduleCallback, El = ot.unstable_cancelCallback, uh = ot.unstable_shouldYield, ch = ot.unstable_requestPaint, Ee = ot.unstable_now, fh = ot.unstable_getCurrentPriorityLevel, ms = ot.unstable_ImmediatePriority, hc = ot.unstable_UserBlockingPriority, Uo = ot.unstable_NormalPriority, dh = ot.unstable_LowPriority, pc = ot.unstable_IdlePriority, ui = null, Et = null;
|
|
1225
|
+
function hh(e) {
|
|
1226
1226
|
if (Et && typeof Et.onCommitFiberRoot == "function") try {
|
|
1227
1227
|
Et.onCommitFiberRoot(ui, e, void 0, (e.current.flags & 128) === 128);
|
|
1228
1228
|
} catch (t) {
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
|
-
var yt = Math.clz32 ? Math.clz32 :
|
|
1232
|
-
function
|
|
1233
|
-
return e >>>= 0, e === 0 ? 32 : 31 - (
|
|
1231
|
+
var yt = Math.clz32 ? Math.clz32 : mh, ph = Math.log, gh = Math.LN2;
|
|
1232
|
+
function mh(e) {
|
|
1233
|
+
return e >>>= 0, e === 0 ? 32 : 31 - (ph(e) / gh | 0) | 0;
|
|
1234
1234
|
}
|
|
1235
1235
|
var ro = 64, oo = 4194304;
|
|
1236
1236
|
function hr(e) {
|
|
@@ -1295,7 +1295,7 @@ function Bo(e, t) {
|
|
|
1295
1295
|
if (r & 4 && (r |= n & 16), t = e.entangledLanes, t !== 0) for (e = e.entanglements, t &= r; 0 < t; ) n = 31 - yt(t), o = 1 << n, r |= e[n], t &= ~o;
|
|
1296
1296
|
return r;
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1298
|
+
function vh(e, t) {
|
|
1299
1299
|
switch (e) {
|
|
1300
1300
|
case 1:
|
|
1301
1301
|
case 2:
|
|
@@ -1336,10 +1336,10 @@ function gh(e, t) {
|
|
|
1336
1336
|
return -1;
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function yh(e, t) {
|
|
1340
1340
|
for (var n = e.suspendedLanes, r = e.pingedLanes, o = e.expirationTimes, i = e.pendingLanes; 0 < i; ) {
|
|
1341
1341
|
var a = 31 - yt(i), l = 1 << a, d = o[a];
|
|
1342
|
-
d === -1 ? (!(l & n) || l & r) && (o[a] =
|
|
1342
|
+
d === -1 ? (!(l & n) || l & r) && (o[a] = vh(l, t)) : d <= t && (e.expiredLanes |= l), i &= ~l;
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
function Sa(e) {
|
|
@@ -1356,7 +1356,7 @@ function Ui(e) {
|
|
|
1356
1356
|
function Vr(e, t, n) {
|
|
1357
1357
|
e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - yt(t), e[t] = n;
|
|
1358
1358
|
}
|
|
1359
|
-
function
|
|
1359
|
+
function wh(e, t) {
|
|
1360
1360
|
var n = e.pendingLanes & ~t;
|
|
1361
1361
|
e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e.entanglements;
|
|
1362
1362
|
var r = e.eventTimes;
|
|
@@ -1376,7 +1376,7 @@ var pe = 0;
|
|
|
1376
1376
|
function mc(e) {
|
|
1377
1377
|
return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1;
|
|
1378
1378
|
}
|
|
1379
|
-
var vc, ys, yc, wc, xc, Ca = !1, io = [], Kt = null, Qt = null, Yt = null, Ir = /* @__PURE__ */ new Map(), Pr = /* @__PURE__ */ new Map(), Gt = [],
|
|
1379
|
+
var vc, ys, yc, wc, xc, Ca = !1, io = [], Kt = null, Qt = null, Yt = null, Ir = /* @__PURE__ */ new Map(), Pr = /* @__PURE__ */ new Map(), Gt = [], xh = "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 Rl(e, t) {
|
|
1381
1381
|
switch (e) {
|
|
1382
1382
|
case "focusin":
|
|
@@ -1403,7 +1403,7 @@ function Rl(e, t) {
|
|
|
1403
1403
|
function rr(e, t, n, r, o, i) {
|
|
1404
1404
|
return e === null || e.nativeEvent !== i ? (e = { blockedOn: t, domEventName: n, eventSystemFlags: r, nativeEvent: i, targetContainers: [o] }, t !== null && (t = Qr(t), t !== null && ys(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, o !== null && t.indexOf(o) === -1 && t.push(o), e);
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1406
|
+
function bh(e, t, n, r, o) {
|
|
1407
1407
|
switch (t) {
|
|
1408
1408
|
case "focusin":
|
|
1409
1409
|
return Kt = rr(Kt, e, t, n, r, o), !0;
|
|
@@ -1455,11 +1455,11 @@ function xo(e) {
|
|
|
1455
1455
|
function Ol(e, t, n) {
|
|
1456
1456
|
xo(e) && n.delete(t);
|
|
1457
1457
|
}
|
|
1458
|
-
function
|
|
1458
|
+
function Sh() {
|
|
1459
1459
|
Ca = !1, Kt !== null && xo(Kt) && (Kt = null), Qt !== null && xo(Qt) && (Qt = null), Yt !== null && xo(Yt) && (Yt = null), Ir.forEach(Ol), Pr.forEach(Ol);
|
|
1460
1460
|
}
|
|
1461
1461
|
function or(e, t) {
|
|
1462
|
-
e.blockedOn === t && (e.blockedOn = null, Ca || (Ca = !0, ot.unstable_scheduleCallback(ot.unstable_NormalPriority,
|
|
1462
|
+
e.blockedOn === t && (e.blockedOn = null, Ca || (Ca = !0, ot.unstable_scheduleCallback(ot.unstable_NormalPriority, Sh)));
|
|
1463
1463
|
}
|
|
1464
1464
|
function Mr(e) {
|
|
1465
1465
|
function t(o) {
|
|
@@ -1476,7 +1476,7 @@ function Mr(e) {
|
|
|
1476
1476
|
for (; 0 < Gt.length && (n = Gt[0], n.blockedOn === null); ) bc(n), n.blockedOn === null && Gt.shift();
|
|
1477
1477
|
}
|
|
1478
1478
|
var Hn = _t.ReactCurrentBatchConfig, _o = !0;
|
|
1479
|
-
function
|
|
1479
|
+
function Ch(e, t, n, r) {
|
|
1480
1480
|
var o = pe, i = Hn.transition;
|
|
1481
1481
|
Hn.transition = null;
|
|
1482
1482
|
try {
|
|
@@ -1485,7 +1485,7 @@ function bh(e, t, n, r) {
|
|
|
1485
1485
|
pe = o, Hn.transition = i;
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
|
-
function
|
|
1488
|
+
function kh(e, t, n, r) {
|
|
1489
1489
|
var o = pe, i = Hn.transition;
|
|
1490
1490
|
Hn.transition = null;
|
|
1491
1491
|
try {
|
|
@@ -1498,8 +1498,8 @@ function ws(e, t, n, r) {
|
|
|
1498
1498
|
if (_o) {
|
|
1499
1499
|
var o = ka(e, t, n, r);
|
|
1500
1500
|
if (o === null) Ki(e, t, r, zo, n), Rl(e, r);
|
|
1501
|
-
else if (
|
|
1502
|
-
else if (Rl(e, r), t & 4 && -1 <
|
|
1501
|
+
else if (bh(o, e, t, n, r)) r.stopPropagation();
|
|
1502
|
+
else if (Rl(e, r), t & 4 && -1 < xh.indexOf(e)) {
|
|
1503
1503
|
for (; o !== null; ) {
|
|
1504
1504
|
var i = Qr(o);
|
|
1505
1505
|
if (i !== null && vc(i), i = ka(e, t, n, r), i === null && Ki(e, t, r, zo, n), i === o) break;
|
|
@@ -1596,13 +1596,13 @@ function Sc(e) {
|
|
|
1596
1596
|
case "pointerleave":
|
|
1597
1597
|
return 4;
|
|
1598
1598
|
case "message":
|
|
1599
|
-
switch (
|
|
1599
|
+
switch (fh()) {
|
|
1600
1600
|
case ms:
|
|
1601
1601
|
return 1;
|
|
1602
1602
|
case hc:
|
|
1603
1603
|
return 4;
|
|
1604
1604
|
case Uo:
|
|
1605
|
-
case
|
|
1605
|
+
case dh:
|
|
1606
1606
|
return 16;
|
|
1607
1607
|
case pc:
|
|
1608
1608
|
return 536870912;
|
|
@@ -1650,15 +1650,15 @@ function at(e) {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
var Zn = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
|
|
1652
1652
|
return e.timeStamp || Date.now();
|
|
1653
|
-
}, defaultPrevented: 0, isTrusted: 0 }, bs = at(Zn), Kr = Ce({}, Zn, { view: 0, detail: 0 }),
|
|
1653
|
+
}, defaultPrevented: 0, isTrusted: 0 }, bs = at(Zn), Kr = Ce({}, Zn, { view: 0, detail: 0 }), Eh = at(Kr), Bi, _i, ir, ci = Ce({}, Kr, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Ss, button: 0, buttons: 0, relatedTarget: function(e) {
|
|
1654
1654
|
return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
|
|
1655
1655
|
}, movementX: function(e) {
|
|
1656
1656
|
return "movementX" in e ? e.movementX : (e !== ir && (ir && e.type === "mousemove" ? (Bi = e.screenX - ir.screenX, _i = e.screenY - ir.screenY) : _i = Bi = 0, ir = e), Bi);
|
|
1657
1657
|
}, movementY: function(e) {
|
|
1658
1658
|
return "movementY" in e ? e.movementY : _i;
|
|
1659
|
-
} }), Al = at(ci),
|
|
1659
|
+
} }), Al = at(ci), Rh = Ce({}, ci, { dataTransfer: 0 }), Oh = at(Rh), Th = Ce({}, Kr, { relatedTarget: 0 }), zi = at(Th), Ah = Ce({}, Zn, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Ih = at(Ah), Ph = Ce({}, Zn, { clipboardData: function(e) {
|
|
1660
1660
|
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
|
|
1661
|
-
} }),
|
|
1661
|
+
} }), Mh = at(Ph), Nh = Ce({}, Zn, { data: 0 }), Il = at(Nh), Lh = {
|
|
1662
1662
|
Esc: "Escape",
|
|
1663
1663
|
Spacebar: " ",
|
|
1664
1664
|
Left: "ArrowLeft",
|
|
@@ -1671,7 +1671,7 @@ var Zn = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
|
|
|
1671
1671
|
Apps: "ContextMenu",
|
|
1672
1672
|
Scroll: "ScrollLock",
|
|
1673
1673
|
MozPrintableKey: "Unidentified"
|
|
1674
|
-
},
|
|
1674
|
+
}, jh = {
|
|
1675
1675
|
8: "Backspace",
|
|
1676
1676
|
9: "Tab",
|
|
1677
1677
|
12: "Clear",
|
|
@@ -1708,27 +1708,27 @@ var Zn = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
|
|
|
1708
1708
|
144: "NumLock",
|
|
1709
1709
|
145: "ScrollLock",
|
|
1710
1710
|
224: "Meta"
|
|
1711
|
-
},
|
|
1712
|
-
function
|
|
1711
|
+
}, Dh = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
|
|
1712
|
+
function Uh(e) {
|
|
1713
1713
|
var t = this.nativeEvent;
|
|
1714
|
-
return t.getModifierState ? t.getModifierState(e) : (e =
|
|
1714
|
+
return t.getModifierState ? t.getModifierState(e) : (e = Dh[e]) ? !!t[e] : !1;
|
|
1715
1715
|
}
|
|
1716
1716
|
function Ss() {
|
|
1717
|
-
return
|
|
1717
|
+
return Uh;
|
|
1718
1718
|
}
|
|
1719
|
-
var
|
|
1719
|
+
var Bh = Ce({}, Kr, { key: function(e) {
|
|
1720
1720
|
if (e.key) {
|
|
1721
|
-
var t =
|
|
1721
|
+
var t = Lh[e.key] || e.key;
|
|
1722
1722
|
if (t !== "Unidentified") return t;
|
|
1723
1723
|
}
|
|
1724
|
-
return e.type === "keypress" ? (e = So(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ?
|
|
1724
|
+
return e.type === "keypress" ? (e = So(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? jh[e.keyCode] || "Unidentified" : "";
|
|
1725
1725
|
}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: Ss, charCode: function(e) {
|
|
1726
1726
|
return e.type === "keypress" ? So(e) : 0;
|
|
1727
1727
|
}, keyCode: function(e) {
|
|
1728
1728
|
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
1729
1729
|
}, which: function(e) {
|
|
1730
1730
|
return e.type === "keypress" ? So(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
1731
|
-
} }),
|
|
1731
|
+
} }), _h = at(Bh), zh = Ce({}, ci, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Pl = at(zh), Hh = Ce({}, Kr, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Ss }), Fh = at(Hh), Gh = Ce({}, Zn, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Wh = at(Gh), $h = Ce({}, ci, {
|
|
1732
1732
|
deltaX: function(e) {
|
|
1733
1733
|
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
|
|
1734
1734
|
},
|
|
@@ -1737,13 +1737,13 @@ var Dh = Ce({}, Kr, { key: function(e) {
|
|
|
1737
1737
|
},
|
|
1738
1738
|
deltaZ: 0,
|
|
1739
1739
|
deltaMode: 0
|
|
1740
|
-
}),
|
|
1740
|
+
}), Vh = at($h), Kh = [9, 13, 27, 32], Cs = jt && "CompositionEvent" in window, vr = null;
|
|
1741
1741
|
jt && "documentMode" in document && (vr = document.documentMode);
|
|
1742
|
-
var
|
|
1742
|
+
var Qh = jt && "TextEvent" in window && !vr, kc = jt && (!Cs || vr && 8 < vr && 11 >= vr), Ml = " ", Nl = !1;
|
|
1743
1743
|
function Ec(e, t) {
|
|
1744
1744
|
switch (e) {
|
|
1745
1745
|
case "keyup":
|
|
1746
|
-
return
|
|
1746
|
+
return Kh.indexOf(t.keyCode) !== -1;
|
|
1747
1747
|
case "keydown":
|
|
1748
1748
|
return t.keyCode !== 229;
|
|
1749
1749
|
case "keypress":
|
|
@@ -1758,7 +1758,7 @@ function Rc(e) {
|
|
|
1758
1758
|
return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;
|
|
1759
1759
|
}
|
|
1760
1760
|
var Tn = !1;
|
|
1761
|
-
function
|
|
1761
|
+
function Yh(e, t) {
|
|
1762
1762
|
switch (e) {
|
|
1763
1763
|
case "compositionend":
|
|
1764
1764
|
return Rc(t);
|
|
@@ -1770,7 +1770,7 @@ function Kh(e, t) {
|
|
|
1770
1770
|
return null;
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1773
|
+
function Jh(e, t) {
|
|
1774
1774
|
if (Tn) return e === "compositionend" || !Cs && Ec(e, t) ? (e = Cc(), bo = xs = $t = null, Tn = !1, e) : null;
|
|
1775
1775
|
switch (e) {
|
|
1776
1776
|
case "paste":
|
|
@@ -1787,23 +1787,23 @@ function Qh(e, t) {
|
|
|
1787
1787
|
return null;
|
|
1788
1788
|
}
|
|
1789
1789
|
}
|
|
1790
|
-
var
|
|
1790
|
+
var Xh = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 };
|
|
1791
1791
|
function Ll(e) {
|
|
1792
1792
|
var t = e && e.nodeName && e.nodeName.toLowerCase();
|
|
1793
|
-
return t === "input" ? !!
|
|
1793
|
+
return t === "input" ? !!Xh[e.type] : t === "textarea";
|
|
1794
1794
|
}
|
|
1795
1795
|
function Oc(e, t, n, r) {
|
|
1796
1796
|
oc(r), t = Ho(t, "onChange"), 0 < t.length && (n = new bs("onChange", "change", null, n, r), e.push({ event: n, listeners: t }));
|
|
1797
1797
|
}
|
|
1798
1798
|
var yr = null, Nr = null;
|
|
1799
|
-
function
|
|
1799
|
+
function Zh(e) {
|
|
1800
1800
|
Bc(e, 0);
|
|
1801
1801
|
}
|
|
1802
1802
|
function fi(e) {
|
|
1803
1803
|
var t = Pn(e);
|
|
1804
1804
|
if (Xu(t)) return e;
|
|
1805
1805
|
}
|
|
1806
|
-
function
|
|
1806
|
+
function qh(e, t) {
|
|
1807
1807
|
if (e === "change") return t;
|
|
1808
1808
|
}
|
|
1809
1809
|
var Tc = !1;
|
|
@@ -1825,25 +1825,25 @@ function Dl() {
|
|
|
1825
1825
|
function Ac(e) {
|
|
1826
1826
|
if (e.propertyName === "value" && fi(Nr)) {
|
|
1827
1827
|
var t = [];
|
|
1828
|
-
Oc(t, Nr, e, gs(e)), lc(
|
|
1828
|
+
Oc(t, Nr, e, gs(e)), lc(Zh, t);
|
|
1829
1829
|
}
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1831
|
+
function ep(e, t, n) {
|
|
1832
1832
|
e === "focusin" ? (Dl(), yr = t, Nr = n, yr.attachEvent("onpropertychange", Ac)) : e === "focusout" && Dl();
|
|
1833
1833
|
}
|
|
1834
|
-
function
|
|
1834
|
+
function tp(e) {
|
|
1835
1835
|
if (e === "selectionchange" || e === "keyup" || e === "keydown") return fi(Nr);
|
|
1836
1836
|
}
|
|
1837
|
-
function
|
|
1837
|
+
function np(e, t) {
|
|
1838
1838
|
if (e === "click") return fi(t);
|
|
1839
1839
|
}
|
|
1840
|
-
function
|
|
1840
|
+
function rp(e, t) {
|
|
1841
1841
|
if (e === "input" || e === "change") return fi(t);
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function op(e, t) {
|
|
1844
1844
|
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
1845
1845
|
}
|
|
1846
|
-
var xt = typeof Object.is == "function" ? Object.is :
|
|
1846
|
+
var xt = typeof Object.is == "function" ? Object.is : op;
|
|
1847
1847
|
function Lr(e, t) {
|
|
1848
1848
|
if (xt(e, t)) return !0;
|
|
1849
1849
|
if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1;
|
|
@@ -1900,7 +1900,7 @@ function ks(e) {
|
|
|
1900
1900
|
var t = e && e.nodeName && e.nodeName.toLowerCase();
|
|
1901
1901
|
return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true");
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1903
|
+
function ip(e) {
|
|
1904
1904
|
var t = Pc(), n = e.focusedElem, r = e.selectionRange;
|
|
1905
1905
|
if (t !== n && n && n.ownerDocument && Ic(n.ownerDocument.documentElement, n)) {
|
|
1906
1906
|
if (r !== null && ks(n)) {
|
|
@@ -1920,7 +1920,7 @@ function rp(e) {
|
|
|
1920
1920
|
for (typeof n.focus == "function" && n.focus(), n = 0; n < t.length; n++) e = t[n], e.element.scrollLeft = e.left, e.element.scrollTop = e.top;
|
|
1921
1921
|
}
|
|
1922
1922
|
}
|
|
1923
|
-
var
|
|
1923
|
+
var ap = jt && "documentMode" in document && 11 >= document.documentMode, An = null, Ea = null, wr = null, Ra = !1;
|
|
1924
1924
|
function _l(e, t, n) {
|
|
1925
1925
|
var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
|
|
1926
1926
|
Ra || An == null || An !== Lo(r) || (r = An, "selectionStart" in r && ks(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 }), wr && Lr(wr, r) || (wr = r, r = Ho(Ea, "onSelect"), 0 < r.length && (t = new bs("onSelect", "select", null, t, n), e.push({ event: t, listeners: r }), t.target = An)));
|
|
@@ -1943,8 +1943,8 @@ function rn(e, t) {
|
|
|
1943
1943
|
Uc.set(e, t), bn(t, [e]);
|
|
1944
1944
|
}
|
|
1945
1945
|
for (var Wi = 0; Wi < zl.length; Wi++) {
|
|
1946
|
-
var $i = zl[Wi],
|
|
1947
|
-
rn(
|
|
1946
|
+
var $i = zl[Wi], sp = $i.toLowerCase(), lp = $i[0].toUpperCase() + $i.slice(1);
|
|
1947
|
+
rn(sp, "on" + lp);
|
|
1948
1948
|
}
|
|
1949
1949
|
rn(Nc, "onAnimationEnd");
|
|
1950
1950
|
rn(Lc, "onAnimationIteration");
|
|
@@ -1963,10 +1963,10 @@ bn("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
|
|
|
1963
1963
|
bn("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
|
|
1964
1964
|
bn("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
|
|
1965
1965
|
bn("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
|
|
1966
|
-
var pr = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),
|
|
1966
|
+
var pr = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), up = new Set("cancel close invalid load scroll toggle".split(" ").concat(pr));
|
|
1967
1967
|
function Hl(e, t, n) {
|
|
1968
1968
|
var r = e.type || "unknown-event";
|
|
1969
|
-
e.currentTarget = n,
|
|
1969
|
+
e.currentTarget = n, sh(r, t, void 0, e), e.currentTarget = null;
|
|
1970
1970
|
}
|
|
1971
1971
|
function Bc(e, t) {
|
|
1972
1972
|
t = (t & 4) !== 0;
|
|
@@ -2002,7 +2002,7 @@ var lo = "_reactListening" + Math.random().toString(36).slice(2);
|
|
|
2002
2002
|
function jr(e) {
|
|
2003
2003
|
if (!e[lo]) {
|
|
2004
2004
|
e[lo] = !0, Vu.forEach(function(n) {
|
|
2005
|
-
n !== "selectionchange" && (
|
|
2005
|
+
n !== "selectionchange" && (up.has(n) || Vi(n, !1, e), Vi(n, !0, e));
|
|
2006
2006
|
});
|
|
2007
2007
|
var t = e.nodeType === 9 ? e : e.ownerDocument;
|
|
2008
2008
|
t === null || t[lo] || (t[lo] = !0, Vi("selectionchange", !1, t));
|
|
@@ -2011,10 +2011,10 @@ function jr(e) {
|
|
|
2011
2011
|
function _c(e, t, n, r) {
|
|
2012
2012
|
switch (Sc(t)) {
|
|
2013
2013
|
case 1:
|
|
2014
|
-
var o =
|
|
2014
|
+
var o = Ch;
|
|
2015
2015
|
break;
|
|
2016
2016
|
case 4:
|
|
2017
|
-
o =
|
|
2017
|
+
o = kh;
|
|
2018
2018
|
break;
|
|
2019
2019
|
default:
|
|
2020
2020
|
o = ws;
|
|
@@ -2056,7 +2056,7 @@ function Ki(e, t, n, r, o) {
|
|
|
2056
2056
|
if (So(n) === 0) break e;
|
|
2057
2057
|
case "keydown":
|
|
2058
2058
|
case "keyup":
|
|
2059
|
-
E =
|
|
2059
|
+
E = _h;
|
|
2060
2060
|
break;
|
|
2061
2061
|
case "focusin":
|
|
2062
2062
|
u = "focus", E = zi;
|
|
@@ -2088,32 +2088,32 @@ function Ki(e, t, n, r, o) {
|
|
|
2088
2088
|
case "dragover":
|
|
2089
2089
|
case "dragstart":
|
|
2090
2090
|
case "drop":
|
|
2091
|
-
E =
|
|
2091
|
+
E = Oh;
|
|
2092
2092
|
break;
|
|
2093
2093
|
case "touchcancel":
|
|
2094
2094
|
case "touchend":
|
|
2095
2095
|
case "touchmove":
|
|
2096
2096
|
case "touchstart":
|
|
2097
|
-
E =
|
|
2097
|
+
E = Fh;
|
|
2098
2098
|
break;
|
|
2099
2099
|
case Nc:
|
|
2100
2100
|
case Lc:
|
|
2101
2101
|
case jc:
|
|
2102
|
-
E =
|
|
2102
|
+
E = Ih;
|
|
2103
2103
|
break;
|
|
2104
2104
|
case Dc:
|
|
2105
|
-
E =
|
|
2105
|
+
E = Wh;
|
|
2106
2106
|
break;
|
|
2107
2107
|
case "scroll":
|
|
2108
|
-
E =
|
|
2108
|
+
E = Eh;
|
|
2109
2109
|
break;
|
|
2110
2110
|
case "wheel":
|
|
2111
|
-
E =
|
|
2111
|
+
E = Vh;
|
|
2112
2112
|
break;
|
|
2113
2113
|
case "copy":
|
|
2114
2114
|
case "cut":
|
|
2115
2115
|
case "paste":
|
|
2116
|
-
E =
|
|
2116
|
+
E = Mh;
|
|
2117
2117
|
break;
|
|
2118
2118
|
case "gotpointercapture":
|
|
2119
2119
|
case "lostpointercapture":
|
|
@@ -2156,13 +2156,13 @@ function Ki(e, t, n, r, o) {
|
|
|
2156
2156
|
}
|
|
2157
2157
|
}
|
|
2158
2158
|
e: {
|
|
2159
|
-
if (y = m ? Pn(m) : window, E = y.nodeName && y.nodeName.toLowerCase(), E === "select" || E === "input" && y.type === "file") var h =
|
|
2160
|
-
else if (Ll(y)) if (Tc) h =
|
|
2159
|
+
if (y = m ? Pn(m) : window, E = y.nodeName && y.nodeName.toLowerCase(), E === "select" || E === "input" && y.type === "file") var h = qh;
|
|
2160
|
+
else if (Ll(y)) if (Tc) h = rp;
|
|
2161
2161
|
else {
|
|
2162
|
-
h =
|
|
2163
|
-
var f =
|
|
2162
|
+
h = tp;
|
|
2163
|
+
var f = ep;
|
|
2164
2164
|
}
|
|
2165
|
-
else (E = y.nodeName) && E.toLowerCase() === "input" && (y.type === "checkbox" || y.type === "radio") && (h =
|
|
2165
|
+
else (E = y.nodeName) && E.toLowerCase() === "input" && (y.type === "checkbox" || y.type === "radio") && (h = np);
|
|
2166
2166
|
if (h && (h = h(e, m))) {
|
|
2167
2167
|
Oc(R, h, n, b);
|
|
2168
2168
|
break e;
|
|
@@ -2185,7 +2185,7 @@ function Ki(e, t, n, r, o) {
|
|
|
2185
2185
|
Ra = !1, _l(R, n, b);
|
|
2186
2186
|
break;
|
|
2187
2187
|
case "selectionchange":
|
|
2188
|
-
if (
|
|
2188
|
+
if (ap) break;
|
|
2189
2189
|
case "keydown":
|
|
2190
2190
|
case "keyup":
|
|
2191
2191
|
_l(R, n, b);
|
|
@@ -2206,7 +2206,7 @@ function Ki(e, t, n, r, o) {
|
|
|
2206
2206
|
s = void 0;
|
|
2207
2207
|
}
|
|
2208
2208
|
else Tn ? Ec(e, n) && (s = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (s = "onCompositionStart");
|
|
2209
|
-
s && (kc && n.locale !== "ko" && (Tn || s !== "onCompositionStart" ? s === "onCompositionEnd" && Tn && (c = Cc()) : ($t = b, xs = "value" in $t ? $t.value : $t.textContent, Tn = !0)), f = Ho(m, s), 0 < f.length && (s = new Il(s, e, null, n, b), R.push({ event: s, listeners: f }), c ? s.data = c : (c = Rc(n), c !== null && (s.data = c)))), (c =
|
|
2209
|
+
s && (kc && n.locale !== "ko" && (Tn || s !== "onCompositionStart" ? s === "onCompositionEnd" && Tn && (c = Cc()) : ($t = b, xs = "value" in $t ? $t.value : $t.textContent, Tn = !0)), f = Ho(m, s), 0 < f.length && (s = new Il(s, e, null, n, b), R.push({ event: s, listeners: f }), c ? s.data = c : (c = Rc(n), c !== null && (s.data = c)))), (c = Qh ? Yh(e, n) : Jh(e, n)) && (m = Ho(m, "onBeforeInput"), 0 < m.length && (b = new Il("onBeforeInput", "beforeinput", null, n, b), R.push({ event: b, listeners: m }), b.data = c));
|
|
2210
2210
|
}
|
|
2211
2211
|
Bc(R, t);
|
|
2212
2212
|
});
|
|
@@ -2236,10 +2236,10 @@ function Fl(e, t, n, r, o) {
|
|
|
2236
2236
|
}
|
|
2237
2237
|
a.length !== 0 && e.push({ event: t, listeners: a });
|
|
2238
2238
|
}
|
|
2239
|
-
var
|
|
2239
|
+
var cp = /\r\n?/g, fp = /\u0000|\uFFFD/g;
|
|
2240
2240
|
function Gl(e) {
|
|
2241
|
-
return (typeof e == "string" ? e : "" + e).replace(
|
|
2242
|
-
`).replace(
|
|
2241
|
+
return (typeof e == "string" ? e : "" + e).replace(cp, `
|
|
2242
|
+
`).replace(fp, "");
|
|
2243
2243
|
}
|
|
2244
2244
|
function uo(e, t, n) {
|
|
2245
2245
|
if (t = Gl(t), Gl(e) !== t && n) throw Error(Y(425));
|
|
@@ -2250,10 +2250,10 @@ var Oa = null, Ta = null;
|
|
|
2250
2250
|
function Aa(e, t) {
|
|
2251
2251
|
return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
|
|
2252
2252
|
}
|
|
2253
|
-
var Ia = typeof setTimeout == "function" ? setTimeout : void 0,
|
|
2254
|
-
return Wl.resolve(null).then(e).catch(
|
|
2253
|
+
var Ia = typeof setTimeout == "function" ? setTimeout : void 0, dp = typeof clearTimeout == "function" ? clearTimeout : void 0, Wl = typeof Promise == "function" ? Promise : void 0, hp = typeof queueMicrotask == "function" ? queueMicrotask : typeof Wl != "undefined" ? function(e) {
|
|
2254
|
+
return Wl.resolve(null).then(e).catch(pp);
|
|
2255
2255
|
} : Ia;
|
|
2256
|
-
function
|
|
2256
|
+
function pp(e) {
|
|
2257
2257
|
setTimeout(function() {
|
|
2258
2258
|
throw e;
|
|
2259
2259
|
});
|
|
@@ -2298,7 +2298,7 @@ function $l(e) {
|
|
|
2298
2298
|
}
|
|
2299
2299
|
return null;
|
|
2300
2300
|
}
|
|
2301
|
-
var qn = Math.random().toString(36).slice(2), kt = "__reactFiber$" + qn, Ur = "__reactProps$" + qn, Dt = "__reactContainer$" + qn, Pa = "__reactEvents$" + qn,
|
|
2301
|
+
var qn = Math.random().toString(36).slice(2), kt = "__reactFiber$" + qn, Ur = "__reactProps$" + qn, Dt = "__reactContainer$" + qn, Pa = "__reactEvents$" + qn, gp = "__reactListeners$" + qn, mp = "__reactHandles$" + qn;
|
|
2302
2302
|
function cn(e) {
|
|
2303
2303
|
var t = e[kt];
|
|
2304
2304
|
if (t) return t;
|
|
@@ -2358,7 +2358,7 @@ function zc(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();
|
|
2361
|
-
for (var o in r) if (!(o in t)) throw Error(Y(108,
|
|
2361
|
+
for (var o in r) if (!(o in t)) throw Error(Y(108, eh(e) || "Unknown", o));
|
|
2362
2362
|
return Ce({}, n, r);
|
|
2363
2363
|
}
|
|
2364
2364
|
function Wo(e) {
|
|
@@ -2373,7 +2373,7 @@ var At = null, pi = !1, Yi = !1;
|
|
|
2373
2373
|
function Hc(e) {
|
|
2374
2374
|
At === null ? At = [e] : At.push(e);
|
|
2375
2375
|
}
|
|
2376
|
-
function
|
|
2376
|
+
function vp(e) {
|
|
2377
2377
|
pi = !0, Hc(e);
|
|
2378
2378
|
}
|
|
2379
2379
|
function an() {
|
|
@@ -2500,7 +2500,7 @@ function Vn() {
|
|
|
2500
2500
|
function Os(e) {
|
|
2501
2501
|
vt === null ? vt = [e] : vt.push(e);
|
|
2502
2502
|
}
|
|
2503
|
-
var
|
|
2503
|
+
var yp = _t.ReactCurrentBatchConfig;
|
|
2504
2504
|
function ar(e, t, n) {
|
|
2505
2505
|
if (e = n.ref, e !== null && typeof e != "function" && typeof e != "object") {
|
|
2506
2506
|
if (n._owner) {
|
|
@@ -2922,7 +2922,7 @@ function js() {
|
|
|
2922
2922
|
for (var e = 0; e < Ji.length; e++) Ji[e]._workInProgressVersionPrimary = null;
|
|
2923
2923
|
Ji.length = 0;
|
|
2924
2924
|
}
|
|
2925
|
-
var ko = _t.ReactCurrentDispatcher, Xi = _t.ReactCurrentBatchConfig, vn = 0, Se = null, Oe = null, Pe = null, Xo = !1, xr = !1, zr = 0,
|
|
2925
|
+
var ko = _t.ReactCurrentDispatcher, Xi = _t.ReactCurrentBatchConfig, vn = 0, Se = null, Oe = null, Pe = null, Xo = !1, xr = !1, zr = 0, wp = 0;
|
|
2926
2926
|
function Ue() {
|
|
2927
2927
|
throw Error(Y(321));
|
|
2928
2928
|
}
|
|
@@ -2932,11 +2932,11 @@ function Ds(e, t) {
|
|
|
2932
2932
|
return !0;
|
|
2933
2933
|
}
|
|
2934
2934
|
function Us(e, t, n, r, o, i) {
|
|
2935
|
-
if (vn = i, Se = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, ko.current = e === null || e.memoizedState === null ?
|
|
2935
|
+
if (vn = i, Se = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, ko.current = e === null || e.memoizedState === null ? Cp : kp, e = n(r, o), xr) {
|
|
2936
2936
|
i = 0;
|
|
2937
2937
|
do {
|
|
2938
2938
|
if (xr = !1, zr = 0, 25 <= i) throw Error(Y(301));
|
|
2939
|
-
i += 1, Pe = Oe = null, t.updateQueue = null, ko.current =
|
|
2939
|
+
i += 1, Pe = Oe = null, t.updateQueue = null, ko.current = Ep, e = n(r, o);
|
|
2940
2940
|
} while (xr);
|
|
2941
2941
|
}
|
|
2942
2942
|
if (ko.current = Zo, t = Oe !== null && Oe.next !== null, vn = 0, Pe = Oe = Se = null, Xo = !1, t) throw Error(Y(300));
|
|
@@ -3058,7 +3058,7 @@ function nf(e) {
|
|
|
3058
3058
|
}
|
|
3059
3059
|
function ql(e) {
|
|
3060
3060
|
var t = Ct();
|
|
3061
|
-
return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Hr, lastRenderedState: e }, t.queue = e, e = e.dispatch =
|
|
3061
|
+
return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Hr, lastRenderedState: e }, t.queue = e, e = e.dispatch = Sp.bind(null, Se, e), [t.memoizedState, e];
|
|
3062
3062
|
}
|
|
3063
3063
|
function Fr(e, t, n, r) {
|
|
3064
3064
|
return e = { tag: e, create: t, destroy: n, deps: r, next: null }, t = Se.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, Se.updateQueue = t, t.lastEffect = e.next = e) : (n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e)), e;
|
|
@@ -3123,7 +3123,7 @@ function cf(e, t) {
|
|
|
3123
3123
|
function ff(e, t, n) {
|
|
3124
3124
|
return vn & 21 ? (xt(n, t) || (n = gc(), Se.lanes |= n, yn |= n, e.baseState = !0), t) : (e.baseState && (e.baseState = !1, Ye = !0), e.memoizedState = n);
|
|
3125
3125
|
}
|
|
3126
|
-
function
|
|
3126
|
+
function xp(e, t) {
|
|
3127
3127
|
var n = pe;
|
|
3128
3128
|
pe = n !== 0 && 4 > n ? n : 4, e(!0);
|
|
3129
3129
|
var r = Xi.transition;
|
|
@@ -3137,7 +3137,7 @@ function yp(e, t) {
|
|
|
3137
3137
|
function df() {
|
|
3138
3138
|
return dt().memoizedState;
|
|
3139
3139
|
}
|
|
3140
|
-
function
|
|
3140
|
+
function bp(e, t, n) {
|
|
3141
3141
|
var r = qt(e);
|
|
3142
3142
|
if (n = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }, hf(e)) pf(t, n);
|
|
3143
3143
|
else if (n = Kc(e, t, n, r), n !== null) {
|
|
@@ -3145,7 +3145,7 @@ function wp(e, t, n) {
|
|
|
3145
3145
|
wt(n, e, r, o), gf(n, t, r);
|
|
3146
3146
|
}
|
|
3147
3147
|
}
|
|
3148
|
-
function
|
|
3148
|
+
function Sp(e, t, n) {
|
|
3149
3149
|
var r = qt(e), o = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null };
|
|
3150
3150
|
if (hf(e)) pf(t, o);
|
|
3151
3151
|
else {
|
|
@@ -3178,7 +3178,7 @@ function gf(e, t, n) {
|
|
|
3178
3178
|
r &= e.pendingLanes, n |= r, t.lanes = n, vs(e, n);
|
|
3179
3179
|
}
|
|
3180
3180
|
}
|
|
3181
|
-
var Zo = { readContext: ft, useCallback: Ue, useContext: Ue, useEffect: Ue, useImperativeHandle: Ue, useInsertionEffect: Ue, useLayoutEffect: Ue, useMemo: Ue, useReducer: Ue, useRef: Ue, useState: Ue, useDebugValue: Ue, useDeferredValue: Ue, useTransition: Ue, useMutableSource: Ue, useSyncExternalStore: Ue, useId: Ue, unstable_isNewReconciler: !1 },
|
|
3181
|
+
var Zo = { readContext: ft, useCallback: Ue, useContext: Ue, useEffect: Ue, useImperativeHandle: Ue, useInsertionEffect: Ue, useLayoutEffect: Ue, useMemo: Ue, useReducer: Ue, useRef: Ue, useState: Ue, useDebugValue: Ue, useDeferredValue: Ue, useTransition: Ue, useMutableSource: Ue, useSyncExternalStore: Ue, useId: Ue, unstable_isNewReconciler: !1 }, Cp = { readContext: ft, useCallback: function(e, t) {
|
|
3182
3182
|
return Ct().memoizedState = [e, t === void 0 ? null : t], e;
|
|
3183
3183
|
}, useContext: ft, useEffect: eu, useImperativeHandle: function(e, t, n) {
|
|
3184
3184
|
return n = n != null ? n.concat([e]) : null, Eo(
|
|
@@ -3196,7 +3196,7 @@ var Zo = { readContext: ft, useCallback: Ue, useContext: Ue, useEffect: Ue, useI
|
|
|
3196
3196
|
return t = t === void 0 ? null : t, e = e(), n.memoizedState = [e, t], e;
|
|
3197
3197
|
}, useReducer: function(e, t, n) {
|
|
3198
3198
|
var r = Ct();
|
|
3199
|
-
return t = n !== void 0 ? n(t) : t, r.memoizedState = r.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: e, lastRenderedState: t }, r.queue = e, e = e.dispatch =
|
|
3199
|
+
return t = n !== void 0 ? n(t) : t, r.memoizedState = r.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: e, lastRenderedState: t }, r.queue = e, e = e.dispatch = bp.bind(null, Se, e), [r.memoizedState, e];
|
|
3200
3200
|
}, useRef: function(e) {
|
|
3201
3201
|
var t = Ct();
|
|
3202
3202
|
return e = { current: e }, t.memoizedState = e;
|
|
@@ -3204,7 +3204,7 @@ var Zo = { readContext: ft, useCallback: Ue, useContext: Ue, useEffect: Ue, useI
|
|
|
3204
3204
|
return Ct().memoizedState = e;
|
|
3205
3205
|
}, useTransition: function() {
|
|
3206
3206
|
var e = ql(!1), t = e[0];
|
|
3207
|
-
return e =
|
|
3207
|
+
return e = xp.bind(null, e[1]), Ct().memoizedState = e, [t, e];
|
|
3208
3208
|
}, useMutableSource: function() {
|
|
3209
3209
|
}, useSyncExternalStore: function(e, t, n) {
|
|
3210
3210
|
var r = Se, o = Ct();
|
|
@@ -3228,9 +3228,9 @@ var Zo = { readContext: ft, useCallback: Ue, useContext: Ue, useEffect: Ue, useI
|
|
|
3228
3228
|
if (xe) {
|
|
3229
3229
|
var n = Pt, r = It;
|
|
3230
3230
|
n = (r & ~(1 << 32 - yt(r) - 1)).toString(32) + n, t = ":" + t + "R" + n, n = zr++, 0 < n && (t += "H" + n.toString(32)), t += ":";
|
|
3231
|
-
} else n =
|
|
3231
|
+
} else n = wp++, t = ":" + t + "r" + n.toString(32) + ":";
|
|
3232
3232
|
return e.memoizedState = t;
|
|
3233
|
-
}, unstable_isNewReconciler: !1 },
|
|
3233
|
+
}, unstable_isNewReconciler: !1 }, kp = {
|
|
3234
3234
|
readContext: ft,
|
|
3235
3235
|
useCallback: uf,
|
|
3236
3236
|
useContext: ft,
|
|
@@ -3257,7 +3257,7 @@ var Zo = { readContext: ft, useCallback: Ue, useContext: Ue, useEffect: Ue, useI
|
|
|
3257
3257
|
useSyncExternalStore: Xc,
|
|
3258
3258
|
useId: df,
|
|
3259
3259
|
unstable_isNewReconciler: !1
|
|
3260
|
-
},
|
|
3260
|
+
}, Ep = { readContext: ft, useCallback: uf, useContext: ft, useEffect: _s, useImperativeHandle: lf, useInsertionEffect: of, useLayoutEffect: af, useMemo: cf, useReducer: qi, useRef: rf, useState: function() {
|
|
3261
3261
|
return qi(Hr);
|
|
3262
3262
|
}, useDebugValue: zs, useDeferredValue: function(e) {
|
|
3263
3263
|
var t = dt();
|
|
@@ -3312,7 +3312,7 @@ function Yn(e, t) {
|
|
|
3312
3312
|
try {
|
|
3313
3313
|
var n = "", r = t;
|
|
3314
3314
|
do
|
|
3315
|
-
n +=
|
|
3315
|
+
n += qd(r), r = r.return;
|
|
3316
3316
|
while (r);
|
|
3317
3317
|
var o = n;
|
|
3318
3318
|
} catch (i) {
|
|
@@ -3334,7 +3334,7 @@ function Ba(e, t) {
|
|
|
3334
3334
|
});
|
|
3335
3335
|
}
|
|
3336
3336
|
}
|
|
3337
|
-
var
|
|
3337
|
+
var Rp = typeof WeakMap == "function" ? WeakMap : Map;
|
|
3338
3338
|
function vf(e, t, n) {
|
|
3339
3339
|
n = Lt(-1, n), n.tag = 3, n.payload = { element: null };
|
|
3340
3340
|
var r = t.value;
|
|
@@ -3363,11 +3363,11 @@ function yf(e, t, n) {
|
|
|
3363
3363
|
function ru(e, t, n) {
|
|
3364
3364
|
var r = e.pingCache;
|
|
3365
3365
|
if (r === null) {
|
|
3366
|
-
r = e.pingCache = new
|
|
3366
|
+
r = e.pingCache = new Rp();
|
|
3367
3367
|
var o = /* @__PURE__ */ new Set();
|
|
3368
3368
|
r.set(t, o);
|
|
3369
3369
|
} else o = r.get(t), o === void 0 && (o = /* @__PURE__ */ new Set(), r.set(t, o));
|
|
3370
|
-
o.has(n) || (o.add(n), e =
|
|
3370
|
+
o.has(n) || (o.add(n), e = zp.bind(null, e, t, n), t.then(e, e));
|
|
3371
3371
|
}
|
|
3372
3372
|
function ou(e) {
|
|
3373
3373
|
do {
|
|
@@ -3380,7 +3380,7 @@ function ou(e) {
|
|
|
3380
3380
|
function iu(e, t, n, r, o) {
|
|
3381
3381
|
return e.mode & 1 ? (e.flags |= 65536, e.lanes = o, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, n.flags |= 131072, n.flags &= -52805, n.tag === 1 && (n.alternate === null ? n.tag = 17 : (t = Lt(-1, 1), t.tag = 2, Xt(n, t, 1))), n.lanes |= 1), e);
|
|
3382
3382
|
}
|
|
3383
|
-
var
|
|
3383
|
+
var Op = _t.ReactCurrentOwner, Ye = !1;
|
|
3384
3384
|
function He(e, t, n, r) {
|
|
3385
3385
|
t.child = e === null ? Vc(t, null, n, r) : Kn(t, e.child, n, r);
|
|
3386
3386
|
}
|
|
@@ -3454,7 +3454,7 @@ function za(e, t, n, r, o, i) {
|
|
|
3454
3454
|
bf(e, t);
|
|
3455
3455
|
var a = (t.flags & 128) !== 0;
|
|
3456
3456
|
if (!r && !a) return o && Kl(t, n, !1), Bt(e, t, i);
|
|
3457
|
-
r = t.stateNode,
|
|
3457
|
+
r = t.stateNode, Op.current = t;
|
|
3458
3458
|
var l = a && typeof n.getDerivedStateFromError != "function" ? null : r.render();
|
|
3459
3459
|
return t.flags |= 1, e !== null && a ? (t.child = Kn(t, e.child, null, i), t.child = Kn(t, null, l, i)) : He(e, t, l, i), t.memoizedState = r.state, o && Kl(t, n, !0), t.child;
|
|
3460
3460
|
}
|
|
@@ -3473,7 +3473,7 @@ function Cf(e, t, n) {
|
|
|
3473
3473
|
var r = t.pendingProps, o = be.current, i = !1, a = (t.flags & 128) !== 0, l;
|
|
3474
3474
|
if ((l = a) || (l = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), l ? (i = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (o |= 1), ve(be, o & 1), e === null)
|
|
3475
3475
|
return La(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) : (a = r.children, e = r.fallback, i ? (r = t.mode, i = t.child, a = { mode: "hidden", children: a }, !(r & 1) && i !== null ? (i.childLanes = 0, i.pendingProps = a) : i = wi(a, r, 0, null), e = pn(e, r, n, null), i.return = t, e.return = t, i.sibling = e, t.child = i, t.child.memoizedState = Fa(n), t.memoizedState = Ha, e) : Hs(t, a));
|
|
3476
|
-
if (o = e.memoizedState, o !== null && (l = o.dehydrated, l !== null)) return
|
|
3476
|
+
if (o = e.memoizedState, o !== null && (l = o.dehydrated, l !== null)) return Tp(e, t, a, r, l, o, n);
|
|
3477
3477
|
if (i) {
|
|
3478
3478
|
i = r.fallback, a = t.mode, o = e.child, l = o.sibling;
|
|
3479
3479
|
var d = { mode: "hidden", children: r.children };
|
|
@@ -3487,7 +3487,7 @@ function Hs(e, t) {
|
|
|
3487
3487
|
function ho(e, t, n, r) {
|
|
3488
3488
|
return r !== null && Os(r), Kn(t, e.child, null, n), e = Hs(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
|
|
3489
3489
|
}
|
|
3490
|
-
function
|
|
3490
|
+
function Tp(e, t, n, r, o, i, a) {
|
|
3491
3491
|
if (n)
|
|
3492
3492
|
return t.flags & 256 ? (t.flags &= -257, r = ea(Error(Y(422))), ho(e, t, a, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (i = r.fallback, o = t.mode, r = wi({ mode: "visible", children: r.children }, o, 0, null), i = pn(i, o, a, null), i.flags |= 2, r.return = t, i.return = t, r.sibling = i, t.child = r, t.mode & 1 && Kn(t, e.child, null, a), t.child.memoizedState = Fa(a), t.memoizedState = Ha, i);
|
|
3493
3493
|
if (!(t.mode & 1)) return ho(e, t, a, null);
|
|
@@ -3537,7 +3537,7 @@ function Rp(e, t, n, r, o, i, a) {
|
|
|
3537
3537
|
}
|
|
3538
3538
|
return Ks(), r = ea(Error(Y(421))), ho(e, t, a, r);
|
|
3539
3539
|
}
|
|
3540
|
-
return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t =
|
|
3540
|
+
return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Hp.bind(null, e), o._reactRetry = t, null) : (e = i.treeContext, tt = Jt(o.nextSibling), rt = t, xe = !0, vt = null, e !== null && (st[lt++] = It, st[lt++] = Pt, st[lt++] = mn, It = e.id, Pt = e.overflow, mn = t), t = Hs(t, r.children), t.flags |= 4096, t);
|
|
3541
3541
|
}
|
|
3542
3542
|
function cu(e, t, n) {
|
|
3543
3543
|
e.lanes |= t;
|
|
@@ -3604,7 +3604,7 @@ function Bt(e, t, n) {
|
|
|
3604
3604
|
}
|
|
3605
3605
|
return t.child;
|
|
3606
3606
|
}
|
|
3607
|
-
function
|
|
3607
|
+
function Ap(e, t, n) {
|
|
3608
3608
|
switch (t.tag) {
|
|
3609
3609
|
case 3:
|
|
3610
3610
|
Sf(t), Vn();
|
|
@@ -3721,7 +3721,7 @@ function Be(e) {
|
|
|
3721
3721
|
else for (o = e.child; o !== null; ) n |= o.lanes | o.childLanes, r |= o.subtreeFlags, r |= o.flags, o.return = e, o = o.sibling;
|
|
3722
3722
|
return e.subtreeFlags |= r, e.childLanes = n, t;
|
|
3723
3723
|
}
|
|
3724
|
-
function
|
|
3724
|
+
function Ip(e, t, n) {
|
|
3725
3725
|
var r = t.pendingProps;
|
|
3726
3726
|
switch (Rs(t), t.tag) {
|
|
3727
3727
|
case 2:
|
|
@@ -3967,7 +3967,7 @@ function Tp(e, t, n) {
|
|
|
3967
3967
|
}
|
|
3968
3968
|
throw Error(Y(156, t.tag));
|
|
3969
3969
|
}
|
|
3970
|
-
function
|
|
3970
|
+
function Pp(e, t) {
|
|
3971
3971
|
switch (Rs(t), t.tag) {
|
|
3972
3972
|
case 1:
|
|
3973
3973
|
return Xe(t.type) && Go(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
|
|
@@ -3996,7 +3996,7 @@ function Ap(e, t) {
|
|
|
3996
3996
|
return null;
|
|
3997
3997
|
}
|
|
3998
3998
|
}
|
|
3999
|
-
var po = !1, _e = !1,
|
|
3999
|
+
var po = !1, _e = !1, Mp = typeof WeakSet == "function" ? WeakSet : Set, te = null;
|
|
4000
4000
|
function Dn(e, t) {
|
|
4001
4001
|
var n = e.ref;
|
|
4002
4002
|
if (n !== null) if (typeof n == "function") try {
|
|
@@ -4014,7 +4014,7 @@ function Wa(e, t, n) {
|
|
|
4014
4014
|
}
|
|
4015
4015
|
}
|
|
4016
4016
|
var fu = !1;
|
|
4017
|
-
function
|
|
4017
|
+
function Np(e, t) {
|
|
4018
4018
|
if (Oa = _o, e = Pc(), ks(e)) {
|
|
4019
4019
|
if ("selectionStart" in e) var n = { start: e.selectionStart, end: e.selectionEnd };
|
|
4020
4020
|
else e: {
|
|
@@ -4126,7 +4126,7 @@ function $a(e) {
|
|
|
4126
4126
|
}
|
|
4127
4127
|
function Tf(e) {
|
|
4128
4128
|
var t = e.alternate;
|
|
4129
|
-
t !== null && (e.alternate = null, Tf(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && (delete t[kt], delete t[Ur], delete t[Pa], delete t[
|
|
4129
|
+
t !== null && (e.alternate = null, Tf(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && (delete t[kt], delete t[Ur], delete t[Pa], delete t[gp], delete t[mp])), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
|
|
4130
4130
|
}
|
|
4131
4131
|
function Af(e) {
|
|
4132
4132
|
return e.tag === 5 || e.tag === 3 || e.tag === 4;
|
|
@@ -4212,8 +4212,8 @@ function hu(e) {
|
|
|
4212
4212
|
if (t !== null) {
|
|
4213
4213
|
e.updateQueue = null;
|
|
4214
4214
|
var n = e.stateNode;
|
|
4215
|
-
n === null && (n = e.stateNode = new
|
|
4216
|
-
var o =
|
|
4215
|
+
n === null && (n = e.stateNode = new Mp()), t.forEach(function(r) {
|
|
4216
|
+
var o = Fp.bind(null, e, r);
|
|
4217
4217
|
n.has(r) || (n.add(r), r.then(o, o));
|
|
4218
4218
|
});
|
|
4219
4219
|
}
|
|
@@ -4450,7 +4450,7 @@ function bt(e) {
|
|
|
4450
4450
|
}
|
|
4451
4451
|
t & 4096 && (e.flags &= -4097);
|
|
4452
4452
|
}
|
|
4453
|
-
function
|
|
4453
|
+
function Lp(e, t, n) {
|
|
4454
4454
|
te = e, Mf(e);
|
|
4455
4455
|
}
|
|
4456
4456
|
function Mf(e, t, n) {
|
|
@@ -4636,12 +4636,12 @@ function mu(e) {
|
|
|
4636
4636
|
te = t.return;
|
|
4637
4637
|
}
|
|
4638
4638
|
}
|
|
4639
|
-
var
|
|
4639
|
+
var jp = Math.ceil, qo = _t.ReactCurrentDispatcher, Fs = _t.ReactCurrentOwner, ct = _t.ReactCurrentBatchConfig, ce = 0, Me = null, Re = null, Le = 0, qe = 0, Un = on(0), Ae = 0, Gr = null, yn = 0, yi = 0, Gs = 0, Sr = null, Qe = null, Ws = 0, Jn = 1 / 0, Tt = null, ei = !1, Qa = null, Zt = null, go = !1, Vt = null, ti = 0, Cr = 0, Ya = null, Oo = -1, To = 0;
|
|
4640
4640
|
function Ge() {
|
|
4641
4641
|
return ce & 6 ? Ee() : Oo !== -1 ? Oo : Oo = Ee();
|
|
4642
4642
|
}
|
|
4643
4643
|
function qt(e) {
|
|
4644
|
-
return e.mode & 1 ? ce & 2 && Le !== 0 ? Le & -Le :
|
|
4644
|
+
return e.mode & 1 ? ce & 2 && Le !== 0 ? Le & -Le : yp.transition !== null ? (To === 0 && (To = gc()), To) : (e = pe, e !== 0 || (e = window.event, e = e === void 0 ? 16 : Sc(e.type)), e) : 1;
|
|
4645
4645
|
}
|
|
4646
4646
|
function wt(e, t, n, r) {
|
|
4647
4647
|
if (50 < Cr) throw Cr = 0, Ya = null, Error(Y(185));
|
|
@@ -4649,11 +4649,11 @@ function wt(e, t, n, r) {
|
|
|
4649
4649
|
}
|
|
4650
4650
|
function Ze(e, t) {
|
|
4651
4651
|
var n = e.callbackNode;
|
|
4652
|
-
|
|
4652
|
+
yh(e, t);
|
|
4653
4653
|
var r = Bo(e, e === Me ? Le : 0);
|
|
4654
4654
|
if (r === 0) n !== null && El(n), e.callbackNode = null, e.callbackPriority = 0;
|
|
4655
4655
|
else if (t = r & -r, e.callbackPriority !== t) {
|
|
4656
|
-
if (n != null && El(n), t === 1) e.tag === 0 ?
|
|
4656
|
+
if (n != null && El(n), t === 1) e.tag === 0 ? vp(vu.bind(null, e)) : Hc(vu.bind(null, e)), hp(function() {
|
|
4657
4657
|
!(ce & 6) && an();
|
|
4658
4658
|
}), n = null;
|
|
4659
4659
|
else {
|
|
@@ -4693,7 +4693,7 @@ function Nf(e, t) {
|
|
|
4693
4693
|
(Me !== e || Le !== t) && (Tt = null, Jn = Ee() + 500, hn(e, t));
|
|
4694
4694
|
do
|
|
4695
4695
|
try {
|
|
4696
|
-
|
|
4696
|
+
Bp();
|
|
4697
4697
|
break;
|
|
4698
4698
|
} catch (l) {
|
|
4699
4699
|
Lf(e, l);
|
|
@@ -4705,7 +4705,7 @@ function Nf(e, t) {
|
|
|
4705
4705
|
if (t === 2 && (o = Sa(e), o !== 0 && (r = o, t = Ja(e, o))), t === 1) throw n = Gr, hn(e, 0), Wt(e, r), Ze(e, Ee()), n;
|
|
4706
4706
|
if (t === 6) Wt(e, r);
|
|
4707
4707
|
else {
|
|
4708
|
-
if (o = e.current.alternate, !(r & 30) && !
|
|
4708
|
+
if (o = e.current.alternate, !(r & 30) && !Dp(o) && (t = ni(e, r), t === 2 && (i = Sa(e), i !== 0 && (r = i, t = Ja(e, i))), t === 1)) throw n = Gr, hn(e, 0), Wt(e, r), Ze(e, Ee()), n;
|
|
4709
4709
|
switch (e.finishedWork = o, e.finishedLanes = r, t) {
|
|
4710
4710
|
case 0:
|
|
4711
4711
|
case 1:
|
|
@@ -4731,7 +4731,7 @@ function Nf(e, t) {
|
|
|
4731
4731
|
var a = 31 - yt(r);
|
|
4732
4732
|
i = 1 << a, a = t[a], a > o && (o = a), r &= ~i;
|
|
4733
4733
|
}
|
|
4734
|
-
if (r = o, r = Ee() - r, r = (120 > r ? 120 : 480 > r ? 480 : 1080 > r ? 1080 : 1920 > r ? 1920 : 3e3 > r ? 3e3 : 4320 > r ? 4320 : 1960 *
|
|
4734
|
+
if (r = o, r = Ee() - r, r = (120 > r ? 120 : 480 > r ? 480 : 1080 > r ? 1080 : 1920 > r ? 1920 : 3e3 > r ? 3e3 : 4320 > r ? 4320 : 1960 * jp(r / 1960)) - r, 10 < r) {
|
|
4735
4735
|
e.timeoutHandle = Ia(un.bind(null, e, Qe, Tt), r);
|
|
4736
4736
|
break;
|
|
4737
4737
|
}
|
|
@@ -4754,7 +4754,7 @@ function Ja(e, t) {
|
|
|
4754
4754
|
function Xa(e) {
|
|
4755
4755
|
Qe === null ? Qe = e : Qe.push.apply(Qe, e);
|
|
4756
4756
|
}
|
|
4757
|
-
function
|
|
4757
|
+
function Dp(e) {
|
|
4758
4758
|
for (var t = e; ; ) {
|
|
4759
4759
|
if (t.flags & 16384) {
|
|
4760
4760
|
var n = t.updateQueue;
|
|
@@ -4826,7 +4826,7 @@ function Vs() {
|
|
|
4826
4826
|
function hn(e, t) {
|
|
4827
4827
|
e.finishedWork = null, e.finishedLanes = 0;
|
|
4828
4828
|
var n = e.timeoutHandle;
|
|
4829
|
-
if (n !== -1 && (e.timeoutHandle = -1,
|
|
4829
|
+
if (n !== -1 && (e.timeoutHandle = -1, dp(n)), Re !== null) for (n = Re.return; n !== null; ) {
|
|
4830
4830
|
var r = n;
|
|
4831
4831
|
switch (Rs(r), r.tag) {
|
|
4832
4832
|
case 1:
|
|
@@ -4959,7 +4959,7 @@ function ni(e, t) {
|
|
|
4959
4959
|
(Me !== e || Le !== t) && (Tt = null, hn(e, t));
|
|
4960
4960
|
do
|
|
4961
4961
|
try {
|
|
4962
|
-
|
|
4962
|
+
Up();
|
|
4963
4963
|
break;
|
|
4964
4964
|
} catch (o) {
|
|
4965
4965
|
Lf(e, o);
|
|
@@ -4968,11 +4968,11 @@ function ni(e, t) {
|
|
|
4968
4968
|
if (As(), ce = n, qo.current = r, Re !== null) throw Error(Y(261));
|
|
4969
4969
|
return Me = null, Le = 0, Ae;
|
|
4970
4970
|
}
|
|
4971
|
-
function
|
|
4971
|
+
function Up() {
|
|
4972
4972
|
for (; Re !== null; ) Df(Re);
|
|
4973
4973
|
}
|
|
4974
|
-
function
|
|
4975
|
-
for (; Re !== null && !
|
|
4974
|
+
function Bp() {
|
|
4975
|
+
for (; Re !== null && !uh(); ) Df(Re);
|
|
4976
4976
|
}
|
|
4977
4977
|
function Df(e) {
|
|
4978
4978
|
var t = _f(e.alternate, e, qe);
|
|
@@ -4983,7 +4983,7 @@ function Uf(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 = Pp(n, t), n !== null) {
|
|
4987
4987
|
n.flags &= 32767, Re = n;
|
|
4988
4988
|
return;
|
|
4989
4989
|
}
|
|
@@ -4992,7 +4992,7 @@ function Uf(e) {
|
|
|
4992
4992
|
Ae = 6, Re = null;
|
|
4993
4993
|
return;
|
|
4994
4994
|
}
|
|
4995
|
-
} else if (n =
|
|
4995
|
+
} else if (n = Ip(n, t, qe), n !== null) {
|
|
4996
4996
|
Re = n;
|
|
4997
4997
|
return;
|
|
4998
4998
|
}
|
|
@@ -5007,13 +5007,13 @@ function Uf(e) {
|
|
|
5007
5007
|
function un(e, t, n) {
|
|
5008
5008
|
var r = pe, o = ct.transition;
|
|
5009
5009
|
try {
|
|
5010
|
-
ct.transition = null, pe = 1,
|
|
5010
|
+
ct.transition = null, pe = 1, _p(e, t, n, r);
|
|
5011
5011
|
} finally {
|
|
5012
5012
|
ct.transition = o, pe = r;
|
|
5013
5013
|
}
|
|
5014
5014
|
return null;
|
|
5015
5015
|
}
|
|
5016
|
-
function
|
|
5016
|
+
function _p(e, t, n, r) {
|
|
5017
5017
|
do
|
|
5018
5018
|
Gn();
|
|
5019
5019
|
while (Vt !== null);
|
|
@@ -5024,16 +5024,16 @@ function Up(e, t, n, r) {
|
|
|
5024
5024
|
if (e.finishedWork = null, e.finishedLanes = 0, n === e.current) throw Error(Y(177));
|
|
5025
5025
|
e.callbackNode = null, e.callbackPriority = 0;
|
|
5026
5026
|
var i = n.lanes | n.childLanes;
|
|
5027
|
-
if (
|
|
5027
|
+
if (wh(e, i), e === Me && (Re = Me = null, Le = 0), !(n.subtreeFlags & 2064) && !(n.flags & 2064) || go || (go = !0, zf(Uo, function() {
|
|
5028
5028
|
return Gn(), null;
|
|
5029
5029
|
})), i = (n.flags & 15990) !== 0, n.subtreeFlags & 15990 || i) {
|
|
5030
5030
|
i = ct.transition, ct.transition = null;
|
|
5031
5031
|
var a = pe;
|
|
5032
5032
|
pe = 1;
|
|
5033
5033
|
var l = ce;
|
|
5034
|
-
ce |= 4, Fs.current = null,
|
|
5034
|
+
ce |= 4, Fs.current = null, Np(e, n), Pf(n, e), ip(Ta), _o = !!Oa, Ta = Oa = null, e.current = n, Lp(n), ch(), ce = l, pe = a, ct.transition = i;
|
|
5035
5035
|
} else e.current = n;
|
|
5036
|
-
if (go && (go = !1, Vt = e, ti = o), i = e.pendingLanes, i === 0 && (Zt = null),
|
|
5036
|
+
if (go && (go = !1, Vt = e, ti = o), i = e.pendingLanes, i === 0 && (Zt = null), hh(n.stateNode), Ze(e, Ee()), 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 (ei) throw ei = !1, e = Qa, Qa = null, e;
|
|
5038
5038
|
return ti & 1 && e.tag !== 0 && Gn(), i = e.pendingLanes, i & 1 ? e === Ya ? Cr++ : (Cr = 0, Ya = e) : Cr = 0, an(), null;
|
|
5039
5039
|
}
|
|
@@ -5167,7 +5167,7 @@ function ke(e, t, n) {
|
|
|
5167
5167
|
t = t.return;
|
|
5168
5168
|
}
|
|
5169
5169
|
}
|
|
5170
|
-
function
|
|
5170
|
+
function zp(e, t, n) {
|
|
5171
5171
|
var r = e.pingCache;
|
|
5172
5172
|
r !== null && r.delete(t), t = Ge(), e.pingedLanes |= e.suspendedLanes & n, Me === e && (Le & n) === n && (Ae === 4 || Ae === 3 && (Le & 130023424) === Le && 500 > Ee() - Ws ? hn(e, 0) : Gs |= n), Ze(e, t);
|
|
5173
5173
|
}
|
|
@@ -5176,11 +5176,11 @@ function Bf(e, t) {
|
|
|
5176
5176
|
var n = Ge();
|
|
5177
5177
|
e = Ut(e, t), e !== null && (Vr(e, t, n), Ze(e, n));
|
|
5178
5178
|
}
|
|
5179
|
-
function
|
|
5179
|
+
function Hp(e) {
|
|
5180
5180
|
var t = e.memoizedState, n = 0;
|
|
5181
5181
|
t !== null && (n = t.retryLane), Bf(e, n);
|
|
5182
5182
|
}
|
|
5183
|
-
function
|
|
5183
|
+
function Fp(e, t) {
|
|
5184
5184
|
var n = 0;
|
|
5185
5185
|
switch (e.tag) {
|
|
5186
5186
|
case 13:
|
|
@@ -5199,7 +5199,7 @@ var _f;
|
|
|
5199
5199
|
_f = function(e, t, n) {
|
|
5200
5200
|
if (e !== null) if (e.memoizedProps !== t.pendingProps || Je.current) Ye = !0;
|
|
5201
5201
|
else {
|
|
5202
|
-
if (!(e.lanes & n) && !(t.flags & 128)) return Ye = !1,
|
|
5202
|
+
if (!(e.lanes & n) && !(t.flags & 128)) return Ye = !1, Ap(e, t, n);
|
|
5203
5203
|
Ye = !!(e.flags & 131072);
|
|
5204
5204
|
}
|
|
5205
5205
|
else Ye = !1, xe && t.flags & 1048576 && Fc(t, Vo, t.index);
|
|
@@ -5214,7 +5214,7 @@ _f = function(e, t, n) {
|
|
|
5214
5214
|
case 16:
|
|
5215
5215
|
r = t.elementType;
|
|
5216
5216
|
e: {
|
|
5217
|
-
switch (Ro(e, t), e = t.pendingProps, o = r._init, r = o(r._payload), t.type = r, o = t.tag =
|
|
5217
|
+
switch (Ro(e, t), e = t.pendingProps, o = r._init, r = o(r._payload), t.type = r, o = t.tag = Wp(r), e = gt(r, e), o) {
|
|
5218
5218
|
case 0:
|
|
5219
5219
|
t = _a(null, t, r, e, n);
|
|
5220
5220
|
break e;
|
|
@@ -5348,16 +5348,16 @@ _f = function(e, t, n) {
|
|
|
5348
5348
|
function zf(e, t) {
|
|
5349
5349
|
return dc(e, t);
|
|
5350
5350
|
}
|
|
5351
|
-
function
|
|
5351
|
+
function Gp(e, t, n, r) {
|
|
5352
5352
|
this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
|
|
5353
5353
|
}
|
|
5354
5354
|
function ut(e, t, n, r) {
|
|
5355
|
-
return new
|
|
5355
|
+
return new Gp(e, t, n, r);
|
|
5356
5356
|
}
|
|
5357
5357
|
function Qs(e) {
|
|
5358
5358
|
return e = e.prototype, !(!e || !e.isReactComponent);
|
|
5359
5359
|
}
|
|
5360
|
-
function
|
|
5360
|
+
function Wp(e) {
|
|
5361
5361
|
if (typeof e == "function") return Qs(e) ? 1 : 0;
|
|
5362
5362
|
if (e != null) {
|
|
5363
5363
|
if (e = e.$$typeof, e === hs) return 11;
|
|
@@ -5421,13 +5421,13 @@ function na(e, t, n) {
|
|
|
5421
5421
|
function ra(e, t, n) {
|
|
5422
5422
|
return t = ut(4, e.children !== null ? e.children : [], e.key, t), t.lanes = n, t.stateNode = { containerInfo: e.containerInfo, pendingChildren: null, implementation: e.implementation }, t;
|
|
5423
5423
|
}
|
|
5424
|
-
function
|
|
5424
|
+
function $p(e, t, n, r, o) {
|
|
5425
5425
|
this.tag = t, this.containerInfo = e, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.pendingContext = this.context = null, this.callbackPriority = 0, this.eventTimes = Ui(0), this.expirationTimes = Ui(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Ui(0), this.identifierPrefix = r, this.onRecoverableError = o, this.mutableSourceEagerHydrationData = null;
|
|
5426
5426
|
}
|
|
5427
5427
|
function Ys(e, t, n, r, o, i, a, l, d) {
|
|
5428
|
-
return e = new
|
|
5428
|
+
return e = new $p(e, t, n, l, d), t === 1 ? (t = 1, i === !0 && (t |= 8)) : t = 0, i = ut(3, null, null, t), e.current = i, i.stateNode = e, i.memoizedState = { element: r, isDehydrated: n, cache: null, transitions: null, pendingSuspenseBoundaries: null }, Ms(i), e;
|
|
5429
5429
|
}
|
|
5430
|
-
function
|
|
5430
|
+
function Vp(e, t, n) {
|
|
5431
5431
|
var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
5432
5432
|
return { $$typeof: Rn, key: r == null ? null : "" + r, children: e, containerInfo: t, implementation: n };
|
|
5433
5433
|
}
|
|
@@ -5483,7 +5483,7 @@ function wu(e, t) {
|
|
|
5483
5483
|
function Js(e, t) {
|
|
5484
5484
|
wu(e, t), (e = e.alternate) && wu(e, t);
|
|
5485
5485
|
}
|
|
5486
|
-
function
|
|
5486
|
+
function Kp() {
|
|
5487
5487
|
return null;
|
|
5488
5488
|
}
|
|
5489
5489
|
var Gf = typeof reportError == "function" ? reportError : function(e) {
|
|
@@ -5526,7 +5526,7 @@ function Si(e) {
|
|
|
5526
5526
|
}
|
|
5527
5527
|
function xu() {
|
|
5528
5528
|
}
|
|
5529
|
-
function
|
|
5529
|
+
function Qp(e, t, n, r, o) {
|
|
5530
5530
|
if (o) {
|
|
5531
5531
|
if (typeof r == "function") {
|
|
5532
5532
|
var i = r;
|
|
@@ -5563,7 +5563,7 @@ function Ci(e, t, n, r, o) {
|
|
|
5563
5563
|
};
|
|
5564
5564
|
}
|
|
5565
5565
|
xi(t, a, e, o);
|
|
5566
|
-
} else a =
|
|
5566
|
+
} else a = Qp(n, t, e, o, r);
|
|
5567
5567
|
return ri(a);
|
|
5568
5568
|
}
|
|
5569
5569
|
vc = function(e) {
|
|
@@ -5640,21 +5640,21 @@ wa = function(e, t, n) {
|
|
|
5640
5640
|
};
|
|
5641
5641
|
ac = $s;
|
|
5642
5642
|
sc = wn;
|
|
5643
|
-
var
|
|
5643
|
+
var Yp = { usingClientEntryPoint: !1, Events: [Qr, Pn, hi, oc, ic, $s] }, lr = { findFiberByHostInstance: cn, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, Jp = { bundleType: lr.bundleType, version: lr.version, rendererPackageName: lr.rendererPackageName, rendererConfig: lr.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: _t.ReactCurrentDispatcher, findHostInstanceByFiber: function(e) {
|
|
5644
5644
|
return e = cc(e), e === null ? null : e.stateNode;
|
|
5645
|
-
}, findFiberByHostInstance: lr.findFiberByHostInstance ||
|
|
5645
|
+
}, findFiberByHostInstance: lr.findFiberByHostInstance || Kp, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
|
|
5646
5646
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ != "undefined") {
|
|
5647
5647
|
var mo = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
5648
5648
|
if (!mo.isDisabled && mo.supportsFiber) try {
|
|
5649
|
-
ui = mo.inject(
|
|
5649
|
+
ui = mo.inject(Jp), Et = mo;
|
|
5650
5650
|
} catch (e) {
|
|
5651
5651
|
}
|
|
5652
5652
|
}
|
|
5653
|
-
it.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
|
|
5653
|
+
it.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Yp;
|
|
5654
5654
|
it.createPortal = function(e, t) {
|
|
5655
5655
|
var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
5656
5656
|
if (!Zs(t)) throw Error(Y(200));
|
|
5657
|
-
return
|
|
5657
|
+
return Vp(e, t, null, n);
|
|
5658
5658
|
};
|
|
5659
5659
|
it.createRoot = function(e, t) {
|
|
5660
5660
|
if (!Zs(e)) throw Error(Y(299));
|
|
@@ -5713,7 +5713,7 @@ function Wf() {
|
|
|
5713
5713
|
}
|
|
5714
5714
|
}
|
|
5715
5715
|
Wf(), Gu.exports = it;
|
|
5716
|
-
var
|
|
5716
|
+
var Xp = Gu.exports, qs, bu = Xp;
|
|
5717
5717
|
qs = bu.createRoot, bu.hydrateRoot;
|
|
5718
5718
|
var $f = { exports: {} }, ki = {};
|
|
5719
5719
|
/**
|
|
@@ -5725,20 +5725,20 @@ var $f = { exports: {} }, ki = {};
|
|
|
5725
5725
|
* This source code is licensed under the MIT license found in the
|
|
5726
5726
|
* LICENSE file in the root directory of this source tree.
|
|
5727
5727
|
*/
|
|
5728
|
-
var
|
|
5728
|
+
var Zp = Z, qp = Symbol.for("react.element"), eg = Symbol.for("react.fragment"), tg = Object.prototype.hasOwnProperty, ng = Zp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, rg = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
5729
5729
|
function Vf(e, t, n) {
|
|
5730
5730
|
var r, o = {}, i = null, a = null;
|
|
5731
5731
|
n !== void 0 && (i = "" + n), t.key !== void 0 && (i = "" + t.key), t.ref !== void 0 && (a = t.ref);
|
|
5732
|
-
for (r in t)
|
|
5732
|
+
for (r in t) tg.call(t, r) && !rg.hasOwnProperty(r) && (o[r] = t[r]);
|
|
5733
5733
|
if (e && e.defaultProps) for (r in t = e.defaultProps, t) o[r] === void 0 && (o[r] = t[r]);
|
|
5734
|
-
return { $$typeof:
|
|
5734
|
+
return { $$typeof: qp, type: e, key: i, ref: a, props: o, _owner: ng.current };
|
|
5735
5735
|
}
|
|
5736
|
-
ki.Fragment =
|
|
5736
|
+
ki.Fragment = eg;
|
|
5737
5737
|
ki.jsx = Vf;
|
|
5738
5738
|
ki.jsxs = Vf;
|
|
5739
5739
|
$f.exports = ki;
|
|
5740
5740
|
var F = $f.exports;
|
|
5741
|
-
const
|
|
5741
|
+
const og = ({
|
|
5742
5742
|
isOpen: e,
|
|
5743
5743
|
onClick: t,
|
|
5744
5744
|
primaryColor: n = "#007bff",
|
|
@@ -5781,7 +5781,7 @@ const ng = ({
|
|
|
5781
5781
|
]
|
|
5782
5782
|
}
|
|
5783
5783
|
);
|
|
5784
|
-
},
|
|
5784
|
+
}, ig = ({
|
|
5785
5785
|
title: e,
|
|
5786
5786
|
onClose: t,
|
|
5787
5787
|
primaryColor: n = "#f59e0b",
|
|
@@ -5938,30 +5938,30 @@ var Fe = {
|
|
|
5938
5938
|
fencesBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}(?:\`\`\`|~~~)`),
|
|
5939
5939
|
headingBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
|
|
5940
5940
|
htmlBeginRegex: (e) => new RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
5941
|
-
},
|
|
5941
|
+
}, ag = /^(?:[ \t]*(?:\n|$))+/, sg = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, lg = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Jr = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, ug = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, tl = /(?:[*+-]|\d{1,9}[.)])/, Qf = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Yf = he(Qf).replace(/bull/g, tl).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), cg = he(Qf).replace(/bull/g, tl).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(), nl = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, fg = /^[^\n]+/, rl = /(?!\s*\])(?:\\.|[^\[\]\\])+/, dg = he(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", rl).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), hg = he(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, tl).getRegex(), Ei = "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", ol = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, pg = he(
|
|
5942
5942
|
"^ {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|$))",
|
|
5943
5943
|
"i"
|
|
5944
|
-
).replace("comment", ol).replace("tag", Ei).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Jf = he(nl).replace("hr", Jr).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", Ei).getRegex(),
|
|
5945
|
-
blockquote:
|
|
5946
|
-
code:
|
|
5947
|
-
def:
|
|
5948
|
-
fences:
|
|
5949
|
-
heading:
|
|
5944
|
+
).replace("comment", ol).replace("tag", Ei).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Jf = he(nl).replace("hr", Jr).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", Ei).getRegex(), gg = he(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Jf).getRegex(), il = {
|
|
5945
|
+
blockquote: gg,
|
|
5946
|
+
code: sg,
|
|
5947
|
+
def: dg,
|
|
5948
|
+
fences: lg,
|
|
5949
|
+
heading: ug,
|
|
5950
5950
|
hr: Jr,
|
|
5951
|
-
html:
|
|
5951
|
+
html: pg,
|
|
5952
5952
|
lheading: Yf,
|
|
5953
|
-
list:
|
|
5954
|
-
newline:
|
|
5953
|
+
list: hg,
|
|
5954
|
+
newline: ag,
|
|
5955
5955
|
paragraph: Jf,
|
|
5956
5956
|
table: kr,
|
|
5957
|
-
text:
|
|
5957
|
+
text: fg
|
|
5958
5958
|
}, Su = he(
|
|
5959
5959
|
"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
|
|
5960
|
-
).replace("hr", Jr).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", Ei).getRegex(),
|
|
5961
|
-
lheading:
|
|
5960
|
+
).replace("hr", Jr).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", Ei).getRegex(), mg = De(ie({}, il), {
|
|
5961
|
+
lheading: cg,
|
|
5962
5962
|
table: Su,
|
|
5963
5963
|
paragraph: he(nl).replace("hr", Jr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Su).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", Ei).getRegex()
|
|
5964
|
-
}),
|
|
5964
|
+
}), vg = De(ie({}, il), {
|
|
5965
5965
|
html: he(
|
|
5966
5966
|
`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
|
|
5967
5967
|
).replace("comment", ol).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(),
|
|
@@ -5972,61 +5972,61 @@ var Fe = {
|
|
|
5972
5972
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
5973
5973
|
paragraph: he(nl).replace("hr", Jr).replace("heading", ` *#{1,6} *[^
|
|
5974
5974
|
]`).replace("lheading", Yf).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
5975
|
-
}),
|
|
5975
|
+
}), yg = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, wg = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Xf = /^( {2,}|\\)\n(?!\s*$)/, xg = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ri = /[\p{P}\p{S}]/u, al = /[\s\p{P}\p{S}]/u, Zf = /[^\s\p{P}\p{S}]/u, bg = he(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, al).getRegex(), qf = /(?!~)[\p{P}\p{S}]/u, Sg = /(?!~)[\s\p{P}\p{S}]/u, Cg = /(?:[^\s\p{P}\p{S}]|~)/u, kg = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, ed = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Eg = he(ed, "u").replace(/punct/g, Ri).getRegex(), Rg = he(ed, "u").replace(/punct/g, qf).getRegex(), td = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Og = he(td, "gu").replace(/notPunctSpace/g, Zf).replace(/punctSpace/g, al).replace(/punct/g, Ri).getRegex(), Tg = he(td, "gu").replace(/notPunctSpace/g, Cg).replace(/punctSpace/g, Sg).replace(/punct/g, qf).getRegex(), Ag = he(
|
|
5976
5976
|
"^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
|
|
5977
5977
|
"gu"
|
|
5978
|
-
).replace(/notPunctSpace/g, Zf).replace(/punctSpace/g, al).replace(/punct/g, Ri).getRegex(),
|
|
5978
|
+
).replace(/notPunctSpace/g, Zf).replace(/punctSpace/g, al).replace(/punct/g, Ri).getRegex(), Ig = he(/\\(punct)/, "gu").replace(/punct/g, Ri).getRegex(), Pg = he(/^<(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(), Mg = he(ol).replace("(?:-->|$)", "-->").getRegex(), Ng = he(
|
|
5979
5979
|
"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
|
|
5980
|
-
).replace("comment",
|
|
5980
|
+
).replace("comment", Mg).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), oi = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Lg = he(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", oi).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), nd = he(/^!?\[(label)\]\[(ref)\]/).replace("label", oi).replace("ref", rl).getRegex(), rd = he(/^!?\[(ref)\](?:\[\])?/).replace("ref", rl).getRegex(), jg = he("reflink|nolink(?!\\()", "g").replace("reflink", nd).replace("nolink", rd).getRegex(), sl = {
|
|
5981
5981
|
_backpedal: kr,
|
|
5982
5982
|
// only used for GFM url
|
|
5983
|
-
anyPunctuation:
|
|
5984
|
-
autolink:
|
|
5985
|
-
blockSkip:
|
|
5983
|
+
anyPunctuation: Ig,
|
|
5984
|
+
autolink: Pg,
|
|
5985
|
+
blockSkip: kg,
|
|
5986
5986
|
br: Xf,
|
|
5987
|
-
code:
|
|
5987
|
+
code: wg,
|
|
5988
5988
|
del: kr,
|
|
5989
|
-
emStrongLDelim:
|
|
5990
|
-
emStrongRDelimAst:
|
|
5991
|
-
emStrongRDelimUnd:
|
|
5992
|
-
escape:
|
|
5993
|
-
link:
|
|
5989
|
+
emStrongLDelim: Eg,
|
|
5990
|
+
emStrongRDelimAst: Og,
|
|
5991
|
+
emStrongRDelimUnd: Ag,
|
|
5992
|
+
escape: yg,
|
|
5993
|
+
link: Lg,
|
|
5994
5994
|
nolink: rd,
|
|
5995
|
-
punctuation:
|
|
5995
|
+
punctuation: bg,
|
|
5996
5996
|
reflink: nd,
|
|
5997
|
-
reflinkSearch:
|
|
5998
|
-
tag:
|
|
5999
|
-
text:
|
|
5997
|
+
reflinkSearch: jg,
|
|
5998
|
+
tag: Ng,
|
|
5999
|
+
text: xg,
|
|
6000
6000
|
url: kr
|
|
6001
|
-
},
|
|
6001
|
+
}, Dg = De(ie({}, sl), {
|
|
6002
6002
|
link: he(/^!?\[(label)\]\((.*?)\)/).replace("label", oi).getRegex(),
|
|
6003
6003
|
reflink: he(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", oi).getRegex()
|
|
6004
6004
|
}), Za = De(ie({}, sl), {
|
|
6005
|
-
emStrongRDelimAst:
|
|
6006
|
-
emStrongLDelim:
|
|
6005
|
+
emStrongRDelimAst: Tg,
|
|
6006
|
+
emStrongLDelim: Rg,
|
|
6007
6007
|
url: he(/^((?: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(),
|
|
6008
6008
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
6009
6009
|
del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
|
|
6010
6010
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
6011
|
-
}),
|
|
6011
|
+
}), Ug = De(ie({}, Za), {
|
|
6012
6012
|
br: he(Xf).replace("{2,}", "*").getRegex(),
|
|
6013
6013
|
text: he(Za.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
6014
6014
|
}), vo = {
|
|
6015
6015
|
normal: il,
|
|
6016
|
-
gfm:
|
|
6017
|
-
pedantic:
|
|
6016
|
+
gfm: mg,
|
|
6017
|
+
pedantic: vg
|
|
6018
6018
|
}, ur = {
|
|
6019
6019
|
normal: sl,
|
|
6020
6020
|
gfm: Za,
|
|
6021
|
-
breaks:
|
|
6022
|
-
pedantic:
|
|
6023
|
-
},
|
|
6021
|
+
breaks: Ug,
|
|
6022
|
+
pedantic: Dg
|
|
6023
|
+
}, Bg = {
|
|
6024
6024
|
"&": "&",
|
|
6025
6025
|
"<": "<",
|
|
6026
6026
|
">": ">",
|
|
6027
6027
|
'"': """,
|
|
6028
6028
|
"'": "'"
|
|
6029
|
-
}, Cu = (e) =>
|
|
6029
|
+
}, Cu = (e) => Bg[e];
|
|
6030
6030
|
function St(e, t) {
|
|
6031
6031
|
if (t) {
|
|
6032
6032
|
if (Fe.escapeTest.test(e))
|
|
@@ -6069,7 +6069,7 @@ function cr(e, t, n) {
|
|
|
6069
6069
|
o++;
|
|
6070
6070
|
return e.slice(0, r - o);
|
|
6071
6071
|
}
|
|
6072
|
-
function
|
|
6072
|
+
function _g(e, t) {
|
|
6073
6073
|
if (e.indexOf(t[1]) === -1)
|
|
6074
6074
|
return -1;
|
|
6075
6075
|
let n = 0;
|
|
@@ -6095,7 +6095,7 @@ function Ru(e, t, n, r, o) {
|
|
|
6095
6095
|
};
|
|
6096
6096
|
return r.state.inLink = !1, d;
|
|
6097
6097
|
}
|
|
6098
|
-
function
|
|
6098
|
+
function zg(e, t, n) {
|
|
6099
6099
|
const r = e.match(n.other.indentCodeCompensation);
|
|
6100
6100
|
if (r === null)
|
|
6101
6101
|
return t;
|
|
@@ -6143,7 +6143,7 @@ var ii = class {
|
|
|
6143
6143
|
fences(e) {
|
|
6144
6144
|
const t = this.rules.block.fences.exec(e);
|
|
6145
6145
|
if (t) {
|
|
6146
|
-
const n = t[0], r =
|
|
6146
|
+
const n = t[0], r = zg(n, t[3] || "", this.rules);
|
|
6147
6147
|
return {
|
|
6148
6148
|
type: "code",
|
|
6149
6149
|
raw: n,
|
|
@@ -6429,7 +6429,7 @@ ${b}` : b;
|
|
|
6429
6429
|
if ((n.length - i.length) % 2 === 0)
|
|
6430
6430
|
return;
|
|
6431
6431
|
} else {
|
|
6432
|
-
const i =
|
|
6432
|
+
const i = _g(t[2], "()");
|
|
6433
6433
|
if (i === -2)
|
|
6434
6434
|
return;
|
|
6435
6435
|
if (i > -1) {
|
|
@@ -7202,7 +7202,7 @@ ${e}</tr>
|
|
|
7202
7202
|
"preprocess",
|
|
7203
7203
|
"postprocess",
|
|
7204
7204
|
"processAllTokens"
|
|
7205
|
-
])), oa),
|
|
7205
|
+
])), oa), Hg = class {
|
|
7206
7206
|
constructor(...e) {
|
|
7207
7207
|
ge(this, "defaults", el());
|
|
7208
7208
|
ge(this, "options", this.setOptions);
|
|
@@ -7374,7 +7374,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
7374
7374
|
throw n;
|
|
7375
7375
|
};
|
|
7376
7376
|
}
|
|
7377
|
-
}, xn = new
|
|
7377
|
+
}, xn = new Hg();
|
|
7378
7378
|
function fe(e, t) {
|
|
7379
7379
|
return xn.parse(e, t);
|
|
7380
7380
|
}
|
|
@@ -7406,7 +7406,7 @@ fe.walkTokens;
|
|
|
7406
7406
|
fe.parseInline;
|
|
7407
7407
|
Nt.parse;
|
|
7408
7408
|
Mt.lex;
|
|
7409
|
-
const
|
|
7409
|
+
const Fg = (e) => {
|
|
7410
7410
|
if (e instanceof Date)
|
|
7411
7411
|
return e;
|
|
7412
7412
|
const t = e.endsWith("Z") ? e : `${e}Z`;
|
|
@@ -7414,13 +7414,13 @@ const zg = (e) => {
|
|
|
7414
7414
|
};
|
|
7415
7415
|
function Ou(e) {
|
|
7416
7416
|
if (!e) return "";
|
|
7417
|
-
const t =
|
|
7417
|
+
const t = Fg(e), n = t.getDate().toString().padStart(2, "0"), r = (t.getMonth() + 1).toString().padStart(2, "0"), o = t.getFullYear(), i = t.getHours().toString().padStart(2, "0"), a = t.getMinutes().toString().padStart(2, "0");
|
|
7418
7418
|
return `${n}/${r}/${o} ${i}:${a}`;
|
|
7419
7419
|
}
|
|
7420
7420
|
const si = new fe.Renderer();
|
|
7421
7421
|
si.link = ({ href: e, title: t, text: n }) => `<a href="${e}" title="${t || ""}" target="_blank" class="nbc-text-blue-500 nbc-hover:underline">${n}</a>`;
|
|
7422
7422
|
si.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}>`;
|
|
7423
|
-
const
|
|
7423
|
+
const Gg = ({ message: e, avatar: t, textColor: n, bubbleUserColor: r }) => e.sender === "user" ? /* @__PURE__ */ F.jsx("div", { className: "nbc-w-full nbc-flex nbc-justify-end nbc-mb-4", children: /* @__PURE__ */ F.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: [
|
|
7424
7424
|
/* @__PURE__ */ F.jsx(
|
|
7425
7425
|
"div",
|
|
7426
7426
|
{
|
|
@@ -7459,7 +7459,7 @@ const Hg = ({ message: e, avatar: t, textColor: n, bubbleUserColor: r }) => e.se
|
|
|
7459
7459
|
id: "notchatbot-message-text"
|
|
7460
7460
|
}
|
|
7461
7461
|
) })
|
|
7462
|
-
] }) }),
|
|
7462
|
+
] }) }), Wg = ({ avatar: e }) => /* @__PURE__ */ F.jsx("div", { className: "nbc-flex nbc-justify-start nbc-mb-4", children: /* @__PURE__ */ F.jsxs("div", { className: "nbc-flex nbc-items-start nbc-space-x-3", children: [
|
|
7463
7463
|
/* @__PURE__ */ F.jsxs("div", { className: "nbc-flex nbc-flex-col nbc-items-center nbc-py-3 nbc-text-black", children: [
|
|
7464
7464
|
e ? /* @__PURE__ */ F.jsx(
|
|
7465
7465
|
"img",
|
|
@@ -7530,18 +7530,18 @@ const Hg = ({ message: e, avatar: t, textColor: n, bubbleUserColor: r }) => e.se
|
|
|
7530
7530
|
display: none;
|
|
7531
7531
|
}
|
|
7532
7532
|
` }),
|
|
7533
|
-
e.map((m) => /* @__PURE__ */ F.jsx(
|
|
7534
|
-
t && i && /* @__PURE__ */ F.jsx(
|
|
7533
|
+
e.map((m) => /* @__PURE__ */ F.jsx(Gg, { message: m, avatar: n, textColor: r, bubbleUserColor: o }, m.id)),
|
|
7534
|
+
t && i && /* @__PURE__ */ F.jsx(Wg, { avatar: n }),
|
|
7535
7535
|
/* @__PURE__ */ F.jsx("div", { ref: a })
|
|
7536
7536
|
]
|
|
7537
7537
|
}
|
|
7538
7538
|
);
|
|
7539
7539
|
};
|
|
7540
|
-
function
|
|
7540
|
+
function $g() {
|
|
7541
7541
|
return typeof window == "undefined" ? !1 : window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1" || window.location.hostname.includes("localhost");
|
|
7542
7542
|
}
|
|
7543
7543
|
function Oi() {
|
|
7544
|
-
return
|
|
7544
|
+
return $g() ? {
|
|
7545
7545
|
baseUrl: "http://localhost:3001",
|
|
7546
7546
|
chatEndpoint: "http://localhost:3001/api/webchat",
|
|
7547
7547
|
conversationEndpoint: "http://localhost:3001/api/webchat/conversation",
|
|
@@ -7555,20 +7555,20 @@ function Oi() {
|
|
|
7555
7555
|
rateEndpoint: "https://next.notchatbot.com/api/webchat/conversation/rate"
|
|
7556
7556
|
};
|
|
7557
7557
|
}
|
|
7558
|
-
function
|
|
7558
|
+
function Vg() {
|
|
7559
7559
|
return Oi().chatEndpoint;
|
|
7560
7560
|
}
|
|
7561
7561
|
function id() {
|
|
7562
7562
|
return Oi().conversationEndpoint;
|
|
7563
7563
|
}
|
|
7564
|
-
function
|
|
7564
|
+
function Kg() {
|
|
7565
7565
|
return Oi().uploadEndpoint;
|
|
7566
7566
|
}
|
|
7567
|
-
function
|
|
7567
|
+
function Qg() {
|
|
7568
7568
|
return Oi().rateEndpoint;
|
|
7569
7569
|
}
|
|
7570
7570
|
const Tu = "nbc_secret_key_2025";
|
|
7571
|
-
function
|
|
7571
|
+
function Yg(e) {
|
|
7572
7572
|
try {
|
|
7573
7573
|
const t = btoa(
|
|
7574
7574
|
e.split("").map(
|
|
@@ -7649,7 +7649,7 @@ const ad = ({
|
|
|
7649
7649
|
const j = O.map((z) => Ie(void 0, null, function* () {
|
|
7650
7650
|
const $ = new FormData();
|
|
7651
7651
|
$.append("file", z);
|
|
7652
|
-
const V =
|
|
7652
|
+
const V = Kg(), G = o ? Yg(o) : "", I = yield fetch(V, {
|
|
7653
7653
|
method: "POST",
|
|
7654
7654
|
headers: {
|
|
7655
7655
|
"X-API-Key": G
|
|
@@ -7798,7 +7798,7 @@ const ad = ({
|
|
|
7798
7798
|
] }) }, r)),
|
|
7799
7799
|
/* @__PURE__ */ F.jsx("div", { className: "nbc-text-center nbc-text-sm nbc-text-gray-500 nbc-animate-pulse", children: "Cargando conversación..." })
|
|
7800
7800
|
] });
|
|
7801
|
-
},
|
|
7801
|
+
}, Jg = ({ onRate: e, conversationId: t }) => {
|
|
7802
7802
|
const [n, r] = Z.useState(0), [o, i] = Z.useState(0), [a, l] = Z.useState(!1), [d, m] = Z.useState(!1);
|
|
7803
7803
|
Z.useEffect(() => {
|
|
7804
7804
|
setTimeout(() => l(!0), 50);
|
|
@@ -7809,7 +7809,7 @@ const ad = ({
|
|
|
7809
7809
|
return;
|
|
7810
7810
|
}
|
|
7811
7811
|
try {
|
|
7812
|
-
const x = yield fetch(
|
|
7812
|
+
const x = yield fetch(Qg(), {
|
|
7813
7813
|
method: "POST",
|
|
7814
7814
|
headers: {
|
|
7815
7815
|
"Content-Type": "application/json"
|
|
@@ -7868,7 +7868,7 @@ const ad = ({
|
|
|
7868
7868
|
);
|
|
7869
7869
|
}, C = () => d ? "nbc-opacity-0 nbc-translate-y-4 nbc-scale-95" : a ? "nbc-opacity-100 nbc-translate-y-0 nbc-scale-100" : "nbc-opacity-0 -nbc-translate-y-4 nbc-scale-95";
|
|
7870
7870
|
return /* @__PURE__ */ F.jsx("div", { className: `nbc-flex nbc-flex-col nbc-items-center nbc-py-2 nbc-px-4 nbc-transition-all nbc-duration-300 nbc-ease-out ${C()}`, children: /* @__PURE__ */ F.jsx("div", { className: "nbc-flex nbc-items-center", children: [1, 2, 3, 4, 5].map(u) }) });
|
|
7871
|
-
},
|
|
7871
|
+
}, Xg = ({
|
|
7872
7872
|
isOpen: e,
|
|
7873
7873
|
onClose: t,
|
|
7874
7874
|
config: n,
|
|
@@ -7928,7 +7928,7 @@ const ad = ({
|
|
|
7928
7928
|
id: "notchatbot-webchat-window",
|
|
7929
7929
|
children: [
|
|
7930
7930
|
/* @__PURE__ */ F.jsx(
|
|
7931
|
-
|
|
7931
|
+
ig,
|
|
7932
7932
|
{
|
|
7933
7933
|
title: n.title || "Chat",
|
|
7934
7934
|
onClose: t,
|
|
@@ -7954,7 +7954,7 @@ const ad = ({
|
|
|
7954
7954
|
chatbotActivated: y
|
|
7955
7955
|
}
|
|
7956
7956
|
),
|
|
7957
|
-
v() && /* @__PURE__ */ F.jsx(
|
|
7957
|
+
v() && /* @__PURE__ */ F.jsx(Jg, { onRate: w, conversationId: C }),
|
|
7958
7958
|
/* @__PURE__ */ F.jsxs("div", { className: "nbc-mb-1 nbc-flex nbc-items-end nbc-justify-center nbc-text-xs nbc-text-black", children: [
|
|
7959
7959
|
/* @__PURE__ */ F.jsx("span", { children: "Powered by" }),
|
|
7960
7960
|
" ",
|
|
@@ -7972,7 +7972,7 @@ const ad = ({
|
|
|
7972
7972
|
]
|
|
7973
7973
|
}
|
|
7974
7974
|
);
|
|
7975
|
-
},
|
|
7975
|
+
}, Zg = ({
|
|
7976
7976
|
initialMessage: e,
|
|
7977
7977
|
avatar: t,
|
|
7978
7978
|
position: n,
|
|
@@ -8189,7 +8189,7 @@ function ud(e) {
|
|
|
8189
8189
|
return decodeURIComponent(r.substring(t.length + 1));
|
|
8190
8190
|
return null;
|
|
8191
8191
|
}
|
|
8192
|
-
function
|
|
8192
|
+
function qg(e, t = {}) {
|
|
8193
8193
|
ul(e, "", De(ie({}, t), {
|
|
8194
8194
|
expires: /* @__PURE__ */ new Date(0)
|
|
8195
8195
|
}));
|
|
@@ -8199,12 +8199,12 @@ function cd() {
|
|
|
8199
8199
|
const e = "__webchat_test__";
|
|
8200
8200
|
ul(e, "test");
|
|
8201
8201
|
const t = ud(e) === "test";
|
|
8202
|
-
return
|
|
8202
|
+
return qg(e), t;
|
|
8203
8203
|
} catch (e) {
|
|
8204
8204
|
return !1;
|
|
8205
8205
|
}
|
|
8206
8206
|
}
|
|
8207
|
-
const fd = "notchatbot",
|
|
8207
|
+
const fd = "notchatbot", em = 24;
|
|
8208
8208
|
function cl() {
|
|
8209
8209
|
if (!cd())
|
|
8210
8210
|
return console.warn("WebChat: Cookies not supported, using session-only data"), {
|
|
@@ -8235,7 +8235,7 @@ function dd(e) {
|
|
|
8235
8235
|
throw new Error("Invalid cookie data: conversationId must be a valid UUIDv7");
|
|
8236
8236
|
if (typeof e.conversationStarted != "boolean")
|
|
8237
8237
|
throw new Error("Invalid cookie data: conversationStarted must be a boolean");
|
|
8238
|
-
const t =
|
|
8238
|
+
const t = em * 60 * 60;
|
|
8239
8239
|
ul(fd, JSON.stringify(e), {
|
|
8240
8240
|
maxAge: t,
|
|
8241
8241
|
secure: window.location.protocol === "https:",
|
|
@@ -8243,7 +8243,7 @@ function dd(e) {
|
|
|
8243
8243
|
path: "/"
|
|
8244
8244
|
});
|
|
8245
8245
|
}
|
|
8246
|
-
function
|
|
8246
|
+
function tm(e) {
|
|
8247
8247
|
const t = cl(), n = De(ie({}, t), {
|
|
8248
8248
|
conversationStarted: e
|
|
8249
8249
|
});
|
|
@@ -8255,12 +8255,12 @@ function hd() {
|
|
|
8255
8255
|
function Au() {
|
|
8256
8256
|
return cl().conversationStarted;
|
|
8257
8257
|
}
|
|
8258
|
-
const
|
|
8258
|
+
const nm = () => {
|
|
8259
8259
|
if (typeof window == "undefined")
|
|
8260
8260
|
return !1;
|
|
8261
8261
|
const t = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), n = window.innerWidth <= 768, r = "ontouchstart" in window || navigator.maxTouchPoints > 0;
|
|
8262
8262
|
return t || n && r;
|
|
8263
|
-
}, ts = () =>
|
|
8263
|
+
}, ts = () => nm() ? "mobile" : "desktop", rm = (e) => {
|
|
8264
8264
|
if (typeof window == "undefined")
|
|
8265
8265
|
return () => {
|
|
8266
8266
|
};
|
|
@@ -8280,7 +8280,7 @@ const em = () => {
|
|
|
8280
8280
|
showPopup: e.showPopup !== void 0 ? e.showPopup : !0
|
|
8281
8281
|
}), r = t === "mobile" ? e.mobile : e.desktop;
|
|
8282
8282
|
return r && (r.position !== void 0 && (n.position = r.position), r.marginBottom !== void 0 && (n.marginBottom = r.marginBottom), r.marginSide !== void 0 && (n.marginSide = r.marginSide), r.showPopup !== void 0 && (n.showPopup = r.showPopup)), n;
|
|
8283
|
-
},
|
|
8283
|
+
}, om = (e) => {
|
|
8284
8284
|
const t = Po(e);
|
|
8285
8285
|
return {
|
|
8286
8286
|
position: t.position,
|
|
@@ -8294,14 +8294,14 @@ const em = () => {
|
|
|
8294
8294
|
return e;
|
|
8295
8295
|
const t = `session_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
|
|
8296
8296
|
return typeof window != "undefined" && sessionStorage.setItem("webchat-session-id", t), t;
|
|
8297
|
-
}),
|
|
8297
|
+
}), im = (e, t) => Ie(void 0, null, function* () {
|
|
8298
8298
|
try {
|
|
8299
8299
|
const n = id(), r = yield fetch(`${n}?conversationId=${e}&chatbotUid=${t}`);
|
|
8300
8300
|
return r.ok ? yield r.json() : (console.warn("WebChat: Failed to fetch conversation history:", r.status, r.statusText), null);
|
|
8301
8301
|
} catch (n) {
|
|
8302
8302
|
return console.error("WebChat: Error fetching conversation history:", n), null;
|
|
8303
8303
|
}
|
|
8304
|
-
}),
|
|
8304
|
+
}), am = (e) => e.map((t, n) => {
|
|
8305
8305
|
let r;
|
|
8306
8306
|
return t.createdAt ? r = t.createdAt.endsWith("Z") ? t.createdAt : `${t.createdAt}Z` : r = (/* @__PURE__ */ new Date()).toISOString(), {
|
|
8307
8307
|
id: t.id || (Date.now() + n).toString(),
|
|
@@ -8311,7 +8311,7 @@ const em = () => {
|
|
|
8311
8311
|
type: t.type,
|
|
8312
8312
|
metaContent: t.metaContent
|
|
8313
8313
|
};
|
|
8314
|
-
}),
|
|
8314
|
+
}), sm = (e) => {
|
|
8315
8315
|
var t;
|
|
8316
8316
|
if (!e.metaContent)
|
|
8317
8317
|
return e.text;
|
|
@@ -8329,7 +8329,7 @@ const em = () => {
|
|
|
8329
8329
|
return e.text;
|
|
8330
8330
|
}
|
|
8331
8331
|
}, Iu = (e, t) => e.map((n) => {
|
|
8332
|
-
const r =
|
|
8332
|
+
const r = sm(n);
|
|
8333
8333
|
return ie({
|
|
8334
8334
|
id: n.id,
|
|
8335
8335
|
content: r,
|
|
@@ -9102,7 +9102,7 @@ var gd = { exports: {} };
|
|
|
9102
9102
|
});
|
|
9103
9103
|
}
|
|
9104
9104
|
r.shallowEquals = Ai;
|
|
9105
|
-
function
|
|
9105
|
+
function Rd(H) {
|
|
9106
9106
|
var K = /^(\[([^?]*)(?:(.*))\])?(.+)$/, Q = H.match(K);
|
|
9107
9107
|
if (!Q || !Q.length || Q.length < 5)
|
|
9108
9108
|
throw new m.default("regex match failed", 400, 40010);
|
|
@@ -9113,17 +9113,17 @@ var gd = { exports: {} };
|
|
|
9113
9113
|
channelName: Q[4]
|
|
9114
9114
|
};
|
|
9115
9115
|
}
|
|
9116
|
-
r.matchDerivedChannel =
|
|
9117
|
-
function
|
|
9116
|
+
r.matchDerivedChannel = Rd;
|
|
9117
|
+
function Od(H) {
|
|
9118
9118
|
return l.default.Config.createHmac ? Buffer.from(H, "ascii").toString("base64") : (0, b.stringify)((0, R.parse)(H));
|
|
9119
9119
|
}
|
|
9120
|
-
r.toBase64 =
|
|
9121
|
-
function
|
|
9120
|
+
r.toBase64 = Od;
|
|
9121
|
+
function Td(H, K) {
|
|
9122
9122
|
return H.length === K.length && (0, r.arrEvery)(H, function(Q, ne) {
|
|
9123
9123
|
return Q === K[ne];
|
|
9124
9124
|
});
|
|
9125
9125
|
}
|
|
9126
|
-
r.arrEquals =
|
|
9126
|
+
r.arrEquals = Td;
|
|
9127
9127
|
}).call(this, o(13));
|
|
9128
9128
|
},
|
|
9129
9129
|
/* 2 */
|
|
@@ -16345,10 +16345,10 @@ var gd = { exports: {} };
|
|
|
16345
16345
|
);
|
|
16346
16346
|
});
|
|
16347
16347
|
})(gd);
|
|
16348
|
-
var
|
|
16349
|
-
const
|
|
16348
|
+
var lm = gd.exports;
|
|
16349
|
+
const um = /* @__PURE__ */ Nu(lm), Mo = (e, t, n, r, o, i) => Ie(void 0, null, function* () {
|
|
16350
16350
|
try {
|
|
16351
|
-
const a = new
|
|
16351
|
+
const a = new um.Realtime({
|
|
16352
16352
|
token: e.token,
|
|
16353
16353
|
clientId: e.clientId
|
|
16354
16354
|
});
|
|
@@ -16393,7 +16393,7 @@ const sm = /* @__PURE__ */ Nu(am), Mo = (e, t, n, r, o, i) => Ie(void 0, null, f
|
|
|
16393
16393
|
} catch (a) {
|
|
16394
16394
|
throw console.error("[❌ ABLY INITIALIZATION ERROR]", a), a;
|
|
16395
16395
|
}
|
|
16396
|
-
}),
|
|
16396
|
+
}), cm = (e, t) => Ie(void 0, null, function* () {
|
|
16397
16397
|
try {
|
|
16398
16398
|
const n = id(), r = yield fetch(`${n}?conversationId=${e}&chatbotUid=${t}`);
|
|
16399
16399
|
return r.ok ? yield r.json() : (console.error("Failed to fetch conversation data:", r.statusText), null);
|
|
@@ -16427,7 +16427,7 @@ const sm = /* @__PURE__ */ Nu(am), Mo = (e, t, n, r, o, i) => Ie(void 0, null, f
|
|
|
16427
16427
|
};
|
|
16428
16428
|
}, yd = (e) => Ie(void 0, null, function* () {
|
|
16429
16429
|
try {
|
|
16430
|
-
const t =
|
|
16430
|
+
const t = Vg(), n = yield fetch(t, {
|
|
16431
16431
|
method: "POST",
|
|
16432
16432
|
headers: {
|
|
16433
16433
|
"Content-Type": "application/json"
|
|
@@ -16450,17 +16450,17 @@ const sm = /* @__PURE__ */ Nu(am), Mo = (e, t, n, r, o, i) => Ie(void 0, null, f
|
|
|
16450
16450
|
};
|
|
16451
16451
|
}
|
|
16452
16452
|
return null;
|
|
16453
|
-
},
|
|
16453
|
+
}, fm = (e) => `¡Hola! Soy ${e || "tu asistente"}, ¿En qué te puedo ayudar?
|
|
16454
16454
|
|
|
16455
16455
|
Aunque no lo creas, soy una inteligencia artificial! Puedo resolver todas tus dudas 😊
|
|
16456
16456
|
|
|
16457
16457
|
También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
16458
16458
|
id: nt(),
|
|
16459
|
-
text:
|
|
16459
|
+
text: fm(e),
|
|
16460
16460
|
sender: "bot",
|
|
16461
16461
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
16462
16462
|
type: "text"
|
|
16463
|
-
}), Pu = () => typeof window != "undefined" && window.innerWidth < 640,
|
|
16463
|
+
}), Pu = () => typeof window != "undefined" && window.innerWidth < 640, dm = ({ config: e, exposeControl: t }) => {
|
|
16464
16464
|
if (!e.apiKey)
|
|
16465
16465
|
return null;
|
|
16466
16466
|
const [n, r] = Z.useState(() => Po(e)), [o, i] = Z.useState(!1), [a, l] = Z.useState(() => Pu()), [d, m] = Z.useState(""), [b, R] = Z.useState(!1), [y, E] = Z.useState(!1), [u, C] = Z.useState(!1), [M, x] = Z.useState(""), [, p] = Z.useState(null), g = Z.useRef(null), [S, h] = Z.useState(!1), [f, c] = Z.useState(!1), [s, w] = Z.useState(""), [v, k] = Z.useState(!0), [L, N] = Z.useState(!1), [P, O] = Z.useState([
|
|
@@ -16480,7 +16480,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16480
16480
|
l(oe);
|
|
16481
16481
|
};
|
|
16482
16482
|
return window.addEventListener("resize", X), () => window.removeEventListener("resize", X);
|
|
16483
|
-
}, []), Z.useEffect(() =>
|
|
16483
|
+
}, []), Z.useEffect(() => rm(() => {
|
|
16484
16484
|
r(Po(e));
|
|
16485
16485
|
}), [e]), Z.useEffect(() => {
|
|
16486
16486
|
r(Po(e));
|
|
@@ -16520,7 +16520,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16520
16520
|
}), [f, d, T]), z = Z.useCallback(() => Ie(void 0, null, function* () {
|
|
16521
16521
|
if (!(f || g.current))
|
|
16522
16522
|
try {
|
|
16523
|
-
const X = yield
|
|
16523
|
+
const X = yield cm(d, e.apiKey || "");
|
|
16524
16524
|
if (X != null && X.tokenDetails) {
|
|
16525
16525
|
const oe = yield Mo(
|
|
16526
16526
|
X.tokenDetails,
|
|
@@ -16544,9 +16544,9 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16544
16544
|
}
|
|
16545
16545
|
if (!X && !b && d && Au() && !f) {
|
|
16546
16546
|
E(!0);
|
|
16547
|
-
const ae = yield
|
|
16547
|
+
const ae = yield im(d, e.apiKey || "");
|
|
16548
16548
|
if (((q = (oe = ae == null ? void 0 : ae.conversation) == null ? void 0 : oe.messages) == null ? void 0 : q.length) > 0) {
|
|
16549
|
-
const me =
|
|
16549
|
+
const me = am(ae.conversation.messages);
|
|
16550
16550
|
O(me), ae.conversation.chatbotActivated !== void 0 && k(ae.conversation.chatbotActivated), ae.conversation.isRated !== void 0 && N(ae.conversation.isRated);
|
|
16551
16551
|
const de = me.filter((ue) => ue.sender === "bot").slice(-1)[0];
|
|
16552
16552
|
de && w(de.id), yield B(ae);
|
|
@@ -16624,7 +16624,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16624
16624
|
}, 1e3);
|
|
16625
16625
|
return;
|
|
16626
16626
|
}
|
|
16627
|
-
C(!1),
|
|
16627
|
+
C(!1), tm(!0);
|
|
16628
16628
|
}), [
|
|
16629
16629
|
d,
|
|
16630
16630
|
P,
|
|
@@ -16632,7 +16632,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16632
16632
|
M,
|
|
16633
16633
|
T,
|
|
16634
16634
|
A
|
|
16635
|
-
]), I =
|
|
16635
|
+
]), I = om(n);
|
|
16636
16636
|
Z.useEffect(() => () => {
|
|
16637
16637
|
md(g.current), g.current = null;
|
|
16638
16638
|
}, []);
|
|
@@ -16641,7 +16641,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16641
16641
|
t && t({ setIsOpen: D, updateConfig: U, setPosition: _, hide: ee, show: re });
|
|
16642
16642
|
}, [t, D, U, _, ee, re]), /* @__PURE__ */ F.jsxs("div", { className: "nbc-font-sans", style: { zIndex: 2147483647, display: W ? "none" : void 0 }, children: [
|
|
16643
16643
|
I.showPopup !== !1 && /* @__PURE__ */ F.jsx(
|
|
16644
|
-
|
|
16644
|
+
Zg,
|
|
16645
16645
|
{
|
|
16646
16646
|
initialMessage: e.initialMessage,
|
|
16647
16647
|
avatar: n.avatar,
|
|
@@ -16655,7 +16655,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16655
16655
|
}
|
|
16656
16656
|
),
|
|
16657
16657
|
/* @__PURE__ */ F.jsx(
|
|
16658
|
-
|
|
16658
|
+
og,
|
|
16659
16659
|
{
|
|
16660
16660
|
isOpen: o,
|
|
16661
16661
|
onClick: $,
|
|
@@ -16668,7 +16668,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16668
16668
|
}
|
|
16669
16669
|
),
|
|
16670
16670
|
/* @__PURE__ */ F.jsx(
|
|
16671
|
-
|
|
16671
|
+
Xg,
|
|
16672
16672
|
{
|
|
16673
16673
|
isOpen: o,
|
|
16674
16674
|
onClose: V,
|
|
@@ -16689,7 +16689,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16689
16689
|
}
|
|
16690
16690
|
)
|
|
16691
16691
|
] });
|
|
16692
|
-
}, bd = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.nbc-pointer-events-none{pointer-events:none}.nbc-pointer-events-auto{pointer-events:auto}.nbc-fixed{position:fixed}.nbc-absolute{position:absolute}.nbc-relative{position:relative}.nbc-inset-0{inset:0}.nbc-inset-auto{inset:auto}.nbc-left-2{left:8px}.nbc-right-0{right:0}.nbc-right-2{right:8px}.nbc-top-0{top:0}.nbc-top-1\\/2{top:50%}.nbc-top-2{top:8px}.nbc-top-full{top:100%}.nbc-m-0{margin:0}.nbc-mx-auto{margin-left:auto;margin-right:auto}.nbc-mb-1{margin-bottom:4px}.nbc-mb-2{margin-bottom:8px}.nbc-mb-4{margin-bottom:16px}.nbc-ml-1{margin-left:4px}.nbc-ml-2{margin-left:8px}.nbc-mr-1{margin-right:4px}.nbc-mr-3{margin-right:12px}.nbc-mt-1{margin-top:4px}.nbc-line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.nbc-flex{display:flex}.nbc-hidden{display:none}.nbc-h-0{height:0px}.nbc-h-10{height:40px}.nbc-h-12{height:48px}.nbc-h-16{height:64px}.nbc-h-2{height:8px}.nbc-h-24{height:96px}.nbc-h-3{height:12px}.nbc-h-4{height:16px}.nbc-h-5{height:20px}.nbc-h-6{height:24px}.nbc-h-7{height:28px}.nbc-h-8{height:32px}.nbc-h-auto{height:auto}.nbc-h-full{height:100%}.nbc-min-h-0{min-height:0px}.nbc-min-h-\\[220px\\]{min-height:220px}.nbc-w-0{width:0px}.nbc-w-10{width:40px}.nbc-w-12{width:48px}.nbc-w-16{width:64px}.nbc-w-2{width:8px}.nbc-w-3{width:12px}.nbc-w-4{width:16px}.nbc-w-5{width:20px}.nbc-w-6{width:24px}.nbc-w-7{width:28px}.nbc-w-8{width:32px}.nbc-w-auto{width:auto}.nbc-w-full{width:100%}.nbc-max-w-20{max-width:80px}.nbc-max-w-\\[90\\%\\]{max-width:90%}.nbc-max-w-xs{max-width:20rem}.nbc-flex-1{flex:1 1 0%}.nbc-flex-shrink-0{flex-shrink:0}.-nbc-translate-y-4{--tw-translate-y: -16px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc--translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-2{--tw-translate-y: 8px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-3{--tw-translate-y: 12px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-4{--tw-translate-y: 16px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-\\[-10px\\]{--tw-translate-y: -10px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-scale-\\[1\\.13\\]{--tw-scale-x: 1.13;--tw-scale-y: 1.13;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes nbc-bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.nbc-animate-bounce{animation:nbc-bounce 1s infinite}@keyframes nbc-ping{75%,to{transform:scale(2);opacity:0}}.nbc-animate-ping{animation:nbc-ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes nbc-pulse{50%{opacity:.5}}.nbc-animate-pulse{animation:nbc-pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes nbc-spin{to{transform:rotate(360deg)}}.nbc-animate-spin{animation:nbc-spin 1s linear infinite}.nbc-cursor-pointer{cursor:pointer}.nbc-flex-col{flex-direction:column}.nbc-flex-wrap{flex-wrap:wrap}.nbc-items-start{align-items:flex-start}.nbc-items-end{align-items:flex-end}.nbc-items-center{align-items:center}.nbc-justify-start{justify-content:flex-start}.nbc-justify-end{justify-content:flex-end}.nbc-justify-center{justify-content:center}.nbc-justify-between{justify-content:space-between}.nbc-gap-2{gap:8px}.nbc-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.nbc-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(12px * var(--tw-space-x-reverse));margin-left:calc(12px * calc(1 - var(--tw-space-x-reverse)))}.nbc-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.nbc-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(16px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(16px * var(--tw-space-y-reverse))}.nbc-overflow-hidden{overflow:hidden}.nbc-overflow-y-auto{overflow-y:auto}.nbc-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nbc-whitespace-nowrap{white-space:nowrap}.nbc-break-words{overflow-wrap:break-word}.nbc-rounded{border-radius:4px}.nbc-rounded-2xl{border-radius:16px}.nbc-rounded-full{border-radius:9999px}.nbc-rounded-lg{border-radius:8px}.nbc-rounded-none{border-radius:0}.nbc-rounded-bl-md{border-bottom-left-radius:6px}.nbc-rounded-br-md{border-bottom-right-radius:6px}.nbc-border{border-width:1px}.nbc-border-0{border-width:0px}.nbc-border-2{border-width:2px}.nbc-border-b{border-bottom-width:1px}.nbc-border-t{border-top-width:1px}.nbc-border-none{border-style:none}.nbc-border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.nbc-border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.nbc-border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.nbc-border-t-gray-600{--tw-border-opacity: 1;border-top-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.nbc-bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.nbc-bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.nbc-bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.nbc-bg-transparent{background-color:transparent}.nbc-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.nbc-bg-none{background-image:none}.nbc-object-cover{-o-object-fit:cover;object-fit:cover}.nbc-p-0{padding:0}.nbc-p-1{padding:4px}.nbc-p-2{padding:8px}.nbc-p-4{padding:16px}.nbc-p-5{padding:20px}.nbc-px-2{padding-left:8px;padding-right:8px}.nbc-px-4{padding-left:16px;padding-right:16px}.nbc-py-1{padding-top:4px;padding-bottom:4px}.nbc-py-2{padding-top:8px;padding-bottom:8px}.nbc-py-3{padding-top:12px;padding-bottom:12px}.nbc-pl-12{padding-left:48px}.nbc-pr-12{padding-right:48px}.nbc-pt-4{padding-top:16px}.nbc-text-center{text-align:center}.nbc-text-right{text-align:right}.nbc-font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.nbc-text-\\[15px\\]{font-size:15px}.nbc-text-lg{font-size:18px}.nbc-text-sm{font-size:14px}.nbc-text-xs{font-size:12px}.nbc-font-bold{font-weight:700}.nbc-font-medium{font-weight:500}.nbc-italic{font-style:italic}.nbc-leading-none{line-height:1}.nbc-leading-relaxed{line-height:1.625}.nbc-text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.nbc-text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.nbc-text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.nbc-text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.nbc-text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.nbc-text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.nbc-text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.nbc-text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.nbc-text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.nbc-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.nbc-no-underline{text-decoration-line:none}.nbc-opacity-0{opacity:0}.nbc-opacity-100{opacity:1}.nbc-opacity-50{opacity:.5}.nbc-opacity-70{opacity:.7}.nbc-opacity-75{opacity:.75}.nbc-shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-outline-none{outline:2px solid transparent;outline-offset:2px}.nbc-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.nbc-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.nbc-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.nbc-duration-200{transition-duration:.2s}.nbc-duration-300{transition-duration:.3s}.nbc-duration-500{transition-duration:.5s}.nbc-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:nbc-scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:nbc-scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:nbc-bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.hover\\:nbc-bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:nbc-bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\\:nbc-text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\\:nbc-text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.disabled\\:nbc-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:nbc-opacity-50:disabled{opacity:.5}', fm = {
|
|
16692
|
+
}, bd = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.nbc-pointer-events-none{pointer-events:none}.nbc-pointer-events-auto{pointer-events:auto}.nbc-fixed{position:fixed}.nbc-absolute{position:absolute}.nbc-relative{position:relative}.nbc-inset-0{inset:0}.nbc-inset-auto{inset:auto}.nbc-left-2{left:8px}.nbc-right-0{right:0}.nbc-right-2{right:8px}.nbc-top-0{top:0}.nbc-top-1\\/2{top:50%}.nbc-top-2{top:8px}.nbc-top-full{top:100%}.nbc-m-0{margin:0}.nbc-mx-auto{margin-left:auto;margin-right:auto}.nbc-mb-1{margin-bottom:4px}.nbc-mb-2{margin-bottom:8px}.nbc-mb-4{margin-bottom:16px}.nbc-ml-1{margin-left:4px}.nbc-ml-2{margin-left:8px}.nbc-mr-1{margin-right:4px}.nbc-mr-3{margin-right:12px}.nbc-mt-1{margin-top:4px}.nbc-line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.nbc-flex{display:flex}.nbc-hidden{display:none}.nbc-h-0{height:0px}.nbc-h-10{height:40px}.nbc-h-12{height:48px}.nbc-h-16{height:64px}.nbc-h-2{height:8px}.nbc-h-24{height:96px}.nbc-h-3{height:12px}.nbc-h-4{height:16px}.nbc-h-5{height:20px}.nbc-h-6{height:24px}.nbc-h-7{height:28px}.nbc-h-8{height:32px}.nbc-h-auto{height:auto}.nbc-h-full{height:100%}.nbc-min-h-0{min-height:0px}.nbc-min-h-\\[220px\\]{min-height:220px}.nbc-w-0{width:0px}.nbc-w-10{width:40px}.nbc-w-12{width:48px}.nbc-w-16{width:64px}.nbc-w-2{width:8px}.nbc-w-3{width:12px}.nbc-w-4{width:16px}.nbc-w-5{width:20px}.nbc-w-6{width:24px}.nbc-w-7{width:28px}.nbc-w-8{width:32px}.nbc-w-auto{width:auto}.nbc-w-full{width:100%}.nbc-max-w-20{max-width:80px}.nbc-max-w-\\[90\\%\\]{max-width:90%}.nbc-max-w-xs{max-width:20rem}.nbc-flex-1{flex:1 1 0%}.nbc-flex-shrink-0{flex-shrink:0}.-nbc-translate-y-4{--tw-translate-y: -16px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc--translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-2{--tw-translate-y: 8px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-3{--tw-translate-y: 12px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-4{--tw-translate-y: 16px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-translate-y-\\[-10px\\]{--tw-translate-y: -10px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-scale-\\[1\\.13\\]{--tw-scale-x: 1.13;--tw-scale-y: 1.13;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.nbc-transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes nbc-bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.nbc-animate-bounce{animation:nbc-bounce 1s infinite}@keyframes nbc-ping{75%,to{transform:scale(2);opacity:0}}.nbc-animate-ping{animation:nbc-ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes nbc-pulse{50%{opacity:.5}}.nbc-animate-pulse{animation:nbc-pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes nbc-spin{to{transform:rotate(360deg)}}.nbc-animate-spin{animation:nbc-spin 1s linear infinite}.nbc-cursor-pointer{cursor:pointer}.nbc-flex-col{flex-direction:column}.nbc-flex-wrap{flex-wrap:wrap}.nbc-items-start{align-items:flex-start}.nbc-items-end{align-items:flex-end}.nbc-items-center{align-items:center}.nbc-justify-start{justify-content:flex-start}.nbc-justify-end{justify-content:flex-end}.nbc-justify-center{justify-content:center}.nbc-justify-between{justify-content:space-between}.nbc-gap-2{gap:8px}.nbc-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.nbc-space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(12px * var(--tw-space-x-reverse));margin-left:calc(12px * calc(1 - var(--tw-space-x-reverse)))}.nbc-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.nbc-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(16px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(16px * var(--tw-space-y-reverse))}.nbc-overflow-hidden{overflow:hidden}.nbc-overflow-y-auto{overflow-y:auto}.nbc-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nbc-whitespace-nowrap{white-space:nowrap}.nbc-break-words{overflow-wrap:break-word}.nbc-rounded{border-radius:4px}.nbc-rounded-2xl{border-radius:16px}.nbc-rounded-full{border-radius:9999px}.nbc-rounded-lg{border-radius:8px}.nbc-rounded-none{border-radius:0}.nbc-rounded-bl-md{border-bottom-left-radius:6px}.nbc-rounded-br-md{border-bottom-right-radius:6px}.nbc-border{border-width:1px}.nbc-border-0{border-width:0px}.nbc-border-2{border-width:2px}.nbc-border-b{border-bottom-width:1px}.nbc-border-t{border-top-width:1px}.nbc-border-none{border-style:none}.nbc-border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.nbc-border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.nbc-border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.nbc-border-t-gray-600{--tw-border-opacity: 1;border-top-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.nbc-bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.nbc-bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.nbc-bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.nbc-bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.nbc-bg-transparent{background-color:transparent}.nbc-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.nbc-bg-none{background-image:none}.nbc-object-cover{-o-object-fit:cover;object-fit:cover}.nbc-p-0{padding:0}.nbc-p-1{padding:4px}.nbc-p-2{padding:8px}.nbc-p-4{padding:16px}.nbc-p-5{padding:20px}.nbc-px-2{padding-left:8px;padding-right:8px}.nbc-px-4{padding-left:16px;padding-right:16px}.nbc-py-1{padding-top:4px;padding-bottom:4px}.nbc-py-2{padding-top:8px;padding-bottom:8px}.nbc-py-3{padding-top:12px;padding-bottom:12px}.nbc-pl-12{padding-left:48px}.nbc-pr-12{padding-right:48px}.nbc-pt-4{padding-top:16px}.nbc-text-center{text-align:center}.nbc-text-right{text-align:right}.nbc-font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.nbc-text-\\[15px\\]{font-size:15px}.nbc-text-lg{font-size:18px}.nbc-text-sm{font-size:14px}.nbc-text-xs{font-size:12px}.nbc-font-bold{font-weight:700}.nbc-font-medium{font-weight:500}.nbc-italic{font-style:italic}.nbc-leading-none{line-height:1}.nbc-leading-relaxed{line-height:1.625}.nbc-text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.nbc-text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.nbc-text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.nbc-text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.nbc-text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.nbc-text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.nbc-text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.nbc-text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.nbc-text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.nbc-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.nbc-no-underline{text-decoration-line:none}.nbc-opacity-0{opacity:0}.nbc-opacity-100{opacity:1}.nbc-opacity-50{opacity:.5}.nbc-opacity-70{opacity:.7}.nbc-opacity-75{opacity:.75}.nbc-shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.nbc-outline-none{outline:2px solid transparent;outline-offset:2px}.nbc-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.nbc-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.nbc-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.nbc-duration-200{transition-duration:.2s}.nbc-duration-300{transition-duration:.3s}.nbc-duration-500{transition-duration:.5s}.nbc-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:nbc-scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:nbc-scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:nbc-bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.hover\\:nbc-bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:nbc-bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\\:nbc-text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\\:nbc-text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.disabled\\:nbc-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:nbc-opacity-50:disabled{opacity:.5}', hm = {
|
|
16693
16693
|
// Configuración base de la empresa
|
|
16694
16694
|
apiKey: "",
|
|
16695
16695
|
// Configuración de estilos
|
|
@@ -16720,7 +16720,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16720
16720
|
closeButtonIcon: "default",
|
|
16721
16721
|
closeButtonText: "Cerrar",
|
|
16722
16722
|
closeButtonCustomIcon: ""
|
|
16723
|
-
},
|
|
16723
|
+
}, pm = ({
|
|
16724
16724
|
title: e,
|
|
16725
16725
|
primaryColor: t = "#3b82f6",
|
|
16726
16726
|
avatar: n
|
|
@@ -16746,7 +16746,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16746
16746
|
] }) }),
|
|
16747
16747
|
/* @__PURE__ */ F.jsx("h3", { className: "nbc-m-0 nbc-text-lg nbc-font-bold nbc-text-white", children: e })
|
|
16748
16748
|
] });
|
|
16749
|
-
},
|
|
16749
|
+
}, gm = ({
|
|
16750
16750
|
footerText: e,
|
|
16751
16751
|
primaryColor: t,
|
|
16752
16752
|
footerColor: n
|
|
@@ -16770,7 +16770,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16770
16770
|
return /* @__PURE__ */ F.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: {
|
|
16771
16771
|
backgroundColor: n
|
|
16772
16772
|
}, children: r(e) });
|
|
16773
|
-
},
|
|
16773
|
+
}, mm = ({
|
|
16774
16774
|
config: e,
|
|
16775
16775
|
messages: t,
|
|
16776
16776
|
onSendMessage: n,
|
|
@@ -16789,7 +16789,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16789
16789
|
display: "flex",
|
|
16790
16790
|
flexDirection: "column",
|
|
16791
16791
|
backgroundColor: e.chatTransparent ? "transparent" : e.chatBackground || "#ffffff",
|
|
16792
|
-
borderRadius: a(e.borderRadius, "
|
|
16792
|
+
borderRadius: a(e.borderRadius, "0px"),
|
|
16793
16793
|
border: e.border || "1px solid #e5e7eb",
|
|
16794
16794
|
boxShadow: e.boxShadow || "0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",
|
|
16795
16795
|
overflow: "hidden",
|
|
@@ -16797,7 +16797,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16797
16797
|
};
|
|
16798
16798
|
return /* @__PURE__ */ F.jsxs("div", { id: "notchatbot-embed-chat", className: "nbc-font-sans", style: l, children: [
|
|
16799
16799
|
e.showHeader !== !1 && /* @__PURE__ */ F.jsx(
|
|
16800
|
-
|
|
16800
|
+
pm,
|
|
16801
16801
|
{
|
|
16802
16802
|
title: e.title || "Chat",
|
|
16803
16803
|
primaryColor: e.primaryColor,
|
|
@@ -16850,7 +16850,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16850
16850
|
}
|
|
16851
16851
|
),
|
|
16852
16852
|
e.showFooter !== !1 && e.footerText && /* @__PURE__ */ F.jsx(
|
|
16853
|
-
|
|
16853
|
+
gm,
|
|
16854
16854
|
{
|
|
16855
16855
|
footerText: e.footerText,
|
|
16856
16856
|
primaryColor: e.primaryColor,
|
|
@@ -16858,7 +16858,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16858
16858
|
}
|
|
16859
16859
|
)
|
|
16860
16860
|
] });
|
|
16861
|
-
},
|
|
16861
|
+
}, vm = ({ config: e }) => {
|
|
16862
16862
|
if (!e.apiKey)
|
|
16863
16863
|
return null;
|
|
16864
16864
|
const [t, n] = Z.useState(""), [r, o] = Z.useState(!1), [i, a] = Z.useState(""), [, l] = Z.useState(null), d = Z.useRef(null), [, m] = Z.useState(!1), [b, R] = Z.useState(!0), [y, E] = Z.useState([
|
|
@@ -16953,7 +16953,7 @@ También puedes pedir hablar con nuestro equipo de los sueños!`, xd = (e) => ({
|
|
|
16953
16953
|
return Z.useEffect(() => () => {
|
|
16954
16954
|
d.current && md(d.current);
|
|
16955
16955
|
}, []), /* @__PURE__ */ F.jsx(
|
|
16956
|
-
|
|
16956
|
+
mm,
|
|
16957
16957
|
{
|
|
16958
16958
|
config: e,
|
|
16959
16959
|
messages: y,
|
|
@@ -16984,7 +16984,7 @@ const rs = {}, Sd = (e) => {
|
|
|
16984
16984
|
const o = document.createElement("div");
|
|
16985
16985
|
n.appendChild(o);
|
|
16986
16986
|
const i = qs(o);
|
|
16987
|
-
return i.render(ia.createElement(
|
|
16987
|
+
return i.render(ia.createElement(vm, { config: e })), No[e.elementId] = {
|
|
16988
16988
|
destroy: () => {
|
|
16989
16989
|
i.unmount(), n.innerHTML = "", delete No[e.elementId], rs[e.elementId] = e;
|
|
16990
16990
|
}
|
|
@@ -17011,7 +17011,7 @@ function Ot() {
|
|
|
17011
17011
|
const Cd = (e) => {
|
|
17012
17012
|
try {
|
|
17013
17013
|
let t = function(u) {
|
|
17014
|
-
return ia.createElement(
|
|
17014
|
+
return ia.createElement(dm, De(ie({}, u), {
|
|
17015
17015
|
exposeControl: (C) => {
|
|
17016
17016
|
l = C.setIsOpen, d = C.updateConfig, m = C.setPosition, b = C.hide, R = C.show, y = C.getIsOpen;
|
|
17017
17017
|
}
|
|
@@ -17020,7 +17020,7 @@ const Cd = (e) => {
|
|
|
17020
17020
|
En && (En.destroy(), En = null);
|
|
17021
17021
|
const n = ie(ie({
|
|
17022
17022
|
elementId: "webchat-notchatbot"
|
|
17023
|
-
},
|
|
17023
|
+
}, hm), e);
|
|
17024
17024
|
Te = n;
|
|
17025
17025
|
let r = document.getElementById(n.elementId);
|
|
17026
17026
|
r || (r = document.createElement("div"), r.id = n.elementId, document.body.appendChild(r));
|
|
@@ -17064,12 +17064,12 @@ const Cd = (e) => {
|
|
|
17064
17064
|
} catch (t) {
|
|
17065
17065
|
return console.error("WebChat: Failed to initialize", t), null;
|
|
17066
17066
|
}
|
|
17067
|
-
},
|
|
17067
|
+
}, ym = {
|
|
17068
17068
|
initialize: Cd
|
|
17069
|
-
},
|
|
17069
|
+
}, wm = {
|
|
17070
17070
|
initialize: Sd
|
|
17071
17071
|
};
|
|
17072
|
-
typeof window != "undefined" && (window.WebChat =
|
|
17072
|
+
typeof window != "undefined" && (window.WebChat = ym, window.EmbedChat = wm, window.openWebChat = () => {
|
|
17073
17073
|
const e = Ot();
|
|
17074
17074
|
e && e.setIsOpen(!0);
|
|
17075
17075
|
}, window.closeWebChat = () => {
|
|
@@ -17136,16 +17136,20 @@ typeof window != "undefined" && (window.WebChat = mm, window.EmbedChat = vm, win
|
|
|
17136
17136
|
const e = new CustomEvent("EmbedChatReady");
|
|
17137
17137
|
document.dispatchEvent(e);
|
|
17138
17138
|
}, 0));
|
|
17139
|
-
const
|
|
17139
|
+
const xm = () => {
|
|
17140
17140
|
const e = new CustomEvent("WebChatReady");
|
|
17141
17141
|
document.dispatchEvent(e);
|
|
17142
|
-
},
|
|
17142
|
+
}, kd = () => {
|
|
17143
17143
|
const e = new CustomEvent("EmbedChatReady");
|
|
17144
17144
|
document.dispatchEvent(e);
|
|
17145
17145
|
}, Mu = () => {
|
|
17146
|
-
|
|
17146
|
+
xm(), kd();
|
|
17147
|
+
}, Ed = () => {
|
|
17148
|
+
kd();
|
|
17147
17149
|
};
|
|
17148
17150
|
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Mu) : setTimeout(Mu, 0);
|
|
17151
|
+
window.addEventListener("popstate", Ed);
|
|
17152
|
+
window.addEventListener("hashchange", Ed);
|
|
17149
17153
|
function Rr(e, t) {
|
|
17150
17154
|
if (!t) return e;
|
|
17151
17155
|
const n = ie({}, e);
|
|
@@ -17158,6 +17162,6 @@ function os(e) {
|
|
|
17158
17162
|
return ie({ elementId: t }, r);
|
|
17159
17163
|
}
|
|
17160
17164
|
export {
|
|
17161
|
-
|
|
17162
|
-
|
|
17165
|
+
wm as EmbedChatAPI,
|
|
17166
|
+
ym as WebChat
|
|
17163
17167
|
};
|