1(()=>{"use strict";const E=/vypredan[ée]/i,A=".luigi-ac-product",B=".luigi-ac-attr--availability_rank_text",C='[data-action="Do koÅ¡Ãka"],.luigi-ac-button-block--buy,.luigi-ac-button-buy',D=".lb-product",F=".availability",G='.add-to-cart-button,[data-action="buy"]',H="lb-sold-out-protected",I="lb-search-sold-out-protected",J=new WeakSet;function K(e,t){const n=e.querySelector(t);return!!n&&E.test((n.textContent||"").trim())}function L(e){e instanceof HTMLElement&&e.classList.toggle(H,K(e,B))}function M(e){e instanceof HTMLElement&&e.classList.toggle(I,K(e,F))}function N(e,t,n){e.matches?.(t)&&n(e),e.querySelectorAll?.(t).forEach(n)}function O(e,t,n){if(!e||J.has(e))return;J.add(e),N(e,t,n),new MutationObserver(r=>{for(const s of r)if("characterData"===s.type){const r=s.target.parentElement?.closest(t);r&&n(r)}else{s.addedNodes.forEach(r=>{1===r.nodeType&&N(r,t,n)});const r=s.target instanceof Element?s.target.closest(t):null;r&&n(r)}}).observe(e,{childList:!0,subtree:!0,characterData:!0})}function P(e=document){e.matches?.(".luigi-ac-result")&&O(e,A,L),e.querySelectorAll?.(".luigi-ac-result").forEach(e=>O(e,A,L)),location.pathname.startsWith("/vyhladavanie/")&&(e.matches?.("#lb-search-element")&&O(e,D,M),e.querySelectorAll?.("#lb-search-element").forEach(e=>O(e,D,M)))}function Q(){let e=document.getElementById("lb-sold-out-style");e||(e=document.createElement("style"),e.id="lb-sold-out-style",e.textContent=`.${H} [data-action="Do koÅ¡Ãka"],.${H} .luigi-ac-button-block--buy,.${H} .luigi-ac-button-buy,.${I} .add-to-cart-button,.${I} [data-action="buy"]{display:none!important}`,document.head.appendChild(e)),P(),new MutationObserver(e=>{for(const t of e)t.addedNodes.forEach(e=>{1===e.nodeType&&P(e)})}).observe(document.body,{childList:!0,subtree:!0}),document.addEventListener("click",e=>{const t=e.target instanceof Element?e.target:null;if(!t)return;const n=t.closest(C);if(n){const t=n.closest(A);if(t&&K(t,B))return e.preventDefault(),e.stopPropagation(),void e.stopImmediatePropagation()}if(location.pathname.startsWith("/vyhladavanie/")){const n=t.closest(G);if(n){const t=n.closest(D);t&&K(t,F)&&(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation())}}},!0)}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Q,{once:!0}):Q()})();
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.