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