1(function($){'use strict';var mobile;var reset=false;function resetMobile(){if(mobile!=$('html').data('mobile')){reset=true;}else{reset=false;} 2if(mobile){$('html').data('mobile',true);}else{$('html').data('mobile',false);}} 3function isMobile(){var viewPortWidth=getWidth();if(viewPortWidth<768){return true;}else{return false;}} 4function getWidth(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;} 5$(function(){mobile=isMobile();$('#menu-toggle').on('click',function(){$('#nav-wrapper').slideToggle('500','linear',function(){$('#menu-toggle').toggleClass('toggled open');});});$('.main-navigation .menu-item-has-children').each(function(){$(this).append('<span class="ztl-expand"></span>');});$('.ztl-expand').on('click',function(){$(this).siblings('.sub-menu').slideToggle('500','linear',function(){});});});$(window).resize(function(){mobile=isMobile();resetMobile();if(reset){if($('#menu-toggle').hasClass('toggled')){$('#menu-toggle span').trigger("click ");}}});}(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.