https://www.anicura.ch/dist/facts-and-advice-finder.js?v=pJ6f2Ik24LOOAtLD7NqGHdWellfvcCBMB869sCxi_1s
1"use strict";(()=>{window.ani_filterDropdowns||(window.ani_filterDropdowns=new Map);var h=window.ani_filterDropdowns;var a=e=>h.get(e.id),p=e=>{a(e)?.clearOptions()},u=(e,t)=>{a(e)?.disableOption(t)},f=(e,t)=>{a(e)?.enableOption(t)},g=(e,t,o)=>{a(e)?.updateTotalMatching(t,o)};var b=e=>!e||!e.trim();var m=e=>{let[t,...o]=e;return t?`${t.toLowerCase()}${o.join("")}`:""};var E=(e,t)=>{let o=t?.textContent??e.querySelector("[data-facets-json]")?.textContent,n=b(o)?void 0:JSON.parse(o);if(n?.length){let l=Array.from(e.querySelectorAll("[data-filter-dropdown]"));for(let c of n)for(let s of l){let d=s.querySelector(`[name="${m(c.name)}"]`);if(d){for(let r of d.options){let i=c.options.find(v=>v.value===r.value);i?(f(s,i.value),i.totalMatching!==void 0&&g(s,i.value,i.totalMatching)):r.selected===!1&&u(s,r.value)}break}}}},w=e=>{let t=e.querySelector("[data-reset-filters]");if(t){let o=e.querySelector('[name="query"]'),n=Array.from(e.querySelectorAll("[data-filter-dropdown]"));t.addEventListener("click",()=>{o&&(o.value="");for(let l of n)p(l);e.requestSubmit()})}};var T=e=>{Array.from(e.querySelectorAll("[data-filter-dropdown]")).map(o=>{let n=o.querySelector("select");n&&n.addEventListener("change",async l=>{e.requestSubmit()})}),htmx.on(e,"htmx:afterOnLoad",o=>{E(e),w(e)})};document.querySelectorAll("[data-facts-and-advice-finder]").forEach(e=>T(e));})(); 2//# sourceMappingURL=facts-and-advice-finder.js.map
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.