!function(n){"use strict";n(function(){n.support.transition=function(){var n=function(){var i=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(i.style[n]!==undefined)return t[n]}();return n&&{end:n}}()})}(window.jQuery),!function(n){"use strict";var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.prototype.close=function(t){function f(){i.trigger("closed").remove()}var u=n(this),r=u.attr("data-target"),i;(r||(r=u.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=n(r),t&&t.preventDefault(),i.length||(i=u.hasClass("alert")?u:u.parent()),i.trigger(t=n.Event("close")),t.isDefaultPrevented())||(i.removeClass("in"),n.support.transition&&i.hasClass("fade")?i.on(n.support.transition.end,f):f())},r=n.fn.alert,n.fn.alert=function(i){return this.each(function(){var r=n(this),u=r.data("alert");u||r.data("alert",u=new t(this)),typeof i=="string"&&u[i].call(r)})},n.fn.alert.Constructor=t,n.fn.alert.noConflict=function(){return n.fn.alert=r,this},n(document).on("click.alert.data-api",i,t.prototype.close)}(window.jQuery),!function(n){"use strict";var t=function(t,i){this.$element=n(t),this.options=n.extend({},n.fn.button.defaults,i)},i;t.prototype.setState=function(n){var i="disabled",t=this.$element,r=t.data(),u=t.is("input")?"val":"html";n+="Text",r.resetText||t.data("resetText",t[u]()),t[u](r[n]||this.options[n]),setTimeout(function(){n=="loadingText"?t.addClass(i).attr(i,i):t.removeClass(i).removeAttr(i)},0)},t.prototype.toggle=function(){var n=this.$element.closest('[data-toggle="buttons-radio"]');n&&n.find(".active").removeClass("active"),this.$element.toggleClass("active")},i=n.fn.button,n.fn.button=function(i){return this.each(function(){var u=n(this),r=u.data("button"),f=typeof i=="object"&&i;r||u.data("button",r=new t(this,f)),i=="toggle"?r.toggle():i&&r.setState(i)})},n.fn.button.defaults={loadingText:"loading..."},n.fn.button.Constructor=t,n.fn.button.noConflict=function(){return n.fn.button=i,this},n(document).on("click.button.data-api","[data-toggle^=button]",function(t){var i=n(t.target);i.hasClass("btn")||(i=i.closest(".btn")),i.button("toggle")})}(window.jQuery),!function(n){"use strict";var t=function(t,i){this.$element=n(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.options.pause=="hover"&&this.$element.on("mouseenter",n.proxy(this.pause,this)).on("mouseleave",n.proxy(this.cycle,this))},i;t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var i=this.getActiveIndex(),r=this;if(!(t>this.$items.length-1)&&!(t<0))return this.sliding?this.$element.one("slid",function(){r.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",n(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition.end&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(!this.sliding)return this.slide("next")},prev:function(){if(!this.sliding)return this.slide("prev")},slide:function(t,i){var e=this.$element.find(".item.active"),r=i||e[t](),s=this.interval,u=t=="next"?"left":"right",h=t=="next"?"first":"last",o=this,f;if(this.sliding=!0,s&&this.pause(),r=r.length?r:this.$element.find(".item")[h](),f=n.Event("slide",{relatedTarget:r[0],direction:u}),!r.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=n(o.$indicators.children()[o.getActiveIndex()]);t&&t.addClass("active")})),n.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(f),f.isDefaultPrevented())return;r.addClass(t),r[0].offsetWidth,e.addClass(u),r.addClass(u),this.$element.one(n.support.transition.end,function(){r.removeClass([t,u].join(" ")).addClass("active"),e.removeClass(["active",u].join(" ")),o.sliding=!1,setTimeout(function(){o.$element.trigger("slid")},0)})}else{if(this.$element.trigger(f),f.isDefaultPrevented())return;e.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}}},i=n.fn.carousel,n.fn.carousel=function(i){return this.each(function(){var f=n(this),r=f.data("carousel"),u=n.extend({},n.fn.carousel.defaults,typeof i=="object"&&i),e=typeof i=="string"?i:u.slide;r||f.data("carousel",r=new t(this,u)),typeof i=="number"?r.to(i):e?r[e]():u.interval&&r.pause().cycle()})},n.fn.carousel.defaults={interval:5e3,pause:"hover"},n.fn.carousel.Constructor=t,n.fn.carousel.noConflict=function(){return n.fn.carousel=i,this},n(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var i=n(this),u,r=n(i.attr("data-target")||(u=i.attr("href"))&&u.replace(/.*(?=#[^\s]+$)/,"")),e=n.extend({},r.data(),i.data()),f;r.carousel(e),(f=i.attr("data-slide-to"))&&r.data("carousel").pause().to(f).cycle(),t.preventDefault()})}(window.jQuery),!function(n){"use strict";var t=function(t,i){this.$element=n(t),this.options=n.extend({},n.fn.collapse.defaults,i),this.options.parent&&(this.$parent=n(this.options.parent)),this.options.toggle&&this.toggle()},i;t.prototype={constructor:t,dimension:function(){var n=this.$element.hasClass("width");return n?"width":"height"},show:function(){var i,u,t,r;if(!this.transitioning&&!this.$element.hasClass("in")){if(i=this.dimension(),u=n.camelCase(["scroll",i].join("-")),t=this.$parent&&this.$parent.find("> .accordion-group > .in"),t&&t.length){if(r=t.data("collapse"),r&&r.transitioning)return;t.collapse("hide"),r||t.data("collapse",null)}this.$element[i](0),this.transition("addClass",n.Event("show"),"shown"),n.support.transition&&this.$element[i](this.$element[0][u])}},hide:function(){var t;!this.transitioning&&this.$element.hasClass("in")&&(t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",n.Event("hide"),"hidden"),this.$element[t](0))},reset:function(n){var t=this.dimension();return this.$element.removeClass("collapse")[t](n||"auto")[0].offsetWidth,this.$element[n!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,i,r){var u=this,f=function(){i.type=="show"&&u.reset(),u.transitioning=0,u.$element.trigger(r)};(this.$element.trigger(i),i.isDefaultPrevented())||(this.transitioning=1,this.$element[t]("in"),n.support.transition&&this.$element.hasClass("collapse")?this.$element.one(n.support.transition.end,f):f())},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},i=n.fn.collapse,n.fn.collapse=function(i){return this.each(function(){var r=n(this),u=r.data("collapse"),f=n.extend({},n.fn.collapse.defaults,r.data(),typeof i=="object"&&i);u||r.data("collapse",u=new t(this,f)),typeof i=="string"&&u[i]()})},n.fn.collapse.defaults={toggle:!0},n.fn.collapse.Constructor=t,n.fn.collapse.noConflict=function(){return n.fn.collapse=i,this},n(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var i=n(this),u,r=i.attr("data-target")||t.preventDefault()||(u=i.attr("href"))&&u.replace(/.*(?=#[^\s]+$)/,""),f=n(r).data("collapse")?"toggle":i.data();i[n(r).hasClass("in")?"addClass":"removeClass"]("collapsed"),n(r).collapse(f)})}(window.jQuery),!function(n){"use strict";function u(){n(i).each(function(){r(n(this)).removeClass("open")})}function r(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length||(r=t.parent()),r}var i="[data-toggle=dropdown]",t=function(t){var i=n(t).on("click.dropdown.data-api",this.toggle);n("html").on("click.dropdown.data-api",function(){i.parent().removeClass("open")})},f;t.prototype={constructor:t,toggle:function(){var i=n(this),f,e;if(!i.is(".disabled, :disabled"))return f=r(i),e=f.hasClass("open"),u(),e||f.toggleClass("open"),i.focus(),!1},keydown:function(t){var e,f,h,o,s,u;if(/(38|40|27)/.test(t.keyCode)&&(e=n(this),t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled"))){if(o=r(e),s=o.hasClass("open"),!s||s&&t.keyCode==27)return t.which==27&&o.find(i).focus(),e.click();(f=n("[role=menu] li:not(.divider):visible a",o),f.length)&&(u=f.index(f.filter(":focus")),t.keyCode==38&&u>0&&u--,t.keyCode==40&&u<f.length-1&&u++,~u||(u=0),f.eq(u).focus())}}},f=n.fn.dropdown,n.fn.dropdown=function(i){return this.each(function(){var r=n(this),u=r.data("dropdown");u||r.data("dropdown",u=new t(this)),typeof i=="string"&&u[i].call(r)})},n.fn.dropdown.Constructor=t,n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this},n(document).on("click.dropdown.data-api",u).on("click.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("click.dropdown-menu",function(n){n.stopPropagation()}).on("click.dropdown.data-api",i,t.prototype.toggle).on("keydown.dropdown.data-api",i+", [role=menu]",t.prototype.keydown)}(window.jQuery),!function(n){"use strict";var t=function(t,i){this.options=i,this.$element=n(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",n.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)},i;t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,i=n.Event("show");(this.$element.trigger(i),this.isShown||i.isDefaultPrevented())||(this.isShown=!0,this.escape(),this.backdrop(function(){var i=n.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),i&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),i?t.$element.one(n.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")}))},hide:function(t){t&&t.preventDefault();var i=this;(t=n.Event("hide"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented())&&(this.isShown=!1,this.escape(),n(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),n.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal())},enforceFocus:function(){var t=this;n(document).on("focusin.modal",function(n){t.$element[0]!==n.target&&!t.$element.has(n.target).length&&t.$element.focus()})},escape:function(){var n=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&n.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,i=setTimeout(function(){t.$element.off(n.support.transition.end),t.hideModal()},500);this.$element.one(n.support.transition.end,function(){clearTimeout(i),t.hideModal()})},hideModal:function(){var n=this;this.$element.hide(),this.backdrop(function(){n.removeBackdrop(),n.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var u=this,r=this.$element.hasClass("fade")?"fade":"",i;if(this.isShown&&this.options.backdrop){if(i=n.support.transition&&r,this.$backdrop=n('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?n.proxy(this.$element[0].focus,this.$element[0]):n.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;i?this.$backdrop.one(n.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(n.support.transition.end,t):t()):t&&t()}},i=n.fn.modal,n.fn.modal=function(i){return this.each(function(){var u=n(this),r=u.data("modal"),f=n.extend({},n.fn.modal.defaults,u.data(),typeof i=="object"&&i);r||u.data("modal",r=new t(this,f)),typeof i=="string"?r[i]():f.show&&r.show()})},n.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},n.fn.modal.Constructor=t,n.fn.modal.noConflict=function(){return n.fn.modal=i,this},n(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var i=n(this),r=i.attr("href"),u=n(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),f=u.data("modal")?"toggle":n.extend({remote:!/#/.test(r)&&r},u.data(),i.data());t.preventDefault(),u.modal(f).one("hide",function(){i.focus()})})}(window.jQuery),!function(n){"use strict";var t=function(n,t){this.init("tooltip",n,t)},i;t.prototype={constructor:t,init:function(t,i,r){var o,s,f,u,e;for(this.type=t,this.$element=n(i),this.options=this.getOptions(r),this.enabled=!0,f=this.options.trigger.split(" "),e=f.length;e--;)u=f[e],u=="click"?this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this)):u!="manual"&&(o=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this)));this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=n.extend({},n.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var u=n.fn[this.type].defaults,r={},i;if(this._options&&n.each(this._options,function(n,t){u[n]!=t&&(r[n]=t)},this),i=n(t.currentTarget)[this.type](r).data(this.type),!i.options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)},leave:function(t){var i=n(t.currentTarget)[this.type](this._options).data(this.type);if(this.timeout&&clearTimeout(this.timeout),!i.options.delay||!i.options.delay.hide)return i.hide();i.hoverState="out",this.timeout=setTimeout(function(){i.hoverState=="out"&&i.hide()},i.options.delay.hide)},show:function(){var i,t,u,f,e,r,o=n.Event("show");if(this.hasContent()&&this.enabled){if(this.$element.trigger(o),o.isDefaultPrevented())return;i=this.tip(),this.setContent(),this.options.animation&&i.addClass("fade"),e=typeof this.options.placement=="function"?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,i.detach().css({top:0,left:0,display:"block"}),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element),t=this.getPosition(),u=i[0].offsetWidth,f=i[0].offsetHeight;switch(e){case"bottom":r={top:t.top+t.height,left:t.left+t.width/2-u/2};break;case"top":r={top:t.top-f,left:t.left+t.width/2-u/2};break;case"left":r={top:t.top+t.height/2-f/2,left:t.left-u};break;case"right":r={top:t.top+t.height/2-f/2,left:t.left+t.width}}this.applyPlacement(r,e),this.$element.trigger("shown")}},applyPlacement:function(n,t){var i=this.tip(),s=i[0].offsetWidth,f=i[0].offsetHeight,u,r,e,o;i.offset(n).addClass(t).addClass("in"),u=i[0].offsetWidth,r=i[0].offsetHeight,t=="top"&&r!=f&&(n.top=n.top+f-r,o=!0),t=="bottom"||t=="top"?(e=0,n.left<0&&(e=n.left*-2,n.left=0,i.offset(n),u=i[0].offsetWidth,r=i[0].offsetHeight),this.replaceArrow(e-s+u,u,"left")):this.replaceArrow(r-f,r,"top"),o&&i.offset(n)},replaceArrow:function(n,t,i){this.arrow().css(i,n?50*(1-n/t)+"%":"")},setContent:function(){var n=this.tip(),t=this.getTitle();n.find(".tooltip-inner")[this.options.html?"html":"text"](t),n.removeClass("fade in top bottom left right")},hide:function(){function r(){var i=setTimeout(function(){t.off(n.support.transition.end).detach()},500);t.one(n.support.transition.end,function(){clearTimeout(i),t.detach()})}var u=this,t=this.tip(),i=n.Event("hide");if(this.$element.trigger(i),!i.isDefaultPrevented())return t.removeClass("in"),n.support.transition&&this.$tip.hasClass("fade")?r():t.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var n=this.$element;(n.attr("title")||typeof n.attr("data-original-title")!="string")&&n.attr("data-original-title",n.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return n.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var i,t=this.$element,n=this.options;return i=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),i},tip:function(){return this.$tip=this.$tip||n(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var i=t?n(t.currentTarget)[this.type](this._options).data(this.type):this;i.tip().hasClass("in")?i.hide():i.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}},i=n.fn.tooltip,n.fn.tooltip=function(i){return this.each(function(){var u=n(this),r=u.data("tooltip"),f=typeof i=="object"&&i;r||u.data("tooltip",r=new t(this,f)),typeof i=="string"&&r[i]()})},n.fn.tooltip.Constructor=t,n.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},n.fn.tooltip.noConflict=function(){return n.fn.tooltip=i,this}}(window.jQuery),!function(n){"use strict";var t=function(n,t){this.init("popover",n,t)},i;t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var n=this.tip(),t=this.getTitle(),i=this.getContent();n.find(".popover-title")[this.options.html?"html":"text"](t),n.find(".popover-content")[this.options.html?"html":"text"](i),n.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var i,t=this.$element,n=this.options;return i=(typeof n.content=="function"?n.content.call(t[0]):n.content)||t.attr("data-content"),i},tip:function(){return this.$tip||(this.$tip=n(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}}),i=n.fn.popover,n.fn.popover=function(i){return this.each(function(){var u=n(this),r=u.data("popover"),f=typeof i=="object"&&i;r||u.data("popover",r=new t(this,f)),typeof i=="string"&&r[i]()})},n.fn.popover.Constructor=t,n.fn.popover.defaults=n.extend({},n.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(window.jQuery),!function(n){"use strict";function t(t,i){var u=n.proxy(this.process,this),f=n(t).is("body")?n(window):n(t),r;this.options=n.extend({},n.fn.scrollspy.defaults,i),this.$scrollElement=f.on("scroll.scroll-spy.data-api",u),this.selector=(this.options.target||(r=n(t).attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=n("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,i;this.offsets=n([]),this.targets=n([]),i=this.$body.find(this.selector).map(function(){var u=n(this),i=u.data("target")||u.attr("href"),r=/^#\w/.test(i)&&n(i);return r&&r.length&&[[r.position().top+(!n.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),i]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var i=this.$scrollElement.scrollTop()+this.options.offset,f=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,e=f-this.$scrollElement.height(),t=this.offsets,r=this.targets,u=this.activeTarget,n;if(i>=e)return u!=(n=r.last()[0])&&this.activate(n);for(n=t.length;n--;)u!=r[n]&&i>=t[n]&&(!t[n+1]||i<=t[n+1])&&this.activate(r[n])},activate:function(t){var i,r;this.activeTarget=t,n(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=n(r).parent("li").addClass("active"),i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate")}};var i=n.fn.scrollspy;n.fn.scrollspy=function(i){return this.each(function(){var u=n(this),r=u.data("scrollspy"),f=typeof i=="object"&&i;r||u.data("scrollspy",r=new t(this,f)),typeof i=="string"&&r[i]()})},n.fn.scrollspy.Constructor=t,n.fn.scrollspy.defaults={offset:10},n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=i,this},n(window).on("load",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);t.scrollspy(t.data())})})}(window.jQuery),!function(n){"use strict";var t=function(t){this.element=n(t)},i;t.prototype={constructor:t,show:function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),i=t.attr("data-target"),r,u,f;(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),t.parent("li").hasClass("active"))||(r=e.find(".active:last a")[0],f=n.Event("show",{relatedTarget:r}),t.trigger(f),f.isDefaultPrevented())||(u=n(i),this.activate(t.parent("li"),e),this.activate(u,u.parent(),function(){t.trigger({type:"shown",relatedTarget:r})}))},activate:function(t,i,r){function f(){u.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),e?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var u=i.find("> .active"),e=r&&n.support.transition&&u.hasClass("fade");e?u.one(n.support.transition.end,f):f(),u.removeClass("in")}},i=n.fn.tab,n.fn.tab=function(i){return this.each(function(){var u=n(this),r=u.data("tab");r||u.data("tab",r=new t(this)),typeof i=="string"&&r[i]()})},n.fn.tab.Constructor=t,n.fn.tab.noConflict=function(){return n.fn.tab=i,this},n(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),n(this).tab("show")})}(window.jQuery),!function(n){"use strict";var t=function(t,i){this.$element=n(t),this.options=n.extend({},n.fn.typeahead.defaults,i),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=n(this.options.menu),this.shown=!1,this.listen()},i;t.prototype={constructor:t,select:function(){var n=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(n)).change(),this.hide()},updater:function(n){return n},show:function(){var t=n.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(){var i;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(i=n.isFunction(this.source)?this.source(this.query,n.proxy(this.process,this)):this.source,i?this.process(i):this)},process:function(t){var i=this;return t=n.grep(t,function(n){return i.matcher(n)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(n){return~n.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(n){for(var i=[],r=[],u=[],t;t=n.shift();)t.toLowerCase().indexOf(this.query.toLowerCase())?~t.indexOf(this.query)?r.push(t):u.push(t):i.push(t);return i.concat(r,u)},highlighter:function(n){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return n.replace(new RegExp("("+t+")","ig"),function(n,t){return"<strong>"+t+"</strong>"})},render:function(t){var i=this;return t=n(t).map(function(t,r){return t=n(i.options.item).attr("data-value",r),t.find("a").html(i.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(){var r=this.$menu.find(".active").removeClass("active"),i=r.next();i.length||(i=n(this.$menu.find("li")[0])),i.addClass("active")},prev:function(){var i=this.$menu.find(".active").removeClass("active"),t=i.prev();t.length||(t=this.$menu.find("li").last()),t.addClass("active")},listen:function(){this.$element.on("focus",n.proxy(this.focus,this)).on("blur",n.proxy(this.blur,this)).on("keypress",n.proxy(this.keypress,this)).on("keyup",n.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",n.proxy(this.keydown,this)),this.$menu.on("click",n.proxy(this.click,this)).on("mouseenter","li",n.proxy(this.mouseenter,this)).on("mouseleave","li",n.proxy(this.mouseleave,this))},eventSupported:function(n){var t=n in this.$element;return t||(this.$element.setAttribute(n,"return;"),t=typeof this.$element[n]=="function"),t},move:function(n){if(this.shown){switch(n.keyCode){case 9:case 13:case 27:n.preventDefault();break;case 38:n.preventDefault(),this.prev();break;case 40:n.preventDefault(),this.next()}n.stopPropagation()}},keydown:function(t){this.suppressKeyPressRepeat=~n.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(n){this.suppressKeyPressRepeat||this.move(n)},keyup:function(n){switch(n.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}n.stopPropagation(),n.preventDefault()},focus:function(){this.focused=!0},blur:function(){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(n){n.stopPropagation(),n.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),n(t.currentTarget).addClass("active")},mouseleave:function(){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}},i=n.fn.typeahead,n.fn.typeahead=function(i){return this.each(function(){var u=n(this),r=u.data("typeahead"),f=typeof i=="object"&&i;r||u.data("typeahead",r=new t(this,f)),typeof i=="string"&&r[i]()})},n.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},n.fn.typeahead.Constructor=t,n.fn.typeahead.noConflict=function(){return n.fn.typeahead=i,this},n(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(){var i=n(this);i.data("typeahead")||i.typeahead(i.data())})}(window.jQuery),!function(n){"use strict";var t=function(t,i){this.options=n.extend({},n.fn.affix.defaults,i),this.$window=n(window).on("scroll.affix.data-api",n.proxy(this.checkPosition,this)).on("click.affix.data-api",n.proxy(function(){setTimeout(n.proxy(this.checkPosition,this),1)},this)),this.$element=n(t),this.checkPosition()},i;t.prototype.checkPosition=function(){if(this.$element.is(":visible")){var o=n(document).height(),f=this.$window.scrollTop(),e=this.$element.offset(),t=this.options.offset,r=t.bottom,u=t.top,s="affix affix-top affix-bottom",i;(typeof t!="object"&&(r=u=t),typeof u=="function"&&(u=t.top()),typeof r=="function"&&(r=t.bottom()),i=this.unpin!=null&&f+this.unpin<=e.top?!1:r!=null&&e.top+this.$element.height()>=o-r?"bottom":u!=null&&f<=u?"top":!1,this.affixed!==i)&&(this.affixed=i,this.unpin=i=="bottom"?e.top-f:null,this.$element.removeClass(s).addClass("affix"+(i?"-"+i:"")))}},i=n.fn.affix,n.fn.affix=function(i){return this.each(function(){var u=n(this),r=u.data("affix"),f=typeof i=="object"&&i;r||u.data("affix",r=new t(this,f)),typeof i=="string"&&r[i]()})},n.fn.affix.Constructor=t,n.fn.affix.defaults={offset:0},n.fn.affix.noConflict=function(){return n.fn.affix=i,this},n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var i=n(this),t=i.data();t.offset=t.offset||{},t.offsetBottom&&(t.offset.bottom=t.offsetBottom),t.offsetTop&&(t.offset.top=t.offsetTop),i.affix(t)})})}(window.jQuery),function(n){function t(t,i,r,u){function e(){f.afterLoaded(),f.settings.hideFramesUntilPreloaded&&f.settings.preloader&&f.sequence.children("li").show(),f.settings.preloader?f.settings.hidePreloaderUsingCSS&&f.transitionsSupported?(f.prependPreloadingCompleteTo=f.settings.prependPreloadingComplete==1?f.settings.preloader:n(f.settings.prependPreloadingComplete),f.prependPreloadingCompleteTo.addClass("preloading-complete"),setTimeout(o,f.settings.hidePreloaderDelay)):f.settings.preloader.fadeOut(f.settings.hidePreloaderDelay,function(){clearInterval(f.defaultPreloader),o()}):o()}function o(){function r(n){f.containerLeft=f.container.position().left,f.containerRight=f.containerLeft+f.container.width(),f.containerTop=f.container.position().top,f.containerBottom=f.containerTop+f.container.height();var t=n.pageX,i=n.pageY;t>=f.containerLeft&&t<=f.containerRight&&i>=f.containerTop&&i<=f.containerBottom&&(f.settings.autoPlay=!1,clearTimeout(f.sequenceTimer),f.settings.pauseIcon!==undefined&&f.settings.pauseIcon.show(),f.settings.pauseButton!==undefined&&f.settings.pauseButton.addClass("paused"),f.paused(),f.sequence.unbind("mousemove"))}var i,u,t;if(n(f.settings.preloader).remove(),f.settings.nextButton=f.init.uiElements(f.settings.nextButton,".next"),f.settings.prevButton=f.init.uiElements(f.settings.prevButton,".prev"),f.settings.pauseButton=f.init.uiElements(f.settings.pauseButton,".pause"),f.settings.nextButton!==undefined&&f.settings.nextButton!==!1&&f.settings.showNextButtonOnInit&&f.settings.nextButton.show(),f.settings.prevButton!==undefined&&f.settings.prevButton!==!1&&f.settings.showPrevButtonOnInit&&f.settings.prevButton.show(),f.settings.pauseButton!==undefined&&f.settings.pauseButton!==!1&&f.settings.pauseButton.show(),f.settings.pauseIcon!==!1?(f.settings.pauseIcon=f.init.uiElements(f.settings.pauseIcon,".pause-icon"),f.settings.pauseIcon!==undefined&&f.settings.pauseIcon.hide()):f.settings.pauseIcon=undefined,f.hasTouch&&(f.settings.calculatedSwipeThreshold=f.container.width()*(f.settings.swipeThreshold/100)),f.nextFrameID=f.settings.startingFrameID,f.nextFrame=f.sequence.children("li:nth-child("+f.nextFrameID+")"),f.settings.hashTags&&(f.sequence.children("li").each(function(){f.frameHashID.push(n(this).attr(f.getHashTagFrom))}),f.currentHashTag=location.hash.replace("#",""),f.currentHashTag===undefined||f.currentHashTag===""?f.nextFrameID=f.settings.startingFrameID:(f.frameHashIndex=n.inArray(f.currentHashTag,f.frameHashID),f.nextFrameID=f.frameHashIndex!==-1?f.frameHashIndex+1:f.settings.startingFrameID)),f.nextFrame=f.sequence.children("li:nth-child("+f.nextFrameID+")"),f.nextFrameChildren=f.nextFrame.children(),f.direction,f.sequence.css({width:"100%",height:"100%",position:"relative"}),f.sequence.children("li").css({width:"100%",height:"100%",position:"absolute"}),f.transitionsSupported?f.settings.animateStartingFrameIn?f.settings.reverseAnimationsWhenNavigatingBackwards&&f.settings.autoPlayDirection-1&&f.settings.animateStartingFrameIn?(f.modifyElements(f.nextFrameChildren,"0s"),f.nextFrameChildren.addClass("animate-out"),f.goTo(f.nextFrameID,-1)):f.goTo(f.nextFrameID,1):(f.currentFrame=f.nextFrame.addClass("current-frame"),f.settings.moveActiveFrameToTop&&f.currentFrame.css("z-index",f.numberOfFrames),f.currentFrameChildren=f.currentFrame.children(),f.currentFrameID=f.nextFrameID,f.modifyElements(f.currentFrameChildren,"0s"),f.currentFrameChildren.addClass("animate-in"),f.settings.hashChangesOnFirstFrame&&(f.currentHashTag=f.currentFrame.attr(f.getHashTagFrom),document.location.hash="#"+f.currentHashTag),setTimeout(function(){f.modifyElements(f.currentFrameChildren,"")},100),f.settings.autoPlay&&(i=function(){f.autoPlaySequence()},clearTimeout(f.sequenceTimer),f.sequenceTimer=setTimeout(i,f.settings.autoPlayDelay,f))):(f.container.addClass("sequence-fallback"),f.currentFrame=f.nextFrame,f.currentFrame.addClass("current-frame"),f.beforeNextFrameAnimatesIn(),f.afterNextFrameAnimatesIn(),f.settings.hashChangesOnFirstFrame&&(f.currentHashTag=f.currentFrame.attr(f.getHashTagFrom),document.location.hash="#"+f.currentHashTag),f.currentFrameChildren=f.currentFrame.children(),f.currentFrameID=f.nextFrameID,f.sequence.children("li").children().addClass("animate-in"),f.sequence.children(":not(li:nth-child("+f.nextFrameID+"))").css({display:"none",opacity:0}),f.settings.autoPlay&&(i=function(){f.autoPlaySequence()},clearTimeout(f.sequenceTimer),f.sequenceTimer=setTimeout(i,f.settings.autoPlayDelay,f))),f.settings.nextButton!==undefined&&f.settings.nextButton.click(function(){f.next()}),f.settings.prevButton!==undefined&&f.settings.prevButton.click(function(){f.prev()}),f.settings.pauseButton!==undefined&&f.settings.pauseButton.click(function(){f.pause()}),f.settings.keyNavigation&&(u={left:37,right:39},n(document).keydown(function(n){function i(n,t){var i;for(keyCodes in t)i=keyCodes==="left"||keyCodes==="right"?u[keyCodes]:keyCodes,n===i&&f.initCustomKeyEvent(t[keyCodes])}var t=parseFloat(String.fromCharCode(n.keyCode));t>0&&t<=f.numberOfFrames&&f.settings.numericKeysGoToFrames&&(f.nextFrameID=t,f.goTo(t)),i(n.keyCode,f.settings.keyEvents),i(n.keyCode,f.settings.customKeyEvents)})),f.settings.pauseOnHover&&!f.settings.pauseOnElementsOutsideContainer&&f.settings.autoPlay?(f.hoverEvent=f.sequence.mousemove(function(n){r(n)}),f.sequence.mouseleave(function(){f.settings.autoPlay=!0;var t=function(){f.autoPlaySequence()};clearTimeout(f.sequenceTimer),f.sequenceTimer=setTimeout(t,f.settings.autoPlayDelay,f),f.settings.pauseIcon!==undefined&&f.settings.pauseIcon.hide(),f.settings.pauseButton!==undefined&&f.settings.pauseButton.removeClass("paused"),f.unpaused(),f.sequence.data("events").mousemove===undefined&&f.sequence.mousemove(function(n){r(n)})})):f.settings.pauseOnHover&&f.settings.autoPlay&&(f.hoverEvent=f.sequence.hover(function(){f.settings.autoPlay=!1,clearTimeout(f.sequenceTimer),f.settings.pauseIcon!==undefined&&f.settings.pauseIcon.show(),f.settings.pauseButton!==undefined&&f.settings.pauseButton.addClass("paused"),f.paused()},function(){f.settings.autoPlay=!0;var n=function(){f.autoPlaySequence()};clearTimeout(f.sequenceTimer),f.sequenceTimer=setTimeout(n,f.settings.autoPlayDelay,f),f.settings.pauseIcon!==undefined&&f.settings.pauseIcon.hide(),f.settings.pauseButton!==undefined&&f.settings.pauseButton.removeClass("paused"),f.unpaused()})),f.settings.hashTags&&n(window).hashchange(function(){newTag=location.hash.replace("#",""),f.currentHashTag!==newTag&&(f.currentHashTag=newTag,f.frameHashIndex=n.inArray(f.currentHashTag,f.frameHashID),f.frameHashIndex!==-1&&(f.nextFrameID=f.frameHashIndex+1,f.goTo(f.nextFrameID)))}),f.settings.swipeNavigation&&f.hasTouch){t={touchstartX:-1,touchstartY:-1,touchmoveX:-1,touchmoveY:-1};f.sequence.on("touchstart touchmove touchend",function(n){f.settings.swipePreventsDefault&&n.preventDefault();switch(n.originalEvent.type){case"touchmove":case"touchstart":t[n.originalEvent.type+"X"]=n.originalEvent.touches[0].pageX,t[n.originalEvent.type+"Y"]=n.originalEvent.touches[0].pageY;break;case"touchend":if(t.touchmoveX!==-1){var i=t.touchmoveX-t.touchstartX,r=t.touchmoveY-t.touchstartY;Math.abs(i)>Math.abs(r)&&i>f.settings.calculatedSwipeThreshold?f.initCustomKeyEvent(f.settings.swipeEvents.right):Math.abs(i)>Math.abs(r)&&Math.abs(i)>f.settings.calculatedSwipeThreshold?f.initCustomKeyEvent(f.settings.swipeEvents.left):Math.abs(r)>Math.abs(i)&&r>f.settings.calculatedSwipeThreshold?f.initCustomKeyEvent(f.settings.swipeEvents.down):Math.abs(r)>Math.abs(i)&&Math.abs(r)>f.settings.calculatedSwipeThreshold&&f.initCustomKeyEvent(f.settings.swipeEvents.up),t={touchstartX:-1,touchstartY:-1,touchmoveX:-1,touchmoveY:-1}}}})}n(window).resize(function(){f.settings.calculatedSwipeThreshold=f.container.width()*(f.settings.swipeThreshold/100)})}var f=this,v,a,h,c;f.container=n(t),f.sequence=f.container.children("ul");try{if(Modernizr.prefixed,Modernizr.prefixed===undefined)throw"undefined";}catch(b){u.modernizr()}if(v={WebkitTransition:"-webkit-",MozTransition:"-moz-",OTransition:"-o-",msTransition:"-ms-",transition:""},a={WebkitTransition:"webkitTransitionEnd webkitAnimationEnd",MozTransition:"transitionend animationend",OTransition:"oTransitionEnd oAnimationEnd otransitionend oanimationend",msTransition:"MSTransitionEnd MSAnimationEnd",transition:"transitionend animationend"},f.prefix=v[Modernizr.prefixed("transition")],f.transitionEnd=a[Modernizr.prefixed("transition")],f.transitionProperties={},f.numberOfFrames=f.sequence.children("li").length,f.transitionsSupported=f.prefix!==undefined?!0:!1,f.hasTouch="ontouchstart"in window?!0:!1,f.sequenceTimer,f.isPaused=!1,f.hoverEvent,f.defaultPreloader,f.init={preloader:function(t){f.prependTo=f.settings.prependPreloader==1?f.container:f.settings.prependPreloader;switch(t){case!0:case undefined:return u.defaultPreloader(f.prependTo,f.transitionsSupported,f.prefix),f.transitionsSupported||f.preloaderFallback(),n(".sequence-preloader");case!1:break;default:return this.CSSSelectorToHTML(t),n(t)}},uiElements:function(t,i){switch(t){case!1:return undefined;case!0:return i===".sequence-preloader"&&u.defaultPreloader(f.container,f.transitionsSupported,f.prefix),n(i);default:return n(t)}}},f.paused=function(){},f.unpaused=function(){},f.beforeNextFrameAnimatesIn=function(){},f.afterNextFrameAnimatesIn=function(){},f.beforeCurrentFrameAnimatesOut=function(){},f.afterCurrentFrameAnimatesOut=function(){},f.beforeFirstFrameAnimatesIn=function(){},f.afterFirstFrameAnimatesIn=function(){},f.beforeLastFrameAnimatesIn=function(){},f.afterLastFrameAnimatesIn=function(){},f.afterLoaded=function(){},f.settings=n.extend({},r,i),f.settings.preloader=f.init.uiElements(f.settings.preloader,".sequence-preloader"),f.firstFrame=f.settings.animateStartingFrameIn?!0:!1,f.currentHashTag,f.getHashTagFrom=f.settings.hashDataAttribute?"data-sequence-hashtag":"id",f.frameHashID=[],f.settings.hideFramesUntilPreloaded&&f.settings.preloader&&f.sequence.children("li").hide(),f.prefix==="-o-"&&(f.transitionsSupported=u.operaTest()),f.modifyElements(f.sequence.children("li").children(),"0s"),f.sequence.children("li").children().removeClass("animate-in"),h=f.settings.preloadTheseFrames.length,c=f.settings.preloadTheseImages.length,f.settings.preloader&&(h!==0||c!==0)){function l(t,i){var u=[],r;if(i)for(r=t;r>0;r--)u.push(n("body").find('img[src="'+f.settings.preloadTheseImages[r-1]+'"]')[0]);else for(r=t;r>0;r--)f.sequence.children("li:nth-child("+f.settings.preloadTheseFrames[r-1]+")").find("img").each(function(){u.push(n(this)[0])});return u}var y=l(h),p=l(c,!0),s=n(y.concat(p)),w=s.length;s.length?s.bind("load",function(){--w<=0&&e()}).each(function(){if(this.complete||this.complete===undefined){var n=this.src;this.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",this.src=n}}):e()}else n(window).bind("load",function(){e(),n(this).unbind("load")})}t.prototype={preloaderFallback:function(){function i(){t=t===1?0:1,n(".sequence-preloader img:nth-child(1)").animate({opacity:t},100),n(".sequence-preloader img:nth-child(2)").animate({opacity:t},350),n(".sequence-preloader img:nth-child(3)").animate({opacity:t},600)}var r=this,t=0;i(),r.defaultPreloader=setInterval(function(){i()},600)},initCustomKeyEvent:function(n){var t=this;switch(n){case"next":t.next();break;case"prev":t.prev();break;case"pause":t.pause()}},autoPlaySequence:function(){var t=this;t.settings.autoPlayDirection===1?t.next():t.prev()},modifyElements:function(n,t){var i=this;n.css(i.prefixCSS(i.prefix,{"transition-duration":t,"transition-delay":t}))},prefixCSS:function(n,t){var i={};for(property in t)i[n+property]=t[property];return i},setTransitionProperties:function(){var i=this;i.modifyElements(i.frameChildren,""),i.frameChildren.each(function(){i.transitionProperties["transition-duration"]=n(this).css(i.prefix+"transition-duration"),i.transitionProperties["transition-delay"]=n(this).css(i.prefix+"transition-delay"),n(this).css(i.prefixCSS(i.prefix,i.transitionProperties))})},pause:function(){var n=this;n.settings.autoPlay?(n.settings.pauseButton!==undefined&&(n.settings.pauseButton.addClass("paused"),n.settings.pauseIcon!==undefined&&n.settings.pauseIcon.show()),n.paused(),n.stopAutoPlay()):(n.settings.pauseButton!==undefined&&(n.settings.pauseButton.removeClass("paused"),n.settings.pauseIcon!==undefined&&n.settings.pauseIcon.hide()),n.unpaused(),n.startAutoPlay(n.settings.unpauseDelay))},startAutoPlay:function(n,t){var i=this,r;n=n===undefined?0:n,i.settings.autoPlayDelay=t===undefined?i.settings.autoPlayDelay:t,i.settings.autoPlay=!0,r=function(){i.autoPlaySequence()},clearTimeout(i.sequenceTimer),i.sequenceTimer=setTimeout(r,n,i),i.settings.pauseOnHover&&(i.hoverEvent=i.sequence.hover(function(){i.settings.autoPlay=!1,clearTimeout(i.sequenceTimer),i.settings.pauseIcon!==undefined&&i.settings.pauseIcon.show(),i.settings.pauseButton!==undefined&&i.settings.pauseButton.addClass("paused"),i.paused()},function(){i.settings.autoPlay=!0;var n=function(){i.autoPlaySequence()};clearTimeout(i.sequenceTimer),i.sequenceTimer=setTimeout(n,i.settings.autoPlayDelay,i),i.settings.pauseIcon!==undefined&&i.settings.pauseIcon.hide(),i.settings.pauseButton!==undefined&&i.settings.pauseButton.removeClass("paused"),i.unpaused()}))},stopAutoPlay:function(){var n=this;n.settings.autoPlay=!1,clearTimeout(n.sequenceTimer),n.hoverEvent!==undefined&&n.hoverEvent.unbind()},next:function(){var n=this;n.active||(n.settings.cycle||!n.settings.cycle&&n.currentFrameID!==n.numberOfFrames?(n.isPaused&&(n.isPaused=!1,n.startAutoPlay()),n.nextFrameID=n.currentFrameID!==n.numberOfFrames?n.currentFrameID+1:1,n.goTo(n.nextFrameID,1)):n.settings.autoPlayDirection===1&&(n.isPaused=!0,n.stopAutoPlay()))},prev:function(){var n=this;n.active||(n.settings.cycle||!n.settings.cycle&&n.currentFrameID!==1?(n.isPaused&&(n.isPaused=!1,n.startAutoPlay()),n.nextFrameID=n.currentFrameID===1?n.numberOfFrames:n.currentFrameID-1,n.goTo(n.nextFrameID,-1)):n.settings.autoPlayDirection===-1&&(n.isPaused=!0,n.stopAutoPlay()))},goTo:function(t,i){var r=this,u;if(t===r.numberOfFrames?r.beforeLastFrameAnimatesIn():t===1&&r.beforeFirstFrameAnimatesIn(),r.currentFrame!==undefined&&t===r.currentFrame.index()+1)return!1;if(!r.active)if(r.active=!0,r.currentFrame=r.sequence.children(".current-frame"),r.nextFrame=r.sequence.children("li:nth-child("+t+")"),r.direction=i===undefined?t>r.currentFrameID?1:-1:i,r.frameChildren=r.currentFrame.children(),r.nextFrameChildren=r.nextFrame.children(),r.transitionsSupported)if(r.currentFrame.length!==0&&(r.beforeCurrentFrameAnimatesOut(),r.animateOut(r.direction)),u=function(){r.animateIn(r.direction),r.currentFrameID=t},r.firstFrame)u();else switch(r.settings.transitionThreshold){case!0:r.waitForAnimationsToComplete(r.currentFrame,r.frameChildren,"out");break;case!1:u();break;default:setTimeout(u,r.settings.transitionThreshold)}else switch(r.settings.fallback.theme){case"slide":var f={},u={},e={};r.direction===1?(f.left="-100%",u.left="100%"):(f.left="100%",u.left="-100%"),e.left="0%",e.opacity=1,r.beforeCurrentFrameAnimatesOut(),r.currentFrame.removeClass("current-frame").animate(f,r.settings.fallback.speed,function(){}),r.beforeNextFrameAnimatesIn(),r.nextFrame.addClass("current-frame").show().css(u).animate(e,r.settings.fallback.speed,function(){if(r.currentFrame=r.nextFrame,r.settings.hashTags&&(r.currentHashTag=r.currentFrame.attr(r.getHashTagFrom),r.frameHashIndex=n.inArray(r.currentHashTag,r.frameHashID),r.frameHashIndex!==-1?(r.nextFrameID=r.frameHashIndex+1,document.location.hash="#"+r.currentHashTag):r.nextFrameID=r.settings.startingFrameID),r.currentFrameID=r.currentFrame.index()+1,r.active=!1,r.afterNextFrameAnimatesIn(),r.settings.autoPlay){var t=function(){r.autoPlaySequence()};clearTimeout(r.sequenceTimer),r.sequenceTimer=setTimeout(t,r.settings.autoPlayDelay,r)}});break;case"fade":default:r.sequence.children("li").css({position:"relative"}),r.beforeCurrentFrameAnimatesOut(),r.currentFrame.animate({opacity:0},r.settings.fallback.speed,function(){if(r.currentFrame.css({display:"none","z-index":"1"}),r.currentFrame.removeClass("current-frame"),r.beforeNextFrameAnimatesIn(),r.nextFrame.addClass("current-frame").css({display:"block","z-index":r.numberOfFrames}).animate({opacity:1},500,function(){r.afterNextFrameAnimatesIn()}),r.currentFrame=r.nextFrame,r.currentFrameID=r.currentFrame.index()+1,r.active=!1,r.settings.autoPlay){var n=function(){r.autoPlaySequence()};clearTimeout(r.sequenceTimer),r.sequenceTimer=setTimeout(n,r.settings.autoPlayDelay,r)}}),r.sequence.children("li").css({position:"relative"})}},animateOut:function(n){var t=this;t.settings.moveActiveFrameToTop&&t.currentFrame.css("z-index",1),t.currentFrame.removeClass("current-frame"),t.nextFrame.addClass("next-frame"),t.settings.reverseAnimationsWhenNavigatingBackwards&&n!==1||(t.modifyElements(t.nextFrameChildren,"0s"),t.nextFrameChildren.removeClass("animate-out"),t.modifyElements(t.frameChildren,""),t.frameChildren.addClass("animate-out").removeClass("animate-in")),t.settings.reverseAnimationsWhenNavigatingBackwards&&n===-1&&(t.modifyElements(t.nextFrameChildren,"0s"),t.nextFrameChildren.addClass("animate-out"),t.setTransitionProperties(t.frameChildren),t.frameChildren.removeClass("animate-in")),t.settings.transitionThreshold&&t.waitForAnimationsToComplete(t.currentFrame,t.currentFrame.children(),"out",!0)},animateIn:function(n){var t=this;t.active=!0,t.currentFrame.unbind(t.transitionEnd),t.currentFrame=t.nextFrame,t.currentFrameID=n===1?t.currentFrameID!==t.numberOfFrames?t.currentFrameID+1:1:t.currentFrameID!==1?t.currentFrameID-1:t.numberOfFrames,t.nextFrameChildren=t.nextFrame.children(),t.frameChildren=t.currentFrame.children(),t.beforeNextFrameAnimatesIn(),t.settings.moveActiveFrameToTop&&t.nextFrame.css({"z-index":t.numberOfFrames}),!t.settings.reverseAnimationsWhenNavigatingBackwards||n===1?setTimeout(function(){t.modifyElements(t.frameChildren,""),t.frameChildren.addClass("animate-in"),t.waitForAnimationsToComplete(t.nextFrame,t.nextFrameChildren,"in"),t.settings.transitionThreshold!==!0&&t.afterCurrentFrameAnimatesOut!="function () {}"&&t.waitForAnimationsToComplete(t.currentFrame,t.currentFrame.children(),"out")},50):t.settings.reverseAnimationsWhenNavigatingBackwards&&n===-1&&setTimeout(function(){t.setTransitionProperties(t.frameChildren),t.frameChildren.addClass("animate-in").removeClass("animate-out"),t.waitForAnimationsToComplete(t.nextFrame,t.nextFrameChildren,"in"),t.settings.transitionThreshold!==!0&&t.afterCurrentFrameAnimatesOut!="function () {}"&&t.waitForAnimationsToComplete(t.currentFrame,t.currentFrame.children(),"out")},50)},waitForAnimationsToComplete:function(t,i,r,u){var f=this,e;r==="out"?e=function(){f.active=!1,t.unbind(f.transitionEnd),f.afterCurrentFrameAnimatesOut(),u&&f.animateIn(f.direction)}:r==="in"&&(e=function(){if(t.unbind(f.transitionEnd),f.afterNextFrameAnimatesIn(),f.settings.hashTags&&(f.currentHashTag=f.currentFrame.attr(f.getHashTagFrom),f.frameHashIndex=n.inArray(f.currentHashTag,f.frameHashID),f.frameHashIndex!==-1&&(f.settings.hashChangesOnFirstFrame||!f.firstFrame)?(f.nextFrameID=f.frameHashIndex+1,document.location.hash="#"+f.currentHashTag):(f.nextFrameID=f.settings.startingFrameID,f.firstFrame=!1)),f.currentFrameID===f.numberOfFrames?f.afterLastFrameAnimatesIn():f.currentFrameID===1&&f.afterFirstFrameAnimatesIn(),f.nextFrame.removeClass("next-frame").addClass("current-frame"),f.active=!1,f.settings.autoPlay){var i=function(){f.autoPlaySequence()};clearTimeout(f.sequenceTimer),f.sequenceTimer=setTimeout(i,f.settings.autoPlayDelay,f)}}),i.each(function(){n(this).data("animationEnded",!1)}),f.currentFrame.bind(f.transitionEnd,function(t){n(t.target).data("animationEnded",!0);var r=!0;i.each(function(){n(this).data("animationEnded")===!1&&(r=!1)}),r&&e()})}},n.fn.sequence=function(u){var f=this;return f.each(function(){var f=new t(n(this),u,r,i);n(this).data("sequence",f)})};var i={modernizr:function(){window.Modernizr=function(n,t,i){function v(n){b.cssText=n}function u(n,t){return typeof n===t}function tt(n,t){return!!~(""+n).indexOf(t)}function k(n,t){var u,r;for(u in n)if(r=n[u],!tt(r,"-")&&b[r]!==i)return t=="pfx"?r:!0;return!1}function ut(n,t,r){var e,f;for(e in n)if(f=t[n[e]],f!==i)return r===!1?n[e]:u(f,"function")?f.bind(r||t):f;return!1}function l(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),f=(n+" "+p.join(r+" ")+r).split(" ");return u(t,"string")||u(t,"undefined")?k(f,t):(f=(n+" "+a.join(r+" ")+r).split(" "),ut(f,t,i))}var ft="2.6.1",r={},rt=t.documentElement,it="modernizr",d=t.createElement(it),b=d.style,g,st={}.toString,w="Webkit Moz O ms",p=w.split(" "),a=w.toLowerCase().split(" "),nt={svg:"http://www.w3.org/2000/svg"},e={},et={},ot={},y=[],c=y.slice,f,h={}.hasOwnProperty,o,s;o=!u(h,"undefined")&&!u(h.call,"undefined")?function(n,t){return h.call(n,t)}:function(n,t){return t in n&&u(n.constructor.prototype[t],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(n){var t=self,i,r;if(typeof t!="function")throw new TypeError;return i=c.call(arguments,1),r=function(){var e,f,u;return self instanceof r?(e=function(){},e.prototype=t.prototype,f=new e,u=t.apply(f,i.concat(c.call(arguments))),Object(u)===u?u:f):t.apply(n,i.concat(c.call(arguments)))},r}),e.svg=function(){return!!t.createElementNS&&!!t.createElementNS(nt.svg,"svg").createSVGRect};for(s in e)o(e,s)&&(f=s.toLowerCase(),r[f]=e[s](),y.push((r[f]?"":"no-")+f));return r.addTest=function(n,t){if(typeof n=="object")for(var u in n)o(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t,enableClasses&&(rt.className+=" "+(t?"":"no-")+n),r[n]=t}return r},v(""),d=g=null,r._version=ft,r._domPrefixes=a,r._cssomPrefixes=p,r.testProp=function(n){return k([n])},r.testAllProps=l,r.prefixed=function(n,t,i){return t?l(n,t,i):l(n,"pfx")},r}(self,self.document)},defaultPreloader:function(t,i,r){var u='<div class="sequence-preloader"><svg class="preloading" xmlns="http://www.w3.org/2000/svg"><circle class="circle" cx="6" cy="6" r="6" /><circle class="circle" cx="22" cy="6" r="6" /><circle class="circle" cx="38" cy="6" r="6" /></svg></div>';n("head").append("<style>.sequence-preloader{height: 100%;position: absolute;width: 100%;z-index: 999999;}@"+r+"keyframes preload{0%{opacity: 1;}50%{opacity: 0;}100%{opacity: 1;}}.sequence-preloader .preloading .circle{fill: #ff9442;display: inline-block;height: 12px;position: relative;top: -50%;width: 12px;"+r+"animation: preload 1s infinite; animation: preload 1s infinite;}.preloading{display:block;height: 12px;margin: 0 auto;top: 50%;margin-top:-6px;position: relative;width: 48px;}.sequence-preloader .preloading .circle:nth-child(2){"+r+"animation-delay: .15s; animation-delay: .15s;}.sequence-preloader .preloading .circle:nth-child(3){"+r+"animation-delay: .3s; animation-delay: .3s;}.preloading-complete{opacity: 0;visibility: hidden;"+r+"transition-duration: 1s; transition-duration: 1s;}div.inline{background-color: #ff9442; margin-right: 4px; float: left;}</style>"),t.prepend(u),Modernizr.svg||i?i||setInterval(function(){n(".sequence-preloader").fadeToggle(500)},500):(n(".sequence-preloader").prepend('<div class="preloading"><div class="circle inline"></div><div class="circle inline"></div><div class="circle inline"></div></div>'),setInterval(function(){n(".sequence-preloader .circle").fadeToggle(500)},500))},operaTest:function(){n("body").append('<span id="sequence-opera-test"></span>');var t=n("#sequence-opera-test");return t.css("-o-transition","1s"),t.css("-o-transition")!="1s"?!1:!0}},r={startingFrameID:1,cycle:!0,animateStartingFrameIn:!1,transitionThreshold:1e3,reverseAnimationsWhenNavigatingBackwards:!0,moveActiveFrameToTop:!0,autoPlay:!0,autoPlayDirection:1,autoPlayDelay:5e3,nextButton:!1,showNextButtonOnInit:!0,prevButton:!1,showPrevButtonOnInit:!0,pauseButton:!1,unpauseDelay:0,pauseOnHover:!0,pauseIcon:!1,pauseOnElementsOutsideContainer:!1,preloader:!0,preloadTheseFrames:[1],preloadTheseImages:[],hideFramesUntilPreloaded:!0,prependPreloadingComplete:!0,hidePreloaderUsingCSS:!0,hidePreloaderDelay:0,keyNavigation:!0,numericKeysGoToFrames:!0,keyEvents:{left:"prev",right:"next"},customKeyEvents:{},swipeNavigation:!0,swipeThreshold:15,swipePreventsDefault:!1,swipeEvents:{left:"prev",right:"next",up:!1,down:!1},hashTags:!1,hashDataAttribute:!1,hashChangesOnFirstFrame:!1,fallback:{theme:"slide",speed:500}}}(jQuery),function(n){function t(n,t,i,r){if("addEventListener"in n)try{n.addEventListener(t,i,r)}catch(u){if(typeof i=="object"&&i.handleEvent)n.addEventListener(t,function(n){i.handleEvent.call(i,n)},r);else throw u;}else"attachEvent"in n&&(typeof i=="object"&&i.handleEvent?n.attachEvent("on"+t,function(){i.handleEvent.call(i)}):n.attachEvent("on"+t,i))}function i(n,t,i,r){if("removeEventListener"in n)try{n.removeEventListener(t,i,r)}catch(u){if(typeof i=="object"&&i.handleEvent)n.removeEventListener(t,function(n){i.handleEvent.call(i,n)},r);else throw u;}else"detachEvent"in n&&(typeof i=="object"&&i.handleEvent?n.detachEvent("on"+t,function(){i.handleEvent.call(i)}):n.detachEvent("on"+t,i))}window.MBP=window.MBP||{},MBP.viewportmeta=n.querySelector&&n.querySelector('meta[name="viewport"]'),MBP.ua=navigator.userAgent,MBP.scaleFix=function(){MBP.viewportmeta&&/iPhone|iPad|iPod/.test(MBP.ua)&&!/Opera Mini/.test(MBP.ua)&&(MBP.viewportmeta.content="width=device-width, minimum-scale=1.0, maximum-scale=1.0",n.addEventListener("gesturestart",MBP.gestureStart,!1))},MBP.gestureStart=function(){MBP.viewportmeta.content="width=device-width, minimum-scale=0.25, maximum-scale=1.6"},MBP.BODY_SCROLL_TOP=!1,MBP.getScrollTop=function(){var i=window,t=n;return i.pageYOffset||t.compatMode==="CSS1Compat"&&t.documentElement.scrollTop||t.body.scrollTop||0},MBP.hideUrlBar=function(){var n=window;location.hash||MBP.BODY_SCROLL_TOP===!1||n.scrollTo(0,MBP.BODY_SCROLL_TOP===1?0:1)},MBP.hideUrlBarOnLoad=function(){var n=window,t=n.document;!location.hash&&n.addEventListener&&(window.scrollTo(0,1),MBP.BODY_SCROLL_TOP=1,bodycheck=setInterval(function(){t.body&&(clearInterval(bodycheck),MBP.BODY_SCROLL_TOP=MBP.getScrollTop(),MBP.hideUrlBar())},15),n.addEventListener("load",function(){setTimeout(function(){MBP.getScrollTop()<20&&MBP.hideUrlBar()},0)}))},MBP.fastButton=function(n,i){this.element=n,this.handler=i,t(n,"touchstart",this,!1),t(n,"click",this,!1)},MBP.fastButton.prototype.handleEvent=function(n){n=n||window.event;switch(n.type){case"touchstart":this.onTouchStart(n);break;case"touchmove":this.onTouchMove(n);break;case"touchend":this.onClick(n);break;case"click":this.onClick(n)}},MBP.fastButton.prototype.onTouchStart=function(t){t.stopPropagation(),this.element.addEventListener("touchend",this,!1),n.body.addEventListener("touchmove",this,!1),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY,this.element.style.backgroundColor="rgba(0,0,0,.7)"},MBP.fastButton.prototype.onTouchMove=function(n){(Math.abs(n.touches[0].clientX-this.startX)>10||Math.abs(n.touches[0].clientY-this.startY)>10)&&this.reset()},MBP.fastButton.prototype.onClick=function(n){n=n||window.event,n.stopPropagation&&n.stopPropagation(),this.reset(),this.handler(n),n.type=="touchend"&&MBP.preventGhostClick(this.startX,this.startY),this.element.style.backgroundColor=""},MBP.fastButton.prototype.reset=function(){i(this.element,"touchend",this,!1),i(n.body,"touchmove",this,!1),this.element.style.backgroundColor=""},MBP.preventGhostClick=function(n,t){MBP.coords.push(n,t),window.setTimeout(function(){MBP.coords.splice(0,2)},2500)},MBP.ghostClickHandler=function(n){var t,i,r,u;if(!MBP.hadTouchEvent&&"ontouchstart"in window){n.stopPropagation(),n.preventDefault();return}for(t=0,i=MBP.coords.length;t<i;t+=2)r=MBP.coords[t],u=MBP.coords[t+1],Math.abs(n.clientX-r)<25&&Math.abs(n.clientY-u)<25&&(n.stopPropagation(),n.preventDefault())},n.addEventListener&&n.addEventListener("click",MBP.ghostClickHandler,!0),t(n.documentElement,"touchstart",function(){MBP.hadTouchEvent=!0},!1),MBP.coords=[],MBP.splash=function(){var t=navigator.platform==="iPad"?"h/":"l/";n.write('<link rel="apple-touch-startup-image" href="/img/'+t+'splash.png" />')},MBP.autogrow=function(n,t){function r(){var t=this.scrollHeight,r=this.clientHeight;t>r&&(this.style.height=t+3*i+"px")}var u=t?t:12,i=n.currentStyle?n.currentStyle.lineHeight:getComputedStyle(n,null).lineHeight;i=i.indexOf("px")==-1?u:parseInt(i,10),n.style.overflow="hidden",n.addEventListener?n.addEventListener("keyup",r,!1):n.attachEvent("onkeyup",r)},MBP.enableActive=function(){n.addEventListener("touchstart",function(){},!1)},MBP.viewportMeta=$('meta[name="viewport"]'),MBP.preventZoom=function(){$("input, select, textarea").bind("focus blur",function(n){MBP.viewportMeta.attr("content","width=device-width,initial-scale=1,maximum-scale="+(n.type=="blur"?10:1))})}}(document),function(n){n.fn.slides=function(t){return t=n.extend({},n.fn.slides.option,t),this.each(function(){function c(f,c,l){if(!h&&k){h=!0,t.animationStart(o+1);switch(f){case"next":s=o,u=o+1,u=a===u?0:u,w=e*2,f=-e*2,o=u;break;case"prev":s=o,u=o-1,u=u===-1?a-1:u,w=0,f=0,o=u;break;case"pagination":u=parseInt(l,10),s=n("."+t.paginationClass+" li."+t.currentClass+" a",r).attr("href").match("[^#/]+$"),u>s?(w=e*2,f=-e*2):(w=0,f=0),o=u}c==="fade"?t.crossfade?i.children(":eq("+u+")",r).css({zIndex:10}).fadeIn(t.fadeSpeed,t.fadeEasing,function(){t.autoHeight?i.animate({height:i.children(":eq("+u+")",r).outerHeight()},t.autoHeightSpeed,function(){i.children(":eq("+s+")",r).css({display:"none",zIndex:0}),i.children(":eq("+u+")",r).css({zIndex:0}),t.animationComplete(u+1),h=!1}):(i.children(":eq("+s+")",r).css({display:"none",zIndex:0}),i.children(":eq("+u+")",r).css({zIndex:0}),t.animationComplete(u+1),h=!1)}):i.children(":eq("+s+")",r).fadeOut(t.fadeSpeed,t.fadeEasing,function(){t.autoHeight?i.animate({height:i.children(":eq("+u+")",r).outerHeight()},t.autoHeightSpeed,function(){i.children(":eq("+u+")",r).fadeIn(t.fadeSpeed,t.fadeEasing)}):i.children(":eq("+u+")",r).fadeIn(t.fadeSpeed,t.fadeEasing,function(){n.browser.msie&&n(this).get(0).style.removeAttribute("filter")}),t.animationComplete(u+1),h=!1}):(i.children(":eq("+u+")").css({left:w,display:"block"}),t.autoHeight?i.animate({left:f,height:i.children(":eq("+u+")").outerHeight()},t.slideSpeed,t.slideEasing,function(){i.css({left:-e}),i.children(":eq("+u+")").css({left:e,zIndex:5}),i.children(":eq("+s+")").css({left:e,display:"none",zIndex:0}),t.animationComplete(u+1),h=!1}):i.animate({left:f},t.slideSpeed,t.slideEasing,function(){i.css({left:-e}),i.children(":eq("+u+")").css({left:e,zIndex:5}),i.children(":eq("+s+")").css({left:e,display:"none",zIndex:0}),t.animationComplete(u+1),h=!1})),t.pagination&&(n("."+t.paginationClass+" li."+t.currentClass,r).removeClass(t.currentClass),n("."+t.paginationClass+" li:eq("+u+")",r).addClass(t.currentClass))}}function nt(){clearInterval(r.data("interval"))}function p(){t.pause?(clearTimeout(r.data("pause")),clearInterval(r.data("interval")),tt=setTimeout(function(){clearTimeout(r.data("pause")),b=setInterval(function(){c("next",l)},t.play),r.data("interval",b)},t.pause),r.data("pause",tt)):nt()}var it;n("."+t.container,n(this)).children().wrapAll('<div class="slides_control"/>');var r=n(this),i=n(".slides_control",r),a=i.children().size(),e=i.children().outerWidth(),rt=i.children().outerHeight(),f=t.start-1,l=t.effect.indexOf(",")<0?t.effect:t.effect.replace(" ","").split(",")[0],g=t.effect.indexOf(",")<0?l:t.effect.replace(" ","").split(",")[1],u=0,s=0,y=0,o=0,k,h,v,w,ut,d,tt,b;if(a<2)return n("."+t.container,n(this)).fadeIn(t.fadeSpeed,t.fadeEasing,function(){k=!0,t.slidesLoaded()}),n("."+t.next+", ."+t.prev).fadeOut(0),!1;a<2||(f<0&&(f=0),f>a&&(f=a-1),t.start&&(o=f),t.randomize&&i.randomize(),n("."+t.container,r).css({overflow:"hidden",position:"relative"}),i.children().css({position:"absolute",top:0,left:i.children().outerWidth(),zIndex:0,display:"none"}),i.css({position:"relative",width:e*3,height:rt,left:-e}),n("."+t.container,r).css({display:"block"}),t.autoHeight&&(i.children().css({height:"auto"}),i.animate({height:i.children(":eq("+f+")").outerHeight()},t.autoHeightSpeed)),t.preload&&i.find("img:eq("+f+")").length?(n("."+t.container,r).css({background:"url("http://www.tradehero.mobi/bundles/+t.preloadImage+") no-repeat 50% 50%"}),it=i.find("img:eq("+f+")").attr("src")+"?"+ +new Date,d=n("img",r).parent().attr("class")!="slides_control"?i.children(":eq(0)")[0].tagName.toLowerCase():i.find("img:eq("+f+")"),i.find("img:eq("+f+")").attr("src",it).load(function(){i.find(d+":eq("+f+")").fadeIn(t.fadeSpeed,t.fadeEasing,function(){n(this).css({zIndex:5}),n("."+t.container,r).css({background:""}),k=!0,t.slidesLoaded()})})):i.children(":eq("+f+")").fadeIn(t.fadeSpeed,t.fadeEasing,function(){k=!0,t.slidesLoaded()}),t.bigTarget&&(i.children().css({cursor:"pointer"}),i.children().click(function(){return c("next",l),!1})),t.hoverPause&&t.play&&(i.bind("mouseover",function(){nt()}),i.bind("mouseleave",function(){p()})),t.generateNextPrev&&(n("."+t.container,r).after('<a href="#" class="'+t.prev+'">Prev</a>'),n("."+t.prev,r).after('<a href="#" class="'+t.next+'">Next</a>')),n("."+t.next,r).click(function(n){n.preventDefault(),t.play&&p(),c("next",l)}),n("."+t.prev,r).click(function(n){n.preventDefault(),t.play&&p(),c("prev",l)}),t.generatePagination?(t.prependPagination?r.prepend("<ul class="+t.paginationClass+"></ul>"):r.append("<ul class="+t.paginationClass+"></ul>"),i.children().each(function(){n("."+t.paginationClass,r).append('<li><a href="#'+y+'">'+(y+1)+"</a></li>"),y++})):n("."+t.paginationClass+" li a",r).each(function(){n(this).attr("href","#"+y),y++}),n("."+t.paginationClass+" li:eq("+f+")",r).addClass(t.currentClass),n("."+t.paginationClass+" li a",r).click(function(){return t.play&&p(),v=n(this).attr("href").match("[^#/]+$"),o!=v&&c("pagination",g,v),!1}),n("a.link",r).click(function(){return t.play&&p(),v=n(this).attr("href").match("[^#/]+$")-1,o!=v&&c("pagination",g,v),!1}),t.play&&(b=setInterval(function(){c("next",l)},t.play),r.data("interval",b)))})},n.fn.slides.option={preload:!1,preloadImage:"/WebClient/img/loading.gif",container:"slides_container",generateNextPrev:!1,next:"next",prev:"prev",pagination:!0,generatePagination:!0,prependPagination:!1,paginationClass:"pagination",currentClass:"current",fadeSpeed:350,fadeEasing:"",slideSpeed:350,slideEasing:"",start:1,effect:"slide",crossfade:!1,randomize:!1,play:0,pause:0,hoverPause:!1,autoHeight:!1,autoHeightSpeed:350,bigTarget:!1,animationStart:function(){},animationComplete:function(){},slidesLoaded:function(){}},n.fn.randomize=function(t){function r(){return Math.round(Math.random())-.5}return n(this).each(function(){var e=n(this),f=e.children(),o=f.length,u;if(o>1){for(f.hide(),u=[],i=0;i<o;i++)u[u.length]=i;u=u.sort(r),n.each(u,function(n,i){var r=f.eq(i),u=r.clone(!0);u.show().appendTo(e),t!==undefined&&t(r,u),r.remove()})}})}}(jQuery),function(){function n(n){this.path=n;var t=this.path.split("."),i=t.slice(0,t.length-1).join("."),r=t[t.length-1];this.at_2x_path=i+"@2x."+r}function t(t){this.el=t,this.path=new n(this.el.getAttribute("src"));var i=this;this.path.check_2x_variant(function(n){n&&i.swap()})}var i=typeof exports=="undefined"?window:exports;i.RetinaImagePath=n,n.confirmed_paths=[],n.prototype.is_external=function(){return!!this.path.match(/^https?\:/i)&&!this.path.match("//"+document.domain)},n.prototype.check_2x_variant=function(t){var i,r=this;if(this.is_external())return t(!1);if(this.at_2x_path in n.confirmed_paths)return t(!0);i=new XMLHttpRequest,i.open("HEAD",this.at_2x_path),i.onreadystatechange=function(){return i.readyState!=4?t(!1):i.status>=200&&i.status<=399?(n.confirmed_paths.push(r.at_2x_path),t(!0)):t(!1)},i.send()},i.RetinaImage=t,t.prototype.swap=function(n){function i(){t.el.complete?(t.el.setAttribute("width",t.el.offsetWidth),t.el.setAttribute("height",t.el.offsetHeight),t.el.setAttribute("src",n)):setTimeout(i,5)}typeof n=="undefined"&&(n=this.path.at_2x_path);var t=this;i()},i.devicePixelRatio>1&&(window.onload=function(){for(var i=document.getElementsByTagName("img"),u=[],r,n=0;n<i.length;n++)r=i[n],u.push(new t(r))})}(),$(function(){function h(){u.toggleClass(f),t.toggleClass(a),i.toggleClass(v)}function c(){u.addClass(f),t.animate({left:"0px"},r),i.animate({left:e},r)}function l(){u.removeClass(f),t.animate({left:"-"+e},r),i.animate({left:"0px"},r)}var t=$(".pushy"),u=$("body"),i=$("#push"),o=$(".site-overlay"),a="pushy-left pushy-open",f="pushy-active",v="container-push",s=$(".menu-btn, .pushy a"),r=200,e=t.width()+"px",n;Modernizr.csstransforms3d?(s.click(function(){h()}),o.click(function(){h()})):(t.css({left:"-"+e}),i.css({"overflow-x":"hidden"}),n=!0,s.click(function(){n?(c(),n=!1):(l(),n=!0)}),o.click(function(){n?(c(),n=!1):(l(),n=!0)}))})