"use client";
//#region packages/@mantine/core/src/core/utils/get-safe-id/get-safe-id.ts
function getSafeId(uid, errorMessage) {
	return (value) => {
		if (typeof value !== "string" || value.trim().length === 0) throw new Error(errorMessage);
		return `${uid}-${value}`;
	};
}
//#endregion
exports.getSafeId = getSafeId;

//# sourceMappingURL=get-safe-id.cjs.map