{"version":3,"file":"FeatureCardGrid.co8Tvb_s.mjs","names":[],"sources":["https:/framer.com/m/TileIcon-gct4zo.js","https:/framerusercontent.com/modules/89JaM4kGjIomHwLH2Uc8/jMPMq7DxmuGl6WIwXbJv/FeatureCardGrid.js"],"sourcesContent":["/*\n * TileIcon\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/YbQPMQLse5j0aIYITzdB/M96SPabrki7szJAokBvp/TileIcon.js\"\nexport { default } from \"https://framerusercontent.com/modules/YbQPMQLse5j0aIYITzdB/M96SPabrki7szJAokBvp/TileIcon.js\"\n","// Reusable feature-card grid: an items array of {title, blurb, pill?, icon?} rendered as white\n// cards with a blue-tint icon tile, title (+ optional outline pill), and wrapping blurb.\n// Icons are Material glyphs from the TileIcon module — item.icon wins, otherwise matchIcon(title)\n// picks one; unknown/no match falls back to the plain tinted tile (old behavior).\n// NOTE: cross-file imports must use the framer.com/m module URL — a plain \"./TileIcon\"\n// relative import typechecks but fails to resolve in the preview bundler (!missing/...).\n// Configurable columns/accent/iconTint. Text wraps naturally (fixes the fit-content overflow).\n// Responsive: collapses to a single column on narrow containers (tablet/phone) via a CSS\n// container query, so it needs no per-breakpoint override. Defensive: items array OR JSON string.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{ICON_PATHS,matchIcon}from\"https://framer.com/m/TileIcon-gct4zo.js\";const MONT=\"'Montserrat', 'Segoe UI', sans-serif\";const OPEN=\"'Open Sans', 'Segoe UI', sans-serif\";const NAVY=\"#081e2d\";const GREY=\"#646464\";const GREY2=\"#757575\";// Glyphs added to TileIcon AFTER this file was last compiled do NOT reach us: the\n// framer.com/m module import resolves to the TileIcon build current at our compile\n// time, so a newer key reads as undefined and the tile renders EMPTY (this is what\n// blanked the Medicare \"A dialer built to hold up.\" card — `call` is TileIcon's 19th\n// glyph, added after this component). EXTRA_PATHS carries those late additions locally\n// so the card is correct either way. Keep entries byte-identical to TileIcon's, and\n// prune one once a rebuild proves ICON_PATHS supplies it.\nconst EXTRA_PATHS={call:\"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z\",offline_bolt:\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 16h-2v-5H8l3-7v5h3l-3 7z\"};const CURATED_ICON_OPTIONS=[\"offline_bolt\",\"account_tree\",\"attach_money\",\"auto_awesome\",\"call\",\"call_split\",\"domain\",\"extension\",\"fact_check\",\"history\",\"insights\",\"layers\",\"library_books\",\"mic\",\"people\",\"security\",\"tune\",\"verified\",\"verified_user\",\"visibility\"];const CURATED_ICON_TITLES=[\"Offline Bolt (Lightning)\",\"Account Tree\",\"Attach Money\",\"Auto Awesome\",\"Call\",\"Call Split\",\"Domain\",\"Extension\",\"Fact Check\",\"History\",\"Insights\",\"Layers\",\"Library Books\",\"Mic\",\"People\",\"Security\",\"Tune\",\"Verified\",\"Verified User\",\"Visibility\"];const DEFAULT_ICON_KEY=\"insights\";function pathFor(key){if(!key)return undefined;return ICON_PATHS[key]||EXTRA_PATHS[key];}// item.icon wins; an unknown/blank icon still falls through to the title match.\nfunction glyphFor(item){return pathFor(item.icon)||pathFor(matchIcon(item.title))||pathFor(DEFAULT_ICON_KEY);}function hexToRgba(hex,a){const m=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex||\"\");if(!m)return`rgba(31,113,185,${a})`;return`rgba(${parseInt(m[1],16)},${parseInt(m[2],16)},${parseInt(m[3],16)},${a})`;}const DEFAULT_ITEMS=[{title:\"Preloaded instance content\",blurb:\"Spin up a new downline with your scripts, scorecards, and retention campaigns already in place — your playbook, replicated in minutes.\"},{title:\"Commission visibility\",pill:\"Scope in review\",blurb:\"Track hierarchy and commissions in the same place you run the calls.\"},{title:\"FMO-level retention & compliance\",blurb:\"Keep members longer and keep every downline audit-ready — across the whole hierarchy.\"},{title:\"Independence you own\",blurb:\"Your agencies run on a platform they control — not one that's free because it's locked to a single FMO or carrier.\"}];function coerceItems(items){if(Array.isArray(items))return items;if(typeof items===\"string\"){try{const parsed=JSON.parse(items);if(Array.isArray(parsed))return parsed;}catch(e){}}return DEFAULT_ITEMS;}function useFonts(){React.useEffect(()=>{if(typeof document===\"undefined\")return;if(document.getElementById(\"onyx-fcg-fonts\"))return;const l=document.createElement(\"link\");l.id=\"onyx-fcg-fonts\";l.rel=\"stylesheet\";l.href=\"https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;600;700&display=swap\";document.head.appendChild(l);},[]);}// Injected once: a container query collapses the grid to a single column when the grid's\n// own width drops below ~560px (tablet stays multi-column, phone goes single).\nconst RESPONSIVE_CSS=`\n.onyx-fcg-wrap { container-type: inline-size; }\n@container (max-width: 559px) {\n  .onyx-fcg-grid { grid-template-columns: 1fr !important; }\n}\n@supports not (container-type: inline-size) {\n  @media (max-width: 620px) { .onyx-fcg-grid { grid-template-columns: 1fr !important; } }\n}\n`;function useResponsiveCss(){React.useEffect(()=>{if(typeof document===\"undefined\")return;if(document.getElementById(\"onyx-fcg-style\"))return;const s=document.createElement(\"style\");s.id=\"onyx-fcg-style\";s.textContent=RESPONSIVE_CSS;document.head.appendChild(s);},[]);}/**\n * Feature Card Grid\n *\n * @framerIntrinsicWidth 1136\n * @framerIntrinsicHeight 320\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function FeatureCardGrid(props){const{items=DEFAULT_ITEMS,columns=2,accent=\"#1f71b9\",iconTint=\"#eaf2fc\",style}=props;useFonts();useResponsiveCss();const list=coerceItems(items);const cols=Math.max(1,Math.min(4,columns||2));return /*#__PURE__*/_jsx(\"div\",{className:\"onyx-fcg-wrap\",style:{width:\"100%\",fontFamily:OPEN,...style},children:/*#__PURE__*/_jsx(\"div\",{className:\"onyx-fcg-grid\",style:{display:\"grid\",gridTemplateColumns:`repeat(${cols}, minmax(0, 1fr))`,gap:24,alignItems:\"stretch\"},children:list.map((it,i)=>{const glyph=glyphFor(it);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:16,alignItems:\"flex-start\",background:\"#fff\",border:\"1px solid #e8e8e8\",borderRadius:12,padding:\"26px 28px\",boxShadow:\"0 1px 2px rgba(8,30,45,.04), 0 6px 18px rgba(8,30,45,.05)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:42,height:42,flex:\"0 0 auto\",borderRadius:10,background:iconTint,border:`1px solid ${hexToRgba(accent,.2)}`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},\"aria-hidden\":\"true\",children:glyph?/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"22\",height:\"22\",role:\"presentation\",style:{display:\"block\"},children:/*#__PURE__*/_jsx(\"path\",{d:glyph,fill:accent})}):null}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:7,minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:MONT,fontWeight:600,fontSize:18,lineHeight:\"24px\",color:NAVY},children:it.title}),it.pill?/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:OPEN,fontWeight:600,fontSize:10,letterSpacing:\"0.08em\",textTransform:\"uppercase\",color:GREY2,border:\"1px solid #cecece\",borderRadius:99,padding:\"3px 9px\",whiteSpace:\"nowrap\"},children:it.pill}):null]}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:OPEN,fontSize:15,lineHeight:\"21px\",color:GREY},children:it.blurb})]})]},i);})})});}addPropertyControls(FeatureCardGrid,{columns:{type:ControlType.Number,title:\"Columns\",defaultValue:2,min:1,max:4,step:1,displayStepper:true},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#1f71b9\"},iconTint:{type:ControlType.Color,title:\"Icon Tint\",defaultValue:\"#eaf2fc\"},items:{type:ControlType.Array,title:\"Cards\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Feature\"},blurb:{type:ControlType.String,title:\"Blurb\",displayTextArea:true,defaultValue:\"\"},pill:{type:ControlType.String,title:\"Pill (optional)\",defaultValue:\"\"},icon:{type:ControlType.Enum,title:\"Icon (optional)\",options:[...CURATED_ICON_OPTIONS],optionTitles:[...CURATED_ICON_TITLES],defaultValue:\"offline_bolt\"}}},defaultValue:DEFAULT_ITEMS}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FeatureCardGrid\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1136\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"320\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FeatureCardGrid.map"],"mappings":"+PAOoH,KCS8zB,SAAS,EAAQ,EAAI,CAAK,KAAqB,OAAO,EAAW,IAAM,EAAY,EAAK,CAC1gC,SAAS,EAAS,EAAK,CAAC,OAAO,EAAQ,EAAK,IAAI,GAAG,EAAQ,EAAU,EAAK,KAAK,CAAC,GAAG,EAAQ,CAAgB,CAAE,CAAC,SAAS,EAAU,EAAI,EAAE,CAAC,IAAM,EAAE,4CAA4C,KAAK,GAAK,EAAE,EAAsC,OAAhC,EAAsC,QAAQ,SAAS,EAAE,GAAG,EAAE,EAAE,GAAG,SAAS,EAAE,GAAG,EAAE,EAAE,GAAG,SAAS,EAAE,GAAG,EAAE,E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