1var module_jqueryColorbox={init:function(target,conf){var win=$(window);var target_elements=$(target);var totalMargin=20;var has_conf=typeof(conf)=='object';var enable_hashlink=false;if(has_conf&&typeof conf.enableHashlink!='undefined'&&conf.enableHashlink){enable_hashlink=true;} 2var default_conf={loop:false,maxWidth:'97%',maxHeight:'97%',initialWidth:'80%',initialHeight:'80%',speed:200,current:'{current} / {total}',onComplete:function(){$('#cboxLoadedContent,#cboxPrevious,#cboxNext').on('swipeleft.colorbox',function(e){$.colorbox.next();}).on('swiperight.colorbox',function(e){$.colorbox.prev();});if(enable_hashlink){module_jqueryColorbox.setHash($(this).attr('id'));}},title:function(){var title=$(this).attr('title');if(typeof title=='string'&&title.length>0){title='<span class=\"title-content\">'+title+'</span>';} 3else{title='';} 4return title;}};if(has_conf){if(enable_hashlink){default_conf['onClosed']=function(){module_jqueryColorbox.setHash();};} 5for(k in default_conf){if(typeof conf[k]=='undefined'){conf[k]=default_conf[k];}}} 6else{var conf=default_conf;} 7var style_suffix='';var requiredFiles=this.getRequiredFiles(conf);var clickedElement=false;target_elements.on('click.colorbox_loading',function(e){e.preventDefault();clickedElement=$(this);setLoading(1);});var resizeTimer;fm2.loader.ex(requiredFiles,function(){target_elements.off('click.colorbox_loading');target_elements.colorbox(conf);if(clickedElement){clickedElement.click();setLoading(0);} 8else if(enable_hashlink&&window.location.hash){module_jqueryColorbox.showImage(window.location.hash.substr(1));} 9win.on('resize',function(){if(resizeTimer)clearTimeout(resizeTimer);resizeTimer=setTimeout(function(){if($('#cboxOverlay').is(':visible')){$.colorbox.load();}},300);});});},getRequiredFiles:function(conf){var conf=conf||{};var requiredFiles=[this._cssFile((typeof conf.style=='undefined'?'':conf.style))];var lang=this.getLang(conf);if(lang){requiredFiles[requiredFiles.length]='modules/jqueryColorbox/js/i18n/jquery.colorbox-'
9+lang+'.js'} 10requiredFiles[requiredFiles.length]='modules/jqueryColorbox/js/jquery.colorbox.js';requiredFiles[requiredFiles.length]='modules/jqueryColorbox/js/jquery.event.move.js';requiredFiles[requiredFiles.length]='modules/jqueryColorbox/js/jquery.event.swipe.js';return requiredFiles;},_cssFile:function(style){var style=typeof style=='string'?style:'';switch(style){case'':case'dark':ret='modules/jqueryColorbox/css/colorbox.css::raw';break;default:ret='modules/jqueryColorbox/css/colorbox_'+style+'.css::raw';break;} 11return ret;},showImage:function(imageId){var image=$('#'+imageId);if(image.length>0){image.click();}},setHash:function(hash){if(typeof hash=='undefined'){var hash='';} 12if(typeof this._supportsHistory=='undefined'){this._supportsHistory=(typeof window.history=='object'&&typeof history.replaceState=='function');} 13if(this._supportsHistory){if(hash.length>0){hash='#'+hash;} 14history.replaceState('',document.title,window.location.pathname+hash);}},getLang:function(conf){var ret=false;if(typeof conf=='object'&&typeof conf.language=='string'&&conf.language.length>0&&conf.language!='en'){ret=conf.language;} 15return ret;}};
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.