1!(function (e) { 2 "use strict"; 3 e.fn.meanmenu = function (n) { 4 var a = { 5 meanMenuTarget: jQuery(this), 6 meanMenuContainer: "body", 7 meanMenuClose: "X", 8 meanMenuCloseSize: "18px", 9 meanMenuOpen: "<span></span><span></span><span></span>", 10 meanRevealPosition: "right", 11 meanRevealPositionDistance: "0", 12 meanRevealColour: "", 13 meanScreenWidth: "767", 14 meanNavPush: "", 15 meanShowChildren: !0, 16 meanExpandableChildren: !0, 17 meanExpand: "+", 18 meanContract: "-", 19 meanRemoveAttrs: !1, 20 onePage: !1, 21 meanDisplay: "block", 22 removeElements: "", 23 }; 24 n = e.extend(a, n); 25 var t = window.innerWidth || document.documentElement.clientWidth; 26 return this.each(function () { 27 var e = n.meanMenuTarget, 28 a = n.meanMenuContainer, 29 r = n.meanMenuClose, 30 i = n.meanMenuCloseSize, 31 m = n.meanMenuOpen, 32 s = n.meanRevealPosition, 33 u = n.meanRevealPositionDistance, 34 l = n.meanRevealColour, 35 o = n.meanScreenWidth, 36 c = n.meanNavPush, 37 v = n.meanShowChildren, 38 h = n.meanExpandableChildren, 39 d = n.meanExpand, 40 y = n.meanContract, 41 j = n.meanRemoveAttrs, 42 Q = n.onePage, 43 f = n.meanDisplay, 44 g = n.removeElements, 45 p = !1; 46 (navigator.userAgent.match(/iPhone/i) || 47 navigator.userAgent.match(/iPod/i) || 48 navigator.userAgent.match(/iPad/i) || 49 navigator.userAgent.match(/Android/i) || 50 navigator.userAgent.match(/Blackberry/i) || 51 navigator.userAgent.match(/Windows Phone/i)) && 52 (p = !0), 53 (navigator.userAgent.match(/MSIE 8/i) || navigator.userAgent.match(/MSIE 7/i)) && jQuery("html").css("overflow-y", "scroll"); 54 var C = "", 55 w = function () { 56 if ("center" === s) { 57 var e = (window.innerWidth || document.documentElement.clientWidth) / 2 - 22 + "px"; 58 (C = "left:" + e + ";right:auto;"), p ? jQuery(".meanmenu-reveal").animate({ left: e }) : jQuery(".meanmenu-reveal").css("left", e); 59 } 60 }, 61 x = !1, 62 A = !1; 63 "right" === s && (C = "right:" + u + ";left:auto;"), "left" === s && (C = "left:" + u + ";right:auto;"), w(); 64 var E = "", 65 M = function () { 66 jQuery(".mean-bar,.mean-push").remove(), jQuery(a).removeClass("mean-container"), jQuery(e).css("display", f), (x = !1), (A = !1), jQuery(g).removeClass("mean-remove"); 67 }, 68 P = function () { 69 var n = "background:" + l + ";color:" + l + ";" + C; 70 if (t <= o) { 71 jQuery(g).addClass("mean-remove"), 72 (A = !0), 73 jQuery(a).addClass("mean-container"), 74 jQuery(".mean-container").prepend('<div class="mean-bar"><a href="#nav" class="meanmenu-reveal" style="' + n + '">Show Navigation</a><nav class="mean-nav"></nav></div>'); 75 var s = jQuery(e).html(); 76 jQuery(".mean-nav").html(s), 77 j && 78 jQuery("nav.mean-nav ul, nav.mean-nav ul *").each(function () { 79 jQuery(this).is(".mean-remove") ? jQuery(this).attr("class", "mean-remove") : jQuery(this).removeAttr("class"), jQuery(this).removeAttr("id"); 80 }), 81 jQuery(e).before('<div class="mean-push" />'), 82 jQuery(".mean-push").css("margin-top", c), 83 jQuery(e).hide(), 84 jQuery(".meanmenu-reveal").show(), 85 jQuery(".meanmenu-reveal").html(m), 86 (E = jQuery(".meanmenu-reveal")), 87 jQuery(".mean-nav ul").hide(), 88 v 89 ? h 90 ? (jQuery(".mean-nav ul ul").each(function () { 91 jQuery(this).children().length && 92 jQuery(this, "li:first") 93 .parent() 94 .append('<a class="mean-expand" href="#" style="font-size: ' + i + '">' + d + "</a>"); 95 }), 96 jQuery(".mean-expand").on("click", function (e) { 97 e.preventDefault(), 98 jQuery(this).hasClass("mean-clicked") 99 ? (jQuery(this).text(d), 100 jQuery(this) 101 .prev("ul") 102 .slideUp(300, function () {})) 103 : (jQuery(this).text(y), 104 jQuery(this) 105 .prev("ul") 106 .slideDown(300, function () {})), 107 jQuery(this).toggleClass("mean-clicked"); 108 })) 109 : jQuery(".mean-nav ul ul").show() 110 : jQuery(".mean-nav ul ul").hide(), 111 jQuery(".mean-nav ul li").last().addClass("mean-last"), 112 E.removeClass("meanclose"), 113 jQuery(E).click(function (e) { 114 e.preventDefault(), 115 !1 === x ? (E.css("text-align", "center"), E.css("text-indent", "0"), E.css("font-size", i), jQuery(".mean-nav ul:first").slideDown(), (x = !0)) : (jQuery(".mean-nav ul:first").slideUp(), (x = !1)), 116 E.toggleClass("meanclose"), 117 jQuery(E).is(".meanmenu-reveal.meanclose") ? E.html(r) : E.html(m), 118 jQuery(g).addClass("mean-remove"); 119 }), 120 Q && 121 jQuery(".mean-nav ul > li > a:first-child").on("click", function () { 122 jQuery(".mean-nav ul:first").slideUp(), (x = !1), jQuery(E).toggleClass("meanclose").html(m); 123 }); 124 } else M(); 125 }; 126 p || 127 jQuery(window).resize(function () { 128 (t = window.innerWidth || document.documentElement.clientWidth), M(), t <= o ? (P(), w()) : M(); 129 }), 130 jQuery(window).resize(function () { 131 (t = window.innerWidth || document.documentElement.clientWidth), p ? (w(), t <= o ? !1 === A && P() : M()) : (M(), t <= o && (P(), w())
131); 132 }), 133 P(); 134 }); 135 }; 136})(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.