//#region src/plus/saasDevice/appDevicePlanning/constants.ts
const normalizeText = (text) => text.toLowerCase().trim();
const formatToken = (text, values) => Object.entries(values).reduce((result, [key, value]) => result.replace(new RegExp(`\\{${key}\\}`, "g"), String(value)), text);
const sortWorkAreaList = (list) => [...list].sort((a, b) => (a.sort || 0) - (b.sort || 0));
//#endregion
exports.formatToken = formatToken;
exports.normalizeText = normalizeText;
exports.sortWorkAreaList = sortWorkAreaList;
