');
this.wrapperouter = this.$elem.find(".owl-wrapper-outer");
this.$elem.css("display", "block")
},
baseclass: function () {
var a = this.$elem.hasclass(this.options.baseclass),
b = this.$elem.hasclass(this.options.theme);
a || this.$elem.addclass(this.options.baseclass);
b || this.$elem.addclass(this.options.theme)
},
updateitems: function () {
var a, b;
if (!1 === this.options.responsive) return !1;
if (!0 === this.options.singleitem) return this.options.items = this.orignalitems = 1, this.options.itemscustom = !1, this.options.itemsdesktop = !1, this.options.itemsdesktopsmall = !1, this.options.itemstablet = !1, this.options.itemstabletsmall = !1, this.options.itemsmobile = !1;
a = f(this.options.responsivebasewidth).width();
a > (this.options.itemsdesktop[0] || this.orignalitems) && (this.options.items = this.orignalitems);
if (!1 !== this.options.itemscustom)
for (this.options.itemscustom.sort(function (a, b) {
return a[0] - b[0]
}), b = 0; b < this.options.itemscustom.length; b += 1) this.options.itemscustom[b][0] <= a && (this.options.items = this.options.itemscustom[b][1]);
else a <= this.options.itemsdesktop[0] && !1 !== this.options.itemsdesktop && (this.options.items = this.options.itemsdesktop[1]),
a <= this.options.itemsdesktopsmall[0] && !1 !== this.options.itemsdesktopsmall && (this.options.items = this.options.itemsdesktopsmall[1]), a <= this.options.itemstablet[0] && !1 !== this.options.itemstablet && (this.options.items = this.options.itemstablet[1]), a <= this.options.itemstabletsmall[0] && !1 !== this.options.itemstabletsmall && (this.options.items = this.options.itemstabletsmall[1]), a <= this.options.itemsmobile[0] && !1 !== this.options.itemsmobile && (this.options.items = this.options.itemsmobile[1]);
this.options.items > this.itemsamount &&
!0 === this.options.itemsscaleup && (this.options.items = this.itemsamount)
},
response: function () {
var a = this,
b, e;
if (!0 !== a.options.responsive) return !1;
e = f(g).width();
a.resizer = function () {
f(g).width() !== e && (!1 !== a.options.autoplay && g.clearinterval(a.autoplayinterval), g.cleartimeout(b), b = g.settimeout(function () {
e = f(g).width();
a.updatevars()
}, a.options.responsiverefreshrate))
};
f(g).resize(a.resizer)
},
updateposition: function () {
this.jumpto(this.currentitem);
!1 !== this.options.autoplay && this.checkap()
},
appenditemssizes: function () {
var a =
this,
b = 0,
e = a.itemsamount - a.options.items;
a.$owlitems.each(function (c) {
var d = f(this);
d.css({
width: a.itemwidth
}).data("owl-item", number(c));
if (0 === c % a.options.items || c === e) c > e || (b += 1);
d.data("owl-roundpages", b)
})
},
appendwrappersizes: function () {
this.$owlwrapper.css({
width: this.$owlitems.length * this.itemwidth * 2,
left: 0
});
this.appenditemssizes()
},
calculateall: function () {
this.calculatewidth();
this.appendwrappersizes();
this.loops();
this.max()
},
calculatewidth: function () {
this.itemwidth = math.round(this.$elem.width() /
this.options.items)
},
max: function () {
var a = -1 * (this.itemsamount * this.itemwidth - this.options.items * this.itemwidth);
this.options.items > this.itemsamount ? this.maximumpixels = a = this.maximumitem = 0 : (this.maximumitem = this.itemsamount - this.options.items, this.maximumpixels = a);
return a
},
min: function () {
return 0
},
loops: function () {
var a = 0,
b = 0,
e, c;
this.positionsinarray = [0];
this.pagesinarray = [];
for (e = 0; e < this.itemsamount; e += 1) b += this.itemwidth, this.positionsinarray.push(-b), !0 === this.options.scrollperpage && (c = f(this.$owlitems[e]),
c = c.data("owl-roundpages"), c !== a && (this.pagesinarray[a] = this.positionsinarray[e], a = c))
},
buildcontrols: function () {
if (!0 === this.options.navigation || !0 === this.options.pagination) this.owlcontrols = f('
').toggleclass("clickable", !this.browser.istouch).appendto(this.$elem);
!0 === this.options.pagination && this.buildpagination();
!0 === this.options.navigation && this.buildbuttons()
},
buildbuttons: function () {
var a = this,
b = f('
');
a.owlcontrols.append(b);
a.buttonprev =
f("
", {
"class": "owl-prev",
html: a.options.navigationtext[0] || ""
});
a.buttonnext = f("
", {
"class": "owl-next",
html: a.options.navigationtext[1] || ""
});
b.append(a.buttonprev).append(a.buttonnext);
b.on("touchstart.owlcontrols mousedown.owlcontrols", 'div[class^="owl"]', function (a) {
a.preventdefault()
});
b.on("touchend.owlcontrols mouseup.owlcontrols", 'div[class^="owl"]', function (b) {
b.preventdefault();
f(this).hasclass("owl-next") ? a.next() : a.prev()
})
},
buildpagination: function () {
var a = this;
a.paginationwrapper =
f('');
a.owlcontrols.append(a.paginationwrapper);
a.paginationwrapper.on("touchend.owlcontrols mouseup.owlcontrols", ".owl-page", function (b) {
b.preventdefault();
number(f(this).data("owl-page")) !== a.currentitem && a.goto(number(f(this).data("owl-page")), !0)
})
},
updatepagination: function () {
var a, b, e, c, d, g;
if (!1 === this.options.pagination) return !1;
this.paginationwrapper.html("");
a = 0;
b = this.itemsamount - this.itemsamount % this.options.items;
for (c = 0; c < this.itemsamount; c += 1) 0 === c % this.options.items &&
(a += 1, b === c && (e = this.itemsamount - this.options.items), d = f("
", {
"class": "owl-page"
}), g = f("
", {
text: !0 === this.options.paginationnumbers ? a : "",
"class": !0 === this.options.paginationnumbers ? "owl-numbers" : ""
}), d.append(g), d.data("owl-page", b === c ? e : c), d.data("owl-roundpages", a), this.paginationwrapper.append(d));
this.checkpagination()
},
checkpagination: function () {
var a = this;
if (!1 === a.options.pagination) return !1;
a.paginationwrapper.find(".owl-page").each(function () {
f(this).data("owl-roundpages") ===
f(a.$owlitems[a.currentitem]).data("owl-roundpages") && (a.paginationwrapper.find(".owl-page").removeclass("active"), f(this).addclass("active"))
})
},
checknavigation: function () {
if (!1 === this.options.navigation) return !1;
!1 === this.options.rewindnav && (0 === this.currentitem && 0 === this.maximumitem ? (this.buttonprev.addclass("disabled"), this.buttonnext.addclass("disabled")) : 0 === this.currentitem && 0 !== this.maximumitem ? (this.buttonprev.addclass("disabled"), this.buttonnext.removeclass("disabled")) : this.currentitem ===
this.maximumitem ? (this.buttonprev.removeclass("disabled"), this.buttonnext.addclass("disabled")) : 0 !== this.currentitem && this.currentitem !== this.maximumitem && (this.buttonprev.removeclass("disabled"), this.buttonnext.removeclass("disabled")))
},
updatecontrols: function () {
this.updatepagination();
this.checknavigation();
this.owlcontrols && (this.options.items >= this.itemsamount ? this.owlcontrols.hide() : this.owlcontrols.show())
},
destroycontrols: function () {
this.owlcontrols && this.owlcontrols.remove()
},
next: function (a) {
if (this.istransition) return !1;
this.currentitem += !0 === this.options.scrollperpage ? this.options.items : 1;
if (this.currentitem > this.maximumitem + (!0 === this.options.scrollperpage ? this.options.items - 1 : 0))
if (!0 === this.options.rewindnav) this.currentitem = 0, a = "rewind";
else return this.currentitem = this.maximumitem, !1;
this.goto(this.currentitem, a)
},
prev: function (a) {
if (this.istransition) return !1;
this.currentitem = !0 === this.options.scrollperpage && 0 < this.currentitem && this.currentitem < this.options.items ? 0 : this.currentitem - (!0 === this.options.scrollperpage ?
this.options.items : 1);
if (0 > this.currentitem)
if (!0 === this.options.rewindnav) this.currentitem = this.maximumitem, a = "rewind";
else return this.currentitem = 0, !1;
this.goto(this.currentitem, a)
},
goto: function (a, b, e) {
var c = this;
if (c.istransition) return !1;
"function" === typeof c.options.beforemove && c.options.beforemove.apply(this, [c.$elem]);
a >= c.maximumitem ? a = c.maximumitem : 0 >= a && (a = 0);
c.currentitem = c.owl.currentitem = a;
if (!1 !== c.options.transitionstyle && "drag" !== e && 1 === c.options.items && !0 === c.browser.support3d) return c.swapspeed(0), !0 === c.browser.support3d ? c.transition3d(c.positionsinarray[a]) : c.css2slide(c.positionsinarray[a], 1), c.aftergo(), c.singleitemtransition(), !1;
a = c.positionsinarray[a];
!0 === c.browser.support3d ? (c.iscss3finish = !1, !0 === b ? (c.swapspeed("paginationspeed"), g.settimeout(function () {
c.iscss3finish = !0
}, c.options.paginationspeed)) : "rewind" === b ? (c.swapspeed(c.options.rewindspeed), g.settimeout(function () {
c.iscss3finish = !0
}, c.options.rewindspeed)) : (c.swapspeed("slidespeed"), g.settimeout(function () {
c.iscss3finish = !0
},
c.options.slidespeed)), c.transition3d(a)) : !0 === b ? c.css2slide(a, c.options.paginationspeed) : "rewind" === b ? c.css2slide(a, c.options.rewindspeed) : c.css2slide(a, c.options.slidespeed);
c.aftergo()
},
jumpto: function (a) {
"function" === typeof this.options.beforemove && this.options.beforemove.apply(this, [this.$elem]);
a >= this.maximumitem || -1 === a ? a = this.maximumitem : 0 >= a && (a = 0);
this.swapspeed(0);
!0 === this.browser.support3d ? this.transition3d(this.positionsinarray[a]) : this.css2slide(this.positionsinarray[a], 1);
this.currentitem =
this.owl.currentitem = a;
this.aftergo()
},
aftergo: function () {
this.prevarr.push(this.currentitem);
this.previtem = this.owl.previtem = this.prevarr[this.prevarr.length - 2];
this.prevarr.shift(0);
this.previtem !== this.currentitem && (this.checkpagination(), this.checknavigation(), this.eachmoveupdate(), !1 !== this.options.autoplay && this.checkap());
"function" === typeof this.options.aftermove && this.previtem !== this.currentitem && this.options.aftermove.apply(this, [this.$elem])
},
stop: function () {
this.apstatus = "stop";
g.clearinterval(this.autoplayinterval)
},
checkap: function () {
"stop" !== this.apstatus && this.play()
},
play: function () {
var a = this;
a.apstatus = "play";
if (!1 === a.options.autoplay) return !1;
g.clearinterval(a.autoplayinterval);
a.autoplayinterval = g.setinterval(function () {
a.next(!0)
}, a.options.autoplay)
},
swapspeed: function (a) {
"slidespeed" === a ? this.$owlwrapper.css(this.addcssspeed(this.options.slidespeed)) : "paginationspeed" === a ? this.$owlwrapper.css(this.addcssspeed(this.options.paginationspeed)) : "string" !== typeof a && this.$owlwrapper.css(this.addcssspeed(a))
},
addcssspeed: function (a) {
return {
"-webkit-transition": "all " + a + "ms ease",
"-moz-transition": "all " + a + "ms ease",
"-o-transition": "all " + a + "ms ease",
transition: "all " + a + "ms ease"
}
},
removetransition: function () {
return {
"-webkit-transition": "",
"-moz-transition": "",
"-o-transition": "",
transition: ""
}
},
dotranslate: function (a) {
return {
"-webkit-transform": "translate3d(" + a + "px, 0px, 0px)",
"-moz-transform": "translate3d(" + a + "px, 0px, 0px)",
"-o-transform": "translate3d(" + a + "px, 0px, 0px)",
"-ms-transform": "translate3d(" +
a + "px, 0px, 0px)",
transform: "translate3d(" + a + "px, 0px,0px)"
}
},
transition3d: function (a) {
this.$owlwrapper.css(this.dotranslate(a))
},
css2move: function (a) {
this.$owlwrapper.css({
left: a
})
},
css2slide: function (a, b) {
var e = this;
e.iscssfinish = !1;
e.$owlwrapper.stop(!0, !0).animate({
left: a
}, {
duration: b || e.options.slidespeed,
complete: function () {
e.iscssfinish = !0
}
})
},
checkbrowser: function () {
var a = k.createelement("div");
a.style.csstext = " -moz-transform:translate3d(0px, 0px, 0px); -ms-transform:translate3d(0px, 0px, 0px); -o-transform:translate3d(0px, 0px, 0px); -webkit-transform:translate3d(0px, 0px, 0px); transform:translate3d(0px, 0px, 0px)";
a = a.style.csstext.match(/translate3d\(0px, 0px, 0px\)/g);
this.browser = {
support3d: null !== a && 1 === a.length,
istouch: "ontouchstart" in g || g.navigator.msmaxtouchpoints
}
},
moveevents: function () {
if (!1 !== this.options.mousedrag || !1 !== this.options.touchdrag) this.gestures(), this.disabledevents()
},
eventtypes: function () {
var a = ["s", "e", "x"];
this.ev_types = {};
!0 === this.options.mousedrag && !0 === this.options.touchdrag ? a = ["touchstart.owl mousedown.owl", "touchmove.owl mousemove.owl", "touchend.owl touchcancel.owl mouseup.owl"] :
!1 === this.options.mousedrag && !0 === this.options.touchdrag ? a = ["touchstart.owl", "touchmove.owl", "touchend.owl touchcancel.owl"] : !0 === this.options.mousedrag && !1 === this.options.touchdrag && (a = ["mousedown.owl", "mousemove.owl", "mouseup.owl"]);
this.ev_types.start = a[0];
this.ev_types.move = a[1];
this.ev_types.end = a[2]
},
disabledevents: function () {
this.$elem.on("dragstart.owl", function (a) {
a.preventdefault()
});
this.$elem.on("mousedown.disabletextselect", function (a) {
return f(a.target).is("input, textarea, select, option")
})
},
gestures: function () {
function a(a) {
if (void 0 !== a.touches) return {
x: a.touches[0].pagex,
y: a.touches[0].pagey
};
if (void 0 === a.touches) {
if (void 0 !== a.pagex) return {
x: a.pagex,
y: a.pagey
};
if (void 0 === a.pagex) return {
x: a.clientx,
y: a.clienty
}
}
}
function b(a) {
"on" === a ? (f(k).on(d.ev_types.move, e), f(k).on(d.ev_types.end, c)) : "off" === a && (f(k).off(d.ev_types.move), f(k).off(d.ev_types.end))
}
function e(b) {
b = b.originalevent || b || g.event;
d.newposx = a(b).x - h.offsetx;
d.newposy = a(b).y - h.offsety;
d.newrelativex = d.newposx - h.relativepos;
"function" === typeof d.options.startdragging && !0 !== h.dragging && 0 !== d.newrelativex && (h.dragging = !0, d.options.startdragging.apply(d, [d.$elem]));
(8 < d.newrelativex || -8 > d.newrelativex) && !0 === d.browser.istouch && (void 0 !== b.preventdefault ? b.preventdefault() : b.returnvalue = !1, h.sliding = !0);
(10 < d.newposy || -10 > d.newposy) && !1 === h.sliding && f(k).off("touchmove.owl");
d.newposx = math.max(math.min(d.newposx, d.newrelativex / 5), d.maximumpixels + d.newrelativex / 5);
!0 === d.browser.support3d ? d.transition3d(d.newposx) : d.css2move(d.newposx)
}
function c(a) {
a = a.originalevent || a || g.event;
var c;
a.target = a.target || a.srcelement;
h.dragging = !1;
!0 !== d.browser.istouch && d.$owlwrapper.removeclass("grabbing");
d.dragdirection = 0 > d.newrelativex ? d.owl.dragdirection = "left" : d.owl.dragdirection = "right";
0 !== d.newrelativex && (c = d.getnewposition(), d.goto(c, !1, "drag"), h.targetelement === a.target && !0 !== d.browser.istouch && (f(a.target).on("click.disable", function (a) {
a.stopimmediatepropagation();
a.stoppropagation();
a.preventdefault();
f(a.target).off("click.disable")
}),
a = f._data(a.target, "events").click, c = a.pop(), a.splice(0, 0, c)));
b("off")
}
var d = this,
h = {
offsetx: 0,
offsety: 0,
baseelwidth: 0,
relativepos: 0,
position: null,
minswipe: null,
maxswipe: null,
sliding: null,
dargging: null,
targetelement: null
};
d.iscssfinish = !0;
d.$elem.on(d.ev_types.start, ".owl-wrapper", function (c) {
c = c.originalevent || c || g.event;
var e;
if (3 === c.which) return !1;
if (!(d.itemsamount <= d.options.items)) {
if (!1 === d.iscssfinish && !d.options.dragbeforeanimfinish || !1 === d.iscss3finish && !d.options.dragbeforeanimfinish) return !1;
!1 !== d.options.autoplay && g.clearinterval(d.autoplayinterval);
!0 === d.browser.istouch || d.$owlwrapper.hasclass("grabbing") || d.$owlwrapper.addclass("grabbing");
d.newposx = 0;
d.newrelativex = 0;
f(this).css(d.removetransition());
e = f(this).position();
h.relativepos = e.left;
h.offsetx = a(c).x - e.left;
h.offsety = a(c).y - e.top;
b("on");
h.sliding = !1;
h.targetelement = c.target || c.srcelement
}
})
},
getnewposition: function () {
var a = this.closestitem();
a > this.maximumitem ? a = this.currentitem = this.maximumitem : 0 <= this.newposx && (this.currentitem =
a = 0);
return a
},
closestitem: function () {
var a = this,
b = !0 === a.options.scrollperpage ? a.pagesinarray : a.positionsinarray,
e = a.newposx,
c = null;
f.each(b, function (d, g) {
e - a.itemwidth / 20 > b[d + 1] && e - a.itemwidth / 20 < g && "left" === a.movedirection() ? (c = g, a.currentitem = !0 === a.options.scrollperpage ? f.inarray(c, a.positionsinarray) : d) : e + a.itemwidth / 20 < g && e + a.itemwidth / 20 > (b[d + 1] || b[d] - a.itemwidth) && "right" === a.movedirection() && (!0 === a.options.scrollperpage ? (c = b[d + 1] || b[b.length - 1], a.currentitem = f.inarray(c, a.positionsinarray)) :
(c = b[d + 1], a.currentitem = d + 1))
});
return a.currentitem
},
movedirection: function () {
var a;
0 > this.newrelativex ? (a = "right", this.playdirection = "next") : (a = "left", this.playdirection = "prev");
return a
},
customevents: function () {
var a = this;
a.$elem.on("owl.next", function () {
a.next()
});
a.$elem.on("owl.prev", function () {
a.prev()
});
a.$elem.on("owl.play", function (b, e) {
a.options.autoplay = e;
a.play();
a.hoverstatus = "play"
});
a.$elem.on("owl.stop", function () {
a.stop();
a.hoverstatus = "stop"
});
a.$elem.on("owl.goto", function (b, e) {
a.goto(e)
});
a.$elem.on("owl.jumpto", function (b, e) {
a.jumpto(e)
})
},
stoponhover: function () {
var a = this;
!0 === a.options.stoponhover && !0 !== a.browser.istouch && !1 !== a.options.autoplay && (a.$elem.on("mouseover", function () {
a.stop()
}), a.$elem.on("mouseout", function () {
"stop" !== a.hoverstatus && a.play()
}))
},
lazyload: function () {
var a, b, e, c, d;
if (!1 === this.options.lazyload) return !1;
for (a = 0; a < this.itemsamount; a += 1) b = f(this.$owlitems[a]), "loaded" !== b.data("owl-loaded") && (e = b.data("owl-item"), c = b.find(".lazyowl"), "string" !== typeof c.data("src") ?
b.data("owl-loaded", "loaded") : (void 0 === b.data("owl-loaded") && (c.hide(), b.addclass("loading").data("owl-loaded", "checked")), (d = !0 === this.options.lazyfollow ? e >= this.currentitem : !0) && e < this.currentitem + this.options.items && c.length && this.lazypreload(b, c)))
},
lazypreload: function (a, b) {
function e() {
a.data("owl-loaded", "loaded").removeclass("loading");
b.removeattr("data-src");
"fade" === d.options.lazyeffect ? b.fadein(400) : b.show();
"function" === typeof d.options.afterlazyload && d.options.afterlazyload.apply(this, [d.$elem])
}
function c() {
f += 1;
d.completeimg(b.get(0)) || !0 === k ? e() : 100 >= f ? g.settimeout(c, 100) : e()
}
var d = this,
f = 0,
k;
"div" === b.prop("tagname") ? (b.css("background-image", "url(" + b.data("src") + ")"), k = !0) : b[0].src = b.data("src");
c()
},
autoheight: function () {
function a() {
var a = f(e.$owlitems[e.currentitem]).height();
e.wrapperouter.css("height", a + "px");
e.wrapperouter.hasclass("autoheight") || g.settimeout(function () {
e.wrapperouter.addclass("autoheight")
}, 0)
}
function b() {
d += 1;
e.completeimg(c.get(0)) ? a() : 100 >= d ? g.settimeout(b,
100) : e.wrapperouter.css("height", "")
}
var e = this,
c = f(e.$owlitems[e.currentitem]).find("img"),
d;
void 0 !== c.get(0) ? (d = 0, b()) : a()
},
completeimg: function (a) {
return !a.complete || "undefined" !== typeof a.naturalwidth && 0 === a.naturalwidth ? !1 : !0
},
onvisibleitems: function () {
var a;
!0 === this.options.addclassactive && this.$owlitems.removeclass("active");
this.visibleitems = [];
for (a = this.currentitem; a < this.currentitem + this.options.items; a += 1) this.visibleitems.push(a), !0 === this.options.addclassactive && f(this.$owlitems[a]).addclass("active");
this.owl.visibleitems = this.visibleitems
},
transitiontypes: function (a) {
this.outclass = "owl-" + a + "-out";
this.inclass = "owl-" + a + "-in"
},
singleitemtransition: function () {
var a = this,
b = a.outclass,
e = a.inclass,
c = a.$owlitems.eq(a.currentitem),
d = a.$owlitems.eq(a.previtem),
f = math.abs(a.positionsinarray[a.currentitem]) + a.positionsinarray[a.previtem],
g = math.abs(a.positionsinarray[a.currentitem]) + a.itemwidth / 2;
a.istransition = !0;
a.$owlwrapper.addclass("owl-origin").css({
"-webkit-transform-origin": g + "px",
"-moz-perspective-origin": g +
"px",
"perspective-origin": g + "px"
});
d.css({
position: "relative",
left: f + "px"
}).addclass(b).on("webkitanimationend oanimationend msanimationend animationend", function () {
a.endprev = !0;
d.off("webkitanimationend oanimationend msanimationend animationend");
a.cleartransstyle(d, b)
});
c.addclass(e).on("webkitanimationend oanimationend msanimationend animationend", function () {
a.endcurrent = !0;
c.off("webkitanimationend oanimationend msanimationend animationend");
a.cleartransstyle(c, e)
})
},
cleartransstyle: function (a,
b) {
a.css({
position: "",
left: ""
}).removeclass(b);
this.endprev && this.endcurrent && (this.$owlwrapper.removeclass("owl-origin"), this.istransition = this.endcurrent = this.endprev = !1)
},
owlstatus: function () {
this.owl = {
useroptions: this.useroptions,
baseelement: this.$elem,
useritems: this.$useritems,
owlitems: this.$owlitems,
currentitem: this.currentitem,
previtem: this.previtem,
visibleitems: this.visibleitems,
istouch: this.browser.istouch,
browser: this.browser,
dragdirection: this.dragdirection
}
},
clearevents: function () {
this.$elem.off(".owl owl mousedown.disabletextselect");
f(k).off(".owl owl");
f(g).off("resize", this.resizer)
},
unwrap: function () {
0 !== this.$elem.children().length && (this.$owlwrapper.unwrap(), this.$useritems.unwrap().unwrap(), this.owlcontrols && this.owlcontrols.remove());
this.clearevents();
this.$elem.attr("style", this.$elem.data("owl-originalstyles") || "").attr("class", this.$elem.data("owl-originalclasses"))
},
destroy: function () {
this.stop();
g.clearinterval(this.checkvisible);
this.unwrap();
this.$elem.removedata()
},
reinit: function (a) {
a = f.extend({}, this.useroptions,
a);
this.unwrap();
this.init(a, this.$elem)
},
additem: function (a, b) {
var e;
if (!a) return !1;
if (0 === this.$elem.children().length) return this.$elem.append(a), this.setvars(), !1;
this.unwrap();
e = void 0 === b || -1 === b ? -1 : b;
e >= this.$useritems.length || -1 === e ? this.$useritems.eq(-1).after(a) : this.$useritems.eq(e).before(a);
this.setvars()
},
removeitem: function (a) {
if (0 === this.$elem.children().length) return !1;
a = void 0 === a || -1 === a ? -1 : a;
this.unwrap();
this.$useritems.eq(a).remove();
this.setvars()
}
};
f.fn.owlcarousel = function (a) {
return this.each(function () {
if (!0 ===
f(this).data("owl-init")) return !1;
f(this).data("owl-init", !0);
var b = object.create(l);
b.init(a, this);
f.data(this, "owlcarousel", b)
})
};
f.fn.owlcarousel.options = {
items: 5,
itemscustom: !1,
itemsdesktop: [1199, 4],
itemsdesktopsmall: [979, 3],
itemstablet: [768, 2],
itemstabletsmall: !1,
itemsmobile: [479, 2],
singleitem: !1,
itemsscaleup: !1,
slidespeed: 200,
paginationspeed: 800,
rewindspeed: 1e3,
autoplay: !1,
stoponhover: !1,
navigation: !0,
navigationtext: ["", ""],
rewindnav: !0,
scrollperpage: !1,
pagination: !0,
paginationnumbers: !1,
responsive: !0,
responsiverefreshrate: 200,
responsivebasewidth: g,
baseclass: "owl-carousel",
theme: "owl-theme",
lazyload: !1,
lazyfollow: !0,
lazyeffect: "fade",
autoheight: !1,
jsonpath: !1,
jsonsuccess: !1,
dragbeforeanimfinish: !0,
mousedrag: !0,
touchdrag: !0,
addclassactive: !1,
transitionstyle: !1,
beforeupdate: !1,
afterupdate: !1,
beforeinit: !1,
afterinit: !1,
beforemove: !1,
aftermove: !1,
afteraction: !1,
startdragging: !1,
afterlazyload: !1
}
})(jquery, window, document);