@2uinc/frontend-component-xpert-chatbot 1.19.5 → 1.20.0-beta.1
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 +21 -16
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -893,23 +893,28 @@ const Co = /* @__PURE__ */ st(fu), du = {
|
|
893
893
|
payloadParams: null
|
894
894
|
},
|
895
895
|
webExperimentation: {
|
896
|
-
enabled: !
|
897
|
-
experimentName:
|
896
|
+
enabled: !1,
|
897
|
+
experimentName: null
|
898
898
|
},
|
899
899
|
launchButton: {
|
900
900
|
message: null,
|
901
|
-
logoType:
|
901
|
+
logoType: null,
|
902
902
|
animatedGraduate: {
|
903
|
-
enabled: !
|
904
|
-
delayMs:
|
903
|
+
enabled: !0,
|
904
|
+
delayMs: 7e3
|
905
905
|
},
|
906
906
|
style: {
|
907
|
-
backgroundColor: "
|
908
|
-
|
909
|
-
|
907
|
+
backgroundColor: "transparent",
|
908
|
+
border: "none",
|
909
|
+
borderRadius: 0,
|
910
|
+
padding: 0,
|
911
|
+
iconWidth: "4.5rem",
|
910
912
|
mobile: {
|
911
|
-
backgroundColor: "
|
912
|
-
|
913
|
+
backgroundColor: "transparent",
|
914
|
+
border: "none",
|
915
|
+
borderRadius: 0,
|
916
|
+
padding: 0,
|
917
|
+
iconWidth: "4.5rem"
|
913
918
|
}
|
914
919
|
}
|
915
920
|
},
|
@@ -920,11 +925,11 @@ const Co = /* @__PURE__ */ st(fu), du = {
|
|
920
925
|
text: "I'm Xpert, an AI assistant to help you find things.",
|
921
926
|
delayMs: 4e3,
|
922
927
|
style: {
|
923
|
-
bottom: "
|
924
|
-
right: "
|
928
|
+
bottom: "7.5rem",
|
929
|
+
right: "2rem",
|
925
930
|
mobile: {
|
926
|
-
bottom: "
|
927
|
-
right: "
|
931
|
+
bottom: "11.5rem",
|
932
|
+
right: "2rem"
|
928
933
|
}
|
929
934
|
}
|
930
935
|
},
|
@@ -12732,7 +12737,7 @@ function Ri({ submitEventExternal: e }) {
|
|
12732
12737
|
}, 6e4)), () => {
|
12733
12738
|
clearInterval(Z), clearTimeout(ie);
|
12734
12739
|
};
|
12735
|
-
}, [a.enabled, a.prefix]), Ce(() => {
|
12740
|
+
}, [e, a.enabled, a.prefix]), Ce(() => {
|
12736
12741
|
let Z, ie;
|
12737
12742
|
return Z = setInterval(() => {
|
12738
12743
|
o.enabled && (console.log("Chatbot - Finding Optimizely"), window.optimizely && window.experiments && (console.log("Chatbot - Optimizely found"), clearInterval(Z), clearTimeout(ie), L(!0)));
|
@@ -12929,7 +12934,7 @@ function Ri({ submitEventExternal: e }) {
|
|
12929
12934
|
feedbackThumbType: ie
|
12930
12935
|
}) : Se);
|
12931
12936
|
s(ke), f(!1);
|
12932
|
-
}, Te = (
|
12937
|
+
}, Te = (It = r.animatedGraduate) == null ? void 0 : It.enabled, je = i.enabled ? d ? i.style.mobile : i.style : null;
|
12933
12938
|
return (
|
12934
12939
|
// do not remove this class as it's needed to turn off chatbot
|
12935
12940
|
/* @__PURE__ */ y.jsxs("div", { className: "xpert_chatbot", children: [
|