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>
20 lines
No EOL
480 B
Text
20 lines
No EOL
480 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = _default;
|
|
|
|
var _basis = require("./basis.js");
|
|
|
|
function _default(values) {
|
|
var n = values.length;
|
|
return function (t) {
|
|
var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),
|
|
v0 = values[(i + n - 1) % n],
|
|
v1 = values[i % n],
|
|
v2 = values[(i + 1) % n],
|
|
v3 = values[(i + 2) % n];
|
|
return (0, _basis.basis)((t - i / n) * n, v0, v1, v2, v3);
|
|
};
|
|
} |