// AUTO-GENERATED for "dev" build — do not edit. Source: app/config.js window.EASYBUSY_CHATS_CONFIG = { "env": "dev", "chatsHost": "https://chats.dev.easy-busy.chat", "apiHost": "https://api.dev.easy-busy.chat", "connectorName": "easybusyauthconnector", "extentionNamespace": "easybusychatsdev", "orgVarCompanyId": "easybusychatsdev__EasyBusyCompanyId" }; (function () { var common = { defaultLang: "en", // Persistence setOrgVarFunction: "easybusy_set_org_variable", tokenStorageKey: "EasyBusyToken", // Plugin theme (optional) themeColors: {}, logoUrl: "", websiteUrl: "", fontFamily: "Inter", // Zoho Deal defaults defaultDealStage: "Qualification", defaultDealPipeline: "", // Standalone fallbacks (used only when running OUTSIDE Zoho CRM). standaloneCompanyId: "", standaloneAccessToken: "", }; function asString(value) { return typeof value === "string" ? value : ""; } function trimTrailingSlashes(value) { return asString(value).replace(/\/+$/, ""); } var injected = (typeof window !== "undefined" && window.EASYBUSY_CHATS_CONFIG) || {}; var chatsHost = trimTrailingSlashes(injected.chatsHost); var apiHost = trimTrailingSlashes(injected.apiHost); var connectorName = asString(injected.connectorName) || "easybusyauthconnectordev"; var extentionNamespace = asString(injected.extentionNamespace) || "easybusydev"; var merged = Object.assign({}, common, injected, { connectorName: connectorName, extentionNamespace: extentionNamespace, pluginLoaderUrl: chatsHost ? chatsHost + "/plugin/loader.js" : "", api: { companies: apiHost ? apiHost + "/console/v1/companies" : "", userToken: apiHost ? apiHost + "/console/v1/users/token" : "", }, }); window.EASYBUSY_CHATS_CONFIG = merged; try { console.log("EasyBusy Chats: config env =", merged.env || "unset"); if (!chatsHost || !apiHost) { console.warn("EasyBusy Chats: EASYBUSY_CHATS_CONFIG host values were not injected"); } } catch (e) {} })();