1try{ 2 3var r3423={isPhoneMax:782,mainLogoSrc:'',loadedSeconds:0,scrolled:0,scrolledRatio:0,scrollDir:null,init:function(){r3423.blockCoreSearchInit();r3423.blockCoreImageInit();r3423.cleanupInit();r3423.hyphenateInit();r3423.isPhone();r3423.mobileLogoInit();r3423.mobileNavInit();r3423.navInit();r3423.offsiteLinksInit();r3423.searchInit();r3423.socialInit()},load:function(){r3423.hashLinkLoad();r3423.loadedSecondsCounter()},resize:function(){r3423.isPhone();r3423.mobileLogoSwap();r3423.mobileNavMaybeClose()},scroll:function(){r3423.scrollStatus()},blockCoreSearchInit:function(){jQuery('.wp-block-search__input').closest('form').attr('novalidate',!0);jQuery('.wp-block-search').on('submit',function(){var input=jQuery('.wp-block-search__input');if(input.val()==''){input.focus();return!1}})},blockCoreImageInit:function(){jQuery('figure.wp-block-image').each(function(){var img=jQuery(this).find('img');if(img.attr('src').indexOf('.svg')!=-1){jQuery(this).css('width',img.attr('width')+'px').css('height',img.attr('width')+'px')}})},cleanupInit:function(){jQuery('p:empty').remove()},hashLinkLoad:function(){if(location.hash&&jQuery(location.hash).length>0){jQuery('html').css('scroll-behavior','auto');location.replace(location.hash);jQuery('html').css('scroll-behavior','smooth')}},hyphenateInit:function(){jQuery('h1, h2, h3, h4').each(function(){var words=jQuery(this).text().split(' ');var i=0;var hyphenate=!1;while(i<words.length){if(typeof hyphen_min=='undefined'||hyphen_min==''){hyphen_min=12} 4if(words[i].length>=hyphen_min){hyphenate=!0;break} 5i++} 6if(hyphenate){jQuery(this).addClass('hyphenate-on-mobile')}})},isPhone:function(){if(typeof is_phone_max=='undefined'||is_phone_max==''){is_phone_max=r3423.isPhoneMax} 7var isPhone=window.innerWidth<=is_phone_max;if(isPhone){jQuery('body').addClass('phone')}else{jQuery('body').removeClass('phone')} 8return isPhone},loadedSecondsCounter:function(){setInterval(function(){r3423.loadedSeconds++},1000)},mobileLogoInit:function(){r3423.mainLogoSrc=jQuery('.wp-block-site-logo img').attr('src');if(r3423.isPhone()){r3423.mobileLogoSwap()}},mobileLogoSwap:function(){if(typeof mobile_logo!='undefined'&&mobile_logo!=''){if(r3423.isPhone()){jQuery('.wp-block-site-logo img').removeAttr('srcset').attr('src',mobile_logo)}else{jQuery('.wp-block-site-logo img').attr('src',r3423.mainLogoSrc)}}},mobileNavClose:function(){if(jQuery('body').hasClass('nav-open')){jQuery('body').removeClass('nav-open');jQuery('#header .menu-item').removeClass('open')}},mobileNavInit:function(){jQuery('#header .nav-menu-handle').on('click',function(){r3423.mobileNavToggle()});jQuery('#header ul.sub-menu ul.sub-menu').has('li.current-menu-item').each(function(){jQuery(this).parent().addClass('open')})},mobileNavMaybeClose:function(){if(!r3423.isPhone()&&!jQuery('body').hasClass('header-menu-desktop-hamburger')){r3423.mobileNavClose()}},mobileNavOpen:function(){if(!jQuery('body').hasClass('nav-open')){jQuery('body').addClass('nav-open')}},mobileNavToggle:function(){if(jQuery('body').hasClass('nav-open')){jQuery('body').removeClass('nav-open')}else{jQuery('body').addClass('nav-open')}},navInit:function(){jQuery('.r3423-nav-menu svg.submenu-indicator, .r3423-nav-menu .nav-menu-handle').on('keypress',function(e){if(e.which==13){jQuery(this).trigger('click')}});jQuery('.r3423-nav-menu svg.submenu-indicator').on('click',function(){var li=jQuery(this).closest('li');if(li.hasClass('open')){li.removeClass('open')}else{li.addClass('open');if(!r3423.isPhone()&&li.parent('ul').hasClass('menu')){li.siblings().removeClass('open')}}});jQuery('.r3423-nav-menu ul.menu > li').on('mouseover',function(){if(!r3423.isPhone()){jQuery(this).siblings().removeClass('open')}});if(jQuery('.r3423-nav-menu .menu-item-description').length>0){jQuery('.r3423-nav-menu ul.menu > li.menu-item-has-children *').on('click keypress mouseenter mousemove',function(){var menu=jQuery(this).closest('.r3423-nav-menu');var submenu=menu.find('ul.menu > li:hover > ul.sub-menu, ul.menu > li.open > ul.sub-menu');var menu_height=menu.height()+(submenu.length>0?submenu.height():0);menu.find('.menu-item-description:visible').css('min-height',menu_height+'px');var menu_offset_top=jQuery('header.site-header').height()+(jQuery('#wpadminbar').length>0?jQuery('#wpadminbar').height():0);document.body.style.setProperty('--wp--custom--main--vertical-offset',menu_offset_top+'px');document.body.style.setProperty('--wp--custom--main--vertical-offset-scrolled',menu_offset_top+'px');document.body.style.setProperty('--wp--custom--main--vertical-offset-tablet',menu_offset_top+'px')})}},offsiteLinksInit:function(){jQuery('a[href]').each(function(){if(jQuery(this).attr('data-lightbox')||jQuery(this).attr('download')){jQuery(this).removeAttr('target');return} 9if(jQuery(this).attr('target')=='_blank'){jQuery(this).addClass('offsite-link');return} 10if(jQuery(this).attr('href').indexOf('http')==0&&jQuery(this).attr('href').indexOf('//'+location.hostname)==-1){jQuery(this).addClass('offsite-link').attr('target','_blank')}})},scrollStatus:function(){var old_scrolled=r3423.scrolled;r3423.scrolled=jQuery(window).scrollTop();
10r3423.scrolledRatio=r3423.scrolled/(jQuery('body').height()-window.innerHeight);r3423.scrollDir=(r3423.scrolled<old_scrolled)?'up':'down';if(r3423.scrolled>0){jQuery('body').addClass('scrolled')}else{jQuery('body').removeClass('scrolled')}},searchInit:function(){jQuery('.wp-block-search input[type=search]').on('focus',function(){jQuery('body').addClass('search-open')});jQuery('.wp-block-search input[type=search]').on('blur',function(){if(jQuery(this).val()==''){jQuery('body').removeClass('search-open')}})},socialInit:function(){if(jQuery('.wp-social-link-other svg').length>0){jQuery('.wp-social-link-other').each(function(){var link=jQuery(this).find('a').attr('href');if(link.indexOf('architizer.com')!=-1){jQuery(this).find('svg').replaceWith('<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="m9.63 13.7-3.87-11.52-3.38 9.83h4.77v1.59h-7.15l4.87-13.5h1.98l4.77 13.5h-1.99z" transform="matrix(1.47059 0 0 1.47059 3.45588 1.85294)"/></svg>')}else if(link.indexOf('houzz.com')!=-1){jQuery(this).find('svg').replaceWith('<svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="m371 874v295h99v-93h65v93h99v-167l-198-57v-71z" transform="matrix(.0677281 0 0 .0677966 -22.0334 -57.2542)"/></svg>')}})}},};jQuery(function(){r3423.init()});jQuery(window).on('load',function(){r3423.load()});jQuery(window).on('resize',function(){r3423.resize()});jQuery(window).on('scroll',function(){r3423.scroll()}); 11 12 13 14} 15catch(e){console.error("WP-Optimize Minify: An error has occurred in the minified code. \n\n- Original script: https://loras.edu/wp-content/themes/r3423/assets/js/script.js\n- Error message: "+ e.message);}
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.