PageSourceSearch

https://www.ifhkoeln.de/wp-content/cache/min/1/wp-content/plugins/…/js/ultimate-lightbox.js?ver=1788954081

js ifhkoeln.de collected 2026-09-24 15:17:46 UTC 26,956 bytes, 47 lines download raw bytes

1(function(){var initializing=!1,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(prop){var _super=this.prototype;initializing=!0;var prototype=new this();initializing=!1;for(var name in prop){prototype[name]=typeof prop[name]=="function"&&typeof _super[name]=="function"&&fnTest.test(prop[name])?(function(name,fn){return function(){var tmp=this._super;this._super=_super[name];var ret=fn.apply(this,arguments);this._super=tmp;return ret}})(name,prop[name]):prop[name]}
2function Class(){if(!initializing&&this.init)
3this.init.apply(this,arguments)}
4Class.prototype=prototype;Class.prototype.constructor=Class;Class.extend=arguments.callee;return Class}})();var lightbox;var slider={slideWidth:jQuery(".ewd-ulb-slide-container").width(),touchstartx:undefined,touchmovex:undefined,movex:undefined,index:0,longTouch:undefined,};var defaults={custom_css:'',transition_class:'ewd-ulb-horizontal-slide',speed:600,height:'100%',width:'100%',closable:!0,loop:!0,keyboard_controls:!0,show_thumbnails:'bottom',show_thumbnail_toggle:!0,curtain_slide:!1,hide_elements:['description','thumbnails'],autoplay:!1,autoplay_interval:4000,show_progress_bar:!1,mousewheel_navigation:!0,zoomLevel:0,fullsize:!1,ulb_arrow:'a',ulb_icon_set:'a',controls:{'top_right_controls':['exit'],'top_left_controls':['autoplay','zoom','zoom_out','download','fullscreen'],'bottom_right_controls':['slide_counter'],'bottom_left_controls':[]}};var EWD_ULB_LightboxSlide=Class.extend({init:function(element,length){this.element=element;this.source=jQuery(element).data("ulbsource");this.title=jQuery(element).data("ulbtitle");this.description=jQuery(element).data("ulbdescription");this.gallery=jQuery(element).data("ulbGallery");if(this.source){var youtube=this.source.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i);if(youtube){this.video="youtube";this.source=this.source.replace("watch?v=","embed/")}else{this.video=!1}}else{this.video=!1}
5if(jQuery(element).data("ulbheight")){this.height=jQuery(element).data("ulbheight")}else{this.height=315}
6if(jQuery(element).data("ulbwidth")){this.width=jQuery(element).data("ulbwidth")}else{this.width=560}}});var UltimateLightbox=Class.extend({init:function(options){this.settings=jQuery.extend({},defaults,options);this.displaying=!1;var elements=[];jQuery('.ewd-ulb-lightbox, .ewd-ulb-lightbox-noclick-image').each(function(index,value){var Slide=new EWD_ULB_LightboxSlide(this,elements.length);jQuery(this).data('slideIndex',elements.length);elements.push(Slide)});this.elements=elements;this.currentSlide=0;this.maxSlide=this.elements.length-1;this.setMobileClasses();if(this.settings.curtain_slide){this.getPairedImages()}},getPairedImages:function(){var sources=[];jQuery(this.elements).each(function(index,element){sources.push(element.source)});var data='image_sources='+JSON.stringify(sources)+'&action=ulb_get_paired_images';jQuery.post(ajaxurl,data,function(response){var paired_images=jQuery.parseJSON(response);jQuery.each(paired_images,function(index,element){if(element!=""){img_height=paired_images.height;var bef_img=jQuery('.ewd-ulb-slide-img').children("img[src='"+index+"']");bef_img.wrap("<div class='twentytwenty-container' style='height:100%;width100%;vertical-align:middle;'></div>");bef_img.after("<img src= '"+element+"'/>")}})})},setMobileClasses:function(){if(jQuery.inArray('description',this.settings.hide_elements)!==-1){this.settings.descriptionClass='ewd-ulb-mobile-hide'}else{this.settings.descriptionClass=''}
7if(jQuery.inArray('title',this.settings.hide_elements)!==-1){this.settings.titleClass='ewd-ulb-mobile-hide'}else{this.settings.titleClass=''}
8if(jQuery.inArray('thumbnails',this.settings.hide_elements)!==-1){this.settings.thumbnailsClass='ewd-ulb-mobile-hide'}else{this.settings.thumbnailsClass=''}
9if(this.settings.descriptionClass=='ewd-ulb-mobile-hide'&&this.settings.titleClass=='ewd-ulb-mobile-hide'){this.settings.overlayClass='ewd-ulb-mobile-hide'}else{this.settings.overlayClass=''}},setCurrentSlide:function(targetElement){jQuery(this.elements).each(function(index,element){if(element.source==jQuery(targetElement).data('ulbsource')){lightbox.currentSlide=index}})},toggle:function(){if(this.displaying){this.closeLightbox()}else{this.openLightbox()}},closeLightbox:function(){var checkForVid=jQuery(".ewd-ulb-active-slide.ewd-ulb-image-displaying")
10if(checkForVid.find('iframe').length>0){if(checkForVid.find('iframe').attr('src').indexOf("autoplay")!=-1){checkForVid.find('iframe').attr('src',checkForVid.find('iframe').attr('src').replace('?autoplay=1',''))}else{checkForVid.find('iframe').attr('src',checkForVid.find('iframe').attr('src'))}}
11this.displaying=!1;jQuery('.ewd-ulb-background').css('display','none');jQuery('.ewd-ulb-lightbox-container').css('display','none');this.switchSlide();jQuery('.ewd-ulb-active-slide').removeClass('ewd-ulb-active-slide');jQuery('.ewd-ulb-active-thumbnail').removeClass('ewd-ulb-active-thumbnail')},openLightbox:function(){this.displaying=!0;jQuery('.ewd-ulb-background').css('display','inline');jQuery('.ewd-ulb-lightbox-container').css('display','inline');if(this.settings.autoplay){this.startAutoplay()}
12jQuery('.ewd-ulb-slide-img').each(function(){var thisSlideImg=jQuery(this);if(thisSlideImg.find('iframe').length>0){thisSlideImg.find('iframe').css('height','calc(100% - 40px)');thisSlideImg.find('iframe').css('max-width','calc(100% - 40px)')}
12});this.switchSlide();this.selectThumbnails();lightbox.noZoom();var checkForVid=jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying');if(checkForVid.find('iframe').length>0){if(checkForVid.find('iframe').attr('src').indexOf("autoplay")==-1){checkForVid.find('iframe').attr('src',checkForVid.find('iframe').attr('src')+'?autoplay=1')}}},enlargeImage:function(){this.displaying=!0;jQuery('.ewd-ulb-background').css('display','inline');jQuery('.ewd-ulb-lightbox-container').css('display','inline');if(this.settings.autoplay){this.startAutoplay()}
13this.switchSlide();this.selectThumbnails();lightbox.noZoom()},nextSlide:function(){var oldSlide=this.currentSlide;do{if(this.currentSlide!=this.maxSlide){this.currentSlide=this.currentSlide+1}else if(this.currentSlide==this.maxSlide&&ewd_ulb_php_data.gallery_loop){if(this.maxSlide==0){return}
14this.currentSlide=0}else if(this.currentSlide==this.maxSlide&&!ewd_ulb_php_data.gallery_loop){return}}while(this.elements[oldSlide].gallery!=this.elements[this.currentSlide].gallery);jQuery('.ewd-ulb-slide').addClass('ewd-ulb-transition-next');this.switchSlide(oldSlide);var checkForVid=jQuery(".ewd-ulb-slide[data-slideindex='"+oldSlide+"']");if(checkForVid.find('iframe').length>0){if(checkForVid.find('iframe').attr('src').indexOf("autoplay")!=-1){checkForVid.find('iframe').attr('src',checkForVid.find('iframe').attr('src').replace('?autoplay=1',''));return!1}else{checkForVid.find('iframe').attr('src',checkForVid.find('iframe').attr('src'));return!1}}},previousSlide:function(){var oldSlide=this.currentSlide;do{if(this.currentSlide!=0){this.currentSlide=this.currentSlide-1}else if(this.currentSlide==0&&ewd_ulb_php_data.gallery_loop){if(this.maxSlide==0){return}
15this.currentSlide=this.maxSlide}else if(this.currentSlide==0&&!ewd_ulb_php_data.gallery_loop){return}}while(this.elements[oldSlide].gallery!=this.elements[this.currentSlide].gallery);jQuery('.ewd-ulb-slide').addClass('ewd-ulb-transition-previous');this.switchSlide(oldSlide);var checkForVid=jQuery(".ewd-ulb-slide[data-slideindex='"+oldSlide+"']");if(checkForVid.find('iframe').length>0){if(checkForVid.find('iframe').attr('src').indexOf("autoplay")!=-1){checkForVid.find('iframe').attr('src',checkForVid.find('iframe').attr('src').replace('?autoplay=1',''));return!1}else{checkForVid.find('iframe').attr('src',checkForVid.find('iframe').attr('src'));return!1}}},goToSlide:function(slideIndex){var oldSlide=this.currentSlide;this.currentSlide=slideIndex;jQuery('.ewd-ulb-slide').addClass('ewd-ulb-transition-next');this.switchSlide(oldSlide)},switchSlide:function(oldSlide){if(typeof oldSlide!=="undefined"){jQuery(".ewd-ulb-slide-thumbnail[data-slideindex='"+oldSlide+"']").removeClass('ewd-ulb-active-thumbnail');jQuery(".ewd-ulb-slide[data-slideindex='"+oldSlide+"']").removeClass('ewd-ulb-image-displaying')
16jQuery(".ewd-ulb-slide[data-slideindex='"+oldSlide+"']").addClass('ewd-ulb-old-active-slide');if(oldSlide!=this.currentSlide){setTimeout(function(){jQuery(".ewd-ulb-slide[data-slideindex='"+oldSlide+"']").removeClass('ewd-ulb-active-slide ewd-ulb-old-active-slide')},500)}}
17jQuery(".ewd-ulb-slide-thumbnail[data-slideindex='"+this.currentSlide+"']").addClass('ewd-ulb-active-thumbnail');jQuery(".ewd-ulb-slide[data-slideindex='"+this.currentSlide+"']").addClass('ewd-ulb-active-slide ewd-ulb-image-displaying');var slideNumber=this.currentSlide+1;jQuery(".ewd-ulb-current-count-indicator").each(function(){jQuery(this).html(slideNumber)});setTimeout(function(){jQuery('.ewd-ulb-slide').removeClass('ewd-ulb-transition-next ewd-ulb-transition-previous')},500);lightbox.resizeOverlay();lightbox.setDownloadLinks()},selectThumbnails:function(){var gallery=this.getCurrentGallery();jQuery('.ewd-ulb-slide-thumbnail').addClass('ewd-ulb-thumbnail-hidden');jQuery('.ewd-ulb-slide-thumbnail[data-ulbGallery="'+gallery+'"]').removeClass('ewd-ulb-thumbnail-hidden')},getCurrentGallery:function(){var gallery="";var currentSlide=this.currentSlide;jQuery(this.elements).each(function(index,element){if(index==currentSlide){gallery=element.gallery}});return gallery},resizeOverlay:function(){var imgWidth=jQuery(".ewd-ulb-active-slide.ewd-ulb-image-displaying img").first().width();var imgHeight=jQuery(".ewd-ulb-active-slide.ewd-ulb-image-displaying img").first().height();var containerWidth=jQuery(".ewd-ulb-active-slide.ewd-ulb-image-displaying").first().width();var containerHeight=jQuery(".ewd-ulb-active-slide.ewd-ulb-image-displaying").first().height();var marginWidth=(containerWidth-imgWidth)/2;var TwentyConHeight=jQuery(".twentytwenty-container").height();var TwentyConWidth=jQuery(".twentytwenty-container").width();jQuery(".ewd-ulb-slide-overlay").css('width',imgWidth+'px');jQuery(".ewd-ulb-slide-overlay").css('margin','0px '+marginWidth+'px');if(jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying').find('.twentytwenty-container').length>
170){if(imgWidth==0&&imgHeight==0){return}else if(imgWidth!=TwentyConWidth||imgHeight!=containerHeight){jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying').find('.twentytwenty-container').css('margin-left',marginWidth+'px');jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying').find('.twentytwenty-container').css('width',imgWidth+'px');jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying').find('.twentytwenty-container').css('height',containerHeight+'px');if(!jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying').find('.twentytwenty-wrapper').length>0){jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying').find('.ewd-ulb-slide-img').append('<style>.ewd-ulb-slide-img:before{height:0px;}</style>');jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying').find('.twentytwenty-container').twentytwenty()}}}},toggleThumbnailBar:function(){jQuery('.ewd-ulb-bottom-thumbnail-bar, .ewd-ulb-top-thumbnail-bar, .ewd-thumbnail-toggle-down, .ewd-thumbnail-toggle-up').toggleClass('ewd-ulb-thumbnail-bar-hidden');jQuery('.ewd-thumbnail-toggle-down, .ewd-thumbnail-toggle-up').toggleClass('ewd-ulb-hidden')},toggleAutoplay:function(){if(this.settings.autoplay){this.stopAutoplay()}else{this.startAutoplay()}},startAutoplay:function(){if(this.interval){clearInterval(this.interval)}
18this.settings.autoplay=!0;this.interval=setInterval(function(){lightbox.nextSlide()},this.settings.autoplay_interval)},stopAutoplay:function(){this.settings.autoplay=!1;clearInterval(this.interval)},ZoomOut:function(){if(this.settings.zoomLevel==2){this.zoomOne()}else if(this.settings.zoomLevel==1){this.noZoom()}
19this.removeFullSize()},toggleZoom:function(){if(this.settings.zoomLevel==0){this.zoomOne()}else if(this.settings.zoomLevel==1){this.zoomTwo()}else{this.noZoom()}
20this.removeFullSize()},zoomOne:function(){this.settings.zoomLevel=1;jQuery('.ewd-ulb-slide').addClass('ewd-ulb-zoom-one');jQuery('.ewd-ulb-slide').removeClass('ewd-ulb-zoom-two')},zoomTwo:function(){this.settings.zoomLevel=2;jQuery('.ewd-ulb-slide').removeClass('ewd-ulb-zoom-one');jQuery('.ewd-ulb-slide').addClass('ewd-ulb-zoom-two')},noZoom:function(){this.settings.zoomLevel=0;jQuery('.ewd-ulb-slide').removeClass('ewd-ulb-zoom-one');jQuery('.ewd-ulb-slide').removeClass('ewd-ulb-zoom-two')},fullscreen:function(){if(!document.fullscreenElement&&!document.mozFullScreenElement&&!document.webkitFullscreenElement&&!document.msFullscreenElement){jQuery('ewd-ulb-fullscreen').addClass('ewd-ulb-regular_screen');if(document.documentElement.requestFullscreen){document.documentElement.requestFullscreen()}else if(document.documentElement.msRequestFullscreen){document.documentElement.msRequestFullscreen()}else if(document.documentElement.mozRequestFullScreen){document.documentElement.mozRequestFullScreen()}else if(document.documentElement.webkitRequestFullscreen){document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}}else{jQuery('ewd-ulb-fullscreen').removeClass('ewd-ulb-regular_screen');if(document.exitFullscreen){document.exitFullscreen()}else if(document.msExitFullscreen){document.msExitFullscreen()}else if(document.mozCancelFullScreen){document.mozCancelFullScreen()}else if(document.webkitExitFullscreen){document.webkitExitFullscreen()}}},toggleFullSize:function(){this.noZoom();if(this.settings.fullsize){this.removeFullSize()}else{this.goFullSize()}},goFullSize:function(){var elem=jQuery('.ewd-ulb-active-slide .ewd-ulb-slide-img img')[0];if(jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying').find('.twentytwenty-container').length>0){return}
21if(!elem.fullscreenElement&&!elem.mozFullScreenElement&&!elem.webkitFullscreenElement&&!elem.msFullscreenElement){jQuery('ewd-ulb-fullscreen').addClass('ewd-ulb-regular_screen');if(elem.requestFullscreen){elem.requestFullscreen()}else if(elem.msRequestFullscreen){elem.msRequestFullscreen()}else if(elem.mozRequestFullScreen){elem.mozRequestFullScreen()}else if(elem.webkitRequestFullscreen){elem.webkitRequestFullscreen()}}},removeFullSize:function(){jQuery('.ewd-ulb-slide').removeClass('ewd-ulb-fullsize-image');this.settings.fullsize=!1}
21,setDownloadLinks:function(){jQuery('.ewd-ulb-download-link').attr('href',jQuery('.ewd-ulb-active-slide div img').attr('src'))},});jQuery(document).ready(function($){if(typeof ewd_ulb_php_data=="undefined"){ewd_ulb_php_data=[]}
22lightbox=new UltimateLightbox(ewd_ulb_php_data);jQuery('.ewd-ulb-lightbox, .ewd-ulb-open-lightbox').on('click',function(event){if(typeof jQuery(event.currentTarget).data('slideIndex')!=='undefined'){lightbox.currentSlide=jQuery(event.currentTarget).data('slideIndex')}else{lightbox.setCurrentSlide(event.currentTarget)}
23lightbox.toggle();event.preventDefault()});if(jQuery('.ewd-ulb-lightbox, .ewd-ulb-lightbox-noclick-image').length){EWD_ULB_Add_Lightbox_HTML(lightbox);jQuery('.ewd-ulb-slide-container').on('click.background',function(event){if(event.target.nodeName!==undefined&&(event.target.nodeName=="IMG"||event.target.nodeName=="iframe"||(ewd_ulb_php_data.hasOwnProperty('background_close')&&!ewd_ulb_php_data.background_close))){return}
24lightbox.toggle()});jQuery('.ewd-ulb-slide-control-next').on('click.next',function(){lightbox.noZoom();lightbox.stopAutoplay();lightbox.nextSlide()});jQuery('.ewd-ulb-slide-control-previous').on('click.prev',function(){lightbox.noZoom();lightbox.stopAutoplay();lightbox.previousSlide()});jQuery('.ewd-thumbnail-scroll-button-left').on('click.prev',function(){lightbox.noZoom();lightbox.stopAutoplay()});jQuery('.ewd-thumbnail-scroll-button-right').on('click.next',function(){lightbox.noZoom();lightbox.stopAutoplay()});jQuery('.ewd-ulb-slide-thumbnail').on('click.thumbnail',function(){var slideIndex=jQuery(this).data("slideindex");lightbox.noZoom();lightbox.stopAutoplay();lightbox.goToSlide(slideIndex)});jQuery('.ewd-thumbnail-toggle').on('click.thumbnail_toggle',function(){lightbox.toggleThumbnailBar()});jQuery(window).on('resize',function(){lightbox.resizeOverlay()});jQuery('.ewd-ulb-exit').on('click.exit',function(){lightbox.toggle()});jQuery('.ewd-ulb-autoplay').on('click.autoplay',function(){lightbox.toggleAutoplay()});jQuery('.ewd-ulb-zoom').on('click.zoom',function(){lightbox.toggleZoom()});jQuery('.ewd-ulb-zoom_out').on('click.zoom_out',function(){lightbox.ZoomOut()});jQuery('.ewd-ulb-fullsize').on('click.fullsize',function(){lightbox.toggleFullSize()});jQuery('.ewd-ulb-fullscreen').on('click.zoom_out',function(){lightbox.fullscreen()});jQuery('.ewd-ulb-download').wrap('<a class="ewd-ulb-download-link" href="empty.png" download></a>');if(lightbox.settings.keyboard_controls){jQuery(document).on('keyup',function(e){if(e.which==27){lightbox.closeLightbox()}
25if(e.which==37){lightbox.noZoom();lightbox.stopAutoplay();lightbox.previousSlide()}
26if(e.which==39){lightbox.noZoom();lightbox.stopAutoplay();lightbox.nextSlide()}})}
27jQuery(".ewd-ulb-slide-area").on("touchstart",function(event){slider.longTouch=!1;setTimeout(function(){window.slider.longTouch=!0},250);slider.touchstartx=event.originalEvent.touches[0].pageX});jQuery(".ewd-ulb-slide-area").on("touchmove",function(event){slider.touchmovex=event.originalEvent.touches[0].pageX;slider.slideWidth=jQuery(".ewd-ulb-slide-container").width();slider.movex=(slider.touchstartx-slider.touchmovex);var panx=100-slider.movex/6;if(jQuery('.ewd-ulb-active-slide.ewd-ulb-image-displaying').find('.twentytwenty-container').length>0){return}
28if(slider.movex>0){if(slider.movex<600){jQuery(".ewd-ulb-slide-container").css('transform','translate3d(-'+slider.movex+'px,0,0)')}
29if(panx<100){jQuery(".ewd-ulb-image-displaying img").css('transform','translate3d(-'+panx+'px,0,0)')}}else if(slider.movex<0){if(slider.movex<600){jQuery(".ewd-ulb-slide-container").css('transform','translate3d('+Math.abs(slider.movex)+'px,0,0)')}
30if(panx<100){jQuery(".ewd-ulb-image-displaying img").css('transform','translate3d('+Math.abs(panx)+'px,0,0)')}}});jQuery(".ewd-ulb-slide-area").on("touchend",function(event){var absMove=Math.abs(slider.movex);if(absMove>slider.slideWidth/2||slider.longTouch===!1){if(slider.movex<0){lightbox.previousSlide()}else if(slider.movex>0){lightbox.nextSlide()}}
31jQuery(".ewd-ulb-slide-container").css('transform','none');jQuery(".ewd-ulb-image-displaying img").css('transform','none')})}});function EWD_ULB_Add_Lightbox_HTML(lightbox){var Custom_CSS='<style>';Custom_CSS+=lightbox.settings.custom_css;Custom_CSS+='</style>';Custom_CSS+=lightbox.settings.styling_options;var Top_Toolbar_HTML='<div class="ewd-ulb-top-toolbar">';Top_Toolbar_HTML+='<div class="ewd-ulb-left-top-toolbar">'+EWD_ULB_Add_Controls(lightbox.settings.controls.top_left_controls,lightbox.maxSlide)+'</div>';Top_Toolbar_HTML+='<div class="ewd-ulb-right-top-toolbar">'+EWD_ULB_Add_Controls(lightbox.settings.controls.top_right_controls,lightbox.maxSlide)+'</div>';Top_Toolbar_HTML+='</div>';
31var Top_Thumbnail_Bar_HTML='<div class="ewd-ulb-top-thumbnail-bar '+lightbox.settings.thumbnailsClass+'">';Top_Thumbnail_Bar_HTML+='<div class="ewd-thumbnail-scroll-button ewd-thumbnail-scroll-button-left">a</div>';Top_Thumbnail_Bar_HTML+='<div class="ewd-thumbnail-scroll-button ewd-thumbnail-scroll-button-right">b</div>';Top_Thumbnail_Bar_HTML+='<div class="ewd-ulb-top-thumbnails"><div class="ewd-ulb-thumbnails-inside">';if(lightbox.settings.show_thumbnails=="top"){Top_Thumbnail_Bar_HTML+=EWD_ULB_Thumbnails_HTML(lightbox.elements)}
32Top_Thumbnail_Bar_HTML+='</div></div>';Top_Thumbnail_Bar_HTML+='</div>';if(lightbox.settings.show_thumbnail_toggle&&lightbox.settings.show_thumbnails=="top"){Top_Thumbnail_Bar_HTML+='<div class="ewd-thumbnail-toggle ewd-thumbnail-toggle-top ewd-thumbnail-toggle-down ewd-ulb-hidden">&#9660;</div><div class="ewd-thumbnail-toggle ewd-thumbnail-toggle-top ewd-thumbnail-toggle-up">&#9650;</div>'}
33var Slide_Area_HTML='<div class="ewd-ulb-slide-area">';if(lightbox.elements.length>1){Slide_Area_HTML+='<div class="ewd-ulb-slide-control ewd-ulb-slide-control-previous ewd-ulb-arrow">'+lightbox.settings.ulb_arrow+'</div>'}
34Slide_Area_HTML+='<div class="ewd-ulb-slide-container">';jQuery(lightbox.elements).each(function(index,value){Slide_Area_HTML+='<div class="ewd-ulb-slide '+lightbox.settings.transition_class+'" data-slideindex="'+index+'">';Slide_Area_HTML+='<div class="ewd-ulb-slide-img">';if(this.video=="youtube"){Slide_Area_HTML+='<iframe width="'+this.width+'" height="'+this.height+'" src="'+this.source+'" frameborder="0" allowfullscreen></iframe>'}else{Slide_Area_HTML+='<img src="'+this.source+'" />'}
35Slide_Area_HTML+='</div>';if((this.title!=undefined&&this.title!="")||(this.description!=undefined&&this.description!="")){Slide_Area_HTML+='<div class="ewd-ulb-slide-overlay '+lightbox.settings.overlayClass+'">';if(this.title!=undefined&&this.title!=""){Slide_Area_HTML+='<div class="ewd-ulb-slide-title '+lightbox.settings.titleClass+'">'+this.title+'</div>'}
36if(this.description!=undefined&&this.description!=""){Slide_Area_HTML+='<div class="ewd-ulb-slide-description '+lightbox.settings.descriptionClass+'">'+this.description+'</div>'}
37Slide_Area_HTML+='</div>'}
38Slide_Area_HTML+='</div>'});Slide_Area_HTML+='</div>';if(lightbox.elements.length>1){Slide_Area_HTML+='<div class="ewd-ulb-slide-control ewd-ulb-slide-control-next ewd-ulb-arrow">'+String.fromCharCode(lightbox.settings.ulb_arrow.charCodeAt(lightbox.settings.ulb_arrow.length-1)+1)+'</div>'}
39Slide_Area_HTML+='</div>';var Bottom_Thumbnail_Bar_HTML='';if(lightbox.settings.show_thumbnail_toggle&&lightbox.settings.show_thumbnails=="bottom"){Bottom_Thumbnail_Bar_HTML+='<div class="ewd-thumbnail-toggle ewd-thumbnail-toggle-bottom ewd-thumbnail-toggle-down">&#9660;</div><div class="ewd-thumbnail-toggle ewd-thumbnail-toggle-bottom ewd-thumbnail-toggle-up ewd-ulb-hidden">&#9650;</div>'}
40Bottom_Thumbnail_Bar_HTML+='<div class="ewd-ulb-bottom-thumbnail-bar '+lightbox.settings.thumbnailsClass+'">';Bottom_Thumbnail_Bar_HTML+='<div class="ewd-thumbnail-scroll-button ewd-thumbnail-scroll-button-left">a</div>';Bottom_Thumbnail_Bar_HTML+='<div class="ewd-thumbnail-scroll-button ewd-thumbnail-scroll-button-right">b</div>';Bottom_Thumbnail_Bar_HTML+='<div class="ewd-ulb-bottom-thumbnails"><div class="ewd-ulb-thumbnails-inside">';if(lightbox.settings.show_thumbnails=="bottom"){Bottom_Thumbnail_Bar_HTML+=EWD_ULB_Thumbnails_HTML(lightbox.elements)}
41Bottom_Thumbnail_Bar_HTML+='</div></div>';Bottom_Thumbnail_Bar_HTML+='</div>';var Bottom_Toolbar_HTML='<div class="ewd-ulb-bottom-toolbar">';Bottom_Toolbar_HTML+='<div class="ewd-ulb-left-bottom-toolbar">'+EWD_ULB_Add_Controls(lightbox.settings.controls.bottom_left_controls,lightbox.maxSlide)+'</div>';Bottom_Toolbar_HTML+='<div class="ewd-ulb-right-bottom-toolbar">'+EWD_ULB_Add_Controls(lightbox.settings.controls.bottom_right_controls,lightbox.maxSlide)+'</div>';Bottom_Toolbar_HTML+='</div>';var HTML='<div class="ewd-ulb-background'+lightbox.settings.lightbox_background_class+'" style="display:none;width:'+lightbox.settings.width+';height:'+lightbox.settings.height+'"></div>';HTML+='<div class="ewd-ulb-lightbox-container ewd-ulb-thumbnails-'+ewd_ulb_php_data.show_thumbnails+lightbox.settings.lightbox_class+'" style="display:none;">';HTML+=Custom_CSS;HTML+=Top_Toolbar_HTML;HTML+=Top_Thumbnail_Bar_HTML;HTML+=Slide_Area_HTML;
41HTML+=Bottom_Thumbnail_Bar_HTML;HTML+=Bottom_Toolbar_HTML;HTML+="</div>";jQuery('body').append(HTML)}
42function EWD_ULB_Thumbnails_HTML(slides){var Slide_HTML='';var prev_gallery;jQuery(slides).each(function(index,value){Slide_HTML+='<div class="ewd-ulb-slide-thumbnail" data-slideindex="'+index+'" data-ulbGallery="'+this.gallery+'">';if(this.video=="youtube"){Slide_HTML+='<img src="http://img.youtube.com/vi/'+/[^/]*$/.exec(this.source)[0].split('?')[0]+'/default.jpg" />'}else{Slide_HTML+='<img src="'+this.source+'" />'}
43Slide_HTML+='</div>';prev_gallery=this.gallery});return Slide_HTML}
44function EWD_ULB_Add_Controls(controls,maxSlide){var Controls_HTML='';jQuery(controls).each(function(){if(this=='slide_counter'){Controls_HTML+='<div class="ewd-ulb-control ewd-ulb-slide-counter"><span class="ewd-ulb-current-count-indicator">1</span>/<span class="ewd-ulb-max-count-indicator">'+(maxSlide+1)+'</span></div>'}else{Controls_HTML+='<div class="ewd-ulb-control ewd-ulb-'+this+'">'+lightbox.settings.ulb_icon_set+'</div>'}});return Controls_HTML}
45jQuery(document).ready(function($){$('.ewd-ulb-bottom-thumbnail-bar').each(function(){var thisThumbBar=$(this);var numberOfThumbs=thisThumbBar.find('.ewd-ulb-slide-thumbnail').length;var widthOfThumbsInside=numberOfThumbs*144;thisThumbBar.find('.ewd-ulb-thumbnails-inside').css('width',widthOfThumbsInside+'px');thisThumbBar.find('.ewd-thumbnail-scroll-button-right').click(function(){var widthOfThumbs=thisThumbBar.find('.ewd-ulb-bottom-thumbnails').width();if(widthOfThumbs>=widthOfThumbsInside){var rightClickStop=0}else{var rightClickStop=(widthOfThumbsInside*-1)+widthOfThumbs}
46var thumbsInsideLeft=thisThumbBar.find('.ewd-ulb-thumbnails-inside').position().left;if(thumbsInsideLeft!=rightClickStop){thisThumbBar.find('.ewd-ulb-thumbnails-inside').css('left','-=144')}});thisThumbBar.find('.ewd-thumbnail-scroll-button-left').click(function(){var leftClickStop=0;var thumbsInsideLeft=thisThumbBar.find('.ewd-ulb-thumbnails-inside').position().left;if(thumbsInsideLeft!=leftClickStop){thisThumbBar.find('.ewd-ulb-thumbnails-inside').css('left','+=144')}})});$('.ewd-ulb-top-thumbnail-bar').each(function(){var thisTopThumbBar=$(this);var numberOfTopThumbs=thisTopThumbBar.find('.ewd-ulb-slide-thumbnail').length;var widthOfTopThumbsInside=numberOfTopThumbs*144;thisTopThumbBar.find('.ewd-ulb-thumbnails-inside').css('width',widthOfTopThumbsInside+'px');thisTopThumbBar.find('.ewd-thumbnail-scroll-button-right').click(function(){var widthOfTopThumbs=thisTopThumbBar.find('.ewd-ulb-top-thumbnails').width();if(widthOfTopThumbs>=widthOfTopThumbsInside){var rightClickStopTop=0}else{var rightClickStopTop=(widthOfTopThumbsInside*-1)+widthOfTopThumbs}
47var thumbsInsideLeftTop=thisTopThumbBar.find('.ewd-ulb-thumbnails-inside').position().left;if(thumbsInsideLeftTop!=rightClickStopTop){thisTopThumbBar.find('.ewd-ulb-thumbnails-inside').css('left','-=144')}});thisTopThumbBar.find('.ewd-thumbnail-scroll-button-left').click(function(){var leftClickStopTop=0;var thumbsInsideLeftTop=thisTopThumbBar.find('.ewd-ulb-thumbnails-inside').position().left;if(thumbsInsideLeftTop!=leftClickStopTop){thisTopThumbBar.find('.ewd-ulb-thumbnails-inside').css('left','+=144')}})})});jQuery(document).ready(function($){$('.ewd-ulb-slide-img').each(function(){var thisSlideImg=$(this);if(thisSlideImg.find('iframe').length>0){thisSlideImg.find('iframe').css({"display":"inline-block"})}})})

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.