{"version":3,"file":"testimonials.BdpapiHr.mjs","names":["TextSectionHeader","TestimonialsCardGeneric"],"sources":["https:/framerusercontent.com/modules/dM7qW4dTEWGM6Jghrq3z/GYafJBMfbCrDlh5dcMJv/testimonials.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import SectionBackground,{backgroundControlsDiagonal}from\"https://framerusercontent.com/modules/v50J4NLUBIT9rlq1XLRJ/8dShw1aIlopFZqsZE7sV/section_background.js\";import TextSectionHeader from\"https://framerusercontent.com/modules/RE0AZnTGkIq4Bpj1Bs8c/LXo7gb7afqWGX4UGxTmp/n_WiuUZtm.js\";import TestimonialsCardGeneric from\"https://framerusercontent.com/modules/je2Fo3w4vVFyiJu0nKF2/bDtSOFUl0XlJWcJ3LO1H/gpYmILwMp.js\";import{companyLogoControl}from\"https://framerusercontent.com/modules/Dwk5U5SBLE4vcvgEtgS9/dM8XKgyU57HTyqis7Jg5/generic.js\";import{variantControls}from\"https://framerusercontent.com/modules/reMhFdOuprz6UHBcqier/69GiAGO1cIc21FuaaiMJ/property_controls.js\";export default function Testimonials(props){const{variant,blurs,layout,center,right,left,headerText,testimonials,maxCount}=props;const style={...containerStyle,...containerStyleByBreakpoint[variant]};return /*#__PURE__*/_jsxs(\"section\",{style:style,children:[/*#__PURE__*/_jsx(TextSectionHeader,{variant:variant,headerText:headerText,subHeaderText:\"\",style:{width:\"100%\"}}),/*#__PURE__*/_jsx(\"div\",{style:{...testimonialContainerStyle,...testimonialContainerStyleByBreakpoint[variant]},children:testimonials.map((testimonial,idx)=>idx<maxCount&&/*#__PURE__*/_jsx(TestimonialsCardGeneric,{variant:variant,logoVisible:testimonial.logoVisible,company:testimonial.company,fullName:testimonial.name,titleOrHandle:testimonial.titleOrHandle,quote:testimonial.quote.slice(0,190),image:testimonial.image,style:{...testimonialStyle,...testimonialStyleByBreakpoint[variant]}}))}),/*#__PURE__*/_jsx(SectionBackground,{variant:variant,blurs:blurs,layout:layout,center:center,right:right,left:left,style:{pointerEvents:\"none\"}})]});}const containerStyle={padding:\"72px 0\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:\"64px\"};const containerStyleByBreakpoint={XL:{},L:{},M:{},S:{padding:\"48px 0\",gap:\"48px\"}};const testimonialContainerStyle={width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexFlow:\"row wrap\",gap:\"32px\"};const testimonialContainerStyleByBreakpoint={XL:{},L:{},M:{maxWidth:\"768px\"},S:{padding:\"0 24px\"}};const testimonialStyle={justifyContent:\"space-between\"};const testimonialStyleByBreakpoint={XL:{height:\"524px\"},L:{height:\"572px\"},M:{height:\"596px\"},S:{width:\"100%\",maxWidth:\"426px\",gap:\"48px\"}};const defaultTestimonial={company:\"TwitterX\",quote:\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.\",name:\"Name\",titleOrHandle:\"Title or @handle\"};addPropertyControls(Testimonials,{...variantControls,...backgroundControlsDiagonal,headerText:{type:ControlType.String,defaultValue:\"What customers are saying…\"},testimonials:{type:ControlType.Array,maxCount:4,control:{type:ControlType.Object,controls:{company:{...companyLogoControl,title:\"Logo\"},logoVisible:{type:ControlType.Boolean,title:\"Logo visible\"},quote:{type:ControlType.String,description:\"Max characters: 190\",displayTextArea:true},name:{type:ControlType.String},titleOrHandle:{type:ControlType.String,title:\"Title/Handle\"},image:{type:ControlType.ResponsiveImage}}},defaultValue:new Array(4).fill(defaultTestimonial)},maxCount:{type:ControlType.Number,description:\"Max number of testimonials to show\",defaultValue:4,max:4}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Testimonials\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"yTAAywB,SAAwB,EAAa,EAA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