PageSourceSearch

https://ncbeonline.com/wp-content/cache/autoptimize/js/autoptimize…6d34db6d4acc17dc4e66bee448bad3.js?ver=6.7.2

js ncbeonline.com collected 2026-09-24 12:08:15 UTC 3,022 bytes, 31 lines download raw bytes

1(function($)
2{"use strict";$.AviaFullscreenSlider=function(options,slider)
3{this.$slider=$(slider);this.$inner=this.$slider.find('.avia-slideshow-inner');this.$innerLi=this.$inner.find('>li');this.$caption=this.$inner.find('.avia-slide-wrap .caption_container');this.$win=$(window);this.isMobile=$.avia_utilities.isMobile;this.property={};this.scrollPos="0";this.transform3d=document.documentElement.className.indexOf('avia_transform3d')!==-1?true:false;this.ticking=false;if($.avia_utilities.supported.transition===undefined)
4{$.avia_utilities.supported.transition=$.avia_utilities.supports('transition');}
5this._init(options);}
6$.AviaFullscreenSlider.defaults={height:100,subtract:'#wpadminbar, #header, #main>.title_container'};$.AviaFullscreenSlider.prototype={_init:function(options)
7{var _self=this;this.options=$.extend(true,{},$.AviaFullscreenSlider.defaults,options);if(this.$slider.data('slide_height'))this.options.height=this.$slider.data('slide_height');this.options.parallax_enabled=this.$slider.data('image_attachment')==""?true:false;this.$subtract=$(this.options.subtract);this._setSize();this.$win.on('debouncedresize',$.proxy(this._setSize,this));setTimeout(function()
8{if(!_self.isMobile&&_self.options.parallax_enabled)
9{_self.$win.on('scroll',$.proxy(_self._on_scroll,_self));}},100);this.$slider.aviaSlider({bg_slider:true});},_on_scroll:function(e)
10{var _self=this;if(!_self.ticking){_self.ticking=true;window.requestAnimationFrame($.proxy(_self._parallax_scroll,_self));}},_fetch_properties:function(slide_height)
11{this.property.offset=this.$slider.offset().top;this.property.wh=this.$win.height();this.property.height=slide_height||this.$slider.outerHeight();this._parallax_scroll();},_setSize:function()
12{if(!$.fn.avia_browser_height)
13{var viewport=this.$win.height(),slide_height=Math.ceil((viewport/100)*this.options.height);if(this.$subtract.length&&this.options.height==100)
14{this.$subtract.each(function()
15{slide_height-=this.offsetHeight-0.5;});}
16else
17{slide_height-=1;}
18this.$slider.height(slide_height).removeClass('av-default-height-applied');this.$inner.css('padding',0);}
19this._fetch_properties(slide_height);},_parallax_scroll:function(e)
20{if(this.isMobile||!this.options.parallax_enabled)return;var winTop=this.$win.scrollTop(),winBottom=winTop+this.property.wh,scrollPos="0",prop={},prop2={};if(this.property.offset<winTop&&winTop<=this.property.offset+this.property.height)
21{scrollPos=Math.round((winTop-this.property.offset)*0.3);}
22if(this.scrollPos!=scrollPos)
23{this.scrollPos=scrollPos;if(this.transform3d)
24{prop[$.avia_utilities.supported.transition+"transform"]="translate3d(0px,"+scrollPos+"px,0px)";}
25else
26{prop[$.avia_utilities.supported.transition+"transform"]="translate(0px,"+scrollPos+"px)";}
27this.$inner.css(prop);}
28this.ticking=false;}};$.fn.aviaFullscreenSlider=function(options)
29{return this.each(function()
30{var active=$.data(this,'aviaFullscreenSlider');if(!active)
31{$.data(this,'aviaFullscreenSlider',1);new $.AviaFullscreenSlider(options,this);}});}})(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.