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>
36 lines
No EOL
1.9 KiB
Text
36 lines
No EOL
1.9 KiB
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.hslLong = exports.default = void 0;
|
|
|
|
var _index = require("../../../lib-vendor/d3-color/src/index.js");
|
|
|
|
var _color = _interopRequireWildcard(require("./color.js"));
|
|
|
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
|
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
|
|
function hsl(hue) {
|
|
return function (start, end) {
|
|
var h = hue((start = (0, _index.hsl)(start)).h, (end = (0, _index.hsl)(end)).h),
|
|
s = (0, _color.default)(start.s, end.s),
|
|
l = (0, _color.default)(start.l, end.l),
|
|
opacity = (0, _color.default)(start.opacity, end.opacity);
|
|
return function (t) {
|
|
start.h = h(t);
|
|
start.s = s(t);
|
|
start.l = l(t);
|
|
start.opacity = opacity(t);
|
|
return start + "";
|
|
};
|
|
};
|
|
}
|
|
|
|
var _default = hsl(_color.hue);
|
|
|
|
exports.default = _default;
|
|
var hslLong = hsl(_color.default);
|
|
exports.hslLong = hslLong; |