1"use strict";(self.webpackChunkpcs_tms_publicsite=self.webpackChunkpcs_tms_publicsite||[]).push([[33],{66549:function(e,t,i){i.r(t),i.d(t,{default:function(){return be}});var a=i(89721),o=i(40840),n=i(96540),r=i(87925),d=i(33255),l=i(42459),s=i(42102),c=i(28531),p=i(37987),m=i(38116),u=i(98423),g=i(92071),x=i(15561),h=i(85411),f=i(5980),y=i(98927),w=i(63259),b=i(72962),I=i(11463),A=i(34670),v=i(82028),j=i(12795),M=i(48896);const N=A.default.div.withConfig({displayName:"styles__BannerWrapper",componentId:"sc-s21kau-0"})(["display:flex;width:100%;height:100%;justify-content:space-between;max-width:","px;margin:14px auto;@media screen and (max-width:1024px){display:none;}"],M.A.defaultWidth),k=A.default.div.withConfig({displayName:"styles__Banner",componentId:"sc-s21kau-1"})(["width:48%;align-items:center;border-radius:8px;box-shadow:0 0 10px 0 rgba(0,0,0,0.3);height:100%;.container-wrapper{position:relative;margin:0 auto;background-color:",";padding:2rem;height:100%;display:flex;justify-content:center;align-items:center;.wrapper{position:relative;z-index:1;img{width:auto;}h2{color:",";margin:0px 0px 16px;}p{color:",";}}}"],M.A.colorWhite,M.A.colorRed,M.A.colorBlack),C=A.default.div.withConfig({displayName:"styles__CarouselWrapper",componentId:"sc-s21kau-2"})(["display:none;width:100%;margin:0 auto;@media screen and (max-width:1024px){display:flex;justify-content:center;}.swiper{height:100%;width:100%;@media screen and (max-width:1024px){padding:0 0 3rem;}@media screen and (max-width:860px){padding:0;}@media screen and (max-width:768px){padding:0 0 3rem;}.swiper-container{height:auto;}.swiper-wrapper{display:flex;justify-content:flex-start;align-items:flex-start;flex-direction:row;.swiper-slide{height:auto;font-size:18px;display:flex;width:100% !important;justify-content:center;align-items:center;flex-direction:row;align-self:stretch;@media screen and (max-width:1024px){width:280px;}@media screen and (max-width:640px){width:220px;}}}.swiper-button-next,.swiper-button-prev{height:24px;width:24px;border-radius:12px;border:2px solid ",";box-shadow:0 2px 5px 0 rgb(0 0 0 / 30%);z-index:11;cursor:pointer;transition:border 400ms ease,opacity 400ms ease;&.swiper-button-disabled{opacity:0;visibility:hidden;}&:after{content:none;}svg{display:none;}&:hover,&:focus{border:2px solid ",";}}.swiper-button-next{background-image:url(",");right:20px;top:auto;bottom:4px;@media screen and (max-width:767px){right:2px;}}.swiper-button-prev{background-image:url(",");left:20px;top:auto;bottom:4px;@media screen and (max-width:767px){left:2px;}}.swiper-pagination{display:flex;justify-content:center;margin:0 auto;bottom:10px;left:1.5rem;right:0;width:calc(100% - 60px);}.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal{&.swiper-pagination-bullets{.swiper-pagination-bullet{width:10px;height:10px;margin:0 8px;}}}}.swiper-pagination-bullet-active{background:",";}.banner-carousel{display:flex;width:100%;height:100%;align-items:center;margin:0 auto;position:relative;border-radius:8px;.container-wrapper{position:relative;margin:0 auto;background-color:",";padding:3rem 2rem;width:100%;@media screen and (max-width:768px){display:flex;justify-content:center;align-items:center;padding:1rem;width:100%;}.wrapper{position:relative;z-index:1;img{width:auto;}h1{text-transform:none;color:",";font-size:1.625rem;margin-bottom:1rem;@media screen and (max-width:749px){font-size:1.5rem;}}p{color:",";font-size:0.875rem;line-height:1.6;margin-bottom:0;}}}}"],M.A.colorWhite,M.A.colorGrey,j.A,v.A,M.A.colorRed,M.A.colorWhite,M.A.colorRed,M.A.colorBlack);var L=i(74848);var D=({data:e})=>{var t,i;const a=e.analyticsID,o=(0,y.A)(null!=a?a:"Carousel"),r=(0,n.useCallback)(()=>(0,I.Ap)(o,a),[a,o]);return(0,n.useEffect)(r,[r]),(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(N,{children:null===(t=e.combinatorSectionItems)||void 0===t?void 0:t.map(e=>{var t;return(0,L.jsx)(k,{children:(0,L.jsx)("div",{className:"container-wrapper",children:(0,L.jsxs)("div",{className:"wrapper",children:[(0,L.jsx)(w.A,{image:e.cardIcon}),(0,L.jsx)("h2",{children:(0,x.Ay)(e.cardHeading)}),(0,L.jsx)("p",{children:(0,x.Ay)(null===(t=e.cardDescription)||void 0===t?void 0:t.cardDescription)})]})})},e.id)})}),(0,L.jsx)(C,{children:(0,L.jsx)(f.RC,{tabIndex:0,speed:1e3,breakpoints:b.Vf,navigation:!0,pagination:{clickable:!0},a11y:{slideRole:"group",enabled:!0},allowTouchMove:!0,keyboard:!0,modules:[h.Vx,h.dK,h.s3,h.Jq],className:`swiper ${o}`,...(0,I.Kw)(a),children:null===(i=e.combinatorSectionItems)||void 0===i?void 0:i.map(e=>{var t;return(0,L.jsx)(f.qr,{children:(0,L.jsx)("div",{className:"banner-carousel",children:(0,L.jsx)("div",{className:"container-wrapper",children:(0,L.jsxs)("div",{className:"wrapper",children:[(0,L.jsx)(w.A,{src:e.cardIcon}),(0,L.jsx)("h1",{children:(0,x.Ay)(e.cardHeading)}),(0,L.jsx)("p",{children:(0,x.Ay)(null===(t=e.cardDescription)||void 0===t?void 0:t.cardDescription)})]})})})},e.id)})})})]})},T=i(42343),S=i(35366);const z=A.default.div.withConfig({displayName:"styles__LocationsSearchWra
1pper",componentId:"sc-ass4ty-0"})(["display:block;width:100%;max-width:100%;min-width:0;margin:0 auto;position:relative;clear:both;padding:3.5rem;background-color:",";box-sizing:border-box;@media screen and (max-width:768px){padding:2rem 1rem;}"],M.A.colorGreyLight),_=A.default.div.withConfig({displayName:"styles__InvalidAddressError",componentId:"sc-ass4ty-1"})(["color:red;text-align:center;font-size:20px;"]),P=A.default.div.withConfig({displayName:"styles__Container",componentId:"sc-ass4ty-2"})(["width:100%;max-width:","px;min-width:0;display:flex;flex-wrap:wrap;box-sizing:border-box;padding:0 ","rem;margin:0 auto;text-align:center;@media screen and (max-width:1023px){padding:0 ","rem;}"],M.A.defaultWidth,M.A.layoutPadding,M.A.mobileLayoutPadding),E=A.default.form.withConfig({displayName:"styles__Form",componentId:"sc-ass4ty-3"})(["margin:0 auto;width:100%;min-width:0;fieldset{width:100%;max-width:100%;min-width:0;border:none;margin:0 auto;box-sizing:border-box;@media screen and (min-width:541px){max-width:540px;}@media screen and (max-width:768px){width:100%;}}"]),B=(0,A.default)(S.A).withConfig({displayName:"styles__InputField",componentId:"sc-ass4ty-4"})(["padding-left:3rem;height:50px;border-radius:25px;width:100%;max-width:400px;margin:0 auto;background-color:",";border:none;font-size:1rem;background-repeat:no-repeat;background-position:1rem center;background-size:auto;@media screen and (max-width:768px){max-width:100%;}"],M.A.colorWhite),R=A.default.button.withConfig({displayName:"styles__Button",componentId:"sc-ass4ty-5"})(["height:50px;width:auto;border-radius:25px;border:none;margin:0 auto;padding-left:3rem;background-color:transparent;color:",";font-size:0.9rem;background-repeat:no-repeat;background-position:1rem center;background-size:auto;width:150px;cursor:pointer;@media screen and (max-width:768px){clear:both;margin:0;}&:lang(fr){width:170px;}"],M.A.colorBlack),W=A.default.div.withConfig({displayName:"styles__CheckBoxWrapper",componentId:"sc-ass4ty-6"})(["display:flex;flex-direction:row;justify-content:center;padding:0.4rem;width:100%;@media screen and (max-width:768px){width:100%;flex-direction:column;}"]),Y=A.default.div.withConfig({displayName:"styles__CheckboxContainer",componentId:"sc-ass4ty-7"})(["clear:both;padding:0.4rem;@media screen and (max-width:768px){width:100%;}"]),Z=A.default.label.withConfig({displayName:"styles__CheckBoxLabel",componentId:"sc-ass4ty-8"})(["font-size:0.75rem;.form-checkbox{position:relative;float:left;width:1.4rem;height:1.4rem;position:relative;margin:0 auto;background:",";border:1px solid ",";color:",";float:left;cursor:pointer;.check{display:inline-block;position:absolute;transform:rotate(45deg);height:15px;width:7px;border-bottom:2px solid ",";border-right:2px solid ",";left:0.45rem;opacity:0;}input{float:left;position:relative;font-size:1.5rem;margin-right:0.5rem;width:1.4rem;height:1.4rem;visibility:hidden;&:checked + .check{opacity:1;}}}.form-label{float:left;position:relative;top:0.25rem;padding-left:0.5rem;cursor:pointer;&.title{font-weight:600;font-size:14px;}}"],M.A.colorWhite,M.A.colorBlack,M.A.colorWhite,M.A.colorBlack,M.A.colorBlack);var Q=({getCurrentLocation:e,formData:t,setRogersFilter:i,rogersFilter:a,setBellFilter:o,bellFilter:r,setInputRef:l,placeName:s,searchByQuery:u,toggleUserFilters:g,manualLocation:h})=>{const f=(0,d.d4)(c.EJ),[y,w]=(0,n.useState)(""),[b,I]=(0,n.useState)(!1),[A,v]=(0,n.useState)(h);(0,n.useEffect)(()=>{s&&v(s)},[s]),(0,n.useEffect)(()=>{h&&v(h)},[h]);const j=(0,n.useCallback)(e=>{var t;I(!1),null===(t=u(e))||void 0===t||t.catch(()=>I(!0))},[u]);(0,n.useEffect)(()=>{h&&(w(h),j(h))},[h,j]),(0,n.useEffect)(()=>{I(!1)},[f]),(0,n.useEffect)(()=>{var e,t;b?null===(e=document.getElementById("locationError"))||void 0===e||e.scrollIntoView():null===(t=document.getElementById("googleMap"))||void 0===t||t.scrollIntoView()},[b]);const M=(0,m.A)(t,p.tY.ContentfulId,"14QZCQBreIcitw947zYrXg").placeholderL
1abel,N=(0,m.A)(t,p.tY.ContentfulId,"4xgpWeTBpOB8yK9lPOsvoz").displayLabel,k=(0,m.A)(t,p.tY.ContentfulId,"56Hq2MegUq82vvBEsNzqOy").displayLabel,C=(0,m.A)(t,p.tY.ContentfulId,"6cWLmDTa6ZweTR9SmZRyT9").displayLabel,D=(0,m.A)(t,p.tY.ContentfulId,"72Ml1o6c4DvwixQk8MIxCk").displayLabel;return(0,L.jsx)(z,{children:(0,L.jsx)(P,{children:(0,L.jsxs)(E,{onSubmit:e=>{e.preventDefault();const t=A||y;t&&j(t)},"data-testid":"submit-form",children:[(0,L.jsxs)("fieldset",{children:[(0,L.jsxs)(W,{children:[(0,L.jsx)(B,{ref:l,type:"text",id:"address-input",name:"address-input",placeholder:(0,x.Ay)(M),style:{backgroundImage:"url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUiIGhlaWdodD0iMTYiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNNi4wNDUgMEE2LjEwNSA2LjEwNSAwIDAgMCAuMDA5IDUuNzUzTDAgNS45NTZ2LjI5NGE2LjEwNSA2LjEwNSAwIDAgMCA1Ljc1MyA1Ljk0MyA2LjAzIDYuMDMgMCAwIDAgMy41NTItLjkyN2wzLjQ5MiAzLjkxMSAxLjYwNS0xLjQyOXYtLjAwMmwtMy40OTktMy45MThhNi4wNSA2LjA1IDAgMCAwIDEuMjkyLTMuMzc2QTYuMTAzIDYuMTAzIDAgMCAwIDYuNDUxLjAxIDggOCAwIDAgMCA2LjE0OSAwek01Ljg2IDEwLjMyYTQuMjIgNC4yMiAwIDAgMS0zLjk3Ni00LjQ2IDQuMjIgNC4yMiAwIDAgMSA0LjQ1OS0zLjk3NiA0LjIyIDQuMjIgMCAwIDEgMy45NzcgNC40NiA0LjIyIDQuMjIgMCAwIDEtNC4yMTQgMy45ODNxLS4xMjIgMC0uMjQ2LS4wMDciLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBmaWxsPSIjMjAxRDFFIiBkPSJNLTEwLjAwMSAyNS4xNzdoMzQuNDA0di0zNS4xNzhoLTM0LjQwNHoiIG1hc2s9InVybCgjYikiLz48L2c+PC9zdmc+)"},"aria-label":"search a location",value:null!=A?A:"",onChange:({target:e})=>{const{value:t}=e;v(t),w(t)},"data-testid":"textfield-placeholder"}),(0,L.jsx)(R,{type:"button",onClick:e,style:{backgroundImage:"url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAiIGhlaWdodD0iMjEiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNMCAuODkxaDIwVjIxSDB6Ii8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtLjg5MSkiPjxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj48dXNlIHhsaW5rOmhyZWY9IiNhIi8+PC9tYXNrPjxwYXRoIGZpbGw9IiNFRTJFMjQiIGQ9Ik0xMCAxNi40MzZhNS41IDUuNSAwIDAgMS01LjQ5MS01LjQ5IDUuNDk3IDUuNDk3IDAgMCAxIDUuNDktNS40OTIgNS41IDUuNSAwIDAgMSA1LjQ5MyA1LjQ5MSA1LjUgNS41IDAgMCAxLTUuNDkzIDUuNDkxbTEwLTYuMTUzaC0zLjIxM2E2LjgzIDYuODMgMCAwIDAtNi4xMjQtNi4xMjJWLjg5MUg5LjMzOHYzLjI3YTYuODI1IDYuODI1IDAgMCAwLTYuMTIxIDYuMTIySDB2MS4zMjVoMy4yMTVhNi44MjUgNi44MjUgMCAwIDAgNi4xMjIgNi4xMjFWMjFoMS4zMjV2LTMuMjdhNi44MyA2LjgzIDAgMCAwIDYuMTI0LTYuMTJIMjB6IiBtYXNrPSJ1cmwoI2IpIi8+PC9nPjxwYXRoIGZpbGw9IiNFRTJFMjQiIGQ9Ik0xMCA2LjQxN2EzLjYzOCAzLjYzOCAwIDEgMSAuMDAzIDcuMjczIDMuNjM4IDMuNjM4IDAgMCAxLS4wMDQtNy4yNzMiLz48L2c+PC9zdmc+)"},"data-testid":"cta-button-locate",children:(0,x.Ay)(N)})]}),(0,L.jsxs)(W,{children:[(0,L.jsx)(Y,{children:(0,L.jsx)(Z,{children:(0,L.jsx)("div",{className:"form-label title",children:(0,x.Ay)(k)})})}),(0,L.jsx)(Y,{children:(0,L.jsxs)(Z,{htmlFor:"rogers","data-testid":"checkbox-rogers-internet",children:[(0,L.jsxs)("div",{className:"form-checkbox",children:[(0,L.jsx)("input",{type:"checkbox",id:"rogers",name:"rogers",checked:a,onChange:()=>{g(T.QN.ROGERS_HOME),i(!a)}}),(0,L.jsx)("div",{className:"check"})]}),(0,L.jsx)("div",{className:"form-label",children:(0,x.Ay)(C)})]})}),(0,L.jsx)(Y,{children:(0,L.jsxs)(Z,{htmlFor:"bell","data-testid":"checkbox-bell-internet",children:[(0,L.jsxs)("div",{className:"form-checkbox",children:[(0,L.jsx)("input",{type:"checkbox",id:"bell",name:"bell",checked:r,onChange:()=>{g(T.QN.BELL_HOME),o(!r)}}),(0,L.jsx)("div",{className:"check"})]}),(0,L.jsx)("div",{className:"form-label",children:(0,x.Ay)(D)})]})})]})]}),b&&(0,L.jsx)(_,{id:"locationError",children:"We could not find any location for your search. Please retry by entering a valid postal code or city name."})]})})})},G=i(81333),F=i(26945),O=JSON.parse('[{"elementType":"geometry","stylers":[{"color":"#f5f5f5"}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"elementType":"labels.text.fill","stylers":[{"color":"#616161"}]},{"elementType":"labels.text.stroke","stylers":[{"color":"#f5f5f5"}]},{"featureType":"administrative.land_parcel","elementType":"labels.text.fill","stylers":[{"color":"#bdbdbd"}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#eeeeee"}]},{"featureType":"poi","elementType":"labels.text.fill","stylers":[{"color":"#757575"}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#e5e5e5"}]},{"featureType":"poi.park","elementType":"labels.text.fill","stylers":[{"color":"#9e9e9e"}]},{"featureType":"road","elementType":"geometry","stylers":[{"color":"#ffffff"}]},{"featureType":"road.arterial","elementType":"labels.text.fill","stylers":[{"color":"#757575"}]},{"featureType":"road.highway","elementType":"geometry","stylers":[{"color":"#dadada"}]},{"featureType":"road.highway","elementType":"labels.text.fill","stylers":[{"color":"#616161"}]},{"featureType":"road.local","elementType":"labels.text.fill","stylers":[{"color":"#9e9e9e"}]},{"featureType":"transit.line","elementType":"geometry","stylers":[{"color":"#e5e5e5"}]},{"featureType":"transit.station","elementType":"geometry","stylers":[{"color":"#eeeeee"}]},{"featureType":"water","stylers":[{"color":"#447eff"}]},{"featureType":"water","elementType":"geometry","stylers":[{"color":"#c9c9c9"}]},{"featureType":"water","elementType":"geometry.fill","stylers":[{"color":"#0faded"}]},{"featureType":"water","elementType":"labels.text.fill","stylers":[{"color":"#9e9e9e"}]}]');const J=A.default.div.withConfig({displayName:"styles__StyledMap",componentId:"sc-ivem1f-0"})(["width:100%;height:100%;min-height:400px;@media only screen and (min-width:1023px){min-height:600px;}"]);var U=({bladeState:e,setBladeState:t,storeToDisplay:i})=>{const a=(0,d.d4)(c.EJ),o=(0,d.d4)(c.Wh),r=(0,d.wA)(),l=(0,n.useRef)(null),p=(0,n.useRef)(null),m=(0,n.useRef)(null),u=(0,n.useRef)([]),{isLoaded:g}=(0,F.A)({loadImmediately:!0}),x=(0,n.useCallback)((i,a)=>{var o;const{commonInfo:{address:{latitude:n,longitude:d}}}=i;if(!m.current||null===(o=window.google)||void 0===o||!o.maps)return null;const l=new window.google.maps.Marker({position:{lat:n,lng:d},optimized:!1,label:{text:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[a],color:"#ffffff"},map:m.current});return l.addListener("click",()=>{t(!e),r((0,s.Iq)(i))}),l},[r,e,t]),h=(e=9)=>{m.current&&m.current.setZoom(e)};return(0,n.useEffect)(()=>{var e;m.current&&a&&null!==(e=window.google)&&void 0!==e&&e.maps&&(l.current=ne
1w window.google.maps.Marker({position:a,optimized:!1,map:m.current}),m.current.setCenter(a),o&&!o.length&&h(12))},[o,a]),(0,n.useEffect)(()=>{var e;if(m.current&&i&&null!==(e=window.google)&&void 0!==e&&e.maps){const{commonInfo:{address:{latitude:e,longitude:t}}}=i,a=new window.google.maps.LatLng(e,(null!=t?t:0)+.03);m.current.setCenter(a),h(12)}},[i]),(0,n.useEffect)(()=>{var e;if(o&&m.current&&null!==(e=window.google)&&void 0!==e&&e.maps){u.current.forEach(e=>{e.setMap(null)}),u.current=[];const e=new window.google.maps.LatLngBounds;if(u.current=o.map((t,i)=>{const a=x(t,i);return a&&e.extend(a.getPosition()),a}).filter(e=>null!==e),u.current.length>0){m.current.fitBounds(e);const t=m.current.getZoom(),i=u.current[0],a=null==i?void 0:i.getPosition();t&&t<=7&&a&&(m.current.setCenter(a),m.current.setZoom(7))}}},[x,o]),(0,n.useEffect)(()=>{var e,t,i;if(g&&p.current&&null!==(e=window)&&void 0!==e&&null!==(t=e.google)&&void 0!==t&&null!==(i=t.maps)&&void 0!==i&&i.Map){const{Map:e}=window.google.maps;m.current=new e(p.current,{center:a,zoom:10,styles:O}),o&&(u.current=o.map((e,t)=>x(e,t)).filter(e=>null!==e))}},[x,g,o,a]),(0,L.jsx)(J,{ref:p})},H=i(91260),V=i(43139),X=i(31522),q=i(45094),K=i(48592);const $=A.default.div.withConfig({displayName:"styles__LocationsScreenWrapper",componentId:"sc-rvag7n-0"})(["display:flex;flex-direction:column;width:100%;max-width:100%;margin:0 auto;position:relative;clear:both;"]),ee=A.default.section.withConfig({displayName:"styles__TitleContainer",componentId:"sc-rvag7n-1"})(["width:100%;display:flex;max-width:","px;padding:0 ","rem;margin:0 auto;justify-content:flex-start;align-items:flex-start;@media screen and (max-width:1023px){padding:0 ","rem;flex-wrap:wrap;}"],M.A.defaultWidth,M.A.layoutPadding,M.A.mobileLayoutPadding),te=A.default.div.withConfig({displayName:"styles__SearchWrapper",componentId:"sc-rvag7n-2"})(["display:flex;flex-direction:column;width:100%;max-width:100%;min-width:0;margin:0 auto;position:relative;clear:both;padding:0;background-color:",";margin-top:30px;"],M.A.colorGreyLight),ie=A.default.div.withConfig({displayName:"styles__LocationsWrapper",componentId:"sc-rvag7n-3"})(["display:flex;flex-direction:column;width:100%;margin:0 auto;position:relative;clear:both;padding:0 0 60px;background-color:",";@media screen and (max-width:1023px){padding:0 0 40px;}"],M.A.colorGreyLight),ae=A.default.div.withConfig({displayName:"styles__UpperContainer",componentId:"sc-rvag7n-4"})(["width:100%;min-width:0;display:grid;grid-template-areas:'cards cards kiosk';grid-template-columns:2fr 2fr 3fr;grid-template-rows:auto;align-items:center;max-width:","px;padding:0 ","rem;margin:0 auto;@media screen and (max-width:1023px){padding:0 ","rem;display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;}@media screen and (max-width:767px){flex-direction:column;}"],M.A.defaultWidth,M.A.layoutPadding,M.A.mobileLayoutPadding),oe=A.default.div.withConfig({displayName:"styles__Container",componentId:"sc-rvag7n-5"})(["width:100%;display:flex;flex-wrap:wrap;max-width:","px;padding:0 ","rem;margin:0 auto;@media screen and (max-width:1023px){padding:0 ","rem;}"],M.A.defaultWidth,M.A.layoutPadding,M.A.mobileLayoutPadding),ne=A.default.h1.withConfig({displayName:"styles__Headline",componentId:"sc-rvag7n-6"})(["color:",";margin-bottom:1rem;grid-area:title;"],M.A.colorRed),re=A.default.div.withConfig({displayName:"styles__HeaderCards",componentId:"sc-rvag7n-7"})(["grid-area:cards;min-width:0;height:100%;@media screen and (max-width:1023px){width:50%;overflow:hidden;}@media screen and (max-width:767px){width:100%;margin:0 auto 20px;}@media screen and (max-width:480px){padding:0;}"]),de=A.default.div.withConfig({displayName:"styles__HeaderImage",componentId:"sc-rvag7n-8"})(["grid-area:kiosk;min-width:0;padding:0 0 0 20px;position:relative;top:14px;@media screen and (max-width:1023px){padding-left:0;margin-bottom:5px;width:50%;top:0;}@media screen and (max-width:767px){width:100%;margin:20px auto;}"]),le=A.default.div.withConfig({displayName:"styles__LowerSectionWrapper",componentId:"sc-rvag7n-9"})(["display:grid;grid-template-columns:63% 37%;align-content:center;align-items:center;min-width:0;@media screen and (max-width:1024px){grid-template-columns:1fr;}"]),se=A.default.div.withConfig({displayName:"styles__MobilistLeftContent",componentId:"sc-rvag7n-10"})(["display:grid;grid-template-columns:1fr 1fr;width:100%;min-width:0;height:600px;padding:30px;background-color:",";@media screen and (max-width:1024px){order:2;grid-template-columns:1fr;grid-template-rows:auto 440px;padding:40px ","rem 0;background-color:",";}"],M.A.colorGreyMedium,M.A.mobileLayoutPadding,M.A.colorGreyLight),ce=A.default.div.withConfig({displayName:"styles__MobilistImgWrapper",componentId:"sc-rvag7n-11"})(["background-image:url(",");background-size:auto 100%;background-repeat:no-repeat;background-position:center bottom;@media screen and (max-width:1200px){background-size:auto 88%;}@media screen and (max-width:1024px){background-size:65% auto;background-position:center top;order:2;}@media screen and (max-width:500px){background-size:90% auto;}"],e=>e.background),pe=A.default.div.withConfig({displayName:"styles__TextWrapper",componentId:"sc-rvag7n-12"})(["align-self:center;h2{color:",";text-align:left;}p{text-align:left;}@media screen and (max-width:1024px){order:1;}"],M.A.colorRed),me=A.default.div.withConfig({displayName:"styles__MobilistRightContent",componentId:"sc-rvag7n-13"})(["width:100%;min-width:0;height:fit-content;background-color:white;padding:30px;@media screen and (max-width:1024px){order:1;padding:40px ","rem;}"],M.A.mobileLayoutPadding),ue=A.default.div.withConfig({displayName:"styles__Description",componentId:"sc-rvag7n-14"})(["max-width:80%;min-width:0;overflow-wrap:break-word;a{font-weight:bold;}"]),ge={renderNode:{[o.nA.PARAGRAPH]:(e,t)=>(0,L.jsx)(ne,{children:t}),[o.nA.HEADING_1]:(e,t)=>(0,L.jsx)(ne,{children:t})}},xe={renderNode:{[o.nA.PARAGRAPH]:(e,t)=>(0,L.jsx)("p",{className:"legal",children:t})}},he={renderNode:{[o.nA.PARAGRAPH]:(e,t)=>(0,L.jsx)("p",{children:t})}},fe={renderNode:{[o.nA.PARAGRAPH]:(e,t)=>(0,L.jsx)("p",{children:t}),[o.nA.HEADING_3]:(e,t)=>(0,L.jsx)("h3",{children:t}),[o.XD.EMBEDDED_ENTRY]:e=>(0,L.jsx)(q.A,{route:e.data.target.ctaTarget,url:e.data.target.ctaUrl,linkText:e.data.target.ctaLabel.ctaLabel})}};var ye=({contentfulData:e,preferredProvince:t="",manualLocation:i})=>{var a,o,x,h,f,y,b,I,A;const{locale:v}=(0,r.A)(),j=(0,d.d4)(c.EJ),{queryParams:M}
1=(0,g.A)(),[N,k]=(0,n.useState)(!1);(0,n.useEffect)(()=>{k("TMS-Redemption-Event-SMS"===(null==M?void 0:M.utm_source))},[M]),(0,n.useEffect)(()=>{if(i){const e=document.getElementById("searchLocations");e&&requestAnimationFrame(()=>{e.scrollIntoView({behavior:"smooth",block:"start"})})}},[i]);const C=(0,m.A)(e.pageSections,p.tY.ContentfulId,"5RqUpNLMChnCW0PJfsa4TV"),T=(0,m.A)(e.pageSections,p.tY.ContentfulId,"3FfMKDRVnQ5gaFStIJTfKg"),S=(0,m.A)(e.pageSections,p.tY.ContentfulId,"2FAAizz5iNOQhULGBLX1Bv"),z=(0,m.A)(e.pageSections,p.tY.ContentfulId,"484nJsZWZZ5kKZ100Vpr25"),_=null==z||null===(a=z.combinatorSectionItems)||void 0===a||null===(o=a[0])||void 0===o?void 0:o.formFields,P=(0,m.A)(e.pageSections,p.tY.ContentfulId,"1Rgg1wnrCCgJECBQMQ79uL"),E=(0,m.A)(e.pageSections,p.tY.ContentfulId,"2tTyOf7jc0D448boAZaJZo"),B=(0,m.A)(e.pageSections,p.tY.ContentfulId,"eTk64V9bQX4vTVDrbIQ6d"),R=(0,m.A)(e.pageSections,p.tY.ContentfulId,"1RmVvqFYyA88tORGi3YVjh"),W=null===(x=e.pageSections)||void 0===x?void 0:x.find(e=>"value-proposition-section"===(null==e?void 0:e.componentType)),Y=(0,u.A)(),Z=(0,n.useContext)(G.dp),F=(0,d.d4)(c.Wh),{bladeState:O,setBladeState:J,getCurrentLocation:q,setInputRef:ne,placeName:ye,allStoreLogos:we,storeToDisplay:be,searchByQuery:Ie,setStoreToDisplay:Ae,toggleUserFilters:ve}=Z,{activeStore:je}=(0,l.A)(),[Me,Ne]=(0,n.useState)(!1),[ke,Ce]=(0,n.useState)(!1),Le=(0,d.wA)();return(0,L.jsxs)($,{className:"en"===v?"":"fr",children:[(0,L.jsx)(ee,{children:(0,L.jsx)(X.A,{document:null==C?void 0:C.heading,options:ge})}),(0,L.jsxs)(ae,{children:[T&&(0,L.jsx)(re,{children:(0,L.jsx)(D,{data:T})}),(0,L.jsx)(de,{children:(0,L.jsx)(w.A,{image:null==S?void 0:S.backgroundImageDesktop})})]}),(0,L.jsx)(te,{id:"searchLocations",children:(0,L.jsx)(Q,{formData:_,setRogersFilter:Ce,rogersFilter:ke,setBellFilter:Ne,bellFilter:Me,province:t,setInputRef:ne,placeName:ye,getCurrentLocation:q,toggleUserFilters:ve,searchByQuery:Ie,manualLocation:i})}),(0,L.jsxs)(ie,{id:"googleMap",children:[(0,L.jsx)(oe,{children:(0,L.jsx)(U,{storeToDisplay:be,setStoreToDisplay:Ae,bladeState:O,setBladeState:J})}),j&&(0,L.jsx)(oe,{children:(0,L.jsx)(H.A,{className:"map-list",selectedStore:je,allStoreLogos:we,searchByQuery:Ie,onClick:(0,u.A)()?void 0:e=>{e&&Ae(e),J(!O),Le((0,s.mF)(F)),Le((0,s.Iq)(e))}})}),W&&(0,L.jsx)(K.default,{data:W}),R&&"en"===v&&N&&(0,L.jsx)(V.default,{preExpand:!0,legalText:[R.contentBody]})]}),(0,L.jsxs)(le,{children:[(0,L.jsxs)(se,{children:[(0,L.jsx)(ce,{background:null==P||null===(h=P.foregroundImageDesktop)||void 0===h||null===(f=h.asset)||void 0===f||null===(y=f.localImage)||void 0===y?void 0:y.publicURL,alt:null==P||null===(b=P.foregroundImageDesktop)||void 0===b?void 0:b.altText}),(0,L.jsxs)(pe,{children:[(0,L.jsx)(X.A,{document:null==P||null===(I=P.imageDescription)||void 0===I?void 0:I.heading,options:xe}),(0,L.jsx)(X.A,{document:null==P||null===(A=P.imageDescription)||void 0===A?void 0:A.contentBody,options:he})]})]}),(0,L.jsx)(me,{children:(0,L.jsx)(ue,{children:(0,L.jsx)(X.A,{document:Y?null==B?void 0:B.contentBody:null==E?void 0:E.contentBody,options:fe})})})]})]})},we=i(45259);var be=({data:e,location:t})=>{var i,o,n,r,d,l,s,c;const p=null!==(i=null===(o=t.state)||void 0===o?void 0:o.addressQuery)&&void 0!==i?i:null,m=(0,we.A)({metaTitle:null!==(n=null===(r=e.contentfulPage)||void 0===r?void 0:r.metaTitle)&&void 0!==n?n:"Locations"});return(0,L.jsx)(G.Lj,{manualLocation:null!=p?p:void 0,children:(0,L.jsx)(a.default,{location:t,ldJson:m,seoTitle:null===(d=e.contentfulPage)||void 0===d?void 0:d.metaTitle,seoDescription:null===(l=e.contentfulPage)||void 0===l||null===(s=l.metaDescription)||void 0===s?void 0:s.metaDescription,seoKeywords:null===(c=e.contentfulPage)||void 0===c?void 0:c.keywords,children:(0,L.jsx)(ye,{contentfulData:e.contentfulPage,manualLocation:null!=p?p:void 0})})})}}}]);
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.