{"version":3,"file":"FAQs.DSXflILH.mjs","names":["useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/Su9wwKEuTL3jABrWXk3l/XmQmBXCmDxTrDNBVrYL1/FAQs.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";import{useState,useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FAQAccordionGroup(props){const{items,gap,animationDuration,animationEase}=props;const[openIndex,setOpenIndex]=useState(0);// Генеруємо FAQ Schema\nconst faqSchema={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:items.map(item=>({\"@type\":\"Question\",name:item.question,acceptedAnswer:{\"@type\":\"Answer\",text:item.answer}}))};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(faqSchema)}}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:`${gap}px`,...props.style},children:items.map((item,index)=>/*#__PURE__*/_jsx(FAQAccordionItem,{question:item.question,answer:item.answer,isOpen:openIndex===index,onToggle:()=>setOpenIndex(openIndex===index?null:index),animationDuration:animationDuration,animationEase:animationEase},index))})]});}function FAQAccordionItem({question,answer,isOpen,onToggle,animationDuration,animationEase}){const[isMobile,setIsMobile]=useState(false);useEffect(()=>{const checkMobile=()=>{setIsMobile(window.innerWidth<=768);};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[]);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsxs(\"div\",{onClick:onToggle,style:{width:\"100%\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",cursor:\"pointer\",gap:\"16px\",padding:\"16px 0\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:'\"ABC Diatype\", \"ABC Diatype Placeholder\", sans-serif',fontSize:\"18px\",fontWeight:700,lineHeight:\"26px\",color:\"rgb(255, 255, 255)\",flex:1},children:question}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"14px\",height:\"14px\",flexShrink:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",children:isOpen?/*#__PURE__*/_jsx(motion.svg,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:animationDuration,ease:animationEase},xmlns:\"http://www.w3.org/2000/svg\",width:\"14\",height:\"2\",viewBox:\"0 0 14 2\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M 0 1 C 0 0.448 0.448 0 1 0 L 13 0 C 13.552 0 14 0.448 14 1 C 14 1.552 13.552 2 13 2 L 1 2 C 0.448 2 0 1.552 0 1 Z\",fill:\"rgb(255, 255, 255)\"})},\"minus\"):/*#__PURE__*/_jsx(motion.svg,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:animationDuration,ease:animationEase},xmlns:\"http://www.w3.org/2000/svg\",width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M 7 0 C 7.552 0 8 0.448 8 1 L 8 6 L 13 6 C 13.552 6 14 6.448 14 7 C 14 7.552 13.552 8 13 8 L 8 8 L 8 13 C 8 13.552 7.552 14 7 14 C 6.448 14 6 13.552 6 13 L 6 8 L 1 8 C 0.448 8 0 7.552 0 7 C 0 6.448 0.448 6 1 6 L 6 6 L 6 1 C 6 0.448 6.448 0 7 0 Z\",fill:\"rgb(255,255,255)\"})},\"plus\")})})]}),/*#__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:animationDuration,ease:animationEase},style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:{paddingBottom:\"16px\",fontFamily:'\"ABC Diatype\", \"ABC Diatype Placeholder\", sans-serif',fontSize:\"18px\",fontWeight:400,lineHeight:\"26px\",color:\"rgb(203, 204, 204)\"},children:answer})})}),/*#__PURE__*/_jsx(motion.div,{style:{width:\"100%\",height:\"1px\",backgroundColor:\"rgba(255, 255, 255, 0.1)\"},animate:{opacity:1,transform:\"none\"},transition:{duration:animationDuration,ease:animationEase}})]});}FAQAccordionGroup.displayName=\"FAQAccordionGroup\";addPropertyControls(FAQAccordionGroup,{items:{type:ControlType.Array,title:\"FAQ Items\",maxCount:20,control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"Is The Vault a real vault?\"},answer:{type:ControlType.String,title:\"Answer\",defaultValue:\"Yes. The Vault is a custom-built, bank-style facility designed specifically for trading cards and collectibles. It's located in Tigard, Oregon, and engineered for maximum security.\",displayTextArea:true}}},defaultValue:[{question:\"Is The Vault a real vault?\",answer:\"Yes. The Vault is a custom-built, bank-style facility designed specifically for trading cards and collectibles. It's located in Tigard, Oregon, and engineered for maximum security.\"},{question:\"How secure is The Vault?\",answer:\"The Vault was built to Underwriters Laboratory standards. It spans 2,000 square feet, reinforced with 11 inches of concrete on all sides, and is monitored by 140 cameras, motion detection, and strict access controls—all backed by full insurance coverage.\"},{question:\"How do I send my items to The Vault?\",answer:\"Start a submission through your account, pack your cards, and ship them directly to The Vault. Once received, our team processes and photographs each item, and you'll see updates as they're added to your collection.\"},{question:\"Can I see my items once they're in The Vault?\",answer:\"For security reasons, The Vault itself is restricted to Fanatics Collect staff. But every item is captured in high-resolution photography and available to view anytime through your account on web or app.\"},{question:\"What fees should I expect with The Vault?\",answer:\"Vaulting is free for authenticated cards valued at $50 or more, with clear pricing for oversized and specialty items. Standard shipping and insurance apply when you request fulfillment. A 3% fulfillment fee applies if items are shipped out within 90 days, and 1% after that.\"}]},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:0,min:0,max:100},animationDuration:{type:ControlType.Number,title:\"Duration (s)\",defaultValue:.3,min:.1,max:1,step:.1},animationEase:{type:ControlType.Enum,title:\"Easing\",defaultValue:\"easeInOut\",options:[\"linear\",\"easeIn\",\"easeOut\",\"easeInOut\"],optionTitles:[\"Linear\",\"Ease In\",\"Ease Out\",\"Ease In Out\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQAccordionGroup\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQs.map"],"mappings":"qQAGG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,QAAM,MAAI,oBAAkB,iBAAe,EAAW,CAAC,EAAU,GAAcA,EAAS,EAAE,CAC9I,EAAU,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAW,EAAM,IAAI,IAAO,CAAC,QAAQ,WAAW,KAAK,EAAK,SAAS,eAAe,CAAC,QAAQ,SAAS,KAAK,EAAK,OAAO,CAAC,EAAE,CAAC,CAAC,OAAoB,EAAMC,EAAU,CAAC,SAAS,CAAc,EAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAO,KAAK,UAAU,EAAU,CAAC,CAAC,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,QAAQ,OAAO,cAAc,SAAS,IAAI,GAAG,EAAI,IAAI,GAAG,EAAM,MAAM,CAAC,SAAS,EAAM,KAAK,EAAK,IAAqB,EAAK,EAAiB,CAAC,SAAS,EAAK,SAAS,OAAO,EAAK,OAAO,OAAO,IAAY,EAAM,aAAa,EAAa,IAAY,EAAM,KAAK,EAAM,CAAmB,oBAAgC,gBAAc,CAAC,EAAM,C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