(()=>{"use strict";function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var t=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,o,i;return n=t,(o=[{key:"init",value:function(){var e=document.getElementById("list-photo");e&&(imagesLoaded(e,(function(){new Masonry(e,{isOriginLeft:"rtl"!==$("body").prop("dir")})})),jQuery().lightGallery&&($(e).lightGallery({loop:!0,thumbnail:!0,fourceAutoply:!1,autoplay:!1,pager:!1,speed:300,scale:1,keypress:!0}),$(document).on("click",".lg-toogle-thumb",(function(){$(document).find(".lg-sub-html").toggleClass("inactive")}))))}}])&&e(n.prototype,o),i&&e(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}();$((function(){(new t).init()}))})();