try {
	let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
	n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9e842547-3d6c-4d30-9f08-77fdcfb650de", e._sentryDebugIdIdentifier = "sentry-dbid-9e842547-3d6c-4d30-9f08-77fdcfb650de");
} catch (e) {}
import { t as Alert } from "./Alert-CjZYipjN.js";
import { t as useAnalyticsContext } from "./useAnalyticsContext-DfTXpZbA.js";
import { jsx } from "preact/jsx-runtime";
//#region src/components/ui/molecules/ContextGuidance/ContextGuidance.tsx
function ContextGuidance({ title, content, titleId, contentId, trackingParams }) {
	const userEvents = useAnalyticsContext();
	const onGuidanceToggle = (status) => {
		userEvents.addFieldEvent("Clicked accordion", {
			actionType: status,
			field: "context guidance",
			label: titleId,
			content: contentId,
			...trackingParams
		});
	};
	return /* @__PURE__ */ jsx(Alert, {
		title,
		type: "collapsible",
		variant: "info",
		onToggle: onGuidanceToggle,
		children: content
	});
}
//#endregion
export { ContextGuidance as t };
