bettercx-widget
Version:
Professional AI-powered chat widget for BetterCX platform. Seamlessly integrate intelligent customer support into any website.
23 lines (19 loc) • 1.12 kB
JavaScript
import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-KfgIcFMr.js';
export { s as setNonce } from './index-KfgIcFMr.js';
/*
Stencil Client Patch Browser v4.36.3 | MIT Licensed | https://stenciljs.com
*/
var patchBrowser = () => {
const importMeta = import.meta.url;
const opts = {};
if (importMeta !== "") {
opts.resourcesUrl = new URL(".", importMeta).href;
}
return promiseResolve(opts);
};
patchBrowser().then(async (options) => {
await globalScripts();
return bootstrapLazy([["bcx-message-composer",[[257,"bcx-message-composer",{"disabled":[4],"loading":[4],"placeholder":[1],"maxLength":[2,"max-length"],"message":[32]}]]],["bettercx-widget",[[257,"bettercx-widget",{"publicKey":[1,"public-key"],"theme":[1],"debug":[4],"baseUrl":[1,"base-url"],"aiServiceUrl":[1,"ai-service-url"],"autoInit":[4,"auto-init"],"position":[1],"state":[32],"language":[32],"open":[64],"close":[64],"toggle":[64],"sendMessage":[64]},null,{"publicKey":["onPublicKeyChange"]}]]]], options);
});
//# sourceMappingURL=bettercx-widget.js.map
//# sourceMappingURL=bettercx-widget.js.map