{"version":3,"file":"TopicListCard_1.xAPTPDT2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/WqpIubtbBxtcb7dAR2yP/AoSEkC58JHcpqEKF2lxX/TopicListCard_1.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Topic link list. items format: \"Label|/href;;Label|/href\"\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function TopicListCard(props){const{items=\"\",color=\"#001F3F\",divider=\"rgba(0,31,63,0.10)\",fontSize=14,style}=props;const list=String(items).split(/~~|;;/).map(p=>{const[label,href]=p.split(\"|\");return{label:(label||\"\").trim(),href:(href||\"\").trim()};}).filter(x=>x.label&&x.href);if(!list.length)return null;return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",...style},children:list.map((it,i)=>/*#__PURE__*/_jsxs(\"a\",{href:it.href,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"9px 0\",textDecoration:\"none\",color,borderBottom:i<list.length-1?`1px solid ${divider}`:\"none\",fontFamily:'\"Open Sans\", sans-serif',fontSize,lineHeight:1.4},children:[/*#__PURE__*/_jsx(\"span\",{children:it.label}),/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2\",children:/*#__PURE__*/_jsx(\"path\",{d:\"m9 18 6-6-6-6\"})})]},i))});}addPropertyControls(TopicListCard,{items:{type:ControlType.String,title:\"Items\",defaultValue:\"\",displayTextArea:true},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#001F3F\"},divider:{type:ControlType.Color,title:\"Divider\",defaultValue:\"rgba(0,31,63,0.10)\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TopicListCard\",\"slots\":[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