@2uinc/frontend-component-xpert-chatbot 1.12.0 → 1.12.1
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/lib/index.min.js +993 -957
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import ve, { createContext as Kl, useMemo as Xl, useState as we, useCallback as
|
1
|
+
import ve, { createContext as Kl, useMemo as Xl, useState as we, useCallback as wt, useEffect as Ie, useContext as We, useRef as tt } from "react";
|
2
2
|
const Jl = {
|
3
3
|
xpertKey: "edx",
|
4
4
|
chatApi: {
|
@@ -583,13 +583,13 @@ var gs = function() {
|
|
583
583
|
return n.PropTypes = n, n;
|
584
584
|
};
|
585
585
|
To.exports = gs();
|
586
|
-
var
|
587
|
-
const T = /* @__PURE__ */ nt(
|
586
|
+
var Y = To.exports;
|
587
|
+
const T = /* @__PURE__ */ nt(Y);
|
588
588
|
var dn = { exports: {} };
|
589
589
|
dn.exports;
|
590
590
|
(function(e, t) {
|
591
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", m = "[object Error]", d = "[object Function]", D = "[object GeneratorFunction]", x = "[object Map]",
|
592
|
-
h[O] = h[w] = h[N] = h[z] = h[L] = h[
|
591
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", m = "[object Error]", d = "[object Function]", D = "[object GeneratorFunction]", x = "[object Map]", A = "[object Number]", M = "[object Null]", E = "[object Object]", C = "[object Proxy]", H = "[object RegExp]", U = "[object Set]", b = "[object String]", F = "[object Undefined]", q = "[object WeakMap]", G = "[object ArrayBuffer]", K = "[object DataView]", O = "[object Float32Array]", w = "[object Float64Array]", N = "[object Int8Array]", z = "[object Int16Array]", L = "[object Int32Array]", B = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", W = "[object Uint16Array]", re = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, se = /^\[object .+?Constructor\]$/, ye = /^(?:0|[1-9]\d*)$/, h = {};
|
592
|
+
h[O] = h[w] = h[N] = h[z] = h[L] = h[B] = h[_] = h[W] = h[re] = !0, h[l] = h[s] = h[G] = h[c] = h[K] = h[f] = h[m] = h[d] = h[x] = h[A] = h[E] = h[H] = h[U] = h[b] = h[q] = !1;
|
593
593
|
var ge = typeof en == "object" && en && en.Object === Object && en, Te = typeof self == "object" && self && self.Object === Object && self, ie = ge || Te || Function("return this")(), De = t && !t.nodeType && t, xe = De && !0 && e && !e.nodeType && e, Be = xe && xe.exports === De, ze = Be && ge.process, Ke = function() {
|
594
594
|
try {
|
595
595
|
var p = xe && xe.require && xe.require("util").types;
|
@@ -597,7 +597,7 @@ dn.exports;
|
|
597
597
|
} catch {
|
598
598
|
}
|
599
599
|
}(), it = Ke && Ke.isTypedArray;
|
600
|
-
function
|
600
|
+
function kt(p, y, v) {
|
601
601
|
switch (v.length) {
|
602
602
|
case 0:
|
603
603
|
return p.call(y);
|
@@ -610,7 +610,7 @@ dn.exports;
|
|
610
610
|
}
|
611
611
|
return p.apply(y, v);
|
612
612
|
}
|
613
|
-
function
|
613
|
+
function Et(p, y) {
|
614
614
|
for (var v = -1, P = Array(p); ++v < p; )
|
615
615
|
P[v] = y(v);
|
616
616
|
return P;
|
@@ -633,13 +633,13 @@ dn.exports;
|
|
633
633
|
return p ? "Symbol(src)_1." + p : "";
|
634
634
|
}(), Xe = me.toString, jt = je.call(Object), I = RegExp(
|
635
635
|
"^" + je.call(be).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
636
|
-
),
|
636
|
+
), j = Be ? ie.Buffer : void 0, $ = ie.Symbol, ee = ie.Uint8Array, ne = j ? j.allocUnsafe : void 0, Ne = at(Object.getPrototypeOf, Object), Qe = Object.create, Ye = me.propertyIsEnumerable, st = R.splice, Ce = $ ? $.toStringTag : void 0, ue = function() {
|
637
637
|
try {
|
638
638
|
var p = Un(Object, "defineProperty");
|
639
639
|
return p({}, "", {}), p;
|
640
640
|
} catch {
|
641
641
|
}
|
642
|
-
}(),
|
642
|
+
}(), Ct = j ? j.isBuffer : void 0, Le = Math.max, Za = Date.now, Jr = Un(ie, "Map"), At = Un(Object, "create"), Ka = function() {
|
643
643
|
function p() {
|
644
644
|
}
|
645
645
|
return function(y) {
|
@@ -660,7 +660,7 @@ dn.exports;
|
|
660
660
|
}
|
661
661
|
}
|
662
662
|
function Xa() {
|
663
|
-
this.__data__ =
|
663
|
+
this.__data__ = At ? At(null) : {}, this.size = 0;
|
664
664
|
}
|
665
665
|
function Ja(p) {
|
666
666
|
var y = this.has(p) && delete this.__data__[p];
|
@@ -668,7 +668,7 @@ dn.exports;
|
|
668
668
|
}
|
669
669
|
function el(p) {
|
670
670
|
var y = this.__data__;
|
671
|
-
if (
|
671
|
+
if (At) {
|
672
672
|
var v = y[p];
|
673
673
|
return v === r ? void 0 : v;
|
674
674
|
}
|
@@ -676,11 +676,11 @@ dn.exports;
|
|
676
676
|
}
|
677
677
|
function tl(p) {
|
678
678
|
var y = this.__data__;
|
679
|
-
return
|
679
|
+
return At ? y[p] !== void 0 : be.call(y, p);
|
680
680
|
}
|
681
681
|
function nl(p, y) {
|
682
682
|
var v = this.__data__;
|
683
|
-
return this.size += this.has(p) ? 0 : 1, v[p] =
|
683
|
+
return this.size += this.has(p) ? 0 : 1, v[p] = At && y === void 0 ? r : y, this;
|
684
684
|
}
|
685
685
|
ut.prototype.clear = Xa, ut.prototype.delete = Ja, ut.prototype.get = el, ut.prototype.has = tl, ut.prototype.set = nl;
|
686
686
|
function Ze(p) {
|
@@ -770,7 +770,7 @@ dn.exports;
|
|
770
770
|
}
|
771
771
|
Mt.prototype.clear = dl, Mt.prototype.delete = hl, Mt.prototype.get = gl, Mt.prototype.has = ml, Mt.prototype.set = yl;
|
772
772
|
function Ml(p, y) {
|
773
|
-
var v = Yn(p), P = !v && Qn(p), J = !v && !P && ii(p), le = !v && !P && !J && ai(p), fe = v || P || J || le, X = fe ?
|
773
|
+
var v = Yn(p), P = !v && Qn(p), J = !v && !P && ii(p), le = !v && !P && !J && ai(p), fe = v || P || J || le, X = fe ? Et(p.length, String) : [], de = X.length;
|
774
774
|
for (var Fe in p)
|
775
775
|
(y || be.call(p, Fe)) && !(fe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
776
776
|
(Fe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
@@ -802,10 +802,10 @@ dn.exports;
|
|
802
802
|
}
|
803
803
|
var xl = Ol();
|
804
804
|
function Kt(p) {
|
805
|
-
return p == null ? p === void 0 ? F :
|
805
|
+
return p == null ? p === void 0 ? F : M : Ce && Ce in Object(p) ? zl(p) : Ul(p);
|
806
806
|
}
|
807
807
|
function ei(p) {
|
808
|
-
return
|
808
|
+
return St(p) && Kt(p) == l;
|
809
809
|
}
|
810
810
|
function wl(p) {
|
811
811
|
if (!ct(p) || _l(p))
|
@@ -814,7 +814,7 @@ dn.exports;
|
|
814
814
|
return y.test(Hl(p));
|
815
815
|
}
|
816
816
|
function vl(p) {
|
817
|
-
return
|
817
|
+
return St(p) && oi(p.length) && !!h[Kt(p)];
|
818
818
|
}
|
819
819
|
function Tl(p) {
|
820
820
|
if (!ct(p))
|
@@ -840,12 +840,12 @@ dn.exports;
|
|
840
840
|
_n(p, v, Fe);
|
841
841
|
return;
|
842
842
|
}
|
843
|
-
var
|
844
|
-
if (
|
843
|
+
var Ae = le ? le(X, de, v + "", p, y, fe) : void 0, Ot = Ae === void 0;
|
844
|
+
if (Ot) {
|
845
845
|
var qn = Yn(de), Vn = !qn && ii(de), ui = !qn && !Vn && ai(de);
|
846
|
-
|
846
|
+
Ae = de, qn || Vn || ui ? Yn(X) ? Ae = X : $l(X) ? Ae = Cl(X) : Vn ? (Ot = !1, Ae = kl(de, !0)) : ui ? (Ot = !1, Ae = jl(de, !0)) : Ae = [] : ql(de) || Qn(de) ? (Ae = X, Qn(X) ? Ae = Vl(X) : (!ct(X) || $n(X)) && (Ae = Ll(de))) : Ot = !1;
|
847
847
|
}
|
848
|
-
|
848
|
+
Ot && (fe.set(de, Ae), J(Ae, de, P, le, fe), fe.delete(de)), _n(p, v, Ae);
|
849
849
|
}
|
850
850
|
function Il(p, y) {
|
851
851
|
return Ql(Bl(p, y, si), p + "");
|
@@ -864,12 +864,12 @@ dn.exports;
|
|
864
864
|
var v = p.length, P = ne ? ne(v) : new p.constructor(v);
|
865
865
|
return p.copy(P), P;
|
866
866
|
}
|
867
|
-
function
|
867
|
+
function El(p) {
|
868
868
|
var y = new p.constructor(p.byteLength);
|
869
869
|
return new ee(y).set(new ee(p)), y;
|
870
870
|
}
|
871
|
-
function
|
872
|
-
var v = y ?
|
871
|
+
function jl(p, y) {
|
872
|
+
var v = y ? El(p.buffer) : p.buffer;
|
873
873
|
return new p.constructor(v, p.byteOffset, p.length);
|
874
874
|
}
|
875
875
|
function Cl(p, y) {
|
@@ -916,17 +916,17 @@ dn.exports;
|
|
916
916
|
return wl(v) ? v : void 0;
|
917
917
|
}
|
918
918
|
function zl(p) {
|
919
|
-
var y = be.call(p,
|
919
|
+
var y = be.call(p, Ce), v = p[Ce];
|
920
920
|
try {
|
921
|
-
p[
|
921
|
+
p[Ce] = void 0;
|
922
922
|
var P = !0;
|
923
923
|
} catch {
|
924
924
|
}
|
925
925
|
var J = Xe.call(p);
|
926
|
-
return P && (y ? p[
|
926
|
+
return P && (y ? p[Ce] = v : delete p[Ce]), J;
|
927
927
|
}
|
928
928
|
function Ll(p) {
|
929
|
-
return typeof p.constructor == "function" && !ri(p) ? Ka(
|
929
|
+
return typeof p.constructor == "function" && !ri(p) ? Ka(Ne(p)) : {};
|
930
930
|
}
|
931
931
|
function ni(p, y) {
|
932
932
|
var v = typeof p;
|
@@ -966,7 +966,7 @@ dn.exports;
|
|
966
966
|
J = -1;
|
967
967
|
for (var X = Array(y + 1); ++J < y; )
|
968
968
|
X[J] = P[J];
|
969
|
-
return X[y] = v(fe),
|
969
|
+
return X[y] = v(fe), kt(p, this, X);
|
970
970
|
};
|
971
971
|
}
|
972
972
|
function Bn(p, y) {
|
@@ -1005,15 +1005,15 @@ dn.exports;
|
|
1005
1005
|
var Qn = ei(function() {
|
1006
1006
|
return arguments;
|
1007
1007
|
}()) ? ei : function(p) {
|
1008
|
-
return
|
1008
|
+
return St(p) && be.call(p, "callee") && !Ye.call(p, "callee");
|
1009
1009
|
}, Yn = Array.isArray;
|
1010
1010
|
function Hn(p) {
|
1011
1011
|
return p != null && oi(p.length) && !$n(p);
|
1012
1012
|
}
|
1013
1013
|
function $l(p) {
|
1014
|
-
return
|
1014
|
+
return St(p) && Hn(p);
|
1015
1015
|
}
|
1016
|
-
var ii =
|
1016
|
+
var ii = Ct || Zl;
|
1017
1017
|
function $n(p) {
|
1018
1018
|
if (!ct(p))
|
1019
1019
|
return !1;
|
@@ -1027,13 +1027,13 @@ dn.exports;
|
|
1027
1027
|
var y = typeof p;
|
1028
1028
|
return p != null && (y == "object" || y == "function");
|
1029
1029
|
}
|
1030
|
-
function
|
1030
|
+
function St(p) {
|
1031
1031
|
return p != null && typeof p == "object";
|
1032
1032
|
}
|
1033
1033
|
function ql(p) {
|
1034
|
-
if (!
|
1034
|
+
if (!St(p) || Kt(p) != E)
|
1035
1035
|
return !1;
|
1036
|
-
var y =
|
1036
|
+
var y = Ne(p);
|
1037
1037
|
if (y === null)
|
1038
1038
|
return !0;
|
1039
1039
|
var v = be.call(y, "constructor") && y.constructor;
|
@@ -1180,7 +1180,7 @@ const No = /* @__PURE__ */ nt(ms), ys = {
|
|
1180
1180
|
throw new Error("xpertKey or configurations is required");
|
1181
1181
|
const n = Ms[e] || {};
|
1182
1182
|
return No(n, t);
|
1183
|
-
}, xs = bs, ko = Kl({}),
|
1183
|
+
}, xs = bs, ko = Kl({}), Eo = ({
|
1184
1184
|
children: e,
|
1185
1185
|
configurations: t = null,
|
1186
1186
|
xpertKey: n = null
|
@@ -1191,70 +1191,70 @@ const No = /* @__PURE__ */ nt(ms), ys = {
|
|
1191
1191
|
);
|
1192
1192
|
return /* @__PURE__ */ k.jsx(ko.Provider, { value: { ...r }, children: e });
|
1193
1193
|
};
|
1194
|
-
|
1195
|
-
children:
|
1196
|
-
xpertKey:
|
1197
|
-
configurations:
|
1198
|
-
xpertKey:
|
1199
|
-
chatApi:
|
1200
|
-
endpoint:
|
1201
|
-
payloadParams:
|
1194
|
+
Eo.propTypes = {
|
1195
|
+
children: Y.element.isRequired,
|
1196
|
+
xpertKey: Y.string.isRequired,
|
1197
|
+
configurations: Y.shape({
|
1198
|
+
xpertKey: Y.string,
|
1199
|
+
chatApi: Y.shape({
|
1200
|
+
endpoint: Y.string.isRequired,
|
1201
|
+
payloadParams: Y.string
|
1202
1202
|
}).isRequired,
|
1203
|
-
primaryColor:
|
1204
|
-
disclaimer:
|
1205
|
-
text:
|
1206
|
-
privacyPolicyLink:
|
1203
|
+
primaryColor: Y.string.isRequired,
|
1204
|
+
disclaimer: Y.shape({
|
1205
|
+
text: Y.string.isRequired,
|
1206
|
+
privacyPolicyLink: Y.string.isRequired
|
1207
1207
|
}).isRequired,
|
1208
|
-
userTracking:
|
1209
|
-
enabled:
|
1210
|
-
prefix:
|
1211
|
-
payloadParams:
|
1208
|
+
userTracking: Y.shape({
|
1209
|
+
enabled: Y.bool.isRequired,
|
1210
|
+
prefix: Y.string.isRequired,
|
1211
|
+
payloadParams: Y.object
|
1212
1212
|
}).isRequired,
|
1213
|
-
webExperimentation:
|
1214
|
-
enabled:
|
1215
|
-
experimentName:
|
1213
|
+
webExperimentation: Y.shape({
|
1214
|
+
enabled: Y.bool.isRequired,
|
1215
|
+
experimentName: Y.string
|
1216
1216
|
}).isRequired,
|
1217
|
-
launchButton:
|
1218
|
-
style:
|
1219
|
-
message:
|
1220
|
-
enabled:
|
1221
|
-
text:
|
1217
|
+
launchButton: Y.shape({
|
1218
|
+
style: Y.shape({}).isRequired,
|
1219
|
+
message: Y.shape({
|
1220
|
+
enabled: Y.bool.isRequired,
|
1221
|
+
text: Y.string
|
1222
1222
|
})
|
1223
1223
|
}).isRequired,
|
1224
|
-
proactiveMessage:
|
1225
|
-
enabled:
|
1226
|
-
textPrefix:
|
1227
|
-
text:
|
1228
|
-
delayMs:
|
1229
|
-
style:
|
1224
|
+
proactiveMessage: Y.shape({
|
1225
|
+
enabled: Y.bool.isRequired,
|
1226
|
+
textPrefix: Y.string,
|
1227
|
+
text: Y.string,
|
1228
|
+
delayMs: Y.number.isRequired,
|
1229
|
+
style: Y.shape({}).isRequired
|
1230
1230
|
}).isRequired,
|
1231
|
-
conversationScreen:
|
1232
|
-
header:
|
1233
|
-
logo:
|
1234
|
-
type:
|
1235
|
-
style:
|
1231
|
+
conversationScreen: Y.shape({
|
1232
|
+
header: Y.shape({
|
1233
|
+
logo: Y.shape({
|
1234
|
+
type: Y.string.isRequired,
|
1235
|
+
style: Y.shape({})
|
1236
1236
|
}).isRequired,
|
1237
|
-
container:
|
1238
|
-
style:
|
1237
|
+
container: Y.shape({
|
1238
|
+
style: Y.shape({}).isRequired
|
1239
1239
|
})
|
1240
1240
|
}),
|
1241
|
-
systemMessage:
|
1242
|
-
prompts:
|
1243
|
-
|
1244
|
-
id:
|
1245
|
-
text:
|
1241
|
+
systemMessage: Y.string.isRequired,
|
1242
|
+
prompts: Y.arrayOf(
|
1243
|
+
Y.shape({
|
1244
|
+
id: Y.number.isRequired,
|
1245
|
+
text: Y.string.isRequired
|
1246
1246
|
})
|
1247
1247
|
),
|
1248
|
-
userMessageBubble:
|
1249
|
-
style:
|
1248
|
+
userMessageBubble: Y.shape({
|
1249
|
+
style: Y.shape({}).isRequired
|
1250
1250
|
}),
|
1251
|
-
conversationHistory:
|
1252
|
-
enabled:
|
1251
|
+
conversationHistory: Y.shape({
|
1252
|
+
enabled: Y.bool.isRequired
|
1253
1253
|
}).isRequired,
|
1254
|
-
liveChat:
|
1255
|
-
enabled:
|
1256
|
-
sourceCode:
|
1257
|
-
options:
|
1254
|
+
liveChat: Y.shape({
|
1255
|
+
enabled: Y.bool.isRequired,
|
1256
|
+
sourceCode: Y.string,
|
1257
|
+
options: Y.shape({})
|
1258
1258
|
})
|
1259
1259
|
}).isRequired
|
1260
1260
|
})
|
@@ -1331,7 +1331,7 @@ function lr(e, t) {
|
|
1331
1331
|
);
|
1332
1332
|
}
|
1333
1333
|
var He = lr(ws, { path: "/" });
|
1334
|
-
const
|
1334
|
+
const Ut = /^[a-z0-9]+(-[a-z0-9]+)*$/, wn = (e, t, n, r = "") => {
|
1335
1335
|
const i = e.split(":");
|
1336
1336
|
if (e.slice(0, 1) === "@") {
|
1337
1337
|
if (i.length < 2 || i.length > 3)
|
@@ -1367,7 +1367,7 @@ const Rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, wn = (e, t, n, r = "") => {
|
|
1367
1367
|
return t && !sn(l, n) ? null : l;
|
1368
1368
|
}
|
1369
1369
|
return null;
|
1370
|
-
}, sn = (e, t) => e ? !!((e.provider === "" || e.provider.match(
|
1370
|
+
}, sn = (e, t) => e ? !!((e.provider === "" || e.provider.match(Ut)) && (t && e.prefix === "" || e.prefix.match(Ut)) && e.name.match(Ut)) : !1, jo = Object.freeze(
|
1371
1371
|
{
|
1372
1372
|
left: 0,
|
1373
1373
|
top: 0,
|
@@ -1379,7 +1379,7 @@ const Rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, wn = (e, t, n, r = "") => {
|
|
1379
1379
|
vFlip: !1,
|
1380
1380
|
hFlip: !1
|
1381
1381
|
}), Nr = Object.freeze({
|
1382
|
-
...
|
1382
|
+
...jo,
|
1383
1383
|
...hn
|
1384
1384
|
}), sr = Object.freeze({
|
1385
1385
|
...Nr,
|
@@ -1441,7 +1441,7 @@ const Is = {
|
|
1441
1441
|
provider: "",
|
1442
1442
|
aliases: {},
|
1443
1443
|
not_found: {},
|
1444
|
-
...
|
1444
|
+
...jo
|
1445
1445
|
};
|
1446
1446
|
function Wn(e, t) {
|
1447
1447
|
for (const n in t)
|
@@ -1458,7 +1458,7 @@ function Ao(e) {
|
|
1458
1458
|
const n = t.icons;
|
1459
1459
|
for (const i in n) {
|
1460
1460
|
const o = n[i];
|
1461
|
-
if (!i.match(
|
1461
|
+
if (!i.match(Ut) || typeof o.body != "string" || !Wn(
|
1462
1462
|
o,
|
1463
1463
|
sr
|
1464
1464
|
))
|
@@ -1467,7 +1467,7 @@ function Ao(e) {
|
|
1467
1467
|
const r = t.aliases || /* @__PURE__ */ Object.create(null);
|
1468
1468
|
for (const i in r) {
|
1469
1469
|
const o = r[i], a = o.parent;
|
1470
|
-
if (!i.match(
|
1470
|
+
if (!i.match(Ut) || typeof a != "string" || !n[a] && !r[a] || !Wn(
|
1471
1471
|
o,
|
1472
1472
|
sr
|
1473
1473
|
))
|
@@ -1505,14 +1505,14 @@ let $t = !1;
|
|
1505
1505
|
function So(e) {
|
1506
1506
|
return typeof e == "boolean" && ($t = e), $t;
|
1507
1507
|
}
|
1508
|
-
function
|
1508
|
+
function Es(e) {
|
1509
1509
|
const t = typeof e == "string" ? wn(e, !0, $t) : e;
|
1510
1510
|
if (t) {
|
1511
1511
|
const n = dt(t.provider, t.prefix), r = t.name;
|
1512
1512
|
return n.icons[r] || (n.missing.has(r) ? null : void 0);
|
1513
1513
|
}
|
1514
1514
|
}
|
1515
|
-
function
|
1515
|
+
function js(e, t) {
|
1516
1516
|
const n = wn(e, !0, $t);
|
1517
1517
|
if (!n)
|
1518
1518
|
return !1;
|
@@ -1525,7 +1525,7 @@ function Cs(e, t) {
|
|
1525
1525
|
if (typeof t != "string" && (t = e.provider || ""), $t && !t && !e.prefix) {
|
1526
1526
|
let i = !1;
|
1527
1527
|
return Ao(e) && (e.prefix = "", Co(e, (o, a) => {
|
1528
|
-
a &&
|
1528
|
+
a && js(o, a) && (i = !0);
|
1529
1529
|
})), i;
|
1530
1530
|
}
|
1531
1531
|
const n = e.prefix;
|
@@ -1586,15 +1586,15 @@ function zs(e, t) {
|
|
1586
1586
|
};
|
1587
1587
|
let o = n.body;
|
1588
1588
|
[n, r].forEach((D) => {
|
1589
|
-
const x = [],
|
1590
|
-
let
|
1591
|
-
|
1589
|
+
const x = [], A = D.hFlip, M = D.vFlip;
|
1590
|
+
let E = D.rotate;
|
1591
|
+
A ? M ? E += 2 : (x.push(
|
1592
1592
|
"translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
|
1593
|
-
), x.push("scale(-1 1)"), i.top = i.left = 0) :
|
1593
|
+
), x.push("scale(-1 1)"), i.top = i.left = 0) : M && (x.push(
|
1594
1594
|
"translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
|
1595
1595
|
), x.push("scale(1 -1)"), i.top = i.left = 0);
|
1596
1596
|
let C;
|
1597
|
-
switch (
|
1597
|
+
switch (E < 0 && (E -= Math.floor(E / 4) * 4), E = E % 4, E) {
|
1598
1598
|
case 1:
|
1599
1599
|
C = i.height / 2 + i.top, x.unshift(
|
1600
1600
|
"rotate(90 " + C.toString() + " " + C.toString() + ")"
|
@@ -1611,7 +1611,7 @@ function zs(e, t) {
|
|
1611
1611
|
);
|
1612
1612
|
break;
|
1613
1613
|
}
|
1614
|
-
|
1614
|
+
E % 2 === 1 && (i.left !== i.top && (C = i.left, i.left = i.top, i.top = C), i.width !== i.height && (C = i.width, i.width = i.height, i.height = C)), x.length && (o = '<g transform="' + x.join(" ") + '">' + o + "</g>");
|
1615
1615
|
});
|
1616
1616
|
const a = r.width, l = r.height, s = i.width, u = i.height;
|
1617
1617
|
let c, f;
|
@@ -1651,7 +1651,7 @@ function Rs(e, t) {
|
|
1651
1651
|
function cr(e) {
|
1652
1652
|
return ur[e] || ur[""];
|
1653
1653
|
}
|
1654
|
-
function
|
1654
|
+
function Er(e) {
|
1655
1655
|
let t;
|
1656
1656
|
if (typeof e.resources == "string")
|
1657
1657
|
t = [e.resources];
|
@@ -1676,21 +1676,21 @@ function jr(e) {
|
|
1676
1676
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
1677
1677
|
};
|
1678
1678
|
}
|
1679
|
-
const
|
1679
|
+
const jr = /* @__PURE__ */ Object.create(null), zt = [
|
1680
1680
|
"https://api.simplesvg.com",
|
1681
1681
|
"https://api.unisvg.com"
|
1682
1682
|
], un = [];
|
1683
|
-
for (;
|
1684
|
-
|
1685
|
-
|
1683
|
+
for (; zt.length > 0; )
|
1684
|
+
zt.length === 1 || Math.random() > 0.5 ? un.push(zt.shift()) : un.push(zt.pop());
|
1685
|
+
jr[""] = Er({
|
1686
1686
|
resources: ["https://api.iconify.design"].concat(un)
|
1687
1687
|
});
|
1688
1688
|
function Us(e, t) {
|
1689
|
-
const n =
|
1690
|
-
return n === null ? !1 : (
|
1689
|
+
const n = Er(t);
|
1690
|
+
return n === null ? !1 : (jr[e] = n, !0);
|
1691
1691
|
}
|
1692
1692
|
function Cr(e) {
|
1693
|
-
return
|
1693
|
+
return jr[e];
|
1694
1694
|
}
|
1695
1695
|
const Bs = () => {
|
1696
1696
|
let e;
|
@@ -1901,12 +1901,12 @@ function eu(e, t, n, r) {
|
|
1901
1901
|
const i = e.resources.length, o = e.random ? Math.floor(Math.random() * i) : e.index;
|
1902
1902
|
let a;
|
1903
1903
|
if (e.random) {
|
1904
|
-
let
|
1905
|
-
for (a = [];
|
1906
|
-
const F = Math.floor(Math.random() *
|
1907
|
-
a.push(
|
1904
|
+
let b = e.resources.slice(0);
|
1905
|
+
for (a = []; b.length > 1; ) {
|
1906
|
+
const F = Math.floor(Math.random() * b.length);
|
1907
|
+
a.push(b[F]), b = b.slice(0, F).concat(b.slice(F + 1));
|
1908
1908
|
}
|
1909
|
-
a = a.concat(
|
1909
|
+
a = a.concat(b);
|
1910
1910
|
} else
|
1911
1911
|
a = e.resources.slice(o).concat(e.resources.slice(0, o));
|
1912
1912
|
const l = Date.now();
|
@@ -1916,37 +1916,37 @@ function eu(e, t, n, r) {
|
|
1916
1916
|
f && (clearTimeout(f), f = null);
|
1917
1917
|
}
|
1918
1918
|
function x() {
|
1919
|
-
s === "pending" && (s = "aborted"), D(), m.forEach((
|
1920
|
-
|
1919
|
+
s === "pending" && (s = "aborted"), D(), m.forEach((b) => {
|
1920
|
+
b.status === "pending" && (b.status = "aborted");
|
1921
1921
|
}), m = [];
|
1922
1922
|
}
|
1923
|
-
function
|
1924
|
-
F && (d = []), typeof
|
1923
|
+
function A(b, F) {
|
1924
|
+
F && (d = []), typeof b == "function" && d.push(b);
|
1925
1925
|
}
|
1926
|
-
function
|
1926
|
+
function M() {
|
1927
1927
|
return {
|
1928
1928
|
startTime: l,
|
1929
1929
|
payload: t,
|
1930
1930
|
status: s,
|
1931
1931
|
queriesSent: u,
|
1932
1932
|
queriesPending: m.length,
|
1933
|
-
subscribe:
|
1933
|
+
subscribe: A,
|
1934
1934
|
abort: x
|
1935
1935
|
};
|
1936
1936
|
}
|
1937
|
-
function
|
1938
|
-
s = "failed", d.forEach((
|
1939
|
-
|
1937
|
+
function E() {
|
1938
|
+
s = "failed", d.forEach((b) => {
|
1939
|
+
b(void 0, c);
|
1940
1940
|
});
|
1941
1941
|
}
|
1942
1942
|
function C() {
|
1943
|
-
m.forEach((
|
1944
|
-
|
1943
|
+
m.forEach((b) => {
|
1944
|
+
b.status === "pending" && (b.status = "aborted");
|
1945
1945
|
}), m = [];
|
1946
1946
|
}
|
1947
|
-
function
|
1947
|
+
function H(b, F, q) {
|
1948
1948
|
const G = F !== "success";
|
1949
|
-
switch (m = m.filter((K) => K !==
|
1949
|
+
switch (m = m.filter((K) => K !== b), s) {
|
1950
1950
|
case "pending":
|
1951
1951
|
break;
|
1952
1952
|
case "failed":
|
@@ -1957,46 +1957,46 @@ function eu(e, t, n, r) {
|
|
1957
1957
|
return;
|
1958
1958
|
}
|
1959
1959
|
if (F === "abort") {
|
1960
|
-
c = q,
|
1960
|
+
c = q, E();
|
1961
1961
|
return;
|
1962
1962
|
}
|
1963
1963
|
if (G) {
|
1964
|
-
c = q, m.length || (a.length ?
|
1964
|
+
c = q, m.length || (a.length ? U() : E());
|
1965
1965
|
return;
|
1966
1966
|
}
|
1967
1967
|
if (D(), C(), !e.random) {
|
1968
|
-
const K = e.resources.indexOf(
|
1968
|
+
const K = e.resources.indexOf(b.resource);
|
1969
1969
|
K !== -1 && K !== e.index && (e.index = K);
|
1970
1970
|
}
|
1971
1971
|
s = "completed", d.forEach((K) => {
|
1972
1972
|
K(q);
|
1973
1973
|
});
|
1974
1974
|
}
|
1975
|
-
function
|
1975
|
+
function U() {
|
1976
1976
|
if (s !== "pending")
|
1977
1977
|
return;
|
1978
1978
|
D();
|
1979
|
-
const
|
1980
|
-
if (
|
1979
|
+
const b = a.shift();
|
1980
|
+
if (b === void 0) {
|
1981
1981
|
if (m.length) {
|
1982
1982
|
f = setTimeout(() => {
|
1983
|
-
D(), s === "pending" && (C(),
|
1983
|
+
D(), s === "pending" && (C(), E());
|
1984
1984
|
}, e.timeout);
|
1985
1985
|
return;
|
1986
1986
|
}
|
1987
|
-
|
1987
|
+
E();
|
1988
1988
|
return;
|
1989
1989
|
}
|
1990
1990
|
const F = {
|
1991
1991
|
status: "pending",
|
1992
|
-
resource:
|
1992
|
+
resource: b,
|
1993
1993
|
callback: (q, G) => {
|
1994
|
-
|
1994
|
+
H(F, q, G);
|
1995
1995
|
}
|
1996
1996
|
};
|
1997
|
-
m.push(F), u++, f = setTimeout(
|
1997
|
+
m.push(F), u++, f = setTimeout(U, e.rotate), n(b, t, F.callback);
|
1998
1998
|
}
|
1999
|
-
return setTimeout(
|
1999
|
+
return setTimeout(U), M;
|
2000
2000
|
}
|
2001
2001
|
function Fo(e) {
|
2002
2002
|
const t = {
|
@@ -2057,7 +2057,7 @@ function nu(e, t, n) {
|
|
2057
2057
|
const a = tu(e);
|
2058
2058
|
a && (r = a.redundancy);
|
2059
2059
|
} else {
|
2060
|
-
const o =
|
2060
|
+
const o = Er(e);
|
2061
2061
|
if (o) {
|
2062
2062
|
r = Fo(o);
|
2063
2063
|
const a = e.resources ? e.resources[0] : "", l = cr(a);
|
@@ -2336,19 +2336,19 @@ function mu(e) {
|
|
2336
2336
|
function yu(e) {
|
2337
2337
|
return 'url("' + mu(e) + '")';
|
2338
2338
|
}
|
2339
|
-
let
|
2339
|
+
let Bt;
|
2340
2340
|
function Mu() {
|
2341
2341
|
try {
|
2342
|
-
|
2342
|
+
Bt = window.trustedTypes.createPolicy("iconify", {
|
2343
2343
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
2344
2344
|
createHTML: (e) => e
|
2345
2345
|
});
|
2346
2346
|
} catch {
|
2347
|
-
|
2347
|
+
Bt = null;
|
2348
2348
|
}
|
2349
2349
|
}
|
2350
2350
|
function bu(e) {
|
2351
|
-
return
|
2351
|
+
return Bt === void 0 && Mu(), Bt ? Bt.createHTML(e) : e;
|
2352
2352
|
}
|
2353
2353
|
const Yo = {
|
2354
2354
|
...zo,
|
@@ -2390,10 +2390,10 @@ const Tu = (e, t, n, r) => {
|
|
2390
2390
|
...a === "svg" ? xu : {},
|
2391
2391
|
ref: r
|
2392
2392
|
};
|
2393
|
-
for (let
|
2394
|
-
const
|
2395
|
-
if (
|
2396
|
-
switch (
|
2393
|
+
for (let M in t) {
|
2394
|
+
const E = t[M];
|
2395
|
+
if (E !== void 0)
|
2396
|
+
switch (M) {
|
2397
2397
|
case "icon":
|
2398
2398
|
case "style":
|
2399
2399
|
case "children":
|
@@ -2405,23 +2405,23 @@ const Tu = (e, t, n, r) => {
|
|
2405
2405
|
case "inline":
|
2406
2406
|
case "hFlip":
|
2407
2407
|
case "vFlip":
|
2408
|
-
o[
|
2408
|
+
o[M] = E === !0 || E === "true" || E === 1;
|
2409
2409
|
break;
|
2410
2410
|
case "flip":
|
2411
|
-
typeof
|
2411
|
+
typeof E == "string" && fu(o, E);
|
2412
2412
|
break;
|
2413
2413
|
case "color":
|
2414
|
-
l.color =
|
2414
|
+
l.color = E;
|
2415
2415
|
break;
|
2416
2416
|
case "rotate":
|
2417
|
-
typeof
|
2417
|
+
typeof E == "string" ? o[M] = du(E) : typeof E == "number" && (o[M] = E);
|
2418
2418
|
break;
|
2419
2419
|
case "ariaHidden":
|
2420
2420
|
case "aria-hidden":
|
2421
|
-
|
2421
|
+
E !== !0 && E !== "true" && delete u["aria-hidden"];
|
2422
2422
|
break;
|
2423
2423
|
default:
|
2424
|
-
i[
|
2424
|
+
i[M] === void 0 && (u[M] = E);
|
2425
2425
|
}
|
2426
2426
|
}
|
2427
2427
|
const c = zs(e, o), f = c.attributes;
|
@@ -2430,19 +2430,19 @@ const Tu = (e, t, n, r) => {
|
|
2430
2430
|
...l,
|
2431
2431
|
...s
|
2432
2432
|
}, Object.assign(u, f);
|
2433
|
-
let
|
2434
|
-
return typeof
|
2435
|
-
__html: bu(_s(c.body,
|
2433
|
+
let M = 0, E = t.id;
|
2434
|
+
return typeof E == "string" && (E = E.replace(/-/g, "_")), u.dangerouslySetInnerHTML = {
|
2435
|
+
__html: bu(_s(c.body, E ? () => E + "ID" + M++ : "iconifyReact"))
|
2436
2436
|
}, ve.createElement("svg", u);
|
2437
2437
|
}
|
2438
|
-
const { body: m, width: d, height: D } = e, x = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1),
|
2438
|
+
const { body: m, width: d, height: D } = e, x = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), A = hu(m, {
|
2439
2439
|
...f,
|
2440
2440
|
width: d + "",
|
2441
2441
|
height: D + ""
|
2442
2442
|
});
|
2443
2443
|
return u.style = {
|
2444
2444
|
...l,
|
2445
|
-
"--svg": yu(
|
2445
|
+
"--svg": yu(A),
|
2446
2446
|
width: Ti(f.width),
|
2447
2447
|
height: Ti(f.height),
|
2448
2448
|
...wu,
|
@@ -2521,7 +2521,7 @@ class $o extends ve.Component {
|
|
2521
2521
|
this._abortLoading(), this._setData(null);
|
2522
2522
|
return;
|
2523
2523
|
}
|
2524
|
-
const o =
|
2524
|
+
const o = Es(i);
|
2525
2525
|
if (!o) {
|
2526
2526
|
(!this._loading || this._loading.name !== r) && (this._abortLoading(), this._icon = "", this._setData(null), o !== null && (this._loading = {
|
2527
2527
|
name: r,
|
@@ -2573,7 +2573,7 @@ class $o extends ve.Component {
|
|
2573
2573
|
}, r, t._inline, t._ref);
|
2574
2574
|
}
|
2575
2575
|
}
|
2576
|
-
const
|
2576
|
+
const vt = ve.forwardRef(function(t, n) {
|
2577
2577
|
const r = {
|
2578
2578
|
...t,
|
2579
2579
|
_ref: n,
|
@@ -2590,17 +2590,17 @@ ve.forwardRef(function(t, n) {
|
|
2590
2590
|
return ve.createElement($o, r);
|
2591
2591
|
});
|
2592
2592
|
const Du = 576, Iu = (e) => {
|
2593
|
-
const [t, n] = we(), r =
|
2593
|
+
const [t, n] = we(), r = wt(() => {
|
2594
2594
|
n(
|
2595
2595
|
window.matchMedia(
|
2596
2596
|
`(max-width: ${e || Du}px)`
|
2597
2597
|
).matches
|
2598
2598
|
);
|
2599
2599
|
}, [e]);
|
2600
|
-
return
|
2601
|
-
},
|
2600
|
+
return Ie(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
|
2601
|
+
}, Dt = Iu, Nu = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", ku = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==", Eu = 991;
|
2602
2602
|
function qo({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
|
2603
|
-
return
|
2603
|
+
return Dt(Eu) ? null : e ? /* @__PURE__ */ k.jsx(
|
2604
2604
|
"button",
|
2605
2605
|
{
|
2606
2606
|
onClick: () => {
|
@@ -2704,7 +2704,7 @@ function Vo({
|
|
2704
2704
|
"aria-label": "Close Xpert dialog",
|
2705
2705
|
type: "button",
|
2706
2706
|
children: /* @__PURE__ */ k.jsx(
|
2707
|
-
|
2707
|
+
vt,
|
2708
2708
|
{
|
2709
2709
|
icon: "material-symbols:close",
|
2710
2710
|
alt: "Close",
|
@@ -2754,7 +2754,7 @@ Or.defaultProps = {
|
|
2754
2754
|
backgroundColor: "#F0CC00",
|
2755
2755
|
textColor: "transparent"
|
2756
2756
|
};
|
2757
|
-
const Eu = Or, Wo = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTg3MSIgaGVpZ2h0PSI1NjQiIHZpZXdCb3g9IjAgMCAxODcxIDU2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkyOCAxODhIMTg3MUwxODA4IDQ5MUg4NjVMOTI4IDE4OFoiIGZpbGw9IiNGMENDMDAiLz4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEyM180MjgpIj4KPHBhdGggZD0iT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NUMxNTIwLjczIDI5Ni43ODIgMTUxNS43OCAyOTUuMDE2IDE1MDkuMjUgMjk1LjAxNkgxNDgzLjU3VjMzMi41MTZaTTE1NzEuNDggMjY5LjMzNkgxNjc0LjE5VjI5NS4wMTZIMTYzNi4yOVY0MTJIMTYwOS4zOFYyOTUuMDE2SDE1NzEuNDhWMjY5LjMzNloiIGZpbGw9IiMwMDI2MkIiLz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTIzXzQyOCI+CjxyZWN0IHdpZHRoPSIxMDgwIiBoZWlnaHQ9IjU2My4yNSIgZmlsbD0iI0ZGRkZGRiIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=";
|
2758
2758
|
const Cu = 991;
|
2759
2759
|
function Go({
|
2760
2760
|
isNormalSize: e,
|
@@ -2763,8 +2763,8 @@ function Go({
|
|
2763
2763
|
setIsMounted: r,
|
2764
2764
|
onClose: i
|
2765
2765
|
}) {
|
2766
|
-
var s, u, c, f, m, d, D, x,
|
2767
|
-
const { primaryColor: o, conversationScreen: a } = We(Ge), l =
|
2766
|
+
var s, u, c, f, m, d, D, x, A;
|
2767
|
+
const { primaryColor: o, conversationScreen: a } = We(Ge), l = Dt(Cu);
|
2768
2768
|
return /* @__PURE__ */ k.jsxs(
|
2769
2769
|
"div",
|
2770
2770
|
{
|
@@ -2798,7 +2798,7 @@ function Go({
|
|
2798
2798
|
style: a.header.logo.style
|
2799
2799
|
}
|
2800
2800
|
) : /* @__PURE__ */ k.jsx(
|
2801
|
-
|
2801
|
+
ju,
|
2802
2802
|
{
|
2803
2803
|
backgroundColor: (d = a.header.logo.style) == null ? void 0 : d.backgroundColor,
|
2804
2804
|
textColor: (D = a.header.logo.style) == null ? void 0 : D.color
|
@@ -2820,7 +2820,7 @@ function Go({
|
|
2820
2820
|
className: "xpert-chatbot-popup__header_container",
|
2821
2821
|
style: {
|
2822
2822
|
right: 0,
|
2823
|
-
background: ((
|
2823
|
+
background: ((A = (x = a.header.container) == null ? void 0 : x.style) == null ? void 0 : A.backgroun) || o
|
2824
2824
|
}
|
2825
2825
|
}
|
2826
2826
|
)
|
@@ -2848,7 +2848,7 @@ function zr({
|
|
2848
2848
|
userInput: u
|
2849
2849
|
}) {
|
2850
2850
|
const { primaryColor: c } = We(Ge);
|
2851
|
-
return
|
2851
|
+
return Ie(() => {
|
2852
2852
|
var f;
|
2853
2853
|
(o || a) && ((f = l.current) == null || f.focus());
|
2854
2854
|
}, [a, o, l]), /* @__PURE__ */ k.jsxs("div", { className: "xpert-chatbot-popup__input--group", style: e, children: [
|
@@ -2890,7 +2890,7 @@ function zr({
|
|
2890
2890
|
f.preventDefault(), i(u);
|
2891
2891
|
},
|
2892
2892
|
"aria-label": "Send message",
|
2893
|
-
children: /* @__PURE__ */ k.jsx(
|
2893
|
+
children: /* @__PURE__ */ k.jsx(vt, { icon: "material-symbols:send", style: { fontSize: "1.75rem" } })
|
2894
2894
|
}
|
2895
2895
|
)
|
2896
2896
|
] });
|
@@ -2938,7 +2938,7 @@ var Su = function(t) {
|
|
2938
2938
|
return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
|
2939
2939
|
};
|
2940
2940
|
const Zo = /* @__PURE__ */ nt(Su);
|
2941
|
-
function
|
2941
|
+
function Qt(e) {
|
2942
2942
|
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Ii(e.position) : "start" in e || "end" in e ? Ii(e) : "line" in e || "column" in e ? gr(e) : "";
|
2943
2943
|
}
|
2944
2944
|
function gr(e) {
|
@@ -2981,7 +2981,7 @@ class _e extends Error {
|
|
2981
2981
|
const a = r.indexOf(":");
|
2982
2982
|
a === -1 ? i[1] = r : (i[0] = r.slice(0, a), i[1] = r.slice(a + 1));
|
2983
2983
|
}
|
2984
|
-
n && ("type" in n || "position" in n ? n.position && (o = n.position) : "start" in n || "end" in n ? o = n : ("line" in n || "column" in n) && (o.start = n)), this.name =
|
2984
|
+
n && ("type" in n || "position" in n ? n.position && (o = n.position) : "start" in n || "end" in n ? o = n : ("line" in n || "column" in n) && (o.start = n)), this.name = Qt(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = o.start.line, this.column = o.start.column, this.position = o, this.source = i[0], this.ruleId = i[1], this.file, this.actual, this.expected, this.url, this.note;
|
2985
2985
|
}
|
2986
2986
|
}
|
2987
2987
|
_e.prototype.file = "";
|
@@ -3371,11 +3371,11 @@ function ki(e, t) {
|
|
3371
3371
|
function Yu(e) {
|
3372
3372
|
return Zo(e);
|
3373
3373
|
}
|
3374
|
-
function
|
3374
|
+
function Ei(e) {
|
3375
3375
|
if (e)
|
3376
3376
|
throw e;
|
3377
3377
|
}
|
3378
|
-
var cn = Object.prototype.hasOwnProperty, Xo = Object.prototype.toString,
|
3378
|
+
var cn = Object.prototype.hasOwnProperty, Xo = Object.prototype.toString, ji = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor, Ai = function(t) {
|
3379
3379
|
return typeof Array.isArray == "function" ? Array.isArray(t) : Xo.call(t) === "[object Array]";
|
3380
3380
|
}, Si = function(t) {
|
3381
3381
|
if (!t || Xo.call(t) !== "[object Object]")
|
@@ -3388,7 +3388,7 @@ var cn = Object.prototype.hasOwnProperty, Xo = Object.prototype.toString, Ei = O
|
|
3388
3388
|
;
|
3389
3389
|
return typeof i > "u" || cn.call(t, i);
|
3390
3390
|
}, Oi = function(t, n) {
|
3391
|
-
|
3391
|
+
ji && n.name === "__proto__" ? ji(t, n.name, {
|
3392
3392
|
enumerable: !0,
|
3393
3393
|
configurable: !0,
|
3394
3394
|
value: n.newValue,
|
@@ -3480,67 +3480,67 @@ function ea() {
|
|
3480
3480
|
return o.data = a, o.Parser = void 0, o.Compiler = void 0, o.freeze = l, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = f, o.runSync = m, o.process = d, o.processSync = D, o;
|
3481
3481
|
function o() {
|
3482
3482
|
const x = ea();
|
3483
|
-
let
|
3484
|
-
for (; ++
|
3485
|
-
x.use(...t[
|
3483
|
+
let A = -1;
|
3484
|
+
for (; ++A < t.length; )
|
3485
|
+
x.use(...t[A]);
|
3486
3486
|
return x.data(Li(!0, {}, n)), x;
|
3487
3487
|
}
|
3488
|
-
function a(x,
|
3489
|
-
return typeof x == "string" ? arguments.length === 2 ? (tr("data", r), n[x] =
|
3488
|
+
function a(x, A) {
|
3489
|
+
return typeof x == "string" ? arguments.length === 2 ? (tr("data", r), n[x] = A, o) : Jo.call(n, x) && n[x] || null : x ? (tr("data", r), n = x, o) : n;
|
3490
3490
|
}
|
3491
3491
|
function l() {
|
3492
3492
|
if (r)
|
3493
3493
|
return o;
|
3494
3494
|
for (; ++i < t.length; ) {
|
3495
|
-
const [x, ...
|
3496
|
-
if (
|
3495
|
+
const [x, ...A] = t[i];
|
3496
|
+
if (A[0] === !1)
|
3497
3497
|
continue;
|
3498
|
-
|
3499
|
-
const
|
3500
|
-
typeof
|
3498
|
+
A[0] === !0 && (A[0] = void 0);
|
3499
|
+
const M = x.call(o, ...A);
|
3500
|
+
typeof M == "function" && e.use(M);
|
3501
3501
|
}
|
3502
3502
|
return r = !0, i = Number.POSITIVE_INFINITY, o;
|
3503
3503
|
}
|
3504
|
-
function s(x, ...
|
3505
|
-
let
|
3504
|
+
function s(x, ...A) {
|
3505
|
+
let M;
|
3506
3506
|
if (tr("use", r), x != null)
|
3507
3507
|
if (typeof x == "function")
|
3508
|
-
|
3508
|
+
U(x, ...A);
|
3509
3509
|
else if (typeof x == "object")
|
3510
|
-
Array.isArray(x) ?
|
3510
|
+
Array.isArray(x) ? H(x) : C(x);
|
3511
3511
|
else
|
3512
3512
|
throw new TypeError("Expected usable value, not `" + x + "`");
|
3513
|
-
return
|
3514
|
-
function
|
3515
|
-
if (typeof
|
3516
|
-
|
3517
|
-
else if (typeof
|
3518
|
-
if (Array.isArray(
|
3519
|
-
const [F, ...q] =
|
3520
|
-
|
3513
|
+
return M && (n.settings = Object.assign(n.settings || {}, M)), o;
|
3514
|
+
function E(b) {
|
3515
|
+
if (typeof b == "function")
|
3516
|
+
U(b);
|
3517
|
+
else if (typeof b == "object")
|
3518
|
+
if (Array.isArray(b)) {
|
3519
|
+
const [F, ...q] = b;
|
3520
|
+
U(F, ...q);
|
3521
3521
|
} else
|
3522
|
-
C(
|
3522
|
+
C(b);
|
3523
3523
|
else
|
3524
|
-
throw new TypeError("Expected usable value, not `" +
|
3524
|
+
throw new TypeError("Expected usable value, not `" + b + "`");
|
3525
3525
|
}
|
3526
|
-
function C(
|
3527
|
-
|
3526
|
+
function C(b) {
|
3527
|
+
H(b.plugins), b.settings && (M = Object.assign(M || {}, b.settings));
|
3528
3528
|
}
|
3529
|
-
function
|
3529
|
+
function H(b) {
|
3530
3530
|
let F = -1;
|
3531
|
-
if (
|
3532
|
-
if (Array.isArray(
|
3533
|
-
for (; ++F <
|
3534
|
-
const q =
|
3535
|
-
|
3531
|
+
if (b != null)
|
3532
|
+
if (Array.isArray(b))
|
3533
|
+
for (; ++F < b.length; ) {
|
3534
|
+
const q = b[F];
|
3535
|
+
E(q);
|
3536
3536
|
}
|
3537
3537
|
else
|
3538
|
-
throw new TypeError("Expected a list of plugins, not `" +
|
3538
|
+
throw new TypeError("Expected a list of plugins, not `" + b + "`");
|
3539
3539
|
}
|
3540
|
-
function
|
3540
|
+
function U(b, F) {
|
3541
3541
|
let q = -1, G;
|
3542
3542
|
for (; ++q < t.length; )
|
3543
|
-
if (t[q][0] ===
|
3543
|
+
if (t[q][0] === b) {
|
3544
3544
|
G = t[q];
|
3545
3545
|
break;
|
3546
3546
|
}
|
@@ -3549,58 +3549,58 @@ function ea() {
|
|
3549
3549
|
}
|
3550
3550
|
function u(x) {
|
3551
3551
|
o.freeze();
|
3552
|
-
const
|
3553
|
-
return Jn("parse",
|
3552
|
+
const A = Lt(x), M = o.Parser;
|
3553
|
+
return Jn("parse", M), Fi(M, "parse") ? new M(String(A), A).parse() : M(String(A), A);
|
3554
3554
|
}
|
3555
|
-
function c(x,
|
3555
|
+
function c(x, A) {
|
3556
3556
|
o.freeze();
|
3557
|
-
const
|
3558
|
-
return er("stringify",
|
3559
|
-
}
|
3560
|
-
function f(x,
|
3561
|
-
if (Pi(x), o.freeze(), !
|
3562
|
-
return new Promise(
|
3563
|
-
|
3564
|
-
function
|
3565
|
-
e.run(x,
|
3566
|
-
function
|
3567
|
-
F = F || x,
|
3557
|
+
const M = Lt(A), E = o.Compiler;
|
3558
|
+
return er("stringify", E), Pi(x), Fi(E, "compile") ? new E(x, M).compile() : E(x, M);
|
3559
|
+
}
|
3560
|
+
function f(x, A, M) {
|
3561
|
+
if (Pi(x), o.freeze(), !M && typeof A == "function" && (M = A, A = void 0), !M)
|
3562
|
+
return new Promise(E);
|
3563
|
+
E(null, M);
|
3564
|
+
function E(C, H) {
|
3565
|
+
e.run(x, Lt(A), U);
|
3566
|
+
function U(b, F, q) {
|
3567
|
+
F = F || x, b ? H(b) : C ? C(F) : M(null, F, q);
|
3568
3568
|
}
|
3569
3569
|
}
|
3570
3570
|
}
|
3571
|
-
function m(x,
|
3572
|
-
let
|
3573
|
-
return o.run(x,
|
3574
|
-
function C(
|
3575
|
-
|
3571
|
+
function m(x, A) {
|
3572
|
+
let M, E;
|
3573
|
+
return o.run(x, A, C), _i("runSync", "run", E), M;
|
3574
|
+
function C(H, U) {
|
3575
|
+
Ei(H), M = U, E = !0;
|
3576
3576
|
}
|
3577
3577
|
}
|
3578
|
-
function d(x,
|
3579
|
-
if (o.freeze(), Jn("process", o.Parser), er("process", o.Compiler), !
|
3580
|
-
return new Promise(
|
3581
|
-
|
3582
|
-
function
|
3583
|
-
const
|
3584
|
-
o.run(o.parse(
|
3585
|
-
if (
|
3586
|
-
|
3578
|
+
function d(x, A) {
|
3579
|
+
if (o.freeze(), Jn("process", o.Parser), er("process", o.Compiler), !A)
|
3580
|
+
return new Promise(M);
|
3581
|
+
M(null, A);
|
3582
|
+
function M(E, C) {
|
3583
|
+
const H = Lt(x);
|
3584
|
+
o.run(o.parse(H), H, (b, F, q) => {
|
3585
|
+
if (b || !F || !q)
|
3586
|
+
U(b);
|
3587
3587
|
else {
|
3588
3588
|
const G = o.stringify(F, q);
|
3589
|
-
G == null || (Zu(G) ? q.value = G : q.result = G),
|
3589
|
+
G == null || (Zu(G) ? q.value = G : q.result = G), U(b, q);
|
3590
3590
|
}
|
3591
3591
|
});
|
3592
|
-
function
|
3593
|
-
|
3592
|
+
function U(b, F) {
|
3593
|
+
b || !F ? C(b) : E ? E(F) : A(null, F);
|
3594
3594
|
}
|
3595
3595
|
}
|
3596
3596
|
}
|
3597
3597
|
function D(x) {
|
3598
|
-
let
|
3598
|
+
let A;
|
3599
3599
|
o.freeze(), Jn("processSync", o.Parser), er("processSync", o.Compiler);
|
3600
|
-
const
|
3601
|
-
return o.process(
|
3602
|
-
function
|
3603
|
-
|
3600
|
+
const M = Lt(x);
|
3601
|
+
return o.process(M, E), _i("processSync", "process", A), M;
|
3602
|
+
function E(C) {
|
3603
|
+
A = !0, Ei(C);
|
3604
3604
|
}
|
3605
3605
|
}
|
3606
3606
|
}
|
@@ -3644,7 +3644,7 @@ function _i(e, t, n) {
|
|
3644
3644
|
"`" + e + "` finished async. Use `" + t + "` instead"
|
3645
3645
|
);
|
3646
3646
|
}
|
3647
|
-
function
|
3647
|
+
function Lt(e) {
|
3648
3648
|
return Gu(e) ? e : new Ko(e);
|
3649
3649
|
}
|
3650
3650
|
function Gu(e) {
|
@@ -3723,7 +3723,7 @@ function nc(e, t) {
|
|
3723
3723
|
(t[n].add === "after" ? e : r).push(t[n]);
|
3724
3724
|
Ve(e, 0, 0, r);
|
3725
3725
|
}
|
3726
|
-
const rc = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, qe = rt(/[A-Za-z]/),
|
3726
|
+
const rc = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, qe = rt(/[A-Za-z]/), Oe = rt(/[\dA-Za-z]/), ic = rt(/[#-'*+\--9=?A-Z^-~]/);
|
3727
3727
|
function Mr(e) {
|
3728
3728
|
return (
|
3729
3729
|
// Special whitespace codes (which have negative values), C0 and Control
|
@@ -3735,7 +3735,7 @@ const br = rt(/\d/), oc = rt(/[\dA-Fa-f]/), ac = rt(/[!-/:-@[-`{-~]/);
|
|
3735
3735
|
function V(e) {
|
3736
3736
|
return e !== null && e < -2;
|
3737
3737
|
}
|
3738
|
-
function
|
3738
|
+
function Ee(e) {
|
3739
3739
|
return e !== null && (e < 0 || e === 32);
|
3740
3740
|
}
|
3741
3741
|
function te(e) {
|
@@ -3806,9 +3806,9 @@ function fc(e) {
|
|
3806
3806
|
return l;
|
3807
3807
|
function l(C) {
|
3808
3808
|
if (r < n.length) {
|
3809
|
-
const
|
3810
|
-
return t.containerState =
|
3811
|
-
|
3809
|
+
const H = n[r];
|
3810
|
+
return t.containerState = H[1], e.attempt(
|
3811
|
+
H[0].continuation,
|
3812
3812
|
s,
|
3813
3813
|
u
|
3814
3814
|
)(C);
|
@@ -3817,23 +3817,23 @@ function fc(e) {
|
|
3817
3817
|
}
|
3818
3818
|
function s(C) {
|
3819
3819
|
if (r++, t.containerState._closeFlow) {
|
3820
|
-
t.containerState._closeFlow = void 0, i &&
|
3821
|
-
const
|
3822
|
-
let
|
3823
|
-
for (;
|
3824
|
-
if (t.events[
|
3825
|
-
|
3820
|
+
t.containerState._closeFlow = void 0, i && E();
|
3821
|
+
const H = t.events.length;
|
3822
|
+
let U = H, b;
|
3823
|
+
for (; U--; )
|
3824
|
+
if (t.events[U][0] === "exit" && t.events[U][1].type === "chunkFlow") {
|
3825
|
+
b = t.events[U][1].end;
|
3826
3826
|
break;
|
3827
3827
|
}
|
3828
|
-
|
3829
|
-
let F =
|
3828
|
+
M(r);
|
3829
|
+
let F = H;
|
3830
3830
|
for (; F < t.events.length; )
|
3831
|
-
t.events[F][1].end = Object.assign({},
|
3831
|
+
t.events[F][1].end = Object.assign({}, b), F++;
|
3832
3832
|
return Ve(
|
3833
3833
|
t.events,
|
3834
|
-
|
3834
|
+
U + 1,
|
3835
3835
|
0,
|
3836
|
-
t.events.slice(
|
3836
|
+
t.events.slice(H)
|
3837
3837
|
), t.events.length = F, u(C);
|
3838
3838
|
}
|
3839
3839
|
return l(C);
|
@@ -3853,7 +3853,7 @@ function fc(e) {
|
|
3853
3853
|
)(C);
|
3854
3854
|
}
|
3855
3855
|
function c(C) {
|
3856
|
-
return i &&
|
3856
|
+
return i && E(), M(r), m(C);
|
3857
3857
|
}
|
3858
3858
|
function f(C) {
|
3859
3859
|
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, D(C);
|
@@ -3870,7 +3870,7 @@ function fc(e) {
|
|
3870
3870
|
}
|
3871
3871
|
function D(C) {
|
3872
3872
|
if (C === null) {
|
3873
|
-
i &&
|
3873
|
+
i && E(), M(0), e.consume(C);
|
3874
3874
|
return;
|
3875
3875
|
}
|
3876
3876
|
return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
@@ -3881,21 +3881,21 @@ function fc(e) {
|
|
3881
3881
|
}
|
3882
3882
|
function x(C) {
|
3883
3883
|
if (C === null) {
|
3884
|
-
|
3884
|
+
A(e.exit("chunkFlow"), !0), M(0), e.consume(C);
|
3885
3885
|
return;
|
3886
3886
|
}
|
3887
|
-
return V(C) ? (e.consume(C),
|
3887
|
+
return V(C) ? (e.consume(C), A(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, l) : (e.consume(C), x);
|
3888
3888
|
}
|
3889
|
-
function
|
3890
|
-
const
|
3891
|
-
if (
|
3892
|
-
let
|
3893
|
-
for (;
|
3889
|
+
function A(C, H) {
|
3890
|
+
const U = t.sliceStream(C);
|
3891
|
+
if (H && U.push(null), C.previous = o, o && (o.next = C), o = C, i.defineSkip(C.start), i.write(U), t.parser.lazy[C.start.line]) {
|
3892
|
+
let b = i.events.length;
|
3893
|
+
for (; b--; )
|
3894
3894
|
if (
|
3895
3895
|
// The token starts before the line ending…
|
3896
|
-
i.events[
|
3897
|
-
(!i.events[
|
3898
|
-
i.events[
|
3896
|
+
i.events[b][1].start.offset < a && // …and either is not ended yet…
|
3897
|
+
(!i.events[b][1].end || // …or ends after it.
|
3898
|
+
i.events[b][1].end.offset > a)
|
3899
3899
|
)
|
3900
3900
|
return;
|
3901
3901
|
const F = t.events.length;
|
@@ -3908,25 +3908,25 @@ function fc(e) {
|
|
3908
3908
|
}
|
3909
3909
|
G = !0;
|
3910
3910
|
}
|
3911
|
-
for (
|
3912
|
-
t.events[
|
3911
|
+
for (M(r), b = F; b < t.events.length; )
|
3912
|
+
t.events[b][1].end = Object.assign({}, K), b++;
|
3913
3913
|
Ve(
|
3914
3914
|
t.events,
|
3915
3915
|
q + 1,
|
3916
3916
|
0,
|
3917
3917
|
t.events.slice(F)
|
3918
|
-
), t.events.length =
|
3918
|
+
), t.events.length = b;
|
3919
3919
|
}
|
3920
3920
|
}
|
3921
|
-
function
|
3922
|
-
let
|
3923
|
-
for (;
|
3924
|
-
const
|
3925
|
-
t.containerState =
|
3921
|
+
function M(C) {
|
3922
|
+
let H = n.length;
|
3923
|
+
for (; H-- > C; ) {
|
3924
|
+
const U = n[H];
|
3925
|
+
t.containerState = U[1], U[0].exit.call(t, e);
|
3926
3926
|
}
|
3927
3927
|
n.length = C;
|
3928
3928
|
}
|
3929
|
-
function
|
3929
|
+
function E() {
|
3930
3930
|
i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
3931
3931
|
}
|
3932
3932
|
}
|
@@ -3939,7 +3939,7 @@ function dc(e, t, n) {
|
|
3939
3939
|
);
|
3940
3940
|
}
|
3941
3941
|
function Qi(e) {
|
3942
|
-
if (e === null ||
|
3942
|
+
if (e === null || Ee(e) || sc(e))
|
3943
3943
|
return 1;
|
3944
3944
|
if (lc(e))
|
3945
3945
|
return 2;
|
@@ -4047,10 +4047,10 @@ function yc(e, t, n) {
|
|
4047
4047
|
return qe(d) ? (e.consume(d), a) : u(d);
|
4048
4048
|
}
|
4049
4049
|
function a(d) {
|
4050
|
-
return d === 43 || d === 45 || d === 46 ||
|
4050
|
+
return d === 43 || d === 45 || d === 46 || Oe(d) ? (r = 1, l(d)) : u(d);
|
4051
4051
|
}
|
4052
4052
|
function l(d) {
|
4053
|
-
return d === 58 ? (e.consume(d), r = 0, s) : (d === 43 || d === 45 || d === 46 ||
|
4053
|
+
return d === 58 ? (e.consume(d), r = 0, s) : (d === 43 || d === 45 || d === 46 || Oe(d)) && r++ < 32 ? (e.consume(d), l) : (r = 0, u(d));
|
4054
4054
|
}
|
4055
4055
|
function s(d) {
|
4056
4056
|
return d === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.exit("autolink"), t) : d === null || d === 32 || d === 60 || Mr(d) ? n(d) : (e.consume(d), s);
|
@@ -4059,13 +4059,13 @@ function yc(e, t, n) {
|
|
4059
4059
|
return d === 64 ? (e.consume(d), c) : ic(d) ? (e.consume(d), u) : n(d);
|
4060
4060
|
}
|
4061
4061
|
function c(d) {
|
4062
|
-
return
|
4062
|
+
return Oe(d) ? f(d) : n(d);
|
4063
4063
|
}
|
4064
4064
|
function f(d) {
|
4065
4065
|
return d === 46 ? (e.consume(d), r = 0, c) : d === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.exit("autolink"), t) : m(d);
|
4066
4066
|
}
|
4067
4067
|
function m(d) {
|
4068
|
-
if ((d === 45 ||
|
4068
|
+
if ((d === 45 || Oe(d)) && r++ < 63) {
|
4069
4069
|
const D = d === 45 ? m : f;
|
4070
4070
|
return e.consume(d), D;
|
4071
4071
|
}
|
@@ -4159,7 +4159,7 @@ function Tc(e, t, n) {
|
|
4159
4159
|
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), s;
|
4160
4160
|
}
|
4161
4161
|
function s(f) {
|
4162
|
-
return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, a =
|
4162
|
+
return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, a = Oe, c(f));
|
4163
4163
|
}
|
4164
4164
|
function u(f) {
|
4165
4165
|
return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, a = oc, c) : (e.enter("characterReferenceValue"), o = 7, a = br, c(f));
|
@@ -4167,7 +4167,7 @@ function Tc(e, t, n) {
|
|
4167
4167
|
function c(f) {
|
4168
4168
|
if (f === 59 && i) {
|
4169
4169
|
const m = e.exit("characterReferenceValue");
|
4170
|
-
return a ===
|
4170
|
+
return a === Oe && !Fr(r.sliceSerialize(m)) ? n(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
4171
4171
|
}
|
4172
4172
|
return a(f) && i++ < o ? (e.consume(f), c) : n(f);
|
4173
4173
|
}
|
@@ -4182,82 +4182,82 @@ const $i = {
|
|
4182
4182
|
};
|
4183
4183
|
function Dc(e, t, n) {
|
4184
4184
|
const r = this, i = {
|
4185
|
-
tokenize:
|
4185
|
+
tokenize: U,
|
4186
4186
|
partial: !0
|
4187
4187
|
};
|
4188
4188
|
let o = 0, a = 0, l;
|
4189
4189
|
return s;
|
4190
|
-
function s(
|
4191
|
-
return u(
|
4190
|
+
function s(b) {
|
4191
|
+
return u(b);
|
4192
4192
|
}
|
4193
|
-
function u(
|
4193
|
+
function u(b) {
|
4194
4194
|
const F = r.events[r.events.length - 1];
|
4195
|
-
return o = F && F[1].type === "linePrefix" ? F[2].sliceSerialize(F[1], !0).length : 0, l =
|
4195
|
+
return o = F && F[1].type === "linePrefix" ? F[2].sliceSerialize(F[1], !0).length : 0, l = b, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(b);
|
4196
4196
|
}
|
4197
|
-
function c(
|
4198
|
-
return
|
4197
|
+
function c(b) {
|
4198
|
+
return b === l ? (a++, e.consume(b), c) : a < 3 ? n(b) : (e.exit("codeFencedFenceSequence"), te(b) ? pe(e, f, "whitespace")(b) : f(b));
|
4199
4199
|
}
|
4200
|
-
function f(
|
4201
|
-
return
|
4200
|
+
function f(b) {
|
4201
|
+
return b === null || V(b) ? (e.exit("codeFencedFence"), r.interrupt ? t(b) : e.check($i, x, H)(b)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
4202
4202
|
contentType: "string"
|
4203
|
-
}), m(
|
4203
|
+
}), m(b));
|
4204
4204
|
}
|
4205
|
-
function m(
|
4206
|
-
return
|
4205
|
+
function m(b) {
|
4206
|
+
return b === null || V(b) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(b)) : te(b) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), pe(e, d, "whitespace")(b)) : b === 96 && b === l ? n(b) : (e.consume(b), m);
|
4207
4207
|
}
|
4208
|
-
function d(
|
4209
|
-
return
|
4208
|
+
function d(b) {
|
4209
|
+
return b === null || V(b) ? f(b) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
4210
4210
|
contentType: "string"
|
4211
|
-
}), D(
|
4211
|
+
}), D(b));
|
4212
4212
|
}
|
4213
|
-
function D(
|
4214
|
-
return
|
4213
|
+
function D(b) {
|
4214
|
+
return b === null || V(b) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(b)) : b === 96 && b === l ? n(b) : (e.consume(b), D);
|
4215
4215
|
}
|
4216
|
-
function x(
|
4217
|
-
return e.attempt(i,
|
4216
|
+
function x(b) {
|
4217
|
+
return e.attempt(i, H, A)(b);
|
4218
4218
|
}
|
4219
|
-
function
|
4220
|
-
return e.enter("lineEnding"), e.consume(
|
4219
|
+
function A(b) {
|
4220
|
+
return e.enter("lineEnding"), e.consume(b), e.exit("lineEnding"), M;
|
4221
4221
|
}
|
4222
|
-
function b
|
4223
|
-
return o > 0 && te(
|
4222
|
+
function M(b) {
|
4223
|
+
return o > 0 && te(b) ? pe(
|
4224
4224
|
e,
|
4225
|
-
|
4225
|
+
E,
|
4226
4226
|
"linePrefix",
|
4227
4227
|
o + 1
|
4228
|
-
)(
|
4228
|
+
)(b) : E(b);
|
4229
4229
|
}
|
4230
|
-
function
|
4231
|
-
return
|
4230
|
+
function E(b) {
|
4231
|
+
return b === null || V(b) ? e.check($i, x, H)(b) : (e.enter("codeFlowValue"), C(b));
|
4232
4232
|
}
|
4233
|
-
function C(
|
4234
|
-
return
|
4233
|
+
function C(b) {
|
4234
|
+
return b === null || V(b) ? (e.exit("codeFlowValue"), E(b)) : (e.consume(b), C);
|
4235
4235
|
}
|
4236
|
-
function
|
4237
|
-
return e.exit("codeFenced"), t(
|
4236
|
+
function H(b) {
|
4237
|
+
return e.exit("codeFenced"), t(b);
|
4238
4238
|
}
|
4239
|
-
function
|
4239
|
+
function U(b, F, q) {
|
4240
4240
|
let G = 0;
|
4241
4241
|
return K;
|
4242
4242
|
function K(L) {
|
4243
|
-
return
|
4243
|
+
return b.enter("lineEnding"), b.consume(L), b.exit("lineEnding"), O;
|
4244
4244
|
}
|
4245
4245
|
function O(L) {
|
4246
|
-
return
|
4247
|
-
|
4246
|
+
return b.enter("codeFencedFence"), te(L) ? pe(
|
4247
|
+
b,
|
4248
4248
|
w,
|
4249
4249
|
"linePrefix",
|
4250
4250
|
r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
4251
4251
|
)(L) : w(L);
|
4252
4252
|
}
|
4253
4253
|
function w(L) {
|
4254
|
-
return L === l ? (
|
4254
|
+
return L === l ? (b.enter("codeFencedFenceSequence"), N(L)) : q(L);
|
4255
4255
|
}
|
4256
4256
|
function N(L) {
|
4257
|
-
return L === l ? (G++,
|
4257
|
+
return L === l ? (G++, b.consume(L), N) : G >= a ? (b.exit("codeFencedFenceSequence"), te(L) ? pe(b, z, "whitespace")(L) : z(L)) : q(L);
|
4258
4258
|
}
|
4259
4259
|
function z(L) {
|
4260
|
-
return L === null || V(L) ? (
|
4260
|
+
return L === null || V(L) ? (b.exit("codeFencedFence"), F(L)) : q(L);
|
4261
4261
|
}
|
4262
4262
|
}
|
4263
4263
|
}
|
@@ -4275,7 +4275,7 @@ const nr = {
|
|
4275
4275
|
name: "codeIndented",
|
4276
4276
|
tokenize: kc
|
4277
4277
|
}, Nc = {
|
4278
|
-
tokenize:
|
4278
|
+
tokenize: Ec,
|
4279
4279
|
partial: !0
|
4280
4280
|
};
|
4281
4281
|
function kc(e, t, n) {
|
@@ -4298,7 +4298,7 @@ function kc(e, t, n) {
|
|
4298
4298
|
return e.exit("codeIndented"), t(u);
|
4299
4299
|
}
|
4300
4300
|
}
|
4301
|
-
function
|
4301
|
+
function Ec(e, t, n) {
|
4302
4302
|
const r = this;
|
4303
4303
|
return i;
|
4304
4304
|
function i(a) {
|
@@ -4309,7 +4309,7 @@ function jc(e, t, n) {
|
|
4309
4309
|
return l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(a) : V(a) ? i(a) : n(a);
|
4310
4310
|
}
|
4311
4311
|
}
|
4312
|
-
const
|
4312
|
+
const jc = {
|
4313
4313
|
name: "codeText",
|
4314
4314
|
tokenize: Sc,
|
4315
4315
|
resolve: Cc,
|
@@ -4374,7 +4374,7 @@ function Oc(e, t) {
|
|
4374
4374
|
let i = t - 1;
|
4375
4375
|
const o = [], a = n._tokenizer || r.parser[n.contentType](n.start), l = a.events, s = [], u = {};
|
4376
4376
|
let c, f, m = -1, d = n, D = 0, x = 0;
|
4377
|
-
const
|
4377
|
+
const A = [x];
|
4378
4378
|
for (; d; ) {
|
4379
4379
|
for (; e[++i][1] !== d; )
|
4380
4380
|
;
|
@@ -4382,10 +4382,10 @@ function Oc(e, t) {
|
|
4382
4382
|
}
|
4383
4383
|
for (d = n; ++m < l.length; )
|
4384
4384
|
// Find a void token that includes a break.
|
4385
|
-
l[m][0] === "exit" && l[m - 1][0] === "enter" && l[m][1].type === l[m - 1][1].type && l[m][1].start.line !== l[m][1].end.line && (x = m + 1,
|
4386
|
-
for (a.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) :
|
4387
|
-
const
|
4388
|
-
s.unshift([
|
4385
|
+
l[m][0] === "exit" && l[m - 1][0] === "enter" && l[m][1].type === l[m - 1][1].type && l[m][1].start.line !== l[m][1].end.line && (x = m + 1, A.push(x), d._tokenizer = void 0, d.previous = void 0, d = d.next);
|
4386
|
+
for (a.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) : A.pop(), m = A.length; m--; ) {
|
4387
|
+
const M = l.slice(A[m], A[m + 1]), E = o.pop();
|
4388
|
+
s.unshift([E, E + M.length - 1]), Ve(e, E, 2, M);
|
4389
4389
|
}
|
4390
4390
|
for (m = -1; ++m < s.length; )
|
4391
4391
|
u[D + s[m][0]] = D + s[m][1], D += s[m][1] - s[m][0] - 1;
|
@@ -4443,27 +4443,27 @@ function aa(e, t, n, r, i, o, a, l, s) {
|
|
4443
4443
|
const u = s || Number.POSITIVE_INFINITY;
|
4444
4444
|
let c = 0;
|
4445
4445
|
return f;
|
4446
|
-
function f(
|
4447
|
-
return
|
4446
|
+
function f(M) {
|
4447
|
+
return M === 60 ? (e.enter(r), e.enter(i), e.enter(o), e.consume(M), e.exit(o), m) : M === null || M === 32 || M === 41 || Mr(M) ? n(M) : (e.enter(r), e.enter(a), e.enter(l), e.enter("chunkString", {
|
4448
4448
|
contentType: "string"
|
4449
|
-
}), x(
|
4449
|
+
}), x(M));
|
4450
4450
|
}
|
4451
|
-
function m(
|
4452
|
-
return
|
4451
|
+
function m(M) {
|
4452
|
+
return M === 62 ? (e.enter(o), e.consume(M), e.exit(o), e.exit(i), e.exit(r), t) : (e.enter(l), e.enter("chunkString", {
|
4453
4453
|
contentType: "string"
|
4454
|
-
}), d(
|
4454
|
+
}), d(M));
|
4455
4455
|
}
|
4456
|
-
function d(
|
4457
|
-
return
|
4456
|
+
function d(M) {
|
4457
|
+
return M === 62 ? (e.exit("chunkString"), e.exit(l), m(M)) : M === null || M === 60 || V(M) ? n(M) : (e.consume(M), M === 92 ? D : d);
|
4458
4458
|
}
|
4459
|
-
function D(
|
4460
|
-
return
|
4459
|
+
function D(M) {
|
4460
|
+
return M === 60 || M === 62 || M === 92 ? (e.consume(M), d) : d(M);
|
4461
4461
|
}
|
4462
|
-
function x(
|
4463
|
-
return !c && (
|
4462
|
+
function x(M) {
|
4463
|
+
return !c && (M === null || M === 41 || Ee(M)) ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(r), t(M)) : c < u && M === 40 ? (e.consume(M), c++, x) : M === 41 ? (e.consume(M), c--, x) : M === null || M === 32 || M === 40 || Mr(M) ? n(M) : (e.consume(M), M === 92 ? A : x);
|
4464
4464
|
}
|
4465
|
-
function
|
4466
|
-
return
|
4465
|
+
function A(M) {
|
4466
|
+
return M === 40 || M === 41 || M === 92 ? (e.consume(M), x) : x(M);
|
4467
4467
|
}
|
4468
4468
|
}
|
4469
4469
|
function la(e, t, n, r, i, o) {
|
@@ -4511,7 +4511,7 @@ function sa(e, t, n, r, i, o) {
|
|
4511
4511
|
return m === a || m === 92 ? (e.consume(m), c) : c(m);
|
4512
4512
|
}
|
4513
4513
|
}
|
4514
|
-
function
|
4514
|
+
function Yt(e, t) {
|
4515
4515
|
let n;
|
4516
4516
|
return r;
|
4517
4517
|
function r(i) {
|
@@ -4557,7 +4557,7 @@ function Bc(e, t, n) {
|
|
4557
4557
|
), d === 58 ? (e.enter("definitionMarker"), e.consume(d), e.exit("definitionMarker"), s) : n(d);
|
4558
4558
|
}
|
4559
4559
|
function s(d) {
|
4560
|
-
return
|
4560
|
+
return Ee(d) ? Yt(e, u)(d) : u(d);
|
4561
4561
|
}
|
4562
4562
|
function u(d) {
|
4563
4563
|
return aa(
|
@@ -4585,7 +4585,7 @@ function Bc(e, t, n) {
|
|
4585
4585
|
function Qc(e, t, n) {
|
4586
4586
|
return r;
|
4587
4587
|
function r(l) {
|
4588
|
-
return
|
4588
|
+
return Ee(l) ? Yt(e, i)(l) : n(l);
|
4589
4589
|
}
|
4590
4590
|
function i(l) {
|
4591
4591
|
return sa(
|
@@ -4650,7 +4650,7 @@ function Vc(e, t, n) {
|
|
4650
4650
|
return e.enter("atxHeadingSequence"), a(c);
|
4651
4651
|
}
|
4652
4652
|
function a(c) {
|
4653
|
-
return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null ||
|
4653
|
+
return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || Ee(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c);
|
4654
4654
|
}
|
4655
4655
|
function l(c) {
|
4656
4656
|
return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || V(c) ? (e.exit("atxHeading"), t(c)) : te(c) ? pe(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
|
@@ -4659,7 +4659,7 @@ function Vc(e, t, n) {
|
|
4659
4659
|
return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c));
|
4660
4660
|
}
|
4661
4661
|
function u(c) {
|
4662
|
-
return c === null || c === 35 ||
|
4662
|
+
return c === null || c === 35 || Ee(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u);
|
4663
4663
|
}
|
4664
4664
|
}
|
4665
4665
|
const Wc = [
|
@@ -4754,7 +4754,7 @@ function Jc(e, t, n) {
|
|
4754
4754
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(h), f;
|
4755
4755
|
}
|
4756
4756
|
function f(h) {
|
4757
|
-
return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, x) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : g) : qe(h) ? (e.consume(h), a = String.fromCharCode(h),
|
4757
|
+
return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, x) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : g) : qe(h) ? (e.consume(h), a = String.fromCharCode(h), A) : n(h);
|
4758
4758
|
}
|
4759
4759
|
function m(h) {
|
4760
4760
|
return h === 45 ? (e.consume(h), i = 2, d) : h === 91 ? (e.consume(h), i = 5, l = 0, D) : qe(h) ? (e.consume(h), i = 4, r.interrupt ? t : g) : n(h);
|
@@ -4767,38 +4767,38 @@ function Jc(e, t, n) {
|
|
4767
4767
|
return h === ge.charCodeAt(l++) ? (e.consume(h), l === ge.length ? r.interrupt ? t : w : D) : n(h);
|
4768
4768
|
}
|
4769
4769
|
function x(h) {
|
4770
|
-
return qe(h) ? (e.consume(h), a = String.fromCharCode(h),
|
4770
|
+
return qe(h) ? (e.consume(h), a = String.fromCharCode(h), A) : n(h);
|
4771
4771
|
}
|
4772
|
-
function
|
4773
|
-
if (h === null || h === 47 || h === 62 ||
|
4772
|
+
function A(h) {
|
4773
|
+
if (h === null || h === 47 || h === 62 || Ee(h)) {
|
4774
4774
|
const ge = h === 47, Te = a.toLowerCase();
|
4775
|
-
return !ge && !o && Vi.includes(Te) ? (i = 1, r.interrupt ? t(h) : w(h)) : Wc.includes(a.toLowerCase()) ? (i = 6, ge ? (e.consume(h),
|
4775
|
+
return !ge && !o && Vi.includes(Te) ? (i = 1, r.interrupt ? t(h) : w(h)) : Wc.includes(a.toLowerCase()) ? (i = 6, ge ? (e.consume(h), M) : r.interrupt ? t(h) : w(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? E(h) : C(h));
|
4776
4776
|
}
|
4777
|
-
return h === 45 ||
|
4777
|
+
return h === 45 || Oe(h) ? (e.consume(h), a += String.fromCharCode(h), A) : n(h);
|
4778
4778
|
}
|
4779
|
-
function
|
4779
|
+
function M(h) {
|
4780
4780
|
return h === 62 ? (e.consume(h), r.interrupt ? t : w) : n(h);
|
4781
4781
|
}
|
4782
|
-
function
|
4783
|
-
return te(h) ? (e.consume(h),
|
4782
|
+
function E(h) {
|
4783
|
+
return te(h) ? (e.consume(h), E) : K(h);
|
4784
4784
|
}
|
4785
4785
|
function C(h) {
|
4786
|
-
return h === 47 ? (e.consume(h), K) : h === 58 || h === 95 || qe(h) ? (e.consume(h),
|
4786
|
+
return h === 47 ? (e.consume(h), K) : h === 58 || h === 95 || qe(h) ? (e.consume(h), H) : te(h) ? (e.consume(h), C) : K(h);
|
4787
4787
|
}
|
4788
|
-
function
|
4789
|
-
return h === 45 || h === 46 || h === 58 || h === 95 ||
|
4788
|
+
function H(h) {
|
4789
|
+
return h === 45 || h === 46 || h === 58 || h === 95 || Oe(h) ? (e.consume(h), H) : U(h);
|
4790
4790
|
}
|
4791
|
-
function
|
4792
|
-
return h === 61 ? (e.consume(h),
|
4791
|
+
function U(h) {
|
4792
|
+
return h === 61 ? (e.consume(h), b) : te(h) ? (e.consume(h), U) : C(h);
|
4793
4793
|
}
|
4794
|
-
function
|
4795
|
-
return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), s = h, F) : te(h) ? (e.consume(h),
|
4794
|
+
function b(h) {
|
4795
|
+
return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), s = h, F) : te(h) ? (e.consume(h), b) : q(h);
|
4796
4796
|
}
|
4797
4797
|
function F(h) {
|
4798
4798
|
return h === s ? (e.consume(h), s = null, G) : h === null || V(h) ? n(h) : (e.consume(h), F);
|
4799
4799
|
}
|
4800
4800
|
function q(h) {
|
4801
|
-
return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 ||
|
4801
|
+
return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || Ee(h) ? U(h) : (e.consume(h), q);
|
4802
4802
|
}
|
4803
4803
|
function G(h) {
|
4804
4804
|
return h === 47 || h === 62 || te(h) ? C(h) : n(h);
|
@@ -4810,7 +4810,7 @@ function Jc(e, t, n) {
|
|
4810
4810
|
return h === null || V(h) ? w(h) : te(h) ? (e.consume(h), O) : n(h);
|
4811
4811
|
}
|
4812
4812
|
function w(h) {
|
4813
|
-
return h === 45 && i === 2 ? (e.consume(h),
|
4813
|
+
return h === 45 && i === 2 ? (e.consume(h), B) : h === 60 && i === 1 ? (e.consume(h), _) : h === 62 && i === 4 ? (e.consume(h), se) : h === 63 && i === 3 ? (e.consume(h), g) : h === 93 && i === 5 ? (e.consume(h), re) : V(h) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
|
4814
4814
|
Zc,
|
4815
4815
|
ye,
|
4816
4816
|
N
|
@@ -4829,7 +4829,7 @@ function Jc(e, t, n) {
|
|
4829
4829
|
function L(h) {
|
4830
4830
|
return h === null || V(h) ? N(h) : (e.enter("htmlFlowData"), w(h));
|
4831
4831
|
}
|
4832
|
-
function
|
4832
|
+
function B(h) {
|
4833
4833
|
return h === 45 ? (e.consume(h), g) : w(h);
|
4834
4834
|
}
|
4835
4835
|
function _(h) {
|
@@ -4883,10 +4883,10 @@ function rp(e, t, n) {
|
|
4883
4883
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(g), s;
|
4884
4884
|
}
|
4885
4885
|
function s(g) {
|
4886
|
-
return g === 33 ? (e.consume(g), u) : g === 47 ? (e.consume(g),
|
4886
|
+
return g === 33 ? (e.consume(g), u) : g === 47 ? (e.consume(g), U) : g === 63 ? (e.consume(g), C) : qe(g) ? (e.consume(g), q) : n(g);
|
4887
4887
|
}
|
4888
4888
|
function u(g) {
|
4889
|
-
return g === 45 ? (e.consume(g), c) : g === 91 ? (e.consume(g), o = 0, D) : qe(g) ? (e.consume(g),
|
4889
|
+
return g === 45 ? (e.consume(g), c) : g === 91 ? (e.consume(g), o = 0, D) : qe(g) ? (e.consume(g), E) : n(g);
|
4890
4890
|
}
|
4891
4891
|
function c(g) {
|
4892
4892
|
return g === 45 ? (e.consume(g), d) : n(g);
|
@@ -4898,47 +4898,47 @@ function rp(e, t, n) {
|
|
4898
4898
|
return g === 45 ? (e.consume(g), d) : f(g);
|
4899
4899
|
}
|
4900
4900
|
function d(g) {
|
4901
|
-
return g === 62 ?
|
4901
|
+
return g === 62 ? B(g) : g === 45 ? m(g) : f(g);
|
4902
4902
|
}
|
4903
4903
|
function D(g) {
|
4904
4904
|
const se = "CDATA[";
|
4905
4905
|
return g === se.charCodeAt(o++) ? (e.consume(g), o === se.length ? x : D) : n(g);
|
4906
4906
|
}
|
4907
4907
|
function x(g) {
|
4908
|
-
return g === null ? n(g) : g === 93 ? (e.consume(g),
|
4908
|
+
return g === null ? n(g) : g === 93 ? (e.consume(g), A) : V(g) ? (a = x, _(g)) : (e.consume(g), x);
|
4909
4909
|
}
|
4910
|
-
function
|
4911
|
-
return g === 93 ? (e.consume(g),
|
4910
|
+
function A(g) {
|
4911
|
+
return g === 93 ? (e.consume(g), M) : x(g);
|
4912
4912
|
}
|
4913
|
-
function
|
4914
|
-
return g === 62 ?
|
4913
|
+
function M(g) {
|
4914
|
+
return g === 62 ? B(g) : g === 93 ? (e.consume(g), M) : x(g);
|
4915
4915
|
}
|
4916
|
-
function
|
4917
|
-
return g === null || g === 62 ?
|
4916
|
+
function E(g) {
|
4917
|
+
return g === null || g === 62 ? B(g) : V(g) ? (a = E, _(g)) : (e.consume(g), E);
|
4918
4918
|
}
|
4919
4919
|
function C(g) {
|
4920
|
-
return g === null ? n(g) : g === 63 ? (e.consume(g),
|
4920
|
+
return g === null ? n(g) : g === 63 ? (e.consume(g), H) : V(g) ? (a = C, _(g)) : (e.consume(g), C);
|
4921
4921
|
}
|
4922
|
-
function
|
4923
|
-
return g === 62 ?
|
4922
|
+
function H(g) {
|
4923
|
+
return g === 62 ? B(g) : C(g);
|
4924
4924
|
}
|
4925
|
-
function
|
4926
|
-
return qe(g) ? (e.consume(g),
|
4925
|
+
function U(g) {
|
4926
|
+
return qe(g) ? (e.consume(g), b) : n(g);
|
4927
4927
|
}
|
4928
|
-
function
|
4929
|
-
return g === 45 ||
|
4928
|
+
function b(g) {
|
4929
|
+
return g === 45 || Oe(g) ? (e.consume(g), b) : F(g);
|
4930
4930
|
}
|
4931
4931
|
function F(g) {
|
4932
|
-
return V(g) ? (a = F, _(g)) : te(g) ? (e.consume(g), F) :
|
4932
|
+
return V(g) ? (a = F, _(g)) : te(g) ? (e.consume(g), F) : B(g);
|
4933
4933
|
}
|
4934
4934
|
function q(g) {
|
4935
|
-
return g === 45 ||
|
4935
|
+
return g === 45 || Oe(g) ? (e.consume(g), q) : g === 47 || g === 62 || Ee(g) ? G(g) : n(g);
|
4936
4936
|
}
|
4937
4937
|
function G(g) {
|
4938
|
-
return g === 47 ? (e.consume(g),
|
4938
|
+
return g === 47 ? (e.consume(g), B) : g === 58 || g === 95 || qe(g) ? (e.consume(g), K) : V(g) ? (a = G, _(g)) : te(g) ? (e.consume(g), G) : B(g);
|
4939
4939
|
}
|
4940
4940
|
function K(g) {
|
4941
|
-
return g === 45 || g === 46 || g === 58 || g === 95 ||
|
4941
|
+
return g === 45 || g === 46 || g === 58 || g === 95 || Oe(g) ? (e.consume(g), K) : O(g);
|
4942
4942
|
}
|
4943
4943
|
function O(g) {
|
4944
4944
|
return g === 61 ? (e.consume(g), w) : V(g) ? (a = O, _(g)) : te(g) ? (e.consume(g), O) : G(g);
|
@@ -4950,12 +4950,12 @@ function rp(e, t, n) {
|
|
4950
4950
|
return g === i ? (e.consume(g), i = void 0, L) : g === null ? n(g) : V(g) ? (a = N, _(g)) : (e.consume(g), N);
|
4951
4951
|
}
|
4952
4952
|
function z(g) {
|
4953
|
-
return g === null || g === 34 || g === 39 || g === 60 || g === 61 || g === 96 ? n(g) : g === 47 || g === 62 ||
|
4953
|
+
return g === null || g === 34 || g === 39 || g === 60 || g === 61 || g === 96 ? n(g) : g === 47 || g === 62 || Ee(g) ? G(g) : (e.consume(g), z);
|
4954
4954
|
}
|
4955
4955
|
function L(g) {
|
4956
|
-
return g === 47 || g === 62 ||
|
4956
|
+
return g === 47 || g === 62 || Ee(g) ? G(g) : n(g);
|
4957
4957
|
}
|
4958
|
-
function
|
4958
|
+
function B(g) {
|
4959
4959
|
return g === 62 ? (e.consume(g), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(g);
|
4960
4960
|
}
|
4961
4961
|
function _(g) {
|
@@ -5087,7 +5087,7 @@ function cp(e, t, n) {
|
|
5087
5087
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), i;
|
5088
5088
|
}
|
5089
5089
|
function i(f) {
|
5090
|
-
return
|
5090
|
+
return Ee(f) ? Yt(e, o)(f) : o(f);
|
5091
5091
|
}
|
5092
5092
|
function o(f) {
|
5093
5093
|
return f === 41 ? c(f) : aa(
|
@@ -5103,7 +5103,7 @@ function cp(e, t, n) {
|
|
5103
5103
|
)(f);
|
5104
5104
|
}
|
5105
5105
|
function a(f) {
|
5106
|
-
return
|
5106
|
+
return Ee(f) ? Yt(e, s)(f) : c(f);
|
5107
5107
|
}
|
5108
5108
|
function l(f) {
|
5109
5109
|
return n(f);
|
@@ -5119,7 +5119,7 @@ function cp(e, t, n) {
|
|
5119
5119
|
)(f) : c(f);
|
5120
5120
|
}
|
5121
5121
|
function u(f) {
|
5122
|
-
return
|
5122
|
+
return Ee(f) ? Yt(e, c)(f) : c(f);
|
5123
5123
|
}
|
5124
5124
|
function c(f) {
|
5125
5125
|
return f === 41 ? (e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), e.exit("resource"), t) : n(f);
|
@@ -5222,7 +5222,7 @@ function Mp(e, t, n) {
|
|
5222
5222
|
return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), te(u) ? pe(e, l, "whitespace")(u) : l(u));
|
5223
5223
|
}
|
5224
5224
|
}
|
5225
|
-
const
|
5225
|
+
const ke = {
|
5226
5226
|
name: "list",
|
5227
5227
|
tokenize: wp,
|
5228
5228
|
continuation: {
|
@@ -5294,7 +5294,7 @@ function vp(e, t, n) {
|
|
5294
5294
|
function a(l) {
|
5295
5295
|
return r.containerState._closeFlow = !0, r.interrupt = void 0, pe(
|
5296
5296
|
e,
|
5297
|
-
e.attempt(
|
5297
|
+
e.attempt(ke, t, n),
|
5298
5298
|
"linePrefix",
|
5299
5299
|
r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
5300
5300
|
)(l);
|
@@ -5375,10 +5375,10 @@ function kp(e, t, n) {
|
|
5375
5375
|
return u === null || V(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u);
|
5376
5376
|
}
|
5377
5377
|
}
|
5378
|
-
const
|
5379
|
-
tokenize:
|
5378
|
+
const Ep = {
|
5379
|
+
tokenize: jp
|
5380
5380
|
};
|
5381
|
-
function
|
5381
|
+
function jp(e) {
|
5382
5382
|
const t = this, n = e.attempt(
|
5383
5383
|
// Try to parse a blank line.
|
5384
5384
|
Tn,
|
@@ -5523,12 +5523,12 @@ function zp(e, t, n) {
|
|
5523
5523
|
const i = {}, o = [];
|
5524
5524
|
let a = [], l = [];
|
5525
5525
|
const s = {
|
5526
|
-
consume:
|
5526
|
+
consume: E,
|
5527
5527
|
enter: C,
|
5528
|
-
exit:
|
5529
|
-
attempt: F(
|
5530
|
-
check: F(
|
5531
|
-
interrupt: F(
|
5528
|
+
exit: H,
|
5529
|
+
attempt: F(U),
|
5530
|
+
check: F(b),
|
5531
|
+
interrupt: F(b, {
|
5532
5532
|
interrupt: !0
|
5533
5533
|
})
|
5534
5534
|
}, u = {
|
@@ -5546,7 +5546,7 @@ function zp(e, t, n) {
|
|
5546
5546
|
let c = t.tokenize.call(u, s);
|
5547
5547
|
return t.resolveAll && o.push(t), u;
|
5548
5548
|
function f(O) {
|
5549
|
-
return a = Pe(a, O),
|
5549
|
+
return a = Pe(a, O), A(), a[a.length - 1] !== null ? [] : (q(t, 0), u.events = Lr(o, u.events, u), u.events);
|
5550
5550
|
}
|
5551
5551
|
function m(O, w) {
|
5552
5552
|
return Fp(d(O), w);
|
@@ -5567,40 +5567,40 @@ function zp(e, t, n) {
|
|
5567
5567
|
function x(O) {
|
5568
5568
|
i[O.line] = O.column, K();
|
5569
5569
|
}
|
5570
|
-
function
|
5570
|
+
function A() {
|
5571
5571
|
let O;
|
5572
5572
|
for (; r._index < a.length; ) {
|
5573
5573
|
const w = a[r._index];
|
5574
5574
|
if (typeof w == "string")
|
5575
5575
|
for (O = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === O && r._bufferIndex < w.length; )
|
5576
|
-
|
5576
|
+
M(w.charCodeAt(r._bufferIndex));
|
5577
5577
|
else
|
5578
|
-
|
5578
|
+
M(w);
|
5579
5579
|
}
|
5580
5580
|
}
|
5581
|
-
function
|
5581
|
+
function M(O) {
|
5582
5582
|
c = c(O);
|
5583
5583
|
}
|
5584
|
-
function
|
5584
|
+
function E(O) {
|
5585
5585
|
V(O) ? (r.line++, r.column = 1, r.offset += O === -3 ? 2 : 1, K()) : O !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = O;
|
5586
5586
|
}
|
5587
5587
|
function C(O, w) {
|
5588
5588
|
const N = w || {};
|
5589
5589
|
return N.type = O, N.start = D(), u.events.push(["enter", N, u]), l.push(N), N;
|
5590
5590
|
}
|
5591
|
-
function
|
5591
|
+
function H(O) {
|
5592
5592
|
const w = l.pop();
|
5593
5593
|
return w.end = D(), u.events.push(["exit", w, u]), w;
|
5594
5594
|
}
|
5595
|
-
function
|
5595
|
+
function U(O, w) {
|
5596
5596
|
q(O, w.from);
|
5597
5597
|
}
|
5598
|
-
function
|
5598
|
+
function b(O, w) {
|
5599
5599
|
w.restore();
|
5600
5600
|
}
|
5601
5601
|
function F(O, w) {
|
5602
5602
|
return N;
|
5603
|
-
function N(z, L,
|
5603
|
+
function N(z, L, B) {
|
5604
5604
|
let _, W, re, g;
|
5605
5605
|
return Array.isArray(z) ? ye(z) : "tokenize" in z ? (
|
5606
5606
|
// @ts-expect-error Looks like a construct.
|
@@ -5619,7 +5619,7 @@ function zp(e, t, n) {
|
|
5619
5619
|
}
|
5620
5620
|
}
|
5621
5621
|
function ye(ie) {
|
5622
|
-
return _ = ie, W = 0, ie.length === 0 ?
|
5622
|
+
return _ = ie, W = 0, ie.length === 0 ? B : h(ie[W]);
|
5623
5623
|
}
|
5624
5624
|
function h(ie) {
|
5625
5625
|
return De;
|
@@ -5639,7 +5639,7 @@ function zp(e, t, n) {
|
|
5639
5639
|
return O(re, g), L;
|
5640
5640
|
}
|
5641
5641
|
function Te(ie) {
|
5642
|
-
return g.restore(), ++W < _.length ? h(_[W]) :
|
5642
|
+
return g.restore(), ++W < _.length ? h(_[W]) : B;
|
5643
5643
|
}
|
5644
5644
|
}
|
5645
5645
|
}
|
@@ -5654,10 +5654,10 @@ function zp(e, t, n) {
|
|
5654
5654
|
function G() {
|
5655
5655
|
const O = D(), w = u.previous, N = u.currentConstruct, z = u.events.length, L = Array.from(l);
|
5656
5656
|
return {
|
5657
|
-
restore:
|
5657
|
+
restore: B,
|
5658
5658
|
from: z
|
5659
5659
|
};
|
5660
|
-
function
|
5660
|
+
function B() {
|
5661
5661
|
r = O, u.previous = w, u.currentConstruct = N, u.events.length = z, l = L, K();
|
5662
5662
|
}
|
5663
5663
|
}
|
@@ -5722,19 +5722,19 @@ function Fp(e, t) {
|
|
5722
5722
|
return r.join("");
|
5723
5723
|
}
|
5724
5724
|
const Pp = {
|
5725
|
-
42:
|
5726
|
-
43:
|
5727
|
-
45:
|
5728
|
-
48:
|
5729
|
-
49:
|
5730
|
-
50:
|
5731
|
-
51:
|
5732
|
-
52:
|
5733
|
-
53:
|
5734
|
-
54:
|
5735
|
-
55:
|
5736
|
-
56:
|
5737
|
-
57:
|
5725
|
+
42: ke,
|
5726
|
+
43: ke,
|
5727
|
+
45: ke,
|
5728
|
+
48: ke,
|
5729
|
+
49: ke,
|
5730
|
+
50: ke,
|
5731
|
+
51: ke,
|
5732
|
+
52: ke,
|
5733
|
+
53: ke,
|
5734
|
+
54: ke,
|
5735
|
+
55: ke,
|
5736
|
+
56: ke,
|
5737
|
+
57: ke,
|
5738
5738
|
62: na
|
5739
5739
|
}, _p = {
|
5740
5740
|
91: Rc
|
@@ -5766,7 +5766,7 @@ const Pp = {
|
|
5766
5766
|
92: [Yc, ra],
|
5767
5767
|
93: Pr,
|
5768
5768
|
95: xr,
|
5769
|
-
96:
|
5769
|
+
96: jc
|
5770
5770
|
}, Yp = {
|
5771
5771
|
null: [xr, Cp]
|
5772
5772
|
}, Hp = {
|
@@ -5795,7 +5795,7 @@ function Vp(e) {
|
|
5795
5795
|
constructs: n,
|
5796
5796
|
content: i(uc),
|
5797
5797
|
document: i(pc),
|
5798
|
-
flow: i(
|
5798
|
+
flow: i(Ep),
|
5799
5799
|
string: i(Ap),
|
5800
5800
|
text: i(Sp)
|
5801
5801
|
};
|
@@ -5910,11 +5910,11 @@ function ef(e) {
|
|
5910
5910
|
codeFencedFenceInfo: s,
|
5911
5911
|
codeFencedFenceMeta: s,
|
5912
5912
|
codeIndented: l(it, s),
|
5913
|
-
codeText: l(
|
5913
|
+
codeText: l(kt, s),
|
5914
5914
|
codeTextData: O,
|
5915
5915
|
data: O,
|
5916
5916
|
codeFlowValue: O,
|
5917
|
-
definition: l(
|
5917
|
+
definition: l(Et),
|
5918
5918
|
definitionDestinationString: s,
|
5919
5919
|
definitionLabelString: s,
|
5920
5920
|
definitionTitleString: s,
|
@@ -5952,25 +5952,25 @@ function ef(e) {
|
|
5952
5952
|
characterReferenceMarkerHexadecimal: De,
|
5953
5953
|
characterReferenceMarkerNumeric: De,
|
5954
5954
|
characterReferenceValue: xe,
|
5955
|
-
codeFenced: c(
|
5956
|
-
codeFencedFence:
|
5955
|
+
codeFenced: c(E),
|
5956
|
+
codeFencedFence: M,
|
5957
5957
|
codeFencedFenceInfo: x,
|
5958
|
-
codeFencedFenceMeta:
|
5958
|
+
codeFencedFenceMeta: A,
|
5959
5959
|
codeFlowValue: w,
|
5960
5960
|
codeIndented: c(C),
|
5961
5961
|
codeText: c(_),
|
5962
5962
|
codeTextData: w,
|
5963
5963
|
data: w,
|
5964
5964
|
definition: c(),
|
5965
|
-
definitionDestinationString:
|
5966
|
-
definitionLabelString:
|
5967
|
-
definitionTitleString:
|
5965
|
+
definitionDestinationString: b,
|
5966
|
+
definitionLabelString: H,
|
5967
|
+
definitionTitleString: U,
|
5968
5968
|
emphasis: c(),
|
5969
5969
|
hardBreakEscape: c(z),
|
5970
5970
|
hardBreakTrailing: c(z),
|
5971
5971
|
htmlFlow: c(L),
|
5972
5972
|
htmlFlowData: w,
|
5973
|
-
htmlText: c(
|
5973
|
+
htmlText: c(B),
|
5974
5974
|
htmlTextData: w,
|
5975
5975
|
image: c(re),
|
5976
5976
|
label: se,
|
@@ -5996,12 +5996,12 @@ function ef(e) {
|
|
5996
5996
|
const n = {};
|
5997
5997
|
return r;
|
5998
5998
|
function r(I) {
|
5999
|
-
let
|
5999
|
+
let j = {
|
6000
6000
|
type: "root",
|
6001
6001
|
children: []
|
6002
6002
|
};
|
6003
|
-
const
|
6004
|
-
stack: [
|
6003
|
+
const $ = {
|
6004
|
+
stack: [j],
|
6005
6005
|
tokenStack: [],
|
6006
6006
|
config: t,
|
6007
6007
|
enter: u,
|
@@ -6017,26 +6017,26 @@ function ef(e) {
|
|
6017
6017
|
if (I[ne][0] === "enter")
|
6018
6018
|
ee.push(ne);
|
6019
6019
|
else {
|
6020
|
-
const
|
6021
|
-
ne = i(I,
|
6020
|
+
const Ne = ee.pop();
|
6021
|
+
ne = i(I, Ne, ne);
|
6022
6022
|
}
|
6023
6023
|
for (ne = -1; ++ne < I.length; ) {
|
6024
|
-
const
|
6025
|
-
fa.call(
|
6024
|
+
const Ne = t[I[ne][0]];
|
6025
|
+
fa.call(Ne, I[ne][1].type) && Ne[I[ne][1].type].call(
|
6026
6026
|
Object.assign(
|
6027
6027
|
{
|
6028
6028
|
sliceSerialize: I[ne][2].sliceSerialize
|
6029
6029
|
},
|
6030
|
-
|
6030
|
+
$
|
6031
6031
|
),
|
6032
6032
|
I[ne][1]
|
6033
6033
|
);
|
6034
6034
|
}
|
6035
|
-
if (
|
6036
|
-
const
|
6037
|
-
(
|
6035
|
+
if ($.tokenStack.length > 0) {
|
6036
|
+
const Ne = $.tokenStack[$.tokenStack.length - 1];
|
6037
|
+
(Ne[1] || Zi).call($, void 0, Ne[0]);
|
6038
6038
|
}
|
6039
|
-
for (
|
6039
|
+
for (j.position = {
|
6040
6040
|
start: Je(
|
6041
6041
|
I.length > 0 ? I[0][1].start : {
|
6042
6042
|
line: 1,
|
@@ -6052,29 +6052,29 @@ function ef(e) {
|
|
6052
6052
|
}
|
6053
6053
|
)
|
6054
6054
|
}, ne = -1; ++ne < t.transforms.length; )
|
6055
|
-
|
6056
|
-
return
|
6055
|
+
j = t.transforms[ne](j) || j;
|
6056
|
+
return j;
|
6057
6057
|
}
|
6058
|
-
function i(I,
|
6059
|
-
let ee =
|
6060
|
-
for (; ++ee <=
|
6058
|
+
function i(I, j, $) {
|
6059
|
+
let ee = j - 1, ne = -1, Ne = !1, Qe, Ye, st, Ce;
|
6060
|
+
for (; ++ee <= $; ) {
|
6061
6061
|
const ue = I[ee];
|
6062
|
-
if (ue[1].type === "listUnordered" || ue[1].type === "listOrdered" || ue[1].type === "blockQuote" ? (ue[0] === "enter" ? ne++ : ne--,
|
6062
|
+
if (ue[1].type === "listUnordered" || ue[1].type === "listOrdered" || ue[1].type === "blockQuote" ? (ue[0] === "enter" ? ne++ : ne--, Ce = void 0) : ue[1].type === "lineEndingBlank" ? ue[0] === "enter" && (Qe && !Ce && !ne && !st && (st = ee), Ce = void 0) : ue[1].type === "linePrefix" || ue[1].type === "listItemValue" || ue[1].type === "listItemMarker" || ue[1].type === "listItemPrefix" || ue[1].type === "listItemPrefixWhitespace" || (Ce = void 0), !ne && ue[0] === "enter" && ue[1].type === "listItemPrefix" || ne === -1 && ue[0] === "exit" && (ue[1].type === "listUnordered" || ue[1].type === "listOrdered")) {
|
6063
6063
|
if (Qe) {
|
6064
|
-
let
|
6065
|
-
for (Ye = void 0;
|
6066
|
-
const Le = I[
|
6064
|
+
let Ct = ee;
|
6065
|
+
for (Ye = void 0; Ct--; ) {
|
6066
|
+
const Le = I[Ct];
|
6067
6067
|
if (Le[1].type === "lineEnding" || Le[1].type === "lineEndingBlank") {
|
6068
6068
|
if (Le[0] === "exit")
|
6069
6069
|
continue;
|
6070
|
-
Ye && (I[Ye][1].type = "lineEndingBlank",
|
6070
|
+
Ye && (I[Ye][1].type = "lineEndingBlank", Ne = !0), Le[1].type = "lineEnding", Ye = Ct;
|
6071
6071
|
} else if (!(Le[1].type === "linePrefix" || Le[1].type === "blockQuotePrefix" || Le[1].type === "blockQuotePrefixWhitespace" || Le[1].type === "blockQuoteMarker" || Le[1].type === "listItemIndent"))
|
6072
6072
|
break;
|
6073
6073
|
}
|
6074
6074
|
st && (!Ye || st < Ye) && (Qe._spread = !0), Qe.end = Object.assign(
|
6075
6075
|
{},
|
6076
6076
|
Ye ? I[Ye][1].start : ue[1].end
|
6077
|
-
), I.splice(Ye || ee, 0, ["exit", Qe, ue[2]]), ee++,
|
6077
|
+
), I.splice(Ye || ee, 0, ["exit", Qe, ue[2]]), ee++, $++;
|
6078
6078
|
}
|
6079
6079
|
ue[1].type === "listItemPrefix" && (Qe = {
|
6080
6080
|
type: "listItem",
|
@@ -6082,21 +6082,21 @@ function ef(e) {
|
|
6082
6082
|
start: Object.assign({}, ue[1].start),
|
6083
6083
|
// @ts-expect-error: we’ll add `end` in a second.
|
6084
6084
|
end: void 0
|
6085
|
-
}, I.splice(ee, 0, ["enter", Qe, ue[2]]), ee++,
|
6085
|
+
}, I.splice(ee, 0, ["enter", Qe, ue[2]]), ee++, $++, st = void 0, Ce = !0);
|
6086
6086
|
}
|
6087
6087
|
}
|
6088
|
-
return I[
|
6088
|
+
return I[j][1]._spread = Ne, $;
|
6089
6089
|
}
|
6090
|
-
function o(I,
|
6091
|
-
n[I] =
|
6090
|
+
function o(I, j) {
|
6091
|
+
n[I] = j;
|
6092
6092
|
}
|
6093
6093
|
function a(I) {
|
6094
6094
|
return n[I];
|
6095
6095
|
}
|
6096
|
-
function l(I,
|
6097
|
-
return
|
6098
|
-
function
|
6099
|
-
u.call(this, I(ee), ee),
|
6096
|
+
function l(I, j) {
|
6097
|
+
return $;
|
6098
|
+
function $(ee) {
|
6099
|
+
u.call(this, I(ee), ee), j && j.call(this, ee);
|
6100
6100
|
}
|
6101
6101
|
}
|
6102
6102
|
function s() {
|
@@ -6105,29 +6105,29 @@ function ef(e) {
|
|
6105
6105
|
children: []
|
6106
6106
|
});
|
6107
6107
|
}
|
6108
|
-
function u(I,
|
6109
|
-
return this.stack[this.stack.length - 1].children.push(I), this.stack.push(I), this.tokenStack.push([
|
6110
|
-
start: Je(
|
6108
|
+
function u(I, j, $) {
|
6109
|
+
return this.stack[this.stack.length - 1].children.push(I), this.stack.push(I), this.tokenStack.push([j, $]), I.position = {
|
6110
|
+
start: Je(j.start)
|
6111
6111
|
}, I;
|
6112
6112
|
}
|
6113
6113
|
function c(I) {
|
6114
|
-
return
|
6115
|
-
function
|
6116
|
-
I && I.call(this,
|
6114
|
+
return j;
|
6115
|
+
function j($) {
|
6116
|
+
I && I.call(this, $), f.call(this, $);
|
6117
6117
|
}
|
6118
6118
|
}
|
6119
|
-
function f(I,
|
6120
|
-
const
|
6119
|
+
function f(I, j) {
|
6120
|
+
const $ = this.stack.pop(), ee = this.tokenStack.pop();
|
6121
6121
|
if (ee)
|
6122
|
-
ee[0].type !== I.type && (
|
6122
|
+
ee[0].type !== I.type && (j ? j.call(this, I, ee[0]) : (ee[1] || Zi).call(this, I, ee[0]));
|
6123
6123
|
else
|
6124
6124
|
throw new Error(
|
6125
|
-
"Cannot close `" + I.type + "` (" +
|
6125
|
+
"Cannot close `" + I.type + "` (" + Qt({
|
6126
6126
|
start: I.start,
|
6127
6127
|
end: I.end
|
6128
6128
|
}) + "): it’s not open"
|
6129
6129
|
);
|
6130
|
-
return
|
6130
|
+
return $.position.end = Je(I.end), $;
|
6131
6131
|
}
|
6132
6132
|
function m() {
|
6133
6133
|
return Xu(this.stack.pop());
|
@@ -6137,100 +6137,100 @@ function ef(e) {
|
|
6137
6137
|
}
|
6138
6138
|
function D(I) {
|
6139
6139
|
if (a("expectingFirstListItemValue")) {
|
6140
|
-
const
|
6141
|
-
|
6140
|
+
const j = this.stack[this.stack.length - 2];
|
6141
|
+
j.start = Number.parseInt(this.sliceSerialize(I), 10), o("expectingFirstListItemValue");
|
6142
6142
|
}
|
6143
6143
|
}
|
6144
6144
|
function x() {
|
6145
|
-
const I = this.resume(),
|
6146
|
-
|
6145
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6146
|
+
j.lang = I;
|
6147
6147
|
}
|
6148
|
-
function
|
6149
|
-
const I = this.resume(),
|
6150
|
-
|
6148
|
+
function A() {
|
6149
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6150
|
+
j.meta = I;
|
6151
6151
|
}
|
6152
|
-
function
|
6152
|
+
function M() {
|
6153
6153
|
a("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
|
6154
6154
|
}
|
6155
|
-
function
|
6156
|
-
const I = this.resume(),
|
6157
|
-
|
6155
|
+
function E() {
|
6156
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6157
|
+
j.value = I.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
|
6158
6158
|
}
|
6159
6159
|
function C() {
|
6160
|
-
const I = this.resume(),
|
6161
|
-
|
6160
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6161
|
+
j.value = I.replace(/(\r?\n|\r)$/g, "");
|
6162
6162
|
}
|
6163
|
-
function
|
6164
|
-
const
|
6165
|
-
|
6163
|
+
function H(I) {
|
6164
|
+
const j = this.resume(), $ = this.stack[this.stack.length - 1];
|
6165
|
+
$.label = j, $.identifier = bt(
|
6166
6166
|
this.sliceSerialize(I)
|
6167
6167
|
).toLowerCase();
|
6168
6168
|
}
|
6169
|
-
function
|
6170
|
-
const I = this.resume(),
|
6171
|
-
|
6169
|
+
function U() {
|
6170
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6171
|
+
j.title = I;
|
6172
6172
|
}
|
6173
|
-
function
|
6174
|
-
const I = this.resume(),
|
6175
|
-
|
6173
|
+
function b() {
|
6174
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6175
|
+
j.url = I;
|
6176
6176
|
}
|
6177
6177
|
function F(I) {
|
6178
|
-
const
|
6179
|
-
if (!
|
6180
|
-
const
|
6181
|
-
|
6178
|
+
const j = this.stack[this.stack.length - 1];
|
6179
|
+
if (!j.depth) {
|
6180
|
+
const $ = this.sliceSerialize(I).length;
|
6181
|
+
j.depth = $;
|
6182
6182
|
}
|
6183
6183
|
}
|
6184
6184
|
function q() {
|
6185
6185
|
o("setextHeadingSlurpLineEnding", !0);
|
6186
6186
|
}
|
6187
6187
|
function G(I) {
|
6188
|
-
const
|
6189
|
-
|
6188
|
+
const j = this.stack[this.stack.length - 1];
|
6189
|
+
j.depth = this.sliceSerialize(I).charCodeAt(0) === 61 ? 1 : 2;
|
6190
6190
|
}
|
6191
6191
|
function K() {
|
6192
6192
|
o("setextHeadingSlurpLineEnding");
|
6193
6193
|
}
|
6194
6194
|
function O(I) {
|
6195
|
-
const
|
6196
|
-
let
|
6197
|
-
(
|
6195
|
+
const j = this.stack[this.stack.length - 1];
|
6196
|
+
let $ = j.children[j.children.length - 1];
|
6197
|
+
(!$ || $.type !== "text") && ($ = Xe(), $.position = {
|
6198
6198
|
start: Je(I.start)
|
6199
|
-
},
|
6199
|
+
}, j.children.push($)), this.stack.push($);
|
6200
6200
|
}
|
6201
6201
|
function w(I) {
|
6202
|
-
const
|
6203
|
-
|
6202
|
+
const j = this.stack.pop();
|
6203
|
+
j.value += this.sliceSerialize(I), j.position.end = Je(I.end);
|
6204
6204
|
}
|
6205
6205
|
function N(I) {
|
6206
|
-
const
|
6206
|
+
const j = this.stack[this.stack.length - 1];
|
6207
6207
|
if (a("atHardBreak")) {
|
6208
|
-
const
|
6209
|
-
|
6208
|
+
const $ = j.children[j.children.length - 1];
|
6209
|
+
$.position.end = Je(I.end), o("atHardBreak");
|
6210
6210
|
return;
|
6211
6211
|
}
|
6212
|
-
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(
|
6212
|
+
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(j.type) && (O.call(this, I), w.call(this, I));
|
6213
6213
|
}
|
6214
6214
|
function z() {
|
6215
6215
|
o("atHardBreak", !0);
|
6216
6216
|
}
|
6217
6217
|
function L() {
|
6218
|
-
const I = this.resume(),
|
6219
|
-
|
6218
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6219
|
+
j.value = I;
|
6220
6220
|
}
|
6221
|
-
function
|
6222
|
-
const I = this.resume(),
|
6223
|
-
|
6221
|
+
function B() {
|
6222
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6223
|
+
j.value = I;
|
6224
6224
|
}
|
6225
6225
|
function _() {
|
6226
|
-
const I = this.resume(),
|
6227
|
-
|
6226
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6227
|
+
j.value = I;
|
6228
6228
|
}
|
6229
6229
|
function W() {
|
6230
6230
|
const I = this.stack[this.stack.length - 1];
|
6231
6231
|
if (a("inReference")) {
|
6232
|
-
const
|
6233
|
-
I.type += "Reference", I.referenceType =
|
6232
|
+
const j = a("referenceType") || "shortcut";
|
6233
|
+
I.type += "Reference", I.referenceType = j, delete I.url, delete I.title;
|
6234
6234
|
} else
|
6235
6235
|
delete I.identifier, delete I.label;
|
6236
6236
|
o("referenceType");
|
@@ -6238,31 +6238,31 @@ function ef(e) {
|
|
6238
6238
|
function re() {
|
6239
6239
|
const I = this.stack[this.stack.length - 1];
|
6240
6240
|
if (a("inReference")) {
|
6241
|
-
const
|
6242
|
-
I.type += "Reference", I.referenceType =
|
6241
|
+
const j = a("referenceType") || "shortcut";
|
6242
|
+
I.type += "Reference", I.referenceType = j, delete I.url, delete I.title;
|
6243
6243
|
} else
|
6244
6244
|
delete I.identifier, delete I.label;
|
6245
6245
|
o("referenceType");
|
6246
6246
|
}
|
6247
6247
|
function g(I) {
|
6248
|
-
const
|
6249
|
-
|
6248
|
+
const j = this.sliceSerialize(I), $ = this.stack[this.stack.length - 2];
|
6249
|
+
$.label = Kp(j), $.identifier = bt(j).toLowerCase();
|
6250
6250
|
}
|
6251
6251
|
function se() {
|
6252
|
-
const I = this.stack[this.stack.length - 1],
|
6253
|
-
if (o("inReference", !0),
|
6252
|
+
const I = this.stack[this.stack.length - 1], j = this.resume(), $ = this.stack[this.stack.length - 1];
|
6253
|
+
if (o("inReference", !0), $.type === "link") {
|
6254
6254
|
const ee = I.children;
|
6255
|
-
|
6255
|
+
$.children = ee;
|
6256
6256
|
} else
|
6257
|
-
|
6257
|
+
$.alt = j;
|
6258
6258
|
}
|
6259
6259
|
function ye() {
|
6260
|
-
const I = this.resume(),
|
6261
|
-
|
6260
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6261
|
+
j.url = I;
|
6262
6262
|
}
|
6263
6263
|
function h() {
|
6264
|
-
const I = this.resume(),
|
6265
|
-
|
6264
|
+
const I = this.resume(), j = this.stack[this.stack.length - 1];
|
6265
|
+
j.title = I;
|
6266
6266
|
}
|
6267
6267
|
function ge() {
|
6268
6268
|
o("inReference");
|
@@ -6271,8 +6271,8 @@ function ef(e) {
|
|
6271
6271
|
o("referenceType", "collapsed");
|
6272
6272
|
}
|
6273
6273
|
function ie(I) {
|
6274
|
-
const
|
6275
|
-
|
6274
|
+
const j = this.resume(), $ = this.stack[this.stack.length - 1];
|
6275
|
+
$.label = j, $.identifier = bt(
|
6276
6276
|
this.sliceSerialize(I)
|
6277
6277
|
).toLowerCase(), o("referenceType", "full");
|
6278
6278
|
}
|
@@ -6280,24 +6280,24 @@ function ef(e) {
|
|
6280
6280
|
o("characterReferenceType", I.type);
|
6281
6281
|
}
|
6282
6282
|
function xe(I) {
|
6283
|
-
const
|
6283
|
+
const j = this.sliceSerialize(I), $ = a("characterReferenceType");
|
6284
6284
|
let ee;
|
6285
|
-
|
6286
|
-
|
6287
|
-
|
6288
|
-
), o("characterReferenceType")) : ee = Fr(
|
6285
|
+
$ ? (ee = pa(
|
6286
|
+
j,
|
6287
|
+
$ === "characterReferenceMarkerNumeric" ? 10 : 16
|
6288
|
+
), o("characterReferenceType")) : ee = Fr(j);
|
6289
6289
|
const ne = this.stack.pop();
|
6290
6290
|
ne.value += ee, ne.position.end = Je(I.end);
|
6291
6291
|
}
|
6292
6292
|
function Be(I) {
|
6293
6293
|
w.call(this, I);
|
6294
|
-
const
|
6295
|
-
|
6294
|
+
const j = this.stack[this.stack.length - 1];
|
6295
|
+
j.url = this.sliceSerialize(I);
|
6296
6296
|
}
|
6297
6297
|
function ze(I) {
|
6298
6298
|
w.call(this, I);
|
6299
|
-
const
|
6300
|
-
|
6299
|
+
const j = this.stack[this.stack.length - 1];
|
6300
|
+
j.url = "mailto:" + this.sliceSerialize(I);
|
6301
6301
|
}
|
6302
6302
|
function Ke() {
|
6303
6303
|
return {
|
@@ -6313,13 +6313,13 @@ function ef(e) {
|
|
6313
6313
|
value: ""
|
6314
6314
|
};
|
6315
6315
|
}
|
6316
|
-
function
|
6316
|
+
function kt() {
|
6317
6317
|
return {
|
6318
6318
|
type: "inlineCode",
|
6319
6319
|
value: ""
|
6320
6320
|
};
|
6321
6321
|
}
|
6322
|
-
function
|
6322
|
+
function Et() {
|
6323
6323
|
return {
|
6324
6324
|
type: "definition",
|
6325
6325
|
identifier: "",
|
@@ -6441,15 +6441,15 @@ function tf(e, t) {
|
|
6441
6441
|
}
|
6442
6442
|
function Zi(e, t) {
|
6443
6443
|
throw e ? new Error(
|
6444
|
-
"Cannot close `" + e.type + "` (" +
|
6444
|
+
"Cannot close `" + e.type + "` (" + Qt({
|
6445
6445
|
start: e.start,
|
6446
6446
|
end: e.end
|
6447
|
-
}) + "): a different token (`" + t.type + "`, " +
|
6447
|
+
}) + "): a different token (`" + t.type + "`, " + Qt({
|
6448
6448
|
start: t.start,
|
6449
6449
|
end: t.end
|
6450
6450
|
}) + ") is open"
|
6451
6451
|
) : new Error(
|
6452
|
-
"Cannot close document, a token (`" + t.type + "`, " +
|
6452
|
+
"Cannot close document, a token (`" + t.type + "`, " + Qt({
|
6453
6453
|
start: t.start,
|
6454
6454
|
end: t.end
|
6455
6455
|
}) + ") is still open"
|
@@ -6517,13 +6517,13 @@ function sf(e, t) {
|
|
6517
6517
|
};
|
6518
6518
|
return e.patch(t, n), e.applyData(t, n);
|
6519
6519
|
}
|
6520
|
-
function
|
6520
|
+
function It(e) {
|
6521
6521
|
const t = [];
|
6522
6522
|
let n = -1, r = 0, i = 0;
|
6523
6523
|
for (; ++n < e.length; ) {
|
6524
6524
|
const o = e.charCodeAt(n);
|
6525
6525
|
let a = "";
|
6526
|
-
if (o === 37 &&
|
6526
|
+
if (o === 37 && Oe(e.charCodeAt(n + 1)) && Oe(e.charCodeAt(n + 2)))
|
6527
6527
|
i = 2;
|
6528
6528
|
else if (o < 128)
|
6529
6529
|
/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o)) || (a = String.fromCharCode(o));
|
@@ -6537,7 +6537,7 @@ function Dt(e) {
|
|
6537
6537
|
return t.join("") + e.slice(r);
|
6538
6538
|
}
|
6539
6539
|
function ha(e, t) {
|
6540
|
-
const n = String(t.identifier).toUpperCase(), r =
|
6540
|
+
const n = String(t.identifier).toUpperCase(), r = It(n.toLowerCase()), i = e.footnoteOrder.indexOf(n);
|
6541
6541
|
let o;
|
6542
6542
|
i === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, o = e.footnoteOrder.length) : (e.footnoteCounts[n]++, o = i + 1);
|
6543
6543
|
const a = e.footnoteCounts[n], l = {
|
@@ -6607,13 +6607,13 @@ function ff(e, t) {
|
|
6607
6607
|
const n = e.definition(t.identifier);
|
6608
6608
|
if (!n)
|
6609
6609
|
return ga(e, t);
|
6610
|
-
const r = { src:
|
6610
|
+
const r = { src: It(n.url || ""), alt: t.alt };
|
6611
6611
|
n.title !== null && n.title !== void 0 && (r.title = n.title);
|
6612
6612
|
const i = { type: "element", tagName: "img", properties: r, children: [] };
|
6613
6613
|
return e.patch(t, i), e.applyData(t, i);
|
6614
6614
|
}
|
6615
6615
|
function df(e, t) {
|
6616
|
-
const n = { src:
|
6616
|
+
const n = { src: It(t.url) };
|
6617
6617
|
t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
|
6618
6618
|
const r = { type: "element", tagName: "img", properties: n, children: [] };
|
6619
6619
|
return e.patch(t, r), e.applyData(t, r);
|
@@ -6633,7 +6633,7 @@ function gf(e, t) {
|
|
6633
6633
|
const n = e.definition(t.identifier);
|
6634
6634
|
if (!n)
|
6635
6635
|
return ga(e, t);
|
6636
|
-
const r = { href:
|
6636
|
+
const r = { href: It(n.url || "") };
|
6637
6637
|
n.title !== null && n.title !== void 0 && (r.title = n.title);
|
6638
6638
|
const i = {
|
6639
6639
|
type: "element",
|
@@ -6644,7 +6644,7 @@ function gf(e, t) {
|
|
6644
6644
|
return e.patch(t, i), e.applyData(t, i);
|
6645
6645
|
}
|
6646
6646
|
function mf(e, t) {
|
6647
|
-
const n = { href:
|
6647
|
+
const n = { href: It(t.url) };
|
6648
6648
|
t.title !== null && t.title !== void 0 && (n.title = t.title);
|
6649
6649
|
const r = {
|
6650
6650
|
type: "element",
|
@@ -6833,11 +6833,11 @@ function Ji(e, t, n) {
|
|
6833
6833
|
}
|
6834
6834
|
return i > r ? e.slice(r, i) : "";
|
6835
6835
|
}
|
6836
|
-
function
|
6836
|
+
function Ef(e, t) {
|
6837
6837
|
const n = { type: "text", value: kf(String(t.value)) };
|
6838
6838
|
return e.patch(t, n), e.applyData(t, n);
|
6839
6839
|
}
|
6840
|
-
function
|
6840
|
+
function jf(e, t) {
|
6841
6841
|
const n = {
|
6842
6842
|
type: "element",
|
6843
6843
|
tagName: "hr",
|
@@ -6869,8 +6869,8 @@ const Cf = {
|
|
6869
6869
|
table: Df,
|
6870
6870
|
tableCell: Nf,
|
6871
6871
|
tableRow: If,
|
6872
|
-
text:
|
6873
|
-
thematicBreak:
|
6872
|
+
text: Ef,
|
6873
|
+
thematicBreak: jf,
|
6874
6874
|
toml: rn,
|
6875
6875
|
yaml: rn,
|
6876
6876
|
definition: rn,
|
@@ -7144,7 +7144,7 @@ function qf(e) {
|
|
7144
7144
|
const r = e.footnoteById[e.footnoteOrder[n]];
|
7145
7145
|
if (!r)
|
7146
7146
|
continue;
|
7147
|
-
const i = e.all(r), o = String(r.identifier).toUpperCase(), a =
|
7147
|
+
const i = e.all(r), o = String(r.identifier).toUpperCase(), a = It(o.toLowerCase());
|
7148
7148
|
let l = 0;
|
7149
7149
|
const s = [];
|
7150
7150
|
for (; ++l <= e.footnoteCounts[o]; ) {
|
@@ -7274,7 +7274,7 @@ Re.prototype.commaOrSpaceSeparated = !1;
|
|
7274
7274
|
Re.prototype.mustUseProperty = !1;
|
7275
7275
|
Re.prototype.defined = !1;
|
7276
7276
|
let Kf = 0;
|
7277
|
-
const Z = gt(), Me = gt(), va = gt(),
|
7277
|
+
const Z = gt(), Me = gt(), va = gt(), S = gt(), ce = gt(), xt = gt(), Se = gt();
|
7278
7278
|
function gt() {
|
7279
7279
|
return 2 ** ++Kf;
|
7280
7280
|
}
|
@@ -7282,9 +7282,9 @@ const vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7282
7282
|
__proto__: null,
|
7283
7283
|
boolean: Z,
|
7284
7284
|
booleanish: Me,
|
7285
|
-
commaOrSpaceSeparated:
|
7285
|
+
commaOrSpaceSeparated: Se,
|
7286
7286
|
commaSeparated: xt,
|
7287
|
-
number:
|
7287
|
+
number: S,
|
7288
7288
|
overloadedBoolean: va,
|
7289
7289
|
spaceSeparated: ce
|
7290
7290
|
}, Symbol.toStringTag, { value: "Module" })), ir = Object.keys(vr);
|
@@ -7310,7 +7310,7 @@ function ro(e, t, n) {
|
|
7310
7310
|
n && (e[t] = n);
|
7311
7311
|
}
|
7312
7312
|
const Xf = {}.hasOwnProperty;
|
7313
|
-
function
|
7313
|
+
function Nt(e) {
|
7314
7314
|
const t = {}, n = {};
|
7315
7315
|
let r;
|
7316
7316
|
for (r in e.properties)
|
@@ -7325,7 +7325,7 @@ function It(e) {
|
|
7325
7325
|
}
|
7326
7326
|
return new Gt(t, n, e.space);
|
7327
7327
|
}
|
7328
|
-
const Ta =
|
7328
|
+
const Ta = Nt({
|
7329
7329
|
space: "xlink",
|
7330
7330
|
transform(e, t) {
|
7331
7331
|
return "xlink:" + t.slice(5).toLowerCase();
|
@@ -7339,7 +7339,7 @@ const Ta = It({
|
|
7339
7339
|
xLinkTitle: null,
|
7340
7340
|
xLinkType: null
|
7341
7341
|
}
|
7342
|
-
}), Da =
|
7342
|
+
}), Da = Nt({
|
7343
7343
|
space: "xml",
|
7344
7344
|
transform(e, t) {
|
7345
7345
|
return "xml:" + t.slice(3).toLowerCase();
|
@@ -7352,12 +7352,12 @@ function Ia(e, t) {
|
|
7352
7352
|
function Na(e, t) {
|
7353
7353
|
return Ia(e, t.toLowerCase());
|
7354
7354
|
}
|
7355
|
-
const ka =
|
7355
|
+
const ka = Nt({
|
7356
7356
|
space: "xmlns",
|
7357
7357
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
7358
7358
|
transform: Na,
|
7359
7359
|
properties: { xmlns: null, xmlnsXLink: null }
|
7360
|
-
}),
|
7360
|
+
}), Ea = Nt({
|
7361
7361
|
transform(e, t) {
|
7362
7362
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
7363
7363
|
},
|
@@ -7367,9 +7367,9 @@ const ka = It({
|
|
7367
7367
|
ariaAutoComplete: null,
|
7368
7368
|
ariaBusy: Me,
|
7369
7369
|
ariaChecked: Me,
|
7370
|
-
ariaColCount:
|
7371
|
-
ariaColIndex:
|
7372
|
-
ariaColSpan:
|
7370
|
+
ariaColCount: S,
|
7371
|
+
ariaColIndex: S,
|
7372
|
+
ariaColSpan: S,
|
7373
7373
|
ariaControls: ce,
|
7374
7374
|
ariaCurrent: null,
|
7375
7375
|
ariaDescribedBy: ce,
|
@@ -7386,7 +7386,7 @@ const ka = It({
|
|
7386
7386
|
ariaKeyShortcuts: null,
|
7387
7387
|
ariaLabel: null,
|
7388
7388
|
ariaLabelledBy: ce,
|
7389
|
-
ariaLevel:
|
7389
|
+
ariaLevel: S,
|
7390
7390
|
ariaLive: null,
|
7391
7391
|
ariaModal: Me,
|
7392
7392
|
ariaMultiLine: Me,
|
@@ -7394,25 +7394,25 @@ const ka = It({
|
|
7394
7394
|
ariaOrientation: null,
|
7395
7395
|
ariaOwns: ce,
|
7396
7396
|
ariaPlaceholder: null,
|
7397
|
-
ariaPosInSet:
|
7397
|
+
ariaPosInSet: S,
|
7398
7398
|
ariaPressed: Me,
|
7399
7399
|
ariaReadOnly: Me,
|
7400
7400
|
ariaRelevant: null,
|
7401
7401
|
ariaRequired: Me,
|
7402
7402
|
ariaRoleDescription: ce,
|
7403
|
-
ariaRowCount:
|
7404
|
-
ariaRowIndex:
|
7405
|
-
ariaRowSpan:
|
7403
|
+
ariaRowCount: S,
|
7404
|
+
ariaRowIndex: S,
|
7405
|
+
ariaRowSpan: S,
|
7406
7406
|
ariaSelected: Me,
|
7407
|
-
ariaSetSize:
|
7407
|
+
ariaSetSize: S,
|
7408
7408
|
ariaSort: null,
|
7409
|
-
ariaValueMax:
|
7410
|
-
ariaValueMin:
|
7411
|
-
ariaValueNow:
|
7409
|
+
ariaValueMax: S,
|
7410
|
+
ariaValueMin: S,
|
7411
|
+
ariaValueNow: S,
|
7412
7412
|
ariaValueText: null,
|
7413
7413
|
role: null
|
7414
7414
|
}
|
7415
|
-
}), Jf =
|
7415
|
+
}), Jf = Nt({
|
7416
7416
|
space: "html",
|
7417
7417
|
attributes: {
|
7418
7418
|
acceptcharset: "accept-charset",
|
@@ -7446,13 +7446,13 @@ const ka = It({
|
|
7446
7446
|
checked: Z,
|
7447
7447
|
cite: null,
|
7448
7448
|
className: ce,
|
7449
|
-
cols:
|
7449
|
+
cols: S,
|
7450
7450
|
colSpan: null,
|
7451
7451
|
content: null,
|
7452
7452
|
contentEditable: Me,
|
7453
7453
|
controls: Z,
|
7454
7454
|
controlsList: ce,
|
7455
|
-
coords:
|
7455
|
+
coords: S | xt,
|
7456
7456
|
crossOrigin: null,
|
7457
7457
|
data: null,
|
7458
7458
|
dateTime: null,
|
@@ -7474,9 +7474,9 @@ const ka = It({
|
|
7474
7474
|
formNoValidate: Z,
|
7475
7475
|
formTarget: null,
|
7476
7476
|
headers: ce,
|
7477
|
-
height:
|
7477
|
+
height: S,
|
7478
7478
|
hidden: Z,
|
7479
|
-
high:
|
7479
|
+
high: S,
|
7480
7480
|
href: null,
|
7481
7481
|
hrefLang: null,
|
7482
7482
|
htmlFor: ce,
|
@@ -7501,14 +7501,14 @@ const ka = It({
|
|
7501
7501
|
list: null,
|
7502
7502
|
loading: null,
|
7503
7503
|
loop: Z,
|
7504
|
-
low:
|
7504
|
+
low: S,
|
7505
7505
|
manifest: null,
|
7506
7506
|
max: null,
|
7507
|
-
maxLength:
|
7507
|
+
maxLength: S,
|
7508
7508
|
media: null,
|
7509
7509
|
method: null,
|
7510
7510
|
min: null,
|
7511
|
-
minLength:
|
7511
|
+
minLength: S,
|
7512
7512
|
multiple: Z,
|
7513
7513
|
muted: Z,
|
7514
7514
|
name: null,
|
@@ -7604,7 +7604,7 @@ const ka = It({
|
|
7604
7604
|
onWaiting: null,
|
7605
7605
|
onWheel: null,
|
7606
7606
|
open: Z,
|
7607
|
-
optimum:
|
7607
|
+
optimum: S,
|
7608
7608
|
pattern: null,
|
7609
7609
|
ping: ce,
|
7610
7610
|
placeholder: null,
|
@@ -7619,8 +7619,8 @@ const ka = It({
|
|
7619
7619
|
rel: ce,
|
7620
7620
|
required: Z,
|
7621
7621
|
reversed: Z,
|
7622
|
-
rows:
|
7623
|
-
rowSpan:
|
7622
|
+
rows: S,
|
7623
|
+
rowSpan: S,
|
7624
7624
|
sandbox: ce,
|
7625
7625
|
scope: null,
|
7626
7626
|
scoped: Z,
|
@@ -7629,19 +7629,19 @@ const ka = It({
|
|
7629
7629
|
shadowRootDelegatesFocus: Z,
|
7630
7630
|
shadowRootMode: null,
|
7631
7631
|
shape: null,
|
7632
|
-
size:
|
7632
|
+
size: S,
|
7633
7633
|
sizes: null,
|
7634
7634
|
slot: null,
|
7635
|
-
span:
|
7635
|
+
span: S,
|
7636
7636
|
spellCheck: Me,
|
7637
7637
|
src: null,
|
7638
7638
|
srcDoc: null,
|
7639
7639
|
srcLang: null,
|
7640
7640
|
srcSet: null,
|
7641
|
-
start:
|
7641
|
+
start: S,
|
7642
7642
|
step: null,
|
7643
7643
|
style: null,
|
7644
|
-
tabIndex:
|
7644
|
+
tabIndex: S,
|
7645
7645
|
target: null,
|
7646
7646
|
title: null,
|
7647
7647
|
translate: null,
|
@@ -7649,7 +7649,7 @@ const ka = It({
|
|
7649
7649
|
typeMustMatch: Z,
|
7650
7650
|
useMap: null,
|
7651
7651
|
value: Me,
|
7652
|
-
width:
|
7652
|
+
width: S,
|
7653
7653
|
wrap: null,
|
7654
7654
|
// Legacy.
|
7655
7655
|
// See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
|
@@ -7665,11 +7665,11 @@ const ka = It({
|
|
7665
7665
|
// `<body>`. Use CSS `background-image` instead
|
7666
7666
|
bgColor: null,
|
7667
7667
|
// `<body>` and table elements. Use CSS `background-color` instead
|
7668
|
-
border:
|
7668
|
+
border: S,
|
7669
7669
|
// `<table>`. Use CSS `border-width` instead,
|
7670
7670
|
borderColor: null,
|
7671
7671
|
// `<table>`. Use CSS `border-color` instead,
|
7672
|
-
bottomMargin:
|
7672
|
+
bottomMargin: S,
|
7673
7673
|
// `<body>`
|
7674
7674
|
cellPadding: null,
|
7675
7675
|
// `<table>`
|
@@ -7703,9 +7703,9 @@ const ka = It({
|
|
7703
7703
|
// `<table>`
|
7704
7704
|
frameBorder: null,
|
7705
7705
|
// `<iframe>`. Use CSS `border` instead
|
7706
|
-
hSpace:
|
7706
|
+
hSpace: S,
|
7707
7707
|
// `<img>` and `<object>`
|
7708
|
-
leftMargin:
|
7708
|
+
leftMargin: S,
|
7709
7709
|
// `<body>`
|
7710
7710
|
link: null,
|
7711
7711
|
// `<body>`. Use CSS `a:link {color: *}` instead
|
@@ -7713,9 +7713,9 @@ const ka = It({
|
|
7713
7713
|
// `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
|
7714
7714
|
lowSrc: null,
|
7715
7715
|
// `<img>`. Use a `<picture>`
|
7716
|
-
marginHeight:
|
7716
|
+
marginHeight: S,
|
7717
7717
|
// `<body>`
|
7718
|
-
marginWidth:
|
7718
|
+
marginWidth: S,
|
7719
7719
|
// `<body>`
|
7720
7720
|
noResize: Z,
|
7721
7721
|
// `<frame>`
|
@@ -7733,7 +7733,7 @@ const ka = It({
|
|
7733
7733
|
// `<isindex>`
|
7734
7734
|
rev: null,
|
7735
7735
|
// `<link>`
|
7736
|
-
rightMargin:
|
7736
|
+
rightMargin: S,
|
7737
7737
|
// `<body>`
|
7738
7738
|
rules: null,
|
7739
7739
|
// `<table>`
|
@@ -7747,7 +7747,7 @@ const ka = It({
|
|
7747
7747
|
// `<table>`
|
7748
7748
|
text: null,
|
7749
7749
|
// `<body>`. Use CSS `color` instead
|
7750
|
-
topMargin:
|
7750
|
+
topMargin: S,
|
7751
7751
|
// `<body>`
|
7752
7752
|
valueType: null,
|
7753
7753
|
// `<param>`
|
@@ -7757,7 +7757,7 @@ const ka = It({
|
|
7757
7757
|
// Several. Use CSS `vertical-align` instead
|
7758
7758
|
vLink: null,
|
7759
7759
|
// `<body>`. Use CSS `a:visited {color}` instead
|
7760
|
-
vSpace:
|
7760
|
+
vSpace: S,
|
7761
7761
|
// `<img>` and `<object>`
|
7762
7762
|
// Non-standard Properties.
|
7763
7763
|
allowTransparency: null,
|
@@ -7767,11 +7767,11 @@ const ka = It({
|
|
7767
7767
|
disableRemotePlayback: Z,
|
7768
7768
|
prefix: null,
|
7769
7769
|
property: null,
|
7770
|
-
results:
|
7770
|
+
results: S,
|
7771
7771
|
security: null,
|
7772
7772
|
unselectable: null
|
7773
7773
|
}
|
7774
|
-
}), ed =
|
7774
|
+
}), ed = Nt({
|
7775
7775
|
space: "svg",
|
7776
7776
|
attributes: {
|
7777
7777
|
accentHeight: "accent-height",
|
@@ -7950,28 +7950,28 @@ const ka = It({
|
|
7950
7950
|
},
|
7951
7951
|
transform: Ia,
|
7952
7952
|
properties: {
|
7953
|
-
about:
|
7954
|
-
accentHeight:
|
7953
|
+
about: Se,
|
7954
|
+
accentHeight: S,
|
7955
7955
|
accumulate: null,
|
7956
7956
|
additive: null,
|
7957
7957
|
alignmentBaseline: null,
|
7958
|
-
alphabetic:
|
7959
|
-
amplitude:
|
7958
|
+
alphabetic: S,
|
7959
|
+
amplitude: S,
|
7960
7960
|
arabicForm: null,
|
7961
|
-
ascent:
|
7961
|
+
ascent: S,
|
7962
7962
|
attributeName: null,
|
7963
7963
|
attributeType: null,
|
7964
|
-
azimuth:
|
7964
|
+
azimuth: S,
|
7965
7965
|
bandwidth: null,
|
7966
7966
|
baselineShift: null,
|
7967
7967
|
baseFrequency: null,
|
7968
7968
|
baseProfile: null,
|
7969
7969
|
bbox: null,
|
7970
7970
|
begin: null,
|
7971
|
-
bias:
|
7971
|
+
bias: S,
|
7972
7972
|
by: null,
|
7973
7973
|
calcMode: null,
|
7974
|
-
capHeight:
|
7974
|
+
capHeight: S,
|
7975
7975
|
className: ce,
|
7976
7976
|
clip: null,
|
7977
7977
|
clipPath: null,
|
@@ -7992,26 +7992,26 @@ const ka = It({
|
|
7992
7992
|
d: null,
|
7993
7993
|
dataType: null,
|
7994
7994
|
defaultAction: null,
|
7995
|
-
descent:
|
7996
|
-
diffuseConstant:
|
7995
|
+
descent: S,
|
7996
|
+
diffuseConstant: S,
|
7997
7997
|
direction: null,
|
7998
7998
|
display: null,
|
7999
7999
|
dur: null,
|
8000
|
-
divisor:
|
8000
|
+
divisor: S,
|
8001
8001
|
dominantBaseline: null,
|
8002
8002
|
download: Z,
|
8003
8003
|
dx: null,
|
8004
8004
|
dy: null,
|
8005
8005
|
edgeMode: null,
|
8006
8006
|
editable: null,
|
8007
|
-
elevation:
|
8007
|
+
elevation: S,
|
8008
8008
|
enableBackground: null,
|
8009
8009
|
end: null,
|
8010
8010
|
event: null,
|
8011
|
-
exponent:
|
8011
|
+
exponent: S,
|
8012
8012
|
externalResourcesRequired: null,
|
8013
8013
|
fill: null,
|
8014
|
-
fillOpacity:
|
8014
|
+
fillOpacity: S,
|
8015
8015
|
fillRule: null,
|
8016
8016
|
filter: null,
|
8017
8017
|
filterRes: null,
|
@@ -8041,28 +8041,28 @@ const ka = It({
|
|
8041
8041
|
gradientTransform: null,
|
8042
8042
|
gradientUnits: null,
|
8043
8043
|
handler: null,
|
8044
|
-
hanging:
|
8044
|
+
hanging: S,
|
8045
8045
|
hatchContentUnits: null,
|
8046
8046
|
hatchUnits: null,
|
8047
8047
|
height: null,
|
8048
8048
|
href: null,
|
8049
8049
|
hrefLang: null,
|
8050
|
-
horizAdvX:
|
8051
|
-
horizOriginX:
|
8052
|
-
horizOriginY:
|
8050
|
+
horizAdvX: S,
|
8051
|
+
horizOriginX: S,
|
8052
|
+
horizOriginY: S,
|
8053
8053
|
id: null,
|
8054
|
-
ideographic:
|
8054
|
+
ideographic: S,
|
8055
8055
|
imageRendering: null,
|
8056
8056
|
initialVisibility: null,
|
8057
8057
|
in: null,
|
8058
8058
|
in2: null,
|
8059
|
-
intercept:
|
8060
|
-
k:
|
8061
|
-
k1:
|
8062
|
-
k2:
|
8063
|
-
k3:
|
8064
|
-
k4:
|
8065
|
-
kernelMatrix:
|
8059
|
+
intercept: S,
|
8060
|
+
k: S,
|
8061
|
+
k1: S,
|
8062
|
+
k2: S,
|
8063
|
+
k3: S,
|
8064
|
+
k4: S,
|
8065
|
+
kernelMatrix: Se,
|
8066
8066
|
kernelUnitLength: null,
|
8067
8067
|
keyPoints: null,
|
8068
8068
|
// SEMI_COLON_SEPARATED
|
@@ -8075,7 +8075,7 @@ const ka = It({
|
|
8075
8075
|
lengthAdjust: null,
|
8076
8076
|
letterSpacing: null,
|
8077
8077
|
lightingColor: null,
|
8078
|
-
limitingConeAngle:
|
8078
|
+
limitingConeAngle: S,
|
8079
8079
|
local: null,
|
8080
8080
|
markerEnd: null,
|
8081
8081
|
markerMid: null,
|
@@ -8091,7 +8091,7 @@ const ka = It({
|
|
8091
8091
|
media: null,
|
8092
8092
|
mediaCharacterEncoding: null,
|
8093
8093
|
mediaContentEncodings: null,
|
8094
|
-
mediaSize:
|
8094
|
+
mediaSize: S,
|
8095
8095
|
mediaTime: null,
|
8096
8096
|
method: null,
|
8097
8097
|
min: null,
|
@@ -8197,12 +8197,12 @@ const ka = It({
|
|
8197
8197
|
origin: null,
|
8198
8198
|
overflow: null,
|
8199
8199
|
overlay: null,
|
8200
|
-
overlinePosition:
|
8201
|
-
overlineThickness:
|
8200
|
+
overlinePosition: S,
|
8201
|
+
overlineThickness: S,
|
8202
8202
|
paintOrder: null,
|
8203
8203
|
panose1: null,
|
8204
8204
|
path: null,
|
8205
|
-
pathLength:
|
8205
|
+
pathLength: S,
|
8206
8206
|
patternContentUnits: null,
|
8207
8207
|
patternTransform: null,
|
8208
8208
|
patternUnits: null,
|
@@ -8212,28 +8212,28 @@ const ka = It({
|
|
8212
8212
|
playbackOrder: null,
|
8213
8213
|
pointerEvents: null,
|
8214
8214
|
points: null,
|
8215
|
-
pointsAtX:
|
8216
|
-
pointsAtY:
|
8217
|
-
pointsAtZ:
|
8215
|
+
pointsAtX: S,
|
8216
|
+
pointsAtY: S,
|
8217
|
+
pointsAtZ: S,
|
8218
8218
|
preserveAlpha: null,
|
8219
8219
|
preserveAspectRatio: null,
|
8220
8220
|
primitiveUnits: null,
|
8221
8221
|
propagate: null,
|
8222
|
-
property:
|
8222
|
+
property: Se,
|
8223
8223
|
r: null,
|
8224
8224
|
radius: null,
|
8225
8225
|
referrerPolicy: null,
|
8226
8226
|
refX: null,
|
8227
8227
|
refY: null,
|
8228
|
-
rel:
|
8229
|
-
rev:
|
8228
|
+
rel: Se,
|
8229
|
+
rev: Se,
|
8230
8230
|
renderingIntent: null,
|
8231
8231
|
repeatCount: null,
|
8232
8232
|
repeatDur: null,
|
8233
|
-
requiredExtensions:
|
8234
|
-
requiredFeatures:
|
8235
|
-
requiredFonts:
|
8236
|
-
requiredFormats:
|
8233
|
+
requiredExtensions: Se,
|
8234
|
+
requiredFeatures: Se,
|
8235
|
+
requiredFonts: Se,
|
8236
|
+
requiredFormats: Se,
|
8237
8237
|
resource: null,
|
8238
8238
|
restart: null,
|
8239
8239
|
result: null,
|
@@ -8246,8 +8246,8 @@ const ka = It({
|
|
8246
8246
|
side: null,
|
8247
8247
|
slope: null,
|
8248
8248
|
snapshotTime: null,
|
8249
|
-
specularConstant:
|
8250
|
-
specularExponent:
|
8249
|
+
specularConstant: S,
|
8250
|
+
specularExponent: S,
|
8251
8251
|
spreadMethod: null,
|
8252
8252
|
spacing: null,
|
8253
8253
|
startOffset: null,
|
@@ -8257,30 +8257,30 @@ const ka = It({
|
|
8257
8257
|
stitchTiles: null,
|
8258
8258
|
stopColor: null,
|
8259
8259
|
stopOpacity: null,
|
8260
|
-
strikethroughPosition:
|
8261
|
-
strikethroughThickness:
|
8260
|
+
strikethroughPosition: S,
|
8261
|
+
strikethroughThickness: S,
|
8262
8262
|
string: null,
|
8263
8263
|
stroke: null,
|
8264
|
-
strokeDashArray:
|
8264
|
+
strokeDashArray: Se,
|
8265
8265
|
strokeDashOffset: null,
|
8266
8266
|
strokeLineCap: null,
|
8267
8267
|
strokeLineJoin: null,
|
8268
|
-
strokeMiterLimit:
|
8269
|
-
strokeOpacity:
|
8268
|
+
strokeMiterLimit: S,
|
8269
|
+
strokeOpacity: S,
|
8270
8270
|
strokeWidth: null,
|
8271
8271
|
style: null,
|
8272
|
-
surfaceScale:
|
8272
|
+
surfaceScale: S,
|
8273
8273
|
syncBehavior: null,
|
8274
8274
|
syncBehaviorDefault: null,
|
8275
8275
|
syncMaster: null,
|
8276
8276
|
syncTolerance: null,
|
8277
8277
|
syncToleranceDefault: null,
|
8278
|
-
systemLanguage:
|
8279
|
-
tabIndex:
|
8278
|
+
systemLanguage: Se,
|
8279
|
+
tabIndex: S,
|
8280
8280
|
tableValues: null,
|
8281
8281
|
target: null,
|
8282
|
-
targetX:
|
8283
|
-
targetY:
|
8282
|
+
targetX: S,
|
8283
|
+
targetY: S,
|
8284
8284
|
textAnchor: null,
|
8285
8285
|
textDecoration: null,
|
8286
8286
|
textRendering: null,
|
@@ -8289,28 +8289,28 @@ const ka = It({
|
|
8289
8289
|
title: null,
|
8290
8290
|
transformBehavior: null,
|
8291
8291
|
type: null,
|
8292
|
-
typeOf:
|
8292
|
+
typeOf: Se,
|
8293
8293
|
to: null,
|
8294
8294
|
transform: null,
|
8295
8295
|
transformOrigin: null,
|
8296
8296
|
u1: null,
|
8297
8297
|
u2: null,
|
8298
|
-
underlinePosition:
|
8299
|
-
underlineThickness:
|
8298
|
+
underlinePosition: S,
|
8299
|
+
underlineThickness: S,
|
8300
8300
|
unicode: null,
|
8301
8301
|
unicodeBidi: null,
|
8302
8302
|
unicodeRange: null,
|
8303
|
-
unitsPerEm:
|
8303
|
+
unitsPerEm: S,
|
8304
8304
|
values: null,
|
8305
|
-
vAlphabetic:
|
8306
|
-
vMathematical:
|
8305
|
+
vAlphabetic: S,
|
8306
|
+
vMathematical: S,
|
8307
8307
|
vectorEffect: null,
|
8308
|
-
vHanging:
|
8309
|
-
vIdeographic:
|
8308
|
+
vHanging: S,
|
8309
|
+
vIdeographic: S,
|
8310
8310
|
version: null,
|
8311
|
-
vertAdvY:
|
8312
|
-
vertOriginX:
|
8313
|
-
vertOriginY:
|
8311
|
+
vertAdvY: S,
|
8312
|
+
vertOriginX: S,
|
8313
|
+
vertOriginY: S,
|
8314
8314
|
viewBox: null,
|
8315
8315
|
viewTarget: null,
|
8316
8316
|
visibility: null,
|
@@ -8322,7 +8322,7 @@ const ka = It({
|
|
8322
8322
|
x1: null,
|
8323
8323
|
x2: null,
|
8324
8324
|
xChannelSelector: null,
|
8325
|
-
xHeight:
|
8325
|
+
xHeight: S,
|
8326
8326
|
y: null,
|
8327
8327
|
y1: null,
|
8328
8328
|
y2: null,
|
@@ -8375,7 +8375,7 @@ const oo = {
|
|
8375
8375
|
xLinkTitle: "xlinkTitle",
|
8376
8376
|
xLinkType: "xlinkType",
|
8377
8377
|
xmlnsXLink: "xmlnsXlink"
|
8378
|
-
}, ad = wa([Da, Ta, ka,
|
8378
|
+
}, ad = wa([Da, Ta, ka, Ea, Jf], "html"), ld = wa([Da, Ta, ka, Ea, ed], "svg");
|
8379
8379
|
function sd(e) {
|
8380
8380
|
if (e.allowedElements && e.disallowedElements)
|
8381
8381
|
throw new TypeError(
|
@@ -8394,7 +8394,7 @@ function sd(e) {
|
|
8394
8394
|
});
|
8395
8395
|
};
|
8396
8396
|
}
|
8397
|
-
var
|
8397
|
+
var ja = { exports: {} }, ae = {};
|
8398
8398
|
/**
|
8399
8399
|
* @license React
|
8400
8400
|
* react-is.production.min.js
|
@@ -8404,7 +8404,7 @@ var Ea = { exports: {} }, ae = {};
|
|
8404
8404
|
* This source code is licensed under the MIT license found in the
|
8405
8405
|
* LICENSE file in the root directory of this source tree.
|
8406
8406
|
*/
|
8407
|
-
var Yr = Symbol.for("react.element"), Hr = Symbol.for("react.portal"), In = Symbol.for("react.fragment"), Nn = Symbol.for("react.strict_mode"), kn = Symbol.for("react.profiler"),
|
8407
|
+
var Yr = Symbol.for("react.element"), Hr = Symbol.for("react.portal"), In = Symbol.for("react.fragment"), Nn = Symbol.for("react.strict_mode"), kn = Symbol.for("react.profiler"), En = Symbol.for("react.provider"), jn = Symbol.for("react.context"), ud = Symbol.for("react.server_context"), Cn = Symbol.for("react.forward_ref"), An = Symbol.for("react.suspense"), Sn = Symbol.for("react.suspense_list"), On = Symbol.for("react.memo"), zn = Symbol.for("react.lazy"), cd = Symbol.for("react.offscreen"), Ca;
|
8408
8408
|
Ca = Symbol.for("react.module.reference");
|
8409
8409
|
function Ue(e) {
|
8410
8410
|
if (typeof e == "object" && e !== null) {
|
@@ -8421,11 +8421,11 @@ function Ue(e) {
|
|
8421
8421
|
default:
|
8422
8422
|
switch (e = e && e.$$typeof, e) {
|
8423
8423
|
case ud:
|
8424
|
-
case
|
8424
|
+
case jn:
|
8425
8425
|
case Cn:
|
8426
8426
|
case zn:
|
8427
8427
|
case On:
|
8428
|
-
case
|
8428
|
+
case En:
|
8429
8429
|
return e;
|
8430
8430
|
default:
|
8431
8431
|
return t;
|
@@ -8436,8 +8436,8 @@ function Ue(e) {
|
|
8436
8436
|
}
|
8437
8437
|
}
|
8438
8438
|
}
|
8439
|
-
ae.ContextConsumer =
|
8440
|
-
ae.ContextProvider =
|
8439
|
+
ae.ContextConsumer = jn;
|
8440
|
+
ae.ContextProvider = En;
|
8441
8441
|
ae.Element = Yr;
|
8442
8442
|
ae.ForwardRef = Cn;
|
8443
8443
|
ae.Fragment = In;
|
@@ -8455,10 +8455,10 @@ ae.isConcurrentMode = function() {
|
|
8455
8455
|
return !1;
|
8456
8456
|
};
|
8457
8457
|
ae.isContextConsumer = function(e) {
|
8458
|
-
return Ue(e) ===
|
8458
|
+
return Ue(e) === jn;
|
8459
8459
|
};
|
8460
8460
|
ae.isContextProvider = function(e) {
|
8461
|
-
return Ue(e) ===
|
8461
|
+
return Ue(e) === En;
|
8462
8462
|
};
|
8463
8463
|
ae.isElement = function(e) {
|
8464
8464
|
return typeof e == "object" && e !== null && e.$$typeof === Yr;
|
@@ -8491,11 +8491,11 @@ ae.isSuspenseList = function(e) {
|
|
8491
8491
|
return Ue(e) === Sn;
|
8492
8492
|
};
|
8493
8493
|
ae.isValidElementType = function(e) {
|
8494
|
-
return typeof e == "string" || typeof e == "function" || e === In || e === kn || e === Nn || e === An || e === Sn || e === cd || typeof e == "object" && e !== null && (e.$$typeof === zn || e.$$typeof === On || e.$$typeof ===
|
8494
|
+
return typeof e == "string" || typeof e == "function" || e === In || e === kn || e === Nn || e === An || e === Sn || e === cd || typeof e == "object" && e !== null && (e.$$typeof === zn || e.$$typeof === On || e.$$typeof === En || e.$$typeof === jn || e.$$typeof === Cn || e.$$typeof === Ca || e.getModuleId !== void 0);
|
8495
8495
|
};
|
8496
8496
|
ae.typeOf = Ue;
|
8497
|
-
|
8498
|
-
var pd =
|
8497
|
+
ja.exports = ae;
|
8498
|
+
var pd = ja.exports;
|
8499
8499
|
const fd = /* @__PURE__ */ nt(pd);
|
8500
8500
|
function dd(e) {
|
8501
8501
|
const t = (
|
@@ -8527,8 +8527,8 @@ var $r = { exports: {} }, ao = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, md = /\n/g, yd
|
|
8527
8527
|
function i(D) {
|
8528
8528
|
var x = D.match(md);
|
8529
8529
|
x && (n += x.length);
|
8530
|
-
var
|
8531
|
-
r = ~
|
8530
|
+
var A = D.lastIndexOf(Td);
|
8531
|
+
r = ~A ? D.length - A : r + D.length;
|
8532
8532
|
}
|
8533
8533
|
function o() {
|
8534
8534
|
var D = { line: n, column: r };
|
@@ -8550,8 +8550,8 @@ var $r = { exports: {} }, ao = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, md = /\n/g, yd
|
|
8550
8550
|
function s(D) {
|
8551
8551
|
var x = D.exec(e);
|
8552
8552
|
if (x) {
|
8553
|
-
var
|
8554
|
-
return i(
|
8553
|
+
var A = x[0];
|
8554
|
+
return i(A), e = e.slice(A.length), x;
|
8555
8555
|
}
|
8556
8556
|
}
|
8557
8557
|
function u() {
|
@@ -8570,10 +8570,10 @@ var $r = { exports: {} }, ao = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, md = /\n/g, yd
|
|
8570
8570
|
++x;
|
8571
8571
|
if (x += 2, ft === e.charAt(x - 1))
|
8572
8572
|
return l("End of comment missing");
|
8573
|
-
var
|
8574
|
-
return r += 2, i(
|
8573
|
+
var A = e.slice(2, x - 2);
|
8574
|
+
return r += 2, i(A), e = e.slice(x), r += 2, D({
|
8575
8575
|
type: Dd,
|
8576
|
-
comment:
|
8576
|
+
comment: A
|
8577
8577
|
});
|
8578
8578
|
}
|
8579
8579
|
}
|
@@ -8582,12 +8582,12 @@ var $r = { exports: {} }, ao = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, md = /\n/g, yd
|
|
8582
8582
|
if (x) {
|
8583
8583
|
if (f(), !s(bd))
|
8584
8584
|
return l("property missing ':'");
|
8585
|
-
var
|
8585
|
+
var A = s(xd), M = D({
|
8586
8586
|
type: Id,
|
8587
8587
|
property: uo(x[0].replace(ao, ft)),
|
8588
|
-
value:
|
8588
|
+
value: A ? uo(A[0].replace(ao, ft)) : ft
|
8589
8589
|
});
|
8590
|
-
return s(wd),
|
8590
|
+
return s(wd), M;
|
8591
8591
|
}
|
8592
8592
|
}
|
8593
8593
|
function d() {
|
@@ -8613,8 +8613,8 @@ function Aa(e, t) {
|
|
8613
8613
|
}
|
8614
8614
|
$r.exports = Aa;
|
8615
8615
|
$r.exports.default = Aa;
|
8616
|
-
var
|
8617
|
-
const
|
8616
|
+
var Ed = $r.exports;
|
8617
|
+
const jd = /* @__PURE__ */ nt(Ed), Tr = {}.hasOwnProperty, Cd = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]);
|
8618
8618
|
function Sa(e, t) {
|
8619
8619
|
const n = [];
|
8620
8620
|
let r = -1, i;
|
@@ -8680,7 +8680,7 @@ function Od(e, t, n, r) {
|
|
8680
8680
|
function zd(e) {
|
8681
8681
|
const t = {};
|
8682
8682
|
try {
|
8683
|
-
|
8683
|
+
jd(e, n);
|
8684
8684
|
} catch {
|
8685
8685
|
}
|
8686
8686
|
return t;
|
@@ -8821,7 +8821,7 @@ function za({ message: e, id: t, onFeedbackThumbSelection: n }) {
|
|
8821
8821
|
onClick: () => n(t, "UP"),
|
8822
8822
|
"aria-label": "I like this response",
|
8823
8823
|
children: /* @__PURE__ */ k.jsx(
|
8824
|
-
|
8824
|
+
vt,
|
8825
8825
|
{
|
8826
8826
|
className: "xpert-chatbot-popup__feedback--btn-up-icon",
|
8827
8827
|
icon: e.feedbackThumbType === "UP" ? "material-symbols:thumb-up" : "material-symbols:thumb-up-outline"
|
@@ -8838,7 +8838,7 @@ function za({ message: e, id: t, onFeedbackThumbSelection: n }) {
|
|
8838
8838
|
onClick: () => n(t, "DOWN"),
|
8839
8839
|
"aria-label": "I do not like this response",
|
8840
8840
|
children: /* @__PURE__ */ k.jsx(
|
8841
|
-
|
8841
|
+
vt,
|
8842
8842
|
{
|
8843
8843
|
className: "xpert-chatbot-popup__feedback--btn-down-icon",
|
8844
8844
|
icon: e.feedbackThumbType === "DOWN" ? "material-symbols:thumb-down" : "material-symbols:thumb-down-outline"
|
@@ -8880,30 +8880,30 @@ function Ln({
|
|
8880
8880
|
text: a,
|
8881
8881
|
userTrackingName: l
|
8882
8882
|
}) {
|
8883
|
-
const [s, u] = we(!0), { primaryColor: c, xpertKey: f, userTracking: m, conversationScreen: d } = We(Ge), D =
|
8884
|
-
(
|
8885
|
-
var
|
8886
|
-
((
|
8883
|
+
const [s, u] = we(!0), { primaryColor: c, xpertKey: f, userTracking: m, conversationScreen: d } = We(Ge), D = wt(
|
8884
|
+
(M) => {
|
8885
|
+
var E, C, H, U;
|
8886
|
+
((E = M == null ? void 0 : M.data) == null ? void 0 : E.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (C = window == null ? void 0 : window.OnetrustActiveGroups) != null && C.includes("C0003")) && He.set(`${f}-live-chat-open`, 1, {
|
8887
8887
|
expires: 1,
|
8888
8888
|
path: "/"
|
8889
|
-
}), ((
|
8889
|
+
}), ((H = M == null ? void 0 : M.data) == null ? void 0 : H.type) === "connection" && ((U = M == null ? void 0 : M.data) == null ? void 0 : U.state) === "disconnected" && He.remove(`${f}-live-chat-open`);
|
8890
8890
|
},
|
8891
8891
|
[f]
|
8892
|
-
), x =
|
8893
|
-
(
|
8894
|
-
var
|
8895
|
-
((
|
8892
|
+
), x = wt(
|
8893
|
+
(M) => {
|
8894
|
+
var E, C, H, U;
|
8895
|
+
((E = M == null ? void 0 : M.data) == null ? void 0 : E.type) === "unhide" && ((C = M == null ? void 0 : M.data) == null ? void 0 : C.reason) === "pop-out" && t(!0), ((H = M == null ? void 0 : M.data) == null ? void 0 : H.type) === "open" && ((U = M == null ? void 0 : M.data) == null ? void 0 : U.chatState) === !0 && t(!0);
|
8896
8896
|
},
|
8897
8897
|
[t]
|
8898
8898
|
);
|
8899
|
-
|
8900
|
-
let
|
8901
|
-
return d.liveChat.enabled && (window.Five9ChatPlugin || (
|
8899
|
+
Ie(() => {
|
8900
|
+
let M, E;
|
8901
|
+
return d.liveChat.enabled && (window.Five9ChatPlugin || (M = document.createElement("script"), M.type = "text/javascript", M.src = d.liveChat.sourceCode, M.async = !0, M.onload = () => {
|
8902
8902
|
window.Five9ChatPlugin(d.liveChat.options);
|
8903
|
-
}, document.body.appendChild(
|
8903
|
+
}, document.body.appendChild(M)), window.addEventListener("message", D), window.addEventListener("message", x), E = setTimeout(() => {
|
8904
8904
|
u(!1);
|
8905
8905
|
}, 3e3)), () => {
|
8906
|
-
d.liveChat.enabled && (window.removeEventListener("message", D), window.removeEventListener("message", x), clearTimeout(
|
8906
|
+
d.liveChat.enabled && (window.removeEventListener("message", D), window.removeEventListener("message", x), clearTimeout(E));
|
8907
8907
|
};
|
8908
8908
|
}, [
|
8909
8909
|
d.liveChat.enabled,
|
@@ -8912,7 +8912,7 @@ function Ln({
|
|
8912
8912
|
D,
|
8913
8913
|
x
|
8914
8914
|
]);
|
8915
|
-
const
|
8915
|
+
const A = () => {
|
8916
8916
|
e({
|
8917
8917
|
name: `${m.prefix}.bi.xpert.chatbot.popup.live.chat.${l}`,
|
8918
8918
|
payload: {
|
@@ -8937,7 +8937,7 @@ function Ln({
|
|
8937
8937
|
"button",
|
8938
8938
|
{
|
8939
8939
|
type: "button",
|
8940
|
-
onClick:
|
8940
|
+
onClick: A,
|
8941
8941
|
"aria-label": "Open live chat window",
|
8942
8942
|
style: { position: "relative" },
|
8943
8943
|
className: o,
|
@@ -9069,7 +9069,7 @@ Fn.defaultProps = {
|
|
9069
9069
|
Fn.displayName = "AssistantMessageBubble";
|
9070
9070
|
const Qd = Fn, La = () => {
|
9071
9071
|
const { disclaimer: e } = We(Ge), t = tt(null);
|
9072
|
-
return
|
9072
|
+
return Ie(() => {
|
9073
9073
|
var n;
|
9074
9074
|
(n = t == null ? void 0 : t.current) == null || n.focus();
|
9075
9075
|
}, []), /* @__PURE__ */ k.jsxs(
|
@@ -9179,7 +9179,7 @@ const qd = Wr, Pn = ({
|
|
9179
9179
|
isTestUser: s
|
9180
9180
|
}) => {
|
9181
9181
|
const { conversationScreen: u } = We(Ge), { prompts: c, systemMessage: f } = u, m = tt(null);
|
9182
|
-
return
|
9182
|
+
return Ie(() => {
|
9183
9183
|
var d;
|
9184
9184
|
(d = m.current) == null || d.scrollIntoView({
|
9185
9185
|
behavior: "instant",
|
@@ -9262,7 +9262,7 @@ Pn.defaultProps = {
|
|
9262
9262
|
Pn.displayName = "ConversationsMessages";
|
9263
9263
|
const Vd = Pn, Wd = () => {
|
9264
9264
|
const e = tt(null);
|
9265
|
-
return
|
9265
|
+
return Ie(() => {
|
9266
9266
|
var t;
|
9267
9267
|
(t = e.current) == null || t.scrollIntoView({
|
9268
9268
|
behavior: "instant"
|
@@ -9285,7 +9285,7 @@ const Vd = Pn, Wd = () => {
|
|
9285
9285
|
ref: e,
|
9286
9286
|
children: [
|
9287
9287
|
/* @__PURE__ */ k.jsx(
|
9288
|
-
|
9288
|
+
vt,
|
9289
9289
|
{
|
9290
9290
|
icon: "material-symbols:thunderstorm",
|
9291
9291
|
style: {
|
@@ -9370,7 +9370,7 @@ function Gr({
|
|
9370
9370
|
children: i,
|
9371
9371
|
...o
|
9372
9372
|
}) {
|
9373
|
-
const a =
|
9373
|
+
const a = Dt(Zd);
|
9374
9374
|
return /* @__PURE__ */ k.jsx(
|
9375
9375
|
"button",
|
9376
9376
|
{
|
@@ -9670,12 +9670,12 @@ var go = {
|
|
9670
9670
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
9671
9671
|
}, yh = function(t) {
|
9672
9672
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
9673
|
-
},
|
9673
|
+
}, Ht = function(t) {
|
9674
9674
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
9675
9675
|
}, Mh = function(t) {
|
9676
|
-
return
|
9676
|
+
return Ht(t) && !t.shiftKey;
|
9677
9677
|
}, bh = function(t) {
|
9678
|
-
return
|
9678
|
+
return Ht(t) && t.shiftKey;
|
9679
9679
|
}, mo = function(t) {
|
9680
9680
|
return setTimeout(t, 0);
|
9681
9681
|
}, yo = function(t, n) {
|
@@ -9683,7 +9683,7 @@ var go = {
|
|
9683
9683
|
return t.every(function(i, o) {
|
9684
9684
|
return n(i) ? (r = o, !1) : !0;
|
9685
9685
|
}), r;
|
9686
|
-
},
|
9686
|
+
}, Ft = function(t) {
|
9687
9687
|
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
9688
9688
|
r[i - 1] = arguments[i];
|
9689
9689
|
return typeof t == "function" ? t.apply(void 0, r) : t;
|
@@ -9737,20 +9737,20 @@ var go = {
|
|
9737
9737
|
}, u = function(w, N) {
|
9738
9738
|
var z = typeof (N == null ? void 0 : N.composedPath) == "function" ? N.composedPath() : void 0;
|
9739
9739
|
return a.containerGroups.findIndex(function(L) {
|
9740
|
-
var
|
9741
|
-
return
|
9740
|
+
var B = L.container, _ = L.tabbableNodes;
|
9741
|
+
return B.contains(w) || // fall back to explicit tabbable search which will take into consideration any
|
9742
9742
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
9743
9743
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
9744
9744
|
// look inside web components even if open)
|
9745
|
-
(z == null ? void 0 : z.includes(
|
9745
|
+
(z == null ? void 0 : z.includes(B)) || _.find(function(W) {
|
9746
9746
|
return W === w;
|
9747
9747
|
});
|
9748
9748
|
});
|
9749
9749
|
}, c = function(w) {
|
9750
9750
|
var N = o[w];
|
9751
9751
|
if (typeof N == "function") {
|
9752
|
-
for (var z = arguments.length, L = new Array(z > 1 ? z - 1 : 0),
|
9753
|
-
L[
|
9752
|
+
for (var z = arguments.length, L = new Array(z > 1 ? z - 1 : 0), B = 1; B < z; B++)
|
9753
|
+
L[B - 1] = arguments[B];
|
9754
9754
|
N = N.apply(void 0, L);
|
9755
9755
|
}
|
9756
9756
|
if (N === !0 && (N = void 0), !N) {
|
@@ -9778,7 +9778,7 @@ var go = {
|
|
9778
9778
|
return w;
|
9779
9779
|
}, m = function() {
|
9780
9780
|
if (a.containerGroups = a.containers.map(function(w) {
|
9781
|
-
var N = Ha(w, o.tabbableOptions), z = $a(w, o.tabbableOptions), L = N.length > 0 ? N[0] : void 0,
|
9781
|
+
var N = Ha(w, o.tabbableOptions), z = $a(w, o.tabbableOptions), L = N.length > 0 ? N[0] : void 0, B = N.length > 0 ? N[N.length - 1] : void 0, _ = z.find(function(g) {
|
9782
9782
|
return pt(g);
|
9783
9783
|
}), W = z.slice().reverse().find(function(g) {
|
9784
9784
|
return pt(g);
|
@@ -9794,7 +9794,7 @@ var go = {
|
|
9794
9794
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
9795
9795
|
firstTabbableNode: L,
|
9796
9796
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
9797
|
-
lastTabbableNode:
|
9797
|
+
lastTabbableNode: B,
|
9798
9798
|
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
9799
9799
|
// would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
|
9800
9800
|
// because that API doesn't work with Shadow DOM as well as it should (@see
|
@@ -9848,15 +9848,15 @@ var go = {
|
|
9848
9848
|
}, x = function(w) {
|
9849
9849
|
var N = c("setReturnFocus", w);
|
9850
9850
|
return N || (N === !1 ? !1 : w);
|
9851
|
-
},
|
9852
|
-
var N = w.target, z = w.event, L = w.isBackward,
|
9851
|
+
}, A = function(w) {
|
9852
|
+
var N = w.target, z = w.event, L = w.isBackward, B = L === void 0 ? !1 : L;
|
9853
9853
|
N = N || an(z), m();
|
9854
9854
|
var _ = null;
|
9855
9855
|
if (a.tabbableGroups.length > 0) {
|
9856
9856
|
var W = u(N, z), re = W >= 0 ? a.containerGroups[W] : void 0;
|
9857
9857
|
if (W < 0)
|
9858
|
-
|
9859
|
-
else if (
|
9858
|
+
B ? _ = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : _ = a.tabbableGroups[0].firstTabbableNode;
|
9859
|
+
else if (B) {
|
9860
9860
|
var g = yo(a.tabbableGroups, function(ie) {
|
9861
9861
|
var De = ie.firstTabbableNode;
|
9862
9862
|
return N === De;
|
@@ -9865,7 +9865,7 @@ var go = {
|
|
9865
9865
|
var se = g === 0 ? a.tabbableGroups.length - 1 : g - 1, ye = a.tabbableGroups[se];
|
9866
9866
|
_ = et(N) >= 0 ? ye.lastTabbableNode : ye.lastDomTabbableNode;
|
9867
9867
|
} else
|
9868
|
-
|
9868
|
+
Ht(z) || (_ = re.nextTabbableNode(N, !1));
|
9869
9869
|
} else {
|
9870
9870
|
var h = yo(a.tabbableGroups, function(ie) {
|
9871
9871
|
var De = ie.lastTabbableNode;
|
@@ -9875,15 +9875,15 @@ var go = {
|
|
9875
9875
|
var ge = h === a.tabbableGroups.length - 1 ? 0 : h + 1, Te = a.tabbableGroups[ge];
|
9876
9876
|
_ = et(N) >= 0 ? Te.firstTabbableNode : Te.firstDomTabbableNode;
|
9877
9877
|
} else
|
9878
|
-
|
9878
|
+
Ht(z) || (_ = re.nextTabbableNode(N));
|
9879
9879
|
}
|
9880
9880
|
} else
|
9881
9881
|
_ = c("fallbackFocus");
|
9882
9882
|
return _;
|
9883
|
-
},
|
9883
|
+
}, M = function(w) {
|
9884
9884
|
var N = an(w);
|
9885
9885
|
if (!(u(N, w) >= 0)) {
|
9886
|
-
if (
|
9886
|
+
if (Ft(o.clickOutsideDeactivates, w)) {
|
9887
9887
|
l.deactivate({
|
9888
9888
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
9889
9889
|
// which will result in the outside click setting focus to the node
|
@@ -9895,15 +9895,15 @@ var go = {
|
|
9895
9895
|
});
|
9896
9896
|
return;
|
9897
9897
|
}
|
9898
|
-
|
9898
|
+
Ft(o.allowOutsideClick, w) || w.preventDefault();
|
9899
9899
|
}
|
9900
|
-
},
|
9900
|
+
}, E = function(w) {
|
9901
9901
|
var N = an(w), z = u(N, w) >= 0;
|
9902
9902
|
if (z || N instanceof Document)
|
9903
9903
|
z && (a.mostRecentlyFocusedNode = N);
|
9904
9904
|
else {
|
9905
9905
|
w.stopImmediatePropagation();
|
9906
|
-
var L,
|
9906
|
+
var L, B = !0;
|
9907
9907
|
if (a.mostRecentlyFocusedNode)
|
9908
9908
|
if (et(a.mostRecentlyFocusedNode) > 0) {
|
9909
9909
|
var _ = u(a.mostRecentlyFocusedNode), W = a.containerGroups[_].tabbableNodes;
|
@@ -9911,17 +9911,17 @@ var go = {
|
|
9911
9911
|
var re = W.findIndex(function(g) {
|
9912
9912
|
return g === a.mostRecentlyFocusedNode;
|
9913
9913
|
});
|
9914
|
-
re >= 0 && (o.isKeyForward(a.recentNavEvent) ? re + 1 < W.length && (L = W[re + 1],
|
9914
|
+
re >= 0 && (o.isKeyForward(a.recentNavEvent) ? re + 1 < W.length && (L = W[re + 1], B = !1) : re - 1 >= 0 && (L = W[re - 1], B = !1));
|
9915
9915
|
}
|
9916
9916
|
} else
|
9917
9917
|
a.containerGroups.some(function(g) {
|
9918
9918
|
return g.tabbableNodes.some(function(se) {
|
9919
9919
|
return et(se) > 0;
|
9920
9920
|
});
|
9921
|
-
}) || (
|
9921
|
+
}) || (B = !1);
|
9922
9922
|
else
|
9923
|
-
|
9924
|
-
|
9923
|
+
B = !1;
|
9924
|
+
B && (L = A({
|
9925
9925
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
9926
9926
|
// outside the trap causing the focus escape we're trying to fix)
|
9927
9927
|
target: a.mostRecentlyFocusedNode,
|
@@ -9932,45 +9932,45 @@ var go = {
|
|
9932
9932
|
}, C = function(w) {
|
9933
9933
|
var N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
9934
9934
|
a.recentNavEvent = w;
|
9935
|
-
var z =
|
9935
|
+
var z = A({
|
9936
9936
|
event: w,
|
9937
9937
|
isBackward: N
|
9938
9938
|
});
|
9939
|
-
z && (
|
9940
|
-
},
|
9941
|
-
if (yh(w) &&
|
9939
|
+
z && (Ht(w) && w.preventDefault(), D(z));
|
9940
|
+
}, H = function(w) {
|
9941
|
+
if (yh(w) && Ft(o.escapeDeactivates, w) !== !1) {
|
9942
9942
|
w.preventDefault(), l.deactivate();
|
9943
9943
|
return;
|
9944
9944
|
}
|
9945
9945
|
(o.isKeyForward(w) || o.isKeyBackward(w)) && C(w, o.isKeyBackward(w));
|
9946
|
-
},
|
9946
|
+
}, U = function(w) {
|
9947
9947
|
var N = an(w);
|
9948
|
-
u(N, w) >= 0 ||
|
9949
|
-
},
|
9948
|
+
u(N, w) >= 0 || Ft(o.clickOutsideDeactivates, w) || Ft(o.allowOutsideClick, w) || (w.preventDefault(), w.stopImmediatePropagation());
|
9949
|
+
}, b = function() {
|
9950
9950
|
if (a.active)
|
9951
9951
|
return go.activateTrap(i, l), a.delayInitialFocusTimer = o.delayInitialFocus ? mo(function() {
|
9952
9952
|
D(f());
|
9953
|
-
}) : D(f()), r.addEventListener("focusin",
|
9953
|
+
}) : D(f()), r.addEventListener("focusin", E, !0), r.addEventListener("mousedown", M, {
|
9954
9954
|
capture: !0,
|
9955
9955
|
passive: !1
|
9956
|
-
}), r.addEventListener("touchstart",
|
9956
|
+
}), r.addEventListener("touchstart", M, {
|
9957
9957
|
capture: !0,
|
9958
9958
|
passive: !1
|
9959
|
-
}), r.addEventListener("click",
|
9959
|
+
}), r.addEventListener("click", U, {
|
9960
9960
|
capture: !0,
|
9961
9961
|
passive: !1
|
9962
|
-
}), r.addEventListener("keydown",
|
9962
|
+
}), r.addEventListener("keydown", H, {
|
9963
9963
|
capture: !0,
|
9964
9964
|
passive: !1
|
9965
9965
|
}), l;
|
9966
9966
|
}, F = function() {
|
9967
9967
|
if (a.active)
|
9968
|
-
return r.removeEventListener("focusin",
|
9968
|
+
return r.removeEventListener("focusin", E, !0), r.removeEventListener("mousedown", M, !0), r.removeEventListener("touchstart", M, !0), r.removeEventListener("click", U, !0), r.removeEventListener("keydown", H, !0), l;
|
9969
9969
|
}, q = function(w) {
|
9970
9970
|
var N = w.some(function(z) {
|
9971
9971
|
var L = Array.from(z.removedNodes);
|
9972
|
-
return L.some(function(
|
9973
|
-
return
|
9972
|
+
return L.some(function(B) {
|
9973
|
+
return B === a.mostRecentlyFocusedNode;
|
9974
9974
|
});
|
9975
9975
|
});
|
9976
9976
|
N && D(f());
|
@@ -9994,10 +9994,10 @@ var go = {
|
|
9994
9994
|
return this;
|
9995
9995
|
var N = s(w, "onActivate"), z = s(w, "onPostActivate"), L = s(w, "checkCanFocusTrap");
|
9996
9996
|
L || m(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = r.activeElement, N == null || N();
|
9997
|
-
var
|
9998
|
-
L && m(),
|
9997
|
+
var B = function() {
|
9998
|
+
L && m(), b(), K(), z == null || z();
|
9999
9999
|
};
|
10000
|
-
return L ? (L(a.containers.concat()).then(
|
10000
|
+
return L ? (L(a.containers.concat()).then(B, B), this) : (B(), this);
|
10001
10001
|
},
|
10002
10002
|
deactivate: function(w) {
|
10003
10003
|
if (!a.active)
|
@@ -10008,14 +10008,14 @@ var go = {
|
|
10008
10008
|
checkCanReturnFocus: o.checkCanReturnFocus
|
10009
10009
|
}, w);
|
10010
10010
|
clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, F(), a.active = !1, a.paused = !1, K(), go.deactivateTrap(i, l);
|
10011
|
-
var z = s(N, "onDeactivate"), L = s(N, "onPostDeactivate"),
|
10011
|
+
var z = s(N, "onDeactivate"), L = s(N, "onPostDeactivate"), B = s(N, "checkCanReturnFocus"), _ = s(N, "returnFocus", "returnFocusOnDeactivate");
|
10012
10012
|
z == null || z();
|
10013
10013
|
var W = function() {
|
10014
10014
|
mo(function() {
|
10015
10015
|
_ && D(x(a.nodeFocusedBeforeActivation)), L == null || L();
|
10016
10016
|
});
|
10017
10017
|
};
|
10018
|
-
return _ &&
|
10018
|
+
return _ && B ? (B(x(a.nodeFocusedBeforeActivation)).then(W, W), this) : (W(), this);
|
10019
10019
|
},
|
10020
10020
|
pause: function(w) {
|
10021
10021
|
if (a.paused || !a.active)
|
@@ -10027,7 +10027,7 @@ var go = {
|
|
10027
10027
|
if (!a.paused || !a.active)
|
10028
10028
|
return this;
|
10029
10029
|
var N = s(w, "onUnpause"), z = s(w, "onPostUnpause");
|
10030
|
-
return a.paused = !1, N == null || N(), m(),
|
10030
|
+
return a.paused = !1, N == null || N(), m(), b(), K(), z == null || z(), this;
|
10031
10031
|
},
|
10032
10032
|
updateContainerElements: function(w) {
|
10033
10033
|
var N = [].concat(w).filter(Boolean);
|
@@ -10041,13 +10041,13 @@ const vh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10041
10041
|
__proto__: null,
|
10042
10042
|
createFocusTrap: wh
|
10043
10043
|
}, Symbol.toStringTag, { value: "Module" })), Th = /* @__PURE__ */ bo(vh), Dh = /* @__PURE__ */ bo(fh);
|
10044
|
-
function
|
10044
|
+
function Tt(e) {
|
10045
10045
|
"@babel/helpers - typeof";
|
10046
|
-
return
|
10046
|
+
return Tt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
10047
10047
|
return typeof t;
|
10048
10048
|
} : function(t) {
|
10049
10049
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
10050
|
-
},
|
10050
|
+
}, Tt(e);
|
10051
10051
|
}
|
10052
10052
|
function Ih(e, t) {
|
10053
10053
|
if (!(e instanceof t))
|
@@ -10072,7 +10072,7 @@ function Ir(e, t) {
|
|
10072
10072
|
return r.__proto__ = i, r;
|
10073
10073
|
}, Ir(e, t);
|
10074
10074
|
}
|
10075
|
-
function
|
10075
|
+
function Eh(e) {
|
10076
10076
|
var t = Ch();
|
10077
10077
|
return function() {
|
10078
10078
|
var r = xn(e), i;
|
@@ -10081,17 +10081,17 @@ function jh(e) {
|
|
10081
10081
|
i = Reflect.construct(r, arguments, o);
|
10082
10082
|
} else
|
10083
10083
|
i = r.apply(this, arguments);
|
10084
|
-
return
|
10084
|
+
return jh(this, i);
|
10085
10085
|
};
|
10086
10086
|
}
|
10087
|
-
function
|
10088
|
-
if (t && (
|
10087
|
+
function jh(e, t) {
|
10088
|
+
if (t && (Tt(t) === "object" || typeof t == "function"))
|
10089
10089
|
return t;
|
10090
10090
|
if (t !== void 0)
|
10091
10091
|
throw new TypeError("Derived constructors may only return object or undefined");
|
10092
|
-
return
|
10092
|
+
return Rt(e);
|
10093
10093
|
}
|
10094
|
-
function
|
10094
|
+
function Rt(e) {
|
10095
10095
|
if (e === void 0)
|
10096
10096
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
10097
10097
|
return e;
|
@@ -10118,26 +10118,26 @@ function Ah(e, t, n) {
|
|
10118
10118
|
}
|
10119
10119
|
function qa(e) {
|
10120
10120
|
var t = Sh(e, "string");
|
10121
|
-
return
|
10121
|
+
return Tt(t) === "symbol" ? t : String(t);
|
10122
10122
|
}
|
10123
10123
|
function Sh(e, t) {
|
10124
|
-
if (
|
10124
|
+
if (Tt(e) !== "object" || e === null)
|
10125
10125
|
return e;
|
10126
10126
|
var n = e[Symbol.toPrimitive];
|
10127
10127
|
if (n !== void 0) {
|
10128
10128
|
var r = n.call(e, t || "default");
|
10129
|
-
if (
|
10129
|
+
if (Tt(r) !== "object")
|
10130
10130
|
return r;
|
10131
10131
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
10132
10132
|
}
|
10133
10133
|
return (t === "string" ? String : Number)(e);
|
10134
10134
|
}
|
10135
|
-
var ln = ve,
|
10135
|
+
var ln = ve, Q = Y, Oh = Th, zh = Oh.createFocusTrap, Lh = Dh, Fh = Lh.isFocusable, Zr = /* @__PURE__ */ function(e) {
|
10136
10136
|
kh(n, e);
|
10137
|
-
var t =
|
10137
|
+
var t = Eh(n);
|
10138
10138
|
function n(r) {
|
10139
10139
|
var i;
|
10140
|
-
Ih(this, n), i = t.call(this, r), Ah(
|
10140
|
+
Ih(this, n), i = t.call(this, r), Ah(Rt(i), "getNodeForOption", function(l) {
|
10141
10141
|
var s, u = (s = this.internalOptions[l]) !== null && s !== void 0 ? s : this.originalOptions[l];
|
10142
10142
|
if (typeof u == "function") {
|
10143
10143
|
for (var c = arguments.length, f = new Array(c > 1 ? c - 1 : 0), m = 1; m < c; m++)
|
@@ -10156,7 +10156,7 @@ var ln = ve, B = Q, Oh = Th, zh = Oh.createFocusTrap, Lh = Dh, Fh = Lh.isFocusab
|
|
10156
10156
|
throw new Error("`".concat(l, "` as selector refers to no known node"));
|
10157
10157
|
}
|
10158
10158
|
return d;
|
10159
|
-
}), i.handleDeactivate = i.handleDeactivate.bind(
|
10159
|
+
}), i.handleDeactivate = i.handleDeactivate.bind(Rt(i)), i.handlePostDeactivate = i.handlePostDeactivate.bind(Rt(i)), i.handleClickOutsideDeactivates = i.handleClickOutsideDeactivates.bind(Rt(i)), i.internalOptions = {
|
10160
10160
|
// We need to hijack the returnFocusOnDeactivate option,
|
10161
10161
|
// because React can move focus into the element before we arrived at
|
10162
10162
|
// this lifecycle hook (e.g. with autoFocus inputs). So the component
|
@@ -10319,49 +10319,49 @@ var ln = ve, B = Q, Oh = Th, zh = Oh.createFocusTrap, Lh = Dh, Fh = Lh.isFocusab
|
|
10319
10319
|
return null;
|
10320
10320
|
}
|
10321
10321
|
}]), n;
|
10322
|
-
}(ln.Component),
|
10322
|
+
}(ln.Component), Pt = typeof Element > "u" ? Function : Element;
|
10323
10323
|
Zr.propTypes = {
|
10324
|
-
active:
|
10325
|
-
paused:
|
10326
|
-
focusTrapOptions:
|
10327
|
-
document:
|
10328
|
-
onActivate:
|
10329
|
-
onPostActivate:
|
10330
|
-
checkCanFocusTrap:
|
10331
|
-
onPause:
|
10332
|
-
onPostPause:
|
10333
|
-
onUnpause:
|
10334
|
-
onPostUnpause:
|
10335
|
-
onDeactivate:
|
10336
|
-
onPostDeactivate:
|
10337
|
-
checkCanReturnFocus:
|
10338
|
-
initialFocus:
|
10339
|
-
fallbackFocus:
|
10340
|
-
|
10341
|
-
|
10324
|
+
active: Q.bool,
|
10325
|
+
paused: Q.bool,
|
10326
|
+
focusTrapOptions: Q.shape({
|
10327
|
+
document: Q.object,
|
10328
|
+
onActivate: Q.func,
|
10329
|
+
onPostActivate: Q.func,
|
10330
|
+
checkCanFocusTrap: Q.func,
|
10331
|
+
onPause: Q.func,
|
10332
|
+
onPostPause: Q.func,
|
10333
|
+
onUnpause: Q.func,
|
10334
|
+
onPostUnpause: Q.func,
|
10335
|
+
onDeactivate: Q.func,
|
10336
|
+
onPostDeactivate: Q.func,
|
10337
|
+
checkCanReturnFocus: Q.func,
|
10338
|
+
initialFocus: Q.oneOfType([Q.instanceOf(Pt), Q.string, Q.bool, Q.func]),
|
10339
|
+
fallbackFocus: Q.oneOfType([
|
10340
|
+
Q.instanceOf(Pt),
|
10341
|
+
Q.string,
|
10342
10342
|
// NOTE: does not support `false` as value (or return value from function)
|
10343
|
-
|
10343
|
+
Q.func
|
10344
10344
|
]),
|
10345
|
-
escapeDeactivates:
|
10346
|
-
clickOutsideDeactivates:
|
10347
|
-
returnFocusOnDeactivate:
|
10348
|
-
setReturnFocus:
|
10349
|
-
allowOutsideClick:
|
10350
|
-
preventScroll:
|
10351
|
-
tabbableOptions:
|
10352
|
-
displayCheck:
|
10353
|
-
getShadowRoot:
|
10345
|
+
escapeDeactivates: Q.oneOfType([Q.bool, Q.func]),
|
10346
|
+
clickOutsideDeactivates: Q.oneOfType([Q.bool, Q.func]),
|
10347
|
+
returnFocusOnDeactivate: Q.bool,
|
10348
|
+
setReturnFocus: Q.oneOfType([Q.instanceOf(Pt), Q.string, Q.bool, Q.func]),
|
10349
|
+
allowOutsideClick: Q.oneOfType([Q.bool, Q.func]),
|
10350
|
+
preventScroll: Q.bool,
|
10351
|
+
tabbableOptions: Q.shape({
|
10352
|
+
displayCheck: Q.oneOf(["full", "legacy-full", "non-zero-area", "none"]),
|
10353
|
+
getShadowRoot: Q.oneOfType([Q.bool, Q.func])
|
10354
10354
|
}),
|
10355
|
-
trapStack:
|
10356
|
-
isKeyForward:
|
10357
|
-
isKeyBackward:
|
10355
|
+
trapStack: Q.array,
|
10356
|
+
isKeyForward: Q.func,
|
10357
|
+
isKeyBackward: Q.func
|
10358
10358
|
}),
|
10359
|
-
containerElements:
|
10359
|
+
containerElements: Q.arrayOf(Q.instanceOf(Pt)),
|
10360
10360
|
// DOM element ONLY
|
10361
|
-
children:
|
10362
|
-
|
10361
|
+
children: Q.oneOfType([
|
10362
|
+
Q.element,
|
10363
10363
|
// React element
|
10364
|
-
|
10364
|
+
Q.instanceOf(Pt)
|
10365
10365
|
// DOM element
|
10366
10366
|
])
|
10367
10367
|
// NOTE: _createFocusTrap is internal, for testing purposes only, so we don't
|
@@ -10384,7 +10384,7 @@ function Kr({
|
|
10384
10384
|
isNormalSize: r,
|
10385
10385
|
isMounted: i
|
10386
10386
|
}) {
|
10387
|
-
const o =
|
10387
|
+
const o = Dt(Rh), a = tt(null);
|
10388
10388
|
return /* @__PURE__ */ k.jsx(
|
10389
10389
|
_h,
|
10390
10390
|
{
|
@@ -10432,7 +10432,7 @@ Kr.defaultProps = {
|
|
10432
10432
|
};
|
10433
10433
|
function Va({ disableScroll: e }) {
|
10434
10434
|
const t = tt(null);
|
10435
|
-
return
|
10435
|
+
return Ie(() => {
|
10436
10436
|
var n;
|
10437
10437
|
e || (n = t.current) == null || n.scrollIntoView({
|
10438
10438
|
behavior: "smooth",
|
@@ -10466,16 +10466,16 @@ function Wa({
|
|
10466
10466
|
}) {
|
10467
10467
|
var D;
|
10468
10468
|
const { proactiveMessage: a } = We(Ge), [l, s] = we(!0), [u, c] = we(!1), f = l && (!(window != null && window.OnetrustActiveGroups) || ((D = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : D.includes("C0003"))) && He.get(t) === void 0;
|
10469
|
-
|
10469
|
+
Ie(() => {
|
10470
10470
|
var x;
|
10471
10471
|
(x = window == null ? void 0 : window.OneTrust) == null || x.OnConsentChanged(() => {
|
10472
|
-
var
|
10473
|
-
!((
|
10472
|
+
var A;
|
10473
|
+
!((A = window == null ? void 0 : window.OnetrustActiveGroups) != null && A.includes("C0003")) && He.get(t) !== void 0 && He.remove(t);
|
10474
10474
|
});
|
10475
|
-
}, [t]),
|
10475
|
+
}, [t]), Ie(() => {
|
10476
10476
|
var x;
|
10477
10477
|
i || (!(window != null && window.OnetrustActiveGroups) || (x = window == null ? void 0 : window.OnetrustActiveGroups) != null && x.includes("C0003")) && d(t, 1, 1);
|
10478
|
-
}, [t, i]),
|
10478
|
+
}, [t, i]), Ie(() => {
|
10479
10479
|
if (a.enabled && a.delayMs > 0) {
|
10480
10480
|
const x = setTimeout(() => {
|
10481
10481
|
c(!0);
|
@@ -10487,12 +10487,12 @@ function Wa({
|
|
10487
10487
|
const m = () => {
|
10488
10488
|
var x;
|
10489
10489
|
s(!1), (!(window != null && window.OnetrustActiveGroups) || (x = window == null ? void 0 : window.OnetrustActiveGroups) != null && x.includes("C0003")) && d(t, 1, 1), r();
|
10490
|
-
}, d = (x,
|
10491
|
-
const
|
10492
|
-
expires:
|
10490
|
+
}, d = (x, A, M) => {
|
10491
|
+
const E = {
|
10492
|
+
expires: M,
|
10493
10493
|
path: "/"
|
10494
10494
|
};
|
10495
|
-
He.set(x,
|
10495
|
+
He.set(x, A, E);
|
10496
10496
|
};
|
10497
10497
|
return u ? /* @__PURE__ */ k.jsx("div", { children: f && /* @__PURE__ */ k.jsxs(
|
10498
10498
|
"div",
|
@@ -10514,7 +10514,7 @@ function Wa({
|
|
10514
10514
|
"aria-label": "Close",
|
10515
10515
|
type: "button",
|
10516
10516
|
children: /* @__PURE__ */ k.jsx(
|
10517
|
-
|
10517
|
+
vt,
|
10518
10518
|
{
|
10519
10519
|
style: {
|
10520
10520
|
color: "#707070",
|
@@ -10550,9 +10550,39 @@ Wa.propTypes = {
|
|
10550
10550
|
showMessage: T.bool,
|
10551
10551
|
style: T.shape()
|
10552
10552
|
};
|
10553
|
-
function Uh(e) {
|
10553
|
+
function Uh(e, t, n) {
|
10554
|
+
const r = wt(
|
10555
|
+
(i) => {
|
10556
|
+
const { data: o } = i || {}, { chatState: a, show: l, type: s } = o || {};
|
10557
|
+
(s === "openForm" && l === !1 || s === "open" && a === !1) && n(!1);
|
10558
|
+
},
|
10559
|
+
[n]
|
10560
|
+
);
|
10561
|
+
Ie(() => (e && window.addEventListener("message", r), () => {
|
10562
|
+
window.removeEventListener("message", r);
|
10563
|
+
}), [e, r]), Ie(() => {
|
10564
|
+
let i;
|
10565
|
+
return e && (i = document.createElement("style"), document.head.appendChild(i), ((a) => {
|
10566
|
+
i.innerHTML = `
|
10567
|
+
#five9OpenChatButton {
|
10568
|
+
bottom: 0.625rem !important;
|
10569
|
+
position: fixed !important;
|
10570
|
+
right: 0.4375rem !important;
|
10571
|
+
${a}
|
10572
|
+
|
10573
|
+
@media (max-width: 61.9375rem) {
|
10574
|
+
display: none !important;
|
10575
|
+
}
|
10576
|
+
}
|
10577
|
+
`;
|
10578
|
+
})(t ? "" : "display: none !important;")), () => {
|
10579
|
+
i && document.head.removeChild(i);
|
10580
|
+
};
|
10581
|
+
}, [e, t]);
|
10582
|
+
}
|
10583
|
+
function Bh(e) {
|
10554
10584
|
const [t, n] = we(null);
|
10555
|
-
return
|
10585
|
+
return Ie(() => {
|
10556
10586
|
console.log("Chatbot - optimizely mount");
|
10557
10587
|
try {
|
10558
10588
|
(() => {
|
@@ -10581,8 +10611,8 @@ function Uh(e) {
|
|
10581
10611
|
`Chatbot - optimizely return experimentVariation: ${t}`
|
10582
10612
|
), t;
|
10583
10613
|
}
|
10584
|
-
function
|
10585
|
-
|
10614
|
+
function Qh(e) {
|
10615
|
+
Ie(() => {
|
10586
10616
|
e();
|
10587
10617
|
const t = () => document.visibilityState === "visible" && e();
|
10588
10618
|
return document.addEventListener("visibilitychange", t), () => {
|
@@ -10590,24 +10620,24 @@ function Bh(e) {
|
|
10590
10620
|
};
|
10591
10621
|
}, [e]);
|
10592
10622
|
}
|
10593
|
-
function
|
10623
|
+
function Yh(e, t) {
|
10594
10624
|
if (!(e instanceof Date && t instanceof Date))
|
10595
10625
|
throw new Error(
|
10596
10626
|
`Both start and end must be valid Date objects: start=${e} end=${t}`
|
10597
10627
|
);
|
10598
10628
|
return (t.getTime() - e.getTime()) / 1e3;
|
10599
10629
|
}
|
10600
|
-
function
|
10630
|
+
function Hh(e) {
|
10601
10631
|
const t = /\[(.+)\]\(([^ ]+)( "(.+)")?\)/gm, n = e.match(t);
|
10602
10632
|
return (n == null ? void 0 : n.length) || 0;
|
10603
10633
|
}
|
10604
|
-
function
|
10634
|
+
function $h(e) {
|
10605
10635
|
return new TextEncoder().encode(e).length;
|
10606
10636
|
}
|
10607
|
-
const
|
10608
|
-
const
|
10637
|
+
const _t = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0yODEtMjQwcS0xNCAwLTI3LjUtMTRUMjQwLTI4MnYtOThoNTAwdi0zNDBoMTAwcTE0IDAgMjcgMTR0MTMgMjl2NTk2TDcyMS0yNDBIMjgxWk04MC0yODB2LTU1OHEwLTE0IDEzLTI4dDI3LTE0aDUxOXExNSAwIDI4IDEzLjV0MTMgMjguNXYzNTZxMCAxNC0xMyAyOHQtMjggMTRIMjQwTDgwLTI4MFptNTQwLTIyMHYtMzIwSDE0MHYzMjBoNDgwWm0tNDgwIDB2LTMyMCAzMjBaIiBmaWxsPSIjRkZGRkZGIi8+PC9zdmc+";
|
10638
|
+
const qh = 991, Vh = () => {
|
10609
10639
|
var n;
|
10610
|
-
const e =
|
10640
|
+
const e = Dt(qh), { launchButton: t } = We(Ge);
|
10611
10641
|
return (n = t.message) != null && n.enabled ? /* @__PURE__ */ k.jsx(
|
10612
10642
|
"div",
|
10613
10643
|
{
|
@@ -10619,45 +10649,51 @@ const $h = 991, qh = () => {
|
|
10619
10649
|
children: t.message.text
|
10620
10650
|
}
|
10621
10651
|
) : null;
|
10622
|
-
},
|
10652
|
+
}, Wh = Vh, Gh = {
|
10623
10653
|
edx: Wo,
|
10624
|
-
"speech-emerson":
|
10625
|
-
"get-smarter":
|
10626
|
-
"exec-ed-ss-olc-moodle":
|
10627
|
-
"degrees-canvas-support":
|
10628
|
-
"degrees-moodle-support":
|
10629
|
-
},
|
10654
|
+
"speech-emerson": _t,
|
10655
|
+
"get-smarter": _t,
|
10656
|
+
"exec-ed-ss-olc-moodle": _t,
|
10657
|
+
"degrees-canvas-support": _t,
|
10658
|
+
"degrees-moodle-support": _t
|
10659
|
+
}, Zh = 991, Kh = [];
|
10630
10660
|
function Xr({ submitEventExternal: e }) {
|
10631
10661
|
var mt, ot, at;
|
10632
10662
|
const {
|
10633
|
-
|
10634
|
-
|
10635
|
-
|
10636
|
-
|
10637
|
-
|
10638
|
-
|
10639
|
-
|
10640
|
-
} = We(Ge), s =
|
10663
|
+
chatApi: t,
|
10664
|
+
conversationScreen: n,
|
10665
|
+
launchButton: r,
|
10666
|
+
proactiveMessage: i,
|
10667
|
+
userTracking: o,
|
10668
|
+
webExperimentation: a,
|
10669
|
+
xpertKey: l
|
10670
|
+
} = We(Ge), s = Dt(Zh), [, u] = we(!1), [c, f] = we(Kh), [m, d] = we(!1), [D, x] = we(!1), [A, M] = we(!1), [E, C] = we(""), [H, U] = we(!1), [b, F] = we(!0), [q, G] = we(!1), [K, O] = we(!1), [w, N] = we(!1), z = tt(null), L = tt(null), B = tt(null), _ = He.get(`${l}-test`) === "1";
|
10671
|
+
Uh(
|
10672
|
+
n.liveChat.enabled,
|
10673
|
+
A,
|
10674
|
+
M
|
10675
|
+
);
|
10676
|
+
const W = wt(
|
10641
10677
|
({ name: R, payload: oe }) => {
|
10642
|
-
const me = No(
|
10643
|
-
e ? e({ name: R, payload: me }) :
|
10678
|
+
const me = No(o == null ? void 0 : o.payloadParams, oe);
|
10679
|
+
e ? e({ name: R, payload: me }) : B.current.track(
|
10644
10680
|
// TODO: this is untestable - create a custom hook to get submit event function.
|
10645
10681
|
R,
|
10646
10682
|
me
|
10647
10683
|
);
|
10648
10684
|
},
|
10649
|
-
[e,
|
10650
|
-
), re =
|
10685
|
+
[e, o.payloadParams]
|
10686
|
+
), re = wt(async () => {
|
10651
10687
|
if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
|
10652
10688
|
try {
|
10653
10689
|
const R = He.get(
|
10654
|
-
`${
|
10690
|
+
`${l}-conversation-history-id`
|
10655
10691
|
);
|
10656
10692
|
if (!R)
|
10657
10693
|
return;
|
10658
10694
|
d(!0);
|
10659
10695
|
const oe = await fetch(
|
10660
|
-
`${
|
10696
|
+
`${t.endpoint}/xpert-chat/${R}`,
|
10661
10697
|
{
|
10662
10698
|
method: "GET",
|
10663
10699
|
headers: {
|
@@ -10666,7 +10702,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10666
10702
|
}
|
10667
10703
|
);
|
10668
10704
|
if (oe.status === 404) {
|
10669
|
-
He.remove(`${
|
10705
|
+
He.remove(`${l}-conversation-history-id`);
|
10670
10706
|
return;
|
10671
10707
|
}
|
10672
10708
|
if (!oe.ok)
|
@@ -10683,28 +10719,28 @@ function Xr({ submitEventExternal: e }) {
|
|
10683
10719
|
} finally {
|
10684
10720
|
d(!1);
|
10685
10721
|
}
|
10686
|
-
}, [
|
10687
|
-
|
10722
|
+
}, [l, t.endpoint]);
|
10723
|
+
Qh(re), Ie(() => {
|
10688
10724
|
console.log("Chatbot - mount");
|
10689
10725
|
let R, oe;
|
10690
|
-
return
|
10726
|
+
return o.enabled && (R = setInterval(() => {
|
10691
10727
|
var he;
|
10692
|
-
console.log("Chatbot - intervalCheckForScripts"), (he = window.analytics) != null && he.track && (!
|
10728
|
+
console.log("Chatbot - intervalCheckForScripts"), (he = window.analytics) != null && he.track && (!a.enabled || a.enabled && window.optimizely && window.experiments) && (console.log("Chatbot - intervalCheckForScripts all found"), B.current = window.analytics, clearInterval(R), clearTimeout(oe), u(!0));
|
10693
10729
|
}, 1e3), oe = setTimeout(() => {
|
10694
10730
|
clearInterval(R);
|
10695
10731
|
}, 6e4)), () => {
|
10696
10732
|
console.log("Chatbot - unmount"), clearInterval(R), clearTimeout(oe);
|
10697
10733
|
};
|
10698
10734
|
}, [
|
10699
|
-
|
10700
|
-
|
10701
|
-
|
10702
|
-
|
10735
|
+
a.enabled,
|
10736
|
+
a.experimentName,
|
10737
|
+
o.enabled,
|
10738
|
+
o.prefix
|
10703
10739
|
]);
|
10704
10740
|
const g = (R) => {
|
10705
10741
|
var oe, me;
|
10706
10742
|
(oe = R == null ? void 0 : R.target) != null && oe.href && W({
|
10707
|
-
name: `${
|
10743
|
+
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
|
10708
10744
|
payload: {
|
10709
10745
|
category: "2u",
|
10710
10746
|
label: "xpert-chatbot",
|
@@ -10712,27 +10748,27 @@ function Xr({ submitEventExternal: e }) {
|
|
10712
10748
|
isTestUser: _
|
10713
10749
|
}
|
10714
10750
|
});
|
10715
|
-
}, se =
|
10716
|
-
|
10751
|
+
}, se = Bh(
|
10752
|
+
a.experimentName
|
10717
10753
|
);
|
10718
|
-
if (
|
10719
|
-
return
|
10720
|
-
`Chatbot - Experiment not setup: ${
|
10721
|
-
), _ || console.log(`Chatbot - Test user not setup: ${
|
10722
|
-
if (
|
10723
|
-
return console.log(`Chatbot - Segment not setup: ${
|
10754
|
+
if (a.experimentName && se !== "A" && !_)
|
10755
|
+
return a.experimentName && se !== "A" && console.log(
|
10756
|
+
`Chatbot - Experiment not setup: ${l}, ${se}, ${window.optimizely}`
|
10757
|
+
), _ || console.log(`Chatbot - Test user not setup: ${l}, ${_}`), null;
|
10758
|
+
if (o.prefix && !((mt = B == null ? void 0 : B.current) != null && mt.track) && !e)
|
10759
|
+
return console.log(`Chatbot - Segment not setup: ${l}`), null;
|
10724
10760
|
console.log(
|
10725
|
-
`Chatbot - All things setup: ${
|
10761
|
+
`Chatbot - All things setup: ${l}, ${typeof window.analytics}, ${se}, ${typeof window.optimizely}, ${typeof window.experiments}`
|
10726
10762
|
);
|
10727
10763
|
const ye = () => {
|
10728
10764
|
C(""), L.current.value = "", L.current.style.height = "auto";
|
10729
10765
|
}, h = (R, oe) => {
|
10730
10766
|
W({
|
10731
|
-
name: `${
|
10767
|
+
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
|
10732
10768
|
payload: {
|
10733
10769
|
category: "2u",
|
10734
10770
|
label: "xpert-chatbot",
|
10735
|
-
linkCount:
|
10771
|
+
linkCount: Hh(R),
|
10736
10772
|
apiResponseMessage: R,
|
10737
10773
|
isTestUser: _,
|
10738
10774
|
conversationHistoryId: oe
|
@@ -10746,7 +10782,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10746
10782
|
conversationByteSize: je
|
10747
10783
|
}) => {
|
10748
10784
|
W({
|
10749
|
-
name: `${
|
10785
|
+
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.elapsed.seconds`,
|
10750
10786
|
payload: {
|
10751
10787
|
category: "2u",
|
10752
10788
|
label: "xpert-chatbot",
|
@@ -10763,10 +10799,10 @@ function Xr({ submitEventExternal: e }) {
|
|
10763
10799
|
if (R.trim().length === 0)
|
10764
10800
|
return;
|
10765
10801
|
const oe = /* @__PURE__ */ new Date();
|
10766
|
-
N(!1),
|
10767
|
-
const me = c.filter((
|
10802
|
+
N(!1), U(!1);
|
10803
|
+
const me = c.filter((j) => j.role === "user").length + 1;
|
10768
10804
|
W({
|
10769
|
-
name: `${
|
10805
|
+
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.sent`,
|
10770
10806
|
payload: {
|
10771
10807
|
category: "2u",
|
10772
10808
|
label: "xpert-chatbot",
|
@@ -10775,8 +10811,8 @@ function Xr({ submitEventExternal: e }) {
|
|
10775
10811
|
isTestUser: _
|
10776
10812
|
}
|
10777
10813
|
}), ye();
|
10778
|
-
let he = He.get(`${
|
10779
|
-
!he &&
|
10814
|
+
let he = He.get(`${l}-conversation-history-id`) || "";
|
10815
|
+
!he && n.conversationHistory.enabled ? f([
|
10780
10816
|
{
|
10781
10817
|
role: "user",
|
10782
10818
|
content: R
|
@@ -10794,10 +10830,10 @@ function Xr({ submitEventExternal: e }) {
|
|
10794
10830
|
role: "user",
|
10795
10831
|
content: R
|
10796
10832
|
}
|
10797
|
-
].map((
|
10798
|
-
role:
|
10799
|
-
content:
|
10800
|
-
})), be = await fetch(
|
10833
|
+
].map((j) => ({
|
10834
|
+
role: j.role,
|
10835
|
+
content: j.content
|
10836
|
+
})), be = await fetch(t.endpoint, {
|
10801
10837
|
method: "POST",
|
10802
10838
|
headers: {
|
10803
10839
|
"Content-Type": "application/json",
|
@@ -10805,13 +10841,13 @@ function Xr({ submitEventExternal: e }) {
|
|
10805
10841
|
},
|
10806
10842
|
body: JSON.stringify({
|
10807
10843
|
message_list: je,
|
10808
|
-
...
|
10844
|
+
...t.payloadParams
|
10809
10845
|
})
|
10810
10846
|
});
|
10811
10847
|
if (!be.ok)
|
10812
10848
|
throw new ar(`HTTPError: ${be.status} ${be.statusText}`);
|
10813
10849
|
he = be.headers.get("Conversation-History-Id"), he && He.set(
|
10814
|
-
`${
|
10850
|
+
`${l}-conversation-history-id`,
|
10815
10851
|
he,
|
10816
10852
|
{ expires: 1 }
|
10817
10853
|
);
|
@@ -10819,13 +10855,13 @@ function Xr({ submitEventExternal: e }) {
|
|
10819
10855
|
h(Xe, he);
|
10820
10856
|
const I = /* @__PURE__ */ new Date();
|
10821
10857
|
ge({
|
10822
|
-
conversationByteSize:
|
10858
|
+
conversationByteSize: $h(JSON.stringify(je)),
|
10823
10859
|
conversationSize: c.length + 2,
|
10824
10860
|
userInputMessage: R,
|
10825
10861
|
apiResponseMessage: Xe,
|
10826
|
-
elapsedSeconds:
|
10827
|
-
}), f((
|
10828
|
-
...
|
10862
|
+
elapsedSeconds: Yh(oe, I)
|
10863
|
+
}), f((j) => [
|
10864
|
+
...j,
|
10829
10865
|
{
|
10830
10866
|
role: "assistant",
|
10831
10867
|
content: Xe,
|
@@ -10834,11 +10870,11 @@ function Xr({ submitEventExternal: e }) {
|
|
10834
10870
|
}
|
10835
10871
|
]), O(!1), d(!1), ye(), N(!0);
|
10836
10872
|
} catch (oe) {
|
10837
|
-
d(!1), ye(),
|
10873
|
+
d(!1), ye(), U(!0), console.error(oe);
|
10838
10874
|
}
|
10839
10875
|
}, ie = () => {
|
10840
|
-
|
10841
|
-
name: `${
|
10876
|
+
M(!1), x(!0), W({
|
10877
|
+
name: `${o.prefix}.bi.xpert.chatbot.action.button.clicked`,
|
10842
10878
|
payload: {
|
10843
10879
|
category: "2u",
|
10844
10880
|
label: "xpert-chatbot",
|
@@ -10847,7 +10883,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10847
10883
|
});
|
10848
10884
|
}, De = (R) => {
|
10849
10885
|
W({
|
10850
|
-
name: `${
|
10886
|
+
name: `${o.prefix}.bi.xpert.chatbot.${R ? "normal" : "expand"}.size.button.clicked`,
|
10851
10887
|
payload: {
|
10852
10888
|
category: "2u",
|
10853
10889
|
label: "xpert-chatbot",
|
@@ -10856,7 +10892,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10856
10892
|
}), F(R);
|
10857
10893
|
}, xe = () => {
|
10858
10894
|
x(!0), W({
|
10859
|
-
name: `${
|
10895
|
+
name: `${o.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
|
10860
10896
|
payload: {
|
10861
10897
|
category: "2u",
|
10862
10898
|
label: "xpert-chatbot",
|
@@ -10865,7 +10901,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10865
10901
|
});
|
10866
10902
|
}, Be = () => {
|
10867
10903
|
W({
|
10868
|
-
name: `${
|
10904
|
+
name: `${o.prefix}.bi.xpert.chatbot.proactive.message.closed`,
|
10869
10905
|
payload: {
|
10870
10906
|
category: "2u",
|
10871
10907
|
label: "xpert-chatbot",
|
@@ -10874,7 +10910,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10874
10910
|
});
|
10875
10911
|
}, ze = () => {
|
10876
10912
|
x(!1), G(!1), W({
|
10877
|
-
name: `${
|
10913
|
+
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.minimized`,
|
10878
10914
|
payload: {
|
10879
10915
|
category: "2u",
|
10880
10916
|
label: "xpert-chatbot",
|
@@ -10890,11 +10926,11 @@ function Xr({ submitEventExternal: e }) {
|
|
10890
10926
|
)}px`);
|
10891
10927
|
}, it = (R) => {
|
10892
10928
|
C(R.target.value);
|
10893
|
-
},
|
10894
|
-
R.key === "Enter" &&
|
10895
|
-
},
|
10929
|
+
}, kt = (R) => {
|
10930
|
+
R.key === "Enter" && E.trim() === "" || R.key === "Enter" && !R.shiftKey && (R.preventDefault(), Te(E));
|
10931
|
+
}, Et = (R, oe = "") => {
|
10896
10932
|
const me = c.map((he, je) => R === je ? (W({
|
10897
|
-
name: `${
|
10933
|
+
name: `${o.prefix}.bi.xpert.chatbot.feedback.thumbs.${oe.toLowerCase()}.clicked`,
|
10898
10934
|
payload: {
|
10899
10935
|
category: "2u",
|
10900
10936
|
label: "xpert-chatbot",
|
@@ -10912,29 +10948,29 @@ function Xr({ submitEventExternal: e }) {
|
|
10912
10948
|
return (
|
10913
10949
|
// do not remove this class as it's needed to turn off chatbot
|
10914
10950
|
/* @__PURE__ */ k.jsxs("div", { className: "xpert-chatbot-frontend-killswitch", children: [
|
10915
|
-
|
10951
|
+
i.enabled && /* @__PURE__ */ k.jsx(
|
10916
10952
|
Wa,
|
10917
10953
|
{
|
10918
10954
|
showMessage: !D,
|
10919
|
-
style: s ? { ...
|
10955
|
+
style: s ? { ...i.style.mobile } : { ...i.style },
|
10920
10956
|
onClose: Be,
|
10921
10957
|
onClick: xe,
|
10922
|
-
cookieName: `${
|
10958
|
+
cookieName: `${l}-proactive-message-xpert-chatbot`,
|
10923
10959
|
children: /* @__PURE__ */ k.jsx("div", { className: "xpert-chatbot-proactive-message", children: /* @__PURE__ */ k.jsxs("div", { className: "xpert-chatbot-proactive-message__text", children: [
|
10924
|
-
|
10925
|
-
|
10960
|
+
i.prefix && /* @__PURE__ */ k.jsx("span", { children: i.prefix }),
|
10961
|
+
i.showEmoji && /* @__PURE__ */ k.jsx(
|
10926
10962
|
"span",
|
10927
10963
|
{
|
10928
10964
|
role: "img",
|
10929
10965
|
"aria-label": "Hand wave emoji",
|
10930
10966
|
className: "xpert-chatbot-proactive-message__wave",
|
10931
10967
|
style: {
|
10932
|
-
margin:
|
10968
|
+
margin: i.prefix ? "0 5px" : "0 5px 0 0"
|
10933
10969
|
},
|
10934
10970
|
children: "👋"
|
10935
10971
|
}
|
10936
10972
|
),
|
10937
|
-
/* @__PURE__ */ k.jsx("span", { children:
|
10973
|
+
/* @__PURE__ */ k.jsx("span", { children: i.text })
|
10938
10974
|
] }) })
|
10939
10975
|
}
|
10940
10976
|
),
|
@@ -10944,7 +10980,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10944
10980
|
{
|
10945
10981
|
onClick: ie,
|
10946
10982
|
label: "Open XPERT Chatbot",
|
10947
|
-
style: s ? { ...(ot =
|
10983
|
+
style: s ? { ...(ot = r.style) == null ? void 0 : ot.mobile } : { ...r.style },
|
10948
10984
|
"aria-haspopup": "dialog",
|
10949
10985
|
"aria-expanded": D,
|
10950
10986
|
className: "xpert-chatbot-button",
|
@@ -10953,17 +10989,17 @@ function Xr({ submitEventExternal: e }) {
|
|
10953
10989
|
{
|
10954
10990
|
"data-ot-ignore": "",
|
10955
10991
|
className: "xpert-chatbot-button__logo optanon-category-C0001",
|
10956
|
-
src:
|
10992
|
+
src: Gh[l],
|
10957
10993
|
alt: "xpert logo",
|
10958
10994
|
"aria-hidden": !0,
|
10959
|
-
style: { width: (at =
|
10995
|
+
style: { width: (at = r.style) == null ? void 0 : at.iconWidth }
|
10960
10996
|
}
|
10961
10997
|
)
|
10962
10998
|
}
|
10963
10999
|
),
|
10964
|
-
/* @__PURE__ */ k.jsx(
|
11000
|
+
/* @__PURE__ */ k.jsx(Wh, {})
|
10965
11001
|
] }),
|
10966
|
-
D && !
|
11002
|
+
D && !A && /* @__PURE__ */ k.jsx(Kr, { isNormalSize: b, isMounted: q, children: /* @__PURE__ */ k.jsx(
|
10967
11003
|
"div",
|
10968
11004
|
{
|
10969
11005
|
ref: z,
|
@@ -10976,7 +11012,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10976
11012
|
{
|
10977
11013
|
onClose: ze,
|
10978
11014
|
isMounted: q,
|
10979
|
-
isNormalSize:
|
11015
|
+
isNormalSize: b,
|
10980
11016
|
setIsMounted: G,
|
10981
11017
|
setIsNormalSize: De
|
10982
11018
|
}
|
@@ -10995,26 +11031,26 @@ function Xr({ submitEventExternal: e }) {
|
|
10995
11031
|
{
|
10996
11032
|
messages: c,
|
10997
11033
|
loading: m,
|
10998
|
-
isNormalSize: s ||
|
10999
|
-
onFeedbackThumbSelection:
|
11034
|
+
isNormalSize: s || b,
|
11035
|
+
onFeedbackThumbSelection: Et,
|
11000
11036
|
onPromptClick: Te,
|
11001
11037
|
handleMessageLinkClicked: g,
|
11002
11038
|
submitEvent: W,
|
11003
|
-
setLiveChatOpen:
|
11039
|
+
setLiveChatOpen: M,
|
11004
11040
|
isTestUser: _
|
11005
11041
|
}
|
11006
11042
|
),
|
11007
11043
|
m && /* @__PURE__ */ k.jsx(Va, { disableScroll: K }),
|
11008
|
-
|
11044
|
+
H && /* @__PURE__ */ k.jsx(ar, {})
|
11009
11045
|
]
|
11010
11046
|
}
|
11011
11047
|
),
|
11012
11048
|
/* @__PURE__ */ k.jsxs("div", { style: { marginTop: "auto", display: "flex" }, children: [
|
11013
|
-
|
11049
|
+
n.liveChat.enabled && /* @__PURE__ */ k.jsx(
|
11014
11050
|
Ln,
|
11015
11051
|
{
|
11016
11052
|
submitEvent: W,
|
11017
|
-
setLiveChatOpen:
|
11053
|
+
setLiveChatOpen: M,
|
11018
11054
|
isTestUser: _,
|
11019
11055
|
containerStyle: { margin: "auto -1rem auto 1rem" },
|
11020
11056
|
buttonClassName: "xpert-chatbot-popup__live-chat--btn-outline"
|
@@ -11026,12 +11062,12 @@ function Xr({ submitEventExternal: e }) {
|
|
11026
11062
|
inputRef: L,
|
11027
11063
|
loading: m,
|
11028
11064
|
hasXpertMessages: w,
|
11029
|
-
hasError:
|
11030
|
-
userInput:
|
11065
|
+
hasError: H,
|
11066
|
+
userInput: E,
|
11031
11067
|
handleSend: Te,
|
11032
11068
|
handleInput: Ke,
|
11033
11069
|
handleChange: it,
|
11034
|
-
handleKeyDown:
|
11070
|
+
handleKeyDown: kt
|
11035
11071
|
}
|
11036
11072
|
) })
|
11037
11073
|
] })
|
@@ -11052,14 +11088,14 @@ const Ga = ({ children: e, configurations: t = {}, xpertKey: n = null }) => {
|
|
11052
11088
|
configurations: t,
|
11053
11089
|
xpertKey: n
|
11054
11090
|
};
|
11055
|
-
return /* @__PURE__ */ k.jsx(
|
11091
|
+
return /* @__PURE__ */ k.jsx(Eo, { ...r, children: e });
|
11056
11092
|
};
|
11057
11093
|
Ga.propTypes = {
|
11058
11094
|
children: T.element,
|
11059
11095
|
configurations: T.object,
|
11060
11096
|
xpertKey: T.string
|
11061
11097
|
};
|
11062
|
-
function
|
11098
|
+
function Xh({ configurations: e = {}, key: t, submitEventExternal: n, xpertKey: r }) {
|
11063
11099
|
return /* @__PURE__ */ k.jsx(
|
11064
11100
|
Ga,
|
11065
11101
|
{
|
@@ -11070,14 +11106,14 @@ function Kh({ configurations: e = {}, key: t, submitEventExternal: n, xpertKey:
|
|
11070
11106
|
t
|
11071
11107
|
);
|
11072
11108
|
}
|
11073
|
-
|
11109
|
+
Xh.propTypes = {
|
11074
11110
|
configurations: T.object,
|
11075
11111
|
key: T.string,
|
11076
11112
|
submitEventExternal: T.func,
|
11077
11113
|
xpertKey: T.string.isRequired
|
11078
11114
|
};
|
11079
11115
|
export {
|
11080
|
-
|
11116
|
+
Xh as Chatbot,
|
11081
11117
|
Jl as EDXConfig,
|
11082
11118
|
es as EmersonSpeechConfig,
|
11083
11119
|
ts as GetSmarterConfig,
|