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>
46 lines
No EOL
838 B
Text
46 lines
No EOL
838 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.initInterpolator = initInterpolator;
|
|
exports.initRange = initRange;
|
|
|
|
function initRange(domain, range) {
|
|
switch (arguments.length) {
|
|
case 0:
|
|
break;
|
|
|
|
case 1:
|
|
this.range(domain);
|
|
break;
|
|
|
|
default:
|
|
this.range(range).domain(domain);
|
|
break;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
|
|
function initInterpolator(domain, interpolator) {
|
|
switch (arguments.length) {
|
|
case 0:
|
|
break;
|
|
|
|
case 1:
|
|
{
|
|
if (typeof domain === "function") this.interpolator(domain);else this.range(domain);
|
|
break;
|
|
}
|
|
|
|
default:
|
|
{
|
|
this.domain(domain);
|
|
if (typeof interpolator === "function") this.interpolator(interpolator);else this.range(interpolator);
|
|
break;
|
|
}
|
|
}
|
|
|
|
return this;
|
|
} |