lr-chatbot 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chatbot-BgU-rIDR.js → chatbot-CjsClEOf.js} +15 -13
- package/chatbot-CjsClEOf.js.map +1 -0
- package/index.js +261 -232
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/chatbot-BgU-rIDR.js.map +0 -1
package/index.js
CHANGED
|
@@ -2954,7 +2954,7 @@ var Wm = {
|
|
|
2954
2954
|
function Nd(t, n, e) {
|
|
2955
2955
|
this.src = n, this.env = e, this.options = t.options, this.tokens = [], this.inlineMode = !1, this.inline = t.inline, this.block = t.block, this.renderer = t.renderer, this.typographer = t.typographer;
|
|
2956
2956
|
}
|
|
2957
|
-
function
|
|
2957
|
+
function bt(t, n) {
|
|
2958
2958
|
typeof t != "string" && (n = t, t = "default"), n && n.linkify != null && console.warn(`linkify option is removed. Use linkify plugin instead:
|
|
2959
2959
|
|
|
2960
2960
|
import Remarkable from 'remarkable';
|
|
@@ -2962,31 +2962,31 @@ import linkify from 'remarkable/linkify';
|
|
|
2962
2962
|
new Remarkable().use(linkify)
|
|
2963
2963
|
`), this.inline = new da(), this.block = new Cs(), this.core = new Fd(), this.renderer = new ks(), this.ruler = new Ue(), this.options = {}, this.configure(Gm[t]), this.set(n || {});
|
|
2964
2964
|
}
|
|
2965
|
-
|
|
2965
|
+
bt.prototype.set = function(t) {
|
|
2966
2966
|
Od(this.options, t);
|
|
2967
2967
|
};
|
|
2968
|
-
|
|
2968
|
+
bt.prototype.configure = function(t) {
|
|
2969
2969
|
var n = this;
|
|
2970
2970
|
if (!t) throw new Error("Wrong `remarkable` preset, check name/content");
|
|
2971
2971
|
t.options && n.set(t.options), t.components && Object.keys(t.components).forEach(function(e) {
|
|
2972
2972
|
t.components[e].rules && n[e].ruler.enable(t.components[e].rules, !0);
|
|
2973
2973
|
});
|
|
2974
2974
|
};
|
|
2975
|
-
|
|
2975
|
+
bt.prototype.use = function(t, n) {
|
|
2976
2976
|
return t(this, n), this;
|
|
2977
2977
|
};
|
|
2978
|
-
|
|
2978
|
+
bt.prototype.parse = function(t, n) {
|
|
2979
2979
|
var e = new Nd(this, t, n);
|
|
2980
2980
|
return this.core.process(e), e.tokens;
|
|
2981
2981
|
};
|
|
2982
|
-
|
|
2982
|
+
bt.prototype.render = function(t, n) {
|
|
2983
2983
|
return n = n || {}, this.renderer.render(this.parse(t, n), this.options, n);
|
|
2984
2984
|
};
|
|
2985
|
-
|
|
2985
|
+
bt.prototype.parseInline = function(t, n) {
|
|
2986
2986
|
var e = new Nd(this, t, n);
|
|
2987
2987
|
return e.inlineMode = !0, this.core.process(e), e.tokens;
|
|
2988
2988
|
};
|
|
2989
|
-
|
|
2989
|
+
bt.prototype.renderInline = function(t, n) {
|
|
2990
2990
|
return n = n || {}, this.renderer.render(this.parseInline(t, n), this.options, n);
|
|
2991
2991
|
};
|
|
2992
2992
|
var Go = /* @__PURE__ */ function() {
|
|
@@ -2997,7 +2997,7 @@ var Go = /* @__PURE__ */ function() {
|
|
|
2997
2997
|
key: "instantiate",
|
|
2998
2998
|
value: function() {
|
|
2999
2999
|
var e = window.hljs;
|
|
3000
|
-
return e ? new
|
|
3000
|
+
return e ? new bt({
|
|
3001
3001
|
highlight: function(i, a) {
|
|
3002
3002
|
if (a && e.getLanguage(a)) try {
|
|
3003
3003
|
return e.highlight(a, i).value;
|
|
@@ -3023,7 +3023,7 @@ var Go = /* @__PURE__ */ function() {
|
|
|
3023
3023
|
// set target to open in a new tab
|
|
3024
3024
|
typographer: !0
|
|
3025
3025
|
// Enable smartypants and other sweet transforms
|
|
3026
|
-
}) : new
|
|
3026
|
+
}) : new bt({
|
|
3027
3027
|
breaks: !0,
|
|
3028
3028
|
linkTarget: "_blank"
|
|
3029
3029
|
// set target to open in a new tab
|
|
@@ -13297,7 +13297,7 @@ An.elementStyles = [], An.shadowRootOptions = { mode: "open" }, An[mr("elementPr
|
|
|
13297
13297
|
*/
|
|
13298
13298
|
const gr = globalThis, Ji = gr.trustedTypes, hc = Ji ? Ji.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, ip = "$lit$", Ct = `lit$${Math.random().toFixed(9).slice(2)}$`, ap = "?" + Ct, nv = `<${ap}>`, en = document, Rr = () => en.createComment(""), Ir = (t) => t === null || typeof t != "object" && typeof t != "function", op = Array.isArray, rv = (t) => op(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", ro = `[
|
|
13299
13299
|
\f\r]`, Yn = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, mc = /-->/g, gc = />/g, Wt = RegExp(`>|${ro}(?:([^\\s"'>=/]+)(${ro}*=${ro}*(?:[^
|
|
13300
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), vc = /'/g, yc = /"/g, sp = /^(?:script|style|textarea|title)$/i, lp = (t) => (n, ...e) => ({ _$litType$: t, strings: n, values: e }), Pe = lp(1),
|
|
13300
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), vc = /'/g, yc = /"/g, sp = /^(?:script|style|textarea|title)$/i, lp = (t) => (n, ...e) => ({ _$litType$: t, strings: n, values: e }), Pe = lp(1), ft = lp(2), tn = Symbol.for("lit-noChange"), he = Symbol.for("lit-nothing"), bc = /* @__PURE__ */ new WeakMap(), Gt = en.createTreeWalker(en, 129);
|
|
13301
13301
|
function cp(t, n) {
|
|
13302
13302
|
if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
13303
13303
|
return hc !== void 0 ? hc.createHTML(n) : n;
|
|
@@ -14365,23 +14365,23 @@ function A2(t, n) {
|
|
|
14365
14365
|
var e = this.__data__, r = La(e, t);
|
|
14366
14366
|
return r < 0 ? (++this.size, e.push([t, n])) : e[r][1] = n, this;
|
|
14367
14367
|
}
|
|
14368
|
-
function
|
|
14368
|
+
function St(t) {
|
|
14369
14369
|
var n = -1, e = t == null ? 0 : t.length;
|
|
14370
14370
|
for (this.clear(); ++n < e; ) {
|
|
14371
14371
|
var r = t[n];
|
|
14372
14372
|
this.set(r[0], r[1]);
|
|
14373
14373
|
}
|
|
14374
14374
|
}
|
|
14375
|
-
|
|
14376
|
-
|
|
14377
|
-
|
|
14378
|
-
|
|
14379
|
-
|
|
14375
|
+
St.prototype.clear = S2;
|
|
14376
|
+
St.prototype.delete = C2;
|
|
14377
|
+
St.prototype.get = E2;
|
|
14378
|
+
St.prototype.has = x2;
|
|
14379
|
+
St.prototype.set = A2;
|
|
14380
14380
|
var Ip = Ra(Qe, "Map");
|
|
14381
14381
|
function T2() {
|
|
14382
14382
|
this.size = 0, this.__data__ = {
|
|
14383
14383
|
hash: new nn(),
|
|
14384
|
-
map: new (Ip ||
|
|
14384
|
+
map: new (Ip || St)(),
|
|
14385
14385
|
string: new nn()
|
|
14386
14386
|
};
|
|
14387
14387
|
}
|
|
@@ -14500,7 +14500,7 @@ function Q2(t) {
|
|
|
14500
14500
|
return typeof e == "function" && e instanceof e && Lp.call(e) == X2;
|
|
14501
14501
|
}
|
|
14502
14502
|
function eb() {
|
|
14503
|
-
this.__data__ = new
|
|
14503
|
+
this.__data__ = new St(), this.size = 0;
|
|
14504
14504
|
}
|
|
14505
14505
|
function tb(t) {
|
|
14506
14506
|
var n = this.__data__, e = n.delete(t);
|
|
@@ -14515,7 +14515,7 @@ function rb(t) {
|
|
|
14515
14515
|
var ib = 200;
|
|
14516
14516
|
function ab(t, n) {
|
|
14517
14517
|
var e = this.__data__;
|
|
14518
|
-
if (e instanceof
|
|
14518
|
+
if (e instanceof St) {
|
|
14519
14519
|
var r = e.__data__;
|
|
14520
14520
|
if (!Ip || r.length < ib - 1)
|
|
14521
14521
|
return r.push([t, n]), this.size = ++e.size, this;
|
|
@@ -14524,7 +14524,7 @@ function ab(t, n) {
|
|
|
14524
14524
|
return e.set(t, n), this.size = e.size, this;
|
|
14525
14525
|
}
|
|
14526
14526
|
function qn(t) {
|
|
14527
|
-
var n = this.__data__ = new
|
|
14527
|
+
var n = this.__data__ = new St(t);
|
|
14528
14528
|
this.size = n.size;
|
|
14529
14529
|
}
|
|
14530
14530
|
qn.prototype.clear = eb;
|
|
@@ -16300,7 +16300,7 @@ function qe(t) {
|
|
|
16300
16300
|
return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
|
|
16301
16301
|
}, qe(t);
|
|
16302
16302
|
}
|
|
16303
|
-
function
|
|
16303
|
+
function ht(t, n) {
|
|
16304
16304
|
if (!(t instanceof n))
|
|
16305
16305
|
throw new TypeError("Cannot call a class as a function");
|
|
16306
16306
|
}
|
|
@@ -16324,7 +16324,7 @@ function tu(t, n) {
|
|
|
16324
16324
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, Bp(r.key), r);
|
|
16325
16325
|
}
|
|
16326
16326
|
}
|
|
16327
|
-
function
|
|
16327
|
+
function mt(t, n, e) {
|
|
16328
16328
|
return n && tu(t.prototype, n), e && tu(t, e), Object.defineProperty(t, "prototype", {
|
|
16329
16329
|
writable: !1
|
|
16330
16330
|
}), t;
|
|
@@ -16436,9 +16436,9 @@ var n3 = {
|
|
|
16436
16436
|
}, r3 = function() {
|
|
16437
16437
|
function t(n) {
|
|
16438
16438
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
16439
|
-
|
|
16439
|
+
ht(this, t), this.init(n, e);
|
|
16440
16440
|
}
|
|
16441
|
-
return
|
|
16441
|
+
return mt(t, [{
|
|
16442
16442
|
key: "init",
|
|
16443
16443
|
value: function(e) {
|
|
16444
16444
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
@@ -16497,9 +16497,9 @@ var n3 = {
|
|
|
16497
16497
|
}]), t;
|
|
16498
16498
|
}(), ct = new r3(), Pt = function() {
|
|
16499
16499
|
function t() {
|
|
16500
|
-
|
|
16500
|
+
ht(this, t), this.observers = {};
|
|
16501
16501
|
}
|
|
16502
|
-
return
|
|
16502
|
+
return mt(t, [{
|
|
16503
16503
|
key: "on",
|
|
16504
16504
|
value: function(e, r) {
|
|
16505
16505
|
var i = this;
|
|
@@ -16700,9 +16700,9 @@ var f3 = function(t) {
|
|
|
16700
16700
|
ns: ["translation"],
|
|
16701
16701
|
defaultNS: "translation"
|
|
16702
16702
|
};
|
|
16703
|
-
return
|
|
16703
|
+
return ht(this, e), i = n.call(this), Na && Pt.call(Ot(i)), i.data = r || {}, i.options = a, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.options.ignoreJSONStructure === void 0 && (i.options.ignoreJSONStructure = !0), i;
|
|
16704
16704
|
}
|
|
16705
|
-
return
|
|
16705
|
+
return mt(e, [{
|
|
16706
16706
|
key: "addNamespaces",
|
|
16707
16707
|
value: function(i) {
|
|
16708
16708
|
this.options.ns.indexOf(i) < 0 && this.options.ns.push(i);
|
|
@@ -16845,9 +16845,9 @@ var cu = {}, uu = function(t) {
|
|
|
16845
16845
|
var n = h3(e);
|
|
16846
16846
|
function e(r) {
|
|
16847
16847
|
var i, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
16848
|
-
return
|
|
16848
|
+
return ht(this, e), i = n.call(this), Na && Pt.call(Ot(i)), i3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], r, Ot(i)), i.options = a, i.options.keySeparator === void 0 && (i.options.keySeparator = "."), i.logger = ct.create("translator"), i;
|
|
16849
16849
|
}
|
|
16850
|
-
return
|
|
16850
|
+
return mt(e, [{
|
|
16851
16851
|
key: "changeLanguage",
|
|
16852
16852
|
value: function(i) {
|
|
16853
16853
|
i && (this.language = i);
|
|
@@ -17064,9 +17064,9 @@ function mo(t) {
|
|
|
17064
17064
|
}
|
|
17065
17065
|
var du = function() {
|
|
17066
17066
|
function t(n) {
|
|
17067
|
-
|
|
17067
|
+
ht(this, t), this.options = n, this.supportedLngs = this.options.supportedLngs || !1, this.logger = ct.create("languageUtils");
|
|
17068
17068
|
}
|
|
17069
|
-
return
|
|
17069
|
+
return mt(t, [{
|
|
17070
17070
|
key: "getScriptPartFromCode",
|
|
17071
17071
|
value: function(e) {
|
|
17072
17072
|
if (!e || e.indexOf("-") < 0) return null;
|
|
@@ -17320,9 +17320,9 @@ function b3() {
|
|
|
17320
17320
|
var w3 = function() {
|
|
17321
17321
|
function t(n) {
|
|
17322
17322
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
17323
|
-
|
|
17323
|
+
ht(this, t), this.languageUtils = n, this.options = e, this.logger = ct.create("pluralResolver"), (!this.options.compatibilityJSON || this.options.compatibilityJSON === "v4") && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = b3();
|
|
17324
17324
|
}
|
|
17325
|
-
return
|
|
17325
|
+
return mt(t, [{
|
|
17326
17326
|
key: "addRule",
|
|
17327
17327
|
value: function(e, r) {
|
|
17328
17328
|
this.rules[e] = r;
|
|
@@ -17418,11 +17418,11 @@ function hu(t, n, e) {
|
|
|
17418
17418
|
var S3 = function() {
|
|
17419
17419
|
function t() {
|
|
17420
17420
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
17421
|
-
|
|
17421
|
+
ht(this, t), this.logger = ct.create("interpolator"), this.options = n, this.format = n.interpolation && n.interpolation.format || function(e) {
|
|
17422
17422
|
return e;
|
|
17423
17423
|
}, this.init(n);
|
|
17424
17424
|
}
|
|
17425
|
-
return
|
|
17425
|
+
return mt(t, [{
|
|
17426
17426
|
key: "init",
|
|
17427
17427
|
value: function() {
|
|
17428
17428
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -17548,7 +17548,7 @@ function mu(t, n) {
|
|
|
17548
17548
|
}
|
|
17549
17549
|
return e;
|
|
17550
17550
|
}
|
|
17551
|
-
function
|
|
17551
|
+
function yt(t) {
|
|
17552
17552
|
for (var n = 1; n < arguments.length; n++) {
|
|
17553
17553
|
var e = arguments[n] != null ? arguments[n] : {};
|
|
17554
17554
|
n % 2 ? mu(Object(e), !0).forEach(function(r) {
|
|
@@ -17594,15 +17594,15 @@ function yn(t) {
|
|
|
17594
17594
|
var k3 = function() {
|
|
17595
17595
|
function t() {
|
|
17596
17596
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
17597
|
-
|
|
17597
|
+
ht(this, t), this.logger = ct.create("formatter"), this.options = n, this.formats = {
|
|
17598
17598
|
number: yn(function(e, r) {
|
|
17599
|
-
var i = new Intl.NumberFormat(e,
|
|
17599
|
+
var i = new Intl.NumberFormat(e, yt({}, r));
|
|
17600
17600
|
return function(a) {
|
|
17601
17601
|
return i.format(a);
|
|
17602
17602
|
};
|
|
17603
17603
|
}),
|
|
17604
17604
|
currency: yn(function(e, r) {
|
|
17605
|
-
var i = new Intl.NumberFormat(e,
|
|
17605
|
+
var i = new Intl.NumberFormat(e, yt(yt({}, r), {}, {
|
|
17606
17606
|
style: "currency"
|
|
17607
17607
|
}));
|
|
17608
17608
|
return function(a) {
|
|
@@ -17610,26 +17610,26 @@ var k3 = function() {
|
|
|
17610
17610
|
};
|
|
17611
17611
|
}),
|
|
17612
17612
|
datetime: yn(function(e, r) {
|
|
17613
|
-
var i = new Intl.DateTimeFormat(e,
|
|
17613
|
+
var i = new Intl.DateTimeFormat(e, yt({}, r));
|
|
17614
17614
|
return function(a) {
|
|
17615
17615
|
return i.format(a);
|
|
17616
17616
|
};
|
|
17617
17617
|
}),
|
|
17618
17618
|
relativetime: yn(function(e, r) {
|
|
17619
|
-
var i = new Intl.RelativeTimeFormat(e,
|
|
17619
|
+
var i = new Intl.RelativeTimeFormat(e, yt({}, r));
|
|
17620
17620
|
return function(a) {
|
|
17621
17621
|
return i.format(a, r.range || "day");
|
|
17622
17622
|
};
|
|
17623
17623
|
}),
|
|
17624
17624
|
list: yn(function(e, r) {
|
|
17625
|
-
var i = new Intl.ListFormat(e,
|
|
17625
|
+
var i = new Intl.ListFormat(e, yt({}, r));
|
|
17626
17626
|
return function(a) {
|
|
17627
17627
|
return i.format(a);
|
|
17628
17628
|
};
|
|
17629
17629
|
})
|
|
17630
17630
|
}, this.init(n);
|
|
17631
17631
|
}
|
|
17632
|
-
return
|
|
17632
|
+
return mt(t, [{
|
|
17633
17633
|
key: "init",
|
|
17634
17634
|
value: function(e) {
|
|
17635
17635
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
@@ -17656,7 +17656,7 @@ var k3 = function() {
|
|
|
17656
17656
|
var h = c;
|
|
17657
17657
|
try {
|
|
17658
17658
|
var g = o && o.formatParams && o.formatParams[o.interpolationkey] || {}, v = g.locale || g.lng || o.locale || o.lng || i;
|
|
17659
|
-
h = a.formats[p](c, v,
|
|
17659
|
+
h = a.formats[p](c, v, yt(yt(yt({}, f), o), g));
|
|
17660
17660
|
} catch (y) {
|
|
17661
17661
|
a.logger.warn(y);
|
|
17662
17662
|
}
|
|
@@ -17720,9 +17720,9 @@ var A3 = function(t) {
|
|
|
17720
17720
|
var n = C3(e);
|
|
17721
17721
|
function e(r, i, a) {
|
|
17722
17722
|
var o, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
17723
|
-
return
|
|
17723
|
+
return ht(this, e), o = n.call(this), Na && Pt.call(Ot(o)), o.backend = r, o.store = i, o.services = a, o.languageUtils = a.languageUtils, o.options = s, o.logger = ct.create("backendConnector"), o.waitingReads = [], o.maxParallelReads = s.maxParallelReads || 10, o.readingCalls = 0, o.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, o.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, o.state = {}, o.queue = [], o.backend && o.backend.init && o.backend.init(a, s.backend, s), o;
|
|
17724
17724
|
}
|
|
17725
|
-
return
|
|
17725
|
+
return mt(e, [{
|
|
17726
17726
|
key: "queueLoad",
|
|
17727
17727
|
value: function(i, a, o, s) {
|
|
17728
17728
|
var l = this, c = {}, u = {}, d = {}, p = {};
|
|
@@ -17991,7 +17991,7 @@ var ra = function(t) {
|
|
|
17991
17991
|
var n = T3(e);
|
|
17992
17992
|
function e() {
|
|
17993
17993
|
var r, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 ? arguments[1] : void 0;
|
|
17994
|
-
if (
|
|
17994
|
+
if (ht(this, e), r = n.call(this), Na && Pt.call(Ot(r)), r.options = bu(i), r.services = {}, r.logger = ct, r.modules = {
|
|
17995
17995
|
external: []
|
|
17996
17996
|
}, R3(Ot(r)), a && !r.isInitialized && !i.isClone) {
|
|
17997
17997
|
if (!r.options.initImmediate)
|
|
@@ -18002,7 +18002,7 @@ var ra = function(t) {
|
|
|
18002
18002
|
}
|
|
18003
18003
|
return r;
|
|
18004
18004
|
}
|
|
18005
|
-
return
|
|
18005
|
+
return mt(e, [{
|
|
18006
18006
|
key: "init",
|
|
18007
18007
|
value: function() {
|
|
18008
18008
|
var i = this, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0;
|
|
@@ -18639,11 +18639,11 @@ function Wp(t, n) {
|
|
|
18639
18639
|
const { toString: J3 } = Object.prototype, { getPrototypeOf: Ys } = Object, Da = /* @__PURE__ */ ((t) => (n) => {
|
|
18640
18640
|
const e = J3.call(n);
|
|
18641
18641
|
return t[e] || (t[e] = e.slice(8, -1).toLowerCase());
|
|
18642
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
18642
|
+
})(/* @__PURE__ */ Object.create(null)), gt = (t) => (t = t.toLowerCase(), (n) => Da(n) === t), Ba = (t) => (n) => typeof n === t, { isArray: Vn } = Array, $r = Ba("undefined");
|
|
18643
18643
|
function Z3(t) {
|
|
18644
18644
|
return t !== null && !$r(t) && t.constructor !== null && !$r(t.constructor) && Ve(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
18645
18645
|
}
|
|
18646
|
-
const qp =
|
|
18646
|
+
const qp = gt("ArrayBuffer");
|
|
18647
18647
|
function Y3(t) {
|
|
18648
18648
|
let n;
|
|
18649
18649
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? n = ArrayBuffer.isView(t) : n = t && t.buffer && qp(t.buffer), n;
|
|
@@ -18653,11 +18653,11 @@ const X3 = Ba("string"), Ve = Ba("function"), Vp = Ba("number"), Ha = (t) => t !
|
|
|
18653
18653
|
return !1;
|
|
18654
18654
|
const n = Ys(t);
|
|
18655
18655
|
return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
|
18656
|
-
}, ew =
|
|
18656
|
+
}, ew = gt("Date"), tw = gt("File"), nw = gt("Blob"), rw = gt("FileList"), iw = (t) => Ha(t) && Ve(t.pipe), aw = (t) => {
|
|
18657
18657
|
let n;
|
|
18658
18658
|
return t && (typeof FormData == "function" && t instanceof FormData || Ve(t.append) && ((n = Da(t)) === "formdata" || // detect form-data instance
|
|
18659
18659
|
n === "object" && Ve(t.toString) && t.toString() === "[object FormData]"));
|
|
18660
|
-
}, ow =
|
|
18660
|
+
}, ow = gt("URLSearchParams"), sw = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
18661
18661
|
function Yr(t, n, { allOwnKeys: e = !1 } = {}) {
|
|
18662
18662
|
if (t === null || typeof t > "u")
|
|
18663
18663
|
return;
|
|
@@ -18733,12 +18733,12 @@ const lw = (t, n, e, { allOwnKeys: r } = {}) => (Yr(n, (i, a) => {
|
|
|
18733
18733
|
for (; (e = t.exec(n)) !== null; )
|
|
18734
18734
|
r.push(e);
|
|
18735
18735
|
return r;
|
|
18736
|
-
}, vw =
|
|
18736
|
+
}, vw = gt("HTMLFormElement"), yw = (t) => t.toLowerCase().replace(
|
|
18737
18737
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
18738
18738
|
function(e, r, i) {
|
|
18739
18739
|
return r.toUpperCase() + i;
|
|
18740
18740
|
}
|
|
18741
|
-
), Su = (({ hasOwnProperty: t }) => (n, e) => t.call(n, e))(Object.prototype), bw =
|
|
18741
|
+
), Su = (({ hasOwnProperty: t }) => (n, e) => t.call(n, e))(Object.prototype), bw = gt("RegExp"), Zp = (t, n) => {
|
|
18742
18742
|
const e = Object.getOwnPropertyDescriptors(t), r = {};
|
|
18743
18743
|
Yr(e, (i, a) => {
|
|
18744
18744
|
let o;
|
|
@@ -18798,7 +18798,7 @@ const xw = (t) => {
|
|
|
18798
18798
|
return r;
|
|
18799
18799
|
};
|
|
18800
18800
|
return e(t, 0);
|
|
18801
|
-
}, Aw =
|
|
18801
|
+
}, Aw = gt("AsyncFunction"), Tw = (t) => t && (Ha(t) || Ve(t)) && Ve(t.then) && Ve(t.catch), x = {
|
|
18802
18802
|
isArray: Vn,
|
|
18803
18803
|
isArrayBuffer: qp,
|
|
18804
18804
|
isBuffer: Z3,
|
|
@@ -18827,7 +18827,7 @@ const xw = (t) => {
|
|
|
18827
18827
|
inherits: uw,
|
|
18828
18828
|
toFlatObject: dw,
|
|
18829
18829
|
kindOf: Da,
|
|
18830
|
-
kindOfTest:
|
|
18830
|
+
kindOfTest: gt,
|
|
18831
18831
|
endsWith: pw,
|
|
18832
18832
|
toArray: fw,
|
|
18833
18833
|
forEachEntry: mw,
|
|
@@ -19457,7 +19457,7 @@ function Qw(t, n) {
|
|
|
19457
19457
|
function lf(t, n) {
|
|
19458
19458
|
return t && !Xw(n) ? Qw(t, n) : n;
|
|
19459
19459
|
}
|
|
19460
|
-
const
|
|
19460
|
+
const e4 = ut.hasStandardBrowserEnv ? (
|
|
19461
19461
|
// Standard browser envs have full support of the APIs needed to test
|
|
19462
19462
|
// whether the request URL is of the same origin as current location.
|
|
19463
19463
|
function() {
|
|
@@ -19489,11 +19489,11 @@ const eS = ut.hasStandardBrowserEnv ? (
|
|
|
19489
19489
|
};
|
|
19490
19490
|
}()
|
|
19491
19491
|
);
|
|
19492
|
-
function
|
|
19492
|
+
function t4(t) {
|
|
19493
19493
|
const n = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
|
|
19494
19494
|
return n && n[1] || "";
|
|
19495
19495
|
}
|
|
19496
|
-
function
|
|
19496
|
+
function n4(t, n) {
|
|
19497
19497
|
t = t || 10;
|
|
19498
19498
|
const e = new Array(t), r = new Array(t);
|
|
19499
19499
|
let i = 0, a = 0, o;
|
|
@@ -19511,7 +19511,7 @@ function nS(t, n) {
|
|
|
19511
19511
|
}
|
|
19512
19512
|
function Au(t, n) {
|
|
19513
19513
|
let e = 0;
|
|
19514
|
-
const r =
|
|
19514
|
+
const r = n4(50, 250);
|
|
19515
19515
|
return (i) => {
|
|
19516
19516
|
const a = i.loaded, o = i.lengthComputable ? i.total : void 0, s = a - e, l = r(s), c = a <= o;
|
|
19517
19517
|
e = a;
|
|
@@ -19527,7 +19527,7 @@ function Au(t, n) {
|
|
|
19527
19527
|
u[n ? "download" : "upload"] = !0, t(u);
|
|
19528
19528
|
};
|
|
19529
19529
|
}
|
|
19530
|
-
const
|
|
19530
|
+
const r4 = typeof XMLHttpRequest < "u", i4 = r4 && function(t) {
|
|
19531
19531
|
return new Promise(function(e, r) {
|
|
19532
19532
|
let i = t.data;
|
|
19533
19533
|
const a = Ge.from(t.headers).normalize();
|
|
@@ -19585,7 +19585,7 @@ const rS = typeof XMLHttpRequest < "u", iS = rS && function(t) {
|
|
|
19585
19585
|
t,
|
|
19586
19586
|
d
|
|
19587
19587
|
)), d = null;
|
|
19588
|
-
}, ut.hasStandardBrowserEnv && (s && x.isFunction(s) && (s = s(t)), s || s !== !1 &&
|
|
19588
|
+
}, ut.hasStandardBrowserEnv && (s && x.isFunction(s) && (s = s(t)), s || s !== !1 && e4(p))) {
|
|
19589
19589
|
const g = t.xsrfHeaderName && t.xsrfCookieName && Yw.read(t.xsrfCookieName);
|
|
19590
19590
|
g && a.set(t.xsrfHeaderName, g);
|
|
19591
19591
|
}
|
|
@@ -19594,7 +19594,7 @@ const rS = typeof XMLHttpRequest < "u", iS = rS && function(t) {
|
|
|
19594
19594
|
}), x.isUndefined(t.withCredentials) || (d.withCredentials = !!t.withCredentials), o && o !== "json" && (d.responseType = t.responseType), typeof t.onDownloadProgress == "function" && d.addEventListener("progress", Au(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", Au(t.onUploadProgress)), (t.cancelToken || t.signal) && (l = (g) => {
|
|
19595
19595
|
d && (r(!g || g.type ? new Qr(null, t, d) : g), d.abort(), d = null);
|
|
19596
19596
|
}, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
|
|
19597
|
-
const h =
|
|
19597
|
+
const h = t4(p);
|
|
19598
19598
|
if (h && ut.protocols.indexOf(h) === -1) {
|
|
19599
19599
|
r(new oe("Unsupported protocol " + h + ":", oe.ERR_BAD_REQUEST, t));
|
|
19600
19600
|
return;
|
|
@@ -19603,7 +19603,7 @@ const rS = typeof XMLHttpRequest < "u", iS = rS && function(t) {
|
|
|
19603
19603
|
});
|
|
19604
19604
|
}, ss = {
|
|
19605
19605
|
http: Ow,
|
|
19606
|
-
xhr:
|
|
19606
|
+
xhr: i4
|
|
19607
19607
|
};
|
|
19608
19608
|
x.forEach(ss, (t, n) => {
|
|
19609
19609
|
if (t) {
|
|
@@ -19614,7 +19614,7 @@ x.forEach(ss, (t, n) => {
|
|
|
19614
19614
|
Object.defineProperty(t, "adapterName", { value: n });
|
|
19615
19615
|
}
|
|
19616
19616
|
});
|
|
19617
|
-
const Tu = (t) => `- ${t}`,
|
|
19617
|
+
const Tu = (t) => `- ${t}`, a4 = (t) => x.isFunction(t) || t === null || t === !1, cf = {
|
|
19618
19618
|
getAdapter: (t) => {
|
|
19619
19619
|
t = x.isArray(t) ? t : [t];
|
|
19620
19620
|
const { length: n } = t;
|
|
@@ -19623,7 +19623,7 @@ const Tu = (t) => `- ${t}`, aS = (t) => x.isFunction(t) || t === null || t === !
|
|
|
19623
19623
|
for (let a = 0; a < n; a++) {
|
|
19624
19624
|
e = t[a];
|
|
19625
19625
|
let o;
|
|
19626
|
-
if (r = e, !
|
|
19626
|
+
if (r = e, !a4(e) && (r = ss[(o = String(e)).toLowerCase()], r === void 0))
|
|
19627
19627
|
throw new oe(`Unknown adapter '${o}'`);
|
|
19628
19628
|
if (r)
|
|
19629
19629
|
break;
|
|
@@ -19757,7 +19757,7 @@ Qs.transitional = function(n, e, r) {
|
|
|
19757
19757
|
)), n ? n(a, o, s) : !0;
|
|
19758
19758
|
};
|
|
19759
19759
|
};
|
|
19760
|
-
function
|
|
19760
|
+
function o4(t, n, e) {
|
|
19761
19761
|
if (typeof t != "object")
|
|
19762
19762
|
throw new oe("options must be an object", oe.ERR_BAD_OPTION_VALUE);
|
|
19763
19763
|
const r = Object.keys(t);
|
|
@@ -19775,7 +19775,7 @@ function oS(t, n, e) {
|
|
|
19775
19775
|
}
|
|
19776
19776
|
}
|
|
19777
19777
|
const ls = {
|
|
19778
|
-
assertOptions:
|
|
19778
|
+
assertOptions: o4,
|
|
19779
19779
|
validators: Qs
|
|
19780
19780
|
}, _t = ls.validators;
|
|
19781
19781
|
class Jt {
|
|
@@ -19963,12 +19963,12 @@ class el {
|
|
|
19963
19963
|
};
|
|
19964
19964
|
}
|
|
19965
19965
|
}
|
|
19966
|
-
function
|
|
19966
|
+
function s4(t) {
|
|
19967
19967
|
return function(e) {
|
|
19968
19968
|
return t.apply(null, e);
|
|
19969
19969
|
};
|
|
19970
19970
|
}
|
|
19971
|
-
function
|
|
19971
|
+
function l4(t) {
|
|
19972
19972
|
return x.isObject(t) && t.isAxiosError === !0;
|
|
19973
19973
|
}
|
|
19974
19974
|
const cs = {
|
|
@@ -20057,8 +20057,8 @@ U.Cancel = U.CanceledError;
|
|
|
20057
20057
|
U.all = function(n) {
|
|
20058
20058
|
return Promise.all(n);
|
|
20059
20059
|
};
|
|
20060
|
-
U.spread =
|
|
20061
|
-
U.isAxiosError =
|
|
20060
|
+
U.spread = s4;
|
|
20061
|
+
U.isAxiosError = l4;
|
|
20062
20062
|
U.mergeConfig = Nn;
|
|
20063
20063
|
U.AxiosHeaders = Ge;
|
|
20064
20064
|
U.formToJSON = (t) => of(x.isHTMLForm(t) ? new FormData(t) : t);
|
|
@@ -20184,7 +20184,7 @@ H(Rn, "Endpoints", {
|
|
|
20184
20184
|
}), /** ContentService API static errors typeguards */
|
|
20185
20185
|
H(Rn, "Errors", us);
|
|
20186
20186
|
let ds = Rn;
|
|
20187
|
-
var
|
|
20187
|
+
var c4 = Error, u4 = EvalError, d4 = RangeError, p4 = ReferenceError, pf = SyntaxError, ei = TypeError, f4 = URIError, h4 = function() {
|
|
20188
20188
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
20189
20189
|
return !1;
|
|
20190
20190
|
if (typeof Symbol.iterator == "symbol")
|
|
@@ -20207,31 +20207,31 @@ var cS = Error, uS = EvalError, dS = RangeError, pS = ReferenceError, pf = Synta
|
|
|
20207
20207
|
return !1;
|
|
20208
20208
|
}
|
|
20209
20209
|
return !0;
|
|
20210
|
-
}, Pu = typeof Symbol < "u" && Symbol,
|
|
20211
|
-
return typeof Pu != "function" || typeof Symbol != "function" || typeof Pu("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 :
|
|
20210
|
+
}, Pu = typeof Symbol < "u" && Symbol, m4 = h4, g4 = function() {
|
|
20211
|
+
return typeof Pu != "function" || typeof Symbol != "function" || typeof Pu("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : m4();
|
|
20212
20212
|
}, Lu = {
|
|
20213
20213
|
foo: {}
|
|
20214
|
-
},
|
|
20215
|
-
return { __proto__: Lu }.foo === Lu.foo && !({ __proto__: null } instanceof
|
|
20216
|
-
},
|
|
20214
|
+
}, v4 = Object, y4 = function() {
|
|
20215
|
+
return { __proto__: Lu }.foo === Lu.foo && !({ __proto__: null } instanceof v4);
|
|
20216
|
+
}, b4 = "Function.prototype.bind called on incompatible ", w4 = Object.prototype.toString, S4 = Math.max, _4 = "[object Function]", Mu = function(n, e) {
|
|
20217
20217
|
for (var r = [], i = 0; i < n.length; i += 1)
|
|
20218
20218
|
r[i] = n[i];
|
|
20219
20219
|
for (var a = 0; a < e.length; a += 1)
|
|
20220
20220
|
r[a + n.length] = e[a];
|
|
20221
20221
|
return r;
|
|
20222
|
-
},
|
|
20222
|
+
}, k4 = function(n, e) {
|
|
20223
20223
|
for (var r = [], i = e, a = 0; i < n.length; i += 1, a += 1)
|
|
20224
20224
|
r[a] = n[i];
|
|
20225
20225
|
return r;
|
|
20226
|
-
},
|
|
20226
|
+
}, C4 = function(t, n) {
|
|
20227
20227
|
for (var e = "", r = 0; r < t.length; r += 1)
|
|
20228
20228
|
e += t[r], r + 1 < t.length && (e += n);
|
|
20229
20229
|
return e;
|
|
20230
|
-
},
|
|
20230
|
+
}, E4 = function(n) {
|
|
20231
20231
|
var e = this;
|
|
20232
|
-
if (typeof e != "function" ||
|
|
20233
|
-
throw new TypeError(
|
|
20234
|
-
for (var r =
|
|
20232
|
+
if (typeof e != "function" || w4.apply(e) !== _4)
|
|
20233
|
+
throw new TypeError(b4 + e);
|
|
20234
|
+
for (var r = k4(arguments, 1), i, a = function() {
|
|
20235
20235
|
if (this instanceof i) {
|
|
20236
20236
|
var u = e.apply(
|
|
20237
20237
|
this,
|
|
@@ -20243,15 +20243,15 @@ var cS = Error, uS = EvalError, dS = RangeError, pS = ReferenceError, pf = Synta
|
|
|
20243
20243
|
n,
|
|
20244
20244
|
Mu(r, arguments)
|
|
20245
20245
|
);
|
|
20246
|
-
}, o =
|
|
20246
|
+
}, o = S4(0, e.length - r.length), s = [], l = 0; l < o; l++)
|
|
20247
20247
|
s[l] = "$" + l;
|
|
20248
|
-
if (i = Function("binder", "return function (" +
|
|
20248
|
+
if (i = Function("binder", "return function (" + C4(s, ",") + "){ return binder.apply(this,arguments); }")(a), e.prototype) {
|
|
20249
20249
|
var c = function() {
|
|
20250
20250
|
};
|
|
20251
20251
|
c.prototype = e.prototype, i.prototype = new c(), c.prototype = null;
|
|
20252
20252
|
}
|
|
20253
20253
|
return i;
|
|
20254
|
-
},
|
|
20254
|
+
}, x4 = E4, nl = Function.prototype.bind || x4, A4 = Function.prototype.call, T4 = Object.prototype.hasOwnProperty, O4 = nl, R4 = O4.call(A4, T4), ie, I4 = c4, P4 = u4, L4 = d4, M4 = p4, Dn = pf, Pn = ei, F4 = f4, ff = Function, _o = function(t) {
|
|
20255
20255
|
try {
|
|
20256
20256
|
return ff('"use strict"; return (' + t + ").constructor;")();
|
|
20257
20257
|
} catch {
|
|
@@ -20265,7 +20265,7 @@ if (Zt)
|
|
|
20265
20265
|
}
|
|
20266
20266
|
var ko = function() {
|
|
20267
20267
|
throw new Pn();
|
|
20268
|
-
}, $
|
|
20268
|
+
}, $4 = Zt ? function() {
|
|
20269
20269
|
try {
|
|
20270
20270
|
return arguments.callee, ko;
|
|
20271
20271
|
} catch {
|
|
@@ -20275,9 +20275,9 @@ var ko = function() {
|
|
|
20275
20275
|
return ko;
|
|
20276
20276
|
}
|
|
20277
20277
|
}
|
|
20278
|
-
}() : ko, bn =
|
|
20278
|
+
}() : ko, bn = g4(), N4 = y4(), Ce = Object.getPrototypeOf || (N4 ? function(t) {
|
|
20279
20279
|
return t.__proto__;
|
|
20280
|
-
} : null), Tn = {},
|
|
20280
|
+
} : null), Tn = {}, D4 = typeof Uint8Array > "u" || !Ce ? ie : Ce(Uint8Array), Yt = {
|
|
20281
20281
|
__proto__: null,
|
|
20282
20282
|
"%AggregateError%": typeof AggregateError > "u" ? ie : AggregateError,
|
|
20283
20283
|
"%Array%": Array,
|
|
@@ -20299,10 +20299,10 @@ var ko = function() {
|
|
|
20299
20299
|
"%decodeURIComponent%": decodeURIComponent,
|
|
20300
20300
|
"%encodeURI%": encodeURI,
|
|
20301
20301
|
"%encodeURIComponent%": encodeURIComponent,
|
|
20302
|
-
"%Error%":
|
|
20302
|
+
"%Error%": I4,
|
|
20303
20303
|
"%eval%": eval,
|
|
20304
20304
|
// eslint-disable-line no-eval
|
|
20305
|
-
"%EvalError%":
|
|
20305
|
+
"%EvalError%": P4,
|
|
20306
20306
|
"%Float32Array%": typeof Float32Array > "u" ? ie : Float32Array,
|
|
20307
20307
|
"%Float64Array%": typeof Float64Array > "u" ? ie : Float64Array,
|
|
20308
20308
|
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? ie : FinalizationRegistry,
|
|
@@ -20324,8 +20324,8 @@ var ko = function() {
|
|
|
20324
20324
|
"%parseInt%": parseInt,
|
|
20325
20325
|
"%Promise%": typeof Promise > "u" ? ie : Promise,
|
|
20326
20326
|
"%Proxy%": typeof Proxy > "u" ? ie : Proxy,
|
|
20327
|
-
"%RangeError%":
|
|
20328
|
-
"%ReferenceError%":
|
|
20327
|
+
"%RangeError%": L4,
|
|
20328
|
+
"%ReferenceError%": M4,
|
|
20329
20329
|
"%Reflect%": typeof Reflect > "u" ? ie : Reflect,
|
|
20330
20330
|
"%RegExp%": RegExp,
|
|
20331
20331
|
"%Set%": typeof Set > "u" ? ie : Set,
|
|
@@ -20335,14 +20335,14 @@ var ko = function() {
|
|
|
20335
20335
|
"%StringIteratorPrototype%": bn && Ce ? Ce(""[Symbol.iterator]()) : ie,
|
|
20336
20336
|
"%Symbol%": bn ? Symbol : ie,
|
|
20337
20337
|
"%SyntaxError%": Dn,
|
|
20338
|
-
"%ThrowTypeError%": $
|
|
20339
|
-
"%TypedArray%":
|
|
20338
|
+
"%ThrowTypeError%": $4,
|
|
20339
|
+
"%TypedArray%": D4,
|
|
20340
20340
|
"%TypeError%": Pn,
|
|
20341
20341
|
"%Uint8Array%": typeof Uint8Array > "u" ? ie : Uint8Array,
|
|
20342
20342
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? ie : Uint8ClampedArray,
|
|
20343
20343
|
"%Uint16Array%": typeof Uint16Array > "u" ? ie : Uint16Array,
|
|
20344
20344
|
"%Uint32Array%": typeof Uint32Array > "u" ? ie : Uint32Array,
|
|
20345
|
-
"%URIError%":
|
|
20345
|
+
"%URIError%": F4,
|
|
20346
20346
|
"%WeakMap%": typeof WeakMap > "u" ? ie : WeakMap,
|
|
20347
20347
|
"%WeakRef%": typeof WeakRef > "u" ? ie : WeakRef,
|
|
20348
20348
|
"%WeakSet%": typeof WeakSet > "u" ? ie : WeakSet
|
|
@@ -20351,10 +20351,10 @@ if (Ce)
|
|
|
20351
20351
|
try {
|
|
20352
20352
|
null.error;
|
|
20353
20353
|
} catch (t) {
|
|
20354
|
-
var
|
|
20355
|
-
Yt["%Error.prototype%"] =
|
|
20354
|
+
var B4 = Ce(Ce(t));
|
|
20355
|
+
Yt["%Error.prototype%"] = B4;
|
|
20356
20356
|
}
|
|
20357
|
-
var
|
|
20357
|
+
var H4 = function t(n) {
|
|
20358
20358
|
var e;
|
|
20359
20359
|
if (n === "%AsyncFunction%")
|
|
20360
20360
|
e = _o("async function () {}");
|
|
@@ -20423,21 +20423,21 @@ var HS = function t(n) {
|
|
|
20423
20423
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
20424
20424
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
20425
20425
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
20426
|
-
}, ti = nl, ia =
|
|
20426
|
+
}, ti = nl, ia = R4, j4 = ti.call(Function.call, Array.prototype.concat), U4 = ti.call(Function.apply, Array.prototype.splice), $u = ti.call(Function.call, String.prototype.replace), aa = ti.call(Function.call, String.prototype.slice), z4 = ti.call(Function.call, RegExp.prototype.exec), W4 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, q4 = /\\(\\)?/g, V4 = function(n) {
|
|
20427
20427
|
var e = aa(n, 0, 1), r = aa(n, -1);
|
|
20428
20428
|
if (e === "%" && r !== "%")
|
|
20429
20429
|
throw new Dn("invalid intrinsic syntax, expected closing `%`");
|
|
20430
20430
|
if (r === "%" && e !== "%")
|
|
20431
20431
|
throw new Dn("invalid intrinsic syntax, expected opening `%`");
|
|
20432
20432
|
var i = [];
|
|
20433
|
-
return $u(n,
|
|
20434
|
-
i[i.length] = s ? $u(l,
|
|
20433
|
+
return $u(n, W4, function(a, o, s, l) {
|
|
20434
|
+
i[i.length] = s ? $u(l, q4, "$1") : o || a;
|
|
20435
20435
|
}), i;
|
|
20436
|
-
},
|
|
20436
|
+
}, G4 = function(n, e) {
|
|
20437
20437
|
var r = n, i;
|
|
20438
20438
|
if (ia(Fu, r) && (i = Fu[r], r = "%" + i[0] + "%"), ia(Yt, r)) {
|
|
20439
20439
|
var a = Yt[r];
|
|
20440
|
-
if (a === Tn && (a =
|
|
20440
|
+
if (a === Tn && (a = H4(r)), typeof a > "u" && !e)
|
|
20441
20441
|
throw new Pn("intrinsic " + n + " exists, but is not available. Please file an issue!");
|
|
20442
20442
|
return {
|
|
20443
20443
|
alias: i,
|
|
@@ -20451,10 +20451,10 @@ var HS = function t(n) {
|
|
|
20451
20451
|
throw new Pn("intrinsic name must be a non-empty string");
|
|
20452
20452
|
if (arguments.length > 1 && typeof e != "boolean")
|
|
20453
20453
|
throw new Pn('"allowMissing" argument must be a boolean');
|
|
20454
|
-
if (
|
|
20454
|
+
if (z4(/^%?[^%]*%?$/, n) === null)
|
|
20455
20455
|
throw new Dn("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
20456
|
-
var r =
|
|
20457
|
-
c && (i = c[0],
|
|
20456
|
+
var r = V4(n), i = r.length > 0 ? r[0] : "", a = G4("%" + i + "%", e), o = a.name, s = a.value, l = !1, c = a.alias;
|
|
20457
|
+
c && (i = c[0], U4(r, j4([0, 1], c)));
|
|
20458
20458
|
for (var u = 1, d = !0; u < r.length; u += 1) {
|
|
20459
20459
|
var p = r[u], f = aa(p, 0, 1), h = aa(p, -1);
|
|
20460
20460
|
if ((f === '"' || f === "'" || f === "`" || h === '"' || h === "'" || h === "`") && f !== h)
|
|
@@ -20489,14 +20489,14 @@ function rl() {
|
|
|
20489
20489
|
}
|
|
20490
20490
|
return Co = n, Co;
|
|
20491
20491
|
}
|
|
20492
|
-
var
|
|
20492
|
+
var K4 = Gn, Ri = K4("%Object.getOwnPropertyDescriptor%", !0);
|
|
20493
20493
|
if (Ri)
|
|
20494
20494
|
try {
|
|
20495
20495
|
Ri([], "length");
|
|
20496
20496
|
} catch {
|
|
20497
20497
|
Ri = null;
|
|
20498
20498
|
}
|
|
20499
|
-
var mf = Ri, Du = rl(),
|
|
20499
|
+
var mf = Ri, Du = rl(), J4 = pf, wn = ei, Bu = mf, Z4 = function(n, e, r) {
|
|
20500
20500
|
if (!n || typeof n != "object" && typeof n != "function")
|
|
20501
20501
|
throw new wn("`obj` must be an object or a function`");
|
|
20502
20502
|
if (typeof e != "string" && typeof e != "symbol")
|
|
@@ -20520,7 +20520,7 @@ var mf = Ri, Du = rl(), JS = pf, wn = ei, Bu = mf, ZS = function(n, e, r) {
|
|
|
20520
20520
|
else if (s || !i && !a && !o)
|
|
20521
20521
|
n[e] = r;
|
|
20522
20522
|
else
|
|
20523
|
-
throw new
|
|
20523
|
+
throw new J4("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
20524
20524
|
}, ps = rl(), gf = function() {
|
|
20525
20525
|
return !!ps;
|
|
20526
20526
|
};
|
|
@@ -20533,17 +20533,17 @@ gf.hasArrayLengthDefineBug = function() {
|
|
|
20533
20533
|
return !0;
|
|
20534
20534
|
}
|
|
20535
20535
|
};
|
|
20536
|
-
var
|
|
20536
|
+
var Y4 = gf, X4 = Gn, Hu = Z4, Q4 = Y4(), ju = mf, Uu = ei, eS = X4("%Math.floor%"), tS = function(n, e) {
|
|
20537
20537
|
if (typeof n != "function")
|
|
20538
20538
|
throw new Uu("`fn` is not a function");
|
|
20539
|
-
if (typeof e != "number" || e < 0 || e > 4294967295 ||
|
|
20539
|
+
if (typeof e != "number" || e < 0 || e > 4294967295 || eS(e) !== e)
|
|
20540
20540
|
throw new Uu("`length` must be a positive 32-bit integer");
|
|
20541
20541
|
var r = arguments.length > 2 && !!arguments[2], i = !0, a = !0;
|
|
20542
20542
|
if ("length" in n && ju) {
|
|
20543
20543
|
var o = ju(n, "length");
|
|
20544
20544
|
o && !o.configurable && (i = !1), o && !o.writable && (a = !1);
|
|
20545
20545
|
}
|
|
20546
|
-
return (i || a || !r) && (
|
|
20546
|
+
return (i || a || !r) && (Q4 ? Hu(
|
|
20547
20547
|
/** @type {Parameters<define>[0]} */
|
|
20548
20548
|
n,
|
|
20549
20549
|
"length",
|
|
@@ -20558,7 +20558,7 @@ var YS = gf, XS = Gn, Hu = ZS, QS = YS(), ju = mf, Uu = ei, e4 = XS("%Math.floor
|
|
|
20558
20558
|
)), n;
|
|
20559
20559
|
};
|
|
20560
20560
|
(function(t) {
|
|
20561
|
-
var n = nl, e = Gn, r =
|
|
20561
|
+
var n = nl, e = Gn, r = tS, i = ei, a = e("%Function.prototype.apply%"), o = e("%Function.prototype.call%"), s = e("%Reflect.apply%", !0) || n.call(o, a), l = rl(), c = e("%Math.max%");
|
|
20562
20562
|
t.exports = function(p) {
|
|
20563
20563
|
if (typeof p != "function")
|
|
20564
20564
|
throw new i("a function is required");
|
|
@@ -20574,15 +20574,15 @@ var YS = gf, XS = Gn, Hu = ZS, QS = YS(), ju = mf, Uu = ei, e4 = XS("%Math.floor
|
|
|
20574
20574
|
};
|
|
20575
20575
|
l ? l(t.exports, "apply", { value: u }) : t.exports.apply = u;
|
|
20576
20576
|
})(hf);
|
|
20577
|
-
var
|
|
20577
|
+
var nS = hf.exports, vf = Gn, yf = nS, rS = yf(vf("String.prototype.indexOf")), iS = function(n, e) {
|
|
20578
20578
|
var r = vf(n, !!e);
|
|
20579
|
-
return typeof r == "function" &&
|
|
20579
|
+
return typeof r == "function" && rS(n, ".prototype.") > -1 ? yf(r) : r;
|
|
20580
20580
|
};
|
|
20581
|
-
const
|
|
20581
|
+
const aS = {}, oS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20582
20582
|
__proto__: null,
|
|
20583
|
-
default:
|
|
20584
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
20585
|
-
var il = typeof Map == "function" && Map.prototype, Eo = Object.getOwnPropertyDescriptor && il ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, oa = il && Eo && typeof Eo.get == "function" ? Eo.get : null, zu = il && Map.prototype.forEach, al = typeof Set == "function" && Set.prototype, xo = Object.getOwnPropertyDescriptor && al ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, sa = al && xo && typeof xo.get == "function" ? xo.get : null, Wu = al && Set.prototype.forEach,
|
|
20583
|
+
default: aS
|
|
20584
|
+
}, Symbol.toStringTag, { value: "Module" })), sS = /* @__PURE__ */ Cy(oS);
|
|
20585
|
+
var il = typeof Map == "function" && Map.prototype, Eo = Object.getOwnPropertyDescriptor && il ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, oa = il && Eo && typeof Eo.get == "function" ? Eo.get : null, zu = il && Map.prototype.forEach, al = typeof Set == "function" && Set.prototype, xo = Object.getOwnPropertyDescriptor && al ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, sa = al && xo && typeof xo.get == "function" ? xo.get : null, Wu = al && Set.prototype.forEach, lS = typeof WeakMap == "function" && WeakMap.prototype, br = lS ? WeakMap.prototype.has : null, cS = typeof WeakSet == "function" && WeakSet.prototype, wr = cS ? WeakSet.prototype.has : null, uS = typeof WeakRef == "function" && WeakRef.prototype, qu = uS ? WeakRef.prototype.deref : null, dS = Boolean.prototype.valueOf, pS = Object.prototype.toString, fS = Function.prototype.toString, hS = String.prototype.match, ol = String.prototype.slice, Et = String.prototype.replace, mS = String.prototype.toUpperCase, Vu = String.prototype.toLowerCase, bf = RegExp.prototype.test, Gu = Array.prototype.concat, st = Array.prototype.join, gS = Array.prototype.slice, Ku = Math.floor, fs = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ao = Object.getOwnPropertySymbols, hs = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Bn = typeof Symbol == "function" && typeof Symbol.iterator == "object", Le = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Bn || !0) ? Symbol.toStringTag : null, wf = Object.prototype.propertyIsEnumerable, Ju = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
|
|
20586
20586
|
return t.__proto__;
|
|
20587
20587
|
} : null);
|
|
20588
20588
|
function Zu(t, n) {
|
|
@@ -20598,7 +20598,7 @@ function Zu(t, n) {
|
|
|
20598
20598
|
}
|
|
20599
20599
|
return Et.call(n, e, "$&_");
|
|
20600
20600
|
}
|
|
20601
|
-
var ms =
|
|
20601
|
+
var ms = sS, Yu = ms.custom, Xu = _f(Yu) ? Yu : null, vS = function t(n, e, r, i) {
|
|
20602
20602
|
var a = e || {};
|
|
20603
20603
|
if (kt(a, "quoteStyle") && a.quoteStyle !== "single" && a.quoteStyle !== "double")
|
|
20604
20604
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
@@ -20633,13 +20633,13 @@ var ms = s4, Yu = ms.custom, Xu = _f(Yu) ? Yu : null, v4 = function t(n, e, r, i
|
|
|
20633
20633
|
var u = typeof a.depth > "u" ? 5 : a.depth;
|
|
20634
20634
|
if (typeof r > "u" && (r = 0), r >= u && u > 0 && typeof n == "object")
|
|
20635
20635
|
return gs(n) ? "[Array]" : "[Object]";
|
|
20636
|
-
var d =
|
|
20636
|
+
var d = FS(a, r);
|
|
20637
20637
|
if (typeof i > "u")
|
|
20638
20638
|
i = [];
|
|
20639
20639
|
else if (kf(i, n) >= 0)
|
|
20640
20640
|
return "[Circular]";
|
|
20641
20641
|
function p(ce, G, ve) {
|
|
20642
|
-
if (G && (i =
|
|
20642
|
+
if (G && (i = gS.call(i), i.push(G)), ve) {
|
|
20643
20643
|
var F = {
|
|
20644
20644
|
depth: a.depth
|
|
20645
20645
|
};
|
|
@@ -20648,25 +20648,25 @@ var ms = s4, Yu = ms.custom, Xu = _f(Yu) ? Yu : null, v4 = function t(n, e, r, i
|
|
|
20648
20648
|
return t(ce, a, r + 1, i);
|
|
20649
20649
|
}
|
|
20650
20650
|
if (typeof n == "function" && !Qu(n)) {
|
|
20651
|
-
var f =
|
|
20651
|
+
var f = xS(n), h = di(n, p);
|
|
20652
20652
|
return "[Function" + (f ? ": " + f : " (anonymous)") + "]" + (h.length > 0 ? " { " + st.call(h, ", ") + " }" : "");
|
|
20653
20653
|
}
|
|
20654
20654
|
if (_f(n)) {
|
|
20655
20655
|
var g = Bn ? Et.call(String(n), /^(Symbol\(.*\))_[^)]*$/, "$1") : hs.call(n);
|
|
20656
20656
|
return typeof n == "object" && !Bn ? nr(g) : g;
|
|
20657
20657
|
}
|
|
20658
|
-
if (
|
|
20658
|
+
if (PS(n)) {
|
|
20659
20659
|
for (var v = "<" + Vu.call(String(n.nodeName)), y = n.attributes || [], b = 0; b < y.length; b++)
|
|
20660
|
-
v += " " + y[b].name + "=" + Sf(
|
|
20660
|
+
v += " " + y[b].name + "=" + Sf(yS(y[b].value), "double", a);
|
|
20661
20661
|
return v += ">", n.childNodes && n.childNodes.length && (v += "..."), v += "</" + Vu.call(String(n.nodeName)) + ">", v;
|
|
20662
20662
|
}
|
|
20663
20663
|
if (gs(n)) {
|
|
20664
20664
|
if (n.length === 0)
|
|
20665
20665
|
return "[]";
|
|
20666
20666
|
var w = di(n, p);
|
|
20667
|
-
return d && !
|
|
20667
|
+
return d && !MS(w) ? "[" + vs(w, d) + "]" : "[ " + st.call(w, ", ") + " ]";
|
|
20668
20668
|
}
|
|
20669
|
-
if (
|
|
20669
|
+
if (wS(n)) {
|
|
20670
20670
|
var $ = di(n, p);
|
|
20671
20671
|
return !("cause" in Error.prototype) && "cause" in n && !wf.call(n, "cause") ? "{ [" + String(n) + "] " + st.call(Gu.call("[cause]: " + p(n.cause), $), ", ") + " }" : $.length === 0 ? "[" + String(n) + "]" : "{ [" + String(n) + "] " + st.call($, ", ") + " }";
|
|
20672
20672
|
}
|
|
@@ -20676,37 +20676,37 @@ var ms = s4, Yu = ms.custom, Xu = _f(Yu) ? Yu : null, v4 = function t(n, e, r, i
|
|
|
20676
20676
|
if (o !== "symbol" && typeof n.inspect == "function")
|
|
20677
20677
|
return n.inspect();
|
|
20678
20678
|
}
|
|
20679
|
-
if (
|
|
20679
|
+
if (AS(n)) {
|
|
20680
20680
|
var T = [];
|
|
20681
20681
|
return zu && zu.call(n, function(ce, G) {
|
|
20682
20682
|
T.push(p(G, n, !0) + " => " + p(ce, n));
|
|
20683
20683
|
}), ed("Map", oa.call(n), T, d);
|
|
20684
20684
|
}
|
|
20685
|
-
if (
|
|
20685
|
+
if (RS(n)) {
|
|
20686
20686
|
var B = [];
|
|
20687
20687
|
return Wu && Wu.call(n, function(ce) {
|
|
20688
20688
|
B.push(p(ce, n));
|
|
20689
20689
|
}), ed("Set", sa.call(n), B, d);
|
|
20690
20690
|
}
|
|
20691
|
-
if (
|
|
20691
|
+
if (TS(n))
|
|
20692
20692
|
return To("WeakMap");
|
|
20693
|
-
if (
|
|
20693
|
+
if (IS(n))
|
|
20694
20694
|
return To("WeakSet");
|
|
20695
|
-
if (
|
|
20695
|
+
if (OS(n))
|
|
20696
20696
|
return To("WeakRef");
|
|
20697
|
-
if (
|
|
20697
|
+
if (_S(n))
|
|
20698
20698
|
return nr(p(Number(n)));
|
|
20699
|
-
if (
|
|
20699
|
+
if (CS(n))
|
|
20700
20700
|
return nr(p(fs.call(n)));
|
|
20701
|
-
if (
|
|
20702
|
-
return nr(
|
|
20703
|
-
if (
|
|
20701
|
+
if (kS(n))
|
|
20702
|
+
return nr(dS.call(n));
|
|
20703
|
+
if (SS(n))
|
|
20704
20704
|
return nr(p(String(n)));
|
|
20705
20705
|
if (typeof window < "u" && n === window)
|
|
20706
20706
|
return "{ [object Window] }";
|
|
20707
20707
|
if (n === _y)
|
|
20708
20708
|
return "{ [object globalThis] }";
|
|
20709
|
-
if (!
|
|
20709
|
+
if (!bS(n) && !Qu(n)) {
|
|
20710
20710
|
var Z = di(n, p), z = Ju ? Ju(n) === Object.prototype : n instanceof Object || n.constructor === Object, le = n instanceof Object ? "" : "null prototype", re = !z && Le && Object(n) === n && Le in n ? ol.call(Ht(n), 8, -1) : le ? "Object" : "", we = z || typeof n.constructor != "function" ? "" : n.constructor.name ? n.constructor.name + " " : "", W = we + (re || le ? "[" + st.call(Gu.call([], re || [], le || []), ": ") + "] " : "");
|
|
20711
20711
|
return Z.length === 0 ? W + "{}" : d ? W + "{" + vs(Z, d) + "}" : W + "{ " + st.call(Z, ", ") + " }";
|
|
20712
20712
|
}
|
|
@@ -20716,28 +20716,28 @@ function Sf(t, n, e) {
|
|
|
20716
20716
|
var r = (e.quoteStyle || n) === "double" ? '"' : "'";
|
|
20717
20717
|
return r + t + r;
|
|
20718
20718
|
}
|
|
20719
|
-
function
|
|
20719
|
+
function yS(t) {
|
|
20720
20720
|
return Et.call(String(t), /"/g, """);
|
|
20721
20721
|
}
|
|
20722
20722
|
function gs(t) {
|
|
20723
20723
|
return Ht(t) === "[object Array]" && (!Le || !(typeof t == "object" && Le in t));
|
|
20724
20724
|
}
|
|
20725
|
-
function
|
|
20725
|
+
function bS(t) {
|
|
20726
20726
|
return Ht(t) === "[object Date]" && (!Le || !(typeof t == "object" && Le in t));
|
|
20727
20727
|
}
|
|
20728
20728
|
function Qu(t) {
|
|
20729
20729
|
return Ht(t) === "[object RegExp]" && (!Le || !(typeof t == "object" && Le in t));
|
|
20730
20730
|
}
|
|
20731
|
-
function
|
|
20731
|
+
function wS(t) {
|
|
20732
20732
|
return Ht(t) === "[object Error]" && (!Le || !(typeof t == "object" && Le in t));
|
|
20733
20733
|
}
|
|
20734
|
-
function
|
|
20734
|
+
function SS(t) {
|
|
20735
20735
|
return Ht(t) === "[object String]" && (!Le || !(typeof t == "object" && Le in t));
|
|
20736
20736
|
}
|
|
20737
|
-
function
|
|
20737
|
+
function _S(t) {
|
|
20738
20738
|
return Ht(t) === "[object Number]" && (!Le || !(typeof t == "object" && Le in t));
|
|
20739
20739
|
}
|
|
20740
|
-
function
|
|
20740
|
+
function kS(t) {
|
|
20741
20741
|
return Ht(t) === "[object Boolean]" && (!Le || !(typeof t == "object" && Le in t));
|
|
20742
20742
|
}
|
|
20743
20743
|
function _f(t) {
|
|
@@ -20753,7 +20753,7 @@ function _f(t) {
|
|
|
20753
20753
|
}
|
|
20754
20754
|
return !1;
|
|
20755
20755
|
}
|
|
20756
|
-
function
|
|
20756
|
+
function CS(t) {
|
|
20757
20757
|
if (!t || typeof t != "object" || !fs)
|
|
20758
20758
|
return !1;
|
|
20759
20759
|
try {
|
|
@@ -20762,19 +20762,19 @@ function C4(t) {
|
|
|
20762
20762
|
}
|
|
20763
20763
|
return !1;
|
|
20764
20764
|
}
|
|
20765
|
-
var
|
|
20765
|
+
var ES = Object.prototype.hasOwnProperty || function(t) {
|
|
20766
20766
|
return t in this;
|
|
20767
20767
|
};
|
|
20768
20768
|
function kt(t, n) {
|
|
20769
|
-
return
|
|
20769
|
+
return ES.call(t, n);
|
|
20770
20770
|
}
|
|
20771
20771
|
function Ht(t) {
|
|
20772
|
-
return
|
|
20772
|
+
return pS.call(t);
|
|
20773
20773
|
}
|
|
20774
|
-
function
|
|
20774
|
+
function xS(t) {
|
|
20775
20775
|
if (t.name)
|
|
20776
20776
|
return t.name;
|
|
20777
|
-
var n =
|
|
20777
|
+
var n = hS.call(fS.call(t), /^function\s*([\w$]+)/);
|
|
20778
20778
|
return n ? n[1] : null;
|
|
20779
20779
|
}
|
|
20780
20780
|
function kf(t, n) {
|
|
@@ -20785,7 +20785,7 @@ function kf(t, n) {
|
|
|
20785
20785
|
return e;
|
|
20786
20786
|
return -1;
|
|
20787
20787
|
}
|
|
20788
|
-
function
|
|
20788
|
+
function AS(t) {
|
|
20789
20789
|
if (!oa || !t || typeof t != "object")
|
|
20790
20790
|
return !1;
|
|
20791
20791
|
try {
|
|
@@ -20800,7 +20800,7 @@ function A4(t) {
|
|
|
20800
20800
|
}
|
|
20801
20801
|
return !1;
|
|
20802
20802
|
}
|
|
20803
|
-
function
|
|
20803
|
+
function TS(t) {
|
|
20804
20804
|
if (!br || !t || typeof t != "object")
|
|
20805
20805
|
return !1;
|
|
20806
20806
|
try {
|
|
@@ -20815,7 +20815,7 @@ function T4(t) {
|
|
|
20815
20815
|
}
|
|
20816
20816
|
return !1;
|
|
20817
20817
|
}
|
|
20818
|
-
function
|
|
20818
|
+
function OS(t) {
|
|
20819
20819
|
if (!qu || !t || typeof t != "object")
|
|
20820
20820
|
return !1;
|
|
20821
20821
|
try {
|
|
@@ -20824,7 +20824,7 @@ function O4(t) {
|
|
|
20824
20824
|
}
|
|
20825
20825
|
return !1;
|
|
20826
20826
|
}
|
|
20827
|
-
function
|
|
20827
|
+
function RS(t) {
|
|
20828
20828
|
if (!sa || !t || typeof t != "object")
|
|
20829
20829
|
return !1;
|
|
20830
20830
|
try {
|
|
@@ -20839,7 +20839,7 @@ function R4(t) {
|
|
|
20839
20839
|
}
|
|
20840
20840
|
return !1;
|
|
20841
20841
|
}
|
|
20842
|
-
function
|
|
20842
|
+
function IS(t) {
|
|
20843
20843
|
if (!wr || !t || typeof t != "object")
|
|
20844
20844
|
return !1;
|
|
20845
20845
|
try {
|
|
@@ -20854,7 +20854,7 @@ function I4(t) {
|
|
|
20854
20854
|
}
|
|
20855
20855
|
return !1;
|
|
20856
20856
|
}
|
|
20857
|
-
function
|
|
20857
|
+
function PS(t) {
|
|
20858
20858
|
return !t || typeof t != "object" ? !1 : typeof HTMLElement < "u" && t instanceof HTMLElement ? !0 : typeof t.nodeName == "string" && typeof t.getAttribute == "function";
|
|
20859
20859
|
}
|
|
20860
20860
|
function Cf(t, n) {
|
|
@@ -20862,10 +20862,10 @@ function Cf(t, n) {
|
|
|
20862
20862
|
var e = t.length - n.maxStringLength, r = "... " + e + " more character" + (e > 1 ? "s" : "");
|
|
20863
20863
|
return Cf(ol.call(t, 0, n.maxStringLength), n) + r;
|
|
20864
20864
|
}
|
|
20865
|
-
var i = Et.call(Et.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g,
|
|
20865
|
+
var i = Et.call(Et.call(t, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, LS);
|
|
20866
20866
|
return Sf(i, "single", n);
|
|
20867
20867
|
}
|
|
20868
|
-
function
|
|
20868
|
+
function LS(t) {
|
|
20869
20869
|
var n = t.charCodeAt(0), e = {
|
|
20870
20870
|
8: "b",
|
|
20871
20871
|
9: "t",
|
|
@@ -20873,7 +20873,7 @@ function L4(t) {
|
|
|
20873
20873
|
12: "f",
|
|
20874
20874
|
13: "r"
|
|
20875
20875
|
}[n];
|
|
20876
|
-
return e ? "\\" + e : "\\x" + (n < 16 ? "0" : "") +
|
|
20876
|
+
return e ? "\\" + e : "\\x" + (n < 16 ? "0" : "") + mS.call(n.toString(16));
|
|
20877
20877
|
}
|
|
20878
20878
|
function nr(t) {
|
|
20879
20879
|
return "Object(" + t + ")";
|
|
@@ -20885,14 +20885,14 @@ function ed(t, n, e, r) {
|
|
|
20885
20885
|
var i = r ? vs(e, r) : st.call(e, ", ");
|
|
20886
20886
|
return t + " (" + n + ") {" + i + "}";
|
|
20887
20887
|
}
|
|
20888
|
-
function
|
|
20888
|
+
function MS(t) {
|
|
20889
20889
|
for (var n = 0; n < t.length; n++)
|
|
20890
20890
|
if (kf(t[n], `
|
|
20891
20891
|
`) >= 0)
|
|
20892
20892
|
return !1;
|
|
20893
20893
|
return !0;
|
|
20894
20894
|
}
|
|
20895
|
-
function
|
|
20895
|
+
function FS(t, n) {
|
|
20896
20896
|
var e;
|
|
20897
20897
|
if (t.indent === " ")
|
|
20898
20898
|
e = " ";
|
|
@@ -20933,15 +20933,15 @@ function di(t, n) {
|
|
|
20933
20933
|
wf.call(t, a[c]) && r.push("[" + n(a[c]) + "]: " + n(t[a[c]], t));
|
|
20934
20934
|
return r;
|
|
20935
20935
|
}
|
|
20936
|
-
var Ef = Gn, Kn =
|
|
20936
|
+
var Ef = Gn, Kn = iS, $S = vS, NS = ei, pi = Ef("%WeakMap%", !0), fi = Ef("%Map%", !0), DS = Kn("WeakMap.prototype.get", !0), BS = Kn("WeakMap.prototype.set", !0), HS = Kn("WeakMap.prototype.has", !0), jS = Kn("Map.prototype.get", !0), US = Kn("Map.prototype.set", !0), zS = Kn("Map.prototype.has", !0), sl = function(t, n) {
|
|
20937
20937
|
for (var e = t, r; (r = e.next) !== null; e = r)
|
|
20938
20938
|
if (r.key === n)
|
|
20939
20939
|
return e.next = r.next, r.next = /** @type {NonNullable<typeof list.next>} */
|
|
20940
20940
|
t.next, t.next = r, r;
|
|
20941
|
-
},
|
|
20941
|
+
}, WS = function(t, n) {
|
|
20942
20942
|
var e = sl(t, n);
|
|
20943
20943
|
return e && e.value;
|
|
20944
|
-
},
|
|
20944
|
+
}, qS = function(t, n, e) {
|
|
20945
20945
|
var r = sl(t, n);
|
|
20946
20946
|
r ? r.value = e : t.next = /** @type {import('.').ListNode<typeof value>} */
|
|
20947
20947
|
{
|
|
@@ -20950,48 +20950,48 @@ var Ef = Gn, Kn = i4, $4 = v4, N4 = ei, pi = Ef("%WeakMap%", !0), fi = Ef("%Map%
|
|
|
20950
20950
|
next: t.next,
|
|
20951
20951
|
value: e
|
|
20952
20952
|
};
|
|
20953
|
-
},
|
|
20953
|
+
}, VS = function(t, n) {
|
|
20954
20954
|
return !!sl(t, n);
|
|
20955
|
-
},
|
|
20955
|
+
}, GS = function() {
|
|
20956
20956
|
var n, e, r, i = {
|
|
20957
20957
|
assert: function(a) {
|
|
20958
20958
|
if (!i.has(a))
|
|
20959
|
-
throw new
|
|
20959
|
+
throw new NS("Side channel does not contain " + $S(a));
|
|
20960
20960
|
},
|
|
20961
20961
|
get: function(a) {
|
|
20962
20962
|
if (pi && a && (typeof a == "object" || typeof a == "function")) {
|
|
20963
20963
|
if (n)
|
|
20964
|
-
return
|
|
20964
|
+
return DS(n, a);
|
|
20965
20965
|
} else if (fi) {
|
|
20966
20966
|
if (e)
|
|
20967
|
-
return
|
|
20967
|
+
return jS(e, a);
|
|
20968
20968
|
} else if (r)
|
|
20969
|
-
return
|
|
20969
|
+
return WS(r, a);
|
|
20970
20970
|
},
|
|
20971
20971
|
has: function(a) {
|
|
20972
20972
|
if (pi && a && (typeof a == "object" || typeof a == "function")) {
|
|
20973
20973
|
if (n)
|
|
20974
|
-
return
|
|
20974
|
+
return HS(n, a);
|
|
20975
20975
|
} else if (fi) {
|
|
20976
20976
|
if (e)
|
|
20977
|
-
return
|
|
20977
|
+
return zS(e, a);
|
|
20978
20978
|
} else if (r)
|
|
20979
|
-
return
|
|
20979
|
+
return VS(r, a);
|
|
20980
20980
|
return !1;
|
|
20981
20981
|
},
|
|
20982
20982
|
set: function(a, o) {
|
|
20983
|
-
pi && a && (typeof a == "object" || typeof a == "function") ? (n || (n = new pi()),
|
|
20983
|
+
pi && a && (typeof a == "object" || typeof a == "function") ? (n || (n = new pi()), BS(n, a, o)) : fi ? (e || (e = new fi()), US(e, a, o)) : (r || (r = { key: {}, next: null }), qS(r, a, o));
|
|
20984
20984
|
}
|
|
20985
20985
|
};
|
|
20986
20986
|
return i;
|
|
20987
|
-
},
|
|
20987
|
+
}, KS = String.prototype.replace, JS = /%20/g, Oo = {
|
|
20988
20988
|
RFC1738: "RFC1738",
|
|
20989
20989
|
RFC3986: "RFC3986"
|
|
20990
20990
|
}, ll = {
|
|
20991
20991
|
default: Oo.RFC3986,
|
|
20992
20992
|
formatters: {
|
|
20993
20993
|
RFC1738: function(t) {
|
|
20994
|
-
return
|
|
20994
|
+
return KS.call(t, JS, "+");
|
|
20995
20995
|
},
|
|
20996
20996
|
RFC3986: function(t) {
|
|
20997
20997
|
return String(t);
|
|
@@ -20999,11 +20999,11 @@ var Ef = Gn, Kn = i4, $4 = v4, N4 = ei, pi = Ef("%WeakMap%", !0), fi = Ef("%Map%
|
|
|
20999
20999
|
},
|
|
21000
21000
|
RFC1738: Oo.RFC1738,
|
|
21001
21001
|
RFC3986: Oo.RFC3986
|
|
21002
|
-
},
|
|
21002
|
+
}, ZS = ll, Ro = Object.prototype.hasOwnProperty, Vt = Array.isArray, rt = function() {
|
|
21003
21003
|
for (var t = [], n = 0; n < 256; ++n)
|
|
21004
21004
|
t.push("%" + ((n < 16 ? "0" : "") + n.toString(16)).toUpperCase());
|
|
21005
21005
|
return t;
|
|
21006
|
-
}(),
|
|
21006
|
+
}(), YS = function(n) {
|
|
21007
21007
|
for (; n.length > 1; ) {
|
|
21008
21008
|
var e = n.pop(), r = e.obj[e.prop];
|
|
21009
21009
|
if (Vt(r)) {
|
|
@@ -21016,7 +21016,7 @@ var Ef = Gn, Kn = i4, $4 = v4, N4 = ei, pi = Ef("%WeakMap%", !0), fi = Ef("%Map%
|
|
|
21016
21016
|
for (var r = e && e.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, i = 0; i < n.length; ++i)
|
|
21017
21017
|
typeof n[i] < "u" && (r[i] = n[i]);
|
|
21018
21018
|
return r;
|
|
21019
|
-
},
|
|
21019
|
+
}, XS = function t(n, e, r) {
|
|
21020
21020
|
if (!e)
|
|
21021
21021
|
return n;
|
|
21022
21022
|
if (typeof e != "object") {
|
|
@@ -21041,7 +21041,7 @@ var Ef = Gn, Kn = i4, $4 = v4, N4 = ei, pi = Ef("%WeakMap%", !0), fi = Ef("%Map%
|
|
|
21041
21041
|
var s = e[o];
|
|
21042
21042
|
return Ro.call(a, o) ? a[o] = t(a[o], s, r) : a[o] = s, a;
|
|
21043
21043
|
}, i);
|
|
21044
|
-
},
|
|
21044
|
+
}, QS = function(n, e) {
|
|
21045
21045
|
return Object.keys(e).reduce(function(r, i) {
|
|
21046
21046
|
return r[i] = e[i], r;
|
|
21047
21047
|
}, n);
|
|
@@ -21065,7 +21065,7 @@ var Ef = Gn, Kn = i4, $4 = v4, N4 = ei, pi = Ef("%WeakMap%", !0), fi = Ef("%Map%
|
|
|
21065
21065
|
for (var s = "", l = 0; l < o.length; l += Io) {
|
|
21066
21066
|
for (var c = o.length >= Io ? o.slice(l, l + Io) : o, u = [], d = 0; d < c.length; ++d) {
|
|
21067
21067
|
var p = c.charCodeAt(d);
|
|
21068
|
-
if (p === 45 || p === 46 || p === 95 || p === 126 || p >= 48 && p <= 57 || p >= 65 && p <= 90 || p >= 97 && p <= 122 || a ===
|
|
21068
|
+
if (p === 45 || p === 46 || p === 95 || p === 126 || p >= 48 && p <= 57 || p >= 65 && p <= 90 || p >= 97 && p <= 122 || a === ZS.RFC1738 && (p === 40 || p === 41)) {
|
|
21069
21069
|
u[u.length] = c.charAt(d);
|
|
21070
21070
|
continue;
|
|
21071
21071
|
}
|
|
@@ -21092,7 +21092,7 @@ var Ef = Gn, Kn = i4, $4 = v4, N4 = ei, pi = Ef("%WeakMap%", !0), fi = Ef("%Map%
|
|
|
21092
21092
|
var c = s[l], u = o[c];
|
|
21093
21093
|
typeof u == "object" && u !== null && r.indexOf(u) === -1 && (e.push({ obj: o, prop: c }), r.push(u));
|
|
21094
21094
|
}
|
|
21095
|
-
return
|
|
21095
|
+
return YS(e), n;
|
|
21096
21096
|
}, r_ = function(n) {
|
|
21097
21097
|
return Object.prototype.toString.call(n) === "[object RegExp]";
|
|
21098
21098
|
}, i_ = function(n) {
|
|
@@ -21108,7 +21108,7 @@ var Ef = Gn, Kn = i4, $4 = v4, N4 = ei, pi = Ef("%WeakMap%", !0), fi = Ef("%Map%
|
|
|
21108
21108
|
return e(n);
|
|
21109
21109
|
}, Af = {
|
|
21110
21110
|
arrayToObject: xf,
|
|
21111
|
-
assign:
|
|
21111
|
+
assign: QS,
|
|
21112
21112
|
combine: a_,
|
|
21113
21113
|
compact: n_,
|
|
21114
21114
|
decode: e_,
|
|
@@ -21116,8 +21116,8 @@ var Ef = Gn, Kn = i4, $4 = v4, N4 = ei, pi = Ef("%WeakMap%", !0), fi = Ef("%Map%
|
|
|
21116
21116
|
isBuffer: i_,
|
|
21117
21117
|
isRegExp: r_,
|
|
21118
21118
|
maybeMap: o_,
|
|
21119
|
-
merge:
|
|
21120
|
-
}, Tf =
|
|
21119
|
+
merge: XS
|
|
21120
|
+
}, Tf = GS, Ii = Af, Sr = ll, s_ = Object.prototype.hasOwnProperty, Of = {
|
|
21121
21121
|
brackets: function(n) {
|
|
21122
21122
|
return n + "[]";
|
|
21123
21123
|
},
|
|
@@ -21580,7 +21580,7 @@ Pf([
|
|
|
21580
21580
|
Pf([
|
|
21581
21581
|
X({ type: String })
|
|
21582
21582
|
], Nr.prototype, "viewBox");
|
|
21583
|
-
function
|
|
21583
|
+
function vt(t, n) {
|
|
21584
21584
|
class e extends Nr {
|
|
21585
21585
|
render() {
|
|
21586
21586
|
return Pe`<svg viewBox="${this.viewBox}" aria-hidden="true" fill="none" part="icon">${n}</svg> `;
|
|
@@ -21588,9 +21588,9 @@ function St(t, n) {
|
|
|
21588
21588
|
}
|
|
21589
21589
|
customElements.define(t, e);
|
|
21590
21590
|
}
|
|
21591
|
-
|
|
21591
|
+
vt(
|
|
21592
21592
|
"lr-icon-loading-circle",
|
|
21593
|
-
|
|
21593
|
+
ft`<path
|
|
21594
21594
|
xmlns="http://www.w3.org/2000/svg"
|
|
21595
21595
|
fillRule="evenodd"
|
|
21596
21596
|
clipRule="evenodd"
|
|
@@ -21731,6 +21731,7 @@ const V_ = ze`
|
|
|
21731
21731
|
--border-size: 1px;
|
|
21732
21732
|
border: var(--border-size) solid var(--border-color);
|
|
21733
21733
|
border-radius: 120px;
|
|
21734
|
+
column-gap: 0 !important;
|
|
21734
21735
|
}
|
|
21735
21736
|
|
|
21736
21737
|
:host([variant='on-light']) .button {
|
|
@@ -21780,6 +21781,8 @@ const V_ = ze`
|
|
|
21780
21781
|
font-weight: 600;
|
|
21781
21782
|
border-radius: var(--border-radius);
|
|
21782
21783
|
width: inherit;
|
|
21784
|
+
column-gap: 4px;
|
|
21785
|
+
|
|
21783
21786
|
&[disabled] {
|
|
21784
21787
|
cursor: not-allowed;
|
|
21785
21788
|
}
|
|
@@ -21805,24 +21808,32 @@ const V_ = ze`
|
|
|
21805
21808
|
opacity: 0;
|
|
21806
21809
|
}
|
|
21807
21810
|
}
|
|
21811
|
+
|
|
21812
|
+
.text {
|
|
21813
|
+
padding: 0 6px;
|
|
21814
|
+
}
|
|
21808
21815
|
}
|
|
21809
21816
|
|
|
21810
21817
|
:host([size='small']) .button {
|
|
21811
21818
|
--padding: var(--lr-padding-small);
|
|
21812
21819
|
--font-size: var(--lr-text-12);
|
|
21820
|
+
.text {
|
|
21821
|
+
padding: 0 4px;
|
|
21822
|
+
}
|
|
21813
21823
|
}
|
|
21814
21824
|
:host([size='big']) .button {
|
|
21815
21825
|
--padding: var(--lr-padding-big);
|
|
21816
21826
|
--font-size: var(--lr-text-18);
|
|
21827
|
+
.text {
|
|
21828
|
+
padding: 0 8px;
|
|
21829
|
+
}
|
|
21817
21830
|
}
|
|
21818
21831
|
|
|
21819
21832
|
:host([iconPosition='left']) .button {
|
|
21820
21833
|
flex-direction: row;
|
|
21821
|
-
gap: 0.5rem;
|
|
21822
21834
|
}
|
|
21823
21835
|
:host([iconPosition='right']) .button {
|
|
21824
21836
|
flex-direction: row-reverse;
|
|
21825
|
-
gap: 0.5rem;
|
|
21826
21837
|
}
|
|
21827
21838
|
`, K_ = ze`
|
|
21828
21839
|
:host([variant='primary']) .button::before {
|
|
@@ -22066,7 +22077,7 @@ const ml = class ml extends ke {
|
|
|
22066
22077
|
var e;
|
|
22067
22078
|
if (n) {
|
|
22068
22079
|
const r = (e = n == null ? void 0 : n.target) == null ? void 0 : e.assignedNodes({ flatten: !0 });
|
|
22069
|
-
this.textContent = r.map((i) => i.textContent ? i.textContent : "").join("");
|
|
22080
|
+
this.textContent = r.map((i) => i != null && i.textContent ? i.textContent : "").join("");
|
|
22070
22081
|
}
|
|
22071
22082
|
}
|
|
22072
22083
|
renderElement() {
|
|
@@ -22074,7 +22085,8 @@ const ml = class ml extends ke {
|
|
|
22074
22085
|
button: this.type === "button"
|
|
22075
22086
|
}), r = this.loading || this.disabled, i = this.loading && this.loadingText ? this.loadingText : Sn`<slot></slot>`, a = this.icon ? Sn`<${rd(`lr-icon-${this.icon}`)} class="icon" size=${this.size}></${rd(
|
|
22076
22087
|
`lr-icon-${this.icon}`
|
|
22077
|
-
)}>` : null, o = Sn`<lr-spinner class="loading-spinner" size="${this.size}"></lr-spinner>`, s = Sn`<slot name="icon">${this.loading ? o : a ?? ""}</slot>
|
|
22088
|
+
)}>` : null, o = Sn`<lr-spinner class="loading-spinner" size="${this.size}"></lr-spinner>`, s = Sn`<slot name="icon">${this.loading ? o : a ?? ""}</slot>
|
|
22089
|
+
<span class="text">${i}</span>`;
|
|
22078
22090
|
return n ? Sn`<a
|
|
22079
22091
|
aria-label="${On(this.label ?? this.textContent)}"
|
|
22080
22092
|
aria-disabled=${r}
|
|
@@ -22173,9 +22185,9 @@ const nk = ze`
|
|
|
22173
22185
|
margin-left: -2px;
|
|
22174
22186
|
}
|
|
22175
22187
|
`;
|
|
22176
|
-
|
|
22188
|
+
vt(
|
|
22177
22189
|
"lr-icon-star-filled",
|
|
22178
|
-
|
|
22190
|
+
ft`<path
|
|
22179
22191
|
xmlns="http://www.w3.org/2000/svg"
|
|
22180
22192
|
d="M4.00003 13.5L9.87758 19L7.9184 28L15.7551 23.5L23.5919 28L21.6327 19L28 13.5L19.1837 12.5L15.7551 4L12.3266 12.5L4.00003 13.5Z"
|
|
22181
22193
|
fill="currentcolor"
|
|
@@ -22434,9 +22446,9 @@ H(at, "Endpoints", {
|
|
|
22434
22446
|
}), /** ChatbotService API static errors typeguards */
|
|
22435
22447
|
H(at, "Errors", qt);
|
|
22436
22448
|
let Un = at;
|
|
22437
|
-
|
|
22449
|
+
vt(
|
|
22438
22450
|
"lr-icon-thumb-down",
|
|
22439
|
-
|
|
22451
|
+
ft`<path
|
|
22440
22452
|
xmlns="http://www.w3.org/2000/svg"
|
|
22441
22453
|
fillRule="evenodd"
|
|
22442
22454
|
clipRule="evenodd"
|
|
@@ -22444,9 +22456,9 @@ St(
|
|
|
22444
22456
|
fill="currentcolor"
|
|
22445
22457
|
/>`
|
|
22446
22458
|
);
|
|
22447
|
-
|
|
22459
|
+
vt(
|
|
22448
22460
|
"lr-icon-thumb-up",
|
|
22449
|
-
|
|
22461
|
+
ft`<path
|
|
22450
22462
|
xmlns="http://www.w3.org/2000/svg"
|
|
22451
22463
|
fillRule="evenodd"
|
|
22452
22464
|
clipRule="evenodd"
|
|
@@ -22464,7 +22476,7 @@ var fk = Object.defineProperty, hk = Object.getOwnPropertyDescriptor, Nf = (t) =
|
|
|
22464
22476
|
(o = t[a]) && (i = (r ? o(n, e, i) : o(i)) || i);
|
|
22465
22477
|
return r && i && fk(n, e, i), i;
|
|
22466
22478
|
}, Df = (t, n, e) => n.has(t) || Nf("Cannot " + e), hi = (t, n, e) => (Df(t, n, "read from private field"), e ? e.call(t) : n.get(t)), mi = (t, n, e) => n.has(t) ? Nf("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(t) : n.set(t, e), gi = (t, n, e, r) => (Df(t, n, "write to private field"), n.set(t, e), e), Pi, Li, Mi, Fi;
|
|
22467
|
-
let
|
|
22479
|
+
let wt = class extends ke {
|
|
22468
22480
|
constructor() {
|
|
22469
22481
|
super(...arguments), this.upActive = !1, this.downActive = !1, mi(this, Pi, ""), mi(this, Li, ""), mi(this, Mi, null), mi(this, Fi, "");
|
|
22470
22482
|
}
|
|
@@ -22538,28 +22550,28 @@ Pi = /* @__PURE__ */ new WeakMap();
|
|
|
22538
22550
|
Li = /* @__PURE__ */ new WeakMap();
|
|
22539
22551
|
Mi = /* @__PURE__ */ new WeakMap();
|
|
22540
22552
|
Fi = /* @__PURE__ */ new WeakMap();
|
|
22541
|
-
|
|
22553
|
+
wt.styles = [Dp, lk];
|
|
22542
22554
|
dn([
|
|
22543
22555
|
Gr()
|
|
22544
|
-
],
|
|
22556
|
+
], wt.prototype, "upActive", 2);
|
|
22545
22557
|
dn([
|
|
22546
22558
|
Gr()
|
|
22547
|
-
],
|
|
22559
|
+
], wt.prototype, "downActive", 2);
|
|
22548
22560
|
dn([
|
|
22549
22561
|
X({ type: String })
|
|
22550
|
-
],
|
|
22562
|
+
], wt.prototype, "conversationId", 1);
|
|
22551
22563
|
dn([
|
|
22552
22564
|
X({ type: String })
|
|
22553
|
-
],
|
|
22565
|
+
], wt.prototype, "messageId", 1);
|
|
22554
22566
|
dn([
|
|
22555
22567
|
X({ type: Number })
|
|
22556
|
-
],
|
|
22568
|
+
], wt.prototype, "score", 1);
|
|
22557
22569
|
dn([
|
|
22558
22570
|
X({ type: String })
|
|
22559
|
-
],
|
|
22560
|
-
|
|
22571
|
+
], wt.prototype, "apiUrl", 1);
|
|
22572
|
+
wt = dn([
|
|
22561
22573
|
Ze("lr-chatbot-message-rating")
|
|
22562
|
-
],
|
|
22574
|
+
], wt);
|
|
22563
22575
|
var mk = Object.defineProperty, gk = Object.getOwnPropertyDescriptor, pn = (t, n, e, r) => {
|
|
22564
22576
|
for (var i = r > 1 ? void 0 : r ? gk(n, e) : n, a = t.length - 1, o; a >= 0; a--)
|
|
22565
22577
|
(o = t[a]) && (i = (r ? o(n, e, i) : o(i)) || i);
|
|
@@ -22616,15 +22628,15 @@ pn([
|
|
|
22616
22628
|
Ft = pn([
|
|
22617
22629
|
Ze("lr-chatbot-conversation-rating")
|
|
22618
22630
|
], Ft);
|
|
22619
|
-
|
|
22631
|
+
vt(
|
|
22620
22632
|
"lr-icon-whatsapp",
|
|
22621
|
-
|
|
22633
|
+
ft`<path fill-rule="evenodd" clip-rule="evenodd" d="M6.88552 22.2161L5.82669 26.1733L9.78392 25.1145L10.5015 25.5296C12.1174 26.4644 13.9931 27 16 27C22.0752 27 27 22.0751 27 16C27 9.92487 22.0752 5 16 5C9.92491 5 5.00004 9.92487 5.00004 16C5.00004 18.0069 5.53566 19.8826 6.47042 21.4985L6.88552 22.2161ZM3 29L4.73921 22.5C3.6331 20.5879 3.00004 18.3679 3.00004 16C3.00004 8.8203 8.82034 3 16 3C23.1797 3 29 8.8203 29 16C29 23.1797 23.1797 29 16 29C13.6322 29 11.4122 28.3669 9.50004 27.2608L3 29Z" fill="#33CC33"/>
|
|
22622
22634
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.7563 10.2855C12.5194 9.72713 12.2563 9.71357 12.0325 9.71357C11.835 9.70001 11.6236 9.70001 11.3998 9.70001C11.19 9.70001 10.8343 9.78137 10.5318 10.122C10.2286 10.4618 9.3999 11.265 9.3999 12.9113C9.3999 14.5584 10.558 16.1505 10.7162 16.3683C10.8736 16.586 12.9538 20.0693 16.2454 21.4173C18.9829 22.5332 19.5361 22.3154 20.1287 22.2468C20.7205 22.179 22.0376 21.4444 22.3138 20.6548C22.5769 19.8794 22.5769 19.1991 22.4982 19.0627C22.4195 18.9271 22.195 18.8449 21.8794 18.6678C21.55 18.5051 19.9706 17.6883 19.6681 17.5791C19.3649 17.4706 19.1542 17.4163 18.9436 17.7426C18.7329 18.0832 18.1141 18.8314 17.9174 19.0491C17.7322 19.2669 17.5354 19.294 17.2191 19.1305C16.8904 18.9678 15.8503 18.6136 14.6127 17.4706C13.6513 16.5852 13.0063 15.4837 12.8087 15.1574C12.6251 14.8169 12.7825 14.6398 12.9538 14.4763C13.0989 14.3271 13.2833 14.0822 13.4414 13.8916C13.5988 13.7002 13.6513 13.551 13.7701 13.3332C13.8751 13.1155 13.8226 12.9113 13.7439 12.7486C13.6644 12.5986 13.0464 10.9523 12.7563 10.2855Z" fill="#33CC33"/>
|
|
22623
22635
|
`
|
|
22624
22636
|
);
|
|
22625
|
-
|
|
22637
|
+
vt(
|
|
22626
22638
|
"lr-icon-help",
|
|
22627
|
-
|
|
22639
|
+
ft`<path
|
|
22628
22640
|
xmlns="http://www.w3.org/2000/svg"
|
|
22629
22641
|
fillRule="evenodd"
|
|
22630
22642
|
clipRule="evenodd"
|
|
@@ -22632,9 +22644,9 @@ St(
|
|
|
22632
22644
|
fill="currentcolor"
|
|
22633
22645
|
/>`
|
|
22634
22646
|
);
|
|
22635
|
-
|
|
22647
|
+
vt(
|
|
22636
22648
|
"lr-icon-close",
|
|
22637
|
-
|
|
22649
|
+
ft` <path
|
|
22638
22650
|
xmlns="http://www.w3.org/2000/svg"
|
|
22639
22651
|
fillRule="evenodd"
|
|
22640
22652
|
clipRule="evenodd"
|
|
@@ -22642,9 +22654,9 @@ St(
|
|
|
22642
22654
|
fill="currentcolor"
|
|
22643
22655
|
/>`
|
|
22644
22656
|
);
|
|
22645
|
-
|
|
22657
|
+
vt(
|
|
22646
22658
|
"lr-icon-chat",
|
|
22647
|
-
|
|
22659
|
+
ft`<path
|
|
22648
22660
|
xmlns="http://www.w3.org/2000/svg"
|
|
22649
22661
|
fillRule="evenodd"
|
|
22650
22662
|
clipRule="evenodd"
|
|
@@ -22652,9 +22664,9 @@ St(
|
|
|
22652
22664
|
fill="currentcolor"
|
|
22653
22665
|
/>`
|
|
22654
22666
|
);
|
|
22655
|
-
|
|
22667
|
+
vt(
|
|
22656
22668
|
"lr-icon-less",
|
|
22657
|
-
|
|
22669
|
+
ft`<path
|
|
22658
22670
|
xmlns="http://www.w3.org/2000/svg"
|
|
22659
22671
|
fillRule="evenodd"
|
|
22660
22672
|
clipRule="evenodd"
|
|
@@ -22662,6 +22674,16 @@ St(
|
|
|
22662
22674
|
fill="currentcolor"
|
|
22663
22675
|
/>`
|
|
22664
22676
|
);
|
|
22677
|
+
vt(
|
|
22678
|
+
"lr-icon-smartphone",
|
|
22679
|
+
ft`<path
|
|
22680
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22681
|
+
fillRule="evenodd"
|
|
22682
|
+
clipRule="evenodd"
|
|
22683
|
+
d="M7 5V27C7 28.6569 8.34315 30 10 30H22C23.6569 30 25 28.6569 25 27V5C25 3.34315 23.6569 2 22 2H10C8.34315 2 7 3.34314 7 5ZM9 27V5C9 4.44772 9.44772 4 10 4H22C22.5523 4 23 4.44772 23 5V27C23 27.5523 22.5523 28 22 28H10C9.44772 28 9 27.5523 9 27ZM16 25C17.1046 25 18 24.1046 18 23C18 21.8954 17.1046 21 16 21C14.8954 21 14 21.8954 14 23C14 24.1046 14.8954 25 16 25Z"
|
|
22684
|
+
fill="currentcolor"
|
|
22685
|
+
/>`
|
|
22686
|
+
);
|
|
22665
22687
|
/**
|
|
22666
22688
|
* @license
|
|
22667
22689
|
* Copyright 2020 Google LLC
|
|
@@ -23334,7 +23356,7 @@ class Ak extends T_ {
|
|
|
23334
23356
|
getFallbackTranslationsMaps() {
|
|
23335
23357
|
return {
|
|
23336
23358
|
"fr-FR": async () => ({
|
|
23337
|
-
chatbot: (await import("./chatbot-
|
|
23359
|
+
chatbot: (await import("./chatbot-CjsClEOf.js")).default
|
|
23338
23360
|
}),
|
|
23339
23361
|
"pt-PT": async () => {
|
|
23340
23362
|
throw Error("Not available yet");
|
|
@@ -23425,14 +23447,17 @@ $i = /* @__PURE__ */ new WeakMap();
|
|
|
23425
23447
|
Ni = /* @__PURE__ */ new WeakMap();
|
|
23426
23448
|
Di = /* @__PURE__ */ new WeakMap();
|
|
23427
23449
|
const hd = (t) => Object.entries(t).map(([n, e]) => `${n}:${e}`).join(";");
|
|
23428
|
-
|
|
23450
|
+
function Rk() {
|
|
23451
|
+
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
23452
|
+
}
|
|
23453
|
+
var Ik = Object.defineProperty, Pk = Object.getOwnPropertyDescriptor, zf = (t) => {
|
|
23429
23454
|
throw TypeError(t);
|
|
23430
23455
|
}, Jn = (t, n, e, r) => {
|
|
23431
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
23456
|
+
for (var i = r > 1 ? void 0 : r ? Pk(n, e) : n, a = t.length - 1, o; a >= 0; a--)
|
|
23432
23457
|
(o = t[a]) && (i = (r ? o(n, e, i) : o(i)) || i);
|
|
23433
|
-
return r && i &&
|
|
23458
|
+
return r && i && Ik(n, e, i), i;
|
|
23434
23459
|
}, Wf = (t, n, e) => n.has(t) || zf("Cannot " + e), rr = (t, n, e) => (Wf(t, n, "read from private field"), e ? e.call(t) : n.get(t)), ir = (t, n, e) => n.has(t) ? zf("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(t) : n.set(t, e), ar = (t, n, e, r) => (Wf(t, n, "write to private field"), n.set(t, e), e), Bi, Hi, ji, Ui, zi;
|
|
23435
|
-
const
|
|
23460
|
+
const Lk = "lr.chatbot.broadcast_channel." + document.location.hostname, yi = "lr.chatbot.conversation_id", or = "lr.chatbot.conversation_state";
|
|
23436
23461
|
let $t = class extends ke {
|
|
23437
23462
|
constructor() {
|
|
23438
23463
|
super({
|
|
@@ -23440,7 +23465,7 @@ let $t = class extends ke {
|
|
|
23440
23465
|
fetchAsyncServerTranslations: !0
|
|
23441
23466
|
}), ir(this, Bi, "/bff"), ir(this, Hi, !1), ir(this, ji, !1), ir(this, Ui, !1), ir(this, zi, !1), this._closeClickCount = 0, this._isConversationDone = !1, this._broadcastController = new Ok(
|
|
23442
23467
|
this,
|
|
23443
|
-
|
|
23468
|
+
Lk
|
|
23444
23469
|
), this._conversationHistoryTask = this.createConversationHistoryTask(), this.registerBroadcastMessages();
|
|
23445
23470
|
}
|
|
23446
23471
|
get apiUrl() {
|
|
@@ -23474,7 +23499,7 @@ let $t = class extends ke {
|
|
|
23474
23499
|
ar(this, zi, t);
|
|
23475
23500
|
}
|
|
23476
23501
|
getVersion() {
|
|
23477
|
-
return "LR Chatbot - 0.
|
|
23502
|
+
return "LR Chatbot - 0.19.0";
|
|
23478
23503
|
}
|
|
23479
23504
|
async connectedCallback() {
|
|
23480
23505
|
super.connectedCallback(), this._conversationHistoryTask.run();
|
|
@@ -23614,9 +23639,13 @@ let $t = class extends ke {
|
|
|
23614
23639
|
const o = await r.chatbotConversationsPost(i);
|
|
23615
23640
|
if (!o.message)
|
|
23616
23641
|
throw Error();
|
|
23617
|
-
o.conversation_id && a === null && localStorage.setItem(yi, o.conversation_id), o.popup_escalation && (o.message += Ne(
|
|
23618
|
-
|
|
23619
|
-
|
|
23642
|
+
o.conversation_id && a === null && localStorage.setItem(yi, o.conversation_id), o.popup_escalation && (o.message += `<div class='chatbot-button-container'>${Ne(
|
|
23643
|
+
"chatbot:escalation.suggestions",
|
|
23644
|
+
{
|
|
23645
|
+
conversationId: o.conversation_id,
|
|
23646
|
+
context: Rk() ? "mobile" : ""
|
|
23647
|
+
}
|
|
23648
|
+
)}</div>`), o.popup_rate && (o.message += Ne("chatbot:ratingMessage", {
|
|
23620
23649
|
conversationId: o.conversation_id,
|
|
23621
23650
|
messageId: o.message_id,
|
|
23622
23651
|
apiUrl: this.apiUrl
|