{"version":3,"file":"shared-lib.DILTIds6.mjs","names":["useState","metadata","siteMetadata","metadataVersion","__FramerMetadata__","metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/CctghC4X4ATRvEGU1teX/ucIJyBpVwirlCWb6Mxh1/Accordion.js","https:/framerusercontent.com/modules/V1KCktHtQjmhCkVA6QyM/e1v6RP4GLv9Qm3li8eQj/lIB2LYXs0.js","https:/framerusercontent.com/modules/hGWQ6DoocusTRlKjXbzF/itczqvbEqpED3jEVlLGI/siteMetadata.js","https:/framerusercontent.com/modules/fPxURtPJDwO4YMi5VLoD/B5Y0U3fpJAkXtmqWnlKc/augiA20Il.js","https:/framerusercontent.com/modules/H8WmC2wJpL3rfnjaHDNx/8FQDTMrQEORGN87DlOHL/GMzcUCFKo.js"],"sourcesContent":["// Accordion component with expandable/collapsible sections\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";/**\n * Accordion Component\n * \n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function Accordion(props){const{items=[{title:\"What is Framer?\",content:\"Framer is a powerful design and prototyping tool that allows you to create interactive designs and websites.\"},{title:\"How do I get started?\",content:\"Start by exploring the interface, trying out components, and building your first project.\"},{title:\"Can I use custom code?\",content:\"Yes! Framer supports React components and custom code for advanced functionality.\"},{title:\"Is Framer free?\",content:\"Framer offers a free plan with basic features, and paid plans with advanced functionality for professional use.\"}],allowMultiple=false,backgroundColor=\"#FFFFFF\",itemBackgroundColor=\"#F5F5F5\",borderColor=\"#EEEEEE\",textColor=\"#000000\",contentColor=\"#000000\",titleFont,contentFont,borderRadius=8,spacing=12,style}=props;const[openItems,setOpenItems]=useState([]);const toggleItem=index=>{startTransition(()=>{if(allowMultiple){setOpenItems(prev=>prev.includes(index)?prev.filter(i=>i!==index):[...prev,index]);}else{setOpenItems(prev=>prev.includes(index)?[]:[index]);}});};return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",backgroundColor,display:\"flex\",flexDirection:\"column\",gap:spacing,padding:0},children:items.map((item,index)=>{const isOpen=openItems.includes(index);return /*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:itemBackgroundColor,borderRadius,border:`1px solid ${borderColor}`,overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>toggleItem(index),style:{width:\"100%\",padding:\"16px 20px\",backgroundColor:\"transparent\",border:\"none\",cursor:\"pointer\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",color:textColor,textAlign:\"right\",flexDirection:\"row-reverse\",...titleFont},\"aria-expanded\":isOpen,children:[/*#__PURE__*/_jsx(\"span\",{style:{flex:1},children:item.title}),/*#__PURE__*/_jsx(motion.div,{style:{flexShrink:0,marginRight:12,fontSize:\"24px\",fontWeight:\"bold\",lineHeight:1},animate:{rotate:isOpen?90:0},transition:{duration:.2},children:isOpen?\"−\":\"+\"})]}),/*#__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:.3,ease:\"easeInOut\"},style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:{padding:\"0 20px 16px 20px\",color:contentColor,textAlign:\"right\",...contentFont},children:item.content})})})]},index);})});}addPropertyControls(Accordion,{items:{type:ControlType.Array,title:\"Items\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Accordion Item\"},content:{type:ControlType.String,title:\"Content\",defaultValue:\"This is the content of the accordion item.\",displayTextArea:true}}},defaultValue:[{title:\"What is Framer?\",content:\"Framer is a powerful design and prototyping tool that allows you to create interactive designs and websites.\"},{title:\"How do I get started?\",content:\"Start by exploring the interface, trying out components, and building your first project.\"},{title:\"Can I use custom code?\",content:\"Yes! Framer supports React components and custom code for advanced functionality.\"},{title:\"Is Framer free?\",content:\"Framer offers a free plan with basic features, and paid plans with advanced functionality for professional use.\"}]},allowMultiple:{type:ControlType.Boolean,title:\"Allow Multiple\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},itemBackgroundColor:{type:ControlType.Color,title:\"Item Background\",defaultValue:\"#F5F5F5\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#EEEEEE\"},textColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#000000\"},contentColor:{type:ControlType.Color,title:\"Content Color\",defaultValue:\"#000000\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},contentFont:{type:ControlType.Font,title:\"Content Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.4em\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:32,step:1,unit:\"px\"},spacing:{type:ControlType.Number,title:\"Item Spacing\",defaultValue:12,min:0,max:32,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Accordion\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Accordion.map","// Generated by Framer (6ca3d35)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-yvWAY .framer-styles-preset-hio4e0:not(.rich-text-wrapper), .framer-yvWAY .framer-styles-preset-hio4e0.rich-text-wrapper a { --framer-link-text-color: #0099ff; }\"];export const className=\"framer-yvWAY\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (3ad0d99)\nexport default function metadata(params,activeLocale){return{description:\"Made with Framer\",robots:\"max-image-preview:large\",title:\"My Framer Site\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (6ca3d35)\nimport siteMetadata from\"#framer/local/siteMetadata/siteMetadata/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"72rtr7\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"1yc9mkn\",mediaQuery:\"(max-width: 1199.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{NgiHeDLFi:\"business-website\",QAEbSRcqM:\"landing-page\",WZtK4t6vk:\"premium-website\"},robots:\"max-image-preview:large\",serializationId:\"framer-C7KR2\",title:siteMetadata(params,activeLocale).title||\"Home\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (6ca3d35)\nimport siteMetadata from\"#framer/local/siteMetadata/siteMetadata/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"q3pvb\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"12plwil\",mediaQuery:\"(max-width: 1199.98px)\"}],description:siteMetadata(params,activeLocale).description,elements:{Kj3xp0y42:\"landing-page\",P2rY9B443:\"premium-website\",ukeBLtpB2:\"business-website\"},robots:\"max-image-preview:large\",serializationId:\"framer-foTjz\",title:siteMetadata(params,activeLocale).title||\"Home Arabic\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"kPAMG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,CAAC,MAAM,kBAAkB,QAAQ,+GAA+G,CAAC,CAAC,MAAM,wBAAwB,QAAQ,4FAA4F,CAAC,CAAC,MAAM,yBAAyB,QAAQ,oFAAoF,CAAC,CAAC,MAAM,kBAAkB,QAAQ,kHAAkH,CAAC,CAAC,gBAAc,GAAM,kBAAgB,UAAU,sBAAoB,UAAU,cAAY,UAAU,YAAU,UAAU,eAAa,UAAU,YAAU,cAAY,eAAa,EAAE,UAAQ,GAAG,SAAO,EAAW,CAAC,EAAU,GAAcA,EAAS,EAAE,CAAC,CAAO,EAAW,GAAO,CAAC,MAAoB,CAAmB,EAAf,EAA4B,GAAM,EAAK,SAAS,EAAM,CAAC,EAAK,OAAO,GAAG,IAAI,EAAM,CAAC,CAAC,GAAG,EAAK,EAAM,CAAqB,GAAM,EAAK,SAAS,EAAM,CAAC,EAAE,CAAC,CAAC,EAAM,CAAC,EAAI,EAAG,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,kBAAgB,QAAQ,OAAO,cAAc,SAAS,IAAI,EAAQ,QAAQ,EAAE,CAAC,SAAS,EAAM,KAAK,EAAK,IAAQ,CAAC,IAAM,EAAO,EAAU,SA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