1"use strict";(self.webpackChunk_griddo_cx=self.webpackChunk_griddo_cx||[]).push([[7753],{1497:function(e,n,t){t.r(n),t.d(n,{default:function(){return F}});var i=t(26322),l=t(32356),o=t(70278),a=t(52343),d=t(55354),c=t(52296),s=t(58379),r=t(99054),u=t(37447);const{FloatingCTALightbox:m,FloatingCTAMail:p,FloatingCTAVideo:v,RequestInfo:h}=u.A,x=(0,r.w1)({FloatingCTALightbox:m,FloatingCTAMail:p,FloatingCTAVideo:v,RequestInfo:h});var g=e=>i.createElement(r.uA,Object.assign({libComponents:x},e)),f=t(72041),y=t(81816);const w=(0,a.default)(o.Box).withConfig({displayName:"SimpleFloatingCTA__MainDiv",componentId:"sc-12yyy0v-0"})(["position:fixed;width:100%;bottom:0;left:0;overflow:visible;max-width:2000px;z-index:999;pointer-events:",";transform:",";transition:transform 0.3s ease-in-out;transition-delay:0.4s;","{left:40px;}","{overflow:hidden;width:calc(100% - 80px);bottom:20px;}"],e=>e.$open?"auto":"none",e=>e.$showHead?"translateY(0px)":"translateY(130%)",e=>e.theme.mq.s,e=>e.theme.mq.xl),T=(0,a.default)(o.Box).withConfig({displayName:"SimpleFloatingCTA__MainFilter",componentId:"sc-12yyy0v-1"})(["display:flex;width:100%;pointer-events:",";","{width:fit-content;}","{width:auto;}"],e=>e.$open?"auto":"none",e=>e.theme.mq.s,e=>e.theme.mq.xl),C=(0,a.default)(o.Box).withConfig({displayName:"SimpleFloatingCTA__CTABox",componentId:"sc-12yyy0v-2"})(["display:flex;justify-content:center;align-items:center;max-width:100%;min-width:100%;pointer-events:auto;","{min-width:320px;}","{max-width:202px;min-width:unset;}transition:max-width 0.6s;transition-timing-function:cubic-bezier(0.39,0.575,0.565,1) both;"],e=>e.theme.mq.s,e=>e.theme.mq.xl),k=(0,a.default)(o.Box).withConfig({displayName:"SimpleFloatingCTA__CTACel",componentId:"sc-12yyy0v-3"})(["width:calc(100% - 3px);background-color:",";position:relative;cursor:pointer;display:flex;justify-content:center;align-items:center;box-shadow:0px 2px 3px 0px rgba(0,0,0,0.3);padding:12px;min-height:56px;"],e=>{var n,t;return null===(n=e.$subTheme)||void 0===n||null===(t=n.colors)||void 0===t?void 0:t.brand02}),b=(0,a.default)(o.Text).withConfig({displayName:"SimpleFloatingCTA__CTAText",componentId:"sc-12yyy0v-4"})(["transition:color 0.3s ease;display:flex;justify-content:center;align-items:center;width:100%;color:white;min-height:24px;margin-left:",";"],e=>!0===e.$hasIcon&&"16px"),A=a.default.div.withConfig({displayName:"SimpleFloatingCTA__CutomModal",componentId:"sc-12yyy0v-5"})(["&:hover{transition:color 0.3s ease;color:",";}"],e=>e.theme.colors.link01Hover),E=a.default.div.withConfig({displayName:"SimpleFloatingCTA__NoModuleCont",componentId:"sc-12yyy0v-6"})(["border-radius:8px;color:black;background-color:#f6f6f7;padding:60px;font-size:24px;font-weight:bold;"]);var F=e=>{var n,t,a,r,u;const{0:m,1:p}=(0,i.useState)({open:!1,activeElm:null}),{anchorID:v,elements:h}=e,x=(0,l.CY)(),F=null!=x&&null!==(n=x.subthemes)&&void 0!==n&&n.accentAlt?"accentAlt":"accent",S=(0,l.ig)({name:F}),{isSSG:_}=(0,l.J5)(),I=(0,i.useRef)(null),L=e=>"link"===(null==e?void 0:e.compOrLinkOrMailTo),$=e=>L(e)||(e=>"mailTo"===(null==e?void 0:e.compOrLinkOrMailTo))(e),M=(0,i.useContext)(d.r9),{0:N,1:O}=(0,i.useState)(!1),j=()=>{const e=!N;O(e),!0===e&&(null==M||M.setSticky(e=>({...e,ProgramTabs:{...e.ProgramTabs,open:!1},FloatingCTA:{...e.FloatingCTA,open:!1},QuickFacts:{...e.QuickFacts,open:!1},SimpleFloatingCTA:{...e.SimpleFloatingCTA,open:!0}})))};i.useEffect(()=>{var e,n;!1===(null==M||null===(e=M.sticky)||void 0===e||null===(n=e.FloatingCTA)||void 0===n?void 0:n.open)&&!0===N&&j()},[null==M?void 0:M.sticky]),i.useEffect(()=>{var e,n;!1===(null==M||null===(e=M.sticky)||void 0===e||null===(n=e.ProgramTabs)||void 0===n?void 0:n.isSticky)&&N&&j()},[null==M||null===(t=M.sticky)||void 0===t||null===(a=t.ProgramTabs)||void 0===a?void 0:a.isSticky]);const{0:B,1:q}=(0,i.useState)(!1),P=h&&(null===(r=h[null==m?void 0:m.activeElm])||void 0===r?void 0:r.componentModules)&&Object.values(null===(u=h[null==m?void 0:m.activeElm])||void 0===u?void 0:u.componentModules).find(e=>!(0,c.bW)(e));return i.createElement(o.Box,{id:v,zIndex:"2",showOnScroll:{active:!1}},i.createElement(f.A,{open:B,setOpen:q},P?i.createElement(o.Box,{width:"100%"},i.createElement(g,Object.assign({},P,{bleed:!0}))):i.createElement(E,null,"No Module Selected")),i.createElement(w,{ref:I,$open:N,$showHead:(()=>{var e,n,t,i;const l="undefined"!=typeof window?(null===(e=document)||void 0===e||null===(n=e.documentElement)||void 0===n?void 0:n.scrollHeight)>(null===(t=document)||void 0===t||null===(i=t.documentElement)||void 0===i?void 0:i.clientHeight):null;var o,a,d,c;return!0!==_||(!0!==(null==M||null===(o=M.sticky)||void 0===o||null===(a=o.ProgramTabs)||void 0===a?void 0:a.exists)||!0!==l||!0===(null==M||null===(d=M.sticky)||void 0===d||null===(c=d.ProgramTabs)||void 0===c?void 0:c.isSticky))})(),onKeyDown:e=>"Enter"===e.key&&j(),tabIndex:"0"},i.createElement(T,{$open:N},null==h?void 0:h.map((e,n)=>{var t,l,o,a,d,c,r,u;return i.createElement(C,{key:n,width:1,zIndex:2,$open:N&&!0,onClick:t=>$(e)?((e,n)=>{null==n||n.stopPropagation(),document.getElementById(e).click()})(`ctaLink-${n}`,t):(e=>{p(n=>({...n,open:!0,activeElm:e})),q(!0)})(n),"data-testid":"CTABox"},i.createElement(k,{onClick:()=>j(),"data-testid":"CTACel",$subTheme:S},i.createElement(b,{crop:!0,textStyle:"simpleFloating",$hasIcon:null==e?void 0:e.icon},$(e)?i.createElement(y.N_,Object.assign({id:`ctaLink-${n}`,appearance:"link",fluid:!0,newTab:L(e)&&(null==e||null===(t=e.ctaLink)||void 0===t?void 0:t.newTab),title:L(e)&&(null==e||null===(l=e.ctaLink)||void 0===l?void 0:l.newTab)&&e.title,noFollow:L(e)&&(null==e||null===(o=e.ctaLink)||void 0===o?void 0:o.noFollow),internal:!1,external:!1},null==e||null===(a=e.ctaLink)||void 0===a?void 0:a.url,{onClick:e=>e.stopPropagation(),href:L(e)?null!=e&&null!==(d=e.ctaLink)&&void 0!==d&&d.href?null==e||null===(c=e.ctaLink)||void 0===c?void 0:c.href:"":`mailto:${null==e?void 0:e.mailToMail}?Subject=${null==e?void 0:e.mailToSubject}`,linkToURL:L(e)&&(null==e||null===(r=e.ctaLink)||void 0===r?void 0:r.linkToURL),textStyle:"simpleFloating",color:null==S||null===(u=S.colors)||void 0===u?void 0:u.text01}),e.title):i.createElement(A,null,e.title),(null==e?void 0:e.icon)&&(e=>{switch(e){case"email":default:return i.createElement(s.A,{name:"email",fill:"inverse01",height:"20px",ml:"xxs",minWidth:"20px","aria-hidden":!0});case"chat":return i.createElement(s.A,{name:"comments",fill:"inverse01",height:"20px",ml:"xxs",minWidth:"20px","aria-hidden":!0});case"phone":return i.createElement(s.A,{name:"phone",fill:"inverse01",height:"20px",ml:"xxs",minWidth:"20px","aria-hidden":!0});case"whatsapp":return i.createElement(s.A,{name:"whatsapp",fill:"inverse01",height:"20px",ml:"xxs",minWidth:"20px","aria-hidden":!0});case"video":return i.createElement(s.A,{name:"play",fill:"inverse01",height:"20px",ml:"xxs",minWidth:"20px","aria-hidden":!0})}})(e.iconSelection))))}))))}}}]);
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.