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
566 B
Text
22 lines
No EOL
566 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = _default;
|
|
|
|
var _none = _interopRequireDefault(require("./none.js"));
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
function _default(series, order) {
|
|
if (!((n = series.length) > 0)) return;
|
|
|
|
for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {
|
|
for (y = i = 0; i < n; ++i) y += series[i][j][1] || 0;
|
|
|
|
if (y) for (i = 0; i < n; ++i) series[i][j][1] /= y;
|
|
}
|
|
|
|
(0, _none.default)(series, order);
|
|
} |