PageSourceSearch

https://miblimousine.com/wp-content/uploads/siteground-optimizer-a…/mgpd-premium-features.min.js?ver=1.2.59

js miblimousine.com collected 2026-09-24 14:16:11 UTC 4,815 bytes, 14 lines download raw bytes

1jQuery(document).ready(function($){'use strict';if(typeof mgpd_ajax==='undefined'){return}
2if(typeof imagesLoaded==='undefined'){console.error('MGPD: imagesLoaded library not found')}
3if(typeof Masonry==='undefined'&&typeof $.fn.masonry==='undefined'){console.error('MGPD: Masonry library not found')}
4if(mgpd_ajax.ajax_filter_enabled){$('.mgpd-filter-btn').on('click',function(e){e.preventDefault();var $button=$(this);var category=$button.data('category');var $container=$('#mgp-items');var $filterBtns=$('.mgpd-filter-btn');$filterBtns.removeClass('active');$button.addClass('active');$container.addClass('mgpd-loading');var ajaxData={action:'mgpd_ajax_filter_posts',category:category,settings:mgpd_ajax.settings,nonce:mgpd_ajax.nonce,post_type:mgpd_ajax.post_type};$.ajax({url:mgpd_ajax.ajaxurl,type:'POST',data:ajaxData,timeout:30000,success:function(response){if(response&&response.success&&response.data){$container.find('.mgp-row').html(response.data);$container.removeClass('mgpd-loading');if(mgpd_ajax.layout_type==='masonry'){setTimeout(function(){if(typeof window.mgpdReinitializeMasonry==='function'){window.mgpdReinitializeMasonry()}else{console.warn('MGPD: mgpdReinitializeMasonry function not found');var $masonry=$container.find('.mgpd-masonry');if($masonry.length&&typeof $.fn.masonry!=='undefined'){if($masonry.data('masonry')){var masonryInstance=$masonry.data('masonry');masonryInstance.reloadItems();masonryInstance.layout()}else{imagesLoaded($masonry[0],function(){var newMasonryInstance=new Masonry($masonry[0],{itemSelector:'.mgpd-masonry-item',percentPosition:!0,gutter:0,horizontalOrder:!0});$masonry.data('masonry',newMasonryInstance)})}}}},300)}
5initHoverEffects();if(typeof jQuery.fn.venobox!=='undefined'){$container.find('.venobox').venobox()}}else{$container.removeClass('mgpd-loading');showError(mgpd_ajax.texts.error_loading)}},error:function(xhr,status,error){$container.removeClass('mgpd-loading');console.error('AJAX Filter Error:',error);showError(mgpd_ajax.texts.error_loading)}})})}
6if(mgpd_ajax.infinite_scroll_enabled&&mgpd_ajax.max_pages>1){var loading=!1;var currentPage=parseInt(mgpd_ajax.current_page);var maxPages=parseInt(mgpd_ajax.max_pages);$(window).on('scroll.mgpd',function(){if(loading||currentPage>=maxPages){return}
7var $trigger=$('.mgpd-infinite-scroll-trigger');if(!$trigger.length){return}
8var triggerTop=$trigger.offset().top;var windowBottom=$(window).scrollTop()+$(window).height();if(windowBottom>=triggerTop-100){loading=!0;currentPage++;var $spinner=$('.mgpd-loading-spinner');$spinner.show();var ajaxData={action:'mgpd_infinite_scroll_posts',page:currentPage,settings:mgpd_ajax.settings,nonce:mgpd_ajax.nonce,post_type:mgpd_ajax.post_type};$.ajax({url:mgpd_ajax.ajaxurl,type:'POST',data:ajaxData,timeout:30000,success:function(response){if(response&&response.success&&response.data){var $newItems=$(response.data);var $container=$('#mgp-items .mgp-row');$container.append($newItems);if(mgpd_ajax.layout_type==='masonry'){setTimeout(function(){if(typeof window.mgpdReinitializeMasonry==='function'){window.mgpdReinitializeMasonry()}else{console.warn('MGPD: mgpdReinitializeMasonry function not found for infinite scroll');var $masonry=$('#mgp-items .mgpd-masonry');if($masonry.length&&typeof $.fn.masonry!=='undefined'){if($masonry.data('masonry')){var masonryInstance=$masonry.data('masonry');$masonry.append($newItems);masonryInstance.appended($newItems);masonryInstance.layout()}else{imagesLoaded($masonry[0],function(){var newMasonryInstance=new Masonry($masonry[0],{itemSelector:'.mgpd-masonry-item',percentPosition:!0,gutter:0,horizontalOrder:!0});$masonry.data('masonry',newMasonryInstance)})}}}},300)}
9initHoverEffects($newItems);if(typeof jQuery.fn.venobox!=='undefined'){$newItems.find('.venobox').venobox()}}
10$spinner.hide();loading=!1},error:function(xhr,status,error){console.error('Infinite Scroll Error:',error);$spinner.hide();loading=!1;currentPage--}})}})}
11function initHoverEffects($context){if(!mgpd_ajax.hover_effects_enabled){return}
12var $cards=$context?$context.find('.mgp-card'):$('.mgp-card');$cards.off('mouseenter.mgpd mouseleave.mgpd').on('mouseenter.mgpd',function(){$(this).addClass('mgpd-hover-active')}).on('mouseleave.mgpd',function(){$(this).removeClass('mgpd-hover-active')})}
13function showError(message){var $error=$('<div class="mgpd-error-message"></div>').text(message);$error.css({'position':'fixed','top':'20px','right':'20px','background':'#f44336','color':'#fff','padding':'12px 20px','border-radius':'4px','z-index':'9999','box-shadow':'0 2px 10px rgba(0,0,0,0.2)'});$('body').append($error);setTimeout(function(){$error.fadeOut(300,function(){$error.remove()})},5000)}
14initHoverEffects()});window.mgpdReinitialize=function(){if(typeof jQuery!=='undefined'){jQuery(document).trigger('mgpd:reinitialize')}}

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.