// @bun
var{defineProperty:y,getOwnPropertyNames:A,getOwnPropertyDescriptor:C}=Object,E=Object.prototype.hasOwnProperty;function F(f){return this[f]}var M=(f)=>{var j=(z??=new WeakMap).get(f),q;if(j)return j;if(j=y({},"__esModule",{value:!0}),f&&typeof f==="object"||typeof f==="function"){for(var v of A(f))if(!E.call(j,v))y(j,v,{get:F.bind(f,v),enumerable:!(q=C(f,v))||q.enumerable})}return z.set(f,j),j},z;var G=(f)=>f;function H(f,j){this[f]=G.bind(null,j)}var N=(f,j)=>{for(var q in j)y(f,q,{get:j[q],enumerable:!0,configurable:!0,set:H.bind(j,q)})};var I=(f,j)=>()=>(f&&(j=f(f=0)),j);var O=import.meta.require;import{matchRoute as J,Router as K}from"stx-router";import{findErrorPage as W,formatRoutes as X,generateRouteManifest as Y,generateRouteTypes as Z,matchRoute as $}from"stx-router";function S(f,j={}){return new K(f,j).routes}function T(f,j){let q=J(f,j);return q?q.params:null}var L=()=>{};L();export{$ as matchRoute,T as getRouteParams,Z as generateRouteTypes,Y as generateRouteManifest,X as formatRoutes,W as findErrorPage,S as createRouter};
