{"version":3,"file":"ToolsHeroStatusBar.DI586-Ky.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/MLjQD0LaBmMaTsSzYppZ/6ihxdZLpfYnj8JGgPyid/ToolsHeroStatusBar.js"],"sourcesContent":["// Tools Hero Status Bar — live indicator pill for the /tools hero\n// Compact pill with pulsing dot + up to 4 editable stat slots.\n// Place in the hero, below the subtitle or search bar.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";function Dot({color,size,pulse}){const keyframesId=\"grou-hero-status-pulse\";return /*#__PURE__*/_jsxs(\"span\",{style:{position:\"relative\",width:size,height:size,flexShrink:0,display:\"inline-block\"},children:[pulse&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                        @keyframes ${keyframesId} {\n                            0% { transform: scale(1); opacity: 0.5; }\n                            100% { transform: scale(2.4); opacity: 0; }\n                        }\n                    `}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",inset:0,borderRadius:\"50%\",background:color,animation:`${keyframesId} 1.8s ease-out infinite`}})]}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",inset:0,borderRadius:\"50%\",background:color}})]});}/**\n * Tools Hero Status Bar\n *\n * @framerSupportedLayoutWidth fit-content\n * @framerSupportedLayoutHeight fit-content\n */export default function ToolsHeroStatusBar({show_dot=true,dot_color=\"#10B981\",dot_pulse=true,dot_size=8,slot_1_enabled=true,slot_1_number=\"82\",slot_1_label=\"tools curated\",slot_2_enabled=true,slot_2_number=\"12\",slot_2_label=\"categories\",slot_3_enabled=true,slot_3_number=\"\",slot_3_label=\"Updated every Tuesday\",slot_4_enabled=false,slot_4_number=\"\",slot_4_label=\"\",separator=\"\\xb7\",bg_color=\"#FFFFFF\",border_color=\"#E2E8F0\",border_width=.5,number_color=\"#020C80\",label_color=\"#64748B\",separator_color=\"#CBD5E1\",font_size=13,padding_y=8,padding_x=16,border_radius=999,gap=10,link=\"\"}){const geist=\"Geist, 'Inter', system-ui, sans-serif\";const slots=[{enabled:slot_1_enabled,number:slot_1_number,label:slot_1_label},{enabled:slot_2_enabled,number:slot_2_number,label:slot_2_label},{enabled:slot_3_enabled,number:slot_3_number,label:slot_3_label},{enabled:slot_4_enabled,number:slot_4_number,label:slot_4_label}].filter(s=>s.enabled&&(s.number||s.label));if(slots.length===0&&!show_dot)return null;const content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",gap,padding:`${padding_y}px ${padding_x}px ${padding_y}px ${show_dot?padding_x-2:padding_x}px`,background:bg_color,border:`${border_width}px solid ${border_color}`,borderRadius:border_radius,fontSize:font_size,fontFamily:geist,lineHeight:1.2,whiteSpace:\"nowrap\",letterSpacing:\"-0.005em\"},children:[show_dot&&/*#__PURE__*/_jsx(Dot,{color:dot_color,size:dot_size,pulse:dot_pulse}),slots.map((slot,i)=>/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:0},children:[i>0&&/*#__PURE__*/_jsx(\"span\",{style:{color:separator_color,marginRight:gap,fontWeight:400},children:separator}),slot.number&&slot.number.length>0&&/*#__PURE__*/_jsx(\"span\",{style:{color:number_color,fontWeight:500,marginRight:slot.label?5:0,fontVariantNumeric:\"tabular-nums\"},children:slot.number}),slot.label&&slot.label.length>0&&/*#__PURE__*/_jsx(\"span\",{style:{color:label_color,fontWeight:400},children:slot.label})]},i))]});if(link&&link.length>0){return /*#__PURE__*/_jsx(\"a\",{href:link,style:{textDecoration:\"none\",display:\"inline-block\"},children:content});}return content;}function slotControls(n,defaultEnabled,defaultNumber,defaultLabel){return{[`slot_${n}_enabled`]:{type:ControlType.Boolean,title:`Slot ${n} / Enabled`,defaultValue:defaultEnabled},[`slot_${n}_number`]:{type:ControlType.String,title:`Slot ${n} / Number`,defaultValue:defaultNumber,description:\"Leave empty to show only label (for text-only slots like 'Updated weekly')\"},[`slot_${n}_label`]:{type:ControlType.String,title:`Slot ${n} / Label`,defaultValue:defaultLabel}};}addPropertyControls(ToolsHeroStatusBar,{show_dot:{type:ControlType.Boolean,title:\"Show dot\",defaultValue:true},dot_pulse:{type:ControlType.Boolean,title:\"Pulse\",defaultValue:true,description:\"Subtle pulse ring around the dot\"},dot_color:{type:ControlType.Color,title:\"Dot color\",defaultValue:\"#10B981\",description:\"Green = live. Use #203EEB for brand blue instead.\"},dot_size:{type:ControlType.Number,title:\"Dot size\",defaultValue:8,min:4,max:16,step:1},...slotControls(1,true,\"82\",\"tools curated\"),...slotControls(2,true,\"12\",\"categories\"),...slotControls(3,true,\"\",\"Updated every Tuesday\"),...slotControls(4,false,\"\",\"\"),separator:{type:ControlType.String,title:\"Separator\",defaultValue:\"\\xb7\"},link:{type:ControlType.Link,title:\"Link (optional)\",description:\"Makes the whole pill clickable, e.g. /newsletter\"},bg_color:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},border_color:{type:ControlType.Color,title:\"Border color\",defaultValue:\"#E2E8F0\"},border_width:{type:ControlType.Number,title:\"Border width\",defaultValue:.5,min:0,max:3,step:.5},number_color:{type:ControlType.Color,title:\"Number color\",defaultValue:\"#020C80\"},label_color:{type:ControlType.Color,title:\"Label color\",defaultValue:\"#64748B\"},separator_color:{type:ControlType.Color,title:\"Separator color\",defaultValue:\"#CBD5E1\"},font_size:{type:ControlType.Number,title:\"Font size\",defaultValue:13,min:10,max:18,step:1},padding_y:{type:ControlType.Number,title:\"Padding Y\",defaultValue:8,min:4,max:20,step:1},padding_x:{type:ControlType.Number,title:\"Padding X\",defaultValue:16,min:8,max:32,step:1},border_radius:{type:ControlType.Number,title:\"Border radius\",defaultValue:999,min:0,max:999,step:1},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:10,min:2,max:24,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ToolsHeroStatusBar\",\"slots\":[],\"annotations\":{\"framerSupport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