"use client";
//#region packages/@mantine/core/src/components/Slider/Marks/is-mark-filled.ts
function isMarkFilled({ mark, offset, value, inverted = false, startPointValue }) {
	if (typeof startPointValue === "number" && !inverted) return mark.value >= startPointValue && mark.value <= value || mark.value <= startPointValue && mark.value >= value;
	return inverted ? typeof offset === "number" ? mark.value <= offset || mark.value >= value : mark.value >= value : typeof offset === "number" ? mark.value >= offset && mark.value <= value : mark.value <= value;
}
//#endregion
exports.isMarkFilled = isMarkFilled;

//# sourceMappingURL=is-mark-filled.cjs.map