!function(A){A.isScrollToFixed=function(t){return!!A(t).data("ScrollToFixed")},A.ScrollToFixed=function(t,e){var o,s,i,n,r=this,l=(r.$el=A(t),r.el=t,r.$el.data("ScrollToFixed",r),!1),c=r.$el,d=0,p=0,u=-1,h=-1,a=null;function f(){var t=r.options.limit;return t?"function"==typeof t?t.apply(c):t:0}function g(){return"fixed"===o}function m(){return"absolute"===o}function v(){return!(g()||m())}function y(){var t;g()||(t=c[0].getBoundingClientRect(),a.css({display:c.css("display"),width:t.width,height:t.height,float:c.css("float")}),cssOptions={"z-index":r.options.zIndex,position:"fixed",top:-1==r.options.bottom?x():"",bottom:-1==r.options.bottom?"":r.options.bottom,"margin-left":"0px"},r.options.dontSetWidth||(cssOptions.width=c.css("width")),c.css(cssOptions),c.addClass(r.options.baseClassName),r.options.className&&c.addClass(r.options.className),o="fixed")}function _(){var t=f(),e=p;r.options.removeOffsets&&(e="",t-=d),cssOptions={position:"absolute",top:t,left:e,"margin-left":"0px",bottom:""},r.options.dontSetWidth||(cssOptions.width=c.css("width")),c.css(cssOptions),o="absolute"}function b(){v()||(h=-1,a.css("display","none"),c.css({"z-index":n,width:"",position:s,left:"",top:i,"margin-left":""}),c.removeClass("scroll-to-fixed-fixed"),r.options.className&&c.removeClass(r.options.className),o=null)}function w(t){t!=h&&(c.css("left",p-t),h=t)}function x(){var t=r.options.marginTop;return t?"function"==typeof t?t.apply(c):t:0}function T(){var t,e,i,n,a;A.isScrollToFixed(c)&&!c.is(":hidden")&&(e=v(),(t=l)?v()&&(d=c.offset().top,p=c.offset().left):(c.trigger("preUnfixed.ScrollToFixed"),b(),c.trigger("unfixed.ScrollToFixed"),h=-1,d=c.offset().top,p=c.offset().left,r.options.offsets&&(p+=c.offset().left-c.position().left),-1==u&&(u=p),o=c.css("position"),l=!0,-1!=r.options.bottom&&(c.trigger("preFixed.ScrollToFixed"),y(),c.trigger("fixed.ScrollToFixed"))),i=A(window).scrollLeft(),n=A(window).scrollTop(),a=f(),r.options.minWidth&&A(window).width()r.options.maxWidth?v()&&t||(C(),c.trigger("preUnfixed.ScrollToFixed"),b(),c.trigger("unfixed.ScrollToFixed")):-1==r.options.bottom?0=a-x()?e||m()&&t||(C(),c.trigger("preAbsolute.ScrollToFixed"),_(),c.trigger("unfixed.ScrollToFixed")):n>=d-x()?(g()&&t||(C(),c.trigger("preFixed.ScrollToFixed"),y(),h=-1,c.trigger("fixed.ScrollToFixed")),w(i)):v()&&t||(C(),c.trigger("preUnfixed.ScrollToFixed"),b(),c.trigger("unfixed.ScrollToFixed")):0=a-(x()||-(r.options.bottom||0))?g()&&(C(),c.trigger("preUnfixed.ScrollToFixed"),("absolute"===s?_:b)(),c.trigger("unfixed.ScrollToFixed")):(g()||(C(),c.trigger("preFixed.ScrollToFixed"),y()),w(i),c.trigger("fixed.ScrollToFixed")):w(i))}function C(){var t=c.css("position");"absolute"==t?c.trigger("postAbsolute.ScrollToFixed"):"fixed"==t?c.trigger("postFixed.ScrollToFixed"):c.trigger("postUnfixed.ScrollToFixed")}function S(t){(c.is(":visible")?(l=!1,T):b)()}function $(t){window.requestAnimationFrame?requestAnimationFrame(T):T()}r.init=function(){r.options=A.extend({},A.ScrollToFixed.defaultOptions,e),n=c.css("z-index"),r.$el.css("z-index",r.options.zIndex),a=A("
"),o=c.css("position"),s=c.css("position"),c.css("float"),i=c.css("top"),v()&&r.$el.after(a),A(window).bind("resize.ScrollToFixed",S),A(window).bind("scroll.ScrollToFixed",$),"ontouchmove"in window&&A(window).bind("touchmove.ScrollToFixed",T),r.options.preFixed&&c.bind("preFixed.ScrollToFixed",r.options.preFixed),r.options.postFixed&&c.bind("postFixed.ScrollToFixed",r.options.postFixed),r.options.preUnfixed&&c.bind("preUnfixed.ScrollToFixed",r.options.preUnfixed),r.options.postUnfixed&&c.bind("postUnfixed.ScrollToFixed",r.options.postUnfixed),r.options.preAbsolute&&c.bind("preAbsolute.ScrollToFixed",r.options.preAbsolute),r.options.postAbsolute&&c.bind("postAbsolute.ScrollToFixed",r.options.postAbsolute),r.options.fixed&&c.bind("fixed.ScrollToFixed",r.options.fixed),r.options.unfixed&&c.bind("unfixed.ScrollToFixed",r.options.unfixed),r.options.spacerClass&&a.addClass(r.options.spacerClass),c.bind("resize.ScrollToFixed",function(){a.height(c.height())}),c.bind("scroll.ScrollToFixed",function(){c.trigger("preUnfixed.ScrollToFixed"),b(),c.trigger("unfixed.ScrollToFixed"),T()}),c.bind("detach.ScrollToFixed",function(t){(t=(t=t)||window.event).preventDefault&&t.preventDefault(),t.returnValue=!1,c.trigger("preUnfixed.ScrollToFixed"),b(),c.trigger("unfixed.ScrollToFixed"),A(window).unbind("resize.ScrollToFixed",S),A(window).unbind("scroll.ScrollToFixed",$),c.unbind(".ScrollToFixed"),a.remove(),r.$el.removeData("ScrollToFixed")}),S()},r.init()},A.ScrollToFixed.defaultOptions={marginTop:0,limit:0,bottom:-1,zIndex:1e3,baseClassName:"scroll-to-fixed-fixed"},A.fn.scrollToFixed=function(t){return this.each(function(){new A.ScrollToFixed(this,t)})}}(jQuery),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(s){function r(t){return parseFloat(t)||0}function l(t){var t=s(t),n=null,a=[];return t.each(function(){var t=s(this),e=t.offset().top-r(t.css("margin-top")),i=0n&&(n=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")})}e.each(function(){var t=s(this),e=0;a.target&&t.is(a.target)||("border-box"!==t.css("box-sizing")&&(e=(e+=r(t.css("border-top-width"))+r(t.css("border-bottom-width")))+(r(t.css("padding-top"))+r(t.css("padding-bottom")))),t.css(a.property,n-e+"px"))})}),o.each(function(){var t=s(this);t.attr("style",t.data("style-cache")||null)}),d._maintainScroll&&s(window).scrollTop(i/n*s("html").outerHeight(!0)),this},d._applyDataApi=function(){var i={};s("[data-match-height], [data-mh]").each(function(){var t=s(this),e=t.attr("data-mh")||t.attr("data-match-height");e in i?i[e]=i[e].add(t):i[e]=t}),s.each(i,function(){this.matchHeight(!0)})},d._update=function(t,e){if(e&&"resize"===e.type){var i=s(window).width();if(i===a)return;a=i}t?-1===o&&(o=setTimeout(function(){n(e),o=-1},d._throttle)):n(e)},s(d._applyDataApi),s.fn.on?"on":"bind");s(window)[t]("load",function(t){d._update(!1,t)}),s(window)[t]("resize orientationchange",function(t){d._update(!0,t)})}),function(d,l){"use strict";d.MixItUp=function(){this._execAction("_constructor",0),d.extend(this,{selectors:{target:".mix",filter:".filter",sort:".sort"},animation:{enable:!0,effects:"fade scale",duration:600,easing:"ease",perspectiveDistance:"3000",perspectiveOrigin:"50% 50%",queue:!0,queueLimit:1,animateChangeLayout:!1,animateResizeContainer:!0,animateResizeTargets:!1,staggerSequence:!1,reverseOut:!1},callbacks:{onMixLoad:!1,onMixStart:!1,onMixBusy:!1,onMixEnd:!1,onMixFail:!1,_user:!1},controls:{enable:!0,live:!1,toggleFilterButtons:!1,toggleLogic:"or",activeClass:"active"},layout:{display:"inline-block",containerClass:"",containerClassFail:"fail"},load:{filter:"all",sort:!1},_$body:null,_$container:null,_$targets:null,_$parent:null,_$sortButtons:null,_$filterButtons:null,_suckMode:!1,_mixing:!1,_sorting:!1,_clicking:!1,_loading:!0,_changingLayout:!1,_changingClass:!1,_changingDisplay:!1,_origOrder:[],_startOrder:[],_newOrder:[],_activeFilter:null,_toggleArray:[],_toggleString:"",_activeSort:"default:asc",_newSort:null,_startHeight:null,_newHeight:null,_incPadding:!0,_newDisplay:null,_newClass:null,_targetsBound:0,_targetsDone:0,_queue:[],_$show:d(),_$hide:d()}),this._execAction("_constructor",1)},d.MixItUp.prototype={constructor:d.MixItUp,_instances:{},_handled:{_filter:{},_sort:{}},_bound:{_filter:{},_sort:{}},_actions:{},_filters:{},extend:function(t){for(var e in t)d.MixItUp.prototype[e]=t[e]},addAction:function(t,e,i,n){d.MixItUp.prototype._addHook("_actions",t,e,i,n)},addFilter:function(t,e,i,n){d.MixItUp.prototype._addHook("_filters",t,e,i,n)},_addHook:function(t,e,i,n,a){var t=d.MixItUp.prototype[t],o={};a=1===a||"post"===a?"post":"pre",o[e]={},o[e][a]={},o[e][a][i]=n,d.extend(!0,t,o)},_init:function(t,e){var i=this;if(i._execAction("_init",0,arguments),e&&d.extend(!0,i,e),i._$body=d("body"),i._domNode=t,i._$container=d(t),i._$container.addClass(i.layout.containerClass),i._id=t.id,i._platformDetect(),i._brake=i._getPrefixedCSS("transition","none"),i._refresh(!0),i._$parent=i._$targets.parent().length?i._$targets.parent():i._$container,i.load.sort&&(i._newSort=i._parseSort(i.load.sort),i._newSortString=i.load.sort,i._activeSort=i.load.sort,i._sort(),i._printSort()),i._activeFilter="all"===i.load.filter?i.selectors.target:"none"===i.load.filter?"":i.load.filter,i.controls.enable&&i._bindHandlers(),i.controls.toggleFilterButtons){i._buildToggleArray();for(var n=0;ni+1?a._compare(t,e,i+1):0},_printSort:function(t){var e=this,i=t?e._startOrder:e._newOrder,n=e._$parent[0].querySelectorAll(e.selectors.target),a=n.length?n[n.length-1].nextElementSibling:null,o=document.createDocumentFragment();e._execAction("_printSort",0,arguments);for(var s=0;s]*>(.*?)<\/b>/gi,function(t,e){return e}).replace(/class="(?!(tco-hidden|tco-display|tco-ellipsis))+.*?"|data-query-source=".*?"|dir=".*?"|rel=".*?"/gi,"")}function U(t){for(var e=t.getElementsByTagName("a"),i=e.length-1;0<=i;i--)e[i].setAttribute("target","_blank")}function B(t,e){for(var i=[],n=new RegExp("(^| )"+e+"( |$)"),a=t.getElementsByTagName("*"),o=0,s=a.length;o]*>)|(]*>)/g,""),M||(t.body=t.body.replace(/(]*>|(]*>))/g,"")),A||(t.body=t.body.replace(/(]*>)/g,""));var e=document.createElement("div");function i(t){var e=t.getElementsByTagName("img")[0];return e.src=e.getAttribute("data-src-2x"),t}e.innerHTML=t.body;var n=[],a=[],o=[],s=[],r=[],l=[],c=[],d=0;if(N=void 0===e.getElementsByClassName?!1:N)for(var p=e.getElementsByClassName("timeline-Tweet");d"),m+='

'+H(n[h].innerHTML)+"

",$&&(m+=O?'

'+o[h].getAttribute("aria-label")+"

":'

'+o[h].getAttribute("aria-label")+"

")):(n[h].textContent,A&&(m+='

'+a[h].textContent+"

"),m+='

'+n[h].textContent+"

",$&&(m+='

'+o[h].textContent+"

")),D&&(m+='

"),M&&void 0!==s[h]&&void 0!==L(s[h])&&(m+='
Image from tweet
'),(M||!M&&n[h].textContent.length)&&u.push(m),h++}var v=u;if(null===E){for(var y=v.length,_=0,t=document.getElementById(w),b="
    ";_"+v[_]+"",_++;t.innerHTML=b+="
"}else E(v);S=!1,0'),1").attr("href","#").text(i),"thumbnails"===f.vars.controlNav&&(t=p("").attr("src",a.attr("data-thumb"))),""!==a.attr("data-thumb-alt")&&t.attr("alt",a.attr("data-thumb-alt")),"thumbnails"===f.vars.controlNav&&!0===f.vars.thumbCaptions&&""!==(a=a.attr("data-thumbcaption"))&&void 0!==a&&(a=p("").addClass(s+"caption").text(a),t.append(a));var a=p("
  • ");t.appendTo(a),a.append("
  • "),f.controlNavScaffold.append(a),i++}(f.controlsContainer?p(f.controlsContainer):f).append(f.controlNavScaffold),d.controlNav.set(),d.controlNav.active(),f.controlNavScaffold.delegate("a, img",o,function(t){var e,i;t.preventDefault(),""!==l&&l!==t.type||(e=p(this),i=f.controlNav.index(e),e.hasClass(s+"active"))||(f.direction=i>f.currentSlide?"next":"prev",f.flexAnimate(i,f.vars.pauseOnAction)),""===l&&(l=t.type),d.setToClearWatchedEvent()})},setupManual:function(){f.controlNav=f.manualControls,d.controlNav.active(),f.controlNav.bind(o,function(t){var e,i;t.preventDefault(),""!==l&&l!==t.type||(e=p(this),i=f.controlNav.index(e),e.hasClass(s+"active"))||(i>f.currentSlide?f.direction="next":f.direction="prev",f.flexAnimate(i,f.vars.pauseOnAction)),""===l&&(l=t.type),d.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===f.vars.controlNav?"img":"a";f.controlNav=p("."+s+"control-nav li "+t,f.controlsContainer||f)},active:function(){f.controlNav.removeClass(s+"active").eq(f.animatingTo).addClass(s+"active")},update:function(t,e){1'+f.count+"")):(1===f.pagingCount?f.controlNavScaffold.find("li"):f.controlNav.eq(e).closest("li")).remove(),d.controlNav.set(),1
  • '+f.vars.prevText+'
  • '+f.vars.nextText+"
  • ");f.customDirectionNav?f.directionNav=f.customDirectionNav:f.controlsContainer?(p(f.controlsContainer).append(t),f.directionNav=p("."+s+"direction-nav li a",f.controlsContainer)):(f.append(t),f.directionNav=p("."+s+"direction-nav li a",f)),d.directionNav.update(),f.directionNav.bind(o,function(t){var e;t.preventDefault(),""!==l&&l!==t.type||(e=p(this).hasClass(s+"next")?f.getTarget("next"):f.getTarget("prev"),f.flexAnimate(e,f.vars.pauseOnAction)),""===l&&(l=t.type),d.setToClearWatchedEvent()})},update:function(){var t=s+"disabled";1===f.pagingCount?f.directionNav.addClass(t).attr("tabindex","-1"):f.vars.animationLoop?f.directionNav.removeClass(t).removeAttr("tabindex"):0===f.animatingTo?f.directionNav.removeClass(t).filter("."+s+"prev").addClass(t).attr("tabindex","-1"):f.animatingTo===f.last?f.directionNav.removeClass(t).filter("."+s+"next").addClass(t).attr("tabindex","-1"):f.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=p('
    ');f.controlsContainer?(f.controlsContainer.append(t),f.pausePlay=p("."+s+"pauseplay a",f.controlsContainer)):(f.append(t),f.pausePlay=p("."+s+"pauseplay a",f)),d.pausePlay.update(f.vars.slideshow?s+"pause":s+"play"),f.pausePlay.bind(o,function(t){t.preventDefault(),""!==l&&l!==t.type||(p(this).hasClass(s+"pause")?(f.manualPause=!0,f.manualPlay=!1,f.pause()):(f.manualPause=!1,f.manualPlay=!0,f.play())),""===l&&(l=t.type),d.setToClearWatchedEvent()})},update:function(t){"play"===t?f.pausePlay.removeClass(s+"pause").addClass(s+"play").html(f.vars.playText):f.pausePlay.removeClass(s+"play").addClass(s+"pause").html(f.vars.pauseText)}},touch:function(){var n,a,o,s,r,l,c,d,p=!1,e=0,i=0,u=0;g?(h.style.msTouchAction="none",h._gesture=new MSGesture,(h._gesture.target=h).addEventListener("MSPointerDown",function(t){t.stopPropagation(),f.animating?t.preventDefault():(f.pause(),h._gesture.addPointer(t.pointerId),u=0,s=m?f.h:f.w,l=Number(new Date),o=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*s:(f.currentSlide+f.cloneOffset)*s)},!1),h._slider=f,h.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e,i,n=t.target._slider;n&&(e=-t.translationX,i=-t.translationY,u+=m?i:e,r=(n.vars.rtl?-1:1)*u,p=m?Math.abs(u)s/2)?t.flexAnimate(i,t.vars.pauseOnAction):_||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)),o=r=a=n=null,u=0)},!1)):(c=function(t){e=t.touches[0].pageX,i=t.touches[0].pageY,r=m?n-i:(f.vars.rtl?-1:1)*(n-e);(!(p=m?Math.abs(r)s/2)?f.flexAnimate(i,f.vars.pauseOnAction):_||f.flexAnimate(f.currentSlide,f.vars.pauseOnAction,!0)),h.removeEventListener("touchend",d,!1),o=r=a=n=null},h.addEventListener("touchstart",function(t){f.animating?t.preventDefault():!window.navigator.msPointerEnabled&&1!==t.touches.length||(f.pause(),s=m?f.h:f.w,l=Number(new Date),e=t.touches[0].pageX,i=t.touches[0].pageY,o=y&&v&&f.animatingTo===f.last?0:y&&v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:y&&f.currentSlide===f.last?f.limit:y?(f.itemW+f.vars.itemMargin)*f.move*f.currentSlide:v?(f.last-f.currentSlide+f.cloneOffset)*s:(f.currentSlide+f.cloneOffset)*s,n=m?i:e,a=m?e:i,h.addEventListener("touchmove",c,!1),h.addEventListener("touchend",d,!1))},!1))},resize:function(){!f.animating&&f.is(":visible")&&(y||f.doMath(),_?d.smoothHeight():y?(f.slides.width(f.computedW),f.update(f.pagingCount),f.setProps()):m?(f.viewport.height(f.h),f.setProps(f.h,"setTotal")):(f.vars.smoothHeight&&d.smoothHeight(),f.newSlides.width(f.computedW),f.setProps(f.computedW,"setTotal")))},smoothHeight:function(t){var e;m&&!_||(e=_?f:f.viewport,t?e.animate({height:f.slides.eq(f.animatingTo).innerHeight()},t):e.innerHeight(f.slides.eq(f.animatingTo).innerHeight()))},sync:function(t){var e=p(f.vars.sync).data("flexslider"),i=f.animatingTo;switch(t){case"animate":e.flexAnimate(i,f.vars.pauseOnAction,!1,!0);break;case"play":e.playing||e.asNav||e.play();break;case"pause":e.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=p(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var t=d.pauseInvisible.getHiddenProp();t&&(t=t.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(t,function(){d.pauseInvisible.isHidden()?f.startTimeout?clearTimeout(f.startTimeout):f.pause():!f.started&&0f.currentSlide?"next":"prev"),c&&1===f.pagingCount&&(f.direction=f.currentItemf.limit&&1!==f.visible?f.limit:i):0===f.currentSlide&&t===f.count-1&&f.vars.animationLoop&&"next"!==f.direction?v?(f.count+f.cloneOffset)*o:0:f.currentSlide===f.last&&0===t&&f.vars.animationLoop&&"prev"!==f.direction?v?0:(f.count+1)*o:v?(f.count-1-t+f.cloneOffset)*o:(t+f.cloneOffset)*o,f.setProps(e,"",f.vars.animationSpeed),f.transitions?(f.vars.animationLoop&&f.atEnd||(f.animating=!1,f.currentSlide=f.animatingTo),f.container.unbind("webkitTransitionEnd transitionend"),f.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(f.ensureAnimationEnd),f.wrapup(o)}),clearTimeout(f.ensureAnimationEnd),f.ensureAnimationEnd=setTimeout(function(){f.wrapup(o)},f.vars.animationSpeed+100)):f.container.animate(f.args,f.vars.animationSpeed,f.vars.easing,function(){f.wrapup(o)})),f.vars.smoothHeight&&d.smoothHeight(f.vars.animationSpeed)}},f.wrapup=function(t){_||y||(0===f.currentSlide&&f.animatingTo===f.last&&f.vars.animationLoop?f.setProps(t,"jumpEnd"):f.currentSlide===f.last&&0===f.animatingTo&&f.vars.animationLoop&&f.setProps(t,"jumpStart")),f.animating=!1,f.currentSlide=f.animatingTo,f.vars.after(f)},f.animateSlides=function(){!f.animating&&i&&f.flexAnimate(f.getTarget("next"))},f.pause=function(){clearInterval(f.animatedSlides),f.animatedSlides=null,f.playing=!1,f.vars.pausePlay&&d.pausePlay.update("play"),f.syncExists&&d.sync("pause")},f.play=function(){f.playing&&clearInterval(f.animatedSlides),f.animatedSlides=f.animatedSlides||setInterval(f.animateSlides,f.vars.slideshowSpeed),f.started=f.playing=!0,f.vars.pausePlay&&d.pausePlay.update("pause"),f.syncExists&&d.sync("play")},f.stop=function(){f.pause(),f.stopped=!0},f.canAdvance=function(t,e){var i=c?f.pagingCount-1:f.last;return!!e||c&&f.currentItem===f.count-1&&0===t&&"prev"===f.direction||!(c&&0===f.currentItem&&t===f.pagingCount-1&&"next"!==f.direction||t===f.currentSlide&&!c||!f.vars.animationLoop&&(f.atEnd&&0===f.currentSlide&&t===i&&"next"!==f.direction||f.atEnd&&f.currentSlide===i&&0===t&&"next"===f.direction))},f.getTarget=function(t){return"next"===(f.direction=t)?f.currentSlide===f.last?0:f.currentSlide+1:0===f.currentSlide?f.last:f.currentSlide-1},f.setProps=function(t,e,i){n=t||(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo;var n,a=function(){if(y)return"setTouch"===e?t:v&&f.animatingTo===f.last?0:v?f.limit-(f.itemW+f.vars.itemMargin)*f.move*f.animatingTo:f.animatingTo===f.last?f.limit:n;switch(e){case"setTotal":return v?(f.count-1-f.currentSlide+f.cloneOffset)*t:(f.currentSlide+f.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return v?t:f.count*t;case"jumpStart":return v?f.count*t:t;default:return t}}()*(f.vars.rtl?1:-1)+"px";f.transitions&&(a=f.isFirefox?m?"translate3d(0,"+a+",0)":"translate3d("+parseInt(a)+"px,0,0)":m?"translate3d(0,"+a+",0)":"translate3d("+(f.vars.rtl?-1:1)*parseInt(a)+"px,0,0)",f.container.css("-"+f.pfx+"-transition-duration",i=void 0!==i?i/1e3+"s":"0s"),f.container.css("transition-duration",i)),f.args[f.prop]=a,!f.transitions&&void 0!==i||f.container.css(f.args),f.container.css("transform",a)},f.setup=function(t){var e,i;_?(f.vars.rtl?f.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):f.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(r?f.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+f.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(f.currentSlide).css({opacity:1,zIndex:2}):0==f.vars.fadeFirstSlide?f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).css({opacity:1}):f.slides.css({opacity:0,display:"block",zIndex:1}).eq(f.currentSlide).css({zIndex:2}).animate({opacity:1},f.vars.animationSpeed,f.vars.easing)),f.vars.smoothHeight&&d.smoothHeight()):("init"===t&&(f.viewport=p('
    ').css({overflow:"hidden",position:"relative"}).appendTo(f).append(f.container),f.cloneCount=0,f.cloneOffset=0,v)&&(i=p.makeArray(f.slides).reverse(),f.slides=p(i),f.container.empty().append(f.slides)),f.vars.animationLoop&&!y&&(f.cloneCount=2,f.cloneOffset=1,"init"!==t&&f.container.find(".clone").remove(),f.container.append(d.uniqueID(f.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(d.uniqueID(f.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),f.newSlides=p(f.vars.selector,f),e=v?f.count-1-f.currentSlide+f.cloneOffset:f.currentSlide+f.cloneOffset,m&&!y?(f.container.height(200*(f.count+f.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){f.newSlides.css({display:"block"}),f.doMath(),f.viewport.height(f.h),f.setProps(e*f.h,"init")},"init"===t?100:0)):(f.container.width(200*(f.count+f.cloneCount)+"%"),f.setProps(e*f.computedW,"init"),setTimeout(function(){f.doMath(),f.vars.rtl&&f.isFirefox?f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"right",display:"block"}):f.newSlides.css({width:f.computedW,marginRight:f.computedM,float:"left",display:"block"}),f.vars.smoothHeight&&d.smoothHeight()},"init"===t?100:0))),y||f.slides.removeClass(s+"active-slide").eq(f.currentSlide).addClass(s+"active-slide"),f.vars.init(f)},f.doMath=function(){var t=f.slides.first(),e=f.vars.itemMargin,i=f.vars.minItems,n=f.vars.maxItems;f.w=(void 0===f.viewport?f:f.viewport).width(),f.isFirefox&&(f.w=f.width()),f.h=t.height(),f.boxPadding=t.outerWidth()-t.width(),y?(f.itemT=f.vars.itemWidth+e,f.itemM=e,f.minW=i?i*f.itemT:f.w,f.maxW=n?n*f.itemT-e:f.w,f.itemW=f.minW>f.w?(f.w-e*(i-1))/i:f.maxWf.w?f.w:f.vars.itemWidth,f.visible=Math.floor(f.w/f.itemW),f.move=0f.w?f.itemW*(f.count-1)+e*(f.count-1):(f.itemW+e)*f.count-f.w-e):(f.itemW=f.w,f.itemM=e,f.pagingCount=f.count,f.last=f.count-1),f.computedW=f.itemW-f.boxPadding,f.computedM=f.itemM},f.update=function(t,e){f.doMath(),y||(tf.controlNav.length?d.controlNav.update("add"):("remove"===e&&!y||f.pagingCountf.last&&(--f.currentSlide,--f.animatingTo),d.controlNav.update("remove",f.last))),f.vars.directionNav&&d.directionNav.update()},f.addSlide=function(t,e){t=p(t);f.count+=1,f.last=f.count-1,m&&v?void 0!==e?f.slides.eq(f.count-e).after(t):f.container.prepend(t):void 0!==e?f.slides.eq(e).before(t):f.container.append(t),f.update(e,"add"),f.slides=p(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.added(f)},f.removeSlide=function(t){var e=isNaN(t)?f.slides.index(p(t)):t;--f.count,f.last=f.count-1,(isNaN(t)?p(t,f.slides):m&&v?f.slides.eq(f.last):f.slides.eq(t)).remove(),f.doMath(),f.update(e,"remove"),f.slides=p(f.vars.selector+":not(.clone)",f),f.setup(),f.vars.removed(f)},d.init()},p(window).blur(function(t){i=!1}).focus(function(t){i=!0}),p.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},p.fn.flexslider=function(i){if("object"==typeof(i=void 0===i?{}:i))return this.each(function(){var t=p(this),e=i.selector||".slides > li",e=t.find(e);1===e.length&&!1===i.allowOneSlide||0===e.length?(e.fadeIn(400),i.start&&i.start(t)):void 0===t.data("flexslider")&&new p.flexslider(this,i)});var t=p(this).data("flexslider");switch(i){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof i&&t.flexAnimate(i,!0)}}}(jQuery),function(n){"use strict";n.fn.emulateTransitionEnd=function(t){var e=!1,i=this;n(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||n(i).trigger(n.support.transition.end)},t),this},n(function(){n.support.transition=function(){var t,e=document.createElement("bootstrap"),i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in i)if(void 0!==e.style[t])return{end:i[t]};return!1}(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(o){"use strict";function s(t){o(t).on("click",e,this.close)}var e='[data-dismiss="alert"]';s.VERSION="3.3.6",s.TRANSITION_DURATION=150,s.prototype.close=function(t){var e=o(this),i=(i=e.attr("data-target"))||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""),n=o(i);function a(){n.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),(n=n.length?n:e.closest(".alert")).trigger(t=o.Event("close.bs.alert")),t.isDefaultPrevented()||(n.removeClass("in"),o.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",a).emulateTransitionEnd(s.TRANSITION_DURATION):a())};var t=o.fn.alert;o.fn.alert=function(i){return this.each(function(){var t=o(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new s(this)),"string"==typeof i&&e[i].call(t)})},o.fn.alert.Constructor=s,o.fn.alert.noConflict=function(){return o.fn.alert=t,this},o(document).on("click.bs.alert.data-api",e,s.prototype.close)}(jQuery),function(o){"use strict";function n(t,e){this.$element=o(t),this.options=o.extend({},n.DEFAULTS,e),this.isLoading=!1}function i(i){return this.each(function(){var t=o(this),e=t.data("bs.button");e||t.data("bs.button",e=new n(this,"object"==typeof i&&i)),"toggle"==i?e.toggle():i&&e.setState(i)})}n.VERSION="3.3.6",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var e="disabled",i=this.$element,n=i.is("input")?"val":"html",a=i.data();t+="Text",null==a.resetText&&i.data("resetText",i[n]()),setTimeout(o.proxy(function(){i[n]((null==a[t]?this.options:a)[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e))},this),0)},n.prototype.toggle=function(){var t,e=!0,i=this.$element.closest('[data-toggle="buttons"]');i.length?("radio"==(t=this.$element.find("input")).prop("type")?(t.prop("checked")&&(e=!1),i.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==t.prop("type")&&(t.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),t.prop("checked",this.$element.hasClass("active")),e&&t.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};var t=o.fn.button;o.fn.button=i,o.fn.button.Constructor=n,o.fn.button.noConflict=function(){return o.fn.button=t,this},o(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=o(t.target);e.hasClass("btn")||(e=e.closest(".btn")),i.call(e,"toggle"),o(t.target).is('input[type="radio"]')||o(t.target).is('input[type="checkbox"]')||t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){o(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(c){"use strict";function d(t,e){this.$element=c(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",c.proxy(this.keydown,this)),"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",c.proxy(this.pause,this)).on("mouseleave.bs.carousel",c.proxy(this.cycle,this))}function a(a){return this.each(function(){var t=c(this),e=t.data("bs.carousel"),i=c.extend({},d.DEFAULTS,t.data(),"object"==typeof a&&a),n="string"==typeof a?a:i.slide;e||t.data("bs.carousel",e=new d(this,i)),"number"==typeof a?e.to(a):n?e[n]():i.interval&&e.pause().cycle()})}d.VERSION="3.3.6",d.TRANSITION_DURATION=600,d.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},d.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},d.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(c.proxy(this.next,this),this.options.interval)),this},d.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},d.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);return("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap?e:(e=(i+("prev"==t?-1:1))%this.$items.length,this.$items.eq(e))},d.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(idocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},s.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},s.prototype.checkScrollbar=function(){var t,e=window.innerWidth;e||(e=(t=document.documentElement.getBoundingClientRect()).right-Math.abs(t.left)),this.bodyIsOverflowing=document.body.clientWidth
    ',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=l(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&l(l.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),a=n.length;a--;){var o,s=n[a];"click"==s?this.$element.on("click."+this.type,this.options.selector,l.proxy(this.toggle,this)):"manual"!=s&&(o="hover"==s?"mouseleave":"focusout",this.$element.on(("hover"==s?"mouseenter":"focusin")+"."+this.type,this.options.selector,l.proxy(this.enter,this)),this.$element.on(o+"."+this.type,this.options.selector,l.proxy(this.leave,this)))}this.options.selector?this._options=l.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(t){return(t=l.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},c.prototype.getDelegateOptions=function(){var i={},n=this.getDefaults();return this._options&&l.each(this._options,function(t,e){n[t]!=e&&(i[t]=e)}),i},c.prototype.enter=function(t){var e=t instanceof this.constructor?t:l(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t instanceof l.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},c.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},c.prototype.leave=function(t){var e=t instanceof this.constructor?t:l(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t instanceof l.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},c.prototype.show=function(){var e,t,i,n,a,o,s,r=l.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(r),a=l.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!r.isDefaultPrevented())&&a&&(r=(e=this).tip(),a=this.getUID(this.type),this.setContent(),r.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&r.addClass("fade"),a="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,(s=(t=/\s?auto?\s?/i).test(a))&&(a=a.replace(t,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),t=this.getPosition(),i=r[0].offsetWidth,n=r[0].offsetHeight,s&&(s=a,o=this.getPosition(this.$viewport),a="bottom"==a&&t.bottom+n>o.bottom?"top":"top"==a&&t.top-no.width?"left":"left"==a&&t.left-io.top+o.height&&(s.top=o.top+o.height-n)):(t=e.left-a,n=e.left+a+i,to.right&&(s.left=o.left+o.width-n))),s},c.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},c.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},c.prototype.tip=function(){if(this.$tip||(this.$tip=l(this.options.template),1==this.$tip.length))return this.$tip;throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!")},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(t){var e=this;t&&!(e=l(t.currentTarget).data("bs."+this.type))&&(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),l(t.currentTarget).data("bs."+this.type,e)),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},c.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var t=l.fn.tooltip;l.fn.tooltip=function(n){return this.each(function(){var t=l(this),e=t.data("bs.tooltip"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.tooltip",e=new c(this,i)),"string"==typeof n&&e[n]())})},l.fn.tooltip.Constructor=c,l.fn.tooltip.noConflict=function(){return l.fn.tooltip=t,this}}(jQuery),function(a){"use strict";function o(t,e){this.init("popover",t,e)}if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");o.VERSION="3.3.6",o.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),((o.prototype=a.extend({},a.fn.tooltip.Constructor.prototype)).constructor=o).prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=a.fn.popover;a.fn.popover=function(n){return this.each(function(){var t=a(this),e=t.data("bs.popover"),i="object"==typeof n&&n;!e&&/destroy|hide/.test(n)||(e||t.data("bs.popover",e=new o(this,i)),"string"==typeof n&&e[n]())})},a.fn.popover.Constructor=o,a.fn.popover.noConflict=function(){return a.fn.popover=t,this}}(jQuery),function(a){"use strict";function n(t,e){this.$body=a(document.body),this.$scrollElement=a(t).is(document.body)?a(window):a(t),this.options=a.extend({},n.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function e(i){return this.each(function(){var t=a(this),e=t.data("bs.scrollspy");e||t.data("bs.scrollspy",e=new n(this,"object"==typeof i&&i)),"string"==typeof i&&e[i]()})}n.VERSION="3.3.6",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var t=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=a(this),t=t.data("target")||t.attr("href"),e=/^#./.test(t)&&a(t);return e&&e.length&&e.is(":visible")?[[e[i]().top+n,t]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},n.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),a=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),n<=e)return s!=(t=o[o.length-1])&&this.activate(t);if(s&&e=a[t]&&(void 0===a[t+1]||e .active"),a=i&&s.support.transition&&(n.length&&n.hasClass("fade")||!!e.find("> .fade").length);function o(){n.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}n.length&&a?n.one("bsTransitionEnd",o).emulateTransitionEnd(r.TRANSITION_DURATION):o(),n.removeClass("in")};function t(t){t.preventDefault(),e.call(s(this),"show")}var i=s.fn.tab;s.fn.tab=e,s.fn.tab.Constructor=r,s.fn.tab.noConflict=function(){return s.fn.tab=i,this};s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',t).on("click.bs.tab.data-api",'[data-toggle="pill"]',t)}(jQuery),function(s){"use strict";function r(t,e){this.options=s.extend({},r.DEFAULTS,e),this.$target=s(this.options.target).on("scroll.bs.affix.data-api",s.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",s.proxy(this.checkPositionWithEventLoop,this)),this.$element=s(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()}function i(i){return this.each(function(){var t=s(this),e=t.data("bs.affix");e||t.data("bs.affix",e=new r(this,"object"==typeof i&&i)),"string"==typeof i&&e[i]()})}r.VERSION="3.3.6",r.RESET="affix affix-top affix-bottom",r.DEFAULTS={offset:0,target:window},r.prototype.getState=function(t,e,i,n){var a,o=this.$target.scrollTop(),s=this.$element.offset(),r=this.$target.height();return null!=i&&"top"==this.affixed?o
    "+e+"
    days
    "+i+"
    hours
    "+n+"
    mins
    ",t<0&&(clearInterval(o),document.getElementById("countdown-timer").innerHTML="EXPIRED")},1e3)),h(".search-toggle").on("click",function(){h(".custom-search-form").toggleClass("active"),h(".toggle-icon").toggleClass("fa-search fa-times")}),h(".hamburger-menu-toggle").on("click",function(){h(".hamburger-menu").toggleClass("active")}),h(".hamburger-menu .close-menu .inner").on("click",function(){h(".hamburger-menu").removeClass("active")}),h(window);h("body").addClass("js"),0.wrap.container-fluid").css("margin-top",h("header.banner").outerHeight()-parseInt(h("nav.nav-primary").css("margin-bottom"))):h("body >.wrap.container-fluid").css("margin-top","")},255)})(),h("header.banner").outerHeight()),l=(h(".menu-item-has-children .sub-menu").before(''),h(".my-dropdown-toggle").on("click",function(){tgt=h(this).attr("data-target"),toggle=1,"#searchform"===tgt&&(!0===t&&h(window).scrollTop(0),toggle=0,searchTop=h("header.banner .top-nav").outerHeight(!0)-3,(searchTopAlt=h("header.banner .top-nav>.row").outerHeight(!0))>searchTop&&(searchTop=searchTopAlt),h(tgt).css("top",searchTop),setTimeout(function(){h('#searchform input[type="text"]').focus()},250)),tgt=".my-dropdown"===tgt?h(this).closest(".menu-item-has-children"):h(tgt),1===toggle?tgt.toggleClass("open"):tgt.addClass("open")}),(miniHeader=function(){0.news-panel:first-child, .main-news-wrapper>.news-panel.narrow").css("min-height",""),mainNewsHeight=h(".main-news-wrapper>.news-panel:first-child").outerHeight(),mainNewsHeightB=h(".main-news-wrapper>.news-panel.narrow").outerHeight(),mainNewsHeight.news-panel:first-child, .main-news-wrapper>.news-panel.narrow").css("min-height",mainNewsHeight):h(".main-news-wrapper>.news-panel:first-child, .main-news-wrapper>.news-panel.narrow").css("min-height",""),h(".dfps>div>div").css("min-height",""),dfp=h(".dfps>div").eq(0).outerHeight(),dfpB=h(".dfps>div").eq(1).outerHeight(),dfpC=h(".dfps>div").eq(2).outerHeight(),(dfp=dfpdiv>div").css("min-height",dfp):h(".dfps>div>div").css("min-height","")},dfpHeightFix=function(){sbWidth=h(".side-bar").outerWidth(),dfpWidth=300,dfpHeight=250,dfpPadding=(sbWidth-dfpWidth)/2,(dfpNewHeight=sbWidth-dfpWidth+250)>dfpHeight+50&&(dfpNewHeight=dfpHeight+50),h(".side-bar .dfp-wrapper").css({height:dfpNewHeight})},h("#mixContainer").mixItUp(),h(".filter").on("click",function(t){t.preventDefault()}),dfpHeightFix(),fixHeights(),h(window).resize(function(){iniScrollToFixEls(),checkHeaderMob(),dfpHeightFix(),fixHeights();var t=f();void 0!==e&&0ul>li:first-child").outerWidth()),d=h(".home .partners--home>ul>li:first-child").outerWidth(),p=h(".home .tertiary-news--home>ul>li:first-child").outerWidth();function u(t){s.addClass("removing");const e=s[t?"next":"prev"](".kit-section");0'),p={profile:{screenName:twitterHandle},domId:"twitterFetcher",maxTweets:20,enableLinks:!0,showUser:!0,showTime:!0,showImages:!1,showRetweet:!1,lang:"en"},twitterFetcher.fetch(p),h("#twitterFetcher").before('"),h("#twitterFetcher").after('')),0',w:1280,h:720}:(i=e.getAttribute("data-size").split("x"),{src:e.getAttribute("href"),w:parseInt(i[0],10),h:parseInt(i[1],10)}),1

    Next Match

    '+e.dateTime+'

    Team Crest

    '+e.homeTeam+'

    VS

    Team Crest

    '+e.opposingTeam+'

    Availability

    '+e.availability+'

    Price

    '+e.price+'

    Quantity

    Upcoming

    ',r++):s+='

    Match

    '+e.game+'

    Date

    '+e.dateTime+'

    Availability

    '+e.availability+'

    Price

    '+e.price+'

    Quantity

    "}),s+="
    ",h(".modal-body").html(s),h("#theLegendsModal").modal("show"),h(".variation-top-info .add-to-cart").click(function(){h(this).prop("disabled",!0),n(h(this).data("product-id"),h(this).data("variation-id"),h(this).closest(".variation-top-info").find(".quantity-input").val()),h("#custom-cart-popup").show()}),h(".upcoming-matches .add-to-cart").click(function(){h(this).prop("disabled",!0),n(h(this).data("product-id"),h(this).data("variation-id"),h(this).closest(".match-row").find(".quantity-input").val()),h("#custom-cart-popup").show()})}),h(".add-to-cart-simple").click(function(){h("#custom-cart-popup").show();var t=h(this).data("product-id");let e=1;n(t,0,e=0