import{j as s}from"./jsx-runtime-hUI6LOBV.js";import{u as m}from"./index-BiGqsMpe.js";import{c as d}from"./misc-BNcbB3dR.js";import{u as g}from"./workshop-config-BNvMPSev.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"66e9b849450b819e11683314a547a341cb57f7d0"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9639c611-470d-4e15-8ed3-6807cf1893ce",e._sentryDebugIdIdentifier="sentry-dbid-9639c611-470d-4e15-8ed3-6807cf1893ce")}catch{}})();const c={font:"w-[1em] h-[1em]",xs:"w-3 h-3",sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6",xl:"w-7 h-7","2xl":"w-8 h-8"},h={font:"gap-1.5",xs:"gap-1.5",sm:"gap-1.5",md:"gap-2",lg:"gap-2",xl:"gap-3","2xl":"gap-4"};function w({size:e="font",style:n="themed",className:t,children:l,...r}){const{product:{logo:o,displayName:i}}=g(),f=m(),a=o.includes(".svg")?s.jsxs("svg",{...r,className:d(c[e],"inline self-center",t),children:[s.jsx("title",{children:i}),s.jsx("use",{href:`${o}#${n==="themed"?f:"monochrome"}`})]}):s.jsx("img",{src:o,alt:i,...r,className:d(c[e],"inline self-center",t)});return l?s.jsxs("span",{className:`inline-flex items-center ${h[e]}`,children:[a,l]}):a}export{w as L};
//# sourceMappingURL=product-tE_ZTgJf.js.map
