HEX
Server: Apache
System: Linux webm014.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: circuix (152771)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/circuix/adrRc/wp-content/plugins/essential-blocks/blocks/image-gallery/frontend/index.js
(()=>{function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}window.addEventListener("DOMContentLoaded",(function(t){var r,n=document.querySelectorAll(".eb-gallery-img-wrapper.eb-filterable-img-gallery"),o={numberGreaterThan50:function(e){var t=e.querySelector(".number").textContent;return parseInt(t,10)>50},ium:function(e){return e.querySelector(".name").textContent.match(/ium$/)}},a=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var o=0,a=function(){};return{s:a,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw i}}}}(n);try{var i=function(){var e=r.value,t=e.getAttribute("data-id");for(e.closest(".eb-parent-wrapper").querySelector(".filter-wrapper-".concat(t," :first-child")).classList.add("is-checked"),imagesLoaded(e,(function(){e.classList.contains("grid")?new Isotope(".".concat(t),{itemSelector:".eb-gallery-img-content",layoutMode:"fitRows"}):new Isotope(".".concat(t),{itemSelector:".eb-gallery-img-content",percentPosition:!0,masonry:{columnWidth:".eb-gallery-img-content"}})})),(c=e.closest(".eb-parent-wrapper").querySelectorAll(".filter-wrapper-".concat(t," li"))).length>0&&c.forEach((function(e){e.addEventListener("click",(function(r){var n=e.closest(".eb-parent-wrapper").querySelector(".".concat(t));filterValue=r.target.getAttribute("data-filter"),filterValue=o[filterValue]||filterValue,Isotope.data(n).arrange({filter:filterValue})}))})),l=document.querySelectorAll(".filter-wrapper-".concat(t)),u=0,f=l.length;u<f;u++)n(l[u]);function n(e){e.addEventListener("click",(function(t){matchesSelector(t.target,"li")&&(e.querySelector(".is-checked").classList.remove("is-checked"),t.target.classList.add("is-checked"))}))}};for(a.s();!(r=a.n()).done;){var c,l,u,f;i()}}catch(e){a.e(e)}finally{a.f()}}))})();