1function f(){let r=document.querySelectorAll(".date.card-subtitle");moment.locale(window.globals.current_lang),r.forEach(t=>{let e=t.getAttribute("data-value"),o=moment(e).fromNow();t.innerHTML=o});const d=document.querySelector("#roadbook-feeds");if(d){let t=d.getAttribute("data-count");const e=d.querySelectorAll(".feed-item");e&&e.forEach(o=>{const a=o.getAttribute("data-feed-id"),n=o.querySelector(".hide-feed-btn");n&&n.addEventListener("click",function(l){if(l.preventDefault(),o.classList.add("hide"),t--,t==1){const i=d.querySelectorAll(".hide-feed-btn");i&&i.forEach(s=>{s.classList.add("hide")})}c(a)})})}function c(t){fetch("/wp-json/woody/roadbook/feed",{method:"DELETE",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({rdbk_id:window.globals.rdbk.id,feed_id:t})}).then(function(e){e.ok||console.error("Fetch hideFeed")}).catch(function(e){console.error("Fetch hideFeed : "+e.message)})}}export{f as init};
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.