{"version":3,"file":"KnowledgeGroupCard.D9kA5KnJ.mjs","names":["React.useState","__esmMin","_e","p","c","init_jsx_runtime","init_npm_react_18_3_1","addPropertyControls","init_framer_DxfB3JJo","Link","ControlType","KnowledgeGroupCard","active","setActive","params","category","href","\"Filing\"","\"Collections\"","\"Integrations\"","style","description","init_KnowledgeGroupCard"],"sources":["https:/framerusercontent.com/modules/ZPTp1ec561CuiqueGHyx/0E19TrAYkYUWJKAlHSai/KnowledgeGroupCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,Link}from\"framer\";/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto */export default function KnowledgeGroupCard({category=\"Filing\",description=\"\",style}){const[active,setActive]=React.useState(false);const params=new URLSearchParams;params.set(\"category\",category);if(category!==\"Collections\")params.set(\"topic\",category);const routes={\"Get Started\":\"/kb-get-started\",\"Filing\":\"/kb-filing\",\"Collections\":\"/kb-articles\",\"Deadlines & Extensions\":\"/kb-deadlines\",\"Deductions & Planning\":\"/kb-deductions\",\"Integrations\":\"/kb-integrations\"};const href=routes[category]||\"/kb-articles\";return /*#__PURE__*/_jsx(Link,{href:href,children:/*#__PURE__*/_jsxs(\"a\",{onMouseEnter:()=>setActive(true),onMouseLeave:()=>setActive(false),onFocus:()=>setActive(true),onBlur:()=>setActive(false),style:{...style,boxSizing:\"border-box\",width:\"100%\",display:\"flex\",alignItems:\"center\",gap:12,padding:16,borderRadius:8,background:active?\"#FFF4D6\":\"#FFFFFF\",transform:active?\"translateY(-2px)\":\"none\",transition:\"background 180ms ease, transform 180ms ease\",textDecoration:\"none\",cursor:\"pointer\",fontFamily:\"Lato, sans-serif\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{flex:\"1 1 0\",minWidth:0,display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:700,fontSize:18,lineHeight:1.45,color:\"#2B2F38\"},children:category}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,lineHeight:1.45,color:\"#5D6679\"},children:description})]}),/*#__PURE__*/_jsx(\"svg\",{\"aria-hidden\":\"true\",width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",style:{flexShrink:0,color:\"#E09A00\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"m9 5 7 7-7 7\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"square\",strokeLinejoin:\"miter\"})})]})});}addPropertyControls(KnowledgeGroupCard,{category:{type:ControlType.String,title:\"Category\",defaultValue:\"Filing\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"KnowledgeGroupCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KnowledgeGroupCard.map"],"mappings":"A,wLACuC,SAAwBW,EAAmB,CAAC,WAAS,SAAS,cAAY,GAAG,SAAO,CAAC,GAAK,CAACC,EAAOC,GAAWb,EAAe,EAAK,EAAQc,EAAO,IAAI,gBAAgBA,EAAO,IAAI,WAAWC,CAAQ,EAAKA,IAAW,eAAcD,EAAO,IAAI,QAAQC,CAAQ,EAAwN,IAAMC,EAAK,CAAnN,cAAc,kBAAkBC,OAAS,aAAaC,YAAc,eAAe,yBAAyB,gBAAgB,wBAAwB,iBAAiBC,aAAe,kBAAoC,EAAEJ,IAAW,eAAe,MAAoB,gBAAKN,EAAK,CAAM,OAAK,SAAsB,gBAAM,IAAI,CAAC,iBAAiBI,EAAU,EAAI,EAAE,iBAAiBA,EAAU,EAAK,EAAE,YAAYA,EAAU,EAAI,EAAE,WAAWA,EAAU,EAAK,EAAE,MAAM,CAAC,GAAGO,EAAM,UAAU,aAAa,MAAM,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