Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-live-chat-loader

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-live-chat-loader - npm Package Compare versions

Comparing version 2.4.1 to 2.5.0

dist/components/Chatwoot/index.d.ts

5

CHANGELOG.md

@@ -0,1 +1,6 @@

### 2.5.0 - 2021-05-24
- Add `Chatwoot` component (thanks @motiko)
- Update how we detect if a provider has loaded
### 2.4.0 - 2021-05-24

@@ -2,0 +7,0 @@

18

dist/components/Intercom/index.js

@@ -22,3 +22,3 @@ "use strict";

wrapper: {
zIndex: 2147483001,
zIndex: 2147483004,
// 1 more than the actual widget

@@ -144,10 +144,14 @@ position: 'fixed',

}, /*#__PURE__*/_react.default.createElement("svg", {
height: "14px",
width: "14px",
focusable: "false",
"aria-hidden": "true"
viewBox: "0 0 16 14",
width: "28",
height: "25",
style: {
width: '16px'
}
}, /*#__PURE__*/_react.default.createElement("path", {
fill: "rgb(255, 255, 255)",
d: "M13.978 12.637l-1.341 1.341L6.989 8.33l-5.648 5.648L0 12.637l5.648-5.648L0 1.341 1.341 0l5.648 5.648L12.637 0l1.341 1.341L8.33 6.989l5.648 5.648z",
fillRule: "evenodd"
fillRule: "evenodd",
clipRule: "evenodd",
d: "M.116 4.884l1.768-1.768L8 9.232l6.116-6.116 1.768 1.768L8 12.768.116 4.884z"
}))))));

@@ -161,2 +165,2 @@ };

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0ludGVyY29tL2luZGV4LnRzeCJdLCJuYW1lcyI6WyJzdHlsZXMiLCJ3cmFwcGVyIiwiekluZGV4IiwicG9zaXRpb24iLCJib3R0b20iLCJkaXNwbGF5IiwicmlnaHQiLCJ3aWR0aCIsImhlaWdodCIsImJ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AgICAgICAgICAgZmlsbD1cInJnYigyNTUsIDI1NSwgMjU1KVwiXG4gICAgICAgICAgICAgICAgZD1cIk0xMy45NzggMTIuNjM3bC0xLjM0MSAxLjM0MUw2Ljk4OSA4LjMzbC01LjY0OCA1LjY0OEwwIDEyLjYzN2w1LjY0OC01LjY0OEwwIDEuMzQxIDEuMzQxIDBsNS42NDggNS42NDhMMTIuNjM3IDBsMS4zNDEgMS4zNDFMOC4zMyA2Ljk4OWw1LjY0OCA1LjY0OHpcIlxuICAgICAgICAgICAgICAgIGZpbGxSdWxlPVwiZXZlbm9kZFwiXG4gICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8L3N2Zz5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgKVxufVxuXG5JbnRlcmNvbS5kZWZhdWx0UHJvcHMgPSB7XG4gIGNvbG9yOiAnIzMzMzMzMydcbn1cblxuZXhwb3J0IGRlZmF1bHQgSW50ZXJjb21cbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0ludGVyY29tL2luZGV4LnRzeCJdLCJuYW1lcyI6WyJzdHlsZXMiLCJ3cmFwcGVyIiwiekluZGV4IiwicG9zaXRpb24iLCJib3R0b20iLCJkaXNwbGF5IiwicmlnaHQiLCJ3aWR0aCIsImhlaWdodCIsImJvcmRlclJhZGl1cyIsImJveFNoYWRvdyIsInJlZ2lvbiIsImZvbnRGYW1pbHkiLCJmb250U2l6ZSIsImZvbnRTdHlsZSIsImxldHRlclNwYWNpbmciLCJmb250U3RyZXRjaCIsImZvbnRWYXJpYW50TGlnYXR1cmVzIiwiZm9udFZhcmlhbnRDYXBzIiwiZm9udFZhcmlhbnRFYXN0QXNpYW4iLCJmb250VmFyaWFudFBvc2l0aW9uIiwiZm9udFdlaWdodC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NvbG9yPzogc3RyaW5nXG59XG5cbmNvbnN0IEludGVyY29tID0gKHsgY29sb3IgfTogUHJvcHMpOiBKU1guRWxlbWVudCB8IG51bGwgPT4ge1xuICBjb25zdCBbc3RhdGUsIGxvYWRDaGF0XSA9IHVzZUNoYXQoeyBsb2FkV2hlbklkbGU6IHRydWUgfSlcblxuICBpZiAoc3RhdGUgPT09ICdjb21wbGV0ZScpIHtcbiAgICByZXR1cm4gbnVsbFxuICB9XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBzdHlsZT17e1xuICAgICAgICAuLi5zdHlsZXMud3JhcHBlcixcbiAgICAgICAgYmFja2dyb3VuZDogY29sb3JcbiAgICAgIH19XG4gICAgPlxuICAgICAgPGRpdiBzdHlsZT17c3R5bGVzLnJlZ2lvbn0+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXsoKSA9PiBsb2FkQ2hhdCh7IG9wZW46IHRydWUgfSl9XG4gICAgICAgICAgb25Nb3VzZUVudGVyPXsoKSA9PiBsb2FkQ2hhdCh7IG9wZW46IGZhbHNlIH0pfVxuICAgICAgICAgIHN0eWxlPXtzdHlsZXMubGF1bmNoZXJ9XG4gICAgICAgID5cbiAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICAuLi5zdHlsZXMubG9nbyxcbiAgICAgICAgICAgICAgb3BhY2l0eTogc3RhdGUgPT09ICdpbml0aWFsJyA/IDEgOiAwXG4gICAgICAgICAgICB9fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxzdmdcbiAgICAgICAgICAgICAgaGVpZ2h0PVwiMzJweFwiXG4gICAgICAgICAgICAgIHdpZHRoPVwiMjhweFwiXG4gICAgICAgICAgICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICAgICAgICAgICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICAgICAgICAgICAgdmlld0JveD1cIjAgMCAyOCAzMlwiXG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NGwxLjc2OC0xLjc2OEw4IDkuMjMybDYuMTE2LTYuMTE2IDEuNzY4IDEuNzY4TDggMTIuNzY4LjExNiA0Ljg4NHpcIlxuICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgPC9zdmc+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIClcbn1cblxuSW50ZXJjb20uZGVmYXVsdFByb3BzID0ge1xuICBjb2xvcjogJyMzMzMzMzMnXG59XG5cbmV4cG9ydCBkZWZhdWx0IEludGVyY29tXG4iXX0=
/// <reference types="react" />
import { Provider } from 'types';
export declare const LiveChatLoaderProvider: ({ provider, children, idlePeriod, ...props }: {
export declare const LiveChatLoaderProvider: ({ provider, children, idlePeriod, baseUrl, ...props }: {
provider: Provider;

@@ -9,3 +9,4 @@ children: JSX.Element;

appID?: string | undefined;
baseUrl?: string | undefined;
}) => JSX.Element | null;
export default LiveChatLoaderProvider;

@@ -32,5 +32,6 @@ "use strict";

children,
idlePeriod = 5000
idlePeriod = 5000,
baseUrl
} = _ref,
props = _objectWithoutProperties(_ref, ["provider", "children", "idlePeriod"]);
props = _objectWithoutProperties(_ref, ["provider", "children", "idlePeriod", "baseUrl"]);

@@ -43,3 +44,4 @@ const [state, setState] = (0, _react.useState)('initial');

state,
setState
setState,
baseUrl
}, props);

@@ -58,3 +60,3 @@

}, /*#__PURE__*/_react.default.createElement("link", {
href: chatProvider.domain,
href: baseUrl || chatProvider.domain,
rel: "preconnect",

@@ -68,2 +70,2 @@ crossOrigin: ""

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0xpdmVDaGF0TG9hZGVyUHJvdmlkZXIudHN4Il0sIm5hbWVzIjpbIkxpdmVDaGF0TG9hZGVyUHJvdmlkZXIiLCJwcm92aWRlciIsImNoaWxkcmVuIiwi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YXVsdCBMaXZlQ2hhdExvYWRlclByb3ZpZGVyXG4iXX0=

@@ -64,5 +64,5 @@ "use strict";

};
return /*#__PURE__*/_react.default.createElement("div", _extends({
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", _extends({
className: "fb-customerchat"
}, fields));
}, fields)));
});

@@ -141,2 +141,2 @@

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL01lc3Nlbmdlci9pbmRleC50c3giXSwibmFtZXMiOlsic3R5bGVzIiwiYXBwZWFyYW5jZSIsImJhY2tncm91bmQiLCJib3JkZXJSYWRpdXMiLCJib3R0b20iLCJkaXNwbGF5IiwiaGVpZ2h0IiwicGFkZGluZyIsInBvc2l0aW9uIiwicmlnaHQiLCJ0b3AiLCJ3aWR0aCIsInpJbmRleCIsIm92ZXJmbG93IiwiYm94U2hhZG93IiwidHJhbnNpdGlvbiIsImN1cnNvciIsIm91dGxpbmUiLCJ1c2VyU2VsZWN0IiwiQ3VzdG9tZXJDaGF0IiwicHJvdmlkZXJLZXkiLCJjb2xvciIsImxvZ2dlZEluR3JlZXRpbmciLCJsb2dnZWRPdXRHcmVldGluZyIsImdyZWV0aW5nRGlhbG9nRGlzcGxheSIsImdyZWV0aW5nRGlhbG9nRGVsYXkiLCJmaWVsZHMiLCJwYWdlX2lkIiwidGhlbWVfY29sb3IiLCJsb2dnZWRfaW5fZ3JlZXRpbmciLCJsb2dnZWRfb3V0X2dyZWV0aW5nIiwiZ3JlZXRpbmdfZGlhbG9nX2Rpc3BsYXkiLCJncmVldGluZ19kaWFsb2dfZGVsYXkiLCJXaWRnZXQiLCJzdGF0ZSIsImxvYWRDaGF0IiwibG9hZFdoZW5JZGxlIiwib3BlbiIsIk1lc3NlbmdlciIsInByb3BzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBQ0E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guMjAyOTksMTQuOTUyMjQgQzE2LjgwMDc5LDEzLjkwMDY0IDE0Ljc5OTU5LDE0LjI2OTg0IDEzLjg2NTA5LDE1Ljc1MjY0IEw3Ljk5MDA5LDI1LjA3MzQ0IFpcIiAvPlxuICAgICAgICAgICAgICAgICAgPC9nPlxuICAgICAgICAgICAgICAgIDwvZz5cbiAgICAgICAgICAgICAgPC9zdmc+XG4gICAgICAgICAgICA8L2c+XG4gICAgICAgICAgPC9nPlxuICAgICAgICA8L3N2Zz5cbiAgICAgIDwvc3ZnPlxuICAgIDwvZGl2PlxuICApXG59XG5cbmNvbnN0IE1lc3NlbmdlciA9ICh7IGNvbG9yID0gJycsIC4uLnByb3BzIH06IFByb3BzKTogSlNYLkVsZW1lbnQgPT4ge1xuICBjb25zdCB7IHByb3ZpZGVyS2V5IH0gPSB1c2VQcm92aWRlcigpXG5cbiAgcmV0dXJuIChcbiAgICA8PlxuICAgICAgPEN1c3RvbWVyQ2hhdCBjb2xvcj17Y29sb3J9IHByb3ZpZGVyS2V5PXtwcm92aWRlcktleX0gey4uLnByb3BzfSAvPlxuICAgICAgPFdpZGdldCBjb2xvcj17Y29sb3J9IC8+XG4gICAgPC8+XG4gIClcbn1cblxuZXhwb3J0IGRlZmF1bHQgTWVzc2VuZ2VyXG4iXX0=
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL01lc3Nlbmdlci9pbmRleC50c3giXSwibmFtZXMiOlsic3R5bGVzIiwiYXBwZWFyYW5jZSIsImJhY2tncm91bmQiLCJib3JkZXJSYWRpdXMiLCJib3R0b20iLCJkaXNwbGF5IiwiaGVpZ2h0IiwicGFkZGluZyIsInBvc2l0aW9uIiwicmlnaHQiLCJ0b3AiLCJ3aWR0aCIsInpJbmRleCIsIm92ZXJmbG93IiwiYm94U2hhZG93IiwidHJhbnNpdGlvbiIsImN1cnNvciIsIm91dGxp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bG9yfSBwcm92aWRlcktleT17cHJvdmlkZXJLZXl9IHsuLi5wcm9wc30gLz5cbiAgICAgIDxXaWRnZXQgY29sb3I9e2NvbG9yfSAvPlxuICAgIDwvPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IE1lc3NlbmdlclxuIl19

@@ -22,3 +22,4 @@ "use strict";

container: {
zIndex: 1,
zIndex: 2147483648,
// one more than provider
position: 'fixed',

@@ -103,2 +104,2 @@ border: '0',

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1VzZXJsaWtlL2luZGV4LnRzeCJdLCJuYW1lcyI6WyJzdHlsZXMiLCJjb250YWluZXIiLCJ6SW5kZXgiLCJwb3NpdGlvbiIsImJvcmRlciIsIndpZHRoIiwiaGVpZ2h0IiwiYm94U2hhZG93IiwibGVmdCIsImJ1dHRvbiIsImRpc3BsYXkiLCJqdXN0aWZ5Q29udGVudCIsImFsaWduSXRlbXMiLCJtaW5XaWR0aCIsIm1pbkhlaWdodCIsInBhZGRpbmciLCJjdXJzb3IiLCJpY29uIiwiZm9udFNpemUiLCJVc2VybGlrZSIsImNvbG9yIiwiYmFja2dyb3VuZENvbG9yIiwidk9mZnNldCIsImhPZmZzZXQiLCJzdHlsZSIsInN0YXRlIiwibG9hZENoYXQiLCJsb2FkV2hlbklkbGUiLCJwb3NpdGlvblN0eWxlcyIsImJvdHRvbSIsInJpZ2h0Iiwic2hhcGVTdHlsZSIsImJvcmRlclJhZGl1cyIsIm9wZW4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7Ozs7Ozs7OztBQUVBLE1BQU1BLE1BSUwsR0FBRztBQUNGQyxFQUFBQSxTQUFTLEVBQUU7QUFDVEMsSUFBQUEsTUFBTSxFQUFFLENBREM7QUFFVEMsSUFBQUEsUUFBUSxFQUFFLE9BRkQ7QUFHVEMs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E3em0xLjUtNGExLjUgMS41IDAgMDExLjUtMS41aDE0YTEuNSAxLjUgMCAwMTAgM2gtMTRBMS41IDEuNSAwIDAxMTEgMTh6bS0xLjUtN2ExLjUgMS41IDAgMDAwIDNoMTdhMS41IDEuNSAwIDAwMC0zaC0xN3pcIlxuICAgICAgICAgICAgZmlsbD1cImN1cnJlbnRDb2xvclwiXG4gICAgICAgICAgLz5cbiAgICAgICAgPC9zdmc+XG4gICAgICA8L2J1dHRvbj5cbiAgICA8L2Rpdj5cbiAgKVxufVxuXG5leHBvcnQgZGVmYXVsdCBVc2VybGlrZVxuIl19

@@ -11,4 +11,5 @@ /// <reference types="react" />

idlePeriod?: number;
baseUrl?: string;
}
export declare const LiveChatLoaderContext: import("react").Context<Context>;
export {};

