(function(n){var t={},r={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){}};n.fn.bxSlider=function(u){var f,e;if(this.length==0)return this;if(this.length>1)return this.each(function(){n(this).bxSlider(u)}),this;f={};e=this;t.el=this;var w=n(window).width(),b=n(window).height(),k=function(){f.settings=n.extend({},r,u);f.settings.slideWidth=parseInt(f.settings.slideWidth);f.children=e.children(f.settings.slideSelector);f.children.length<f.settings.minSlides&&(f.settings.minSlides=f.children.length);f.children.length<f.settings.maxSlides&&(f.settings.maxSlides=f.children.length);f.settings.randomStart&&(f.settings.startSlide=Math.floor(Math.random()*f.children.length));f.active={index:f.settings.startSlide};f.carousel=f.settings.minSlides>1||f.settings.maxSlides>1;f.carousel&&(f.settings.preloadImages="all");f.minThreshold=f.settings.minSlides*f.settings.slideWidth+(f.settings.minSlides-1)*f.settings.slideMargin;f.maxThreshold=f.settings.maxSlides*f.settings.slideWidth+(f.settings.maxSlides-1)*f.settings.slideMargin;f.working=!1;f.controls={};f.interval=null;f.animProp=f.settings.mode=="vertical"?"top":"left";f.usingCSS=f.settings.useCSS&&f.settings.mode!="fade"&&function(){var i=document.createElement("div"),n=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var t in n)if(i.style[n[t]]!==undefined)return f.cssPrefix=n[t].replace("Perspective","").toLowerCase(),f.animProp="-"+f.cssPrefix+"-transform",!0;return!1}();f.settings.mode=="vertical"&&(f.settings.maxSlides=f.settings.minSlides);e.data("origStyle",e.attr("style"));e.children(f.settings.slideSelector).each(function(){n(this).data("origStyle",n(this).attr("style"))});ft()},ft=function(){var i,t;e.wrap('<div class="bx-wrapper"><div class="bx-viewport"><\/div><\/div>');f.viewport=e.parent();f.loader=n('<div class="bx-loading" />');f.viewport.prepend(f.loader);e.css({width:f.settings.mode=="horizontal"?f.children.length*100+215+"%":"auto",position:"relative"});f.usingCSS&&f.settings.easing?e.css("-"+f.cssPrefix+"-transition-timing-function",f.settings.easing):f.settings.easing||(f.settings.easing="swing");i=h();f.viewport.css({width:"100%",overflow:"hidden",position:"relative"});f.viewport.parent().css({maxWidth:st()});f.settings.pager||f.viewport.parent().css({margin:"0 auto 0px"});f.children.css({float:f.settings.mode=="horizontal"?"left":"none",listStyle:"none",position:"relative"});f.children.css("width",d());f.settings.mode=="horizontal"&&f.settings.slideMargin>0&&f.children.css("marginRight",f.settings.slideMargin);f.settings.mode=="vertical"&&f.settings.slideMargin>0&&f.children.css("marginBottom",f.settings.slideMargin);f.settings.mode=="fade"&&(f.children.css({position:"absolute",zIndex:0,display:"none"}),f.children.eq(f.settings.startSlide).css({zIndex:50,display:"block"}));f.controls.el=n('<div class="bx-controls" />');f.settings.captions&&at();f.active.last=f.settings.startSlide==s()-1;f.settings.video&&e.fitVids();t=f.children.eq(f.settings.startSlide);f.settings.preloadImages=="all"&&(t=f.children);f.settings.ticker?f.settings.pager=!1:(f.settings.pager&&ht(),f.settings.controls&&ct(),f.settings.auto&&f.settings.autoControls&&lt(),(f.settings.controls||f.settings.autoControls||f.settings.pager)&&f.viewport.after(f.controls.el));et(t,ot)},et=function(t,i){var r=t.find("img, iframe").length,u;if(r==0){i();return}u=0;t.find("img, iframe").each(function(){n(this).one("load",function(){++u==r&&i()}).each(function(){this.complete&&n(this).load()})})},ot=function(){if(f.settings.infiniteLoop&&f.settings.mode!="fade"&&!f.settings.ticker){var t=f.settings.mode=="vertical"?f.settings.minSlides:f.settings.maxSlides,i=f.children.slice(0,t).clone().addClass("bx-clone"),r=f.children.slice(-t).clone().addClass("bx-clone");e.append(i).prepend(r)}f.loader.remove();g();f.settings.mode=="vertical"&&(f.settings.adaptiveHeight=!0);f.viewport.height(l());e.redrawSlider();f.settings.onSliderLoad(f.active.index);f.initialized=!0;f.settings.responsive&&n(window).bind("resize",ut);f.settings.auto&&f.settings.autoStart&&kt();f.settings.ticker&&dt();f.settings.pager&&v(f.settings.startSlide);f.settings.controls&&tt();f.settings.touchEnabled&&!f.settings.ticker&&gt()},l=function(){var r=0,t=n(),u;if(f.settings.mode=="vertical"||f.settings.adaptiveHeight)if(f.carousel)for(u=f.settings.moveSlides==1?f.active.index:f.active.index*c(),t=f.children.eq(u),i=1;i<=f.settings.maxSlides-1;i++)t=u+i>=f.children.length?t.add(f.children.eq(i-1)):t.add(f.children.eq(u+i));else t=f.children.eq(f.active.index);else t=f.children;return f.settings.mode=="vertical"?(t.each(function(){r+=n(this).outerHeight()}),f.settings.slideMargin>0&&(r+=f.settings.slideMargin*(f.settings.minSlides-1))):r=Math.max.apply(Math,t.map(function(){return n(this).outerHeight(!1)}).get()),r},st=function(){var n="100%";return f.settings.slideWidth>0&&(n=f.settings.mode=="horizontal"?f.settings.maxSlides*f.settings.slideWidth+(f.settings.maxSlides-1)*f.settings.slideMargin:f.settings.slideWidth),n},d=function(){var t=f.settings.slideWidth,n=f.viewport.width();return f.settings.slideWidth==0||f.settings.slideWidth>n&&!f.carousel||f.settings.mode=="vertical"?t=n:f.settings.maxSlides>1&&f.settings.mode=="horizontal"&&(n>f.maxThreshold||n<f.minThreshold&&(t=(n-f.settings.slideMargin*(f.settings.minSlides-1))/f.settings.minSlides)),t},h=function(){var n=1,t;return f.settings.mode=="horizontal"&&f.settings.slideWidth>0?f.viewport.width()<f.minThreshold?n=f.settings.minSlides:f.viewport.width()>f.maxThreshold?n=f.settings.maxSlides:(t=f.children.first().width(),n=Math.floor(f.viewport.width()/t)):f.settings.mode=="vertical"&&(n=f.settings.minSlides),n},s=function(){var n=0,t,i;if(f.settings.moveSlides>0)if(f.settings.infiniteLoop)n=f.children.length/c();else for(t=0,i=0;t<f.children.length;)++n,t=i+h(),i+=f.settings.moveSlides<=h()?f.settings.moveSlides:h();else n=Math.ceil(f.children.length/h());return n},c=function(){return f.settings.moveSlides>0&&f.settings.moveSlides<=h()?f.settings.moveSlides:h()},g=function(){var t,i,n;f.children.length>f.settings.maxSlides&&f.active.last&&!f.settings.infiniteLoop?f.settings.mode=="horizontal"?(t=f.children.last(),n=t.position(),o(-(n.left-(f.viewport.width()-t.width())),"reset",0)):f.settings.mode=="vertical"&&(i=f.children.length-f.settings.minSlides,n=f.children.eq(i).position(),o(-n.top,"reset",0)):(n=f.children.eq(f.active.index*c()).position(),f.active.index==s()-1&&(f.active.last=!0),n!=undefined&&(f.settings.mode=="horizontal"?o(-n.left,"reset",0):f.settings.mode=="vertical"&&o(-n.top,"reset",0)))},o=function(n,t,i,r){var u,s;f.usingCSS?(u=f.settings.mode=="vertical"?"translate3d(0, "+n+"px, 0)":"translate3d("+n+"px, 0, 0)",e.css("-"+f.cssPrefix+"-transition-duration",i/1e3+"s"),t=="slide"?(e.css(f.animProp,u),e.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){e.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd");y()})):t=="reset"?e.css(f.animProp,u):t=="ticker"&&(e.css("-"+f.cssPrefix+"-transition-timing-function","linear"),e.css(f.animProp,u),e.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){e.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd");o(r.resetValue,"reset",0);a()}))):(s={},s[f.animProp]=n,t=="slide"?e.animate(s,i,f.settings.easing,function(){y()}):t=="reset"?e.css(f.animProp,n):t=="ticker"&&e.animate(s,speed,"linear",function(){o(r.resetValue,"reset",0);a()}))},nt=function(){for(var i,r="",u=s(),t=0;t<u;t++)i="",f.settings.buildPager&&n.isFunction(f.settings.buildPager)?(i=f.settings.buildPager(t),f.pagerEl.addClass("bx-custom-pager")):(i=t+1,f.pagerEl.addClass("bx-default-pager")),r+='<div class="bx-pager-item"><a href="" data-slide-index="'+t+'" class="bx-pager-link">'+i+"<\/a><\/div>";f.pagerEl.html(r)},ht=function(){f.settings.pagerCustom?f.pagerEl=n(f.settings.pagerCustom):(f.pagerEl=n('<div class="bx-pager" />'),f.settings.pagerSelector?n(f.settings.pagerSelector).html(f.pagerEl):f.controls.el.addClass("bx-has-pager").append(f.pagerEl),nt());f.pagerEl.delegate("a","click",bt)},ct=function(){f.controls.next=n('<a class="bx-next" href="">'+f.settings.nextText+"<\/a>");f.controls.prev=n('<a class="bx-prev" href="">'+f.settings.prevText+"<\/a>");f.controls.next.bind("click",vt);f.controls.prev.bind("click",yt);f.settings.nextSelector&&n(f.settings.nextSelector).append(f.controls.next);f.settings.prevSelector&&n(f.settings.prevSelector).append(f.controls.prev);f.settings.nextSelector||f.settings.prevSelector||(f.controls.directionEl=n('<div class="bx-controls-direction" />'),f.controls.directionEl.append(f.controls.prev).append(f.controls.next),f.controls.el.addClass("bx-has-controls-direction").append(f.controls.directionEl))},lt=function(){f.controls.start=n('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+f.settings.startText+"<\/a><\/div>");f.controls.stop=n('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+f.settings.stopText+"<\/a><\/div>");f.controls.autoEl=n('<div class="bx-controls-auto" />');f.controls.autoEl.delegate(".bx-start","click",pt);f.controls.autoEl.delegate(".bx-stop","click",wt);f.settings.autoControlsCombine?f.controls.autoEl.append(f.controls.start):f.controls.autoEl.append(f.controls.start).append(f.controls.stop);f.settings.autoControlsSelector?n(f.settings.autoControlsSelector).html(f.controls.autoEl):f.controls.el.addClass("bx-has-controls-auto").append(f.controls.autoEl);p(f.settings.autoStart?"stop":"start")},at=function(){f.children.each(function(){var t=n(this).find("img:first").attr("title");t!=undefined&&(""+t).length&&n(this).append('<div class="bx-caption"><span>'+t+"<\/span><\/div>")})},vt=function(n){f.settings.auto&&e.stopAuto();e.goToNextSlide();n.preventDefault()},yt=function(n){f.settings.auto&&e.stopAuto();e.goToPrevSlide();n.preventDefault()},pt=function(n){e.startAuto();n.preventDefault()},wt=function(n){e.stopAuto();n.preventDefault()},bt=function(t){f.settings.auto&&e.stopAuto();var r=n(t.currentTarget),i=parseInt(r.attr("data-slide-index"));i!=f.active.index&&e.goToSlide(i);t.preventDefault()},v=function(t){var i=f.children.length;if(f.settings.pagerType=="short"){f.settings.maxSlides>1&&(i=Math.ceil(f.children.length/f.settings.maxSlides));f.pagerEl.html(t+1+f.settings.pagerShortSeparator+i);return}f.pagerEl.find("a").removeClass("active");f.pagerEl.each(function(i,r){n(r).find("a").eq(t).addClass("active")})},y=function(){if(f.settings.infiniteLoop){var n="";f.active.index==0?n=f.children.eq(0).position():f.active.index==s()-1&&f.carousel?n=f.children.eq((s()-1)*c()).position():f.active.index==f.children.length-1&&(n=f.children.eq(f.children.length-1).position());f.settings.mode=="horizontal"?o(-n.left,"reset",0):f.settings.mode=="vertical"&&o(-n.top,"reset",0)}f.working=!1;f.settings.onSlideAfter(f.children.eq(f.active.index),f.oldIndex,f.active.index)},p=function(n){f.settings.autoControlsCombine?f.controls.autoEl.html(f.controls[n]):(f.controls.autoEl.find("a").removeClass("active"),f.controls.autoEl.find("a:not(.bx-"+n+")").addClass("active"))},tt=function(){s()==1?(f.controls.prev.addClass("disabled"),f.controls.next.addClass("disabled")):!f.settings.infiniteLoop&&f.settings.hideControlOnEnd&&(f.active.index==0?(f.controls.prev.addClass("disabled"),f.controls.next.removeClass("disabled")):f.active.index==s()-1?(f.controls.next.addClass("disabled"),f.controls.prev.removeClass("disabled")):(f.controls.prev.removeClass("disabled"),f.controls.next.removeClass("disabled")))},kt=function(){if(f.settings.autoDelay>0)var n=setTimeout(e.startAuto,f.settings.autoDelay);else e.startAuto();f.settings.autoHover&&e.hover(function(){f.interval&&(e.stopAuto(!0),f.autoPaused=!0)},function(){f.autoPaused&&(e.startAuto(!0),f.autoPaused=null)})},dt=function(){var i=0,t;f.settings.autoDirection=="next"?e.append(f.children.clone().addClass("bx-clone")):(e.prepend(f.children.clone().addClass("bx-clone")),t=f.children.first().position(),i=f.settings.mode=="horizontal"?-t.left:-t.top);o(i,"reset",0);f.settings.pager=!1;f.settings.controls=!1;f.settings.autoControls=!1;f.settings.tickerHover&&!f.usingCSS&&f.viewport.hover(function(){e.stop()},function(){var t=0;f.children.each(function(){t+=f.settings.mode=="horizontal"?n(this).outerWidth(!0):n(this).outerHeight(!0)});var i=f.settings.speed/t,r=f.settings.mode=="horizontal"?"left":"top",u=i*(t-Math.abs(parseInt(e.css(r))));a(u)});a()},a=function(n){var t,i;speed=n?n:f.settings.speed;t={left:0,top:0};i={left:0,top:0};f.settings.autoDirection=="next"?t=e.find(".bx-clone").first().position():i=f.children.first().position();var r=f.settings.mode=="horizontal"?-t.left:-t.top,u=f.settings.mode=="horizontal"?-i.left:-i.top,s={resetValue:u};o(r,"ticker",speed,s)},gt=function(){f.touch={start:{x:0,y:0},end:{x:0,y:0}};f.viewport.bind("touchstart",ni)},ni=function(n){if(f.working)n.preventDefault();else{f.touch.originalPos=e.position();var t=n.originalEvent;f.touch.start.x=t.changedTouches[0].pageX;f.touch.start.y=t.changedTouches[0].pageY;f.viewport.bind("touchmove",it);f.viewport.bind("touchend",rt)}},it=function(n){var t=n.originalEvent,u=Math.abs(t.changedTouches[0].pageX-f.touch.start.x),e=Math.abs(t.changedTouches[0].pageY-f.touch.start.y),i,r;u*3>e&&f.settings.preventDefaultSwipeX?n.preventDefault():e*3>u&&f.settings.preventDefaultSwipeY&&n.preventDefault();f.settings.mode!="fade"&&f.settings.oneToOneTouch&&(i=0,f.settings.mode=="horizontal"?(r=t.changedTouches[0].pageX-f.touch.start.x,i=f.touch.originalPos.left+r):(r=t.changedTouches[0].pageY-f.touch.start.y,i=f.touch.originalPos.top+r),o(i,"reset",0))},rt=function(n){var r,i,t;f.viewport.unbind("touchmove",it);r=n.originalEvent;i=0;f.touch.end.x=r.changedTouches[0].pageX;f.touch.end.y=r.changedTouches[0].pageY;f.settings.mode=="fade"?(t=Math.abs(f.touch.start.x-f.touch.end.x),t>=f.settings.swipeThreshold&&(f.touch.start.x>f.touch.end.x?e.goToNextSlide():e.goToPrevSlide(),e.stopAuto())):(t=0,f.settings.mode=="horizontal"?(t=f.touch.end.x-f.touch.start.x,i=f.touch.originalPos.left):(t=f.touch.end.y-f.touch.start.y,i=f.touch.originalPos.top),!f.settings.infiniteLoop&&(f.active.index==0&&t>0||f.active.last&&t<0)?o(i,"reset",200):Math.abs(t)>=f.settings.swipeThreshold?(t<0?e.goToNextSlide():e.goToPrevSlide(),e.stopAuto()):o(i,"reset",200));f.viewport.unbind("touchend",rt)},ut=function(){var t=n(window).width(),i=n(window).height();(w!=t||b!=i)&&(w=t,b=i,e.redrawSlider())};return e.goToSlide=function(t,i){var h,r,a,p,u,w,b;if(!f.working&&f.active.index!=t){f.working=!0;f.oldIndex=f.active.index;f.active.index=t<0?s()-1:t>=s()?0:t;f.settings.onSlideBefore(f.children.eq(f.active.index),f.oldIndex,f.active.index);if(i=="next")f.settings.onSlideNext(f.children.eq(f.active.index),f.oldIndex,f.active.index);else if(i=="prev")f.settings.onSlidePrev(f.children.eq(f.active.index),f.oldIndex,f.active.index);f.active.last=f.active.index>=s()-1;f.settings.pager&&v(f.active.index);f.settings.controls&&tt();f.settings.mode=="fade"?(f.settings.adaptiveHeight&&f.viewport.height()!=l()&&f.viewport.animate({height:l()},f.settings.adaptiveHeightSpeed),f.children.filter(":visible").fadeOut(f.settings.speed).css({zIndex:0}),f.children.eq(f.active.index).css("zIndex",51).fadeIn(f.settings.speed,function(){n(this).css("zIndex",50);y()})):(f.settings.adaptiveHeight&&f.viewport.height()!=l()&&f.viewport.animate({height:l()},f.settings.adaptiveHeightSpeed),h=0,r={left:0,top:0},!f.settings.infiniteLoop&&f.carousel&&f.active.last?f.settings.mode=="horizontal"?(u=f.children.eq(f.children.length-1),r=u.position(),h=f.viewport.width()-u.outerWidth()):(a=f.children.length-f.settings.minSlides,r=f.children.eq(a).position()):f.carousel&&f.active.last&&i=="prev"?(p=f.settings.moveSlides==1?f.settings.maxSlides-c():(s()-1)*c()-(f.children.length-f.settings.maxSlides),u=e.children(".bx-clone").eq(p),r=u.position()):i=="next"&&f.active.index==0?(r=e.find("> .bx-clone").eq(f.settings.maxSlides).position(),f.active.last=!1):t>=0&&(w=t*c(),r=f.children.eq(w).position()),"undefined"!=typeof r&&(b=f.settings.mode=="horizontal"?-(r.left-h):-r.top,o(b,"slide",f.settings.speed)))}},e.goToNextSlide=function(){if(f.settings.infiniteLoop||!f.active.last){var n=parseInt(f.active.index)+1;e.goToSlide(n,"next")}},e.goToPrevSlide=function(){if(f.settings.infiniteLoop||f.active.index!=0){var n=parseInt(f.active.index)-1;e.goToSlide(n,"prev")}},e.startAuto=function(n){f.interval||(f.interval=setInterval(function(){f.settings.autoDirection=="next"?e.goToNextSlide():e.goToPrevSlide()},f.settings.pause),f.settings.autoControls&&n!=!0&&p("stop"))},e.stopAuto=function(n){f.interval&&(clearInterval(f.interval),f.interval=null,f.settings.autoControls&&n!=!0&&p("start"))},e.getCurrentSlide=function(){return f.active.index},e.getSlideCount=function(){return f.children.length},e.redrawSlider=function(){f.children.add(e.find(".bx-clone")).outerWidth(d());f.viewport.css("height",l());f.settings.ticker||g();f.active.last&&(f.active.index=s()-1);f.active.index>=s()&&(f.active.last=!0);f.settings.pager&&!f.settings.pagerCustom&&(nt(),v(f.active.index))},e.destroySlider=function(){f.initialized&&(f.initialized=!1,n(".bx-clone",this).remove(),f.children.each(function(){n(this).data("origStyle")!=undefined?n(this).attr("style",n(this).data("origStyle")):n(this).removeAttr("style")}),n(this).data("origStyle")!=undefined?this.attr("style",n(this).data("origStyle")):n(this).removeAttr("style"),n(this).unwrap().unwrap(),f.controls.el&&f.controls.el.remove(),f.controls.next&&f.controls.next.remove(),f.controls.prev&&f.controls.prev.remove(),f.pagerEl&&f.pagerEl.remove(),n(".bx-caption",this).remove(),f.controls.autoEl&&f.controls.autoEl.remove(),clearInterval(f.interval),f.settings.responsive&&n(window).unbind("resize",ut))},e.reloadSlider=function(n){n!=undefined&&(u=n);e.destroySlider();k()},k(),this}})(jQuery),function(n){n.fn.quovolver=function(t){"use strict";var i=n.extend({},n.fn.quovolver.defaults,t);return this.each(function(){function v(itemNumber){if(f.is(":animated")||u.is(":animated")||r.is(":hidden"))return!1;itemNumber<1?itemNumber=l:itemNumber>l&&(itemNumber=1);var gotoData={current:n(f[o-1]),upcoming:n(f[itemNumber-1])};return gotoData.currentHeight=e(gotoData.current,"height"),gotoData.upcomingHeight=e(gotoData.upcoming,"height"),gotoData.currentOuterHeight=e(gotoData.current,"outerHeight"),gotoData.upcomingOuterHeight=e(gotoData.upcoming,"outerHeight"),gotoData.currentWidth=e(gotoData.current,"width"),gotoData.upcomingWidth=e(gotoData.upcoming,"width"),gotoData.currentOuterWidth=e(gotoData.current,"outerWidth"),gotoData.upcomingOuterWidth=e(gotoData.upcoming,"outerWidth"),t.transition!=="basic"&&typeof t.transition=="string"&&eval("typeof "+t.transition)==="function"?eval(t.transition+"(gotoData)"):nt(gotoData),o=itemNumber,p(a),w(a),!1}function k(){var i,u;if((t.navPosition==="above"||t.navPosition==="both")&&(r.prepend('<div class="quovolve-nav quovolve-nav-above"><\/div>'),i=r.find(".quovolve-nav")),(t.navPosition==="below"||t.navPosition==="both")&&(r.append('<div class="quovolve-nav quovolve-nav-below"><\/div>'),i=r.find(".quovolve-nav")),t.navPosition==="custom"&&t.navPositionCustom!==""&&n(t.navPositionCustom).length!==0&&(n(t.navPositionCustom).append('<div class="quovolve-nav quovolve-nav-custom"><\/div>'),i=n(t.navPositionCustom).find(".quovolve-nav")),t.navPrev&&i.append('<span class="nav-prev"><a href="#">'+t.navPrevText+"<\/a><\/span>"),t.navNext&&i.append('<span class="nav-next"><a href="#">'+t.navNextText+"<\/a><\/span>"),t.navNum){for(i.append('<ol class="nav-numbers"><\/ol>'),u=1;u<l+1;u++)i.find(".nav-numbers").append('<li><a href="#item-'+u+'">'+u+"<\/a><\/li>");p(i)}return t.navText&&(i.append('<span class="nav-text"><\/span>'),w(i)),i}function e(t,i){var r=t[i](),u;return r&&r!=0||(u=t.parents().andSelf().filter(":hidden"),u.each(function(){this.oDisplay=this.style.display;n(this).show()}),r=t[i](),u.each(function(){this.style.display=this.oDisplay})),r}function y(t){var i=0;t.height("auto");t.each(function(){var t;t=n(this).is(":visible")?n(this).height():e(n(this),"height");t>i&&(i=t)});t.height(i)}function p(n){t.navEnabled&&(n.find(".nav-numbers li").removeClass("active"),n.find('.nav-numbers a[href="#item-'+o+'"]').parent().addClass("active"))}function w(n){if(t.navEnabled){var i=t.navTextContent.replace("@a",o).replace("@b",l);n.find(".nav-text").text(i)}}function h(){var n=t.autoPlaySpeed=="auto"?f[o-1].textLength*25+2e3:t.autoPlaySpeed;r.addClass("play");clearTimeout(s);s=setTimeout(function(){v(o+1);h()},n)}function d(){t.stopAutoPlay!==!0&&r.hover(function(){r.addClass("pause").removeClass("play");clearTimeout(s)},function(){r.removeClass("pause").addClass("play");clearTimeout(s);h()})}function g(){r.hover(function(){r.addClass("stop").removeClass("play");clearTimeout(s)},function(){})}function c(n){clearTimeout(s);v(n);t.autoPlay&&h()}function nt(n){u.css("height",n.upcomingOuterHeight);n.current.hide();n.upcoming.show();t.equalHeight===!1&&u.css("height","auto")}var u=n(this),t=n.meta?n.extend({},i,u.data()):i,b,a,s;u.addClass("quovolve").css({position:"relative"}).wrap('<div class="quovolve-box"><\/div>');b=t.children?"find":"children";var r=u.parent(".quovolve-box"),f=u[b](t.children),o=1,l=f.length;f.hide().filter(":first").show();t.navPrev||t.navNext||t.navNum||t.navText?(t.navEnabled=!0,a=k()):t.navEnabled=!1;t.equalHeight&&(y(f),n(window).resize(function(){y(f);u.css("height",n(f[o-1]).outerHeight())}));t.autoPlay&&(t.autoPlaySpeed=="auto"&&f.each(function(){this.textLength=n(this).text().length}),h(),t.stopOnHover?g():t.pauseOnHover&&d());n(".nav-prev a",r).click(function(){return c(o-1),!1});n(".nav-next a",r).click(function(){return c(o+1),!1});n(".nav-numbers a",r).click(function(){return c(n(this).text()),!1});n(this).bind("goto",function(n,t){c(t)})})};n.fn.quovolver.defaults={children:"",transition:"fade",transitionSpeed:300,autoPlay:!0,autoPlaySpeed:"auto",pauseOnHover:!0,stopOnHover:!1,equalHeight:!0,navPosition:"above",navPositionCustom:"",navPrev:!1,navNext:!1,navNum:!1,navText:!1,navPrevText:"Prev",navNextText:"Next",navTextContent:"@a / @b"}}(jQuery);$(document).ready(function(){$(".landing-variantOne-quotes").bxSlider({nextSelector:".landing-variantOne-quotes-navigationContainer-next",prevSelector:".landing-variantOne-quotes-navigationContainer-prev",pagerSelector:".landing-variantOne-quotes-navigationContainer-pager",mode:"fade",slideSelector:"div",preloadImages:"all",auto:!0,speed:1e3,pause:1e4,autoHover:!0});$(".landing-variantOne-feedback").quovolver({children:"div.landing-variantOne-feedback-subCommentGroup",transitionSpeed:600,autoPlay:!1,equalHeight:!1,navPosition:"above",navPrev:!0,navNext:!0})})