{"version":3,"file":"BlogSidebar.gGbs0z2b.mjs","names":["React"],"sources":["https:/framerusercontent.com/modules/ChcTgFKUHIHWbt6iN0Xz/0YQlvyVfFiR5nRmALZjK/BlogSidebar.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const defaultPracticeAreas=[{label:\"Estate Planning\",count:4,url:\"/blog/estate-planning\"},{label:\"Family Law\",count:8,url:\"/blog/family-law\"},{label:\"Business Law\",count:3,url:\"/blog/business-law\"},{label:\"Real Estate\",count:3,url:\"/blog/real-estate\"},{label:\"Probate\",count:3,url:\"/blog/probate\"},{label:\"Litigation\",count:5,url:\"/blog/litigation\"}];export default function BlogSidebar(props){const{layout=\"vertical\",showConsult=true,showPracticeAreas=true,showSubscribe=true,consultTitle=\"Have a legal question?\",consultBody=\"Speak with one of our attorneys at no charge.\",consultButtonText=\"Book a Free Call\",consultButtonUrl=\"/contact\",stayInformedBody=\"Monthly legal updates — no jargon, no spam.\",subscribeButtonText=\"Subscribe →\",subscribeButtonUrl=\"/contact\",unsubscribeText=\"Unsubscribe any time.\",practiceAreas=defaultPracticeAreas,style}=props;const isHorizontal=layout===\"horizontal\";const card={backgroundColor:\"rgb(66,66,66)\",borderRadius:12,padding:24,display:\"flex\",flexDirection:\"column\",boxSizing:\"border-box\",...isHorizontal?{flex:1,minWidth:0}:{width:\"100%\"}};const sectionLabel={fontFamily:\"Inter, sans-serif\",fontWeight:400,fontSize:20,letterSpacing:\"0.5px\",textTransform:\"uppercase\",color:\"#ffffff\",margin:0,lineHeight:1.3};const heading={fontFamily:\"Inter, sans-serif\",fontWeight:700,fontSize:18,lineHeight:1.3,color:\"#ffffff\",margin:0};const bodyText={fontFamily:\"Inter, sans-serif\",fontWeight:400,fontSize:15,lineHeight:1.6,color:\"rgba(255,255,255,0.65)\",margin:0};const btn={backgroundColor:\"rgb(114,128,186)\",borderRadius:8,padding:\"12px 0\",textAlign:\"center\",textDecoration:\"none\",display:\"block\",border:\"1px solid rgb(114,128,186)\",fontFamily:\"Inter, sans-serif\",fontWeight:700,fontSize:15,color:\"#ffffff\",cursor:\"pointer\",marginTop:\"auto\"};const areas=Array.isArray(practiceAreas)?practiceAreas:defaultPracticeAreas;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:isHorizontal?\"row\":\"column\",alignItems:isHorizontal?\"stretch\":undefined,gap:isHorizontal?16:12,width:\"100%\",...style},children:[showConsult&&/*#__PURE__*/_jsxs(\"div\",{style:{...card,gap:12},children:[/*#__PURE__*/_jsx(\"p\",{style:sectionLabel,children:\"Free Consultation\"}),/*#__PURE__*/_jsx(\"p\",{style:heading,children:consultTitle}),/*#__PURE__*/_jsx(\"p\",{style:bodyText,children:consultBody}),/*#__PURE__*/_jsx(\"a\",{href:consultButtonUrl,style:btn,children:consultButtonText})]}),showPracticeAreas&&/*#__PURE__*/_jsxs(\"div\",{style:{...card,gap:0},children:[/*#__PURE__*/_jsx(\"p\",{style:{...sectionLabel,marginBottom:14},children:\"Practice Areas\"}),areas.map((area,i)=>/*#__PURE__*/_jsxs(React.Fragment,{children:[i>0&&/*#__PURE__*/_jsx(\"div\",{style:{height:1,backgroundColor:\"rgba(255,255,255,0.06)\"}}),/*#__PURE__*/_jsxs(\"a\",{href:area.url,style:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",textDecoration:\"none\",padding:\"9px 0\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"Inter, sans-serif\",fontWeight:500,fontSize:15,color:\"rgba(255,255,255,0.82)\"},children:area.label}),/*#__PURE__*/_jsx(\"span\",{style:{backgroundColor:\"rgba(255,255,255,0.09)\",borderRadius:100,padding:\"2px 9px\",fontFamily:\"Inter, sans-serif\",fontWeight:500,fontSize:12,color:\"rgba(255,255,255,0.5)\",display:\"inline-block\"},children:area.count})]})]},i))]}),showSubscribe&&/*#__PURE__*/_jsxs(\"div\",{style:{...card,gap:12},children:[/*#__PURE__*/_jsx(\"p\",{style:sectionLabel,children:\"Stay Informed\"}),/*#__PURE__*/_jsx(\"p\",{style:bodyText,children:stayInformedBody}),/*#__PURE__*/_jsx(\"a\",{href:subscribeButtonUrl,style:btn,children:subscribeButtonText}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"Inter, sans-serif\",fontSize:13,color:\"rgba(255,255,255,0.38)\",textAlign:\"center\",margin:0},children:unsubscribeText})]})]});}addPropertyControls(BlogSidebar,{layout:{type:ControlType.Enum,title:\"Layout\",options:[\"vertical\",\"horizontal\"],optionTitles:[\"Vertical\",\"Horizontal\"],defaultValue:\"vertical\"},showConsult:{type:ControlType.Boolean,title:\"Show Consult\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showPracticeAreas:{type:ControlType.Boolean,title:\"Show Practice Areas\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showSubscribe:{type:ControlType.Boolean,title:\"Show Subscribe\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},consultTitle:{type:ControlType.String,title:\"Heading\",defaultValue:\"Have a legal question?\"},consultBody:{type:ControlType.String,title:\"Body\",defaultValue:\"Speak with one of our attorneys at no charge.\",displayTextArea:true},consultButtonText:{type:ControlType.String,title:\"CTA Button\",defaultValue:\"Book a Free Call\"},consultButtonUrl:{type:ControlType.String,title:\"CTA URL\",defaultValue:\"/contact\"},stayInformedBody:{type:ControlType.String,title:\"Newsletter Body\",defaultValue:\"Monthly legal updates — no jargon, no spam.\",displayTextArea:true},subscribeButtonText:{type:ControlType.String,title:\"Subscribe Button\",defaultValue:\"Subscribe →\"},subscribeButtonUrl:{type:ControlType.String,title:\"Subscribe URL\",defaultValue:\"/contact\"},unsubscribeText:{type:ControlType.String,title:\"Unsub Text\",defaultValue:\"Unsubscribe any time.\"},practiceAreas:{type:ControlType.Array,title:\"Practice Areas\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Practice Area\"},count:{type:ControlType.Number,title:\"Count\",defaultValue:0,min:0},url:{type:ControlType.String,title:\"URL\",defaultValue:\"/blog\"}}},defaultValue:defaultPracticeAreas}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogSidebar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogSidebar.map"],"mappings":"iLAAqe,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,SAAO,WAAW,cAAY,GAAK,oBAAkB,GAAK,gBAAc,GAAK,eAAa,yBAAyB,cAAY,gDAAgD,oBAAkB,mBAAmB,mBAAiB,WAAW,mBAAiB,8CAA8C,sBAAoB,cAAc,qBAAmB,WAAW,kBAAgB,wBAAwB,gBAAc,EAAqB,SAAO,EAAY,EAAa,IAAS,aAAmB,EAAK,CAAC,gBAAgB,gBAAgB,aAAa,GAAG,QAAQ,GAAG,QAAQ,OAAO,cAAc,SAAS,UAAU,aAAa,GAAG,EAAa,CAAC,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,MAAM,OAAO,CAAC,CAAO,EAAa,CAAC,WAAW,oBAAoB,WAAW,IAAI,SAAS,GAAG,cAAc,QAAQ,cAAc,YAAY,MAAM,UAAU,OAAO,EAAE,WAAW,IAAI,CAAO,EAAQ,CAAC,WAAW,oBAAoB,WAAW,IAAI,SAAS,GAAG,WAAW,IAAI,MAAM,UAAU,OAAO,EAAE,CAAO,EAAS,CAAC,WAAW,oBAAoB,WAAW,IAAI,SAAS,GAAG,WAAW,IAAI,MAAM,yBAAyB,OAAO,EAAE,CAAO,EAAI,CAAC,gBAAgB,mBAAmB,aAAa,EAAE,QAAQ,SAAS,UAAU,SAAS,eAAe,OAAO,QAAQ,QAAQ,OAAO,6BAA6B,WAAW,oBAAoB,WAAW,IAAI,SAAS,GAAG,MAAM,UAAU,OAAO,UAAU,UAAU,OAAO,CAAO,EAAM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