@@ -12,2 +12,2 @@ "use strict";

exports.LiveChatLoaderContext = LiveChatLoaderContext;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb250ZXh0LnRzIl0sIm5hbWVzIjpbIkxpdmVDaGF0TG9hZGVyQ29udGV4dCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQWFPLE1BQU1BLHFCQUFxQixnQkFBRywwQkFBdUIsRUFBdkIsQ0FBOUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjcmVhdGVDb250ZXh0IH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBQcm92aWRlciwgU3RhdGUgfSBmcm9tICd0eXBlcydcblxuaW50ZXJmYWNlIENvbnRleHQge1xuICBwcm92aWRlcjogUHJvdmlkZXJcbiAgcHJvdmlkZXJLZXk6IHN0cmluZ1xuICBzdGF0ZTogU3RhdGVcbiAgc2V0U3RhdGU6IChzdGF0ZTogU3RhdGUpID0+IHZvaWRcbiAgYXBwSUQ/OiBzdHJpbmdcbiAgbG9jYWxlPzogc3RyaW5nXG4gIGlkbGVQZXJpb2Q/OiBudW1iZXJcbn1cblxuZXhwb3J0IGNvbnN0IExpdmVDaGF0TG9hZGVyQ29udGV4dCA9IGNyZWF0ZUNvbnRleHQ8Q29udGV4dD4oe30gYXMgQ29udGV4dClcbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb250ZXh0LnRzIl0sIm5hbWVzIjpbIkxpdmVDaGF0TG9hZGVyQ29udGV4dCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQWNPLE1BQU1BLHFCQUFxQixnQkFBRywwQkFBdUIsRUFBdkIsQ0FBOUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjcmVhdGVDb250ZXh0IH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBQcm92aWRlciwgU3RhdGUgfSBmcm9tICd0eXBlcydcblxuaW50ZXJmYWNlIENvbnRleHQge1xuICBwcm92aWRlcjogUHJvdmlkZXJcbiAgcHJvdmlkZXJLZXk6IHN0cmluZ1xuICBzdGF0ZTogU3RhdGVcbiAgc2V0U3RhdGU6IChzdGF0ZTogU3RhdGUpID0+IHZvaWRcbiAgYXBwSUQ/OiBzdHJpbmdcbiAgbG9jYWxlPzogc3RyaW5nXG4gIGlkbGVQZXJpb2Q/OiBudW1iZXJcbiAgYmFzZVVybD86IHN0cmluZ1xufVxuXG5leHBvcnQgY29uc3QgTGl2ZUNoYXRMb2FkZXJDb250ZXh0ID0gY3JlYXRlQ29udGV4dDxDb250ZXh0Pih7fSBhcyBDb250ZXh0KVxuIl19

@@ -21,3 +21,2 @@ "use strict";

window.navigator && window.navigator.connection : null;
let scriptLoaded = false;

@@ -36,3 +35,4 @@ const useChat = ({

appID,
locale
locale,
baseUrl
} = (0, _react.useContext)(_context.LiveChatLoaderContext);

@@ -87,18 +87,11 @@ (0, _react.useEffect)(() => {

if (state === 'opening') return;
if (state === 'open') return chatProvider.close();
if (state === 'complete') return chatProvider.open();
chatProvider.load({
providerKey,
setState,
appID,
locale,
baseUrl
});
if (!scriptLoaded) {
scriptLoaded = true;
chatProvider.load({
providerKey,
setState,
appID,
locale
});
}
if (open) {
setState('opening');
chatProvider.open();

@@ -113,2 +106,2 @@ setState('open');

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ob29rcy91c2VDaGF0LnRzIl0sIm5hbWVzIjpbInJlcXVlc3RJZGxlQ2FsbGJhY2siLCJ3aW5kb3ciLCJjb25uZWN0aW9uIiwibmF2aWdhdG9yIiwic2NyaXB0TG9hZGVkIiwidXNlQ2hhdCIsImxvYWRXaGVuSWRsZSIsInByb3ZpZGVyIiwicHJvdmlkZXJLZXkiLCJpZGxlUGVyaW9kIiwic3RhdGUiLCJzZXRTdGF0ZSIsImFwcElEIiwibG9jYWxlIiwiTGl2ZUNoYXRMb2FkZXJDb250ZXh0Iiwic2F2ZURhdGEiLCJ0ZXN0IiwiZWZmZWN0aXZlVHlwZSIsImlzTmFOIiwiZWxhcHNlZElkbGVQZXJpb2QiLCJwcmV2aW91c1RpbWVSZW1haW5pbmciLCJzY2hlZHVsZUxvYWRDaGF0IiwiZGVhZGxpbmUiLCJsb2FkQ2hhdCIsIm9wZW4iLCJ0aW1lUmVtYWluaW5nIiwic2V0VGltZW91dCIsImNoYXRQcm92aWRlciIsIlByb3ZpZGVycyIsImNvbnNvbGUiLCJlcnJvciIsImNsb3NlIiwibG9hZCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQUVBOztBQUNBOzs7Ozs7QUFFQSxNQUFNQSxtQkFBbUIsR0FDdkIsT0FBT0MsTUFBUCxLQUFrQixXQUFsQixHQUFnQ0EsTUFBTSxDQUFDRCxtQkFBdkMsR0FBNkQsSUFEL0Q7QUFFQSxNQUFNRSxVQUFVLEdBQ2QsT0FBT0QsTUFBUCxLQUFrQixXQUFsQixHQUNJO0FBQ0FBL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VyblxuICAgICAgfVxuXG4gICAgICBpZiAoc3RhdGUgPT09ICdvcGVuaW5nJykgcmV0dXJuXG4gICAgICBpZiAoc3RhdGUgPT09ICdvcGVuJykgcmV0dXJuIGNoYXRQcm92aWRlci5jbG9zZSgpXG4gICAgICBpZiAoc3RhdGUgPT09ICdjb21wbGV0ZScpIHJldHVybiBjaGF0UHJvdmlkZXIub3BlbigpXG5cbiAgICAgIGlmICghc2NyaXB0TG9hZGVkKSB7XG4gICAgICAgIHNjcmlwdExvYWRlZCA9IHRydWVcbiAgICAgICAgY2hhdFByb3ZpZGVyLmxvYWQoeyBwcm92aWRlcktleSwgc2V0U3RhdGUsIGFwcElELCBsb2NhbGUgfSlcbiAgICAgIH1cblxuICAgICAgaWYgKG9wZW4pIHtcbiAgICAgICAgc2V0U3RhdGUoJ29wZW5pbmcnKVxuICAgICAgICBjaGF0UHJvdmlkZXIub3BlbigpXG4gICAgICAgIHNldFN0YXRlKCdvcGVuJylcbiAgICAgIH1cbiAgICB9LFxuICAgIFtdXG4gIClcblxuICByZXR1cm4gW3N0YXRlLCBsb2FkQ2hhdF1cbn1cblxuZXhwb3J0IGRlZmF1bHQgdXNlQ2hhdFxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ob29rcy91c2VDaGF0LnRzIl0sIm5hbWVzIjpbInJlcXVlc3RJZGxlQ2FsbGJhY2siLCJ3aW5kb3ciLCJjb25uZWN0aW9uIiwibmF2aWdhdG9yIiwidXNlQ2hhdCIsImxvYWRXaGVuSWRsZSIsInByb3ZpZGVyIiwicHJvdmlkZXJLZXkiLCJpZGxlUGVyaW9kIiwic3RhdGUiLCJzZXRTdGF0ZSIsImFwcElEIiwibG9jYWxlIiwiYmFzZVVybCIsIkxpdmVDaGF0TG9hZGVyQ29udGV4dCIsInNhdmVEYXRhIiwidGVzdCIsImVmZmVjdGl2ZVR5cGUiLCJpc05hTiIs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AgICAgICAgY29uc29sZS5lcnJvcignTm8gcHJvdmlkZXIgZ2l2ZW4gdG8gcmVhY3QtbGl2ZS1jaGF0LWxvYWRlcicpXG4gICAgICAgIHJldHVyblxuICAgICAgfVxuXG4gICAgICBjaGF0UHJvdmlkZXIubG9hZCh7IHByb3ZpZGVyS2V5LCBzZXRTdGF0ZSwgYXBwSUQsIGxvY2FsZSwgYmFzZVVybCB9KVxuXG4gICAgICBpZiAob3Blbikge1xuICAgICAgICBjaGF0UHJvdmlkZXIub3BlbigpXG4gICAgICAgIHNldFN0YXRlKCdvcGVuJylcbiAgICAgIH1cbiAgICB9LFxuICAgIFtdXG4gIClcblxuICByZXR1cm4gW3N0YXRlLCBsb2FkQ2hhdF1cbn1cblxuZXhwb3J0IGRlZmF1bHQgdXNlQ2hhdFxuIl19

@@ -1,9 +0,9 @@

import { default as useChat } from './hooks/useChat';
import { default as useProvider } from './hooks/useProvider';
import { default as Drift } from './components/Drift';
import { default as HelpScout } from './components/HelpScout';
import { default as Intercom } from './components/Intercom';
import { default as Messenger } from './components/Messenger';
import { default as Userlike } from './components/Userlike';
import { default as LiveChatLoaderProvider } from './components/LiveChatLoaderProvider';
export { useChat, useProvider, Drift, HelpScout, Intercom, Messenger, Userlike, LiveChatLoaderProvider };
export { default as useChat } from './hooks/useChat';
export { default as useProvider } from './hooks/useProvider';
export { default as Drift } from './components/Drift';
export { default as HelpScout } from './components/HelpScout';
export { default as Intercom } from './components/Intercom';
export { default as Messenger } from './components/Messenger';
export { default as Userlike } from './components/Userlike';
export { default as Chatwoot } from './components/Chatwoot';
export { default as LiveChatLoaderProvider } from './components/LiveChatLoaderProvider';

@@ -48,2 +48,8 @@ "use strict";

});
Object.defineProperty(exports, "Chatwoot", {
enumerable: true,
get: function () {
return _Chatwoot.default;
}
});
Object.defineProperty(exports, "LiveChatLoaderProvider", {

@@ -70,5 +76,7 @@ enumerable: true,

var _Chatwoot = _interopRequireDefault(require("./components/Chatwoot"));
var _LiveChatLoaderProvider = _interopRequireDefault(require("./components/LiveChatLoaderProvider"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGRlZmF1bHQgYXMgdXNlQ2hhdCB9IGZyb20gJy4vaG9va3MvdXNlQ2hhdCdcbmltcG9ydCB7IGRlZmF1bHQgYXMgdXNlUHJvdmlkZXIgfSBmcm9tICcuL2hvb2tzL3VzZVByb3ZpZGVyJ1xuaW1wb3J0IHsgZGVmYXVsdCBhcyBEcmlmdCB9IGZyb20gJy4vY29tcG9uZW50cy9EcmlmdCdcbmltcG9ydCB7IGRlZmF1bHQgYXMgSGVscFNjb3V0IH0gZnJvbSAnLi9jb21wb25lbnRzL0hlbHBTY291dCdcbmltcG9ydCB7IGRlZmF1bHQgYXMgSW50ZXJjb20gfSBmcm9tICcuL2NvbXBvbmVudHMvSW50ZXJjb20nXG5pbXBvcnQgeyBkZWZhdWx0IGFzIE1lc3NlbmdlciB9IGZyb20gJy4vY29tcG9uZW50cy9NZXNzZW5nZXInXG5pbXBvcnQgeyBkZWZhdWx0IGFzIFVzZXJsaWtlIH0gZnJvbSAnLi9jb21wb25lbnRzL1VzZXJsaWtlJ1xuaW1wb3J0IHsgZGVmYXVsdCBhcyBMaXZlQ2hhdExvYWRlclByb3ZpZGVyIH0gZnJvbSAnLi9jb21wb25lbnRzL0xpdmVDaGF0TG9hZGVyUHJvdmlkZXInXG5cbmV4cG9ydCB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YXVsdCBhcyBDaGF0d29vdCB9IGZyb20gJy4vY29tcG9uZW50cy9DaGF0d29vdCdcbmV4cG9ydCB7IGRlZmF1bHQgYXMgTGl2ZUNoYXRMb2FkZXJQcm92aWRlciB9IGZyb20gJy4vY29tcG9uZW50cy9MaXZlQ2hhdExvYWRlclByb3ZpZGVyJ1xuIl19

@@ -13,6 +13,5 @@ import { State } from 'types';

setState: (state: State) => void;
}) => void;
}) => boolean;
open: () => void;
close: () => void;
};
export default _default;

@@ -9,4 +9,5 @@ "use strict";

/* eslint-disable */
const loadScript = () => {
if (window.drift) return;
if (window.drift) return false;
!function () {

@@ -17,5 +18,3 @@ const t = window.driftt = window.drift = window.driftt || [];

if (t.invoked) {
return void (window.console && //eslint-disable-next-line no-console
console.error && //eslint-disable-next-line no-console
console.error('Drift snippet included twice.'));
return void (window.console && console.error && console.error('Drift snippet included twice.'));
} //eslint-disable-next-line @typescript-eslint/no-extra-semi

@@ -25,19 +24,14 @@

;
t.invoked = !0, t.methods = ['identify', 'config', 'track', 'reset', 'debug', 'show', 'ping', 'page', 'hide', 'off', 'on'], //eslint-disable-next-line @typescript-eslint/no-explicit-any
t.factory = function (e) {
t.invoked = !0, t.methods = ['identify', 'config', 'track', 'reset', 'debug', 'show', 'ping', 'page', 'hide', 'off', 'on'], t.factory = function (e) {
return function () {
//eslint-disable-next-line prefer-rest-params
const n = Array.prototype.slice.call(arguments);
return n.unshift(e), t.push(n), t;
};
}, //eslint-disable-next-line @typescript-eslint/no-explicit-any
t.methods.forEach(function (e) {
}, t.methods.forEach(function (e) {
t[e] = t.factory(e);
}), //eslint-disable-next-line @typescript-eslint/no-explicit-any
t.load = function (t) {
}), t.load = function (t) {
var _i$parentNode;
const e = 3e5,
//eslint-disable-next-line @typescript-eslint/no-explicit-any
n = Math.ceil(new Date() / e) * e,
n = Math.ceil(new Date() / e) * e,
o = document.createElement('script');

@@ -50,4 +44,5 @@ o.type = 'text/javascript', o.async = !0, o.crossOrigin = 'anonymous', o.src = 'https://js.driftt.com/include/' + n + '/' + t + '.js';

}();
return true;
};
/* eslint:enable */
/* eslint-enable */

@@ -59,9 +54,13 @@

}) => {
loadScript();
window.drift.load(providerKey);
window.drift.SNIPPET_VERSION = '0.3.1';
window.drift.on('ready', () => {
setState('open');
setTimeout(() => setState('complete'), 2000);
});
const loaded = loadScript(); // Continue as long as drift hasn’t already been initialised.
if (loaded) {
window.drift.load(providerKey);
window.drift.SNIPPET_VERSION = '0.3.1';
window.drift.on('ready', () => {
setState('complete');
});
}
return loaded;
};

@@ -71,11 +70,8 @@

const close = () => window.drift.on('ready', api => api.hideWelcomeMessage());
var _default = {
domain,
load,
open,
close
open
};
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvZHJpZnQudHMiXSwibmFtZXMiOlsiZG9tYWluIiwibG9hZFNjcmlwdCIsIndpbmRvdyIsImRyaWZ0IiwidCIsImRyaWZ0dCIsImluaXQiLCJpbnZva2VkIiwiY29uc29sZSIsImVycm9yIiwibWV0aG9kcyIsImZhY3RvcnkiLCJlIiwibiIsIkFycmF5IiwicHJvdG90eXBlIiwic2xpY2UiLCJjYWxsIiwiYXJndW1lbnRzIiwidW5zaGlmdCIsInB1c2giLCJmb3JFYWNoIiwibG9hZCIsIk1hdGgiLCJjZWlsIiwiRGF0ZSIsIm8iLCJkb2N1bWVudCIsImNyZWF0ZUVsZW1lbnQiLCJ0eXBlIiwiYXN5bmMiLCJjcm9zc09yaWdpbiIsInNyYyIsImkiLCJnZXRFbGVtZW50c0J5VGFnTmFtZSIsInBhcmVudE5vZGUiLCJpbnNlcnRCZWZvcmUiLCJwcm92aWRlcktleSIsInNldFN0YXRlIiwiU05JUFBFVF9WRVJTSU9OIiwib24iLCJzZXRUaW1lb3V0Iiwib3BlbiIsImFwaSIsInNob3dXZWxjb21lTWVzc2FnZSIsImNsb3NlIiwiaGlkZVd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lc2NyaXB0LWVzbGludC9uby1leHRyYS1zZW1pXG4gICAgICA7KHQuaW52b2tlZCA9ICEwKSxcbiAgICAgICAgKHQubWV0aG9kcyA9IFtcbiAgICAgICAgICAnaWRlbnRpZnknLFxuICAgICAgICAgICdjb25maWcnLFxuICAgICAgICAgICd0cmFjaycsXG4gICAgICAgICAgJ3Jlc2V0JyxcbiAgICAgICAgICAnZGVidWcnLFxuICAgICAgICAgICdzaG93JyxcbiAgICAgICAgICAncGluZycsXG4gICAgICAgICAgJ3BhZ2UnLFxuICAgICAgICAgICdoaWRlJyxcbiAgICAgICAgICAnb2ZmJyxcbiAgICAgICAgICAnb24nXG4gICAgICAgIF0pLFxuICAgICAgICAvL2VzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tZXhwbGljaXQtYW55XG4gICAgICAgICh0LmZhY3RvcnkgPSBmdW5jdGlvbihlOiBhbnkpIHtcbiAgICAgICAgICByZXR1cm4gZnVuY3Rpb24oKSB7XG4gICAgICAgICAgICAvL2VzbGludC1kaXNhYmxlLW5leHQtbGluZSBwcmVmZXItcmVzdC1wYXJhbXNcbiAgICAgICAgICAgIGNvbnN0IG4gPSBBcnJheS5wcm90b3R5cGUuc2xpY2UuY2FsbChhcmd1bWVudHMpXG4gICAgICAgICAgICByZXR1cm4gbi51bnNoaWZ0KGUpLCB0LnB1c2gobiksIHRcbiAgICAgICAgICB9XG4gICAgICAgIH0pLFxuICAgICAgICAvL2VzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tZXhwbGljaXQtYW55XG4gICAgICAgIHQubWV0aG9kcy5mb3JFYWNoKGZ1bmN0aW9uKGU6IGFueSkge1xuICAgICAgICAgIHRbZV0gPSB0LmZhY3RvcnkoZSlcbiAgICAgICAgfSksXG4gICAgICAgIC8vZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leH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vbmZpZycsXG4gICAgICAgICAgJ3RyYWNrJyxcbiAgICAgICAgICAncmVzZXQnLFxuICAgICAgICAgICdkZWJ1ZycsXG4gICAgICAgICAgJ3Nob3cnLFxuICAgICAgICAgICdwaW5nJyxcbiAgICAgICAgICAncGFnZScsXG4gICAgICAgICAgJ2hpZGUnLFxuICAgICAgICAgICdvZmYnLFxuICAgICAgICAgICdvbidcbiAgICAgICAgXSksXG4gICAgICAgICh0LmZhY3RvcnkgPSBmdW5jdGlvbihlOiBhbnkpIHtcbiAgICAgICAgICByZXR1cm4gZnVuY3Rpb24oKSB7XG4gICAgICAgICAgICBjb25zdCBuID0gQXJyYXkucHJvdG90eXBlLnNsaWNlLmNhbGwoYXJndW1lbnRzKVxuICAgICAgICAgICAgcmV0dXJuIG4udW5zaGlmdChlKSwgdC5wdXNoKG4pLCB0XG4gICAgICAgICAgfVxuICAgICAgICB9KSxcbiAgICAgICAgdC5tZXRob2RzLmZvckVhY2goZnVuY3Rpb24oZTogYW55KSB7XG4gICAgICAgICAgdFtlXSA9IHQuZmFjdG9yeShlKVxuICAgICAgICB9KSxcbiAgICAgICAgKHQubG9hZCA9IGZ1bmN0aW9uKHQ6IGFueSkge1xuICAgICAgICAgIGNvbnN0IGUgPSAzZTUsXG4gICAgICAgICAgICBuID0gTWF0aC5jZWlsKChuZXcgRGF0ZSgpIGFzIGFueSkgLyBlKSAqIGUsXG4gICAgICAgICAgICBvID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnc2NyaXB0JylcbiAgICAgICAgICA7KG8udHlwZSA9ICd0ZXh0L2phdmFzY3JpcHQnKSxcbiAgICAgICAgICAgIChvLmFzeW5jID0gITApLFxuICAgICAgICAgICAgKG8uY3Jvc3NPcmlnaW4gPSAnYW5vbnltb3VzJyksXG4gICAgICAgICAgICAoby5zcmMgPSAnaHR0cHM6Ly9qcy5kcmlmdHQuY29tL2luY2x1ZGUvJyArIG4gKyAnLycgKyB0ICsgJy5qcycpXG4gICAgICAgICA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) => void;
}) => void;
}) => boolean;
open: () => void;
close: () => void;
};
export default _default;

