Rocky_Mountain_Vending/.pnpm-store/v10/files/20/013aa43965d427456c8de2812be57c314d52fc8cb89608850f551d0a592da525b7f5a423f17049dac66b4b8f6b7d2a869e9dd0437c7ef7cac32988e8cc7755
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

41 lines
965 B
Text

/**
* @license
* Copyright 2022 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
declare global {
interface Window {
/**
* @internal
*/
__ariaQuerySelector(root: Node, selector: string): Promise<Node | null>;
/**
* @internal
*/
__ariaQuerySelectorAll(root: Node, selector: string): Promise<Node[]>;
}
}
/**
* @internal
*/
export const ariaQuerySelector = (
root: Node,
selector: string,
): Promise<Node | null> => {
// In Firefox sandboxes globalThis !== window and we expose bindings on globalThis.
return (globalThis as unknown as Window).__ariaQuerySelector(root, selector);
};
/**
* @internal
*/
export const ariaQuerySelectorAll = async function* (
root: Node,
selector: string,
): AsyncIterable<Node> {
// In Firefox sandboxes globalThis !== window and we expose bindings on globalThis.
yield* await (globalThis as unknown as Window).__ariaQuerySelectorAll(
root,
selector,
);
};