/*! modernizr 3.3.1 (Custom Build) | MIT *
 * https://modernizr.com/download/?-csstransforms-csstransforms3d-preserve3d-atrule-domprefixes-prefixed-prefixedcss-prefixedcssvalue-prefixes-printshiv-setclasses !*/
!function(n,t,i){function s(n,t){return typeof n===t}function st(){var i,n,u,f,e,o,t;for(var h in c)if(c.hasOwnProperty(h)){if(i=[],n=c[h],n.name&&(i.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(u=0;u<n.options.aliases.length;u++)i.push(n.options.aliases[u].toLowerCase());for(f=s(n.fn,"function")?n.fn():n.fn,e=0;e<i.length;e++)o=i[e],t=o.split("."),1===t.length?r[t[0]]=f:(!r[t[0]]||r[t[0]]instanceof Boolean||(r[t[0]]=new Boolean(r[t[0]])),r[t[0]][t[1]]=f),it.push((f?"":"no-")+t.join("-"))}}function ht(n){var t=f.className,i=r._config.classPrefix||"",u;(h&&(t=t.baseVal),r._config.enableJSClass)&&(u=new RegExp("(^|\\s)"+i+"no-js(\\s|$)"),t=t.replace(u,"$1"+i+"js$2"));r._config.enableClasses&&(t+=" "+i+n.join(" "+i),h?f.className.baseVal=t:f.className=t)}function nt(n){return n.replace(/([a-z])-([a-z])/g,function(n,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function p(n){return n.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function o(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):h?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function ct(n,t){return!!~(""+n).indexOf(t)}function lt(n,t){return function(){return n.apply(t,arguments)}}function at(n,t,i){var r;for(var u in n)if(n[u]in t)return i===!1?n[u]:(r=t[n[u]],s(r,"function")?lt(r,i||t):r);return!1}function vt(){var n=t.body;return n||(n=o(h?"svg":"body"),n.fake=!0),n}function tt(n,i,r,u){var s,a,c,v,l="modernizr",h=o("div"),e=vt();if(parseInt(r,10))for(;r--;)c=o("div"),c.id=u?u[r]:l+(r+1),h.appendChild(c);return s=o("style"),s.type="text/css",s.id="s"+l,(e.fake?e:h).appendChild(s),e.appendChild(h),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(t.createTextNode(n)),h.id=l,e.fake&&(e.style.background="",e.style.overflow="hidden",v=f.style.overflow,f.style.overflow="hidden",f.appendChild(e)),a=i(h,n),e.fake?(e.parentNode.removeChild(e),f.style.overflow=v,f.offsetHeight):h.parentNode.removeChild(h),!!a}function yt(t,r){var f=t.length,u;if("CSS"in n&&"supports"in n.CSS){for(;f--;)if(n.CSS.supports(p(t[f]),r))return!0;return!1}if("CSSSupportsRule"in n){for(u=[];f--;)u.push("("+p(t[f])+":"+r+")");return u=u.join(" or "),tt("@supports ("+u+") { #modernizr { position: absolute; } }",function(n){return"absolute"==getComputedStyle(n,null).position})}return i}function pt(n,t,r,u){function c(){v&&(delete e.style,delete e.modElem)}var l,v,h,y,f,p,a;if((u=s(u,"undefined")?!1:u,!s(r,"undefined"))&&(l=yt(n,r),!s(l,"undefined")))return l;for(a=["modernizr","tspan","samp"];!e.style&&a.length;)v=!0,e.modElem=o(a.shift()),e.style=e.modElem.style;for(y=n.length,h=0;y>h;h++)if(f=n[h],p=e.style[f],ct(f,"-")&&(f=nt(f)),e.style[f]!==i){if(u||s(r,"undefined"))return c(),"pfx"==t?f:!0;try{e.style[f]=r}catch(w){}if(e.style[f]!=p)return c(),"pfx"==t?f:!0}return c(),!1}function a(n,t,i,r,u){var f=n.charAt(0).toUpperCase()+n.slice(1),e=(n+" "+k.join(f+" ")+f).split(" ");return s(t,"string")||s(t,"undefined")?pt(e,t,r,u):(e=(n+" "+l.join(f+" ")+f).split(" "),at(e,t,i))}function w(n,t,r){return a(n,i,i,t,r)}var it=[],c=[],u={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(n,t){var i=this;setTimeout(function(){t(i[n])},0)},addTest:function(n,t,i){c.push({name:n,fn:t,options:i})},addAsyncTest:function(n){c.push({name:null,fn:n})}},r=function(){},v,f,h,b,l,k,d,rt,ut,ft,et,g,e,ot,y;for(r.prototype=u,r=new r,v=u._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""],u._prefixes=v,f=t.documentElement,h="svg"===f.nodeName.toLowerCase(),h||!function(n,t){function l(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function u(){var n=i.elements;return"string"==typeof n?n.split(" "):n}function w(n,t){var r=i.elements;"string"!=typeof r&&(r=r.join(" "));"string"!=typeof n&&(n=n.join(" "));i.elements=r+" "+n;o(t)}function f(n){var t=p[n[y]];return t||(t={},c++,n[y]=c,p[c]=t),t}function a(n,i,u){if(i||(i=t),r)return i.createElement(n);u||(u=f(i));var e;return e=u.cache[n]?u.cache[n].cloneNode():rt.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),!e.canHaveChildren||it.test(n)||e.tagUrn?e:u.frag.appendChild(e)}function b(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||f(n);for(var o=i.frag.cloneNode(),e=0,s=u(),h=s.length;h>e;e++)o.createElement(s[e]);return o}function k(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(r){return i.shivMethods?a(r,n,t):t.createElem(r)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function o(n){n||(n=t);var u=f(n);return!i.shivCSS||s||u.hasCSS||(u.hasCSS=!!l(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||k(n,u),n}function d(n){for(var t,i=n.getElementsByTagName("*"),r=i.length,e=RegExp("^(?:"+u().join("|")+")$","i"),f=[];r--;)t=i[r],e.test(t.nodeName)&&f.push(t.applyElement(g(t)));return f}function g(n){for(var t,r=n.attributes,u=r.length,i=n.ownerDocument.createElement(e+":"+n.nodeName);u--;)t=r[u],t.specified&&i.setAttribute(t.nodeName,t.nodeValue);return i.style.cssText=n.style.cssText,i}function nt(n){for(var t,i=n.split("{"),r=i.length,f=RegExp("(^|[\\s,>+~])("+u().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),o="$1"+e+"\\:$2";r--;)t=i[r]=i[r].split("}"),t[t.length-1]=t[t.length-1].replace(f,o),i[r]=t.join("}");return i.join("{")}function tt(n){for(var t=n.length;t--;)n[t].removeNode()}function v(n){function r(){clearTimeout(i._removeSheetTimer);t&&t.removeNode(!0);t=null}var t,u,i=f(n),o=n.namespaces,s=n.parentWindow;return!ft||n.printShived?n:("undefined"==typeof o[e]&&o.add(e),s.attachEvent("onbeforeprint",function(){r();for(var o,s,f,c=n.styleSheets,e=[],i=c.length,h=Array(i);i--;)h[i]=c[i];for(;f=h.pop();)if(!f.disabled&&ut.test(f.media)){try{o=f.imports;s=o.length}catch(a){s=0}for(i=0;s>i;i++)h.push(o[i]);try{e.push(f.cssText)}catch(a){}}e=nt(e.reverse().join(""));u=d(n);t=l(n,e)}),s.attachEvent("onafterprint",function(){tt(u);clearTimeout(i._removeSheetTimer);i._removeSheetTimer=setTimeout(r,500)}),n.printShived=!0,n)}var s,r,h=n.html5||{},it=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,rt=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,y="_html5shiv",c=0,p={},i;!function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";s="hidden"in n;r=1==n.childNodes.length||function(){t.createElement("a");var n=t.createDocumentFragment();return"undefined"==typeof n.cloneNode||"undefined"==typeof n.createDocumentFragment||"undefined"==typeof n.createElement}()}catch(i){s=!0;r=!0}}();i={elements:h.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:h.shivCSS!==!1,supportsUnknownElements:r,shivMethods:h.shivMethods!==!1,type:"default",shivDocument:o,createElement:a,createDocumentFragment:b,addElements:w};n.html5=i;o(t);var ut=/^$|\b(?:all|print)\b/,e="html5shiv",ft=!r&&function(){var i=t.documentElement;return!("undefined"==typeof t.namespaces||"undefined"==typeof t.parentWindow||"undefined"==typeof i.applyElement||"undefined"==typeof i.removeNode||"undefined"==typeof n.attachEvent)}();i.type+=" print";i.shivPrint=v;v(t);"object"==typeof module&&module.exports&&(module.exports=i)}("undefined"!=typeof n?n:this,t),b="Moz O ms Webkit",l=u._config.usePrefixes?b.toLowerCase().split(" "):[],u._domPrefixes=l,k=u._config.usePrefixes?b.split(" "):[],u._cssomPrefixes=k,d=function(t){var u,s=v.length,f=n.CSSRule,r,e,o;if("undefined"==typeof f)return i;if(!t)return!1;if(t=t.replace(/^@/,""),u=t.replace(/-/g,"_").toUpperCase()+"_RULE",u in f)return"@"+t;for(r=0;s>r;r++)if(e=v[r],o=e.toUpperCase()+"_"+u,o in f)return"@-"+e.toLowerCase()+"-"+t;return!1},u.atRule=d,rt=function(n,t){var i=!1,f=o("div"),r=f.style,u;if(n in r)for(u=l.length,r[n]=t,i=r[n];u--&&!i;)r[n]="-"+l[u]+"-"+t,i=r[n];return""===i&&(i=!1),i},u.prefixedCSSValue=rt,r.addTest("preserve3d",function(){var n=o("a"),t=o("a"),i;return n.style.cssText="display: block; transform-style: preserve-3d; transform-origin: right; transform: rotateY(40deg);",t.style.cssText="display: block; width: 9px; height: 1px; background: #000; transform-origin: right; transform: rotateY(40deg);",n.appendChild(t),f.appendChild(n),i=t.getBoundingClientRect(),f.removeChild(n),i.width&&i.width<4}),ut=("CSS"in n)&&("supports"in n.CSS),ft=("supportsCSS"in n),r.addTest("supports",ut||ft),et=u.testStyles=tt,g={elem:o("modernizr")},r._q.push(function(){delete g.elem}),e={style:g.elem.style},r._q.unshift(function(){delete e.style}),u.testAllProps=a,ot=u.prefixed=function(n,t,i){return 0===n.indexOf("@")?d(n):(-1!=n.indexOf("-")&&(n=nt(n)),t?a(n,t,i):a(n,"pfx"))},u.prefixedCSS=function(n){var t=ot(n);return t&&p(t)},u.testAllProps=w,r.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&w("transform","scale(1)",!0)}),r.addTest("csstransforms3d",function(){var t=!!w("perspective","1px",!0),i=r._config.usePrefixes,n,u;return t&&(!i||"webkitPerspective"in f.style)&&(u="#modernizr{width:0;height:0}",r.supports?n="@supports (perspective: 1px)":(n="@media (transform-3d)",i&&(n+=",(-webkit-transform-3d)")),n+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}",et(u+n,function(n){t=7===n.offsetWidth&&18===n.offsetHeight})),t}),st(),ht(it),delete u.addTest,delete u.addAsyncTest,y=0;y<r._q.length;y++)r._q[y]();n.Modernizr=r}(window,document),function(n,t){typeof define=="function"&&define.amd?define(["jquery"],t):typeof exports=="object"?t(require("jquery")):n.jQuery?t(n.jQuery):t(n.Zepto)}(this,function(n,t){var r,f,u,i,e;n.fn.jPlayer=function(i){var r="jPlayer",u=typeof i=="string",f=Array.prototype.slice.call(arguments,1),e=this;return(i=!u&&f.length?n.extend.apply(null,[!0,i].concat(f)):i,u&&i.charAt(0)==="_")?e:(u?this.each(function(){var u=n(this).data(r),o=u&&n.isFunction(u[i])?u[i].apply(u,f):u;if(o!==u&&o!==t)return e=o,!1}):this.each(function(){var t=n(this).data(r);t?t.option(i||{}):n(this).data(r,new n.jPlayer(i,this))}),e)};n.jPlayer=function(t,i){if(arguments.length){this.element=n(i);this.options=n.extend(!0,{},this.options,t);var r=this;this.element.bind("remove.jPlayer",function(){r.destroy()});this._init()}};typeof n.fn.stop!="function"&&(n.fn.stop=function(){});n.jPlayer.emulateMethods="load play pause";n.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate";n.jPlayer.emulateOptions="muted volume";n.jPlayer.reservedEvent="ready flashreset resize repeat error warning";n.jPlayer.event={};n.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){n.jPlayer.event[this]="jPlayer_"+this});n.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"];n.jPlayer.pause=function(){n.jPlayer.prototype.destroyRemoved();n.each(n.jPlayer.prototype.instances,function(n,t){t.data("jPlayer").status.srcSet&&t.jPlayer("pause")})};n.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};r=function(){this.init()};r.prototype={init:function(){this.options={timeFormat:n.jPlayer.timeFormat}},time:function(n){n=n&&typeof n=="number"?n:0;var t=new Date(n*1e3),i=t.getUTCHours(),r=this.options.timeFormat.showHour?t.getUTCMinutes():t.getUTCMinutes()+i*60,u=this.options.timeFormat.showMin?t.getUTCSeconds():t.getUTCSeconds()+r*60,e=this.options.timeFormat.padHour&&i<10?"0"+i:i,o=this.options.timeFormat.padMin&&r<10?"0"+r:r,s=this.options.timeFormat.padSec&&u<10?"0"+u:u,f="";return f+=this.options.timeFormat.showHour?e+this.options.timeFormat.sepHour:"",f+=this.options.timeFormat.showMin?o+this.options.timeFormat.sepMin:"",f+(this.options.timeFormat.showSec?s+this.options.timeFormat.sepSec:"")}};f=new r;n.jPlayer.convertTime=function(n){return f.time(n)};n.jPlayer.uaBrowser=function(n){var t=n.toLowerCase(),i=/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(t)||[];return{browser:i[1]||"",version:i[2]||"0"}};n.jPlayer.uaPlatform=function(n){var t=n.toLowerCase(),i=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(t)||[],r=/(ipad|playbook)/.exec(t)||!/(mobile)/.exec(t)&&/(android)/.exec(t)||[];return i[1]&&(i[1]=i[1].replace(/\s/g,"_")),{platform:i[1]||"",tablet:r[1]||""}};n.jPlayer.browser={};n.jPlayer.platform={};u=n.jPlayer.uaBrowser(navigator.userAgent);u.browser&&(n.jPlayer.browser[u.browser]=!0,n.jPlayer.browser.version=u.version);i=n.jPlayer.uaPlatform(navigator.userAgent);i.platform&&(n.jPlayer.platform[i.platform]=!0,n.jPlayer.platform.mobile=!i.tablet,n.jPlayer.platform.tablet=!!i.tablet);n.jPlayer.getDocMode=function(){var t;return n.jPlayer.browser.msie&&(document.documentMode?t=document.documentMode:(t=5,document.compatMode&&document.compatMode==="CSS1Compat"&&(t=7))),t};n.jPlayer.browser.documentMode=n.jPlayer.getDocMode();n.jPlayer.nativeFeatures={init:function(){var t=document,e=t.createElement("video"),i={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""],ms:["","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"]},o=["w3c","moz","webkit","webkitVideo","ms"],n,u,s,f,r;for(this.fullscreen=n={support:{w3c:!!t[i.w3c[0]],moz:!!t[i.moz[0]],webkit:typeof t[i.webkit[3]]=="function",webkitVideo:typeof e[i.webkitVideo[2]]=="function",ms:typeof e[i.ms[2]]=="function"},used:{}},u=0,s=o.length;u<s;u++)if(f=o[u],n.support[f]){n.spec=f;n.used[f]=!0;break}n.spec?(r=i[n.spec],n.api={fullscreenEnabled:!0,fullscreenElement:function(n){return n=n?n:t,n[r[1]]},requestFullscreen:function(n){return n[r[2]]()},exitFullscreen:function(n){return n=n?n:t,n[r[3]]()}},n.event={fullscreenchange:r[4],fullscreenerror:r[5]}):(n.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},n.event={})}};n.jPlayer.nativeFeatures.init();n.jPlayer.focus=null;n.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";e=function(t){var i=n.jPlayer.focus,r;i&&(n.each(n.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(n,i){if(t.target.nodeName.toUpperCase()===i.toUpperCase())return r=!0,!1}),r||n.each(i.options.keyBindings,function(r,u){if(u&&n.isFunction(u.fn)&&(typeof u.key=="number"&&t.which===u.key||typeof u.key=="string"&&t.key===u.key))return t.preventDefault(),u.fn(i),!1}))};n.jPlayer.keys=function(t){var i="keydown.jPlayer";n(document.documentElement).unbind(i);t&&n(document.documentElement).bind(i,e)};n.jPlayer.keys(!0);n.jPlayer.prototype={count:0,version:{script:"2.9.1",needFlash:"2.9.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",auroraFormats:"wav",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen",noVolume:"jp-state-no-volume"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(t){t.jPlayer.options.loop?n(this).unbind(".jPlayerRepeat").bind(n.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){n(this).jPlayer("play")}):n(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/(?=.*android)(?!.*chrome)(?=.*mobile)/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:80,fn:function(n){n.status.paused?n.play():n.pause()}},fullScreen:{key:70,fn:function(n){(n.status.video||n.options.audioFullScreen)&&n._setOption("fullScreen",!n.options.fullScreen)}},muted:{key:77,fn:function(n){n._muted(!n.options.muted)}},volumeUp:{key:190,fn:function(n){n.volume(n.options.volume+.1)}},volumeDown:{key:188,fn:function(n){n.volume(n.options.volume-.1)}},loop:{key:76,fn:function(n){n._loop(!n.options.loop)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,aurora:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var i=this,r,e,s,o,f,u;if(this.element.empty(),this.status=n.extend({},this.status),this.internal=n.extend({},this.internal),this.options.timeFormat=n.extend({},n.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=n.jPlayer.platform.ipad||n.jPlayer.platform.iphone||n.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!n.jPlayer.focus&&(n.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:NaN},n.jPlayer.platform.android&&(this.options.preload=this.options.preload!=="auto"?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.aurora={},this.aurora.formats=[],this.aurora.properties=[],this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),n.each(this.options.supplied.toLowerCase().split(","),function(t,r){var u=r.replace(/^\s+|\s+$/g,""),f;i.format[u]&&(f=!1,n.each(i.formats,function(n,t){if(u===t)return f=!0,!1}),f||i.formats.push(u))}),n.each(this.options.solution.toLowerCase().split(","),function(t,r){var u=r.replace(/^\s+|\s+$/g,""),f;i.solution[u]&&(f=!1,n.each(i.solutions,function(n,t){if(u===t)return f=!0,!1}),f||i.solutions.push(u))}),n.each(this.options.auroraFormats.toLowerCase().split(","),function(t,r){var u=r.replace(/^\s+|\s+$/g,""),f;i.format[u]&&(f=!1,n.each(i.aurora.formats,function(n,t){if(u===t)return f=!0,!1}),f||i.aurora.formats.push(u))}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=n.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=n.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:t}),this.internal.video=n.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:t}),this.internal.flash=n.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:t,swf:this.options.swfPath+(this.options.swfPath.toLowerCase().slice(-4)!==".swf"?(this.options.swfPath&&this.options.swfPath.slice(-1)!=="/"?"/":"")+"jquery.jplayer.swf":"")}),this.internal.poster=n.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:t}),n.each(n.jPlayer.event,function(n,r){i.options[n]!==t&&(i.element.bind(r+".jPlayer",i.options[n]),i.options[n]=t)}),this.require.audio=!1,this.require.video=!1,n.each(this.formats,function(n,t){i.require[i.format[t].media]=!0}),this.options=this.require.video?n.extend(!0,{},this.optionsVideo,this.options):n.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),n.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){(!i.status.video||i.status.waitForPlay)&&i.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=n("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){i._trigger(n.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.aurora.canPlay={},this.flash.canPlay={},n.each(this.formats,function(t,r){i.html.canPlay[r]=i.html[i.format[r].media].available&&""!==i.htmlElement[i.format[r].media].canPlayType(i.format[r].codec);i.aurora.canPlay[r]=n.inArray(r,i.aurora.formats)>-1;i.flash.canPlay[r]=i.format[r].flashCanPlay&&i.flash.available}),this.html.desired=!1,this.aurora.desired=!1,this.flash.desired=!1,n.each(this.solutions,function(t,r){if(t===0)i[r].desired=!0;else{var u=!1,f=!1;n.each(i.formats,function(n,t){i[i.solutions[0]].canPlay[t]&&(i.format[t].media==="video"?f=!0:u=!0)});i[r].desired=i.require.audio&&!u||i.require.video&&!f}}),this.html.support={},this.aurora.support={},this.flash.support={},n.each(this.formats,function(n,t){i.html.support[t]=i.html.canPlay[t]&&i.html.desired;i.aurora.support[t]=i.aurora.canPlay[t]&&i.aurora.desired;i.flash.support[t]=i.flash.canPlay[t]&&i.flash.desired}),this.html.used=!1,this.aurora.used=!1,this.flash.used=!1,n.each(this.solutions,function(t,r){n.each(i.formats,function(n,t){if(i[r].support[t])return i[r].used=!0,!1})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.aurora.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:n.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:n.jPlayer.errorMsg.NO_SOLUTION,hint:n.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){if(e="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted,n.jPlayer.browser.msie&&(Number(n.jPlayer.browser.version)<9||n.jPlayer.browser.documentMode<9))for(s='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"><\/object>',o=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+e+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'],r=document.createElement(s),f=0;f<o.length;f++)r.appendChild(document.createElement(o[f]));else u=function(n,t,i){var r=document.createElement("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)},r=document.createElement("object"),r.setAttribute("id",this.internal.flash.id),r.setAttribute("name",this.internal.flash.id),r.setAttribute("data",this.internal.flash.swf),r.setAttribute("type","application/x-shockwave-flash"),r.setAttribute("width","1"),r.setAttribute("height","1"),r.setAttribute("tabindex","-1"),u(r,"flashvars",e),u(r,"allowscriptaccess","always"),u(r,"bgcolor",this.options.backgroundColor),u(r,"wmode",this.options.wmode);this.element.append(r);this.internal.flash.jq=n(r)}this.status.playbackRateEnabled=this.html.used&&!this.flash.used?this._testPlaybackRate("audio"):!1;this._updatePlaybackRate();this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=n("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=n("#"+this.internal.video.id),this.internal.video.jq.css({width:this.status.width,height:this.status.height}),this.internal.video.jq.bind("click.jPlayer",function(){i._trigger(n.jPlayer.event.click)})));this.aurora.used;this.options.emulateHtml&&this._emulateHtmlBridge();(this.html.used||this.aurora.used)&&!this.flash.used&&setTimeout(function(){i.internal.ready=!0;i.version.flash="n/a";i._trigger(n.jPlayer.event.repeat);i._trigger(n.jPlayer.event.ready)},100);this._updateNativeVideoControls();this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide();n.jPlayer.prototype.count++},destroy:function(){this.clearMedia();this._removeUiClass();this.css.jq.currentTime.length&&this.css.jq.currentTime.text("");this.css.jq.duration.length&&this.css.jq.duration.text("");n.each(this.css.jq,function(n,t){t.length&&t.unbind(".jPlayer")});this.internal.poster.jq.unbind(".jPlayer");this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer");this._fullscreenRemoveEventListeners();this===n.jPlayer.focus&&(n.jPlayer.focus=null);this.options.emulateHtml&&this._destroyHtmlBridge();this.element.removeData("jPlayer");this.element.unbind(".jPlayer");this.element.empty();delete this.instances[this.internal.instance]},destroyRemoved:function(){var t=this;n.each(this.instances,function(n,i){t.element!==i&&(i.data("jPlayer")||(i.jPlayer("destroy"),delete t.instances[n]))})},enable:function(){},disable:function(){},_testCanPlayType:function(n){try{return n.canPlayType(this.format.mp3.codec),!0}catch(t){return!1}},_testPlaybackRate:function(n){var t,i=.5;n=typeof n=="string"?n:"audio";t=document.createElement(n);try{return"playbackRate"in t?(t.playbackRate=i,t.playbackRate===i):!1}catch(r){return!1}},_uaBlocklist:function(t){var r=navigator.userAgent.toLowerCase(),i=!1;return n.each(t,function(n,t){if(t&&t.test(r))return i=!0,!1}),i},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height}))},_addHtmlEventListeners:function(t,i){var r=this;t.preload=this.options.preload;t.muted=this.options.muted;t.volume=this.options.volume;this.status.playbackRateEnabled&&(t.defaultPlaybackRate=this.options.defaultPlaybackRate,t.playbackRate=this.options.playbackRate);t.addEventListener("progress",function(){i.gate&&(r.internal.cmdsIgnored&&this.readyState>0&&(r.internal.cmdsIgnored=!1),r._getHtmlStatus(t),r._updateInterface(),r._trigger(n.jPlayer.event.progress))},!1);t.addEventListener("loadeddata",function(){i.gate&&(r.androidFix.setMedia=!1,r.androidFix.play&&(r.androidFix.play=!1,r.play(r.androidFix.time)),r.androidFix.pause&&(r.androidFix.pause=!1,r.pause(r.androidFix.time)),r._trigger(n.jPlayer.event.loadeddata))},!1);t.addEventListener("timeupdate",function(){i.gate&&(r._getHtmlStatus(t),r._updateInterface(),r._trigger(n.jPlayer.event.timeupdate))},!1);t.addEventListener("durationchange",function(){i.gate&&(r._getHtmlStatus(t),r._updateInterface(),r._trigger(n.jPlayer.event.durationchange))},!1);t.addEventListener("play",function(){i.gate&&(r._updateButtons(!0),r._html_checkWaitForPlay(),r._trigger(n.jPlayer.event.play))},!1);t.addEventListener("playing",function(){i.gate&&(r._updateButtons(!0),r._seeked(),r._trigger(n.jPlayer.event.playing))},!1);t.addEventListener("pause",function(){i.gate&&(r._updateButtons(!1),r._trigger(n.jPlayer.event.pause))},!1);t.addEventListener("waiting",function(){i.gate&&(r._seeking(),r._trigger(n.jPlayer.event.waiting))},!1);t.addEventListener("seeking",function(){i.gate&&(r._seeking(),r._trigger(n.jPlayer.event.seeking))},!1);t.addEventListener("seeked",function(){i.gate&&(r._seeked(),r._trigger(n.jPlayer.event.seeked))},!1);t.addEventListener("volumechange",function(){i.gate&&(r.options.volume=t.volume,r.options.muted=t.muted,r._updateMute(),r._updateVolume(),r._trigger(n.jPlayer.event.volumechange))},!1);t.addEventListener("ratechange",function(){i.gate&&(r.options.defaultPlaybackRate=t.defaultPlaybackRate,r.options.playbackRate=t.playbackRate,r._updatePlaybackRate(),r._trigger(n.jPlayer.event.ratechange))},!1);t.addEventListener("suspend",function(){i.gate&&(r._seeked(),r._trigger(n.jPlayer.event.suspend))},!1);t.addEventListener("ended",function(){i.gate&&(n.jPlayer.browser.webkit||(r.htmlElement.media.currentTime=0),r.htmlElement.media.pause(),r._updateButtons(!1),r._getHtmlStatus(t,!0),r._updateInterface(),r._trigger(n.jPlayer.event.ended))},!1);t.addEventListener("error",function(){i.gate&&(r._updateButtons(!1),r._seeked(),r.status.srcSet&&(clearTimeout(r.internal.htmlDlyCmdId),r.status.waitForLoad=!0,r.status.waitForPlay=!0,r.status.video&&!r.status.nativeVideoControls&&r.internal.video.jq.css({width:"0px",height:"0px"}),r._validString(r.status.media.poster)&&!r.status.nativeVideoControls&&r.internal.poster.jq.show(),r.css.jq.videoPlay.length&&r.css.jq.videoPlay.show(),r._error({type:n.jPlayer.error.URL,context:r.status.src,message:n.jPlayer.errorMsg.URL,hint:n.jPlayer.errorHint.URL})))},!1);n.each(n.jPlayer.htmlEvent,function(u,f){t.addEventListener(this,function(){i.gate&&r._trigger(n.jPlayer.event[f])},!1)})},_addAuroraEventListeners:function(t,i){var r=this;t.volume=this.options.volume*100;t.on("progress",function(){i.gate&&(r.internal.cmdsIgnored&&this.readyState>0&&(r.internal.cmdsIgnored=!1),r._getAuroraStatus(t),r._updateInterface(),r._trigger(n.jPlayer.event.progress),t.duration>0&&r._trigger(n.jPlayer.event.timeupdate))},!1);t.on("ready",function(){i.gate&&r._trigger(n.jPlayer.event.loadeddata)},!1);t.on("duration",function(){i.gate&&(r._getAuroraStatus(t),r._updateInterface(),r._trigger(n.jPlayer.event.durationchange))},!1);t.on("end",function(){i.gate&&(r._updateButtons(!1),r._getAuroraStatus(t,!0),r._updateInterface(),r._trigger(n.jPlayer.event.ended))},!1);t.on("error",function(){i.gate&&(r._updateButtons(!1),r._seeked(),r.status.srcSet&&(r.status.waitForLoad=!0,r.status.waitForPlay=!0,r.status.video&&!r.status.nativeVideoControls&&r.internal.video.jq.css({width:"0px",height:"0px"}),r._validString(r.status.media.poster)&&!r.status.nativeVideoControls&&r.internal.poster.jq.show(),r.css.jq.videoPlay.length&&r.css.jq.videoPlay.show(),r._error({type:n.jPlayer.error.URL,context:r.status.src,message:n.jPlayer.errorMsg.URL,hint:n.jPlayer.errorHint.URL})))},!1)},_getHtmlStatus:function(n,t){var i=0,r=0,f=0,u=0;isFinite(n.duration)&&(this.status.duration=n.duration);i=n.currentTime;r=this.status.duration>0?100*i/this.status.duration:0;typeof n.seekable=="object"&&n.seekable.length>0?(f=this.status.duration>0?100*n.seekable.end(n.seekable.length-1)/this.status.duration:100,u=this.status.duration>0?100*n.currentTime/n.seekable.end(n.seekable.length-1):0):(f=100,u=r);t&&(i=0,u=0,r=0);this.status.seekPercent=f;this.status.currentPercentRelative=u;this.status.currentPercentAbsolute=r;this.status.currentTime=i;this.status.remaining=this.status.duration-this.status.currentTime;this.status.videoWidth=n.videoWidth;this.status.videoHeight=n.videoHeight;this.status.readyState=n.readyState;this.status.networkState=n.networkState;this.status.playbackRate=n.playbackRate;this.status.ended=n.ended},_getAuroraStatus:function(n,t){var i=0,r=0,f=0,u=0;this.status.duration=n.duration/1e3;i=n.currentTime/1e3;r=this.status.duration>0?100*i/this.status.duration:0;n.buffered>0?(f=this.status.duration>0?n.buffered*this.status.duration/this.status.duration:100,u=this.status.duration>0?i/(n.buffered*this.status.duration):0):(f=100,u=r);t&&(i=0,u=0,r=0);this.status.seekPercent=f;this.status.currentPercentRelative=u;this.status.currentPercentAbsolute=r;this.status.currentTime=i;this.status.remaining=this.status.duration-this.status.currentTime;this.status.readyState=4;this.status.networkState=0;this.status.playbackRate=1;this.status.ended=!1},_resetStatus:function(){this.status=n.extend({},this.status,n.jPlayer.prototype.status)},_trigger:function(t,i,r){var u=n.Event(t);u.jPlayer={};u.jPlayer.version=n.extend({},this.version);u.jPlayer.options=n.extend(!0,{},this.options);u.jPlayer.status=n.extend(!0,{},this.status);u.jPlayer.html=n.extend(!0,{},this.html);u.jPlayer.aurora=n.extend(!0,{},this.aurora);u.jPlayer.flash=n.extend(!0,{},this.flash);i&&(u.jPlayer.error=n.extend({},i));r&&(u.jPlayer.warning=n.extend({},r));this.element.trigger(u)},jPlayerFlashEvent:function(t,i){if(t===n.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var r=this.status.currentTime,u=this.status.paused;this.setMedia(this.status.media);this.volumeWorker(this.options.volume);r>0&&(u?this.pause(r):this.play(r))}this._trigger(n.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=i.version,this.version.needFlash!==this.version.flash&&this._error({type:n.jPlayer.error.VERSION,context:this.version.flash,message:n.jPlayer.errorMsg.VERSION+this.version.flash,hint:n.jPlayer.errorHint.VERSION}),this._trigger(n.jPlayer.event.repeat),this._trigger(t);if(this.flash.gate)switch(t){case n.jPlayer.event.progress:this._getFlashStatus(i);this._updateInterface();this._trigger(t);break;case n.jPlayer.event.timeupdate:this._getFlashStatus(i);this._updateInterface();this._trigger(t);break;case n.jPlayer.event.play:this._seeked();this._updateButtons(!0);this._trigger(t);break;case n.jPlayer.event.pause:this._updateButtons(!1);this._trigger(t);break;case n.jPlayer.event.ended:this._updateButtons(!1);this._trigger(t);break;case n.jPlayer.event.click:this._trigger(t);break;case n.jPlayer.event.error:this.status.waitForLoad=!0;this.status.waitForPlay=!0;this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"});this._validString(this.status.media.poster)&&this.internal.poster.jq.show();this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show();this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media);this._updateButtons(!1);this._error({type:n.jPlayer.error.URL,context:i.src,message:n.jPlayer.errorMsg.URL,hint:n.jPlayer.errorHint.URL});break;case n.jPlayer.event.seeking:this._seeking();this._trigger(t);break;case n.jPlayer.event.seeked:this._seeked();this._trigger(t);break;case n.jPlayer.event.ready:break;default:this._trigger(t)}return!1},_getFlashStatus:function(n){this.status.seekPercent=n.seekPercent;this.status.currentPercentRelative=n.currentPercentRelative;this.status.currentPercentAbsolute=n.currentPercentAbsolute;this.status.currentTime=n.currentTime;this.status.duration=n.duration;this.status.remaining=n.duration-n.currentTime;this.status.videoWidth=n.videoWidth;this.status.videoHeight=n.videoHeight;this.status.readyState=4;this.status.networkState=0;this.status.playbackRate=1;this.status.ended=!1},_updateButtons:function(n){n===t?n=!this.status.paused:this.status.paused=!n;n?this.addStateClass("playing"):this.removeStateClass("playing");!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen");this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped");this.css.jq.play.length&&this.css.jq.pause.length&&(n?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide()));this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide()));this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){var t;this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%");this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));t="";this.css.jq.currentTime.length&&(t=this._convertTime(this.status.currentTime),t!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime)));var n="",i=this.status.duration,r=this.status.remaining;this.css.jq.duration.length&&(typeof this.status.media.duration=="string"?n=this.status.media.duration:(typeof this.status.media.duration=="number"&&(i=this.status.media.duration,r=i-this.status.currentTime),n=this.options.remainingDuration?(r>0?"-":"")+this._convertTime(r):this._convertTime(i)),n!==this.css.jq.duration.text()&&this.css.jq.duration.text(n))},_convertTime:r.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg");this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg");this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1;this.html.video.gate=!1;this.aurora.gate=!1;this.flash.gate=!1},_resetActive:function(){this.html.active=!1;this.aurora.active=!1;this.flash.active=!1},_escapeHtml:function(n){return n.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_qualifyURL:function(n){var t=document.createElement("div");return t.innerHTML='<a href="'+this._escapeHtml(n)+'">x<\/a>',t.firstChild.href},_absoluteMediaUrls:function(t){var i=this;return n.each(t,function(n,r){r&&i.format[n]&&r.substr(0,5)!=="data:"&&(t[n]=i._qualifyURL(r))}),t},addStateClass:function(n){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[n])},removeStateClass:function(n){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[n])},setMedia:function(t){var i=this,r=!1,u=this.status.media.poster!==t.poster;this._resetMedia();this._resetGate();this._resetActive();this.androidFix.setMedia=!1;this.androidFix.play=!1;this.androidFix.pause=!1;t=this._absoluteMediaUrls(t);n.each(this.formats,function(u,f){var e=i.format[f].media==="video";return n.each(i.solutions,function(u,o){if(i[o].support[f]&&i._validString(t[f])){var s=o==="html",h=o==="aurora";return e?(s?(i.html.video.gate=!0,i._html_setVideo(t),i.html.active=!0):(i.flash.gate=!0,i._flash_setVideo(t),i.flash.active=!0),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.show(),i.status.video=!0):(s?(i.html.audio.gate=!0,i._html_setAudio(t),i.html.active=!0,n.jPlayer.platform.android&&(i.androidFix.setMedia=!0)):h?(i.aurora.gate=!0,i._aurora_setAudio(t),i.aurora.active=!0):(i.flash.gate=!0,i._flash_setAudio(t),i.flash.active=!0),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.hide(),i.status.video=!1),r=!0,!1}}),r?!1:void 0});r?(this.status.nativeVideoControls&&this.html.video.gate||this._validString(t.poster)&&(u?this.htmlElement.poster.src=t.poster:this.internal.poster.jq.show()),typeof t.title=="string"&&(this.css.jq.title.length&&this.css.jq.title.html(t.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",t.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",t.title)),this.status.srcSet=!0,this.status.media=n.extend({},t),this._updateButtons(!1),this._updateInterface(),this._trigger(n.jPlayer.event.setmedia)):this._error({type:n.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:n.jPlayer.errorMsg.NO_SUPPORT,hint:n.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus();this._updateButtons(!1);this._updateInterface();this._seeked();this.internal.poster.jq.hide();clearTimeout(this.internal.htmlDlyCmdId);this.html.active?this._html_resetMedia():this.aurora.active?this._aurora_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia();this.html.active?this._html_clearMedia():this.aurora.active?this._aurora_clearMedia():this.flash.active&&this._flash_clearMedia();this._resetGate();this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.aurora.active?this._aurora_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(n.jPlayer.focus=this)},play:function(n){var t=typeof n=="object";t&&this.options.useStateClassSkin&&!this.status.paused?this.pause(n):(n=typeof n=="number"?n:NaN,this.status.srcSet?(this.focus(),this.html.active?this._html_play(n):this.aurora.active?this._aurora_play(n):this.flash.active&&this._flash_play(n)):this._urlNotSetError("play"))},videoPlay:function(){this.play()},pause:function(n){n=typeof n=="number"?n:NaN;this.status.srcSet?this.html.active?this._html_pause(n):this.aurora.active?this._aurora_pause(n):this.flash.active&&this._flash_pause(n):this._urlNotSetError("pause")},tellOthers:function(t,i){var r=this,u=typeof i=="function",f=Array.prototype.slice.call(arguments);typeof t=="string"&&(u&&f.splice(1,1),n.jPlayer.prototype.destroyRemoved(),n.each(this.instances,function(){r.element!==this&&(!u||i.call(this.data("jPlayer"),r))&&this.jPlayer.apply(this,f)}))},pauseOthers:function(n){this.tellOthers("pause",function(){return this.status.srcSet},n)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.aurora.active?this._aurora_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(n){n=this._limitValue(n,0,100);this.status.srcSet?this.html.active?this._html_playHead(n):this.aurora.active?this._aurora_playHead(n):this.flash.active&&this._flash_playHead(n):this._urlNotSetError("playHead")},_muted:function(n){this.mutedWorker(n);this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},n)},mutedWorker:function(t){this.options.muted=t;this.html.used&&this._html_setProperty("muted",t);this.aurora.used&&this._aurora_mute(t);this.flash.used&&this._flash_mute(t);this.html.video.gate||this.html.audio.gate||(this._updateMute(t),this._updateVolume(this.options.volume),this._trigger(n.jPlayer.event.volumechange))},mute:function(n){var i=typeof n=="object";i&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(n=n===t?!0:!!n,this._muted(n))},unmute:function(n){n=n===t?!0:!!n;this._muted(!n)},_updateMute:function(n){n===t&&(n=this.options.muted);n?this.addStateClass("muted"):this.removeStateClass("muted");this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):n?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(n){this.volumeWorker(n);this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},n)},volumeWorker:function(t){t=this._limitValue(t,0,1);this.options.volume=t;this.html.used&&this._html_setProperty("volume",t);this.aurora.used&&this._aurora_volume(t);this.flash.used&&this._flash_volume(t);this.html.video.gate||this.html.audio.gate||(this._updateVolume(t),this._trigger(n.jPlayer.event.volumechange))},volumeBar:function(t){if(this.css.jq.volumeBar.length){var i=n(t.currentTarget),r=i.offset(),u=t.pageX-r.left,f=i.width(),e=i.height()-t.pageY+r.top,o=i.height();this.options.verticalVolume?this.volume(e/o):this.volume(u/f)}this.options.muted&&this._muted(!1)},_updateVolume:function(n){n===t&&(n=this.options.volume);n=this.options.muted?0:n;this.status.noVolume?(this.addStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.removeStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](n*100+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1);this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(t){var i=this;this.options.cssSelectorAncestor=t;this._removeUiClass();this.ancestorJq=t?n(t):[];t&&this.ancestorJq.length!==1&&this._warning({type:n.jPlayer.warning.CSS_SELECTOR_COUNT,context:t,message:n.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:n.jPlayer.warningHint.CSS_SELECTOR_COUNT});this._addUiClass();n.each(this.options.cssSelector,function(n,t){i._cssSelector(n,t)});this._updateInterface();this._updateButtons();this._updateAutohide();this._updateVolume();this._updateMute()},_cssSelector:function(t,i){var r=this,u;typeof i=="string"?n.jPlayer.prototype.options.cssSelector[t]?(this.css.jq[t]&&this.css.jq[t].length&&this.css.jq[t].unbind(".jPlayer"),this.options.cssSelector[t]=i,this.css.cs[t]=this.options.cssSelectorAncestor+" "+i,this.css.jq[t]=i?n(this.css.cs[t]):[],this.css.jq[t].length&&this[t]&&(u=function(i){i.preventDefault();r[t](i);r.options.autoBlur?n(this).blur():n(this).focus()},this.css.jq[t].bind("click.jPlayer",u)),i&&this.css.jq[t].length!==1&&this._warning({type:n.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[t],message:n.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[t].length+" found for "+t+" method.",hint:n.jPlayer.warningHint.CSS_SELECTOR_COUNT})):this._warning({type:n.jPlayer.warning.CSS_SELECTOR_METHOD,context:t,message:n.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:n.jPlayer.warningHint.CSS_SELECTOR_METHOD}):this._warning({type:n.jPlayer.warning.CSS_SELECTOR_STRING,context:i,message:n.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:n.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(n){this.options.toggleDuration&&(this.options.captureDuration&&n.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(t){if(this.css.jq.seekBar.length){var i=n(t.currentTarget),r=i.offset(),u=t.pageX-r.left,f=i.width(),e=100*u/f;this.playHead(e)}},playbackRate:function(n){this._setOption("playbackRate",n)},playbackRateBar:function(t){if(this.css.jq.playbackRateBar.length){var i=n(t.currentTarget),r=i.offset(),e=t.pageX-r.left,o=i.width(),s=i.height()-t.pageY+r.top,h=i.height(),u,f;u=this.options.verticalPlaybackRate?s/h:e/o;f=u*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate;this.playbackRate(f)}},_updatePlaybackRate:function(){var n=this.options.playbackRate,t=(n-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](t*100+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(n){var t=typeof n=="object";t&&this.options.useStateClassSkin&&this.options.loop?this._loop(!1):this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(t){this.options.loop!==t&&(this.options.loop=t,this._updateButtons(),this._trigger(n.jPlayer.event.repeat))},option:function(i,r){var h=i,u,e,o,s,f;if(arguments.length===0)return n.extend(!0,{},this.options);if(typeof i=="string"){if(u=i.split("."),r===t){for(e=n.extend(!0,{},this.options),o=0;o<u.length;o++)if(e[u[o]]!==t)e=e[u[o]];else return this._warning({type:n.jPlayer.warning.OPTION_KEY,context:i,message:n.jPlayer.warningMsg.OPTION_KEY,hint:n.jPlayer.warningHint.OPTION_KEY}),t;return e}for(h={},s=h,f=0;f<u.length;f++)f<u.length-1?(s[u[f]]={},s=s[u[f]]):s[u[f]]=r}return this._setOptions(h),this},_setOptions:function(t){var i=this;return n.each(t,function(n,t){i._setOption(n,t)}),this},_setOption:function(t,i){var u=this,r;switch(t){case"volume":this.volume(i);break;case"muted":this._muted(i);break;case"globalVolume":this.options[t]=i;break;case"cssSelectorAncestor":this._cssSelectorAncestor(i);break;case"cssSelector":n.each(i,function(n,t){u._cssSelector(n,t)});break;case"playbackRate":this.options[t]=i=this._limitValue(i,this.options.minPlaybackRate,this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("playbackRate",i);this._updatePlaybackRate();break;case"defaultPlaybackRate":this.options[t]=i=this._limitValue(i,this.options.minPlaybackRate,this.options.maxPlaybackRate);this.html.used&&this._html_setProperty("defaultPlaybackRate",i);this._updatePlaybackRate();break;case"minPlaybackRate":this.options[t]=i=this._limitValue(i,.1,this.options.maxPlaybackRate-.1);this._updatePlaybackRate();break;case"maxPlaybackRate":this.options[t]=i=this._limitValue(i,this.options.minPlaybackRate+.1,16);this._updatePlaybackRate();break;case"fullScreen":this.options[t]!==i&&(r=n.jPlayer.nativeFeatures.fullscreen.used.webkitVideo,r&&(!r||this.status.waitForPlay)||(r||(this.options[t]=i),i?this._requestFullscreen():this._exitFullscreen(),r||this._setOption("fullWindow",i)));break;case"fullWindow":this.options[t]!==i&&(this._removeUiClass(),this.options[t]=i,this._refreshSize());break;case"size":this.options.fullWindow||this.options[t].cssClass===i.cssClass||this._removeUiClass();this.options[t]=n.extend({},this.options[t],i);this._refreshSize();break;case"sizeFull":this.options.fullWindow&&this.options[t].cssClass!==i.cssClass&&this._removeUiClass();this.options[t]=n.extend({},this.options[t],i);this._refreshSize();break;case"autohide":this.options[t]=n.extend({},this.options[t],i);this._updateAutohide();break;case"loop":this._loop(i);break;case"remainingDuration":this.options[t]=i;this._updateInterface();break;case"toggleDuration":this.options[t]=i;break;case"nativeVideoControls":this.options[t]=n.extend({},this.options[t],i);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this._restrictNativeVideoControls();this._updateNativeVideoControls();break;case"noFullWindow":this.options[t]=n.extend({},this.options[t],i);this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls);this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow);this._restrictNativeVideoControls();this._updateButtons();break;case"noVolume":this.options[t]=n.extend({},this.options[t],i);this.status.noVolume=this._uaBlocklist(this.options.noVolume);this._updateVolume();this._updateMute();break;case"emulateHtml":this.options[t]!==i&&(this.options[t]=i,i?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case"timeFormat":this.options[t]=n.extend({},this.options[t],i);break;case"keyEnabled":this.options[t]=i;i||this!==n.jPlayer.focus||(n.jPlayer.focus=null);break;case"keyBindings":this.options[t]=n.extend(!0,{},this.options[t],i);break;case"audioFullScreen":this.options[t]=i;break;case"autoBlur":this.options[t]=i}return this},_refreshSize:function(){this._setSize();this._addUiClass();this._updateSize();this._updateButtons();this._updateAutohide();this._trigger(n.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass);this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height});!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var n=this,t=".jPlayerAutohide",i="mousemove.jPlayer"+t,r=function(t){var i=!1,r,u;typeof n.internal.mouse!="undefined"?(r=n.internal.mouse.x-t.pageX,u=n.internal.mouse.y-t.pageY,i=Math.floor(r)>0||Math.floor(u)>0):i=!0;n.internal.mouse={x:t.pageX,y:t.pageY};i&&n.css.jq.gui.fadeIn(n.options.autohide.fadeIn,function(){clearTimeout(n.internal.autohideId);n.internal.autohideId=setTimeout(function(){n.css.jq.gui.fadeOut(n.options.autohide.fadeOut)},n.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),delete this.internal.mouse,this.element.unbind(t),this.css.jq.gui.unbind(t),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(i,r),this.css.jq.gui.bind(i,r),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(n){var t=typeof n=="object";t&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var i=this,t=n.jPlayer.nativeFeatures.fullscreen;t.api.fullscreenEnabled&&t.event.fullscreenchange&&(typeof this.internal.fullscreenchangeHandler!="function"&&(this.internal.fullscreenchangeHandler=function(){i._fullscreenchange()}),document.addEventListener(t.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var t=n.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(t.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!n.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var i=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],t=n.jPlayer.nativeFeatures.fullscreen;t.used.webkitVideo&&(i=this.htmlElement.video);t.api.fullscreenEnabled&&t.api.requestFullscreen(i)},_exitFullscreen:function(){var t=n.jPlayer.nativeFeatures.fullscreen,i;t.used.webkitVideo&&(i=this.htmlElement.video);t.api.fullscreenEnabled&&t.api.exitFullscreen(i)},_html_initMedia:function(t){var i=n(this.htmlElement.media).empty();n.each(t.track||[],function(n,t){var r=document.createElement("track");r.setAttribute("kind",t.kind?t.kind:"");r.setAttribute("src",t.src?t.src:"");r.setAttribute("srclang",t.srclang?t.srclang:"");r.setAttribute("label",t.label?t.label:"");t.def&&r.setAttribute("default",t.def);i.append(r)});this.htmlElement.media.src=this.status.src;this.options.preload!=="none"&&this._html_load();this._trigger(n.jPlayer.event.timeupdate)},_html_setFormat:function(t){var i=this;n.each(this.formats,function(n,r){if(i.html.support[r]&&t[r])return i.status.src=t[r],i.status.format[r]=!0,i.status.formatType=r,!1})},_html_setAudio:function(n){this._html_setFormat(n);this.htmlElement.media=this.htmlElement.audio;this._html_initMedia(n)},_html_setVideo:function(n){this._html_setFormat(n);this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(n.poster)?n.poster:"");this.htmlElement.media=this.htmlElement.video;this._html_initMedia(n)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load());clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(n){var i=this,t=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=n;else if(isNaN(n))t.play();else{this.internal.cmdsIgnored&&t.play();try{if(!t.seekable||typeof t.seekable=="object"&&t.seekable.length>0)t.currentTime=n,t.play();else throw 1;}catch(r){this.internal.htmlDlyCmdId=setTimeout(function(){i.play(n)},250);return}}this._html_checkWaitForPlay()},_html_pause:function(n){var i=this,t=this.htmlElement.media;if(this.androidFix.play=!1,n>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),t.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=n;else if(!isNaN(n))try{if(!t.seekable||typeof t.seekable=="object"&&t.seekable.length>0)t.currentTime=n;else throw 1;}catch(r){this.internal.htmlDlyCmdId=setTimeout(function(){i.pause(n)},250);return}n>0&&this._html_checkWaitForPlay()},_html_playHead:function(n){var i=this,t=this.htmlElement.media;this._html_load();try{if(typeof t.seekable=="object"&&t.seekable.length>0)t.currentTime=n*t.seekable.end(t.seekable.length-1)/100;else if(t.duration>0&&!isNaN(t.duration))t.currentTime=n*t.duration/100;else throw"e";}catch(r){this.internal.htmlDlyCmdId=setTimeout(function(){i.playHead(n)},250);return}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(n,t){this.html.audio.available&&(this.htmlElement.audio[n]=t);this.html.video.available&&(this.htmlElement.video[n]=t)},_aurora_setAudio:function(t){var i=this;n.each(this.formats,function(n,r){if(i.aurora.support[r]&&t[r])return i.status.src=t[r],i.status.format[r]=!0,i.status.formatType=r,!1});this.aurora.player=new AV.Player.fromURL(this.status.src);this._addAuroraEventListeners(this.aurora.player,this.aurora);this.options.preload==="auto"&&(this._aurora_load(),this.status.waitForLoad=!1)},_aurora_resetMedia:function(){this.aurora.player&&this.aurora.player.stop()},_aurora_clearMedia:function(){},_aurora_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.aurora.player.preload())},_aurora_play:function(t){this.status.waitForLoad||isNaN(t)||this.aurora.player.seek(t);this.aurora.player.playing||this.aurora.player.play();this.status.waitForLoad=!1;this._aurora_checkWaitForPlay();this._updateButtons(!0);this._trigger(n.jPlayer.event.play)},_aurora_pause:function(t){isNaN(t)||this.aurora.player.seek(t*1e3);this.aurora.player.pause();t>0&&this._aurora_checkWaitForPlay();this._updateButtons(!1);this._trigger(n.jPlayer.event.pause)},_aurora_playHead:function(n){this.aurora.player.duration>0&&this.aurora.player.seek(n*this.aurora.player.duration/100);this.status.waitForLoad||this._aurora_checkWaitForPlay()},_aurora_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1)},_aurora_volume:function(n){this.aurora.player.volume=n*100},_aurora_mute:function(n){n?(this.aurora.properties.lastvolume=this.aurora.player.volume,this.aurora.player.volume=0):this.aurora.player.volume=this.aurora.properties.lastvolume;this.aurora.properties.muted=n},_flash_setAudio:function(t){var i=this;try{n.each(this.formats,function(n,r){if(i.flash.support[r]&&t[r]){switch(r){case"m4a":case"fla":i._getMovie().fl_setAudio_m4a(t[r]);break;case"mp3":i._getMovie().fl_setAudio_mp3(t[r]);break;case"rtmpa":i._getMovie().fl_setAudio_rtmp(t[r])}return i.status.src=t[r],i.status.format[r]=!0,i.status.formatType=r,!1}});this.options.preload==="auto"&&(this._flash_load(),this.status.waitForLoad=!1)}catch(r){this._flashError(r)}},_flash_setVideo:function(t){var i=this;try{n.each(this.formats,function(n,r){if(i.flash.support[r]&&t[r]){switch(r){case"m4v":case"flv":i._getMovie().fl_setVideo_m4v(t[r]);break;case"rtmpv":i._getMovie().fl_setVideo_rtmp(t[r])}return i.status.src=t[r],i.status.format[r]=!0,i.status.formatType=r,!1}});this.options.preload==="auto"&&(this._flash_load(),this.status.waitForLoad=!1)}catch(r){this._flashError(r)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"});this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(n){this._flashError(n)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(n){this._flashError(n)}this.status.waitForLoad=!1},_flash_play:function(n){try{this._getMovie().fl_play(n)}catch(t){this._flashError(t)}this.status.waitForLoad=!1;this._flash_checkWaitForPlay()},_flash_pause:function(n){try{this._getMovie().fl_pause(n)}catch(t){this._flashError(t)}n>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(n){try{this._getMovie().fl_play_head(n)}catch(t){this._flashError(t)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(n){try{this._getMovie().fl_volume(n)}catch(t){this._flashError(t)}},_flash_mute:function(n){try{this._getMovie().fl_mute(n)}catch(t){this._flashError(t)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var i=0,t,n;if(window.ActiveXObject)try{t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");t&&(n=t.GetVariable("$version"),n&&(n=n.split(" ")[1].split(","),i=parseInt(n[0],10)+"."+parseInt(n[1],10)))}catch(r){}else navigator.plugins&&navigator.mimeTypes.length>0&&(t=navigator.plugins["Shockwave Flash"],t&&(i=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")));return i*1},_checkForFlash:function(n){var t=!1;return this._getFlashPluginVersion()>=n&&(t=!0),t},_validString:function(n){return n&&typeof n=="string"},_limitValue:function(n,t,i){return n<t?t:n>i?i:n},_urlNotSetError:function(t){this._error({type:n.jPlayer.error.URL_NOT_SET,context:t,message:n.jPlayer.errorMsg.URL_NOT_SET,hint:n.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(t){var i;i=this.internal.ready?"FLASH_DISABLED":"FLASH";this._error({type:n.jPlayer.error[i],context:this.internal.flash.swf,message:n.jPlayer.errorMsg[i]+t.message,hint:n.jPlayer.errorHint[i]});this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(t){this._trigger(n.jPlayer.event.error,t);this.options.errorAlerts&&this._alert("Error!"+(t.message?"\n"+t.message:"")+(t.hint?"\n"+t.hint:"")+"\nContext: "+t.context)},_warning:function(i){this._trigger(n.jPlayer.event.warning,t,i);this.options.warningAlerts&&this._alert("Warning!"+(i.message?"\n"+i.message:"")+(i.hint?"\n"+i.hint:"")+"\nContext: "+i.context)},_alert:function(n){var t="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+n;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(t):alert(t)},_emulateHtmlBridge:function(){var t=this;n.each(n.jPlayer.emulateMethods.split(/\s+/g),function(n,i){t.internal.domNode[i]=function(n){t[i](n)}});n.each(n.jPlayer.event,function(i,r){var u=!0;n.each(n.jPlayer.reservedEvent.split(/\s+/g),function(n,t){if(t===i)return u=!1,!1});u&&t.element.bind(r+".jPlayer.jPlayerHtml",function(){t._emulateHtmlUpdate();var n=document.createEvent("Event");n.initEvent(i,!1,!0);t.internal.domNode.dispatchEvent(n)})})},_emulateHtmlUpdate:function(){var t=this;n.each(n.jPlayer.emulateStatus.split(/\s+/g),function(n,i){t.internal.domNode[i]=t.status[i]});n.each(n.jPlayer.emulateOptions.split(/\s+/g),function(n,i){t.internal.domNode[i]=t.options[i]})},_destroyHtmlBridge:function(){var i=this,t;this.element.unbind(".jPlayerHtml");t=n.jPlayer.emulateMethods+" "+n.jPlayer.emulateStatus+" "+n.jPlayer.emulateOptions;n.each(t.split(/\s+/g),function(n,t){delete i.internal.domNode[t]})}};n.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"};n.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+n.jPlayer.prototype.version.script+" needs Jplayer.swf version "+n.jPlayer.prototype.version.needFlash+" but found "};n.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."};n.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"};n.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."};n.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});var Swiper=function(n,t){"use strict";function h(n,t){return document.querySelectorAll?(t||document).querySelectorAll(n):jQuery(n,t)}function si(n){return Object.prototype.toString.apply(n)==="[object Array]"?!0:!1}function f(){var n=v-u;return t.freeMode&&(n=v-u),t.slidesPerView>i.slides.length&&!t.centeredSlides&&(n=0),n<0&&(n=0),n}function hi(){function f(n){var r,f,u=function(){typeof i!="undefined"&&i!==null&&(i.imagesLoaded!==undefined&&i.imagesLoaded++,i.imagesLoaded===i.imagesToLoad.length&&(i.reInit(),t.onImagesReady&&i.fireCallback(t.onImagesReady,i)))};n.complete?u():(f=n.currentSrc||n.getAttribute("src"),f?(r=new Image,r.onload=u,r.onerror=u,r.src=f):u())}var n=i.h.addEventListener,r=t.eventTarget==="wrapper"?i.wrapper:i.container,u;if(i.browser.ie10||i.browser.ie11?(n(r,i.touchEvents.touchStart,w),n(document,i.touchEvents.touchMove,b),n(document,i.touchEvents.touchEnd,k)):(i.support.touch&&(n(r,"touchstart",w),n(r,"touchmove",b),n(r,"touchend",k)),t.simulateTouch&&(n(r,"mousedown",w),n(document,"mousemove",b),n(document,"mouseup",k))),t.autoResize&&n(window,"resize",i.resizeFix),gt(),i._wheelEvent=!1,t.mousewheelControl){if(document.onmousewheel!==undefined&&(i._wheelEvent="mousewheel"),!i._wheelEvent)try{new WheelEvent("wheel");i._wheelEvent="wheel"}catch(e){}i._wheelEvent||(i._wheelEvent="DOMMouseScroll");i._wheelEvent&&n(i.container,i._wheelEvent,ht)}if(t.keyboardControl&&n(document,"keydown",st),t.updateOnImagesReady)for(i.imagesToLoad=h("img",i.container),u=0;u<i.imagesToLoad.length;u++)f(i.imagesToLoad[u])}function gt(){var r=i.h.addEventListener,n,f,u;if(t.preventLinks)for(f=h("a",i.container),n=0;n<f.length;n++)r(f[n],"click",ui);if(t.releaseFormElements)for(u=h("input, textarea, select",i.container),n=0;n<u.length;n++)r(u[n],i.touchEvents.touchStart,ct,!0),i.support.touch&&t.simulateTouch&&r(u[n],"mousedown",ct,!0);if(t.onSlideClick)for(n=0;n<i.slides.length;n++)r(i.slides[n],"click",ti);if(t.onSlideTouch)for(n=0;n<i.slides.length;n++)r(i.slides[n],i.touchEvents.touchStart,ii)}function ni(){var r=i.h.removeEventListener,n,u,f;if(t.onSlideClick)for(n=0;n<i.slides.length;n++)r(i.slides[n],"click",ti);if(t.onSlideTouch)for(n=0;n<i.slides.length;n++)r(i.slides[n],i.touchEvents.touchStart,ii);if(t.releaseFormElements)for(u=h("input, textarea, select",i.container),n=0;n<u.length;n++)r(u[n],i.touchEvents.touchStart,ct,!0),i.support.touch&&t.simulateTouch&&r(u[n],"mousedown",ct,!0);if(t.preventLinks)for(f=h("a",i.container),n=0;n<f.length;n++)r(f[n],"click",ui)}function st(n){var t=n.keyCode||n.charCode,e,f;if(!n.shiftKey&&!n.altKey&&!n.ctrlKey&&!n.metaKey){if(t===37||t===39||t===38||t===40){var o=!1,u=i.h.getOffset(i.container),s=i.h.windowScroll().left,h=i.h.windowScroll().top,l=i.h.windowWidth(),a=i.h.windowHeight(),c=[[u.left,u.top],[u.left+i.width,u.top],[u.left,u.top+i.height],[u.left+i.width,u.top+i.height]];for(e=0;e<c.length;e++)f=c[e],f[0]>=s&&f[0]<=s+l&&f[1]>=h&&f[1]<=h+a&&(o=!0);if(!o)return}r?((t===37||t===39)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),t===39&&i.swipeNext(),t===37&&i.swipePrev()):((t===38||t===40)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),t===40&&i.swipeNext(),t===38&&i.swipePrev())}}function ht(n){var o=i._wheelEvent,u=0,e;if(n.detail)u=-n.detail;else if(o==="mousewheel")if(t.mousewheelControlForceToAxis)if(r)if(Math.abs(n.wheelDeltaX)>Math.abs(n.wheelDeltaY))u=n.wheelDeltaX;else return;else if(Math.abs(n.wheelDeltaY)>Math.abs(n.wheelDeltaX))u=n.wheelDeltaY;else return;else u=n.wheelDelta;else if(o==="DOMMouseScroll")u=-n.detail;else if(o==="wheel")if(t.mousewheelControlForceToAxis)if(r)if(Math.abs(n.deltaX)>Math.abs(n.deltaY))u=-n.deltaX;else return;else if(Math.abs(n.deltaY)>Math.abs(n.deltaX))u=-n.deltaY;else return;else u=Math.abs(n.deltaX)>Math.abs(n.deltaY)?-n.deltaX:-n.deltaY;if(t.freeMode){if(e=i.getWrapperTranslate()+u,e>0&&(e=0),e<-f()&&(e=-f()),i.setWrapperTransition(0),i.setWrapperTranslate(e),i.updateActiveSlide(e),e===0||e===-f())return}else(new Date).getTime()-kt>60&&(u<0?i.swipeNext():i.swipePrev()),kt=(new Date).getTime();return t.autoplay&&i.stopAutoplay(!0),n.preventDefault?n.preventDefault():n.returnValue=!1,!1}function ti(n){i.allowSlideClick&&(ri(n),i.fireCallback(t.onSlideClick,i,n))}function ii(n){ri(n);i.fireCallback(t.onSlideTouch,i,n)}function ri(n){if(n.currentTarget)i.clickedSlide=n.currentTarget;else{var r=n.srcElement;do{if(r.className.indexOf(t.slideClass)>-1)break;r=r.parentNode}while(r);i.clickedSlide=r}i.clickedSlideIndex=i.slides.indexOf(i.clickedSlide);i.clickedSlideLoopIndex=i.clickedSlideIndex-(i.loopedSlides||0)}function ui(n){if(!i.allowLinks)return n.preventDefault?n.preventDefault():n.returnValue=!1,t.preventLinksPropagation&&"stopPropagation"in n&&n.stopPropagation(),!1}function ct(n){return n.stopPropagation?n.stopPropagation():n.returnValue=!1,!1}function w(n){var u,o,f,e;if((t.preventLinks&&(i.allowLinks=!0),i.isTouched||t.onlyExternal)||(u=n.target||n.srcElement,document.activeElement&&document.activeElement!==document.body&&document.activeElement!==u&&document.activeElement.blur(),o="input select textarea".split(" "),t.noSwiping&&u&&ci(u)))return!1;if(it=!1,i.isTouched=!0,s=n.type==="touchstart",!s&&"which"in n&&n.which===3)return i.isTouched=!1,!1;s&&n.targetTouches.length!==1||(i.callPlugins("onTouchStartBegin"),!s&&!i.isAndroid&&o.indexOf(u.tagName.toLowerCase())<0&&(n.preventDefault?n.preventDefault():n.returnValue=!1),f=s?n.targetTouches[0].pageX:n.pageX||n.clientX,e=s?n.targetTouches[0].pageY:n.pageY||n.clientY,i.touches.startX=i.touches.currentX=f,i.touches.startY=i.touches.currentY=e,i.touches.start=i.touches.current=r?f:e,i.setWrapperTransition(0),i.positions.start=i.positions.current=i.getWrapperTranslate(),i.setWrapperTranslate(i.positions.start),i.times.start=(new Date).getTime(),a=undefined,t.moveStartThreshold>0&&(lt=!1),t.onTouchStart&&i.fireCallback(t.onTouchStart,i,n),i.callPlugins("onTouchStartEnd"))}function b(n){var e,o,h,c,l,v;if(i.isTouched&&!t.onlyExternal&&(!s||n.type!=="mousemove")){if(e=s?n.targetTouches[0].pageX:n.pageX||n.clientX,o=s?n.targetTouches[0].pageY:n.pageY||n.clientY,typeof a=="undefined"&&r&&(a=!!(a||Math.abs(o-i.touches.startY)>Math.abs(e-i.touches.startX))),typeof a!="undefined"||r||(a=!!(a||Math.abs(o-i.touches.startY)<Math.abs(e-i.touches.startX))),a){i.isTouched=!1;return}if(r){if(!t.swipeToNext&&e<i.touches.startX||!t.swipeToPrev&&e>i.touches.startX)return}else if(!t.swipeToNext&&o<i.touches.startY||!t.swipeToPrev&&o>i.touches.startY)return;if(n.assignedToSwiper){i.isTouched=!1;return}if(n.assignedToSwiper=!0,t.preventLinks&&(i.allowLinks=!1),t.onSlideClick&&(i.allowSlideClick=!1),t.autoplay&&i.stopAutoplay(!0),!s||n.touches.length===1){if(i.isMoved||(i.callPlugins("onTouchMoveStart"),t.loop&&(i.fixLoop(),i.positions.start=i.getWrapperTranslate()),t.onTouchMoveStart&&i.fireCallback(t.onTouchMoveStart,i)),i.isMoved=!0,n.preventDefault?n.preventDefault():n.returnValue=!1,i.touches.current=r?e:o,i.positions.current=(i.touches.current-i.touches.start)*t.touchRatio+i.positions.start,i.positions.current>0&&t.onResistanceBefore&&i.fireCallback(t.onResistanceBefore,i,i.positions.current),i.positions.current<-f()&&t.onResistanceAfter&&i.fireCallback(t.onResistanceAfter,i,Math.abs(i.positions.current+f())),t.resistance&&t.resistance!=="100%"&&(i.positions.current>0&&(h=1-i.positions.current/u/2,i.positions.current=h<.5?u/2:i.positions.current*h),i.positions.current<-f()&&(c=(i.touches.current-i.touches.start)*t.touchRatio+(f()+i.positions.start),h=(u+c)/u,l=i.positions.current-c*(1-h)/2,v=-f()-u/2,i.positions.current=l<v||h<=0?v:l)),t.resistance&&t.resistance==="100%"&&(i.positions.current>0&&!(t.freeMode&&!t.freeModeFluid)&&(i.positions.current=0),i.positions.current<-f()&&!(t.freeMode&&!t.freeModeFluid)&&(i.positions.current=-f())),!t.followFinger)return;if(t.moveStartThreshold)if(Math.abs(i.touches.current-i.touches.start)>t.moveStartThreshold||lt){if(!lt){lt=!0;i.touches.start=i.touches.current;return}i.setWrapperTranslate(i.positions.current)}else i.positions.current=i.positions.start;else i.setWrapperTranslate(i.positions.current);return(t.freeMode||t.watchActiveIndex)&&i.updateActiveSlide(i.positions.current),t.grabCursor&&(i.container.style.cursor="move",i.container.style.cursor="grabbing",i.container.style.cursor="-moz-grabbin",i.container.style.cursor="-webkit-grabbing"),rt||(rt=i.touches.current),at||(at=(new Date).getTime()),i.velocity=(i.touches.current-rt)/((new Date).getTime()-at)/2,Math.abs(i.touches.current-rt)<2&&(i.velocity=0),rt=i.touches.current,at=(new Date).getTime(),i.callPlugins("onTouchMoveEnd"),t.onTouchMove&&i.fireCallback(t.onTouchMove,i,n),!1}}}function k(n){var s,h,nt,k,g,v;if(a&&i.swipeReset(),!t.onlyExternal&&i.isTouched){i.isTouched=!1;t.grabCursor&&(i.container.style.cursor="move",i.container.style.cursor="grab",i.container.style.cursor="-moz-grab",i.container.style.cursor="-webkit-grab");i.positions.current||i.positions.current===0||(i.positions.current=i.positions.start);t.followFinger&&i.setWrapperTranslate(i.positions.current);i.times.end=(new Date).getTime();i.touches.diff=i.touches.current-i.touches.start;i.touches.abs=Math.abs(i.touches.diff);i.positions.diff=i.positions.current-i.positions.start;i.positions.abs=Math.abs(i.positions.diff);var tt=i.positions.diff,c=i.positions.abs,l=i.times.end-i.times.start;if(c<5&&l<300&&i.allowLinks===!1&&(t.freeMode||c===0||i.swipeReset(),t.preventLinks&&(i.allowLinks=!0),t.onSlideClick&&(i.allowSlideClick=!0)),setTimeout(function(){typeof i!="undefined"&&i!==null&&(t.preventLinks&&(i.allowLinks=!0),t.onSlideClick&&(i.allowSlideClick=!0))},100),s=f(),!i.isMoved&&t.freeMode){i.isMoved=!1;t.onTouchEnd&&i.fireCallback(t.onTouchEnd,i,n);i.callPlugins("onTouchEnd");return}if(!i.isMoved||i.positions.current>0||i.positions.current<-s){i.swipeReset();t.onTouchEnd&&i.fireCallback(t.onTouchEnd,i,n);i.callPlugins("onTouchEnd");return}if(i.isMoved=!1,t.freeMode){if(t.freeModeFluid){var p=1e3*t.momentumRatio,rt=i.velocity*p,o=i.positions.current+rt,w=!1,b,y=Math.abs(i.velocity)*20*t.momentumBounceRatio;o<-s&&(t.momentumBounce&&i.support.transitions?(o+s<-y&&(o=-s-y),b=-s,w=!0,it=!0):o=-s);o>0&&(t.momentumBounce&&i.support.transitions?(o>y&&(o=y),b=0,w=!0,it=!0):o=0);i.velocity!==0&&(p=Math.abs((o-i.positions.current)/i.velocity));i.setWrapperTranslate(o);i.setWrapperTransition(p);t.momentumBounce&&w&&i.wrapperTransitionEnd(function(){it&&(t.onMomentumBounce&&i.fireCallback(t.onMomentumBounce,i),i.callPlugins("onMomentumBounce"),i.setWrapperTranslate(b),i.setWrapperTransition(300))});i.updateActiveSlide(o)}(!t.freeModeFluid||l>=300)&&i.updateActiveSlide(i.positions.current);t.onTouchEnd&&i.fireCallback(t.onTouchEnd,i,n);i.callPlugins("onTouchEnd");return}if(d=tt<0?"toNext":"toPrev",d==="toNext"&&l<=300&&(c<30||!t.shortSwipes?i.swipeReset():i.swipeNext(!0,!0)),d==="toPrev"&&l<=300&&(c<30||!t.shortSwipes?i.swipeReset():i.swipePrev(!0,!0)),h=0,t.slidesPerView==="auto"){for(nt=Math.abs(i.getWrapperTranslate()),k=0,v=0;v<i.slides.length;v++)if(g=r?i.slides[v].getWidth(!0,t.roundLengths):i.slides[v].getHeight(!0,t.roundLengths),k+=g,k>nt){h=g;break}h>u&&(h=u)}else h=e*t.slidesPerView;d==="toNext"&&l>300&&(c>=h*t.longSwipesRatio?i.swipeNext(!0,!0):i.swipeReset());d==="toPrev"&&l>300&&(c>=h*t.longSwipesRatio?i.swipePrev(!0,!0):i.swipeReset());t.onTouchEnd&&i.fireCallback(t.onTouchEnd,i,n);i.callPlugins("onTouchEnd")}}function vt(n,t){return n&&n.getAttribute("class")&&n.getAttribute("class").indexOf(t)>-1}function ci(n){var i=!1;do vt(n,t.noSwipingClass)&&(i=!0),n=n.parentElement;while(!i&&n.parentElement&&!vt(n,t.wrapperClass));return!i&&vt(n,t.wrapperClass)&&vt(n,t.noSwipingClass)&&(i=!0),i}function fi(n,t){var r=document.createElement("div"),i;return r.innerHTML=t,i=r.firstChild,i.className+=" "+n,i.outerHTML}function yt(n,r,u){function s(){var o=+new Date,a=o-c;f+=l*a/(1e3/60);h=e==="toNext"?f>n:f<n;h?(i.setWrapperTranslate(Math.ceil(f)),i._DOMAnimating=!0,window.setTimeout(function(){s()},1e3/60)):(t.onSlideChangeEnd&&(r==="to"?u.runCallbacks===!0&&i.fireCallback(t.onSlideChangeEnd,i,e):i.fireCallback(t.onSlideChangeEnd,i,e)),i.setWrapperTranslate(n),i._DOMAnimating=!1)}var o=r==="to"&&u.speed>=0?u.speed:t.speed,c=+new Date;if(i.support.transitions||!t.DOMAnimation)i.setWrapperTranslate(n),i.setWrapperTransition(o);else{var f=i.getWrapperTranslate(),l=Math.ceil((n-f)/o*(1e3/60)),e=f>n?"toNext":"toPrev",h=e==="toNext"?f>n:f<n;if(i._DOMAnimating)return;s()}i.updateActiveSlide(n);t.onSlideNext&&r==="next"&&u.runCallbacks===!0&&i.fireCallback(t.onSlideNext,i,n);t.onSlidePrev&&r==="prev"&&u.runCallbacks===!0&&i.fireCallback(t.onSlidePrev,i,n);t.onSlideReset&&r==="reset"&&u.runCallbacks===!0&&i.fireCallback(t.onSlideReset,i,n);(r==="next"||r==="prev"||r==="to")&&u.runCallbacks===!0&&li(r)}function li(n){if(i.callPlugins("onSlideChangeStart"),t.onSlideChangeStart)if(t.queueStartCallbacks&&i.support.transitions){if(i._queueStartCallbacks)return;i._queueStartCallbacks=!0;i.fireCallback(t.onSlideChangeStart,i,n);i.wrapperTransitionEnd(function(){i._queueStartCallbacks=!1})}else i.fireCallback(t.onSlideChangeStart,i,n);if(t.onSlideChangeEnd)if(i.support.transitions)if(t.queueEndCallbacks){if(i._queueEndCallbacks)return;i._queueEndCallbacks=!0;i.wrapperTransitionEnd(function(r){i.fireCallback(t.onSlideChangeEnd,r,n)})}else i.wrapperTransitionEnd(function(r){i.fireCallback(t.onSlideChangeEnd,r,n)});else t.DOMAnimation||setTimeout(function(){i.fireCallback(t.onSlideChangeEnd,i,n)},10)}function ei(){var t=i.paginationButtons,n;if(t)for(n=0;n<t.length;n++)i.h.removeEventListener(t[n],"click",oi)}function ai(){var t=i.paginationButtons,n;if(t)for(n=0;n<t.length;n++)i.h.addEventListener(t[n],"click",oi)}function oi(n){for(var u,e=n.target||n.srcElement,f=i.paginationButtons,r=0;r<f.length;r++)e===f[r]&&(u=r);t.autoplay&&i.stopAutoplay(!0);i.swipeTo(u)}function dt(){o=setTimeout(function(){t.loop?(i.fixLoop(),i.swipeNext(!0,!0)):i.swipeNext(!0,!0)||(t.autoplayStopOnLast?(clearTimeout(o),o=undefined):i.swipeTo(0));i.wrapperTransitionEnd(function(){typeof o!="undefined"&&dt()})},t.autoplay)}function vi(){i.calcSlides();t.loader.slides.length>0&&i.slides.length===0&&i.loadSlides();t.loop&&i.createLoop();i.init();hi();t.pagination&&i.createPagination(!0);t.loop||t.initialSlide>0?i.swipeTo(t.initialSlide,0,!1):i.updateActiveSlide(0);t.autoplay&&i.startAutoplay();i.centerIndex=i.activeIndex;t.onSwiperCreated&&i.fireCallback(t.onSwiperCreated,i);i.callPlugins("onSwiperCreated")}var pt,i,ut,e,v,d,a,u,g,c,ft,r,y,p,wt,et,nt,ot,bt,kt,tt,s,lt,it,rt,at,o,l;if((!document.body.outerHTML&&document.body.__defineGetter__&&HTMLElement&&(pt=HTMLElement.prototype,pt.__defineGetter__&&pt.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})),window.getComputedStyle||(window.getComputedStyle=function(n){return this.el=n,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return t==="float"&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),n.currentStyle[t]?n.currentStyle[t]:null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(n,t){for(var i=t||0,r=this.length;i<r;i++)if(this[i]===n)return i;return-1}),document.querySelectorAll||window.jQuery)&&typeof n!="undefined"&&(n.nodeType||h(n).length!==0)){i=this;i.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0};i.positions={start:0,abs:0,diff:0,current:0};i.times={start:0,end:0};i.id=(new Date).getTime();i.container=n.nodeType?n:h(n)[0];i.isTouched=!1;i.isMoved=!1;i.activeIndex=0;i.centerIndex=0;i.activeLoaderIndex=0;i.activeLoopIndex=0;i.previousIndex=null;i.velocity=0;i.snapGrid=[];i.slidesGrid=[];i.imagesToLoad=[];i.imagesLoaded=0;i.wrapperLeft=0;i.wrapperRight=0;i.wrapperTop=0;i.wrapperBottom=0;i.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;g={eventTarget:"wrapper",mode:"horizontal",touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:!0,simulateTouch:!0,followFinger:!0,shortSwipes:!0,longSwipesRatio:.5,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:"span",paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,preventLinksPropagation:!1,noSwiping:!1,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:!1,mousewheelControl:!1,mousewheelControlForceToAxis:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,loop:!1,loopAdditionalSlides:0,roundLengths:!1,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:!1},swipeToPrev:!0,swipeToNext:!0,slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};t=t||{};for(c in g)if(c in t&&typeof t[c]=="object")for(ft in g[c])ft in t[c]||(t[c][ft]=g[c][ft]);else c in t||(t[c]=g[c]);for(i.params=t,t.scrollContainer&&(t.freeMode=!0,t.freeModeFluid=!0),t.loop&&(t.resistance="100%"),r=t.mode==="horizontal",y=["mousedown","mousemove","mouseup"],i.browser.ie10&&(y=["MSPointerDown","MSPointerMove","MSPointerUp"]),i.browser.ie11&&(y=["pointerdown","pointermove","pointerup"]),i.touchEvents={touchStart:i.support.touch||!t.simulateTouch?"touchstart":y[0],touchMove:i.support.touch||!t.simulateTouch?"touchmove":y[1],touchEnd:i.support.touch||!t.simulateTouch?"touchend":y[2]},p=i.container.childNodes.length-1;p>=0;p--)if(i.container.childNodes[p].className)for(wt=i.container.childNodes[p].className.split(/\s+/),et=0;et<wt.length;et++)wt[et]===t.wrapperClass&&(ut=i.container.childNodes[p]);i.wrapper=ut;i._extendSwiperSlide=function(n){return n.append=function(){return t.loop?n.insertAfter(i.slides.length-i.loopedSlides):(i.wrapper.appendChild(n),i.reInit()),n},n.prepend=function(){return t.loop?(i.wrapper.insertBefore(n,i.slides[i.loopedSlides]),i.removeLoopedSlides(),i.calcSlides(),i.createLoop()):i.wrapper.insertBefore(n,i.wrapper.firstChild),i.reInit(),n},n.insertAfter=function(r){if(typeof r=="undefined")return!1;var u;return t.loop?(u=i.slides[r+1+i.loopedSlides],u?i.wrapper.insertBefore(n,u):i.wrapper.appendChild(n),i.removeLoopedSlides(),i.calcSlides(),i.createLoop()):(u=i.slides[r+1],i.wrapper.insertBefore(n,u)),i.reInit(),n},n.clone=function(){return i._extendSwiperSlide(n.cloneNode(!0))},n.remove=function(){i.wrapper.removeChild(n);i.reInit()},n.html=function(t){return typeof t=="undefined"?n.innerHTML:(n.innerHTML=t,n)},n.index=function(){for(var r,t=i.slides.length-1;t>=0;t--)n===i.slides[t]&&(r=t);return r},n.isActive=function(){return n.index()===i.activeIndex?!0:!1},n.swiperSlideDataStorage||(n.swiperSlideDataStorage={}),n.getData=function(t){return n.swiperSlideDataStorage[t]},n.setData=function(t,i){return n.swiperSlideDataStorage[t]=i,n},n.data=function(t,i){return typeof i=="undefined"?n.getAttribute("data-"+t):(n.setAttribute("data-"+t,i),n)},n.getWidth=function(t,r){return i.h.getWidth(n,t,r)},n.getHeight=function(t,r){return i.h.getHeight(n,t,r)},n.getOffset=function(){return i.h.getOffset(n)},n};i.calcSlides=function(n){var e=i.slides?i.slides.length:!1,r,o,f,u;for(i.slides=[],i.displaySlides=[],r=0;r<i.wrapper.childNodes.length;r++)if(i.wrapper.childNodes[r].className)for(o=i.wrapper.childNodes[r].className,f=o.split(/\s+/),u=0;u<f.length;u++)f[u]===t.slideClass&&i.slides.push(i.wrapper.childNodes[r]);for(r=i.slides.length-1;r>=0;r--)i._extendSwiperSlide(i.slides[r]);e!==!1&&(e!==i.slides.length||n)&&(ni(),gt(),i.updateActiveSlide(),i.params.pagination&&i.createPagination(),i.callPlugins("numberOfSlidesChanged"))};i.createSlide=function(n,r,u){r=r||i.params.slideClass;u=u||t.slideElement;var f=document.createElement(u);return f.innerHTML=n||"",f.className=r,i._extendSwiperSlide(f)};i.appendSlide=function(n,t,r){if(n)return n.nodeType?i._extendSwiperSlide(n).append():i.createSlide(n,t,r).append()};i.prependSlide=function(n,t,r){if(n)return n.nodeType?i._extendSwiperSlide(n).prepend():i.createSlide(n,t,r).prepend()};i.insertSlideAfter=function(n,t,r,u){return typeof n=="undefined"?!1:t.nodeType?i._extendSwiperSlide(t).insertAfter(n):i.createSlide(t,r,u).insertAfter(n)};i.removeSlide=function(n){if(i.slides[n]){if(t.loop){if(!i.slides[n+i.loopedSlides])return!1;i.slides[n+i.loopedSlides].remove();i.removeLoopedSlides();i.calcSlides();i.createLoop()}else i.slides[n].remove();return!0}return!1};i.removeLastSlide=function(){return i.slides.length>0?(t.loop?(i.slides[i.slides.length-1-i.loopedSlides].remove(),i.removeLoopedSlides(),i.calcSlides(),i.createLoop()):i.slides[i.slides.length-1].remove(),!0):!1};i.removeAllSlides=function(){for(var t=i.slides.length,n=i.slides.length-1;n>=0;n--)i.slides[n].remove(),n===t-1&&i.setWrapperTranslate(0)};i.getSlide=function(n){return i.slides[n]};i.getLastSlide=function(){return i.slides[i.slides.length-1]};i.getFirstSlide=function(){return i.slides[0]};i.activeSlide=function(){return i.slides[i.activeIndex]};i.fireCallback=function(){var n=arguments[0],r;if(Object.prototype.toString.call(n)==="[object Array]")for(r=0;r<n.length;r++)typeof n[r]=="function"&&n[r](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);else Object.prototype.toString.call(n)==="[object String]"?t["on"+n]&&i.fireCallback(t["on"+n],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]):n(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])};i.addCallback=function(n,t){var r=this,i;if(r.params["on"+n]){if(si(this.params["on"+n]))return this.params["on"+n].push(t);if(typeof this.params["on"+n]=="function")return i=this.params["on"+n],this.params["on"+n]=[],this.params["on"+n].push(i),this.params["on"+n].push(t)}else return this.params["on"+n]=[],this.params["on"+n].push(t)};i.removeCallbacks=function(n){i.params["on"+n]&&(i.params["on"+n]=null)};nt=[];for(ot in i.plugins)t[ot]&&(bt=i.plugins[ot](i,t[ot]),bt&&nt.push(bt));i.callPlugins=function(n,t){t||(t={});for(var i=0;i<nt.length;i++)n in nt[i]&&nt[i][n](t)};(i.browser.ie10||i.browser.ie11)&&!t.onlyExternal&&i.wrapper.classList.add("swiper-wp8-"+(r?"horizontal":"vertical"));t.freeMode&&(i.container.className+=" swiper-free-mode");i.initialized=!1;i.init=function(n,f){var tt=i.h.getWidth(i.container,!1,t.roundLengths),it=i.h.getHeight(i.container,!1,t.roundLengths),a,c,p,w,l,h,s,o,k,d,g,y,b,nt;if(tt!==i.width||it!==i.height||n){if(i.width=tt,i.height=it,u=r?tt:it,o=i.wrapper,n&&i.calcSlides(f),t.slidesPerView==="auto"){for(k=0,d=0,t.slidesOffset>0&&(o.style.paddingLeft="",o.style.paddingRight="",o.style.paddingTop="",o.style.paddingBottom=""),o.style.width="",o.style.height="",t.offsetPxBefore>0&&(r?i.wrapperLeft=t.offsetPxBefore:i.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(r?i.wrapperRight=t.offsetPxAfter:i.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(r?(i.wrapperLeft=(u-this.slides[0].getWidth(!0,t.roundLengths))/2,i.wrapperRight=(u-i.slides[i.slides.length-1].getWidth(!0,t.roundLengths))/2):(i.wrapperTop=(u-i.slides[0].getHeight(!0,t.roundLengths))/2,i.wrapperBottom=(u-i.slides[i.slides.length-1].getHeight(!0,t.roundLengths))/2)),r?(i.wrapperLeft>=0&&(o.style.paddingLeft=i.wrapperLeft+"px"),i.wrapperRight>=0&&(o.style.paddingRight=i.wrapperRight+"px")):(i.wrapperTop>=0&&(o.style.paddingTop=i.wrapperTop+"px"),i.wrapperBottom>=0&&(o.style.paddingBottom=i.wrapperBottom+"px")),h=0,g=0,i.snapGrid=[],i.slidesGrid=[],p=0,s=0;s<i.slides.length;s++){if(a=i.slides[s].getWidth(!0,t.roundLengths),c=i.slides[s].getHeight(!0,t.roundLengths),t.calculateHeight&&(p=Math.max(p,c)),y=r?a:c,t.centeredSlides){var rt=s===i.slides.length-1?0:i.slides[s+1].getWidth(!0,t.roundLengths),ut=s===i.slides.length-1?0:i.slides[s+1].getHeight(!0,t.roundLengths),ft=r?rt:ut;if(y>u){if(t.slidesPerViewFit)i.snapGrid.push(h+i.wrapperLeft),i.snapGrid.push(h+y-u+i.wrapperLeft);else for(b=0;b<=Math.floor(y/(u+i.wrapperLeft));b++)b===0?i.snapGrid.push(h+i.wrapperLeft):i.snapGrid.push(h+i.wrapperLeft+u*b);i.slidesGrid.push(h+i.wrapperLeft)}else i.snapGrid.push(g),i.slidesGrid.push(g);g+=y/2+ft/2}else{if(y>u)if(t.slidesPerViewFit)i.snapGrid.push(h),i.snapGrid.push(h+y-u);else if(u!==0)for(nt=0;nt<=Math.floor(y/u);nt++)i.snapGrid.push(h+u*nt);else i.snapGrid.push(h);else i.snapGrid.push(h);i.slidesGrid.push(h)}h+=y;k+=a;d+=c}t.calculateHeight&&(i.height=p);r?(v=k+i.wrapperRight+i.wrapperLeft,t.cssWidthAndHeight&&t.cssWidthAndHeight!=="height"||(o.style.width=k+"px"),t.cssWidthAndHeight&&t.cssWidthAndHeight!=="width"||(o.style.height=i.height+"px")):(t.cssWidthAndHeight&&t.cssWidthAndHeight!=="height"||(o.style.width=i.width+"px"),t.cssWidthAndHeight&&t.cssWidthAndHeight!=="width"||(o.style.height=d+"px"),v=d+i.wrapperTop+i.wrapperBottom)}else if(t.scrollContainer)o.style.width="",o.style.height="",w=i.slides[0].getWidth(!0,t.roundLengths),l=i.slides[0].getHeight(!0,t.roundLengths),v=r?w:l,o.style.width=w+"px",o.style.height=l+"px",e=r?w:l;else{if(t.calculateHeight){for(p=0,l=0,r||(i.container.style.height=""),o.style.height="",s=0;s<i.slides.length;s++)i.slides[s].style.height="",p=Math.max(i.slides[s].getHeight(!0),p),r||(l+=i.slides[s].getHeight(!0));c=p;i.height=c;r?l=c:(u=c,i.container.style.height=u+"px")}else c=r?i.height:i.height/t.slidesPerView,t.roundLengths&&(c=Math.ceil(c)),l=r?i.height:i.slides.length*c;for(a=r?i.width/t.slidesPerView:i.width,t.roundLengths&&(a=Math.ceil(a)),w=r?i.slides.length*a:i.width,e=r?a:c,t.offsetSlidesBefore>0&&(r?i.wrapperLeft=e*t.offsetSlidesBefore:i.wrapperTop=e*t.offsetSlidesBefore),t.offsetSlidesAfter>0&&(r?i.wrapperRight=e*t.offsetSlidesAfter:i.wrapperBottom=e*t.offsetSlidesAfter),t.offsetPxBefore>0&&(r?i.wrapperLeft=t.offsetPxBefore:i.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(r?i.wrapperRight=t.offsetPxAfter:i.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(r?(i.wrapperLeft=(u-e)/2,i.wrapperRight=(u-e)/2):(i.wrapperTop=(u-e)/2,i.wrapperBottom=(u-e)/2)),r?(i.wrapperLeft>0&&(o.style.paddingLeft=i.wrapperLeft+"px"),i.wrapperRight>0&&(o.style.paddingRight=i.wrapperRight+"px")):(i.wrapperTop>0&&(o.style.paddingTop=i.wrapperTop+"px"),i.wrapperBottom>0&&(o.style.paddingBottom=i.wrapperBottom+"px")),v=r?w+i.wrapperRight+i.wrapperLeft:l+i.wrapperTop+i.wrapperBottom,parseFloat(w)>0&&(!t.cssWidthAndHeight||t.cssWidthAndHeight==="height")&&(o.style.width=w+"px"),parseFloat(l)>0&&(!t.cssWidthAndHeight||t.cssWidthAndHeight==="width")&&(o.style.height=l+"px"),h=0,i.snapGrid=[],i.slidesGrid=[],s=0;s<i.slides.length;s++)i.snapGrid.push(h),i.slidesGrid.push(h),h+=e,parseFloat(a)>0&&(!t.cssWidthAndHeight||t.cssWidthAndHeight==="height")&&(i.slides[s].style.width=a+"px"),parseFloat(c)>0&&(!t.cssWidthAndHeight||t.cssWidthAndHeight==="width")&&(i.slides[s].style.height=c+"px")}i.initialized?(i.callPlugins("onInit"),t.onInit&&i.fireCallback(t.onInit,i)):(i.callPlugins("onFirstInit"),t.onFirstInit&&i.fireCallback(t.onFirstInit,i));i.initialized=!0}};i.reInit=function(n){i.init(!0,n)};i.resizeFix=function(n){i.callPlugins("beforeResizeFix");i.init(t.resizeReInit||n);t.freeMode?i.getWrapperTranslate()<-f()&&(i.setWrapperTransition(0),i.setWrapperTranslate(-f())):(i.swipeTo(t.loop?i.activeLoopIndex:i.activeIndex,0,!1),t.autoplay&&(i.support.transitions&&typeof o!="undefined"?typeof o!="undefined"&&(clearTimeout(o),o=undefined,i.startAutoplay()):typeof l!="undefined"&&(clearInterval(l),l=undefined,i.startAutoplay())));i.callPlugins("afterResizeFix")};i.destroy=function(n){var r=i.h.removeEventListener,u=t.eventTarget==="wrapper"?i.wrapper:i.container,f;if(i.browser.ie10||i.browser.ie11?(r(u,i.touchEvents.touchStart,w),r(document,i.touchEvents.touchMove,b),r(document,i.touchEvents.touchEnd,k)):(i.support.touch&&(r(u,"touchstart",w),r(u,"touchmove",b),r(u,"touchend",k)),t.simulateTouch&&(r(u,"mousedown",w),r(document,"mousemove",b),r(document,"mouseup",k))),t.autoResize&&r(window,"resize",i.resizeFix),ni(),t.paginationClickable&&ei(),t.mousewheelControl&&i._wheelEvent&&r(i.container,i._wheelEvent,ht),t.keyboardControl&&r(document,"keydown",st),t.autoplay&&i.stopAutoplay(),n)for(i.wrapper.removeAttribute("style"),f=0;f<i.slides.length;f++)i.slides[f].removeAttribute("style");i.callPlugins("onDestroy");window.jQuery&&window.jQuery(i.container).data("swiper")&&window.jQuery(i.container).removeData("swiper");window.Zepto&&window.Zepto(i.container).data("swiper")&&window.Zepto(i.container).removeData("swiper");i=null};i.disableKeyboardControl=function(){t.keyboardControl=!1;i.h.removeEventListener(document,"keydown",st)};i.enableKeyboardControl=function(){t.keyboardControl=!0;i.h.addEventListener(document,"keydown",st)};kt=(new Date).getTime();i.disableMousewheelControl=function(){return i._wheelEvent?(t.mousewheelControl=!1,i.h.removeEventListener(i.container,i._wheelEvent,ht),!0):!1};i.enableMousewheelControl=function(){return i._wheelEvent?(t.mousewheelControl=!0,i.h.addEventListener(i.container,i._wheelEvent,ht),!0):!1};t.grabCursor&&(tt=i.container.style,tt.cursor="move",tt.cursor="grab",tt.cursor="-moz-grab",tt.cursor="-webkit-grab");i.allowSlideClick=!0;i.allowLinks=!0;s=!1;it=!0;i.swipeNext=function(n,r){var o,u,s,h;if(typeof n=="undefined"&&(n=!0),!r&&t.loop&&i.fixLoop(),!r&&t.autoplay&&i.stopAutoplay(!0),i.callPlugins("onSwipeNext"),o=i.getWrapperTranslate().toFixed(2),u=o,t.slidesPerView==="auto"){for(s=0;s<i.snapGrid.length;s++)if(-o>=i.snapGrid[s].toFixed(2)&&-o<i.snapGrid[s+1].toFixed(2)){u=-i.snapGrid[s+1];break}}else h=e*t.slidesPerGroup,u=-(Math.floor(Math.abs(o)/Math.floor(h))*h+h);return(u<-f()&&(u=-f()),u===o)?!1:(yt(u,"next",{runCallbacks:n}),!0)};i.swipePrev=function(n,r){var o,u,f,s;if(typeof n=="undefined"&&(n=!0),!r&&t.loop&&i.fixLoop(),!r&&t.autoplay&&i.stopAutoplay(!0),i.callPlugins("onSwipePrev"),o=Math.ceil(i.getWrapperTranslate()),t.slidesPerView==="auto")for(u=0,f=1;f<i.snapGrid.length;f++){if(-o===i.snapGrid[f]){u=-i.snapGrid[f-1];break}if(-o>i.snapGrid[f]&&-o<i.snapGrid[f+1]){u=-i.snapGrid[f];break}}else s=e*t.slidesPerGroup,u=-(Math.ceil(-o/s)-1)*s;return(u>0&&(u=0),u===o)?!1:(yt(u,"prev",{runCallbacks:n}),!0)};i.swipeReset=function(n){var s;typeof n=="undefined"&&(n=!0);i.callPlugins("onSwipeReset");var o=i.getWrapperTranslate(),h=e*t.slidesPerGroup,r,c=-f();if(t.slidesPerView==="auto"){for(r=0,s=0;s<i.snapGrid.length;s++){if(-o===i.snapGrid[s])return;if(-o>=i.snapGrid[s]&&-o<i.snapGrid[s+1]){r=i.positions.diff>0?-i.snapGrid[s+1]:-i.snapGrid[s];break}}-o>=i.snapGrid[i.snapGrid.length-1]&&(r=-i.snapGrid[i.snapGrid.length-1]);o<=-f()&&(r=-f())}else r=o<0?Math.round(o/h)*h:0,o<=-f()&&(r=-f());return(t.scrollContainer&&(r=o<0?o:0),r<-f()&&(r=-f()),t.scrollContainer&&u>e&&(r=0),r===o)?!1:(yt(r,"reset",{runCallbacks:n}),!0)};i.swipeTo=function(n,r,u){var s,o;if(n=parseInt(n,10),i.callPlugins("onSwipeTo",{index:n,speed:r}),t.loop&&(n=n+i.loopedSlides),s=i.getWrapperTranslate(),isFinite(n)&&!(n>i.slides.length-1)&&!(n<0))return(o=t.slidesPerView==="auto"?-i.slidesGrid[n]:-n*e,o<-f()&&(o=-f()),o===s)?!1:(typeof u=="undefined"&&(u=!0),yt(o,"to",{index:n,speed:r,runCallbacks:u}),!0)};i._queueStartCallbacks=!1;i._queueEndCallbacks=!1;i.updateActiveSlide=function(n){var r,l,o,s,u,h,c,f;if(i.initialized&&i.slides.length!==0){if(i.previousIndex=i.activeIndex,typeof n=="undefined"&&(n=i.getWrapperTranslate()),n>0&&(n=0),t.slidesPerView==="auto"){if(l=0,i.activeIndex=i.slidesGrid.indexOf(-n),i.activeIndex<0){for(r=0;r<i.slidesGrid.length-1;r++)if(-n>i.slidesGrid[r]&&-n<i.slidesGrid[r+1])break;o=Math.abs(i.slidesGrid[r]+n);s=Math.abs(i.slidesGrid[r+1]+n);i.activeIndex=o<=s?r:r+1}}else i.activeIndex=Math[t.visibilityFullFit?"ceil":"round"](-n/e);if(i.activeIndex===i.slides.length&&(i.activeIndex=i.slides.length-1),i.activeIndex<0&&(i.activeIndex=0),i.slides[i.activeIndex]){if(i.calcVisibleSlides(n),i.support.classList){for(r=0;r<i.slides.length;r++)u=i.slides[r],u.classList.remove(t.slideActiveClass),i.visibleSlides.indexOf(u)>=0?u.classList.add(t.slideVisibleClass):u.classList.remove(t.slideVisibleClass);i.slides[i.activeIndex].classList.add(t.slideActiveClass)}else{for(h=new RegExp("\\s*"+t.slideActiveClass),c=new RegExp("\\s*"+t.slideVisibleClass),r=0;r<i.slides.length;r++)i.slides[r].className=i.slides[r].className.replace(h,"").replace(c,""),i.visibleSlides.indexOf(i.slides[r])>=0&&(i.slides[r].className+=" "+t.slideVisibleClass);i.slides[i.activeIndex].className+=" "+t.slideActiveClass}t.loop?(f=i.loopedSlides,i.activeLoopIndex=i.activeIndex-f,i.activeLoopIndex>=i.slides.length-f*2&&(i.activeLoopIndex=i.slides.length-f*2-i.activeLoopIndex),i.activeLoopIndex<0&&(i.activeLoopIndex=i.slides.length-f*2+i.activeLoopIndex),i.activeLoopIndex<0&&(i.activeLoopIndex=0)):i.activeLoopIndex=i.activeIndex;t.pagination&&i.updatePagination(n)}}};i.createPagination=function(n){var r;if(t.paginationClickable&&i.paginationButtons&&ei(),i.paginationContainer=t.pagination.nodeType?t.pagination:h(t.pagination)[0],t.createPagination){var u="",e=i.slides.length,f=e;for(t.loop&&(f-=i.loopedSlides*2),r=0;r<f;r++)u+="<"+t.paginationElement+' class="'+t.paginationElementClass+'"><\/'+t.paginationElement+">";i.paginationContainer.innerHTML=u}i.paginationButtons=h("."+t.paginationElementClass,i.paginationContainer);n||i.updatePagination();i.callPlugins("onCreatePagination");t.paginationClickable&&ai()};i.updatePagination=function(n){var s,r,o,c,e,f,u;if(t.pagination&&!(i.slides.length<1)&&(s=h("."+t.paginationActiveClass,i.paginationContainer),s)&&(r=i.paginationButtons,r.length!==0)){for(o=0;o<r.length;o++)r[o].className=t.paginationElementClass;if(c=t.loop?i.loopedSlides:0,t.paginationAsRange){for(i.visibleSlides||i.calcVisibleSlides(n),e=[],f=0;f<i.visibleSlides.length;f++)u=i.slides.indexOf(i.visibleSlides[f])-c,t.loop&&u<0&&(u=i.slides.length-i.loopedSlides*2+u),t.loop&&u>=i.slides.length-i.loopedSlides*2&&(u=i.slides.length-i.loopedSlides*2-u,u=Math.abs(u)),e.push(u);for(f=0;f<e.length;f++)r[e[f]]&&(r[e[f]].className+=" "+t.paginationVisibleClass);t.loop?r[i.activeLoopIndex]!==undefined&&(r[i.activeLoopIndex].className+=" "+t.paginationActiveClass):r[i.activeIndex]&&(r[i.activeIndex].className+=" "+t.paginationActiveClass)}else t.loop?r[i.activeLoopIndex]&&(r[i.activeLoopIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass):r[i.activeIndex]&&(r[i.activeIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass)}};i.calcVisibleSlides=function(n){var c=[],f=0,l=0,s=0,h,o;for(r&&i.wrapperLeft>0&&(n=n+i.wrapperLeft),!r&&i.wrapperTop>0&&(n=n+i.wrapperTop),h=0;h<i.slides.length;h++)f+=l,l=t.slidesPerView==="auto"?r?i.h.getWidth(i.slides[h],!0,t.roundLengths):i.h.getHeight(i.slides[h],!0,t.roundLengths):e,s=f+l,o=!1,t.visibilityFullFit?(f>=-n&&s<=-n+u&&(o=!0),f<=-n&&s>=-n+u&&(o=!0)):(s>-n&&s<=-n+u&&(o=!0),f>=-n&&f<-n+u&&(o=!0),f<-n&&s>-n+u&&(o=!0)),o&&c.push(i.slides[h]);c.length===0&&(c=[i.slides[i.activeIndex]]);i.visibleSlides=c};i.startAutoplay=function(){if(i.support.transitions){if(typeof o!="undefined")return!1;if(!t.autoplay)return;i.callPlugins("onAutoplayStart");t.onAutoplayStart&&i.fireCallback(t.onAutoplayStart,i);dt()}else{if(typeof l!="undefined")return!1;if(!t.autoplay)return;i.callPlugins("onAutoplayStart");t.onAutoplayStart&&i.fireCallback(t.onAutoplayStart,i);l=setInterval(function(){t.loop?(i.fixLoop(),i.swipeNext(!0,!0)):i.swipeNext(!0,!0)||(t.autoplayStopOnLast?(clearInterval(l),l=undefined):i.swipeTo(0))},t.autoplay)}};i.stopAutoplay=function(n){if(i.support.transitions){if(!o)return;o&&clearTimeout(o);o=undefined;n&&!t.autoplayDisableOnInteraction&&i.wrapperTransitionEnd(function(){dt()});i.callPlugins("onAutoplayStop");t.onAutoplayStop&&i.fireCallback(t.onAutoplayStop,i)}else l&&clearInterval(l),l=undefined,i.callPlugins("onAutoplayStop"),t.onAutoplayStop&&i.fireCallback(t.onAutoplayStop,i)};i.loopCreated=!1;i.removeLoopedSlides=function(){if(i.loopCreated)for(var n=0;n<i.slides.length;n++)i.slides[n].getData("looped")===!0&&i.wrapper.removeChild(i.slides[n])};i.createLoop=function(){var f,h,c;if(i.slides.length!==0){i.loopedSlides=t.slidesPerView==="auto"?t.loopedSlides||1:Math.floor(t.slidesPerView)+t.loopAdditionalSlides;i.loopedSlides>i.slides.length&&(i.loopedSlides=i.slides.length);for(var e="",o="",u="",r=i.slides.length,l=Math.floor(i.loopedSlides/r),s=i.loopedSlides%r,n=0;n<l*r;n++)f=n,n>=r&&(h=Math.floor(n/r),f=n-r*h),u+=i.slides[f].outerHTML;for(n=0;n<s;n++)o+=fi(t.slideDuplicateClass,i.slides[n].outerHTML);for(n=r-s;n<r;n++)e+=fi(t.slideDuplicateClass,i.slides[n].outerHTML);for(c=e+u+ut.innerHTML+u+o,ut.innerHTML=c,i.loopCreated=!0,i.calcSlides(),n=0;n<i.slides.length;n++)(n<i.loopedSlides||n>=i.slides.length-i.loopedSlides)&&i.slides[n].setData("looped",!0);i.callPlugins("onCreateLoop")}};i.fixLoop=function(){var n;i.activeIndex<i.loopedSlides?(n=i.slides.length-i.loopedSlides*3+i.activeIndex,i.swipeTo(n,0,!1)):(t.slidesPerView==="auto"&&i.activeIndex>=i.loopedSlides*2||i.activeIndex>i.slides.length-t.slidesPerView*2)&&(n=-i.slides.length+i.activeIndex+i.loopedSlides,i.swipeTo(n,0,!1))};i.loadSlides=function(){var u="",r,f,n;for(i.activeLoaderIndex=0,r=t.loader.slides,f=t.loader.loadAllSlides?r.length:t.slidesPerView*(1+t.loader.surroundGroups),n=0;n<f;n++)u+=t.loader.slidesHTMLType==="outer"?r[n]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+n+'">'+r[n]+"<\/"+t.slideElement+">";i.wrapper.innerHTML=u;i.calcSlides(!0);t.loader.loadAllSlides||i.wrapperTransitionEnd(i.reloadSlides,!0)};i.reloadSlides=function(){var f=t.loader.slides,u=parseInt(i.activeSlide().data("swiperindex"),10),o,h,v,n,a,c,l,s,r;if(!(u<0)&&!(u>f.length-1)){if(i.activeLoaderIndex=u,o=Math.max(0,u-t.slidesPerView*t.loader.surroundGroups),h=Math.min(u+t.slidesPerView*(1+t.loader.surroundGroups)-1,f.length-1),u>0&&(v=-e*(u-o),i.setWrapperTranslate(v),i.setWrapperTransition(0)),t.loader.logic==="reload"){for(i.wrapper.innerHTML="",a="",n=o;n<=h;n++)a+=t.loader.slidesHTMLType==="outer"?f[n]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+n+'">'+f[n]+"<\/"+t.slideElement+">";i.wrapper.innerHTML=a}else{for(c=1e3,l=0,n=0;n<i.slides.length;n++)s=i.slides[n].data("swiperindex"),s<o||s>h?i.wrapper.removeChild(i.slides[n]):(c=Math.min(s,c),l=Math.max(s,l));for(n=o;n<=h;n++)n<c&&(r=document.createElement(t.slideElement),r.className=t.slideClass,r.setAttribute("data-swiperindex",n),r.innerHTML=f[n],i.wrapper.insertBefore(r,i.wrapper.firstChild)),n>l&&(r=document.createElement(t.slideElement),r.className=t.slideClass,r.setAttribute("data-swiperindex",n),r.innerHTML=f[n],i.wrapper.appendChild(r))}i.reInit(!0)}};vi()}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(n,t){"use strict";function e(o){if(o.target===f&&(n(r),r.params.queueEndCallbacks&&(r._queueEndCallbacks=!1),!t))for(i=0;i<u.length;i++)r.h.removeEventListener(f,u[i],e)}var r=this,f=r.wrapper,u=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i;if(n)for(i=0;i<u.length;i++)r.h.addEventListener(f,u[i],e)},getWrapperTranslate:function(n){"use strict";var f=this.wrapper,i,r,t,u;return typeof n=="undefined"&&(n=this.params.mode==="horizontal"?"x":"y"),this.support.transforms&&this.params.useCSS3Transforms?(t=window.getComputedStyle(f,null),window.WebKitCSSMatrix?u=new WebKitCSSMatrix(t.webkitTransform==="none"?"":t.webkitTransform):(u=t.MozTransform||t.OTransform||t.MsTransform||t.msTransform||t.transform||t.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=u.toString().split(",")),n==="x"&&(r=window.WebKitCSSMatrix?u.m41:i.length===16?parseFloat(i[12]):parseFloat(i[4])),n==="y"&&(r=window.WebKitCSSMatrix?u.m42:i.length===16?parseFloat(i[13]):parseFloat(i[5]))):(n==="x"&&(r=parseFloat(f.style.left,10)||0),n==="y"&&(r=parseFloat(f.style.top,10)||0)),r||0},setWrapperTranslate:function(n,t,i){"use strict";var u=this.wrapper.style,r={x:0,y:0,z:0},f;arguments.length===3?(r.x=n,r.y=t,r.z=i):(typeof t=="undefined"&&(t=this.params.mode==="horizontal"?"x":"y"),r[t]=n);this.support.transforms&&this.params.useCSS3Transforms?(f=this.support.transforms3d?"translate3d("+r.x+"px, "+r.y+"px, "+r.z+"px)":"translate("+r.x+"px, "+r.y+"px)",u.webkitTransform=u.MsTransform=u.msTransform=u.MozTransform=u.OTransform=u.transform=f):(u.left=r.x+"px",u.top=r.y+"px");this.callPlugins("onSetWrapperTransform",r);this.params.onSetWrapperTransform&&this.fireCallback(this.params.onSetWrapperTransform,this,r)},setWrapperTransition:function(n){"use strict";var t=this.wrapper.style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=n/1e3+"s";this.callPlugins("onSetWrapperTransition",{duration:n});this.params.onSetWrapperTransition&&this.fireCallback(this.params.onSetWrapperTransition,this,n)},h:{getWidth:function(n,t,i){"use strict";var u=window.getComputedStyle(n,null).getPropertyValue("width"),r=parseFloat(u);return(isNaN(r)||u.indexOf("%")>0||r<0)&&(r=n.offsetWidth-parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-right"))),t&&(r+=parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-right"))),i?Math.ceil(r):r},getHeight:function(n,t,i){"use strict";if(t)return n.offsetHeight;var u=window.getComputedStyle(n,null).getPropertyValue("height"),r=parseFloat(u);return(isNaN(r)||u.indexOf("%")>0||r<0)&&(r=n.offsetHeight-parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-bottom"))),t&&(r+=parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-bottom"))),i?Math.ceil(r):r},getOffset:function(n){"use strict";var t=n.getBoundingClientRect(),i=document.body,f=n.clientTop||i.clientTop||0,e=n.clientLeft||i.clientLeft||0,r=window.pageYOffset||n.scrollTop,u=window.pageXOffset||n.scrollLeft;return document.documentElement&&!window.pageYOffset&&(r=document.documentElement.scrollTop,u=document.documentElement.scrollLeft),{top:t.top+r-f,left:t.left+u-e}},windowWidth:function(){"use strict";return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:void 0},windowHeight:function(){"use strict";return window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:void 0},windowScroll:function(){"use strict";return typeof pageYOffset!="undefined"?{left:window.pageXOffset,top:window.pageYOffset}:document.documentElement?{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop}:void 0},addEventListener:function(n,t,i,r){"use strict";typeof r=="undefined"&&(r=!1);n.addEventListener?n.addEventListener(t,i,r):n.attachEvent&&n.attachEvent("on"+t,i)},removeEventListener:function(n,t,i,r){"use strict";typeof r=="undefined"&&(r=!1);n.removeEventListener?n.removeEventListener(t,i,r):n.detachEvent&&n.detachEvent("on"+t,i)}},setTransform:function(n,t){"use strict";var i=n.style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=t},setTranslate:function(n,t){"use strict";var i=n.style,r={x:t.x||0,y:t.y||0,z:t.z||0},u=this.support.transforms3d?"translate3d("+r.x+"px,"+r.y+"px,"+r.z+"px)":"translate("+r.x+"px,"+r.y+"px)";i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=u;this.support.transforms||(i.left=r.x+"px",i.top=r.y+"px")},setTransition:function(n,t){"use strict";var i=n.style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=t+"ms"},support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){"use strict";return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){"use strict";var n=document.createElement("div").style;return"webkitPerspective"in n||"MozPerspective"in n||"OPerspective"in n||"MsPerspective"in n||"perspective"in n}(),transforms:window.Modernizr&&Modernizr.csstransforms===!0||function(){"use strict";var n=document.createElement("div").style;return"transform"in n||"WebkitTransform"in n||"MozTransform"in n||"msTransform"in n||"MsTransform"in n||"OTransform"in n}(),transitions:window.Modernizr&&Modernizr.csstransitions===!0||function(){"use strict";var n=document.createElement("div").style;return"transition"in n||"WebkitTransition"in n||"MozTransition"in n||"msTransition"in n||"MsTransition"in n||"OTransition"in n}(),classList:function(){"use strict";var n=document.createElement("div");return"classList"in n}()},browser:{ie8:function(){"use strict";var n=-1,t,i;return navigator.appName==="Microsoft Internet Explorer"&&(t=navigator.userAgent,i=new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/),i.exec(t)!==null&&(n=parseFloat(RegExp.$1))),n!==-1&&n<9}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}};(window.jQuery||window.Zepto)&&function(n){"use strict";n.fn.swiper=function(t){var i;return this.each(function(r){var u=n(this),f=new Swiper(u[0],t);r||(i=f);u.data("swiper",f)}),i}}(window.jQuery||window.Zepto);typeof module!="undefined"?module.exports=Swiper:typeof define=="function"&&define.amd&&define([],function(){"use strict";return Swiper});Swiper.prototype.plugins.tdFlow=function(n,t){function c(){var t;for(h=!0,i=n.slides,t=0;t<i.length;t++)n.setTransition(i[t],0);if(r)for(u=n.h.getWidth(n.wrapper),f=u/i.length,t=0;t<i.length;t++)i[t].swiperSlideOffset=i[t].offsetLeft;else for(u=n.h.getHeight(n.wrapper),f=u/i.length,t=0;t<i.length;t++)i[t].swiperSlideOffset=i[t].offsetTop}function s(i){var u,p,w,b,k;if(h){var i=i||{x:0,y:0,z:0},v=r?-i.x+n.width/2:-i.y+n.height/2,y=r?t.rotate:-t.rotate,d=t.depth;for(u=0;u<n.slides.length;u++){var g=n.slides[u].swiperSlideOffset,e=(v-g-f/2)/f*t.modifier,o=r?y*e:0,s=r?0:y*e,c=-d*Math.abs(e),l=r?0:t.stretch*e,a=r?t.stretch*e:0;Math.abs(a)<.001&&(a=0);Math.abs(l)<.001&&(l=0);Math.abs(c)<.001&&(c=0);Math.abs(o)<.001&&(o=0);Math.abs(s)<.001&&(s=0);p="translate3d("+a+"px,"+l+"px,"+c+"px)  rotateX("+s+"deg) rotateY("+o+"deg)";n.setTransform(n.slides[u],p);n.slides[u].style.zIndex=-Math.abs(Math.round(e))+1;t.shadows&&(w=r?n.slides[u].querySelector(".swiper-slide-shadow-left"):n.slides[u].querySelector(".swiper-slide-shadow-top"),b=r?n.slides[u].querySelector(".swiper-slide-shadow-right"):n.slides[u].querySelector(".swiper-slide-shadow-bottom"),b.style.opacity=-e>0?-e:0,w.style.opacity=e>0?e:0)}(n.browser.ie10||n.browser.ie11)&&(k=n.wrapper.style,k.perspectiveOrigin=v+"px 50%")}}var i,u,f,h,r,o,e;if(n&&n.support.transforms3d&&(r=n.params.mode=="horizontal",t)){o={rotate:50,stretch:0,depth:100,modifier:1,shadows:!0};t=t||{};for(e in o)e in t||(t[e]=o[e]);return{onFirstInit:function(){var f,e,u;if(i=n.slides,t.shadows)for(f=document.createElement("div"),e=document.createElement("div"),f.className=r?"swiper-slide-shadow-left":"swiper-slide-shadow-top",e.className=r?"swiper-slide-shadow-right":"swiper-slide-shadow-bottom",u=0;u<i.length;u++)i[u].appendChild(f.cloneNode()),i[u].appendChild(e.cloneNode());c();s({x:n.getWrapperTranslate("x"),y:n.getWrapperTranslate("y"),z:n.getWrapperTranslate("z")})},onInit:function(){c();s({x:n.getWrapperTranslate("x"),y:n.getWrapperTranslate("y"),z:n.getWrapperTranslate("z")})},onSetWrapperTransform:function(n){s(n)},onSetWrapperTransition:function(i){for(var u=0;u<n.slides.length;u++)n.setTransition(n.slides[u],i.duration),r&&t.shadows?(n.setTransition(n.slides[u].querySelector(".swiper-slide-shadow-left"),i.duration),n.setTransition(n.slides[u].querySelector(".swiper-slide-shadow-right"),i.duration)):t.shadows&&(n.setTransition(n.slides[u].querySelector(".swiper-slide-shadow-top"),i.duration),n.setTransition(n.slides[u].querySelector(".swiper-slide-shadow-bottom"),i.duration))}}}};Swiper.prototype.plugins.progress=function(n){function r(){for(var r,u=0;u<n.slides.length;u++)r=n.slides[u],r.progressSlideSize=t?n.h.getWidth(r):n.h.getHeight(r),r.progressSlideOffset="offsetLeft"in r?t?r.offsetLeft:r.offsetTop:t?r.getOffset().left-n.h.getOffset(n.container).left:r.getOffset().top-n.h.getOffset(n.container).top;i=t?n.h.getWidth(n.wrapper)+n.wrapperLeft+n.wrapperRight-n.width:n.h.getHeight(n.wrapper)+n.wrapperTop+n.wrapperBottom-n.height}function u(r){for(var r=r||{x:0,y:0,z:0},e=1==n.params.centeredSlides?t?-r.x+n.width/2:-r.y+n.height/2:t?-r.x:-r.y,u=0;u<n.slides.length;u++){var f=n.slides[u],o=1==n.params.centeredSlides?f.progressSlideSize/2:0,s=(e-f.progressSlideOffset-o)/f.progressSlideSize;f.progress=s}n.progress=t?-r.x/i:-r.y/i;n.params.onProgressChange&&n.fireCallback(n.params.onProgressChange,n)}var i,t="horizontal"==n.params.mode;return{onFirstInit:function(){r();u({x:n.getWrapperTranslate("x"),y:n.getWrapperTranslate("y")})},onInit:function(){r()},onSetWrapperTransform:function(n){u(n)}}};
/*! VelocityJS.org (1.3.1). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
!function(n){"use strict";function o(n){var i=n.length,r=t.type(n);return"function"!==r&&!t.isWindow(n)&&(!(1!==n.nodeType||!i)||"array"===r||0===i||"number"==typeof i&&i>0&&i-1 in n)}var t,i;if(!n.jQuery){t=function(n,i){return new t.fn.init(n,i)};t.isWindow=function(n){return n&&n===n.window};t.type=function(n){return n?"object"==typeof n||"function"==typeof n?r[s.call(n)]||"object":typeof n:n+""};t.isArray=Array.isArray||function(n){return"array"===t.type(n)};t.isPlainObject=function(n){var i;if(!n||"object"!==t.type(n)||n.nodeType||t.isWindow(n))return!1;try{if(n.constructor&&!f.call(n,"constructor")&&!f.call(n.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}for(i in n);return void 0===i||f.call(n,i)};t.each=function(n,t,i){var u,r=0,f=n.length,e=o(n);if(i){if(e)for(;r<f&&(u=t.apply(n[r],i),u!==!1);r++);else for(r in n)if(n.hasOwnProperty(r)&&(u=t.apply(n[r],i),u===!1))break}else if(e)for(;r<f&&(u=t.call(n[r],r,n[r]),u!==!1);r++);else for(r in n)if(n.hasOwnProperty(r)&&(u=t.call(n[r],r,n[r]),u===!1))break;return n};t.data=function(n,r,u){var o,f,e;if(void 0===u){if(o=n[t.expando],f=o&&i[o],void 0===r)return f;if(f&&r in f)return f[r]}else if(void 0!==r)return e=n[t.expando]||(n[t.expando]=++t.uuid),i[e]=i[e]||{},i[e][r]=u,u};t.removeData=function(n,r){var u=n[t.expando],f=u&&i[u];f&&(r?t.each(r,function(n,t){delete f[t]}):delete i[u])};t.extend=function(){var r,o,i,f,e,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"!=typeof n&&"function"!==t.type(n)&&(n={}),u===c&&(n=this,u--);u<c;u++)if(e=arguments[u])for(f in e)e.hasOwnProperty(f)&&(r=n[f],i=e[f],n!==i&&(h&&i&&(t.isPlainObject(i)||(o=t.isArray(i)))?(o?(o=!1,s=r&&t.isArray(r)?r:[]):s=r&&t.isPlainObject(r)?r:{},n[f]=t.extend(h,s,i)):void 0!==i&&(n[f]=i)));return n};t.queue=function(n,i,r){function f(n,t){var i=t||[];return n&&(o(Object(n))?!function(n,t){for(var r=+t.length,i=0,u=n.length;i<r;)n[u++]=t[i++];if(r!==r)for(;void 0!==t[i];)n[u++]=t[i++];return n.length=u,n}(i,"string"==typeof n?[n]:n):[].push.call(i,n)),i}if(n){i=(i||"fx")+"queue";var u=t.data(n,i);return r?(!u||t.isArray(r)?u=t.data(n,i,f(r)):u.push(r),u):u||[]}};t.dequeue=function(n,i){t.each(n.nodeType?[n]:n,function(n,r){i=i||"fx";var f=t.queue(r,i),u=f.shift();"inprogress"===u&&(u=f.shift());u&&("fx"===i&&f.unshift("inprogress"),u.call(r,function(){t.dequeue(r,i)}))})};t.fn=t.prototype={init:function(n){if(n.nodeType)return this[0]=n,this;throw new Error("Not a DOM node.");},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(n.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(n.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function f(n){for(var t=n.offsetParent||document;t&&"html"!==t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var u=this[0],n=f(u),i=this.offset(),r=/^(?:body|html)$/i.test(n.nodeName)?{top:0,left:0}:t(n).offset();return i.top-=parseFloat(u.style.marginTop)||0,i.left-=parseFloat(u.style.marginLeft)||0,n.style&&(r.top+=parseFloat(n.style.borderTopWidth)||0,r.left+=parseFloat(n.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}};i={};t.expando="velocity"+(new Date).getTime();t.uuid=0;for(var r={},f=r.hasOwnProperty,s=r.toString,e="Boolean Number String Function Array Date RegExp Object Error".split(" "),u=0;u<e.length;u++)r["[object "+e[u]+"]"]=e[u].toLowerCase();t.fn.init.prototype=t.fn;n.Velocity={Utilities:t}}}(window),function(n){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=n():"function"==typeof define&&define.amd?define(n):n()}(function(){"use strict";return function(n,t,i,r){function tt(n){for(var t,i=-1,u=n?n.length:0,r=[];++i<u;)t=n[i],t&&r.push(t);return r}function y(n){return o.isWrapped(n)?n=[].slice.call(n):o.isNode(n)&&(n=[n]),n}function s(n){var t=e.data(n,"velocity");return null===t?r:t}function it(n){return function(t){return Math.round(t*n)*(1/n)}}function p(n,i,r,u){function l(n,t){return 1-3*t+3*n}function a(n,t){return 3*t-6*n}function v(n){return 3*n}function s(n,t,i){return((l(t,i)*n+a(t,i))*n+v(t))*n}function y(n,t,i){return 3*l(t,i)*n*n+2*a(t,i)*n+v(t)}function b(t,i){for(var f,e,u=0;u<tt;++u){if(f=y(i,n,r),0===f)return i;e=s(i,n,r)-t;i-=e/f}return i}function k(){for(var t=0;t<e;++t)o[t]=s(t*h,n,r)}function d(t,i,u){var e,f,o=0;do f=i+(u-i)/2,e=s(f,n,r)-t,e>0?u=f:i=f;while(Math.abs(e)>rt&&++o<ut);return f}function g(t){for(var u=0,i=1,c=e-1;i!==c&&o[i]<=t;++i)u+=h;--i;var l=(t-o[i])/(o[i+1]-o[i]),f=u+l*h,s=y(f,n,r);return s>=it?b(t,f):0===s?f:d(t,u,u+h)}function nt(){p=!0;n===i&&r===u||k()}var tt=4,it=.001,rt=1e-7,ut=10,e=11,h=1/(e-1),ft="Float32Array"in t,f,w;if(4!==arguments.length)return!1;for(f=0;f<4;++f)if("number"!=typeof arguments[f]||isNaN(arguments[f])||!isFinite(arguments[f]))return!1;n=Math.min(n,1);r=Math.min(r,1);n=Math.max(n,0);r=Math.max(r,0);var o=ft?new Float32Array(e):new Array(e),p=!1,c=function(t){return p||nt(),n===i&&r===u?t:0===t?0:1===t?1:s(g(t),i,u)};return c.getControlPoints=function(){return[{x:n,y:i},{x:r,y:u}]},w="generateBezier("+[n,i,r,u]+")",c.toString=function(){return w},c}function w(n,t){var i=n;return o.isString(n)?f.Easings[n]||(i=!1):i=o.isArray(n)&&1===n.length?it.apply(null,n):o.isArray(n)&&2===n.length?nt.apply(null,n.concat([t])):!(!o.isArray(n)||4!==n.length)&&p.apply(null,n),i===!1&&(i=f.Easings[f.defaults.easing]?f.defaults.easing:g),i}function a(n){var it,rt,v,g,c,ut,at,y,p,t,ot,vt,st,nt,ht,ft;if(n)for(it=f.timestamp&&n!==!0?n:(new Date).getTime(),rt=f.State.calls.length,rt>1e4&&(f.State.calls=tt(f.State.calls),rt=f.State.calls.length),v=0;v<rt;v++)if(f.State.calls[v]){var d=f.State.calls[v],ct=d[0],i=d[2],w=d[3],yt=!!w,lt=null;w||(w=f.State.calls[v][3]=it-16);for(var k=Math.min((it-w)/i.duration,1),et=0,pt=ct.length;et<pt;et++)if(g=ct[et],c=g.element,s(c)){ut=!1;i.display!==r&&null!==i.display&&"none"!==i.display&&("flex"===i.display&&(at=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],e.each(at,function(n,t){u.setPropertyValue(c,"display",t)})),u.setPropertyValue(c,"display",i.display));i.visibility!==r&&"hidden"!==i.visibility&&u.setPropertyValue(c,"visibility",i.visibility);for(y in g)if(g.hasOwnProperty(y)&&"element"!==y){if(t=g[y],ot=o.isString(t.easing)?f.Easings[t.easing]:t.easing,o.isString(t.pattern)?(vt=1===k?function(n,i){return t.endValue[i]}:function(n,r){var u=t.startValue[r],f=t.endValue[r]-u;return u+f*ot(k,i,f)},p=t.pattern.replace(/{(\d+)}/g,vt)):1===k?p=t.endValue:(st=t.endValue-t.startValue,p=t.startValue+st*ot(k,i,st)),!yt&&p===t.currentValue)continue;(t.currentValue=p,"tween"===y)?lt=p:(u.Hooks.registered[y]&&(nt=u.Hooks.getRoot(y),ht=s(c).rootPropertyValueCache[nt],ht&&(t.rootPropertyValue=ht)),ft=u.setPropertyValue(c,y,t.currentValue+(h<9&&0===parseFloat(p)?"":t.unitType),t.rootPropertyValue,t.scrollData),u.Hooks.registered[y]&&(s(c).rootPropertyValueCache[nt]=u.Normalizations.registered[nt]?u.Normalizations.registered[nt]("extract",null,ft[1]):ft[1]),"transform"===ft[0]&&(ut=!0))}i.mobileHA&&s(c).transformCache.translate3d===r&&(s(c).transformCache.translate3d="(0px, 0px, 0px)",ut=!0);ut&&u.flushTransformCache(c)}i.display!==r&&"none"!==i.display&&(f.State.calls[v][2].display=!1);i.visibility!==r&&"hidden"!==i.visibility&&(f.State.calls[v][2].visibility=!1);i.progress&&i.progress.call(d[1],d[1],k,Math.max(0,w+i.duration-it),w,lt);1===k&&b(v)}f.State.isTicking&&l(a)}function b(n,t){var o,h,l,a,k;if(!f.State.calls[n])return!1;for(var y=f.State.calls[n][0],v=f.State.calls[n][1],i=f.State.calls[n][2],p=f.State.calls[n][4],w=!1,c=0,b=y.length;c<b;c++){if(o=y[c].element,t||i.loop||("none"===i.display&&u.setPropertyValue(o,"display",i.display),"hidden"===i.visibility&&u.setPropertyValue(o,"visibility",i.visibility)),h=s(o),i.loop!==!0&&(e.queue(o)[1]===r||!/\.velocityQueueEntryFlag/i.test(e.queue(o)[1]))&&h&&(h.isAnimating=!1,h.rootPropertyValueCache={},l=!1,e.each(u.Lists.transforms3D,function(n,t){var i=/^scale/.test(t)?1:0,u=h.transformCache[t];h.transformCache[t]!==r&&new RegExp("^\\("+i+"[^.]").test(u)&&(l=!0,delete h.transformCache[t])}),i.mobileHA&&(l=!0,delete h.transformCache.translate3d),l&&u.flushTransformCache(o),u.Values.removeClass(o,"velocity-animating")),!t&&i.complete&&!i.loop&&c===b-1)try{i.complete.call(v,v)}catch(d){setTimeout(function(){throw d;},1)}p&&i.loop!==!0&&p(v);h&&i.loop===!0&&!t&&(e.each(h.tweensContainer,function(n,t){if(/^rotate/.test(n)&&(parseFloat(t.startValue)-parseFloat(t.endValue))%360==0){var i=t.startValue;t.startValue=t.endValue;t.endValue=i}/^backgroundPosition/.test(n)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),f(o,"reverse",{loop:!0,delay:i.delay}));i.queue!==!1&&e.dequeue(o,i.queue)}for(f.State.calls[n]=!1,a=0,k=f.State.calls.length;a<k;a++)if(f.State.calls[a]!==!1){w=!0;break}w===!1&&(f.State.isTicking=!1,delete f.State.calls,f.State.calls=[])}var e,h=function(){var n,t;if(i.documentMode)return i.documentMode;for(n=7;n>4;n--)if(t=i.createElement("div"),t.innerHTML="<!--[if IE "+n+"]><span><\/span><![endif]-->",t.getElementsByTagName("span").length)return t=null,n;return r}(),k=function(){var n=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var i,r=(new Date).getTime();return i=Math.max(0,16-(r-n)),n=r+i,setTimeout(function(){t(r+i)},i)}}(),o={isString:function(n){return"string"==typeof n},isArray:Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)},isFunction:function(n){return"[object Function]"===Object.prototype.toString.call(n)},isNode:function(n){return n&&n.nodeType},isNodeList:function(n){return"object"==typeof n&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(n))&&n.length!==r&&(0===n.length||"object"==typeof n[0]&&n[0].nodeType>0)},isWrapped:function(n){return n&&(n.jquery||t.Zepto&&t.Zepto.zepto.isZ(n))},isSVG:function(n){return t.SVGElement&&n instanceof t.SVGElement},isEmptyObject:function(n){for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}},d=!1,nt,u,c,l;if(n.fn&&n.fn.jquery?(e=n,d=!0):e=t.Velocity.Utilities,h<=8&&!d)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(h<=7)return void(jQuery.fn.velocity=jQuery.fn.animate);var v=400,g="swing",f={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:e,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:v,easing:g,begin:r,complete:r,progress:r,display:r,visibility:r,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(n){e.data(n,"velocity",{isSVG:o.isSVG(n),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:3,patch:1},debug:!1,timestamp:!0};return t.pageYOffset!==r?(f.State.scrollAnchor=t,f.State.scrollPropertyLeft="pageXOffset",f.State.scrollPropertyTop="pageYOffset"):(f.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,f.State.scrollPropertyLeft="scrollLeft",f.State.scrollPropertyTop="scrollTop"),nt=function(){function t(n){return-n.tension*n.x-n.friction*n.v}function n(n,i,r){var u={x:n.x+r.dx*i,v:n.v+r.dv*i,tension:n.tension,friction:n.friction};return{dx:u.v,dv:t(u)}}function i(i,r){var u={dx:i.v,dv:t(i)},f=n(i,.5*r,u),e=n(i,.5*r,f),o=n(i,r,e),s=1/6*(u.dx+2*(f.dx+e.dx)+o.dx),h=1/6*(u.dv+2*(f.dv+e.dv)+o.dv);return i.x=i.x+s*r,i.v=i.v+h*r,i}return function r(n,t,u){var o,s,f,h={x:-1,v:0,tension:null,friction:null},c=[0],e=0,l=.0001,a=.016;for(n=parseFloat(n)||500,t=parseFloat(t)||20,u=u||null,h.tension=n,h.friction=t,o=null!==u,o?(e=r(n,t),s=e/u*a):s=a;;)if(f=i(f||h,s),c.push(1+f.x),e+=16,!(Math.abs(f.x)>l&&Math.abs(f.v)>l))break;return o?function(n){return c[n*(c.length-1)|0]}:e}}(),f.Easings={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},spring:function(n){return 1-Math.cos(4.5*n*Math.PI)*Math.exp(6*-n)}},e.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(n,t){f.Easings[t[0]]=p.apply(null,t[1])}),u=f.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var o,n,r,t,f,e,s,c,i=0;i<u.Lists.colors.length;i++)o="color"===u.Lists.colors[i]?"0 0 0 1":"255 255 255 1",u.Hooks.templates[u.Lists.colors[i]]=["Red Green Blue Alpha",o];if(h)for(n in u.Hooks.templates)u.Hooks.templates.hasOwnProperty(n)&&(r=u.Hooks.templates[n],t=r[0].split(" "),f=r[1].match(u.RegEx.valueSplit),"Color"===t[0]&&(t.push(t.shift()),f.push(f.shift()),u.Hooks.templates[n]=[t.join(" "),f.join(" ")]));for(n in u.Hooks.templates)if(u.Hooks.templates.hasOwnProperty(n)){r=u.Hooks.templates[n];t=r[0].split(" ");for(e in t)t.hasOwnProperty(e)&&(s=n+t[e],c=e,u.Hooks.registered[s]=[n,c])}},getRoot:function(n){var t=u.Hooks.registered[n];return t?t[0]:n},cleanRootPropertyValue:function(n,t){return u.RegEx.valueUnwrap.test(t)&&(t=t.match(u.RegEx.valueUnwrap)[1]),u.Values.isCSSNullValue(t)&&(t=u.Hooks.templates[n][1]),t},extractValue:function(n,t){var i=u.Hooks.registered[n],r,f;return i?(r=i[0],f=i[1],t=u.Hooks.cleanRootPropertyValue(r,t),t.toString().match(u.RegEx.valueSplit)[f]):t},injectValue:function(n,t,i){var r=u.Hooks.registered[n],f,s,e,o;return r?(e=r[0],o=r[1],i=u.Hooks.cleanRootPropertyValue(e,i),f=i.toString().match(u.RegEx.valueSplit),f[o]=t,s=f.join(" ")):i}},Normalizations:{registered:{clip:function(n,t,i){switch(n){case"name":return"clip";case"extract":var r;return u.RegEx.wrappedValueAlreadyExtracted.test(i)?r=i:(r=i.toString().match(u.RegEx.valueUnwrap),r=r?r[1].replace(/,(\s+)?/g," "):i),r;case"inject":return"rect("+i+")"}},blur:function(n,t,i){var r,u;switch(n){case"name":return f.State.isFirefox?"filter":"-webkit-filter";case"extract":return r=parseFloat(i),r||0===r||(u=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i),r=u?u[1]:0),r;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(n,t,i){if(h<=8)switch(n){case"name":return"filter";case"extract":var r=i.toString().match(/alpha\(opacity=(.*)\)/i);return r?r[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(n){case"name":return"opacity";case"extract":return i;case"inject":return i}}},register:function(){function e(n,t,i){var h="border-box"===u.getPropertyValue(t,"boxSizing").toString().toLowerCase();if(h===(i||!1)){for(var e,o=0,f="width"===n?["Left","Right"]:["Top","Bottom"],s=["padding"+f[0],"padding"+f[1],"border"+f[0]+"Width","border"+f[1]+"Width"],r=0;r<s.length;r++)e=parseFloat(u.getPropertyValue(t,s[r])),isNaN(e)||(o+=e);return i?-o:o}return 0}function n(n,t){return function(i,r,u){switch(i){case"name":return n;case"extract":return parseFloat(u)+e(n,r,t);case"inject":return parseFloat(u)-e(n,r,t)+"px"}}}var t,i;for((!h||h>9)&&!f.State.isGingerbread&&(u.Lists.transformsBase=u.Lists.transformsBase.concat(u.Lists.transforms3D)),t=0;t<u.Lists.transformsBase.length;t++)!function(){var n=u.Lists.transformsBase[t];u.Normalizations.registered[n]=function(t,i,u){switch(t){case"name":return"transform";case"extract":return s(i)===r||s(i).transformCache[n]===r?/^scale/i.test(n)?1:0:s(i).transformCache[n].replace(/[()]/g,"");case"inject":var e=!1;switch(n.substr(0,n.length-1)){case"translate":e=!/(%|px|em|rem|vw|vh|\d)$/i.test(u);break;case"scal":case"scale":f.State.isAndroid&&s(i).transformCache[n]===r&&u<1&&(u=1);e=!/(\d)$/i.test(u);break;case"skew":e=!/(deg|\d)$/i.test(u);break;case"rotate":e=!/(deg|\d)$/i.test(u)}return e||(s(i).transformCache[n]="("+u+")"),s(i).transformCache[n]}}}();for(i=0;i<u.Lists.colors.length;i++)!function(){var n=u.Lists.colors[i];u.Normalizations.registered[n]=function(t,i,f){var e,s,o;switch(t){case"name":return n;case"extract":return u.RegEx.wrappedValueAlreadyExtracted.test(f)?e=f:(o={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"},/^[A-z]+$/i.test(f)?s=o[f]!==r?o[f]:o.black:u.RegEx.isHex.test(f)?s="rgb("+u.Values.hexToRgb(f).join(" ")+")":/^rgba?\(/i.test(f)||(s=o.black),e=(s||f).toString().match(u.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")),(!h||h>8)&&3===e.split(" ").length&&(e+=" 1"),e;case"inject":return/^rgb/.test(f)?f:(h<=8?4===f.split(" ").length&&(f=f.split(/\s+/).slice(0,3).join(" ")):3===f.split(" ").length&&(f+=" 1"),(h<=8?"rgb":"rgba")+"("+f.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();u.Normalizations.registered.innerWidth=n("width",!0);u.Normalizations.registered.innerHeight=n("height",!0);u.Normalizations.registered.outerWidth=n("width");u.Normalizations.registered.outerHeight=n("height")}},Names:{camelCase:function(n){return n.replace(/-(\w)/g,function(n,t){return t.toUpperCase()})},SVGAttribute:function(n){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(h||f.State.isAndroid&&!f.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(n)},prefixCheck:function(n){var i;if(f.State.prefixMatches[n])return[f.State.prefixMatches[n],!0];for(var r=["","Webkit","Moz","ms","O"],t=0,u=r.length;t<u;t++)if(i=0===t?n:r[t]+n.replace(/^\w/,function(n){return n.toUpperCase()}),o.isString(f.State.prefixElement.style[i]))return f.State.prefixMatches[n]=i,[i,!0];return[n,!1]}},Values:{hexToRgb:function(n){var t;return n=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(n,t,i,r){return t+t+i+i+r+r}),t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n),t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(n){return!n||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(n)},getUnitType:function(n){return/^(rotate|skew)/i.test(n)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(n)?"":"px"},getDisplayType:function(n){var t=n&&n.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(n,t){if(n)if(n.classList)n.classList.add(t);else if(o.isString(n.className))n.className+=(n.className.length?" ":"")+t;else{var i=n.getAttribute(h<=7?"className":"class")||"";n.setAttribute("class",i+(i?" ":"")+t)}},removeClass:function(n,t){if(n)if(n.classList)n.classList.remove(t);else if(o.isString(n.className))n.className=n.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ");else{var i=n.getAttribute(h<=7?"className":"class")||"";n.setAttribute("class",i.replace(new RegExp("(^|s)"+t.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(n,i,o,c){function y(n,i){var f=0,l,o,p,w,a,v;if(h<=8)f=e.css(n,i);else{if(l=!1,/^(width|height)$/.test(i)&&0===u.getPropertyValue(n,"display")&&(l=!0,u.setPropertyValue(n,"display",u.Values.getDisplayType(n))),o=function(){l&&u.setPropertyValue(n,"display","none")},!c){if("height"===i&&"border-box"!==u.getPropertyValue(n,"boxSizing").toString().toLowerCase())return p=n.offsetHeight-(parseFloat(u.getPropertyValue(n,"borderTopWidth"))||0)-(parseFloat(u.getPropertyValue(n,"borderBottomWidth"))||0)-(parseFloat(u.getPropertyValue(n,"paddingTop"))||0)-(parseFloat(u.getPropertyValue(n,"paddingBottom"))||0),o(),p;if("width"===i&&"border-box"!==u.getPropertyValue(n,"boxSizing").toString().toLowerCase())return w=n.offsetWidth-(parseFloat(u.getPropertyValue(n,"borderLeftWidth"))||0)-(parseFloat(u.getPropertyValue(n,"borderRightWidth"))||0)-(parseFloat(u.getPropertyValue(n,"paddingLeft"))||0)-(parseFloat(u.getPropertyValue(n,"paddingRight"))||0),o(),w}a=s(n)===r?t.getComputedStyle(n,null):s(n).computedStyle?s(n).computedStyle:s(n).computedStyle=t.getComputedStyle(n,null);"borderColor"===i&&(i="borderTopColor");f=9===h&&"filter"===i?a.getPropertyValue(i):a[i];""!==f&&null!==f||(f=n.style[i]);o()}return"auto"===f&&/^(top|right|bottom|left)$/i.test(i)&&(v=y(n,"position"),("fixed"===v||"absolute"===v&&/top|left/i.test(i))&&(f=e(n).position()[i]+"px")),f}var l,p,a,w,v,b;if(u.Hooks.registered[i]?(p=i,a=u.Hooks.getRoot(p),o===r&&(o=u.getPropertyValue(n,u.Names.prefixCheck(a)[0])),u.Normalizations.registered[a]&&(o=u.Normalizations.registered[a]("extract",n,o)),l=u.Hooks.extractValue(p,o)):u.Normalizations.registered[i]&&(w=u.Normalizations.registered[i]("name",n),"transform"!==w&&(v=y(n,u.Names.prefixCheck(w)[0]),u.Values.isCSSNullValue(v)&&u.Hooks.templates[i]&&(v=u.Hooks.templates[i][1])),l=u.Normalizations.registered[i]("extract",n,v)),!/^[\d-]/.test(l))if(b=s(n),b&&b.isSVG&&u.Names.SVGAttribute(i))if(/^(height|width)$/i.test(i))try{l=n.getBBox()[i]}catch(k){l=0}else l=n.getAttribute(i);else l=y(n,u.Names.prefixCheck(i)[0]);return u.Values.isCSSNullValue(l)&&(l=0),f.debug>=2&&console.log("Get "+i+": "+l),l},setPropertyValue:function(n,i,r,e,o){var c=i,v,l,a;if("scroll"===i)o.container?o.container["scroll"+o.direction]=r:"Left"===o.direction?t.scrollTo(r,o.alternateValue):t.scrollTo(o.alternateValue,r);else if(u.Normalizations.registered[i]&&"transform"===u.Normalizations.registered[i]("name",n))u.Normalizations.registered[i]("inject",n,r),c="transform",r=s(n).transformCache[i];else{if(u.Hooks.registered[i]&&(v=i,l=u.Hooks.getRoot(i),e=e||u.getPropertyValue(n,l),r=u.Hooks.injectValue(v,r,e),i=l),u.Normalizations.registered[i]&&(r=u.Normalizations.registered[i]("inject",n,r),i=u.Normalizations.registered[i]("name",n)),c=u.Names.prefixCheck(i)[0],h<=8)try{n.style[c]=r}catch(y){f.debug&&console.log("Browser does not support ["+r+"] for ["+c+"]")}else a=s(n),a&&a.isSVG&&u.Names.SVGAttribute(i)?n.setAttribute(i,r):n.style[c]=r;f.debug>=2&&console.log("Set "+i+" ("+c+"): "+r)}return[c,r]},flushTransformCache:function(n){var i="",l=s(n),t,r,o,c;(h||f.State.isAndroid&&!f.State.isChrome)&&l&&l.isSVG?(t=function(t){return parseFloat(u.getPropertyValue(n,t))},r={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]},e.each(s(n).transformCache,function(n){/^translate/i.test(n)?n="translate":/^scale/i.test(n)?n="scale":/^rotate/i.test(n)&&(n="rotate");r[n]&&(i+=n+"("+r[n].join(" ")+") ",delete r[n])})):(e.each(s(n).transformCache,function(t){return o=s(n).transformCache[t],"transformPerspective"===t?(c=o,!0):(9===h&&"rotateZ"===t&&(t="rotate"),void(i+=t+o+" "))}),c&&(i="perspective"+c+" "+i));u.setPropertyValue(n,"transform",i)}},u.Hooks.register(),u.Normalizations.register(),f.hook=function(n,t,i){var o;return n=y(n),e.each(n,function(n,e){if(s(e)===r&&f.init(e),i===r)o===r&&(o=u.getPropertyValue(e,t));else{var h=u.setPropertyValue(e,t,i);"transform"===h[0]&&f.CSS.flushTransformCache(e);o=h}}),o},c=function(){function ut(){return ft?d.promise||null:vt}function bt(h,c){function it(){var v,it,ft,wt,vt,ut,yt,rt,bt,kt,pt,ht,ct,ot,at;if(y.begin&&0===et)try{y.begin.call(k,k)}catch(ri){setTimeout(function(){throw ri;},1)}if("scroll"===tt)ut=/^x$/i.test(y.axis)?"Left":"Top",yt=parseFloat(y.offset)||0,y.container?o.isWrapped(y.container)||o.isNode(y.container)?(y.container=y.container[0]||y.container,ft=y.container["scroll"+ut],vt=ft+e(h).position()[ut.toLowerCase()]+yt):y.container=null:(ft=f.State.scrollAnchor[f.State["scrollProperty"+ut]],wt=f.State.scrollAnchor[f.State["scrollProperty"+("Left"===ut?"Top":"Left")]],vt=e(h).offset()[ut.toLowerCase()]+yt),b={scroll:{rootPropertyValue:!1,startValue:ft,currentValue:ft,endValue:vt,unitType:"",easing:y.easing,scrollData:{container:y.container,direction:ut,alternateValue:wt}},element:h},f.debug&&console.log("tweensContainer (scroll): ",b.scroll,h);else if("reverse"===tt){if(v=s(h),!v)return;if(!v.tweensContainer)return void e.dequeue(h,y.queue);"none"===v.opts.display&&(v.opts.display="auto");"hidden"===v.opts.visibility&&(v.opts.visibility="visible");v.opts.loop=!1;v.opts.begin=null;v.opts.complete=null;n.easing||delete y.easing;n.duration||delete y.duration;y=e.extend({},v.opts,y);it=e.extend(!0,{},v?v.tweensContainer:null);for(rt in it)it.hasOwnProperty(rt)&&"element"!==rt&&(bt=it[rt].startValue,it[rt].startValue=it[rt].currentValue=it[rt].endValue,it[rt].endValue=bt,o.isEmptyObject(n)||(it[rt].easing=y.easing),f.debug&&console.log("reverse tweensContainer ("+rt+"): "+JSON.stringify(it[rt]),h));b=it}else if("start"===tt){v=s(h);v&&v.tweensContainer&&v.isAnimating===!0&&(it=v.tweensContainer);kt=function(n,t){var r,e,i;return o.isFunction(n)&&(n=n.call(h,c,nt)),o.isArray(n)?(r=n[0],!o.isArray(n[1])&&/^[\d-]/.test(n[1])||o.isFunction(n[1])||u.RegEx.isHex.test(n[1])?i=n[1]:o.isString(n[1])&&!u.RegEx.isHex.test(n[1])&&f.Easings[n[1]]||o.isArray(n[1])?(e=t?n[1]:w(n[1],y.duration),i=n[2]):i=n[1]||n[2]):r=n,t||(e=e||y.easing),o.isFunction(r)&&(r=r.call(h,c,nt)),o.isFunction(i)&&(i=i.call(h,c,nt)),[r||0,e,i]};pt=function(n,s){var w,nt=u.Hooks.getRoot(n),et=!1,a=s[0],bt=s[1],c=s[2],rt,p,tt,st,ct,k,d,wt,vt;if(!(v&&v.isSVG||"tween"===nt||u.Names.prefixCheck(nt)[1]!==!1||u.Normalizations.registered[nt]!==r))return void(f.debug&&console.log("Skipping ["+nt+"] due to a lack of browser support."));if((y.display!==r&&null!==y.display&&"none"!==y.display||y.visibility!==r&&"hidden"!==y.visibility)&&/opacity|filter/.test(n)&&!c&&0!==a&&(c=0),y._cacheValues&&it&&it[n]?(c===r&&(c=it[n].endValue+it[n].unitType),et=v.rootPropertyValueCache[nt]):u.Hooks.registered[n]?c===r?(et=u.getPropertyValue(h,nt),c=u.getPropertyValue(h,n,et)):et=u.Hooks.templates[nt][1]:c===r&&(c=u.getPropertyValue(h,n)),st=!1,ct=function(n,t){var i,r;return r=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(n){return i=n,""}),i||(i=u.Values.getUnitType(n)),[r,i]},o.isString(c)&&o.isString(a)){w="";for(var ut=0,ft=0,ot=[],lt=[];ut<c.length&&ft<a.length;)if(k=c[ut],d=a[ft],/[\d\.]/.test(k)&&/[\d\.]/.test(d)){for(var ht=k,at=d,yt=".",pt=".";++ut<c.length;){if(k=c[ut],k===yt)yt="..";else if(!/\d/.test(k))break;ht+=k}for(;++ft<a.length;){if(d=a[ft],d===pt)pt="..";else if(!/\d/.test(d))break;at+=d}ht===at?w+=ht:(w+="{"+ot.length+"}",ot.push(parseFloat(ht)),lt.push(parseFloat(at)))}else{if(k!==d)break;w+=k;ut++;ft++}ut===c.length&&ft===a.length||(f.debug&&console.error('Trying to pattern match mis-matched strings ["'+a+'", "'+c+'"]'),w=r);w&&(ot.length?(f.debug&&console.log('Pattern found "'+w+'" -> ',ot,lt,c,a),c=ot,a=lt,p=tt=""):w=r)}if(w||(rt=ct(n,c),c=rt[0],tt=rt[1],rt=ct(n,a),a=rt[0].replace(/^([+-\/*])=/,function(n,t){return st=t,""}),p=rt[1],c=parseFloat(c)||0,a=parseFloat(a)||0,"%"===p&&(/^(fontSize|lineHeight)$/.test(n)?(a/=100,p="em"):/^scale/.test(n)?(a/=100,p=""):/(Red|Green|Blue)$/i.test(n)&&(a=a/100*255,p=""))),wt=function(){var o={myParent:h.parentNode||i.body,position:u.getPropertyValue(h,"position"),fontSize:u.getPropertyValue(h,"fontSize")},c=o.position===l.lastPosition&&o.myParent===l.lastParent,a=o.fontSize===l.lastFontSize,s,r,n;return l.lastParent=o.myParent,l.lastPosition=o.position,l.lastFontSize=o.fontSize,s=100,r={},a&&c?(r.emToPx=l.lastEmToPx,r.percentToPxWidth=l.lastPercentToPxWidth,r.percentToPxHeight=l.lastPercentToPxHeight):(n=v&&v.isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div"),f.init(n),o.myParent.appendChild(n),e.each(["overflow","overflowX","overflowY"],function(t,i){f.CSS.setPropertyValue(n,i,"hidden")}),f.CSS.setPropertyValue(n,"position",o.position),f.CSS.setPropertyValue(n,"fontSize",o.fontSize),f.CSS.setPropertyValue(n,"boxSizing","content-box"),e.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,i){f.CSS.setPropertyValue(n,i,s+"%")}),f.CSS.setPropertyValue(n,"paddingLeft",s+"em"),r.percentToPxWidth=l.lastPercentToPxWidth=(parseFloat(u.getPropertyValue(n,"width",null,!0))||1)/s,r.percentToPxHeight=l.lastPercentToPxHeight=(parseFloat(u.getPropertyValue(n,"height",null,!0))||1)/s,r.emToPx=l.lastEmToPx=(parseFloat(u.getPropertyValue(n,"paddingLeft"))||1)/s,o.myParent.removeChild(n)),null===l.remToPx&&(l.remToPx=parseFloat(u.getPropertyValue(i.body,"fontSize"))||16),null===l.vwToPx&&(l.vwToPx=parseFloat(t.innerWidth)/100,l.vhToPx=parseFloat(t.innerHeight)/100),r.remToPx=l.remToPx,r.vwToPx=l.vwToPx,r.vhToPx=l.vhToPx,f.debug>=1&&console.log("Unit ratios: "+JSON.stringify(r),h),r},/[\/*]/.test(st))p=tt;else if(tt!==p&&0!==c)if(0===a)p=tt;else{g=g||wt();vt=/margin|padding|left|right|width|text|word|letter/i.test(n)||/X$/.test(n)||"x"===n?"x":"y";switch(tt){case"%":c*="x"===vt?g.percentToPxWidth:g.percentToPxHeight;break;case"px":break;default:c*=g[tt+"ToPx"]}switch(p){case"%":c*=1/("x"===vt?g.percentToPxWidth:g.percentToPxHeight);break;case"px":break;default:c*=1/g[p+"ToPx"]}}switch(st){case"+":a=c+a;break;case"-":a=c-a;break;case"*":a*=c;break;case"/":a=c/a}b[n]={rootPropertyValue:et,startValue:c,currentValue:c,endValue:a,unitType:p,easing:bt};w&&(b[n].pattern=w);f.debug&&console.log("tweensContainer ("+n+"): "+JSON.stringify(b[n]),h)};for(ht in p)if(p.hasOwnProperty(ht)){if(ct=u.Names.camelCase(ht),ot=kt(p[ht]),u.Lists.colors.indexOf(ct)>=0){var dt=ot[0],gt=ot[1],ni=ot[2];if(u.RegEx.isHex.test(dt)){for(var ti=["Red","Green","Blue"],ui=u.Values.hexToRgb(dt),ii=ni?u.Values.hexToRgb(ni):r,st=0;st<ti.length;st++)at=[ui[st]],gt&&at.push(gt),ii!==r&&at.push(ii[st]),pt(ct+ti[st],at);continue}}pt(ct,ot)}b.element=h}b.element&&(u.Values.addClass(h,"velocity-animating"),lt.push(b),v=s(h),v&&(""===y.queue&&(v.tweensContainer=b,v.opts=y),v.isAnimating=!0),et===nt-1?(f.State.calls.push([lt,k,y,null,d.resolver]),f.State.isTicking===!1&&(f.State.isTicking=!0,a())):et++)}var g,y=e.extend({},f.defaults,n),b={};switch(s(h)===r&&f.init(h),parseFloat(y.delay)&&y.queue!==!1&&e.queue(h,y.queue,function(n){f.velocityQueueEntryFlag=!0;s(h).delayTimer={setTimeout:setTimeout(n,parseFloat(y.delay)),next:n}}),y.duration.toString().toLowerCase()){case"fast":y.duration=200;break;case"normal":y.duration=v;break;case"slow":y.duration=600;break;default:y.duration=parseFloat(y.duration)||1}f.mock!==!1&&(f.mock===!0?y.duration=y.delay=1:(y.duration*=parseFloat(f.mock)||1,y.delay*=parseFloat(f.mock)||1));y.easing=w(y.easing,y.duration);y.begin&&!o.isFunction(y.begin)&&(y.begin=null);y.progress&&!o.isFunction(y.progress)&&(y.progress=null);y.complete&&!o.isFunction(y.complete)&&(y.complete=null);y.display!==r&&null!==y.display&&(y.display=y.display.toString().toLowerCase(),"auto"===y.display&&(y.display=f.CSS.Values.getDisplayType(h)));y.visibility!==r&&null!==y.visibility&&(y.visibility=y.visibility.toString().toLowerCase());y.mobileHA=y.mobileHA&&f.State.isMobile&&!f.State.isGingerbread;y.queue===!1?y.delay?setTimeout(it,y.delay):it():e.queue(h,y.queue,function(n,t){return t===!0?(d.promise&&d.resolver(k),!0):(f.velocityQueueEntryFlag=!0,void it(n))});""!==y.queue&&"fx"!==y.queue||"inprogress"===e.queue(h)[0]||e.dequeue(h)}var h,ft,vt,it,k,p,n,yt=arguments[0]&&(arguments[0].p||e.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||o.isString(arguments[0].properties)),d,nt,et,pt,g,tt,st,wt,ht,ct,l,lt,at,ot,rt;if(o.isWrapped(this)?(ft=!1,it=0,k=this,vt=this):(ft=!0,it=1,k=yt?arguments[0].elements||arguments[0].e:arguments[0]),d={promise:null,resolver:null,rejecter:null},ft&&f.Promise&&(d.promise=new f.Promise(function(n,t){d.resolver=n;d.rejecter=t})),yt?(p=arguments[0].properties||arguments[0].p,n=arguments[0].options||arguments[0].o):(p=arguments[it],n=arguments[it+1]),k=y(k),!k)return void(d.promise&&(p&&n&&n.promiseRejectEmpty===!1?d.resolver():d.rejecter()));if(nt=k.length,et=0,!/^(stop|finish|finishAll)$/i.test(p)&&!e.isPlainObject(n))for(pt=it+1,n={},g=pt;g<arguments.length;g++)o.isArray(arguments[g])||!/^(fast|normal|slow)$/i.test(arguments[g])&&!/^\d/.test(arguments[g])?o.isString(arguments[g])||o.isArray(arguments[g])?n.easing=arguments[g]:o.isFunction(arguments[g])&&(n.complete=arguments[g]):n.duration=arguments[g];switch(p){case"scroll":tt="scroll";break;case"reverse":tt="reverse";break;case"finish":case"finishAll":case"stop":return e.each(k,function(t,i){s(i)&&s(i).delayTimer&&(clearTimeout(s(i).delayTimer.setTimeout),s(i).delayTimer.next&&s(i).delayTimer.next(),delete s(i).delayTimer);"finishAll"===p&&(n===!0||o.isString(n))&&(e.each(e.queue(i,o.isString(n)?n:""),function(n,t){o.isFunction(t)&&t()}),e.queue(i,o.isString(n)?n:"",[]))}),st=[],e.each(f.State.calls,function(t,i){i&&e.each(i[1],function(u,f){var h=n===r?"":n;return h!==!0&&i[2].queue!==h&&(n!==r||i[2].queue!==!1)||void e.each(k,function(r,u){if(u===f)if((n===!0||o.isString(n))&&(e.each(e.queue(u,o.isString(n)?n:""),function(n,t){o.isFunction(t)&&t(null,!0)}),e.queue(u,o.isString(n)?n:"",[])),"stop"===p){var c=s(u);c&&c.tweensContainer&&h!==!1&&e.each(c.tweensContainer,function(n,t){t.endValue=t.currentValue});st.push(t)}else"finish"!==p&&"finishAll"!==p||(i[2].duration=1)})})}),"stop"===p&&(e.each(st,function(n,t){b(t,!0)}),d.promise&&d.resolver(k)),ut();default:if(!e.isPlainObject(p)||o.isEmptyObject(p))return o.isString(p)&&f.Redirects[p]?(h=e.extend({},n),wt=h.duration,ht=h.delay||0,h.backwards===!0&&(k=e.extend(!0,[],k).reverse()),e.each(k,function(n,t){parseFloat(h.stagger)?h.delay=ht+parseFloat(h.stagger)*n:o.isFunction(h.stagger)&&(h.delay=ht+h.stagger.call(t,n,nt));h.drag&&(h.duration=parseFloat(wt)||(/^(callout|transition)/.test(p)?1e3:v),h.duration=Math.max(h.duration*(h.backwards?1-n/nt:(n+1)/nt),.75*h.duration,200));f.Redirects[p].call(t,t,h||{},n,nt,k,d.promise?d:r)}),ut()):(ct="Velocity: First argument ("+p+") was not a property map, a known action, or a registered redirect. Aborting.",d.promise?d.rejecter(new Error(ct)):console.log(ct),ut());tt="start"}if(l={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},lt=[],e.each(k,function(n,t){o.isNode(t)&&bt(t,n)}),h=e.extend({},f.defaults,n),h.loop=parseInt(h.loop,10),at=2*h.loop-1,h.loop)for(ot=0;ot<at;ot++)rt={delay:h.delay,progress:h.progress},ot===at-1&&(rt.display=h.display,rt.visibility=h.visibility,rt.complete=h.complete),c(k,"reverse",rt);return ut()},f=e.extend(c,f),f.animate=c,l=t.requestAnimationFrame||k,f.State.isMobile||i.hidden===r||i.addEventListener("visibilitychange",function(){i.hidden?(l=function(n){return setTimeout(function(){n(!0)},16)},a()):l=t.requestAnimationFrame||k}),n.Velocity=f,n!==t&&(n.fn.velocity=c,n.fn.velocity.defaults=f.defaults),e.each(["Down","Up"],function(n,t){f.Redirects["slide"+t]=function(n,i,o,s,h,c){var l=e.extend({},i),y=l.begin,p=l.complete,a={},v={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};l.display===r&&(l.display="Down"===t?"inline"===f.CSS.Values.getDisplayType(n)?"inline-block":"block":"none");l.begin=function(){var i,r;0===o&&y&&y.call(h,h);for(i in v)v.hasOwnProperty(i)&&(a[i]=n.style[i],r=u.getPropertyValue(n,i),v[i]="Down"===t?[r,0]:[0,r]);a.overflow=n.style.overflow;n.style.overflow="hidden"};l.complete=function(){for(var t in a)a.hasOwnProperty(t)&&(n.style[t]=a[t]);o===s-1&&(p&&p.call(h,h),c&&c.resolver(h))};f(n,v,l)}}),e.each(["In","Out"],function(n,t){f.Redirects["fade"+t]=function(n,i,u,o,s,h){var c=e.extend({},i),l=c.complete,a={opacity:"In"===t?1:0};0!==u&&(c.begin=null);c.complete=u!==o-1?null:function(){l&&l.call(s,s);h&&h.resolver(s)};c.display===r&&(c.display="In"===t?"auto":"none");f(this,a,c)}}),f}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)}),function(n){"use strict";var t=function(t,i){this.options=n.extend({},n.fn.letterfx.defaults,i);this.num_completed_fx=0;this.is_done=!1;this.monitor_timer=null;this.killswitch=null;this.$element=n(t);this.options.restore&&(this.original_html=this.$element.html());this.init()},i;t.prototype.init=function(){return this.new_html=this.$element.text().replace(this.options.pattern,this.options.replacement),this.$element.addClass(this.options.css.element.base).addClass(this.options.css.element.before),this.$element.html(this.new_html),this.$letters=this.$element.find(this.options.selector),this.$letters.css("transition-duration",this.options.fx_duration).addClass(this.options.css.letters.base).addClass(this.options.css.letters.before),this.bindLetterFxEnd(),this.num_letters=this.$letters.length,this.fx(),this};t.prototype.bindLetterFxEnd=function(){var t=this.options,i=this;return this.$letters.bind("transitionend",function(){t.onLetterComplete(n(this),i.$element,i);i.notifyFXEnd();switch(t.letter_end){case"destroy":n(this).remove();break;case"rewind":i.applyLetterFx(n(this),t.timing,t.css.letters.after,t.css.letters.before);break;case"stay":break;default:n(this).replaceWith(n(this).text())}}),i};t.prototype.terminate=function(){this.is_done=!0;this.options.onElementComplete(this.$element,this);clearTimeout(this.killswitch);switch(this.options.element_end){case"destroy":this.$element.remove();break;case"stay":break;default:this.$element.html(this.original_html);this.$element.removeClass(this.options.css.element.base).removeClass(this.options.css.element.after)}};t.prototype.notifyFXEnd=function(){clearTimeout(this.monitor_timer);this.num_completed_fx++;var n=this;return this.monitor_timer=setTimeout(function(){n.num_completed_fx%n.num_letters==0&&n.terminate()},Math.max(this.options.timing+10,50)),this};t.prototype.startKillWatch=function(){var t=this.options.fx_duration.match(/\d+s/)?parseInt(this.options.fx_duration):1,i=Math.ceil(1.5*this.num_letters*this.options.timing*t),n=this;this.killswitch=window.setTimeout(function(){n.isDone()||n.terminate()},i)};t.prototype.fx=function(){var r=this,i,t;return this.startKillWatch(),this.$element.removeClass(this.options.css.element.before).addClass(this.options.css.element.after),i=this.options.sort(this.$letters),t=this.options,i.each(function(i,u){r.applyLetterFx(n(u),(i+1)*t.timing,t.css.letters.before,t.css.letters.after)}),this};t.prototype.applyLetterFx=function(n,t,i,r){var u=this.options;return window.setTimeout(function(){n.removeClass(i).addClass(r)},t),this};t.prototype.isDone=function(){return this.is_done};i=function(t){this.config=n.extend({},n.fn.letterfx.defaults,t);this.buildCss(this.config.backwards);this.config.words&&(this.config.pattern=/(\S+)/g)};i.prototype.buildCss=function(t){var i=this.config,u=t?"after":"before",f=t?"before":"after",r={element:{},letters:{}};r.element.base=i.element_class+"-container "+i.fx.replace(/(\S+)/g,i.element_class+"-$1-container");r.element[u]=i.fx.replace(/(\S+)/g,i.element_class+"-$1-before-container");r.element[f]=i.fx.replace(/(\S+)/g,i.element_class+"-$1-after-container");r.letters.base=i.element_class;r.letters[u]=i.fx.replace(/(\S+)/g,i.element_class+"-$1-before");r.letters[f]=i.fx.replace(/(\S+)/g,i.element_class+"-$1-after");this.config=n.extend(i,{css:r})};i.prototype.getConfig=function(){return this.config};i.parse=function(n){return new i(n).getConfig()};n.fn.letterfx=function(r){return r=i.parse(r),n(this).each(function(){var i=n(this);(!i.data("letterfx-obj")||i.data("letterfx-obj").isDone())&&i.data("letterfx-obj",new t(i,r))})};n.fn.letterfx.sort={random:function(n){for(var t=n.length,r,i;0!==t;)i=Math.floor(Math.random()*t),t-=1,r=n[t],n[t]=n[i],n[i]=r;return n},reverse:function(n){return n.toArray().reverse()}};n.fn.letterfx.patterns={letters:/(\S)/gi};n.fn.letterfx.defaults={fx:"spin fly-top",pattern:/(\S)/gi,word:!1,backwards:!1,replacement:"<span>$1<\/span>",selector:"span",timing:50,fx_duration:"1s",sort:function(n){return n},onLetterComplete:function(){},onElementComplete:function(){},letter_end:"restore",element_end:"restore",restore:!0,destroy:!1,element_class:"letterfx",css:{element:{base:"",before:"",after:""},letters:{base:"",before:"",after:""}}}}(jQuery);$.fn.responsify=function(){return this.each(function(){var o,n,t,s,h,c,l,u,f,i,r,e=$(this),a,v;owidth=e.width();o=e.height();n=e.parent().width();t=e.parent().height();s=Number(e.attr("data-focus-left"));h=Number(e.attr("data-focus-top"));c=Number(e.attr("data-focus-right"));l=Number(e.attr("data-focus-bottom"));s||(s=0);h||(h=0);c||(c=0);l||(l=0);owidth/o>n/t?(a=(c-s)*owidth,a/o>n/t?(f=o*n/a,u=owidth*n/a,r=-s*u,i=(t-f)/2):(f=t,u=t*owidth/o,r=n/2-(s+c)*u/2,r=r>0?0:r,r=n-r-u>0?n-u:r,i=0)):(v=(l-h)*o,v/owidth>t/n?(u=owidth*t/v,f=o*t/v,i=-h*f,r=(n-u)/2):(u=n,f=n*o/owidth,i=t/2-(h+l)*f/2,i=i>0?0:i,i=t-i-f>0?t-f:i,r=0));e.parent().css({overflow:"hidden"});e.css({position:"relative",height:f,width:u,left:r,top:i})})};
/*!
 * Lazy Load - jQuery plugin for lazy loading images
 *
 * Copyright (c) 2007-2015 Mika Tuupola
 *
 * Licensed under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Project home:
 *   http://www.appelsiini.net/projects/lazyload
 *
 * Version:  1.9.7
 *
 */
(function(n,t,i,r){var u=n(t);n.fn.lazyload=function(f){function s(){var t=0;o.each(function(){var i=n(this);if((!e.skip_invisible||i.is(":visible"))&&!n.abovethetop(this,e)&&!n.leftofbegin(this,e))if(n.belowthefold(this,e)||n.rightoffold(this,e)){if(++t>e.failure_limit)return!1}else i.trigger("appear"),t=0})}var o=this,h,e={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:t,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};if(f&&(r!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),r!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),n.extend(e,f)),h=e.container===r||e.container===t?u:n(e.container),0===e.event.indexOf("scroll"))h.on(e.event,function(){return s()});this.each(function(){var i=this,t=n(i);i.loaded=!1;(t.attr("src")===r||t.attr("src")===!1)&&t.is("img")&&t.attr("src",e.placeholder);t.one("appear",function(){if(!this.loaded){if(e.appear){var r=o.length;e.appear.call(i,r,e)}n("<img />").one("load",function(){var r=t.attr("data-"+e.data_attribute),u,f;t.hide();t.is("img")?t.attr("src",r):t.css("background-image","url('"+r+"')");t[e.effect](e.effect_speed);i.loaded=!0;u=n.grep(o,function(n){return!n.loaded});o=n(u);e.load&&(f=o.length,e.load.call(i,f,e))}).attr("src",t.attr("data-"+e.data_attribute))}});if(0!==e.event.indexOf("scroll"))t.on(e.event,function(){i.loaded||t.trigger("appear")})});u.on("resize",function(){s()});if(/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion))u.on("pageshow",function(t){t.originalEvent&&t.originalEvent.persisted&&o.each(function(){n(this).trigger("appear")})});return n(i).ready(function(){s()}),this};n.belowthefold=function(i,f){var e;return e=f.container===r||f.container===t?(t.innerHeight?t.innerHeight:u.height())+u.scrollTop():n(f.container).offset().top+n(f.container).height(),e<=n(i).offset().top-f.threshold};n.rightoffold=function(i,f){var e;return e=f.container===r||f.container===t?u.width()+u.scrollLeft():n(f.container).offset().left+n(f.container).width(),e<=n(i).offset().left-f.threshold};n.abovethetop=function(i,f){var e;return e=f.container===r||f.container===t?u.scrollTop():n(f.container).offset().top,e>=n(i).offset().top+f.threshold+n(i).height()};n.leftofbegin=function(i,f){var e;return e=f.container===r||f.container===t?u.scrollLeft():n(f.container).offset().left,e>=n(i).offset().left+f.threshold+n(i).width()};n.inviewport=function(t,i){return!n.rightoffold(t,i)&&!n.leftofbegin(t,i)&&!n.belowthefold(t,i)&&!n.abovethetop(t,i)};n.extend(n.expr[":"],{"below-the-fold":function(t){return n.belowthefold(t,{threshold:0})},"above-the-top":function(t){return!n.belowthefold(t,{threshold:0})},"right-of-screen":function(t){return n.rightoffold(t,{threshold:0})},"left-of-screen":function(t){return!n.rightoffold(t,{threshold:0})},"in-viewport":function(t){return n.inviewport(t,{threshold:0})},"above-the-fold":function(t){return!n.belowthefold(t,{threshold:0})},"right-of-fold":function(t){return n.rightoffold(t,{threshold:0})},"left-of-fold":function(t){return!n.rightoffold(t,{threshold:0})}})})(jQuery,window,document);