1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2900],{43819:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var o=i(84913),s=i(67294),n=["variant","color","size"],Bold=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{d:"M20.621 8.45c-1.05-4.62-5.08-6.7-8.62-6.7h-.01c-3.53 0-7.57 2.07-8.62 6.69-1.17 5.16 1.99 9.53 4.85 12.28a5.436 5.436 0 0 0 3.78 1.53c1.36 0 2.72-.51 3.77-1.53 2.86-2.75 6.02-7.11 4.85-12.27Zm-8.62 5.01a3.15 3.15 0 1 1 0-6.3 3.15 3.15 0 0 1 0 6.3Z",fill:t}))},Broken=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{d:"M15.119 10.311c0 1.72-1.39 3.12-3.12 3.12-1.73 0-3.12-1.39-3.12-3.12 0-1.73 1.4-3.12 3.12-3.12.34 0 .67.05.97.15",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M5.98 4.3c4.37-4.11 12.84-2.7 14.4 4.21 1.15 5.08-2.01 9.38-4.78 12.04a5.193 5.193 0 0 1-7.21 0C5.63 17.88 2.46 13.58 3.62 8.5",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Bulk=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{opacity:".4",d:"M20.621 8.45c-1.05-4.62-5.08-6.7-8.62-6.7h-.01c-3.53 0-7.57 2.07-8.62 6.69-1.17 5.16 1.99 9.53 4.85 12.28a5.436 5.436 0 0 0 3.78 1.53c1.36 0 2.72-.51 3.77-1.53 2.86-2.75 6.02-7.11 4.85-12.27Z",fill:t}),s.createElement("path",{d:"M12.002 13.46a3.15 3.15 0 1 0 0-6.3 3.15 3.15 0 0 0 0 6.3Z",fill:t}))},Linear=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{d:"M12 13.43a3.12 3.12 0 1 0 0-6.24 3.12 3.12 0 0 0 0 6.24Z",stroke:t,strokeWidth:"1.5"}),s.createElement("path",{d:"M3.62 8.49c1.97-8.66 14.8-8.65 16.76.01 1.15 5.08-2.01 9.38-4.78 12.04a5.193 5.193 0 0 1-7.21 0c-2.76-2.66-5.92-6.97-4.77-12.05Z",stroke:t,strokeWidth:"1.5"}))},Outline=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{d:"M11.999 14.171c-2.13 0-3.87-1.73-3.87-3.87s1.74-3.86 3.87-3.86 3.87 1.73 3.87 3.87-1.74 3.86-3.87 3.86Zm0-6.23c-1.3 0-2.37 1.06-2.37 2.37s1.06 2.37 2.37 2.37 2.37-1.06 2.37-2.37-1.07-2.37-2.37-2.37Z",fill:t}),s.createElement("path",{d:"M12.002 22.76a5.97 5.97 0 0 1-4.13-1.67c-2.95-2.84-6.21-7.37-4.98-12.76 1.11-4.89 5.38-7.08 9.11-7.08h.01c3.73 0 8 2.19 9.11 7.09 1.22 5.39-2.04 9.91-4.99 12.75a5.97 5.97 0 0 1-4.13 1.67Zm0-20.01c-2.91 0-6.65 1.55-7.64 5.91-1.08 4.71 1.88 8.77 4.56 11.34a4.425 4.425 0 0 0 6.17 0c2.67-2.57 5.63-6.63 4.57-11.34-1-4.36-4.75-5.91-7.66-5.91Z",fill:t}))},TwoTone=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{stroke:t,strokeWidth:"1.5",d:"M12 13.43a3.12 3.12 0 10.001-6.24 3.12 3.12 0 000 6.24z",opacity:".4"}),s.createElement("path",{stroke:t,strokeWidth:"1.5",d:"M3.62 8.49c1.97-8.66 14.8-8.65 16.76.01 1.15 5.08-2.01 9.38-4.78 12.04a5.193 5.193 0 01-7.21 0c-2.76-2.66-5.92-6.97-4.77-12.05z"}))},chooseVariant=function(e,t){switch(e){case"Bold":return s.createElement(Bold,{color:t});case"Broken":return s.createElement(Broken,{color:t});case"Bulk":return s.createElement(Bulk,{color:t});case"Linear":default:return s.createElement(Linear,{color:t});case"Outline":return s.createElement(Outline,{color:t});case"TwoTone":return s.createElement(TwoTone,{color:t})}},r=(0,s.forwardRef)(function(e,t){var i=e.variant,r=void 0===i?"Linear":i,l=e.color,a=void 0===l?"currentColor":l,g=e.size,d=void 0===g?"24":g,c=(0,o._)(e,n);return s.createElement("svg",(0,o.a)({},c,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:d,height:d,viewBox:"0 0 24 24",fill:"none"}),chooseVariant(r,a))});r.displayName="Location"},47447:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var o=i(84913),s=i(67294),n=["variant","color","size"],Bold=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{fill:t,d:"M21.98 11.41c-.34-5.8-5.61-10.27-11.68-9.27-4.18.69-7.53 4.08-8.18 8.26-.38 2.42.12 4.71 1.21 6.6l-.89 3.31c-.2.75.49 1.43 1.23 1.22l3.26-.9c1.48.87 3.21 1.37 5.06 1.37 5.64 0 10.32-4.97 9.99-10.59zm-5.1 4.31a2.279 2.279 0 01-1.16 1.1c-.3.13-.63.19-.98.19-.51 0-1.06-.12-1.63-.37a9.16 9.16 0 01-1.72-.99c-.58-.42-1.12-.89-1.64-1.4-.52-.52-.98-1.07-1.4-1.64-.41-.57-.74-1.14-.98-1.71-.24-.57-.36-1.12-.36-1.64 0-.34.06-.67.18-.97.12-.31.31-.59.58-.84.32-.32.67-.47 1.04-.47.14 0 .28.03.41.09.13.06.25.15.34.28l1.16 1.64c.09.13.16.24.2.35.05.11.07.21.07.31 0 .12-.04.24-.11.36s-.16.24-.28.36l-.38.4c-.06.06-.08.12-.08.2 0 .04.01.08.02.12.02.04.03.07.04.1.09.17.25.38.47.64a13.482 13.482 0 001.53 1.53c.26.22.48.37.65.46.03.01.06.
103.09.04.04.02.08.02.13.02.09 0 .15-.03.21-.09l.38-.38c.13-.13.25-.22.36-.28.12-.07.23-.11.36-.11.1 0 .2.02.31.07.11.05.23.11.35.2l1.66 1.18c.13.09.22.2.28.32.05.13.08.25.08.39-.06.17-.1.36-.18.54z"}))},Broken=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{d:"M12 2c5.52 0 10 4.48 10 10s-4.48 10-10 10c-1.84 0-3.57-.5-5.06-1.37L2 22l1.34-5A9.966 9.966 0 0 1 2 12c0-3.7 2.01-6.93 5-8.66",stroke:t,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M17 15.17c0 .18-.04.37-.13.55a2.279 2.279 0 0 1-1.16 1.1c-.3.13-.63.19-.98.19-.51 0-1.06-.12-1.63-.37-.58-.25-1.15-.58-1.72-.99-.58-.42-1.12-.89-1.64-1.4-.52-.52-.98-1.07-1.4-1.64-.41-.57-.74-1.14-.98-1.71C7.12 10.33 7 9.78 7 9.26c0-.34.06-.67.18-.97.12-.31.31-.59.58-.84.32-.32.67-.47 1.04-.47.14 0 .28.03.41.09.13.06.25.15.34.28l1.16 1.64c.09.13.16.24.2.35.05.11.07.21.07.31 0 .12-.04.24-.11.36s-.16.24-.28.36l-.38.4c-.06.06-.08.12-.08.2 0 .04.01.08.02.12.02.04.03.07.04.1.09.17.25.38.47.64a13.48 13.48 0 0 0 1.53 1.53c.26.22.48.37.65.46.03.01.06.03.09.04.04.02.08.02.13.02.09 0 .15-.03.21-.09l.38-.38c.13-.13.25-.22.36-.28.12-.07.23-.11.36-.11.1 0 .2.02.31.07.11.05.23.11.35.2l1.66 1.18c.13.09.22.2.28.32 0 .12.03.24.03.38Z",stroke:t,strokeWidth:"1.5",strokeMiterlimit:"10"}))},Bulk=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{opacity:".4",d:"M6.94 20.63C8.43 21.5 10.16 22 12 22c5.63 0 10.31-4.97 9.98-10.59-.34-5.8-5.61-10.27-11.68-9.27-4.18.69-7.53 4.08-8.18 8.26-.38 2.42.12 4.71 1.21 6.6l-.89 3.31c-.2.75.49 1.43 1.23 1.22l3.27-.9Z",fill:t}),s.createElement("path",{d:"M17 15.17c0 .18-.04.37-.13.55a2.279 2.279 0 0 1-1.16 1.1c-.3.13-.63.19-.98.19-.51 0-1.06-.12-1.63-.37-.58-.25-1.15-.58-1.72-.99-.58-.42-1.12-.89-1.64-1.4a14.3 14.3 0 0 1-1.4-1.64c-.41-.57-.74-1.14-.98-1.71C7.12 10.33 7 9.78 7 9.26c0-.34.06-.67.18-.97.12-.31.31-.59.58-.84.32-.32.67-.47 1.04-.47.14 0 .28.03.41.09.13.06.25.15.34.28L10.7 9c.09.13.16.24.2.35.05.11.07.21.07.31 0 .12-.04.24-.11.36s-.16.24-.28.36l-.38.4c-.06.06-.08.12-.08.2 0 .04.01.08.02.12.02.04.03.07.04.1.09.17.25.38.47.64a13.482 13.482 0 0 0 1.53 1.53c.26.22.48.37.65.46.03.01.06.03.09.04.04.02.08.02.13.02.09 0 .15-.03.21-.09l.38-.38c.13-.13.25-.22.36-.28.12-.07.23-.11.36-.11.1 0 .2.02.31.07.11.05.23.11.35.2l1.66 1.18c.13.09.22.2.28.32.01.11.04.23.04.37Z",fill:t}))},Linear=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{d:"M6.9 20.6c1.5.9 3.3 1.4 5.1 1.4 5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12c0 1.8.5 3.5 1.3 5l-.86 3.306a1 1 0 0 0 1.243 1.213L6.9 20.6Z",stroke:t,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M16.5 14.848c0 .162-.036.329-.113.491a1.856 1.856 0 0 1-.306.459c-.221.243-.464.418-.74.531-.27.113-.563.171-.878.171-.46 0-.951-.108-1.47-.328a7.922 7.922 0 0 1-1.55-.892 12.95 12.95 0 0 1-1.478-1.26 12.79 12.79 0 0 1-1.257-1.471 8.02 8.02 0 0 1-.884-1.534C7.608 10.5 7.5 10.01 7.5 9.543c0-.306.054-.598.162-.868.108-.275.28-.527.519-.752.288-.284.603-.423.937-.423.126 0 .252.027.365.081.117.054.22.135.302.252l1.046 1.472c.08.112.14.216.18.315.04.094.063.189.063.274a.61.61 0 0 1-.095.32 1.53 1.53 0 0 1-.252.319l-.343.356a.24.24 0 0 0-.072.18c0 .035.005.067.014.103.013.036.027.063.036.09.08.149.22.342.419.576.203.234.419.473.653.711.244.239.478.459.717.662.234.197.428.332.581.413l.082.037a.311.311 0 0 0 .112.018.248.248 0 0 0 .185-.077l.342-.338c.113-.112.221-.197.325-.252a.6.6 0 0 1 .32-.094.72.72 0 0 1 .275.059c.099.04.203.098.315.175l1.492 1.058a.683.683 0 0 1 .248.287.921.921 0 0 1 .072.351Z",stroke:t,strokeWidth:"1.5",strokeMiterlimit:"10"}))},Outline=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{d:"M2 22.748a.76.76 0 0 1-.73-.95l1.26-4.71c-.84-1.56-1.28-3.32-1.28-5.1 0-5.93 4.82-10.75 10.75-10.75s10.75 4.82 10.75 10.75-4.82 10.75-10.75 10.75c-1.81 0-3.58-.45-5.16-1.31l-4.64 1.29c-.07.02-.13.03-.2.03Zm4.94-2.87c.13 0 .26.04.38.1 1.41.83 3.03 1.27 4.68 1.27 5.1 0 9.25-4.15 9.25-9.25S17.1 2.748 12 2.748s-9.25 4.15-9.25 9.25c0 1.63.43 3.22 1.24 4.62.1.17.13.38.08.57l-1 3.74 3.68-1.02c.06-.02.13-.03.19-.03Z",fill:t}),s.createElement("path",{d:"M14.74 17.76c-.62 0-1.26-.14-1.93-.43-.63-.27-1.26-.63-1.87-1.08-.6-.44-1.19-.94-1.73-1.48-.54-.55-1.04-1.13-1.48-1.73-.45-.63-.81-1.25-1.07-1.86-.28-.66-.42-1.31-.42-1.93 0-.44.08-.86.23-1.25.16-.41.42-.78.76-1.1.64-.63 1.56-.86 2.29-.51.25.11.46.29.62.53l1.16 1.63c.12.16.21.33.28.5.08.2.13.4.13.59 0 .26-.07.52-.21.75-.09.15-.22.33-.39.5l-.13.14c.06.08.13.18.24.3.21.24.44.5.69.75.25.24.5.48.75.69.12.1.22.18.3.23l.14-.14c.18-.18.36-.32.54-.41.33-.21.84-.26 1.29-.07.16.06.32.15.49.27l1.67 1.18c.23.16.41.38.53.63.1.25.14.47.14.7 0 .3-.07.59-.2.87-.13.26-.28.49-.46.7-.32.35-.69.61-1.09.78-.4.17-.83.25-1.27.25ZM8.79 7.74c-.06 0-.26 0-.51.25-.19.18-.32.37-.41.58-.09.21-.13.45-.13.69 0 .42.1.87.3 1.35.21.5.52 1.03.9 1.56.39.53.83 1.06 1.32 1.55.49.48 1.01.93 1.55 1.33.52.38 1.05.68 1.58.91.76.33 1.46.41 2.03.17.2-.08.38-.22.56-.4.09-.1.16-.2.22-.33.03-.07.05-.15.05-.22 0-.02 0-.05-.03-.11l-1.67-1.16a.808.808
10 0 0-.2-.11c-.04.02-.1.05-.21.16l-.38.38c-.29.29-.75.37-1.12.24l-.18-.08c-.23-.12-.49-.3-.78-.55-.28-.24-.55-.49-.84-.77-.28-.29-.53-.56-.77-.84a5.47 5.47 0 0 1-.56-.77l-.11-.26a1.1 1.1 0 0 1-.04-.31c0-.28.1-.53.29-.73l.38-.39c.11-.11.15-.17.17-.21a1.06 1.06 0 0 0-.12-.2L8.91 7.82l-.12-.08Z",fill:t}))},TwoTone=function(e){var t=e.color;return s.createElement(s.Fragment,null,s.createElement("path",{d:"M6.94 20.63C8.42 21.5 10.15 22 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12c0 1.82.49 3.53 1.34 5L2 22l4.94-1.37Z",stroke:t,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{opacity:".4",d:"M17 15.17c0 .18-.04.37-.13.55a2.279 2.279 0 0 1-1.16 1.1c-.3.13-.63.19-.98.19-.51 0-1.06-.12-1.63-.37-.58-.25-1.15-.58-1.72-.99-.58-.42-1.12-.89-1.64-1.4-.52-.52-.98-1.07-1.4-1.64-.41-.57-.74-1.14-.98-1.71C7.12 10.33 7 9.78 7 9.26c0-.34.06-.67.18-.97.12-.31.31-.59.58-.84.32-.32.67-.47 1.04-.47.14 0 .28.03.41.09.13.06.25.15.34.28l1.16 1.64c.09.13.16.24.2.35.05.11.07.21.07.31 0 .12-.04.24-.11.36s-.16.24-.28.36l-.38.4c-.06.06-.08.12-.08.2 0 .04.01.08.02.12.02.04.03.07.04.1.09.17.25.38.47.64a13.48 13.48 0 0 0 1.53 1.53c.26.22.48.37.65.46.03.01.06.03.09.04.04.02.08.02.13.02.09 0 .15-.03.21-.09l.38-.38c.13-.13.25-.22.36-.28.12-.07.23-.11.36-.11.1 0 .2.02.31.07.11.05.23.11.35.2l1.66 1.18c.13.09.22.2.28.32 0 .12.03.24.03.38Z",stroke:t,strokeWidth:"1.5",strokeMiterlimit:"10"}))},chooseVariant=function(e,t){switch(e){case"Bold":return s.createElement(Bold,{color:t});case"Broken":return s.createElement(Broken,{color:t});case"Bulk":return s.createElement(Bulk,{color:t});case"Linear":default:return s.createElement(Linear,{color:t});case"Outline":return s.createElement(Outline,{color:t});case"TwoTone":return s.createElement(TwoTone,{color:t})}},r=(0,s.forwardRef)(function(e,t){var i=e.variant,r=void 0===i?"Linear":i,l=e.color,a=void 0===l?"currentColor":l,g=e.size,d=void 0===g?"24":g,c=(0,o._)(e,n);return s.createElement("svg",(0,o.a)({},c,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:d,height:d,viewBox:"0 0 24 24",fill:"none"}),chooseVariant(r,a))});r.displayName="Whatsapp"},52869:function(e,t){"use strict";/*! 2 * lightgallery | 2.8.3 | March 1st 2025 3 * http://www.lightgalleryjs.com/ 4 * Copyright (c) 2020 Sachin Neravath; 5 * @license GPLv3 6 *//*! ***************************************************************************** 7Copyright (c) Microsoft Corporation. 8 9Permission to use, copy, modify, and/or distribute this software for any 10purpose with or without fee is hereby granted. 11 12THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 13REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 14AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 15INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 16LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 17OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 18PERFORMANCE OF THIS SOFTWARE. 19***************************************************************************** */var __assign=function(){return(__assign=Object.assign||function(e){for(var t,i=1,o=arguments.length;i<o;i++)for(var s in t=arguments[i])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},i={scale:1,zoom:!0,infiniteZoom:!0,actualSize:!0,showZoomInOutIcons:!1,actualSizeIcons:{zoomIn:"lg-zoom-in",zoomOut:"lg-zoom-out"},enableZoomAfter:300,zoomPluginStrings:{zoomIn:"Zoom in",zoomOut:"Zoom out",viewActualSize:"View actual size"}},o=function(){function Zoom(e,t){return this.core=e,this.$LG=t,this.settings=__assign(__assign({},i),this.core.settings),this}return Zoom.prototype.buildTemplates=function(){var e=this.settings.showZoomInOutIcons?'<button id="'+this.core.getIdName("lg-zoom-in")+'" type="button" aria-label="'+this.settings.zoomPluginStrings.zoomIn+'" class="lg-zoom-in lg-icon"></button><button id="'+this.core.getIdName("lg-zoom-out")+'" type="button" aria-label="'+this.settings.zoomPluginStrings.zoomOut+'" class="lg-zoom-out lg-icon"></button>':"";this.settings.actualSize&&(e+='<button id="'+this.core.getIdName("lg-actual-size")+'" t
19ype="button" aria-label="'+this.settings.zoomPluginStrings.viewActualSize+'" class="'+this.settings.actualSizeIcons.zoomIn+' lg-icon"></button>'),this.core.outer.addClass("lg-use-transition-for-zoom"),this.core.$toolbar.first().append(e)},Zoom.prototype.enableZoom=function(e){var t=this,i=this.settings.enableZoomAfter+e.detail.delay;this.$LG("body").first().hasClass("lg-from-hash")&&e.detail.delay?i=0:this.$LG("body").first().removeClass("lg-from-hash"),this.zoomableTimeout=setTimeout(function(){t.isImageSlide(t.core.index)&&(t.core.getSlideItem(e.detail.index).addClass("lg-zoomable"),e.detail.index===t.core.index&&t.setZoomEssentials())},i+30)},Zoom.prototype.enableZoomOnSlideItemLoad=function(){this.core.LGel.on("lgSlideItemLoad.zoom",this.enableZoom.bind(this))},Zoom.prototype.getDragCords=function(e){return{x:e.pageX,y:e.pageY}},Zoom.prototype.getSwipeCords=function(e){return{x:e.touches[0].pageX,y:e.touches[0].pageY}},Zoom.prototype.getDragAllowedAxises=function(e,t){if(!this.containerRect)return{allowX:!1,allowY:!1};var i=this.core.getSlideItem(this.core.index).find(".lg-image").first().get(),o=0,s=0,n=i.getBoundingClientRect();e?(o=i.offsetHeight*e,s=i.offsetWidth*e):t?(o=n.height+t*n.height,s=n.width+t*n.width):(o=n.height,s=n.width);var r=o>this.containerRect.height;return{allowX:s>this.containerRect.width,allowY:r}},Zoom.prototype.setZoomEssentials=function(){this.containerRect=this.core.$content.get().getBoundingClientRect()},Zoom.prototype.zoomImage=function(e,t,i,o){if(!(0>=Math.abs(t))){var s,n,r,l,a=this.containerRect.width/2+this.containerRect.left,g=this.containerRect.height/2+this.containerRect.top+this.scrollTop;1===e&&(this.positionChanged=!1);var d=this.getDragAllowedAxises(0,t),c=d.allowY,h=d.allowX;this.positionChanged&&(s=this.left/(this.scale-t),n=this.top/(this.scale-t),this.pageX=a-s,this.pageY=g-n,this.positionChanged=!1);var u=this.getPossibleSwipeDragCords(t),m=a-this.pageX,p=g-this.pageY;if(e-t>1){var f=(e-t)/Math.abs(t);m=(t<0?-m:m)+this.left*(f+(t<0?-1:1)),p=(t<0?-p:p)+this.top*(f+(t<0?-1:1)),r=m/f,l=p/f}else{var f=(e-t)*t;r=m*f,l=p*f}i&&(h?this.isBeyondPossibleLeft(r,u.minX)?r=u.minX:this.isBeyondPossibleRight(r,u.maxX)&&(r=u.maxX):e>1&&(r<u.minX?r=u.minX:r>u.maxX&&(r=u.maxX)),c?this.isBeyondPossibleTop(l,u.minY)?l=u.minY:this.isBeyondPossibleBottom(l,u.maxY)&&(l=u.maxY):e>1&&(l<u.minY?l=u.minY:l>u.maxY&&(l=u.maxY))),this.setZoomStyles({x:r,y:l,scale:e}),this.left=r,this.top=l,o&&this.setZoomImageSize()}},Zoom.prototype.resetImageTranslate=function(e){if(this.isImageSlide(e)){var t=this.core.getSlideItem(e).find(".lg-image").first();this.imageReset=!1,t.removeClass("reset-transition reset-transition-y reset-transition-x"),this.core.outer.removeClass("lg-actual-size"),t.css("width","auto").css("height","auto"),setTimeout(function(){t.removeClass("no-transition")},10)}},Zoom.prototype.setZoomImageSize=function(){var e=this,t=this.core.getSlideItem(this.core.index).find(".lg-image").first();setTimeout(function(){var i=e.getCurrentImageActualSizeScale();e.scale>=i&&(t.addClass("no-transition"),e.imageReset=!0)},500),setTimeout(function(){var i=e.getCurrentImageActualSizeScale();if(e.scale>=i){var o=e.getDragAllowedAxises(e.scale);t.css("width",t.get().naturalWidth+"px").css("height",t.get().naturalHeight+"px"),e.core.outer.addClass("lg-actual-size"),o.allowX&&o.allowY?t.addClass("reset-transition"):o.allowX&&!o.allowY?t.addClass("reset-transition-x"):!o.allowX&&o.allowY&&t.addClass("reset-transition-y")}},550)},Zoom.prototype.setZoomStyles=function(e){var t=this.core.getSlideItem(this.core.index).find(".lg-img-wrap").first(),i=this.core.getSlideItem(this.core.index).find(".lg-image").first(),o=this.core.outer.find(".lg-current .lg-dummy-img").first();this.scale=e.scale,i.css("transform","scale3d("+e.scale+", "+e.scale+", 1)"),o.css("transform","scale3d("+e.scale+", "+e.scale+", 1)");var s="translate3d("+e.x+"px, "+e.y+"px, 0)";t.css("transform",s)},Zoom.prototype.setActualSize=function(e,t){var i=this;if(!this.zoomInProgress){this.zoomInProgress=!0;var o=this.core.galleryItems[this.core.index];this.resetImageTranslate(e),setTimeout(function(){if(!(!o.src||i.core.outer.hasClass("lg-first-slide-loading"))){var e=i.getCurrentImageActualSizeScale(),s=i.scale;i.core.outer.hasClass("lg-zoomed")?i.scale=1:i.scale=i.getScale(e),i.setPageCords(t),i.beginZoom(i.scale),i.zoomImage(i.scale,i.scale-s,!0,!0)}},50),setTimeout(function(){i.core.outer.removeClass("lg-grabbing").addClass("lg-grab")},60),setTimeout(function(){i.zoomInProgress=!1},610)}}
19,Zoom.prototype.getNaturalWidth=function(e){var t=this.core.getSlideItem(e).find(".lg-image").first(),i=this.core.galleryItems[e].width;return i?parseFloat(i):t.get().naturalWidth},Zoom.prototype.getActualSizeScale=function(e,t){return e>=t?e/t||2:1},Zoom.prototype.getCurrentImageActualSizeScale=function(){var e=this.core.getSlideItem(this.core.index).find(".lg-image").first().get().offsetWidth,t=this.getNaturalWidth(this.core.index)||e;return this.getActualSizeScale(t,e)},Zoom.prototype.getPageCords=function(e){var t={};if(e)t.x=e.pageX||e.touches[0].pageX,t.y=e.pageY||e.touches[0].pageY;else{var i=this.core.$content.get().getBoundingClientRect();t.x=i.width/2+i.left,t.y=i.height/2+this.scrollTop+i.top}return t},Zoom.prototype.setPageCords=function(e){var t=this.getPageCords(e);this.pageX=t.x,this.pageY=t.y},Zoom.prototype.manageActualPixelClassNames=function(){this.core.getElementById("lg-actual-size").removeClass(this.settings.actualSizeIcons.zoomIn).addClass(this.settings.actualSizeIcons.zoomOut)},Zoom.prototype.beginZoom=function(e){return this.core.outer.removeClass("lg-zoom-drag-transition lg-zoom-dragging"),e>1?(this.core.outer.addClass("lg-zoomed"),this.manageActualPixelClassNames()):this.resetZoom(),e>1},Zoom.prototype.getScale=function(e){var t=this.getCurrentImageActualSizeScale();return e<1?e=1:e>t&&(e=t),e},Zoom.prototype.init=function(){var e=this;if(this.settings.zoom){this.buildTemplates(),this.enableZoomOnSlideItemLoad();var t=null;this.core.outer.on("dblclick.lg",function(t){e.$LG(t.target).hasClass("lg-image")&&e.setActualSize(e.core.index,t)}),this.core.outer.on("touchstart.lg",function(i){var o=e.$LG(i.target);1===i.touches.length&&o.hasClass("lg-image")&&(t?(clearTimeout(t),t=null,i.preventDefault(),e.setActualSize(e.core.index,i)):t=setTimeout(function(){t=null},300))}),this.core.LGel.on("lgContainerResize.zoom lgRotateRight.zoom lgRotateLeft.zoom lgFlipHorizontal.zoom lgFlipVertical.zoom",function(){if(e.core.lgOpened&&e.isImageSlide(e.core.index)&&!e.core.touchAction){var t=e.core.getSlideItem(e.core.index).find(".lg-img-wrap").first();e.top=0,e.left=0,e.setZoomEssentials(),e.setZoomSwipeStyles(t,{x:0,y:0}),e.positionChanged=!0}}),this.$LG(window).on("scroll.lg.zoom.global"+this.core.lgId,function(){e.core.lgOpened&&(e.scrollTop=e.$LG(window).scrollTop())}),this.core.getElementById("lg-zoom-out").on("click.lg",function(){if(e.isImageSlide(e.core.index)){var t=0;e.imageReset&&(e.resetImageTranslate(e.core.index),t=50),setTimeout(function(){var t=e.scale-e.settings.scale;t<1&&(t=1),e.beginZoom(t),e.zoomImage(t,-e.settings.scale,!0,!e.settings.infiniteZoom)},t)}}),this.core.getElementById("lg-zoom-in").on("click.lg",function(){e.zoomIn()}),this.core.getElementById("lg-actual-size").on("click.lg",function(){e.setActualSize(e.core.index)}),this.core.LGel.on("lgBeforeOpen.zoom",function(){e.core.outer.find(".lg-item").removeClass("lg-zoomable")}),this.core.LGel.on("lgAfterOpen.zoom",function(){e.scrollTop=e.$LG(window).scrollTop(),e.pageX=e.core.outer.width()/2,e.pageY=e.core.outer.height()/2+e.scrollTop,e.scale=1}),this.core.LGel.on("lgAfterSlide.zoom",function(t){var i=t.detail.prevIndex;e.scale=1,e.positionChanged=!1,e.zoomInProgress=!1,e.resetZoom(i),e.resetImageTranslate(i),e.isImageSlide(e.core.index)&&e.setZoomEssentials()}),this.zoomDrag(),this.pinchZoom(),this.zoomSwipe(),this.zoomableTimeout=!1,this.positionChanged=!1,this.zoomInProgress=!1}},Zoom.prototype.zoomIn=function(){if(this.isImageSlide(this.core.index)){var e=this.scale+this.settings.scale;this.settings.infiniteZoom||(e=this.getScale(e)),this.beginZoom(e),this.zoomImage(e,Math.min(this.settings.scale,e-this.scale),!0,!this.settings.infiniteZoom)}},Zoom.prototype.resetZoom=function(e){this.core.outer.removeClass("lg-zoomed lg-zoom-drag-transition");var t=this.core.getElementById("lg-actual-size"),i=this.core.getSlideItem(void 0!==e?e:this.core.index);t.removeClass(this.settings.actualSizeIcons.zoomOut).addClass(this.settings.actualSizeIcons.zoomIn),i.find(".lg-img-wrap").first().removeAttr("style"),i.find(".lg-image").first().removeAttr("style"),this.scale=1,this.left=0,this.top=0,this.setPageCords()},Zoom.prototype.getTouchDistance=function(e){return Math.sqrt((e.touches[0].pageX-e.touches[1].pageX)*(e.touches[0].pageX-e.touches[1].pageX)+(e.touches[0].pageY-e.touches[1].pageY)*(e.touches[0].pageY-e.touches[1].pageY))},Zoom.prototype.pinchZoom=function(){var e=this,t=0,i=!1,o=1,s=0,n=this.core.getSlideItem(this.core.index);this.core.outer.on("touchstart.lg",function(i){n=e.core.getSlideItem(e.core.index),e.isImageSlide(e.core.index)&&2===i.touches.length&&(i.preventDefault(),!e.core.outer.hasClass("lg-first-slide-loading")&&(o=e.scale||1,e.core.outer.removeClass("lg-zoom-drag-transition lg-zoom-dragging"),e.setPageCords(i),e.resetImageTranslate(e.core.index),e.core.touchAction="pinch",t=e.getTouchDistance(i)))}),this.core.$inner.on("touchmove.lg",function(r){if(2===r.touches.length&&"pinch"===e.core.touchAction&&(e.$LG(r.target).hasClass("lg-item")||n.get().contains(r.target))){r.preventDefault();var l=e.getTouchDistance(r),a=t-l;if(!i&&Math.abs(a)>5&&(i=!0),i){s=e.scale;var g=Math.max(1,o+-(.02*a));e.scale=Math.round((g+Number.EPSILON)*100)/100;var d=e.scale-s;e.zoomImage(e.scale,Math.round((d+Number.EPSILON)*100)/100,!1,!1)}}}
19),this.core.$inner.on("touchend.lg",function(o){if("pinch"===e.core.touchAction&&(e.$LG(o.target).hasClass("lg-item")||n.get().contains(o.target))){if(i=!1,t=0,e.scale<=1)e.resetZoom();else{var s=e.getCurrentImageActualSizeScale();if(e.scale>=s){var r=s-e.scale;0===r&&(r=.01),e.zoomImage(s,r,!1,!0)}e.manageActualPixelClassNames(),e.core.outer.addClass("lg-zoomed")}e.core.touchAction=void 0}})},Zoom.prototype.touchendZoom=function(e,t,i,o,s){var n=t.x-e.x,r=t.y-e.y,l=Math.abs(n)/s+1,a=Math.abs(r)/s+1;l>2&&(l+=1),a>2&&(a+=1),n*=l,r*=a;var g=this.core.getSlideItem(this.core.index).find(".lg-img-wrap").first(),d={};d.x=this.left+n,d.y=this.top+r;var c=this.getPossibleSwipeDragCords();(Math.abs(n)>15||Math.abs(r)>15)&&(o&&(this.isBeyondPossibleTop(d.y,c.minY)?d.y=c.minY:this.isBeyondPossibleBottom(d.y,c.maxY)&&(d.y=c.maxY)),i&&(this.isBeyondPossibleLeft(d.x,c.minX)?d.x=c.minX:this.isBeyondPossibleRight(d.x,c.maxX)&&(d.x=c.maxX)),o?this.top=d.y:d.y=this.top,i?this.left=d.x:d.x=this.left,this.setZoomSwipeStyles(g,d),this.positionChanged=!0)},Zoom.prototype.getZoomSwipeCords=function(e,t,i,o,s){var n={};if(o){if(n.y=this.top+(t.y-e.y),this.isBeyondPossibleTop(n.y,s.minY)){var r=s.minY-n.y;n.y=s.minY-r/6}else if(this.isBeyondPossibleBottom(n.y,s.maxY)){var l=n.y-s.maxY;n.y=s.maxY+l/6}}else n.y=this.top;if(i){if(n.x=this.left+(t.x-e.x),this.isBeyondPossibleLeft(n.x,s.minX)){var a=s.minX-n.x;n.x=s.minX-a/6}else if(this.isBeyondPossibleRight(n.x,s.maxX)){var g=n.x-s.maxX;n.x=s.maxX+g/6}}else n.x=this.left;return n},Zoom.prototype.isBeyondPossibleLeft=function(e,t){return e>=t},Zoom.prototype.isBeyondPossibleRight=function(e,t){return e<=t},Zoom.prototype.isBeyondPossibleTop=function(e,t){return e>=t},Zoom.prototype.isBeyondPossibleBottom=function(e,t){return e<=t},Zoom.prototype.isImageSlide=function(e){var t=this.core.galleryItems[e];return"image"===this.core.getSlideType(t)},Zoom.prototype.getPossibleSwipeDragCords=function(e){var t=this.core.getSlideItem(this.core.index).find(".lg-image").first(),i=this.core.mediaContainerPosition.bottom,o=t.get().getBoundingClientRect(),s=o.height,n=o.width;return e&&(s+=e*s,n+=e*n),{minY:(s-this.containerRect.height)/2,maxY:(this.containerRect.height-s)/2+i,minX:(n-this.containerRect.width)/2,maxX:(this.containerRect.width-n)/2}},Zoom.prototype.setZoomSwipeStyles=function(e,t){e.css("transform","translate3d("+t.x+"px, "+t.y+"px, 0)")},Zoom.prototype.zoomSwipe=function(){var e,t,i=this,o={},s={},n=!1,r=!1,l=!1,a=new Date,g=this.core.getSlideItem(this.core.index);this.core.$inner.on("touchstart.lg",function(s){if(i.isImageSlide(i.core.index)&&(g=i.core.getSlideItem(i.core.index),(i.$LG(s.target).hasClass("lg-item")||g.get().contains(s.target))&&1===s.touches.length&&i.core.outer.hasClass("lg-zoomed"))){s.preventDefault(),a=new Date,i.core.touchAction="zoomSwipe",t=i.core.getSlideItem(i.core.index).find(".lg-img-wrap").first();var n=i.getDragAllowedAxises(0);l=n.allowY,((r=n.allowX)||l)&&(o=i.getSwipeCords(s)),e=i.getPossibleSwipeDragCords(),i.core.outer.addClass("lg-zoom-dragging lg-zoom-drag-transition")}}),this.core.$inner.on("touchmove.lg",function(a){if(1===a.touches.length&&"zoomSwipe"===i.core.touchAction&&(i.$LG(a.target).hasClass("lg-item")||g.get().contains(a.target))){a.preventDefault(),i.core.touchAction="zoomSwipe",s=i.getSwipeCords(a);var d=i.getZoomSwipeCords(o,s,r,l,e);(Math.abs(s.x-o.x)>15||Math.abs(s.y-o.y)>15)&&(n=!0,i.setZoomSwipeStyles(t,d))}}),this.core.$inner.on("touchend.lg",function(e){if("zoomSwipe"===i.core.touchAction&&(i.$LG(e.target).hasClass("lg-item")||g.get().contains(e.target))&&(e.preventDefault(),i.core.touchAction=void 0,i.core.outer.removeClass("lg-zoom-dragging"),n)){n=!1;var t=new Date().valueOf()-a.valueOf();i.touchendZoom(o,s,r,l,t)}})},Zoom.prototype.zoomDrag=function(){var e,t,i,o,s=this,n={},r={},l=!1,a=!1,g=!1,d=!1;this.core.outer.on("mousedown.lg.zoom",function(t){if(s.isImageSlide(s.core.index)){var r=s.core.getSlideItem(s.core.index);if(s.$LG(t.target).hasClass("lg-item")||r.get().contains(t.target)){e=new Date,o=s.core.getSlideItem(s.core.index).find(".lg-img-wrap").first();var a=s.getDragAllowedAxises(0);
19d=a.allowY,g=a.allowX,s.core.outer.hasClass("lg-zoomed")&&s.$LG(t.target).hasClass("lg-object")&&(g||d)&&(t.preventDefault(),n=s.getDragCords(t),i=s.getPossibleSwipeDragCords(),l=!0,s.core.outer.removeClass("lg-grab").addClass("lg-grabbing lg-zoom-drag-transition lg-zoom-dragging"))}}}),this.$LG(window).on("mousemove.lg.zoom.global"+this.core.lgId,function(e){if(l){a=!0,r=s.getDragCords(e);var t=s.getZoomSwipeCords(n,r,g,d,i);s.setZoomSwipeStyles(o,t)}}),this.$LG(window).on("mouseup.lg.zoom.global"+this.core.lgId,function(i){if(l){if(t=new Date,l=!1,s.core.outer.removeClass("lg-zoom-dragging"),a&&(n.x!==r.x||n.y!==r.y)){r=s.getDragCords(i);var o=t.valueOf()-e.valueOf();s.touchendZoom(n,r,g,d,o)}a=!1}s.core.outer.removeClass("lg-grabbing").addClass("lg-grab")})},Zoom.prototype.closeGallery=function(){this.resetZoom(),this.zoomInProgress=!1},Zoom.prototype.destroy=function(){this.$LG(window).off(".lg.zoom.global"+this.core.lgId),this.core.LGel.off(".lg.zoom"),this.core.LGel.off(".zoom"),clearTimeout(this.zoomableTimeout),this.zoomableTimeout=!1},Zoom}();t.Z=o},38680:function(e,t,i){"use strict";var o=i(67294),__assign=function(){return(__assign=Object.assign||function(e){for(var t,i=1,o=arguments.length;i<o;i++)for(var s in t=arguments[i])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},s={afterAppendSlide:"lgAfterAppendSlide",init:"lgInit",hasVideo:"lgHasVideo",containerResize:"lgContainerResize",updateSlides:"lgUpdateSlides",afterAppendSubHtml:"lgAfterAppendSubHtml",beforeOpen:"lgBeforeOpen",afterOpen:"lgAfterOpen",slideItemLoad:"lgSlideItemLoad",beforeSlide:"lgBeforeSlide",afterSlide:"lgAfterSlide",posterClick:"lgPosterClick",dragStart:"lgDragStart",dragMove:"lgDragMove",dragEnd:"lgDragEnd",beforeNextSlide:"lgBeforeNextSlide",beforePrevSlide:"lgBeforePrevSlide",beforeClose:"lgBeforeClose",afterClose:"lgAfterClose"},n={mode:"lg-slide",easing:"ease",speed:400,licenseKey:"0000-0000-000-0000",height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:300,container:"",startAnimationDuration:400,zoomFromOrigin:!0,hideBarsDelay:0,showBarsAfter:1e4,slideDelay:0,supportLegacyBrowser:!0,allowMediaOverlap:!1,videoMaxSize:"1280-720",loadYouTubePoster:!0,defaultCaptionHeight:0,ariaLabelledby:"",ariaDescribedby:"",resetScrollPosition:!0,hideScrollbar:!1,closable:!0,swipeToClose:!0,closeOnTap:!0,showCloseIcon:!0,showMaximizeIcon:!1,loop:!0,escKey:!0,keyPress:!0,trapFocus:!0,controls:!0,slideEndAnimation:!0,hideControlOnEnd:!1,mousewheel:!1,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:2,numberOfSlideItemsInDom:10,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:0,iframeWidth:"100%",iframeHeight:"100%",iframeMaxWidth:"100%",iframeMaxHeight:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],extraProps:[],exThumbImage:"",isMobile:void 0,mobileSettings:{controls:!1,showCloseIcon:!1,download:!1},plugins:[],strings:{closeGallery:"Close gallery",toggleMaximize:"Toggle maximize",previousSlide:"Previous slide",nextSlide:"Next slide",download:"Download",playVideo:"Play video",mediaLoadingFailed:"Oops... Failed to load content..."}},r=function(){function lgQuery(e){return this.cssVenderPrefixes=["TransitionDuration","TransitionTimingFunction","Transform","Transition"],this.selector=this._getSelector(e),this.firstElement=this._getFirstEl(),this}return lgQuery.generateUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},lgQuery.prototype._getSelector=function(e,t){return(void 0===t&&(t=document),"string"!=typeof e)?e:(t=t||document,"#"===e.substring(0,1))?t.querySelector(e):t.querySelectorAll(e)},lgQuery.prototype._each=function(e){return this.selector&&(void 0!==this.selector.length?[].forEach.call(this.selector,e):e(this.selector,0)),this},lgQuery.prototype._setCssVendorPrefix=function(e,t,i){var o=t.replace(/-([a-z])/gi,function(e,t){return t.toUpperCase()});-1!==this.cssVenderPrefixes.indexOf(o)?(e.style[o.charAt(0).toLowerCase()+o.slice(1)]=i,e.style["webkit"+o]=i,e.style["moz"+o]=i,e.style["ms"+o]=i,e.style["o"+o]=i):e.style[o]=i},lgQuery.prototype._getFirstEl=function(){return this.selector&&void 0!==this.selector.length?this.selector[0]:this.selector},lgQuery.prototype.isEventMatched=function(e,t){var i=t.split(".");return e.split(".").filter(function(e){return e}).every(function(e){return -1!==i.indexOf(e)})},lgQuery.prototype.attr=function(e,t){return void 0===t?this.firstElement?this.firstElement.getAttribute(e):"":(this._each(function(i){i.setAttribute(e,t)}),this)},lgQuery.prototype.find=function(e){return $LG(this._getSelector(e,this.selector))},lgQuery.prototype.first=function(){return this.selector&&void 0!==this.selector.length?$LG(this.selector[0]):$LG
19(this.selector)},lgQuery.prototype.eq=function(e){return $LG(this.selector[e])},lgQuery.prototype.parent=function(){return $LG(this.selector.parentElement)},lgQuery.prototype.get=function(){return this._getFirstEl()},lgQuery.prototype.removeAttr=function(e){var t=e.split(" ");return this._each(function(e){t.forEach(function(t){return e.removeAttribute(t)})}),this},lgQuery.prototype.wrap=function(e){if(!this.firstElement)return this;var t=document.createElement("div");return t.className=e,this.firstElement.parentNode.insertBefore(t,this.firstElement),this.firstElement.parentNode.removeChild(this.firstElement),t.appendChild(this.firstElement),this},lgQuery.prototype.addClass=function(e){return void 0===e&&(e=""),this._each(function(t){e.split(" ").forEach(function(e){e&&t.classList.add(e)})}),this},lgQuery.prototype.removeClass=function(e){return this._each(function(t){e.split(" ").forEach(function(e){e&&t.classList.remove(e)})}),this},lgQuery.prototype.hasClass=function(e){return!!this.firstElement&&this.firstElement.classList.contains(e)},lgQuery.prototype.hasAttribute=function(e){return!!this.firstElement&&this.firstElement.hasAttribute(e)},lgQuery.prototype.toggleClass=function(e){return this.firstElement&&(this.hasClass(e)?this.removeClass(e):this.addClass(e)),this},lgQuery.prototype.css=function(e,t){var i=this;return this._each(function(o){i._setCssVendorPrefix(o,e,t)}),this},lgQuery.prototype.on=function(e,t){var i=this;return this.selector&&e.split(" ").forEach(function(e){Array.isArray(lgQuery.eventListeners[e])||(lgQuery.eventListeners[e]=[]),lgQuery.eventListeners[e].push(t),i.selector.addEventListener(e.split(".")[0],t)}),this},lgQuery.prototype.once=function(e,t){var i=this;return this.on(e,function(){i.off(e),t(e)}),this},lgQuery.prototype.off=function(e){var t=this;return this.selector&&Object.keys(lgQuery.eventListeners).forEach(function(i){t.isEventMatched(e,i)&&(lgQuery.eventListeners[i].forEac
19h(function(e){t.selector.removeEventListener(i.split(".")[0],e)}),lgQuery.eventListeners[i]=[])}),this},lgQuery.prototype.trigger=function(e,t){if(!this.firstElement)return this;var i=new CustomEvent(e.split(".")[0],{detail:t||null});return this.firstElement.dispatchEvent(i),this},lgQuery.prototype.load=function(e){var t=this;return fetch(e).then(function(e){return e.text()}).then(function(e){t.selector.innerHTML=e}),this},lgQuery.prototype.html=function(e){return void 0===e?this.firstElement?this.firstElement.innerHTML:"":(this._each(function(t){t.innerHTML=e}),this)},lgQuery.prototype.append=function(e){return this._each(function(t){"string"==typeof e?t.insertAdjacentHTML("beforeend",e):t.appendChild(e)}),this},lgQuery.prototype.prepend=function(e){return this._each(function(t){"string"==typeof e?t.insertAdjacentHTML("afterbegin",e):e instanceof HTMLElement&&t.insertBefore(e.cloneNode(!0),t.firstChild)}),this},lgQuery.prototype.remove=function(){return this._each(function(e){e.parentNode.removeChild(e)}),this},lgQuery.prototype.empty=function(){return this._each(function(e){e.innerHTML=""}),this},lgQuery.prototype.scrollTop=function(e){return void 0!==e?(document.body.scrollTop=e,document.documentElement.scrollTop=e,this):window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},lgQuery.prototype.scrollLeft=function(e){return void 0!==e?(document.body.scrollLeft=e,document.documentElement.scrollLeft=e,this):window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0},lgQuery.prototype.offset=function(){if(!this.firstElement)return{left:0,top:0};var e=this.firstElement.getBoundingClientRect(),t=$LG("body").style().marginLeft;return{left:e.left-parseFloat(t)+this.scrollLeft(),top:e.top+this.scrollTop()}},lgQuery.prototype.style=function(){return this.firstElement?this.firstElement.currentStyle||window.getComputedStyle(this.firstElement):{}},lgQuery.prototype.width=function(){var e=this.style();return this.firstElement.clientWidth-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)},lgQuery.prototype.height=function(){var e=this.style();return this.firstElement.clientHeight-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)},lgQuery.eventListeners={},lgQuery}();function $LG(e){return"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),new r(e)}var l=["src","sources","subHtml","subHtmlUrl","html","video","poster","slideName","responsive","srcset","sizes","iframe","downloadUrl","download","width","facebookShareUrl","tweetText","iframeTitle","twitterShareUrl","pinterestShareUrl","pinterestText","fbHtml","disqusIdentifier","disqusUrl"],a={fetchCaptionFromUrl:function(e,t,i){fetch(e).then(function(e){return e.text()}).then(function(e){if("append"===i){var o='<div class="lg-sub-html">'+e+"</div>";t.append(o)}else t.html(e)})},getSize:function(e,t,i,o){void 0===i&&(i=0);var s=$LG(e).attr("data-lg-size")||o;if(s){var n=s.split(",");if(n[1])for(var r=window.innerWidth,l=0;l<n.length;l++){var a=n[l];if(parseInt(a.split("-")[2],10)>r){s=a;break}l===n.length-1&&(s=a)}var g=s.split("-"),d=parseInt(g[0],10),c=parseInt(g[1],10),h=Math.min(Math.min(t.width(),d)/d,Math.min(t.height()-i,c)/c);return{width:d*h,height:c*h}}},getTransform:function(e,t,i,o,s){if(s){var n=$LG(e).find("img").first();if(n.get()){var r=t.get().getBoundingClientRect(),l=r.width,a=t.height()-(i+o),g=n.width(),d=n.height(),c=n.style(),h=(l-g)/2-n.offset().left+(parseFloat(c.paddingLeft)||0)+(parseFloat(c.borderLeft)||0)+$LG(window).scrollLeft()+r.left,u=(a-d)/2-n.offset().top+(parseFloat(c.paddingTop)||0)+(parseFloat(c.borderTop)||0)+$LG(window).scrollTop()+i;return"translate3d("+(h*=-1)+"px, "+(u*=-1)+"px, 0) scale3d("+g/s.width+", "+d/s.height+", 1)"}}},getIframeMarkup:function(e,t,i,o,s,n){return'<div class="lg-media-cont lg-has-iframe" style="width:'+e+"; max-width:"+i+"; height: "+t+"; max-height:"+o+'">\n <iframe class="lg-object" frameborder="0" '+(n?'title="'+n+'"':"")+' src="'+s+'" allowfullscreen="true"></iframe>\n </div>'},getImgMarkup:function(e,t,i,o,s,n){var r="";return n&&(r=("string"==typeof n?JSON.parse(n):n).map(function(e){var t="";return Object.keys(e).forEach(function(i){t+=" "+i+'="'+e[i]+'"'}),"<source "+t+"></source>"})),""+r+("<img "+i+" "+(o?'srcset="'+o+'"':"")+" "+(s?'sizes="'+s+'"':"")+' class="lg-object lg-image" data-index="'+e)+'" src="'+t+'" />'},getResponsiveSrc:function(e){for(var t=[],i=[],o="",s=0;s<e.length;s++){var n=e[s].split(" ");""===n[0]&&n.splice(0,1),i.push(n[0]),t.push(n[1])}for(var r=window.innerWidth,l=0;l<t.length;l++)if(parseInt(t[l],10)>r){o=i[l];break}return o},isImageLoaded:function(e){return!!e&&!!e.complete&&0!==e.naturalWi
19dth},getVideoPosterMarkup:function(e,t,i,o,s){var n="";n=s&&s.youtube?"lg-has-youtube":s&&s.vimeo?"lg-has-vimeo":"lg-has-html5";var r=t;return"string"!=typeof t&&(r=t.outerHTML),'<div class="lg-video-cont '+n+'" style="'+i+'">\n <div class="lg-video-play-button">\n <svg\n viewBox="0 0 20 20"\n preserveAspectRatio="xMidYMid"\n focusable="false"\n aria-labelledby="'+o+'"\n role="img"\n class="lg-video-play-icon"\n >\n <title>'+o+'</title>\n <polygon class="lg-video-play-icon-inner" points="1,0 20,10 1,20"></polygon>\n </svg>\n <svg class="lg-video-play-icon-bg" viewBox="0 0 50 50" focusable="false">\n <circle cx="50%" cy="50%" r="20"></circle></svg>\n <svg class="lg-video-play-icon-circle" viewBox="0 0 50 50" focusable="false">\n <circle cx="50%" cy="50%" r="20"></circle>\n </svg>\n </div>\n '+r+'\n <img class="lg-object lg-video-poster" src="'+e+'" />\n </div>'},getFocusableElements:function(e){var t=e.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])');return[].filter.call(t,function(e){var t=window.getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility})},getDynamicOptions:function(e,t,i,o){var s=[],n=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;for(var o=Array(e),s=0,t=0;t<i;t++)for(var n=arguments[t],r=0,l=n.length;r<l;r++,s++)o[s]=n[r];return o}(l,t);return[].forEach.call(e,function(e){for(var t={},r=0;r<e.attributes.length;r++){var l=e.attributes[r];if(l.specified){var a,g="href"===(a=l.name)?"src":a=(a=(a=a.replace("data-","")).charAt(0).toLowerCase()+a.slice(1)).replace(/-([a-z])/g,function(e){return e[1].toUpperCase()}),d="";n.indexOf(g)>-1&&(d=g),d&&(t[d]=l.value)}}var c=$LG(e),h=c.find("img").first().attr("alt"),u=c.attr("title"),m=o?c.attr(o):c.find("img").first().attr("src");t.thumb=m,i&&!t.subHtml&&(t.subHtml=u||h||""),t.alt=h||u||"",s.push(t)}),s},isMobile:function(){return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)},isVideo:function(e,t,i){if(!e)return t?{html5:!0}:void console.error("lightGallery :- data-src is not provided on slide item "+(i+1)+". Please make sure the selector property is properly configured. More info - https://www.lightgalleryjs.com/demos/html-markup/");var o=e.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)([\&|?][\S]*)*/i),s=e.match(/\/\/(?:www\.)?(?:player\.)?vimeo.com\/(?:video\/)?([0-9a-z\-_]+)(.*)?/i),n=e.match(/https?:\/\/(.+)?(wistia\.com|wi\.st)\/(medias|embed)\/([0-9a-z\-_]+)(.*)/);return o?{youtube:o}:s?{vimeo:s}:n?{wistia:n}:void 0}},g=0,d=function(){function LightGallery(e,t){if(this.lgOpened=!1,this.index=0,this.plugins=[],this.lGalleryOn=!1,this.lgBusy=!1,this.currentItemsInDom=[],this.prevScrollTop=0,this.bodyPaddingRight=0,this.isDummyImageRemoved=!1,this.dragOrSwipeEnabled=!1,this.mediaContainerPosition={top:0,bottom:0},!e)return this;if(g++,this.lgId=g,this.el=e,this.LGel=$LG(e),this.generateSettings(t),this.buildModules(),this.settings.dynamic&&void 0!==this.settings.dynamicEl&&!Array.isArray(this.settings.dynamicEl))throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.galleryItems=this.getItems(),this.normalizeSettings(),this.init(),this.validateLicense(),this}return LightGallery.prototype.generateSettings=function(e){if(this.settings=__assign(__assign({},n),e),this.settings.isMobile&&"function"==typeof this.settings.isMobile?this.settings.isMobile():a.isMobile()){var t=__assign(__assign({},this.settings.mobileSettings),this.settings.mobileSettings);this.settings=__assign(__assign({},this.settings),t)}},LightGallery.prototype.normalizeSettings=function(){if(this.settings.slideEndAnimation&&(this.settings.hideControlOnEnd=!1),this.settings.closable||(this.settings.swipeToClose
19=!1),this.zoomFromOrigin=this.settings.zoomFromOrigin,this.settings.dynamic&&(this.zoomFromOrigin=!1),this.settings.container){var e=this.settings.container;if("function"==typeof e)this.settings.container=e();else if("string"==typeof e){var t=document.querySelector(e);this.settings.container=null!=t?t:document.body}}else this.settings.container=document.body;this.settings.preload=Math.min(this.settings.preload,this.galleryItems.length)},LightGallery.prototype.init=function(){var e=this;this.addSlideVideoInfo(this.galleryItems),this.buildStructure(),this.LGel.trigger(s.init,{instance:this}),this.settings.keyPress&&this.keyPress(),setTimeout(function(){e.enableDrag(),e.enableSwipe(),e.triggerPosterClick()},50),this.arrow(),this.settings.mousewheel&&this.mousewheel(),this.settings.dynamic||this.openGalleryOnItemClick()},LightGallery.prototype.openGalleryOnItemClick=function(){for(var e=this,_loop_1=function(i){var o=t.items[i],s=$LG(o),n=r.generateUUID();s.attr("data-lg-id",n).on("click.lgcustom-item-"+n,function(t){t.preventDefault();var s=e.settings.index||i;e.openGallery(s,o)})},t=this,i=0;i<this.items.length;i++)_loop_1(i)},LightGallery.prototype.buildModules=function(){var e=this;this.settings.plugins.forEach(function(t){e.plugins.push(new t(e,$LG))})},LightGallery.prototype.validateLicense=function(){this.settings.licenseKey?"0000-0000-000-0000"===this.settings.licenseKey&&console.warn("lightGallery: "+this.settings.licenseKey+" license key is not valid for production use"):console.error("Please provide a valid license key")},LightGallery.prototype.getSlideItem=function(e){return $LG(this.getSlideItemId(e))},LightGallery.prototype.getSlideItemId=function(e){return"#lg-item-"+this.lgId+"-"+e},LightGallery.prototype.getIdName=function(e){return e+"-"+this.lgId},LightGallery.prototype.getElementById=function(e){return $LG("#"+this.getIdName(e))},LightGallery.prototype.manageSingleSlideClassName=function(){this.galleryItems.length<2?this.outer.addClass("lg-single-item"):this.outer.removeClass("lg-single-item")},LightGallery.prototype.buildStructure=function(){var e=this;if(!(this.$container&&this.$container.get())){var t="",i="";this.settings.controls&&(t='<button type="button" id="'+this.getIdName("lg-prev")+'" aria-label="'+this.settings.strings.previousSlide+'" class="lg-prev lg-icon"> '+this.settings.prevHtml+' </button>\n <button type="button" id="'+this.getIdName("lg-next")+'" aria-label="'+this.settings.strings.nextSlide+'" class="lg-next lg-icon"> '+this.settings.nextHtml+" </button>"),".lg-item"!==this.settings.appendSubHtmlTo&&(i='<div class="lg-sub-html" role="status" aria-live="polite"></div>');var o="";this.settings.allowMediaOverlap&&(o+="lg-media-overlap ");var s=this.settings.ariaLabelledby?'aria-labelledby="'+this.settings.ariaLabelledby+'"':"",n=this.settings.ariaDescribedby?'aria-describedby="'+this.settings.ariaDescribedby+'"':"",r="lg-container "+this.settings.addClass+" "+(document.body!==this.settings.container?"lg-inline":""),l=this.settings.closable&&this.settings.showCloseIcon?'<button type="button" aria-label="'+this.settings.strings.closeGallery+'" id="'+this.getIdName("lg-close")+'" class="lg-close lg-icon"></button>':"",a=this.settings.showMaximizeIcon?'<button type="button" aria-label="'+this.settings.strings.toggleMaximize+'" id="'+this.getIdName("lg-maximize")+'" class="lg-maximize lg-icon"></button>':"",g='\n <div class="'+r+'" id="'+this.getIdName("lg-container")+'" tabindex="-1" aria-modal="true" '+s+" "+n+' role="dialog"\n >\n <div id="'+this.getIdName("lg-backdrop")+'" class="lg-backdrop"></div>\n\n <div id="'+this.getIdName("lg-outer")+'" class="lg-outer lg-use-css3 lg-css3 lg-hide-items '+o+' ">\n\n <div id="'+this.getIdName("lg-content")+'" class="lg-content">\n <div id="'+this.getIdName("lg-inner")+'" class="lg-inner">\n </div>\n '+t+'\n </div>\n <div id="'+this.getIdName("lg-toolbar")+'" class="lg-toolbar lg-group">\n '+a+"\n "+l+"\n </div>\n "+(".lg-outer"===this.settings.appendSubHtmlTo?i:"")+'\n <div id="'+this.getIdName("lg-components")+'" class="lg-components">\n '+(".lg-sub-html"===this.settings.appendSubHtmlTo?i:"")+"\n </div>\n </div>\n </div>\n ";$LG(this.settings.container).append(g),document.body!==this.settings.container&&$LG(this.settings.container).css("position","relative"),this.outer=this.getElementById("lg-outer"),this.$lgComponents=this.getElementById("lg-components"),this.$backdrop=this.getElementById("lg-backdrop"),this.$container=this.getElementById("lg-container"),this.$inner=this.getElementById("lg-inner"),this.$content=this.getElementById("lg-content"),this.$toolbar=this.getElementById("lg-toolbar"),this.$backdrop.css("transition-duration",this.settings.backdropDuration+"ms");var d=this.settings.mode+" ";this.manageSingleSlideClassName(),this.settings.enableDrag&&(d+="lg-grab "),this.outer.addClass(d),this.$inner.css("transition-timing-function",this.settings.easing),this.$inner.css("transition-duration",this.settings.speed+"ms"),this.settings.download&&this.$toolbar.append('<a id="'+this.getIdName("lg-download")+'" target="_blank" rel="noopener" aria-label="'+this.settings.strings.download+'" download class="lg-download lg-icon"></a>'),this.counter(),$LG(window).on("resize.lg.global"+this.lgId+" orientationchange.lg.global"+this.lgId,function(){e.refreshOnResize()}),this.hideBars(),this.manageCloseGallery(),this.toggleMaximize(),this.initModules()}},LightGallery.prototype.refreshOnResize=function(){if(this.lgOpened){var e=this.galleryItems[this.index].__slideVideoInfo;this.mediaContainerPosition=this.getMediaContainerPosition();var t=this.mediaContainerPosition,i=t.top,o=t.bottom;if(this.currentImageSize=a.getSize(this.items[this.index],this.outer,i+o,e&&this.settings.videoMaxSize),e&&this.resizeVideoSlide(this.index,this.currentImageSize),this.zoomFromOrigin&&!this.isDummyImageRemoved){var n=this.getDummyImgStyles(this.currentImageSize);this.outer.find(".lg-current .lg-dummy-img").first().attr("style",n)}this.LGel.trigger(s.containerResize)}},LightGallery.prototype.resizeVideoSlide=function(e,t){var i=this.getVideoContStyle(t);
19this.getSlideItem(e).find(".lg-video-cont").attr("style",i)},LightGallery.prototype.updateSlides=function(e,t){if(this.index>e.length-1&&(this.index=e.length-1),1===e.length&&(this.index=0),!e.length){this.closeGallery();return}var i=this.galleryItems[t].src;this.galleryItems=e,this.updateControls(),this.$inner.empty(),this.currentItemsInDom=[];var o=0;this.galleryItems.some(function(e,t){return e.src===i&&(o=t,!0)}),this.currentItemsInDom=this.organizeSlideItems(o,-1),this.loadContent(o,!0),this.getSlideItem(o).addClass("lg-current"),this.index=o,this.updateCurrentCounter(o),this.LGel.trigger(s.updateSlides)},LightGallery.prototype.getItems=function(){if(this.items=[],this.settings.dynamic)return this.settings.dynamicEl||[];if("this"===this.settings.selector)this.items.push(this.el);else if(this.settings.selector){if("string"==typeof this.settings.selector){if(this.settings.selectWithin){var e=$LG(this.settings.selectWithin);this.items=e.find(this.settings.selector).get()}else this.items=this.el.querySelectorAll(this.settings.selector)}else this.items=this.settings.selector}else this.items=this.el.children;return a.getDynamicOptions(this.items,this.settings.extraProps,this.settings.getCaptionFromTitleOrAlt,this.settings.exThumbImage)},LightGallery.prototype.shouldHideScrollbar=function(){return this.settings.hideScrollbar&&document.body===this.settings.container},LightGallery.prototype.hideScrollbar=function(){if(this.shouldHideScrollbar()){this.bodyPaddingRight=parseFloat($LG("body").style().paddingRight);var e=document.documentElement.getBoundingClientRect(),t=window.innerWidth-e.width;$LG(document.body).css("padding-right",t+this.bodyPaddingRight+"px"),$LG(document.body).addClass("lg-overlay-open")}},LightGallery.prototype.resetScrollBar=function(){this.shouldHideScrollbar()&&($LG(document.body).css("padding-right",this.bodyPaddingRight+"px"),$LG(document.body).removeClass("lg-overlay-open"))},LightGallery.prototype.openGallery=function(e,t){var i=this;if(void 0===e&&(e=this.settings.index),!this.lgOpened){this.lgOpened=!0,this.outer.removeClass("lg-hide-items"),this.hideScrollbar(),this.$container.addClass("lg-show");var o=this.getItemsToBeInsertedToDom(e,e);this.currentItemsInDom=o;var n="";o.forEach(function(e){n=n+'<div id="'+e+'" class="lg-item"></div>'}),this.$inner.append(n),this.addHtml(e);var r="";this.mediaContainerPosition=this.getMediaContainerPosition();var l=this.mediaContainerPosition,g=l.top,d=l.bottom;this.settings.allowMediaOverlap||this.setMediaContainerPosition(g,d);var c=this.galleryItems[e].__slideVideoInfo;this.zoomFromOrigin&&t&&(this.currentImageSize=a.getSize(t,this.outer,g+d,c&&this.settings.videoMaxSize),r=a.getTransform(t,this.outer,g,d,this.currentImageSize)),this.zoomFromOrigin&&r||(this.outer.addClass(this.settings.startClass),this.getSlideItem(e).removeClass("lg-complete")),setTimeout(function(){i.outer.addClass("lg-components-open")},this.settings.zoomFromOrigin?100:this.settings.backdropDuration),this.index=e,this.LGel.trigger(s.beforeOpen),this.getSlideItem(e).addClass("lg-current"),this.lGalleryOn=!1,this.prevScrollTop=$LG(window).scrollTop(),setTimeout(function(){if(i.zoomFromOrigin&&r){var t=i.getSlideItem(e);t.css("transform",r),setTimeout(function(){t.addClass("lg-start-progress lg-start-end-progress").css("transition-duration",i.settings.startAnimationDuration+"ms"),i.outer.addClass("lg-zoom-from-image")}),setTimeout(function(){t.css("transform","translate3d(0, 0, 0)")},100)}setTimeout(function(){i.$backdrop.addClass("in"),i.$container.addClass("lg-show-in")},10),setTimeout(function(){i.settings.trapFocus&&document.body===i.settings.container&&i.trapFocus()},i.settings.backdropDuration+50),i.zoomFromOrigin&&r||setTimeout(function(){i.outer.addClass("lg-visible")},i.settings.backdropDuration),i.slide(e,!1,!1,!1),i.LGel.trigger(s.afterOpen)}),document.body===this.settings.container&&$LG("html").addClass("lg-on")}},LightGallery.prototype.getMediaContainerPosition=function(){if(this.settings.allowMediaOverlap)return{top:0,bottom:0};var e=this.$toolbar.get().clientHeight||0,t=this.outer.find(".lg-components .lg-sub-html").get(),i=this.settings.defaultCaptionHeight||t&&t.clientHeight||0,o=this.outer.find(".lg-thumb-outer").get();return{top:e,bottom:(o?o.clientHeight:0)+i}},LightGallery.prototype.setMediaContainerPosition=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this.$content.css("top",e+"px").css("bottom",t+"px")},LightGallery.prototype.hideBars=function(){var e=this;setTimeout(function(){e.outer.removeClass("lg-hide-items"),e.settings.hideBarsDelay>
190&&(e.outer.on("mousemove.lg click.lg touchstart.lg",function(){e.outer.removeClass("lg-hide-items"),clearTimeout(e.hideBarTimeout),e.hideBarTimeout=setTimeout(function(){e.outer.addClass("lg-hide-items")},e.settings.hideBarsDelay)}),e.outer.trigger("mousemove.lg"))},this.settings.showBarsAfter)},LightGallery.prototype.initPictureFill=function(e){if(this.settings.supportLegacyBrowser)try{picturefill({elements:[e.get()]})}catch(e){console.warn("lightGallery :- If you want srcset or picture tag to be supported for older browser please include picturefil javascript library in your document.")}},LightGallery.prototype.counter=function(){if(this.settings.counter){var e='<div class="lg-counter" role="status" aria-live="polite">\n <span id="'+this.getIdName("lg-counter-current")+'" class="lg-counter-current">'+(this.index+1)+' </span> /\n <span id="'+this.getIdName("lg-counter-all")+'" class="lg-counter-all">'+this.galleryItems.length+" </span></div>";this.outer.find(this.settings.appendCounterTo).append(e)}},LightGallery.prototype.addHtml=function(e){if(this.galleryItems[e].subHtmlUrl?i=this.galleryItems[e].subHtmlUrl:t=this.galleryItems[e].subHtml,!i){if(t){var t,i,o=t.substring(0,1);("."===o||"#"===o)&&(t=this.settings.subHtmlSelectorRelative&&!this.settings.dynamic?$LG(this.items).eq(e).find(t).first().html():$LG(t).first().html())}else t=""}if(".lg-item"!==this.settings.appendSubHtmlTo)i?a.fetchCaptionFromUrl(i,this.outer.find(".lg-sub-html"),"replace"):this.outer.find(".lg-sub-html").html(t);else{var n=$LG(this.getSlideItemId(e));i?a.fetchCaptionFromUrl(i,n,"append"):n.append('<div class="lg-sub-html">'+t+"</div>")}null!=t&&(""===t?this.outer.find(this.settings.appendSubHtmlTo).addClass("lg-empty-html"):this.outer.find(this.settings.appendSubHtmlTo).removeClass("lg-empty-html")),this.LGel.trigger(s.afterAppendSubHtml,{index:e})},LightGallery.prototype.preload=function(e){for(var t=1;t<=this.settings.preload&&!(t>=this.galleryItems.length-e);t++)this.loadContent(e+t,!1);for(var i=1;i<=this.settings.preload&&!(e-i<0);i++)this.loadContent(e-i,!1)},LightGallery.prototype.getDummyImgStyles=function(e){return e?"width:"+e.width+"px;\n margin-left: -"+e.width/2+"px;\n margin-top: -"+e.height/2+"px;\n height:"+e.height+"px":""},LightGallery.prototype.getVideoContStyle=function(e){return e?"width:"+e.width+"px;\n height:"+e.height+"px":""},LightGallery.prototype.getDummyImageContent=function(e,t,i){var o;if(this.settings.dynamic||(o=$LG(this.items).eq(t)),o){var s=void 0;if(!(s=this.settings.exThumbImage?o.attr(this.settings.exThumbImage):o.find("img").first().attr("src")))return"";var n=this.getDummyImgStyles(this.currentImageSize),r=document.createElement("img");return r.alt=i||"",r.src=s,r.className="lg-dummy-img",r.style.cssText=n,e.addClass("lg-first-slide"),this.outer.addClass("lg-first-slide-loading"),r}return""},LightGallery.prototype.setImgMarkup=function(e,t,i){var o=this.galleryItems[i],s=o.alt,n=o.srcset,r=o.sizes,l=o.sources,g="",d=s?'alt="'+s+'"':"";g=this.isFirstSlideWithZoomAnimation()?this.getDummyImageContent(t,i,d):a.getImgMarkup(i,e,d,n,r,l);var c=document.createElement("picture");c.className="lg-img-wrap",$LG(c).append(g),t.prepend(c)},LightGallery.prototype.onSlideObjectLoad=function(e,t,i,o){var s=e.find(".lg-object").first();a.isImageLoaded(s.get())||t?i():(s.on("load.lg error.lg",function(){i&&i()}),s.on("error.lg",function(){o&&o()}))},LightGallery.prototype.onLgObjectLoad=function(e,t,i,o,s,n){var r=this;this.onSlideObjectLoad(e,n,function(){r.triggerSlideItemLoad(e,t,i,o,s)},function(){e.addClass("lg-complete lg-complete_"),e.html('<span class="lg-error-msg">'+r.settings.strings.mediaLoadingFailed+"</span>")})},LightGallery.prototype.triggerSlideItemLoad=function(e,t,i,o,n){var r=this,l=this.galleryItems[t];setTimeout(function(){e.addClass("lg-complete lg-complete_"),r.LGel.trigger(s.slideItemLoad,{index:t,delay:i||0,isFirstSlide:n})},n&&"video"===this.getSlideType(l)&&!l.poster?o:0)},LightGallery.prototype.isFirstSlideWithZoomAnimation=function(){return!!(!this.lGalleryOn&&this.zoomFromOrigin&&this.currentImageSize)},LightGallery.prototype.addSlideVideoInfo=function(e){var t=this;e.forEach(function(e,i){e.__slideVideoInfo=a.isVideo(e.src,!!e.video,i),e.__slideVideoInfo&&t.settings.loadYouTubePoster&&!e.poster&&e.__slideVideoInfo.youtube&&(e.poster="//img.youtube.com/vi/"+e.__slideVideoInfo.youtube[1]+"/maxresdefault.jpg")})},LightGallery.prototype.loadContent=function(e,t){var i=this,o=this.galleryItems[e],n=$LG(this.getSlideItemId(e)),r=o.poster,l=o.srcset,g=o.sizes,d=o.sources,c=o.src,h=o.video,u=h&&"string"==typeof h?JSON.parse(h):h;if(o.responsive){var m=o.responsive.split(",");c=a.getResponsiveSrc(m)||c}var p=o.__slideVideoInfo,f="",y=!!o.iframe,v=!this.lGalleryOn,b=0;if(v&&(b=this.zoomFromOrigin&&this.currentImageSize?this.settings.startAnimationDuration+10:this.settings.backdropDuration+10),!n.hasClass("lg-loaded")){if(p){var S=this.mediaContainerPosition,C=S.top,I=S.bottom,L=a.getSize(this.items[e],this.outer,C+I,p&&this.settings.videoMaxSize);f=this.getVideoContStyle(L)}if(y){var x=a.getIframeMarkup(this.settings.iframeWidth,this.settings.iframeHeight,this.settings.iframeMaxWidth,this.settings.iframeMaxHeight,c,o.iframeTitle);n.prepend(x)}else if(r){var w="";v&&this.zoomFromOrigin&&this.currentImageSize&&(w=this.getDummyImageContent(n,e,""));var x=a.getVideoPosterMarkup(r,w||"",f,this.settings.strings.playVideo,p);n.prepend(x)}else if(p){var x='<div class="lg-video-cont " style="'+f+'"></div>';n.prepend(x)}else if(this.setImgMarkup(c,n,e),l||d){var z=n.find(".lg-object");this.initPictureFill(z)}(r||p)&&this.LGel.trigger(s.hasVideo,{index:e,src:c,html5Video:u,hasPoster:!!r}),this.LGel.trigger(s.afterAppendSlide,{index:e}),this.lGalleryOn&&".lg-item"===this.settings.appendSubHtmlTo&&this.addHtml(e)}var G=0;b&&!$LG(document.body).hasClass("lg-from-hash")&&(G=b),this.isFirstSlideWithZoomAnimation()&&(setTimeout(function(){n.removeClass("lg-start-end-progress lg-start-progress").removeAttr("style")},this.settings.startAnimationDuration+100),n.hasClass("lg-loaded")||setTimeout(function(){if("image"===i.getSlideType(o)){var t=o.alt;if(n.find(".lg-img-wrap").append(a.getImgMarkup(e,c,t?'alt="'+t+'"':"",l,g,o.sources)),l||d){var s=n.find(".lg-object");i.initPictureFill(s)}}("image"===i.getSlideType(o)||"video"===i.getSlideType(o)&&r)&&(i.onLgObjectLoad(n,e,b,G,!0,!1),i.onSlideObjectLoad(n,!!(p&&p.html5&&!r),function(){i.loadContentOnFirstSlideLoad(e,n,G)},function(){i.loadContentOnFirstSlideLoad(e,n,G)}))},this.settings.startAnimationDuration+100)),n.addClass("lg-loaded"),this.isFirstSlideWithZoomAnimation()&&("video"!==this.getSlideType(o)||r)||this.onLgObjectLoad(n,e,b,G,v,!!(p&&p.html5&&!r)),(!this.zoomFromOrigin||!this.currentImageSize)&&n.hasClass("lg-complete_")&&!this.lGalleryOn&&setTimeout(function(){n.addClass("lg-complete")},this.settings.backdropDuration),this.lGalleryOn=!0,!0===t&&(n.hasClass("lg-complete_")?this.preload(e):n.find(".lg-object").first().on("load.lg error.lg",function(){i.preload(e)}))},LightGallery.prototype.loadContentOnFirstSlideLoad=function(e,t,i){var o=this;setTimeout(function(){t.find(".lg-dummy-img").remove(),t.removeClass("lg-first-slide"),o.outer.removeClass("lg-first-slide-loading"),o.isDummyImageRemoved=!0,o.preload(e)},i+300)},LightGallery.prototype.getItemsToBeInsertedToDom=function(e,t,i){var o=this;void 0===i&&(i=0);var s=[],n=Math.max(i,3);n=Math.min(n,this.galleryItems.length);var r="lg-item-"+this.lgId+"-"+t;
19if(this.galleryItems.length<=3)return this.galleryItems.forEach(function(e,t){s.push("lg-item-"+o.lgId+"-"+t)}),s;if(e<(this.galleryItems.length-1)/2){for(var l=e;l>e-n/2&&l>=0;l--)s.push("lg-item-"+this.lgId+"-"+l);for(var a=s.length,l=0;l<n-a;l++)s.push("lg-item-"+this.lgId+"-"+(e+l+1))}else{for(var l=e;l<=this.galleryItems.length-1&&l<e+n/2;l++)s.push("lg-item-"+this.lgId+"-"+l);for(var a=s.length,l=0;l<n-a;l++)s.push("lg-item-"+this.lgId+"-"+(e-l-1))}return this.settings.loop&&(e===this.galleryItems.length-1?s.push("lg-item-"+this.lgId+"-0"):0===e&&s.push("lg-item-"+this.lgId+"-"+(this.galleryItems.length-1))),-1===s.indexOf(r)&&s.push("lg-item-"+this.lgId+"-"+t),s},LightGallery.prototype.organizeSlideItems=function(e,t){var i=this,o=this.getItemsToBeInsertedToDom(e,t,this.settings.numberOfSlideItemsInDom);return o.forEach(function(e){-1===i.currentItemsInDom.indexOf(e)&&i.$inner.append('<div id="'+e+'" class="lg-item"></div>')}),this.currentItemsInDom.forEach(function(e){-1===o.indexOf(e)&&$LG("#"+e).remove()}),o},LightGallery.prototype.getPreviousSlideIndex=function(){var e=0;try{var t=this.outer.find(".lg-current").first().attr("id");e=parseInt(t.split("-")[3])||0}catch(t){e=0}return e},LightGallery.prototype.setDownloadValue=function(e){if(this.settings.download){var t=this.galleryItems[e];if(!1===t.downloadUrl||"false"===t.downloadUrl)this.outer.addClass("lg-hide-download");else{var i=this.getElementById("lg-download");this.outer.removeClass("lg-hide-download"),i.attr("href",t.downloadUrl||t.src),t.download&&i.attr("download",t.download)}}},LightGallery.prototype.makeSlideAnimation=function(e,t,i){var o=this;this.lGalleryOn&&i.addClass("lg-slide-progress"),setTimeout(function(){o.outer.addClass("lg-no-trans"),o.outer.find(".lg-item").removeClass("lg-prev-slide lg-next-slide"),"prev"===e?(t.addClass("lg-prev-slide"),i.addClass("lg-next-slide")):(t.addClass("lg-next-slide"),i.addClass("lg-prev-slide")),setTimeout(function(){o.outer.find(".lg-item").removeClass("lg-current"),t.addClass("lg-current"),o.outer.removeClass("lg-no-trans")},50)},this.lGalleryOn?this.settings.slideDelay:0)},LightGallery.prototype.slide=function(e,t,i,o){var n=this,r=this.getPreviousSlideIndex();if(this.currentItemsInDom=this.organizeSlideItems(e,r),!this.lGalleryOn||r!==e){var l=this.galleryItems.length;if(!this.lgBusy){this.settings.counter&&this.updateCurrentCounter(e);var g=this.getSlideItem(e),d=this.getSlideItem(r),c=this.galleryItems[e],h=c.__slideVideoInfo;if(this.outer.attr("data-lg-slide-type",this.getSlideType(c)),this.setDownloadValue(e),h){var u=this.mediaContainerPosition,m=u.top,p=u.bottom,f=a.getSize(this.items[e],this.outer,m+p,h&&this.settings.videoMaxSize);this.resizeVideoSlide(e,f)}if(this.LGel.trigger(s.beforeSlide,{prevIndex:r,index:e,fromTouch:!!t,fromThumb:!!i}),this.lgBusy=!0,clearTimeout(this.hideBarTimeout),this.arrowDisable(e),!o&&(e<r?o="prev":e>r&&(o="next")),t){this.outer.find(".lg-item").removeClass("lg-prev-slide lg-current lg-next-slide");var y=void 0,v=void 0;l>2?(y=e-1,v=e+1,0===e&&r===l-1?(v=0,y=l-1):e===l-1&&0===r&&(v=0,y=l-1)):(y=0,v=1),"prev"===o?this.getSlideItem(v).addClass("lg-next-slide"):this.getSlideItem(y).addClass("lg-prev-slide"),g.addClass("lg-current")}else this.makeSlideAnimation(o,g,d);this.lGalleryOn?setTimeout(function(){n.loadContent(e,!0),".lg-item"!==n.settings.appendSubHtmlTo&&n.addHtml(e)},this.settings.speed+50+(t?0:this.settings.slideDelay)):this.loadContent(e,!0),setTimeout(function(){n.lgBusy=!1,d.removeClass("lg-slide-progress"),n.LGel.trigger(s.afterSlide,{prevIndex:r,index:e,fromTouch:t,fromThumb:i})},(this.lGalleryOn?this.settings.speed+100:100)+(t?0:this.settings.slideDelay))}this.index=e}},LightGallery.prototype.updateCurrentCounter=function(e){this.getElementById("lg-counter-current").html(e+1+"")},LightGallery.prototype.updateCounterTotal=function(){this.getElementById("lg-counter-all").html(this.galleryItems.length+"")},LightGallery.prototype.getSlideType=function(e){return e.__slideVideoInfo?"video":e.iframe?"iframe":"image"},LightGallery.prototype.touchMove=function(e,t,i){var o=t.pageX-e.pageX,s=t.pageY-e.pageY,n=!1;if(this.swipeDirection?n=!0:Math.abs(o)>15?(this.swipeDirection="horizontal",n=!0):Math.abs(s)>15&&(this.swipeDirection="vertical",n=!0),n){var r=this.getSlideItem(this.index);if("horizontal"===this.swipeDirection){null==i||i.preventDefault(),this.outer.addClass("lg-dragging"),this.setTranslate(r,o,0);var l=r.get().offsetWidth,a=15*l/100-Math.abs(10*o/100);this.setTranslate(this.outer.find(".lg-prev-slide").first(),-l+o-a,0),this.setTranslate(this.outer.find(".lg-next-slide").first(),l+o+a,0)}else if("vertical"===this.swipeDirection&&this.settings.swipeToClose){null==i||i.preventDefault(),this.$container.addClass("lg-dragging-vertical");var g=1-Math.abs(s)/window.innerHeight;this.$backdrop.css("opacity",g);var d=1-Math.abs(s)/(2*window.innerWidth);this.setTranslate(r,0,s,d,d),Math.abs(s)>100&&this.outer.addClass("lg-hide-items").removeClass("lg-components-open")}}},LightGallery.prototype.touchEnd=function(e,t,i){var o,n=this;"lg-slide"!==this.settings.mode&&this.outer.addClass("lg-slide"),setTimeout(function(){n.$container.removeClass("lg-dragging-vertical"),n.outer.removeClass("lg-dragging lg-hide-items").addClass("lg-components-open");var r=!0;if("horizontal"===n.swipeDirection){o=e.pageX-t.pageX;var l=Math.abs(e.pageX-t.pageX);o<0&&l>n.settings.swipeThreshold?(n.goToNextSlide(!0),r=!1):o>0&&l>n.settings.swipeThreshold&&(n.goToPrevSlide(!0),r=!1)}else if("vertical"===n.swipeDirection){if(o=Math.abs(e.pageY-t.pageY),n.settings.closable&&n.settings.swipeToClose&&o>100){n.closeGallery();return}n.$backdrop.css("opacity",1)}if(n.outer.find(".lg-item").removeAttr("style"),r&&5>Math.abs(e.pageX-t.pageX)){var a=$LG(i.target);n.isPosterElement(a)&&n.LGel.trigger(s.posterClick)}n.swipeDirection=void 0}),setTimeout(function(){n.outer.hasClass("lg-dragging")||"lg-slide"===n.settings.mode||n.outer.removeClass("lg-slide")},this.settings.speed+100)},LightGallery.prototype.enableSwipe=function(){var e=this,t={},i={},o=!1,n=!1;this.settings.enableSwipe&&(this.$inner.on("touchstart.lg",function(i){e.dragOrSwipeEnabled=!0;var o=e.getSlideItem(e.index);($LG(i.target).hasClass("lg-item")||o.get().contains(i.target))&&!e.outer.hasClass("lg-zoomed")&&!e.lgBusy&&1===i.touches.length&&(n=!0,e.touchAction="swipe",e.manageSwipeClass(),t={pageX:i.touches[0].pageX,pageY:i.touches[0].pageY})}),this.$inner.on("touchmove.lg",function(s){n&&"swipe"===e.touchAction&&1===s.touches.length&&(i={pageX:s.touches[0].pageX,pageY:s.touches[0].pageY},e.touchMove(t,i,s),o=!0)}),this.$inner.on("touchend.lg",function(r){if("swipe"===e.touchAction){if(o)o=!1,e.touchEnd(i,t,r);else if(n){var l=$LG(r.target);e.isPosterElement(l)&&e.LGel.trigger(s.posterClick)}e.touchAction=void 0,n=!1}}))},LightGallery.prototype.enableDrag=function(){var e=this,t={},i={},o=!1,n=!1;this.settings.enableDrag&&(this.outer.on("mousedown.lg",function(i){e.dragOrSwipeEnabled=!0;var n=e.getSlideItem(e.index);($LG(i.target).hasClass("lg-item")||n.get().contains(i.target))&&!e.outer.hasClass("lg-zoomed")&&!e.lgBusy&&(i.preventDefault(),e.lgBusy||(e.manageSwipeClass(),t={pageX:i.pageX,pageY:i.pageY},o=!0,e.outer.get().scrollLeft+=1,e.outer.get().scrollLeft-=1,e.outer.removeClass("lg-grab").addClass("lg-grabbing"),e.LGel.trigger(s.dragStart)))}),$LG(window).on("mousemove.lg.global"+this.lgId,function(r){o&&e.lgOpened&&(n=!0,i={pageX:r.pageX,pageY:r.pageY},e.touchMove(t,i),e.LGel.trigger(s.dragMove))}),$LG(window).on("mouseup.lg.global"+this.lgId,function(r){if(e.lgOpened){var l=$LG(r.target);n?(n=!1,e.touchEnd(i,t,r),e.LGel.trigger(s.dragEnd)):e.isPosterElement(l)&&e.LGel.trigger(s.posterClick),o&&(o=!1,e.outer.removeClass("lg-grabbing").addClass("lg-grab"))}}))},LightGallery.prototype.triggerPosterClick=function(){var e=this;this.$inner.on("click.lg",function(t){!e.dragOrSwipeEnabled&&e.isPosterElement($LG(t.target))&&e.LGel.trigger(s.posterClick)})},LightGallery.prototype.manageSwipeClass=function(){var e=this.index+1,t=this.index-1;this.settings.loop&&this.galleryItems.length>2&&(0===this.index?t=this.galleryItems.length-1:this.index===this.galleryItems.length-1&&(e=0)),this.outer.find(".lg-item").removeClass("lg-next-slide lg-prev-slide"),t>
19-1&&this.getSlideItem(t).addClass("lg-prev-slide"),this.getSlideItem(e).addClass("lg-next-slide")},LightGallery.prototype.goToNextSlide=function(e){var t=this,i=this.settings.loop;e&&this.galleryItems.length<3&&(i=!1),this.lgBusy||(this.index+1<this.galleryItems.length?(this.index++,this.LGel.trigger(s.beforeNextSlide,{index:this.index}),this.slide(this.index,!!e,!1,"next")):i?(this.index=0,this.LGel.trigger(s.beforeNextSlide,{index:this.index}),this.slide(this.index,!!e,!1,"next")):this.settings.slideEndAnimation&&!e&&(this.outer.addClass("lg-right-end"),setTimeout(function(){t.outer.removeClass("lg-right-end")},400)))},LightGallery.prototype.goToPrevSlide=function(e){var t=this,i=this.settings.loop;e&&this.galleryItems.length<3&&(i=!1),this.lgBusy||(this.index>0?(this.index--,this.LGel.trigger(s.beforePrevSlide,{index:this.index,fromTouch:e}),this.slide(this.index,!!e,!1,"prev")):i?(this.index=this.galleryItems.length-1,this.LGel.trigger(s.beforePrevSlide,{index:this.index,fromTouch:e}),this.slide(this.index,!!e,!1,"prev")):this.settings.slideEndAnimation&&!e&&(this.outer.addClass("lg-left-end"),setTimeout(function(){t.outer.removeClass("lg-left-end")},400)))},LightGallery.prototype.keyPress=function(){var e=this;$LG(window).on("keydown.lg.global"+this.lgId,function(t){e.lgOpened&&!0===e.settings.escKey&&27===t.keyCode&&(t.preventDefault(),e.settings.allowMediaOverlap&&e.outer.hasClass("lg-can-toggle")&&e.outer.hasClass("lg-components-open")?e.outer.removeClass("lg-components-open"):e.closeGallery()),e.lgOpened&&e.galleryItems.length>1&&(37===t.keyCode&&(t.preventDefault(),e.goToPrevSlide()),39===t.keyCode&&(t.preventDefault(),e.goToNextSlide()))})},LightGallery.prototype.arrow=function(){var e=this;this.getElementById("lg-prev").on("click.lg",function(){e.goToPrevSlide()}),this.getElementById("lg-next").on("click.lg",function(){e.goToNextSlide()})},LightGallery.prototype.arrowDisable=function(e){if(!this.settings.loop&&this.settings.hideControlOnEnd){var t=this.getElementById("lg-prev"),i=this.getElementById("lg-next");e+1===this.galleryItems.length?i.attr("disabled","disabled").addClass("disabled"):i.removeAttr("disabled").removeClass("disabled"),0===e?t.attr("disabled","disabled").addClass("disabled"):t.removeAttr("disabled").removeClass("disabled")}},LightGallery.prototype.setTranslate=function(e,t,i,o,s){void 0===o&&(o=1),void 0===s&&(s=1),e.css("transform","translate3d("+t+"px, "+i+"px, 0px) scale3d("+o+", "+s+", 1)")},LightGallery.prototype.mousewheel=function(){var e=this,t=0;this.outer.on("wheel.lg",function(i){if(i.deltaY&&!(e.galleryItems.length<2)){i.preventDefault();var o=new Date().getTime();!(o-t<1e3)&&(t=o,i.deltaY>0?e.goToNextSlide():i.deltaY<0&&e.goToPrevSlide())}})},LightGallery.prototype.isSlideElement=function(e){return e.hasClass("lg-outer")||e.hasClass("lg-item")||e.hasClass("lg-img-wrap")||e.hasClass("lg-img-rotate")},LightGallery.prototype.isPosterElement=function(e){var t=this.getSlideItem(this.index).find(".lg-video-play-button").get();return e.hasClass("lg-video-poster")||e.hasClass("lg-video-play-button")||t&&t.contains(e.get())},LightGallery.prototype.toggleMaximize=function(){var e=this;this.getElementById("lg-maximize").on("click.lg",function(){e.$container.toggleClass("lg-inline"),e.refreshOnResize()})},LightGallery.prototype.invalidateItems=function(){for(var e=0;e<this.items.length;e++){var t=$LG(this.items[e]);t.off("click.lgcustom-item-"+t.attr("data-lg-id"))}},LightGallery.prototype.trapFocus=function(){var e=this;this.$container.get().focus({preventScroll:!0}),$LG(window).on("keydown.lg.global"+this.lgId,function(t){if(e.lgOpened&&("Tab"===t.key||9===t.keyCode)){var i=a.getFocusableElements(e.$container.get()),o=i[0],s=i[i.length-1];t.shiftKey?document.activeElement===o&&(s.focus(),t.preventDefault()):document.activeElement===s&&(o.focus(),t.preventDefault())}})},LightGallery.prototype.manageCloseGallery=function(){var e=this;if(this.settings.closable){var t=!1;this.getElementById("lg-close").on("click.lg",function(){e.closeGallery()}),this.settings.closeOnTap&&(this.outer.on("mousedown.lg",function(i){var o=$LG(i.target);t=!!e.isSlideElement(o)}),this.outer.on("mousemove.lg",function(){t=!1}),this.outer.on("mouseup.lg",function(i){var o=$LG(i.target);e.isSlideElement(o)&&t&&!e.outer.hasClass("lg-dragging")&&e.closeGallery()}))}},LightGallery.prototype.closeGallery=function(e){var t,i=this;if(!this.lgOpened||!this.settings.closable&&!e)return 0;this.LGel.trigger(s.beforeClose),this.settings.resetScrollPosition&&!this.settings.hideScrollbar&&$LG(window).scrollTop(this.prevScrollTop);var o=this.items[this.index];if(this.zoomFromOrigin&&o){var n=this.mediaContainerPosition,r=n.top,l=n.bottom,g=this.galleryItems[this.index],d=g.__slideVideoInfo,c=g.poster,h=a.getSize(o,this.outer,r+l,d&&c&&this.settings.videoMaxSize);t=a.getTransform(o,this.outer,r,l,h)}this.zoomFromOrigin&&t?(this.outer.addClass("lg-closing lg-zoom-from-image"),this.get
19SlideItem(this.index).addClass("lg-start-end-progress").css("transition-duration",this.settings.startAnimationDuration+"ms").css("transform",t)):(this.outer.addClass("lg-hide-items"),this.outer.removeClass("lg-zoom-from-image")),this.destroyModules(),this.lGalleryOn=!1,this.isDummyImageRemoved=!1,this.zoomFromOrigin=this.settings.zoomFromOrigin,clearTimeout(this.hideBarTimeout),this.hideBarTimeout=!1,$LG("html").removeClass("lg-on"),this.outer.removeClass("lg-visible lg-components-open"),this.$backdrop.removeClass("in").css("opacity",0);var u=this.zoomFromOrigin&&t?Math.max(this.settings.startAnimationDuration,this.settings.backdropDuration):this.settings.backdropDuration;return this.$container.removeClass("lg-show-in"),setTimeout(function(){i.zoomFromOrigin&&t&&i.outer.removeClass("lg-zoom-from-image"),i.$container.removeClass("lg-show"),i.resetScrollBar(),i.$backdrop.removeAttr("style").css("transition-duration",i.settings.backdropDuration+"ms"),i.outer.removeClass("lg-closing "+i.settings.startClass),i.getSlideItem(i.index).removeClass("lg-start-end-progress"),i.$inner.empty(),i.lgOpened&&i.LGel.trigger(s.afterClose,{instance:i}),i.$container.get()&&i.$container.get().blur(),i.lgOpened=!1},u+100),u+100},LightGallery.prototype.initModules=function(){this.plugins.forEach(function(e){try{e.init()}catch(e){console.warn("lightGallery:- make sure lightGallery module is properly initiated")}})},LightGallery.prototype.destroyModules=function(e){this.plugins.forEach(function(t){try{e?t.destroy():t.closeGallery&&t.closeGallery()}catch(e){console.warn("lightGallery:- make sure lightGallery module is properly destroyed")}})},LightGallery.prototype.refresh=function(e){this.settings.dynamic||this.invalidateItems(),e?this.galleryItems=e:this.galleryItems=this.getItems(),this.updateControls(),this.openGalleryOnItemClick(),this.LGel.trigger(s.updateSlides)},LightGallery.prototype.updateControls=function(){this.addSlideVideoInfo(this.galleryItems),this.updateCounterTotal(),this.manageSingleSlideClassName()},LightGallery.prototype.destroyGallery=function(){this.destroyModules(!0),this.settings.dynamic||this.invalidateItems(),$LG(window).off(".lg.global"+this.lgId),this.LGel.off(".lg"),this.$container.remove()},LightGallery.prototype.destroy=function(){var e=this.closeGallery(!0);return e?setTimeout(this.destroyGallery.bind(this),e):this.destroyGallery(),e},LightGallery}(),c={onAfterAppendSlide:"lgAfterAppendSlide",onInit:"lgInit",onHasVideo:"lgHasVideo",onContainerResize:"lgContainerResize",onAfterAppendSubHtml:"lgAfterAppendSubHtml",onBeforeOpen:"lgBeforeOpen",onAfterOpen:"lgAfterOpen",onSlideItemLoad:"lgSlideItemLoad",onBeforeSlide:"lgBeforeSlide",onAfterSlide:"lgAfterSlide",onPosterClick:"lgPosterClick",onDragStart:"lgDragStart",onDragMove:"lgDragMove",onDragEnd:"lgDragEnd",onBeforeNextSlide:"lgBeforeNextSlide",onBeforePrevSlide:"lgBeforePrevSlide",onBeforeClose:"lgBeforeClose",onAfterClose:"lgAfterClose",onRotateLeft:"lgRotateLeft",onRotateRight:"lgRotateRight",onFlipHorizontal:"lgFlipHorizontal",onFlipVertical:"lgFlipVertical"};t.Z=function(e){var t=e.children,i=e.elementClassNames,s=e.onAfterAppendSlide,n=e.onInit,r=e.onHasVideo,l=e.onContainerResize,a=e.onAfterAppendSubHtml,g=e.onBeforeOpen,h=e.onAfterOpen,u=e.onSlideItemLoad,m=e.onBeforeSlide,p=e.onAfterSlide,f=e.onPosterClick,y=e.onDragStart,v=e.onDragMove,b=e.onDragEnd,S=e.onBeforeNextSlide,C=e.onBeforePrevSlide,I=e.onBeforeClose,L=e.onAfterClose,x=e.onRotateLeft,w=e.onRotateRight,z=e.onFlipHorizontal,G=e.onFlipVertical,E=/*! ***************************************************************************** 20Copyright (c) Microsoft Corporation. 21 22Permission to use, copy, modify, and/or distribute this software for any 23purpose with or without fee is hereby granted. 24 25THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 26REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 27AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 28INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 29LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 30OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 31PERFORMANCE OF THIS SOFTWARE. 32***************************************************************************** */function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,o=Object.getOwnPropertySymbols(e);s<o.length;s++)0>t.indexOf(o[s])&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(i[o[s]]=e[o[s]]);return i}(e,["children","elementClassNames","onAfterAppendSlide","onInit","onHasVideo","onContainerResize","onAfterAppendSubHtml","onBeforeOpen","onAfterOpen","onSlideItemLoad","onBeforeSlide","onAfterSlide","onPosterClick","onDragStart","onDragMove","onDragEnd","onBeforeNextSlide","onBeforePrevSlide","onBeforeClose","onAfterClose","onRotateLeft","onRotateRight","onFlipHorizontal","onFlipVertical"]),T=(0,o.useRef)(null),O=(0,o.useCallback)(function(){s&&T&&T.current&&T.current.addEventListener(c.onAfterAppendSlide,function(e){s(e.detail)}),n&&T&&T.current&&T.current.addEventListener(c.onInit,function(e){n(e.detail)}),r&&T&&T.current&&T.current.addEventListener(c.onHasVideo,function(e){r(e.detail)}),l&&T&&T.current&&T.current.addEventListener(c.onContainerResize,function(e){l(e.detail)}),a&&T&&T.current&&T.current.addEventListener(c.onAfterAppendSubHtml,function(e){a(e.detail)}),g&&T&&T.current&&T.current.addEventListener(c.onBeforeOpen,function(e){g(e.detail)}),h&&T&&T.current&&T.current.addEventListener(c.onAfterOpen,function(e){h(e.detail)}),u&&T&&T.current&&T.current.addEventListener(c.onSlideItemLoad,function(e){u(e.detail)}),m&&T&&T.current&&T.current.addEventListener(c.onBeforeSlide,function(e){m(e.detail)}),p&&T&&T.current&&T.current.addEventListener(c.onAfterSlide,function(e){p(e.detail)}),f&&T&&T.current&&T.current.addEventListener(c.onPosterClick,function(e){f(e.detail)}),y&&T&&T.current&&T.current.addEventListener(c.onDragStart,function(e){y(e.detail)}),v&&T&&T.current&&T.current.addEventListener(c.onDragMove,function(e){v(e.detail)}),b&&T&&T.current&&T.current.addEventListener(c.onDragEnd,function(e){b(e.detail)}),S&&T&&T.current&&T.current.addEventListener(c.onBeforeNextSlide,function(e){
32S(e.detail)}),C&&T&&T.current&&T.current.addEventListener(c.onBeforePrevSlide,function(e){C(e.detail)}),I&&T&&T.current&&T.current.addEventListener(c.onBeforeClose,function(e){I(e.detail)}),L&&T&&T.current&&T.current.addEventListener(c.onAfterClose,function(e){L(e.detail)}),x&&T&&T.current&&T.current.addEventListener(c.onRotateLeft,function(e){x(e.detail)}),w&&T&&T.current&&T.current.addEventListener(c.onRotateRight,function(e){w(e.detail)}),z&&T&&T.current&&T.current.addEventListener(c.onFlipHorizontal,function(e){z(e.detail)}),G&&T&&T.current&&T.current.addEventListener(c.onFlipVertical,function(e){G(e.detail)})},[s,a,L,x,w,z,G,h,p,I,S,g,C,m,l,b,v,y,r,n,f,u]);return(0,o.useEffect)(function(){O();var e,t=(e=T.current,new d(e,E));return function(){t.destroy()}},[O,E]),(0,o.createElement)("div",{className:"lg-react-element "+(i||""),ref:T},t)}},72985:function(){},28569:function(){},95723:function(){}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.