Free javascript Hosting


kayako.js

Uploaded on May 23 2022 09:59 by harry.saputra

// prettier-ignore
function toggleMessenger(){"minimized"===kayako.visibility()?kayako.maximize():kayako.minimize()}
(function (d, a) {
function c() {
var b = d.createElement("script");
b.async = !0;
b.type = "text/javascript";
b.src = a._settings.messengerUrl;
b.crossOrigin = "anonymous";
var c = d.getElementsByTagName("script")[0];
c.parentNode.insertBefore(b, c);
}
window.kayako = a;
a.readyQueue = [];
a.newEmbedCode = !0;
a.ready = function (b) {
a.readyQueue.push(b);
};
a._settings = {
apiUrl: "https://katsana.kayako.com/api/v1",
teamName: "Katsana",
homeTitles: [{ locale: "en-us", translation: "Hello! 👋" }],
homeSubtitles: [
{
locale: "en-us",
translation:
"Welcome to Katsana. Let's chat — start a new conversation below.",
},
],
messengerUrl: "https://katsana.kayakocdn.com/messenger",
realtimeUrl: "wss://kre.kayako.net/socket",
widgets: {
presence: { enabled: !0 },
twitter: { enabled: !1, twitterHandle: "null" },
articles: { enabled: !1, sectionId: 1 },
},
styles: {
primaryColor: "#F1703F",
homeBackground: "-192deg, #40364D 37%, #9B4779 100%",
homePattern: "https://assets.kayako.com/messenger/pattern-1--dark.svg",
homeTextColor: "#FFFFFF",
},
};
window.addEventListener("load", c, {once: true});
})(document, window.kayako || {}),
kayako.ready(function () {
(kayako.config = { hideLauncher: !0 }),
(document.getElementById("kayakoButton").onclick = function () {
toggleMessenger();
});
});

Back to list