Rocky_Mountain_Vending/.pnpm-store/v10/files/76/c1883a104e7a3bf57d297b5361848e03657fc5f3493b89136beaea3f197f6217469b27168d80375ade9df861d282a24defce6baf55931e2dfa329b603254a0
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

12 lines
308 B
Text

import none from "./none.js";
export default function(series) {
var sums = series.map(sum);
return none(series).sort(function(a, b) { return sums[a] - sums[b]; });
}
export function sum(series) {
var s = 0, i = -1, n = series.length, v;
while (++i < n) if (v = +series[i][1]) s += v;
return s;
}