//#region src/internal/clerk-js/path.ts const SEPARATOR = "/"; const MULTIPLE_SEPARATOR_REGEX = new RegExp(SEPARATOR + "{1,}", "g"); function joinPaths(a, b) { return [a, b].filter((p) => p).join(SEPARATOR).replace(MULTIPLE_SEPARATOR_REGEX, SEPARATOR); } //#endregion export { joinPaths as t }; //# sourceMappingURL=path-BLD6zl1u.mjs.map