fuc/public/assets/baba/default_files/main.a74da1f2.js
2025-02-23 13:30:57 +08:00

6 lines
31 KiB
JavaScript
Executable File

/*!
* Help Scout Beacon - Prod Build
* v2.2.149 - 2024-01-26
* (c) Help Scout 2024
* http://www.helpscout.net/
*/!function(){var n={47565:function(n,t,e){"use strict";e.d(t,{Hx:function(){return a},ZD:function(){return i},lo:function(){return c},rJ:function(){return o},xw:function(){return r}});const o="https://beaconapi.helpscout.net",i="https://d3hb14vkzrxvla.cloudfront.net",a="https://chatapi.helpscout.net",r="e715f34dfbd75ea91468",c="helpscout"},71874:function(n,t,e){"use strict";e.d(t,{ET:function(){return o},Vm:function(){return a},YD:function(){return c},ZY:function(){return r},a0:function(){return i},kS:function(){return l},m:function(){return s}});const o="icon",i="text",a="iconAndText",r="manual",c=60,s=35,l=55},2460:function(n,t,e){"use strict";e.d(t,{k:function(){return o}});const o={ContainerFrame:i(8),BeaconFabButtonFrame:i(8)-1,FullScreenFrame:i(9),Tooltip:i(6)};function i(){return parseInt(function(n,t){if(t<1)return"";let e="";for(;t>1&&(1&t&&(e+=n),!((t>>=1)<=0));)n+=n;return e+n}("9",arguments.length>0&&void 0!==arguments[0]?arguments[0]:1),10)}},91048:function(n,t,e){"use strict";const o=n=>{e.e(910).then(e.bind(e,47989)).then((t=>{let{callInitBeacon:e}=t;e(n)}))};var i=e(59748),a=e(79398),r=e(39543);var c=()=>{const n="beacon-container";let t=document.getElementById(n);return t||(t=document.createElement("div"),t.id=n,document.body.appendChild(t)),t},s=e(71874),l=e(44517),u=e(71392),d=e(72055),f=e(63306),h=e(38428),b=e(36570);const p={default:l.Z,buoy:u.Z,beacon:d.Z,question:h.Z,search:f.Z};var m=function(n){let{config:t,onClick:e=b.default,onHover:o=b.default,onMount:a=b.default,onResize:r=b.default,theme:c}=n;const[l,u]=i.default.useState(!1),d=i.default.useRef(null),{display:f,hideFABLabelOnMobile:h}=t,{iconImage:m,text:g,textAlign:v,style:y}=f,w=p[m]||p.default,x=!(y!==s.a0||!g),C=!(y!==s.Vm||!g),k=C&&"left"===v;(0,i.useEffect)((()=>{a(),d.current&&r(d.current.clientWidth,d.current.clientHeight)}),[a,r]);const F={backgroundColor:c.backgroundColorUI,"--background-hover-color":c.backgroundColorUIHover,"--background-active-color":c.backgroundColorUIActive,"--text-color":c.textColor},B=function(n){const t="c-FabButtonCritical__button";let e=t;return n.isTextOnly&&(e+=` ${t}--text-only`),n.isTextAndIcon&&(e+=` ${t}--text-and-icon`),n.isLoading&&(e+=` ${t}--is-loading`),e}({isTextOnly:x,isTextAndIcon:C,isLoading:l});return i.default.createElement("button",{onClick:function(){u(!0),e()},onMouseOver:o,onFocus:o,ref:d,style:F,className:B},(()=>{if(x)return null;const n=function(n){const t="c-FabButtonCritical__icon";let e=`c-FabButton__icon--icon ${t}`;return n.isTextAlignLeft&&(e+=` ${t}--text-align-left`),e}({isTextAlignLeft:k}),t={color:c.textColor};return i.default.createElement("span",{"data-testid":"fab-icon",dangerouslySetInnerHTML:{__html:w},className:n,style:t})})(),(()=>{if(y===s.ET||!g)return null;const n=function(n){const t="c-FabButtonCritical__text";let e=`c-FabButton__text ${t}`;return n.isTextOnly&&(e+=` ${t}--text-only`),n.isTextAlignLeft&&(e+=` ${t}--align-left`),n.hideOnMobile&&(e+=` ${t}--hide-on-mobile`),e}({hideOnMobile:h,isTextOnly:x,isTextAlignLeft:k}),t={color:c.textColor};return i.default.createElement("span",{className:n,style:t},g)})())},g=e(2460),v=e(77864),y=e.n(v),w=e(88544),x=e.n(w),C=e(96561),k=e(72834),F=e.n(k);class B extends i.PureComponent{render(){const{children:n,frameCss:t,frameId:e,"aria-label":o}=this.props,a={id:e||"",initialContent:`\n <!DOCTYPE html>\n <html>\n <head>\n <style>${F()}</style>\n <style>${t}</style>\n </head>\n <body id="beacon-container-body">\n <div id="beacon-container"></div>\n </body>\n </html>\n `,head:i.default.createElement("style",null),"data-cy":"FrameComponent","aria-label":o};return i.default.createElement(C.default,a,n)}}var _=B;const I={r:129,g:522,b:49},O=n=>{n=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,((n,t,e,o)=>t+t+e+e+o+o));const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);return{r:parseInt(null===t||void 0===t?void 0:t[1],16),g:parseInt(null===t||void 0===t?void 0:t[2],16),b:parseInt(null===t||void 0===t?void 0:t[3],16)}},A=(n,t)=>{"#"===n[0]&&(n=n.slice(1)),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);const e=parseInt(n,16);let o=(e>>16)+t;o>255?o=255:o<0&&(o=0);let i=(e>>8&255)+t;i>255?i=255:i<0&&(i=0);let a=(255&e)+t;return a>255?a=255:a<0&&(a=0),"#"+("000000"+(a|i<<8|o<<16).toString(16)).slice(-6)},E=function(n){return A(n,2.55*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:20))},z=function(n){return A(n,2.55*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:20)*-1)},S=n=>{const t=O(n)||I;return((n,t,e)=>{const o=n/255,i=t/255,a=e/255,r=Math.max(o,i,a),c=Math.min(o,i,a);let s,l=0;const u=(r+c)/2;if(r===c)l=0,s=0;else{const n=r-c;switch(s=u>.5?n/(2-r-c):n/(r+c),r){case o:l=(i-a)/n+(i<a?6:0);break;case i:l=(a-o)/n+2;break;case a:l=(o-i)/n+4}l/=6}return{h:l%1!==0?Math.round(100*l)/100:l,s:s%1!==0?Math.round(100*s)/100:s,l:u%1!==0?Math.round(100*u)/100:u}})(t.r,t.g,t.b)},M=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I;const e=S(n).l,o="black"===function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I;const{r:e,g:o,b:i}=Object.assign({},I,t),a=O(n);return Math.round((a.r*e+a.g*o+a.b*i)/1e3)>=128?"black":"white"}(n,t);return e>=.9?"lightest":e>=.61||e>=.16?o?"light":"dark":"darkest"};var N=e(96730),L=e(40496),T=e(42543);const Z=n=>n.height/2-125,j=n=>n.width/2-125;function D(n,t){const{display:e}=n;let o="BeaconFabButtonFrame";return"left"===e.position&&(o+=" BeaconFabButtonFrame--left"),t&&(o+=" has-pulse-animation"),o}var P=function(n){let{config:t,showPulseAnimation:a}=n;const[r,c]=i.default.useState(!1),[l,u]=i.default.useState(s.YD),[d,f]=i.default.useState(s.YD),h={width:l,height:d},b=(0,i.useMemo)((()=>(n=>{const t=n.slice(0,7),e=M(t),o="#fff"===t.toLowerCase()||"#ffffff"===t.toLowerCase();let i,a,r,c;return"lightest"!==e&&"light"!==e||(i=t,a=z(t,3),r=z(t,6)),"lightest"===e&&(c=z(t,70),o&&(c="#394956")),"light"===e&&(c=z(t,55)),"dark"!==e&&"darkest"!==e||(i=t,c="white"),"dark"===e&&(a=z(t,3),r=z(t,6)),"darkest"===e&&(a=E(t,3),r=E(t,6)),{backgroundColorUI:i,backgroundColorUIActive:r,backgroundColorUIHover:a,textColor:c}})(t.display.color)),[t.display.color]);(0,i.useEffect)((()=>{if(a)try{window.localStorage.setItem(`hs-beacon-${t.id}-shown-animation`,"true")}catch(n){}}),[]);const p=function(n){const t=(0,T.L)(n.style),e=(0,N.Z)();return(0,L.d)(n,t,e)}(t.display),v=function(n,t,e,o,i){const{display:a}=n,{height:r,width:c}=t,s={borderRadius:r,height:r,position:"fixed",transform:`scale(${e?"1":"0"})`,width:c,zIndex:g.k.BeaconFabButtonFrame,"--pulse-background":o.brandColor,"--pulse-bottom-offset":Z(t)+"px","--pulse-right-offset":j(t)+"px",right:"right"===a.position?i.horizontalOffset:void 0,left:"left"===a.position?i.horizontalOffset:void 0,bottom:i.verticalOffset};return a&&a.zIndex&&(s.zIndex=a.zIndex-1),!0===n.positionAbsolute&&(s.position="absolute"),s}(t,h,r,b,p),{display:w}=t;return w&&w.style===s.ZY?null:i.default.createElement("div",{className:D(t,a),style:v},i.default.createElement("style",null,y()),i.default.createElement(_,{"aria-label":"Toggle Customer Support",frameCss:x()},i.default.createElement(m,{config:t,onClick:function(){o({...t,beaconId:t.id,autoOpen:!0,enableFabAnimation:!1})},onHover:function(){e.e(910).then(e.bind(e,47989))},onMount:function(){c(!0)},onResize:function(n,t){u(n),f(t)},theme:b})))};var R=function(n){let{config:t,showPulseAnimation:e,onMount:o=b.default,onUnmount:a=b.default}=n;return(0,i.useEffect)((()=>(o(),()=>a())),[o,a]),i.default.createElement("div",{className:"hsds-beacon"},i.default.createElement("div",{className:"Beacon"},i.default.createElement(P,{config:t,showPulseAnimation:e})))},$=e(47565),U=e(28721);const H=["data-beacon-article","data-beacon-article-inline","data-beacon-article-modal","data-beacon-article-sidebar"],V=n=>{if(!n)return a.Z.error("Invalid Beacon ID",n);const t=c(),e="string"===typeof n?{beaconId:n}:n,{beaconId:s}=e,l=`${$.ZD}/v1/${s}`,u=function(){const n=H.map((n=>`[${n}]`)).join(",");return document.querySelectorAll(n).length>0}(),{deviceId:d,hasActiveChat:f,hasOpenedArticle:h,shownMessages:b,showPulseAnimation:p}=function(n){let t=!1;try{const e=`persist:hs-beacon-${n}`,o=localStorage.getItem(e),i=`hs-beacon-${n}-shown-animation`;t="true"===localStorage.getItem(i);const a=JSON.parse(o);for(const n in a)a[n]=JSON.parse(a[n]);const{auth:r,chat:c,docs:s,messages:l,status:u}=a;return{deviceId:r.deviceId,hasActiveChat:c.id,hasOpenedArticle:!(!s.article.data||!s.article.data.id),shownMessages:l.shownMessages,showPulseAnimation:(!u||!1===u.hasShownFabAnimation)&&!t}}catch(e){return{deviceId:(0,U.Z)(),hasActiveChat:!1,hasOpenedArticle:!1,shownMessages:[],showPulseAnimation:!t}}}(s),{deviceInstanceId:m,aiConversationInProgress:g}=function(n){try{const t=`persist:hs-beacon-session-${n}`,e=sessionStorage.getItem(t),o=JSON.parse(e);for(const n in o)o[n]=JSON.parse(o[n]);const{deviceInstanceId:i,aiConversationInProgress:a}=o;return{deviceInstanceId:i,aiConversationInProgress:a}}catch(t){return{deviceInstanceId:(0,U.Z)(),aiConversationInProgress:!1}}}(s);return a.Z.info(`Initializing Beacon with ID ${s} (Critical Path)`),f||h||u||g?o(n):(0,r.Z)({deviceId:d,deviceInstanceId:m}).get(l).then((a=>{let{data:r}=a;const c=(r.messages||[]).filter((n=>{const t="manual"===n.triggerType,e=n.action&&n.action.showRepeated,o=-1!==b.indexOf(n.id);return!t&&(e||!o)})),{display:s,...l}=e,u=r||{},d={...u,enableFabAnimation:!0,...l,display:{...u.display||{},...s}};if(c.length)return o({...n,...d});const f=q(n,d);i.default.render(i.default.createElement(R,{config:d,onMount:function(){window.addEventListener("click",f,!0)},onUnmount:function(){window.removeEventListener("click",f,!0)},showPulseAnimation:p&&d.enableFabAnimation}),t)})).catch((n=>{a.Z.error("Unable to Load Beacon"),a.Z.error(n)}))};const q=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=>{const i=e.target,a="A"===i.nodeName||"BUTTON"===i.nodeName?i:i.closest("a")||i.closest("button");if(a&&!e.ctrlKey&&!e.metaKey)for(let r=0;r<H.length;r++){const i=H[r];if(a.hasAttribute(i))return e.preventDefault(),o({...n,...t,enableFabAnimation:!1,clickTarget:a})}}};function J(n){const{criticalBeaconInitialized:t,readyQueue:e,config:i}=n;let a=!1;return window.Beacon=function(n,e,r){var c;if("init"===n&&!t)return o(e);null===(c=window.Beacon.readyQueue)||void 0===c||c.push({method:n,options:e,data:r}),t&&!a&&(a=!0,o(i))},window.Beacon.readyQueue=e||[],n}(()=>{const n=window.Beacon;if(!n||!n.readyQueue)return a.Z.error("There's been a problem initializing Beacon. Are you using the right embed script?");const t=n.readyQueue.filter((n=>"init"===n.method))[0];if(n.readyQueue=n.readyQueue.filter((n=>"init"!==n.method&&"destroy"!==n.method)),!t)return J({criticalBeaconInitialized:!1,readyQueue:n.readyQueue,config:{}});const{options:e}=t,i="string"===typeof e?{beaconId:e}:e;if(0===n.readyQueue.length)return(n=>{document.body?setTimeout((()=>V(n)),0):document.addEventListener("DOMContentLoaded",(()=>V(n)))})(e),J({criticalBeaconInitialized:!0,readyQueue:[],config:{...i,enableFabAnimation:!1}});o(e)})()},79398:function(n,t,e){"use strict";var o=e(37046),i=e(70109);const a=(0,i.KV)("production")?o.yK.ERROR:(0,i.KV)("test")?o.yK.SILENT:o.yK.LOG,r=(0,o.ZP)({logLevel:a});t.Z=r},39543:function(n,t,e){"use strict";e.d(t,{Z:function(){return l}});var o=e(9669),i=e.n(o),a=e(28721);let r;function c(n){return Array.prototype.toJSON&&(r=Array.prototype.toJSON,delete Array.prototype.toJSON),n}function s(n){return r&&(Array.prototype.toJSON=r),n}function l(n){let{deviceId:t,deviceInstanceId:e,extraHeader:o,header:r,noCache:l,withCredentials:u}=n;const d={correlationId:(0,a.Z)(),"Helpscout-Origin":"Beacon-Embed","Helpscout-Release":"2.2.149"};t&&Object.assign(d,{"Beacon-Device-ID":t}),e&&Object.assign(d,{"Beacon-Device-Instance-ID":e}),r&&Object.assign(d,{Authorization:r}),!0===l&&Object.assign(d,{"Cache-Control":"no-cache","HS-Beacon-No-Cache":"true"}),o&&Object.assign(d,o);const f=[c,...i().defaults.transformRequest,s];return i().create({headers:d,withCredentials:u,transformRequest:f})}},70109:function(n,t,e){"use strict";e.d(t,{KV:function(){return i},h2:function(){return r},yG:function(){return c}});var o=e(34155);const i=n=>!!n&&(o&&{NODE_ENV:"production",PUBLIC_URL:"https://beacon-v2.helpscout.net",BEACON_ENV:"production",BEACON_ID:"76d05357-bd7a-4019-b47b-d248d33b15b7",BEACON_VERSION:"2.2.149",IS_DOCKER:!1,IS_SCOUT:!1,BRANCH:"",DEPLOY_URL:"",SC_ATTR:"hs-beacon"}&&"production"===n),a=n=>!!n&&(o&&{NODE_ENV:"production",PUBLIC_URL:"https://beacon-v2.helpscout.net",BEACON_ENV:"production",BEACON_ID:"76d05357-bd7a-4019-b47b-d248d33b15b7",BEACON_VERSION:"2.2.149",IS_DOCKER:!1,IS_SCOUT:!1,BRANCH:"",DEPLOY_URL:"",SC_ATTR:"hs-beacon"}&&"production"===n),r=()=>i("test")||a("test"),c=()=>i("development")||a("development")},42543:function(n,t,e){"use strict";e.d(t,{L:function(){return i}});var o=e(71874);const i=n=>{switch(n){case o.a0:return o.m;case o.Vm:return o.kS;case o.ZY:return 0;default:return o.YD}}},96730:function(n,t,e){"use strict";let o;function i(n){n||"undefined"==typeof navigator||(n=navigator.userAgent);const t=n;return t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(n=t.headers["user-agent"]),"string"==typeof n&&n}function a(n){return!!(n=i(n))&&/ipad/i.test(n)}e.d(t,{E:function(){return a}}),t.Z=function(n){return void 0===o||arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?!!(n=i(n))&&(o=!a(n)&&!function(n){return!!(n=i(n))&&/electron/i.test(n)}(n)&&(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(n.substr(0,4))),o):o}},36570:function(n,t,e){"use strict";e.r(t),e.d(t,{noop:function(){return o}});const o=()=>{};t.default=o},40496:function(n,t,e){"use strict";e.d(t,{d:function(){return i}});var o=e(59748);function i(n,t,e){var i;const a=(null===(i=window.document.documentElement.querySelector(".BeaconFabButtonFrame"))||void 0===i?void 0:i.clientWidth)||t,r=(0,o.useCallback)((()=>({x:window.document.documentElement.clientWidth-a,y:window.document.documentElement.clientHeight-t})),[t,a,n.text]),[c,s]=(0,o.useState)((()=>r()));(0,o.useEffect)((()=>{function n(){s(r())}return s(r()),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}}),[r]);const l=e?null===n||void 0===n?void 0:n.verticalMobileOffset:null===n||void 0===n?void 0:n.verticalOffset,u=e?null===n||void 0===n?void 0:n.horizontalMobileOffset:null===n||void 0===n?void 0:n.horizontalOffset;return{verticalOffset:void 0!==l?Math.max(Math.min(l,c.y),0):void 0,horizontalOffset:void 0!==u?Math.max(Math.min(u,c.x),0):void 0}}},75641:function(n,t,e){"use strict";e.r(t);var o=e(8081),i=e.n(o),a=e(23645),r=e.n(a)()(i());r.push([n.id,"#beacon-container-body,\n#beacon-container {\n margin: 0;\n overflow: hidden;\n\n --BlueConfigGlobalFontFamilyMono: 'SFMono-Regular', Consolas,\n 'Liberation Mono', Menlo, Courier, monospace;\n --HSDSGlobalFontFamily: -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n 'Segoe UI Symbol';\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n box-sizing: border-box;\n font-family: var(--HSDSGlobalFontFamily);\n font-size: 14px;\n line-height: 1.5;\n}\n#beacon-container-body *, #beacon-container * {\n box-sizing: border-box;\n }\n",""]),t.default=r},50461:function(n,t,e){"use strict";e.r(t);var o=e(8081),i=e.n(o),a=e(23645),r=e.n(a)()(i());r.push([n.id,".c-FabButtonCritical__button {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n align-items: center;\n border-radius: 200px;\n border: none;\n bottom: 0;\n color: white;\n cursor: pointer;\n display: block;\n height: 60px;\n justify-content: center;\n min-width: 60px;\n margin: 0;\n line-height: 60px;\n outline: none !important;\n padding: 0;\n position: relative;\n transition: transform 200ms linear;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n z-index: 999;\n -webkit-tap-highlight-color: transparent;\n\n backface-visibility: hidden;\n}\n\n.c-FabButtonCritical__button:hover {\n background-color: var(--background-hover-color, inherit) !important;\n box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.06);\n }\n\n.c-FabButtonCritical__button:active {\n background-color: var(--background-active-color, inherit) !important;\n\n box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);\n cursor: pointer;\n transform: scale(0.96);\n }\n\n.c-FabButtonCritical__button::-moz-focus-inner {\n border: 0;\n }\n\n.c-FabButtonCritical__button:before {\n --focus-offset: 4px;\n\n content: '';\n border-radius: 200px;\n bottom: var(--focus-offset);\n box-shadow: 0 0 0 2px var(--text-color);\n left: var(--focus-offset);\n pointer-events: none;\n position: absolute;\n right: var(--focus-offset);\n top: var(--focus-offset);\n opacity: 0;\n background: transparent;\n z-index: 3;\n }\n\n.c-FabButtonCritical__button:focus:before, .c-FabButtonCritical__button.is-focused:before {\n opacity: 1;\n }\n\n.c-FabButtonCritical__button:focus:not(:focus-visible):before {\n opacity: 0;\n }\n\n.c-FabButtonCritical__button:focus-visible:before {\n opacity: 1 !important;\n transition: opacity ease 0.2s;\n }\n\n.c-FabButtonCritical__button--text-only {\n height: 35px;\n line-height: 35px;\n text-align: center;\n}\n\n.c-FabButtonCritical__button--text-and-icon {\n height: 55px;\n line-height: 55px;\n}\n\n.c-FabButtonCritical__button--is-loading {\n background-color: var(--background-active-color, inherit) !important;\n box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.1);\n cursor: pointer;\n transform: scale(0.96);\n}\n\n.c-FabButtonCritical__text {\n display: block;\n font-size: 14px;\n font-weight: 600;\n padding: 0 20px 0 54px;\n white-space: nowrap;\n line-height: 14px;\n}\n\n.c-FabButtonCritical__text--text-only {\n padding: 0 15px;\n}\n\n.c-FabButtonCritical__text--align-left {\n padding: 0 54px 0 20px;\n}\n\n@media (max-device-width: 812px) {\n\n.c-FabButtonCritical__text--hide-on-mobile {\n display: none;\n}\n }\n\n.c-FabButtonCritical__icon {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: 100%;\n justify-content: center;\n left: 0;\n opacity: 1;\n pointer-events: none;\n position: absolute;\n text-indent: -99999px;\n top: 0;\n width: 60px;\n}\n\n.c-FabButtonCritical__icon path {\n fill: currentColor;\n }\n\n.c-FabButtonCritical__icon--text-align-left {\n left: auto;\n right: 0;\n}\n",""]),t.default=r},7215:function(n,t,e){"use strict";e.r(t);var o=e(8081),i=e.n(o),a=e(23645),r=e.n(a)()(i());r.push([n.id,".BeaconFabButtonFrame {\n border: none;\n bottom: 40px;\n box-shadow: 0 4px 7px rgba(0, 0, 0, 0.1);\n position: fixed;\n right: 40px;\n top: auto;\n transition: box-shadow 250ms ease, opacity 0.4s ease, scale 1000ms ease-in-out,\n transform 0.2s ease-in-out;\n}\n\n.BeaconFabButtonFrame:active {\n box-shadow: none;\n }\n\n.BeaconFabButtonFrame iframe {\n border: none;\n height: 100%;\n width: 100%;\n color-scheme: light !important;\n }\n\n@media (max-height: 740px) {\n\n.BeaconFabButtonFrame {\n bottom: 10px;\n right: 20px;\n}\n }\n\n@supports (--css: variables) {\n .BeaconFabButtonFrame.has-pulse-animation::before {\n animation: puff-out-center 2s cubic-bezier(0.165, 0.84, 0.44, 1) both;\n animation-delay: 0.2s;\n background-color: var(--pulse-background);\n border-radius: 250px;\n bottom: var(--pulse-bottom-offset);\n content: '';\n height: 250px;\n opacity: 1;\n pointer-events: none;\n position: absolute;\n right: var(--pulse-right-offset);\n width: 250px;\n will-change: transform;\n z-index: -1;\n }\n\n @keyframes puff-out-center {\n 0% {\n transform: scale(0.2);\n opacity: 0.5;\n }\n 100% {\n transform: scale(1);\n opacity: 0;\n }\n }\n}\n\n.BeaconFabButtonFrame--left {\n left: 40px;\n right: initial;\n}\n\n@media (max-height: 740px) {\n\n.BeaconFabButtonFrame--left {\n left: 20px;\n right: initial;\n}\n }\n",""]),t.default=r},44517:function(n,t){"use strict";t.Z='<svg width="24" height="22" xmlns="http://www.w3.org/2000/svg"><path d="M20.347 20.871l-.003-.05c0 .017.001.034.003.05zm-.243-4.278a2 2 0 0 1 .513-1.455c1.11-1.226 1.383-2.212 1.383-4.74C22 5.782 18.046 2 13.125 2h-2.25C5.954 2 2 5.78 2 10.399c0 4.675 4.01 8.626 8.875 8.626h2.25c.834 0 1.606-.207 3.212-.798a2 2 0 0 1 1.575.083l2.355 1.161-.163-2.878zM10.875 0h2.25C19.13 0 24 4.656 24 10.399c0 2.6-.25 4.257-1.9 6.08l.243 4.279c.072.845-.807 1.471-1.633 1.162l-3.682-1.816c-1.212.446-2.527.921-3.903.921h-2.25C4.869 21.025 0 16.142 0 10.4 0 4.656 4.869 0 10.875 0z" fill="#FFF"/></svg>'},71392:function(n,t){"use strict";t.Z='<svg width="30" height="30" xmlns="http://www.w3.org/2000/svg"><path d="M26.244 21.523l-4.356-4.355a7.192 7.192 0 0 0 0-4.345l4.356-4.355a12.98 12.98 0 0 1 0 13.055zm-.4 3.215l-1.1 1.1a.557.557 0 0 1-.786 0l-4.884-4.884a7.27 7.27 0 0 0 1.885-1.886l4.885 4.885a.55.55 0 0 1 0 .785zM8.471 26.236l4.355-4.354a7.197 7.197 0 0 0 4.347 0l4.355 4.354a12.983 12.983 0 0 1-13.057 0zm-2.43-.398a.556.556 0 0 1-.786 0l-1.1-1.1a.556.556 0 0 1 0-.786l4.884-4.884a7.275 7.275 0 0 0 1.887 1.886L6.04 25.838zm-2.285-4.315a12.98 12.98 0 0 1 0-13.055l4.355 4.354a7.192 7.192 0 0 0 0 4.347l-4.355 4.354zm.399-16.27l1.1-1.1a.554.554 0 0 1 .785 0l4.886 4.884a7.27 7.27 0 0 0-1.887 1.885L4.155 6.039a.556.556 0 0 1 0-.786zm17.373-1.5l-4.355 4.355a7.229 7.229 0 0 0-4.347 0L8.471 3.754a12.99 12.99 0 0 1 13.057 0zm-1.305 11.242A5.228 5.228 0 0 1 15 20.217a5.228 5.228 0 0 1-5.224-5.222A5.228 5.228 0 0 1 15 9.773a5.23 5.23 0 0 1 5.223 5.222zm3.735-10.842a.556.556 0 0 1 .786 0l1.1 1.1a.553.553 0 0 1 0 .786l-4.884 4.883a7.302 7.302 0 0 0-1.886-1.885l4.884-4.884zm3.688 2.786c.23-.39.362-.83.362-1.293 0-.683-.266-1.325-.75-1.807l-1.098-1.1a2.555 2.555 0 0 0-3.101-.387 14.985 14.985 0 0 0-16.125.004c-.973-.548-2.284-.426-3.093.383l-1.101 1.1a2.533 2.533 0 0 0-.387 3.1 14.97 14.97 0 0 0 0 16.114 2.553 2.553 0 0 0 .387 3.099l1.1 1.1A2.549 2.549 0 0 0 5.649 28a2.55 2.55 0 0 0 1.293-.361A14.961 14.961 0 0 0 15 30.002a14.97 14.97 0 0 0 8.059-2.363c.398.234.844.36 1.292.36.655 0 1.31-.25 1.809-.747l1.099-1.1a2.531 2.531 0 0 0 .387-3.1 14.963 14.963 0 0 0 0-16.113z" fill="#FFF" fill-rule="evenodd"/></svg>'},72055:function(n,t){"use strict";t.Z='<svg width="28" height="26" xmlns="http://www.w3.org/2000/svg"><path d="M14.002 12a3.01 3.01 0 0 0-3.015 3c0 1.654 1.353 3 3.015 3a3.01 3.01 0 0 0 3.014-3c0-1.654-1.353-3-3.014-3m-1.005 7.9c-2.29-.465-4.019-2.485-4.019-4.9 0-2.757 2.254-5 5.024-5s5.023 2.243 5.023 5c0 2.415-1.729 4.435-4.019 4.9V25c0 .552-.45 1-1.004 1a1.003 1.003 0 0 1-1.005-1v-5.1zm9.36-7.345c-.393 0-.768-.232-.928-.617A8.019 8.019 0 0 0 14.001 7a8.018 8.018 0 0 0-7.426 4.936c-.213.51-.8.753-1.314.54a1 1 0 0 1-.543-1.307A10.024 10.024 0 0 1 14 5c4.078 0 7.722 2.422 9.284 6.17a.998.998 0 0 1-.927 1.385M1.005 10.637a1.005 1.005 0 0 1-.928-1.384C2.422 3.632 7.887 0 14.001 0c6.111 0 11.576 3.629 13.922 9.246a.998.998 0 0 1-.542 1.307 1.006 1.006 0 0 1-1.313-.54C24.033 5.146 19.298 2 14.001 2 8.703 2 3.965 5.148 1.933 10.02c-.16.385-.535.617-.928.617" fill="#FFF" fill-rule="evenodd"/></svg>'},63306:function(n,t){"use strict";t.Z='<svg width="23" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M15.79 15.46C17.184 13.982 18 12.07 18 10a8 8 0 1 0-8 8c1.676 0 3.24-.544 4.578-1.488l.659-.465.554-.588zm6.41 6.326a.999.999 0 0 1-.002 1.412.999.999 0 0 1-1.412.002l-5.095-5.094C14.064 19.256 12.142 19.997 10 20c-5.515.008-10.008-4.485-10-10C.008 4.485 4.485.008 10 0c5.515-.008 10.008 4.485 10 10-.004 2.652-1.105 5-2.794 6.791l4.994 4.995zM14 9c0-1.654-1.346-3-3-3a1 1 0 0 1 0-2c2.757 0 5 2.243 5 5a1 1 0 0 1-2 0z" fill="#FFF"/></svg>'},38428:function(n,t){"use strict";t.Z='<svg width="16" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M5.98785 17.5656L6.01976 15.4805C6.01976 14.9458 6.12612 14.5288 6.33882 14.2294C6.59407 13.652 7.03012 13.2243 7.64698 12.9463C8.2851 12.6469 9.0083 12.3154 9.81659 11.9519C10.8589 11.5669 11.6671 11.0216 12.2415 10.3159C12.8158 9.58879 13.1029 8.59437 13.1029 7.33264C13.1029 5.9212 12.635 4.81985 11.6991 4.02859C10.7631 3.21595 9.55071 2.80962 8.06175 2.80962C6.59407 2.80962 5.38164 3.10902 4.42445 3.70781C3.48854 4.3066 3.02058 5.26894 3.02058 6.59484H0.5C0.5 4.64877 1.17003 3.15179 2.51009 2.10391C3.87142 1.03464 5.7326 0.5 8.09366 0.5C9.60388 0.5 10.912 0.799396 12.0181 1.39819C13.1455 1.99698 14.0176 2.82032 14.6344 3.8682C15.2513 4.91608 15.5384 6.09228 15.4959 7.39679C15.4746 9.10763 15.0705 10.487 14.2835 11.5349C13.4964 12.5614 12.3372 13.3954 10.8057 14.037C10.1463 14.3364 9.64642 14.5716 9.30609 14.7427C8.96576 14.9138 8.73178 15.1062 8.60416 15.3201C8.47653 15.5126 8.40209 15.7799 8.38082 16.122C8.38082 16.4642 8.38082 16.9454 8.38082 17.5656H5.98785ZM7.16838 23.5C6.7217 23.5 6.32819 23.3396 5.98785 23.0188C5.66879 22.6767 5.50926 22.281 5.50926 21.8319C5.50926 21.3615 5.66879 20.9658 5.98785 20.645C6.32819 20.3243 6.7217 20.1639 7.16838 20.1639C7.61507 20.1639 7.99794 20.3243 8.317 20.645C8.63606 20.9658 8.80623 21.3615 8.8275 21.8319C8.8275 22.281 8.65734 22.6767 8.317 23.0188C7.99794 23.3396 7.61507 23.5 7.16838 23.5Z" fill="#FFF"/></svg>\n'},72834:function(n,t,e){var o=e(75641);o&&o.__esModule&&(o=o.default),n.exports="string"===typeof o?o:o.toString()},88544:function(n,t,e){var o=e(50461);o&&o.__esModule&&(o=o.default),n.exports="string"===typeof o?o:o.toString()},77864:function(n,t,e){var o=e(7215);o&&o.__esModule&&(o=o.default),n.exports="string"===typeof o?o:o.toString()}},t={};function e(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={id:o,exports:{}};return n[o].call(a.exports,a,a.exports,e),a.exports}e.m=n,function(){var n=[];e.O=function(t,o,i,a){if(!o){var r=1/0;for(u=0;u<n.length;u++){o=n[u][0],i=n[u][1],a=n[u][2];for(var c=!0,s=0;s<o.length;s++)(!1&a||r>=a)&&Object.keys(e.O).every((function(n){return e.O[n](o[s])}))?o.splice(s--,1):(c=!1,a<r&&(r=a));if(c){n.splice(u--,1);var l=i();void 0!==l&&(t=l)}}return t}a=a||0;for(var u=n.length;u>0&&n[u-1][2]>a;u--)n[u]=n[u-1];n[u]=[o,i,a]}}(),e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,{a:t}),t},e.d=function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},e.f={},e.e=function(n){return Promise.all(Object.keys(e.f).reduce((function(t,o){return e.f[o](n,t),t}),[]))},e.u=function(n){return"static/js/"+{68:"chat-footer",166:"container-frame",176:"custom-fields-body",269:"full-screen-frame",303:"contact-team",347:"ai-answers",471:"ai-conversation-rating-modal",507:"previous-messages",529:"article-feedback-footer",557:"chat-body",560:"conversation-modal",622:"inline-articles-frame",626:"email-form-modal",750:"contact-form-body",909:"notifications",910:"full-beacon-init"}[n]+"."+{68:"b0cfc131",166:"a1a6892c",176:"9e0ec443",269:"efad4bff",303:"823e07b3",347:"28e503e7",471:"145a5832",507:"537ffe71",529:"0d415ac6",557:"d58522d4",560:"04d02333",622:"b42b697c",626:"928d5cf5",750:"3a7bcace",909:"7da8f985",910:"fbc9dbb2"}[n]+".chunk.js"},e.miniCssF=function(n){},e.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"===typeof window)return window}}(),e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},function(){var n={},t="beacon2:";e.l=function(o,i,a,r){if(n[o])n[o].push(i);else{var c,s;if(void 0!==a)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==o||d.getAttribute("data-webpack")==t+a){c=d;break}}c||(s=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,e.nc&&c.setAttribute("nonce",e.nc),c.setAttribute("data-webpack",t+a),c.src=o),n[o]=[i];var f=function(t,e){c.onerror=c.onload=null,clearTimeout(h);var i=n[o];if(delete n[o],c.parentNode&&c.parentNode.removeChild(c),i&&i.forEach((function(n){return n(e)})),t)return t(e)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),s&&document.head.appendChild(c)}}}(),e.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.p="https://beacon-v2.helpscout.net/",function(){var n={179:0};e.f.j=function(t,o){var i=e.o(n,t)?n[t]:void 0;if(0!==i)if(i)o.push(i[2]);else{var a=new Promise((function(e,o){i=n[t]=[e,o]}));o.push(i[2]=a);var r=e.p+e.u(t),c=new Error;e.l(r,(function(o){if(e.o(n,t)&&(0!==(i=n[t])&&(n[t]=void 0),i)){var a=o&&("load"===o.type?"missing":o.type),r=o&&o.target&&o.target.src;c.message="Loading chunk "+t+" failed.\n("+a+": "+r+")",c.name="ChunkLoadError",c.type=a,c.request=r,i[1](c)}}),"chunk-"+t,t)}},e.O.j=function(t){return 0===n[t]};var t=function(t,o){var i,a,r=o[0],c=o[1],s=o[2],l=0;if(r.some((function(t){return 0!==n[t]}))){for(i in c)e.o(c,i)&&(e.m[i]=c[i]);if(s)var u=s(e)}for(t&&t(o);l<r.length;l++)a=r[l],e.o(n,a)&&n[a]&&n[a][0](),n[a]=0;return e.O(u)},o=self.beaconJsonp=self.beaconJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}(),e.nc=void 0;var o=e.O(void 0,[736],(function(){return e(91048)}));o=e.O(o)}();