@@ -9,5 +9,5 @@ "use strict";

/* eslint:disable */
/* eslint-disable */
const loadScript = () => {
if (window.Beacon) return;
if (window.Beacon) return false;

@@ -23,4 +23,3 @@ (function (e, t, n) {

if ( //eslint-disable-next-line @typescript-eslint/no-explicit-any
e.Beacon = n = function (t, n, a) {
if (e.Beacon = n = function (t, n, a) {
e.Beacon.readyQueue.push({

@@ -32,6 +31,8 @@ method: t,

}, n.readyQueue = [], 'complete' === t.readyState) return a();
e.attachEvent ? e.attachEvent('onload', a) : e.addEventListener('load', a, !1); //eslint-disable-next-line @typescript-eslint/no-empty-function
e.attachEvent ? e.attachEvent('onload', a) : e.addEventListener('load', a, !1);
})(window, document, window.Beacon || function () {});
return true;
};
/* eslint:enable */
/* eslint-enable */

@@ -43,5 +44,11 @@

}) => {
loadScript();
window.Beacon('init', providerKey);
setTimeout(() => setState('complete'), 2000);
const loaded = loadScript(); // Continue as long as helpscout hasn’t already been initialised.
if (loaded) {
window.Beacon('init', providerKey);
window.Beacon('once', 'ready', () => // Allow helpscout to complete loading before removing fake widget
setTimeout(() => setState('complete'), 2000));
}
return loaded;
};

@@ -51,11 +58,8 @@

const close = () => window.Beacon('close');
var _default = {
domain,
load,
open,
close
open
};
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvaGVscFNjb3V0LnRzIl0sIm5hbWVzIjpbImRvbWFpbiIsImxvYWRTY3JpcHQiLCJ3aW5kb3ciLCJCZWFjb24iLCJlIiwidCIsIm4iLCJhIiwiZ2V0RWxlbWVudHNCeVRhZ05hbWUiLCJjcmVhdGVFbGVtZW50IiwiYXN5bmMiLCJzcmMiLCJwYXJlbnROb2RlIiwiaW5zZXJ0QmVmb3JlIiwicmVhZHlRdWV1ZSIsInB1c2giLCJtZXRob2QiLCJvcHRpb25zIiwi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3V0IGhhc27igJl0IGFscmVhZHkgYmVlbiBpbml0aWFsaXNlZC5cbiAgaWYgKGxvYWRlZCkge1xuICAgIHdpbmRvdy5CZWFjb24oJ2luaXQnLCBwcm92aWRlcktleSlcbiAgICB3aW5kb3cuQmVhY29uKCdvbmNlJywgJ3JlYWR5JywgKCkgPT5cbiAgICAgIC8vIEFsbG93IGhlbHBzY291dCB0byBjb21wbGV0ZSBsb2FkaW5nIGJlZm9yZSByZW1vdmluZyBmYWtlIHdpZGdldFxuICAgICAgc2V0VGltZW91dCgoKSA9PiBzZXRTdGF0ZSgnY29tcGxldGUnKSwgMjAwMClcbiAgICApXG4gIH1cblxuICByZXR1cm4gbG9hZGVkXG59XG5cbmNvbnN0IG9wZW4gPSAoKTogdm9pZCA9PiB3aW5kb3cuQmVhY29uKCdvcGVuJylcblxuZXhwb3J0IGRlZmF1bHQge1xuICBkb21haW4sXG4gIGxvYWQsXG4gIG9wZW5cbn1cbiJdfQ==

@@ -6,1 +6,2 @@ export { default as drift } from './drift';

export { default as userlike } from './userlike';
export { default as chatwoot } from './chatwoot';

@@ -36,2 +36,8 @@ "use strict";

});
Object.defineProperty(exports, "chatwoot", {
enumerable: true,
get: function () {
return _chatwoot.default;
}
});

@@ -48,3 +54,5 @@ var _drift = _interopRequireDefault(require("./drift"));

var _chatwoot = _interopRequireDefault(require("./chatwoot"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBQ0E7O0FBQ0E7O0FBQ0EiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBkZWZhdWx0IG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() => any;
close: () => any;
}) => boolean;
open: () => void;
};
export default _default;

@@ -7,2 +7,7 @@ "use strict";

exports.default = void 0;
var _waitForLoad = _interopRequireDefault(require("../utils/waitForLoad"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const domain = 'https://widget.intercom.io';

@@ -12,3 +17,3 @@

const loadScript = () => {
if (window.Intercom) return;
if (window.Intercom) return false;

@@ -20,4 +25,3 @@ (function () {

if (typeof ic === 'function') {
ic('reattach_activator'); //eslint-disable-next-line no-undef
ic('reattach_activator');
ic('update', window.intercomSettings);

@@ -37,3 +41,3 @@ } else {

w.Intercom = i; //eslint-disable-next-line no-inner-declarations
w.Intercom = i;

@@ -54,4 +58,6 @@ const l = () => {

})();
return true;
};
/* eslint:enable */
/* eslint-enable */

@@ -63,7 +69,13 @@

}) => {
loadScript();
window.Intercom('boot', {
app_id: providerKey
});
setTimeout(() => setState('complete'), 2000);
const loaded = loadScript(); // Continue as long as userlike hasn’t already been initialised.
if (loaded) {
window.Intercom('boot', {
app_id: providerKey
});
(0, _waitForLoad.default)(() => window.Intercom.booted, // Allow intercom to complete loading before removing fake widget
() => setTimeout(() => setState('complete'), 2000));
}
return loaded;
};

@@ -73,11 +85,8 @@

const close = () => window.Intercom('close');
var _default = {
domain,
load,
open,
close
open
};
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvaW50ZXJjb20udHMiXSwibmFtZXMiOlsiZG9tYWluIiwibG9hZFNjcmlwdCIsIndpbmRvdyIsIkludGVyY29tIiwidyIsImljIiwiaW50ZXJjb21TZXR0aW5ncyIsImQiLCJkb2N1bWVudCIsImkiLCJjIiwiYXJndW1lbnRzIiwicSIsImFyZ3MiLCJwdXNoIiwibCIsInMiLCJjcmVhdGVFbGVtZW50IiwidHlwZSIsImFzeW5jIiwic3JjIiwieCIsImdldEVsZW1lbnRzQnlU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4gICAgICB3LkludGVyY29tID0gaVxuICAgICAgLy9lc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8taW5uZXItZGVjbGFyYXRpb25zXG4gICAgICBjb25zdCBsID0gKCkgPT4ge1xuICAgICAgICB2YXIgcyA9IGQuY3JlYXRlRWxlbWVudCgnc2NyaXB0JylcbiAgICAgICAgcy50eXBlID0gJ3RleHQvamF2YXNjcmlwdCdcbiAgICAgICAgcy5hc3luYyA9IHRydWVcbiAgICAgICAgcy5zcmMgPSBgJHtkb21haW59L3dpZGdldC8zcW1rNWd5Z2BcbiAgICAgICAgdmFyIHggPSBkLmdldEVsZW1lbnRzQnlUYWdOYW1lKCdzY3JpcHQnKVswXVxuICAgICAgICB4LnBhcmVudE5vZGU/Lmluc2VydEJlZm9yZShzLCB4KVxuICAgICAgfVxuICAgICAgbCgpXG4gICAgfVxuICB9KSgpXG59XG4vKiBlc2xpbnQ6ZW5hYmxlICovXG5cbmNvbnN0IGxvYWQgPSAoe1xuICBwcm92aWRlcktleSxcbiAgc2V0U3RhdGVcbn06IHtcbiAgcHJvdmlkZXJLZXk6IHN0cmluZ1xuICBzZXRTdGF0ZTogKHN0YXRlOiBTdGF0ZSkgPT4gdm9pZFxufSkgPT4ge1xuICBsb2FkU2NyaXB0KClcbiAgd2luZG93LkludGVyY29tKCdib290JywgeyBhcHBfaWQ6IHByb3ZpZGVyS2V5IH0pXG4gIHNldFRpbWVvdXQoKCkgPT4gc2V0U3RhdGUoJ2NvbXBsZXRlJyksIDIwMDApXG59XG5cbmNvbnN0IG9wZW4gPSAoKSA9PiB3aW5kb3cuSW50ZXJjb20oJ3Nob3cnKVxuXG5jb25zdCBjbG9zZSA9ICgpID0+IHdpbmRvdy5JbnRlcmNvbSgnY2xvc2UnKVxuXG5leHBvcnQgZGVmYXVsdCB7XG4gIGRvbWFpbixcbiAgbG9hZCxcbiAgb3BlbixcbiAgY2xvc2Vcbn1cbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8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7XG4gIGNvbnN0IGxvYWRlZCA9IGxvYWRTY3JpcHQoKVxuXG4gIC8vIENvbnRpbnVlIGFzIGxvbmcgYXMgdXNlcmxpa2UgaGFzbuKAmXQgYWxyZWFkeSBiZWVuIGluaXRpYWxpc2VkLlxuICBpZiAobG9hZGVkKSB7XG4gICAgd2luZG93LkludGVyY29tKCdib290JywgeyBhcHBfaWQ6IHByb3ZpZGVyS2V5IH0pXG4gICAgd2FpdEZvckxvYWQoXG4gICAgICAoKSA9PiB3aW5kb3cuSW50ZXJjb20uYm9vdGVkLFxuICAgICAgLy8gQWxsb3cgaW50ZXJjb20gdG8gY29tcGxldGUgbG9hZGluZyBiZWZvcmUgcmVtb3ZpbmcgZmFrZSB3aWRnZXRcbiAgICAgICgpID0+IHNldFRpbWVvdXQoKCkgPT4gc2V0U3RhdGUoJ2NvbXBsZXRlJyksIDIwMDApXG4gICAgKVxuICB9XG5cbiAgcmV0dXJuIGxvYWRlZFxufVxuXG5jb25zdCBvcGVuID0gKCk6IHZvaWQgPT4gd2luZG93LkludGVyY29tKCdzaG93JylcblxuZXhwb3J0IGRlZmF1bHQge1xuICBkb21haW4sXG4gIGxvYWQsXG4gIG9wZW5cbn1cbiJdfQ==

@@ -14,6 +14,5 @@ import { State } from 'types';

setState: (state: State) => void;
}) => void;
}) => boolean;
open: () => void;
close: () => void;
};
export default _default;

