1import{G as e,J as t,j as n,k as r,n as i,s as a}from"./jsx-runtime-DG_rcZS5.js";var o=t(e(),1);[...a];function s(e,...t){let n=t[0],r=c(e).replace(/\/:([\w-]+)(\?)?/g,(t,r,i)=>{let a=i===void 0,o=n?.[r];if(a&&o===void 0)throw Error(`Path '${e}' requires param '${r}' but it was not provided`);return o===void 0?``:`/`+o});if(e.endsWith(`*`)){let e=n?.[`*`];e!==void 0&&(r+=`/`+e)}return r||`/`}function c(e){let t=e.length-1,n=e[t];if(n!==`*`&&n!==`/`)return e;for(t--;t>=0&&e[t]===`/`;t--);return e.slice(0,t+1)}new TextEncoder,o.Component;function l(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&r.__type===`RouteErrorResponse`)n[e]=new i(r.status,r.statusText,r.data,r.internal===!0);else if(r&&r.__type===`Error`){if(r.__subType){let t=window[r.__subType];if(typeof t==`function`)try{let i=new t(r.message);i.stack=r.stack,n[e]=i}catch{}}if(n[e]==null){let t=Error(r.message);t.stack=r.stack,n[e]=t}}else n[e]=r;return n}function u({state:e,routes:t,getRouteInfo:i,location:a,basename:o,isSpaMode:s}){let c={...e,loaderData:{...e.loaderData}},l=r(t,a,o);if(l)for(let e of l){let t=e.route.id,r=i(t);n(t,r.clientLoader,r.hasLoader,s)&&(r.hasHydrateFallback||!r.hasLoader)?delete c.loaderData[t]:r.hasLoader||(c.loaderData[t]=null)}return c}export{u as n,s as r,l as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.