text: define(["jquery"],function(e){return{generateQueryString:function(e,n,i,r){if(e.indexOf("?")>=0){var t=e.substring(e.indexOf("?")+1);if(""==t)return void(e=`/${r}/?${n}=${i}`);for(var f=t.split("&"),u="",$=!1,s=0;s<f.length;s++){if(f[s].split("=")[0]==n){if($=!0,"None"==i)continue;u=u+`${n}=${i}`+"&"}else u=u+f[s]+"&"}$||(u+=`${n}=${i}`),u.endsWith("&")&&(u=u.substring(0,u.length-1)),e="?"+u}else e=`/${r}/?${n}=${i}`;return e}}});