@@ -7,7 +7,12 @@ "use strict";

exports.default = void 0;
var _waitForLoad = _interopRequireDefault(require("../utils/waitForLoad"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const domain = 'https://connect.facebook.net';
/* eslint:disable */
/* eslint-disable */
const loadScript = locale => {
if (window.FB) return;
if (window.FB) return false;

@@ -20,5 +25,4 @@ (function loadFacebookSDK(d, s, id) {

return;
} //eslint-disable-next-line @typescript-eslint/no-explicit-any
}
const js = d.createElement(s);

@@ -36,4 +40,6 @@ js.id = id;

})(window.document, 'script', 'facebook-jssdk');
return true;
};
/* eslint:enable */
/* eslint-enable */

@@ -46,27 +52,28 @@

}) => {
loadScript(locale);
const loaded = loadScript(locale); // Continue as long as messenger hasn’t already been initialised.
window.fbAsyncInit = function () {
window.FB.init(Object.assign({
cookie: true,
xfbml: true,
version: 'v6.0'
}, appID ? {
appId: appID
} : {}));
};
if (loaded) {
window.fbAsyncInit = function () {
window.FB.init(Object.assign({
cookie: true,
xfbml: true,
version: 'v6.0'
}, appID ? {
appId: appID
} : {}));
window.FB.Event.subscribe('customerchat.load', () => // Allow messenger to complete loading before removing fake widget
setTimeout(() => setState('complete'), 3000));
};
}
setTimeout(() => setState('complete'), 2000);
return loaded;
};
const open = () => {
if (window.FB) {
window.FB.CustomerChat.show(true);
}
};
(0, _waitForLoad.default)(() => {
var _window$FB, _window$FB$CustomerCh;
const close = () => {
if (window.FB) {
window.FB.CustomerChat.hide();
}
return !!((_window$FB = window.FB) !== null && _window$FB !== void 0 && (_window$FB$CustomerCh = _window$FB.CustomerChat) !== null && _window$FB$CustomerCh !== void 0 && _window$FB$CustomerCh.show);
}, // messenger is slow to show once it has loaded
() => setTimeout(() => window.FB.CustomerChat.show(true), 2000));
};

@@ -77,6 +84,5 @@

load,
open,
close
open
};
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvbWVzc2VuZ2VyLnRzIl0sIm5hbWVzIjpbImRvbWFpbiIsImxvYWRTY3JpcHQiLCJsb2NhbGUiLCJ3aW5kb3ciLCJGQiIsImxvYWRGYWNlYm9va1NESyIsImQiLCJzIiwiaWQiLCJmanMiLCJnZXRFbGVtZW50c0J5VGFnTmFtZSIsImdldEVsZW1lbnRCeUlkIiwianMiLCJjcmVhdGVFbGVtZW50Iiwic3JjIiwicGFyZW50Tm9kZSIsImluc2VydEJlZm9yZSIsImJvZHkiLCJhcHBlbmRDaGlsZCIsImRvY3VtZW50IiwibG9hZCIsImFwcElEIiwic2V0U3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xvYWQoXG4gICAgKCkgPT4gISF3aW5kb3cuRkI/LkN1c3RvbWVyQ2hhdD8uc2hvdyxcbiAgICAvLyBtZXNzZW5nZXIgaXMgc2xvdyB0byBzaG93IG9uY2UgaXQgaGFzIGxvYWRlZFxuICAgICgpID0+IHNldFRpbWVvdXQoKCkgPT4gd2luZG93LkZCLkN1c3RvbWVyQ2hhdC5zaG93KHRydWUpLCAyMDAwKVxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IHtcbiAgZG9tYWluLFxuICBsb2FkLFxuICBvcGVuXG59XG4iXX0=

@@ -5,2 +5,3 @@ import { State } from 'types';

userlike: {
userlikeReady: () => void;
userlikeStartChat: () => void;

@@ -16,6 +17,5 @@ userlikeQuitChat: () => void;

setState: (state: State) => void;
}) => void;
}) => boolean;
open: () => void;
close: () => void;
};
export default _default;

@@ -7,10 +7,12 @@ "use strict";

exports.default = void 0;
var _waitForLoad = _interopRequireDefault(require("../utils/waitForLoad"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const domain = 'https://userlike-cdn-widgets.s3-eu-west-1.amazonaws.com';
const maxAttempts = 10;
let currentLoadAttempt = 0;
let currentOpenAttempt = 0;
/* eslint-disable */
const loadScript = providerKey => {
if (window.userlike) return;
if (window.userlike) return false;
var d = document;

@@ -30,2 +32,3 @@

l();
return true;
};

@@ -35,17 +38,2 @@ /* eslint-enable */

const attemptLoad = setState => {
if (currentLoadAttempt === maxAttempts) {
return;
}
if (!window.userlike) {
currentLoadAttempt += 1;
setTimeout(() => attemptLoad(setState), 1000); // Try every second
return;
}
setTimeout(() => setState('complete'), 2000);
};
const load = ({

@@ -55,30 +43,27 @@ providerKey,

}) => {
loadScript(providerKey);
attemptLoad(setState);
};
const loaded = loadScript(providerKey); // Continue as long as userlike hasn’t already been initialised.
const open = () => {
if (currentOpenAttempt === maxAttempts) {
return;
if (loaded) {
(0, _waitForLoad.default)(() => !!window.userlike, // Allow userlike to complete loading before removing fake widget
() => setTimeout(() => setState('complete'), 2000));
}
if (!window.userlike) {
currentOpenAttempt += 1;
setTimeout(open, 1000); // Try every second
return true;
};
return;
}
const open = () => {
(0, _waitForLoad.default)(() => {
var _window$userlike;
window.userlike.userlikeStartChat();
return !!((_window$userlike = window.userlike) !== null && _window$userlike !== void 0 && _window$userlike.userlikeStartChat);
}, // userlike is slow to show once it has loaded
() => setTimeout(window.userlike.userlikeStartChat, 1000));
};
const close = () => window.userlike && window.userlike.userlikeQuitChat();
var _default = {
domain,
load,
open,
close
open
};
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvdXNlcmxpa2UudHMiXSwibmFtZXMiOlsiZG9tYWluIiwibWF4QXR0ZW1wdHMiLCJjdXJyZW50TG9hZEF0dGVtcHQiLCJjdXJyZW50T3BlbkF0dGVtcHQiLCJsb2FkU2NyaXB0IiwicHJvdmlkZXJLZXkiLCJ3aW5kb3ciLCJ1c2VybGlrZSIsImQiLCJkb2N1bWVudCIsImwiLCJzIiwiY3JlYXRlRWxlbWVudCIsInR5cGUiLCJhc3luYyIsInNyYyIsIngiLCJnZXRFbGVtZW50c0J5VGFnTmFtZSIsInBhcmVudE5vZGUiLCJpbnNlcnRCZWZvcmUiLCJhdHRlbXB0TG9hZCIsInNldFN0YXRlIiwic2V0VGltZW91dCIsImxvYWQiLCJvcGVuIiwidXNlcmxpa2VTdGFydENoYXQiLCJjbG9zZSIsInVzZXJsaWtlUXVpdENoYXQiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUVBLE1BQU1BLE1BQU0sR0FBRyx5REFBZjtBQUNBLE1BQU1DLFdBQVcsR0FBRyxFQUFwQjtBQUNBLElBQUlDLGtCQUFrQixHQUFHLENBQXpCO0FBQ0EsSUFBSUMsa0JBQWtCLEdBQUcsQ0FBekI7O0FBWUE7QUFDQSxNQUFNQyxVQUFVLEdBQUlDLFdBQUQsS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FkU2NyaXB0KHByb3ZpZGVyS2V5KVxuICAvLyBDb250aW51ZSBhcyBsb25nIGFzIHVzZXJsaWtlIGhhc27igJl0IGFscmVhZHkgYmVlbiBpbml0aWFsaXNlZC5cbiAgaWYgKGxvYWRlZCkge1xuICAgIHdhaXRGb3JMb2FkKFxuICAgICAgKCkgPT4gISF3aW5kb3cudXNlcmxpa2UsXG4gICAgICAvLyBBbGxvdyB1c2VybGlrZSB0byBjb21wbGV0ZSBsb2FkaW5nIGJlZm9yZSByZW1vdmluZyBmYWtlIHdpZGdldFxuICAgICAgKCkgPT4gc2V0VGltZW91dCgoKSA9PiBzZXRTdGF0ZSgnY29tcGxldGUnKSwgMjAwMClcbiAgICApXG4gIH1cblxuICByZXR1cm4gdHJ1ZVxufVxuXG5jb25zdCBvcGVuID0gKCk6IHZvaWQgPT4ge1xuICB3YWl0Rm9yTG9hZChcbiAgICAoKSA9PiAhIXdpbmRvdy51c2VybGlrZT8udXNlcmxpa2VTdGFydENoYXQsXG4gICAgLy8gdXNlcmxpa2UgaXMgc2xvdyB0byBzaG93IG9uY2UgaXQgaGFzIGxvYWRlZFxuICAgICgpID0+IHNldFRpbWVvdXQod2luZG93LnVzZXJsaWtlLnVzZXJsaWtlU3RhcnRDaGF0LCAxMDAwKVxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IHtcbiAgZG9tYWluLFxuICBsb2FkLFxuICBvcGVuXG59XG4iXX0=

@@ -1,2 +0,2 @@

export declare type State = 'initial' | 'opening' | 'open' | 'complete';
export declare type Provider = 'helpScout' | 'intercom' | 'messenger' | 'drift' | 'userlike';
export declare type State = 'initial' | 'open' | 'complete';
export declare type Provider = 'helpScout' | 'intercom' | 'messenger' | 'drift' | 'userlike' | 'chatwoot';

@@ -11,3 +11,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

wrapper: {
zIndex: 2147483001,
zIndex: 2147483004,
// 1 more than the actual widget

@@ -133,10 +133,14 @@ position: 'fixed',

}, /*#__PURE__*/React.createElement("svg", {
height: "14px",
width: "14px",
focusable: "false",
"aria-hidden": "true"
viewBox: "0 0 16 14",
width: "28",
height: "25",
style: {
width: '16px'
}
}, /*#__PURE__*/React.createElement("path", {
fill: "rgb(255, 255, 255)",
d: "M13.978 12.637l-1.341 1.341L6.989 8.33l-5.648 5.648L0 12.637l5.648-5.648L0 1.341 1.341 0l5.648 5.648L12.637 0l1.341 1.341L8.33 6.989l5.648 5.648z",
fillRule: "evenodd"
fillRule: "evenodd",
clipRule: "evenodd",
d: "M.116 4.884l1.768-1.768L8 9.232l6.116-6.116 1.768 1.768L8 12.768.116 4.884z"
}))))));

@@ -149,2 +153,2 @@ };

export default Intercom;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0ludGVyY29tL2luZGV4LnRzeCJdLCJuYW1lcyI6WyJSZWFjdCIsInVzZUNoYXQiLCJzdHlsZXMiLCJ3cmFwcGVyIiwiekluZGV4IiwicG9zaXRpb24iLCJib3R0b20iLCJkaXNwbGF5IiwicmlnaHQiLCJ3aWR0aCIsImhlaWdodCIsImJvcmRlclJhZGl1cyIsImJveFNoYWRvdyIsInJlZ2lvbiIsImZvbnRGYW1pbHkiLCJmb250U2l6ZSIsImZvbnRTdHlsZSIsImxldHRlclNwYWNpbmciLCJmb250U3RyZXRjaCIsImZvbnRWYXJpYW50TGlnYXR1cmVzIiwiZm9udFZhcmlhbnRDYXBzIiwiZm9udFZhcmlhbnRFYXN0QXNpYW4iLCJmb250VmFyaWFudFBvc2l0aW9uIiwiZm9udFdlaWdodCIsInRleHRBbGlnbiIsInRleHREZWNvcmF0aW9uTGluZSIsInRleHREZWNvcm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G51bGwgPT4ge1xuICBjb25zdCBbc3RhdGUsIGxvYWRDaGF0XSA9IHVzZUNoYXQoeyBsb2FkV2hlbklkbGU6IHRydWUgfSlcblxuICBpZiAoc3RhdGUgPT09ICdjb21wbGV0ZScpIHtcbiAgICByZXR1cm4gbnVsbFxuICB9XG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICBzdHlsZT17e1xuICAgICAgICAuLi5zdHlsZXMud3JhcHBlcixcbiAgICAgICAgYmFja2dyb3VuZDogY29sb3JcbiAgICAgIH19XG4gICAgPlxuICAgICAgPGRpdiBzdHlsZT17c3R5bGVzLnJlZ2lvbn0+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXsoKSA9PiBsb2FkQ2hhdCh7IG9wZW46IHRydWUgfSl9XG4gICAgICAgICAgb25Nb3VzZUVudGVyPXsoKSA9PiBsb2FkQ2hhdCh7IG9wZW46IGZhbHNlIH0pfVxuICAgICAgICAgIHN0eWxlPXtzdHlsZXMubGF1bmNoZXJ9XG4gICAgICAgID5cbiAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICAuLi5zdHlsZXMubG9nbyxcbiAgICAgICAgICAgICAgb3BhY2l0eTogc3RhdGUgPT09ICdpbml0aWFsJyA/IDEgOiAwXG4gICAgICAgICAgICB9fVxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxzdmdcbiAgICAgICAgICAgICAgaGVpZ2h0PVwiMzJweFwiXG4gICAgICAgICAgICAgIHdpZHRoPVwiMjhweFwiXG4gICAgICAgICAgICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICAgICAgICAgICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICAgICAgICAgICAgdmlld0JveD1cIjAgMCAyOCAzMlwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIDxwYXRoXG4gICAgICAgICAgICAgICAgZmlsbD1cInJnYigyNTUsIDI1NSwgMj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MzcgMGwxLjM0MSAxLjM0MUw4LjMzIDYuOTg5bDUuNjQ4IDUuNjQ4elwiXG4gICAgICAgICAgICAgICAgZmlsbFJ1bGU9XCJldmVub2RkXCJcbiAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDwvc3ZnPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICApXG59XG5cbkludGVyY29tLmRlZmF1bHRQcm9wcyA9IHtcbiAgY29sb3I6ICcjMzMzMzMzJ1xufVxuXG5leHBvcnQgZGVmYXVsdCBJbnRlcmNvbVxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0ludGVyY29tL2luZGV4LnRzeCJdLCJuYW1lcyI6WyJSZWFjdCIsInVzZUNoYXQiLCJzdHlsZXMiLCJ3cmFwcGVyIiwiekluZGV4IiwicG9zaXRpb24iLCJib3R0b20iLCJkaXNwbGF5IiwicmlnaHQiLCJ3aWR0aCIsImhlaWdodCIsImJvcmRlclJhZGl1cyIsImJveFNoYWRvdyIsInJlZ2lvbiIsImZvbnRGYW1pbHkiLCJmb250U2l6ZSIsImZvbnRTdHlsZSIsImxldHRlclNwYWNpbmciLCJmb250U3RyZXRjaCIsImZvbnRWYXJpYW50TGlnYXR1cmVzIiwiZm9udFZhcmlhbnRDYXBzIiwiZm9udFZhcmlhbnRFYXN0QXNpYW4iLCJmb250VmFyaWFudFBvc2l0aW9uIiwiZm9udFdlaWdodCIsInRleHRBbGlnbiIsInRleHREZWNvcmF0aW9uTGluZSIsInRleHREZWNvcmF0aW9uU3R5bGUiLCJ0ZXh0RGVjb3JhdGlvbkNvbG9yIiwidGV4dERlY29yYXRpb24iLCJ0ZXh0SW5kZW50IiwidGV4dFNoYWRvdyIsInRleHRUcmFuc2Zvcm0iLCJib3hTaXppbmciLCJXZWJ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ODg0elwiXG4gICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8L3N2Zz5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgKVxufVxuXG5JbnRlcmNvbS5kZWZhdWx0UHJvcHMgPSB7XG4gIGNvbG9yOiAnIzMzMzMzMydcbn1cblxuZXhwb3J0IGRlZmF1bHQgSW50ZXJjb21cbiJdfQ==

