PageSourceSearch

https://ncbeonline.com/wp-content/cache/autoptimize/js/autoptimize…bf628f0d1ca7e9e8b6a2372f82caeb.js?ver=4.4.1

js ncbeonline.com collected 2026-10-01 15:27:43 UTC 2,362 bytes, 36 lines download raw bytes

1(function($)
2{"use strict";$(document).ready(function()
3{avia_header_size();});function av_change_class($element,change_method,class_name)
4{if($element[0].classList)
5{if(change_method=="add")
6{$element[0].classList.add(class_name);}
7else
8{$element[0].classList.remove(class_name);}}
9else
10{if(change_method=="add")
11{$element.addClass(class_name);}
12else
13{$element.removeClass(class_name);}}}
14function avia_header_size()
15{var win=$(window),header=$('.html_header_top.html_header_sticky #header'),unsticktop=$('.av_header_unstick_top');if(!header.length&&!unsticktop.length)return;var logo=$('#header_main .container .logo img, #header_main .container .logo a'),elements=$('#header_main .container:not(#header_main_alternate>.container), #header_main .main_menu ul:first-child > li > a:not(.avia_mega_div a, #header_main_alternate a), #header_main #menu-item-shop .cart_dropdown_link'),el_height=$(elements).filter(':first').height(),isMobile=$.avia_utilities.isMobile,scroll_top=$('#scroll-top-link'),transparent=header.is('.av_header_transparency'),shrinking=header.is('.av_header_shrinking'),topbar_height=header.find('#header_meta').outerHeight(),set_height=function()
16{var st=win.scrollTop(),newH=0,st_real=st;if(unsticktop)st-=topbar_height;if(st<0)st=0;if(shrinking&&!isMobile)
17{if(st<el_height/2)
18{newH=el_height-st;if(st<=0){newH=el_height;}
19av_change_class(header,'remove','header-scrolled');}
20else
21{newH=el_height/2;av_change_class(header,'add','header-scrolled');}
22if(st-30<el_height)
23{av_change_class(header,'remove','header-scrolled-full');}
24else
25{av_change_class(header,'add','header-scrolled-full');}
26elements.css({'height':newH+'px','lineHeight':newH+'px'});logo.css({'maxHeight':newH+'px'});}
27if(unsticktop.length)
28{if(st<=0)
29{if(st_real<=0)st_real=0;unsticktop.css({"margin-top":"-"+st_real+"px"});}
30else
31{unsticktop.css({"margin-top":"-"+topbar_height+"px"});}}
32if(transparent)
33{if(st>50)
34{av_change_class(header,'remove','av_header_transparency');}
35else
36{av_change_class(header,'add','av_header_transparency');}}};if($('body').is('.avia_deactivate_menu_resize'))shrinking=false;if(!transparent&&!shrinking&&!unsticktop.length)return;win.on('debouncedresize',function(){el_height=$(elements).attr('style',"").filter(':first').height();set_height();});win.on('scroll',function(){window.requestAnimationFrame(set_height)});set_height();}})(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.