var _typeof="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};function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")} /*! HesGallery v1.5.1 Copyright (c) 2018-2019 Artur Medrygal Product under MIT licence */var HesGallery={version:"1.5.1",options:{disableScrolling:!1,hostedStyles:!0,animations:!0,keyboardControl:!0,minResolution:0,autoInit:!0,wrapAround:!1,showImageCount:!0,linkNested:!1},setOptions:function(){var t,e=0");var e=document.createElement("div");e.id="hgallery",e.setAttribute("style","visibility:hidden;"),this.elements.gallery=e,this.elements.gallery.innerHTML+="\n
\n
\n \n
\n
\n
\n
\n
\n \n \n ",document.body.appendChild(e),this.elements.b_prev=document.getElementById("hg-prev"),this.elements.b_next=document.getElementById("hg-next"),this.elements.pic_cont=document.getElementById("hg-pic-cont"),this.elements.b_next_onpic=document.getElementById("hg-next-onpic"),this.elements.b_prev_onpic=document.getElementById("hg-prev-onpic"),this.elements.b_prev.onclick=this.elements.b_prev_onpic.onclick=function(){t.prev()},this.elements.b_next.onclick=this.elements.b_next_onpic.onclick=function(){t.next()},document.getElementById("hg-bg").onclick=function(){t.hide()},this.executed=!0},show:function(t,e){if(innerWidth