lr-chatbot 0.40.23 → 0.40.25
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 +190 -302
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -121,7 +121,6 @@ function Pr(t, r) {
|
|
|
121
121
|
}, Pr(t, r);
|
|
122
122
|
}
|
|
123
123
|
function m() {
|
|
124
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
125
124
|
m = function() {
|
|
126
125
|
return r;
|
|
127
126
|
};
|
|
@@ -14643,11 +14642,6 @@ const S = {
|
|
|
14643
14642
|
spacing: xb,
|
|
14644
14643
|
devices: Cb
|
|
14645
14644
|
};
|
|
14646
|
-
/**
|
|
14647
|
-
* @license
|
|
14648
|
-
* Copyright 2019 Google LLC
|
|
14649
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
14650
|
-
*/
|
|
14651
14645
|
const Di = globalThis, Yo = Di.ShadowRoot && (Di.ShadyCSS === void 0 || Di.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Xo = Symbol(), du = /* @__PURE__ */ new WeakMap();
|
|
14652
14646
|
let zh = class {
|
|
14653
14647
|
constructor(r, e, n) {
|
|
@@ -14685,11 +14679,6 @@ const _ = (t) => new zh(typeof t == "string" ? t : t + "", void 0, Xo), Te = (t,
|
|
|
14685
14679
|
for (const n of r.cssRules) e += n.cssText;
|
|
14686
14680
|
return _(e);
|
|
14687
14681
|
})(t) : t;
|
|
14688
|
-
/**
|
|
14689
|
-
* @license
|
|
14690
|
-
* Copyright 2017 Google LLC
|
|
14691
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
14692
|
-
*/
|
|
14693
14682
|
const { is: Tb, defineProperty: Rb, getOwnPropertyDescriptor: Ob, getOwnPropertyNames: Lb, getOwnPropertySymbols: Ib, getPrototypeOf: Mb } = Object, Ba = globalThis, fu = Ba.trustedTypes, Pb = fu ? fu.emptyScript : "", Nb = Ba.reactiveElementPolyfillSupport, Rr = (t, r) => t, sa = { toAttribute(t, r) {
|
|
14694
14683
|
switch (r) {
|
|
14695
14684
|
case Boolean:
|
|
@@ -14902,11 +14891,6 @@ let jn = class extends HTMLElement {
|
|
|
14902
14891
|
}
|
|
14903
14892
|
};
|
|
14904
14893
|
jn.elementStyles = [], jn.shadowRootOptions = { mode: "open" }, jn[Rr("elementProperties")] = /* @__PURE__ */ new Map(), jn[Rr("finalized")] = /* @__PURE__ */ new Map(), Nb?.({ ReactiveElement: jn }), (Ba.reactiveElementVersions ??= []).push("2.1.1");
|
|
14905
|
-
/**
|
|
14906
|
-
* @license
|
|
14907
|
-
* Copyright 2017 Google LLC
|
|
14908
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
14909
|
-
*/
|
|
14910
14894
|
const Qo = globalThis, oa = Qo.trustedTypes, mu = oa ? oa.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, qh = "$lit$", Ft = `lit$${Math.random().toFixed(9).slice(2)}$`, Vh = "?" + Ft, $b = `<${Vh}>`, gn = document, zr = () => gn.createComment(""), qr = (t) => t === null || typeof t != "object" && typeof t != "function", el = Array.isArray, Db = (t) => el(t) || typeof t?.[Symbol.iterator] == "function", As = `[
|
|
14911
14895
|
\f\r]`, ur = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, gu = /-->/g, vu = />/g, sn = RegExp(`>|${As}(?:([^\\s"'>=/]+)(${As}*=${As}*(?:[^
|
|
14912
14896
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), yu = /'/g, bu = /"/g, Gh = /^(?:script|style|textarea|title)$/i, Wh = (t) => (r, ...e) => ({ _$litType$: t, strings: r, values: e }), ve = Wh(1), ht = Wh(2), qt = Symbol.for("lit-noChange"), ce = Symbol.for("lit-nothing"), wu = /* @__PURE__ */ new WeakMap(), cn = gn.createTreeWalker(gn, 129);
|
|
@@ -15132,11 +15116,6 @@ const Vb = (t, r, e) => {
|
|
|
15132
15116
|
}
|
|
15133
15117
|
return i._$AI(t), i;
|
|
15134
15118
|
};
|
|
15135
|
-
/**
|
|
15136
|
-
* @license
|
|
15137
|
-
* Copyright 2017 Google LLC
|
|
15138
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
15139
|
-
*/
|
|
15140
15119
|
const tl = globalThis;
|
|
15141
15120
|
let Or = class extends jn {
|
|
15142
15121
|
constructor() {
|
|
@@ -15438,21 +15417,11 @@ const Wb = Te`
|
|
|
15438
15417
|
}
|
|
15439
15418
|
}
|
|
15440
15419
|
`;
|
|
15441
|
-
/**
|
|
15442
|
-
* @license
|
|
15443
|
-
* Copyright 2017 Google LLC
|
|
15444
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
15445
|
-
*/
|
|
15446
15420
|
const Ve = (t) => (r, e) => {
|
|
15447
15421
|
e !== void 0 ? e.addInitializer((() => {
|
|
15448
15422
|
customElements.define(t, r);
|
|
15449
15423
|
})) : customElements.define(t, r);
|
|
15450
15424
|
};
|
|
15451
|
-
/**
|
|
15452
|
-
* @license
|
|
15453
|
-
* Copyright 2017 Google LLC
|
|
15454
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
15455
|
-
*/
|
|
15456
15425
|
const Jb = { attribute: !0, type: String, converter: sa, reflect: !1, hasChanged: ja }, Zb = (t = Jb, r, e) => {
|
|
15457
15426
|
const { kind: n, metadata: i } = e;
|
|
15458
15427
|
let a = globalThis.litPropertyMetadata.get(i);
|
|
@@ -15480,25 +15449,10 @@ function V(t) {
|
|
|
15480
15449
|
return i.constructor.createProperty(a, n), s ? Object.getOwnPropertyDescriptor(i, a) : void 0;
|
|
15481
15450
|
})(t, r, e);
|
|
15482
15451
|
}
|
|
15483
|
-
/**
|
|
15484
|
-
* @license
|
|
15485
|
-
* Copyright 2017 Google LLC
|
|
15486
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
15487
|
-
*/
|
|
15488
15452
|
function kt(t) {
|
|
15489
15453
|
return V({ ...t, state: !0, attribute: !1 });
|
|
15490
15454
|
}
|
|
15491
|
-
/**
|
|
15492
|
-
* @license
|
|
15493
|
-
* Copyright 2018 Google LLC
|
|
15494
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
15495
|
-
*/
|
|
15496
15455
|
const zn = (t) => t ?? ce;
|
|
15497
|
-
/**
|
|
15498
|
-
* @license
|
|
15499
|
-
* Copyright 2017 Google LLC
|
|
15500
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
15501
|
-
*/
|
|
15502
15456
|
const Ha = { ATTRIBUTE: 1, CHILD: 2 }, za = (t) => (...r) => ({ _$litDirective$: t, values: r });
|
|
15503
15457
|
let nl = class {
|
|
15504
15458
|
constructor(r) {
|
|
@@ -15516,11 +15470,6 @@ let nl = class {
|
|
|
15516
15470
|
return this.render(...e);
|
|
15517
15471
|
}
|
|
15518
15472
|
};
|
|
15519
|
-
/**
|
|
15520
|
-
* @license
|
|
15521
|
-
* Copyright 2018 Google LLC
|
|
15522
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
15523
|
-
*/
|
|
15524
15473
|
const qa = za(class extends nl {
|
|
15525
15474
|
constructor(t) {
|
|
15526
15475
|
if (super(t), t.type !== Ha.ATTRIBUTE || t.name !== "class" || t.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
@@ -17813,11 +17762,6 @@ const Pw = {
|
|
|
17813
17762
|
useSuspense: !1
|
|
17814
17763
|
}
|
|
17815
17764
|
};
|
|
17816
|
-
/**
|
|
17817
|
-
* @license
|
|
17818
|
-
* Copyright 2017 Google LLC
|
|
17819
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
17820
|
-
*/
|
|
17821
17765
|
const Rs = { INITIAL: 0, PENDING: 1, ERROR: 3 }, Nw = Symbol();
|
|
17822
17766
|
let Qh = class {
|
|
17823
17767
|
get taskComplete() {
|
|
@@ -18157,7 +18101,7 @@ const Yt = (t) => (Array.isArray(Os[t]) ? Os[t] : [Os[t]]).filter((e) => !!e), G
|
|
|
18157
18101
|
}, Yw = (t, r) => Yt(r).find((i) => i.toLowerCase().startsWith(`${t}-${r}`.toLowerCase())), Xw = (t, r) => Yt(r).filter((i) => po(r, i)).find((i) => i.toLowerCase() === t.toLowerCase()), Qw = (t) => {
|
|
18158
18102
|
const r = Yt(t);
|
|
18159
18103
|
return r.length > 0 ? r[0] : "fr-FR";
|
|
18160
|
-
},
|
|
18104
|
+
}, e_ = (t) => {
|
|
18161
18105
|
const { country: r, cookies: e, path: n, isFromWebview: i, acceptLanguageHeader: a, queryLang: s, autoTranslateHeader: o } = t;
|
|
18162
18106
|
if (s) {
|
|
18163
18107
|
const u = Yw(s, r);
|
|
@@ -18181,24 +18125,24 @@ function ef(t, r) {
|
|
|
18181
18125
|
return t.apply(r, arguments);
|
|
18182
18126
|
};
|
|
18183
18127
|
}
|
|
18184
|
-
const { toString:
|
|
18185
|
-
const e =
|
|
18128
|
+
const { toString: t_ } = Object.prototype, { getPrototypeOf: il } = Object, { iterator: Wa, toStringTag: tf } = Symbol, Ka = /* @__PURE__ */ ((t) => (r) => {
|
|
18129
|
+
const e = t_.call(r);
|
|
18186
18130
|
return t[e] || (t[e] = e.slice(8, -1).toLowerCase());
|
|
18187
18131
|
})(/* @__PURE__ */ Object.create(null)), ft = (t) => (t = t.toLowerCase(), (r) => Ka(r) === t), Ja = (t) => (r) => typeof r === t, { isArray: tr } = Array, Kn = Ja("undefined");
|
|
18188
18132
|
function ai(t) {
|
|
18189
18133
|
return t !== null && !Kn(t) && t.constructor !== null && !Kn(t.constructor) && Ze(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
18190
18134
|
}
|
|
18191
18135
|
const nf = ft("ArrayBuffer");
|
|
18192
|
-
function
|
|
18136
|
+
function n_(t) {
|
|
18193
18137
|
let r;
|
|
18194
18138
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(t) : r = t && t.buffer && nf(t.buffer), r;
|
|
18195
18139
|
}
|
|
18196
|
-
const
|
|
18140
|
+
const r_ = Ja("string"), Ze = Ja("function"), rf = Ja("number"), si = (t) => t !== null && typeof t == "object", i_ = (t) => t === !0 || t === !1, Fi = (t) => {
|
|
18197
18141
|
if (Ka(t) !== "object")
|
|
18198
18142
|
return !1;
|
|
18199
18143
|
const r = il(t);
|
|
18200
18144
|
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(tf in t) && !(Wa in t);
|
|
18201
|
-
},
|
|
18145
|
+
}, a_ = (t) => {
|
|
18202
18146
|
if (!si(t) || ai(t))
|
|
18203
18147
|
return !1;
|
|
18204
18148
|
try {
|
|
@@ -18206,16 +18150,16 @@ const r3 = Ja("string"), Ze = Ja("function"), rf = Ja("number"), si = (t) => t !
|
|
|
18206
18150
|
} catch {
|
|
18207
18151
|
return !1;
|
|
18208
18152
|
}
|
|
18209
|
-
},
|
|
18153
|
+
}, s_ = ft("Date"), o_ = ft("File"), l_ = ft("Blob"), c_ = ft("FileList"), u_ = (t) => si(t) && Ze(t.pipe), d_ = (t) => {
|
|
18210
18154
|
let r;
|
|
18211
18155
|
return t && (typeof FormData == "function" && t instanceof FormData || Ze(t.append) && ((r = Ka(t)) === "formdata" || // detect form-data instance
|
|
18212
18156
|
r === "object" && Ze(t.toString) && t.toString() === "[object FormData]"));
|
|
18213
|
-
},
|
|
18157
|
+
}, h_ = ft("URLSearchParams"), [f_, p_, m_, g_] = [
|
|
18214
18158
|
"ReadableStream",
|
|
18215
18159
|
"Request",
|
|
18216
18160
|
"Response",
|
|
18217
18161
|
"Headers"
|
|
18218
|
-
].map(ft),
|
|
18162
|
+
].map(ft), v_ = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
18219
18163
|
function oi(t, r, { allOwnKeys: e = !1 } = {}) {
|
|
18220
18164
|
if (t === null || typeof t > "u")
|
|
18221
18165
|
return;
|
|
@@ -18255,7 +18199,7 @@ function mo() {
|
|
|
18255
18199
|
arguments[i] && oi(arguments[i], n);
|
|
18256
18200
|
return e;
|
|
18257
18201
|
}
|
|
18258
|
-
const
|
|
18202
|
+
const y_ = (t, r, e, { allOwnKeys: n } = {}) => (oi(
|
|
18259
18203
|
r,
|
|
18260
18204
|
(i, a) => {
|
|
18261
18205
|
e && Ze(i) ? Object.defineProperty(t, a, {
|
|
@@ -18271,7 +18215,7 @@ const y3 = (t, r, e, { allOwnKeys: n } = {}) => (oi(
|
|
|
18271
18215
|
});
|
|
18272
18216
|
},
|
|
18273
18217
|
{ allOwnKeys: n }
|
|
18274
|
-
), t),
|
|
18218
|
+
), t), b_ = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), w_ = (t, r, e, n) => {
|
|
18275
18219
|
t.prototype = Object.create(
|
|
18276
18220
|
r.prototype,
|
|
18277
18221
|
n
|
|
@@ -18283,7 +18227,7 @@ const y3 = (t, r, e, { allOwnKeys: n } = {}) => (oi(
|
|
|
18283
18227
|
}), Object.defineProperty(t, "super", {
|
|
18284
18228
|
value: r.prototype
|
|
18285
18229
|
}), e && Object.assign(t.prototype, e);
|
|
18286
|
-
},
|
|
18230
|
+
}, __ = (t, r, e, n) => {
|
|
18287
18231
|
let i, a, s;
|
|
18288
18232
|
const o = {};
|
|
18289
18233
|
if (r = r || {}, t == null) return r;
|
|
@@ -18293,11 +18237,11 @@ const y3 = (t, r, e, { allOwnKeys: n } = {}) => (oi(
|
|
|
18293
18237
|
t = e !== !1 && il(t);
|
|
18294
18238
|
} while (t && (!e || e(t, r)) && t !== Object.prototype);
|
|
18295
18239
|
return r;
|
|
18296
|
-
},
|
|
18240
|
+
}, S_ = (t, r, e) => {
|
|
18297
18241
|
t = String(t), (e === void 0 || e > t.length) && (e = t.length), e -= r.length;
|
|
18298
18242
|
const n = t.indexOf(r, e);
|
|
18299
18243
|
return n !== -1 && n === e;
|
|
18300
|
-
},
|
|
18244
|
+
}, k_ = (t) => {
|
|
18301
18245
|
if (!t) return null;
|
|
18302
18246
|
if (tr(t)) return t;
|
|
18303
18247
|
let r = t.length;
|
|
@@ -18306,28 +18250,28 @@ const y3 = (t, r, e, { allOwnKeys: n } = {}) => (oi(
|
|
|
18306
18250
|
for (; r-- > 0; )
|
|
18307
18251
|
e[r] = t[r];
|
|
18308
18252
|
return e;
|
|
18309
|
-
},
|
|
18253
|
+
}, C_ = /* @__PURE__ */ ((t) => (r) => t && r instanceof t)(typeof Uint8Array < "u" && il(Uint8Array)), E_ = (t, r) => {
|
|
18310
18254
|
const n = (t && t[Wa]).call(t);
|
|
18311
18255
|
let i;
|
|
18312
18256
|
for (; (i = n.next()) && !i.done; ) {
|
|
18313
18257
|
const a = i.value;
|
|
18314
18258
|
r.call(t, a[0], a[1]);
|
|
18315
18259
|
}
|
|
18316
|
-
},
|
|
18260
|
+
}, x_ = (t, r) => {
|
|
18317
18261
|
let e;
|
|
18318
18262
|
const n = [];
|
|
18319
18263
|
for (; (e = t.exec(r)) !== null; )
|
|
18320
18264
|
n.push(e);
|
|
18321
18265
|
return n;
|
|
18322
|
-
},
|
|
18266
|
+
}, A_ = ft("HTMLFormElement"), T_ = (t) => t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(e, n, i) {
|
|
18323
18267
|
return n.toUpperCase() + i;
|
|
18324
|
-
}), zu = (({ hasOwnProperty: t }) => (r, e) => t.call(r, e))(Object.prototype),
|
|
18268
|
+
}), zu = (({ hasOwnProperty: t }) => (r, e) => t.call(r, e))(Object.prototype), R_ = ft("RegExp"), of = (t, r) => {
|
|
18325
18269
|
const e = Object.getOwnPropertyDescriptors(t), n = {};
|
|
18326
18270
|
oi(e, (i, a) => {
|
|
18327
18271
|
let s;
|
|
18328
18272
|
(s = r(i, a, t)) !== !1 && (n[a] = s || i);
|
|
18329
18273
|
}), Object.defineProperties(t, n);
|
|
18330
|
-
},
|
|
18274
|
+
}, O_ = (t) => {
|
|
18331
18275
|
of(t, (r, e) => {
|
|
18332
18276
|
if (Ze(t) && ["arguments", "caller", "callee"].indexOf(e) !== -1)
|
|
18333
18277
|
return !1;
|
|
@@ -18342,19 +18286,19 @@ const y3 = (t, r, e, { allOwnKeys: n } = {}) => (oi(
|
|
|
18342
18286
|
});
|
|
18343
18287
|
}
|
|
18344
18288
|
});
|
|
18345
|
-
},
|
|
18289
|
+
}, L_ = (t, r) => {
|
|
18346
18290
|
const e = {}, n = (i) => {
|
|
18347
18291
|
i.forEach((a) => {
|
|
18348
18292
|
e[a] = !0;
|
|
18349
18293
|
});
|
|
18350
18294
|
};
|
|
18351
18295
|
return tr(t) ? n(t) : n(String(t).split(r)), e;
|
|
18352
|
-
},
|
|
18353
|
-
},
|
|
18354
|
-
function
|
|
18296
|
+
}, I_ = () => {
|
|
18297
|
+
}, M_ = (t, r) => t != null && Number.isFinite(t = +t) ? t : r;
|
|
18298
|
+
function P_(t) {
|
|
18355
18299
|
return !!(t && Ze(t.append) && t[tf] === "FormData" && t[Wa]);
|
|
18356
18300
|
}
|
|
18357
|
-
const
|
|
18301
|
+
const N_ = (t) => {
|
|
18358
18302
|
const r = new Array(10), e = (n, i) => {
|
|
18359
18303
|
if (si(n)) {
|
|
18360
18304
|
if (r.indexOf(n) >= 0)
|
|
@@ -18373,7 +18317,7 @@ const N3 = (t) => {
|
|
|
18373
18317
|
return n;
|
|
18374
18318
|
};
|
|
18375
18319
|
return e(t, 0);
|
|
18376
|
-
}, $
|
|
18320
|
+
}, $_ = ft("AsyncFunction"), D_ = (t) => t && (si(t) || Ze(t)) && Ze(t.then) && Ze(t.catch), lf = ((t, r) => t ? setImmediate : r ? ((e, n) => (un.addEventListener(
|
|
18377
18321
|
"message",
|
|
18378
18322
|
({ source: i, data: a }) => {
|
|
18379
18323
|
i === un && a === e && n.length && n.shift()();
|
|
@@ -18381,65 +18325,65 @@ const N3 = (t) => {
|
|
|
18381
18325
|
!1
|
|
18382
18326
|
), (i) => {
|
|
18383
18327
|
n.push(i), un.postMessage(e, "*");
|
|
18384
|
-
}))(`axios@${Math.random()}`, []) : (e) => setTimeout(e))(typeof setImmediate == "function", Ze(un.postMessage)),
|
|
18328
|
+
}))(`axios@${Math.random()}`, []) : (e) => setTimeout(e))(typeof setImmediate == "function", Ze(un.postMessage)), F_ = typeof queueMicrotask < "u" ? queueMicrotask.bind(un) : typeof process < "u" && process.nextTick || lf, B_ = (t) => t != null && Ze(t[Wa]), x = {
|
|
18385
18329
|
isArray: tr,
|
|
18386
18330
|
isArrayBuffer: nf,
|
|
18387
18331
|
isBuffer: ai,
|
|
18388
|
-
isFormData:
|
|
18389
|
-
isArrayBufferView:
|
|
18390
|
-
isString:
|
|
18332
|
+
isFormData: d_,
|
|
18333
|
+
isArrayBufferView: n_,
|
|
18334
|
+
isString: r_,
|
|
18391
18335
|
isNumber: rf,
|
|
18392
|
-
isBoolean:
|
|
18336
|
+
isBoolean: i_,
|
|
18393
18337
|
isObject: si,
|
|
18394
18338
|
isPlainObject: Fi,
|
|
18395
|
-
isEmptyObject:
|
|
18396
|
-
isReadableStream:
|
|
18397
|
-
isRequest:
|
|
18398
|
-
isResponse:
|
|
18399
|
-
isHeaders:
|
|
18339
|
+
isEmptyObject: a_,
|
|
18340
|
+
isReadableStream: f_,
|
|
18341
|
+
isRequest: p_,
|
|
18342
|
+
isResponse: m_,
|
|
18343
|
+
isHeaders: g_,
|
|
18400
18344
|
isUndefined: Kn,
|
|
18401
|
-
isDate:
|
|
18402
|
-
isFile:
|
|
18403
|
-
isBlob:
|
|
18404
|
-
isRegExp:
|
|
18345
|
+
isDate: s_,
|
|
18346
|
+
isFile: o_,
|
|
18347
|
+
isBlob: l_,
|
|
18348
|
+
isRegExp: R_,
|
|
18405
18349
|
isFunction: Ze,
|
|
18406
|
-
isStream:
|
|
18407
|
-
isURLSearchParams:
|
|
18408
|
-
isTypedArray:
|
|
18409
|
-
isFileList:
|
|
18350
|
+
isStream: u_,
|
|
18351
|
+
isURLSearchParams: h_,
|
|
18352
|
+
isTypedArray: C_,
|
|
18353
|
+
isFileList: c_,
|
|
18410
18354
|
forEach: oi,
|
|
18411
18355
|
merge: mo,
|
|
18412
|
-
extend:
|
|
18413
|
-
trim:
|
|
18414
|
-
stripBOM:
|
|
18415
|
-
inherits:
|
|
18416
|
-
toFlatObject:
|
|
18356
|
+
extend: y_,
|
|
18357
|
+
trim: v_,
|
|
18358
|
+
stripBOM: b_,
|
|
18359
|
+
inherits: w_,
|
|
18360
|
+
toFlatObject: __,
|
|
18417
18361
|
kindOf: Ka,
|
|
18418
18362
|
kindOfTest: ft,
|
|
18419
|
-
endsWith:
|
|
18420
|
-
toArray:
|
|
18421
|
-
forEachEntry:
|
|
18422
|
-
matchAll:
|
|
18423
|
-
isHTMLForm:
|
|
18363
|
+
endsWith: S_,
|
|
18364
|
+
toArray: k_,
|
|
18365
|
+
forEachEntry: E_,
|
|
18366
|
+
matchAll: x_,
|
|
18367
|
+
isHTMLForm: A_,
|
|
18424
18368
|
hasOwnProperty: zu,
|
|
18425
18369
|
hasOwnProp: zu,
|
|
18426
18370
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
18427
18371
|
reduceDescriptors: of,
|
|
18428
|
-
freezeMethods:
|
|
18429
|
-
toObjectSet:
|
|
18430
|
-
toCamelCase:
|
|
18431
|
-
noop:
|
|
18432
|
-
toFiniteNumber:
|
|
18372
|
+
freezeMethods: O_,
|
|
18373
|
+
toObjectSet: L_,
|
|
18374
|
+
toCamelCase: T_,
|
|
18375
|
+
noop: I_,
|
|
18376
|
+
toFiniteNumber: M_,
|
|
18433
18377
|
findKey: af,
|
|
18434
18378
|
global: un,
|
|
18435
18379
|
isContextDefined: sf,
|
|
18436
|
-
isSpecCompliantForm:
|
|
18437
|
-
toJSONObject:
|
|
18438
|
-
isAsyncFn: $
|
|
18439
|
-
isThenable:
|
|
18380
|
+
isSpecCompliantForm: P_,
|
|
18381
|
+
toJSONObject: N_,
|
|
18382
|
+
isAsyncFn: $_,
|
|
18383
|
+
isThenable: D_,
|
|
18440
18384
|
setImmediate: lf,
|
|
18441
|
-
asap:
|
|
18442
|
-
isIterable:
|
|
18385
|
+
asap: F_,
|
|
18386
|
+
isIterable: B_
|
|
18443
18387
|
};
|
|
18444
18388
|
let Y = class cf extends Error {
|
|
18445
18389
|
static from(r, e, n, i, a, s) {
|
|
@@ -18492,7 +18436,7 @@ Y.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
|
|
|
18492
18436
|
Y.ERR_CANCELED = "ERR_CANCELED";
|
|
18493
18437
|
Y.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
|
|
18494
18438
|
Y.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
18495
|
-
const
|
|
18439
|
+
const j_ = null;
|
|
18496
18440
|
function go(t) {
|
|
18497
18441
|
return x.isPlainObject(t) || x.isArray(t);
|
|
18498
18442
|
}
|
|
@@ -18504,10 +18448,10 @@ function qu(t, r, e) {
|
|
|
18504
18448
|
return i = uf(i), !e && a ? "[" + i + "]" : i;
|
|
18505
18449
|
}).join(e ? "." : "") : r;
|
|
18506
18450
|
}
|
|
18507
|
-
function
|
|
18451
|
+
function U_(t) {
|
|
18508
18452
|
return x.isArray(t) && !t.some(go);
|
|
18509
18453
|
}
|
|
18510
|
-
const
|
|
18454
|
+
const H_ = x.toFlatObject(x, {}, null, function(r) {
|
|
18511
18455
|
return /^is[A-Z]/.test(r);
|
|
18512
18456
|
});
|
|
18513
18457
|
function Za(t, r, e) {
|
|
@@ -18538,7 +18482,7 @@ function Za(t, r, e) {
|
|
|
18538
18482
|
if (p && !g && typeof p == "object") {
|
|
18539
18483
|
if (x.endsWith(y, "{}"))
|
|
18540
18484
|
y = n ? y : y.slice(0, -2), p = JSON.stringify(p);
|
|
18541
|
-
else if (x.isArray(p) &&
|
|
18485
|
+
else if (x.isArray(p) && U_(p) || (x.isFileList(p) || x.endsWith(y, "[]")) && (v = x.toArray(p)))
|
|
18542
18486
|
return y = uf(y), v.forEach(function(k, O) {
|
|
18543
18487
|
!(x.isUndefined(k) || k === null) && r.append(
|
|
18544
18488
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -18549,7 +18493,7 @@ function Za(t, r, e) {
|
|
|
18549
18493
|
}
|
|
18550
18494
|
return go(p) ? !0 : (r.append(qu(g, y, a), c(p)), !1);
|
|
18551
18495
|
}
|
|
18552
|
-
const d = [], h = Object.assign(
|
|
18496
|
+
const d = [], h = Object.assign(H_, {
|
|
18553
18497
|
defaultVisitor: u,
|
|
18554
18498
|
convertValue: c,
|
|
18555
18499
|
isVisitable: go
|
|
@@ -18602,13 +18546,13 @@ df.toString = function(r) {
|
|
|
18602
18546
|
return e(i[0]) + "=" + e(i[1]);
|
|
18603
18547
|
}, "").join("&");
|
|
18604
18548
|
};
|
|
18605
|
-
function
|
|
18549
|
+
function z_(t) {
|
|
18606
18550
|
return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
18607
18551
|
}
|
|
18608
18552
|
function hf(t, r, e) {
|
|
18609
18553
|
if (!r)
|
|
18610
18554
|
return t;
|
|
18611
|
-
const n = e && e.encode ||
|
|
18555
|
+
const n = e && e.encode || z_, i = x.isFunction(e) ? {
|
|
18612
18556
|
serialize: e
|
|
18613
18557
|
} : e, a = i && i.serialize;
|
|
18614
18558
|
let s;
|
|
@@ -18678,27 +18622,27 @@ const sl = {
|
|
|
18678
18622
|
forcedJSONParsing: !0,
|
|
18679
18623
|
clarifyTimeoutError: !1,
|
|
18680
18624
|
legacyInterceptorReqResOrdering: !0
|
|
18681
|
-
},
|
|
18625
|
+
}, q_ = typeof URLSearchParams < "u" ? URLSearchParams : al, V_ = typeof FormData < "u" ? FormData : null, G_ = typeof Blob < "u" ? Blob : null, W_ = {
|
|
18682
18626
|
isBrowser: !0,
|
|
18683
18627
|
classes: {
|
|
18684
|
-
URLSearchParams:
|
|
18685
|
-
FormData:
|
|
18686
|
-
Blob:
|
|
18628
|
+
URLSearchParams: q_,
|
|
18629
|
+
FormData: V_,
|
|
18630
|
+
Blob: G_
|
|
18687
18631
|
},
|
|
18688
18632
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
18689
|
-
}, ol = typeof window < "u" && typeof document < "u", vo = typeof navigator == "object" && navigator || void 0,
|
|
18690
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
18633
|
+
}, ol = typeof window < "u" && typeof document < "u", vo = typeof navigator == "object" && navigator || void 0, K_ = ol && (!vo || ["ReactNative", "NativeScript", "NS"].indexOf(vo.product) < 0), J_ = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
18634
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Z_ = ol && window.location.href || "http://localhost", Y_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18691
18635
|
__proto__: null,
|
|
18692
18636
|
hasBrowserEnv: ol,
|
|
18693
|
-
hasStandardBrowserEnv:
|
|
18694
|
-
hasStandardBrowserWebWorkerEnv:
|
|
18637
|
+
hasStandardBrowserEnv: K_,
|
|
18638
|
+
hasStandardBrowserWebWorkerEnv: J_,
|
|
18695
18639
|
navigator: vo,
|
|
18696
|
-
origin:
|
|
18640
|
+
origin: Z_
|
|
18697
18641
|
}, Symbol.toStringTag, { value: "Module" })), Be = {
|
|
18698
|
-
...
|
|
18699
|
-
...
|
|
18642
|
+
...Y_,
|
|
18643
|
+
...W_
|
|
18700
18644
|
};
|
|
18701
|
-
function
|
|
18645
|
+
function X_(t, r) {
|
|
18702
18646
|
return Za(t, new Be.classes.URLSearchParams(), {
|
|
18703
18647
|
visitor: function(e, n, i, a) {
|
|
18704
18648
|
return Be.isNode && x.isBuffer(e) ? (this.append(n, e.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
|
|
@@ -18706,10 +18650,10 @@ function X3(t, r) {
|
|
|
18706
18650
|
...r
|
|
18707
18651
|
});
|
|
18708
18652
|
}
|
|
18709
|
-
function
|
|
18653
|
+
function Q_(t) {
|
|
18710
18654
|
return x.matchAll(/\w+|\[(\w*)]/g, t).map((r) => r[0] === "[]" ? "" : r[1] || r[0]);
|
|
18711
18655
|
}
|
|
18712
|
-
function
|
|
18656
|
+
function e3(t) {
|
|
18713
18657
|
const r = {}, e = Object.keys(t);
|
|
18714
18658
|
let n;
|
|
18715
18659
|
const i = e.length;
|
|
@@ -18723,17 +18667,17 @@ function ff(t) {
|
|
|
18723
18667
|
let s = e[a++];
|
|
18724
18668
|
if (s === "__proto__") return !0;
|
|
18725
18669
|
const o = Number.isFinite(+s), l = a >= e.length;
|
|
18726
|
-
return s = !s && x.isArray(i) ? i.length : s, l ? (x.hasOwnProp(i, s) ? i[s] = [i[s], n] : i[s] = n, !o) : ((!i[s] || !x.isObject(i[s])) && (i[s] = []), r(e, n, i[s], a) && x.isArray(i[s]) && (i[s] =
|
|
18670
|
+
return s = !s && x.isArray(i) ? i.length : s, l ? (x.hasOwnProp(i, s) ? i[s] = [i[s], n] : i[s] = n, !o) : ((!i[s] || !x.isObject(i[s])) && (i[s] = []), r(e, n, i[s], a) && x.isArray(i[s]) && (i[s] = e3(i[s])), !o);
|
|
18727
18671
|
}
|
|
18728
18672
|
if (x.isFormData(t) && x.isFunction(t.entries)) {
|
|
18729
18673
|
const e = {};
|
|
18730
18674
|
return x.forEachEntry(t, (n, i) => {
|
|
18731
|
-
r(
|
|
18675
|
+
r(Q_(n), i, e, 0);
|
|
18732
18676
|
}), e;
|
|
18733
18677
|
}
|
|
18734
18678
|
return null;
|
|
18735
18679
|
}
|
|
18736
|
-
function
|
|
18680
|
+
function t3(t, r, e) {
|
|
18737
18681
|
if (x.isString(t))
|
|
18738
18682
|
try {
|
|
18739
18683
|
return (r || JSON.parse)(t), x.trim(t);
|
|
@@ -18759,7 +18703,7 @@ const li = {
|
|
|
18759
18703
|
let o;
|
|
18760
18704
|
if (a) {
|
|
18761
18705
|
if (n.indexOf("application/x-www-form-urlencoded") > -1)
|
|
18762
|
-
return
|
|
18706
|
+
return X_(r, this.formSerializer).toString();
|
|
18763
18707
|
if ((o = x.isFileList(r)) || n.indexOf("multipart/form-data") > -1) {
|
|
18764
18708
|
const l = this.env && this.env.FormData;
|
|
18765
18709
|
return Za(
|
|
@@ -18769,7 +18713,7 @@ const li = {
|
|
|
18769
18713
|
);
|
|
18770
18714
|
}
|
|
18771
18715
|
}
|
|
18772
|
-
return a || i ? (e.setContentType("application/json", !1),
|
|
18716
|
+
return a || i ? (e.setContentType("application/json", !1), t3(r)) : r;
|
|
18773
18717
|
}],
|
|
18774
18718
|
transformResponse: [function(r) {
|
|
18775
18719
|
const e = this.transitional || li.transitional, n = e && e.forcedJSONParsing, i = this.responseType === "json";
|
|
@@ -18812,7 +18756,7 @@ const li = {
|
|
|
18812
18756
|
x.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
|
|
18813
18757
|
li.headers[t] = {};
|
|
18814
18758
|
});
|
|
18815
|
-
const
|
|
18759
|
+
const n3 = x.toObjectSet([
|
|
18816
18760
|
"age",
|
|
18817
18761
|
"authorization",
|
|
18818
18762
|
"content-length",
|
|
@@ -18830,12 +18774,12 @@ const n_ = x.toObjectSet([
|
|
|
18830
18774
|
"referer",
|
|
18831
18775
|
"retry-after",
|
|
18832
18776
|
"user-agent"
|
|
18833
|
-
]),
|
|
18777
|
+
]), r3 = (t) => {
|
|
18834
18778
|
const r = {};
|
|
18835
18779
|
let e, n, i;
|
|
18836
18780
|
return t && t.split(`
|
|
18837
18781
|
`).forEach(function(s) {
|
|
18838
|
-
i = s.indexOf(":"), e = s.substring(0, i).trim().toLowerCase(), n = s.substring(i + 1).trim(), !(!e || r[e] &&
|
|
18782
|
+
i = s.indexOf(":"), e = s.substring(0, i).trim().toLowerCase(), n = s.substring(i + 1).trim(), !(!e || r[e] && n3[e]) && (e === "set-cookie" ? r[e] ? r[e].push(n) : r[e] = [n] : r[e] = r[e] ? r[e] + ", " + n : n);
|
|
18839
18783
|
}), r;
|
|
18840
18784
|
}, Wu = Symbol("internals");
|
|
18841
18785
|
function fr(t) {
|
|
@@ -18844,14 +18788,14 @@ function fr(t) {
|
|
|
18844
18788
|
function Bi(t) {
|
|
18845
18789
|
return t === !1 || t == null ? t : x.isArray(t) ? t.map(Bi) : String(t);
|
|
18846
18790
|
}
|
|
18847
|
-
function
|
|
18791
|
+
function i3(t) {
|
|
18848
18792
|
const r = /* @__PURE__ */ Object.create(null), e = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
18849
18793
|
let n;
|
|
18850
18794
|
for (; n = e.exec(t); )
|
|
18851
18795
|
r[n[1]] = n[2];
|
|
18852
18796
|
return r;
|
|
18853
18797
|
}
|
|
18854
|
-
const
|
|
18798
|
+
const a3 = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
|
|
18855
18799
|
function Is(t, r, e, n, i) {
|
|
18856
18800
|
if (x.isFunction(n))
|
|
18857
18801
|
return n.call(this, r, e);
|
|
@@ -18862,10 +18806,10 @@ function Is(t, r, e, n, i) {
|
|
|
18862
18806
|
return n.test(r);
|
|
18863
18807
|
}
|
|
18864
18808
|
}
|
|
18865
|
-
function
|
|
18809
|
+
function s3(t) {
|
|
18866
18810
|
return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (r, e, n) => e.toUpperCase() + n);
|
|
18867
18811
|
}
|
|
18868
|
-
function
|
|
18812
|
+
function o3(t, r) {
|
|
18869
18813
|
const e = x.toCamelCase(" " + r);
|
|
18870
18814
|
["get", "set", "has"].forEach((n) => {
|
|
18871
18815
|
Object.defineProperty(t, n + e, {
|
|
@@ -18892,8 +18836,8 @@ let Ye = class {
|
|
|
18892
18836
|
const s = (o, l) => x.forEach(o, (c, u) => a(c, u, l));
|
|
18893
18837
|
if (x.isPlainObject(r) || r instanceof this.constructor)
|
|
18894
18838
|
s(r, e);
|
|
18895
|
-
else if (x.isString(r) && (r = r.trim()) && !
|
|
18896
|
-
s(
|
|
18839
|
+
else if (x.isString(r) && (r = r.trim()) && !a3(r))
|
|
18840
|
+
s(r3(r), e);
|
|
18897
18841
|
else if (x.isObject(r) && x.isIterable(r)) {
|
|
18898
18842
|
let o = {}, l, c;
|
|
18899
18843
|
for (const u of r) {
|
|
@@ -18914,7 +18858,7 @@ let Ye = class {
|
|
|
18914
18858
|
if (!e)
|
|
18915
18859
|
return i;
|
|
18916
18860
|
if (e === !0)
|
|
18917
|
-
return
|
|
18861
|
+
return i3(i);
|
|
18918
18862
|
if (x.isFunction(e))
|
|
18919
18863
|
return e.call(this, i, n);
|
|
18920
18864
|
if (x.isRegExp(e))
|
|
@@ -18958,7 +18902,7 @@ let Ye = class {
|
|
|
18958
18902
|
e[s] = Bi(i), delete e[a];
|
|
18959
18903
|
return;
|
|
18960
18904
|
}
|
|
18961
|
-
const o = r ?
|
|
18905
|
+
const o = r ? s3(a) : String(a).trim();
|
|
18962
18906
|
o !== a && delete e[a], e[o] = Bi(i), n[o] = !0;
|
|
18963
18907
|
}), this;
|
|
18964
18908
|
}
|
|
@@ -18997,7 +18941,7 @@ let Ye = class {
|
|
|
18997
18941
|
}).accessors, i = this.prototype;
|
|
18998
18942
|
function a(s) {
|
|
18999
18943
|
const o = fr(s);
|
|
19000
|
-
n[o] || (
|
|
18944
|
+
n[o] || (o3(i, s), n[o] = !0);
|
|
19001
18945
|
}
|
|
19002
18946
|
return x.isArray(r) ? r.forEach(a) : a(r), this;
|
|
19003
18947
|
}
|
|
@@ -19047,11 +18991,11 @@ function mf(t, r, e) {
|
|
|
19047
18991
|
e
|
|
19048
18992
|
));
|
|
19049
18993
|
}
|
|
19050
|
-
function
|
|
18994
|
+
function l3(t) {
|
|
19051
18995
|
const r = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
|
|
19052
18996
|
return r && r[1] || "";
|
|
19053
18997
|
}
|
|
19054
|
-
function
|
|
18998
|
+
function c3(t, r) {
|
|
19055
18999
|
t = t || 10;
|
|
19056
19000
|
const e = new Array(t), n = new Array(t);
|
|
19057
19001
|
let i = 0, a = 0, s;
|
|
@@ -19067,7 +19011,7 @@ function c_(t, r) {
|
|
|
19067
19011
|
return f ? Math.round(h * 1e3 / f) : void 0;
|
|
19068
19012
|
};
|
|
19069
19013
|
}
|
|
19070
|
-
function
|
|
19014
|
+
function u3(t, r) {
|
|
19071
19015
|
let e = 0, n = 1e3 / r, i, a;
|
|
19072
19016
|
const s = (c, u = Date.now()) => {
|
|
19073
19017
|
e = u, i = null, a && (clearTimeout(a), a = null), t(...c);
|
|
@@ -19081,8 +19025,8 @@ function u_(t, r) {
|
|
|
19081
19025
|
}
|
|
19082
19026
|
const da = (t, r, e = 3) => {
|
|
19083
19027
|
let n = 0;
|
|
19084
|
-
const i =
|
|
19085
|
-
return
|
|
19028
|
+
const i = c3(50, 250);
|
|
19029
|
+
return u3((a) => {
|
|
19086
19030
|
const s = a.loaded, o = a.lengthComputable ? a.total : void 0, l = s - n, c = i(l), u = s <= o;
|
|
19087
19031
|
n = s;
|
|
19088
19032
|
const d = {
|
|
@@ -19105,10 +19049,10 @@ const da = (t, r, e = 3) => {
|
|
|
19105
19049
|
total: t,
|
|
19106
19050
|
loaded: n
|
|
19107
19051
|
}), r[1]];
|
|
19108
|
-
}, Ju = (t) => (...r) => x.asap(() => t(...r)),
|
|
19052
|
+
}, Ju = (t) => (...r) => x.asap(() => t(...r)), d3 = Be.hasStandardBrowserEnv ? /* @__PURE__ */ ((t, r) => (e) => (e = new URL(e, Be.origin), t.protocol === e.protocol && t.host === e.host && (r || t.port === e.port)))(
|
|
19109
19053
|
new URL(Be.origin),
|
|
19110
19054
|
Be.navigator && /(msie|trident)/i.test(Be.navigator.userAgent)
|
|
19111
|
-
) : () => !0,
|
|
19055
|
+
) : () => !0, h3 = Be.hasStandardBrowserEnv ? (
|
|
19112
19056
|
// Standard browser envs support document.cookie
|
|
19113
19057
|
{
|
|
19114
19058
|
write(t, r, e, n, i, a, s) {
|
|
@@ -19137,15 +19081,15 @@ const da = (t, r, e = 3) => {
|
|
|
19137
19081
|
}
|
|
19138
19082
|
}
|
|
19139
19083
|
);
|
|
19140
|
-
function
|
|
19084
|
+
function f3(t) {
|
|
19141
19085
|
return typeof t != "string" ? !1 : /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
|
|
19142
19086
|
}
|
|
19143
|
-
function
|
|
19087
|
+
function p3(t, r) {
|
|
19144
19088
|
return r ? t.replace(/\/?\/$/, "") + "/" + r.replace(/^\/+/, "") : t;
|
|
19145
19089
|
}
|
|
19146
19090
|
function gf(t, r, e) {
|
|
19147
|
-
let n = !
|
|
19148
|
-
return t && (n || e == !1) ?
|
|
19091
|
+
let n = !f3(r);
|
|
19092
|
+
return t && (n || e == !1) ? p3(t, r) : r;
|
|
19149
19093
|
}
|
|
19150
19094
|
const Zu = (t) => t instanceof Ye ? { ...t } : t;
|
|
19151
19095
|
function vn(t, r) {
|
|
@@ -19233,12 +19177,12 @@ const vf = (t) => {
|
|
|
19233
19177
|
});
|
|
19234
19178
|
}
|
|
19235
19179
|
}
|
|
19236
|
-
if (Be.hasStandardBrowserEnv && (n && x.isFunction(n) && (n = n(r)), n || n !== !1 &&
|
|
19237
|
-
const l = i && a &&
|
|
19180
|
+
if (Be.hasStandardBrowserEnv && (n && x.isFunction(n) && (n = n(r)), n || n !== !1 && d3(r.url))) {
|
|
19181
|
+
const l = i && a && h3.read(a);
|
|
19238
19182
|
l && s.set(i, l);
|
|
19239
19183
|
}
|
|
19240
19184
|
return r;
|
|
19241
|
-
},
|
|
19185
|
+
}, m3 = typeof XMLHttpRequest < "u", g3 = m3 && function(t) {
|
|
19242
19186
|
return new Promise(function(e, n) {
|
|
19243
19187
|
const i = vf(t);
|
|
19244
19188
|
let a = i.data;
|
|
@@ -19289,14 +19233,14 @@ const vf = (t) => {
|
|
|
19289
19233
|
}), x.isUndefined(i.withCredentials) || (g.withCredentials = !!i.withCredentials), o && o !== "json" && (g.responseType = i.responseType), c && ([h, p] = da(c, !0), g.addEventListener("progress", h)), l && g.upload && ([d, f] = da(l), g.upload.addEventListener("progress", d), g.upload.addEventListener("loadend", f)), (i.cancelToken || i.signal) && (u = (k) => {
|
|
19290
19234
|
g && (n(!k || k.type ? new ci(null, t, g) : k), g.abort(), g = null);
|
|
19291
19235
|
}, i.cancelToken && i.cancelToken.subscribe(u), i.signal && (i.signal.aborted ? u() : i.signal.addEventListener("abort", u)));
|
|
19292
|
-
const b =
|
|
19236
|
+
const b = l3(i.url);
|
|
19293
19237
|
if (b && Be.protocols.indexOf(b) === -1) {
|
|
19294
19238
|
n(new Y("Unsupported protocol " + b + ":", Y.ERR_BAD_REQUEST, t));
|
|
19295
19239
|
return;
|
|
19296
19240
|
}
|
|
19297
19241
|
g.send(a || null);
|
|
19298
19242
|
});
|
|
19299
|
-
},
|
|
19243
|
+
}, v3 = (t, r) => {
|
|
19300
19244
|
const { length: e } = t = t ? t.filter(Boolean) : [];
|
|
19301
19245
|
if (r || e) {
|
|
19302
19246
|
let n = new AbortController(), i;
|
|
@@ -19319,7 +19263,7 @@ const vf = (t) => {
|
|
|
19319
19263
|
const { signal: l } = n;
|
|
19320
19264
|
return l.unsubscribe = () => x.asap(o), l;
|
|
19321
19265
|
}
|
|
19322
|
-
},
|
|
19266
|
+
}, y3 = function* (t, r) {
|
|
19323
19267
|
let e = t.byteLength;
|
|
19324
19268
|
if (e < r) {
|
|
19325
19269
|
yield t;
|
|
@@ -19328,10 +19272,10 @@ const vf = (t) => {
|
|
|
19328
19272
|
let n = 0, i;
|
|
19329
19273
|
for (; n < e; )
|
|
19330
19274
|
i = n + r, yield t.slice(n, i), n = i;
|
|
19331
|
-
},
|
|
19332
|
-
for await (const e of
|
|
19333
|
-
yield*
|
|
19334
|
-
},
|
|
19275
|
+
}, b3 = async function* (t, r) {
|
|
19276
|
+
for await (const e of w3(t))
|
|
19277
|
+
yield* y3(e, r);
|
|
19278
|
+
}, w3 = async function* (t) {
|
|
19335
19279
|
if (t[Symbol.asyncIterator]) {
|
|
19336
19280
|
yield* t;
|
|
19337
19281
|
return;
|
|
@@ -19348,7 +19292,7 @@ const vf = (t) => {
|
|
|
19348
19292
|
await r.cancel();
|
|
19349
19293
|
}
|
|
19350
19294
|
}, Yu = (t, r, e, n) => {
|
|
19351
|
-
const i =
|
|
19295
|
+
const i = b3(t, r);
|
|
19352
19296
|
let a = 0, s, o = (l) => {
|
|
19353
19297
|
s || (s = !0, n && n(l));
|
|
19354
19298
|
};
|
|
@@ -19376,7 +19320,7 @@ const vf = (t) => {
|
|
|
19376
19320
|
}, {
|
|
19377
19321
|
highWaterMark: 2
|
|
19378
19322
|
});
|
|
19379
|
-
}, Xu = 64 * 1024, { isFunction: Ei } = x,
|
|
19323
|
+
}, Xu = 64 * 1024, { isFunction: Ei } = x, _3 = (({ Request: t, Response: r }) => ({
|
|
19380
19324
|
Request: t,
|
|
19381
19325
|
Response: r
|
|
19382
19326
|
}))(x.global), {
|
|
@@ -19388,10 +19332,10 @@ const vf = (t) => {
|
|
|
19388
19332
|
} catch {
|
|
19389
19333
|
return !1;
|
|
19390
19334
|
}
|
|
19391
|
-
},
|
|
19335
|
+
}, S3 = (t) => {
|
|
19392
19336
|
t = x.merge.call({
|
|
19393
19337
|
skipUndefined: !0
|
|
19394
|
-
},
|
|
19338
|
+
}, _3, t);
|
|
19395
19339
|
const { fetch: r, Request: e, Response: n } = t, i = r ? Ei(r) : typeof fetch == "function", a = Ei(e), s = Ei(n);
|
|
19396
19340
|
if (!i)
|
|
19397
19341
|
return !1;
|
|
@@ -19450,7 +19394,7 @@ const vf = (t) => {
|
|
|
19450
19394
|
fetchOptions: le
|
|
19451
19395
|
} = vf(p), de = r || fetch;
|
|
19452
19396
|
z = z ? (z + "").toLowerCase() : "text";
|
|
19453
|
-
let q =
|
|
19397
|
+
let q = v3([b, k && k.toAbortSignal()], O), fe = null;
|
|
19454
19398
|
const G = q && q.unsubscribe && (() => {
|
|
19455
19399
|
q.unsubscribe();
|
|
19456
19400
|
});
|
|
@@ -19520,22 +19464,22 @@ const vf = (t) => {
|
|
|
19520
19464
|
) : Y.from(L, L && L.code, p, fe, L && L.response);
|
|
19521
19465
|
}
|
|
19522
19466
|
};
|
|
19523
|
-
},
|
|
19467
|
+
}, k3 = /* @__PURE__ */ new Map(), yf = (t) => {
|
|
19524
19468
|
let r = t && t.env || {};
|
|
19525
19469
|
const { fetch: e, Request: n, Response: i } = r, a = [
|
|
19526
19470
|
n,
|
|
19527
19471
|
i,
|
|
19528
19472
|
e
|
|
19529
19473
|
];
|
|
19530
|
-
let s = a.length, o = s, l, c, u =
|
|
19474
|
+
let s = a.length, o = s, l, c, u = k3;
|
|
19531
19475
|
for (; o--; )
|
|
19532
|
-
l = a[o], c = u.get(l), c === void 0 && u.set(l, c = o ? /* @__PURE__ */ new Map() :
|
|
19476
|
+
l = a[o], c = u.get(l), c === void 0 && u.set(l, c = o ? /* @__PURE__ */ new Map() : S3(r)), u = c;
|
|
19533
19477
|
return c;
|
|
19534
19478
|
};
|
|
19535
19479
|
yf();
|
|
19536
19480
|
const ll = {
|
|
19537
|
-
http:
|
|
19538
|
-
xhr:
|
|
19481
|
+
http: j_,
|
|
19482
|
+
xhr: g3,
|
|
19539
19483
|
fetch: {
|
|
19540
19484
|
get: yf
|
|
19541
19485
|
}
|
|
@@ -19549,8 +19493,8 @@ x.forEach(ll, (t, r) => {
|
|
|
19549
19493
|
Object.defineProperty(t, "adapterName", { value: r });
|
|
19550
19494
|
}
|
|
19551
19495
|
});
|
|
19552
|
-
const nd = (t) => `- ${t}`,
|
|
19553
|
-
function
|
|
19496
|
+
const nd = (t) => `- ${t}`, C3 = (t) => x.isFunction(t) || t === null || t === !1;
|
|
19497
|
+
function E3(t, r) {
|
|
19554
19498
|
t = x.isArray(t) ? t : [t];
|
|
19555
19499
|
const { length: e } = t;
|
|
19556
19500
|
let n, i;
|
|
@@ -19558,7 +19502,7 @@ function E_(t, r) {
|
|
|
19558
19502
|
for (let s = 0; s < e; s++) {
|
|
19559
19503
|
n = t[s];
|
|
19560
19504
|
let o;
|
|
19561
|
-
if (i = n, !
|
|
19505
|
+
if (i = n, !C3(n) && (i = ll[(o = String(n)).toLowerCase()], i === void 0))
|
|
19562
19506
|
throw new Y(`Unknown adapter '${o}'`);
|
|
19563
19507
|
if (i && (x.isFunction(i) || (i = i.get(r))))
|
|
19564
19508
|
break;
|
|
@@ -19583,7 +19527,7 @@ const bf = {
|
|
|
19583
19527
|
* Resolve an adapter from a list of adapter names or functions.
|
|
19584
19528
|
* @type {Function}
|
|
19585
19529
|
*/
|
|
19586
|
-
getAdapter:
|
|
19530
|
+
getAdapter: E3,
|
|
19587
19531
|
/**
|
|
19588
19532
|
* Exposes all known adapters
|
|
19589
19533
|
* @type {Object<string, Function|Object>}
|
|
@@ -19640,7 +19584,7 @@ Ya.transitional = function(r, e, n) {
|
|
|
19640
19584
|
Ya.spelling = function(r) {
|
|
19641
19585
|
return (e, n) => (console.warn(`${n} is likely a misspelling of ${r}`), !0);
|
|
19642
19586
|
};
|
|
19643
|
-
function
|
|
19587
|
+
function x3(t, r, e) {
|
|
19644
19588
|
if (typeof t != "object")
|
|
19645
19589
|
throw new Y("options must be an object", Y.ERR_BAD_OPTION_VALUE);
|
|
19646
19590
|
const n = Object.keys(t);
|
|
@@ -19658,7 +19602,7 @@ function x_(t, r, e) {
|
|
|
19658
19602
|
}
|
|
19659
19603
|
}
|
|
19660
19604
|
const ji = {
|
|
19661
|
-
assertOptions:
|
|
19605
|
+
assertOptions: x3,
|
|
19662
19606
|
validators: Ya
|
|
19663
19607
|
}, rt = ji.validators;
|
|
19664
19608
|
let hn = class {
|
|
@@ -19790,7 +19734,7 @@ x.forEach(["post", "put", "patch"], function(r) {
|
|
|
19790
19734
|
}
|
|
19791
19735
|
hn.prototype[r] = e(), hn.prototype[r + "Form"] = e(!0);
|
|
19792
19736
|
});
|
|
19793
|
-
let
|
|
19737
|
+
let A3 = class _f {
|
|
19794
19738
|
constructor(r) {
|
|
19795
19739
|
if (typeof r != "function")
|
|
19796
19740
|
throw new TypeError("executor must be a function.");
|
|
@@ -19863,12 +19807,12 @@ let A_ = class _f {
|
|
|
19863
19807
|
};
|
|
19864
19808
|
}
|
|
19865
19809
|
};
|
|
19866
|
-
function
|
|
19810
|
+
function T3(t) {
|
|
19867
19811
|
return function(e) {
|
|
19868
19812
|
return t.apply(null, e);
|
|
19869
19813
|
};
|
|
19870
19814
|
}
|
|
19871
|
-
function
|
|
19815
|
+
function R3(t) {
|
|
19872
19816
|
return x.isObject(t) && t.isAxiosError === !0;
|
|
19873
19817
|
}
|
|
19874
19818
|
const yo = {
|
|
@@ -19954,7 +19898,7 @@ function Sf(t) {
|
|
|
19954
19898
|
const j = Sf(li);
|
|
19955
19899
|
j.Axios = hn;
|
|
19956
19900
|
j.CanceledError = ci;
|
|
19957
|
-
j.CancelToken =
|
|
19901
|
+
j.CancelToken = A3;
|
|
19958
19902
|
j.isCancel = pf;
|
|
19959
19903
|
j.VERSION = wf;
|
|
19960
19904
|
j.toFormData = Za;
|
|
@@ -19963,8 +19907,8 @@ j.Cancel = j.CanceledError;
|
|
|
19963
19907
|
j.all = function(r) {
|
|
19964
19908
|
return Promise.all(r);
|
|
19965
19909
|
};
|
|
19966
|
-
j.spread =
|
|
19967
|
-
j.isAxiosError =
|
|
19910
|
+
j.spread = T3;
|
|
19911
|
+
j.isAxiosError = R3;
|
|
19968
19912
|
j.mergeConfig = vn;
|
|
19969
19913
|
j.AxiosHeaders = Ye;
|
|
19970
19914
|
j.formToJSON = (t) => ff(x.isHTMLForm(t) ? new FormData(t) : t);
|
|
@@ -20057,7 +20001,7 @@ class kf {
|
|
|
20057
20001
|
};
|
|
20058
20002
|
}
|
|
20059
20003
|
const he = (t, r) => j.isAxiosError(t) && t?.response?.status === r;
|
|
20060
|
-
class
|
|
20004
|
+
class O3 {
|
|
20061
20005
|
static ContentTranslationGet = class {
|
|
20062
20006
|
static isBadRequestProblemDetail = (r) => j.isAxiosError(r) && he(r, 400);
|
|
20063
20007
|
static isUnauthorizeProblemDetail = (r) => j.isAxiosError(r) && he(r, 401);
|
|
@@ -20077,7 +20021,7 @@ class ha extends kf {
|
|
|
20077
20021
|
contentReportPost: "/api/content/report"
|
|
20078
20022
|
};
|
|
20079
20023
|
/** ContentService API static errors typeguards */
|
|
20080
|
-
static Errors =
|
|
20024
|
+
static Errors = O3;
|
|
20081
20025
|
/** ContentService API methods */
|
|
20082
20026
|
/**
|
|
20083
20027
|
* @description Get user translations content. Only fr scope for now.
|
|
@@ -20107,7 +20051,7 @@ class ha extends kf {
|
|
|
20107
20051
|
...e
|
|
20108
20052
|
});
|
|
20109
20053
|
}
|
|
20110
|
-
const
|
|
20054
|
+
const L3 = function(t) {
|
|
20111
20055
|
const r = (n) => Object.fromEntries(Object.entries(n).filter(([i, a]) => a != null));
|
|
20112
20056
|
let e = {};
|
|
20113
20057
|
return Object.keys(t).forEach((n) => {
|
|
@@ -20124,7 +20068,7 @@ function cl(t) {
|
|
|
20124
20068
|
t.hasOwnProperty(e) && (typeof t[e] == "object" ? r[e] = cl(t[e]) : ab(r, e, t[e]));
|
|
20125
20069
|
return r;
|
|
20126
20070
|
}
|
|
20127
|
-
class
|
|
20071
|
+
class I3 {
|
|
20128
20072
|
constructor(r) {
|
|
20129
20073
|
this.config = r;
|
|
20130
20074
|
}
|
|
@@ -20169,12 +20113,12 @@ class I_ {
|
|
|
20169
20113
|
}
|
|
20170
20114
|
}
|
|
20171
20115
|
);
|
|
20172
|
-
return
|
|
20116
|
+
return L3(i);
|
|
20173
20117
|
}
|
|
20174
20118
|
}
|
|
20175
20119
|
const vl = class vl extends Or {
|
|
20176
20120
|
constructor(r = {}) {
|
|
20177
|
-
super(), this.translationsConfig = r, this.country = typeof window < "u" ? jw(window.location.hostname) : "fr", this.language = typeof window < "u" ?
|
|
20121
|
+
super(), this.translationsConfig = r, this.country = typeof window < "u" ? jw(window.location.hostname) : "fr", this.language = typeof window < "u" ? e_({ country: this.country, cookies: document.cookie }) : "fr-FR", this.translationsConfig.translationsLoaderGetter && (this.translationsTask = new Dw(
|
|
20178
20122
|
this,
|
|
20179
20123
|
this.translationsConfig.translationsLoaderGetter,
|
|
20180
20124
|
{
|
|
@@ -20193,20 +20137,15 @@ vl.styles = Te`
|
|
|
20193
20137
|
${Xb}
|
|
20194
20138
|
`;
|
|
20195
20139
|
let ye = vl;
|
|
20196
|
-
|
|
20197
|
-
* @license
|
|
20198
|
-
* Copyright 2020 Google LLC
|
|
20199
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
20200
|
-
*/
|
|
20201
|
-
const Ef = Symbol.for(""), M_ = (t) => {
|
|
20140
|
+
const Ef = Symbol.for(""), M3 = (t) => {
|
|
20202
20141
|
if (t?.r === Ef) return t?._$litStatic$;
|
|
20203
|
-
}, bo = (t) => ({ _$litStatic$: t, r: Ef }), ad = /* @__PURE__ */ new Map(),
|
|
20142
|
+
}, bo = (t) => ({ _$litStatic$: t, r: Ef }), ad = /* @__PURE__ */ new Map(), P3 = (t) => (r, ...e) => {
|
|
20204
20143
|
const n = e.length;
|
|
20205
20144
|
let i, a;
|
|
20206
20145
|
const s = [], o = [];
|
|
20207
20146
|
let l, c = 0, u = !1;
|
|
20208
20147
|
for (; c < n; ) {
|
|
20209
|
-
for (l = r[c]; c < n && (a = e[c], (i =
|
|
20148
|
+
for (l = r[c]; c < n && (a = e[c], (i = M3(a)) !== void 0); ) l += i + r[++c], u = !0;
|
|
20210
20149
|
c !== n && o.push(a), s.push(l), c++;
|
|
20211
20150
|
}
|
|
20212
20151
|
if (c === n && s.push(r[n]), u) {
|
|
@@ -20214,8 +20153,8 @@ const Ef = Symbol.for(""), M_ = (t) => {
|
|
|
20214
20153
|
(r = ad.get(d)) === void 0 && (s.raw = s, ad.set(d, r = s)), e = o;
|
|
20215
20154
|
}
|
|
20216
20155
|
return t(r, ...e);
|
|
20217
|
-
}, on =
|
|
20218
|
-
function
|
|
20156
|
+
}, on = P3(ve);
|
|
20157
|
+
function N3(t, r) {
|
|
20219
20158
|
return function(e, n) {
|
|
20220
20159
|
const i = new CustomEvent(r, {
|
|
20221
20160
|
detail: e,
|
|
@@ -20231,14 +20170,14 @@ function ul(t) {
|
|
|
20231
20170
|
return (r, e) => {
|
|
20232
20171
|
Object.defineProperty(r, e, {
|
|
20233
20172
|
get() {
|
|
20234
|
-
return
|
|
20173
|
+
return N3(this, t ?? e);
|
|
20235
20174
|
},
|
|
20236
20175
|
enumerable: !0,
|
|
20237
20176
|
configurable: !0
|
|
20238
20177
|
});
|
|
20239
20178
|
};
|
|
20240
20179
|
}
|
|
20241
|
-
const $
|
|
20180
|
+
const $3 = Te`
|
|
20242
20181
|
@keyframes rotate360 {
|
|
20243
20182
|
from {
|
|
20244
20183
|
transform: rotate(0deg);
|
|
@@ -20252,7 +20191,7 @@ const $_ = Te`
|
|
|
20252
20191
|
vertical-align: middle;
|
|
20253
20192
|
animation: rotate360 1s linear infinite;
|
|
20254
20193
|
}
|
|
20255
|
-
`,
|
|
20194
|
+
`, D3 = Te`
|
|
20256
20195
|
:host {
|
|
20257
20196
|
display: inline-block;
|
|
20258
20197
|
transition: fill 0.2s, stroke 0.2s;
|
|
@@ -20280,17 +20219,17 @@ const $_ = Te`
|
|
|
20280
20219
|
height: 100%;
|
|
20281
20220
|
}
|
|
20282
20221
|
`;
|
|
20283
|
-
var
|
|
20222
|
+
var F3 = Object.defineProperty, xf = (t, r, e, n) => {
|
|
20284
20223
|
for (var i = void 0, a = t.length - 1, s; a >= 0; a--)
|
|
20285
20224
|
(s = t[a]) && (i = s(r, e, i) || i);
|
|
20286
|
-
return i &&
|
|
20225
|
+
return i && F3(r, e, i), i;
|
|
20287
20226
|
};
|
|
20288
20227
|
const yl = class yl extends ye {
|
|
20289
20228
|
constructor() {
|
|
20290
20229
|
super(...arguments), this.size = "medium", this.viewBox = "0 0 32 32";
|
|
20291
20230
|
}
|
|
20292
20231
|
};
|
|
20293
|
-
yl.styles = [ye.styles,
|
|
20232
|
+
yl.styles = [ye.styles, D3];
|
|
20294
20233
|
let Vr = yl;
|
|
20295
20234
|
xf([
|
|
20296
20235
|
V({ type: String, reflect: !0 })
|
|
@@ -20306,10 +20245,10 @@ function pt(t, r) {
|
|
|
20306
20245
|
}
|
|
20307
20246
|
customElements.define(t, e);
|
|
20308
20247
|
}
|
|
20309
|
-
var
|
|
20310
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
20248
|
+
var B3 = Object.defineProperty, j3 = Object.getOwnPropertyDescriptor, dl = (t, r, e, n) => {
|
|
20249
|
+
for (var i = n > 1 ? void 0 : n ? j3(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
20311
20250
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
20312
|
-
return n && i &&
|
|
20251
|
+
return n && i && B3(r, e, i), i;
|
|
20313
20252
|
};
|
|
20314
20253
|
pt(
|
|
20315
20254
|
"lr-icon-spinner",
|
|
@@ -20335,7 +20274,7 @@ let Gr = class extends ye {
|
|
|
20335
20274
|
></lr-icon-spinner> `;
|
|
20336
20275
|
}
|
|
20337
20276
|
};
|
|
20338
|
-
Gr.styles = [ye.styles, $
|
|
20277
|
+
Gr.styles = [ye.styles, $3];
|
|
20339
20278
|
dl([
|
|
20340
20279
|
V({ type: String, reflect: !0 })
|
|
20341
20280
|
], Gr.prototype, "size", 2);
|
|
@@ -20345,19 +20284,19 @@ dl([
|
|
|
20345
20284
|
Gr = dl([
|
|
20346
20285
|
Ve("lr-spinner")
|
|
20347
20286
|
], Gr);
|
|
20348
|
-
const
|
|
20287
|
+
const U3 = globalThis.SubmitEvent = typeof globalThis.SubmitEvent < "u" ? SubmitEvent : Event, Af = (t) => {
|
|
20349
20288
|
if (!(!t.noValidate && !t.reportValidity())) {
|
|
20350
|
-
const r = new
|
|
20289
|
+
const r = new U3("submit", {
|
|
20351
20290
|
bubbles: !0,
|
|
20352
20291
|
cancelable: !0
|
|
20353
20292
|
});
|
|
20354
20293
|
t.dispatchEvent(r), r.defaultPrevented || t.submit();
|
|
20355
20294
|
}
|
|
20356
20295
|
};
|
|
20357
|
-
var
|
|
20358
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
20296
|
+
var H3 = Object.defineProperty, z3 = Object.getOwnPropertyDescriptor, je = (t, r, e, n) => {
|
|
20297
|
+
for (var i = n > 1 ? void 0 : n ? z3(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
20359
20298
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
20360
|
-
return n && i &&
|
|
20299
|
+
return n && i && H3(r, e, i), i;
|
|
20361
20300
|
};
|
|
20362
20301
|
const pa = class pa extends ye {
|
|
20363
20302
|
constructor() {
|
|
@@ -20465,7 +20404,7 @@ je([
|
|
|
20465
20404
|
Nt = je([
|
|
20466
20405
|
Ve("lr-button")
|
|
20467
20406
|
], Nt);
|
|
20468
|
-
const
|
|
20407
|
+
const q3 = Te`
|
|
20469
20408
|
:host {
|
|
20470
20409
|
position: absolute;
|
|
20471
20410
|
display: none;
|
|
@@ -20508,10 +20447,10 @@ const q_ = Te`
|
|
|
20508
20447
|
user-select: text;
|
|
20509
20448
|
}
|
|
20510
20449
|
`;
|
|
20511
|
-
var
|
|
20512
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
20450
|
+
var V3 = Object.defineProperty, G3 = Object.getOwnPropertyDescriptor, hl = (t, r, e, n) => {
|
|
20451
|
+
for (var i = n > 1 ? void 0 : n ? G3(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
20513
20452
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
20514
|
-
return n && i &&
|
|
20453
|
+
return n && i && V3(r, e, i), i;
|
|
20515
20454
|
};
|
|
20516
20455
|
let Jn = class extends ye {
|
|
20517
20456
|
constructor() {
|
|
@@ -20525,7 +20464,7 @@ let Jn = class extends ye {
|
|
|
20525
20464
|
`;
|
|
20526
20465
|
}
|
|
20527
20466
|
};
|
|
20528
|
-
Jn.styles = [ye.styles,
|
|
20467
|
+
Jn.styles = [ye.styles, q3];
|
|
20529
20468
|
hl([
|
|
20530
20469
|
V({ type: Boolean, reflect: !0 })
|
|
20531
20470
|
], Jn.prototype, "active", 2);
|
|
@@ -20535,8 +20474,8 @@ hl([
|
|
|
20535
20474
|
Jn = hl([
|
|
20536
20475
|
Ve("lr-dimmer")
|
|
20537
20476
|
], Jn);
|
|
20538
|
-
var
|
|
20539
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
20477
|
+
var W3 = Object.getOwnPropertyDescriptor, K3 = (t, r, e, n) => {
|
|
20478
|
+
for (var i = n > 1 ? void 0 : n ? W3(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
20540
20479
|
(s = t[a]) && (i = s(i) || i);
|
|
20541
20480
|
return i;
|
|
20542
20481
|
};
|
|
@@ -20548,7 +20487,7 @@ let sd = class extends Jn {
|
|
|
20548
20487
|
return ve`<lr-spinner></lr-spinner> `;
|
|
20549
20488
|
}
|
|
20550
20489
|
};
|
|
20551
|
-
sd =
|
|
20490
|
+
sd = K3([
|
|
20552
20491
|
Ve("lr-loading-overlay")
|
|
20553
20492
|
], sd);
|
|
20554
20493
|
pt(
|
|
@@ -20588,17 +20527,7 @@ pt(
|
|
|
20588
20527
|
<path xmlns="http://www.w3.org/2000/svg" fillRule="evenodd" clipRule="evenodd" 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" fill="currentcolor"/>
|
|
20589
20528
|
`
|
|
20590
20529
|
);
|
|
20591
|
-
|
|
20592
|
-
* @license
|
|
20593
|
-
* Copyright 2020 Google LLC
|
|
20594
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
20595
|
-
*/
|
|
20596
|
-
const J_ = (t) => t.strings === void 0;
|
|
20597
|
-
/**
|
|
20598
|
-
* @license
|
|
20599
|
-
* Copyright 2017 Google LLC
|
|
20600
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
20601
|
-
*/
|
|
20530
|
+
const J3 = (t) => t.strings === void 0;
|
|
20602
20531
|
const Lr = (t, r) => {
|
|
20603
20532
|
const e = t._$AN;
|
|
20604
20533
|
if (e === void 0) return !1;
|
|
@@ -20615,20 +20544,20 @@ const Lr = (t, r) => {
|
|
|
20615
20544
|
let e = r._$AN;
|
|
20616
20545
|
if (e === void 0) r._$AN = e = /* @__PURE__ */ new Set();
|
|
20617
20546
|
else if (e.has(t)) break;
|
|
20618
|
-
e.add(t),
|
|
20547
|
+
e.add(t), X3(r);
|
|
20619
20548
|
}
|
|
20620
20549
|
};
|
|
20621
|
-
function
|
|
20550
|
+
function Z3(t) {
|
|
20622
20551
|
this._$AN !== void 0 ? (fa(this), this._$AM = t, Tf(this)) : this._$AM = t;
|
|
20623
20552
|
}
|
|
20624
|
-
function
|
|
20553
|
+
function Y3(t, r = !1, e = 0) {
|
|
20625
20554
|
const n = this._$AH, i = this._$AN;
|
|
20626
20555
|
if (i !== void 0 && i.size !== 0) if (r) if (Array.isArray(n)) for (let a = e; a < n.length; a++) Lr(n[a], !1), fa(n[a]);
|
|
20627
20556
|
else n != null && (Lr(n, !1), fa(n));
|
|
20628
20557
|
else Lr(this, t);
|
|
20629
20558
|
}
|
|
20630
|
-
const
|
|
20631
|
-
t.type == Ha.CHILD && (t._$AP ??=
|
|
20559
|
+
const X3 = (t) => {
|
|
20560
|
+
t.type == Ha.CHILD && (t._$AP ??= Y3, t._$AQ ??= Z3);
|
|
20632
20561
|
};
|
|
20633
20562
|
let Rf = class extends nl {
|
|
20634
20563
|
constructor() {
|
|
@@ -20641,7 +20570,7 @@ let Rf = class extends nl {
|
|
|
20641
20570
|
r !== this.isConnected && (this.isConnected = r, r ? this.reconnected?.() : this.disconnected?.()), e && (Lr(this, r), fa(this));
|
|
20642
20571
|
}
|
|
20643
20572
|
setValue(r) {
|
|
20644
|
-
if (
|
|
20573
|
+
if (J3(this._$Ct)) this._$Ct._$AI(r, this);
|
|
20645
20574
|
else {
|
|
20646
20575
|
const e = [...this._$Ct._$AH];
|
|
20647
20576
|
e[this._$Ci] = r, this._$Ct._$AI(e, this, 0);
|
|
@@ -20652,7 +20581,7 @@ let Rf = class extends nl {
|
|
|
20652
20581
|
reconnected() {
|
|
20653
20582
|
}
|
|
20654
20583
|
};
|
|
20655
|
-
const Ns = /* @__PURE__ */ new WeakMap(),
|
|
20584
|
+
const Ns = /* @__PURE__ */ new WeakMap(), Q3 = za(class extends Rf {
|
|
20656
20585
|
render(t) {
|
|
20657
20586
|
return ce;
|
|
20658
20587
|
}
|
|
@@ -21448,7 +21377,7 @@ class i4 extends Rf {
|
|
|
21448
21377
|
}
|
|
21449
21378
|
}
|
|
21450
21379
|
const Ui = za(i4);
|
|
21451
|
-
class a4 extends
|
|
21380
|
+
class a4 extends I3 {
|
|
21452
21381
|
constructor(r, e, n) {
|
|
21453
21382
|
super({
|
|
21454
21383
|
apiConfig: { baseURL: r, headers: { "x-country": e, "x-user-language": n } },
|
|
@@ -21604,11 +21533,6 @@ const gd = (t) => Object.entries(t).map(([r, e]) => `${r}:${e}`).join(";"), l4 =
|
|
|
21604
21533
|
}
|
|
21605
21534
|
}
|
|
21606
21535
|
`;
|
|
21607
|
-
/**
|
|
21608
|
-
* @license
|
|
21609
|
-
* Copyright 2017 Google LLC
|
|
21610
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
21611
|
-
*/
|
|
21612
21536
|
let wo = class extends nl {
|
|
21613
21537
|
constructor(r) {
|
|
21614
21538
|
if (super(r), this.it = ce, r.type !== Ha.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
@@ -21625,26 +21549,11 @@ let wo = class extends nl {
|
|
|
21625
21549
|
};
|
|
21626
21550
|
wo.directiveName = "unsafeHTML", wo.resultType = 1;
|
|
21627
21551
|
const Pf = za(wo);
|
|
21628
|
-
/**
|
|
21629
|
-
* @license
|
|
21630
|
-
* Copyright 2021 Google LLC
|
|
21631
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
21632
|
-
*/
|
|
21633
21552
|
let Nf = class extends Event {
|
|
21634
21553
|
constructor(r, e, n) {
|
|
21635
21554
|
super("context-request", { bubbles: !0, composed: !0 }), this.context = r, this.callback = e, this.subscribe = n ?? !1;
|
|
21636
21555
|
}
|
|
21637
21556
|
};
|
|
21638
|
-
/**
|
|
21639
|
-
* @license
|
|
21640
|
-
* Copyright 2021 Google LLC
|
|
21641
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
21642
|
-
*/
|
|
21643
|
-
/**
|
|
21644
|
-
* @license
|
|
21645
|
-
* Copyright 2021 Google LLC
|
|
21646
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
21647
|
-
*/
|
|
21648
21557
|
let vd = class {
|
|
21649
21558
|
constructor(r, e, n, i) {
|
|
21650
21559
|
if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (a, s) => {
|
|
@@ -21665,11 +21574,6 @@ let vd = class {
|
|
|
21665
21574
|
this.host.dispatchEvent(new Nf(this.context, this.t, this.subscribe));
|
|
21666
21575
|
}
|
|
21667
21576
|
};
|
|
21668
|
-
/**
|
|
21669
|
-
* @license
|
|
21670
|
-
* Copyright 2021 Google LLC
|
|
21671
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
21672
|
-
*/
|
|
21673
21577
|
class c4 {
|
|
21674
21578
|
get value() {
|
|
21675
21579
|
return this.o;
|
|
@@ -21698,11 +21602,6 @@ class c4 {
|
|
|
21698
21602
|
this.subscriptions.clear();
|
|
21699
21603
|
}
|
|
21700
21604
|
}
|
|
21701
|
-
/**
|
|
21702
|
-
* @license
|
|
21703
|
-
* Copyright 2021 Google LLC
|
|
21704
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
21705
|
-
*/
|
|
21706
21605
|
let u4 = class extends Event {
|
|
21707
21606
|
constructor(r) {
|
|
21708
21607
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = r;
|
|
@@ -21728,11 +21627,6 @@ class yd extends c4 {
|
|
|
21728
21627
|
this.host.dispatchEvent(new u4(this.context));
|
|
21729
21628
|
}
|
|
21730
21629
|
}
|
|
21731
|
-
/**
|
|
21732
|
-
* @license
|
|
21733
|
-
* Copyright 2017 Google LLC
|
|
21734
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
21735
|
-
*/
|
|
21736
21630
|
function d4({ context: t }) {
|
|
21737
21631
|
return (r, e) => {
|
|
21738
21632
|
const n = /* @__PURE__ */ new WeakMap();
|
|
@@ -21768,11 +21662,6 @@ function d4({ context: t }) {
|
|
|
21768
21662
|
}
|
|
21769
21663
|
};
|
|
21770
21664
|
}
|
|
21771
|
-
/**
|
|
21772
|
-
* @license
|
|
21773
|
-
* Copyright 2022 Google LLC
|
|
21774
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
21775
|
-
*/
|
|
21776
21665
|
function ml({ context: t, subscribe: r }) {
|
|
21777
21666
|
return (e, n) => {
|
|
21778
21667
|
typeof n == "object" ? n.addInitializer((function() {
|
|
@@ -22487,7 +22376,6 @@ nr([
|
|
|
22487
22376
|
Wt = nr([
|
|
22488
22377
|
Ve("lr-chatbot-conversation-rating")
|
|
22489
22378
|
], Wt);
|
|
22490
|
-
/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
|
|
22491
22379
|
const {
|
|
22492
22380
|
entries: Df,
|
|
22493
22381
|
setPrototypeOf: bd,
|
|
@@ -23264,7 +23152,7 @@ let Kt = class extends ye {
|
|
|
23264
23152
|
Sr(this, Zi, t);
|
|
23265
23153
|
}
|
|
23266
23154
|
getVersion() {
|
|
23267
|
-
return "LR Chatbot - v0.40.
|
|
23155
|
+
return "LR Chatbot - v0.40.24";
|
|
23268
23156
|
}
|
|
23269
23157
|
async connectedCallback() {
|
|
23270
23158
|
super.connectedCallback(), this._conversationHistoryTask.run();
|
|
@@ -23578,7 +23466,7 @@ let Kt = class extends ye {
|
|
|
23578
23466
|
out: dd
|
|
23579
23467
|
})}
|
|
23580
23468
|
></lr-loading-overlay>` : ce}
|
|
23581
|
-
<deep-chat id="chat-element" part="chat-element" ${
|
|
23469
|
+
<deep-chat id="chat-element" part="chat-element" ${Q3(this.handleDeepChatLoad)}></deep-chat>
|
|
23582
23470
|
</div>
|
|
23583
23471
|
</div>
|
|
23584
23472
|
`;
|