{"version":3,"file":"path-BLD6zl1u.mjs","names":[],"sources":["../../src/internal/clerk-js/path.ts"],"sourcesContent":["const SEPARATOR = '/';\nconst MULTIPLE_SEPARATOR_REGEX = new RegExp(SEPARATOR + '{1,}', 'g');\n\ntype PathString = string | null | undefined;\n\nexport function joinPaths(a: PathString, b: PathString): string {\n  return [a, b]\n    .filter(p => p)\n    .join(SEPARATOR)\n    .replace(MULTIPLE_SEPARATOR_REGEX, SEPARATOR);\n}\n"],"mappings":";AAAA,MAAM,YAAY;AAClB,MAAM,2BAA2B,IAAI,OAAO,YAAY,QAAQ,IAAI;AAIpE,SAAgB,UAAU,GAAe,GAAuB;AAC9D,QAAO,CAAC,GAAG,EAAE,CACV,QAAO,MAAK,EAAE,CACd,KAAK,UAAU,CACf,QAAQ,0BAA0B,UAAU"}