{"version":3,"file":"StepsStrip.ChwKRX7R.mjs","names":["React.useRef","React.useState","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","le","_e","p","c","init_jsx_runtime","de","init_framer_Bf4_tcb2","RenderTarget","ControlType","addPropertyControls","StepsStrip","props","isCanvas","ref","shown","setShown","DESKTOP_MQ","io","entries","data","preset","PRESETS","steps","fg","dark","sub","style","i","HEAD_FONT","accent","accent2","s","BODY_FONT","init_StepsStrip"],"sources":["https:/framerusercontent.com/modules/2QIWgnGUPCOvZWD88s4p/5qGy5yoRyclMVPt4hvhZ/StepsStrip.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const HEAD_FONT=\"'Montserrat', 'Helvetica Neue', sans-serif\";const BODY_FONT=\"'Archivo', 'Helvetica Neue', sans-serif\";const DESKTOP_MQ=\"(min-width: 810px)\";// Built-in step sets. Array props can't be set per-instance via the MCP,\n// so instances pick a preset; \"custom\" uses the editable Steps array.\nconst PRESETS={sunday:[{title:\"Park and say hi\",body:\"Pull into any open spot. Our team will meet you at the door and walk you right where you need to go.\"},{title:\"Check in your kids\",body:\"RO KiDS check-in takes about five minutes the first time. Background-checked teams, secure check-in, zero stress.\"},{title:\"Grab coffee, find a seat\",body:\"Services run about 75 minutes. You will never be singled out or put on the spot. Come as you are.\"}],wednesday:[{title:\"Doors open at 6\",body:\"Hang out, snacks, games, loud music. Come as you are.\"},{title:\"Worship and real talk\",body:\"Student-led worship and honest teaching that meets students where they actually are.\"},{title:\"Small groups by grade\",body:\"The same leaders every week, so someone always knows your name.\"}],belonging:[{title:\"Start on a Sunday\",body:\"Show up at 8, 9:30, or 11AM. Sit in the back if you want to. Nobody will single you out.\"},{title:\"Get in a group\",body:\"A room of twelve is where you actually get known. Filter by night, life stage, and childcare, then join in one click.\"},{title:\"Serve the city with us\",body:\"You belong faster on a team than in a seat. Pack food bags, wrap around a foster family, or join a Local Good day.\"}],careportal:[{title:\"A caseworker sees a need\",body:\"A social worker in Rutherford County meets a child or family in crisis and enters the specific need into CarePortal.\"},{title:\"The request comes to us\",body:\"That request lands with churches nearby, including River Oaks. Beds, car seats, clothes, groceries, and school supplies.\"},{title:\"We meet it together\",body:\"Our team answers with real items and real presence, and often a relationship that outlasts the request.\"}],foodweek:[{title:\"Tuesday: pick up the empties\",body:\"A team collects last week's bags from Blackman and Rockvale and brings them back to the church.\"},{title:\"Wednesday: pack the bags\",body:\"We fill every bag with food a kid can open and eat without an adult. It takes about an hour with enough hands.\"},{title:\"Thursday: deliver before the weekend\",body:\"Bags go back to both schools so no child on that list goes home to an empty pantry on Friday.\"}]};/**\n * Numbered steps strip — \"your first Sunday, step by step.\" Reduces\n * first-timer anxiety by making the unknown concrete. 1-4 steps in a\n * responsive row that stacks on mobile. Desktop-only staggered rise\n * on scroll (transform/opacity, IntersectionObserver, once).\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1100\n */export default function StepsStrip(props){const{preset,steps=[],accent,accent2,dark,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const ref=React.useRef(null);const[shown,setShown]=React.useState(true);React.useLayoutEffect(()=>{if(isCanvas||typeof window===\"undefined\")return;if(!window.matchMedia(DESKTOP_MQ).matches)return;if(window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches)return;if(!(\"IntersectionObserver\"in window))return;setShown(false);const io=new IntersectionObserver(entries=>{if(entries.some(e=>e.isIntersecting)){setShown(true);io.disconnect();}},{threshold:.2});if(ref.current)io.observe(ref.current);return()=>io.disconnect();},[isCanvas]);const data=preset&&preset!==\"custom\"?PRESETS[preset]||steps:steps;const fg=dark?\"#ffffff\":\"#000000\";const sub=dark?\"rgba(255,255,255,0.78)\":\"#333333\";return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",display:\"grid\",gridTemplateColumns:\"repeat(auto-fit, minmax(min(240px, 100%), 1fr))\",gap:28,...style},children:data.map((s,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:10,opacity:shown?1:0,transform:shown?\"none\":\"translateY(22px)\",transition:`opacity 0.5s ease ${i*.09}s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) ${i*.09}s`},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:HEAD_FONT,fontWeight:800,fontSize:15,width:40,height:40,borderRadius:999,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#ffffff\",background:`linear-gradient(140deg, ${accent}, ${accent2})`},children:i+1}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:HEAD_FONT,fontWeight:700,fontSize:19,lineHeight:1.2,color:fg},children:s.title}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:BODY_FONT,fontSize:15.5,lineHeight:1.5,color:sub},children:s.body})]},i))});}addPropertyControls(StepsStrip,{preset:{type:ControlType.Enum,title:\"Steps Set\",options:[\"sunday\",\"wednesday\",\"belonging\",\"careportal\",\"foodweek\",\"custom\"],optionTitles:[\"First Sunday\",\"Wednesday Night\",\"How Belonging Happens\",\"How CarePortal Works\",\"Food Bag Week\",\"Custom\"],defaultValue:\"sunday\",description:\"Custom uses the Steps list below\"},steps:{type:ControlType.Array,title:\"Steps\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,defaultValue:\"Step title\"},body:{type:ControlType.String,displayTextArea:true,defaultValue:\"\"}}},defaultValue:PRESETS.sunday},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#4d9ee9\"},accent2:{type:ControlType.Color,title:\"Accent 2\",defaultValue:\"#3d8c62\"},dark:{type:ControlType.Boolean,title:\"On Dark\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StepsStrip\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth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