function Peppermint(n,t){function ft(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])}function nt(n){var t=["Webkit","Moz","O","ms"],i=document.createElement("div"),r;if(i.style[n]!==undefined)return!0;n=n.charAt(0).toUpperCase()+n.slice(1);for(r in t)if(i.style[t[r]+n]!==undefined)return!0;return!1}function c(n,t){new RegExp("(\\s|^)"+t+"(\\s|$)").test(n.className)||(n.className+=" "+t)}function p(n,t){n.className=n.className.replace(new RegExp("(\\s+|^)"+t+"(\\s+|$)","g")," ").replace(/^\s+|\s+$/g,"")}function o(n,t){n<0?n=0:n>f-1&&(n=f-1);for(var u=r.dots.length-1;u>=0;u--)p(r.dots[u],e.activeDot);return c(r.dots[n],e.activeDot),s=n,k(-n*r.width,t===undefined?i.speed:t),rt(),i.onSlideChange&&i.onSlideChange(n),n}function k(n,t){var i=t?t+"ms":"";u.style.webkitTransitionDuration=u.style.MozTransitionDuration=u.style.msTransitionDuration=u.style.OTransitionDuration=u.style.transitionDuration=i,v(n)}function et(n,t){if(y&&clearInterval(y),!t){v(n);return}var u=+new Date,i=r.left;y=setInterval(function(){function f(n,t){return(t-n)*s+n}var e,o,h=+new Date-u,s=h/t,r=[0,.7,1,1];if(s>=1){v(n),clearInterval(y);return}e=n-i,o=f(f(f(r[0],r[1]),f(r[1],r[2])),f(f(r[1],r[2]),f(r[2],r[3]))),v(Math.floor(o*e+i))},15)}function v(n){u.style.webkitTransform="translate("+n+"px,0) translateZ(0)",u.style.msTransform=u.style.MozTransform=u.style.OTransform=u.style.transform="translateX("+n+"px)",r.left=n}function ot(n){u.style.left=n+"px",r.left=n}function tt(){var n=s+1;return n>f-1&&(n=0),o(n)}function st(){var n=s-1;return n<0&&(n=f-1),o(n)}function it(){w=!0,rt()}function rt(){w&&(h&&clearTimeout(h),h=setTimeout(function(){tt()},i.slideshowInterval))}function ht(){h&&clearTimeout(h)}function d(){w=!1,h&&clearTimeout(h)}function g(){r.width=n.offsetWidth,u.style.width=r.width*f+"px";for(var t=0;t<f;t++)r.slides[t].style.width=r.width+"px";k(-s*r.width)}function l(n,t,i,r){t&&(n.addEventListener?n.addEventListener(t,i,!!r):n.attachEvent("on"+t,i))}function ct(){var t=!1;EventBurrito(u,{mouse:i.mouseDrag,start:function(){c(n,e.drag)},move:function(r,u,f){f.x&&!t&&Math.abs(f.x)>=25&&(f.x<0?o(s+1,i.touchSpeed):o(s-1,i.touchSpeed),t=!0),p(n,e.drag)},end:function(){t=!1}})}function lt(){var y=i.slidesContainer||n,w=i.dotsContainer||n,nt,s,t,h;if(!i.disableIfOneSlide||!(y.children.length<=1)){for(b.transforms&&!window.opera||(v=ot),b.transitions&&!window.opera||(k=et),u=i.slidesContainer||document.createElement("div"),c(u,e.slides),t=0,h=y.children.length;t<h;t++)nt=y.children[t],s=document.createElement("li"),r.slides.push(nt),s.setAttribute("tabindex","0"),s.setAttribute("role","button"),s.innerHTML="<span><\/span>",function(n,t){l(t,"click",function(){o(n),i.stopSlideshowAfterInteraction&&d()}),l(t,"keyup",function(t){t.keyCode==13&&(o(n),i.stopSlideshowAfterInteraction&&d())}),l(t,"mouseup",function(){c(t,e.mouseClicked)}),l(t,"blur",function(){p(t,e.mouseClicked)},!0)}(t,s),r.dots.push(s);for(f=r.slides.length,ut=100/f,c(n,e.active),p(n,e.inactive),i.mouseDrag&&c(n,e.mouse),r.width=n.offsetWidth,u.style.width=r.width*f+"px",t=0;t<f;t++)r.slides[t].style.width=r.width+"px",u.appendChild(r.slides[t]);if(i.slidesContainer||n.appendChild(u),i.dots&&f>1){for(a=document.createElement("ul"),c(a,e.dots),t=0,h=r.dots.length;t<h;t++)a.appendChild(r.dots[t]);i.dotsPrepend?w.insertBefore(a,w.firstChild):w.appendChild(a)}l(window,"resize",g),l(window,"orientationchange",g),setTimeout(function(){o(i.startSlide,0)},0),i.slideshow&&it(),ct(),setTimeout(function(){i.onSetup&&i.onSetup(f)},0)}}var r={slides:[],dots:[],left:0},f,s=0,ut,a,u,h,w,y,i={speed:300,touchSpeed:300,slideshow:!1,slideshowInterval:4e3,stopSlideshowAfterInteraction:!1,startSlide:0,mouseDrag:!0,disableIfOneSlide:!0,cssPrefix:"peppermint-",dots:!1,dotsPrepend:!1,dotsContainer:undefined,slidesContainer:undefined,onSlideChange:undefined,onSetup:undefined},e,b;return t&&ft(i,t),e={inactive:i.cssPrefix+"inactive",active:i.cssPrefix+"active",mouse:i.cssPrefix+"mouse",drag:i.cssPrefix+"drag",slides:i.cssPrefix+"slides",dots:i.cssPrefix+"dots",activeDot:i.cssPrefix+"active-dot",mouseClicked:i.cssPrefix+"mouse-clicked"},b={transforms:nt("transform"),transitions:nt("transition")},lt(),{slideTo:function(n,t){return o(parseInt(n,10),t)},next:tt,prev:st,start:it,stop:d,pause:ht,getCurrentPos:function(){return s},getSlidesNumber:function(){return f},recalcWidth:g}}!function(n,t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(n.jQuery)}(this,function(n,t){function f(n,t,i){var r=h[t.type]||{};return null==n?i||!t.def?null:t.def:(n=r.floor?~~n:parseFloat(n),isNaN(n)?t.def:r.mod?(n+r.mod)%r.mod:0>n?0:r.max<n?r.max:n)}function s(t){var f=i(),o=f._rgba=[];return t=t.toLowerCase(),r(v,function(n,i){var r,s=i.re.exec(t),h=s&&i.parse(s),e=i.space||"rgba";if(h)return(r=f[e](h),f[u[e].cache]=r[u[e].cache],o=f._rgba=r._rgba,!1)}),o.length?("0,0,0,0"===o.join()&&n.extend(o,e.transparent),f):e[t]}function o(n,t,i){return i=(i+1)%1,1>6*i?n+(t-n)*i*6:1>2*i?t:2>3*i?n+(t-n)*(2/3-i)*6:n}var e,a=/^([\-+])=\s*(\d+\.?\d*)/,v=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(n){return[n[1],n[2],n[3],n[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(n){return[2.55*n[1],2.55*n[2],2.55*n[3],n[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(n){return[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(n){return[parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(n){return[n[1],n[2]/100,n[3]/100,n[4]]}}],i=n.Color=function(t,i,r,u){return new n.Color.fn.parse(t,i,r,u)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},h={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},c=i.support={},l=n("<p>")[0],r=n.each;l.style.cssText="background-color:rgba(1,1,1,.5)",c.rgba=l.style.backgroundColor.indexOf("rgba")>-1,r(u,function(n,t){t.cache="_"+n,t.props.alpha={idx:3,type:"percent",def:1}}),i.fn=n.extend(i.prototype,{parse:function(o,h,c,l){if(o===t)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=n(o).css(h),h=t);var a=this,v=n.type(o),y=this._rgba=[];return h!==t&&(o=[o,h,c,l],v="array"),"string"===v?this.parse(s(o)||e._default):"array"===v?(r(u.rgba.props,function(n,t){y[t.idx]=f(o[t.idx],t)}),this):"object"===v?(o instanceof i?r(u,function(n,t){o[t.cache]&&(a[t.cache]=o[t.cache].slice())}):r(u,function(t,i){var u=i.cache;r(i.props,function(n,t){if(!a[u]&&i.to){if("alpha"===n||null==o[n])return;a[u]=i.to(a._rgba)}a[u][t.idx]=f(o[n],t,!0)}),a[u]&&n.inArray(null,a[u].slice(0,3))<0&&(a[u][3]=1,i.from&&(a._rgba=i.from(a[u])))}),this):void 0},is:function(n){var e=i(n),t=!0,f=this;return r(u,function(n,i){var o,u=e[i.cache];return u&&(o=f[i.cache]||i.to&&i.to(f._rgba)||[],r(i.props,function(n,i){if(null!=u[i.idx])return t=u[i.idx]===o[i.idx]})),t}),t},_space:function(){var n=[],t=this;return r(u,function(i,r){t[r.cache]&&n.push(i)}),n.pop()},transition:function(n,t){var e=i(n),c=e._space(),o=u[c],l=0===this.alpha()?i("transparent"):this,a=l[o.cache]||o.to(l._rgba),s=a.slice();return e=e[o.cache],r(o.props,function(n,i){var c=i.idx,r=a[c],u=e[c],o=h[i.type]||{};null!==u&&(null===r?s[c]=u:(o.mod&&(u-r>o.mod/2?r+=o.mod:r-u>o.mod/2&&(r-=o.mod)),s[c]=f((u-r)*t+r,i)))}),this[c](s)},blend:function(t){if(1===this._rgba[3])return this;var r=this._rgba.slice(),u=r.pop(),f=i(t)._rgba;return i(n.map(r,function(n,t){return(1-u)*f[t]+u*n}))},toRgbaString:function(){var i="rgba(",t=n.map(this._rgba,function(n,t){return null==n?t>2?1:0:n});return 1===t[3]&&(t.pop(),i="rgb("),i+t.join()+")"},toHslaString:function(){var i="hsla(",t=n.map(this.hsla(),function(n,t){return null==n&&(n=t>2?1:0),t&&3>t&&(n=Math.round(100*n)+"%"),n});return 1===t[3]&&(t.pop(),i="hsl("),i+t.join()+")"},toHexString:function(t){var i=this._rgba.slice(),r=i.pop();return t&&i.push(~~(255*r)),"#"+n.map(i,function(n){return n=(n||0).toString(16),1===n.length?"0"+n:n}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),i.fn.parse.prototype=i.fn,u.hsla.to=function(n){if(null==n[0]||null==n[1]||null==n[2])return[null,null,null,n[3]];var s,h,i=n[0]/255,r=n[1]/255,f=n[2]/255,c=n[3],u=Math.max(i,r,f),e=Math.min(i,r,f),t=u-e,o=u+e,l=.5*o;return s=e===u?0:i===u?60*(r-f)/t+360:r===u?60*(f-i)/t+120:60*(i-r)/t+240,h=0===t?0:.5>=l?t/o:t/(2-o),[Math.round(s)%360,h,l,null==c?1:c]},u.hsla.from=function(n){if(null==n[0]||null==n[1]||null==n[2])return[null,null,null,n[3]];var r=n[0]/360,u=n[1],t=n[2],e=n[3],i=.5>=t?t*(1+u):t+u-t*u,f=2*t-i;return[Math.round(255*o(f,i,r+1/3)),Math.round(255*o(f,i,r)),Math.round(255*o(f,i,r-1/3)),e]},r(u,function(u,e){var s=e.props,o=e.cache,h=e.to,c=e.from;i.fn[u]=function(u){if(h&&!this[o]&&(this[o]=h(this._rgba)),u===t)return this[o].slice();var l,a=n.type(u),v="array"===a||"object"===a?u:arguments,e=this[o].slice();return r(s,function(n,t){var i=v["object"===a?n:t.idx];null==i&&(i=e[t.idx]),e[t.idx]=f(i,t)}),c?(l=i(c(e)),l[o]=e,l):i(e)},r(s,function(t,r){i.fn[t]||(i.fn[t]=function(i){var f,e=n.type(i),h="alpha"===t?this._hsla?"hsla":"rgba":u,o=this[h](),s=o[r.idx];return"undefined"===e?s:("function"===e&&(i=i.call(this,s),e=n.type(i)),null==i&&r.empty?this:("string"===e&&(f=a.exec(i),f&&(i=s+parseFloat(f[2])*("+"===f[1]?1:-1))),o[r.idx]=i,this[h](o)))})})}),i.hook=function(t){var u=t.split(" ");r(u,function(t,r){n.cssHooks[r]={set:function(t,u){var o,f,e="";if("transparent"!==u&&("string"!==n.type(u)||(o=s(u)))){if(u=i(o||u),!c.rgba&&1!==u._rgba[3]){for(f="backgroundColor"===r?t.parentNode:t;(""===e||"transparent"===e)&&f&&f.style;)try{e=n.css(f,"backgroundColor"),f=f.parentNode}catch(h){}u=u.blend(e&&"transparent"!==e?e:"_default")}u=u.toRgbaString()}try{t.style[r]=u}catch(h){}}},n.fx.step[r]=function(t){t.colorInit||(t.start=i(t.elem,r),t.end=i(t.end),t.colorInit=!0),n.cssHooks[r].set(t.elem,t.start.transition(t.end,t.pos))}})},i.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),n.cssHooks.borderColor={expand:function(n){var t={};return r(["Top","Right","Bottom","Left"],function(i,r){t["border"+r+"Color"]=n}),t}},e=n.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}),!function(n){function i(i,u){this.element=i,this.options=n.extend({},r,u),this._defaults=r,this._name=t,this.timeout=u.timeout,this.init()}var t="delayedCallback",r={callback:function(){},delay:1e3,events:"keyup mouseup change",selector:null};i.prototype={init:function(){var t=this;this.element.on(t.options.events,t.options.selector||n(this),function(){clearTimeout(t.theEventsTimer);var n=this;t.theEventsTimer=setTimeout(function(){t.options.callback.call(n)},t.options.delay)})}},n.fn.delayedCallback=function(r){return n(this).each(function(){n.data(this,"plugin_"+t)||n.data(this,"plugin_"+t,new i(n(this),r))})}}(jQuery,window,document),function(n,t,i){function u(n){return n=n||location.href,"#"+n.replace(/^[^#]*#?(.*)$/,"$1")}var r="hashchange",f=document,e,s=n.event.special,h=f.documentMode,o="on"+r in t&&(h===i||h>7);n.fn[r]=function(n){return n?this.bind(r,n):this.trigger(r)},n.fn[r].delay=50,s[r]=n.extend(s[r],{setup:function(){if(o)return!1;n(e.start)},teardown:function(){if(o)return!1;n(e.stop)}}),e=function(){function a(){var f=u(),i=v(h);f!==h?(l(h=f,i),n(t).trigger(r)):i!==h&&(location.href=location.href.replace(/#.*/,"")+i),s=setTimeout(a,n.fn[r].delay)}var e={},s,h=u(),c=function(n){return n},l=c,v=c;return e.start=function(){s||a()},e.stop=function(){s&&clearTimeout(s),s=i},navigator.userAgent.toLowerCase().indexOf("msie")==-1||o||function(){var t,i;e.start=function(){t||(i=n.fn[r].src,i=i&&i+u(),t=n('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){i||l(u()),a()}).attr("src",i||"javascript:0").insertAfter("body")[0].contentWindow,f.onpropertychange=function(){try{event.propertyName==="title"&&(t.document.title=f.title)}catch(n){}})},e.stop=c,v=function(){return u(t.location.href)},l=function(i,u){var e=t.document,o=n.fn[r].domain;i!==u&&(e.title=f.title,e.open(),o&&e.write('<script>document.domain="'+o+'"<\/script>'),e.close(),t.location.hash=i)}}(),e}()}(jQuery,this),window.jQuery&&function(n){n.fn.Peppermint=function(t){return this.each(function(){n(this).data("Peppermint",Peppermint(this,t))}),this}}(window.jQuery)