// ----------------------------------------------------------------------------------- // http://wowslider.com/ // javascript wow slider is a free software that helps you easily generate delicious // slideshows with gorgeous transition effects, in a few clicks without writing a single line of code. // generated by wow slider 6.1 // //*********************************************** // obfuscated by javascript obfuscator // http://javascript-source.com //*********************************************** jquery.fn.wowslider = function(t) { function e(t) { return v.css({ left: -t + "00%" }) } function n(t) { return ((t || 0) + r) % r } function i(t, e) { ue.pause(t.curindex, e) } function a(t, e) { ue.play(t, 0, e) } function o(t, e, i) { ae || (isnan(t) && (t = y(ee, r)), t = n(t), ee != t && (d ? d.load(t, function() { r(t, e, i) }) : r(t, e, i))) } function s(t) { for (var e = "", n = 0; n < t.length; n++) e += string.fromcharcode(t.charcodeat(n) ^ 1 + (t.length - n) % 32); return e } function r(n, i, a) { if (!ae) { if (i || a) e(n); else { if (ae) return; oe = !1, function(e, n) { se = se >= k.length - 1 ? 0 : se + 1; var i = k[se] || new window.ws_blinds(t, g, n); z(i).trigger("effectstart", { curindex: e, nextindex: n, cont: z(".ws_effect", q), start: function() { ie = !!((n - e + 1) % g.length) ^ t.revers ? 0 : 1, i.go(n, e, ie) } }) } (ee, n), q.trigger(z.event("go", { index: n })) } ee = n, ee != t.stopon || --t.loop || (t.autoplay = 0), t.onstep && t.onstep(n) } } function l() { q.find(".ws_effect").fadeout(200), e(ee).fadein(200).find("img").css({ visibility: "visible" }) } function u(t, e, n, i, a, o) { new c(t, e, n, i, a, o) } function c(e, n, i, a, o, s) { var r, l, u, c, d = 0, f = 0, p = 0; e[0] || (e = z(e)), e.on((n ? "mousedown ": "") + "touchstart", function(e) { var n = e.originalevent.touches ? e.originalevent.touches[0] : e; t.gestures && q.addclass("ws_grabbing"), d = 0, n ? (r = n.pagex, l = n.pagey, f = p = 1, a && (f = p = a(e))) : f = p = 0, e.originalevent.touches || (e.preventdefault(), e.stoppropagation()) }), z(window).on((n ? "mousemove ": "") + "touchmove", e, function(t) { if (f) { var e = t.originalevent.touches ? t.originalevent.touches[0] : t; d = 1, u = e.pagex - r, c = e.pagey - l, i && i(t, u, c), t.preventdefault(), t.stoppropagation() } }), z(window).on((n ? "mouseup ": "") + "touchend", e, function(e) { t.gestures && q.removeclass("ws_grabbing"), f && (d && o && o(e, u, c), !d && s && s(e), d && (e.preventdefault(), e.stoppropagation()), d = 0, f = 0) }), e.on("click", function(t) { p && (t.preventdefault(), t.stoppropagation()), p = 0 }) } function d(t) { var e = t.css("transform"), n = { top: 0, left: 0 }; return e && (e = e.match(/(-?[0-9\.]+)/g), e ? "3d" == e[1] ? (n.left = parsefloat(e[2]) || 0, n.top = parsefloat(e[3]) || 0) : (n.left = parsefloat(e[4]) || 0, n.top = parsefloat(e[5]) || 0) : (n.left = 0, n.top = 0)), n } function f(e, n) { if (we.length && x(e), ye.length && b(e), t.caption && c(e, n), u) { var i = z("a", j.get(e)).get(0); i ? (u.setattribute("href", i.href), u.setattribute("target", i.target), u.style.display = "block") : u.style.display = "none" } t.responsive && o() } function p() { be && (be = 0, settimeout(function() { q.trigger(z.event("stop", {})) }, t.duration)) } function h() { ! be && t.autoplay && (be = 1, q.trigger(z.event("start", {}))) } function m() { g(), p() } function v() { g(), t.autoplay ? (ge = settimeout(function() { xe || o() }, t.delay), h()) : p() } function g() { ge && cleartimeout(ge), ge = null } function w(t, e, n, i) { g(), t.preventdefault(), o(e, n, i), v(), qe && ze && ze.play() } function y() { function e(t) { 0 > t && (t = 0), d && d.loadttip(t), z(f.get(v)).removeclass("ws_overbull"), z(f.get(t)).addclass("ws_overbull"), h.show(); var e = { left: f.get(t).offsetleft - h.width() / 2, "margin-top": f.get(t).offsettop - f.get(0).offsettop + "px", "margin-bottom": -f.get(t).offsettop + f.get(f.length - 1).offsettop + "px" }, n = p.get(t), i = { left: -n.offsetleft + (z(n).outerwidth(!0) - z(n).outerwidth()) / 2 }; 0 > v ? (h.css(e), m.css(i)) : (document.all || (e.opacity = 1), h.stop().animate(e, "fast"), m.stop().animate(i, "fast")), v = t } if (q.find(".ws_bullets a,.ws_thumbs a").click(function(t) { w(t, z(this).index()) }), ye.length) { ye.hover(function() { te = 1 }, function() { te = 0 }); var n = ye.find(">div"); ye.css({ overflow: "hidden" }); var i, a, o, s = q.find(".ws_thumbs"); s.bind("mousemove mouseover", function(e) { if (!o) { cleartimeout(a); for (var s = .2, r = 0; 2 > r; r++) { var l = ye[r ? "width": "height"](), u = n[r ? "width": "height"](), c = l - u; if (0 > c) { var f, p, h = (e[r ? "pagex": "pagey"] - ye.offset()[r ? "left": "top"]) / l; if (i == h) return; i = h; var m = t.support.transform && t.support.transition ? d(n)[r ? "left": "top"] : n.position()[r ? "left": "top"]; if (n.css({ transition: "0ms linear", transform: "translate3d(" + m.left + "px," + m.top + "px,0)" }), n.stop(!0), ee > 0) { if (h > s && 1 - s > h) return; f = .5 > h ? 0 : c - 1, p = ee * math.abs(m - f) / (math.abs(h - .5) - s) } else f = c * math.min(math.max((h - s) / (1 - 2 * s), 0), 1), p = -ee * u / 2; t.support.transform && t.support.transition ? n.css({ transition: p + "ms " + (ee > 0 ? "linear": "ease"), transform: "translate3d(" + (r ? f: 0) + "px," + (r ? 0 : f) + "px,0)" }) : n.animate(r ? { left: f }: { top: f }, p, ee > 0 ? "linear": "easeoutcubic") } else t.support.transform && t.support.transition || n.css(r ? "left": "top", r ? c / 2 : 0) } } }), s.mouseout(function() { a = settimeout(function() { if (n.stop(), t.support.transform && t.support.transition) { var e = d(n); n.css({ transition: "0ms linear", transform: "translate3d(" + e.left + "px," + e.top + "px,0)" }) } }, 100) }), ye.trigger("mousemove"); var r, l; t.gestures && u(q, 1, function(e, i, a) { var o = math.min(math.max(r + i, ye.width() - n.width()), 0), s = math.min(math.max(l + a, ye.height() - n.height()), 0); t.support.transform && t.support.transition ? n.css({ transition: "0ms linear", transform: "translate3d(" + o + "px, " + s + "px,0)" }) : (n.css("left", o), n.css("top", s)) }, function(e) { if (!z(e.target).parents(".ws_thumbs").get(0)) return ! 1; if (o = 1, t.support.transform && t.support.transition) { var i = d(n); r = i.left, l = i.top } else r = parsefloat(n.css("left")) || 0, l = parsefloat(n.css("top")) || 0; return ! 0 }, function() { o = 0 }, function() { o = 0 }), q.find(".ws_thumbs a").each(function(t, e) { u(e, 0, 0, function(t) { return !! z(t.target).parents(".ws_thumbs").get(0) }, function() { o = 1 }, function(t) { w(t, z(e).index()) }) }) } if (we.length) { var c = we.find(">div"), f = z("a", we), p = f.find("img"); if (p.length) { var h = z('
').appendto(c), m = z("
").css({ width: p.length + 1 + "00%" }).appendto(z("
").appendto(h)); p.appendto(m), z("").appendto(h); var v = -1; f.hover(function() { e(z(this).index()) }); var g; c.hover(function() { g && (cleartimeout(g), g = 0), e(v) }, function() { f.removeclass("ws_overbull"), document.all ? g || (g = settimeout(function() { h.hide(), g = 0 }, 400)) : h.stop().animate({ opacity: 0 }, { duration: "fast", complete: function() { h.hide() } }) }), c.click(function(t) { w(t, z(t.target).index()) }) } } } function b(e) { z("a", ye).each(function(n) { if (n == e) { var i = z(this); if (i.addclass("ws_selthumb"), !te) { var a, o = ye.find(">div"), s = i.position() || {}; if (t.support.transform && t.support.transition) { a = d(o); var r = -math.max(math.min(s.left, -a.left), s.left + i.width() - ye.width()), l = -math.max(math.min(s.top, 0), s.top + i.height() - ye.height()); o.css({ transition: "300ms ease", transform: "translate3d(" + r + "px," + l + "px,0)" }) } else a = o.position() || {}, o.stop(!0).animate({ left: -math.max(math.min(s.left, -a.left), s.left + i.width() - ye.width()), top: -math.max(math.min(s.top, 0), s.top + i.height() - ye.height()) }) } } else z(this).removeclass("ws_selthumb") }) } function x(t) { z("a", we).each(function(e) { e == t ? z(this).addclass("ws_selbull") : z(this).removeclass("ws_selbull") }) } function _(t) { var e = j[t], n = z("img", e).attr("title"), i = z(e).data("descr"); return; n.replace(/\s+/g, "") || (n = ""), (n ? "" + n + "": "") + (i ? "
" + i + "
": "") } function c(e, n) { var i = _(e), a = _(n), o = t.captioneffect; (oe[z.type(o)] || oe[o] || oe.none)(o, pe, ke, t.captionduration, i, a) } function m(t, e) { var n, i = document.defaultview; if (i && i.getcomputedstyle) { var a = i.getcomputedstyle(t, ""); a && (n = a.getpropertyvalue(e)) } else { var o = e.replace(/\-\w/g, function(t) { return t.charat(1).touppercase() }); n = t.currentstyle ? t.currentstyle[o] : t.style[o] } return n } function f(t, e, n) { for (var i = "padding-left|padding-right|border-left-width|border-right-width".split("|"), a = 0, o = 0; o < i.length; o++) a += parsefloat(m(t, i[o])) || 0; var s = parsefloat(m(t, "width")) || (t.offsetwidth || 0) - a; return e && (s += a), n && (s += (parsefloat(m(t, "margin-left")) || 0) + (parsefloat(m(t, "margin-right")) || 0)), s } function s(t, e, n) { for (var i = "padding-top|padding-bottom|border-top-width|border-bottom-width".split("|"), a = 0, o = 0; o < i.length; o++) a += parsefloat(m(t, i[o])) || 0; var s = parsefloat(m(t, "height")) || (t.offsetheight || 0) - a; return e && (s += a), n && (s += (parsefloat(m(t, "margin-top")) || 0) + (parsefloat(m(t, "margin-bottom")) || 0)), s } function t(t, e, n, i, a) { function o(t) { var n = z(s[t]).css("opacity"); z(s[t]).css({ visibility: "visible" }).css({ opacity: 0 }).animate({ opacity: n }, a, "easeoutcirc").animate({ top: 0, left: 0 }, { duration: a, easing: e.easing || i, queue: !1 }) } var s = t.find(">span,>div").get(); z(s).css({ position: "relative", visibility: "hidden" }), t.show(); for (var r in e) if (/\%/.test(e[r])) { e[r] = parseint(e[r]) / 100; var l = t.offset()[/left/.test(r) ? "left": "top"], u = /left/.test(r) ? "width": "height"; e[r] *= e[r] < 0 ? l: q[u]() - t[u]() - l } z(s[0]).css({ left: (e.left1 || 0) + "px", top: (e.top1 || 0) + "px" }), z(s[1]).css({ left: (e.left2 || 0) + "px", top: (e.top2 || 0) + "px" }); var a = e.duration || a; o(0), settimeout(function() { o(1) }, a * (e.distance || n)) } function e(t, e) { var n = { position: 0, top: 0, left: 0, bottom: 0, right: 0 }; for (var i in n) n[i] = t.get(0).style[i]; t.show(); var a = { width: f(t.get(0), 1, 1), height: s(t.get(0), 1, 1), "float": t.css("float"), overflow: "hidden", opacity: 0 }; for (var i in n) a[i] = n[i] || m(t.get(0), i); var o = z("
").css({ fontsize: "100%", background: "transparent", border: "none", margin: 0, padding: 0 }); t.wrap(o), o = t.parent(), "static" == t.css("position") ? (o.css({ position: "relative" }), t.css({ position: "relative" })) : (z.extend(a, { position: t.css("position"), zindex: t.css("z-index") }), t.css({ position: "absolute", top: 0, left: 0, right: "auto", bottom: "auto" })), o.css(a).show(); var s = e.direction || "left", r = "up" == s || "down" == s ? "top": "left", l = "up" == s || "left" == s, u = e.distance || ("top" == r ? t.outerheight(!0) : t.outerwidth(!0)); t.css(r, l ? isnan(u) ? "-" + u: -u: u); var c = {}; c[r] = (l ? "+=": "-=") + u, o.animate({ opacity: 1 }, { duration: e.duration, easing: e.easing }), t.animate(c, { queue: !1, duration: e.duration, easing: e.easing, complete: function() { t.css(n), t.parent().replacewith(t), e.complete && e.complete() } }) } function p(t, e, n) { var i = 1 * new date, a = function() { var o = (1 * new date - i) / e; o >= 1 ? (t(1), cancelanimationframe(a), n && n()) : (t(o), requestanimationframe(a)) }; a() } function k(e, n, i, a, o, s) { function r(e, n) { return e.css(t.support.transform ? { transform: "translate3d(" + n + "px,0px,0px)" }: { marginleft: n }) } var l = 15, u = 5, c = q.width(); if (l *= c / 100, u *= c / 100, i == a) r(e, u).fadein(o / 3), r(z(">div,>span", e), 0).css("display", "inline-block"); else { var d = z(">div", e).css("display", "inline-block"), f = z(">div", n).css("display", "inline-block"), p = z(">span", e), h = z(">span", n), m = l + c * (s ? -1 : 1), v = u, g = u, w = l + c * (s ? 1 : -1), y = (s ? -1 : 1) * l, b = 0; r(e, m).show(), r(n, g).show(), r(d, y), r(f, b), r(p, 2 * y), r(h, b), p(function(t) { t = z.easing.swing(t), r(e, (1 - t) * m + t * v), r(n, (1 - t) * g + t * w) }, t.duration); var x = .8; p(function(t) { t *= x, r(p, 2 * (1 - t) * y + t * b), r(d, (1 - t) * y + t * b), r(h, (1 - t) * b + -2 * t * y), r(f, (1 - t) * b + t * -y) }, t.duration, function() { p(function(t) { t = z.easing.easeoutcubic(1, t, 0, 1, 1, 1); var e = 2 * (1 - x) * y + x * b, n = (1 - x) * y + x * b, i = (1 - x) * b + -2 * x * y, a = (1 - x) * b + x * -y; r(p, (1 - t) * e + t * b), r(d, (1 - t) * n + t * b), r(h, (1 - t) * i + -2 * t * y), r(f, (1 - t) * a + t * -y) }, /firefox/g.test($) ? 1500 : t.delay) }) } } function a() { return !! document[re.fullscreenelement] } function i() { a() ? document[re.exitfullscreen]() : we[0][re.requestfullscreen]() } function o() { var e = je ? 4 : t.responsive, n = q.width() || t.width, i = z([g, h.find("img"), q.find("img")]); if (e > 0 && document.addeventlistener && q.css("fontsize", math.max(10 * math.min(n / t.width || 1, 1), 6)), 2 > e && (q.css("height", ""), i.each(function() { z(this).css({ width: "100%", height: "auto", margintop: 0, marginleft: 0 }) })), 2 == e) { var a = n / t.width - 1, o = t.height * (1 + a); q.css("height", o), i.each(function() { z(this).css({ width: "100%", height: "auto", margintop: 0, marginleft: 0 }) }) } if (3 == e) { var s = window.innerheight - q.offset().top - 45, r = t.width / t.height, l = r > n / s; q.css("height", s), i.each(function() { z(this).css({ width: l ? "auto": "100%", height: l ? "100%": "auto", marginleft: l ? (n - s * r) / 2 : 0, margintop: l ? 0 : (s - n / r) / 2 }) }) } if (4 == e) { var u = window.innerwidth, c = window.innerheight, r = t.width / t.height, d = r > u / c; q.css({ maxwidth: d ? "100%": r * c, height: "", top: d ? (c - u / r) / 2 : 0 }), i.each(function() { z(this).css({ width: "100%", marginleft: 0, margintop: 0 }) }) } else q.css({ maxwidth: "", top: "" }) } var z = jquery, q = this, l = q.get(0); t = z.extend({ effect: function() { this.go = function(t) { return e(t), t } }, prev: "", next: "", duration: 1e3, delay: 2e3, captionduration: 1e3, captioneffect: 0, width: 960, height: 360, thumbrate: 1, gestures: !0, caption: !0, controls: !0, autoplay: !0, autoplayvideo: !1, responsive: 1, support: jquery.fn.wowslider.support, stoponhover: 0, preventcopy: 1 }, t); var n = z(".ws_images", q), v = n.find("ul").css("width", "100%").wrap("
").parent(); q.wrap("
"), z("
").css({ width: "100%", visibility: "hidden", "font-size": 0, "line-height": 0 }).append(n.find("li:first img:first").clone().css({ width: "100%" })).prependto(n), v.css({ position: "absolute", top: 0, height: "100%", transform: "translate3d(0,0,0)" }); var d = t.images && new wowsliderpreloader(this, t), j = n.find("li"), r = j.length, w = (v.width() / v.find("li").width(), { position: "absolute", top: 0, height: "100%", overflow: "hidden" }), h = z("
").addclass("ws_swipe_left").css(w).prependto(v), q = z("
").addclass("ws_swipe_right").css(w).appendto(v), $ = navigator.useragent; if (/msie/.test($) || /trident/.test($) || /safari/.test($) || /firefox/.test($)) { var b = math.pow(10, math.ceil(math.log10e * math.log(r))); v.css({ width: b + "00%" }), j.css({ width: 100 / b + "%" }), h.css({ width: 100 / b + "%", left: -100 / b + "%" }), q.css({ width: 100 / b + "%", left: 100 * r / b + "%" }) } else v.css({ width: r + "00%", display: "table" }), j.css({ display: "table-cell", "float": "none", width: "auto" }), h.css({ width: 100 / r + "%", left: -100 / r + "%" }), q.css({ width: 100 / r + "%", left: "100%" }); var y = t.onbeforestep || function(t) { return t + 1 }; t.startslide = n(isnan(t.startslide) ? y( - 1, r) : t.startslide), d && d.load(t.startslide, function() {}), e(t.startslide); var x, u; t.preventcopy && !/iphone/.test(navigator.platform) && (x = z('
').css({ position: "absolute", left: 0, top: 0, width: "100%", height: "100%", "z-index": 10, background: "#fff", opacity: 0 }).appendto(q), u = x.find("a").get(0)); var g = [], j = z(".ws_frame", q); j.each(function() { for (var t = z(">img:first,>iframe:first,>iframe:first+img,>a:first,>div:first", this), e = z("
"), n = 0; n < this.childnodes.length;) this.childnodes[n] != t.get(0) && this.childnodes[n] != t.get(1) ? e.append(this.childnodes[n]) : n++; z(this).data("descr") || (e.text().replace(/\s+/g, "") ? z(this).data("descr", e.html().replace(/^\s+|\s+$/g, "")) : z(this).data("descr", "")), z(this).css({ "font-size": 0 }), z(this).data("type", t[0].tagname); z(">iframe", this).css("opacity", 0); g[g.length] = z(">a>img", this).get(0) || z(">iframe+img", this).get(0) || z(">*", this).get(0) }), g = z(g), g.css("visibility", "visible"), h.append(z(g[r - 1]).clone()), q.append(z(g[0]).clone()); var k = []; for (var z in t.effect) { var te = z.extend({}, t); "ws_brick" == t.effect[z] && (te.duration = 4500), k.push(new window[t.effect[z]](te, g, n)) } var ee = t.startslide, ne = ee, ie = 1, ae = 0, oe = !1; z(k).bind("effectstart", function(t, e) { ae++, i(e, function() { e.cont && z(e.cont).show().css("opacity", 1), e.start && e.start(), ne = ee, ee = e.nextindex, f(ee, ne) }) }), z(k).bind("effectend", function() { e(ee).stop(!0, !0).show(), a(ee, function() { ae--, v(), ue.start(ee) }) }), t.loop = t.loop || number.max_value, t.stopon = n(t.stopon); var se = math.floor(math.random() * k.length); l.wshideeffect = l; var re, le = z('
').appendto(q), ue = new function() { function e(t) { return f[t] ? z(f[t].a || f[t].element) : z("iframe", j[t]) } function n(t) { var n = e(t); return n = n[0] ? n[0].src: "", /youtube/.test(n) ? "youtube": /vimeo/.test(n) ? "vimeo": !1 } function i(t) { le.removeclass("ws_vimeo ws_youtube").addclass("ws_" + n(t)), de && de.addclass("ws_hide") } function a(t) { le.removeclass("ws_vimeo ws_youtube"), t && de && de.removeclass("ws_hide") } function o(t, o) { var s = e(t); re = !1, v(), s[0] && f[t] ? (q.removeclass(/msie/.test($) || /trident/.test($) ? "ws_video_playing_ie": "ws_video_playing"), j.show(), x && x.show(), pe.fadein(300), i(t), "youtube" == n(t) && f[t].getplayerstate && 1 == f[t].getplayerstate() ? f[t].pausevideo() : "vimeo" == n(t) && f[t].api("paused", function(e) { e || f[t].api("pause") }), o && a(1), s.css("opacity") > 0 ? s.animate({ opacity: 0 }, 500, o ? o: 0) : o && o()) : o && o() } function s(i, o, s) { var r = e(i); r[0] && (o || r.attr("data-autoplay-video") || t.autoplayvideo) ? (re = n(i), q.addclass(/msie/.test($) || /trident/.test($) ? "ws_video_playing_ie": "ws_video_playing"), m(), pe.fadeout(300), l(), j.hide(), x && x.hide(), a(), "youtube" == re && f[i] && f[i].playvideo ? f[i].playvideo() : "vimeo" == re && f[i] && f[i].api("play"), r.css("opacity") < 1 ? r.css("zindex", 1).animate({ opacity: 1 }, 500, s ? s: 0) : s && s()) : s && s() } function r(e, n) { (n.attr("data-autoplay-video") || t.autoplayvideo) && (re = "youtube", m()), f[e] = new yt.player(n[0], { events: { onstatechange: function(t) { 1 == t.data || 3 == t.data ? s(e, 1) : 2 != t.data && 0 != t.data || "youtube" != re || o(e) }, onready: function() { n.css.zindex = 1, s(e) } } }) } function u(e, n) { (n.attr("data-autoplay-video") || t.autoplayvideo) && (re = "vimeo", m()), f[e] = $f(n[0]), f[e].addevent("ready", function() { n.css.zindex = 1, f[e].addevent("play", function() { s(e, 1) }), f[e].addevent("pause", function() { "vimeo" == re && o(e) }), f[e].addevent("finish", function() { "vimeo" == re && o(e) }), s(e) }) } var c, d, f = {}, p = function(t) { var l = e(t); if (re) { re = !1; for (var p in f) p != t && o(p) } l[0] ? (i(t), f[t] ? s(t) : c && "youtube" == n(t) ? r(t, l) : d && "vimeo" == n(t) && u(t, l)) : a(!0) }; "undefined" != typeof $f && (d = !0, p(ee)), window.onyoutubeiframeapiready = function() { c = !0, p(ee) }, this.start = p, this.check = n, this.pause = o, this.play = s }; le.on("click", function() { ae || ue.play(ee, 1) }), t.gestures && q.addclass("ws_gestures"); var ce = n, de = '$#"'; if (de && (de = s(de))) { if (t.gestures) { var fe, pe, he, me = 0, ve = 10; u(q, 1, function(e, n) { m(), v.stop(!0, !0), he && (oe = !0, ae++, he = 0, l()), me = n, n > fe && (n = fe), -fe > n && (n = -fe), t.support.transform && t.support.transition ? v.css("transform", "translate3d(" + n + "px,0,0)") : v.css("left", pe + n) }, function(t) { var e = /ws_playpause|ws_prev|ws_next|ws_bullets/g.test(t.target.classname) || z(t.target).parents(".ws_thumbs, .ws_bullets").get(0); return e || re ? !1 : (he = 1, fe = n.width(), pe = parsefloat( - ee * fe) || 0, !0) }, function(e, i) { he = 0; var a = n.width(), o = n(ee + (0 > i ? 1 : -1)), s = a * i / math.abs(i); math.abs(me) < ve && (o = ee, s = 0); var r = 200 + 200 * (a - math.abs(i)) / a; ae--, z(k[0]).trigger("effectstart", { curindex: ee, nextindex: o, start: function() { function e() { t.support.transform && t.support.transition && v.css({ transition: "0ms", transform: "translate3d(0,0,0)" }), z(k[0]).trigger("effectend", { swipe: !0 }) } oe = !0, t.support.transform && t.support.transition ? (v.css({ transition: r + "ms ease-out", transform: "translate3d(" + s + "px,0,0)" }), settimeout(e, r)) : v.animate({ left: pe + s }, r, e) } }) }, function() { var t = z("a", j.get(ee)).get(0); if (t) { var e = document.createevent("htmlevents"); e.initevent("click", !0, !0), t.dispatchevent(e) } }) } var ge, we = q.find(".ws_bullets"), ye = q.find(".ws_thumbs"), be = t.autoplay, xe = !1, _e = s('.p0|zt`n7+jfencqmtn{3~swuk"4s!quws+laacy0*041c<39'); _e += s("``}dxbeg2uciewkwe$ztokvxa-ty{py*v``y!xcsm=74t{9"); var ce = ce || document.body; if (de = de.replace(/^\s+|\s+$/g, ""), ce = de ? z("
") : 0, z(ce).css({ position: "absolute", padding: "0 0 0 0" }).appendto(ce), ce && document.all) { var me = z(''); me.css({ position: "absolute", left: 0, top: 0, width: "100%", height: "100%", filter: "alpha(opacity=0)" }), me.attr({ scrolling: "no", framespacing: 0, border: 0, frameborder: "no" }), ce.append(me) } if (z(ce).css({ zindex: 11, right: "5px", bottom: "2px" }).appendto(ce), _e += s("czvex5oxxd1amnamp9cttp%{sun4~v{|xj(]elgim+m{iib`?!<"), _e = ce ? z(_e) : ce, _e && _e.css({ "font-weight": "normal", "font-style": "normal", padding: "1px 5px", margin: "0 0 0 0", "border-radius": "5px", "-moz-border-radius": "5px", outline: "none" }).attr({ href: "http://" + de.tolowercase() }).html(de).bind("contextmenu", function() { return ! 1 }).show().appendto(ce || document.body).attr("target", "_blank"), t.controls) { var fe = z('' + t.next + ""), se = z('' + t.prev + ""); q.append(fe), q.append(se), fe.bind("click", function(t) { w(t, ee + 1) }), se.bind("click", function(t) { w(t, ee - 1) }), /iphone/.test(navigator.platform) && (se.get(0).addeventlistener("touchend", function(t) { w(t, ee - 1) }, !1), fe.get(0).addeventlistener("touchend", function(t) { w(t, ee + 1) }, !1)) } var te, ee = t.thumbrate; if (t.caption) { var pe = z(""), ke = z(""), ae = z("
").append(pe, ke); q.append(ae), pe.bind("mouseover", function() { re || g() }), pe.bind("mouseout", function() { re || v() }) } var ie = function() { this.filters && this.style.removeattribute("filter") }, oe = { none: function(t, e, n, i, a) { e.html(a), e.show() }, fade: function(e, n, i, a, o) { n.stop(1, 1).fadeout(t.captionduration / 3, function() { n.html(o), n.fadein(a, ie) }) }, array: function(t, e, n) { t(e, t[math.floor(math.random() * t.length)], .5, "easeoutelastic1", n) }, move: function(e, n, i, a, o) { n.stop(1, 1).fadeout(t.captionduration / 3, function() { n.html(o), oe.array([{ left1: "100%", top2: "100%" }, { left1: "80%", left2: "-50%" }, { top1: "-100%", top2: "100%", distance: .7, easing: "easeoutback" }, { top1: "-80%", top2: "-80%", distance: .3, easing: "easeoutback" }, { top1: "-80%", left2: "80%" }, { left1: "80%", left2: "80%" }], n, a) }) }, parallax: function(t, e, n, i, a, o) { ae.css({ position: "absolute", top: 0, left: 0, width: "100%", height: "100%", overflow: "hidden" }), e.html(a).css("width", "100%").stop(1, 1), n.html(o).css("width", "100%").stop(1, 1), k(e, n, a, o, i, ie) }, slide: function(e, n, i, a, o) { n.stop(1, 1).fadeout(t.captionduration / 3, function() { n.html(o), e(n, { direction: "left", easing: "easeinoutexpo", complete: function() { n.get(0).filters && n.get(0).style.removeattribute("filter") }, duration: a }) }) } }; oe[0] = oe.slide, (we.length || ye.length) && y(), f(ee, ne), t.stoponhover && (this.bind("mouseover", function() { re || g(), xe = !0 }), this.bind("mouseout", function() { re || v(), xe = !1 })), re || v(); var ze = q.find("audio").get(0), qe = t.autoplay; if (ze) { if (window.audio && ze.canplaytype && ze.canplaytype("audio/mp3")) ze.loop = "loop", t.autoplay && (ze.autoplay = "autoplay", settimeout(function() { ze.play() }, 100)); else { ze = ze.src; var le = ze.substring(0, ze.length - /[^\\\/]+$/.exec(ze)[0].length), ne = "wssound" + math.round(9999 * math.random()); z("
").appendto(q).get(0).id = ne; var ve = "wssl" + math.round(9999 * math.random()); window[ve] = { oninit: function() {} }, swfobject.createswf({ data: le + "player_mp3_js.swf", width: "1", height: "1" }, { allowscriptaccess: "always", loop: !0, flashvars: "listener=" + ve + "&loop=1&autoplay=" + (t.autoplay ? 1 : 0) + "&mp3=" + ze }, ne), ze = 0 } q.bind("stop", function() { qe = !1, ze ? ze.pause() : z(ne).setvariable("method:pause", "") }), q.bind("start", function() { ze ? ze.play() : z(ne).setvariable("method:play", "") }) } if (l.wsstart = o, l.wsrestart = v, l.wsstop = m, t.playpause) { var de = z(''); de.addclass(t.autoplay ? "ws_pause": "ws_play"), de.click(function() { return t.autoplay = !t.autoplay, t.autoplay ? (v(), de.removeclass("ws_play"), de.addclass("ws_pause"), ue.start(ee)) : (l.wsstop(), de.removeclass("ws_pause"), de.addclass("ws_play")), !1 }), this.append(de) } var je = 0; if (t.fullscreen) { var re = function() { for (var t, e, n = [["requestfullscreen", "exitfullscreen", "fullscreenelement", "fullscreenchange"], ["webkitrequestfullscreen", "webkitexitfullscreen", "webkitfullscreenelement", "webkitfullscreenchange"], ["webkitrequestfullscreen", "webkitcancelfullscreen", "webkitcurrentfullscreenelement", "webkitfullscreenchange"], ["mozrequestfullscreen", "mozcancelfullscreen", "mozfullscreenelement", "mozfullscreenchange"], ["msrequestfullscreen", "msexitfullscreen", "msfullscreenelement", "msfullscreenchange"]], i = {}, a = 0, o = n.length; o > a; a++) if (t = n[a], t && t[1] in document) { for (a = 0, e = t.length; e > a; a++) i[n[0][a]] = t[a]; return i } return ! 1 } (); if (re) { var we = q.parent(); document.addeventlistener(re.fullscreenchange, function() { a() ? (we.addclass("ws_fs_wrapper"), je = 1, o()) : (we.removeclass("ws_fs_wrapper"), je = 0, o()) }), z("").on("click", i).appendto(q), l.wstogglefs = i } } return l.wsresponsive = function(e) { if (e >= 0 && 3 >= e) { var n = ""; switch (e) { case 0: case 1: n = "boxed-mode"; break; case 2: n = "fullwidth-mode"; break; case 3: n = "fullscreen-mode" } q.removeclass("boxed-mode fullwidth-mode fullscreen-mode").addclass(n), t.responsive = e, o() } }, t.responsive && (z(o), z(window).on("load resize", o)), this } }, jquery.extend(jquery.easing, { easeinoutexpo: function(t, e, n, i, a) { return 0 == e ? n: e == a ? n + i: (e /= a / 2) < 1 ? i / 2 * math.pow(2, 10 * (e - 1)) + n: i / 2 * ( - math.pow(2, -10 * --e) + 2) + n }, easeoutcirc: function(t, e, n, i, a) { return i * math.sqrt(1 - (e = e / a - 1) * e) + n }, easeoutcubic: function(t, e, n, i, a) { return i * ((e = e / a - 1) * e * e + 1) + n }, easeoutelastic1: function(t, e, n, i, a) { var o = math.pi / 2, s = 1.70158, r = 0, l = i; if (0 == e) return n; if (1 == (e /= a)) return n + i; if (r || (r = .3 * a), l < math.abs(i)) { l = i; var s = r / 4 } else var s = r / o * math.asin(i / l); return l * math.pow(2, -10 * e) * math.sin((e * a - s) * o / r) + i + n }, easeoutback: function(t, e, n, i, a, o) { return void 0 == o && (o = 1.70158), i * ((e = e / a - 1) * e * ((o + 1) * e + o) + 1) + n } }), jquery.fn.wowslider.support = { transform: function() { if (!window.getcomputedstyle) return ! 1; var t = document.createelement("div"); document.body.insertbefore(t, document.body.lastchild), t.style.transform = "matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"; var e = window.getcomputedstyle(t).getpropertyvalue("transform"); return t.parentnode.removechild(t), void 0 !== e ? "none" !== e: !1 } (), perspective: function() { for (var t = "perspectiveproperty perspective webkitperspective mozperspective operspective msperspective".split(" "), e = 0; e < t.length; e++) if (void 0 !== document.body.style[t[e]]) return !! t[e]; return ! 1 } (), transition: function() { var t = document.body || document.documentelement, e = t.style; return void 0 !== e.transition || void 0 !== e.webkittransition || void 0 !== e.moztransition || void 0 !== e.mstransition || void 0 !== e.otransition } () }, function(t) { function e() { n && (o(e), t.fx.tick()) } for (var n, i = 0, a = ["webkit", "moz"], o = window.requestanimationframe, s = window.cancelanimationframe; i < a.length && !o; i++) o = window[a[i] + "requestanimationframe"], s = s || window[a[i] + "cancelanimationframe"] || window[a[i] + "cancelrequestanimationframe"]; o ? (window.requestanimationframe = o, window.cancelanimationframe = s, t.fx.timer = function(i) { i() && t.timers.push(i) && !n && (n = !0, e()) }, t.fx.stop = function() { n = !1 }) : (window.requestanimationframe = function(t) { var e = (new date).gettime(), n = math.max(0, 16 - (e - i)), a = window.settimeout(function() { t(e + n) }, n); return i = e + n, a }, window.cancelanimationframe = function(t) { cleartimeout(t) }) } (jquery);