import { r as redirect } from './index-Djsj11qr.js';

function load({ url, params }) {
  const step = url.searchParams.get("step");
  const base = `/edit/${encodeURIComponent(params.agent)}/tests`;
  redirect(307, step ? `${base}?step=${encodeURIComponent(step)}` : base);
}

var _page_ts = /*#__PURE__*/Object.freeze({
  __proto__: null,
  load: load
});

const index = 13;
const universal_id = "src/routes/tests/[agent]/+page.ts";
const imports = ["_app/immutable/nodes/13.CZ_7M4AF.js","_app/immutable/chunks/hp4PFHFv.js","_app/immutable/chunks/BUApaBEI.js"];
const stylesheets = [];
const fonts = [];

export { fonts, imports, index, stylesheets, _page_ts as universal, universal_id };
//# sourceMappingURL=13-DSBw3elU.js.map
