1(function(){"use strict";(()=>{const a=function(a){this.handleObserve=a=>{a.forEach(a=>{const b=a.isIntersecting;b?this._data.fixedPrice.classList.remove("active"):this._data.fixedPrice.classList.add("active")})},this.createObserver=()=>{const a=new IntersectionObserver(this.handleObserve,{root:null,rootMargin:"0px",threshold:0});this._data.blockPrice?.length&&this._data.blockPrice.forEach(b=>{b&&a.observe(b)})},this.editBlockPrice=a=>{const b=a.cloneNode(!0),c=b.querySelector(".p-price__tags"),d=b.querySelector(".p-price__cost"),e=b.querySelector(".p-price__actual");c&&(d.insertAdjacentHTML("afterbegin",c.outerHTML),c.remove());const f=document.querySelector("installment-component");return f&&window.isMobile()&&(e.insertAdjacentHTML("beforebegin",f.outerHTML),f.remove()),b},this.createBlockDelivery=a=>{const b=a.querySelector("#pickup-text"),c=b?.innerText.split(" - ")[1],d=c?`<a data-target="availability">СамовÑвоз</a> - ${c}`:"",e=a.querySelector("#delivery-slot-text"),f=e?.innerText.split(" - ")[1],g=f?`<a data-target="delivery">ÐоÑÑавка</a> - ${f}`:"";return d||g?` 2 <div class="f-price__delivery"> 3 <div class="pickup"> 4 ${d} 5 </div> 6 <div class="delivery"> 7 ${g} 8 </div> 9 </div> 10 `:""},this.start=()=>{const a=document.querySelector(".p-pay .p-price");if(a){const b=this.editBlockPrice(a);this._data.fixedPrice.insertAdjacentHTML("afterbegin",b.outerHTML),this.createObserver()}},this.initParams=()=>{this._data={fixedPrice:a,blockPrice:document.querySelectorAll(".p-price")}},this.init=()=>{this.initParams(),this.start()}};window.addEventListener("load",()=>{const b=document.querySelector(".f-price");null!==b&&new a(b).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.