Rocky_Mountain_Vending/.pnpm-store/v10/files/4c/fce200e3b94575eae3f95bda2074fb2af535a52ce9b4ccc2ea57599f22eca2e3de836c6fb582c5dbae8a1e0ee9171c1f1395c39f7cd814c28cb2b72ff6ebb9
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

57 lines
1.1 KiB
Text

// @ts-nocheck
/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
// Functions manually copied from:
// https://github.com/ChromeDevTools/devtools-frontend/blob/main/front_end/core/platform/array-utilities.ts#L125
/**
* @param {any[]} array
* @param {any} needle
* @param {any} comparator
*/
function lowerBound(array, needle, comparator, left, right) {
let l = left || 0;
let r = right !== undefined ? right : array.length;
while (l < r) {
const m = (l + r) >> 1;
if (comparator(needle, array[m]) > 0) {
l = m + 1;
} else {
r = m;
}
}
return r;
}
/**
* @param {any[]} array
* @param {any} needle
* @param {any} comparator
*/
function upperBound(array, needle, comparator, left, right) {
let l = left || 0;
let r = right !== undefined ? right : array.length;
while (l < r) {
const m = (l + r) >> 1;
if (comparator(needle, array[m]) >= 0) {
l = m + 1;
} else {
r = m;
}
}
return r;
}
module.exports = {
ArrayUtilities: {
lowerBound,
upperBound,
},
DevToolsPath: {
EmptyUrlString: '',
},
};