PageSourceSearch

https://standrewsradio.com/wp-content/themes/sonik/assets/js/min/main-min.js?ver=1.3.9

js standrewsradio.com collected 2026-10-02 19:48:50 UTC 337,508 bytes, 71 lines download raw bytes

1/** @license
2	Animator.js 1.1.9
3	
4	This library is released under the BSD license:
5
6	Copyright (c) 2006, Bernard Sumption. All rights reserved.
7	
8	Redistribution and use in source and binary forms, with or without
9	modification, are permitted provided that the following conditions are met:
10	
11	Redistributions of source code must retain the above copyright notice, this
12	list of conditions and the following disclaimer. Redistributions in binary
13	form must reproduce the above copyright notice, this list of conditions and
14	the following disclaimer in the documentation and/or other materials
15	provided with the distribution. Neither the name BernieCode nor
16	the names of its contributors may be used to endorse or promote products
17	derived from this software without specific prior written permission. 
18	
19	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20	AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21	IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22	ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
23	ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24	DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25	SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26	CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27	LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28	OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
29	DAMAGE.
30
31*/
32function Animator(t){this.setOptions(t);var e=this;this.timerDelegate=function(){e.onTimerEvent()},this.subjects=[],this.subjectScopes=[],this.target=0,this.state=0,this.lastTime=null}function NumericalStyleSubject(t,e,i,n,a){this.els=Animator.makeArray(t),"opacity"==e&&window.ActiveXObject?this.property="filter":this.property=Animator.camelize(e),this.from=parseFloat(i),this.to=parseFloat(n),this.units=null!=a?a:"px"}function ColorStyleSubject(t,e,i,n){this.els=Animator.makeArray(t),this.property=Animator.camelize(e),this.to=this.expandColor(n),this.from=this.expandColor(i),this.origFrom=i,this.origTo=n}function DiscreteStyleSubject(t,e,i,n,a){this.els=Animator.makeArray(t),this.property=Animator.camelize(e),this.from=i,this.to=n,this.threshold=a||.5}function CSSStyleSubject(t,e,i){if(t=Animator.makeArray(t),this.subjects=[],0!=t.length){var n,a,o,s,r,l,c,u;if(i)a=this.parseStyle(e,t[0]),n=this.parseStyle(i,t[0]);else for(o in a={},n=this.parseStyle(e,t[0]))a[o]=CSSStyleSubject.getStyle(t[0],o);for(o in a)a[o]==n[o]&&(delete a[o],delete n[o]);for(o in a){var d=String(a[o]),h=String(n[o]);if(null!=n[o]){if(c=ColorStyleSubject.parseColor(d))u=ColorStyleSubject.parseColor(h),l=ColorStyleSubject;else if(d.match(CSSStyleSubject.numericalRe)&&h.match(CSSStyleSubject.numericalRe)){c=parseFloat(d),u=parseFloat(h),l=NumericalStyleSubject,r=CSSStyleSubject.numericalRe.exec(d);var p=CSSStyleSubject.numericalRe.exec(h);s=null!=r[1]?r[1]:null!=p[1]?p[1]:p}else{if(!d.match(CSSStyleSubject.discreteRe)||!h.match(CSSStyleSubject.discreteRe)){window.DEBUG&&alert("Unrecognised format for value of "+o+": '"+a[o]+"'");continue}c=d,u=h,l=DiscreteStyleSubject,s=0}this.subjects[this.subjects.length]=new l(t,o,c,u,s)}else window.DEBUG&&alert("No to style provided for '"+o+'"')}}}function AnimatorChain(t,e){this.animators=t,this.setOptions(e);for(var i=0;i<this.animators.length;i++)this.listenTo(this.animators[i]);this.forwards=!1,this.current=0}function Accordion(t){this.setOptions(t);var e,i=this.options.initialSection;this.options.rememberance&&(e=document.location.hash.substring(1)),this.rememberanceTexts=[],this.ans=[];for(var n=this,a=0;a<this.options.sections.length;a++){var o=this.options.sections[a],s=new Animator(this.options.animatorOptions),r=this.options.from+this.options.shift*a,l=this.options.to+this.options.shift*a;s.addSubject(new NumericalStyleSubject(o,this.options.property,r,l,this.options.units)),s.jumpTo(0);var c=this.options.getActivator(o);c.index=a,c.onclick=function(){n.show(this.index)},this.ans[this.ans.length]=s,this.rememberanceTexts[a]=c.innerHTML.replace(/\s/g,""),this.rememberanceTexts[a]===e&&(i=a)}this.show(i)}var threeSixtyPlayer,ThreeSixtyPlayer,jQuery,Vel;
33/*!
34 * Materialize v0.97.5 (http://materializecss.com)
35 * Copyright 2014-2015 Materialize
36 * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
37 */
38(Animator.prototype={setOptions:function(t){this.options=Animator.applyDefaults({interval:20,duration:400,onComplete:function(){},onStep:function(){},transition:Animator.tx.easeInOut},t)},seekTo:function(t){this.seekFromTo(this.state,t)},seekFromTo:function(t,e){this.target=Math.max(0,Math.min(1,e)),this.state=Math.max(0,Math.min(1,t)),this.lastTime=(new Date).getTime(),this.intervalId||(this.intervalId=window.setInterval(this.timerDelegate,this.options.interval))},jumpTo:function(t){this.target=this.state=Math.max(0,Math.min(1,t)),this.prop
38agate()},toggle:function(){this.seekTo(1-this.target)},addSubject:function(t,e){return this.subjects[this.subjects.length]=t,this.subjectScopes[this.subjectScopes.length]=e,this},clearSubjects:function(){this.subjects=[],this.subjectScopes=[]},propagate:function(){for(var t=this.options.transition(this.state),e=0;e<this.subjects.length;e++)this.subjects[e].setState?this.subjects[e].setState(t):this.subjects[e].apply(this.subjectScopes[e],[t])},onTimerEvent:function(){var t=(new Date).getTime(),e=t-this.lastTime;this.lastTime=t;var i=e/this.options.duration*(this.state<this.target?1:-1);Math.abs(i)>=Math.abs(this.state-this.target)?this.state=this.target:this.state+=i;try{this.propagate()}finally{this.options.onStep.call(this),this.target==this.state&&(window.clearInterval(this.intervalId),this.intervalId=null,this.options.onComplete.call(this))}},play:function(){this.seekFromTo(0,1)},reverse:function(){this.seekFromTo(1,0)},inspect:function(){for(var t="#<Animator:\n",e=0;e<this.subjects.length;e++)t+=this.subjects[e].inspect();return t+=">"}},Animator.applyDefaults=function(t,e){e=e||{};var i,n={};for(i in t)n[i]=void 0!==e[i]?e[i]:t[i];return n},Animator.makeArray=function(t){if(null==t)return[];if(!t.length)return[t];for(var e=[],i=0;i<t.length;i++)e[i]=t[i];return e},Animator.camelize=function(t){var e=t.split("-");if(1==e.length)return e[0];for(var i=0==t.indexOf("-")?e[0].charAt(0).toUpperCase()+e[0].substring(1):e[0],n=1,a=e.length;n<a;n++){var o=e[n];i+=o.charAt(0).toUpperCase()+o.substring(1)}return i},Animator.apply=function(t,e,i){return e instanceof Array?new Animator(i).addSubject(new CSSStyleSubject(t,e[0],e[1])):new Animator(i).addSubject(new CSSStyleSubject(t,e))},Animator.makeEaseIn=function(t){return function(e){return Math.pow(e,2*t)}},Animator.makeEaseOut=function(t){return function(e){return 1-Math.pow(1-e,2*t)}},Animator.makeElastic=function(t){return function(e){return e=Animator.tx.easeInOut(e),(1-Math.cos(e*Math.PI*t))*(1-e)+e}},Animator.makeADSR=function(t,e,i,n){return null==n&&(n=.5),function(a){return a<t?a/t:a<e?1-(a-t)/(e-t)*(1-n):a<i?n:n*(1-(a-i)/(1-i))}},Animator.makeBounce=function(t){var e=Animator.makeElastic(t);return function(t){return(t=e(t))<=1?t:2-t}},Animator.tx={easeInOut:function(t){return-Math.cos(t*Math.PI)/2+.5},linear:function(t){return t},easeIn:Animator.makeEaseIn(1.5),easeOut:Animator.makeEaseOut(1.5),strongEaseIn:Animator.makeEaseIn(2.5),strongEaseOut:Animator.makeEaseOut(2.5),elastic:Animator.makeElastic(1),veryElastic:Animator.makeElastic(3),bouncy:Animator.makeBounce(1),veryBouncy:Animator.makeBounce(3)},NumericalStyleSubject.prototype={setState:function(t){for(var e=this.getStyle(t),i=(this.property,0),n=0;n<this.els.length;n++){try{this.els[n].style[this.property]=e}catch(t){if("fontWeight"!=this.property)throw t}if(i++>20)return}},getStyle:function(t){return t=this.from+(this.to-this.from)*t,"filter"==this.property?"alpha(opacity="+Math.round(100*t)+")":"opacity"==this.property?t:Math.round(t)+this.units},inspect:function(){return"\t"+this.property+"("+this.from+this.units+" to "+this.to+this.units+")\n"}},ColorStyleSubject.prototype={expandColor:function(t){var e;if(e=ColorStyleSubject.parseColor(t))return[parseInt(e.slice(1,3),16),parseInt(e.slice(3,5),16),parseInt(e.slice(5,7),16)];window.DEBUG&&alert("Invalid colour: '"+t+"'")},getValueForState:function(t,e){return Math.round(this.from[t]+(this.to[t]-this.from[t])*e)},setState:function(t){for(var e="#"+ColorStyleSubject.toColorPart(this.getValueForState(0,t))+ColorStyleSubject.toColorPart(this.getValueForState(1,t))+ColorStyleSubject.toColorPart(this.getValueForState(2,t)),i=0;i<this.els.length;i++)this.els[i].style[this.property]=e},inspect:function(){return"\t"+this.property+"("+this.origFrom+" to "+this.origTo+")\n"}},ColorStyleSubject.parseColor=function(t){var e,i="#";if(e=ColorStyleSubject.parseColor.rgbRe.exec(t)){for(var n,a=1;a<=3;a++)n=Math.max(0,Math.min(255,parseInt(e[a]))),i+=ColorStyleSubject.toColorPart(n);return i}if(e=ColorStyleSubject.parseColor.hexRe.exec(t)){if(3==e[1].length){for(a=0;a<3;a++)i+=e[1].charAt(a)+e[1].charAt(a);return i}return"#"+e[1]}return!1},ColorStyleSubject.toColorPart=function(t){t>255&&(t=255);var e=t.toString(16);return t<16?"0"+e:e},ColorStyleSubject.parseColor.rgbRe=/^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i,ColorStyleSubject.parseColor.hexRe=/^\#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/,DiscreteStyleSubject.prototype={setState:function(t){for(var e=0;e<this.els.length;e++)this.els[e].style[this.property]=t<=this.threshold?this.from:this.to},inspect:function(){return"\t"+this.property+"("+this.from+" to "+this.to+" @ "+this.threshold+")\n"}},CSSStyleSubject.prototype={parseStyle:function(t,e){var i={};if(-1!=t.indexOf(":"))for(var n=t.split(";"),a=0;a<n.length;a++){var o=CSSStyleSubject.ruleRe.exec(n[a]);o&&(i[o[1]]=o[2])}else{var s,r,l;l=e.className,e.className=t;for(a=0;a<CSSStyleSubject.cssProperties.length;a++)s=CSSStyleSubject.cssProperties[a],null!=(r=CSSStyleSubject.getStyle(e,s))&&(i[s]=r);e.className=l}return i},setState:function(t){for(var e=0;e<this.subjects.length;e++)this.subjects[e].setState(t)},inspect:function(){for(var t="",e=0;e<this.subjects.length;e++)t+=this.subjects[e].inspect();return t}},CSSStyleSubject.getStyle=function(t,e){var i;return document.defaultView&&document.defaultView.getComputedStyle&&(i=document.defaultView.getComputedStyle(t,"").getPropertyValue(e))?i:(e=Animator.camelize(e),t.currentStyle&&(i=t.currentStyle[e]),i||t.style[e])},CSSStyleSubject.ruleRe=/^\s*([a-zA-Z\-]+)\s*:\s*(\S(.+\S)?)\s*$/,CSSStyleSubject.numericalRe=/^-?\d+(?:\.\d+)?(%|[a-zA-Z]{2})?$/,CSSStyleSubject.discreteRe=/^\w+$/,CSSStyleSubject.cssProperties=["azimuth","background","background-attachment","background-color","background-image","background-position","background-repeat","border-collapse","border-color","border-spacing","border-style","border-top","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","bottom","clear","clip","color","content","cursor","direction","display","elevation","empty-cells","css-float","font","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","height","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-top","margin-right","margin-bottom","margin-left","max-height","max-width","min-height","min-width","orphans","outline","outline-color","outline-style","outline-width","overflow","padding","padding-top","padding-right","padding-bottom","padding-left","pause","position","right","size","table-layout","text-align","text-decoration","text-indent","text-shadow","text-transform","top","vertical-align","visibility","white-space","width","word-spacing","z-index","opacity","outline-offset","overflow-x","overflow-y"],AnimatorChain.prototype={setOptions:function(t){this.options=Animator.applyDefaults({resetOnPlay:!0},t)},play:function(){if(this.forwards=!0,this.current=-1,this.options.resetOnPlay)for(var t=0;t<this.animators.length;t++)this.animators[t].jumpTo(0);this.advance()},reverse:function(){if(this.forwards=!1,this.current=this.animators.length,this.options.resetOnPlay)for(var t=0;t<this.animators.length;t++)this.animators[t].jumpTo(1);this.advance()},toggle:function(){this.forwards?this.seekTo(0):this.seekTo(1)},listenTo:function(t){var e=t.options.onComplete,i=this;t.options.onComplete=function(){e&&e.call(t),i.advance()}},advance:function(){if(this.forwards){if(null==this.animators[this.current+1])return;this.current++,this.animators[this.current].play()}else{if(null==this.animators[this.current-1])return;this.current--,this.animators[this.current].reverse()}},seekTo:function(t){t<=0?(this.forwards=!1,this.animators[this.current].seekTo(0)):(this.forwards=!0,this.animators[this.current].seekTo(1))}},Accordion.prototype={setOptions:function(t){this.options=Object.extend({sections:null,getActivator:function(t){return document.getElementById(t.getAttribute("activator"))},shift:0,initialSection:0,rememberance:!0,animatorOptions:{}},t||{})},show:function(t){for(var e=0;e<this.ans.length;e++)this.ans[e].seekTo(e>t?1:0);this.options.rememberance&&(document.location.hash=this.rememberanceTexts[t])}},
39/** @license
40 *
41 * SoundManager 2: JavaScript Sound for the Web
42 * ----------------------------------------------
43 * http://schillmania.com/projects/soundmanager2/
44 *
45 * Copyright (c) 2007, Scott Schiller. All rights reserved.
46 * Code provided under the BSD License:
47 * http://schillmania.com/projects/soundmanager2/license.txt
48 *
49 * V2.97a.20150601
50 */
51function(t,e){"use strict";if(!t||!t.document)throw new Error("SoundManager requires a browser with window and document objects.");var i=null;function n(e,i){this.setupOptions={url:e||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1e3,wmode:null,allowScriptAccess:"always",useFlashBlock:!1,useHTML5Audio:!0,forceUseGlobalHTML5Audio:!1,ignoreMobileRestrictions:!1,html5Test:/^(probably|maybe)$/i,preferFlash:!1,noSWFCache:!1,idPrefix:"sound"},this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfailure:null,onfinish:null,multiSh
51ot:!0,multiShotEvents:!1,position:null,pan:0,stream:!0,to:null,type:null,usePolicyFile:!1,volume:100},this.flash9Options={isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null},this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null},this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},opus:{type:["audio/ogg; codecs=opus","audio/opus"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}},this.movieID="sm2-container",this.id=i||"sm2movie",this.debugID="soundmanager-debug",this.debugURLParam=/([#?&])debug=1/i,this.versionNumber="V2.97a.20150601",this.version=null,this.movieURL=null,this.altURL=null,this.swfLoaded=!1,this.enabled=!1,this.oMC=null,this.sounds={},this.soundIDs=[],this.muted=!1,this.didFlashBlock=!1,this.filePattern=null,this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i},this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1},this.sandbox={},this.html5={usingFlash:null},this.flash={},this.html5Only=!1,this.ignoreFlash=!1;var n,a,o,s,r,l,c,u,d,h,p,f,m,g,v,y,w,b,_,C,x,S,k,T,M,P,O,D,L,E,F,A,I,q,j,N,$,V,z,H,R,B,W,Q,X,U,Y,G,Z,J,K,tt,et,it,nt,at,ot,st=this,rt=null,lt=null,ct=navigator.userAgent,ut=t.location.href.toString(),dt=document,ht=[],pt=!1,ft=!1,mt=!1,gt=!1,vt=!1,yt=null,wt=null,bt=!1,_t=!1,Ct=0,xt=null,St=[],kt=null,Tt=Array.prototype.slice,Mt=!1,Pt=0,Ot=ct.match(/(i
51pad|iphone|ipod)/i),Dt=ct.match(/android/i),Lt=ct.match(/msie/i),Et=ct.match(/webkit/i),Ft=ct.match(/safari/i)&&!ct.match(/chrome/i),At=ct.match(/opera/i),It=ct.match(/(mobile|pre\/|xoom)/i)||Ot||Dt,qt=!ut.match(/usehtml5audio/i)&&!ut.match(/sm2\-ignorebadua/i)&&Ft&&!ct.match(/silk/i)&&ct.match(/OS X 10_6_([3-7])/i),jt=(void 0!==t.console&&console.log,void 0!==dt.hasFocus?dt.hasFocus():null),Nt=Ft&&(void 0===dt.hasFocus||!dt.hasFocus()),$t=!Nt,Vt=/(mp3|mp4|mpa|m4a|m4b)/i,zt=dt.location?dt.location.protocol.match(/http/i):null,Ht=zt?"":"http://",Rt=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,Bt=["mpeg4","aac","flv","mov","mp4","m4v","f4v","m4a","m4b","mp4v","3gp","3g2"],Wt=new RegExp("\\.("+Bt.join("|")+")(\\?.*)?$","i");function Qt(t){return st.preferFlash&&tt&&!st.ignoreFlash&&void 0!==st.flash[t]&&st.flash[t]}function Xt(t){return function(e){var i=this._s;return i&&i._a?t.call(this,e):null}}this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i,this.useAltURL=!zt,q={swfBox:"sm2-object-box",swfDefault:"movieContainer",swfError:"swf_error",swfTimedout:"swf_timedout",swfLoaded:"swf_loaded",swfUnblocked:"swf_unblocked",sm2Debug:"sm2_debug",highPerf:"high_performance",flashDebug:"flash_debug"},this.hasHTML5=function(){try{return void 0!==Audio&&void 0!==(At&&void 0!==opera&&opera.version()<10?new Audio(null):new Audio).canPlayType}catch(t){return!1}}(),this.setup=function(t){var e=!st.url;return void 0!==t&&mt&&kt&&st.ok()&&(void 0!==t.flashVersion||void 0!==t.url||t.html5Test),d(t),Mt||(It?st.setupOptions.ignoreMobileRestrictions&&!st.setupOptions.forceUseGlobalHTML5Audio||(St.push(_.globalHTML5),Mt=!0):st.setupOptions.forceUseGlobalHTML5Audio&&(St.push(_.globalHTML5),Mt=!0)),!ot&&It&&(st.setupOptions.ignoreMobileRestrictions?St.push(_.ignoreMobile):(st.setupOptions.useHTML5Audio=!0,st.setupOptions.preferFlash=!1,Ot?st.ignoreFlash=!0:(Dt&&!ct.match(/android\s2\.3/i)||!Dt)&&(Mt=!0))),t&&(e&&k&&void 0!==t.url&&st.beginDelayedInit(),k||void 0===t.url||"complete"!==dt.readyState||setTimeout(x,1)),ot=!0,st},this.ok=function(){return kt?mt&&!gt:st.useHTML5Audio&&st.hasHTML5},this.supported=this.ok,this.getMovie=function(e){return a(e)||dt[e]||t[e]},this.createSound=function(t,e){var i,a=null;if(!mt||!st.ok())return!1;if(void 0!==e&&(t={id:t,url:e}),(i=u(t)).url=R(i.url),void 0===i.id&&(i.id=st.setupOptions.idPrefix+Pt++),$(i.id,!0))return st.sounds[i.id];function o(){return i=j(i),st.sounds[i.id]=new n(i),st.soundIDs.push(i.id),st.sounds[i.id]}if(Q(i))(a=o())._setup_html5(i);else{if(st.html5Only)return o();if(st.html5.usingFlash&&i.url&&i.url.match(/data\:/i))return o();l>8&&null===i.isMovieStar&&(i.isMovieStar=!!(i.serverURL||i.type&&i.type.match(Rt)||i.url&&i.url.match(Wt))),i=N(i,void 0),a=o(),8===l?lt._createSound(i.id,i.loops||1,i.usePolicyFile):(lt._createSound(i.id,i.url,i.usePeakData,i.useWaveformData,i.useEQData,i.isMovieStar,!!i.isMovieStar&&i.bufferTime,i.loops||1,i.serverURL,i.duration||null,i.autoPlay,!0,i.autoLoad,i.usePolicyFile),i.serverURL||(a.connected=!0,i.onconnect&&i.onconnect.apply(a))),i.serverURL||!i.autoLoad&&!i.autoPlay||a.load(i)}return!i.serverURL&&i.autoPlay&&a.play(),a},this.destroySound=function(t,e){if(!$(t))return!1;var i,n=st.sounds[t];for(n.stop(),n._iO={},n.unload(),i=0;i<st.soundIDs.length;i++)if(st.soundIDs[i]===t){st.soundIDs.splice(i,1);break}return e||n.destruct(!0),n=null,delete st.sounds[t],!0},this.load=function(t,e){return!!$(t)&&st.sounds[t].load(e)},this.unload=function(t){return!!$(t)&&st.sounds[t].unload()},this.onPosition=function(t,e,i,n){return!!$(t)&&st.sounds[t].onposition(e,i,n)},this.onposition=this.onPosition,this.clearOnPosition=function(t,e,i){return!!$(t)&&st.sounds[t].clearOnPosition(e,i)},this.play=function(t,e){var i=null,n=e&&!(e instanceof Object);if(!mt||!st.ok())return!1;if($(t,n))n&&(e={url:e});else{if(!n)return!1;n&&(e={url:e}),e&&e.url&&(e.id=t,i=st.createSound(e).play())}return null===i&&(i=st.sounds[t].play(e)),i},this.start=this.play,this.setPosition=function(t,e){return!!$(t)&&st.sounds[t].setPosition(e)},this.stop=function(t){return!!$(t)&&st.sounds[t].stop()},this.stopAll=function(){var t;
51for(t in st.sounds)st.sounds.hasOwnProperty(t)&&st.sounds[t].stop()},this.pause=function(t){return!!$(t)&&st.sounds[t].pause()},this.pauseAll=function(){var t;for(t=st.soundIDs.length-1;t>=0;t--)st.sounds[st.soundIDs[t]].pause()},this.resume=function(t){return!!$(t)&&st.sounds[t].resume()},this.resumeAll=function(){var t;for(t=st.soundIDs.length-1;t>=0;t--)st.sounds[st.soundIDs[t]].resume()},this.togglePause=function(t){return!!$(t)&&st.sounds[t].togglePause()},this.setPan=function(t,e){return!!$(t)&&st.sounds[t].setPan(e)},this.setVolume=function(t,e){var i,n;if(void 0===t||isNaN(t)||void 0!==e)return!!$(t)&&st.sounds[t].setVolume(e);for(i=0,n=st.soundIDs.length;i<n;i++)st.sounds[st.soundIDs[i]].setVolume(t)},this.mute=function(t){var e=0;if(t instanceof String&&(t=null),t)return!!$(t)&&st.sounds[t].mute();for(e=st.soundIDs.length-1;e>=0;e--)st.sounds[st.soundIDs[e]].mute();return st.muted=!0,!0},this.muteAll=function(){st.mute()},this.unmute=function(t){var e;if(t instanceof String&&(t=null),t)return!!$(t)&&st.sounds[t].unmute();for(e=st.soundIDs.length-1;e>=0;e--)st.sounds[st.soundIDs[e]].unmute();return st.muted=!1,!0},this.unmuteAll=function(){st.unmute()},this.toggleMute=function(t){return!!$(t)&&st.sounds[t].toggleMute()},this.getMemoryUse=function(){var t=0;return lt&&8!==l&&(t=parseInt(lt._getMemoryUse(),10)),t},this.disable=function(e){var i;if(void 0===e&&(e=!1),gt)return!1;for(gt=!0,i=st.soundIDs.length-1;i>=0;i--)D(st.sounds[st.soundIDs[i]]);return c(e),J.remove(t,"load",m),!0},this.canPlayMIME=function(t){var e;return st.hasHTML5&&(e=X({type:t})),!e&&kt&&(e=t&&st.ok()?!!(l>8&&t.match(Rt)||t.match(st.mimePattern)):null),e},this.canPlayURL=function(t){var e;return st.hasHTML5&&(e=X({url:t})),!e&&kt&&(e=t&&st.ok()?!!t.match(st.filePattern):null),e},this.canPlayLink=function(t){return!(void 0===t.type||!t.type||!st.canPlayMIME(t.type))||st.canPlayURL(t.href)},this.getSoundById=function(t,e){return t?st.sounds[t]:null},this.onready=function(e,i){if("function"!=typeof e)throw F("needFunction","onready");return i||(i=t),p("onready",e,i),f(),!0},this.ontimeout=function(e,i){if("function"!=typeof e)throw F("needFunction","ontimeout");return i||(i=t),p("ontimeout",e,i),f({type:"ontimeout"}),!0},this._writeDebug=function(t,e){return!0},this._wD=this._writeDebug,this._debug=function(){},this.reboot=function(e,i){var n,a,o;for(n=st.soundIDs.length-1;n>=0;n--)st.sounds[st.soundIDs[n]].destruct();if(lt)try{Lt&&(wt=lt.innerHTML),yt=lt.parentNode.removeChild(lt)}catch(t){}if(wt=yt=kt=lt=null,st.enabled=k=mt=bt=_t=pt=ft=gt=Mt=st.swfLoaded=!1,st.soundIDs=[],st.sounds={},Pt=0,ot=!1,e)ht=[];else for(n in ht)if(ht.hasOwnProperty(n))for(a=0,o=ht[n].length;a<o;a++)ht[n][a].fired=!1;return st.html5={usingFlash:null},st.flash={},st.html5Only=!1,st.ignoreFlash=!1,t.setTimeout((function(){i||st.beginDelayedInit()}),20),st},this.reset=function(){return st.reboot(!0,!0)},this.getMoviePercent=function(){return lt&&"PercentLoaded"in lt?lt.PercentLoaded():null},this.beginDelayedInit=function(){vt=!0,x(),setTimeout((function(){return!_t&&(M(),C(),_t=!0,!0)}),20),g()},this.destruct=function(){st.disable(!0)},n=function(t){var e,i,n,a,o,s,r,c,d,h,p=this,f=!1,m=[],g=0,v=null;d={duration:null,time:null},this.id=t.id,this.sID=this.id,this.url=t.url,this.options=u(t),this.instanceOptions=this.options,this._iO=this.instanceOptions,this.pan=this.options.pan,this.volume=this.options.volume,this.isHTML5=!1,this._a=null,h=!this.url,this.id3={},this._debug=function(){},this.load=function(t){var e;if(void 0!==t?p._iO=u(t,p.options):(t=p.options,p._iO=t,v&&v!==p.url&&(p._iO.url=p.url,p.url=null)),p._iO.url||(p._iO.url=p.url),p._iO.url=R(p._iO.url),p.instanceOptions=p._iO,!(e=p._iO).url&&!p.url)return p;if(e.url===p.url&&0!==p.readyState&&2!==p.readyState)return 3===p.readyState&&e.onload&&at(p,(function(){e.onload.apply(p,[!!p.duration])})),p;if(p.loaded=!1,p.readyState=1,p.playState=0,p.id3={},Q(e))p._setup_html5(e)._called_load||(p._html5_canplay=!1,p.url!==e.url&&(p._a.src=e.url,p.setPosition(0)),p._a.autobuffer="auto",p._a.preload="auto",p._a._called_load=!0);else{if(st.html5Only)return p;if(p._iO.url&&p._iO.url.match(/data\:/i))return p;try{p.isHTML5=!1,p._iO=N(j(e)),p._iO.autoPlay&&(p._iO.position||p._iO.from)&&(p._iO.autoPlay=!1),e=p._iO,8===l?lt._load(p.id,e.url,e.
51stream,e.autoPlay,e.usePolicyFile):lt._load(p.id,e.url,!!e.stream,!!e.autoPlay,e.loops||1,!!e.autoLoad,e.usePolicyFile)}catch(t){P({type:"SMSOUND_LOAD_JS_EXCEPTION",fatal:!0})}}return p.url=e.url,p},this.unload=function(){return 0!==p.readyState&&(p.isHTML5?(a(),p._a&&(p._a.pause(),v=Y(p._a))):8===l?lt._unload(p.id,"about:blank"):lt._unload(p.id),e()),p},this.destruct=function(t){p.isHTML5?(a(),p._a&&(p._a.pause(),Y(p._a),Mt||n(),p._a._s=null,p._a=null)):(p._iO.onfailure=null,lt._destroySound(p.id)),t||st.destroySound(p.id,!0)},this.play=function(t,e){var i,n,a,r,d,m=!0,g=null;if(e=void 0===e||e,t||(t={}),p.url&&(p._iO.url=p.url),p._iO=u(p._iO,p.options),p._iO=u(t,p._iO),p._iO.url=R(p._iO.url),p.instanceOptions=p._iO,!p.isHTML5&&p._iO.serverURL&&!p.connected)return p.getAutoPlay()||p.setAutoPlay(!0),p;if(Q(p._iO)&&(p._setup_html5(p._iO),o()),1!==p.playState||p.paused||p._iO.multiShot||(p.isHTML5&&p.setPosition(p._iO.position),g=p),null!==g)return g;if(t.url&&t.url!==p.url&&(p.readyState||p.isHTML5||8!==l||!h?p.load(p._iO):h=!1),p.loaded||(0===p.readyState?(p.isHTML5||st.html5Only?p.isHTML5?p.load(p._iO):g=p:(p._iO.autoPlay=!0,p.load(p._iO)),p.instanceOptions=p._iO):2===p.readyState&&(g=p)),null!==g)return g;if(!p.isHTML5&&9===l&&p.position>0&&p.position===p.duration&&(t.position=0),p.paused&&p.position>=0&&(!p._iO.serverURL||p.position>0))p.resume();else{if(p._iO=u(t,p._iO),(!p.isHTML5&&null!==p._iO.position&&p._iO.position>0||null!==p._iO.from&&p._iO.from>0||null!==p._iO.to)&&0===p.instanceCount&&0===p.playState&&!p._iO.serverURL){if(n=function(){p._iO=u(t,p._iO),p.play(p._iO)},p.isHTML5&&!p._html5_canplay?(p.load({_oncanplay:n}),g=!1):p.isHTML5||p.loaded||p.readyState&&2===p.readyState||(p.load({onload:n}),g=!1),null!==g)return g;p._iO=c()}(!p.instanceCount||p._iO.multiShotEvents||p.isHTML5&&p._iO.multiShot&&!Mt||!p.isHTML5&&l>8&&!p.getAutoPlay())&&p.instanceCount++,p._iO.onposition&&0===p.playState&&s(p),p.playState=1,p.paused=!1,p.position=void 0===p._iO.position||isNaN(p._iO.position)?0:p._iO.position,p.isHTML5||(p._iO=N(j(p._iO))),p._iO.onplay&&e&&(p._iO.onplay.apply(p),f=!0),p.setVolume(p._iO.volume,!0),p.setPan(p._iO.pan,!0),p.isHTML5?p.instanceCount<2?(o(),i=p._setup_html5(),p.setPosition(p._iO.position),i.play()):(a=new Audio(p._iO.url),r=function(){J.remove(a,"ended",r),p._onfinish(p),Y(a),a=null},d=function(){J.remove(a,"canplay",d);try{a.currentTime=p._iO.position/1e3}catch(t){}a.play()},J.add(a,"ended",r),void 0!==p._iO.volume&&(a.volume=Math.max(0,Math.min(1,p._iO.volume/100))),p.muted&&(a.muted=!0),p._iO.position?J.add(a,"canplay",d):a.play()):(m=lt._start(p.id,p._iO.loops||1,9===l?p.position:p.position/1e3,p._iO.multiShot||!1),9!==l||m||p._iO.onplayerror&&p._iO.onplayerror.apply(p))}return p},this.start=this.play,this.stop=function(t){var e,i=p._iO;return 1===p.playState&&(p._onbufferchange(0),p._resetOnPosition(0),p.paused=!1,p.isHTML5||(p.playState=0),r(),i.to&&p.clearOnPosition(i.to),p.isHTML5?p._a&&(e=p.position,p.setPosition(0),p.position=e,p._a.pause(),p.playState=0,p._onTimer(),a()):(lt._stop(p.id,t),i.serverURL&&p.unload()),p.instanceCount=0,p._iO={},i.onstop&&i.onstop.apply(p)),p},this.setAutoPlay=function(t){p._iO.autoPlay=t,p.isHTML5||(lt._setAutoPlay(p.id,t),t&&(p.instanceCount||1!==p.readyState||p.instanceCount++))},this.getAutoPlay=function(){return p._iO.autoPlay},this.setPosition=function(t){void 0===t&&(t=0);var e,i,n=p.isHTML5?Math.max(t,0):Math.min(p.duration||p._iO.duration,Math.max(t,0));if(p.position=n,i=p.position/1e3,p._resetOnPosition(p.position),p._iO.position=n,p.isHTML5){if(p._a){if(p._html5_canplay){if(p._a.currentTime!==i)try{p._a.currentTime=i,(0===p.playState||p.paused)&&p._a.pause()}catch(t){}}else if(i)return p;p.paused&&p._onTimer(!0)}}else e=9===l?p.position:i,p.readyState&&2!==p.readyState&&lt._setPosition(p.id,e,p.paused||!p.playState,p._iO.multiShot);return p},this.pause=function(t){return p.paused||0===p.playState&&1!==p.readyState||(p.paused=!0,p.isHTML5?(p._setup_html5().pause(),a()):(t||void 0===t)&&lt._pause(p.id,p._iO.multiShot),p._iO.onpause&&p._iO.onpause.apply(p)),p},this.resume=function(){var t=p._iO;return p.paused?(p.paused=!1,p.playState=1,p.isHTML5?(p._setup_html5().play(),o()):(t.isMovieStar&&!t.serverURL&&p.setPosition(p.position),lt._pause(p.id,t.multiSh
51ot)),!f&&t.onplay?(t.onplay.apply(p),f=!0):t.onresume&&t.onresume.apply(p),p):p},this.togglePause=function(){return 0===p.playState?(p.play({position:9!==l||p.isHTML5?p.position/1e3:p.position}),p):(p.paused?p.resume():p.pause(),p)},this.setPan=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=!1),p.isHTML5||lt._setPan(p.id,t),p._iO.pan=t,e||(p.pan=t,p.options.pan=t),p},this.setVolume=function(t,e){return void 0===t&&(t=100),void 0===e&&(e=!1),p.isHTML5?p._a&&(st.muted&&!p.muted&&(p.muted=!0,p._a.muted=!0),p._a.volume=Math.max(0,Math.min(1,t/100))):lt._setVolume(p.id,st.muted&&!p.muted||p.muted?0:t),p._iO.volume=t,e||(p.volume=t,p.options.volume=t),p},this.mute=function(){return p.muted=!0,p.isHTML5?p._a&&(p._a.muted=!0):lt._setVolume(p.id,0),p},this.unmute=function(){p.muted=!1;var t=void 0!==p._iO.volume;return p.isHTML5?p._a&&(p._a.muted=!1):lt._setVolume(p.id,t?p._iO.volume:p.options.volume),p},this.toggleMute=function(){return p.muted?p.unmute():p.mute()},this.onPosition=function(t,e,i){return m.push({position:parseInt(t,10),method:e,scope:void 0!==i?i:p,fired:!1}),p},this.onposition=this.onPosition,this.clearOnPosition=function(t,e){var i;if(t=parseInt(t,10),isNaN(t))return!1;for(i=0;i<m.length;i++)t===m[i].position&&(e&&e!==m[i].method||(m[i].fired&&g--,m.splice(i,1)))},this._processOnPosition=function(){var t,e,i=m.length;if(!i||!p.playState||g>=i)return!1;for(t=i-1;t>=0;t--)!(e=m[t]).fired&&p.position>=e.position&&(e.fired=!0,g++,e.method.apply(e.scope,[e.position]),i=m.length);return!0},this._resetOnPosition=function(t){var e,i,n=m.length;if(!n)return!1;for(e=n-1;e>=0;e--)(i=m[e]).fired&&t<=i.position&&(i.fired=!1,g--);return!0},c=function(){var t,e,i=p._iO,n=i.from,a=i.to;return e=function(){p.clearOnPosition(a,e),p.stop()},t=function(){null===a||isNaN(a)||p.onPosition(a,e)},null===n||isNaN(n)||(i.position=n,i.multiShot=!1,t()),i},s=function(){var t,e=p._iO.onposition;if(e)for(t in e)e.hasOwnProperty(t)&&p.onPosition(parseInt(t,10),e[t])},r=function(){var t,e=p._iO.onposition;if(e)for(t in e)e.hasOwnProperty(t)&&p.clearOnPosition(parseInt(t,10))},o=function(){p.isHTML5&&V(p)},a=function(){p.isHTML5&&z(p)},(e=function(t){t||(m=[],g=0),f=!1,p._hasTimer=null,p._a=null,p._html5_canplay=!1,p.bytesLoaded=null,p.bytesTotal=null,p.duration=p._iO&&p._iO.duration?p._iO.duration:null,p.durationEstimate=null,p.buffered=[],p.eqData=[],p.eqData.left=[],p.eqData.right=[],p.failures=0,p.isBuffering=!1,p.instanceOptions={},p.instanceCount=0,p.loaded=!1,p.metadata={},p.readyState=0,p.muted=!1,p.paused=!1,p.peakData={left:0,right:0},p.waveformData={left:[],right:[]},p.playState=0,p.position=null,p.id3={}})(),this._onTimer=function(t){var e,i,n=!1,a={};if(p._hasTimer||t)return p._a&&(t||(p.playState>0||1===p.readyState)&&!p.paused)&&((e=p._get_html5_duration())!==d.duration&&(d.duration=e,p.duration=e,n=!0),p.durationEstimate=p.duration,(i=1e3*p._a.currentTime||0)!==d.time&&(d.time=i,n=!0),(n||t)&&p._whileplaying(i,a,a,a,a)),n},this._get_html5_duration=function(){var t=p._iO,e=p._a&&p._a.duration?1e3*p._a.duration:t&&t.duration?t.duration:null;return e&&!isNaN(e)&&e!==1/0?e:null},this._apply_loop=function(t,e){t.loop=e>1?"loop":""},this._setup_html5=function(t){var n,a=u(p._iO,t),o=Mt?rt:p._a,s=decodeURI(a.url);if(Mt?s===decodeURI(K)&&(n=!0):s===decodeURI(v)&&(n=!0),o){if(o._s)if(Mt)o._s&&o._s.playState&&!n&&o._s.stop();else if(!Mt&&s===decodeURI(v))return p._apply_loop(o,a.loops),o;n||(v&&e(!1),o.src=a.url,p.url=a.url,v=a.url,K=a.url,o._called_load=!1)}else a.autoLoad||a.autoPlay?(p._a=new Audio(a.url),p._a.load()):p._a=At&&opera.version()<10?new Audio(null):new Audio,(o=p._a)._called_load=!1,Mt&&(rt=o);return p.isHTML5=!0,p._a=o,o._s=p,i(),p._apply_loop(o,a.loops),a.autoLoad||a.autoPlay?p.load():(o.autobuffer=!1,o.preload="auto"),o},i=function(){if(p._a._added_events)return!1;var t,e,i,n;for(t in p._a._added_events=!0,nt)nt.hasOwnProperty(t)&&(e=t,i=nt[t],n=void 0,p._a&&p._a.addEventListener(e,i,n||!1));return!0},n=function(){var t,e,i,n;for(t in p._a._added_events=!1,nt)nt.hasOwnProperty(t)&&(e=t,i=nt[t],n=void 0,p._a&&p._a.removeEventListener(e,i,n||!1))},this._onload=function(t){var e=!!t||!p.isHTML5&&8===l&&p.duration;return p.loaded=e,p.readyState=e?3:2,p._onbufferchange(0),p._iO.onload&&at(p,(function(){p._iO.onload.apply(
51p,[e])})),!0},this._onbufferchange=function(t){return 0!==p.playState&&(!(t&&p.isBuffering||!t&&!p.isBuffering)&&(p.isBuffering=1===t,p._iO.onbufferchange&&p._iO.onbufferchange.apply(p,[t]),!0))},this._onsuspend=function(){return p._iO.onsuspend&&p._iO.onsuspend.apply(p),!0},this._onfailure=function(t,e,i){p.failures++,p._iO.onfailure&&1===p.failures&&p._iO.onfailure(t,e,i)},this._onwarning=function(t,e,i){p._iO.onwarning&&p._iO.onwarning(t,e,i)},this._onfinish=function(){var t=p._iO.onfinish;p._onbufferchange(0),p._resetOnPosition(0),p.instanceCount&&(p.instanceCount--,p.instanceCount||(r(),p.playState=0,p.paused=!1,p.instanceCount=0,p.instanceOptions={},p._iO={},a(),p.isHTML5&&(p.position=0)),p.instanceCount&&!p._iO.multiShotEvents||t&&at(p,(function(){t.apply(p)})))},this._whileloading=function(t,e,i,n){var a=p._iO;p.bytesLoaded=t,p.bytesTotal=e,p.duration=Math.floor(i),p.bufferLength=n,p.isHTML5||a.isMovieStar?p.durationEstimate=p.duration:a.duration?p.durationEstimate=p.duration>a.duration?p.duration:a.duration:p.durationEstimate=parseInt(p.bytesTotal/p.bytesLoaded*p.duration,10),p.isHTML5||(p.buffered=[{start:0,end:p.duration}]),(3!==p.readyState||p.isHTML5)&&a.whileloading&&a.whileloading.apply(p)},this._whileplaying=function(t,e,i,n,a){var o,s=p._iO;return!isNaN(t)&&null!==t&&(p.position=Math.max(0,t),p._processOnPosition(),!p.isHTML5&&l>8&&(s.usePeakData&&void 0!==e&&e&&(p.peakData={left:e.leftPeak,right:e.rightPeak}),s.useWaveformData&&void 0!==i&&i&&(p.waveformData={left:i.split(","),right:n.split(",")}),s.useEQData&&void 0!==a&&a&&a.leftEQ&&(o=a.leftEQ.split(","),p.eqData=o,p.eqData.left=o,void 0!==a.rightEQ&&a.rightEQ&&(p.eqData.right=a.rightEQ.split(",")))),1===p.playState&&(p.isHTML5||8!==l||p.position||!p.isBuffering||p._onbufferchange(0),s.whileplaying&&s.whileplaying.apply(p)),!0)},this._oncaptiondata=function(t){p.captiondata=t,p._iO.oncaptiondata&&p._iO.oncaptiondata.apply(p,[t])},this._onmetadata=function(t,e){var i,n,a={};for(i=0,n=t.length;i<n;i++)a[t[i]]=e[i];p.metadata=a,p._iO.onmetadata&&p._iO.onmetadata.call(p,p.metadata)},this._onid3=function(t,e){var i,n,a=[];for(i=0,n=t.length;i<n;i++)a[t[i]]=e[i];p.id3=u(p.id3,a),p._iO.onid3&&p._iO.onid3.apply(p)},this._onconnect=function(t){t=1===t,p.connected=t,t&&(p.failures=0,$(p.id)&&(p.getAutoPlay()?p.play(void 0,p.getAutoPlay()):p._iO.autoLoad&&p.load()),p._iO.onconnect&&p._iO.onconnect.apply(p,[t]))},this._ondataerror=function(t){p.playState>0&&p._iO.ondataerror&&p._iO.ondataerror.apply(p)}},T=function(){return dt.body||dt.getElementsByTagName("div")[0]},a=function(t){return dt.getElementById(t)},u=function(t,e){var i,n,a=t||{};for(n in i=void 0===e?st.defaultOptions:e)i.hasOwnProperty(n)&&void 0===a[n]&&("object"!=typeof i[n]||null===i[n]?a[n]=i[n]:a[n]=u(a[n],i[n]));return a},at=function(e,i){e.isHTML5||8!==l?i():t.setTimeout(i,0)},h={onready:1,ontimeout:1,defaultOptions:1,flash9Options:1,movieStarOptions:1},d=function(t,e){var i,n=!0,a=void 0!==e,o=st.setupOptions,s=h;for(i in t)if(t.hasOwnProperty(i))if("object"!=typeof t[i]||null===t[i]||t[i]instanceof Array||t[i]instanceof RegExp)a&&void 0!==s[e]?st[e][i]=t[i]:void 0!==o[i]?(st.setupOptions[i]=t[i],st[i]=t[i]):void 0===s[i]?n=!1:st[i]instanceof Function?st[i].apply(st,t[i]instanceof Array?t[i]:[t[i]]):st[i]=t[i];else{if(void 0!==s[i])return d(t[i],i);n=!1}return n},J=function(){var e=t.attachEvent,i={add:e?"attachEvent":"addEventListener",remove:e?"detachEvent":"removeEventListener"};function n(t){var i=Tt.call(t),n=i.length;return e?(i[1]="on"+i[1],n>3&&i.pop()):3===n&&i.push(!1),i}function a(t,n){var a=t.shift(),o=[i[n]];e?a[o](t[0],t[1]):a[o].apply(a,t)}return{add:function(){a(n(arguments),"add")},remove:function(){a(n(arguments),"remove")}}}(),nt={abort:Xt((function(){})),canplay:Xt((function(){var t,e=this._s;if(e._html5_canplay)return!0;if(e._html5_canplay=!0,e._onbufferchange(0),t=void 0===e._iO.position||isNaN(e._iO.position)?null:e._iO.position/1e3,this.currentTime!==t)try{this.currentTime=t}catch(t){}e._iO._oncanplay&&e._iO._oncanplay()})),canplaythrough:Xt((function(){var t=this._s;t.loaded||(t._onbufferchange(0),t._whileloading(t.bytesLoaded,t.bytesTotal,t._get_html5_duration()),t._onload(!0))})),durationchange:Xt((function(){var t,e=this._s;t=e._get_html5_duration(),isNaN(t)||t===e.duration||(e.durationEstimate=e.duration=t)})),ended:Xt((function(){this._s._onfinish()})),error:Xt((function(){this._s._onload(!1)})),loadeddata:Xt((function(){var t=this._s;t._loaded||Ft||(t.duration=t._get_html5_duration())})),loadedmetadata:Xt((function(){})),loadstart:Xt((function(){this._s._onbufferchange(1)})),play:Xt((function(){this._s._onbufferchange(0)})),playing:Xt((function(){this._s._onbufferchange(0)})),progress:Xt((function(t){var e,i,n=this._s,a=0,o=(t.type,t.target.buffered),s=t.loaded||0,r=t.total||1;if(n.buffered=[],o&&o.length){for(e=0,i=o.length;e<i;e++)n.buffered.push({start:1e3*o.start(e),end:1e3*o.end(e)});a=1e3*(o.end(0)-o.start(0)),s=Math.min(1,a/(1e3*t.target.duration))}isNaN(s)||(n._whileloading(s,r,n._get_html5_duration()),s&&r&&s===r&&nt.canplaythrough.call(this,t))})),ratechange:Xt((function(){})),suspend:Xt((function(t){var e=this._s;nt.progress.call(this,t),e._onsuspend()})),stalled:Xt((function(){})),timeupdate:Xt((function(){this._s._onTimer()})),waiting:Xt((function(){this._s._onbufferchange(1)}))},Q=function(t){return!(!t||!(t.type||t.url||t.serverURL))&&(!(t.serverURL||t.type&&Qt(t.type))&&(t.type?X({type:t.type}):X({url:t.url})||st.html5Only||t.url.match(/data\:/i)))},Y=function(t){var e;return t&&(e=Ft?"about:blank":st.html5.canPlayType("audio/wav")?"data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==":"about:blank",t.src=e,void 0!==t._called_unload&&(t._called_load=!1)),Mt&&(K=null),e},X=function(t){if(!st.useHTML5Audio||!st.hasHTML5)return!1;var e,i,n,a,o=t.url||null,s=t.type||null,r=st.audioFormats;if(s&&void 0!==st.html5[s])return st.html5[s]&&!Qt(s);if(!U){for(a in U=[],r)r.hasOwnProperty(a)&&(U.push(a),r[a].related&&(U=U.concat(r[a].related)));
51U=new RegExp("\\.("+U.join("|")+")(\\?.*)?$","i")}return(n=o?o.toLowerCase().match(U):null)&&n.length?n=n[1]:s?n=(-1!==(i=s.indexOf(";"))?s.substr(0,i):s).substr(6):e=!1,n&&void 0!==st.html5[n]?e=st.html5[n]&&!Qt(n):(s="audio/"+n,e="probably"),e},Z=function(){if(!st.useHTML5Audio||!st.hasHTML5)return st.html5.usingFlash=!0,kt=!0,!1;var t,e,i,n,a=void 0!==Audio?At&&opera.version()<10?new Audio(null):new Audio:null,o={};function s(t){var e,i,o=!1,s=!1;if(!a||"function"!=typeof a.canPlayType)return o;if(t instanceof Array){for(n=0,i=t.length;n<i;n++)(st.html5[t[n]]||a.canPlayType(t[n]).match(st.html5Test))&&(s=!0,st.html5[t[n]]=!0,st.flash[t[n]]=!!t[n].match(Vt));o=s}else o=!(!(e=!(!a||"function"!=typeof a.canPlayType)&&a.canPlayType(t))||!e.match(st.html5Test));return o}for(t in i=st.audioFormats)if(i.hasOwnProperty(t)&&(e="audio/"+t,o[t]=s(i[t].type),o[e]=o[t],t.match(Vt)?(st.flash[t]=!0,st.flash[e]=!0):(st.flash[t]=!1,st.flash[e]=!1),i[t]&&i[t].related))for(n=i[t].related.length-1;n>=0;n--)o["audio/"+i[t].related[n]]=o[t],st.html5[i[t].related[n]]=o[t],st.flash[i[t].related[n]]=o[t];return o.canPlayType=a?s:null,st.html5=u(st.html5,o),st.html5.usingFlash=W(),kt=st.html5.usingFlash,!0},_={},F=function(){},j=function(t){return 8===l&&t.loops>1&&t.stream&&(t.stream=!1),t},N=function(t,e){return t&&!t.usePolicyFile&&(t.onid3||t.usePeakData||t.useWaveformData||t.useEQData)&&(t.usePolicyFile=!0),t},o=function(){return!1},D=function(t){var e;for(e in t)t.hasOwnProperty(e)&&"function"==typeof t[e]&&(t[e]=o);e=null},L=function(t){void 0===t&&(t=!1),(gt||t)&&st.disable(t)},E=function(t){var e;if(t)if(t.match(/\.swf(\?.*)?$/i)){if(t.substr(t.toLowerCase().lastIndexOf(".swf?")+4))return t}else t.lastIndexOf("/")!==t.length-1&&(t+="/");return e=(t&&-1!==t.lastIndexOf("/")?t.substr(0,t.lastIndexOf("/")+1):"./")+st.movieURL,st.noSWFCache&&(e+="?ts="+(new Date).getTime()),e},w=function(){8!==(l=parseInt(st.flashVersion,10))&&9!==l&&(st.flashVersion=l=8);var t=st.debugMode||st.debugFlash?"_debug.swf":".swf";st.useHTML5Audio&&!st.html5Only&&st.audioFormats.mp4.required&&l<9&&(st.flashVersion=l=9),st.version=st.versionNumber+(st.html5Only?" (HTML5-only mode)":9===l?" (AS3/Flash 9)":" (AS2/Flash 8)"),l>8?(st.defaultOptions=u(st.defaultOptions,st.flash9Options),st.features.buffering=!0,st.defaultOptions=u(st.defaultOptions,st.movieStarOptions),st.filePatterns.flash9=new RegExp("\\.(mp3|"+Bt.join("|")+")(\\?.*)?$","i"),st.features.movieStar=!0):st.features.movieStar=!1,st.filePattern=st.filePatterns[8!==l?"flash9":"flash8"],st.movieURL=(8===l?"soundmanager2.swf":"soundmanager2_flash9.swf").replace(".swf",t),st.features.peakData=st.features.waveformData=st.features.eqData=l>8},O=function(t,e){if(!lt)return!1;lt._setPolling(t,e)},$=this.getSoundById,I=function(){var t=[];return st.debugMode&&t.push(q.sm2Debug),st.debugFlash&&t.push(q.flashDebug),st.useHighPerformance&&t.push(q.highPerf),t.join(" ")},A=function(){F("fbHandler");var t=st.getMoviePercent(),e=q,i={type:"FLASHBLOCK"};if(st.html5Only)return!1;st.ok()?st.oMC&&(st.oMC.className=[I(),e.swfDefault,e.swfLoaded+(st.didFlashBlock?" "+e.swfUnblocked:"")].join(" ")):(kt&&(st.oMC.className=I()+" "+e.swfDefault+" "+(null===t?e.swfTimedout:e.swfError)),st.didFlashBlock=!0,f({type:"ontimeout",ignoreInit:!0,error:i}),P(i))},p=function(t,e,i){void 0===ht[t]&&(ht[t]=[]),ht[t].push({method:e,scope:i||null,fired:!1})},f=function(t){if(t||(t={type:st.ok()?"onready":"ontimeout"}),!mt&&t&&!t.ignoreInit)return!1;if("ontimeout"===t.type&&(st.ok()||gt&&!t.ignoreInit))return!1;var e,i,n={success:t&&t.ignoreInit?st.ok():!gt},a=t&&t.type&&ht[t.type]||[],o=[],s=[n],r=kt&&!st.ok();for(t.error&&(s[0].error=t.error),e=0,i=a.length;e<i;e++)!0!==a[e].fired&&o.push(a[e]);if(o.length)for(e=0,i=o.length;e<i;e++)o[e].scope?o[e].method.apply(o[e].scope,s):o[e].method.apply(this,s),r||(o[e].fired=!0);return!0},m=function(){t.setTimeout((function(){st.useFlashBlock&&A(),f(),"function"==typeof st.onload&&st.onload.apply(t),st.waitForWindowLoad&&J.add(t,"load",m)}),1)},et=function(){if(void 0!==tt)return tt;var e,i,n,a=!1,o=navigator,s=o.plugins,r=t.ActiveXObject;if(s&&s.length)i="application/x-shockwave-flash",(n=o.mimeTypes)&&n[i]&&n[i].enabledPlugin&&n[i].enabledPlugin.description&&(a=!0);else if(void 0!==r&&!ct.match(/MSAppHost/i)){try{e=new r("ShockwaveFlash.ShockwaveFlash")}catch(t){e=null}a=!!e,e=null}return tt=a,a},W=function(){var t,e,i=st.audioFormats;if(Ot&&!!ct.match(/os (1|2|3_0|3_1)\s/i)?(st.hasHTML5=!1,st.html5Only=!0,st.oMC&&(st.oMC.style.display="none")):st.useHTML5Audio&&(st.html5&&st.html5.canPlayType||(st.hasHTML5=!1)),st.useHTML5Audio&&st.hasHTML5)for(e in B=!0,i)i.hasOwnProperty(e)&&i[e].required&&(st.html5.canPlayType(i[e].type)?st.preferFlash&&(st.flash[e]||st.flash[i[e].type])&&(t=!0):(B=!1,t=!0));return st.ignoreFlash&&(t=!1,B=!0),st.html5Only=st.hasHTML5&&st.useHTML5Audio&&!t,!st.html5Only},R=function(t){var e,i,n,a=0;if(t instanceof Array){for(e=0,i=t.length;e<i;e++)if(t[e]instanceof Object){if(st.canPlayMIME(t[e].type)){a=e;break}}else if(st.canPlayURL(t[e])){a=e;break}t[a].url&&(t[a]=t[a].url),n=t[a]}else n=t;return n},V=function(t){t._hasTimer||(t._hasTimer=!0,!It&&st.html5PollingInterval&&(null===xt&&0===Ct&&(xt=setInterval(H,st.html5PollingInterval)),Ct++))},z=function(t){t._hasTimer&&(t._hasTimer=!1,!It&&st.html5PollingInterval&&Ct--)},H=function(){var t;if(null!==xt&&!Ct)return clearInterval(xt),xt=null,!1;for(t=st.soundIDs.length-1;t>=0;t--)st.sounds[st.soundIDs[t]].isHTML5&&st.sounds[st.soundIDs[t]]._hasTimer&&st.sounds[st.soundIDs[t]]._onTimer()},P=function(e){e=void 0!==e?e:{},"function"==typeof st.onerror&&st.onerror.apply(t,[{type:void 0!==e.type?e.type:null}]),void 0!==e.fatal&&e.fatal&&st.disable()},it=function(){if(!qt||!et())return!1;var t,e,i=st.audioFormats;for(e in i)if(i.hasOwnProperty(e)&&("mp3"===e||"mp4"===e)&&(st.html5[e]=!1,i[e]&&i[e].related))for(t=i[e].related.length-1;t>=0;t--)st.html5[i[e].related[t]]=!1},this._setSandboxType=function(t){}
51,this._externalInterfaceOK=function(t){if(st.swfLoaded)return!1;st.swfLoaded=!0,Nt=!1,qt&&it(),setTimeout(r,Lt?100:1)},M=function(t,e){if(pt&&ft)return!1;if(st.html5Only)return w(),st.oMC=a(st.movieID),r(),pt=!0,ft=!0,!1
52;var i,n,o,s,l,c,u,d,h,p=e||st.url,f=st.altURL||p,m=T(),g=I(),v=dt.getElementsByTagName("html")[0];function y(t,e){return'<param name="'+t+'" value="'+e+'" />'}if(i=v&&v.dir&&v.dir.match(/rtl/i),t=void 0===t?st.id:t,w(),st.url=E(zt?p:f),e=st.url,st.wmode=!st.wmode&&st.useHighPerformance?"transparent":st.wmode,null!==st.wmode&&(ct.match(/msie 8/i)||!Lt&&!st.useHighPerformance)&&navigator.platform.match(/win32|win64/i)&&(St.push(_.spcWmode),st.wmode=null),n={name:t,id:t,src:e,quality:"high",allowScriptAccess:st.allowScriptAccess,bgcolor:st.bgColor,pluginspage:Ht+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",wmode:st.wmode,hasPriority:"true"},st.debugFlash&&(n.FlashVars="debug=1"),st.wmode||delete n.wmode,Lt)o=dt.createElement("div"),l=['<object id="'+t+'" data="'+e+'" type="'+n.type+'" title="'+n.title+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">',y("movie",e),y("AllowScriptAccess",st.allowScriptAccess),y("quality",n.quality),st.wmode?y("wmode",st.wmode):"",y("bgcolor",st.bgColor),y("hasPriority","true"),st.debugFlash?y("FlashVars",n.FlashVars):"","</object>"].join("");else for(s in o=dt.createElement("embed"),n)n.hasOwnProperty(s)&&o.setAttribute(s,n[s]);if(g=I(),m=T())if(st.oMC=a(st.movieID)||dt.createElement("div"),st.oMC.id)h=st.oMC.className,st.oMC.className=(h?h+" ":q.swfDefault)+(g?" "+g:""),st.oMC.appendChild(o),Lt&&((c=st.oMC.appendChild(dt.createElement("div"))).className=q.swfBox,c.innerHTML=l),ft=!0;else{if(st.oMC.id=st.movieID,st.oMC.className=q.swfDefault+" "+g,u=null,c=null,st.useFlashBlock||(st.useHighPerformance?u={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}:(u={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},i&&(u.left=Math.abs(parseInt(u.left,10))+"px"))),Et&&(st.oMC.style.zIndex=1e4),!st.debugFlash)for(d in u)u.hasOwnProperty(d)&&(st.oMC.style[d]=u[d]);try{Lt||st.oMC.appendChild(o),m.appendChild(st.oMC),Lt&&((c=st.oMC.appendChild(dt.createElement("div"))).className=q.swfBox,c.innerHTML=l),ft=!0}catch(t){throw new Error(F("domError")+" \n"+t.toString())}}return pt=!0,!0},C=function(){return st.html5Only?(M(),!1):!lt&&(!!st.url&&((lt=st.getMovie(st.id))||(yt?(Lt?st.oMC.innerHTML=wt:st.oMC.appendChild(yt),yt=null,pt=!0):M(st.id,st.url),lt=st.getMovie(st.id)),"function"==typeof st.oninitmovie&&setTimeout(st.oninitmovie,1),!0))},g=function(){setTimeout(v,1e3)},y=function(){t.setTimeout((function(){st.setup({preferFlash:!1}).reboot(),st.didFlashBlock=!0,st.beginDelayedInit()}),1)},v=function(){var e,i=!1;return!!st.url&&(!bt&&(bt=!0,J.remove(t,"load",g),!(tt&&Nt&&!jt)&&(mt||(e=st.getMoviePercent())>0&&e<100&&(i=!0),void setTimeout((function(){if(e=st.getMoviePercent(),i)return bt=!1,t.setTimeout(g,1),!1;!mt&&$t&&(null===e?st.useFlashBlock||0===st.flashLoadTimeout?st.useFlashBlock&&A():!st.useFlashBlock&&B?y():f({type:"ontimeout",ignoreInit:!0,error:{type:"INIT_FLASHBLOCK"}}):0===st.flashLoadTimeout||(!st.useFlashBlock&&B?y():L(!0)))}),st.flashLoadTimeout))))},b=function(){function e(){J.remove(t,"focus",b)}return jt||!Nt?(e(),!0):($t=!0,jt=!0,bt=!1,g(),e(),!0)},c=function(e){if(mt)return!1;if(st.html5Only)return mt=!0,m(),!0;var i,n=!0;return st.useFlashBlock&&st.flashLoadTimeout&&!st.getMoviePercent()||(mt=!0),i={type:!tt&&kt?"NO_FLASH":"INIT_TIMEOUT"},(gt||e)&&(st.useFlashBlock&&st.oMC&&(st.oMC.className=I()+" "+(null===st.getMoviePercent()?q.swfTimedout:q.swfError)),f({type:"ontimeout",error:i,ignoreInit:!0}),P(i),n=!1),gt||(st.waitForWindowLoad&&!vt?J.add(t,"load",m):m()),n},s=function(){var t,e=st.setupOptions;for(t in e)e.hasOwnProperty(t)&&(void 0===st[t]?st[t]=e[t]:st[t]!==e[t]&&(st.setupOptions[t]=st[t]))},r=function(){if(mt)return!1;function e(){J.remove(t,"load",st.beginDelayedInit)}if(st.html5Only)return mt||(e(),st.enabled=!0,c()),!0;C();try{lt._externalInterfaceTest(!1),O(!0,st.flashPollingInterval||(st.useHighPerformance?10:50)),st.debugMode||lt._disableDebug(),st.enabled=!0,st.html5Only||J.add(t,"unload",o)}catch(t){return P({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),L(!0),c(),!1}return c(),e(),!0},x=function(){return!k&&(k=!0,s(),!tt&&st.hasHTML5&&st.setup({useHTML5Audio:!0,preferFlash:!1}),Z(),!tt&&kt&&(St.push(_.needFlash),st.setup({flashLoadTimeout:1})),dt.removeEventListener&&dt.removeEventListener("DOMContentLoaded",x,!1),C(),!0)},G=function(){return"complete"===dt.readyState&&(x(),dt.detachEvent("onreadystatechange",G)),!0},S=function(){vt=!0,x(),J.remove(t,"load",S)},et(),J.add(t,"focus",b),J.add(t,"load",g),J.add(t,"load",S),dt.addEventListener?dt.addEventListener("DOMContentLoaded",x,!1):dt.attachEvent?dt.attachEvent("onreadystatechange",G):P({type:"NO_DOM2_EVENTS",fatal:!0})}void 0!==t.SM2_DEFER&&SM2_DEFER||(i=new n),"object"==typeof module&&module&&"object"==typeof module.exports?(module.exports.SoundManager=n,module.exports.soundManager=i):"function"==typeof define&&define.amd&&define((function(){return{constructor:n,getInstance:function(e){if(!t.soundManager&&e instanceof Function){var i=e(n);i instanceof n&&(t.soundManager=i)}return t.soundManager}}})),t.SoundManager=n,t.soundManager=i}(window),function(t){function e(){var e=this,i=this,n=soundManager,a=navigator.userAgent,o=a.match(/msie/i),s=a.match(/opera/i),r=a.match(/safari/i),l=a.match(/chrome/i),c=(a.match(/firefox/i),a.match(/ipad|iphone/i)),u=void 0===t.G_vmlCanvasManager&&void 0!==document.createElement("canvas").getContext("2d"),d=s||l?359.9:360,h=navigator.userAgent.match(/msie [678]/i)?1:2;this.excludeClass="threesixty-exclude",this.links=[],this.sounds=[],this.soundsByURL=[],this.indexByURL=[],this.lastSound=null,this.lastTouchedSound=null,this.soundCount=0,this.oUITemplate=null,this.oUIImageMap=null,this.vuMeter=null,this.callbackCount=0,this.peakDataHistory=[],this.config={playNext:!1,autoPlay:!1,allowMultiple:!1,loadRingColor:"#ccc",playRingColor:"#000",backgroundRingColor:"#eee",segmentRingColor:"rgba(255,255,255,0.33)",segmentRingColorAlt:"rgba(0,0,0,0.1)",loadRingColorMetadata:"#ddd",playRingColorMetadata:"rgba(128,192,256,0.9)",circleDiameter:null,circleRadius:null,animDuration:500,animTransition:t.Animator.tx.bouncy,showHMSTime:!1,scaleFont:!0,useWaveformData:!1,waveformDataColor:"#0099ff",waveformDataDownsample:3,waveformDataOutside:!1,waveformDataConstrain:!1,waveformDataLineRatio:.64,useEQData:!1,eqDataColor:"#339933",eqDataDownsample:4,eqDataOutside:!0,eqDataLineRatio:.54,usePeakData:!0,peakDataColor:"#ff33ff",peakDataOutside:!0,peakDataLineRatio:.5,useAmplifier:!0,fontSizeMax:null,
52scaleArcWidth:1,useFavIcon:!1},this.css={sDefault:"sm2_link",sBuffering:"sm2_buffering",sPlaying:"sm2_playing",sPaused:"sm2_paused"},this.addEventHandler=void 0!==t.addEventListener?function(t,e,i){return t.addEventListener(e,i,!1)}:function(t,e,i){t.attachEvent("on"+e,i)},this.removeEventHandler=void 0!==t.removeEventListener?function(t,e,i){return t.removeEventListener(e,i,!1)}:function(t,e,i){return t.detachEvent("on"+e,i)},this.hasClass=function(t,e){return void 0!==t.className&&t.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))},this.addClass=function(t,i){if(!t||!i||e.hasClass(t,i))return!1;t.className=(t.className?t.className+" ":"")+i},this.removeClass=function(t,i){if(!t||!i||!e.hasClass(t,i))return!1;t.className=t.className.replace(new RegExp("( "+i+")|("+i+")","g"),"")},this.getElementsByClassName=function(t,i,n){var a,o,s=n||document,r=[],l=[];if(void 0!==i&&"string"!=typeof i)for(a=i.length;a--;)l&&l[i[a]]||(l[i[a]]=s.getElementsByTagName(i[a]));else l=i?s.getElementsByTagName(i):s.all||s.getElementsByTagName("*");if("string"!=typeof i)for(a=i.length;a--;)for(o=l[i[a]].length;o--;)e.hasClass(l[i[a]][o],t)&&r.push(l[i[a]][o]);else for(a=0;a<l.length;a++)e.hasClass(l[a],t)&&r.push(l[a]);return r},this.getParentByNodeName=function(t,e){if(!t||!e)return!1;for(e=e.toLowerCase();t.parentNode&&e!==t.parentNode.nodeName.toLowerCase();)t=t.parentNode;return t.parentNode&&e===t.parentNode.nodeName.toLowerCase()?t.parentNode:null},this.getParentByClassName=function(t,i){if(!t||!i)return!1;for(;t.parentNode&&!e.hasClass(t.parentNode,i);)t=t.parentNode;return t.parentNode&&e.hasClass(t.parentNode,i)?t.parentNode:null},this.getSoundByURL=function(t){return void 0!==e.soundsByURL[t]?e.soundsByURL[t]:null},this.isChildOfNode=function(t,e){if(!t||!t.parentNode)return!1;e=e.toLowerCase();do{t=t.parentNode}while(t&&t.parentNode&&t.nodeName.toLowerCase()!==e);return t&&t.nodeName.toLowerCase()===e?t:null},this.isChildOfClass=function(t,i){if(!t||!i)return!1;for(;t.parentNode&&!e.hasClass(t,i);)t=e.findParent(t);return e.hasClass(t,i)},this.findParent=function(t){if(!t||!t.parentNode)return!1;if(2===(t=t.parentNode).nodeType)for(;t&&t.parentNode&&2===t.parentNode.nodeType;)t=t.parentNode;return t},this.getStyle=function(e,i){try{if(e.currentStyle)return e.currentStyle[i];if(t.getComputedStyle)return document.defaultView.getComputedStyle(e,null).getPropertyValue(i)}catch(t){}return null},this.findXY=function(t){var e=0,i=0;do{e+=t.offsetLeft,i+=t.offsetTop}while(t=t.offsetParent);return[e,i]},this.getMouseXY=function(i){return i=i||t.event,c&&i.touches&&(i=i.touches[0]),i.pageX||i.pageY?[i.pageX,i.pageY]:i.clientX||i.clientY?[i.clientX+e.getScrollLeft(),i.clientY+e.getScrollTop()]:void 0}
52,this.getScrollLeft=function(){return document.body.scrollLeft+document.documentElement.scrollLeft},this.getScrollTop=function(){return document.body.scrollTop+document.documentElement.scrollTop},this.events={play:function(){i.removeClass(this._360data.oUIBox,this._360data.className),this._360data.className=i.css.sPlaying,i.addClass(this._360data.oUIBox,this._360data.className),e.fanOut(this)},stop:function(){i.removeClass(this._360data.oUIBox,this._360data.className),this._360data.className="",e.fanIn(this)},pause:function(){i.removeClass(this._360data.oUIBox,this._360data.className),this._360data.className=i.css.sPaused,i.addClass(this._360data.oUIBox,this._360data.className)},resume:function(){i.removeClass(this._360data.oUIBox,this._360data.className),this._360data.className=i.css.sPlaying,i.addClass(this._360data.oUIBox,this._360data.className)},finish:function(){var t;i.removeClass(this._360data.oUIBox,this._360data.className),this._360data.className="",this._360data.didFinish=!0,e.fanIn(this),i.config.playNext&&(t=i.indexByURL[this._360data.oLink.href]+1)<i.links.length&&i.handleClick({target:i.links[t]})},whileloading:function(){this.paused&&e.updatePlaying.apply(this)},whileplaying:function(){e.updatePlaying.apply(this),this._360data.fps++},bufferchange:function(){this.isBuffering?i.addClass(this._360data.oUIBox,i.css.sBuffering):i.removeClass(this._360data.oUIBox,i.css.sBuffering)}},this.stopEvent=function(e){return void 0!==e&&void 0!==e.preventDefault?e.preventDefault():void 0!==t.event&&void 0!==t.event.returnValue&&(t.event.returnValue=!1),!1},this.getTheDamnLink=o?function(e){return e&&e.target?e.target:t.event.srcElement}:function(t){return t.target},this.handleClick=function(i){if(i.button>1)return!0;var a,o,s,r,l,c,u=e.getTheDamnLink(i);return"a"!==u.nodeName.toLowerCase()&&!(u=e.isChildOfNode(u,"a"))||(!e.isChildOfClass(u,"ui360")||(u.getAttribute("href"),!(u.href&&n.canPlayLink(u)&&!e.hasClass(u,e.excludeClass))||(n._writeDebug("handleClick()"),o=u.href,(s=e.getSoundByURL(o))?s===e.lastSound?s.togglePause():(s.togglePause(),n._writeDebug("sound different than last sound: "+e.lastSound.id),!e.config.allowMultiple&&e.lastSound&&e.stopSound(e.lastSound)):(r=u.parentNode,l=e.getElementsByClassName("ui360-vis","div",r.parentNode).length,s=n.createSound({id:"ui360Sound"+e.soundCount++,url:o,onplay:e.events.play,onstop:e.events.stop,onpause:e.events.pause,onresume:e.events.resume,onfinish:e.events.finish,onbufferchange:e.events.bufferchange,type:u.type||null,whileloading:e.events.whileloading,whileplaying:e.events.whileplaying,useWaveformData:l&&e.config.useWaveformData,useEQData:l&&e.config.useEQData,usePeakData:l&&e.config.usePeakData}),c=parseInt(e.getElementsByClassName("sm2-360ui","div",r)[0].offsetWidth*h,10),a=e.getElementsByClassName("sm2-canvas","canvas",r),s._360data={oUI360:e.getParentByClassName(u,"ui360"),oLink:u,className:e.css.sPlaying,oUIBox:e.getElementsByClassName("sm2-360ui","div",r)[0],oCanvas:a[a.length-1],oButton:e.getElementsByClassName("sm2-360btn","span",r)[0],oTiming:e.getElementsByClassName("sm2-timing","div",r)[0],oCover:e.getElementsByClassName("sm2-cover","div",r)[0],circleDiameter:c,circleRadius:c/2,lastTime:null,didFinish:null,pauseCount:0,radius:0,fontSize:1,fontSizeMax:e.config.fontSizeMax,scaleFont:l&&e.config.scaleFont,showHMSTime:l,amplifier:l&&e.config.usePeakData?.9:1,radiusMax:.175*c,width:0,widthMax:.4*c,lastValues:{bytesLoaded:0,bytesTotal:0,position:0,durationEstimate:0},animating:!1,oAnim:new t.Animator({duration:e.config.animDuration,transition:e.config.animTransition,onComplete:function(){}}),oAnimProgress:function(t){this._360data.radius=parseInt(this._360data.radiusMax*this._360data.amplifier*t,10),this._360data.width=parseInt(this._360data.widthMax*this._360data.amplifier*t,10),this._360data.scaleFont&&null!==this._360data.fontSizeMax&&(this._360data.oTiming.style.fontSize=parseInt(Math.max(1,this._360data.fontSizeMax*t),10)+"px",this._360data.oTiming.style.opacity=t),(this.paused||0===this.playState||0===this._360data.lastValues.bytesLoaded||0===this._360data.lastValues.position)&&e.updatePlaying.apply(this)},fps:0},void 0!==e.Metadata&&e.getElementsByClassName("metadata","div",s._360data.oUI360).length&&(s._360data.metadata=new e.Metadata(s,e)),s._360data.scaleFont&&null!==s._360data.fontSizeMax&&(s._360data.oTiming.style.fontSize="1px"),s._360data.oAnim.addSubject(s._360data.oAnimProgress,s),e.refreshCoords(s),e.updatePlaying.apply(s),e.soundsByURL[o]=s,e.sounds.push(s),!e.config.allowMultiple&&e.lastSound&&e.stopSound(e.lastSound),s.play()),e.lastSound=s,void 0!==i&&void 0!==i.preventDefault?i.preventDefault():void 0!==t.event&&(t.event.returnValue=!1),!1)))},this.fanOut=function(i){var n=i;if(1===n._360data.animating)return!1;n._360data.animating=0,soundManager._writeDebug("fanOut: "+n.id+": "+n._360data.oLink.href),n._360data.oAnim.seekTo(1),t.setTimeout((function(){n._360data.animating=0}),e.config.animDuration+20)},this.fanIn=function(i){var n=i;if(-1===n._360data.animating)return!1;n._360data.animating=-1,soundManager._writeDebug("fanIn: "+n.id+": "+n._360data.oLink.href),n._360data.oAnim.seekTo(0),t.setTimeout((function(){n._360data.didFinish=!1,n._360data.animating=0,e.resetLastValues(n)}),e.config.animDuration+20)},this.resetLastValues=function(t){t._360data.lastValues.position=0},this.refreshCoords=function(t){t._360data.canvasXY=e.findXY(t._360data.oCanvas),t._360data.canvasMid=[t._360data.circleRadius,t._360data.circleRadius],t._360data.canvasMidXY=[t._360data.canvasXY[0]+t._360data.canvasMid[0],t._360data.canvasXY[1]+t._360data.canvasMid[1]]},this.stopSound=function(t){soundManager._writeDebug("stopSound: "+t.id),soundManager.stop(t.id),c||soundManager.unload(t.id)},this.buttonClick=function(i){var n=i?i.target?i.target:i.srcElement:t.event.srcElement;return e.handleClick({target:e.getParentByClassName(n,"sm2-360ui").nextSibling}),!1},this.buttonMouseDown=function(t){return c?e.addEventHandler(document,"touchmove",e.mouseDown):document.onmousemove=function(t){e.mouseDown(t)},e.stopEvent(t),!1},this.mouseDown=function(i){if(!c&&i.button>1)return!0;
52if(!e.lastSound)return e.stopEvent(i),!1;var n,a,o,s=i||t.event;return c&&s.touches&&(s=s.touches[0]),n=s.target||s.srcElement,a=e.getSoundByURL(e.getElementsByClassName("sm2_link","a",e.getParentByClassName(n,"ui360"))[0].href),e.lastTouchedSound=a,e.refreshCoords(a),o=a._360data,e.addClass(o.oUIBox,"sm2_dragging"),o.pauseCount=e.lastTouchedSound.paused?1:0,e.mmh(i||t.event),c?(e.removeEventHandler(document,"touchmove",e.mouseDown),e.addEventHandler(document,"touchmove",e.mmh),e.addEventHandler(document,"touchend",e.mouseUp)):(document.onmousemove=e.mmh,document.onmouseup=e.mouseUp),e.stopEvent(i),!1},this.mouseUp=function(t){var i=e.lastTouchedSound._360data;e.removeClass(i.oUIBox,"sm2_dragging"),0===i.pauseCount&&e.lastTouchedSound.resume(),c?(e.removeEventHandler(document,"touchmove",e.mmh),e.removeEventHandler(document,"touchend",e.mouseUP)):(document.onmousemove=null,document.onmouseup=null)},this.mmh=function(i){void 0===i&&(i=t.event);var n=e.lastTouchedSound,a=e.getMouseXY(i),o=a[0],s=a[1],r=o-n._360data.canvasMidXY[0],l=s-n._360data.canvasMidXY[1],c=Math.floor(d-(e.rad2deg(Math.atan2(r,l))+180));return n.setPosition(n.durationEstimate*(c/d)),e.stopEvent(i),!1},this.drawSolidArc=function(t,i,n,a,o,l,c){var u,d,h,p,f=t;f.getContext&&(u=f.getContext("2d")),t=u,c||e.clearCanvas(f),i&&(u.fillStyle=i),t.beginPath(),isNaN(o)&&(o=0),d=n-a,(!(h=s||r)||h&&n>0)&&(t.arc(0,0,n,l,o,!1),p=e.getArcEndpointCoords(d,o),t.lineTo(p.x,p.y),t.arc(0,0,d,o,l,!0),t.closePath(),t.fill())},this.getArcEndpointCoords=function(t,e){return{x:t*Math.cos(e),y:t*Math.sin(e)}},this.deg2rad=function(t){return t*Math.PI/180},this.rad2deg=function(t){return 180*t/Math.PI},this.getTime=function(t,e){var i=Math.floor(t/1e3),n=Math.floor(i/60),a=i-60*n;return e?n+":"+(a<10?"0"+a:a):{min:n,sec:a}},this.clearCanvas=function(t){var e,i,n=t,a=null;n.getContext&&(a=n.getContext("2d")),a&&(e=n.offsetWidth,i=n.offsetHeight,a.clearRect(-e/2,-i/2,e,i))},this.updatePlaying=function(){var t=this._360data.showHMSTime?e.getTime(this.position,!0):parseInt(this.position/1e3,10),i=e.config.scaleArcWidth;this.bytesLoaded&&(this._360data.lastValues.bytesLoaded=this.bytesLoaded,this._360data.lastValues.bytesTotal=this.bytesTotal),this.position&&(this._360data.lastValues.position=this.position),this.durationEstimate&&(this._360data.lastValues.durationEstimate=this.durationEstimate),e.drawSolidArc(this._360data.oCanvas,e.config.backgroundRingColor,this._360data.width,this._360data.radius*i,e.deg2rad(d),!1),e.drawSolidArc(this._360data.oCanvas,this._360data.metadata?e.config.loadRingColorMetadata:e.config.loadRingColor,this._360data.width,this._360data.radius*i,e.deg2rad(d*(this._360data.lastValues.bytesLoaded/this._360data.lastValues.bytesTotal)),0,!0),0!==this._360data.lastValues.position&&e.drawSolidArc(this._360data.oCanvas,this._360data.metadata?e.config.playRingColorMetadata:e.config.playRingColor,this._360data.width,this._360data.radius*i,e.deg2rad(1===this._360data.didFinish?d:d*(this._360data.lastValues.position/this._360data.lastValues.durationEstimate)),0,!0),this._360data.metadata&&this._360data.metadata.events.whileplaying(),t!==this._360data.lastTime&&(this._360data.lastTime=t,this._360data.oTiming.innerHTML=t),(this.instanceOptions.useWaveformData||this.instanceOptions.useEQData)&&u&&e.updateWaveform(this),e.config.useFavIcon&&e.vuMeter&&e.vuMeter.updateVU(this)},this.updateWaveform=function(t){if(!e.config.useWaveformData&&!e.config.useEQData||!n.features.waveformData&&!n.features.eqData)return!1;if(!t.waveformData.left.length&&!t.eqData.length&&!t.peakData.left)return!1;t._360data.oCanvas.getContext("2d");var i,a,o,s,r,l,c,u,d,h,p,f,m=parseInt(t._360data.circleDiameter/2,10),g=m/2;if(e.config.useWaveformData)for(o=e.config.waveformDataDownsample,256,s=256/(o=Math.max(1,o)),r=0,l=0,c=null,u=e.config.waveformDataOutside?1:e.config.waveformDataConstrain?.5:.565,g=e.config.waveformDataOutside?.7:.75,d=e.deg2rad(360/s*e.config.waveformDataLineRatio),i=0;i<256;i+=o)l=(r=e.deg2rad(i/s*1/o*360))+d,(c=t.waveformData.left[i])<0&&e.config.waveformDataConstrain&&(c=Math.abs(c)),e.drawSolidArc(t._360data.oCanvas,e.config.waveformDataColor,t._360data.width*u*(2-e.config.scaleArcWidth),t._360data.radius*g*1.25*c,l,r,!0);if(e.config.useEQData)for(o=e.config.eqDataDownsample,0,s=(h=192)/(o=Math.max(1,o)),u=e.config.eqDataOutside?1:.565,a=e.config.eqDataOutside?-1:1,g=e.config.eqDataOutside?.5:.75,r=0,l=0,d=e.deg2rad(360/s*e.config.eqDataLineRatio),p=e.deg2rad(1===t._360data.didFinish?360:t._360data.lastValues.position/t._360data.lastValues.durationEstimate*360),0,0,i=0;i<h;i+=o)l=(r=e.deg2rad(i/h*360))+d,e.drawSolidArc(t._360data.oCanvas,l>p?e.config.eqDataColor:e.config.playRingColor,t._360data.width*u,t._360data.radius*g*(t.eqData.left[
52i]*a),l,r,!0);if(e.config.usePeakData&&!t._360data.animating){for(f=t.peakData.left||t.peakData.right,h=3,i=0;i<h;i++)f=f||t.eqData[i];t._360data.amplifier=e.config.useAmplifier?.9+.1*f:1,t._360data.radiusMax=.175*t._360data.circleDiameter*t._360data.amplifier,t._360data.widthMax=.4*t._360data.circleDiameter*t._360data.amplifier,t._360data.radius=parseInt(t._360data.radiusMax*t._360data.amplifier,10),t._360data.width=parseInt(t._360data.widthMax*t._360data.amplifier,10)}},this.getUIHTML=function(t){return['<canvas class="sm2-canvas" width="'+t+'" height="'+t+'"></canvas>',' <span class="sm2-360btn sm2-360btn-default"></span>',' <div class="sm2-timing'+(navigator.userAgent.match(/safari/i)?" alignTweak":"")+'"></div>',' <div class="sm2-cover"></div>']},this.uiTest=function(t){var i,n,a,o,s,r,l,c,u,d=document.createElement("div");return d.className="sm2-360ui",(i=document.createElement("div")).className="ui360"+(t?" "+t:""),n=i.appendChild(d.cloneNode(!0)),i.style.position="absolute",i.style.left="-9999px",a=document.body.appendChild(i),o=n.offsetWidth*h,s=e.getUIHTML(o),n.innerHTML=s[1]+s[2]+s[3],r=parseInt(o,10),l=parseInt(r/2,10),u=e.getElementsByClassName("sm2-timing","div",a)[0],c=parseInt(e.getStyle(u,"font-size"),10),isNaN(c)&&(c=null),i.parentNode.removeChild(i),s=i=n=a=null,{circleDiameter:r,circleRadius:l,fontSizeMax:c}},this.init=function(){n._writeDebug("threeSixtyPlayer.init()");var i,a,s,r,l,u,d,p,f,m,g,v,y,w,b=e.getElementsByClassName("ui360","div"),_=[],C=!1,x=0;for(i=0,a=b.length;i<a;i++)_.push(b[i].getElementsByTagName("a")[0]),b[i].style.backgroundImage="none";for(e.oUITemplate=document.createElement("div"),e.oUITemplate.className="sm2-360ui",e.oUITemplateVis=document.createElement("div"),e.oUITemplateVis.className="sm2-360ui",f=e.uiTest(),e.config.circleDiameter=f.circleDiameter,e.config.circleRadius=f.circleRadius,m=e.uiTest("ui360-vis"),e.config.fontSizeMax=m.fontSizeMax,e.oUITemplate.innerHTML=e.getUIHTML(e.config.circleDiameter).join(""),e.oUITemplateVis.innerHTML=e.getUIHTML(m.circleDiameter).join(""),i=0,a=_.length;i<a;i++)!n.canPlayLink(_[i])||e.hasClass(_[i],e.excludeClass)||e.hasClass(_[i],e.css.sDefault)||(e.addClass(_[i],e.css.sDefault),e.links[x]=_[i],e.indexByURL[_[i].href]=x,x++,d=((C=e.hasClass(_[i].parentNode,"ui360-vis"))?m:f).circleDiameter,p=(C?m:f).circleRadius,g=_[i].parentNode.insertBefore((C?e.oUITemplateVis:e.oUITemplate).cloneNode(!0),_[i]),o&&void 0!==t.G_vmlCanvasManager?(_[i].parentNode,(y=document.createElement("canvas")).className="sm2-canvas",w="sm2_canvas_"+i+(new Date).getTime(),y.id=w,y.width=d,y.height=d,g.appendChild(y),t.G_vmlCanvasManager.initElement(y),(s=(r=document.getElementById(w)).parentNode.getElementsByTagName("canvas")).length>1&&(r=s[s.length-1])):r=_[i].parentNode.getElementsByTagName("canvas")[0],h>1&&e.addClass(r,"hi-dpi"),u=e.getElementsByClassName("sm2-cover","div",_[i].parentNode)[0],v=_[i].parentNode.getElementsByTagName("span")[0],e.addEventHandler(v,"click",e.buttonClick),c?e.addEventHandler(u,"touchstart",e.mouseDown):e.addEventHandler(u,"mousedown",e.mouseDown),(l=r.getContext("2d")).translate(p,p),l.rotate(e.deg2rad(-90)));x>0&&(e.addEventHandler(document,"click",e.handleClick),e.config.autoPlay&&e.handleClick({target:e.links[0],preventDefault:function(){}})),n._writeDebug("threeSixtyPlayer.init(): Found "+x+" relevant items."),e.config.useFavIcon&&void 0!==this.VUMeter&&(this.vuMeter=new this.VUMeter(this))}}e.prototype.VUMeter=function(t){var e=t,i=this,n=document.getElementsByTagName("head")[0],a=navigator.userAgent.match(/opera/i),o=navigator.userAgent.match(/firefox/i);this.vuMeterData=[],this.vuDataCanvas=null,this.setPageIcon=function(t){if(!e.config.useFavIcon||!e.config.usePeakData||!t)return!1;var i=document.getElementById("sm2-favicon");i&&(n.removeChild(i),i=null),i||((i=document.createElement("link")).id="sm2-favicon",i.rel="shortcut icon",i.type="image/png",i.href=t,document.getElementsByTagName("head")[0].appendChild(i))},this.resetPageIcon=function(){if(!e.config.useFavIcon)return!1;var t=document.getElementById("favicon");t&&(t.href="/favicon.ico")},this.updateVU=function(t){soundManager.flashVersion>=9&&e.config.useFavIcon&&e.config.usePeakData&&i.setPageIcon(i.vuMeterData[parseInt(16*t.peakData.left,10)][parseInt(16*t.peakData.right,10)])},this.createVUData=function(){var t=0,e=0,n=i.vuDataCanvas.getContext("2d"),a=n.createLinearGradient(0,16,0,0),o=n.createLinearGradient(0,16,0,0);for(a.addColorStop(0,"rgb(0,192,0)"),a.addColorStop(.3,"rgb(0,255,0)"),a.addColorStop(.625,"rgb(255,255,0)"),a.addColorStop(.85,"rgb(255,0,0)"),o.addColorStop(0,"rgba(0,0,0,0.2)"),o.addColorStop(1,"rgba(0,0,0,0.5)"),t=0;t<16;t++)i.vuMeterData[t]=[];for(t=0;t<16;t++)for(e=0;e<16;e++)i.vuDataCanvas.setAttribute("width",16),i.vuDataCanvas.setAttribute("height",16),n.fillStyle=o,n.fillRect(0,0,7,15),n.fillRect(8,0,7,15),n.fillStyle=a,n.fillRect(0,15-t,7,16-(16-t)),n.fillRect(8,15-e,7,16-(16-e)),n.clearRect(0,3,16,1),n.clearRect(0,7,16,1),n.clearRect(0,11,16,1),i.vuMeterData[t][e]=i.vuDataCanvas.toDataURL("image/png")},this.testCanvas=function(){var t=document.createElement("canvas");if(!t||void 0===t.getContext)return null;if(!t.getContext("2d")||"function"!=typeof t.toDataURL)return null;try{t.toDataURL("image/png")}catch(t){return null}return t},this.init=function(){e.config.useFavIcon&&(i.vuDataCanvas=i.testCanvas(),i.vuDataCanvas&&(o||a)?i.createVUData():e.config.useFavIcon=!1)},this.init()},e.prototype.Metadata=function(t,e){soundManager._wD("Metadata()");var i,n,a=this,o=t._360data.oUI360,s=o.getElementsByTagName("ul")[0].getElementsByTagName("li");navigator.userAgent.match(/firefox/i);for(this.lastWPExec=0,this.refreshInterval=250,this.totalTime=0,this.events={whileplaying:function(){var i,n,o,s=t._360data.width,r=t._360data.radius,l=t.durationEstimate||1e3*a.totalTime,c=null;for(i=0,n=a.data.length;i<n;i++)c=i%2==0,e.drawSolidArc(t._360data.oCanvas,c?e.config.segmentRingColorAlt:e.config.segmentRingColor,s,r/2,e.deg2rad(a.data[i].endTimeMS/l*360),e.deg2rad((a.data[i].startTimeMS||1)/l*360),!0);(o=new Date)-a.lastWPExec>a.refreshInterval&&(a.refresh(),a.lastWPExec=o)}},this.refresh=function(){var e,i,n=null,a=t.position,o=t._360data.metadata.data;for(e=0,i=o.length;e<i;e++)if(a>=o[e].startTimeMS&&a<=o[e].endTimeMS){n=e;break}n!==o.currentItem&&n<o.length&&(t._360data.oLink.innerHTML=o.mainTitle+' <span class="metadata"><span class="sm2_divider"> | </span><span class="sm2_metadata">'+o[n].title+"</span></span>",o.currentItem=n)},this.strToTime=function(t){var e,i=t.split(":"),n=0;for(e=i.length;e--;)n+=parseInt(i[e],10)*Math.pow(60,i.length-1-e);return n},this.data=[],this.data.givenDuration=null,this.data.currentItem=null,this.data.mainTitle=t._360data.oLink.innerHTML,i=0;i<s.length;i++)this.data[i]={o:null,title:s[i].getElementsByTagName("p")[0].innerHTML,startTime:s[i].getElementsByTagName("span")[0].innerHTML,startSeconds:a.strToTime(s[i].getElementsByTagName("span")[0].innerHTML.replace(/[()]/g,"")),duration:0,durationMS:null,startTimeMS:null,endTimeMS:null,oNote:null};for(n=e.getElementsByClassName("duration","div",o),this.data.givenDuration=n.length?1e3*a.strToTime(n[0].innerHTML):0,i=0;i<this.data.length;i++)this.data[i].duration=parseInt(this.data[i+1]?this.data[i+1].startSeconds:(a.data.givenDuration?a.data.givenDuration:t.durationEstimate)/1e3,10)-this.data[i].startSeconds,this.data[i].startTimeMS=1e3*this.data[i].startSeconds,this.data[i].durationMS=1e3*this.data[i].duration,this.data[i].endTimeMS=this.data[i].startTimeMS+this.data[i].durationMS,this.totalTime+=this.data[i].duration},navigator.userAgent.match(/webkit/i)&&navigator.userAgent.match(/mobile/i)&&soundManager.setup({useHTML5Audio:!0}),soundManager.setup({html5PollingInterval:50,debugMode:t.location.href.match(/debug=1/i),consoleOnly:!0,flashVersion:9,useHighPerformance:!0}),soundManager.debugMode&&t.setInterval((function(){var e=t.threeSixtyPlayer;e&&e.lastSound&&e.lastSound._360data.fps&&void 0===t.isHome&&(soundManager._writeDebug("fps: ~"+e.lastSound._360data.fps),e.lastSound._360data.fps=0)}),1e3),t.ThreeSixtyPlayer=e}(window),threeSixtyPlayer=new ThreeSixtyPlayer,soundManager.onready(threeSixtyPlayer.init),document.createElement("canvas").getContext||function(){var t=Math,e=t.round,i=t.sin,n=t.cos,a=t.abs,o=t.sqrt,s=10;function r(){return this.context_||(this.context_=new y(this))}var l=Array.prototype.slice;var c={init:function(t){if(/MSIE/.test(navigator.userAgent)&&!window.opera){var e=t||document;e.createElement("canvas"),e.attachEvent("onreadystatechange",function(t,e,
52i){var n=l.call(arguments,2);return function(){return t.apply(e,n.concat(l.call(arguments)))}}(this.init_,this,e))}},init_:function(t){if(t.namespaces.g_vml_||t.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML"),t.namespaces.g_o_||t.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML"),!t.styleSheets.ex_canvas_){var e=t.createStyleSheet();e.owningElement.id="ex_canvas_",e.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}g_vml_\\:*{behavior:url(#default#VML)}g_o_\\:*{behavior:url(#default#VML)}"}for(var i=t.getElementsByTagName("canvas"),n=0;n<i.length;n++)this.initElement(i[n])},initElement:function(t){if(!t.getContext){t.getContext=r,t.innerHTML="",t.attachEvent("onpropertychange",u),t.attachEvent("onresize",d);var e=t.attributes;e.width&&e.width.specified?t.style.width=e.width.nodeValue+"px":t.width=t.clientWidth,e.height&&e.height.specified?t.style.height=e.height.nodeValue+"px":t.height=t.clientHeight}return t}};function u(t){var e=t.srcElement;switch(t.propertyName){case"width":e.style.width=e.attributes.width.nodeValue+"px",e.getContext().clearRect();break;case"height":e.style.height=e.attributes.height.nodeValue+"px",e.getContext().clearRect()}}function d(t){var e=t.srcElement;e.firstChild&&(e.firstChild.style.width=e.clientWidth+"px",e.firstChild.style.height=e.clientHeight+"px")}c.init();for(var h=[],p=0;p<16;p++)for(var f=0;f<16;f++)h[16*p+f]=p.toString(16)+f.toString(16);function m(t,e){for(var i=[[1,0,0],[0,1,0],[0,0,1]],n=0;n<3;n++)for(var a=0;a<3;a++){for(var o=0,s=0;s<3;s++)o+=t[n][s]*e[s][a];i[n][a]=o}return i}function g(t,e){e.fillStyle=t.fillStyle,e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.shadowBlur=t.shadowBlur,e.shadowColor=t.shadowColor,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY,e.strokeStyle=t.strokeStyle,e.globalAlpha=t.globalAlpha,e.arcScaleX_=t.arcScaleX_,e.arcScaleY_=t.arcScaleY_,e.lineScale_=t.lineScale_}function v(t){var e,i=1;if("rgb"==(t=String(t)).substring(0,3)){var n=t.indexOf("(",3),a=t.indexOf(")",n+1),o=t.substring(n+1,a).split(",");e="#";for(var s=0;s<3;s++)e+=h[Number(o[s])];4==o.length&&"a"==t.substr(3,1)&&(i=o[3])}else e=t;return{color:e,alpha:i}}function y(t){this.m_=[[1,0,0],[0,1,0],[0,0,1]],this.mStack_=[],this.aStack_=[],this.currentPath_=[],this.strokeStyle="#000",this.fillStyle="#000",this.lineWidth=1,this.lineJoin="miter",this.lineCap="butt",this.miterLimit=10,this.globalAlpha=1,this.canvas=t;var e=t.ownerDocument.createElement("div");e.style.width=t.clientWidth+"px",e.style.height=t.clientHeight+"px",e.style.overflow="hidden",e.style.position="absolute",t.appendChild(e),this.element_=e,this.arcScaleX_=1,this.arcScaleY_=1,this.lineScale_=1}var w=y.prototype;function b(t,e,i,n){t.currentPath_.push({type:"bezierCurveTo",cp1x:e.x,cp1y:e.y,cp2x:i.x,cp2y:i.y,x:n.x,y:n.y}),t.currentX_=n.x,t.currentY_=n.y}function _(t){this.type_=t,this.x0_=0,this.y0_=0,this.r0_=0,this.x1_=0,this.y1_=0,this.r1_=0,this.colors_=[]}function C(){}
53w.clearRect=function(){this.element_.innerHTML=""},w.beginPath=function(){this.currentPath_=[]},w.moveTo=function(t,e){var i=this.getCoords_(t,e);this.currentPath_.push({type:"moveTo",x:i.x,y:i.y}),this.currentX_=i.x,this.currentY_=i.y},w.lineTo=function(t,e){var i=this.getCoords_(t,e);this.currentPath_.push({type:"lineTo",x:i.x,y:i.y}),this.currentX_=i.x,this.currentY_=i.y},w.bezierCurveTo=function(t,e,i,n,a,o){var s=this.getCoords_(a,o);b(this,this.getCoords_(t,e),this.getCoords_(i,n),s)},w.quadraticCurveTo=function(t,e,i,n){var a=this.getCoords_(t,e),o=this.getCoords_(i,n),s={x:this.currentX_+2/3*(a.x-this.currentX_),y:this.currentY_+2/3*(a.y-this.currentY_)};b(this,s,{x:s.x+(o.x-this.currentX_)/3,y:s.y+(o.y-this.currentY_)/3},o)},w.arc=function(t,e,a,o,r,l){a*=s;var c=l?"at":"wa",u=t+n(o)*a-5,d=e+i(o)*a-5,h=t+n(r)*a-5,p=e+i(r)*a-5;u!=h||l||(u+=.125);var f=this.getCoords_(t,e),m=this.getCoords_(u,d),g=this.getCoords_(h,p);this.currentPath_.push({type:c,x:f.x,y:f.y,radius:a,xStart:m.x,yStart:m.y,xEnd:g.x,yEnd:g.y})}
53,w.rect=function(t,e,i,n){this.moveTo(t,e),this.lineTo(t+i,e),this.lineTo(t+i,e+n),this.lineTo(t,e+n),this.closePath()},w.strokeRect=function(t,e,i,n){var a=this.currentPath_;this.beginPath(),this.moveTo(t,e),this.lineTo(t+i,e),this.lineTo(t+i,e+n),this.lineTo(t,e+n),this.closePath(),this.stroke(),this.currentPath_=a},w.fillRect=function(t,e,i,n){var a=this.currentPath_;this.beginPath(),this.moveTo(t,e),this.lineTo(t+i,e),this.lineTo(t+i,e+n),this.lineTo(t,e+n),this.closePath(),this.fill(),this.currentPath_=a},w.createLinearGradient=function(t,e,i,n){var a=new _("gradient");return a.x0_=t,a.y0_=e,a.x1_=i,a.y1_=n,a},w.createRadialGradient=function(t,e,i,n,a,o){var s=new _("gradientradial");return s.x0_=t,s.y0_=e,s.r0_=i,s.x1_=n,s.y1_=a,s.r1_=o,s},w.drawImage=function(i,n){var a,o,r,l,c,u,d,h,p=i.runtimeStyle.width,f=i.runtimeStyle.height;i.runtimeStyle.width="auto",i.runtimeStyle.height="auto";var m=i.width,g=i.height;if(i.runtimeStyle.width=p,i.runtimeStyle.height=f,3==arguments.length)a=n,o=arguments[2],c=u=0,d=r=m,h=l=g;else if(5==arguments.length)a=n,o=arguments[2],r=arguments[3],l=arguments[4],c=u=0,d=m,h=g;else{if(9!=arguments.length)throw Error("Invalid number of arguments");c=n,u=arguments[2],d=arguments[3],h=arguments[4],a=arguments[5],o=arguments[6],r=arguments[7],l=arguments[8]}var v=this.getCoords_(a,o),y=[],w=10,b=10;if(y.push(" <g_vml_:group",' coordsize="',s*w,",",s*b,'"',' coordorigin="0,0"',' style="width:',w,"px;height:",b,"px;position:absolute;"),1!=this.m_[0][0]||this.m_[0][1]){var _=[];_.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",e(v.x/s),",","Dy=",e(v.y/s),"");var C=v,x=this.getCoords_(a+r,o),S=this.getCoords_(a,o+l),k=this.getCoords_(a+r,o+l);C.x=t.max(C.x,x.x,S.x,k.x),C.y=t.max(C.y,x.y,S.y,k.y),y.push("padding:0 ",e(C.x/s),"px ",e(C.y/s),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",_.join(""),", sizingmethod='clip');")}else y.push("top:",e(v.y/s),"px;left:",e(v.x/s),"px;");y.push(' ">','<g_vml_:image src="',i.src,'"',' style="width:',s*r,"px;"," height:",s*l,'px;"',' cropleft="',c/m,'"',' croptop="',u/g,'"',' cropright="',(m-c-d)/m,'"',' cropbottom="',(g-u-h)/g,'"'," />","</g_vml_:group>"),this.element_.insertAdjacentHTML("BeforeEnd",y.join(""))},w.stroke=function(i){var n=[],a=v(i?this.fillStyle:this.strokeStyle),o=a.color,r=a.alpha*this.globalAlpha;n.push("<g_vml_:shape",' filled="',!!i,'"',' style="position:absolute;width:',10,"px;height:",10,'px;"',' coordorigin="0 0" coordsize="',100," ",100,'"',' stroked="',!i,'"',' path="');for(var l={x:null,y:null},c={x:null,y:null},u=0;u<this.currentPath_.length;u++){var d=this.currentPath_[u];switch(d.type){case"moveTo":d,n.push(" m ",e(d.x),",",e(d.y));break;case"lineTo":n.push(" l ",e(d.x),",",e(d.y));break;case"close":n.push(" x "),d=null;break;case"bezierCurveTo":n.push(" c ",e(d.cp1x),",",e(d.cp1y),",",e(d.cp2x),",",e(d.cp2y),",",e(d.x),",",e(d.y));break;case"at":case"wa":n.push(" ",d.type," ",e(d.x-this.arcScaleX_*d.radius),",",e(d.y-this.arcScaleY_*d.radius)," ",e(d.x+this.arcScaleX_*d.radius),",",e(d.y+this.arcScaleY_*d.radius)," ",e(d.xStart),",",e(d.yStart)," ",e(d.xEnd),",",e(d.yEnd))}d&&((null==l.x||d.x<l.x)&&(l.x=d.x),(null==c.x||d.x>c.x)&&(c.x=d.x),(null==l.y||d.y<l.y)&&(l.y=d.y),(null==c.y||d.y>c.y)&&(c.y=d.y))}if(n.push(' ">'),i)if("object"==typeof this.fillStyle){var h=this.fillStyle,p=0,f={x:0,y:0},m=0,g=1;if("gradient"==h.type_){var y=h.x0_/this.arcScaleX_,w=h.y0_/this.arcScaleY_,b=h.x1_/this.arcScaleX_,_=h.y1_/this.arcScaleY_,C=this.getCoords_(y,w),x=this.getCoords_(b,_),S=x.x-C.x,k=x.y-C.y;(p=180*Math.atan2(S,k)/Math.PI)<0&&(p+=360),p<1e-6&&(p=0)}else{C=this.getCoords_(h.x0_,h.y0_);var T=c.x-l.x,M=c.y-l.y;f={x:(C.x-l.x)/T,y:(C.y-l.y)/M},T/=this.arcScaleX_*s,M/=this.arcScaleY_*s;var P=t.max(T,M);m=2*h.r0_/P,g=2*h.r1_/P-m}var O=h.colors_;O.sort((function(t,e){return t.offset-e.offset}));var D=O.length,L=O[0].color,E=O[D-1].color,F=O[0].alpha*this.globalAlpha,A=O[D-1].alpha*this.globalAlpha,I=[];for(u=0;u<D;u++){var q=O[u];I.push(q.offset*g+m+" "+q.color)}n.push('<g_vml_:fill type="',h.type_,'"',' method="none" focus="100%"',' color="',L,'"',' color2="',E,'"',' colors="',I.join(","),'"',' opacity="',A,'"',' g_o_:opacity2="',F,'"',' angle="',p,'"',' focusposition="',f.x,",",f.y,'" />')}else n.push('<g_vml_:fill color="',o,'" opacity="',r,'" />');else{var j=this.lineScale_*this.lineWidth;
53j<1&&(r*=j),n.push("<g_vml_:stroke",' opacity="',r,'"',' joinstyle="',this.lineJoin,'"',' miterlimit="',this.miterLimit,'"',' endcap="',function(t){switch(t){case"butt":return"flat";case"round":return"round";case"square":default:return"square"}}(this.lineCap),'"',' weight="',j,'px"',' color="',o,'" />')}n.push("</g_vml_:shape>"),this.element_.insertAdjacentHTML("beforeEnd",n.join(""))},w.fill=function(){this.stroke(!0)},w.closePath=function(){this.currentPath_.push({type:"close"})},w.getCoords_=function(t,e){var i=this.m_;return{x:s*(t*i[0][0]+e*i[1][0]+i[2][0])-5,y:s*(t*i[0][1]+e*i[1][1]+i[2][1])-5}},w.save=function(){var t={};g(this,t),this.aStack_.push(t),this.mStack_.push(this.m_),this.m_=m([[1,0,0],[0,1,0],[0,0,1]],this.m_)},w.restore=function(){g(this.aStack_.pop(),this),this.m_=this.mStack_.pop()},w.translate=function(t,e){var i=[[1,0,0],[0,1,0],[t,e,1]];this.m_=m(i,this.m_)},w.rotate=function(t){var e=n(t),a=i(t),o=[[e,a,0],[-a,e,0],[0,0,1]];this.m_=m(o,this.m_)},w.scale=function(t,e){this.arcScaleX_*=t,this.arcScaleY_*=e;var i=[[t,0,0],[0,e,0],[0,0,1]],n=this.m_=m(i,this.m_),s=n[0][0]*n[1][1]-n[0][1]*n[1][0];this.lineScale_=o(a(s))},w.clip=function(){},w.arcTo=function(){},w.createPattern=function(){return new C},_.prototype.addColorStop=function(t,e){e=v(e),this.colors_.push({offset:t,color:e.color,alpha:e.alpha})},G_vmlCanvasManager=c,CanvasRenderingContext2D=y,CanvasGradient=_,CanvasPattern=C}(),function(t,e,i){var n=/\+/g;function a(t){return t}function o(t){return decodeURIComponent(t.replace(n," "))}var s=t.cookie=function(i,n,r){if(void 0!==n){if(r=t.extend({},s.defaults,r),null===n&&(r.expires=-1),"number"==typeof r.expires){var l=r.expires,c=r.expires=new Date;c.setDate(c.getDate()+l)}return n=s.json?JSON.stringify(n):String(n),e.cookie=[encodeURIComponent(i),"=",s.raw?n:encodeURIComponent(n),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}for(var u=s.raw?a:o,d=e.cookie.split("; "),h=0,p=d.length;h<p;h++){var f=d[h].split("=");if(u(f.shift())===i){var m=u(f.join("="));return s.json?JSON.parse(m):m}}return null};s.defaults={},t.removeCookie=function(e,i){return null!==t.cookie(e)&&(t.cookie(e,null,i),!0)}}(jQuery,document),void 0===jQuery)&&(jQuery="function"==typeof require?$=require("jQuery"):$);jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,i,n,a){return jQuery.easing[jQuery.easing.def](t,e,i,n,a)},easeInQuad:function(t,e,i,n,a){return n*(e/=a)*e+i},easeOutQuad:function(t,e,i,n,a){return-n*(e/=a)*(e-2)+i},easeInOutQuad:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,a){return n*(e/=a)*e*e+i},easeOutCubic:function(t,e,i,n,a){return n*((e=e/a-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,a){return n*(e/=a)*e*e*e+i},easeOutQuart:function(t,e,i,n,a){return-n*((e=e/a-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,a){return n*(e/=a)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,a){return n*((e=e/a-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,a){return-n*Math.cos(e/a*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,a){return n*Math.sin(e/a*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,a){return-n/2*(Math.cos(Math.PI*e/a)-1)+i},easeInExpo:function(t,e,i,n,a){return 0==e?i:n*Math.pow(2,10*(e/a-1))+i},easeOutExpo:function(t,e,i,n,a){return e==a?i+n:n*(1-Math.pow(2,-10*e/a))+i},easeInOutExpo:function(t,e,i,n,a){return 0==e?i:e==a?i+n:(e/=a/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,n,a){return-n*(Math.sqrt(1-(e/=a)*e)-1)+i},easeOutCirc:function(t,e,i,n,a){return n*Math.sqrt(1-(e=e/a-1)*e)+i},easeInOutCirc:function(t,e,i,n,a){return(e/=a/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i}
vendor: 35,793 bytes, lines 53-54
53,easeInElastic:function(t,e,i,n,a){var o=1.70158,s=0,r=n;if(0==e)return i;if(1==(e/=a))return i+n;if(s||(s=.3*a),r<Math.abs(n)){r=n;o=s/4}else o=s/(2*Math.PI)*Math.asin(n/r);return-r*Math.pow(2,10*(e-=1))*Math.sin((e*a-o)*(2*Math.PI)/s)+i},easeOutElastic:function(t,e,i,n,a){var o=1.70158,s=0,r=n;if(0==e)return i;if(1==(e/=a))return i+n;if(s||(s=.3*a),r<Math.abs(n)){r=n;o=s/4}else o=s/(2*Math.PI)*Math.asin(n/r);return r*Math.pow(2,-10*e)*Math.sin((e*a-o)*(2*Math.PI)/s)+n+i},easeInOutElastic:function(t,e,i,n,a){var o=1.70158,s=0,r=n;if(0==e)return i;if(2==(e/=a/2))return i+n;if(s||(s=a*(.3*1.5)),r<Math.abs(n)){r=n;o=s/4}else o=s/(2*Math.PI)*Math.asin(n/r);return 1>e?r*Math.pow(2,10*(e-=1))*Math.sin((e*a-o)*(2*Math.PI)/s)*-.5+i:r*Math.pow(2,-10*(e-=1))*Math.sin((e*a-o)*(2*Math.PI)/s)*.5+n+i},easeInBack:function(t,e,i,n,a,o){return null==o&&(o=1.70158),n*(e/=a)*e*((o+1)*e-o)+i},easeOutBack:function(t,e,i,n,a,o){return null==o&&(o=1.70158),n*((e=e/a-1)*e*((o+1)*e+o)+1)+i},easeInOutBack:function(t,e,i,n,a,o){return null==o&&(o=1.70158),(e/=a/2)<1?n/2*(e*e*((1+(o*=1.525))*e-o))+i:n/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+i},easeInBounce:function(t,e,i,n,a){return n-jQuery.easing.easeOutBounce(t,a-e,0,n,a)+i},easeOutBounce:function(t,e,i,n,a){return(e/=a)<1/2.75?n*(7.5625*e*e)+i:2/2.75>e?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:2.5/2.75>e?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,a){return a/2>e?.5*jQuery.easing.easeInBounce(t,2*e,0,n,a)+i:.5*jQuery.easing.easeOutBounce(t,2*e-a,0,n,a)+.5*n+i}}),jQuery.extend(jQuery.easing,{easeInOutMaterial:function(t,e,i,n,a){return(e/=a/2)<1?n/2*e*e+i:n/4*((e-=2)*e*e+2)+i}}),jQuery.Velocity?console.log("Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity."):(function(t){function e(t){var e=t.length,n=i.type(t);return"function"!==n&&!i.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}if(!t.jQuery){var i=function(t,e){return new i.fn.init(t,e)};i.isWindow=function(t){return null!=t&&t==t.window},i.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?a[s.call(t)]||"object":typeof t},i.isArray=Array.isArray||function(t){return"array"===i.type(t)},i.isPlainObject=function(t){var e;if(!t||"object"!==i.type(t)||t.nodeType||i.isWindow(t))return!1;try{if(t.constructor&&!o.call(t,"constructor")&&!o.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||o.call(t,e)},i.each=function(t,i,n){var a=0,o=t.length,s=e(t);if(n){if(s)for(;o>a&&!1!==i.apply(t[a],n);a++);else for(a in t)if(!1===i.apply(t[a],n))break}else if(s)for(;o>a&&!1!==i.call(t[a],a,t[a]);a++);else for(a in t)if(!1===i.call(t[a],a,t[a]))break;return t},i.data=function(t,e,a){if(void 0===a){var o=(s=t[i.expando])&&n[s];if(void 0===e)return o;if(o&&e in o)return o[e]}else if(void 0!==e){var s=t[i.expando]||(t[i.expando]=++i.uuid);return n[s]=n[s]||{},n[s][e]=a,a}},i.removeData=function(t,e){var a=t[i.expando],o=a&&n[a];o&&i.each(e,(function(t,e){delete o[e]}))},i.extend=function(){var t,e,n,a,o,s,r=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof r&&(u=r,r=arguments[l]||{},l++),"object"!=typeof r&&"function"!==i.type(r)&&(r={}),l===c&&(r=this,l--);c>l;l++)if(null!=(o=arguments[l]))for(a in o)t=r[a],r!==(n=o[a])&&(u&&n&&(i.isPlainObject(n)||(e=i.isArray(n)))?(e?(e=!1,s=t&&i.isArray(t)?t:[]):s=t&&i.isPlainObject(t)?t:{},r[a]=i.extend(u,s,n)):void 0!==n&&(r[a]=n));return r},i.queue=function(t,n,a){if(t){n=(n||"fx")+"queue";var o=i.data(t,n);return a?(!o||i.isArray(a)?o=i.data(t,n,function(t,i){var n=i||[];return null!=t&&(e(Object(t))?function(t,e){for(var i=+e.length,n=0,a=t.length;i>n;)t[a++]=e[n++];if(i!=i)for(;void 0!==e[n];)t[a++]=e[n++];t.length=a}(n,"string"==typeof t?[t]:t):[].push.call(n,t)),n}(a)):o.push(a),o):o||[]}},i.dequeue=function(t,e){i.each(t.nodeType?[t]:t,(function(t,n){e=e||"fx";var a=i.queue(n,e),o=a.shift();"inprogress"===o&&(o=a.shift()),o&&("fx"===e&&a.unshift("inprogress"),o.call(n,(function(){i.dequeue(n,e)})))}))},i.fn=i.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var e=this[0],t=t.apply(e),n=this.offset(),a=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:i(t).offset();return n.top-=parseFloat(e.style.marginTop)||0,n.left-=parseFloat(e.style.marginLeft)||0,t.style&&(a.top+=parseFloat(t.style.borderTopWidth)||0,a.left+=parseFloat(t.style.borderLeftWidth)||0),{top:n.top-a.top,left:n.left-a.left}}};var n={};i.expando="velocity"+(new Date).getTime(),i.uuid=0;for(var a={},o=a.hasOwnProperty,s=a.toString,r="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<r.length;l++)a["[object "+r[l]+"]"]=r[l].toLowerCase();i.fn.init.prototype=i.fn,t.Velocity={Utilities:i}}}(window),function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t():"function"==typeof define&&define.amd?define(t):t()}((function(){return function(t,e,i,n){function a(t){return f.isWrapped(t)?t=[].slice.call(t):f.isNode(t)&&(t=[t]),t}function o(t){var e=d.data(t,"velocity");return null===e?n:e}function s(t){return function(e){return Math.round(e*t)*(1/t)}}function r(t,i,n,a){function o(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function r(t){return 3*t}function l(t,e,i){return((o(e,i)*t+s(e,i))*t+r(e))*t}function c(t,e,i){return 3*o(e,i)*t*t+2*s(e,i)*t+r(e)}function u(e,i){for(var a=0;m>a;++a){var o=c(i,t,n);if(0===o)return i;i-=(l(i,t,n)-e)/o}return i}function d(){for(var e=0;w>e;++e)x[e]=l(e*b,t,n)}function h(e,i,a){var o,s,r=0;do{(o=l(s=i+(a-i)/2,t,n)-e)>0?a=s:i=s}while(Math.abs(o)>v&&++r<y);return s}function p(e){for(var i=0,a=1,o=w-1;a!=o&&x[a]<=e;++a)i+=b;--a;var s=i+(e-x[a])/(x[a+1]-x[a])*b,r=c(s,t,n);return r>=g?u(e,s):0==r?s:h(e,i,i+b)}function f(){S=!0,(t!=i||n!=a)&&d()}var m=4,g=.001,v=1e-7,y=10,w=11,b=1/(w-1),_="Float32Array"in e;if(4!==arguments.length)return!1;for(var C=0;4>C;++C)if("number"!=typeof arguments[C]||isNaN(arguments[C])||!isFinite(arguments[C]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var x=_?new Float32Array(w):new Array(w),S=!1,k=function(e){return S||f(),t===i&&n===a?e:0===e?0:1===e?1:l(p(e),i,a)};k.getControlPoints=function(){return[{x:t,y:i},{x:n,y:a}]};var T="generateBezier("+[t,i,n,a]+")";return k.toString=function(){return T},k}function l(t,e){var i=t;return f.isString(t)?y.Easings[t]||(i=!1):i=f.isArray(t)&&1===t.length?s.apply(null,t):f.isArray(t)&&2===t.length?w.apply(null,t.concat([e])):!(!f.isArray(t)||4!==t.length)&&r.apply(null,t),!1===i&&(i=y.Easings[y.defaults.easing]?y.defaults.easing:v),i}function c(t){if(t){var e=(new Date).getTime(),i=y.State.calls.length;i>1e4&&(y.State.calls=function(t){for(var e=-1,i=t?t.length:0,n=[];++e<i;){var a=t[e];a&&n.push(a)}return n}(y.State.calls));for(var a=0;i>a;a++)if(y.State.calls[a]){var s=y.State.calls[a],r=s[0],l=s[2],h=s[3],p=!!h,m=null;h||(h=y.State.calls[a][3]=e-16);for(var g=Math.min((e-h)/l.duration,1),v=0,w=r.length;w>v;v++){var _=r[v],x=_.element;if(o(x)){var S=!1;if(l.display!==n&&null!==l.display&&"none"!==l.display){if("flex"===l.display){d.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],(function(t,e){b.setPropertyValue(x,"display",e)}))}b.setPropertyValue(x,"display",l.display)}for(var k in l.visibility!==n&&"hidden"!==l.visibility&&b.setPropertyValue(x,"visibility",l.visibility),_)if("element"!==k){var T,M=_[k],P=f.isString(M.easing)?y.Easings[M.easing]:M.easing;if(1===g)T=M.endValue;else{var O=M.endValue-M.startValue;if(T=M.startValue+O*P(g,l,O),!p&&T===M.currentValue)continue}if(M.currentValue=T,"tween"===k)m=T;else{if(b.Hooks.registered[k]){var D=b.Hooks.getRoot(k),L=o(x).rootPropertyValueCache[D];L&&(M.rootPropertyValue=L)}var E=b.setPropertyValue(x,k,M.currentValue+(0===parseFloat(T)?"":M.unitType),M.rootPropertyValue,M.scrollData);b.Hooks.registered[k]&&(o(x).rootPropertyValueCache[D]=b.Normalizations.registered[D]?b.Normalizations.registered[D]("extract",null,E[1]):E[1]),"transform"===E[0]&&(S=!0)}}l.mobileHA&&o(x).transformCache.translate3d===n&&(o(x).transformCache.translate3d="(0px, 0px, 0px)",S=!0),S&&b.flushTransformCache(x)}}l.display!==n&&"none"!==l.display&&(y.State.calls[a][2].display=!1),l.visibility!==n&&"hidden"!==l.visibility&&(y.State.calls[a][2].visibility=!1),l.progress&&l.progress.call(s[1],s[1],g,Math.max(0,h+l.duration-e),h,m),1===g&&u(a)}}y.State.isTicking&&C(c)}function u(t,e){if(!y.State.calls[t])return!1;for(var i=y.State.calls[t][0],a=y.State.calls[t][1],s=y.State.calls[t][2],r=y.State.calls[t][4],l=!1,c=0,u=i.length;u>c;c++){var h=i[c].element;if(e||s.loop||("none"===s.display&&b.setPropertyValue(h,"display",s.display),"hidden"===s.visibility&&b.setPropertyValue(h,"visibility",s.visibility)),!0!==s.loop&&(d.queue(h)[1]===n||!/\.velocityQueueEntryFlag/i.test(d.queue(h)[1]))&&o(h)){o(h).isAnimating=!1,o(h).rootPropertyValueCache={};var p=!1;d.each(b.Lists.transforms3D,(function(t,e){var i=/^scale/.test(e)?1:0,a=o(h).transformCache[e];o(h).transformCache[e]!==n&&new RegExp("^\\("+i+"[^.]").test(a)&&(p=!0,delete o(h).transformCache[e])})),s.mobileHA&&(p=!0,delete o(h).transformCache.translate3d),p&&b.flushTransformCache(h),b.Values.removeClass(h,"velocity-animating")}if(!e&&s.complete&&!s.loop&&c===u-1)try{s.complete.call(a,a)}catch(t){setTimeout((function(){throw t}),1)}r&&!0!==s.loop&&r(a),o(h)&&!0===s.loop&&!e&&(d.each(o(h).tweensContainer,(function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)})),y(h,"reverse",{loop:!0,delay:s.delay})),!1!==s.queue&&d.dequeue(h,s.queue)}y.State.calls[t]=!1;for(var f=0,m=y.State.calls.length;m>f;f++)if(!1!==y.State.calls[f]){l=!0;break}!1===l&&(y.State.isTicking=!1,delete y.State.calls,y.State.calls=[])}var d,h=function(){if(i.documentMode)return i.documentMode;for(var t=7;t>4;t--){var e=i.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return n}(),p=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var i,n=(new Date).getTime();return i=Math.max(0,16-(n-t)),t=n+i,setTimeout((function(){e(n+i)}),i)}}(),f={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==n&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},m=!1;if(t.fn&&t.fn.jquery?(d=t,m=!0):d=e.Velocity.Utilities,8>=h&&!m)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(7>=h)){var g=400,v="swing",y={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:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:d,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:g,easing:v,begin:n,complete:n,progress:n,display:n,visibility:n,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){d.data(t,"velocity",{isSVG:f.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};e.pageYOffset!==n?(y.State.scrollAnchor=e,y.State.scrollPropertyLeft="pageXOffset",y.State.scrollPropertyTop="pageYOffset"):(y.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,y.State.scrollPropertyLeft="scrollLeft",y.State.scrollPropertyTop="scrollTop");var w=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,i,n){var a={x:e.x+n.dx*i,v:e.v+n.dv*i,tension:e.tension,friction:e.friction};return{dx:a.v,dv:t(a)}}function i(i,n){var a={dx:i.v,dv:t(i)},o=e(i,.5*n,a),s=e(i,.5*n,o),r=e(i,n,s),l=1/6*(a.dx+2*(o.dx+s.dx)+r.dx),c=1/6*(a.dv+2*(o.dv+s.dv)+r.dv);return i.x=i.x+l*n,i.v=i.v+c*n,i}return function t(e,n,a){var o,s,r,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,d=1e-4;for(e=parseFloat(e)||500,n=parseFloat(n)||20,a=a||null,l.tension=e,l.friction=n,(o=null!==a)?s=(u=t(e,n))/a*.016:s=.016;r=i(r||l,s),c.push(1+r.x),u+=16,Math.abs(r.x)>d&&Math.abs(r.v)>d;);return o?function(t){return c[t*(c.length-1)|0]}:u}}();y.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},d.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(t,e){y.Easings[e[0]]=r.apply(null,e[1])}));var b=y.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 t=0;t<b.Lists.colors.length;t++){var e="color"===b.Lists.colors[t]?"0 0 0 1":"255 255 255 1";b.Hooks.templates[b.Lists.colors[t]]=["Red Green Blue Alpha",e]}var i,n,a;if(h)for(i in b.Hooks.templates){a=(n=b.Hooks.templates[i])[0].split(" ");var o=n[1].match(b.RegEx.valueSplit);"Color"===a[0]&&(a.push(a.shift()),o.push(o.shift()),b.Hooks.templates[i]=[a.join(" "),o.join(" ")])}for(i in b.Hooks.templates)for(var t in a=(n=b.Hooks.templates[i])[0].split(" ")){var s=i+a[t],r=t;b.Hooks.registered[s]=[i,r]}},getRoot:function(t){var e=b.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return b.RegEx.valueUnwrap.test(e)&&(e=e.match(b.RegEx.valueUnwrap)[1]),b.Values.isCSSNullValue(e)&&(e=b.Hooks.templates[t][1]),e},extractValue:function(t,e){var i=b.Hooks.registered[t];if(i){var n=i[0],a=i[1];return(e=b.Hooks.cleanRootPropertyValue(n,e)).toString().match(b.RegEx.valueSplit)[a]}return e},injectValue:function(t,e,i){var n=b.Hooks.registered[t];if(n){var a,o=n[0],s=n[1];return(a=(i=b.Hooks.cleanRootPropertyValue(o,i)).toString().match(b.RegEx.valueSplit))[s]=e,a.join(" ")}return i}},Normalizations:{registered:{clip:function(t,e,i){switch(t){case"name":return"clip";case"extract":var n;return b.RegEx.wrappedValueAlreadyExtracted.test(i)?n=i:n=(n=i.toString().match(b.RegEx.valueUnwrap))?n[1].replace(/,(\s+)?/g," "):i,n;case"inject":return"rect("+i+")"}},blur:function(t,e,i){switch(t){case"name":return y.State.isFirefox?"filter":"-webkit-filter";case"extract":var n=parseFloat(i);if(!n&&0!==n){var a=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i);n=a?a[1]:0}return n;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(t,e,i){if(8>=h)switch(t){case"name":return"filter";case"extract":var n=i.toString().match(/alpha\(opacity=(.*)\)/i);return n?n[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return i}}},register:function(){9>=h||y.State.isGingerbread||(b.Lists.transformsBase=b.Lists.transformsBase.concat(b.Lists.transforms3D));for(var t=0;t<b.Lists.transformsBase.length;t++)!function(){var e=b.Lists.transformsBase[t];b.Normalizations.registered[e]=function(t,i,a){switch(t){case"name":return"transform";case"extract":return o(i)===n||o(i).transformCache[e]===n?/^scale/i.test(e)?1:0:o(i).transformCache[e].replace(/[()]/g,"");case"inject":var s=!1;switch(e.substr(0,e.length-1)){case"translate":s=!/(%|px|em|rem|vw|vh|\d)$/i.test(a);break;case"scal":case"scale":y.State.isAndroid&&o(i).transformCache[e]===n&&1>a&&(a=1),s=!/(\d)$/i.test(a);break;case"skew":s=!/(deg|\d)$/i.test(a);break;case"rotate":s=!/(deg|\d)$/i.test(a)}return s||(o(i).transformCache[e]="("+a+")"),o(i).transformCache[e]}}}();for(t=0;t<b.Lists.colors.length;t++)!function(){var e=b.Lists.colors[t];b.Normalizations.registered[e]=function(t,i,a){switch(t){case"name":return e;case"extract":var o;if(b.RegEx.wrappedValueAlreadyExtracted.test(a))o=a;else{var s,r={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(a)?s=r[a]!==n?r[a]:r.black:b.RegEx.isHex.test(a)?s="rgb("+b.Values.hexToRgb(a).join(" ")+")":/^rgba?\(/i.test(a)||(s=r.black),o=(s||a).toString().match(b.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=h||3!==o.split(" ").length||(o+=" 1"),o;case"inject":return 8>=h?4===a.split(" ").length&&(a=a.split(/\s+/).slice(0,3).join(" ")):3===a.split(" ").length&&(a+=" 1"),(8>=h?"rgb":"rgba")+"("+a.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,(function(t,e){return e.toUpperCase()}))},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(h||y.State.isAndroid&&!y.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(y.State.prefixMatches[t])return[y.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],i=0,n=e.length;n>i;i++){var a;if(a=0===i?t:e[i]+t.replace(/^\w/,(function(t){return t.toUpperCase()})),f.isString(y.State.prefixElement.style[a]))return y.State.prefixMatches[t]=a,[a,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,n){return e+e+i+i+n+n})),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.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(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,i,a,s){function r(t,i){function a(){u&&b.setPropertyValue(t,"display","none")}var l=0;if(8>=h)l=d.css(t,i);else{var c,u=!1;if(/^(width|height)$/.test(i)&&0===b.getPropertyValue(t,"display")&&(u=!0,b.setPropertyValue(t,"display",b.Values.getDisplayType(t))),!s){if("height"===i&&"border-box"!==b.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var p=t.offsetHeight-(parseFloat(b.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(b.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(b.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(b.getPropertyValue(t,"paddingBottom"))||0);return a(),p}if("width"===i&&"border-box"!==b.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var f=t.offsetWidth-(parseFloat(b.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(b.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(b.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(b.getPropertyValue(t,"paddingRight"))||0);return a(),f}}c=o(t)===n?e.getComputedStyle(t,null):o(t).computedStyle?o(t).computedStyle:o(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===i&&(i="borderTopColor"),(""===(l=9===h&&"filter"===i?c.getPropertyValue(i):c[i])||null===l)&&(l=t.style[i]),a()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(i)){var m=r(t,"position");("fixed"===m||"absolute"===m&&/top|left/i.test(i))&&(l=d(t).position()[i]+"px")}return l}var l;if(b.Hooks.registered[i]){var c=i,u=b.Hooks.getRoot(c);a===n&&(a=b.getPropertyValue(t,b.Names.prefixCheck(u)[0])),
54b.Normalizations.registered[u]&&(a=b.Normalizations.registered[u]("extract",t,a)),l=b.Hooks.extractValue(c,a)}else if(b.Normalizations.registered[i]){var p,f;"transform"!==(p=b.Normalizations.registered[i]("name",t))&&(f=r(t,b.Names.prefixCheck(p)[0]),b.Values.isCSSNullValue(f)&&b.Hooks.templates[i]&&(f=b.Hooks.templates[i][1])),l=b.Normalizations.registered[i]("extract",t,f)}if(!/^[\d-]/.test(l))if(o(t)&&o(t).isSVG&&b.Names.SVGAttribute(i))if(/^(height|width)$/i.test(i))try{l=t.getBBox()[i]}catch(t){l=0}else l=t.getAttribute(i);else l=r(t,b.Names.prefixCheck(i)[0]);return b.Values.isCSSNullValue(l)&&(l=0),y.debug>=2&&console.log("Get "+i+": "+l),l},setPropertyValue:function(t,i,n,a,s){var r=i;if("scroll"===i)s.container?s.container["scroll"+s.direction]=n:"Left"===s.direction?e.scrollTo(n,s.alternateValue):e.scrollTo(s.alternateValue,n);else if(b.Normalizations.registered[i]&&"transform"===b.Normalizations.registered[i]("name",t))b.Normalizations.registered[i]("inject",t,n),r="transform",n=o(t).transformCache[i];else{if(b.Hooks.registered[i]){var l=i,c=b.Hooks.getRoot(i);a=a||b.getPropertyValue(t,c),n=b.Hooks.injectValue(l,n,a),i=c}if(b.Normalizations.registered[i]&&(n=b.Normalizations.registered[i]("inject",t,n),i=b.Normalizations.registered[i]("name",t)),r=b.Names.prefixCheck(i)[0],8>=h)try{t.style[r]=n}catch(t){y.debug&&console.log("Browser does not support ["+n+"] for ["+r+"]")}else o(t)&&o(t).isSVG&&b.Names.SVGAttribute(i)?t.setAttribute(i,n):t.style[r]=n;y.debug>=2&&console.log("Set "+i+" ("+r+"): "+n)}return[r,n]},flushTransformCache:function(t){function e(e){return parseFloat(b.getPropertyValue(t,e))}var i="";if((h||y.State.isAndroid&&!y.State.isChrome)&&o(t).isSVG){var n={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]};d.each(o(t).transformCache,(function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),n[t]&&(i+=t+"("+n[t].join(" ")+") ",delete n[t])}))}else{var a,s;d.each(o(t).transformCache,(function(e){return a=o(t).transformCache[e],"transformPerspective"===e?(s=a,!0):(9===h&&"rotateZ"===e&&(e="rotate"),void(i+=e+a+" "))})),s&&(i="perspective"+s+" "+i)}b.setPropertyValue(t,"transform",i)}};b.Hooks.register(),b.Normalizations.register(),y.hook=function(t,e,i){var s=n;return t=a(t),d.each(t,(function(t,a){if(o(a)===n&&y.init(a),i===n)s===n&&(s=y.CSS.getPropertyValue(a,e));else{var r=y.CSS.setPropertyValue(a,e,i);"transform"===r[0]&&y.CSS.flushTransformCache(a),s=r}})),s};var _=function(){function t(){return r?P.promise||null:h}function s(){function t(t){function h(t,e){var i=n,a=n,o=n;return f.isArray(t)?(i=t[0],!f.isArray(t[1])&&/^[\d-]/.test(t[1])||f.isFunction(t[1])||b.RegEx.isHex.test(t[1])?o=t[1]:(f.isString(t[1])&&!b.RegEx.isHex.test(t[1])||f.isArray(t[1]))&&(a=e?t[1]:l(t[1],r.duration),t[2]!==n&&(o=t[2]))):i=t,e||(a=a||r.easing),f.isFunction(i)&&(i=i.call(s,S,x)),f.isFunction(o)&&(o=o.call(s,S,x)),[i||0,a,o]}function p(t,e){var i,n;return n=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,(function(t){return i=t,""})),i||(i=b.Values.getUnitType(t)),[n,i]}function g(){var t={myParent:s.parentNode||i.body,position:b.getPropertyValue(s,"position"),fontSize:b.getPropertyValue(s,"fontSize")},n=t.position===I.lastPosition&&t.myParent===I.lastParent,a=t.fontSize===I.lastFontSize;I.lastParent=t.myParent,I.lastPosition=t.position,I.lastFontSize=t.fontSize;var r=100,l={};if(a&&n)l.emToPx=I.lastEmToPx,l.percentToPxWidth=I.lastPercentToPxWidth,l.percentToPxHeight=I.lastPercentToPxHeight;else{var c=o(s).isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div");y.init(c),t.myParent.appendChild(c),d.each(["overflow","overflowX","overflowY"],(function(t,e){y.CSS.setPropertyValue(c,e,"hidden")})),y.CSS.setPropertyValue(c,"position",t.position),y.CSS.setPropertyValue(c,"fontSize",t.fontSize),y.CSS.setPropertyValue(c,"boxSizing","content-box"),d.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],(function(t,e){y.CSS.setPropertyValue(c,e,"100%")})),y.CSS.setPropertyValue(c,"paddingLeft","100em"),l.percentToPxWidth=I.lastPercentToPxWidth=(parseFloat(b.getPropertyValue(c,"width",null,!0))||1)/r,l.percentToPxHeight=I.lastPercentToPxHeight=(parseFloat(b.getPropertyValue(c,"height",null,!0))||1)/r,l.emToPx=I.lastEmToPx=(parseFloat(b.getPropertyValue(c,"paddingLeft"))||1)/r,t.myParent.removeChild(c)}return null===I.remToPx&&(I.remToPx=parseFloat(b.getPropertyValue(i.body,"fontSize"))||16),null===I.vwToPx&&(I.vwToPx=parseFloat(e.innerWidth)/100,I.vhToPx=parseFloat(e.innerHeight)/100),l.remToPx=I.remToPx,l.vwToPx=I.vwToPx,l.vhToPx=I.vhToPx,y.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),s),l}if(r.begin&&0===S)try{r.begin.call(m,m)}catch(t){setTimeout((function(){throw t}),1)}if("scroll"===M){var _,C,k,T=/^x$/i.test(r.axis)?"Left":"Top",O=parseFloat(r.offset)||0;r.container?f.isWrapped(r.container)||f.isNode(r.container)?(r.container=r.container[0]||r.container,k=(_=r.container["scroll"+T])+d(s).position()[T.toLowerCase()]+O):r.container=null:(_=y.State.scrollAnchor[y.State["scrollProperty"+T]],C=y.State.scrollAnchor[y.State["scrollProperty"+("Left"===T?"Top":"Left")]],k=d(s).offset()[T.toLowerCase()]+O),u={scroll:{rootPropertyValue:!1,startValue:_,currentValue:_,endValue:k,unitType:"",easing:r.easing,scrollData:{container:r.container,direction:T,alternateValue:C}},element:s},y.debug&&console.log("tweensContainer (scroll): ",u.scroll,s)}else if("reverse"===M){if(!o(s).tweensContainer)return void d.dequeue(s,r.queue);"none"===o(s).opts.display&&(o(s).opts.display="auto"),"hidden"===o(s).opts.visibility&&(o(s).opts.visibility="visible"),o(s).opts.loop=!1,o(s).opts.begin=null,o(s).opts.complete=null,w.easing||delete r.easing,w.duration||delete r.duration,r=d.extend({},o(s).opts,r);var D=d.extend(!0,{},o(s).tweensContainer);for(var L in D)if("element"!==L){var E=D[L].startValue;D[L].startValue=D[L].currentValue=D[L].endValue,D[L].endValue=E,f.isEmptyObject(w)||(D[L].easing=r.easing),y.debug&&console.log("reverse tweensContainer ("+L+"): "+JSON.stringify(D[L]),s)}u=D}else if("start"===M){for(var F in o(s).tweensContainer&&!0===o(s).isAnimating&&(D=o(s).tweensContainer),d.each(v,(function(t,e){if(RegExp("^"+b.Lists.colors.join("$|^")+"$").test(t)){var i=h(e,!0),a=i[0],o=i[1],s=i[2];if(b.RegEx.isHex.test(a)){for(var r=["Red","Green","Blue"],l=b.Values.hexToRgb(a),c=s?b.Values.hexToRgb(s):n,u=0;u<r.length;u++){var d=[l[u]];o&&d.push(o),c!==n&&d.push(c[u]),v[t+r[u]]=d}delete v[t]}}})),v){var A=h(v[F]),j=A[0],N=A[1],$=A[2];F=b.Names.camelCase(F);var V=b.Hooks.getRoot(F),z=!1;if(o(s).isSVG||"tween"===V||!1!==b.Names.prefixCheck(V)[1]||b.Normalizations.registered[V]!==n){(r.display!==n&&null!==r.display&&"none"!==r.display||r.visibility!==n&&"hidden"!==r.visibility)&&/opacity|filter/.test(F)&&!$&&0!==j&&($=0),r._cacheValues&&D&&D[F]?($===n&&($=D[F].endValue+D[F].unitType),z=o(s).rootPropertyValueCache[V]):b.Hooks.registered[F]?$===n?(z=b.getPropertyValue(s,V),$=b.getPropertyValue(s,F,z)):z=b.Hooks.templates[V][1]:$===n&&($=b.getPropertyValue(s,F));var H,R,B,W=!1;if($=(H=p(F,$))[0],B=H[1],j=(H=p(F,j))[0].replace(/^([+-\/*])=/,(function(t,e){return W=e,""})),R=H[1],$=parseFloat($)||0,j=parseFloat(j)||0,"%"===R&&(/^(fontSize|lineHeight)$/.test(F)?(j/=100,R="em"):/^scale/.test(F)?(j/=100,R=""):/(Red|Green|Blue)$/i.test(F)&&(j=j/100*255,R="")),/[\/*]/.test(W))R=B;else if(B!==R&&0!==$)if(0===j)R=B;else{a=a||g();var Q=/margin|padding|left|right|width|text|word|letter/i.test(F)||/X$/.test(F)||"x"===F?"x":"y";switch(B){case"%":$*="x"===Q?a.percentToPxWidth:a.percentToPxHeight;break;case"px":break;default:$*=a[B+"ToPx"]}switch(R){case"%":$*=1/("x"===Q?a.percentToPxWidth:a.percentToPxHeight);break;case"px":break;default:$*=1/a[R+"ToPx"]}}switch(W){case"+":j=$+j;break;case"-":j=$-j;break;case"*":j*=$;break;case"/":j=$/j}u[F]={rootPropertyValue:z,startValue:$,currentValue:$,endValue:j,unitType:R,easing:N},y.debug&&console.log("tweensContainer ("+F+"): "+JSON.stringify(u[F]),s)}else y.debug&&console.log("Skipping ["+V+"] due to a lack of browser support.")}u.element=s}u.element&&(b.Values.addClass(s,"velocity-animating"),q.push(u),""===r.queue&&(o(s).tweensContainer=u,o(s).opts=r),o(s).isAnimating=!0,S===x-1?(y.State.calls.push([q,m,r,null,P.resolver]),!1===y.State.isTicking&&(y.State.isTicking=!0,c())):S++)}var a,s=this,r=d.extend({},y.defaults,w),u={};switch(o(s)===n&&y.init(s),parseFloat(r.delay)&&!1!==r.queue&&d.queue(s,r.queue,(function(t){y.velocityQueueEntryFlag=!0,o(s).delayTimer={setTimeout:setTimeout(t,parseFloat(r.delay)),next:t}})),r.duration.toString().toLowerCase()){case"fast":r.duration=200;break;case"normal":r.duration=g;break;case"slow":r.duration=600;break;default:r.duration=parseFloat(r.duration)||1}!1!==y.mock&&(!0===y.mock?r.duration=r.delay=1:(r.duration*=parseFloat(y.mock)||1,r.delay*=parseFloat(y.mock)||1)),r.easing=l(r.easing,r.duration),r.begin&&!f.isFunction(r.begin)&&(r.begin=null),r.progress&&!f.isFunction(r.progress)&&(r.progress=null),r.complete&&!f.isFunction(r.complete)&&(r.complete=null),r.display!==n&&null!==r.display&&(r.display=r.display.toString().toLowerCase(),"auto"===r.display&&(r.display=y.CSS.Values.getDisplayType(s))),r.visibility!==n&&null!==r.visibility&&(r.visibility=r.visibility.toString().toLowerCase()),r.mobileHA=r.mobileHA&&y.State.isMobile&&!y.State.isGingerbread,!1===r.queue?r.delay?setTimeout(t,r.delay):t():d.queue(s,r.queue,(function(e,i){return!0===i?(P.promise&&P.resolver(m),!0):(y.velocityQueueEntryFlag=!0,void t())})),""!==r.queue&&"fx"!==r.queue||"inprogress"===d.queue(s)[0]||d.dequeue(s)}var r,h,p,m,v,w,C=arguments[0]&&(arguments[0].p||d.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||f.isString(arguments[0].properties));if(f.isWrapped(this)?(r=!1,p=0,m=this,h=this):(r=!0,p=1,m=C?arguments[0].elements||arguments[0].e:arguments[0]),m=a(m)){C?(v=arguments[0].properties||arguments[0].p,w=arguments[0].options||arguments[0].o):(v=arguments[p],w=arguments[p+1]);var x=m.length,S=0;if(!/^(stop|finish)$/i.test(v)&&!d.isPlainObject(w)){var k=p+1;w={};for(var T=k;T<arguments.length;T++)f.isArray(arguments[T])||!/^(fast|normal|slow)$/i.test(arguments[T])&&!/^\d/.test(arguments[T])?f.isString(arguments[T])||f.isArray(arguments[T])?w.easing=arguments[T]:f.isFunction(arguments[T])&&(w.complete=arguments[T]):w.duration=arguments[T]}var M,P={promise:null,resolver:null,rejecter:null};switch(r&&y.Promise&&(P.promise=new y.Promise((function(t,e){P.resolver=t,P.rejecter=e}))),v){case"scroll":M="scroll";break;case"reverse":M="reverse";break;case"finish":case"stop":d.each(m,(function(t,e){o(e)&&o(e).delayTimer&&(clearTimeout(o(e).delayTimer.setTimeout),o(e).delayTimer.next&&o(e).delayTimer.next(),delete o(e).delayTimer)}));var O=[];return d.each(y.State.calls,(function(t,e){e&&d.each(e[1],(function(i,a){var s=w===n?"":w;return!0!==s&&e[2].queue!==s&&(w!==n||!1!==e[2].queue)||void d.each(m,(function(i,n){n===a&&((!0===w||f.isString(w))&&(d.each(d.queue(n,f.isString(w)?w:""),(function(t,e){f.isFunction(e)&&e(null,!0)})),d.queue(n,f.isString(w)?w:"",[])),"stop"===v?(o(n)&&o(n).tweensContainer&&!1!==s&&d.each(o(n).tweensContainer,(function(t,e){e.endValue=e.currentValue})),O.push(t)):"finish"===v&&(e[2].duration=1))}))}))})),"stop"===v&&(d.each(O,(function(t,e){u(e,!0)})),P.promise&&P.resolver(m)),t();default:if(!d.isPlainObject(v)||f.isEmptyObject(v)){if(f.isString(v)&&y.Redirects[v]){var D=(A=d.extend({},w)).duration,L=A.delay||0;return!0===A.backwards&&(m=d.extend(!0,[],m).reverse()),d.each(m,(function(t,e){parseFloat(A.stagger)?A.delay=L+parseFloat(A.stagger)*t:f.isFunction(A.stagger)&&(A.delay=L+A.stagger.call(e,t,x)),A.drag&&(A.duration=parseFloat(D)||(/^(callout|transition)/.test(v)?1e3:g),A.duration=Math.max(A.duration*(A.backwards?1-t/x:(t+1)/x),.75*A.duration,200)),y.Redirects[v].call(e,e,A||{},t,x,m,P.promise?P:n)})),t()}var E="Velocity: First argument ("+v+") was not a property map, a known action, or a registered redirect. Aborting.";return P.promise?P.rejecter(new Error(E)):console.log(E),t()}M="start"}var F,A,I={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},q=[];if(d.each(m,(function(t,e){f.isNode(e)&&s.call(e)})),(A=d.extend({},y.defaults,w)).loop=parseInt(A.loop),F=2*A.loop-1,A.loop)for(var j=0;F>j;j++){var N={delay:A.delay,progress:A.progress};j===F-1&&(N.display=A.display,N.visibility=A.visibility,N.complete=A.complete),_(m,"reverse",N)}return t()}};(y=d.extend(_,y)).animate=_;var C=e.requestAnimationFrame||p;return y.State.isMobile||i.hidden===n||i.addEventListener("visibilitychange",(function(){i.hidden?(C=function(t){return setTimeout((function(){t(!0)}),16)},c()):C=e.requestAnimationFrame||p})),t.Velocity=y,t!==e&&(t.fn.velocity=_,t.fn.velocity.defaults=y.defaults),d.each(["Down","Up"],(function(t,e){y.Redirects["slide"+e]=function(t,i,a,o,s,r){var l=d.extend({},i),c=l.begin,u=l.complete,h={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},p={};l.display===n&&(l.display="Down"===e?"inline"===y.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){for(var i in c&&c.c
54all(s,s),h){p[i]=t.style[i];var n=y.CSS.getPropertyValue(t,i);h[i]="Down"===e?[n,0]:[0,n]}p.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in p)t.style[e]=p[e];u&&u.call(s,s),r&&r.resolver(s)},y(t,h,l)}})),d.each(["In","Out"],(function(t,e){y.Redirects["fade"+e]=function(t,i,a,o,s,r){var l=d.extend({},i),c={opacity:"In"===e?1:0},u=l.complete;l.complete=a!==o-1?l.begin=null:function(){u&&u.call(s,s),r&&r.resolver(s)},l.display===n&&(l.display="In"===e?"auto":"none"),y(this,c,l)}})),y}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,document)}))),function(t,e,i,n){"use strict";function a(t,e,i){return setTimeout(u(t,i),e)}function o(t,e,i){return!!Array.isArray(t)&&(s(t,i[e],i),!0)}function s(t,e,i){var a;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==n)for(a=0;a<t.length;)e.call(i,t[a],a,t),a++;else for(a in t)t.hasOwnProperty(a)&&e.call(i,t[a],a,t)}function r(t,e,i){for(var a=Object.keys(e),o=0;o<a.length;)(!i||i&&t[a[o]]===n)&&(t[a[o]]=e[a[o]]),o++;return t}function l(t,e){return r(t,e,!0)}function c(t,e,i){var n,a=e.prototype;(n=t.prototype=Object.create(a)).constructor=t,n._super=a,i&&r(n,i)}function u(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==et?t.apply(e&&e[0]||n,e):t}function h(t,e){return t===n?e:t}function p(t,e,i){s(v(e),(function(e){t.addEventListener(e,i,!1)}))}function f(t,e,i){s(v(e),(function(e){t.removeEventListener(e,i,!1)}))}function m(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function g(t,e){return t.indexOf(e)>-1}function v(t){return t.trim().split(/\s+/g)}function y(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function w(t){return Array.prototype.slice.call(t,0)}function b(t,e,i){for(var n=[],a=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];y(a,s)<0&&n.push(t[o]),a[o]=s,o++}return i&&(n=e?n.sort((function(t,i){return t[e]>i[e]})):n.sort()),n}function _(t,e){for(var i,a,o=e[0].toUpperCase()+e.slice(1),s=0;s<K.length;){if((a=(i=K[s])?i+o:e)in t)return a;s++}return n}function C(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}function x(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){d(t.options.enable,[t])&&i.handler(e)},this.init()}function S(t,e,i){var n=i.pointers.length,a=i.changedPointers.length,o=e&ht&&0==n-a,s=e&(ft|mt)&&0==n-a;i.isFirst=!!o,i.isFinal=!!s,o&&(t.session={}),i.eventType=e,function(t,e){var i=t.session,n=e.pointers,a=n.length;i.firstInput||(i.firstInput=T(e)),a>1&&!i.firstMultiple?i.firstMultiple=T(e):1===a&&(i.firstMultiple=!1);var o=i.firstInput,s=i.firstMultiple,r=s?s.center:o.center,l=e.center=M(n);e.timeStamp=at(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=D(r,l),e.distance=O(r,l),function(t,e){var i=e.center,n=t.offsetDelta||{},a=t.prevDelta||{},o=t.prevInput||{};(e.eventType===ht||o.eventType===ft)&&(a=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=a.x+(i.x-n.x),e.deltaY=a.y+(i.y-n.y)}(i,e),e.offsetDirection=P(e.deltaX,e.deltaY),e.scale=s?function(t,e){return O(e[0],e[1],kt)/O(t[0],t[1],kt)}(s.pointers,n):1,e.rotation=s?function(t,e){return D(e[1],e[0],kt)-D(t[1],t[0],kt)}(s.pointers,n):0,k(i,e);var c=t.element;m(e.srcEvent.target,c)&&(c=e.srcEvent.target),e.target=c}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function k(t,e){var i,a,o,s,r=t.lastInterval||e,l=e.timeStamp-r.timeStamp;if(e.eventType!=mt&&(l>dt||r.velocity===n)){var c=r.deltaX-e.deltaX,u=r.deltaY-e.deltaY,d=function(t,e,i){return{x:e/t||0,y:i/t||0}}(l,c,u);a=d.x,o=d.y,i=nt(d.x)>nt(d.y)?d.x:d.y,s=P(c,u),t.lastInterval=e}else i=r.velocity,a=r.velocityX,o=r.velocityY,s=r.direction;e.velocity=i,e.velocityX=a,e.velocityY=o,e.direction=s}function T(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:it(t.pointers[i].clientX),clientY:it(t.pointers[i].clientY)},i++;return{timeStamp:at(),pointers:e,center:M(e),deltaX:t.deltaX,deltaY:t.deltaY}}function M(t){var e=t.length;if(1===e)return{x:it(t[0].clientX),y:it(t[0].clientY)};for(var i=0,n=0,a=0;e>a;)i+=t[a].clientX,n+=t[a].clientY,a++;return{x:it(i/e),y:it(n/e)}}function P(t,e){return t===e?gt:nt(t)>=nt(e)?t>0?vt:yt:e>0?wt:bt}function O(t,e,i){i||(i=St);var n=e[i[0]]-t[i[0]],a=e[i[1]]-t[i[1]];return Math.sqrt(n*n+a*a)}function D(t,e,i){i||(i=St);var n=e[i[0]]-t[i[0]],a=e[i[1]]-t[i[1]];return 180*Math.atan2(a,n)/Math.PI}function L(){this.evEl=Mt,this.evWin=Pt,this.allow=!0,this.pressed=!1,x.apply(this,arguments)}function E(){this.evEl=Lt,this.evWin=Et,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function F(){this.evTarget=At,this.evWin=It,this.started=!1,x.apply(this,arguments)}function A(t,e){var i=w(t.touches),n=w(t.changedTouches);return e&(ft|mt)&&(i=b(i.concat(n),"identifier",!0)),[i,n]}function I(){this.evTarget=jt,this.targetIds={},x.apply(this,arguments)}function q(t,e){var i=w(t.touches),n=this.targetIds;if(e&(ht|pt)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var a,o,s=w(t.changedTouches),r=[],l=this.target;if(o=i.filter((function(t){return m(t.target,l)})),e===ht)for(a=0;a<o.length;)n[o[a].identifier]=!0,a++;for(a=0;a<s.length;)n[s[a].identifier]&&r.push(s[a]),e&(ft|mt)&&delete n[s[a].identifier],a++;return r.length?[b(o.concat(r),"identifier",!0),r]:void 0}function j(){x.apply(this,arguments);var t=u(this.handler,this);this.touch=new I(this.manager,t),this.mouse=new L(this.manager,t)}function N(t,e){this.manager=t,this.set(e)}function $(t){this.id=ot++,this.manager=null,this.options=l(t||{},this.defaults),this.options.enable=h(this.options.enable,!0),this.state=Qt,this.simultaneous={},this.requireFail=[]}
54function V(t){return t==bt?"down":t==wt?"up":t==vt?"left":t==yt?"right":""}function z(t,e){var i=e.manager;return i?i.get(t):t}function H(){$.apply(this,arguments)}function R(){H.apply(this,arguments),this.pX=null,this.pY=null}function B(){H.apply(this,arguments)}function W(){$.apply(this,arguments),this._timer=null,this._input=null}function Q(){H.apply(this,arguments)}function X(){H.apply(this,arguments)}function U(){$.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Y(t,e){return(e=e||{}).recognizers=h(e.recognizers,Y.defaults.preset),new G(t,e)}function G(t,e){e=e||{},this.options=l(e,Y.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(rt?E:lt?I:st?j:L))(t,S)}(this),this.touchAction=new N(this,this.options.touchAction),Z(this,!0),s(e.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function Z(t,e){var i=t.element;s(t.options.cssProps,(function(t,n){i.style[_(i.style,n)]=e?t:""}))}function J(t,i){var n=e.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=i,i.target.dispatchEvent(n)}var K=["","webkit","moz","MS","ms","o"],tt=e.createElement("div"),et="function",it=Math.round,nt=Math.abs,at=Date.now,ot=1,st="ontouchstart"in t,rt=_(t,"PointerEvent")!==n,lt=st&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),ct="touch",ut="mouse",dt=25,ht=1,pt=2,ft=4,mt=8,gt=1,vt=2,yt=4,wt=8,bt=16,_t=vt|yt,Ct=wt|bt,xt=_t|Ct,St=["x","y"],kt=["clientX","clientY"];x.prototype={handler:function(){},init:function(){this.evEl&&p(this.element,this.evEl,this.domHandler),this.evTarget&&p(this.target,this.evTarget,this.domHandler),this.evWin&&p(C(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(C(this.element),this.evWin,this.domHandler)}};var Tt={mousedown:ht,mousemove:pt,mouseup:ft},Mt="mousedown",Pt="mousemove mouseup";c(L,x,{handler:function(t){var e=Tt[t.type];e&ht&&0===t.button&&(this.pressed=!0),e&pt&&1!==t.which&&(e=ft),this.pressed&&this.allow&&(e&ft&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:ut,srcEvent:t}))}});var Ot={pointerdown:ht,pointermove:pt,pointerup:ft,pointercancel:mt,pointerout:mt},Dt={2:ct,3:"pen",4:ut,5:"kinect"},Lt="pointerdown",Et="pointermove pointerup pointercancel";t.MSPointerEvent&&(Lt="MSPointerDown",Et="MSPointerMove MSPointerUp MSPointerCancel"),c(E,x,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),a=Ot[n],o=Dt[t.pointerType]||t.pointerType,s=o==ct,r=y(e,t.pointerId,"pointerId");a&ht&&(0===t.button||s)?0>r&&(e.push(t),r=e.length-1):a&(ft|mt)&&(i=!0),0>r||(e[r]=t,this.callback(this.manager,a,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(r,1))}});var Ft={touchstart:ht,touchmove:pt,touchend:ft,touchcancel:mt},At="touchstart",It="touchstart touchmove touchend touchcancel";c(F,x,{handler:function(t){var e=Ft[t.type];if(e===ht&&(this.started=!0),this.started){var i=A.call(this,t,e);e&(ft|mt)&&0==i[0].length-i[1].length&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:ct,srcEvent:t})}}});var qt={touchstart:ht,touchmove:pt,touchend:ft,touchcancel:mt},jt="touchstart touchmove touchend touchcancel";c(I,x,{handler:function(t){var e=qt[t.type],i=q.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:ct,srcEvent:t})}}),c(j,x,{handler:function(t,e,i){var n=i.pointerType==ct,a=i.pointerType==ut;if(n)this.mouse.allow=!1;else if(a&&!this.mouse.allow)return;e&(ft|mt)&&(this.mouse.allow=!0),this.callback(t,e,i)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Nt=_(tt.style,"touchAction"),$t=Nt!==n,Vt="compute",zt="auto",Ht="manipulation",Rt="none",Bt="pan-x",Wt="pan-y";N.prototype={set:function(t){t==Vt&&(t=this.compute()),$t&&(this.manager.element.style[Nt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return s(this.manager.recognizers,(function(e){d(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(g(t,Rt))return Rt;var e=g(t,Bt),i=g(t,Wt);return e&&i?Bt+" "+Wt:e||i?e?Bt:Wt:g(t,Ht)?Ht:zt}(t.join(" "))},preventDefaults:function(t){if(!$t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var n=this.actions,a=g(n,Rt),o=g(n,Wt),s=g(n,Bt);return a||o&&i&_t||s&&i&Ct?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Qt=1,Xt=2,Ut=4,Yt=8,Gt=Yt,Zt=16;$.prototype={defaults:{},set:function(t){return r(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(o(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=z(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,"dropRecognizeWith",this)||(t=z(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(o(t,"requireFailure",this))return this;var e=this.requireFail;return-1===y(e,t=z(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,"dropRequireFailure",this))return this;t=z(t,this);var e=y(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){i.manager.emit(i.options.event+(e?function(t){return t&Zt?"cancel":t&Yt?"end":t&Ut?"move":t&Xt?"start":""}(n):""),t)}var i=this,n=this.state;Yt>n&&e(!0),e(),n>=Yt&&e(!0)}
vendor: 6,763 bytes, line 54
54,tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Qt)))return!1;t++}return!0},recognize:function(t){var e=r({},t);return d(this.options.enable,[this,e])?(this.state&(Gt|Zt|32)&&(this.state=Qt),this.state=this.process(e),void(this.state&(Xt|Ut|Yt|Zt)&&this.tryEmit(e))):(this.reset(),void(this.state=32))},process:function(){},getTouchAction:function(){},reset:function(){}},c(H,$,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=e&(Xt|Ut),a=this.attrTest(t);return n&&(i&mt||!a)?e|Zt:n||a?i&ft?e|Yt:e&Xt?e|Ut:Xt:32}}),c(R,H,{defaults:{event:"pan",threshold:10,pointers:1,direction:xt},getTouchAction:function(){var t=this.options.direction,e=[];return t&_t&&e.push(Wt),t&Ct&&e.push(Bt),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,a=t.direction,o=t.deltaX,s=t.deltaY;return a&e.direction||(e.direction&_t?(a=0===o?gt:0>o?vt:yt,i=o!=this.pX,n=Math.abs(t.deltaX)):(a=0===s?gt:0>s?wt:bt,i=s!=this.pY,n=Math.abs(t.deltaY))),t.direction=a,i&&n>e.threshold&&a&e.direction},attrTest:function(t){return H.prototype.attrTest.call(this,t)&&(this.state&Xt||!(this.state&Xt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=V(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)}}),c(B,H,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Rt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Xt)},emit:function(t){if(this._super.emit.call(this,t),1!==t.scale){var e=t.scale<1?"in":"out";this.manager.emit(this.options.event+e,t)}}}),c(W,$,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[zt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!n||!i||t.eventType&(ft|mt)&&!o)this.reset();else if(t.eventType&ht)this.reset(),this._timer=a((function(){this.state=Gt,this.tryEmit()}),e.time,this);else if(t.eventType&ft)return Gt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Gt&&(t&&t.eventType&ft?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=at(),this.manager.emit(this.options.event,this._input)))}}),c(Q,H,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Rt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Xt)}}),c(X,H,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:_t|Ct,pointers:1},getTouchAction:function(){return R.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(_t|Ct)?e=t.velocity:i&_t?e=t.velocityX:i&Ct&&(e=t.velocityY),this._super.attrTest.call(this,t)&&i&t.direction&&t.distance>this.options.threshold&&nt(e)>this.options.velocity&&t.eventType&ft},emit:function(t){var e=V(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),c(U,$,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[Ht]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&ht&&0===this.count)return this.failTimeout();if(n&&o&&i){if(t.eventType!=ft)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<e.interval,r=!this.pCenter||O(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,r&&s?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=a((function(){this.state=Gt,this.tryEmit()}),e.interval,this),Xt):Gt}return 32},failTimeout:function(){return this._timer=a((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Gt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Y.VERSION="2.0.4",Y.defaults={domEvents:!1,touchAction:Vt,enable:!0,inputTarget:null,inputClass:null,preset:[[Q,{enable:!1}],[B,{enable:!1},["rotate"]],[X,{direction:_t}],[R,{direction:_t},["swipe"]],[U],[U,{event:"doubletap",taps:2},["tap"]],[W]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};G.prototype={set:function(t){return r(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,n=this.recognizers,a=e.curRecognizer;(!a||a&&a.state&Gt)&&(a=e.curRecognizer=null);for(var o=0;o<n.length;)i=n[o],2===e.stopped||a&&i!=a&&!i.canRecognizeWith(a)?i.reset():i.recognize(t),!a&&i.state&(Xt|Ut|Yt)&&(a=e.curRecognizer=i),o++}},get:function(t){if(t instanceof $)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(o(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(o(t,"remove",this))return this;var e=this.recognizers;return t=this.get(t),e.splice(y(e,t),1),this.touchAction.update(),this},on:function(t,e){var i=this.handlers;return s(v(t),(function(t){i[t]=i[t]||[],i[t].push(e)})),this},off:function(t,e){var i=this.handlers;return s(v(t),(function(t){e?i[t].splice(y(i[t],e),1):delete i[t]})),this},emit:function(t,e){this.options.domEvents&&J(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&&Z(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},r(Y,{INPUT_START:ht,INPUT_MOVE:pt,INPUT_END:ft,INPUT_CANCEL:mt,STATE_POSSIBLE:Qt,STATE_BEGAN:Xt,STATE_CHANGED:Ut,STATE_ENDED:Yt,STATE_RECOGNIZED:Gt,STATE_CANCELLED:Zt,STATE_FAILED:32,DIRECTION_NONE:gt,DIRECTION_LEFT:vt,DIRECTION_RIGHT:yt,DIRECTION_UP:wt,DIRECTION_DOWN:bt,DIRECTION_HORIZONTAL:_t,DIRECTION_VERTICAL:Ct,DIRECTION_ALL:xt,Manager:G,Input:x,TouchAction:N,TouchInput:I,MouseInput:L,PointerEventInput:E,TouchMouseInput:j,SingleTouchInput:F,Recognizer:$,AttrRecognizer:H,Tap:U,Pan:R,Swipe:X,Pinch:B,Rotate:Q,Press:W,on:
54p,off:f,each:s,merge:l,extend:r,inherit:c,bindFn:u,prefixed:_}),typeof define==et&&define.amd?define((function(){return Y
55})):"undefined"!=typeof module&&module.exports?module.exports=Y:t.Hammer=Y}(window,document),function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}((function(t,e){function i(i,n){var a=t(i);a.data("hammer")||a.data("hammer",new e(a[0],n))}t.fn.hammer=function(t){return this.each((function(){i(this,t)}))},e.Manager.prototype.emit=function(e){return function(i,n){e.call(this,i,n),t(this.element).trigger({type:i,gesture:n})}}(e.Manager.prototype.emit)})),function(t){t.Package?Materialize={}:t.Materialize={}}(window),Materialize.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}(),Materialize.elementOrParentIsFixed=function(t){var e=$(t),i=e.add(e.parents()),n=!1;return i.each((function(){return"fixed"===$(this).css("position")?(n=!0,!1):void 0})),n},Vel=$?$.Velocity:jQuery?jQuery.Velocity:Velocity,function(t){t.fn.collapsible=function(e){return e=t.extend({accordion:void 0},e),this.each((function(){function i(e){s=o.find("> li > .collapsible-header"),e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}),s.not(e).removeClass("active").parent().removeClass("active"),s.not(e).parent().children(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}})}function n(e){e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}})}function a(t){return t.closest("li > .collapsible-header")}var o=t(this),s=t(this).find("> li > .collapsible-header"),r=o.data("collapsible");o.off("click.collapse","> li > .collapsible-header"),s.off("click.collapse"),o.on("click.collapse","> li > .collapsible-header",(function(o){var s=t(this),l=t(o.target);(function(t){return a(t).length>0})(l)&&(l=a(l)),l.toggleClass("active"),e.accordion||"accordion"===r||void 0===r?i(l):(n(l),s.hasClass("active")&&n(s))}));s=o.find("> li > .collapsible-header");e.accordion||"accordion"===r||void 0===r?i(s.filter(".active").first()):s.filter(".active").each((function(){n(t(this))}))}))},t(document).ready((function(){t(".collapsible").collapsible()}))}(jQuery),function(t){t.fn.scrollTo=function(e){return t(this).scrollTop(t(this).scrollTop()-t(this).offset().top+t(e).offset().top),this},t.fn.dropdown=function(e){var i={inDuration:300,outDuration:225,constrain_width:!0,hover:!1,gutter:0,belowOrigin:!1,alignment:"left"};this.each((function(){function n(){void 0!==s.data("induration")&&(r.inDuration=s.data("inDuration")),void 0!==s.data("outduration")&&(r.outDuration=s.data("outDuration")),void 0!==s.data("constrainwidth")&&(r.constrain_width=s.data("constrainwidth")),void 0!==s.data("hover")&&(r.hover=s.data("hover")),void 0!==s.data("gutter")&&(r.gutter=s.data("gutter")),void 0!==s.data("beloworigin")&&(r.belowOrigin=s.data("beloworigin")),void 0!==s.data("alignment")&&(r.alignment=s.data("alignment"))}function a(e){"focus"===e&&(l=!0),n(),c.addClass("active"),s.addClass("active"),!0===r.constrain_width?c.css("width",s.outerWidth()):c.css("white-space","nowrap");var i,a=window.innerHeight,o=s.innerHeight(),u=s.offset().left,d=s.offset().top-t(window).scrollTop(),h=r.alignment,p=0;if(!0===r.belowOrigin&&(p=o),u+c.innerWidth()>t(window).width()?h="right":u-c.innerWidth()+s.innerWidth()<0&&(h="left"),d+c.innerHeight()>a)if(d+o-c.innerHeight()<0){var f=a-d-p;c.css("max-height",f)}else p||(p+=o),p-=c.innerHeight();if("left"===h)i=r.gutter,leftPosition=s.position().left+i;else if("right"===h){var m=s.position().left+s.outerWidth()-c.outerWidth();i=-r.gutter,leftPosition=m+i}
55c.css({position:"absolute",top:s.position().top+p,left:leftPosition}),c.stop(!0,!0).css("opacity",0).slideDown({queue:!1,duration:r.inDuration,easing:"easeOutCubic",complete:function(){t(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:r.inDuration,easing:"easeOutSine"})}function o(){l=!1,c.fadeOut(r.outDuration),c.removeClass("active"),s.removeClass("active"),setTimeout((function(){c.css("max-height","")}),r.outDuration)}var s=t(this),r=t.extend({},i,e),l=!1,c=t("#"+s.attr("data-activates"));if(n(),s.after(c),r.hover){var u=!1;s.unbind("click."+s.attr("id")),s.on("mouseenter",(function(t){!1===u&&(a(),u=!0)})),s.on("mouseleave",(function(e){var i=e.toElement||e.relatedTarget;t(i).closest(".dropdown-content").is(c)||(c.stop(!0,!0),o(),u=!1)})),c.on("mouseleave",(function(e){var i=e.toElement||e.relatedTarget;t(i).closest(".dropdown-button").is(s)||(c.stop(!0,!0),o(),u=!1)}))}else s.unbind("click."+s.attr("id")),s.bind("click."+s.attr("id"),(function(e){l||(s[0]!=e.currentTarget||s.hasClass("active")||0!==t(e.target).closest(".dropdown-content").length?s.hasClass("active")&&(o(),t(document).unbind("click."+c.attr("id")+" touchstart."+c.attr("id"))):(e.preventDefault(),a("click")),c.hasClass("active")&&t(document).bind("click."+c.attr("id")+" touchstart."+c.attr("id"),(function(e){c.is(e.target)||s.is(e.target)||s.find(e.target).length||(o(),t(document).unbind("click."+c.attr("id")+" touchstart."+c.attr("id")))})))}));s.on("open",(function(t,e){a(e)})),s.on("close",o)}))},t(document).ready((function(){t(".dropdown-button").dropdown()}))}(jQuery),function(t){var e=0,i=0,n=function(){return"materialize-lean-overlay-"+ ++i};t.fn.extend({openModal:function(i){t("body").css("overflow","hidden");var a=n(),o=t(this),s=t('<div class="lean-overlay"></div>'),r=++e;s.attr("id",a).css("z-index",1e3+2*r),o.data("overlay-id",a).css("z-index",1e3+2*r+1),t("body").append(s),(i=t.extend({opacity:.5,in_duration:350,out_duration:250,ready:void 0,complete:void 0,dismissible:!0,starting_top:"4%"},i)).dismissible&&(s.click((function(){o.closeModal(i)})),t(document).on("keyup.leanModal"+a,(function(t){27===t.keyCode&&o.closeModal(i)}))),o.find(".modal-close").on("click.close",(function(t){o.closeModal(i)})),s.css({display:"block",opacity:0}
55),o.css({display:"block",opacity:0}),s.velocity({opacity:i.opacity},{duration:i.in_duration,queue:!1,ease:"easeOutCubic"}),o.data("associated-overlay",s[0]),o.hasClass("bottom-sheet")?o.velocity({bottom:"0",opacity:1},{duration:i.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof i.ready&&i.ready()}}):(t.Velocity.hook(o,"scaleX",.7),o.css({top:i.starting_top}),o.velocity({top:"10%",opacity:1,scaleX:"1"},{duration:i.in_duration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof i.ready&&i.ready()}}))}}),t.fn.extend({closeModal:function(i){var n=t(this),a=n.data("overlay-id"),o=t("#"+a);i=t.extend({out_duration:250,complete:void 0},i),t("body").css("overflow",""),n.find(".modal-close").off("click.close"),t(document).off("keyup.leanModal"+a),o.velocity({opacity:0},{duration:i.out_duration,queue:!1,ease:"easeOutQuart"}),n.hasClass("bottom-sheet")?n.velocity({bottom:"-100%",opacity:0},{duration:i.out_duration,queue:!1,ease:"easeOutCubic",complete:function(){o.css({display:"none"}),"function"==typeof i.complete&&i.complete(),o.remove(),e--}}):n.velocity({top:i.starting_top,opacity:0,scaleX:.7},{duration:i.out_duration,complete:function(){t(this).css("display","none"),"function"==typeof i.complete&&i.complete(),o.remove(),e--}})}}),t.fn.extend({leanModal:function(e){return this.each((function(){var i=t.extend({starting_top:"4%"},e);t(this).click((function(e){i.starting_top=(t(this).offset().top-t(window).scrollTop())/1.15;var n=t(this).attr("href")||"#"+t(this).data("target");t(n).openModal(i),e.preventDefault()}))}))}})}(jQuery),function(t){t.fn.materialbox=function(){return this.each((function(){function e(){o=!1;var e=l.parent(".material-placeholder"),n=(window.innerWidth,window.innerHeight,l.data("width")),s=l.data("height");l.velocity("stop",!0),t("#materialbox-overlay").velocity("stop",!0),t(".materialbox-caption").velocity("stop",!0),t("#materialbox-overlay").velocity({opacity:0},{duration:r,queue:!1,easing:"easeOutQuad",complete:function(){a=!1,t(this).remove()}}),l.velocity({width:n,height:s,left:0,top:0},{duration:r,queue:!1,easing:"easeOutQuad"}),t(".materialbox-caption").velocity({opacity:0},{duration:r,queue:!1,easing:"easeOutQuad",complete:function(){e.css({height:"",width:"",position:"",top:"",left:""}),l.css({height:"",top:"",left:"",width:"","max-width":"",position:"","z-index":""}),l.removeClass("active"),o=!0,t(this).remove(),i.css("overflow","")}})}if(!t(this).hasClass("initialized")){t(this).addClass("initialized");var i,n,a=!1,o=!0,s=275,r=200,l=t(this),c=t("<div></div>").addClass("material-placeholder");l.wrap(c),l.on("click",(function(){var r=l.parent(".material-placeholder"),c=window.innerWidth,u=window.innerHeight,d=l.width(),h=l.height();if(!1===o)return e(),!1;if(a&&!0===o)return e(),!1;for(o=!1,l.addClass("active"),a=!0,r.css({width:r[0].getBoundingClientRect().width,height:r[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),i=void 0,n=r[0].parentNode;null!==n&&!t(n).is(document);){var p=t(n);"hidden"===p.css("overflow")&&(p.css("overflow","visible"),i=void 0===i?p:i.add(p)),n=n.parentNode}l.css({position:"absolute","z-index":1e3}).data("width",d).data("height",h);var f=t('<div id="materialbox-overlay"></div>').css({opacity:0}).click((function(){!0===o&&e()}));if(t("body").append(f),f.velocity({opacity:1},{duration:s,queue:!1,easing:"easeOutQuad"}),""!==l.data("caption")){var m=t('<div class="materialbox-caption"></div>');m.text(l.data("caption")),t("body").append(m),m.css({display:"inline"}),m.velocity({opacity:1},{duration:s,queue:!1,easing:"easeOutQuad"})}var g=0,v=0;d/c>h/u?(g=.9*c,v=.9*c*(h/d)):(g=.9*u*(d/h),v=.9*u),l.hasClass("responsive-img")?l.velocity({"max-width":g,width:d},{duration:0,queue:!1,complete:function(){l.css({left:0,top:0}).velocity({height:v,width:g,left:t(document).scrollLeft()+c/2-l.parent(".material-placeholder").offset().left-g/2,top:t(document).scrollTop()+u/2-l.parent(".material-placeholder").offset().top-v/2},{duration:s,queue:!1,easing:"easeOutQuad",complete:function(){o=!0}})}}):l.css("left",0).css("top",0).velocity({height:v,width:g,left:t(document).scrollLeft()+c/2-l.parent(".material-placeholder").offset().left-g/2,top:t(document).scrollTop()+u/2-l.parent(".material-placeholder").offset().top-v/2},{duration:s,queue:!1,easing:"easeOutQuad",complete:function(){o=!0}})})),t(window).scroll((function(){a&&e()})),t(document).keyup((function(t){27===t.keyCode&&!0===o&&a&&e()}))}}))},t(document).ready((function(){t(".materialboxed").materialbox()}))}(jQuery),function(t){t.fn.parallax=function(){var e=t(window).width();return this.each((function(i){function n(i){var n;n=601>e?a.height()>0?a.height():a.children("img").height():a.height()>0?a.height():500;var o=a.children("img").first(),s=o.height()-n,r=a.offset().top+n,l=a.offset().top,c=t(window).scrollTop(),u=window.innerHeight,d=(c+u-l)/(n+u),h=Math.round(s*d);i&&o.css("display","block"),r>c&&c+u>l&&o.css("transform","translate3D(-50%,"+h+"px, 0)")}var a=t(this);a.addClass("parallax"),a.children("img").one("load",(function(){n(!0)})).each((function(){this.complete&&t(this).load()})),t(window).scroll((function(){e=t(window).width(),n(!1)})),t(window).resize((function(){e=t(window).width(),n(!1)}))}))}}(jQuery),function(t){var e={init:function(){return this.each((function(){var e=t(this);t(window).width(),e.width("100%");var i,n,a=e.find("li.tab a"),o=e.width(),s=e.find("li").first().outerWidth(),r=0;0===(i=t(a.filter('[href="'+location.hash+'"]'))).length&&(i=t(this).find("li.tab a.active").first()),0===i.length&&(i=t(this).find("li.tab a").first()),i.addClass("active"),0>(r=a.index(i))&&(r=0),n=t(i[0].hash),e.append('<div class="indicator"></div>');
55var l=e.find(".indicator");e.is(":visible")&&(l.css({right:o-(r+1)*s}),l.css({left:r*s})),t(window).resize((function(){o=e.width(),s=e.find("li").first().outerWidth(),0>r&&(r=0),0!==s&&0!==o&&(l.css({right:o-(r+1)*s}),l.css({left:r*s}))})),a.not(i).each((function(){t(this.hash).hide()})),e.on("click","a",(function(c){if(t(this).parent().hasClass("disabled"))c.preventDefault();else{o=e.width(),s=e.find("li").first().outerWidth(),i.removeClass("active"),n.hide(),i=t(this),n=t(this.hash),a=e.find("li.tab a"),i.addClass("active");var u=r;0>(r=a.index(t(this)))&&(r=0),n.show(),r-u>=0?(l.velocity({right:o-(r+1)*s},{duration:300,queue:!1,easing:"easeOutQuad"}),l.velocity({left:r*s},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})):(l.velocity({left:r*s},{duration:300,queue:!1,easing:"easeOutQuad"}),l.velocity({right:o-(r+1)*s},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})),c.preventDefault()}}))}))},select_tab:function(t){this.find('a[href="#'+t+'"]').trigger("click")}};t.fn.tabs=function(i){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.tooltip"):e.init.apply(this,arguments)},t(document).ready((function(){t("ul.tabs").tabs()}))}(jQuery),function(t){t.fn.tooltip=function(i){return"remove"===i?(this.each((function(){t("#"+t(this).attr("data-tooltip-id")).remove(),t(this).off("mouseenter.tooltip mouseleave.tooltip")})),!1):(i=t.extend({delay:350},i),this.each((function(){var n=Materialize.guid(),a=t(this);a.attr("data-tooltip-id",n);var o=t("<span></span>").text(a.attr("data-tooltip")),s=t("<div></div>");s.addClass("material-tooltip").append(o).appendTo(t("body")).attr("id",n);var r=t("<div></div>").addClass("backdrop");r.appendTo(s),r.css({top:0,left:0}),a.off("mouseenter.tooltip mouseleave.tooltip");var l,c=!1;a.on({"mouseenter.tooltip":function(t){var n=a.attr("data-delay");n=void 0===n||""===n?i.delay:n,l=setTimeout((function(){c=!0,s.velocity("stop"),r.velocity("stop"),s.css({display:"block",left:"0px",top:"0px"}),s.children("span").text(a.attr("data-tooltip"));var t,i,n,o=a.outerWidth(),l=a.outerHeight(),u=a.attr("data-position"),d=s.outerHeight(),h=s.outerWidth(),p="0px",f="0px",m=8;"top"===u?(t=a.offset().top-d-5,i=a.offset().left+o/2-h/2,n=e(i,t,h,d),p="-10px",r.css({borderRadius:"14px 14px 0 0",transformOrigin:"50% 90%",marginTop:d,marginLeft:h/2-r.width()/2})):"left"===u?(t=a.offset().top+l/2-d/2,i=a.offset().left-h-5,n=e(i,t,h,d),f="-10px",r.css({width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:d/2,marginLeft:h})):"right"===u?(t=a.offset().top+l/2-d/2,i=a.offset().left+o+5,n=e(i,t,h,d),f="+10px",r.css({width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:d/2,marginLeft:"0px"})):(t=a.offset().top+a.outerHeight()+5,i=a.offset().left+o/2-h/2,n=e(i,t,h,d),p="+10px",r.css({marginLeft:h/2-r.width()/2})),s.css({top:n.y,left:n.x}),8>(m=h/8)&&(m=8),("right"===u||"left"===u)&&(6>(m=h/10)&&(m=6)),s.velocity({marginTop:p,marginLeft:f},{duration:350,queue:!1}).velocity({opacity:1},{duration:300,delay:50,queue:!1}),r.css({display:"block"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scale:m},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})}),n)},"mouseleave.tooltip":function(){c=!1,clearTimeout(l),setTimeout((function(){1!=c&&(s.velocity({opacity:0,marginTop:0,marginLeft:0},{duration:225,queue:!1}),r.velocity({opacity:0,scale:1},{duration:225,queue:!1,complete:function(){r.css("display","none"),s.css("display","none"),c=!1}}))}),225)}})})))};var e=function(e,i,n,a){var o=e,s=i;return 0>o?o=4:o+n>window.innerWidth&&(o-=o+n-window.innerWidth),0>s?s=4:s+a>window.innerHeight+t(window).scrollTop&&(s-=s+a-window.innerHeight),{x:o,y:s}};t(document).ready((function(){t(".tooltipped").tooltip()}))}(jQuery),function(t){"use strict";function e(t){return function(t){return null!==t&&t===t.window}(t)?t:9===t.nodeType&&t.defaultView}function i(t){var i,n,a={top:0,left:0},o=t&&t.ownerDocument;return i=o.documentElement,void 0!==t.getBoundingClientRect&&(a=t.getBoundingClientRect()),n=e(o),{top:a.top+n.pageYOffset-i.clientTop,left:a.left+n.pageXOffset-i.clientLeft}}function n(t){var e="";for(var i in t)t.hasOwnProperty(i)&&(e+=i+":"+t[i]+";");return e}function a(e){var i=function(t){if(!1===l.allowEvent(t))return null;for(var e=null,i=t.target||t.srcElement;null!==i.parentElement;){if(!(i instanceof SVGElement||-1===i.className.indexOf("waves-effect"))){e=i;break}if(i.classList.contains("waves-effect")){e=i;break}i=i.parentElement}return e}(e);null!==i&&(r.show(e,i),"ontouchstart"in t&&(i.addEventListener("touchend",r.hide,!1),i.addEventListener("touchcancel",r.hide,!1)),i.addEventListener("mouseup",r.hide,!1),i.addEventListener("mouseleave",r.hide,!1))}var o=o||{},s=document.querySelectorAll.bind(document),r={duration:750,show:function(t,e){if(2===t.button)return!1;var a=e||this,o=document.createElement("div");o.className="waves-ripple",a.appendChild(o);var s=i(a),l=t.pageY-s.top,c=t.pageX-s.left,u="scale("+a.clientWidth/100*10+")";"touches"in t&&(l=t.touches[0].pageY-s.top,c=t.touches[0].pageX-s.left),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-scale",u),o.setAttribute("data-x",c),o.setAttribute("data-y",l);var d={top:l+"px",left:c+"px"};o.className=o.className+" waves-notransition",o.setAttribute("style",n(d)),o.className=o.className.replace("waves-notransition",""),d["-webkit-transform"]=u,d["-moz-transform"]=u,d["-ms-transform"]=u,d["-o-transform"]=u,d.transform=u,d.opacity="1",d["-webkit-transition-duration"]=r.duration+"ms",d["-moz-transition-duration"]=r.duration+"ms",d["-o-transition-duration"]=r.duration+"ms",d["transition-duration"]=r.duration+"ms",d["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",o.setAttribute("style",n(d))},hide:function(t){l.touchup(t);var e=this,i=(e.clientWidth,null),a=e.getElementsByClassName("waves-ripple");if(!(a.length>0))return!1;var o=(i=a[a.length-1]).getAttribute("data-x"),s=i.getAttribute("data-y"),c=i.getAttribute("data-scale"),u=350-(Date.now()-Number(i.getAttribute("data-hold")));0>u&&(u=0),setTimeout((function(){var t={top:s+"px",left:o+"px",opacity:"0","-webkit-transition-duration":r.duration+"ms","-moz-transition-duration":r.duration+"ms","-o-transition-duration":r.duration+"ms","transition-duration":r.duration+"ms","-webkit-transform":c,"-moz-transform":c,"-ms-transform":c,"-o-transform":c,transform:c};i.setAttribute("style",n(t)),setTimeout((function(){try{e.removeChild(i)}catch(t){return!1}}),r.duration)}),u)},wrapInput:function(t){for(var e=0;e<t.length;e++){var i=t[e];if("input"===i.tagName.toLowerCase()){var n=i.parentNode;if("i"===n.tagName.toLowerCase()&&-1!==n.className.indexOf("waves-effect"))continue;var a=document.createElement("i");a.className=i.className+" waves-input-wrapper";var o=i.getAttribute("style");o||(o=""),a.setAttribute("style",o),i.className="waves-button-input",i.removeAttribute("style"),n.replaceChild(a,i),a.appendChild(i)}}}},l={touches:0,allowEvent:function(t){var e=!0;return"touchstart"===t.type?l.touches+=1:"touchend"===t.type||"touchcancel"===t.type?setTimeout((function(){l.touches>0&&(l.touches-=1)}),500):"mousedown"===t.type&&l.touches>0&&(e=!1),e},touchup:function(t){l.allowEvent(t)}};o.displayEffect=function(e){"duration"in(e=e||{})&&(r.duration=e.duration),r.wrapInput(s(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",a,!1),document.body.addEventListener("mousedown",a,!1)}
55,o.attach=function(e){"input"===e.tagName.toLowerCase()&&(r.wrapInput([e]),e=e.parentElement),"ontouchstart"in t&&e.addEventListener("touchstart",a,!1),e.addEventListener("mousedown",a,!1)},t.Waves=o,document.addEventListener("DOMContentLoaded",(function(){o.displayEffect()}),!1)}(window),Materialize.toast=function(t,e,i,n){i=i||"";var a=document.getElementById("toast-container");null===a&&((a=document.createElement("div")).id="toast-container",document.body.appendChild(a));var o=function(t){var e=document.createElement("div");if(e.classList.add("toast"),i)for(var a=i.split(" "),o=0,s=a.length;s>o;o++)e.classList.add(a[o]);("object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)?e.appendChild(t):t instanceof jQuery?e.appendChild(t[0]):e.innerHTML=t;var r=new Hammer(e,{prevent_default:!1});return r.on("pan",(function(t){var i=t.deltaX;e.classList.contains("panning")||e.classList.add("panning");var n=1-Math.abs(i/80);0>n&&(n=0),Vel(e,{left:i,opacity:n},{duration:50,queue:!1,easing:"easeOutQuad"})})),r.on("panend",(function(t){var i=t.deltaX;Math.abs(i)>80?Vel(e,{marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof n&&n(),e.parentNode.removeChild(e)}}):(e.classList.remove("panning"),Vel(e,{left:0,opacity:1},{duration:300,easing:"easeOutExpo",queue:!1}))})),e}(t);t&&a.appendChild(o),o.style.top="35px",o.style.opacity=0,Vel(o,{top:"0px",opacity:1},{duration:300,easing:"easeOutCubic",queue:!1});var s=e,r=setInterval((function(){null===o.parentNode&&window.clearInterval(r),o.classList.contains("panning")||(s-=20),0>=s&&(Vel(o,{opacity:0,marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof n&&n(),this[0].parentNode.removeChild(this[0])}}),window.clearInterval(r))}),20)},function(t){var e={init:function(e){e=t.extend({menuWidth:240,edge:"left",closeOnClick:!1},e),t(this).each((function(){function i(i){!1,s=!1,t("body").css("overflow",""),t("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),"left"===e.edge?(o.css({width:"",right:"",left:"0"}),a.velocity({left:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===i&&(a.removeAttr("style"),a.css("width",e.menuWidth))}})):(o.css({width:"",right:"0",left:""}),a.velocity({right:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===i&&(a.removeAttr("style"),a.css("width",e.menuWidth))}}))}var n=t(this),a=t("#"+n.attr("data-activates"));240!=e.menuWidth&&a.css("width",e.menuWidth);var o=t('<div class="drag-target"></div>');t("body").append(o),"left"==e.edge?(a.css("left",-1*(e.menuWidth+10)),o.css({left:0})):(a.addClass("right-aligned").css("right",-1*(e.menuWidth+10)).css("left",""),o.css({right:0})),a.hasClass("fixed")&&window.innerWidth>992&&a.css("left",0),a.hasClass("fixed")&&t(window).resize((function(){window.innerWidth>992?0!==t("#sidenav-overlay").css("opacity")&&s?i(!0):(a.removeAttr("style"),a.css("width",e.menuWidth)):!1===s&&("left"===e.edge?a.css("left",-1*(e.menuWidth+10)):a.css("right",-1*(e.menuWidth+10)))})),!0===e.closeOnClick&&a.on("click.itemclick","a:not(.collapsible-header)",(function(){i()}));var s=!1;o.on("click",(function(){i()})),o.hammer({prevent_default:!1}).bind("pan",(function(n){if("touch"==n.gesture.pointerType){var o,r=(n.gesture.direction,n.gesture.center.x);if(n.gesture.center.y,n.gesture.velocityX,t("body").css("overflow","hidden"),0===t("#sidenav-overlay").length){var l=t('<div id="sidenav-overlay"></div>');l.css("opacity",0).click((function(){i()})),t("body").append(l)}if("left"===e.edge&&(r>e.menuWidth?r=e.menuWidth:0>r&&(r=0)),"left"===e.edge)r<e.menuWidth/2?s=!1:r>=e.menuWidth/2&&(s=!0),a.css("left",r-e.menuWidth);else{r<window.innerWidth-e.menuWidth/2?s=!0:r>=window.innerWidth-e.menuWidth/2&&(s=!1);var c=-1*(r-e.menuWidth/2);c>0&&(c=0),a.css("right",c)}"left"===e.edge?(o=r/e.menuWidth,t("#sidenav-overlay").velocity({opacity:o},{duration:50,queue:!1,easing:"easeOutQuad"})):(o=Math.abs((r-window.innerWidth)/e.menuWidth),t("#sidenav-overlay").velocity({opacity:o},{duration:50,queue:!1,easing:"easeOutQuad"}))}})).bind("panend",(function(i){if("touch"==i.gesture.pointerType){var n=i.gesture.velocityX;!1,"left"===e.edge?s&&.3>=n||-.5>n?(a.velocity({left:0},{duration:300,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:0,left:""})):(!s||n>.3)&&(t("body").css("overflow",""),a.velocity({left:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:0}
55,{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),o.css({width:"10px",right:"",left:0})):s&&n>=-.3||n>.5?(a.velocity({right:0},{duration:300,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:"",left:0})):(!s||-.3>n)&&(t("body").css("overflow",""),a.velocity({right:-1*(e.menuWidth+10)},{duration:200,queue:!1,easing:"easeOutQuad"}),t("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),o.css({width:"10px",right:0,left:""}))}})),n.click((function(){if(!0===s)s=!1,!1,i();else{t("body").css("overflow","hidden"),t("body").append(o),"left"===e.edge?(o.css({width:"50%",right:0,left:""}),a.velocity({left:0},{duration:300,queue:!1,easing:"easeOutQuad"})):(o.css({width:"50%",right:"",left:0}),a.velocity({right:0},{duration:300,queue:!1,easing:"easeOutQuad"}),a.css("left",""));var n=t('<div id="sidenav-overlay"></div>');n.css("opacity",0).click((function(){s=!1,!1,i(),n.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}})})),t("body").append(n),n.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){s=!0,!1}})}return!1}))}))},show:function(){this.trigger("click")},hide:function(){t("#sidenav-overlay").trigger("click")}};t.fn.sideNav=function(i){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.sideNav"):e.init.apply(this,arguments)}}(jQuery),function(t){function e(e,i,n,a){var o=t();return t.each(s,(function(t,s){if(s.height()>0){var r=s.offset().top,l=s.offset().left,c=l+s.width(),u=r+s.height();!(l>i||a>c||r>n||e>u)&&o.push(s)}})),o}function i(){++c;var i=o.scrollTop(),n=o.scrollLeft(),a=n+o.width(),s=i+o.height(),l=e(i+u.top+200,a+u.right,s+u.bottom,n+u.left);t.each(l,(function(t,e){"number"!=typeof e.data("scrollSpy:ticks")&&e.triggerHandler("scrollSpy:enter"),e.data("scrollSpy:ticks",c)})),t.each(r,(function(t,e){var i=e.data("scrollSpy:ticks");"number"==typeof i&&i!==c&&(e.triggerHandler("scrollSpy:exit"),e.data("scrollSpy:ticks",null))})),r=l}function n(){o.trigger("scrollSpy:winSize")}function a(t,e,i){var n,a,o,s=null,r=0;i||(i={});var l=function(){r=!1===i.leading?0:d(),s=null,o=t.apply(n,a),n=a=null};return function(){var c=d();r||!1!==i.leading||(r=c);var u=e-(c-r);return n=this,a=arguments,0>=u?(clearTimeout(s),s=null,r=c,o=t.apply(n,a),n=a=null):s||!1===i.trailing||(s=setTimeout(l,u)),o}}var o=t(window),s=[],r=[],l=!1,c=0,u={top:0,right:0,bottom:0,left:0},d=Date.now||function(){return(new Date).getTime()};t.scrollSpy=function(e,n){var r=[];(e=t(e)).each((function(e,i){s.push(t(i)),t(i).data("scrollSpy:id",e),t("a[href=#"+t(i).attr("id")+"]").click((function(e){e.preventDefault();var i=t(this.hash).offset().top+1;t("html, body").animate({scrollTop:i-200},{duration:400,queue:!1,easing:"easeOutCubic"})}))})),n=n||{throttle:100},u.top=n.offsetTop||0,u.right=n.offsetRight||0,u.bottom=n.offsetBottom||0,u.left=n.offsetLeft||0;var c=a(i,n.throttle||100),d=function(){t(document).ready(c)};return l||(o.on("scroll",d),o.on("resize",d),l=!0),setTimeout(d,0),e.on("scrollSpy:enter",(function(){r=t.grep(r,(function(t){return 0!=t.height()}));var e=t(this);r[0]?(t("a[href=#"+r[0].attr("id")+"]").removeClass("active"),e.data("scrollSpy:id")<r[0].data("scrollSpy:id")?r.unshift(t(this)):r.push(t(this))):r.push(t(this)),t("a[href=#"+r[0].attr("id")+"]").addClass("active")})),e.on("scrollSpy:exit",(function(){if((r=t.grep(r,(function(t){return 0!=t.height()})))[0]){t("a[href=#"+r[0].attr("id")+"]").removeClass("active");var e=t(this);(r=t.grep(r,(function(t){return t.attr("id")!=e.attr("id")})))[0]&&t("a[href=#"+r[0].attr("id")+"]").addClass("active")}})),e},t.winSizeSpy=function(e){return t.winSizeSpy=function(){return o},e=e||{throttle:100},o.on("resize",a(n,e.throttle||100))},t.fn.scrollSpy=function(e){return t.scrollSpy(t(this),e)}}(jQuery),function(t){t(document).ready((function(){function e(e){var i=e.css("font-family"),a=e.css("font-size");
55a&&n.css("font-size",a),i&&n.css("font-family",i),"off"===e.attr("wrap")&&n.css("overflow-wrap","normal").css("white-space","pre"),n.text(e.val()+"\n");var o=n.html().replace(/\n/g,"<br>");n.html(o),e.is(":visible")?n.css("width",e.width()):n.css("width",t(window).width()/2),e.css("height",n.height())}Materialize.updateTextFields=function(){t("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea").each((function(e,i){t(i).val().length>0||i.autofocus||void 0!==t(this).attr("placeholder")||!0===t(i)[0].validity.badInput?t(this).siblings("label, i").addClass("active"):t(this).siblings("label, i").removeClass("active")}))};var i="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";t(document).on("change",i,(function(){(0!==t(this).val().length||void 0!==t(this).attr("placeholder"))&&t(this).siblings("label").addClass("active"),validate_field(t(this))})),t(document).ready((function(){Materialize.updateTextFields()})),t(document).on("reset",(function(e){var n=t(e.target);n.is("form")&&(n.find(i).removeClass("valid").removeClass("invalid"),n.find(i).each((function(){""===t(this).attr("value")&&t(this).siblings("label, i").removeClass("active")})),n.find("select.initialized").each((function(){var t=n.find("option[selected]").text();n.siblings("input.select-dropdown").val(t)})))})),t(document).on("focus",i,(function(){t(this).siblings("label, i").addClass("active")})),t(document).on("blur",i,(function(){var e=t(this);0===e.val().length&&!0!==e[0].validity.badInput&&void 0===e.attr("placeholder")&&e.siblings("label, i").removeClass("active"),0===e.val().length&&!0!==e[0].validity.badInput&&void 0!==e.attr("placeholder")&&e.siblings("i").removeClass("active"),validate_field(e)})),window.validate_field=function(t){var e=void 0!==t.attr("length"),i=parseInt(t.attr("length")),n=t.val().length;
550===t.val().length&&!1===t[0].validity.badInput?t.hasClass("validate")&&(t.removeClass("valid"),t.removeClass("invalid")):t.hasClass("validate")&&(t.is(":valid")&&e&&i>=n||t.is(":valid")&&!e?(t.removeClass("invalid"),t.addClass("valid")):(t.removeClass("valid"),t.addClass("invalid")))};var n=t(".hiddendiv").first();n.length||(n=t('<div class="hiddendiv common"></div>'),t("body").append(n));var a=".materialize-textarea";t(a).each((function(){var i=t(this);i.val().length&&e(i)})),t("body").on("keyup keydown autoresize",a,(function(){e(t(this))})),t(document).on("change",'.file-field input[type="file"]',(function(){for(var e=t(this).closest(".file-field").find("input.file-path"),i=t(this)[0].files,n=[],a=0;a<i.length;a++)n.push(i[a].name);e.val(n.join(", ")),e.trigger("change")}));var o,s="input[type=range]",r=!1;t(s).each((function(){
56var e=t('<span class="thumb"><span class="value"></span></span>');t(this).after(e)}));var l=".range-field";t(document).on("change",s,(function(e){t(this).siblings(".thumb").find(".value").html(t(this).val())})),t(document).on("input mousedown touchstart",s,(function(e){var i=t(this).siblings(".thumb"),n=t(this).outerWidth();i.length<=0&&(i=t('<span class="thumb"><span class="value"></span></span>'),t(this).after(i)),i.find(".value").html(t(this).val()),r=!0,t(this).addClass("active"),i.hasClass("active")||i.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"}),"input"!==e.type&&(0>(o=void 0===e.pageX||null===e.pageX?e.originalEvent.touches[0].pageX-t(this).offset().left:e.pageX-t(this).offset().left)?o=0:o>n&&(o=n),i.addClass("active").css("left",o)),i.find(".value").html(t(this).val())})),t(document).on("mouseup touchend",l,(function(){r=!1,t(this).removeClass("active")})),t(document).on("mousemove touchmove",l,(function(e){var i,n=t(this).children(".thumb");if(r){n.hasClass("active")||n.velocity({height:"30px",width:"30px",top:"-20px",marginLeft:"-15px"},{duration:300,easing:"easeOutExpo"}),i=void 0===e.pageX||null===e.pageX?e.originalEvent.touches[0].pageX-t(this).offset().left:e.pageX-t(this).offset().left;var a=t(this).outerWidth();0>i?i=0:i>a&&(i=a),n.addClass("active").css("left",i),n.find(".value").html(n.siblings(s).val())}})),t(document).on("mouseout touchleave",l,(function(){if(!r){var e=t(this).children(".thumb");e.hasClass("active")&&e.velocity({height:"0",width:"0",top:"10px",marginLeft:"-6px"},{duration:100}),e.removeClass("active")}}))})),t.fn.material_select=function(e){function i(t,e,i){var n=t.indexOf(e),a=-1===n;return a?t.push(e):t.splice(n,1),i.siblings("ul.dropdown-content").find("li").eq(e).toggleClass("active"),i.find("option").eq(e).prop("selected",a),function(t,e){for(var i="",n=0,a=t.length;a>n;n++){var o=e.find("option").eq(t[n]).text();i+=0===n?o:", "+o}""===i&&(i=e.find("option:disabled").eq(0).text()),e.siblings("input.select-dropdown").val(i)}(t,i),a}t(this).each((function(){var n=t(this);if(!n.hasClass("browser-default")){var a=!!n.attr("multiple"),o=n.data("select-id");if(o&&(n.parent().find("span.caret").remove(),n.parent().find("input").remove(),n.unwrap(),t("ul#select-options-"+o).remove()),"destroy"===e)return void n.data("select-id",null).removeClass("initialized");var s=Materialize.guid();n.data("select-id",s);var r=t('<div class="select-wrapper"></div>');r.addClass(n.attr("class"));var l=t('<ul id="select-options-'+s+'" class="dropdown-content select-dropdown '+(a?"multiple-select-dropdown":"")+'"></ul>'),c=n.children("option, optgroup"),u=[],d=!1,h=n.find("option:selected").html()||n.find("option:first").html()||"",p=function(e,i,n){var a=i.is(":disabled")?"disabled ":"",o=i.data("icon"),s=i.attr("class");if(o){var r="";return s&&(r=' class="'+s+'"'),"multiple"===n?l.append(t('<li class="'+a+'"><img src="'+o+'"'+r+'><span><input type="checkbox"'+a+"/><label></label>"+i.html()+"</span></li>")):l.append(t('<li class="'+a+'"><img src="'+o+'"'+r+"><span>"+i.html()+"</span></li>")),!0}"multiple"===n?l.append(t('<li class="'+a+'"><span><input type="checkbox"'+a+"/><label></label>"+i.html()+"</span></li>")):l.append(t('<li class="'+a+'"><span>'+i.html()+"</span></li>"))};c.length&&c.each((function(){if(t(this).is("option"))a?p(0,t(this),"multiple"):p(0,t(this));else if(t(this).is("optgroup")){var e=t(this).children("option");l.append(t('<li class="optgroup"><span>'+t(this).attr("label")+"</span></li>")),e.each((function(){p(0,t(this))}))}})),l.find("li:not(.optgroup)").each((function(o){t(this).click((function(s){if(!t(this).hasClass("disabled")&&!t(this).hasClass("optgroup")){var r=!0;a?(t('input[type="checkbox"]',this).prop("checked",(function(t,e){return!e})),r=i(u,t(this).index(),n),g.trigger("focus")):(l.find("li").removeClass("active"),t(this).toggleClass("active"),g.val(t(this).text())),activateOption(l,t(this)),n.find("option").eq(o).prop("selected",r),n.trigger("change"),void 0!==e&&e()}s.stopPropagation()}))})),n.wrap(r);var f=t('<span class="caret">&#9660;</span>');n.is(":disabled")&&f.addClass("disabled");var m=h.replace(/"/g,"&quot;"),g=t('<input type="text" class="select-dropdown" readonly="true" '+(n.is(":disabled")?"disabled":"")+' data-activates="select-options-'+s+'" value="'+m+'"/>');n.before(g),g.before(f),g.after(l),n.is(":disabled")||g.dropdown({hover:!1,closeOnClick:!1}),n.attr("tabindex")&&t(g[0]).attr("tabindex",n.attr("tabindex")),n.addClass("initialized"),g.on({focu
56s:function(){if(t("ul.select-dropdown").not(l[0]).is(":visible")&&t("input.select-dropdown").trigger("close"),!l.is(":visible")){t(this).trigger("open",["focus"]);var e=t(this).val(),i=l.find("li").filter((function(){return t(this).text().toLowerCase()===e.toLowerCase()}))[0];activateOption(l,i)}},click:function(t){t.stopPropagation()}}),g.on("blur",(function(){a||t(this).trigger("close"),l.find("li.selected").removeClass("selected")})),l.hover((function(){d=!0}),(function(){d=!1})),t(window).on({click:function(){a&&(d||g.trigger("close"))}}),a&&n.find("option:selected:not(:disabled)").each((function(){var e=t(this).index();i(u,e,n),l.find("li").eq(e).find(":checkbox").prop("checked",!0)})),activateOption=function(e,i){if(i){e.find("li.selected").removeClass("selected");var n=t(i);n.addClass("selected"),l.scrollTo(n)}};var v=[];g.on("keydown",(function(e){if(9!=e.which)if(40!=e.which||l.is(":visible")){if(13!=e.which||l.is(":visible")){e.preventDefault();var i=String.fromCharCode(e.which).toLowerCase();if(i&&-1===[9,13,27,38,40].indexOf(e.which)){v.push(i);var n=v.join(""),o=l.find("li").filter((function(){return 0===t(this).text().toLowerCase().indexOf(n)}))[0];o&&activateOption(l,o)}if(13==e.which){var s=l.find("li.selected:not(.disabled)")[0];s&&(t(s).trigger("click"),a||g.trigger("close"))}40==e.which&&(o=l.find("li.selected").length?l.find("li.selected").next("li:not(.disabled)")[0]:l.find("li:not(.disabled)")[0],activateOption(l,o)),27==e.which&&g.trigger("close"),38==e.which&&((o=l.find("li.selected").prev("li:not(.disabled)")[0])&&activateOption(l,o)),setTimeout((function(){v=[]}),1e3)}}else g.trigger("open");else g.trigger("close")}))}}))}}(jQuery),function(t){var e={init:function(e){return e=t.extend({indicators:!0,height:400,transition:500,interval:6e3},e),this.each((function(){function i(t,e){t.hasClass("center-align")?t.velocity({opacity:0,translateY:-100},{duration:e,queue:!1}):t.hasClass("right-align")?t.velocity({opacity:0,translateX:100},{duration:e,queue:!1}):t.hasClass("left-align")&&t.velocity({opacity:0,translateX:-100},{duration:e,queue:!1})}function n(t){t>=c.length?t=0:0>t&&(t=c.length-1),(u=l.find(".active").index())!=t&&(a=c.eq(u),$caption=a.find(".caption"),a.removeClass("active"),a.velocity({opacity:0},{duration:e.transition,queue:!1,easing:"easeOutQuad",complete:function(){c.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),i($caption,e.transition),e.indicators&&o.eq(u).removeClass("active"),c.eq(t).velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),c.eq(t).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,delay:e.transition,queue:!1,easing:"easeOutQuad"}),c.eq(t).addClass("active"),e.indicators&&o.eq(t).addClass("active"))}var a,o,s,r=t(this),l=r.find("ul.slides").first(),c=l.find("li"),u=l.find(".active").index();-1!=u&&(a=c.eq(u)),r.hasClass("fullscreen")||(e.indicators?r.height(e.height+40):r.height(e.height),l.height(e.height)),c.find(".caption").each((function(){i(t(this),0)})),c.find("img").each((function(){var e="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";t(this).attr("src")!==e&&(t(this).css("background-image","url("+t(this).attr("src")+")"),t(this).attr("src",e))})),e.indicators&&(o=t('<ul class="indicators"></ul>'),c.each((function(i){var a=t('<li class="indicator-item"></li>');a.click((function(){n(l.parent().find(t(this)).index()),clearInterval(s),s=setInterval((function(){u=l.find(".active").index(),c.length==u+1?u=0:u+=1,n(u)}),e.transition+e.interval)})),o.append(a)})),r.append(o),o=r.find("ul.indicators").find("li.indicator-item")),a?a.show():(c.first().addClass("active").velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),u=0,a=c.eq(u),e.indicators&&o.eq(u).addClass("active")),a.find("img").each((function(){a.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,queue:!1,easing:"easeOutQuad"})})),s=setInterval((function(){n((u=l.find(".active").index())+1)}),e.transition+e.interval);var d=!1,h=!1;r.hammer({prevent_default:!1}).bind("pan",(function(t){if("touch"===t.gesture.pointerType){clearInterval(s);var e,i=t.gesture.direction,n=t.gesture.deltaX,a=t.gesture.velocityX;$curr_slide=l.find(".active"),$curr_slide.velocity({translateX:n},{duration:50,queue:!1,easing:"easeOutQuad"}),4===i&&(n>r.innerWidth()/2||-.65>
56a)?h=!0:2===i&&(n<-1*r.innerWidth()/2||a>.65)&&(d=!0),d&&(0===(e=$curr_slide.next()).length&&(e=c.first()),e.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"})),h&&(0===(e=$curr_slide.prev()).length&&(e=c.last()),e.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}})).bind("panend",(function(t){"touch"===t.gesture.pointerType&&($curr_slide=l.find(".active"),!1,curr_index=l.find(".active").index(),h||d?d?(n(curr_index+1),$curr_slide.velocity({translateX:-1*r.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):h&&(n(curr_index-1),$curr_slide.velocity({translateX:r.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}),d=!1,h=!1,clearInterval(s),s=setInterval((function(){u=l.find(".active").index(),c.length==u+1?u=0:u+=1,n(u)}),e.transition+e.interval))})),r.on("sliderPause",(function(){clearInterval(s)})),r.on("sliderStart",(function(){clearInterval(s),s=setInterval((function(){u=l.find(".active").index(),c.length==u+1?u=0:u+=1,n(u)}),e.transition+e.interval)})),r.on("sliderNext",(function(){n((u=l.find(".active").index())+1)})),r.on("sliderPrev",(function(){n((u=l.find(".active").index())-1)}))}))},pause:function(){t(this).trigger("sliderPause")},start:function(){t(this).trigger("sliderStart")},next:function(){t(this).trigger("sliderNext")},prev:function(){t(this).trigger("sliderPrev")}};t.fn.slider=function(i){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.tooltip"):e.init.apply(this,arguments)}}(jQuery),function(t){t(document).ready((function(){t(document).on("click.card",".card",(function(e){t(this).find("> .card-reveal").length&&(t(e.target).is(t(".card-reveal .card-title"))||t(e.target).is(t(".card-reveal .card-title i"))?t(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){t(this).css({display:"none"})}}):(t(e.target).is(t(".card .activator"))||t(e.target).is(t(".card .activator i")))&&(t(e.target).closest(".card").css("overflow","hidden"),t(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"}))),t(".card-reveal").closest(".card").css("overflow","hidden")}))}))}(jQuery),function(t){t(document).ready((function(){t(document).on("click.chip",".chip .material-icons",(function(e){t(this).parent().remove()}))}))}(jQuery),function(t){t(document).ready((function(){t.fn.pushpin=function(e){return e=t.extend({top:0,bottom:1/0,offset:0},e),$index=0,this.each((function(){function i(t){t.removeClass("pin-top"),t.removeClass("pinned"),t.removeClass("pin-bottom")}function n(n,a){n.each((function(){e.top<=a&&e.bottom>=a&&!t(this).hasClass("pinned")&&(i(t(this)),t(this).css("top",e.offset),t(this).addClass("pinned")),a<e.top&&!t(this).hasClass("pin-top")&&(i(t(this)),t(this).css("top",0),t(this).addClass("pin-top")),a>e.bottom&&!t(this).hasClass("pin-bottom")&&(i(t(this)),t(this).addClass("pin-bottom"),t(this).css("top",e.bottom-s))}))}var a=Materialize.guid(),o=t(this),s=t(this).offset().top;n(o,t(window).scrollTop()),t(window).on("scroll."+a,(function(){var i=t(window).scrollTop()+e.offset;n(o,i)}))}))}}))}(jQuery),function(t){t(document).ready((function(){t.fn.reverse=[].reverse,t(document).on("mouseenter.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle)",(function(i){var n=t(this);e(n)})),t(document).on("mouseleave.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle)",(function(e){var n=t(this);i(n)})),t(document).on("click.fixedActionBtn",".fixed-action-btn.click-to-toggle > a",(function(n){var a=t(this).parent();a.hasClass("active")?i(a):e(a)}))})),t.fn.extend({openFAB:function(){e(t(this))},closeFAB:function(){i(t(this))}});var e=function(e){if($this=e,!1===$this.hasClass("active")){var i,n;!0===$this.hasClass("horizontal")?n=40:i=40,$this.addClass("active"),$this.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:i+"px",translateX:n+"px"},{duration:0});var a=0;$this.find("ul .btn-floating").reverse().each((function(){t(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0",translateX:"0"},{duration:80,delay:a}),a+=40}))}},i=function(t){var e,i;$this=t,!0===$this.hasClass("horizontal")?i=40:e=40,$this.removeClass("active"),$this.find("ul .btn-floating").velocity("stop",!0),$this.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:e+"px",translateX:i+"px"},{duration:80})}}(jQuery),function(t){Materialize.fadeInImage=function(e){var i=t(e);i.css({opacity:0}
56),t(i).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),t(i).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(e,i){i.start=100;var n=e/100,a=150-(100-e)/1.75;100>a&&(a=100),e>=0&&t(this).css({"-webkit-filter":"grayscale("+n+")brightness("+a+"%)",filter:"grayscale("+n+")brightness("+a+"%)"})}})},Materialize.showStaggeredList=function(e){var i=0;t(e).find("li").velocity({translateX:"-100px"},{duration:0}),t(e).find("li").each((function(){t(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:i,easing:[60,10]}),i+=120}))},t(document).ready((function(){var e=!1,i=!1;t(".dismissable").each((function(){t(this).hammer({prevent_default:!1}).bind("pan",(function(n){if("touch"===n.gesture.pointerType){var a=t(this),o=n.gesture.direction,s=n.gesture.deltaX,r=n.gesture.velocityX;a.velocity({translateX:s},{duration:50,queue:!1,easing:"easeOutQuad"}),4===o&&(s>a.innerWidth()/2||-.75>r)&&(e=!0),2===o&&(s<-1*a.innerWidth()/2||r>.75)&&(i=!0)}})).bind("panend",(function(n){if(Math.abs(n.gesture.deltaX)<t(this).innerWidth()/2&&(i=!1,e=!1),"touch"===n.gesture.pointerType){var a,o=t(this);if(e||i)a=e?o.innerWidth():-1*o.innerWidth(),o.velocity({translateX:a},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){o.css("border","none"),o.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){o.remove()}})}});else o.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"});e=!1,i=!1}}))}))}))}(jQuery),Materialize.scrollFire=function(t){var e=!1;window.addEventListener("scroll",(function(){e=!0})),setInterval((function(){if(e){e=!1;for(var i=window.pageYOffset+window.innerHeight,n=0;n<t.length;n++){var a=t[n],o=a.selector,s=a.offset,r=a.callback,l=document.querySelector(o);null!==l&&i>l.getBoundingClientRect().top+window.pageYOffset+s&&!0!==a.done&&(new Function(r)(),a.done=!0)}}}),100)},function(t){"function"==typeof define&&define.amd?define("picker",["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):this.Picker=t(jQuery)}((function(t){function e(a,s,c,u){function d(){return e._.node("div",e._.node("div",e._.node("div",e._.node("div",b.component.nodes(m.open),v.box),v.wrap),v.frame),v.holder)}function h(t){var e=t.keyCode,i=/^(8|46)$/.test(e);return 27==e?(b.close(),!1):void((32==e||i||!m.open&&b.component.key[e])&&(t.preventDefault(),t.stopPropagation(),i?b.clear().close():b.open()))}function p(t){t.stopPropagation(),"focus"==t.type&&b.$root.addClass(v.focused),b.open()}if(!a)return e;var f=!1,m={id:a.id||"P"+Math.abs(~~(Math.random()*new Date))},g=c?t.extend(!0,{},c.defaults,u):u||{},v=t.extend({},e.klasses(),g.klass),y=t(a),w=function(){return this.start()},b=w.prototype={constructor:w,$node:y,start:function(){return m&&m.start?b:(m.methods={},m.start=!0,m.open=!1,m.type=a.type,a.autofocus=a==o(),a.readOnly=!g.editable,a.id=a.id||m.id,"text"!=a.type&&(a.type="text"),b.component=new c(b,g),b.$root=t(e._.node("div",d(),v.picker,'id="'+a.id+'_root" tabindex="0"')),b.$root.on({keydown:h,focusin:function(t){b.$root.removeClass(v.focused),t.stopPropagation()},"mousedown click":function(e){var i=e.target;i!=b.$root.children()[0]&&(e.stopPropagation(),"mousedown"!=e.type||t(i).is("input, select, textarea, button, option")||(e.preventDefault(),b.$root[0].focus()))}}).on({focus:function(){y.addClass(v.target)},blur:function(){y.removeClass(v.target)}}).on("focus.toOpen",p).on("click","[data-pick], [data-nav], [data-clear], [data-close]",(function(){var e=t(this),i=e.data(),n=e.hasClass(v.navDisabled)||e.hasClass(v.disabled),a=o();a=a&&(a.type||a.href),(n||a&&!t.contains(b.$root[0],a))&&b.$root[0].focus(),!n&&i.nav?b.set("highlight",b.component.item.highlight,{nav:i.nav}):!n&&"pick"in i?b.set("select",i.pick):i.clear?b.clear().close(!0):i.close&&b.close(!0)})),n(b.$root[0],"hidden",!0),g.formatSubmit&&function(){var e;!0===g.hiddenName?(e=a.name,a.name=""):e=(e=["string"==typeof g.hiddenPrefix?g.hiddenPrefix:"","string"==typeof g.hiddenSuffix?g.hiddenSuffix:"_submit"])[0]+a.name+e[1],b._hidden=t('<input type=hidden name="'+e+'"'+(y.data("value")||a.value?' value="'+b.get("select",g.formatSubmit)+'"':"")+">")[0],y.on("change."+m.id,(function(){b._hidden.value=a.value?b.get("select",g.formatSubmit):""})),g.container?t(g.container).append(b._hidden):y.after(b._hidden)}(),y.data(s,b).addClass(v.input).attr("tabindex",-1).val(y.data("value")?b.get("select",g.format):a.value),g.editable||y.on("focus."+m.id+" click."+m.id,(function(t){t.preventDefault(),b.$root[0].focus()})).on("keydown."+m.id,h),n(a,{haspopup:!0,expanded:!1,readonly:!1,owns:a.id+"_root"}),g.container?t(g.container).append(b.$root):y.after(b.$root),b.on({start:b.component.onStart,render:b.component.onRender,stop:b.component.onStop,open:b.component.onOpen,close:b.component.onClose,set:b.component.onSet}).on({start:g.onStart,render:g.onRender,stop:g.onStop,open:g.onOpen,close:g.onClose,set:g.onSet}),f=function(t){var e,i="position";return t.currentStyle?e=t.currentStyle[i]:window.getComputedStyle&&(e=getComputedStyle(t)[i]),"fixed"==e}(b.$root.children()[0]),a.autofocus&&b.open(),b.trigger("start").trigger("render"))},render:function(t){return t?b.$root.html(d()):b.$root.find("."+v.box).html(b.component.nodes(m.open)),b.trigger("render")},stop:function(){return m.start?(b.close(),b._hidden&&b._hidden.parentNode.removeChild(b._hidden),b.$root.remove(),y.removeClass(v.input).removeData(s),setTimeout((function(){y.off("."+m.id)}),0),a.type=m.type,a.readOnly=!1,b.trigger("stop"),m.methods={},m.start=!1,b):b},open:function(o){return m.open?b:(y.addClass(v.active),n(a,"expanded",!0),setTimeout((function(){b.$root.addClass(v.opened),n(b.$root[0],"hidden",!1)}),0),!1!==o&&(m.open=!0,f&&l.css("overflow","hidden").css("padding-right","+="+i()),b.$root[0].focus(),r.on("click."+m.id+" focusin."+m.id,(function(t){var e=t.target;e!=a&&e!=document&&3!=t.which&&b.close(e===b.$root.children()[0])})).on("keydown."+m.id,(function(i){var n=i.keyCode,a=b.component.key[n],o=i.target;27==n?b.close(!0):o!=b.$root[0]||!a&&13!=n?t.contains(b.$root[0],o)&&13==n&&(i.preventDefault(),o.click()):(i.preventDefault(),a?e._.trigger(b.component.key.go,b,[e._.trigger(a)]):b.$root.find("."+v.highlighted).hasClass(v.disabled)||b.set("select",b.component.item.highlight).close())}))),b.trigger("open"))},close:function(t){return t&&(b.$root.off("focus.toOpen")[0].focus(),setTimeout((function(){b.$root.on("focus.toOpen",p)}),0)),y.removeClass(v.active),n(a,"expanded",!1),setTimeout((function(){b.$root.removeClass(v.opened+" "+v.focu
56sed),n(b.$root[0],"hidden",!0)}),0),m.open?(m.open=!1,f&&l.css("overflow","").css("padding-right","-="+i()),r.off("."+m.id),b.trigger("close")):b},clear:function(t){return b.set("clear",null,t)},set:function(e,i,n){var a,o,s=t.isPlainObject(e),r=s?e:{};if(n=s&&t.isPlainObject(i)?i:n||{},e){for(a in s||(r[e]=i),r)o=r[a],a in b.component.item&&(void 0===o&&(o=null),b.component.set(a,o,n)),("select"==a||"clear"==a)&&y.val("clear"==a?"":b.get(a,g.format)).trigger("change");b.render()}return n.muted?b:b.trigger("set",r)},get:function(t,i){if(null!=m[t=t||"value"])return m[t];if("valueSubmit"==t){if(b._hidden)return b._hidden.value;t="value"}if("value"==t)return a.value;if(t in b.component.item){if("string"==typeof i){var n=b.component.get(t);return n?e._.trigger(b.component.formats.toString,b.component,[i,n]):""}return b.component.get(t)}},on:function(e,i,n){var a,o,s=t.isPlainObject(e),r=s?e:{};if(e)for(a in s||(r[e]=i),r)o=r[a],n&&(a="_"+a),m.methods[a]=m.methods[a]||[],m.methods[a].push(o);return b},off:function(){var t,e,i=arguments;for(t=0,namesCount=i.length;t<namesCount;t+=1)(e=i[t])in m.methods&&delete m.methods[e];return b},trigger:function(t,i){var n=function(t){var n=m.methods[t];n&&n.map((function(t){e._.trigger(t,b,[i])}))};return n("_"+t),n(t),b}};return new w}function i(){if(l.height()<=s.height())return 0;var e=t('<div style="visibility:hidden;width:100px" />').appendTo("body"),i=e[0].offsetWidth;e.css("overflow","scroll");var n=t('<div style="width:100%" />').appendTo(e)[0].offsetWidth;return e.remove(),i-n}function n(e,i,n){if(t.isPlainObject(i))for(var o in i)a(e,o,i[o]);else a(e,i,n)}function a(t,e,i){t.setAttribute(("role"==e?"":"aria-")+e,i)}function o(){try{return document.activeElement}catch(t){}}var s=t(window),r=t(document),l=t(document.documentElement);return e.klasses=function(t){return{picker:t=t||"picker",opened:t+"--opened",focused:t+"--focused",input:t+"__input",active:t+"__input--active",target:t+"__input--target",holder:t+"__holder",frame:t+"__frame",wrap:t+"__wrap",box:t+"__box"}},e._={group:function(t){for(var i,n="",a=e._.trigger(t.min,t);a<=e._.trigger(t.max,t,[a]);a+=t.i)i=e._.trigger(t.item,t,[a]),n+=e._.node(t.node,i[0],i[1],i[2]);return n},node:function(e,i,n,a){return i?"<"+e+(n=n?' class="'+n+'"':"")+(a=a?" "+a:"")+">"+(i=t.isArray(i)?i.join(""):i)+"</"+e+">":""},lead:function(t){return(10>t?"0":"")+t},trigger:function(t,e,i){return"function"==typeof t?t.apply(e,i||[]):t},digits:function(t){return/\d/.test(t[1])?2:1},isDate:function(t){return{}.toString.call(t).indexOf("Date")>-1&&this.isInteger(t.getDate())},isInteger:function(t){return{}.toString.call(t).indexOf("Number")>-1&&t%1==0},ariaAttr:function(e,i){for(var n in t.isPlainObject(e)||(e={attribute:i}),i="",e){var a=("role"==n?"":"aria-")+n;i+=null==e[n]?"":a+'="'+e[n]+'"'}return i}},e.extend=function(i,n){t.fn[i]=function(a,o){var s=this.data(i);return"picker"==a?s:s&&"string"==typeof a?e._.trigger(s[a],s,[o]):this.each((function(){t(this).data(i)||new e(this,i,n,a)}))},t.fn[i].defaults=n.defaults},e})),function(t){"function"==typeof define&&define.amd?define(["picker","jquery"],t):"object"==typeof exports?module.exports=t(require("./picker.js"),require("jquery")):t(Picker,jQuery)}((function(t,e){function i(t,e){var i=this,n=t.$node[0],a=n.value,o=t.$node.data("value"),s=o||a,r=o?e.formatSubmit:e.format,l=function(){return n.currentStyle?"rtl"==n.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};i.settings=e,i.$node=t.$node,i.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},i.item={},i.item.clear=null,i.item.disable=(e.disable||[]).slice(0),i.item.enable=-function(t){return!0===t[0]?t.shift():-1}(i.item.disable),i.set("min",e.min).set("max",e.max).set("now"),s?i.set("select",s,{format:r}):i.set("select",null).set("highlight",i.item.now),i.key={40:7,38:-7,39:function(){return l()?-1:1},37:function(){return l()?1:-1},go:function(t){var e=i.item.highlight,n=new Date(e.year,e.month,e.date+t);i.set("highlight",n,{interval:t}),this.render()}},t.on("render",(function(){t.$root.find("."+e.klass.selectMonth).on("change",(function(){var i=this.value;i&&(t.set("highlight",[t.get("view").year,i,t.get("highlight").date]),t.$root.find("."+e.klass.selectMonth).trigger("focus"))})),t.$root.find("."+e.klass.selectYear).on("change",(function(){var i=this.value;i&&(t.set("highlight",[i,t.get("view").month,t.get("highlight").date]),t.$root.find("."+e.klass.selectYear).trigger("focus"))}))}),1).on("open",(function(){var n="";i.disabled(i.get("now"))&&(n=":not(."+e.klass.buttonToday+")"),t.$root.find("button"+n+", select").attr("disabled",!1)}),1).on("close",(function(){t.$root.find("button, select").attr("disabled",!0)}),1)}var n=t._;
56i.prototype.set=function(t,e,i){var n=this,a=n.item;return null===e?("clear"==t&&(t="select"),a[t]=e,n):(a["enable"==t?"disable":"flip"==t?"enable":t]=n.queue[t].split(" ").map((function(a){return e=n[a](t,e,i)})).pop(),"select"==t?n.set("highlight",a.select,i):"highlight"==t?n.set("view",a.highlight,i):t.match(/^(flip|min|max|disable|enable)$/)&&(a.select&&n.disabled(a.select)&&n.set("select",a.select,i),a.highlight&&n.disabled(a.highlight)&&n.set("highlight",a.highlight,i)),n)},i.prototype.get=function(t){return this.item[t]},i.prototype.create=function(t,i,a){var o,s=this;return(i=void 0===i?t:i)==-1/0||i==1/0?o=i:e.isPlainObject(i)&&n.isInteger(i.pick)?i=i.obj:e.isArray(i)?(i=new Date(i[0],i[1],i[2]),i=n.isDate(i)?i:s.create().obj):i=n.isInteger(i)||n.isDate(i)?s.normalize(new Date(i),a):s.now(t,i,a),{year:o||i.getFullYear(),month:o||i.getMonth(),date:o||i.getDate(),day:o||i.getDay(),obj:o||i,pick:o||i.getTime()}},i.prototype.createRange=function(t,i){var a=this,o=function(t){return!0===t||e.isArray(t)||n.isDate(t)?a.create(t):t};return n.isInteger(t)||(t=o(t)),n.isInteger(i)||(i=o(i)),n.isInteger(t)&&e.isPlainObject(i)?t=[i.year,i.month,i.date+t]:n.isInteger(i)&&e.isPlainObject(t)&&(i=[t.year,t.month,t.date+i]),{from:o(t),to:o(i)}},i.prototype.withinRange=function(t,e){return t=this.createRange(t.from,t.to),e.pick>=t.from.pick&&e.pick<=t.to.pick},i.prototype.overlapRanges=function(t,e){var i=this;return t=i.createRange(t.from,t.to),e=i.createRange(e.from,e.to),i.withinRange(t,e.from)||i.withinRange(t,e.to)||i.withinRange(e,t.from)||i.withinRange(e,t.to)},i.prototype.now=function(t,e,i){return e=new Date,i&&i.rel&&e.setDate(e.getDate()+i.rel),this.normalize(e,i)},i.prototype.navigate=function(t,i,n){var a,o,s,r,l=e.isArray(i),c=e.isPlainObject(i),u=this.item.view;if(l||c){for(c?(o=i.year,s=i.month,r=i.date):(o=+i[0],s=+i[1],r=+i[2]),n&&n.nav&&u&&u.month!==s&&(o=u.year,s=u.month),o=(a=new Date(o,s+(n&&n.nav?n.nav:0),1)).getFullYear(),s=a.getMonth();new Date(o,s,r).getMonth()!==s;)r-=1;i=[o,s,r]}return i},i.prototype.normalize=function(t){return t.setHours(0,0,0,0),t},i.prototype.measure=function(t,e){return e?"string"==typeof e?e=this.parse(t,e):n.isInteger(e)&&(e=this.now(t,e,{rel:e})):e="min"==t?-1/0:1/0,e},i.prototype.viewset=function(t,e){return this.create([e.year,e.month,1])},i.prototype.validate=function(t,i,a){var o,s,r,l,c=this,u=i,d=a&&a.interval?a.interval:1,h=-1===c.item.enable,p=c.item.min,f=c.item.max,m=h&&c.item.disable.filter((function(t){if(e.isArray(t)){var a=c.create(t).pick;a<i.pick?o=!0:a>i.pick&&(s=!0)}return n.isInteger(t)})).length;if((!a||!a.nav)&&(!h&&c.disabled(i)||h&&c.disabled(i)&&(m||o||s)||!h&&(i.pick<=p.pick||i.pick>=f.pick)))for(h&&!m&&(!s&&d>0||!o&&0>d)&&(d*=-1);c.disabled(i)&&(Math.abs(d)>1&&(i.month<u.month||i.month>u.month)&&(i=u,d=d>0?1:-1),i.pick<=p.pick?(r=!0,d=1,i=c.create([p.year,p.month,p.date+(i.pick===p.pick?0:-1)])):i.pick>=f.pick&&(l=!0,d=-1,i=c.create([f.year,f.month,f.date+(i.pick===f.pick?0:1)])),!r||!l);)i=c.create([i.year,i.month,i.date+d]);return i},i.prototype.disabled=function(t){var i=this,a=i.item.disable.filter((function(a){return n.isInteger(a)?t.day===(i.settings.firstDay?a:a-1)%7:e.isArray(a)||n.isDate(a)?t.pick===i.create(a).pick:e.isPlainObject(a)?i.withinRange(a,t):void 0}));return a=a.length&&!a.filter((function(t){return e.isArray(t)&&"inverted"==t[3]||e.isPlainObject(t)&&t.inverted})).length,-1===i.item.enable?!a:a||t.pick<i.item.min.pick||t.pick>i.item.max.pick},i.prototype.parse=function(t,e,i){var a=this,o={};return e&&"string"==typeof e?(i&&i.format||((i=i||{}).format=a.settings.format),a.formats.toArray(i.format).map((function(t){var i=a.formats[t],s=i?n.trigger(i,a,[e,o]):t.replace(/^!/,"").length;i&&(o[t]=e.substr(0,s)),e=e.substr(s)})),[o.yyyy||o.yy,+(o.mm||o.m)-1,o.dd||o.d]):e},i.prototype.formats=function(){function t(t,e,i){var n=t.match(/\w+/)[0];return i.mm||i.m||(i.m=e.indexOf(n)+1),n.length}function e(t){return t.match(/\w+/)[0].length}return{d:function(t,e){return t?n.digits(t):e.date},dd:function(t,e){return t?2:n.lead(e.date)},ddd:function(t,i){return t?e(t):this.settings.weekdaysShort[i.day]},dddd:function(t,i){return t?e(t):this.settings.weekdaysFull[i.day]},m:function(t,e){return t?n.digits(t):e.month+1},mm:function(t,e){return t?2:n.lead(e.month+1)},mmm:function(e,i){var n=this.settings.monthsShort;return e?t(e,n,i):n[i.month]},mmmm:function(e,i){var n=this.settings.monthsFull;return e?t(e,n,i):n[i.month]},yy:function(t,e){return t?2:(""+e.year).slice(2)},yyyy:function(t,e){return t?4:e.year},toArray:function(t){return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(t,e){var i=this;return i.formats.toArray(t).map((function(t){return n.trigger(i.formats[t],i,[0,e])||t.replace(/^!/,"")})).join("")}}}(),i.prototype.isDateExact=function(t,i){var a=this;return n.isInteger(t)&&n.isInteger(i)||"boolean"==typeof t&&"boolean"==typeof i?t===i:(n.isDate(t)||e.isArray(t))&&(n.isDate(i)||e.isArray(i))?a.create(t).pick===a.create(i).pick:!(!e.isPlainObject(t)||!e.isPlainObject(i))&&(a.isDateExact(t.from,i.from)&&a.isDateExact(t.to,i.to))},i.prototype.isDateOverlap=function(t,i){var a=this,o=a.settings.firstDay?1:0;return n.isInteger(t)&&(n.isDate(i)||e.isArray(i))?(t=t%7+o)===a.create(i).day+1:n.isInteger(i)&&(n.isDate(t)||e.isArray(t))?(i=i%7+o)===a.create(t).day+1:!(!e.isPlainObject(t)||!e.isPlainObject(i))&&a.overlapRanges(t,i)},i.prototype.flipEnable=function(t){var e=this.item;e.enable=t||(-1==e.enable?1:-1)},i.prototype.deactivate=function(t,i){var a=this,o=a.item.disable.slice(0);return"flip"==i?a.flipEnable():!1===i?(a.flipEnable(1),o=[]):!0===i?(a.flipEnable(-1),o=[]):i.map((function(t){for(var i,s=0;s<o.length;s+=1)if(a.isDateExact(t,o[s])){i=!0;break}i||(n.isInteger(t)||n.isDate(t)||e.isArray(t)||e.isPlainObject(t)&&t.from&&t.to)&&o.push(t)})),o},i.prototype.activate=function(t,i){var a=this,o=a.item.disable,s=o.length;return"flip"==i?a.flipEnable():!0===i?(a.flipEnable(1),o=[]):!1===i?(a.flipEnable(-1),o=[]):i.map((function(t){var i,r,l,c;for(l=0;s>l;l+=1){if(r=o[l],a.isDateExact(r,t)){i=o[l]=null,c=!0;break}if(a.isDateOverlap(r,t)){e.isPlainObject(t)?(t.inverted=!0,i=t):e.isArray(t)?(i=t)[3]||i.push("inverted"):n.isDate(t)&&(i=[t.getFullYear(),t.getMonth(),t.getDate(),"inverted"]);break}}if(i)for(l=0;s>l;
56l+=1)if(a.isDateExact(o[l],t)){o[l]=null;break}if(c)for(l=0;s>l;l+=1)if(a.isDateOverlap(o[l],t)){o[l]=null;break}i&&o.push(i)})),o.filter((function(t){return null!=t}))},i.prototype.nodes=function(t){var e=this,i=e.settings,a=e.item,o=a.now,s=a.select,r=a.highlight,l=a.view,c=a.disable,u=a.min,d=a.max,h=function(t,e){
57return i.firstDay&&(t.push(t.shift()),e.push(e.shift())),n.node("thead",n.node("tr",n.group({min:0,max:6,i:1,node:"th",item:function(n){return[t[n],i.klass.weekdays,'scope=col title="'+e[n]+'"']}})))}((i.showWeekdaysFull?i.weekdaysFull:i.weekdaysLetter).slice(0),i.weekdaysFull.slice(0)),p=function(t){return n.node("div"," ",i.klass["nav"+(t?"Next":"Prev")]+(t&&l.year>=d.year&&l.month>=d.month||!t&&l.year<=u.year&&l.month<=u.month?" "+i.klass.navDisabled:""),"data-nav="+(t||-1)+" "+n.ariaAttr({role:"button",controls:e.$node[0].id+"_table"})+' title="'+(t?i.labelMonthNext:i.labelMonthPrev)+'"')},f=function(a){var o=i.showMonthsShort?i.monthsShort:i.monthsFull;return"short_months"==a&&(o=i.monthsShort),i.selectMonths&&null==a?n.node("select",n.group({min:0,max:11,i:1,node:"option",item:function(t){return[o[t],0,"value="+t+(l.month==t?" selected":"")+(l.year==u.year&&t<u.month||l.year==d.year&&t>d.month?" disabled":"")]}}),i.klass.selectMonth+" browser-default",(t?"":"disabled")+" "+n.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelMonthSelect+'"'):"short_months"==a?null!=s?n.node("div",o[s.month]):n.node("div",o[l.month]):n.node("div",o[l.month],i.klass.month)},m=function(a){var o=l.year,s=!0===i.selectYears?5:~~(i.selectYears/2);if(s){var r=u.year,c=d.year,h=o-s,p=o+s;if(r>h&&(p+=r-h,h=r),p>c){var f=h-r,m=p-c;h-=f>m?m:f,p=c}if(i.selectYears&&null==a)return n.node("select",n.group({min:h,max:p,i:1,node:"option",item:function(t){return[t,0,"value="+t+(o==t?" selected":"")]}}),i.klass.selectYear+" browser-default",(t?"":"disabled")+" "+n.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelYearSelect+'"')}return"raw"==a?n.node("div",o):n.node("div",o,i.klass.year)};return createDayLabel=function(){return null!=s?n.node("div",s.date):n.node("div",o.date)},createWeekdayLabel=function(){var t;return t=null!=s?s.day:o.day,i.weekdaysFull[t]},n.node("div",n.node("div",createWeekdayLabel(),"picker__weekday-display")+n.node("div",f("short_months"),i.klass.month_display)+n.node("div",createDayLabel(),i.klass.day_display)+n.node("div",m("raw"),i.klass.year_display),i.klass.date_display)+n.node("div",n.node("div",(i.selectYears,f()+m()+p()+p(1)),i.klass.header)+n.node("table",h+n.node("tbody",n.group({min:0,max:5,i:1,node:"tr",item:function(t){var a=i.firstDay&&0===e.create([l.year,l.month,1]).day?-7:0;return[n.group({min:7*t-l.day+a+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(t){t=e.create([l.year,l.month,t+(i.firstDay?1:0)]);var a=s&&s.pick==t.pick,h=r&&r.pick==t.pick,p=c&&e.disabled(t)||t.pick<u.pick||t.pick>d.pick,f=n.trigger(e.formats.toString,e,[i.format,t]);return[n.node("div",t.date,function(e){return e.push(l.month==t.month?i.klass.infocus:i.klass.outfocus),o.pick==t.pick&&e.push(i.klass.now),a&&e.push(i.klass.selected),h&&e.push(i.klass.highlighted),p&&e.push(i.klass.disabled),e.join(" ")}([i.klass.day]),"data-pick="+t.pick+" "+n.ariaAttr({role:"gridcell",label:f,selected:!(!a||e.$node.val()!==f)||null,activedescendant:!!h||null,disabled:!!p||null})),"",n.ariaAttr({role:"presentation"})]}})]}})),i.klass.table,'id="'+e.$node[0].id+'_table" '+n.ariaAttr({role:"grid",controls:e.$node[0].id,readonly:!0})),i.klass.calendar_container)+n.node("div",n.node("button",i.today,"btn-flat picker__today","type=button data-pick="+o.pick+(t&&!e.disabled(o)?"":" disabled")+" "+n.ariaAttr({controls:e.$node[0].id}))+n.node("button",i.clear,"btn-flat picker__clear","type=button data-clear=1"+(t?"":" disabled")+" "+n.ariaAttr({controls:e.$node[0].id}))+n.node("button",i.close,"btn-flat picker__close","type=button data-close=true "+(t?"":" disabled")+" "+n.ariaAttr({controls:e.$node[0].id})),i.klass.footer)},i.defaults=function(t){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
57ay","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Close",format:"d mmmm, yyyy",klass:{table:t+"table",header:t+"header",date_display:t+"date-display",day_display:t+"day-display",month_display:t+"month-display",year_display:t+"year-display",calendar_container:t+"calendar-container",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}}}(t.klasses().picker+"__"),t.extend("pickadate",i)})),function(t){function e(){var e=+t(this).attr("length"),i=+t(this).val().length,n=e>=i;t(this).parent().find('span[class="character-counter"]').html(i+"/"+e),function(t,e){var i=e.hasClass("invalid");t&&i?e.removeClass("invalid"):t||i||(e.removeClass("valid"),e.addClass("invalid"))}(n,t(this))}function i(){t(this).parent().find('span[class="character-counter"]').html("")}t.fn.characterCounter=function(){return this.each((function(){void 0!==t(this).attr("length")&&(t(this).on("input",e),t(this).on("focus",e),t(this).on("blur",i),function(e){var i=t("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1);e.parent().append(i)}(t(this)))}))},t(document).ready((function(){t("input, textarea").characterCounter()}))}(jQuery),function(t){var e={init:function(e){return e=t.extend({time_constant:200,dist:-100,shift:0,padding:0,full_width:!1},e),this.each((function(){function i(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function n(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function a(t){return t>=v?t%v:0>t?a(v+t%v):t}function o(t){var i,n,o,s,r,l,c;for(p="number"==typeof t?t:p,f=Math.floor((p+g/2)/g),r=-(s=0>(o=p-f*g)?1:-1)*o*2/g,e.full_width?c="translateX(0)":(c="translateX("+(D[0].clientWidth-item_width)/2+"px) ",c+="translateY("+(D[0].clientHeight-item_width)/2+"px)"),(l=h[a(f)]).style[S]=c+" translateX("+-o/2+"px) translateX("+s*e.shift*r*i+"px) translateZ("+e.dist*r+"px)",l.style.zIndex=0,e.full_width?tweenedOpacity=1:tweenedOpacity=1-.2*r,l.style.opacity=tweenedOpacity,n=v>>1,i=1;n>=i;++i)e.full_width?(zTranslation=e.dist,tweenedOpacity=i===n&&0>o?1-r:1):(zTranslation=e.dist*(2*i+r*s),tweenedOpacity=1-.2*(2*i+r*s)),(l=h[a(f+i)]).style[S]=c+" translateX("+(e.shift+(g*i-o)/2)+"px) translateZ("+zTranslation+"px)",l.style.zIndex=-i,l.style.opacity=tweenedOpacity,e.full_width?(zTranslation=e.dist,tweenedOpacity=i===n&&o>0?1-r:1):(zTranslation=e.dist*(2*i-r*s),tweenedOpacity=1-.2*(2*i-r*s)),(l=h[a(f-i)]).style[S]=c+" translateX("+(-e.shift+(-g*i-o)/2)+"px) translateZ("+zTranslation+"px)",l.style.zIndex=-i,l.style.opacity=tweenedOpacity;(l=h[a(f)]).style[S]=c+" translateX("+-o/2+"px) translateX("+s*e.shift*r+"px) translateZ("+e.dist*r+"px)",l.style.zIndex=0,e.full_width?tweenedOpacity=1:tweenedOpacity=1-.2*r,l.style.opacity=tweenedOpacity}function s(){var t,e,i;e=(t=Date.now())-T,T=t,i=p-k,k=p,x=.8*(1e3*i/(1+e))+.2*x}function r(){var t,i;_&&(t=Date.now()-T,(i=_*Math.exp(-t/e.time_constant))>2||-2>i?(o(C-i),requestAnimationFrame(r)):o(C))}function l(i){if(P)return i.preventDefault(),i.stopPropagation(),!1;if(!e.full_width){var n=t(i.target).closest(".carousel-item").index(),a=f%v-n;0>a?Math.abs(a+v)<Math.abs(a)&&(a+=v):a>0&&Math.abs(a-v)<a&&(a-=v),0>a?t(this).trigger("carouselNext",[Math.abs(a)]):a>0&&t(this).trigger("carouselPrev",[a])}}function c(t){m=!0,P=!1,O=!1,w=i(t),b=n(t),x=_=0,k=p,T=Date.now(),clearInterval(M),M=setInterval(s,100)}function u(t){var e,a;if(m)if(e=i(t),y=n(t),a=w-e,30>Math.abs(b-y)&&!O)(a>2||-2>a)&&(P=!0,w=e,o(p+a));else{if(P)return t.preventDefault(),t.stopPropagation(),!1;O=!0}return P?(t.preventDefault(),t.stopPropagation(),!1):void 0}function d(t){return m=!1,clearInterval(M),C=p,(x>10||-10>x)&&(C=p+(_=.9*x)),C=Math.round(C/g)*g,_=C-p,T=Date.now(),requestAnimationFrame(r),t.preventDefault(),t.stopPropagation(),!1}var h,p,f,m,g,v,w,b,_,C,x,S,k,T,M,P,O,D=t(this);return!!D.hasClass("initialized")||(e.full_width&&(e.dist=0,imageHeight=D.find(".carousel-item img").first().load((function(){D.css("height",t(this).height())}))),D.addClass("initialized"),m=!1,p=C=0,h=[],item_width=D.find(".carousel-item").first().innerWidth(),g=2*item_width+e.padding,D.find(".carousel-item").each((function(){h.push(t(this)[0])})),v=h.length,S="transform",["webkit","Moz","O","ms"].every((function(t){var e=t+"Transform";return void 0===document.body.style[e]||(S=e,!1)})),window.onresize=o,void 0!==window.ontouchstart&&(D[0].addEventListener("touchstart",c),D[0].addEventListener("touchmove",u),D[0].addEventListener("touchend",d)),D[0].addEventListener("mousedown",c),D[0].addEventListener("mousemove",u),D[0].addEventListener("mouseup",d),D[0].addEventListener("click",l),o(p),t(this).on("carouselNext",(function(t,e){void 0===e&&(e=1),p!==(C=p+g*e)&&(_=C-p,T=Date.now(),requestAnimationFrame(r))})),void t(this).on("carouselPrev",(function(t,e){void 0===e&&(e=1),p!==(C=p-g*e)&&(_=C-p,T=Date.now(),requestAnimationFrame(r))})))}))},next:function(e){t(this).trigger("carouselNext",[e])},prev:function(e){t(this).trigger("carouselPrev",[e])}};t.fn.carousel=function(i){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1
57)):"object"!=typeof i&&i?void t.error("Method "+i+" does not exist on jQuery.carousel"):e.init.apply(this,arguments)}}(jQuery),function(t){t.fn.qt360player=function(e,i){t("body").hasClass("mobile"),void 0===e&&(e="body");var n,a=!1,o=!1,s=t(e).find("#qtTracktitle"),r="mdi-av-play-arrow",l="";"destroy"===i&&t.fn.destroyAll360Sounds(),soundManager.setup({url:t("body").attr("data-soundmanagerurl"),allowScriptAccess:"always",useHighPerformance:!0,consoleOnly:!0,debugMode:!1,debugFlash:!1}),soundManager.flash9Options.useWaveformData=!0,soundManager.flash9Options.useEQData=!0,soundManager.flash9Options.usePeakData=!0,soundManager.preferFlash=!0,soundManager.flashVersion=9,threeSixtyPlayer.config={playNext:!1,autoPlay:!1,allowMultiple:!1,loadRingColor:t("#qtBody").attr("data-accentcolordark"),playRingColor:t("#qtBody").attr("data-textcolor"),backgroundRingColor:t("#qtBody").attr("data-accentcolor"),circleDiameter:360,circleRadius:180,animDuration:500,animTransition:Animator.tx.bouncy,showHMSTime:!0,useWaveformData:!1,waveformDataColor:"#fff",waveformDataDownsample:3,waveformDataOutside:!1,waveformDataConstrain:!1,waveformDataLineRatio:.8,useEQData:!0,eqDataColor:"#FFF",eqDataDownsample:2,eqDataOutside:!0,eqDataLineRatio:.73,usePeakData:!0,peakDataColor:"#FFF",peakDataOutside:!0,peakDataLineRatio:1.8,scaleArcWidth:.8,useAmplifier:!0,useFavIcon:!0},"number"==typeof t.mainVolumeLevel&&(console.log("Setting volume to "+t.mainVolumeLevel),soundManager.setVolume(t.mainVolumeLevel));var c=threeSixtyPlayer.events.play,u=(threeSixtyPlayer.events.resume,threeSixtyPlayer.events.finish),d=threeSixtyPlayer.events.pause,h=threeSixtyPlayer.events.stop;threeSixtyPlayer.events.play=function(){console.log("state: "+a),a="play",soundManager.stop("currentSound"),soundManager.destroySound("currentSound"),t(e).find(".sm2-360ui").addClass("sm2_playing"),t(e).find("a.beingplayed i").removeClass(r).addClass("mdi-av-pause"),c.apply(this),console.log("Volume state form Cookie: "+t.mainVolumeLevel),soundManager.setVolume(t.mainVolumeLevel),"number"==typeof t.mainVolumeLevel&&(console.log("Setting volume to "+t.mainVolumeLevel),soundManager.setVolume(t.mainVolumeLevel)),t.fn.qtPlayerStateChange(1)};threeSixtyPlayer.events.resume=function(){console.log("state: "+a),c.apply(this),t.fn.qtPlayerStateChange(1)};threeSixtyPlayer.events.finish=function(){console.log("state: "+a);var i=t("a.beingplayed").closest("li").next();i.length>0?i.find("a[data-playtrack]").click():(t(e).find("a.beingplayed").removeClass("beingplayed").find("i").removeClass("mdi-av-pause").addClass(r),a="finish"),u.apply(this),t.fn.qtPlayerStateChange(0)};threeSixtyPlayer.events.pause=function(){console.log("state: "+a),a="pause",t(e).find("a.beingplayed i").removeClass("mdi-av-pause").addClass(r),d.apply(this),t.fn.qtPlayerStateChange(0)};function p(i,a){if(console.log("\n ======== loadInPlayer init =========="),t.fn.destroyAll360Sounds(),void 0!==i.attr("data-playtrack")){mp3url=i.attr("data-playtrack").split("geo-sample").join("sample"),l=mp3url.split(".").pop(),console.log("Track Extension: "+l),console.log("Loading mp3 file: "+mp3url),n=i.attr("data-target"),o=t("#"+n),soundManager.stopAll();var o=t(".ui360");o.empty();var c=Math.floor(1e6*Math.random());o.append('<a id="playerlink" href="'+mp3url+"?ver="+c+'"></a>'),a&&(console.log("Autoplay executing"),threeSixtyPlayer.config.autoPlay=!0,t(e).find("a.beingplayed").removeClass("beingplayed").find("i").removeClass("mdi-av-pause").addClass(r),mp3url,i.addClass("beingplayed").find("i").removeClass(r).addClass("mdi-av-pause")),s.html('<i class="fa fa-music"></i> '+i.attr("data-title")),threeSixtyPlayer.init()}}if(threeSixtyPlayer.events.stop=function(){console.log("state: "+a),a="stop",t(e).find("a.beingplayed").removeClass("beingplayed").find("i").removeClass("mdi-av-pause").addClass(r),h.apply(this),t.fn.qtPlayerStateChange(0)},String.prototype.stripSlashes=function(){return this.replace(/\\(.)/gm,"$1")},!1===o){var f=t(e).find("a[data-playtrack]").first();console.log("First track: "+f),f.length>0&&(console.log("First track loaded"),p(f,!1),f.addClass("beingplayed")),o=!0}t(e).off("click","a[data-playtrack]"),t(e).on("click","a[data-playtrack]",(function(i){return i.preventDefault(),t(this).hasClass("beingplayed")?t(e).find(".sm2-360btn").click():p(t(this),!0),!1})),t(e).off("click","a.playnext"),t(e).on("click","a.playnext",(function(i){return console.log("playnext"),i.preventDefault(),t(e).find("a.beingplayed").closest("li").next().find("a[data-playtrack]").click(),!1})),t(e).off("click","a.playprev"),t(e).on("click","a.playprev",(function(i){return console.log("playprev"),i.preventDefault(),t(e).find("a.beingplayed").closest("li").prev().find("a[data-playtrack]").click(),!1}))}}
57(jQuery),window.Modernizr=function(t,e,i){function n(t){m.cssText=t}function a(t,e){return typeof t===e}function o(t,e){return!!~(""+t).indexOf(e)}function s(t,e){for(var n in t){var a=t[n];if(!o(a,"-")&&m[a]!==i)return"pfx"!=e||a}return!1}function r(t,e,n){for(var o in t){var s=e[t[o]];if(s!==i)return!1===n?t[o]:a(s,"function")?s.bind(n||e):s}return!1}function l(t,e,i){var n=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+y.join(n+" ")+n).split(" ");return a(e,"string")||a(e,"undefined")?s(o,e):r(o=(t+" "+w.join(n+" ")+n).split(" "),e,i)}var c,u,d={},h=e.documentElement,p="modernizr",f=e.createElement(p),m=f.style,g=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),v="Webkit Moz O ms",y=v.split(" "),w=v.toLowerCase().split(" "),b={},_=[],C=_.slice,x=function(t,i,n,a){var o,s,r,l,c=e.createElement("div"),u=e.body,d=u||e.createElement("body");if(parseInt(n,10))for(;n--;)(r=e.createElement("div")).id=a?a[n]:p+(n+1),c.appendChild(r);return o=["&#173;",'<style id="s',p,'">',t,"</style>"].join(""),c.id=p,(u?c:d).innerHTML+=o,d.appendChild(c),u||(d.style.background="",d.style.overflow="hidden",l=h.style.overflow,h.style.overflow="hidden",h.appendChild(d)),s=i(c,t),u?c.parentNode.removeChild(c):(d.parentNode.removeChild(d),h.style.overflow=l),!!s},S={}.hasOwnProperty;for(var k in u=a(S,"undefined")||a(S.call,"undefined")?function(t,e){return e in t&&a(t.constructor.prototype[e],"undefined")}:function(t,e){return S.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;var i=C.call(arguments,1),n=function(){if(this instanceof n){var a=function(){};a.prototype=e.prototype;var o=new a,s=e.apply(o,i.concat(C.call(arguments)));return Object(s)===s?s:o}return e.apply(t,i.concat(C.call(arguments)))};return n}),b.touch=function(){var i;return"ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch?i=!0:x(["@media (",g.join("touch-enabled),("),p,")","{#modernizr{top:9px;position:absolute}}"].join(""),(function(t){i=9===t.offsetTop})),i},b.csstransforms3d=function(){var t=!!l("perspective");return t&&"webkitPerspective"in h.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",(function(e,i){t=9===e.offsetLeft&&3===e.offsetHeight})),t},b)u(b,k)&&(c=k.toLowerCase(),d[c]=b[k](),_.push((d[c]?"":"no-")+c));return d.addTest=function(t,e){if("object"==typeof t)for(var n in t)u(t,n)&&d.addTest(n,t[n]);else{if(t=t.toLowerCase(),d[t]!==i)return d;e="function"==typeof e?e():e,h.className+=" "+(e?"":"no-")+t,d[t]=e}return d},n(""),f=null,function(t,e){function i(){var t=f.elements;return"string"==typeof t?t.split(" "):t}function n(t){var e=p[t[d]];return e||(e={},h++,t[d]=h,p[h]=e),e}function a(t,i,a){return i||(i=e),r?i.createElement(t):(a||(a=n(i)),(o=a.cache[t]?a.cache[t].cloneNode():u.test(t)?(a.cache[t]=a.createElem(t)).cloneNode():a.createElem(t)).canHaveChildren&&!c.test(t)?a.frag.appendChild(o):o);var o}function o(t){t||(t=e);var o=n(t);return f.shivCSS&&!s&&!o.hasCSS&&(o.hasCSS=!!function(t,e){var i=t.createElement("p"),n=t.getElementsByTagName("head")[0]||t.documentElement;return i.innerHTML="x<style>"+e+"</style>",n.insertBefore(i.lastChild,n.firstChild)}(t,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),r||function(t,e){e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocumentFragment,e.frag=e.createFrag()),t.createElement=function(i){return f.shivMethods?a(i,t,e):e.createElem(i)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,(function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'")'}))+");return n}")(f,e.frag)}(t,o),t}var s,r,l=t.html5||{},c=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?: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,d="_html5shiv",h=0,p={};!function(){try{var t=e.createElement("a");t.innerHTML="<xyz></xyz>",s="hidden"in t,r=1==t.childNodes.length||function(){e.createElement("a");var t=e.createDocumentFragment();return void 0===t.cloneNode||void 0===t.createDocumentFragment||void 0===t.createElement}()}catch(t){s=!0,r=!0}}();var f={elements:l.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==l.shivCSS,supportsUnknownElements:r,shivMethods:!1!==l.shivMethods,t
57ype:"default",shivDocument:o,createElement:a,createDocumentFragment:function(t,a){if(t||(t=e),r)return t.createDocumentFragment();for(var o=(a=a||n(t)).frag.cloneNode(),s=0,l=i(),c=l.length;s<c;s++)o.createElement(l[s]);return o}};t.html5=f,o(e)}(this,e),d._version="2.6.2",d._prefixes=g,d._domPrefixes=w,d._cssomPrefixes=y,d.testProp=function(t){return s([t])},d.testAllProps=l,d.testStyles=x,d.prefixed=function(t,e,i){return e?l(t,e,i):l(t,"pfx")},h.className=h.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+_.join(" "),d}(this,this.document),function(t,e,i){function n(t){return"[object Function]"==g.call(t)}function a(t){return"string"==typeof t}function o(){}function s(t){return!t||"loaded"==t||"complete"==t||"uninitialized"==t}function r(){var t=v.shift();y=1,t?t.t?f((function(){("c"==t.t?h.injectCss:h.injectJs)(t.s,0,t.a,t.x,t.e,1)}),0):(t(),r()):y=0}function l(t,i,n,a,o,l,c){function u(e){if(!p&&s(d.readyState)&&(w.r=p=1,!y&&r(),d.onload=d.onreadystatechange=null,e))for(var n in"img"!=t&&f((function(){_.removeChild(d)}),50),T[i])T[i].hasOwnProperty(n)&&T[i][n].onload()}c=c||h.errorTimeout;var d=e.createElement(t),p=0,g=0,w={t:n,s:i,e:o,a:l,x:c};1===T[i]&&(g=1,T[i]=[]),"object"==t?d.data=i:(d.src=i,d.type=t),d.width=d.height="0",d.onerror=d.onload=d.onreadystatechange=function(){u.call(this,g)},v.splice(a,0,w),"img"!=t&&(g||2===T[i]?(_.insertBefore(d,b?null:m),f(u,c)):T[i].push(d))}function c(t,e,i,n,o){return y=0,e=e||"j",a(t)?l("c"==e?x:C,t,e,this.i++,i,n,o):(v.splice(this.i++,0,t),1==v.length&&r()),this}function u(){var t=h;return t.loader={load:c,i:0},t}var d,h,p=e.documentElement,f=t.setTimeout,m=e.getElementsByTagName("script")[0],g={}.toString,v=[],y=0,w="MozAppearance"in p.style,b=w&&!!e.createRange().compareNode,_=b?p:m.parentNode,C=(p=t.opera&&"[object Opera]"==g.call(t.opera),p=!!e.attachEvent&&!p,w?"object":p?"script":"img"),x=p?"script":C,S=Array.isArray||function(t){return"[object Array]"==g.call(t)},k=[],T={},M={timeout:function(t,e){return e.length&&(t.timeout=e[0]),t}};(h=function(t){function e(t,e,i,a,o){var s=function(t){t=t.split("!");var e,i,n,a=k.length,o=t.pop(),s=t.length;for(o={url:o,origUrl:o,prefixes:t},i=0;i<s;i++)n=t[i].split("="),(e=M[n.shift()])&&(o=e(o,n));for(i=0;i<a;i++)o=k[i](o);return o}(t),r=s.autoCallback;s.url.split(".").pop().split("?").shift(),s.bypass||(e&&(e=n(e)?e:e[t]||e[a]||e[t.split("/").pop().split("?")[0]]),s.instead?s.instead(t,e,i,a,o):(T[s.url]?s.noexec=!0:T[s.url]=1,i.load(s.url,s.forceCSS||!s.forceJS&&"css"==s.url.split(".").pop().split("?").shift()?"c":void 0,s.noexec,s.attrs,s.timeout),(n(e)||n(r))&&i.load((function(){u(),e&&e(s.origUrl,o,a),r&&r(s.origUrl,o,a),T[s.url]=2}))))}function i(t,i){function s(t,o){if(t){if(a(t))o||(d=function(){var t=[].slice.call(arguments);h.apply(this,t),p()}),e(t,d,i,0,c);else if(Object(t)===t)for(l in r=function(){var e,i=0;for(e in t)t.hasOwnProperty(e)&&i++;return i}(),t)t.hasOwnProperty(l)&&(!o&&!--r&&(n(d)?d=function(){var t=[].slice.call(arguments);h.apply(this,t),p()}:d[l]=function(t){return function(){var e=[].slice.call(arguments);t&&t.apply(this,e),p()}}(h[l])),e(t[l],d,i,l,c))}else!o&&p()}var r,l,c=!!t.test,u=t.load||t.both,d=t.callback||o,h=d,p=t.complete||o;s(c?t.yep:t.nope,!!u),u&&s(u)}var s,r,l=this.yepnope.loader;if(a(t))e(t,0,l,0);else if(S(t))for(s=0;s<t.length;s++)a(r=t[s])?e(r,0,l,0):S(r)?h(r):Object(r)===r&&i(r,l);else Object(t)===t&&i(t,l)}).addPrefix=function(t,e){M[t]=e},h.addFilter=function(t){k.push(t)},h.errorTimeout=1e4,null==e.readyState&&e.addEventListener&&(e.readyState="loading",e.addEventListener("DOMContentLoaded",d=function(){e.removeEventListener("DOMContentLoaded",d,0),e.readyState="complete"},0)),t.yepnope=u(),t.yepnope.executeStack=r,t.yepnope.injectJs=function(t,i,n,a,l,c){var u,d,p=e.createElement("script");a=a||h.errorTimeout;for(d in p.src=t,n)p.setAttribute(d,n[d]);i=c?r:i||o,p.onreadystatechange=p.onload=function(){!u&&s(p.readyState)&&(u=1,i(),p.onload=p.onreadystatechange=null)},f((function(){u||(u=1,i(1))}),a),l?p.onload():m.parentNode.insertBefore(p,m)},t.yepnope.injectCss=function(t,i,n,a,s,l){var c;a=e.createElement("link"),i=l?r:i||o;for(c in a.href=t,a.rel="stylesheet",a.type="text/css",n)a.setAttribute(c,n[c]);s||(m.parentNode.insertBefore(a,m),f(i,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},
58/*!
59 * classie - class helper functions
60 * from bonzo https://github.com/ded/bonzo
61 * 
62 * classie.has( elem, 'my-class' ) -> true/false
63 * classie.add( elem, 'my-new-class' )
64 * classie.remove( elem, 'my-unwanted-class' )
65 * classie.toggle( elem, 'my-class' )
66 */
67function(t){"use strict";function e(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}var i,n,a;function o(t,e){(i(t,e)?a:n)(t,e)}"classList"in document.documentElement?(i=function(t,e){return t.classList.contains(e)},n=function(t,e){t.classList.add(e)},a=function(t,e){t.classList.remove(e)}):(i=function(t,i){return e(i).test(t.className)},n=function(t,e){i(t,e)||(t.className=t.className+" "+e)},a=function(t,i){t.className=t.className.replace(e(i)," ")}
67);var s={hasClass:i,addClass:n,removeClass:a,toggleClass:o,has:i,add:n,remove:a,toggle:o};"function"==typeof define&&define.amd?define(s):t.classie=s}(window);var FlipClock,Base=function(){};function embedMixcloudPlayer(t){var e=encodeURIComponent(t);return'<iframe data-state="0" class="mixcloudplayer" width="100%" height="80" src="//www.mixcloud.com/widget/iframe/?feed='+(e=e.replace("https","http"))+'&embed_uuid=addfd1ba-1531-4f6e-9977-6ca2bd308dcc&stylecolor=&embed_type=widget_standard" frameborder="0"></iframe><div class="canc"></div>'}function embedVideo(t,e,i){i=e/16*9;var n=t.match(/=[\w-]{11}/)[0].replace(/=/,"");return'<iframe width="'+e+'" height="'+i+'" src="'+window.location.protocol+"//www.youtube.com/embed/"+n+'?html5=1" frameborder="0" class="youtube-player" allowfullscreen></iframe>'}function embedYahooVideo(t){var e=t,i=e.match(/\d{8}/),n=e.match(/\d{7}/),a='<div class="embedded_video">\n';return a+='<object width="100%">\n',a+='<param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" />\n',a+='<param name="allowFullScreen" value="true" />\n',a+='<param name="AllowScriptAccess" VALUE="always" />\n',a+='<param name="bgcolor" value="#000000" />\n',a+='<param name="flashVars" value="id='+i+"&vid="+n+'&lang=en-us&intl=us&embed=1&ap=9460582" />\n',a+='<embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.46" type="application/x-shockwave-flash"  allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id='+i+"&vid="+n+'&lang=en-us&intl=us&embed=1&ap=9460582" >\n',a+="</embed>\n",a+="</object>\n",a+="</div>\n"}Base.extend=function(t,e){"use strict";var i=Base.prototype.extend;Base._prototyping=!0;var n=new this;i.call(n,t),n.base=function(){},delete Base._prototyping;var a=n.constructor,o=n.constructor=function(){if(!Base._prototyping)if(this._constructing||this.constructor==o)this._constructing=!0,a.apply(this,arguments),delete this._constructing;else if(null!==arguments[0])return(arguments[0].extend||i).call(arguments[0],n)};return o.ancestor=this,o.extend=this.extend,o.forEach=this.forEach,o.implement=this.implement,o.prototype=n,o.toString=this.toString,o.valueOf=function(t){return"object"==t?o:a.valueOf()},i.call(o,e),"function"==typeof o.init&&o.init(),o},Base.prototype={extend:function(t,e){if(arguments.length>1){var i=this[t];if(i&&"function"==typeof e&&(!i.valueOf||i.valueOf()!=e.valueOf())&&/\bbase\b/.test(e)){var n=e.valueOf();(e=function(){var t=this.base||Base.prototype.base;this.base=i;var e=n.apply(this,arguments);return this.base=t,e}).valueOf=function(t){return"object"==t?e:n},e.toString=Base.toString}this[t]=e}else if(t){var a=Base.prototype.extend;Base._prototyping||"function"==typeof this||(a=this.extend||a);for(var o={toSource:null},s=["constructor","toString","valueOf"],r=Base._prototyping?0:1;l=s[r++];)t[l]!=o[l]&&a.call(this,l,t[l]);for(var l in t)o[l]||a.call(this,l,t[l])}return this}},Base=Base.extend({constructor:function(){this.extend(arguments[0])}},{ancestor:Object,version:"1.1",forEach:function(t,e,i){for(var n in t)void 0===this.prototype[n]&&e.call(i,t[n],n,t)},implement:function(){for(var t=0;t<arguments.length;t++)"function"==typeof arguments[t]?arguments[t](this.prototype):this.prototype.extend(arguments[t]);return this},toString:function(){return String(this.valueOf())}}),function(t){"use strict";(FlipClock=function(t,e,i){return e instanceof Object&&e instanceof Date==0&&(i=e,e=0),new FlipClock.Factory(t,e,i)}).Lang={},FlipClock.Base=Base.extend({buildDate:"2014-12-12",version:"0.7.7",constructor:function(e,i){"object"!=typeof e&&(e={}),"object"!=typeof i&&(i={}),this.setOptions(t.extend(!0,{},e,i))},callback:function(t){if("function"==typeof t){for(var e=[],i=1;i<=arguments.length;i++)arguments[i]&&e.push(arguments[i]);t.apply(this,e)}},log:function(t){window.console&&console.log&&console.log(t)},getOption:function(t){return!!this[t]&&this[t]},getOptions:function(){return this},setOption:function(t,e){this[t]=e},setOptions:function(t){for(var e in t)void 0!==t[e]&&this.setOption(e,t[e])}})}(jQuery),function(t){"use strict";FlipClock.Face=FlipClock.Base.extend({autoStart:!0,dividers:[],factory:!1,lists:[],constructor:function(t,e){this.dividers=[],this.lists=[],this.base(e),this.factory=t},build:function(){this.autoStart&&this.start()},createDivider:function(e,i,n){"boolean"!=typeof i&&i||(n=i,i=e);var a=['<span class="'+this.factory.classes.dot+' top"></span>','<span class="'+this.factory.classes.dot+' bottom"></span>'].join("");n&&(a=""),e=this.factory.localize(e);var o=['<span class="'+this.factory.classes.divider+" "+(i||"").toLowerCase()+'">','<span class="'+this.factory.classes.label+'">'+(e||"")+"</span>
67",a,"</span>"],s=t(o.join(""));return this.dividers.push(s),s},createList:function(t,e){"object"==typeof t&&(e=t,t=0);var i=new FlipClock.List(this.factory,t,e);return this.lists.push(i),i},reset:function(){this.factory.time=new FlipClock.Time(this.factory,this.factory.original?Math.round(this.factory.original):0,{minimumDigits:this.factory.minimumDigits}),this.flip(this.factory.original,!1)},appendDigitToClock:function(t){t.$el.append(!1)},addDigit:function(t){var e=this.createList(t,{classes:{active:this.factory.classes.active,before:this.factory.classes.before,flip:this.factory.classes.flip}});this.appendDigitToClock(e)},start:function(){},stop:function(){},autoIncrement:function(){this.factory.countdown?this.decrement():this.increment()},increment:function(){this.factory.time.addSecond()},decrement:function(){0==this.factory.time.getTimeSeconds()?this.factory.stop():this.factory.time.subSecond()},flip:function(e,i){var n=this;t.each(e,(function(t,e){var a=n.lists[t];a?(i||e==a.digit||a.play(),a.select(e)):n.addDigit(e)}))}})}(jQuery),function(t){"use strict";FlipClock.Factory=FlipClock.Base.extend({animationRate:1e3,autoStart:!0,callbacks:{destroy:!1,create:!1,init:!1,interval:!1,start:!1,stop:!1,reset:!1},classes:{active:"flip-clock-active",before:"flip-clock-before",divider:"flip-clock-div
67ider",dot:"flip-clock-dot",label:"flip-clock-label",flip:"flip",play:"play",wrapper:"flip-clock-wrapper"},clockFace:"HourlyCounter",countdown:!1,defaultClockFace:"HourlyCounter",defaultLanguage:"english",$el:!1,face:!0,lang:!1,language:"english",minimumDigits:0,original:!1,running:!1,time:!1,timer:!1,$wrapper:!1,constructor:function(e,i,n){n||(n={}),this.lists=[],this.running=!1,this.base(n),this.$el=t(e).addClass(this.classes.wrapper),this.$wrapper=this.$el,this.original=i instanceof Date?i:i?Math.round(i):0,this.time=new FlipClock.Time(this,this.original,{minimumDigits:this.minimumDigits,animationRate:this.animationRate}),this.timer=new FlipClock.Timer(this,n),this.loadLanguage(this.language),this.loadClockFace(this.clockFace,n),this.autoStart&&this.start()},loadClockFace:function(t,e){var i,n="Face",a=!1;return t=t.ucfirst()+n,this.face.stop&&(this.stop(),a=!0),this.$el.html(""),this.time.minimumDigits=this.minimumDigits,(i=FlipClock[t]?new FlipClock[t](this,e):new FlipClock[this.defaultClockFace+n](this,e)).build(),this.face=i,a&&this.start(),this.face},loadLanguage:function(t){var e;return e=FlipClock.Lang[t.ucfirst()]?FlipClock.Lang[t.ucfirst()]:FlipClock.Lang[t]?FlipClock.Lang[t]:FlipClock.Lang[this.defaultLanguage],this.lang=e},localize:function(t,e){var i=this.lang;if(!t)return null;var n=t.toLowerCase();return"object"==typeof e&&(i=e),i&&i[n]?i[n]:t},start:function(t){var e=this;e.running||e.countdown&&!(e.countdown&&e.time.time>0)?e.log("Trying to start timer when countdown already at 0"):(e.face.start(e.time),e.timer.start((function(){e.flip(),"function"==typeof t&&t()})))},stop:function(t){for(var e in this.face.stop(),this.timer.stop(t),this.lists)this.lists.hasOwnProperty(e)&&this.lists[e].stop()},reset:function(t){this.timer.reset(t),this.face.reset()},setTime:function(t){this.time.time=t,this.flip(!0)},getTime:function(){return this.time},setCountdown:function(t){var e=this.running;this.countdown=!!t,e&&(this.stop(),this.start())},flip:function(t){this.face.flip(!1,t)}})}(jQuery),function(t){"use strict";FlipClock.List=FlipClock.Base.extend({digit:0,classes:{active:"flip-clock-active",before:"flip-clock-before",flip:"flip"},factory:!1,$el:!1,$obj:!1,items:[],lastDigit:0,constructor:function(t,e){this.factory=t,this.digit=e,this.lastDigit=e,this.$el=this.createList(
67),this.$obj=this.$el,e>0&&this.select(e),this.factory.$el.append(this.$el)},select:function(t){if(void 0===t?t=this.digit:this.digit=t,this.digit!=this.lastDigit){var e=this.$el.find("."+this.classes.before).removeClass(this.classes.before);this.$el.find("."+this.classes.active).removeClass(this.classes.active).addClass(this.classes.before),this.appendListItem(this.classes.active,this.digit),e.remove(),this.lastDigit=this.digit}},play:function(){this.$el.addClass(this.factory.classes.play)},stop:function(){var t=this;setTimeout((function(){t.$el.removeClass(t.factory.classes.play)}),this.factory.timer.interval)},createListItem:function(t,e){return['<li class="'+(t||"")+'">','<a href="#">','<div class="up">','<div class="shadow"></div>','<div class="inn">'+(e||"")+"</div>","</div>",'<div class="down">','<div class="shadow"></div>','<div class="inn">'+(e||"")+"</div>","</div>","</a>","</li>"].join("")},appendListItem:function(t,e){var i=this.createListItem(t,e);this.$el.append(i)},createList:function(){var e=this.getPrevDigit()?this.getPrevDigit():this.digit;return t(['<ul class="'+this.classes.flip+" "+(this.factory.running?this.factory.classes.play:"")+'">',this.createListItem(this.classes.before,e),this.createListItem(this.classes.active,this.digit),"</ul>"].join(""))},getNextDigit:function(){return 9==this.digit?0:this.digit+1},getPrevDigit:function(){return 0==this.digit?9:this.digit-1}})}(jQuery),function(t){"use strict";String.prototype.ucfirst=function(){return this.substr(0,1).toUpperCase()+this.substr(1)},t.fn.FlipClock=function(e,i){return new FlipClock(t(this),e,i)},t.fn.flipClock=function(e,i){return t.fn.FlipClock(e,i)}}(jQuery),function(t){"use strict";FlipClock.Time=FlipClock.Base.extend({time:0,factory:!1,minimumDigits:0,constructor:function(t,e,i){"object"!=typeof i&&(i={}),i.minimumDigits||(i.minimumDigits=t.minimumDigits),this.base(i),this.factory=t,e&&(this.time=e)},convertDigitsToArray:function(t){var e=[];t=t.toString();for(var i=0;i<t.length;i++)t[i].match(/^\d*$/g)&&e.push(t[i]);return e},digit:function(t){var e=this.toString(),i=e.length;return!!e[i-t]&&e[i-t]},digitize:function(e){var i=[];if(t.each(e,(function(t,e){1==(e=e.toString()).length&&(e="0"+e);for(var n=0;n<e.length;n++)i.push(e.charAt(n))})),i.length>this.minimumDigits&&(this.minimumDigits=i.length),this.minimumDigits>i.length)for(var n=i.length;n<this.minimumDigits;n++)i.unshift("0");return i},getDateObject:function(){return this.time instanceof Date?this.time:new Date((new Date).getTime()+1e3*this.getTimeSeconds())},getDayCounter:function(t){var e=[this.getDays(),this.getHours(!0),this.getMinutes(!0)];return t&&e.push(this.getSeconds(!0)),this.digitize(e)},getDays:function(t){var e=this.getTimeSeconds()/60/60/24;return t&&(e%=7),Math.floor(e)},getHourCounter:function(){return this.digitize([this.getHours(),this.getMinutes(!0),this.get
67Seconds(!0)])},getHourly:function(){return this.getHourCounter()},getHours:function(t){var e=this.getTimeSeconds()/60/60;return t&&(e%=24),Math.floor(e)},getMilitaryTime:function(t,e){void 0===e&&(e=!0),t||(t=this.getDateObject());var i=[t.getHours(),t.getMinutes()];return!0===e&&i.push(t.getSeconds()),this.digitize(i)},getMinutes:function(t){var e=this.getTimeSeconds()/60;return t&&(e%=60),Math.floor(e)},getMinuteCounter:function(){return this.digitize([this.getMinutes(),this.getSeconds(!0)])},getTimeSeconds:function(t){return t||(t=new Date),this.time instanceof Date?this.factory.countdown?Math.max(this.time.getTime()/1e3-t.getTime()/1e3,0):t.getTime()/1e3-this.time.getTime()/1e3:this.time},getTime:function(t,e){void 0===e&&(e=!0),t||(t=this.getDateObject()),console.log(t);var i=t.getHours(),n=[i>12?i-12:0===i?12:i,t.getMinutes()];return!0===e&&n.push(t.getSeconds()),this.digitize(n)},getSeconds:function(t){var e=this.getTimeSeconds();return t&&(60==e?e=0:e%=60),Math.ceil(e)},getWeeks:function(t){var e=this.getTimeSeconds()/60/60/24/7;return t&&(e%=52),Math.floor(e)},removeLeadingZeros:function(e,i){var n=0,a=[];return t.each(i,(function(t){e>t?n+=parseInt(i[t],10):a.push(i[t])})),0===n?a:i},addSeconds:function(t){this.time instanceof Date?this.time.setSeconds(this.time.getSeconds()+t):this.time+=t},addSecond:function(){this.addSeconds(1)},subSeconds:function(t){this.time instanceof Date?this.time.setSeconds(this.time.getSeconds()-t):this.time-=t},subSecond:function(){this.subSeconds(1)},toString:function(){return this.getTimeSeconds().toString()}})}(jQuery),function(){"use strict";FlipClock.Timer=FlipClock.Base.extend({callbacks:{destroy:!1,create:!1,init:!1,interval:!1,start:!1,stop:!1,reset:!1},count:0,factory:!1,interval:1e3,animationRate:1e3,constructor:function(t,e){this.base(e),this.factory=t,this.callback(this.callbacks.init),this.callback(this.callbacks.create)},getElapsed:function(){return this.count*this.interval},getElapsedTime:function(){return new Date(this.time+this.getElapsed())},reset:function(t){clearInterval(this.timer),this.count=0,this._setInterval(t),this.callback(this.callbacks.reset)},start:function(t){this.factory.running=!0,this._createTimer(t),this.callback(this.callbacks.start)},stop:function(t){this.factory.running=!1,this._clearInterval(t),this.callback(this.callbacks.stop),this.callback(t)},_clearInterval:function(){clearInterval(this.timer)},_createTimer:function(t){this._setInterval(t)},_destroyTimer:function(t){this._clearInterval(),this.timer=!1,this.callback(t),this.callback(this.callbacks.destroy)},_interval:function(t){this.callback(this.callbacks.interval),this.callback(t),this.count++},_setInterval:function(t){var e=this;e._interval(t),e.timer=setInterval((function(){e._interval(t)}),this.interval)}})}(),function(t){FlipClock.TwentyFourHourClockFace=FlipClock.Face.extend({constructor:function(t,e){this.base(t,e)},build:function(e){var i=this,n=this.factory.$el.find("ul");this.factory.time.time||(this.factory.original=new Date,this.factory.time=new FlipClock.Time(this.factory,this.factory.original)),(e=e||this.factory.time.getMilitaryTime(!1,this.showSeconds)).length>n.length&&t.each(e,(function(t,e){i.createList(e)})),this.createDivider(),this.createDivider(),t(this.dividers[0]).insertBefore(this.lists[this.lists.length-2].$el),t(this.dividers[1]).insertBefore(this.lists[this.lists.length-4].$el),this.base()},flip:function(t,e){this.autoIncrement(),t=t||this.factory.time.getMilitaryTime(!1,this.showSeconds),this.base(t,e)}})}(jQuery),function(t){FlipClock.CounterFace=FlipClock.Face.extend({shouldAutoIncrement:!1,constructor:function(t,e){"object"!=typeof e&&(e={}),t.autoStart=!!e.autoStart,e.autoStart&&(this.shouldAutoIncrement=!0),t.increment=function(){t.countdown=!1,t.setTime(t.getTime().getTimeSeconds()+1)},t.decrement=function(){t.countdown=!0;var e=t.getTime().getTimeSeconds();e>0&&t.setTime(e-1)},t.setValue=function(e){t.setTime(e)},t.setCounter=function(e){t.setTime(e)},this.base(t,e)},build:function(){var e=this,i=this.factory.$el.find("ul"),n=this.factory.getTime().digitize([this.factory.getTime().time]);n.length>i.length&&t.each(n,(function(t,i){e.createList(i).select(i)})),t.each(this.lists,(function(t,e){e.play()})),this.base()},flip:function(t,e){this.shouldAutoIncrement&&this.autoIncrement(),t||(t=this.factory.getTime().digitize([this.factory.getTime().time])),this.base(t,e)},reset:function(){this.factory.time=new FlipClock.Time(this.factory,this.factory.original?Math.round(this.factory.original):0),this.flip()}})}(jQuery),function(t){FlipClock.DailyCounterFace=FlipClock.Face.extend({showSeconds:!0,constructor:function(t,e){this.base(t,e)},build:function(e){var i=this,n=this.factory.$el.find("ul"),a=0;(e=e||this.factory.time.getDayCounter(this.showSeconds)).length>n.length&&t.each(e,(function(t,e){i.createList(e)})),this.showSeconds?t(this.createDivider("Seconds")).insertBefore(this.lists[this.lists.length-2].$el):a=2,t(this.createDivider("Minutes")).insertBefore(this.lists[this.lists.length-4+a].$el),t(this.createDivider("Hours")).insertBefore(this.lists[this.lists.length-6+a].$el),t(this.createDivider("Days",!0)).insertBefore(this.lists[0].$el),this.base()},flip:function(t,e){t||(t=this.factory.time.getDayCounter(this.showSeconds)),this.autoIncrement(),this.base(t,e)}})}(jQuery),function(t){FlipClock.HourlyCounterFace=FlipClock.Face.extend({constructor:function(t,e){this.base(t,e)},build:function(e,i){var n=this,a=this.factory.$el.find("ul");(i=i||this.factory.time.getHourCounter()).length>a.length&&t.each(i,(function(t,e){n.createList(e)})),t(this.createDivider("Seconds")).insertBefore(this.lists[this.lists.length-2].$el),t(this.createDivider("Minutes")).insertBefore(this.lists[this.lists.length-4].$el),e||t(this.createDivider("Hours",!0)).insertBefore(this.lists[0].$el),this.base()},flip:function(t,e){t||(t=this.factory.time.getHourCounter()),this.autoIncrement(),this.base(t,e)},appendDigitToClock:function(t){this.base(t),this.dividers[0].insertAfter(this.dividers[0].next())}})}
67(jQuery),FlipClock.MinuteCounterFace=FlipClock.HourlyCounterFace.extend({clearExcessDigits:!1,constructor:function(t,e){this.base(t,e)},build:function(){this.base(!0,this.factory.time.getMinuteCounter())},flip:function(t,e){t||(t=this.factory.time.getMinuteCounter()),this.base(t,e)}}),function(t){FlipClock.TwelveHourClockFace=FlipClock.TwentyFourHourClockFace.extend({meridium:!1,meridiumText:"AM",build:function(){var e=this.factory.time.getTime(!1,this.showSeconds);this.base(e),this.meridiumText=this.getMeridium(),this.meridium=t(['<ul class="flip-clock-meridium">',"<li>",'<a href="#">'+this.meridiumText+"</a>","</li>","</ul>"].join("")),this.meridium.insertAfter(this.lists[this.lists.length-1].$el)},flip:function(t,e){this.meridiumText!=this.getMeridium()&&(this.meridiumText=this.getMeridium(),this.meridium.find("a").html(this.meridiumText)),this.base(this.factory.time.getTime(!1,this.showSeconds),e)},getMeridium:function(){return(new Date).getHours()>=12?"PM":"AM"},isPM:function(){return"PM"==this.getMeridium()},isAM:function(){return"AM"==this.getMeridium()}})}(jQuery),FlipClock.Lang.Arabic={years:"سنوات",months:"شهور",days:"أيام",hours:"ساعات",minutes:"دقائق",seconds:"ثواني"},FlipClock.Lang.ar=FlipClock.Lang.Arabic,FlipClock.Lang["ar-ar"]=FlipClock.Lang.Arabic,FlipClock.Lang.arabic=FlipClock.Lang.Arabic,FlipClock.Lang.Danish={years:"År",months:"Måneder",days:"Dage",hours:"Timer",minutes:"Minutter",seconds:"Sekunder"},FlipClock.Lang.da=FlipClock.Lang.Danish,FlipClock.Lang["da-dk"]=FlipClock.Lang.Danish,FlipClock.Lang.danish=FlipClock.Lang.Danish,FlipClock.Lang.German={years:"Jahre",months:"Monate",days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden"},FlipClock.Lang.de=FlipClock.Lang.German,FlipClock.Lang["de-de"]=FlipClock.Lang.German,FlipClock.Lang.german=FlipClock.Lang.German,FlipClock.Lang.English={years:"Years",months:"Months",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds"},FlipClock.Lang.en=FlipClock.Lang.English,FlipClock.Lang["en-us"]=FlipClock.Lang.English,FlipClock.Lang.english=FlipClock.Lang.English,FlipClock.Lang.Spanish={years:"A&#241;os",months:"Meses",days:"D&#205;as",hours:"Horas",minutes:"Minutos",seconds:"Segundo"},FlipClock.Lang.es=FlipClock.Lang.Spanish,FlipClock.Lang["es-es"]=FlipClock.Lang.Spanish,FlipClock.Lang.spanish=FlipClock.Lang.Spanish,FlipClock.Lang.Finnish={years:"Vuotta",months:"Kuukautta",days:"Päivää",hours:"Tuntia",minutes:"Minuuttia",seconds:"Sekuntia"},FlipClock.Lang.fi=FlipClock.Lang.Finnish,FlipClock.Lang["fi-fi"]=FlipClock.Lang.Finnish,FlipClock.Lang.finnish=FlipClock.Lang.Finnish,FlipClock.Lang.French={years:"Ans",months:"Mois",days:"Jours",hours:"Heures",minutes:"Minutes",seconds:"Secondes"},FlipClock.Lang.fr=FlipClock.Lang.French,FlipClock.Lang["fr-ca"]=FlipClock.Lang.French,FlipClock.Lang.french=FlipClock.Lang.French,FlipClock.Lang.Italian={years:"Anni",months:"Mesi",days:"Giorni",hours:"Ore",minutes:"Minuti",seconds:"Secondi"},FlipClock.Lang.it=FlipClock.Lang.Italian,FlipClock.Lang["it-it"]=FlipClock.Lang.Italian,FlipClock.Lang.italian=FlipClock.Lang.Italian,FlipClock.Lang.Latvian={years:"Gadi",months:"Mēneši",days:"Dienas",hours:"Stundas",minutes:"Minūtes",seconds:"Sekundes"},FlipClock.Lang.lv=FlipClock.Lang.Latvian,FlipClock.Lang["lv-lv"]=FlipClock.Lang.Latvian,FlipClock.Lang.latvian=FlipClock.Lang.Latvian,FlipClock.Lang.Dutch={years:"Jaren",months:"Maanden",days:"Dagen",hours:"Uren",minutes:"Minuten",seconds:"Seconden"},FlipClock.Lang.nl=FlipClock.Lang.Dutch,FlipClock.Lang["nl-be"]=FlipClock.Lang.Dutch,FlipClock.Lang.dutch=FlipClock.Lang.Dutch,FlipClock.Lang.Norwegian={years:"År",months:"Måneder",days:"Dager",hours:"Timer",minutes:"Minutter",seconds:"Sekunder"},FlipClock.Lang.no=FlipClock.Lang.Norwegian,FlipClock.Lang.nb=FlipClock.Lang.Norwegian,FlipClock.Lang["no-nb"]=FlipClock.Lang.Norwegian,FlipClock.Lang.norwegian=FlipClock.Lang.Norwegian,FlipClock.Lang.Portuguese={years:"Anos",months:"Meses",days:"Dias",hours:"Horas",minutes:"Minutos",seconds:"Segundos"},FlipClock.Lang.pt=FlipClock.Lang.Portuguese,FlipClock.Lang["pt-br"]=FlipClock.Lang.Portuguese,FlipClock.Lang.portuguese=FlipClock.Lang.Portuguese,FlipClock.Lang.Russian={years:"лет",months:"месяцев",days:"дней",hours:"часов",minutes:"минут",seconds:"секунд"},FlipClock.Lang.ru=FlipClock.Lang.Russian,FlipClock.Lang["ru-ru"]=FlipClock.Lang.Russian,FlipClock.Lang.russian=FlipClock.Lang.Russian,FlipClock.Lang.Swedish={years:"År",months:"Månader",days:"Dagar",hours:"Timmar",minutes:"Minuter",seconds:"Sekunder"},FlipClock.Lang.sv=FlipClock.Lang.Swedish,FlipClock.Lang["sv-se"]=FlipClock.Lang.Swedish,FlipClock.Lang.swedis
67h=FlipClock.Lang.Swedish,FlipClock.Lang.Chinese={years:"年",months:"月",days:"日",hours:"时",minutes:"分",seconds:"秒"},FlipClock.Lang.zh=FlipClock.Lang.Chinese,FlipClock.Lang["zh-cn"]=FlipClock.Lang.Chinese,FlipClock.Lang.chinese=FlipClock.Lang.Chinese,function(t){"use strict";jQuery.fn.skywheel=function(e){var i,n=t.extend({},t.fn.skywheel.defaults,e),a=(i=document.createElement("style"),document.head.appendChild(i),i.sheet);a.insertRule(".jq_skywheel li{height:"+n.height+";width:"+n.width+";}",a.cssRules.length),a.insertRule(".jq_skywheel li .inner{height:"+n.height+";line-height:"+n.height+";}",a.cssRules.length),this.addClass("jq_skywheel"),this.children().each((function(t,e){}));var o,s=this.children(),r=s.length,l=this,c=this.closest(".qt-gridstackSkywheel"),u=function(e){var i=0,a=0,o=1;for(i=0;i<r;i+=1)t(s[i]).removeClass(),t(s[i]).find(".inner").removeClass("qt-border-accent");for(t(s[e]).addClass("center").find(".inner").addClass("qt-border-accent"),i=e+1;i<3+e;i+=1){t(s[a=i>=r?i-r:i]).addClass("effect"+n.effect+"_"+o+" mask"+o),o+=1}for(o=1,i=e-1;i>e-3;i-=1){t(s[a=i<0?i+r:i]);t(s[a]).addClass("effect"+n.effect+"_n"+o+" mask"+o),o+=1}};"nokey"!=n.keyOption&&t(document).keypress((function(t){var e=t.keyCode,i=l.chosen,a=40,o=38;"updown"==n.keyOption?(a=40,o=38):"leftright"==n.keyOption&&(a=39,o=37),e===o?(u(i=i<=0?r-1:i-1),l.chosen=i):e===a&&(u(i=i>=r-1?0:i+1),l.chosen=i)})),this.chosen=r-1,this.parent().find(".qt-arrowUp").click((function(e){e.preventDefault(),t(this).parent().find(".effect1_n1").click()})),this.parent().find(".qt-arrowDown").click((function(e){e.preventDefault(),t(this).parent().find(".effect1_1").click()})),s.each((function(e,i){t(i).on("click",(function(){if(l.chosen=e,t(i).hasClass("center")){for(o=0;o<r;o+=1)t(s[o]).removeClass();return t(i).addClass("chosen"),void t(i).closest(".qt-gridstackSkywheel.open").removeClass("open")}c.addClass("open"),u(e)})),t(i).on("mouseenter",(function(){})),t(i).on("mouseleave",(function(){}))}))},jQuery.fn.skywheel.defaults={type:"normal",width:"100px",height:"40px",effect:1,keyOption:"leftright"}}(jQuery),function(t){t.fn.prettySocial=function(){var e={pinterest:{url:"http://pinterest.com/pin/create/button/?url={{url}}&media={{media}}&description={{description}}",popup:{width:685,height:500}},facebook:{url:"https://www.facebook.com/sharer/sharer.php?s=100&p[title]={{title}}&p[summary]={{description}}&p[url]={{url}}&p[images][0]={{media}}",popup:{width:626,height:436}},twitter:{url:"https://twitter.com/share?url={{url}}&via={{via}}&text={{description}}",popup:{width:685,height:500}},googleplus:{url:"https://plus.google.com/share?url={{url}}",popup:{width:600,height:600}},linkedin:{url:"https://www.linkedin.com/shareArticle?mini=true&url={{url}}&title={{title}}&summary={{description}}+&source={{via}}",popup:{width:600,height:600}}},i=function(t,e){var i=window.innerWidth/2-t.popup.width/2,n=window.innerHeight/2-t.popup.height/2;return window.open(e,"","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width="+t.popup.width+", height="+t.popup.height+", top="+n+", left="+i)};return this.each((function(){var n=t(this),a=n.data("type"),o=e[a]||null;o||t.error("Social site is not set.");var s={url:n.data("url")||"",title:n.data("title")||"",description:n.data("description")||"",media:n.data("media")||"",via:n.data("via")||""},r=function(t,e){return t.url.replace(/{{url}}/g,encodeURIComponent(e.url)).replace(/{{title}}/g,encodeURIComponent(e.title)).replace(/{{description}}/g,encodeURIComponent(e.description)).replace(/{{media}}/g,encodeURIComponent(e.media)).replace(/{{via}}/g,encodeURIComponent(e.via))}(o,s);navigator.userAgent.match(/Android|IEMobile|BlackBerry|iPhone|iPad|iPod|Opera Mini/i)?n.bind("touchstart",(function(t){t.originalEvent.touches.length>1||n.data("touchWithoutScroll",!0)})).bind("touchmove",(function(){n.data("touchWithoutScroll",!1)})).bind("touchend",(function(t){t.preventDefault();var e=n.data("touchWithoutScroll");t.originalEvent.touches.length>1||!e||i(o,r)})):n.bind("click",(function(t){t.preventDefault(),i(o,r)}))}))}}
67(jQuery),function(t,e,i,n){var a,o,s;function r(e,i){this.settings=null,this.options=t.extend({},r.Defaults,i),this.$element=t(e),this.drag=t.extend({},a),this.state=t.extend({},o),this.e=t.extend({},s),this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._invalidated={},this._pipe=[],t.each(r.Plugins,t.proxy((function(t,e){this._plugins[t[0].toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(r.Pipe,t.proxy((function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})}),this)),this.setup(),this.initialize()}function l(t){if(void 0!==t.touches)return{x:t.touches[0].pageX,y:t.touches[0].pageY};if(void 0===t.touches){if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY};if(void 0===t.pageX)return{x:t.clientX,y:t.clientY}}}function c(t){var e,n,a=i.createElement("div"),o=t;for(e in o)if(n=o[e],void 0!==a.style[n])return a=null,[n,e];return[!1]}a={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null},o={isTouch:!1,isScrolling:!1,isSwiping:!1,direction:!1,inMotion:!1},s={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null},r.Defaults={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"},r.Width={Default:"default",Inner:"inner",Outer:"outer"},r.Plugins={},r.Pipe=[{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){var t=this._clones;(this.$stage.children(".cloned").length!==t.length||!this.settings.loop&&t.length>0)&&(this.$stage.children(".cloned").remove(),this._clones=[])}},{filter:["items","settings"],run:function(){var t,e,i=this._clones,n=this._items,a=this.settings.loop?i.length-Math.max(2*this.settings.items,4):0;for(t=0,e=Math.abs(a/2);t<e;t++)a>0?(this.$stage.children().eq(n.length+i.length-1).remove(),i.pop(),this.$stage.children().eq(0).remove(),i.pop()):(i.push(i.length/2),this.$stage.append(n[i[i.length-1]].clone().addClass("cloned")),i.push(n.length-1-(i.length-1)/2),this.$stage.prepend(n[i[i.length-1]].clone().addClass("cloned")))}},{filter:["width","items","settings"],run:function(){var t,e,i,n=this.settings.rtl?1:-1,a=(this.width()/this.settings.items).toFixed(3),o=0;for(this._coordinates=[],e=0,i=this._clones.length+this._items.length;e<i;e++)t=this._mergers[this.relative(e)],t=this.settings.mergeFit&&Math.min(t,this.settings.items)||t,o+=(this.settings.autoWidth?this._items[this.relative(e)].width()+this.settings.margin:a*t)*n,this._coordinates.push(o)}},{filter:["width","items","settings"],run:function(){var e,i,n=(this.width()/this.settings.items).toFixed(3),a={width:Math.abs(this._coordinates[this._coordinates.length-1])+2*this.settings.stagePadding,"padding-left":this.settings.stagePadding||"","padding-right":this.settings.stagePadding||""};if(this.$stage.css(a),(a={width:this.settings.autoWidth?"auto":n-this.settings.margin})[this.settings.rtl?"margin-left":"margin-right"]=this.settings.margin,!this.settings.autoWidth&&t.grep(this._mergers,(function(t){return t>1})).length>0)for(e=0,i=this._coordinates.length;e<i;e++)a.width=Math.abs(this._coordinates[e])-Math.abs(this._coordinates[e-1]||0)-this.settings.margin,this.$stage.children().eq(e).css(a);else this.$stage.children().css(a)}},{filter:["width","items","settings"],run:function(t){t.current&&this.reset(this.$stage.children().index(t.current))}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,n,a=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,s=this.coordinates(this.current())+o,r=s+this.width()*a,l=[];for(i=0,n=this._coordinates.length;i<n;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*a,(this.op(t,"<=",s)&&this.op(t,">",r)||this.op(e,"<",s)&&this.op(e,">",r))&&l.push(i);this.$stage.children("."+this.settings.activeClass).removeClass(this.settings.activeClass),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass(this.settings.activeClass),this.settings.center&&(this.$stage.children("."+this.settings.centerClass).removeClass(this.settings.centerClass),this.$stage.children().eq(this.current()).addClass(this.settings.centerClass))}}],r.prototype.initialize=function(){var e,i,n;if((this.trigger("initialize"),this.$element.addClass(this.settings.baseClass).addClass(this.settings.themeClass).toggleClass("owl-rtl",this.settings.rtl),this.browserSupport(),this.settings.autoWidth&&!0!==this.state.imagesLoaded)&&(e=this.$element.find("img"),i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:void 0,n=this.$element.children(i).width(),e.length&&n<=0))return this.preloadAutoWidthImages(e),!1;this.$element.addClass("owl-loading"),
68this.$stage=t("<"+this.settings.stageElement+' class="owl-stage"/>').wrap('<div class="owl-stage-outer">'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeClass("owl-loading").addClass("owl-loaded"),this.eventsCall(),this.internalEvents(),this.addTriggerableEvents(),this.trigger("initialized")},r.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,a=null;i?(t.each(i,(function(t){t<=e&&t>n&&(n=Number(t))})),delete(a=t.extend({},this.options,i[n])).responsive,a.responsiveClass&&this.$element.attr("class",(function(t,e){return e.replace(/\b owl-responsive-\S+/g,"")})).addClass("owl-responsive-"+n)):a=t.extend({},this.options),null!==this.settings&&this._breakpoint===n||(this.trigger("change",{property:{name:"settings",value:a}}),this._breakpoint=n,this.settings=a,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},r.prototype.optionsLogic=function(){this.$element.toggleClass("owl-center",this.settings.center),this.settings.loop&&this._items.length<this.settings.items&&(this.settings.loop=!1),this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},r.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.settings.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},r.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy((function(t){return this[t]}),this._invalidated),a={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,n).length>0)&&this._pipe[e].run(a),e++;this._invalidated={}},r.prototype.width=function(t){switch(t=t||r.Width.Default){case r.Width.Inner:case r.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},r.prototype.refresh=function(){if(0===this._items.length)return!1;(new Date).getTime();this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$stage.addClass("owl-refresh"),this.update(),this.$stage.removeClass("owl-refresh"),this.state.orientation=e.orientation,this.watchVisibility(),this.trigger("refreshed")},r.prototype.eventsCall=function(){this.e._onDragStart=t.proxy((function(t){this.onDragStart(t)}),this),this.e._onDragMove=t.proxy((function(t){this.onDragMove(t)}),this),this.e._onDragEnd=t.proxy((function(t){this.onDragEnd(t)}),this),this.e._onResize=t.proxy((function(t){this.onResize(t)}
68),this),this.e._transitionEnd=t.proxy((function(t){this.transitionEnd(t)}),this),this.e._preventClick=t.proxy((function(t){this.preventClick(t)}),this)},r.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this.e._onResize,this.settings.responsiveRefreshRate)},r.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!this.trigger("resize").isDefaultPrevented()&&(this._width=this.$element.width(),this.invalidate("width"),this.refresh(),void this.trigger("resized"))))},r.prototype.eventsRouter=function(t){var e=t.type;"mousedown"===e||"touchstart"===e?this.onDragStart(t):"mousemove"===e||"touchmove"===e?this.onDragMove(t):("mouseup"===e||"touchend"===e||"touchcancel"===e)&&this.onDragEnd(t)},r.prototype.internalEvents=function(){"ontouchstart"in e||navigator.msMaxTouchPoints;var i=e.navigator.msPointerEnabled;this.settings.mouseDrag?(this.$stage.on("mousedown",t.proxy((function(t){this.eventsRouter(t)}),this)),this.$stage.on("dragstart",(function(){return!1})),this.$stage.get(0).onselectstart=function(){return!1}):this.$element.addClass("owl-text-select-on"),this.settings.touchDrag&&!i&&this.$stage.on("touchstart touchcancel",t.proxy((function(t){this.eventsRouter(t)}),this)),this.transitionEndVendor&&this.on(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd,!1),!1!==this.settings.responsive&&this.on(e,"resize",t.proxy(this.onThrottledResize,this))},r.prototype.onDragStart=function(n){var a,o,s,r;if(3===(a=n.originalEvent||n||e.event).which||this.state.isTouch)return!1;if("mousedown"===a.type&&this.$stage.addClass("owl-grab"),this.trigger("drag"),this.drag.startTime=(new Date).getTime(),this.speed(0),this.state.isTouch=!0,this.state.isScrolling=!1,this.state.isSwiping=!1,this.drag.distance=0,o=l(a).x,s=l(a).y,this.drag.offsetX=this.$stage.position().left,this.drag.offsetY=this.$stage.position().top,this.settings.rtl&&(this.drag.offsetX=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin),this.state.inMotion&&this.support3d)r=this.getTransformProperty(),this.drag.offsetX=r,this.animate(r),this.state.inMotion=!0;else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1,!1;this.drag.startX=o-this.drag.offsetX,this.drag.startY=s-this.drag.offsetY,this.drag.start=o-this.drag.startX,this.drag.targetEl=a.target||a.srcElement,this.drag.updatedX=this.drag.start,"IMG"!==this.drag.targetEl.tagName&&"A"!==this.drag.targetEl.tagName||(this.drag.targetEl.draggable=!1),t(i).on("mousemove.owl.dragEvents mouseup.owl.dragEvents touchmove.owl.dragEvents touchend.owl.dragEvents",t.proxy((function(t){this.eventsRouter(t)}),this))},r.prototype.onDragMove=function(t){var i,n,a,o,s,r;this.state.isTouch&&(this.state.isScrolling||(n=l(i=t.originalEvent||t||e.event).x,a=l(i).y,this.drag.currentX=n-this.drag.startX,this.drag.currentY=a-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.settings.rtl?"right":"left":this.drag.distance>0&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(o=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),s=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),r=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,o+r),s+r)),(this.drag.distance>8||this.drag.distance<-8)&&(void 0!==i.preventDefault?i.preventDefault():i.returnValue=!1,this.state.isSwiping=!0),this.drag.updatedX=this.drag.currentX,(this.drag.currentY>16||this.drag.currentY<-16)&&!1===this.state.isSwiping&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animate(this.drag.updatedX)))},r.prototype.onDragEnd=function(e){var n,a;if(this.state.isTouch){if("mouseup"===e.type&&this.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&!0!==this.state.inMotion)return this.state.inMotion=!1,!1;this.drag.endTime=(new Date).getTime(),n=this.drag.endTime-this.drag.startTime,(Math.abs(this.drag.distance)>3||n>300)&&this.removeClick(this.drag.targetEl),a=this.closest(this.drag.updatedX),this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(a),this.invalidate("position"),this.update(),this.settings.pullDrag||this.drag.updatedX!==this.coordinates(a)||this.transitionEnd(),this.drag.distance=0,t(i).off(".owl.dragEvents")}},r.prototype.removeClick=function(i){this.drag.targetEl=i,t(i).on("click.preventClick",this.e._preventClick),e.setTimeout((function(){t(i).off("click.preventClick")}),300)},r.prototype.preventClick=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),t(e.target).off("click.preventClick")},r.prototype.getTransformProperty=function(){var t;return!0!==(16===(t=(t=e.getComputedStyle(this.$stage.get(0),null).getPropertyValue(this.vendorName+"transform")).replace(/matrix(3d)?\(|\)/g,"").split(",")).length)?t[4]:t[12]},r.prototype.closest=function(e){var i=-1,n=this.width(),a=this.coordinates();return this.settings.freeDrag||t.each(a,t.proxy((function(t,o){return e>o-30&&e<o+30?i=t:this.op(e,"<",o)&&this.op(e,">",a[t+1]||o-n)&&(i="left"===this.state.direction?t+1:t),-1===i}),this)),this.settings.loop||(this.op(e,">",a[this.minimum()])?i=e=this.minimum():this.op(e,"<",a[this.maximum()])&&(i=e=this.maximum())),i},r.prototype.animate=function(e){this.trigger("translate"),this.state.inMotion=this.speed()>0,this.support3d?this.$stage.css({transform:"translate3d("+e+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.isTouch?this.$stage.css({left:e+"px"}):this.$stage.animate({left:e},this.speed()/1e3,this.settings.fallbackEasing,t.proxy((function(){this.state.inMotion&&this.transitionEnd()}),this))},r.prototype.current=function(t){if(void 0===t)return this._current;if(0!==this._items.length){if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});void 0!==e.data&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current}},r.prototype.invalidate=function(t){this._invalidated[t]=!0},r.prototype.reset=function(t){void 0!==(t=this.normalize(t))&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},r.prototype.normalize=function(e,i){var n=i?this._items.length:this._items.length+this._clones.length;if(t.isNumeric(e)&&!(n<1))return e=this._clones.length?(e%n+n)%n:Math.max(this.minimum(i),Math.min(this.maximum(i),e))},r.prototype.relative=function(t){return t=this.normalize(t),t-=this._clones.length/2,this.normalize(t,!0)},r.prototype.maximum=function(t){var e,i,n,a=0,o=this.settings;if(t)return this._items.length-1;if(!o.loop&&o.center)e=this._items.length-1;else if(o.loop||o.center)if(o.loop||o.center)e=this._items.length+o.items;else{if(!o.autoWidth&&!o.merge)throw"Can not detect maximum absolute position.";for(revert=o.rtl?1:-1,i=this.$stage.width()-this.$element.width();
68(n=this.coordinates(a))&&!(n*revert>=i);)e=++a}else e=this._items.length-o.items;return e},r.prototype.minimum=function(t){return t?0:this._clones.length/2},r.prototype.items=function(t){return void 0===t?this._items.slice():(t=this.normalize(t,!0),this._items[t])},r.prototype.mergers=function(t){return void 0===t?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},r.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,a=function(t){return t%2==0?n+t/2:i-(t+1)/2};return void 0===e?t.map(this._clones,(function(t,e){return a(e)})):t.map(this._clones,(function(t,i){return t===e?a(i):null}))},r.prototype.speed=function(t){return void 0!==t&&(this._speed=t),this._speed},r.prototype.coordinates=function(e){var i=null;return void 0===e?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[e-1]||0))/2*(this.settings.rtl?-1:1)):i=this._coordinates[e-1]||0,i)},r.prototype.duration=function(t,e,i){return Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},r.prototype.to=function(i,n){if(this.settings.loop){var a=i-this.relative(this.current()),o=this.current(),s=this.current(),r=this.current()+a,l=s-r<0,c=this._clones.length+this._items.length;r<this.settings.items&&!1===l?(o=s+this._items.length,this.reset(o)):r>=c-this.settings.items&&!0===l&&(o=s-this._items.length,this.reset(o)),e.clearTimeout(this.e._goToLoop),this.e._goToLoop=e.setTimeout(t.proxy((function(){this.speed(this.duration(this.current(),o+a,n)),this.current(o+a),this.update()}),this),30)}else this.speed(this.duration(this.current(),i,n)),this.current(i),this.update()},r.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},r.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},r.prototype.transitionEnd=function(t){if(void 0!==t&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.state.inMotion=!1,this.trigger("translated")},r.prototype.viewport=function(){var n;if(this.options.responsiveBaseElement!==e)n=t(this.options.responsiveBaseElement).width();else if(e.innerWidth)n=e.innerWidth;else{if(!i.documentElement||!i.documentElement.clientWidth)throw"Can not detect viewport width.";n=i.documentElement.clientWidth}return n},r.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)}),this)),this.reset(t.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},r.prototype.add=function(t,e){e=void 0===e?this._items.length:this.normalize(e,!0),this.trigger("add",{content:t,position:e}),0===this._items.length||e===this._items.length?(this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,1*t.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:t,position:e})},r.prototype.remove=function(t){void 0!==(t=this.normalize(t,!0))&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},r.prototype.addTriggerableEvents=function(){var e=t.proxy((function(e,i){return t.proxy((function(t){t.relatedTarget!==this&&(this.suppress([i]),e.apply(this,[].slice.call(arguments,1)),this.release([i]))}),this)}),this);t.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},t.proxy((function(t,i){this.$element.on(t+".owl.carousel",e(i,t+".owl.carousel"))}),this))},r.prototype.watchVisibility=function(){function i(t){return t.offsetWidth>0&&t.offsetHeight>0}i(this.$element.get(0))||(this.$element.addClass("owl-hidden"),e.clearInterval(this.e._checkVisibile),this.e._checkVisibile=e.setInterval(t.proxy((function(){i(this.$element.get(0))&&(this.$element.removeClass("owl-hidden"),this.refresh(),e.clearInterval(this.e._checkVisibile))}),this),500))},r.prototype.preloadAutoWidthImages=function(e){var i,n,a,o;i=0,n=this,e.each((function(s,r){a=t(r),(o=new Image).onload=function(){i++,a.attr("src",o.src),a.css("opacity",1),i>=e.length&&(n.state.imagesLoaded=!0,n.initialize())},o.src=a.attr("src")||a.attr("data-src")||a.attr("data-src-retina")}))},r.prototype.destroy=function(){for(var n in this.$element.hasClass(this.settings.themeClass)&&this.$element.removeClass(this.settings.themeClass),!1!==this.settings.responsive&&t(e).off("resize.owl.carousel"),this.transitionEndVendor&&this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd),this._plugins)this._plugins[n].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.$stage.off("mousedown touchstart touchcancel"),t(i).off(".owl.dragEvents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",(function(){return!1}))),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removeData("owlCarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()}
68,r.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t<i;case">":return n?t<i:t>i;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},r.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},r.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},r.prototype.trigger=function(e,i,n){var a={item:{count:this._items.length,index:this.current()}},o=t.camelCase(t.grep(["on",e,n],(function(t){return t})).join("-").toLowerCase()),s=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(s)})),this.$element.trigger(s),this.settings&&"function"==typeof this.settings[o]&&this.settings[o].apply(this,s)),s},r.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},r.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},r.prototype.browserSupport=function(){if(this.support3d=c(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0],this.support3d){this.transformVendor=c(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0];this.transitionEndVendor=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"][c(["transition","WebkitTransition","MozTransition","OTransition"])[1]],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=e.orientation},t.fn.owlCarousel=function(e){return this.each((function(){t(this).data("owlCarousel")||t(this).data("owlCarousel",new r(this,e))}))},t.fn.owlCarousel.Constructor=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var a=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,a=i.center&&-1*n||0,o=(e.property&&e.property.value||this._core.current())+a,s=this._core.clones().length,r=t.proxy((function(t,e){this.load(e)}),this);a++<n;)this.load(s/2+this._core.relative(o)),s&&t.each(this._core.clones(this._core.relative(o++)),r)}),this)},this._core.options=t.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers)};a.Defaults={lazyLoad:!1},a.prototype.load=function(i){var n=this._core.$stage.children().eq(i),a=n&&n.find(".owl-lazy");!a||t.inArray(n.get(0),this._loaded)>-1||(a.each(t.proxy((function(i,n){var a,o=t(n),s=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:s},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:s},"lazy")}),this)).attr("src",s):((a=new Image).onload=t.proxy((function(){o.css({"background-image":"url("+s+")",opacity:"1"}),this._core.trigger("loaded",{element:o,url:s},"lazy")}),this),a.src=s)}),this)),this._loaded.push(n.get(0)))},a.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=a}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var a=function(e){this._core=e,this._handlers={"initialized.owl.carousel":t.proxy((function(){this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){this._core.settings.autoHeight&&"position"==t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass)===this._core.$stage.children().eq(this._core.current())&&this.update()}),this)},this._core.options=t.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers)};a.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},a.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addClass(this._core.settings.autoHeightClass)},a.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=a}
68(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var a=function(e){this._core=e,this._videos={},this._playing=null,this._fullscreen=!1,this._handlers={"resize.owl.carousel":t.proxy((function(t){this._core.settings.video&&!this.isInFullScreen()&&t.preventDefault()}),this),"refresh.owl.carousel changed.owl.carousel":t.proxy((function(t){this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}),this)},this._core.options=t.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};a.Defaults={video:!1,videoHeight:!1,videoWidth:!1},a.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id"),a=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,s=t.attr("href");if(!s)throw new Error("Missing video URL.");if((n=s.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else{if(!(n[3].indexOf("vimeo")>-1))throw new Error("Video URL not supported.");i="vimeo"}n=n[6],this._videos[s]={type:i,id:n,width:a,height:o},e.attr("data-video",s),this.thumbnail(t,this._videos[s])},a.prototype.thumbnail=function(e,i){var n,a,o=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",s=e.find("img"),r="src",l="",c=this._core.settings,u=function(t){'<div class="owl-video-play-icon"></div>',n=c.lazyLoad?'<div class="owl-video-tn '+l+'" '+r+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(n),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap('<div class="owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(r="data-src",l="owl-lazy"),s.length)return u(s.attr(r)),s.remove(),!1;"youtube"===i.type?(a="http://img.youtube.com/vi/"+i.id+"/hqdefault.jpg",u(a)):"vimeo"===i.type&&t.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){a=t[0].thumbnail_large,u(a)}})},a.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null},a.prototype.play=function(e){this._core.trigger("play",null,"video"),this._playing&&this.stop();var i,n,a=t(e.target||e.srcElement),o=a.closest("."+this._core.settings.itemClass),s=this._videos[o.attr("data-video")],r=s.width||"100%",l=s.height||this._core.$stage.height();"youtube"===s.type?i='<iframe width="'+r+'" height="'+l+'" src="http://www.youtube.com/embed/'+s.id+"?autoplay=1&v="+s.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===s.type&&(i='<iframe src="http://player.vimeo.com/video/'+s.id+'?autoplay=1" width="'+r+'" height="'+l+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),o.addClass("owl-video-playing"),this._playing=o,n=t('<div style="height:'+l+"px; width:"+r+'px" class="owl-video-frame">'+i+"</div>"),a.after(n)},a.prototype.isInFullScreen=function(){var n=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return n&&t(n).parent().hasClass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),!(n&&this._fullscreen&&this._playing)&&(this._fullscreen?(this._fullscreen=!1,!1):!this._playing||this._core.state.orientation===e.orientation||(this._core.state.orientation=e.orientation,!1))},a.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=a}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var a=function(e){this.core=e,this.core.options=t.extend({},a.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":t.proxy((function(t){"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){this.swapping="translated"==t.type}),this),"translate.owl.carousel":t.proxy((function(t){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};a.Defaults={animateOut:!1,animateIn:!1},a.prototype.swap=function(){if(1===this.core.settings.items&&this.core.support3d){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),a=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",i)),o&&a.addClass("animated owl-animated-in").addClass(o).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",i))}},a.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},a.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=a}
68(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var a=function(e){this.core=e,this.core.options=t.extend({},a.Defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":t.proxy((function(){this.autoplay()}),this),"play.owl.autoplay":t.proxy((function(t,e,i){this.play(e,i)}),this),"stop.owl.autoplay":t.proxy((function(){this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this.core.settings.autoplayHoverPause&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this.core.settings.autoplayHoverPause&&this.autoplay()}),this)},this.core.$element.on(this.handlers)};a.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},a.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(e.clearInterval(this.interval),this.interval=e.setInterval(t.proxy((function(){this.play()}),this),this.core.settings.autoplayTimeout)):e.clearInterval(this.interval)},a.prototype.play=function(t,n){!0!==i.hidden&&(this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion||(!1!==this.core.settings.autoplay?this.core.next(this.core.settings.autoplaySpeed):e.clearInterval(this.interval)))},a.prototype.stop=function(){e.clearInterval(this.interval)},a.prototype.pause=function(){e.clearInterval(this.interval)},a.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this.interval),this.handlers)this.core.$element.off(t,this.handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=a}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var a=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){this._core.settings.dotsData&&this._templates.push(t(e.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))}),this),"add.owl.carousel":t.proxy((function(e){this._core.settings.dotsData&&this._templates.splice(e.position,0,t(e.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))}),this),"remove.owl.carousel prepared.owl.carousel":t.proxy((function(t){this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"change.owl.carousel":t.proxy((function(t){if("position"==t.property.name&&!this._core.state.revert&&!this._core.settings.loop&&this._core.settings.navRewind){var e=this._core.current(),i=this._core.maximum(),n=this._core.minimum();t.data=t.property.value>i?e>=i?n:i:t.property.value<n?i:t.property.value}}),this),"changed.owl.carousel":t.proxy((function(t){"position"==t.property.name&&this.draw()}),this),"refreshed.owl.carousel":t.proxy((function(){this._initialized||(this.initialize(),this._initialized=!0),this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation")}),this)},this._core.options=t.extend({},a.Defaults,this._core.options),this.$element.on(this._handlers)};a.Defaults={nav:!1,navRewind:!0,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotData:!1,dotsSpeed:!1,dotsContainer:!1,controlsClass:"owl-control
68s"},a.prototype.initialize=function(){var e,i,n=this._core.settings;for(i in n.dotsData||(this._templates=[t("<div>").addClass(n.dotClass).append(t("<span>")).prop("outerHTML")]),n.navContainer&&n.dotsContainer||(this._controls.$container=t("<div>").addClass(n.controlsClass).appendTo(this.$element)),this._controls.$indicators=n.dotsContainer?t(n.dotsContainer):t("<div>").hide().addClass(n.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",t.proxy((function(e){var i=t(e.target).parent().is(this._controls.$indicators)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(i,n.dotsSpeed)}),this)),e=n.navContainer?t(n.navContainer):t("<div>").addClass(n.navContainerClass).prependTo(this._controls.$container),this._controls.$next=t("<"+n.navElement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addClass(n.navClass[0]).html(n.navText[0]).hide().prependTo(e).on("click",t.proxy((function(t){this.prev(n.navSpeed)}),this)),this._controls.$next.addClass(n.navClass[1]).html(n.navText[1]).hide().appendTo(e).on("click",t.proxy((function(t){this.next(n.navSpeed)}),this)),this._overrides)this._core[i]=t.proxy(this[i],this)},a.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},a.prototype.update=function(){var t,e,i=this._core.settings,n=this._core.clones().length/2,a=n+this._core.items().length,o=i.center||i.autoWidth||i.dotData?1:i.dotsEach||i.items;if("page"!==i.slideBy&&(i.slideBy=Math.min(i.slideBy,i.items)),i.dots||"page"==i.slideBy)for(this._pages=[],t=n,e=0,0;t<a;t++)(e>=o||0===e)&&(this._pages.push({start:t-n,end:t-n+o-1}),e=0),e+=this._core.mergers(this._core.relative(t))},a.prototype.draw=function(){
69var e,i,n="",a=this._core.settings,o=(this._core.$stage.children(),this._core.relative(this._core.current()));if(!a.nav||a.loop||a.navRewind||(this._controls.$previous.toggleClass("disabled",o<=0),this._controls.$next.toggleClass("disabled",o>=this._core.maximum())),this._controls.$previous.toggle(a.nav),this._controls.$next.toggle(a.nav),a.dots){if(e=this._pages.length-this._controls.$indicators.children().length,a.dotData&&0!==e){for(i=0;i<this._controls.$indicators.children().length;i++)n+=this._templates[this._core.relative(i)];this._controls.$indicators.html(n)}else e>0?(n=new Array(e+1).join(this._templates[0]),this._controls.$indicators.append(n)):e<0&&this._controls.$indicators.children().slice(e).remove();this._controls.$indicators.find(".active").removeClass("active"),this._controls.$indicators.children().eq(t.inArray(this.current(),this._pages)).addClass("active")}this._controls.$indicators.toggle(a.dots)},a.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotData?1:i.dotsEach||i.items)}},a.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,(function(t){return t.start<=e&&t.end>=e})).pop()},a.prototype.getPosition=function(e){var i,n,a=this._core.settings;return"page"==a.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=a.slideBy:i-=a.slideBy),i},a.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},a.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},a.prototype.to=function(e,i,n){var a;n?t.proxy(this._overrides.to,this._core)(e,i):(a=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%a+a)%a].start,i))},t.fn.owlCarousel.Constructor.Plugins.Navigation=a}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var a=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(){"URLHash"==this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){var i=t(e.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[i]=e.content}),this)},this._core.options=t.extend({},a.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(){var t=e.location.hash.substring(1),i=this._core.$stage.children(),n=this._hashes[t]&&i.index(this._hashes[t])||0;if(!t)return!1;this._core.to(n,!1,!0)}),this))};a.Defaults={URLhashListener:!1},a.prototype.destroy=function(){var i,n;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=a}
69(window.Zepto||window.jQuery,window,document),function(t,e,i){"use strict";function n(i){if(a=e.documentElement,o=e.body,H(),nt=this,lt=(i=i||{}).constants||{},i.easing)for(var n in i.easing)W[n]=i.easing[n];mt=i.edgeStrategy||"set",st={beforerender:i.beforerender,render:i.render,keyframe:i.keyframe},(rt=!1!==i.forceHeight)&&(Et=i.scale||1),ct=i.mobileDeceleration||x,dt=!1!==i.smoothScrolling,ht=i.smoothScrollingDuration||k,pt={targetTop:nt.getScrollTop()},(Vt=(i.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||t.opera)})())?((ot=e.getElementById(i.skrollrBody||S))&&it(),Q(),Tt(a,[y,_],[w])):Tt(a,[y,b],[w]),nt.refresh(),yt(t,"resize orientationchange",(function(){var t=a.clientWidth,e=a.clientHeight;(e!==jt||t!==qt)&&(jt=e,qt=t,Nt=!0)}));var s=R();return function t(){U(),vt=s(t)}(),nt}var a,o,s={get:function(){return nt},init:function(t){return nt||new n(t)},VERSION:"0.6.30"},r=Object.prototype.hasOwnProperty,l=t.Math,c=t.getComputedStyle,u="touchstart",d="touchmove",h="touchcancel",p="touchend",f="skrollable",m=f+"-before",g=f+"-between",v=f+"-after",y="skrollr",w="no-"+y,b=y+"-desktop",_=y+"-mobile",C="linear",x=.004,S="skrollr-body",k=200,T="center",M="bottom",P="___skrollable_id",O=/^(?:input|textarea|button|select)$/i,D=/^\s+|\s+$/g,L=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,E=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,F=/^(@?[a-z\-]+)\[(\w+)\]$/,A=/-([a-z0-9_])/g,I=function(t,e){return e.toUpperCase()}
69,q=/[\-+]?[\d]*\.?[\d]+/g,j=/\{\?\}/g,N=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,$=/[a-z\-]+-gradient/g,V="",z="",H=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var e=c(o,null);for(var i in e)if(V=i.match(t)||+i==i&&e[i].match(t))break;if(!V)return void(V=z="");"-"===(V=V[0]).slice(0,1)?(z=V,V={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[V]):z="-"+V.toLowerCase()+"-"}},R=function(){var e=t.requestAnimationFrame||t[V.toLowerCase()+"RequestAnimationFrame"],i=Ot();return(Vt||!e)&&(e=function(e){var n=Ot()-i,a=l.max(0,1e3/60-n);return t.setTimeout((function(){i=Ot(),e()}),a)}),e},B=function(){var e=t.cancelAnimationFrame||t[V.toLowerCase()+"CancelAnimationFrame"];return(Vt||!e)&&(e=function(e){return t.clearTimeout(e)}),e},W={begin:function(){return 0},end:function(){return 1},linear:function(t){return t},quadratic:function(t){return t*t},cubic:function(t){return t*t*t},swing:function(t){return-l.cos(t*l.PI)/2+.5},sqrt:function(t){return l.sqrt(t)},outCubic:function(t){return l.pow(t-1,3)+1},bounce:function(t){var e;if(.5083>=t)e=3;else if(.8489>=t)e=9;else if(.96208>=t)e=27;else{if(!(.99981>=t))return 1;e=91}return 1-l.abs(3*l.cos(t*e*1.028)/e)}};n.prototype.refresh=function(t){var n,a,o=!1;for(t===i?(o=!0,at=[],$t=0,t=e.getElementsByTagName("*")):t.length===i&&(t=[t]),n=0,a=t.length;a>n;n++){var s=t[n],r=s,l=[],c=dt,u=mt,d=!1;if(o&&P in s&&delete s[P],s.attributes){for(var h=0,p=s.attributes.length;p>h;h++){var m=s.attributes[h];if("data-anchor-target"!==m.name)if("data-smooth-scrolling"!==m.name)if("data-edge-strategy"!==m.name)if("data-emit-events"!==m.name){var g=m.name.match(L);if(null!==g){var v={props:m.value,element:s,eventType:m.name.replace(A,I)};l.push(v);var y=g[1];y&&(v.constant=y.substr(1));var w=g[2];/p$/.test(w)?(v.isPercentage=!0,v.offset=(0|w.slice(0,-1))/100):v.offset=0|w;var b=g[3],_=g[4]||b;b&&"start"!==b&&"end"!==b?(v.mode="relative",v.anchors=[b,_]):(v.mode="absolute","end"===b?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*Et))}}else d=!0;else u=m.value;else c="off"!==m.value;else if(null===(r=e.querySelector(m.value)))throw'Unable to find anchor target "'+m.value+'"'}var C,x,S;if(l.length)!o&&P in s?(S=s[P],C=at[S].styleAttr,x=at[S].classAttr):(S=s[P]=$t++,C=s.style.cssText,x=kt(s)),at[S]={element:s,styleAttr:C,classAttr:x,anchorTarget:r,keyFrames:l,smoothScrolling:c,edgeStrategy:u,emitEvents:d,lastFrameIndex:-1},Tt(s,[f],[])}}for(Ct(),n=0,a=t.length;a>n;n++){var k=at[t[n][P]];k!==i&&(Y(k),Z(k))}return nt},n.prototype.relativeToAbsolute=function(t,e,i){var n=a.clientHeight,o=t.getBoundingClientRect(),s=o.top,r=o.bottom-o.top;return e===M?s-=n:e===T&&(s-=n/2),i===M?s+=r:i===T&&(s+=r/2),(s+=nt.getScrollTop())+.5|0},n.prototype.animateTo=function(t,e){e=e||{};var n=Ot(),a=nt.getScrollTop(),o=e.duration===i?1e3:e.duration;return(ut={startTop:a,topDiff:t-a,targetTop:t,duration:o,startTime:n,endTime:n+o,easing:W[e.easing||C],done:e.done}).topDiff||(ut.done&&ut.done.call(nt,!1),ut=i),nt},n.prototype.stopAnimateTo=function(){ut&&ut.done&&ut.done.call(nt,!0),ut=i},n.prototype.isAnimatingTo=function(){return!!ut},n.prototype.isMobile=function(){return Vt},n.prototype.setScrollTop=function(e,i){return ft=!0===i,Vt?zt=l.min(l.max(e,0),Lt):t.scrollTo(0,e),nt},n.prototype.getScrollTop=function(){return Vt?zt:t.pageYOffset||a.scrollTop||o.scrollTop||0},n.prototype.getMaxScrollTop=function(){return Lt},n.prototype.on=function(t,e){return st[t]=e,nt},n.prototype.off=function(t){return delete st[t],nt},n.prototype.destroy=function(){B()(vt),bt(),Tt(a,[w],[y,b,_]);for(var t=0,e=at.length;e>t;t++)et(at[t].element);a.style.overflow=o.style.overflow="",a.style.height=o.style.height="",ot&&s.setStyle(ot,"transform","none"),nt=i,ot=i,st=i,rt=i,Lt=0,Et=1,lt=i,ct=i,Ft="down",At=-1,qt=0,jt=0,Nt=!1,ut=i,dt=i,ht=i,pt=i,ft=i,$t=0,mt=i,Vt=!1,zt=0,gt=i};var Q=function(){var n,s,r,c,f,m,g,v,y,w,b;yt(a,[u,d,h,p].join(" "),(function(t){var a=t.changedTouches[0];for(c=t.target;3===c.nodeType;)c=c.parentNode;switch(f=a.clientY,m=a.clientX,y=t.timeStamp,O.test(c.tagName)||t.preventDefault(),t.type){case u:n&&n.blur(),nt.stopAnimateTo(),n=c,s=g=f,r=m,y;break;case d:O.test(c.tagName)&&e.activeElement!==c&&t.preventDefault(),v=f-g,b=y-w,nt.setScrollTop(zt-v,!0),g=f,
69w=y;break;default:case h:case p:var o=s-f,_=r-m;if(49>_*_+o*o){if(!O.test(n.tagName)){n.focus();var C=e.createEvent("MouseEvents");C.initMouseEvent("click",!0,!0,t.view,1,a.screenX,a.screenY,a.clientX,a.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),n.dispatchEvent(C)}return}n=i;var x=v/b;x=l.max(l.min(x,3),-3);var S=l.abs(x/ct),k=x*S+.5*ct*S*S,T=nt.getScrollTop()-k,M=0;T>Lt?(M=(Lt-T)/k,T=Lt):0>T&&(M=-T/k,T=0),S*=1-M,nt.animateTo(T+.5|0,{easing:"outCubic",duration:S})}})),t.scrollTo(0,0),a.style.overflow=o.style.overflow="hidden"},X=function(t,e){for(var i=0,n=at.length;n>i;i++){var a,o,l=at[i],c=l.element,u=l.smoothScrolling?t:e,d=l.keyFrames,h=d.length,p=d[0],y=d[d.length-1],w=u<p.frame,b=u>y.frame,_=w?p:y,C=l.emitEvents,x=l.lastFrameIndex;if(w||b){if(w&&-1===l.edge||b&&1===l.edge)continue;switch(w?(Tt(c,[m],[v,g]),C&&x>-1&&(_t(c,p.eventType,Ft),l.lastFrameIndex=-1)):(Tt(c,[v],[m,g]),C&&h>x&&(_t(c,y.eventType,Ft),l.lastFrameIndex=h)),l.edge=w?-1:1,l.edgeStrategy){case"reset":et(c);continue;case"ease":u=_.frame;break;default:case"set":var S=_.props;for(a in S)r.call(S,a)&&(o=tt(S[a].value),0===a.indexOf("@")?c.setAttribute(a.substr(1),o):s.setStyle(c,a,o));continue}}else 0!==l.edge&&(Tt(c,[f,g],[m,v]),l.edge=0);for(var k=0;h-1>k;k++)if(u>=d[k].frame&&u<=d[k+1].frame){var T=d[k],M=d[k+1];for(a in T.props)if(r.call(T.props,a)){var P=(u-T.frame)/(M.frame-T.frame);P=T.props[a].easing(P),o=K(T.props[a].value,M.props[a].value,P),o=tt(o),0===a.indexOf("@")?c.setAttribute(a.substr(1),o):s.setStyle(c,a,o)}C&&x!==k&&(_t(c,"down"===Ft?T.eventType:M.eventType,Ft),l.lastFrameIndex=k);break}}},U=function(){Nt&&(Nt=!1,Ct());var t,e,n=nt.getScrollTop(),a=Ot();if(ut)a>=ut.endTime?(n=ut.targetTop,t=ut.done,ut=i):(e=ut.easing((a-ut.startTime)/ut.duration),n=ut.startTop+e*ut.topDiff|0),nt.setScrollTop(n,!0);else if(!ft){pt.targetTop-n&&(pt={startTop:At,topDiff:n-At,targetTop:n,startTime:It,endTime:It+ht}),a<=pt.endTime&&(e=W.sqrt((a-pt.startTime)/ht),n=pt.startTop+e*pt.topDiff|0)}if(ft||At!==n){ft=!1;var o={curTop:n,lastTop:At,maxTop:Lt,direction:Ft=n>At?"down":At>n?"up":Ft};!1!==(st.beforerender&&st.beforerender.call(nt,o))&&(X(n,nt.getScrollTop()),Vt&&ot&&s.setStyle(ot,"transform","translate(0, "+-zt+"px) "+gt),At=n,st.render&&st.render.call(nt,o)),t&&t.call(nt,!1)}It=a},Y=function(t){for(var e=0,i=t.keyFrames.length;i>e;e++){for(var n,a,o,s,r=t.keyFrames[e],l={};null!==(s=E.exec(r.props));)o=s[1],a=s[2],null!==(n=o.match(F))?(o=n[1],n=n[2]):n=C,a=a.indexOf("!")?G(a):[a.slice(1)],l[o]={value:a,easing:W[n]};r.props=l}},G=function(t){var e=[];return N.lastIndex=0,t=t.replace(N,(function(t){return t.replace(q,(function(t){return t/255*100+"%"}))})),z&&($.lastIndex=0,t=t.replace($,(function(t){return z+t}))),t=t.replace(q,(function(t){return e.push(+t),"{?}"})),e.unshift(t),e},Z=function(t){var e,i,n={};for(e=0,i=t.keyFrames.length;i>e;e++)J(t.keyFrames[e],n);for(n={},e=t.keyFrames.length-1;e>=0;e--)J(t.keyFrames[e],n)},J=function(t,e){var i;for(i in e)r.call(t.props,i)||(t.props[i]=e[i]);for(i in t.props)e[i]=t.props[i]},K=function(t,e,i){var n,a=t.length;if(a!==e.length)throw"Can't interpolate between \""+t[0]+'" and "'+e[0]+'"';var o=[t[0]];for(n=1;a>n;n++)o[n]=t[n]+(e[n]-t[n])*i;return o},tt=function(t){var e=1;return j.lastIndex=0,t[0].replace(j,(function(){return t[e++]}))},et=function(t,e){for(var i,n,a=0,o=(t=[].concat(t)).length;o>a;a++)n=t[a],(i=at[n[P]])&&(e?(n.style.cssText=i.dirtyStyleAttr,Tt(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=kt(n),n.style.cssText=i.styleAttr,Tt(n,i.classAttr)))},it=function(){gt="translateZ(0)",s.setStyle(ot,"transform",gt);var t=c(ot),e=t.getPropertyValue("transform"),i=t.getPropertyValue(z+"transform");e&&"none"!==e||i&&"none"!==i||(gt="")};s.setStyle=function(t,e,i){var n=t.style;if("zIndex"===(e=e.replace(A,I).replace("-","")))isNaN(i)?n[e]=i:n[e]=""+(0|i);else if("float"===e)n.styleFloat=n.cssFloat=i;else try{V&&(n[V+e.slice(0,1).toUpperCase()+e.slice(1)]=i),n[e]=i}catch(t){}};var nt,at,ot,st,rt,lt,ct,ut,dt,ht,pt,ft,mt,gt,vt,yt=s.addEvent=function(e,i,n){for(var a,o=function(e){return(e=e||t.event).target||(e.target=e.srcElement),e.preventDefault||(e.preventDefault=function(){e.returnValue=!1,e.defaultPrevented=!0}),n.call(this,e)},s=0,r=(i=i.split(" ")).length;r>s;s++)a=i[s],e.addEventListener?e.addEventListener(a,n,!1):e.attachEvent("on"+a,o),Ht.push({element:e,name:a,listener:n})}
69,wt=s.removeEvent=function(t,e,i){for(var n=0,a=(e=e.split(" ")).length;a>n;n++)t.removeEventListener?t.removeEventListener(e[n],i,!1):t.detachEvent("on"+e[n],i)},bt=function(){for(var t,e=0,i=Ht.length;i>e;e++)t=Ht[e],wt(t.element,t.name,t.listener);Ht=[]},_t=function(t,e,i){st.keyframe&&st.keyframe.call(nt,t,e,i)},Ct=function(){var t=nt.getScrollTop();Lt=0,rt&&!Vt&&(o.style.height=""),function(){var t,e,i,n,o,s,r,c,u,d,h,p=a.clientHeight,f=xt();for(c=0,u=at.length;u>c;c++)for(e=(t=at[c]).element,i=t.anchorTarget,o=0,s=(n=t.keyFrames).length;s>o;o++)d=(r=n[o]).offset,h=f[r.constant]||0,r.frame=d,r.isPercentage&&(d*=p,r.frame=d),"relative"===r.mode&&(et(e),r.frame=nt.relativeToAbsolute(i,r.anchors[0],r.anchors[1])-d,et(e,!0)),r.frame+=h,rt&&!r.isEnd&&r.frame>Lt&&(Lt=r.frame);for(Lt=l.max(Lt,St()),c=0,u=at.length;u>c;c++){for(o=0,s=(n=(t=at[c]).keyFrames).length;s>o;o++)h=f[(r=n[o]).constant]||0,r.isEnd&&(r.frame=Lt-r.offset+h);t.keyFrames.sort(Dt)}}(),rt&&!Vt&&(o.style.height=Lt+a.clientHeight+"px"),Vt?nt.setScrollTop(l.min(nt.getScrollTop(),Lt)):nt.setScrollTop(t,!0),ft=!0},xt=function(){var t,e,i=a.clientHeight,n={};for(t in lt)"function"==typeof(e=lt[t])?e=e.call(nt):/p$/.test(e)&&(e=e.slice(0,-1)/100*i),n[t]=e;return n},St=function(){var t=0;return ot&&(t=l.max(ot.offsetHeight,ot.scrollHeight)),l.max(t,o.scrollHeight,o.offsetHeight,a.scrollHeight,a.offsetHeight,a.clientHeight)-a.clientHeight},kt=function(e){var i="className";return t.SVGElement&&e instanceof t.SVGElement&&(e=e[i],i="baseVal"),e[i]},Tt=function(e,n,a){var o="className";if(t.SVGElement&&e instanceof t.SVGElement&&(e=e[o],o="baseVal"),a!==i){for(var s=e[o],r=0,l=a.length;l>r;r++)s=Pt(s).replace(Pt(a[r])," ");s=Mt(s);for(var c=0,u=n.length;u>c;c++)-1===Pt(s).indexOf(Pt(n[c]))&&(s+=" "+n[c]);e[o]=Mt(s)}else e[o]=n},Mt=function(t){return t.replace(D,"")},Pt=function(t){return" "+t+" "},Ot=Date.now||function(){return+new Date},Dt=function(t,e){return t.frame-e.frame},Lt=0,Et=1,Ft="down",At=-1,It=Ot(),qt=0,jt=0,Nt=!1,$t=0,Vt=!1,zt=0,Ht=[];"function"==typeof define&&define.amd?define([],(function(){return s})):"undefined"!=typeof module&&module.exports?module.exports=s:t.skrollr=s}(window,document),function(t){"use strict";function e(){var t,e=!1;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|ipad|playbook|silk|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0),e}function i(t,e){for(var i=[].slice.call(arguments).splice(2),n=t.split("."),a=n.pop(),o=0;o<n.length;o++)e=e[n[o]];return e[a].apply(this,i)}t.fn.imagesLoaded=function(){var e=this.find('img[src!=""]');if(!e.length)return t.Deferred().resolve().promise();var i=[];return e.each((function(){var e=t.Deferred();i.push(e);var n=new Image;n.onload=function(){e.resolve()},n.onerror=function(){e.resolve()},n.src=this.src})),t.when.apply(t,i)},t.fn.qtInitTripleView=function(){if(0!==t("#qtvscontainer").length&&0!==t("#qtvscontainer section").length){var i=document.getElementById("qtvscontainer"),n=t("#qtvscontainer"),a=i.querySelector("div.qt-vs-wrapper"),o=Array.prototype.slice.call(a.querySelectorAll("section")),s=Array.prototype.slice.call(i.querySelectorAll("header.qt-vs-header ul.qt-vs-nav > li")),r=o.length,l={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd",transition:"transitionend"}[Modernizr.prefixed("transition")],c=e()?"touchstart":"click";if(r>=3&&Modernizr.csstransforms3d){var u=0,d=!1;n.addClass("qt-vs-triplelayout");var h=function(t){if(d)return!1;d=!0;var e="right"===t?"left":"right";classie.add(i,"qt-vs-move-"+e);var n,a=0===u?r-1:u-1,c=u<r-1?u+1:0;"right"===t?n=c<r-1?c+1:0:"left"===t&&(n=a>0?a-1:r-1);var h=o[n],p=s[n];h.className="",p.className="",classie.add(h,"qt-vs-"+t+"-outer"),classie.add(p,"qt-vs-nav-"+t+"-outer");var f=function(){h.removeEventListener(l,f),o.forEach((function(t,e){t.className=""}
69)),s.forEach((function(t,e){t.className=""})),"right"===t?(classie.add(o[u],"qt-vs-left"),classie.add(o[c],"qt-vs-current"),classie.add(h,"qt-vs-right"),classie.add(s[u],"qt-vs-nav-left"),classie.add(s[c],"qt-vs-nav-current"),classie.add(p,"qt-vs-nav-right"),u=u<r-1?u+1:0):"left"===t&&(classie.add(h,"qt-vs-left"),classie.add(o[a],"qt-vs-current"),classie.add(o[u],"qt-vs-right"),classie.add(p,"qt-vs-nav-left"),classie.add(s[a],"qt-vs-nav-current"),classie.add(s[u],"qt-vs-nav-right"),u=u>0?u-1:r-1),classie.remove(i,"qt-vs-move-"+e),d=!1};h.addEventListener(l,f)};classie.add(o[u],"qt-vs-current"),classie.add(o[u+1],"qt-vs-right"),classie.add(o[r-1],"qt-vs-left"),classie.add(s[u],"qt-vs-nav-current"),classie.add(s[u+1],"qt-vs-nav-right"),classie.add(s[r-1],"qt-vs-nav-left"),n.on("click","#qtvtL",(function(){h("left")})).on("click","#qtvtR",(function(){h("right")})),s.forEach((function(t,e){t.addEventListener(c,(function(e){if(e.preventDefault(),classie.has(t,"qt-vs-nav-right"))h("right");else{if(!classie.has(t,"qt-vs-nav-left"))return!1;h("left")}}))})),document.addEventListener("keydown",(function(t){switch(t.keyCode||t.which){case 37:h("left");break;case 39:h("right")}})),e()&&(Hammer(i).on("swipeleft",(function(t){h("right")})),Hammer(i).on("swiperight",(function(t){h("left")}))),t(".qt-vs-container").addClass("active")}}},t.fn.parallaxV3=function(e){t(window).height();var i=t.extend({speed:.15,blursize:0},e);return this.each((function(){var e,n=t(this),a=t(window).scrollTop(),o=n.offset().top,s=(n.outerHeight(),Math.round((o-a)*i.speed));n.initialBlur=n.attr("data-blurStart"),n.css({"background-position":"center "+s+"px","-webkit-filter":"blur("+n.initialBlur+"px)","-moz-filter":"blur("+n.initialBlur+"px)","-o-filter":"blur("+n.initialBlur+"px)","-ms-filter":"blur("+n.initialBlur+"px)",filter:"blur("+n.initialBlur+"px)"}),n.blursize=n.attr("data-blur"),n.scrolling=n.attr("data-scrolling"),t("body").hasClass("mobile")||t(document).scroll((function(){a=t(window).scrollTop(),o=n.offset().top,n.outerHeight(),e=n.blursize*(a/150),s=Math.round((o-a)*i.speed),"no"!==n.scrolling&&n.css("background-position","center "+s+"px"),n.blursize>0&&(e>6&&(e=6),n.initialBlur>e&&(e=n.initialBlur),n.css({"-webkit-filter":"blur("+e+"px)","-moz-filter":"blur("+e+"px)","-o-filter":"blur("+e+"px)","-ms-filter":"blur("+e+"px)",filter:"blur("+e+"px)"}))}))}))},t.fn.parallaxBackground=function(e){return void 0===e&&(e="body"),t(e+' [data-type="background"]').each((function(){var t=jQuery(this),e=t.attr("data-bgimageurl");""!==e&&void 0!==e&&(t.css({background:"url("+e+")","background-size":"cover","background-position":"center center","background-repeat":"no-repeat","background-attachment":"local","-webkit-transform":"translate3d(0, 0, 0)","-webkit-backface-visibility":"hidden","-webkit-perspective":"1000"}),t.parallaxV3({speed:-.3}))})),!0},t.fn.parallaxPolydecor=function(){var e;if(!t("body").hasClass("mobile")&&!(t(".qt-polydecor").length<1&&t(".qt-polydecor-page").length<1))return t(".qt-polydecor, .qt-polydecor-page > .kc_row, .qt-polydecor-page > .vc_row").not(".nopoly").each((function(){var e=t(this);e.wrapInner("<div class='qt-polydecor-content'></div>"),e.append('<div class="decor1"></div><div class="decor2"></div>'),e.find(".decor1"),e.find(".decor2");var i=t(this);t(window).scrollTop(),i.offset().top,i.outerHeight(),i.offset().top,i.outerHeight()})),i(),window.addEventListener("scroll",i,!1),!0;function i(i){e=window.pageYOffset,t(".qt-polydecor, .qt-polydecor-page > .kc_row, .qt-polydecor-page > .vc_row").each((function(){var i=t(this),n=i.offset().top,a=Math.round(n-e);i.find(".decor1").css({top:.98*a+"px"}),i.find(".decor2").css({top:.6*a+"px"})}))}},t.fn.bodyScroll=function(){var e=t("#qtBody");window.addEventListener("scroll",(function(t){window.pageYOffset>0?e.addClass("qt-scrolled"):e.removeClass("qt-scrolled")}),!1)},t.fn.qtMasonry=function(e){return void 0===e&&(e="#qtBody"),t(e).find(".masonrycontainer").each((function(e,i){var n=t(i).attr("id"),a=document.querySelector("#"+n);if(a)new Masonry(a,{itemSelector:".ms-item",columnWidth:".ms-item"})})),!0},t.fn.qtSquaredItems=function(){return t(".qtSquaredItem").each((function(e,i){var n=t(i),a=Math.round(n.width());n.height(a)})),!0},t.fn.NewYoutubeResize=function(){jQuery("iframe").each((function(t,e){var i=jQuery(this);if(i.attr("src")){var n=i.attr("src");if(n.match("youtube.com")||n.match("vimeo.com")||n.match("vevo.com")){var a=i.parent().width();i.height();i.css({width:a}),i.height(a/16*9)}}}))},t.fn.qtLoadMore=function(){return t("body").on("click","[data-loadmore]",(function(e){e.preventDefault();var n=t(this),a=n.attr("href"),o=n.attr("data-callback"),s=n.attr("data-buttonid"),r=n.attr("data-container"),l=n.find("span"),c=n.find("i");l.toggleClass("hidden"),c.toggleClass("hidden"),t.ajax({url:a,dataType:"html",type:"GET",success:function(e){var n=t(r,e),a=t("#"+s,e);t("#"+s).remove(),t(r).append(n.html()),t(r).after(a),l.toggleClass("hidden"),c.toggleClass("hidden"),t("#qtBody").imagesLoaded().then((function(){o&&i(o,t,arguments),!0===t.skrollrInstance&&t.skrollrInstance.refresh(),t.fn.NewYoutubeResize(),t.fn.gridstackSlideshows(),t.fn.transformlinks(),t.fn.dynamicBackgroun
69ds()}))},error:function(){window.location.replace(a)}})})),!0},t.fn.qtGradientOverlay=function(){return t(".qt-gradientOverlay").append('<div class="qt-gradient-overlay qt-fade-to-paper"></div>'),t(".qt-gradient-overlay").height(t(this).parent().height()),!0},t.fn.qtMobileNav=function(){return t("#nav-mobile").on("click","li.menu-item-has-children > a",(function(e){var i=t(this).parent();return e.preventDefault(),i.hasClass("open")?i.removeClass("open"):i.addClass("open"),!0})),!0},t.fn.qtQtSwitch=function(){t("body").on("click","[data-qtswitch]",(function(e){var i=t(this);e.preventDefault(),t(i.attr("data-target")).toggleClass(i.attr("data-qtswitch"))})),t("body").on("click","[data-expandable]",(function(e){e.preventDefault();var i=t(this),n=t(i.attr("data-expandable"));n.hasClass("open")?(n.removeClass("open").height(),n.velocity({properties:{height:0},options:{duration:500}})):(n.addClass("open").height(),n.velocity({properties:{height:n.find(".qt-expandable-inner").height()+"px"},options:{duration:500}}))}))},t.fn.qtQTabs=function(){t("body").off("click",".qt-tabs-controller a.qt-tabswitch"),t("body").on("click",".qt-tabs-controller a.qt-tabswitch",(function(e){e.preventDefault();var i=t(this),n=i.attr("href").split("#").join(""),a=i.attr("data-target"),o=t("#"+n),s=t(a+" .qt-tab"),r=t("#"+n+" .tabcontent").outerHeight();s.each((function(e,i){var a=t(i),s=a.attr("id");n===s?a.hasClass("active")?a.velocity({properties:{height:0},options:{duration:500,complete:function(){a.removeClass("active")}}}):(o.velocity({properties:{height:r},options:{duration:500,complete:function(){o.addClass("active").css({height:"auto"})}}}),t("html,body").animate({scrollTop:0},800,"easeOutBounce")):a.hasClass("active")&&a.velocity({properties:{height:0},options:{duration:500,complete:function(){a.removeClass("active")}}})}))}))},t.fn.qtSmoothScroll=function(){var e=t("body");e.off("click","a.qwsmoothscroll"),e.on("click","a.qwsmoothscroll",(function(e){e.preventDefault(),t("html,body").animate({scrollTop:t(this.hash).offset().top},800)}))},t.fn.transformlinks=function(e){void 0===e&&(e=t("body")),e.find("a[href*='youtube.com'],a[href*='youtu.be'],a[href*='mixcloud.com'],a[href*='soundcloud.com'], [data-autoembed]").not(".qw-disableembedding").not(".vc_general").each((function(t){var e=jQuery(this),i=e.closest(".qt-archivepodcast-item");if(!(i.length>0)||i.hasClass("active")){var n=e.attr("href");e.attr("data-autoembed")&&(n=e.attr("data-autoembed"));var a=e.parent().width();0===a&&(a=e.parent().parent().parent().width()),0===a&&(a=e.parent().parent().parent().width()),0===a&&(a=e.parent().parent().parent().parent().width());e.height(),t=e;var o=/(http|https):\/\/(\w{0,3}\.)?youtube\.\w{2,3}\/watch\?v=[\w-]{11}/gi,s=n.match(o);if(null!==s)for(var r=0;r<s.length;r++)u(n=n.replace(s[r],embedVideo(s[r],a,a/16*9)));o=/(http|https)(\:\/\/soundcloud.com\/+([a-zA-Z0-9\/\-_]*))/g;var l=n.match(o);if(null!==l)for(r=0;r<l.length;r++){var c=l[r].replace(":","%3A");c=c.replace("https","http"),jQuery.getJSON("https://soundcloud.com/oembed?maxheight=140&format=js&url="+c+"&iframe=true&callback=?",(function(t){u(t.html)}))}o=/(http|https)\:\/\/www\.mixcloud\.com\/[\w-]{0,150}\/[\w-]{0,150}\/[\w-]{0,1}/gi;if(null!==(s=n.match(o)))for(r=0;r<s.length;r++)u(n=n.replace(s[r],embedMixcloudPlayer(s[r])))}function u(e){t.replaceWith(e)}})),t.fn.NewYoutubeResize()},t.fn.dynamicBackgrounds=function(e){void 0===e&&(e="body"),t(e+" [data-bgimage]").each((function(e,i){var n=t(this),a=n.attr("data-bgimage"),o=n.attr("data-bgattachment");null==o&&(o="static"),""!==a&&n.css({"background-image":"url("+a+")","background-attachment":o,"background-size":"cover","background-position":"center center"})})),t(e+" [data-bgcolor]").each((function(e,i){var n=t(this);if(""!==(o=n.attr("data-bgcolor"))){if(n.attr("data-bgopacity"))var a=n.attr("data-bgopacity"),o="rgba("+hexToRgb2(o)+","+a/100+")";n.find(".fp-tableCell, .qw-fixedcontents-layer2, .qw-gbcolorlayer").css({"background-color":o})}}))},t.fn.qwScrollfireElements=function(){Materialize.scrollFire([{selector:".staggeredlist",offset:200,callback:'Materialize.fadeInImage(".staggeredlist")")'}])};var n=[{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#000000"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#000000"},{lightness:16}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#000000"},{lightness:21}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#000000"},{lightness:16}]},{elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#000000"},{lightness:40}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#000000"},{lightness:19}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#000000"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#000000"},{lightness:17},{weight:1.2}]}];t.fn.dynamicMapsNew=function(e){void 0===e&&(e="body"),t(e+" .qt_dynamicmaps").each((function(e,i){var a,o=t(i),s=o.attr("data-coord").split(","),r=s[0],l=s[1],c=o.attr("id"),u=(o.attr("data-colors"),o.attr("data-locationname")),d=new google.maps.Map(document.getElementById(c),{zoom:16,styles:n,center:new google.maps.LatLng(r,l),mapTypeId:google.maps.MapTypeId.ROADMAP}),h=new google.maps.InfoWindow;a=new google.maps.Marker({position:new google.maps.LatLng(r,l),map:d}),google.maps.event.addListener(a,"click",function(t,e){return function(){h.setContent(u),h.open(d,t)}}
69(a))}))},t.fn.qtGridSwitcher=function(){t(".cbp-vm-switcher").on("click","a.cbp-vm-grid",(function(e){e.preventDefault(),t(".cbp-vm-switcher").removeClass("cbp-vm-view-list").addClass("cbp-vm-view-grid"),t("a.cbp-vm-grid").addClass("active"),t("a.cbp-vm-list").removeClass("active"),t(this).addClass("active")})),t(".cbp-vm-switcher").on("click","a.cbp-vm-list",(function(e){e.preventDefault(),t(".cbp-vm-switcher").removeClass("cbp-vm-view-grid").addClass("cbp-vm-view-list"),t("a.cbp-vm-list").addClass("active"),t("a.cbp-vm-grid").removeClass("active")})),t("#qwShowDropdown").change((function(){var e=t(this).val().split("optionSchedule").join("");console.log(e),t(this).parent().parent().find(".tabcontent").addClass("inactive").css({display:"none"}),t(this).parent().parent().find("#"+e).removeClass("inactive").css({display:"block"})}))},t.fn.atTabsAnimator=function(){t("body").on("click",".tabs a",(function(e){t(".tabcontent").addClass("inactive"),t(t(this).attr("href")).removeClass("inactive")}))},t.fn.qtCollapsible=function(){t(".qt-archivepodcast-item .collapsible-header").on("click",(function(){var e=t(this);e.hasClass("active")||e.animate({transform:"translateX(0.0000000001px)"},150,(function(){t.fn.transformlinks(e.parent().find(".qt-event-details"))}))}))},t.fn.gridstackSlideshows=function(){t(".slider").each((function(e,i){var n=t(i);t(i).imagesLoaded().then((function(){var e=n.width()/16*7,i="1"===n.attr("data-indicators")||"true"===n.attr("data-indicators"),a=n.attr("data-transition"),o=n.attr("data-interval"),s="1"===n.attr("data-full_width")||"true"===n.attr("data-full_width"),r=n.attr("data-proportion")
70;t(window).width()<500&&(i=!1),null!=o&&""!==o||(o=3e3),null!=a&&""!==a||(a=500);var l={transition:parseInt(a),interval:parseInt(o),full_width:s,indicators:i};"fullscreen"===r?(e=t(window).height(),t(window).width()>760?l.height=e-46:l.height=e,n.find("slide").height(l.height)):"widescreen"===r?(t(window).width()>760?l.height=e-46:l.height=e,n.find("slide").height(l.height)):(l.height=parseInt(n.find("img").attr("height")),t(window).width()>760&&(l.height=l.height-46),n.height(l.height).find("slide").height(l.height).find("slides").height(l.height)),n.slider(l).promise().done((function(){n.hasClass("qt-gridstackSlideshow")&&n.height(l.height).velocity({opacity:1},800)})),n.find(".prev").click((function(){n.slider("prev")})),n.find(".next").click((function(){n.slider("next")})),n.find("a.qt-slideshow-link").mouseenter((function(){n.slider("pause")})).mouseleave((function(){n.slider("start")}))}))}))},t.fn.gridstackCarousel=function(){t(".qt-gridstackCarousel").each((function(e,i){var n=t(i),a=(n.width(),n.attr("data-time_constant")),o=n.attr("data-dist"),s=n.attr("data-shift"),r=n.attr("data-vpadding"),l=("1"===n.attr("data-full_width")||n.attr("data-full_width"),n.attr("data-padding"));null!=a&&""!==a||(a=200),null!=o&&""!==o||(o=-30),null!=s&&""!==s||(s=0),null!=l&&""!==l||(l=0),null!=r&&""!==r||(r=0),0!==r&&n.css({"margin-top":r,"margin-bottom":r});var c={time_constant:parseInt(a),dist:parseInt(o),padding:parseInt(l),shift:parseInt(s)};n.carousel(c),n.parent().find(".prev").click((function(){n.carousel("prev")})),n.parent().find(".next").click((function(){n.carousel("next")})),n.find(".carousel-item").on("mouseenter touchstart",(function(e){var i=t(this);i.addClass("active"),t("body").hasClass("mobile")&&(setTimeout((function(){i.removeClass("active")}),3e3),n.find("a").on("touchstart",(function(e){window.location.href=t(this).attr("href")})))})).on("mouseleave",(function(){t(this).removeClass("active")}))}))},t.fn.gridstackOwl=function(e){void 0===e&&(e="body"),t(e+" .owl-carousel").length<=0||t(e+" .owl-carousel").each((function(e,i){var n=t(this),a={items:parseInt(n.attr("data-items")),navigation:"true"===n.attr("data-nav")||"1"===n.attr("data-nav"),nav:"true"===n.attr("data-nav")||"1"===n.attr("data-nav"),margin:parseInt(n.attr("data-margin")),dots:"true"===n.attr("data-dots"),navRewind:"true"===n.attr("data-navRewind"),autoplayHoverPause:!0,animateIn:!0,animateOut:!0,loop:!0,center:"true"===n.attr("data-center")||"1"===n.attr("data-center"),mouseDrag:"true"===n.attr("data-mouseDrag")||"1"===n.attr("data-mouseDrag"),touchDrag:"true"===n.attr("data-touchDrag")||"1"===n.attr("data-touchDrag"),pullDrag:"true"===n.attr("data-pullDrag")||"1"===n.attr("data-pullDrag"),freeDrag:"true"===n.attr("data-freeDrag")||"1"===n.attr("data-freeDrag"),stagePadding:parseInt(n.attr("data-stagePadding")),mergeFit:"true"===n.attr("data-mergeFit")||"1"===n.attr("data-mergeFit"),autoWidth:"true"===n.attr("data-autoWidth")||"1"===n.attr("data-autoWidth"),autoplay:"true"===n.attr("data-autoplay")||"1"===n.attr("data-autoplay"),autoplayTimeout:parseInt(n.attr("data-autoplaytimeout")),URLhashListener:"true"===n.attr("data-URLhashListener")||"1"===n.attr("data-URLhashListener"),video:"true"===n.attr("data-video"),videoHeight:"true"===n.attr("data-videoHeight")||"1"===n.attr("data-videoHeight"),videoWidth:"true"===n.attr("data-videoWidth")||"1"===n.attr("data-videoWidth"),responsive:{0:{items:1,dots:!1,loop:!1},768:{items:3},1e3:{items:parseInt(n.attr("data-items"))}}};
70switch(n.attr("data-arrowstyle")){case"minimal":a.navText=['<span><i class="fa fa-chevron-left"></i></span>','<span><i class="fa fa-chevron-right"></i></span>'];break;default:a.navText=['<span class="qt-btn-rhombus btn"><i class="fa fa-chevron-left"></i></span>','<span class="qt-btn-rhombus btn"><i class="fa fa-chevron-right"></i></span>']}n.owlCarousel(a)}))},t.fn.gridstackSkywheel=function(){t(".qt-gridstackSkywheel").each((function(e,i){var n=t(this),a=n.find("ul"),o=n.attr("data-width"),s=n.attr("data-height");n.find("ul").css({"min-height":s}),a.skywheel({effect:1,width:o,height:s,keyOption:"updown"})}))},t.fn.qtparticlesJs=function(){t("body").hasClass("mobile")||t(".qt-particles").each((function(e,i){var n=t(this),a=n.attr("id");particlesJS(a,{particles:{number:{value:12,density:{enable:!0,value_area:1e3}},color:{value:n.attr("data-color")?n.attr("data-color"):"#FFFFFF"},shape:{type:"polygon",stroke:{width:0,color:"#000000"},polygon:{nb_sides:n.attr("data-sides")?n.attr("data-sides"):"3"}},opacity:{value:n.attr("data-opacity")?n.attr("data-opacity"):"0.5",random:!0,anim:{enable:!0,speed:.2,opacity_min:0,sync:!1}},size:{value:8,random:!0,anim:{enable:!1,speed:50,size_min:.1,sync:!1}},line_linked:{enable:"1"===n.attr("data-lines"),distance:150,color:n.attr("data-color")?n.attr("data-color"):"#FFFFFF",opacity:n.attr("data-opacity")?n.attr("data-opacity"):"0.5",width:1},move:{enable:!0,speed:n.attr("data-speed")?n.attr("data-speed"):1,direction:"none",random:!0,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!1,mode:"grab"},onclick:{enable:!1,mode:"push"},resize:!1}},retina_detect:!0})}))},t.fn.qtFlipClockJs=function(e){void 0===e&&(e="body"),t(e+" .qtFlipClock").each((function(e,i){var n=t(i),a=n.attr("data-deadline"),o=n.attr("data-now"),s=new Date(o),r=new Date(a).getTime()/1e3-s.getTime()/1e3;n.FlipClock(r,{clockFace:"DailyCounter",countdown:!0})}))},t.fn.qtEqTit=function(e){void 0===e&&(e="body"),t(".qt-titdeco-eq").prepend('<i class="qteq"></i>')},t.fn.qtMusicPlayer=function(){t("body").on("click","#qtRadioBtn",(function(e){e.preventDefault(),t("#qwMusicPlayerContainer").toggleClass("open")})),t.mainVolumeLevel=100,void 0!==t.cookie("mainVolumeLevel")&&null!==t.cookie("mainVolumeLevel")&&(t.mainVolumeLevel=t.cookie("mainVolumeLevel")),t.fn.initVolume=function(){t("#qtVolumeControl").each((function(e,i){var n,a,o,s=t("#qwVolNum"),r=t(this),l=t(document),c=t("#theVolCursor"),u=t("#qtVolumeControl").width()-c.outerWidth();function d(t){a=t.pageX-n,a=Math.min(Math.max(0,a),u),c.css({left:a}),o=Math.round(a/u*100)}function h(){l.off("mousemove",d),l.off("mouseup",h),void 0!==soundManager&&(s.html(o),soundManager.setVolume(o),t.cookie("mainVolumeLevel",o,{expires:1,path:"/"}),t.mainVolumeLevel=o)}if(c.on("mousedown",(function(t){t.preventDefault(),n=r.offset().left,c.offset().left-n,l.on("mousemove",d),l.on("mouseup",h)})),void 0!==t.cookie("mainVolumeLevel")&&null!==t.cookie("mainVolumeLevel")){var p=t.cookie("mainVolumeLevel"),f=u/100*p;c.offset({top:0,left:f}),s.html(Math.round(p))}}))},t.fn.initializeAudioStream=function(e,i){if(void 0!==i){t("#qwMusicPlayerContainer");t.mySound=soundManager.createSound({id:"currentSound",url:i}),"1"===e&&(t("#channelsList a:first-child").click(),soundManager.setVolume(t.mainVolumeLevel))}},t.fn.qtPlayerStateChange=function(e){1===e?t("#qtRadioBtn").addClass("state-play accentcolor"):(t.cookie("playerstatus","stop",{expires:1,path:"/"}),t("#qtRadioBtn").removeClass("state-play accentcolor"))};var e="mdi-av-play-arrow",i="mdi-device-access-time";if(t("body").on("click","a[data-mp3url]",(function(n){n.preventDefault();var a=t(this),o=a.attr("data-mp3url");if("1"===a.attr("data-sonikradio")&&"1"!==a.attr("data-state")&&(t.cookie("playerstatus","play",{expires:1,path:"/"}),t.cookie("playerurl",s,{expires:1,path:"/"})),void 0===t.mySound)t("a[data-mp3url]").attr("data-state","0").find("i").removeClass("mdi-av-pause").addClass("mdi-av-play-arrow"),t.mySound=soundManager.createSound({id:"currentSound",url:o,autoPlay:!0,onplay:function(){t("a[data-mp3url]").attr("data-state","0").find("i").removeClass("mdi-av-pause").addClass(e),a.attr("data-state","1").find("i").removeClass(e).addClass("mdi-av-pause"),t.fn.qtPlayerStateChange(1)}});else if(o!==t.mySound.url){if(void 0===o)return;if(o.split(".").pop(),t("a[data-mp3url]").attr("data-state","0").find("i").removeClass("mdi-av-pause").addClass(e),a.find("i").removeClass(e).addClass(i),null!==soundManager)if("object"==typeof soundManager)void 0!==(r=soundManager.getSoundById("currentSound")).url&&soundManager.destroySound("currentSound");t.fn.destroyAll360Sounds(),t.mySound=soundManager.createSound({id:"currentSound",url:o,autoPlay:!0,onplay:function(){a.find("i").removeClass(e).removeClass(i).addClass("mdi-av-pause"),a.attr("data-state","1"),t.fn.qtPlayerStateChange(1)},onstop:function(){t.fn.qtPlayerStateChange(0)},onpause:function(){t.fn.qtPlayerStateChange(0)}})}else if(1==a.attr("data-state"))t.mySound.pause("currentSound"),a.attr("data-state","0"),a.find("i").removeClass("mdi-av-pause").addClass(e);else{var r;if(a.find("i").removeClass(e).addClass(i),null!==soundManager)if("object"==typeof soundManager)void 0!==(r=soundManager.getSoundById("currentSound"))&&void 0!==r.url&&soundManager.destroySound("currentSound");t.fn.destroyAll360Sounds(),t.mySound=soundManager.createSound({id:"currentSound",url:o,autoPlay:!0,onplay:function(){a.find("i").removeClass(e).removeClass(i).addClass("mdi-av-pause"),a.attr("data-state","1"),t.fn.qtPlayerStateChange(1)},onstop:function(){t.fn.qtPlayerStateChange(0)},onpause:function(){t.fn.qtPlayerStateChange(0)}})}})),t.fn.initVolume(),t("#qwMusicPlayerContainer").length>0){var n=t("#qwMusicPlayerContainer"),a=n.attr("data-soundmanagerswf"),o=n.attr("data-autoplay"),s=t("#channelsList a:first-child").attr("data-mp3url");"play"===t.cookie("playerstatus")&&null!==t.cookie("playerurl")&&(s=t.cookie("playerurl"),o="1"),"object"==typeof soundManager&&soundManager.setup({url:a,flashVersion:9,bufferTime:5,onready:function(){t.fn.initializeAudioStream(o,s)}})}},t.fn.destroyAll360Sounds=function(){void 0!==threeSixtyPlayer&&threeSixtyPlayer.sounds.forEach((function(t,e,
70i){soundManager.stop(t.id),soundManager.destroySound(t.id)}))},t.fn.preloaderVisibility=function(e){1===e?t("#qwPreloaderBox").addClass("active"):t("#qwPreloaderBox").removeClass("active")},t.fn.addGeneralPreloader=function(){t("body").append('<div id="qwPreloaderBox" class="qt-preloader"><span><i  class="fa fa-circle-o-notch fa-spin fa-3x fa-fw margin-bottom"></span></div>')},t("body").on("click","#qwPreloaderBox",(function(){t.fn.closeModal()})),t.fn.qtResizeTimer=function(){var e,i=t(window).width();t(window).on("resize",(function(n){clearTimeout(e),e=setTimeout((function(){t(window).width()!=i&&(i=t(window).width(),location.reload())}),350)}))},t.fn.qwLoadedTheme=function(){t.fn.qtMasonry(),t.fn.dynamicMapsNew(),t.fn.NewYoutubeResize(),t.fn.qtSquaredItems(),t(".prettySocial").prettySocial(),t("#qtMainContainer").hasClass("qt-preloaderanimation")&&t("#qtMainContainer.qt-preloaderanimation ").velocity({opacity:1},{complete:function(){t.fn.preloaderVisibility(0)}})},t.fn.ttgReaktionPopupwindow=function(){void 0!==t.fn.popupwindow&&t.fn.popupwindow()},t.fn.qwInitTheme=function(){t("#qtBody").append('<div id="sidenav-overlay"></div>'),t(".button-collapse2, #sidenav-overlay").on("click touchstart",(function(e){e.preventDefault(),t("#qtBody").toggleClass("qt-sidenav-open")})),t.fn.qtMobileNav(),t.fn.qtEqTit(),t.fn.qtInitTripleView(),t.fn.qtQTabs(),t.fn.qtLoadMore(),t.fn.parallaxBackground(),t.fn.qtGradientOverlay(),t.fn.qtSmoothScroll(),t.fn.transformlinks(),t.fn.qwScrollfireElements(),t.fn.dynamicBackgrounds(),t.fn.qtGridSwitcher(),t.fn.atTabsAnimator(),t.fn.ttgReaktionPopupwindow(),t(".tabs").tabs("select_tab","tab_id"),t.fn.gridstackSlideshows(),t.fn.gridstackCarousel(),t.fn.gridstackOwl(),t.fn.gridstackSkywheel(),t.fn.parallaxPolydecor(),t.fn.qtFlipClockJs(),t.fn.qtMusicPlayer(),t.fn.qt360player(),t.fn.qtQtSwitch(),t.fn.qtCollapsible(),t("#qtMainContainer").hasClass("qt-preloaderanimation")&&(t.fn.addGeneralPreloader(),t.fn.preloaderVisibility(1)),t(window).width()>1280&&t(".dropDownMenu").css({"padding-right":t("#headerbuttons").width()+"px"}),jQuery(window).load((function(){t.fn.qwLoadedTheme(),t("body").hasClass("mobile")||(t.skrollrInstance=skrollr.init({forceHeight:!1}))}))},jQuery(document).ready((function(){t.fn.qwInitTheme()})),jQuery(window).load((function(){setTimeout((function(){jQuery(window).resize()}),2e3)}))}(jQuery);
71//# sourceMappingURL=main-min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.