{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/1MC29mP1le58EtQztKjX/2kK51OIdT12t1mqhFFMZ/How_We_Do_It_1.js"],
  "sourcesContent": ["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect}from\"react\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function HowWeDoItSection({title=[],description,backgroundTitle,showTitleOnHover=false,colorTitle,image={},allowHover=true}){const[active,setActive]=useState(allowHover?false:true);useEffect(()=>{if(allowHover){setActive(false);}else{setActive(true);}},[allowHover]);const onMouseEnter=()=>{if(allowHover){setActive(true);}};const onMouseLeave=()=>{if(allowHover){setActive(false);}};return /*#__PURE__*/_jsx(\"div\",{onMouseEnter:onMouseEnter,onMouseLeave:onMouseLeave,style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",position:\"relative\",height:\"100%\",overflow:\"hidden\",border:\"1px solid #cedcff\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"flex\",flexDirection:\"column\",height:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{padding:\"40px 40px 40px 30px\",borderBottom:\"1px solid #cedcff\",width:\"100%\",flexGrow:1,background:backgroundTitle},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontFamily:\"Noto Serif\",color:colorTitle,fontSize:\"30px\",transition:\"color .3s ease-in-out\",lineHeight:\"36px\"},children:title.map((item,index)=>{return /*#__PURE__*/_jsx(\"span\",{style:{display:\"block\"},children:item},`${item}-${index}`);})})}),/*#__PURE__*/_jsxs(\"div\",{style:{height:\"330px\",position:\"relative\",display:\"flex\",justifyContent:\"center\",alignItems:\"flex-end\",overflow:\"hidden\",zIndex:5},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,background:\"rgba(0, 0, 0, 0.5)\",zIndex:2,transition:\"all .3s ease-in-out\",visibility:active?\"visible\":\"hidden\",opacity:active?1:0}}),/*#__PURE__*/_jsx(\"img\",{style:{position:\"absolute\",inset:0,objectFit:\"cover\",width:\"100%\",height:\"100%\",zIndex:1,transition:\"all .3s ease-in-out\"},...image}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"40px\",left:\"40px\",transition:\"all .3s ease-in-out\",transform:`rotate(${active?\"45deg\":\"0\"})`,zIndex:3},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"60\",height:\"60\",viewBox:\"0 0 60 60\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"30\",cy:\"30\",r:\"30\",fill:\"url(#paint0_linear_4200_547)\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"30\",y1:\"40\",x2:\"30\",y2:\"20\",stroke:\"white\",\"stroke-width\":\"2\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"20\",y1:\"30\",x2:\"40\",y2:\"30\",stroke:\"white\",\"stroke-width\":\"2\"}),/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsxs(\"linearGradient\",{id:\"paint0_linear_4200_547\",x1:\"52.0253\",y1:\"9.49367\",x2:\"9.87342\",y2:\"52.0253\",gradientUnits:\"userSpaceOnUse\",children:[/*#__PURE__*/_jsx(\"stop\",{\"stop-color\":\"#86F8F2\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",\"stop-color\":\"#0049FF\"})]})})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"0 40px 20px 40px\",transition:\"all .3s ease-in-out\",transform:`translateY(${active?\"0\":\"5%\"})`,opacity:active?1:0,zIndex:3},children:[showTitleOnHover&&/*#__PURE__*/_jsx(\"div\",{style:{color:\"#fff\",fontWeight:400,fontSize:\"20px\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:\"12px\",lineHeight:\"20px\",color:\"#fff\"},children:description})]})]})]})});}// <img {...props.image} />\naddPropertyControls(HowWeDoItSection,{title:{type:ControlType.Array,control:{type:ControlType.String},defaultValue:[]},image:{type:ControlType.ResponsiveImage,defaultValue:{}},backgroundTitle:{type:ControlType.Color,defaultValue:\"#fff\"},colorTitle:{type:ControlType.Color,defaultValue:\"#0049FF\"},description:{type:ControlType.String,defaultValue:\"\"},allowHover:{type:ControlType.Boolean,defaultValue:true},showTitleOnHover:{type:ControlType.Boolean,defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HowWeDoItSection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./How_We_Do_It_1.map"],
  "mappings": "8GAQkB,SAARA,EAAkC,CAAC,MAAAC,EAAM,CAAC,EAAE,YAAAC,EAAY,gBAAAC,EAAgB,iBAAAC,EAAiB,GAAM,WAAAC,EAAW,MAAAC,EAAM,CAAC,EAAE,WAAAC,EAAW,EAAI,EAAE,CAAC,GAAK,CAACC,EAAOC,CAAS,EAAEC,EAAS,CAAAH,CAAqB,EAAE,OAAAI,EAAU,IAAI,CAAgBF,EAAZ,CAAAF,CAA2B,CAAyB,EAAE,CAACA,CAAU,CAAC,EAA2IK,EAAK,MAAM,CAAC,aAAlI,IAAI,CAAIL,GAAYE,EAAU,EAAI,CAAG,EAAuH,aAAlG,IAAI,CAAIF,GAAYE,EAAU,EAAK,CAAG,EAAsF,MAAM,CAAC,QAAQ,OAAO,cAAc,SAAS,MAAM,OAAO,SAAS,WAAW,OAAO,OAAO,SAAS,SAAS,OAAO,mBAAmB,EAAE,SAAsBI,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,QAAQ,OAAO,cAAc,SAAS,OAAO,M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a,EAAE,EAAE,WAAW,CAAC,KAAKA,EAAY,QAAQ,aAAa,EAAI,EAAE,iBAAiB,CAAC,KAAKA,EAAY,QAAQ,aAAa,EAAK,CAAC,CAAC",
  "names": ["HowWeDoItSection", "title", "description", "backgroundTitle", "showTitleOnHover", "colorTitle", "image", "allowHover", "active", "setActive", "ye", "ue", "p", "u", "item", "index", "addPropertyControls", "ControlType"]
}
