/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/frep@0.2.3/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
/**!
 * frep <http://github.com/jonsclhinkert/frep>
 * Copyright (c) 2014, Jon Schlinkert, contributors
 * Licensed under the MIT license.
 */
"use strict";var utils=require("./lib/utils"),replacements=require("replacements"),replace=module.exports={};replace.patternArray=replacements,replace.strWithArr=function(r,e){return replace.patternArray(r,e.map((function(r){if(r.auto){var e=r.flags?r.flags:"g";r.pattern=utils.buildRegexGroup(r.pattern,e)}return r})))},replace.arrWithArr=function(r,e){return r.map((function(r){return replace.strWithArr(r,e)}))},replace.strWithObj=function(r,e){var t=new RegExp(Object.keys(e).join("|"),"g");return r.replace(t,(function(r){return e[r]}))},replace.arrWithObj=function(r,e){return r.map((function(r){return replace.strWithObj(r,e)}))},replace.replaceStr=replace.strWithArr,replace.replaceArr=replace.arrWithArr,replace.replaceObj=replace.strWithObj,replace.replaceObjArr=replace.arrWithObj;
//# sourceMappingURL=/sm/b82d037c9e223293c74de80d6f175782d6f1d0e5e304aee8e0b348ad3914f15c.map