Rocky_Mountain_Vending/.pnpm-store/v10/files/9b/fda4c22a481922df6f7f8a7109bed7850116e18248559488c3cd324fa1d7a30fb36c55626da978dee606d0f4325dae5847834dd5baed28fefee3e0c27ffab3
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

16 lines
No EOL
481 B
Text

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWeeks = getWeeks;
/**
* Returns an array of calendar weeks from an array of calendar months.
*
* @param months The array of calendar months.
* @returns An array of calendar weeks.
*/
function getWeeks(months) {
const initialWeeks = [];
return months.reduce((weeks, month) => {
return [...weeks, ...month.weeks];
}, initialWeeks);
}
//# sourceMappingURL=getWeeks.js.map