Rocky_Mountain_Vending/.pnpm-store/v10/files/a2/8b642ab6539e6b804193b25b35255ce50d2937dc8bc33af18decb5dbd86f6bf0e817b707774d8008eec5aa09e892ede119a817c8368169c5d4c7c788ef201e
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

23 lines
516 B
Text

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {swapLocale} from './swap-locale.js';
/**
* @param {LH.FlowResult} flowResult
* @param {LH.Locale} locale
*/
function swapFlowLocale(flowResult, locale) {
const localizedFlowResult = JSON.parse(JSON.stringify(flowResult));
localizedFlowResult.steps = flowResult.steps.map(step => {
return {...step, lhr: swapLocale(step.lhr, locale).lhr};
});
return localizedFlowResult;
}
export {
swapFlowLocale,
};