1/**handles:woof_url_parser**/ 2function woof_get_submit_link(){var e;if(jQuery(".woof_seo_text").remove(),woof_is_ajax&&(woof_current_values.page=woof_ajax_page_num),0<Object.keys(woof_current_values).length&&jQuery.each(woof_current_values,function(e,r){e==swoof_search_slug&&delete woof_current_values[e],"s"==e&&delete woof_current_values[e],"product"==e&&delete woof_current_values[e],"really_curr_tax"==e&&delete woof_current_values[e]}),0===Object.keys(woof_current_values).length)return woof_is_ajax&&history.pushState({},"",woof_current_page_link),woof_current_page_link.split("/"+swoof_search_slug+"/")[0];var r=window.location.hash;let a=window.location.search;var o=woof_current_page_link.replace(new RegExp(/page\/(\d+)\//),""),_=new URLSearchParams(a),_=(_.has("product-page")&&(_.delete("product-page"),a="?"+_),new URL(o)),o=_.origin+_.pathname,_=new URLSearchParams(_.search),t;let s=o.split("/"+swoof_search_slug+"/")[0];var o="",l=("/"!=s.slice(-1)&&(s+="/"),[]),u,c,n,n,_;for(c in Object.keys(woof_current_values).sort().reduce((e,r)=>(e[r]=woof_current_values[r],e),{}))if(void 0!==url_parser_data.special[c])l.push(url_parser_data.special[c]);else if("min_price"==c||"max_price"==c)"min_price"==c&&l.push("price-"+woof_current_values.min_price+"-to-"+woof_current_values.max_price);else if(void 0!==url_parser_data.filters[c]){let e=woof_current_values[c]+"";e=(e=(e=e.replaceAll(",","-and-")).replaceAll("^","-to-")).replaceAll(/\s+/g,"+"),l.push(url_parser_data.filters[c]+"-"+e)}let i="";return l.length&&(i=swoof_search_slug+"/"+l.join("/")+"/"),_.size&&(n=new URLSearchParams(a),n=new URLSearchParams({...Object.fromEntries(n),...Object.fromEntries(_)}),a="?"+n),void 0!==woof_current_values.orderby&&((_=new URLSearchParams(a)).has("orderby")&&_.delete("orderby"),_.append("orderby",woof_current_values.orderby),a="?"+_.toString()),o=(o=s+i+a+r).replace(new RegExp(/page\/(\d+)\//),""),woof_is_ajax&&(void 0!==woof_current_values.page&&1<woof_current_values.page&&(o=s+i+"page/"+woof_current_values.page+"/"+a+r),history.pushState({},"",o)),o}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.