const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BI5b1mi2.js","./BvNnk7SS.js","./entry.Le7YthGh.css","./BJLPbHX2.js","./DQ_4YmnO.js","./DGhmaXto.js","./DpJXNNLA.js"])))=>i.map(i=>d[i]);
import{a7 as m,V as o,a3 as p}from"./BvNnk7SS.js";import{q as f,e as g,j as c}from"./BJLPbHX2.js";import{w as r,s as h}from"./DQ_4YmnO.js";import{u as v}from"./DGhmaXto.js";const C=async a=>{const{content:e}=m().public;typeof a?.params!="function"&&(a=f(a));const t=a.params(),i=e.experimental.stripQueryParameters?r(`/navigation/${`${o(t)}.${e.integrity}`}/${g(t)}.json`):r(`/navigation/${o(t)}.${e.integrity}.json`);if(h())return(await p(()=>import("./BI5b1mi2.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(s=>s.generateNavigation))(t);const n=await $fetch(i,{method:"GET",responseType:"json",params:e.experimental.stripQueryParameters?void 0:{_params:c(t),previewToken:v().getPreviewToken()}});if(typeof n=="string"&&n.startsWith("<!DOCTYPE html>"))throw new Error("Not found");return n};export{C as f};
