// Module ID: 1543 // Function ID: 1544 // Dependencies: [] // Module 1543 export default (str) => { if (typeof str !== "string") { const _TypeError = TypeError; const typeError = new TypeError("Expected a string"); throw typeError; } else { return str.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"); } };