PageSourceSearch

https://www.rula.com/rula-marketing-website/_next/static/chunks/8994-6bdfa5140cdbef3d.js

js rula.com collected 2026-10-01 13:04:12 UTC 52,737 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8994],{1701:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(19998),a=r(7150),o=r(97943),s=r.n(o),l=r(49480),i=r(33148),c=r(28435),d=r(98118),_=r(14451);let u=["rula.com","martech.pathapplication.com","service.pathinternal","preview.pathinternal"];function p(e){var t;let{href:r,children:o,trackingLabel:p,trackOnly:m=!1,prefetch:y=!1,onClick:h,...g}=e,v=(t=g.target,"_blank"===t&&null!==r&&""!==r),f=(r.startsWith("http://")||r.startsWith("https://"))&&!u.some(e=>r.includes(e)),b=r.startsWith("#"),k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Promise(r=>{(0,d.s)(_.m,e),setTimeout(r,t)})},x=e=>{let t;if(b){let t=r.replace("#","");(0,c.A)(e,t)}let n=(0,i.EW)(r),s=(e=>{let t=(0,i.EW)(r);return{href:b?"".concat(window.location.origin).concat(window.location.pathname).concat(r):r,text:function(e){let t="",r=e=>{"string"==typeof e||"number"==typeof e?t+=String(e):Array.isArray(e)?e.forEach(r):(0,a.isValidElement)(e)&&r(e.props.children)};return r(e),t}(o),id:p,hash:b?r:void 0,hostname:t,trigger:e}})(t=f&&n!==window.location.hostname?l.Trigger.OUTBOUND_LINK_CLICKED:b?l.Trigger.ANCHOR_LINK_CLICKED:l.Trigger.INTERNAL_LINK_CLICKED),d={eventName:{prefix:l.EventPrefix.MARKETING_SITE,trigger:t},properties:{...s}};!f||n===window.location.hostname||v||e.ctrlKey||e.shiftKey||e.metaKey||"number"==typeof e.button&&1===e.button?k(d):(e.preventDefault(),k(d,300).then(()=>{window.location.href=r})),h&&h(e)};return m?(0,a.isValidElement)(o)?(0,a.cloneElement)(o,{onClick:e=>{x(e),o.props.onClick&&o.props.onClick(e)}}):o:f||b||v?(0,n.jsx)("a",{href:r,onClick:x,...g,children:o}):(0,n.jsx)(s(),{href:r,onClick:x,prefetch:y,...g,children:o})}},3286:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n,a=r(7150);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let s=function(e){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:10,height:6,fill:"none"},e),n||(n=a.createElement("path",{stroke:"#1D1733",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9 5 5 1 1 5"})))}},6852:(e,t,r)=>{"use strict";r.d(t,{i:()=>l,n:()=>s});var n=r(98118),a=r(14451),o=r(12264);let s=()=>{{let e=document.createElement("script");e.type="text/javascript",e.async=!0,e.innerHTML='\n  (function(c,a){if(!a.__SV){var b=window;try{var d,m,j,k=b.location,f=k.hash;d=function(a,b){return(m=a.match(RegExp(b+"=([^&]*)")))?m[1]:null};f&&d(f,"fpState")&&(j=JSON.parse(decodeURIComponent(d(f,"fpState"))),"fpeditor"===j.action&&(b.sessionStorage.setItem("_fpcehash",f),history.replaceState(j.desiredHash||"",c.title,k.pathname+k.search)))}catch(n){}var l,h;window.freshpaint=a;a._i=[];a.init=function(b,d,g){function c(b,i){var a=i.split(".");2==a.length&&(b=b[a[0]],i=a[1]);b[i]=function(){b.push([i].concat(Array.prototype.slice.call(arguments,\n    0)))}}var e=a;"undefined"!==typeof g?e=a[g]=[]:g="freshpaint";e.people=e.people||[];e.toString=function(b){var a="freshpaint";"freshpaint"!==g&&(a+="."+g);b||(a+=" (stub)");return a};e.people.toString=function(){return e.toString(1)+".people (stub)"};l="disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove people group page alias ready addEventProperties addInitialEventProperties removeEventProperty addPageviewProperties".split(" ");\n    for(h=0;h<l.length;h++)c(e,l[h]);var f="set set_once union unset remove delete".split(" ");e.get_group=function(){function a(c){b[c]=function(){call2_args=arguments;call2=[c].concat(Array.prototype.slice.call(call2_args,0));e.push([d,call2])}}for(var b={},d=["get_group"].concat(Array.prototype.slice.call(arguments,0)),c=0;c<f.length;c++)a(f[c]);return b};a._i.push([b,d,g])};a.__SV=1.4;b=c.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof FRESHPAINT_CUSTOM_LIB_URL?\n    FRESHPAINT_CUSTOM_LIB_URL:"//perfalytics.com/static/js/freshpaint.js";(d=c.getElementsByTagName("script")[0])?d.parentNode.insertBefore(b,d):c.head.appendChild(b)}})(document,window.freshpaint||[]);\n    freshpaint.init("dc7a334a-3a92-4483-84a1-4b54e2433b73");\n    freshpaint.page();\n  ',document.head.appendChild(e)}};function l(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if((0,o.Wp)())if("freshpaint"in window)try{let n=window.freshpaint;s&&n.track(e,r),t=n.user().anonymousId()}catch(e){console.error("Error sending event to Freshpaint: ",e)}else console.error("freshpaint not found");(0,n.s)(a.m,{eventName:e,properties:{...r,freshpaintDeviceId:t}})}},10617:e=>{e.exports={menuGroupIcon:"styles_menuGroupIcon__jfViQ",menuGroupTitle:"styles_menuGroupTitle__hZBHL",withIcon:"styles_withIcon__7hsSa",menuGroupTitleIcon:"styles_menuGroupTitleIcon__JRcIn",openGroup:"styles_openGroup__LlfQj",menuGroupTitleText:"styles_menuGroupTitleText__mUtkd",menuGroupItemsWrapper:"styles_menuGroupItemsWrapper__ix9q7",hidden:"styles_hidden__uHK_W",menuGroupLink:"styles_menuGroupLink__Jaq2_"}},12264:(e,t,r)=>{"use strict";r.d(t,{AN:()=>o,Rw:()=>i,SX:()=>a,Wp:()=>c,Xf:()=>n,pG:()=>s});let n="bigidcmp:widget_ready",a="bigidcmp:consent_set";function o(){var e,t;if(null==(e=window.bigidcmp)?void 0:e.getConsent)try{let e=window.bigidcmp.getConsent();return"boolean"==typeof(null==e||null==(t=e.marketing)?void 0:t.value)}catch(e){console.error("Error reading bigidcmp consent:",e)}return!1}function s(){var e,t,r,n,a;if(null==(e=window.bigidcmp)?void 0:e.getConsent)try{let e=window.bigidcmp.getConsent();return{necessary:null==e||null==(t=e.necessary)?void 0:t.value,preferences:null==e||null==(r=e.preferences)?void 0:r.value,statistics:null==e||null==(n=e.statistics)?void 0:n.value,marketing:null==e||null==(a=e.marketing)?void 0:a.value}}catch(e){console.error("Error reading bigidcmp consent:",e)}return l()}function l(){let e=document.cookie.split(";").map(e=>e.trim()).find(e=>e.startsWith("bigidcmp-consent"));if(!e)return{};let t=e.split("=").slice(1).join("="),r=t.match(/(?:^|\|)necessary=(true|false)(?:\||$)/),n=t.match(/(?:^|\|)preferences=(true|false)(?:\||$)/),a=t.match(/(?:^|\|)statistics=(true|false)(?:\||$)/),o=t.match(/(?:^|\|)marketing=(true|false)(?:\||$)/);return{necessary:!r||"true"===r[1],preferences:n?"true"===n[1]:void 0,statistics:a?"true"===a[1]:void 0,marketing:o?"true"===o[1]:void 0}}function i(){let e=l();return"boolean"!=typeof e.marketing||e.marketing}function c(){var e,t;if(null==(e=window.bigidcmp)?void 0:e.getConsent)try{let e=window.bigidcmp.getConsent();if("boolean"==typeof(null==e||null==(t=e.marketing)?void 0:t.value))return e.marketing.value}catch(e){console.error("Error reading bigidcmp consent:",e)}return i()}},14072:e=>{e.exports={btn:"styles_btn__knjXl",ctaIcon:"styles_ctaIcon__qWccj",icon:"styles_icon__GqLdD",primary:"styles_primary__v0uQs",sky:"styles_sky__M0mZU",secondary:"styles_secondary__H2WDm",link:"styles_link__dUuou","link-dark":"styles_link-dark__2EuvI",light:"styles_light__WgAaQ",tertiary:"styles_tertiary__lpLSd",condensed:"styles_condensed__mwTor",large:"styles_large__2GPMT",ghost:"styles_ghost__6_icg",black:"styles_black__Aa5E_",skyVariant:"styles_skyVariant__BVOSO",fernVariant:"styles_fernVariant__YKGZ_",darkVariant:"styles_darkVariant__TMOtj",rebrandOceanVariant:"styles_rebrandOceanVariant__LnBSb",rebrandVioletVariant:"styles_rebrandVioletVariant__vB04E"}},14451:(e,t,r)=>{"use strict";r.d(t,{m:()=>l});var n=r(49480),a=r(17857),o=r(77275),s=r(79359);let l=new a.RulaSegmentAdapter({apiKey:s.PI.segmentBrowserKey,productArea:n.ProductArea.MARKETING_SITE,userType:n.UserType.PATIENT,pluginsEnabled:{prefetchContext:!0,freshpaintPlugins:!0}}),i=new o.A;l.enableAmplitudeSessionReplay(s.PI.amplitudeApiKey,i).catch(e=>{console.error("XXXX ERROR REPLAY XXXXX",e)})},15029:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n,a=r(7150);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
1).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let s=function(e){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:14,height:15,fill:"none"},e),n||(n=a.createElement("path",{stroke:"#1D1733",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m13 1.5-12 12m0-12 12 12"})))}},16918:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FOOTER_VARIANTS:()=>z,default:()=>q});var n,a,o,s,l,i,c=r(19998),d=r(7150),_=r(77362),u=r.n(_),p=r(9873),m=r(71537),y=r(74003),h=r(51676),g=r(36093),v=r(1701),f=r(80060),b=r.n(f);function k(e){var t;let{section:r}=e;return(0,c.jsx)("div",{className:b().socialLinks,children:null==(t=r.socialLink)?void 0:t.map(e=>e.image.filename?(0,c.jsx)("div",{className:b().socialLink,children:(0,c.jsx)(v.default,{className:b().primaryLink,href:(0,g.A)(e.link),"aria-label":e.name||e.image.alt||"Social link",children:(0,c.jsx)(y.default,{className:b().rulaLogo,...(0,h.jW)(e.image,20,20)})})},e.name):null)})}function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let w=function(e){return d.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 14"},e),n||(n=d.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M7.4 12.8h6.8l3.1-11.6H7.4C4.2 1.2 1.6 3.8 1.6 7s2.6 5.8 5.8 5.8",clipRule:"evenodd"})),a||(a=d.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M22.6 0H7.4c-3.9 0-7 3.1-7 7s3.1 7 7 7h15.2c3.9 0 7-3.1 7-7s-3.2-7-7-7m-21 7c0-3.2 2.6-5.8 5.8-5.8h9.9l-3.1 11.6H7.4c-3.2 0-5.8-2.6-5.8-5.8",clipRule:"evenodd"})),o||(o=d.createElement("path",{fill:"#fff",d:"M24.6 4c.2.2.2.6 0 .8L22.5 7l2.2 2.2c.2.2.2.6 0 .8s-.6.2-.8 0l-2.2-2.2-2.2 2.2c-.2.2-.6.2-.8 0s-.2-.6 0-.8L20.8 7l-2.2-2.2c-.2-.2-.2-.6 0-.8s.6-.2.8 0l2.2 2.2L23.8 4c.2-.2.6-.2.8 0"})),s||(s=d.createElement("path",{fill:"currentColor",d:"M12.7 4.1c.2.2.3.6.1.8L8.6 9.8c-.1.1-.2.2-.3.2-.2.1-.5.1-.7-.1L5.4 7.7c-.2-.2-.2-.6 0-.8s.6-.2.8 0L8 8.6l3.8-4.5c.2-.2.6-.2.9 0"})))};var j=r(89540),N=r.n(j);function C(){return(0,c.jsxs)("button",{type:"button",className:N().privacyChoices,onClick:()=>{var e,t;return null==(t=window.bigidcmp)||null==(e=t.showWidget)?void 0:e.call(t)},children:[(0,c.jsx)(w,{"aria-hidden":"true",className:N().icon}),"Your Privacy Choices"]})}var L=r(69721),T=r.n(L);function E(e){var t;let{section:r}=e;return(0,c.jsxs)("div",{className:T().legal,children:[(0,c.jsx)("p",{className:T().legalText,children:(null==r?void 0:r.leftText)||""}),(0,c.jsx)("div",{className:T().legalLinks,children:null==r||null==(t=r.legalLinks)?void 0:t.map(e=>(0,c.jsx)(v.default,{href:(0,g.A)(e.link),children:e.text},e._uid))})]})}var I=r(62964),S=r.n(I);function W(e){var t;let{section:r}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:S().footerSection,children:[(0,c.jsx)("h2",{children:r.helpTitle}),(0,c.jsx)("div",{className:S().helpWrapper,children:(0,c.jsxs)("div",{className:S().helpSection,children:[(0,c.jsx)("p",{className:S().helpTitle,children:r.helpSubtitle}),null==(t=r.helpText)?void 0:t.map(e=>(0,c.jsx)("p",{className:S().helpText,children:e.text},e._uid))]})})]}),(0,c.jsx)("hr",{className:S().footerDivider})]})}function D(){return(D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let M=function(e){return d.createElement("svg",D({xmlns:"http://www.w3.org/2000/svg",width:18,height:12,fill:"none"},e),l||(l=d.createElement("path",{stroke:"#E0E2E6",strokeLinecap:"round",strokeWidth:2,d:"m1 10.155 8-8 8 8"})))};function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let O=function(e){return d.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",width:18,height:11,fill:"none"},e),i||(i=d.createElement("path",{stroke:"#E0E2E6",strokeLinecap:"round",strokeWidth:2,d:"m17 1.155-8 8-8-8"})))};function R(e){let{href:t,text:r,hidden:n,tabIndex:a}=e;return(0,c.jsx)(v.default,{href:t,tabIndex:a,style:n?{display:"none"}:void 0,children:r})}var P=r(94993),B=r.n(P);function G(e){let{title:t,items:r,isTopSection:n,styles:a}=e,[o,s]=(0,d.useState)(!1),[l,i]=(0,d.useState)(!1),_=r.length>5&&!n;return(0,c.jsxs)("div",{className:a.footerCategoryMobile,"data-cy":"footer-category-mobile",children:[(0,c.jsxs)("button",{type:"button",className:a.categoryDropdownToggle,onClick:()=>s(e=>!e),"aria-expanded":o,"aria-label":"".concat(t," links"),children:[(0,c.jsx)("p",{className:a.footerCategoryTitle,children:t}),o?(0,c.jsx)(M,{}):(0,c.jsx)(O,{})]}),(0,c.jsxs)("div",{className:u()(a.footerCategoryItems,{[B().expanded]:o,[B().collapsed]:!o}),"aria-hidden":!o,children:[r.map((e,t)=>(0,c.jsx)(R,{href:(0,g.A)(e.link),text:e.text||"",tabIndex:o?0:-1,hidden:!n&&!l&&t>=5},e._uid)),_&&(0,c.jsx)("button",{type:"button",className:a.footerCategoryShowMore,onClick:()=>i(e=>!e),"data-cy":"footer-category-mobile-show-more",tabIndex:o?0:-1,children:l?"Show less":"Show more"})]})]})}var K=r(64831),H=r.n(K);function F(e){let{title:t,items:r,isTopSection:n}=e,[a,o]=(0,d.useState)(!1),s=r.length>5&&!n;return(0,c.jsxs)("div",{className:H().footerCategory,"data-cy":"footer-category",children:[(0,c.jsx)("p",{className:H().footerCategoryTitle,children:t}),(0,c.jsxs)("div",{className:H().footerCategoryItems,children:[r.map((e,t)=>(0,c.jsx)(R,{href:(0,g.A)(e.link),text:e.text||"",hidden:!n&&!a&&t>=5},e._uid)),s&&(0,c.jsx)("p",{className:H().footerCategoryShowMore,onClick:()=>o(e=>!e),onKeyDown:()=>o(e=>!e),"data-cy":"footer-category-show-more",children:a?"Show less":"Show more"})]})]})}var V=r(80554),U=r.n(V);function J(e){var t;let{section:r,isTopSection:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{"data-cy":"footer-section",className:u()(U().footerSection,{[U().topFooterSection]:n}),children:[(null==r?void 0:r.label)&&(0,c.jsx)("h2",{className:U().sectionHeading,children:r.label}),(0,c.jsx)("div",{"data-cy":"".concat(n?"top":"bottom","-footer-category"),className:U().categoryContainer,children:null==r||null==(t=r.items)?void 0:t.map(e=>(0,c.jsxs)("div",{children:[(0,c.jsx)(F,{title:e.label||"",items:e.footerLinks||[],isTopSection:n}),(0,c.jsx)(G,{styles:U(),title:e.label||"",items:e.footerLinks||[],isTopSection:n})]},e._uid))})]}
1),(0,c.jsx)("hr",{className:U().footerDivider})]})}var X=r(49602),Y=r.n(X);let z={DEFAULT:"default",REBRAND:"rebrand"};function q(e){var t,r,n,a,o,s,l,i,d;let{blok:_}=e,y=null!=(d=_.content)?d:_,h=y.variant===z.REBRAND;return(0,c.jsx)("div",{...(0,p.K1)(y),className:u()(Y().rulaFooterWrapper,h&&Y().rebrand),"data-cy":"footer",children:(0,c.jsxs)("div",{className:Y().rulaFooter,children:[(0,c.jsxs)("div",{className:Y().footerHeader,children:[(null==(t=y.emailCapture)?void 0:t[0])&&(0,c.jsx)(m.default,{blok:y.emailCapture[0],variant:"footer"}),(null==(r=y.socialLinks)?void 0:r[0])&&(0,c.jsx)(k,{section:y.socialLinks[0]})]}),(null==(n=y.footerTopSection)?void 0:n[0])&&(0,c.jsx)(J,{section:y.footerTopSection[0],isTopSection:!0}),(null==(a=y.footerBottomSection)?void 0:a[0])&&(0,c.jsx)(J,{section:y.footerBottomSection[0],isTopSection:!1}),(0,c.jsxs)("div",{className:Y().bottomEmailCapture,"data-cy":"bottom-email-capture",children:[(null==(o=y.emailCapture)?void 0:o[0])&&(0,c.jsx)("section",{className:Y().bottemEmailCaptureSection,children:(0,c.jsx)(m.default,{blok:y.emailCapture[0],variant:"footer"})}),(0,c.jsx)("hr",{className:Y().footerDivider})]}),(null==(s=y.helpSection)?void 0:s[0])&&(0,c.jsx)(W,{section:y.helpSection[0]}),(0,c.jsx)("div",{className:Y().bottomSocials,"data-cy":"bottom-socials",children:(null==(l=y.socialLinks)?void 0:l[0])&&(0,c.jsx)(k,{section:y.socialLinks[0]})}),(0,c.jsx)(C,{}),(null==(i=y.legalSection)?void 0:i[0])&&(0,c.jsx)(E,{section:y.legalSection[0]})]})})}},26576:e=>{e.exports={mobileNav:"styles_mobileNav__Tkgb_",expanded:"styles_expanded__ATIXD",closed:"styles_closed__hd5jX",mobileCta:"styles_mobileCta__P_xAO",variantRebrand:"styles_variantRebrand__odVh9",mobileNavItems:"styles_mobileNavItems__jIXvA",toggle:"styles_toggle__3fH8J",mobileLink:"styles_mobileLink__uRAGu",primaryLink:"styles_primaryLink__e8C3x",secondaryLink:"styles_secondaryLink__YTgus",open:"styles_open__9vETw",mobileLinkBottom:"styles_mobileLinkBottom__7yc8d",mobileDropdownTrigger:"styles_mobileDropdownTrigger__RlFKZ",mobileDropdownWrapper:"styles_mobileDropdownWrapper__rhH_P",collapsed:"styles_collapsed__7I775",iconWrapper:"styles_iconWrapper__izg6B",chevron:"styles_chevron__nIfTC",rotated:"styles_rotated__6NYk9",mainItemsWrapper:"styles_mainItemsWrapper__MZ_GJ",secondaryItemsWrapper:"styles_secondaryItemsWrapper__ltaAF",mobileSecondaryItemsSeparator:"styles_mobileSecondaryItemsSeparator__DVR5D",secondaryItemsLabel:"styles_secondaryItemsLabel__al0Wl",promoted:"styles_promoted__d9F2O"}},27671:e=>{e.exports={emailCapture:"styles_emailCapture__DU95z",thankYouContainer:"styles_thankYouContainer___MS4F",primaryHeader:"styles_primaryHeader__buNf_",downloadButton:"styles_downloadButton__K5rU4",callToActionWrapper:"styles_callToActionWrapper__0PC1S",ecImage:"styles_ecImage__D6_WA",secondaryHeader:"styles_secondaryHeader__mcFhM",emailFormWrapper:"styles_emailFormWrapper__L8moe",emailInputCol:"styles_emailInputCol__Rmn_k",errorMessage:"styles_errorMessage__8sDmz",emailInputRow:"styles_emailInputRow__QGgE0",checkmarkIcon:"styles_checkmarkIcon__eIj7N",circle:"styles_circle__F6WYC",check:"styles_check__vs79R",animate:"styles_animate__yIwxy",bounceIn:"styles_bounceIn__JlIco",emailInput:"styles_emailInput__6fuly",acceptTermsRow:"styles_acceptTermsRow__EBBq5",rulaCheckbox:"styles_rulaCheckbox__YD6Fe",consentText:"styles_consentText__hfh_x",sidebar:"styles_sidebar__OSU_7",footer:"styles_footer__OC1cL",amethist:"styles_amethist__It6Tx",subscribe:"styles_subscribe__2HuR_",sky:"styles_sky__xisiI",amber:"styles_amber__rMMWg",fern:"styles_fern__91kw1",yellow:"styles_yellow__fQRbG",hasBackgroundColor:"styles_hasBackgroundColor__EtI_7",emailCaptureDownload:"styles_emailCaptureDownload__sUutE",emailCaptureLink:"styles_emailCaptureLink__PbRdi",emailCaptureDownloadButton:"styles_emailCaptureDownloadButton__ox3fo",subscribeButton:"styles_subscribeButton__h9Zqg","bounce-in":"styles_bounce-in__PG8rN",hero:"styles_hero___59f7",threeAmTherapyEmail:"styles_threeAmTherapyEmail__wPTq_",mhamEmail:"styles_mhamEmail__OW_5q",emailCaptureMobile:"styles_emailCaptureMobile___lWCH",threeAmPrimaryHeader:"styles_threeAmPrimaryHeader__L1Ofc"}},28435:(e,t,r)=>{"use strict";function n(e,t){e.preventDefault();let r=document.getElementById(t);if(r){let e=r.getBoundingClientRect().top+window.scrollY-80;window.scrollTo({top:e,behavior:"smooth"})}}r.d(t,{A:()=>n})},33148:(e,t,r)=>{"use strict";function n(e){try{if(e.startsWith("/")||e.startsWith("#")||!e.includes("://"))return window.location.hostname;return new URL(e).hostname}catch(e){return null}}r.d(t,{EW:()=>n,vJ:()=>
1o});let a=new Set(["http:","https:","mailto:","tel:"]);function o(e){let t=e.trim();if(""===t||t.startsWith("/")||t.startsWith("#"))return!0;try{let{protocol:e}=new URL(t,"http://localhost");return a.has(e)}catch(e){return!1}}},36093:(e,t,r)=>{"use strict";function n(e){let t=(null==e?void 0:e.url)||(null==e?void 0:e.cached_url);return t?((null==e?void 0:e.linktype)!=="story"||t.startsWith("/")||(t="/".concat(t)),t.endsWith("?preview=true")&&(t=t.replace("?preview=true","")),t.includes("%20")&&(t=t.replace(/%20/g,"")),t):"#"}r.d(t,{A:()=>n})},37193:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n,a,o=r(7150);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 21 20"},e),n||(n=o.createElement("g",{clipPath:"url(#arrow-narrow-right_svg__a)"},o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.667,d:"M.188 10H13.52m0 0-5-5m5 5-5 5"}))),a||(a=o.createElement("defs",null,o.createElement("clipPath",{id:"arrow-narrow-right_svg__a"},o.createElement("path",{fill:"#fff",d:"M.667 0h20v20h-20z"})))))}},39328:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(19998),a=r(9873),o=r(36093),s=r(1701);function l(e){let{blok:t,className:r}=e;return(0,n.jsx)("section",{...(0,a.K1)(t),children:(0,n.jsx)(s.default,{href:(0,o.A)(t.link),className:r,children:t.name})})}},44183:(e,t,r)=>{"use strict";r.d(t,{default:()=>m});var n=r(19998),a=r(7150),o=r(74003),s=r(77362),l=r.n(s),i=r(9873),c=r(19607),d=r(51676),_=r(39328),u=r(10617),p=r.n(u);function m(e){var t,r;let{blok:s,iconSize:u,iconWrapperClassName:m}=e,[y,h]=(0,a.useState)(!1),g=(0,a.useCallback)(()=>{h(!y)},[y]),v=(null==(t=s.icon)?void 0:t.filename)&&u;return(0,n.jsxs)("section",{...(0,i.K1)(s),className:p().menuGroup,children:[(0,n.jsxs)("button",{className:l()(p().menuGroupTitle,{[p().openGroup]:y,[p().withIcon]:v}),onClick:g,type:"button",children:[(0,n.jsxs)("div",{className:p().menuGroupTitleText,children:[s.icon&&v&&(0,n.jsx)("div",{className:l()(p().menuGroupIcon,m),"aria-hidden":"true",children:(0,n.jsx)(o.default,{...(0,d.jW)(s.icon,u,u)})}),s.title]}),(0,n.jsx)(c.Ay,{icon:"ChevronDown",className:p().menuGroupTitleIcon})]}),(0,n.jsx)("div",{className:l()(p().menuGroupItemsWrapper,{[p().hidden]:!y}),children:null==(r=s.links)?void 0:r.map(e=>(0,n.jsx)(_.A,{blok:e,className:p().menuGroupLink},e._uid))})]})}},49602:e=>{e.exports={rulaFooterWrapper:"styles_rulaFooterWrapper__Jz0gc",rebrand:"styles_rebrand__eGAob",rulaFooter:"styles_rulaFooter__EjMtY",footerHeader:"styles_footerHeader__T8K_2",footerDivider:"styles_footerDivider__64HKc",bottomEmailCapture:"styles_bottom
1EmailCapture__yNmVA",bottemEmailCaptureSection:"styles_bottemEmailCaptureSection__AIhUs",emailCapture:"styles_emailCapture__OLD6Y",bottomSocials:"styles_bottomSocials__AS03D"}},49849:e=>{e.exports={buttonsContainer:"styles_buttonsContainer__sVYxW",navDropdownTrigger:"styles_navDropdownTrigger__U5AxN",chevron:"styles_chevron__R0q00",toggle:"styles_toggle__gVVni",selected:"styles_selected__w9qax",variantRebrand:"styles_variantRebrand__v1LwA",primaryLink:"styles_primaryLink__vYHN8",secondaryLabel:"styles_secondaryLabel__eMrPO",secondaryLink:"styles_secondaryLink__vbgTU",navDropdown:"styles_navDropdown__FTRJJ",open:"styles_open__d_4_4",closed:"styles_closed__moUgZ",navDropdownMainLinksWrapper:"styles_navDropdownMainLinksWrapper__t5ixT",iconWrapper:"styles_iconWrapper__cQAsY",navDropdownSecondaryLinksWrapper:"styles_navDropdownSecondaryLinksWrapper__Py4nZ",promoted:"styles_promoted__hjGiW"}},51676:(e,t,r)=>{"use strict";function n(e){var t;if((null==e?void 0:e.width)&&(null==e?void 0:e.height))return{width:e.width,height:e.height};let r=null==e||null==(t=e.filename)?void 0:t.match(/\/(\d+)x(\d+)\//);if(r)return{width:Number(r[1]),height:Number(r[2])}}function a(e,t,r,n){let a=(null==n?void 0:n.resize)?e&&e.filename?t&&r&&e.filename.includes("//a.storyblok.com")?"".concat(e.filename,"/m/").concat(t,"x").concat(r):e.filename:"":e.filename||"",o=e.alt||"",s=t||e.width||800,l=r||e.height||s;return{src:a,alt:o,width:s,height:l}}r.d(t,{B9:()=>n,jW:()=>a})},53071:e=>{e.exports={rulaNavContainer:"styles_rulaNavContainer__JbZXB",hideBottomBorder:"styles_hideBottomBorder__OH2Cf",imageWrapper:"styles_imageWrapper__SAZrB",rulaButton:"styles_rulaButton__e9DRT",rulaLogo:"styles_rulaLogo__WvIVv",rebrand:"styles_rebrand__0tpbp",primaryLink:"styles_primaryLink__IbocT",linksContainer:"styles_linksContainer__wS5fg",navDropdownTrigger:"styles_navDropdownTrigger__OJeXI",chevron:"styles_chevron__3xRNc",login:"styles_login__qQYfm",toggle:"styles_toggle__qwRkJ",selected:"styles_selected__aJoJV",navDropdown:"styles_navDropdown__vRyXH",mount:"styles_mount__TGkSO",inAnimation:"styles_inAnimation__Ls9tA",unmount:"styles_unmount__gkFGC",outAnimation:"styles_outAnimation__0jIqk",navDropdownMainLinksWrapper:"styles_navDropdownMainLinksWrapper__yBQK5",iconWrapper:"styles_iconWrapper__fcUni",navDropdownSecondaryLinksWrapper:"styles_navDropdownSecondaryLinksWrapper__1bKNT",secondaryLabel:"styles_secondaryLabel__cU5a0",secondaryLink:"styles_secondaryLink__B5aQp",buttonsContainer:"styles_buttonsContainer__wR_vt",mobileNavControls:"styles_mobileNavControls__G6CzJ",hidden:"styles_hidden__ZvhEQ",mobileNav:"styles_mobileNav__H4SyB",expanded:"styles_expanded__5ONOk",closed:"styles_closed__n_Cyy",mobileCta:"styles_mobileCta__kgrRN",mobileNavItems:"styles_mobileNavItems__P9bIK",open:"styles_open__zzU_6",mobileLink:"styles_mobileLink__uRG3t",mobileLinkBottom:"styles_mobileLinkBottom__oln8O",mobileDropdownTrigger:"styles_mobileDropdownTrigger__CPRj6",mobileDropdownWrapper:"styles_mobileDropdownWrapper__yVnA7",mainItemsWrapper:"styles_mainItemsWrapper__m_3SJ",linkWrapper:"styles_linkWrapper__kEQN6",secondaryItemsWrapper:"styles_secondaryItemsWrapper__GQs8w",mobileSecondaryItemsSeparator:"styles_mobileSecondaryItemsSeparator__L2f3n",secondaryItemsLabel:"styles_secondaryItemsLabel__r4Djs",simplified:"styles_simplified__F_hWW"}},57265:e=>{e.exports={linksContainer:"styles_linksContainer__jQ6t5",navDropdownTrigger:"styles_navDropdownTrigger___yrII",chevron:"styles_chevron__LDkzH",toggle:"styles_toggle__rdUFf",selected:"styles_selected__VsU_G",navDropdown:"styles_navDropdown__t0JdZ",open:"styles_open__dO52U",inAnimation:"styles_inAnimation__uxRGl",closed:"styles_closed__2nZl_",outAnimation:"styles_outAnimation__WEsKi",navDropdownMainLinksWrapper:"styles_navDropdownMainLinksWrapper__WOh_A",primaryLink:"styles_primaryLink__9G0nZ",iconWrapper:"styles_iconWrapper__CcGEo",navDropdownSecondaryLinksWrapper:"styles_navDropdownSecondaryLinksWrapper__bh9WN",promoted:"styles_promoted__XBFh6",secondaryLabel:"styles_secondaryLabel__DFDwq",secondaryLink:"styles_secondaryLink__k4M47",variantRebrand:"styles_variantRebrand__ANm1A",mobileLink:"styles_mobileLink__P9H3G"}},62964:e=>{e.exports={footerSection:"styles_footerSection__cb0J0",categoryContainer:"styles_categoryContainer__qTZLo",footerCategoryShowMore:"styles_footerCategoryShowMore__PAxC_",footerCategoryTitle:"styles_footerCategoryTitle__Fy_72",footerCategoryItems:"styles_footerCategoryItems__VIv4H",hidden:"styles_hidden__1vSY1",footerCategory:"styles_footerCategory__TQZ54",footerCategoryMobile:"styles_footerCategoryMobile__7V5dV",categoryDropdownToggle:"styles_categoryDropdownToggle__YFwDW",helpWrapper:"styles_helpWrapper___ISWJ",helpTitle:"styles_helpTitle__XFqJp",helpSection:"styles_helpSection__TnLO7",helpText:"styles_helpText___xDpn",vertDivider:"styles_vertDivider__woQaO",largerFont:"styles_largerFont__wl7aX",footerDivi
1der:"styles_footerDivider__OOdU2"}},64831:e=>{e.exports={footerCategory:"styles_footerCategory__LkiLx",footerCategoryTitle:"styles_footerCategoryTitle__a5JND",footerCategoryItems:"styles_footerCategoryItems__QqhJY",hidden:"styles_hidden__6s6Xr",footerCategoryShowMore:"styles_footerCategoryShowMore__746uy"}},69721:e=>{e.exports={legal:"styles_legal__1LyyC",legalText:"styles_legalText__K3lIz",legalLinks:"styles_legalLinks__GA2Qa"}},70479:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var n,a,o,s=r(19998),l=r(74003),i=r(77362),c=r.n(i),d=r(84914),_=r(51676),u=r(28435),p=r(1701),m=r(77635),y=r(37193),h=r(7150);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let v=function(e){return h.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=h.createElement("path",{stroke:"#15171A",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M10 3.334v13.333m0 0 5-5m-5 5-5-5"})))};function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let b=function(e){return h.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:21,height:21,fill:"none"},e),a||(a=h.createElement("g",{clipPath:"url(#arrow-down_svg__a)"},h.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m7.613 10.497 3.334 3.334m0 0 3.333-3.334m-3.333 3.334V7.164m8.333 3.333a8.333 8.333 0 1 1-16.667 0 8.333 8.333 0 0 1 16.667 0"}))),o||(o=h.createElement("defs",null,h.createElement("clipPath",{id:"arrow-down_svg__a"},h.createElement("path",{fill:"#fff",d:"M.947.5h20v20h-20z"})))))};var k=r(14072),x=r.n(k);let w=function(e){let{text:t,ctaIcon:r,icon:n,link:a,anchor:o,onClick:i,children:h,className:g,variant:f="primary",size:k="",themeVariant:w="amethyst",dataCy:j="",trackingLabel:N,target:C,rel:L,id:T,type:E="button"}=e,I=c()(x().btn,g,x()[f],x()[k],"sky"===f&&x().skyVariant,w&&x()[({fern:"fernVariant",sky:"skyVariant","light-sky":"skyVariant",dark:"darkVariant",black:"black",rebrand:"rebrandVariant","rebrand-ocean":"rebrandOceanVariant","rebrand-violet":"rebrandVioletVariant"})[w]||""]);if(a||o){var S,W,D;let e=o&&("#"===a||!a)?"":a,c=(null==o||null==(S=o.toString())?void 0:S.replace("#",""))||"",d="#"!==e?"".concat(e).concat(c?"#".concat(c):""):e;return(0,s.jsxs)(p.default,{"data-cy":j,href:d,className:I,trackingLabel:N,target:C,rel:L,onClick:e=>{o&&(0,u.A)(e,o),i&&i()},children:["link"!==f&&"link-dark"!==f&&"light"!==f&&r&&r.filename&&(0,s.jsx)(l.default,{id:"ctaIcon-".concat(r.filename),className:x().ctaIcon,...(0,_.jW)(r,null!=(W=r.width)?W:20,null!=(D=r.height)?D:20)}),h||t,("link"===f||"link-dark"===f||"light"===f)&&function(e){if(!n&&!e)return null;if(null==e?void 0:e.filename){var t,r;return(0,s.jsx)(l.default,{id:"ctaIcon-".concat(e.filename),className:x().ctaIcon,...(0,_.jW)(e,null!=(t=e.width)?t:20,null!=(r=e.height)?r:20)})}return"arrowRight"===n?(0,s.jsx)(m.default,{className:x().icon}):"arrowDown"===n?(0,s.jsx)(b,{className:x().icon}):"arrowNarrowDown"===n?(0,s.jsx)(v,{className:x().icon}):"arrowNarrowRight"===n?(0,s.jsx)(y.default,{className:x().icon}):null}(r)]})}return(0,s.jsx)(d.A,{style:f,"data-cy":j,className:I,onPress:i,id:T,type:E,children:h||t})}},71537:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var n=r(19998),a=r(835),o=r(7150),s=r(77362),l=r.n(s),i=r(9873),c=r(72354),d=r(49480),_=r(36093),u=r(98118),p=r(14451),m=r(70479),y=r(1701),h=r(6852),g=r(27671),v=r.n(g);let f=a.re({email:a.Rp({message:"Please enter a valid email address"}),acceptTerms:a.zM().refine(e=>e,{message:"Please agree to the conditions below"})});function b(e){var t,r,a,s,g,b,k;let{blok:x,variant:w,theme:j,className:N,mobileWidth:C,pageVariant:L}=e,T=(0,o.useId)(),E="email_capture",I="Email Capture",[S,W]=(0,o.useState)(""),[D,M]=(0,o.useState)(!1),[A,O]=(0,o.useState)(!1),[R,P]=(0,o.useState)(),[B,G]=(0,o.useState)([]),[K,H]=(0,o.useState)(!1),[F,V]=(0,o.useState)(!1);(0,o.useEffect)(()=>{D&&!A&&((0,u.s)(p.m,{eventName:{prefix:d.EventPrefix.MARKETING_SITE,trigger:d.Trigger.FORM_INTERACTION},properties:{form_name:E,field_name:"email"}}),O(!0))},[D,A]),(0,o.useEffect)(()=>{var e;let t=null!=(e=null==R?void 0:R.map(e=>e.message))?e:[];0!==t.length&&t.join(",")!==B.join(",")&&(G(t),(0,u.s)(p.m,{eventName:{prefix:d.EventPrefix.MARKETING_SITE,trigger:d.Trigger.SUBMISSION_ERROR},properties:{form_name:E,product_area:I,errors:t}}))},[R,B]);let U=(0,o.useCallback)(()=>{W(""),M(!1),O(!1),H(!1)},[]),J=async e=>{(0,u.s)(p.m,{eventName:{prefix:d.EventPrefix.MARKETING_SITE,trigger:d.Trigger.CONTENT_DOWNLOAD},properties:{form_name:E,download_triggered:!0,product_area:"Patient Download"},context:{traits:{email:e}}})},X=(0,o.useCallback)(()=>{p.m.identify({properties:{email:S,user_type:d.UserType.PATIENT}}),(0,h.i)("patient_email_capture"),(0,u.s)(p.m,{eventName:{prefix:d.EventPrefix.MARKETING_SITE,trigger:d.Trigger.EMAIL_CAPTURE},properties:{form_name:E,email_given:S},context:{traits:{email:S}}},{userTypeOverride:d.UserType.PATIENT}),(0,u.s)(p.m,{eventName:{prefix:d.EventPrefix.MARKETING_SITE,trigger:d.Trigger.FORM_SUBMITTED},properties:{form_name:E,product_area:I}},{userTypeOverride:d.UserType.PATIENT})},[S]),Y=(0,o.useCallback)(()=>{var e;let t=f.safeParse({email:S,acceptTerms:F});if(!t.success)return void P(t.error.issues);G([]),P([]),H(!0),X(),(null==(e=x.resource)?void 0:e.filename)||x.buttonLink||setTimeout(U,3e3)},[S,F,X,U,null==(t=x.resource)?void 0:t.filename,x.buttonLink]);return"sidebar"===w&&"fern"!==j&&(j=""),(0,n.jsx)("div",{className:l()(v().emailCapture,{[v()[w||""]]:w,[v()[j||""]]:j,[v().hasBackgroun
1dColor]:!!x.backgroundColor},N,C&&v().emailCaptureMobile),style:x.backgroundColor?{backgroundColor:x.backgroundColor}:void 0,"data-cy":"emailCapture",...(0,i.K1)(x),children:((null==(r=x.resource)?void 0:r.filename)||x.buttonLink)&&(x.downloadOnly||K)?(0,n.jsxs)("div",{className:v().thankYouContainer,children:[(0,n.jsx)("h2",{className:v().primaryHeader,children:(x.thankYouHeader||"").split("\\n").map((e,t,r)=>(0,n.jsxs)(o.Fragment,{children:[e,t<r.length-1&&(0,n.jsx)("br",{})]},e))}),(0,n.jsx)(m.default,{variant:"primary",target:"_blank",rel:"noopener noreferrer",link:(null==(a=x.resource)?void 0:a.filename)||(0,_.A)(x.buttonLink),onClick:async()=>{J(S)},text:x.downloadButtonText,className:v().downloadButton})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:v().callToActionWrapper,children:[(0,n.jsx)("h2",{className:l()(v().primaryHeader,"3am-therapy"===L&&v().threeAmPrimaryHeader),children:x.primaryHeader}),x.secondaryHeader&&(0,n.jsx)("p",{className:v().secondaryHeader,children:x.secondaryHeader})]}),(0,n.jsx)("div",{className:v().emailFormWrapper,children:(0,n.jsxs)("div",{className:v().emailInputCol,children:[(0,n.jsxs)("form",{className:v().emailInputRow,onSubmit:e=>{e.preventDefault(),Y()},children:[(0,n.jsx)(c.gb,{"aria-label":"email",className:v().emailInput,"data-cy":"email-input",isInvalid:!!(null==R?void 0:R.length),name:"email",onChange:e=>W(e),onFocus:()=>{D||M(!0)},placeholder:"Enter your email",value:S}),(0,n.jsxs)(m.default,{className:v().subscribeButton,variant:"primary",dataCy:"subscribe-button",size:"large",onClick:Y,themeVariant:j,children:[K?"":x.ctaText,(0,n.jsxs)("svg",{className:l()([v().checkmarkIcon,{[v().animate]:K}]),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-label":"checkmark",children:[(0,n.jsx)("path",{className:v().check,d:"M7.5 12L10.5 15L16.5 9",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("circle",{className:v().circle,cx:"12",cy:"12",fill:"none",r:"10",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})]})]}),(null==R?void 0:R.length)?(0,n.jsx)("div",{className:v().errorMessage,"data-testid":"email-error-message",children:null==(s=R[0])?void 0:s.message}):null,x.consentText&&(0,n.jsxs)("div",{className:v().acceptTermsRow,children:[(0,n.jsx)(c.qN,{id:"acceptTerms-".concat(T),style:"Default",className:v().rulaCheckbox,onChange:()=>{V(e=>!e),(0,u.s)(p.m,{eventName:{prefix:d.EventPrefix.MARKETING_SITE,trigger:d.Trigger.FORM_INTERACTION},properties:{form_name:E,field_name:"acceptTerms"}})},"data-cy":"consent-checkbox"}),(0,n.jsxs)("div",{className:v().consentText,children:[x.consentText," ",(null!=(b=null==(g=x.consentLinks)?void 0:g.length)?b:0)>0&&(null!=(k=x.consentLinks)?k:[]).map((e,t)=>{var r,a,o,s,l,i;return(0,n.jsxs)("span",{children:[(0,n.jsx)(y.default,{href:(null==(r=e.link)?void 0:r.url)||"#",children:e.text}),t<(null!=(l=null==(a=x.consentLinks)?void 0:a.length)?l:0)-2&&", ",t===(null!=(i=null==(o=x.consentLinks)?void 0:o.length)?i:0)-2&&" and "]},(null==(s=e.link)?void 0:s.url)||t)})]})]})]})})]})},x._uid)}},77275:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(16512);class a{get(e){return n.qg(document.cookie)[e]}set(e,t){document.cookie=n.lK(e,t)}}let o=a},77635:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n,a,o=r(7150);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let l=function(e){return o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:21,height:20,fill:"none"},e),n||(n=o.createElement("g",{clipPath:"url(#arrow-right_svg__a)"},o.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.667,d:"M.188 10H13.52m0 0-5-5m5 5-5 5"}))),a||(a=o.createElement("defs",null,o.createElement("clipPath",{id:"arrow-right_svg__a"},o.createElement("path",{fill:"#fff",d:"M.667 0h20v20h-20z"})))))}},79359:(e,t,r)=>{"use strict";r.d(t,{KJ:()=>s,PI:()=>o});var n=r(40074);let a=(e,t)=>(e||console.warn(Error('Required environment variable "'.concat(t,'" is not set'))),null!=e?e:""),o={amplitudeApiKey:a("c3b532bcf081304e5aed01bfd0948e15","NEXT_PUBLIC_AMPLITUDE_API_KEY"),launchDarklyClientId:a("6465437b20d9af11eb8aa011","NEXT_PUBLIC_LD_CLIENT_SDK_KEY"),segmentBrowserKey:a("zHWhgioJGBQM7smhZTSistfDKemJuluO","NEXT_PUBLIC_SEGMENT_BROWSER_WRITE_KEY")};function s(){var e;return!0===(e=n.env.NEXT_PUBLIC_STORYBLOK_IS_PREVIEW)||"true"===e||1===e||"1"===e}},80060:e=>{e.exports={socialLinks:"styles_socialLinks__e5SDh",socialLink:"styles_socialLink___7Wma",footerHeader:"styles_footerHeader__W5gAX"}},80554:e=>
1{e.exports={footerDivider:"styles_footerDivider__hW8_j",footerHeader:"styles_footerHeader__eCv3E",footerSection:"styles_footerSection__10FOp",topFooterSection:"styles_topFooterSection__T_8OK",categoryContainer:"styles_categoryContainer__Ed_oU",footerCategoryShowMore:"styles_footerCategoryShowMore__pBhCa",footerCategoryTitle:"styles_footerCategoryTitle__OGpD8",footerCategoryItems:"styles_footerCategoryItems__dmZ65",hidden:"styles_hidden__6KYtj",footerCategory:"styles_footerCategory__EUPyb",footerCategoryMobile:"styles_footerCategoryMobile__I0oXk",categoryDropdownToggle:"styles_categoryDropdownToggle__B_cQi",helpWrapper:"styles_helpWrapper__E0Oew",helpTitle:"styles_helpTitle__0y3LG",helpSection:"styles_helpSection__05_Rt",helpText:"styles_helpText__jdDGW",vertDivider:"styles_vertDivider__pJmQU",largerFont:"styles_largerFont__wDBfT"}},89540:e=>{e.exports={privacyChoices:"styles_privacyChoices__NXoTn",icon:"styles_icon__2hxek"}},94921:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>O});var n,a,o=r(19998),s=r(7150),l=r(74003),i=r(77362),c=r.n(i),d=r(9873),_=r(51676),u=r(1701);function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let m=function(e){return s.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:22,height:11,fill:"none"},e),n||(n=s.createElement("path",{stroke:"#1D1733",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 9.5H1m0-8h20"})))};var y=r(15029),h=r(34376),g=r(36093);function v(e){window.gtag&&"conversion"===e&&window.gtag("event","conversion",{send_to:"AW-448746805/7Bh2CMrZ4JsZELWq_dUB"}),window.uetq||(window.uetq={push:()=>{}}),"conversion"===e&&window.uetq.push("event","track",{event_label:"Kiwi"})}var f=r(70479);function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let k=function(e){return s.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",width:16,height:10,fill:"none",viewBox:"0 0 10 6"},e),a||(a=s.createElement("path",{stroke:"#1D1733",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m1 1 4 4 4-4"})))};var x=r(44183);let w=(e,t)=>{let{linkClassName:r,iconWrapperClassName:n,iconSize:a,tabIndex:s=-1}=t,i={onPointerDown:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation()};return e.map(e=>{var t;if("menuGroup"===e.component)return(0,o.jsx)(x.default,{blok:e,iconSize:a,iconWrapperClassName:n},e._uid);let c="menuLinkWithIcon"===e.component&&(null==(t=e.icon)?void 0:t.filename)&&n&&a;return(0,o.jsxs)(u.default,{className:r,href:(0,g.A)(e.link),...i,role:"menuitem",tabIndex:s,children:[c&&(0,o.jsx)("div",{className:n,"aria-hidden":"true",children:(0,o.jsx)(l.default,{...(0,_.jW)(e.icon,a,a)})}),e.name]},e._uid)})};var j=r(26576),N=r.n(j);let C=e=>{var t,r,n,a;let{isOpenMobile:l,blok:i,openMenu:d,toggleMenu:_,toggleMobileMenu:p,headerButtonVariant:m="amethyst",customHeaderCtaLink:y,customHeaderCtaAnchor:b,showCta:x=!0,variant:j=""}=e,C=(0,h.usePathname)();(0,s.useEffect)(()=>{function e(e){"Escape"===e.key&&d&&_("")}return d&&l&&document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[d,_,l]);let L=e=>{_(e),"/"===C&&v("conversion")};return(0,o.jsx)("div",{"data-cy":"mobile-nav",className:c()(N().mobileNav,{[N().expanded]:l,[N().closed]:!l,[N().variantRebrand]:"rebrand"===j}),children:(0,o.jsxs)("div",{className:c()(N().mobileNavItems,{[N().expanded]:l,[N().closed]:!l}),children:[null==(t=i.menu)?void 0:t.map(e=>{var t;return(0,o.jsxs)("div",{className:c()(N().mobileDropdownTrigger,{[N().open]:d===e._uid}),children:[(0,o.jsxs)("button",{type:"button",className:N().toggle,onClick:()=>_(e._uid),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),_(e._uid))},"aria-expanded":d===e._uid,"aria-haspopup":"true","aria-label":"".concat(e.title," menu"),children:[(0,o.jsx)("span",{children:e.title}),(0,o.jsx)("div",{className:c()(N().chevron,{[N().rotated]:d===e._uid}),"aria-hidden":"true",children:(0,o.jsx)(k,{})})]}),(0,o.jsxs)("div",{className:c()(N().mobileDropdownWrapper,{[N().expanded]:d===e._uid,[N().collapsed]:d!==e._uid}),role:"menu","aria-label":"".concat(e.title," menu options"),"aria-hidden":d!==e._uid,children:[e.primaryMenu&&e.primaryMenu.length>0&&(0,o.jsx)("div",{className:N().mainItemsWrapper,children:w(e.primaryMenu,{linkClassName:N().primaryLink,iconWrapperClassName:N().iconWrapper,iconSize:24,tabIndex:d===e._uid?0:-1})}),e.secondaryMenu&&e.secondaryMenu.length>0&&(0,o.jsxs)("div",{className:c()(N().secondaryItemsWrapper,{[N().promoted]:!(null==(t=e.primaryMenu)?void 0:t.length)}),children:[e.secondaryMenuTitle&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("hr",{className:N().mobileSecondaryItemsSeparator}),(0,o.jsx)("p",{className:N().secondaryItemsLabel,children:e.secondaryMenuTitle})]}),w(e.secondaryMenu,{linkClassName:N().secondaryLink,iconWrapperClassName:N().iconWrapper,iconSize:24,tabIndex:d===e._uid?0:-1})]})]})]},e._uid)}),null==(r=i.topLinkMenu)?void 0:r.map(e=>(0,o.jsx)(u.default,{className:N().mobileLink,href:(0,g.A)(e.link),children:e.text},e._uid)),null==(n=i.loginMenu)?void 0:n.map(e=>{var t;return(0,o.jsxs)("div",{className:c()(N().mobileDropdownTrigger,{[N().open]:d===e._uid}),children:[(0,o.jsxs)("button",{type:"button",className:N().toggle,onClick:()=>L(e._uid),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),L(e._uid))},"aria-expanded":d===e._uid,"aria-haspopup":"true","aria-label":"".concat(e.title," menu"),children:[(0,o.jsx)("span",{children:e.title}),(0,o.jsx)("div",{className:c()(N().chevron,{[N().rotated]:d===e._uid}),"aria-hidden":"true",children:(0,o.jsx)(k,{})})]}),(0,o.jsxs)("div",{className:c()(N().mobileDropdownWrapper,{[N().expanded]:d===e._uid,[N().collapsed]:d!==e._uid}),role:"menu","aria-label":"".concat(e.title," menu options"),"aria-hidden":d!==e._uid,children:[e.primaryMenu&&e.primaryMenu.length>0&&(0,o.jsx)("div",{className:N().mainItemsWrapper,children:w(e.primaryMenu,{linkClassName:N().primaryLink,iconWrapperClassName:N().iconWrapper,iconSize:24,tabIndex:d===e._uid?0:-1})}),e.secondaryMenu&&e.secondaryMenu.length>0&&(0,o.jsxs)("div",{className:c()(N().secondaryItemsWrapper,{[N().promoted]:!(null==(t=e.primaryMenu)?void 0:t.length)}),children:[e.secondaryMenuTitle&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("hr",{className:N().mobileSecondaryItemsSeparator}),(0,o.jsx)("p",{className:N().secondaryItemsLabel,children:e.secondaryMenuTitle})]}),w(e.secondaryMenu,{linkClassName:N().secondaryLink,iconWrapperClassName:N().iconWrapper,iconSize:24,tabIndex:d===e._uid?0:-1})]})]})]},e._uid)}),i.ctaLink&&x&&(0,o.jsx)(u.default,{href:(0,g.A)(i.ctaLink),trackOnly:!0,children:(0,o.jsx)("span",{className:c()(N().mobileLink,N().mobileLinkBottom),children:(0,o.jsx)(f.default,{themeVariant:m,className:N().mobileCta,dataCy:"cta-mobile-button",onClick:()=>{p()},link:y?(0,g.A)(y):(0,g.A)(i.ctaLink),anchor:b,children:i.ctaText})})},null==(a=i.ctaLink)?void 0:a.id)]})})};
1var L=r(3286),T=r(57265),E=r.n(T);function I(e){var t,r;let{blok:n,openMenu:a,toggleMenuAction:l,variant:i=""}=e,d=(0,s.useRef)(null);return(0,s.useEffect)(()=>{function e(e){d.current&&(!d.current.contains(e.target)||e.target===d.current)&&l("")}function t(e){"Escape"===e.key&&a&&l("")}return a&&(document.addEventListener("mousedown",e),document.addEventListener("keydown",t)),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[a,l]),(0,o.jsxs)("div",{"data-cy":"links-container",ref:d,className:c()(E().linksContainer,"rebrand"===i&&E().variantRebrand),children:[null==(t=n.menu)?void 0:t.map(e=>{var t;return(0,o.jsxs)("div",{className:E().navDropdownTrigger,children:[(0,o.jsxs)("button",{type:"button",className:c()(E().toggle,{[E().selected]:a===e._uid}),onClick:()=>l(e._uid),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),l(e._uid))},"aria-expanded":a===e._uid,"aria-haspopup":"true","aria-label":"".concat(e.title," menu"),children:[e.title,(0,o.jsx)("div",{className:E().chevron,"aria-hidden":"true",children:a===e._uid?(0,o.jsx)(L.A,{}):(0,o.jsx)(k,{})})]}),(0,o.jsxs)("div",{className:c()(E().navDropdown,{[E().open]:a===e._uid,[E().closed]:a!==e._uid}),role:"menu","aria-label":"".concat(e.title," menu options"),"aria-hidden":a!==e._uid,children:[e.primaryMenu&&e.primaryMenu.length>0&&(0,o.jsx)("div",{className:E().navDropdownMainLinksWrapper,children:w(e.primaryMenu,{linkClassName:E().primaryLink,iconWrapperClassName:E().iconWrapper,iconSize:20,tabIndex:a===e._uid?0:-1})}),e.secondaryMenu&&e.secondaryMenu.length>0&&(0,o.jsxs)("div",{className:c()(E().navDropdownSecondaryLinksWrapper,{[E().promoted]:!(null==(t=e.primaryMenu)?void 0:t.length)}),children:[e.secondaryMenuTitle&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("hr",{}),(0,o.jsx)("p",{className:E().secondaryLabel,children:e.secondaryMenuTitle})]}),w(e.secondaryMenu,{linkClassName:E().secondaryLink,iconWrapperClassName:E().iconWrapper,iconSize:20,tabIndex:a===e._uid?0:-1})]})]})]},e._uid)}),null==(r=n.topLinkMenu)?void 0:r.map(e=>(0,o.jsx)("div",{className:E().navDropdownTrigger,children:(0,o.jsx)(u.default,{className:E().toggle,href:(0,g.A)(e.link),children:e.text},e._uid)},e._uid))]})}var S=r(49849),W=r.n(S);let D=function(e){var t,r;let{blok:n,openMenu:a,toggleMenu:l,headerButtonVariant:i="amethyst",customHeaderCtaLink:d,customHeaderCtaAnchor:_,showCta:p=!0,variant:m=""}=e,y=(0,h.usePathname)();(0,s.useEffect)(()=>{function e(e){"Escape"===e.key&&a&&l("")}return a&&document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[a,l]);let b=e=>{l(e),"/"===y&&v("conversion")};return(0,o.jsxs)("div",{"data-cy":"buttons-container",className:c()(W().buttonsContainer,"rebrand"===m&&W().variantRebrand),children:[null==(t=n.loginMenu)?void 0:t.map(e=>{var t;return(0,o.jsxs)("div",{className:c()(W().navDropdownTrigger,W().login),children:[(0,o.jsxs)("button",{type:"button",className:c()(W().toggle,{[W().selected]:a===e._uid}),onClick:()=>b(e._uid),onKeyDown:t=>{var r,n;return r=t,n=e,void(("Enter"===r.key||" "===r.key)&&(r.preventDefault(),b(n._uid)))},"aria-expanded":a===e._uid,"aria-haspopup":"true","aria-label":"".concat(e.title," menu"),children:[e.title,(0,o.jsx)("div",{className:W().chevron,"aria-hidden":"true",children:a===e._uid?(0,o.jsx)(L.A,{}):(0,o.jsx)(k,{})})]}),(0,o.jsxs)("div",{className:c()(W().navDropdown,{[W().open]:a===e._uid,[W().closed]:a!==e._uid}),onPointerDownCapture:e=>e.stopPropagation(),onMouseDownCapture:e=>e.stopPropagation(),role:"menu","aria-label":"".concat(e.title," menu options"),"aria-hidden":a!==e._uid,children:[e.primaryMenu&&e.primaryMenu.length>0&&(0,o.jsx)("div",{className:W().navDropdownMainLinksWrapper,children:w(e.primaryMenu,{linkClassName:W().primaryLink,iconWrapperClassName:W().iconWrapper,iconSize:24,tabIndex:a===e._uid?0:-1})}),e.secondaryMenu&&e.secondaryMenu.length>0&&(0,o.jsxs)("div",{className:c()(W().navDropdownSecondaryLinksWrapper,{[W().promoted]:!(null==(t=e.primaryMenu)?void 0:t.length)}),children:[e.secondaryMenuTitle&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("hr",{}),(0,o.jsx)("p",{className:W().secondaryLabel,children:e.secondaryMenuTitle})]}),w(e.secondaryMenu,{linkClassName:W().secondaryLink,iconWrapperClassName:W().iconWrapper,iconSize:24,tabIndex:a===e._uid?0:-1})]})]})]},e._uid)}),(n.ctaLink||d||_)&&p&&(0,o.jsx)(u.default,{href:(0,g.A)(n.ctaLink),trackOnly:!0,children:(0,o.jsx)(f.default,{themeVariant:i,dataCy:"cta-button",link:d?(0,g.A)(d):(0,g.A)(n.ctaLink),anchor:_,children:n.ctaText})},null==(r=n.ctaLink)?void 0:r.id)]})};var M=r(53071),A=r.n(M);function O(e){var t,r,n,a;let{headerButtonVariant:i="amethyst",hideBottomBorder:p=!1,customHeaderCtaLink:h,customHeaderCtaAnchor:g,showCta:v=!0,blok:f}=e,b=null!=(r=f.content)?r:f,k=null!=(n=b.variant)?n:"",[x,w]=(0,s.use
1State)(null),[j,N]=(0,s.useState)(!1),L=e=>{w(t=>t===e?null:e)},T=()=>{N(e=>!e)};return((0,s.useEffect)(()=>{j?document.body.style.overflow="hidden":document.body.style.overflow=""},[j]),b.simplified)?(0,o.jsx)("nav",{...(0,d.K1)(b),className:c()(A().rulaNavContainer,p&&A().hideBottomBorder,A().simplified),children:(null==(a=b.logo)?void 0:a.filename)&&(0,o.jsx)(u.default,{className:A().primaryLink,href:"/",children:(0,o.jsx)(l.default,{"data-cy":"rula-logo",className:A().rulaLogo,priority:!0,...(0,_.jW)(b.logo,89,26,{resize:!0})})},b.logo.filename)}):(0,o.jsxs)("nav",{...(0,d.K1)(b),className:c()(A().rulaNavContainer,p&&A().hideBottomBorder,k&&A()[k]),children:[(null==(t=b.logo)?void 0:t.filename)&&(0,o.jsx)(u.default,{className:A().primaryLink,href:"/","aria-label":"Rula home",children:(0,o.jsx)(l.default,{"data-cy":"rula-logo",className:A().rulaLogo,priority:!0,...(0,_.jW)(b.logo,100,100)})},b.logo.filename),(0,o.jsxs)("button",{"data-cy":"mobileMenuButton",className:A().mobileNavControls,type:"button",onClick:T,"aria-label":j?"Close menu":"Open menu","aria-expanded":j,children:[!j&&(0,o.jsx)(m,{}),j&&(0,o.jsx)(y.A,{})]}),(0,o.jsx)(C,{blok:b,isOpenMobile:j,openMenu:x,toggleMenu:L,toggleMobileMenu:T,headerButtonVariant:i,customHeaderCtaLink:h,customHeaderCtaAnchor:g,showCta:v,variant:k}),!j&&(0,o.jsx)(I,{blok:b,openMenu:x,toggleMenuAction:L,variant:k}),(0,o.jsx)(D,{blok:b,openMenu:x,toggleMenu:L,headerButtonVariant:i,customHeaderCtaLink:h,customHeaderCtaAnchor:g,showCta:v,variant:k})]})}},94993:e=>{e.exports={footerCategoryMobile:"styles_footerCategoryMobile__kuq5A",categoryDropdownToggle:"styles_categoryDropdownToggle__TTu__",expanded:"styles_expanded____tEx",collapsed:"styles_collapsed__Q7Q_S",footerCategoryTitle:"styles_footerCategoryTitle__t1Y6J",footerCategoryItems:"styles_footerCategoryItems__I0OnW",hidden:"styles_hidden__TEk4Y",footerCategoryShowMore:"styles_footerCategoryShowMore__Qf5OU"}},98118:(e,t,r)=>{"use strict";r.d(t,{s:()=>s});var n=r(49480),a=r(77275);let o=new Set;async function s(e,t,r){var s,l;if(function(e){let t=JSON.stringify({eventName:e.eventName,properties:e.properties});return!!o.has(t)||(o.add(t),1===o.size&&queueMicrotask(()=>o.clear()),!1)}(t))return;let i=new a.A().get("userType")||n.UserType.AGENT;e.userType=null!=(s=null==r?void 0:r.userTypeOverride)?s:i;let c=localStorage.getItem("userEmail"),d=t;(null==r?void 0:r.userTypeOverride)&&(d={...d,properties:{...d.properties,extra:{...null==(l=d.properties)?void 0:l.extra,user_type:r.userTypeOverride}}}),c&&(d={...d,context:{traits:{email:c}}}),e.track(d)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.