const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./D9w5FNha.js","./Dih1Xbo1.js","./entry.CbrcGmYO.css","./DuwiEx1X.js","./BLTKKlVT.js","./BDn_2gCt.js","./CzKwzGAK.js","./B8ikqriS.js"])))=>i.map(i=>d[i]);
import{P as m,as as p}from"./Dih1Xbo1.js";import{h as o}from"./BLTKKlVT.js";import{q as f,e as g,j as c}from"./DuwiEx1X.js";import{w as r,s as h}from"./BDn_2gCt.js";import{u as v}from"./CzKwzGAK.js";const $=async e=>{const{content:a}=m().public;typeof e?.params!="function"&&(e=f(e));const t=e.params(),i=a.experimental.stripQueryParameters?r(`/navigation/${`${o(t)}.${a.integrity}`}/${g(t)}.json`):r(`/navigation/${o(t)}.${a.integrity}.json`);if(h())return(await p(()=>import("./D9w5FNha.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(s=>s.generateNavigation))(t);const n=await $fetch(i,{method:"GET",responseType:"json",params:a.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{$ as f};