@@ -18,5 +18,6 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

children,
idlePeriod = 5000
idlePeriod = 5000,
baseUrl
} = _ref,
props = _objectWithoutProperties(_ref, ["provider", "children", "idlePeriod"]);
props = _objectWithoutProperties(_ref, ["provider", "children", "idlePeriod", "baseUrl"]);

@@ -29,3 +30,4 @@ const [state, setState] = useState('initial');

state,
setState
setState,
baseUrl
}, props);

@@ -44,3 +46,3 @@

}, /*#__PURE__*/React.createElement("link", {
href: chatProvider.domain,
href: baseUrl || chatProvider.domain,
rel: "preconnect",

@@ -51,2 +53,2 @@ crossOrigin: ""

export default LiveChatLoaderProvider;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL0xpdmVDaGF0TG9hZGVyUHJvdmlkZXIudHN4Il0sIm5hbWVzIjpbIlJlYWN0IiwidXNlU3RhdGUiLCJQcm92aWRlcnMiLCJMaXZlQ2hhdExvYWRlckNvbnRleHQiLCJMaXZlQ2hhdExvYWRlclByb3ZpZGVyIiwicHJvdmlkZXIiLCJjaGlsZHJlbiIsImlkbGVQZXJpb2QiLCJwcm9wcyIsInN0YXRlIiwic2V0U3RhdGUiLCJ2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YXRQcm92aWRlci5kb21haW59XG4gICAgICAgIHJlbD1cInByZWNvbm5lY3RcIlxuICAgICAgICBjcm9zc09yaWdpbj1cIlwiXG4gICAgICAvPlxuICAgICAge2NoaWxkcmVufVxuICAgIDwvTGl2ZUNoYXRMb2FkZXJDb250ZXh0LlByb3ZpZGVyPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IExpdmVDaGF0TG9hZGVyUHJvdmlkZXJcbiJdfQ==

@@ -48,5 +48,5 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

};
return /*#__PURE__*/React.createElement("div", _extends({
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", _extends({
className: "fb-customerchat"
}, fields));
}, fields)));
});

@@ -124,2 +124,2 @@

export default Messenger;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL01lc3Nlbmdlci9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJtZW1vIiwidXNlUHJvdmlkZXIiLCJ1c2VDaGF0Iiwic3R5bGVzIiwiYXBwZWFyYW5jZSIsImJhY2tncm91bmQiLCJib3JkZXJSYWRpdXMiLCJib3R0b20iLCJkaXNwbGF5IiwiaGVpZ2h0IiwicGFkZGluZyIsInBvc2l0aW9uIiwicmlnaHQiLCJ0b3AiLCJ3aWR0aCIsInpJbmRleCIsIm92ZXJmbG93IiwiYm94U2hhZG93IiwidHJhbnNpdGlvbiIsImN1cnNvciIsIm91dGxpbmUiLCJ1c2VyU2VsZWN0IiwiQ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wxNC45MjY1NCBDMzIuNTczNjksMTQuMDMyMDQgMzEuNDc0MTksMTMuMDI0MDQgMzAuNjMxODksMTMuNjYzMjQgTDI0LjMyMTE5LDE4LjQ1MjY0IEMyMy44OTQyOSwxOC43NzY2NCAyMy4zMDQzOSwxOC43NzgzNCAyMi44NzU2OSwxOC40NTY3NCBMMTguMjAyOTksMTQuOTUyMjQgQzE2LjgwMDc5LDEzLjkwMDY0IDE0Ljc5OTU5LDE0LjI2OTg0IDEzLjg2NTA5LDE1Ljc1MjY0IEw3Ljk5MDA5LDI1LjA3MzQ0IFpcIiAvPlxuICAgICAgICAgICAgICAgICAgPC9nPlxuICAgICAgICAgICAgICAgIDwvZz5cbiAgICAgICAgICAgICAgPC9zdmc+XG4gICAgICAgICAgICA8L2c+XG4gICAgICAgICAgPC9nPlxuICAgICAgICA8L3N2Zz5cbiAgICAgIDwvc3ZnPlxuICAgIDwvZGl2PlxuICApXG59XG5cbmNvbnN0IE1lc3NlbmdlciA9ICh7IGNvbG9yID0gJycsIC4uLnByb3BzIH06IFByb3BzKTogSlNYLkVsZW1lbnQgPT4ge1xuICBjb25zdCB7IHByb3ZpZGVyS2V5IH0gPSB1c2VQcm92aWRlcigpXG5cbiAgcmV0dXJuIChcbiAgICA8PlxuICAgICAgPEN1c3RvbWVyQ2hhdCBjb2xvcj17Y29sb3J9IHByb3ZpZGVyS2V5PXtwcm92aWRlcktleX0gey4uLnByb3BzfSAvPlxuICAgICAgPFdpZGdldCBjb2xvcj17Y29sb3J9IC8+XG4gICAgPC8+XG4gIClcbn1cblxuZXhwb3J0IGRlZmF1bHQgTWVzc2VuZ2VyXG4iXX0=

@@ -11,3 +11,4 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

