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>
21 lines
No EOL
628 B
Text
21 lines
No EOL
628 B
Text
/**
|
|
* @license
|
|
* Copyright 2023 Google Inc.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
import { QueryHandler, } from './QueryHandler.js';
|
|
/**
|
|
* @internal
|
|
*/
|
|
export class XPathQueryHandler extends QueryHandler {
|
|
static querySelectorAll = (element, selector, { xpathQuerySelectorAll }) => {
|
|
return xpathQuerySelectorAll(element, selector);
|
|
};
|
|
static querySelector = (element, selector, { xpathQuerySelectorAll }) => {
|
|
for (const result of xpathQuerySelectorAll(element, selector, 1)) {
|
|
return result;
|
|
}
|
|
return null;
|
|
};
|
|
}
|
|
//# sourceMappingURL=XPathQueryHandler.js.map |