1!function(){function e(){var e=document.getElementById("igc");if(e){var t=null,n=null,a=null,r=null,o=!1,i=null,c=null,l=!1,s=Promise.resolve();document.addEventListener("click",function(e){e.target.closest(".openCollapseCart")&&m()}),document.addEventListener("keydown",function(e){"Escape"===e.key&&v()});var u='<svg width="20" height="20" viewBox="0 0 448 512" fill="currentColor" aria-hidden="true"><path d="M352 160v-32C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128v32H0v272c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V160h-96zm-192-32c0-35.29 28.71-64 64-64s64 28.71 64 64v32H160v-32zm160 120c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm-192 0c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24z"/></svg>';window.addEventListener("pagehide",function(){if(c){clearTimeout(c.timer);var e=p(c.item.getAttribute("data-cart-item"),!1);c=null,navigator.sendBeacon&&navigator.sendBeacon(n,e)||fetch(n,{method:"POST",body:e,credentials:"same-origin",keepalive:!0})}}),b(e),window.igCart={open:m,close:v,replace:S,settle:y},e.classList.contains("igc--open-on-load")&&m()}function d(){var e=document.querySelector("input[name=_token]"),t=document.querySelector("meta[name=csrf-token]");return e&&e.value||t&&t.getAttribute("content")||""}function m(){o=!0,clearTimeout(i),e.hidden=!1,e.offsetHeight,e.classList.add("is-open"),document.body.classList.add("overflow-hidden"),t.querySelector(".igc__close").focus({preventScroll:!0});var n=e.querySelector(".igc__item--new");n&&f(n)}function v(){if(o){o=!1;var n=e;n.classList.remove("is-open"),t.style.transform="",i=setTimeout(function(){n.hidden=!0;var e=parseInt(n.getAttribute("data-max-offers-items"),10)||2;n.querySelectorAll(".igc__item:not([hidden])").length>e&&n.querySelectorAll("[data-xs]").forEach(function(e){e.remove()}),n.querySelectorAll(".igc__item--new").forEach(function(e){e.classList.remove("igc__item--new")})},250),document.body.classList.remove("overflow-hidden")}}function f(t){var n=e.querySelector(".igc__body");if(n){var a=t.offsetTop-n.offsetTop;(a<n.scrollTop||a+t.offsetHeight>n.scrollTop+n.clientHeight)&&n.scrollTo({top:Math.max(0,a-8),behavior:"smooth"})}}function g(e){e>0&&function(){var e=document.querySelector(".ig-dnav__actions");if(e&&!e.querySelector(".openCollapseCart")){var t=document.createElement("button");t.type="button",t.className="ig-dnav__icon-btn openCollapseCart",t.title="Koszyk",t.innerHTML=u+'<span class="ig-dnav__badge"></span>';var n=e.querySelector("input[name=_token]");e.insertBefore(t,n&&n.parentNode===e?n:null)}var a=document.querySelector(".ig-mnav__bar");if(a&&!a.querySelector(".ig-mnav__btn--cart")){var r=document.createElement("button");r.type="button",r.className="ig-mnav__btn ig-mnav__btn--cart openCollapseCart",r.innerHTML='Koszyk <span class="ig-mnav__count"></span>',r.addEventListener("click",function(){var e=document.getElementById("hamburger-menu-btn");e&&"true"===e.getAttribute("aria-expanded")&&e.click()}),a.appendChild(r)}}(),document.querySelectorAll(".ig-dnav__badge, .ig-mnav__count").forEach(function(t){t.textContent=e}),document.querySelectorAll(".ig-dnav__icon-btn.openCollapseCart, .ig-mnav__btn--cart").forEach(function(t){t.hidden=0===e}),document.querySelectorAll(".ig-dnav__icon-btn.openCollapseCart").forEach(function(t){t.setAttribute("aria-label","Koszyk, produkty: "+e)});var t=document.querySelector(".ig-mnav__bar");t&&t.classList.toggle("ig-mnav__bar--split",e>0)}function h(){var t=e.querySelectorAll(".igc__item:not([hidden])"),n=0;t.forEach(function(e){n+=parseFloat(e.getAttribute("data-price"))||0}),e.querySelector("[data-cart-total]").textContent=n.toLocaleString("pl-PL",{minimumFractionDigits:2,maximumFractionDigits:2})+" zÅ",e.querySelector("[data-cart-count]").textContent=t.length,e.querySelector(".igc__empty").hidden=t.length>0,e.querySelector(".igc__foot").hidden=0===t.length,g(t.length)}function _(e){var t=s.then(e);return s=t.catch(function(){}),t}function p(e,t){var n=new FormData;return n.append("_token",d()),n.append("ordered_item_id",e),t&&n.append("render","1"),n}function y(){if(!c)return s;clearTimeout(c.timer);var e=c.item.getAttribute("data-cart-item");return c.item.remove(),c=null,r.hidden=!0,function(e){return _(function(){return fetch(n,{method:"POST",body:p(e,!0),credentials:"same-origin",keepalive:!0,headers:{Accept:"application/json"}}).then(function(e){return e.ok?e.json():null}).then(function(e){!e||!e.cart_html||c||l||document.querySelector("#igc .igcs")||S(e.cart_html)})})}(e).catch(function(){}),s}function b(o){t=(e=o).querySelector(".igc__panel"),n=e.getAttribute("data-remove-url"),a=e.getAttribute("data-cross-sell-url"),r=e.querySelector(".igc__toast"),e.querySelectorAll("[data-cart-close]").forEach(function(e){e.addEventListener("click",v)});var i=null;t.addEventListener("touchstart",function(e){var t=e.target.closest(".igc__handle, .igc__head");i=t&&window.innerWidth<768?e.touches[0].clientY:null},{passive:!0}),t.addEventListener("touchmove",function(e){if(null!==i){var n=Math.max(0,e.touches[0].clientY-i);t.style.transition="none",t.style.transform="translateY("+n+"px)"}},{passive:!0}),t.addEventListener("touchend",function(e){if(null!==i){var n=e.changedTouches[0].clientY-i;i=null,t.style.transition="",t.style.transform="",n>100&&v()}}),e.addEventListener("click",function(t){var n=t.target.closest("[data-thumbs-more], [data-thumbs-less]");if(n){var o=n.closest("[data-thumbs]"),i=n.hasAttribute("data-thumbs-more");o.classList.toggle("is-expanded",i);var s=o.querySelector(i?"[data-thumbs-less]":"[data-thumbs-more]");s&&s.focus({preventScroll:!0})}else{var u=t.target.closest("[data-xs-add]");if(u)!function(t){if(!(l||t.classList.contains("is-busy")||t.classList.contains("is-done"))){var n=t.closest("[data-xs-row]").querySelector(".igc__xs-error");n.hidden=!0,l=!0,t.classList.add("is-busy"),t.setAttribute("aria-busy","true"),y();var r=new FormData;r.append("_token",d()),r.append("ordered_item_id",t.getAttribute("data-key")),r.append("offer",t.getAttribute("data-offer")),_(function(){return fetch(a,{method:"POST",body:r,credentials:"same-origin",headers:{Accept:"application/json"}})}).then(function(e){return e.json().catch(function(){return{}}).then(function(t){return{status:e.status,data:t}})}).then(function(n){if(200===n.status&&n.data.ok&&n.data.cart_html)return t.classList.remove("is-busy"),t.removeAttribute("aria-busy"),t.classList.add("is-done"),t.setAttribute("aria-label","Dodano"),void setTimeout(function(){l=!1,S(n.data.cart_html);var t=e.querySelector(".igc__item--new");t&&f(t)},600);o(n.data&&n.data.message)}
1).catch(function(){o()})}function o(e){l=!1,t.classList.remove("is-busy"),t.removeAttribute("aria-busy"),n.textContent=e||"Nie udaÅo siÄ dodaÄ. Spróbuj ponownie.",n.hidden=!1}}(u);else{var m=t.target.closest("[data-cart-remove]");if(m){y();var v=m.closest(".igc__item");v.classList.add("is-removing"),setTimeout(function(){v.hidden=!0,v.classList.remove("is-removing"),h()},250),c={item:v,timer:setTimeout(y,5e3)},r.hidden=!1}}}}),e.querySelector("[data-cart-undo]").addEventListener("click",function(){c&&(clearTimeout(c.timer),c.item.hidden=!1,c=null,r.hidden=!0,h())}),e.querySelector("[data-cart-checkout]").addEventListener("click",function(e){if(c){e.preventDefault();var t=this.href,n=function(){window.location.href=t};y().then(n,n)}})}function S(n){var a=document.createElement("template");a.innerHTML=String(n).trim();var r=a.content.querySelector("#igc");if(r){var l=c?c.item.getAttribute("data-cart-item"):null;y(),clearTimeout(i);var s=o,u=e.contains(document.activeElement),d=e.querySelector(".igc__body")?e.querySelector(".igc__body").scrollTop:0;s&&(r.hidden=!1,r.classList.add("is-open","igc--static")),e.parentNode.replaceChild(r,e),b(r),null!==l?(r.querySelectorAll(".igc__item").forEach(function(e){e.getAttribute("data-cart-item")===l&&e.remove()}),h()):g(r.querySelectorAll(".igc__item").length),s&&(e.querySelector(".igc__body").scrollTop=d,u&&t.querySelector(".igc__close").focus({preventScroll:!0}))}}}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}();
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.