import { getBrandSizeClass as e, getConnectorLogoInitial as t, getConnectorLogoSizeClass as n, getConnectorLogoTone as r } from "../components/brand/index.js";
import { t as i } from "../utils-B7XIe3qq.js";
import "react";
import { jsx as a, jsxs as o } from "react/jsx-runtime";
//#region src/react/brand/index.tsx
function s({ className: t, size: n = 24, label: r = "CounterMeasure diamond", decorative: s = !0, ...c }) {
	let l = e("cmm-diamond", n), u = s ? { "aria-hidden": !0 } : {
		role: "img",
		"aria-label": r
	};
	return /* @__PURE__ */ o("svg", {
		width: n,
		height: n,
		viewBox: "0 0 46.64 46.64",
		xmlns: "http://www.w3.org/2000/svg",
		className: i("cmm-diamond", l, t),
		...u,
		...c,
		children: [
			/* @__PURE__ */ a("rect", {
				x: "2.62",
				y: "16.42",
				width: "13.8",
				height: "13.8",
				rx: "0.57",
				transform: "translate(-13.7 13.56) rotate(-45)",
				className: "cmm-diamond__foreground"
			}),
			/* @__PURE__ */ a("rect", {
				x: "16.42",
				y: "30.22",
				width: "13.8",
				height: "13.8",
				rx: "0.57",
				transform: "translate(-19.42 27.36) rotate(-45)",
				className: "cmm-diamond__slate"
			}),
			/* @__PURE__ */ a("rect", {
				x: "16.42",
				y: "2.62",
				width: "13.8",
				height: "13.8",
				rx: "0.57",
				transform: "translate(0.1 19.28) rotate(-45)",
				className: "cmm-diamond__orange"
			})
		]
	});
}
function c({ className: e, size: t = 32, variant: n = "auto", subtitle: r, label: s = "CounterMeasure", decorative: c = !1, ...l }) {
	let u = Math.round(220 / 32 * t * 100) / 100, d = c ? { "aria-hidden": !0 } : {
		role: "img",
		"aria-label": s
	};
	return /* @__PURE__ */ o("div", {
		className: i("cmm-wordmark", `cmm-wordmark--${n}`, e),
		...d,
		...l,
		children: [/* @__PURE__ */ o("svg", {
			width: u,
			height: t,
			viewBox: "0 0 220 32",
			xmlns: "http://www.w3.org/2000/svg",
			className: "cmm-wordmark__svg",
			"aria-hidden": "true",
			children: [/* @__PURE__ */ o("g", {
				transform: "translate(0,3)",
				children: [
					/* @__PURE__ */ a("rect", {
						x: "1.78",
						y: "11.16",
						width: "9.4",
						height: "9.4",
						rx: "0.4",
						transform: "translate(-9.32 9.22) rotate(-45)",
						className: "cmm-wordmark__foreground"
					}),
					/* @__PURE__ */ a("rect", {
						x: "11.16",
						y: "20.54",
						width: "9.4",
						height: "9.4",
						rx: "0.4",
						transform: "translate(-13.21 18.6) rotate(-45)",
						className: "cmm-wordmark__slate"
					}),
					/* @__PURE__ */ a("rect", {
						x: "11.16",
						y: "1.78",
						width: "9.4",
						height: "9.4",
						rx: "0.4",
						transform: "translate(0.07 13.11) rotate(-45)",
						className: "cmm-wordmark__orange"
					})
				]
			}), /* @__PURE__ */ a("text", {
				x: "42",
				y: "22",
				className: "cmm-wordmark__text",
				fontFamily: "Outfit, sans-serif",
				fontSize: "18",
				fontWeight: "600",
				letterSpacing: "-0.01em",
				children: "CounterMeasure"
			})]
		}), r === void 0 ? null : /* @__PURE__ */ a("span", {
			className: "cmm-wordmark__subtitle",
			children: r
		})]
	});
}
function l({ className: e, name: o, src: s, size: c = 32, label: l, decorative: u = !1, children: d, ...f }) {
	let p = s !== void 0 || d !== void 0, m = u ? { "aria-hidden": !0 } : {
		role: "img",
		"aria-label": l ?? `${o} connector`
	};
	return /* @__PURE__ */ a("span", {
		className: i("cmm-connector-logo", n(c), `cmm-connector-logo--vendor-${r(o)}`, p && "cmm-connector-logo--asset", e),
		...m,
		...f,
		children: s === void 0 ? d === void 0 ? t(o) : /* @__PURE__ */ a("span", {
			className: "cmm-connector-logo__asset",
			"aria-hidden": "true",
			children: d
		}) : /* @__PURE__ */ a("img", {
			className: "cmm-connector-logo__asset",
			src: s,
			alt: "",
			"aria-hidden": "true"
		})
	});
}
var u = s, d = s, f = c, p = c;
//#endregion
export { l as ConnectorLogo, d as CounterMeasureLogo, p as CounterMeasureWordmark, u as CountermeasureLogo, f as CountermeasureWordmark, s as Diamond, c as Wordmark };

//# sourceMappingURL=brand.js.map