PageSourceSearch

https://www.cadelsol.net/wp-content/plugins/wp-hotel-booking/asset…/js/frontend/sort-by.min.js?ver=2.1.1-02

js cadelsol.net collected 2026-09-28 14:42:33 UTC 709 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",(()=>{(()=>{const e=document.querySelector(".sort-by-wrapper");if(!e)return;const t=e.querySelector(".toggle"),r=e.querySelector("ul").querySelectorAll("li");[...r].map((e=>{e.addEventListener("click",(function(o){[...r].map((e=>{e.classList.remove("active")})),e.classList.add("active"),t.innerHTML=e.innerHTML}))}))})(),(()=>{const e=document.querySelector(".sort-by-wrapper");e&&(document.querySelector("#hb-form-search-page")||[...e.querySelector("ul").querySelectorAll("li")].map((e=>{e.addEventListener("click",(function(t){const r=new URL(window.location.href);r.searchParams.set("sort_by",e.getAttribute("data-value")),window.location.href=r}))})))})()}));

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.