import { parsePhoneNumberFromString as o } from "libphonenumber-js";
function e(r, n = "CH", a = "national") {
  if (!r) return "";
  const t = o(r, n);
  return t ? a === "international" ? t.formatInternational() : t.formatNational() : r;
}
export {
  e as f
};
//# sourceMappingURL=formatPhone-CUNTVwt7.js.map
