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>
19 lines
No EOL
386 B
Text
19 lines
No EOL
386 B
Text
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
exports.default = collectElements;
|
|
|
|
function collectElements(node, direction) {
|
|
var nextNode = null;
|
|
var nodes = [];
|
|
nextNode = node ? node[direction] : null;
|
|
|
|
while (nextNode && nextNode.nodeType !== 9) {
|
|
nodes.push(nextNode);
|
|
nextNode = nextNode[direction] || null;
|
|
}
|
|
|
|
return nodes;
|
|
}
|
|
|
|
module.exports = exports["default"]; |