"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),f=require("react");function y(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var a={exports:{}};var h;function v(){return h||(h=1,(function(o){(function(){var s={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=u(t,p.call(this,r)))}return t}function p(t){if(typeof t=="string"||typeof t=="number")return this&&this[t]||t;if(typeof t!="object")return"";if(Array.isArray(t))return n.apply(this,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)s.call(t,r)&&t[r]&&(e=u(e,this&&this[r]||r));return e}function u(t,e){return e?t?t+" "+e:t+e:t}o.exports?(n.default=n,o.exports=n):window.classNames=n})()})(a)),a.exports}var S=v();const x=y(S),j={"purpur-logo":"_purpur-logo_i793p_1","purpur-logo--black":"_purpur-logo--black_i793p_10","purpur-logo--white":"_purpur-logo--white_i793p_13","purpur-logo--purple":"_purpur-logo--purple_i793p_16"},O=x.bind(j),_="purpur-logo",b=({svg:o,allyTitle:s,className:n,color:p="purple",height:u,width:t,...e})=>{const r=f.useId(),g=O(_,`${_}--${p}`,n),l=f.useRef(null);return f.useEffect(()=>{if(!s||!l.current)return;const i=l.current.firstChild;if(!i)return;const d=i.querySelector("title");d&&d.remove();const c=document.createElement("title");c.id=r,c.textContent=s||"",i.prepend(c),i.setAttribute("aria-labelledby",r),i.setAttribute("role","img")},[s,r]),m.jsx("span",{ref:l,className:g,dangerouslySetInnerHTML:{__html:o.svg},style:{height:u,width:t},...e})};b.displayName="Logo";exports.Logo=b;
//# sourceMappingURL=logo.cjs.js.map
