//#region node_modules/.nitro/vite/services/ssr/assets/fy-C7Q3MBgO.js
function fyForDate(d = /* @__PURE__ */ new Date()) {
	const y = d.getFullYear();
	const start = d.getMonth() + 1 >= 4 ? y : y - 1;
	return `${start}-${String((start + 1) % 100).padStart(2, "0")}`;
}
function fyList(count = 5) {
	const current = fyForDate();
	const startYear = Number(current.split("-")[0]);
	return Array.from({ length: count }, (_, i) => {
		const s = startYear - i;
		return `${s}-${String((s + 1) % 100).padStart(2, "0")}`;
	});
}
var FY_MONTHS = [
	{
		v: 4,
		label: "April"
	},
	{
		v: 5,
		label: "May"
	},
	{
		v: 6,
		label: "June"
	},
	{
		v: 7,
		label: "July"
	},
	{
		v: 8,
		label: "August"
	},
	{
		v: 9,
		label: "September"
	},
	{
		v: 10,
		label: "October"
	},
	{
		v: 11,
		label: "November"
	},
	{
		v: 12,
		label: "December"
	},
	{
		v: 1,
		label: "January"
	},
	{
		v: 2,
		label: "February"
	},
	{
		v: 3,
		label: "March"
	}
];
function yearForFyMonth(fy, month) {
	const start = Number(fy.split("-")[0]);
	return month >= 4 ? start : start + 1;
}
//#endregion
export { yearForFyMonth as i, fyForDate as n, fyList as r, FY_MONTHS as t };
