'use strict';
import { fdRedirect } from '../server/framework/index.js';
import { addQueryParamsToPath } from '../routing/paths.js';
import { addSlashToUrlIfNeeded } from '../routing/routers.js';

var __defProp=Object['defineProperty'],__name=(_0x118338,_0x170f23)=>__defProp(_0x118338,'name',{'value':_0x170f23,'configurable':!![]});async function redirectFunction(_0x40b1dc){fdRedirect(_0x40b1dc);}__name(redirectFunction,'redirectFunction');function navigate(_0x33fc9c,_0x4a6632){let _0x1e77fd=addQueryParamsToPath(_0x33fc9c,_0x4a6632);_0x1e77fd=addSlashToUrlIfNeeded(_0x1e77fd),redirectFunction(_0x1e77fd);}__name(navigate,'navigate');

export { navigate, redirectFunction };
