@2uinc/frontend-component-xpert-chatbot 1.40.20-alpha.1 → 1.40.20-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/index.min.js +9 -5
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
|
@@ -33487,12 +33487,16 @@ const wE = (e) => {
|
|
|
33487
33487
|
e.delete("linked_from", "xpert_chat"), e.append("linked_from", "xpert_chat");
|
|
33488
33488
|
};
|
|
33489
33489
|
function U2(e) {
|
|
33490
|
-
|
|
33491
|
-
|
|
33492
|
-
|
|
33493
|
-
|
|
33490
|
+
try {
|
|
33491
|
+
const t = new URL(e);
|
|
33492
|
+
if (t.host?.includes("edx.org")) {
|
|
33493
|
+
const a = t.searchParams;
|
|
33494
|
+
wE(a), CE(a), t.search = a;
|
|
33495
|
+
}
|
|
33496
|
+
return t.toString();
|
|
33497
|
+
} catch {
|
|
33498
|
+
return e;
|
|
33494
33499
|
}
|
|
33495
|
-
return t.toString();
|
|
33496
33500
|
}
|
|
33497
33501
|
const O1 = (e) => {
|
|
33498
33502
|
try {
|