PageSourceSearch

https://www.bnyx.online/wp-content/cache/autoptimize/2713/autoptim…47ccb00d20549f1ca858fe5391636.php?ver=3.5.9

js bnyx.online collected 2026-10-04 22:06:48 UTC 5,145 bytes, 24 lines download raw bytes

1(function($){history.scrollRestoration='manual';$(document).ready(function(){$('body').on('umggr-body-loaded',function(){UMGGR_Deeplink_Module.onLoad();});});UMGGR_Deeplink_Module.deeplinkScrollEnabled=true;UMGGR_Deeplink_Module.urlType='#';UMGGR_Deeplink_Module.currentLink=null
2UMGGR_Deeplink_Module.scrollParent=window;UMGGR_Deeplink_Module.scrollOffset=0;UMGGR_Deeplink_Module.adminBarHeight=0;UMGGR_Deeplink_Module.onLoad=function(){if($('#wpadminbar').length){UMGGR_Deeplink_Module.adminBarHeight=$('#wpadminbar').height();}
3if(UMGGR_Deeplink_Module.deeplinkScrollEnabled){$('.scroll-menu-link').click(function(e){var address=$(this).find('a').attr("href").toLowerCase();var navigateTo=$('[data-deeplink="'+address.replace(UMGGR_Deeplink_Module.urlType,'')+'"]');$('#umggr-nav-overlay').hide();$('body').removeClass('-no-overflow');if(navigateTo.length){UMGGR_Deeplink_Module.singlePagerNavigate(address,navigateTo,UMGGR_Deeplink_Module.scrollOffset);}else{UMGGR_Deeplink_Module.singlePagerNavigate(null,null,0);}
4return false;});window.onpopstate=function(event){if(typeof location.hash!=='undefined'){var hashValue=location.hash.replace(UMGGR_Deeplink_Module.urlType,'');if(hashValue.length){var deeplinkElement=$('[data-deeplink="'+hashValue+'"]');if(deeplinkElement.length){UMGGR_Deeplink_Module.currentLink=hashValue
5UMGGR_Deeplink_Module.updateScroller(deeplinkElement,UMGGR_Deeplink_Module.scrollOffset);}}else{if(typeof location.pathname!=='undefined'&&location.pathname==='/'){UMGGR_Deeplink_Module.currentLink=null
6UMGGR_Deeplink_Module.updateScroller(0,0);}}}};var navigationHash=location.hash;if(navigationHash.length){let cleanHash
7if(navigationHash.startsWith('#/')){cleanHash=navigationHash.replace('#/','')}else{cleanHash=navigationHash.replace(UMGGR_Deeplink_Module.urlType,'')}
8var navigateTo=$('[data-deeplink="'+cleanHash+'"]');UMGGR_Deeplink_Module.triggerEvent('navigation','hash',navigationHash);if(navigateTo.length){UMGGR_Deeplink_Module.currentLink=cleanHash
9UMGGR_Deeplink_Module.singlePagerNavigate(navigationHash,navigateTo,UMGGR_Deeplink_Module.scrollOffset);}}}
10var href=location.href;if(href.length){if(href.includes('#')){href=href.substr(0,href.indexOf('#'));}
11if(href.includes('?')){href=href.substr(0,href.indexOf('?'));}
12var deeplinkAnchor=$('a[data-deeplink][href="'+href+'"]');if(deeplinkAnchor.length){UMGGR_Deeplink_Module.currentLink=href
13UMGGR_Deeplink_Module.triggerEvent('navigation','path',deeplinkAnchor);var parentAnchor=$(deeplinkAnchor).parents('[data-deeplink]');if(parentAnchor.length){UMGGR_Deeplink_Module.updateScroller(parentAnchor,UMGGR_Deeplink_Module.scrollOffset);}else{UMGGR_Deeplink_Module.updateScroller(deeplinkAnchor,UMGGR_Deeplink_Module.scrollOffset);}
14UMGGR_Deeplink_Module.openModal(deeplinkAnchor);}}
15UMGGR_Deeplink_Module.triggerEvent('loaded');};UMGGR_Deeplink_Module.onEventCallbacks=[];UMGGR_Deeplink_Module.onEvent=function(eventName,callback){UMGGR_Deeplink_Module.onEventCallbacks.push({eventName:eventName,callback,});}
16UMGGR_Deeplink_Module.triggerEvent=function(eventName,args){if(UMGGR_Deeplink_Module.onEventCallbacks.length){for(var i in UMGGR_Deeplink_Module.onEventCallbacks){if(eventName===UMGGR_Deeplink_Module.onEventCallbacks[i].eventName){UMGGR_Deeplink_Module.onEventCallbacks[i].callback.apply([].slice.call(arguments,1));}}}}
17UMGGR_Deeplink_Module.singlePagerNavigate=function(anchorUrl,navigateTo,offset){if(navigateTo===null){navigateTo=0;}
18if(anchorUrl===null){anchorUrl='/';}
19UMGGR_Deeplink_Module.updateScroller(navigateTo,offset);UMGGR_Deeplink_Module.updateNavigation(anchorUrl);};UMGGR_Deeplink_Module.updateScroller=function(element,offset){element=element?element:$('body');var offset=offset-UMGGR_Deeplink_Module.adminBarHeight;$('html, body').animate({scrollTop:$(element).offset().top-offset,},150,'linear');};UMGGR_Deeplink_Module.updateNavigation=function(url,parentWindow){var win=window;if(typeof parentWindow!=='undefined'&&parentWindow){win=window.parent;}
20if(history.pushState){win.history.pushState(null,null,url);}
21else{win.location.hash=url;}};UMGGR_Deeplink_Module.openModal=function(anchor,type=''){var url=$(anchor).attr('href');var inCustomizer=false;if(type==='news'){url=$(anchor).data('link');}
22var modalUrl=url+'?modal=1';if(window.location.href.includes("customize_messenger_channel")){inCustomizer=true;}
23$.fancybox.open({type:'iframe',src:modalUrl,baseClass:'fancy-news',preload:true,margin:[0,0,0,0],opts:{beforeShow:function(instance,current){if(!inCustomizer){UMGGR_Deeplink_Module.updateNavigation(url,UMGGR_Deeplink_Module.inIframe());}},afterClose:function(){if(!inCustomizer){var parentAnchor=$(anchor).parents('[data-deeplink]');if(parentAnchor.length){var urlPrefix=UMGGR_Deeplink_Module.urlType==='#'?'/#':'/';var urlPostfix=UMGGR_Deeplink_Module.urlType==='#'?'':'/';UMGGR_Deeplink_Module.updateNavigation(urlPrefix+parentAnchor.attr('data-deeplink')+urlPostfix,UMGGR_Deeplink_Module.inIframe());}else{UMGGR_Deeplink_Module.updateNavigation('/',UMGGR_Deeplink_Module.inIframe());}}}}});}
24UMGGR_Deeplink_Module.inIframe=function(){try{return window.self!==window.top;}catch(e){return true;}}})(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.