lr-chatbot 0.48.51 → 0.48.52
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 +34 -34
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -17907,14 +17907,14 @@ var nf = (e) => {
|
|
|
17907
17907
|
auxiliaryStyle: "\n #messages {\n height: calc(100dvh - 6rem);\n display: flex;\n flex-direction: column;\n @media (min-width: 768px)\n {\n height: 60dvh;\n }\n } \n .outer-message-container:last-child\n {\n margin-bottom: 1rem;\n } \n .outer-message-container:nth-child(2)\n {\n margin-block-start: auto !important;\n }\n .text-input-container-right-adjustment{\n margin: 0 !important;\n } \n "
|
|
17908
17908
|
};
|
|
17909
17909
|
//#endregion
|
|
17910
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
17910
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/bind.js
|
|
17911
17911
|
function lf(e, t) {
|
|
17912
17912
|
return function() {
|
|
17913
17913
|
return e.apply(t, arguments);
|
|
17914
17914
|
};
|
|
17915
17915
|
}
|
|
17916
17916
|
//#endregion
|
|
17917
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
17917
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/utils.js
|
|
17918
17918
|
var { toString: uf } = Object.prototype, { getPrototypeOf: df } = Object, { iterator: ff, toStringTag: pf } = Symbol, mf = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), hf = (e, t) => {
|
|
17919
17919
|
let n = e, r = [];
|
|
17920
17920
|
for (; n != null && n !== Object.prototype;) {
|
|
@@ -18199,7 +18199,7 @@ var yp = (e) => {
|
|
|
18199
18199
|
}), t;
|
|
18200
18200
|
};
|
|
18201
18201
|
//#endregion
|
|
18202
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18202
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/sanitizeHeaderValue.js
|
|
18203
18203
|
function Dp(e) {
|
|
18204
18204
|
let t = 0, n = e.length;
|
|
18205
18205
|
for (; t < n;) {
|
|
@@ -18226,7 +18226,7 @@ function Np(e) {
|
|
|
18226
18226
|
}), t;
|
|
18227
18227
|
}
|
|
18228
18228
|
//#endregion
|
|
18229
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18229
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/core/AxiosHeaders.js
|
|
18230
18230
|
var Pp = Symbol("internals");
|
|
18231
18231
|
function Fp(e) {
|
|
18232
18232
|
return e && String(e).trim().toLowerCase();
|
|
@@ -18395,7 +18395,7 @@ Hp.accessor([
|
|
|
18395
18395
|
};
|
|
18396
18396
|
}), Y.freezeMethods(Hp);
|
|
18397
18397
|
//#endregion
|
|
18398
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18398
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/core/AxiosError.js
|
|
18399
18399
|
var Up = "[REDACTED ****]";
|
|
18400
18400
|
function Wp(e) {
|
|
18401
18401
|
if (Y.hasOwnProp(e, "toJSON")) return !0;
|
|
@@ -18535,7 +18535,7 @@ function Zp(e, t, n) {
|
|
|
18535
18535
|
return g(e), t;
|
|
18536
18536
|
}
|
|
18537
18537
|
//#endregion
|
|
18538
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18538
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
18539
18539
|
function Qp(e) {
|
|
18540
18540
|
let t = {
|
|
18541
18541
|
"!": "%21",
|
|
@@ -18564,7 +18564,7 @@ em.append = function(e, t) {
|
|
|
18564
18564
|
}, "").join("&");
|
|
18565
18565
|
};
|
|
18566
18566
|
//#endregion
|
|
18567
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18567
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/buildURL.js
|
|
18568
18568
|
function tm(e) {
|
|
18569
18569
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
18570
18570
|
}
|
|
@@ -18578,7 +18578,7 @@ function nm(e, t, n) {
|
|
|
18578
18578
|
return e;
|
|
18579
18579
|
}
|
|
18580
18580
|
//#endregion
|
|
18581
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18581
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/core/InterceptorManager.js
|
|
18582
18582
|
var rm = class {
|
|
18583
18583
|
constructor() {
|
|
18584
18584
|
this.handlers = [];
|
|
@@ -18639,7 +18639,7 @@ var rm = class {
|
|
|
18639
18639
|
...am
|
|
18640
18640
|
};
|
|
18641
18641
|
//#endregion
|
|
18642
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18642
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
18643
18643
|
function pm(e, t) {
|
|
18644
18644
|
return Zp(e, new fm.classes.URLSearchParams(), {
|
|
18645
18645
|
visitor: function(e, t, n, r) {
|
|
@@ -18649,7 +18649,7 @@ function pm(e, t) {
|
|
|
18649
18649
|
});
|
|
18650
18650
|
}
|
|
18651
18651
|
//#endregion
|
|
18652
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18652
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
18653
18653
|
var mm = 100;
|
|
18654
18654
|
function hm(e) {
|
|
18655
18655
|
if (e > mm) throw new X("FormData field is too deeply nested (" + e + " levels). Max depth: " + mm, X.ERR_FORM_DATA_DEPTH_EXCEEDED);
|
|
@@ -18681,7 +18681,7 @@ function vm(e) {
|
|
|
18681
18681
|
return null;
|
|
18682
18682
|
}
|
|
18683
18683
|
//#endregion
|
|
18684
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18684
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/defaults/index.js
|
|
18685
18685
|
var ym = (e, t) => e != null && Y.hasOwnProp(e, t) ? e[t] : void 0;
|
|
18686
18686
|
function bm(e, t, n) {
|
|
18687
18687
|
if (Y.isString(e)) try {
|
|
@@ -18757,7 +18757,7 @@ Y.forEach([
|
|
|
18757
18757
|
xm.headers[e] = {};
|
|
18758
18758
|
});
|
|
18759
18759
|
//#endregion
|
|
18760
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18760
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/core/transformData.js
|
|
18761
18761
|
function Sm(e, t) {
|
|
18762
18762
|
let n = this || xm, r = t || n, i = Hp.from(r.headers), a = r.data;
|
|
18763
18763
|
return Y.forEach(e, function(e) {
|
|
@@ -18765,31 +18765,31 @@ function Sm(e, t) {
|
|
|
18765
18765
|
}), i.normalize(), a;
|
|
18766
18766
|
}
|
|
18767
18767
|
//#endregion
|
|
18768
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18768
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/cancel/isCancel.js
|
|
18769
18769
|
function Cm(e) {
|
|
18770
18770
|
return !!(e && e.__CANCEL__);
|
|
18771
18771
|
}
|
|
18772
18772
|
//#endregion
|
|
18773
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18773
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/cancel/CanceledError.js
|
|
18774
18774
|
var wm = class extends X {
|
|
18775
18775
|
constructor(e, t, n) {
|
|
18776
18776
|
super(e ?? "canceled", X.ERR_CANCELED, t, n), this.name = "CanceledError", this.__CANCEL__ = !0;
|
|
18777
18777
|
}
|
|
18778
18778
|
};
|
|
18779
18779
|
//#endregion
|
|
18780
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18780
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/core/settle.js
|
|
18781
18781
|
function Tm(e, t, n) {
|
|
18782
18782
|
let r = n.config.validateStatus;
|
|
18783
18783
|
!n.status || !r || r(n.status) ? e(n) : t(new X("Request failed with status code " + n.status, n.status >= 400 && n.status < 500 ? X.ERR_BAD_REQUEST : X.ERR_BAD_RESPONSE, n.config, n.request, n));
|
|
18784
18784
|
}
|
|
18785
18785
|
//#endregion
|
|
18786
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18786
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/parseProtocol.js
|
|
18787
18787
|
function Em(e) {
|
|
18788
18788
|
let t = /^([-+\w]{1,25}):(?:\/\/)?/.exec(e);
|
|
18789
18789
|
return t && t[1] || "";
|
|
18790
18790
|
}
|
|
18791
18791
|
//#endregion
|
|
18792
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18792
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/speedometer.js
|
|
18793
18793
|
function Dm(e, t) {
|
|
18794
18794
|
e ||= 10;
|
|
18795
18795
|
let n = Array(e), r = Array(e), i = 0, a = 0, o;
|
|
@@ -18804,7 +18804,7 @@ function Dm(e, t) {
|
|
|
18804
18804
|
};
|
|
18805
18805
|
}
|
|
18806
18806
|
//#endregion
|
|
18807
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18807
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/throttle.js
|
|
18808
18808
|
function Om(e, t) {
|
|
18809
18809
|
let n = 0, r = 1e3 / t, i, a, o = (t, r = Date.now()) => {
|
|
18810
18810
|
n = r, i = null, a &&= (clearTimeout(a), null), e(...t);
|
|
@@ -18817,7 +18817,7 @@ function Om(e, t) {
|
|
|
18817
18817
|
}, () => i && o(i)];
|
|
18818
18818
|
}
|
|
18819
18819
|
//#endregion
|
|
18820
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18820
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
18821
18821
|
var km = (e, t, n = 3) => {
|
|
18822
18822
|
let r = 0, i = Dm(50, 250);
|
|
18823
18823
|
return Om((n) => {
|
|
@@ -18868,17 +18868,17 @@ var km = (e, t, n = 3) => {
|
|
|
18868
18868
|
remove() {}
|
|
18869
18869
|
};
|
|
18870
18870
|
//#endregion
|
|
18871
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18871
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
18872
18872
|
function Pm(e) {
|
|
18873
18873
|
return typeof e == "string" && /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
18874
18874
|
}
|
|
18875
18875
|
//#endregion
|
|
18876
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18876
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/combineURLs.js
|
|
18877
18877
|
function Fm(e, t) {
|
|
18878
18878
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
18879
18879
|
}
|
|
18880
18880
|
//#endregion
|
|
18881
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18881
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/core/buildFullPath.js
|
|
18882
18882
|
var Im = /^https?:(?!\/\/)/i, Lm = /[\t\n\r]/g;
|
|
18883
18883
|
function Rm(e) {
|
|
18884
18884
|
let t = 0;
|
|
@@ -18897,7 +18897,7 @@ function Vm(e, t, n, r) {
|
|
|
18897
18897
|
return e && (i || n === !1) ? (Bm(e, r), Fm(e, t)) : t;
|
|
18898
18898
|
}
|
|
18899
18899
|
//#endregion
|
|
18900
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18900
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/core/mergeConfig.js
|
|
18901
18901
|
var Hm = (e) => e instanceof Hp ? { ...e } : e;
|
|
18902
18902
|
function Um(e, t) {
|
|
18903
18903
|
t ||= {};
|
|
@@ -18977,7 +18977,7 @@ function Um(e, t) {
|
|
|
18977
18977
|
}), Y.hasOwnProp(t, "validateStatus") && Y.isUndefined(t.validateStatus) && s("validateStatusUndefinedResolves") === !1 && (Y.hasOwnProp(e, "validateStatus") ? n.validateStatus = r(void 0, e.validateStatus) : delete n.validateStatus), n;
|
|
18978
18978
|
}
|
|
18979
18979
|
//#endregion
|
|
18980
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
18980
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/resolveConfig.js
|
|
18981
18981
|
var Wm = ["content-type", "content-length"];
|
|
18982
18982
|
function Gm(e, t, n) {
|
|
18983
18983
|
if (n !== "content-only") {
|
|
@@ -19143,7 +19143,7 @@ function nh(e) {
|
|
|
19143
19143
|
return i;
|
|
19144
19144
|
}
|
|
19145
19145
|
//#endregion
|
|
19146
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
19146
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/env/data.js
|
|
19147
19147
|
var rh = "1.18.0", ih = 65536, { isFunction: ah } = Y, oh = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), sh = (e) => {
|
|
19148
19148
|
if (!Y.isString(e)) return e;
|
|
19149
19149
|
try {
|
|
@@ -19317,7 +19317,7 @@ var rh = "1.18.0", ih = 65536, { isFunction: ah } = Y, oh = (e) => encodeURIComp
|
|
|
19317
19317
|
};
|
|
19318
19318
|
fh();
|
|
19319
19319
|
//#endregion
|
|
19320
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
19320
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/adapters/adapters.js
|
|
19321
19321
|
var ph = {
|
|
19322
19322
|
http: null,
|
|
19323
19323
|
xhr: Jm,
|
|
@@ -19359,7 +19359,7 @@ var _h = {
|
|
|
19359
19359
|
adapters: ph
|
|
19360
19360
|
};
|
|
19361
19361
|
//#endregion
|
|
19362
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
19362
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/core/dispatchRequest.js
|
|
19363
19363
|
function vh(e) {
|
|
19364
19364
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new wm(null, e);
|
|
19365
19365
|
}
|
|
@@ -19390,7 +19390,7 @@ function yh(e) {
|
|
|
19390
19390
|
});
|
|
19391
19391
|
}
|
|
19392
19392
|
//#endregion
|
|
19393
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
19393
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/validator.js
|
|
19394
19394
|
var bh = {};
|
|
19395
19395
|
[
|
|
19396
19396
|
"object",
|
|
@@ -19564,7 +19564,7 @@ Y.forEach([
|
|
|
19564
19564
|
Th.prototype[e] = t(), e !== "query" && (Th.prototype[e + "Form"] = t(!0));
|
|
19565
19565
|
});
|
|
19566
19566
|
//#endregion
|
|
19567
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
19567
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/cancel/CancelToken.js
|
|
19568
19568
|
var Eh = class e {
|
|
19569
19569
|
constructor(e) {
|
|
19570
19570
|
if (typeof e != "function") throw TypeError("executor must be a function.");
|
|
@@ -19621,19 +19621,19 @@ var Eh = class e {
|
|
|
19621
19621
|
}
|
|
19622
19622
|
};
|
|
19623
19623
|
//#endregion
|
|
19624
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
19624
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/spread.js
|
|
19625
19625
|
function Dh(e) {
|
|
19626
19626
|
return function(t) {
|
|
19627
19627
|
return e.apply(null, t);
|
|
19628
19628
|
};
|
|
19629
19629
|
}
|
|
19630
19630
|
//#endregion
|
|
19631
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
19631
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/isAxiosError.js
|
|
19632
19632
|
function Oh(e) {
|
|
19633
19633
|
return Y.isObject(e) && e.isAxiosError === !0;
|
|
19634
19634
|
}
|
|
19635
19635
|
//#endregion
|
|
19636
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
19636
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
19637
19637
|
var kh = {
|
|
19638
19638
|
Continue: 100,
|
|
19639
19639
|
SwitchingProtocols: 101,
|
|
@@ -19709,7 +19709,7 @@ Object.entries(kh).forEach(([e, t]) => {
|
|
|
19709
19709
|
kh[t] = e;
|
|
19710
19710
|
});
|
|
19711
19711
|
//#endregion
|
|
19712
|
-
//#region ../../../../../node_modules/.pnpm/axios@1.18.
|
|
19712
|
+
//#region ../../../../../node_modules/.pnpm/axios@1.18.0/node_modules/axios/lib/axios.js
|
|
19713
19713
|
function Ah(e) {
|
|
19714
19714
|
let t = new Th(e), n = lf(Th.prototype.request, t);
|
|
19715
19715
|
return Y.extend(n, Th.prototype, t, { allOwnKeys: !0 }), Y.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(t) {
|
|
@@ -24076,7 +24076,7 @@ var Dx = "lr.chatbot.broadcast_channel." + document.location.hostname, Ox = "lr.
|
|
|
24076
24076
|
}), this.#e = "/bff", this.#t = !1, this.#n = !1, this.#r = !1, this.#i = !1, this._closeClickCount = 0, this._isConversationDone = !1, this._shouldEndConversation = !1, this._broadcastController = new ty(this, Dx), this._conversationHistoryTask = this.createConversationHistoryTask(), this.registerBroadcastMessages();
|
|
24077
24077
|
}
|
|
24078
24078
|
getVersion() {
|
|
24079
|
-
return "LR Chatbot - v.0.48.
|
|
24079
|
+
return "LR Chatbot - v.0.48.52";
|
|
24080
24080
|
}
|
|
24081
24081
|
async connectedCallback() {
|
|
24082
24082
|
super.connectedCallback(), this._conversationHistoryTask.run();
|