import{a as o}from"./userSearchHistory.1d5d283f.js";import{I as e,i as m,t as d}from"./index.8c202964.js";function h(a,s,i){if(!e(a)||!m())return;const t=d(a).map(c=>({relation:"must",keyword:c,field:"",match:"fuzzy"})),r=JSON.stringify,n={httpParams:r(t),navigation:"\u77E5\u8BC6\u56FE\u8C31",searchType:s,advancedSearch:r(i||a)};o(n)}function u({httpParams:a,searchType:s,advancedSearch:i}){const t=JSON.stringify,r={httpParams:t(a),navigation:"\u77E5\u8BC6\u56FE\u8C31",searchType:s,advancedSearch:t(i||a)};o(r)}export{u as a,h as r};
