{"version":3,"file":"StatsBand.B1ONIBHj.mjs","names":["u"],"sources":["https:/framerusercontent.com/modules/4QxJXXt4o2pzLLGZHWhj/sy4SMAgcBD2hiFy1ZXaw/StatsBand.js"],"sourcesContent":["// Stats band: a row of equal-height stat cards (big accent number + grey caption).\n// Same card language as SocialProof.tsx (white card, #ececec border, 14px radius, soft shadow).\n// Plain string props (not an array) so stat copy stays editable on existing instances.\n// Cards flex-wrap: 3-up on desktop, stacking on narrow containers. Empty number+caption hides a card.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const MONT=\"'Montserrat', 'Segoe UI', sans-serif\";const OPEN=\"'Open Sans', 'Segoe UI', sans-serif\";const GREY=\"#646464\";function useFonts(){useEffect(()=>{if(typeof document===\"undefined\")return;if(document.getElementById(\"onyx-proof-fonts\"))return;const l=document.createElement(\"link\");l.id=\"onyx-proof-fonts\";l.rel=\"stylesheet\";l.href=\"https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap\";document.head.appendChild(l);},[]);}/**\n * Stats Band\n *\n * @framerIntrinsicWidth 1136\n * @framerIntrinsicHeight 190\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function StatsBand(props){const{stat1Number=\"Half a billion+\",stat1Caption=\"routing decisions every year\",stat2Number=\"35M+\",stat2Caption=\"minutes of conversation a year\",stat3Number=\"8M+\",stat3Caption=\"connections made between consumers and agents every year\",accent=\"#1f71b9\",style}=props;useFonts();const stats=[{n:stat1Number,c:stat1Caption},{n:stat2Number,c:stat2Caption},{n:stat3Number,c:stat3Caption}].filter(s=>s.n&&s.n.trim()||s.c&&s.c.trim());const u=\"onyx-statsband\";return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",fontFamily:OPEN,...style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .${u}-wrap { display:flex; flex-wrap:wrap; align-items:stretch; gap:28px; width:100%; }\n                .${u}-card { flex:1 1 280px; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:8px; background:#fff; border:1px solid #ececec; border-radius:14px; padding:36px 30px; box-shadow:0 1px 2px rgba(8,30,45,.04), 0 8px 22px rgba(8,30,45,.05); }\n            `}),/*#__PURE__*/_jsx(\"div\",{className:`${u}-wrap`,children:stats.map((s,i)=>/*#__PURE__*/_jsxs(\"div\",{className:`${u}-card`,children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:MONT,fontWeight:700,fontSize:42,lineHeight:1.1,color:accent,letterSpacing:\"-0.02em\"},children:s.n}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:OPEN,fontSize:16,lineHeight:\"23px\",color:GREY,maxWidth:320},children:s.c})]},i))})]});}addPropertyControls(StatsBand,{stat1Number:{type:ControlType.String,title:\"Stat 1 number\",defaultValue:\"Half a billion+\"},stat1Caption:{type:ControlType.String,title:\"Stat 1 caption\",displayTextArea:true,defaultValue:\"routing decisions every year\"},stat2Number:{type:ControlType.String,title:\"Stat 2 number\",defaultValue:\"35M+\"},stat2Caption:{type:ControlType.String,title:\"Stat 2 caption\",displayTextArea:true,defaultValue:\"minutes of conversation a year\"},stat3Number:{type:ControlType.String,title:\"Stat 3 number\",defaultValue:\"8M+\"},stat3Caption:{type:ControlType.String,title:\"Stat 3 caption\",displayTextArea:true,defaultValue:\"connections made between consumers and agents every year\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#1f71b9\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StatsBand\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"190\",\"framerIntrinsicWidth\":\"1136\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL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