!function(t){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=t,r.c=e,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(o,n,function(e){return t[e]}.bind(null,n));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=274)}({274:function(t,e,r){"use strict";r.r(e);r(275),r(276),r(277)},275:function(t,e){var r,o,n,i;function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a(t,e){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var c=0;function l(t){return"__private_"+c+++"_"+t}var p=GT3.Gallery.Modules.Basic,f=(0,GT3.autobind)((o=l("ui"),n=l("settings"),i=l("loadMoreComplete"),r=function(t){function e(){var e;return e=t.apply(this,arguments)||this,Object.defineProperty(e,i,{value:y}),e.waitingForImage=!1,e.isotope=null,Object.defineProperty(e,o,{writable:!0,value:{isotope:".gallery-isotope-wrapper",view_more:".view_more_link"}}),e.stagger=120,Object.defineProperty(e,n,{writable:!0,value:{isotopeOptions:{transformsEnabled:!0,transitionDuration:350,percentPosition:!0,stagger:50,itemSelector:".gt3pg-isotope-item",resize:!1}}}),e.items=[],e.failed?s(e):(e.extendUI(u(e,o)[o]),e.extendSettings(u(e,n)[n]),e.items=e.settings.items,e.hooks.addAction("filter/updated","IsotopeGallery",(function(){e.isotope&&e.isotope.arrange()})),e.hooks.addAction("loadMore/complete","IsotopeGallery",u(e,i)[i].bind(e)),e)}var r,c;c=t,(r=e).prototype=Object.create(c.prototype),r.prototype.constructor=r,a(r,c);var l=e.prototype;return l.removeLoading=function(t){var e=this;t.classList.remove("loading"),setTimeout((function(){e.waitingForImage=!1,e.showImages()}),this.stagger)},l.startObserver=function(t){var e=this;t.classList.add("waiting-load");var r=new MutationObserver((function(o){o.some((function(o){return!!o.target.classList.contains("lazyLoaded")&&(r.disconnect(),t.classList.remove("waiting-load"),e.removeLoading(o.target),!0)}))}));r.observe(t,{attributes:!0})},l.showImages=function(){if(this.showPreloader&&this.hidePreloader(),!this.waitingForImage){var t=this.ui.isotope.querySelector(".gt3pg-isotope-item.loading.inViewport");t&&(this.waitingForImage=!0,t.classList.contains("lazyLoaded")?this.removeLoading(t):this.startObserver(t))}},l.lazyErrorHandler=function(t,e){e=e.closest(".gt3pg-isotope-item"),this.isotope.remove(e),e&&e.remove(),this.isotope.layout()},l.lazyLoadHandler=function(t,e){(e=e.closest(".gt3pg-isotope-item"))&&e.classList.add("lazyLoaded"),this.showImages()},l.lazyIntersectionHandler=function(t){(t=t.closest(".gt3pg-isotope-item"))&&t.classList.add("inViewport"),this.showImages()},l.getChildNumber=function(t){return this.isotope?this.isotope.filteredItems.findIndex((function(e){return e.element===t})):Array.prototype.indexOf.call(t.parentNode.children,t)},l.resizeOnce=function(){},e}(p)))||r;function y(t){var e=this,r=t.html,o=t.items,n=document.createElement("div");n.innerHTML=r,o instanceof Array&&o.forEach((function(t){return e.items.push(t)})),this.isotope.once("insertComplete",(function(){e.resize(),e.resizeOnce()})),this.isotope.once("layoutComplete",(function(){e.firstStart()})),this.isotope.insert(n)}GT3.Gallery.Modules.IsotopeGallery=f},276:function(t,e){function r(t){return(r="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)}var o;function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function s(t,e,o){var n;return n=function(t,e){if("object"!=r(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==r(n)?n:n+"")in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t,e){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var c=GT3,l=c.Gallery.Modules.IsotopeGallery,p=c.Isotope,f=c.Hooks,y=c.LazyLoad,d=(0,GT3.autobind)(o=function(t){function e(){var e;return(e=t.apply(this,arguments)||this).restName="masonry",e.failed?a(e):(e.init(),e.ui.isotope?(e.resizeOnce(),e.isotope=new p(e.ui.isotope,i(i({},e.settings.isotopeOptions),{},{layoutMode:"masonry"})),e.isotope.arrange({transitionDuration:e.settings.isotopeOptions.transitionDuration}),setTimeout((function(){e.firstStart()}),300),e.afterInit(),e):a(e))}var r,o;o=t,(r=e).prototype=Object.create(o.prototype),r.prototype.constructor=r,u(r,o);var n=e.prototype;return n.firstStart=function(){y(this.ui.isotope.children,{loadHandle:this.lazyLoadHandler,errorHandler:this.lazyErrorHandler,intersectionHandler:this.lazyIntersectionHandler,force:this.force})},n.resize=function(){this.isotope&&this.isotope.layout()},n.resizeOnce=function(){this.blockAlign&&this.resizeBlockAlign();var t,e,r,o=this.ui.isotope.children;if(this.ui.isotope&&this.ui.isotope.childElementCount)for(var n=0;n<this.ui.isotope.childElementCount;n++)(t=(r=o[n]).querySelector("img"))&&r.classList.contains("loading")?t&&t.attributes&&t.attributes.width&&t.attributes.height&&(e=parseInt(t.attributes.width.value)/parseInt(t.attributes.height.value),t.style.setProperty("height",Math.ceil(t.width/e)+"px")):t&&t.style&&t.style.getPropertyValue("height")&&t.style.removeProperty("height")},e}(l))||o;GT3.Gallery.Modules.Masonry=d,f.doAction("widget_register","masonry",d)},277:function(t,e){function r(t){return(r="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)}var o;function n(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,n=function(){};return{s:n,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:n}}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 s,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,s=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw s}}}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,o){var n;return n=function(t,e){if("object"!=r(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==r(n)?n:n+"")in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var p=GT3,f=p.Gallery.Modules.IsotopeGallery,y=p.Isotope,d=p.Hooks,b=p.LazyLoad,h=(0,p.autobind)(o=function(t){function e(){var e;return(e=t.apply(this,arguments)||this).restName="grid",e.failed?c(e):(e.init(),e.ui.isotope?(e.isotope=new y(e.ui.isotope,a(a({},e.settings.isotopeOptions),{},{layoutMode:"fitRows",transitionDuration:0})),e.resizeOnce(),e.isotope.arrange({transitionDuration:e.settings.isotopeOptions.transitionDuration}),setTimeout((function(){e.firstStart()}),300),e.afterInit(),e):c(e))}var r,o;o=t,(r=e).prototype=Object.create(o.prototype),r.prototype.constructor=r,l(r,o);var i=e.prototype;return i.firstStart=function(){b(this.ui.isotope.children,{loadHandle:this.lazyLoadHandler,errorHandler:this.lazyErrorHandler,intersectionHandler:this.lazyIntersectionHandler,force:this.force})},i.resize=function(){this.isotope.layout()},i.resizeOnce=function(){var t,e=1;if(["rectangle-16x9","rectangle","square","circle","rectangle-3x2"].includes(this.settings.grid_type)){switch(this.settings.grid_type){case"rectangle-16x9":e=1.78;break;case"rectangle":e=1.33;break;case"rectangle-3x2":e=1.5}var r,o=n(this.ui.isotope.children);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(null===i.getAttribute("data-align")){var s="align-height",a=i.querySelector("img");switch(e>(t=(a.getAttribute("width")||1)/(a.getAttribute("height")||1))&&(t=.5),!0){case e>=1:switch(!0){case e>=t:s="align-width"}}i.setAttribute("data-align",s)}}}catch(t){o.e(t)}finally{o.f()}}},e}(f))||o;GT3.Gallery.Modules.Grid=h,d.doAction("widget_register","grid",h)}});