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>
25 lines
No EOL
413 B
Text
25 lines
No EOL
413 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = pairs;
|
|
exports.pair = pair;
|
|
|
|
function pairs(values, pairof = pair) {
|
|
const pairs = [];
|
|
let previous;
|
|
let first = false;
|
|
|
|
for (const value of values) {
|
|
if (first) pairs.push(pairof(previous, value));
|
|
previous = value;
|
|
first = true;
|
|
}
|
|
|
|
return pairs;
|
|
}
|
|
|
|
function pair(a, b) {
|
|
return [a, b];
|
|
} |