PageSourceSearch

https://kalpak-travel.com/wp-content/themes/Kalpak/js/vendors/owl.carousel.min.js?ver=1785395770

js kalpak-travel.com collected 2026-09-24 20:06:37 UTC 36,570 bytes, 781 lines download raw bytes

1/*!
2 * Owl Carousel v1.3.3 (minified)
3 *
4 * Extracted verbatim from js/vendors/compiled.js, which bundled it alongside
5 * Modernizr, picturefill, dlmenu, lama.offcanvas, PhotoSwipe and two copies of
6 * mCustomScrollbar - all dead. This replaces the unminified js/vendors/owl.carousel.js.
7 *
8 * Copyright (c) 2013 Bartosz Wojciechowski; Licensed MIT
9 */
10/*!
11 *  owl.carousel.min.js
12 *
13 *
14 *
15 *
16 */
17"function" !== typeof Object.create && (Object.create = function(f) {
18    function g() {}
19    g.prototype = f;
20    return new g
21});
22(function(f, g, k) {
23    var l = {
24        init: function(a, b) {
25            this.$elem = f(b);
26            this.options = f.extend({}, f.fn.owlCarousel.options, this.$elem.data(), a);
27            this.userOptions = a;
28            this.loadContent()
29        },
30        loadContent: function() {
31            function a(a) {
32                var d, e = "";
33                if ("function" === typeof b.options.jsonSuccess) b.options.jsonSuccess.apply(this, [a]);
34                else {
35                    for (d in a.owl) a.owl.hasOwnProperty(d) && (e += a.owl[d].item);
36                    b.$elem.html(e)
37                }
38                b.logIn()
39            }
40            var b = this,
41                e;
42            "function" === typeof b.options.beforeInit && b.options.beforeInit.apply(this, [b.$elem]);
43            "string" === typeof b.options.jsonPath ?
44                (e = b.options.jsonPath, f.getJSON(e, a)) : b.logIn()
45        },
46        logIn: function() {
47            this.$elem.data("owl-originalStyles", this.$elem.attr("style"));
48            this.$elem.data("owl-originalClasses", this.$elem.attr("class"));
49            this.$elem.css({
50                opacity: 0
51            });
52            this.orignalItems = this.options.items;
53            this.checkBrowser();
54            this.wrapperWidth = 0;
55            this.checkVisible = null;
56            this.setVars()
57        },
58        setVars: function() {
59            if (0 === this.$elem.children().length) return !1;
60            this.baseClass();
61            this.eventTypes();
62            this.$userItems = this.$elem.children();
63            this.itemsAmount = this.$userItems.length;
64            this.wrapItems();
65            this.$owlItems = this.$elem.find(".owl-item");
66            this.$owlWrapper = this.$elem.find(".owl-wrapper");
67            this.playDirection = "next";
68            this.prevItem = 0;
69            this.prevArr = [0];
70            this.currentItem = 0;
71            this.customEvents();
72            this.onStartup()
73        },
74        onStartup: function() {
75            this.updateItems();
76            this.calculateAll();
77            this.buildControls();
78            this.updateControls();
79            this.response();
80            this.moveEvents();
81            this.stopOnHover();
82            this.owlStatus();
83            !1 !== this.options.transitionStyle && this.transitionTypes(this.options.transitionStyle);
84            !0 === this.options.autoPlay &&
85                (this.options.autoPlay = 5E3);
86            this.play();
87            this.$elem.find(".owl-wrapper").css("display", "block");
88            this.$elem.is(":visible") ? this.$elem.css("opacity", 1) : this.watchVisibility();
89            this.onstartup = !1;
90            this.eachMoveUpdate();
91            "function" === typeof this.options.afterInit && this.options.afterInit.apply(this, [this.$elem])
92        },
93        eachMoveUpdate: function() {
94            !0 === this.options.lazyLoad && this.lazyLoad();
95            !0 === this.options.autoHeight && this.autoHeight();
96            this.onVisibleItems();
97            "function" === typeof this.options.afterAction && this.options.afterAction.apply(this, [this.$elem])
98        },
99        updateVars: function() {
100            "function" === typeof this.options.beforeUpdate && this.options.beforeUpdate.apply(this, [this.$elem]);
101            this.watchVisibility();
102            this.updateItems();
103            this.calculateAll();
104            this.updatePosition();
105            this.updateControls();
106            this.eachMoveUpdate();
107            "function" === typeof this.options.afterUpdate && this.options.afterUpdate.apply(this, [this.$elem])
108        },
109        reload: function() {
110            var a = this;
111            g.setTimeout(function() {
112                a.updateVars()
113            }, 0)
114        },
115        watchVisibility: function() {
116            var a = this;
117            if (!1 === a.$elem.is(":visible")) a.$elem.css({
118                    opacity: 0
119                }),
120                g.clearInterval(a.autoPlayInterval), g.clearInterval(a.checkVisible);
121            else return !1;
122            a.checkVisible = g.setInterval(function() {
123                a.$elem.is(":visible") && (a.reload(), a.$elem.animate({
124                    opacity: 1
125                }, 200), g.clearInterval(a.checkVisible))
126            }, 500)
127        },
128        wrapItems: function() {
129            this.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>');
130            this.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');
131            this.wrapperOuter = this.$elem.find(".owl-wrapper-outer");
132            this.$elem.css("display", "block")
133        },
134        baseClass: function() {
135            var a = this.$elem.hasClass(this.options.baseClass),
136                b = this.$elem.hasClass(this.options.theme);
137            a || this.$elem.addClass(this.options.baseClass);
138            b || this.$elem.addClass(this.options.theme)
139        },
140        updateItems: function() {
141            var a, b;
142            if (!1 === this.options.responsive) return !1;
143            if (!0 === this.options.singleItem) return this.options.items = this.orignalItems = 1, this.options.itemsCustom = !1, this.options.itemsDesktop = !1, this.options.itemsDesktopSmall = !1, this.options.itemsTablet = !1, this.options.itemsTabletSmall = !1, this.options.itemsMobile = !1;
144            a = f(this.options.responsiveBaseWidth).width();
145            a > (this.options.itemsDesktop[0] || this.orignalItems) && (this.options.items = this.orignalItems);
146            if (!1 !== this.options.itemsCustom)
147                for (this.options.itemsCustom.sort(function(a, b) {
148                        return a[0] - b[0]
149                    }), b = 0; b < this.options.itemsCustom.length; b += 1) this.options.itemsCustom[b][0] <= a && (this.options.items = this.options.itemsCustom[b][1]);
150            else a <= this.options.itemsDesktop[0] && !1 !== this.options.itemsDesktop && (this.options.items = this.options.itemsDesktop[1]),
151                a <= this.options.itemsDesktopSmall[0] && !1 !== this.options.itemsDesktopSmall && (this.options.items = this.options.itemsDesktopSmall[1]), a <= this.options.itemsTablet[0] && !1 !== this.options.itemsTablet && (this.options.items = this.options.itemsTablet[1]), a <= this.options.itemsTabletSmall[0] && !1 !== this.options.itemsTabletSmall && (this.options.items = this.options.itemsTabletSmall[1]), a <= this.options.itemsMobile[0] && !1 !== this.options.itemsMobile && (this.options.items = this.options.itemsMobile[1]);
152            this.options.items > this.itemsAmount &&
153                !0 === this.options.itemsScaleUp && (this.options.items = this.itemsAmount)
154        },
155        response: function() {
156            var a = this,
157                b, e;
158            if (!0 !== a.options.responsive) return !1;
159            e = f(g).width();
160            a.resizer = function() {
161                f(g).width() !== e && (!1 !== a.options.autoPlay && g.clearInterval(a.autoPlayInterval), g.clearTimeout(b), b = g.setTimeout(function() {
162                    e = f(g).width();
163                    a.updateVars()
164                }, a.options.responsiveRefreshRate))
165            };
166            f(g).resize(a.resizer)
167        },
168        updatePosition: function() {
169            this.jumpTo(this.currentItem);
170            !1 !== this.options.autoPlay && this.checkAp()
171        },
172        appendItemsSizes: function() {
173            var a =
174                this,
175                b = 0,
176                e = a.itemsAmount - a.options.items;
177            a.$owlItems.each(function(c) {
178                var d = f(this);
179                d.css({
180                    width: a.itemWidth
181                }).data("owl-item", Number(c));
182                if (0 === c % a.options.items || c === e) c > e || (b += 1);
183                d.data("owl-roundPages", b)
184            })
185        },
186        appendWrapperSizes: function() {
187            this.$owlWrapper.css({
188                width: this.$owlItems.length * this.itemWidth * 2,
189                left: 0
190            });
191            this.appendItemsSizes()
192        },
193        calculateAll: function() {
194            this.calculateWidth();
195            this.appendWrapperSizes();
196            this.loops();
197            this.max()
198        },
199        calculateWidth: function() {
200            this.itemWidth = Math.round(this.$elem.width() /
201                this.options.items)
202        },
203        max: function() {
204            var a = -1 * (this.itemsAmount * this.itemWidth - this.options.items * this.itemWidth);
205            this.options.items > this.itemsAmount ? this.maximumPixels = a = this.maximumItem = 0 : (this.maximumItem = this.itemsAmount - this.options.items, this.maximumPixels = a);
206            return a
207        },
208        min: function() {
209            return 0
210        },
211        loops: function() {
212            var a = 0,
213                b = 0,
214                e, c;
215            this.positionsInArray = [0];
216            this.pagesInArray = [];
217            for (e = 0; e < this.itemsAmount; e += 1) b += this.itemWidth, this.positionsInArray.push(-b), !0 === this.options.scrollPerPage && (c = f(this.$owlItems[e]),
218                c = c.data("owl-roundPages"), c !== a && (this.pagesInArray[a] = this.positionsInArray[e], a = c))
219        },
220        buildControls: function() {
221            if (!0 === this.options.navigation || !0 === this.options.pagination) this.owlControls = f('<div class="owl-control
221s"/>').toggleClass("clickable", !this.browser.isTouch).appendTo(this.$elem);
222            !0 === this.options.pagination && this.buildPagination();
223            !0 === this.options.navigation && this.buildButtons()
224        },
225        buildButtons: function() {
226            var a = this,
227                b = f('<div class="owl-buttons"/>');
228            a.owlControls.append(b);
229            a.buttonPrev =
230                f("<div/>", {
231                    "class": "owl-prev",
232                    html: a.options.navigationText[0] || ""
233                });
234            a.buttonNext = f("<div/>", {
235                "class": "owl-next",
236                html: a.options.navigationText[1] || ""
237            });
238            b.append(a.buttonPrev).append(a.buttonNext);
239            b.on("touchstart.owlControls mousedown.owlControls", 'div[class^="owl"]', function(a) {
240                a.preventDefault()
241            });
242            b.on("touchend.owlControls mouseup.owlControls", 'div[class^="owl"]', function(b) {
243                b.preventDefault();
244                f(this).hasClass("owl-next") ? a.next() : a.prev()
245            })
246        },
247        buildPagination: function() {
248            var a = this;
249            a.paginationWrapper =
250                f('<div class="owl-pagination"/>');
251            a.owlControls.append(a.paginationWrapper);
252            a.paginationWrapper.on("touchend.owlControls mouseup.owlControls", ".owl-page", function(b) {
253                b.preventDefault();
254                Number(f(this).data("owl-page")) !== a.currentItem && a.goTo(Number(f(this).data("owl-page")), !0)
255            })
256        },
257        updatePagination: function() {
258            var a, b, e, c, d, g;
259            if (!1 === this.options.pagination) return !1;
260            this.paginationWrapper.html("");
261            a = 0;
262            b = this.itemsAmount - this.itemsAmount % this.options.items;
263            for (c = 0; c < this.itemsAmount; c += 1) 0 === c % this.options.items &&
264                (a += 1, b === c && (e = this.itemsAmount - this.options.items), d = f("<div/>", {
265                    "class": "owl-page"
266                }), g = f("<span></span>", {
267                    text: !0 === this.options.paginationNumbers ? a : "",
268                    "class": !0 === this.options.paginationNumbers ? "owl-numbers" : ""
269                }), d.append(g), d.data("owl-page", b === c ? e : c), d.data("owl-roundPages", a), this.paginationWrapper.append(d));
270            this.checkPagination()
271        },
272        checkPagination: function() {
273            var a = this;
274            if (!1 === a.options.pagination) return !1;
275            a.paginationWrapper.find(".owl-page").each(function() {
276                f(this).data("owl-roundPages") ===
277                    f(a.$owlItems[a.currentItem]).data("owl-roundPages") && (a.paginationWrapper.find(".owl-page").removeClass("active"), f(this).addClass("active"))
278            })
279        },
280        checkNavigation: function() {
281            if (!1 === this.options.navigation) return !1;
282            !1 === this.options.rewindNav && (0 === this.currentItem && 0 === this.maximumItem ? (this.buttonPrev.addClass("disabled"), this.buttonNext.addClass("disabled")) : 0 === this.currentItem && 0 !== this.maximumItem ? (this.buttonPrev.addClass("disabled"), this.buttonNext.removeClass("disabled")) : this.currentItem ===
283                this.maximumItem ? (this.buttonPrev.removeClass("disabled"), this.buttonNext.addClass("disabled")) : 0 !== this.currentItem && this.currentItem !== this.maximumItem && (this.buttonPrev.removeClass("disabled"), this.buttonNext.removeClass("disabled")))
284        },
285        updateControls: function() {
286            this.updatePagination();
287            this.checkNavigation();
288            this.owlControls && (this.options.items >= this.itemsAmount ? this.owlControls.hide() : this.owlControls.show())
289        },
290        destroyControls: function() {
291            this.owlControls && this.owlControls.remove()
292        },
293        next: function(a) {
294            if (this.isTransition) return !1;
295            this.currentItem += !0 === this.options.scrollPerPage ? this.options.items : 1;
296            if (this.currentItem > this.maximumItem + (!0 === this.options.scrollPerPage ? this.options.items - 1 : 0))
297                if (!0 === this.options.rewindNav) this.currentItem = 0, a = "rewind";
298                else return this.currentItem = this.maximumItem, !1;
299            this.goTo(this.currentItem, a)
300        },
301        prev: function(a) {
302            if (this.isTransition) return !1;
303            this.currentItem = !0 === this.options.scrollPerPage && 0 < this.currentItem && this.currentItem < this.options.items ? 0 : this.currentItem - (!0 === this.options.scrollPerPage ?
304                this.options.items : 1);
305            if (0 > this.currentItem)
306                if (!0 === this.options.rewindNav) this.currentItem = this.maximumItem, a = "rewind";
307                else return this.currentItem = 0, !1;
308            this.goTo(this.currentItem, a)
309        },
310        goTo: function(a, b, e) {
311            var c = this;
312            if (c.isTransition) return !1;
313            "function" === typeof c.options.beforeMove && c.options.beforeMove.apply(this, [c.$elem]);
314            a >= c.maximumItem ? a = c.maximumItem : 0 >= a && (a = 0);
315            c.currentItem = c.owl.currentItem = a;
316            if (!1 !== c.options.transitionStyle && "drag" !== e && 1 === c.options.items && !0 === c.browser.support3d) return c.swapSpeed(0), !0 === c.browser.support3d ? c.transition3d(c.positionsInArray[a]) : c.css2slide(c.positionsInArray[a], 1), c.afterGo(), c.singleItemTransition(), !1;
317            a = c.positionsInArray[a];
318            !0 === c.browser.support3d ? (c.isCss3Finish = !1, !0 === b ? (c.swapSpeed("paginationSpeed"), g.setTimeout(function() {
319                c.isCss3Finish = !0
320            }, c.options.paginationSpeed)) : "rewind" === b ? (c.swapSpeed(c.options.rewindSpeed), g.setTimeout(function() {
321                c.isCss3Finish = !0
322            }, c.options.rewindSpeed)) : (c.swapSpeed("slideSpeed"), g.setTimeout(function() {
323                    c.isCss3Finish = !0
324                },
325                c.options.slideSpeed)), c.transition3d(a)) : !0 === b ? c.css2slide(a, c.options.paginationSpeed) : "rewind" === b ? c.css2slide(a, c.options.rewindSpeed) : c.css2slide(a, c.options.slideSpeed);
326            c.afterGo()
327        },
328        jumpTo: function(a) {
329            "function" === typeof this.options.beforeMove && this.options.beforeMove.apply(this, [this.$elem]);
330            a >= this.maximumItem || -1 === a ? a = this.maximumItem : 0 >= a && (a = 0);
331            this.swapSpeed(0);
332            !0 === this.browser.support3d ? this.transition3d(this.positionsInArray[a]) : this.css2slide(this.positionsInArray[a], 1);
333            this.currentItem =
334                this.owl.currentItem = a;
335            this.afterGo()
336        },
337        afterGo: function() {
338            this.prevArr.push(this.currentItem);
339            this.prevItem = this.owl.prevItem = this.prevArr[this.prevArr.length - 2];
340            this.prevArr.shift(0);
341            this.prevItem !== this.currentItem && (this.checkPagination(), this.checkNavigation(), this.eachMoveUpdate(), !1 !== this.options.autoPlay && this.checkAp());
342            "function" === typeof this.options.afterMove && this.prevItem !== this.currentItem && this.options.afterMove.apply(this, [this.$elem])
343        },
344        stop: function() {
345            this.apStatus = "stop";
346            g.clearInterval(this.autoPlayInterval)
347        },
348        checkAp: function() {
349            "stop" !== this.apStatus && this.play()
350        },
351        play: function() {
352            var a = this;
353            a.apStatus = "play";
354            if (!1 === a.options.autoPlay) return !1;
355            g.clearInterval(a.autoPlayInterval);
356            a.autoPlayInterval = g.setInterval(function() {
357                a.next(!0)
358            }, a.options.autoPlay)
359        },
360        swapSpeed: function(a) {
361            "slideSpeed" === a ? this.$owlWrapper.css(this.addCssSpeed(this.options.slideSpeed)) : "paginationSpeed" === a ? this.$owlWrapper.css(this.addCssSpeed(this.options.paginationSpeed)) : "string" !== typeof a && this.$owlWrapper.css(this.addCssSpeed(a))
362        },
363        addCssSpeed: function(a) {
364            return {
365                "-webkit-transition": "all " + a + "ms ease",
366                "-moz-transition": "all " + a + "ms ease",
367                "-o-transition": "all " + a + "ms ease",
368                transition: "all " + a + "ms ease"
369            }
370        },
371        removeTransition: function() {
372            return {
373                "-webkit-transition": "",
374                "-moz-transition": "",
375                "-o-transition": "",
376                transition: ""
377            }
378        },
379        doTranslate: function(a) {
380            return {
381                "-webkit-transform": "translate3d(" + a + "px, 0px, 0px)",
382                "-moz-transform": "translate3d(" + a + "px, 0px, 0px)",
383                "-o-transform": "translate3d(" + a + "px, 0px, 0px)",
384                "-ms-transform": "translate3d(" +
385                    a + "px, 0px, 0px)",
386                transform: "translate3d(" + a + "px, 0px,0px)"
387            }
388        },
389        transition3d: function(a) {
390            this.$owlWrapper.css(this.doTranslate(a))
391        },
392        css2move: function(a) {
393            this.$owlWrapper.css({
394                left: a
395            })
396        },
397        css2slide: function(a, b) {
398            var e = this;
399            e.isCssFinish = !1;
400            e.$owlWrapper.stop(!0, !0).animate({
401                left: a
402            }, {
403                duration: b || e.options.slideSpeed,
404                complete: function() {
405                    e.isCssFinish = !0
406                }
407            })
408        },
409        checkBrowser: function() {
410            var a = k.createElement("div");
411            a.style.cssText = "  -moz-transform:translate3d(0px, 0px, 0px); -ms-transform:translate3d(0px, 0px, 0px); -o-transform:translate3d(0px, 0px, 0px); -webkit-transform:translate3d(0px, 0px, 0px); transform:translate3d(0px, 0px, 0px)";
412            a = a.style.cssText.match(/translate3d\(0px, 0px, 0px\)/g);
413            this.browser = {
414                support3d: null !== a && 1 === a.length,
415                isTouch: "ontouchstart" in g || g.navigator.msMaxTouchPoints
416            }
417        },
418        moveEvents: function() {
419            if (!1 !== this.options.mouseDrag || !1 !== this.options.touchDrag) this.gestures(), this.disabledEvents()
420        },
421        eventTypes: function() {
422            var a = ["s", "e", "x"];
423            this.ev_types = {};
424            !0 === this.options.mouseDrag && !0 === this.options.touchDrag ? a = ["touchstart.owl mousedown.owl", "touchmove.owl mousemove.owl", "touchend.owl touchcancel.owl mouseup.owl"] :
425                !1 === this.options.mouseDrag && !0 === this.options.touchDrag ? a = ["touchstart.owl", "touchmove.owl", "touchend.owl touchcancel.owl"] : !0 === this.options.mouseDrag && !1 === this.options.touchDrag && (a = ["mousedown.owl", "mousemove.owl", "mouseup.owl"]);
426            this.ev_types.start = a[0];
427            this.ev_types.move = a[1];
428            this.ev_types.end = a[2]
429        },
430        disabledEvents: function() {
431            this.$elem.on("dragstart.owl", function(a) {
432                a.preventDefault()
433            });
434            this.$elem.on("mousedown.disableTextSelect", function(a) {
435                return f(a.target).is("input, textarea, select, option")
436            })
437        },
438        gestures: function() {
439            function a(a) {
440                if (void 0 !== a.touches) return {
441                    x: a.touches[0].pageX,
442                    y: a.touches[0].pageY
443                };
444                if (void 0 === a.touches) {
445                    if (void 0 !== a.pageX) return {
446                        x: a.pageX,
447                        y: a.pageY
448                    };
449                    if (void 0 === a.pageX) return {
450                        x: a.clientX,
451                        y: a.clientY
452                    }
453                }
454            }
455
456            function b(a) {
457                "on" === a ? (f(k).on(d.ev_types.move, e), f(k).on(d.ev_types.end, c)) : "off" === a && (f(k).off(d.ev_types.move), f(k).off(d.ev_types.end))
458            }
459
460            function e(b) {
461                b = b.originalEvent || b || g.event;
462                d.newPosX = a(b).x - h.offsetX;
463                d.newPosY = a(b).y - h.offsetY;
464                d.newRelativeX = d.newPosX - h.relativePos;
465                "function" === typeof d.options.startDragging && !0 !== h.dragging && 0 !== d.newRelativeX && (h.dragging = !0, d.options.startDragging.apply(d, [d.$elem]));
466                (8 < d.newRelativeX || -8 > d.newRelativeX) && !0 === d.browser.isTouch && (void 0 !== b.preventDefault ? b.preventDefault() : b.returnValue = !1, h.sliding = !0);
467                (10 < d.newPosY || -10 > d.newPosY) && !1 === h.sliding && f(k).off("touchmove.owl");
468                d.newPosX = Math.max(Math.min(d.newPosX, d.newRelativeX / 5), d.maximumPixels + d.newRelativeX / 5);
469                !0 === d.browser.support3d ? d.transition3d(d.newPosX) : d.
469css2move(d.newPosX)
470            }
471
472            function c(a) {
473                a = a.originalEvent || a || g.event;
474                var c;
475                a.target = a.target || a.srcElement;
476                h.dragging = !1;
477                !0 !== d.browser.isTouch && d.$owlWrapper.removeClass("grabbing");
478                d.dragDirection = 0 > d.newRelativeX ? d.owl.dragDirection = "left" : d.owl.dragDirection = "right";
479                0 !== d.newRelativeX && (c = d.getNewPosition(), d.goTo(c, !1, "drag"), h.targetElement === a.target && !0 !== d.browser.isTouch && (f(a.target).on("click.disable", function(a) {
480                        a.stopImmediatePropagation();
481                        a.stopPropagation();
482                        a.preventDefault();
483                        f(a.target).off("click.disable")
484                    }),
485                    a = f._data(a.target, "events").click, c = a.pop(), a.splice(0, 0, c)));
486                b("off")
487            }
488            var d = this,
489                h = {
490                    offsetX: 0,
491                    offsetY: 0,
492                    baseElWidth: 0,
493                    relativePos: 0,
494                    position: null,
495                    minSwipe: null,
496                    maxSwipe: null,
497                    sliding: null,
498                    dargging: null,
499                    targetElement: null
500                };
501            d.isCssFinish = !0;
502            d.$elem.on(d.ev_types.start, ".owl-wrapper", function(c) {
503                c = c.originalEvent || c || g.event;
504                var e;
505                if (3 === c.which) return !1;
506                if (!(d.itemsAmount <= d.options.items)) {
507                    if (!1 === d.isCssFinish && !d.options.dragBeforeAnimFinish || !1 === d.isCss3Finish && !d.options.dragBeforeAnimFinish) return !1;
508                    !1 !== d.options.autoPlay && g.clearInterval(d.autoPlayInterval);
509                    !0 === d.browser.isTouch || d.$owlWrapper.hasClass("grabbing") || d.$owlWrapper.addClass("grabbing");
510                    d.newPosX = 0;
511                    d.newRelativeX = 0;
512                    f(this).css(d.removeTransition());
513                    e = f(this).position();
514                    h.relativePos = e.left;
515                    h.offsetX = a(c).x - e.left;
516                    h.offsetY = a(c).y - e.top;
517                    b("on");
518                    h.sliding = !1;
519                    h.targetElement = c.target || c.srcElement
520                }
521            })
522        },
523        getNewPosition: function() {
524            var a = this.closestItem();
525            a > this.maximumItem ? a = this.currentItem = this.maximumItem : 0 <= this.newPosX && (this.currentItem =
526                a = 0);
527            return a
528        },
529        closestItem: function() {
530            var a = this,
531                b = !0 === a.options.scrollPerPage ? a.pagesInArray : a.positionsInArray,
532                e = a.newPosX,
533                c = null;
534            f.each(b, function(d, g) {
535                e - a.itemWidth / 20 > b[d + 1] && e - a.itemWidth / 20 < g && "left" === a.moveDirection() ? (c = g, a.currentItem = !0 === a.options.scrollPerPage ? f.inArray(c, a.positionsInArray) : d) : e + a.itemWidth / 20 < g && e + a.itemWidth / 20 > (b[d + 1] || b[d] - a.itemWidth) && "right" === a.moveDirection() && (!0 === a.options.scrollPerPage ? (c = b[d + 1] || b[b.length - 1], a.currentItem = f.inArray(c, a.positionsInArray)) :
536                    (c = b[d + 1], a.currentItem = d + 1))
537            });
538            return a.currentItem
539        },
540        moveDirection: function() {
541            var a;
542            0 > this.newRelativeX ? (a = "right", this.playDirection = "next") : (a = "left", this.playDirection = "prev");
543            return a
544        },
545        customEvents: function() {
546            var a = this;
547            a.$elem.on("owl.next", function() {
548                a.next()
549            });
550            a.$elem.on("owl.prev", function() {
551                a.prev()
552            });
553            a.$elem.on("owl.play", function(b, e) {
554                a.options.autoPlay = e;
555                a.play();
556                a.hoverStatus = "play"
557            });
558            a.$elem.on("owl.stop", function() {
559                a.stop();
560                a.hoverStatus = "stop"
561            });
562            a.$elem.on("owl.goTo", function(b, e) {
563                a.goTo(e)
564            });
565            a.$elem.on("owl.jumpTo", function(b, e) {
566                a.jumpTo(e)
567            })
568        },
569        stopOnHover: function() {
570            var a = this;
571            !0 === a.options.stopOnHover && !0 !== a.browser.isTouch && !1 !== a.options.autoPlay && (a.$elem.on("mouseover", function() {
572                a.stop()
573            }), a.$elem.on("mouseout", function() {
574                "stop" !== a.hoverStatus && a.play()
575            }))
576        },
577        lazyLoad: function() {
578            var a, b, e, c, d;
579            if (!1 === this.options.lazyLoad) return !1;
580            for (a = 0; a < this.itemsAmount; a += 1) b = f(this.$owlItems[a]), "loaded" !== b.data("owl-loaded") && (e = b.data("owl-item"), c = b.find(".lazyOwl"), "string" !== typeof c.data("src") ?
581                b.data("owl-loaded", "loaded") : (void 0 === b.data("owl-loaded") && (c.hide(), b.addClass("loading").data("owl-loaded", "checked")), (d = !0 === this.options.lazyFollow ? e >= this.currentItem : !0) && e < this.currentItem + this.options.items && c.length && this.lazyPreload(b, c)))
582        },
583        lazyPreload: function(a, b) {
584            function e() {
585                a.data("owl-loaded", "loaded").removeClass("loading");
586                b.removeAttr("data-src");
587                "fade" === d.options.lazyEffect ? b.fadeIn(400) : b.show();
588                "function" === typeof d.options.afterLazyLoad && d.options.afterLazyLoad.apply(this, [d.$elem])
589            }
590
591            function c() {
592                f += 1;
593                d.completeImg(b.get(0)) || !0 === k ? e() : 100 >= f ? g.setTimeout(c, 100) : e()
594            }
595            var d = this,
596                f = 0,
597                k;
598            "DIV" === b.prop("tagName") ? (b.css("background-image", "url(" + b.data("src") + ")"), k = !0) : b[0].src = b.data("src");
599            c()
600        },
601        autoHeight: function() {
602            function a() {
603                var a = f(e.$owlItems[e.currentItem]).height();
604                e.wrapperOuter.css("height", a + "px");
605                e.wrapperOuter.hasClass("autoHeight") || g.setTimeout(function() {
606                    e.wrapperOuter.addClass("autoHeight")
607                }, 0)
608            }
609
610            function b() {
611                d += 1;
612                e.completeImg(c.get(0)) ? a() : 100 >= d ? g.setTimeout(b,
613                    100) : e.wrapperOuter.css("height", "")
614            }
615            var e = this,
616                c = f(e.$owlItems[e.currentItem]).find("img"),
617                d;
618            void 0 !== c.get(0) ? (d = 0, b()) : a()
619        },
620        completeImg: function(a) {
621            return !a.complete || "undefined" !== typeof a.naturalWidth && 0 === a.naturalWidth ? !1 : !0
622        },
623        onVisibleItems: function() {
624            var a;
625            !0 === this.options.addClassActive && this.$owlItems.removeClass("active");
626            this.visibleItems = [];
627            for (a = this.currentItem; a < this.currentItem + this.options.items; a += 1) this.visibleItems.push(a), !0 === this.options.addClassActive && f(this.$owlItems[a]).addClass("active");
628            this.owl.visibleItems = this.visibleItems
629        },
630        transitionTypes: function(a) {
631            this.outClass = "owl-" + a + "-out";
632            this.inClass = "owl-" + a + "-in"
633        },
634        singleItemTransition: function() {
635            var a = this,
636                b = a.outClass,
637                e = a.inClass,
638                c = a.$owlItems.eq(a.currentItem),
639                d = a.$owlItems.eq(a.prevItem),
640                f = Math.abs(a.positionsInArray[a.currentItem]) + a.positionsInArray[a.prevItem],
641                g = Math.abs(a.positionsInArray[a.currentItem]) + a.itemWidth / 2;
642            a.isTransition = !0;
643            a.$owlWrapper.addClass("owl-origin").css({
644                "-webkit-transform-origin": g + "px",
645                "-moz-perspective-origin": g +
646                    "px",
647                "perspective-origin": g + "px"
648            });
649            d.css({
650                position: "relative",
651                left: f + "px"
652            }).addClass(b).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend", function() {
653                a.endPrev = !0;
654                d.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend");
655                a.clearTransStyle(d, b)
656            });
657            c.addClass(e).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend", function() {
658                a.endCurrent = !0;
659                c.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend");
660                a.clearTransStyle(c, e)
661            })
662        },
663        clearTransStyle: function(a,
664            b) {
665            a.css({
666                position: "",
667                left: ""
668            }).removeClass(b);
669            this.endPrev && this.endCurrent && (this.$owlWrapper.removeClass("owl-origin"), this.isTransition = this.endCurrent = this.endPrev = !1)
670        },
671        owlStatus: function() {
672            this.owl = {
673                userOptions: this.userOptions,
674                baseElement: this.$elem,
675                userItems: this.$userItems,
676                owlItems: this.$owlItems,
677                currentItem: this.currentItem,
678                prevItem: this.prevItem,
679                visibleItems: this.visibleItems,
680                isTouch: this.browser.isTouch,
681                browser: this.browser,
682                dragDirection: this.dragDirection
683            }
684        },
685        clearEvents: function() {
686            this.$elem.off(".owl owl mousedown.disableTextSelect");
687            f(k).off(".owl owl");
688            f(g).off("resize", this.resizer)
689        },
690        unWrap: function() {
691            0 !== this.$elem.children().length && (this.$owlWrapper.unwrap(), this.$userItems.unwrap().unwrap(), this.owlControls && this.owlControls.remove());
692            this.clearEvents();
693            this.$elem.attr("style", this.$elem.data("owl-originalStyles") || "").attr("class", this.$elem.data("owl-originalClasses"))
694        },
695        destroy: function() {
696            this.stop();
697            g.clearInterval(this.checkVisible);
698            this.unWrap();
699            this.$elem.removeData()
700        },
701        reinit: function(a) {
702            a = f.extend({}, this.userOptions,
703                a);
704            this.unWrap();
705            this.init(a, this.$elem)
706        },
707        addItem: function(a, b) {
708            var e;
709            if (!a) return !1;
710            if (0 === this.$elem.children().length) return this.$elem.append(a), this.setVars(), !1;
711            this.unWrap();
712            e = void 0 === b || -1 === b ? -1 : b;
713            e >= this.$userItems.length || -1 === e ? this.$userItems.eq(-1).after(a) : this.$userItems.eq(e).before(a);
714            this.setVars()
715        },
716        removeItem: function(a) {
717            if (0 === this.$elem.children().length) return !1;
718            a = void 0 === a || -1 === a ? -1 : a;
719            this.unWrap();
720            this.$userItems.eq(a).remove();
721            this.setVars()
722        }
723    };
724    f.fn.owlCarousel = function(a) {
725        return this.each(function() {
726            if (!0 ===
727                f(this).data("owl-init")) return !1;
728            f(this).data("owl-init", !0);
729            var b = Object.create(l);
730            b.init(a, this);
731            f.data(this, "owlCarousel", b)
732        })
733    };
734    f.fn.owlCarousel.options = {
735        items: 5,
736        itemsCustom: !1,
737        itemsDesktop: [1199, 4],
738        itemsDesktopSmall: [979, 3],
739        itemsTablet: [768, 2],
740        itemsTabletSmall: !1,
741        itemsMobile: [479, 1],
742        singleItem: !1,
743        itemsScaleUp: !1,
744        slideSpeed: 200,
745        paginationSpeed: 800,
746        rewindSpeed: 1E3,
747        autoPlay: !1,
748        stopOnHover: !1,
749        navigation: !1,
750        navigationText: ["prev", "next"],
751        rewindNav: !0,
752        scrollPerPage: !1,
753        pagination: !0,
754        paginationNumbers: !1,
755        responsive: !0,
756        responsiveRefreshRate: 200,
757        responsiveBaseWidth: g,
758        baseClass: "owl-carousel",
759        theme: "owl-theme",
760        lazyLoad: !1,
761        lazyFollow: !0,
762        lazyEffect: "fade",
763        autoHeight: !1,
764        jsonPath: !1,
765        jsonSuccess: !1,
766        dragBeforeAnimFinish: !0,
767        mouseDrag: !0,
768        touchDrag: !0,
769        addClassActive: !1,
770        transitionStyle: !1,
771        beforeUpdate: !1,
772        afterUpdate: !1,
773        beforeInit: !1,
774        afterInit: !1,
775        beforeMove: !1,
776        afterMove: !1,
777        afterAction: !1,
778        startDragging: !1,
779        afterLazyLoad: !1
780    }
781})(jQuery, window, document);

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.