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>
25 lines
No EOL
804 B
Text
25 lines
No EOL
804 B
Text
"use strict";
|
|
/**
|
|
* @license
|
|
* Copyright 2023 Google Inc.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.XPathQueryHandler = void 0;
|
|
const QueryHandler_js_1 = require("./QueryHandler.js");
|
|
/**
|
|
* @internal
|
|
*/
|
|
class XPathQueryHandler extends QueryHandler_js_1.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;
|
|
};
|
|
}
|
|
exports.XPathQueryHandler = XPathQueryHandler;
|
|
//# sourceMappingURL=XPathQueryHandler.js.map |