Rocky_Mountain_Vending/.pnpm-store/v10/files/c2/5c2acfe4224b6ad36675dc795bd213adbde209fc93433a337fe116284fa3a8d8b05a2f601761b6f2d46a2e6c62bf68dc4ca32cba5535ddcdeba06505994f2d
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

28 lines
806 B
Text

/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
const SDK = {
SourceMap: require('./generated/SourceMap.js'),
};
// Add `lastColumnNumber` to mappings. This will eventually be added to CDT.
// @ts-expect-error
SDK.SourceMap.prototype.computeLastGeneratedColumns = function() {
const mappings = this.mappings();
if (mappings.length && mappings[0].lastColumnNumber !== undefined) return;
for (let i = 0; i < mappings.length - 1; i++) {
const mapping = mappings[i];
const nextMapping = mappings[i + 1];
if (mapping.lineNumber === nextMapping.lineNumber) {
mapping.lastColumnNumber = nextMapping.columnNumber;
}
}
// Now, all but the last mapping on each line will have 'lastColumnNumber' set to a number.
};
module.exports = SDK;