export const maskPhone = (phone: string): string => {
  if (!phone || phone.length < 7) return phone || '-';
  return phone.slice(0, 3) + '****' + phone.slice(-4);
};

export const maskIdNumber = (id: string): string => {
  if (!id || id.length < 8) return id || '-';
  return id.slice(0, 3) + '***********' + id.slice(-4);
};
