1import{$ as o}from"./jquery.DPRobFk7.js";import{B as n,c as a}from"./base-async-loader._F-CuSNw.js";import{o as i}from"../controllers/offers/offers-slider.S1K8VQkJ.js";import{t as d}from"./utils.Bs7xvb2Q.js";import{w as l}from"./offer-popup.D2RxLUjW.js";class h extends n{async handle(){return new Promise((r,t)=>{o.ajax({type:"GET",url:this.context.$container.attr(a),success:e=>{e||t(new Error("No personal offers")),r(),this.context.$slider.prepend(e),this.createGroupSlider(),l()}})})}createGroupSlider(){const r=this.context.$container,t=r.find(".js-group-slider"),e={variableWidth:!0,mobileFirst:!0,arrows:!1,infinite:!1,nextArrow:r.find(".js-slider-next"),prevArrow:r.find(".js-slider-prev"),draggable:!0,swipeToSlide:!0,touchMove:!0,slidesToScroll:5,slidesToShow:5},s=o.extend({},e,{arrows:!0});i.call(t,e,s),window.addEventListener("resize",d(i,100,t).bind(t,e,s))}}export{h as P};
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.