{"version":3,"file":"FeatureValues.D7DR2RU6.mjs","names":["_Fragment","MoleculesValueItem"],"sources":["https:/framerusercontent.com/modules/DyQtZCBOnUoOgdL9saTW/6U7T1W942rXbL2aAdeR4/FeatureValues.js"],"sourcesContent":["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import MoleculesValueItem from\"https://framerusercontent.com/modules/7QelUNt4qGizAJX6M63N/QaLK5vcn2zdB3Gtag9Px/peZSlnl8M.js\";import{iconOptionTitles,iconOptions}from\"https://framerusercontent.com/modules/agUm8qOdpyIDPqIJiuPZ/swI1b2TYTmAcqhmczWxb/Icon.js\";import{pictogramOptions}from\"https://framerusercontent.com/modules/ZEyKizGRRMhfKmKi0qaZ/aOOxACjdiFNJhLd8JyC4/Pictogram.js\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function FeatureValues({id,values=[],variant,breakpoint}){const count=values.length;function getWrapperBreakpoints(){if(breakpoint===\"phone\"){return{flexDirection:\"column\",padding:\"0px !important\"};}else if(breakpoint===\"tablet\"){return{display:\"grid\",gridTemplateColumns:\"1fr 1fr\"};}else if(count>=4){return{display:\"grid\",padding:count===6?\"0 100px\":\"0px 200px\",gap:\"80px\",gridTemplateColumns:count===6?\"1fr 1fr 1fr\":\"1fr 1fr\"};}return{padding:\"0px 80px\",flexDirection:\"row\"};}function getItemBreakpoints(){if(breakpoint===\"desktop\"&&count<4){return{flex:\"1\"};}return{width:\"100%\",display:\"flex\"};}return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",justifyContent:\"center\",maxWidth:\"1280px\",gap:\"80px\",...getWrapperBreakpoints()},children:values.map((value,index)=>{function getVariant(){let variantTheme=\"\";if(variant===\"onDark\"){variantTheme=\" On Dark\";}if(value?.imageType===\"pictogram\"){return`Left Pictogram${variantTheme}`;}else{return\"Left\";}}if(breakpoint===\"tablet\"&&index+1===values.length&&values.length%2===1){return /*#__PURE__*/_jsx(MoleculesValueItem,{variant:getVariant(),size:40,breakpoint:breakpoint,...value,hasLink:!!value?.link?.link,link:value?.link?.link,linkLabel:value?.link?.label,style:getItemBreakpoints()&&{gridColumn:\"auto / span 2\",width:\"100%\"}});}else{return /*#__PURE__*/_jsx(MoleculesValueItem,{variant:getVariant(),size:40,breakpoint:breakpoint,...value,hasLink:!!value?.link?.link,link:value?.link?.link,linkLabel:value?.link?.label,style:getItemBreakpoints()});}})})});}addPropertyControls(FeatureValues,{values:{type:ControlType.Array,title:\"Values\",control:{type:ControlType.Object,controls:{imageType:{type:ControlType.Enum,defaultValue:\"icon\",options:[\"icon\",\"pictogram\"],optionTitles:[\"Icon\",\"Pictogram\"]},icon:{// 12/31: TODO Add prop for color from this ValueItem feature\ntype:ControlType.Enum,defaultValue:\"star\",options:iconOptions,optionTitles:iconOptionTitles,hidden:({imageType})=>{return imageType!==\"icon\";}},pictogram:{type:ControlType.Enum,defaultValue:\"cancel\",options:pictogramOptions,optionTitles:pictogramOptions,hidden:({imageType})=>{return imageType!==\"pictogram\";}},title:{type:ControlType.String},content:{type:ControlType.String,displayTextArea:true},link:{type:ControlType.Object,controls:{label:{type:ControlType.String},link:{type:ControlType.Link}}}}},maxCount:6,defaultValue:[{icon:\"star\",title:\"Option 1\",content:\"Here is my content for Option 1\"},{icon:\"star\",title:\"Option 2\",content:\"Here is my content for Option 2\"},{icon:\"star\",title:\"Option 3\",content:\"Here is my content for Option 3\"}]},breakpoint:{type:ControlType.Enum,defaultValue:\"Desktop\",options:[\"desktop\",\"tablet\",\"phone\"],optionTitles:[\"Desktop\",\"Tablet\",\"Phone\"]},variant:{type:ControlType.Enum,defaultValue:\"Primary\",options:[\"primary\",\"onDark\"],optionTitles:[\"Primary\",\"On Dark\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FeatureValues\",\"slots\":[],\"annotations\":{\"framerContractVersion\":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