{"version":3,"file":"PatchCardIcon.D741R1wz.mjs","names":[],"sources":["https:/framerusercontent.com/modules/5lS5fOOt5z51pRTlAl9I/XzlmCSsrX9DcBkdO75YS/PatchCardIcon.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const icons={\"Bolt Heart\":\"https://framerusercontent.com/images/2KLvDP1el2ZCpHIGYSIKUxJXIM.svg\",Star:\"https://framerusercontent.com/images/00x3iGkZErDZbn7lq0JCodRNvc.svg\"};const tones={Support:{tile:\"var(--token-1651b582-7b2c-471a-bf26-4300d438a225, #DCEBFF)\",glyph:\"var(--token-9d6917bc-7249-4328-9498-6c8448b82d3e, #0A4FB3)\"},Discover:{tile:\"var(--token-7d09aa58-5bc5-4577-aa5b-a36de6773e66, #ECD9F6)\",glyph:\"var(--token-8c764739-9dbe-4cfa-8722-db3bf3e0d236, #5A1E8A)\"}};/**\n * A non-interactive icon tile for Patch detail next-step cards. The soft tile\n * anchors the symbol to the widget while role color distinguishes Support from\n * Patch Picks in both light and dark mode.\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function PatchCardIcon({icon=\"Star\",tone=\"Discover\",surface=\"Standard\"}){const resolvedIcon=tone===\"Support\"?\"Bolt Heart\":icon;const url=icons[resolvedIcon];const palette=tones[tone];return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:\"100%\",height:\"100%\",display:\"grid\",placeItems:\"center\",overflow:\"hidden\",borderRadius:15,background:surface===\"Soft\"?`color-mix(in srgb, ${palette.glyph} 15%, transparent)`:palette.tile,border:`1px solid color-mix(in srgb, ${palette.glyph} ${surface===\"Soft\"?25:34}%, transparent)`},children:/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",width:28,height:28,background:palette.glyph,WebkitMaskImage:\"url(\"+url+\")\",maskImage:\"url(\"+url+\")\",WebkitMaskRepeat:\"no-repeat\",maskRepeat:\"no-repeat\",WebkitMaskPosition:\"center\",maskPosition:\"center\",WebkitMaskSize:\"contain\",maskSize:\"contain\"}})});}PatchCardIcon.displayName=\"Patch Card Icon\";addPropertyControls(PatchCardIcon,{icon:{type:ControlType.Enum,title:\"Icon\",options:[\"Bolt Heart\",\"Star\"],defaultValue:\"Star\"},tone:{type:ControlType.Enum,title:\"Tone\",options:[\"Support\",\"Discover\"],defaultValue:\"Discover\"},surface:{type:ControlType.Enum,title:\"Surface\",options:[\"Standard\",\"Soft\"],defaultValue:\"Standard\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PatchCardIcon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PatchCardIcon.map"],"mappings":"4JAOG,SAAwB,EAAc,CAAC,OAAK,OAAO,OAAK,WAAW,UAAQ,YAAY,CAAuD,IAAM,EAAI,EAA7C,IAAO,UAAU,aAAa,GAAyC,EAAQ,EAAM,GAAM,OAAoB,EAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,WAAW,SAAS,SAAS,SAAS,aAAa,GAAG,WAAW,IAAU,OAAO,sBAAsB,EAAQ,MAAM,oBAAoB,EAAQ,KAAK,OAAO,gCAAgC,EAAQ,MAAM,GAAG,IAAU,OAAO,GAAG,GAAG,gBAAgB,EAAE,SAAsB,EAAK,OAAO,CAAC,MAAM,CAAC,QAAQ,QAAQ,MAAM,GAAG,OAAO,GAAG,WAAW,EAAQ,MAAM,gBAAgB,OAAO,EAAI,IAAI,UAAU,OAAO,EAAI,IAAI,iBAAiB,YAAY,WAAW,YAAY,mBAAmB,SAAS,aAAa,SAAS,eAAe,UAAU,SAAS,SAAS,CAAC,CAAC,CAAC,CAAC,CAAE,qBAPlzB,IAAoD,EAAO,EAAM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