/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
function checkFirstPageSeen(){$(firstPage).visible(!0)&&(firstPageSeen=
!0)}function checkLastPageSeen(){$(lastPage).visible(!0)&&(lastPageSeen=
!0)}function checkAllPagesSeen(){firstPageSeen||checkFirstPageSeen(
),lastPageSeen||checkLastPageSeen(),firstPageSeen&&lastPageSeen&&
(dyson.tracking.trackLastNavigationPageSeen(),trackingEventFired=
!0)}function getScrollbarWidth(){var n=document.createElement(
"div"),i,t,r;return n.style.visibility="hidden",n.style.width=
"100px",document.body.appendChild(n),i=n.offsetWidth,n.style.
overflow="scroll",t=document.createElement("div"),t.style.width=
"100%",n.appendChild(t),r=t.offsetWidth,n.parentNode.removeChild(
n),i-r}function responsiveRtlSlider(){var n=$(".mSSlideElement").
outerWidth(!0),t=$(window).width();n<t?$("#stickyslider").css(
"direction","rtl"):$("#stickyslider").css("direction","")}function isNavPeekCookieSet(
){var n=document.cookie;return n.indexOf("dysonNavPeek")>-1}
function setupSliderPosition(){$(window).scrollTop()>=$("header").
height()?($(".menu").addClass("fixed"),$(".sticky").addClass(
"fixed")):($(".menu").removeClass("fixed"),$(".sticky").removeClass(
"fixed"))}function initialSliderShow(){window.setTimeout(function(
){showSlider(),window.setTimeout(function(){carouselTouchStart?
initialShowComplete=!0:mouseOverCarousel||(initialShowComplete=
!0)},2e3),$(".sticky").addClass("loaded")},500)}function hideSlider(
n){$("nav.sticky").attr({"aria-hidden":"true"}),$(".sticky").
removeClass("expanded"),animationInProgress=!0,$(".sticky ul li .sticky-image-container").
animate({opacity:.5},{duration:800,queue:!1,easing:"easeInOutExpo"}),
$(".sticky ul li .sticky-image-container").animate({"margin-top":
"-250px"},{duration:550,queue:!1,easing:"easeInOutExpo",complete:
function(){}}),isIE8||$(".sticky ul li .heading").animate({opacity:
0},{duration:800,queue:!1,easing:"easeInOutExpo"}),window.setTimeout(
function(){$(".sticky ul li .heading").animate({bottom:"200px"},
{duration:550,queue:!1,easing:"easeInOutExpo"})},100),$(".sticky .scarousel").
animate({top:-250},{duration:600,queue:!0,easing:"easeInOutExpo",
complete:function(){animationInProgress=!1,initialShowComplete=
!0,$(".sticky").css("z-index","-1"),n&&HideMenu()}}),window.
setTimeout(function(){$(".sticky ul li .current-page-line").
animate({bottom:"-500px"},{duration:500,queue:!1,easing:"easeOutQuart"})}
,400),window.setTimeout(function(){$(".menu i.rotate").addClass(
"down")},100),isIE8&&($(".menu i").removeClass("icon-angle-up"),
$(".menu i").addClass("icon-angle-down")),$(".menu .main-nav-bar").
animate({opacity:.85},{duration:500,queue:!1,easing:"easeInSine"})}
function centerActiveSlide(){var n=$("#stickyslider .frame"),
t=$(".mSSlide",n),i=t.index(t.filter(".active"));n.mightySlider(
"toCenter",i,!0)}function showSlider(){$("nav.sticky").attr(
{"aria-hidden":"false"}),centerActiveSlide(),$(".sticky").addClass(
"expanded"),animationInProgress=!0,$(".sticky").css("z-index",
"101"),$(".sticky .scarousel").animate({top:0},{duration:600,
queue:!1,easing:"easeInOutExpo"}),window.setTimeout(function(
){$(".sticky ul li .heading").animate({bottom:"15px"},{duration:
600,queue:!1,easing:"easeOutExpo"})},250),isIE8||window.setTimeout(
function(){$(".sticky ul li .heading").animate({opacity:1},{
duration:500,queue:!1,easing:"easeInSine"})},100),window.setTimeout(
function(){$(".sticky ul li .sticky-image-container").animate(
{"margin-top":"0px"},{duration:700,queue:!1,easing:"easeOutExpo"})}
,300),window.setTimeout(function(){$(".sticky ul li .sticky-image-container").
animate({opacity:1},{duration:250,queue:!1,easing:"easeOutSine"})}
,525),$(".menu .main-nav-bar").animate({opacity:1},{duration:
500,queue:!1,easing:"easeInSine",complete:function(){animationInProgress=
!1}}),window.setTimeout(function(){$(".sticky ul li .current-page-line").
animate({bottom:"5px"},{duration:500,queue:!1,easing:"easeOutQuart"})}
,400),window.setTimeout(function(){$(".menu i.rotate").removeClass(
"down")},100),isIE8&&($(".menu i").removeClass("icon-angle-down"),
$(".menu i").addClass("icon-angle-up"))}function ShowTopNav(
){$("header, .menu, .sticky .scarousel, .menu-hidden-arrow").
stop(),ShowHeader()}function HideTopNav(){headerAnimationInProgress?
($("header").stop(),HideHeader()):menuAnimationInProgress?($(
".menu").stop(),HideMenu()):$(".menu").hasClass("showing")&&
hideSlider(!0)}function ShowHeader(){if(!playAgainClicked){headerAnimationInProgress=
!0;var n=$("header").height(),t=$(window).scrollTop()<n,i=t?
500:0,r=$(window).scrollTop()+n;$("header").css("z-index","103"),
t?$("header").animate({"margin-top":"0px"},{duration:i,complete:
function(){headerAnimationInProgress=!1,ShowMenu()}}):(headerAnimationInProgress=
!1,$(window).scrollTop(r),$("header").css("margin-top","0px"),
ShowMenu())}}function ShowMenu(){menuAnimationInProgress=!0,
$(".menu").animate({"margin-top":"0px"},{duration:500,complete:
function(){$(window).triggerHandler("scroll"),$(".menu").addClass(
"showing"),menuAnimationInProgress=!1,initialSliderShow()}})}
function HideHeader(){headerAnimationInProgress=!0,$("header").
animate({"margin-top":$("header").height()*-1+"px"},500,function(
){$("header").css("z-index","0"),videoInView&&($(".menu-hidden-arrow").
animate({top:"0px"},{duration:500}),$(".menu").removeClass("showing")),
headerAnimationInProgress=!1}),initialShowComplete=!1}function HideMenu(
){menuAnimationInProgress=!0,$("header").css("z-index","103"),
$(".menu").animate({"margin-top":($("header").height()+51)*-1+
"px"},{duration:500,complete:function(){HideHeader(),menuAnimationInProgress=
!1}})}function AddInteractiveVideoMobileScrollDownWaypoint()
{var n=new Waypoint({element:$(".interactive-video-mobile-container"),
handler:function(n){n!=="down"||$(".menu").hasClass("showing")||
(ShowTopNav(),dyson.cookiesBanner&&dyson.cookiesBanner.initialise(
))},offset:-$(".interactive-video-mobile-container").height(
)})}function AddInteractiveVideoMobileScrollUpWaypoint(){var
n=new Waypoint({element:$(".interactive-video-mobile-container"),
handler:function(n){n==="up"&&$(".menu").hasClass("showing")&&
window.setTimeout(hideSlider(!0),250)},offset:"0%"})}function SetScrollBarDisplayBasedOnViewport(
){if($(".mSSlideElement").length>0){var t=$(".mSSlideElement").
css("width").replace("px",""),i=$(window).width(),n=$("nav.sticky .scrollbar");
t>i?n.css("display","block"):n.css("display","none")}}var scrollStart,
isIE8;jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(
n,t,i){function r(i){var r=t.console;o[i]||(o[i]=!0,n.migrateWarnings.
push(i),r&&r.warn&&!n.migrateMute&&(r.warn("JQMIGRATE: "+i),
n.migrateTrace&&r.trace&&r.trace()))}function e(t,u,f,e){if(
Object.defineProperty)try{return Object.defineProperty(t,u,{
configurable:!0,enumerable:!0,get:function(){return r(e),f},
set:function(n){r(e),f=n}}),i}catch(o){}n._definePropertyBroken=
!0,t[u]=f}var o={},l,a,v;n.migrateWarnings=[],!n.migrateMute&&
t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),
n.migrateTrace===i&&(n.migrateTrace=!0),n.migrateReset=function(
){o={},n.migrateWarnings.length=0},"BackCompat"===document.compatMode&&
r("jQuery is not compatible with Quirks Mode");var s=n("<input/>",
{size:1}).attr("size")&&n.attrFn,h=n.attr,g=n.attrHooks.value&&
n.attrHooks.value.get||function(){return null},nt=n.attrHooks.
value&&n.attrHooks.value.set||function(){return i},tt=/^(?:input|button)$/i,
it=/^[238]$/,rt=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
ut=/^(?:checked|selected)$/i;e(n,"attrFn",s||{},"jQuery.attrFn is deprecated"),
n.attr=function(t,u,f,e){var o=u.toLowerCase(),c=t&&t.nodeType;
return e&&(4>h.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),
t&&!it.test(c)&&(s?u in s:n.isFunction(n.fn[u])))?n(t)[u](f):
("type"===u&&f!==i&&tt.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),
!n.attrHooks[o]&&rt.test(o)&&(n.attrHooks[o]={get:function(t,
r){var u,f=n.prop(t,r);return f===!0||"boolean"!=typeof f&&(u=
t.getAttributeNode(r))&&u.nodeValue!==!1?r.toLowerCase():i},
set:function(t,i,r){var u;return i===!1?n.removeAttr(t,r):(u=
n.propFix[r]||r,u in t&&(t[u]=!0),t.setAttribute(r,r.toLowerCase(
))),r}},ut.test(o)&&r("jQuery.fn.attr('"+o+"') may use property instead of attribute"))
,h.call(n,t,u,f))},n.attrHooks.value={get:function(n,t){var i=
(n.nodeName||"").toLowerCase();return"button"===i?g.apply(this,
arguments):("input"!==i&&"option"!==i&&r("jQuery.fn.attr('value') no longer gets properties"),
t in n?n.value:null)},set:function(n,t){var u=(n.nodeName||"")
.toLowerCase();return"button"===u?nt.apply(this,arguments):("input"!==
u&&"option"!==u&&r("jQuery.fn.attr('value', val) no longer sets properties"),
n.value=t,i)}};var f,u,c=n.fn.init,ft=n.parseJSON,et=/^([^<]*)(<[\w\W]+>)([^>]*)$/;
n.fn.init=function(t,i,u){var f;return t&&"string"==typeof t&&
!n.isPlainObject(i)&&(f=et.exec(n.trim(t)))&&f[0]&&("<"!==t.
charAt(0)&&r("$(html) HTML strings must start with '<' character"),
f[3]&&r("$(html) HTML text after last tag is ignored"),"#"===
f[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),
n.error("JQMIGRATE: Invalid selector string (XSS)")),i&&i.context&&
(i=i.context),n.parseHTML)?c.call(this,n.parseHTML(f[2],i,!0),
i,u):c.apply(this,arguments)},n.fn.init.prototype=n.fn,n.parseJSON=
function(n){return n||null===n?ft.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),
null)},n.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.
exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.
exec(n)||/(msie) ([\w.]+)/.exec(n)||0>n.indexOf("compatible")&&
/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[
1]||"",version:t[2]||"0"}},n.browser||(f=n.uaMatch(navigator.
userAgent),u={},f.browser&&(u[f.browser]=!0,u.version=f.version)
,u.chrome?u.webkit=!0:u.webkit&&(u.safari=!0),n.browser=u),e(
n,"browser",n.browser,"jQuery.browser is deprecated"),n.sub=
function(){function t(n,i){return new t.fn.init(n,i)}n.extend(
!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=
t,t.sub=this.sub,t.fn.init=function(r,u){return u&&u instanceof
n&&!(u instanceof t)&&(u=t(u)),n.fn.init.call(this,r,u,i)},t.
fn.init.prototype=t.fn;var i=t(document);return r("jQuery.sub() is deprecated"),
t},n.ajaxSetup({converters:{"text json":n.parseJSON}}),l=n.fn.
data,n.fn.data=function(t){var f,u,e=this[0];return!e||"events"!==
t||1!==arguments.length||(f=n.data(e,t),u=n._data(e,t),f!==i&&
f!==u||u===i)?l.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),
u)},a=/\/(java|ecma)script/i,v=n.fn.andSelf||n.fn.addBack,n.
fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),
v.apply(this,arguments)},n.clean||(n.clean=function(t,u,f,e)
{u=u||document,u=!u.nodeType&&u[0]||u,u=u.ownerDocument||u,r(
"jQuery.clean() is deprecated");var s,o,c,l,h=[];if(n.merge(
h,n.buildFragment(t,u).childNodes),f)for(c=function(n){return!n.
type||a.test(n.type)?e?e.push(n.parentNode?n.parentNode.removeChild(
n):n):f.appendChild(n):i},s=0;null!=(o=h[s]);s++)n.nodeName(
o,"script")&&c(o)||(f.appendChild(o),o.getElementsByTagName!==
i&&(l=n.grep(n.merge([],o.getElementsByTagName("script")),c),
h.splice.apply(h,[s+1,0].concat(l)),s+=l.length));return h})
;var ot=n.event.add,st=n.event.remove,ht=n.event.trigger,ct=
n.fn.toggle,y=n.fn.live,p=n.fn.die,w="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",
b=RegExp("\\b(?:"+w+")\\b"),k=/(?:^|\s)hover(\.\S+|)\b/,d=function(
t){return"string"!=typeof t||n.event.special.hover?t:(k.test(
t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),
t&&t.replace(k,"mouseenter$1 mouseleave$1"))};n.event.props&&
"attrChange"!==n.event.props[0]&&n.event.props.unshift("attrChange",
"attrName","relatedNode","srcElement"),n.event.dispatch&&e(n.
event,"handle",n.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),
n.event.add=function(n,t,i,u,f){n!==document&&b.test(t)&&r("AJAX events should be attached to document: "+
t),ot.call(this,n,d(t||""),i,u,f)},n.event.remove=function(n,
t,i,r,u){st.call(this,n,d(t)||"",i,r,u)},n.fn.error=function(
){var n=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),
n.splice(0,0,"error"),arguments.length?this.bind.apply(this,
n):(this.triggerHandler.apply(this,n),this)},n.fn.toggle=function(
t,i){if(!n.isFunction(t)||!n.isFunction(i))return ct.apply(this,
arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");
var u=arguments,e=t.guid||n.guid++,f=0,o=function(i){var r=(n.
_data(this,"lastToggle"+t.guid)||0)%f;return n._data(this,"lastToggle"+
t.guid,r+1),i.preventDefault(),u[r].apply(this,arguments)||!1}
;for(o.guid=e;u.length>f;)u[f++].guid=e;return this.click(o)}
,n.fn.live=function(t,i,u){return r("jQuery.fn.live() is deprecated"),
y?y.apply(this,arguments):(n(this.context).on(t,this.selector,
i,u),this)},n.fn.die=function(t,i){return r("jQuery.fn.die() is deprecated"),
p?p.apply(this,arguments):(n(this.context).off(t,this.selector||
"**",i),this)},n.event.trigger=function(n,t,i,u){return i||b.
test(n)||r("Global events are undocumented and deprecated"),
ht.call(this,n,t,i||document,u)},n.each(w.split("|"),function(
t,i){n.event.special[i]={setup:function(){var t=this;return t!==
document&&(n.event.add(document,i+"."+n.guid,function(){n.event.
trigger(i,null,t,!0)}),n._data(this,i,n.guid++)),!1},teardown:
function(){return this!==document&&n.event.remove(document,i+
"."+n._data(this,i)),!1}}})}(jQuery,window),function(n,t){var
i=n.jQuery||n.Cowboy||(n.Cowboy={}),r;i.throttle=r=function(
n,r,u,f){function s(){function i(){o=+new Date,u.apply(h,c)}
function l(){e=t}var h=this,s=+new Date-o,c=arguments;f&&!e&&
i(),e&&clearTimeout(e),f===t&&s>n?i():r!==!0&&(e=setTimeout(
f?l:i,f===t?n-s:n))}var e,o=0;return typeof r!="boolean"&&(f=
u,u=r,r=t),i.guid&&(s.guid=u.guid=u.guid||i.guid++),s},i.debounce=
function(n,i,u){return u===t?r(n,i,!1):r(n,u,i!==!1)}}(this),
function(n,t,i,r){function l(n){while(n&&typeof n.originalEvent!=
"undefined")n=n.originalEvent;return n}function pt(t,i){var u=
t.type,e,o,c,f,s,a,v,h;if(t=n.Event(t),t.type=i,e=t.originalEvent,
o=n.event.props,u.search(/^(mouse|click)/)>-1&&(o=vt),e)for(
v=o.length,f;v;)f=o[--v],t[f]=e[f];if(u.search(/mouse(down|up)|click/)>
-1&&!t.which&&(t.which=1),u.search(/^touch/)!==-1&&(c=l(e),u=
c.touches,s=c.changedTouches,a=u&&u.length?u[0]:s&&s.length?
s[0]:r,a))for(h=0,len=nt.length;h<len;h++)f=nt[h],t[f]=a[f];
return t}function p(t){for(var i={},r,u;t;){r=n.data(t,o);for(
u in r)r[u]&&(i[u]=i.hasVirtualBinding=!0);t=t.parentNode}return i}
function wt(t,i){for(var r;t;){if(r=n.data(t,o),r&&(!i||r[i])
)return t;t=t.parentNode}return null}function bt(){c=!1}function rt(
){c=!0}function kt(){s=0,v.length=0,k=!1,rt()}function dt(){
bt()}function g(){ut(),h=setTimeout(function(){h=0,kt()},n.vmouse.
resetTimerDuration)}function ut(){h&&(clearTimeout(h),h=0)}function e(
t,i,r){var u;return(r&&r[t]||!r&&wt(i.target,t))&&(u=pt(i,t),
n(i.target).trigger(u)),u}function ft(t){var r=n.data(t.target,
w),i;k||s&&s===r||(i=e("v"+t.type,t),i&&(i.isDefaultPrevented(
)&&t.preventDefault(),i.isPropagationStopped()&&t.stopPropagation(
),i.isImmediatePropagationStopped()&&t.stopImmediatePropagation(
)))}function et(t){var o=l(t).touches,r,i,u;o&&o.length===1&&
(r=t.target,i=p(r),i.hasVirtualBinding&&(s=yt++,n.data(r,w,s),
ut(),dt(),f=!1,u=l(t).touches[0],tt=u.pageX,it=u.pageY,e("vmouseover",
t,i),e("vmousedown",t,i)))}function ot(n){c||(f||e("vmousecancel",
n,p(n.target)),f=!0,g())}function st(t){if(!c){var i=l(t).touches[
0],u=f,r=n.vmouse.moveDistanceThreshold;f=f||Math.abs(i.pageX-
tt)>r||Math.abs(i.pageY-it)>r,flags=p(t.target),f&&!u&&e("vmousecancel",
t,flags),e("vmousemove",t,flags),g()}}function ht(n){var t,i,
r;c||(rt(),t=p(n.target),e("vmouseup",n,t),f||(r=e("vclick",
n,t),r&&r.isDefaultPrevented()&&(i=l(n).changedTouches[0],v.
push({touchID:s,x:i.clientX,y:i.clientY}),k=!0)),e("vmouseout",
n,t),f=!1,g())}function ct(t){var i=n.data(t,o),r;if(i)for(r
in i)if(i[r])return!0;return!1}function lt(){}function gt(t)
{var i=t.substr(1);return{setup:function(){ct(this)||n.data(
this,o,{});var r=n.data(this,o);r[t]=!0,u[t]=(u[t]||0)+1,u[t]===
1&&y.bind(i,ft),n(this).bind(i,lt),d&&(u.touchstart=(u.touchstart||
0)+1,u.touchstart===1&&y.bind("touchstart",et).bind("touchend",
ht).bind("touchmove",st).bind("scroll",ot))},teardown:function(
){--u[t],u[t]||y.unbind(i,ft),d&&(--u.touchstart,u.touchstart||
y.unbind("touchstart",et).unbind("touchmove",st).unbind("touchend",
ht).unbind("scroll",ot));var r=n(this),f=n.data(this,o);f&&(
f[t]=!1),r.unbind(i,lt),ct(this)||r.removeData(o)}}}var a;n.
attrFn=n.attrFn||{};var o="virtualMouseBindings",w="virtualTouchID",
b="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".
split(" "),nt="clientX clientY pageX pageY screenX screenY".
split(" "),at=n.event.mouseHooks?n.event.mouseHooks.props:[],
vt=n.event.props.concat(at),u={},h=0,tt=0,it=0,f=!1,v=[],k=!1,
c=!1,d="addEventListener"in i,y=n(i),yt=1,s=0;for(n.vmouse={
moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:
1500},a=0;a<b.length;a++)n.event.special[b[a]]=gt(b[a]);d&&i.
addEventListener("click",function(t){var f=v.length,e=t.target,
o,s,i,r,u,h;if(f)for(o=t.clientX,s=t.clientY,threshold=n.vmouse.
clickDistanceThreshold,i=e;i;){for(r=0;r<f;r++)if(u=v[r],h=0,
i===e&&Math.abs(u.x-o)<threshold&&Math.abs(u.y-s)<threshold||
n.data(i,w)===u.touchID){t.preventDefault(),t.stopPropagation(
);return}i=i.parentNode}},!0)}(jQuery,window,document),function(
n,t,i){function r(t,i,r){var u=r.type;r.type=i,n.event.dispatch.
call(t,r),r.type=u}n.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight".
split(""),function(t,i){n.fn[i]=function(n){return n?this.bind(
i,n):this.trigger(i)},n.attrFn[i]=!0}),n.event.special.tap={
setup:function(){var t=this,i=n(t);i.bind("touchstart",function(
u){function f(){clearTimeout(s)}function e(){f(),i.unbind("vclick",
h).unbind("vmouseup",f),n(document).unbind("vmousecancel",e)}
function h(n){e(),o==n.target&&r(t,"tap",n)}if(u.which&&u.which!==
1)return!1;var o=u.target,c=u.originalEvent,s;i.bind("vmouseup",
f).bind("vclick",h),n(document).bind("vmousecancel",e),s=setTimeout(
function(){r(t,"taphold",n.Event("taphold",{target:o}))},750)}
)}},n.event.special.swipe={scrollSupressionThreshold:10,durationThreshold:
1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:
75,setup:function(){var r=this,t=n(r);t.bind("touchstart",function(
r){function o(t){if(u){var i=t.originalEvent.touches?t.originalEvent.
touches[0]:t;f={time:(new Date).getTime(),coords:[i.pageX,i.
pageY]},Math.abs(u.coords[0]-f.coords[0])>n.event.special.swipe.
scrollSupressionThreshold&&t.preventDefault()}}var e=r.originalEvent.
touches?r.originalEvent.touches[0]:r,u={time:(new Date).getTime(
),coords:[e.pageX,e.pageY],origin:n(r.target)},f;t.bind("touchmove",
o).one("touchend",function(){t.unbind("touchmove",o),u&&f&&f.
time-u.time<n.event.special.swipe.durationThreshold&&Math.abs(
u.coords[0]-f.coords[0])>n.event.special.swipe.horizontalDistanceThreshold&&
Math.abs(u.coords[1]-f.coords[1])<n.event.special.swipe.verticalDistanceThreshold&&
u.origin.trigger("swipe").trigger(u.coords[0]>f.coords[0]?"swipeleft":
"swiperight"),u=f=i})})}},n.each({taphold:"tap",swipeleft:"swipe",
swiperight:"swipe"},function(t,i){n.event.special[t]={setup:
function(){n(this).bind(i,n.noop)}}})}(jQuery,this),!function(
n){var t=n(window);n.fn.visible=function(n,i,r){if(!(this.length<
1)){var e=this.length>1?this.eq(0):this,o=e.get(0),s=t.width(
),h=t.height(),r=r?r:"both",f=i===!0?o.offsetWidth*o.offsetHeight:
!0;if("function"==typeof o.getBoundingClientRect){var u=o.getBoundingClientRect(
),y=u.top>=0&&u.top<h,p=u.bottom>0&&u.bottom<=h,w=u.left>=0&&
u.left<s,b=u.right>0&&u.right<=s,k=n?y||p:y&&p,d=n?w||b:w&&b;
if("both"===r)return f&&k&&d;if("vertical"===r)return f&&k;if(
"horizontal"===r)return f&&d}else{var c=t.scrollTop(),g=c+h,
l=t.scrollLeft(),nt=l+s,tt=e.offset(),a=tt.top,it=a+e.height(
),v=tt.left,rt=v+e.width(),ut=n===!0?it:a,ft=n===!0?a:it,et=
n===!0?rt:v,ot=n===!0?v:rt;if("both"===r)return!!f&&g>=ft&&ut>=
c&&nt>=ot&&et>=l;if("vertical"===r)return!!f&&g>=ft&&ut>=c;if(
"horizontal"===r)return!!f&&nt>=ot&&et>=l}}}}(jQuery);var pages=
$(".mSSlideElement").children("li"),firstPage=pages[0],firstPageSeen=
!1,lastPage=pages[pages.length-1],lastPageSeen=!1,trackingEventFired=
!1;
/*!
 * Search Responsive_Sidewide_Fix for custom addition for the scroller 
 */