container: {
zIndex: 1,
zIndex: 2147483648,
// one more than provider
position: 'fixed',

@@ -91,2 +92,2 @@ border: '0',

export default Userlike;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1VzZXJsaWtlL2luZGV4LnRzeCJdLCJuYW1lcyI6WyJSZWFjdCIsInVzZUNoYXQiLCJzdHlsZXMiLCJjb250YWluZXIiLCJ6SW5kZXgiLCJwb3NpdGlvbiIsImJvcmRlciIsIndpZHRoIiwiaGVpZ2h0IiwiYm94U2hhZG93IiwibGVmdCIsImJ1dHRvbiIsImRpc3BsYXkiLCJqdXN0aWZ5Q29udGVudCIsImFsaWduSXRlbXMiLCJtaW5XaWR0aCIsIm1pbkhlaWdodCIsInBhZGRpbmciLCJjdXJzb3IiLCJpY29uIiwiZm9udFNpemUiLCJVc2VybGlrZSIsImNvbG9yIiwiYmFja2dyb3VuZENvbG9yIiwidk9mZnNldCIsImhPZmZzZXQiLCJzdHlsZSIsInN0YXRlIiwibG9hZENoYXQiLCJsb2FkV2hlbklkbGUiLCJwb3NpdGlvblN0eWxlcyIsImJvdHRvbSIsInJpZ2h0Iiwic2hhcGVTdHlsZSIsImJvcmRlclJhZGl1cyIsIm9wZW4iXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU9BLEtBQVAsTUFBcUMsT0FBckM7QUFDQSxPQUFPQyxPQUFQO0FBRUEsTUFBTUMsTUFJTCxHQUFHO0FBQ0ZDLEVBQUFBLFNBQVMsRUFBRTtBQUNUQyxJQUFBQSxNQUFNLEVBQUUsQ0FEQztBQUVUQyxJQUFBQSxRQUFRLEVBQUUsT0FGRDtBQUdUQyxJQUFBQSxNQUFNLEVBQUUsR0FIQztBQUlUQyxJQUFBQSxLQUFLLEVBQUUsTUFKRTtBQUtUQyxJQUFBQSxNQUFNLEVBQUUsTUFMQztBQU1UQyxJQUFBQSxTQUFTLEVBQUUsc0NBTkY7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2gtMTd6bTEuNS00YTEuNSAxLjUgMCAwMTEuNS0xLjVoMTRhMS41IDEuNSAwIDAxMCAzaC0xNEExLjUgMS41IDAgMDExMSAxOHptLTEuNS03YTEuNSAxLjUgMCAwMDAgM2gxN2ExLjUgMS41IDAgMDAwLTNoLTE3elwiXG4gICAgICAgICAgICBmaWxsPVwiY3VycmVudENvbG9yXCJcbiAgICAgICAgICAvPlxuICAgICAgICA8L3N2Zz5cbiAgICAgIDwvYnV0dG9uPlxuICAgIDwvZGl2PlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IFVzZXJsaWtlXG4iXX0=
import { createContext } from 'react';
export const LiveChatLoaderContext = /*#__PURE__*/createContext({});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb250ZXh0LnRzIl0sIm5hbWVzIjpbImNyZWF0ZUNvbnRleHQiLCJMaXZlQ2hhdExvYWRlckNvbnRleHQiXSwibWFwcGluZ3MiOiJBQUFBLFNBQVNBLGFBQVQsUUFBOEIsT0FBOUI7QUFhQSxPQUFPLE1BQU1DLHFCQUFxQixnQkFBR0QsYUFBYSxDQUFVLEVBQVYsQ0FBM0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjcmVhdGVDb250ZXh0IH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBQcm92aWRlciwgU3RhdGUgfSBmcm9tICd0eXBlcydcblxuaW50ZXJmYWNlIENvbnRleHQge1xuICBwcm92aWRlcjogUHJvdmlkZXJcbiAgcHJvdmlkZXJLZXk6IHN0cmluZ1xuICBzdGF0ZTogU3RhdGVcbiAgc2V0U3RhdGU6IChzdGF0ZTogU3RhdGUpID0+IHZvaWRcbiAgYXBwSUQ/OiBzdHJpbmdcbiAgbG9jYWxlPzogc3RyaW5nXG4gIGlkbGVQZXJpb2Q/OiBudW1iZXJcbn1cblxuZXhwb3J0IGNvbnN0IExpdmVDaGF0TG9hZGVyQ29udGV4dCA9IGNyZWF0ZUNvbnRleHQ8Q29udGV4dD4oe30gYXMgQ29udGV4dClcbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb250ZXh0LnRzIl0sIm5hbWVzIjpbImNyZWF0ZUNvbnRleHQiLCJMaXZlQ2hhdExvYWRlckNvbnRleHQiXSwibWFwcGluZ3MiOiJBQUFBLFNBQVNBLGFBQVQsUUFBOEIsT0FBOUI7QUFjQSxPQUFPLE1BQU1DLHFCQUFxQixnQkFBR0QsYUFBYSxDQUFVLEVBQVYsQ0FBM0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjcmVhdGVDb250ZXh0IH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBQcm92aWRlciwgU3RhdGUgfSBmcm9tICd0eXBlcydcblxuaW50ZXJmYWNlIENvbnRleHQge1xuICBwcm92aWRlcjogUHJvdmlkZXJcbiAgcHJvdmlkZXJLZXk6IHN0cmluZ1xuICBzdGF0ZTogU3RhdGVcbiAgc2V0U3RhdGU6IChzdGF0ZTogU3RhdGUpID0+IHZvaWRcbiAgYXBwSUQ/OiBzdHJpbmdcbiAgbG9jYWxlPzogc3RyaW5nXG4gIGlkbGVQZXJpb2Q/OiBudW1iZXJcbiAgYmFzZVVybD86IHN0cmluZ1xufVxuXG5leHBvcnQgY29uc3QgTGl2ZUNoYXRMb2FkZXJDb250ZXh0ID0gY3JlYXRlQ29udGV4dDxDb250ZXh0Pih7fSBhcyBDb250ZXh0KVxuIl19

@@ -7,3 +7,2 @@ import { useContext, useCallback, useEffect } from 'react';

window.navigator && window.navigator.connection : null;
let scriptLoaded = false;

@@ -22,3 +21,4 @@ const useChat = ({

appID,
locale
locale,
baseUrl
} = useContext(LiveChatLoaderContext);

@@ -73,18 +73,11 @@ useEffect(() => {

if (state === 'opening') return;
if (state === 'open') return chatProvider.close();
if (state === 'complete') return chatProvider.open();
chatProvider.load({
providerKey,
setState,
appID,
locale,
baseUrl
});
if (!scriptLoaded) {
scriptLoaded = true;
chatProvider.load({
providerKey,
setState,
appID,
locale
});
}
if (open) {
setState('opening');
chatProvider.open();

@@ -98,2 +91,2 @@ setState('open');

export default useChat;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ob29rcy91c2VDaGF0LnRzIl0sIm5hbWVzIjpbInVzZUNvbnRleHQiLCJ1c2VDYWxsYmFjayIsInVzZUVmZmVjdCIsIkxpdmVDaGF0TG9hZGVyQ29udGV4dCIsIlByb3ZpZGVycyIsInJlcXVlc3RJZGxlQ2FsbGJhY2siLCJ3aW5kb3ciLCJjb25uZWN0aW9uIiwibmF2aWdhdG9yIiwic2NyaXB0TG9hZGVkIiwidXNlQ2hhdCIsImxvYWRXaGVuSWRsZSIsInByb3ZpZGVyIiwicHJvdmlkZXJLZXkiLCJpZGxlUGVyaW9kIiwic3RhdGUiLCJzZXRTdGF0ZSIsImFwcElEIiwibG9jYWxlIiwic2F2ZURhdGEiLCJ0ZXN0IiwiZWZmZWN0aXZlVHlwZSIsImlzTmFOIiwiZWxhcHNlZElkbGVQZXJpb2QiLCJwcmV2aW91c1RpbWVSZW1haW5pbmciLCJzY2hlZHVsZUxvYWRDaGF0IiwiZGVhZGxpbmUiLCJsb2FkQ2hhdCIsIm9wZW4iLCJ0aW1lUmVtYWluaW5nIiwic2V0VGltZW91dCIsImNoYXRQcm92aWRlciIsImNvbnNvbGUiLCJlcnJvciIsImNsb3NlIiwibG9hZCJdLCJtYXBwaW5ncyI6IkFBQUEsU0FBU0EsVUFBVCxFQUFxQkMsV0FBckIsRUFBa0NDLFNBQWxDLFFBQW1ELE9BQW5EO0FBRUEsU0FBU0MscUJBQVQ7QUFDQSxPQUFPLEtBQUtDLFNBQVo7QUFFQSxNQUFNQyxtQkFBbUIsR0FDdkIsT0FBT0MsTUFB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oYXQtbG9hZGVyJylcbiAgICAgICAgcmV0dXJuXG4gICAgICB9XG5cbiAgICAgIGlmICghcHJvdmlkZXIpIHtcbiAgICAgICAgLy9lc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tY29uc29sZVxuICAgICAgICBjb25zb2xlLmVycm9yKCdObyBwcm92aWRlciBnaXZlbiB0byByZWFjdC1saXZlLWNoYXQtbG9hZGVyJylcbiAgICAgICAgcmV0dXJuXG4gICAgICB9XG5cbiAgICAgIGlmIChzdGF0ZSA9PT0gJ29wZW5pbmcnKSByZXR1cm5cbiAgICAgIGlmIChzdGF0ZSA9PT0gJ29wZW4nKSByZXR1cm4gY2hhdFByb3ZpZGVyLmNsb3NlKClcbiAgICAgIGlmIChzdGF0ZSA9PT0gJ2NvbXBsZXRlJykgcmV0dXJuIGNoYXRQcm92aWRlci5vcGVuKClcblxuICAgICAgaWYgKCFzY3JpcHRMb2FkZWQpIHtcbiAgICAgICAgc2NyaXB0TG9hZGVkID0gdHJ1ZVxuICAgICAgICBjaGF0UHJvdmlkZXIubG9hZCh7IHByb3ZpZGVyS2V5LCBzZXRTdGF0ZSwgYXBwSUQsIGxvY2FsZSB9KVxuICAgICAgfVxuXG4gICAgICBpZiAob3Blbikge1xuICAgICAgICBzZXRTdGF0ZSgnb3BlbmluZycpXG4gICAgICAgIGNoYXRQcm92aWRlci5vcGVuKClcbiAgICAgICAgc2V0U3RhdGUoJ29wZW4nKVxuICAgICAgfVxuICAgIH0sXG4gICAgW11cbiAgKVxuXG4gIHJldHVybiBbc3RhdGUsIGxvYWRDaGF0XVxufVxuXG5leHBvcnQgZGVmYXVsdCB1c2VDaGF0XG4iXX0=
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ob29rcy91c2VDaGF0LnRzIl0sIm5hbWVzIjpbInVzZUNvbnRleHQiLCJ1c2VDYWxsYmFjayIsInVzZUVmZmVjdCIsI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Qcm92aWRlcnNbcHJvdmlkZXJdXG5cbiAgY29uc3QgbG9hZENoYXQgPSB1c2VDYWxsYmFjazwoYXJnczogeyBvcGVuOiBib29sZWFuIH0pID0+IHZvaWQ+KFxuICAgICh7IG9wZW4gPSB0cnVlIH0pID0+IHtcbiAgICAgIGlmICghcHJvdmlkZXJLZXkpIHtcbiAgICAgICAgLy9lc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tY29uc29sZVxuICAgICAgICBjb25zb2xlLmVycm9yKCdObyBhcGkga2V5IGdpdmVuIHRvIHJlYWN0LWxpdmUtY2hhdC1sb2FkZXInKVxuICAgICAgICByZXR1cm5cbiAgICAgIH1cblxuICAgICAgaWYgKCFwcm92aWRlcikge1xuICAgICAgICAvL2VzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1jb25zb2xlXG4gICAgICAgIGNvbnNvbGUuZXJyb3IoJ05vIHByb3ZpZGVyIGdpdmVuIHRvIHJlYWN0LWxpdmUtY2hhdC1sb2FkZXInKVxuICAgICAgICByZXR1cm5cbiAgICAgIH1cblxuICAgICAgY2hhdFByb3ZpZGVyLmxvYWQoeyBwcm92aWRlcktleSwgc2V0U3RhdGUsIGFwcElELCBsb2NhbGUsIGJhc2VVcmwgfSlcblxuICAgICAgaWYgKG9wZW4pIHtcbiAgICAgICAgY2hhdFByb3ZpZGVyLm9wZW4oKVxuICAgICAgICBzZXRTdGF0ZSgnb3BlbicpXG4gICAgICB9XG4gICAgfSxcbiAgICBbXVxuICApXG5cbiAgcmV0dXJuIFtzdGF0ZSwgbG9hZENoYXRdXG59XG5cbmV4cG9ydCBkZWZhdWx0IHVzZUNoYXRcbiJdfQ==

@@ -1,10 +0,10 @@

import { default as useChat } from "./hooks/useChat";
import { default as useProvider } from "./hooks/useProvider";
import { default as Drift } from "./components/Drift";
import { default as HelpScout } from "./components/HelpScout";
import { default as Intercom } from "./components/Intercom";
import { default as Messenger } from "./components/Messenger";
import { default as Userlike } from "./components/Userlike";
import { default as LiveChatLoaderProvider } from "./components/LiveChatLoaderProvider";
export { useChat, useProvider, Drift, HelpScout, Intercom, Messenger, Userlike, LiveChatLoaderProvider };
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6WyJkZWZhdWx0IiwidXNlQ2hhdCIsInVzZVByb3ZpZGVyIiwiRHJpZnQiLCJIZWxwU2NvdXQiLCJJbnRlcmNvbSIsIk1lc3NlbmdlciIsIlVzZXJsaWtlIiwiTGl2ZUNoYXRMb2FkZXJQcm92aWRlciJdLCJtYXBwaW5ncyI6IkFBQUEsU0FBU0EsT0FBTyxJQUFJQyxPQUFwQjtBQUNBLFNBQVNELE9BQU8sSUFBSUUsV0FBcEI7QUFDQSxTQUFTRixPQUFPLElBQUlHLEtBQXBCO0FBQ0EsU0FBU0gsT0FBTyxJQUFJSSxTQUFwQjtBQUNBLFNBQVNKLE9BQU8sSUFBSUssUUFBcEI7QUFDQSxTQUFTTCxPQUFPLElBQUlNLFNBQXBCO0FBQ0EsU0FBU04sT0FBTyxJQUFJTyxRQUFwQjtBQUNBLFNBQVNQLE9BQU8sSUFBSVEsc0JBQXBCO0FBRUEsU0FDRVAsT0FERixFQUVFQyxXQUZGLEVBR0VDLEtBSEYsRUFJRUMsU0FKRixFQUtFQyxRQUxGLEVBTUVDLFNBTkYsRUFPRUMsUUFQRixFQVFFQyxzQkFSRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGRlZmF1bHQgYXMgdXNlQ2hhdCB9IGZyb20gJy4vaG9va3MvdXNlQ2hhdCdcbmltcG9ydCB7IGRlZmF1bHQgYXMgdXNlUHJvdmlkZXIgfSBmcm9tICcuL2hvb2tzL3VzZVByb3ZpZGVyJ1xuaW1wb3J0IHsgZGVmYXVsdCBhcyBEcmlmdCB9IGZyb20gJy4vY29tcG9uZW50cy9EcmlmdCdcbmltcG9ydCB7IGRlZmF1bHQgYXMgSGVscFNjb3V0IH0gZnJvbSAnLi9jb21wb25lbnRzL0hlbHBTY291dCdcbmltcG9ydCB7IGRlZmF1bHQgYXMgSW50ZXJjb20gfSBmcm9tICcuL2NvbXBvbmVudHMvSW50ZXJjb20nXG5pbXBvcnQgeyBkZWZhdWx0IGFzIE1lc3NlbmdlciB9IGZyb20gJy4vY29tcG9uZW50cy9NZXNzZW5nZXInXG5pbXBvcnQgeyBkZWZhdWx0IGFzIFVzZXJsaWtlIH0gZnJvbSAnLi9jb21wb25lbnRzL1VzZXJsaWtlJ1xuaW1wb3J0IHsgZGVmYXVsdCBhcyBMaXZlQ2hhdExvYWRlclByb3ZpZGVyIH0gZnJvbSAnLi9jb21wb25lbnRzL0xpdmVDaGF0TG9hZGVyUHJvdmlkZXInXG5cbmV4cG9ydCB7XG4gIHVzZUNoYXQsXG4gIHVzZVByb3ZpZGVyLFxuICBEcmlmdCxcbiAgSGVscFNjb3V0LFxuICBJbnRlcmNvbSxcbiAgTWVzc2VuZ2VyLFxuICBVc2VybGlrZSxcbiAgTGl2ZUNoYXRMb2FkZXJQcm92aWRlclxufVxuIl19
export { default as useChat } from "./hooks/useChat";
export { default as useProvider } from "./hooks/useProvider";
export { default as Drift } from "./components/Drift";
export { default as HelpScout } from "./components/HelpScout";
export { default as Intercom } from "./components/Intercom";
export { default as Messenger } from "./components/Messenger";
export { default as Userlike } from "./components/Userlike";
export { default as Chatwoot } from "./components/Chatwoot";
export { default as LiveChatLoaderProvider } from "./components/LiveChatLoaderProvider";
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6WyJkZWZhdWx0IiwidXNlQ2hhdCIsInVzZVByb3ZpZGVyIiwiRHJpZnQiLCJIZWxwU2NvdXQiLCJJbnRlcmNvbSIsIk1lc3NlbmdlciIsIlVzZXJsaWtlIiwiQ2hhdHdvb3QiLCJMaXZlQ2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GVmYXVsdCBhcyBMaXZlQ2hhdExvYWRlclByb3ZpZGVyIH0gZnJvbSAnLi9jb21wb25lbnRzL0xpdmVDaGF0TG9hZGVyUHJvdmlkZXInXG4iXX0=
const domain = 'https://js.driftt.com';
/* eslint-disable */
const loadScript = () => {
if (window.drift) return;
if (window.drift) return false;
!function () {

@@ -10,5 +11,3 @@ const t = window.driftt = window.drift = window.driftt || [];

if (t.invoked) {
return void (window.console && //eslint-disable-next-line no-console
console.error && //eslint-disable-next-line no-console
console.error('Drift snippet included twice.'));
return void (window.console && console.error && console.error('Drift snippet included twice.'));
} //eslint-disable-next-line @typescript-eslint/no-extra-semi

@@ -18,19 +17,14 @@

;
t.invoked = !0, t.methods = ['identify', 'config', 'track', 'reset', 'debug', 'show', 'ping', 'page', 'hide', 'off', 'on'], //eslint-disable-next-line @typescript-eslint/no-explicit-any
t.factory = function (e) {
t.invoked = !0, t.methods = ['identify', 'config', 'track', 'reset', 'debug', 'show', 'ping', 'page', 'hide', 'off', 'on'], t.factory = function (e) {
return function () {
//eslint-disable-next-line prefer-rest-params
const n = Array.prototype.slice.call(arguments);
return n.unshift(e), t.push(n), t;
};
}, //eslint-disable-next-line @typescript-eslint/no-explicit-any
t.methods.forEach(function (e) {
}, t.methods.forEach(function (e) {
t[e] = t.factory(e);
}), //eslint-disable-next-line @typescript-eslint/no-explicit-any
t.load = function (t) {
}), t.load = function (t) {
var _i$parentNode;
const e = 3e5,
//eslint-disable-next-line @typescript-eslint/no-explicit-any
n = Math.ceil(new Date() / e) * e,
n = Math.ceil(new Date() / e) * e,
o = document.createElement('script');

@@ -43,4 +37,5 @@ o.type = 'text/javascript', o.async = !0, o.crossOrigin = 'anonymous', o.src = 'https://js.driftt.com/include/' + n + '/' + t + '.js';

}();
return true;
};
/* eslint:enable */
/* eslint-enable */

@@ -52,9 +47,13 @@

}) => {
loadScript();
window.drift.load(providerKey);
window.drift.SNIPPET_VERSION = '0.3.1';
window.drift.on('ready', () => {
setState('open');
setTimeout(() => setState('complete'), 2000);
});
const loaded = loadScript(); // Continue as long as drift hasn’t already been initialised.
if (loaded) {
window.drift.load(providerKey);
window.drift.SNIPPET_VERSION = '0.3.1';
window.drift.on('ready', () => {
setState('complete');
});
}
return loaded;
};

@@ -64,10 +63,7 @@

const close = () => window.drift.on('ready', api => api.hideWelcomeMessage());
export default {
domain,
load,
open,
close
open
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvZHJpZnQudHMiXSwibmFtZXMiOlsiZG9tYWluIiwibG9hZFNjcmlwdCIsIndpbmRvdyIsImRyaWZ0IiwidCIsImRyaWZ0dCIsImluaXQiLCJpbnZva2VkIiwiY29uc29sZSIsImVycm9yIiwibWV0aG9kcyIsImZhY3RvcnkiLCJlIiwibiIsIkFycmF5IiwicHJvdG90eXBlIiwic2xpY2UiLCJjYWxsIiwiYXJndW1lbnRzIiwidW5zaGlmdCIsInB1c2giLCJmb3JFYWNoIiwibG9hZCIsIk1hdGgiLCJjZWlsIiwiRGF0ZSIsIm8iLCJkb2N1bWVudCIsImNyZWF0ZUVsZW1lbnQiLCJ0eXBlIiwiYXN5bmMiLCJjcm9zc09yaWdpbiIsInNyYyIsImkiLCJnZXRFbGVtZW50c0J5VGFnTmFtZSIsInBhcmVudE5vZGUiLCJpbnNlcnRCZWZvcmUiLCJwcm92aWRlcktleSIsInNldFN0YXRlIiwiU05JUFBFVF9WRVJTSU9OIiwib24iLCJzZXRUaW1lb3V0Iiwib3BlbiIsImFwaSIsInNob3dXZWxjb21lTWVzc2FnZSIsImNsb3NlIiwiaGlkZVdlbGNvbWVNZXNzYWdlIl0sIm1hcHBpbmdzIjoiQUFFQSxNQUFNQSxNQUFNLEdBQUcsdUJBQWY7O0FBV0EsTUFBTUMsVUFBVSxHQUFHLE1BQU07QUFDdkIsTUFBSUMsTUFBTSxDQUFDQyxLQUFYLEVBQWtCO0FBRWxCL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AgICAgICAgICAncmVzZXQnLFxuICAgICAgICAgICdkZWJ1ZycsXG4gICAgICAgICAgJ3Nob3cnLFxuICAgICAgICAgICdwaW5nJyxcbiAgICAgICAgICAncGFnZScsXG4gICAgICAgICAgJ2hpZGUnLFxuICAgICAgICAgICdvZmYnLFxuICAgICAgICAgICdvbidcbiAgICAgICAgXSksXG4gICAgICAgIC8vZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnlcbiAgICAgICAgKHQuZmFjdG9yeSA9IGZ1bmN0aW9uKGU6IGFueSkge1xuICAgICAgICAgIHJldHVybiBmdW5jdGlvbigpIHtcbiAgICAgICAgICAgIC8vZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIHByZWZlci1yZXN0LXBhcmFtc1xuICAgICAgICAgICAgY29uc3QgbiA9IEFycmF5LnByb3RvdHlwZS5zbGljZS5jYWxsKGFyZ3VtZW50cylcbiAgICAgICAgICAgIHJldHVybiBuLnVuc2hpZnQoZSksIHQucHVzaChuKSwgdFxuICAgICAgICAgIH1cbiAgICAgICAgfSksXG4gICAgICAgIC8vZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnlcbiAgICAgICAgdC5tZXRob2RzLmZvckVhY2goZnVuY3Rpb24oZTogYW55KSB7XG4gICAgICAgICAgdFtlXSA9IHQuZmFjdG9yeShlKVxuICAgICAgICB9KSxcbiAgICAgICAgLy9lc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLWV4cGxpY2l0LWFueVxuICAgICAgICAodC5sb2FkID0gZnVuY3Rpb24odDogYW55KSB7XG4gICAgICAgICAgY29uc3QgZSA9IDNlNSxcbiAgICAgICAgICAgIC8vZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hb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gICAgICAgJ29mZicsXG4gICAgICAgICAgJ29uJ1xuICAgICAgICBdKSxcbiAgICAgICAgKHQuZmFjdG9yeSA9IGZ1bmN0aW9uKGU6IGFueSkge1xuICAgICAgICAgIHJldHVybiBmdW5jdGlvbigpIHtcbiAgICAgICAgICAgIGNvbnN0IG4gPSBBcnJheS5wcm90b3R5cGUuc2xpY2UuY2FsbChhcmd1bWVudHMpXG4gICAgICAgICAgICByZXR1cm4gbi51bnNoaWZ0KGUpLCB0LnB1c2gobiksIHRcbiAgICAgICAgICB9XG4gICAgICAgIH0pLFxuICAgICAgICB0Lm1ldGhvZHMuZm9yRWFjaChmdW5jdGlvbihlOiBhbnkpIHtcbiAgICAgICAgICB0W2VdID0gdC5mYWN0b3J5KGUpXG4gICAgICAgIH0pLFxuICAgICAgICAodC5sb2FkID0gZnVuY3Rpb24odDogYW55KSB7XG4gICAgICAgICAgY29uc3QgZSA9IDNlNSxcbiAgICAgICAgICAgIG4gPSBNYXRoLmNlaWwoKG5ldyBEYXRlKCkgYXMgYW55KSAvIGUpICogZSxcbiAgICAgICAgICAgIG8gPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdzY3JpcHQnKVxuICAgICAgICAgIDsoby50eXBlID0gJ3RleHQvamF2YXNjcmlwdCcpLFxuICAgICAgICAgICAgKG8uYXN5bmMgPSAhMCksXG4gICAgICAgICAgICAoby5jcm9zc09yaWdpbiA9ICdhbm9ueW1vdXMnKSxcbiAgICAgICAgICAgIChvLnNyYyA9ICdodHRwczovL2pzLmRyaWZ0dC5jb20vaW5jbHVkZS8nICsgbiArICcvJyArIHQgKyAnLmpzJylcbiAgICAgICAgICBjb25zdCBpID0gZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoJ3NjcmlwdCcpWzBdXG4gICAgICAgICAgaS5wYXJlbnROb2RlPy5pbnNlcnRCZWZvcmUobywgaSlcbiAgICAgICAgfSlcbiAgICB9XG4gIH0pKClcblxuICByZXR1cm4gdHJ1ZVxufVxuLyogZXNsaW50LWVuYWJsZSAqL1xuXG5jb25zdCBsb2FkID0gKHtcbiAgcHJvdmlkZXJLZXksXG4gIHNldFN0YXRlXG59OiB7XG4gIHByb3ZpZGVyS2V5OiBzdHJpbmdcbiAgc2V0U3RhdGU6IChzdGF0ZTogU3RhdGUpID0+IHZvaWRcbn0pOiBib29sZWFuID0+IHtcbiAgY29uc3QgbG9hZGVkID0gbG9hZFNjcmlwdCgpXG5cbiAgLy8gQ29udGludWUgYXMgbG9uZyBhcyBkcmlmdCBoYXNu4oCZdCBhbHJlYWR5IGJlZW4gaW5pdGlhbGlzZWQuXG4gIGlmIChsb2FkZWQpIHtcbiAgICB3aW5kb3cuZHJpZnQubG9hZChwcm92aWRlcktleSlcbiAgICB3aW5kb3cuZHJpZnQuU05JUFBFVF9WRVJTSU9OID0gJzAuMy4xJ1xuICAgIHdpbmRvdy5kcmlmdC5vbigncmVhZHknLCAoKSA9PiB7XG4gICAgICBzZXRTdGF0ZSgnY29tcGxldGUnKVxuICAgIH0pXG4gIH1cblxuICByZXR1cm4gbG9hZGVkXG59XG5cbmNvbnN0IG9wZW4gPSAoKTogdm9pZCA9PlxuICB3aW5kb3cuZHJpZnQub24oJ3JlYWR5JywgKGFwaTogeyBzaG93V2VsY29tZU1lc3NhZ2U6ICgpID0+IHZvaWQgfSkgPT5cbiAgICBhcGkuc2hvd1dlbGNvbWVNZXNzYWdlKClcbiAgKVxuXG5leHBvcnQgZGVmYXVsdCB7XG4gIGRvbWFpbixcbiAgbG9hZCxcbiAgb3BlblxufVxuIl19
const domain = 'https://beacon-v2.helpscout.net';
/* eslint:disable */
/* eslint-disable */
const loadScript = () => {
if (window.Beacon) return;
if (window.Beacon) return false;

@@ -16,4 +16,3 @@ (function (e, t, n) {

if ( //eslint-disable-next-line @typescript-eslint/no-explicit-any
e.Beacon = n = function (t, n, a) {
if (e.Beacon = n = function (t, n, a) {
e.Beacon.readyQueue.push({

@@ -25,6 +24,8 @@ method: t,

}, n.readyQueue = [], 'complete' === t.readyState) return a();
e.attachEvent ? e.attachEvent('onload', a) : e.addEventListener('load', a, !1); //eslint-disable-next-line @typescript-eslint/no-empty-function
e.attachEvent ? e.attachEvent('onload', a) : e.addEventListener('load', a, !1);
})(window, document, window.Beacon || function () {});
return true;
};
/* eslint:enable */
/* eslint-enable */

@@ -36,5 +37,11 @@

}) => {
loadScript();
window.Beacon('init', providerKey);
setTimeout(() => setState('complete'), 2000);
const loaded = loadScript(); // Continue as long as helpscout hasn’t already been initialised.
if (loaded) {
window.Beacon('init', providerKey);
window.Beacon('once', 'ready', () => // Allow helpscout to complete loading before removing fake widget
setTimeout(() => setState('complete'), 2000));
}
return loaded;
};

@@ -44,10 +51,7 @@

const close = () => window.Beacon('close');
export default {
domain,
load,
open,
close
open
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvaGVscFNjb3V0LnRzIl0sIm5hbWVzIjpbImRvbWFpbiIsImxvYWRTY3JpcHQiLCJ3aW5kb3ciLCJCZWFjb24iLCJlIiwidCIsIm4iLCJhIiwiZ2V0RWxlbWVudHNCeVRhZ05hbWUiLCJjcmVhdGVFbGVtZW50IiwiYXN5bmMiLCJzcmMiLCJwYXJlbnROb2RlIiwiaW5zZXJ0QmVmb3JlIiwicmVhZHlRdWV1ZSIsInB1c2giLCJtZXRob2QiLCJvcHRpb25zIiwiZGF0YSIsInJlYWR5U3RhdGUiLCJhdHRhY2hFdmVudCIsImFkZEV2ZW50TGlzdGVuZXIiLCJkb2N1bWVudCIsImxvYWQiLCJwcm92aWRlcktleSIsInNldFN0YXRlIiwic2V0VGltZW91dCIsIm9wZW4iLCJjbG9zZSJdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTUEsTUFBTSxHQUFHLGlDQUFmOztBQVdBO0FBQ0EsTUFBTUMsVUFBVSxHQUFHLE1BQU07QUFDdkIsTUFBSUMsTUFBTS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Z2V0XG4gICAgICBzZXRUaW1lb3V0KCgpID0+IHNldFN0YXRlKCdjb21wbGV0ZScpLCAyMDAwKVxuICAgIClcbiAgfVxuXG4gIHJldHVybiBsb2FkZWRcbn1cblxuY29uc3Qgb3BlbiA9ICgpOiB2b2lkID0+IHdpbmRvdy5CZWFjb24oJ29wZW4nKVxuXG5leHBvcnQgZGVmYXVsdCB7XG4gIGRvbWFpbixcbiAgbG9hZCxcbiAgb3BlblxufVxuIl19

@@ -6,2 +6,3 @@ export { default as drift } from "./drift";

export { default as userlike } from "./userlike";
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvaW5kZXgudHMiXSwibmFtZXMiOlsiZGVmYXVsdCIsImRyaWZ0IiwiaGVscFNjb3V0IiwiaW50ZXJjb20iLCJtZXNzZW5nZXIiLCJ1c2VybGlrZSJdLCJtYXBwaW5ncyI6IkFBQUEsU0FBU0EsT0FBTyxJQUFJQyxLQUFwQjtBQUNBLFNBQVNELE9BQU8sSUFBSUUsU0FBcEI7QUFDQSxTQUFTRixPQUFPLElBQUlHLFFBQXBCO0FBQ0EsU0FBU0gsT0FBTyxJQUFJSSxTQUFwQjtBQUNBLFNBQVNKLE9BQU8sSUFBSUssUUFBcEIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBkZWZhdWx0IGFzIGRyaWZ0IH0gZnJvbSAnLi9kcmlmdCdcbmV4cG9ydCB7IGRlZmF1bHQgYXMgaGVscFNjb3V0IH0gZnJvbSAnLi9oZWxwU2NvdXQnXG5leHBvcnQgeyBkZWZhdWx0IGFzIGludGVyY29tIH0gZnJvbSAnLi9pbnRlcmNvbSdcbmV4cG9ydCB7IGRlZmF1bHQgYXMgbWVzc2VuZ2VyIH0gZnJvbSAnLi9tZXNzZW5nZXInXG5leHBvcnQgeyBkZWZhdWx0IGFzIHVzZXJsaWtlIH0gZnJvbSAnLi91c2VybGlrZSdcbiJdfQ==
export { default as chatwoot } from "./chatwoot";
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvaW5kZXgudHMiXSwibmFtZXMiOlsiZGVmYXVsdCIsImRyaWZ0IiwiaGVscFNjb3V0IiwiaW50ZXJjb20iLCJtZXNzZW5nZXIiLCJ1c2VybGlrZSIsImNoYXR3b290Il0sIm1hcHBpbmdzIjoiQUFBQSxTQUFTQSxPQUFPLElBQUlDLEtBQXBCO0FBQ0EsU0FBU0QsT0FBTyxJQUFJRSxTQUFwQjtBQUNBLFNBQVNGLE9BQU8sSUFBSUcsUUFBcEI7QUFDQSxTQUFTSCxPQUFPLElBQUlJLFNBQXBCO0FBQ0EsU0FBU0osT0FBTyxJQUFJSyxRQUFwQjtBQUNBLFNBQVNMLE9BQU8sSUFBSU0sUUFBcEIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBkZWZhdWx0IGFzIGRyaWZ0IH0gZnJvbSAnLi9kcmlmdCdcbmV4cG9ydCB7IGRlZmF1bHQgYXMgaGVscFNjb3V0IH0gZnJvbSAnLi9oZWxwU2NvdXQnXG5leHBvcnQgeyBkZWZhdWx0IGFzIGludGVyY29tIH0gZnJvbSAnLi9pbnRlcmNvbSdcbmV4cG9ydCB7IGRlZmF1bHQgYXMgbWVzc2VuZ2VyIH0gZnJvbSAnLi9tZXNzZW5nZXInXG5leHBvcnQgeyBkZWZhdWx0IGFzIHVzZXJsaWtlIH0gZnJvbSAnLi91c2VybGlrZSdcbmV4cG9ydCB7IGRlZmF1bHQgYXMgY2hhdHdvb3R9IGZyb20gJy4vY2hhdHdvb3QnXG4iXX0=

@@ -0,1 +1,2 @@

import waitForLoad from "../utils/waitForLoad";
const domain = 'https://widget.intercom.io';

@@ -5,3 +6,3 @@

const loadScript = () => {
if (window.Intercom) return;
if (window.Intercom) return false;

@@ -13,4 +14,3 @@ (function () {

if (typeof ic === 'function') {
ic('reattach_activator'); //eslint-disable-next-line no-undef
ic('reattach_activator');
ic('update', window.intercomSettings);

@@ -30,3 +30,3 @@ } else {

w.Intercom = i; //eslint-disable-next-line no-inner-declarations
w.Intercom = i;

@@ -47,4 +47,6 @@ const l = () => {

})();
return true;
};
/* eslint:enable */
/* eslint-enable */

@@ -56,7 +58,13 @@

}) => {
loadScript();
window.Intercom('boot', {
app_id: providerKey
});
setTimeout(() => setState('complete'), 2000);
const loaded = loadScript(); // Continue as long as userlike hasn’t already been initialised.
if (loaded) {
window.Intercom('boot', {
app_id: providerKey
});
waitForLoad(() => window.Intercom.booted, // Allow intercom to complete loading before removing fake widget
() => setTimeout(() => setState('complete'), 2000));
}
return loaded;
};

@@ -66,10 +74,7 @@

const close = () => window.Intercom('close');
export default {
domain,
load,
open,
close
open
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvaW50ZXJjb20udHMiXSwibmFtZXMiOlsiZG9tYWluIiwibG9hZFNjcmlwdCIsIndpbmRvdyIsIkludGVyY29tIiwidyIsImljIiwiaW50ZXJjb21TZXR0aW5ncyIsImQiLCJkb2N1bWVudCIsImkiLCJjIiwiYXJndW1lbnRzIiwicSIsImFyZ3MiLCJwdXNoIiwibCIsInMiLCJjcmVhdGVFbGVtZW50IiwidHlwZSIsImFzeW5jIiwic3JjIiwieCIsImdldEVsZW1lbnRzQnlUYWdOYW1lIiwicGFyZW50Tm9kZSIsImluc2VydEJlZm9yZSIsImxvYWQiLCJwcm92aWRlcktleSIsInNldFN0YXRlIiwiYXBwX2lkIiwic2V0VGltZW91dCIsIm9wZW4iLCJjbG9zZSJdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTUEsTUFBTSxHQUFHLDRCQUFmOztBQVVBO0FBQ0EsTUFBTUMsVUFBVSxHQUFHLE1BQU07QUFDdkIsTUFBSUMsTUF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GludGVyZmFjZSBXaW5kb3cge1xuICAgIC8vZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnlcbiAgICBJbnRlcmNvbTogYW55XG4gICAgaW50ZXJjb21TZXR0aW5nczogKCkgPT4gdm9pZFxuICB9XG59XG5cbi8qIGVzbGludC1kaXNhYmxlICovXG5jb25zdCBsb2FkU2NyaXB0ID0gKCkgPT4ge1xuICBpZiAod2luZG93LkludGVyY29tKSByZXR1cm5cbiAgOyhmdW5jdGlvbigpIHtcbiAgICB2YXIgdyA9IHdpbmRvd1xuICAgIHZhciBpYyA9IHcuSW50ZXJjb21cbiAgICBpZiAodHlwZW9mIGljID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICBpYygncmVhdHRhY2hfYWN0aXZhdG9yJylcbiAgICAgIC8vZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIG5vLXVuZGVmXG4gICAgICBpYygndXBkYXRlJywgd2luZG93LmludGVyY29tU2V0dGluZ3MpXG4gICAgfSBlbHNlIHtcbiAgICAgIHZhciBkID0gZG9jdW1lbnRcbiAgICAgIHZhciBpOiBhbnkgPSBmdW5jdGlvbigpIHtcbiAgICAgICAgaS5jKGFyZ3VtZW50cylcbiAgICAgIH1cbiAgICAgIGkucSA9IFtdXG4gICAgICBpLmMgPSBmdW5jdGlvbihhcmdzOiBhbnkpIHtcbiAgICAgICAgaS5xLnB1c2goYXJncylcbiAgICAgIH1cbiAgICAgIHcuSW50ZXJjb20gPSBpXG4gICAgICAvL2VzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1pbm5lci1kZWNsYXJhdGlvbnNcbiAgICAgIGNvbnN0IGwgPSAoKSA9PiB7XG4gICAgICAgIHZhciBzID0gZC5jcmVhdGVFbGVtZW50KCdzY3JpcHQnKVxuICAgICAgICBzLnR5cGUgPSAndGV4dC9qYXZhc2NyaXB0J1xuICAgICAgICBzLmFzeW5jID0gdHJ1ZVxuICAg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CcsIHsgYXBwX2lkOiBwcm92aWRlcktleSB9KVxuICAgIHdhaXRGb3JMb2FkKFxuICAgICAgKCkgPT4gd2luZG93LkludGVyY29tLmJvb3RlZCxcbiAgICAgIC8vIEFsbG93IGludGVyY29tIHRvIGNvbXBsZXRlIGxvYWRpbmcgYmVmb3JlIHJlbW92aW5nIGZha2Ugd2lkZ2V0XG4gICAgICAoKSA9PiBzZXRUaW1lb3V0KCgpID0+IHNldFN0YXRlKCdjb21wbGV0ZScpLCAyMDAwKVxuICAgIClcbiAgfVxuXG4gIHJldHVybiBsb2FkZWRcbn1cblxuY29uc3Qgb3BlbiA9ICgpOiB2b2lkID0+IHdpbmRvdy5JbnRlcmNvbSgnc2hvdycpXG5cbmV4cG9ydCBkZWZhdWx0IHtcbiAgZG9tYWluLFxuICBsb2FkLFxuICBvcGVuXG59XG4iXX0=

@@ -0,6 +1,7 @@

import waitForLoad from "../utils/waitForLoad";
const domain = 'https://connect.facebook.net';
/* eslint:disable */
/* eslint-disable */
const loadScript = locale => {
if (window.FB) return;
if (window.FB) return false;

@@ -13,5 +14,4 @@ (function loadFacebookSDK(d, s, id) {

return;
} //eslint-disable-next-line @typescript-eslint/no-explicit-any
}
const js = d.createElement(s);

@@ -29,4 +29,6 @@ js.id = id;

})(window.document, 'script', 'facebook-jssdk');
return true;
};
/* eslint:enable */
/* eslint-enable */

@@ -39,27 +41,28 @@

}) => {
loadScript(locale);
const loaded = loadScript(locale); // Continue as long as messenger hasn’t already been initialised.
window.fbAsyncInit = function () {
window.FB.init(Object.assign({
cookie: true,
xfbml: true,
version: 'v6.0'
}, appID ? {
appId: appID
} : {}));
};
if (loaded) {
window.fbAsyncInit = function () {
window.FB.init(Object.assign({
cookie: true,
xfbml: true,
version: 'v6.0'
}, appID ? {
appId: appID
} : {}));
window.FB.Event.subscribe('customerchat.load', () => // Allow messenger to complete loading before removing fake widget
setTimeout(() => setState('complete'), 3000));
};
}
setTimeout(() => setState('complete'), 2000);
return loaded;
};
const open = () => {
if (window.FB) {
window.FB.CustomerChat.show(true);
}
};
waitForLoad(() => {
var _window$FB, _window$FB$CustomerCh;
const close = () => {
if (window.FB) {
window.FB.CustomerChat.hide();
}
return !!((_window$FB = window.FB) !== null && _window$FB !== void 0 && (_window$FB$CustomerCh = _window$FB.CustomerChat) !== null && _window$FB$CustomerCh !== void 0 && _window$FB$CustomerCh.show);
}, // messenger is slow to show once it has loaded
() => setTimeout(() => window.FB.CustomerChat.show(true), 2000));
};

@@ -70,5 +73,4 @@

load,
open,
close
open
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvbWVzc2VuZ2VyLnRzIl0sIm5hbWVzIjpbImRvbWFpbiIsImxvYWRTY3JpcHQiLCJsb2NhbGUiLCJ3aW5kb3ciLCJGQiIsImxvYWRGYWNlYm9va1NESyIsImQiLCJzIiwiaWQiLCJmanMiLCJnZXRFbGVtZW50c0J5VGFnTmFtZSIsImdldEVsZW1lbnRCeUlkIiwianMiLCJjcmVhdGVFbGVtZW50Iiwic3JjIiwicGFyZW50Tm9kZSIsImluc2VydEJlZm9yZSIsImJvZHkiLCJhcHBlbmRDaGlsZCIsImRvY3VtZW50IiwibG9hZCIsImFwcElEIiwic2V0U3RhdGUiLCJmYkFzeW5jSW5pdCIsImluaXQiLCJPYmplY3QiLCJhc3NpZ24iLCJjb29raWUiLCJ4ZmJtbCIsInZlcnNpb24iLCJhcHBJZCIsInNldFRpbWVvdXQiLCJvcGVuIiwiQ3VzdG9tZXJDaGF0Iiwic2hvdyIsImNsb3NlIiwiaGlkZSJdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTUEsTUFBTSxHQUFHLDhCQUFmOztBQVVBO0FBQ0EsTUFBTUMsVUFBVSxHQUFJQyxNQUFELElBQW9CO0FBQ3JDLE1BQUlDLE1BQU0sQ0FBQ0MsRUFBWCxFQUFlOztBQUNkLEdBQUMsU0FBU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FN0YXRlXG59OiB7XG4gIGFwcElEPzogc3RyaW5nXG4gIGxvY2FsZT86IHN0cmluZ1xuICBzZXRTdGF0ZTogKHN0YXRlOiBTdGF0ZSkgPT4gdm9pZFxufSk6IHZvaWQgPT4ge1xuICBsb2FkU2NyaXB0KGxvY2FsZSlcbiAgd2luZG93LmZiQXN5bmNJbml0ID0gZnVuY3Rpb24oKSB7XG4gICAgd2luZG93LkZCLmluaXQoXG4gICAgICBPYmplY3QuYXNzaWduKFxuICAgICAgICB7XG4gICAgICAgICAgY29va2llOiB0cnVlLFxuICAgICAgICAgIHhmYm1sOiB0cnVlLFxuICAgICAgICAgIHZlcnNpb246ICd2Ni4wJ1xuICAgICAgICB9LFxuICAgICAgICBhcHBJRCA/IHsgYXBwSWQ6IGFwcElEIH0gOiB7fVxuICAgICAgKVxuICAgIClcbiAgfVxuICBzZXRUaW1lb3V0KCgpID0+IHNldFN0YXRlKCdjb21wbGV0ZScpLCAyMDAwKVxufVxuXG5jb25zdCBvcGVuID0gKCk6IHZvaWQgPT4ge1xuICBpZiAod2luZG93LkZCKSB7XG4gICAgd2luZG93LkZCLkN1c3RvbWVyQ2hhdC5zaG93KHRydWUpXG4gIH1cbn1cbmNvbnN0IGNsb3NlID0gKCk6IHZvaWQgPT4ge1xuICBpZiAod2luZG93LkZCKSB7XG4gICAgd2luZG93LkZCLkN1c3RvbWVyQ2hhdC5oaWRlKClcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCB7XG4gIGRvbWFpbixcbiAgbG9hZCxcbiAgb3BlbixcbiAgY2xvc2Vcbn1cbiJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvbWVzc2VuZ2VyLnRzIl0sIm5hbWVzIjpbIndhaXRGb3JMb2FkIiwiZG9tYWluIiwibG9hZFNjcmlwdCIsImxvY2FsZSIsIndpbmRvdyIsIkZCIiwibG9hZ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9 +1,7 @@

import waitForLoad from "../utils/waitForLoad";
const domain = 'https://userlike-cdn-widgets.s3-eu-west-1.amazonaws.com';
const maxAttempts = 10;
let currentLoadAttempt = 0;
let currentOpenAttempt = 0;
/* eslint-disable */
const loadScript = providerKey => {
if (window.userlike) return;
if (window.userlike) return false;
var d = document;

@@ -23,2 +21,3 @@

l();
return true;
};

@@ -28,17 +27,2 @@ /* eslint-enable */

const attemptLoad = setState => {
if (currentLoadAttempt === maxAttempts) {
return;
}
if (!window.userlike) {
currentLoadAttempt += 1;
setTimeout(() => attemptLoad(setState), 1000); // Try every second
return;
}
setTimeout(() => setState('complete'), 2000);
};
const load = ({

@@ -48,29 +32,26 @@ providerKey,

}) => {
loadScript(providerKey);
attemptLoad(setState);
};
const loaded = loadScript(providerKey); // Continue as long as userlike hasn’t already been initialised.
const open = () => {
if (currentOpenAttempt === maxAttempts) {
return;
if (loaded) {
waitForLoad(() => !!window.userlike, // Allow userlike to complete loading before removing fake widget
() => setTimeout(() => setState('complete'), 2000));
}
if (!window.userlike) {
currentOpenAttempt += 1;
setTimeout(open, 1000); // Try every second
return true;
};
return;
}
const open = () => {
waitForLoad(() => {
var _window$userlike;
window.userlike.userlikeStartChat();
return !!((_window$userlike = window.userlike) !== null && _window$userlike !== void 0 && _window$userlike.userlikeStartChat);
}, // userlike is slow to show once it has loaded
() => setTimeout(window.userlike.userlikeStartChat, 1000));
};
const close = () => window.userlike && window.userlike.userlikeQuitChat();
export default {
domain,
load,
open,
close
open
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wcm92aWRlcnMvdXNlcmxpa2UudHMiXSwibmFtZXMiOlsiZG9tYWluIiwibWF4QXR0ZW1wdHMiLCJjdXJyZW50TG9hZEF0dGVtcHQiLCJjdXJyZW50T3BlbkF0dGVtcHQiLCJsb2FkU2NyaXB0IiwicHJvdmlkZXJLZXkiLCJ3aW5kb3ciLCJ1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PT4gISF3aW5kb3cudXNlcmxpa2U/LnVzZXJsaWtlU3RhcnRDaGF0LFxuICAgIC8vIHVzZXJsaWtlIGlzIHNsb3cgdG8gc2hvdyBvbmNlIGl0IGhhcyBsb2FkZWRcbiAgICAoKSA9PiBzZXRUaW1lb3V0KHdpbmRvdy51c2VybGlrZS51c2VybGlrZVN0YXJ0Q2hhdCwgMTAwMClcbiAgKVxufVxuXG5leHBvcnQgZGVmYXVsdCB7XG4gIGRvbWFpbixcbiAgbG9hZCxcbiAgb3BlblxufVxuIl19
{
"name": "react-live-chat-loader",
"version": "2.4.1",
"version": "2.5.0",
"description": "Implement live chat in your react app without taking a performance hit.",

@@ -34,3 +34,3 @@ "main": "dist/index.js",

"peerDependencies": {
"react": "^16.8.5"
"react": "^16.14.0"
},

@@ -37,0 +37,0 @@ "devDependencies": {

# React Live Chat Loader
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

@@ -40,2 +42,5 @@

Please note: Some chat widget providers open automatically based on the users
interaction from their last session.
## Installation

@@ -130,3 +135,3 @@

Currently there are five supported providers:
Currently there are six supported providers:

@@ -310,2 +315,33 @@ <details>

<details>
<summary> Chatwoot </summary>
To use Chatwoot import the `LiveChatLoaderProvider` and set the `provider` prop
as `chatwoot` and the `providerKey` prop as your Chatwoot secret.
You can optionally set the `locale` and `baseUrl` props.
Then import the `Chatwoot` component.
```jsx
import { LiveChatLoaderProvider, Chatwoot } from 'react-live-chat-loader'
export default () => (
<LiveChatLoaderProvider
providerKey="E33wn9ftxMDHZx18AaBkfPvY"
provider="chatwoot"
>
/* ... */
<Chatwoot />
</LiveChatLoaderProvider>
)
```
You can customise the Chatwoot Widget by passing the following props to the
`Chatwoot` component:
- `color`: The background color, set to same color value you choose in Chatwoot dashboard.
</details>
## Adding a provider

@@ -438,3 +474,3 @@

- In the root of the project, run `npm run build` to build the package into `dist`
- Update `website/package.json` to reference the `dist` build: `"react-live-chat-loader": "../dist"`
- Update `website/package.json` to reference the `dist` build: `"react-live-chat-loader": "../"`
- In the `website` directory run `npm install`

@@ -470,2 +506,3 @@ - In the `website` directory run the server with `npm run dev`

<td align="center"><a href="https://github.com/jaska120"><img src="https://avatars.githubusercontent.com/u/23189620?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jaakko Mustalahti</b></sub></a><br /><a href="https://github.com/calibreapp/react-live-chat-loader/commits?author=jaska120" title="Code">💻</a></td>
<td align="center"><a href="https://motiko.me"><img src="https://avatars.githubusercontent.com/u/875618?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Moti Korets</b></sub></a><br /><a href="https://github.com/calibreapp/react-live-chat-loader/commits?author=motiko" title="Code">💻</a></td>
</tr>

@@ -472,0 +509,0 @@ </table>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc