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>
9 lines
309 B
Text
9 lines
309 B
Text
export default function(series, order) {
|
|
if (!((n = series.length) > 1)) return;
|
|
for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {
|
|
s0 = s1, s1 = series[order[i]];
|
|
for (j = 0; j < m; ++j) {
|
|
s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];
|
|
}
|
|
}
|
|
}
|