PageSourceSearch

https://www.gallothomas.com/content/themes/gt/assets/menus-logic.min.js?ver=138

js gallothomas.com collected 2026-10-06 07:42:50 UTC 2,769 bytes, 2 lines download raw bytes

1!function($){function e(){n=$("nav#navTop1"),o=n.find("ul.menu-depth-1")}var n,o;$(document).ready(function(){e()}),$(document).on("click","nav#navTop1 a.toggle, nav#navTop2 a.toggle",function(e){e.preventDefault();var n=$(this),o=n.parent("li");if(o.hasClass("open"))n.next("ul").slideUp(0),o.removeClass("open");else{var t=o.siblings(".open");n.next("ul").slideDown(0),o.addClass("open"),n.closest("nav").hasClass("nav-top-1")&&(t.children("ul").slideUp(0),t.removeClass("open"))}}),$(document).on("click","nav.drop-simple li.menu-item-depth-0.menu-item-has-children > a, nav.nav-footer-col a.toggle",function(e){e.preventDefault()}),void 0!==$.kfMega&&$.isFunction($.kfMega)?$(document).ready(function(){o.each(function(){var e=$(this),n=e.prev("a"),o=$.kfMega({$toggle:n,$target:e})})}):console.warn("$.kfMega required"),function($){$(document).ready(function(){o.each(function(){var e=$(this),n=e.find("li.toggle-wrapper"),o=n.length;n.css("max-width",100/o+"%")})})}(jQuery),function($){function e(){o.each(function(e){$(this).confineMega(n,t,"table")})}var n=0,t=0;$.fn.confineMega=function(e,n,o,t){var e="number"==typeof e?e:0,n="number"==typeof n?n:0,o="string"==typeof o?o:"block",t="boolean"==typeof t&&t;if("block"!==o&&(void 0===$.fn.actual||!$.isFunction($.fn.actual)))return console.warn("jQuery.confineMega: jQuery.actual needed for width of non-block display elements: github.com/dreamerslab/jquery.actual"),!1;var i=$(this).first();i.css("width","");var a=i.actual("outerWidth",{display:o}),r=$(window).width(),c=r-e-n;a>c&&(i.width(c),a=c);var l=i.clone();l.css({display:o,left:"",right:"","margin-left":0,"margin-right":0,visibility:"hidden"}),i.after(l);var s=l.offset(),d=s.left;l.remove();var u=d+a,f=u-(r-n);f>0?i.css("margin-left",-f):i.css("margin-left",0)},$(document).ready(function(){e()}),$(window).load(function(){e()}),$(window).on("debouncedresize",function(){e()})}(jQuery),function($){function e(e){console.log("toggletray"),e.parent().hasClass("slide-horizontal")?(console.log("toggletray - class method"),$("body").toggleClass("tray-open"),$(window).trigger("debouncedresize")):e.slideToggle(animDuration,function(){$(window).trigger("debouncedresize")})}function n(e){$("body").removeClass("tray-open"),$(window).trigger("debouncedresize")}function o(e){!e.parent().hasClass("slide-horizontal")&&$(window).width()>packedW&&e.slideUp({always:function(){setGlobals()}})}$(document).ready(function(){var t=$(".tray-toggle"),i=$(".tray"),a=$(".tray-bg");t.click(function(){e(i)}),a.click(function(){e(i)}),$(".tray-close-wrapper").click(function(){n(i)}),$(window).on("debouncedresize",function(e){o(i)})}),"undefined"==typeof packedW&&console.error("packedW required")}(jQuery)}(jQuery);
2//# sourceMappingURL=./menus-logic.min.js.map

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.