1var __read=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var o,n,a=r.call(t),i=[];try{for(;(void 0===e||e-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i},__spreadArray=this&&this.__spreadArray||function(t,e,r){if(r||2===arguments.length)for(var o,n=0,a=e.length;n<a;n++)!o&&n in e||(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))},categoryTreeHorizontal,CategoryTreeHorizontal=function(){function t(){var t=this,e=document.getElementById("menu");if(this._wrapper=e,null===this._wrapper)return null;isMobile||(this._wrapper.addEventListener("mouseover",function(e){t._wrapper.hasAttribute("promotion-loaded")||(t._wrapper.setAttribute("promotion-loaded","1"),t.getPromotions(!1))}),this.getPromotions(!0));var r=this._wrapper.querySelectorAll(".countdown");return r.length?(this._countDowns=__spreadArray([],__read(r),!1),this._countDowns.length?void this.initCountDowns():null):null}return t.prototype.initCountDowns=function(){for(var t,e=this,r=0;r<this._countDowns.length;r++)!function(r){var o=e._countDowns[r];if(o.hasAttribute("data-countdown"))try{if(t=o.getAttribute("data-countdown"),t.length){isNaN(Date.parse(t))&&(t=t.replace(/-/g,"/"));var n=new Date(t),a=o.querySelector(".countdown__hours"),i=o.querySelector(".countdown__minutes"),c=o.querySelector(".countdown__seconds");initCountdownBase(n,CountDownType.LanguageSentences,function(t){var e=(t.hours<10?"0":"").concat(t.hours.toString()),r=(t.minutes<10?"0":"").concat(t.minutes.toString()),o=(t.seconds<10?"0":"").concat(t.seconds.toString());return a.innerHTML!=e&&(a.innerHTML=e),i.innerHTML!=r&&(i.innerHTML=r),c.innerHTML!=o&&(c.innerHTML=o),!0})}}catch(t){}}(r)},t.prototype.getPromotions=function(t){var e=this;this._wrapper.querySelectorAll("[data-category]").forEach(function(r){var o=r.getAttribute("data-category").toString(),n=parseInt(r.getAttribute("data-type")),a=r.getAttribute("data-imageUrl");a=a||"",e.getPromotionsFromApi(n,o,a,t)})},t.prototype.getPromotionsFromApi=function(t,e,r,o){if("boolean"!=typeof gIsCrawler||!gIsCrawler){var n=sessionStorage.getItem("categoryMenuPromoData_"+e.toString()+"_"+t.toString());if(null!==n)try{return n=JSON.parse(n),void this.setPromotionsHtml(e,t,n,r)}catch(t){}if(!o&&WebApiService.IsWebApiAvailable()){(new WebApiService).getAsync("/category/menu/".concat(e,"/promo/").concat(t)).then(function(o){o.success&&o.data&&(sessionStorage.setItem("categoryMenuPromoData_".concat(e,"_").concat(t),JSON.stringify(o.data)),o.data.length>0&&categoryTreeHorizontal.setPromotionsHtml(e,t,o.data,r))})}}},t.prototype.setPromotionsHtml=function(t,e,r,o){var n=this._wrapper.querySelector('[data-category="'+t+'"][data-type="'+e+'"]'),a=this.getPromotionsHtml(r,e,o);n&&(n.outerHTML=a)},t.prototype.getPromotionsHtml=function(t,e,r){var o="";if(t&&t.length){if(0==e){o+="<h2><strong>"+GetTextDynamic("newHeader_categoryMenu_favourites_title")+"</strong></h2>",o+="<ul>";for(var n=0;n<t.length;n++){var a=t[n];o+="<li>"+'<a href="'.concat(a.url,'">')+"".concat(this.getImageHtml(a.images,a,'width="70"',r))+"<span>".concat(a.name,"</span>")+"</a></li>"}o+="</ul>"}if(1==e){o+="<ul>";for(var n=0;n<t.length;n++){var a=t[n];o+='<li class="atx-menu-bar__item__submenu-aside-item">'+'<a href="'.concat(a.url,'">')+"".concat(this.getImageHtml(a.images,a,'width="554"',r))+"<span>".concat(a.name,"</span>")+'<i class="atx-icon-arrow-right"></i></a></li>'}o+="</ul>"}}return o},t.prototype.getImageHtml=function(t,e,r,o){var n=t.filter(function(t){return"image/jpeg"==t.type}),a=t.filter(function(t){return"image/webp"==t.type}),i="";return a.forEach(function(t){i+='<source type="image/webp" srcset="'+o+t.url+'" >'}),n.length>0&&(i+='<img src="'+o+n[0].url+'" loading="lazy" alt="'+e.name+'" '+r+" >"),0==i.length?"":i="<picture>"+i+"</picture>"},t}();docReady(function(){categoryTreeHorizontal=new CategoryTreeHorizontal});
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.