| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/revivere/www/wp-content/plugins/modula-best-grid-gallery/assets/js/admin/ |
Upload File : |
wp.Modula=void 0===wp.Modula?{}:wp.Modula,wp.Modula.modalChildViews=void 0===wp.Modula.modalChildViews?[]:wp.Modula.modalChildViews,wp.Modula.previewer=void 0===wp.Modula.previewer?{}:wp.Modula.previewer,wp.Modula.modal=void 0===wp.Modula.modal?{}:wp.Modula.modal,wp.Modula.items=void 0===wp.Modula.items?{}:wp.Modula.items,wp.Modula.upload=void 0===wp.Modula.upload?{}:wp.Modula.upload,function(e){if(wp.Modula.items.collection&&(wp.Modula.Items=new wp.Modula.items.collection),wp.Modula.Settings=new wp.Modula.settings.model(modulaHelper.settings),wp.Modula.Conditions=new modulaGalleryConditions,jQuery(document).trigger("modula_galleries_admin_trigger"),void 0===wp.Modula.Resizer&&wp.Modula.previewer.resizer&&(wp.Modula.Resizer=new wp.Modula.previewer.resizer),wp.Modula.previewer.view&&(wp.Modula.GalleryView=new wp.Modula.previewer.view({el:e("#modula-uploader-container")})),wp.Modula.EditModal=new wp.Modula.modal.model({childViews:wp.Modula.modalChildViews}),void 0!==modulaHelper.items&&e.each(modulaHelper.items,(function(e,o){new wp.Modula.items.model(o)})),wp.Modula.upload.uploadHandler&&new wp.Modula.upload.uploadHandler,e(".copy-modula-shortcode").click((function(o){o.preventDefault();var a=e(this).parent().find("input").first();a.focus(),a.select(),document.execCommand("copy");var t=e(this).next(".copy-feedback");t.text("Shortcode copied").fadeIn(),setTimeout((function(){t.fadeOut()}),2e3)})),e(".modula-shortcode-dropdown-toggle").on("click",(function(o){o.preventDefault();var a=e(this),t=a.closest(".inside").find(".modula-shortcode-dropdown"),l="true"===a.attr("aria-expanded");a.attr("aria-expanded",!l),t.slideToggle(200)})),jQuery(document).on("keydown.autocomplete",'.modula-link input[name="link"]',(function(){var o=modulaHelper.ajax_url+"?action=modula_autocomplete&nonce="+modulaHelper._wpnonce;jQuery(this).autocomplete({source:o,delay:500,minLength:3}).data("ui-autocomplete")._renderItem=function(o,a){return e("<li></li>").data("item.autocomplete",a).append(`\n\t\t\t\t<div class="modula-autocomplete-results">\n\t\t\t\t<p> ${a.label} </p> <span> <code> ${a.type} </code> </span>\n\t\t\t\t<p style="color: #555; font-size: 11px;"> ${a.value} </p>\n\t\t\t\t</div>\n\t\t\t\t`).appendTo(o)}})),e("#modula-image-loaded-effects ").on("click","#test-scaling-preview",(function(o){o.preventDefault();var a=e('input[data-setting="loadedScale"]').val(),t=e("#modula-image-loaded-effects .modula-item");t.css("transform","scale("+a/100+")"),setTimeout((function(){t.removeAttr("style")}),600)})),e("body").on("click","#modula-lightbox-upgrade .notice-dismiss",(function(o){o.preventDefault();var a=e(this).parent(),t={action:"modula_lbu_notice",nonce:modulaHelper._wpnonce};e.post(modulaHelper.ajax_url,t,(function(e){a.remove()}))})),e(document).keydown((function(o){if((115===o.keyCode||83===o.keyCode)&&(o.ctrlKey||o.metaKey)&&!o.altKey)return o.preventDefault(),e("#publish").click(),!1})),e('tr[data-container="emailMessage"] td .modula-placeholders').on("click","span",(function(){let o=e('textarea[data-setting="emailMessage"]'),a=e(this).attr("data-placeholder");o.val((function(e,o){return o+=a}))})),0!=window.location.hash.length&&window.location.hash.indexOf("modula")){var o=window.location.hash.split("#!")[1];e(".modula-tabs,.modula-tabs-content").find(".active-tab").removeClass("active-tab"),e(".modula-tabs").find("."+o).addClass("active-tab"),e("#"+o).addClass("active-tab").trigger("modula-current-tab");var a=e("#post").attr("action");a&&(a=a.split("#")[0],e("#post").attr("action",a+window.location.hash))}e('#modula-hover-effect .modula-hover-effect-item input[type="radio"]');e("#modula-hover-effect .modula-hover-effect-item").on("click",(function(){let o=e(this).find('input[type="radio"]');o.length>0&&(o.prop("checked",!1),o.prop("checked",!0))}))}(jQuery);