import{jsx as e,Fragment as n}from"react/jsx-runtime";import{token as m}from"@styled/tokens";import l from"../icons/ico-rocket-fill.js";import{css as h}from"@styled/css";import{Center as a}from"@styled/jsx";import{createSlot as p,createHost as g}from"create-slots";import{Children as d,cloneElement as f}from"react";const b="https://assets.fortmatic.com/MagicLogos/blank.png",o="2.625rem",c=p(({children:t,...r})=>e(a,{children:d.map(t,i=>f(i,r))})),w=t=>{const{assetUri:r}=t;return g(t.children,i=>{const s=i.get(c);return e(n,{children:!r||r===b?s?{...s,props:{...s.props,width:o,height:o}}:e(l,{height:o,width:o,color:m("colors.brand.lighter")}):e("img",{className:h({height:o,width:o,overflow:"hidden"}),alt:"logo",src:r})})})},u=Object.assign(w,{PlaceholderIcon:c});export{u as ClientAssetLogo};
//# sourceMappingURL=client-asset-logo.js.map
