{"version":3,"file":"FAQAccordion.0cFfkJs4.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/ubrYM6OhAmavttIWTxLa/3NwXloTeOzAw2d6ODtF3/FAQAccordion.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{motion,AnimatePresence}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";const HEAD_FONT=\"'Montserrat', 'Helvetica Neue', sans-serif\";const BODY_FONT=\"'Archivo', 'Helvetica Neue', sans-serif\";// Single source of truth for default FAQ copy — referenced by both the\n// property controls and the render-time copy healing below.\nconst FAQ_DEFAULTS=[{question:\"What are your services like?\",answer:\"Services last about 65 minutes. We sing together, hear practical teaching straight from the Bible, and you'll never be singled out or put on the spot. Come as you are.\"},{question:\"What will happen when I visit for the first time?\",answer:\"Park in any open spot, and our team will point you where to go. Check your kids into RO KiDS (it takes about five minutes the first time), grab a coffee, and find a seat. That's it. We can't wait to meet you.\"},{question:\"What do I wear?\",answer:\"Whatever you're comfortable in. You'll see everything from jeans and sneakers to Sunday best. There's no dress code at River Oaks.\"},{question:\"What's the vibe like?\",answer:\"Warm and real. We're a growing church full of people from every background and story. Nobody here has it all figured out, and you don't need to either.\"}];const KIDS_FAQ=[{question:\"What curriculum is used in RO KiDS?\",answer:\"We use the Orange Curriculum.\"},{question:\"This is my first time at River Oaks Church. How do I check in my child(ren)?\",answer:\"Our check-in desk for new families is down the main hallway to the right after the bathrooms. You can't miss it. We have a check-in team that will greet you, walk you through the registration process, and guide you to your child's class.\\n\\nBetter yet, you can pre-register your kids ahead of time using the Pre-Register button on this page.\"},{question:\"Who will be caring for my child(ren)?\",answer:\"All volunteers are background checked and screened before ever stepping foot in a classroom and are required to attend a children's volunteer training each year. For peace of mind, accountability, and safety, our classrooms are always monitored and are also equipped with an active shooter lockdown system. We always have police officers on premise during services along with a security team stationed at all entrances.\"},{question:\"How early can I check in my child(ren)?\",answer:\"Drop off for River Oaks KiDS begins 10 minutes prior to each service time. Returning families can check in at our computers in the children's area. New guests can pre-register their kids using the Pre-Register button on this page.\"},{question:\"Am I able to bring my child to River Oaks KiDS late or pick them up early?\",answer:\"Your child's comfort and safety are our top priority. Feel free to drop off late or pick your child up early, until you and they feel comfortable staying an entire service.\"},{question:\"Am I able to bring my child into service?\",answer:\"Your child's comfort and safety are our top priority. If they are uncomfortable in the designated rooms for their age, you are welcome to bring them in service. However, we believe your family will be better served working towards your children being in the room that has their age-appropriate curriculum and experience. If children become distracting in the auditorium during our service, we do politely ask that you remove them until they are quiet again.\"}];const STUDENTS_FAQ=[{question:\"What grades is River Oaks Students for?\",answer:\"Middle School is 6th through 8th grade. High School is 9th through 12th grade.\"},{question:\"Who will be caring for my student(s)?\",answer:\"All volunteers are background checked and screened before ever stepping foot on our campus for student ministry. Each volunteer is required to attend a student volunteer training each year. For peace of mind, accountability, and safety, our rooms are always monitored and are also equipped with an active shooter lockdown system. We always have police officers on site during our student ministry times.\"},{question:\"What does a typical student night look like?\",answer:\"Each student night will include hang out time, worship, teaching, and groups where they meet with their grade. Each group has two leaders over it.\"}];const GIVE_FAQ=[{question:\"What is a tithe and what is an offering?\",answer:'\"A tithe of everything from the land, whether grain from the soil or fruit from the trees, belongs to the Lord; it is holy to the Lord.\" Leviticus 27:30 (NIV)\\n\\nWe are stewards, not owners, of what God has entrusted to us. Therefore, tithing is bringing back what is God\\'s to God, and He entrusts us with the remainder to use appropriately.\\n\\nA tithe is a mathematical term and literally means 10%. The Principle of First instructs us to bring the tithe first.\\n\\n\"Bring the whole tithe into the storehouse, that there may be food in my house. Test me in this,\" says the Lord Almighty, \"and see if I will not throw open the floodgates of heaven and pour out so much blessing that there will not be room enough to store it.\" Malachi 3:10 (NIV)\\n\\nJesus said that we ought to bring the tithe. Any amount above 10% is considered an offering to God. This type of giving is over and above the tithe and should be done with cheerfulness.'},{question:\"Why do we give?\",answer:\"Giving is one of the key ways we worship God. Throughout Scripture, we see that God gave. As we seek to become more like Christ, we will grow in our giving. The storehouse spoken of in Malachi is what we consider the local church. By partnering our monies together, God's work is done more effectively. Even Paul recognized this in the newly formed churches of the New Testament. He tells the Corinthians in 2 Corinthians 8:13-15,\\n\\n\\\"Our desire is not that others might be relieved while you are hard pressed, but that there might be equality. At the present time your plenty will supply what they need, so that in turn their plenty will supply what you need. Then there will be equality, as it is written: 'He who gathered much did not have too much, and he who gathered little did not have too little.'\\\"\"},{question:\"Who processes our online giving?\",answer:\"River Oaks is partnered with Planning Center for digital giving. Planning Center is recognized as an industry leader for giving technology and provides a convenient, secure, and easy-to-use mobile experience. If you have any questions, please contact onlinegiving@riveroaks.church.\"},{question:\"What is River Oaks accountability?\",answer:'River Oaks Church is an elder governed, staff led congregation that strives to equip God\\'s people to saturate greater Murfreesboro with the love of Jesus. The elders are elected from among the members of the congregation in accordance with the by-laws of the Church.\\n\\nWe are a nondenominational church, and our lead pastor is licensed and ordained under the Baptist spiritual authority.\\n\\nAn elder board, comprised of independent members of the church with expertise in non-profit governance, oversees the scope and execution of our finances through an \"in-house\" audit accountability.'},{question:\"I have the gift of generosity, how can I do more?\",answer:\"At River Oaks Church, we prayerfully plan and run our budgets every six months, carefully stewarding every dollar that comes in. Our vision is bold: we are working toward giving away 51% of all that we receive to advance God's kingdom locally. The best way to give generously above your tithe is by contributing to our General Fund. This approach allows us to allocate resources wisely and strategically, ensuring that every six months we can faithfully and effectively invest in ministry and generosity.\"}];// Biblical counseling copy, mirrored from riveroaks.church/biblical-counseling\n// (2026-08-27). The live site runs this as one long article; an accordion keeps\n// the same detail on the Care page without a wall of text.\nconst CARE_FAQ=[{question:\"What can I expect from the Care Team?\",answer:\"When you meet with the River Oaks Church Care Team, you can count on compassionate, dedicated support. We are committed to praying with you, listening carefully, and pointing you toward Christ in a warm and spiritually grounded environment.\\n\\nOur team members don't claim to have every answer, but they will eagerly labor alongside you to seek God's direction through Scripture. Every team member operates under the authority of God's Word and the leadership of River Oaks Church.\"},{question:\"What place does Scripture have in counseling?\",answer:'Every conversation with our Care Team centers on God\\'s Word. We believe that \"all Scripture is breathed out by God and profitable for teaching, for reproof, for correction, and for training in righteousness\" (2 Timothy 3:16-17). Because of this, the Bible is our ultimate authority and primary tool for guidance.'},{question:\"Will you advise me on medication or medical decisions?\",answer:\"No. Our ministry focuses purely on spiritual care. Care Team members will never advise you to start, stop, or change any prescription medications. Any changes to medical treatments should be discussed directly with your healthcare provider.\"},{question:\"What is my role in the process?\",answer:\"Counseling requires active effort. While your counselor offers encouragement and biblical insights, real progress depends on your willingness to put those principles into practice.\\n\\nTo help translate wisdom into everyday action, most meetings end with simple take-home assignments. These projects are meant to encourage real life change, not just to check a box. Because active participation is crucial to healing, completing these assignments is required to keep scheduling appointments. If unexpected life circumstances make an assignment difficult, just communicate with your counselor so adjustments can be made.\"},{question:\"How does counseling end?\",answer:\"The ultimate objective of our Care Team is to help you build the tools needed to handle life's challenges independently through Christ. Once those habits are established, counseling successfully concludes. Either you or your counselor may also choose to end sessions at any point prior to graduation.\"},{question:\"Is there a cost?\",answer:\"River Oaks Church does not charge a fixed fee for Care Team services. We suggest a donation of $35 per session to help sustain the ministry. Similar counseling services in our region typically run between $75 and $140 per visit.\\n\\nLack of funds will never keep you from getting support, and no one is ever turned away for financial reasons. We simply ask that you prayerfully consider contributing whatever you are able, to help us serve others.\"},{question:\"Do I need to attend River Oaks?\",answer:\"Spiritual health relies heavily on active participation in a local church community (Hebrews 10:25). Individual counseling is designed to supplement, not replace, the support found in a regular church family.\\n\\nIf you do not currently belong to a church, we ask that you attend services at River Oaks Church for the duration of your counseling. Once your sessions conclude, we are happy to help you find a local congregation or welcome you into ours.\"},{question:\"How is my privacy handled?\",answer:\"We deeply respect your privacy and handle all personal information with care. However, absolute confidentiality is not supported by Scripture or law.\\n\\nAccording to biblical principles (Matthew 18:15-17), if a covenant member of River Oaks Church is involved in unrepentant sin, pastoral leadership may be notified to help guide the individual toward restoration.\\n\\nLegal and biblical standards (Romans 13:1-3) also require us to report safety concerns to the appropriate authorities, including any suspected child abuse or neglect, direct threats of danger or severe harm to yourself or others, formal court orders or legal subpoenas, and unreported violent or life-threatening crimes.\"}];// Each page needs its own question set, but the Framer MCP cannot write\n// Array property controls. A preset selector keeps one component while\n// letting every page pick its list with a plain string prop.\nconst PRESETS={Visit:FAQ_DEFAULTS,Kids:KIDS_FAQ,Students:STUDENTS_FAQ,Give:GIVE_FAQ,Care:CARE_FAQ};// Copy healing: instances snapshot array props at insert time, so old\n// instances still carry pre-rewrite copy with em dashes. If an incoming\n// answer contains an em dash and we have corrected default copy for that\n// question, render the corrected text; client edits (no em dash) always win.\nconst ANSWER_HEALS=Object.fromEntries(Object.values(PRESETS).flat().map(d=>[d.question,d.answer]));const healAnswer=(question,answer)=>answer&&answer.includes(\"—\")&&ANSWER_HEALS[question]?ANSWER_HEALS[question]:answer;/**\n * Accessible FAQ accordion with smooth expand/collapse.\n *\n * Every row starts CLOSED and only opens on a click (client build-out doc:\n * \"None of the bullet points for FAQs auto opening\"). The old open-on-scroll\n * reveal and the open-first-item default were removed for that reason; the\n * autoOpen prop is still accepted from old instances but deliberately unused.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 720\n */export default function FAQAccordion(props){const{items=[],preset=\"Custom\",accent,style}=props;// A chosen preset wins over the array control so each page can select\n// its own list; \"Custom\" falls back to whatever is set on the instance.\nconst list=PRESETS[preset]||items;const[open,setOpen]=React.useState([]);const toggle=i=>setOpen(cur=>cur.includes(i)?cur.filter(n=>n!==i):[...cur,i]);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",...style},children:list.map((item,i)=>{const isOpen=open.includes(i);return /*#__PURE__*/_jsxs(\"div\",{\"data-index\":i,style:{borderBottom:\"1px solid rgba(0,0,0,0.1)\"},children:[/*#__PURE__*/_jsxs(\"button\",{\"aria-expanded\":isOpen,onClick:()=>toggle(i),style:{width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,padding:\"22px 4px\",background:\"none\",border:\"none\",cursor:\"pointer\",textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:HEAD_FONT,fontWeight:700,fontSize:17,color:\"#000000\",lineHeight:1.3},children:item.question}),/*#__PURE__*/_jsx(motion.span,{\"aria-hidden\":true,animate:{rotate:isOpen?45:0},transition:{duration:.2},style:{flexShrink:0,width:32,height:32,borderRadius:999,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:isOpen?accent:\"rgba(0,0,0,0.05)\",color:isOpen?\"#ffffff\":\"#000000\",fontSize:18,fontFamily:BODY_FONT,fontWeight:400,transition:\"background 0.2s ease, color 0.2s ease\"},children:\"+\"})]}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:isOpen&&/*#__PURE__*/_jsx(motion.div,{initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.28,ease:[.22,1,.36,1]},style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,padding:\"0 44px 24px 4px\",fontFamily:BODY_FONT,fontSize:16,lineHeight:1.55,color:\"#333333\",whiteSpace:\"pre-wrap\"},children:healAnswer(item.question,item.answer)})})})]},i);})});}addPropertyControls(FAQAccordion,{preset:{type:ControlType.Enum,title:\"Question Set\",options:[\"Custom\",\"Visit\",\"Kids\",\"Students\",\"Give\",\"Care\"],defaultValue:\"Custom\",description:\"Pick a built-in list, or choose Custom to use the Questions below\"},items:{type:ControlType.Array,title:\"Questions\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,defaultValue:\"What are your services like?\"},answer:{type:ControlType.String,displayTextArea:true,defaultValue:\"Our services last about 65 minutes with worship and practical, Jesus-centered teaching.\"}}},defaultValue:FAQ_DEFAULTS},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#4d9ee9\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQAccordion\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"720\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQAccordion.map"],"mappings":"yOAuBG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,EAAE,SAAO,SAAS,SAAO,SAAO,EAEtF,EAAK,EAAQ,IAAS,EAAW,CAAC,EAAK,GAASA,EAAe,CAAC,CAAC,EAAQ,EAAO,GAAG,EAAQ,GAAK,EAAI,SAAS,CAAC,EAAE,EAAI,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,EAAI,CAAC,CAAC,EAAE,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,GAAG,CAAK,EAAE,SAAS,EAAK,KAAK,EAAK,IAAI,CAAC,IAAM,EAAO,EAAK,SAAS,CAAC,EAAE,OAAoB,EAAM,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,aAAa,2BAA2B,EAAE,SAAS,CAAc,EAAM,SAAS,CAAC,gBAAgB,EAAO,YAAY,EAAO,CAAC,EAAE,MAAM,CAAC,MAAM,OAAO,QAAQ,OAAO,WAAW,SAAS,eAAe,gBAAgB,IAAI,GAAG,QAAQ,WAAW,WAAW,OAAO,OAAO,OAAO,OAAO,UAAU,UAAU,MAAM,EAAE,SAAS,CAAc,EAAK,OAAO,CAAC,MAAM,CAAC,WAAW,EAAU,WAAW,IAAI,SAAS,GAAG,MAAM,UAAU,WAAW,GAAG,EAAE,SAAS,EAAK,QAAQ,CAAC,EAAe,EAAK,EAAO,KAAK,CAAC,cAAc,GAAK,QAAQ,CAAC,OAAO,EAAO,GAAG,CAAC,EAAE,WAAW,CAAC,SAAS,EAAE,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,GAAG,aAAa,IAAI,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,W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