507
| <![CDATA[<script type="text/javascript">N2R('documentReady',function($){N2R(["nextend-frontend","smartslider-frontend","smartslider-backgroundanimation","smartslider-simple-type-frontend"],function(){new N2Classes.SmartSliderSimple('#n2-ss-34',{"admin":false,"translate3d":1,"callbacks":"","background.video.mobile":1,"align":"normal","isDelayed":0,"load":{"fade":1,"scroll":0},"playWhenVisible":1,"playWhenVisibleAt":0.5,"responsive":{"desktop":1,"tablet":1,"mobile":1,"onResizeEnabled":true,"type":"auto","downscale":1,"upscale":0,"minimumHeight":0,"maximumHeight":3000,"maximumSlideWidth":3000,"maximumSlideWidthLandscape":3000,"maximumSlideWidthTablet":3000,"maximumSlideWidthTabletLandscape":3000,"maximumSlideWidthMobile":3000,"maximumSlideWidthMobileLandscape":3000,"maximumSlideWidthConstrainHeight":0,"forceFull":0,"forceFullOverflowX":"body","forceFullHorizontalSelector":"","constrainRatio":1,"verticalOffsetSelectors":"","decreaseSliderHeight":0,"focusUser":0,"focusAutoplay":0,"deviceModes":{"desktopPortrait":1,"desktopLandscape":0,"tabletPortrait":1,"tabletLandscape":0,"mobilePortrait":1,"mobileLandscape":0},"normalizedDeviceModes":{"unknownUnknown":["unknown","Unknown"],"desktopPortrait":["desktop","Portrait"],"desktopLandscape":["desktop","Portrait"],"tabletPortrait":["tablet","Portrait"],"tabletLandscape":["tablet","Portrait"],"mobilePortrait":["mobile","Portrait"],"mobileLandscape":["mobile","Portrait"]},"verticalRatioModifiers":{"unknownUnknown":1,"desktopPortrait":1,"desktopLandscape":1,"tabletPortrait":1,"tabletLandscape":1,"mobilePortrait":1,"mobileLandscape":1},"minimumFontSizes":{"desktopPortrait":4,"desktopLandscape":4,"tabletPortrait":4,"tabletLandscape":4,"mobilePortrait":4,"mobileLandscape":4},"ratioToDevice":{"Portrait":{"tablet":0.7,"mobile":0.5},"Landscape":{"tablet":0,"mobile":0}},"sliderWidthToDevice":{"desktopPortrait":1920,"desktopLandscape":1920,"tabletPortrait":1344,"tabletLandscape":0,"mobilePortrait":960,"mobileLandscape":0},"basedOn":"combined","orientationMode":"width_and_height","overflowHiddenPage":0,"desktopPortraitScreenWidth":1200,"tabletPortraitScreenWidth":800,"mobilePortraitScreenWidth":440,"tabletLandscapeScreenWidth":800,"mobileLandscapeScreenWidth":440},"controls":{"scroll":0,"drag":1,"touch":"horizontal","keyboard":1,"tilt":0},"lazyLoad":0,"lazyLoadNeighbor":0,"blockrightclick":0,"maintainSession":0,"autoplay":{"enabled":1,"start":1,"duration":3000,"autoplayToSlide":-1,"autoplayToSlideIndex":-1,"allowReStart":0,"pause":{"click":1,"mouse":"0","mediaStarted":1},"resume":{"click":0,"mouse":0,"mediaEnded":1,"slidechanged":0}},"perspective":1500,"layerMode":{"playOnce":0,"playFirstLayer":1,"mode":"skippable","inAnimation":"mainInEnd"},"initCallbacks":["N2D(\"SmartSliderWidgetArrowImage\",function(i,e){function s(e,s,t,h){this.slider=e,this.slider.started(i.proxy(this.start,this,s,t,h))}return s.prototype.start=function(e,s,t){return this.slider.sliderElement.data(\"arrow\")?!1:(this.slider.sliderElement.data(\"arrow\",this),this.deferred=i.Deferred(),this.slider.sliderElement.on(\"SliderDevice\",i.proxy(this.onDevice,this)).trigger(\"addWidget\",this.deferred),this.previous=i(\"#\"+this.slider.elementID+\"-arrow-previous\").on(\"click\",i.proxy(function(i){i.stopPropagation(),this.slider[n2const.rtl.previous]()},this)),this.previousResize=this.previous.find(\".n2-resize\"),0===this.previousResize.length&&(this.previousResize=this.previous),this.next=i(\"#\"+this.slider.elementID+\"-arrow-next\").on(\"click\",i.proxy(function(i){i.stopPropagation(),this.slider[n2const.rtl.next]()},this)),this.nextResize=this.next.find(\".n2-resize\"),0===this.nextResize.length&&(this.nextResize=this.next),this.desktopRatio=e,this.tabletRatio=s,this.mobileRatio=t,void i.when(this.previous.n2imagesLoaded(),this.next.n2imagesLoaded()).always(i.proxy(this.loaded,this)))},s.prototype.loaded=function(){this.previous.css(\"display\",\"inline-block\"),this.previousResize.css(\"display\",\"inline-block\"),this.previousWidth=this.previousResize.width(),this.previousHeight=this.previousResize.height(),this.previousResize.css(\"display\",\"\"),this.previous.css(\"display\",\"\"),this.next.css(\"display\",\"inline-block\"),this.nextResize.css(\"display\",\"inline-block\"),this.nextWidth=this.nextResize.width(),this.nextHeight=this.nextResize.height(),this.nextResize.css(\"display\",\"\"),this.next.css(\"display\",\"\"),this.previousResize.find(\"img\").css(\"width\",\"100%\"),this.nextResize.find(\"img\").css(\"width\",\"100%\"),this.onDevice(null,{device:this.slider.responsive.getDeviceMode()}),this.deferred.resolve()},s.prototype.onDevice=function(i,e){var s=1;switch(e.device){case\"tablet\":s=this.tabletRatio;break;case\"mobile\":s=this.mobileRatio;break;default:s=this.desktopRatio}this.previousResize.width(this.previousWidth*s),this.previousResize.height(this.previousHeight*s),this.nextResize.width(this.nextWidth*s),this.nextResize.height(this.nextHeight*s)},s});","new N2Classes.SmartSliderWidgetArrowImage(this, 1, 0.7, 0.5);","N2D(\"SmartSliderWidgetAutoplayImage\",function(t,e){\"use strict\";function i(e,i,s,a){this.slider=e,this.slider.started(t.proxy(this.start,this,i,s,a))}return i.prototype.start=function(e,i,s){return this.slider.sliderElement.data(\"autoplay\")?!1:(this.slider.sliderElement.data(\"autoplay\",this),this.paused=!1,this.button=this.slider.sliderElement.find(\".nextend-autoplay\"),this.slider.controls.autoplay.hasButton=!!this.button.length,void(this.slider.controls.autoplay._disabled?this.destroy():(this.slider.controls.autoplay.parameters.start||(this.paused=!0,this.setPaused()),this.deferred=t.Deferred(),this.slider.sliderElement.on({\"SliderDevice.n2-widget-autoplay\":t.proxy(this.onDevice,this),\"autoplayStarted.n2-widget-autoplay\":t.proxy(this.setPlaying,this),\"autoplayPaused.n2-widget-autoplay\":t.proxy(this.setPaused,this),\"autoplayDisabled.n2-widget-autoplay\":t.proxy(this.destroy,this)}).trigger(\"addWidget\",this.deferred),this.button.on(\"universalclick\",t.proxy(this.switchState,this)),this.desktopRatio=e,this.tabletRatio=i,this.mobileRatio=s,this.button.n2imagesLoaded().always(t.proxy(this.loaded,this)))))},i.prototype.loaded=function(){this.button.css(\"display\",\"inline-block\"),this.width=this.button.width(),this.height=this.button.height(),this.button.css(\"display\",\"\"),this.onDevice(null,{device:this.slider.responsive.getDeviceMode()}),this.deferred.resolve()},i.prototype.onDevice=function(t,e){var i=1;switch(e.device){case\"tablet\":i=this.tabletRatio;break;case\"mobile\":i=this.mobileRatio;break;default:i=this.desktopRatio}this.button.width(this.width*i),this.button.height(this.height*i)},i.prototype.switchState=function(t){t.preventDefault(),t.stopImmediatePropagation(),this.paused?(this.setPlaying(),this.slider.sliderElement.triggerHandler(\"autoplayExtraContinue\",\"autoplayButton\"),this.slider.next()):(this.setPaused(),this.slider.sliderElement.triggerHandler(\"autoplayExtraWait\",\"autoplayButton\"))},i.prototype.setPaused=function(){this.paused=!0,this.button.addClass(\"n2-autoplay-paused\")},i.prototype.setPlaying=function(){this.paused=!1,this.button.removeClass(\"n2-autoplay-paused\")},i.prototype.destroy=function(){this.slider.sliderElement.off(\".n2-widget-autoplay\"),this.button.remove()},i});","new N2Classes.SmartSliderWidgetAutoplayImage(this, 1, 0.7, 0.5);","N2D(\"SmartSliderWidgetBulletTransition\",function(t,e){function i(e,i){this.slider=e,this.slider.started(t.proxy(this.start,this,i))}return i.prototype.start=function(e){if(this.slider.sliderElement.data(\"bullet\"))return!1;if(this.slider.sliderElement.data(\"bullet\",this),this.axis=\"horizontal\",this.offset=0,this.parameters=e,this.bar=this.slider.sliderElement.find(\".nextend-bullet-bar\"),this.event=\"universalclick\",\"mouseenter\"===this.parameters.action&&(this.event=\"mouseenter\"),this.slider.sliderElement.on({slideCountChanged:t.proxy(this.onSlideCountChanged,this),sliderSwitchTo:t.proxy(this.onSlideSwitch,this)}),this.slider.firstSlideReady.done(t.proxy(this.onFirstSlideSet,this)),0===e.overlay){var i=!1;switch(e.area){case 1:i=\"Top\";break;case 12:i=\"Bottom\";break;case 5:i=\"Left\",this.axis=\"vertical\";break;case 8:i=\"Right\",this.axis=\"vertical\"}i&&(this.offset=parseFloat(this.bar.data(\"offset\")),this.slider.responsive.addStaticMargin(i,this))}},i.prototype.onFirstSlideSet=function(t){this.onSlideCountChanged(),this.$dots.eq(t.index).addClass(\"n2-active\")},i.prototype.onDotClick=function(e,i){this.slider.directionalChangeTo(e),t(i.target).blur()},i.prototype.onSlideSwitch=function(t,e){this.$dots.filter(\".n2-active\").removeClass(\"n2-active\"),this.$dots.eq(e).addClass(\"n2-active\")},i.prototype.isVisible=function(){return this.bar.is(\":visible\")},i.prototype.getSize=function(){return\"horizontal\"===this.axis?this.bar.height()+this.offset:this.bar.width()+this.offset},i.prototype.showThumbnail=function(e,i){var s=this.getThumbnail(e);NextendTween.to(s,.3,{opacity:1}),this.$dots.eq(e).one(\"universalleave.thumbnailleave\",t.proxy(this.hideThumbnail,this,e,s))},i.prototype.hideThumbnail=function(t,e,i){i.stopPropagation(),NextendTween.to(e,.3,{opacity:0,onComplete:function(){e.remove()}})},i.prototype.getThumbnail=function(e){var i=this.$dots.eq(e),s=this.slider.sliderElement.offset(),a=i.offset(),o=i.outerWidth(),r=i.outerHeight(),n=t(\"<div\/>\").append(t(\"<div\/>\").css({width:this.parameters.thumbnailWidth,height:this.parameters.thumbnailHeight,backgroundImage:'url(\"'+this.slider.slides[e].getThumbnail()+'\")'}).addClass(\"n2-ss-bullet-thumbnail\")).addClass(this.parameters.thumbnailStyle).addClass(\"n2-ss-bullet-thumbnail-container\").appendTo(this.slider.sliderElement);switch(this.parameters.thumbnailPosition){case\"right\":n.css({left:a.left-s.left+o,top:a.top-s.top+r\/2-n.outerHeight(!0)\/2});break;case\"left\":n.css({left:a.left-s.left-n.outerWidth(!0),top:a.top-s.top+r\/2-n.outerHeight(!0)\/2});break;case\"top\":n.css({left:a.left-s.left+o\/2-n.outerWidth(!0)\/2,top:a.top-s.top-n.outerHeight(!0)});break;case\"bottom\":n.css({left:a.left-s.left+o\/2-n.outerWidth(!0)\/2,top:a.top-s.top+r})}return i.data(\"thumbnail\",n),n},i.prototype.onSlideCountChanged=function(){this.bar.html(\"\");for(var e=0;e<this.slider.slides.length;e++){var i=this.slider.slides[e],s=t('<div class=\"n2-ow '+this.parameters.dotClasses+'\" tabindex=\"0\"><\/div>').on(this.event,t.proxy(this.onDotClick,this,e)).appendTo(this.bar);switch(this.parameters.mode){case\"numeric\":s.html(e+1);break;case\"title\":s.html(i.getTitle())}if(1===this.parameters.thumbnail){var a=i.getThumbnail();a&&s.on({universalenter:t.proxy(this.showThumbnail,this,e)},{leaveOnSecond:!0})}}this.$dots=this.bar.find(\">*\")},i});","new N2Classes.SmartSliderWidgetBulletTransition(this, {\"overlay\":0,\"area\":10,\"dotClasses\":\"n2-style-2a0a200d6a6e1fade27fb9c90af83812-dot \",\"mode\":\"\",\"action\":\"click\",\"thumbnail\":1,\"thumbnailWidth\":100,\"thumbnailHeight\":60,\"thumbnailStyle\":\"n2-style-8c3154f5f318affe7d4eeee8d204aa94-simple \",\"thumbnailPosition\":\"top\"});","N2D(\"SmartSliderWidgetThumbnailDefault\",function(t,i){\"use strict\";function s(i,s){this.slider=i,this.slider.started(t.proxy(this.start,this,s))}var e=!1,r={videoDark:'<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"48\" height=\"48\" viewBox=\"0 0 48 48\"><circle cx=\"24\" cy=\"24\" r=\"24\" fill=\"#000\" opacity=\".6\"\/><path fill=\"#FFF\" d=\"M19.8 32c-.124 0-.247-.028-.36-.08-.264-.116-.436-.375-.44-.664V16.744c.005-.29.176-.55.44-.666.273-.126.592-.1.84.07l10.4 7.257c.2.132.32.355.32.595s-.12.463-.32.595l-10.4 7.256c-.14.1-.31.15-.48.15z\"\/><\/svg>'};s.prototype.start=function(i){if(this.slider.sliderElement.data(\"thumbnail\"))return!1;this.slider.sliderElement.data(\"thumbnail\",this),this.parameters=t.extend({captionSize:0,minimumThumbnailCount:1.5,invertGroupDirection:0},i),this.ratio=1,this.hidden=!1,this.forceHidden=!1,this.forceHiddenCB=null,this.itemPerPane=1,this.currentI=0,this.offset=0,this.horizontal={prop:\"width\",Prop:\"Width\",sideProp:n2const.rtl.left,invProp:\"height\",axis:\"x\",outerProp:\"outerWidth\"},this.vertical={prop:\"height\",Prop:\"Height\",sideProp:\"top\",invProp:\"width\",axis:\"y\",outerProp:\"outerHeight\"},this.group=parseInt(i.group),this.orientation=i.orientation,\"vertical\"===this.orientation&&(this.goToDot=this._goToDot),this.outerBar=this.slider.sliderElement.find(\".nextend-thumbnail-default\"),this.bar=this.outerBar.find(\".nextend-thumbnail-inner\"),this.scroller=this.bar.find(\".nextend-thumbnail-scroller\"),this.$groups=t();for(var s=0;s<this.group;s++)this.$groups=this.$groups.add(t('<div class=\"nextend-thumbnail-scroller-group\"><\/div>').appendTo(this.scroller));var e=\"universalclick\";if(\"mouseenter\"===i.action?e=\"mouseenter\":this.slider.hasTouch()&&(e=\"n2click\"),this.renderThumbnails(),this.dots=this.scroller.find(\".nextend-thumbnail-scroller-group > div\").on(e,t.proxy(this.onDotClick,this)),this.images=this.dots.find(\".n2-ss-thumb-image\"),n2const.rtl.isRtl?(this.previous=this.outerBar.find(\".nextend-thumbnail-next\").on(\"click\",t.proxy(this.previousPane,this)),this.next=this.outerBar.find(\".nextend-thumbnail-previous\").on(\"click\",t.proxy(this.nextPane,this))):(this.previous=this.outerBar.find(\".nextend-thumbnail-previous\").on(\"click\",t.proxy(this.previousPane,this)),this.next=this.outerBar.find(\".nextend-thumbnail-next\").on(\"click\",t.proxy(this.nextPane,this))),this.slider.hasTouch()&&(N2Classes.EventBurrito(this.outerBar.get(0),{mouse:this.slider.parameters.controls.drag,axis:\"vertical\"===this.orientation?\"y\":\"x\",start:t.proxy(function(){this._touch={start:parseInt(this.scroller.css(this[this.orientation].sideProp)),max:this.bar[this[this.orientation].prop]()-this.scroller[this[this.orientation].outerProp](!0)},this._touch.current=this._touch.start},this),move:t.proxy(function(t,i,s,e,r){return this._touch.current=Math.max(this._touch.max,Math.min(0,this._touch.start+s[this[this.orientation].axis])),this.scroller.css(this[this.orientation].sideProp,this._touch.current),Math.abs(s[this[this.orientation].axis])>5},this),end:t.proxy(function(t,i,s,e,r){40>Math.abs(this._touch.start-this._touch.current)?this.resetPane():this._touch.current>this._touch.start?this.previousPane():this.nextPane(),10>Math.abs(s.x)&&10>Math.abs(s.y)?this.onTap(t):nextend.preventClick(),delete this._touch},this)}),this.slider.parameters.controls.drag||this.outerBar.on(\"click\",t.proxy(this.onTap,this))),this.thumbnailDimension={widthLocal:this.dots.width(),width:this.dots.outerWidth(!0),height:this.dots.outerHeight(!0),widthBorder:parseInt(this.dots.css(\"borderLeftWidth\"))+parseInt(this.dots.css(\"borderRightWidth\")),heightBorder:parseInt(this.dots.css(\"borderTopWidth\"))+parseInt(this.dots.css(\"borderBottomWidth\"))},this.thumbnailDimension.widthMargin=this.thumbnailDimension.width-this.dots.outerWidth(),this.thumbnailDimension.heightMargin=this.thumbnailDimension.height-this.dots.outerHeight(),this.imageDimension={width:this.images.outerWidth(!0),height:this.images.outerHeight(!0)},this.sideDimension=.25*this.thumbnailDimension[this[this.orientation].prop],\"horizontal\"===this.orientation?(this.scroller.height(this.thumbnailDimension.height*this.group),this.bar.height(this.scroller.outerHeight(!0))):(this.scroller.width(this.thumbnailDimension.width*this.group),this.bar.width(this.scroller.outerWidth(!0))),this.slider.sliderElement.on({BeforeVisible:t.proxy(this.onReady,this),sliderSwitchTo:t.proxy(this.onSlideSwitch,this)}),this.slider.firstSlideReady.done(t.proxy(this.onFirstSlideSet,this)),0==i.overlay){var r=!1;switch(i.area){case 1:r=\"Top\";break;case 12:r=\"Bottom\";break;case 5:r=\"Left\";break;case 8:r=\"Right\"}r&&(this.offset=parseFloat(this.outerBar.data(\"offset\")),this.slider.responsive.addStaticMargin(r,this))}},s.prototype.renderThumbnails=function(){var s;this.parameters.invertGroupDirection&&(s=Math.ceil(this.slider.realSlides.length\/this.group));for(var e=0;e<this.slider.realSlides.length;e++){var o=this.slider.realSlides[e],h=t('<div class=\"'+this.parameters.slideStyle+' n2-ow\" style=\"'+this.parameters.containerStyle+'\"><\/div>');if(this.parameters.invertGroupDirection?h.appendTo(this.$groups.eq(Math.floor(e\/s))):h.appendTo(this.$groups.eq(e%this.group)),h.data(\"slide\",o),o.$thumbnail=h,this.parameters.thumbnail!==i){var n=o.getThumbnailType(),a=r[n]!==i?r[n]:\"\";t('<div class=\"n2-ss-thumb-image n2-ow\" style=\"width:'+this.parameters.thumbnail.width+\"px; height:\"+this.parameters.thumbnail.height+\"px;\"+this.parameters.thumbnail.code+'\">'+a+\"<\/div>\").css(\"background-image\",\"url('\"+o.getThumbnail()+\"')\").appendTo(h)}if(this.parameters.caption!==i){var l=t('<div class=\"'+this.parameters.caption.styleClass+\"n2-ss-caption n2-ow n2-caption-\"+this.parameters.caption.placement+'\" style=\"'+this.parameters.caption.style+'\"><\/div>');switch(this.parameters.caption.placement){case\"before\":l.prependTo(h);break;default:l.appendTo(h)}if(this.parameters.title!==i&&l.append('<div class=\"n2-ow '+this.parameters.title.font+'\">'+o.getTitle()+\"<\/div>\"),this.parameters.description!==i){var d=o.getDescription();d&&l.append('<div class=\"n2-ow '+this.parameters.description.font+'\">'+d+\"<\/div>\")}}}},s.prototype.onTap=function(i){e||(t(i.target).trigger(\"n2click\"),e=!0,setTimeout(function(){e=!1},500))},s.prototype.onFirstSlideSet=function(t){this.activateDots(t.index),this.goToDot(t.index)},s.prototype.onReady=function(){this.slider.sliderElement.on(\"SliderResize\",t.proxy(this.onSliderResize,this)),this.onSliderResize()},s.prototype.onSliderResize=function(){null!==this.forceHiddenCB&&this.forceHiddenCB.call(this),this.adjustScrollerSize();var t=this.slider.currentSlide.index;this.activateDots(t),this.goToDot(t)},s.prototype.adjustScrollerSize=function(){var t=this[this.orientation].prop,i=Math.ceil(this.dots.length\/this.group)*this.thumbnailDimension[t]*this.ratio,s=this.scroller[\"outer\"+this[this.orientation].Prop]()-this.scroller[t](),e=this.slider.dimensions[\"thumbnail\"+t];e>=i+s?this.scroller[t](e-s):this.scroller[t](i),\"horizontal\"===this.orientation?this.scroller.height(this.dots.outerHeight(!0)*this.group):this.scroller.width(this.dots.outerWidth(!0)*this.group)};var o=!1;return s.prototype.onDotClick=function(i){o||(this.slider.directionalChangeToReal(t(i.currentTarget).data(\"slide\").index),o=!0),setTimeout(t.proxy(function(){o=!1},this),400)},s.prototype.onSlideSwitch=function(t,i,s){this.activateDots(i),this.goToDot(s)},s.prototype.activateDots=function(t){this.dots.removeClass(\"n2-active\");for(var i=this.slider.slides[t].slides,s=0;i.length>s;s++)i[s].$thumbnail.addClass(\"n2-active\")},s.prototype.resetPane=function(){this.goToDot(this.currentI)},s.prototype.previousPane=function(){this.goToDot(this.currentI-this.itemPerPane*this.group)},s.prototype.nextPane=function(){this.goToDot(this.currentI+this.itemPerPane*this.group)},s.prototype.goToDot=function(t){this.tween&&this.tween.progress()<1&&this.tween.pause();var i=this[this.orientation],s=1,e=this.slider.dimensions[\"thumbnail\"+i.prop],r=this.sideDimension,o=e-2*r,h=o\/this.thumbnailDimension[i.prop];if(this.parameters.minimumThumbnailCount>=h&&(r=.1*e,o=e-2*r,s=o\/(this.parameters.minimumThumbnailCount*this.thumbnailDimension[i.prop]),h=o\/(this.thumbnailDimension[i.prop]*s)),this.ratio!==s){var n={};n[i.prop]=parseInt(this.thumbnailDimension[i.prop]*s-this.thumbnailDimension[i.prop+\"Margin\"]-this.thumbnailDimension[i.prop+\"Border\"]),n[i.invProp]=parseInt((this.thumbnailDimension[i.invProp]-this.parameters.captionSize)*s-this.thumbnailDimension[i.prop+\"Margin\"]+this.parameters.captionSize-this.thumbnailDimension[i.invProp+\"Border\"]),this.dots.css(n);var a=this.dots.width()\/this.thumbnailDimension.widthLocal;n={},n[i.prop]=Math.ceil(this.imageDimension[i.prop]*a),n[i.invProp]=Math.ceil(this.imageDimension[i.invProp]*a),this.images.css(n),this.bar.css(i.invProp,\"auto\"),this.ratio=s,this.slider.responsive.doNormalizedResize(),this.adjustScrollerSize()}h=Math.floor(h),t=Math.max(0,Math.min(this.dots.length-1,t));var l,d={};l=this.parameters.invertGroupDirection?Math.floor(t%Math.ceil(this.dots.length\/this.group)\/h):Math.floor(t\/this.group\/h);var p=-(this.scroller[\"outer\"+i.Prop]()-e);l===Math.floor((this.dots.length-1)\/this.group\/h)?(d[i.sideProp]=-(l*h*this.thumbnailDimension[i.prop]*s),0===l?this.previous.removeClass(\"n2-active\"):this.previous.addClass(\"n2-active\"),this.next.removeClass(\"n2-active\")):l>0?(d[i.sideProp]=-(l*h*this.thumbnailDimension[i.prop]*s-r),this.previous.addClass(\"n2-active\"),this.next.addClass(\"n2-active\")):(d[i.sideProp]=0,this.previous.removeClass(\"n2-active\"),this.next.addClass(\"n2-active\")),p>=d[i.sideProp]&&(d[i.sideProp]=p,this.next.removeClass(\"n2-active\")),this.tween=NextendTween.to(this.scroller,.5,d),this.currentI=t,this.itemPerPane=h},s.prototype._goToDot=function(i){if(!this.forceHidden){this.tween&&this.tween.progress()<1&&this.tween.pause();var s=this[this.orientation],e=this.slider.dimensions[\"thumbnail\"+s.prop],r=(e-2*this.sideDimension)\/this.thumbnailDimension[s.prop];if(0===e||0!==e&&this.parameters.minimumThumbnailCount-.5>r?this.hidden||(\"horizontal\"===this.orientation?this.outerBar.css(\"height\",0):this.outerBar.css(\"width\",0),this.hidden=!0,this.forceHidden=!0,setTimeout(t.proxy(function(){this.forceHiddenCB=function(){this.forceHiddenCB=null,this.forceHidden=!1}},this),300),this.slider.responsive.doNormalizedResize()):this.hidden&&r>=this.parameters.minimumThumbnailCount+.5&&(this.hidden=!1,\"horizontal\"===this.orientation?this.outerBar.css(\"height\",\"\"):this.outerBar.css(\"width\",\"\"),this.slider.responsive.doNormalizedResize()),!this.hidden){r=Math.floor(r),i=Math.max(0,Math.min(this.dots.length-1,i));var o,h={};o=this.parameters.invertGroupDirection?Math.floor(i%Math.ceil(this.dots.length\/this.group)\/r):Math.floor(i\/this.group\/r);var n=-(this.scroller[\"outer\"+s.Prop]()-e);o===Math.floor((this.dots.length-1)\/this.group\/r)?(h[s.sideProp]=-(o*r*this.thumbnailDimension[s.prop]),0===o?this.previous.removeClass(\"n2-active\"):this.previous.addClass(\"n2-active\"),this.next.removeClass(\"n2-active\")):o>0?(h[s.sideProp]=-(o*r*this.thumbnailDimension[s.prop]-this.sideDimension),this.previous.addClass(\"n2-active\"),this.next.addClass(\"n2-active\")):(h[s.sideProp]=0,this.previous.removeClass(\"n2-active\"),this.next.addClass(\"n2-active\")),n>=h[s.sideProp]&&(h[s.sideProp]=n,this.next.removeClass(\"n2-active\")),this.tween=NextendTween.to(this.scroller,.5,h)}this.currentI=i,this.itemPerPane=r}},s.prototype.isVisible=function(){return this.outerBar.is(\":visible\")},s.prototype.getSize=function(){return\"horizontal\"===this.orientation?this.outerBar.height()+this.offset:this.outerBar.width()+this.offset},s});","new N2Classes.SmartSliderWidgetThumbnailDefault(this, {\"overlay\":1,\"area\":12,\"action\":\"click\",\"minimumThumbnailCount\":1.5,\"group\":1,\"invertGroupDirection\":0,\"captionSize\":0,\"orientation\":\"horizontal\",\"slideStyle\":\"n2-style-0d7e6147d938756e488febb9fea88b5d-dot \",\"containerStyle\":\"width: 240px; height: 120px;\",\"thumbnail\":{\"width\":240,\"height\":120,\"code\":\"background-size: cover;\"}});"],"allowBGImageAttachmentFixed":false,"bgAnimationsColor":"RGBA(51,51,51,1)","bgAnimations":{"global":[{"type":"Flat","tiles":{"crop":true,"delay":0,"sequence":"ForwardDiagonal"},"main":{"type":"both","duration":1,"current":{"ease":"easeOutCubic","scale":0.7},"next":{"ease":"easeOutCubic","left":"100%"}},"invert":{"zIndex":2,"current":{"left":"100%","scale":1},"next":{"scale":0.7,"left":0}}}],"color":"RGBA(51,51,51,1)","speed":"normal"},"mainanimation":{"type":"horizontal","duration":800,"delay":0,"ease":"easeOutQuad","parallax":0,"shiftedBackgroundAnimation":0},"carousel":1,"dynamicHeight":0})})});</script>]]>
|