n=$(".images__list"),r=document.querySelector(".images__list"),o=e.attr("data-method");t.page=e.attr("data-page"),n.request(o,{data:t,success:t=>{n.append(t.partial),e.attr("data-load",t.loadMore),e.attr("data-page",t.nextPage),e.removeClass("loader--show"),r.getElementsByTagName("li").length>180?k.runOnImageLoad((function(){k.recalculate(!0)})):k.runOnImageLoad((function(){k.recalculate(!0)}),!0),document.querySelectorAll(".images__picture-source").forEach((e=>{A.observe(e)}))}})}(S)),L.unobserve(t.target),L.observe(document.querySelector(".images__item:last-child"))}),300)}));L.observe(document.querySelector(".images__item:last-child"))}));。