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>
22 lines
No EOL
534 B
Text
22 lines
No EOL
534 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = _default;
|
|
|
|
function _default(series, order) {
|
|
if (!((n = series.length) > 0)) return;
|
|
|
|
for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) {
|
|
for (yp = yn = 0, i = 0; i < n; ++i) {
|
|
if ((dy = (d = series[order[i]][j])[1] - d[0]) > 0) {
|
|
d[0] = yp, d[1] = yp += dy;
|
|
} else if (dy < 0) {
|
|
d[1] = yn, d[0] = yn += dy;
|
|
} else {
|
|
d[0] = 0, d[1] = dy;
|
|
}
|
|
}
|
|
}
|
|
} |