diff --git a/dist/js/app.js b/dist/js/app.js index 525c0b9..18d266d 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -1,3 +1,3 @@ /*! For license information please see app.js.LICENSE.txt */ -!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/mnt/data/srv/dist/repositories/webpack-bootstrap-ui-kit/dist",n(n.s="./src/js/app.js")}({"./node_modules/@a2nt/meta-lightbox/src/js/meta-lightbox.js":function(e,t){function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e,t,i){var o={effect:"fade",theme:"default",keyboardNav:!0,clickOverlayToClose:!0,onInit:function(){},beforeShowLightbox:function(){},afterShowLightbox:function(e){},beforeHideLightbox:function(){},afterHideLightbox:function(){},onPrev:function(e){},onNext:function(e){},errorMessage:"The requested content cannot be loaded. Please try again later."};function r(t,n){this.options=e.extend({},o,n),this._defaults=o,this._name="metaLightbox",this.init()}r.prototype={init:function(){var t=this,n=e("html");this.ajaxLoaded=!1,i.MetaLightbox=this,n.hasClass("meta-lightbox-notouch")||n.addClass("meta-lightbox-notouch"),"ontouchstart"in i&&n.removeClass("meta-lightbox-notouch"),e(i).on("click",'[data-toggle="lightbox"],[data-lightbox-gallery]',(function(e){return e.preventDefault(),e.stopPropagation(),t.showLightbox(this),!1})),this.options.keyboardNav&&e("body").off("keyup").on("keyup",(function(n){var i=n.keyCode?n.keyCode:n.which;27===i&&t.destructLightbox(),37===i&&e(".meta-lightbox-prev").trigger("click"),39===i&&e(".meta-lightbox-next").trigger("click")})),this.options.onInit.call(this)},showLightbox:function(t){this.el=t,this.$el=e(this.el);var n,i,o,r,a=this;this.options.beforeShowLightbox.call(this),(n=this.constructLightbox())&&(i=n.find(".meta-lightbox-content"))&&(o=this.$el,e("body").addClass("meta-lightbox-body-effect-".concat(this.options.effect)),this.processContent(i,o),this.$el.data("lightbox-gallery")&&(1===(r=e('[data-lightbox-gallery="'.concat(this.$el.data("lightbox-gallery"),'"]'))).length?e(".meta-lightbox-nav").hide():e(".meta-lightbox-nav").show(),e(".meta-lightbox-prev").off("click").on("click",(function(t){t.preventDefault();var n=r.index(o);o=r.eq(n-1),e(o).length||(o=r.last()),a.processContent(i,o),a.options.onPrev.call(this,[o])})),e(".meta-lightbox-next").off("click").on("click",(function(t){t.preventDefault();var n=r.index(o);o=r.eq(n+1),e(o).length||(o=r.first()),a.processContent(i,o),a.options.onNext.call(this,[o])}))),setTimeout((function(){n.addClass("meta-lightbox-open"),a.options.afterShowLightbox.call(this,[n])}),1))},processContent:function(o,r){var a,s,l,c,u,d,p=this;href=r.attr("href"),href||(href=r.data("href")),o.html("").addClass("meta-lightbox-loading"),this.isHidpi()&&r.data("lightbox-hidpi")&&(href=r.data("lightbox-hidpi")),null!=href.match(/\.(jpeg|jpg|gif|png)$/i)?((a=e("",{src:href})).on("load",(function(){var n=e('
'),i=e(".meta-lightbox-content"),r=e('');r.append(a),n.append(r),n.css({"line-height":"".concat(i.height(),"px"),height:"".concat(i.height(),"px")}),e(t).resize((function(){n.css({"line-height":"".concat(i.height(),"px"),height:"".concat(i.height(),"px")})})),"undefined"!==typeof r.zoom&&r.zoom(),o.html(n).removeClass("meta-lightbox-loading"),p.contentLoaded()})),a.on("error",(function(){var t=e('

'.concat(p.options.errorMessage,"

"));o.html(t).removeClass("meta-lightbox-loading"),p.contentLoaded()})),r.data("title")?p.setTitle(r.data("title")):r.attr("title")?p.setTitle(r.attr("title")):e(".meta-lightbox-title-wrap").html(""),"function"===typeof ga&&ga("send","event","meta","Image Click",href)):(s=href.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/))?(l="",c="meta-lightbox-video","youtube"==s[1]&&(l="https://www.youtube.com/embed/".concat(s[4]),c="meta-lightbox-youtube"),"youtu"==s[1]&&(l="https://www.youtube.com/embed/".concat(s[3]),c="meta-lightbox-youtube"),"youtube-nocookie"==s[1]&&(l="https://www.youtube-nocookie.com/embed/".concat(s[4]),c="nivo-lightbox-youtube"),"vimeo"==s[1]&&(l="https://player.vimeo.com/video/".concat(s[3]),c="meta-lightbox-vimeo"),l&&(u=e("