"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeVietnameseText = void 0;
const normalizeVietnameseText = (str = '') => str
    .normalize('NFD')
    .replace(/[\u0300-\u036f]/g, '')
    .replace(/đ/g, 'd')
    .replace(/Đ/g, 'D')
    .toLowerCase()
    .replace(/\s+/g, ' ')
    .trimStart();
exports.normalizeVietnameseText = normalizeVietnameseText;
//# sourceMappingURL=remove-vn-tones.js.map