async function productList() {
    const { productList: fn } = await import("./product-list.js");
    return fn();
}
async function home() {
    const { home: fn } = await import("./home.js");
    return fn();
}
async function login() {
    const { login: fn } = await import("./login.js");
    return fn();
}
async function paymentMethodSelect() {
    const { paymentMethodSelect: fn } = await import("./payment-method-select.js");
    return fn();
}
async function orderConfirmation() {
    const { orderConfirmation: fn } = await import("./order-confirmation.js");
    return fn();
}
export const paths = {
    "/": home,
    "/home": home,
    "/login": login,
    "/order/checkout/confirmation": orderConfirmation,
    "/payment-method/select": paymentMethodSelect,
    "/products": productList
};
export function runPath() {
    const { pathname } = window.location;
    const pathFn = paths[pathname];
    if (!pathFn)
        return;
    return pathFn();
}
//# sourceMappingURL=index.js.map