Rocky_Mountain_Vending/.pnpm-store/v10/files/b0/df582ea52ee456c558d11b55baa6c1a0981f06c09763e3063407ef123868081a605ec57bab94237356fcb91c885dedfb68d86c6b3f41c0fde950f4d9e87933
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
No EOL
911 B
Text

// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import * as Types from '../types/types.js';
/**
* A trace file will contain all the text paints that were candidates for the
* LargestTextPaint. If an LCP event is text, it will point to one of these
* candidates, so we store them by their DOM Node ID.
**/
const textPaintByDOMNodeId = new Map();
export function reset() {
textPaintByDOMNodeId.clear();
}
export function handleEvent(event) {
if (!Types.Events.isLargestTextPaintCandidate(event)) {
return;
}
if (!event.args.data) {
return;
}
textPaintByDOMNodeId.set(event.args.data.DOMNodeId, event);
}
export async function finalize() {
}
export function data() {
return textPaintByDOMNodeId;
}
//# sourceMappingURL=LargestTextPaintHandler.js.map