lr-chatbot 0.31.6 → 0.31.8
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/index.js +741 -741
- package/index.js.map +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -12,7 +12,7 @@ function ch(t) {
|
|
|
12
12
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
|
13
13
|
}
|
|
14
14
|
function uh(t) {
|
|
15
|
-
if (Array.isArray(t)) return
|
|
15
|
+
if (Array.isArray(t)) return Ja(t);
|
|
16
16
|
}
|
|
17
17
|
function dh(t, r) {
|
|
18
18
|
var e = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
@@ -48,19 +48,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
48
48
|
}
|
|
49
49
|
function Xc(t, r) {
|
|
50
50
|
if (t) {
|
|
51
|
-
if (typeof t == "string") return
|
|
51
|
+
if (typeof t == "string") return Ja(t, r);
|
|
52
52
|
var e = {}.toString.call(t).slice(8, -1);
|
|
53
|
-
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ?
|
|
53
|
+
return e === "Object" && t.constructor && (e = t.constructor.name), e === "Map" || e === "Set" ? Array.from(t) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? Ja(t, r) : void 0;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Ja(t, r) {
|
|
57
57
|
(r == null || r > t.length) && (r = t.length);
|
|
58
58
|
for (var e = 0, n = Array(r); e < r; e++) n[e] = t[e];
|
|
59
59
|
return n;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Za(t) {
|
|
62
62
|
var r = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
63
|
-
return
|
|
63
|
+
return Za = function(n) {
|
|
64
64
|
if (n === null || !ph(n)) return n;
|
|
65
65
|
if (typeof n != "function") throw new TypeError("Super expression must either be null or a function");
|
|
66
66
|
if (r !== void 0) {
|
|
@@ -71,7 +71,7 @@ function Ja(t) {
|
|
|
71
71
|
return hh(n, arguments, ar(this).constructor);
|
|
72
72
|
}
|
|
73
73
|
return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), sr(i, n);
|
|
74
|
-
},
|
|
74
|
+
}, Za(t);
|
|
75
75
|
}
|
|
76
76
|
function hh(t, r, e) {
|
|
77
77
|
if (xs()) return Reflect.construct.apply(null, arguments);
|
|
@@ -540,7 +540,7 @@ var gh = /* @__PURE__ */ function() {
|
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
}]);
|
|
543
|
-
}(),
|
|
543
|
+
}(), Ya = /* @__PURE__ */ function() {
|
|
544
544
|
function t() {
|
|
545
545
|
_(this, t);
|
|
546
546
|
}
|
|
@@ -559,8 +559,8 @@ var gh = /* @__PURE__ */ function() {
|
|
|
559
559
|
}
|
|
560
560
|
}]);
|
|
561
561
|
}();
|
|
562
|
-
|
|
563
|
-
var eu =
|
|
562
|
+
Ya.FONT_URL = "https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap", Ya.DEFAULT_FONT_FAMILY = "'Inter', sans-serif, Avenir, Helvetica, Arial";
|
|
563
|
+
var eu = Ya, tu = /* @__PURE__ */ function() {
|
|
564
564
|
function t() {
|
|
565
565
|
_(this, t);
|
|
566
566
|
}
|
|
@@ -606,11 +606,11 @@ tu.DEFAULT_COMPONENT_STYLE = {
|
|
|
606
606
|
// this is also causing the chat to squeeze when there is no space
|
|
607
607
|
overflow: "hidden"
|
|
608
608
|
};
|
|
609
|
-
var
|
|
609
|
+
var da = tu, ke = /* @__PURE__ */ function(t) {
|
|
610
610
|
return t.ESCAPE = "Escape", t.ENTER = "Enter", t.TAB = "Tab", t.ARROW_UP = "ArrowUp", t.ARROW_DOWN = "ArrowDown", t.ARROW_RIGHT = "ArrowRight", t.ARROW_LEFT = "ArrowLeft", t.BACKSPACE = "Backspace", t.DELETE = "Delete", t.META = "Meta", t.CONTROL = "Control", t;
|
|
611
|
-
}(ke || {}),
|
|
611
|
+
}(ke || {}), Fr, bn = (Fr = /* @__PURE__ */ S(function t() {
|
|
612
612
|
_(this, t);
|
|
613
|
-
}),
|
|
613
|
+
}), Fr.IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), Fr.IS_CHROMIUM = window.chrome, Fr), nu = /* @__PURE__ */ function() {
|
|
614
614
|
function t() {
|
|
615
615
|
_(this, t);
|
|
616
616
|
}
|
|
@@ -660,7 +660,7 @@ var yh = nu, bh = /* @__PURE__ */ function() {
|
|
|
660
660
|
a && ((i = document.execCommand) == null || i.call(document, "insertText", !1, a));
|
|
661
661
|
}
|
|
662
662
|
}]);
|
|
663
|
-
}(),
|
|
663
|
+
}(), Xa = /* @__PURE__ */ function() {
|
|
664
664
|
function t(r, e, n) {
|
|
665
665
|
var i = this;
|
|
666
666
|
_(this, t);
|
|
@@ -757,8 +757,8 @@ var yh = nu, bh = /* @__PURE__ */ function() {
|
|
|
757
757
|
}
|
|
758
758
|
}]);
|
|
759
759
|
}();
|
|
760
|
-
|
|
761
|
-
var or =
|
|
760
|
+
Xa.TEXT_INPUT_ID = "text-input", Xa.PLACEHOLDER_TEXT_CLASS = "text-input-placeholder";
|
|
761
|
+
var or = Xa, ru = /* @__PURE__ */ function() {
|
|
762
762
|
function t() {
|
|
763
763
|
_(this, t);
|
|
764
764
|
}
|
|
@@ -882,7 +882,7 @@ var De = iu, au = /* @__PURE__ */ function() {
|
|
|
882
882
|
}]);
|
|
883
883
|
}();
|
|
884
884
|
au.LOAD_VOICES_MS = 200;
|
|
885
|
-
var
|
|
885
|
+
var qr = au, Be = /* @__PURE__ */ function() {
|
|
886
886
|
function t() {
|
|
887
887
|
_(this, t);
|
|
888
888
|
}
|
|
@@ -1048,7 +1048,7 @@ var Eo = su, ou = /* @__PURE__ */ function() {
|
|
|
1048
1048
|
}]);
|
|
1049
1049
|
}();
|
|
1050
1050
|
ou.NAME_CLASS = "name";
|
|
1051
|
-
var Ao = ou,
|
|
1051
|
+
var Ao = ou, Vr = /* @__PURE__ */ function() {
|
|
1052
1052
|
function t() {
|
|
1053
1053
|
_(this, t);
|
|
1054
1054
|
}
|
|
@@ -1139,8 +1139,8 @@ var Ao = ou, qr = /* @__PURE__ */ function() {
|
|
|
1139
1139
|
}
|
|
1140
1140
|
}]);
|
|
1141
1141
|
}();
|
|
1142
|
-
|
|
1143
|
-
var Z =
|
|
1142
|
+
Vr.AI_ROLE = "ai", Vr.USER_ROLE = "user", Vr.EMPTY_MESSAGE_CLASS = "empty-message";
|
|
1143
|
+
var Z = Vr, lu = /* @__PURE__ */ function() {
|
|
1144
1144
|
function t() {
|
|
1145
1145
|
_(this, t);
|
|
1146
1146
|
}
|
|
@@ -1170,7 +1170,7 @@ var Z = qr, lu = /* @__PURE__ */ function() {
|
|
|
1170
1170
|
e.addEventListener("mouseenter", t.mouseEnter.bind(this, e, n)), e.addEventListener("mouseleave", t.mouseLeave.bind(this, e, n)), e.addEventListener("mousedown", t.mouseDown.bind(this, e, n)), e.addEventListener("mouseup", t.mouseUp.bind(this, e, n));
|
|
1171
1171
|
}
|
|
1172
1172
|
}]);
|
|
1173
|
-
}(), Eh = "deep-chat-temporary-message", Ah = "deep-chat-suggestion-button",
|
|
1173
|
+
}(), Eh = "deep-chat-temporary-message", Ah = "deep-chat-suggestion-button", Qa = {
|
|
1174
1174
|
"deep-chat-button": {
|
|
1175
1175
|
styles: {
|
|
1176
1176
|
default: {
|
|
@@ -1190,7 +1190,7 @@ var Z = qr, lu = /* @__PURE__ */ function() {
|
|
|
1190
1190
|
}
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
1193
|
-
}, To = Object.keys(
|
|
1193
|
+
}, To = Object.keys(Qa), ci = /* @__PURE__ */ function() {
|
|
1194
1194
|
function t() {
|
|
1195
1195
|
_(this, t);
|
|
1196
1196
|
}
|
|
@@ -1222,7 +1222,7 @@ var Z = qr, lu = /* @__PURE__ */ function() {
|
|
|
1222
1222
|
}, {
|
|
1223
1223
|
key: "applyEvents",
|
|
1224
1224
|
value: function(e, n) {
|
|
1225
|
-
var i =
|
|
1225
|
+
var i = Qa[n].events;
|
|
1226
1226
|
Object.keys(i || []).forEach(function(a) {
|
|
1227
1227
|
e.addEventListener(a, i == null ? void 0 : i[a]);
|
|
1228
1228
|
});
|
|
@@ -1233,7 +1233,7 @@ var Z = qr, lu = /* @__PURE__ */ function() {
|
|
|
1233
1233
|
var a = Array.from(n.classList).reduce(function(c, u) {
|
|
1234
1234
|
var d, h = (d = e[u]) == null ? void 0 : d.styles;
|
|
1235
1235
|
return h && e[u].styles && c.push(h), c;
|
|
1236
|
-
}, []), s =
|
|
1236
|
+
}, []), s = Qa[i].styles;
|
|
1237
1237
|
if (s) {
|
|
1238
1238
|
var o = JSON.parse(JSON.stringify(s));
|
|
1239
1239
|
o.default && Se.overwriteDefaultWithAlreadyApplied(o, n), a.unshift(o);
|
|
@@ -1279,7 +1279,7 @@ var Z = qr, lu = /* @__PURE__ */ function() {
|
|
|
1279
1279
|
key: "applyClassUtilitiesToElement",
|
|
1280
1280
|
value: function(e, n) {
|
|
1281
1281
|
var i = n.events, a = n.styles;
|
|
1282
|
-
i && t.applyEventsToElement(e, i), a && !
|
|
1282
|
+
i && t.applyEventsToElement(e, i), a && !ci.doesElementContainDeepChatClass(e) && t.applyStylesToElement(e, a);
|
|
1283
1283
|
}
|
|
1284
1284
|
}, {
|
|
1285
1285
|
key: "applyCustomClassUtilities",
|
|
@@ -1294,7 +1294,7 @@ var Z = qr, lu = /* @__PURE__ */ function() {
|
|
|
1294
1294
|
}, {
|
|
1295
1295
|
key: "apply",
|
|
1296
1296
|
value: function(e, n) {
|
|
1297
|
-
|
|
1297
|
+
ci.applyDeepChatUtilities(e, e.htmlClassUtilities, n), t.applyCustomClassUtilities(e.htmlClassUtilities, n);
|
|
1298
1298
|
}
|
|
1299
1299
|
}, {
|
|
1300
1300
|
key: "traverseNodes",
|
|
@@ -1312,7 +1312,7 @@ var Z = qr, lu = /* @__PURE__ */ function() {
|
|
|
1312
1312
|
}), i;
|
|
1313
1313
|
}
|
|
1314
1314
|
}]);
|
|
1315
|
-
}(),
|
|
1315
|
+
}(), es = /* @__PURE__ */ function() {
|
|
1316
1316
|
function t() {
|
|
1317
1317
|
_(this, t);
|
|
1318
1318
|
}
|
|
@@ -1347,9 +1347,9 @@ var Z = qr, lu = /* @__PURE__ */ function() {
|
|
|
1347
1347
|
return Z.fillEmptyMessageElement(u.bubbleElement, n), kn.apply(e, u.outerContainer), Be.flagHTMLUpdateClass(u.bubbleElement), e.applyCustomStyles(u, i, !1, (l = e.messageStyles) == null ? void 0 : l.html), o || t.addElement(e, u.outerContainer), u;
|
|
1348
1348
|
}
|
|
1349
1349
|
}]);
|
|
1350
|
-
}(),
|
|
1350
|
+
}(), Nr;
|
|
1351
1351
|
function cu(t) {
|
|
1352
|
-
return
|
|
1352
|
+
return Nr = Nr || document.createElement("textarea"), Nr.innerHTML = "&" + t + ";", Nr.value;
|
|
1353
1353
|
}
|
|
1354
1354
|
var Th = Object.prototype.hasOwnProperty;
|
|
1355
1355
|
function Rh(t, r) {
|
|
@@ -1373,7 +1373,7 @@ function lr(t) {
|
|
|
1373
1373
|
function du(t) {
|
|
1374
1374
|
return !(t >= 55296 && t <= 57343 || t >= 64976 && t <= 65007 || (t & 65535) === 65535 || (t & 65535) === 65534 || t >= 0 && t <= 8 || t === 11 || t >= 14 && t <= 31 || t >= 127 && t <= 159 || t > 1114111);
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1376
|
+
function ts(t) {
|
|
1377
1377
|
if (t > 65535) {
|
|
1378
1378
|
t -= 65536;
|
|
1379
1379
|
var r = 55296 + (t >> 10), e = 56320 + (t & 1023);
|
|
@@ -1384,7 +1384,7 @@ function es(t) {
|
|
|
1384
1384
|
var Ih = /&([a-z#][a-z0-9]{1,31});/gi, Lh = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;
|
|
1385
1385
|
function Mh(t, r) {
|
|
1386
1386
|
var e = 0, n = cu(r);
|
|
1387
|
-
return r !== n ? n : r.charCodeAt(0) === 35 && Lh.test(r) && (e = r[1].toLowerCase() === "x" ? parseInt(r.slice(2), 16) : parseInt(r.slice(1), 10), du(e)) ?
|
|
1387
|
+
return r !== n ? n : r.charCodeAt(0) === 35 && Lh.test(r) && (e = r[1].toLowerCase() === "x" ? parseInt(r.slice(2), 16) : parseInt(r.slice(1), 10), du(e)) ? ts(e) : t;
|
|
1388
1388
|
}
|
|
1389
1389
|
function qt(t) {
|
|
1390
1390
|
return t.indexOf("&") < 0 ? t : t.replace(Ih, Mh);
|
|
@@ -1777,7 +1777,7 @@ function jh(t) {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
}
|
|
1779
1779
|
}
|
|
1780
|
-
function
|
|
1780
|
+
function ns(t) {
|
|
1781
1781
|
var r = qt(t);
|
|
1782
1782
|
try {
|
|
1783
1783
|
r = decodeURI(r);
|
|
@@ -1790,7 +1790,7 @@ function pu(t, r) {
|
|
|
1790
1790
|
if (t.src.charCodeAt(r) === 60) {
|
|
1791
1791
|
for (r++; r < s; ) {
|
|
1792
1792
|
if (e = t.src.charCodeAt(r), e === 10) return !1;
|
|
1793
|
-
if (e === 62) return i =
|
|
1793
|
+
if (e === 62) return i = ns(lr(t.src.slice(a + 1, r))), t.parser.validateLink(i) ? (t.pos = r + 1, t.linkContent = i, !0) : !1;
|
|
1794
1794
|
if (e === 92 && r + 1 < s) {
|
|
1795
1795
|
r += 2;
|
|
1796
1796
|
continue;
|
|
@@ -1895,17 +1895,17 @@ function qh(t) {
|
|
|
1895
1895
|
}
|
|
1896
1896
|
var Ro = `
|
|
1897
1897
|
()[]'".,!?-`;
|
|
1898
|
-
function
|
|
1898
|
+
function ha(t) {
|
|
1899
1899
|
return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g, "\\$1");
|
|
1900
1900
|
}
|
|
1901
1901
|
function Vh(t) {
|
|
1902
1902
|
var r, e, n, i, a, s, o, l, c, u, d, h, p = t.tokens;
|
|
1903
1903
|
if (t.env.abbreviations) {
|
|
1904
|
-
for (t.env.abbrRegExp || (h = "(^|[" + Ro.split("").map(
|
|
1904
|
+
for (t.env.abbrRegExp || (h = "(^|[" + Ro.split("").map(ha).join("") + "])(" + Object.keys(t.env.abbreviations).map(function(f) {
|
|
1905
1905
|
return f.substr(1);
|
|
1906
1906
|
}).sort(function(f, g) {
|
|
1907
1907
|
return g.length - f.length;
|
|
1908
|
-
}).map(
|
|
1908
|
+
}).map(ha).join("|") + ")($|[" + Ro.split("").map(ha).join("") + "])", t.env.abbrRegExp = new RegExp(h, "g")), u = t.env.abbrRegExp, e = 0, n = p.length; e < n; e++) if (p[e].type === "inline") {
|
|
1909
1909
|
for (i = p[e].children, r = i.length - 1; r >= 0; r--) if (a = i[r], a.type === "text") {
|
|
1910
1910
|
for (l = 0, s = a.content, u.lastIndex = 0, c = a.level, o = []; d = u.exec(s); ) u.lastIndex > l && o.push({
|
|
1911
1911
|
type: "text",
|
|
@@ -1985,10 +1985,10 @@ function Qh(t) {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
}
|
|
1987
1987
|
}
|
|
1988
|
-
var
|
|
1988
|
+
var pa = [["block", Dh], ["abbr", jh], ["references", Uh], ["inline", zh], ["footnote_tail", qh], ["abbr2", Vh], ["replacements", Zh], ["smartquotes", Qh]];
|
|
1989
1989
|
function gu() {
|
|
1990
1990
|
this.options = {}, this.ruler = new He();
|
|
1991
|
-
for (var t = 0; t <
|
|
1991
|
+
for (var t = 0; t < pa.length; t++) this.ruler.push(pa[t][0], pa[t][1]);
|
|
1992
1992
|
}
|
|
1993
1993
|
gu.prototype.process = function(t) {
|
|
1994
1994
|
var r, e, n;
|
|
@@ -2254,13 +2254,13 @@ function hp(t, r, e, n) {
|
|
|
2254
2254
|
content: t.getLines(r, s, 0, !0)
|
|
2255
2255
|
}), !0;
|
|
2256
2256
|
}
|
|
2257
|
-
function
|
|
2257
|
+
function fa(t, r) {
|
|
2258
2258
|
var e = t.bMarks[r] + t.blkIndent, n = t.eMarks[r];
|
|
2259
2259
|
return t.src.substr(e, n - e);
|
|
2260
2260
|
}
|
|
2261
2261
|
function pp(t, r, e, n) {
|
|
2262
2262
|
var i, a, s, o, l, c, u, d, h, p, f;
|
|
2263
|
-
if (r + 2 > e || (l = r + 1, t.tShift[l] < t.blkIndent) || (s = t.bMarks[l] + t.tShift[l], s >= t.eMarks[l]) || (i = t.src.charCodeAt(s), i !== 124 && i !== 45 && i !== 58) || (a =
|
|
2263
|
+
if (r + 2 > e || (l = r + 1, t.tShift[l] < t.blkIndent) || (s = t.bMarks[l] + t.tShift[l], s >= t.eMarks[l]) || (i = t.src.charCodeAt(s), i !== 124 && i !== 45 && i !== 58) || (a = fa(t, r + 1), !/^[-:| ]+$/.test(a)) || (c = a.split("|"), c <= 2)) return !1;
|
|
2264
2264
|
for (d = [], o = 0; o < c.length; o++) {
|
|
2265
2265
|
if (h = c[o].trim(), !h) {
|
|
2266
2266
|
if (o === 0 || o === c.length - 1) continue;
|
|
@@ -2269,7 +2269,7 @@ function pp(t, r, e, n) {
|
|
|
2269
2269
|
if (!/^:?-+:?$/.test(h)) return !1;
|
|
2270
2270
|
h.charCodeAt(h.length - 1) === 58 ? d.push(h.charCodeAt(0) === 58 ? "center" : "right") : h.charCodeAt(0) === 58 ? d.push("left") : d.push("");
|
|
2271
2271
|
}
|
|
2272
|
-
if (a =
|
|
2272
|
+
if (a = fa(t, r).trim(), a.indexOf("|") === -1 || (c = a.replace(/^\||\|$/g, "").split("|"), d.length !== c.length)) return !1;
|
|
2273
2273
|
if (n) return !0;
|
|
2274
2274
|
for (t.tokens.push({
|
|
2275
2275
|
type: "table_open",
|
|
@@ -2308,7 +2308,7 @@ function pp(t, r, e, n) {
|
|
|
2308
2308
|
type: "tbody_open",
|
|
2309
2309
|
lines: f = [r + 2, 0],
|
|
2310
2310
|
level: t.level++
|
|
2311
|
-
}), l = r + 2; l < e && !(t.tShift[l] < t.blkIndent || (a =
|
|
2311
|
+
}), l = r + 2; l < e && !(t.tShift[l] < t.blkIndent || (a = fa(t, l).trim(), a.indexOf("|") === -1)); l++) {
|
|
2312
2312
|
for (c = a.replace(/^\||\|$/g, "").split("|"), t.tokens.push({
|
|
2313
2313
|
type: "tr_open",
|
|
2314
2314
|
level: t.level++
|
|
@@ -2338,7 +2338,7 @@ function pp(t, r, e, n) {
|
|
|
2338
2338
|
level: --t.level
|
|
2339
2339
|
}), p[1] = f[1] = l, t.line = l, !0;
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2341
|
+
function Dr(t, r) {
|
|
2342
2342
|
var e, n, i = t.bMarks[r] + t.tShift[r], a = t.eMarks[r];
|
|
2343
2343
|
return i >= a || (n = t.src.charCodeAt(i++), n !== 126 && n !== 58) || (e = t.skipSpaces(i), i === e) || e >= a ? -1 : e;
|
|
2344
2344
|
}
|
|
@@ -2348,8 +2348,8 @@ function fp(t, r) {
|
|
|
2348
2348
|
}
|
|
2349
2349
|
function mp(t, r, e, n) {
|
|
2350
2350
|
var i, a, s, o, l, c, u, d, h, p, f, g, y, v;
|
|
2351
|
-
if (n) return t.ddIndent < 0 ? !1 :
|
|
2352
|
-
if (u = r + 1, t.isEmpty(u) && ++u > e || t.tShift[u] < t.blkIndent || (i =
|
|
2351
|
+
if (n) return t.ddIndent < 0 ? !1 : Dr(t, r) >= 0;
|
|
2352
|
+
if (u = r + 1, t.isEmpty(u) && ++u > e || t.tShift[u] < t.blkIndent || (i = Dr(t, u), i < 0) || t.level >= t.options.maxNesting) return !1;
|
|
2353
2353
|
c = t.tokens.length, t.tokens.push({
|
|
2354
2354
|
type: "dl_open",
|
|
2355
2355
|
lines: l = [r, 0],
|
|
@@ -2378,10 +2378,10 @@ function mp(t, r, e, n) {
|
|
|
2378
2378
|
type: "dd_close",
|
|
2379
2379
|
level: --t.level
|
|
2380
2380
|
}), o[1] = u = t.line, u >= e || t.tShift[u] < t.blkIndent) break e;
|
|
2381
|
-
if (i =
|
|
2381
|
+
if (i = Dr(t, u), i < 0) break;
|
|
2382
2382
|
a = u;
|
|
2383
2383
|
}
|
|
2384
|
-
if (u >= e || (s = u, t.isEmpty(s)) || t.tShift[s] < t.blkIndent || (a = s + 1, a >= e) || (t.isEmpty(a) && a++, a >= e) || t.tShift[a] < t.blkIndent || (i =
|
|
2384
|
+
if (u >= e || (s = u, t.isEmpty(s)) || t.tShift[s] < t.blkIndent || (a = s + 1, a >= e) || (t.isEmpty(a) && a++, a >= e) || t.tShift[a] < t.blkIndent || (i = Dr(t, a), i < 0)) break;
|
|
2385
2385
|
}
|
|
2386
2386
|
return t.tokens.push({
|
|
2387
2387
|
type: "dl_close",
|
|
@@ -2416,11 +2416,11 @@ function gp(t, r) {
|
|
|
2416
2416
|
level: t.level
|
|
2417
2417
|
})), !0;
|
|
2418
2418
|
}
|
|
2419
|
-
var
|
|
2419
|
+
var Br = [["code", ep], ["fences", tp, ["paragraph", "blockquote", "list"]], ["blockquote", np, ["paragraph", "blockquote", "list"]], ["hr", rp, ["paragraph", "blockquote", "list"]], ["list", ap, ["paragraph", "blockquote"]], ["footnote", sp, ["paragraph"]], ["heading", op, ["paragraph", "blockquote"]], ["lheading", lp], ["htmlblock", hp, ["paragraph", "blockquote"]], ["table", pp, ["paragraph"]], ["deflist", mp, ["paragraph"]], ["paragraph", gp]];
|
|
2420
2420
|
function Rs() {
|
|
2421
2421
|
this.ruler = new He();
|
|
2422
|
-
for (var t = 0; t <
|
|
2423
|
-
alt: (
|
|
2422
|
+
for (var t = 0; t < Br.length; t++) this.ruler.push(Br[t][0], Br[t][1], {
|
|
2423
|
+
alt: (Br[t][2] || []).slice()
|
|
2424
2424
|
});
|
|
2425
2425
|
}
|
|
2426
2426
|
Rs.prototype.tokenize = function(t, r, e) {
|
|
@@ -2744,7 +2744,7 @@ function $p(t, r) {
|
|
|
2744
2744
|
var Fp = ["coap", "doi", "javascript", "aaa", "aaas", "about", "acap", "cap", "cid", "crid", "data", "dav", "dict", "dns", "file", "ftp", "geo", "go", "gopher", "h323", "http", "https", "iax", "icap", "im", "imap", "info", "ipp", "iris", "iris.beep", "iris.xpc", "iris.xpcs", "iris.lwz", "ldap", "mailto", "mid", "msrp", "msrps", "mtqp", "mupdate", "news", "nfs", "ni", "nih", "nntp", "opaquelocktoken", "pop", "pres", "rtsp", "service", "session", "shttp", "sieve", "sip", "sips", "sms", "snmp", "soap.beep", "soap.beeps", "tag", "tel", "telnet", "tftp", "thismessage", "tn3270", "tip", "tv", "urn", "vemmi", "ws", "wss", "xcon", "xcon-userid", "xmlrpc.beep", "xmlrpc.beeps", "xmpp", "z39.50r", "z39.50s", "adiumxtra", "afp", "afs", "aim", "apt", "attachment", "aw", "beshare", "bitcoin", "bolo", "callto", "chrome", "chrome-extension", "com-eventbrite-attendee", "content", "cvs", "dlna-playsingle", "dlna-playcontainer", "dtn", "dvb", "ed2k", "facetime", "feed", "finger", "fish", "gg", "git", "gizmoproject", "gtalk", "hcp", "icon", "ipn", "irc", "irc6", "ircs", "itms", "jar", "jms", "keyparc", "lastfm", "ldaps", "magnet", "maps", "market", "message", "mms", "ms-help", "msnim", "mumble", "mvn", "notes", "oid", "palm", "paparazzi", "platform", "proxy", "psyc", "query", "res", "resource", "rmi", "rsync", "rtmp", "secondlife", "sftp", "sgn", "skype", "smb", "soldat", "spotify", "ssh", "steam", "svn", "teamspeak", "things", "udp", "unreal", "ut2004", "ventrilo", "view-source", "webcal", "wtai", "wyciwyg", "xfire", "xri", "ymsgr"], Np = /^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/, Dp = /^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;
|
|
2745
2745
|
function Bp(t, r) {
|
|
2746
2746
|
var e, n, i, a, s, o = t.pos;
|
|
2747
|
-
return t.src.charCodeAt(o) !== 60 || (e = t.src.slice(o), e.indexOf(">") < 0) ? !1 : (n = e.match(Dp), n ? Fp.indexOf(n[1].toLowerCase()) < 0 || (a = n[0].slice(1, -1), s =
|
|
2747
|
+
return t.src.charCodeAt(o) !== 60 || (e = t.src.slice(o), e.indexOf(">") < 0) ? !1 : (n = e.match(Dp), n ? Fp.indexOf(n[1].toLowerCase()) < 0 || (a = n[0].slice(1, -1), s = ns(a), !t.parser.validateLink(a)) ? !1 : (r || (t.push({
|
|
2748
2748
|
type: "link_open",
|
|
2749
2749
|
href: s,
|
|
2750
2750
|
level: t.level
|
|
@@ -2755,7 +2755,7 @@ function Bp(t, r) {
|
|
|
2755
2755
|
}), t.push({
|
|
2756
2756
|
type: "link_close",
|
|
2757
2757
|
level: t.level
|
|
2758
|
-
})), t.pos += n[0].length, !0) : (i = e.match(Np), i ? (a = i[0].slice(1, -1), s =
|
|
2758
|
+
})), t.pos += n[0].length, !0) : (i = e.match(Np), i ? (a = i[0].slice(1, -1), s = ns("mailto:" + a), t.parser.validateLink(s) ? (r || (t.push({
|
|
2759
2759
|
type: "link_open",
|
|
2760
2760
|
href: s,
|
|
2761
2761
|
level: t.level
|
|
@@ -2768,12 +2768,12 @@ function Bp(t, r) {
|
|
|
2768
2768
|
level: t.level
|
|
2769
2769
|
})), t.pos += i[0].length, !0) : !1) : !1));
|
|
2770
2770
|
}
|
|
2771
|
-
function
|
|
2771
|
+
function xi(t, r) {
|
|
2772
2772
|
return t = t.source, r = r || "", function e(n, i) {
|
|
2773
2773
|
return n ? (i = i.source || i, t = t.replace(n, i), e) : new RegExp(t, r);
|
|
2774
2774
|
};
|
|
2775
2775
|
}
|
|
2776
|
-
var jp = /[a-zA-Z_:][a-zA-Z0-9:._-]*/, Hp = /[^"'=<>`\x00-\x20]+/, Up = /'[^']*'/, zp = /"[^"]*"/, qp =
|
|
2776
|
+
var jp = /[a-zA-Z_:][a-zA-Z0-9:._-]*/, Hp = /[^"'=<>`\x00-\x20]+/, Up = /'[^']*'/, zp = /"[^"]*"/, qp = xi(/(?:unquoted|single_quoted|double_quoted)/)("unquoted", Hp)("single_quoted", Up)("double_quoted", zp)(), Vp = xi(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name", jp)("attr_value", qp)(), Wp = xi(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute", Vp)(), Gp = /<\/[A-Za-z][A-Za-z0-9]*\s*>/, Kp = /<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/, Jp = /<[?].*?[?]>/, Zp = /<![A-Z]+\s+[^>]*>/, Yp = /<!\[CDATA\[[\s\S]*?\]\]>/, Xp = xi(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag", Wp)("close_tag", Gp)("comment", Kp)("processing", Jp)("declaration", Zp)("cdata", Yp)();
|
|
2777
2777
|
function Qp(t) {
|
|
2778
2778
|
var r = t | 32;
|
|
2779
2779
|
return r >= 97 && r <= 122;
|
|
@@ -2792,7 +2792,7 @@ function rf(t, r) {
|
|
|
2792
2792
|
if (t.src.charCodeAt(a) !== 38) return !1;
|
|
2793
2793
|
if (a + 1 < s) {
|
|
2794
2794
|
if (e = t.src.charCodeAt(a + 1), e === 35) {
|
|
2795
|
-
if (i = t.src.slice(a).match(tf), i) return r || (n = i[1][0].toLowerCase() === "x" ? parseInt(i[1].slice(1), 16) : parseInt(i[1], 10), t.pending += du(n) ?
|
|
2795
|
+
if (i = t.src.slice(a).match(tf), i) return r || (n = i[1][0].toLowerCase() === "x" ? parseInt(i[1].slice(1), 16) : parseInt(i[1], 10), t.pending += du(n) ? ts(n) : ts(65533)), t.pos += i[0].length, !0;
|
|
2796
2796
|
} else if (i = t.src.slice(a).match(nf), i) {
|
|
2797
2797
|
var o = cu(i[1]);
|
|
2798
2798
|
if (i[1] !== o) return r || (t.pending += o), t.pos += i[0].length, !0;
|
|
@@ -2800,13 +2800,13 @@ function rf(t, r) {
|
|
|
2800
2800
|
}
|
|
2801
2801
|
return r || (t.pending += "&"), t.pos++, !0;
|
|
2802
2802
|
}
|
|
2803
|
-
var
|
|
2804
|
-
function
|
|
2803
|
+
var ma = [["text", kp], ["newline", _p], ["escape", Sp], ["backticks", Cp], ["del", xp], ["ins", Ep], ["mark", Ap], ["emphasis", Tp], ["sub", Op], ["sup", Lp], ["links", Mp], ["footnote_inline", Pp], ["footnote_ref", $p], ["autolink", Bp], ["htmltag", ef], ["entity", rf]];
|
|
2804
|
+
function Ei() {
|
|
2805
2805
|
this.ruler = new He();
|
|
2806
|
-
for (var t = 0; t <
|
|
2806
|
+
for (var t = 0; t < ma.length; t++) this.ruler.push(ma[t][0], ma[t][1]);
|
|
2807
2807
|
this.validateLink = af;
|
|
2808
2808
|
}
|
|
2809
|
-
|
|
2809
|
+
Ei.prototype.skipToken = function(t) {
|
|
2810
2810
|
var r = this.ruler.getRules(""), e = r.length, n = t.pos, i, a;
|
|
2811
2811
|
if ((a = t.cacheGet(n)) > 0) {
|
|
2812
2812
|
t.pos = a;
|
|
@@ -2818,7 +2818,7 @@ xi.prototype.skipToken = function(t) {
|
|
|
2818
2818
|
}
|
|
2819
2819
|
t.pos++, t.cacheSet(n, t.pos);
|
|
2820
2820
|
};
|
|
2821
|
-
|
|
2821
|
+
Ei.prototype.tokenize = function(t) {
|
|
2822
2822
|
for (var r = this.ruler.getRules(""), e = r.length, n = t.posMax, i, a; t.pos < n; ) {
|
|
2823
2823
|
for (a = 0; a < e && (i = r[a](t, !1), !i); a++) ;
|
|
2824
2824
|
if (i) {
|
|
@@ -2829,7 +2829,7 @@ xi.prototype.tokenize = function(t) {
|
|
|
2829
2829
|
}
|
|
2830
2830
|
t.pending && t.pushPending();
|
|
2831
2831
|
};
|
|
2832
|
-
|
|
2832
|
+
Ei.prototype.parse = function(t, r, e, n) {
|
|
2833
2833
|
var i = new Yt(t, this, r, e, n);
|
|
2834
2834
|
this.tokenize(i);
|
|
2835
2835
|
};
|
|
@@ -2957,7 +2957,7 @@ function mt(t, r) {
|
|
|
2957
2957
|
import Remarkable from 'remarkable';
|
|
2958
2958
|
import linkify from 'remarkable/linkify';
|
|
2959
2959
|
new Remarkable().use(linkify)
|
|
2960
|
-
`), this.inline = new
|
|
2960
|
+
`), this.inline = new Ei(), this.block = new Rs(), this.core = new gu(), this.renderer = new Ts(), this.ruler = new He(), this.options = {}, this.configure(cf[t]), this.set(r || {});
|
|
2961
2961
|
}
|
|
2962
2962
|
mt.prototype.set = function(t) {
|
|
2963
2963
|
uu(this.options, t);
|
|
@@ -2986,7 +2986,7 @@ mt.prototype.parseInline = function(t, r) {
|
|
|
2986
2986
|
mt.prototype.renderInline = function(t, r) {
|
|
2987
2987
|
return r = r || {}, this.renderer.render(this.parseInline(t, r), this.options, r);
|
|
2988
2988
|
};
|
|
2989
|
-
var
|
|
2989
|
+
var rs = /* @__PURE__ */ function() {
|
|
2990
2990
|
function t() {
|
|
2991
2991
|
_(this, t);
|
|
2992
2992
|
}
|
|
@@ -3125,7 +3125,7 @@ var ns = /* @__PURE__ */ function() {
|
|
|
3125
3125
|
}]);
|
|
3126
3126
|
}();
|
|
3127
3127
|
bu.DEFAULT_FILE_NAME = "file";
|
|
3128
|
-
var Pe = bu,
|
|
3128
|
+
var Pe = bu, ui = /* @__PURE__ */ function() {
|
|
3129
3129
|
function t() {
|
|
3130
3130
|
_(this, t);
|
|
3131
3131
|
}
|
|
@@ -3164,7 +3164,7 @@ var Pe = bu, ci = /* @__PURE__ */ function() {
|
|
|
3164
3164
|
}));
|
|
3165
3165
|
}
|
|
3166
3166
|
}]);
|
|
3167
|
-
}(),
|
|
3167
|
+
}(), Wr = /* @__PURE__ */ function() {
|
|
3168
3168
|
function t() {
|
|
3169
3169
|
_(this, t);
|
|
3170
3170
|
}
|
|
@@ -3214,7 +3214,7 @@ var Pe = bu, ci = /* @__PURE__ */ function() {
|
|
|
3214
3214
|
}(), wu = /* @__PURE__ */ function() {
|
|
3215
3215
|
function t(r) {
|
|
3216
3216
|
var e = this;
|
|
3217
|
-
_(this, t), this.messageElementRefs = [], this.messages = [], this.htmlClassUtilities = {}, this.textElementsToText = [], this.elementRef = t.createContainerElement(), this.messageStyles = r.messageStyles, this._remarkable =
|
|
3217
|
+
_(this, t), this.messageElementRefs = [], this.messages = [], this.htmlClassUtilities = {}, this.textElementsToText = [], this.elementRef = t.createContainerElement(), this.messageStyles = r.messageStyles, this._remarkable = rs.createNew(), this._avatars = r.avatars, this._names = r.names, this._onMessage = ui.onMessage.bind(this, r), r.htmlClassUtilities && (this.htmlClassUtilities = r.htmlClassUtilities), setTimeout(function() {
|
|
3218
3218
|
e.submitUserMessage = r.submitUserMessage;
|
|
3219
3219
|
});
|
|
3220
3220
|
}
|
|
@@ -3294,7 +3294,7 @@ var Pe = bu, ci = /* @__PURE__ */ function() {
|
|
|
3294
3294
|
}, {
|
|
3295
3295
|
key: "applyCustomStyles",
|
|
3296
3296
|
value: function(e, n, i, a) {
|
|
3297
|
-
e && this.messageStyles &&
|
|
3297
|
+
e && this.messageStyles && Wr.applyCustomStyles(this.messageStyles, e, n, i, a);
|
|
3298
3298
|
}
|
|
3299
3299
|
}, {
|
|
3300
3300
|
key: "removeLastMessage",
|
|
@@ -3323,7 +3323,7 @@ var Pe = bu, ci = /* @__PURE__ */ function() {
|
|
|
3323
3323
|
key: "refreshTextMessages",
|
|
3324
3324
|
value: function() {
|
|
3325
3325
|
var e = this;
|
|
3326
|
-
this._remarkable =
|
|
3326
|
+
this._remarkable = rs.createNew(), this.textElementsToText.forEach(function(n) {
|
|
3327
3327
|
e.renderText(n[0].bubbleElement, n[1]);
|
|
3328
3328
|
});
|
|
3329
3329
|
}
|
|
@@ -3336,7 +3336,7 @@ var Pe = bu, ci = /* @__PURE__ */ function() {
|
|
|
3336
3336
|
}, {
|
|
3337
3337
|
key: "isTemporaryElement",
|
|
3338
3338
|
value: function(e) {
|
|
3339
|
-
return (e == null ? void 0 : e.bubbleElement.classList.contains("loading-message-text")) ||
|
|
3339
|
+
return (e == null ? void 0 : e.bubbleElement.classList.contains("loading-message-text")) || ci.isElementTemporary(e);
|
|
3340
3340
|
}
|
|
3341
3341
|
}, {
|
|
3342
3342
|
key: "createBaseElements",
|
|
@@ -3359,7 +3359,7 @@ var Pe = bu, ci = /* @__PURE__ */ function() {
|
|
|
3359
3359
|
return n && (l.text = n), i && (l.files = i), a && (l.html = a), !n && !i && !a && (l.text = ""), s && (l._sessionId = s), l;
|
|
3360
3360
|
}
|
|
3361
3361
|
}]);
|
|
3362
|
-
}(),
|
|
3362
|
+
}(), is = /* @__PURE__ */ function() {
|
|
3363
3363
|
function t(r) {
|
|
3364
3364
|
_(this, t), this._fileAdded = !1, this._streamedContent = "", this._streamType = "", this._hasStreamEnded = !1, this._messages = r;
|
|
3365
3365
|
}
|
|
@@ -3382,7 +3382,7 @@ var Pe = bu, ci = /* @__PURE__ */ function() {
|
|
|
3382
3382
|
key: "setInitialState",
|
|
3383
3383
|
value: function(e, n, i) {
|
|
3384
3384
|
var a;
|
|
3385
|
-
this._streamType = e, (a = i) !== null && a !== void 0 || (i = Z.AI_ROLE), this._elements = e === "text" ? this._messages.addNewTextMessage(n, i) :
|
|
3385
|
+
this._streamType = e, (a = i) !== null && a !== void 0 || (i = Z.AI_ROLE), this._elements = e === "text" ? this._messages.addNewTextMessage(n, i) : es.add(this._messages, n, i, this._messages.messageElementRefs), this._elements.bubbleElement.classList.add(t.MESSAGE_CLASS), this._streamedContent = n, this._activeMessageRole = i, this._message = Es({
|
|
3386
3386
|
role: this._activeMessageRole
|
|
3387
3387
|
}, e, this._streamedContent), this._messages.messages.push(this._message);
|
|
3388
3388
|
}
|
|
@@ -3412,7 +3412,7 @@ var Pe = bu, ci = /* @__PURE__ */ function() {
|
|
|
3412
3412
|
var e, n, i = this._messages.textElementsToText;
|
|
3413
3413
|
if (!this._endStreamAfterOperation && !(this._fileAdded && !this._elements)) {
|
|
3414
3414
|
if (!this._elements) throw Error(me.NO_VALID_STREAM_EVENTS_SENT);
|
|
3415
|
-
(e = this._elements.bubbleElement) != null && e.classList.contains(t.MESSAGE_CLASS) && (this._streamType === "text" ? (i[i.length - 1][1] = this._streamedContent, this._message && (this._message.text = this._streamedContent), this._messages.textToSpeech &&
|
|
3415
|
+
(e = this._elements.bubbleElement) != null && e.classList.contains(t.MESSAGE_CLASS) && (this._streamType === "text" ? (i[i.length - 1][1] = this._streamedContent, this._message && (this._message.text = this._streamedContent), this._messages.textToSpeech && qr.speak(this._streamedContent, this._messages.textToSpeech)) : this._streamType === "html" && (this._streamedContent === t.HTML_CONTENT_PLACEHOLDER && (this._streamedContent = ((n = this._elements.bubbleElement) == null ? void 0 : n.innerHTML) || ""), this._elements && kn.apply(this._messages, this._elements.outerContainer), this._message && (this._message.html = this._streamedContent)), this._message && this._messages.sendClientUpdate(wu.createMessageContent(this._message), !1), this._hasStreamEnded = !0);
|
|
3416
3416
|
}
|
|
3417
3417
|
}
|
|
3418
3418
|
}, {
|
|
@@ -3452,8 +3452,8 @@ var Pe = bu, ci = /* @__PURE__ */ function() {
|
|
|
3452
3452
|
}()
|
|
3453
3453
|
}]);
|
|
3454
3454
|
}();
|
|
3455
|
-
|
|
3456
|
-
var kt =
|
|
3455
|
+
is.MESSAGE_CLASS = "streamed-message", is.HTML_CONTENT_PLACEHOLDER = "htmlplaceholder";
|
|
3456
|
+
var kt = is, ku = /* @__PURE__ */ function() {
|
|
3457
3457
|
function t() {
|
|
3458
3458
|
_(this, t);
|
|
3459
3459
|
}
|
|
@@ -3571,10 +3571,10 @@ var kt = rs, ku = /* @__PURE__ */ function() {
|
|
|
3571
3571
|
ku.CONTENT_TYPE = "Content-Type";
|
|
3572
3572
|
var X = ku;
|
|
3573
3573
|
function uf(t, r) {
|
|
3574
|
-
return
|
|
3574
|
+
return as.apply(this, arguments);
|
|
3575
3575
|
}
|
|
3576
|
-
function
|
|
3577
|
-
return
|
|
3576
|
+
function as() {
|
|
3577
|
+
return as = x(/* @__PURE__ */ m().mark(function t(r, e) {
|
|
3578
3578
|
var n, i;
|
|
3579
3579
|
return m().wrap(function(s) {
|
|
3580
3580
|
for (; ; ) switch (s.prev = s.next) {
|
|
@@ -3596,7 +3596,7 @@ function is() {
|
|
|
3596
3596
|
return s.stop();
|
|
3597
3597
|
}
|
|
3598
3598
|
}, t);
|
|
3599
|
-
})),
|
|
3599
|
+
})), as.apply(this, arguments);
|
|
3600
3600
|
}
|
|
3601
3601
|
function df(t) {
|
|
3602
3602
|
var r, e, n, i = !1;
|
|
@@ -3662,12 +3662,12 @@ var ff = function(r, e) {
|
|
|
3662
3662
|
for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && e.indexOf(i) < 0 && (n[i] = r[i]);
|
|
3663
3663
|
if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var a = 0, i = Object.getOwnPropertySymbols(r); a < i.length; a++) e.indexOf(i[a]) < 0 && Object.prototype.propertyIsEnumerable.call(r, i[a]) && (n[i[a]] = r[i[a]]);
|
|
3664
3664
|
return n;
|
|
3665
|
-
},
|
|
3665
|
+
}, ss = "text/event-stream", mf = 1e3, Bo = "last-event-id";
|
|
3666
3666
|
function gf(t, r) {
|
|
3667
3667
|
var e = r.signal, n = r.headers, i = r.onopen, a = r.onmessage, s = r.onclose, o = r.onerror, l = r.openWhenHidden, c = r.fetch, u = ff(r, ["signal", "headers", "onopen", "onmessage", "onclose", "onerror", "openWhenHidden", "fetch"]);
|
|
3668
3668
|
return new Promise(function(d, h) {
|
|
3669
3669
|
var p = Object.assign({}, n);
|
|
3670
|
-
p.accept || (p.accept =
|
|
3670
|
+
p.accept || (p.accept = ss);
|
|
3671
3671
|
var f;
|
|
3672
3672
|
function g() {
|
|
3673
3673
|
f.abort(), document.hidden || R();
|
|
@@ -3723,7 +3723,7 @@ function gf(t, r) {
|
|
|
3723
3723
|
}
|
|
3724
3724
|
function vf(t) {
|
|
3725
3725
|
var r = t.headers.get("content-type");
|
|
3726
|
-
if (!(r != null && r.startsWith(
|
|
3726
|
+
if (!(r != null && r.startsWith(ss))) throw new Error("Expected content-type to be ".concat(ss, ", Actual: ").concat(r));
|
|
3727
3727
|
}
|
|
3728
3728
|
var we = /* @__PURE__ */ function() {
|
|
3729
3729
|
function t() {
|
|
@@ -4669,11 +4669,11 @@ var _t = _u, ur = /* @__PURE__ */ function() {
|
|
|
4669
4669
|
key: "set",
|
|
4670
4670
|
value: function(e, n, i) {
|
|
4671
4671
|
t.populateDefaultFileIO(i == null ? void 0 : i.audio, ".4a,.mp3,.webm,.mp4,.mpga,.wav,.mpeg,.m4a"), t.populateDefaultFileIO(i == null ? void 0 : i.images, ".png,.jpg");
|
|
4672
|
-
var a =
|
|
4672
|
+
var a = rs.createNew();
|
|
4673
4673
|
t.processImagesConfig(n, a, e.images, i == null ? void 0 : i.images), t.processCamera(n, a, e.camera, e.images), t.processGifConfig(n, a, e.gifs, i == null ? void 0 : i.gifs), t.processAudioConfig(n, a, e.audio, i == null ? void 0 : i.audio), t.processMicrophone(n, a, e.microphone, e.audio), t.processMixedFiles(n, a, e.mixedFiles);
|
|
4674
4674
|
}
|
|
4675
4675
|
}]);
|
|
4676
|
-
}(),
|
|
4676
|
+
}(), di = /* @__PURE__ */ function() {
|
|
4677
4677
|
function t(r, e, n) {
|
|
4678
4678
|
var i;
|
|
4679
4679
|
_(this, t);
|
|
@@ -4912,7 +4912,7 @@ var _t = _u, ur = /* @__PURE__ */ function() {
|
|
|
4912
4912
|
return !0;
|
|
4913
4913
|
}
|
|
4914
4914
|
}]);
|
|
4915
|
-
}(
|
|
4915
|
+
}(di), bf = /* @__PURE__ */ function() {
|
|
4916
4916
|
function t() {
|
|
4917
4917
|
_(this, t);
|
|
4918
4918
|
}
|
|
@@ -4929,7 +4929,7 @@ var _t = _u, ur = /* @__PURE__ */ function() {
|
|
|
4929
4929
|
e._propUpdated_ = !0, e._waitingToRender_ || (e._waitingToRender_ = !0, t.waitForPropertiesToBeUpdatedBeforeRender(e));
|
|
4930
4930
|
}
|
|
4931
4931
|
}]);
|
|
4932
|
-
}(),
|
|
4932
|
+
}(), os = /* @__PURE__ */ function(t) {
|
|
4933
4933
|
function r() {
|
|
4934
4934
|
var e;
|
|
4935
4935
|
return _(this, r), e = V(this, r), e._waitingToRender_ = !1, e._propUpdated_ = !1, Object.keys(r._attributeToProperty_).forEach(function(n) {
|
|
@@ -4971,9 +4971,9 @@ var _t = _u, ur = /* @__PURE__ */ function() {
|
|
|
4971
4971
|
return Object.keys(r._attributes_) || [];
|
|
4972
4972
|
}
|
|
4973
4973
|
}]);
|
|
4974
|
-
}(/* @__PURE__ */
|
|
4975
|
-
|
|
4976
|
-
var wf =
|
|
4974
|
+
}(/* @__PURE__ */ Za(HTMLElement));
|
|
4975
|
+
os._attributes_ = {}, os._attributeToProperty_ = {};
|
|
4976
|
+
var wf = os, kf = `<?xml version="1.0" standalone="no"?>
|
|
4977
4977
|
<svg version="1.1"
|
|
4978
4978
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
4979
4979
|
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0.9em" height="0.9em"
|
|
@@ -5835,7 +5835,7 @@ var jo = Jn, Ho = {
|
|
|
5835
5835
|
});
|
|
5836
5836
|
}
|
|
5837
5837
|
}]);
|
|
5838
|
-
}(
|
|
5838
|
+
}(di);
|
|
5839
5839
|
mn.GENERIC_ERROR = "Error, please check the [troubleshooting](https://deepchat.dev/docs/webModel#troubleshooting) section of documentation for help.", mn.MULTIPLE_MODELS_ERROR = "Cannot run multiple web models", mn.WEB_LLM_NOT_FOUND_ERROR = "WebLLM module not found", mn.DEFAULT_MODEL = "Llama-2-7b-chat-hf-q4f32_1", mn.MODULE_SEARCH_LIMIT_S = 5;
|
|
5840
5840
|
var Ms = mn, Uo = /* @__PURE__ */ function() {
|
|
5841
5841
|
function t() {
|
|
@@ -6077,7 +6077,7 @@ var Qt = Cu, Ps = /* @__PURE__ */ function(t) {
|
|
|
6077
6077
|
};
|
|
6078
6078
|
}
|
|
6079
6079
|
}]);
|
|
6080
|
-
}(),
|
|
6080
|
+
}(), Ai = /* @__PURE__ */ function(t) {
|
|
6081
6081
|
function r(e, n, i, a, s) {
|
|
6082
6082
|
var o;
|
|
6083
6083
|
return _(this, r), o = V(this, r, [e, n, i, a, s]), o.insertKeyPlaceholderText = "Stability AI API Key", o.keyHelpUrl = "https://platform.stability.ai/docs/getting-started/authentication", o.permittedErrorPrefixes = ["Incorrect", "invalid_"], o;
|
|
@@ -6187,7 +6187,7 @@ var Qt = Cu, Ps = /* @__PURE__ */ function(t) {
|
|
|
6187
6187
|
return !!(i != null && i[0]);
|
|
6188
6188
|
}
|
|
6189
6189
|
}]);
|
|
6190
|
-
}(
|
|
6190
|
+
}(Ai), Tf = /* @__PURE__ */ function(t) {
|
|
6191
6191
|
function r(e) {
|
|
6192
6192
|
var n;
|
|
6193
6193
|
_(this, r);
|
|
@@ -6291,7 +6291,7 @@ var Qt = Cu, Ps = /* @__PURE__ */ function(t) {
|
|
|
6291
6291
|
return !!(i != null && i[0]) && !!(n && n.trim() !== "");
|
|
6292
6292
|
}
|
|
6293
6293
|
}]);
|
|
6294
|
-
}(
|
|
6294
|
+
}(Ai), Rf = /* @__PURE__ */ function(t) {
|
|
6295
6295
|
function r(e) {
|
|
6296
6296
|
_(this, r);
|
|
6297
6297
|
var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : i.audioSpeechRecognition, o = (a = e.directConnection) == null ? void 0 : a.huggingFace;
|
|
@@ -6628,7 +6628,7 @@ var Qt = Cu, Ps = /* @__PURE__ */ function(t) {
|
|
|
6628
6628
|
return !!(i != null && i[0]) && !!(n && n.trim() !== "");
|
|
6629
6629
|
}
|
|
6630
6630
|
}]);
|
|
6631
|
-
}(
|
|
6631
|
+
}(Ai), $f = /* @__PURE__ */ function(t) {
|
|
6632
6632
|
function r(e) {
|
|
6633
6633
|
_(this, r);
|
|
6634
6634
|
var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.huggingFace) == null ? void 0 : i.translation, o = (a = e.directConnection) == null ? void 0 : a.huggingFace;
|
|
@@ -6752,7 +6752,7 @@ var Qt = Cu, Ps = /* @__PURE__ */ function(t) {
|
|
|
6752
6752
|
return !!(n && n.trim() !== "");
|
|
6753
6753
|
}
|
|
6754
6754
|
}]);
|
|
6755
|
-
}(
|
|
6755
|
+
}(Ai), Nf = /* @__PURE__ */ function(t) {
|
|
6756
6756
|
function r(e) {
|
|
6757
6757
|
var n;
|
|
6758
6758
|
_(this, r);
|
|
@@ -7027,7 +7027,7 @@ var Qt = Cu, Ps = /* @__PURE__ */ function(t) {
|
|
|
7027
7027
|
return e;
|
|
7028
7028
|
}()
|
|
7029
7029
|
}]);
|
|
7030
|
-
}(),
|
|
7030
|
+
}(), ls = /* @__PURE__ */ function(t) {
|
|
7031
7031
|
function r(e) {
|
|
7032
7032
|
var n, i, a;
|
|
7033
7033
|
_(this, r);
|
|
@@ -7116,8 +7116,8 @@ var Qt = Cu, Ps = /* @__PURE__ */ function(t) {
|
|
|
7116
7116
|
}()
|
|
7117
7117
|
}]);
|
|
7118
7118
|
}(Ie);
|
|
7119
|
-
|
|
7120
|
-
var jf =
|
|
7119
|
+
ls.DEFAULT_MODEL = "tts-1", ls.DEFAULT_VOIDE = "alloy";
|
|
7120
|
+
var jf = ls, Gr = /* @__PURE__ */ function(t) {
|
|
7121
7121
|
function r(e) {
|
|
7122
7122
|
var n, i;
|
|
7123
7123
|
_(this, r);
|
|
@@ -7223,8 +7223,8 @@ var jf = os, Wr = /* @__PURE__ */ function(t) {
|
|
|
7223
7223
|
}
|
|
7224
7224
|
}]);
|
|
7225
7225
|
}(Ie);
|
|
7226
|
-
|
|
7227
|
-
var Hf =
|
|
7226
|
+
Gr.AUDIO_TRANSCRIPTIONS_URL = "https://api.openai.com/v1/audio/transcriptions", Gr.AUDIO_TRANSLATIONS_URL = "https://api.openai.com/v1/audio/translations", Gr.DEFAULT_MODEL = "whisper-1";
|
|
7227
|
+
var Hf = Gr, Vt = /* @__PURE__ */ function() {
|
|
7228
7228
|
function t() {
|
|
7229
7229
|
_(this, t);
|
|
7230
7230
|
}
|
|
@@ -7470,7 +7470,7 @@ var Hf = Wr, Vt = /* @__PURE__ */ function() {
|
|
|
7470
7470
|
return n;
|
|
7471
7471
|
}()
|
|
7472
7472
|
}]);
|
|
7473
|
-
}(Uf),
|
|
7473
|
+
}(Uf), ga = /* @__PURE__ */ function() {
|
|
7474
7474
|
function t() {
|
|
7475
7475
|
_(this, t);
|
|
7476
7476
|
}
|
|
@@ -7569,7 +7569,7 @@ var Hf = Wr, Vt = /* @__PURE__ */ function() {
|
|
|
7569
7569
|
var n;
|
|
7570
7570
|
_(this, r);
|
|
7571
7571
|
var i, a = (i = e.directConnection) == null ? void 0 : i.assemblyAI;
|
|
7572
|
-
return n = V(this, r, [e,
|
|
7572
|
+
return n = V(this, r, [e, ga.buildKeyVerificationDetails(), ga.buildHeaders, a, {
|
|
7573
7573
|
audio: {}
|
|
7574
7574
|
}]), n.insertKeyPlaceholderText = "AssemblyAI API Key", n.keyHelpUrl = "https://www.assemblyai.com/app/account", n.introPanelMarkUp = `
|
|
7575
7575
|
<div style="width: 100%; text-align: center; margin-left: -10px"><b>AssemblyAI Audio</b></div>
|
|
@@ -7624,7 +7624,7 @@ var Hf = Wr, Vt = /* @__PURE__ */ function() {
|
|
|
7624
7624
|
}
|
|
7625
7625
|
throw a.error;
|
|
7626
7626
|
case 2:
|
|
7627
|
-
return l = (o = (s = this.connectSettings) == null ? void 0 : s.headers) == null ? void 0 : o.Authorization, u.next = 5,
|
|
7627
|
+
return l = (o = (s = this.connectSettings) == null ? void 0 : s.headers) == null ? void 0 : o.Authorization, u.next = 5, ga.poll(l, a.upload_url);
|
|
7628
7628
|
case 5:
|
|
7629
7629
|
return u.t0 = u.sent.text, u.abrupt("return", {
|
|
7630
7630
|
text: u.t0
|
|
@@ -7893,7 +7893,7 @@ var Wf = Au, Gf = /* @__PURE__ */ function(t) {
|
|
|
7893
7893
|
return n;
|
|
7894
7894
|
}()
|
|
7895
7895
|
}]);
|
|
7896
|
-
}(Ie),
|
|
7896
|
+
}(Ie), cs = /* @__PURE__ */ function() {
|
|
7897
7897
|
function t() {
|
|
7898
7898
|
_(this, t);
|
|
7899
7899
|
}
|
|
@@ -8186,8 +8186,8 @@ var Wf = Au, Gf = /* @__PURE__ */ function(t) {
|
|
|
8186
8186
|
}()
|
|
8187
8187
|
}]);
|
|
8188
8188
|
}();
|
|
8189
|
-
|
|
8190
|
-
var Ft =
|
|
8189
|
+
cs.FILES_WITH_TEXT_ERROR = "content with type `text` must have `text` values", cs.FUNCTION_TOOL_RESP_ERROR = "Response must contain an array of strings for each individual function/tool_call, see https://deepchat.dev/docs/directConnection/OpenAI/#assistant-functions.";
|
|
8190
|
+
var Ft = cs, Kr = /* @__PURE__ */ function(t) {
|
|
8191
8191
|
function r(e) {
|
|
8192
8192
|
var n, i, a;
|
|
8193
8193
|
_(this, r);
|
|
@@ -8760,8 +8760,8 @@ var Ft = ls, Gr = /* @__PURE__ */ function(t) {
|
|
|
8760
8760
|
}
|
|
8761
8761
|
}]);
|
|
8762
8762
|
}(Ie);
|
|
8763
|
-
|
|
8764
|
-
var Kf =
|
|
8763
|
+
Kr.THREAD_PREFIX = "https://api.openai.com/v1/threads", Kr.NEW_ASSISTANT_URL = "https://api.openai.com/v1/assistants", Kr.POLLING_TIMEOUT_MS = 800;
|
|
8764
|
+
var Kf = Kr, Jr = /* @__PURE__ */ function(t) {
|
|
8765
8765
|
function r(e) {
|
|
8766
8766
|
var n;
|
|
8767
8767
|
_(this, r);
|
|
@@ -8908,8 +8908,8 @@ var Kf = Gr, Kr = /* @__PURE__ */ function(t) {
|
|
|
8908
8908
|
}
|
|
8909
8909
|
}]);
|
|
8910
8910
|
}(Ie);
|
|
8911
|
-
|
|
8912
|
-
var Jf =
|
|
8911
|
+
Jr.IMAGE_GENERATION_URL = "https://api.openai.com/v1/images/generations", Jr.IMAGE_VARIATIONS_URL = "https://api.openai.com/v1/images/variations", Jr.IMAGE_EDIT_URL = "https://api.openai.com/v1/images/edits";
|
|
8912
|
+
var Jf = Jr, Zf = /* @__PURE__ */ function(t) {
|
|
8913
8913
|
function r(e) {
|
|
8914
8914
|
var n, i, a;
|
|
8915
8915
|
_(this, r);
|
|
@@ -9364,7 +9364,7 @@ var Jf = Kr, Zf = /* @__PURE__ */ function(t) {
|
|
|
9364
9364
|
if (n.stabilityAI) return n.stabilityAI.imageToImage ? new Pf(e) : n.stabilityAI.imageToImageUpscale ? new Af(e) : n.stabilityAI.imageToImageMasking ? new Tf(e) : new Ff(e);
|
|
9365
9365
|
if (n.mistral) return new Xf(e);
|
|
9366
9366
|
}
|
|
9367
|
-
return i && (!a || !i.stream) ? new
|
|
9367
|
+
return i && (!a || !i.stream) ? new di(e) : new di(e, void 0, a || !0);
|
|
9368
9368
|
}
|
|
9369
9369
|
)
|
|
9370
9370
|
}]);
|
|
@@ -9712,13 +9712,13 @@ var tm = /* @__PURE__ */ function() {
|
|
|
9712
9712
|
var s, o;
|
|
9713
9713
|
a = V(this, r, [e]);
|
|
9714
9714
|
var l = n.permittedErrorPrefixes, c = n.introPanelMarkUp, u = n.demo;
|
|
9715
|
-
return a._errorMessageOverrides = (s = e.errorMessages) == null ? void 0 : s.overrides, a._onClearMessages =
|
|
9715
|
+
return a._errorMessageOverrides = (s = e.errorMessages) == null ? void 0 : s.overrides, a._onClearMessages = ui.onClearMessages.bind(a, e), a._onError = ui.onError.bind(a, e), a._displayLoadingMessage = r.getDisplayLoadingMessage(e, n), a._permittedErrorPrefixes = l, a.addSetupMessageIfNeeded(e, n) || a.populateIntroPanel(i, c, e.introPanelStyle), a.addIntroductoryMessage(e, n), new rm(e, a, n), a._displayServiceErrorMessages = (o = e.errorMessages) == null ? void 0 : o.displayServiceErrorMessages, e.getMessages = function() {
|
|
9716
9716
|
return JSON.parse(JSON.stringify(a.messages));
|
|
9717
9717
|
}, e.clearMessages = a.clearMessages.bind(a, n), e.refreshMessages = a.refreshTextMessages.bind(a), e.scrollToBottom = De.scrollToBottom.bind(a, a.elementRef), e.addMessage = function(d, h) {
|
|
9718
9718
|
a.addAnyMessage(ne(ne({}, d), {}, {
|
|
9719
9719
|
sendUpdate: !!h
|
|
9720
9720
|
}), !h);
|
|
9721
|
-
}, n.isWebModel() && n.setUpMessages(a), u && a.prepareDemo(u), e.textToSpeech &&
|
|
9721
|
+
}, n.isWebModel() && n.setUpMessages(a), u && a.prepareDemo(u), e.textToSpeech && qr.processConfig(e.textToSpeech, function(d) {
|
|
9722
9722
|
a.textToSpeech = d;
|
|
9723
9723
|
}), a;
|
|
9724
9724
|
}
|
|
@@ -9746,7 +9746,7 @@ var tm = /* @__PURE__ */ function() {
|
|
|
9746
9746
|
var o = this._introMessage;
|
|
9747
9747
|
if (i != null && i.isWebModel() && ((a = o) !== null && a !== void 0 || (o = i.getIntroMessage(o))), o) {
|
|
9748
9748
|
var l;
|
|
9749
|
-
o != null && o.text ? l = this.createAndAppendNewMessageElement(o.text, Z.AI_ROLE) : o != null && o.html && (l =
|
|
9749
|
+
o != null && o.text ? l = this.createAndAppendNewMessageElement(o.text, Z.AI_ROLE) : o != null && o.html && (l = es.add(this, o.html, Z.AI_ROLE, this.messageElementRefs)), l && (this.applyCustomStyles(l, Z.AI_ROLE, !1, (s = this.messageStyles) == null ? void 0 : s.intro), l.outerContainer.classList.add("deep-chat-intro"));
|
|
9750
9750
|
}
|
|
9751
9751
|
}
|
|
9752
9752
|
}, {
|
|
@@ -9768,9 +9768,9 @@ var tm = /* @__PURE__ */ function() {
|
|
|
9768
9768
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, s = r.createMessageContent(n), o = {
|
|
9769
9769
|
status: n.overwrite
|
|
9770
9770
|
};
|
|
9771
|
-
if (!n.ignoreText && s.text !== void 0 && n.text !== null && (this.addNewTextMessage(s.text, s.role, o, a), !i && this.textToSpeech && s.role !== Z.USER_ROLE &&
|
|
9772
|
-
var l =
|
|
9773
|
-
|
|
9771
|
+
if (!n.ignoreText && s.text !== void 0 && n.text !== null && (this.addNewTextMessage(s.text, s.role, o, a), !i && this.textToSpeech && s.role !== Z.USER_ROLE && qr.speak(s.text, this.textToSpeech)), s.files && Array.isArray(s.files) && sm.addMessages(this, s.files, s.role, a), s.html !== void 0 && s.html !== null) {
|
|
9772
|
+
var l = es.add(this, s.html, s.role, this.messageElementRefs, o, a);
|
|
9773
|
+
ci.isElementTemporary(l) && delete s.html;
|
|
9774
9774
|
}
|
|
9775
9775
|
return this.isValidMessageContent(s) && !a && this.updateStateOnMessage(s, n.overwrite, n.sendUpdate, i), s;
|
|
9776
9776
|
}
|
|
@@ -9802,8 +9802,8 @@ var tm = /* @__PURE__ */ function() {
|
|
|
9802
9802
|
h.classList.add("error-message-text");
|
|
9803
9803
|
var p = this.getPermittedMessage(i) || ((a = this._errorMessageOverrides) == null ? void 0 : a[n]) || ((s = this._errorMessageOverrides) == null ? void 0 : s.default) || "Error, please try again.";
|
|
9804
9804
|
this.renderText(h, p);
|
|
9805
|
-
var f =
|
|
9806
|
-
|
|
9805
|
+
var f = Wr.extractParticularSharedStyles(["fontSize", "fontFamily"], (o = this.messageStyles) == null ? void 0 : o.default);
|
|
9806
|
+
Wr.applyCustomStylesToElements(u, !1, f), Wr.applyCustomStylesToElements(u, !1, (l = this.messageStyles) == null ? void 0 : l.error), this.elementRef.appendChild(d), De.scrollToBottom(this.elementRef), this.textToSpeech && qr.speak(p, this.textToSpeech), (c = this._onError) == null || c.call(this, p);
|
|
9807
9807
|
}
|
|
9808
9808
|
}, {
|
|
9809
9809
|
key: "getPermittedMessage",
|
|
@@ -9946,7 +9946,7 @@ var tm = /* @__PURE__ */ function() {
|
|
|
9946
9946
|
}]);
|
|
9947
9947
|
}();
|
|
9948
9948
|
Zn.INPUT_OUTSIDE_LEFT_ADJUSTMENT_CLASS = "text-input-container-left-adjustment", Zn.INPUT_OUTSIDE_RIGHT_ADJUSTMENT_CLASS = "text-input-container-right-adjustment", Zn.INPUT_OUTSIDE_LEFT_SMALL_ADJUSTMENT_CLASS = "text-input-container-left-small-adjustment", Zn.INPUT_OUTSIDE_RIGHT_SMALL_ADJUSTMENT_CLASS = "text-input-container-right-small-adjustment";
|
|
9949
|
-
var lm = Zn,
|
|
9949
|
+
var lm = Zn, hi = /* @__PURE__ */ function() {
|
|
9950
9950
|
function t() {
|
|
9951
9951
|
_(this, t);
|
|
9952
9952
|
}
|
|
@@ -10308,7 +10308,7 @@ var lm = Zn, di = /* @__PURE__ */ function() {
|
|
|
10308
10308
|
u && (s.addItem(u.button), n["dropup-menu"].splice(c, 1));
|
|
10309
10309
|
});
|
|
10310
10310
|
var o = Go.getPosition(n, a);
|
|
10311
|
-
|
|
10311
|
+
hi.addButton(e, s.buttonContainer, o), n[o].push({});
|
|
10312
10312
|
}
|
|
10313
10313
|
)
|
|
10314
10314
|
}, {
|
|
@@ -10317,7 +10317,7 @@ var lm = Zn, di = /* @__PURE__ */ function() {
|
|
|
10317
10317
|
["inside-left", "inside-right", "outside-left", "outside-right"].forEach(function(i) {
|
|
10318
10318
|
var a = i;
|
|
10319
10319
|
n[a].forEach(function(s) {
|
|
10320
|
-
|
|
10320
|
+
hi.addButton(e, s.button.elementRef, a);
|
|
10321
10321
|
});
|
|
10322
10322
|
});
|
|
10323
10323
|
}
|
|
@@ -10497,12 +10497,12 @@ var lm = Zn, di = /* @__PURE__ */ function() {
|
|
|
10497
10497
|
return n.id = "microphone-icon", n;
|
|
10498
10498
|
}
|
|
10499
10499
|
}]);
|
|
10500
|
-
}(kr), Ou = {},
|
|
10500
|
+
}(kr), Ou = {}, Ti = {}, Ri = {}, _r = {}, en = {};
|
|
10501
10501
|
Object.defineProperty(en, "__esModule", {
|
|
10502
10502
|
value: !0
|
|
10503
10503
|
});
|
|
10504
10504
|
en.Text = void 0;
|
|
10505
|
-
var
|
|
10505
|
+
var Oi = /* @__PURE__ */ function() {
|
|
10506
10506
|
function t() {
|
|
10507
10507
|
_(this, t);
|
|
10508
10508
|
}
|
|
@@ -10532,10 +10532,10 @@ var Ri = /* @__PURE__ */ function() {
|
|
|
10532
10532
|
}
|
|
10533
10533
|
}]);
|
|
10534
10534
|
}();
|
|
10535
|
-
en.Text =
|
|
10536
|
-
|
|
10537
|
-
|
|
10538
|
-
|
|
10535
|
+
en.Text = Oi;
|
|
10536
|
+
Oi.FIRST_CHAR_REGEX = /\S/;
|
|
10537
|
+
Oi.DOUBLE_LINE = /\n\n/g;
|
|
10538
|
+
Oi.ONE_LINE = /\n/g;
|
|
10539
10539
|
Object.defineProperty(_r, "__esModule", {
|
|
10540
10540
|
value: !0
|
|
10541
10541
|
});
|
|
@@ -10553,10 +10553,10 @@ var bm = en, wm = /* @__PURE__ */ function() {
|
|
|
10553
10553
|
}]);
|
|
10554
10554
|
}();
|
|
10555
10555
|
_r.Translate = wm;
|
|
10556
|
-
Object.defineProperty(
|
|
10556
|
+
Object.defineProperty(Ri, "__esModule", {
|
|
10557
10557
|
value: !0
|
|
10558
10558
|
});
|
|
10559
|
-
|
|
10559
|
+
Ri.WebSpeechTranscript = void 0;
|
|
10560
10560
|
var Ko = _r, km = /* @__PURE__ */ function() {
|
|
10561
10561
|
function t() {
|
|
10562
10562
|
_(this, t);
|
|
@@ -10589,7 +10589,7 @@ var Ko = _r, km = /* @__PURE__ */ function() {
|
|
|
10589
10589
|
}
|
|
10590
10590
|
}]);
|
|
10591
10591
|
}();
|
|
10592
|
-
|
|
10592
|
+
Ri.WebSpeechTranscript = km;
|
|
10593
10593
|
var Rn = {};
|
|
10594
10594
|
Object.defineProperty(Rn, "__esModule", {
|
|
10595
10595
|
value: !0
|
|
@@ -10602,11 +10602,11 @@ Rn.Browser = Yn;
|
|
|
10602
10602
|
Yn.IS_SAFARI = function() {
|
|
10603
10603
|
return Yn._IS_SAFARI === void 0 && (Yn._IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), Yn._IS_SAFARI;
|
|
10604
10604
|
};
|
|
10605
|
-
var Sr = {},
|
|
10606
|
-
Object.defineProperty(
|
|
10605
|
+
var Sr = {}, Ii = {};
|
|
10606
|
+
Object.defineProperty(Ii, "__esModule", {
|
|
10607
10607
|
value: !0
|
|
10608
10608
|
});
|
|
10609
|
-
|
|
10609
|
+
Ii.EventListeners = void 0;
|
|
10610
10610
|
var Iu = /* @__PURE__ */ function() {
|
|
10611
10611
|
function t() {
|
|
10612
10612
|
_(this, t);
|
|
@@ -10649,13 +10649,13 @@ var Iu = /* @__PURE__ */ function() {
|
|
|
10649
10649
|
}
|
|
10650
10650
|
}]);
|
|
10651
10651
|
}();
|
|
10652
|
-
|
|
10652
|
+
Ii.EventListeners = Iu;
|
|
10653
10653
|
Iu.KEY_DOWN_TIMEOUT = null;
|
|
10654
|
-
var
|
|
10655
|
-
Object.defineProperty(
|
|
10654
|
+
var Li = {};
|
|
10655
|
+
Object.defineProperty(Li, "__esModule", {
|
|
10656
10656
|
value: !0
|
|
10657
10657
|
});
|
|
10658
|
-
|
|
10658
|
+
Li.PreResultUtils = void 0;
|
|
10659
10659
|
var _m = /* @__PURE__ */ function() {
|
|
10660
10660
|
function t() {
|
|
10661
10661
|
_(this, t);
|
|
@@ -10670,7 +10670,7 @@ var _m = /* @__PURE__ */ function() {
|
|
|
10670
10670
|
}
|
|
10671
10671
|
}]);
|
|
10672
10672
|
}();
|
|
10673
|
-
|
|
10673
|
+
Li.PreResultUtils = _m;
|
|
10674
10674
|
var Cr = {}, xr = {};
|
|
10675
10675
|
Object.defineProperty(xr, "__esModule", {
|
|
10676
10676
|
value: !0
|
|
@@ -10942,11 +10942,11 @@ var Jo = xr, Em = tn, Am = Rn, Zo = nn, Yo = en, Tm = /* @__PURE__ */ function()
|
|
|
10942
10942
|
}]);
|
|
10943
10943
|
}();
|
|
10944
10944
|
Cr.CommandUtils = Tm;
|
|
10945
|
-
var
|
|
10946
|
-
Object.defineProperty(
|
|
10945
|
+
var Mi = {};
|
|
10946
|
+
Object.defineProperty(Mi, "__esModule", {
|
|
10947
10947
|
value: !0
|
|
10948
10948
|
});
|
|
10949
|
-
|
|
10949
|
+
Mi.Highlight = void 0;
|
|
10950
10950
|
var Rm = tn, $n = nn, Om = /* @__PURE__ */ function() {
|
|
10951
10951
|
function t() {
|
|
10952
10952
|
_(this, t);
|
|
@@ -10992,12 +10992,12 @@ var Rm = tn, $n = nn, Om = /* @__PURE__ */ function() {
|
|
|
10992
10992
|
}
|
|
10993
10993
|
}]);
|
|
10994
10994
|
}();
|
|
10995
|
-
|
|
10996
|
-
var
|
|
10997
|
-
Object.defineProperty(
|
|
10995
|
+
Mi.Highlight = Om;
|
|
10996
|
+
var Pi = {};
|
|
10997
|
+
Object.defineProperty(Pi, "__esModule", {
|
|
10998
10998
|
value: !0
|
|
10999
10999
|
});
|
|
11000
|
-
|
|
11000
|
+
Pi.Padding = void 0;
|
|
11001
11001
|
var Im = tn, Xo = nn, sn = en, Lm = /* @__PURE__ */ function() {
|
|
11002
11002
|
function t() {
|
|
11003
11003
|
_(this, t);
|
|
@@ -11049,12 +11049,12 @@ var Im = tn, Xo = nn, sn = en, Lm = /* @__PURE__ */ function() {
|
|
|
11049
11049
|
}
|
|
11050
11050
|
}]);
|
|
11051
11051
|
}();
|
|
11052
|
-
|
|
11052
|
+
Pi.Padding = Lm;
|
|
11053
11053
|
Object.defineProperty(Sr, "__esModule", {
|
|
11054
11054
|
value: !0
|
|
11055
11055
|
});
|
|
11056
11056
|
Sr.Speech = void 0;
|
|
11057
|
-
var Qo =
|
|
11057
|
+
var Qo = Ii, Mm = Li, el = Cr, jr = xr, va = Mi, nt = tn, ya = Pi, tl = Rn, nl = nn, ba = en, Pm = /* @__PURE__ */ function() {
|
|
11058
11058
|
function t() {
|
|
11059
11059
|
_(this, t), this.finalTranscript = "", this.interimSpan = nt.Elements.createInterimSpan(), this.finalSpan = nt.Elements.createGenericSpan(), this.scrollingSpan = nt.Elements.createGenericSpan(), this.isCursorAtEnd = !1, this.spansPopulated = !1, this.startPadding = "", this.endPadding = "", this.numberOfSpacesBeforeNewText = 0, this.numberOfSpacesAfterNewText = 0, this.isHighlighted = !1, this.primitiveTextRecorded = !1, this.recognizing = !1, this._displayInterimResults = !0, this.insertInCursorLocation = !0, this.autoScroll = !0, this.isRestarting = !1, this.isPaused = !1, this.isWaitingForCommand = !1, this.isTargetInShadow = !1, this.cannotBeStopped = !1, this.resetState();
|
|
11060
11060
|
}
|
|
@@ -11074,7 +11074,7 @@ var Qo = Oi, Mm = Ii, el = Cr, Br = xr, ga = Li, nt = tn, va = Mi, tl = Rn, nl =
|
|
|
11074
11074
|
}, {
|
|
11075
11075
|
key: "prepare",
|
|
11076
11076
|
value: function(e) {
|
|
11077
|
-
|
|
11077
|
+
ya.Padding.setState(this, e), va.Highlight.setState(this, e), this.isTargetInShadow = nt.Elements.isInsideShadowDOM(e), nt.Elements.isPrimitiveElement(e) ? (this._primitiveElement = e, this._originalText = this._primitiveElement.value) : (this._genericElement = e, this._originalText = this._genericElement.textContent);
|
|
11078
11078
|
}
|
|
11079
11079
|
// there was an attempt to optimize this by not having to restart the service and just reset state:
|
|
11080
11080
|
// unfortunately it did not work because the service would still continue firing the intermediate and final results
|
|
@@ -11088,7 +11088,7 @@ var Qo = Oi, Mm = Ii, el = Cr, Br = xr, ga = Li, nt = tn, va = Mi, tl = Rn, nl =
|
|
|
11088
11088
|
}, {
|
|
11089
11089
|
key: "updateElements",
|
|
11090
11090
|
value: function(e, n, i) {
|
|
11091
|
-
var a, s =
|
|
11091
|
+
var a, s = ba.Text.capitalize(n);
|
|
11092
11092
|
if (!(this.finalTranscript === s && e === "")) {
|
|
11093
11093
|
Mm.PreResultUtils.process(this, i, e === "", this._onPreResult, this._options) && (e = "", i = "");
|
|
11094
11094
|
var o = this.commands && el.CommandUtils.execCommand(this, i, this._options, this._primitiveElement || this._genericElement, this._originalText);
|
|
@@ -11108,24 +11108,24 @@ var Qo = Oi, Mm = Ii, el = Cr, Br = xr, ga = Li, nt = tn, va = Mi, tl = Rn, nl =
|
|
|
11108
11108
|
}, {
|
|
11109
11109
|
key: "updatePrimitiveElement",
|
|
11110
11110
|
value: function(e, n, i) {
|
|
11111
|
-
this.isHighlighted &&
|
|
11111
|
+
this.isHighlighted && va.Highlight.removeForPrimitive(this, e), this.primitiveTextRecorded || ya.Padding.adjustStateAfterRecodingPrimitiveElement(this, e), i && ya.Padding.adjustSateForNoTextPrimitiveElement(this);
|
|
11112
11112
|
var a = this.startPadding + this.finalTranscript + n;
|
|
11113
11113
|
if (e.value = a + this.endPadding, !this.isTargetInShadow) {
|
|
11114
11114
|
var s = a.length + this.numberOfSpacesAfterNewText;
|
|
11115
11115
|
nl.Cursor.setOffsetForPrimitive(e, s, this.autoScroll);
|
|
11116
11116
|
}
|
|
11117
|
-
this.autoScroll && tl.Browser.IS_SAFARI() && this.isCursorAtEnd &&
|
|
11117
|
+
this.autoScroll && tl.Browser.IS_SAFARI() && this.isCursorAtEnd && jr.AutoScroll.scrollSafariPrimitiveToEnd(e);
|
|
11118
11118
|
}
|
|
11119
11119
|
}, {
|
|
11120
11120
|
key: "updateGenericElement",
|
|
11121
11121
|
value: function(e, n, i) {
|
|
11122
|
-
this.isHighlighted &&
|
|
11123
|
-
var a = (i ? "" : this.startPadding) +
|
|
11122
|
+
this.isHighlighted && va.Highlight.removeForGeneric(this, e), this.spansPopulated || nt.Elements.appendSpans(this, e);
|
|
11123
|
+
var a = (i ? "" : this.startPadding) + ba.Text.lineBreak(this.finalTranscript);
|
|
11124
11124
|
this.finalSpan.innerHTML = a;
|
|
11125
|
-
var s =
|
|
11126
|
-
|
|
11127
|
-
var o =
|
|
11128
|
-
this.interimSpan.innerHTML = o, tl.Browser.IS_SAFARI() && this.insertInCursorLocation && nl.Cursor.setOffsetForSafariGeneric(e, a.length + o.length), s &&
|
|
11125
|
+
var s = jr.AutoScroll.isRequired(this.autoScroll, e);
|
|
11126
|
+
jr.AutoScroll.changeStateIfNeeded(this, s);
|
|
11127
|
+
var o = ba.Text.lineBreak(n) + (i ? "" : this.endPadding);
|
|
11128
|
+
this.interimSpan.innerHTML = o, tl.Browser.IS_SAFARI() && this.insertInCursorLocation && nl.Cursor.setOffsetForSafariGeneric(e, a.length + o.length), s && jr.AutoScroll.scrollGeneric(this, e), i && (this.scrollingSpan.innerHTML = "");
|
|
11129
11129
|
}
|
|
11130
11130
|
}, {
|
|
11131
11131
|
key: "finalise",
|
|
@@ -11163,11 +11163,11 @@ var Qo = Oi, Mm = Ii, el = Cr, Br = xr, ga = Li, nt = tn, va = Mi, tl = Rn, nl =
|
|
|
11163
11163
|
}]);
|
|
11164
11164
|
}();
|
|
11165
11165
|
Sr.Speech = Pm;
|
|
11166
|
-
Object.defineProperty(
|
|
11166
|
+
Object.defineProperty(Ti, "__esModule", {
|
|
11167
11167
|
value: !0
|
|
11168
11168
|
});
|
|
11169
|
-
|
|
11170
|
-
var rl =
|
|
11169
|
+
Ti.WebSpeech = void 0;
|
|
11170
|
+
var rl = Ri, il = Rn, $m = Sr, Fm = /* @__PURE__ */ function(t) {
|
|
11171
11171
|
function r() {
|
|
11172
11172
|
return _(this, r), V(this, r);
|
|
11173
11173
|
}
|
|
@@ -11226,12 +11226,12 @@ var rl = Ti, il = Rn, $m = Sr, Fm = /* @__PURE__ */ function(t) {
|
|
|
11226
11226
|
}
|
|
11227
11227
|
}]);
|
|
11228
11228
|
}($m.Speech);
|
|
11229
|
-
|
|
11230
|
-
var
|
|
11231
|
-
Object.defineProperty(
|
|
11229
|
+
Ti.WebSpeech = Fm;
|
|
11230
|
+
var $i = {};
|
|
11231
|
+
Object.defineProperty($i, "__esModule", {
|
|
11232
11232
|
value: !0
|
|
11233
11233
|
});
|
|
11234
|
-
|
|
11234
|
+
$i.GlobalState = void 0;
|
|
11235
11235
|
var Lu = /* @__PURE__ */ function() {
|
|
11236
11236
|
function t() {
|
|
11237
11237
|
_(this, t);
|
|
@@ -11245,13 +11245,13 @@ var Lu = /* @__PURE__ */ function() {
|
|
|
11245
11245
|
}
|
|
11246
11246
|
}]);
|
|
11247
11247
|
}();
|
|
11248
|
-
|
|
11248
|
+
$i.GlobalState = Lu;
|
|
11249
11249
|
Lu.doubleClickPending = !1;
|
|
11250
|
-
var
|
|
11251
|
-
Object.defineProperty(
|
|
11250
|
+
var Fi = {}, Ni = {};
|
|
11251
|
+
Object.defineProperty(Ni, "__esModule", {
|
|
11252
11252
|
value: !0
|
|
11253
11253
|
});
|
|
11254
|
-
|
|
11254
|
+
Ni.PreventConnectionStop = void 0;
|
|
11255
11255
|
var Nm = /* @__PURE__ */ function() {
|
|
11256
11256
|
function t() {
|
|
11257
11257
|
_(this, t);
|
|
@@ -11270,25 +11270,25 @@ var Nm = /* @__PURE__ */ function() {
|
|
|
11270
11270
|
}
|
|
11271
11271
|
}]);
|
|
11272
11272
|
}();
|
|
11273
|
-
|
|
11274
|
-
var
|
|
11275
|
-
Object.defineProperty(
|
|
11273
|
+
Ni.PreventConnectionStop = Nm;
|
|
11274
|
+
var Di = {}, Bi = {};
|
|
11275
|
+
Object.defineProperty(Bi, "__esModule", {
|
|
11276
11276
|
value: !0
|
|
11277
11277
|
});
|
|
11278
|
-
|
|
11279
|
-
|
|
11280
|
-
Object.defineProperty(
|
|
11278
|
+
Bi.README_URL = void 0;
|
|
11279
|
+
Bi.README_URL = "https://github.com/OvidijusParsiunas/speech-to-element";
|
|
11280
|
+
Object.defineProperty(Di, "__esModule", {
|
|
11281
11281
|
value: !0
|
|
11282
11282
|
});
|
|
11283
|
-
|
|
11284
|
-
var
|
|
11283
|
+
Di.AzureSpeechConfig = void 0;
|
|
11284
|
+
var wa = Bi, Dm = /* @__PURE__ */ function() {
|
|
11285
11285
|
function t() {
|
|
11286
11286
|
_(this, t);
|
|
11287
11287
|
}
|
|
11288
11288
|
return S(t, null, [{
|
|
11289
11289
|
key: "validateOptions",
|
|
11290
11290
|
value: function(e, n) {
|
|
11291
|
-
return n ? !n.subscriptionKey && !n.token && !n.retrieveToken ? (e("Please define a 'subscriptionKey', 'token' or 'retrieveToken' property - more info: ".concat(
|
|
11291
|
+
return n ? !n.subscriptionKey && !n.token && !n.retrieveToken ? (e("Please define a 'subscriptionKey', 'token' or 'retrieveToken' property - more info: ".concat(wa.README_URL)), !1) : n.region ? !0 : (e("Please define a 'region' property - more info: ".concat(wa.README_URL)), !1) : (e("Please provide subscription details - more info: ".concat(wa.README_URL)), !1);
|
|
11292
11292
|
}
|
|
11293
11293
|
}, {
|
|
11294
11294
|
key: "getNewSpeechConfig",
|
|
@@ -11346,12 +11346,12 @@ var ba = Di, Dm = /* @__PURE__ */ function() {
|
|
|
11346
11346
|
}()
|
|
11347
11347
|
}]);
|
|
11348
11348
|
}();
|
|
11349
|
-
|
|
11350
|
-
var
|
|
11351
|
-
Object.defineProperty(
|
|
11349
|
+
Di.AzureSpeechConfig = Dm;
|
|
11350
|
+
var ji = {};
|
|
11351
|
+
Object.defineProperty(ji, "__esModule", {
|
|
11352
11352
|
value: !0
|
|
11353
11353
|
});
|
|
11354
|
-
|
|
11354
|
+
ji.StopTimeout = void 0;
|
|
11355
11355
|
var Mu = /* @__PURE__ */ function() {
|
|
11356
11356
|
function t() {
|
|
11357
11357
|
_(this, t);
|
|
@@ -11370,13 +11370,13 @@ var Mu = /* @__PURE__ */ function() {
|
|
|
11370
11370
|
}
|
|
11371
11371
|
}]);
|
|
11372
11372
|
}();
|
|
11373
|
-
|
|
11373
|
+
ji.StopTimeout = Mu;
|
|
11374
11374
|
Mu.DEFAULT_MS = 2e4;
|
|
11375
|
-
var
|
|
11376
|
-
Object.defineProperty(
|
|
11375
|
+
var Hi = {};
|
|
11376
|
+
Object.defineProperty(Hi, "__esModule", {
|
|
11377
11377
|
value: !0
|
|
11378
11378
|
});
|
|
11379
|
-
|
|
11379
|
+
Hi.AzureTranscript = void 0;
|
|
11380
11380
|
var Bm = _r, jm = /* @__PURE__ */ function() {
|
|
11381
11381
|
function t() {
|
|
11382
11382
|
_(this, t);
|
|
@@ -11399,12 +11399,12 @@ var Bm = _r, jm = /* @__PURE__ */ function() {
|
|
|
11399
11399
|
)
|
|
11400
11400
|
}]);
|
|
11401
11401
|
}();
|
|
11402
|
-
|
|
11403
|
-
Object.defineProperty(
|
|
11402
|
+
Hi.AzureTranscript = jm;
|
|
11403
|
+
Object.defineProperty(Fi, "__esModule", {
|
|
11404
11404
|
value: !0
|
|
11405
11405
|
});
|
|
11406
|
-
|
|
11407
|
-
var al =
|
|
11406
|
+
Fi.Azure = void 0;
|
|
11407
|
+
var al = Ni, sl = Di, ka = ji, ol = Hi, Hm = Sr, Um = /* @__PURE__ */ function(t) {
|
|
11408
11408
|
function r() {
|
|
11409
11409
|
var e;
|
|
11410
11410
|
return _(this, r), e = V(this, r, arguments), e._newTextPadding = "", e;
|
|
@@ -11412,7 +11412,7 @@ var al = Fi, sl = Ni, wa = Bi, ol = ji, Hm = Sr, Um = /* @__PURE__ */ function(t
|
|
|
11412
11412
|
return W(r, t), S(r, [{
|
|
11413
11413
|
key: "start",
|
|
11414
11414
|
value: function(n, i) {
|
|
11415
|
-
this._newTextPadding = "", this.stopTimeout === void 0 &&
|
|
11415
|
+
this._newTextPadding = "", this.stopTimeout === void 0 && ka.StopTimeout.reset(this, n == null ? void 0 : n.stopAfterSilenceMs), this.prepareBeforeStart(n), this.startAsync(n), i || al.PreventConnectionStop.applyPrevention(this);
|
|
11416
11416
|
}
|
|
11417
11417
|
}, {
|
|
11418
11418
|
key: "startAsync",
|
|
@@ -11479,7 +11479,7 @@ var al = Fi, sl = Ni, wa = Bi, ol = ji, Hm = Sr, Um = /* @__PURE__ */ function(t
|
|
|
11479
11479
|
value: function(n, i) {
|
|
11480
11480
|
if (!this._stopping) {
|
|
11481
11481
|
var a = ol.AzureTranscript.extract(this._newTextPadding + i.result.text, this.finalTranscript, !1, this._translations), s = a.interimTranscript, o = a.finalTranscript, l = a.newText;
|
|
11482
|
-
|
|
11482
|
+
ka.StopTimeout.reset(this, this.stopTimeoutMS), this.updateElements(s, o, l);
|
|
11483
11483
|
}
|
|
11484
11484
|
}
|
|
11485
11485
|
// WORK - huge opportunity to fix this in the repo!!!!!
|
|
@@ -11498,7 +11498,7 @@ var al = Fi, sl = Ni, wa = Bi, ol = ji, Hm = Sr, Um = /* @__PURE__ */ function(t
|
|
|
11498
11498
|
case window.SpeechSDK.ResultReason.RecognizedSpeech:
|
|
11499
11499
|
if (a.text && !this._stopping) {
|
|
11500
11500
|
var s = ol.AzureTranscript.extract(this._newTextPadding + a.text, this.finalTranscript, !0, this._translations), o = s.interimTranscript, l = s.finalTranscript, c = s.newText;
|
|
11501
|
-
|
|
11501
|
+
ka.StopTimeout.reset(this, this.stopTimeoutMS), this.updateElements(o, l, c), l !== "" && (this._newTextPadding = " ");
|
|
11502
11502
|
}
|
|
11503
11503
|
break;
|
|
11504
11504
|
}
|
|
@@ -11553,11 +11553,11 @@ var al = Fi, sl = Ni, wa = Bi, ol = ji, Hm = Sr, Um = /* @__PURE__ */ function(t
|
|
|
11553
11553
|
}
|
|
11554
11554
|
}]);
|
|
11555
11555
|
}(Hm.Speech);
|
|
11556
|
-
|
|
11556
|
+
Fi.Azure = Um;
|
|
11557
11557
|
Object.defineProperty(Ou, "__esModule", {
|
|
11558
11558
|
value: !0
|
|
11559
11559
|
});
|
|
11560
|
-
var ll =
|
|
11560
|
+
var ll = Ti, zm = Cr, Je = $i, qm = Fi, Vm = /* @__PURE__ */ function() {
|
|
11561
11561
|
function t() {
|
|
11562
11562
|
_(this, t);
|
|
11563
11563
|
}
|
|
@@ -11595,7 +11595,7 @@ var ll = Ai, zm = Cr, Je = Pi, qm = $i, Vm = /* @__PURE__ */ function() {
|
|
|
11595
11595
|
Je.GlobalState.service && zm.CommandUtils.toggleCommandModeOff(Je.GlobalState.service);
|
|
11596
11596
|
}
|
|
11597
11597
|
}]);
|
|
11598
|
-
}(),
|
|
11598
|
+
}(), Zr = Ou.default = Vm, Wm = /* @__PURE__ */ function() {
|
|
11599
11599
|
function t(r, e) {
|
|
11600
11600
|
_(this, t), this.silenceMS = 2e3, this.stop = !0, typeof e == "boolean" && e === !1 && (this.stop = !1), typeof r == "number" && (this.silenceMS = r);
|
|
11601
11601
|
}
|
|
@@ -11605,7 +11605,7 @@ var ll = Ai, zm = Cr, Je = Pi, qm = $i, Vm = /* @__PURE__ */ function() {
|
|
|
11605
11605
|
var i = this;
|
|
11606
11606
|
this._silenceTimeout = setTimeout(function() {
|
|
11607
11607
|
var a;
|
|
11608
|
-
(a = e.submit) == null || a.call(e),
|
|
11608
|
+
(a = e.submit) == null || a.call(e), Zr.stop(), i.stop || setTimeout(n, Fs.MICROPHONE_RESET_TIMEOUT_MS);
|
|
11609
11609
|
}, this.silenceMS);
|
|
11610
11610
|
}
|
|
11611
11611
|
}, {
|
|
@@ -11631,7 +11631,7 @@ var ll = Ai, zm = Cr, Je = Pi, qm = $i, Vm = /* @__PURE__ */ function() {
|
|
|
11631
11631
|
var s = q(e.speechToText) == "object" ? e.speechToText : {};
|
|
11632
11632
|
a = V(this, r, [s == null ? void 0 : s.button]);
|
|
11633
11633
|
var o = a.processConfiguration(n, e.speechToText), l = o.serviceName, c = o.processedConfig;
|
|
11634
|
-
if (a._addErrorMessage = i, l === "webspeech" && !
|
|
11634
|
+
if (a._addErrorMessage = i, l === "webspeech" && !Zr.isWebSpeechSupported()) a.changeToUnsupported();
|
|
11635
11635
|
else {
|
|
11636
11636
|
var u = !e.textInput || !e.textInput.disabled;
|
|
11637
11637
|
a.elementRef.onclick = a.buttonClick.bind(a, n, u, l, c);
|
|
@@ -11654,7 +11654,7 @@ var ll = Ai, zm = Cr, Je = Pi, qm = $i, Vm = /* @__PURE__ */ function() {
|
|
|
11654
11654
|
return y.toLowerCase().includes(g) ? (setTimeout(function() {
|
|
11655
11655
|
var v;
|
|
11656
11656
|
return (v = n.submit) == null ? void 0 : v.call(n);
|
|
11657
|
-
}),
|
|
11657
|
+
}), Zr.endCommandMode(), {
|
|
11658
11658
|
restart: !0,
|
|
11659
11659
|
removeNewText: !0
|
|
11660
11660
|
}) : null;
|
|
@@ -11667,7 +11667,7 @@ var ll = Ai, zm = Cr, Je = Pi, qm = $i, Vm = /* @__PURE__ */ function() {
|
|
|
11667
11667
|
key: "buttonClick",
|
|
11668
11668
|
value: function(n, i, a, s) {
|
|
11669
11669
|
var o = this, l = s == null ? void 0 : s.events;
|
|
11670
|
-
n.removeTextIfPlaceholder(),
|
|
11670
|
+
n.removeTextIfPlaceholder(), Zr.toggle(a, ne({
|
|
11671
11671
|
insertInCursorLocation: !1,
|
|
11672
11672
|
element: i ? n.inputElementRef : void 0,
|
|
11673
11673
|
onError: function() {
|
|
@@ -11746,7 +11746,7 @@ var Fs = Pu, Ns = /* @__PURE__ */ function() {
|
|
|
11746
11746
|
var s = t.createImageAttachment(n);
|
|
11747
11747
|
this.addFileAttachment(e, "image", s, i);
|
|
11748
11748
|
} else if (a === "audio") {
|
|
11749
|
-
var o =
|
|
11749
|
+
var o = us.createAudioAttachment(n);
|
|
11750
11750
|
this.addFileAttachment(e, "audio", o, i);
|
|
11751
11751
|
} else {
|
|
11752
11752
|
var l = t.createAnyFileAttachment(e.name);
|
|
@@ -11784,7 +11784,7 @@ var Fs = Pu, Ns = /* @__PURE__ */ function() {
|
|
|
11784
11784
|
var n, i = this._attachments.findIndex(function(s) {
|
|
11785
11785
|
return s === e;
|
|
11786
11786
|
}), a = this._attachments[i].attachmentContainerElement;
|
|
11787
|
-
this._attachments.splice(i, 1),
|
|
11787
|
+
this._attachments.splice(i, 1), us.stopAttachmentPlayback(a), a.remove(), this._toggleContainerDisplay(!1), (n = this._validationHandler) == null || n.call(this);
|
|
11788
11788
|
}
|
|
11789
11789
|
}, {
|
|
11790
11790
|
key: "getFiles",
|
|
@@ -11961,7 +11961,7 @@ var Fs = Pu, Ns = /* @__PURE__ */ function() {
|
|
|
11961
11961
|
}]);
|
|
11962
11962
|
}(Ns);
|
|
11963
11963
|
$u.TIMER_LIMIT_S = 5999;
|
|
11964
|
-
var
|
|
11964
|
+
var us = $u, Km = /* @__PURE__ */ function() {
|
|
11965
11965
|
function t() {
|
|
11966
11966
|
_(this, t);
|
|
11967
11967
|
}
|
|
@@ -11970,7 +11970,7 @@ var cs = $u, Km = /* @__PURE__ */ function() {
|
|
|
11970
11970
|
value: (
|
|
11971
11971
|
// prettier-ignore
|
|
11972
11972
|
function(e, n, i, a, s) {
|
|
11973
|
-
return s === "audio" ? new
|
|
11973
|
+
return s === "audio" ? new us(e, n, i, a) : new Ns(e, n, i, a);
|
|
11974
11974
|
}
|
|
11975
11975
|
)
|
|
11976
11976
|
}]);
|
|
@@ -12512,7 +12512,7 @@ var Xn = Fu, Jm = /* @__PURE__ */ function(t) {
|
|
|
12512
12512
|
return t.overwriteDefaultStyleWithSubmit(n, "loading"), t.overwriteDefaultStyleWithSubmit(n, "stop"), e != null && e.alwaysEnabled || t.setUpDisabledButton(n), n;
|
|
12513
12513
|
}
|
|
12514
12514
|
}]);
|
|
12515
|
-
}(),
|
|
12515
|
+
}(), Yr = /* @__PURE__ */ function(t) {
|
|
12516
12516
|
function r(e, n, i, a, s, o) {
|
|
12517
12517
|
var l;
|
|
12518
12518
|
_(this, r);
|
|
@@ -12786,8 +12786,8 @@ var Xn = Fu, Jm = /* @__PURE__ */ function(t) {
|
|
|
12786
12786
|
}
|
|
12787
12787
|
}]);
|
|
12788
12788
|
}(kr);
|
|
12789
|
-
|
|
12790
|
-
var Qm =
|
|
12789
|
+
Yr.SUBMIT_CLASS = "submit-button", Yr.LOADING_CLASS = "loading-button", Yr.DISABLED_CLASS = "disabled-button";
|
|
12790
|
+
var Qm = Yr, e0 = `<?xml version="1.0" encoding="utf-8"?>
|
|
12791
12791
|
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
12792
12792
|
<path d="M27.1 14.313V5.396L24.158 8.34c-2.33-2.325-5.033-3.503-8.11-3.503C9.902 4.837 4.901 9.847 4.899 16c.001 6.152 5.003 11.158 11.15 11.16 4.276 0 9.369-2.227 10.836-8.478l.028-.122h-3.23l-.022.068c-1.078 3.242-4.138 5.421-7.613 5.421a8 8 0 0 1-5.691-2.359A7.993 7.993 0 0 1 8 16.001c0-4.438 3.611-8.049 8.05-8.049 2.069 0 3.638.58 5.924 2.573l-3.792 3.789H27.1z"/>
|
|
12793
12793
|
</svg>
|
|
@@ -13004,8 +13004,8 @@ var Qm = Zr, e0 = `<?xml version="1.0" encoding="utf-8"?>
|
|
|
13004
13004
|
key: "addElements",
|
|
13005
13005
|
value: function(e, n, i, a, s, o) {
|
|
13006
13006
|
De.addElements(e, n.elementRef);
|
|
13007
|
-
var l =
|
|
13008
|
-
lm.set(n.inputElementRef, l, s.elementRef, c),
|
|
13007
|
+
var l = hi.create(), c = hm.addButtons(l, i, a, o);
|
|
13008
|
+
lm.set(n.inputElementRef, l, s.elementRef, c), hi.add(e, l);
|
|
13009
13009
|
}
|
|
13010
13010
|
}]);
|
|
13011
13011
|
}(), l0 = /* @__PURE__ */ function() {
|
|
@@ -13056,7 +13056,7 @@ var Qm = Zr, e0 = `<?xml version="1.0" encoding="utf-8"?>
|
|
|
13056
13056
|
}, e.setPlaceholderText = function() {
|
|
13057
13057
|
}, e._hasBeenRendered = !1, e._auxiliaryStyleApplied = !1, e._elementRef = document.createElement("div"), e._elementRef.id = "container", e.attachShadow({
|
|
13058
13058
|
mode: "open"
|
|
13059
|
-
}).appendChild(e._elementRef),
|
|
13059
|
+
}).appendChild(e._elementRef), da.apply(c0, e.shadowRoot), setTimeout(function() {
|
|
13060
13060
|
e._hasBeenRendered || e.onRender();
|
|
13061
13061
|
}, 20), e;
|
|
13062
13062
|
}
|
|
@@ -13070,7 +13070,7 @@ var Qm = Zr, e0 = `<?xml version="1.0" encoding="utf-8"?>
|
|
|
13070
13070
|
key: "onRender",
|
|
13071
13071
|
value: function() {
|
|
13072
13072
|
var n;
|
|
13073
|
-
eu.attemptAppendStyleSheetToHead(this.style), Be.processConnect(this), (!this._activeService || this._activeService.demo) && (this._activeService = Qf.create(this)), this.auxiliaryStyle && !this._auxiliaryStyleApplied && (
|
|
13073
|
+
eu.attemptAppendStyleSheetToHead(this.style), Be.processConnect(this), (!this._activeService || this._activeService.demo) && (this._activeService = Qf.create(this)), this.auxiliaryStyle && !this._auxiliaryStyleApplied && (da.apply(this.auxiliaryStyle, this.shadowRoot), this._auxiliaryStyleApplied = !0), da.applyDefaultStyleToComponent(this.style, this.chatStyle), Be.checkForContainerStyles(this, this._elementRef), this._activeService.key && this._activeService.validateKeyProperty ? vh.render(this._elementRef, this.changeToChatView.bind(this), this._activeService) : !(this._activeService instanceof Ie) || this._activeService.key ? ((n = this._childElement) !== null && n !== void 0 || (this._childElement = this.children[0]), l0.render(this, this._elementRef, this._activeService, this._childElement)) : this._activeService instanceof Ie && Cf.render(this._elementRef, this.changeToChatView.bind(this), this._activeService), this._hasBeenRendered = !0, ui.onRender(this);
|
|
13074
13074
|
}
|
|
13075
13075
|
}, {
|
|
13076
13076
|
key: "disconnectedCallback",
|
|
@@ -13142,7 +13142,7 @@ function Lt(t) {
|
|
|
13142
13142
|
return t != null && typeof t == "object";
|
|
13143
13143
|
}
|
|
13144
13144
|
var w0 = "[object Symbol]";
|
|
13145
|
-
function
|
|
13145
|
+
function Ui(t) {
|
|
13146
13146
|
return typeof t == "symbol" || Lt(t) && On(t) == w0;
|
|
13147
13147
|
}
|
|
13148
13148
|
function k0(t, r) {
|
|
@@ -13156,7 +13156,7 @@ function ju(t) {
|
|
|
13156
13156
|
return t;
|
|
13157
13157
|
if (lt(t))
|
|
13158
13158
|
return k0(t, ju) + "";
|
|
13159
|
-
if (
|
|
13159
|
+
if (Ui(t))
|
|
13160
13160
|
return fl ? fl.call(t) : "";
|
|
13161
13161
|
var r = t + "";
|
|
13162
13162
|
return r == "0" && 1 / t == -_0 ? "-0" : r;
|
|
@@ -13179,7 +13179,7 @@ var ml = NaN, A0 = /^[-+]0x[0-9a-f]+$/i, T0 = /^0b[01]+$/i, R0 = /^0o[0-7]+$/i,
|
|
|
13179
13179
|
function I0(t) {
|
|
13180
13180
|
if (typeof t == "number")
|
|
13181
13181
|
return t;
|
|
13182
|
-
if (
|
|
13182
|
+
if (Ui(t))
|
|
13183
13183
|
return ml;
|
|
13184
13184
|
if (Ke(t)) {
|
|
13185
13185
|
var r = typeof t.valueOf == "function" ? t.valueOf() : t;
|
|
@@ -13215,8 +13215,8 @@ function js(t) {
|
|
|
13215
13215
|
var r = On(t);
|
|
13216
13216
|
return r == $0 || r == F0 || r == P0 || r == N0;
|
|
13217
13217
|
}
|
|
13218
|
-
var
|
|
13219
|
-
var t = /[^.]+$/.exec(
|
|
13218
|
+
var _a = Xe["__core-js_shared__"], yl = function() {
|
|
13219
|
+
var t = /[^.]+$/.exec(_a && _a.keys && _a.keys.IE_PROTO || "");
|
|
13220
13220
|
return t ? "Symbol(src)_1." + t : "";
|
|
13221
13221
|
}();
|
|
13222
13222
|
function D0(t) {
|
|
@@ -13248,13 +13248,13 @@ function J0(t) {
|
|
|
13248
13248
|
function Z0(t, r) {
|
|
13249
13249
|
return t == null ? void 0 : t[r];
|
|
13250
13250
|
}
|
|
13251
|
-
function
|
|
13251
|
+
function zi(t, r) {
|
|
13252
13252
|
var e = Z0(t, r);
|
|
13253
13253
|
return J0(e) ? e : void 0;
|
|
13254
13254
|
}
|
|
13255
|
-
var bl =
|
|
13256
|
-
return
|
|
13257
|
-
} : Bs, wl = Object.create,
|
|
13255
|
+
var bl = zi(Xe, "WeakMap"), pi = bl && new bl(), Hu = pi ? function(t, r) {
|
|
13256
|
+
return pi.set(t, r), t;
|
|
13257
|
+
} : Bs, wl = Object.create, qi = /* @__PURE__ */ function() {
|
|
13258
13258
|
function t() {
|
|
13259
13259
|
}
|
|
13260
13260
|
return function(r) {
|
|
@@ -13288,7 +13288,7 @@ function dr(t) {
|
|
|
13288
13288
|
case 7:
|
|
13289
13289
|
return new t(r[0], r[1], r[2], r[3], r[4], r[5], r[6]);
|
|
13290
13290
|
}
|
|
13291
|
-
var e =
|
|
13291
|
+
var e = qi(t.prototype), n = t.apply(e, r);
|
|
13292
13292
|
return Ke(n) ? n : e;
|
|
13293
13293
|
};
|
|
13294
13294
|
}
|
|
@@ -13345,12 +13345,12 @@ var ng = 4294967295;
|
|
|
13345
13345
|
function _n(t) {
|
|
13346
13346
|
this.__wrapped__ = t, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = ng, this.__views__ = [];
|
|
13347
13347
|
}
|
|
13348
|
-
_n.prototype =
|
|
13348
|
+
_n.prototype = qi(Us.prototype);
|
|
13349
13349
|
_n.prototype.constructor = _n;
|
|
13350
13350
|
function rg() {
|
|
13351
13351
|
}
|
|
13352
|
-
var qu =
|
|
13353
|
-
return
|
|
13352
|
+
var qu = pi ? function(t) {
|
|
13353
|
+
return pi.get(t);
|
|
13354
13354
|
} : rg, kl = {}, ig = Object.prototype, ag = ig.hasOwnProperty;
|
|
13355
13355
|
function sg(t) {
|
|
13356
13356
|
for (var r = t.name + "", e = kl[r], n = ag.call(kl, r) ? e.length : 0; n--; ) {
|
|
@@ -13363,7 +13363,7 @@ function sg(t) {
|
|
|
13363
13363
|
function Sn(t, r) {
|
|
13364
13364
|
this.__wrapped__ = t, this.__actions__ = [], this.__chain__ = !!r, this.__index__ = 0, this.__values__ = void 0;
|
|
13365
13365
|
}
|
|
13366
|
-
Sn.prototype =
|
|
13366
|
+
Sn.prototype = qi(Us.prototype);
|
|
13367
13367
|
Sn.prototype.constructor = Sn;
|
|
13368
13368
|
function zs(t, r) {
|
|
13369
13369
|
var e = -1, n = t.length;
|
|
@@ -13378,7 +13378,7 @@ function og(t) {
|
|
|
13378
13378
|
return r.__actions__ = zs(t.__actions__), r.__index__ = t.__index__, r.__values__ = t.__values__, r;
|
|
13379
13379
|
}
|
|
13380
13380
|
var lg = Object.prototype, cg = lg.hasOwnProperty;
|
|
13381
|
-
function
|
|
13381
|
+
function fi(t) {
|
|
13382
13382
|
if (Lt(t) && !lt(t) && !(t instanceof _n)) {
|
|
13383
13383
|
if (t instanceof Sn)
|
|
13384
13384
|
return t;
|
|
@@ -13387,10 +13387,10 @@ function pi(t) {
|
|
|
13387
13387
|
}
|
|
13388
13388
|
return new Sn(t);
|
|
13389
13389
|
}
|
|
13390
|
-
|
|
13391
|
-
|
|
13390
|
+
fi.prototype = Us.prototype;
|
|
13391
|
+
fi.prototype.constructor = fi;
|
|
13392
13392
|
function ug(t) {
|
|
13393
|
-
var r = sg(t), e =
|
|
13393
|
+
var r = sg(t), e = fi[r];
|
|
13394
13394
|
if (typeof e != "function" || !(r in _n.prototype))
|
|
13395
13395
|
return !1;
|
|
13396
13396
|
if (t === e)
|
|
@@ -13431,14 +13431,14 @@ function bg(t) {
|
|
|
13431
13431
|
return t;
|
|
13432
13432
|
};
|
|
13433
13433
|
}
|
|
13434
|
-
var
|
|
13434
|
+
var mi = function() {
|
|
13435
13435
|
try {
|
|
13436
|
-
var t =
|
|
13436
|
+
var t = zi(Object, "defineProperty");
|
|
13437
13437
|
return t({}, "", {}), t;
|
|
13438
13438
|
} catch {
|
|
13439
13439
|
}
|
|
13440
|
-
}(), wg =
|
|
13441
|
-
return
|
|
13440
|
+
}(), wg = mi ? function(t, r) {
|
|
13441
|
+
return mi(t, "toString", {
|
|
13442
13442
|
configurable: !0,
|
|
13443
13443
|
enumerable: !1,
|
|
13444
13444
|
value: bg(r),
|
|
@@ -13529,7 +13529,7 @@ function Vg(t, r) {
|
|
|
13529
13529
|
return t;
|
|
13530
13530
|
}
|
|
13531
13531
|
var Cl = "__lodash_placeholder__";
|
|
13532
|
-
function
|
|
13532
|
+
function gi(t, r) {
|
|
13533
13533
|
for (var e = -1, n = t.length, i = 0, a = []; ++e < n; ) {
|
|
13534
13534
|
var s = t[e];
|
|
13535
13535
|
(s === r || s === Cl) && (t[e] = Cl, a[i++] = e);
|
|
@@ -13545,7 +13545,7 @@ function Vs(t, r, e, n, i, a, s, o, l, c) {
|
|
|
13545
13545
|
if (p)
|
|
13546
13546
|
var F = Ju(y), R = tg(b, F);
|
|
13547
13547
|
if (n && (b = Uu(b, n, i, p)), a && (b = zu(b, a, s, p)), v -= R, p && v < c) {
|
|
13548
|
-
var U =
|
|
13548
|
+
var U = gi(b, F);
|
|
13549
13549
|
return Ku(
|
|
13550
13550
|
t,
|
|
13551
13551
|
r,
|
|
@@ -13569,7 +13569,7 @@ function Xg(t, r, e) {
|
|
|
13569
13569
|
function i() {
|
|
13570
13570
|
for (var a = arguments.length, s = Array(a), o = a, l = Ju(i); o--; )
|
|
13571
13571
|
s[o] = arguments[o];
|
|
13572
|
-
var c = a < 3 && s[0] !== l && s[a - 1] !== l ? [] :
|
|
13572
|
+
var c = a < 3 && s[0] !== l && s[a - 1] !== l ? [] : gi(s, l);
|
|
13573
13573
|
if (a -= c.length, a < e)
|
|
13574
13574
|
return Ku(
|
|
13575
13575
|
t,
|
|
@@ -13600,26 +13600,26 @@ function ev(t, r, e, n) {
|
|
|
13600
13600
|
}
|
|
13601
13601
|
return s;
|
|
13602
13602
|
}
|
|
13603
|
-
var xl = "__lodash_placeholder__",
|
|
13603
|
+
var xl = "__lodash_placeholder__", Sa = 1, tv = 2, nv = 4, El = 8, Nn = 128, Al = 256, rv = Math.min;
|
|
13604
13604
|
function iv(t, r) {
|
|
13605
|
-
var e = t[1], n = r[1], i = e | n, a = i < (
|
|
13605
|
+
var e = t[1], n = r[1], i = e | n, a = i < (Sa | tv | Nn), s = n == Nn && e == El || n == Nn && e == Al && t[7].length <= r[8] || n == (Nn | Al) && r[7].length <= r[8] && e == El;
|
|
13606
13606
|
if (!(a || s))
|
|
13607
13607
|
return t;
|
|
13608
|
-
n &
|
|
13608
|
+
n & Sa && (t[2] = r[2], i |= e & Sa ? 0 : nv);
|
|
13609
13609
|
var o = r[3];
|
|
13610
13610
|
if (o) {
|
|
13611
13611
|
var l = t[3];
|
|
13612
|
-
t[3] = l ? Uu(l, o, r[4]) : o, t[4] = l ?
|
|
13612
|
+
t[3] = l ? Uu(l, o, r[4]) : o, t[4] = l ? gi(t[3], xl) : r[4];
|
|
13613
13613
|
}
|
|
13614
|
-
return o = r[5], o && (l = t[5], t[5] = l ? zu(l, o, r[6]) : o, t[6] = l ?
|
|
13614
|
+
return o = r[5], o && (l = t[5], t[5] = l ? zu(l, o, r[6]) : o, t[6] = l ? gi(t[5], xl) : r[6]), o = r[7], o && (t[7] = o), n & Nn && (t[8] = t[8] == null ? r[8] : rv(t[8], r[8])), t[9] == null && (t[9] = r[9]), t[0] = r[0], t[1] = i, t;
|
|
13615
13615
|
}
|
|
13616
|
-
var av = "Expected a function", Tl = 1, sv = 2,
|
|
13616
|
+
var av = "Expected a function", Tl = 1, sv = 2, Ca = 8, xa = 16, Ea = 32, Rl = 64, Ol = Math.max;
|
|
13617
13617
|
function ov(t, r, e, n, i, a, s, o) {
|
|
13618
13618
|
var l = r & sv;
|
|
13619
13619
|
if (!l && typeof t != "function")
|
|
13620
13620
|
throw new TypeError(av);
|
|
13621
13621
|
var c = n ? n.length : 0;
|
|
13622
|
-
if (c || (r &= ~(
|
|
13622
|
+
if (c || (r &= ~(Ea | Rl), n = i = void 0), s = s === void 0 ? s : Ol(vl(s), 0), o = o === void 0 ? o : vl(o), c -= i ? i.length : 0, r & Rl) {
|
|
13623
13623
|
var u = n, d = i;
|
|
13624
13624
|
n = i = void 0;
|
|
13625
13625
|
}
|
|
@@ -13635,27 +13635,27 @@ function ov(t, r, e, n, i, a, s, o) {
|
|
|
13635
13635
|
s,
|
|
13636
13636
|
o
|
|
13637
13637
|
];
|
|
13638
|
-
if (h && iv(p, h), t = p[0], r = p[1], e = p[2], n = p[3], i = p[4], o = p[9] = p[9] === void 0 ? l ? 0 : t.length : Ol(p[9] - c, 0), !o && r & (
|
|
13638
|
+
if (h && iv(p, h), t = p[0], r = p[1], e = p[2], n = p[3], i = p[4], o = p[9] = p[9] === void 0 ? l ? 0 : t.length : Ol(p[9] - c, 0), !o && r & (Ca | xa) && (r &= ~(Ca | xa)), !r || r == Tl)
|
|
13639
13639
|
var f = X0(t, r, e);
|
|
13640
|
-
else r ==
|
|
13640
|
+
else r == Ca || r == xa ? f = Xg(t, r, o) : (r == Ea || r == (Tl | Ea)) && !i.length ? f = ev(t, r, e, n) : f = Vs.apply(void 0, p);
|
|
13641
13641
|
var g = h ? Hu : Wu;
|
|
13642
13642
|
return Gu(g(f, p), t, r);
|
|
13643
13643
|
}
|
|
13644
13644
|
function Ws(t, r, e) {
|
|
13645
|
-
r == "__proto__" &&
|
|
13645
|
+
r == "__proto__" && mi ? mi(t, r, {
|
|
13646
13646
|
configurable: !0,
|
|
13647
13647
|
enumerable: !0,
|
|
13648
13648
|
value: e,
|
|
13649
13649
|
writable: !0
|
|
13650
13650
|
}) : t[r] = e;
|
|
13651
13651
|
}
|
|
13652
|
-
function
|
|
13652
|
+
function Vi(t, r) {
|
|
13653
13653
|
return t === r || t !== t && r !== r;
|
|
13654
13654
|
}
|
|
13655
13655
|
var lv = Object.prototype, cv = lv.hasOwnProperty;
|
|
13656
13656
|
function Zu(t, r, e) {
|
|
13657
13657
|
var n = t[r];
|
|
13658
|
-
(!(cv.call(t, r) &&
|
|
13658
|
+
(!(cv.call(t, r) && Vi(n, e)) || e === void 0 && !(r in t)) && Ws(t, r, e);
|
|
13659
13659
|
}
|
|
13660
13660
|
function uv(t, r, e, n) {
|
|
13661
13661
|
var i = !e;
|
|
@@ -13691,7 +13691,7 @@ function pv(t, r, e) {
|
|
|
13691
13691
|
if (!Ke(e))
|
|
13692
13692
|
return !1;
|
|
13693
13693
|
var n = typeof r;
|
|
13694
|
-
return (n == "number" ? Ks(e) && Er(r, e.length) : n == "string" && r in e) ?
|
|
13694
|
+
return (n == "number" ? Ks(e) && Er(r, e.length) : n == "string" && r in e) ? Vi(e[r], t) : !1;
|
|
13695
13695
|
}
|
|
13696
13696
|
function fv(t) {
|
|
13697
13697
|
return dv(function(r, e) {
|
|
@@ -13736,10 +13736,10 @@ function Kv(t) {
|
|
|
13736
13736
|
return t(r);
|
|
13737
13737
|
};
|
|
13738
13738
|
}
|
|
13739
|
-
var nd = typeof exports == "object" && exports && !exports.nodeType && exports, Qn = nd && typeof module == "object" && module && !module.nodeType && module, Jv = Qn && Qn.exports === nd,
|
|
13739
|
+
var nd = typeof exports == "object" && exports && !exports.nodeType && exports, Qn = nd && typeof module == "object" && module && !module.nodeType && module, Jv = Qn && Qn.exports === nd, Aa = Jv && Du.process, $l = function() {
|
|
13740
13740
|
try {
|
|
13741
13741
|
var t = Qn && Qn.require && Qn.require("util").types;
|
|
13742
|
-
return t ||
|
|
13742
|
+
return t || Aa && Aa.binding && Aa.binding("util");
|
|
13743
13743
|
} catch {
|
|
13744
13744
|
}
|
|
13745
13745
|
}(), Fl = $l && $l.isTypedArray, rd = Fl ? Kv(Fl) : Gv;
|
|
@@ -13782,9 +13782,9 @@ function i1(t, r) {
|
|
|
13782
13782
|
if (lt(t))
|
|
13783
13783
|
return !1;
|
|
13784
13784
|
var e = typeof t;
|
|
13785
|
-
return e == "number" || e == "symbol" || e == "boolean" || t == null ||
|
|
13785
|
+
return e == "number" || e == "symbol" || e == "boolean" || t == null || Ui(t) ? !0 : r1.test(t) || !n1.test(t) || r != null && t in Object(r);
|
|
13786
13786
|
}
|
|
13787
|
-
var pr =
|
|
13787
|
+
var pr = zi(Object, "create");
|
|
13788
13788
|
function a1() {
|
|
13789
13789
|
this.__data__ = pr ? pr(null) : {}, this.size = 0;
|
|
13790
13790
|
}
|
|
@@ -13826,29 +13826,29 @@ Wt.prototype.set = m1;
|
|
|
13826
13826
|
function g1() {
|
|
13827
13827
|
this.__data__ = [], this.size = 0;
|
|
13828
13828
|
}
|
|
13829
|
-
function
|
|
13829
|
+
function Wi(t, r) {
|
|
13830
13830
|
for (var e = t.length; e--; )
|
|
13831
|
-
if (
|
|
13831
|
+
if (Vi(t[e][0], r))
|
|
13832
13832
|
return e;
|
|
13833
13833
|
return -1;
|
|
13834
13834
|
}
|
|
13835
13835
|
var v1 = Array.prototype, y1 = v1.splice;
|
|
13836
13836
|
function b1(t) {
|
|
13837
|
-
var r = this.__data__, e =
|
|
13837
|
+
var r = this.__data__, e = Wi(r, t);
|
|
13838
13838
|
if (e < 0)
|
|
13839
13839
|
return !1;
|
|
13840
13840
|
var n = r.length - 1;
|
|
13841
13841
|
return e == n ? r.pop() : y1.call(r, e, 1), --this.size, !0;
|
|
13842
13842
|
}
|
|
13843
13843
|
function w1(t) {
|
|
13844
|
-
var r = this.__data__, e =
|
|
13844
|
+
var r = this.__data__, e = Wi(r, t);
|
|
13845
13845
|
return e < 0 ? void 0 : r[e][1];
|
|
13846
13846
|
}
|
|
13847
13847
|
function k1(t) {
|
|
13848
|
-
return
|
|
13848
|
+
return Wi(this.__data__, t) > -1;
|
|
13849
13849
|
}
|
|
13850
13850
|
function _1(t, r) {
|
|
13851
|
-
var e = this.__data__, n =
|
|
13851
|
+
var e = this.__data__, n = Wi(e, t);
|
|
13852
13852
|
return n < 0 ? (++this.size, e.push([t, r])) : e[n][1] = r, this;
|
|
13853
13853
|
}
|
|
13854
13854
|
function vt(t) {
|
|
@@ -13863,7 +13863,7 @@ vt.prototype.delete = b1;
|
|
|
13863
13863
|
vt.prototype.get = w1;
|
|
13864
13864
|
vt.prototype.has = k1;
|
|
13865
13865
|
vt.prototype.set = _1;
|
|
13866
|
-
var ad =
|
|
13866
|
+
var ad = zi(Xe, "Map");
|
|
13867
13867
|
function S1() {
|
|
13868
13868
|
this.size = 0, this.__data__ = {
|
|
13869
13869
|
hash: new Wt(),
|
|
@@ -13875,22 +13875,22 @@ function C1(t) {
|
|
|
13875
13875
|
var r = typeof t;
|
|
13876
13876
|
return r == "string" || r == "number" || r == "symbol" || r == "boolean" ? t !== "__proto__" : t === null;
|
|
13877
13877
|
}
|
|
13878
|
-
function
|
|
13878
|
+
function Gi(t, r) {
|
|
13879
13879
|
var e = t.__data__;
|
|
13880
13880
|
return C1(r) ? e[typeof r == "string" ? "string" : "hash"] : e.map;
|
|
13881
13881
|
}
|
|
13882
13882
|
function x1(t) {
|
|
13883
|
-
var r =
|
|
13883
|
+
var r = Gi(this, t).delete(t);
|
|
13884
13884
|
return this.size -= r ? 1 : 0, r;
|
|
13885
13885
|
}
|
|
13886
13886
|
function E1(t) {
|
|
13887
|
-
return
|
|
13887
|
+
return Gi(this, t).get(t);
|
|
13888
13888
|
}
|
|
13889
13889
|
function A1(t) {
|
|
13890
|
-
return
|
|
13890
|
+
return Gi(this, t).has(t);
|
|
13891
13891
|
}
|
|
13892
13892
|
function T1(t, r) {
|
|
13893
|
-
var e =
|
|
13893
|
+
var e = Gi(this, t), n = e.size;
|
|
13894
13894
|
return e.set(t, r), this.size += e.size == n ? 0 : 1, this;
|
|
13895
13895
|
}
|
|
13896
13896
|
function Mt(t) {
|
|
@@ -13935,18 +13935,18 @@ var L1 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
|
|
|
13935
13935
|
function $1(t) {
|
|
13936
13936
|
return t == null ? "" : ju(t);
|
|
13937
13937
|
}
|
|
13938
|
-
function
|
|
13938
|
+
function Ki(t, r) {
|
|
13939
13939
|
return lt(t) ? t : i1(t, r) ? [t] : P1($1(t));
|
|
13940
13940
|
}
|
|
13941
13941
|
var F1 = 1 / 0;
|
|
13942
13942
|
function Zs(t) {
|
|
13943
|
-
if (typeof t == "string" ||
|
|
13943
|
+
if (typeof t == "string" || Ui(t))
|
|
13944
13944
|
return t;
|
|
13945
13945
|
var r = t + "";
|
|
13946
13946
|
return r == "0" && 1 / t == -F1 ? "-0" : r;
|
|
13947
13947
|
}
|
|
13948
13948
|
function N1(t, r) {
|
|
13949
|
-
r =
|
|
13949
|
+
r = Ki(r, t);
|
|
13950
13950
|
for (var e = 0, n = r.length; t != null && e < n; )
|
|
13951
13951
|
t = t[Zs(r[e++])];
|
|
13952
13952
|
return e && e == n ? t : void 0;
|
|
@@ -14033,13 +14033,13 @@ function i2(t, r) {
|
|
|
14033
14033
|
return new t.constructor(e, t.byteOffset, t.length);
|
|
14034
14034
|
}
|
|
14035
14035
|
function a2(t) {
|
|
14036
|
-
return typeof t.constructor == "function" && !Xu(t) ?
|
|
14036
|
+
return typeof t.constructor == "function" && !Xu(t) ? qi(sd(t)) : {};
|
|
14037
14037
|
}
|
|
14038
14038
|
function s2(t, r) {
|
|
14039
14039
|
return t != null && r in Object(t);
|
|
14040
14040
|
}
|
|
14041
14041
|
function o2(t, r, e) {
|
|
14042
|
-
r =
|
|
14042
|
+
r = Ki(r, t);
|
|
14043
14043
|
for (var n = -1, i = r.length, a = !1; ++n < i; ) {
|
|
14044
14044
|
var s = Zs(r[n]);
|
|
14045
14045
|
if (!(a = t != null && e(t, s)))
|
|
@@ -14068,13 +14068,13 @@ function Ar(t, r, e) {
|
|
|
14068
14068
|
return n.placeholder = Ar.placeholder, n;
|
|
14069
14069
|
}
|
|
14070
14070
|
Ar.placeholder = {};
|
|
14071
|
-
function
|
|
14072
|
-
(e !== void 0 && !
|
|
14071
|
+
function ds(t, r, e) {
|
|
14072
|
+
(e !== void 0 && !Vi(t[r], e) || e === void 0 && !(r in t)) && Ws(t, r, e);
|
|
14073
14073
|
}
|
|
14074
14074
|
function h2(t) {
|
|
14075
14075
|
return Lt(t) && Ks(t);
|
|
14076
14076
|
}
|
|
14077
|
-
function
|
|
14077
|
+
function hs(t, r) {
|
|
14078
14078
|
if (!(r === "constructor" && typeof t[r] == "function") && r != "__proto__")
|
|
14079
14079
|
return t[r];
|
|
14080
14080
|
}
|
|
@@ -14082,9 +14082,9 @@ function p2(t) {
|
|
|
14082
14082
|
return uv(t, id(t));
|
|
14083
14083
|
}
|
|
14084
14084
|
function f2(t, r, e, n, i, a, s) {
|
|
14085
|
-
var o =
|
|
14085
|
+
var o = hs(t, e), l = hs(r, e), c = s.get(l);
|
|
14086
14086
|
if (c) {
|
|
14087
|
-
|
|
14087
|
+
ds(t, e, c);
|
|
14088
14088
|
return;
|
|
14089
14089
|
}
|
|
14090
14090
|
var u = a ? a(o, l, e + "", t, r, s) : void 0, d = u === void 0;
|
|
@@ -14092,15 +14092,15 @@ function f2(t, r, e, n, i, a, s) {
|
|
|
14092
14092
|
var h = lt(l), p = !h && td(l), f = !h && !p && rd(l);
|
|
14093
14093
|
u = l, h || p || f ? lt(o) ? u = o : h2(o) ? u = zs(o) : p ? (d = !1, u = n2(l)) : f ? (d = !1, u = i2(l)) : u = [] : K1(l) || hr(l) ? (u = o, hr(o) ? u = p2(o) : (!Ke(o) || js(o)) && (u = a2(l))) : d = !1;
|
|
14094
14094
|
}
|
|
14095
|
-
d && (s.set(l, u), i(u, l, n, a, s), s.delete(l)),
|
|
14095
|
+
d && (s.set(l, u), i(u, l, n, a, s), s.delete(l)), ds(t, e, u);
|
|
14096
14096
|
}
|
|
14097
14097
|
function cd(t, r, e, n, i) {
|
|
14098
14098
|
t !== r && u2(r, function(a, s) {
|
|
14099
14099
|
if (i || (i = new In()), Ke(a))
|
|
14100
14100
|
f2(t, r, s, e, cd, n, i);
|
|
14101
14101
|
else {
|
|
14102
|
-
var o = n ? n(
|
|
14103
|
-
o === void 0 && (o = a),
|
|
14102
|
+
var o = n ? n(hs(t, s), a, s + "", t, r, i) : void 0;
|
|
14103
|
+
o === void 0 && (o = a), ds(t, s, o);
|
|
14104
14104
|
}
|
|
14105
14105
|
}, id);
|
|
14106
14106
|
}
|
|
@@ -14114,7 +14114,7 @@ var v2 = fv(function(t, r, e) {
|
|
|
14114
14114
|
function ud(t, r, e, n) {
|
|
14115
14115
|
if (!Ke(t))
|
|
14116
14116
|
return t;
|
|
14117
|
-
r =
|
|
14117
|
+
r = Ki(r, t);
|
|
14118
14118
|
for (var i = -1, a = r.length, s = a - 1, o = t; o != null && ++i < a; ) {
|
|
14119
14119
|
var l = Zs(r[i]), c = e;
|
|
14120
14120
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
@@ -14130,7 +14130,7 @@ function ud(t, r, e, n) {
|
|
|
14130
14130
|
function y2(t, r, e) {
|
|
14131
14131
|
for (var n = -1, i = r.length, a = {}; ++n < i; ) {
|
|
14132
14132
|
var s = r[n], o = N1(t, s);
|
|
14133
|
-
e(o, s) && ud(a,
|
|
14133
|
+
e(o, s) && ud(a, Ki(s, t), o);
|
|
14134
14134
|
}
|
|
14135
14135
|
return a;
|
|
14136
14136
|
}
|
|
@@ -14177,11 +14177,11 @@ const S2 = (t) => (r, e = "16px") => {
|
|
|
14177
14177
|
throw new at(72, e, t);
|
|
14178
14178
|
return `${n / i}${t}`;
|
|
14179
14179
|
};
|
|
14180
|
-
function
|
|
14180
|
+
function Ta(t) {
|
|
14181
14181
|
return Math.round(t * 255);
|
|
14182
14182
|
}
|
|
14183
14183
|
function C2(t, r, e) {
|
|
14184
|
-
return `${
|
|
14184
|
+
return `${Ta(t)},${Ta(r)},${Ta(e)}`;
|
|
14185
14185
|
}
|
|
14186
14186
|
function zl(t, r, e, n = C2) {
|
|
14187
14187
|
if (r === 0)
|
|
@@ -14358,7 +14358,7 @@ function E2(t, r, e) {
|
|
|
14358
14358
|
const dd = S2("rem");
|
|
14359
14359
|
Ar(function(t, r) {
|
|
14360
14360
|
if (r === "transparent") return r;
|
|
14361
|
-
const e =
|
|
14361
|
+
const e = vi(r), n = "alpha" in e && typeof e.alpha == "number" ? e.alpha : 1, i = {
|
|
14362
14362
|
...e,
|
|
14363
14363
|
alpha: E2(0, 1, +(n * 100 - parseFloat(t.toString()) * 100).toFixed(2) / 100)
|
|
14364
14364
|
};
|
|
@@ -14368,10 +14368,10 @@ const A2 = Ar(function(t, r, e) {
|
|
|
14368
14368
|
if (r === "transparent") return e;
|
|
14369
14369
|
if (e === "transparent") return r;
|
|
14370
14370
|
if (t === 0) return e;
|
|
14371
|
-
const n =
|
|
14371
|
+
const n = vi(r), i = {
|
|
14372
14372
|
...n,
|
|
14373
14373
|
alpha: "alpha" in n && typeof n.alpha == "number" ? n.alpha : 1
|
|
14374
|
-
}, a =
|
|
14374
|
+
}, a = vi(e), s = {
|
|
14375
14375
|
...a,
|
|
14376
14376
|
alpha: "alpha" in a && typeof a.alpha == "number" ? a.alpha : 1
|
|
14377
14377
|
}, o = i.alpha - s.alpha, l = parseFloat(t.toString()) * 2 - 1, c = l * o === -1 ? l : l + o, u = 1 + l * o, d = (c / u + 1) / 2, h = 1 - d, p = {
|
|
@@ -14385,10 +14385,10 @@ const A2 = Ar(function(t, r, e) {
|
|
|
14385
14385
|
Ar(function(t, r) {
|
|
14386
14386
|
return r === "transparent" ? r : A2(parseFloat(t.toString()), "rgb(0, 0, 0)", r);
|
|
14387
14387
|
});
|
|
14388
|
-
const T2 = /^#[a-fA-F0-9]{6}$/, R2 = /^#[a-fA-F0-9]{8}$/, O2 = /^#[a-fA-F0-9]{3}$/, I2 = /^#[a-fA-F0-9]{4}$/,
|
|
14388
|
+
const T2 = /^#[a-fA-F0-9]{6}$/, R2 = /^#[a-fA-F0-9]{8}$/, O2 = /^#[a-fA-F0-9]{3}$/, I2 = /^#[a-fA-F0-9]{4}$/, Ra = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, L2 = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, M2 = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, P2 = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
14389
14389
|
function pe(t, r, e, n) {
|
|
14390
14390
|
if (typeof t == "string" && typeof r == "number") {
|
|
14391
|
-
const i =
|
|
14391
|
+
const i = vi(t);
|
|
14392
14392
|
return `rgba(${i.red},${i.green},${i.blue},${r})`;
|
|
14393
14393
|
} else {
|
|
14394
14394
|
if (typeof t == "number" && typeof r == "number" && typeof e == "number" && typeof n == "number")
|
|
@@ -14405,7 +14405,7 @@ function Wl(t, r, e) {
|
|
|
14405
14405
|
return Vl(`#${on(t.red)}${on(t.green)}${on(t.blue)}`);
|
|
14406
14406
|
throw new at(6);
|
|
14407
14407
|
}
|
|
14408
|
-
function
|
|
14408
|
+
function vi(t) {
|
|
14409
14409
|
if (typeof t != "string")
|
|
14410
14410
|
throw new at(3);
|
|
14411
14411
|
const r = x2(t);
|
|
@@ -14439,7 +14439,7 @@ function gi(t) {
|
|
|
14439
14439
|
alpha: s
|
|
14440
14440
|
};
|
|
14441
14441
|
}
|
|
14442
|
-
const e =
|
|
14442
|
+
const e = Ra.exec(r);
|
|
14443
14443
|
if (e)
|
|
14444
14444
|
return {
|
|
14445
14445
|
red: parseInt(`${e[1]}`, 10),
|
|
@@ -14456,7 +14456,7 @@ function gi(t) {
|
|
|
14456
14456
|
};
|
|
14457
14457
|
const i = M2.exec(r);
|
|
14458
14458
|
if (i) {
|
|
14459
|
-
const s = parseInt(`${i[1]}`, 10), o = parseInt(`${i[2]}`, 10) / 100, l = parseInt(`${i[3]}`, 10) / 100, c = `rgb(${zl(s, o, l)})`, u =
|
|
14459
|
+
const s = parseInt(`${i[1]}`, 10), o = parseInt(`${i[2]}`, 10) / 100, l = parseInt(`${i[3]}`, 10) / 100, c = `rgb(${zl(s, o, l)})`, u = Ra.exec(c);
|
|
14460
14460
|
if (!u)
|
|
14461
14461
|
throw new at(4, r, c);
|
|
14462
14462
|
return {
|
|
@@ -14467,7 +14467,7 @@ function gi(t) {
|
|
|
14467
14467
|
}
|
|
14468
14468
|
const a = P2.exec(r.substring(0, 50));
|
|
14469
14469
|
if (a) {
|
|
14470
|
-
const s = parseInt(`${a[1]}`, 10), o = parseInt(`${a[2]}`, 10) / 100, l = parseInt(`${a[3]}`, 10) / 100, c = `rgb(${zl(s, o, l)})`, u =
|
|
14470
|
+
const s = parseInt(`${a[1]}`, 10), o = parseInt(`${a[2]}`, 10) / 100, l = parseInt(`${a[3]}`, 10) / 100, c = `rgb(${zl(s, o, l)})`, u = Ra.exec(c);
|
|
14471
14471
|
if (!u)
|
|
14472
14472
|
throw new at(4, r, c);
|
|
14473
14473
|
return {
|
|
@@ -15618,7 +15618,7 @@ const $2 = {
|
|
|
15618
15618
|
* Copyright 2019 Google LLC
|
|
15619
15619
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
15620
15620
|
*/
|
|
15621
|
-
const
|
|
15621
|
+
const Xr = globalThis, Ys = Xr.ShadowRoot && (Xr.ShadyCSS === void 0 || Xr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Xs = Symbol(), Gl = /* @__PURE__ */ new WeakMap();
|
|
15622
15622
|
let hd = class {
|
|
15623
15623
|
constructor(r, e, n) {
|
|
15624
15624
|
if (this._$cssResult$ = !0, n !== Xs) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -15647,7 +15647,7 @@ const k = (t) => new hd(typeof t == "string" ? t : t + "", void 0, Xs), _e = (t,
|
|
|
15647
15647
|
}, V2 = (t, r) => {
|
|
15648
15648
|
if (Ys) t.adoptedStyleSheets = r.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
15649
15649
|
else for (const e of r) {
|
|
15650
|
-
const n = document.createElement("style"), i =
|
|
15650
|
+
const n = document.createElement("style"), i = Xr.litNonce;
|
|
15651
15651
|
i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, t.appendChild(n);
|
|
15652
15652
|
}
|
|
15653
15653
|
}, Kl = Ys ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((r) => {
|
|
@@ -15660,7 +15660,7 @@ const k = (t) => new hd(typeof t == "string" ? t : t + "", void 0, Xs), _e = (t,
|
|
|
15660
15660
|
* Copyright 2017 Google LLC
|
|
15661
15661
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
15662
15662
|
*/
|
|
15663
|
-
const { is: W2, defineProperty: G2, getOwnPropertyDescriptor: K2, getOwnPropertyNames: J2, getOwnPropertySymbols: Z2, getPrototypeOf: Y2 } = Object, St = globalThis, Jl = St.trustedTypes, X2 = Jl ? Jl.emptyScript : "",
|
|
15663
|
+
const { is: W2, defineProperty: G2, getOwnPropertyDescriptor: K2, getOwnPropertyNames: J2, getOwnPropertySymbols: Z2, getPrototypeOf: Y2 } = Object, St = globalThis, Jl = St.trustedTypes, X2 = Jl ? Jl.emptyScript : "", Oa = St.reactiveElementPolyfillSupport, er = (t, r) => t, yi = { toAttribute(t, r) {
|
|
15664
15664
|
switch (r) {
|
|
15665
15665
|
case Boolean:
|
|
15666
15666
|
t = t ? X2 : null;
|
|
@@ -15688,7 +15688,7 @@ const { is: W2, defineProperty: G2, getOwnPropertyDescriptor: K2, getOwnProperty
|
|
|
15688
15688
|
}
|
|
15689
15689
|
}
|
|
15690
15690
|
return e;
|
|
15691
|
-
} },
|
|
15691
|
+
} }, Ji = (t, r) => !W2(t, r), Zl = { attribute: !0, type: String, converter: yi, reflect: !1, hasChanged: Ji };
|
|
15692
15692
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), St.litPropertyMetadata ?? (St.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
15693
15693
|
let gn = class extends HTMLElement {
|
|
15694
15694
|
static addInitializer(r) {
|
|
@@ -15801,7 +15801,7 @@ let gn = class extends HTMLElement {
|
|
|
15801
15801
|
var a;
|
|
15802
15802
|
const n = this.constructor.elementProperties.get(r), i = this.constructor._$Eu(r, n);
|
|
15803
15803
|
if (i !== void 0 && n.reflect === !0) {
|
|
15804
|
-
const s = (((a = n.converter) == null ? void 0 : a.toAttribute) !== void 0 ? n.converter :
|
|
15804
|
+
const s = (((a = n.converter) == null ? void 0 : a.toAttribute) !== void 0 ? n.converter : yi).toAttribute(e, n.type);
|
|
15805
15805
|
this._$Em = r, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
|
|
15806
15806
|
}
|
|
15807
15807
|
}
|
|
@@ -15809,13 +15809,13 @@ let gn = class extends HTMLElement {
|
|
|
15809
15809
|
var a;
|
|
15810
15810
|
const n = this.constructor, i = n._$Eh.get(r);
|
|
15811
15811
|
if (i !== void 0 && this._$Em !== i) {
|
|
15812
|
-
const s = n.getPropertyOptions(i), o = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((a = s.converter) == null ? void 0 : a.fromAttribute) !== void 0 ? s.converter :
|
|
15812
|
+
const s = n.getPropertyOptions(i), o = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((a = s.converter) == null ? void 0 : a.fromAttribute) !== void 0 ? s.converter : yi;
|
|
15813
15813
|
this._$Em = i, this[i] = o.fromAttribute(e, s.type), this._$Em = null;
|
|
15814
15814
|
}
|
|
15815
15815
|
}
|
|
15816
15816
|
requestUpdate(r, e, n) {
|
|
15817
15817
|
if (r !== void 0) {
|
|
15818
|
-
if (n ?? (n = this.constructor.getPropertyOptions(r)), !(n.hasChanged ??
|
|
15818
|
+
if (n ?? (n = this.constructor.getPropertyOptions(r)), !(n.hasChanged ?? Ji)(this[r], e)) return;
|
|
15819
15819
|
this.P(r, e, n);
|
|
15820
15820
|
}
|
|
15821
15821
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
@@ -15888,14 +15888,14 @@ let gn = class extends HTMLElement {
|
|
|
15888
15888
|
firstUpdated(r) {
|
|
15889
15889
|
}
|
|
15890
15890
|
};
|
|
15891
|
-
gn.elementStyles = [], gn.shadowRootOptions = { mode: "open" }, gn[er("elementProperties")] = /* @__PURE__ */ new Map(), gn[er("finalized")] = /* @__PURE__ */ new Map(),
|
|
15891
|
+
gn.elementStyles = [], gn.shadowRootOptions = { mode: "open" }, gn[er("elementProperties")] = /* @__PURE__ */ new Map(), gn[er("finalized")] = /* @__PURE__ */ new Map(), Oa == null || Oa({ ReactiveElement: gn }), (St.reactiveElementVersions ?? (St.reactiveElementVersions = [])).push("2.0.4");
|
|
15892
15892
|
/**
|
|
15893
15893
|
* @license
|
|
15894
15894
|
* Copyright 2017 Google LLC
|
|
15895
15895
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
15896
15896
|
*/
|
|
15897
|
-
const tr = globalThis,
|
|
15898
|
-
\f\r]`, Dn = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Xl = /-->/g, Ql = />/g, Bt = RegExp(`>|${
|
|
15897
|
+
const tr = globalThis, bi = tr.trustedTypes, Yl = bi ? bi.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, pd = "$lit$", wt = `lit$${Math.random().toFixed(9).slice(2)}$`, fd = "?" + wt, Q2 = `<${fd}>`, Gt = document, fr = () => Gt.createComment(""), mr = (t) => t === null || typeof t != "object" && typeof t != "function", Qs = Array.isArray, ey = (t) => Qs(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ia = `[
|
|
15898
|
+
\f\r]`, Dn = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Xl = /-->/g, Ql = />/g, Bt = RegExp(`>|${Ia}(?:([^\\s"'>=/]+)(${Ia}*=${Ia}*(?:[^
|
|
15899
15899
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), ec = /'/g, tc = /"/g, md = /^(?:script|style|textarea|title)$/i, gd = (t) => (r, ...e) => ({ _$litType$: t, strings: r, values: e }), fe = gd(1), Qe = gd(2), At = Symbol.for("lit-noChange"), se = Symbol.for("lit-nothing"), nc = /* @__PURE__ */ new WeakMap(), Ht = Gt.createTreeWalker(Gt, 129);
|
|
15900
15900
|
function vd(t, r) {
|
|
15901
15901
|
if (!Qs(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
@@ -15913,7 +15913,7 @@ const ty = (t, r) => {
|
|
|
15913
15913
|
}
|
|
15914
15914
|
return [vd(t, a + (t[e] || "<?>") + (r === 2 ? "</svg>" : r === 3 ? "</math>" : "")), n];
|
|
15915
15915
|
};
|
|
15916
|
-
let
|
|
15916
|
+
let ps = class yd {
|
|
15917
15917
|
constructor({ strings: r, _$litType$: e }, n) {
|
|
15918
15918
|
let i;
|
|
15919
15919
|
this.parts = [];
|
|
@@ -15927,12 +15927,12 @@ let hs = class yd {
|
|
|
15927
15927
|
if (i.nodeType === 1) {
|
|
15928
15928
|
if (i.hasAttributes()) for (const d of i.getAttributeNames()) if (d.endsWith(pd)) {
|
|
15929
15929
|
const h = u[s++], p = i.getAttribute(d).split(wt), f = /([.?@])?(.*)/.exec(h);
|
|
15930
|
-
l.push({ type: 1, index: a, name: f[2], strings: p, ctor: f[1] === "." ? ry : f[1] === "?" ? iy : f[1] === "@" ? ay :
|
|
15930
|
+
l.push({ type: 1, index: a, name: f[2], strings: p, ctor: f[1] === "." ? ry : f[1] === "?" ? iy : f[1] === "@" ? ay : Zi }), i.removeAttribute(d);
|
|
15931
15931
|
} else d.startsWith(wt) && (l.push({ type: 6, index: a }), i.removeAttribute(d));
|
|
15932
15932
|
if (md.test(i.tagName)) {
|
|
15933
15933
|
const d = i.textContent.split(wt), h = d.length - 1;
|
|
15934
15934
|
if (h > 0) {
|
|
15935
|
-
i.textContent =
|
|
15935
|
+
i.textContent = bi ? bi.emptyScript : "";
|
|
15936
15936
|
for (let p = 0; p < h; p++) i.append(d[p], fr()), Ht.nextNode(), l.push({ type: 2, index: ++a });
|
|
15937
15937
|
i.append(d[h], fr());
|
|
15938
15938
|
}
|
|
@@ -16018,7 +16018,7 @@ class Tr {
|
|
|
16018
16018
|
}
|
|
16019
16019
|
$(r) {
|
|
16020
16020
|
var a;
|
|
16021
|
-
const { values: e, _$litType$: n } = r, i = typeof n == "number" ? this._$AC(r) : (n.el === void 0 && (n.el =
|
|
16021
|
+
const { values: e, _$litType$: n } = r, i = typeof n == "number" ? this._$AC(r) : (n.el === void 0 && (n.el = ps.createElement(vd(n.h, n.h[0]), this.options)), n);
|
|
16022
16022
|
if (((a = this._$AH) == null ? void 0 : a._$AD) === i) this._$AH.p(e);
|
|
16023
16023
|
else {
|
|
16024
16024
|
const s = new ny(i, this), o = s.u(this.options);
|
|
@@ -16027,7 +16027,7 @@ class Tr {
|
|
|
16027
16027
|
}
|
|
16028
16028
|
_$AC(r) {
|
|
16029
16029
|
let e = nc.get(r.strings);
|
|
16030
|
-
return e === void 0 && nc.set(r.strings, e = new
|
|
16030
|
+
return e === void 0 && nc.set(r.strings, e = new ps(r)), e;
|
|
16031
16031
|
}
|
|
16032
16032
|
k(r) {
|
|
16033
16033
|
Qs(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -16048,7 +16048,7 @@ class Tr {
|
|
|
16048
16048
|
this._$AM === void 0 && (this._$Cv = r, (e = this._$AP) == null || e.call(this, r));
|
|
16049
16049
|
}
|
|
16050
16050
|
}
|
|
16051
|
-
class
|
|
16051
|
+
class Zi {
|
|
16052
16052
|
get tagName() {
|
|
16053
16053
|
return this.element.tagName;
|
|
16054
16054
|
}
|
|
@@ -16073,7 +16073,7 @@ class Ji {
|
|
|
16073
16073
|
r === se ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, r ?? "");
|
|
16074
16074
|
}
|
|
16075
16075
|
}
|
|
16076
|
-
class ry extends
|
|
16076
|
+
class ry extends Zi {
|
|
16077
16077
|
constructor() {
|
|
16078
16078
|
super(...arguments), this.type = 3;
|
|
16079
16079
|
}
|
|
@@ -16081,7 +16081,7 @@ class ry extends Ji {
|
|
|
16081
16081
|
this.element[this.name] = r === se ? void 0 : r;
|
|
16082
16082
|
}
|
|
16083
16083
|
}
|
|
16084
|
-
class iy extends
|
|
16084
|
+
class iy extends Zi {
|
|
16085
16085
|
constructor() {
|
|
16086
16086
|
super(...arguments), this.type = 4;
|
|
16087
16087
|
}
|
|
@@ -16089,7 +16089,7 @@ class iy extends Ji {
|
|
|
16089
16089
|
this.element.toggleAttribute(this.name, !!r && r !== se);
|
|
16090
16090
|
}
|
|
16091
16091
|
}
|
|
16092
|
-
class ay extends
|
|
16092
|
+
class ay extends Zi {
|
|
16093
16093
|
constructor(r, e, n, i, a) {
|
|
16094
16094
|
super(r, e, n, i, a), this.type = 5;
|
|
16095
16095
|
}
|
|
@@ -16114,8 +16114,8 @@ class sy {
|
|
|
16114
16114
|
Cn(this, r);
|
|
16115
16115
|
}
|
|
16116
16116
|
}
|
|
16117
|
-
const
|
|
16118
|
-
|
|
16117
|
+
const La = tr.litHtmlPolyfillSupport;
|
|
16118
|
+
La == null || La(ps, Tr), (tr.litHtmlVersions ?? (tr.litHtmlVersions = [])).push("3.2.1");
|
|
16119
16119
|
const oy = (t, r, e) => {
|
|
16120
16120
|
const n = (e == null ? void 0 : e.renderBefore) ?? r;
|
|
16121
16121
|
let i = n._$litPart$;
|
|
@@ -16157,8 +16157,8 @@ let nr = class extends gn {
|
|
|
16157
16157
|
};
|
|
16158
16158
|
var Zc;
|
|
16159
16159
|
nr._$litElement$ = !0, nr.finalized = !0, (Zc = globalThis.litElementHydrateSupport) == null || Zc.call(globalThis, { LitElement: nr });
|
|
16160
|
-
const
|
|
16161
|
-
|
|
16160
|
+
const Ma = globalThis.litElementPolyfillSupport;
|
|
16161
|
+
Ma == null || Ma({ LitElement: nr });
|
|
16162
16162
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
|
16163
16163
|
const ly = _e`
|
|
16164
16164
|
:host {
|
|
@@ -16448,7 +16448,7 @@ const Fe = (t) => (r, e) => {
|
|
|
16448
16448
|
* Copyright 2017 Google LLC
|
|
16449
16449
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
16450
16450
|
*/
|
|
16451
|
-
const uy = { attribute: !0, type: String, converter:
|
|
16451
|
+
const uy = { attribute: !0, type: String, converter: yi, reflect: !1, hasChanged: Ji }, dy = (t = uy, r, e) => {
|
|
16452
16452
|
const { kind: n, metadata: i } = e;
|
|
16453
16453
|
let a = globalThis.litPropertyMetadata.get(i);
|
|
16454
16454
|
if (a === void 0 && globalThis.litPropertyMetadata.set(i, a = /* @__PURE__ */ new Map()), a.set(e.name, t), n === "accessor") {
|
|
@@ -16494,7 +16494,7 @@ const wn = (t) => t ?? se;
|
|
|
16494
16494
|
* Copyright 2017 Google LLC
|
|
16495
16495
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
16496
16496
|
*/
|
|
16497
|
-
const
|
|
16497
|
+
const Yi = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Xi = (t) => (...r) => ({ _$litDirective$: t, values: r });
|
|
16498
16498
|
let eo = class {
|
|
16499
16499
|
constructor(r) {
|
|
16500
16500
|
}
|
|
@@ -16516,10 +16516,10 @@ let eo = class {
|
|
|
16516
16516
|
* Copyright 2018 Google LLC
|
|
16517
16517
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
16518
16518
|
*/
|
|
16519
|
-
const
|
|
16519
|
+
const Qi = Xi(class extends eo {
|
|
16520
16520
|
constructor(t) {
|
|
16521
16521
|
var r;
|
|
16522
|
-
if (super(t), t.type !==
|
|
16522
|
+
if (super(t), t.type !== Yi.ATTRIBUTE || t.name !== "class" || ((r = t.strings) == null ? void 0 : r.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
16523
16523
|
}
|
|
16524
16524
|
render(t) {
|
|
16525
16525
|
return " " + Object.keys(t).filter((r) => t[r]).join(" ") + " ";
|
|
@@ -16851,12 +16851,12 @@ function Ct(t) {
|
|
|
16851
16851
|
if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16852
16852
|
return t;
|
|
16853
16853
|
}
|
|
16854
|
-
function
|
|
16855
|
-
return
|
|
16854
|
+
function fs(t, r) {
|
|
16855
|
+
return fs = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, n) {
|
|
16856
16856
|
return e.__proto__ = n, e;
|
|
16857
|
-
},
|
|
16857
|
+
}, fs(t, r);
|
|
16858
16858
|
}
|
|
16859
|
-
function
|
|
16859
|
+
function ea(t, r) {
|
|
16860
16860
|
if (typeof r != "function" && r !== null) throw new TypeError("Super expression must either be null or a function");
|
|
16861
16861
|
t.prototype = Object.create(r && r.prototype, {
|
|
16862
16862
|
constructor: {
|
|
@@ -16866,7 +16866,7 @@ function Qi(t, r) {
|
|
|
16866
16866
|
}
|
|
16867
16867
|
}), Object.defineProperty(t, "prototype", {
|
|
16868
16868
|
writable: !1
|
|
16869
|
-
}), r &&
|
|
16869
|
+
}), r && fs(t, r);
|
|
16870
16870
|
}
|
|
16871
16871
|
function Rr(t, r) {
|
|
16872
16872
|
if (r && (Ve(r) == "object" || typeof r == "function")) return r;
|
|
@@ -17092,14 +17092,14 @@ function Sy(t, r, e, n) {
|
|
|
17092
17092
|
var i = to(t, r, Object), a = i.obj, s = i.k;
|
|
17093
17093
|
a[s] = a[s] || [], a[s].push(e);
|
|
17094
17094
|
}
|
|
17095
|
-
function
|
|
17095
|
+
function wi(t, r) {
|
|
17096
17096
|
var e = to(t, r), n = e.obj, i = e.k;
|
|
17097
17097
|
if (n)
|
|
17098
17098
|
return n[i];
|
|
17099
17099
|
}
|
|
17100
17100
|
function Cy(t, r, e) {
|
|
17101
|
-
var n =
|
|
17102
|
-
return n !== void 0 ? n :
|
|
17101
|
+
var n = wi(t, e);
|
|
17102
|
+
return n !== void 0 ? n : wi(r, e);
|
|
17103
17103
|
}
|
|
17104
17104
|
function wd(t, r, e) {
|
|
17105
17105
|
for (var n in r)
|
|
@@ -17122,7 +17122,7 @@ function Ey(t) {
|
|
|
17122
17122
|
return xy[r];
|
|
17123
17123
|
}) : t;
|
|
17124
17124
|
}
|
|
17125
|
-
var
|
|
17125
|
+
var ta = typeof window < "u" && window.navigator && typeof window.navigator.userAgentData > "u" && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, Ay = [" ", ",", "?", "!", ";"];
|
|
17126
17126
|
function Ty(t, r, e) {
|
|
17127
17127
|
r = r || "", e = e || "";
|
|
17128
17128
|
var n = Ay.filter(function(o) {
|
|
@@ -17138,7 +17138,7 @@ function Ty(t, r, e) {
|
|
|
17138
17138
|
}
|
|
17139
17139
|
return a;
|
|
17140
17140
|
}
|
|
17141
|
-
function
|
|
17141
|
+
function ki(t, r) {
|
|
17142
17142
|
var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
|
17143
17143
|
if (t) {
|
|
17144
17144
|
if (t[r]) return t[r];
|
|
@@ -17155,7 +17155,7 @@ function wi(t, r) {
|
|
|
17155
17155
|
if (o && typeof l[o] == "string") return l[o];
|
|
17156
17156
|
}
|
|
17157
17157
|
var c = n.slice(a + s).join(e);
|
|
17158
|
-
return c ?
|
|
17158
|
+
return c ? ki(l, c, e) : void 0;
|
|
17159
17159
|
}
|
|
17160
17160
|
i = i[n[a]];
|
|
17161
17161
|
}
|
|
@@ -17172,7 +17172,7 @@ function cc(t, r) {
|
|
|
17172
17172
|
}
|
|
17173
17173
|
return e;
|
|
17174
17174
|
}
|
|
17175
|
-
function
|
|
17175
|
+
function Hr(t) {
|
|
17176
17176
|
for (var r = 1; r < arguments.length; r++) {
|
|
17177
17177
|
var e = arguments[r] != null ? arguments[r] : {};
|
|
17178
17178
|
r % 2 ? cc(Object(e), !0).forEach(function(n) {
|
|
@@ -17206,14 +17206,14 @@ function Oy() {
|
|
|
17206
17206
|
}
|
|
17207
17207
|
}
|
|
17208
17208
|
var Iy = function(t) {
|
|
17209
|
-
|
|
17209
|
+
ea(e, t);
|
|
17210
17210
|
var r = Ry(e);
|
|
17211
17211
|
function e(n) {
|
|
17212
17212
|
var i, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
17213
17213
|
ns: ["translation"],
|
|
17214
17214
|
defaultNS: "translation"
|
|
17215
17215
|
};
|
|
17216
|
-
return ut(this, e), i = r.call(this),
|
|
17216
|
+
return ut(this, e), i = r.call(this), ta && Tt.call(Ct(i)), i.data = n || {}, i.options = a, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.options.ignoreJSONStructure === void 0 && (i.options.ignoreJSONStructure = !0), i;
|
|
17217
17217
|
}
|
|
17218
17218
|
return dt(e, [{
|
|
17219
17219
|
key: "addNamespaces",
|
|
@@ -17231,8 +17231,8 @@ var Iy = function(t) {
|
|
|
17231
17231
|
value: function(i, a, s) {
|
|
17232
17232
|
var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, l = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, c = o.ignoreJSONStructure !== void 0 ? o.ignoreJSONStructure : this.options.ignoreJSONStructure, u = [i, a];
|
|
17233
17233
|
s && typeof s != "string" && (u = u.concat(s)), s && typeof s == "string" && (u = u.concat(l ? s.split(l) : s)), i.indexOf(".") > -1 && (u = i.split("."));
|
|
17234
|
-
var d =
|
|
17235
|
-
return d || !c || typeof s != "string" ? d :
|
|
17234
|
+
var d = wi(this.data, u);
|
|
17235
|
+
return d || !c || typeof s != "string" ? d : ki(this.data && this.data[i] && this.data[i][a], s, l);
|
|
17236
17236
|
}
|
|
17237
17237
|
}, {
|
|
17238
17238
|
key: "addResource",
|
|
@@ -17261,8 +17261,8 @@ var Iy = function(t) {
|
|
|
17261
17261
|
silent: !1
|
|
17262
17262
|
}, u = [i, a];
|
|
17263
17263
|
i.indexOf(".") > -1 && (u = i.split("."), o = s, s = a, a = u[1]), this.addNamespaces(a);
|
|
17264
|
-
var d =
|
|
17265
|
-
o ? wd(d, s, l) : d =
|
|
17264
|
+
var d = wi(this.data, u) || {};
|
|
17265
|
+
o ? wd(d, s, l) : d = Hr(Hr({}, d), s), lc(this.data, u, d), c.silent || this.emit("added", i, a, s);
|
|
17266
17266
|
}
|
|
17267
17267
|
}, {
|
|
17268
17268
|
key: "removeResourceBundle",
|
|
@@ -17277,7 +17277,7 @@ var Iy = function(t) {
|
|
|
17277
17277
|
}, {
|
|
17278
17278
|
key: "getResourceBundle",
|
|
17279
17279
|
value: function(i, a) {
|
|
17280
|
-
return a || (a = this.options.defaultNS), this.options.compatibilityAPI === "v1" ?
|
|
17280
|
+
return a || (a = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? Hr(Hr({}, {}), this.getResource(i, a)) : this.getResource(i, a);
|
|
17281
17281
|
}
|
|
17282
17282
|
}, {
|
|
17283
17283
|
key: "getDataByLanguage",
|
|
@@ -17354,11 +17354,11 @@ function My() {
|
|
|
17354
17354
|
}
|
|
17355
17355
|
}
|
|
17356
17356
|
var dc = {}, hc = function(t) {
|
|
17357
|
-
|
|
17357
|
+
ea(e, t);
|
|
17358
17358
|
var r = Ly(e);
|
|
17359
17359
|
function e(n) {
|
|
17360
17360
|
var i, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
17361
|
-
return ut(this, e), i = r.call(this),
|
|
17361
|
+
return ut(this, e), i = r.call(this), ta && Tt.call(Ct(i)), _y(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], n, Ct(i)), i.options = a, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.logger = st.create("translator"), i;
|
|
17362
17362
|
}
|
|
17363
17363
|
return dt(e, [{
|
|
17364
17364
|
key: "changeLanguage",
|
|
@@ -17459,16 +17459,16 @@ var dc = {}, hc = function(t) {
|
|
|
17459
17459
|
}
|
|
17460
17460
|
var Me = [], ze = this.languageUtils.getFallbackCodes(this.options.fallbackLng, a.lng || this.language);
|
|
17461
17461
|
if (this.options.saveMissingTo === "fallback" && ze && ze[0])
|
|
17462
|
-
for (var
|
|
17463
|
-
Me.push(ze[
|
|
17462
|
+
for (var la = 0; la < ze.length; la++)
|
|
17463
|
+
Me.push(ze[la]);
|
|
17464
17464
|
else this.options.saveMissingTo === "all" ? Me = this.languageUtils.toResolveHierarchy(a.lng || this.language) : Me.push(a.lng || this.language);
|
|
17465
|
-
var yo = function(rn,
|
|
17465
|
+
var yo = function(rn, ua, bo) {
|
|
17466
17466
|
var wo = B && bo !== b ? bo : ue;
|
|
17467
|
-
o.options.missingKeyHandler ? o.options.missingKeyHandler(rn, p,
|
|
17467
|
+
o.options.missingKeyHandler ? o.options.missingKeyHandler(rn, p, ua, wo, ye, a) : o.backendConnector && o.backendConnector.saveMissing && o.backendConnector.saveMissing(rn, p, ua, wo, ye, a), o.emit("missingKey", rn, p, ua, b);
|
|
17468
17468
|
};
|
|
17469
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && P ? Me.forEach(function(
|
|
17470
|
-
o.pluralResolver.getSuffixes(
|
|
17471
|
-
yo([
|
|
17469
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && P ? Me.forEach(function(ca) {
|
|
17470
|
+
o.pluralResolver.getSuffixes(ca, a).forEach(function(rn) {
|
|
17471
|
+
yo([ca], d + rn, a["defaultValue".concat(rn)] || H);
|
|
17472
17472
|
});
|
|
17473
17473
|
}) : yo(Me, d, H));
|
|
17474
17474
|
}
|
|
@@ -17572,7 +17572,7 @@ var dc = {}, hc = function(t) {
|
|
|
17572
17572
|
}
|
|
17573
17573
|
}]), e;
|
|
17574
17574
|
}(Tt);
|
|
17575
|
-
function
|
|
17575
|
+
function Pa(t) {
|
|
17576
17576
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
17577
17577
|
}
|
|
17578
17578
|
var pc = function() {
|
|
@@ -17600,7 +17600,7 @@ var pc = function() {
|
|
|
17600
17600
|
var n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"], i = e.split("-");
|
|
17601
17601
|
return this.options.lowerCaseLng ? i = i.map(function(a) {
|
|
17602
17602
|
return a.toLowerCase();
|
|
17603
|
-
}) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] =
|
|
17603
|
+
}) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = Pa(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = Pa(i[1].toLowerCase())), n.indexOf(i[2].toLowerCase()) > -1 && (i[2] = Pa(i[2].toLowerCase()))), i.join("-");
|
|
17604
17604
|
}
|
|
17605
17605
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
|
17606
17606
|
}
|
|
@@ -17926,7 +17926,7 @@ function Ze(t) {
|
|
|
17926
17926
|
}
|
|
17927
17927
|
function gc(t, r, e) {
|
|
17928
17928
|
var n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = Cy(t, r, e);
|
|
17929
|
-
return !a && i && typeof e == "string" && (a =
|
|
17929
|
+
return !a && i && typeof e == "string" && (a = ki(t, e, n), a === void 0 && (a = ki(r, e, n))), a;
|
|
17930
17930
|
}
|
|
17931
17931
|
var By = function() {
|
|
17932
17932
|
function t() {
|
|
@@ -18229,11 +18229,11 @@ function qy(t, r) {
|
|
|
18229
18229
|
t.pending[r] !== void 0 && (delete t.pending[r], t.pendingCount--);
|
|
18230
18230
|
}
|
|
18231
18231
|
var Vy = function(t) {
|
|
18232
|
-
|
|
18232
|
+
ea(e, t);
|
|
18233
18233
|
var r = Uy(e);
|
|
18234
18234
|
function e(n, i, a) {
|
|
18235
18235
|
var s, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
18236
|
-
return ut(this, e), s = r.call(this),
|
|
18236
|
+
return ut(this, e), s = r.call(this), ta && Tt.call(Ct(s)), s.backend = n, s.store = i, s.services = a, s.languageUtils = a.languageUtils, s.options = o, s.logger = st.create("backendConnector"), s.waitingReads = [], s.maxParallelReads = o.maxParallelReads || 10, s.readingCalls = 0, s.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, s.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, s.state = {}, s.queue = [], s.backend && s.backend.init && s.backend.init(a, o.backend, o), s;
|
|
18237
18237
|
}
|
|
18238
18238
|
return dt(e, [{
|
|
18239
18239
|
key: "queueLoad",
|
|
@@ -18491,7 +18491,7 @@ function Gy() {
|
|
|
18491
18491
|
return !1;
|
|
18492
18492
|
}
|
|
18493
18493
|
}
|
|
18494
|
-
function
|
|
18494
|
+
function Ur() {
|
|
18495
18495
|
}
|
|
18496
18496
|
function Ky(t) {
|
|
18497
18497
|
var r = Object.getOwnPropertyNames(Object.getPrototypeOf(t));
|
|
@@ -18499,12 +18499,12 @@ function Ky(t) {
|
|
|
18499
18499
|
typeof t[e] == "function" && (t[e] = t[e].bind(t));
|
|
18500
18500
|
});
|
|
18501
18501
|
}
|
|
18502
|
-
var
|
|
18503
|
-
|
|
18502
|
+
var _i = function(t) {
|
|
18503
|
+
ea(e, t);
|
|
18504
18504
|
var r = Wy(e);
|
|
18505
18505
|
function e() {
|
|
18506
18506
|
var n, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 ? arguments[1] : void 0;
|
|
18507
|
-
if (ut(this, e), n = r.call(this),
|
|
18507
|
+
if (ut(this, e), n = r.call(this), ta && Tt.call(Ct(n)), n.options = kc(i), n.services = {}, n.logger = st, n.modules = {
|
|
18508
18508
|
external: []
|
|
18509
18509
|
}, Ky(Ct(n)), a && !n.isInitialized && !i.isClone) {
|
|
18510
18510
|
if (!n.options.initImmediate)
|
|
@@ -18550,7 +18550,7 @@ var ki = function(t) {
|
|
|
18550
18550
|
v.init && v.init(i);
|
|
18551
18551
|
});
|
|
18552
18552
|
}
|
|
18553
|
-
if (this.format = this.options.interpolation.format, s || (s =
|
|
18553
|
+
if (this.format = this.options.interpolation.format, s || (s = Ur), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
18554
18554
|
var h = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
18555
18555
|
h.length > 0 && h[0] !== "dev" && (this.options.lng = h[0]);
|
|
18556
18556
|
}
|
|
@@ -18581,7 +18581,7 @@ var ki = function(t) {
|
|
|
18581
18581
|
}, {
|
|
18582
18582
|
key: "loadResources",
|
|
18583
18583
|
value: function(i) {
|
|
18584
|
-
var a = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
18584
|
+
var a = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ur, o = s, l = typeof i == "string" ? i : this.language;
|
|
18585
18585
|
if (typeof i == "function" && (o = i), !this.options.resources || this.options.partialBundledLanguages) {
|
|
18586
18586
|
if (l && l.toLowerCase() === "cimode") return o();
|
|
18587
18587
|
var c = [], u = function(p) {
|
|
@@ -18612,7 +18612,7 @@ var ki = function(t) {
|
|
|
18612
18612
|
key: "reloadResources",
|
|
18613
18613
|
value: function(i, a, s) {
|
|
18614
18614
|
var o = Bn();
|
|
18615
|
-
return i || (i = this.languages), a || (a = this.options.ns), s || (s =
|
|
18615
|
+
return i || (i = this.languages), a || (a = this.options.ns), s || (s = Ur), this.services.backendConnector.reload(i, a, function(l) {
|
|
18616
18616
|
o.resolve(), s(l);
|
|
18617
18617
|
}), o;
|
|
18618
18618
|
}
|
|
@@ -18747,7 +18747,7 @@ var ki = function(t) {
|
|
|
18747
18747
|
}, {
|
|
18748
18748
|
key: "cloneInstance",
|
|
18749
18749
|
value: function() {
|
|
18750
|
-
var i = this, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
18750
|
+
var i = this, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ur, o = rt(rt(rt({}, this.options), a), {
|
|
18751
18751
|
isClone: !0
|
|
18752
18752
|
}), l = new e(o);
|
|
18753
18753
|
(a.debug !== void 0 || a.prefix !== void 0) && (l.logger = l.logger.clone(a));
|
|
@@ -18777,12 +18777,12 @@ var ki = function(t) {
|
|
|
18777
18777
|
}
|
|
18778
18778
|
}]), e;
|
|
18779
18779
|
}(Tt);
|
|
18780
|
-
$t(
|
|
18780
|
+
$t(_i, "createInstance", function() {
|
|
18781
18781
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
18782
|
-
return new
|
|
18782
|
+
return new _i(t, r);
|
|
18783
18783
|
});
|
|
18784
|
-
var Ce =
|
|
18785
|
-
Ce.createInstance =
|
|
18784
|
+
var Ce = _i.createInstance();
|
|
18785
|
+
Ce.createInstance = _i.createInstance;
|
|
18786
18786
|
Ce.createInstance;
|
|
18787
18787
|
Ce.dir;
|
|
18788
18788
|
Ce.init;
|
|
@@ -18817,7 +18817,7 @@ const Jy = {
|
|
|
18817
18817
|
* Copyright 2017 Google LLC
|
|
18818
18818
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18819
18819
|
*/
|
|
18820
|
-
const
|
|
18820
|
+
const $a = { INITIAL: 0, PENDING: 1, COMPLETE: 2, ERROR: 3 }, Zy = Symbol();
|
|
18821
18821
|
let _d = class {
|
|
18822
18822
|
get taskComplete() {
|
|
18823
18823
|
return this.t || (this.i === 1 ? this.t = new Promise((r, e) => {
|
|
@@ -18908,7 +18908,7 @@ let _d = class {
|
|
|
18908
18908
|
}
|
|
18909
18909
|
}
|
|
18910
18910
|
};
|
|
18911
|
-
const Yy = (t, r) => t === r || t.length === r.length && t.every((e, n) => !
|
|
18911
|
+
const Yy = (t, r) => t === r || t.length === r.length && t.every((e, n) => !Ji(e, r[n]));
|
|
18912
18912
|
class Xy extends _d {
|
|
18913
18913
|
constructor(r, e, n, i = !1) {
|
|
18914
18914
|
super(r, {
|
|
@@ -18939,7 +18939,7 @@ class Xy extends _d {
|
|
|
18939
18939
|
});
|
|
18940
18940
|
}
|
|
18941
18941
|
}
|
|
18942
|
-
const Qy = ["fr", "pt", "nl", "be", "lu", "de", "ch", "es", "it", "uk"],
|
|
18942
|
+
const Qy = ["fr", "pt", "nl", "be", "lu", "de", "ch", "es", "it", "uk"], Fa = {
|
|
18943
18943
|
fr: "fr-FR",
|
|
18944
18944
|
pt: "pt-PT",
|
|
18945
18945
|
nl: "nl-NL",
|
|
@@ -19112,27 +19112,27 @@ function hb(t) {
|
|
|
19112
19112
|
function pb(t) {
|
|
19113
19113
|
return lb.call(t) === "[object Date]";
|
|
19114
19114
|
}
|
|
19115
|
-
const
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
|
|
19119
|
-
|
|
19120
|
-
|
|
19121
|
-
|
|
19122
|
-
|
|
19123
|
-
|
|
19124
|
-
|
|
19125
|
-
|
|
19126
|
-
|
|
19127
|
-
|
|
19128
|
-
|
|
19129
|
-
|
|
19130
|
-
|
|
19131
|
-
|
|
19132
|
-
|
|
19133
|
-
}
|
|
19134
|
-
return a;
|
|
19135
|
-
},
|
|
19115
|
+
const Or = (t) => (Array.isArray(Fa[t]) ? Fa[t] : [Fa[t]]).filter((e) => !!e), fb = (t, r) => Or(t).find((n) => n === r), mb = (t, r) => {
|
|
19116
|
+
if (!t) return null;
|
|
19117
|
+
const e = Or(r);
|
|
19118
|
+
return nb(e, t);
|
|
19119
|
+
}, gb = (t, r) => {
|
|
19120
|
+
const e = rb(t).BaseDirectory;
|
|
19121
|
+
if (!e) return null;
|
|
19122
|
+
const n = `${e.toLowerCase()}-${r.toUpperCase()}`;
|
|
19123
|
+
return Or(r).find((a) => a.toLowerCase() === n.toLowerCase()) ?? null;
|
|
19124
|
+
}, vb = (t, r) => {
|
|
19125
|
+
var a;
|
|
19126
|
+
if (!t || !r) return null;
|
|
19127
|
+
const e = t.match(/^\/([a-z]{2})(\/|$)/i), n = (a = e == null ? void 0 : e[1]) == null ? void 0 : a.toLowerCase();
|
|
19128
|
+
return n ? Or(r).find((s) => s.toLowerCase().startsWith(n)) ?? null : null;
|
|
19129
|
+
}, yb = (t) => {
|
|
19130
|
+
const r = Or(t);
|
|
19131
|
+
return r.length > 0 ? r[0] : "fr-FR";
|
|
19132
|
+
}, bb = (t) => {
|
|
19133
|
+
const { country: r, cookies: e, path: n, isFromWebview: i, acceptLanguageHeader: a } = t;
|
|
19134
|
+
return (i ? mb(a, r) : null) || gb(e, r) || vb(n, r) || yb(r);
|
|
19135
|
+
}, wb = function(t) {
|
|
19136
19136
|
const r = (n) => Object.fromEntries(Object.entries(n).filter(([i, a]) => a != null));
|
|
19137
19137
|
let e = {};
|
|
19138
19138
|
return Object.keys(t).forEach((n) => {
|
|
@@ -19154,29 +19154,29 @@ function Cd(t, r) {
|
|
|
19154
19154
|
return t.apply(r, arguments);
|
|
19155
19155
|
};
|
|
19156
19156
|
}
|
|
19157
|
-
const { toString:
|
|
19158
|
-
const e =
|
|
19157
|
+
const { toString: kb } = Object.prototype, { getPrototypeOf: io } = Object, na = /* @__PURE__ */ ((t) => (r) => {
|
|
19158
|
+
const e = kb.call(r);
|
|
19159
19159
|
return t[e] || (t[e] = e.slice(8, -1).toLowerCase());
|
|
19160
|
-
})(/* @__PURE__ */ Object.create(null)), ht = (t) => (t = t.toLowerCase(), (r) =>
|
|
19161
|
-
function
|
|
19160
|
+
})(/* @__PURE__ */ Object.create(null)), ht = (t) => (t = t.toLowerCase(), (r) => na(r) === t), ra = (t) => (r) => typeof r === t, { isArray: Ln } = Array, gr = ra("undefined");
|
|
19161
|
+
function _b(t) {
|
|
19162
19162
|
return t !== null && !gr(t) && t.constructor !== null && !gr(t.constructor) && We(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
19163
19163
|
}
|
|
19164
19164
|
const xd = ht("ArrayBuffer");
|
|
19165
|
-
function
|
|
19165
|
+
function Sb(t) {
|
|
19166
19166
|
let r;
|
|
19167
19167
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(t) : r = t && t.buffer && xd(t.buffer), r;
|
|
19168
19168
|
}
|
|
19169
|
-
const
|
|
19170
|
-
if (
|
|
19169
|
+
const Cb = ra("string"), We = ra("function"), Ed = ra("number"), ia = (t) => t !== null && typeof t == "object", xb = (t) => t === !0 || t === !1, Qr = (t) => {
|
|
19170
|
+
if (na(t) !== "object")
|
|
19171
19171
|
return !1;
|
|
19172
19172
|
const r = io(t);
|
|
19173
19173
|
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
|
19174
|
-
},
|
|
19174
|
+
}, Eb = ht("Date"), Ab = ht("File"), Tb = ht("Blob"), Rb = ht("FileList"), Ob = (t) => ia(t) && We(t.pipe), Ib = (t) => {
|
|
19175
19175
|
let r;
|
|
19176
|
-
return t && (typeof FormData == "function" && t instanceof FormData || We(t.append) && ((r =
|
|
19176
|
+
return t && (typeof FormData == "function" && t instanceof FormData || We(t.append) && ((r = na(t)) === "formdata" || // detect form-data instance
|
|
19177
19177
|
r === "object" && We(t.toString) && t.toString() === "[object FormData]"));
|
|
19178
|
-
},
|
|
19179
|
-
function
|
|
19178
|
+
}, Lb = ht("URLSearchParams"), Mb = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
19179
|
+
function Ir(t, r, { allOwnKeys: e = !1 } = {}) {
|
|
19180
19180
|
if (t === null || typeof t > "u")
|
|
19181
19181
|
return;
|
|
19182
19182
|
let n, i;
|
|
@@ -19203,19 +19203,19 @@ const Td = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
|
|
|
19203
19203
|
function ms() {
|
|
19204
19204
|
const { caseless: t } = Rd(this) && this || {}, r = {}, e = (n, i) => {
|
|
19205
19205
|
const a = t && Ad(r, i) || i;
|
|
19206
|
-
|
|
19206
|
+
Qr(r[a]) && Qr(n) ? r[a] = ms(r[a], n) : Qr(n) ? r[a] = ms({}, n) : Ln(n) ? r[a] = n.slice() : r[a] = n;
|
|
19207
19207
|
};
|
|
19208
19208
|
for (let n = 0, i = arguments.length; n < i; n++)
|
|
19209
|
-
arguments[n] &&
|
|
19209
|
+
arguments[n] && Ir(arguments[n], e);
|
|
19210
19210
|
return r;
|
|
19211
19211
|
}
|
|
19212
|
-
const
|
|
19212
|
+
const Pb = (t, r, e, { allOwnKeys: n } = {}) => (Ir(r, (i, a) => {
|
|
19213
19213
|
e && We(i) ? t[a] = Cd(i, e) : t[a] = i;
|
|
19214
|
-
}, { allOwnKeys: n }), t),
|
|
19214
|
+
}, { allOwnKeys: n }), t), $b = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Fb = (t, r, e, n) => {
|
|
19215
19215
|
t.prototype = Object.create(r.prototype, n), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
19216
19216
|
value: r.prototype
|
|
19217
19217
|
}), e && Object.assign(t.prototype, e);
|
|
19218
|
-
},
|
|
19218
|
+
}, Nb = (t, r, e, n) => {
|
|
19219
19219
|
let i, a, s;
|
|
19220
19220
|
const o = {};
|
|
19221
19221
|
if (r = r || {}, t == null) return r;
|
|
@@ -19225,11 +19225,11 @@ const Ob = (t, r, e, { allOwnKeys: n } = {}) => (Or(r, (i, a) => {
|
|
|
19225
19225
|
t = e !== !1 && io(t);
|
|
19226
19226
|
} while (t && (!e || e(t, r)) && t !== Object.prototype);
|
|
19227
19227
|
return r;
|
|
19228
|
-
},
|
|
19228
|
+
}, Db = (t, r, e) => {
|
|
19229
19229
|
t = String(t), (e === void 0 || e > t.length) && (e = t.length), e -= r.length;
|
|
19230
19230
|
const n = t.indexOf(r, e);
|
|
19231
19231
|
return n !== -1 && n === e;
|
|
19232
|
-
},
|
|
19232
|
+
}, Bb = (t) => {
|
|
19233
19233
|
if (!t) return null;
|
|
19234
19234
|
if (Ln(t)) return t;
|
|
19235
19235
|
let r = t.length;
|
|
@@ -19238,31 +19238,31 @@ const Ob = (t, r, e, { allOwnKeys: n } = {}) => (Or(r, (i, a) => {
|
|
|
19238
19238
|
for (; r-- > 0; )
|
|
19239
19239
|
e[r] = t[r];
|
|
19240
19240
|
return e;
|
|
19241
|
-
},
|
|
19241
|
+
}, jb = /* @__PURE__ */ ((t) => (r) => t && r instanceof t)(typeof Uint8Array < "u" && io(Uint8Array)), Hb = (t, r) => {
|
|
19242
19242
|
const n = (t && t[Symbol.iterator]).call(t);
|
|
19243
19243
|
let i;
|
|
19244
19244
|
for (; (i = n.next()) && !i.done; ) {
|
|
19245
19245
|
const a = i.value;
|
|
19246
19246
|
r.call(t, a[0], a[1]);
|
|
19247
19247
|
}
|
|
19248
|
-
},
|
|
19248
|
+
}, Ub = (t, r) => {
|
|
19249
19249
|
let e;
|
|
19250
19250
|
const n = [];
|
|
19251
19251
|
for (; (e = t.exec(r)) !== null; )
|
|
19252
19252
|
n.push(e);
|
|
19253
19253
|
return n;
|
|
19254
|
-
},
|
|
19254
|
+
}, zb = ht("HTMLFormElement"), qb = (t) => t.toLowerCase().replace(
|
|
19255
19255
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
19256
19256
|
function(e, n, i) {
|
|
19257
19257
|
return n.toUpperCase() + i;
|
|
19258
19258
|
}
|
|
19259
|
-
), xc = (({ hasOwnProperty: t }) => (r, e) => t.call(r, e))(Object.prototype),
|
|
19259
|
+
), xc = (({ hasOwnProperty: t }) => (r, e) => t.call(r, e))(Object.prototype), Vb = ht("RegExp"), Od = (t, r) => {
|
|
19260
19260
|
const e = Object.getOwnPropertyDescriptors(t), n = {};
|
|
19261
|
-
|
|
19261
|
+
Ir(e, (i, a) => {
|
|
19262
19262
|
let s;
|
|
19263
19263
|
(s = r(i, a, t)) !== !1 && (n[a] = s || i);
|
|
19264
19264
|
}), Object.defineProperties(t, n);
|
|
19265
|
-
},
|
|
19265
|
+
}, Wb = (t) => {
|
|
19266
19266
|
Od(t, (r, e) => {
|
|
19267
19267
|
if (We(t) && ["arguments", "caller", "callee"].indexOf(e) !== -1)
|
|
19268
19268
|
return !1;
|
|
@@ -19277,37 +19277,37 @@ const Ob = (t, r, e, { allOwnKeys: n } = {}) => (Or(r, (i, a) => {
|
|
|
19277
19277
|
});
|
|
19278
19278
|
}
|
|
19279
19279
|
});
|
|
19280
|
-
},
|
|
19280
|
+
}, Gb = (t, r) => {
|
|
19281
19281
|
const e = {}, n = (i) => {
|
|
19282
19282
|
i.forEach((a) => {
|
|
19283
19283
|
e[a] = !0;
|
|
19284
19284
|
});
|
|
19285
19285
|
};
|
|
19286
19286
|
return Ln(t) ? n(t) : n(String(t).split(r)), e;
|
|
19287
|
-
},
|
|
19288
|
-
},
|
|
19287
|
+
}, Kb = () => {
|
|
19288
|
+
}, Jb = (t, r) => (t = +t, Number.isFinite(t) ? t : r), Na = "abcdefghijklmnopqrstuvwxyz", Ec = "0123456789", Id = {
|
|
19289
19289
|
DIGIT: Ec,
|
|
19290
|
-
ALPHA:
|
|
19291
|
-
ALPHA_DIGIT:
|
|
19292
|
-
},
|
|
19290
|
+
ALPHA: Na,
|
|
19291
|
+
ALPHA_DIGIT: Na + Na.toUpperCase() + Ec
|
|
19292
|
+
}, Zb = (t = 16, r = Id.ALPHA_DIGIT) => {
|
|
19293
19293
|
let e = "";
|
|
19294
19294
|
const { length: n } = r;
|
|
19295
19295
|
for (; t--; )
|
|
19296
19296
|
e += r[Math.random() * n | 0];
|
|
19297
19297
|
return e;
|
|
19298
19298
|
};
|
|
19299
|
-
function
|
|
19299
|
+
function Yb(t) {
|
|
19300
19300
|
return !!(t && We(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
|
|
19301
19301
|
}
|
|
19302
|
-
const
|
|
19302
|
+
const Xb = (t) => {
|
|
19303
19303
|
const r = new Array(10), e = (n, i) => {
|
|
19304
|
-
if (
|
|
19304
|
+
if (ia(n)) {
|
|
19305
19305
|
if (r.indexOf(n) >= 0)
|
|
19306
19306
|
return;
|
|
19307
19307
|
if (!("toJSON" in n)) {
|
|
19308
19308
|
r[i] = n;
|
|
19309
19309
|
const a = Ln(n) ? [] : {};
|
|
19310
|
-
return
|
|
19310
|
+
return Ir(n, (s, o) => {
|
|
19311
19311
|
const l = e(s, i + 1);
|
|
19312
19312
|
!gr(l) && (a[o] = l);
|
|
19313
19313
|
}), r[i] = void 0, a;
|
|
@@ -19316,59 +19316,59 @@ const Kb = (t) => {
|
|
|
19316
19316
|
return n;
|
|
19317
19317
|
};
|
|
19318
19318
|
return e(t, 0);
|
|
19319
|
-
},
|
|
19319
|
+
}, Qb = ht("AsyncFunction"), e3 = (t) => t && (ia(t) || We(t)) && We(t.then) && We(t.catch), E = {
|
|
19320
19320
|
isArray: Ln,
|
|
19321
19321
|
isArrayBuffer: xd,
|
|
19322
|
-
isBuffer:
|
|
19323
|
-
isFormData:
|
|
19324
|
-
isArrayBufferView:
|
|
19325
|
-
isString:
|
|
19322
|
+
isBuffer: _b,
|
|
19323
|
+
isFormData: Ib,
|
|
19324
|
+
isArrayBufferView: Sb,
|
|
19325
|
+
isString: Cb,
|
|
19326
19326
|
isNumber: Ed,
|
|
19327
|
-
isBoolean:
|
|
19328
|
-
isObject:
|
|
19329
|
-
isPlainObject:
|
|
19327
|
+
isBoolean: xb,
|
|
19328
|
+
isObject: ia,
|
|
19329
|
+
isPlainObject: Qr,
|
|
19330
19330
|
isUndefined: gr,
|
|
19331
|
-
isDate:
|
|
19332
|
-
isFile:
|
|
19333
|
-
isBlob:
|
|
19334
|
-
isRegExp:
|
|
19331
|
+
isDate: Eb,
|
|
19332
|
+
isFile: Ab,
|
|
19333
|
+
isBlob: Tb,
|
|
19334
|
+
isRegExp: Vb,
|
|
19335
19335
|
isFunction: We,
|
|
19336
|
-
isStream:
|
|
19337
|
-
isURLSearchParams:
|
|
19338
|
-
isTypedArray:
|
|
19339
|
-
isFileList:
|
|
19340
|
-
forEach:
|
|
19336
|
+
isStream: Ob,
|
|
19337
|
+
isURLSearchParams: Lb,
|
|
19338
|
+
isTypedArray: jb,
|
|
19339
|
+
isFileList: Rb,
|
|
19340
|
+
forEach: Ir,
|
|
19341
19341
|
merge: ms,
|
|
19342
|
-
extend:
|
|
19343
|
-
trim:
|
|
19344
|
-
stripBOM:
|
|
19345
|
-
inherits:
|
|
19346
|
-
toFlatObject:
|
|
19347
|
-
kindOf:
|
|
19342
|
+
extend: Pb,
|
|
19343
|
+
trim: Mb,
|
|
19344
|
+
stripBOM: $b,
|
|
19345
|
+
inherits: Fb,
|
|
19346
|
+
toFlatObject: Nb,
|
|
19347
|
+
kindOf: na,
|
|
19348
19348
|
kindOfTest: ht,
|
|
19349
|
-
endsWith:
|
|
19350
|
-
toArray:
|
|
19351
|
-
forEachEntry:
|
|
19352
|
-
matchAll:
|
|
19353
|
-
isHTMLForm:
|
|
19349
|
+
endsWith: Db,
|
|
19350
|
+
toArray: Bb,
|
|
19351
|
+
forEachEntry: Hb,
|
|
19352
|
+
matchAll: Ub,
|
|
19353
|
+
isHTMLForm: zb,
|
|
19354
19354
|
hasOwnProperty: xc,
|
|
19355
19355
|
hasOwnProp: xc,
|
|
19356
19356
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
19357
19357
|
reduceDescriptors: Od,
|
|
19358
|
-
freezeMethods:
|
|
19359
|
-
toObjectSet:
|
|
19360
|
-
toCamelCase:
|
|
19361
|
-
noop:
|
|
19362
|
-
toFiniteNumber:
|
|
19358
|
+
freezeMethods: Wb,
|
|
19359
|
+
toObjectSet: Gb,
|
|
19360
|
+
toCamelCase: qb,
|
|
19361
|
+
noop: Kb,
|
|
19362
|
+
toFiniteNumber: Jb,
|
|
19363
19363
|
findKey: Ad,
|
|
19364
19364
|
global: Td,
|
|
19365
19365
|
isContextDefined: Rd,
|
|
19366
19366
|
ALPHABET: Id,
|
|
19367
|
-
generateString:
|
|
19368
|
-
isSpecCompliantForm:
|
|
19369
|
-
toJSONObject:
|
|
19370
|
-
isAsyncFn:
|
|
19371
|
-
isThenable:
|
|
19367
|
+
generateString: Zb,
|
|
19368
|
+
isSpecCompliantForm: Yb,
|
|
19369
|
+
toJSONObject: Xb,
|
|
19370
|
+
isAsyncFn: Qb,
|
|
19371
|
+
isThenable: e3
|
|
19372
19372
|
};
|
|
19373
19373
|
function ae(t, r, e, n, i) {
|
|
19374
19374
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = t, this.name = "AxiosError", r && (this.code = r), e && (this.config = e), n && (this.request = n), i && (this.response = i);
|
|
@@ -19420,7 +19420,7 @@ ae.from = (t, r, e, n, i, a) => {
|
|
|
19420
19420
|
return l !== Error.prototype;
|
|
19421
19421
|
}, (o) => o !== "isAxiosError"), ae.call(s, t.message, r, e, n, i), s.cause = t, s.name = t.name, a && Object.assign(s, a), s;
|
|
19422
19422
|
};
|
|
19423
|
-
const
|
|
19423
|
+
const t3 = null;
|
|
19424
19424
|
function gs(t) {
|
|
19425
19425
|
return E.isPlainObject(t) || E.isArray(t);
|
|
19426
19426
|
}
|
|
@@ -19432,13 +19432,13 @@ function Ac(t, r, e) {
|
|
|
19432
19432
|
return i = Pd(i), !e && a ? "[" + i + "]" : i;
|
|
19433
19433
|
}).join(e ? "." : "") : r;
|
|
19434
19434
|
}
|
|
19435
|
-
function
|
|
19435
|
+
function n3(t) {
|
|
19436
19436
|
return E.isArray(t) && !t.some(gs);
|
|
19437
19437
|
}
|
|
19438
|
-
const
|
|
19438
|
+
const r3 = E.toFlatObject(E, {}, null, function(r) {
|
|
19439
19439
|
return /^is[A-Z]/.test(r);
|
|
19440
19440
|
});
|
|
19441
|
-
function
|
|
19441
|
+
function aa(t, r, e) {
|
|
19442
19442
|
if (!E.isObject(t))
|
|
19443
19443
|
throw new TypeError("target must be an object");
|
|
19444
19444
|
r = r || new FormData(), e = E.toFlatObject(e, {
|
|
@@ -19464,7 +19464,7 @@ function ia(t, r, e) {
|
|
|
19464
19464
|
if (f && !y && typeof f == "object") {
|
|
19465
19465
|
if (E.endsWith(g, "{}"))
|
|
19466
19466
|
g = n ? g : g.slice(0, -2), f = JSON.stringify(f);
|
|
19467
|
-
else if (E.isArray(f) &&
|
|
19467
|
+
else if (E.isArray(f) && n3(f) || (E.isFileList(f) || E.endsWith(g, "[]")) && (v = E.toArray(f)))
|
|
19468
19468
|
return g = Pd(g), v.forEach(function(C, F) {
|
|
19469
19469
|
!(E.isUndefined(C) || C === null) && r.append(
|
|
19470
19470
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -19475,7 +19475,7 @@ function ia(t, r, e) {
|
|
|
19475
19475
|
}
|
|
19476
19476
|
return gs(f) ? !0 : (r.append(Ac(y, g, a), c(f)), !1);
|
|
19477
19477
|
}
|
|
19478
|
-
const d = [], h = Object.assign(
|
|
19478
|
+
const d = [], h = Object.assign(r3, {
|
|
19479
19479
|
defaultVisitor: u,
|
|
19480
19480
|
convertValue: c,
|
|
19481
19481
|
isVisitable: gs
|
|
@@ -19514,7 +19514,7 @@ function Tc(t) {
|
|
|
19514
19514
|
});
|
|
19515
19515
|
}
|
|
19516
19516
|
function ao(t, r) {
|
|
19517
|
-
this._pairs = [], t &&
|
|
19517
|
+
this._pairs = [], t && aa(t, this, r);
|
|
19518
19518
|
}
|
|
19519
19519
|
const $d = ao.prototype;
|
|
19520
19520
|
$d.append = function(r, e) {
|
|
@@ -19528,13 +19528,13 @@ $d.toString = function(r) {
|
|
|
19528
19528
|
return e(i[0]) + "=" + e(i[1]);
|
|
19529
19529
|
}, "").join("&");
|
|
19530
19530
|
};
|
|
19531
|
-
function
|
|
19531
|
+
function i3(t) {
|
|
19532
19532
|
return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
19533
19533
|
}
|
|
19534
19534
|
function Fd(t, r, e) {
|
|
19535
19535
|
if (!r)
|
|
19536
19536
|
return t;
|
|
19537
|
-
const n = e && e.encode ||
|
|
19537
|
+
const n = e && e.encode || i3, i = e && e.serialize;
|
|
19538
19538
|
let a;
|
|
19539
19539
|
if (i ? a = i(r, e) : a = E.isURLSearchParams(r) ? r.toString() : new ao(r, e).toString(n), a) {
|
|
19540
19540
|
const s = t.indexOf("#");
|
|
@@ -19600,35 +19600,35 @@ const Nd = {
|
|
|
19600
19600
|
silentJSONParsing: !0,
|
|
19601
19601
|
forcedJSONParsing: !0,
|
|
19602
19602
|
clarifyTimeoutError: !1
|
|
19603
|
-
},
|
|
19603
|
+
}, a3 = typeof URLSearchParams < "u" ? URLSearchParams : ao, s3 = typeof FormData < "u" ? FormData : null, o3 = typeof Blob < "u" ? Blob : null, l3 = {
|
|
19604
19604
|
isBrowser: !0,
|
|
19605
19605
|
classes: {
|
|
19606
|
-
URLSearchParams:
|
|
19607
|
-
FormData:
|
|
19608
|
-
Blob:
|
|
19606
|
+
URLSearchParams: a3,
|
|
19607
|
+
FormData: s3,
|
|
19608
|
+
Blob: o3
|
|
19609
19609
|
},
|
|
19610
19610
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
19611
|
-
}, Dd = typeof window < "u" && typeof document < "u",
|
|
19612
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
19611
|
+
}, Dd = typeof window < "u" && typeof document < "u", c3 = ((t) => Dd && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), u3 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
19612
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", d3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19613
19613
|
__proto__: null,
|
|
19614
19614
|
hasBrowserEnv: Dd,
|
|
19615
|
-
hasStandardBrowserEnv:
|
|
19616
|
-
hasStandardBrowserWebWorkerEnv:
|
|
19615
|
+
hasStandardBrowserEnv: c3,
|
|
19616
|
+
hasStandardBrowserWebWorkerEnv: u3
|
|
19617
19617
|
}, Symbol.toStringTag, { value: "Module" })), ot = {
|
|
19618
|
-
...
|
|
19619
|
-
...
|
|
19618
|
+
...d3,
|
|
19619
|
+
...l3
|
|
19620
19620
|
};
|
|
19621
|
-
function
|
|
19622
|
-
return
|
|
19621
|
+
function h3(t, r) {
|
|
19622
|
+
return aa(t, new ot.classes.URLSearchParams(), Object.assign({
|
|
19623
19623
|
visitor: function(e, n, i, a) {
|
|
19624
19624
|
return ot.isNode && E.isBuffer(e) ? (this.append(n, e.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
|
|
19625
19625
|
}
|
|
19626
19626
|
}, r));
|
|
19627
19627
|
}
|
|
19628
|
-
function
|
|
19628
|
+
function p3(t) {
|
|
19629
19629
|
return E.matchAll(/\w+|\[(\w*)]/g, t).map((r) => r[0] === "[]" ? "" : r[1] || r[0]);
|
|
19630
19630
|
}
|
|
19631
|
-
function
|
|
19631
|
+
function f3(t) {
|
|
19632
19632
|
const r = {}, e = Object.keys(t);
|
|
19633
19633
|
let n;
|
|
19634
19634
|
const i = e.length;
|
|
@@ -19642,17 +19642,17 @@ function Bd(t) {
|
|
|
19642
19642
|
let s = e[a++];
|
|
19643
19643
|
if (s === "__proto__") return !0;
|
|
19644
19644
|
const o = Number.isFinite(+s), l = a >= e.length;
|
|
19645
|
-
return s = !s && E.isArray(i) ? i.length : s, l ? (E.hasOwnProp(i, s) ? i[s] = [i[s], n] : i[s] = n, !o) : ((!i[s] || !E.isObject(i[s])) && (i[s] = []), r(e, n, i[s], a) && E.isArray(i[s]) && (i[s] =
|
|
19645
|
+
return s = !s && E.isArray(i) ? i.length : s, l ? (E.hasOwnProp(i, s) ? i[s] = [i[s], n] : i[s] = n, !o) : ((!i[s] || !E.isObject(i[s])) && (i[s] = []), r(e, n, i[s], a) && E.isArray(i[s]) && (i[s] = f3(i[s])), !o);
|
|
19646
19646
|
}
|
|
19647
19647
|
if (E.isFormData(t) && E.isFunction(t.entries)) {
|
|
19648
19648
|
const e = {};
|
|
19649
19649
|
return E.forEachEntry(t, (n, i) => {
|
|
19650
|
-
r(
|
|
19650
|
+
r(p3(n), i, e, 0);
|
|
19651
19651
|
}), e;
|
|
19652
19652
|
}
|
|
19653
19653
|
return null;
|
|
19654
19654
|
}
|
|
19655
|
-
function
|
|
19655
|
+
function m3(t, r, e) {
|
|
19656
19656
|
if (E.isString(t))
|
|
19657
19657
|
try {
|
|
19658
19658
|
return (r || JSON.parse)(t), E.trim(t);
|
|
@@ -19662,7 +19662,7 @@ function d3(t, r, e) {
|
|
|
19662
19662
|
}
|
|
19663
19663
|
return (0, JSON.stringify)(t);
|
|
19664
19664
|
}
|
|
19665
|
-
const
|
|
19665
|
+
const Lr = {
|
|
19666
19666
|
transitional: Nd,
|
|
19667
19667
|
adapter: ["xhr", "http"],
|
|
19668
19668
|
transformRequest: [function(r, e) {
|
|
@@ -19678,20 +19678,20 @@ const Ir = {
|
|
|
19678
19678
|
let o;
|
|
19679
19679
|
if (a) {
|
|
19680
19680
|
if (n.indexOf("application/x-www-form-urlencoded") > -1)
|
|
19681
|
-
return
|
|
19681
|
+
return h3(r, this.formSerializer).toString();
|
|
19682
19682
|
if ((o = E.isFileList(r)) || n.indexOf("multipart/form-data") > -1) {
|
|
19683
19683
|
const l = this.env && this.env.FormData;
|
|
19684
|
-
return
|
|
19684
|
+
return aa(
|
|
19685
19685
|
o ? { "files[]": r } : r,
|
|
19686
19686
|
l && new l(),
|
|
19687
19687
|
this.formSerializer
|
|
19688
19688
|
);
|
|
19689
19689
|
}
|
|
19690
19690
|
}
|
|
19691
|
-
return a || i ? (e.setContentType("application/json", !1),
|
|
19691
|
+
return a || i ? (e.setContentType("application/json", !1), m3(r)) : r;
|
|
19692
19692
|
}],
|
|
19693
19693
|
transformResponse: [function(r) {
|
|
19694
|
-
const e = this.transitional ||
|
|
19694
|
+
const e = this.transitional || Lr.transitional, n = e && e.forcedJSONParsing, i = this.responseType === "json";
|
|
19695
19695
|
if (r && E.isString(r) && (n && !this.responseType || i)) {
|
|
19696
19696
|
const s = !(e && e.silentJSONParsing) && i;
|
|
19697
19697
|
try {
|
|
@@ -19727,9 +19727,9 @@ const Ir = {
|
|
|
19727
19727
|
}
|
|
19728
19728
|
};
|
|
19729
19729
|
E.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
|
|
19730
|
-
|
|
19730
|
+
Lr.headers[t] = {};
|
|
19731
19731
|
});
|
|
19732
|
-
const
|
|
19732
|
+
const g3 = E.toObjectSet([
|
|
19733
19733
|
"age",
|
|
19734
19734
|
"authorization",
|
|
19735
19735
|
"content-length",
|
|
@@ -19747,29 +19747,29 @@ const h3 = E.toObjectSet([
|
|
|
19747
19747
|
"referer",
|
|
19748
19748
|
"retry-after",
|
|
19749
19749
|
"user-agent"
|
|
19750
|
-
]),
|
|
19750
|
+
]), v3 = (t) => {
|
|
19751
19751
|
const r = {};
|
|
19752
19752
|
let e, n, i;
|
|
19753
19753
|
return t && t.split(`
|
|
19754
19754
|
`).forEach(function(s) {
|
|
19755
|
-
i = s.indexOf(":"), e = s.substring(0, i).trim().toLowerCase(), n = s.substring(i + 1).trim(), !(!e || r[e] &&
|
|
19755
|
+
i = s.indexOf(":"), e = s.substring(0, i).trim().toLowerCase(), n = s.substring(i + 1).trim(), !(!e || r[e] && g3[e]) && (e === "set-cookie" ? r[e] ? r[e].push(n) : r[e] = [n] : r[e] = r[e] ? r[e] + ", " + n : n);
|
|
19756
19756
|
}), r;
|
|
19757
19757
|
}, Oc = Symbol("internals");
|
|
19758
19758
|
function jn(t) {
|
|
19759
19759
|
return t && String(t).trim().toLowerCase();
|
|
19760
19760
|
}
|
|
19761
|
-
function
|
|
19762
|
-
return t === !1 || t == null ? t : E.isArray(t) ? t.map(
|
|
19761
|
+
function ei(t) {
|
|
19762
|
+
return t === !1 || t == null ? t : E.isArray(t) ? t.map(ei) : String(t);
|
|
19763
19763
|
}
|
|
19764
|
-
function
|
|
19764
|
+
function y3(t) {
|
|
19765
19765
|
const r = /* @__PURE__ */ Object.create(null), e = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
19766
19766
|
let n;
|
|
19767
19767
|
for (; n = e.exec(t); )
|
|
19768
19768
|
r[n[1]] = n[2];
|
|
19769
19769
|
return r;
|
|
19770
19770
|
}
|
|
19771
|
-
const
|
|
19772
|
-
function
|
|
19771
|
+
const b3 = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
|
|
19772
|
+
function Da(t, r, e, n, i) {
|
|
19773
19773
|
if (E.isFunction(n))
|
|
19774
19774
|
return n.call(this, r, e);
|
|
19775
19775
|
if (i && (r = e), !!E.isString(r)) {
|
|
@@ -19779,10 +19779,10 @@ function Na(t, r, e, n, i) {
|
|
|
19779
19779
|
return n.test(r);
|
|
19780
19780
|
}
|
|
19781
19781
|
}
|
|
19782
|
-
function
|
|
19782
|
+
function w3(t) {
|
|
19783
19783
|
return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (r, e, n) => e.toUpperCase() + n);
|
|
19784
19784
|
}
|
|
19785
|
-
function
|
|
19785
|
+
function k3(t, r) {
|
|
19786
19786
|
const e = E.toCamelCase(" " + r);
|
|
19787
19787
|
["get", "set", "has"].forEach((n) => {
|
|
19788
19788
|
Object.defineProperty(t, n + e, {
|
|
@@ -19804,10 +19804,10 @@ class Ge {
|
|
|
19804
19804
|
if (!u)
|
|
19805
19805
|
throw new Error("header name must be a non-empty string");
|
|
19806
19806
|
const d = E.findKey(i, u);
|
|
19807
|
-
(!d || i[d] === void 0 || c === !0 || c === void 0 && i[d] !== !1) && (i[d || l] =
|
|
19807
|
+
(!d || i[d] === void 0 || c === !0 || c === void 0 && i[d] !== !1) && (i[d || l] = ei(o));
|
|
19808
19808
|
}
|
|
19809
19809
|
const s = (o, l) => E.forEach(o, (c, u) => a(c, u, l));
|
|
19810
|
-
return E.isPlainObject(r) || r instanceof this.constructor ? s(r, e) : E.isString(r) && (r = r.trim()) && !
|
|
19810
|
+
return E.isPlainObject(r) || r instanceof this.constructor ? s(r, e) : E.isString(r) && (r = r.trim()) && !b3(r) ? s(v3(r), e) : r != null && a(e, r, n), this;
|
|
19811
19811
|
}
|
|
19812
19812
|
get(r, e) {
|
|
19813
19813
|
if (r = jn(r), r) {
|
|
@@ -19817,7 +19817,7 @@ class Ge {
|
|
|
19817
19817
|
if (!e)
|
|
19818
19818
|
return i;
|
|
19819
19819
|
if (e === !0)
|
|
19820
|
-
return
|
|
19820
|
+
return y3(i);
|
|
19821
19821
|
if (E.isFunction(e))
|
|
19822
19822
|
return e.call(this, i, n);
|
|
19823
19823
|
if (E.isRegExp(e))
|
|
@@ -19829,7 +19829,7 @@ class Ge {
|
|
|
19829
19829
|
has(r, e) {
|
|
19830
19830
|
if (r = jn(r), r) {
|
|
19831
19831
|
const n = E.findKey(this, r);
|
|
19832
|
-
return !!(n && this[n] !== void 0 && (!e ||
|
|
19832
|
+
return !!(n && this[n] !== void 0 && (!e || Da(this, this[n], n, e)));
|
|
19833
19833
|
}
|
|
19834
19834
|
return !1;
|
|
19835
19835
|
}
|
|
@@ -19839,7 +19839,7 @@ class Ge {
|
|
|
19839
19839
|
function a(s) {
|
|
19840
19840
|
if (s = jn(s), s) {
|
|
19841
19841
|
const o = E.findKey(n, s);
|
|
19842
|
-
o && (!e ||
|
|
19842
|
+
o && (!e || Da(n, n[o], o, e)) && (delete n[o], i = !0);
|
|
19843
19843
|
}
|
|
19844
19844
|
}
|
|
19845
19845
|
return E.isArray(r) ? r.forEach(a) : a(r), i;
|
|
@@ -19849,7 +19849,7 @@ class Ge {
|
|
|
19849
19849
|
let n = e.length, i = !1;
|
|
19850
19850
|
for (; n--; ) {
|
|
19851
19851
|
const a = e[n];
|
|
19852
|
-
(!r ||
|
|
19852
|
+
(!r || Da(this, this[a], a, r, !0)) && (delete this[a], i = !0);
|
|
19853
19853
|
}
|
|
19854
19854
|
return i;
|
|
19855
19855
|
}
|
|
@@ -19858,11 +19858,11 @@ class Ge {
|
|
|
19858
19858
|
return E.forEach(this, (i, a) => {
|
|
19859
19859
|
const s = E.findKey(n, a);
|
|
19860
19860
|
if (s) {
|
|
19861
|
-
e[s] =
|
|
19861
|
+
e[s] = ei(i), delete e[a];
|
|
19862
19862
|
return;
|
|
19863
19863
|
}
|
|
19864
|
-
const o = r ?
|
|
19865
|
-
o !== a && delete e[a], e[o] =
|
|
19864
|
+
const o = r ? w3(a) : String(a).trim();
|
|
19865
|
+
o !== a && delete e[a], e[o] = ei(i), n[o] = !0;
|
|
19866
19866
|
}), this;
|
|
19867
19867
|
}
|
|
19868
19868
|
concat(...r) {
|
|
@@ -19897,7 +19897,7 @@ class Ge {
|
|
|
19897
19897
|
}).accessors, i = this.prototype;
|
|
19898
19898
|
function a(s) {
|
|
19899
19899
|
const o = jn(s);
|
|
19900
|
-
n[o] || (
|
|
19900
|
+
n[o] || (k3(i, s), n[o] = !0);
|
|
19901
19901
|
}
|
|
19902
19902
|
return E.isArray(r) ? r.forEach(a) : a(r), this;
|
|
19903
19903
|
}
|
|
@@ -19913,8 +19913,8 @@ E.reduceDescriptors(Ge.prototype, ({ value: t }, r) => {
|
|
|
19913
19913
|
};
|
|
19914
19914
|
});
|
|
19915
19915
|
E.freezeMethods(Ge);
|
|
19916
|
-
function
|
|
19917
|
-
const e = this ||
|
|
19916
|
+
function Ba(t, r) {
|
|
19917
|
+
const e = this || Lr, n = r || e, i = Ge.from(n.headers);
|
|
19918
19918
|
let a = n.data;
|
|
19919
19919
|
return E.forEach(t, function(o) {
|
|
19920
19920
|
a = o.call(e, a, i.normalize(), r ? r.status : void 0);
|
|
@@ -19923,13 +19923,13 @@ function Da(t, r) {
|
|
|
19923
19923
|
function jd(t) {
|
|
19924
19924
|
return !!(t && t.__CANCEL__);
|
|
19925
19925
|
}
|
|
19926
|
-
function
|
|
19926
|
+
function Mr(t, r, e) {
|
|
19927
19927
|
ae.call(this, t ?? "canceled", ae.ERR_CANCELED, r, e), this.name = "CanceledError";
|
|
19928
19928
|
}
|
|
19929
|
-
E.inherits(
|
|
19929
|
+
E.inherits(Mr, ae, {
|
|
19930
19930
|
__CANCEL__: !0
|
|
19931
19931
|
});
|
|
19932
|
-
function
|
|
19932
|
+
function _3(t, r, e) {
|
|
19933
19933
|
const n = e.config.validateStatus;
|
|
19934
19934
|
!e.status || !n || n(e.status) ? t(e) : r(new ae(
|
|
19935
19935
|
"Request failed with status code " + e.status,
|
|
@@ -19939,7 +19939,7 @@ function y3(t, r, e) {
|
|
|
19939
19939
|
e
|
|
19940
19940
|
));
|
|
19941
19941
|
}
|
|
19942
|
-
const
|
|
19942
|
+
const S3 = ot.hasStandardBrowserEnv ? (
|
|
19943
19943
|
// Standard browser envs support document.cookie
|
|
19944
19944
|
{
|
|
19945
19945
|
write(t, r, e, n, i, a) {
|
|
@@ -19966,16 +19966,16 @@ const b3 = ot.hasStandardBrowserEnv ? (
|
|
|
19966
19966
|
}
|
|
19967
19967
|
}
|
|
19968
19968
|
);
|
|
19969
|
-
function
|
|
19969
|
+
function C3(t) {
|
|
19970
19970
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
|
|
19971
19971
|
}
|
|
19972
|
-
function
|
|
19972
|
+
function x3(t, r) {
|
|
19973
19973
|
return r ? t.replace(/\/?\/$/, "") + "/" + r.replace(/^\/+/, "") : t;
|
|
19974
19974
|
}
|
|
19975
19975
|
function Hd(t, r) {
|
|
19976
|
-
return t && !
|
|
19976
|
+
return t && !C3(r) ? x3(t, r) : r;
|
|
19977
19977
|
}
|
|
19978
|
-
const
|
|
19978
|
+
const E3 = ot.hasStandardBrowserEnv ? (
|
|
19979
19979
|
// Standard browser envs have full support of the APIs needed to test
|
|
19980
19980
|
// whether the request URL is of the same origin as current location.
|
|
19981
19981
|
function() {
|
|
@@ -20007,11 +20007,11 @@ const _3 = ot.hasStandardBrowserEnv ? (
|
|
|
20007
20007
|
};
|
|
20008
20008
|
}()
|
|
20009
20009
|
);
|
|
20010
|
-
function
|
|
20010
|
+
function A3(t) {
|
|
20011
20011
|
const r = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
|
|
20012
20012
|
return r && r[1] || "";
|
|
20013
20013
|
}
|
|
20014
|
-
function
|
|
20014
|
+
function T3(t, r) {
|
|
20015
20015
|
t = t || 10;
|
|
20016
20016
|
const e = new Array(t), n = new Array(t);
|
|
20017
20017
|
let i = 0, a = 0, s;
|
|
@@ -20029,7 +20029,7 @@ function C3(t, r) {
|
|
|
20029
20029
|
}
|
|
20030
20030
|
function Ic(t, r) {
|
|
20031
20031
|
let e = 0;
|
|
20032
|
-
const n =
|
|
20032
|
+
const n = T3(50, 250);
|
|
20033
20033
|
return (i) => {
|
|
20034
20034
|
const a = i.loaded, s = i.lengthComputable ? i.total : void 0, o = a - e, l = n(o), c = a <= s;
|
|
20035
20035
|
e = a;
|
|
@@ -20045,7 +20045,7 @@ function Ic(t, r) {
|
|
|
20045
20045
|
u[r ? "download" : "upload"] = !0, t(u);
|
|
20046
20046
|
};
|
|
20047
20047
|
}
|
|
20048
|
-
const
|
|
20048
|
+
const R3 = typeof XMLHttpRequest < "u", O3 = R3 && function(t) {
|
|
20049
20049
|
return new Promise(function(e, n) {
|
|
20050
20050
|
let i = t.data;
|
|
20051
20051
|
const a = Ge.from(t.headers).normalize();
|
|
@@ -20082,7 +20082,7 @@ const x3 = typeof XMLHttpRequest < "u", E3 = x3 && function(t) {
|
|
|
20082
20082
|
config: t,
|
|
20083
20083
|
request: d
|
|
20084
20084
|
};
|
|
20085
|
-
|
|
20085
|
+
_3(function(C) {
|
|
20086
20086
|
e(C), c();
|
|
20087
20087
|
}, function(C) {
|
|
20088
20088
|
n(C), c();
|
|
@@ -20103,16 +20103,16 @@ const x3 = typeof XMLHttpRequest < "u", E3 = x3 && function(t) {
|
|
|
20103
20103
|
t,
|
|
20104
20104
|
d
|
|
20105
20105
|
)), d = null;
|
|
20106
|
-
}, ot.hasStandardBrowserEnv && (o && E.isFunction(o) && (o = o(t)), o || o !== !1 &&
|
|
20107
|
-
const g = t.xsrfHeaderName && t.xsrfCookieName &&
|
|
20106
|
+
}, ot.hasStandardBrowserEnv && (o && E.isFunction(o) && (o = o(t)), o || o !== !1 && E3(h))) {
|
|
20107
|
+
const g = t.xsrfHeaderName && t.xsrfCookieName && S3.read(t.xsrfCookieName);
|
|
20108
20108
|
g && a.set(t.xsrfHeaderName, g);
|
|
20109
20109
|
}
|
|
20110
20110
|
i === void 0 && a.setContentType(null), "setRequestHeader" in d && E.forEach(a.toJSON(), function(y, v) {
|
|
20111
20111
|
d.setRequestHeader(v, y);
|
|
20112
20112
|
}), E.isUndefined(t.withCredentials) || (d.withCredentials = !!t.withCredentials), s && s !== "json" && (d.responseType = t.responseType), typeof t.onDownloadProgress == "function" && d.addEventListener("progress", Ic(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", Ic(t.onUploadProgress)), (t.cancelToken || t.signal) && (l = (g) => {
|
|
20113
|
-
d && (n(!g || g.type ? new
|
|
20113
|
+
d && (n(!g || g.type ? new Mr(null, t, d) : g), d.abort(), d = null);
|
|
20114
20114
|
}, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
|
|
20115
|
-
const f =
|
|
20115
|
+
const f = A3(h);
|
|
20116
20116
|
if (f && ot.protocols.indexOf(f) === -1) {
|
|
20117
20117
|
n(new ae("Unsupported protocol " + f + ":", ae.ERR_BAD_REQUEST, t));
|
|
20118
20118
|
return;
|
|
@@ -20120,8 +20120,8 @@ const x3 = typeof XMLHttpRequest < "u", E3 = x3 && function(t) {
|
|
|
20120
20120
|
d.send(i || null);
|
|
20121
20121
|
});
|
|
20122
20122
|
}, vs = {
|
|
20123
|
-
http:
|
|
20124
|
-
xhr:
|
|
20123
|
+
http: t3,
|
|
20124
|
+
xhr: O3
|
|
20125
20125
|
};
|
|
20126
20126
|
E.forEach(vs, (t, r) => {
|
|
20127
20127
|
if (t) {
|
|
@@ -20132,7 +20132,7 @@ E.forEach(vs, (t, r) => {
|
|
|
20132
20132
|
Object.defineProperty(t, "adapterName", { value: r });
|
|
20133
20133
|
}
|
|
20134
20134
|
});
|
|
20135
|
-
const Lc = (t) => `- ${t}`,
|
|
20135
|
+
const Lc = (t) => `- ${t}`, I3 = (t) => E.isFunction(t) || t === null || t === !1, Ud = {
|
|
20136
20136
|
getAdapter: (t) => {
|
|
20137
20137
|
t = E.isArray(t) ? t : [t];
|
|
20138
20138
|
const { length: r } = t;
|
|
@@ -20141,7 +20141,7 @@ const Lc = (t) => `- ${t}`, A3 = (t) => E.isFunction(t) || t === null || t === !
|
|
|
20141
20141
|
for (let a = 0; a < r; a++) {
|
|
20142
20142
|
e = t[a];
|
|
20143
20143
|
let s;
|
|
20144
|
-
if (n = e, !
|
|
20144
|
+
if (n = e, !I3(e) && (n = vs[(s = String(e)).toLowerCase()], n === void 0))
|
|
20145
20145
|
throw new ae(`Unknown adapter '${s}'`);
|
|
20146
20146
|
if (n)
|
|
20147
20147
|
break;
|
|
@@ -20163,22 +20163,22 @@ const Lc = (t) => `- ${t}`, A3 = (t) => E.isFunction(t) || t === null || t === !
|
|
|
20163
20163
|
},
|
|
20164
20164
|
adapters: vs
|
|
20165
20165
|
};
|
|
20166
|
-
function
|
|
20166
|
+
function ja(t) {
|
|
20167
20167
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
|
20168
|
-
throw new
|
|
20168
|
+
throw new Mr(null, t);
|
|
20169
20169
|
}
|
|
20170
20170
|
function Mc(t) {
|
|
20171
|
-
return
|
|
20171
|
+
return ja(t), t.headers = Ge.from(t.headers), t.data = Ba.call(
|
|
20172
20172
|
t,
|
|
20173
20173
|
t.transformRequest
|
|
20174
|
-
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Ud.getAdapter(t.adapter ||
|
|
20175
|
-
return
|
|
20174
|
+
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Ud.getAdapter(t.adapter || Lr.adapter)(t).then(function(n) {
|
|
20175
|
+
return ja(t), n.data = Ba.call(
|
|
20176
20176
|
t,
|
|
20177
20177
|
t.transformResponse,
|
|
20178
20178
|
n
|
|
20179
20179
|
), n.headers = Ge.from(n.headers), n;
|
|
20180
20180
|
}, function(n) {
|
|
20181
|
-
return jd(n) || (
|
|
20181
|
+
return jd(n) || (ja(t), n && n.response && (n.response.data = Ba.call(
|
|
20182
20182
|
t,
|
|
20183
20183
|
t.transformResponse,
|
|
20184
20184
|
n.response
|
|
@@ -20275,7 +20275,7 @@ so.transitional = function(r, e, n) {
|
|
|
20275
20275
|
)), r ? r(a, s, o) : !0;
|
|
20276
20276
|
};
|
|
20277
20277
|
};
|
|
20278
|
-
function
|
|
20278
|
+
function L3(t, r, e) {
|
|
20279
20279
|
if (typeof t != "object")
|
|
20280
20280
|
throw new ae("options must be an object", ae.ERR_BAD_OPTION_VALUE);
|
|
20281
20281
|
const n = Object.keys(t);
|
|
@@ -20293,7 +20293,7 @@ function T3(t, r, e) {
|
|
|
20293
20293
|
}
|
|
20294
20294
|
}
|
|
20295
20295
|
const ys = {
|
|
20296
|
-
assertOptions:
|
|
20296
|
+
assertOptions: L3,
|
|
20297
20297
|
validators: so
|
|
20298
20298
|
}, bt = ys.validators;
|
|
20299
20299
|
class zt {
|
|
@@ -20438,7 +20438,7 @@ class oo {
|
|
|
20438
20438
|
n.unsubscribe(a);
|
|
20439
20439
|
}, s;
|
|
20440
20440
|
}, r(function(a, s, o) {
|
|
20441
|
-
n.reason || (n.reason = new
|
|
20441
|
+
n.reason || (n.reason = new Mr(a, s, o), e(n.reason));
|
|
20442
20442
|
});
|
|
20443
20443
|
}
|
|
20444
20444
|
/**
|
|
@@ -20481,12 +20481,12 @@ class oo {
|
|
|
20481
20481
|
};
|
|
20482
20482
|
}
|
|
20483
20483
|
}
|
|
20484
|
-
function
|
|
20484
|
+
function M3(t) {
|
|
20485
20485
|
return function(e) {
|
|
20486
20486
|
return t.apply(null, e);
|
|
20487
20487
|
};
|
|
20488
20488
|
}
|
|
20489
|
-
function
|
|
20489
|
+
function P3(t) {
|
|
20490
20490
|
return E.isObject(t) && t.isAxiosError === !0;
|
|
20491
20491
|
}
|
|
20492
20492
|
const bs = {
|
|
@@ -20563,20 +20563,20 @@ function qd(t) {
|
|
|
20563
20563
|
return qd(xn(t, i));
|
|
20564
20564
|
}, e;
|
|
20565
20565
|
}
|
|
20566
|
-
const j = qd(
|
|
20566
|
+
const j = qd(Lr);
|
|
20567
20567
|
j.Axios = zt;
|
|
20568
|
-
j.CanceledError =
|
|
20568
|
+
j.CanceledError = Mr;
|
|
20569
20569
|
j.CancelToken = oo;
|
|
20570
20570
|
j.isCancel = jd;
|
|
20571
20571
|
j.VERSION = zd;
|
|
20572
|
-
j.toFormData =
|
|
20572
|
+
j.toFormData = aa;
|
|
20573
20573
|
j.AxiosError = ae;
|
|
20574
20574
|
j.Cancel = j.CanceledError;
|
|
20575
20575
|
j.all = function(r) {
|
|
20576
20576
|
return Promise.all(r);
|
|
20577
20577
|
};
|
|
20578
|
-
j.spread =
|
|
20579
|
-
j.isAxiosError =
|
|
20578
|
+
j.spread = M3;
|
|
20579
|
+
j.isAxiosError = P3;
|
|
20580
20580
|
j.mergeConfig = xn;
|
|
20581
20581
|
j.AxiosHeaders = Ge;
|
|
20582
20582
|
j.formToJSON = (t) => Bd(E.isHTMLForm(t) ? new FormData(t) : t);
|
|
@@ -20702,7 +20702,7 @@ D(yn, "Endpoints", {
|
|
|
20702
20702
|
}), /** ContentService API static errors typeguards */
|
|
20703
20703
|
D(yn, "Errors", ws);
|
|
20704
20704
|
let ks = yn;
|
|
20705
|
-
class
|
|
20705
|
+
class $3 {
|
|
20706
20706
|
constructor(r) {
|
|
20707
20707
|
this.config = r;
|
|
20708
20708
|
}
|
|
@@ -20743,21 +20743,21 @@ class I3 {
|
|
|
20743
20743
|
}
|
|
20744
20744
|
}
|
|
20745
20745
|
);
|
|
20746
|
-
return
|
|
20746
|
+
return wb(i);
|
|
20747
20747
|
}
|
|
20748
20748
|
}
|
|
20749
|
-
const
|
|
20749
|
+
const F3 = "fr", N3 = (t) => {
|
|
20750
20750
|
var n;
|
|
20751
20751
|
const r = t.split(".");
|
|
20752
|
-
let e =
|
|
20752
|
+
let e = F3;
|
|
20753
20753
|
if (r.length > 1) {
|
|
20754
20754
|
const i = (n = r.pop()) == null ? void 0 : n.toLocaleLowerCase();
|
|
20755
|
-
i &&
|
|
20755
|
+
i && D3(i) && (e = i);
|
|
20756
20756
|
}
|
|
20757
20757
|
return e;
|
|
20758
|
-
},
|
|
20758
|
+
}, D3 = (t) => Qy.includes(t), go = class go extends nr {
|
|
20759
20759
|
constructor(r = {}) {
|
|
20760
|
-
super(), this.translationsConfig = r, this.country = typeof window < "u" ?
|
|
20760
|
+
super(), this.translationsConfig = r, this.country = typeof window < "u" ? N3(window.location.hostname) : "fr", this.language = typeof window < "u" ? bb({ country: this.country, cookies: document.cookie }) : "fr-FR", this.translationsConfig.translationsLoaderGetter && (this.translationsTask = new Xy(
|
|
20761
20761
|
this,
|
|
20762
20762
|
this.translationsConfig.translationsLoaderGetter,
|
|
20763
20763
|
{
|
|
@@ -20781,15 +20781,15 @@ let ge = go;
|
|
|
20781
20781
|
* Copyright 2020 Google LLC
|
|
20782
20782
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20783
20783
|
*/
|
|
20784
|
-
const Vd = Symbol.for(""),
|
|
20784
|
+
const Vd = Symbol.for(""), B3 = (t) => {
|
|
20785
20785
|
if ((t == null ? void 0 : t.r) === Vd) return t == null ? void 0 : t._$litStatic$;
|
|
20786
|
-
}, _s = (t) => ({ _$litStatic$: t, r: Vd }), Fc = /* @__PURE__ */ new Map(),
|
|
20786
|
+
}, _s = (t) => ({ _$litStatic$: t, r: Vd }), Fc = /* @__PURE__ */ new Map(), j3 = (t) => (r, ...e) => {
|
|
20787
20787
|
const n = e.length;
|
|
20788
20788
|
let i, a;
|
|
20789
20789
|
const s = [], o = [];
|
|
20790
20790
|
let l, c = 0, u = !1;
|
|
20791
20791
|
for (; c < n; ) {
|
|
20792
|
-
for (l = r[c]; c < n && (a = e[c], (i =
|
|
20792
|
+
for (l = r[c]; c < n && (a = e[c], (i = B3(a)) !== void 0); ) l += i + r[++c], u = !0;
|
|
20793
20793
|
c !== n && o.push(a), s.push(l), c++;
|
|
20794
20794
|
}
|
|
20795
20795
|
if (c === n && s.push(r[n]), u) {
|
|
@@ -20797,8 +20797,8 @@ const Vd = Symbol.for(""), $3 = (t) => {
|
|
|
20797
20797
|
(r = Fc.get(d)) === void 0 && (s.raw = s, Fc.set(d, r = s)), e = o;
|
|
20798
20798
|
}
|
|
20799
20799
|
return t(r, ...e);
|
|
20800
|
-
}, jt =
|
|
20801
|
-
function
|
|
20800
|
+
}, jt = j3(fe);
|
|
20801
|
+
function H3(t, r) {
|
|
20802
20802
|
return function(e, n) {
|
|
20803
20803
|
const i = new CustomEvent(r, {
|
|
20804
20804
|
detail: e,
|
|
@@ -20814,14 +20814,14 @@ function co(t) {
|
|
|
20814
20814
|
return (r, e) => {
|
|
20815
20815
|
Object.defineProperty(r, e, {
|
|
20816
20816
|
get() {
|
|
20817
|
-
return
|
|
20817
|
+
return H3(this, t || e);
|
|
20818
20818
|
},
|
|
20819
20819
|
enumerable: !0,
|
|
20820
20820
|
configurable: !0
|
|
20821
20821
|
});
|
|
20822
20822
|
};
|
|
20823
20823
|
}
|
|
20824
|
-
const
|
|
20824
|
+
const U3 = _e`
|
|
20825
20825
|
@keyframes rotate360 {
|
|
20826
20826
|
from {
|
|
20827
20827
|
transform: rotate(0deg);
|
|
@@ -20835,7 +20835,7 @@ const D3 = _e`
|
|
|
20835
20835
|
vertical-align: middle;
|
|
20836
20836
|
animation: rotate360 1s linear infinite;
|
|
20837
20837
|
}
|
|
20838
|
-
`,
|
|
20838
|
+
`, z3 = _e`
|
|
20839
20839
|
:host {
|
|
20840
20840
|
display: inline-block;
|
|
20841
20841
|
transition: fill 0.2s, stroke 0.2s;
|
|
@@ -20863,17 +20863,17 @@ const D3 = _e`
|
|
|
20863
20863
|
height: 100%;
|
|
20864
20864
|
}
|
|
20865
20865
|
`;
|
|
20866
|
-
var
|
|
20866
|
+
var q3 = Object.defineProperty, Wd = (t, r, e, n) => {
|
|
20867
20867
|
for (var i = void 0, a = t.length - 1, s; a >= 0; a--)
|
|
20868
20868
|
(s = t[a]) && (i = s(r, e, i) || i);
|
|
20869
|
-
return i &&
|
|
20869
|
+
return i && q3(r, e, i), i;
|
|
20870
20870
|
};
|
|
20871
20871
|
const vo = class vo extends ge {
|
|
20872
20872
|
constructor() {
|
|
20873
20873
|
super(...arguments), this.size = "medium", this.viewBox = "0 0 32 32";
|
|
20874
20874
|
}
|
|
20875
20875
|
};
|
|
20876
|
-
vo.styles = [ge.styles,
|
|
20876
|
+
vo.styles = [ge.styles, z3];
|
|
20877
20877
|
let vr = vo;
|
|
20878
20878
|
Wd([
|
|
20879
20879
|
z({ type: String, reflect: !0 })
|
|
@@ -20889,10 +20889,10 @@ function et(t, r) {
|
|
|
20889
20889
|
}
|
|
20890
20890
|
customElements.define(t, e);
|
|
20891
20891
|
}
|
|
20892
|
-
var
|
|
20893
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
20892
|
+
var V3 = Object.defineProperty, W3 = Object.getOwnPropertyDescriptor, uo = (t, r, e, n) => {
|
|
20893
|
+
for (var i = n > 1 ? void 0 : n ? W3(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
20894
20894
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
20895
|
-
return n && i &&
|
|
20895
|
+
return n && i && V3(r, e, i), i;
|
|
20896
20896
|
};
|
|
20897
20897
|
et(
|
|
20898
20898
|
"lr-icon-spinner",
|
|
@@ -20918,7 +20918,7 @@ let yr = class extends ge {
|
|
|
20918
20918
|
></lr-icon-spinner> `;
|
|
20919
20919
|
}
|
|
20920
20920
|
};
|
|
20921
|
-
yr.styles = [ge.styles,
|
|
20921
|
+
yr.styles = [ge.styles, U3];
|
|
20922
20922
|
uo([
|
|
20923
20923
|
z({ type: String, reflect: !0 })
|
|
20924
20924
|
], yr.prototype, "size", 2);
|
|
@@ -20928,21 +20928,21 @@ uo([
|
|
|
20928
20928
|
yr = uo([
|
|
20929
20929
|
Fe("lr-spinner")
|
|
20930
20930
|
], yr);
|
|
20931
|
-
const
|
|
20931
|
+
const G3 = globalThis.SubmitEvent = typeof globalThis.SubmitEvent < "u" ? SubmitEvent : Event, Gd = (t) => {
|
|
20932
20932
|
if (!(!t.noValidate && !t.reportValidity())) {
|
|
20933
|
-
const r = new
|
|
20933
|
+
const r = new G3("submit", {
|
|
20934
20934
|
bubbles: !0,
|
|
20935
20935
|
cancelable: !0
|
|
20936
20936
|
});
|
|
20937
20937
|
t.dispatchEvent(r), r.defaultPrevented || t.submit();
|
|
20938
20938
|
}
|
|
20939
20939
|
};
|
|
20940
|
-
var
|
|
20941
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
20940
|
+
var K3 = Object.defineProperty, J3 = Object.getOwnPropertyDescriptor, Oe = (t, r, e, n) => {
|
|
20941
|
+
for (var i = n > 1 ? void 0 : n ? J3(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
20942
20942
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
20943
|
-
return n && i &&
|
|
20943
|
+
return n && i && K3(r, e, i), i;
|
|
20944
20944
|
};
|
|
20945
|
-
const
|
|
20945
|
+
const Ci = class Ci extends ge {
|
|
20946
20946
|
constructor() {
|
|
20947
20947
|
super(), this.disabled = !1, this.size = "medium", this.iconPosition = "left", this.type = "button", this.reversed = !1, this.target = "_self", this.loading = !1, this.internals = this.attachInternals();
|
|
20948
20948
|
}
|
|
@@ -20959,7 +20959,7 @@ const Si = class Si extends ge {
|
|
|
20959
20959
|
r && Gd(r);
|
|
20960
20960
|
}
|
|
20961
20961
|
renderElement() {
|
|
20962
|
-
const r = !!this.href, e = this.disabled, n =
|
|
20962
|
+
const r = !!this.href, e = this.disabled, n = Qi({
|
|
20963
20963
|
button: !0,
|
|
20964
20964
|
"has-content": this._hasDefaultSlot
|
|
20965
20965
|
}), i = this.loading && this.loadingText ? this.loadingText : jt`<slot></slot>`, a = this.icon ? jt`<${_s(`lr-icon-${this.icon}`)} class="icon" size=${this.size}></${_s(
|
|
@@ -20986,8 +20986,8 @@ const Si = class Si extends ge {
|
|
|
20986
20986
|
</button>`;
|
|
20987
20987
|
}
|
|
20988
20988
|
};
|
|
20989
|
-
|
|
20990
|
-
let xe =
|
|
20989
|
+
Ci.formAssociated = !0, Ci.styles = [ge.styles, ly];
|
|
20990
|
+
let xe = Ci;
|
|
20991
20991
|
Oe([
|
|
20992
20992
|
z({ type: Boolean, reflect: !0 })
|
|
20993
20993
|
], xe.prototype, "disabled", 2);
|
|
@@ -21049,7 +21049,7 @@ Oe([
|
|
|
21049
21049
|
gt = Oe([
|
|
21050
21050
|
Fe("lr-button")
|
|
21051
21051
|
], gt);
|
|
21052
|
-
const
|
|
21052
|
+
const Z3 = _e`
|
|
21053
21053
|
:host {
|
|
21054
21054
|
position: absolute;
|
|
21055
21055
|
display: none;
|
|
@@ -21092,10 +21092,10 @@ const W3 = _e`
|
|
|
21092
21092
|
user-select: text;
|
|
21093
21093
|
}
|
|
21094
21094
|
`;
|
|
21095
|
-
var
|
|
21096
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
21095
|
+
var Y3 = Object.defineProperty, X3 = Object.getOwnPropertyDescriptor, ho = (t, r, e, n) => {
|
|
21096
|
+
for (var i = n > 1 ? void 0 : n ? X3(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
21097
21097
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
21098
|
-
return n && i &&
|
|
21098
|
+
return n && i && Y3(r, e, i), i;
|
|
21099
21099
|
};
|
|
21100
21100
|
let En = class extends ge {
|
|
21101
21101
|
constructor() {
|
|
@@ -21109,7 +21109,7 @@ let En = class extends ge {
|
|
|
21109
21109
|
`;
|
|
21110
21110
|
}
|
|
21111
21111
|
};
|
|
21112
|
-
En.styles = [ge.styles,
|
|
21112
|
+
En.styles = [ge.styles, Z3];
|
|
21113
21113
|
ho([
|
|
21114
21114
|
z({ type: Boolean, reflect: !0 })
|
|
21115
21115
|
], En.prototype, "active", 2);
|
|
@@ -21119,10 +21119,10 @@ ho([
|
|
|
21119
21119
|
En = ho([
|
|
21120
21120
|
Fe("lr-dimmer")
|
|
21121
21121
|
], En);
|
|
21122
|
-
var
|
|
21123
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
21122
|
+
var Q3 = Object.defineProperty, ew = Object.getOwnPropertyDescriptor, tw = (t, r, e, n) => {
|
|
21123
|
+
for (var i = n > 1 ? void 0 : n ? ew(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
21124
21124
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
21125
|
-
return n && i &&
|
|
21125
|
+
return n && i && Q3(r, e, i), i;
|
|
21126
21126
|
};
|
|
21127
21127
|
let Nc = class extends En {
|
|
21128
21128
|
constructor() {
|
|
@@ -21132,7 +21132,7 @@ let Nc = class extends En {
|
|
|
21132
21132
|
return fe`<lr-spinner></lr-spinner> `;
|
|
21133
21133
|
}
|
|
21134
21134
|
};
|
|
21135
|
-
Nc =
|
|
21135
|
+
Nc = tw([
|
|
21136
21136
|
Fe("lr-loading-overlay")
|
|
21137
21137
|
], Nc);
|
|
21138
21138
|
et(
|
|
@@ -21177,7 +21177,7 @@ et(
|
|
|
21177
21177
|
* Copyright 2020 Google LLC
|
|
21178
21178
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
21179
21179
|
*/
|
|
21180
|
-
const
|
|
21180
|
+
const nw = (t) => t.strings === void 0;
|
|
21181
21181
|
/**
|
|
21182
21182
|
* @license
|
|
21183
21183
|
* Copyright 2017 Google LLC
|
|
@@ -21189,7 +21189,7 @@ const rr = (t, r) => {
|
|
|
21189
21189
|
if (e === void 0) return !1;
|
|
21190
21190
|
for (const i of e) (n = i._$AO) == null || n.call(i, r, !1), rr(i, r);
|
|
21191
21191
|
return !0;
|
|
21192
|
-
},
|
|
21192
|
+
}, Si = (t) => {
|
|
21193
21193
|
let r, e;
|
|
21194
21194
|
do {
|
|
21195
21195
|
if ((r = t._$AM) === void 0) break;
|
|
@@ -21200,20 +21200,20 @@ const rr = (t, r) => {
|
|
|
21200
21200
|
let e = r._$AN;
|
|
21201
21201
|
if (e === void 0) r._$AN = e = /* @__PURE__ */ new Set();
|
|
21202
21202
|
else if (e.has(t)) break;
|
|
21203
|
-
e.add(t),
|
|
21203
|
+
e.add(t), aw(r);
|
|
21204
21204
|
}
|
|
21205
21205
|
};
|
|
21206
|
-
function
|
|
21207
|
-
this._$AN !== void 0 ? (
|
|
21206
|
+
function rw(t) {
|
|
21207
|
+
this._$AN !== void 0 ? (Si(this), this._$AM = t, Kd(this)) : this._$AM = t;
|
|
21208
21208
|
}
|
|
21209
|
-
function
|
|
21209
|
+
function iw(t, r = !1, e = 0) {
|
|
21210
21210
|
const n = this._$AH, i = this._$AN;
|
|
21211
|
-
if (i !== void 0 && i.size !== 0) if (r) if (Array.isArray(n)) for (let a = e; a < n.length; a++) rr(n[a], !1),
|
|
21212
|
-
else n != null && (rr(n, !1),
|
|
21211
|
+
if (i !== void 0 && i.size !== 0) if (r) if (Array.isArray(n)) for (let a = e; a < n.length; a++) rr(n[a], !1), Si(n[a]);
|
|
21212
|
+
else n != null && (rr(n, !1), Si(n));
|
|
21213
21213
|
else rr(this, t);
|
|
21214
21214
|
}
|
|
21215
|
-
const
|
|
21216
|
-
t.type ==
|
|
21215
|
+
const aw = (t) => {
|
|
21216
|
+
t.type == Yi.CHILD && (t._$AP ?? (t._$AP = iw), t._$AQ ?? (t._$AQ = rw));
|
|
21217
21217
|
};
|
|
21218
21218
|
let Jd = class extends eo {
|
|
21219
21219
|
constructor() {
|
|
@@ -21224,10 +21224,10 @@ let Jd = class extends eo {
|
|
|
21224
21224
|
}
|
|
21225
21225
|
_$AO(r, e = !0) {
|
|
21226
21226
|
var n, i;
|
|
21227
|
-
r !== this.isConnected && (this.isConnected = r, r ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (rr(this, r),
|
|
21227
|
+
r !== this.isConnected && (this.isConnected = r, r ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (rr(this, r), Si(this));
|
|
21228
21228
|
}
|
|
21229
21229
|
setValue(r) {
|
|
21230
|
-
if (
|
|
21230
|
+
if (nw(this._$Ct)) this._$Ct._$AI(r, this);
|
|
21231
21231
|
else {
|
|
21232
21232
|
const e = [...this._$Ct._$AH];
|
|
21233
21233
|
e[this._$Ci] = r, this._$Ct._$AI(e, this, 0);
|
|
@@ -21238,7 +21238,7 @@ let Jd = class extends eo {
|
|
|
21238
21238
|
reconnected() {
|
|
21239
21239
|
}
|
|
21240
21240
|
};
|
|
21241
|
-
const
|
|
21241
|
+
const Ha = /* @__PURE__ */ new WeakMap(), sw = Xi(class extends Jd {
|
|
21242
21242
|
render(t) {
|
|
21243
21243
|
return se;
|
|
21244
21244
|
}
|
|
@@ -21250,13 +21250,13 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
|
|
|
21250
21250
|
rt(t) {
|
|
21251
21251
|
if (this.isConnected || (t = void 0), typeof this.Y == "function") {
|
|
21252
21252
|
const r = this.ht ?? globalThis;
|
|
21253
|
-
let e =
|
|
21254
|
-
e === void 0 && (e = /* @__PURE__ */ new WeakMap(),
|
|
21253
|
+
let e = Ha.get(r);
|
|
21254
|
+
e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Ha.set(r, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, t), t !== void 0 && this.Y.call(this.ht, t);
|
|
21255
21255
|
} else this.Y.value = t;
|
|
21256
21256
|
}
|
|
21257
21257
|
get lt() {
|
|
21258
21258
|
var t, r;
|
|
21259
|
-
return typeof this.Y == "function" ? (t =
|
|
21259
|
+
return typeof this.Y == "function" ? (t = Ha.get(this.ht ?? globalThis)) == null ? void 0 : t.get(this.Y) : (r = this.Y) == null ? void 0 : r.value;
|
|
21260
21260
|
}
|
|
21261
21261
|
disconnected() {
|
|
21262
21262
|
this.lt === this.ct && this.rt(void 0);
|
|
@@ -21264,7 +21264,7 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
|
|
|
21264
21264
|
reconnected() {
|
|
21265
21265
|
this.rt(this.ct);
|
|
21266
21266
|
}
|
|
21267
|
-
}),
|
|
21267
|
+
}), ow = _e`
|
|
21268
21268
|
:host {
|
|
21269
21269
|
--chat-sticky-offset-right: 100px;
|
|
21270
21270
|
--chat-sticky-offset-bottom: 12%;
|
|
@@ -21671,7 +21671,7 @@ const ja = /* @__PURE__ */ new WeakMap(), nw = Yi(class extends Jd {
|
|
|
21671
21671
|
}
|
|
21672
21672
|
`
|
|
21673
21673
|
};
|
|
21674
|
-
var Gn, Kn, dn, hn, pn, fn,
|
|
21674
|
+
var Gn, Kn, dn, hn, pn, fn, Ga, Ka;
|
|
21675
21675
|
class ft {
|
|
21676
21676
|
}
|
|
21677
21677
|
D(ft, "ChatbotConversationsGet", (Gn = class {
|
|
@@ -21680,9 +21680,9 @@ D(ft, "ChatbotConversationsGet", (Gn = class {
|
|
|
21680
21680
|
}, D(dn, "isBadRequestProblemDetails", (r) => j.isAxiosError(r) && oe(r, 400)), D(dn, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && oe(r, 404)), D(dn, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && oe(r, 500)), D(dn, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && oe(r, 503)), dn)), D(ft, "ChatbotConversationsRatePost", (hn = class {
|
|
21681
21681
|
}, D(hn, "isBadRequestProblemDetails", (r) => j.isAxiosError(r) && oe(r, 400)), D(hn, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && oe(r, 404)), D(hn, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && oe(r, 500)), D(hn, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && oe(r, 503)), hn)), D(ft, "ChatbotConversationsMessagesRatePost", (pn = class {
|
|
21682
21682
|
}, D(pn, "isBadRequestProblemDetails", (r) => j.isAxiosError(r) && oe(r, 400)), D(pn, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && oe(r, 404)), D(pn, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && oe(r, 500)), D(pn, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && oe(r, 503)), pn)), D(ft, "ChatbotConversationsInteractionsSummarizePost", (fn = class {
|
|
21683
|
-
}, D(fn, "isBadRequestProblemDetails", (r) => j.isAxiosError(r) && oe(r, 400)), D(fn, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && oe(r, 404)), D(fn, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && oe(r, 500)), D(fn, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && oe(r, 503)), fn)), D(ft, "ChatbotIntegrationsPost", (
|
|
21684
|
-
}, D(
|
|
21685
|
-
}, D(
|
|
21683
|
+
}, D(fn, "isBadRequestProblemDetails", (r) => j.isAxiosError(r) && oe(r, 400)), D(fn, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && oe(r, 404)), D(fn, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && oe(r, 500)), D(fn, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && oe(r, 503)), fn)), D(ft, "ChatbotIntegrationsPost", (Ga = class {
|
|
21684
|
+
}, D(Ga, "isUnauthorizedProblemDetails", (r) => j.isAxiosError(r) && oe(r, 401)), Ga)), D(ft, "ChatbotIntegrationsGet", (Ka = class {
|
|
21685
|
+
}, D(Ka, "isUnauthorizedProblemDetails", (r) => j.isAxiosError(r) && oe(r, 401)), Ka));
|
|
21686
21686
|
const qe = class qe extends lo {
|
|
21687
21687
|
constructor() {
|
|
21688
21688
|
super(...arguments);
|
|
@@ -21814,15 +21814,15 @@ D(qe, "Endpoints", {
|
|
|
21814
21814
|
}), /** ChatbotService API static errors typeguards */
|
|
21815
21815
|
D(qe, "Errors", ft);
|
|
21816
21816
|
let Kt = qe;
|
|
21817
|
-
const
|
|
21817
|
+
const lw = /* @__PURE__ */ new WeakMap();
|
|
21818
21818
|
let Dc = 0;
|
|
21819
|
-
const
|
|
21819
|
+
const Ua = /* @__PURE__ */ new Map(), Bc = /* @__PURE__ */ new WeakSet(), jc = () => new Promise((t) => requestAnimationFrame(t)), Hc = [{ transform: "translateY(100%) scale(0)", opacity: 0 }], Uc = [{ opacity: 0 }], zc = [{ opacity: 0 }, { opacity: 1 }], qc = (t, r) => {
|
|
21820
21820
|
const e = t - r;
|
|
21821
21821
|
return e === 0 ? void 0 : e;
|
|
21822
21822
|
}, Vc = (t, r) => {
|
|
21823
21823
|
const e = t / r;
|
|
21824
21824
|
return e === 1 ? void 0 : e;
|
|
21825
|
-
},
|
|
21825
|
+
}, za = { left: (t, r) => {
|
|
21826
21826
|
const e = qc(t, r);
|
|
21827
21827
|
return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
|
|
21828
21828
|
}, top: (t, r) => {
|
|
@@ -21838,10 +21838,10 @@ const Ha = /* @__PURE__ */ new Map(), Bc = /* @__PURE__ */ new WeakSet(), jc = (
|
|
|
21838
21838
|
r === 0 && (r = 1, e = { height: "1px" });
|
|
21839
21839
|
const n = Vc(t, r);
|
|
21840
21840
|
return { value: n, overrideFrom: e, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
|
|
21841
|
-
} },
|
|
21842
|
-
class
|
|
21841
|
+
} }, cw = { duration: 333, easing: "ease-in-out" }, uw = ["left", "top", "width", "height", "opacity", "color", "background"], Wc = /* @__PURE__ */ new WeakMap();
|
|
21842
|
+
class dw extends Jd {
|
|
21843
21843
|
constructor(r) {
|
|
21844
|
-
if (super(r), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, r.type ===
|
|
21844
|
+
if (super(r), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, r.type === Yi.CHILD) throw Error("The `animate` directive must be used in attribute position.");
|
|
21845
21845
|
this.createFinished();
|
|
21846
21846
|
}
|
|
21847
21847
|
createFinished() {
|
|
@@ -21858,7 +21858,7 @@ class ow extends Jd {
|
|
|
21858
21858
|
return se;
|
|
21859
21859
|
}
|
|
21860
21860
|
getController() {
|
|
21861
|
-
return
|
|
21861
|
+
return lw.get(this.u);
|
|
21862
21862
|
}
|
|
21863
21863
|
isDisabled() {
|
|
21864
21864
|
var r;
|
|
@@ -21872,12 +21872,12 @@ class ow extends Jd {
|
|
|
21872
21872
|
p(r) {
|
|
21873
21873
|
r = r ?? {};
|
|
21874
21874
|
const e = this.getController();
|
|
21875
|
-
e !== void 0 && ((r = { ...e.defaultOptions, ...r }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...r.keyframeOptions }), r.properties ?? (r.properties =
|
|
21875
|
+
e !== void 0 && ((r = { ...e.defaultOptions, ...r }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...r.keyframeOptions }), r.properties ?? (r.properties = uw), this.options = r;
|
|
21876
21876
|
}
|
|
21877
21877
|
m() {
|
|
21878
21878
|
const r = {}, e = this.element.getBoundingClientRect(), n = getComputedStyle(this.element);
|
|
21879
21879
|
return this.options.properties.forEach((i) => {
|
|
21880
|
-
const a = e[i] ?? (
|
|
21880
|
+
const a = e[i] ?? (za[i] ? void 0 : n[i]), s = Number(a);
|
|
21881
21881
|
r[i] = isNaN(s) ? a + "" : s;
|
|
21882
21882
|
}), r;
|
|
21883
21883
|
}
|
|
@@ -21902,9 +21902,9 @@ class ow extends Jd {
|
|
|
21902
21902
|
const { from: a, to: s } = this.N(this.A, i, e);
|
|
21903
21903
|
this.log("measured", [this.A, i, a, s]), r = this.calculateKeyframes(a, s);
|
|
21904
21904
|
} else {
|
|
21905
|
-
const a =
|
|
21905
|
+
const a = Ua.get(this.options.inId);
|
|
21906
21906
|
if (a) {
|
|
21907
|
-
|
|
21907
|
+
Ua.delete(this.options.inId);
|
|
21908
21908
|
const { from: s, to: o } = this.N(a, i, e);
|
|
21909
21909
|
r = this.calculateKeyframes(s, o), r = this.options.in ? [{ ...this.options.in[0], ...r[0] }, ...this.options.in.slice(1), r[1]] : r, Dc++, r.forEach((l) => l.zIndex = Dc);
|
|
21910
21910
|
} else this.options.in && (r = [...this.options.in, {}]);
|
|
@@ -21922,7 +21922,7 @@ class ow extends Jd {
|
|
|
21922
21922
|
}
|
|
21923
21923
|
async disconnected() {
|
|
21924
21924
|
var e;
|
|
21925
|
-
if (!this.h || (this.options.id !== void 0 &&
|
|
21925
|
+
if (!this.h || (this.options.id !== void 0 && Ua.set(this.options.id, this.A), this.options.out === void 0)) return;
|
|
21926
21926
|
if (this.prepare(), await jc(), (e = this.i) == null ? void 0 : e.isConnected) {
|
|
21927
21927
|
const n = this.o && this.o.parentNode === this.i ? this.o : null;
|
|
21928
21928
|
if (this.i.insertBefore(this.element, n), this.options.stabilizeOut) {
|
|
@@ -21961,7 +21961,7 @@ class ow extends Jd {
|
|
|
21961
21961
|
}), r;
|
|
21962
21962
|
}
|
|
21963
21963
|
j(r, e = this.O()) {
|
|
21964
|
-
const n = { ...
|
|
21964
|
+
const n = { ...cw };
|
|
21965
21965
|
return e.forEach((i) => Object.assign(n, i.options.keyframeOptions)), Object.assign(n, r), n;
|
|
21966
21966
|
}
|
|
21967
21967
|
N(r, e, n) {
|
|
@@ -21978,8 +21978,8 @@ class ow extends Jd {
|
|
|
21978
21978
|
const o = {};
|
|
21979
21979
|
for (const l in e) {
|
|
21980
21980
|
const c = r[l], u = e[l];
|
|
21981
|
-
if (l in
|
|
21982
|
-
const d =
|
|
21981
|
+
if (l in za) {
|
|
21982
|
+
const d = za[l];
|
|
21983
21983
|
if (c === void 0 || u === void 0) continue;
|
|
21984
21984
|
const h = d(c, u);
|
|
21985
21985
|
h.transform !== void 0 && (o[l] = h.value, s = !0, i.transform = `${i.transform ?? ""} ${h.transform}`, h.overrideFrom !== void 0 && Object.assign(i, h.overrideFrom));
|
|
@@ -22010,8 +22010,8 @@ class ow extends Jd {
|
|
|
22010
22010
|
this.shouldLog && !this.isDisabled() && console.log(r, this.options.id, e);
|
|
22011
22011
|
}
|
|
22012
22012
|
}
|
|
22013
|
-
const
|
|
22014
|
-
class
|
|
22013
|
+
const zr = Xi(dw);
|
|
22014
|
+
class hw extends $3 {
|
|
22015
22015
|
constructor(r, e, n) {
|
|
22016
22016
|
super({
|
|
22017
22017
|
apiConfig: { baseURL: r, headers: { "x-country": e, "x-user-language": n } },
|
|
@@ -22064,33 +22064,33 @@ class lw extends I3 {
|
|
|
22064
22064
|
};
|
|
22065
22065
|
}
|
|
22066
22066
|
}
|
|
22067
|
-
function
|
|
22067
|
+
function pw() {
|
|
22068
22068
|
return `${window.location.pathname}-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
|
|
22069
22069
|
}
|
|
22070
22070
|
var Zd = (t) => {
|
|
22071
22071
|
throw TypeError(t);
|
|
22072
|
-
}, Yd = (t, r, e) => r.has(t) || Zd("Cannot " + e),
|
|
22072
|
+
}, Yd = (t, r, e) => r.has(t) || Zd("Cannot " + e), qa = (t, r, e) => (Yd(t, r, "read from private field"), e ? e.call(t) : r.get(t)), Va = (t, r, e) => r.has(t) ? Zd("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), Wa = (t, r, e, n) => (Yd(t, r, "write to private field"), r.set(t, e), e), ti, ni, ri;
|
|
22073
22073
|
class Xd {
|
|
22074
22074
|
constructor(r, e) {
|
|
22075
|
-
|
|
22075
|
+
Va(this, ti, pw()), Va(this, ni, null), Va(this, ri, null), this.enableSending = !0, this.host = r, this.host.addController(this), this.channel = new BroadcastChannel(e), this.registerOnMessageHandler();
|
|
22076
22076
|
}
|
|
22077
22077
|
get sourceId() {
|
|
22078
|
-
return
|
|
22078
|
+
return qa(this, ti);
|
|
22079
22079
|
}
|
|
22080
22080
|
set sourceId(r) {
|
|
22081
|
-
|
|
22081
|
+
Wa(this, ti, r);
|
|
22082
22082
|
}
|
|
22083
22083
|
get onMessage() {
|
|
22084
|
-
return
|
|
22084
|
+
return qa(this, ni);
|
|
22085
22085
|
}
|
|
22086
22086
|
set onMessage(r) {
|
|
22087
|
-
|
|
22087
|
+
Wa(this, ni, r);
|
|
22088
22088
|
}
|
|
22089
22089
|
get onError() {
|
|
22090
|
-
return
|
|
22090
|
+
return qa(this, ri);
|
|
22091
22091
|
}
|
|
22092
22092
|
set onError(r) {
|
|
22093
|
-
|
|
22093
|
+
Wa(this, ri, r);
|
|
22094
22094
|
}
|
|
22095
22095
|
registerOnMessageHandler() {
|
|
22096
22096
|
this.channel && (this.channel.onmessageerror = (r) => {
|
|
@@ -22110,19 +22110,19 @@ class Xd {
|
|
|
22110
22110
|
this.channel.close();
|
|
22111
22111
|
}
|
|
22112
22112
|
}
|
|
22113
|
-
ei = /* @__PURE__ */ new WeakMap();
|
|
22114
22113
|
ti = /* @__PURE__ */ new WeakMap();
|
|
22115
22114
|
ni = /* @__PURE__ */ new WeakMap();
|
|
22115
|
+
ri = /* @__PURE__ */ new WeakMap();
|
|
22116
22116
|
function Qd() {
|
|
22117
22117
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
22118
22118
|
}
|
|
22119
|
-
function
|
|
22119
|
+
function fw() {
|
|
22120
22120
|
return /La Redoute/i.test(navigator.userAgent);
|
|
22121
22121
|
}
|
|
22122
22122
|
function po(t) {
|
|
22123
22123
|
return new Promise((r) => setTimeout(r, t));
|
|
22124
22124
|
}
|
|
22125
|
-
const Gc = (t) => Object.entries(t).map(([r, e]) => `${r}:${e}`).join(";"),
|
|
22125
|
+
const Gc = (t) => Object.entries(t).map(([r, e]) => `${r}:${e}`).join(";"), mw = _e`
|
|
22126
22126
|
:host {
|
|
22127
22127
|
position: relative;
|
|
22128
22128
|
.button-container {
|
|
@@ -22140,7 +22140,7 @@ const Gc = (t) => Object.entries(t).map(([r, e]) => `${r}:${e}`).join(";"), dw =
|
|
|
22140
22140
|
*/
|
|
22141
22141
|
let Ss = class extends eo {
|
|
22142
22142
|
constructor(r) {
|
|
22143
|
-
if (super(r), this.it = se, r.type !==
|
|
22143
|
+
if (super(r), this.it = se, r.type !== Yi.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
22144
22144
|
}
|
|
22145
22145
|
render(r) {
|
|
22146
22146
|
if (r === se || r == null) return this._t = void 0, this.it = r;
|
|
@@ -22153,7 +22153,7 @@ let Ss = class extends eo {
|
|
|
22153
22153
|
}
|
|
22154
22154
|
};
|
|
22155
22155
|
Ss.directiveName = "unsafeHTML", Ss.resultType = 1;
|
|
22156
|
-
const eh =
|
|
22156
|
+
const eh = Xi(Ss);
|
|
22157
22157
|
/**
|
|
22158
22158
|
* @license
|
|
22159
22159
|
* Copyright 2021 Google LLC
|
|
@@ -22199,7 +22199,7 @@ let Kc = class {
|
|
|
22199
22199
|
* Copyright 2021 Google LLC
|
|
22200
22200
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22201
22201
|
*/
|
|
22202
|
-
class
|
|
22202
|
+
class gw {
|
|
22203
22203
|
get value() {
|
|
22204
22204
|
return this.o;
|
|
22205
22205
|
}
|
|
@@ -22232,12 +22232,12 @@ class hw {
|
|
|
22232
22232
|
* Copyright 2021 Google LLC
|
|
22233
22233
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22234
22234
|
*/
|
|
22235
|
-
let
|
|
22235
|
+
let vw = class extends Event {
|
|
22236
22236
|
constructor(r) {
|
|
22237
22237
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = r;
|
|
22238
22238
|
}
|
|
22239
22239
|
};
|
|
22240
|
-
class Jc extends
|
|
22240
|
+
class Jc extends gw {
|
|
22241
22241
|
constructor(r, e, n) {
|
|
22242
22242
|
var i, a;
|
|
22243
22243
|
super(e.context !== void 0 ? e.initialValue : n), this.onContextRequest = (s) => {
|
|
@@ -22255,7 +22255,7 @@ class Jc extends hw {
|
|
|
22255
22255
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
|
22256
22256
|
}
|
|
22257
22257
|
hostConnected() {
|
|
22258
|
-
this.host.dispatchEvent(new
|
|
22258
|
+
this.host.dispatchEvent(new vw(this.context));
|
|
22259
22259
|
}
|
|
22260
22260
|
}
|
|
22261
22261
|
/**
|
|
@@ -22263,7 +22263,7 @@ class Jc extends hw {
|
|
|
22263
22263
|
* Copyright 2017 Google LLC
|
|
22264
22264
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22265
22265
|
*/
|
|
22266
|
-
function
|
|
22266
|
+
function yw({ context: t }) {
|
|
22267
22267
|
return (r, e) => {
|
|
22268
22268
|
const n = /* @__PURE__ */ new WeakMap();
|
|
22269
22269
|
if (typeof e == "object") return e.addInitializer(function() {
|
|
@@ -22318,7 +22318,7 @@ function fo({ context: t, subscribe: r }) {
|
|
|
22318
22318
|
});
|
|
22319
22319
|
};
|
|
22320
22320
|
}
|
|
22321
|
-
const
|
|
22321
|
+
const bw = _e``, ww = _e`
|
|
22322
22322
|
:host {
|
|
22323
22323
|
--media-size: '${k(w.devices.mobile.max)}px';
|
|
22324
22324
|
--border-color: transparent;
|
|
@@ -22349,28 +22349,28 @@ const mw = _e``, gw = _e`
|
|
|
22349
22349
|
--padding: 8px 12px;
|
|
22350
22350
|
}
|
|
22351
22351
|
`;
|
|
22352
|
-
var
|
|
22353
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
22352
|
+
var kw = Object.defineProperty, _w = Object.getOwnPropertyDescriptor, nh = (t, r, e, n) => {
|
|
22353
|
+
for (var i = n > 1 ? void 0 : n ? _w(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22354
22354
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22355
|
-
return n && i &&
|
|
22355
|
+
return n && i && kw(r, e, i), i;
|
|
22356
22356
|
};
|
|
22357
22357
|
let An = class extends xe {
|
|
22358
22358
|
constructor() {
|
|
22359
22359
|
super(...arguments), this.variant = "on-light";
|
|
22360
22360
|
}
|
|
22361
22361
|
};
|
|
22362
|
-
An.styles = [xe.styles,
|
|
22362
|
+
An.styles = [xe.styles, ww];
|
|
22363
22363
|
nh([
|
|
22364
22364
|
z({ type: String, reflect: !0 })
|
|
22365
22365
|
], An.prototype, "variant", 2);
|
|
22366
22366
|
An = nh([
|
|
22367
22367
|
Fe("lr-pill")
|
|
22368
22368
|
], An);
|
|
22369
|
-
const
|
|
22370
|
-
var
|
|
22371
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
22369
|
+
const sa = Symbol("lr-chatbot-message-context");
|
|
22370
|
+
var Sw = Object.defineProperty, Cw = Object.getOwnPropertyDescriptor, oa = (t, r, e, n) => {
|
|
22371
|
+
for (var i = n > 1 ? void 0 : n ? Cw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22372
22372
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22373
|
-
return n && i &&
|
|
22373
|
+
return n && i && Sw(r, e, i), i;
|
|
22374
22374
|
};
|
|
22375
22375
|
let Tn = class extends An {
|
|
22376
22376
|
constructor() {
|
|
@@ -22418,20 +22418,20 @@ let Tn = class extends An {
|
|
|
22418
22418
|
r && window.open(r, "_blank");
|
|
22419
22419
|
}
|
|
22420
22420
|
};
|
|
22421
|
-
Tn.styles = [An.styles,
|
|
22422
|
-
|
|
22421
|
+
Tn.styles = [An.styles, bw];
|
|
22422
|
+
oa([
|
|
22423
22423
|
z({ type: String })
|
|
22424
22424
|
], Tn.prototype, "channel", 2);
|
|
22425
|
-
|
|
22425
|
+
oa([
|
|
22426
22426
|
z({ type: Boolean })
|
|
22427
22427
|
], Tn.prototype, "shouldGetSummary", 2);
|
|
22428
|
-
|
|
22429
|
-
fo({ context:
|
|
22428
|
+
oa([
|
|
22429
|
+
fo({ context: sa })
|
|
22430
22430
|
], Tn.prototype, "messageContext", 2);
|
|
22431
|
-
Tn =
|
|
22431
|
+
Tn = oa([
|
|
22432
22432
|
Fe("lr-chatbot-escalation-pill")
|
|
22433
22433
|
], Tn);
|
|
22434
|
-
const
|
|
22434
|
+
const xw = _e`
|
|
22435
22435
|
:host {
|
|
22436
22436
|
display: flex;
|
|
22437
22437
|
flex-direction: row;
|
|
@@ -22456,7 +22456,7 @@ et(
|
|
|
22456
22456
|
<path xmlns="http://www.w3.org/2000/svg" fillRule="evenodd" clipRule="evenodd" d="M18.614 7.461C17.6102 10.4284 15.9765 12.0067 14.4345 13.4963C14.2886 13.6372 14.1436 13.7773 14 13.9177V24.4999H24.7192L27.2192 14.5H18.5C18.0955 14.5 17.7309 14.2563 17.5761 13.8827C17.4213 13.509 17.5069 13.0789 17.7929 12.7929C17.944 12.6417 18.8204 11.5802 19.2535 10.3467C19.4663 9.74063 19.5429 9.17414 19.4456 8.69003C19.3629 8.27809 19.1413 7.85319 18.614 7.461ZM12 24.4999V14.5H5V24.4999H12ZM12.5885 12.5C12.7527 12.3387 12.9145 12.1816 13.0737 12.027C14.6038 10.5414 15.893 9.28958 16.732 6.78297C16.9137 6.23995 17.3109 5.79477 17.8159 5.56288C18.3387 5.32285 18.9977 5.30998 19.5733 5.69171C20.6253 6.38928 21.2061 7.2989 21.4064 8.29616C21.5995 9.25741 21.4217 10.2086 21.1405 11.0093C20.9517 11.5472 20.7031 12.0537 20.4453 12.5H27.2192C28.5204 12.5 29.4751 13.7227 29.1595 14.985L26.6595 24.985C26.4369 25.8753 25.637 26.4999 24.7192 26.4999H13H5C3.89543 26.4999 3 25.6045 3 24.4999V14.5C3 13.3954 3.89543 12.5 5 12.5H12.5885Z" fill="currentcolor"/>
|
|
22457
22457
|
`
|
|
22458
22458
|
);
|
|
22459
|
-
const
|
|
22459
|
+
const Ew = _e`
|
|
22460
22460
|
:host .button {
|
|
22461
22461
|
padding: 10px;
|
|
22462
22462
|
|
|
@@ -22469,21 +22469,21 @@ const _w = _e`
|
|
|
22469
22469
|
}
|
|
22470
22470
|
}
|
|
22471
22471
|
`;
|
|
22472
|
-
var
|
|
22473
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
22472
|
+
var Aw = Object.defineProperty, Tw = Object.getOwnPropertyDescriptor, Rw = (t, r, e, n) => {
|
|
22473
|
+
for (var i = n > 1 ? void 0 : n ? Tw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22474
22474
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22475
|
-
return n && i &&
|
|
22475
|
+
return n && i && Aw(r, e, i), i;
|
|
22476
22476
|
};
|
|
22477
22477
|
let Cs = class extends gt {
|
|
22478
22478
|
};
|
|
22479
|
-
Cs.styles = [gt.styles,
|
|
22480
|
-
Cs =
|
|
22479
|
+
Cs.styles = [gt.styles, Ew];
|
|
22480
|
+
Cs = Rw([
|
|
22481
22481
|
Fe("lr-icon-button")
|
|
22482
22482
|
], Cs);
|
|
22483
|
-
var
|
|
22484
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
22483
|
+
var Ow = Object.defineProperty, Iw = Object.getOwnPropertyDescriptor, Pr = (t, r, e, n) => {
|
|
22484
|
+
for (var i = n > 1 ? void 0 : n ? Iw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22485
22485
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22486
|
-
return n && i &&
|
|
22486
|
+
return n && i && Ow(r, e, i), i;
|
|
22487
22487
|
};
|
|
22488
22488
|
let Jt = class extends ge {
|
|
22489
22489
|
constructor() {
|
|
@@ -22539,23 +22539,23 @@ let Jt = class extends ge {
|
|
|
22539
22539
|
`;
|
|
22540
22540
|
}
|
|
22541
22541
|
};
|
|
22542
|
-
Jt.styles = [ge.styles,
|
|
22543
|
-
|
|
22544
|
-
fo({ context:
|
|
22542
|
+
Jt.styles = [ge.styles, xw];
|
|
22543
|
+
Pr([
|
|
22544
|
+
fo({ context: sa })
|
|
22545
22545
|
], Jt.prototype, "messageContext", 2);
|
|
22546
|
-
|
|
22546
|
+
Pr([
|
|
22547
22547
|
Pt()
|
|
22548
22548
|
], Jt.prototype, "upActive", 2);
|
|
22549
|
-
|
|
22549
|
+
Pr([
|
|
22550
22550
|
Pt()
|
|
22551
22551
|
], Jt.prototype, "downActive", 2);
|
|
22552
|
-
|
|
22552
|
+
Pr([
|
|
22553
22553
|
Pt()
|
|
22554
22554
|
], Jt.prototype, "score", 2);
|
|
22555
|
-
Jt =
|
|
22555
|
+
Jt = Pr([
|
|
22556
22556
|
Fe("lr-chatbot-message-rating")
|
|
22557
22557
|
], Jt);
|
|
22558
|
-
const
|
|
22558
|
+
const Lw = _e`
|
|
22559
22559
|
:host lr-rating-element {
|
|
22560
22560
|
margin-left: -2px;
|
|
22561
22561
|
}
|
|
@@ -22567,7 +22567,7 @@ et(
|
|
|
22567
22567
|
<path xmlns="http://www.w3.org/2000/svg" d="M9.87758 19L10.8547 19.2127C10.9296 18.8686 10.818 18.5105 10.5609 18.2698L9.87758 19ZM4.00003 13.5L3.88079 12.5071C3.49477 12.5535 3.17061 12.8194 3.04966 13.1889C2.9287 13.5584 3.03288 13.9645 3.31677 14.2302L4.00003 13.5ZM12.3266 12.5L12.4458 13.4929C12.8079 13.4494 13.1176 13.2123 13.254 12.8741L12.3266 12.5ZM15.7551 4L16.6825 3.62592C16.53 3.24768 16.163 3 15.7551 3C15.3473 3 14.9803 3.24768 14.8277 3.62592L15.7551 4ZM19.1837 12.5L18.2563 12.8741C18.3936 13.2145 18.7063 13.4523 19.071 13.4936L19.1837 12.5ZM28 13.5L28.6537 14.2568C28.9543 13.9971 29.0727 13.5842 28.9554 13.2047C28.8382 12.8252 28.5074 12.5511 28.1127 12.5064L28 13.5ZM21.6327 19L20.979 18.2432C20.7017 18.4827 20.5776 18.8547 20.6556 19.2127L21.6327 19ZM23.5919 28L23.0939 28.8672C23.4368 29.0641 23.8635 29.0405 24.1826 28.8069C24.5016 28.5733 24.6531 28.1737 24.569 27.7873L23.5919 28ZM15.7551 23.5L16.2531 22.6328C15.9447 22.4557 15.5655 22.4557 15.2572 22.6328L15.7551 23.5ZM7.9184 28L6.94128 27.7873C6.85718 28.1737 7.00863 28.5733 7.32768 28.8069C7.64674 29.0405 8.07346 29.0641 8.41636 28.8672L7.9184 28ZM10.5609 18.2698L4.6833 12.7698L3.31677 14.2302L9.19432 19.7302L10.5609 18.2698ZM4.11927 14.4929L12.4458 13.4929L12.2073 11.5071L3.88079 12.5071L4.11927 14.4929ZM13.254 12.8741L16.6825 4.37408L14.8277 3.62592L11.3992 12.1259L13.254 12.8741ZM14.8277 4.37408L18.2563 12.8741L20.1111 12.1259L16.6825 3.62592L14.8277 4.37408ZM19.071 13.4936L27.8873 14.4936L28.1127 12.5064L19.2964 11.5064L19.071 13.4936ZM27.3463 12.7432L20.979 18.2432L22.2864 19.7568L28.6537 14.2568L27.3463 12.7432ZM20.6556 19.2127L22.6148 28.2127L24.569 27.7873L22.6098 18.7873L20.6556 19.2127ZM24.0898 27.1328L16.2531 22.6328L15.2572 24.3672L23.0939 28.8672L24.0898 27.1328ZM15.2572 22.6328L7.42044 27.1328L8.41636 28.8672L16.2531 24.3672L15.2572 22.6328ZM8.89552 28.2127L10.8547 19.2127L8.90047 18.7873L6.94128 27.7873L8.89552 28.2127Z" fill="currentcolor"/>
|
|
22568
22568
|
`
|
|
22569
22569
|
);
|
|
22570
|
-
const
|
|
22570
|
+
const Mw = _e`
|
|
22571
22571
|
:host lr-icon-star-filled {
|
|
22572
22572
|
display: inline-block;
|
|
22573
22573
|
cursor: default;
|
|
@@ -22596,10 +22596,10 @@ const Rw = _e`
|
|
|
22596
22596
|
opacity: 1;
|
|
22597
22597
|
}
|
|
22598
22598
|
`;
|
|
22599
|
-
var
|
|
22600
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
22599
|
+
var Pw = Object.defineProperty, $w = Object.getOwnPropertyDescriptor, mo = (t, r, e, n) => {
|
|
22600
|
+
for (var i = n > 1 ? void 0 : n ? $w(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22601
22601
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22602
|
-
return n && i &&
|
|
22602
|
+
return n && i && Pw(r, e, i), i;
|
|
22603
22603
|
};
|
|
22604
22604
|
let br = class extends ge {
|
|
22605
22605
|
constructor() {
|
|
@@ -22609,7 +22609,7 @@ let br = class extends ge {
|
|
|
22609
22609
|
return fe`<lr-icon-star-filled size=${this.size}></lr-icon-star-filled>`;
|
|
22610
22610
|
}
|
|
22611
22611
|
};
|
|
22612
|
-
br.styles = [ge.styles,
|
|
22612
|
+
br.styles = [ge.styles, Mw];
|
|
22613
22613
|
mo([
|
|
22614
22614
|
z({ type: Boolean, reflect: !0 })
|
|
22615
22615
|
], br.prototype, "active", 2);
|
|
@@ -22619,10 +22619,10 @@ mo([
|
|
|
22619
22619
|
br = mo([
|
|
22620
22620
|
Fe("lr-rating-element")
|
|
22621
22621
|
], br);
|
|
22622
|
-
var
|
|
22623
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
22622
|
+
var Fw = Object.defineProperty, Nw = Object.getOwnPropertyDescriptor, $r = (t, r, e, n) => {
|
|
22623
|
+
for (var i = n > 1 ? void 0 : n ? Nw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22624
22624
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22625
|
-
return n && i &&
|
|
22625
|
+
return n && i && Fw(r, e, i), i;
|
|
22626
22626
|
};
|
|
22627
22627
|
let Rt = class extends ge {
|
|
22628
22628
|
constructor() {
|
|
@@ -22642,7 +22642,7 @@ let Rt = class extends ge {
|
|
|
22642
22642
|
this.value = t;
|
|
22643
22643
|
}
|
|
22644
22644
|
renderElement() {
|
|
22645
|
-
const t =
|
|
22645
|
+
const t = Qi({
|
|
22646
22646
|
disabled: this.value > 0
|
|
22647
22647
|
});
|
|
22648
22648
|
return fe`
|
|
@@ -22666,23 +22666,23 @@ let Rt = class extends ge {
|
|
|
22666
22666
|
}
|
|
22667
22667
|
};
|
|
22668
22668
|
Rt.formAssociated = !0;
|
|
22669
|
-
Rt.styles = [ge.styles,
|
|
22670
|
-
|
|
22669
|
+
Rt.styles = [ge.styles, Lw];
|
|
22670
|
+
$r([
|
|
22671
22671
|
z({ type: String })
|
|
22672
22672
|
], Rt.prototype, "size", 2);
|
|
22673
|
-
|
|
22673
|
+
$r([
|
|
22674
22674
|
z({ type: Number })
|
|
22675
22675
|
], Rt.prototype, "value", 2);
|
|
22676
|
-
|
|
22676
|
+
$r([
|
|
22677
22677
|
z({ type: Boolean })
|
|
22678
22678
|
], Rt.prototype, "submitOnChange", 2);
|
|
22679
|
-
|
|
22679
|
+
$r([
|
|
22680
22680
|
Pt()
|
|
22681
22681
|
], Rt.prototype, "hoveredRating", 2);
|
|
22682
|
-
Rt =
|
|
22682
|
+
Rt = $r([
|
|
22683
22683
|
Fe("lr-rating")
|
|
22684
22684
|
], Rt);
|
|
22685
|
-
const
|
|
22685
|
+
const Dw = _e`
|
|
22686
22686
|
:host {
|
|
22687
22687
|
--font-family: var(--lr-poppins);
|
|
22688
22688
|
--font-size: var(--lr-text-14);
|
|
@@ -22785,10 +22785,10 @@ const Pw = _e`
|
|
|
22785
22785
|
--font-size: var(--lr-text-14);
|
|
22786
22786
|
}
|
|
22787
22787
|
`;
|
|
22788
|
-
var
|
|
22789
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
22788
|
+
var Bw = Object.defineProperty, jw = Object.getOwnPropertyDescriptor, Ne = (t, r, e, n) => {
|
|
22789
|
+
for (var i = n > 1 ? void 0 : n ? jw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22790
22790
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22791
|
-
return n && i &&
|
|
22791
|
+
return n && i && Bw(r, e, i), i;
|
|
22792
22792
|
};
|
|
22793
22793
|
let Ee = class extends ge {
|
|
22794
22794
|
constructor() {
|
|
@@ -22815,7 +22815,7 @@ let Ee = class extends ge {
|
|
|
22815
22815
|
this.focused = !1;
|
|
22816
22816
|
}
|
|
22817
22817
|
renderElement() {
|
|
22818
|
-
const t =
|
|
22818
|
+
const t = Qi({
|
|
22819
22819
|
"input-wrapper": !0,
|
|
22820
22820
|
"has-icon": !!this.icon,
|
|
22821
22821
|
[`icon-${this.iconPosition}`]: !!this.icon
|
|
@@ -22844,7 +22844,7 @@ let Ee = class extends ge {
|
|
|
22844
22844
|
}
|
|
22845
22845
|
};
|
|
22846
22846
|
Ee.formAssociated = !0;
|
|
22847
|
-
Ee.styles = [ge.styles,
|
|
22847
|
+
Ee.styles = [ge.styles, Dw];
|
|
22848
22848
|
Ne([
|
|
22849
22849
|
z({ type: String })
|
|
22850
22850
|
], Ee.prototype, "label", 2);
|
|
@@ -22893,7 +22893,7 @@ et(
|
|
|
22893
22893
|
<path xmlns="http://www.w3.org/2000/svg" d="M6 16.7778L12.1538 23L26 9" stroke="currentcolor" strokeWidth="2" strokeLinecap="square" strokeLinejoin="round"/>
|
|
22894
22894
|
`
|
|
22895
22895
|
);
|
|
22896
|
-
const
|
|
22896
|
+
const Hw = _e`
|
|
22897
22897
|
:host .feedback {
|
|
22898
22898
|
display: none;
|
|
22899
22899
|
margin: 0.625rem 0;
|
|
@@ -22909,10 +22909,10 @@ const Nw = _e`
|
|
|
22909
22909
|
gap: 0.5rem;
|
|
22910
22910
|
}
|
|
22911
22911
|
`;
|
|
22912
|
-
var
|
|
22913
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
22912
|
+
var Uw = Object.defineProperty, zw = Object.getOwnPropertyDescriptor, Mn = (t, r, e, n) => {
|
|
22913
|
+
for (var i = n > 1 ? void 0 : n ? zw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22914
22914
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22915
|
-
return n && i &&
|
|
22915
|
+
return n && i && Uw(r, e, i), i;
|
|
22916
22916
|
};
|
|
22917
22917
|
let Ot = class extends ge {
|
|
22918
22918
|
constructor() {
|
|
@@ -22959,7 +22959,7 @@ let Ot = class extends ge {
|
|
|
22959
22959
|
}
|
|
22960
22960
|
}
|
|
22961
22961
|
renderFeedbackElement() {
|
|
22962
|
-
const t = !!(this.score && this.score <= 3), r = this.feedback && !this.score && !t, e =
|
|
22962
|
+
const t = !!(this.score && this.score <= 3), r = this.feedback && !this.score && !t, e = Qi({
|
|
22963
22963
|
feedback: !0,
|
|
22964
22964
|
"feedback-content": t,
|
|
22965
22965
|
"feedback-confirm": r
|
|
@@ -22991,9 +22991,9 @@ let Ot = class extends ge {
|
|
|
22991
22991
|
`;
|
|
22992
22992
|
}
|
|
22993
22993
|
};
|
|
22994
|
-
Ot.styles = [
|
|
22994
|
+
Ot.styles = [Hw];
|
|
22995
22995
|
Mn([
|
|
22996
|
-
fo({ context:
|
|
22996
|
+
fo({ context: sa })
|
|
22997
22997
|
], Ot.prototype, "messageContext", 2);
|
|
22998
22998
|
Mn([
|
|
22999
22999
|
Pt()
|
|
@@ -23010,14 +23010,14 @@ Mn([
|
|
|
23010
23010
|
Ot = Mn([
|
|
23011
23011
|
Fe("lr-chatbot-conversation-rating")
|
|
23012
23012
|
], Ot);
|
|
23013
|
-
function
|
|
23013
|
+
function qw(t) {
|
|
23014
23014
|
const r = new RegExp("https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)(?<![\\.,;:!?])", "g");
|
|
23015
23015
|
return t.replace(r, (n) => `<a href="${n}" style="color: inherit" target="_blank">${n}</a>`);
|
|
23016
23016
|
}
|
|
23017
|
-
var
|
|
23018
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
23017
|
+
var Vw = Object.defineProperty, Ww = Object.getOwnPropertyDescriptor, yt = (t, r, e, n) => {
|
|
23018
|
+
for (var i = n > 1 ? void 0 : n ? Ww(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
23019
23019
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
23020
|
-
return n && i &&
|
|
23020
|
+
return n && i && Vw(r, e, i), i;
|
|
23021
23021
|
};
|
|
23022
23022
|
let Ye = class extends ge {
|
|
23023
23023
|
constructor() {
|
|
@@ -23045,7 +23045,7 @@ let Ye = class extends ge {
|
|
|
23045
23045
|
${this.showConversationRating ? fe`<lr-chatbot-conversation-rating></lr-chatbot-conversation-rating>` : se}`;
|
|
23046
23046
|
}
|
|
23047
23047
|
};
|
|
23048
|
-
Ye.styles = [ge.styles,
|
|
23048
|
+
Ye.styles = [ge.styles, mw];
|
|
23049
23049
|
yt([
|
|
23050
23050
|
z({ type: String })
|
|
23051
23051
|
], Ye.prototype, "apiUrl", 2);
|
|
@@ -23068,13 +23068,13 @@ yt([
|
|
|
23068
23068
|
z({ type: Boolean })
|
|
23069
23069
|
], Ye.prototype, "showConversationRating", 2);
|
|
23070
23070
|
yt([
|
|
23071
|
-
|
|
23071
|
+
yw({ context: sa })
|
|
23072
23072
|
], Ye.prototype, "messageContext", 2);
|
|
23073
23073
|
Ye = yt([
|
|
23074
23074
|
Fe("lr-chatbot-message")
|
|
23075
23075
|
], Ye);
|
|
23076
23076
|
const Hn = (t) => {
|
|
23077
|
-
const r = t.slot.replace(/(?:\r\n|\r|\n)/g, "<br/>"), e =
|
|
23077
|
+
const r = t.slot.replace(/(?:\r\n|\r|\n)/g, "<br/>"), e = qw(r);
|
|
23078
23078
|
return `<lr-chatbot-message
|
|
23079
23079
|
${t.apiUrl ? `apiUrl="${t.apiUrl}"` : ""}
|
|
23080
23080
|
${t.conversationId ? `conversationId="${t.conversationId}"` : ""}
|
|
@@ -23087,56 +23087,56 @@ const Hn = (t) => {
|
|
|
23087
23087
|
${e}
|
|
23088
23088
|
</lr-chatbot-message>`;
|
|
23089
23089
|
};
|
|
23090
|
-
var
|
|
23090
|
+
var Gw = Object.defineProperty, Kw = Object.getOwnPropertyDescriptor, rh = (t) => {
|
|
23091
23091
|
throw TypeError(t);
|
|
23092
23092
|
}, Pn = (t, r, e, n) => {
|
|
23093
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
23093
|
+
for (var i = n > 1 ? void 0 : n ? Kw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
23094
23094
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
23095
|
-
return n && i &&
|
|
23096
|
-
}, ih = (t, r, e) => r.has(t) || rh("Cannot " + e), Un = (t, r, e) => (ih(t, r, "read from private field"), e ? e.call(t) : r.get(t)), zn = (t, r, e) => r.has(t) ? rh("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), qn = (t, r, e, n) => (ih(t, r, "write to private field"), r.set(t, e), e),
|
|
23095
|
+
return n && i && Gw(r, e, i), i;
|
|
23096
|
+
}, ih = (t, r, e) => r.has(t) || rh("Cannot " + e), Un = (t, r, e) => (ih(t, r, "read from private field"), e ? e.call(t) : r.get(t)), zn = (t, r, e) => r.has(t) ? rh("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), qn = (t, r, e, n) => (ih(t, r, "write to private field"), r.set(t, e), e), ii, ai, si, oi, li;
|
|
23097
23097
|
const ah = "lr.chatbot.broadcast_channel." + document.location.hostname, vn = "lr.chatbot.conversation_id", Vn = "lr.chatbot.conversation_state";
|
|
23098
23098
|
let It = class extends ge {
|
|
23099
23099
|
constructor() {
|
|
23100
23100
|
super({
|
|
23101
|
-
translationsLoaderGetter: () => new
|
|
23101
|
+
translationsLoaderGetter: () => new hw(this.apiUrl, this.country, this.language),
|
|
23102
23102
|
fetchAsyncServerTranslations: !0
|
|
23103
|
-
}), zn(this,
|
|
23103
|
+
}), zn(this, ii, "/bff"), zn(this, ai, !1), zn(this, si, !1), zn(this, oi, !1), zn(this, li, !1), this._closeClickCount = 0, this._isConversationDone = !1, this._shouldEndConversation = !1, this._broadcastController = new Xd(
|
|
23104
23104
|
this,
|
|
23105
23105
|
ah
|
|
23106
23106
|
), this._conversationHistoryTask = this.createConversationHistoryTask(), this.registerBroadcastMessages();
|
|
23107
23107
|
}
|
|
23108
23108
|
get apiUrl() {
|
|
23109
|
-
return Un(this,
|
|
23109
|
+
return Un(this, ii);
|
|
23110
23110
|
}
|
|
23111
23111
|
set apiUrl(t) {
|
|
23112
|
-
qn(this,
|
|
23112
|
+
qn(this, ii, t);
|
|
23113
23113
|
}
|
|
23114
23114
|
get opened() {
|
|
23115
|
-
return Un(this,
|
|
23115
|
+
return Un(this, ai);
|
|
23116
23116
|
}
|
|
23117
23117
|
set opened(t) {
|
|
23118
|
-
qn(this,
|
|
23118
|
+
qn(this, ai, t);
|
|
23119
23119
|
}
|
|
23120
23120
|
get minimized() {
|
|
23121
|
-
return Un(this,
|
|
23121
|
+
return Un(this, si);
|
|
23122
23122
|
}
|
|
23123
23123
|
set minimized(t) {
|
|
23124
|
-
qn(this,
|
|
23124
|
+
qn(this, si, t);
|
|
23125
23125
|
}
|
|
23126
23126
|
get sticky() {
|
|
23127
|
-
return Un(this,
|
|
23127
|
+
return Un(this, oi);
|
|
23128
23128
|
}
|
|
23129
23129
|
set sticky(t) {
|
|
23130
|
-
qn(this,
|
|
23130
|
+
qn(this, oi, t);
|
|
23131
23131
|
}
|
|
23132
23132
|
get exitOverlay() {
|
|
23133
|
-
return Un(this,
|
|
23133
|
+
return Un(this, li);
|
|
23134
23134
|
}
|
|
23135
23135
|
set exitOverlay(t) {
|
|
23136
|
-
qn(this,
|
|
23136
|
+
qn(this, li, t);
|
|
23137
23137
|
}
|
|
23138
23138
|
getVersion() {
|
|
23139
|
-
return "LR Chatbot - v0.31.
|
|
23139
|
+
return "LR Chatbot - v0.31.8";
|
|
23140
23140
|
}
|
|
23141
23141
|
async connectedCallback() {
|
|
23142
23142
|
super.connectedCallback(), this._conversationHistoryTask.run();
|
|
@@ -23220,7 +23220,7 @@ let It = class extends ge {
|
|
|
23220
23220
|
async setDeepChatHistory() {
|
|
23221
23221
|
if (!this.deepChat)
|
|
23222
23222
|
throw Error("Deep Chat should be initialized at this point");
|
|
23223
|
-
this.disableDeepChatTextInput(), [
|
|
23223
|
+
this.disableDeepChatTextInput(), [$a.INITIAL, $a.ERROR].includes(this._conversationHistoryTask.status) && this._conversationHistoryTask.run();
|
|
23224
23224
|
let t = await this._conversationHistoryTask.taskComplete;
|
|
23225
23225
|
this.setInitialMessages(), t != null && t.messages && (this.deepChat.history = [
|
|
23226
23226
|
...this.deepChat.history ?? [],
|
|
@@ -23283,7 +23283,7 @@ let It = class extends ge {
|
|
|
23283
23283
|
language: this.language.split("-")[0].toLocaleUpperCase(),
|
|
23284
23284
|
question: e,
|
|
23285
23285
|
source: {
|
|
23286
|
-
platform: Qd() ?
|
|
23286
|
+
platform: Qd() ? fw() ? "application_webview" : "mobile_website" : "website",
|
|
23287
23287
|
channel: "web"
|
|
23288
23288
|
},
|
|
23289
23289
|
context: []
|
|
@@ -23383,7 +23383,7 @@ let It = class extends ge {
|
|
|
23383
23383
|
renderExitOverlay() {
|
|
23384
23384
|
return fe`
|
|
23385
23385
|
<div
|
|
23386
|
-
${
|
|
23386
|
+
${zr({
|
|
23387
23387
|
in: zc,
|
|
23388
23388
|
out: Uc
|
|
23389
23389
|
})}
|
|
@@ -23410,7 +23410,7 @@ let It = class extends ge {
|
|
|
23410
23410
|
aria-label="chat window"
|
|
23411
23411
|
role="region"
|
|
23412
23412
|
part="wrapper"
|
|
23413
|
-
${
|
|
23413
|
+
${zr()}
|
|
23414
23414
|
>
|
|
23415
23415
|
<div id="chat-wrapper-menu" part="menu">
|
|
23416
23416
|
<span id="chat-wrapper-menu-title">${be("chatbot:title")}</span>
|
|
@@ -23440,13 +23440,13 @@ let It = class extends ge {
|
|
|
23440
23440
|
</div>
|
|
23441
23441
|
<div id="chat-wrapper-content">
|
|
23442
23442
|
${this.exitOverlay ? this.renderExitOverlay() : se}
|
|
23443
|
-
${this._conversationHistoryTask.status ===
|
|
23444
|
-
${
|
|
23443
|
+
${this._conversationHistoryTask.status === $a.PENDING ? fe`<lr-loading-overlay
|
|
23444
|
+
${zr({
|
|
23445
23445
|
in: zc,
|
|
23446
23446
|
out: Uc
|
|
23447
23447
|
})}
|
|
23448
23448
|
></lr-loading-overlay>` : se}
|
|
23449
|
-
<deep-chat id="chat-element" part="chat-element" ${
|
|
23449
|
+
<deep-chat id="chat-element" part="chat-element" ${sw(this.handleDeepChatLoad)}></deep-chat>
|
|
23450
23450
|
</div>
|
|
23451
23451
|
</div>
|
|
23452
23452
|
`;
|
|
@@ -23460,7 +23460,7 @@ let It = class extends ge {
|
|
|
23460
23460
|
aria-label="${be("chatbot:minimized.ariaLabel")}"
|
|
23461
23461
|
aria-expanded=${!this.minimized}
|
|
23462
23462
|
part="wrapper-minimized"
|
|
23463
|
-
${
|
|
23463
|
+
${zr({
|
|
23464
23464
|
in: Hc,
|
|
23465
23465
|
out: Hc
|
|
23466
23466
|
})}
|
|
@@ -23474,12 +23474,12 @@ let It = class extends ge {
|
|
|
23474
23474
|
return fe`${this.renderChatPopin()}${this.minimized && !this.opened ? this.renderMinimizedChat() : se}`;
|
|
23475
23475
|
}
|
|
23476
23476
|
};
|
|
23477
|
-
ri = /* @__PURE__ */ new WeakMap();
|
|
23478
23477
|
ii = /* @__PURE__ */ new WeakMap();
|
|
23479
23478
|
ai = /* @__PURE__ */ new WeakMap();
|
|
23480
23479
|
si = /* @__PURE__ */ new WeakMap();
|
|
23481
23480
|
oi = /* @__PURE__ */ new WeakMap();
|
|
23482
|
-
|
|
23481
|
+
li = /* @__PURE__ */ new WeakMap();
|
|
23482
|
+
It.styles = [ge.styles, ow];
|
|
23483
23483
|
Pn([
|
|
23484
23484
|
z({ type: String })
|
|
23485
23485
|
], It.prototype, "apiUrl", 1);
|