(()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(e,o){for(var r=0;r<o.length;r++){var n=o[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(i=n.key,l=void 0,l=function(e,o){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,o||"default");if("object"!==t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(e)}(i,"string"),"symbol"===t(l)?l:String(l)),n)}var i,l}var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var o,r,n;return o=t,(r=[{key:"init",value:function(){var t=document.querySelector("#list-photo");t&&imagesLoaded(t,(function(){new Masonry(t,{isOriginLeft:"rtl"!==$("body").prop("dir")})}));var e=$("#list-photo");e.length&&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(o.prototype,r),n&&e(o,n),Object.defineProperty(o,"prototype",{writable:!1}),t}();$(document).ready((function(){(new o).init()}))})();