1// Slidebars 0.10.3 (http://plugins.adchsm.me/slidebars/) written by Adam Smith (http://www.adchsm.com/) released under MIT License (http://plugins.adchsm.me/slidebars/license.txt) 2! function(t) { t.slidebars = function(s) { 3 function e() {!c.disableOver || "number" == typeof c.disableOver && c.disableOver >= k ? (w = !0, t("html").addClass("sb-init"), c.hideControlClasses && T.removeClass("sb-hide"), i()) : "number" == typeof c.disableOver && c.disableOver < k && (w = !1, t("html").removeClass("sb-init"), c.hideControlClasses && T.addClass("sb-hide"), g.css("minHeight", ""), (p || y) && o()) } 4 5 function i() { g.css("minHeight", ""); 6 var s = parseInt(g.css("height"), 10), 7 e = parseInt(t("html").css("height"), 10); 8 e > s && g.css("minHeight", t("html").css("height")), m && m.hasClass("sb-width-custom") && m.css("width", m.attr("data-sb-width")), C && C.hasClass("sb-width-custom") && C.css("width", C.attr("data-sb-width")), m && (m.hasClass("sb-style-push") || m.hasClass("sb-style-overlay")) && m.css("marginLeft", "-" + m.css("width")), C && (C.hasClass("sb-style-push") || C.hasClass("sb-style-overlay")) && C.css("marginRight", "-" + C.css("width")), c.scrollLock && t("html").addClass("sb-scroll-lock") } 9 10 function n(t, s, e) { 11 function n() { a.removeAttr("style"), i() } 12 var a; 13 if (a = t.hasClass("sb-style-push") ? g.add(t).add(O) : t.hasClass("sb-style-overlay") ? t : g.add(O), "translate" === x) "0px" === s ? n() : a.css("transform", "translate( " + s + " )"); 14 else if ("side" === x) "0px" === s ? n() : ("-" === s[0] && (s = s.substr(1)), a.css(e, "0px"), setTimeout(function() { a.css(e, s) }, 1)); 15 else if ("jQuery" === x) { "-" === s[0] && (s = s.substr(1)); 16 var o = {}; 17 o[e] = s, a.stop().animate(o, 400) } } 18 19 function a(s) { 20 function e() { w && "left" === s && m ? (t("html").addClass("sb-active sb-active-left"), m.addClass("sb-active"), n(m, m.css("width"), "left"), setTimeout(function() { p = !0 }, 400)) : w && "right" === s && C && (t("html").addClass("sb-active sb-active-right"), C.addClass("sb-active"), n(C, "-" + C.css("width"), "right"), setTimeout(function() { y = !0 }, 400)) } "left" === s && m && y || "right" === s && C && p ? (o(), setTimeout(e, 400)) : e() } 21 22 function o(s, e) { 23 (p || y) && (p && (n(m, "0px", "left"), p = !1), y && (n(C, "0px", "right"), y = !1), setTimeout(function() { t("html").removeClass("sb-active sb-active-left sb-active-right"), m && m.removeClass("sb-active"), C && C.removeClass("sb-active"), "undefined" != typeof s && (void 0 === typeof e && (e = "_self"), window.open(s, e)) }, 400)) } 24 25 function l(t) { "left" === t && m && (p ? o() : a("left")), "right" === t && C && (y ? o() : a("right")) } 26 27 function r(t, s) { t.stopPropagation(), t.preventDefault(), "touchend" === t.type && s.off("click") } 28 var c = t.extend({ siteClose: !0, scrollLock: !1, disableOver: !1, hideControlClasses: !1 }, s), 29 h = document.createElement("div").style, 30 d = !1, 31 f = !1; 32 ("" === h.MozTransition || "" === h.WebkitTransition || "" === h.OTransition || "" === h.transition) && (d = !0), ("" === h.MozTransform || "" === h.WebkitTransform || "" === h.OTransform || "" === h.transform) && (f = !0); 33 var u = navigator.userAgent, 34 b = !1, 35 v = !1; /Android/.test(u) ? b = u.substr(u.indexOf("Android") + 8, 3) : /(iPhone|iPod|iPad)/.test(u) && (v = u.substr(u.indexOf("OS ") + 3, 3).replace("_", ".")), (b && 3 > b || v && 5 > v) && t("html").addClass("sb-static"); 36 var g = t("#sb-site, .sb-site-container"); 37 if (t(".sb-left").length) var m = t(".sb-left"), 38 p = !1; 39 if (t(".sb-right").length) var C = t(".sb-right"), 40 y = !1; 41 var w = !1, 42 k = t(window).width(), 43 T = t(".sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close"), 44 O = t(".sb-slide"); 45 e(), t(window).resize(function() { 46 var s = t(window).width(); 47 k !== s && (k = s, e(), p && a("left"), y && a("right")) }); 48 var x; 49 d && f ? (x = "translate", b && 4.4 >
49 b && (x = "side")) : x = "jQuery", this.slidebars = { open: a, close: o, toggle: l, init: function() { 50 return w }, active: function(t) { 51 return "left" === t && m ? p : "right" === t && C ? y : void 0 }, destroy: function(t) { "left" === t && m && (p && o(), setTimeout(function() { m.remove(), m = !1 }, 400)), "right" === t && C && (y && o(), setTimeout(function() { C.remove(), C = !1 }, 400)) } }, t(".sb-toggle-left").on("touchend click", function(s) { r(s, t(this)), l("left") }), t(".sb-toggle-right").on("touchend click", function(s) { r(s, t(this)), l("right") }), t(".sb-open-left").on("touchend click", function(s) { r(s, t(this)), a("left") }), t(".sb-open-right").on("touchend click", function(s) { r(s, t(this)), a("right") }), t(".sb-close").on("touchend click", function(s) { 52 if (t(this).is("a") || t(this).children().is("a")) { 53 if ("click" === s.type) { s.stopPropagation(), s.preventDefault(); 54 var e = t(this).is("a") ? t(this) : t(this).find("a"), 55 i = e.attr("href"), 56 n = e.attr("target") ? e.attr("target") : "_self"; 57 o(i, n) } } else r(s, t(this)), o() }), g.on("touchend click", function(s) { c.siteClose && (p || y) && (r(s, t(this)), o()) }) } }(jQuery);
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.