1var epdofitvids=epdofitvids||function($) 2{$.fn.fitVidsEP=function(options) 3{if(_EPYT_.epresponsiveselector.constructor!==Array) 4{_EPYT_.epresponsiveselector=JSON.parse(_EPYT_.epresponsiveselector);} 5var settings={customSelector:null};if(!document.getElementById('fit-vids-style')) 6{var styleContainer=document.createElement('style'),ref=document.getElementsByTagName('base')[0]||document.getElementsByTagName('script')[0],cssStyles='.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';styleContainer.className='fit-vids-style';styleContainer.id='fit-vids-style';styleContainer.textContent=cssStyles;ref.parentNode.insertBefore(styleContainer,ref);} 7if(options) 8{$.extend(settings,options);} 9return this.each(function() 10{var selectors=_EPYT_.epresponsiveselector;if(settings.customSelector) 11{selectors.push(settings.customSelector);} 12var $allVideos=$(this).find(selectors.join(','));$allVideos=$allVideos.not("object object");$allVideos.each(function() 13{var $this=$(this);if(this.tagName.toLowerCase()==='embed'&&$this.parent('object').length||$this.parent('.fluid-width-video-wrapper').length||$this.css('position')==='absolute') 14{return;} 15if($this.is('[data-origwidth]:not([width])')) 16{$this.attr('width',$this.data('origwidth'));} 17if($this.is('[data-origheight]:not([height])')) 18{$this.attr('height',$this.data('origheight'));} 19var height=(this.tagName.toLowerCase()==='object'||($this.attr('height')&&!isNaN(parseInt($this.attr('height'),10))))?parseInt($this.attr('height'),10):$this.height(),width=!isNaN(parseInt($this.attr('width'),10))?parseInt($this.attr('width'),10):$this.width(),aspectRatio=height/width;if(!$this.attr('id')) 20{var videoID='fitvid'+Math.floor(Math.random()*999999);$this.attr('id',videoID);} 21var attrWidth=$this.attr('width');var attrHeight=$this.attr('height');if($this.parent().hasClass('epyt-video-wrapper')) 22{try 23{$this.parent().addClass('fluid-width-video-wrapper').attr('style','padding-top: '+(aspectRatio*100)+"% !important;");$this.removeAttr('height').removeAttr('width');setTimeout(function() 24{var resizeEvent=null;if(typeof(Event)==='function')
25{resizeEvent=new Event('resize');} 26else 27{resizeEvent=document.createEvent('Event');resizeEvent.initEvent('resize',true,true);} 28window.dispatchEvent(resizeEvent);},10);setTimeout(function() 29{if(parseInt($this.parent().css('padding-top'),10)>$this.height()+20) 30{$this.parent().removeClass('fluid-width-video-wrapper').css('padding-top','');$this.attr('width',attrWidth);$this.attr('height',attrHeight);}},100);} 31catch(wraperr) 32{}} 33else 34{var fwvwrap=document.createElement('div');fwvwrap.className='fluid-width-video-wrapper';try 35{$this.wrap(fwvwrap).parent('.fluid-width-video-wrapper').attr('style','padding-top: '+(aspectRatio*100)+"% !important;");$this.removeAttr('height').removeAttr('width');setTimeout(function() 36{var resizeEvent=null;if(typeof(Event)==='function') 37{resizeEvent=new Event('resize');} 38else 39{resizeEvent=document.createEvent('Event');resizeEvent.initEvent('resize',true,true);} 40window.dispatchEvent(resizeEvent);},10);setTimeout(function() 41{if(parseInt($this.parent().css('padding-top'),10)>$this.height()+20) 42{$this.parent().removeClass('fluid-width-video-wrapper').css('padding-top','');$this.attr('width',attrWidth);$this.attr('height',attrHeight);}},100);} 43catch(wraperr) 44{}}});});};$(document).ready(function() 45{$("body").fitVidsEP();$(document).ajaxSuccess(function(e,xhr,settings) 46{if(xhr&&xhr.responseText&&xhr.responseText.indexOf('<iframe ')!==-1) 47{$("body").fitVidsEP();}});});return true;};try 48{epdofitvids(window.jQuery);} 49catch(err) 50{}
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.