{"version":3,"file":"HowItWorks_.DRIu4dj3.mjs","names":["_Fragment","__esmMin","init_jsx_runtime","c","p","addPropertyControls","init_framer_D1IzEvwH","ControlType","HowItWorks","isRow","layout","steps","l","step","textColor","i","Arrow","init_HowItWorks_","direction"],"sources":["https:/framerusercontent.com/modules/T0svk7FUlwcWr9TFMa2R/d69DL8MQMKk6mMoZsARh/HowItWorks_.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const steps=[{label:\"Tell us about your trip\",svg:/*#__PURE__*/_jsxs(\"svg\",{width:\"32\",height:\"32\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#F59B90\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"})]})},{label:\"We review your inquiry personally\",svg:/*#__PURE__*/_jsxs(\"svg\",{width:\"32\",height:\"32\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#F59B90\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"7\",r:\"4\"})]})},{label:\"We recommend the best options\",svg:/*#__PURE__*/_jsx(\"svg\",{width:\"32\",height:\"32\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#F59B90\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"})})}];const Arrow=({direction})=>/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"#CCCCCC\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:direction===\"right\"?/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M13 6l6 6-6 6\"}):/*#__PURE__*/_jsx(\"path\",{d:\"M12 5v14M6 13l6 6 6-6\"})});export default function HowItWorks({textColor,layout}){const isRow=layout===\"row\";return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:isRow?\"row\":\"column\",alignItems:\"center\",justifyContent:\"center\",gap:16,padding:\"32px 16px\",width:\"100%\",boxSizing:\"border-box\"},children:steps.map((step,i)=>/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:12,textAlign:\"center\",maxWidth:isRow?180:240},children:[step.svg,/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"'Lato', sans-serif\",fontWeight:300,fontSize:15,color:textColor,lineHeight:1.5},children:step.label})]},i),i<steps.length-1&&/*#__PURE__*/_jsx(\"div\",{style:{flexShrink:0},children:/*#__PURE__*/_jsx(Arrow,{direction:isRow?\"right\":\"down\"})},`arrow-${i}`)]}))});}addPropertyControls(HowItWorks,{textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#444444\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"row\",\"column\"],optionTitles:[\"Desktop (row)\",\"Mobile (column)\"],defaultValue:\"row\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HowItWorks\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HowItWorks_.map"],"mapp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