import{__exports as t}from"../../../../../../../_virtual/path-match.js_commonjs-exports";import"../../../../compiled/path-to-regexp/index.js";import{__exports as e}from"../../../../../../../_virtual/index2.js_commonjs-exports";t.__esModule=!0,t.pathToRegexp=t.default=t.customRouteMatcherOptions=t.matcherOptions=void 0;var r=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if(Object.prototype.hasOwnProperty.call(t,p)){var a=n?Object.getOwnPropertyDescriptor(t,p):null;a&&(a.get||a.set)?Object.defineProperty(r,p,a):r[p]=t[p]}r.default=t,e&&e.set(t,r);return r}(e);function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}t.pathToRegexp=r;const n={sensitive:!1,delimiter:"/"};t.matcherOptions=n;const p={...n,strict:!0};t.customRouteMatcherOptions=p;t.default=(t=!1)=>e=>{const o=[],a=r.pathToRegexp(e,o,t?p:n),i=r.regexpToFunction(a,o);return(e,r)=>{const n=null!=e&&i(e);if(!n)return!1;if(t)for(const t of o)"number"==typeof t.name&&delete n.params[t.name];return{...r,...n.params}}};
//# sourceMappingURL=path-match.js.map
