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