!function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=30)}([function(t,e,n){"use strict";function o(t){return"[object Array]"===_.call(t)}function r(t){return"[object ArrayBuffer]"===_.call(t)}function i(t){return"undefined"!=typeof FormData&&t instanceof FormData}function s(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function a(t){return"string"==typeof t}function c(t){return"number"==typeof t}function u(t){return void 0===t}function p(t){return null!==t&&"object"==typeof t}function l(t){return"[object Date]"===_.call(t)}function f(t){return"[object File]"===_.call(t)}function h(t){return"[object Blob]"===_.call(t)}function d(t){return"[object Function]"===_.call(t)}function v(t){return p(t)&&d(t.pipe)}function y(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function b(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function m(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function g(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;r>n;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function w(){function t(t,n){e[n]="object"==typeof e[n]&&"object"==typeof t?w(e[n],t):t}for(var e={},n=0,o=arguments.length;o>n;n++)g(arguments[n],t);return e}function k(t,e,n){return g(e,function(e,o){t[o]=n&&"function"==typeof e?x(e,n):e}),t}var x=n(4),O=n(13),_=Object.prototype.toString;t.exports={isArray:o,isArrayBuffer:r,isBuffer:O,isFormData:i,isArrayBufferView:s,isString:a,isNumber:c,isObject:p,isUndefined:u,isDate:l,isFile:f,isBlob:h,isFunction:d,isStream:v,isURLSearchParams:y,isStandardBrowserEnv:m,forEach:g,merge:w,extend:k,trim:b}},function(t,e,n){"use strict";function o(t,e){var n,o,r,i,s=B;for(i=arguments.length;i-- >2;)P.push(arguments[i]);for(e&&null!=e.children&&(P.length||P.push(e.children),delete e.children);P.length;)if((o=P.pop())&&void 0!==o.pop)for(i=o.length;i--;)P.push(o[i]);else"boolean"==typeof o&&(o=null),(r="function"!=typeof t)&&(null==o?o="":"number"==typeof o?o+="":"string"!=typeof o&&(r=!1)),r&&n?s[s.length-1]+=o:s===B?s=[o]:s.push(o),n=r;var a=new R;return a.nodeName=t,a.children=s,a.attributes=null==e?void 0:e,a.key=null==e?void 0:e.key,void 0!==T.vnode&&T.vnode(a),a}function r(t,e){for(var n in e)t[n]=e[n];return t}function i(t,e){t&&("function"==typeof t?t(e):t.current=e)}function s(t){!t._dirty&&(t._dirty=!0)&&1==N.push(t)&&(T.debounceRendering||I)(a)}function a(){for(var t;t=N.pop();)t._dirty&&C(t)}function c(t,e,n){return"string"==typeof e||"number"==typeof e?void 0!==t.splitText:"string"==typeof e.nodeName?!t._componentConstructor&&u(t,e.nodeName):n||t._componentConstructor===e.nodeName}function u(t,e){return t.normalizedNodeName===e||t.nodeName.toLowerCase()===e.toLowerCase()}function p(t){var e=r({},t.attributes);e.children=t.children;var n=t.nodeName.defaultProps;if(void 0!==n)for(var o in n)void 0===e[o]&&(e[o]=n[o]);return e}function l(t,e){var n=e?document.createElementNS("http://www.w3.org/2000/svg",t):document.createElement(t);return n.normalizedNodeName=t,n}function f(t){var e=t.parentNode;e&&e.removeChild(t)}function h(t,e,n,o,r){if("className"===e&&(e="class"),"key"===e);else if("ref"===e)i(n,null),i(o,t);else if("class"!==e||r)if("style"===e){if(o&&"string"!=typeof o&&"string"!=typeof n||(t.style.cssText=o||""),o&&"object"==typeof o){if("string"!=typeof n)for(var s in n)s in o||(t.style[s]="");for(var s in o)t.style[s]="number"==typeof o[s]&&!1===U.test(s)?o[s]+"px":o[s]}}else if("dangerouslySetInnerHTML"===e)o&&(t.innerHTML=o.__html||"");else if("o"==e[0]&&"n"==e[1]){var a=e!==(e=e.replace(/Capture$/,""));e=e.toLowerCase().substring(2),o?n||t.addEventListener(e,d,a):t.removeEventListener(e,d,a),(t._listeners||(t._listeners={}))[e]=o}else if("list"!==e&&"type"!==e&&!r&&e in t){try{t[e]=null==o?"":o}catch(t){}null!=o&&!1!==o||"spellcheck"==e||t.removeAttribute(e)}else{var c=r&&e!==(e=e.replace(/^xlink:?/,""));null==o||!1===o?c?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.removeAttribute(e):"function"!=typeof o&&(c?t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),o):t.setAttribute(e,o))}else t.className=o||""}function d(t){return this._listeners[t.type](T.event&&T.event(t)||t)}function v(){for(var t;t=M.shift();)T.afterMount&&T.afterMount(t),t.componentDidMount&&t.componentDidMount()}function y(t,e,n,o,r,i){F++||(L=null!=r&&void 0!==r.ownerSVGElement,D=null!=t&&!("__preactattr_"in t));var s=b(t,e,n,o,i);return r&&s.parentNode!==r&&r.appendChild(s),--F||(D=!1,i||v()),s}function b(t,e,n,o,r){var i=t,s=L;if(null!=e&&"boolean"!=typeof e||(e=""),"string"==typeof e||"number"==typeof e)return t&&void 0!==t.splitText&&t.parentNode&&(!t._component||r)?t.nodeValue!=e&&(t.nodeValue=e):(i=document.createTextNode(e),t&&(t.parentNode&&t.parentNode.replaceChild(i,t),g(t,!0))),i.__preactattr_=!0,i;var a=e.nodeName;if("function"==typeof a)return j(t,e,n,o);if(L="svg"===a||"foreignObject"!==a&&L,a+="",(!t||!u(t,a))&&(i=l(a,L),t)){for(;t.firstChild;)i.appendChild(t.firstChild);t.parentNode&&t.parentNode.replaceChild(i,t),g(t,!0)}var c=i.firstChild,p=i.__preactattr_,f=e.children;if(null==p){p=i.__preactattr_={};for(var h=i.attributes,d=h.length;d--;)p[h[d].name]=h[d].value}return!D&&f&&1===f.length&&"string"==typeof f[0]&&null!=c&&void 0!==c.splitText&&null==c.nextSibling?c.nodeValue!=f[0]&&(c.nodeValue=f[0]):(f&&f.length||null!=c)&&m(i,f,n,o,D||null!=p.dangerouslySetInnerHTML),k(i,e.attributes,p),L=s,i}function m(t,e,n,o,r){var i,s,a,u,p,l=t.childNodes,h=[],d={},v=0,y=0,m=l.length,w=0,k=e?e.length:0;if(0!==m)for(var x=0;m>x;x++){var O=l[x],_=O.__preactattr_,C=k&&_?O._component?O._component.__key:_.key:null;null!=C?(v++,d[C]=O):(_||(void 0!==O.splitText?!r||O.nodeValue.trim():r))&&(h[w++]=O)}if(0!==k)for(var x=0;k>x;x++){u=e[x],p=null;var C=u.key;if(null!=C)v&&void 0!==d[C]&&(p=d[C],d[C]=void 0,v--);else if(w>y)for(i=y;w>i;i++)if(void 0!==h[i]&&c(s=h[i],u,r)){p=s,h[i]=void 0,i===w-1&&w--,i===y&&y++;break}p=b(p,u,n,o),a=l[x],p&&p!==t&&p!==a&&(null==a?t.appendChild(p):p===a.nextSibling?f(a):t.insertBefore(p,a))}if(v)for(var x in d)void 0!==d[x]&&g(d[x],!1);for(;w>=y;)void 0!==(p=h[w--])&&g(p,!1)}function g(t,e){var n=t._component;n?S(n):(null!=t.__preactattr_&&i(t.__preactattr_.ref,null),!1!==e&&null!=t.__preactattr_||f(t),w(t))}function w(t){for(t=t.lastChild;t;){var e=t.previousSibling;g(t,!0),t=e}}function k(t,e,n){var o;for(o in n)e&&null!=e[o]||null==n[o]||h(t,o,n[o],n[o]=void 0,L);for(o in e)"children"===o||"innerHTML"===o||o in n&&e[o]===("value"===o||"checked"===o?t[o]:n[o])||h(t,o,n[o],n[o]=e[o],L)}function x(t,e,n){var o,r=z.length;for(t.prototype&&t.prototype.render?(o=new t(e,n),A.call(o,e,n)):(o=new A(e,n),o.constructor=t,o.render=O);r--;)if(z[r].constructor===t)return o.nextBase=z[r].nextBase,z.splice(r,1),o;return o}function O(t,e,n){return this.constructor(t,n)}function _(t,e,n,o,r){t._disable||(t._disable=!0,t.__ref=e.ref,t.__key=e.key,delete e.ref,delete e.key,void 0===t.constructor.getDerivedStateFromProps&&(!t.base||r?t.componentWillMount&&t.componentWillMount():t.componentWillReceiveProps&&t.componentWillReceiveProps(e,o)),o&&o!==t.context&&(t.prevContext||(t.prevContext=t.context),t.context=o),t.prevProps||(t.prevProps=t.props),t.props=e,t._disable=!1,0!==n&&(1!==n&&!1===T.syncComponentUpdates&&t.base?s(t):C(t,1,r)),i(t.__ref,t))}function C(t,e,n,o){if(!t._disable){var i,s,a,c=t.props,u=t.state,l=t.context,f=t.prevProps||c,h=t.prevState||u,d=t.prevContext||l,b=t.base,m=t.nextBase,w=b||m,k=t._component,O=!1,j=d;if(t.constructor.getDerivedStateFromProps&&(u=r(r({},u),t.constructor.getDerivedStateFromProps(c,u)),t.state=u),b&&(t.props=f,t.state=h,t.context=d,2!==e&&t.shouldComponentUpdate&&!1===t.shouldComponentUpdate(c,u,l)?O=!0:t.componentWillUpdate&&t.componentWillUpdate(c,u,l),t.props=c,t.state=u,t.context=l),t.prevProps=t.prevState=t.prevContext=t.nextBase=null,t._dirty=!1,!O){i=t.render(c,u,l),t.getChildContext&&(l=r(r({},l),t.getChildContext())),b&&t.getSnapshotBeforeUpdate&&(j=t.getSnapshotBeforeUpdate(f,h));var A,E,R=i&&i.nodeName;if("function"==typeof R){var P=p(i);s=k,s&&s.constructor===R&&P.key==s.__key?_(s,P,1,l,!1):(A=s,t._component=s=x(R,P,l),s.nextBase=s.nextBase||m,s._parentComponent=t,_(s,P,0,l,!1),C(s,1,n,!0)),E=s.base}else a=w,A=k,A&&(a=t._component=null),(w||1===e)&&(a&&(a._component=null),E=y(a,i,l,n||!b,w&&w.parentNode,!0));if(w&&E!==w&&s!==k){var B=w.parentNode;B&&E!==B&&(B.replaceChild(E,w),A||(w._component=null,g(w,!1)))}if(A&&S(A),t.base=E,E&&!o){for(var I=t,U=t;U=U._parentComponent;)(I=U).base=E;E._component=I,E._componentConstructor=I.constructor}}for(!b||n?M.push(t):O||(t.componentDidUpdate&&t.componentDidUpdate(f,h,j),T.afterUpdate&&T.afterUpdate(t));t._renderCallbacks.length;)t._renderCallbacks.pop().call(t);F||o||v()}}function j(t,e,n,o){for(var r=t&&t._component,i=r,s=t,a=r&&t._componentConstructor===e.nodeName,c=a,u=p(e);r&&!c&&(r=r._parentComponent);)c=r.constructor===e.nodeName;return r&&c&&(!o||r._component)?(_(r,u,3,n,o),t=r.base):(i&&!a&&(S(i),t=s=null),r=x(e.nodeName,u,n),t&&!r.nextBase&&(r.nextBase=t,s=null),_(r,u,1,n,o),t=r.base,s&&t!==s&&(s._component=null,g(s,!1))),t}function S(t){T.beforeUnmount&&T.beforeUnmount(t);var e=t.base;t._disable=!0,t.componentWillUnmount&&t.componentWillUnmount(),t.base=null;var n=t._component;n?S(n):e&&(null!=e.__preactattr_&&i(e.__preactattr_.ref,null),t.nextBase=e,f(e),z.push(t),w(e)),i(t.__ref,null)}function A(t,e){this._dirty=!0,this.context=e,this.props=t,this.state=this.state||{},this._renderCallbacks=[]}function E(t,e,n){return y(n,t,{},!1,e,!1)}n.d(e,"b",function(){return o}),n.d(e,"a",function(){return A}),n.d(e,"c",function(){return E});var R=function(){},T={},P=[],B=[],I="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,U=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,N=[],M=[],F=0,L=!1,D=!1,z=[];r(A.prototype,{setState:function(t,e){this.prevState||(this.prevState=this.state),this.state=r(r({},this.state),"function"==typeof t?t(this.state,this.props):t),e&&this._renderCallbacks.push(e),s(this)},forceUpdate:function(t){t&&this._renderCallbacks.push(t),C(this,2)},render:function(){}})},function(t,e,n){"use strict";function o(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var r=n(0),i=n(15),s={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(5):"undefined"!=typeof process&&(t=n(5)),t}(),transformRequest:[function(t,e){return i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(o(e,"application/x-www-form-urlencoded;charset=utf-8"),""+t):r.isObject(t)?(o(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&300>t}};a.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){a.headers[t]={}}),r.forEach(["post","put","patch"],function(t){a.headers[t]=r.merge(s)}),t.exports=a},function(t,e,n){"use strict";n.d(e,"e",function(){return o}),n.d(e,"c",function(){return r}),n.d(e,"k",function(){return i}),n.d(e,"l",function(){return s}),n.d(e,"d",function(){return a}),n.d(e,"b",function(){return c}),n.d(e,"j",function(){return u}),n.d(e,"a",function(){return p}),n.d(e,"o",function(){return l}),n.d(e,"n",function(){return f}),n.d(e,"m",function(){return h}),n.d(e,"g",function(){return d}),n.d(e,"h",function(){return v}),n.d(e,"f",function(){return y}),n.d(e,"i",function(){return b});var o={position:"fixed",bottom:"20px",right:"20px",zIndex:2147483647,borderRadius:"5px",boxSizing:"content-box",boxShadow:"0px 0px 20px rgba(0, 0, 0, 0.2)",overflow:"hidden"},r={position:"fixed",bottom:"0px",right:"0px",zIndex:2147483647,minWidth:"400px",boxSizing:"content-box",overflow:"hidden",minHeight:"120px"},i={position:"fixed",bottom:"0px",right:"0px",zIndex:2147483647,minWidth:"400px",boxSizing:"content-box",overflow:"hidden",minHeight:"120px"},s={position:"fixed",top:0,right:0,bottom:0,left:0,zIndex:2147483647,width:"100%",height:"100%",overflowY:"visible",boxSizing:"content-box"},a={height:"40px",lineHeight:"30px",fontSize:"20px",display:"flex",justifyContent:"space-between",padding:"5px 0 5px 20px",fontFamily:"Lato, sans-serif",color:"#fff",cursor:"pointer",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"},c={display:"flex",justifyContent:"center",position:"absolute",top:"38px",right:"20px",height:"60px",width:"60px",border:0,borderRadius:"50%",boxShadow:"0px 0px 20px rgba(0, 0, 0, 0.2)"},u={display:"block",position:"absolute",top:"46px",right:"20px",height:"52px",width:"52px",border:0,borderRadius:"50%",boxShadow:"0px 0px 20px rgba(0, 0, 0, 0.2)"},p={width:"100%",height:"auto",borderRadius:"999px"},l={"max-height":"100%","max-width":"100%","border-radius":"50%"},f={display:"flex",alignItems:"center",fontSize:"15px",fontWeight:"normal",padding:"0px 30px 0px 0px"},h={display:"flex",alignItems:"center",fontSize:"15px",fontWeight:"normal",padding:"0px 0px 10px 0px"},d={maxWidth:"20em",position:"fixed",bottom:"85px",right:"70px",cursor:"default",boxShadow:"rgba(0, 0, 0, 0.15) 1.95px 1.95px 4.6px 1px",borderRadius:"10px 10px 0px 10px",fontSize:"15px",background:"white"},v={margin:"1em 2em 1em 1em"},y={position:"absolute",padding:"20px",top:"0px",background:"none",right:"5px",border:"none",fontSize:"large",cursor:"pointer",appearance:"auto",textRendering:"auto",color:"buttontext",letterSpacing:"normal",wordSpacing:"normal",lineHeight:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",display:"inline-block",textAlign:"center",alignItems:"flex-start",boxSizing:"border-box",margin:"0em",paddingBlock:"1px",paddingInline:"6px",borderWidth:"0px",borderStyle:"none"},b={display:"block",marginBlockStart:"0em",marginBlockEnd:"0em",marginInlineStart:"0px",marginInlineEnd:"0px"}},function(t){"use strict";t.exports=function(t,e){return function(){for(var n=Array(arguments.length),o=0;n.length>o;o++)n[o]=arguments[o];return t.apply(e,n)}}},function(t,e,n){"use strict";var o=n(0),r=n(16),i=n(18),s=n(19),a=n(20),c=n(6);t.exports=function(t){return new Promise(function(e,u){var p=t.data,l=t.headers;o.isFormData(p)&&delete l["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",d=t.auth.password||"";l.Authorization="Basic "+btoa(h+":"+d)}if(f.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null;r(e,u,{data:t.responseType&&"text"!==t.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:t,request:f}),f=null}},f.onerror=function(){u(c("Network Error",t,null,f)),f=null},f.ontimeout=function(){u(c("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",f)),f=null},o.isStandardBrowserEnv()){var v=n(21),y=(t.withCredentials||a(t.url))&&t.xsrfCookieName?v.read(t.xsrfCookieName):void 0;y&&(l[t.xsrfHeaderName]=y)}if("setRequestHeader"in f&&o.forEach(l,function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:f.setRequestHeader(e,t)}),t.withCredentials&&(f.withCredentials=!0),t.responseType)try{f.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){f&&(f.abort(),u(t),f=null)}),void 0===p&&(p=null),f.send(p)})}},function(t,e,n){"use strict";var o=n(17);t.exports=function(t,e,n,r,i){var s=Error(t);return o(s,e,n,r,i)}},function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},,,function(t,e,n){t.exports=n(12)},function(t,e,n){"use strict";function o(t){var e=new s(t),n=i(s.prototype.request,e);return r.extend(n,s.prototype,e),r.extend(n,e),n}var r=n(0),i=n(4),s=n(14),a=n(2),c=o(a);c.Axios=s,c.create=function(t){return o(r.merge(a,t))},c.Cancel=n(8),c.CancelToken=n(27),c.isCancel=n(7),c.all=function(t){return Promise.all(t)},c.spread=n(28),t.exports=c,t.exports.default=c},function(t){t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},function(t,e,n){"use strict";function o(t){this.defaults=t,this.interceptors={request:new s,response:new s}}var r=n(2),i=n(0),s=n(22),a=n(23);o.prototype.request=function(t){"string"==typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),t=i.merge(r,{method:"get"},this.defaults,t),t.method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head","options"],function(t){o.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}}),i.forEach(["post","put","patch"],function(t){o.prototype[t]=function(e,n,o){return this.request(i.merge(o||{},{method:t,url:e,data:n}))}}),t.exports=o},function(t,e,n){"use strict";var o=n(0);t.exports=function(t,e){o.forEach(t,function(n,o){o!==e&&o.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[o])})}},function(t,e,n){"use strict";var o=n(6);t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(o("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t){"use strict";t.exports=function(t,e,n,o,r){return t.config=e,n&&(t.code=n),t.request=o,t.response=r,t}},function(t,e,n){"use strict";function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var r=n(0);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=""+e;else{var s=[];r.forEach(e,function(t,e){null!==t&&void 0!==t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))}))}),i=s.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,n){"use strict";var o=n(0),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,s={};return t?(o.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=o.trim(t.substr(0,i)).toLowerCase(),n=o.trim(t.substr(i+1)),e){if(s[e]&&r.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}}),s):s}},function(t,e,n){"use strict";var o=n(0);t.exports=o.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(r.setAttribute("href",e),e=r.href),r.setAttribute("href",e),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");return e=t(window.location.href),function(n){var r=o.isString(n)?t(n):n;return r.protocol===e.protocol&&r.host===e.host}}():function(){return function(){return!0}}()},function(t,e,n){"use strict";var o=n(0);t.exports=o.isStandardBrowserEnv()?function(){return{write:function(t,e,n,r,i,s){var a=[];a.push(t+"="+encodeURIComponent(e)),o.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),o.isString(r)&&a.push("path="+r),o.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){"use strict";function o(){this.handlers=[]}var r=n(0);o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},function(t,e,n){"use strict";function o(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var r=n(0),i=n(24),s=n(7),a=n(2),c=n(25),u=n(26);t.exports=function(t){return o(t),t.baseURL&&!c(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return o(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(o(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var o=n(0);t.exports=function(t,e,n){return o.forEach(n,function(n){t=n(t,e)}),t}},function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}var r=n(8);o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";var o=n(1),r=n(3),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;o>n;n++){e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};e.a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t){var e=t.bubbleAvatarUrl;return""==e||"casey"==e||"myhealth"==e||"double"==e?Object(o.b)("svg",{xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink",style:s({},r.o),viewBox:"0 0 122 122"},Object(o.b)("image",{x:"25",y:"25",width:"70",height:"70",xlinkHref:"data:img/png;base64,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"})):-1!==e.indexOf("/")?Object(o.b)("img",{src:e,style:s({},r.a)}):Object(o.b)("div",{style:{display:"flex",alignItems:"center"}},Object(o.b)("br",null),e)},e}(o.a)},function(t,e,n){"use strict";function o(t,e){void 0===e&&(e=""),t=t.replace(/[[]/,"\\[").replace(/[]]/,"\\]");var n=RegExp("[\\?&]"+t+"=([^&#]*)"),o=n.exec(document.getElementById("botmanWidget").getAttribute("src"));return null===o?e:decodeURIComponent(o[1].replace(/\+/g," "))}function r(t){return t.userId||i()}function i(){return Math.random().toString(36).substr(2,6)}function s(){var t=document.createElement("div");t.id="botmanWidgetRoot",t.attachShadow({mode:"open"}),document.getElementsByTagName("body")[0].appendChild(t);var e={};try{e=JSON.parse(o("settings","{}"))}catch(t){}var n=window.botmanWidget||{};n.userId=r(p({},u.a,n)),"function"==typeof n.echoChannel&&(n.echoChannel=n.echoChannel(n.userId));var i=p({},u.a,e,n),s=i.frameEndpoint;Object(a.c)(Object(a.b)(c.a,{isMobile:500>window.screen.width,iFrameSrc:s,conf:i}),t.shadowRoot)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(1),c=n(31),u=n(41),p=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;o>n;n++){e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};window.attachEvent?window.attachEvent("onload",s):window.addEventListener("load",s,!1)},function(t,e,n){"use strict";var o=n(11),r=n.n(o),i=n(1),s=n(32),a=n(33),c=n(34),u=n(36),p=n(3),l=n(37),f=n(38),h=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;o>n;n++){e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};e.a=function(t){function e(){var e=t.call(this)||this;return e.toggle=function(){var t={pristine:!1,isChatOpen:!e.state.isChatOpen,wasChatOpened:e.state.wasChatOpened};e.state.isChatOpen||e.state.wasChatOpened||(e.props.conf.sendWidgetOpenedEvent&&setTimeout(function(){e.sendOpenEvent()},500),t.wasChatOpened=!0),e.setState(t)},e.state.isChatOpen=!1,e.state.pristine=!0,e.state.wasChatOpened=!1,e}return h(e,t),e.prototype.componentDidMount=function(){window.botmanChatWidget=new u.a(this),this.setupEcho(),"function"==typeof this.props.conf.init&&this.props.conf.init(window.botmanChatWidget)},e.prototype.setupEcho=function(){if(!0===this.props.conf.useEcho){this.Echo=new l.a(this.props.conf.echoConfiguration);var t=void 0;t="private"===this.props.conf.echoChannelType?this.Echo.private(this.props.conf.echoChannel):this.Echo.channel(this.props.conf.echoChannel),t.listen(this.props.conf.echoEventName,function(t){window.botmanChatWidget.writeToMessages(t)})}},e.prototype.render=function(t,e){var n=t.conf,o=t.isMobile,r=e.isChatOpen,u=e.pristine,l={width:o?n.mobileWidth:n.desktopWidth},h=window.innerHeight-100n;n++){e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};e.a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.shouldComponentUpdate=function(){return!1},e.prototype.render=function(t){var e=t.iFrameSrc,n=t.isMobile,r=t.conf,s=window.botmanWidget||{},a=encodeURIComponent(JSON.stringify(i({},r,s)));return Object(o.b)("iframe",{id:"chatBotManFrame",src:e+"?conf="+a,width:"100%",height:n?"94%":"100%",frameBorder:"0",allowTransparency:!0,style:"background-color:transparent"})},e}(o.a)},function(t,e,n){"use strict";var o=n(1),r=n(3),i=n(29),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),a=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;o>n;n++){e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};e.a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.customHeight=60,e}return s(e,t),e.prototype.render=function(t){var e=t.conf;return Object(o.b)("div",{style:{position:"relative",cursor:"pointer"},onClick:this.props.onClick},Object(o.b)("div",{className:"mobile-closed-message-avatar",style:a({background:e.bubbleBackground},r.j)},Object(o.b)(i.a,{bubbleAvatarUrl:e.bubbleAvatarUrl})))},e}(o.a)},function(t,e,n){"use strict";var o=n(1),r=n(3),i=n(29),s=n(35),a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),c=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;o>n;n++){e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};e.a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(t){var e=t.conf;return Object(o.b)("div",{style:{position:"relative",cursor:"pointer"}},Object(o.b)(s.a,{tooltipText:e.tooltipText,pristine:this.props.pristine,enabled:e.enableFloatingWelcomeMessage,duration:4}),Object(o.b)("div",{onClick:this.props.onClick,className:"desktop-closed-message-avatar",style:c({background:e.mainColor},r.b)},Object(o.b)(i.a,{bubbleAvatarUrl:e.bubbleAvatarUrl})))},e}(o.a)},function(t,e,n){"use strict";var o=n(1),r=n(3),i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;o>n;n++){e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};e.a=function(t){function e(){var e=t.call(this)||this;return e.hide=function(){e.setState({showMessage:!1})},e.state.showMessage=!0,e}return i(e,t),e.prototype.componentDidMount=function(){var t=this;setTimeout(function(){t.setState({showMessage:!1})},1e3*this.props.duration)},e.prototype.render=function(t){var e=t.pristine,n=t.enabled,i=t.tooltipText;if(n)return Object(o.b)("div",{class:"btmn-floating-welcome",style:s({},r.g,{display:this.state.showMessage&&e?"block":"none"})},Object(o.b)("button",{class:"btmn-floating-welcome-close-button",onClick:this.hide,"aria-label":"Close alert",type:"button","data-close":"",style:s({},r.f)},"×"),Object(o.b)("div",{class:"btmn-floating-welcome-txt",style:s({},r.h)},Object(o.b)("p",{style:s({},r.i)},i||"Hi, I'm here to help. Let me know if you have any questions")))},e}(o.a)},function(t,e){"use strict";e.a=function(){function t(t){this.widget=t}return t.prototype.open=function(){this.widget.open()},t.prototype.close=function(){this.widget.close()},t.prototype.toggle=function(){this.widget.toggle()},t.prototype.isOpen=function(){return!0===this.widget.state.isChatOpen},t.prototype.callChatWidget=function(t){if(this.isOpen())document.getElementById("chatBotManFrame").contentWindow.postMessage(t,"*");else try{this.open(),setTimeout(function(){document.getElementById("chatBotManFrame").contentWindow.postMessage(t,"*")},750)}catch(t){}},t.prototype.writeToMessages=function(t){this.callChatWidget({method:"writeToMessages",params:[t]})},t.prototype.sayAsBot=function(t){this.callChatWidget({method:"sayAsBot",params:[t]})},t.prototype.say=function(t){this.callChatWidget({method:"say",params:[t]})},t.prototype.whisper=function(t){this.callChatWidget({method:"whisper",params:[t]})},t}()},function(t,e,n){"use strict";function o(t){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;e.length>n;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(){return a=Object.assign||function(t){for(var e=1;arguments.length>e;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},a.apply(this,arguments)}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return f(t)}function d(t){var e=l();return function(){var n,o=u(t);if(e){var r=u(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}n.d(e,"a",function(){return T});var v=function(){function t(){r(this,t)}return s(t,[{key:"listenForWhisper",value:function(t,e){return this.listen(".client-"+t,e)}},{key:"notification",value:function(t){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",t)}},{key:"stopListeningForWhisper",value:function(t,e){return this.stopListening(".client-"+t,e)}}]),t}(),y=function(){function t(e){r(this,t),this.namespace=e}return s(t,[{key:"format",value:function(t){return"."===t.charAt(0)||"\\"===t.charAt(0)?t.substr(1):(this.namespace&&(t=this.namespace+"."+t),t.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(t){this.namespace=t}}]),t}(),b=function(t){function e(t,o,i){var s;return r(this,e),s=n.call(this),s.name=o,s.pusher=t,s.options=i,s.eventFormatter=new y(s.options.namespace),s.subscribe(),s}c(e,t);var n=d(e);return s(e,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(t,e){return this.on(this.eventFormatter.format(t),e),this}},{key:"listenToAll",value:function(t){var e=this;return this.subscription.bind_global(function(n,o){if(!n.startsWith("pusher:")){var r=e.options.namespace.replace(/\./g,"\\"),i=n.startsWith(r)?n.substring(r.length+1):"."+n;t(i,o)}}),this}},{key:"stopListening",value:function(t,e){return e?this.subscription.unbind(this.eventFormatter.format(t),e):this.subscription.unbind(this.eventFormatter.format(t)),this}},{key:"stopListeningToAll",value:function(t){return t?this.subscription.unbind_global(t):this.subscription.unbind_global(),this}},{key:"subscribed",value:function(t){return this.on("pusher:subscription_succeeded",function(){t()}),this}},{key:"error",value:function(t){return this.on("pusher:subscription_error",function(e){t(e)}),this}},{key:"on",value:function(t,e){return this.subscription.bind(t,e),this}}]),e}(v),m=function(t){function e(){return r(this,e),n.apply(this,arguments)}c(e,t);var n=d(e);return s(e,[{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-".concat(t),e),this}}]),e}(b),g=function(t){function e(){return r(this,e),n.apply(this,arguments)}c(e,t);var n=d(e);return s(e,[{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-".concat(t),e),this}}]),e}(b),w=function(t){function e(){return r(this,e),n.apply(this,arguments)}c(e,t);var n=d(e);return s(e,[{key:"here",value:function(t){return this.on("pusher:subscription_succeeded",function(e){t(Object.keys(e.members).map(function(t){return e.members[t]}))}),this}},{key:"joining",value:function(t){return this.on("pusher:member_added",function(e){t(e.info)}),this}},{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-".concat(t),e),this}},{key:"leaving",value:function(t){return this.on("pusher:member_removed",function(e){t(e.info)}),this}}]),e}(b),k=function(t){function e(t,o,i){var s;return r(this,e),s=n.call(this),s.events={},s.listeners={},s.name=o,s.socket=t,s.options=i,s.eventFormatter=new y(s.options.namespace),s.subscribe(),s}c(e,t);var n=d(e);return s(e,[{key:"subscribe",value:function(){this.socket.emit("subscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(t,e){return this.on(this.eventFormatter.format(t),e),this}},{key:"stopListening",value:function(t,e){return this.unbindEvent(this.eventFormatter.format(t),e),this}},{key:"subscribed",value:function(t){return this.on("connect",function(e){t(e)}),this}},{key:"error",value:function(){return this}},{key:"on",value:function(t,e){var n=this;return this.listeners[t]=this.listeners[t]||[],this.events[t]||(this.events[t]=function(e,o){n.name===e&&n.listeners[t]&&n.listeners[t].forEach(function(t){return t(o)})},this.socket.on(t,this.events[t])),this.listeners[t].push(e),this}},{key:"unbind",value:function(){var t=this;Object.keys(this.events).forEach(function(e){t.unbindEvent(e)})}},{key:"unbindEvent",value:function(t,e){this.listeners[t]=this.listeners[t]||[],e&&(this.listeners[t]=this.listeners[t].filter(function(t){return t!==e})),e&&0!==this.listeners[t].length||(this.events[t]&&(this.socket.removeListener(t,this.events[t]),delete this.events[t]),delete this.listeners[t])}}]),e}(v),x=function(t){function e(){return r(this,e),n.apply(this,arguments)}c(e,t);var n=d(e);return s(e,[{key:"whisper",value:function(t,e){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(t),data:e}),this}}]),e}(k),O=function(t){function e(){return r(this,e),n.apply(this,arguments)}c(e,t);var n=d(e);return s(e,[{key:"here",value:function(t){return this.on("presence:subscribed",function(e){t(e.map(function(t){return t.user_info}))}),this}},{key:"joining",value:function(t){return this.on("presence:joining",function(e){return t(e.user_info)}),this}},{key:"whisper",value:function(t,e){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(t),data:e}),this}},{key:"leaving",value:function(t){return this.on("presence:leaving",function(e){return t(e.user_info)}),this}}]),e}(x),_=function(t){function e(){return r(this,e),n.apply(this,arguments)}c(e,t);var n=d(e);return s(e,[{key:"subscribe",value:function(){}},{key:"unsubscribe",value:function(){}},{key:"listen",value:function(){return this}},{key:"listenToAll",value:function(){return this}},{key:"stopListening",value:function(){return this}},{key:"subscribed",value:function(){return this}},{key:"error",value:function(){return this}},{key:"on",value:function(){return this}}]),e}(v),C=function(t){function e(){return r(this,e),n.apply(this,arguments)}c(e,t);var n=d(e);return s(e,[{key:"whisper",value:function(){return this}}]),e}(_),j=function(t){function e(){return r(this,e),n.apply(this,arguments)}c(e,t);var n=d(e);return s(e,[{key:"here",value:function(){return this}},{key:"joining",value:function(){return this}},{key:"whisper",value:function(){return this}},{key:"leaving",value:function(){return this}}]),e}(_),S=function(){function t(e){r(this,t),this._defaultOptions={auth:{headers:{}},authEndpoint:"/broadcasting/auth",userAuthentication:{endpoint:"/broadcasting/user-auth",headers:{}},broadcaster:"pusher",csrfToken:null,bearerToken:null,host:null,key:null,namespace:"App.Events"},this.setOptions(e),this.connect()}return s(t,[{key:"setOptions",value:function(t){this.options=a(this._defaultOptions,t);var e=this.csrfToken();return e&&(this.options.auth.headers["X-CSRF-TOKEN"]=e,this.options.userAuthentication.headers["X-CSRF-TOKEN"]=e),e=this.options.bearerToken,e&&(this.options.auth.headers.Authorization="Bearer "+e,this.options.userAuthentication.headers.Authorization="Bearer "+e),t}},{key:"csrfToken",value:function(){var t;return"undefined"!=typeof window&&window.Laravel&&window.Laravel.csrfToken?window.Laravel.csrfToken:this.options.csrfToken?this.options.csrfToken:"undefined"!=typeof document&&"function"==typeof document.querySelector&&(t=document.querySelector('meta[name="csrf-token"]'))?t.getAttribute("content"):null}}]),t}(),A=function(t){function e(){var t;return r(this,e),t=n.apply(this,arguments),t.channels={},t}c(e,t);var n=d(e);return s(e,[{key:"connect",value:function(){this.pusher=void 0!==this.options.client?this.options.client:this.options.Pusher?new this.options.Pusher(this.options.key,this.options):new Pusher(this.options.key,this.options)}},{key:"signin",value:function(){this.pusher.signin()}},{key:"listen",value:function(t,e,n){return this.channel(t).listen(e,n)}},{key:"channel",value:function(t){return this.channels[t]||(this.channels[t]=new b(this.pusher,t,this.options)),this.channels[t]}},{key:"privateChannel",value:function(t){return this.channels["private-"+t]||(this.channels["private-"+t]=new m(this.pusher,"private-"+t,this.options)),this.channels["private-"+t]}},{key:"encryptedPrivateChannel",value:function(t){return this.channels["private-encrypted-"+t]||(this.channels["private-encrypted-"+t]=new g(this.pusher,"private-encrypted-"+t,this.options)),this.channels["private-encrypted-"+t]}},{key:"presenceChannel",value:function(t){return this.channels["presence-"+t]||(this.channels["presence-"+t]=new w(this.pusher,"presence-"+t,this.options)),this.channels["presence-"+t]}},{key:"leave",value:function(t){var e=this;[t,"private-"+t,"private-encrypted-"+t,"presence-"+t].forEach(function(t){e.leaveChannel(t)})}},{key:"leaveChannel",value:function(t){this.channels[t]&&(this.channels[t].unsubscribe(),delete this.channels[t])}},{key:"socketId",value:function(){return this.pusher.connection.socket_id}},{key:"disconnect",value:function(){this.pusher.disconnect()}}]),e}(S),E=function(t){function e(){var t;return r(this,e),t=n.apply(this,arguments),t.channels={},t}c(e,t);var n=d(e);return s(e,[{key:"connect",value:function(){var t=this;return this.socket=this.getSocketIO()(this.options.host,this.options),this.socket.on("reconnect",function(){Object.values(t.channels).forEach(function(t){t.subscribe()})}),this.socket}},{key:"getSocketIO",value:function(){if(void 0!==this.options.client)return this.options.client;if("undefined"!=typeof io)return io;throw Error("Socket.io client not found. Should be globally available or passed via options.client")}},{key:"listen",value:function(t,e,n){return this.channel(t).listen(e,n)}},{key:"channel",value:function(t){return this.channels[t]||(this.channels[t]=new k(this.socket,t,this.options)),this.channels[t]}},{key:"privateChannel",value:function(t){return this.channels["private-"+t]||(this.channels["private-"+t]=new x(this.socket,"private-"+t,this.options)),this.channels["private-"+t]}},{key:"presenceChannel",value:function(t){return this.channels["presence-"+t]||(this.channels["presence-"+t]=new O(this.socket,"presence-"+t,this.options)),this.channels["presence-"+t]}},{key:"leave",value:function(t){var e=this;[t,"private-"+t,"presence-"+t].forEach(function(t){e.leaveChannel(t)})}},{key:"leaveChannel",value:function(t){this.channels[t]&&(this.channels[t].unsubscribe(),delete this.channels[t])}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),e}(S),R=function(t){function e(){var t;return r(this,e),t=n.apply(this,arguments),t.channels={},t}c(e,t);var n=d(e);return s(e,[{key:"connect",value:function(){}},{key:"listen",value:function(){return new _}},{key:"channel",value:function(){return new _}},{key:"privateChannel",value:function(){return new C}},{key:"encryptedPrivateChannel",value:function(){return new C}},{key:"presenceChannel",value:function(){return new j}},{key:"leave",value:function(){}},{key:"leaveChannel",value:function(){}},{key:"socketId",value:function(){return"fake-socket-id"}},{key:"disconnect",value:function(){}}]),e}(S),T=function(){function t(e){r(this,t),this.options=e,this.connect(),this.options.withoutInterceptors||this.registerInterceptors()}return s(t,[{key:"channel",value:function(t){return this.connector.channel(t)}},{key:"connect",value:function(){"pusher"==this.options.broadcaster?this.connector=new A(this.options):"socket.io"==this.options.broadcaster?this.connector=new E(this.options):"null"==this.options.broadcaster?this.connector=new R(this.options):"function"==typeof this.options.broadcaster&&(this.connector=new this.options.broadcaster(this.options))}},{key:"disconnect",value:function(){this.connector.disconnect()}},{key:"join",value:function(t){return this.connector.presenceChannel(t)}},{key:"leave",value:function(t){this.connector.leave(t)}},{key:"leaveChannel",value:function(t){this.connector.leaveChannel(t)}},{key:"leaveAllChannels",value:function(){for(var t in this.connector.channels)this.leaveChannel(t)}},{key:"listen",value:function(t,e,n){return this.connector.listen(t,e,n)}},{key:"private",value:function(t){return this.connector.privateChannel(t)}},{key:"encryptedPrivate",value:function(t){return this.connector.encryptedPrivateChannel(t)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"registerInterceptors",value:function(){"function"==typeof Vue&&Vue.http&&this.registerVueRequestInterceptor(),"function"==typeof axios&&this.registerAxiosRequestInterceptor(),"function"==typeof jQuery&&this.registerjQueryAjaxSetup(),"object"===("undefined"==typeof Turbo?"undefined":o(Turbo))&&this.registerTurboRequestInterceptor()}},{key:"registerVueRequestInterceptor",value:function(){var t=this;Vue.http.interceptors.push(function(e,n){t.socketId()&&e.headers.set("X-Socket-ID",t.socketId()),n()})}},{key:"registerAxiosRequestInterceptor",value:function(){var t=this;axios.interceptors.request.use(function(e){return t.socketId()&&(e.headers["X-Socket-Id"]=t.socketId()),e})}},{key:"registerjQueryAjaxSetup",value:function(){var t=this;void 0!==jQuery.ajax&&jQuery.ajaxPrefilter(function(e,n,o){t.socketId()&&o.setRequestHeader("X-Socket-Id",t.socketId())})}},{key:"registerTurboRequestInterceptor",value:function(){var t=this;document.addEventListener("turbo:before-fetch-request",function(e){e.detail.fetchOptions.headers["X-Socket-Id"]=t.socketId()})}}]),t}()},function(t,e,n){"use strict";var o=n(1),r=n(3),i=n(39),s=n(40),a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),c=this&&this.__assign||Object.assign||function(t){for(var e,n=1,o=arguments.length;o>n;n++){e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};e.a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.render=function(t){var e=t.conf;return Object(o.b)("div",{style:c({background:e.mainColor},r.d),onClick:this.props.onClick},Object(o.b)("div",{style:c({color:e.headerTextColor},r.n)},e.title),Object(o.b)("div",{style:c({color:e.headerTextColor},r.m)},Object(o.b)(i.a,{isOpened:!0,url:"https://automedsystems-syd.com.au/training/AMS_Chatbot_Guide_For_Patients.pdf",color:e.headerTextColor}),Object(o.b)(s.a,{isOpened:!0,color:e.headerTextColor})))},e}(o.a)},function(t,e,n){"use strict";var o=n(1),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();e.a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(t){var e=t.isOpened,n=t.url,r=t.color;return Object(o.b)("a",{class:"btn",href:n,target:"_blank",style:{marginRight:15}},e?Object(o.b)("svg",{style:{marginTop:6,verticalAlign:"middle"},fill:r||"#FFFFFF",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(o.b)("path",{d:"M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6 16h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 11.9 13 12.5 13 14h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"})):Object(o.b)("div",null))},e}(o.a)},function(t,e,n){"use strict";var o=n(1),r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();e.a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.render=function(t){var e=t.isOpened,n=t.color;return Object(o.b)("div",null,e?Object(o.b)("svg",{style:{marginRight:15,marginTop:6,verticalAlign:"middle"},fill:n,height:"15",viewBox:"0 0 15 15",width:"15",xmlns:"http://www.w3.org/2000/svg"},Object(o.b)("line",{x1:"1",y1:"15",x2:"15",y2:"1",stroke:n,"stroke-width":"2"}),Object(o.b)("line",{x1:"1",y1:"1",x2:"15",y2:"15",stroke:n,"stroke-width":"2"})):Object(o.b)("svg",{style:{marginRight:15,marginTop:6,verticalAlign:"middle"},fill:n,height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},Object(o.b)("path",{d:"M2.582 13.891c-0.272 0.268-0.709 0.268-0.979 0s-0.271-0.701 0-0.969l7.908-7.83c0.27-0.268 0.707-0.268 0.979 0l7.908 7.83c0.27 0.268 0.27 0.701 0 0.969s-0.709 0.268-0.978 0l-7.42-7.141-7.418 7.141z"})))},e}(o.a)},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o={chatServer:"/botman",frameEndpoint:"/botman/chat",timeFormat:"HH:MM",dateTimeFormat:"m/d/yy HH:MM",title:"Virtual Assistant",cookieValidInDays:1,introMessage:"",placeholderText:"Send a message...",tooltipText:"Hi, I'm here to help. Let me know if you have any questions!",displayMessageTime:!0,sendWidgetOpenedEvent:!1,widgetOpenedEventData:"",mainColor:"#43b4e3",headerTextColor:"white",bubbleBackground:"#43b3e3",bubbleAvatarUrl:"",desktopHeight:450,desktopWidth:370,mobileHeight:"100%",mobileWidth:"300px",videoHeight:160,aboutLink:"https://automedsystems.com.au/",aboutText:"Powered by AutoMed Systems",chatId:"",userId:"",alwaysUseFloatingButton:!1,enableFloatingWelcomeMessage:!0,useEcho:!1,echoChannel:function(){return""},echoConfiguration:{},echoEventName:".message.created",echoChannelType:"private"}}]);