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