PageSourceSearch

https://impartner.com/wp-content/plugins/divi-modules-pro/includes/modules/Masonry/custom.js?ver=1.2.9.5

js impartner.com collected 2026-10-02 04:06:45 UTC 2,570 bytes, 1 lines download raw bytes

1(function($){window.addEventListener("load",function(){window.dmpro_masonry_gallery();window.onresize=window.dmpro_masonry_gallery});$.fn.lockScroll=function(e){e.preventDefault()};$.fn.dmpro_masonry_gallery=function(params){let $this=$(this),resize=true;preventpagescroll=$this.attr("data-preventpagescroll");if(typeof $.magnificPopup==="undefined"){setTimeout(function(){$this.dmpro_masonry_gallery(params)},300);return}if($('body').hasClass('et-fb')){resize=false}let fixedContentPos=false;if('true'===preventpagescroll){fixedContentPos='auto'}let masonry=$this.masonry({itemSelector:'.grid-item',columnWidth:'.grid-sizer',percentPosition:true,gutter:'.gutter-sizer',resize:resize});$this.magnificPopup({delegate:'a',type:'image',removalDelay:500,fixedContentPos:fixedContentPos,gallery:{enabled:true,navigateByImgClick:true,tCounter:'%curr% / %total%'},mainClass:'mfp-fade mfp-img-mobile',zoom:{enabled:true,duration:500,opener:function(element){return element.find('img')}},autoFocusLast:false,image:{verticalFit:true,titleSrc:function(item){let title="";if(item.el.attr('data-title')){title+=item.el.attr('data-title')}if(item.el.attr('data-caption')){title+="<small class='dmpro_masonry_gallery_caption'>"+item.el.attr('data-caption')+"</small>"}return title}},callbacks:{open:function(){var swidth=(window.innerWidth-$(window).width());$('body').addClass('noscroll');$('body').css('margin-right',swidth+'px')},close:function(){$('body').removeClass('noscroll');$('body').css('margin-right',0)}}});$this.find('.grid-item .img-container').on('click',function(e){e.preventDefault();return true});var layout=$.debounce(250,function(){masonry.masonry('layout')});if($this.attr("data-lazy")==="true"){var observer=new MutationObserver(layout);var config={attributes:true,childList:true,subtree:true};observer.observe($this[0],config)}let imgLoad=imagesLoaded(masonry[0],{background:true});imgLoad.on('progress',layout);return masonry.masonry('layout')};window.dmpro_masonry_gallery=function(carousel){$(".dmpro_masonry_gallery").each(function(){var clazz=$(this).attr("class").replace(/ /g,".");$("."+clazz+" .grid").dmpro_masonry_gallery()});$('.dmpro_masonry_gallery .grid .grid-item').hover(function(){const icon_element=$(this).find(".dmpro-mansonry-gallery-icon");icon_element.replaceWith(icon_element.clone());const title_element=$(this).find(".dmpro-mansonry-gallery-title");title_element.replaceWith(title_element.clone());const caption_element=$(this).find(".dmpro-mansonry-gallery-caption");caption_element.replaceWith(caption_element.clone())},)}})(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.