import"./p-c2e91ee8.js";import{K as e,g as t}from"./p-d0bfb1d8.js";function s(e){return e.replace(/\s{2,}/g," ").replace(/\s\s+/g," ").trim().toLocaleLowerCase()}const c={id:"search",limit:5,typeOfRecords:[t.Product]};function r(t,r,...i){const n=Object.assign(Object.assign({},c),r);const o=s(t);const u={id:n.id,typeOfRequest:e.Search,settings:Object.assign({query:{term:o}},n)};return{klevuFunctionId:"search",params:Object.assign(Object.assign({},n),{term:t}),queries:[u],modifiers:i}}export{s as c,r as s};
//# sourceMappingURL=p-eaefcadc.js.map