PageSourceSearch

https://pro-creative.pl/wp-content/themes/procreative/js/jquery.meanmenu.min.js

js pro-creative.pl collected 2026-10-06 13:00:12 UTC 6,012 bytes, 94 lines download raw bytes

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