PageSourceSearch

https://kobor.ru/_next/static/chunks/8586-e4f411f6e9f50e6846d0.js

js kobor.ru collected 2026-10-02 06:58:03 UTC 10,099 bytes, 1 lines download raw bytes

vendor: 4,515 bytes, line 1
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8586],{65014:function(e,r,s){var a=s(6156),t=s(7513),l=s(28262);function i(){return(i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e}).apply(this,arguments)}var n={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var r=e.scrollbar,s=e.rtlTranslate,a=e.progress,t=r.dragSize,l=r.trackSize,i=r.$dragEl,n=r.$el,o=e.params.scrollbar,c=t,d=(l-t)*a;s?(d=-d)>0?(c=t-d,d=0):-d+t>l&&(c=l+d):d<0?(c=t+d,d=0):d+t>l&&(c=l-d),e.isHorizontal()?(i.transform("translate3d("+d+"px, 0, 0)"),i[0].style.width=c+"px"):(i.transform("translate3d(0px, "+d+"px, 0)"),i[0].style.height=c+"px"),o.hide&&(clearTimeout(e.scrollbar.timeout),n[0].style.opacity=1,e.scrollbar.timeout=setTimeout((function(){n[0].style.opacity=0,n.transition(400)}),1e3))}},setTransition:function(e){var r=this;r.params.scrollbar.el&&r.scrollbar.el&&r.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var r=e.scrollbar,s=r.$dragEl,a=r.$el;s[0].style.width="",s[0].style.height="";var t,i=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,n=e.size/e.virtualSize,o=n*(i/e.size);t="auto"===e.params.scrollbar.dragSize?i*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?s[0].style.width=t+"px":s[0].style.height=t+"px",a[0].style.display=n>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),(0,l.l7)(r,{trackSize:i,divider:n,moveDivider:o,dragSize:t}),e.params.watchOverflow&&e.enabled&&r.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var r,s=this,a=s.scrollbar,t=s.rtlTranslate,l=a.$el,i=a.dragSize,n=a.trackSize,o=a.dragStartPos;r=(a.getPointerPosition(e)-l.offset()[s.isHorizontal()?"left":"top"]-(null!==o?o:i/2))/(n-i),r=Math.max(Math.min(r,1),0),t&&(r=1-r);var c=s.minTranslate()+(s.maxTranslate()-s.minTranslate())*r;s.updateProgress(c),s.setTranslate(c),s.updateActiveIndex(),s.updateSlidesClasses()},onDragStart:function(e){var r=this,s=r.params.scrollbar,a=r.scrollbar,t=r.$wrapperEl,l=a.$el,i=a.$dragEl;r.scrollbar.isTouched=!0,r.scrollbar.dragStartPos=e.target===i[0]||e.target===i?a.getPointerPosition(e)-e.target.getBoundingClientRect()[r.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),t.transition(100),i.transition(100),a.setDragPosition(e),clearTimeout(r.scrollbar.dragTimeout),l.transition(0),s.hide&&l.css("opacity",1),r.params.cssMode&&r.$wrapperEl.css("scroll-snap-type","none"),r.emit("scrollbarDragStart",e)},onDragMove:function(e){var r=this,s=r.scrollbar,a=r.$wrapperEl,t=s.$el,l=s.$dragEl;r.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,s.setDragPosition(e),a.transition(0),t.transition(0),l.transition(0),r.emit("scrollbarDragMove",e))},onDragEnd:function(e){var r=this,s=r.params.scrollbar,a=r.scrollbar,t=r.$wrapperEl,i=a.$el;r.scrollbar.isTouched&&(r.scrollbar.isTouched=!1,r.params.cssMode&&(r.$wrapperEl.css("scroll-snap-type",""),t.transition("")),s.hide&&(clearTimeout(r.scrollbar.dragTimeout),r.scrollbar.dragTimeout=(0,l.Y3)((function(){i.css("opacity",0),i.transition(400)}),1e3)),r.emit("scrollbarDragEnd",e),s.snapOnRelease&&r.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var r=(0,a.Me)(),s=e.scrollbar,t=e.touchEventsTouch,l=e.touchEventsDesktop,i=e.params,n=e.support,o=s.$el[0],c=!(!n.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},d=!(!n.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};o&&(n.touch?(o.addEventListener(t.start,e.scrollbar.onDragStart,c),o.addEventListener(t.move,e.scrollbar.onDragMove,c),o.addEventListener(t.end,e.scrollbar.onDragEnd,d)):(o.addEventListener(l.start,e.scrollbar.onDragStart,c),r.addEventListener(l.move,e.scrollbar.onDragMove,c),r.addEventListener(l.end,e.scrollbar.onDragEnd,d)))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var r=(0,a.Me)(),s=e.scrollbar,t=e.touchEventsTouch,l=e.touchEventsDesktop,i=e.params,n=e.support,o=s.$el[0],c=!(!n.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},d=!(!n.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};
1o&&(n.touch?(o.removeEventListener(t.start,e.scrollbar.onDragStart,c),o.removeEventListener(t.move,e.scrollbar.onDragMove,c),o.removeEventListener(t.end,e.scrollbar.onDragEnd,d)):(o.removeEventListener(l.start,e.scrollbar.onDragStart,c),r.removeEventListener(l.move,e.scrollbar.onDragMove,c),r.removeEventListener(l.end,e.scrollbar.onDragEnd,d)))}},init:function(){var e=this,r=e.scrollbar,s=e.$el;e.params.scrollbar=(0,l.Up)(s,e.params.scrollbar,e.params.createElements,{el:"swiper-scrollbar"});var a=e.params.scrollbar;if(a.el){var i=(0,t.Z)(a.el);e.params.uniqueNavElements&&"string"===typeof a.el&&i.length>1&&1===s.find(a.el).length&&(i=s.find(a.el));var n=i.find("."+e.params.scrollbar.dragClass);0===n.length&&(n=(0,t.Z)('<div class="'+e.params.scrollbar.dragClass+'"></div>'),i.append(n)),(0,l.l7)(r,{$el:i,el:i[0],$dragEl:n,dragEl:n[0]}),a.draggable&&r.enableDraggable(),i&&i[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}},destroy:function(){this.scrollbar.disableDraggable()}};r.Z={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){(0,l.cR)(this,{scrollbar:i({isTouched:!1,timeout:null,dragTimeout:null},n)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,r){e.scrollbar.setTransition(r)},"enable disable":function(e){var r=e.scrollbar.$el;r&&r[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)},destroy:function(e){e.scrollbar.destroy()}}}},20732:function(e,r,s){var a=s(28262),t=s(7513);function l(){return(l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e}).apply(this,arguments)}var i={init:function(){var e=this,r=e.params.thumbs;if(e.thumbs.initialized)return!1;e.thumbs.initialized=!0;var s=e.constructor;return r.swiper instanceof s?(e.thumbs.swiper=r.swiper,(0,a.l7)(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),(0,a.l7)(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):(0,a.Kn)(r.swiper)&&(e.thumbs.swiper=new s((0,a.l7)({},r.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick),!0},onThumbClick:function(){var e=this,r=e.thumbs.swiper;if(r){var s=r.clickedIndex,a=r.clickedSlide;if((!a||!(0,t.Z)(a).hasClass(e.params.thumbs.slideThumbActiveClass))&&"undefined"!==typeof s&&null!==s){var l;if(l=r.params.loop?parseInt((0,t.Z)(r.clickedSlide).attr("data-swiper-slide-index"),10):s,e.params.loop){var i=e.activeIndex;e.slides.eq(i).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,i=e.activeIndex);var n=e.slides.eq(i).prevAll('[data-swiper-slide-index="'+l+'"]').eq(0).index(),o=e.slides.eq(i).nextAll('[data-swiper-slide-index="'+l+'"]').eq(0).index();l="undefined"===typeof n?o:"undefined"===typeof o?n:o-i<i-n?o:n}e.slideTo(l)}}},update:function(e){var r=this,s=r.thumbs.swiper;if(s){var a="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView,t=r.params.thumbs.autoScrollOffset,l=t&&!s.params.loop;if(r.realIndex!==s.realIndex||l){var i,n,o=s.activeIndex;if(s.params.loop){s.slides.eq(o).hasClass(s.params.slideDuplicateClass)&&(s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft,o=s.activeIndex);var c=s.slides.eq(o).prevAll('[data-swiper-slide-index="'+r.realIndex+'"]').eq(0).index(),d=s.slides.eq(o).nextAll('[data-swiper-slide-index="'+r.realIndex+'"]').eq(0).index();i="undefined"===typeof c?d:"undefined"===typeof d?c:d-o===o-c?s.params.slidesPerGroup>1?d:o:d-o<o-c?d:c,n=r.activeIndex>r.previousIndex?"next":"prev"}else n=(i=r.realIndex)>r.previousIndex?"next":"prev";l&&(i+="next"===n?t:-1*t),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(i)<0&&(s.params.centeredSlides?i=i>o?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>o&&s.params.slidesPerGroup,s.slideTo(i,e?0:void 0))}var p=1,u=r.params.thumbs.slideThumbActiveClass;if(r.params.slidesPerView>1&&!r.params.centeredSlides&&(p=r.params.slidesPerView),r.params.thumbs.multipleActiveThumbs||(p=1),p=Math.floor(p),s.slides.removeClass(u),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(var b=0;b<p;b+=1)s.$wrapperEl.children('[data-swiper-slide-index="'+(r.realIndex+b)+'"]').addClass(u);else for(var m=0;m<p;m+=1)s.slides.eq(r.realIndex+m).addClass(u)}}};r.Z={name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){(0,a.cR)(this,{thumbs:l({swiper:null,initialized:!1},i)})},on:{beforeInit:function(e){var r=e.params.thumbs;r&&r.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,r){var s=e.thumbs.swiper;s&&s.setTransition(r)},beforeDestroy:function(e){var r=e.thumbs.swiper;r&&e.thumbs.swiperCreated&&r&&r.destroy()}}}}}]);

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.