1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5586,3611],{47588:function(e,t,r){"use strict";var n,i=r(67294);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)}t.Z=e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 62 62"},e),n||(n=i.createElement("path",{fill:"#FFF",d:"M30.625 0 62 31 30.625 62l-4.273-4.185 24.14-23.852H0v-5.926h50.492L26.352 4.185z"})))},3611:function(e,t,r){"use strict";var n=r(85893),i=r(73606),a=r(45697),o=r.n(a);r(67294);let l=({children:e,shouldRenderOnUserSession:t=!1})=>{let{error:r,isLoading:a,user:o}=(0,i.aF)(),l=!r&&!a&&!!o;return t&&l||!t&&!l?e:(0,n.jsx)("div",{className:"auth-wrapper-empty d-none"})};l.propTypes={children:o().node.isRequired,shouldRenderOnUserSession:o().bool},t.Z=l},5586:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return C}});var n=r(85893),i=r(41664),a=r.n(i),o=r(45697),l=r.n(o),s=r(67294),d=r(18357),c=r(47588),h=r(3611),p=r(33460),_=r(43199),u=r(20034),f=r(49600),b=r(91949),x=r(9704),m=r(2630),v=r.n(m);let g={classSchedule:566,groupFitnessLanding:770},w=({data:e,page:t})=>{let{isMobile:r}=(0,x.Z)(),{setLeadFlowInfo:i}=(0,s.useContext)(b.K),[o,l]=(0,d.YD)({threshold:.9}),m=(e,t)=>{i({ctaEvent:`${t} | ${u.Tx.FOOTER}`,data:e.fields.leadFlow.fields,isEmbedded:!1})},w=(e,t)=>(0,n.jsx)("div",{className:v().findALocation,onClick:()=>m(t,e),children:(0,n.jsxs)("div",{className:v().findALocationInner,children:[e,(0,n.jsx)("div",{className:v().arrowWrapper,children:(0,n.jsx)(c.Z,{"aria-hidden":!0})})]})}),{title:C,slug:j,slugText:y,leadFlow:N,titleMultiline:k}=e.footer.fields,S={width:(r?200:g[t]||445)+"px"};return(0,n.jsx)("footer",{className:`${v().footer}`,"data-attr-module-name":"moduleFooter","data-in-view":l,"data-is":"StarkCta",ref:o,children:(0,n.jsxs)("section",{className:`${v().footerInner} container`,children:[(0,n.jsxs)("div",{className:v().headlineContainer,children:[k?(0,n.jsx)("h2",{className:v().title,children:(0,n.jsx)(p.Z,{richText:k})}):(0,n.jsx)("h2",{className:v().title,style:S,children:C}),(0,n.jsx)("div",{className:v().headlineHider})]}),(0,n.jsxs)("div",{className:`${v().ctaContainer} container`,children:[N?(0,n.jsx)(h.Z,{shouldRenderOnUserSession:!1,children:(0,n.jsx)(a(),{href:f.Z6.R,children:w(y,N)})}):(0,n.jsx)("a",{href:j,children:w(y,N)}),(0,n.jsx)("div",{className:v().ctaHider})]}),(0,n.jsx)("div",{className:v().findalocationWrapper,children:(0,n.jsx)(_.Z,{isFooter:!0,isWhite:!0,numberOfClubs:3})})]})})};w.defaulProps={page:""},w.propTypes={data:l().shape({footer:l().shape({fields:l().shape({leadFlow:l().object,slug:l().any,slugText:l().any,title:l().any,titleMultiline:l().object}),sys:l().object})}),page:l().string};var C=w},33460:function(e,t,r){"use strict";var n=r(85893),i=r(8105),a=r(5707),o=r(45697),l=r.n(o);r(67294);var s=r(59439),d=r.n(s);let c=({hasParagraphs:e=!1,richText:t=null})=>{let r={renderNode:{[a.RG.PARAGRAPH]:(t,r)=>e?`<p>${r(t.content)}</p>`:`${r(t.content)}`,[a.RG.HEADING_1]:(e,t)=>`<h2>${t(e.content)}</h2>`}};return t?(0,n.jsx)("span",{className:d().formattedText,dangerouslySetInnerHTML:{__html:(0,i.S)(t,r)}}):null};c.propTypes={hasParagraphs:l().bool,richText:l().any},t.Z=c},43199:function(e,t,r){"use strict";r.d(t,{Z:function(){return b}});var n,i=r(85893),a=r(41664),o=r.n(a),l=r(45697),s=r.n(l),d=r(67294);function c(){return(c=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)}var h=e=>d.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",width:40,height:40},e),n||(n=d.createElement("path",{fill:"#000",fillRule:"evenodd",d:"m23.94 19-3.118-3.116.708-.707 4.354 4.353-4.354 4.354-.707-.707L24 20h-9v-1z"}))),p=r(30441),_=r(63544),u=r.n(_);class f extends d.Component{abbreviateStreet(e){return e.replace("Street","St")}renderClubs(e,t){return e?.map((e,r)=>{let n=0===r?u().exploreClubFirst:u().exploreClub;return r<t&&i.jsx(o(),{href:`${e.clubDetailPageURL}`,children:i.jsxs("div",{className:n,children:[i.jsx("span",{className:u().clubName,children:e.webName}),i.jsx("span",{className:u().address,children:this.abbreviateStreet(e.address)})]})},u().clubName)})}renderMobileClub(e){let t=e?.[0];return t&&(0,i.jsx)(o(),{href:`${t.clubDetailPageURL}`,children:(0,i.jsxs)("span",{children:[" ",t.webName," "]})})}render(){let{isWhite:e,nearbyClubs:t,numberOfClubs:r,isFooter:n}=this.props,a=e?u().whiteTheme:u().transparentTheme,l=!n&&e&&u().whiteThemePadding,s=n?u().exploreHeaderBlack:u().exploreHeader,d=t?.length>0?u().visible:u().invisible;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:`d-none d-lg-block ${u().exploreAClub} ${d}`,children:[(0,i.jsx)("span",{className:`${s}`,children:"Explore a club near you"}),(0,i.jsxs)("div",{className:`${u().exploreClubInner} ${a} ${l}`,children:[this.renderClubs(t,r),(0,i.jsx)(o(),{href:"/clubs",children:(0,i.jsx)("div",{className:u().exploreMoreClubs,children:"Explore More Clubs"})})]})]}),(0,i.jsxs)("div",{className:`${u().exploreAClubMobile} ${d} d-flex d-lg-none`,children:[(0,i.jsxs)("div",{className:u().exploreLeft,children:[(0,i.jsxs)("div",{className:`${u().exploreLeftInner} ${u().exploreHeader}`,children:[" ","Explore our 100+ Locations"]}),(0,i.jsxs)("div",{className:`${u().exploreLeftInner} ${u().exploreClub}`,children:[" ",this.renderMobileClub(t)]})]}),(0,i.jsx)("div",{className:u().exploreRight,children:(0,i.jsx)(o(),{href:"/clubs",children:(0,i.jsx)("div",{className:u().arrow,children:(0,i.jsx)(h,{})})})})]})]})}}f.propTypes={isFooter:s().bool,isWhite:s().bool,nearbyClubs:s().array,numberOfClubs:s().number.isRequired};var b=e=>{let{nearbyClubs:t}=(0,p.Z)();return(0,i.jsx)(f,{...e,nearbyClubs:t})}},2630:function(e){e.exports={footer:"StarkCta_footer__JAByx","footer-inner":"StarkCta_footer-inner__v0FBW",footerInner:"StarkCta_footer-inner__v0FBW","headline-container":"StarkCta_headline-container__IMQLT",headlineContainer:"StarkCta_headline-container__IMQLT",title:"StarkCta_title__T0ndy","headline-hider":"StarkCta_headline-hider__WY3zI",headlineHider:"StarkCta_headline-hider__WY3zI","cta-container":"StarkCta_cta-container__QM_Jb",ctaContainer:"StarkCta_cta-container__QM_Jb","find-a-location":"StarkCta_find-a-location__7CE0r",findALocation:"StarkCta_find-a-location__7CE0r","find-a-location-inner":"StarkCta_find-a-location-inner__L7sHk",findALocationInner:"StarkCta_find-a-location-inner__L7sHk","arrow-wrapper":"StarkCta_arrow-wrapper__W3nEw",arrowWrapper:"StarkCta_arrow-wrapper__W3nEw","cta-hider":"StarkCta_cta-hider__nZgIK",ctaHider:"StarkCta_cta-hider__nZgIK","findalocation-wrapper":"StarkCta_findalocation-wrapper__44Nat",findalocationWrapper:"StarkCta_findalocation-wrapper__44Nat"}},59439:function(e){e.exports={"formatted-text":"formatted-description_formatted-text__moW_o",formattedText:"formatted-description_formatted-text__moW_o"}},63544:function(e){e.exports={visible:"find-a-location_visible__sjS
1p9",invisible:"find-a-location_invisible__tGTjt","explore-a-club":"find-a-location_explore-a-club__rlym4",exploreAClub:"find-a-location_explore-a-club__rlym4","club-name":"find-a-location_club-name__y_mXN",clubName:"find-a-location_club-name__y_mXN","explore-more-clubs":"find-a-location_explore-more-clubs__9ttcz",exploreMoreClubs:"find-a-location_explore-more-clubs__9ttcz","explore-header":"find-a-location_explore-header__R_ZFz",exploreHeader:"find-a-location_explore-header__R_ZFz","explore-header--black":"find-a-location_explore-header--black__amE_S",exploreHeaderBlack:"find-a-location_explore-header--black__amE_S","white-theme":"find-a-location_white-theme__uTzBi",whiteTheme:"find-a-location_white-theme__uTzBi","white-theme--withPadding":"find-a-location_white-theme--withPadding__U9m5X",whiteThemeWithPadding:"find-a-location_white-theme--withPadding__U9m5X","white-theme-padding":"find-a-location_white-theme-padding__g9S6n",whiteThemePadding:"find-a-location_white-theme-padding__g9S6n","transparent-theme":"find-a-location_transparent-theme__xv3Q8",transparentTheme:"find-a-location_transparent-theme__xv3Q8",address:"find-a-location_address__CcoSy","explore-club-first":"find-a-location_explore-club-first__heD94",exploreClubFirst:"find-a-location_explore-club-first__heD94","explore-club":"find-a-location_explore-club__5H_aW",exploreClub:"find-a-location_explore-club__5H_aW","explore-a-club-mobile":"find-a-location_explore-a-club-mobile__MdoTQ",exploreAClubMobile:"find-a-location_explore-a-club-mobile__MdoTQ","explore-left":"find-a-location_explore-left__75nBk",exploreLeft:"find-a-location_explore-left__75nBk","explore-left-inner":"find-a-location_explore-left-inner__iieu9",exploreLeftInner:"find-a-location_explore-left-inner__iieu9","explore-right":"find-a-location_explore-right__7ngwN",exploreRight:"find-a-location_explore-right__7ngwN"}},18357:function(e,t,r){"use strict";r.d(t,{YD:function(){return _},df:function(){return p}});var n=r(67294),i=Object.defineProperty,a=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,o=(e,t,r)=>a(e,"symbol"!=typeof t?t+"":t,r),l=new Map,s=new WeakMap,d=0,c=void 0;function h(e,t,r={},n=c){if(void 0===window.IntersectionObserver&&void 0!==n){let i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:a,elements:o}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?(r=e.root)?(s.has(r)||(d+=1,s.set(r,d.toString())),s.get(r)):"0":e[t]}`}).toString(),r=l.get(t);if(!r){let n;let i=new Map,a=new IntersectionObserver(t=>{t.forEach(t=>{var r;let a=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(r=i.get(t.target))||r.forEach(e=>{e(a,t)})})},e);n=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:a,elements:i},l.set(t,r)}return r}(r),h=o.get(e)||[];return o.has(e)||o.set(e,h),h.push(t),a.observe(e),function(){h.splice(h.indexOf(t),1),0===h.length&&(o.delete(e),a.unobserve(e)),0===o.size&&(a.disconnect(),l.delete(i))}}var p=class extends n.Component{constructor(e){super(e),o(this,"node",null),o(this,"_unobserveCb",null),o(this,"handleNode",e=>{!this.node||(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()}),o(this,"handleChange",(e,t)=>{e&&this.props.triggerOnce&&this.unobserve(),"function"!=typeof this.props.children||this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)}),this.state={inView:!!e.initialInView,entry:void 0}}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:e,root:t,rootMargin:r,trackVisibility:n,delay:i,fallbackInView:a}=this.props;this._unobserveCb=h(this.node,this.handleChange,{threshold:e,root:t,rootMargin:r,trackVisibility:n,delay:i},a)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:e}=this.props;if("function"==typeof e){let{inView:t,entry:r}=this.state;return e({inView:t,entry:r,ref:this.handleNode})}let{as:t,triggerOnce:r,threshold:i,root:a,rootMargin:o,onChange:l,ski
1p:s,trackVisibility:d,delay:c,initialInView:h,fallbackInView:p,..._}=this.props;return n.createElement(t||"div",{ref:this.handleNode,..._},e)}};function _({threshold:e,delay:t,trackVisibility:r,rootMargin:i,root:a,triggerOnce:o,skip:l,initialInView:s,fallbackInView:d,onChange:c}={}){var p;let[_,u]=n.useState(null),f=n.useRef(c),[b,x]=n.useState({inView:!!s,entry:void 0});f.current=c,n.useEffect(()=>{let n;if(!l&&_)return n=h(_,(e,t)=>{x({inView:e,entry:t}),f.current&&f.current(e,t),t.isIntersecting&&o&&n&&(n(),n=void 0)},{root:a,rootMargin:i,threshold:e,trackVisibility:r,delay:t},d),()=>{n&&n()}},[Array.isArray(e)?e.toString():e,_,a,i,o,l,r,d,t]);let m=null==(p=b.entry)?void 0:p.target,v=n.useRef(void 0);_||!m||o||l||v.current===m||(v.current=m,x({inView:!!s,entry:void 0}));let g=[u,b.inView,b.entry];return g.ref=g[0],g.inView=g[1],g.entry=g[2],g}}}]); 2//# sourceMappingURL=5586-ef8aaf7cdc37a7b3.js.map
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.