{"version":3,"file":"ServiceAnswers.Dv_S0hAk.mjs","names":["_Fragment","__esmMin","l","p","c","init_jsx_runtime","init_framer_DKtAEkcX","ControlType","addPropertyControls","ServiceAnswers","props","purple","white","safeCards","cards","safeQuestions","questions","q","graph","pageUrl","serviceName","heading","serviceDescription","intro","schema","base","style","eyebrow","content","card","cardStyle","faqHeading","i","ctaLabel","ctaHref","init_ServiceAnswers"],"sources":["https:/framerusercontent.com/modules/xnc4p8pt78051LYxEc5V/oGtiuSQtBuEOMVwbRb3g/ServiceAnswers.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function ServiceAnswers(props){const{style,eyebrow=\"\",heading=\"\",intro=\"\",cards=[],faqHeading=\"Common questions\",questions=[],ctaLabel=\"Start a project\",ctaHref=\"/#contact\",pageUrl=\"\",serviceName=\"\",serviceDescription=\"\"}=props;const purple=\"var(--token-f1c81b52-2a59-4da2-a47f-3f4bfb2f2b58, #b54ff3)\",white=\"var(--token-873fb35c-2084-47f0-9254-cb5d8b65f475, #fff)\",body=\"var(--token-c465f8c5-7fa9-436d-b203-2cb129c31fb1, #ededed)\";const safeCards=Array.isArray(cards)?cards.filter(Boolean):[];const safeQuestions=Array.isArray(questions)?questions.filter(q=>q&&q.question&&q.answer):[];const graph=[{\"@type\":\"Organization\",\"@id\":\"https://artificial.club/#organization\",name:\"Artificial Media\",url:\"https://artificial.club/\",email:\"partnerships@artificial.club\",contactPoint:{\"@type\":\"ContactPoint\",contactType:\"partnerships\",email:\"partnerships@artificial.club\"},sameAs:[\"https://www.instagram.com/artificial/\",\"https://www.instagram.com/artificialzone/\",\"https://www.instagram.com/robotics/\"]}];if(pageUrl)graph.push({\"@type\":\"WebPage\",\"@id\":pageUrl+\"#webpage\",url:pageUrl,name:serviceName||heading,isPartOf:{\"@id\":\"https://artificial.club/#website\"},about:{\"@id\":\"https://artificial.club/#organization\"}});if(pageUrl&&serviceName)graph.push({\"@type\":\"Service\",\"@id\":pageUrl+\"#service\",name:serviceName,serviceType:serviceName,description:serviceDescription||intro,url:pageUrl,provider:{\"@id\":\"https://artificial.club/#organization\"}});const schema=JSON.stringify({\"@context\":\"https://schema.org\",\"@graph\":graph}).replace(/</g,\"\\\\u003c\");const base={margin:0,color:body,fontSize:18,lineHeight:1.6};return /*#__PURE__*/_jsxs(\"section\",{style:{...style,width:\"100%\",height:\"auto\",boxSizing:\"border-box\",color:white,fontFamily:\"Inter, sans-serif\"},children:[/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:schema}}),/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:1200,margin:\"0 auto\",display:\"flex\",flexDirection:\"column\",gap:28},children:[eyebrow&&/*#__PURE__*/_jsx(\"p\",{style:{margin:0,color:purple,fontFamily:\"IBM Plex Sans Condensed, sans-serif\",fontSize:18,lineHeight:1.4},children:eyebrow}),heading&&/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,maxWidth:980,fontFamily:\"Inter Display, Inter, sans-serif\",fontWeight:500,fontSize:\"clamp(30px, 4.2vw, 52px)\",lineHeight:1.12,letterSpacing:\"-0.035em\"},children:heading}),intro&&/*#__PURE__*/_jsx(\"p\",{style:{...base,maxWidth:900},children:intro}),safeCards.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:20,margin:\"8px 0 20px\"},children:safeCards.map((card,i)=>{const content=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"h3\",{style:{margin:\"0 0 14px\",fontSize:24,fontWeight:600,lineHeight:1.25,fontFamily:\"Inter Display, Inter, sans-serif\"},children:[card.title,card.href?\" ↗\":\"\"]}),/*#__PURE__*/_jsx(\"p\",{style:{...base,fontSize:17},children:card.body})]});const cardStyle={flex:\"1 1 260px\",minWidth:0,padding:28,boxSizing:\"border-box\",borderRadius:16,border:\"1px solid rgba(181,79,243,.35)\",background:\"rgba(255,255,255,.025)\",color:white,textDecoration:\"none\"};return card.href?/*#__PURE__*/_jsx(\"a\",{href:card.href,style:cardStyle,children:content},i):/*#__PURE__*/_jsx(\"div\",{style:cardStyle,children:content},i);})}),safeQuestions.length>0&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:0},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:\"8px 0 24px\",fontSize:\"clamp(28px, 3.4vw, 40px)\",lineHeight:1.15,fontWeight:500,fontFamily:\"Inter Display, Inter, sans-serif\"},children:faqHeading}),safeQuestions.map((q,i)=>/*#__PURE__*/_jsxs(\"details\",{style:{borderTop:\"1px solid rgba(255,255,255,.15)\",padding:\"22px 0\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"summary\",{style:{cursor:\"pointer\",padding:\"2px 8px 2px 0\",fontSize:19,lineHeight:1.5,fontWeight:500,color:white,userSelect:\"none\"},children:q.question}),/*#__PURE__*/_jsx(\"p\",{style:{...base,margin:\"16px 0 0\",maxWidth:900},children:q.answer})]},i))]}),ctaLabel&&ctaHref&&/*#__PURE__*/_jsx(\"div\",{style:{paddingTop:8},children:/*#__PURE__*/_jsxs(\"a\",{href:ctaHref,style:{display:\"inline-flex\",padding:\"12px 20px\",border:\"1px solid \"+purple,borderRadius:12,color:white,background:\"#000\",fontSize:16,fontWeight:600,textDecoration:\"none\",lineHeight:1.5},children:[ctaLabel,\" ↗\"]})})]})]});}addPropertyControls(ServiceAnswers,{eyebrow:{type:ControlType.String,title:\"Eyebrow\",defaultValue:\"\"},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"\"},intro:{type:ControlType.String,title:\"Introduction\",displayTextArea:true,defaultValue:\"\"},cards:{type:ControlType.Array,title:\"Cards\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\"},body:{type:ControlType.String,title:\"Body\",displayTextArea:true},href:{type:ControlType.Link,title:\"Link\"}}},defaultValue:[]},faqHeading:{type:ControlType.String,title:\"FAQ Heading\",defaultValue:\"Common questions\"},questions:{type:ControlType.Array,title:\"Questions\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true}}},defaultValue:[]},ctaLabel:{type:ControlType.String,title:\"CTA Label\",defaultValue:\"Start a project\"},ctaHref:{type:ControlType.Link,title:\"CTA Link\",defaultValue:\"/#contact\"},pageUrl:{type:ControlType.String,title:\"Page URL\",defaultValue:\"\"},serviceName:{type:ControlType.String,title:\"Service Name\",defaultValue:\"\"},serviceDescription:{type:ControlType.String,title:\"Service Description\",displayTextArea:true,defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ServiceAnswers\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ServiceAnswers.map"],"mappings":"A,0KAGG,SAAwBS,EAAe,EAAM,CAAC,GAAK,CAAC,QAAM,UAAQ,GAAG,UAAQ,GAAG,QAAM,GAAG,QAAM,CAAC,EAAE,aAAW,mBAAmB,YAAU,CAAC,EAAE,WAAS,kBAAkB,UAAQ,YAAY,UAAQ,GAAG,cAAY,GAAG,qBAAmB,IAAIC,EAAYC,EAAO,6DAA6DC,EAAM,0DAAkIC,EAAU,MAAM,QAAQC,CAAK,EAAEA,EAAM,OAAO,OAAO,EAAE,CAAC,EAAQC,EAAc,MAAM,QAAQC,CAAS,EAAEA,EAAU,OAAO,GAAGC,GAAGA,EAAE,UAAUA,EAAE,MAAM,EAAE,CAAC,EAAQC,EAAM,CAAC,CAAC,QAAQ,eAAe,MAAM,wCAAwC,KAAK,mBAAmB,IAAI,2BAA2B,MAAM,+BAA+B,aAAa,CAAC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