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