{"version":3,"file":"ClosingStep.C4xTgJ6U.mjs","names":["React.useRef","FramerModule.useRouter","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","init_jsx_runtime","c","p","de","window","useRouter","ControlType","addPropertyControls","init_framer_D1IzEvwH","useTap","router","useRouterIfAny","rr","w","d","r","src","pv","q","to","placement","ClosingStep","props","tap","where","to1","buttonLink","to2","linkLink","heading","CSS","line","button","link","init_ClosingStep"],"sources":["https:/framerusercontent.com/modules/PQbyQq8YX5m7Hh8qejD6/FOGUxVVMJVgMuWeEBw0D/ClosingStep.js"],"sourcesContent":["// Athletic Reformer: a next step for new people at the end of pages that end with nothing (FAQs, Our story, Trainers,\n// Testimonials, Contact us, Home). One dark blue band above the footer: a heading, a line, the main button (to Pricing)\n// and a link to the Class schedule. Web-first journey, 20 Nov 2026.\n// Notes: 04-Website-Landing-Pages/website-web-first-journey-2026-11/README.md\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import*as FramerModule from\"framer\";// Counts a tap on one of the website buttons (Meta pixel, Google Analytics, and Framer's own numbers when the site offers\n// its page-view record), the same way the /start page does. Never throws.\nconst useRouterIfAny=FramerModule.useRouter;function useTap(){let router=null;try{router=typeof useRouterIfAny===\"function\"?useRouterIfAny():null;}catch(e){router=null;}const rr=React.useRef(router);rr.current=router;return(placement,to)=>{try{const w=window,d={placement,to};try{if(typeof w.fbq===\"function\")w.fbq(\"trackCustom\",\"WebStartClick\",d);}catch(e){}try{if(typeof w.gtag===\"function\")w.gtag(\"event\",\"web_start_click\",d);}catch(e){}(async()=>{try{const r=rr.current,src=r&&r.pageviewEventData?r.pageviewEventData.current:null;const pv=src&&typeof src.then===\"function\"?await src:src;const q=w.__framer_events;if(pv&&q&&typeof q.push===\"function\")q.push([\"published_site_click\",{...pv,href:to,nodeId:null,trackingId:\"web-\"+placement,targetRoutePath:null,targetWebPageId:null,targetCollectionItemId:null},\"eager\"]);}catch(e){}})();}catch(e){}};}const F=\"https://framerusercontent.com/assets/\";// Weights follow the approved picture: the page's own light Enkel for the words, as on the pages this band sits on.\nconst CSS=`\n@font-face{font-family:\"CLS Enkel\";src:url(${F}bPfVgTrAeNBbyA7mPbMJPy1Jv8w.woff2) format(\"woff2\");font-weight:100 900;font-style:normal;font-display:swap}\n.cls{box-sizing:border-box;width:100%;padding:36px 20px 44px;background:#183F58;color:#FAF7EB;text-align:center;font-family:\"Enkel Light\",\"CLS Enkel\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:300;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}\n.cls *{box-sizing:border-box}\n.cls-in{max-width:1376px;margin:0 auto}\n.cls-h{margin:0 0 6px;font-weight:300;font-size:24px;line-height:1.2;text-wrap:balance}\n.cls-p{margin:0 0 20px;font-size:17px;line-height:1.4;text-wrap:balance}\n.cls-b{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:10px 28px;border-radius:999px;background:#FB9F5A;color:#08161D;font-weight:300;font-size:17px;line-height:1.1;text-decoration:none}\n.cls-b:active{transform:translateY(1px)}\n.cls-l{margin:12px 0 0}\n.cls-l a{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:10px 28px;border-radius:999px;box-shadow:inset 0 0 0 2px #FAF7EB;color:#FAF7EB;font-weight:300;font-size:17px;line-height:1.1;text-decoration:none}\n.cls-l a:active{transform:translateY(1px)}\n.cls a:focus-visible{outline:3px solid #F7EA8A;outline-offset:3px;border-radius:999px}\n@media (hover:hover){.cls-b:hover{filter:brightness(.97)}.cls-l a:hover{background:rgba(250,247,235,.08)}}\n@media (min-width:810px){.cls{padding:56px 32px 60px}.cls-h{font-size:30px}.cls-p{font-size:18px;margin-bottom:24px}}\n`;/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function ClosingStep(props){const{heading=\"New to Athletic Reformer?\",line=\"Start with 6 classes in your first 3 weeks.\",button=\"Start with PowerStart\",buttonLink,link=\"See the schedule\",linkLink,style}=props;const tap=useTap();// which page the band is on, for the tap count: \"closing-faqs\", \"closing-home\", ...\nconst where=()=>{try{return(location.pathname.replace(/^\\/+|\\/+$/g,\"\")||\"home\").replace(/[^a-z0-9-]/gi,\"-\");}catch(e){return\"\";}};const to1=buttonLink||\"/memberships#start\",to2=linkLink||\"/class-schedule\";return /*#__PURE__*/_jsxs(\"section\",{className:\"cls\",\"aria-label\":heading,style:style,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsxs(\"div\",{className:\"cls-in\",children:[/*#__PURE__*/_jsx(\"h2\",{className:\"cls-h\",children:heading||\"New to Athletic Reformer?\"}),line?/*#__PURE__*/_jsx(\"p\",{className:\"cls-p\",children:line}):null,/*#__PURE__*/_jsx(\"a\",{className:\"cls-b\",href:to1,\"data-web\":\"closing\",onClick:()=>tap(\"closing-\"+where(),to1),children:button||\"Start with PowerStart\"}),link?/*#__PURE__*/_jsx(\"p\",{className:\"cls-l\",children:/*#__PURE__*/_jsx(\"a\",{href:to2,\"data-web\":\"closing-schedule\",onClick:()=>tap(\"closing-schedule-\"+where(),to2),children:link})}):null]})]});}addPropertyControls(ClosingStep,{heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"New to Athletic Reformer?\"},line:{type:ControlType.String,title:\"Line\",defaultValue:\"Start with 6 classes in your first 3 weeks.\"},button:{type:ControlType.String,title:\"Button\",defaultValue:\"Start with PowerStart\"},buttonLink:{type:ControlType.Link,title:\"Button link\"},link:{type:ControlType.String,title:\"Link\",defaultValue:\"See the schedule\"},linkLink:{type:ControlType.Link,title:\"Link goes to\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ClosingStep\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__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