main.093943d6.js.下载 31 KB

123456
  1. /*!
  2. * Help Scout Beacon - Prod Build
  3. * v2.2.266 - 2025-07-23
  4. * (c) Help Scout 2025
  5. * http://www.helpscout.net/
  6. */!function(){var n={10473:function(n,t,e){"use strict";e.d(t,{Gr:function(){return a},Gu:function(){return i},WU:function(){return o},dz:function(){return c},gW:function(){return r}});const o="https://beaconapi.helpscout.net",i="https://d3hb14vkzrxvla.cloudfront.net",a="https://chatapi.helpscout.net",r="e715f34dfbd75ea91468",c="helpscout"},50693:function(n,t,e){"use strict";e.d(t,{FV:function(){return o},HL:function(){return i},HX:function(){return a},Qg:function(){return c},_w:function(){return r},o3:function(){return l},wC:function(){return s}});const o="icon",i="text",a="iconAndText",r="manual",c=60,s=42,l=60},53023:function(n,t,e){"use strict";e.d(t,{M: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)}},30818:function(n,t,e){"use strict";const o=n=>{e.e(564).then(e.bind(e,3946)).then((t=>{let{callInitBeacon:e}=t;e(n)}))};var i=e(15299),a=e(16217),r=e(14135);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(50693),l=e(56825),u=e(26211),d=e(36131),f=e(78911),p=e(67958),b=e(44317),h=e(20679);const m={default:l.A,buoy:u.A,beacon:d.A,question:p.A,search:f.A};var g=function(n){let{config:t,onClick:e=h.default,onHover:o=h.default,onMount:a=h.default,onResize:r=h.default,theme:c}=n;const[l,u]=i.default.useState(!1),d=i.default.useRef(null),{display:f,hideFABLabelOnMobile:p}=t,{iconImage:g,text:v,textAlign:w,style:y}=f,x=m[g]||m.default,_=!(y!==s.HL||!v),C=!(y!==s.HX||!v),k=C&&"left"===w,B=_||C?1:0;(0,i.useEffect)((()=>{a(),d.current&&r(d.current.clientWidth+B,d.current.clientHeight)}),[a,r,B]);const A=n=>{let{className:t}=n;return i.default.createElement("span",{className:`c-FabButtonCritical__squircle-background ${t}`,dangerouslySetInnerHTML:{__html:b.A}})},F={backgroundColor:c.backgroundColorUI,"--background-color":c.backgroundColorUI,"--text-color":c.textColor},I=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:_,isTextAndIcon:C,isLoading:l});return i.default.createElement("button",{onClick:function(){u(!0),e()},onMouseOver:o,onFocus:o,ref:d,style:F,className:I},A({className:"position-left"}),A({className:"position-right"}),(()=>{if(_)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:x},className:n,style:t})})(),(()=>{if(y===s.FV||!v)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:p,isTextOnly:_,isTextAlignLeft:k}),t={color:c.textColor};return i.default.createElement("span",{className:n,style:t},v)})())},v=e(53023),w=e(32607),y=e.n(w),x=e(37200),_=e.n(x),C=e(96522),k=e(77356),B=e.n(k);class A 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>${B()}</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 F=A;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)}},E=(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)},S=function(n){return E(n,2.55*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:20))},M=function(n){return E(n,2.55*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:20)*-1)},z=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)},N=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I;const e=z(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 T=e(23719),L=e(23009),j=e(64068);const P=n=>(n.width-60)/2,R=n=>(n.height-60)/2;function D(n){const{display:t}=n;let e="BeaconFabButtonFrame";return"left"===t.position&&(e+=" BeaconFabButtonFrame--left"),e}var H=function(n){let{config:t,showPulseAnimation:a}=n;const[r,c]=i.default.useState(!1),[l,u]=i.default.useState(s.Qg),[d,f]=i.default.useState(s.Qg),p={width:l,height:d},h=(0,i.useMemo)((()=>(n=>{const t=n.slice(0,7),e=N(t),o="#fff"===t.toLowerCase()||"#ffffff"===t.toLowerCase();let i,a,r,c;return"lightest"!==e&&"light"!==e||(i=t,a=M(t,3),r=M(t,6)),"lightest"===e&&(c=M(t,70),o&&(c="#394956")),"light"===e&&(c=M(t,55)),"dark"!==e&&"darkest"!==e||(i=t,c="white"),"dark"===e&&(a=M(t,3),r=M(t,6)),"darkest"===e&&(a=S(t,3),r=S(t,6)),"#faee46"===t.toLowerCase()&&(c="#3d3605"),{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 m=function(n){const t=(0,j.T)(n.style),e=(0,T.A)();return(0,L.r)(n,t,e)}(t.display),w=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:v.M.BeaconFabButtonFrame,"--pulse-background":o.backgroundColorUI,"--pulse-left-offset":P(t)+"px","--pulse-top-offset":R(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,p,r,h,m),{display:x}=t;return x&&x.style===s._w?null:i.default.createElement("div",{className:D(t),style:w},i.default.createElement("style",null,y()),i.default.createElement("div",{className:"BeaconFabButtonPulse "+(a?"is-visible":""),dangerouslySetInnerHTML:{__html:b.A}}),i.default.createElement(F,{"aria-label":"Toggle Customer Support",frameCss:_()},i.default.createElement(g,{config:t,onClick:function(){o({...t,beaconId:t.id,autoOpen:!0,enableFabAnimation:!1})},onHover:function(){e.e(564).then(e.bind(e,3946))},onMount:function(){c(!0)},onResize:function(n,t){u(n),f(t)},theme:h})))};var $=function(n){let{config:t,showPulseAnimation:e,onMount:o=h.default,onUnmount:a=h.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(H,{config:t,showPulseAnimation:e})))},U=e(10473),q=e(33829);const Q=["data-beacon-article","data-beacon-article-inline","data-beacon-article-modal","data-beacon-article-sidebar"],J=n=>{if(!n)return a.A.error("Invalid Beacon ID",n);const t=c(),e="string"===typeof n?{beaconId:n}:n,{beaconId:s}=e,l=`${U.Gu}/v1/${s}`,u=function(){const n=Q.map((n=>`[${n}]`)).join(",");return document.querySelectorAll(n).length>0}(),{deviceId:d,hasActiveChat:f,hasOpenedArticle:p,shownMessages:b,showPulseAnimation:h}=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,q.A)(),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,q.A)(),aiConversationInProgress:!1}}}(s);return a.A.info(`Initializing Beacon with ID ${s} (Critical Path)`),f||p||u||g?o(n):(0,r.A)({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=V(n,d);i.default.render(i.default.createElement($,{config:d,onMount:function(){window.addEventListener("click",f,!0)},onUnmount:function(){window.removeEventListener("click",f,!0)},showPulseAnimation:h&&d.enableFabAnimation}),t)})).catch((n=>{a.A.error("Unable to Load Beacon"),a.A.error(n)}))};const V=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<Q.length;r++){const i=Q[r];if(a.hasAttribute(i))return e.preventDefault(),o({...n,...t,enableFabAnimation:!1,clickTarget:a})}}};function Z(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.A.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 Z({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((()=>J(n)),0):document.addEventListener("DOMContentLoaded",(()=>J(n)))})(e),Z({criticalBeaconInitialized:!0,readyQueue:[],config:{...i,enableFabAnimation:!1}});o(e)})()},16217:function(n,t,e){"use strict";var o=e(40066),i=e(4610);const a=(0,i.wD)("production")?o.p_.ERROR:(0,i.wD)("test")?o.p_.SILENT:o.p_.LOG,r=(0,o.Ay)({logLevel:a});t.A=r},14135:function(n,t,e){"use strict";e.d(t,{A:function(){return s}});var o=e(71083),i=e(33829);let a;function r(n){return Array.prototype.toJSON&&(a=Array.prototype.toJSON,delete Array.prototype.toJSON),n}function c(n){return a&&(Array.prototype.toJSON=a),n}function s(n){let{deviceId:t,deviceInstanceId:e,extraHeader:a,header:s,noCache:l,withCredentials:u}=n;const d={correlationId:(0,i.A)(),"Helpscout-Origin":"Beacon-Embed","Helpscout-Release":"2.2.266"};t&&Object.assign(d,{"Beacon-Device-ID":t}),e&&Object.assign(d,{"Beacon-Device-Instance-ID":e}),s&&Object.assign(d,{Authorization:s}),!0===l&&Object.assign(d,{"Cache-Control":"no-cache","HS-Beacon-No-Cache":"true"}),a&&Object.assign(d,a);const f=[r,...o.A.defaults.transformRequest,c];return o.A.create({headers:d,withCredentials:u,transformRequest:f})}},4610:function(n,t,e){"use strict";e.d(t,{IX:function(){return c},Si:function(){return r},Y5:function(){return a},wD:function(){return i},yz:function(){return s}});var o=e(65606);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.266",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.266",IS_DOCKER:!1,IS_SCOUT:!1,BRANCH:"",DEPLOY_URL:"",SC_ATTR:"hs-beacon"}&&"production"===n),r=()=>i("test")||a("test"),c=()=>a("local"),s=()=>i("development")||a("development")},64068:function(n,t,e){"use strict";e.d(t,{T:function(){return i}});var o=e(50693);const i=n=>{switch(n){case o.HL:return o.wC;case o.HX:return o.o3;case o._w:return 0;default:return o.Qg}}},23719: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,{v:function(){return a}}),t.A=function(n){return void 0===o||arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?!!(n=i(n))&&(o=!!/^BeaconMobileSDK\//i.test(n)||!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}},20679:function(n,t,e){"use strict";e.r(t),e.d(t,{noop:function(){return o}});const o=()=>{};t.default=o},23009:function(n,t,e){"use strict";e.d(t,{r:function(){return i}});var o=e(15299);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}}},5328:function(n,t,e){"use strict";e.r(t);var o=e(31601),i=e.n(o),a=e(76314),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},97540:function(n,t,e){"use strict";e.r(t);var o=e(31601),i=e.n(o),a=e(76314),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:active {\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: 5px;\n\n content: '';\n border-radius: 20px;\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: 42px;\n line-height: 42px;\n text-align: center;\n}\n\n.c-FabButtonCritical__button--text-only .c-FabButtonCritical__squircle-background {\n height: 42px;\n width: 42px;\n }\n\n.c-FabButtonCritical__button--is-loading {\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 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 mask path {\n fill: white;\n }\n\n.c-FabButtonCritical__icon path.line-path {\n fill: transparent;\n stroke: currentColor;\n }\n\n.c-FabButtonCritical__icon--text-align-left {\n left: auto;\n right: 0;\n}\n\n.c-FabButtonCritical__squircle-background {\n position: absolute;\n top: 0;\n height: 60px;\n width: 60px;\n z-index: -1;\n pointer-events: none;\n}\n\n.c-FabButtonCritical__squircle-background.position-left {\n left: 0;\n }\n\n.c-FabButtonCritical__squircle-background.position-right {\n right: 0;\n }\n\n.c-FabButtonCritical__squircle-background svg {\n fill: var(--background-color);\n }\n",""]),t.default=r},5267:function(n,t,e){"use strict";e.r(t);var o=e(31601),i=e.n(o),a=e(76314),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:\n box-shadow 250ms ease,\n opacity 0.4s ease,\n scale 0.125s ease-in-out,\n transform 0.2s ease-in-out;\n}\n\n.BeaconFabButtonFrame:hover {\n scale: 1.125;\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 .BeaconFabButtonPulse svg {\n display: none;\n position: absolute;\n width: 60px;\n height: 60px;\n top: var(--pulse-top-offset);\n left: var(--pulse-left-offset);\n fill: var(--pulse-background);\n z-index: -1;\n pointer-events: none;\n }\n\n .BeaconFabButtonPulse.is-visible svg {\n display: block !important;\n opacity: 0.2;\n animation:\n 1.03s cubic-bezier(0.28, 0.53, 0.7, 1) pulse-scale 0.13s both,\n 0.76s cubic-bezier(0.42, 0, 0.58, 1) pulse-fade-out 0.4s both;\n }\n\n @keyframes pulse-scale {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(4);\n }\n }\n\n @keyframes pulse-fade-out {\n 0% {\n opacity: 0.2;\n }\n 100% {\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},56825:function(n,t){"use strict";t.A='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 60 60"><path d="M41.216 29.026c0 3.576-.895 5.847-2.647 7.268l-.066.052c-.213.173-.448.362-.6.559a1.958 1.958 0 0 0-.311.562c-.086.233-.117.494-.144.719l-.008.062-.303 2.48c-.063.516-.102.834-.151 1.06a1.595 1.595 0 0 1-.04.151.091.091 0 0 1-.015.006 1.42 1.42 0 0 1-.137-.076 14.087 14.087 0 0 1-.868-.626l-2.98-2.244-.041-.03a3.046 3.046 0 0 0-.53-.343 2.061 2.061 0 0 0-.554-.17 3.13 3.13 0 0 0-.648-.016l-.054.002c-.496.023-1.014.034-1.553.034-4.41 0-7.28-.758-9.048-2.22-1.721-1.421-2.602-3.683-2.602-7.23 0-3.546.88-5.808 2.602-7.23 1.769-1.46 4.639-2.22 9.048-2.22 4.41 0 7.28.76 9.048 2.22 1.721 1.422 2.602 3.684 2.602 7.23Z" stroke="#000" stroke-width="2" class="line-path" /></svg>\n'},26211:function(n,t){"use strict";t.A='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 60 60"><path d="M42.323 22.961a.475.475 0 0 1-.45-.303l-.779-1.978a.307.307 0 0 0-.177-.175l-1.99-.748a.48.48 0 0 1-.008-.894l1.978-.779a.307.307 0 0 0 .175-.177l.748-1.99a.479.479 0 0 1 .894-.008l.779 1.978a.309.309 0 0 0 .177.175l1.98.744a.488.488 0 0 1 .321.459.477.477 0 0 1-.303.44l-1.978.778a.307.307 0 0 0-.175.177l-.748 1.991a.476.476 0 0 1-.444.31Z" fill="#000" /><path d="M29.598 38.292c1.182 1.955 3.556 2.813 7.412 2.813a23 23 0 0 0 1.053-.023c.168-.008.252-.012.326 0 .068.011.128.03.191.06.068.031.132.079.26.175l1.962 1.477c.526.396.79.594 1.025.598a.725.725 0 0 0 .542-.23c.16-.173.2-.5.28-1.153l.2-1.633c.023-.192.035-.288.064-.367a.637.637 0 0 1 .107-.194c.052-.066.145-.142.333-.294 1.37-1.11 1.987-2.84 1.987-5.297 0-3.972-1.613-6.04-5.403-6.67a17.666 17.666 0 0 1 .037 1.848c1.056.212 1.773.547 2.26.95.763.63 1.295 1.715 1.295 3.872 0 2.174-.54 3.26-1.316 3.89l-.034.027a3.55 3.55 0 0 0-.59.565 2.437 2.437 0 0 0-.376.678 3.236 3.236 0 0 0-.158.74l-.004.032-.062.512-1.06-.798-.023-.017a3.135 3.135 0 0 0-.558-.352 2.511 2.511 0 0 0-.667-.206 3.206 3.206 0 0 0-.672-.024l-.029.002a21.22 21.22 0 0 1-.97.021c-2.784 0-4.332-.483-5.19-1.17-.691.087-1.432.143-2.222.168Z" fill="#000" fill-rule="evenodd" clip-rule="evenodd" opacity=".48"/><path d="M17.378 32.428c-1.586-1.286-2.397-3.342-2.397-6.58 0-3.211.798-5.26 2.356-6.546 1.602-1.323 4.2-2.01 8.192-2.01 3.993 0 6.591.686 8.193 2.01 1.558 1.287 2.355 3.335 2.355 6.546 0 3.21-.797 5.259-2.355 6.546-1.602 1.323-4.2 2.01-8.193 2.01a30.75 30.75 0 0 1-1.455-.033 2.834 2.834 0 0 0-.586.014 1.872 1.872 0 0 0-.5.154c-.184.086-.345.208-.482.311l-.036.027-2.699 2.032c-.376.283-.608.457-.786.566-.06.038-.1.058-.124.07a.1.1 0 0 1-.013-.006 1.29 1.29 0 0 1-.036-.137 12.2 12.2 0 0 1-.138-.96l-.274-2.244-.007-.057c-.024-.203-.052-.44-.13-.65a1.773 1.773 0 0 0-.282-.51c-.138-.178-.35-.35-.544-.506l-.059-.047Z" stroke="#000" stroke-width="1.811" class="line-path"/><path d="M23.041 44.53a.317.317 0 0 1-.3-.201l-.519-1.32a.204.204 0 0 0-.118-.116l-1.327-.498a.319.319 0 0 1-.005-.596l1.319-.52a.205.205 0 0 0 .116-.118l.5-1.327a.319.319 0 0 1 .595-.005l.52 1.32a.205.205 0 0 0 .117.115l1.32.496a.325.325 0 0 1 .215.306.317.317 0 0 1-.203.293l-1.318.52a.207.207 0 0 0-.117.118l-.498 1.327a.317.317 0 0 1-.297.207Z" fill="#000" opacity=".48"/></svg>\n'},36131:function(n,t){"use strict";t.A='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 60 60"><path d="m30.324 26.526-4.965-4.965a2.144 2.144 0 0 1 3.032-3.032l7.39 7.39-.387-4.277c-.148-1.631 1.182-3.011 2.82-2.98l4.332 10.644c1.098 3.143-.06 6.158-3.473 9.571-5.165 5.166-9.42 5.166-14.584 0l-7.01-7.01a2.144 2.144 0 0 1 0-3.032c.837-.837 2.062-.97 3.032 0m0 0-2.426-2.425a2.144 2.144 0 0 1 3.032-3.032l6.178 6.177-7.39-7.39a2.144 2.144 0 0 1 3.032-3.032l2.425 2.425m-4.851 7.277 3.752 3.752" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.846" class="line-path" /></svg>\n'},78911:function(n,t){"use strict";t.A='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 60 60"><path d="m41.479 41.056-5.938-5.938m-17.02-7.125c0-5.465 4.43-9.896 9.895-9.896a9.895 9.895 0 0 1 9.896 9.896c0 5.465-4.43 9.896-9.896 9.896-5.465 0-9.896-4.43-9.896-9.896Z" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="line-path" /></svg>\n'},67958:function(n,t){"use strict";t.A='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 60 60"><path d="M31.5 41.332c0 1-.5 1.5-1.5 1.5s-1.5-.5-1.5-1.5.5-1.5 1.5-1.5 1.5.5 1.5 1.5Z" fill="#000"/><path d="M22.5 24.77c0-3.57 2.188-6 7.5-6 5.313 0 7.5 2.43 7.5 6 0 6.062-7.5 4.621-7.5 11.062" stroke="#000" stroke-linecap="round" stroke-width="2" class="line-path"/></svg>\n'},44317:function(n,t){"use strict";t.A='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" preserveAspectRatio="none" aria-hidden="true">\n <path d="M60 30C60 51.25 51.25 60 30 60C8.75 60 1.99634e-09 51.25 1.99563e-09 30C1.99492e-09 8.75 8.75 0 30 0C51.25 0 60 8.75 60 30Z" />\n</svg>\n'},77356:function(n,t,e){var o=e(5328);o&&o.__esModule&&(o=o.default),n.exports="string"===typeof o?o:o.toString()},37200:function(n,t,e){var o=e(97540);o&&o.__esModule&&(o=o.default),n.exports="string"===typeof o?o:o.toString()},32607:function(n,t,e){var o=e(5267);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/"+{53:"custom-fields-body",156:"inline-articles-frame",161:"contact-team",241:"contact-form-body",275:"article",301:"previous-messages",564:"full-beacon-init",628:"container-frame",678:"ai-answers-docs-search",808:"email-form-modal",826:"chat-body",859:"ai-answers",893:"notifications",901:"full-screen-frame",934:"conversation-modal",935:"chat-footer",967:"article-feedback-footer"}[n]+"."+{53:"20f769ed",156:"6ef9f595",161:"cd9b31bb",241:"78ca9045",275:"ec00d6b4",301:"e0bb63d1",564:"5c7ee733",628:"b8f0bcac",678:"3d1c894b",808:"420e1f2c",826:"2c19483e",859:"5a8d92b7",893:"6c214856",901:"e3998f80",934:"2bf86ac6",935:"338362c5",967:"b97f0e20"}[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(p);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)},p=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={792: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,[121],(function(){return e(30818)}));o=e.O(o)}();