PageSourceSearch

https://port.hu/js/mobile-menu.min.js?v=1790836703

js port.hu collected 2026-10-01 10:41:48 UTC 1,496 bytes, 3 lines download raw bytes

1/*! yii2port - v1.0.0 - 2026-10-01 06:38:00 */
2(e=>{var i=".main-header",o=".navbar-item.hamburger-menu",t=".navbar-highlighted",n=".nav-container",s=".highlighted-searchbar input",a={closeMenu:"close-menu",openMenu:"open-menu"},d=function(n){n=n.data.self;e(t).hasClass(a.openMenu)?n.doMenuCloseAnimation():n.doMenuOpenAnimation()},u=function(n){n=n.data.self;n.originalWidth!=e(window).width()&&(n.originalWidth=e(window).width(),e(t).hasClass(a.openMenu))&&!e(s).is(":focus")&&n.doMenuCloseAnimation()};window.mobileMenu={originalWidth:0,init:function(){this.originalWidth=e(window).width(),this.setEventHandlers()},setEventHandlers:function(){e(document).on("click",o,{self:this},d),e(window).on("resize",{self:this},u)},doMenuCloseAnimation:function(){e("body").width(),e(o).offset().left;e(t).css({right:"-300px"}),e(n).addClass(a.closeMenu),e(i).removeClass(a.openMenu),e("body").animate({left:0},230,function(){e(n).removeClass(a.closeMenu),e("body").removeClass(a.openMenu),e("body").removeAttr("style")}),setTimeout(function(){e(t).removeClass(a.openMenu).css({right:0})},250)},doMenuOpenAnimation:function(){var n=e("body").width();e(o).offset().left;e(t).css({right:"-300px"}),setTimeout(function(){e(i).addClass(a.openMenu),e(t).addClass(a.openMenu).css({right:0}),e("body").css("width",n),e("body").animate({left:"-300px"},260,function(){e("body").addClass(a.openMenu)})},250)}}})(jQuery),$(document).ready(function(){mobileMenu.init()});
3//# sourceMappingURL=mobile-menu.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.