!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};t[i].call(r.exports,r,r.exports,n);r.l=!0;return r.exports}n.m=t;n.c=e;n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})};n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});Object.defineProperty(t,"__esModule",{value:!0})};n.t=function(t,e){1&e&&(t=n(t));if(8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);n.r(i);Object.defineProperty(i,"default",{enumerable:!0,value:t});if(2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i};n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};n.d(e,"a",e);return e};n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};n.p="//static.hsappstatic.net/content-cwv-embed/static-1.240/";n(n.s=1)}([function(t,e){t.exports={mode:"compressed",staticDomainPrefix:"//static.hsappstatic.net",bender:{depVersions:{"content-cwv-embed":"static-1.240","browserslist-config-hubspot":"static-1.33","head-dlb":"static-1.338",HeadJS:"static-2.299","hoist-non-react-statics":"static-3.9","hs-test-utils":"static-1.1164","hub-http":"static-1.617","hub-http-janus":"static-1.315","hub-http-rxjs":"static-1.293",HubStyleTokens:"static-2.4416",jasmine:"static-4.31","jasmine-runner":"static-1.129","metrics-js":"static-1.2459",msw:"static-1.28",quartz:"static-1.236",react:"static-7.96","react-dom":"static-7.62","react-redux":"static-7.16",redux:"static-4.16","redux-thunk":"static-2.11",rxjs:"static-5.10",StyleGuideUI:"static-3.315","testing-library":"static-1.61","webpack-env":"static-1.4",enviro:"static-4.116","hs-promise-rejection-tracking":"static-1.131",PortalIdParser:"static-2.110",raven:"static-3.26","raven-hubspot":"static-1.226"},depPathPrefixes:{"content-cwv-embed":"/content-cwv-embed/static-1.240","browserslist-config-hubspot":"/browserslist-config-hubspot/static-1.33","head-dlb":"/head-dlb/static-1.338",HeadJS:"/HeadJS/static-2.299","hoist-non-react-statics":"/hoist-non-react-statics/static-3.9","hs-test-utils":"/hs-test-utils/static-1.1164","hub-http":"/hub-http/static-1.617","hub-http-janus":"/hub-http-janus/static-1.315","hub-http-rxjs":"/hub-http-rxjs/static-1.293",HubStyleTokens:"/HubStyleTokens/static-2.4416",jasmine:"/jasmine/static-4.31","jasmine-runner":"/jasmine-runner/static-1.129","metrics-js":"/metrics-js/static-1.2459",msw:"/msw/static-1.28",quartz:"/quartz/static-1.236",react:"/react/static-7.96","react-dom":"/react-dom/static-7.62","react-redux":"/react-redux/static-7.16",redux:"/redux/static-4.16","redux-thunk":"/redux-thunk/static-2.11",rxjs:"/rxjs/static-5.10",StyleGuideUI:"/StyleGuideUI/static-3.315","testing-library":"/testing-library/static-1.61","webpack-env":"/webpack-env/static-1.4",enviro:"/enviro/static-4.116","hs-promise-rejection-tracking":"/hs-promise-rejection-tracking/static-1.131",PortalIdParser:"/PortalIdParser/static-2.110",raven:"/raven/static-3.26","raven-hubspot":"/raven-hubspot/static-1.226"},project:"content-cwv-embed",staticDomain:"//static.hsappstatic.net",staticDomainPrefix:"//static.hsappstatic.net"}}},function(t,e,n){"use strict";n.r(e);const i="/_hcms/perf/v2";var r=n(0);function a(){const t=navigator,e=t.connection||t.mozConnection||t.webkitConnection;return e?{type:e.type,effectiveType:e.effectiveType,downlink:e.downlink,rtt:e.rtt}:{}}let s={};function o(t){const e=t.navigationType;"navigate"!==e&&"reload"!==e||(s[t.name]=t.value)}function c(){const t=s;s={};return t}function d(){return performance.timing.toJSON()}function u(){return performance.getEntriesByType("navigation")[0]}function p(){const t=u();return{startTime:t.startTime,requestStart:t.requestStart,responseStart:t.responseStart,responseEnd:t.responseEnd,domComplete:t.domComplete,decodedBodySize:t.decodedBodySize,encodedBodySize:t.encodedBodySize}}const l=window;function m(){const t=l.hsVars;t||console.warn("Cannot collect HS CMS performance data, hsVars are missing");const e=r.bender.depVersions[r.bender.project].replace(/static-/,""),n="static"===e;return{url:location.href,portal:t.portal_id,content:t.page_id,group:t.content_group_id,ticks:t.ticks,renderId:t.render_id,embedPackageVersion:n?void 0:e}}function f(){return Object.assign({},m(),{visibleOnScriptLoad:!1})}function v(){return Object.assign({},m(),{visibleOnScriptLoad:!0,connection:a(),timing:d(),navTiming:p()})}function h(){const t=v(),e=c();e&&(t.cwv=e);return t}let g,b=!1;function y(t){const e=new XMLHttpRequest;e.open("POST",i,!0);e.setRequestHeader("Content-type","application/json");e.onreadystatechange=function(){};e.send(JSON.stringify(t));b=!0}function w(t){b=navigator.sendBeacon(i+"?viaBeacon=true",new Blob([JSON.stringify(t)],{type:"application/json"}))}function S(t){try{navigator.sendBeacon?w(t):y(t)}catch(t){console.warn("Error sending HSCMS perf data",t)}}function T(){b||S(h())}function E(){b||S(f())}function L(t){const e=()=>{if("hidden"===document.visibilityState){t();removeEventListener("visibilitychange",e,!0)}};addEventListener("visibilitychange",e,!0);addEventListener("pagehide",t,{capture:!0,once:!0});g=()=>{removeEventListener("visibilitychange",e,!0);removeEventListener("pagehide",t,{capture:!0})}}function j(){L(T)}function _(){L(E)}let P=-1;const x=()=>P,k=t=>{addEventListener("pageshow",e=>{if(e.persisted){P=e.timeStamp;t(e)}},!0)},C=()=>`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,O=()=>{const t=performance.timing,e=performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==e?"back_forward":1===e?"reload":"navigate"};for(const e in t)"navigationStart"!==e&&"toJSON"!==e&&(n[e]=Math.max(t[e]-t.navigationStart,0));return n},I=()=>window.__WEB_VITALS_POLYFILL__?window.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||O()):window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],B=()=>{const t=I();return t&&t.activationStart||0},A=(t,e)=>{const n=I();let i="navigate";x()>=0?i="back-forward-cache":n&&(i=document.prerendering||B()>0?"prerender":document.wasDiscarded?"restore":n.type.replace(/_/g,"-"));return{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:C(),navigationType:i}},H=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const i=new PerformanceObserver(t=>{Promise.resolve().then(()=>{e(t.getEntries())})});i.observe(Object.assign({type:t,buffered:!0},n||{}));return i}}catch(t){}},F=(t,e)=>t>e[1]?"poor":t>e[0]?"needs-improvement":"good",M=(t,e,n,i)=>{let r,a;return s=>{if(e.value>=0&&(s||i)){a=e.value-(r||0);if(a||void 0===r){r=e.value;e.delta=a;e.rating=F(e.value,n);t(e)}}}},V=t=>{requestAnimationFrame(()=>requestAnimationFrame(()=>t()))},D=t=>{const e=e=>{"pagehide"!==e.type&&"hidden"!==document.visibilityState||t(e)};addEventListener("visibilitychange",e,!0);addEventListener("pagehide",e,!0)},q=t=>{let e=!1;return n=>{if(!e){t(n);e=!0}}};let z=-1;const J=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,R=t=>{if("hidden"===document.visibilityState&&z>-1){z="visibilitychange"===t.type?t.timeStamp:0;N()}},G=()=>{addEventListener("visibilitychange",R,!0);addEventListener("prerenderingchange",R,!0)},N=()=>{removeEventListener("visibilitychange",R,!0);removeEventListener("prerenderingchange",R,!0)},U=()=>{if(z<0){if(window.__WEB_VITALS_POLYFILL__){z=window.webVitals.firstHiddenTime;z===1/0&&G()}else{z=J();G()}k(()=>{setTimeout(()=>{z=J();G()},0)})}return{get firstHiddenTime(){return z}}},W=t=>{document.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()},Y=(t,e)=>{e=e||{};W(()=>{const n=[1800,3e3],i=U();let r,a=A("FCP");const s=H("paint",t=>{t.forEach(t=>{if("first-contentful-paint"===t.name){s.disconnect();if(t.startTime{a=A("FCP");r=M(t,a,n,e.reportAllChanges);V(()=>{a.value=performance.now()-i.timeStamp;r(!0)})})}})},$=(t,e)=>{e=e||{};Y(q(()=>{const n=[.1,.25];let i,r=A("CLS",0),a=0,s=[];const o=t=>{t.forEach(t=>{if(!t.hadRecentInput){const e=s[0],n=s[s.length-1];if(a&&t.startTime-n.startTime<1e3&&t.startTime-e.startTime<5e3){a+=t.value;s.push(t)}else{a=t.value;s=[t]}}});if(a>r.value){r.value=a;r.entries=s;i()}},c=H("layout-shift",o);if(c){i=M(t,r,n,e.reportAllChanges);D(()=>{o(c.takeRecords());i(!0)});k(()=>{a=0;r=A("CLS",0);i=M(t,r,n,e.reportAllChanges);V(()=>i())});setTimeout(i,0)}}))};let X,K,Q,Z;const tt={passive:!0,capture:!0},et=new Date,nt=t=>{Z.push(t);at()},it=()=>{Z=[];K=-1;X=null;ct(addEventListener)},rt=(t,e)=>{if(!X){X=e;K=t;Q=new Date;ct(removeEventListener);at()}},at=()=>{if(K>=0&&K{const n=()=>{rt(t,e);r()},i=()=>{r()},r=()=>{removeEventListener("pointerup",n,tt);removeEventListener("pointercancel",i,tt)};addEventListener("pointerup",n,tt);addEventListener("pointercancel",i,tt)},ot=t=>{if(t.cancelable){const e=(t.timeStamp>1e12?new Date:performance.now())-t.timeStamp;"pointerdown"==t.type?st(e,t):rt(e,t)}},ct=t=>{["mousedown","keydown","touchstart","pointerdown"].forEach(e=>t(e,ot,tt))},dt=(t,e)=>{e=e||{};W(()=>{const n=[100,300],i=U();let r,a=A("FID");const s=t=>{if(t.startTime{t.forEach(s)},c=H("first-input",o);r=M(t,a,n,e.reportAllChanges);c&&D(q(()=>{o(c.takeRecords());c.disconnect()}));if(window.__WEB_VITALS_POLYFILL__){console.warn('The web-vitals "base+polyfill" build is deprecated. See: https://bit.ly/3aqzsGm');c||window.webVitals.firstInputPolyfill(s);k(()=>{a=A("FID");r=M(t,a,n,e.reportAllChanges);window.webVitals.resetFirstInputPolyfill();window.webVitals.firstInputPolyfill(s)})}else c&&k(()=>{a=A("FID");r=M(t,a,n,e.reportAllChanges);it();nt(s)})})};const ut={},pt=(t,e)=>{e=e||{};W(()=>{const n=[2500,4e3],i=U();let r,a=A("LCP");const s=t=>{const e=t[t.length-1];if(e){const t=Math.max(e.startTime-B(),0);if(t{if(!ut[a.id]){s(o.takeRecords());o.disconnect();ut[a.id]=!0;r(!0)}});["keydown","click"].forEach(t=>{addEventListener(t,i,!0)});D(i);k(i=>{a=A("LCP");r=M(t,a,n,e.reportAllChanges);V(()=>{a.value=performance.now()-i.timeStamp;ut[a.id]=!0;r(!0)})})}})},lt=t=>{document.prerendering?W(()=>lt(t)):"complete"!==document.readyState?addEventListener("load",()=>lt(t),!0):setTimeout(t,0)},mt=(t,e)=>{e=e||{};const n=[800,1800];let i=A("TTFB"),r=M(t,i,n,e.reportAllChanges);lt(()=>{const a=I();if(a){const s=a.responseStart;if(s<=0||s>performance.now())return;i.value=Math.max(s-B(),0);i.entries=[a];r(!0);k(()=>{i=A("TTFB",0);r=M(t,i,n,e.reportAllChanges);r(!0)})}})};function ft(){if("hidden"!==document.visibilityState){$(o,{reportAllChanges:!0});dt(o);Y(o);pt(o);mt(o);j()}else _()}ft()}]);