function cloneFilter(e){return JSON.parse(JSON.stringify(e))}function replaceParamsInFilter(e,r){if(!r){return e}if(e.value&&e.value.includes("$")){if(e.value.includes("+")){var a=e.value.split("+");e.value=a.map((function(e){if(e.includes("$")){var a=e.replace("$","");return r[a]}return e})).join("")}else{var l=e.value.replace("$","");e.value=r[l]}}return e}export{cloneFilter as c,replaceParamsInFilter as r};