1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["gallery-slider.plugin"],{857:t=>{var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==i},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(t,e){return!1!==e.clone&&e.isMergeableObject(t)?a(Array.isArray(t)?[]:{},t,e):t}function r(t,e,i){return t.concat(e).map(function(t){return n(t,i)})}function o(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[])}function s(t,e){try{return e in t}catch(t){return!1}}function a(t,i,l){(l=l||{}).arrayMerge=l.arrayMerge||r,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=n;var u,c,d=Array.isArray(i);return d!==Array.isArray(t)?n(i,l):d?l.arrayMerge(t,i,l):(c={},(u=l).isMergeableObject(t)&&o(t).forEach(function(e){c[e]=n(t[e],u)}),o(i).forEach(function(e){(!s(t,e)||Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))&&(s(t,e)&&u.isMergeableObject(i[e])?c[e]=(function(t,e){if(!e.customMerge)return a;var i=e.customMerge(t);return"function"==typeof i?i:a})(e,u)(t[e],i[e],u):c[e]=n(i[e],u))}),c)}a.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,i){return a(t,i,e)},{})},t.exports=a},445:(t,e,i)=>{i.r(e),i.d(e,{default:()=>p});var n=i(857),r=i.n(n),o=i(516);class s{static debounce(t,e){let i,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){for(var r=arguments.length,o=Array(r),s=0;s<r;s++)o[s]=arguments[s];n&&!i&&setTimeout(t.bind(t,...o),0),clearTimeout(i),i=setTimeout(t.bind(t,...o),e)}}}class a{_registerEvents(){window.addEventListener("DOMContentLoaded",this._onDOMContentLoaded.bind(this)),window.addEventListener("resize",s.debounce(this._onResize.bind(this),200),{capture:!0,passive:!0})}_onDOMContentLoaded(){this._dispatchEvents()}_onResize(){this._viewportHasChanged(a.getCurrentViewport())&&(this._dispatchEvents(),this._dispatchViewportEvent("Viewport/hasChanged"))}_dispatchEvents(){a.isXS()?this._dispatchViewportEvent("Viewport/isXS"):a.isSM()?this._dispatchViewportEvent("Viewport/isSM"):a.isMD()?this._dispatchViewportEvent("Viewport/isMD"):a.isLG()?this._dispatchViewportEvent("Viewport/isLG"):a.isXL()?this._dispatchViewportEvent("Viewport/isXL"):a.isXXL()&&this._dispatchViewportEvent("Viewport/isXXL")}_viewportHasChanged(t){let e=t!==this.currentViewport;return e&&(this.previousViewport=this.currentViewport,this.currentViewport=t),e}_dispatchViewportEvent(t){document.$emitter.publish(t,{previousViewport:this.previousViewport})}static isXS(){return"XS"===a.getCurrentViewport()}static isSM(){return"SM"===a.getCurrentViewport()}static isMD(){return"MD"===a.getCurrentViewport()}static isLG(){return"LG"===a.getCurrentViewport()}static isXL(){return"XL"===a.getCurrentViewport()}static isXXL(){return"XXL"===a.getCurrentViewport()}static getCurrentViewport(){return window.getComputedStyle(document.documentElement).getPropertyValue("--sw-current-breakpoint").replace(/['"]+/g,"").toUpperCase()}constructor(){this.previousViewport=null,this.currentViewport=a.getCurrentViewport(),this._registerEvents()}}class l{static iterate(t,e){if(t instanceof Map||Array.isArray(t))return t.forEach(e);if(t instanceof FormData){for(var i of t.entries())e(i[1],i[0]);return}if(t instanceof NodeList)return t.forEach(e);if(t instanceof HTMLCollection)return Array.from(t).forEach(e);if(t instanceof Object)return Object.keys(t).forEach(i=>{e(t[i],i)});throw Error("The element type ".concat(typeof t," is not iterable!"))}}class u{static getViewportSettings(t,e){let i=Object.assign({},t),n=t.responsive;delete i.responsive;let o=n[window.breakpoints[e.toLowerCase()]];return o?r()(i,o):i}static prepareBreakpointPxValues(t){return l.iterate(t.responsive,(e,i)=>{let n=window.breakpoints[i.toLowerCase()];t.responsive[n]=e,delete t.responsive[i]}),t}}var c=i(293);class d extends c.Z{init(){this._slider=!1,this.el.classList.contains(this.options.initializedCls)||(this.options.slider=u.prepareBreakpointPxValues(this.options.slider),this._correctIndexSettings(),this._getSettings(a.getCurrentViewport()),this._initSlider(),this._registerEvents())}_correctIndexSettings(){this.options.slider.startIndex-=1,this.options.slider.startIndex=this.options.slider.startIndex<0?0:this.options.slider.startIndex}destroy(){if(this._slider&&"function"==typeof this._slider.destroy)try{this._slider.destroy()}catch(t){}this.el.classList.remove(this.options.initializedCls)}_registerEvents(){this._slider&&document.addEventListener("Viewport/hasChanged",()=>this.rebuild(a.getCurrentViewport()))}rebuild(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.getCurrentViewport(),e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._getSettings(t.toLowerCase());try{if(this._slider&&!e){let t=this._getCurrentIndex();this._sliderSettings.startIndex=t}this.destroy(),this._initSlider()}catch(t){}this.$emitter.publish("rebuild")}_getSettings(t){this._sliderSettings=u.getViewportSettings(this.options.slider,t)}getCurrentSliderIndex(){if(!this._slider)return;let t=this._slider.getInfo(),e=t.displayIndex%t.slideCount;return(e=0===e?t.slideCount:e)-1}getActiveSlideElement(){let t=this._slider.getInfo();return t.slideItems[t.index]}_initSlider(){this.el.classList.add(this.options.initializedCls);let t=this.el.querySelector(this.options.containerSelector),e=this.el.querySelector(this.options.controlsSelector);t&&(this._sliderSettings.enabled?(t.style.display="",this._slider=(0,o.W)({container:t,controlsContainer:e,onInit:t=>{window.PluginManager.initializePlugins(),this.$emitter.publish("initSlider"),window.Feature.isActive("ACCESSIBILITY_TWEAKS")&&this._initAccessibilityTweaks(t,this.el)},...this._sliderSettings})):t.style.display="none"),this.$emitter.publish("afterInitSlider")}_initAccessibilityTweaks(t,e){let i=t.slideItems;t.controlsContainer&&t.controlsContainer.setAttribute("tabindex","-1");let n=e||this.el;n.scrollLeft=0,n.addEventListener("scroll",t=>{n.scrollLeft=0,t.preventDefault()});for(let t=0;t<i.length;t++){let e=i.item(t);
1if(e.classList.contains("tns-slide-cloned"))for(let t of e.querySelectorAll("a, button, img"))t.setAttribute("tabindex","-1");else e.addEventListener("keyup",e=>{if("Tab"!==e.key)return;let i=this._slider.getInfo();if(n.scrollLeft=0,this._sliderSettings.autoplay&&this._slider.pause(),t!==i.index){let e=t-i.cloneCount;this._slider.goTo(e)}})}}_getCurrentIndex(){let t=this._slider.getInfo(),e=t.index%t.slideCount;return(e=0===e?t.slideCount:e)-1}}d.options={initializedCls:"js-slider-initialized",containerSelector:"[data-base-slider-container=true]",controlsSelector:"[data-base-slider-controls=true]",slider:{enabled:!0,responsive:{xs:{},sm:{},md:{},lg:{},xl:{},xxl:{}}}};var h=i(49);class f extends d{init(){this._slider=!1,this._thumbnailSlider=!1,this.el.classList.contains(this.options.initializedCls)||(this.options.slider=u.prepareBreakpointPxValues(this.options.slider),this.options.thumbnailSlider=u.prepareBreakpointPxValues(this.options.thumbnailSlider),this._correctIndexSettings(),this._getSettings(a.getCurrentViewport()),this._initSlider(),this._registerEvents())}_correctIndexSettings(){super._correctIndexSettings(),this.options.thumbnailSlider.startIndex-=1,this.options.thumbnailSlider.startIndex=this.options.thumbnailSlider.startIndex<0?0:this.options.thumbnailSlider.startIndex}destroy(){if(this._slider&&"function"==typeof this._slider.destroy)try{this._slider.destroy()}catch(t){}if(this._thumbnailSlider&&"function"==typeof this._thumbnailSlider.destroy)try{this._thumbnailSlider.destroy()}catch(t){}this.el.classList.remove(this.options.initializedCls)}rebuild(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.getCurrentViewport();this._getSettings(t.toLowerCase());try{if(this._slider){let t=this.getCurrentSliderIndex();this._sliderSettings.startIndex=t,this._thumbnailSliderSettings.startIndex=t}this.destroy(),this._initSlider()}catch(t){}this.$emitter.publish("rebuild")}_getSettings(t){super._getSettings(t),this._thumbnailSliderSettings=u.getViewportSettings(this.options.thumbnailSlider,t)}_setActiveDot(){let t=this.getCurrentSliderIndex();l.iterate(this._dots,t=>t.classList.remove(this.options.dotActiveClass));let e=this._dots[t];e&&e.classList.add(this.options.dotActiveClass)}_initDots(){this._dots=this.el.querySelectorAll("["+this.options.navDotDataAttr+"]"),this._dots&&(l.iterate(this._dots,t=>{t.addEventListener("click",this._onDotClick.bind(this))}),this._setActiveDot(),this._slider&&this._slider.events.on("indexChanged",()=>{this._setActiveDot()}))}_onDotClick(t){let e=h.Z.getDataAttribute(t.target,this.options.navDotDataAttr);this._slider.goTo(e-1)}_initSlider(){this.el.classList.add(this.options.initializedCls);let t=this.el.querySelector(this.options.containerSelector),e=this.el.querySelector(this.options.thumbnailsSelector),i=this.el.querySelector(this.options.controlsSelector),n=!!e;if(t&&(this._sliderSettings.enabled?(t.style.display="",this._slider=(0,o.W)({container:t,controlsContainer:i,navContainer:e,onInit:t=>{window.PluginManager.initializePlugin("Magnifier","[data-magnifier]"),window.PluginManager.initializePlugin("ZoomModal","[data-zoom-modal]"),n||this.el.classList.remove(this.options.loadingCls);let e=this.el.getElementsByClassName(this.options.baseSliderWrapperClass).item(0);this._initAccessibilityTweaks(t,e),this.$emitter.publish("initGallerySlider")},...this._sliderSettings}),this._initDots()):t.style.display="none"),e){let t=this.el.querySelector(this.options.thumbnailControlsSelector);this._thumbnailSliderSettings.enabled?(e.style.display="",this._thumbnailSlider=(0,o.W)({container:e,controlsContainer:t,onInit:t=>{n&&this.el.classList.remove(this.options.loadingCls),this.$emitter.publish("initThumbnailSlider"),t.controlsContainer.setAttribute("tabindex","-1")},...this._thumbnailSliderSettings})):(e.style.display="none",this.el.classList.remove(this.options.loadingCls))}this._navigateThumbnailSlider(),this.$emitter.publish("afterInitSlider")}_navigateThumbnailSlider(){let t=this._thumbnailSlider&&this._thumbnailSlider.getInfo();this._slider&&t&&this._slider.events.on("indexChanged",()=>{let e=this.getCurrentSliderIndex();t.slideItems[e].getAttribute("aria-hidden")&&this._thumbnailSlider.goTo(e-1)})}}f.options=r()(d.options,{containerSelector:"[data-gallery-slider-container=true]",thumbnailsSelector:"[data-gallery-slider-thumbnails=true]",controlsSelector:"[data-gallery-slider-control
1s=true]",thumbnailControlsSelector:"[data-thumbnail-slider-controls=true]",baseSliderWrapperClass:"base-slider",dotActiveClass:"tns-nav-active",navDotDataAttr:"data-nav-dot",loadingCls:"is-loading",slider:{preventScrollOnTouch:"auto",startIndex:1,responsive:{xs:{},sm:{},md:{},lg:{},xl:{},xxl:{}}},thumbnailSlider:{enabled:!0,loop:!1,nav:!1,items:5,gutter:10,startIndex:1,preventScrollOnTouch:"force",ariaLive:!1,responsive:{xs:{},sm:{},md:{},lg:{},xl:{},xxl:{}}}});class p extends f{_initSlider(){super._initSlider(),this.loadYoutubeVideos()}loadYoutubeVideos(){let t=Array.from(this.el.querySelectorAll(".gallery-slider-item.is-video"));if(!t.length)return;window.onYouTubeIframeAPIReady=()=>{window.youtubeApiLoaded=!0,t.forEach(t=>{if(!t.dataset.videoId)return;let e=document.createElement("DIV");t.appendChild(e),t.player=new YT.Player(e,{width:t.clientWidth,height:t.clientHeight,videoId:t.dataset.videoId,playerVars:{autoplay:0,controls:1,showinfo:0,rel:0,origin:window.location.host},host:"https://www.youtube-nocookie.com"})})};let e=()=>{t.forEach(this.fixVideoSwipe),document.body.removeEventListener("touchstart",e,!1)};if(document.body.addEventListener("touchstart",e,!1),window.youtubeApiLoaded){window.onYouTubeIframeAPIReady();return}let i=document.createElement("SCRIPT");i.src="https://www.youtube.com/iframe_api",document.body.appendChild(i)}fixVideoSwipe(t){let e,i,n;t.classList.add("enable-touch-fix"),t.addEventListener("touchstart",t=>{e=t.touches[0].clientX,i=t.touches[0].clientY},!0),t.addEventListener("touchend",r=>{1>Math.sqrt(Math.pow(e-r.changedTouches[0].clientX,2)+Math.pow(i-r.changedTouches[0].clientY,2))&&t.player[(n=!n)?"playVideo":"pauseVideo"]()},!0)}}},49:(t,e,i)=>{i.d(e,{Z:()=>r});var n=i(140);class r{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!r.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!1===r.hasAttribute(t,e))throw Error('The required property "'.concat(e,'" does not exist!'));if("function"!=typeof t.getAttribute){if(i)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=e.replace(/^data(|-)/,""),s=n.Z.toLowerCamelCase(o,"-");if(!r.isNode(t)){if(i)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(i)throw Error("This node doesn't support the dataset attribute!");return}let a=t.dataset[s];if(void 0===a){if(i)throw Error('The required data attribute "'.concat(e,'" does not exist on ').concat(t,"!"));return a}return n.Z.parsePrimitive(a)}static querySelector(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!r.isNode(t))throw Error("The parent node is not a valid HTML Node!");let n=t.querySelector(e)||!1;if(i&&!1===n)throw Error('The required element "'.concat(e,'" does not exist in parent node!'));return n}static querySelectorAll(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!r.isNode(t))throw Error("The parent node is not a valid HTML Node!");let n=t.querySelectorAll(e);if(0===n.length&&(n=!1),i&&!1===n)throw Error('At least one item of "'.concat(e,'" must exist in parent node!'));return n}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return t.querySelectorAll('\n input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n select:not([tabindex^="-"]):not([disabled]),\n textarea:not([tabindex^="-"]):not([disabled]),\n button:not([tabindex^="-"]):not([disabled]),\n a[href]:not([tabindex^="-"]):not([disabled]),\n [tabindex]:not([tabindex^="-"]):not([disabled])\n ')}static getFirstFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}}
1,140:(t,e,i)=>{i.d(e,{Z:()=>n});class n{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let i=n.toUpperCamelCase(t,e);return n.lcFirst(i)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>n.ucFirst(t.toLowerCase())).join(""):n.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}},293:(t,e,i)=>{i.d(e,{Z:()=>l});var n=i(857),r=i.n(n),o=i(49),s=i(140);class a{publish(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=new CustomEvent(t,{detail:e,cancelable:i});return this.el.dispatchEvent(n),n}subscribe(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this,r=t.split("."),o=i.scope?e.bind(i.scope):e;if(i.once&&!0===i.once){let e=o;o=function(i){n.unsubscribe(t),e(i)}}return this.el.addEventListener(r[0],o),this.listeners.push({splitEventName:r,opts:i,cb:o}),!0}unsubscribe(t){let e=t.split(".");return this.listeners=this.listeners.reduce((t,i)=>([...i.splitEventName].sort().toString()===e.sort().toString()?this.el.removeEventListener(i.splitEventName[0],i.cb):t.push(i),t),[]),!0}reset(){return this.listeners.forEach(t=>{this.el.removeEventListener(t.splitEventName[0],t.cb)}),this.listeners=[],!0}get el(){return this._el}set el(t){this._el=t}get listeners(){return this._listeners}set listeners(t){this._listeners=t}constructor(t=document){this._el=t,t.$emitter=this,this._listeners=[]}}class l{init(){throw Error('The "init" method for the plugin "'.concat(this._pluginName,'" is not defined.'))}update(){}_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(t){let e=s.Z.toDashCase(this._pluginName),i=o.Z.getDataAttribute(this.el,"data-".concat(e,"-config"),!1),n=o.Z.getAttribute(this.el,"data-".concat(e,"-options"),!1),a=[this.constructor.options,this.options,t];i&&a.push(window.PluginConfigManager.get(this._pluginName,i));try{n&&a.push(JSON.parse(n))}catch(t){throw console.error(this.el),Error('The data attribute "data-'.concat(e,'-options" could not be parsed to json: ').concat(t.message))}return r().all(a.filter(t=>t instanceof Object&&!(t instanceof Array)).map(t=>t||{}))}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(t){return t||(t=this.constructor.name),t}constructor(t,e={},i=!1){if(!o.Z.isNode(t))throw Error("There is no valid element given.");this.el=t,this.$emitter=new a(this.el),this._pluginName=this._getPluginName(i),this.options=this._mergeOptions(e),this._initialized=!1,this._registerInstance(),this._init()}}},516:(t,e)=>{var i=window,n=i.requestAnimationFrame||i.webkitRequestAnimationFrame||i.mozRequestAnimationFrame||i.msRequestAnimationFrame||function(t){return setTimeout(t,16)},r=window,o=r.cancelAnimationFrame||r.mozCancelAnimationFrame||function(t){clearTimeout(t)};function s(){for(var t,e,i,n=arguments[0]||{},r=1,o=arguments.length;r<o;r++)if((t=arguments[r])!==null)for(e in t)n!==(i=t[e])&&void 0!==i&&(n[e]=i);return n}function a(t){return["true","false"].indexOf(t)>=0?JSON.parse(t):t}function l(t,e,i,n){if(n)try{t.setItem(e,i)}catch(t){}return i}function u(){var t=document,e=t.body;return e||((e=t.createElement("body")).fake=!0),e}var c=document.documentElement;function d(t){var e="";return t.fake&&(e=c.style.overflow,t.style.background="",t.style.overflow=c.style.overflow="hidden",c.appendChild(t)),e}function h(t,e){t.fake&&(t.remove(),c.style.overflow=e,c.offsetHeight)}function f(t,e,i,n){"insertRule"in t?t.insertRule(e+"{"+i+"}",n):t.addRule(e,i,n)}function p(t){return("insertRule"in t?t.cssRules:t.rules).length}function v(t,e,i){for(var n=0,r=t.length;n<r;n++)e.call(i,t[n],n)}var m="classList"in document.createElement("_"),g=m?function(t,e){return t.classList.contains(e)}:function(t,e){return t.className.indexOf(e)>=0},y=m?function(t,e){g(t,e)||t.classList.add(e)}:function(t,e){g(t,e)||(t.className+=" "+e)},b=m?function(t,e){g(t,e)&&t.classList.remove(e)}:function(t,e){g(t,e)&&(t.className=t.className.replace(e,""))};function w(t,e){return t.hasAttribute(e)}function x(t,e){return t.getAttribute(e)}function C(t){return void 0!==t.item}function S(t,e){if(t=C(t)||t instanceof Array?t:[t],"[object Object]"===Object.prototype.toString.call(e))for(var i=t.length;i--;)for(var n in e)t[i].setAttribute(n,e[n])}function _(t,e){t=C(t)||t instanceof Array?t:[t];for(var i=(e=e instanceof Array?e:[e]).length,n=t.length;n--;)for(var r=i;r--;)t[n].removeAttribute(e[r])}function E(t){for(var e=[],i=0,n=t.length;i<n;i++)e.push(t[i]);return e}function M(t,e){"none"!==t.style.display&&(t.style.display="none")}function L(t,e){"none"===t.style.display&&(t.style.display="")}function T(t){return"none"!==window.getComputedStyle(t).display}function A(t){if("string"==typeof t){var e=[t],i=t.charAt(0).toUpperCase()+t.substr(1);["Webkit","Moz","ms","O"].forEach(function(n){("ms"!==n||"transform"===t)&&e.push(n+i)}),t=e}var n=document.createElement("fakeelement");t.length;for(var r=0;r<t.length;r++){var o=t[r];if(void 0!==n.style[o])return o}return!1}function I(t,e){var i=!1;return/^Webkit/.test(t)?i="webkit"+e+"End":/^O/.test(t)?i="o"+e+"End":t&&(i=e.toLowerCase()+"end"),i}var N=!1;try{var O=Object.defineProperty({},"passive",{get:function(){N=!0}});window.addEventListener("test",null,O)}catch(t){}var D=!!N&&{passive:!0};function V(t,e,i){for(var n in e){var r=["touchstart","touchmove"].indexOf(n)>=0&&!i&&D;t.addEventListener(n,e[n],r)}}function P(t,e){for(var i in e){var n=["touchstart","touchmove"].indexOf(i)>=0&&D;t.removeEventListener(i,e[i],n)}}function k(){return{topics:{},on:function(t,e){this.topics[t]=this.topics[t]||[],this.topics[t].push(e)},off:function(t,e){if(this.topics[t]){for(var i=0;i<this.topics[t].length;i++)if(this.topics[t][i]===e){this.topics[t].splice(i,1);break}}},emit:function(t,e){e.type=t,this.topics[t]&&this.topics[t].forEach(function(i){i(e,t)})}}}Object.keys||(Object.keys=function(t){var e=[];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.push(i);return e}),"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)});var B=function(t){t=s({container:".slider",mode:"carousel",axis:"horizontal",items:1,gutter:0,edgePadding:0,fixedWidth:!1,autoWidth:!1,viewportMax:!1,slideBy:1,center:!1,controls:!0,controlsPosition:"top",controlsText:["prev","next"],controlsContainer:!1,prevButton:!1,nextButton:!1,nav:!0,navPosition:"top",navContainer:!1,navAsThumbnails:!1,arrowKeys:!1,speed:300,autoplay:!1,autoplayPosition:"top",autoplayTimeout:5e3,autoplayDirection:"forward",autoplayText:["start","stop"],autoplayHoverPause:!1,autoplayButton:!1,autoplayButtonOutput:!0,autoplayResetOnVisibility:!0,animateIn:"tns-fadeIn",animateOut:"tns-fadeOut",animateNormal:"tns-normal",animateDelay:!1,loop:!0,rewind:!1,autoHeight:!1,responsive:!1,lazyload:!1,lazyloadSelector:".tns-lazy-img",touch:!0,mouseDrag:!1,swipeAngle:15,nested:!1,preventActionWhenRunning:!1,preventScrollOnTouch:!1,freezable:!0,onInit:!1,useLocalStorage:!0,nonce:!1,ariaLive:!0},t||{});var e=document,i=window,r={ENTER:13,SPACE:32,LEFT:37,RIGHT:39},c={},m=t.useLocalStorage;if(m){var C=navigator.userAgent,N=new Date;try{(c=i.localStorage)?(c.setItem(N,N),m=c.getItem(N)==N,c.removeItem(N)):m=!1,m||(c={})}catch(t){m=!1}m&&(c.tnsApp&&c.tnsApp!==C&&["tC","tPL","tMQ","tTf","t3D","tTDu","tTDe","tADu","tADe","tTE","tAE"].forEach(function(t){c.removeItem(t)}),localStorage.tnsApp=C)}var O=c.tC?a(c.tC):l(c,"tC",function(){var t=document,e=u(),i=d(e),n=t.createElement("div"),r=!1;e.appendChild(n);try{for(var o,s="(10px * 10)",a=["calc"+s,"-moz-calc"+s,"-webkit-calc"+s],l=0;l<3;l++)if(o=a[l],n.style.width=o,100===n.offsetWidth){r=o.replace(s,"");break}}catch(t){}return e.fake?h(e,i):n.remove(),r}(),m),D=c.tPL?a(c.tPL):l(c,"tPL",function(){var t=document,e=u(),i=d(e),n=t.createElement("div"),r=t.createElement("div"),o="",s=!1;n.className="tns-t-subp2",r.className="tns-t-ct";for(var a=0;a<70;a++)o+="<div></div>";
1return r.innerHTML=o,n.appendChild(r),e.appendChild(n),s=2>Math.abs(n.getBoundingClientRect().left-r.children[67].getBoundingClientRect().left),e.fake?h(e,i):n.remove(),s}(),m),H=c.tMQ?a(c.tMQ):l(c,"tMQ",function(){if(window.matchMedia||window.msMatchMedia)return!0;var t,e=document,i=u(),n=d(i),r=e.createElement("div"),o=e.createElement("style"),s="@media all and (min-width:1px){.tns-mq-test{position:absolute}}";return o.type="text/css",r.className="tns-mq-test",i.appendChild(o),i.appendChild(r),o.styleSheet?o.styleSheet.cssText=s:o.appendChild(e.createTextNode(s)),t=window.getComputedStyle?window.getComputedStyle(r).position:r.currentStyle.position,i.fake?h(i,n):r.remove(),"absolute"===t}(),m),z=c.tTf?a(c.tTf):l(c,"tTf",A("transform"),m),R=c.t3D?a(c.t3D):l(c,"t3D",function(t){if(!t||!window.getComputedStyle)return!1;var e,i=document,n=u(),r=d(n),o=i.createElement("p"),s=t.length>9?"-"+t.slice(0,-9).toLowerCase()+"-":"";return s+="transform",n.insertBefore(o,null),o.style[t]="translate3d(1px,1px,1px)",e=window.getComputedStyle(o).getPropertyValue(s),n.fake?h(n,r):o.remove(),void 0!==e&&e.length>0&&"none"!==e}(z),m),j=c.tTDu?a(c.tTDu):l(c,"tTDu",A("transitionDuration"),m),q=c.tTDe?a(c.tTDe):l(c,"tTDe",A("transitionDelay"),m),W=c.tADu?a(c.tADu):l(c,"tADu",A("animationDuration"),m),F=c.tADe?a(c.tADe):l(c,"tADe",A("animationDelay"),m),X=c.tTE?a(c.tTE):l(c,"tTE",I(j,"Transition"),m),$=c.tAE?a(c.tAE):l(c,"tAE",I(W,"Animation"),m),Z=i.console&&"function"==typeof i.console.warn,Y=["container","controlsContainer","prevButton","nextButton","navContainer","autoplayButton"],G={};if(Y.forEach(function(i){if("string"==typeof t[i]){var n=t[i],r=e.querySelector(n);if(G[i]=n,r&&r.nodeName)t[i]=r;else{Z&&console.warn("Can't find",t[i]);return}}}),t.container.children.length<1){Z&&console.warn("No slides found in",t.container);return}var U=t.responsive,K=t.nested,Q="carousel"===t.mode;if(U){0 in U&&(t=s(t,U[0]),delete U[0]);var J={};for(var tt in U){var te=U[tt];te="number"==typeof te?{items:te}:te,J[tt]=te}U=J,J=null}
1if(Q||function t(e){for(var i in e)Q||("slideBy"===i&&(e[i]="page"),"edgePadding"===i&&(e[i]=!1),"autoHeight"!==i||(e[i]=!1)),"responsive"===i&&t(e[i])}(t),!Q){t.axis="horizontal",t.slideBy="page",t.edgePadding=!1;var ti=t.animateIn,tn=t.animateOut,tr=t.animateDelay,to=t.animateNormal}var ts,ta,tl="horizontal"===t.axis,tu=e.createElement("div"),tc=e.createElement("div"),td=t.container,th=td.parentNode,tf=td.outerHTML,tp=td.children,tv=tp.length,tm=ic(),tg=!1;U&&iN(),Q&&(td.className+=" tns-vpfix");var ty,tb,tw,tx,tC,tS=t.autoWidth,t_=iv("fixedWidth"),tE=iv("edgePadding"),tM=iv("gutter"),tL=ih(),tT=iv("center"),tA=tS?1:Math.floor(iv("items")),tI=iv("slideBy"),tN=t.viewportMax||t.fixedWidthViewportWidth,tO=iv("arrowKeys"),tD=iv("speed"),tV=t.rewind,tP=!tV&&t.loop,tk=iv("autoHeight"),tB=iv("controls"),tH=iv("controlsText"),tz=iv("nav"),tR=iv("touch"),tj=iv("mouseDrag"),tq=iv("autoplay"),tW=iv("autoplayTimeout"),tF=iv("autoplayText"),tX=iv("autoplayHoverPause"),t$=iv("autoplayResetOnVisibility"),tZ=(tw=iv("nonce"),tx=document.createElement("style"),tw&&tx.setAttribute("nonce",tw),document.querySelector("head").appendChild(tx),tx.sheet?tx.sheet:tx.styleSheet),tY=t.lazyload,tG=t.lazyloadSelector,tU=[],tK=tP?(ty=function(){if(tS||t_&&!tN)return tv-1;var e=t_?"fixedWidth":"items",i=[];if((t_||t[e]<tv)&&i.push(t[e]),U)for(var n in U){var r=U[n][e];r&&(t_||r<tv)&&i.push(r)}return i.length||i.push(0),Math.ceil(t_?tN/Math.min.apply(null,i):Math.max.apply(null,i))}(),tb=Q?Math.ceil((5*ty-tv)/2):4*ty-tv,tb=Math.max(ty,tb),ip("edgePadding")?tb+1:tb):0,tQ=Q?tv+2*tK:tv+tK,tJ=!!(t_||tS)&&!tP,t0=t_?i5():null,t1=!Q||!tP,t2=tl?"left":"top",t3="",t5="",t9=t_?function(){return tT&&!tP?tv-1:Math.ceil(-t0/(t_+tM))}:tS?function(){for(var t=0;t<tQ;t++)if(tC[t]>=-t0)return t}:function(){return tT&&Q&&!tP?tv-1:tP||Q?Math.max(0,tQ-Math.ceil(tA)):tQ-1},t4=ia(iv("startIndex")),t6=t4;is();var t7,t8,et,ee=0,ei=tS?null:t9(),en=t.preventActionWhenRunning,er=t.swipeAngle,eo=!er||"?",es=!1,ea=t.onInit,el=new k,eu=" tns-slider tns-"+t.mode,ec=td.id||(t7=window.tnsId,window.tnsId=t7?t7+1:1,"tns"+window.tnsId),ed=iv("disable"),eh=!1,ef=t.freezable,ep=!!ef&&!tS&&iI(),ev=!1,em={click:nr,keydown:function(t){t=nd(t);var e=[r.LEFT,r.RIGHT].indexOf(t.keyCode);!(e>=0)||(0===e?eH.disabled||nr(t,-1):ez.disabled||nr(t,1))}},eg={click:function(t){if(es){if(en)return;ni()}for(var e,i=nh(t=nd(t));i!==eW&&!w(i,"data-nav");)i=i.parentNode;if(w(i,"data-nav")){var e=eZ=Number(x(i,"data-nav")),n=t_||tS?e*tv/eX:e*tA;nn(eE?e:Math.min(Math.ceil(n),tv-1),t),eY===e&&(e0&&nu(),eZ=-1)}},keydown:function(t){t=nd(t);var i=e.activeElement;if(w(i,"data-nav")){var n=[r.LEFT,r.RIGHT,r.ENTER,r.SPACE].indexOf(t.keyCode),o=Number(x(i,"data-nav"));n>=0&&(0===n?o>0&&function(t){t.focus()}(eq[o-1]):1===n?o<eX-1&&function(t){t.focus()}(eq[o+1]):(eZ=o,nn(o,t)))}}},ey={mouseover:function(){e0&&(ns(),e1=!0)},mouseout:function(){e1&&(no(),e1=!1)}},eb={visibilitychange:function(){e.hidden?e0&&(ns(),e3=!0):e3&&(no(),e3=!1)}},ew={keydown:function(t){t=nd(t);var e=[r.LEFT,r.RIGHT].indexOf(t.keyCode);e>=0&&nr(t,0===e?-1:1)}},ex={touchstart:nm,touchmove:ng,touchend:ny,touchcancel:ny},eC={mousedown:nm,mousemove:ng,mouseup:ny,mouseleave:ny},eS=ip("controls"),e_=ip("nav"),eE=!!tS||t.navAsThumbnails,eM=ip("autoplay"),eL=ip("touch"),eT=ip("mouseDrag"),eA="tns-slide-active",eI="tns-slide-cloned",eN="tns-complete",eO={load:function(t){ij(nh(t))},error:function(t){var e;y(e=nh(t),"failed"),iq(e)}},eD="force"===t.preventScrollOnTouch;if(eS)var eV,eP,ek=t.controlsContainer,eB=t.controlsContainer?t.controlsContainer.outerHTML:"",eH=t.prevButton,ez=t.nextButton,eR=t.prevButton?t.prevButton.outerHTML:"",ej=t.nextButton?t.nextButton.outerHTML:"";if(e_)var eq,eW=t.navContainer,eF=t.navContainer?t.navContainer.outerHTML:"",eX=tS?tv:nw(),e$=0,eZ=-1,eY=iu(),eG=eY,eU="tns-nav-active",eK="Carousel Page ",eQ=" (Current Slide)";if(eM)var eJ,e0,e1,e2,e3,e5="forward"===t.autoplayDirection?1:-1,e9=t.autoplayButton,e4=t.auto
1playButton?t.autoplayButton.outerHTML:"",e6=["<span class='tns-visually-hidden'>"," animation</span>"];if(eL||eT)var e7,e8,it={},ie={},ii=!1,ir=tl?function(t,e){return t.x-e.x}:function(t,e){return t.y-e.y};function io(t){t&&(tB=tz=tR=tj=tO=tq=tX=t$=!1)}function is(){for(var t=Q?t4-tK:t4;t<0;)t+=tv;return t%tv+1}function ia(t){return t=t?Math.max(0,Math.min(tP?tv-1:tv-tA,t)):0,Q?t+tK:t}function il(t){for(null==t&&(t=t4),Q&&(t-=tK);t<0;)t+=tv;return Math.floor(t%tv)}function iu(){var t,e=il();return t=eE?e:t_||tS?Math.ceil((e+1)*eX/tv-1):Math.floor(e/tA),!tP&&Q&&t4===ei&&(t=eX-1),t}function ic(){return i.innerWidth||e.documentElement.clientWidth||e.body.clientWidth}function id(t){return"top"===t?"afterbegin":"beforeend"}function ih(){var t=tE?2*tE-tM:0;return function t(i){if(null!=i){var n,r,o=e.createElement("div");return i.appendChild(o),r=(n=o.getBoundingClientRect()).right-n.left,o.remove(),r||t(i.parentNode)}}(th)-t}function ip(e){if(t[e])return!0;if(U){for(var i in U)if(U[i][e])return!0}return!1}function iv(e,i){if(null==i&&(i=tm),"items"===e&&t_)return Math.floor((tL+tM)/(t_+tM))||1;var n=t[e];if(U)for(var r in U)i>=parseInt(r)&&e in U[r]&&(n=U[r][e]);return"slideBy"===e&&"page"===n&&(n=iv("items")),!Q&&("slideBy"===e||"items"===e)&&(n=Math.floor(n)),n}function im(t,e,i,n,r){var o="";if(void 0!==t){var s=t;e&&(s-=e),o=tl?"margin: 0 "+s+"px 0 "+t+"px;":"margin: "+t+"px 0 "+s+"px 0;"}else if(e&&!i){var a="-"+e+"px";o="margin: 0 "+(tl?a+" 0 0":"0 "+a+" 0")+";"}return!Q&&r&&j&&n&&(o+=ix(n)),o}function ig(t,e,i){return t?(t+e)*tQ+"px":O?O+"("+100*tQ+"% / "+i+")":100*tQ/i+"%"}function iy(t,e,i){var n;if(t)n=t+e+"px";else{Q||(i=Math.floor(i));var r=Q?tQ:i;n=O?O+"(100% / "+r+")":100/r+"%"}return n="width:"+n,"inner"!==K?n+";":n+" !important;"}function ib(t){var e="";return!1!==t&&(e=(tl?"padding-":"margin-")+(tl?"right":"bottom")+": "+t+"px;"),e}function iw(t,e){var i=t.substring(0,t.length-e).toLowerCase();return i&&(i="-"+i+"-"),i}function ix(t){return iw(j,18)+"transition-duration:"+t/1e3+"s;"}function iC(t){return iw(W,17)+"animation-duration:"+t/1e3+"s;"}function iS(){if(ip("autoHeight")||tS||!tl){var t=td.querySelectorAll("img");v(t,function(t){var e=t.src;tY||(e&&0>e.indexOf("data:image")?(t.src="",V(t,eO),y(t,"loading"),t.src=e):ij(t))}),n(function(){iX(E(t),function(){t8=!0})}),ip("autoHeight")&&(t=iW(t4,Math.min(t4+tA-1,tQ-1))),tY?i_():n(function(){iX(E(t),i_)})}else Q&&i4(),iM(),iL()}function i_(){if(tS&&tv>1){var t=tP?t4:tv-1;(function e(){1>=Math.abs(tp[t].getBoundingClientRect().left-tp[t-1].getBoundingClientRect().right)?iE():setTimeout(function(){e()},16)})()}else iE()}function iE(){(!tl||tS)&&(iG(),tS?(t0=i5(),ef&&(ep=iI()),ei=t9(),io(ed||ep)):nb()),Q&&i4(),iM(),iL()}function iM(){if(iU(),t.ariaLive&&(tu.insertAdjacentHTML("afterbegin",'<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">'+iH()+"</span> of "+tv+"</div>"),et=tu.querySelector(".tns-liveregion .current")),eM){var e=tq?"stop":"start";e9?S(e9,{"data-action":e}):t.autoplayButtonOutput&&(tu.insertAdjacentHTML(id(t.autoplayPosition),'<button type="button" data-action="'+e+'">'+e6[0]+e+e6[1]+tF[0]+"</button>"),e9=tu.querySelector("[data-action]")),e9&&V(e9,{click:nc}),tq&&(nl(),tX&&V(td,ey),t$&&V(td,eb))}if(e_){if(eW)S(eW,{"aria-label":"Carousel Pagination"}),v(eq=eW.children,function(t,e){S(t,{"data-nav":e,tabindex:"-1","aria-label":eK+(e+1),"aria-controls":ec})});else{for(var i="",n=eE?"":'style="display:none"',r=0;r<tv;r++)i+='<button type="button" data-nav="'+r+'" tabindex="-1" aria-controls="'+ec+'" '+n+' aria-label="'+eK+(r+1)+'"></button>';i='<div class="tns-nav" aria-label="Carousel Pagination">'+i+"</div>",tu.insertAdjacentHTML(id(t.navPosition),i),eq=(eW=tu.querySelector(".tns-nav")).children}if(nx(),j){var o=j.substring(0,j.length-18).toLowerCase(),s="transition: all "+tD/1e3+"s";o&&(s="-"+o+"-"+s),f(tZ,"[aria-controls^="+ec+"-item]",s,p(tZ))}S(eq[eY],{"aria-label":eK+(eY+1)+eQ}),y(eq[eY],eU),V(eW,eg)}eS&&(!ek&&(!eH||!ez)&&(tu.insertAdjacentHTML(id(t.controlsPosition),'<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button type="button" data-controls="prev" tabindex="-1" aria-controls="'+ec+'">'+tH[0]+'</button><button type="button" data-controls="next" tabindex="-1" aria-controls="'+ec+'">'+tH[1]+"</button></div>"),ek=tu.querySelector(".tns-controls")),eH&&ez||(eH=ek.children[0],ez=ek.children[1]),t.controlsContainer&&S(ek,{"aria-label":"Carousel Navigation",tabindex:"0"}),(t.controlsContainer||t.prevButton&&t.nextButton)&&S([eH,ez],{"aria-controls":ec,tabindex:"-1"}),(t.controlsContainer||t.prevButton&&t.nextButton)&&(S(eH,{"data-controls":"prev"}),S(ez,{"data-controls":"next"})),eV=iQ(eH),eP=iQ(ez),i1(),ek?V(ek,em):(V(eH,em),V(ez,em))),iD()}function iL(){if(Q&&X){var n={};n[X]=ni,V(td,n)}tR&&V(td,ex,t.preventScrollOnTouch),tj&&V(td,eC),tO&&V(e,ew),"inner"===K?el.on("outerResized",function(){iA(),el.emit("innerLoaded",nC())}):(U||t_||tS||tk||!tl)&&V(i,{resize:iT}),tk&&("outer"===K?el.on("innerLoaded",iF):ed||iF()),iR(),ed?ik():ep&&iP(),el.on("indexChanged",i$),"inner"===K&&el.emit("innerLoaded",nC()),"function"==typeof ea&&ea(nC()),tg=!0}function iT(t){n(function(){iA(nd(t))})}function iA(i){if(tg){"outer"===K&&el.emit("outerResized",nC(i)),tm=ic();var n,r=ta,o=!1;U&&(iN(),(n=r!==ta)&&el.emit("newBreakpointStart",nC(i)));var s,a,l=tA,u=ed,c=ep,d=tO,h=tB,m=tz,g=tR,w=tj,x=tq,C=tX,S=t$,_=t4;if(n){var E=t_,T=tk,A=tH,I=tT,N=tF;if(!H)var O=tM,D=tE}if(tO=iv("arrowKeys"),tB=iv("controls"),tz=iv("nav"),tR=iv("touch"),tT=iv("center"),tj=iv("mouseDrag"),tq=iv("autoplay"),tX=iv("autoplayHoverPause"),t$=iv("autoplayResetOnVisibility"),n&&(ed=iv("disable"),t_=iv("fixedWidth"),tD=iv("speed"),tk=iv("autoHeight"),tH=iv("controlsText"),tF=iv("autoplayText"),tW=iv("autoplayTimeout"),H||(tE=iv("edgePadding"),tM=iv("gutter"))),io(ed),tL=ih(),!(!tl||tS)||ed||(iG(),tl||(nb(),o=!0)),(t_||tS)&&(t0=i5(),ei=t9()),(n||t_)&&(tA=iv("items"),tI=iv("slideBy"),(a=tA!==l)&&(t_||tS||(ei=t9()),iO())),n&&ed!==u&&(ed?ik():function(){if(eh){if(tZ.disabled=!1,td.className+=eu,i4(),tP)for(var t=tK;t--;
1)Q&&L(tp[t]),L(tp[tQ-t-1]);if(!Q)for(var e=t4,i=t4+tv;e<i;e++){var n=tp[e],r=e<t4+tA?ti:to;n.style.left=(e-t4)*100/tA+"%",y(n,r)}iV(),eh=!1}}()),ef&&(n||t_||tS)&&(ep=iI())!==c&&(ep?(i6(i9(ia(0))),iP()):(function(){if(ev){if(tE&&H&&(tc.style.margin=""),tK)for(var t="tns-transparent",e=tK;e--;)Q&&b(tp[e],t),b(tp[tQ-e-1],t);iV(),ev=!1}}(),o=!0)),io(ed||ep),tq||(tX=t$=!1),tO!==d&&(tO?V(e,ew):P(e,ew)),tB!==h&&(tB?ek?L(ek):(eH&&L(eH),ez&&L(ez)):ek?M(ek):(eH&&M(eH),ez&&M(ez))),tz!==m&&(tz?(L(eW),nx()):M(eW)),tR!==g&&(tR?V(td,ex,t.preventScrollOnTouch):P(td,ex)),tj!==w&&(tj?V(td,eC):P(td,eC)),tq===x||(tq?(e9&&L(e9),e0||e2||nl()):(e9&&M(e9),e0&&nu())),tX!==C&&(tX?V(td,ey):P(td,ey)),t$!==S&&(t$?V(e,eb):P(e,eb)),n){if((t_!==E||tT!==I)&&(o=!0),tk===T||tk||(tc.style.height=""),tB&&tH!==A&&(eH.innerHTML=tH[0],ez.innerHTML=tH[1]),e9&&tF!==N){var k=tq?1:0,B=e9.innerHTML,z=B.length-N[k].length;B.substring(z)===N[k]&&(e9.innerHTML=B.substring(0,z)+tF[k])}}else tT&&(t_||tS)&&(o=!0);if((a||t_&&!tS)&&(eX=nw(),nx()),(s=t4!==_)?(el.emit("indexChanged",nC()),o=!0):a?s||i$():(t_||tS)&&(iR(),iU(),iB()),a&&!Q&&function(){for(var t=t4+Math.min(tv,tA),e=tQ;e--;){var i=tp[e];e>=t4&&e<t?(y(i,"tns-moving"),i.style.left=(e-t4)*100/tA+"%",y(i,ti),b(i,to)):i.style.left&&(i.style.left="",y(i,to),b(i,ti)),b(i,tn)}setTimeout(function(){v(tp,function(t){b(t,"tns-moving")})},300)}(),!ed&&!ep){if(n&&!H&&((tE!==D||tM!==O)&&(tc.style.cssText=im(tE,tM,t_,tD,tk)),tl)){Q&&(td.style.width=ig(t_,tM,tA));var R,j,q=iy(t_,tM,tA)+ib(tM);R=tZ,j=p(tZ)-1,"deleteRule"in R?R.deleteRule(j):R.removeRule(j),f(tZ,"#"+ec+" > .tns-item",q,p(tZ))}tk&&iF(),o&&(i4(),t6=t4)}n&&el.emit("newBreakpointEnd",nC(i))}}function iI(){if(!t_&&!tS)return tv<=(tT?tA-(tA-1)/2:tA);var t=t_?(t_+tM)*tv:tC[tv],e=tE?tL+2*tE:tL+tM;return tT&&(e-=t_?(tL-t_)/2:(tL-(tC[t4+1]-tC[t4]-tM))/2),t<=e}function iN(){for(var t in ta=0,U)t=parseInt(t),tm>=t&&(ta=t)}tS||io(ed||ep),z&&(t2=z,t3="translate",R?(t3+=tl?"3d(":"3d(0px, ",t5=tl?", 0px, 0px)":", 0px)"):(t3+=tl?"X(":"Y(",t5=")")),Q&&(td.className=td.className.replace("tns-vpfix","")),function(){if(ip("gutter"),tu.className="tns-outer",tc.className="tns-inner",tu.id=ec+"-ow",tc.id=ec+"-iw",""===td.id&&(td.id=ec),eu+=(D||tS?" tns-subpixel":" tns-no-subpixel")+(O?" tns-calc":" tns-no-calc"),tS&&(eu+=" tns-autowidth"),eu+=" tns-"+t.axis,td.className+=eu,Q?((ts=e.createElement("div")).id=ec+"-mw",ts.className="tns-ovh",tu.appendChild(ts),ts.appendChild(tc)):tu.appendChild(tc),tk){var i=ts||tc;i.className+=" tns-ah"}if(th.insertBefore(tu,td),tc.appendChild(td),v(tp,function(t,e){y(t,"tns-item"),t.id||(t.id=ec+"-item"+e),!Q&&to&&y(t,to),S(t,{tabindex:"-1"})}),tK){for(var n=e.createDocumentFragment(),r=e.createDocumentFragment(),o=tK;o--;){var s=o%tv,a=tp[s].cloneNode(!0);if(y(a,eI),_(a,"id"),r.insertBefore(a,r.firstChild),Q){var l=tp[tv-1-s].cloneNode(!0);y(l,eI),_(l,"id"),n.appendChild(l)}}td.insertBefore(n,td.firstChild),td.appendChild(r),tp=td.children}}(),function(){if(!Q)for(var e=t4,n=t4+Math.min(tv,tA);e<n;e++){var r=tp[e];r.style.left=(e-t4)*100/tA+"%",y(r,ti),b(r,to)}if(tl&&(D||tS?(f(tZ,"#"+ec+" > .tns-item","font-size:"+i.getComputedStyle(tp[0]).fontSize+";",p(tZ)),f(tZ,"#"+ec,"font-size:0;",p(tZ))):Q&&v(tp,function(t,e){t.style.marginLeft=O?O+"("+100*e+"% / "+tQ+")":100*e/tQ+"%"})),H){if(j){var o=ts&&t.autoHeight?ix(t.speed):"";f(tZ,"#"+ec+"-mw",o,p(tZ))}o=im(t.edgePadding,t.gutter,t.fixedWidth,t.speed,t.autoHeight),f(tZ,"#"+ec+"-iw",o,p(tZ)),Q&&(o=tl&&!tS?"width:"+ig(t.fixedWidth,t.gutter,t.items)+";":"",j&&(o+=ix(tD)),f(tZ,"#"+ec,o,p(tZ))),o=tl&&!tS?iy(t.fixedWidth,t.gutter,t.items):"",t.gutter&&(o+=ib(t.gutter)),!Q&&(j&&(o+=ix(tD)),W&&(o+=iC(tD))),o&&f(tZ,"#"+ec+" > .tns-item",o,p(tZ))}else{Q&&tk&&(ts.style[j]=tD/1e3+"s"),tc.style.cssText=im(tE,tM,t_,tk),Q&&tl&&!tS&&(td.style.width=ig(t_,tM,tA));var o=tl&&!tS?iy(t_,tM,tA):"";tM&&(o+=ib(tM)),o&&f(tZ,"#"+ec+" > .tns-item",o,p(tZ))}if(U&&H)for(var s in U){var a=U[s=parseInt(s)],o="",l="",u="",c="",d="",h=tS?null:iv("items",s),m=iv("fixedWidth",s),g=iv("speed",s),w=iv("edgePadding",s),x=iv("autoHeight",s),C=iv("gutter",s);j&&ts&&iv("autoHeight",s)&&"speed"in a&&(l="#"+ec+"-mw{"+ix(g)+"}"),("edgePadding"in a||"gutter"in a)&&(u="#"+ec+"-iw{"+im(w,C,m,g,x)+"}"),Q&&tl&&!tS&&("fixedWidth"in a||"items"in a||t_&&"gutter"in a)&&(c="width:"+ig(m,C,h)+";"),j&&"speed"in a&&(c+=ix(g)),c&&(c="#"+ec+"{"+c+"}"),("fixedWidth"in a||t_&&"gutter"in a||!Q&&"items"in a)&&(d+=iy(m,C,h)),"gutter"in a&&(d+=ib(C)),!Q&&"speed"in a&&(j&&(d+=ix(g)),W&&(d+=iC(g))),d&&(d="#"+ec+" > .tns-item{"+d+"}"),(o=l+u+c+d)&&tZ.insertRule("@media (min-width: "+s/16+"em) {"+o+"}",tZ.cssRules.length)}}(),iS();var iO=tP?Q?function(){var t=ee,e=ei;t+=tI,e-=tI,tE?(t+=1,e-=1):t_&&(tL+tM)%(t_+tM)&&(e-=1),tK&&(t4>e?t4-=tv:t4<t&&(t4+=tv))}:function(){if(t4>ei)for(;t4>=ee+tv;)t4-=tv;else if(t4<ee)for(;t4<=ei-tv;)t4+=tv}:function(){t4=Math.max(ee,Math.min(ei,t4))};function iD(){!tq&&e9&&M(e9),!tz&&eW&&M(eW),!tB&&(ek?M(ek):(eH&&M(eH),ez&&M(ez)))}function iV(){tq&&e9&&L(e9),tz&&eW&&L(eW),tB&&(ek?L(ek):(eH&&L(eH),ez&&L(ez)))}function iP(){if(!ev){if(tE&&(tc.style.margin="0px"),tK)for(var t="tns-transparent",e=tK;e--;)Q&&y(tp[e],t),y(tp[tQ-e-1],t);iD(),ev=!0}}function ik(){if(!eh){if(tZ.disabled=!0,td.className=td.className.replace(eu.substring(1),""),_(td,["style"]),tP)for(var t=tK;t--;
1)Q&&M(tp[t]),M(tp[tQ-t-1]);if(tl&&Q||_(tc,["style"]),!Q)for(var e=t4,i=t4+tv;e<i;e++){var n=tp[e];_(n,["style"]),b(n,ti),b(n,to)}iD(),eh=!0}}function iB(){if(t.ariaLive){var e=iH();et.innerHTML!==e&&(et.innerHTML=e)}}function iH(){var t=iz(),e=t[0]+1,i=t[1]+1;return e===i?e+"":e+" to "+i}function iz(t){null==t&&(t=i9());var e,i,n,r=t4;if(tT||tE?(tS||t_)&&(n=(i=-(parseFloat(t)+tE))+tL+2*tE):tS&&(n=(i=tC[t4])+tL),tS)tC.forEach(function(t,o){o<tQ&&((tT||tE)&&t<=i+.5&&(r=o),n-t>=.5&&(e=o))});else{if(t_){var o=t_+tM;tT||tE?(r=Math.floor(i/o),e=Math.ceil(n/o-1)):e=r+Math.ceil(tL/o)-1}else if(tT||tE){var s=tA-1;if(tT?(r-=s/2,e=t4+s/2):e=t4+s,tE){var a=tE*tA/tL;r-=a,e+=a}r=Math.floor(r),e=Math.ceil(e)}else e=r+tA-1;r=Math.max(r,0),e=Math.min(e,tQ-1)}return[r,e]}function iR(){if(tY&&!ed){var t=iz();t.push(tG),iW.apply(null,t).forEach(function(t){if(!g(t,eN)){var e={};e[X]=function(t){t.stopPropagation()},V(t,e),V(t,eO),t.src=x(t,"data-src");var i=x(t,"data-srcset");i&&(t.srcset=i),y(t,"loading")}})}}function ij(t){y(t,"loaded"),iq(t)}function iq(t){y(t,eN),b(t,"loading"),P(t,eO)}function iW(t,e,i){var n=[];for(i||(i="img");t<=e;)v(tp[t].querySelectorAll(i),function(t){n.push(t)}),t++;return n}function iF(){var t=iW.apply(null,iz());n(function(){iX(t,iY)})}function iX(t,e){return t8?e():(t.forEach(function(e,i){!tY&&e.complete&&iq(e),g(e,eN)&&t.splice(i,1)}),t.length)?void n(function(){iX(t,e)}):e()}function i$(){iR(),iU(),iB(),i1(),function(){if(tz&&(eY=eZ>=0?eZ:iu(),eZ=-1,eY!==eG)){var t=eq[eG],e=eq[eY];S(t,{tabindex:"-1","aria-label":eK+(eG+1)}),b(t,eU),S(e,{"aria-label":eK+(eY+1)+eQ}),y(e,eU),eG=eY}}()}function iZ(t,e){for(var i=[],n=t,r=Math.min(t+e,tQ);n<r;n++)i.push(tp[n].offsetHeight);return Math.max.apply(null,i)}function iY(){var t=tk?iZ(t4,tA):iZ(tK,tv),e=ts||tc;e.style.height!==t&&(e.style.height=t+"px")}function iG(){tC=[0];var t=tl?"left":"top",e=tl?"right":"bottom",i=tp[0].getBoundingClientRect()[t];v(tp,function(n,r){r&&tC.push(n.getBoundingClientRect()[t]-i),r===tQ-1&&tC.push(n.getBoundingClientRect()[e]-i)})}function iU(){var t=iz(),e=t[0],i=t[1];v(tp,function(t,n){t.classList.contains("tns-slide-cloned")&&S(t,{"aria-hidden":"true",tabindex:"-1"}),n>=e&&n<=i?t.classList.contains(eA)||y(t,eA):t.classList.contains(eA)&&b(t,eA)})}function iK(t){return t.nodeName.toLowerCase()}function iQ(t){return"button"===iK(t)}function iJ(t){return"true"===t.getAttribute("aria-disabled")}function i0(t,e,i){t?e.disabled=i:e.setAttribute("aria-disabled",i.toString())}function i1(){if(tB&&!tV&&!tP){var t=eV?eH.disabled:iJ(eH),e=eP?ez.disabled:iJ(ez),i=t4<=ee,n=!tV&&t4>=ei;i&&!t&&i0(eV,eH,!0),!i&&t&&i0(eV,eH,!1),n&&!e&&i0(eP,ez,!0),!n&&e&&i0(eP,ez,!1)}}function i2(t,e){j&&(t.style[j]=e)}function i3(t){null==t&&(t=t4);var e=tE?tM:0;return tS?(tL-e-(tC[t+1]-tC[t]-tM))/2:t_?(tL-t_)/2:(tA-1)/2}function i5(){var t=tL+(tE?tM:0)-(t_?(t_+tM)*tQ:tC[tQ]);return tT&&!tP&&(t=t_?-(t_+tM)*(tQ-1)-i3():i3(tQ-1)-tC[tQ-1]),t>0&&(t=0),t}function i9(t){if(null==t&&(t=t4),tl&&!tS){if(t_)e=-(t_+tM)*t,tT&&(e+=i3());else{var e,i=z?tQ:tA;tT&&(t-=i3()),e=-(100*t)/i}}else e=-tC[t],tT&&tS&&(e+=i3());return tJ&&(e=Math.max(e,t0)),e+=!tl||tS||t_?"px":"%"}function i4(t){i2(td,"0s"),i6(t)}function i6(t){null==t&&(t=i9()),td.style[t2]=t3+t+t5}function i7(t,e,i,n){var r=t+tA;tP||(r=Math.min(r,tQ));for(var o=t;o<r;o++){var s=tp[o];n||(s.style.left=(o-t4)*100/tA+"%"),tr&&q&&(s.style[q]=s.style[F]=tr*(o-t)/1e3+"s"),b(s,e),y(s,i),n&&tU.push(s)}}var i8=Q?function(){if(i2(td,""),j||!tD)i6(),tD&&T(td)||ni();else{var t,e,i,n,r,o,s,a,l,u;t=td,e=t2,i=t3,n=t5,a=i9(),o=Math.min(r=tD,10),s=a.indexOf("%")>=0?"%":"px",u=((a=a.replace(s,""))-(l=Number(t.style[e].replace(i,"").replace(n,"").replace(s,""))))/r*o,setTimeout(function a(){r-=o,l+=u,t.style[e]=i+l+s+n,r>0?setTimeout(a,o):ni()},o)}tl||nb()}:function(){tU=[];var t={};t[X]=t[$]=ni,P(tp[t6],t),V(tp[t4],t),i7(t6,ti,tn,!0),i7(t4,to,ti),X&&$&&tD&&T(td)||ni()};function nt(t,e){t1&&iO(),(t4!==t6||e)&&(el.emit("indexChanged",nC()),el.emit("transitionStart",nC()),tk&&iF(),e0&&t&&["click","keydown"].indexOf(t.type)>=0&&nu(),es=!0,i8())}function ne(t){return t.toLowerCase().replace(/-/g,"")}function ni(t){if(Q||es){if(el.emit("transitionEnd",nC(t)),!Q&&tU.length>0)for(var e=0;e<tU.length;e++){var i=tU[e];i.style.left="",F&&q&&(i.style[F]="",i.style[q]=""),b(i,tn),y(i,to)}if(!t||!Q&&t.target.parentNode===td||t.target===td&&ne(t.propertyName)===ne(t2)){if(!t1){var n=t4;iO(),t4!==n&&(el.emit("indexChanged",nC()),i4())}"inner"===K&&el.emit("innerLoaded",nC()),es=!1,t6=t4}}}function nn(t,e){if(!ep){if("prev"===t)nr(e,-1);else if("next"===t)nr(e,1);else{if(es){if(en)return;ni()}var i=il(),n=0;if("first"===t?n=-i:"last"===t?n=Q?tv-tA-i:tv-1-i:("number"!=typeof t&&(t=parseInt(t)),isNaN(t)||(e||(t=Math.max(0,Math.min(tv-1,t))),n=t-i)),!Q&&n&&Math.abs(n)<tA){var r=n>0?1:-1;n+=t4+n-tv>=ee?tv*r:-(2*tv*r*1)}t4+=n,Q&&tP&&(t4<ee&&(t4+=tv),t4>ei&&(t4-=tv)),il(t4)!==il(t6)&&nt(e)}}}function nr(t,e){if(es){if(en)return;ni()}if(!e){for(var i,n=nh(t=nd(t));n!==ek&&0>[eH,ez].indexOf(n);)n=n.parentNode;var r=[eH,ez].indexOf(n);r>=0&&(i=!0,e=0===r?-1:1)}if(tV){if(t4===ee&&-1===e){nn("last",t);return}if(t4===ei&&1===e){nn("first",t);return}}e&&(t4+=tI*e,tS&&(t4=Math.floor(t4)),nt(i||t&&"keydown"===t.type?t:null))}function no(){eJ=setInterval(function(){nr(null,e5)},tW),e0=!0}function ns(){clearInterval(eJ),e0=!1}function na(t,e){S(e9,{"data-action":t}),e9.innerHTML=e6[0]+t+e6[1]+e}function nl(){no(),e9&&na("stop",tF[1])}function nu(){ns(),e9&&na("start",tF[0])}function nc(){e0?(nu(),e2=!0):(nl(),e2=!1)}
1function nd(t){return nf(t=t||i.event)?t.changedTouches[0]:t}function nh(t){return t.target||i.event.srcElement}function nf(t){return t.type.indexOf("touch")>=0}function np(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function nv(){var e,i,n,r;return e=Math.atan2(ie.y-it.y,ie.x-it.x)*(180/Math.PI),i=er,n=!1,(r=Math.abs(90-Math.abs(e)))>=90-i?n="horizontal":r<=i&&(n="vertical"),n===t.axis}function nm(t){if(es){if(en)return;ni()}tq&&e0&&ns(),ii=!0,e8&&(o(e8),e8=null);var e=nd(t);el.emit(nf(t)?"touchStart":"dragStart",nC(t)),!nf(t)&&["img","a"].indexOf(iK(nh(t)))>=0&&np(t),ie.x=it.x=e.clientX,ie.y=it.y=e.clientY,Q&&(e7=parseFloat(td.style[t2].replace(t3,"")),i2(td,"0s"))}function ng(t){if(ii){var e=nd(t);ie.x=e.clientX,ie.y=e.clientY,Q?e8||(e8=n(function(){(function t(e){if(!eo){ii=!1;return}if(o(e8),ii&&(e8=n(function(){t(e)})),"?"===eo&&(eo=nv()),eo){!eD&&nf(e)&&(eD=!0);try{e.type&&el.emit(nf(e)?"touchMove":"dragMove",nC(e))}catch(t){}var i=e7,r=ir(ie,it);!tl||t_||tS?i+=r+"px":i+=(z?r*tA*100/((tL+tM)*tQ):100*r/(tL+tM))+"%",td.style[t2]=t3+i+t5}})(t)})):("?"===eo&&(eo=nv()),eo&&(eD=!0)),("boolean"!=typeof t.cancelable||t.cancelable)&&eD&&t.preventDefault()}}function ny(e){if(ii){e8&&(o(e8),e8=null),Q&&i2(td,""),ii=!1;var i=nd(e);ie.x=i.clientX,ie.y=i.clientY;var r=ir(ie,it);if(Math.abs(r)){if(!nf(e)){var s=nh(e);V(s,{click:function t(e){np(e),P(s,{click:t})}})}Q?e8=n(function(){if(tl&&!tS){var t=-r*tA/(tL+tM);t4+=t=r>0?Math.floor(t):Math.ceil(t)}else{var i=-(e7+r);if(i<=0)t4=ee;else if(i>=tC[tQ-1])t4=ei;else for(var n=0;n<tQ&&i>=tC[n];)t4=n,i>tC[n]&&r<0&&(t4+=1),n++}nt(e,r),el.emit(nf(e)?"touchEnd":"dragEnd",nC(e))}):eo&&nr(e,r>0?-1:1)}}"auto"===t.preventScrollOnTouch&&(eD=!1),er&&(eo="?"),tq&&!e0&&no()}function nb(){(ts||tc).style.height=tC[t4+tA]-tC[t4]+"px"}function nw(){return Math.min(Math.ceil(t_?(t_+tM)*tv/tL:tv/tA),tv)}function nx(){if(tz&&!eE&&eX!==e$){var t=e$,e=eX,i=L;for(e$>eX&&(t=eX,e=e$,i=M);t<e;)i(eq[t]),t++;e$=eX}}function nC(t){return{container:td,slideItems:tp,navContainer:eW,navItems:eq,controlsContainer:ek,hasControls:eS,prevButton:eH,nextButton:ez,items:tA,slideBy:tI,cloneCount:tK,slideCount:tv,slideCountNew:tQ,index:t4,indexCached:t6,displayIndex:is(),navCurrentIndex:eY,navCurrentIndexCached:eG,pages:eX,pagesCached:e$,sheet:tZ,isOn:tg,event:t||{}}}return{version:"2.9.4",getInfo:nC,events:el,goTo:nn,play:function(){tq&&!e0&&(nl(),e2=!1)},pause:function(){e0&&(nu(),e2=!0)},isOn:tg,updateSliderHeight:iY,refresh:iS,destroy:function(){if(tZ.disabled=!0,tZ.ownerNode&&tZ.ownerNode.remove(),P(i,{resize:iT}),tO&&P(e,ew),ek&&P(ek,em),eW&&P(eW,eg),P(td,ey),P(td,eb),e9&&P(e9,{click:nc}),tq&&clearInterval(eJ),Q&&X){var n={};n[X]=ni,P(td,n)}tR&&P(td,ex),tj&&P(td,eC);var r=[tf,eB,eR,ej,eF,e4];for(var o in Y.forEach(function(e,i){var n="container"===e?tu:t[e];if("object"==typeof n&&n){var o=!!n.previousElementSibling&&n.previousElementSibling,s=n.parentNode;n.outerHTML=r[i],t[e]=o?o.nextElementSibling:s.firstElementChild}}),Y=ti=tn=tr=to=tl=tu=tc=td=th=tf=tp=tv=ta=tm=tS=t_=tE=tM=tL=tA=tI=tN=tO=tD=tV=tP=tk=tZ=tY=tC=tU=tK=tQ=tJ=t0=t1=t2=t3=t5=t9=t4=t6=ee=ei=er=eo=es=ea=el=eu=ec=ed=eh=ef=ep=ev=em=eg=ey=eb=ew=ex=eC=eS=e_=eE=eM=eL=eT=eA=eN=eO=t8=tB=tH=ek=eB=eH=ez=eV=eP=tz=eW=eF=eq=eX=e$=eZ=eY=eG=eU=eK=eQ=tq=tW=e5=tF=tX=e9=e4=t$=e6=eJ=e0=e1=e2=e3=it=ie=e7=ii=e8=ir=tR=tj=null,this)"rebuild"!==o&&(this[o]=null);tg=!1},rebuild:function(){return B(s(t,G))}}};e.W=B}}]);
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.