/*!
 * elementSpy 1.0.0 - 22nd May 2015
 *
 * Licensed under the MIT license.
 * http://opensource.org/licenses/MIT
 */
var firefox=/Firefox/i.test(navigator.userAgent),safari=/Safari/i.
test(navigator.userAgent)&&!/Chrome/i.test(navigator.userAgent),
desktop=(firefox||safari)&&!/Mobile|Tablet/i.test(navigator.
userAgent),sliderFixNeeded=desktop||$("html").hasClass("ie9")||
$("html").hasClass("ie8");(function(n,t,i){"use strict";function e(
n,t,i){var u=(n+"").match(/^(-?[0-9]+)(%)?$/),r;return u?(r=
parseInt(u[1],10),u[2]&&(r=t/100*r),r<0?t+r+(i||0):r):!1}function o(
t,i){function f(){function f(){r&&(r=clearTimeout(r))}function e(
){u=+new Date,i.apply(o,s),f()}var o=this,n=+new Date-u,s=arguments;
f(),n>t?e():r=setTimeout(e,t-n)}var r,u=0;return n.guid&&(f.
guid=i.guid=i.guid||n.guid++),f}var u="elementspy",f="elementSpy",
r=u;n[f]=function(t,f,s){function w(t){var i=b(t),r,u;i&&(r=
i.$el.offset()[i.horizontal?"left":"top"]-l.offset[i.horizontal?
"left":"top"],u=i.$el[i.horizontal?"outerWidth":"outerHeight"](
),n.extend(i,{start:r,elSize:u,end:r+u}),v(i))}function v(t)
{var r;if(t===i){n.each(c,v);return}if(r=b(t),r){var a=l[r.horizontal?
"width":"height"],h=e(r.size,a),u=l[r.horizontal?"left":"top"]+
e(r.offset,a,-h),s=u+h,o;o=r.contain?u<=r.start&&s>=r.end?"inside":
u+h/2>r.start+r.elSize/2?r.horizontal?"left":"up":r.horizontal?
"right":"down":u>r.start&&u<r.end||s>r.start&&s<r.end||u<=r.
start&&s>=r.start||u<=r.end&&s>=r.end?"inside":u>r.end?r.horizontal?
"left":"up":r.horizontal?"right":"down",r.state!==o&&(r.state=
o,typeof f=="function"&&f.call(r.el,o==="inside",o),typeof r.
callback=="function"&&r.callback.call(r.el,o==="inside",o))}
}function y(t){if(c.hasOwnProperty(t))return t;if(n.isPlainObject(
t)&&c.hasOwnProperty(t.id))return t.id;t=n(t)[0];var i=!1;return n.
each(c,function(n,r){r.el===t&&(i=n)}),i}function b(n){var t=
y(n);return t?c[t]:!1}typeof f!="function"&&(s=f,f=0);var a=
this,h=n(t),p=n.extend({},n.fn[u].defaults,s),c={},k=0,l={top:
h.scrollTop(),left:h.scrollLeft(),width:h.innerWidth(),height:
h.innerHeight(),offset:h.offset()||{top:0,left:0}};a.add=function(
t,i,r){n.isPlainObject(i)&&(r=i,i=0),n(t).each(function(t,u)
{var f=y(u)||"s"+k++;c[f]=n.extend({id:f,el:u,$el:n(u),callback:
i},p,r),w(f)})},a.reload=function(t){n(t).each(function(n,t)
{var i=y(t);i&&w(i)})},a.remove=function(t){n(t).each(function(
n,t){var i=y(t);i&&delete c[i]})},a.destroy=function(){h.off(
"."+r),c={},a=i};h.on("scroll."+r,o(p.delay,function(){l.top=
h.scrollTop(),l.left=h.scrollLeft(),v()}));h.on("resize."+r,
o(p.delay,function(){l.width=h.innerWidth(),l.height=h.innerHeight(
),v()}))},n.fn[u]=function(i,u){var e,h,s=u&&u.context||t,o=
n.data(s,r)||n.data(s,r,new n[f](s));return typeof i=="string"&&
(e=u===!1||u==="destroy"?"remove":u,h=Array.prototype.slice.
call(arguments,1),u={}),this.each(function(n,t){e?typeof o[e]==
"function"&&o[e].apply(o,h):o.add(t,i,u)})},n.fn[u].defaults=
{delay:100,context:window,horizontal:0,offset:0,size:"100%",
contain:0}})(jQuery,window),function(n,t,i){"use strict";function o(
n){switch(wr.call(n)){case"[object Date]":return"date";case"[object RegExp]":
return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":
return"array";case"[object Error]":return"error"}return n===
null?"null":n===i?"undefined":n!==n?"nan":n&&n.nodeType===1?
"element":(n=n.valueOf?n.valueOf():Object.prototype.valueOf.
apply(n),typeof n)}function y(n){return o(n)==="object"}function nt(
w,tt,ot){function bf(t){var ot=0,st=yr.length,rt=0,v=0,a,o,et,
k,c,l,d,y,p,u,nt,i,tt,e,it;if(ni.autoScale&&rh(),yi.old=n.extend(
{},yi),lr=cr[ni.navigation.horizontal?"width":"height"](),yf=
ku[ni.navigation.horizontal?"width":"height"](),dr=ar[ni.navigation.
horizontal?"outerWidth":"outerHeight"](),yr.length=0,yi.start=
0,yi.end=Math.max(dr-lr,0),vr){ot=pi.length,gr=ar.children(ni.
navigation.slideSelector),pi.length=0;var ut=g(ar,ni.navigation.
horizontal?"paddingLeft":"paddingTop"),w=g(ar,ni.navigation.
horizontal?"paddingRight":"paddingBottom"),ct=n(gr).css("boxSizing")===
"border-box",lt=gr.css("float")!=="none",ft=0,at=gr.length-1,
b;dr=0,s(gr,function(t,u){a=n(t),o=bt(a),et=ei(o),k=o.size||
ni.navigation.slideSize,c=g(a,ni.navigation.horizontal?"marginLeft":
"marginTop"),l=g(a,ni.navigation.horizontal?"marginRight":"marginBottom"),
y=wh(t,k),d=y+c+l,p=!c||!l,i={},i.element=t,i.options=o,i.type=
et,i.captions=[],ni.deeplinking.linkID&&(i.ID=o.ID&&yt(o.ID)||
u),i.size=p?y:d,i.half=i.size/2,i.start=dr+(p?c:0),i.center=
i.start-Math.round(lr/2-i.size/2),i.end=i.start-lr+i.size,s(
t.querySelectorAll(r+"Caption"),function(t){var o=n(t),e=bt(
o),c=ei(e),u=eu(o),s=o.data(r+"styles"),h;u.length&&(u=pt.call(
u,function(n){return n&&(n.style||n.delay)})),h={element:t,type:
c,options:e,animation:u},s&&br&&ni.autoScale&&o.css(oi(n.extend(
{},s,u[u.length-1]&&u[u.length-1].style||{}),ht,re)),!i.isParallax&&
e.parallaxLevel&&(i.isParallax=1),!i.hasCaptionMediaEnabled&&
(e.cover||e.video||e.source)&&(i.hasCaptionMediaEnabled=1),f.
call(i.captions,h)}),k&&(a[0].style[ni.navigation.horizontal?
"width":"height"]=y+"px"),u||(dr+=ut),dr+=d,ni.navigation.horizontal||
lt||l&&c&&u>0&&(dr-=Math.min(c,l)),u===at&&(i.end+=w,dr+=w,ft=
p?l:0),n.isArray(o.cover)&&(rt=1),ni.deeplinking.linkID&&ni.
deeplinking.scrollTo&&(t.id=ni.deeplinking.linkID+ni.deeplinking.
separator+i.ID),f.call(pi,i),b=i}),ar[0].style[ni.navigation.
horizontal?"width":"height"]=(ct?dr:dr-ut-w)+"px",dr-=ft,v=pi.
length,v?(yi.start=pi[0][sf?"center":"start"],yi.end=sf?b.center:
lr<dr?b.end:yi.start):yi.start=yi.end=0}if(yi.center=Math.round(
yi.end/2+yi.start/2),wo(),lu[0]&&yf>0&&(ni.scrollBar.dynamicHandle?
(hf=yi.start===yi.end?yf:Math.round(yf*lr/dr),hf=h(hf,ni.scrollBar.
minHandleSize,yf),lu[0].style[ni.navigation.horizontal?"width":
"height"]=hf+"px"):hf=lu[ni.navigation.horizontal?"outerWidth":
"outerHeight"](),wr.end=yf-hf,pf||ao()),lr>0){if(u=yi.start,
nt="",vr)for(e=0;e<v;e++)i=pi[e],sf?f.call(yr,i.center):i.start+
i.size>u&&u<=yi.end&&(u=i.start,f.call(yr,u),u+=lr,u>yi.end&&
u<yi.end+lr&&f.call(yr,yi.end));else while(u-lr<yi.end)f.call(
yr,u),u+=lr;if(tt=yr.length,nu[0]&&st!==tt){for(e=0;e<tt;e++)
nt+=ni.pages.pageBuilder.call(ai,e);te=nu.html(nt).children(
),te.eq(wi.activePage).addClass(ni.classes.activeClass)}}return v>
0&&(!ai.initialized||ai.initialized&&oe)&&vo(),wi.slideElementSize=
dr,wi.frameSize=lr,wi.scrollbarSize=yf,wi.handleSize=hf,vr?(
t&&ni.startAt!=null&&(no(ni.startAt),ai[of?"toCenter":"toStart"](
ni.startAt,1)),it=pi[wi.activeSlide],ef(of&&it?it.center:h(yi.
destination,yi.start,yi.end),1)):t?ni.startAt!=null&&ef(ni.startAt,
1):ef(h(yi.destination,yi.start,yi.end),1),(!ai.initialized||
br&&rt||ai.initialized&&oe)&&(es(),br||dh()),ni.autoResize&&
hs(h(wi.activeSlide,wi.firstSlide,wi.lastSlide),1),ai.initialized&&
ss(),bi("load"),ai}function ef(n,t,i){if(vr&&vi.released&&!i)
{var r=po(n),u=n>yi.start&&n<yi.end;of?(u&&(n=pi[r.centerSlide].
center),sf&&ni.navigation.activateMiddle&&no(r.centerSlide)):
u&&(n=pi[r.firstSlide].start)}vi.init&&vi.slideElement&&ni.dragging.
elasticBounds?n>yi.end?n=yi.end+(n-yi.end)/6:n<yi.start&&(n=
yi.start+(n-yi.start)/6):n=h(n,yi.start,yi.end),er.start=v(),
er.time=0,er.from=yi.current,er.to=n,er.delta=n-yi.current,er.
tweesing=vi.tweese||vi.init&&!vi.slideElement,er.immediate=!er.
tweesing&&(t||vi.init&&vi.slideElement||!ni.speed),vi.tweese=
0,n!==yi.destination&&(yi.destination=n,bi("change"),pf||ke(
)),he(),wo(),bo(),ih()}function ke(){if(!pf){pf=ut(ke),vi.released&&
bi("moveStart");return}er.immediate?yi.current=er.to:er.tweesing?
(er.tweeseDelta=er.to-yi.current,Math.abs(er.tweeseDelta)<.1?
yi.current=er.to:yi.current+=er.tweeseDelta*(vi.released?ni.
dragging.swingSpeed:ni.dragging.syncSpeed)):(er.time=Math.min(
v()-er.start,ni.speed),yi.current=er.from+er.delta*ks(er.time/
ni.speed,er.time,0,1,ni.speed)),er.to===yi.current?(yi.current=
er.to,vi.tweese=pf=0):pf=ut(ke),bi("move"),p?ar[0].style[p]=
it+(ni.navigation.horizontal?"translateX":"translateY")+"("+
-yi.current+"px)":ar[0].style[ni.navigation.horizontal?"left":
"top"]=-Math.round(yi.current)+"px",!pf&&vi.released&&(es(),
bi("moveEnd")),ao()}function ao(){lu.length&&(wr.current=yi.
start===yi.end?0:((vi.init&&!vi.slideElement?yi.destination:
yi.current)-yi.start)/(yi.end-yi.start)*wr.end,wr.current=h(
Math.round(wr.current),wr.start,wr.end),pr.hPos!==wr.current&&
(pr.hPos=wr.current,p?lu[0].style[p]=it+(ni.navigation.horizontal?
"translateX":"translateY")+"("+wr.current+"px)":lu[0].style[
ni.navigation.horizontal?"left":"top"]=wr.current+"px"))}function ih(
){te[0]&&pr.page!==wi.activePage&&(pr.page=wi.activePage,te.
removeClass(ni.classes.activeClass).eq(wi.activePage).addClass(
ni.classes.activeClass),bi("activePage",pr.page))}function vo(
){for(var u="",r,i,t=0,e=pi.length;t<e;t++)r=pi[t],i=r.options.
thumbnail||r.options.cover||1,f.call(ye,i),wu[0]&&i&&(u+=ni.
thumbnails.thumbnailBuilder.call(ai,t,i));wu[0]&&(ws=wu.html(
u).children(),ni.thumbnails.thumbnailNav&&(bu?bu.destroy():(
n.extend(!0,ue,{moveBy:ni.moveBy,speed:o(ni.thumbnails.speed)!==
"undefined"?ni.thumbnails.speed:ni.speed,easing:ni.easing,startAt:
ni.startAt,navigation:{horizontal:ni.thumbnails.horizontal,navigationType:
ni.thumbnails.thumbnailNav,slideSize:ni.thumbnails.thumbnailSize,
activateOn:ni.thumbnails.activateOn},scrolling:{scrollBy:ni.
thumbnails.scrollBy},dragging:{mouseDragging:ni.thumbnails.mouseDragging,
touchDragging:ni.thumbnails.touchDragging,swingSpeed:ni.dragging.
swingSpeed,elasticBounds:ni.dragging.elasticBounds}}),bu=new
nt(wu.parent(),ue,{active:function(n,t){t!=wi.activeSlide&&ai.
activate(t)}})),ni.thumbnails.preloadThumbnails?ci(ye).done(
function(){bu.init(),bu.reload()}):(bu.init(),bu.reload())))}
function rh(){var t=nr.width(),n=t/ro.width;re=n,cr.height(ro.
height*n)}function yo(){move.speed&&yi.current!==(move.speed>
0?yi.end:yi.start)||ai.stop(),oo=vi.init?ut(yo):0,move.now=v(
),move.pos=yi.current+(move.now-move.lastTime)/1e3*move.speed,
ef(vi.init?move.pos:Math.round(move.pos)),vi.init||yi.current!==
yi.destination||bi("moveEnd"),move.lastTime=move.now}function de(
n,t,r){if(o(t)==="boolean"&&(r=t,t=i),t===i)ef(yi[n],r);else{
if(of&&n!=="center")return;var u=ai.getPosition(t);u&&ef(u[n],
r,!of)}}function tf(n){return o(n)!=="undefined"?k(n)?n>=0&&
n<pi.length?n:-1:gr.index(n):-1}function ge(n){return tf(k(n)&&
n<0?n+pi.length:n)}function no(n){var t=tf(n),f=wi.activeSlide,
i,u;if(!vr||t<0)return!1;if(pr.active!==t){if(i=pi[t],u=i.captions,
ee=[],pe=null,br||(ai.progressElapsed=0),!ni.cycling.loop&&t>=
pi.length-1&&ai.pause(),gr.eq(wi.activeSlide).removeClass(ni.
classes.activeClass),gr.eq(t).addClass(ni.classes.activeClass),
pi[f]&&pi[f].isParallax&&(nr.off("."+pu),l.off(lo)),i.options.
scrollParallax&&(ee=ni.parallax.scroll&&u||pt.call(u,function(
n){return n.options.parallaxAxises&&n.options.parallaxAxises.
scroll}),pe=i.element,fs()),i.isParallax)if(af.parallaxCaptions=
pt.call(u,function(n){return!!n.options.parallaxLevel}),ft){
if(uu)l.on(lo,function(n){var t=n.originalEvent;if(o(t)!=="undefined"&&
t.beta!==null&&t.gamma!==null){af.source="orientation";switch(
ui){case 0:gi.X=t.gamma,gi.Y=t.beta;break;case 180:gi.X=-t.gamma,
gi.Y=-t.beta;break;case-90:gi.X=-t.beta,gi.Y=t.gamma;break;case
90:gi.X=t.beta,gi.Y=-t.gamma}gi.X=gi.X*8,gi.Y=gi.Y*8,vs()}})}
else nr.on(so,function(n){af.source="mouse";var t=nr[0],i=sr(
n.originalEvent,t),r=t.getBoundingClientRect(),u=r.width/2,f=
r.height/2;nr.off(ho).on(co,function(n){i=sr(n.originalEvent,
t),gi.X=i.x-u,gi.Y=i.y-f,vs()}).one(ho,function(){nr.off(co),
ni.parallax.revert&&(gi.X=0,gi.Y=0,rc())})}).trigger(so);else
af={};if(br||ls(pr.active),pr.active=wi.activeSlide=t,bo(),!br&&
wf&&io(),ie&&clearTimeout(ie),u.length&&!br)ai.one("slideLoaded",
function(n,i){i===t&&(ie=setTimeout(function(){clearTimeout(
ie),cs(t)},f<0?0:ni.speed+20))});else fe=-1;ni.deeplinking.linkID&&
!br&&!gf&&ai.initialized&&uc(t),br||bh(t),ni.autoResize&&hs(
t),we=gr.get(t).querySelectorAll(r+"Scaler"),hr(cr,we),bi("active",
t)}return t}function po(n){var i,s,r,c,t,o;for(n=h(k(n)?n:yi.
destination,yi.start,yi.end),i={},s=sf?0:lr/2,r=0,c=yr.length;
r<c;r++){if(n>=yi.end||r===yr.length-1){i.activePage=yr.length-
1;break}if(n<=yr[r]+s){i.activePage=r;break}}if(vr){var u=!1,
e=!1,f=!1;for(t=0,o=pi.length;t<o;t++)if(u===!1&&n<=pi[t].start+
pi[t].half&&(u=t),f===!1&&n<=pi[t].center+pi[t].half&&(f=t),
t===o-1||n<=pi[t].end+pi[t].half){e=t;break}i.firstSlide=k(u)?
u:0,i.centerSlide=k(f)?f:i.firstSlide,i.lastSlide=k(e)?e:i.centerSlide}
return i}function wo(t){n.extend(wi,po(t))}function bo(){var
n=yi.destination<=yi.start,t=yi.destination>=yi.end,i=n?1:t?
2:3;if(pr.slideElementPosState!==i&&(pr.slideElementPosState=
i,uf.prop("disabled",n).add(rf)[n?"addClass":"removeClass"](
ni.classes.disabledClass),ff.prop("disabled",t).add(du)[t?"addClass":
"removeClass"](ni.classes.disabledClass)),pr.fwdbwdState!==i&&
vi.released&&(pr.fwdbwdState=i,rf.prop("disabled",n),du.prop(
"disabled",t)),vr){var r=wi.activeSlide===0,u=wi.activeSlide>=
pi.length-1,f=r?1:u?2:3;pr.slidesButtonState!==f&&(pr.slidesButtonState=
f,cf[r?"addClass":"removeClass"](ni.classes.disabledClass).prop(
"disabled",r),lf[u?"addClass":"removeClass"](ni.classes.disabledClass).
prop("disabled",u))}}function move(n,t,i){if(n=ge(n),t=ge(t),
n>-1&&t>-1&&n!==t&&(!i||t!==n-1)&&(i||t!==n+1)){gr.eq(n)[i?"insertAfter":
"insertBefore"](pi[t].element);var u=n<t?n:i?t:t-1,f=n>t?n:i?
t+1:t,r=n>t;n===wi.activeSlide?pr.active=wi.activeSlide=i?r?
t+1:t:r?t:t-1:wi.activeSlide>u&&wi.activeSlide<f&&(pr.active=
wi.activeSlide+=r?1:-1),bf()}}function ko(n,t){for(var i=0,r=
gu[n].length;i<r;i++)if(gu[n][i]===t)return i;return-1}function he(
){vi.released&&!ai.isPaused&&ai.resume()}function go(n){return Math.
round(h(n,wr.start,wr.end)/wr.end*(yi.end-yi.start))+yi.start}
function uh(){vi.history[0]=vi.history[1],vi.history[1]=vi.history[
2],vi.history[2]=vi.history[3],vi.history[3]=vi.delta}function ns(
n){vi.released=0,vi.source=n,vi.slideElement=n==="slideElement"}
function ts(i){var r=i.type==="touchstart",f,u;if(!vi.init&&
!wf&&(r||!rs(i.target))&&(f=i.data.source,u=f==="slideElement",
f!=="handle"||ni.scrollBar.dragHandle&&wr.start!==wr.end)&&(
!u||(r?ni.dragging.touchDragging:ni.dragging.mouseDragging&&
i.which<2))){if(ns(f),vi.init=0,vi.$source=n(i.target),vi.touch=
r,vi.pointer=r?i.originalEvent.touches[0]:i,vi.initX=vi.pointer.
pageX,vi.initY=vi.pointer.pageY,vi.initPos=u?yi.current:wr.current,
vi.initPage=wi.activePage,vi.start=v(),vi.time=0,vi.path=0,vi.
delta=0,vi.locked=0,vi.history=[0,0,0,0],vi.pathToLock=u?r?l.
width()/t.outerWidth*10:10:0,sliderFixNeeded)b.on(vi.touch?ri:
wt,ce);else b.on(r?ri:wt,ce);ai.pause(1),sliderFixNeeded&&i.
preventDefault(),(u?ar:lu).addClass(ni.classes.draggedClass),
bi("moveStart"),u&&(eo=setInterval(uh,10))}}function fh(){ae=
!0}function ce(n){if((!sliderFixNeeded||vi.init!=i)&&(vi.released=
n.type==="mouseup"||n.type==="touchend",n.type==="mousemove"&&
n.buttons===0,vi.pointer=vi.touch?n.originalEvent[vi.released?
"changedTouches":"touches"][0]:n,vi.pathX=vi.pointer.pageX-vi.
initX,vi.pathY=vi.pointer.pageY-vi.initY,vi.path=Math.sqrt(Math.
pow(vi.pathX,2)+Math.pow(vi.pathY,2)),vi.delta=ni.navigation.
horizontal?vi.pathX:vi.pathY,vi.released||!(vi.path<1))){if(
!vi.init)if(ni.navigation.horizontal?Math.abs(vi.pathX)>Math.
abs(vi.pathY):Math.abs(vi.pathX)<Math.abs(vi.pathY))vi.init=
1;else if(!sliderFixNeeded)return is();if(rt(n),!vi.locked&&
vi.path>vi.pathToLock&&vi.slideElement){vi.locked=1;vi.$source.
on(a,si)}if(vi.released){if(is(),sliderFixNeeded){if(!ae)return;
ae=!1}ni.dragging.releaseSwing&&vi.slideElement&&(vi.swing=(vi.
delta-vi.history[0])*ni.dragging.swingSync,vi.delta+=vi.swing,
vi.tweese=Math.abs(vi.swing)>10)}ef(vi.slideElement?vi.tweese&&
ni.dragging.onePage?yr[h(vi.delta<0?vi.initPage+1:vi.initPage-
1,0,yr.length-1)]:Math.round(vi.initPos-vi.delta):go(vi.initPos+
vi.delta))}}function is(){clearInterval(eo),vi.released=!0,b.
off(vi.touch?ri:wt,ce),(vi.slideElement?ar:lu).removeClass(ni.
classes.draggedClass),setTimeout(function(){vi.$source.off(a,
si)}),yi.current===yi.destination&&vi.init&&bi("moveEnd"),ai.
resume(1),vi.init=0}function rs(t){return~u.inArray(t.nodeName,
kr)||n(t).is(ni.dragging.interactive)}function us(){ai.stop(
),b.off("mouseup."+e,us)}function kf(n){rt(n);switch(this){case
du[0]:case rf[0]:ai.moveBy(du.is(this)?ni.moveBy:-ni.moveBy);
b.on("mouseup."+e,us);break;case cf[0]:ai.prev();break;case lf[
0]:ai.next();break;case uf[0]:ai.prevPage();break;case ff[0]:
ai.nextPage();break;case df[0]:ai.toggleFullScreen()}}function eh(
n){return(cu.curDelta=(ni.navigation.horizontal?n.deltaY||n.
deltaX:n.deltaY)||-n.wheelDelta,cu.curDelta/=n.deltaMode===1?
3:100,!vr)?cu.curDelta:(ii=v(),cu.last<ii-cu.resetTime&&(cu.
delta=0),cu.last=ii,cu.delta+=cu.curDelta,Math.abs(cu.delta)<
1?cu.finalDelta=0:(cu.finalDelta=Math.round(cu.delta/1),cu.delta%=
1),cu.finalDelta)}function oh(n){n.originalEvent[e]=ai;var t=
v();if(lt+ni.scrolling.hijack>t){lt=t;return}ni.scrolling.scrollBy&&
yi.start!==yi.end&&(rt(n,1),ai.slideBy(ni.scrolling.scrollBy*
eh(n.originalEvent)))}function sh(n){ni.scrollBar.clickBar&&
n.target===ku[0]&&(rt(n),ef(go((ni.navigation.horizontal?n.pageX-
ku.offset().left:n.pageY-ku.offset().top)-hf/2)))}function hh(
n){if(ni.navigation.keyboardNavBy)switch(n.which){case ni.navigation.
horizontal?37:38:rt(n),ai[ni.navigation.keyboardNavBy==="pages"?
"prevPage":"prev"]();break;case ni.navigation.horizontal?39:
40:rt(n),ai[ni.navigation.keyboardNavBy==="pages"?"nextPage":
"next"]()}}function to(){var t=n(this);return t.hasClass(r+"Close")?
io():gh(t.parent()[0]),!1}function ch(){br&&(br=clearTimeout(
br)),bi("beforeResize"),br=setTimeout(function(){ai.reload(),
hr(cr,we),bu&&bu.reload(),ui=o(t.orientation)!=="undefined"?
t.orientation:l.height()>l.width()?0:90,bi("resize"),br=clearTimeout(
br)},100)}function lh(){var n=ru();n?ai.freeze():ai.unFreeze(
)}function fs(){if(ee.length){var r=fu(ai.frame,t),n=r.top,i=
{force3D:!0},u=w.clientHeight*.8;(n>0&&(n=0),-n>=w.clientHeight)||
(s(ee,function(t){i.y=-n*.1,i.opacity=1-Math.min(1,-n/u),TweenMax.
set(t.element,i)}),TweenMax.set(pe,{force3D:!0,y:-n*.4}))}}function ah(
){screenfull.isFullscreen||ai.exitFullScreen()}function vh(n)
{if(rs(this)){n.stopPropagation();return}this.parentNode===ar[
0]&&ai.activate(this)}function yh(){this.parentNode===nu[0]&&
ai.activatePage(te.index(this))}function ph(n){ni.cycling.pauseOnHover&&
ai[n.type==="mouseenter"?"pause":"resume"](2)}function bi(n,
t){if(gu[n]){for(be=gu[n].length,ti.length=0,vf=0;vf<be;vf++)
f.call(ti,gu[n][vf]);for(vf=0;vf<be;vf++)ti[vf].call(ai,n,t)}
}function wh(t,i){var u,r;return i?u=!k(i)&&d.call(i,"%")!==
-1?hu(i.replace("%",""),lr):i:(r=t.getBoundingClientRect(),u=
ni.navigation.horizontal?r.width||r.right-r.left:r.height||r.
bottom-r.top,n("body.responsive-sitewide").length>0&&(u=Math.
ceil(u))),parseInt(u)}function bh(t){var e=tf(t),k=pi[e],o=k.
element,rt=o.hasAttribute(r+"slideloaded"),s,l,v,h,p,w,u,d,c,
g,b,i,nt,f,tt,it;if(bi("beforeSlideLoad",e),rt)return bi("slideLoaded",
e),!1;if(s=n(o),l=function(){var n=au(o),i=n.length,t;if(i<=
0)return o.setAttribute(r+"slideloaded","1"),bi("slideLoaded",
e),!1;t=at(s),ci(n).done(function(){vt(t),o.setAttribute(r+"slideloaded",
"1"),bi("slideLoaded",e)})},k.hasCaptionMediaEnabled){for(v=
pt.call(k.captions,function(n){return n.options.cover||n.options.
video||n.options.source}),h=v.length,p=0,w=v.length;p<w;p++)
if(u=v[p],d=u.element,c=n('<div class="'+r+'LayerContainer"><\/div>'),
g=u.options.cover,b=u.type,i=g||kt(u.options.video)&&u.options.
video,nt=y(i)||li(i)=="video",f=kt(i),c.prependTo(d),f?(tt=at(
s),or(f.oembed,function(n){vt(tt),n&&(i=n[f.inJSON],f.replace&&
(i=i.replace(f.replace.from,f.replace.to)),le({caption:u,cover:
i,slideEl:s,insertEl:c,callback:function(){h--,h<=w&&l()}}))}
)):le({caption:u,cover:i,isVideo:nt,slideEl:s,insertEl:c,callback:
function(){h--,h<=w&&l()}}),b!=="image"&&(it=os(c,b),b!=="link"))
it.on(a,to)}else l()}function kh(n,t){for(var o=[],u,i,e,r=0,
s=pi.length;r<s;r++)u=pi[r],i=u.start,e=i+u.size,(i>=n&&e<=t||
e>=n&&i<=n||i<=t&&e>=t)&&f.call(o,u);return o}function le(t)
{var h,l,a,i,e,v;if(n("> ."+r+"Cover, > ."+r+"LayerCover",t.
insertEl).remove(),!t.cover)return!1;if(y(t.cover)&&t.cover.
poster&&ft&&(t.isVideo=0,t.cover=t.cover.poster),t.isVideo&&
!ft){h=at(t.slideEl),t.slide&&bi("beforeCoverLoad",t.index),
l=[],y(t.cover)?(t.cover.poster&&(t.cover.poster=null),s(t.cover,
function(n,t){f.call(l,{name:"source",type:c[n],src:t})})):(
a=t.cover,i=u.getExtension(a),i=y(i)?null:i.toLowerCase(),l=
[{name:"source",type:c[i],src:a}]),e=n(et("video",{autoplay:
"autoplay",muted:"muted",loop:"loop",controls:!1},l)).addClass(
r+"CoverImage").hide(),v=n('<div class="'+r+'Cover"><\/div>').
append(e),t.insertEl.prepend(v),bi("coverInserted",v[0]);e.one(
"loadedmetadata",function(){var n=e[0];e.show().data({naturalWidth:
n.videoWidth,naturalHeight:n.videoHeight}),ss(t.slide),vt(h),
bi("coverLoaded",t.index)})}else{var h=at(t.slideEl),p=t[t.slide?
"slide":"caption"].options,w=(p.viewport||ni.viewport).toLowerCase(
),o;switch(w){default:case"fill":o="cover";break;case"fit":o=
"contain";break;case"stretch":o="100% 100%";break;case"center":
o="auto"}t.slide&&bi("beforeCoverLoad",t.index),ci(t.cover).
done(function(i){t.slide&&bi("coverLoaded",t.index);var u=n(
'<div class="'+(r+(t.slide?"Cover":"LayerCover"))+'" style="background-image: url(\''+
t.cover+"'); background-size: "+o+';"><\/div>'),f=n("img",u);
vt(h),f.data({naturalWidth:i[0].width,naturalHeight:i[0].height}),
t.insertEl.prepend(u),t.callback&&t.callback.call(this,f),t.
slide&&bi("coverInserted",u[0])})}}function es(){var i,u,f,e;
switch(ni.preloadMode){case"all":i=0,u=dr;break;case"nearby":
i=h(yi.current-lr,yi.start,yi.end),u=h(yi.current+lr*2-5,yi.
start,yi.end+lr*2);break;case"instant":i=h(yi.current+5,yi.start,
yi.end),u=h(yi.current+lr-5,yi.start,yi.end+lr)}f=kh(i,u),e=
function(i,u){var e,u,l,c,v;if(i.type==="content")return!0;var
o=i.element,h=n(o),p=o.hasAttribute(r+"processed"),w=o.getAttribute(
r+"lastcover");if(p&&!br)return!0;if(e=i.options.cover,n.isArray(
e)){for(u=0,l=e.length;u<l;u++)if(c=e[u],c[1]&&t.matchMedia(
c[1]).matches){e=c[0];break}n.isArray(e)&&(e=e[0][0])}var f=
e||kt(i.options.video)&&i.options.video,b=y(f)||li(f)=="video",
s=kt(f),a=y(f)?yt(JSON.stringify(f)):f;if(w===a)return!0;s?(
v=at(h),or(s.oembed,function(n){vt(v),n&&(f=n[s.inJSON],s.replace&&
(f=f.replace(s.replace.from,s.replace.to)),le({cover:f,slide:
i,slideEl:h,insertEl:h,index:tf(o)}))})):le({cover:f,isVideo:
b,slide:i,slideEl:h,insertEl:h,index:tf(o)}),o.setAttribute(
r+"processed","1"),o.setAttribute(r+"lastcover",a)},s(f,e)}function dh(
){for(var u=0,o=pi.length,i,f,t,e;u<o;u++)if((i=pi[u],i.type!==
"content")&&(f=n(i.element),t=i.options.icon||i.type,!n("."+
r+gt(t),f)[0])&&t!=="content"&&t!=="image"&&(e=os(f,t),t!=="link"))
e.on(a,to)}function os(i,f){var h=r+gt(f),e;if(!n("."+h,i).length)
{if(e=n('<a class="'+r+"Icon "+h+'" ondragstart="return false;"><\/a>'),
f==="link"){var c=tf(i),o=pi[c],l=o.options.link.url&&u.absolutizeURI(
o.options.link.url)||t.location.href,a=o.options.link.target||
null,s=n.extend(!0,{href:l,target:a},o.options.link);s.url&&
(s.url=null),e[n.fn.attr?"attr":"prop"](s)}return i.append(e),
e}}function gh(t){var f=tf(t),i,u,e,o;if(wf&&io(),i=n(t),f!==
-1)u=pi[f];else{var s=i.parent(),h=bt(s),u={type:ei(h),options:
h};s.addClass(r+"Media")}i.children().hide(),e=nc({type:u.type,
options:u.options}),o=n('<a class="'+r+"Icon "+r+'Close"><\/a>'),
i.prepend(e).prepend(o);o.on(a,to);f!==-1&&(nr.addClass(r+"Media"),
ls(wi.activeSlide)),ai.pause(3),wf=e}function io(){var t=wf.
parent();wf.remove(),wf=null,n("."+r+"Close",t).off(a).remove(
),t.hasClass(r+"LayerContainer")?t.parent().removeClass(r+"Media"):
nr.removeClass(r+"Media"),t.children().show(),(ni.cycling.loop||
!ni.cycling.loop&&index!==pi.length-1)&&(ai.isPaused=0,he()),
ie||cs(wi.activeSlide)}function nc(t){var d=t.type,i=t.options,
y=i.mp4||i.video||i.source,e,p,v,w;bi("beforeGenerateMedia");
switch(d){case"video":var l=u.getExtension(y),b=i.videoFrame,
a=i.mp4,o=i.webm,h=i.ogv,g=a||o||h||0,k=fr(y);if(l=l?l.toLowerCase(
):null,/^(avi|mov|mpg|mpeg|mp4|webm|ogv|3gp|m4v)$/i.test(l)||
b||a||o||h)if(b||g&&ni.videoFrame)p=b||ni.videoFrame,v=[],a&&
f.call(v,{type:c.mp4,src:u.absolutizeURI(a)}),o&&f.call(v,{type:
c.webm,src:u.absolutizeURI(o)}),h&&f.call(v,{type:c.ogv,src:
u.absolutizeURI(h)}),v.length>0&&(p+=(u.parseURL(p,"QUERY")?
"&":"?")+r.toLowerCase()+"videos="+yt(JSON.stringify(v)),i.cover&&
(p+="&"+r.toLowerCase()+"cover="+yt(u.absolutizeURI(i.cover)))),
e=n(et("iframe",{src:p,scrolling:"no"}));else if(dt(c[l])||a&&
dt(c.mp4)||o&&dt(c.webm)||h&&dt(c.ogv))w=[{name:"source",type:
a&&c.mp4||c[l],src:y}],o&&f.call(w,{name:"source",type:c.webm,
src:o}),h&&f.call(w,{name:"source",type:c.ogv,src:h}),i.HTML5Video&&
s(i.HTML5Video,function(t,i){f.call(w,n.extend({},{name:t},i))}
),e=n(et("video",{},w));else throw"Video not supported!";else
if(k)e=n(et(k.type,{src:k.source,scrolling:"no"}));else throw"Video not supported!";
break;case"iframe":e=n(et("iframe",{src:y}));break;case"flash":
e=n(et("embed",{src:y,flashvars:i.flashvars||null}))}return bi(
"mediaGenerated",e[0]),e}function ss(t){for(var b=t?[t]:pi,t,
c,l,a,u,s,e,f,i,p,w,v,h=0,k=b.length;h<k;h++)(t=b[h],t.options.
cover&&t.type!=="content"&&(y(t.options.cover)||o(t.options.
cover)=="string"&&li(t.options.cover)=="video"))&&(c=n(t.element),
l=c.find("."+r+"CoverImage"),l[0])&&(a=(t.options.viewport||
ni.viewport).toLowerCase(),u=l.data(),s=c.width(),e=c.height(
),f=s,i=e,p=0,w=0,a==="fit"?(v=hi(f,i,u.naturalWidth,u.naturalHeight),
f=v.width,i=v.height):a==="fill"?(i=f/u.naturalWidth*u.naturalHeight,
i<e&&(f=e/u.naturalHeight*u.naturalWidth,i=e)):a==="center"&&
(v=hi(f,i,u.naturalWidth,u.naturalHeight,1),f=u.naturalWidth,
i=u.naturalHeight),w=(e>i?e-i:-(i-e))/2,p=(s>f?s-f:-(f-s))/2,
l.css({width:f,height:i,marginTop:w,marginLeft:p}))}function hs(
t){var r=tf(t),u=n(pi[r].element)[ni.navigation.horizontal?"outerHeight":
"outerWidth"](),i={};i[ni.navigation.horizontal?"height":"width"]=
u,cr.msStop().msAnimate(i,ni.speed,ni.easing)}function tc(){
ni.commands.thumbnails&&!wu[0]&&(wu=n("<ul><\/ul>"),nr.append(
n('<div class="'+r+'Thumbnails"><\/div>').html(wu))),ni.commands.
pages&&!nu[0]&&(nu=n('<ul class="'+r+'Pages"><\/ul>'),nr.append(
nu)),ni.commands.buttons&&vr&&!ff[0]&&(ff=n('<a class="'+r+"Buttons "+
r+'Next"><\/a>'),nr.prepend(ff)),ni.commands.buttons&&vr&&!uf[
0]&&(uf=n('<a class="'+r+"Buttons "+r+'Prev"><\/a>'),nr.prepend(
uf)),!ni.commands.buttons||vr||du[0]||(du=n('<a class="'+r+"Buttons "+
r+'Next"><\/a>'),nr.prepend(du)),!ni.commands.buttons||vr||rf[
0]||(rf=n('<a class="'+r+"Buttons "+r+'Prev"><\/a>'),nr.prepend(
rf))}function cs(i){var f,o,e;if(typeof TimelineMax=="undefined")
{console&&console.warn('Animated layers needs TimelineMax function. Please include the "tweenlite.js" into your page.');
return}var u=tf(i),i=pi[u],h=i.captions;if(u!==fe){if(yu[u])
for(f=0,o=yu[u].length;f<o;f++)e=yu[u][f],!ai.isFreezed&&e&&
e.play(0);else yu[u]=[],s(h,function(i,f){var o=n(i.element),
h=o.data(r+"styles"),a=i.options,l={position:"absolute"},e,c;
h||(h=ou(o),o.data(r+"styles",h)),ni.autoScale&&(l=n.extend(
{},l,oi(h,ht,re))),o.show().css(l),i.animation.length&&(yu[u][
f]?e=yu[u]:(e=new TimelineMax({paused:!0,onComplete:function(
){a.loop&&this.seek(ic(i))}}),s(i.animation,function(r){var o=
r.speed?r.speed/1e3:0,l=r.delay?r.delay/1e3:0,a=t.GreenSockGlobals.
com.greensock.easing.Ease.map[r.easing||"swing"],s=r.mode||"to",
v=r.position,h=r.style||{},y=h.scrambleText,u=r.staggerText&&
n.extend({type:"chars",delay:.01},r.staggerText)||null,f=!y?
{delay:l,ease:a,force3D:!0}:{delay:l,ease:a};n.extend(f,h,oi(
h,ht,re)),u?(c||(c=new SplitText(i.element,{type:"chars, words, lines",
charsClass:"mSChars",wordsClass:"mSWords",linesClass:"mSLines"})),
v?e["stagger"+gt(s)](c[u.type],o,f,u.delay,v):e["stagger"+gt(
s)](c[u.type],o,f,u.delay)):e[s](i.element,o,f)}),yu[u][f]=e),
ai.isFreezed||e.play())});fe=u}}function ls(n){var t=tf(n);if(
t===fe&&pi[t]&&pi[t].captions.length)ai.one("moveEnd",function(
){wi.activeSlide!==t&&s(yu[t],function(n){n&&n.pause(0,!0)})}
)}function ic(n){var e=n.options,u=e.startAtOnRepeat||0,t,o,
f,r,i,s;if(k(u))for(r=0,i=0,s=n.animation.length;i<s;i++){if(
t=n.animation[i],o=t.speed?t.speed/1e3:0,f=t.delay?t.delay/1e3:
0,i===u)return e.dontDelayOnRepeat&&(r+=f),r;r+=o+f}else return vu(
u)}function as(){var o,s,h;if(!af.parallaxCaptions){this.kill(
);return}var n=ni.parallax,c=af.parallaxCaptions.length,r=gi.
X,u=gi.Y,f,t,i,e;for(o=0;o<c;o++)t=it,f=af.parallaxCaptions[
o],i=f.options.parallaxLevel,e=f.options.parallaxAxises||n,e.
x&&(t+="translateX("+(n.invertX?-r:r)/100*i+"px) "),e.y&&(t+=
"translateY("+(n.invertY?-u:u)/100*i+"px) "),e.z&&it&&(s=(n.
invertZ?-r:r)/100*i,h=(n.invertZ?-u:u)/100*i,t+="rotateX("+-h/
1.5+"deg) rotateY("+s/3+"deg)"),f.element.style[p]=t}function vs(
){var n=ni.parallax,t={X:gi.X,Y:gi.Y,useFrames:!1,ease:n.frictionEasing,
onUpdate:as};gi.X=0,gi.Y=0,fo=ur.to(gi,n.frictionDuration&&n.
frictionDuration/1e3||0,t)}function rc(){var t=ni.parallax,n=
ni.parallax.revertDuration,i=af.parallaxCaptions,u=i.length,
r={X:gi.X,Y:gi.Y,useFrames:!1,ease:t.revertEasing,onUpdate:as};
fo=ur.to(gi,n&&n/1e3||0,r)}function uc(n){var i=pi[n];gf=1,t.
location.hash=ni.deeplinking.linkID+ni.deeplinking.separator+
i.ID,gf=0}function fc(n){for(var i=0,t=0,r=pi.length;t<r;t++)
n==pi[t].ID&&(i=t);return i}function ys(n){var r=t.location.
hash.replace("#",""),u=r.split(ni.deeplinking.separator),i;!gf&&
ni.deeplinking.linkID&&(n&&(gf=1),u[0]===ni.deeplinking.linkID?
(i=fc(u[1]),ai.initialized?ai.activate(i):(ni.startRandom=0,
ni.startAt=i)):n&&r.length===0&&ai.activate(ni.startAt),n&&(
gf=0))}var ai=this,ni=n.extend(!0,{},nt.defaults,tt),ae=!1,cr=
n(w),nr=n(w).parent(),ar=cr.children().eq(0),ve=bt(cr),ro=ni.
autoScale&&(ve.height&&{width:ve.width,height:ve.height}||{width:
nr.width(),height:nr.height()})||null,lr=0,re=1,dr=0,yi={current:
0,start:0,center:0,end:0,destination:0},gr=0,pi=[],wi={activeSlide:
-1,firstSlide:0,centerSlide:0,lastSlide:0,activePage:0},ps=ni.
navigation.navigationType==="basic",sf=ni.navigation.navigationType===
"forceCentered",of=ni.navigation.navigationType==="centered"||
sf,vr=ps||of||sf,ku=n(ni.scrollBar.scrollBarSource).eq(0),lu=
ku.children().eq(0),yf=0,hf=0,wr={start:0,end:0,current:0},nu=
ni.pages.pagesBar&&n(ni.pages.pagesBar)||{},te=0,yr=[],wu=ni.
thumbnails.thumbnailsBar&&n(ni.thumbnails.thumbnailsBar)||{},
ws=0,ye=[],bu=null,ue={},uo=ni.scrolling.scrollSource&&n(ni.
scrolling.scrollSource)||cr,bs=ni.dragging.dragSource&&n(ni.
dragging.dragSource)||cr,vi={released:1},du=n(ni.buttons.forward),
rf=n(ni.buttons.backward),cf=n(ni.buttons.prev),lf=n(ni.buttons.
next),uf=n(ni.buttons.prevPage),ff=n(ni.buttons.nextPage),df=
n(ni.buttons.fullScreen),af={},gi={},ie=0,yu=[],fe=-1,ee=[],
pe=null,fo,we=[],oe=0,gf=0,gu={},pr={},er={},move={},cu={last:
0,delta:0,resetTime:200},pf=0,eo=0,nf=0,se=0,oo=0,br=0,ne=0,
wf=null,pu=u.uniqID(e),ks=n.easing[ni.easing]||n.easing.swing,
vf,be,ds="resize."+pu+" orientationchange."+pu,gs="hashchange."+
pu,nh="keydown."+pu,so="mouseenter."+pu,ho="mouseleave."+pu,
co="mousemove."+pu,lo="deviceorientation."+pu,th=iu+"."+pu;ai.
initialized=0,ai.options=ni,ai.frame=cr[0],ai.slideElement=ar[
0],ai.slides=pi,ai.position=yi,ai.relative=wi,ai.pages=yr,ai.
thumbnails=ye,ai.handlePosition=wr,ai.isFullScreen=0,ai.isPaused=
0,ai.isFreezed=0,ai.progressElapsed=0,ai.uniqId=pu,ai.reload=
bf,ai.getPosition=function(n){var u,t,i,r;return vr?(u=tf(n),
u!==-1?pi[u]:!1):(t=ar.find(n).eq(0),t[0]?(i=ni.navigation.horizontal?
t.offset().left-ar.offset().left:t.offset().top-ar.offset().
top,r=t[ni.navigation.horizontal?"outerWidth":"outerHeight"](
),{start:i,center:i-lr/2+r/2,end:i-lr+r,size:r}):!1)},ai.moveBy=
function(n){(move.speed=n,!vi.init&&move.speed&&yi.current!==
(move.speed>0?yi.end:yi.start))&&(move.lastTime=v(),move.startPos=
yi.current,ns("button"),vi.init=1,bi("moveStart"),ct(oo),yo(
))},ai.stop=function(){return vi.source==="button"&&(vi.init=
0,vi.released=1),ai},ai.prev=function(n){return ai.activate(
wi.activeSlide-1,n),ai},ai.next=function(n){return ai.activate(
wi.activeSlide+1,n),ai},ai.prevPage=function(n){return ai.activatePage(
wi.activePage-1,n),ai},ai.nextPage=function(n){return ai.activatePage(
wi.activePage+1,n),ai},ai.slideBy=function(n,t){n&&(vr?ai[of?
"toCenter":"toStart"](h((of?wi.centerSlide:wi.firstSlide)+ni.
scrolling.scrollBy*n,0,pi.length)):ef(yi.destination+n,t))},
ai.slideTo=function(n,t){return ef(n,t),ai},ai.toStart=function(
n,t){return de("start",n,t),ai},ai.toEnd=function(n,t){return de(
"end",n,t),ai},ai.toCenter=function(n,t){return de("center",
n,t),ai},ai.getIndex=tf,ai.activate=function(n,t){var i=no(n);
return ni.navigation.smart&&i!==!1&&(of?ai.toCenter(i,t):i>=
wi.lastSlide?ai.toStart(i,t):i<=wi.firstSlide?ai.toEnd(i,t):
he()),ai},ai.activatePage=function(n,t){return k(n)&&(br||(ai.
progressElapsed=0),!ni.cycling.loop&&n>=yr.length-1&&ai.pause(
),ef(yr[h(n,0,yr.length-1)],t)),ai},ai.resume=function(n){if(
!ni.cycling.cycleBy||!ni.cycling.pauseTime||ni.cycling.cycleBy===
"slides"&&!pi[0]||n<ai.isPaused)return ai;ai.isPaused=0,nf?nf=
ct(nf):bi("resume");var r=pi[wi.activeSlide]&&pi[wi.activeSlide].
options.pauseTime||ni.cycling.pauseTime,u=function(){switch(
ni.cycling.cycleBy){case"slides":ai.activate(wi.activeSlide>=
pi.length-1?0:wi.activeSlide+1);break;case"pages":ai.activatePage(
wi.activePage>=yr.length-1?0:wi.activePage+1)}},t,i=function(
){t=v(),ai.progressElapsed+=t-(se||v()),se=t,bi("progress",ai.
progressElapsed/r),ai.progressElapsed>=r?(u(),i=null):nf=ut(
i)};return nf=ut(i),ai},ai.pause=function(n){return n<ai.isPaused?
ai:(ai.isPaused=n||100,nf&&(nf=ct(nf),se=0,bi("pause")),ai)}
,ai.toggleCycling=function(){return ai[nf?"pause":"resume"](
),ai},ai.enterFullScreen=function(){return ai.isFullScreen||
(nr.addClass(ni.classes.isInFullScreen),screenfull.enabled?screenfull.
request(nr[0]):l.triggerHandler("resize"),ai.isFullScreen=1,
bi("enterFullScreen")),ai},ai.exitFullScreen=function(){return ai.
isFullScreen&&(nr.removeClass(ni.classes.isInFullScreen),screenfull.
enabled?screenfull.exit(nr[0]):l.triggerHandler("resize"),ai.
isFullScreen=0,bi("exitFullScreen")),ai},ai.toggleFullScreen=
function(){return ai[ai.isFullScreen?"exitFullScreen":"enterFullScreen"](
),ai},ai.set=function(t,i){return y(t)?n.extend(!0,ni,t):di.
call(ni,t)&&(ni[t]=i),bu&&(n.extend(!0,ue,{moveBy:ni.moveBy,
speed:o(ni.thumbnails.speed)!=="undefined"?ni.thumbnails.speed:
ni.speed,easing:ni.easing,startAt:ni.startAt,navigation:{horizontal:
ni.thumbnails.horizontal,navigationType:ni.thumbnails.thumbnailNav,
slideSize:ni.thumbnails.thumbnailSize,activateOn:ni.thumbnails.
activateOn},scrolling:{scrollBy:ni.thumbnails.scrollBy},dragging:
{mouseDragging:ni.thumbnails.mouseDragging,touchDragging:ni.
thumbnails.touchDragging,swingSpeed:ni.dragging.swingSpeed,elasticBounds:
ni.dragging.elasticBounds}}),bu.set(ue)),bf(),ai},ai.add=function(
t,i){var u=n(t);return vr?(o(i)==="undefined"||!pi[0]||i>=pi.
length?u.appendTo(ar):pi.length&&u.insertBefore(pi[i].element),
u.addClass(r+"Slide"),i<=wi.activeSlide&&(pr.active=wi.activeSlide+=
u.length)):ar.append(u),oe=1,bf(),oe=0,ai},ai.remove=function(
t){var i,r;return vr?(i=ge(t),i>-1&&(gr.eq(i).remove(),r=i===
wi.activeSlide&&!(sf&&ni.navigation.activateMiddle),(i<wi.activeSlide||
wi.activeSlide>=pi.length-1)&&(pr.active=--wi.activeSlide),bf(
),r&&ai.activate(wi.activeSlide))):(n(t).remove(),bf()),ai},
ai.moveAfter=function(n,t){return move(n,t,1),ai},ai.moveBefore=
function(n,t){return move(n,t),ai},ai.one=function(n,t){function i(
){t.apply(ai,arguments),ai.off(n,i)}ai.on(n,i);return ai},ai.
on=function(n,t){var u,r,i,s,e,h;if(o(n)==="object"){for(u in
n)if(di.call(n,u))ai.on(u,n[u])}else if(o(t)==="function")for(
r=n.split(" "),i=0,s=r.length;i<s;i++)gu[r[i]]=gu[r[i]]||[],
ko(r[i],t)===-1&&f.call(gu[r[i]],t);else if(o(t)==="array")for(
e=0,h=t.length;e<h;e++)ai.on(n,t[e]);return ai},ai.off=function(
n,t){var u,e,r,i,s,f;if(t instanceof Array)for(u=0,e=t.length;
u<e;u++)ai.off(n,t[u]);else for(r=n.split(" "),i=0,s=r.length;
i<s;i++)gu[r[i]]=gu[r[i]]||[],o(t)==="undefined"?gu[r[i]].length=
0:(f=ko(r[i],t),f!==-1&&ki.call(gu[r[i]],f,1));return ai},ai.
freeze=function(){if(ne===0){var n=wi.activeSlide;nr.addClass(
ni.classes.isInFreeze),nf&&(nf=ct(nf),se=0),vr&&yu[n]&&yu[n].
length&&s(yu[n],function(n){n&&n.pause()}),ai.isFreezed=1}ne>=
0&&ne++},ai.unFreeze=function(){if(ne>0&&ne--,ne<=0){var n=wi.
activeSlide;nr.removeClass(ni.classes.isInFreeze),(ni.cycling.
loop||!ni.cycling.loop&&n!==pi.length-1)&&he(),vr&&yu[n]&&yu[
n].length&&s(yu[n],function(n){n&&n.resume()}),ai.isFreezed=
0}},ai.destroy=function(){var i=uo.add(lu).add(ku).add(nu).add(
du).add(rf).add(cf).add(lf).add(uf).add(ff).add(df).add(n("."+
r+"Icon",cr)),t;return i.off("."+e),b.add(l).off("."+pu),cf.
add(lf).add(uf).add(ff).removeClass(ni.classes.disabledClass),
gr[0]&&(gr.removeAttr("style").removeClass(r+"Slide").eq(wi.
activeSlide).removeClass(ni.classes.activeClass),n("."+r+"Cover, ."+
r+"Icon",gr).remove()),nu[0]&&nu.empty(),wu[0]&&wu.empty(),t=
[],!ni.buttons.forward&&du[0]&&f.call(t,du[0]),!ni.buttons.backward&&
rf[0]&&f.call(t,rf[0]),!ni.buttons.prev&&cf[0]&&f.call(t,cf[
0]),!ni.buttons.next&&lf[0]&&f.call(t,lf[0]),!ni.buttons.prevPage&&
uf[0]&&f.call(t,uf[0]),!ni.buttons.nextPage&&ff[0]&&f.call(t,
ff[0]),!ni.buttons.fullScreen&&df[0]&&f.call(t,df[0]),!ni.pages.
pagesBar&&nu[0]?f.call(t,nu[0]):nu[0]&&nu.empty(),!ni.thumbnails.
thumbnailsBar&&wu[0]?f.call(t,wu[0]):wu[0]&&wu.empty(),n(t).
remove(),cr.off("."+e),nr.removeClass(ni.navigation.horizontal?
ni.classes.horizontalClass:ni.classes.verticalClass).removeClass(
e),ar.add(lu).css(p||(ni.navigation.horizontal?"left":"top")
,p?"none":0).removeClass(r+"SlideElement "+r+"ScrollbarHandle"),
n.removeData(w,e),cr.add(ku).removeClass(r+"Frame "+r+"MouseDraggable "+
r+"TouchDraggable "+r+"Scrollbar"),pi.length=yr.length=0,pr=
{},ai.initialized=0,bi("destroy"),fi.remove(w),s(st,function(
n,t){n.uniqId===ai.uniqId&&ki.call(st,t,1)}),ai},ai.init=function(
){if(!ai.initialized){vo();ai.on(ot);var n=ar.add(lu);if(cr.
css("overflow","hidden").addClass(r+"Frame"),p||cr.css("position")!==
"static"||cr.css("position","relative"),p?it&&n.css(p,it):(ku.
css("position")==="static"&&ku.css("position","relative"),n.
css({position:"absolute"})),ni.dragging.mouseDragging&&!ft&&
cr.addClass(r+"MouseDraggable"),ni.dragging.touchDragging&&ft&&
cr.addClass(r+"TouchDraggable"),ar.addClass(r+"SlideElement"),
ku.addClass(r+"Scrollbar"),lu.addClass(r+"ScrollbarHandle"),
tc(),bf(!0),bu)ai.on("active",function(n,t){bu.activate(t)});
if(ni.deeplinking.linkID&&ys(),gr.addClass(r+"Slide"),ni.startAt=
ni.startRandom?Math.floor(Math.random()*pi.length):ni.startAt,
ai.activate(ni.startAt,1),du[0])du.on(tr,kf);if(rf[0])rf.on(
tr,kf);if(cf[0])cf.on(a,kf);if(lf[0])lf.on(a,kf);if(uf[0])uf.
on(a,kf);if(ff[0])ff.on(a,kf);if(df[0])df.on(a,kf);uo.on(ir,
oh);if(ku[0])ku.on(a,sh);if(vr&&ni.navigation.activateOn)cr.
on(ni.navigation.activateOn+"."+e,"*",vh);if(nu[0]&&ni.pages.
activateOn)nu.on(ni.pages.activateOn+"."+e,"*",yh);bs.on(rr,
{source:"slideElement"},ts);if(sliderFixNeeded){b.on("mouseup",
ce);cr.on("mousedown touchstart",fh)}if(lu[0])lu.on(rr,{source:
"handle"},ts);b.on(nh,hh).on(th,lh);if(ni.parallax.scroll&&!isMobile.
any)b.on("scroll."+pu,fs);l.on(ds,ch).on(gs,ys);if(screenfull.
enabled)l.on(screenfull.raw.fullscreenchange+"."+pu,ah);cr.on(
tu,ph);cr.on("scroll."+e,su);return nr.addClass(ni.navigation.
horizontal?ni.classes.horizontalClass:ni.classes.verticalClass).
addClass(ft?ni.classes.isTouchClass:"").addClass(e),ni.cycling.
cycleBy&&ai[ni.cycling.startPaused?"pause":"resume"](),ai.initialized=
1,bi("initialize"),f.call(st,ai),fi.add(w),ai}}}function ei(
n){var t="content",r=n.cover,i=n.source,u=n.mp4||n.webm||n.ogv||
n.video;return n.type?n.type:fr(i)?"video":(r&&(t="image"),i&&
(t="iframe"),u&&(t="video"),n.link&&(t="link"),t)}function bt(
n){var t=n.data(e.toLowerCase());return t&&eval("({"+t+"})")||
{}}function eu(n){var t=n.data(r.toLowerCase()+"animation");
return t?y(t)?[t]:eval("(["+t+"])"):{}}function ou(n){for(var
u={},i,r,t=0,f=ht.length;t<f;t++)i=ht[t],r=g(n,i),r&&(u[i]=r);
return u}function oi(n,t,i){var r={};return s(n,function(n,u)
{if(d.call(t,n)===-1)return!0;var f=u*i;r[n]=f}),r}function rt(
n,t){n.preventDefault(),t&&n.stopPropagation()}function si(t)
{rt(t,1),n(this).off(t.type,si)}function su(){this.scrollLeft=
0,this.scrollTop=0}function k(n){return(o(n)==="number"||o(n)===
"string")&&n!==""&&!isNaN(n)}function g(n,t){return parseInt(
n.css(t),10)||0}function h(n,t,i){return n<t?t:n>i?i:n}function hu(
n,t){return parseInt(t/100*n)}function at(t){var i=n('<div class="'+
r+"Icon "+r+'Loader"><\/div>'),e=n("."+r+"Loader",t),u,f;return e[
0]?i=e:t.prepend(i),u=i[0].getAttribute(r+"instances"),f=u&&
parseInt(u)||0,f++,i[0].setAttribute(r+"instances",f),i}function vt(
n){var i=n[0].getAttribute(r+"instances"),t=i&&parseInt(i)||
1;return t--,n[0].setAttribute(r+"instances",t),t<=0?n.remove(
):void 0}function hi(n,t,i,r,u){return u||(u=n?t?Math.min(n/
i,t/r):n/i:t/r),{width:Math.round(i*u),height:Math.round(r*u),
ratio:u}}function fr(n){for(var r=null,t,f,i=0,u=gi.length;i<
u;i++)if(t=gi[i],t.reg.test(n)){f=n.split(t.split),r={source:
t.url.replace(/\{id\}/g,f[t.index]),type:t.iframe&&"iframe"||
"flash"};break}return r}function kt(t){for(var f=null,r,i=0,
e=nr.length;i<e;i++)if(r=nr[i],r.reg.test(t)){f=n.extend(!0,
{},r,{}),f.oembed=u.absolutizeURI(r.oembed.replace(/\{URL\}/g,
t),t);break}return f}function et(t,i,r){var u;i=i||{},r=r||{
};switch(t){case"video":u=document.createElement("video"),i=
n.extend(!0,dr,i);break;case"iframe":u=document.createElement(
"iframe"),i=n.extend(!0,gr,i);break;case"flash":u=document.createElement(
"embed"),i=n.extend(!0,nu,i);break;default:u=document.createElement(
t)}return er(u,i),s(r,function(n){if(!n.name)return!0;var t=
document.createElement(n.name);n.name=null,er(t,n),u.appendChild(
t)}),u}function er(n,t){s(t,function(t,i){if(!k(i)&&!i)return!0;
cu(n,t,i)})}function cu(n,t,i){var r=y(i)?function(){var n="",
t=0;return s(i,function(i,r){t!==0&&(n+="&"),n+=i+"="+yt(r),
t++}),n}():i;n.setAttribute(t,r)}function ci(n){function e()
{u++,u===n.length&&r(i)}function f(){e()}var i=[],u=0,r=function(
){},t;for(n=wi(n)?n:[n],t=0;t<n.length;t++)i[t]=new Image,i[
t].onload=f,i[t].onerror=f,i[t].src=n[t];return{done:function(
n){r=n||r}}}function lu(n){return n=n.replace(/url\(\"/g,""),
n=n.replace(/url\(/g,""),n=n.replace(/\"\)/g,""),n.replace(/\)/g,
"")}function au(t){var i="",h=n("*:not(script, style, ."+r+"Cover, ."+
r+"CoverImage, ."+r+"LayerCover, ."+r+"LayerCoverImage, ."+r+
"Loader)",t),o=[],e,u,c=function(t){if(e=n(t),t.nodeName.toLowerCase(
)==="img"&&t.hasAttribute("src")?i=e.prop("src"):e.css("background-image")!==
"none"&&(i=e.css("background-image")),d.call(i,"gradient")===
-1){i=lu(i),u=i.split(", ");for(var r=0,s=u.length;r<s;r++)u[
r].length>0&&!u[r].match(/^(data:)/i)&&d.call(o,u[r])===-1&&
f.call(o,u[r])}};return s(h,c),o}function dt(n){var t=document.
createElement("video");return!!(t.canPlayType&&t.canPlayType(
n).replace(/no/,""))}function or(t,i){var f=document.documentMode||
u.browser.version,r=u.browser.msie&&f<10,e={url:t},o=n.ajax(
{url:br,data:e,dataType:r?"jsonp":"json",cache:!r});o.success(
function(n){n.status===200?i(n.data):i(!1)}).error(function(
){i(!1)}),r&&(mightySliderCallback=function(n){n.status===200?
i(n.data):i(!1)})}function yt(n){return n=(n+"").toString(),
encodeURIComponent(n).replace(/!/g,"%21").replace(/'/g,"%27").
replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}
function gt(n){n+="";var t=n.charAt(0).toUpperCase();return t+
n.substr(1)}function li(n){var t=u.getExtension(n);return t?
(t=t.toLowerCase(),d.call(ni.image,t)!==-1?"image":d.call(ni.
flash,t)!==-1?"flash":d.call(ni.video,t)!==-1?"video":"iframe"):
!1}function sr(n,i){var r=n||t.event||{clientX:0,clientY:0},
f=i||r.target||r.srcElement,e=parseInt(i.style.borderLeftWidth,
10)||0,o=parseInt(i.style.borderLeftWidth,10)||0,u=f.getBoundingClientRect(
),s=r.clientX-e-u.left,h=r.clientY-o-u.top;return{x:s,y:h}}function vu(
n){for(var t=n.split(":"),i=0,r=1;t.length>0;)i+=r*parseFloat(
t.pop(),10),r*=60;return i}function hr(t,i){if(typeof TweenMax==
"undefined"||i.length<1){i.length>0&&console&&console.warn('Scalers needs TweenMax function. Please include the "tweenlite.js" into your page.');
return}var r={width:g(t,"width"),height:g(t,"height")};s(i,function(
t){var i=n(t),u={width:t.getAttribute("width")||g(i,"width"),
height:t.getAttribute("height")||g(i,"height")},f=hi(r.width,
r.height,u.width,u.height);TweenMax.set(t,{scale:f.ratio})})}
function yu(n,t,i){var r=0,f=0,u=0,s={dev:-6,alpha:-5,a:-5,beta:
-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},e=function(n){return n=
(""+n).replace(/[_\-+]/g,"."),n=n.replace(/([^.\d]+)/g,".$1.").
replace(/\.{2,}/g,"."),n.length?n.split("."):[-8]},o=function(
n){return n?isNaN(n)?s[n]||-7:parseInt(n,10):0};for(n=e(n),t=
e(t),f=Math.max(n.length,t.length),r=0;r<f;r++)if(n[r]!==t[r])
if(n[r]=o(n[r]),t[r]=o(t[r]),n[r]<t[r]){u=-1;break}else if(n[
r]>t[r]){u=1;break}if(!i)return u;switch(i){case">":return u>
0;case">=":return u>=0;case"<=":return u<=0;case"==":return u===
0;case"!=":return u!==0;case"<":return u<0;default:return null}
}var ot=Array.prototype,pi=Object.prototype,yr=String.prototype,
u,lt,fi;
/*!
    * mightySlider Components 1.0.0 - 22nd May 2015
    * http://iprodev.com/
    *
    * Licensed under the MIT license.
    * http://opensource.org/licenses/MIT
    */
u={};var wi=Array.isArray||function(n){return o(n)==="array"}
,pr=function(n,t){var r,f,u,i;if(this==null)throw new TypeError(
'"this" is null or not defined');if((f=Object(this),u=f.length>>>
0,u===0)||(i=+t||0,Math.abs(i)===Infinity&&(i=0),i>=u))return-1;
for(r=Math.max(i>=0?i:u-Math.abs(i),0);r<u;){if(r in f&&f[r]===
n)return r;r++}return-1},f=ot.push,d=function(n,t){if(this==
null)throw new TypeError('"this" is null or not defined');return wi(
this)?(ot.indexOf||pr).call(this,n,t):yr.indexOf.call(this,n,
t)},bi=ot.slice,ki=ot.splice,pt=ot.filter,wr=pi.toString,di=
pi.hasOwnProperty;(function(){function n(n){var t,i;return!!(n&&
typeof n=="object"&&typeof n.window=="object"&&n.window==n&&
n.setTimeout&&n.alert&&(t=n.document)&&typeof t=="object"&&(i=
t.defaultView||t.parentWindow)&&typeof i=="object"&&i==n)}function s(
n,t,i){return t==null?-1:d.call(t,n,i)}function r(n,t){var i=
n.replace(/^.*[\/\\]/g,"");return o(t)==="string"&&i.substr(
i.length-t.length)===t&&(i=i.substr(0,i.length-t.length)),i}
function e(n,t){for(var e,o=["source","scheme","authority","userInfo",
"user","pass","host","port","relative","path","directory","file",
"query","fragment"],s="php",u={php:/^(?:([^:\/?#]+):)?(?:\/\/()(?:(?:()(?:([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?()(?:(()(?:(?:[^?#\/]*\/)*)()(?:[^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,
strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,
loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/\/?)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/},
h=u[s].exec(n),i={},r=14,f;r--;)h[r]&&(i[o[r]]=h[r]);return t?
i[t.replace("URL_","").toLowerCase()]:(s!=="php"&&(f="queryKey",
u=/(?:^|&)([^&=]*)=?([^&]*)/g,i[f]={},e=i[o[12]]||"",e.replace(
u,function(n,t,r){t&&(i[f][t]=r)})),i.source=null,i)}u.isWindow=
n,u.inArray=s,function(){function i(n,t){for(var i in t)n[i]=
t[i];return n}u.position=function(r,u){var a=n(r),h=a?r.document:
r.ownerDocument||r,e=h.documentElement,o=n(u)?u:h.defaultView||
t,s;r===h&&(r=e),u=!u||u===h?e:u;var c=(o.pageYOffset||e.scrollTop)
-e.clientTop,l=(o.pageXOffset||e.scrollLeft)-e.clientLeft,f=
{top:0,left:0};if(a)f.width=f.right=o.innerWidth||e.clientWidth,
f.height=f.bottom=o.innerHeight||e.clientHeight;else if(r===
e)f.top=-c,f.left=-l,f.width=Math.max(e.clientWidth,e.scrollWidth),
f.height=Math.max(e.clientHeight,e.scrollHeight),f.right=f.width-
l,f.bottom=f.height-c;else if(e.contains(r)&&r.getBoundingClientRect)
f=i({},r.getBoundingClientRect()),f.width=f.right-f.left,f.height=
f.bottom-f.top;else return null;return u===o?f:(f.top+=c,f.left+=
l,f.right+=l,f.bottom+=c,u===e)?f:(s=position(u),f.left-=s.left,
f.right-=s.left,f.top-=s.top,f.bottom-=s.top,f)}}(),function(
){function t(n,t,i){for(var r=0,u=n.length;r<u;++r)t.call(i,
n.charAt(r),r)}function i(n,t,i,r){for(var u=0,f=t.length;u<
f;++u)i.call(r,t[u],n[t[u]])}function n(n,t,i){for(var r=0,u=
n.length;r<u;++r)t.call(i,n[r],r)}u.each=function(r,u,f){f=f||
this;switch(o(r)){case"array":return n(r,u,f);case"object":return"number"==
o(r.length)?n(r,u,f):i(r,Object.keys(r),u,f);case"string":return t(
r,u,f)}}}(),function(){function n(){this.returnValue=!1}function r(
){this.cancelBubble=!0}u.bind=t.addEventListener?function(n,
t,i,r){return n.addEventListener(t,i,r||!1),i}:function(i,u,
f){var e=u+f;return i[e]=i[e]||function(){var u=t.event;u.target=
u.srcElement,u.preventDefault=n,u.stopPropagation=r,f.call(i,
u)},i.attachEvent("on"+u,i[e]),f},u.unbind=t.removeEventListener?
function(n,t,i,r){return n.removeEventListener(t,i,r||!1),i}
:function(n,t,r){var u=t+r;n.detachEvent("on"+t,n[u]);try{delete
n[u]}catch(f){n[u]=i}return r}}(),function(){function i(n){n=
n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.
exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.
exec(n)||d.call(n,"compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.
exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}}var t=
i(navigator.userAgent),n={};t.browser&&(n[t.browser]=!0,n.version=
t.version),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0),u.browser=
n}(),u.baseName=r,u.parseURL=e,u.getExtension=function(n){var
i=e(n),t=r(n);return i.query&&(t=t.replace("?"+i.query,"")),
t.substr((~-t.lastIndexOf(".")>>>0)+2)},function(){var i=function(
n){var t=[];return n.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,
"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(
n){n==="/.."?t.pop():f.call(t,n)}),t.join("").replace(/^\//,
n.charAt(0)==="/"?"/":"")},n=function(n){var t=String(n).replace(
/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);
return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",
host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||
"",search:t[7]||"",hash:t[8]||""}:null};u.absolutizeURI=function(
r,u){return r=n(r||""),u=n(u||t.location.href),!r||!u?null:(r.
protocol||u.protocol)+(r.protocol||r.authority?r.authority:u.
authority)+i(r.protocol||r.authority||r.pathname.charAt(0)===
"/"?r.pathname:r.pathname?(u.authority&&!u.pathname?"/":"")+
u.pathname.slice(0,u.pathname.lastIndexOf("/")+1)+r.pathname:
u.pathname)+(r.protocol||r.authority||r.pathname?r.search:r.
search||u.search)+r.hash}}(),function(){var n=function(n,t){
return(n=parseInt(n,10).toString(16),t<n.length)?bi.call(n,n.
length-t):t>n.length?Array(1+(t-n.length)).join("0")+n:n};u.
uniqID=function(t,i){o(t)==="undefined"&&(t="");var r,u={};return u.
uniqidSeed||(u.uniqidSeed=Math.floor(Math.random()*123456789)),
u.uniqidSeed++,r=t,r+=n(parseInt((new Date).getTime()/1e3,10),
8),r+=n(u.uniqidSeed,5),i&&(r+=(Math.random()*10).toFixed(8).
toString()),r}}()})();var e="mightySlider",r="mS",st=[],gi=[
{reg:/youtu\.be\//i,split:"/",index:3,iframe:1,url:"https://www.youtube.com/embed/{id}?autoplay=1&fs=1&rel=0&enablejsapi=1&wmode=opaque"},
{reg:/youtube\.com\/watch/i,split:"=",index:1,iframe:1,url:"https://www.youtube.com/embed/{id}?autoplay=1&fs=1&rel=0&enablejsapi=1&wmode=opaque"},
{reg:/vimeo\.com\//i,split:"/",index:3,iframe:1,url:"https://player.vimeo.com/video/{id}?hd=1&autoplay=1&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1&api=1"},
{reg:/metacafe\.com\/watch/i,split:"/",index:4,url:"http://www.metacafe.com/fplayer/{id}/.swf?playerVars=autoPlay=yes"},
{reg:/dailymotion\.com\/video/i,split:"/",index:4,url:"http://www.dailymotion.com/swf/video/{id}?additionalInfos=0&autoStart=1"},
{reg:/gametrailers\.com/i,split:"/",index:5,url:"http://www.gametrailers.com/remote_wrap.php?mid={id}"},
{reg:/collegehumor\.com\/video\//i,split:"video/",index:1,url:
"http://www.collegehumor.com/moogaloop/moogaloop.jukebox.swf?autostart=true&fullscreen=1&use_node_id=true&clip_id={id}"},
{reg:/collegehumor\.com\/video:/i,split:"video:",index:1,url:
"http://www.collegehumor.com/moogaloop/moogaloop.swf?autoplay=true&fullscreen=1&clip_id={id}"},
{reg:/ustream\.tv/i,split:"/",index:4,url:"http://www.ustream.tv/flash/video/{id}?loc=%2F&autoplay=true&vid={id}&disabledComment=true&beginPercent=0.5331&endPercent=0.6292&locale=en_US"},
{reg:/twitvid\.com/i,split:"/",index:3,url:"http://www.twitvid.com/player/{id}"},
{reg:/vine\.co\/v\//i,split:"/",index:4,url:"https://vine.co/v/{id}/embed/simple"},
{reg:/v\.wordpress\.com/i,split:"/",index:3,url:"http://s0.videopress.com/player.swf?guid={id}&v=1.01"},
{reg:/google\.com\/videoplay/i,split:"=",index:1,url:"http://video.google.com/googleplayer.swf?autoplay=1&hl=en&docId={id}"},
{reg:/vzaar\.com\/videos/i,split:"/",index:4,url:"http://view.vzaar.com/{id}.flashplayer?autoplay=true&border=none"}],
br="//api.mightyslider.com/getjson.php",nr=[{reg:/vimeo\.com\//i,
oembed:"https://vimeo.com/api/oembed.json?url={URL}",inJSON:
"thumbnail_url"},{reg:/youtube\.com\/watch/i,oembed:"https://www.youtube.com/oembed?url={URL}&format=json",
inJSON:"thumbnail_url",replace:{from:"hqdefault.jpg",to:"maxresdefault.jpg"}},
{reg:/dailymotion\.com\/video/i,oembed:"http://www.dailymotion.com/services/oembed?format=json&url={URL}",
inJSON:"url"},{reg:/vine\.co\/v\//i,oembed:"https://vine.co/oembed.json?url={URL}",
inJSON:"thumbnail_url"},{reg:/500px\.com\/photo\/([0-9]+)/i,
oembed:"{URL}/oembed.json",inJSON:"thumbnail_url",replace:{from:
"3.jpg",to:"5.jpg"}},{reg:/flickr\.com\/photos\/([^\/]+)\/([0-9]+)/i,
oembed:"https://www.flickr.com/services/oembed?url={URL}&format=json",
inJSON:"url"},{reg:/instagram\.com\/p\//i,oembed:"http://api.instagram.com/oembed?url={URL}",
inJSON:"url"},{reg:/deviantart\.com\/p\//i,oembed:"http://backend.deviantart.com/oembed?url={URL}",
inJSON:"url"}],c={avi:"video/msvideo",mov:"video/quicktime",
mpg:"video/mpeg",mpeg:"video/mpeg",mp4:"video/mp4",webm:"video/webm",
ogv:"video/ogg","3gp":"video/3gpp",m4v:"video/x-m4v"},ni={flash:
"swf",image:"bmp gif jpeg jpg png tiff tif jfif jpe",video:"avi mov mpg mpeg mp4 webm ogv 3gp m4v"},
ti=[],kr=["INPUT","SELECT","BUTTON","TEXTAREA"],ii,dr={width:
"100%",height:"100%",preload:"preload",autoplay:"autoplay",controls:
"controls"},gr={width:"100%",height:"100%",frameborder:0,webkitAllowFullScreen:
!0,mozallowfullscreen:!0,allowFullScreen:!0},nu={width:"100%",
height:"100%",bgcolor:"#000000",quality:"high",play:!0,loop:
!0,menu:!0,wmode:"transparent",scale:"showall",allowScriptAccess:
"always",allowFullScreen:!0,fullscreen:"yes"},ht=["width","height",
"fontSize","fontSize","top","left","paddingTop","paddingLeft",
"paddingBottom","paddingRight"],l=n(t),b=n(document),a="click."+
e,tr="touchstart."+e+" mousedown."+e,ir=(document.implementation.
hasFeature("Event.wheel","3.0")?"wheel.":"mousewheel.")+e,rr=
"touchstart."+e+" mousedown."+e,wt="mousemove."+e,ri="touchmove."+
e+" touchend."+e,tu="mouseenter."+e+" mouseleave."+e,ut=t.requestAnimationFrame,
ct=t.cancelAnimationFrame||t.cancelRequestAnimationFrame,p,it,
iu,ru,ft=!!("ontouchstart"in t)&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.
test(navigator.userAgent),ui=typeof t.orientation!="undefined"?
t.orientation:l.height()>l.width()?0:90,uu=!!t.DeviceOrientationEvent,
v=Date.now||function(){return(new Date).getTime()},s=u.each,
du=u.bind,gu=u.unbind,fu=u.position,ur=t.GreenSockGlobals&&t.
GreenSockGlobals.TweenLite;sliderFixNeeded||(wt="mousemove."+
e+" mouseup."+e),lt=0;b.on(ir,function(n){var t=n.originalEvent[
e],i=v();(!t||t.options.scrolling.hijack<i-lt)&&(lt=i)});fi=
new jQuery.elementSpy(t,function(n){if(st.length){var i=this,
t;(s(st,function(n){n.frame===i&&(t=n)}),t)&&(n?t.unFreeze():
t.freeze())}}),function(n){function i(n){var i=v(),r=Math.max(
0,16-(i-t)),u=setTimeout(n,r);return t=i,u}var t=v(),r=n.cancelAnimationFrame||
n.webkitCancelAnimationFrame||n.clearTimeout;ut=n.requestAnimationFrame||
n.webkitRequestAnimationFrame||i,ct=function(t){r.call(n,t)}
}(t),function(){function t(t){for(var u,r=0,f=n.length;r<f;r++)
if(u=n[r]?n[r]+t.charAt(0).toUpperCase()+t.slice(1):t,i.style[
u]!=null)return u}var n=["","webkit","moz","ms","o"],i=document.
createElement("div");p=t("transform"),it=t("perspective")?"translateZ(0) ":
""}();
/**
	 * matchMedia() polyfill - Test a CSS media type/query in JS.
	 * @Authors & @Copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight.
	 * @license: Dual MIT/BSD license
	 */
t.matchMedia||(t.matchMedia=function(){var i=t.styleMedia||t.
media;if(!i){var n=document.createElement("style"),r=document.
getElementsByTagName("script")[0],u=null;n.type="text/css",n.
id="matchmediajs-test",r.parentNode.insertBefore(n,r),u="getComputedStyle"in
t&&t.getComputedStyle(n,null)||n.currentStyle,i={matchMedium:
function(t){var i="@media "+t+"{ #matchmediajs-test { width: 1px; } }";
return n.styleSheet?n.styleSheet.cssText=i:n.textContent=i,u.
width==="1px"}}}return function(n){return{matches:i.matchMedium(
n||"all"),media:n||"all"}}}());var ai=n.fn.animate,pu=n.fn.stop,
wu=!0,w,vi,cr,lr=function(n){var i={},t;for(t in n)i[t]=n[t];
return i},ar={overwrite:1,delay:1,useFrames:1,runBackwards:1,
easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,
autoCSS:1},vr=",scrollTop,scrollLeft,show,hide,toggle,",bu=function(
n,t){for(var r in ar)ar[r]&&n[r]!==i&&(t[r]=n[r])},ku=function(
n){return function(t){return n.getRatio(t)}},tt={},yi=function(
){var i=t.GreenSockGlobals||t,r,u,f;if(w=i.TweenMax||i.TweenLite,
w&&(r=(w.version+".0.0").split("."),u=!(Number(r[0])>0&&Number(
r[1])>7),i=i.com.greensock,vi=i.plugins.CSSPlugin,tt=i.easing.
Ease.map||{}),!w||!vi||u){w=null,!cr&&t.console&&(t.console.
log("The jquery.gsap.js plugin requires the TweenMax (or at least TweenLite and CSSPlugin) JavaScript file(s)."+
(u?" Version "+r.join(".")+" is too old.":"")),cr=!0);return}
if(n.easing){for(f in tt)n.easing[f]=ku(tt[f]);yi=!1}};n.fn.
msAnimate=function(t,i,r,u){if((t=t||{},yi&&(yi(),!w||!vi))||
!wu||t.skipGSAP===!0||typeof i=="object"&&typeof i.step=="function")
return ai.call(this,t,i,r,u);var o=n.speed(i,r,u),s={ease:tt[
o.easing]||(o.easing===!1?tt.linear:tt.swing)},l=this,c=typeof
i=="object"?i.specialEasing:null,e,f,a,h;for(f in t){if(e=t[
f],e instanceof Array&&tt[e[1]]&&(c=c||{},c[f]=e[1],e=e[0]),
e==="show"||e==="hide"||e==="toggle"||vr.indexOf(f)!==-1&&vr.
indexOf(","+f+",")!==-1)return ai.call(this,t,i,r,u);s[f.indexOf(
"-")===-1?f:n.camelCase(f)]=e}if(c){s=lr(s),h=[];for(f in c)
e=h[h.length]={},bu(s,e),e.ease=tt[c[f]]||s.ease,f.indexOf("-")!==
-1&&(f=n.camelCase(f)),e[f]=s[f],delete s[f];h.length===0&&(
h=null)}return a=function(t){var i=lr(s),r;if(h)for(r=h.length;
--r>-1;)w.to(this,n.fx.off?0:o.duration/1e3,h[r]);i.onComplete=
function(){t?t():o.old&&n(this).each(o.old)},i.force3D=!0,w.
to(this,n.fx.off?0:o.duration/1e3,i)},o.queue!==!1?(l.queue(
o.queue,a),typeof o.old=="function"&&l.queue(o.queue,function(
n){o.old.call(this),n()})):a.call(l),l},n.fn.msStop=function(
n,t){if(pu.call(this,n,t),w){if(t)for(var i=w.getTweensOf(this),
r=i.length,u;--r>-1;)u=i[r].totalTime()/i[r].totalDuration(),
u>0&&u<1&&i[r].seek(i[r].totalDuration());w.killTweensOf(this)}
return this},function(){function f(n){return n=n||location.href,
"#"+n.replace(/^[^#]*#?(.*)$/,"$1")}var r="hashchange",e=document,
o,h=n.event.special,c=e.documentMode,s="on"+r in t&&(c===i||
c>7);n.fn[r]=function(n){return n?this.bind(r,n):this.trigger(
r)},n.fn[r].delay=50,h[r]=n.extend(h[r],{setup:function(){if(
s)return!1;n(o.start)},teardown:function(){if(s)return!1;n(o.
stop)}}),o=function(){function v(){var u=f(),i=y(c);u!==c?(a(
c=u,i),n(t).trigger(r)):i!==c&&(location.href=location.href.
replace(/#.*/,"")+i),h=setTimeout(v,n.fn[r].delay)}var o={},
h,c=f(),l=function(n){return n},a=l,y=l;return o.start=function(
){h||v()},o.stop=function(){h&&clearTimeout(h),h=i},u.browser.
msie&&!s&&function(){var t,i;o.start=function(){t||(i=n.fn[r].
src,i=i&&i+f(),t=n('<iframe tabindex="-1" title="empty"/>').
hide().one("load",function(){i||a(f()),v()}).attr("src",i||"javascript:0").
insertAfter("body")[0].contentWindow,e.onpropertychange=function(
){try{event.propertyName==="title"&&(t.document.title=e.title)}
catch(n){}})},o.stop=l,y=function(){return f(t.location.href)}
,a=function(i,u){var f=t.document,o=n.fn[r].domain;i!==u&&(f.
title=e.title,f.open(),o&&f.write('<script>document.domain="'+
o+'"<\/script>'),f.close(),t.location.hash=i)}}(),o}()}(),t.
mightySlider=nt,nt.author="iProDev (Hemn Chawroka). (www.iprodev.com)",
nt.version="2.0.0",nt.releaseDate="April 22, 2015",n.fn.mightySlider=
function(t,i){if(yu(n.fn.jquery,"1.7",">=")){var r,u;return y(
t)||((o(t)==="string"||t===!1)&&(r=t===!1?"destroy":t,u=bi.call(
arguments,1)),t={}),this.each(function(f,o){var s=n.data(o,e);
s||r?s&&r&&s[r]&&s[r].apply(s,u):s=n.data(o,e,new nt(o,t,i).
init())})}throw"The jQuery version that was loaded is too old. mightySlider requires jQuery 1.7+";
},nt.defaults={moveBy:300,speed:300,easing:"swing",startAt:null,
startRandom:!1,viewport:"fill",autoScale:!1,autoResize:!1,videoFrame:
null,preloadMode:"nearby",navigation:{horizontal:!0,navigationType:
"forceCentered",slideSelector:null,smart:!0,activateOn:null,
activateMiddle:!0,slideSize:0,keyboardNavBy:null},deeplinking:
{linkID:null,scrollTo:!1,separator:"/"},scrolling:{scrollSource:
null,scrollBy:0,hijack:300},dragging:{dragSource:null,mouseDragging:
!0,touchDragging:!0,releaseSwing:!0,swingSync:7.5,swingSpeed:
.1,elasticBounds:!0,syncSpeed:.5,onePage:!1,interactive:null},
scrollBar:{scrollBarSource:null,dragHandle:!0,dynamicHandle:
!0,minHandleSize:50,clickBar:!0},pages:{pagesBar:null,activateOn:
null,pageBuilder:function(n){return"<li>"+(n+1)+"<\/li>"}},thumbnails:
{thumbnailsBar:null,horizontal:!0,preloadThumbnails:!0,thumbnailNav:
"basic",activateOn:"click",scrollBy:1,mouseDragging:!0,touchDragging:
!0,thumbnailSize:0,thumbnailBuilder:function(n,t){return'<li><img src="'+
t+'" /><\/li>'}},commands:{thumbnails:!1,pages:!1,buttons:!1},
buttons:{forward:null,backward:null,prev:null,next:null,prevPage:
null,nextPage:null,fullScreen:null},cycling:{cycleBy:null,pauseTime:
5e3,loop:!0,pauseOnHover:!1,startPaused:!1},parallax:{x:!0,y:
!0,z:!1,scroll:!1,invertX:!0,invertY:!0,invertZ:!1,revert:!0,
revertDuration:1500,revertEasing:"easeOutExpo",frictionDuration:
1500,frictionEasing:"easeOutExpo"},classes:{isTouchClass:"isTouch",
draggedClass:"dragged",activeClass:"active",disabledClass:"disabled",
verticalClass:"vertical",horizontalClass:"horizontal",showedLayersClass:
"showed",isInFullScreen:"isInFullScreen",isInFreeze:"isInFreeze"}},
jQuery.easing.easeOutExpo=function(n,t,i,r,u){return t==u?i+
r:r*(-Math.pow(2,-10*t/u)+1)+i}}(jQuery,this);
/**
 * isMobile.js v0.3.6
 *
 * A simple library to detect Apple phones and tablets,
 * Android phones and tablets, other mobile devices (like blackberry, mini-opera and windows phone),
 * and any kind of seven inch device, via user agent sniffing.
 *
 * @author: Kai Mallea (kmallea@gmail.com)
 *
 * @license: http://creativecommons.org/publicdomain/zero/1.0/
 */
(function(n){var f=/iPhone/i,e=/iPod/i,o=/iPad/i,i=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,
s=/Android/i,h=/IEMobile/i,c=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,
l=/BlackBerry/i,a=/BB10/i,v=/Opera Mini/i,y=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,
p=new RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)",
"i"),t=function(n,t){return n.test(t)},r=function(n){var r=n||
navigator.userAgent;return this.apple={phone:t(f,r),ipod:t(e,
r),tablet:t(o,r),device:t(f,r)||t(e,r)||t(o,r)},this.android=
{phone:t(i,r),tablet:!t(i,r)&&t(s,r),device:t(i,r)||t(s,r)},
this.windows={phone:t(h,r),tablet:t(c,r),device:t(h,r)||t(c,
r)},this.other={blackberry:t(l,r),blackberry10:t(a,r),opera:
t(v,r),firefox:t(y,r),device:t(l,r)||t(a,r)||t(v,r)||t(y,r)},
this.seven_inch=t(p,r),this.any=this.apple.device||this.android.
device||this.windows.device||this.other.device||this.seven_inch,
this.phone=this.apple.phone||this.android.phone||this.windows.
phone,this.tablet=this.apple.tablet||this.android.tablet||this.
windows.tablet,typeof window=="undefined"?this:void 0},u=function(
){var n=new r;return n.Class=r,n};typeof module!="undefined"&&
module.exports&&typeof window=="undefined"?module.exports=r:
typeof module!="undefined"&&module.exports&&typeof window!="undefined"?
module.exports=u():typeof define=="function"&&define.amd?define(
"isMobile",[],n.isMobile=u()):n.isMobile=u()})(this);
/*!
 * screenfull
 * v2.0.0 - 2014-12-22
 * (c) Sindre Sorhus; MIT License
 */
(function(){"use strict";var i=typeof module!="undefined"&&module.
exports,r=typeof Element!="undefined"&&"ALLOW_KEYBOARD_INPUT"in
Element,n=function(){for(var t,r,i=[["requestFullscreen","exitFullscreen",
"fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],
["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement",
"webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],
["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement",
"webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],
["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement",
"mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],
["msRequestFullscreen","msExitFullscreen","msFullscreenElement",
"msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],
n=0,f=i.length,u={};n<f;n++)if(t=i[n],t&&t[1]in document){for(
n=0,r=t.length;n<r;n++)u[i[0][n]]=t[n];return u}return!1}(),
t={request:function(t){var i=n.requestFullscreen;t=t||document.
documentElement,/5\.1[\.\d]* Safari/.test(navigator.userAgent)?
t[i]():t[i](r&&Element.ALLOW_KEYBOARD_INPUT)},exit:function(
){document[n.exitFullscreen]()},toggle:function(n){this.isFullscreen?
this.exit():this.request(n)},raw:n};if(!n){i?module.exports=
!1:window.screenfull=!1;return}Object.defineProperties(t,{isFullscreen:
{get:function(){return!!document[n.fullscreenElement]}},element:
{enumerable:!0,get:function(){return document[n.fullscreenElement]}
},enabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}
}}),i?module.exports=t:window.screenfull=t})(),jQuery(document).
ready(function(n){var i=n(window),t=getScrollbarWidth();n("body").
append("<style>html .ilightbox-noscroll { padding-right: "+t+
"px; } html .ilightbox-noscroll #navigation { padding-right: "+
(t+20)+"px; }<\/style>"),function(){var r=n(".current-page-line").
closest("li").index(),t=n("#stickyslider"),i=n(".frame",t),f=
n("div.controls",t),u=n("div.scrollbar",t);i.mightySlider({speed:
300,easing:"easeOutExpo",startAt:r,navigation:{navigationType:
"basic",activateOn:"click"},pages:{pagesBar:n("ul.pages_",t)[
0],activateOn:"click"},scrolling:{scrollBy:1},scrollBar:{scrollBarSource:
u},buttons:{forward:t.find(".forward")[0],backward:t.find(".backward")[
0],prev:t.find(".prev")[0],next:t.find(".next")[0],prevPage:
t.find(".prevPage")[0],nextPage:t.find(".nextPage")[0]}}),i.
mightySlider("on","load move",function(){trackingEventFired||
checkAllPagesSeen()})}()}),jQuery(document).ready(function(n)
{n("html").hasClass("ie8")?n("#stickyslider").attr("dir","ltr"):
n("body").attr("dir")==="rtl"&&(responsiveRtlSlider(),n(window).
resize(function(){responsiveRtlSlider()}),n("#stickyslider").
attr("dir","ltr"),n(".mSSlideElement").attr("dir","rtl"),ul=
n(".mSSlideElement"),ul.children().each(function(n,t){ul.prepend(
t)}))}),$(window).bind("scroll touchmove",function(){setupSliderPosition(
)}),setupSliderPosition();var initialShowComplete=!1,animationInProgress=
!1,mouseOverCarousel=!1,carouselTouchStart=!1,videoInView=!0,
playAgainClicked=!1,headerAnimationInProgress=!1,menuAnimationInProgress=
!1,sliderAnimationInProgress=!1;$("#stickyslider").mouseenter(
function(){mouseOverCarousel=!0}).mouseleave(function(){initialShowComplete||
window.setTimeout(function(){hideSlider()},250)});$("#stickyslider").
on("touchstart",function(){carouselTouchStart=!0});$(window).
on("load",function(){SetScrollBarDisplayBasedOnViewport(),$(
"#InteractiveVideo").length||$(".interactive-video-mobile-container").
length||isNavPeekCookieSet()?(initialShowComplete=!0,$(".sticky").
addClass("loaded")):(initialSliderShow(),document.cookie="dysonNavPeek=true;")}
);scrollStart=0,isIE8=$("html").hasClass("ie8"),$(window).scroll(
$.debounce(10,!0,function(){$(".sticky").hasClass("loaded")&&
$(".sticky").hasClass("expanded")&&initialShowComplete&&hideSlider(
)})),$(".main-nav-bar").click(function(n){n.target.blur(),n.
preventDefault(),initialShowComplete&&($(".sticky").hasClass(
"expanded")?(hideSlider(),dyson.tracking.trackNavigationBannerClick(
"close")):(SetScrollBarDisplayBasedOnViewport(),showSlider(),
dyson.tracking.trackNavigationBannerClick("open"),window.setTimeout(
function(){checkAllPagesSeen()},400)))}),$(document).keypress(
function(n){$(".main-nav-bar").is(":focus")&&n.which===13&&(
n.preventDefault(),$(".main-nav-bar").click()),$(".buy-now-button").
is(":focus")&&n.which===13&&(n.preventDefault(),$(".buy-now-button").
click())}),$(".main-nav-bar").attr("aria-controls","sticky-nav"),
$("nav.sticky").attr({"aria-hidden":"true",id:"sticky-nav"}),
$(document).ready(function(){if($("#InteractiveVideo").length||
$(".interactive-video-mobile-container").length){$("header").
css({"margin-top":$("header").height()*-1+"px",display:"block",
"z-index":"0"}),$(".menu").css({"margin-top":($("header").height(
)+51)*-1+"px",display:"block"});$(document).on("click touchend",
".menu-hidden-arrow",function(){ShowHeader()});ShowTopNav(),
window.setTimeout(function(){$(".interactive-video-mobile-container").
length&&(AddInteractiveVideoMobileScrollDownWaypoint(),AddInteractiveVideoMobileScrollUpWaypoint(
))},1e3)}}),$(".vjs-big-play-button").click(function(){HideTopNav(
)}),function(n){function t(t,i){var o,h,r=this,s=navigator.userAgent.
toLowerCase(),c,a;r.uid=n.rsModules.uid++,r.ns=".rs"+r.uid;var
e=document.createElement("div").style,f=["webkit","Moz","ms",
"O"],u="",l=0;for(o=0;o<f.length;o++)h=f[o],!u&&h+"Transform"in
e&&(u=h),h=h.toLowerCase(),window.requestAnimationFrame||(window.
requestAnimationFrame=window[h+"RequestAnimationFrame"],window.
cancelAnimationFrame=window[h+"CancelAnimationFrame"]||window[
h+"CancelRequestAnimationFrame"]);for(window.requestAnimationFrame||
(window.requestAnimationFrame=function(n){var t=(new Date).getTime(
),i=Math.max(0,16-(t-l)),r=window.setTimeout(function(){n(t+
i)},i);return l=t+i,r}),window.cancelAnimationFrame||(window.
cancelAnimationFrame=function(n){clearTimeout(n)}),r.isIPAD=
s.match(/(ipad)/),f=/(chrome)[ \/]([\w.]+)/.exec(s)||/(webkit)[ \/]([\w.]+)/.
exec(s)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(s)||/(msie) ([\w.]+)/.
exec(s)||0>s.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.
exec(s)||[],o=f[1]||"",h=f[2]||"0",f={},o&&(f[o]=!0,f.version=
h),f.chrome&&(f.webkit=!0),r._a=f,r.isAndroid=-1<s.indexOf("android"),
r.slider=n(t),r.ev=n(r),r._b=n(document),r.st=n.extend({},n.
fn.royalSlider.defaults,i),r._c=r.st.transitionSpeed,r._d=0,
r.st.allowCSS3&&(!f.webkit||r.st.allowCSS3OnWebkit)&&(s=u+(u?
"T":"t"),r._e=s+"ransform"in e&&s+"ransition"in e,r._e&&(r._f=
u+(u?"P":"p")+"erspective"in e)),u=u.toLowerCase(),r._g="-"+
u+"-",r._h="vertical"===r.st.slidesOrientation?!1:!0,r._i=r.
_h?"left":"top",r._j=r._h?"width":"height",r._k=-1,r._l="fade"===
r.st.transitionType?!1:!0,r._l||(r.st.sliderDrag=!1,r._m=10)
,r._n="z-index:0; display:none; opacity:0;",r._o=0,r._p=0,r.
_q=0,n.each(n.rsModules,function(n,t){"uid"!==n&&t.call(r)}),
r.slides=[],r._r=0,(r.st.slides?n(r.st.slides):r.slider.children(
).detach()).each(function(){r._s(this,!0)}),r.st.randomizeSlides&&
r.slides.sort(function(){return.5-Math.random()}),r.numSlides=
r.slides.length,r._t(),r.st.startSlideId?r.st.startSlideId>r.
numSlides-1&&(r.st.startSlideId=r.numSlides-1):r.st.startSlideId=
0,r._o=r.staticSlideId=r.currSlideId=r._u=r.st.startSlideId,
r.currSlide=r.slides[r.currSlideId],r._v=0,r.msTouch=!1,r.slider.
addClass((r._h?"rsHor":"rsVer")+(r._l?"":" rsFade")),e='<div class="rsOverflow"><div class="rsContainer">',
r.slidesSpacing=r.st.slidesSpacing,r._w=(r._h?r.slider.width(
):r.slider.height())+r.st.slidesSpacing,r._x=Boolean(0<r._y),
1>=r.numSlides&&(r._z=!1),r._a1=r._z&&r._l?2===r.numSlides?1:
2:0,r._b1=6>r.numSlides?r.numSlides:6,r._c1=0,r._d1=0,r.slidesJQ=
[],o=0;o<r.numSlides;o++)r.slidesJQ.push(n('<div style="'+(r.
_l?"":o!==r.currSlideId?r._n:"z-index:0;")+'" class="rsSlide "><\/div>'));
r._e1=e=n(e+"<\/div><\/div>"),u=r.ns,r.msEnabled=window.navigator.
msPointerEnabled,r.msEnabled?(r.msTouch=Boolean(1<window.navigator.
msMaxTouchPoints),r.hasTouch=!1,r._n1=.2,r._j1="MSPointerDown"+
u,r._k1="MSPointerMove"+u,r._l1="MSPointerUp"+u,r._m1="MSPointerCancel"+
u):(r._j1="mousedown"+u,r._k1="mousemove"+u,r._l1="mouseup"+
u,r._m1="mouseup"+u,"ontouchstart"in window||"createTouch"in
document?(r.hasTouch=!0,r._j1+=" touchstart"+u,r._k1+=" touchmove"+
u,r._l1+=" touchend"+u,r._m1+=" touchcancel"+u,r._n1=.5,r.st.
sliderTouch&&(r._f1=!0)):(r.hasTouch=!1,r._n1=.2)),r.st.sliderDrag&&
(r._f1=!0,f.msie||f.opera?r._g1=r._h1="move":f.mozilla?(r._g1=
"-moz-grab",r._h1="-moz-grabbing"):f.webkit&&-1!=navigator.platform.
indexOf("Mac")&&(r._g1="-webkit-grab",r._h1="-webkit-grabbing")
,r._i1()),r.slider.html(e),r._o1=r.st.controlsInside?r._e1:r.
slider,r._p1=r._e1.children(".rsContainer"),r.msEnabled&&r._p1.
css("-ms-touch-action",r._h?"pan-y":"pan-x"),r._q1=n('<div class="rsPreloader"><\/div>'),
e=r._p1.children(".rsSlide"),r._r1=r.slidesJQ[r.currSlideId],
r._s1=0,r._e?(r._t1="transition-property",r._u1="transition-duration",
r._v1="transition-timing-function",r._w1=r._x1=r._g+"transform",
r._f?(f.webkit&&!f.chrome&&r.slider.addClass("rsWebkit3d"),/iphone|ipad|ipod/gi.
test(navigator.appVersion),r._y1="translate3d(",r._z1="px, ",
r._a2="px, 0px)"):(r._y1="translate(",r._z1="px, ",r._a2="px)")
,r._l?r._p1[r._g+r._t1]=r._g+"transform":(u={},u[r._g+r._t1]=
"opacity",u[r._g+r._u1]=r.st.transitionSpeed+"ms",u[r._g+r._v1]=
r.st.css3easeInOut,e.css(u))):(r._x1="left",r._w1="top");n(window).
on("resize"+r.ns,function(){c&&clearTimeout(c),c=setTimeout(
function(){r.updateSliderSize()},50)});if(r.ev.trigger("rsAfterPropsSetup"),
r.updateSliderSize(),r.st.keyboardNavEnabled&&r._b2(),r.st.arrowsNavHideOnTouch&&
(r.hasTouch||r.msTouch)&&(r.st.arrowsNav=!1),r.st.arrowsNav&&
(e=r._o1,n('<div class="rsArrow rsArrowLeft"><div class="rsArrowIcn"><\/div><\/div><div class="rsArrow rsArrowRight"><div class="rsArrowIcn"><\/div><\/div>').
appendTo(e),r._c2=e.children(".rsArrowLeft").click(function(
n){n.preventDefault(),r.prev()}),r._d2=e.children(".rsArrowRight").
click(function(n){n.preventDefault(),r.next()}),r.st.arrowsNavAutoHide&&
!r.hasTouch&&(r._c2.addClass("rsHidden"),r._d2.addClass("rsHidden"),
e.one("mousemove.arrowshover",function(){r._c2.removeClass("rsHidden"),
r._d2.removeClass("rsHidden")}),e.hover(function(){r._e2||(r.
_c2.removeClass("rsHidden"),r._d2.removeClass("rsHidden"))},
function(){r._e2||(r._c2.addClass("rsHidden"),r._d2.addClass(
"rsHidden"))})),r.ev.on("rsOnUpdateNav",function(){r._f2()}),
r._f2()),r._f1)r._p1.on(r._j1,function(n){r._g2(n)});else r.
dragSuccess=!1;a=["rsPlayBtnIcon","rsPlayBtn","rsCloseVideoBtn",
"rsCloseVideoIcn"];r._p1.click(function(t){if(!r.dragSuccess)
{var i=n(t.target).attr("class");if(-1!==n.inArray(i,a)&&r.toggleVideo(
))return!1;if(r.st.navigateByClick&&!r._h2){if(n(t.target).closest(
".rsNoDrag",r._r1).length)return!0;r._i2(t)}r.ev.trigger("rsSlideClick")}
}).on("click.rs","a",function(){if(r.dragSuccess)return!1;r.
_h2=!0,setTimeout(function(){r._h2=!1},3)});r.ev.trigger("rsAfterInit")}
n.rsModules||(n.rsModules={uid:0}),t.prototype={constructor:
t,_i2:function(n){n=n[this._h?"pageX":"pageY"]-this._j2,n>=this.
_q?this.next():0>n&&this.prev()},_t:function(){var n;n=this.
st.numImagesToPreload,(this._z=this.st.loop)&&(2===this.numSlides?
(this._z=!1,this.st.loopRewind=!0):2>this.numSlides&&(this.st.
loopRewind=this._z=!1)),this._z&&0<n&&(4>=this.numSlides?n=1:
this.st.numImagesToPreload>(this.numSlides-1)/2&&(n=Math.floor(
(this.numSlides-1)/2))),this._y=n},_s:function(t,i){function e(
n,t){if(t?r.images.push(n.attr(t)):r.images.push(n.text()),s)
{s=!1,r.caption="src"===t?n.attr("alt"):n.contents(),r.image=
r.images[0],r.videoURL=n.attr("data-rsVideo");var i=n.attr("data-rsw"),
f=n.attr("data-rsh");"undefined"!=typeof i&&!1!==i&&"undefined"!=
typeof f&&!1!==f?(r.iW=parseInt(i,10),r.iH=parseInt(f,10)):u.
st.imgWidth&&u.st.imgHeight&&(r.iW=u.st.imgWidth,r.iH=u.st.imgHeight)
}}var u=this,o,r={},f,s=!0;return t=n(t),u._k2=t,u.ev.trigger(
"rsBeforeParseNode",[t,r]),r.stopParsing?void 0:(t=u._k2,r.id=
u._r,r.contentAdded=!1,u._r++,r.images=[],r.isBig=!1,r.hasCover||
(t.hasClass("rsImg")?(f=t,o=!0):(f=t.find(".rsImg"),f.length&&
(o=!0)),o?(r.bigImage=f.eq(0).attr("data-rsBigImg"),f.each(function(
){var t=n(this);t.is("a")?e(t,"href"):t.is("img")?e(t,"src"):
e(t)})):t.is("img")&&(t.addClass("rsImg rsMainSlideImage"),e(
t,"src"))),f=t.find(".rsCaption"),f.length&&(r.caption=f.remove(
)),r.content=t,u.ev.trigger("rsAfterParseNode",[t,r]),i&&u.slides.
push(r),0===r.images.length&&(r.isLoaded=!0,r.isRendered=!1,
r.isLoading=!1,r.images=null),r)},_b2:function(){var n=this,
t,i,r=function(t){37===t?n.prev():39===t&&n.next()};n._b.on(
"keydown"+n.ns,function(u){n._l2||(i=u.keyCode,37!==i&&39!==
i||t)||(r(i),t=setInterval(function(){r(i)},700))}).on("keyup"+
n.ns,function(){t&&(clearInterval(t),t=null)})},goTo:function(
n,t){n!==this.currSlideId&&this._m2(n,this.st.transitionSpeed,
!0,!t)},destroy:function(t){this.ev.trigger("rsBeforeDestroy"),
this._b.off("keydown"+this.ns+" keyup"+this.ns+" "+this._k1+
" "+this._l1),this._p1.off(this._j1+" click"),this.slider.data(
"royalSlider",null),n.removeData(this.slider,"royalSlider"),
n(window).off("resize"+this.ns),t&&this.slider.remove(),this.
ev=this.slider=this.slides=null},_n2:function(t,i){function v(
i,u,f){i.isAdded?(y(u,i),p(u,i)):(f||(f=r.slidesJQ[u]),i.holder?
f=i.holder:(f=r.slidesJQ[u]=n(f),i.holder=f),i.appendOnLoaded=
!1,p(u,i,f),y(u,i),r._p2(i,f,t),i.isAdded=!0)}function y(n,i)
{i.contentAdded||(r.setItemHtml(i,t),t||(i.contentAdded=!0))
}function p(n,t,i){r._l&&(i||(i=r.slidesJQ[n]),i.css(r._i,(n+
r._d1+a)*r._w))}function s(n){if(k){if(n>l-1)return s(n-l);if(
0>n)return s(l+n)}return n}var r=this,e,u,k=r._z,l=r.numSlides;
if(!isNaN(i))return s(i);var f=r.currSlideId,a,h=t?Math.abs(
r._o2-r.currSlideId)>=r.numSlides-1?0:1:r._y,c=Math.min(2,h),
w=!1,b=!1,o;for(u=f;u<f+1+c;u++)if(o=s(u),(e=r.slides[o])&&(!e.
isAdded||!e.positionSet)){w=!0;break}for(u=f-1;u>f-1-c;u--)if(
o=s(u),(e=r.slides[o])&&(!e.isAdded||!e.positionSet)){b=!0;break}
if(w)for(u=f;u<f+h+1;u++)o=s(u),a=Math.floor((r._u-(f-u))/r.
numSlides)*r.numSlides,(e=r.slides[o])&&v(e,o);if(b)for(u=f-
1;u>f-1-h;u--)o=s(u),a=Math.floor((r._u-(f-u))/l)*l,(e=r.slides[
o])&&v(e,o);if(!t)for(c=s(f-h),f=s(f+h),h=c>f?0:c,u=0;u<l;u++)
c>f&&u>c-1||!(u<h||u>f)||(e=r.slides[u])&&e.holder&&(e.holder.
detach(),e.isAdded=!1)},setItemHtml:function(t,i){var r=this,
e=function(){var i,e,u,s;if(t.images){if(!t.isLoading)if(t.content.
hasClass("rsImg")?(i=t.content,e=!0):i=t.content.find(".rsImg:not(img)"),
i&&!i.is("img")&&i.each(function(){var i=n(this),r='<img class="rsImg" src="'+
(i.is("a")?i.attr("href"):i.text())+'" />';e?t.content=n(r):
i.replaceWith(r)}),i=e?t.content:t.content.find("img.rsImg"),
h(),i.eq(0).addClass("rsMainSlideImage"),t.iW&&t.iH&&(t.isLoaded||
r._q2(t),f()),t.isLoading=!0,t.isBig)n("<img />").on("load.rs error.rs",
function(){n(this).off("load.rs error.rs"),o([this],!0)}).attr(
"src",t.image);else for(t.loaded=[],t.numStartedLoad=0,i=function(
){n(this).off("load.rs error.rs"),t.loaded.push(this),t.loaded.
length===t.numStartedLoad&&o(t.loaded,!1)},u=0;u<t.images.length;
u++)s=n("<img />"),t.numStartedLoad++,s.on("load.rs error.rs",
i).attr("src",t.images[u])}else t.isRendered=!0,t.isLoaded=!0,
t.isLoading=!1,f(!0)},o=function(n,i){var f,r;n.length?(f=n[
0],i!==t.isBig?(f=t.holder.children())&&1<f.length&&c():t.iW&&
t.iH?u():(t.iW=f.width,t.iH=f.height,t.iW&&t.iH)?u():(r=new Image,
r.onload=function(){r.width?(t.iW=r.width,t.iH=r.height,u())
:setTimeout(function(){r.width&&(t.iW=r.width,t.iH=r.height)
,u()},1e3)},r.src=f.src)):u()},u=function(){t.isLoaded=!0,t.
isLoading=!1,f(),c(),s()},f=function(){if(!t.isAppended&&r.ev)
{var n=r.st.visibleNearby,u=t.id-r._o;!i&&!t.appendOnLoaded&&
r.st.fadeinLoadedSlide&&(0===u||(n||r._r2||r._l2)&&(-1===u||
1===u))&&(n={visibility:"visible",opacity:0},n[r._g+"transition"]=
"opacity 400ms ease-in-out",t.content.css(n),setTimeout(function(
){t.content.css("opacity",1)},16)),t.holder.find(".rsPreloader").
length?t.holder.append(t.content):t.holder.html(t.content),t.
isAppended=!0,t.isLoaded&&(r._q2(t),s()),t.sizeReady||(t.sizeReady=
!0,setTimeout(function(){r.ev.trigger("rsMaybeSizeReady",t)}
,100))}},s=function(){!t.loadedTriggered&&r.ev&&(t.isLoaded=
t.loadedTriggered=!0,t.holder.trigger("rsAfterContentSet"),r.
ev.trigger("rsAfterContentSet",t))},h=function(){r.st.usePreloader&&
t.holder.html(r._q1.clone())},c=function(){if(r.st.usePreloader)
{var n=t.holder.find(".rsPreloader");n.length&&n.remove()}};
t.isLoaded?f():i?!r._l&&t.images&&t.iW&&t.iH?e():(t.holder.isWaiting=
!0,h(),t.holder.slideId=-99):e()},_p2:function(n){this._p1.append(
n.holder),n.appendOnLoaded=!1},_g2:function(t,i){var r=this,
u,f="touchstart"===t.type,e;if(r._s2=f,r.ev.trigger("rsDragStart"),
n(t.target).closest(".rsNoDrag",r._r1).length)return r.dragSuccess=
!1,!0;if(!i&&r._r2&&(r._t2=!0,r._u2()),r.dragSuccess=!1,r._l2)
f&&(r._v2=!0);else{if(f&&(r._v2=!1),r._w2(),f)if(e=t.originalEvent.
touches,e&&0<e.length)u=e[0],1<e.length&&(r._v2=!0);else return
else t.preventDefault(),u=t,r.msEnabled&&(u=u.originalEvent)
;r._l2=!0;r._b.on(r._k1,function(n){r._x2(n,i)}).on(r._l1,function(
n){r._y2(n,i)});if(r._z2="",r._a3=!1,r._b3=u.pageX,r._c3=u.pageY,
r._d3=r._v=(i?r._e3:r._h)?u.pageX:u.pageY,r._f3=0,r._g3=0,r.
_h3=i?r._i3:r._p,r._j3=(new Date).getTime(),f)r._e1.on(r._m1,
function(n){r._y2(n,i)})}},_k3:function(n,t){if(this._l3){var
o=this._m3,i=n.pageX-this._b3,f=n.pageY-this._c3,r=this._h3+
i,u=this._h3+f,e=t?this._e3:this._h,r=e?r:u,u=this._z2;this.
_a3=!0,this._b3=n.pageX,this._c3=n.pageY,"x"===u&&0!==i?this.
_f3=0<i?1:-1:"y"===u&&0!==f&&(this._g3=0<f?1:-1),u=e?this._b3:
this._c3,i=e?i:f,t?r>this._n3?r=this._h3+i*this._n1:r<this._o3&&
(r=this._h3+i*this._n1):this._z||(0>=this.currSlideId&&0<u-this.
_d3&&(r=this._h3+i*this._n1),this.currSlideId>=this.numSlides-
1&&0>u-this._d3&&(r=this._h3+i*this._n1)),this._h3=r,200<o-this.
_j3&&(this._j3=o,this._v=u),t?this._q3(this._h3):this._l&&this.
_p3(this._h3)}},_x2:function(n,t){var i=this,r,f="touchmove"===
n.type,u;if(!i._s2||f){if(f){if(i._r3)return;if(u=n.originalEvent.
touches,u){if(1<u.length)return;r=u[0]}else return}else r=n,
i.msEnabled&&(r=r.originalEvent);if(i._a3||(i._e&&(t?i._s3:i.
_p1).css(i._g+i._u1,"0s"),function e(){i._l2&&(i._t3=requestAnimationFrame(
e),i._u3&&i._k3(i._u3,t))}()),i._l3)n.preventDefault(),i._m3=
(new Date).getTime(),i._u3=r;else if(u=t?i._e3:i._h,r=Math.abs(
r.pageX-i._b3)-Math.abs(r.pageY-i._c3)-(u?-7:7),7<r){if(u)n.
preventDefault(),i._z2="x";else if(f){i._v3();return}i._l3=!0}
else if(-7>r){if(u){if(f){i._v3();return}}else n.preventDefault(
),i._z2="y";i._l3=!0}}},_v3:function(){this._r3=!0,this._a3=
this._l2=!1,this._y2()},_y2:function(t,i){function v(n){return 100>
n?100:500<n?500:n}function c(n,t){(r._l||i)&&(f=(-r._u-r._d1)
*r._w,y=Math.abs(r._p-f),r._c=y/t,n&&(r._c+=250),r._c=v(r._c),
r._x3(f,!1))}var r=this,s,u,f,y,o,e,h,a;if(u="touchend"===t.
type||"touchcancel"===t.type,!r._s2||u)if(r._s2=!1,r.ev.trigger(
"rsDragRelease"),r._u3=null,r._l2=!1,r._r3=!1,r._l3=!1,r._m3=
0,cancelAnimationFrame(r._t3),r._a3&&(i?r._q3(r._h3):r._l&&r.
_p3(r._h3)),r._b.off(r._k1).off(r._l1),u&&r._e1.off(r._m1),r.
_i1(),!r._a3&&!r._v2&&i&&r._w3)o=n(t.target).closest(".rsNavItem"),
o.length&&r.goTo(o.index());else{if(s=i?r._e3:r._h,r._a3&&("y"!==
r._z2||!s)&&("x"!==r._z2||s))r.dragSuccess=!0;else if(!i&&r.
_t2){if(r._t2=!1,r.st.navigateByClick){r._i2(r.msEnabled?t.originalEvent:
t),r.dragSuccess=!0;return}r.dragSuccess=!0}else{r._t2=!1,r.
dragSuccess=!1;return}r._t2=!1,r._z2="",e=r.st.minSlideOffset,
u=u?t.originalEvent.changedTouches[0]:r.msEnabled?t.originalEvent:
t,h=s?u.pageX:u.pageY,a=r._d3,u=r._v;var p=r.currSlideId,w=r.
numSlides,l=s?r._f3:r._g3,b=r._z;if(Math.abs(h-a),s=h-u,u=(new
Date).getTime()-r._j3,u=Math.abs(s)/u,0===l||1>=w)c(!0,u);else{
if(!b&&!i)if(0>=p){if(0<l){c(!0,u);return}}else if(p>=w-1&&0>
l){c(!0,u);return}if(i){if(f=r._i3,f>r._n3)f=r._n3;else if(f<
r._o3)f=r._o3;else{if(e=u*u/.006,o=-r._i3,h=r._y3-r._z3+r._i3,
0<s&&e>o?(o+=r._z3/(15/(.003*(e/u))),u=u*o/e,e=o):0>s&&e>h&&
(h+=r._z3/(15/(.003*(e/u))),u=u*h/e,e=h),o=Math.max(Math.round(
u/.003),50),f+=e*(0>s?-1:1),f>r._n3){r._a4(f,o,!0,r._n3,200);
return}if(f<r._o3){r._a4(f,o,!0,r._o3,200);return}}r._a4(f,o,
!0)}else a+e<h?0>l?c(!1,u):r._m2("prev",v(Math.abs(r._p-(-r.
_u-r._d1+1)*r._w)/u),!1,!0,!0):a-e>h?0<l?c(!1,u):r._m2("next",
v(Math.abs(r._p-(-r._u-r._d1-1)*r._w)/u),!1,!0,!0):c(!1,u)}}
},_p3:function(n){n=this._p=n,this._e?this._p1.css(this._x1,
this._y1+(this._h?n+this._z1+0:0+this._z1+n)+this._a2):this.
_p1.css(this._h?this._x1:this._w1,n)},updateSliderSize:function(
n){var t,i,r,u;if(this.st.autoScaleSlider?(r=this.st.autoScaleSliderWidth,
u=this.st.autoScaleSliderHeight,this.st.autoScaleHeight?(t=this.
slider.width(),t!=this.width&&(this.slider.css("height",t*(u/
r)),t=this.slider.width()),i=this.slider.height()):(i=this.slider.
height(),i!=this.height&&(this.slider.css("width",i*(r/u)),i=
this.slider.height()),t=this.slider.width())):(t=this.slider.
width(),i=this.slider.height()),n||t!=this.width||i!=this.height)
{for(this.width=t,this.height=i,this._b4=t,this._c4=i,this.ev.
trigger("rsBeforeSizeSet"),this.ev.trigger("rsAfterSizePropSet"),
this._e1.css({width:this._b4,height:this._c4}),this._w=(this.
_h?this._b4:this._c4)+this.st.slidesSpacing,this._d4=this.st.
imageScalePadding,t=0;t<this.slides.length;t++)n=this.slides[
t],n.positionSet=!1,n&&n.images&&n.isLoaded&&(n.isRendered=!1,
this._q2(n));if(this._e4)for(t=0;t<this._e4.length;t++)n=this.
_e4[t],n.holder.css(this._i,(n.id+this._d1)*this._w);this._n2(
),this._l&&(this._e&&this._p1.css(this._g+"transition-duration",
"0s"),this._p3((-this._u-this._d1)*this._w)),this.ev.trigger(
"rsOnUpdateNav")}this._j2=this._e1.offset(),this._j2=this._j2[
this._i]},appendSlide:function(n,t){var i=this._s(n);(isNaN(
t)||t>this.numSlides)&&(t=this.numSlides),this.slides.splice(
t,0,i),this.slidesJQ.splice(t,0,'<div style="'+(this._l?"position:absolute;":
this._n)+'" class="rsSlide"><\/div>'),t<this.currSlideId&&this.
currSlideId++,this.ev.trigger("rsOnAppendSlide",[i,t]),this.
_f4(t),t===this.currSlideId&&this.ev.trigger("rsAfterSlideChange")}
,removeSlide:function(n){var t=this.slides[n];t&&(t.holder&&
t.holder.remove(),n<this.currSlideId&&this.currSlideId--,this.
slides.splice(n,1),this.slidesJQ.splice(n,1),this.ev.trigger(
"rsOnRemoveSlide",[n]),this._f4(n),n===this.currSlideId&&this.
ev.trigger("rsAfterSlideChange"))},_f4:function(){var n=this,
t=n.numSlides,t=0>=n._u?0:Math.floor(n._u/t);for(n.numSlides=
n.slides.length,0===n.numSlides?(n.currSlideId=n._d1=n._u=0,
n.currSlide=n._g4=null):n._u=t*n.numSlides+n.currSlideId,t=0;
t<n.numSlides;t++)n.slides[t].id=t;n.currSlide=n.slides[n.currSlideId],
n._r1=n.slidesJQ[n.currSlideId],n.currSlideId>=n.numSlides?n.
goTo(n.numSlides-1):0>n.currSlideId&&n.goTo(0),n._t(),n._l&&
n._z&&n._p1.css(n._g+n._u1,"0ms"),n._h4&&clearTimeout(n._h4),
n._h4=setTimeout(function(){n._l&&n._p3((-n._u-n._d1)*n._w),
n._n2(),n._l||n._r1.css({display:"block",opacity:1})},14),n.
ev.trigger("rsOnUpdateNav")},_i1:function(){this._f1&&this._l&&
(this._g1?this._e1.css("cursor",this._g1):(this._e1.removeClass(
"grabbing-cursor"),this._e1.addClass("grab-cursor")))},_w2:function(
){this._f1&&this._l&&(this._h1?this._e1.css("cursor",this._h1):
(this._e1.removeClass("grab-cursor"),this._e1.addClass("grabbing-cursor"))
)},next:function(n){this._m2("next",this.st.transitionSpeed,
!0,!n)},prev:function(n){this._m2("prev",this.st.transitionSpeed,
!0,!n)},_m2:function(n,t,i,r,u){var f=this,l,h,e,a,o,c;if(f.
ev.trigger("rsBeforeMove",[n,r]),e="next"===n?f.currSlideId+
1:"prev"===n?f.currSlideId-1:n=parseInt(n,10),!f._z){if(0>e)
{f._i4("left",!r);return}if(e>=f.numSlides){f._i4("right",!r);
return}}f._r2&&(f._u2(!0),i=!1),h=e-f.currSlideId,e=f._o2=f.
currSlideId,o=f.currSlideId+h,r=f._u,f._z?(o=f._n2(!1,o),r+=
h):r=o,f._o=o,f._g4=f.slidesJQ[f.currSlideId],f._u=r,f.currSlideId=
f._o,f.currSlide=f.slides[f.currSlideId],f._r1=f.slidesJQ[f.
currSlideId],o=f.st.slidesDiff,c=Boolean(0<h),h=Math.abs(h);
var s=Math.floor(e/f._y),v=Math.floor((e+(c?o:-o))/f._y),s=(c?
Math.max(s,v):Math.min(s,v))*f._y+(c?f._y-1:0);if(s>f.numSlides-
1?s=f.numSlides-1:0>s&&(s=0),e=c?s-e:e-s,e>f._y&&(e=f._y),h>
e+o)for(f._d1+=(h-(e+o))*(c?-1:1),t*=1.4,e=0;e<f.numSlides;e++)
f.slides[e].positionSet=!1;f._c=t,f._n2(!0),u||(a=!0),l=(-r-
f._d1)*f._w,a?setTimeout(function(){f._j4=!1,f._x3(l,n,!1,i),
f.ev.trigger("rsOnUpdateNav")},0):(f._x3(l,n,!1,i),f.ev.trigger(
"rsOnUpdateNav"))},_f2:function(){this.st.arrowsNav&&(1>=this.
numSlides?(this._c2.css("display","none"),this._d2.css("display",
"none")):(this._c2.css("display","block"),this._d2.css("display",
"block"),!this._z&&!this.st.loopRewind&&(0===this.currSlideId?
this._c2.addClass("rsArrowDisabled"):this._c2.removeClass("rsArrowDisabled"),
this.currSlideId===this.numSlides-1?this._d2.addClass("rsArrowDisabled"):
this._d2.removeClass("rsArrowDisabled"))))},_x3:function(t,i,
r,u,f){function c(){var n;o&&(n=o.data("rsTimeout"))&&(o!==s&&
o.css({opacity:0,display:"none",zIndex:0}),clearTimeout(n),o.
data("rsTimeout","")),(n=s.data("rsTimeout"))&&(clearTimeout(
n),s.data("rsTimeout",""))}var e=this,o,s,h={};isNaN(e._c)&&
(e._c=400),e._p=e._h3=t,e.ev.trigger("rsBeforeAnimStart"),e.
_e?e._l?(e._c=parseInt(e._c,10),r=e._g+e._v1,h[e._g+e._u1]=e.
_c+"ms",h[r]=u?n.rsCSS3Easing[e.st.easeInOut]:n.rsCSS3Easing[
e.st.easeOut],e._p1.css(h),u||!e.hasTouch?setTimeout(function(
){e._p3(t)},5):e._p3(t)):(e._c=e.st.transitionSpeed,o=e._g4,
s=e._r1,s.data("rsTimeout")&&s.css("opacity",0),c(),o&&o.data(
"rsTimeout",setTimeout(function(){h[e._g+e._u1]="0ms",h.zIndex=
0,h.display="none",o.data("rsTimeout",""),o.css(h),setTimeout(
function(){o.css("opacity",0)},16)},e._c+60)),h.display="block",
h.zIndex=e._m,h.opacity=0,h[e._g+e._u1]="0ms",h[e._g+e._v1]=
n.rsCSS3Easing[e.st.easeInOut],s.css(h),s.data("rsTimeout",setTimeout(
function(){s.css(e._g+e._u1,e._c+"ms"),s.data("rsTimeout",setTimeout(
function(){s.css("opacity",1),s.data("rsTimeout","")},20))},
20))):e._l?(h[e._h?e._x1:e._w1]=t+"px",e._p1.animate(h,e._c,
u?e.st.easeInOut:e.st.easeOut)):(o=e._g4,s=e._r1,s.stop(!0,!0).
css({opacity:0,display:"block",zIndex:e._m}),e._c=e.st.transitionSpeed,
s.animate({opacity:1},e._c,e.st.easeInOut),c(),o&&o.data("rsTimeout",
setTimeout(function(){o.stop(!0,!0).css({opacity:0,display:"none",
zIndex:0})},e._c+60))),e._r2=!0,e.loadingTimeout&&clearTimeout(
e.loadingTimeout),e.loadingTimeout=f?setTimeout(function(){e.
loadingTimeout=null,f.call()},e._c+60):setTimeout(function()
{e.loadingTimeout=null,e._k4(i)},e._c+60)},_u2:function(n){if(
this._r2=!1,clearTimeout(this.loadingTimeout),this._l)if(this.
_e){if(!n){n=this._p;var t=this._h3=this._l4();this._p1.css(
this._g+this._u1,"0ms"),n!==t&&this._p3(t)}}else this._p1.stop(
!0),this._p=parseInt(this._p1.css(this._x1),10);else 20<this.
_m?this._m=10:this._m++},_l4:function(){var n=window.getComputedStyle(
this._p1.get(0),null).getPropertyValue(this._g+"transform").
replace(/^matrix\(/i,"").split(/, |\)$/g),t=0===n[0].indexOf(
"matrix3d");return parseInt(n[this._h?t?12:4:t?13:5],10)},_m4:
function(n,t){return this._e?this._y1+(t?n+this._z1+0:0+this.
_z1+n)+this._a2:n},_k4:function(){this._l||(this._r1.css("z-index",
0),this._m=10),this._r2=!1,this.staticSlideId=this.currSlideId,
this._n2(),this._n4=!1,this.ev.trigger("rsAfterSlideChange")}
,_i4:function(n,t){var i=this,r=(-i._u-i._d1)*i._w,u;0===i.numSlides||
i._r2||(i.st.loopRewind?i.goTo("left"===n?i.numSlides-1:0,t):
i._l&&(i._c=200,u=function(){i._r2=!1},i._x3(r+("left"===n?30:
-30),"",!1,!0,function(){i._r2=!1,i._x3(r,"",!1,!0,u)})))},_q2:
function(n){var e,t,h,u,s,o;if(!n.isRendered){var f=n.content,
t="rsMainSlideImage",c,l=this.st.imageAlignCenter,i=this.st.
imageScaleMode,r;n.videoURL&&(t="rsVideoContainer","fill"!==
i?c=!0:(r=f,r.hasClass(t)||(r=r.find("."+t)),r.css({width:"100%",
height:"100%"}),t="rsMainSlideImage")),f.hasClass(t)||(f=f.find(
"."+t)),f&&(e=n.iW,t=n.iH,n.isRendered=!0,("none"!==i||l)&&(
n="fill"!==i?this._d4:0,r=this._b4-2*n,h=this._c4-2*n,o={},"fit-if-smaller"===
i&&(e>r||t>h)&&(i="fit"),("fill"===i||"fit"===i)&&(u=r/e,s=h/
t,u="fill"==i?u>s?u:s:"fit"==i?u<s?u:s:1,e=Math.ceil(e*u,10),
t=Math.ceil(t*u,10)),"none"!==i&&(o.width=e,o.height=t,c&&f.
find(".rsImg").css({width:"100%",height:"100%"})),l&&(o.marginLeft=
Math.floor((r-e)/2)+n,o.marginTop=Math.floor((h-t)/2)+n),f.css(
o)))}}},n.rsProto=t.prototype,n.fn.royalSlider=function(i){var
r=arguments;return this.each(function(){var u=n(this);if("object"!=
typeof i&&i){if((u=u.data("royalSlider"))&&u[i])return u[i].
apply(u,Array.prototype.slice.call(r,1))}else u.data("royalSlider")||
u.data("royalSlider",new t(u,i))})},n.fn.royalSlider.defaults=
{slidesSpacing:8,startSlideId:0,loop:!1,loopRewind:!1,numImagesToPreload:
4,fadeinLoadedSlide:!0,slidesOrientation:"horizontal",transitionType:
"move",transitionSpeed:600,controlNavigation:"bullets",controlsInside:
!0,arrowsNav:!0,arrowsNavAutoHide:!0,navigateByClick:!0,randomizeSlides:
!1,sliderDrag:!0,sliderTouch:!0,keyboardNavEnabled:!1,fadeInAfterLoaded:
!0,allowCSS3:!0,allowCSS3OnWebkit:!0,addActiveClass:!1,autoHeight:
!1,easeOut:"easeOutSine",easeInOut:"easeInOutSine",minSlideOffset:
10,imageScaleMode:"fit-if-smaller",imageAlignCenter:!0,imageScalePadding:
4,usePreloader:!0,autoScaleSlider:!1,autoScaleSliderWidth:800,
autoScaleSliderHeight:400,autoScaleHeight:!0,arrowsNavHideOnTouch:
!1,globalCaption:!1,slidesDiff:2},n.rsCSS3Easing={easeOutSine:
"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"},
n.extend(jQuery.easing,{easeInOutSine:function(n,t,i,r,u){return-r/
2*(Math.cos(Math.PI*t/u)-1)+i},easeOutSine:function(n,t,i,r,
u){return r*Math.sin(t/u*(Math.PI/2))+i},easeOutCubic:function(
n,t,i,r,u){return r*((t=t/u-1)*t*t+1)+i}})}(jQuery,window),function(
n){n.rsProto._o4=function(){var t,n=this;if(n.st.addActiveClass)
n.ev.on("rsOnUpdateNav",function(){t&&clearTimeout(t),t=setTimeout(
function(){n._g4&&n._g4.removeClass("rsActiveSlide"),n._r1&&
n._r1.addClass("rsActiveSlide"),t=null},50)})},n.rsModules.activeClass=
n.rsProto._o4}(jQuery),function(n){n.extend(n.rsProto,{_p4:function(
){function r(){var n=t.currSlide,r;if(t.currSlide&&t.currSlide.
isLoaded&&t._t4!==n){if(0<t._s4.length){for(i=0;i<t._s4.length;
i++)clearTimeout(t._s4[i]);t._s4=[]}if(0<t._r4.length){for(i=
0;i<t._r4.length;i++)(r=t._r4[i])&&(t._e?(r.block.css(t._g+t.
_u1,"0s"),r.block.css(r.css)):r.block.stop(!0).css(r.css),t.
_t4=null,n.animBlocksDisplayed=!1);t._r4=[]}n.animBlocks&&(n.
animBlocksDisplayed=!0,t._t4=n,t._u4(n.animBlocks))}}var t=this,
i;t._q4={fadeEffect:!0,moveEffect:"top",moveOffset:20,speed:
400,easing:"easeOutSine",delay:200},t.st.block=n.extend({},t.
_q4,t.st.block),t._r4=[],t._s4=[];t.ev.on("rsAfterInit",function(
){r()});t.ev.on("rsBeforeParseNode",function(t,i,r){i=n(i),r.
animBlocks=i.find(".rsABlock").css("display","none"),r.animBlocks.
length||(r.animBlocks=i.hasClass("rsABlock")?i.css("display",
"none"):!1)});t.ev.on("rsAfterContentSet",function(n,i){i.id===
t.slides[t.currSlideId].id&&setTimeout(function(){r()},t.st.
fadeinLoadedSlide?300:0)});t.ev.on("rsAfterSlideChange",function(
){r()})},_v4:function(n,t){setTimeout(function(){n.css(t)},6)}
,_u4:function(t){var i=this,f,o,s,u,e,r,h;i._s4=[],t.each(function(
t){var c,a,l;f=n(this),o={},s={},u=null,c=f.attr("data-move-offset"),
c=c?parseInt(c,10):i.st.block.moveOffset,0<c&&((r=f.data("move-effect"))
?(r=r.toLowerCase(),"none"===r?r=!1:"left"!==r&&"top"!==r&&"bottom"!==
r&&"right"!==r&&(r=i.st.block.moveEffect,"none"===r&&(r=!1))
):r=i.st.block.moveEffect,r&&"none"!==r)&&(a="right"===r||"left"===
r?!0:!1,h=!1,i._e?(l=0,e=i._x1):(a?isNaN(parseInt(f.css("right"),
10))?e="left":(e="right",h=!0):isNaN(parseInt(f.css("bottom"),
10))?e="top":(e="bottom",h=!0),e="margin-"+e,h&&(c=-c),i._e?
l=parseInt(f.css(e),10):(l=f.data("rs-start-move-prop"),void
0===l&&(l=parseInt(f.css(e),10),f.data("rs-start-move-prop",
l)))),s[e]=i._m4("top"===r||"left"===r?l-c:l+c,a),o[e]=i._m4(
l,a)),(c=f.attr("data-fade-effect"))?("none"===c.toLowerCase(
)||"false"===c.toLowerCase())&&(c=!1):c=i.st.block.fadeEffect,
c&&(s.opacity=0,o.opacity=1),(c||r)&&(u={},u.hasFade=Boolean(
c),Boolean(r)&&(u.moveProp=e,u.hasMove=!0),u.speed=f.data("speed"),
isNaN(u.speed)&&(u.speed=i.st.block.speed),u.easing=f.data("easing"),
u.easing||(u.easing=i.st.block.easing),u.css3Easing=n.rsCSS3Easing[
u.easing],u.delay=f.data("delay"),isNaN(u.delay)&&(u.delay=i.
st.block.delay*t)),c={},i._e&&(c[i._g+i._u1]="0ms"),c.moveProp=
o.moveProp,c.opacity=o.opacity,c.display="none",i._r4.push({
block:f,css:c}),i._v4(f,s),i._s4.push(setTimeout(function(n,
t,r,u){return function(){var f,e;n.css("display","block"),r&&
(f={},i._e?(e="",r.hasMove&&(e+=r.moveProp),r.hasFade&&(r.hasMove&&
(e+=", "),e+="opacity"),f[i._g+i._t1]=e,f[i._g+i._u1]=r.speed+
"ms",f[i._g+i._v1]=r.css3Easing,n.css(f),setTimeout(function(
){n.css(t)},24)):setTimeout(function(){n.animate(t,r.speed,r.
easing)},16)),delete i._s4[u]}}(f,o,u,t),6>=u.delay?12:u.delay))}
)}}),n.rsModules.animatedBlocks=n.rsProto._p4}(jQuery),function(
n){n.extend(n.rsProto,{_w4:function(){var n=this,u,i,r,t;if(
n.st.autoHeight){t=function(t){r=n.slides[n.currSlideId],(u=
r.holder)&&(i=u.height())&&void 0!==i&&(n._c4=i,n._e||!t?n._e1.
css("height",i):n._e1.stop(!0,!0).animate({height:i},n.st.transitionSpeed))}
;n.ev.on("rsMaybeSizeReady.rsAutoHeight",function(n,i){r===i&&
t()});n.ev.on("rsAfterContentSet.rsAutoHeight",function(n,i)
{r===i&&t()});n.slider.addClass("rsAutoHeight");n.ev.one("rsAfterInit",
function(){setTimeout(function(){t(!1),setTimeout(function()
{n.slider.append('<div style="clear:both; float: none;"><\/div>'),
n._e&&n._e1.css(n._g+"transition","height "+n.st.transitionSpeed+
"ms ease-in-out")},16)},16)});n.ev.on("rsBeforeAnimStart",function(
){t(!0)});n.ev.on("rsBeforeSizeSet",function(){setTimeout(function(
){t(!1)},16)})}}}),n.rsModules.autoHeight=n.rsProto._w4}(jQuery),
function(n){n.extend(n.rsProto,{_x4:function(){var t=this,i;
t._y4={enabled:!1,stopAtAction:!0,pauseOnHover:!0,delay:2e3},
!t.st.autoPlay&&t.st.autoplay&&(t.st.autoPlay=t.st.autoplay)
,t.st.autoPlay=n.extend({},t._y4,t.st.autoPlay),t.st.autoPlay.
enabled&&(t.ev.on("rsBeforeParseNode",function(t,r,u){r=n(r),
(i=r.attr("data-rsDelay"))&&(u.customDelay=parseInt(i,10))}),
t.ev.one("rsAfterInit",function(){t._z4()}),t.ev.on("rsBeforeDestroy",
function(){t.stopAutoPlay(),t.slider.off("mouseenter mouseleave"),
n(window).off("blur"+t.ns+" focus"+t.ns)}))},_z4:function(){
var t=this;t.startAutoPlay();t.ev.on("rsAfterContentSet",function(
n,i){t._l2||t._r2||!t._a5||i!==t.currSlide||t._b5()});t.ev.on(
"rsDragRelease",function(){t._a5&&t._c5&&(t._c5=!1,t._b5())}
);t.ev.on("rsAfterSlideChange",function(){t._a5&&t._c5&&(t._c5=
!1,t.currSlide.isLoaded&&t._b5())});t.ev.on("rsDragStart",function(
){t._a5&&(t.st.autoPlay.stopAtAction?t.stopAutoPlay():(t._c5=
!0,t._d5()))});t.ev.on("rsBeforeMove",function(n,i,r){t._a5&&
(r&&t.st.autoPlay.stopAtAction?t.stopAutoPlay():(t._c5=!0,t.
_d5()))});t._e5=!1;t.ev.on("rsVideoStop",function(){t._a5&&(t.
_e5=!1,t._b5())});t.ev.on("rsVideoPlay",function(){t._a5&&(t.
_c5=!1,t._d5(),t._e5=!0)});n(window).on("blur"+t.ns,function(
){t._a5&&(t._c5=!0,t._d5())}).on("focus"+t.ns,function(){t._a5&&
t._c5&&(t._c5=!1,t._b5())});t.st.autoPlay.pauseOnHover&&(t._f5=
!1,t.slider.hover(function(){t._a5&&(t._c5=!1,t._d5(),t._f5=
!0)},function(){t._a5&&(t._f5=!1,t._b5())}))},toggleAutoPlay:
function(){this._a5?this.stopAutoPlay():this.startAutoPlay()}
,startAutoPlay:function(){this._a5=!0,this.currSlide.isLoaded&&
this._b5()},stopAutoPlay:function(){this._e5=this._f5=this._c5=
this._a5=!1,this._d5()},_b5:function(){var n=this;n._f5||n._e5||
(n._g5=!0,n._h5&&clearTimeout(n._h5),n._h5=setTimeout(function(
){var t;n._z||n.st.loopRewind||(t=!0,n.st.loopRewind=!0),n.next(
!0),t&&(n.st.loopRewind=!1)},n.currSlide.customDelay?n.currSlide.
customDelay:n.st.autoPlay.delay))},_d5:function(){this._f5||
this._e5||(this._g5=!1,this._h5&&(clearTimeout(this._h5),this.
_h5=null))}}),n.rsModules.autoplay=n.rsProto._x4}(jQuery),function(
n){n.extend(n.rsProto,{_i5:function(){var t=this;"bullets"===
t.st.controlNavigation&&(t.ev.one("rsAfterPropsSetup",function(
){t._j5=!0,t.slider.addClass("rsWithBullets");for(var i='<div class="rsNav rsBullets">',
r=0;r<t.numSlides;r++)i+='<div class="rsNavItem rsBullet"><span><\/span><\/div>';
t._k5=i=n(i+"<\/div>"),t._l5=i.appendTo(t.slider).children();
t._k5.on("click.rs",".rsNavItem",function(){t._m5||t.goTo(n(
this).index())})}),t.ev.on("rsOnAppendSlide",function(n,i,r)
{r>=t.numSlides?t._k5.append('<div class="rsNavItem rsBullet"><span><\/span><\/div>'):
t._l5.eq(r).before('<div class="rsNavItem rsBullet"><span><\/span><\/div>'),
t._l5=t._k5.children()}),t.ev.on("rsOnRemoveSlide",function(
n,i){var r=t._l5.eq(i);r&&r.length&&(r.remove(),t._l5=t._k5.
children())}),t.ev.on("rsOnUpdateNav",function(){var n=t.currSlideId;
t._n5&&t._n5.removeClass("rsNavSelected"),n=t._l5.eq(n),n.addClass(
"rsNavSelected"),t._n5=n}))}}),n.rsModules.bullets=n.rsProto.
_i5}(jQuery),function(n){n.extend(n.rsProto,{_o5:function(){
var t=this,u,i,r;if(t._p5={enabled:!1,change:!1,prefix:""},t.
st.deeplinking=n.extend({},t._p5,t.st.deeplinking),t.st.deeplinking.
enabled){var f=t.st.deeplinking.change,e="#"+t.st.deeplinking.
prefix,o=function(){var n=window.location.hash;return n&&(n=
parseInt(n.substring(e.length),10),0<=n)?n-1:-1},s=o();-1!==
s&&(t.st.startSlideId=s),f&&(n(window).on("hashchange"+t.ns,
function(){if(!u){var n=o();0>n||(n>t.numSlides-1&&(n=t.numSlides-
1),t.goTo(n))}}),t.ev.on("rsBeforeAnimStart",function(){i&&clearTimeout(
i),r&&clearTimeout(r)}),t.ev.on("rsAfterSlideChange",function(
){i&&clearTimeout(i),r&&clearTimeout(r),r=setTimeout(function(
){u=!0,window.location.replace((""+window.location).split("#")[
0]+e+(t.currSlideId+1)),i=setTimeout(function(){u=!1,i=null}
,60)},400)}));t.ev.on("rsBeforeDestroy",function(){i=r=null,
f&&n(window).off("hashchange"+t.ns)})}}}),n.rsModules.deeplinking=
n.rsProto._o5}(jQuery),function(n,t,i){function f(n){return n=
n||location.href,"#"+n.replace(/^[^#]*#?(.*)$/,"$1")}var h=document,
l,r=n.event.special,e=h.documentMode,a="onhashchange"in t&&(e===
i||7<e),u,s;n.fn.hashchange=function(n){return n?this.bind("hashchange",
n):this.trigger("hashchange")},n.fn.hashchange.delay=50,r.hashchange=
n.extend(r.hashchange,{setup:function(){if(a)return!1;n(l.start)}
,teardown:function(){if(a)return!1;n(l.stop)}});var v=function(
){var r=f(),i=p(c);r!==c?(y(c=r,i),n(t).trigger("hashchange"))
:i!==c&&(location.href=location.href.replace(/#.*/,"")+i),o=
setTimeout(v,n.fn.hashchange.delay)},r={},o,c=f(),y=e=function(
n){return n},p=e;r.start=function(){o||v()},r.stop=function(
){o&&clearTimeout(o),o=i},!t.attachEvent||t.addEventListener||
a||(r.start=function(){u||(s=(s=n.fn.hashchange.src)&&s+f(),
u=n('<iframe tabindex="-1" title="empty"/>').hide().one("load",
function(){s||y(f()),v()}).attr("src",s||"javascript:0").insertAfter(
"body")[0].contentWindow,h.onpropertychange=function(){try{"title"===
event.propertyName&&(u.document.title=h.title)}catch(n){}})}
,r.stop=e,p=function(){return f(u.location.href)},y=function(
t,i){var r=u.document,f=n.fn.hashchange.domain;t!==i&&(r.title=
h.title,r.open(),f&&r.write('<script>document.domain="'+f+'"<\/script>'),
r.close(),u.location.hash=t)}),l=r}(jQuery,this),function(n)
{n.extend(n.rsProto,{_q5:function(){var t=this;if(t._r5={enabled:
!1,keyboardNav:!0,buttonFS:!0,nativeFS:!1,doubleTap:!0},t.st.
fullscreen=n.extend({},t._r5,t.st.fullscreen),t.st.fullscreen.
enabled)t.ev.one("rsBeforeSizeSet",function(){t._s5()})},_s5:
function(){var t=this,r,i;if(t._t5=!t.st.keyboardNavEnabled&&
t.st.fullscreen.keyboardNav,t.st.fullscreen.nativeFS){if(t._u5=
{supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:
function(){},cancelFullScreen:function(){},fullScreenEventName:
"",prefix:""},r=["webkit","moz","o","ms","khtml"],!t.isAndroid)
if("undefined"!=typeof document.cancelFullScreen)t._u5.supportsFullScreen=
!0;else for(i=0;i<r.length;i++)if(t._u5.prefix=r[i],"undefined"!=
typeof document[t._u5.prefix+"CancelFullScreen"]){t._u5.supportsFullScreen=
!0;break}t._u5.supportsFullScreen?(t.nativeFS=!0,t._u5.fullScreenEventName=
t._u5.prefix+"fullscreenchange"+t.ns,t._u5.isFullScreen=function(
){switch(this.prefix){case"":return document.fullScreen;case"webkit":
return document.webkitIsFullScreen;default:return document[this.
prefix+"FullScreen"]}},t._u5.requestFullScreen=function(n){return""===
this.prefix?n.requestFullScreen():n[this.prefix+"RequestFullScreen"](
)},t._u5.cancelFullScreen=function(){return""===this.prefix?
document.cancelFullScreen():document[this.prefix+"CancelFullScreen"](
)}):t._u5=!1}t.st.fullscreen.buttonFS&&(t._v5=n('<div class="rsFullscreenBtn"><div class="rsFullscreenIcn"><\/div><\/div>').
appendTo(t._o1).on("click.rs",function(){t.isFullscreen?t.exitFullscreen(
):t.enterFullscreen()}))},enterFullscreen:function(t){var i=
this,r;if(i._u5)if(t)i._u5.requestFullScreen(n("html")[0]);else{
i._b.on(i._u5.fullScreenEventName,function(){i._u5.isFullScreen(
)?i.enterFullscreen(!0):i.exitFullscreen(!0)});i._u5.requestFullScreen(
n("html")[0]);return}if(!i._w5){i._w5=!0;i._b.on("keyup"+i.ns+
"fullscreen",function(n){27===n.keyCode&&i.exitFullscreen()}
);for(i._t5&&i._b2(),t=n(window),i._x5=t.scrollTop(),i._y5=t.
scrollLeft(),i._z5=n("html").attr("style"),i._a6=n("body").attr(
"style"),i._b6=i.slider.attr("style"),n("body, html").css({overflow:
"hidden",height:"100%",width:"100%",margin:"0",padding:"0"}),
i.slider.addClass("rsFullscreen"),r=0;r<i.numSlides;r++)t=i.
slides[r],t.isRendered=!1,t.bigImage&&(t.isBig=!0,t.isMedLoaded=
t.isLoaded,t.isMedLoading=t.isLoading,t.medImage=t.image,t.medIW=
t.iW,t.medIH=t.iH,t.slideId=-99,t.bigImage!==t.medImage&&(t.
sizeType="big"),t.isLoaded=t.isBigLoaded,t.isLoading=!1,t.image=
t.bigImage,t.images[0]=t.bigImage,t.iW=t.bigIW,t.iH=t.bigIH,
t.isAppended=t.contentAdded=!1,i._c6(t));i.isFullscreen=!0,i.
_w5=!1,i.updateSliderSize(),i.ev.trigger("rsEnterFullscreen")}
},exitFullscreen:function(t){var i=this,r;if(i._u5){if(!t){i.
_u5.cancelFullScreen(n("html")[0]);return}i._b.off(i._u5.fullScreenEventName)}
if(!i._w5){for(i._w5=!0,i._b.off("keyup"+i.ns+"fullscreen"),
i._t5&&i._b.off("keydown"+i.ns),n("html").attr("style",i._z5||
""),n("body").attr("style",i._a6||""),r=0;r<i.numSlides;r++)
t=i.slides[r],t.isRendered=!1,t.bigImage&&(t.isBig=!1,t.slideId=
-99,t.isBigLoaded=t.isLoaded,t.isBigLoading=t.isLoading,t.bigImage=
t.image,t.bigIW=t.iW,t.bigIH=t.iH,t.isLoaded=t.isMedLoaded,t.
isLoading=!1,t.image=t.medImage,t.images[0]=t.medImage,t.iW=
t.medIW,t.iH=t.medIH,t.isAppended=t.contentAdded=!1,i._c6(t,
!0),t.bigImage!==t.medImage&&(t.sizeType="med"));i.isFullscreen=
!1,t=n(window),t.scrollTop(i._x5),t.scrollLeft(i._y5),i._w5=
!1,i.slider.removeClass("rsFullscreen"),i.updateSliderSize(),
setTimeout(function(){i.updateSliderSize()},1),i.ev.trigger(
"rsExitFullscreen")}},_c6:function(t){var i=!t.isLoaded&&!t.
isLoading?'<a class="rsImg rsMainSlideImage" href="'+t.image+
'"><\/a>':'<img class="rsImg rsMainSlideImage" src="'+t.image+
'"/>';t.content.hasClass("rsImg")?t.content=n(i):t.content.find(
".rsImg").eq(0).replaceWith(i),t.isLoaded||t.isLoading||!t.holder||
t.holder.html(t.content)}}),n.rsModules.fullscreen=n.rsProto.
_q5}(jQuery),function(n){n.extend(n.rsProto,{_d6:function(){
var t=this;t.st.globalCaption&&(t.ev.on("rsAfterInit",function(
){t.globalCaption=n('<div class="rsGCaption"><\/div>').appendTo(
t.st.globalCaptionInside?t._e1:t.slider),t.globalCaption.html(
t.currSlide.caption)}),t.ev.on("rsBeforeAnimStart",function(
){t.globalCaption.html(t.currSlide.caption)}))}}),n.rsModules.
globalCaption=n.rsProto._d6}(jQuery),function(n){n.extend(n.
rsProto,{_e6:function(){var n=this;if(n.st.navAutoHide&&!n.hasTouch)
n.ev.one("rsAfterInit",function(){if(n._k5){n._k5.addClass("rsHidden");
var t=n.slider;t.one("mousemove.controlnav",function(){n._k5.
removeClass("rsHidden")});t.hover(function(){n._k5.removeClass(
"rsHidden")},function(){n._k5.addClass("rsHidden")})}})}}),n.
rsModules.autoHideNav=n.rsProto._e6}(jQuery),function(n){n.extend(
n.rsProto,{_f6:function(){var t=this;"tabs"===t.st.controlNavigation&&
(t.ev.on("rsBeforeParseNode",function(t,i,r){i=n(i),r.thumbnail=
i.find(".rsTmb").remove(),r.thumbnail.length?r.thumbnail=n(document.
createElement("div")).append(r.thumbnail).html():(r.thumbnail=
i.attr("data-rsTmb"),r.thumbnail||(r.thumbnail=i.find(".rsImg").
attr("data-rsTmb")),r.thumbnail=r.thumbnail?'<img src="'+r.thumbnail+
'"/>':"")}),t.ev.one("rsAfterPropsSetup",function(){t._g6()}
),t.ev.on("rsOnAppendSlide",function(n,i,r){r>=t.numSlides?t.
_k5.append('<div class="rsNavItem rsTab">'+i.thumbnail+"<\/div>"):
t._l5.eq(r).before('<div class="rsNavItem rsTab">'+item.thumbnail+
"<\/div>"),t._l5=t._k5.children()}),t.ev.on("rsOnRemoveSlide",
function(n,i){var r=t._l5.eq(i);r&&(r.remove(),t._l5=t._k5.children(
))}),t.ev.on("rsOnUpdateNav",function(){var n=t.currSlideId;
t._n5&&t._n5.removeClass("rsNavSelected"),n=t._l5.eq(n),n.addClass(
"rsNavSelected"),t._n5=n}))},_g6:function(){var t=this,i,r;for(
t._j5=!0,i='<div class="rsNav rsTabs">',r=0;r<t.numSlides;r++)
i+='<div class="rsNavItem rsTab">'+t.slides[r].thumbnail+"<\/div>";
i=n(i+"<\/div>"),t._k5=i,t._l5=i.children(".rsNavItem"),t.slider.
append(i),t._k5.click(function(i){i=n(i.target).closest(".rsNavItem"),
i.length&&t.goTo(i.index())})}}),n.rsModules.tabs=n.rsProto.
_f6}(jQuery),function(n){n.extend(n.rsProto,{_h6:function(){
var t=this;"thumbnails"===t.st.controlNavigation&&(t._i6={drag:
!0,touch:!0,orientation:"horizontal",navigation:!0,arrows:!0,
arrowLeft:null,arrowRight:null,spacing:4,arrowsAutoHide:!1,appendSpan:
!1,transitionSpeed:600,autoCenter:!0,fitInViewport:!0,firstMargin:
!0,paddingTop:0,paddingBottom:0},t.st.thumbs=n.extend({},t._i6,
t.st.thumbs),t._j6=!0,!1===t.st.thumbs.firstMargin?t.st.thumbs.
firstMargin=0:!0===t.st.thumbs.firstMargin&&(t.st.thumbs.firstMargin=
t.st.thumbs.spacing),t.ev.on("rsBeforeParseNode",function(t,
i,r){i=n(i),r.thumbnail=i.find(".rsTmb").remove(),r.thumbnail.
length?r.thumbnail=n(document.createElement("div")).append(r.
thumbnail).html():(r.thumbnail=i.attr("data-rsTmb"),r.thumbnail||
(r.thumbnail=i.find(".rsImg").attr("data-rsTmb")),r.thumbnail=
r.thumbnail?'<img src="'+r.thumbnail+'"/>':"")}),t.ev.one("rsAfterPropsSetup",
function(){t._k6()}),t._n5=null,t.ev.on("rsOnUpdateNav",function(
){var i=n(t._l5[t.currSlideId]);i!==t._n5&&(t._n5&&(t._n5.removeClass(
"rsNavSelected"),t._n5=null),t._l6&&t._m6(t.currSlideId),t._n5=
i.addClass("rsNavSelected"))}),t.ev.on("rsOnAppendSlide",function(
n,i,r){n="<div"+t._n6+' class="rsNavItem rsThumb">'+t._o6+i.
thumbnail+"<\/div>",r>=t.numSlides?t._s3.append(n):t._l5.eq(
r).before(n),t._l5=t._s3.children(),t.updateThumbsSize()}),t.
ev.on("rsOnRemoveSlide",function(n,i){var r=t._l5.eq(i);r&&(r.
remove(),t._l5=t._s3.children(),t.updateThumbsSize())}))},_k6:
function(){var t=this,u="rsThumbs",i=t.st.thumbs,r="",f,e,s=
i.spacing,o;for(t._j5=!0,t._e3="vertical"===i.orientation?!1:
!0,t._n6=f=s?' style="margin-'+(t._e3?"right":"bottom")+":"+
s+'px;"':"",t._i3=0,t._p6=!1,t._m5=!1,t._l6=!1,t._q6=i.arrows&&
i.navigation,e=t._e3?"Hor":"Ver",t.slider.addClass("rsWithThumbs rsWithThumbs"+
e),r+='<div class="rsNav rsThumbs rsThumbs'+e+'"><div class="'+
u+'Container">',t._o6=i.appendSpan?'<span class="thumbIco"><\/span>':
"",o=0;o<t.numSlides;o++)e=t.slides[o],r+="<div"+f+' class="rsNavItem rsThumb">'+
e.thumbnail+t._o6+"<\/div>";r=n(r+"<\/div><\/div>"),f={},i.paddingTop&&
(f[t._e3?"paddingTop":"paddingLeft"]=i.paddingTop),i.paddingBottom&&
(f[t._e3?"paddingBottom":"paddingRight"]=i.paddingBottom),r.
css(f),t._s3=n(r).find("."+u+"Container"),t._q6&&(u+="Arrow",
i.arrowLeft?t._r6=i.arrowLeft:(t._r6=n('<div class="'+u+" "+
u+'Left"><div class="'+u+'Icn"><\/div><\/div>'),r.append(t._r6))
,i.arrowRight?t._s6=i.arrowRight:(t._s6=n('<div class="'+u+" "+
u+'Right"><div class="'+u+'Icn"><\/div><\/div>'),r.append(t.
_s6)),t._r6.click(function(){var n=(Math.floor(t._i3/t._t6)+
t._u6)*t._t6;t._a4(n>t._n3?t._n3:n)}),t._s6.click(function()
{var n=(Math.floor(t._i3/t._t6)-t._u6)*t._t6;t._a4(n<t._o3?t.
_o3:n)}),i.arrowsAutoHide&&!t.hasTouch&&(t._r6.css("opacity",
0),t._s6.css("opacity",0),r.one("mousemove.rsarrowshover",function(
){t._l6&&(t._r6.css("opacity",1),t._s6.css("opacity",1))}),r.
hover(function(){t._l6&&(t._r6.css("opacity",1),t._s6.css("opacity",
1))},function(){t._l6&&(t._r6.css("opacity",0),t._s6.css("opacity",
0))}))),t._k5=r,t._l5=t._s3.children(),t.msEnabled&&t.st.thumbs.
navigation&&t._s3.css("-ms-touch-action",t._e3?"pan-y":"pan-x"),
t.slider.append(r),t._w3=!0,t._v6=s,i.navigation&&t._e&&t._s3.
css(t._g+"transition-property",t._g+"transform");t._k5.on("click.rs",
".rsNavItem",function(){t._m5||t.goTo(n(this).index())});t.ev.
off("rsBeforeSizeSet.thumbs").on("rsBeforeSizeSet.thumbs",function(
){t._w6=t._e3?t._c4:t._b4,t.updateThumbsSize(!0)})},updateThumbsSize:
function(){var n=this,i=n._l5.first(),t={},r=n._l5.length;n.
_t6=(n._e3?i.outerWidth():i.outerHeight())+n._v6,n._y3=r*n._t6-
n._v6,t[n._e3?"width":"height"]=n._y3+n._v6,n._z3=n._e3?n._k5.
width():n._k5.height(),n._o3=-(n._y3-n._z3)-n.st.thumbs.firstMargin,
n._n3=n.st.thumbs.firstMargin,n._u6=Math.floor(n._z3/n._t6),
n._y3<n._z3?(n.st.thumbs.autoCenter&&n._q3((n._z3-n._y3)/2),
n.st.thumbs.arrows&&n._r6&&(n._r6.addClass("rsThumbsArrowDisabled"),
n._s6.addClass("rsThumbsArrowDisabled")),n._l6=!1,n._m5=!1,n.
_k5.off(n._j1)):n.st.thumbs.navigation&&!n._l6&&(n._l6=!0,!n.
hasTouch&&n.st.thumbs.drag||n.hasTouch&&n.st.thumbs.touch)&&
(n._m5=!0,n._k5.on(n._j1,function(t){n._g2(t,!0)})),n._e&&(t[
n._g+"transition-duration"]="0ms"),n._s3.css(t),n._w3&&(n.isFullscreen||
n.st.thumbs.fitInViewport)&&(n._e3?n._c4=n._w6-n._k5.outerHeight(
):n._b4=n._w6-n._k5.outerWidth())},setThumbsOrientation:function(
n,t){this._w3&&(this.st.thumbs.orientation=n,this._k5.remove(
),this.slider.removeClass("rsWithThumbsHor rsWithThumbsVer"),
this._k6(),this._k5.off(this._j1),t||this.updateSliderSize(!0))
},_q3:function(n){this._i3=n,this._e?this._s3.css(this._x1,this.
_y1+(this._e3?n+this._z1+0:0+this._z1+n)+this._a2):this._s3.
css(this._e3?this._x1:this._w1,n)},_a4:function(t,i,r,u,f){var
e=this,o;e._l6&&(i||(i=e.st.thumbs.transitionSpeed),e._i3=t,
e._x6&&clearTimeout(e._x6),e._p6&&(e._e||e._s3.stop(),r=!0),
o={},e._p6=!0,e._e?(o[e._g+"transition-duration"]=i+"ms",o[e.
_g+"transition-timing-function"]=r?n.rsCSS3Easing[e.st.easeOut]:
n.rsCSS3Easing[e.st.easeInOut],e._s3.css(o),e._q3(t)):(o[e._e3?
e._x1:e._w1]=t+"px",e._s3.animate(o,i,r?"easeOutCubic":e.st.
easeInOut)),u&&(e._i3=u),e._y6(),e._x6=setTimeout(function()
{e._p6=!1,f&&(e._a4(u,f,!0),f=null)},i))},_y6:function(){this.
_q6&&(this._i3===this._n3?this._r6.addClass("rsThumbsArrowDisabled"):
this._r6.removeClass("rsThumbsArrowDisabled"),this._i3===this.
_o3?this._s6.addClass("rsThumbsArrowDisabled"):this._s6.removeClass(
"rsThumbsArrowDisabled"))},_m6:function(n,t){var r=0,i,f=n*this.
_t6+2*this._t6-this._v6+this._n3,u=Math.floor(this._i3/this.
_t6);this._l6&&(this._j6&&(t=!0,this._j6=!1),f+this._i3>this.
_z3?(n===this.numSlides-1&&(r=1),u=-n+this._u6-2+r,i=u*this.
_t6+this._z3%this._t6+this._v6-this._n3):0!==n?(n-1)*this._t6<=
-this._i3+this._n3&&n-1<=this.numSlides-this._u6&&(i=(-n+1)*
this._t6+this._n3):i=this._n3,i!==this._i3&&(r=void 0===i?this.
_i3:i,r>this._n3?this._q3(this._n3):r<this._o3?this._q3(this.
_o3):void 0!==i&&(t?this._q3(i):this._a4(i))),this._y6())}}),
n.rsModules.thumbnails=n.rsProto._h6}(jQuery),function(n){n.
extend(n.rsProto,{_z6:function(){var t=this,i;t._a7={autoHideArrows:
!0,autoHideControlNav:!1,autoHideBlocks:!1,autoHideCaption:!1,
disableCSS3inFF:!0,youTubeCode:'<iframe src="http://www.youtube.com/embed/%id%?rel=1&autoplay=1&showinfo=0&autoplay=1&wmode=transparent" frameborder="no"><\/iframe>',
vimeoCode:'<iframe src="http://player.vimeo.com/video/%id%?byline=0&amp;portrait=0&amp;autoplay=1" frameborder="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>'},
t.st.video=n.extend({},t._a7,t.st.video);t.ev.on("rsBeforeSizeSet",
function(){t._b7&&setTimeout(function(){var n=t._r1,n=n.hasClass(
"rsVideoContainer")?n:n.find(".rsVideoContainer");t._c7&&t._c7.
css({width:n.width(),height:n.height()})},32)});i=t._a.mozilla;
t.ev.on("rsAfterParseNode",function(r,u,f){if(r=n(u),f.videoURL)
{t.st.video.disableCSS3inFF&&i&&(t._e=t._f=!1),u=n('<div class="rsVideoContainer"><\/div>');
var e=n('<div class="rsBtnCenterer"><div class="rsPlayBtn"><div class="rsPlayBtnIcon"><\/div><\/div><\/div>');
r.hasClass("rsImg")?f.content=u.append(r).append(e):f.content.
find(".rsImg").wrap(u).after(e)}});t.ev.on("rsAfterSlideChange",
function(){t.stopVideo()})},toggleVideo:function(){return this.
_b7?this.stopVideo():this.playVideo()},playVideo:function(){
var t=this,r,i,f,u;return t._b7?!1:(i=t.currSlide,!i.videoURL)?
!1:(r=t._d7=i.content,i=i.videoURL,i.match(/youtu\.be/i)||i.
match(/youtube\.com/i)?(u=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,
(u=i.match(u))&&11==u[7].length&&(f=u[7]),void 0!==f&&(t._c7=
t.st.video.youTubeCode.replace("%id%",f))):i.match(/vimeo\.com/i)&&
(u=/(www\.)?vimeo.com\/(\d+)($|\/)/,(u=i.match(u))&&(f=u[2])
,void 0!==f&&(t._c7=t.st.video.vimeoCode.replace("%id%",f)))
,t.videoObj=n(t._c7),t.ev.trigger("rsOnCreateVideoElement",[
i]),t.videoObj.length&&(t._c7=n('<div class="rsVideoFrameHolder"><div class="rsPreloader"><\/div><div class="rsCloseVideoBtn"><div class="rsCloseVideoIcn"><\/div><\/div><\/div>'),
t._c7.find(".rsPreloader").after(t.videoObj),r=r.hasClass("rsVideoContainer")?
r:r.find(".rsVideoContainer"),t._c7.css({width:r.width(),height:
r.height()}).find(".rsCloseVideoBtn").off("click.rsv").on("click.rsv",
function(n){return t.stopVideo(),n.preventDefault(),n.stopPropagation(
),!1}),r.append(t._c7),t.isIPAD&&r.addClass("rsIOSVideo"),t.
_e7(!1),setTimeout(function(){t._c7.addClass("rsVideoActive")}
,10),t.ev.trigger("rsVideoPlay"),t._b7=!0),!0)},stopVideo:function(
){var n=this;return n._b7?(n.isIPAD&&n.slider.find(".rsCloseVideoBtn").
remove(),n._e7(!0),setTimeout(function(){n.ev.trigger("rsOnDestroyVideoElement",
[n.videoObj]);var t=n._c7.find("iframe");if(t.length)try{t.attr(
"src","")}catch(i){}n._c7.remove(),n._c7=null},16),n.ev.trigger(
"rsVideoStop"),n._b7=!1,!0):!1},_e7:function(n){var t=[],i=this.
st.video;if(i.autoHideArrows&&(this._c2&&(t.push(this._c2,this.
_d2),this._e2=!n),this._v5&&t.push(this._v5)),i.autoHideControlNav&&
this._k5&&t.push(this._k5),i.autoHideBlocks&&this.currSlide.
animBlocks&&t.push(this.currSlide.animBlocks),i.autoHideCaption&&
this.globalCaption&&t.push(this.globalCaption),t.length)for(
i=0;i<t.length;i++)n?t[i].removeClass("rsHidden"):t[i].addClass(
"rsHidden")}}),n.rsModules.video=n.rsProto._z6}(jQuery),function(
n){n.rsProto._f7=function(){var t=this;t.st.visibleNearby&&t.
st.visibleNearby.enabled&&(t._g7={enabled:!0,centerArea:.6,center:
!0,breakpoint:0,breakpointCenterArea:.8,hiddenOverflow:!0,navigateByCenterClick:
!1},t.st.visibleNearby=n.extend({},t._g7,t.st.visibleNearby),
t.ev.one("rsAfterPropsSetup",function(){t._h7=t._e1.css("overflow",
"visible").wrap('<div class="rsVisibleNearbyWrap"><\/div>').
parent(),t.st.visibleNearby.hiddenOverflow||t._h7.css("overflow",
"visible"),t._o1=t.st.controlsInside?t._h7:t.slider}),t.ev.on(
"rsAfterSizePropSet",function(){var n,i=t.st.visibleNearby;n=
i.breakpoint&&t.width<i.breakpoint?i.breakpointCenterArea:i.
centerArea,t._h?(t._b4*=n,t._h7.css({height:t._c4,width:t._b4/
n}),t._d=t._b4*(1-n)/2/n):(t._c4*=n,t._h7.css({height:t._c4/
n,width:t._b4}),t._d=t._c4*(1-n)/2/n),i.navigateByCenterClick||
(t._q=t._h?t._b4:t._c4),i.center&&t._e1.css("margin-"+(t._h?
"left":"top"),t._d)}))},n.rsModules.visibleNearby=n.rsProto.
_f7}(jQuery)