PageSourceSearch

https://hadarat.net/assets/js/owl.carousel.min.js?v=109fbd71ba36

js hadarat.net collected 2026-10-04 23:37:04 UTC 57,913 bytes, 836 lines download raw bytes

vendor: 57,913 bytes, lines 1-836
1/**
2 * Owl Carousel v2.3.4
3 * Copyright 2013-2018 David Deutsch
4 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
5 * cache-bust: 2026-09-24-owl-rtl-drag
6 */
7!function (a, b, c, d) {
8    function e(b, c) {
9        this.settings = null, this.options = a.extend({}, e.Defaults, c), this.$element = a(b), this._handlers = {}, this._plugins = {}, this._supress = {}, this._current = null, this._speed = null, this._coordinates = [], this._breakpoint = null, this._width = null, this._items = [], this._clones = [], this._mergers = [], this._widths = [], this._invalidated = {}, this._pipe = [], this._drag = {
10            time: null,
11            target: null,
12            pointer: null,
13            stage: {start: null, current: null},
14            direction: null
15        }, this._states = {
16            current: {},
17            tags: {initializing: ["busy"], animating: ["busy"], dragging: ["interacting"]}
18        }, a.each(["onResize", "onThrottledResize"], a.proxy(function (b, c) {
19            this._handlers[c] = a.proxy(this[c], this)
20        }, this)), a.each(e.Plugins, a.proxy(function (a, b) {
21            this._plugins[a.charAt(0).toLowerCase() + a.slice(1)] = new b(this)
22        }, this)), a.each(e.Workers, a.proxy(function (b, c) {
23            this._pipe.push({filter: c.filter, run: a.proxy(c.run, this)})
24        }, this)), this.setup(), this.initialize()
25    }
26
27    e.Defaults = {
28        items: 3,
29        loop: !1,
30        center: !1,
31        rewind: !1,
32        checkVisibility: !0,
33        mouseDrag: !0,
34        touchDrag: !0,
35        pullDrag: !0,
36        freeDrag: !1,
37        margin: 0,
38        stagePadding: 0,
39        merge: !1,
40        mergeFit: !0,
41        autoWidth: !1,
42        startPosition: 0,
43        rtl: !1,
44        smartSpeed: 250,
45        fluidSpeed: !1,
46        dragEndSpeed: !1,
47        responsive: {},
48        responsiveRefreshRate: 200,
49        responsiveBaseElement: b,
50        fallbackEasing: "swing",
51        slideTransition: "",
52        info: !1,
53        nestedItemSelector: !1,
54        itemElement: "div",
55        stageElement: "div",
56        refreshClass: "owl-refresh",
57        loadedClass: "owl-loaded",
58        loadingClass: "owl-loading",
59        rtlClass: "owl-rtl",
60        responsiveClass: "owl-responsive",
61        dragClass: "owl-drag",
62        itemClass: "owl-item",
63        stageClass: "owl-stage",
64        stageOuterClass: "owl-stage-outer",
65        grabClass: "owl-grab"
66    }, e.Width = {Default: "default", Inner: "inner", Outer: "outer"}, e.Type = {
67        Event: "event",
68        State: "state"
69    }, e.Plugins = {}, e.Workers = [{
70        filter: ["width", "settings"], run: function () {
71            this._width = this.$element.width()
72        }
73    }, {
74        filter: ["width", "items", "settings"], run: function (a) {
75            a.current = this._items && this._items[this.relative(this._current)]
76        }
77    }, {
78        filter: ["items", "settings"], run: function () {
79            this.$stage.children(".cloned").remove()
80        }
81    }, {
82        filter: ["width", "items", "settings"], run: function (a) {
83            var b = this.settings.margin || "", c = !this.settings.autoWidth, d = this.settings.rtl,
84                e = {width: "auto", "margin-left": d ? b : "", "margin-right": d ? "" : b};
85            !c && this.$stage.children().css(e), a.css = e
86        }
87    }, {
88        filter: ["width", "items", "settings"], run: function (a) {
89            var b = (this.width() / this.settings.items).toFixed(3) - this.settings.margin, c = null,
90                d = this._items.length, e = !this.settings.autoWidth, f = [];
91            for (a.items = {
92                merge: !1,
93                width: b
94            }; d--;) c = this._mergers[d], c = this.settings.mergeFit && Math.min(c, this.settings.items) || c, a.items.merge = c > 1 || a.items.merge, f[d] = e ? b * c : this._items[d].width();
95            this._widths = f
96        }
97    }, {
98        filter: ["items", "settings"], run: function () {
99            var b = [], c = this._items, d = this.settings, e = Math.max(2 * d.items, 4),
100                f = 2 * Math.ceil(c.length / 2), g = d.loop && c.length ? d.rewind ? e : Math.max(e, f) : 0, h = "",
101                i = "";
102            for (g /= 2; g > 0;) b.push(this.normalize(b.length / 2, !0)), h += c[b[b.length - 1]][0].outerHTML, b.push(this.normalize(c.length - 1 - (b.length - 1) / 2, !0)), i = c[b[b.length - 1]][0].outerHTML + i, g -= 1;
103            this._clones = b, a(h).addClass("cloned").appendTo(this.$stage), a(i).addClass("cloned").prependTo(this.$stage)
104        }
105    }, {
106        filter: ["width", "items", "settings"], run: function () {
107            for (var a = this.settings.rtl ? 1 : -1, b = this._clones.length + this._items.length, c = -1, d = 0, e = 0, f = []; ++c < b;) d = f[c - 1] || 0, e = this._widths[this.relative(c)] + this.settings.margin, f.push(d + e * a);
108            this._coordinates = f
109        }
110    }, {
111        filter: ["width", "items", "settings"], run: function () {
112            var a = this.settings.stagePadding, b = this._coordinates, c = {
113                width: Math.ceil(Math.abs(b[b.length - 1])) + 2 * a,
114                "padding-left": a || "",
115                "padding-right": a || ""
116            };
117            this.$stage.css(c)
118        }
119    }, {
120        filter: ["width", "items", "settings"], run: function (a) {
121            var b = this._coordinates.length, c = !this.settings.autoWidth, d = this.$stage.children();
122            if (c && a.items.merge) for (; b--;) a.css.width = this._widths[this.relative(b)], d.eq(b).css(a.css); else c && (a.css.width = a.items.width, d.css(a.css))
123        }
124    }, {
125        filter: ["items"], run: function () {
126            this._coordinates.length < 1 && this.$stage.removeAttr("style")
127        }
128    }, {
129        filter: ["width", "items", "settings"], run: function (a) {
130            a.current = a.current ? this.$stage.children().index(a.current) : 0, a.current = Math.max(this.minimum(), Math.min(this.maximum(), a.current)), this.reset(a.current)
131        }
132    }, {
133        filter: ["position"], run: function () {
134            this.animate(this.coordinates(this._current))
135        }
136    }, {
137        filter: ["width", "position", "items", "settings"], run: function () {
138            var a, b, c, d, e = this.settings.rtl ? 1 : -1, f = 2 * this.settings.stagePadding,
139                g = this.coordinates(this.current()) + f, h = g + this.width() * e, i = [];
140            for (c = 0, d = this._coordinates.length; c < d; c++) a = this._coordinates[c - 1] || 0, b = Math.abs(this._coordinates[c]) + f * e, (this.op(a, "<=", g) && this.op(a, ">", h) || this.op(b, "<", g) && this.op(b, ">", h)) && i.push(c);
141            this.$stage.children(".active").removeClass("active"), this.$stage.children(":eq(" + i.join("), :eq(") + ")").addClass("active"), this.$stage.children(".center").removeClass("center"), this.settings.center && this.$stage.children().eq(this.current()).addClass("center")
142        }
143    }], e.prototype.initializeStage = function () {
144        this.$stage = this.$element.find("." + this.settings.stageClass), this.$stage.length || (this.$element.addClass(this.options.loadingClass), this.$stage = a("<" + this.settings.stageElement + ">", {class: this.settings.stageClass}).wrap(a("<div/>", {class: this.settings.stageOuterClass})), this.$element.append(this.$stage.parent()))
145    }, e.prototype.initializeItems = function () {
146        var b = this.$element.find(".owl-item");
147        if (b.length) return this._items = b.get().map(function (b) {
148            return a(b)
149        }), this._mergers = this._items.map(function () {
150            return 1
151        }), void this.refresh();
152        this.replace(this.$element.children().not(this.$stage.parent())), this.isVisible() ? this.refresh() : this.invalidate("width"), this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)
153    }, e.prototype.initialize = function () {
154        if (this.enter("initializing"), this.trigger("initialize"), this.$element.toggleClass(this.settings.rtlClass, this.settings.rtl), this.settings.autoWidth && !this.is("pre-loading")) {
155            var a, b, c;
156            a = this.$element.find("img"), b = this.settings.nestedItemSelector ? "." + this.settings.nestedItemSelector : d, c = this.$element.children(b).width(), a.length && c <= 0 && this.preloadAutoWidthImages(a)
157        }
158        this.initializeStage(), this.initializeItems(), this.registerEventHandlers(), this.leave("initializing"), this.trigger("initialized")
159    }, e.prototype.isVisible = function () {
160        return !this.settings.checkVisibility || this.$element.is(":visible")
161    }, e.prototype.setup = function () {
162        var b = this.viewport(), c = this.options.responsive, d = -1, e = null;
163        c ? (a.each(c, function (a) {
164            a <= b && a > d && (d = Number(a))
165        }), e = a.extend({}, this.options, c[d]), "function" == typeof e.stagePadding && (e.stagePadding = e.stagePadding()), delete e.responsive, e.responsiveClass && this.$element.attr("class", this.$element.attr("class").replace(new RegExp("(" + this.options.responsiveClass + "-)\\S+\\s", "g"), "$1" + d))) : e = a.extend({}, this.options), this.trigger("change", {
166            property: {
167                name: "settings",
168                value: e
169            }
170        }), this._breakpoint = d, this.settings = e, this.invalidate("settings"), this.trigger("changed", {
171            property: {
172                name: "settings",
173                value: this.settings
174            }
175        })
176    }, e.prototype.optionsLogic = function () {
177        this.settings.autoWidth && (this.settings.stagePadding = !1, this.settings.merge = !1)
178    }, e.prototype.prepare = function (b) {
179        var c = this.trigger("prepare", {content: b});
180        return c.data || (c.data = a("<" + this.settings.itemElement + "/>").addClass(this.options.itemClass).append(b)), this.trigger("prepared", {content: c.data}), c.data
181    }, e.prototype.update = function () {
182        for (var b = 0, c = this._pipe.length, d = a.proxy(function (a) {
183            return this[a]
184        }, this._invalidated), e = {}; b < c;) (this._invalidated.all || a.grep(this._pipe[b].filter, d).length > 0) && this._pipe[b].run(e), b++;
185        this._invalidated = {}, !this.is("valid") && this.enter("valid")
186    }, e.prototype.width = function (a) {
187        switch (a = a || e.Width.Default) {
188            case e.Width.Inner:
189            case e.Width.Outer:
190                return this._width;
191            default:
192                return this._width - 2 * this.settings.stagePadding + this.settings.margin
193        }
194    }, e.prototype.refresh = function () {
195        this.enter("refreshing"), this.trigger("refresh"), this.setup(), this.optionsLogic(), this.$element.addClass(this.options.refreshClass), this.update(), this.$element.removeClass(this.options.refreshClass), this.leave("refreshing"), this.trigger("refreshed")
196    }, e.prototype.onThrottledResize = function () {
197        b.clearTimeout(this.resizeTimer), this.resizeTimer = b.setTimeout(this._handlers.onResize, this.settings.responsiveRefreshRate)
198    }, e.prototype.onResize = function () {
199        return !!this._items.length && (this._width !== this.$element.width() && (!!this.isVisible() && (this.enter("resizing"), this.trigger("resize").isDefaultPrevented() ? (this.leave("resizing"), !1) : (this.invalidate("width"), this.refresh(), this.leave("resizing"), void this.trigger("resized")))))
200    }, e.prototype.registerEventHandlers = function () {
201        a.support.transition && this.$stage.on(a.support.transition.end + ".owl.core", a.proxy(this.onTransitionEnd, this)), !1 !== this.settings.responsive && this.on(b, "resize", this._handlers.onThrottledResize), this.settings.mouseDrag && (this.$element.addClass(this.options.dragClass), this.$stage.on("mousedown.owl.core", a.proxy(this.onDragStart, this)), this.$stage.on("dragstart.owl.core selectstart.owl.core", function () {
202            return !1
203        })), this.settings.touchDrag && (this.$stage.on("touchstart.owl.core", a.proxy(this.onDragStart, this)), this.$stage.on("touchcancel.owl.core", a.proxy(this.onDragEnd, this)))
204    }, e.prototype.onDragStart = function (b) {
205        var d = null;
206        3 !== b.which && (a.support.transform ? (d = this.$stage.css("transform").replace(/.*\(|\)| /g, "").split(","), d = {
207            x: d[16 === d.length ? 12 : 4],
208            y: d[16 === d.length ? 13 : 5]
209        }) : (d = this.$stage.position(), d = {
210            x: this.settings.rtl ? d.right + this.$stage.width() - this.width() + this.settings.margin : d.right,
211            y: d.top
212        }), this.is("animating") && (a.support.transform ? this.animate(d.x) : this.$stage.stop(), this.invalidate("position")), this.$element.toggleClass(this.options.grabClass, "mousedown" === b.type), this.speed(0), this._drag.time = (new Date).getTime(), this._drag.target = a(b.target), this._drag.stage.start = d, this._drag.stage.current = d, this._drag.pointer = this.pointer(b), a(c).on("mouseup.owl.core touchend.owl.core", a.proxy(this.onDragEnd, this)), a(c).one("mousemove.owl.core touchmove.owl.core", a.proxy(function (b) {
213            var d = this.difference(this._drag.pointer, this.pointer(b));
214            a(c).on("mousemove.owl.core touchmove.owl.core", a.proxy(this.onDragMove, this)), Math.abs(d.x) < Math.abs(d.y) && this.is("valid") || (b.preventDefault(), this.enter("dragging"), this.trigger("drag"))
215        }, this)))
216    }, e.prototype.onDragMove = function (a) {
217        var b = null, c = null, d = null, e = this.difference(this._drag.pointer, this.pointer(a)),
218            f = this.difference(this._drag.stage.start, e);
219        this.is("dragging") && (a.preventDefault(), this.settings.loop ? (b = this.coordinates(this.minimum()), c = this.coordinates(this.maximum() + 1) - b, f.x = ((f.x - b) % c + c) % c + b) : (b = this.settings.rtl ? this.coordinates(this.maximum()) : this.coordinates(this.minimum()), c = this.settings.rtl ? this.coordinates(this.minimum()) : this.coordinates(this.maximum()), d = this.settings.pullDrag ? -1 * e.x / 5 : 0, f.x = Math.max(Math.min(f.x, b + d), c + d)), this._drag.stage.current = f, this.animate(f.x))
220    }, e.prototype.onDragEnd = function (b) {
221        var d = this.difference(this._drag.pointer, this.pointer(b)), e = this._drag.stage.current,
222            f = d.x > 0 ^ this.settings.rtl ? "left" : "right";
223        a(c).off(".owl.core"), this.$element.removeClass(this.options.grabClass), (0 !== d.x && this.is("dragging") || !this.is("valid")) && (this.speed(this.settings.dragEndSpeed || this.settings.smartSpeed), this.current(this.closest(e.x, 0 !== d.x ? f : this._drag.direction)), this.invalidate("position"), this.update(), this._drag.direction = f, (Math.abs(d.x) > 3 || (new Date).getTime() - this._drag.time > 300) && this._drag.target.one("click.owl.core", function () {
224            return !1
225        })), this.is("dragging") && (this.leave("dragging"), this.trigger("dragged"))
226    }, e.prototype.closest = function (b, c) {
227        var e = -1, f = 30, g = this.width(), h = this.coordinates();
228        return this.settings.freeDrag || a.each(h, a.proxy(function (a, i) {
229            return "left" === c && b > i - f && b < i + f ? e = a : "right" === c && b > i - g - f && b < i - g + f ? e = a + 1 : this.op(b, "<", i) && this.op(b, ">", h[a + 1] !== d ? h[a + 1] : i - g) && (e = "left" === c ? a + 1 : a), -1 === e
230        }, this)), this.settings.loop || (this.op(b, ">", h[this.minimum()]) ? e = b = this.minimum() : this.op(b, "<", h[this.maximum()]) && (e = b = this.maximum())), e
231    }, e.prototype.animate = function (b) {
232        var c = this.speed() > 0;
233        this.is("animating") && this.onTransitionEnd(), c && (this.enter("animating"), this.trigger("translate")), a.support.transform3d && a.support.transition ? this.$stage.css({
234            transform: "translate3d(" + b + "px,0px,0px)",
235            transition: this.speed() / 1e3 + "s" + (this.settings.slideTransition ? " " + this.settings.slideTransition : "")
236        }) : c ? this.$stage.animate({right: b + "px"}, this.speed(), this.settings.fallbackEasing, a.proxy(this.onTransitionEnd, this)) : this.$stage.css({right: b + "px"})
237    }, e.prototype.is = function (a) {
238        return this._states.current[a] && this._states.current[a] > 0
239    }, e.prototype.current = function (a) {
240        if (a === d) return this._current;
241        if (0 === this._items.length) return d;
242        if (a = this.normalize(a), this._current !== a) {
243            var b = this.trigger("change", {property: {name: "position", value: a}});
244            b.data !== d && (a = this.normalize(b.data)), this._current = a, this.invalidate("position"), this.trigger("changed", {
245                property: {
246                    name: "position",
247                    value: this._current
248                }
249            })
250        }
251        return this._current
252    }, e.prototype.invalidate = function (b) {
253        return "string" === a.type(b) && (this._invalidated[b] = !0, this.is("valid") && this.leave("valid")), a.map(this._invalidated, function (a, b) {
254            return b
255        })
256    }, e.prototype.reset = function (a) {
257        (a = this.normalize(a)) !== d && (this._speed = 0, this._current = a, this.suppress(["translate", "translated"]), this.animate(this.coordinates(a)), this.release(["translate", "translated"]))
258    }, e.prototype.normalize = function (a, b) {
259        var c = this._items.length, e = b ? 0 : this._clones.length;
260        return !this.isNumeric(a) || c < 1 ? a = d : (a < 0 || a >= c + e) && (a = ((a - e / 2) % c + c) % c + e / 2), a
261    }, e.prototype.relative = function (a) {
262        return a -= this._clones.length / 2, this.normalize(a, !0)
263    }, e.prototype.maximum = function (a) {
264        var b, c, d, e = this.settings, f = this._coordinates.length;
265        if (e.loop) f = this._clones.length / 2 + this._items.length - 1; else if (e.autoWidth || e.merge) {
266            if (b = this._items.length) for (c = this._items[--b].width(), d = this.$element.width(); b-- && !((c += this._items[b].width() + this.settings.margin) > d);) ;
267            f = b + 1
268        } else f = e.center ? this._items.length - 1 : this._items.length - e.items;
269        return a && (f -= this._clones.length / 2), Math.max(f, 0)
270    }, e.prototype.minimum = function (a) {
271        return a ? 0 : this._clones.length / 2
272    }, e.prototype.items = function (a) {
273        return a === d ? this._items.slice() : (a = this.normalize(a, !0), this._items[a])
274    }, e.prototype.mergers = function (a) {
275        return a === d ? this._mergers.slice() : (a = this.normalize(a, !0), this._mergers[a])
276    }, e.prototype.clones = function (b) {
277        var c = this._clones.length / 2, e = c + this._items.length, f = function (a) {
278            return a % 2 == 0 ? e + a / 2 : c - (a + 1) / 2
279        };
280        return b === d ? a.map(this._clones, function (a, b) {
281            return f(b)
282        }) : a.map(this._clones, function (a, c) {
283            return a === b ? f(c) : null
284        })
285    }, e.prototype.speed = function (a) {
286        return a !== d && (this._speed = a), this._speed
287    }, e.prototype.coordinates = function (b) {
288        var c, e = 1, f = b - 1;
289        return b === d ? a.map(this._coordinates, a.proxy(function (a, b) {
290            return this.coordinates(b)
291        }, this)) : (this.settings.center ? (this.settings.rtl && (e = -1, f = b + 1), c = this._coordinates[b], c += (this.width() - c + (this._coordinates[f] || 0)) / 2 * e) : c = this._coordinates[f] || 0, c = Math.ceil(c))
292    }, e.prototype.duration = function (a, b, c) {
293        return 0 === c ? 0 : Math.min(Math.max(Math.abs(b - a), 1), 6) * Math.abs(c || this.settings.smartSpeed)
294    }, e.prototype.to = function (a, b) {
295        var c = this.current(), d = null, e = a - this.relative(c), f = (e > 0) - (e < 0), g = this._items.length,
296            h = this.minimum(), i = this.maximum();
297        this.settings.loop ? (!this.settings.rewind && Math.abs(e) > g / 2 && (e += -1 * f * g), a = c + e, (d = ((a - h) % g + g) % g + h) !== a && d - e <= i && d - e > 0 && (c = d - e, a = d, this.reset(c))) : this.settings.rewind ? (i += 1, a = (a % i + i) % i) : a = Math.max(h, Math.min(i, a)), this.speed(this.duration(c, a, b)), this.current(a), this.isVisible() && this.update()
298    }, e.prototype.next = function (a) {
299        a = a || !1, this.to(this.relative(this.current()) + 1, a)
300    }, e.prototype.prev = function (a) {
301        a = a || !1, this.to(this.relative(this.current()) - 1, a)
302    }, e.prototype.onTransitionEnd = function (a) {
303        if (a !== d && (a.stopPropagation(), (a.target || a.srcElement || a.originalTarget) !== this.$stage.get(0))) return !1;
304        this.leave("animating"), this.trigger("translated")
305    }, e.prototype.viewport = function () {
306        var d;
307        return this.options.responsiveBaseElement !== b ? d = a(this.options.responsiveBaseElement).width() : b.innerWidth ? d = b.innerWidth : c.documentElement && c.documentElement.clientWidth ? d = c.documentElement.clientWidth : console.warn("Can not detect viewport width."), d
308    }, e.prototype.replace = function (b) {
309        this.$stage.empty(), this._items = [], b && (b = b instanceof jQuery ? b : a(b)), this.settings.nestedItemSelector && (b = b.find("." + this.settings.nestedItemSelector)), b.filter(function () {
310            return 1 === this.nodeType
311        }).each(a.proxy(function (a, b) {
312            b = this.prepare(b), this.$stage.append(b), this._items.push(b), this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)
313        }, this)), this.reset(this.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0), this.invalidate("items")
314    }, e.prototype.add = function (b, c) {
315        var e = this.relative(this._current);
316        c = c === d ? this._items.length : this.normalize(c, !0), b = b instanceof jQuery ? b : a(b), this.trigger("add", {
317            content: b,
318            position: c
319        }), b = this.prepare(b), 0 === this._items.length || c === this._items.length ? (0 === this._items.length && this.$stage.append(b), 0 !== this._items.length && this._items[c - 1].after(b), this._items.push(b), this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)) : (this._items[c].before(b), this._items.splice(c, 0, b), this._mergers.splice(c, 0, 1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)), this._items[e] && this.reset(this._items[e].index()), this.invalidate("items"), this.trigger("added", {
320            content: b,
321            position: c
322        })
323    }, e.prototype.remove = function (a) {
324        (a = this.normalize(a, !0)) !== d && (this.trigger("remove", {
325            content: this._items[a],
326            position: a
327        }), this._items[a].remove(), this._items.splice(a, 1), this._mergers.splice(a, 1), this.invalidate("items"), this.trigger("removed", {
328            content: null,
329            position: a
330        }))
331    }, e.prototype.preloadAutoWidthImages = function (b) {
332        b.each(a.proxy(function (b, c) {
333            this.enter("pre-loading"), c = a(c), a(new Image).one("load", a.proxy(function (a) {
334                c.attr("src", a.target.src), c.css("opacity", 1), this.leave("pre-loading"), !this.is("pre-loading") && !this.is("initializing") && this.refresh()
335            }, this)).attr("src", c.attr("src") || c.attr("data-src") || c.attr("data-src-retina"))
336        }, this))
337    }, e.prototype.destroy = function () {
338        this.$element.off(".owl.core"), this.$stage.off(".owl.core"), a(c).off(".owl.core"), !1 !== this.settings.responsive && (b.clearTimeout(this.resizeTimer), this.off(b, "resize", this._handlers.onThrottledResize));
339        for (var d in this._plugins) this._plugins[d].destroy();
340        this.$stage.children(".cloned").remove(), this.$stage.unwrap(), this.$stage.children().contents().unwrap(), this.$stage.children().unwrap(), this.$stage.remove(), this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class", this.$element.attr("class").replace(new RegExp(this.options.responsiveClass + "-\\S+\\s", "g"), "")).removeData("owl.carousel")
341    }, e.prototype.op = function (a, b, c) {
342        var d = this.settings.rtl;
343        switch (b) {
344            case"<":
345                return d ? a > c : a < c;
346            case">":
347                return d ? a < c : a > c;
348            case">=":
349                return d ? a <= c : a >= c;
350            case"<=":
351                return d ? a >= c : a <= c
352        }
353    }, e.prototype.on = function (a, b, c, d) {
354        a.addEventListener ? a.addEventListener(b, c, d) : a.attachEvent && a.attachEvent("on" + b, c)
355    }, e.prototype.off = function (a, b, c, d) {
356        a.removeEventListener ? a.removeEventListener(b, c, d) : a.detachEvent && a.detachEvent("on" + b, c)
357    }, e.prototype.trigger = function (b, c, d, f, g) {
358        var h = {item: {count: this._items.length, index: this.current()}},
359            i = a.camelCase(a.grep(["on", b, d], function (a) {
360                return a
361            }).join("-").toLowerCase()),
362            j = a.Event([b, "owl", d || "carousel"].join(".").toLowerCase(), a.extend({relatedTarget: this}, h, c));
363        return this._supress[b] || (a.each(this._plugins, function (a, b) {
364            b.onTrigger && b.onTrigger(j)
365        }), this.register({
366            type: e.Type.Event,
367            name: b
368        }), this.$element.trigger(j), this.settings && "function" == typeof this.settings[i] && this.settings[i].call(this, j)), j
369    }, e.prototype.enter = function (b) {
370        a.each([b].concat(this._states.tags[b] || []), a.proxy(function (a, b) {
371            this._states.current[b] === d && (this._states.current[b] = 0), this._states.current[b]++
372        }, this))
373    }, e.prototype.leave = function (b) {
374        a.each([b].concat(this._states.tags[b] || []), a.proxy(function (a, b) {
375            this._states.current[b]--
376        }, this))
377    }, e.prototype.register = function (b) {
378        if (b.type === e.Type.Event) {
379            if (a.event.special[b.name] || (a.event.special[b.name] = {}), !a.event.special[b.name].owl) {
380                var c = a.event.special[b.name]._default;
381                a.event.special[b.name]._default = function (a) {
382                    return !c || !c.apply || a.namespace && -1 !== a.namespace.indexOf("owl") ? a.namespace && a.namespace.indexOf("owl") > -1 : c.apply(this, arguments)
383                }, a.event.special[b.name].owl = !0
384            }
385        } else b.type === e.Type.State && (this._states.tags[b.name] ? this._states.tags[b.name] = this._states.tags[b.name].concat(b.tags) : this._states.tags[b.name] = b.tags, this._states.tags[b.name] = a.grep(this._states.tags[b.name], a.proxy(function (c, d) {
386            return a.inArray(c, this._states.tags[b.name]) === d
387        }, this)))
388    }, e.prototype.suppress = function (b) {
389        a.each(b, a.proxy(function (a, b) {
390            this._supress[b] = !0
391        }, this))
392    }, e.prototype.release = function (b) {
393        a.each(b, a.proxy(function (a, b) {
394            delete this._supress[b]
395        }, this))
396    }, e.prototype.pointer = function (a) {
397        var c = {x: null, y: null};
398        return a = a.originalEvent || a || b.event, a = a.touches && a.touches.length ? a.touches[0] : a.changedTouches && a.changedTouches.length ? a.changedTouches[0] : a, a.pageX ? (c.x = a.pageX, c.y = a.pageY) : (c.x = a.clientX, c.y = a.clientY), c
399    }, e.prototype.isNumeric = function (a) {
400        return !isNaN(parseFloat(a))
401    }, e.prototype.difference = function (a, b) {
402        return {x: a.x - b.x, y: a.y - b.y}
403    }, a.fn.owlCarousel = function (b) {
404        var c = Array.prototype.slice.call(arguments, 1);
405        return this.each(function () {
406            var d = a(this), f = d.data("owl.carousel");
407            f || (f = new e(this, "object" == typeof b && b), d.data("owl.carousel", f), a.each(["next", "prev", "to", "destroy", "refresh", "replace", "add", "remove"], function (b, c) {
408                f.register({
409                    type: e.Type.Event,
410                    name: c
411                }), f.$element.on(c + ".owl.carousel.core", a.proxy(function (a) {
412                    a.namespace && a.relatedTarget !== this && (this.suppress([c]), f[c].apply(this, [].slice.call(arguments, 1)), this.release([c]))
413                }, f))
414            })), "string" == typeof b && "_" !== b.charAt(0) && f[b].apply(f, c)
415        })
416    }, a.fn.owlCarousel.Constructor = e
417}(window.Zepto || window.jQuery, window, document), function (a, b, c, d) {
418    var e = function (b) {
419        this._core = b, this._interval = null, this._visible = null, this._handlers = {
420            "initialized.owl.carousel": a.proxy(function (a) {
421                a.namespace && this._core.settings.autoRefresh && this.watch()
422            }, this)
423        }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers)
424    };
425    e.Defaults = {autoRefresh: !0, autoRefreshInterval: 500}, e.prototype.watch = function () {
426        this._interval || (this._visible = this._core.isVisible(), this._interval = b.setInterval(a.proxy(this.refresh, this), this._core.settings.autoRefreshInterval))
427    }, e.prototype.refresh = function () {
428        this._core.isVisible() !== this._visible && (this._visible = !this._visible, this._core.$element.toggleClass("owl-hidden", !this._visible), this._visible && this._core.invalidate("width") && this._core.refresh())
429    }, e.prototype.destroy = function () {
430        var a, c;
431        b.clearInterval(this._interval);
432        for (a in this._handlers) this._core.$element.off(a, this._handlers[a]);
433        for (c in Object.getOwnPropertyNames(this)) "function" != typeof this[c] && (this[c] = null)
434    }, a.fn.owlCarousel.Constructor.Plugins.AutoRefresh = e
435}(window.Zepto || window.jQuery, window, document), function (a, b, c, d) {
436    var e = function (b) {
437        this._core = b, this._loaded = [], this._handlers = {
438            "initialized.owl.carousel change.owl.carousel resized.owl.carousel": a.proxy(function (b) {
439                if (b.namespace && this._core.settings && this._core.settings.lazyLoad && (b.property && "position" == b.property.name || "initialized" == b.type)) {
440                    var c = this._core.settings, e = c.center && Math.ceil(c.items / 2) || c.items,
441                        f = c.center && -1 * e || 0,
442                        g = (b.property && b.property.value !== d ? b.property.value : this._core.current()) + f,
443                        h = this._core.clones().length, i = a.proxy(function (a, b) {
444                            this.load(b)
445                        }, this);
446                    for (c.lazyLoadEager > 0 && (e += c.lazyLoadEager, c.loop && (g -= c.lazyLoadEager, e++)); f++ < e;) this.load(h / 2 + this._core.relative(g)), h && a.each(this._core.clones(this._core.relative(g)), i), g++
447                }
448            }, this)
449        }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers)
450    };
451    e.Defaults = {lazyLoad: !1, lazyLoadEager: 0}, e.prototype.load = function (c) {
452        var d = this._core.$stage.children().eq(c), e = d && d.find(".owl-lazy");
453        !e || a.inArray(d.get(0), this._loaded) > -1 || (e.each(a.proxy(function (c, d) {
454            var e, f = a(d),
455                g = b.devicePixelRatio > 1 && f.attr("data-src-retina") || f.attr("data-src") || f.attr("data-srcset");
456            this._core.trigger("load", {
457                element: f,
458                url: g
459            }, "lazy"), f.is("img") ? f.one("load.owl.lazy", a.proxy(function () {
460                f.css("opacity", 1), this._core.trigger("loaded", {element: f, url: g}, "lazy")
461            }, this)).attr("src", g) : f.is("source") ? f.one("load.owl.lazy", a.proxy(function () {
462                this._core.trigger("loaded", {element: f, url: g}, "lazy")
463            }, this)).attr("srcset", g) : (e = new Image, e.onload = a.proxy(function () {
464                f.css({"background-image": 'url("' + g + '")', opacity: "1"}), this._core.trigger("loaded", {
465                    element: f,
466                    url: g
467                }, "lazy")
468            }, this), e.src = g)
469        }, this)), this._loaded.push(d.get(0)))
470    }, e.prototype.destroy = function () {
471        var a, b;
472        for (a in this.handlers) this._core.$element.off(a, this.handlers[a]);
473        for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null)
474    }, a.fn.owlCarousel.Constructor.Plugins.Lazy = e
475}(window.Zepto || window.jQuery, window, document), function (a, b, c, d) {
476    var e = function (c) {
477        this._core = c, this._previousHeight = null, this._handlers = {
478            "initialized.owl.carousel refreshed.owl.carousel": a.proxy(function (a) {
479                a.namespace && this._core.settings.autoHeight && this.update()
480            }, this), "changed.owl.carousel": a.proxy(function (a) {
481                a.namespace && this._core.settings.autoHeight && "position" === a.property.name && this.update()
482            }, this), "loaded.owl.lazy": a.proxy(function (a) {
483                a.namespace && this._core.settings.autoHeight && a.element.closest("." + this._core.settings.itemClass).index() === this._core.current() && this.update()
484            }, this)
485        }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers), this._intervalId = null;
486        var d = this;
487        a(b).on("load", function () {
488            d._core.settings.autoHeight && d.update()
489        }), a(b).resize(function () {
490            d._core.settings.autoHeight && (null != d._intervalId && clearTimeout(d._intervalId), d._intervalId = setTimeout(function () {
491                d.update()
492            }, 250))
493        })
494    };
495    e.Defaults = {autoHeight: !1, autoHeightClass: "owl-height"}, e.prototype.update = function () {
496        var b = this._core._current, c = b + this._core.settings.items, d = this._core.settings.lazyLoad,
497            e = this._core.$stage.children().toArray().slice(b, c), f = [], g = 0;
498        a.each(e, function (b, c) {
499            f.push(a(c).height())
500        }), g = Math.max.apply(null, f), g <= 1 && d && this._previousHeight && (g = this._previousHeight), this._previousHeight = g, this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass)
501    }, e.prototype.destroy = function () {
502        var a, b;
503        for (a in this._handlers) this._core.$element.off(a, this._handlers[a]);
504        for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null)
505    }, a.fn.owlCarousel.Constructor.Plugins.AutoHeight = e
506}(window.Zepto || window.jQuery, window, document), function (a, b, c, d) {
507    var e = function (b) {
508        this._core = b, this._videos = {}, this._playing = null, this._handlers = {
509            "initialized.owl.carousel": a.proxy(function (a) {
510                a.namespace && this._core.register({type: "state", name: "playing", tags: ["interacting"]})
511            }, this), "resize.owl.carousel": a.proxy(function (a) {
512                a.namespace && this._core.settings.video && this.isInFullScreen() && a.preventDefault()
513            }, this), "refreshed.owl.carousel": a.proxy(function (a) {
514                a.namespace && this._core.is("resizing") && this._core.$stage.find(".cloned .owl-video-frame").remove()
515            }, this), "changed.owl.carousel": a.proxy(function (a) {
516                a.namespace && "position" === a.property.name && this._playing && this.stop()
517            }, this), "prepared.owl.carousel": a.proxy(function (b) {
518                if (b.namespace) {
519                    var c = a(b.content).find(".owl-video");
520                    c.length && (c.css("display", "none"), this.fetch(c, a(b.content)))
521                }
522            }, this)
523        }, this._core.options = a.extend({}, e.Defaults, this._core.options), this._core.$element.on(this._handlers), this._core.$element.on("click.owl.video", ".owl-video-play-icon", a.proxy(function (a) {
524            this.play(a)
525        }, this))
526    };
527    e.Defaults = {video: !1, videoHeight: !1, videoWidth: !1}, e.prototype.fetch = function (a, b) {
528        var c = function () {
529                return a.attr("data-vimeo-id") ? "vimeo" : a.attr("data-vzaar-id") ? "vzaar" : "youtube"
530            }(), d = a.attr("data-vimeo-id") || a.attr("data-youtube-id") || a.attr("data-vzaar-id"),
531            e = a.attr("data-width") || this._core.settings.videoWidth,
532            f = a.attr("data-height") || this._core.settings.videoHeight, g = a.attr("href");
533        if (!g) throw new Error("Missing video URL.");
534        if (d = g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/), d[3].indexOf("youtu") > -1) c = "youtube"; else if (d[3].indexOf("vimeo") > -1) c = "vimeo"; else {
535            if (!(d[3].indexOf("vzaar") > -1)) throw new Error("Video URL not supported.");
536            c = "vzaar"
537        }
538        d = d[6], this._videos[g] = {
539            type: c,
540            id: d,
541            width: e,
542            height: f
543        }, b.attr("data-video", g), this.thumbnail(a, this._videos[g])
544    }, e.prototype.thumbnail = function (b, c) {
545        var d, e, f, g = c.width && c.height ? "width:" + c.width + "px;height:" + c.height + "px;" : "",
546            h = b.find("img"), i = "src", j = "", k = this._core.settings, l = function (c) {
547                e = '<div class="owl-video-play-icon"></div>', d = k.lazyLoad ? a("<div/>", {
548                    class: "owl-video-tn " + j,
549                    srcType: c
550                }) : a("<div/>", {
551                    class: "owl-video-tn",
552                    style: "opacity:1;background-image:url(" + c + ")"
553                }), b.after(d), b.after(e)
554            };
555        if (b.wrap(a("<div/>", {
556            class: "owl-video-wrapper",
557            style: g
558        })), this._core.settings.lazyLoad && (i = "data-src", j = "owl-lazy"), h.length) return l(h.attr(i)), h.remove(), !1;
559        "youtube" === c.type ? (f = "//img.youtube.com/vi/" + c.id + "/hqdefault.jpg", l(f)) : "vimeo" === c.type ? a.ajax({
560            type: "GET",
561            url: "//vimeo.com/api/v2/video/" + c.id + ".json",
562            jsonp: "callback",
563            dataType: "jsonp",
564            success: function (a) {
565                f = a[0].thumbnail_large, l(f)
566            }
567        }) : "vzaar" === c.type && a.ajax({
568            type: "GET",
569            url: "//vzaar.com/api/videos/" + c.id + ".json",
570            jsonp: "callback",
571            dataType: "jsonp",
572            success: function (a) {
573                f = a.framegrab_url, l(f)
574            }
575        })
576    }, e.prototype.stop = function () {
577        this._core.trigger("stop", null, "video"), this._playing.find(".owl-video-frame").remove(), this._playing.removeClass("owl-video-playing"), this._playing = null, this._core.leave("playing"), this._core.trigger("stopped", null, "video")
578    }, e.prototype.play = function (b) {
579        var c, d = a(b.target), e = d.closest("." + this._core.settings.itemClass),
580            f = this._videos[e.attr("data-video")], g = f.width || "100%", h = f.height || this._core.$stage.height();
581        this._playing || (this._core.enter("playing"), this._core.trigger("play", null, "video"), e = this._core.items(this._core.relative(e.index())), this._core.reset(e.index()), c = a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'), c.attr("height", h), c.attr("width", g), "youtube" === f.type ? c.attr("src", "//www.youtube.com/embed/" + f.id + "?autoplay=1&rel=0&v=" + f.id) : "vimeo" === f.type ? c.attr("src", "//player.vimeo.com/video/" + f.id + "?autoplay=1") : "vzaar" === f.type && c.attr("src", "//view.vzaar.com/" + f.id + "/player?autoplay=true"), a(c).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")), this._playing = e.addClass("owl-video-playing"))
582    }, e.prototype.isInFullScreen = function () {
583        var b = c.fullscreenElement || c.mozFullScreenElement || c.webkitFullscreenElement;
584        return b && a(b).parent().hasClass("owl-video-frame")
585    }, e.prototype.destroy = function () {
586        var a, b;
587        this._core.$element.off("click.owl.video");
588        for (a in this._handlers) this._core.$element.off(a, this._handlers[a]);
589        for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null)
590    }, a.fn.owlCarousel.Constructor.Plugins.Video = e
591}(window.Zepto || window.jQuery, window, document), function (a, b, c, d) {
592    var e = function (b) {
593        this.core = b, this.core.options = a.extend({}, e.Defaults, this.core.options), this.swapping = !0, this.previous = d, this.next = d, this.handlers = {
594            "change.owl.carousel": a.proxy(function (a) {
595                a.namespace && "position" == a.property.name && (this.previous = this.core.current(), this.next = a.property.value)
596            }, this), "drag.owl.carousel dragged.owl.carousel translated.owl.carousel": a.proxy(function (a) {
597                a.namespace && (this.swapping = "translated" == a.type)
598            }, this), "translate.owl.carousel": a.proxy(function (a) {
599                a.namespace && this.swapping && (this.core.options.animateOut || this.core.options.animateIn) && this.swap()
600            }, this)
601        }, this.core.$element.on(this.handlers)
602    };
603    e.Defaults = {
604        animateOut: !1,
605        animateIn: !1
606    }, e.prototype.swap = function () {
607        if (1 === this.core.settings.items && a.support.animation && a.support.transition) {
608            this.core.speed(0);
609            var b, c = a.proxy(this.clear, this), d = this.core.$stage.children().eq(this.previous),
610                e = this.core.$stage.children().eq(this.next), f = this.core.settings.animateIn,
611                g = this.core.settings.animateOut;
612            this.core.current() !== this.previous && (g && (b = this.core.coordinates(this.previous) - this.core.coordinates(this.next), d.one(a.support.animation.end, c).css({right: b + "px"}).addClass("animated owl-animated-out").addClass(g)), f && e.one(a.support.animation.end, c).addClass("animated owl-animated-in").addClass(f))
613        }
614    }, e.prototype.clear = function (b) {
615        a(b.target).css({right: ""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut), this.core.onTransitionEnd()
616    }, e.prototype.destroy = function () {
617        var a, b;
618        for (a in this.handlers) this.core.$element.off(a, this.handlers[a]);
619        for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null)
620    }, a.fn.owlCarousel.Constructor.Plugins.Animate = e
621}(window.Zepto || window.jQuery, window, document), function (a, b, c, d) {
622    var e = function (b) {
623        this._core = b, this._call = null, this._time = 0, this._timeout = 0, this._paused = !0, this._handlers = {
624            "changed.owl.carousel": a.proxy(function (a) {
625                a.namespace && "settings" === a.property.name ? this._core.settings.autoplay ? this.play() : this.stop() : a.namespace && "position" === a.property.name && this._paused && (this._time = 0)
626            }, this), "initialized.owl.carousel": a.proxy(function (a) {
627                a.namespace && this._core.settings.autoplay && this.play()
628            }, this), "play.owl.autoplay": a.proxy(function (a, b, c) {
629                a.namespace && this.play(b, c)
630            }, this), "stop.owl.autoplay": a.proxy(function (a) {
631                a.namespace && this.stop()
632            }, this), "mouseover.owl.autoplay": a.proxy(function () {
633                this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause()
634            }, this), "mouseleave.owl.autoplay": a.proxy(function () {
635                this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.play()
636            }, this), "touchstart.owl.core": a.proxy(function () {
637                this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause()
638            }, this), "touchend.owl.core": a.proxy(function () {
639                this._core.settings.autoplayHoverPause && this.play()
640            }, this)
641        }, this._core.$element.on(this._handlers), this._core.options = a.extend({}, e.Defaults, this._core.options)
642    };
643    e.Defaults = {
644        autoplay: !1,
645        autoplayTimeout: 5e3,
646        autoplayHoverPause: !1,
647        autoplaySpeed: !1,
648        rtl: false,
649    }, e.prototype._next = function (d) {
650        this._call = b.setTimeout(a.proxy(this._next, this, d), this._timeout * (Math.round(this.read() / this._timeout) + 1) - this.read()), this._core.is("interacting") || c.hidden || this._core.next(d || this._core.settings.autoplaySpeed)
651    }, e.prototype.read = function () {
652        return (new Date).getTime() - this._time
653    }, e.prototype.play = function (c, d) {
654        var e;
655        this._core.is("rotating") || this._core.enter("rotating"), c = c || this._core.settings.autoplayTimeout, e = Math.min(this._time % (this._timeout || c), c), this._paused ? (this._time = this.read(), this._paused = !1) : b.clearTimeout(this._call), this._time += this.read() % c - e, this._timeout = c, this._call = b.setTimeout(a.proxy(this._next, this, d), c - e)
656    }, e.prototype.stop = function () {
657        this._core.is("rotating") && (this._time = 0, this._paused = !0, b.clearTimeout(this._call), this._core.leave("rotating"))
658    }, e.prototype.pause = function () {
659        this._core.is("rotating") && !this._paused && (this._time = this.read(), this._paused = !0, b.clearTimeout(this._call))
660    }, e.prototype.destroy = function () {
661        var a, b;
662        this.stop();
663        for (a in this._handlers) this._core.$element.off(a, this._handlers[a]);
664        for (b in Object.getOwnPropertyNames(this)) "function" != typeof this[b] && (this[b] = null)
665    }, a.fn.owlCarousel.Constructor.Plugins.autoplay = e
666}(window.Zepto || window.jQuery, window, document), function (a, b, c, d) {
667    "use strict";
668    var e = function (b) {
669        this._core = b, this._initialized = !1, this._pages = [], this._controls = {}, this._templates = [], this.$element = this._core.$element, this._overrides = {
670            next: this._core.next,
671            prev: this._core.prev,
672            to: this._core.to
673        }, this._handlers = {
674            "prepared.owl.carousel": a.proxy(function (b) {
675                b.namespace && this._core.settings.dotsData && this._templates.push('<div class="' + this._core.settings.dotClass + '">' + a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot") + "</div>")
676            }, this), "added.owl.carousel": a.proxy(function (a) {
677                a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 0, this._templates.pop())
678            }, this), "remove.owl.carousel": a.proxy(function (a) {
679                a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 1)
680            }, this), "changed.owl.carousel": a.proxy(function (a) {
681                a.namespace && "position" == a.property.name && this.draw()
682            }, this), "initialized.owl.carousel": a.proxy(function (a) {
683                a.namespace && !this._initialized && (this._core.trigger("initialize", null, "navigation"), this.initialize(), this.update(), this.draw(), this._initialized = !0, this._core.trigger("initialized", null, "navigation"))
684            }, this), "refreshed.owl.carousel": a.proxy(function (a) {
685                a.namespace && this._initialized && (this._core.trigger("refresh", null, "navigation"), this.update(), this.draw(), this._core.trigger("refreshed", null, "navigation"))
686            }, this)
687        }, this._core.options = a.extend({}, e.Defaults, this._core.options), this.$element.on(this._handlers)
688    };
689    e.Defaults = {
690        nav: !1,
691        navText: ['<span aria-label="Previous">&#x2039;</span>', '<span aria-label="Next">&#x203a;</span>'],
692        navSpeed: !1,
693        navElement: 'button type="button" role="presentation"',
694        navContainer: !1,
695        navContainerClass: "owl-nav",
696        navClass: ["owl-next", "owl-prev"],
697        slideBy: 1,
698        dotClass: "owl-dot",
699        dotsClass: "owl-dots",
700        dots: !0,
701        dotsEach: !1,
702        dotsData: !1,
703        dotsSpeed: !1,
704        dotsContainer: !1,
705        rtl: false
706    }, e.prototype.initialize = function () {
707        var b, c = this._core.settings;
708        this._controls.$relative = (c.navContainer ? a(c.navContainer) : a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"), this._controls.$previous = a("<" + c.navElement + ">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click", a.proxy(function (a) {
709            this.prev(c.navSpeed)
710        }, this)), this._controls.$next = a("<" + c.navElement + ">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click", a.proxy(function (a) {
711            this.next(c.navSpeed)
712        }, this)), c.dotsData || (this._templates = [a('<button role="button">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]), this._controls.$absolute = (c.dotsContainer ? a(c.dotsContainer) : a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"), this._controls.$absolute.on("click", "button", a.proxy(function (b) {
713            var d = a(b.target).parent().is(this._controls.$absolute) ? a(b.target).index() : a(b.target).parent().index();
714            b.preventDefault(), this.to(d, c.dotsSpeed)
715        }, this));
716        for (b in this._overrides) this._core[b] = a.proxy(this[b], this)
717    }, e.prototype.destroy = function () {
718        var a, b, c, d, e;
719        e = this._core.settings;
720        for (a in this._handlers) this.$element.off(a, this._handlers[a]);
721        for (b in this._controls) "$relative" === b && e.navContainer ? this._controls[b].html("") : this._controls[b].remove();
722        for (d in this.overides) this._core[d] = this._overrides[d];
723        for (c in Object.getOwnPropertyNames(this)) "function" != typeof this[c] && (this[c] = null)
724    }, e.prototype.update = function () {
725        var a, b, c, d = this._core.clones().length / 2, e = d + this._core.items().length, f = this._core.maximum(!0),
726            g = this._core.settings, h = g.center || g.autoWidth || g.dotsData ? 1 : g.dotsEach || g.items;
727        if ("page" !== g.slideBy && (g.slideBy = Math.min(g.slideBy, g.items)), g.dots || "page" == g.slideBy) for (this._pages = [], a = d, b = 0, c = 0; a < e; a++) {
728            if (b >= h || 0 === b) {
729                if (this._pages.push({start: Math.min(f, a - d), end: a - d + h - 1}), Math.min(f, a - d) === f) break;
730                b = 0, ++c
731            }
732            b += this._core.mergers(this._core.relative(a))
733        }
734    }, e.prototype.draw = function () {
735        var b, c = this._core.settings, d = this._core.items().length <= c.items,
736            e = this._core.relative(this._core.current()), f = c.loop || c.rewind;
737        this._controls.$relative.toggleClass("disabled", !c.nav || d), c.nav && (this._controls.$previous.toggleClass("disabled", !f && e <= this._core.minimum(!0)), this._controls.$next.toggleClass("disabled", !f && e >= this._core.maximum(!0))), this._controls.$absolute.toggleClass("disabled", !c.dots || d), c.dots && (b = this._pages.length - this._controls.$absolute.children().length, c.dotsData && 0 !== b ? this._controls.$absolute.html(this._templates.join("")) : b > 0 ? this._controls.$absolute.append(new Array(b + 1).join(this._templates[0])) : b < 0 && this._controls.$absolute.children().slice(b).remove(), this._controls.$absolute.find(".active").removeClass("active"), this._controls.$absolute.children().eq(a.inArray(this.current(), this._pages)).addClass("active"))
738    }, e.prototype.onTrigger = function (b) {
739        var c = this._core.settings;
740        b.page = {
741            index: a.inArray(this.current(), this._pages),
742            count: this._pages.length,
743            size: c && (c.center || c.autoWidth || c.dotsData ? 1 : c.dotsEach || c.items)
744        }
745    }, e.prototype.current = function () {
746        var b = this._core.relative(this._core.current());
747        return a.grep(this._pages, a.proxy(function (a, c) {
748            return a.start <= b && a.end >= b
749        }, this)).pop()
750    }, e.prototype.getPosition = function (b) {
751        var c, d, e = this._core.settings;
752        return "page" == e.slideBy ? (c = a.inArray(this.current(), this._pages), d = this._pages.length, b ? ++c : --c, c = this._pages[(c % d + d) % d].start) : (c = this._core.relative(this._core.current()), d = this._core.items().length, b ? c += e.slideBy : c -= e.slideBy), c
753    }, e.prototype.next = function (b) {
754        a.proxy(this._overrides.to, this._core)(this.getPosition(!0), b)
755    }, e.prototype.prev = function (b) {
756        a.proxy(this._overrides.to, this._core)(this.getPosition(!1), b)
757    }, e.prototype.to = function (b, c, d) {
758        var e;
759        !d && this._pages.length ? (e = this._pages.length, a.proxy(this._overrides.to, this._core)(this._pages[(b % e + e) % e].start, c)) : a.proxy(this._overrides.to, this._core)(b, c)
760    }, a.fn.owlCarousel.Constructor.Plugins.Navigation = e
761}(window.Zepto || window.jQuery, window, document), function (a, b, c, d) {
762    "use strict";
763    var e = function (c) {
764        this._core = c, this._hashes = {}, this.$element = this._core.$element, this._handlers = {
765            "initialized.owl.carousel": a.proxy(function (c) {
766                c.namespace && "URLHash" === this._core.settings.startPosition && a(b).trigger("hashchange.owl.navigation")
767            }, this), "prepared.owl.carousel": a.proxy(function (b) {
768                if (b.namespace) {
769                    var c = a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");
770                    if (!c) return;
771                    this._hashes[c] = b.content
772                }
773            }, this), "changed.owl.carousel": a.proxy(function (c) {
774                if (c.namespace && "position" === c.property.name) {
775                    var d = this._core.items(this._core.relative(this._core.current())),
776                        e = a.map(this._hashes, function (a, b) {
777                            return a === d ? b : null
778                        }).join();
779                    if (!e || b.location.hash.slice(1) === e) return;
780                    b.location.hash = e
781                }
782            }, this)
783        }, this._core.options = a.extend({}, e.Defaults, this._core.options), this.$element.on(this._handlers), a(b).on("hashchange.owl.navigation", a.proxy(function (a) {
784            var c = b.location.hash.substring(1), e = this._core.$stage.children(),
785                f = this._hashes[c] && e.index(this._hashes[c]);
786            f !== d && f !== this._core.current() && this._core.to(this._core.relative(f), !1, !0)
787        }, this))
788    };
789    e.Defaults = {URLhashListener: !1}, e.prototype.destroy = function () {
790        var c, d;
791        a(b).off("hashchange.owl.navigation");
792        for (c in this._handlers) this._core.$element.off(c, this._handlers[c]);
793        for (d in Object.getOwnPropertyNames(this)) "function" != typeof this[d] && (this[d] = null)
794    }, a.fn.owlCarousel.Constructor.Plugins.Hash = e
795}(window.Zepto || window.jQuery, window, document), function (a, b, c, d) {
796    function e(b, c) {
797        var e = !1, f = b.charAt(0).toUpperCase() + b.slice(1);
798        return a.each((b + " " + h.join(f + " ") + f).split(" "), function (a, b) {
799            if (g[b] !== d) return e = !c || b, !1
800        }), e
801    }
802
803    function f(a) {
804        return e(a, !0)
805    }
806
807    var g = a("<support>").get(0).style, h = "Webkit Moz O ms".split(" "), i = {
808        transition: {
809            end: {
810                WebkitTransition: "webkitTransitionEnd",
811                MozTransition: "transitionend",
812                OTransition: "oTransitionEnd",
813                transition: "transitionend"
814            }
815        },
816        animation: {
817            end: {
818                WebkitAnimation: "webkitAnimationEnd",
819                MozAnimation: "animationend",
820                OAnimation: "oAnimationEnd",
821                animation: "animationend"
822            }
823        }
824    }, j = {
825        csstransforms: function () {
826            return !!e("transform")
827        }, csstransforms3d: function () {
828            return !!e("perspective")
829        }, csstransitions: function () {
830            return !!e("transition")
831        }, cssanimations: function () {
832            return !!e("animation")
833        }
834    };
835    j.csstransitions() && (a.support.transition = new String(f("transition")), a.support.transition.end = i.transition.end[a.support.transition]), j.cssanimations() && (a.support.animation = new String(f("animation")), a.support.animation.end = i.animation.end[a.support.animation]), j.csstransforms() && (a.support.transform = new String(f("transform")), a.support.transform3d = j.csstransforms3d())
836}(window.Zepto || window.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.