1// object references 2 3var customResize, 4 mobileCTASlider; 5 6// Standard foundation call 7 8// Standard foundation call 9$(document).foundation({ 10 equalizer: { 11 // Specify if Equalizer should make elements equal height once they become stacked. 12 equalize_on_stack: true, 13 // Allow equalizer to resize hidden elements 14 act_on_hidden_el: false 15 }, 16 "magellan-expedition": { 17 active_class: 'active', // specify the class used for active sections 18 destination_threshold: 0 // pixels from the top of destination for it to be considered active 19 } 20 21}); 22 23$('.js-equalise-no-hidden').foundation({ 24 equalizer: { 25 act_on_hidden_el: false 26 } 27}); 28 29//========= DOCUMENT READY CALLS ========= 30 31$(document).ready(function () { 32 // set object references 33 mobileCTASlider = initMobileSliders(); 34 35 // standard init calls 36 37 initContactTabs(); 38 initRTEImages(); 39 initNavigation(); 40 initBackButton(); 41 initSliders(); 42 initJsonGoogleMap(); 43 initTabsToAccordion(); 44 initInternalNavigation(); 45 initSiteSearch(); 46 initSelect2(); 47 initLiveChatButton(); 48 initMobileMapOverlay(); 49 initHomePageTwoCol(); 50 initMisc(); 51 responsiveVids(); 52 initHomepageSliderWithDots(); 53 54 new mlPushMenu(document.getElementById('mp-menu'), document.getElementById('trigger')); 55 56 const observer = lozad(); // lazy loads elements with default selector as '.lozad' 57 observer.observe(); 58 59}); 60 61$(window).load(function () { 62 customResize = initCustomEqualizerzs(); 63}); 64 65var windowResizeTimer; 66window.onresize = function () { 67 clearTimeout(windowResizeTimer); 68 windowResizeTimer = setTimeout(function () { 69 $(window).trigger('resizeEnd'); 70 71 // the order of these has to be specific to stop layout breaking 72 73 if ($(window).width() >= mediumBreakpoint) { 74 if (typeof (mobileCTASlider) !== 'undefined' && typeof (mobileCTASlider.resizeEvent == 'function')) { mobileCTASlider.resizeEvent(); } 75 if (typeof (customResize.resizeEvent == 'function')) { customResize.resizeEvent(); } 76 } else { 77 if (typeof (customResize.resizeEvent == 'function')) { customResize.resizeEvent(); } 78 if (typeof (mobileCTASlider) !== 'undefined' && typeof (mobileCTASlider.resizeEvent == 'function')) { mobileCTASlider.resizeEvent(); } 79 } 80 }, 100); 81};
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.