Current Path : /storage/v11800/fortrajwada-com/public_html/assets/js/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/fortrajwada-com/public_html/assets/js/theme.min.js
function onYouTubePlayerAPIReady(){mejs.YouTubeApi.iFrameReady()}function onYouTubePlayerReady(t){mejs.YouTubeApi.flashReady(t)}!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t){var e="length"in t&&t.length,i=J.type(t);return"function"===i||J.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t}function n(t,e,i){if(J.isFunction(e))return J.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return J.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(rt.test(e))return J.filter(e,t,i);e=J.filter(e,t)}return J.grep(t,function(t){return U.call(e,t)>=0!==i})}function o(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function s(t){var e=ft[t]={};return J.each(t.match(pt)||[],function(t,i){e[i]=!0}),e}function a(){K.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1),J.ready()}function r(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=J.expando+r.uid++}function l(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(wt,"-$1").toLowerCase(),i=t.getAttribute(n),"string"==typeof i){try{i="true"===i?!0:"false"===i?!1:"null"===i?null:+i+""===i?+i:bt.test(i)?J.parseJSON(i):i}catch(o){}yt.set(t,e,i)}else i=void 0;return i}function c(){return!0}function u(){return!1}function d(){try{return K.activeElement}catch(t){}}function h(t,e){return J.nodeName(t,"table")&&J.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function p(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function f(t){var e=Bt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function m(t,e){for(var i=0,n=t.length;n>i;i++)vt.set(t[i],"globalEval",!e||vt.get(e[i],"globalEval"))}function g(t,e){var i,n,o,s,a,r,l,c;if(1===e.nodeType){if(vt.hasData(t)&&(s=vt.access(t),a=vt.set(e,s),c=s.events)){delete a.handle,a.events={};for(o in c)for(i=0,n=c[o].length;n>i;i++)J.event.add(e,o,c[o][i])}yt.hasData(t)&&(r=yt.access(t),l=J.extend({},r),yt.set(e,l))}}function v(t,e){var i=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&J.nodeName(t,e)?J.merge([t],i):i}function y(t,e){var i=e.nodeName.toLowerCase();"input"===i&&Tt.test(t.type)?e.checked=t.checked:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}function b(e,i){var n,o=J(i.createElement(e)).appendTo(i.body),s=t.getDefaultComputedStyle&&(n=t.getDefaultComputedStyle(o[0]))?n.display:J.css(o[0],"display");return o.detach(),s}function w(t){var e=K,i=Wt[t];return i||(i=b(t,e),"none"!==i&&i||(zt=(zt||J("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=zt[0].contentDocument,e.write(),e.close(),i=b(t,e),zt.detach()),Wt[t]=i),i}function x(t,e,i){var n,o,s,a,r=t.style;return i=i||qt(t),i&&(a=i.getPropertyValue(e)||i[e]),i&&(""!==a||J.contains(t.ownerDocument,t)||(a=J.style(t,e)),_t.test(a)&&Ht.test(e)&&(n=r.width,o=r.minWidth,s=r.maxWidth,r.minWidth=r.maxWidth=r.width=a,a=i.width,r.width=n,r.minWidth=o,r.maxWidth=s)),void 0!==a?a+"":a}function C(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function S(t,e){if(e in t)return e;for(var i=e[0].toUpperCase()+e.slice(1),n=e,o=Yt.length;o--;)if(e=Yt[o]+i,e in t)return e;return n}function T(t,e,i){var n=Vt.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function A(t,e,i,n,o){for(var s=i===(n?"border":"content")?4:"width"===e?1:0,a=0;4>s;s+=2)"margin"===i&&(a+=J.css(t,i+Ct[s],!0,o)),n?("content"===i&&(a-=J.css(t,"padding"+Ct[s],!0,o)),"margin"!==i&&(a-=J.css(t,"border"+Ct[s]+"Width",!0,o))):(a+=J.css(t,"padding"+Ct[s],!0,o),"padding"!==i&&(a+=J.css(t,"border"+Ct[s]+"Width",!0,o)));return a}function k(t,e,i){var n=!0,o="width"===e?t.offsetWidth:t.offsetHeight,s=qt(t),a="border-box"===J.css(t,"boxSizing",!1,s);if(0>=o||null==o){if(o=x(t,e,s),(0>o||null==o)&&(o=t.style[e]),_t.test(o))return o;n=a&&(X.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}return o+A(t,e,i||(a?"border":"content"),n,s)+"px"}function E(t,e){for(var i,n,o,s=[],a=0,r=t.length;r>a;a++)n=t[a],n.style&&(s[a]=vt.get(n,"olddisplay"),i=n.style.display,e?(s[a]||"none"!==i||(n.style.display=""),""===n.style.display&&St(n)&&(s[a]=vt.access(n,"olddisplay",w(n.nodeName)))):(o=St(n),"none"===i&&o||vt.set(n,"olddisplay",o?i:J.css(n,"display"))));for(a=0;r>a;a++)n=t[a],n.style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?s[a]||"":"none"));return t}function P(t,e,i,n,o){return new P.prototype.init(t,e,i,n,o)}function j(){return setTimeout(function(){Xt=void 0}),Xt=J.now()}function M(t,e){var i,n=0,o={height:t};for(e=e?1:0;4>n;n+=2-e)i=Ct[n],o["margin"+i]=o["padding"+i]=t;return e&&(o.opacity=o.width=t),o}function L(t,e,i){for(var n,o=(ie[e]||[]).concat(ie["*"]),s=0,a=o.length;a>s;s++)if(n=o[s].call(i,e,t))return n}function F(t,e,i){var n,o,s,a,r,l,c,u,d=this,h={},p=t.style,f=t.nodeType&&St(t),m=vt.get(t,"fxshow");i.queue||(r=J._queueHooks(t,"fx"),null==r.unqueued&&(r.unqueued=0,l=r.empty.fire,r.empty.fire=function(){r.unqueued||l()}),r.unqueued++,d.always(function(){d.always(function(){r.unqueued--,J.queue(t,"fx").length||r.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],c=J.css(t,"display"),u="none"===c?vt.get(t,"olddisplay")||w(t.nodeName):c,"inline"===u&&"none"===J.css(t,"float")&&(p.display="inline-block")),i.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]}));for(n in e)if(o=e[n],Zt.exec(o)){if(delete e[n],s=s||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!m||void 0===m[n])continue;f=!0}h[n]=m&&m[n]||J.style(t,n)}else c=void 0;if(J.isEmptyObject(h))"inline"===("none"===c?w(t.nodeName):c)&&(p.display=c);else{m?"hidden"in m&&(f=m.hidden):m=vt.access(t,"fxshow",{}),s&&(m.hidden=!f),f?J(t).show():d.done(function(){J(t).hide()}),d.done(function(){var e;vt.remove(t,"fxshow");for(e in h)J.style(t,e,h[e])});for(n in h)a=L(f?m[n]:0,n,d),n in m||(m[n]=a.start,f&&(a.end=a.start,a.start="width"===n||"height"===n?1:0))}}function I(t,e){var i,n,o,s,a;for(i in t)if(n=J.camelCase(i),o=e[n],s=t[i],J.isArray(s)&&(o=s[1],s=t[i]=s[0]),i!==n&&(t[n]=s,delete t[i]),a=J.cssHooks[n],a&&"expand"in a){s=a.expand(s),delete t[n];for(i in s)i in t||(t[i]=s[i],e[i]=o)}else e[n]=o}function N(t,e,i){var n,o,s=0,a=ee.length,r=J.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=Xt||j(),i=Math.max(0,c.startTime+c.duration-e),n=i/c.duration||0,s=1-n,a=0,l=c.tweens.length;l>a;a++)c.tweens[a].run(s);return r.notifyWith(t,[c,s,i]),1>s&&l?i:(r.resolveWith(t,[c]),!1)},c=r.promise({elem:t,props:J.extend({},e),opts:J.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:Xt||j(),duration:i.duration,tweens:[],createTween:function(e,i){var n=J.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(o)return this;for(o=!0;n>i;i++)c.tweens[i].run(1);return e?r.resolveWith(t,[c,e]):r.rejectWith(t,[c,e]),this}}),u=c.props;for(I(u,c.opts.specialEasing);a>s;s++)if(n=ee[s].call(c,t,u,c.opts))return n;return J.map(u,L,c),J.isFunction(c.opts.start)&&c.opts.start.call(t,c),J.fx.timer(J.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function D(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,o=0,s=e.toLowerCase().match(pt)||[];if(J.isFunction(i))for(;n=s[o++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function B(t,e,i,n){function o(r){var l;return s[r]=!0,J.each(t[r]||[],function(t,r){var c=r(e,i,n);return"string"!=typeof c||a||s[c]?a?!(l=c):void 0:(e.dataTypes.unshift(c),o(c),!1)}),l}var s={},a=t===be;return o(e.dataTypes[0])||!s["*"]&&o("*")}function R(t,e){var i,n,o=J.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&J.extend(!0,t,n),t}function O(t,e,i){for(var n,o,s,a,r=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(o in r)if(r[o]&&r[o].test(n)){l.unshift(o);break}if(l[0]in i)s=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){s=o;break}a||(a=o)}s=s||a}return s?(s!==l[0]&&l.unshift(s),i[s]):void 0}function z(t,e,i,n){var o,s,a,r,l,c={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(s=u.shift();s;)if(t.responseFields[s]&&(i[t.responseFields[s]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(a=c[l+" "+s]||c["* "+s],!a)for(o in c)if(r=o.split(" "),r[1]===s&&(a=c[l+" "+r[0]]||c["* "+r[0]])){a===!0?a=c[o]:c[o]!==!0&&(s=r[0],u.unshift(r[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}function W(t,e,i,n){var o;if(J.isArray(e))J.each(e,function(e,o){i||Te.test(t)?n(t,o):W(t+"["+("object"==typeof o?e:"")+"]",o,i,n)});else if(i||"object"!==J.type(e))n(t,e);else for(o in e)W(t+"["+o+"]",e[o],i,n)}function H(t){return J.isWindow(t)?t:9===t.nodeType&&t.defaultView}var _=[],q=_.slice,$=_.concat,V=_.push,U=_.indexOf,Q={},G=Q.toString,Y=Q.hasOwnProperty,X={},K=t.document,Z="2.1.4",J=function(t,e){return new J.fn.init(t,e)},tt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,et=/^-ms-/,it=/-([\da-z])/gi,nt=function(t,e){return e.toUpperCase()};J.fn=J.prototype={jquery:Z,constructor:J,selector:"",length:0,toArray:function(){return q.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:q.call(this)},pushStack:function(t){var e=J.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return J.each(this,t,e)},map:function(t){return this.pushStack(J.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(q.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(0>t?e:0);return this.pushStack(i>=0&&e>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:V,sort:_.sort,splice:_.splice},J.extend=J.fn.extend=function(){var t,e,i,n,o,s,a=arguments[0]||{},r=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[r]||{},r++),"object"==typeof a||J.isFunction(a)||(a={}),r===l&&(a=this,r--);l>r;r++)if(null!=(t=arguments[r]))for(e in t)i=a[e],n=t[e],a!==n&&(c&&n&&(J.isPlainObject(n)||(o=J.isArray(n)))?(o?(o=!1,s=i&&J.isArray(i)?i:[]):s=i&&J.isPlainObject(i)?i:{},a[e]=J.extend(c,s,n)):void 0!==n&&(a[e]=n));return a},J.extend({expando:"jQuery"+(Z+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===J.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!J.isArray(t)&&t-parseFloat(t)+1>=0},isPlainObject:function(t){return"object"!==J.type(t)||t.nodeType||J.isWindow(t)?!1:t.constructor&&!Y.call(t.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?Q[G.call(t)]||"object":typeof t},globalEval:function(t){var e,i=eval;t=J.trim(t),t&&(1===t.indexOf("use strict")?(e=K.createElement("script"),e.text=t,K.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(et,"ms-").replace(it,nt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var o,s=0,a=t.length,r=i(t);if(n){if(r)for(;a>s&&(o=e.apply(t[s],n),o!==!1);s++);else for(s in t)if(o=e.apply(t[s],n),o===!1)break}else if(r)for(;a>s&&(o=e.call(t[s],s,t[s]),o!==!1);s++);else for(s in t)if(o=e.call(t[s],s,t[s]),o===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(tt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?J.merge(n,"string"==typeof t?[t]:t):V.call(n,t)),n},inArray:function(t,e,i){return null==e?-1:U.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;i>n;n++)t[o++]=e[n];return t.length=o,t},grep:function(t,e,i){for(var n,o=[],s=0,a=t.length,r=!i;a>s;s++)n=!e(t[s],s),n!==r&&o.push(t[s]);return o},map:function(t,e,n){var o,s=0,a=t.length,r=i(t),l=[];if(r)for(;a>s;s++)o=e(t[s],s,n),null!=o&&l.push(o);else for(s in t)o=e(t[s],s,n),null!=o&&l.push(o);return $.apply([],l)},guid:1,proxy:function(t,e){var i,n,o;return"string"==typeof e&&(i=t[e],e=t,t=i),J.isFunction(t)?(n=q.call(arguments,2),o=function(){return t.apply(e||this,n.concat(q.call(arguments)))},o.guid=t.guid=t.guid||J.guid++,o):void 0},now:Date.now,support:X}),J.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){Q["[object "+e+"]"]=e.toLowerCase()});var ot=function(t){function e(t,e,i,n){var o,s,a,r,l,c,d,p,f,m;if((e?e.ownerDocument||e:W)!==F&&L(e),e=e||F,i=i||[],r=e.nodeType,"string"!=typeof t||!t||1!==r&&9!==r&&11!==r)return i;if(!n&&N){if(11!==r&&(o=yt.exec(t)))if(a=o[1]){if(9===r){if(s=e.getElementById(a),!s||!s.parentNode)return i;if(s.id===a)return i.push(s),i}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(a))&&O(e,s)&&s.id===a)return i.push(s),i}else{if(o[2])return Z.apply(i,e.getElementsByTagName(t)),i;if((a=o[3])&&x.getElementsByClassName)return Z.apply(i,e.getElementsByClassName(a)),i}if(x.qsa&&(!D||!D.test(t))){if(p=d=z,f=e,m=1!==r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(c=A(t),(d=e.getAttribute("id"))?p=d.replace(wt,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",l=c.length;l--;)c[l]=p+h(c[l]);f=bt.test(t)&&u(e.parentNode)||e,m=c.join(",")}if(m)try{return Z.apply(i,f.querySelectorAll(m)),i}catch(g){}finally{d||e.removeAttribute("id")}}}return E(t.replace(lt,"$1"),e,i,n)}function i(){function t(i,n){return e.push(i+" ")>C.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[z]=!0,t}function o(t){var e=F.createElement("div");try{return!!t(e)}catch(i){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=t.length;n--;)C.attrHandle[i[n]]=e}function a(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Q)-(~t.sourceIndex||Q);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function r(t){return function(e){var i=e.nodeName.toLowerCase();return"input"===i&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),a=s.length;a--;)i[o=s[a]]&&(i[o]=!(n[o]=i[o]))})})}function u(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function d(){}function h(t){for(var e=0,i=t.length,n="";i>e;e++)n+=t[e].value;return n}function p(t,e,i){var n=e.dir,o=i&&"parentNode"===n,s=_++;return e.first?function(e,i,s){for(;e=e[n];)if(1===e.nodeType||o)return t(e,i,s)}:function(e,i,a){var r,l,c=[H,s];if(a){for(;e=e[n];)if((1===e.nodeType||o)&&t(e,i,a))return!0}else for(;e=e[n];)if(1===e.nodeType||o){if(l=e[z]||(e[z]={}),(r=l[n])&&r[0]===H&&r[1]===s)return c[2]=r[2];if(l[n]=c,c[2]=t(e,i,a))return!0}}}function f(t){return t.length>1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function m(t,i,n){for(var o=0,s=i.length;s>o;o++)e(t,i[o],n);return n}function g(t,e,i,n,o){for(var s,a=[],r=0,l=t.length,c=null!=e;l>r;r++)(s=t[r])&&(!i||i(s,n,o))&&(a.push(s),c&&e.push(r));return a}function v(t,e,i,o,s,a){return o&&!o[z]&&(o=v(o)),s&&!s[z]&&(s=v(s,a)),n(function(n,a,r,l){var c,u,d,h=[],p=[],f=a.length,v=n||m(e||"*",r.nodeType?[r]:r,[]),y=!t||!n&&e?v:g(v,h,t,r,l),b=i?s||(n?t:f||o)?[]:a:y;if(i&&i(y,b,r,l),o)for(c=g(b,p),o(c,[],r,l),u=c.length;u--;)(d=c[u])&&(b[p[u]]=!(y[p[u]]=d));if(n){if(s||t){if(s){for(c=[],u=b.length;u--;)(d=b[u])&&c.push(y[u]=d);s(null,b=[],c,l)}for(u=b.length;u--;)(d=b[u])&&(c=s?tt(n,d):h[u])>-1&&(n[c]=!(a[c]=d))}}else b=g(b===a?b.splice(f,b.length):b),s?s(null,a,b,l):Z.apply(a,b)})}function y(t){for(var e,i,n,o=t.length,s=C.relative[t[0].type],a=s||C.relative[" "],r=s?1:0,l=p(function(t){return t===e},a,!0),c=p(function(t){return tt(e,t)>-1},a,!0),u=[function(t,i,n){var o=!s&&(n||i!==P)||((e=i).nodeType?l(t,i,n):c(t,i,n));return e=null,o}];o>r;r++)if(i=C.relative[t[r].type])u=[p(f(u),i)];else{if(i=C.filter[t[r].type].apply(null,t[r].matches),i[z]){for(n=++r;o>n&&!C.relative[t[n].type];n++);return v(r>1&&f(u),r>1&&h(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(lt,"$1"),i,n>r&&y(t.slice(r,n)),o>n&&y(t=t.slice(n)),o>n&&h(t))}u.push(i)}return f(u)}function b(t,i){var o=i.length>0,s=t.length>0,a=function(n,a,r,l,c){var u,d,h,p=0,f="0",m=n&&[],v=[],y=P,b=n||s&&C.find.TAG("*",c),w=H+=null==y?1:Math.random()||.1,x=b.length;for(c&&(P=a!==F&&a);f!==x&&null!=(u=b[f]);f++){if(s&&u){for(d=0;h=t[d++];)if(h(u,a,r)){l.push(u);break}c&&(H=w)}o&&((u=!h&&u)&&p--,n&&m.push(u))}if(p+=f,o&&f!==p){for(d=0;h=i[d++];)h(m,v,a,r);if(n){if(p>0)for(;f--;)m[f]||v[f]||(v[f]=X.call(l));v=g(v)}Z.apply(l,v),c&&!n&&v.length>0&&p+i.length>1&&e.uniqueSort(l)}return c&&(H=w,P=y),m};return o?n(a):a}var w,x,C,S,T,A,k,E,P,j,M,L,F,I,N,D,B,R,O,z="sizzle"+1*new Date,W=t.document,H=0,_=0,q=i(),$=i(),V=i(),U=function(t,e){return t===e&&(M=!0),0},Q=1<<31,G={}.hasOwnProperty,Y=[],X=Y.pop,K=Y.push,Z=Y.push,J=Y.slice,tt=function(t,e){for(var i=0,n=t.length;n>i;i++)if(t[i]===e)return i;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",nt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=nt.replace("w","w#"),st="\\["+it+"*("+nt+")(?:"+it+"*([*^$|!~]?=)"+it+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ot+"))|)"+it+"*\\]",at=":("+nt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+st+")*)|.*)\\)|)",rt=new RegExp(it+"+","g"),lt=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),ct=new RegExp("^"+it+"*,"+it+"*"),ut=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),dt=new RegExp("="+it+"*([^\\]'\"]*?)"+it+"*\\]","g"),ht=new RegExp(at),pt=new RegExp("^"+ot+"$"),ft={ID:new RegExp("^#("+nt+")"),CLASS:new RegExp("^\\.("+nt+")"),TAG:new RegExp("^("+nt.replace("w","w*")+")"),ATTR:new RegExp("^"+st),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,wt=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),Ct=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},St=function(){L()};try{Z.apply(Y=J.call(W.childNodes),W.childNodes),Y[W.childNodes.length].nodeType}catch(Tt){Z={apply:Y.length?function(t,e){K.apply(t,J.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}x=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},L=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:W;return n!==F&&9===n.nodeType&&n.documentElement?(F=n,I=n.documentElement,i=n.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",St,!1):i.attachEvent&&i.attachEvent("onunload",St)),N=!T(n),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=vt.test(n.getElementsByClassName),x.getById=o(function(t){return I.appendChild(t).id=z,!n.getElementsByName||!n.getElementsByName(z).length}),x.getById?(C.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&N){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},C.filter.ID=function(t){var e=t.replace(xt,Ct);return function(t){return t.getAttribute("id")===e}}):(delete C.find.ID,C.filter.ID=function(t){var e=t.replace(xt,Ct);return function(t){var i="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),C.find.TAG=x.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},C.find.CLASS=x.getElementsByClassName&&function(t,e){return N?e.getElementsByClassName(t):void 0},B=[],D=[],(x.qsa=vt.test(n.querySelectorAll))&&(o(function(t){I.appendChild(t).innerHTML="<a id='"+z+"'></a><select id='"+z+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&D.push("[*^$]="+it+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||D.push("\\["+it+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+z+"-]").length||D.push("~="),t.querySelectorAll(":checked").length||D.push(":checked"),t.querySelectorAll("a#"+z+"+*").length||D.push(".#.+[+~]")}),o(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&D.push("name"+it+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||D.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),D.push(",.*:")})),(x.matchesSelector=vt.test(R=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&o(function(t){x.disconnectedMatch=R.call(t,"div"),R.call(t,"[s!='']:x"),B.push("!=",at)}),D=D.length&&new RegExp(D.join("|")),B=B.length&&new RegExp(B.join("|")),e=vt.test(I.compareDocumentPosition),O=e||vt.test(I.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return M=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!x.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===W&&O(W,t)?-1:e===n||e.ownerDocument===W&&O(W,e)?1:j?tt(j,t)-tt(j,e):0:4&i?-1:1)}:function(t,e){if(t===e)return M=!0,0;var i,o=0,s=t.parentNode,r=e.parentNode,l=[t],c=[e];if(!s||!r)return t===n?-1:e===n?1:s?-1:r?1:j?tt(j,t)-tt(j,e):0;if(s===r)return a(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)c.unshift(i);for(;l[o]===c[o];)o++;return o?a(l[o],c[o]):l[o]===W?-1:c[o]===W?1:0},n):F},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==F&&L(t),i=i.replace(dt,"='$1']"),!(!x.matchesSelector||!N||B&&B.test(i)||D&&D.test(i)))try{var n=R.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(o){}return e(i,F,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==F&&L(t),O(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==F&&L(t);var i=C.attrHandle[e.toLowerCase()],n=i&&G.call(C.attrHandle,e.toLowerCase())?i(t,e,!N):void 0;return void 0!==n?n:x.attributes||!N?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,o=0;if(M=!x.detectDuplicates,j=!x.sortStable&&t.slice(0),t.sort(U),M){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}return j=null,t},S=e.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=S(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=S(e);return i},C=e.selectors={cacheLength:50,createPseudo:n,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(xt,Ct),t[3]=(t[3]||t[4]||t[5]||"").replace(xt,Ct),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ht.test(i)&&(e=A(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(xt,Ct).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+" "];return e||(e=new RegExp("(^|"+it+")"+t+"("+it+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:i?(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&s.indexOf(n)>-1:"$="===i?n&&s.slice(-n.length)===n:"~="===i?(" "+s.replace(rt," ")+" ").indexOf(n)>-1:"|="===i?s===n||s.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(t,e,i,n,o){var s="nth"!==t.slice(0,3),a="last"!==t.slice(-4),r="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,l){var c,u,d,h,p,f,m=s!==a?"nextSibling":"previousSibling",g=e.parentNode,v=r&&e.nodeName.toLowerCase(),y=!l&&!r;if(g){if(s){for(;m;){for(d=e;d=d[m];)if(r?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[a?g.firstChild:g.lastChild],a&&y){for(u=g[z]||(g[z]={}),c=u[t]||[],p=c[0]===H&&c[1],h=c[0]===H&&c[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(h=p=0)||f.pop();)if(1===d.nodeType&&++h&&d===e){u[t]=[H,p,h];break}}else if(y&&(c=(e[z]||(e[z]={}))[t])&&c[0]===H)h=c[1];else for(;(d=++p&&d&&d[m]||(h=p=0)||f.pop())&&((r?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++h||(y&&((d[z]||(d[z]={}))[t]=[H,h]),d!==e)););return h-=o,h===n||h%n===0&&h/n>=0}}},PSEUDO:function(t,i){var o,s=C.pseudos[t]||C.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[z]?s(i):s.length>1?(o=[t,t,"",i],C.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,o=s(t,i),a=o.length;a--;)n=tt(t,o[a]),t[n]=!(e[n]=o[a])}):function(t){return s(t,0,o)}):s}},pseudos:{not:n(function(t){var e=[],i=[],o=k(t.replace(lt,"$1"));return o[z]?n(function(t,e,i,n){for(var s,a=o(t,null,n,[]),r=t.length;r--;)(s=a[r])&&(t[r]=!(e[r]=s))}):function(t,n,s){return e[0]=t,o(e,null,s,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(xt,Ct),function(e){return(e.textContent||e.innerText||S(e)).indexOf(t)>-1}}),lang:n(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xt,Ct).toLowerCase(),function(e){var i;do if(i=N?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===I},focus:function(t){return t===F.activeElement&&(!F.hasFocus||F.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return mt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,i){return[0>i?i+e:i]}),even:c(function(t,e){for(var i=0;e>i;i+=2)t.push(i);return t}),odd:c(function(t,e){for(var i=1;e>i;i+=2)t.push(i);return t}),lt:c(function(t,e,i){for(var n=0>i?i+e:i;--n>=0;)t.push(n);return t}),gt:c(function(t,e,i){for(var n=0>i?i+e:i;++n<e;)t.push(n);return t})}},C.pseudos.nth=C.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[w]=r(w);for(w in{submit:!0,reset:!0})C.pseudos[w]=l(w);return d.prototype=C.filters=C.pseudos,C.setFilters=new d,A=e.tokenize=function(t,i){var n,o,s,a,r,l,c,u=$[t+" "];if(u)return i?0:u.slice(0);for(r=t,l=[],c=C.preFilter;r;){(!n||(o=ct.exec(r)))&&(o&&(r=r.slice(o[0].length)||r),l.push(s=[])),n=!1,(o=ut.exec(r))&&(n=o.shift(),s.push({value:n,type:o[0].replace(lt," ")}),r=r.slice(n.length));for(a in C.filter)!(o=ft[a].exec(r))||c[a]&&!(o=c[a](o))||(n=o.shift(),s.push({value:n,type:a,matches:o}),r=r.slice(n.length));if(!n)break}return i?r.length:r?e.error(t):$(t,l).slice(0)},k=e.compile=function(t,e){var i,n=[],o=[],s=V[t+" "];if(!s){for(e||(e=A(t)),i=e.length;i--;)s=y(e[i]),s[z]?n.push(s):o.push(s);s=V(t,b(o,n)),s.selector=t}return s},E=e.select=function(t,e,i,n){var o,s,a,r,l,c="function"==typeof t&&t,d=!n&&A(t=c.selector||t);if(i=i||[],1===d.length){if(s=d[0]=d[0].slice(0),s.length>2&&"ID"===(a=s[0]).type&&x.getById&&9===e.nodeType&&N&&C.relative[s[1].type]){if(e=(C.find.ID(a.matches[0].replace(xt,Ct),e)||[])[0],!e)return i;c&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=ft.needsContext.test(t)?0:s.length;o--&&(a=s[o],!C.relative[r=a.type]);)if((l=C.find[r])&&(n=l(a.matches[0].replace(xt,Ct),bt.test(s[0].type)&&u(e.parentNode)||e))){if(s.splice(o,1),t=n.length&&h(s),!t)return Z.apply(i,n),i;break}}return(c||k(t,d))(n,e,!N,i,bt.test(t)&&u(e.parentNode)||e),i},x.sortStable=z.split("").sort(U).join("")===z,x.detectDuplicates=!!M,L(),x.sortDetached=o(function(t){return 1&t.compareDocumentPosition(F.createElement("div"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||s("type|href|height|width",function(t,e,i){return i?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||s("value",function(t,e,i){return i||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||s(et,function(t,e,i){var n;return i?void 0:t[e]===!0?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);J.find=ot,J.expr=ot.selectors,J.expr[":"]=J.expr.pseudos,J.unique=ot.uniqueSort,J.text=ot.getText,J.isXMLDoc=ot.isXML,J.contains=ot.contains;var st=J.expr.match.needsContext,at=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,rt=/^.[^:#\[\.,]*$/;J.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?J.find.matchesSelector(n,t)?[n]:[]:J.find.matches(t,J.grep(e,function(t){
return 1===t.nodeType}))},J.fn.extend({find:function(t){var e,i=this.length,n=[],o=this;if("string"!=typeof t)return this.pushStack(J(t).filter(function(){for(e=0;i>e;e++)if(J.contains(o[e],this))return!0}));for(e=0;i>e;e++)J.find(t,o[e],n);return n=this.pushStack(i>1?J.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,"string"==typeof t&&st.test(t)?J(t):t||[],!1).length}});var lt,ct=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ut=J.fn.init=function(t,e){var i,n;if(!t)return this;if("string"==typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:ct.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||lt).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof J?e[0]:e,J.merge(this,J.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:K,!0)),at.test(i[1])&&J.isPlainObject(e))for(i in e)J.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return n=K.getElementById(i[2]),n&&n.parentNode&&(this.length=1,this[0]=n),this.context=K,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):J.isFunction(t)?"undefined"!=typeof lt.ready?lt.ready(t):t(J):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),J.makeArray(t,this))};ut.prototype=J.fn,lt=J(K);var dt=/^(?:parents|prev(?:Until|All))/,ht={children:!0,contents:!0,next:!0,prev:!0};J.extend({dir:function(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&J(t).is(i))break;n.push(t)}return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}}),J.fn.extend({has:function(t){var e=J(t,this),i=e.length;return this.filter(function(){for(var t=0;i>t;t++)if(J.contains(this,e[t]))return!0})},closest:function(t,e){for(var i,n=0,o=this.length,s=[],a=st.test(t)||"string"!=typeof t?J(t,e||this.context):0;o>n;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(a?a.index(i)>-1:1===i.nodeType&&J.find.matchesSelector(i,t))){s.push(i);break}return this.pushStack(s.length>1?J.unique(s):s)},index:function(t){return t?"string"==typeof t?U.call(J(t),this[0]):U.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(J.unique(J.merge(this.get(),J(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),J.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return J.dir(t,"parentNode")},parentsUntil:function(t,e,i){return J.dir(t,"parentNode",i)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return J.dir(t,"nextSibling")},prevAll:function(t){return J.dir(t,"previousSibling")},nextUntil:function(t,e,i){return J.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return J.dir(t,"previousSibling",i)},siblings:function(t){return J.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return J.sibling(t.firstChild)},contents:function(t){return t.contentDocument||J.merge([],t.childNodes)}},function(t,e){J.fn[t]=function(i,n){var o=J.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=J.filter(n,o)),this.length>1&&(ht[t]||J.unique(o),dt.test(t)&&o.reverse()),this.pushStack(o)}});var pt=/\S+/g,ft={};J.Callbacks=function(t){t="string"==typeof t?ft[t]||s(t):J.extend({},t);var e,i,n,o,a,r,l=[],c=!t.once&&[],u=function(s){for(e=t.memory&&s,i=!0,r=o||0,o=0,a=l.length,n=!0;l&&a>r;r++)if(l[r].apply(s[0],s[1])===!1&&t.stopOnFalse){e=!1;break}n=!1,l&&(c?c.length&&u(c.shift()):e?l=[]:d.disable())},d={add:function(){if(l){var i=l.length;!function s(e){J.each(e,function(e,i){var n=J.type(i);"function"===n?t.unique&&d.has(i)||l.push(i):i&&i.length&&"string"!==n&&s(i)})}(arguments),n?a=l.length:e&&(o=i,u(e))}return this},remove:function(){return l&&J.each(arguments,function(t,e){for(var i;(i=J.inArray(e,l,i))>-1;)l.splice(i,1),n&&(a>=i&&a--,r>=i&&r--)}),this},has:function(t){return t?J.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=c=e=void 0,this},disabled:function(){return!l},lock:function(){return c=void 0,e||d.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!l||i&&!c||(e=e||[],e=[t,e.slice?e.slice():e],n?c.push(e):u(e)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},J.extend({Deferred:function(t){var e=[["resolve","done",J.Callbacks("once memory"),"resolved"],["reject","fail",J.Callbacks("once memory"),"rejected"],["notify","progress",J.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return J.Deferred(function(i){J.each(e,function(e,s){var a=J.isFunction(t[e])&&t[e];o[s[1]](function(){var t=a&&a.apply(this,arguments);t&&J.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[s[0]+"With"](this===n?i.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?J.extend(t,n):n}},o={};return n.pipe=n.then,J.each(e,function(t,s){var a=s[2],r=s[3];n[s[1]]=a.add,r&&a.add(function(){i=r},e[1^t][2].disable,e[2][2].lock),o[s[0]]=function(){return o[s[0]+"With"](this===o?n:this,arguments),this},o[s[0]+"With"]=a.fireWith}),n.promise(o),t&&t.call(o,o),o},when:function(t){var e,i,n,o=0,s=q.call(arguments),a=s.length,r=1!==a||t&&J.isFunction(t.promise)?a:0,l=1===r?t:J.Deferred(),c=function(t,i,n){return function(o){i[t]=this,n[t]=arguments.length>1?q.call(arguments):o,n===e?l.notifyWith(i,n):--r||l.resolveWith(i,n)}};if(a>1)for(e=new Array(a),i=new Array(a),n=new Array(a);a>o;o++)s[o]&&J.isFunction(s[o].promise)?s[o].promise().done(c(o,n,s)).fail(l.reject).progress(c(o,i,e)):--r;return r||l.resolveWith(n,s),l.promise()}});var mt;J.fn.ready=function(t){return J.ready.promise().done(t),this},J.extend({isReady:!1,readyWait:1,holdReady:function(t){t?J.readyWait++:J.ready(!0)},ready:function(t){(t===!0?--J.readyWait:J.isReady)||(J.isReady=!0,t!==!0&&--J.readyWait>0||(mt.resolveWith(K,[J]),J.fn.triggerHandler&&(J(K).triggerHandler("ready"),J(K).off("ready"))))}}),J.ready.promise=function(e){return mt||(mt=J.Deferred(),"complete"===K.readyState?setTimeout(J.ready):(K.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1))),mt.promise(e)},J.ready.promise();var gt=J.access=function(t,e,i,n,o,s,a){var r=0,l=t.length,c=null==i;if("object"===J.type(i)){o=!0;for(r in i)J.access(t,e,r,i[r],!0,s,a)}else if(void 0!==n&&(o=!0,J.isFunction(n)||(a=!0),c&&(a?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(J(t),i)})),e))for(;l>r;r++)e(t[r],i,a?n:n.call(t[r],r,e(t[r],i)));return o?t:c?e.call(t):l?e(t[0],i):s};J.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},r.uid=1,r.accepts=J.acceptData,r.prototype={key:function(t){if(!r.accepts(t))return 0;var e={},i=t[this.expando];if(!i){i=r.uid++;try{e[this.expando]={value:i},Object.defineProperties(t,e)}catch(n){e[this.expando]=i,J.extend(t,e)}}return this.cache[i]||(this.cache[i]={}),i},set:function(t,e,i){var n,o=this.key(t),s=this.cache[o];if("string"==typeof e)s[e]=i;else if(J.isEmptyObject(s))J.extend(this.cache[o],e);else for(n in e)s[n]=e[n];return s},get:function(t,e){var i=this.cache[this.key(t)];return void 0===e?i:i[e]},access:function(t,e,i){var n;return void 0===e||e&&"string"==typeof e&&void 0===i?(n=this.get(t,e),void 0!==n?n:this.get(t,J.camelCase(e))):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n,o,s=this.key(t),a=this.cache[s];if(void 0===e)this.cache[s]={};else{J.isArray(e)?n=e.concat(e.map(J.camelCase)):(o=J.camelCase(e),e in a?n=[e,o]:(n=o,n=n in a?[n]:n.match(pt)||[])),i=n.length;for(;i--;)delete a[n[i]]}},hasData:function(t){return!J.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var vt=new r,yt=new r,bt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,wt=/([A-Z])/g;J.extend({hasData:function(t){return yt.hasData(t)||vt.hasData(t)},data:function(t,e,i){return yt.access(t,e,i)},removeData:function(t,e){yt.remove(t,e)},_data:function(t,e,i){return vt.access(t,e,i)},_removeData:function(t,e){vt.remove(t,e)}}),J.fn.extend({data:function(t,e){var i,n,o,s=this[0],a=s&&s.attributes;if(void 0===t){if(this.length&&(o=yt.get(s),1===s.nodeType&&!vt.get(s,"hasDataAttrs"))){for(i=a.length;i--;)a[i]&&(n=a[i].name,0===n.indexOf("data-")&&(n=J.camelCase(n.slice(5)),l(s,n,o[n])));vt.set(s,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){yt.set(this,t)}):gt(this,function(e){var i,n=J.camelCase(t);if(s&&void 0===e){if(i=yt.get(s,t),void 0!==i)return i;if(i=yt.get(s,n),void 0!==i)return i;if(i=l(s,n,void 0),void 0!==i)return i}else this.each(function(){var i=yt.get(this,n);yt.set(this,n,e),-1!==t.indexOf("-")&&void 0!==i&&yt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){yt.remove(this,t)})}}),J.extend({queue:function(t,e,i){var n;return t?(e=(e||"fx")+"queue",n=vt.get(t,e),i&&(!n||J.isArray(i)?n=vt.access(t,e,J.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(t,e){e=e||"fx";var i=J.queue(t,e),n=i.length,o=i.shift(),s=J._queueHooks(t,e),a=function(){J.dequeue(t,e)};"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete s.stop,o.call(t,a,s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return vt.get(t,i)||vt.access(t,i,{empty:J.Callbacks("once memory").add(function(){vt.remove(t,[e+"queue",i])})})}}),J.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?J.queue(this[0],t):void 0===e?this:this.each(function(){var i=J.queue(this,t,e);J._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&J.dequeue(this,t)})},dequeue:function(t){return this.each(function(){J.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,o=J.Deferred(),s=this,a=this.length,r=function(){--n||o.resolveWith(s,[s])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)i=vt.get(s[a],t+"queueHooks"),i&&i.empty&&(n++,i.empty.add(r));return r(),o.promise(e)}});var xt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ct=["Top","Right","Bottom","Left"],St=function(t,e){return t=e||t,"none"===J.css(t,"display")||!J.contains(t.ownerDocument,t)},Tt=/^(?:checkbox|radio)$/i;!function(){var t=K.createDocumentFragment(),e=t.appendChild(K.createElement("div")),i=K.createElement("input");i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),e.appendChild(i),X.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",X.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var At="undefined";X.focusinBubbles="onfocusin"in t;var kt=/^key/,Et=/^(?:mouse|pointer|contextmenu)|click/,Pt=/^(?:focusinfocus|focusoutblur)$/,jt=/^([^.]*)(?:\.(.+)|)$/;J.event={global:{},add:function(t,e,i,n,o){var s,a,r,l,c,u,d,h,p,f,m,g=vt.get(t);if(g)for(i.handler&&(s=i,i=s.handler,o=s.selector),i.guid||(i.guid=J.guid++),(l=g.events)||(l=g.events={}),(a=g.handle)||(a=g.handle=function(e){return typeof J!==At&&J.event.triggered!==e.type?J.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(pt)||[""],c=e.length;c--;)r=jt.exec(e[c])||[],p=m=r[1],f=(r[2]||"").split(".").sort(),p&&(d=J.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=J.event.special[p]||{},u=J.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&J.expr.match.needsContext.test(o),namespace:f.join(".")},s),(h=l[p])||(h=l[p]=[],h.delegateCount=0,d.setup&&d.setup.call(t,n,f,a)!==!1||t.addEventListener&&t.addEventListener(p,a,!1)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?h.splice(h.delegateCount++,0,u):h.push(u),J.event.global[p]=!0)},remove:function(t,e,i,n,o){var s,a,r,l,c,u,d,h,p,f,m,g=vt.hasData(t)&&vt.get(t);if(g&&(l=g.events)){for(e=(e||"").match(pt)||[""],c=e.length;c--;)if(r=jt.exec(e[c])||[],p=m=r[1],f=(r[2]||"").split(".").sort(),p){for(d=J.event.special[p]||{},p=(n?d.delegateType:d.bindType)||p,h=l[p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=h.length;s--;)u=h[s],!o&&m!==u.origType||i&&i.guid!==u.guid||r&&!r.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(h.splice(s,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));a&&!h.length&&(d.teardown&&d.teardown.call(t,f,g.handle)!==!1||J.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)J.event.remove(t,p+e[c],i,n,!0);J.isEmptyObject(l)&&(delete g.handle,vt.remove(t,"events"))}},trigger:function(e,i,n,o){var s,a,r,l,c,u,d,h=[n||K],p=Y.call(e,"type")?e.type:e,f=Y.call(e,"namespace")?e.namespace.split("."):[];if(a=r=n=n||K,3!==n.nodeType&&8!==n.nodeType&&!Pt.test(p+J.event.triggered)&&(p.indexOf(".")>=0&&(f=p.split("."),p=f.shift(),f.sort()),c=p.indexOf(":")<0&&"on"+p,e=e[J.expando]?e:new J.Event(p,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:J.makeArray(i,[e]),d=J.event.special[p]||{},o||!d.trigger||d.trigger.apply(n,i)!==!1)){if(!o&&!d.noBubble&&!J.isWindow(n)){for(l=d.delegateType||p,Pt.test(l+p)||(a=a.parentNode);a;a=a.parentNode)h.push(a),r=a;r===(n.ownerDocument||K)&&h.push(r.defaultView||r.parentWindow||t)}for(s=0;(a=h[s++])&&!e.isPropagationStopped();)e.type=s>1?l:d.bindType||p,u=(vt.get(a,"events")||{})[e.type]&&vt.get(a,"handle"),u&&u.apply(a,i),u=c&&a[c],u&&u.apply&&J.acceptData(a)&&(e.result=u.apply(a,i),e.result===!1&&e.preventDefault());return e.type=p,o||e.isDefaultPrevented()||d._default&&d._default.apply(h.pop(),i)!==!1||!J.acceptData(n)||c&&J.isFunction(n[p])&&!J.isWindow(n)&&(r=n[c],r&&(n[c]=null),J.event.triggered=p,n[p](),J.event.triggered=void 0,r&&(n[c]=r)),e.result}},dispatch:function(t){t=J.event.fix(t);var e,i,n,o,s,a=[],r=q.call(arguments),l=(vt.get(this,"events")||{})[t.type]||[],c=J.event.special[t.type]||{};if(r[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(a=J.event.handlers.call(this,t,l),e=0;(o=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,i=0;(s=o.handlers[i++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(s.namespace))&&(t.handleObj=s,t.data=s.data,n=((J.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,r),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,o,s,a=[],r=e.delegateCount,l=t.target;if(r&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!==this;l=l.parentNode||this)if(l.disabled!==!0||"click"!==t.type){for(n=[],i=0;r>i;i++)s=e[i],o=s.selector+" ",void 0===n[o]&&(n[o]=s.needsContext?J(o,this).index(l)>=0:J.find(o,this,null,[l]).length),n[o]&&n.push(s);n.length&&a.push({elem:l,handlers:n})}return r<e.length&&a.push({elem:this,handlers:e.slice(r)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,o,s=e.button;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||K,n=i.documentElement,o=i.body,t.pageX=e.clientX+(n&&n.scrollLeft||o&&o.scrollLeft||0)-(n&&n.clientLeft||o&&o.clientLeft||0),t.pageY=e.clientY+(n&&n.scrollTop||o&&o.scrollTop||0)-(n&&n.clientTop||o&&o.clientTop||0)),t.which||void 0===s||(t.which=1&s?1:2&s?3:4&s?2:0),t}},fix:function(t){if(t[J.expando])return t;var e,i,n,o=t.type,s=t,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=Et.test(o)?this.mouseHooks:kt.test(o)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,t=new J.Event(s),e=n.length;e--;)i=n[e],t[i]=s[i];return t.target||(t.target=K),3===t.target.nodeType&&(t.target=t.target.parentNode),a.filter?a.filter(t,s):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==d()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===d()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&J.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return J.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var o=J.extend(new J.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?J.event.trigger(o,null,e):J.event.dispatch.call(e,o),o.isDefaultPrevented()&&i.preventDefault()}},J.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)},J.Event=function(t,e){return this instanceof J.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?c:u):this.type=t,e&&J.extend(this,e),this.timeStamp=t&&t.timeStamp||J.now(),void(this[J.expando]=!0)):new J.Event(t,e)},J.Event.prototype={isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=c,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=c,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=c,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},J.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){J.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,o=t.relatedTarget,s=t.handleObj;return(!o||o!==n&&!J.contains(n,o))&&(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}}),X.focusinBubbles||J.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){J.event.simulate(e,t.target,J.event.fix(t),!0)};J.event.special[e]={setup:function(){var n=this.ownerDocument||this,o=vt.access(n,e);o||n.addEventListener(t,i,!0),vt.access(n,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this,o=vt.access(n,e)-1;o?vt.access(n,e,o):(n.removeEventListener(t,i,!0),vt.remove(n,e))}}}),J.fn.extend({on:function(t,e,i,n,o){var s,a;if("object"==typeof t){"string"!=typeof e&&(i=i||e,e=void 0);for(a in t)this.on(a,e,i,t[a],o);return this}if(null==i&&null==n?(n=e,i=e=void 0):null==n&&("string"==typeof e?(n=i,i=void 0):(n=i,i=e,e=void 0)),n===!1)n=u;else if(!n)return this;return 1===o&&(s=n,n=function(t){return J().off(t),s.apply(this,arguments)},n.guid=s.guid||(s.guid=J.guid++)),this.each(function(){J.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,J(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return(e===!1||"function"==typeof e)&&(i=e,e=void 0),i===!1&&(i=u),this.each(function(){J.event.remove(this,t,i,e)})},trigger:function(t,e){return this.each(function(){J.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];return i?J.event.trigger(t,e,i,!0):void 0}});var Mt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Lt=/<([\w:]+)/,Ft=/<|&#?\w+;/,It=/<(?:script|style|link)/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,Dt=/^$|\/(?:java|ecma)script/i,Bt=/^true\/(.*)/,Rt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ot={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ot.optgroup=Ot.option,Ot.tbody=Ot.tfoot=Ot.colgroup=Ot.caption=Ot.thead,Ot.th=Ot.td,J.extend({clone:function(t,e,i){var n,o,s,a,r=t.cloneNode(!0),l=J.contains(t.ownerDocument,t);if(!(X.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||J.isXMLDoc(t)))for(a=v(r),s=v(t),n=0,o=s.length;o>n;n++)y(s[n],a[n]);if(e)if(i)for(s=s||v(t),a=a||v(r),n=0,o=s.length;o>n;n++)g(s[n],a[n]);else g(t,r);return a=v(r,"script"),a.length>0&&m(a,!l&&v(t,"script")),r},buildFragment:function(t,e,i,n){for(var o,s,a,r,l,c,u=e.createDocumentFragment(),d=[],h=0,p=t.length;p>h;h++)if(o=t[h],o||0===o)if("object"===J.type(o))J.merge(d,o.nodeType?[o]:o);else if(Ft.test(o)){for(s=s||u.appendChild(e.createElement("div")),a=(Lt.exec(o)||["",""])[1].toLowerCase(),r=Ot[a]||Ot._default,s.innerHTML=r[1]+o.replace(Mt,"<$1></$2>")+r[2],c=r[0];c--;)s=s.lastChild;J.merge(d,s.childNodes),s=u.firstChild,s.textContent=""}else d.push(e.createTextNode(o));for(u.textContent="",h=0;o=d[h++];)if((!n||-1===J.inArray(o,n))&&(l=J.contains(o.ownerDocument,o),s=v(u.appendChild(o),"script"),l&&m(s),i))for(c=0;o=s[c++];)Dt.test(o.type||"")&&i.push(o);return u},cleanData:function(t){for(var e,i,n,o,s=J.event.special,a=0;void 0!==(i=t[a]);a++){if(J.acceptData(i)&&(o=i[vt.expando],o&&(e=vt.cache[o]))){if(e.events)for(n in e.events)s[n]?J.event.remove(i,n):J.removeEvent(i,n,e.handle);vt.cache[o]&&delete vt.cache[o]}delete yt.cache[i[yt.expando]]}}}),J.fn.extend({text:function(t){return gt(this,function(t){return void 0===t?J.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=h(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=h(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?J.filter(t,this):this,o=0;null!=(i=n[o]);o++)e||1!==i.nodeType||J.cleanData(v(i)),i.parentNode&&(e&&J.contains(i.ownerDocument,i)&&m(v(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(J.cleanData(v(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return J.clone(this,t,e)})},html:function(t){return gt(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!It.test(t)&&!Ot[(Lt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Mt,"<$1></$2>");try{for(;n>i;i++)e=this[i]||{},1===e.nodeType&&(J.cleanData(v(e,!1)),e.innerHTML=t);e=0}catch(o){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,J.cleanData(v(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=$.apply([],t);var i,n,o,s,a,r,l=0,c=this.length,u=this,d=c-1,h=t[0],m=J.isFunction(h);if(m||c>1&&"string"==typeof h&&!X.checkClone&&Nt.test(h))return this.each(function(i){var n=u.eq(i);m&&(t[0]=h.call(this,i,n.php())),n.domManip(t,e)});if(c&&(i=J.buildFragment(t,this[0].ownerDocument,!1,this),n=i.firstChild,1===i.childNodes.length&&(i=n),n)){for(o=J.map(v(i,"script"),p),s=o.length;c>l;l++)a=i,l!==d&&(a=J.clone(a,!0,!0),s&&J.merge(o,v(a,"script"))),e.call(this[l],a,l);if(s)for(r=o[o.length-1].ownerDocument,J.map(o,f),l=0;s>l;l++)a=o[l],Dt.test(a.type||"")&&!vt.access(a,"globalEval")&&J.contains(r,a)&&(a.src?J._evalUrl&&J._evalUrl(a.src):J.globalEval(a.textContent.replace(Rt,"")))}return this}}),J.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){J.fn[t]=function(t){for(var i,n=[],o=J(t),s=o.length-1,a=0;s>=a;a++)i=a===s?this:this.clone(!0),J(o[a])[e](i),V.apply(n,i.get());return this.pushStack(n)}});var zt,Wt={},Ht=/^margin/,_t=new RegExp("^("+xt+")(?!px)[a-z%]+$","i"),qt=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)};!function(){function e(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",o.appendChild(s);var e=t.getComputedStyle(a,null);i="1%"!==e.top,n="4px"===e.width,o.removeChild(s)}var i,n,o=K.documentElement,s=K.createElement("div"),a=K.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",X.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",s.appendChild(a),t.getComputedStyle&&J.extend(X,{pixelPosition:function(){return e(),i},boxSizingReliable:function(){return null==n&&e(),n},reliableMarginRight:function(){var e,i=a.appendChild(K.createElement("div"));return i.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",a.style.width="1px",o.appendChild(s),e=!parseFloat(t.getComputedStyle(i,null).marginRight),o.removeChild(s),a.removeChild(i),e}}))}(),J.swap=function(t,e,i,n){var o,s,a={};for(s in e)a[s]=t.style[s],t.style[s]=e[s];o=i.apply(t,n||[]);for(s in e)t.style[s]=a[s];return o};var $t=/^(none|table(?!-c[ea]).+)/,Vt=new RegExp("^("+xt+")(.*)$","i"),Ut=new RegExp("^([+-])=("+xt+")","i"),Qt={position:"absolute",visibility:"hidden",display:"block"},Gt={letterSpacing:"0",fontWeight:"400"},Yt=["Webkit","O","Moz","ms"];J.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=x(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,s,a,r=J.camelCase(e),l=t.style;return e=J.cssProps[r]||(J.cssProps[r]=S(l,r)),a=J.cssHooks[e]||J.cssHooks[r],void 0===i?a&&"get"in a&&void 0!==(o=a.get(t,!1,n))?o:l[e]:(s=typeof i,"string"===s&&(o=Ut.exec(i))&&(i=(o[1]+1)*o[2]+parseFloat(J.css(t,e)),s="number"),null!=i&&i===i&&("number"!==s||J.cssNumber[r]||(i+="px"),X.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(i=a.set(t,i,n))||(l[e]=i)),void 0)}},css:function(t,e,i,n){var o,s,a,r=J.camelCase(e);return e=J.cssProps[r]||(J.cssProps[r]=S(t.style,r)),a=J.cssHooks[e]||J.cssHooks[r],a&&"get"in a&&(o=a.get(t,!0,i)),void 0===o&&(o=x(t,e,n)),"normal"===o&&e in Gt&&(o=Gt[e]),""===i||i?(s=parseFloat(o),i===!0||J.isNumeric(s)?s||0:o):o}}),J.each(["height","width"],function(t,e){J.cssHooks[e]={get:function(t,i,n){return i?$t.test(J.css(t,"display"))&&0===t.offsetWidth?J.swap(t,Qt,function(){return k(t,e,n)}):k(t,e,n):void 0},set:function(t,i,n){var o=n&&qt(t);return T(t,i,n?A(t,e,n,"border-box"===J.css(t,"boxSizing",!1,o),o):0)}}}),J.cssHooks.marginRight=C(X.reliableMarginRight,function(t,e){return e?J.swap(t,{display:"inline-block"},x,[t,"marginRight"]):void 0}),J.each({margin:"",padding:"",border:"Width"},function(t,e){J.cssHooks[t+e]={expand:function(i){for(var n=0,o={},s="string"==typeof i?i.split(" "):[i];4>n;n++)o[t+Ct[n]+e]=s[n]||s[n-2]||s[0];return o}},Ht.test(t)||(J.cssHooks[t+e].set=T)}),J.fn.extend({css:function(t,e){return gt(this,function(t,e,i){var n,o,s={},a=0;if(J.isArray(e)){for(n=qt(t),o=e.length;o>a;a++)s[e[a]]=J.css(t,e[a],!1,n);return s}return void 0!==i?J.style(t,e,i):J.css(t,e)},t,e,arguments.length>1)},show:function(){return E(this,!0)},hide:function(){return E(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){St(this)?J(this).show():J(this).hide()})}}),J.Tween=P,P.prototype={constructor:P,init:function(t,e,i,n,o,s){this.elem=t,this.prop=i,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(J.cssNumber[i]?"":"px")},cur:function(){var t=P.propHooks[this.prop];return t&&t.get?t.get(this):P.propHooks._default.get(this)},run:function(t){var e,i=P.propHooks[this.prop];return this.pos=e=this.options.duration?J.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):P.propHooks._default.set(this),this}},P.prototype.init.prototype=P.prototype,P.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=J.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){J.fx.step[t.prop]?J.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[J.cssProps[t.prop]]||J.cssHooks[t.prop])?J.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},P.propHooks.scrollTop=P.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},J.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},J.fx=P.prototype.init,J.fx.step={};var Xt,Kt,Zt=/^(?:toggle|show|hide)$/,Jt=new RegExp("^(?:([+-])=|)("+xt+")([a-z%]*)$","i"),te=/queueHooks$/,ee=[F],ie={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),o=Jt.exec(e),s=o&&o[3]||(J.cssNumber[t]?"":"px"),a=(J.cssNumber[t]||"px"!==s&&+n)&&Jt.exec(J.css(i.elem,t)),r=1,l=20;if(a&&a[3]!==s){s=s||a[3],o=o||[],a=+n||1;do r=r||".5",a/=r,J.style(i.elem,t,a+s);while(r!==(r=i.cur()/n)&&1!==r&&--l)}return o&&(a=i.start=+a||+n||0,i.unit=s,i.end=o[1]?a+(o[1]+1)*o[2]:+o[2]),i}]};J.Animation=J.extend(N,{tweener:function(t,e){J.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,o=t.length;o>n;n++)i=t[n],ie[i]=ie[i]||[],ie[i].unshift(e)},prefilter:function(t,e){e?ee.unshift(t):ee.push(t)}}),J.speed=function(t,e,i){var n=t&&"object"==typeof t?J.extend({},t):{complete:i||!i&&e||J.isFunction(t)&&t,duration:t,easing:i&&e||e&&!J.isFunction(e)&&e};return n.duration=J.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in J.fx.speeds?J.fx.speeds[n.duration]:J.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){J.isFunction(n.old)&&n.old.call(this),n.queue&&J.dequeue(this,n.queue)},n},J.fn.extend({fadeTo:function(t,e,i,n){return this.filter(St).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var o=J.isEmptyObject(t),s=J.speed(e,i,n),a=function(){var e=N(this,J.extend({},t),s);(o||vt.get(this,"finish"))&&e.stop(!0)};return a.finish=a,o||s.queue===!1?this.each(a):this.queue(s.queue,a)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",s=J.timers,a=vt.get(this);if(o)a[o]&&a[o].stop&&n(a[o]);else for(o in a)a[o]&&a[o].stop&&te.test(o)&&n(a[o]);for(o=s.length;o--;)s[o].elem!==this||null!=t&&s[o].queue!==t||(s[o].anim.stop(i),e=!1,s.splice(o,1));(e||!i)&&J.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,i=vt.get(this),n=i[t+"queue"],o=i[t+"queueHooks"],s=J.timers,a=n?n.length:0;

for(i.finish=!0,J.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;a>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),J.each(["toggle","show","hide"],function(t,e){var i=J.fn[e];J.fn[e]=function(t,n,o){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(M(e,!0),t,n,o)}}),J.each({slideDown:M("show"),slideUp:M("hide"),slideToggle:M("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){J.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),J.timers=[],J.fx.tick=function(){var t,e=0,i=J.timers;for(Xt=J.now();e<i.length;e++)t=i[e],t()||i[e]!==t||i.splice(e--,1);i.length||J.fx.stop(),Xt=void 0},J.fx.timer=function(t){J.timers.push(t),t()?J.fx.start():J.timers.pop()},J.fx.interval=13,J.fx.start=function(){Kt||(Kt=setInterval(J.fx.tick,J.fx.interval))},J.fx.stop=function(){clearInterval(Kt),Kt=null},J.fx.speeds={slow:600,fast:200,_default:400},J.fn.delay=function(t,e){return t=J.fx?J.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},function(){var t=K.createElement("input"),e=K.createElement("select"),i=e.appendChild(K.createElement("option"));t.type="checkbox",X.checkOn=""!==t.value,X.optSelected=i.selected,e.disabled=!0,X.optDisabled=!i.disabled,t=K.createElement("input"),t.value="t",t.type="radio",X.radioValue="t"===t.value}();var ne,oe,se=J.expr.attrHandle;J.fn.extend({attr:function(t,e){return gt(this,J.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){J.removeAttr(this,t)})}}),J.extend({attr:function(t,e,i){var n,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return typeof t.getAttribute===At?J.prop(t,e,i):(1===s&&J.isXMLDoc(t)||(e=e.toLowerCase(),n=J.attrHooks[e]||(J.expr.match.bool.test(e)?oe:ne)),void 0===i?n&&"get"in n&&null!==(o=n.get(t,e))?o:(o=J.find.attr(t,e),null==o?void 0:o):null!==i?n&&"set"in n&&void 0!==(o=n.set(t,i,e))?o:(t.setAttribute(e,i+""),i):void J.removeAttr(t,e))},removeAttr:function(t,e){var i,n,o=0,s=e&&e.match(pt);if(s&&1===t.nodeType)for(;i=s[o++];)n=J.propFix[i]||i,J.expr.match.bool.test(i)&&(t[n]=!1),t.removeAttribute(i)},attrHooks:{type:{set:function(t,e){if(!X.radioValue&&"radio"===e&&J.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}}}),oe={set:function(t,e,i){return e===!1?J.removeAttr(t,i):t.setAttribute(i,i),i}},J.each(J.expr.match.bool.source.match(/\w+/g),function(t,e){var i=se[e]||J.find.attr;se[e]=function(t,e,n){var o,s;return n||(s=se[e],se[e]=o,o=null!=i(t,e,n)?e.toLowerCase():null,se[e]=s),o}});var ae=/^(?:input|select|textarea|button)$/i;J.fn.extend({prop:function(t,e){return gt(this,J.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[J.propFix[t]||t]})}}),J.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,i){var n,o,s,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return s=1!==a||!J.isXMLDoc(t),s&&(e=J.propFix[e]||e,o=J.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||ae.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),X.optSelected||(J.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),J.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){J.propFix[this.toLowerCase()]=this});var re=/[\t\r\n\f]/g;J.fn.extend({addClass:function(t){var e,i,n,o,s,a,r="string"==typeof t&&t,l=0,c=this.length;if(J.isFunction(t))return this.each(function(e){J(this).addClass(t.call(this,e,this.className))});if(r)for(e=(t||"").match(pt)||[];c>l;l++)if(i=this[l],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(re," "):" ")){for(s=0;o=e[s++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=J.trim(n),i.className!==a&&(i.className=a)}return this},removeClass:function(t){var e,i,n,o,s,a,r=0===arguments.length||"string"==typeof t&&t,l=0,c=this.length;if(J.isFunction(t))return this.each(function(e){J(this).removeClass(t.call(this,e,this.className))});if(r)for(e=(t||"").match(pt)||[];c>l;l++)if(i=this[l],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(re," "):"")){for(s=0;o=e[s++];)for(;n.indexOf(" "+o+" ")>=0;)n=n.replace(" "+o+" "," ");a=t?J.trim(n):"",i.className!==a&&(i.className=a)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):this.each(J.isFunction(t)?function(i){J(this).toggleClass(t.call(this,i,this.className,e),e)}:function(){if("string"===i)for(var e,n=0,o=J(this),s=t.match(pt)||[];e=s[n++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else(i===At||"boolean"===i)&&(this.className&&vt.set(this,"__className__",this.className),this.className=this.className||t===!1?"":vt.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(re," ").indexOf(e)>=0)return!0;return!1}});var le=/\r/g;J.fn.extend({val:function(t){var e,i,n,o=this[0];{if(arguments.length)return n=J.isFunction(t),this.each(function(i){var o;1===this.nodeType&&(o=n?t.call(this,i,J(this).val()):t,null==o?o="":"number"==typeof o?o+="":J.isArray(o)&&(o=J.map(o,function(t){return null==t?"":t+""})),e=J.valHooks[this.type]||J.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return e=J.valHooks[o.type]||J.valHooks[o.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:(i=o.value,"string"==typeof i?i.replace(le,""):null==i?"":i)}}}),J.extend({valHooks:{option:{get:function(t){var e=J.find.attr(t,"value");return null!=e?e:J.trim(J.text(t))}},select:{get:function(t){for(var e,i,n=t.options,o=t.selectedIndex,s="select-one"===t.type||0>o,a=s?null:[],r=s?o+1:n.length,l=0>o?r:s?o:0;r>l;l++)if(i=n[l],!(!i.selected&&l!==o||(X.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&J.nodeName(i.parentNode,"optgroup"))){if(e=J(i).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var i,n,o=t.options,s=J.makeArray(e),a=o.length;a--;)n=o[a],(n.selected=J.inArray(n.value,s)>=0)&&(i=!0);return i||(t.selectedIndex=-1),s}}}}),J.each(["radio","checkbox"],function(){J.valHooks[this]={set:function(t,e){return J.isArray(e)?t.checked=J.inArray(J(t).val(),e)>=0:void 0}},X.checkOn||(J.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),J.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){J.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),J.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var ce=J.now(),ue=/\?/;J.parseJSON=function(t){return JSON.parse(t+"")},J.parseXML=function(t){var e,i;if(!t||"string"!=typeof t)return null;try{i=new DOMParser,e=i.parseFromString(t,"text/xml")}catch(n){e=void 0}return(!e||e.getElementsByTagName("parsererror").length)&&J.error("Invalid XML: "+t),e};var de=/#.*$/,he=/([?&])_=[^&]*/,pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,fe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,me=/^(?:GET|HEAD)$/,ge=/^\/\//,ve=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ye={},be={},we="*/".concat("*"),xe=t.location.href,Ce=ve.exec(xe.toLowerCase())||[];J.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xe,type:"GET",isLocal:fe.test(Ce[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":we,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":J.parseJSON,"text xml":J.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?R(R(t,J.ajaxSettings),e):R(J.ajaxSettings,t)},ajaxPrefilter:D(ye),ajaxTransport:D(be),ajax:function(t,e){function i(t,e,i,a){var l,u,v,y,w,C=e;2!==b&&(b=2,r&&clearTimeout(r),n=void 0,s=a||"",x.readyState=t>0?4:0,l=t>=200&&300>t||304===t,i&&(y=O(d,x,i)),y=z(d,y,x,l),l?(d.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(J.lastModified[o]=w),w=x.getResponseHeader("etag"),w&&(J.etag[o]=w)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=y.state,u=y.data,v=y.error,l=!v)):(v=C,(t||!C)&&(C="error",0>t&&(t=0))),x.status=t,x.statusText=(e||C)+"",l?f.resolveWith(h,[u,C,x]):f.rejectWith(h,[x,C,v]),x.statusCode(g),g=void 0,c&&p.trigger(l?"ajaxSuccess":"ajaxError",[x,d,l?u:v]),m.fireWith(h,[x,C]),c&&(p.trigger("ajaxComplete",[x,d]),--J.active||J.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,o,s,a,r,l,c,u,d=J.ajaxSetup({},e),h=d.context||d,p=d.context&&(h.nodeType||h.jquery)?J(h):J.event,f=J.Deferred(),m=J.Callbacks("once memory"),g=d.statusCode||{},v={},y={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!a)for(a={};e=pe.exec(s);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return b||(t=y[i]=y[i]||t,v[t]=e),this},overrideMimeType:function(t){return b||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)g[e]=[g[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||w;return n&&n.abort(e),i(0,e),this}};if(f.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,d.url=((t||d.url||xe)+"").replace(de,"").replace(ge,Ce[1]+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=J.trim(d.dataType||"*").toLowerCase().match(pt)||[""],null==d.crossDomain&&(l=ve.exec(d.url.toLowerCase()),d.crossDomain=!(!l||l[1]===Ce[1]&&l[2]===Ce[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(Ce[3]||("http:"===Ce[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=J.param(d.data,d.traditional)),B(ye,d,e,x),2===b)return x;c=J.event&&d.global,c&&0===J.active++&&J.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!me.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(ue.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=he.test(o)?o.replace(he,"$1_="+ce++):o+(ue.test(o)?"&":"?")+"_="+ce++)),d.ifModified&&(J.lastModified[o]&&x.setRequestHeader("If-Modified-Since",J.lastModified[o]),J.etag[o]&&x.setRequestHeader("If-None-Match",J.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&x.setRequestHeader("Content-Type",d.contentType),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+we+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)x.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(h,x,d)===!1||2===b))return x.abort();w="abort";for(u in{success:1,error:1,complete:1})x[u](d[u]);if(n=B(be,d,e,x)){x.readyState=1,c&&p.trigger("ajaxSend",[x,d]),d.async&&d.timeout>0&&(r=setTimeout(function(){x.abort("timeout")},d.timeout));try{b=1,n.send(v,i)}catch(C){if(!(2>b))throw C;i(-1,C)}}else i(-1,"No Transport");return x},getJSON:function(t,e,i){return J.get(t,e,i,"json")},getScript:function(t,e){return J.get(t,void 0,e,"script")}}),J.each(["get","post"],function(t,e){J[e]=function(t,i,n,o){return J.isFunction(i)&&(o=o||n,n=i,i=void 0),J.ajax({url:t,type:e,dataType:o,data:i,success:n})}}),J._evalUrl=function(t){return J.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},J.fn.extend({wrapAll:function(t){var e;return J.isFunction(t)?this.each(function(e){J(this).wrapAll(t.call(this,e))}):(this[0]&&(e=J(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return this.each(J.isFunction(t)?function(e){J(this).wrapInner(t.call(this,e))}:function(){var e=J(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=J.isFunction(t);return this.each(function(i){J(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){J.nodeName(this,"body")||J(this).replaceWith(this.childNodes)}).end()}}),J.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},J.expr.filters.visible=function(t){return!J.expr.filters.hidden(t)};var Se=/%20/g,Te=/\[\]$/,Ae=/\r?\n/g,ke=/^(?:submit|button|image|reset|file)$/i,Ee=/^(?:input|select|textarea|keygen)/i;J.param=function(t,e){var i,n=[],o=function(t,e){e=J.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=J.ajaxSettings&&J.ajaxSettings.traditional),J.isArray(t)||t.jquery&&!J.isPlainObject(t))J.each(t,function(){o(this.name,this.value)});else for(i in t)W(i,t[i],e,o);return n.join("&").replace(Se,"+")},J.fn.extend({serialize:function(){return J.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=J.prop(this,"elements");return t?J.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!J(this).is(":disabled")&&Ee.test(this.nodeName)&&!ke.test(t)&&(this.checked||!Tt.test(t))}).map(function(t,e){var i=J(this).val();return null==i?null:J.isArray(i)?J.map(i,function(t){return{name:e.name,value:t.replace(Ae,"\r\n")}}):{name:e.name,value:i.replace(Ae,"\r\n")}}).get()}}),J.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var Pe=0,je={},Me={0:200,1223:204},Le=J.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in je)je[t]()}),X.cors=!!Le&&"withCredentials"in Le,X.ajax=Le=!!Le,J.ajaxTransport(function(t){var e;return X.cors||Le&&!t.crossDomain?{send:function(i,n){var o,s=t.xhr(),a=++Pe;if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(o in i)s.setRequestHeader(o,i[o]);e=function(t){return function(){e&&(delete je[a],e=s.onload=s.onerror=null,"abort"===t?s.abort():"error"===t?n(s.status,s.statusText):n(Me[s.status]||s.status,s.statusText,"string"==typeof s.responseText?{text:s.responseText}:void 0,s.getAllResponseHeaders()))}},s.onload=e(),s.onerror=e("error"),e=je[a]=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(r){if(e)throw r}},abort:function(){e&&e()}}:void 0}),J.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return J.globalEval(t),t}}}),J.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),J.ajaxTransport("script",function(t){if(t.crossDomain){var e,i;return{send:function(n,o){e=J("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),K.head.appendChild(e[0])},abort:function(){i&&i()}}}});var Fe=[],Ie=/(=)\?(?=&|$)|\?\?/;J.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||J.expando+"_"+ce++;return this[t]=!0,t}}),J.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,a,r=e.jsonp!==!1&&(Ie.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ie.test(e.data)&&"data");return r||"jsonp"===e.dataTypes[0]?(o=e.jsonpCallback=J.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(Ie,"$1"+o):e.jsonp!==!1&&(e.url+=(ue.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||J.error(o+" was not called"),a[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){a=arguments},n.always(function(){t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Fe.push(o)),a&&J.isFunction(s)&&s(a[0]),a=s=void 0}),"script"):void 0}),J.parseHTML=function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||K;var n=at.exec(t),o=!i&&[];return n?[e.createElement(n[1])]:(n=J.buildFragment([t],e,o),o&&o.length&&J(o).remove(),J.merge([],n.childNodes))};var Ne=J.fn.load;J.fn.load=function(t,e,i){if("string"!=typeof t&&Ne)return Ne.apply(this,arguments);var n,o,s,a=this,r=t.indexOf(" ");return r>=0&&(n=J.trim(t.slice(r)),t=t.slice(0,r)),J.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),a.length>0&&J.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){s=arguments,a.php(n?J("<div>").append(J.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){a.each(i,s||[t.responseText,e,t])}),this},J.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){J.fn[e]=function(t){return this.on(e,t)}}),J.expr.filters.animated=function(t){return J.grep(J.timers,function(e){return t===e.elem}).length};var De=t.document.documentElement;J.offset={setOffset:function(t,e,i){var n,o,s,a,r,l,c,u=J.css(t,"position"),d=J(t),h={};"static"===u&&(t.style.position="relative"),r=d.offset(),s=J.css(t,"top"),l=J.css(t,"left"),c=("absolute"===u||"fixed"===u)&&(s+l).indexOf("auto")>-1,c?(n=d.position(),a=n.top,o=n.left):(a=parseFloat(s)||0,o=parseFloat(l)||0),J.isFunction(e)&&(e=e.call(t,i,r)),null!=e.top&&(h.top=e.top-r.top+a),null!=e.left&&(h.left=e.left-r.left+o),"using"in e?e.using.call(t,h):d.css(h)}},J.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){J.offset.setOffset(this,t,e)});var e,i,n=this[0],o={top:0,left:0},s=n&&n.ownerDocument;if(s)return e=s.documentElement,J.contains(e,n)?(typeof n.getBoundingClientRect!==At&&(o=n.getBoundingClientRect()),i=H(s),{top:o.top+i.pageYOffset-e.clientTop,left:o.left+i.pageXOffset-e.clientLeft}):o},position:function(){if(this[0]){var t,e,i=this[0],n={top:0,left:0};return"fixed"===J.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),J.nodeName(t[0],"html")||(n=t.offset()),n.top+=J.css(t[0],"borderTopWidth",!0),n.left+=J.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-J.css(i,"marginTop",!0),left:e.left-n.left-J.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||De;t&&!J.nodeName(t,"html")&&"static"===J.css(t,"position");)t=t.offsetParent;return t||De})}}),J.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,i){var n="pageYOffset"===i;J.fn[e]=function(o){return gt(this,function(e,o,s){var a=H(e);return void 0===s?a?a[i]:e[o]:void(a?a.scrollTo(n?t.pageXOffset:s,n?s:t.pageYOffset):e[o]=s)},e,o,arguments.length,null)}}),J.each(["top","left"],function(t,e){J.cssHooks[e]=C(X.pixelPosition,function(t,i){return i?(i=x(t,e),_t.test(i)?J(t).position()[e]+"px":i):void 0})}),J.each({Height:"height",Width:"width"},function(t,e){J.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){J.fn[n]=function(n,o){var s=arguments.length&&(i||"boolean"!=typeof n),a=i||(n===!0||o===!0?"margin":"border");return gt(this,function(e,i,n){var o;return J.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===n?J.css(e,i,a):J.style(e,i,n,a)},e,s?n:void 0,s,null)}})}),J.fn.size=function(){return this.length},J.fn.andSelf=J.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return J});var Be=t.jQuery,Re=t.$;return J.noConflict=function(e){return t.$===J&&(t.$=Re),e&&t.jQuery===J&&(t.jQuery=Be),J},typeof e===At&&(t.jQuery=t.$=J),J});var mejs=mejs||{};if(mejs.version="2.15.1",mejs.meIndex=0,mejs.plugins={silverlight:[{version:[3,0],types:["video/mp4","video/m4v","video/mov","video/wmv","audio/wma","audio/m4a","audio/mp3","audio/wav","audio/mpeg"]}],flash:[{version:[9,0,124],types:["video/mp4","video/m4v","video/mov","video/flv","video/rtmp","video/x-flv","audio/flv","audio/x-flv","audio/mp3","audio/m4a","audio/mpeg","video/youtube","video/x-youtube","application/x-mpegURL"]}],youtube:[{version:null,types:["video/youtube","video/x-youtube","audio/youtube","audio/x-youtube"]}],vimeo:[{version:null,types:["video/vimeo","video/x-vimeo"]}]},mejs.Utility={encodeUrl:function(t){return encodeURIComponent(t)},escapeHTML:function(t){return t.toString().split("&").join("&amp;").split("<").join("&lt;").split('"').join("&quot;")},absolutizeUrl:function(t){var e=document.createElement("div");return e.innerHTML='<a href="'+this.escapeHTML(t)+'">x</a>',e.firstChild.href},getScriptPath:function(t){for(var e,i,n,o=0,s="",a="",r=document.getElementsByTagName("script"),l=r.length,c=t.length;l>o;o++){for(i=r[o].src,e=i.lastIndexOf("/"),e>-1?(n=i.substring(e+1),i=i.substring(0,e+1)):(n=i,i=""),e=0;c>e;e++)if(a=t[e],a=n.indexOf(a),a>-1){s=i;break}if(""!==s)break}return s},secondsToTimeCode:function(t,e,i,n){"undefined"==typeof i?i=!1:"undefined"==typeof n&&(n=25);var o=Math.floor(t/3600)%24,s=Math.floor(t/60)%60,a=Math.floor(t%60);return t=Math.floor((t%1*n).toFixed(3)),(e||o>0?(10>o?"0"+o:o)+":":"")+(10>s?"0"+s:s)+":"+(10>a?"0"+a:a)+(i?":"+(10>t?"0"+t:t):"")},timeCodeToSeconds:function(t,e,i,n){"undefined"==typeof i?i=!1:"undefined"==typeof n&&(n=25),t=t.split(":"),e=parseInt(t[0],10);var o=parseInt(t[1],10),s=parseInt(t[2],10),a=0,r=0;return i&&(a=parseInt(t[3])/n),r=3600*e+60*o+s+a},convertSMPTEtoSeconds:function(t){if("string"!=typeof t)return!1;t=t.replace(",",".");var e=0,i=-1!=t.indexOf(".")?t.split(".")[1].length:0,n=1;t=t.split(":").reverse();for(var o=0;o<t.length;o++)n=1,o>0&&(n=Math.pow(60,o)),e+=Number(t[o])*n;return Number(e.toFixed(i))},removeSwf:function(t){var e=document.getElementById(t);e&&/object|embed/i.test(e.nodeName)&&(mejs.MediaFeatures.isIE?(e.style.display="none",function(){4==e.readyState?mejs.Utility.removeObjectInIE(t):setTimeout(arguments.callee,10)}()):e.parentNode.removeChild(e))},removeObjectInIE:function(t){if(t=document.getElementById(t)){for(var e in t)"function"==typeof t[e]&&(t[e]=null);t.parentNode.removeChild(t)}}},mejs.PluginDetector={hasPluginVersion:function(t,e){var i=this.plugins[t];return e[1]=e[1]||0,e[2]=e[2]||0,i[0]>e[0]||i[0]==e[0]&&i[1]>e[1]||i[0]==e[0]&&i[1]==e[1]&&i[2]>=e[2]?!0:!1},nav:window.navigator,ua:window.navigator.userAgent.toLowerCase(),plugins:[],addPlugin:function(t,e,i,n,o){this.plugins[t]=this.detectPlugin(e,i,n,o)},detectPlugin:function(t,e,i,n){var o,s=[0,0,0];if("undefined"!=typeof this.nav.plugins&&"object"==typeof this.nav.plugins[t]){if((i=this.nav.plugins[t].description)&&("undefined"==typeof this.nav.mimeTypes||!this.nav.mimeTypes[e]||this.nav.mimeTypes[e].enabledPlugin))for(s=i.replace(t,"").replace(/^\s+/,"").replace(/\sr/gi,".").split("."),t=0;t<s.length;t++)s[t]=parseInt(s[t].match(/\d+/),10)}else if("undefined"!=typeof window.ActiveXObject)try{(o=new ActiveXObject(i))&&(s=n(o))}catch(a){}return s}},mejs.PluginDetector.addPlugin("flash","Shockwave Flash","application/x-shockwave-flash","ShockwaveFlash.ShockwaveFlash",function(t){var e=[];return(t=t.GetVariable("$version"))&&(t=t.split(" ")[1].split(","),e=[parseInt(t[0],10),parseInt(t[1],10),parseInt(t[2],10)]),e}),mejs.PluginDetector.addPlugin("silverlight","Silverlight Plug-In","application/x-silverlight-2","AgControl.AgControl",function(t){var e=[0,0,0,0],i=function(t,e,i,n){for(;t.isVersionSupported(e[0]+"."+e[1]+"."+e[2]+"."+e[3]);)e[i]+=n;e[i]-=n};return i(t,e,0,1),i(t,e,1,1),i(t,e,2,1e4),i(t,e,2,1e3),i(t,e,2,100),i(t,e,2,10),i(t,e,2,1),i(t,e,3,1),e}),mejs.MediaFeatures={init:function(){var t,e=this,i=document,n=mejs.PluginDetector.nav,o=mejs.PluginDetector.ua.toLowerCase(),s=["source","track","audio","video"];e.isiPad=null!==o.match(/ipad/i),e.isiPhone=null!==o.match(/iphone/i),e.isiOS=e.isiPhone||e.isiPad,e.isAndroid=null!==o.match(/android/i),e.isBustedAndroid=null!==o.match(/android 2\.[12]/),e.isBustedNativeHTTPS="https:"===location.protocol&&(null!==o.match(/android [12]\./)||null!==o.match(/macintosh.* version.* safari/)),e.isIE=-1!=n.appName.toLowerCase().indexOf("microsoft")||null!==n.appName.toLowerCase().match(/trident/gi),e.isChrome=null!==o.match(/chrome/gi),e.isChromium=null!==o.match(/chromium/gi),e.isFirefox=null!==o.match(/firefox/gi),e.isWebkit=null!==o.match(/webkit/gi),e.isGecko=null!==o.match(/gecko/gi)&&!e.isWebkit&&!e.isIE,e.isOpera=null!==o.match(/opera/gi),e.hasTouch="ontouchstart"in window,e.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect;for(n=0;n<s.length;n++)t=document.createElement(s[n]);e.supportsMediaTag="undefined"!=typeof t.canPlayType||e.isBustedAndroid;try{t.canPlayType("video/mp4")}catch(a){e.supportsMediaTag=!1}e.hasSemiNativeFullScreen="undefined"!=typeof t.webkitEnterFullscreen,e.hasNativeFullscreen="undefined"!=typeof t.requestFullscreen,e.hasWebkitNativeFullScreen="undefined"!=typeof t.webkitRequestFullScreen,e.hasMozNativeFullScreen="undefined"!=typeof t.mozRequestFullScreen,e.hasMsNativeFullScreen="undefined"!=typeof t.msRequestFullscreen,e.hasTrueNativeFullScreen=e.hasWebkitNativeFullScreen||e.hasMozNativeFullScreen||e.hasMsNativeFullScreen,e.nativeFullScreenEnabled=e.hasTrueNativeFullScreen,e.hasMozNativeFullScreen?e.nativeFullScreenEnabled=document.mozFullScreenEnabled:e.hasMsNativeFullScreen&&(e.nativeFullScreenEnabled=document.msFullscreenEnabled),e.isChrome&&(e.hasSemiNativeFullScreen=!1),e.hasTrueNativeFullScreen&&(e.fullScreenEventName="",e.hasWebkitNativeFullScreen?e.fullScreenEventName="webkitfullscreenchange":e.hasMozNativeFullScreen?e.fullScreenEventName="mozfullscreenchange":e.hasMsNativeFullScreen&&(e.fullScreenEventName="MSFullscreenChange"),e.isFullScreen=function(){return e.hasMozNativeFullScreen?i.mozFullScreen:e.hasWebkitNativeFullScreen?i.webkitIsFullScreen:e.hasMsNativeFullScreen?null!==i.msFullscreenElement:void 0},e.requestFullScreen=function(t){e.hasWebkitNativeFullScreen?t.webkitRequestFullScreen():e.hasMozNativeFullScreen?t.mozRequestFullScreen():e.hasMsNativeFullScreen&&t.msRequestFullscreen()},e.cancelFullScreen=function(){e.hasWebkitNativeFullScreen?document.webkitCancelFullScreen():e.hasMozNativeFullScreen?document.mozCancelFullScreen():e.hasMsNativeFullScreen&&document.msExitFullscreen()}),e.hasSemiNativeFullScreen&&o.match(/mac os x 10_5/i)&&(e.hasNativeFullScreen=!1,e.hasSemiNativeFullScreen=!1)}},mejs.MediaFeatures.init(),mejs.phpMediaElement={pluginType:"native",isFullScreen:!1,setCurrentTime:function(t){this.currentTime=t},setMuted:function(t){this.muted=t},setVolume:function(t){this.volume=t},stop:function(){this.pause()},setSrc:function(t){for(var e=this.getElementsByTagName("source");e.length>0;)this.removeChild(e[0]);if("string"==typeof t)this.src=t;else{var i;for(e=0;e<t.length;e++)if(i=t[e],this.canPlayType(i.type)){this.src=i.src;break}}},setVideoSize:function(t,e){this.width=t,this.height=e}},mejs.PluginMediaElement=function(t,e,i){this.id=t,this.pluginType=e,this.src=i,this.events={},this.attributes={}},mejs.PluginMediaElement.prototype={pluginElement:null,pluginType:"",isFullScreen:!1,playbackRate:-1,defaultPlaybackRate:-1,seekable:[],played:[],paused:!0,ended:!1,seeking:!1,duration:0,error:null,tagName:"",muted:!1,volume:1,currentTime:0,play:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.playVideo():this.pluginApi.playMedia(),this.paused=!1)},load:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType||this.pluginApi.loadMedia(),this.paused=!1)},pause:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.pauseVideo():this.pluginApi.pauseMedia(),this.paused=!0)},stop:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.stopVideo():this.pluginApi.stopMedia(),this.paused=!0)},canPlayType:function(t){var e,i,n,o=mejs.plugins[this.pluginType];for(e=0;e<o.length;e++)if(n=o[e],mejs.PluginDetector.hasPluginVersion(this.pluginType,n.version))for(i=0;i<n.types.length;i++)if(t==n.types[i])return"probably";return""},positionFullscreenButton:function(t,e,i){null!=this.pluginApi&&this.pluginApi.positionFullscreenButton&&this.pluginApi.positionFullscreenButton(Math.floor(t),Math.floor(e),i)},hideFullscreenButton:function(){null!=this.pluginApi&&this.pluginApi.hideFullscreenButton&&this.pluginApi.hideFullscreenButton()},setSrc:function(t){if("string"==typeof t)this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(t)),this.src=mejs.Utility.absolutizeUrl(t);else{var e,i;for(e=0;e<t.length;e++)if(i=t[e],this.canPlayType(i.type)){this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(i.src)),this.src=mejs.Utility.absolutizeUrl(t);break}}},setCurrentTime:function(t){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.seekTo(t):this.pluginApi.setCurrentTime(t),this.currentTime=t)},setVolume:function(t){null!=this.pluginApi&&(this.pluginApi.setVolume("youtube"==this.pluginType?100*t:t),this.volume=t)},setMuted:function(t){null!=this.pluginApi&&("youtube"==this.pluginType?(t?this.pluginApi.mute():this.pluginApi.unMute(),this.muted=t,this.dispatchEvent("volumechange")):this.pluginApi.setMuted(t),this.muted=t)},setVideoSize:function(t,e){this.pluginElement&&this.pluginElement.style&&(this.pluginElement.style.width=t+"px",this.pluginElement.style.height=e+"px"),null!=this.pluginApi&&this.pluginApi.setVideoSize&&this.pluginApi.setVideoSize(t,e)},setFullscreen:function(t){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.pluginApi.setFullscreen(t)},enterFullScreen:function(){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!0)},exitFullScreen:function(){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!1)},addEventListener:function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},removeEventListener:function(t,e){if(!t)return this.events={},!0;var i=this.events[t];if(!i)return!0;if(!e)return this.events[t]=[],!0;for(var n=0;n<i.length;n++)if(i[n]===e)return this.events[t].splice(n,1),!0;return!1},dispatchEvent:function(t){var e,i,n=this.events[t];if(n)for(i=Array.prototype.slice.call(arguments,1),e=0;e<n.length;e++)n[e].apply(null,i)},hasAttribute:function(t){return t in this.attributes},removeAttribute:function(t){delete this.attributes[t]},getAttribute:function(t){return this.hasAttribute(t)?this.attributes[t]:""},setAttribute:function(t,e){this.attributes[t]=e},remove:function(){mejs.Utility.removeSwf(this.pluginElement.id),mejs.MediaPluginBridge.unregisterPluginElement(this.pluginElement.id)}},mejs.MediaPluginBridge={pluginMediaElements:{},htmlMediaElements:{},registerPluginElement:function(t,e,i){this.pluginMediaElements[t]=e,this.phpMediaElements[t]=i},unregisterPluginElement:function(t){delete this.pluginMediaElements[t],delete this.phpMediaElements[t]},initPlugin:function(t){var e=this.pluginMediaElements[t],i=this.phpMediaElements[t];if(e){switch(e.pluginType){case"flash":e.pluginElement=e.pluginApi=document.getElementById(t);break;case"silverlight":e.pluginElement=document.getElementById(e.id),e.pluginApi=e.pluginElement.Content.MediaElementJS}null!=e.pluginApi&&e.success&&e.success(e,i)}},fireEvent:function(t,e,i){var n,o;if(t=this.pluginMediaElements[t]){e={type:e,target:t};for(n in i)t[n]=i[n],e[n]=i[n];o=i.bufferedTime||0,e.target.buffered=e.buffered={
start:function(){return 0},end:function(){return o},length:1},t.dispatchEvent(e.type,e)}}},mejs.MediaElementDefaults={mode:"auto",plugins:["flash","silverlight","youtube","vimeo"],enablePluginDebug:!1,httpsBasicAuthSite:!1,type:"",pluginPath:mejs.Utility.getScriptPath(["mediaelement.js","mediaelement.min.js","mediaelement-and-player.js","mediaelement-and-player.min.js"]),flashName:"flashmediaelement.swf",flashStreamer:"",enablePluginSmoothing:!1,enablePseudoStreaming:!1,pseudoStreamingStartQueryParam:"start",silverlightName:"silverlightmediaelement.xap",defaultVideoWidth:480,defaultVideoHeight:270,pluginWidth:-1,pluginHeight:-1,pluginVars:[],timerRate:250,startVolume:.8,success:function(){},error:function(){}},mejs.MediaElement=function(t,e){return mejs.phpMediaElementShim.create(t,e)},mejs.phpMediaElementShim={create:function(t,e){var i=mejs.MediaElementDefaults,n="string"==typeof t?document.getElementById(t):t,o=n.tagName.toLowerCase(),s="audio"===o||"video"===o,a=n.getAttribute(s?"src":"href");o=n.getAttribute("poster");var r,l=n.getAttribute("autoplay"),c=n.getAttribute("preload"),u=n.getAttribute("controls");for(r in e)i[r]=e[r];return a="undefined"==typeof a||null===a||""==a?null:a,o="undefined"==typeof o||null===o?"":o,c="undefined"==typeof c||null===c||"false"===c?"none":c,l=!("undefined"==typeof l||null===l||"false"===l),u=!("undefined"==typeof u||null===u||"false"===u),r=this.determinePlayback(n,i,mejs.MediaFeatures.supportsMediaTag,s,a),r.url=null!==r.url?mejs.Utility.absolutizeUrl(r.url):"","native"==r.method?(mejs.MediaFeatures.isBustedAndroid&&(n.src=r.url,n.addEventListener("click",function(){n.play()},!1)),this.updateNative(r,i,l,c)):""!==r.method?this.createPlugin(r,i,o,l,c,u):(this.createErrorMessage(r,i,o),this)},determinePlayback:function(t,e,i,n,o){var s,a,r,l,c=[],u={method:"",url:"",htmlMediaElement:t,isVideo:"audio"!=t.tagName.toLowerCase()};if("undefined"!=typeof e.type&&""!==e.type)if("string"==typeof e.type)c.push({type:e.type,url:o});else for(s=0;s<e.type.length;s++)c.push({type:e.type[s],url:o});else if(null!==o)r=this.formatType(o,t.getAttribute("type")),c.push({type:r,url:o});else for(s=0;s<t.childNodes.length;s++)a=t.childNodes[s],1==a.nodeType&&"source"==a.tagName.toLowerCase()&&(o=a.getAttribute("src"),r=this.formatType(o,a.getAttribute("type")),a=a.getAttribute("media"),(!a||!window.matchMedia||window.matchMedia&&window.matchMedia(a).matches)&&c.push({type:r,url:o}));if(!n&&c.length>0&&null!==c[0].url&&this.getTypeFromFile(c[0].url).indexOf("audio")>-1&&(u.isVideo=!1),mejs.MediaFeatures.isBustedAndroid&&(t.canPlayType=function(t){return null!==t.match(/video\/(mp4|m4v)/gi)?"maybe":""}),mejs.MediaFeatures.isChromium&&(t.canPlayType=function(t){return null!==t.match(/video\/(webm|ogv|ogg)/gi)?"maybe":""}),!(!i||"auto"!==e.mode&&"auto_plugin"!==e.mode&&"native"!==e.mode||mejs.MediaFeatures.isBustedNativeHTTPS&&e.httpsBasicAuthSite===!0)){for(n||(s=document.createElement(u.isVideo?"video":"audio"),t.parentNode.insertBefore(s,t),t.style.display="none",u.phpMediaElement=t=s),s=0;s<c.length;s++)if("video/m3u8"==c[s].type||""!==t.canPlayType(c[s].type).replace(/no/,"")||""!==t.canPlayType(c[s].type.replace(/mp3/,"mpeg")).replace(/no/,"")||""!==t.canPlayType(c[s].type.replace(/m4a/,"mp4")).replace(/no/,"")){u.method="native",u.url=c[s].url;break}if("native"===u.method&&(null!==u.url&&(t.src=u.url),"auto_plugin"!==e.mode))return u}if("auto"===e.mode||"auto_plugin"===e.mode||"shim"===e.mode)for(s=0;s<c.length;s++)for(r=c[s].type,t=0;t<e.plugins.length;t++)for(o=e.plugins[t],a=mejs.plugins[o],i=0;i<a.length;i++)if(l=a[i],null==l.version||mejs.PluginDetector.hasPluginVersion(o,l.version))for(n=0;n<l.types.length;n++)if(r==l.types[n])return u.method=o,u.url=c[s].url,u;return"auto_plugin"===e.mode&&"native"===u.method?u:(""===u.method&&c.length>0&&(u.url=c[0].url),u)},formatType:function(t,e){return t&&!e?this.getTypeFromFile(t):e&&~e.indexOf(";")?e.substr(0,e.indexOf(";")):e},getTypeFromFile:function(t){return t=t.split("?")[0],t=t.substring(t.lastIndexOf(".")+1).toLowerCase(),(/(mp4|m4v|ogg|ogv|m3u8|webm|webmv|flv|wmv|mpeg|mov)/gi.test(t)?"video":"audio")+"/"+this.getTypeFromExtension(t)},getTypeFromExtension:function(t){switch(t){case"mp4":case"m4v":case"m4a":return"mp4";case"webm":case"webma":case"webmv":return"webm";case"ogg":case"oga":case"ogv":return"ogg";default:return t}},createErrorMessage:function(t,e,i){var n=t.phpMediaElement,o=document.createElement("div");o.className="me-cannotplay";try{o.style.width=n.width+"px",o.style.height=n.height+"px"}catch(s){}o.innerHTML=e.customError?e.customError:""!==i?'<a href="'+t.url+'"><img src="'+i+'" width="100%" height="100%" /></a>':'<a href="'+t.url+'"><span>'+mejs.i18n.t("Download File")+"</span></a>",n.parentNode.insertBefore(o,n),n.style.display="none",e.error(n)},createPlugin:function(t,e,i,n,o,s){i=t.phpMediaElement;var a,r=1,l=1,c="me_"+t.method+"_"+mejs.meIndex++,u=new mejs.PluginMediaElement(c,t.method,t.url),d=document.createElement("div");for(u.tagName=i.tagName,a=0;a<i.attributes.length;a++){var h=i.attributes[a];1==h.specified&&u.setAttribute(h.name,h.value)}for(a=i.parentNode;null!==a&&"body"!==a.tagName.toLowerCase()&&null!=a.parentNode;){if("p"===a.parentNode.tagName.toLowerCase()){a.parentNode.parentNode.insertBefore(a,a.parentNode);break}a=a.parentNode}switch(t.isVideo?(r=e.pluginWidth>0?e.pluginWidth:e.videoWidth>0?e.videoWidth:null!==i.getAttribute("width")?i.getAttribute("width"):e.defaultVideoWidth,l=e.pluginHeight>0?e.pluginHeight:e.videoHeight>0?e.videoHeight:null!==i.getAttribute("height")?i.getAttribute("height"):e.defaultVideoHeight,r=mejs.Utility.encodeUrl(r),l=mejs.Utility.encodeUrl(l)):e.enablePluginDebug&&(r=320,l=240),u.success=e.success,mejs.MediaPluginBridge.registerPluginElement(c,u,i),d.className="me-plugin",d.id=c+"_container",t.isVideo?i.parentNode.insertBefore(d,i):document.body.insertBefore(d,document.body.childNodes[0]),n=["id="+c,"isvideo="+(t.isVideo?"true":"false"),"autoplay="+(n?"true":"false"),"preload="+o,"width="+r,"startvolume="+e.startVolume,"timerrate="+e.timerRate,"flashstreamer="+e.flashStreamer,"height="+l,"pseudostreamstart="+e.pseudoStreamingStartQueryParam],null!==t.url&&n.push("flash"==t.method?"file="+mejs.Utility.encodeUrl(t.url):"file="+t.url),e.enablePluginDebug&&n.push("debug=true"),e.enablePluginSmoothing&&n.push("smoothing=true"),e.enablePseudoStreaming&&n.push("pseudostreaming=true"),s&&n.push("controls=true"),e.pluginVars&&(n=n.concat(e.pluginVars)),t.method){case"silverlight":d.innerHTML='<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="'+c+'" name="'+c+'" width="'+r+'" height="'+l+'" class="mejs-shim"><param name="initParams" value="'+n.join(",")+'" /><param name="windowless" value="true" /><param name="background" value="black" /><param name="minRuntimeVersion" value="3.0.0.0" /><param name="autoUpgrade" value="true" /><param name="source" value="'+e.pluginPath+e.silverlightName+'" /></object>';break;case"flash":mejs.MediaFeatures.isIE?(t=document.createElement("div"),d.appendChild(t),t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+c+'" width="'+r+'" height="'+l+'" class="mejs-shim"><param name="movie" value="'+e.pluginPath+e.flashName+"?x="+new Date+'" /><param name="flashvars" value="'+n.join("&amp;")+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="scale" value="default" /></object>'):d.innerHTML='<embed id="'+c+'" name="'+c+'" play="true" loop="false" quality="high" bgcolor="#000000" wmode="transparent" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="//www.macromedia.com/go/getflashplayer" src="'+e.pluginPath+e.flashName+'" flashvars="'+n.join("&")+'" width="'+r+'" height="'+l+'" scale="default"class="mejs-shim"></embed>';break;case"youtube":-1!=t.url.lastIndexOf("youtu.be")?(t=t.url.substr(t.url.lastIndexOf("/")+1),-1!=t.indexOf("?")&&(t=t.substr(0,t.indexOf("?")))):t=t.url.substr(t.url.lastIndexOf("=")+1),youtubeSettings={container:d,containerId:d.id,pluginMediaElement:u,pluginId:c,videoId:t,height:l,width:r},mejs.PluginDetector.hasPluginVersion("flash",[10,0,0])?mejs.YouTubeApi.createFlash(youtubeSettings):mejs.YouTubeApi.enqueueIframe(youtubeSettings);break;case"vimeo":if(e=c+"_player",u.vimeoid=t.url.substr(t.url.lastIndexOf("/")+1),d.innerHTML='<iframe src="//player.vimeo.com/video/'+u.vimeoid+"?api=1&portrait=0&byline=0&title=0&player_id="+e+'" width="'+r+'" height="'+l+'" frameborder="0" class="mejs-shim" id="'+e+'"></iframe>',"function"==typeof $f){var p=$f(d.childNodes[0]);p.addEvent("ready",function(){function t(t,e,i,n){t={type:i,target:e},"timeupdate"==i&&(e.currentTime=t.currentTime=n.seconds,e.duration=t.duration=n.duration),e.dispatchEvent(t.type,t)}$.extend(p,{playVideo:function(){p.api("play")},stopVideo:function(){p.api("unload")},pauseVideo:function(){p.api("pause")},seekTo:function(t){p.api("seekTo",t)},setVolume:function(t){p.api("setVolume",t)},setMuted:function(t){t?(p.lastVolume=p.api("getVolume"),p.api("setVolume",0)):(p.api("setVolume",p.lastVolume),delete p.lastVolume)}}),p.addEvent("play",function(){t(p,u,"play"),t(p,u,"playing")}),p.addEvent("pause",function(){t(p,u,"pause")}),p.addEvent("finish",function(){t(p,u,"ended")}),p.addEvent("playProgress",function(e){t(p,u,"timeupdate",e)}),u.pluginElement=d,u.pluginApi=p,mejs.MediaPluginBridge.initPlugin(c)})}else console.warn("You need to include froogaloop for vimeo to work")}return i.style.display="none",i.removeAttribute("autoplay"),u},updateNative:function(t,e){var i,n=t.phpMediaElement;for(i in mejs.phpMediaElement)n[i]=mejs.phpMediaElement[i];return e.success(n,n),n}},mejs.YouTubeApi={isIframeStarted:!1,isIframeLoaded:!1,loadIframeApi:function(){if(!this.isIframeStarted){var t=document.createElement("script");t.src="//www.youtube.com/player_api";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e),this.isIframeStarted=!0}},iframeQueue:[],enqueueIframe:function(t){this.isLoaded?this.createIframe(t):(this.loadIframeApi(),this.iframeQueue.push(t))},createIframe:function(t){var e=t.pluginMediaElement,i=new YT.Player(t.containerId,{height:t.height,width:t.width,videoId:t.videoId,playerVars:{controls:0},events:{onReady:function(){t.pluginMediaElement.pluginApi=i,mejs.MediaPluginBridge.initPlugin(t.pluginId),setInterval(function(){mejs.YouTubeApi.createEvent(i,e,"timeupdate")},250)},onStateChange:function(t){mejs.YouTubeApi.handleStateChange(t.data,i,e)}}})},createEvent:function(t,e,i){if(i={type:i,target:e},t&&t.getDuration){e.currentTime=i.currentTime=t.getCurrentTime(),e.duration=i.duration=t.getDuration(),i.paused=e.paused,i.ended=e.ended,i.muted=t.isMuted(),i.volume=t.getVolume()/100,i.bytesTotal=t.getVideoBytesTotal(),i.bufferedBytes=t.getVideoBytesLoaded();var n=i.bufferedBytes/i.bytesTotal*i.duration;i.target.buffered=i.buffered={start:function(){return 0},end:function(){return n},length:1}}e.dispatchEvent(i.type,i)},iFrameReady:function(){for(this.isIframeLoaded=this.isLoaded=!0;this.iframeQueue.length>0;)this.createIframe(this.iframeQueue.pop())},flashPlayers:{},createFlash:function(t){this.flashPlayers[t.pluginId]=t;var e,i="//www.youtube.com/apiplayer?enablejsapi=1&amp;playerapiid="+t.pluginId+"&amp;version=3&amp;autoplay=0&amp;controls=0&amp;modestbranding=1&loop=0";mejs.MediaFeatures.isIE?(e=document.createElement("div"),t.container.appendChild(e),e.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+t.pluginId+'" width="'+t.width+'" height="'+t.height+'" class="mejs-shim"><param name="movie" value="'+i+'" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /></object>'):t.container.innerHTML='<object type="application/x-shockwave-flash" id="'+t.pluginId+'" data="'+i+'" width="'+t.width+'" height="'+t.height+'" style="visibility: visible; " class="mejs-shim"><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"></object>'},flashReady:function(t){var e=this.flashPlayers[t],i=document.getElementById(t),n=e.pluginMediaElement;n.pluginApi=n.pluginElement=i,mejs.MediaPluginBridge.initPlugin(t),i.cueVideoById(e.videoId),t=e.containerId+"_callback",window[t]=function(t){mejs.YouTubeApi.handleStateChange(t,i,n)},i.addEventListener("onStateChange",t),setInterval(function(){mejs.YouTubeApi.createEvent(i,n,"timeupdate")},250),mejs.YouTubeApi.createEvent(i,n,"canplay")},handleStateChange:function(t,e,i){switch(t){case-1:i.paused=!0,i.ended=!0,mejs.YouTubeApi.createEvent(e,i,"loadedmetadata");break;case 0:i.paused=!1,i.ended=!0,mejs.YouTubeApi.createEvent(e,i,"ended");break;case 1:i.paused=!1,i.ended=!1,mejs.YouTubeApi.createEvent(e,i,"play"),mejs.YouTubeApi.createEvent(e,i,"playing");break;case 2:i.paused=!0,i.ended=!1,mejs.YouTubeApi.createEvent(e,i,"pause");break;case 3:mejs.YouTubeApi.createEvent(e,i,"progress")}}},window.mejs=mejs,window.MediaElement=mejs.MediaElement,function(t,e){var i={locale:{language:"",strings:{}},methods:{}};i.getLanguage=function(){return(i.locale.language||window.navigator.userLanguage||window.navigator.language).substr(0,2).toLowerCase()},"undefined"!=typeof mejsL10n&&(i.locale.language=mejsL10n.language),i.methods.checkPlain=function(t){var e,i,n={"&":"&amp;",'"':"&quot;","<":"&lt;",">":"&gt;"};t=String(t);for(e in n)n.hasOwnProperty(e)&&(i=RegExp(e,"g"),t=t.replace(i,n[e]));return t},i.methods.t=function(t,e){return i.locale.strings&&i.locale.strings[e.context]&&i.locale.strings[e.context][t]&&(t=i.locale.strings[e.context][t]),i.methods.checkPlain(t)},i.t=function(t,e){if("string"==typeof t&&t.length>0){var n=i.getLanguage();return e=e||{context:n},i.methods.t(t,e)}throw{name:"InvalidArgumentException",message:"First argument is either not a string or empty."}},e.i18n=i}(document,mejs),function(t){"undefined"!=typeof mejsL10n&&(t[mejsL10n.language]=mejsL10n.strings)}(mejs.i18n.locale.strings),function(t){"undefined"==typeof t.de&&(t.de={Fullscreen:"Vollbild","Go Fullscreen":"Vollbild an","Turn off Fullscreen":"Vollbild aus",Close:"Schließen"})}(mejs.i18n.locale.strings),function(t){"undefined"==typeof t.zh&&(t.zh={Fullscreen:"全螢幕","Go Fullscreen":"全屏模式","Turn off Fullscreen":"退出全屏模式",Close:"關閉"})}(mejs.i18n.locale.strings),"undefined"!=typeof jQuery?mejs.$=jQuery:"undefined"!=typeof ender&&(mejs.$=ender),function(t){mejs.MepDefaults={poster:"",showPosterWhenEnded:!1,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:30,defaultSeekBackwardInterval:function(t){return.05*t.duration},defaultSeekForwardInterval:function(t){return.05*t.duration},setDimensions:!0,audioWidth:-1,audioHeight:-1,startVolume:.8,loop:!1,autoRewind:!0,enableAutosize:!0,alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,autosizeProgress:!0,alwaysShowControls:!1,hideVideoControlsOnLoad:!1,clickToPlayPause:!0,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],isVideo:!0,enableKeyboard:!0,pauseOtherPlayers:!0,keyActions:[{keys:[32,179],action:function(t,e){e.paused||e.ended?t.play():t.pause()}},{keys:[38],action:function(t,e){t.container.find(".mejs-volume-slider").css("display","block"),t.isVideo&&(t.showControls(),t.startControlsTimer()),e.setVolume(Math.min(e.volume+.1,1))}},{keys:[40],action:function(t,e){t.container.find(".mejs-volume-slider").css("display","block"),t.isVideo&&(t.showControls(),t.startControlsTimer()),e.setVolume(Math.max(e.volume-.1,0))}},{keys:[37,227],action:function(t,e){if(!isNaN(e.duration)&&e.duration>0){t.isVideo&&(t.showControls(),t.startControlsTimer());var i=Math.max(e.currentTime-t.options.defaultSeekBackwardInterval(e),0);e.setCurrentTime(i)}}},{keys:[39,228],action:function(t,e){if(!isNaN(e.duration)&&e.duration>0){t.isVideo&&(t.showControls(),t.startControlsTimer());var i=Math.min(e.currentTime+t.options.defaultSeekForwardInterval(e),e.duration);e.setCurrentTime(i)}}},{keys:[70],action:function(t){"undefined"!=typeof t.enterFullScreen&&(t.isFullScreen?t.exitFullScreen():t.enterFullScreen())}},{keys:[77],action:function(t){t.container.find(".mejs-volume-slider").css("display","block"),t.isVideo&&(t.showControls(),t.startControlsTimer()),t.setMuted(t.media.muted?!1:!0)}}]},mejs.mepIndex=0,mejs.players={},mejs.MediaElementPlayer=function(e,i){return this instanceof mejs.MediaElementPlayer?(this.$media=this.$node=t(e),this.node=this.media=this.$media[0],"undefined"!=typeof this.node.player?this.node.player:(this.node.player=this,"undefined"==typeof i&&(i=this.$node.data("mejsoptions")),this.options=t.extend({},mejs.MepDefaults,i),this.id="mep_"+mejs.mepIndex++,mejs.players[this.id]=this,this.init(),this)):new mejs.MediaElementPlayer(e,i)},mejs.MediaElementPlayer.prototype={hasFocus:!1,controlsAreVisible:!0,init:function(){var e=this,i=mejs.MediaFeatures,n=t.extend(!0,{},e.options,{success:function(t,i){e.meReady(t,i)},error:function(t){e.handleError(t)}}),o=e.media.tagName.toLowerCase();e.isDynamic="audio"!==o&&"video"!==o,e.isVideo=e.isDynamic?e.options.isVideo:"audio"!==o&&e.options.isVideo,i.isiPad&&e.options.iPadUseNativeControls||i.isiPhone&&e.options.iPhoneUseNativeControls?(e.$media.attr("controls","controls"),i.isiPad&&null!==e.media.getAttribute("autoplay")&&e.play()):i.isAndroid&&e.options.AndroidUseNativeControls||(e.$media.removeAttr("controls"),e.container=t('<div id="'+e.id+'" class="mejs-container '+(mejs.MediaFeatures.svg?"svg":"no-svg")+'"><div class="mejs-inner"><div class="mejs-mediaelement"></div><div class="mejs-layers"></div><div class="mejs-controls"></div><div class="mejs-clear"></div></div></div>').addClass(e.$media[0].className).insertBefore(e.$media),e.container.addClass((i.isAndroid?"mejs-android ":"")+(i.isiOS?"mejs-ios ":"")+(i.isiPad?"mejs-ipad ":"")+(i.isiPhone?"mejs-iphone ":"")+(e.isVideo?"mejs-video ":"mejs-audio ")),i.isiOS?(i=e.$media.clone(),e.container.find(".mejs-mediaelement").append(i),e.$media.remove(),e.$node=e.$media=i,e.node=e.media=i[0]):e.container.find(".mejs-mediaelement").append(e.$media),e.controls=e.container.find(".mejs-controls"),e.layers=e.container.find(".mejs-layers"),i=e.isVideo?"video":"audio",o=i.substring(0,1).toUpperCase()+i.substring(1),e.width=e.options[i+"Width"]>0||e.options[i+"Width"].toString().indexOf("%")>-1?e.options[i+"Width"]:""!==e.media.style.width&&null!==e.media.style.width?e.media.style.width:null!==e.media.getAttribute("width")?e.$media.attr("width"):e.options["default"+o+"Width"],e.height=e.options[i+"Height"]>0||e.options[i+"Height"].toString().indexOf("%")>-1?e.options[i+"Height"]:""!==e.media.style.height&&null!==e.media.style.height?e.media.style.height:null!==e.$media[0].getAttribute("height")?e.$media.attr("height"):e.options["default"+o+"Height"],e.setPlayerSize(e.width,e.height),n.pluginWidth=e.width,n.pluginHeight=e.height),mejs.MediaElement(e.$media[0],n),"undefined"!=typeof e.container&&e.controlsAreVisible&&e.container.trigger("controlsshown")},showControls:function(t){var e=this;t="undefined"==typeof t||t,e.controlsAreVisible||(t?(e.controls.css("visibility","visible").stop(!0,!0).fadeIn(200,function(){e.controlsAreVisible=!0,e.container.trigger("controlsshown")}),e.container.find(".mejs-control").css("visibility","visible").stop(!0,!0).fadeIn(200,function(){e.controlsAreVisible=!0})):(e.controls.css("visibility","visible").css("display","block"),e.container.find(".mejs-control").css("visibility","visible").css("display","block"),e.controlsAreVisible=!0,e.container.trigger("controlsshown")),e.setControlsSize())},hideControls:function(e){var i=this;e="undefined"==typeof e||e,i.controlsAreVisible&&!i.options.alwaysShowControls&&(e?(i.controls.stop(!0,!0).fadeOut(200,function(){t(this).css("visibility","hidden").css("display","block"),i.controlsAreVisible=!1,i.container.trigger("controlshidden")}),i.container.find(".mejs-control").stop(!0,!0).fadeOut(200,function(){t(this).css("visibility","hidden").css("display","block")})):(i.controls.css("visibility","hidden").css("display","block"),i.container.find(".mejs-control").css("visibility","hidden").css("display","block"),i.controlsAreVisible=!1,i.container.trigger("controlshidden")))},controlsTimer:null,startControlsTimer:function(t){var e=this;t="undefined"!=typeof t?t:1500,e.killControlsTimer("start"),e.controlsTimer=setTimeout(function(){e.hideControls(),e.killControlsTimer("hide")},t)},killControlsTimer:function(){null!==this.controlsTimer&&(clearTimeout(this.controlsTimer),delete this.controlsTimer,this.controlsTimer=null)},controlsEnabled:!0,disableControls:function(){this.killControlsTimer(),this.hideControls(!1),this.controlsEnabled=!1},enableControls:function(){this.showControls(!1),this.controlsEnabled=!0},meReady:function(t,e){var i=this,n=mejs.MediaFeatures,o=e.getAttribute("autoplay");o=!("undefined"==typeof o||null===o||"false"===o);var s;if(!i.created){if(i.created=!0,i.media=t,i.domNode=e,!(n.isAndroid&&i.options.AndroidUseNativeControls||n.isiPad&&i.options.iPadUseNativeControls||n.isiPhone&&i.options.iPhoneUseNativeControls)){i.buildposter(i,i.controls,i.layers,i.media),i.buildkeyboard(i,i.controls,i.layers,i.media),i.buildoverlays(i,i.controls,i.layers,i.media),i.findTracks();for(s in i.options.features)if(n=i.options.features[s],i["build"+n])try{i["build"+n](i,i.controls,i.layers,i.media)}catch(a){}i.container.trigger("controlsready"),i.setPlayerSize(i.width,i.height),i.setControlsSize(),i.isVideo&&(mejs.MediaFeatures.hasTouch?i.$media.bind("touchstart",function(){i.controlsAreVisible?i.hideControls(!1):i.controlsEnabled&&i.showControls(!1)}):(i.clickToPlayPauseCallback=function(){i.options.clickToPlayPause&&(i.media.paused?i.play():i.pause())},i.media.addEventListener("click",i.clickToPlayPauseCallback,!1),i.container.bind("mouseenter mouseover",function(){i.controlsEnabled&&(i.options.alwaysShowControls||(i.killControlsTimer("enter"),i.showControls(),i.startControlsTimer(2500)))}).bind("mousemove",function(){i.controlsEnabled&&(i.controlsAreVisible||i.showControls(),i.options.alwaysShowControls||i.startControlsTimer(2500))}).bind("mouseleave",function(){i.controlsEnabled&&!i.media.paused&&!i.options.alwaysShowControls&&i.startControlsTimer(1e3)})),i.options.hideVideoControlsOnLoad&&i.hideControls(!1),o&&!i.options.alwaysShowControls&&i.hideControls(),i.options.enableAutosize&&i.media.addEventListener("loadedmetadata",function(t){i.options.videoHeight<=0&&null===i.domNode.getAttribute("height")&&!isNaN(t.target.videoHeight)&&(i.setPlayerSize(t.target.videoWidth,t.target.videoHeight),i.setControlsSize(),i.media.setVideoSize(t.target.videoWidth,t.target.videoHeight))},!1)),t.addEventListener("play",function(){for(var t in mejs.players){var e=mejs.players[t];e.id!=i.id&&i.options.pauseOtherPlayers&&!e.paused&&!e.ended&&e.pause(),e.hasFocus=!1}i.hasFocus=!0},!1),i.media.addEventListener("ended",function(){if(i.options.autoRewind)try{i.media.setCurrentTime(0)}catch(t){}i.media.pause(),i.setProgressRail&&i.setProgressRail(),i.setCurrentRail&&i.setCurrentRail(),i.options.loop?i.play():!i.options.alwaysShowControls&&i.controlsEnabled&&i.showControls()},!1),i.media.addEventListener("loadedmetadata",function(){i.updateDuration&&i.updateDuration(),i.updateCurrent&&i.updateCurrent(),i.isFullScreen||(i.setPlayerSize(i.width,i.height),i.setControlsSize())},!1),setTimeout(function(){i.setPlayerSize(i.width,i.height),i.setControlsSize()},50),i.globalBind("resize",function(){i.isFullScreen||mejs.MediaFeatures.hasTrueNativeFullScreen&&document.webkitIsFullScreen||i.setPlayerSize(i.width,i.height),i.setControlsSize()}),"youtube"==i.media.pluginType&&i.options.autoplay&&i.container.find(".mejs-overlay-play").hide()}o&&"native"==t.pluginType&&i.play(),i.options.success&&("string"==typeof i.options.success?window[i.options.success](i.media,i.domNode,i):i.options.success(i.media,i.domNode,i))}},handleError:function(t){this.controls.hide(),this.options.error&&this.options.error(t)},setPlayerSize:function(e,i){if(!this.options.setDimensions)return!1;if("undefined"!=typeof e&&(this.width=e),"undefined"!=typeof i&&(this.height=i),this.height.toString().indexOf("%")>0||"100%"===this.$node.css("max-width")||this.$node[0].currentStyle&&"100%"===this.$node[0].currentStyle.maxWidth){var n=this.isVideo?this.media.videoWidth&&this.media.videoWidth>0?this.media.videoWidth:null!==this.media.getAttribute("width")?this.media.getAttribute("width"):this.options.defaultVideoWidth:this.options.defaultAudioWidth,o=this.isVideo?this.media.videoHeight&&this.media.videoHeight>0?this.media.videoHeight:null!==this.media.getAttribute("height")?this.media.getAttribute("height"):this.options.defaultVideoHeight:this.options.defaultAudioHeight,s=this.container.parent().closest(":visible").width(),a=this.container.parent().closest(":visible").height();n=this.isVideo||!this.options.autosizeProgress?parseInt(s*o/n,10):o,(isNaN(n)||0!=a&&n>a)&&(n=a),"body"===this.container.parent()[0].tagName.toLowerCase()&&(s=t(window).width(),n=t(window).height()),0!=n&&0!=s&&(this.container.width(s).height(n),this.$media.add(this.container.find(".mejs-shim")).width("100%").height("100%"),this.isVideo&&this.media.setVideoSize&&this.media.setVideoSize(s,n),this.layers.children(".mejs-layer").width("100%").height("100%"))}else this.container.width(this.width).height(this.height),this.layers.children(".mejs-layer").width(this.width).height(this.height);s=this.layers.find(".mejs-overlay-play"),a=s.find(".mejs-overlay-button"),s.height(this.container.height()-this.controls.height()),a.css("margin-top","-"+(a.height()/2-this.controls.height()/2).toString()+"px")},setControlsSize:function(){var e=0,i=0,n=this.controls.find(".mejs-time-rail"),o=this.controls.find(".mejs-time-total");this.controls.find(".mejs-time-current"),this.controls.find(".mejs-time-loaded");var s=n.siblings(),a=s.last(),r=null;if(this.container.is(":visible")&&n.length&&n.is(":visible")){this.options&&!this.options.autosizeProgress&&(i=parseInt(n.css("width"))),0!==i&&i||(s.each(function(){var i=t(this);"absolute"!=i.css("position")&&i.is(":visible")&&(e+=t(this).outerWidth(!0))}),i=this.controls.width()-e-(n.outerWidth(!0)-n.width()));do n.width(i),o.width(i-(o.outerWidth(!0)-o.width())),"absolute"!=a.css("position")&&(r=a.position(),i--);while(null!=r&&r.top>0&&i>0);this.setProgressRail&&this.setProgressRail(),this.setCurrentRail&&this.setCurrentRail()}},buildposter:function(e,i,n,o){var s=t('<div class="mejs-poster mejs-layer"></div>').appendTo(n);i=e.$media.attr("poster"),""!==e.options.poster&&(i=e.options.poster),""!==i&&null!=i?this.setPoster(i):s.hide(),o.addEventListener("play",function(){s.hide()},!1),e.options.showPosterWhenEnded&&e.options.autoRewind&&o.addEventListener("ended",function(){s.show()},!1)},setPoster:function(e){var i=this.container.find(".mejs-poster"),n=i.find("img");0==n.length&&(n=t('<img width="100%" height="100%" />').appendTo(i)),n.attr("src",e),i.css({"background-image":"url("+e+")"})},buildoverlays:function(e,i,n,o){var s=this;if(e.isVideo){var a=t('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-loading"><span></span></div></div>').hide().appendTo(n),r=t('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-error"></div></div>').hide().appendTo(n),l=t('<div class="mejs-overlay mejs-layer mejs-overlay-play"><div class="mejs-overlay-button"></div></div>').appendTo(n).bind("click",function(){s.options.clickToPlayPause&&o.paused&&o.play()});o.addEventListener("play",function(){l.hide(),a.hide(),i.find(".mejs-time-buffering").hide(),r.hide()},!1),o.addEventListener("playing",function(){l.hide(),a.hide(),i.find(".mejs-time-buffering").hide(),r.hide()},!1),o.addEventListener("seeking",function(){a.show(),i.find(".mejs-time-buffering").show()},!1),o.addEventListener("seeked",function(){a.hide(),i.find(".mejs-time-buffering").hide()},!1),o.addEventListener("pause",function(){mejs.MediaFeatures.isiPhone||l.show()},!1),o.addEventListener("waiting",function(){a.show(),i.find(".mejs-time-buffering").show()},!1),o.addEventListener("loadeddata",function(){a.show(),i.find(".mejs-time-buffering").show()},!1),o.addEventListener("canplay",function(){a.hide(),i.find(".mejs-time-buffering").hide()},!1),o.addEventListener("error",function(){a.hide(),i.find(".mejs-time-buffering").hide(),r.show(),r.find("mejs-overlay-error").php("Error loading this resource")},!1),o.addEventListener("keydown",function(t){s.onkeydown(e,o,t)},!1)}},buildkeyboard:function(e,i,n,o){var s=this;s.globalBind("keydown",function(t){return s.onkeydown(e,o,t)}),s.globalBind("click",function(i){e.hasFocus=0!=t(i.target).closest(".mejs-container").length})},onkeydown:function(t,e,i){if(t.hasFocus&&t.options.enableKeyboard)for(var n=0,o=t.options.keyActions.length;o>n;n++)for(var s=t.options.keyActions[n],a=0,r=s.keys.length;r>a;a++)if(i.keyCode==s.keys[a])return"function"==typeof i.preventDefault&&i.preventDefault(),s.action(t,e,i.keyCode),!1;return!0},findTracks:function(){var e=this,i=e.$media.find("track");e.tracks=[],i.each(function(i,n){n=t(n),e.tracks.push({srclang:n.attr("srclang")?n.attr("srclang").toLowerCase():"",src:n.attr("src"),kind:n.attr("kind"),label:n.attr("label")||"",entries:[],isLoaded:!1})})},changeSkin:function(t){this.container[0].className="mejs-container "+t,this.setPlayerSize(this.width,this.height),this.setControlsSize()},play:function(){this.load(),this.media.play()},pause:function(){try{this.media.pause()}catch(t){}},load:function(){this.isLoaded||this.media.load(),this.isLoaded=!0},setMuted:function(t){this.media.setMuted(t)},setCurrentTime:function(t){this.media.setCurrentTime(t)},getCurrentTime:function(){return this.media.currentTime},setVolume:function(t){this.media.setVolume(t)},getVolume:function(){return this.media.volume},setSrc:function(t){this.media.setSrc(t)},remove:function(){var t,e;for(t in this.options.features)if(e=this.options.features[t],this["clean"+e])try{this["clean"+e](this)}catch(i){}this.isDynamic?this.$node.insertBefore(this.container):(this.$media.prop("controls",!0),this.$node.clone().insertBefore(this.container).show(),this.$node.remove()),"native"!==this.media.pluginType&&this.media.remove(),delete mejs.players[this.id],"object"==typeof this.container&&this.container.remove(),this.globalUnbind(),delete this.node.player}},function(){function e(e,n){var o={d:[],w:[]};return t.each((e||"").split(" "),function(t,e){var s=e+"."+n;0===s.indexOf(".")?(o.d.push(s),o.w.push(s)):o[i.test(e)?"w":"d"].push(s)}),o.d=o.d.join(" "),o.w=o.w.join(" "),o}var i=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\b/;mejs.MediaElementPlayer.prototype.globalBind=function(i,n,o){i=e(i,this.id),i.d&&t(document).bind(i.d,n,o),i.w&&t(window).bind(i.w,n,o)},mejs.MediaElementPlayer.prototype.globalUnbind=function(i,n){i=e(i,this.id),i.d&&t(document).unbind(i.d,n),i.w&&t(window).unbind(i.w,n)}}(),"undefined"!=typeof t&&(t.fn.mediaelementplayer=function(e){return this.each(e===!1?function(){var e=t(this).data("mediaelementplayer");e&&e.remove(),t(this).removeData("mediaelementplayer")}:function(){t(this).data("mediaelementplayer",new mejs.MediaElementPlayer(this,e))}),this},t(document).ready(function(){t(".mejs-player").mediaelementplayer()})),window.MediaElementPlayer=mejs.MediaElementPlayer}(mejs.$),function(t){t.extend(mejs.MepDefaults,{playpauseText:mejs.i18n.t("Play/Pause")}),t.extend(MediaElementPlayer.prototype,{buildplaypause:function(e,i,n,o){var s=t('<div class="mejs-button mejs-playpause-button mejs-play" ><button type="button" aria-controls="'+this.id+'" title="'+this.options.playpauseText+'" aria-label="'+this.options.playpauseText+'"></button></div>').appendTo(i).click(function(t){
return t.preventDefault(),o.paused?o.play():o.pause(),!1});o.addEventListener("play",function(){s.removeClass("mejs-play").addClass("mejs-pause")},!1),o.addEventListener("playing",function(){s.removeClass("mejs-play").addClass("mejs-pause")},!1),o.addEventListener("pause",function(){s.removeClass("mejs-pause").addClass("mejs-play")},!1),o.addEventListener("paused",function(){s.removeClass("mejs-pause").addClass("mejs-play")},!1)}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{stopText:"Stop"}),t.extend(MediaElementPlayer.prototype,{buildstop:function(e,i,n,o){t('<div class="mejs-button mejs-stop-button mejs-stop"><button type="button" aria-controls="'+this.id+'" title="'+this.options.stopText+'" aria-label="'+this.options.stopText+'"></button></div>').appendTo(i).click(function(){o.paused||o.pause(),o.currentTime>0&&(o.setCurrentTime(0),o.pause(),i.find(".mejs-time-current").width("0px"),i.find(".mejs-time-handle").css("left","0px"),i.find(".mejs-time-float-current").php(mejs.Utility.secondsToTimeCode(0)),i.find(".mejs-currenttime").php(mejs.Utility.secondsToTimeCode(0)),n.find(".mejs-poster").show())})}})}(mejs.$),function(t){t.extend(MediaElementPlayer.prototype,{buildprogress:function(e,i,n,o){t('<div class="mejs-time-rail"><span class="mejs-time-total"><span class="mejs-time-buffering"></span><span class="mejs-time-loaded"></span><span class="mejs-time-current"></span><span class="mejs-time-handle"></span><span class="mejs-time-float"><span class="mejs-time-float-current">00:00</span><span class="mejs-time-float-corner"></span></span></span></div>').appendTo(i),i.find(".mejs-time-buffering").hide();var s=this,a=i.find(".mejs-time-total");n=i.find(".mejs-time-loaded");var r=i.find(".mejs-time-current"),l=i.find(".mejs-time-handle"),c=i.find(".mejs-time-float"),u=i.find(".mejs-time-float-current"),d=function(t){t=t.originalEvent.changedTouches?t.originalEvent.changedTouches[0].pageX:t.pageX;var e=a.offset(),i=a.outerWidth(!0),n=0,s=n=0;o.duration&&(t<e.left?t=e.left:t>i+e.left&&(t=i+e.left),s=t-e.left,n=s/i,n=.02>=n?0:n*o.duration,h&&n!==o.currentTime&&o.setCurrentTime(n),mejs.MediaFeatures.hasTouch||(c.css("left",s),u.php(mejs.Utility.secondsToTimeCode(n)),c.show()))},h=!1;a.bind("mousedown touchstart",function(t){return 1===t.which||0===t.which?(h=!0,d(t),s.globalBind("mousemove.dur touchmove.dur",function(t){d(t)}),s.globalBind("mouseup.dur touchend.dur",function(){h=!1,c.hide(),s.globalUnbind(".dur")}),!1):void 0}).bind("mouseenter",function(){s.globalBind("mousemove.dur",function(t){d(t)}),mejs.MediaFeatures.hasTouch||c.show()}).bind("mouseleave",function(){h||(s.globalUnbind(".dur"),c.hide())}),o.addEventListener("progress",function(t){e.setProgressRail(t),e.setCurrentRail(t)},!1),o.addEventListener("timeupdate",function(t){e.setProgressRail(t),e.setCurrentRail(t)},!1),s.loaded=n,s.total=a,s.current=r,s.handle=l},setProgressRail:function(t){var e=void 0!=t?t.target:this.media,i=null;e&&e.buffered&&e.buffered.length>0&&e.buffered.end&&e.duration?i=e.buffered.end(0)/e.duration:e&&void 0!=e.bytesTotal&&e.bytesTotal>0&&void 0!=e.bufferedBytes?i=e.bufferedBytes/e.bytesTotal:t&&t.lengthComputable&&0!=t.total&&(i=t.loaded/t.total),null!==i&&(i=Math.min(1,Math.max(0,i)),this.loaded&&this.total&&this.loaded.width(this.total.width()*i))},setCurrentRail:function(){if(void 0!=this.media.currentTime&&this.media.duration&&this.total&&this.handle){var t=Math.round(this.total.width()*this.media.currentTime/this.media.duration),e=t-Math.round(this.handle.outerWidth(!0)/2);this.current.width(t),this.handle.css("left",e)}}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{duration:-1,timeAndDurationSeparator:"<span> | </span>"}),t.extend(MediaElementPlayer.prototype,{buildcurrent:function(e,i,n,o){t('<div class="mejs-time"><span class="mejs-currenttime">'+(e.options.alwaysShowHours?"00:":"")+(e.options.showTimecodeFrameCount?"00:00:00":"00:00")+"</span></div>").appendTo(i),this.currenttime=this.controls.find(".mejs-currenttime"),o.addEventListener("timeupdate",function(){e.updateCurrent()},!1)},buildduration:function(e,i,n,o){i.children().last().find(".mejs-currenttime").length>0?t(this.options.timeAndDurationSeparator+'<span class="mejs-duration">'+(this.options.duration>0?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(e.options.alwaysShowHours?"00:":"")+(e.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span>").appendTo(i.find(".mejs-time")):(i.find(".mejs-currenttime").parent().addClass("mejs-currenttime-container"),t('<div class="mejs-time mejs-duration-container"><span class="mejs-duration">'+(this.options.duration>0?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(e.options.alwaysShowHours?"00:":"")+(e.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span></div>").appendTo(i)),this.durationD=this.controls.find(".mejs-duration"),o.addEventListener("timeupdate",function(){e.updateDuration()},!1)},updateCurrent:function(){this.currenttime&&this.currenttime.php(mejs.Utility.secondsToTimeCode(this.media.currentTime,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))},updateDuration:function(){this.container.toggleClass("mejs-long-video",this.media.duration>3600),this.durationD&&(this.options.duration>0||this.media.duration)&&this.durationD.php(mejs.Utility.secondsToTimeCode(this.options.duration>0?this.options.duration:this.media.duration,this.options.alwaysShowHours,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{muteText:mejs.i18n.t("Mute Toggle"),hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical"}),t.extend(MediaElementPlayer.prototype,{buildvolume:function(e,i,n,o){if(!mejs.MediaFeatures.isAndroid&&!mejs.MediaFeatures.isiOS||!this.options.hideVolumeOnTouchDevices){var s=this,a=s.isVideo?s.options.videoVolume:s.options.audioVolume,r="horizontal"==a?t('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+s.id+'" title="'+s.options.muteText+'" aria-label="'+s.options.muteText+'"></button></div><div class="mejs-horizontal-volume-slider"><div class="mejs-horizontal-volume-total"></div><div class="mejs-horizontal-volume-current"></div><div class="mejs-horizontal-volume-handle"></div></div>').appendTo(i):t('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+s.id+'" title="'+s.options.muteText+'" aria-label="'+s.options.muteText+'"></button><div class="mejs-volume-slider"><div class="mejs-volume-total"></div><div class="mejs-volume-current"></div><div class="mejs-volume-handle"></div></div></div>').appendTo(i),l=s.container.find(".mejs-volume-slider, .mejs-horizontal-volume-slider"),c=s.container.find(".mejs-volume-total, .mejs-horizontal-volume-total"),u=s.container.find(".mejs-volume-current, .mejs-horizontal-volume-current"),d=s.container.find(".mejs-volume-handle, .mejs-horizontal-volume-handle"),h=function(t,e){if(l.is(":visible")||"undefined"!=typeof e)if(t=Math.max(0,t),t=Math.min(t,1),0==t?r.removeClass("mejs-mute").addClass("mejs-unmute"):r.removeClass("mejs-unmute").addClass("mejs-mute"),"vertical"==a){var i=c.height(),n=c.position(),o=i-i*t;d.css("top",Math.round(n.top+o-d.height()/2)),u.height(i-o),u.css("top",n.top+o)}else i=c.width(),n=c.position(),i*=t,d.css("left",Math.round(n.left+i-d.width()/2)),u.width(Math.round(i));else l.show(),h(t,!0),l.hide()},p=function(t){var e=null,i=c.offset();if("vertical"==a){if(e=c.height(),parseInt(c.css("top").replace(/px/,""),10),e=(e-(t.pageY-i.top))/e,0==i.top||0==i.left)return}else e=c.width(),e=(t.pageX-i.left)/e;e=Math.max(0,e),e=Math.min(e,1),h(e),o.setMuted(0==e?!0:!1),o.setVolume(e)},f=!1,m=!1;r.hover(function(){l.show(),m=!0},function(){m=!1,!f&&"vertical"==a&&l.hide()}),l.bind("mouseover",function(){m=!0}).bind("mousedown",function(t){return p(t),s.globalBind("mousemove.vol",function(t){p(t)}),s.globalBind("mouseup.vol",function(){f=!1,s.globalUnbind(".vol"),!m&&"vertical"==a&&l.hide()}),f=!0,!1}),r.find("button").click(function(){o.setMuted(!o.muted)}),o.addEventListener("volumechange",function(){f||(o.muted?(h(0),r.removeClass("mejs-mute").addClass("mejs-unmute")):(h(o.volume),r.removeClass("mejs-unmute").addClass("mejs-mute")))},!1),s.container.is(":visible")&&(h(e.options.startVolume),0===e.options.startVolume&&o.setMuted(!0),"native"===o.pluginType&&o.setVolume(e.options.startVolume))}}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{usePluginFullScreen:!0,newWindowCallback:function(){return""},fullscreenText:mejs.i18n.t("Fullscreen")}),t.extend(MediaElementPlayer.prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,buildfullscreen:function(e,i,n,o){if(e.isVideo){e.isInIframe=window.location!=window.parent.location,mejs.MediaFeatures.hasTrueNativeFullScreen&&e.globalBind(mejs.MediaFeatures.fullScreenEventName,function(){e.isFullScreen&&(mejs.MediaFeatures.isFullScreen()?(e.isNativeFullScreen=!0,e.setControlsSize()):(e.isNativeFullScreen=!1,e.exitFullScreen()))});var s=this,a=t('<div class="mejs-button mejs-fullscreen-button"><button type="button" aria-controls="'+s.id+'" title="'+s.options.fullscreenText+'" aria-label="'+s.options.fullscreenText+'"></button></div>').appendTo(i);if("native"===s.media.pluginType||!s.options.usePluginFullScreen&&!mejs.MediaFeatures.isFirefox)a.click(function(){mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||e.isFullScreen?e.exitFullScreen():e.enterFullScreen()});else{var r=null;if(function(){var t=document.createElement("x"),e=document.documentElement,i=window.getComputedStyle;return"pointerEvents"in t.style?(t.style.pointerEvents="auto",t.style.pointerEvents="x",e.appendChild(t),i=i&&"auto"===i(t,"").pointerEvents,e.removeChild(t),!!i):!1}()&&!mejs.MediaFeatures.isOpera){var l=!1,c=function(){if(l){for(var t in u)u[t].hide();a.css("pointer-events",""),s.controls.css("pointer-events",""),s.media.removeEventListener("click",s.clickToPlayPauseCallback),l=!1}},u={};i=["top","left","right","bottom"];var d,h=function(){var t=a.offset().left-s.container.offset().left,e=a.offset().top-s.container.offset().top,i=a.outerWidth(!0),n=a.outerHeight(!0),o=s.container.width(),r=s.container.height();for(d in u)u[d].css({position:"absolute",top:0,left:0});u.top.width(o).height(e),u.left.width(t).height(n).css({top:e}),u.right.width(o-t-i).height(n).css({top:e,left:t+i}),u.bottom.width(o).height(r-n-e).css({top:e+n})};for(s.globalBind("resize",function(){h()}),d=0,n=i.length;n>d;d++)u[i[d]]=t('<div class="mejs-fullscreen-hover" />').appendTo(s.container).mouseover(c).hide();a.on("mouseover",function(){if(!s.isFullScreen){var t=a.offset(),i=e.container.offset();o.positionFullscreenButton(t.left-i.left,t.top-i.top,!1),a.css("pointer-events","none"),s.controls.css("pointer-events","none"),s.media.addEventListener("click",s.clickToPlayPauseCallback);for(d in u)u[d].show();h(),l=!0}}),o.addEventListener("fullscreenchange",function(){s.isFullScreen=!s.isFullScreen,s.isFullScreen?s.media.removeEventListener("click",s.clickToPlayPauseCallback):s.media.addEventListener("click",s.clickToPlayPauseCallback),c()}),s.globalBind("mousemove",function(t){if(l){var e=a.offset();(t.pageY<e.top||t.pageY>e.top+a.outerHeight(!0)||t.pageX<e.left||t.pageX>e.left+a.outerWidth(!0))&&(a.css("pointer-events",""),s.controls.css("pointer-events",""),l=!1)}})}else a.on("mouseover",function(){null!==r&&(clearTimeout(r),delete r);var t=a.offset(),i=e.container.offset();o.positionFullscreenButton(t.left-i.left,t.top-i.top,!0)}).on("mouseout",function(){null!==r&&(clearTimeout(r),delete r),r=setTimeout(function(){o.hideFullscreenButton()},1500)})}e.fullscreenBtn=a,s.globalBind("keydown",function(t){(mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||s.isFullScreen)&&27==t.keyCode&&e.exitFullScreen()})}},cleanfullscreen:function(t){t.exitFullScreen()},containerSizeTimeout:null,enterFullScreen:function(){var e=this;if("native"===e.media.pluginType||!mejs.MediaFeatures.isFirefox&&!e.options.usePluginFullScreen){if(t(document.documentElement).addClass("mejs-fullscreen"),normalHeight=e.container.height(),normalWidth=e.container.width(),"native"===e.media.pluginType)if(mejs.MediaFeatures.hasTrueNativeFullScreen)mejs.MediaFeatures.requestFullScreen(e.container[0]),e.isInIframe&&setTimeout(function n(){if(e.isNativeFullScreen){var i=(window.devicePixelRatio||1)*t(window).width(),o=screen.width;Math.abs(o-i)>.002*o?e.exitFullScreen():setTimeout(n,500)}},500);else if(mejs.MediaFeatures.hasSemiNativeFullScreen)return void e.media.webkitEnterFullscreen();if(e.isInIframe){var i=e.options.newWindowCallback(this);if(""!==i){if(!mejs.MediaFeatures.hasTrueNativeFullScreen)return e.pause(),void window.open(i,e.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no");setTimeout(function(){e.isNativeFullScreen||(e.pause(),window.open(i,e.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no"))},250)}}e.container.addClass("mejs-container-fullscreen").width("100%").height("100%"),e.containerSizeTimeout=setTimeout(function(){e.container.css({width:"100%",height:"100%"}),e.setControlsSize()},500),"native"===e.media.pluginType?e.$media.width("100%").height("100%"):(e.container.find(".mejs-shim").width("100%").height("100%"),e.media.setVideoSize(t(window).width(),t(window).height())),e.layers.children("div").width("100%").height("100%"),e.fullscreenBtn&&e.fullscreenBtn.removeClass("mejs-fullscreen").addClass("mejs-unfullscreen"),e.setControlsSize(),e.isFullScreen=!0,e.container.find(".mejs-captions-text").css("font-size",screen.width/e.width*1*100+"%"),e.container.find(".mejs-captions-position").css("bottom","45px")}},exitFullScreen:function(){clearTimeout(this.containerSizeTimeout),"native"!==this.media.pluginType&&mejs.MediaFeatures.isFirefox?this.media.setFullscreen(!1):(mejs.MediaFeatures.hasTrueNativeFullScreen&&(mejs.MediaFeatures.isFullScreen()||this.isFullScreen)&&mejs.MediaFeatures.cancelFullScreen(),t(document.documentElement).removeClass("mejs-fullscreen"),this.container.removeClass("mejs-container-fullscreen").width(normalWidth).height(normalHeight),"native"===this.media.pluginType?this.$media.width(normalWidth).height(normalHeight):(this.container.find(".mejs-shim").width(normalWidth).height(normalHeight),this.media.setVideoSize(normalWidth,normalHeight)),this.layers.children("div").width(normalWidth).height(normalHeight),this.fullscreenBtn.removeClass("mejs-unfullscreen").addClass("mejs-fullscreen"),this.setControlsSize(),this.isFullScreen=!1,this.container.find(".mejs-captions-text").css("font-size",""),this.container.find(".mejs-captions-position").css("bottom",""))}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{speeds:["1.50","1.25","1.00","0.75"],defaultSpeed:"1.00"}),t.extend(MediaElementPlayer.prototype,{buildspeed:function(e,i,n,o){if("native"==this.media.pluginType){n='<div class="mejs-button mejs-speed-button"><button type="button">'+this.options.defaultSpeed+'x</button><div class="mejs-speed-selector"><ul>';var s;for(-1===t.inArray(this.options.defaultSpeed,this.options.speeds)&&this.options.speeds.push(this.options.defaultSpeed),this.options.speeds.sort(function(t,e){return parseFloat(e)-parseFloat(t)}),s=0;s<this.options.speeds.length;s++)n+='<li><input type="radio" name="speed" value="'+this.options.speeds[s]+'" id="'+this.options.speeds[s]+'" ',this.options.speeds[s]==this.options.defaultSpeed?(n+="checked=true ",n+='/><label for="'+this.options.speeds[s]+'" class="mejs-speed-selected">'+this.options.speeds[s]+"x</label></li>"):n+='/><label for="'+this.options.speeds[s]+'">'+this.options.speeds[s]+"x</label></li>";n+="</ul></div></div>",e.speedButton=t(n).appendTo(i),e.playbackspeed=this.options.defaultSpeed,e.speedButton.on("click","input[type=radio]",function(){e.playbackspeed=t(this).attr("value"),o.playbackRate=parseFloat(e.playbackspeed),e.speedButton.find("button").text(e.playbackspeed+"x"),e.speedButton.find(".mejs-speed-selected").removeClass("mejs-speed-selected"),e.speedButton.find("input[type=radio]:checked").next().addClass("mejs-speed-selected")}),i=e.speedButton.find(".mejs-speed-selector"),i.height(this.speedButton.find(".mejs-speed-selector ul").outerHeight(!0)+e.speedButton.find(".mejs-speed-translations").outerHeight(!0)),i.css("top",-1*i.height()+"px")}}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{startLanguage:"",tracksText:mejs.i18n.t("Captions/Subtitles"),hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),t.extend(MediaElementPlayer.prototype,{hasChapters:!1,buildtracks:function(e,i,n,o){if(0!==e.tracks.length){var s;if(this.domNode.textTracks)for(s=this.domNode.textTracks.length-1;s>=0;s--)this.domNode.textTracks[s].mode="hidden";for(e.chapters=t('<div class="mejs-chapters mejs-layer"></div>').prependTo(n).hide(),e.captions=t('<div class="mejs-captions-layer mejs-layer"><div class="mejs-captions-position mejs-captions-position-hover"><span class="mejs-captions-text"></span></div></div>').prependTo(n).hide(),e.captionsText=e.captions.find(".mejs-captions-text"),e.captionsButton=t('<div class="mejs-button mejs-captions-button"><button type="button" aria-controls="'+this.id+'" title="'+this.options.tracksText+'" aria-label="'+this.options.tracksText+'"></button><div class="mejs-captions-selector"><ul><li><input type="radio" name="'+e.id+'_captions" id="'+e.id+'_captions_none" value="none" checked="checked" /><label for="'+e.id+'_captions_none">'+mejs.i18n.t("None")+"</label></li></ul></div></div>").appendTo(i),s=i=0;s<e.tracks.length;s++)"subtitles"==e.tracks[s].kind&&i++;for(this.options.toggleCaptionsButtonWhenOnlyOne&&1==i?e.captionsButton.on("click",function(){lang=null===e.selectedTrack?e.tracks[0].srclang:"none",e.setTrack(lang)}):(e.captionsButton.on("mouseenter focusin",function(){t(this).find(".mejs-captions-selector").css("visibility","visible")}).on("click","input[type=radio]",function(){lang=this.value,e.setTrack(lang)}),e.captionsButton.on("mouseleave focusout",function(){t(this).find(".mejs-captions-selector").css("visibility","hidden")})),e.options.alwaysShowControls?e.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover"):e.container.bind("controlsshown",function(){e.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover")}).bind("controlshidden",function(){o.paused||e.container.find(".mejs-captions-position").removeClass("mejs-captions-position-hover")}),e.trackToLoad=-1,e.selectedTrack=null,e.isLoadingTrack=!1,s=0;s<e.tracks.length;s++)"subtitles"==e.tracks[s].kind&&e.addTrackButton(e.tracks[s].srclang,e.tracks[s].label);e.loadNextTrack(),o.addEventListener("timeupdate",function(){e.displayCaptions()},!1),""!==e.options.slidesSelector&&(e.slidesContainer=t(e.options.slidesSelector),o.addEventListener("timeupdate",function(){e.displaySlides()},!1)),o.addEventListener("loadedmetadata",function(){e.displayChapters()},!1),e.container.hover(function(){e.hasChapters&&(e.chapters.css("visibility","visible"),e.chapters.fadeIn(200).height(e.chapters.find(".mejs-chapter").outerHeight()))},function(){e.hasChapters&&!o.paused&&e.chapters.fadeOut(200,function(){t(this).css("visibility","hidden"),t(this).css("display","block")})}),null!==e.node.getAttribute("autoplay")&&e.chapters.css("visibility","hidden")}},setTrack:function(t){var e;if("none"==t)this.selectedTrack=null,this.captionsButton.removeClass("mejs-captions-enabled");else for(e=0;e<this.tracks.length;e++)if(this.tracks[e].srclang==t){null===this.selectedTrack&&this.captionsButton.addClass("mejs-captions-enabled"),this.selectedTrack=this.tracks[e],this.captions.attr("lang",this.selectedTrack.srclang),this.displayCaptions();break}},loadNextTrack:function(){this.trackToLoad++,this.trackToLoad<this.tracks.length?(this.isLoadingTrack=!0,this.loadTrack(this.trackToLoad)):(this.isLoadingTrack=!1,this.checkForTracks())},loadTrack:function(e){var i=this,n=i.tracks[e];t.ajax({url:n.src,dataType:"text",success:function(t){n.entries="string"==typeof t&&/<tt\s+xml/gi.exec(t)?mejs.TrackFormatParser.dfxp.parse(t):mejs.TrackFormatParser.webvtt.parse(t),n.isLoaded=!0,i.enableTrackButton(n.srclang,n.label),i.loadNextTrack(),"chapters"==n.kind&&i.media.addEventListener("play",function(){i.media.duration>0&&i.displayChapters(n)},!1),"slides"==n.kind&&i.setupSlides(n)},error:function(){i.loadNextTrack()}})},enableTrackButton:function(e,i){""===i&&(i=mejs.language.codes[e]||e),this.captionsButton.find("input[value="+e+"]").prop("disabled",!1).siblings("label").php(i),this.options.startLanguage==e&&t("#"+this.id+"_captions_"+e).prop("checked",!0).trigger("click"),this.adjustLanguageBox()},addTrackButton:function(e,i){""===i&&(i=mejs.language.codes[e]||e),this.captionsButton.find("ul").append(t('<li><input type="radio" name="'+this.id+'_captions" id="'+this.id+"_captions_"+e+'" value="'+e+'" disabled="disabled" /><label for="'+this.id+"_captions_"+e+'">'+i+" (loading)</label></li>")),this.adjustLanguageBox(),this.container.find(".mejs-captions-translations option[value="+e+"]").remove()},adjustLanguageBox:function(){this.captionsButton.find(".mejs-captions-selector").height(this.captionsButton.find(".mejs-captions-selector ul").outerHeight(!0)+this.captionsButton.find(".mejs-captions-translations").outerHeight(!0))},checkForTracks:function(){var t=!1;if(this.options.hideCaptionsButtonWhenEmpty){for(i=0;i<this.tracks.length;i++)if("subtitles"==this.tracks[i].kind){t=!0;break}t||(this.captionsButton.hide(),this.setControlsSize())}},displayCaptions:function(){if("undefined"!=typeof this.tracks){var t,e=this.selectedTrack;if(null!==e&&e.isLoaded)for(t=0;t<e.entries.times.length;t++)if(this.media.currentTime>=e.entries.times[t].start&&this.media.currentTime<=e.entries.times[t].stop)return this.captionsText.php(e.entries.text[t]).attr("class","mejs-captions-text "+(e.entries.times[t].identifier||"")),void this.captions.show().height(0);this.captions.hide()}},setupSlides:function(t){this.slides=t,this.slides.entries.imgs=[this.slides.entries.text.length],this.showSlide(0)},showSlide:function(e){if("undefined"!=typeof this.tracks&&"undefined"!=typeof this.slidesContainer){var i=this,n=i.slides.entries.text[e],o=i.slides.entries.imgs[e];"undefined"==typeof o||"undefined"==typeof o.fadeIn?i.slides.entries.imgs[e]=o=t('<img src="'+n+'">').on("load",function(){o.appendTo(i.slidesContainer).hide().fadeIn().siblings(":visible").fadeOut()}):!o.is(":visible")&&!o.is(":animated")&&o.fadeIn().siblings(":visible").fadeOut()}},displaySlides:function(){if("undefined"!=typeof this.slides){var t,e=this.slides;for(t=0;t<e.entries.times.length;t++)if(this.media.currentTime>=e.entries.times[t].start&&this.media.currentTime<=e.entries.times[t].stop){this.showSlide(t);break}}},displayChapters:function(){var t;for(t=0;t<this.tracks.length;t++)if("chapters"==this.tracks[t].kind&&this.tracks[t].isLoaded){this.drawChapters(this.tracks[t]),this.hasChapters=!0;break}},drawChapters:function(e){var i,n,o=this,s=n=0;for(o.chapters.empty(),i=0;i<e.entries.times.length;i++)n=e.entries.times[i].stop-e.entries.times[i].start,n=Math.floor(n/o.media.duration*100),(n+s>100||i==e.entries.times.length-1&&100>n+s)&&(n=100-s),o.chapters.append(t('<div class="mejs-chapter" rel="'+e.entries.times[i].start+'" style="left: '+s.toString()+"%;width: "+n.toString()+'%;"><div class="mejs-chapter-block'+(i==e.entries.times.length-1?" mejs-chapter-block-last":"")+'"><span class="ch-title">'+e.entries.text[i]+'</span><span class="ch-time">'+mejs.Utility.secondsToTimeCode(e.entries.times[i].start)+"&ndash;"+mejs.Utility.secondsToTimeCode(e.entries.times[i].stop)+"</span></div></div>")),s+=n;o.chapters.find("div.mejs-chapter").click(function(){o.media.setCurrentTime(parseFloat(t(this).attr("rel"))),o.media.paused&&o.media.play()}),o.chapters.show()}}),mejs.language={codes:{af:"Afrikaans",sq:"Albanian",ar:"Arabic",be:"Belarusian",bg:"Bulgarian",ca:"Catalan",zh:"Chinese","zh-cn":"Chinese Simplified","zh-tw":"Chinese Traditional",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",et:"Estonian",fl:"Filipino",fi:"Finnish",fr:"French",gl:"Galician",de:"German",el:"Greek",ht:"Haitian Creole",iw:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",ga:"Irish",it:"Italian",ja:"Japanese",ko:"Korean",lv:"Latvian",lt:"Lithuanian",mk:"Macedonian",ms:"Malay",mt:"Maltese",no:"Norwegian",fa:"Persian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish",sw:"Swahili",sv:"Swedish",tl:"Tagalog",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",cy:"Welsh",yi:"Yiddish"}},mejs.TrackFormatParser={webvtt:{pattern_timecode:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(e){var i=0;e=mejs.TrackFormatParser.split2(e,/\r?\n/);for(var n,o,s,a={text:[],times:[]};i<e.length;i++){if((n=this.pattern_timecode.exec(e[i]))&&i<e.length){for(i-1>=0&&""!==e[i-1]&&(s=e[i-1]),i++,o=e[i],i++;""!==e[i]&&i<e.length;)o=o+"\n"+e[i],i++;o=t.trim(o).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),a.text.push(o),a.times.push({identifier:s,start:0===mejs.Utility.convertSMPTEtoSeconds(n[1])?.2:mejs.Utility.convertSMPTEtoSeconds(n[1]),stop:mejs.Utility.convertSMPTEtoSeconds(n[3]),settings:n[5]})}s=""}return a}},dfxp:{parse:function(e){e=t(e).filter("tt");var i=0;i=e.children("div").eq(0);var n=i.find("p");i=e.find("#"+i.attr("style"));var o,s;if(e={text:[],times:[]},i.length&&(s=i.removeAttr("id").get(0).attributes,s.length))for(o={},i=0;i<s.length;i++)o[s[i].name.split(":")[1]]=s[i].value;for(i=0;i<n.length;i++){var a;if(s={start:null,stop:null,style:null},n.eq(i).attr("begin")&&(s.start=mejs.Utility.convertSMPTEtoSeconds(n.eq(i).attr("begin"))),!s.start&&n.eq(i-1).attr("end")&&(s.start=mejs.Utility.convertSMPTEtoSeconds(n.eq(i-1).attr("end"))),n.eq(i).attr("end")&&(s.stop=mejs.Utility.convertSMPTEtoSeconds(n.eq(i).attr("end"))),!s.stop&&n.eq(i+1).attr("begin")&&(s.stop=mejs.Utility.convertSMPTEtoSeconds(n.eq(i+1).attr("begin"))),o){a="";for(var r in o)a+=r+":"+o[r]+";"}a&&(s.style=a),0===s.start&&(s.start=.2),e.times.push(s),s=t.trim(n.eq(i).php()).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),e.text.push(s),0===e.times.start&&(e.times.start=2)}return e}},split2:function(t,e){return t.split(e)}},3!="x\n\ny".split(/\n/gi).length&&(mejs.TrackFormatParser.split2=function(t,e){var i,n=[],o="";for(i=0;i<t.length;i++)o+=t.substring(i,i+1),e.test(o)&&(n.push(o.replace(e,"")),o="");return n.push(o),n})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{contextMenuItems:[{render:function(t){return"undefined"==typeof t.enterFullScreen?null:mejs.i18n.t(t.isFullScreen?"Turn off Fullscreen":"Go Fullscreen")},click:function(t){t.isFullScreen?t.exitFullScreen():t.enterFullScreen()}},{render:function(t){return mejs.i18n.t(t.media.muted?"Unmute":"Mute")},click:function(t){t.setMuted(t.media.muted?!1:!0)}},{isSeparator:!0},{render:function(){return mejs.i18n.t("Download Video")},click:function(t){window.location.href=t.media.currentSrc}}]}),t.extend(MediaElementPlayer.prototype,{buildcontextmenu:function(e){e.contextMenu=t('<div class="mejs-contextmenu"></div>').appendTo(t("body")).hide(),e.container.bind("contextmenu",function(t){return e.isContextMenuEnabled?(t.preventDefault(),e.renderContextMenu(t.clientX-1,t.clientY-1),!1):void 0}),e.container.bind("click",function(){e.contextMenu.hide()}),e.contextMenu.bind("mouseleave",function(){e.startContextMenuTimer()})},cleancontextmenu:function(t){t.contextMenu.remove()},isContextMenuEnabled:!0,enableContextMenu:function(){this.isContextMenuEnabled=!0},disableContextMenu:function(){this.isContextMenuEnabled=!1},contextMenuTimeout:null,startContextMenuTimer:function(){var t=this;t.killContextMenuTimer(),t.contextMenuTimer=setTimeout(function(){t.hideContextMenu(),t.killContextMenuTimer()},750)},killContextMenuTimer:function(){var t=this.contextMenuTimer;null!=t&&(clearTimeout(t),delete t)},hideContextMenu:function(){this.contextMenu.hide()},renderContextMenu:function(e,i){for(var n=this,o="",s=n.options.contextMenuItems,a=0,r=s.length;r>a;a++)if(s[a].isSeparator)o+='<div class="mejs-contextmenu-separator"></div>';else{var l=s[a].render(n);null!=l&&(o+='<div class="mejs-contextmenu-item" data-itemindex="'+a+'" id="element-'+1e6*Math.random()+'">'+l+"</div>")}n.contextMenu.empty().append(t(o)).css({top:i,left:e}).show(),n.contextMenu.find(".mejs-contextmenu-item").each(function(){var e=t(this),i=parseInt(e.data("itemindex"),10),o=n.options.contextMenuItems[i];"undefined"!=typeof o.show&&o.show(e,n),e.click(function(){"undefined"!=typeof o.click&&o.click(n),n.contextMenu.hide()})}),setTimeout(function(){n.killControlsTimer("rev3")},100)}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{postrollCloseText:mejs.i18n.t("Close")}),t.extend(MediaElementPlayer.prototype,{buildpostroll:function(e,i,n){var o=this.container.find('link[rel="postroll"]').attr("href");"undefined"!=typeof o&&(e.postroll=t('<div class="mejs-postroll-layer mejs-layer"><a class="mejs-postroll-close" onclick="$(this).parent().hide();return false;">'+this.options.postrollCloseText+'</a><div class="mejs-postroll-layer-content"></div></div>').prependTo(n).hide(),this.media.addEventListener("ended",function(){t.ajax({dataType:"html",url:o,success:function(t){n.find(".mejs-postroll-layer-content").php(t)}}),e.postroll.show()},!1))}})}(mejs.$),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});var o=function(){i||t(n).trigger(t.support.transition.end)};return setTimeout(o,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.alert");o||i.data("bs.alert",o=new n(this)),"string"==typeof e&&o[e].call(i)})}var i='[data-dismiss="alert"]',n=function(e){t(e).on("click",i,this.close)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.close=function(e){function i(){a.detach().trigger("closed.bs.alert").remove()}var o=t(this),s=o.attr("data-target");s||(s=o.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var a=t(s);e&&e.preventDefault(),a.length||(a=o.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i())};var o=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",i,n.prototype.close);

}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.button"),s="object"==typeof e&&e;o||n.data("bs.button",o=new i(this,s)),"toggle"==e?o.toggle():e&&o.setState(e)})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.isLoading=!1};i.VERSION="3.3.5",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",n=this.$element,o=n.is("input")?"val":"html",s=n.data();e+="Text",null==s.resetText&&n.data("resetText",n[o]()),setTimeout(t.proxy(function(){n[o](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,n.removeClass(i).removeAttr(i))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var n=t(i.target);n.hasClass("btn")||(n=n.closest(".btn")),e.call(n,"toggle"),t(i.target).is('input[type="radio"]')||t(i.target).is('input[type="checkbox"]')||i.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.carousel"),s=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e),a="string"==typeof e?e:s.slide;o||n.data("bs.carousel",o=new i(this,s)),"number"==typeof e?o.to(e):a?o[a]():s.interval&&o.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.3.5",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e),n="prev"==t&&0===i||"next"==t&&i==this.$items.length-1;if(n&&!this.options.wrap)return e;var o="prev"==t?-1:1,s=(i+o)%this.$items.length;return this.$items.eq(s)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},i.prototype.slide=function(e,n){var o=this.$element.find(".item.active"),s=n||this.getItemForDirection(e,o),a=this.interval,r="next"==e?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var c=s[0],u=t.Event("slide.bs.carousel",{relatedTarget:c,direction:r});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(s)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:c,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(e),s[0].offsetWidth,o.addClass(r),s.addClass(r),o.one("bsTransitionEnd",function(){s.removeClass([e,r].join(" ")).addClass("active"),o.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(i.TRANSITION_DURATION)):(o.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var n=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this};var o=function(i){var n,o=t(this),s=t(o.attr("data-target")||(n=o.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var a=t.extend({},s.data(),o.data()),r=o.attr("data-slide-to");r&&(a.interval=!1),e.call(s,a),r&&s.data("bs.carousel").to(r),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var i=t(this);e.call(i,i.data())})})}(jQuery),+function(t){"use strict";function e(e){var i,n=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(n)}function i(e){return this.each(function(){var i=t(this),o=i.data("bs.collapse"),s=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);!o&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),o||i.data("bs.collapse",o=new n(this,s)),"string"==typeof e&&o[e]()})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};n.VERSION="3.3.5",n.TRANSITION_DURATION=350,n.DEFAULTS={toggle:!0},n.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},n.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(e=o.data("bs.collapse"),e&&e.transitioning))){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){o&&o.length&&(i.call(o,"hide"),e||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(n.TRANSITION_DURATION)[a](this.$element[0][l])}}}},n.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(n.TRANSITION_DURATION):o.call(this)}}},n.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},n.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,n){var o=t(n);this.addAriaAndCollapsedClass(e(o),o)},this)).end()},n.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var o=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=n,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(n){var o=t(this);o.attr("data-target")||n.preventDefault();var s=e(o),a=s.data("bs.collapse"),r=a?"toggle":o.data();i.call(s,r)})}(jQuery),+function(t){"use strict";function e(e){var i=e.attr("data-target");i||(i=e.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}function i(i){i&&3===i.which||(t(o).remove(),t(s).each(function(){var n=t(this),o=e(n),s={relatedTarget:this};o.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(o[0],i.target)||(o.trigger(i=t.Event("hide.bs.dropdown",s)),i.isDefaultPrevented()||(n.attr("aria-expanded","false"),o.removeClass("open").trigger("hidden.bs.dropdown",s))))}))}function n(e){return this.each(function(){var i=t(this),n=i.data("bs.dropdown");n||i.data("bs.dropdown",n=new a(this)),"string"==typeof e&&n[e].call(i)})}var o=".dropdown-backdrop",s='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.5",a.prototype.toggle=function(n){var o=t(this);if(!o.is(".disabled, :disabled")){var s=e(o),a=s.hasClass("open");if(i(),!a){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",i);var r={relatedTarget:this};if(s.trigger(n=t.Event("show.bs.dropdown",r)),n.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),s.toggleClass("open").trigger("shown.bs.dropdown",r)}return!1}},a.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var n=t(this);if(i.preventDefault(),i.stopPropagation(),!n.is(".disabled, :disabled")){var o=e(n),a=o.hasClass("open");if(!a&&27!=i.which||a&&27==i.which)return 27==i.which&&o.find(s).trigger("focus"),n.trigger("click");var r=" li:not(.disabled):visible a",l=o.find(".dropdown-menu"+r);if(l.length){var c=l.index(i.target);38==i.which&&c>0&&c--,40==i.which&&c<l.length-1&&c++,~c||(c=0),l.eq(c).trigger("focus")}}}};var r=t.fn.dropdown;t.fn.dropdown=n,t.fn.dropdown.Constructor=a,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,a.prototype.toggle).on("keydown.bs.dropdown.data-api",s,a.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",a.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,n){return this.each(function(){var o=t(this),s=o.data("bs.modal"),a=t.extend({},i.DEFAULTS,o.data(),"object"==typeof e&&e);s||o.data("bs.modal",s=new i(this,a)),"string"==typeof e?s[e](n):a.show&&s.show(n)})}var i=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};i.VERSION="3.3.5",i.TRANSITION_DURATION=300,i.BACKDROP_TRANSITION_DURATION=150,i.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},i.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},i.prototype.show=function(e){var n=this,o=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),o&&n.$element[0].offsetWidth,n.$element.addClass("in"),n.enforceFocus();var s=t.Event("shown.bs.modal",{relatedTarget:e});o?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(s)}).emulateTransitionEnd(i.TRANSITION_DURATION):n.$element.trigger("focus").trigger(s)}))},i.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(i.TRANSITION_DURATION):this.hideModal())},i.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},i.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},i.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},i.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},i.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},i.prototype.backdrop=function(e){var n=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=t.support.transition&&o;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;s?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){n.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},i.prototype.handleUpdate=function(){this.adjustDialog()},i.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},i.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},i.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},i.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var n=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=i,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(i){var n=t(this),o=n.attr("href"),s=t(n.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},s.data(),n.data());n.is("a")&&i.preventDefault(),s.one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),e.call(s,a,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.tooltip"),s="object"==typeof e&&e;(o||!/destroy|hide/.test(e))&&(o||n.data("bs.tooltip",o=new i(this,s)),"string"==typeof e&&o[e]())})}var i=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),s=o.length;s--;){var a=o[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},i.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide())},i.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var o=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(r);c&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=s[0].offsetWidth,h=s[0].offsetHeight;if(c){var p=r,f=this.getPosition(this.$viewport);r="bottom"==r&&u.bottom+h>f.bottom?"top":"top"==r&&u.top-h<f.top?"bottom":"right"==r&&u.right+d>f.width?"left":"left"==r&&u.left-d<f.left?"right":r,s.removeClass(p).addClass(r)}var m=this.getCalculatedOffset(r,u,d,h);this.applyPlacement(m,r);var g=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",g).emulateTransitionEnd(i.TRANSITION_DURATION):g()}},i.prototype.applyPlacement=function(e,i){var n=this.tip(),o=n[0].offsetWidth,s=n[0].offsetHeight,a=parseInt(n.css("margin-top"),10),r=parseInt(n.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(r)&&(r=0),e.top+=a,e.left+=r,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,c=n[0].offsetHeight;"top"==i&&c!=s&&(e.top=e.top+s-c);var u=this.getViewportAdjustedDelta(i,e,l,c);u.left?e.left+=u.left:e.top+=u.top;var d=/top|bottom/.test(i),h=d?2*u.left-o+l:2*u.top-s+c,p=d?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(h,n[0][p],d)},i.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.php?"html":"text"](e),t.removeClass("fade in top bottom left right")},i.prototype.hide=function(e){function n(){"in"!=o.hoverState&&s.detach(),o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),e&&e()}var o=this,s=t(this.$tip),a=t.Event("hide.bs."+this.type);return this.$element.trigger(a),a.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n(),this.hoverState=null,this)},i.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(e){e=e||this.$element;var i=e[0],n="BODY"==i.tagName,o=i.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var s=n?{top:0,left:0}:e.offset(),a={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},r=n?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,a,r,s)},i.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},i.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-s-a.scroll,l=e.top+s-a.scroll+n;r<a.top?o.top=a.top-r:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var c=e.left-s,u=e.left+s+i;c<a.left?o.left=a.left-c:u>a.right&&(o.left=a.left+a.width-u)}return o},i.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currentTarget).data("bs."+this.type),i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var n=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=i,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.popover"),s="object"==typeof e&&e;(o||!/destroy|hide/.test(e))&&(o||n.data("bs.popover",o=new i(this,s)),"string"==typeof e&&o[e]())})}var i=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");i.VERSION="3.3.5",i.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),i.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),i.prototype.constructor=i,i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.php?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.php?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").php()||t.find(".popover-title").hide()},i.prototype.hasContent=function(){return this.getTitle()||this.getContent()},i.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=i,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),+function(t){"use strict";function e(i,n){this.$body=t(document.body),this.$scrollElement=t(t(i).is(document.body)?window:i),this.options=t.extend({},e.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var n=t(this),o=n.data("bs.scrollspy"),s="object"==typeof i&&i;o||n.data("bs.scrollspy",o=new e(this,s)),"string"==typeof i&&o[i]()})}e.VERSION="3.3.5",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),o=e.data("target")||e.attr("href"),s=/^#./.test(o)&&t(o);return s&&s.length&&s.is(":visible")&&[[s[i]().top+n,o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),o=this.offsets,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=n)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)a!=s[t]&&e>=o[t]&&(void 0===o[t+1]||e<o[t+1])&&this.activate(s[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=t(i).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var n=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.tab");o||n.data("bs.tab",o=new i(this)),"string"==typeof e&&o[e]()})}var i=function(e){this.element=t(e)};i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=e.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=i.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(s),e.trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){var r=t(n);this.activate(e.closest("li"),i),this.activate(r,r.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},i.prototype.activate=function(e,n,o){function s(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var a=n.find("> .active"),r=o&&t.support.transition&&(a.length&&a.hasClass("fade")||!!n.find("> .fade").length);a.length&&r?a.one("bsTransitionEnd",s).emulateTransitionEnd(i.TRANSITION_DURATION):s(),a.removeClass("in");

};var n=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var o=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.affix"),s="object"==typeof e&&e;o||n.data("bs.affix",o=new i(this,s)),"string"==typeof e&&o[e]()})}var i=function(e,n){this.options=t.extend({},i.DEFAULTS,n),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};i.VERSION="3.3.5",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,n){var o=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return i>o?"top":!1;if("bottom"==this.affixed)return null!=i?o+this.unpin<=s.top?!1:"bottom":t-n>=o+a?!1:"bottom";var r=null==this.affixed,l=r?o:s.top,c=r?a:e;return null!=i&&i>=o?"top":null!=n&&l+c>=t-n?"bottom":!1},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),n=this.options.offset,o=n.top,s=n.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof n&&(s=o=n),"function"==typeof o&&(o=n.top(this.$element)),"function"==typeof s&&(s=n.bottom(this.$element));var r=this.getState(a,e,o,s);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:a-e-s})}};var n=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var i=t(this),n=i.data();n.offset=n.offset||{},null!=n.offsetBottom&&(n.offset.bottom=n.offsetBottom),null!=n.offsetTop&&(n.offset.top=n.offsetTop),e.call(i,n)})})}(jQuery),function(t,e,i){"use strict";var n,o=t.document,s=o.documentElement,a=t.Modernizr,r=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},l="Moz Webkit O Ms".split(" "),c=function(t){var e,i=s.style;if("string"==typeof i[t])return t;t=r(t);for(var n=0,o=l.length;o>n;n++)if(e=l[n]+t,"string"==typeof i[e])return e},u=c("transform"),d=c("transitionProperty"),h={csstransforms:function(){return!!u},csstransforms3d:function(){var t=!!c("perspective");if(t&&"webkitPerspective"in s.style){var i=e("<style>@media (transform-3d),(-webkit-transform-3d){#modernizr{height:3px}}</style>").appendTo("head"),n=e('<div id="modernizr" />').appendTo("html");t=3===n.height(),n.remove(),i.remove()}return t},csstransitions:function(){return!!d}};if(a)for(n in h)a.hasOwnProperty(n)||a.addTest(n,h[n]);else{a=t.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var p,f=" ";for(n in h)p=h[n](),a[n]=p,f+=" "+(p?"":"no-")+n;e("html").addClass(f)}if(a.csstransforms){var m=a.csstransforms3d?{translate:function(t){return"translate3d("+t[0]+"px, "+t[1]+"px, 0) "},scale:function(t){return"scale3d("+t+", "+t+", 1) "}}:{translate:function(t){return"translate("+t[0]+"px, "+t[1]+"px) "},scale:function(t){return"scale("+t+") "}},g=function(t,i,n){var o,s,a=e.data(t,"isoTransform")||{},r={},l={};r[i]=n,e.extend(a,r);for(o in a)s=a[o],l[o]=m[o](s);var c=l.translate||"",d=l.scale||"",h=c+d;e.data(t,"isoTransform",a),t.style[u]=h};e.cssNumber.scale=!0,e.cssHooks.scale={set:function(t,e){g(t,"scale",e)},get:function(t,i){var n=e.data(t,"isoTransform");return n&&n.scale?n.scale:1}},e.fx.step.scale=function(t){e.cssHooks.scale.set(t.elem,t.now+t.unit)},e.cssNumber.translate=!0,e.cssHooks.translate={set:function(t,e){g(t,"translate",e)},get:function(t,i){var n=e.data(t,"isoTransform");return n&&n.translate?n.translate:[0,0]}}}var v,y;a.csstransitions&&(v={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd otransitionend",transitionProperty:"transitionend"}[d],y=c("transitionDuration"));var b,w=e.event,x=e.event.handle?"handle":"dispatch";w.special.smartresize={setup:function(){e(this).bind("resize",w.special.smartresize.handler)},teardown:function(){e(this).unbind("resize",w.special.smartresize.handler)},handler:function(t,e){var i=this,n=arguments;t.type="smartresize",b&&clearTimeout(b),b=setTimeout(function(){w[x].apply(i,n)},"execAsap"===e?0:100)}},e.fn.smartresize=function(t){return t?this.bind("smartresize",t):this.trigger("smartresize",["execAsap"])},e.Isotope=function(t,i,n){this.element=e(i),this._create(t),this._init(n)};var C=["width","height"],S=e(t);e.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},containerStyle:{position:"relative",overflow:"hidden"},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!0,itemPositionDataEnabled:!1},e.Isotope.prototype={_create:function(t){this.options=e.extend({},e.Isotope.settings,t),this.styleQueue=[],this.elemCount=0;var i=this.element[0].style;this.originalStyle={};var n=C.slice(0);for(var o in this.options.containerStyle)n.push(o);for(var s=0,a=n.length;a>s;s++)o=n[s],this.originalStyle[o]=i[o]||"";this.element.css(this.options.containerStyle),this._updateAnimationEngine(),this._updateUsingTransforms();var r={"original-order":function(t,e){return e.elemCount++,e.elemCount},random:function(){return Math.random()}};this.options.getSortData=e.extend(this.options.getSortData,r),this.reloadItems(),this.offset={left:parseInt(this.element.css("padding-left")||0,10),top:parseInt(this.element.css("padding-top")||0,10)};var l=this;setTimeout(function(){l.element.addClass(l.options.containerClass)},0),this.options.resizable&&S.bind("smartresize.isotope",function(){l.resize()}),this.element.delegate("."+this.options.hiddenClass,"click",function(){return!1})},_getAtoms:function(t){var e=this.options.itemSelector,i=e?t.filter(e).add(t.find(e)):t,n={position:"absolute"};return i=i.filter(function(t,e){return 1===e.nodeType}),this.usingTransforms&&(n.left=0,n.top=0),i.css(n).addClass(this.options.itemClass),this.updateSortData(i,!0),i},_init:function(t){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(t)},option:function(t){if(e.isPlainObject(t)){this.options=e.extend(!0,this.options,t);var i;for(var n in t)i="_update"+r(n),this[i]&&this[i]()}},_updateAnimationEngine:function(){var t,e=this.options.animationEngine.toLowerCase().replace(/[ _\-]/g,"");switch(e){case"css":case"none":t=!1;break;case"jquery":t=!0;break;default:t=!a.csstransitions}this.isUsingJQueryAnimation=t,this._updateUsingTransforms()},_updateTransformsEnabled:function(){this._updateUsingTransforms()},_updateUsingTransforms:function(){var t=this.usingTransforms=this.options.transformsEnabled&&a.csstransforms&&a.csstransitions&&!this.isUsingJQueryAnimation;t||(delete this.options.hiddenStyle.scale,delete this.options.visibleStyle.scale),this.getPositionStyles=t?this._translate:this._positionAbs},_filter:function(t){var e=""===this.options.filter?"*":this.options.filter;if(!e)return t;var i=this.options.hiddenClass,n="."+i,o=t.filter(n),s=o;if("*"!==e){s=o.filter(e);var a=t.not(n).not(e).addClass(i);this.styleQueue.push({$el:a,style:this.options.hiddenStyle})}return this.styleQueue.push({$el:s,style:this.options.visibleStyle}),s.removeClass(i),t.filter(e)},updateSortData:function(t,i){var n,o,s=this,a=this.options.getSortData;t.each(function(){n=e(this),o={};for(var t in a)o[t]=i||"original-order"!==t?a[t](n,s):e.data(this,"isotope-sort-data")[t];e.data(this,"isotope-sort-data",o)})},_sort:function(){var t=this.options.sortBy,e=this._getSorter,i=this.options.sortAscending?1:-1,n=function(n,o){var s=e(n,t),a=e(o,t);return s===a&&"original-order"!==t&&(s=e(n,"original-order"),a=e(o,"original-order")),(s>a?1:a>s?-1:0)*i};this.$filteredAtoms.sort(n)},_getSorter:function(t,i){return e.data(t,"isotope-sort-data")[i]},_translate:function(t,e){return{translate:[t,e]}},_positionAbs:function(t,e){return{left:t,top:e}},_pushPosition:function(t,e,i){e=Math.round(e+this.offset.left),i=Math.round(i+this.offset.top);var n=this.getPositionStyles(e,i);this.styleQueue.push({$el:t,style:n}),this.options.itemPositionDataEnabled&&t.data("isotope-item-position",{x:e,y:i})},layout:function(t,e){var i=this.options.layoutMode;if(this["_"+i+"Layout"](t),this.options.resizesContainer){var n=this["_"+i+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:n})}this._processStyleQueue(t,e),this.isLaidOut=!0},_processStyleQueue:function(t,i){var n,o,s,r,l=this.isLaidOut&&this.isUsingJQueryAnimation?"animate":"css",c=this.options.animationOptions,u=this.options.onLayout;if(o=function(t,e){e.$el[l](e.style,c)},this._isInserting&&this.isUsingJQueryAnimation)o=function(t,e){n=e.$el.hasClass("no-transition")?"css":l,e.$el[n](e.style,c)};else if(i||u||c.complete){var d=!1,h=[i,u,c.complete],p=this;if(s=!0,r=function(){if(!d){for(var e,i=0,n=h.length;n>i;i++)e=h[i],"function"==typeof e&&e.call(p.element,t,p);d=!0}},this.isUsingJQueryAnimation&&"animate"===l)c.complete=r,s=!1;else if(a.csstransitions){for(var f,m=0,g=this.styleQueue[0],b=g&&g.$el;!b||!b.length;){if(f=this.styleQueue[m++],!f)return;b=f.$el}var w=parseFloat(getComputedStyle(b[0])[y]);w>0&&(o=function(t,e){e.$el[l](e.style,c).one(v,r)},s=!1)}}e.each(this.styleQueue,o),s&&r(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(t){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,t)},addItems:function(t,e){var i=this._getAtoms(t);this.$allAtoms=this.$allAtoms.add(i),e&&e(i)},insert:function(t,e){this.element.append(t);var i=this;this.addItems(t,function(t){var n=i._filter(t);i._addHideAppended(n),i._sort(),i.reLayout(),i._revealAppended(n,e)})},appended:function(t,e){var i=this;this.addItems(t,function(t){i._addHideAppended(t),i.layout(t),i._revealAppended(t,e)})},_addHideAppended:function(t){this.$filteredAtoms=this.$filteredAtoms.add(t),t.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:t,style:this.options.hiddenStyle})},_revealAppended:function(t,e){var i=this;setTimeout(function(){t.removeClass("no-transition"),i.styleQueue.push({$el:t,style:i.options.visibleStyle}),i._isInserting=!1,i._processStyleQueue(t,e)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(t,e){this.$allAtoms=this.$allAtoms.not(t),this.$filteredAtoms=this.$filteredAtoms.not(t);var i=this,n=function(){t.remove(),e&&e.call(i.element)};t.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:t,style:this.options.hiddenStyle}),this._sort(),this.reLayout(n)):n()},shuffle:function(t){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(t)},destroy:function(){var t=this.usingTransforms,e=this.options;this.$allAtoms.removeClass(e.hiddenClass+" "+e.itemClass).each(function(){var e=this.style;e.position="",e.top="",e.left="",e.opacity="",t&&(e[u]="")});var i=this.element[0].style;for(var n in this.originalStyle)i[n]=this.originalStyle[n];this.element.unbind(".isotope").undelegate("."+e.hiddenClass,"click").removeClass(e.containerClass).removeData("isotope"),S.unbind(".isotope")},_getSegments:function(t){var e,i=this.options.layoutMode,n=t?"rowHeight":"columnWidth",o=t?"height":"width",s=t?"rows":"cols",a=this.element[o](),l=this.options[i]&&this.options[i][n]||this.$filteredAtoms["outer"+r(o)](!0)||a;e=Math.floor(a/l),e=Math.max(e,1),this[i][s]=e,this[i][n]=l},_checkIfSegmentsChanged:function(t){var e=this.options.layoutMode,i=t?"rows":"cols",n=this[e][i];return this._getSegments(t),this[e][i]!==n},_masonryReset:function(){this.masonry={},this._getSegments();var t=this.masonry.cols;for(this.masonry.colYs=[];t--;)this.masonry.colYs.push(0)},_masonryLayout:function(t){var i=this,n=i.masonry;t.each(function(){var t=e(this),o=Math.ceil(t.outerWidth(!0)/n.columnWidth);if(o=Math.min(o,n.cols),1===o)i._masonryPlaceBrick(t,n.colYs);else{var s,a,r=n.cols+1-o,l=[];for(a=0;r>a;a++)s=n.colYs.slice(a,a+o),l[a]=Math.max.apply(Math,s);i._masonryPlaceBrick(t,l)}})},_masonryPlaceBrick:function(t,e){for(var i=Math.min.apply(Math,e),n=0,o=0,s=e.length;s>o;o++)if(e[o]===i){n=o;break}var a=this.masonry.columnWidth*n,r=i;this._pushPosition(t,a,r);var l=i+t.outerHeight(!0),c=this.masonry.cols+1-s;for(o=0;c>o;o++)this.masonry.colYs[n+o]=l},_masonryGetContainerSize:function(){var t=Math.max.apply(Math,this.masonry.colYs);return{height:t}},_masonryResizeChanged:function(){return this._checkIfSegmentsChanged()},_fitRowsReset:function(){this.fitRows={x:0,y:0,height:0}},_fitRowsLayout:function(t){var i=this,n=this.element.width(),o=this.fitRows;t.each(function(){var t=e(this),s=t.outerWidth(!0),a=t.outerHeight(!0);0!==o.x&&s+o.x>n&&(o.x=0,o.y=o.height),i._pushPosition(t,o.x,o.y),o.height=Math.max(o.y+a,o.height),o.x+=s})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(t){var i=this,n=this.cellsByRow;t.each(function(){var t=e(this),o=n.index%n.cols,s=Math.floor(n.index/n.cols),a=(o+.5)*n.columnWidth-t.outerWidth(!0)/2,r=(s+.5)*n.rowHeight-t.outerHeight(!0)/2;i._pushPosition(t,a,r),n.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(t){var i=this;t.each(function(t){var n=e(this);i._pushPosition(n,0,i.straightDown.y),i.straightDown.y+=n.outerHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var t=this.masonryHorizontal.rows;for(this.masonryHorizontal.rowXs=[];t--;)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(t){var i=this,n=i.masonryHorizontal;t.each(function(){var t=e(this),o=Math.ceil(t.outerHeight(!0)/n.rowHeight);if(o=Math.min(o,n.rows),1===o)i._masonryHorizontalPlaceBrick(t,n.rowXs);else{var s,a,r=n.rows+1-o,l=[];for(a=0;r>a;a++)s=n.rowXs.slice(a,a+o),l[a]=Math.max.apply(Math,s);i._masonryHorizontalPlaceBrick(t,l)}})},_masonryHorizontalPlaceBrick:function(t,e){for(var i=Math.min.apply(Math,e),n=0,o=0,s=e.length;s>o;o++)if(e[o]===i){n=o;break}var a=i,r=this.masonryHorizontal.rowHeight*n;this._pushPosition(t,a,r);var l=i+t.outerWidth(!0),c=this.masonryHorizontal.rows+1-s;for(o=0;c>o;o++)this.masonryHorizontal.rowXs[n+o]=l},_masonryHorizontalGetContainerSize:function(){var t=Math.max.apply(Math,this.masonryHorizontal.rowXs);return{width:t}},_masonryHorizontalResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_fitColumnsReset:function(){this.fitColumns={x:0,y:0,width:0}},_fitColumnsLayout:function(t){var i=this,n=this.element.height(),o=this.fitColumns;t.each(function(){var t=e(this),s=t.outerWidth(!0),a=t.outerHeight(!0);0!==o.y&&a+o.y>n&&(o.x=o.width,o.y=0),i._pushPosition(t,o.x,o.y),o.width=Math.max(o.x+s,o.width),o.y+=a})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(t){var i=this,n=this.cellsByColumn;t.each(function(){var t=e(this),o=Math.floor(n.index/n.rows),s=n.index%n.rows,a=(o+.5)*n.columnWidth-t.outerWidth(!0)/2,r=(s+.5)*n.rowHeight-t.outerHeight(!0)/2;i._pushPosition(t,a,r),n.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(t){var i=this;t.each(function(t){var n=e(this);i._pushPosition(n,i.straightAcross.x,0),i.straightAcross.x+=n.outerWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},e.fn.imagesLoaded=function(t){function i(){t.call(o,s)}function n(t){var o=t.target;o.src!==r&&-1===e.inArray(o,l)&&(l.push(o),--a<=0&&(setTimeout(i),s.unbind(".imagesLoaded",n)))}var o=this,s=o.find("img").add(o.filter("img")),a=s.length,r="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",l=[];return a||i(),s.bind("load.imagesLoaded error.imagesLoaded",n).each(function(){var t=this.src;this.src=r,this.src=t}),o};var T=function(e){t.console&&t.console.error(e)};e.fn.isotope=function(t,i){if("string"==typeof t){var n=Array.prototype.slice.call(arguments,1);this.each(function(){var i=e.data(this,"isotope");return i?e.isFunction(i[t])&&"_"!==t.charAt(0)?void i[t].apply(i,n):void T("no such method '"+t+"' for isotope instance"):void T("cannot call methods on isotope prior to initialization; attempted to call method '"+t+"'")})}else this.each(function(){var n=e.data(this,"isotope");n?(n.option(t),n._init(i)):e.data(this,"isotope",new e.Isotope(t,this,i))});return this}}(window,jQuery),function(t){var e,i,n,o,s,a,r,l="Close",c="BeforeClose",u="AfterClose",d="BeforeAppend",h="MarkupParse",p="Open",f="Change",m="mfp",g="."+m,v="mfp-ready",y="mfp-removing",b="mfp-prevent-close",w=function(){},x=!!window.jQuery,C=t(window),S=function(t,i){e.ev.on(m+t+g,i)},T=function(e,i,n,o){var s=document.createElement("div");return s.className="mfp-"+e,n&&(s.innerHTML=n),o?i&&i.appendChild(s):(s=t(s),i&&s.appendTo(i)),s},A=function(i,n){e.ev.triggerHandler(m+i,n),e.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),e.st.callbacks[i]&&e.st.callbacks[i].apply(e,t.isArray(n)?n:[n]))},k=function(i){return i===r&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),r=i),e.currTemplate.closeBtn},E=function(){t.magnificPopup.instance||(e=new w,e.init(),t.magnificPopup.instance=e)},P=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1};w.prototype={constructor:w,init:function(){var i=navigator.appVersion;e.isIE7=-1!==i.indexOf("MSIE 7."),e.isIE8=-1!==i.indexOf("MSIE 8."),e.isLowIE=e.isIE7||e.isIE8,e.isAndroid=/android/gi.test(i),e.isIOS=/iphone|ipad|ipod/gi.test(i),e.supportsTransition=P(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=t(document.body),o=t(document),e.popupsCache={}},open:function(i){var n;if(i.isObj===!1){e.items=i.items.toArray(),e.index=0;var s,r=i.items;for(n=0;n<r.length;n++)if(s=r[n],s.parsed&&(s=s.el[0]),s===i.el[0]){e.index=n;break}}else e.items=t.isArray(i.items)?i.items:[i.items],e.index=i.index||0;if(e.isOpen)return void e.updateItemHTML();e.types=[],a="",e.ev=i.mainEl&&i.mainEl.length?i.mainEl.eq(0):o,i.key?(e.popupsCache[i.key]||(e.popupsCache[i.key]={}),e.currTemplate=e.popupsCache[i.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,i),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=T("bg").on("click"+g,function(){e.close()}),e.wrap=T("wrap").attr("tabindex",-1).on("click"+g,function(t){e._checkIfClose(t.target)&&e.close()}),e.container=T("container",e.wrap)),e.contentContainer=T("content"),e.st.preloader&&(e.preloader=T("preloader",e.container,e.st.tLoading));var l=t.magnificPopup.modules;for(n=0;n<l.length;n++){var c=l[n];c=c.charAt(0).toUpperCase()+c.slice(1),e["init"+c].call(e)}A("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(S(h,function(t,e,i,n){i.close_replaceWith=k(n.type)}),a+=" mfp-close-btn-in"):e.wrap.append(k())),e.st.alignTop&&(a+=" mfp-align-top"),e.wrap.css(e.fixedContentPos?{overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}:{top:C.scrollTop(),position:"absolute"}),(e.st.fixedBgPos===!1||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:o.height(),position:"absolute"}),e.st.enableEscapeKey&&o.on("keyup"+g,function(t){27===t.keyCode&&e.close()}),C.on("resize"+g,function(){e.updateSize()}),e.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&e.wrap.addClass(a);var u=e.wH=C.height(),d={};if(e.fixedContentPos&&e._hasScrollBar(u)){var f=e._getScrollbarSize();f&&(d.marginRight=f)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):d.overflow="hidden");var m=e.st.mainClass;return e.isIE7&&(m+=" mfp-ie7"),m&&e._addClassToMFP(m),e.updateItemHTML(),A("BuildControls"),t("html").css(d),e.bgOverlay.add(e.wrap).prependTo(document.body),e._lastFocusedEl=document.activeElement,setTimeout(function(){e.content?(e._addClassToMFP(v),e._setFocus()):e.bgOverlay.addClass(v),o.on("focusin"+g,e._onFocusIn)},16),e.isOpen=!0,e.updateSize(u),A(p),i},close:function(){e.isOpen&&(A(c),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(y),setTimeout(function(){e._close()},e.st.removalDelay)):e._close())},_close:function(){A(l);var i=y+" "+v+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(i+=e.st.mainClass+" "),e._removeClassFromMFP(i),e.fixedContentPos){var n={marginRight:""};e.isIE7?t("body, html").css("overflow",""):n.overflow="",t("html").css(n)}o.off("keyup"+g+" focusin"+g),e.ev.off(g),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&e.currTemplate[e.currItem.type]!==!0||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,A(u)},updateSize:function(t){if(e.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;e.wrap.css("height",n),e.wH=n}else e.wH=t||C.height();e.fixedContentPos||e.wrap.css("height",e.wH),A("Resize")},updateItemHTML:function(){var i=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),i.parsed||(i=e.parseEl(e.index));var n=i.type;if(A("BeforeChange",[e.currItem?e.currItem.type:"",n]),e.currItem=i,!e.currTemplate[n]){var o=e.st[n]?e.st[n].markup:!1;A("FirstMarkupParse",o),e.currTemplate[n]=o?t(o):!0}s&&s!==i.type&&e.container.removeClass("mfp-"+s+"-holder");var a=e["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,e.currTemplate[n]);e.appendContent(a,n),i.preloaded=!0,A(f,i),s=i.type,e.container.prepend(e.contentContainer),A("AfterChange")},appendContent:function(t,i){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&e.currTemplate[i]===!0?e.content.find(".mfp-close").length||e.content.append(k()):e.content=t:e.content="",A(d),e.container.addClass("mfp-"+i+"-holder"),e.contentContainer.append(e.content)},parseEl:function(i){var n=e.items[i],o=n.type;if(n=n.tagName?{el:t(n)}:{data:n,src:n.src},n.el){for(var s=e.types,a=0;a<s.length;a++)if(n.el.hasClass("mfp-"+s[a])){o=s[a];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=o||e.st.type||"inline",n.index=i,n.parsed=!0,e.items[i]=n,A("ElementParse",n),e.items[i]},addGroup:function(t,i){var n=function(n){n.mfpEl=this,e._openClick(n,t,i)};i||(i={});var o="click.magnificPopup";i.mainEl=t,i.items?(i.isObj=!0,t.off(o).on(o,n)):(i.isObj=!1,i.delegate?t.off(o).on(o,i.delegate,n):(i.items=t,t.off(o).on(o,n)))},_openClick:function(i,n,o){var s=void 0!==o.midClick?o.midClick:t.magnificPopup.defaults.midClick;if(s||2!==i.which&&!i.ctrlKey&&!i.metaKey){var a=void 0!==o.disableOn?o.disableOn:t.magnificPopup.defaults.disableOn;if(a)if(t.isFunction(a)){if(!a.call(e))return!0}else if(C.width()<a)return!0;i.type&&(i.preventDefault(),e.isOpen&&i.stopPropagation()),o.el=t(i.mfpEl),o.delegate&&(o.items=n.find(o.delegate)),e.open(o)}},updateStatus:function(t,n){if(e.preloader){i!==t&&e.container.removeClass("mfp-s-"+i),n||"loading"!==t||(n=e.st.tLoading);var o={status:t,text:n};A("UpdateStatus",o),t=o.status,n=o.text,e.preloader.php(n),e.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),e.container.addClass("mfp-s-"+t),i=t}},_checkIfClose:function(i){if(!t(i).hasClass(b)){var n=e.st.closeOnContentClick,o=e.st.closeOnBgClick;if(n&&o)return!0;if(!e.content||t(i).hasClass("mfp-close")||e.preloader&&i===e.preloader[0])return!0;if(i===e.content[0]||t.contains(e.content[0],i)){if(n)return!0}else if(o&&t.contains(document,i))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?o.height():document.body.scrollHeight)>(t||C.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(i){return i.target===e.wrap[0]||t.contains(e.wrap[0],i.target)?void 0:(e._setFocus(),!1)},_parseMarkup:function(e,i,n){var o;n.data&&(i=t.extend(n.data,i)),A(h,[e,i,n]),t.each(i,function(t,i){if(void 0===i||i===!1)return!0;if(o=t.split("_"),o.length>1){var n=e.find(g+"-"+o[0]);if(n.length>0){var s=o[1];"replaceWith"===s?n[0]!==i[0]&&n.replaceWith(i):"img"===s?n.is("img")?n.attr("src",i):n.replaceWith('<img src="'+i+'" class="'+n.attr("class")+'" />'):n.attr(o[1],i)}}else e.find(g+"-"+t).php(i)})},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.id="mfp-sbm",t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(e,i){return E(),e=e?t.extend(!0,{},e):{},e.isObj=!0,e.index=i||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,i){i.options&&(t.magnificPopup.defaults[e]=i.options),t.extend(this.proto,i.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},t.fn.magnificPopup=function(i){E();var n=t(this);if("string"==typeof i)if("open"===i){var o,s=x?n.data("magnificPopup"):n[0].magnificPopup,a=parseInt(arguments[1],10)||0;s.items?o=s.items[a]:(o=n,s.delegate&&(o=o.find(s.delegate)),o=o.eq(a)),e._openClick({mfpEl:o},n,s)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),x?n.data("magnificPopup",i):n[0].magnificPopup=i,e.addGroup(n,i);return n};var j,M,L,F="inline",I=function(){L&&(M.after(L.addClass(j)).detach(),L=null)};t.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(F),S(l+"."+F,function(){I()})},getInline:function(i,n){if(I(),i.src){var o=e.st.inline,s=t(i.src);if(s.length){var a=s[0].parentNode;a&&a.tagName&&(M||(j=o.hiddenClass,M=T(j),j="mfp-"+j),L=s.after(M).detach().removeClass(j)),e.updateStatus("ready")}else e.updateStatus("error",o.tNotFound),s=t("<div>");return i.inlineElement=s,s}return e.updateStatus("ready"),e._parseMarkup(n,{},i),n}}});var N,D="ajax",B=function(){N&&n.removeClass(N)},R=function(){B(),e.req&&e.req.abort()};t.magnificPopup.registerModule(D,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(D),N=e.st.ajax.cursor,S(l+"."+D,R),S("BeforeChange."+D,R)},getAjax:function(i){N&&n.addClass(N),e.updateStatus("loading");var o=t.extend({url:i.src,success:function(n,o,s){var a={data:n,xhr:s};A("ParseAjax",a),e.appendContent(t(a.data),D),i.finished=!0,B(),e._setFocus(),setTimeout(function(){e.wrap.addClass(v)},16),e.updateStatus("ready"),A("AjaxContentAdded")},error:function(){B(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(o),""}}});var O,z=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=e.st.image.titleSrc;if(n){if(t.isFunction(n))return n.call(e,i);if(i.el)return i.el.attr(n)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=e.st.image,i=".image";e.types.push("image"),S(p+i,function(){"image"===e.currItem.type&&t.cursor&&n.addClass(t.cursor)}),S(l+i,function(){t.cursor&&n.removeClass(t.cursor),C.off("resize"+g)}),S("Resize"+i,e.resizeImage),e.isLowIE&&S("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,O&&clearInterval(O),t.isCheckingImgSize=!1,A("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,n=t.img[0],o=function(s){O&&clearInterval(O),O=setInterval(function(){return n.naturalWidth>0?void e._onImageHasSize(t):(i>200&&clearInterval(O),i++,void(3===i?o(10):40===i?o(50):100===i&&o(500)))},s)};o(1)},getImage:function(i,n){var o=0,s=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,A("ImageLoadComplete")):(o++,200>o?setTimeout(s,100):a()))},a=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",r.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},r=e.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.img=t(c).on("load.mfploader",s).on("error.mfploader",a),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),i.img[0].naturalWidth>0&&(i.hasSize=!0)}return e._parseMarkup(n,{title:z(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?(O&&clearInterval(O),i.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",r.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),
e.updateStatus("ready")),n):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(i)),n)}}});var W,H=function(){return void 0===W&&(W=void 0!==document.createElement("p").style.MozTransform),W};t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,n=".zoom";if(i.enabled&&e.supportsTransition){var o,s,a=i.duration,r=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return o["-webkit-"+s]=o["-moz-"+s]=o["-o-"+s]=o[s]=n,e.css(o),e},u=function(){e.content.css("visibility","visible")};S("BuildControls"+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.content.css("visibility","hidden"),t=e._getItemToZoom(),!t)return void u();s=r(t),s.css(e._getOffset()),e.wrap.append(s),o=setTimeout(function(){s.css(e._getOffset(!0)),o=setTimeout(function(){u(),setTimeout(function(){s.remove(),t=s=null,A("ZoomAnimationEnded")},16)},a)},16)}}),S(c+n,function(){if(e._allowZoom()){if(clearTimeout(o),e.st.removalDelay=a,!t){if(t=e._getItemToZoom(),!t)return;s=r(t)}s.css(e._getOffset(!0)),e.wrap.append(s),e.content.css("visibility","hidden"),setTimeout(function(){s.css(e._getOffset())},16)}}),S(l+n,function(){e._allowZoom()&&(u(),s&&s.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return e.currItem.hasSize?e.currItem.img:!1},_getOffset:function(i){var n;n=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem);var o=n.offset(),s=parseInt(n.css("padding-top"),10),a=parseInt(n.css("padding-bottom"),10);o.top-=t(window).scrollTop()-s;var r={width:n.width(),height:(x?n.innerHeight():n[0].offsetHeight)-a-s};return H()?r["-moz-transform"]=r.transform="translate("+o.left+"px,"+o.top+"px)":(r.left=o.left,r.top=o.top),r}}});var _="iframe",q="//about:blank",$=function(t){if(e.currTemplate[_]){var i=e.currTemplate[_].find("iframe");i.length&&(t||(i[0].src=q),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(_,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(_),S("BeforeChange",function(t,e,i){e!==i&&(e===_?$():i===_&&$(!0))}),S(l+"."+_,function(){$()})},getIframe:function(i,n){var o=i.src,s=e.st.iframe;t.each(s.patterns,function(){return o.indexOf(this.index)>-1?(this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1):void 0});var a={};return s.srcAction&&(a[s.srcAction]=o),e._parseMarkup(n,a,i),e.updateStatus("ready"),n}}});var V=function(t){var i=e.items.length;return t>i-1?t-i:0>t?i+t:t},U=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,n=".mfp-gallery",s=Boolean(t.fn.mfpFastClick);return e.direction=!0,i&&i.enabled?(a+=" mfp-gallery",S(p+n,function(){i.navigateByImgClick&&e.wrap.on("click"+n,".mfp-img",function(){return e.items.length>1?(e.next(),!1):void 0}),o.on("keydown"+n,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),S("UpdateStatus"+n,function(t,i){i.text&&(i.text=U(i.text,e.currItem.index,e.items.length))}),S(h+n,function(t,n,o,s){var a=e.items.length;o.counter=a>1?U(i.tCounter,s.index,a):""}),S("BuildControls"+n,function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var n=i.arrowMarkup,o=e.arrowLeft=t(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(b),a=e.arrowRight=t(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(b),r=s?"mfpFastClick":"click";o[r](function(){e.prev()}),a[r](function(){e.next()}),e.isIE7&&(T("b",o[0],!1,!0),T("a",o[0],!1,!0),T("b",a[0],!1,!0),T("a",a[0],!1,!0)),e.container.append(o.add(a))}}),S(f+n,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),void S(l+n,function(){o.off(n),e.wrap.off("click"+n),e.arrowLeft&&s&&e.arrowLeft.add(e.arrowRight).destroyMfpFastClick(),e.arrowRight=e.arrowLeft=null})):!1},next:function(){e.direction=!0,e.index=V(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=V(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,n=Math.min(i[0],e.items.length),o=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?o:n);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?n:o);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=V(i),!e.items[i].preloaded){var n=e.items[i];n.parsed||(n=e.parseEl(i)),A("LazyLoad",n),"image"===n.type&&(n.img=t('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,A("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});var Q="retina";t.magnificPopup.registerModule(Q,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;i=isNaN(i)?i():i,i>1&&(S("ImageHasSize."+Q,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}),S("ElementParse."+Q,function(e,n){n.src=t.replaceSrc(n,i)}))}}}}),function(){var e=1e3,i="ontouchstart"in window,n=function(){C.off("touchmove"+s+" touchend"+s)},o="mfpFastClick",s="."+o;t.fn.mfpFastClick=function(o){return t(this).each(function(){var a,r=t(this);if(i){var l,c,u,d,h,p;r.on("touchstart"+s,function(t){d=!1,p=1,h=t.originalEvent?t.originalEvent.touches[0]:t.touches[0],c=h.clientX,u=h.clientY,C.on("touchmove"+s,function(t){h=t.originalEvent?t.originalEvent.touches:t.touches,p=h.length,h=h[0],(Math.abs(h.clientX-c)>10||Math.abs(h.clientY-u)>10)&&(d=!0,n())}).on("touchend"+s,function(t){n(),d||p>1||(a=!0,t.preventDefault(),clearTimeout(l),l=setTimeout(function(){a=!1},e),o())})})}r.on("click"+s,function(){a||o()})})},t.fn.destroyMfpFastClick=function(){t(this).off("touchstart"+s+" click"+s),i&&C.off("touchmove"+s+" touchend"+s)}}(),E()}(window.jQuery||window.Zepto),function(t,e){"object"==typeof exports?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery)}(this,function(t){var e=function(t,e){var i,n=document.createElement("canvas");t.appendChild(n),"undefined"!=typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(n);var o=n.getContext("2d");n.width=n.height=e.size;var s=1;window.devicePixelRatio>1&&(s=window.devicePixelRatio,n.style.width=n.style.height=[e.size,"px"].join(""),n.width=n.height=e.size*s,o.scale(s,s)),o.translate(e.size/2,e.size/2),o.rotate((-0.5+e.rotate/180)*Math.PI);var a=(e.size-e.lineWidth)/2;e.scaleColor&&e.scaleLength&&(a-=e.scaleLength+2),Date.now=Date.now||function(){return+new Date};var r=function(t,e,i){i=Math.min(Math.max(-1,i||0),1);var n=0>=i?!0:!1;o.beginPath(),o.arc(0,0,a,0,2*Math.PI*i,n),o.strokeStyle=t,o.lineWidth=e,o.stroke()},l=function(){var t,i;o.lineWidth=1,o.fillStyle=e.scaleColor,o.save();for(var n=24;n>0;--n)n%6===0?(i=e.scaleLength,t=0):(i=.6*e.scaleLength,t=e.scaleLength-i),o.fillRect(-e.size/2+t,0,i,1),o.rotate(Math.PI/12);o.restore()},c=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}(),u=function(){e.scaleColor&&l(),e.trackColor&&r(e.trackColor,e.trackWidth||e.lineWidth,1)};this.getCanvas=function(){return n},this.getCtx=function(){return o},this.clear=function(){o.clearRect(e.size/-2,e.size/-2,e.size,e.size)},this.draw=function(t){e.scaleColor||e.trackColor?o.getImageData&&o.putImageData?i?o.putImageData(i,0,0):(u(),i=o.getImageData(0,0,e.size*s,e.size*s)):(this.clear(),u()):this.clear(),o.lineCap=e.lineCap;var n;n="function"==typeof e.barColor?e.barColor(t):e.barColor,r(n,e.lineWidth,t/100)}.bind(this),this.animate=function(t,i){var n=Date.now();e.onStart(t,i);var o=function(){var s=Math.min(Date.now()-n,e.animate.duration),a=e.easing(this,s,t,i-t,e.animate.duration);this.draw(a),e.onStep(t,i,a),s>=e.animate.duration?e.onStop(t,i):c(o)}.bind(this);c(o)}.bind(this)},i=function(t,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(t,e,i,n,o){return e/=o/2,1>e?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},onStart:function(t,e){},onStep:function(t,e,i){},onStop:function(t,e){}};if("undefined"!=typeof e)n.renderer=e;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");n.renderer=SVGRenderer}var o={},s=0,a=function(){this.el=t,this.options=o;for(var e in n)n.hasOwnProperty(e)&&(o[e]=i&&"undefined"!=typeof i[e]?i[e]:n[e],"function"==typeof o[e]&&(o[e]=o[e].bind(this)));o.easing="string"==typeof o.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[o.easing])?jQuery.easing[o.easing]:n.easing,"number"==typeof o.animate&&(o.animate={duration:o.animate,enabled:!0}),"boolean"!=typeof o.animate||o.animate||(o.animate={duration:1e3,enabled:o.animate}),this.renderer=new o.renderer(t,o),this.renderer.draw(s),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(t){return t=parseFloat(t),o.animate.enabled?this.renderer.animate(s,t):this.renderer.draw(t),s=t,this}.bind(this),this.disableAnimation=function(){return o.animate.enabled=!1,this},this.enableAnimation=function(){return o.animate.enabled=!0,this},a()};t.fn.easyPieChart=function(e){return this.each(function(){var n;t.data(this,"easyPieChart")||(n=t.extend({},e,t(this).data()),t.data(this,"easyPieChart",new i(this,n)))})}}),function(){"use strict";function t(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,n),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var n in i)e.push(i[n]);for(var o=0,s=e.length;s>o;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,n={},o=window.Waypoint,s=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete n[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||o.isTouch)&&(e.didScroll=!0,o.requestAnimationFrame(t))})},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var n=e[i],o=n.newScroll>n.oldScroll,s=o?n.forward:n.backward;for(var a in this.waypoints[i]){var r=this.waypoints[i][a],l=n.oldScroll<r.triggerPoint,c=n.newScroll>=r.triggerPoint,u=l&&c,d=!l&&!c;(u||d)&&(r.queueTrigger(s),t[r.group.id]=r.group)}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,o=t.length;o>n;n++)t[n].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=this.adapter.offset(),n={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var o in t){var s=t[o];for(var a in this.waypoints[o]){var r,l,c,u,d,h=this.waypoints[o][a],p=h.options.offset,f=h.triggerPoint,m=0,g=null==f;h.element!==h.element.window&&(m=h.adapter.offset()[s.offsetProp]),"function"==typeof p?p=p.apply(h):"string"==typeof p&&(p=parseFloat(p),h.options.offset.indexOf("%")>-1&&(p=Math.ceil(s.contextDimension*p/100))),r=s.contextScroll-s.contextOffset,h.triggerPoint=m+r-p,l=f<s.oldScroll,c=h.triggerPoint>=s.oldScroll,u=l&&c,d=!l&&!c,!g&&u?(h.queueTrigger(s.backward),n[h.group.id]=h.group):!g&&d?(h.queueTrigger(s.forward),n[h.group.id]=h.group):g&&s.oldScroll>=h.triggerPoint&&(h.queueTrigger(s.forward),n[h.group.id]=h.group)}}for(var v in n)n[v].flushTriggers();return this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in n)n[t].refresh()},e.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){s&&s(),e.refreshAll()},o.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},o=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var n=this.triggerQueues[i],o="up"===i||"left"===i;n.sort(o?e:t);for(var s=0,a=n.length;a>s;s+=1){var r=n[s];(r.options.continuous||s===n.length-1)&&r.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints),n=i===this.waypoints.length-1;return n?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return n[t.axis][t.name]||new i(t)},o.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,n){t[n]=e[n]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],n=arguments[0];return t.isFunction(arguments[0])&&(n=t.extend({},arguments[1]),n.handler=arguments[0]),this.each(function(){var o=t.extend({},n,{element:this});"string"==typeof o.context&&(o.context=t(this).closest(o.context)[0]),i.push(new e(o))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),function(){"use strict";function t(n){this.options=e.extend({},i.defaults,t.defaults,n),this.element=this.options.element,this.$element=e(this.element),this.createWrapper(),this.createWaypoint()}var e=window.jQuery,i=window.Waypoint;t.prototype.createWaypoint=function(){var t=this.options.handler;this.waypoint=new i(e.extend({},this.options,{element:this.wrapper,handler:e.proxy(function(e){var i=this.options.direction.indexOf(e)>-1,n=i?this.$element.outerHeight(!0):"";this.$wrapper.height(n),this.$element.toggleClass(this.options.stuckClass,i),t&&t.call(this,e)},this)}))},t.prototype.createWrapper=function(){this.$element.wrap(this.options.wrapper),this.$wrapper=this.$element.parent(),this.wrapper=this.$wrapper[0]},t.prototype.destroy=function(){this.$element.parent()[0]===this.wrapper&&(this.waypoint.destroy(),this.$element.removeClass(this.options.stuckClass).unwrap())},t.defaults={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck",direction:"down right"},i.Sticky=t}(),function(){"use strict";function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}var i=t.prototype;i.getListeners=function(t){var e,i,n=this._getEvents();if("object"==typeof t){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},i.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},i.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},i.addListener=function(t,i){var n,o=this.getListenersAsObject(t),s="object"==typeof i;for(n in o)o.hasOwnProperty(n)&&-1===e(o[n],i)&&o[n].push(s?i:{listener:i,once:!1});return this},i.on=i.addListener,i.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},i.once=i.addOnceListener,i.defineEvent=function(t){return this.getListeners(t),this},i.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},i.removeListener=function(t,i){var n,o,s=this.getListenersAsObject(t);for(o in s)s.hasOwnProperty(o)&&(n=e(s[o],i),-1!==n&&s[o].splice(n,1));return this},i.off=i.removeListener,i.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},i.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},i.manipulateListeners=function(t,e,i){var n,o,s=t?this.removeListener:this.addListener,a=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)s.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?s.call(this,n,o):a.call(this,n,o));return this},i.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if("object"===i)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},i.emitEvent=function(t,e){var i,n,o,s,a=this.getListenersAsObject(t);for(o in a)if(a.hasOwnProperty(o))for(n=a[o].length;n--;)i=a[o][n],s=i.listener.apply(this,e||[]),(s===this._getOnceReturnValue()||i.once===!0)&&this.removeListener(t,a[o][n].listener);return this},i.trigger=i.emitEvent,i.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},i.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},"function"==typeof define&&define.amd?define(function(){return t}):"undefined"!=typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){"use strict";var e=document.documentElement,i=function(){};e.addEventListener?i=function(t,e,i){t.addEventListener(e,i,!1)}:e.attachEvent&&(i=function(e,i,n){e[i+n]=n.handleEvent?function(){var e=t.event;e.target=e.target||e.srcElement,n.handleEvent.call(n,e)}:function(){var i=t.event;i.target=i.target||i.srcElement,n.call(e,i)},e.attachEvent("on"+i,e[i+n])});var n=function(){};e.removeEventListener?n=function(t,e,i){t.removeEventListener(e,i,!1)}:e.detachEvent&&(n=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var o={bind:i,unbind:n};"function"==typeof define&&define.amd?define(o):t.eventie=o}(this),function(t){"use strict";function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===l.call(t)}function n(t){var e=[];if(i(t))e=t;else if("number"==typeof t.length)for(var n=0,o=t.length;o>n;n++)e.push(t[n]);else e.push(t);return e}function o(t,i){function o(t,i,a){if(!(this instanceof o))return new o(t,i);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=n(t),this.options=e({},this.options),"function"==typeof i?a=i:e(this.options,i),a&&this.on("always",a),this.getImages(),s&&(this.jqDeferred=new s.Deferred);var r=this;setTimeout(function(){r.check()})}function l(t){this.img=t}o.prototype=new t,o.prototype.options={},o.prototype.getImages=function(){this.images=[];for(var t=0,e=this.elements.length;e>t;t++){var i=this.elements[t];"IMG"===i.nodeName&&this.addImage(i);for(var n=i.querySelectorAll("img"),o=0,s=n.length;s>o;o++){var a=n[o];this.addImage(a)}}},o.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},o.prototype.check=function(){function t(t,o){return e.options.debug&&r&&a.log("confirm",t,o),e.progress(t),i++,i===n&&e.complete(),!0}var e=this,i=0,n=this.images.length;if(this.hasAnyBroken=!1,!n)return void this.complete();for(var o=0;n>o;o++){var s=this.images[o];s.on("confirm",t),s.check()}},o.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;var e=this;setTimeout(function(){e.emit("progress",e,t),e.jqDeferred&&e.jqDeferred.notify(e,t)})},o.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var e=this;setTimeout(function(){if(e.emit(t,e),e.emit("always",e),e.jqDeferred){var i=e.hasAnyBroken?"reject":"resolve";e.jqDeferred[i](e)}})},s&&(s.fn.imagesLoaded=function(t,e){var i=new o(this,t,e);return i.jqDeferred.promise(s(this))});var c={};return l.prototype=new t,l.prototype.check=function(){var t=c[this.img.src];if(t)return void this.useCached(t);if(c[this.img.src]=this,this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var e=this.proxyImage=new Image;i.bind(e,"load",this),i.bind(e,"error",this),e.src=this.img.src},l.prototype.useCached=function(t){if(t.isConfirmed)this.confirm(t.isLoaded,"cached was confirmed");else{var e=this;t.on("confirm",function(t){return e.confirm(t.isLoaded,"cache emitted confirmed"),!0})}},l.prototype.confirm=function(t,e){this.isConfirmed=!0,this.isLoaded=t,this.emit("confirm",this,e)},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindProxyEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindProxyEvents()},l.prototype.unbindProxyEvents=function(){i.unbind(this.proxyImage,"load",this),i.unbind(this.proxyImage,"error",this)},o}var s=t.jQuery,a=t.console,r="undefined"!=typeof a,l=Object.prototype.toString;"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],o):t.imagesLoaded=o(t.EventEmitter,t.eventie)}(window),function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null};if(!document.getElementById("fit-vids-style")){var n=document.createElement("div"),o=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0],s="&shy;<style>.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>";n.className="fit-vids-style",n.id="fit-vids-style",n.style.display="none",n.innerHTML=s,o.parentNode.insertBefore(n,o)}return e&&t.extend(i,e),this.each(function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.php']","object","embed"];i.customSelector&&e.push(i.customSelector);var n=t(this).find(e.join(","));n=n.not("object object"),n.each(function(){var e=t(this);if(!("embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){var i="object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height(),n=isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10),o=i/n;if(!e.attr("id")){var s="fitvid"+Math.floor(999999*Math.random());e.attr("id",s)}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*o+"%"),e.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){function e(e){var i={},n=/^jQuery\d+$/;return t.each(e.attributes,function(t,e){e.specified&&!n.test(e.name)&&(i[e.name]=e.value)}),i}function i(e,i){var n=this,s=t(n);if(n.value==s.attr("placeholder")&&s.hasClass("placeholder"))if(s.data("placeholder-password")){if(s=s.hide().nextAll('input[type="password"]:first').show().attr("id",s.removeAttr("id").data("placeholder-id")),e===!0)return s[0].value=i;s.focus()}else n.value="",s.removeClass("placeholder"),n==o()&&n.select()}function n(){var n,o=this,s=t(o),a=this.id;if(""===o.value){if("password"===o.type){if(!s.data("placeholder-textinput")){try{n=s.clone().attr({type:"text"})}catch(r){n=t("<input>").attr(t.extend(e(this),{type:"text"}))}n.removeAttr("name").data({"placeholder-password":s,"placeholder-id":a}).bind("focus.placeholder",i),s.data({"placeholder-textinput":n,"placeholder-id":a}).before(n)}s=s.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",a).show()}s.addClass("placeholder"),s[0].value=s.attr("placeholder")}else s.removeClass("placeholder")}function o(){try{return document.activeElement}catch(t){}}var s,a,r="[object OperaMini]"==Object.prototype.toString.call(window.operamini),l="placeholder"in document.createElement("input")&&!r,c="placeholder"in document.createElement("textarea")&&!r,u=t.valHooks,d=t.propHooks;l&&c?(a=t.fn.placeholder=function(){return this},a.input=a.textarea=!0):(a=t.fn.placeholder=function(){var t=this;return t.filter((l?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":i,"blur.placeholder":n}).data("placeholder-enabled",!0).trigger("blur.placeholder"),t},a.input=l,a.textarea=c,s={get:function(e){var i=t(e),n=i.data("placeholder-password");return n?n[0].value:i.data("placeholder-enabled")&&i.hasClass("placeholder")?"":e.value},set:function(e,s){var a=t(e),r=a.data("placeholder-password");return r?r[0].value=s:a.data("placeholder-enabled")?(""===s?(e.value=s,e!=o()&&n.call(e)):a.hasClass("placeholder")?i.call(e,!0,s)||(e.value=s):e.value=s,a):e.value=s}},l||(u.input=s,d.value=s),c||(u.textarea=s,d.value=s),t(function(){t(document).delegate("form","submit.placeholder",function(){var e=t(".placeholder",this).each(i);setTimeout(function(){e.each(n)},10)})}),t(window).bind("beforeunload.placeholder",function(){t(".placeholder").each(function(){this.value=""})}))}),function(t){"use strict";t(["jquery"],function(t){function e(e){return t.isFunction(e)||t.isPlainObject(e)?e:{top:e,left:e}}var i=t.scrollTo=function(e,i,n){return t(window).scrollTo(e,i,n)};return i.defaults={axis:"xy",duration:0,limit:!0},i.window=function(e){return t(window)._scrollable()},t.fn._scrollable=function(){return this.map(function(){var e=this,i=!e.nodeName||-1!=t.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"]);if(!i)return e;var n=(e.contentWindow||e).document||e.ownerDocument||e;return/webkit/i.test(navigator.userAgent)||"BackCompat"==n.compatMode?n.body:n.documentElement})},t.fn.scrollTo=function(n,o,s){return"object"==typeof o&&(s=o,o=0),"function"==typeof s&&(s={onAfter:s}),"max"==n&&(n=9e9),s=t.extend({},i.defaults,s),o=o||s.duration,s.queue=s.queue&&s.axis.length>1,s.queue&&(o/=2),s.offset=e(s.offset),s.over=e(s.over),this._scrollable().each(function(){function a(t){c.animate(d,o,s.easing,t&&function(){t.call(this,u,s)})}if(null!=n){var r,l=this,c=t(l),u=n,d={},h=c.is("html,body");switch(typeof u){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(u)){u=e(u);break}if(u=h?t(u):t(u,this),!u.length)return;case"object":(u.is||u.style)&&(r=(u=t(u)).offset())}var p=t.isFunction(s.offset)&&s.offset(l,u)||s.offset;

t.each(s.axis.split(""),function(t,e){var n="x"==e?"Left":"Top",o=n.toLowerCase(),f="scroll"+n,m=l[f],g=i.max(l,e);if(r)d[f]=r[o]+(h?0:m-c.offset()[o]),s.margin&&(d[f]-=parseInt(u.css("margin"+n))||0,d[f]-=parseInt(u.css("border"+n+"Width"))||0),d[f]+=p[o]||0,s.over[o]&&(d[f]+=u["x"==e?"width":"height"]()*s.over[o]);else{var v=u[o];d[f]=v.slice&&"%"==v.slice(-1)?parseFloat(v)/100*g:v}s.limit&&/^\d+$/.test(d[f])&&(d[f]=d[f]<=0?0:Math.min(d[f],g)),!t&&s.queue&&(m!=d[f]&&a(s.onAfterFirst),delete d[f])}),a(s.onAfter)}}).end()},i.max=function(e,i){var n="x"==i?"Width":"Height",o="scroll"+n;if(!t(e).is("html,body"))return e[o]-t(e)[n.toLowerCase()]();var s="client"+n,a=e.ownerDocument.documentElement,r=e.ownerDocument.body;return Math.max(a[o],r[o])-Math.min(a[s],r[s])},i})}("function"==typeof define&&define.amd?define:function(t,e){"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t,e){"use strict";t.infinitescroll=function(e,i,n){this.element=t(n),this._create(e,i)||(this.failed=!0)},t.infinitescroll.defaults={loading:{finished:e,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"data:image/gif;base64,R0lGODlh3AATAPQeAPDy+MnQ6LW/4N3h8MzT6rjC4sTM5r/I5NHX7N7j8c7U6tvg8OLl8uXo9Ojr9b3G5MfP6Ovu9tPZ7PT1+vX2+tbb7vf4+8/W69jd7rC73vn5/O/x+K243ai02////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAA3AATAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEj0BAScpHLJbDqf0Kh0Sq1ar9isdioItAKGw+MAKYMFhbF63CW438f0mg1R2O8EuXj/aOPtaHx7fn96goR4hmuId4qDdX95c4+RBIGCB4yAjpmQhZN0YGYGXitdZBIVGAsLoq4BBKQDswm1CQRkcG6ytrYKubq8vbfAcMK9v7q7EMO1ycrHvsW6zcTKsczNz8HZw9vG3cjTsMIYqQkCLBwHCgsMDQ4RDAYIqfYSFxDxEfz88/X38Onr16+Bp4ADCco7eC8hQYMAEe57yNCew4IVBU7EGNDiRn8Z831cGLHhSIgdFf9chIeBg7oA7gjaWUWTVQAGE3LqBDCTlc9WOHfm7PkTqNCh54rePDqB6M+lR536hCpUqs2gVZM+xbrTqtGoWqdy1emValeXKzggYBBB5y1acFNZmEvXAoN2cGfJrTv3bl69Ffj2xZt3L1+/fw3XRVw4sGDGcR0fJhxZsF3KtBTThZxZ8mLMgC3fRatCbYMNFCzwLEqLgE4NsDWs/tvqdezZf13Hvk2A9Szdu2X3pg18N+68xXn7rh1c+PLksI/Dhe6cuO3ow3NfV92bdArTqC2Ebd3A8vjf5QWfH6Bg7Nz17c2fj69+fnq+8N2Lty+fuP78/eV2X13neIcCeBRwxorbZrA1ANoCDGrgoG8RTshahQ9iSKEEzUmYIYfNWViUhheCGJyIP5E4oom7WWjgCeBFAJNv1DVV01MAdJhhjdkplWNzO/5oXI846njjVEIqR2OS2B1pE5PVscajkxhMycqLJghQSwT40PgfAl4GqNSXYdZXJn5gSkmmmmJu1aZYb14V51do+pTOCmA40AqVCIhG5IJ9PvYnhIFOxmdqhpaI6GeHCtpooisuutmg+Eg62KOMKuqoTaXgicQWoIYq6qiklmoqFV0UoeqqrLbq6quwxirrrLTWauutJ4QAACH5BAUKABwALAcABADOAAsAAAX/IPd0D2dyRCoUp/k8gpHOKtseR9yiSmGbuBykler9XLAhkbDavXTL5k2oqFqNOxzUZPU5YYZd1XsD72rZpBjbeh52mSNnMSC8lwblKZGwi+0QfIJ8CncnCoCDgoVnBHmKfByGJimPkIwtiAeBkH6ZHJaKmCeVnKKTHIihg5KNq4uoqmEtcRUtEREMBggtEr4QDrjCuRC8h7/BwxENeicSF8DKy82pyNLMOxzWygzFmdvD2L3P0dze4+Xh1Arkyepi7dfFvvTtLQkZBC0T/FX3CRgCMOBHsJ+EHYQY7OinAGECgQsB+Lu3AOK+CewcWjwxQeJBihtNGHSoQOE+iQ3//4XkwBBhRZMcUS6YSXOAwIL8PGqEaSJCiYt9SNoCmnJPAgUVLChdaoFBURN8MAzl2PQphwQLfDFd6lTowglHve6rKpbjhK7/pG5VinZP1qkiz1rl4+tr2LRwWU64cFEihwEtZgbgR1UiHaMVvxpOSwBA37kzGz9e8G+B5MIEKLutOGEsAH2ATQwYfTmuX8aETWdGPZmiZcccNSzeTCA1Sw0bdiitC7LBWgu8jQr8HRzqgpK6gX88QbrB14z/kF+ELpwB8eVQj/JkqdylAudji/+ts3039vEEfK8Vz2dlvxZKG0CmbkKDBvllRd6fCzDvBLKBDSCeffhRJEFebFk1k/Mv9jVIoIJZSeBggwUaNeB+Qk34IE0cXlihcfRxkOAJFFhwGmKlmWDiakZhUJtnLBpnWWcnKaAZcxI0piFGGLBm1mc90kajSCveeBVWKeYEoU2wqeaQi0PetoE+rr14EpVC7oAbAUHqhYExbn2XHHsVqbcVew9tx8+XJKk5AZsqqdlddGpqAKdbAYBn1pcczmSTdWvdmZ17c1b3FZ99vnTdCRFM8OEcAhLwm1NdXnWcBBSMRWmfkWZqVlsmLIiAp/o1gGV2vpS4lalGYsUOqXrddcKCmK61aZ8SjEpUpVFVoCpTj4r661Km7kBHjrDyc1RAIQAAIfkEBQoAGwAsBwAEAM4ACwAABf/gtmUCd4goQQgFKj6PYKi0yrrbc8i4ohQt12EHcal+MNSQiCP8gigdz7iCioaCIvUmZLp8QBzW0EN2vSlCuDtFKaq4RyHzQLEKZNdiQDhRDVooCwkbfm59EAmKi4SGIm+AjIsKjhsqB4mSjT2IOIOUnICeCaB/mZKFNTSRmqVpmJqklSqskq6PfYYCDwYHDC4REQwGCBLGxxIQDsHMwhAIX8bKzcENgSLGF9PU1j3Sy9zX2NrgzQziChLk1BHWxcjf7N046tvN82715czn9Pryz6Ilc4ACj4EBOCZM8KEnAYYADBRKnACAYUMFv1wotIhCEcaJCisqwJFgAUSQGyX/kCSVUUTIdKMwJlyo0oXHlhskwrTJciZHEXsgaqS4s6PJiCAr1uzYU8kBBSgnWFqpoMJMUjGtDmUwkmfVmVypakWhEKvXsS4nhLW5wNjVroJIoc05wSzTr0PtiigpYe4EC2vj4iWrFu5euWIMRBhacaVJhYQBEFjA9jHjyQ0xEABwGceGAZYjY0YBOrRLCxUp29QM+bRkx5s7ZyYgVbTqwwti2ybJ+vLtDYpycyZbYOlptxdx0kV+V7lC5iJAyyRrwYKxAdiz82ng0/jnAdMJFz0cPi104Ec1Vj9/M6F173vKL/feXv156dw11tlqeMMnv4V5Ap53GmjQQH97nFfg+IFiucfgRX5Z8KAgbUlQ4IULIlghhhdOSB6AgX0IVn8eReghen3NRIBsRgnH4l4LuEidZBjwRpt6NM5WGwoW0KSjCwX6yJSMab2GwwAPDXfaBCtWpluRTQqC5JM5oUZAjUNS+VeOLWpJEQ7VYQANW0INJSZVDFSnZphjSikfmzE5N4EEbQI1QJmnWXCmHulRp2edwDXF43txukenJwvI9xyg9Q26Z3MzGUcBYFEChZh6DVTq34AU8Iflh51Sd+CnKFYQ6mmZkhqfBKfSxZWqA9DZanWjxmhrWwi0qtCrt/43K6WqVjjpmhIqgEGvculaGKklKstAACEAACH5BAUKABwALAcABADOAAsAAAX/ICdyQmaMYyAUqPgIBiHPxNpy79kqRXH8wAPsRmDdXpAWgWdEIYm2llCHqjVHU+jjJkwqBTecwItShMXkEfNWSh8e1NGAcLgpDGlRgk7EJ/6Ae3VKfoF/fDuFhohVeDeCfXkcCQqDVQcQhn+VNDOYmpSWaoqBlUSfmowjEA+iEAEGDRGztAwGCDcXEA60tXEiCrq8vREMEBLIyRLCxMWSHMzExnbRvQ2Sy7vN0zvVtNfU2tLY3rPgLdnDvca4VQS/Cpk3ABwSLQkYAQwT/P309vcI7OvXr94jBQMJ/nskkGA/BQBRLNDncAIAiDcG6LsxAWOLiQzmeURBKWSLCQbv/1F0eDGinJUKR47YY1IEgQASKk7Yc7ACRwZm7mHweRJoz59BJUogisKCUaFMR0x4SlJBVBFTk8pZivTR0K73rN5wqlXEAq5Fy3IYgHbEzQ0nLy4QSoCjXLoom96VOJEeCosK5n4kkFfqXjl94wa+l1gvAcGICbewAOAxY8l/Ky/QhAGz4cUkGxu2HNozhwMGBnCUqUdBg9UuW9eUynqSwLHIBujePef1ZGQZXcM+OFuEBeBhi3OYgLyqcuaxbT9vLkf4SeqyWxSQpKGB2gQpm1KdWbu72rPRzR9Ne2Nu9Kzr/1Jqj0yD/fvqP4aXOt5sW/5qsXXVcv1Nsp8IBUAmgswGF3llGgeU1YVXXKTN1FlhWFXW3gIE+DVChApysACHHo7Q4A35lLichh+ROBmLKAzgYmYEYDAhCgxKGOOMn4WR4kkDaoBBOxJtdNKQxFmg5JIWIBnQc07GaORfUY4AEkdV6jHlCEISSZ5yTXpp1pbGZbkWmcuZmQCaE6iJ0FhjMaDjTMsgZaNEHFRAQVp3bqXnZED1qYcECOz5V6BhSWCoVJQIKuKQi2KFKEkEFAqoAo7uYSmO3jk61wUUMKmknJ4SGimBmAa0qVQBhAAAIfkEBQoAGwAsBwAEAM4ACwAABf/gJm5FmRlEqhJC+bywgK5pO4rHI0D3pii22+Mg6/0Ej96weCMAk7cDkXf7lZTTnrMl7eaYoy10JN0ZFdco0XAuvKI6qkgVFJXYNwjkIBcNBgR8TQoGfRsJCRuCYYQQiI+ICosiCoGOkIiKfSl8mJkHZ4U9kZMbKaI3pKGXmJKrngmug4WwkhA0lrCBWgYFCCMQFwoQDRHGxwwGCBLMzRLEx8iGzMMO0cYNeCMKzBDW19lnF9DXDIY/48Xg093f0Q3s1dcR8OLe8+Y91OTv5wrj7o7B+7VNQqABIoRVCMBggsOHE36kSoCBIcSH3EbFangxogJYFi8CkJhqQciLJEf/LDDJEeJIBT0GsOwYUYJGBS0fjpQAMidGmyVP6sx4Y6VQhzs9VUwkwqaCCh0tmKoFtSMDmBOf9phg4SrVrROuasRQAaxXpVUhdsU6IsECZlvX3kwLUWzRt0BHOLTbNlbZG3vZinArge5Dvn7wbqtQkSYAAgtKmnSsYKVKo2AfW048uaPmG386i4Q8EQMBAIAnfB7xBxBqvapJ9zX9WgRS2YMpnvYMGdPK3aMjt/3dUcNI4blpj7iwkMFWDXDvSmgAlijrt9RTR78+PS6z1uAJZIe93Q8g5zcsWCi/4Y+C8bah5zUv3vv89uft30QP23punGCx5954oBBwnwYaNCDY/wYrsYeggnM9B2Fpf8GG2CEUVWhbWAtGouEGDy7Y4IEJVrbSiXghqGKIo7z1IVcXIkKWWR361QOLWWnIhwERpLaaCCee5iMBGJQmJGyPFTnbkfHVZGRtIGrg5HALEJAZbu39BuUEUmq1JJQIPtZilY5hGeSWsSk52G9XqsmgljdIcABytq13HyIM6RcUA+r1qZ4EBF3WHWB29tBgAzRhEGhig8KmqKFv8SeCeo+mgsF7YFXa1qWSbkDpom/mqR1PmHCqJ3fwNRVXjC7S6CZhFVCQ2lWvZiirhQq42SACt25IK2hv8TprriUV1usGgeka7LFcNmCldMLi6qZMgFLgpw16Cipb7bC1knXsBiEAACH5BAUKABsALAcABADOAAsAAAX/4FZsJPkUmUGsLCEUTywXglFuSg7fW1xAvNWLF6sFFcPb42C8EZCj24EJdCp2yoegWsolS0Uu6fmamg8n8YYcLU2bXSiRaXMGvqV6/KAeJAh8VgZqCX+BexCFioWAYgqNi4qAR4ORhRuHY408jAeUhAmYYiuVlpiflqGZa5CWkzc5fKmbbhIpsAoQDRG8vQwQCBLCwxK6vb5qwhfGxxENahvCEA7NzskSy7vNzzzK09W/PNHF1NvX2dXcN8K55cfh69Luveol3vO8zwi4Yhj+AQwmCBw4IYclDAAJDlQggVOChAoLKkgFkSCAHDwWLKhIEOONARsDKryogFPIiAUb/95gJNIiw4wnI778GFPhzBKFOAq8qLJEhQpiNArjMcHCmlTCUDIouTKBhApELSxFWiGiVKY4E2CAekPgUphDu0742nRrVLJZnyrFSqKQ2ohoSYAMW6IoDpNJ4bLdILTnAj8KUF7UeENjAKuDyxIgOuGiOI0EBBMgLNew5AUrDTMGsFixwBIaNCQuAXJB57qNJ2OWm2Aj4skwCQCIyNkhhtMkdsIuodE0AN4LJDRgfLPtn5YDLdBlraAByuUbBgxQwICxMOnYpVOPej074OFdlfc0TqC62OIbcppHjV4o+LrieWhfT8JC/I/T6W8oCl29vQ0XjLdBaA3s1RcPBO7lFvpX8BVoG4O5jTXRQRDuJ6FDTzEWF1/BCZhgbyAKE9qICYLloQYOFtahVRsWYlZ4KQJHlwHS/IYaZ6sZd9tmu5HQm2xi1UaTbzxYwJk/wBF5g5EEYOBZeEfGZmNdFyFZmZIR4jikbLThlh5kUUVJGmRT7sekkziRWUIACABk3T4qCsedgO4xhgGcY7q5pHJ4klBBTQRJ0CeHcoYHHUh6wgfdn9uJdSdMiebGJ0zUPTcoS286FCkrZxnYoYYKWLkBowhQoBeaOlZAgVhLidrXqg2GiqpQpZ4apwSwRtjqrB3muoF9BboaXKmshlqWqsWiGt2wphJkQbAU5hoCACH5BAUKABsALAcABADOAAsAAAX/oGFw2WZuT5oZROsSQnGaKjRvilI893MItlNOJ5v5gDcFrHhKIWcEYu/xFEqNv6B1N62aclysF7fsZYe5aOx2yL5aAUGSaT1oTYMBwQ5VGCAJgYIJCnx1gIOBhXdwiIl7d0p2iYGQUAQBjoOFSQR/lIQHnZ+Ue6OagqYzSqSJi5eTpTxGcjcSChANEbu8DBAIEsHBChe5vL13G7fFuscRDcnKuM3H0La3EA7Oz8kKEsXazr7Cw9/Gztar5uHHvte47MjktznZ2w0G1+D3BgirAqJmJMAQgMGEgwgn5Ei0gKDBhBMALGRYEOJBb5QcWlQo4cbAihZz3GgIMqFEBSM1/4ZEOWPAgpIIJXYU+PIhRG8ja1qU6VHlzZknJNQ6UanCjQkWCIGSUGEjAwVLjc44+DTqUQtPPS5gejUrTa5TJ3g9sWCr1BNUWZI161StiQUDmLYdGfesibQ3XMq1OPYthrwuA2yU2LBs2cBHIypYQPPlYAKFD5cVvNPtW8eVGbdcQADATsiNO4cFAPkvHpedPzc8kUcPgNGgZ5RNDZG05reoE9s2vSEP79MEGiQGy1qP8LA4ZcdtsJE48ONoLTBtTV0B9LsTnPceoIDBDQvS7W7vfjVY3q3eZ4A339J4eaAmKqU/sV58HvJh2RcnIBsDUw0ABqhBA5aV5V9XUFGiHfVeAiWwoFgJJrIXRH1tEMiDFV4oHoAEGlaWhgIGSGBO2nFomYY3mKjVglidaNYJGJDkWW2xxTfbjCbVaOGNqoX2GloR8ZeTaECS9pthRGJH2g0b3Agbk6hNANtteHD2GJUucfajCQBy5OOTQ25ZgUPvaVVQmbKh9510/qQpwXx3SQdfk8tZJOd5b6JJFplT3ZnmmX3qd5l1eg5q00HrtUkUn0AKaiGjClSAgKLYZcgWXwocGRcCFGCKwSB6ceqphwmYRUFYT/1WKlOdUpipmxW0mlCqHjYkAaeoZlqrqZ4qd+upQKaapn/AmgAegZ8KUtYtFAQQAgAh+QQFCgAbACwHAAQAzgALAAAF/+C2PUcmiCiZGUTrEkKBis8jQEquKwU5HyXIbEPgyX7BYa5wTNmEMwWsSXsqFbEh8DYs9mrgGjdK6GkPY5GOeU6ryz7UFopSQEzygOGhJBjoIgMDBAcBM0V/CYqLCQqFOwobiYyKjn2TlI6GKC2YjJZknouaZAcQlJUHl6eooJwKooobqoewrJSEmyKdt59NhRKFMxLEEA4RyMkMEAjDEhfGycqAG8TQx9IRDRDE3d3R2ctD1RLg0ttKEnbY5wZD3+zJ6M7X2RHi9Oby7u/r9g38UFjTh2xZJBEBMDAboogAgwkQI07IMUORwocSJwCgWDFBAIwZOaJIsOBjRogKJP8wTODw5ESVHVtm3AhzpEeQElOuNDlTZ0ycEUWKWFASqEahGwYUPbnxoAgEdlYSqDBkgoUNClAlIHbSAoOsqCRQnQHxq1axVb06FWFxLIqyaze0Tft1JVqyE+pWXMD1pF6bYl3+HTqAWNW8cRUFzmih0ZAAB2oGKukSAAGGRHWJgLiR6AylBLpuHKKUMlMCngMpDSAa9QIUggZVVvDaJobLeC3XZpvgNgCmtPcuwP3WgmXSq4do0DC6o2/guzcseECtUoO0hmcsGKDgOt7ssBd07wqesAIGZC1YIBa7PQHvb1+SFo+++HrJSQfB33xfav3i5eX3Hnb4CTJgegEq8tH/YQEOcIJzbm2G2EoYRLgBXFpVmFYDcREV4HIcnmUhiGBRouEMJGJGzHIspqgdXxK0yCKHRNXoIX4uorCdTyjkyNtdPWrA4Up82EbAbzMRxxZRR54WXVLDIRmRcag5d2R6ugl3ZXzNhTecchpMhIGVAKAYpgJjjsSklBEd99maZoo535ZvdamjBEpusJyctg3h4X8XqodBMx0tiNeg/oGJaKGABpogS40KSqiaEgBqlQWLUtqoVQnytekEjzo0hHqhRorppOZt2p923M2AAV+oBtpAnnPNoB6HaU6mAAIU+IXmi3j2mtFXuUoHKwXpzVrsjcgGOauKEjQrwq157hitGq2NoWmjh7z6Wmxb0m5w66+2VRAuXN/yFUAIACH5BAUKABsALAcABADOAAsAAAX/4CZuRiaM45MZqBgIRbs9AqTcuFLE7VHLOh7KB5ERdjJaEaU4ClO/lgKWjKKcMiJQ8KgumcieVdQMD8cbBeuAkkC6LYLhOxoQ2PF5Ys9PKPBMen17f0CCg4VSh32JV4t8jSNqEIOEgJKPlkYBlJWRInKdiJdkmQlvKAsLBxdABA4RsbIMBggtEhcQsLKxDBC2TAS6vLENdJLDxMZAubu8vjIbzcQRtMzJz79S08oQEt/guNiyy7fcvMbh4OezdAvGrakLAQwyABsELQkY9BP+//ckyPDD4J9BfAMh1GsBoImMeQUN+lMgUJ9CiRMa5msxoB9Gh/o8GmxYMZXIgxtR/yQ46S/gQAURR0pDwYDfywoyLPip5AdnCwsMFPBU4BPFhKBDi444quCmDKZOfwZ9KEGpCKgcN1jdALSpPqIYsabS+nSqvqplvYqQYAeDPgwKwjaMtiDl0oaqUAyo+3TuWwUAMPpVCfee0cEjVBGQq2ABx7oTWmQk4FglZMGN9fGVDMCuiH2AOVOu/PmyxM630gwM0CCn6q8LjVJ8GXvpa5Uwn95OTC/nNxkda1/dLSK475IjCD6dHbK1ZOa4hXP9DXs5chJ00UpVm5xo2qRpoxptwF2E4/IbJpB/SDz9+q9b1aNfQH08+p4a8uvX8B53fLP+ycAfemjsRUBgp1H20K+BghHgVgt1GXZXZpZ5lt4ECjxYR4ScUWiShEtZqBiIInRGWnERNnjiBglw+JyGnxUmGowsyiiZg189lNtPGACjV2+S9UjbU0JWF6SPvEk3QZEqsZYTk3UAaRSUnznJI5LmESCdBVSyaOWUWLK4I5gDUYVeV1T9l+FZClCAUVA09uSmRHBCKAECFEhW51ht6rnmWBXkaR+NjuHpJ40D3DmnQXt2F+ihZxlqVKOfQRACACH5BAUKABwALAcABADOAAsAAAX/ICdyUCkUo/g8mUG8MCGkKgspeC6j6XEIEBpBUeCNfECaglBcOVfJFK7YQwZHQ6JRZBUqTrSuVEuD3nI45pYjFuWKvjjSkCoRaBUMWxkwBGgJCXspQ36Bh4EEB0oKhoiBgyNLjo8Ki4QElIiWfJqHnISNEI+Ql5J9o6SgkqKkgqYihamPkW6oNBgSfiMMDQkGCBLCwxIQDhHIyQwQCGMKxsnKVyPCF9DREQ3MxMPX0cu4wt7J2uHWx9jlKd3o39MiuefYEcvNkuLt5O8c1ePI2tyELXGQwoGDAQf+iEC2xByDCRAjTlAgIUWCBRgCPJQ4AQBFXAs0coT40WLIjRxL/47AcHLkxIomRXL0CHPERZkpa4q4iVKiyp0tR/7kwHMkTUBBJR5dOCEBAVcKKtCAyOHpowXCpk7goABqBZdcvWploACpBKkpIJI1q5OD2rIWE0R1uTZu1LFwbWL9OlKuWb4c6+o9i3dEgw0RCGDUG9KlRw56gDY2qmCByZBaASi+TACA0TucAaTteCcy0ZuOK3N2vJlx58+LRQyY3Xm0ZsgjZg+oPQLi7dUcNXi0LOJw1pgNtB7XG6CBy+U75SYfPTSQAgZTNUDnQHt67wnbZyvwLgKiMN3oCZB3C76tdewpLFgIP2C88rbi4Y+QT3+8S5USMICZXWj1pkEDeUU3lOYGB3alSoEiMIjgX4WlgNF2EibIwQIXauWXSRg2SAOHIU5IIIMoZkhhWiJaiFVbKo6AQEgQXrTAazO1JhkBrBG3Y2Y6EsUhaGn95hprSN0oWpFE7rhkeaQBchGOEWnwEmc0uKWZj0LeuNV3W4Y2lZHFlQCSRjTIl8uZ+kG5HU/3sRlnTG2ytyadytnD3HrmuRcSn+0h1dycexIK1KCjYaCnjCCVqOFFJTZ5GkUUjESWaUIKU2lgCmAKKQIUjHapXRKE+t2og1VgankNYnohqKJ2CmKplso6GKz7WYCgqxeuyoF8u9IQAgA7",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:"fast",start:e},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1},debug:!1,behavior:e,binder:t(window),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:!1,pathParse:e,dataType:"html",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:e,path:e,prefill:!1,maxPage:e},t.infinitescroll.prototype={_binding:function(t){var i=this,n=i.options;return n.v="2.0b2.120520",n.behavior&&this["_binding_"+n.behavior]!==e?void this["_binding_"+n.behavior].call(this):"bind"!==t&&"unbind"!==t?(this._debug("Binding value  "+t+" not valid"),!1):("unbind"===t?this.options.binder.unbind("smartscroll.infscr."+i.options.infid):this.options.binder[t]("smartscroll.infscr."+i.options.infid,function(){i.scroll()}),void this._debug("Binding",t))},_create:function(i,n){var o=t.extend(!0,{},t.infinitescroll.defaults,i);this.options=o;var s=t(window),a=this;if(!a._validate(i))return!1;var r=t(o.nextSelector).attr("href");if(!r)return this._debug("Navigation selector not found"),!1;o.path=o.path||this._determinepath(r),o.contentSelector=o.contentSelector||this.element,o.loading.selector=o.loading.selector||o.contentSelector,o.loading.msg=o.loading.msg||t('<div id="infscr-loading"><img alt="Loading..." src="'+o.loading.img+'" /><div>'+o.loading.msgText+"</div></div>"),(new Image).src=o.loading.img,o.pixelsFromNavToBottom===e&&(o.pixelsFromNavToBottom=t(document).height()-t(o.navSelector).offset().top,this._debug("pixelsFromNavToBottom: "+o.pixelsFromNavToBottom));var l=this;return o.loading.start=o.loading.start||function(){t(o.navSelector).hide(),o.loading.msg.appendTo(o.loading.selector).show(o.loading.speed,t.proxy(function(){this.beginAjax(o)},l))},o.loading.finished=o.loading.finished||function(){o.state.isBeyondMaxPage||o.loading.msg.fadeOut(o.loading.speed)},o.callback=function(i,a,r){o.behavior&&i["_callback_"+o.behavior]!==e&&i["_callback_"+o.behavior].call(t(o.contentSelector)[0],a,r),n&&n.call(t(o.contentSelector)[0],a,o,r),o.prefill&&s.bind("resize.infinite-scroll",i._prefill)},i.debug&&(!Function.prototype.bind||"object"!=typeof console&&"function"!=typeof console||"object"!=typeof console.log||["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(t){console[t]=this.call(console[t],console)},Function.prototype.bind)),this._setup(),o.prefill&&this._prefill(),!0},_prefill:function(){function e(){return t(i.options.contentSelector).height()<=n.height()}var i=this,n=t(window);this._prefill=function(){e()&&i.scroll(),n.bind("resize.infinite-scroll",function(){e()&&(n.unbind("resize.infinite-scroll"),i.scroll())})},this._prefill()},_debug:function(){!0===this.options.debug&&("undefined"!=typeof console&&"function"==typeof console.log?console.log(1===Array.prototype.slice.call(arguments).length&&"string"==typeof Array.prototype.slice.call(arguments)[0]?Array.prototype.slice.call(arguments).toString():Array.prototype.slice.call(arguments)):Function.prototype.bind||"undefined"==typeof console||"object"!=typeof console.log||Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments)))},_determinepath:function(t){var i=this.options;if(i.behavior&&this["_determinepath_"+i.behavior]!==e)return this["_determinepath_"+i.behavior].call(this,t);if(i.pathParse)return this._debug("pathParse manual"),i.pathParse(t,this.options.state.currPage+1);if(t.match(/^(.*?)\b2\b(.*?$)/))t=t.match(/^(.*?)\b2\b(.*?$)/).slice(1);else if(t.match(/^(.*?)2(.*?$)/)){if(t.match(/^(.*?page=)2(\/.*|$)/))return t=t.match(/^(.*?page=)2(\/.*|$)/).slice(1);t=t.match(/^(.*?)2(.*?$)/).slice(1)}else{if(t.match(/^(.*?page=)1(\/.*|$)/))return t=t.match(/^(.*?page=)1(\/.*|$)/).slice(1);this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com."),i.state.isInvalidPage=!0}return this._debug("determinePath",t),t},_error:function(t){var i=this.options;return i.behavior&&this["_error_"+i.behavior]!==e?void this["_error_"+i.behavior].call(this,t):("destroy"!==t&&"end"!==t&&(t="unknown"),this._debug("Error",t),("end"===t||i.state.isBeyondMaxPage)&&this._showdonemsg(),i.state.isDone=!0,i.state.currPage=1,i.state.isPaused=!1,i.state.isBeyondMaxPage=!1,void this._binding("unbind"))},_loadcallback:function(i,n,o){var s,a=this.options,r=this.options.callback,l=a.state.isDone?"done":a.appendCallback?"append":"no-append";if(a.behavior&&this["_loadcallback_"+a.behavior]!==e)return void this["_loadcallback_"+a.behavior].call(this,i,n);switch(l){case"done":return this._showdonemsg(),!1;case"no-append":if("html"===a.dataType&&(n="<div>"+n+"</div>",n=t(n).find(a.itemSelector)),0===n.length)return this._error("end");break;case"append":var c=i.children();if(0===c.length)return this._error("end");for(s=document.createDocumentFragment();i[0].firstChild;)s.appendChild(i[0].firstChild);this._debug("contentSelector",t(a.contentSelector)[0]),t(a.contentSelector)[0].appendChild(s),n=c.get()}if(a.loading.finished.call(t(a.contentSelector)[0],a),a.animate){var u=t(window).scrollTop()+t(a.loading.msg).height()+a.extraScrollPx+"px";t("html,body").animate({scrollTop:u},800,function(){a.state.isDuringAjax=!1})}a.animate||(a.state.isDuringAjax=!1),r(this,n,o),a.prefill&&this._prefill()},_nearbottom:function(){var i=this.options,n=0+t(document).height()-i.binder.scrollTop()-t(window).height();return i.behavior&&this["_nearbottom_"+i.behavior]!==e?this["_nearbottom_"+i.behavior].call(this):(this._debug("math:",n,i.pixelsFromNavToBottom),n-i.bufferPx<i.pixelsFromNavToBottom)},_pausing:function(t){var i=this.options;if(i.behavior&&this["_pausing_"+i.behavior]!==e)return void this["_pausing_"+i.behavior].call(this,t);switch("pause"!==t&&"resume"!==t&&null!==t&&this._debug("Invalid argument. Toggling pause value instead"),t=!t||"pause"!==t&&"resume"!==t?"toggle":t){case"pause":i.state.isPaused=!0;break;case"resume":i.state.isPaused=!1;break;case"toggle":i.state.isPaused=!i.state.isPaused}return this._debug("Paused",i.state.isPaused),!1},_setup:function(){var t=this.options;return t.behavior&&this["_setup_"+t.behavior]!==e?void this["_setup_"+t.behavior].call(this):(this._binding("bind"),!1)},_showdonemsg:function(){var i=this.options;return i.behavior&&this["_showdonemsg_"+i.behavior]!==e?void this["_showdonemsg_"+i.behavior].call(this):(i.loading.msg.find("img").hide().parent().find("div").php(i.loading.finishedMsg).animate({opacity:1},2e3,function(){t(this).parent().fadeOut(i.loading.speed)}),void i.errorCallback.call(t(i.contentSelector)[0],"done"))},_validate:function(e){for(var i in e)if(i.indexOf&&i.indexOf("Selector")>-1&&0===t(e[i]).length)return this._debug("Your "+i+" found no elements."),!1;return!0},bind:function(){this._binding("bind")},destroy:function(){return this.options.state.isDestroyed=!0,this.options.loading.finished(),this._error("destroy")},pause:function(){this._pausing("pause")},resume:function(){this._pausing("resume")},beginAjax:function(i){var n,o,s,a,r=this,l=i.path;if(i.state.currPage++,i.maxPage!==e&&i.state.currPage>i.maxPage)return i.state.isBeyondMaxPage=!0,void this.destroy();switch(n=t(t(i.contentSelector).is("table, tbody")?"<tbody/>":"<div/>"),o="function"==typeof l?l(i.state.currPage):l.join(i.state.currPage),r._debug("heading into ajax",o),s="html"===i.dataType||"json"===i.dataType?i.dataType:"html+callback",i.appendCallback&&"html"===i.dataType&&(s+="+callback"),s){case"html+callback":r._debug("Using HTML via .load() method"),n.load(o+" "+i.itemSelector,e,function(t){r._loadcallback(n,t,o)});break;case"html":r._debug("Using "+s.toUpperCase()+" via $.ajax() method"),t.ajax({url:o,dataType:i.dataType,complete:function(t,e){a="undefined"!=typeof t.isResolved?t.isResolved():"success"===e||"notmodified"===e,a?r._loadcallback(n,t.responseText,o):r._error("end")}});break;case"json":r._debug("Using "+s.toUpperCase()+" via $.ajax() method"),t.ajax({dataType:"json",type:"GET",url:o,success:function(t,s,l){if(a="undefined"!=typeof l.isResolved?l.isResolved():"success"===s||"notmodified"===s,i.appendCallback)if(i.template!==e){var c=i.template(t);n.append(c),a?r._loadcallback(n,c):r._error("end")}else r._debug("template must be defined."),r._error("end");else a?r._loadcallback(n,t,o):r._error("end")},error:function(){r._debug("JSON ajax request failed."),r._error("end")}})}},retrieve:function(i){i=i||null;var n=this,o=n.options;return o.behavior&&this["retrieve_"+o.behavior]!==e?void this["retrieve_"+o.behavior].call(this,i):o.state.isDestroyed?(this._debug("Instance is destroyed"),!1):(o.state.isDuringAjax=!0,void o.loading.start.call(t(o.contentSelector)[0],o))},scroll:function(){var t=this.options,i=t.state;return t.behavior&&this["scroll_"+t.behavior]!==e?void this["scroll_"+t.behavior].call(this):void(i.isDuringAjax||i.isInvalidPage||i.isDone||i.isDestroyed||i.isPaused||this._nearbottom()&&this.retrieve())},toggle:function(){this._pausing()},unbind:function(){this._binding("unbind")},update:function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))}},t.fn.infinitescroll=function(e,i){var n=typeof e;switch(n){case"string":var o=Array.prototype.slice.call(arguments,1);this.each(function(){var i=t.data(this,"infinitescroll");return i&&t.isFunction(i[e])&&"_"!==e.charAt(0)?void i[e].apply(i,o):!1});break;case"object":this.each(function(){var n=t.data(this,"infinitescroll");n?n.update(e):(n=new t.infinitescroll(e,i,this),n.failed||t.data(this,"infinitescroll",n))})}return this};var i,n=t.event;n.special.smartscroll={setup:function(){t(this).bind("scroll",n.special.smartscroll.handler)},teardown:function(){t(this).unbind("scroll",n.special.smartscroll.handler)},handler:function(e,n){var o=this,s=arguments;e.type="smartscroll",i&&clearTimeout(i),i=setTimeout(function(){t(o).trigger("smartscroll",s)},"execAsap"===n?0:100)}},t.fn.smartscroll=function(t){return t?this.bind("smartscroll",t):this.trigger("smartscroll",["execAsap"])}}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){"use strict";function e(t){if(t instanceof Date)return t;if(String(t).match(a))return String(t).match(/^[0-9]*$/)&&(t=Number(t)),String(t).match(/\-/)&&(t=String(t).replace(/\-/g,"/")),new Date(t);throw new Error("Couldn't cast `"+t+"` to a date object.")}function i(t){return function(e){var i=e.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(i)for(var o=0,s=i.length;s>o;++o){var a=i[o].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),l=new RegExp(a[0]),c=a[1]||"",u=a[3]||"",d=null;a=a[2],r.hasOwnProperty(a)&&(d=r[a],d=Number(t[d])),null!==d&&("!"===c&&(d=n(u,d)),""===c&&10>d&&(d="0"+d.toString()),e=e.replace(l,d.toString()))}return e=e.replace(/%%/,"%")}}function n(t,e){var i="s",n="";return t&&(t=t.replace(/(:|;|\s)/gi,"").split(/\,/),1===t.length?i=t[0]:(n=t[0],i=t[1])),1===Math.abs(e)?n:i}var o=100,s=[],a=[];a.push(/^[0-9]*$/.source),a.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),a.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),a=new RegExp(a.join("|"));var r={Y:"years",m:"months",w:"weeks",d:"days",D:"totalDays",H:"hours",M:"minutes",S:"seconds"},l=function(e,i,n){this.el=e,this.$el=t(e),this.interval=null,this.offset={},this.instanceNumber=s.length,s.push(this),this.$el.data("countdown-instance",this.instanceNumber),n&&(this.$el.on("update.countdown",n),this.$el.on("stoped.countdown",n),this.$el.on("finish.countdown",n)),this.setFinalDate(i),this.start()};t.extend(l.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var t=this;this.update(),this.interval=setInterval(function(){t.update.call(t)},o)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},pause:function(){this.stop.call(this)},resume:function(){this.start.call(this)},remove:function(){this.stop(),s[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(t){this.finalDate=e(t)},update:function(){return 0===this.$el.closest("html").length?void this.remove():(this.totalSecsLeft=this.finalDate.getTime()-(new Date).getTime(),this.totalSecsLeft=Math.ceil(this.totalSecsLeft/1e3),this.totalSecsLeft=this.totalSecsLeft<0?0:this.totalSecsLeft,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,totalDays:Math.floor(this.totalSecsLeft/60/60/24),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),months:Math.floor(this.totalSecsLeft/60/60/24/30),years:Math.floor(this.totalSecsLeft/60/60/24/365)},void(0===this.totalSecsLeft?(this.stop(),this.dispatchEvent("finish")):this.dispatchEvent("update")))},dispatchEvent:function(e){var n=t.Event(e+".countdown");n.finalDate=this.finalDate,n.offset=t.extend({},this.offset),n.strftime=i(this.offset),this.$el.trigger(n)}}),t.fn.countdown=function(){var e=Array.prototype.slice.call(arguments,0);return this.each(function(){var i=t(this).data("countdown-instance");if(void 0!==i){var n=s[i],o=e[0];l.prototype.hasOwnProperty(o)?n[o].apply(n,e.slice(1)):null===String(o).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(n.setFinalDate.call(n,o),n.start()):t.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,o))}else new l(this,e[0],e[1])})}}),function(t){t.flexslider=function(e,i){var n=t(e);n.vars=t.extend({},t.flexslider.defaults,i);var o,s=n.vars.namespace,a=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,r=("ontouchstart"in window||a||window.DocumentTouch&&document instanceof DocumentTouch)&&n.vars.touch,l="click touchend MSPointerUp keyup",c="",u="vertical"===n.vars.direction,d=n.vars.reverse,h=n.vars.itemWidth>0,p="fade"===n.vars.animation,f=""!==n.vars.asNavFor,m={},g=!0;t.data(e,"flexslider",n),m={init:function(){n.animating=!1,n.currentSlide=parseInt(n.vars.startAt?n.vars.startAt:0,10),isNaN(n.currentSlide)&&(n.currentSlide=0),n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=n.vars.selector.substr(0,n.vars.selector.search(" ")),n.slides=t(n.vars.selector,n),n.container=t(n.containerSelector,n),n.count=n.slides.length,n.syncExists=t(n.vars.sync).length>0,"slide"===n.vars.animation&&(n.vars.animation="swing"),n.prop=u?"top":"marginLeft",n.args={},n.manualPause=!1,n.stopped=!1,n.started=!1,n.startTimeout=null,n.transitions=!n.vars.video&&!p&&n.vars.useCSS&&function(){var t=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return n.pfx=e[i].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",!0;return!1}(),n.ensureAnimationEnd="",""!==n.vars.controlsContainer&&(n.controlsContainer=t(n.vars.controlsContainer).length>0&&t(n.vars.controlsContainer)),""!==n.vars.manualControls&&(n.manualControls=t(n.vars.manualControls).length>0&&t(n.vars.manualControls)),""!==n.vars.customDirectionNav&&(n.customDirectionNav=2===t(n.vars.customDirectionNav).length&&t(n.vars.customDirectionNav)),n.vars.randomize&&(n.slides.sort(function(){return Math.round(Math.random())-.5}),n.container.empty().append(n.slides)),n.doMath(),n.setup("init"),n.vars.controlNav&&m.controlNav.setup(),n.vars.directionNav&&m.directionNav.setup(),n.vars.keyboard&&(1===t(n.containerSelector).length||n.vars.multipleKeyboard)&&t(document).bind("keyup",function(t){var e=t.keyCode;if(!n.animating&&(39===e||37===e)){var i=39===e?n.getTarget("next"):37===e?n.getTarget("prev"):!1;n.flexAnimate(i,n.vars.pauseOnAction)}}),n.vars.mousewheel&&n.bind("mousewheel",function(t,e,i,o){t.preventDefault();var s=n.getTarget(0>e?"next":"prev");n.flexAnimate(s,n.vars.pauseOnAction)}),n.vars.pausePlay&&m.pausePlay.setup(),n.vars.slideshow&&n.vars.pauseInvisible&&m.pauseInvisible.init(),n.vars.slideshow&&(n.vars.pauseOnHover&&n.hover(function(){n.manualPlay||n.manualPause||n.pause()},function(){n.manualPause||n.manualPlay||n.stopped||n.play()}),n.vars.pauseInvisible&&m.pauseInvisible.isHidden()||(n.vars.initDelay>0?n.startTimeout=setTimeout(n.play,n.vars.initDelay):n.play())),f&&m.asNav.setup(),r&&n.vars.touch&&m.touch(),(!p||p&&n.vars.smoothHeight)&&t(window).bind("resize orientationchange focus",m.resize),n.find("img").attr("draggable","false"),setTimeout(function(){n.vars.start(n)},200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(s+"active-slide").eq(n.currentItem).addClass(s+"active-slide"),a?(e._slider=n,n.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var i=t(this),o=i.index();t(n.vars.asNavFor).data("flexslider").animating||i.hasClass("active")||(n.direction=n.currentItem<o?"next":"prev",n.flexAnimate(o,n.vars.pauseOnAction,!1,!0,!0))})})):n.slides.on(l,function(e){e.preventDefault();var i=t(this),o=i.index(),a=i.offset().left-t(n).scrollLeft();0>=a&&i.hasClass(s+"active-slide")?n.flexAnimate(n.getTarget("prev"),!0):t(n.vars.asNavFor).data("flexslider").animating||i.hasClass(s+"active-slide")||(n.direction=n.currentItem<o?"next":"prev",n.flexAnimate(o,n.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){n.manualControls?m.controlNav.setupManual():m.controlNav.setupPaging()},setupPaging:function(){var e,i,o="thumbnails"===n.vars.controlNav?"control-thumbs":"control-paging",a=1;if(n.controlNavScaffold=t('<ol class="'+s+"control-nav "+s+o+'"></ol>'),n.pagingCount>1)for(var r=0;r<n.pagingCount;r++){if(i=n.slides.eq(r),e="thumbnails"===n.vars.controlNav?'<img src="'+i.attr("data-thumb")+'"/>':"<a>"+a+"</a>","thumbnails"===n.vars.controlNav&&!0===n.vars.thumbCaptions){var u=i.attr("data-thumbcaption");""!==u&&void 0!==u&&(e+='<span class="'+s+'caption">'+u+"</span>")}n.controlNavScaffold.append("<li>"+e+"</li>"),a++}n.controlsContainer?t(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),m.controlNav.set(),m.controlNav.active(),n.controlNavScaffold.delegate("a, img",l,function(e){if(e.preventDefault(),""===c||c===e.type){var i=t(this),o=n.controlNav.index(i);i.hasClass(s+"active")||(n.direction=o>n.currentSlide?"next":"prev",n.flexAnimate(o,n.vars.pauseOnAction))}""===c&&(c=e.type),m.setToClearWatchedEvent()})},setupManual:function(){n.controlNav=n.manualControls,m.controlNav.active(),n.controlNav.bind(l,function(e){if(e.preventDefault(),""===c||c===e.type){var i=t(this),o=n.controlNav.index(i);i.hasClass(s+"active")||(n.direction=o>n.currentSlide?"next":"prev",n.flexAnimate(o,n.vars.pauseOnAction))}""===c&&(c=e.type),m.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===n.vars.controlNav?"img":"a";n.controlNav=t("."+s+"control-nav li "+e,n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(s+"active").eq(n.animatingTo).addClass(s+"active")},update:function(e,i){n.pagingCount>1&&"add"===e?n.controlNavScaffold.append(t("<li><a>"+n.count+"</a></li>")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.controlNav.eq(i).closest("li").remove(),m.controlNav.set(),n.pagingCount>1&&n.pagingCount!==n.controlNav.length?n.update(i,e):m.controlNav.active()}},directionNav:{setup:function(){var e=t('<ul class="'+s+'direction-nav"><li class="'+s+'nav-prev"><a class="'+s+'prev" href="#">'+n.vars.prevText+'</a></li><li class="'+s+'nav-next"><a class="'+s+'next" href="#">'+n.vars.nextText+"</a></li></ul>");n.customDirectionNav?n.directionNav=n.customDirectionNav:n.controlsContainer?(t(n.controlsContainer).append(e),n.directionNav=t("."+s+"direction-nav li a",n.controlsContainer)):(n.append(e),n.directionNav=t("."+s+"direction-nav li a",n)),m.directionNav.update(),n.directionNav.bind(l,function(e){e.preventDefault();var i;(""===c||c===e.type)&&(i=n.getTarget(t(this).hasClass(s+"next")?"next":"prev"),
n.flexAnimate(i,n.vars.pauseOnAction)),""===c&&(c=e.type),m.setToClearWatchedEvent()})},update:function(){var t=s+"disabled";1===n.pagingCount?n.directionNav.addClass(t).attr("tabindex","-1"):n.vars.animationLoop?n.directionNav.removeClass(t).removeAttr("tabindex"):0===n.animatingTo?n.directionNav.removeClass(t).filter("."+s+"prev").addClass(t).attr("tabindex","-1"):n.animatingTo===n.last?n.directionNav.removeClass(t).filter("."+s+"next").addClass(t).attr("tabindex","-1"):n.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=t('<div class="'+s+'pauseplay"><a></a></div>');n.controlsContainer?(n.controlsContainer.append(e),n.pausePlay=t("."+s+"pauseplay a",n.controlsContainer)):(n.append(e),n.pausePlay=t("."+s+"pauseplay a",n)),m.pausePlay.update(n.vars.slideshow?s+"pause":s+"play"),n.pausePlay.bind(l,function(e){e.preventDefault(),(""===c||c===e.type)&&(t(this).hasClass(s+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())),""===c&&(c=e.type),m.setToClearWatchedEvent()})},update:function(t){"play"===t?n.pausePlay.removeClass(s+"pause").addClass(s+"play").php(n.vars.playText):n.pausePlay.removeClass(s+"play").addClass(s+"pause").php(n.vars.pauseText)}},touch:function(){function t(t){t.stopPropagation(),n.animating?t.preventDefault():(n.pause(),e._gesture.addPointer(t.pointerId),C=0,c=u?n.h:n.w,m=Number(new Date),l=h&&d&&n.animatingTo===n.last?0:h&&d?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:h&&n.currentSlide===n.last?n.limit:h?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:d?(n.last-n.currentSlide+n.cloneOffset)*c:(n.currentSlide+n.cloneOffset)*c)}function i(t){t.stopPropagation();var i=t.target._slider;if(i){var n=-t.translationX,o=-t.translationY;return C+=u?o:n,f=C,b=u?Math.abs(C)<Math.abs(-n):Math.abs(C)<Math.abs(-o),t.detail===t.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){e._gesture.stop()}):void((!b||Number(new Date)-m>500)&&(t.preventDefault(),!p&&i.transitions&&(i.vars.animationLoop||(f=C/(0===i.currentSlide&&0>C||i.currentSlide===i.last&&C>0?Math.abs(C)/c+2:1)),i.setProps(l+f,"setTouch"))))}}function o(t){t.stopPropagation();var e=t.target._slider;if(e){if(e.animatingTo===e.currentSlide&&!b&&null!==f){var i=d?-f:f,n=e.getTarget(i>0?"next":"prev");e.canAdvance(n)&&(Number(new Date)-m<550&&Math.abs(i)>50||Math.abs(i)>c/2)?e.flexAnimate(n,e.vars.pauseOnAction):p||e.flexAnimate(e.currentSlide,e.vars.pauseOnAction,!0)}s=null,r=null,f=null,l=null,C=0}}var s,r,l,c,f,m,g,v,y,b=!1,w=0,x=0,C=0;a?(e.style.msTouchAction="none",e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",t,!1),e._slider=n,e.addEventListener("MSGestureChange",i,!1),e.addEventListener("MSGestureEnd",o,!1)):(g=function(t){n.animating?t.preventDefault():(window.navigator.msPointerEnabled||1===t.touches.length)&&(n.pause(),c=u?n.h:n.w,m=Number(new Date),w=t.touches[0].pageX,x=t.touches[0].pageY,l=h&&d&&n.animatingTo===n.last?0:h&&d?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:h&&n.currentSlide===n.last?n.limit:h?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:d?(n.last-n.currentSlide+n.cloneOffset)*c:(n.currentSlide+n.cloneOffset)*c,s=u?x:w,r=u?w:x,e.addEventListener("touchmove",v,!1),e.addEventListener("touchend",y,!1))},v=function(t){w=t.touches[0].pageX,x=t.touches[0].pageY,f=u?s-x:s-w,b=u?Math.abs(f)<Math.abs(w-r):Math.abs(f)<Math.abs(x-r);var e=500;(!b||Number(new Date)-m>e)&&(t.preventDefault(),!p&&n.transitions&&(n.vars.animationLoop||(f/=0===n.currentSlide&&0>f||n.currentSlide===n.last&&f>0?Math.abs(f)/c+2:1),n.setProps(l+f,"setTouch")))},y=function(t){if(e.removeEventListener("touchmove",v,!1),n.animatingTo===n.currentSlide&&!b&&null!==f){var i=d?-f:f,o=n.getTarget(i>0?"next":"prev");n.canAdvance(o)&&(Number(new Date)-m<550&&Math.abs(i)>50||Math.abs(i)>c/2)?n.flexAnimate(o,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}e.removeEventListener("touchend",y,!1),s=null,r=null,f=null,l=null},e.addEventListener("touchstart",g,!1))},resize:function(){!n.animating&&n.is(":visible")&&(h||n.doMath(),p?m.smoothHeight():h?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):u?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(n.vars.smoothHeight&&m.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(t){if(!u||p){var e=p?n:n.viewport;t?e.animate({height:n.slides.eq(n.animatingTo).height()},t):e.height(n.slides.eq(n.animatingTo).height())}},sync:function(e){var i=t(n.vars.sync).data("flexslider"),o=n.animatingTo;switch(e){case"animate":i.flexAnimate(o,n.vars.pauseOnAction,!1,!0);break;case"play":i.playing||i.asNav||i.play();break;case"pause":i.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=t(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var t=m.pauseInvisible.getHiddenProp();if(t){var e=t.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(e,function(){m.pauseInvisible.isHidden()?n.startTimeout?clearTimeout(n.startTimeout):n.pause():n.started?n.play():n.vars.initDelay>0?setTimeout(n.play,n.vars.initDelay):n.play()})}},isHidden:function(){var t=m.pauseInvisible.getHiddenProp();return t?document[t]:!1},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(o),o=setTimeout(function(){c=""},3e3)}},n.flexAnimate=function(e,i,o,a,l){if(n.vars.animationLoop||e===n.currentSlide||(n.direction=e>n.currentSlide?"next":"prev"),f&&1===n.pagingCount&&(n.direction=n.currentItem<e?"next":"prev"),!n.animating&&(n.canAdvance(e,l)||o)&&n.is(":visible")){if(f&&a){var c=t(n.vars.asNavFor).data("flexslider");if(n.atEnd=0===e||e===n.count-1,c.flexAnimate(e,!0,!1,!0,l),n.direction=n.currentItem<e?"next":"prev",c.direction=n.direction,Math.ceil((e+1)/n.visible)-1===n.currentSlide||0===e)return n.currentItem=e,n.slides.removeClass(s+"active-slide").eq(e).addClass(s+"active-slide"),!1;n.currentItem=e,n.slides.removeClass(s+"active-slide").eq(e).addClass(s+"active-slide"),e=Math.floor(e/n.visible)}if(n.animating=!0,n.animatingTo=e,i&&n.pause(),n.vars.before(n),n.syncExists&&!l&&m.sync("animate"),n.vars.controlNav&&m.controlNav.active(),h||n.slides.removeClass(s+"active-slide").eq(e).addClass(s+"active-slide"),n.atEnd=0===e||e===n.last,n.vars.directionNav&&m.directionNav.update(),e===n.last&&(n.vars.end(n),n.vars.animationLoop||n.pause()),p)r?(n.slides.eq(n.currentSlide).css({opacity:0,zIndex:1}),n.slides.eq(e).css({opacity:1,zIndex:2}),n.wrapup(b)):(n.slides.eq(n.currentSlide).css({zIndex:1}).animate({opacity:0},n.vars.animationSpeed,n.vars.easing),n.slides.eq(e).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing,n.wrapup));else{var g,v,y,b=u?n.slides.filter(":first").height():n.computedW;h?(g=n.vars.itemMargin,y=(n.itemW+g)*n.move*n.animatingTo,v=y>n.limit&&1!==n.visible?n.limit:y):v=0===n.currentSlide&&e===n.count-1&&n.vars.animationLoop&&"next"!==n.direction?d?(n.count+n.cloneOffset)*b:0:n.currentSlide===n.last&&0===e&&n.vars.animationLoop&&"prev"!==n.direction?d?0:(n.count+1)*b:d?(n.count-1-e+n.cloneOffset)*b:(e+n.cloneOffset)*b,n.setProps(v,"",n.vars.animationSpeed),n.transitions?(n.vars.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(n.ensureAnimationEnd),n.wrapup(b)}),clearTimeout(n.ensureAnimationEnd),n.ensureAnimationEnd=setTimeout(function(){n.wrapup(b)},n.vars.animationSpeed+100)):n.container.animate(n.args,n.vars.animationSpeed,n.vars.easing,function(){n.wrapup(b)})}n.vars.smoothHeight&&m.smoothHeight(n.vars.animationSpeed)}},n.wrapup=function(t){p||h||(0===n.currentSlide&&n.animatingTo===n.last&&n.vars.animationLoop?n.setProps(t,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&n.vars.animationLoop&&n.setProps(t,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,n.vars.after(n)},n.animateSlides=function(){!n.animating&&g&&n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.animatedSlides=null,n.playing=!1,n.vars.pausePlay&&m.pausePlay.update("play"),n.syncExists&&m.sync("pause")},n.play=function(){n.playing&&clearInterval(n.animatedSlides),n.animatedSlides=n.animatedSlides||setInterval(n.animateSlides,n.vars.slideshowSpeed),n.started=n.playing=!0,n.vars.pausePlay&&m.pausePlay.update("pause"),n.syncExists&&m.sync("play")},n.stop=function(){n.pause(),n.stopped=!0},n.canAdvance=function(t,e){var i=f?n.pagingCount-1:n.last;return e?!0:f&&n.currentItem===n.count-1&&0===t&&"prev"===n.direction?!0:f&&0===n.currentItem&&t===n.pagingCount-1&&"next"!==n.direction?!1:t!==n.currentSlide||f?n.vars.animationLoop?!0:n.atEnd&&0===n.currentSlide&&t===i&&"next"!==n.direction?!1:n.atEnd&&n.currentSlide===i&&0===t&&"next"===n.direction?!1:!0:!1},n.getTarget=function(t){return n.direction=t,"next"===t?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(t,e,i){var o=function(){var i=t?t:(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo,o=function(){if(h)return"setTouch"===e?t:d&&n.animatingTo===n.last?0:d?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:i;switch(e){case"setTotal":return d?(n.count-1-n.currentSlide+n.cloneOffset)*t:(n.currentSlide+n.cloneOffset)*t;case"setTouch":return d?t:t;case"jumpEnd":return d?t:n.count*t;case"jumpStart":return d?n.count*t:t;default:return t}}();return-1*o+"px"}();n.transitions&&(o=u?"translate3d(0,"+o+",0)":"translate3d("+o+",0,0)",i=void 0!==i?i/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",i),n.container.css("transition-duration",i)),n.args[n.prop]=o,(n.transitions||void 0===i)&&n.container.css(n.args),n.container.css("transform",o)},n.setup=function(e){if(p)n.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===e&&(r?n.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+n.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(n.currentSlide).css({opacity:1,zIndex:2}):0==n.vars.fadeFirstSlide?n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).css({opacity:1}):n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing)),n.vars.smoothHeight&&m.smoothHeight();else{var i,o;"init"===e&&(n.viewport=t('<div class="'+s+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,d&&(o=t.makeArray(n.slides).reverse(),n.slides=t(o),n.container.empty().append(n.slides))),n.vars.animationLoop&&!h&&(n.cloneCount=2,n.cloneOffset=1,"init"!==e&&n.container.find(".clone").remove(),n.container.append(m.uniqueID(n.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(m.uniqueID(n.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),n.newSlides=t(n.vars.selector,n),i=d?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,u&&!h?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(i*n.h,"init")},"init"===e?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(i*n.computedW,"init"),setTimeout(function(){n.doMath(),n.newSlides.css({width:n.computedW,"float":"left",display:"block"}),n.vars.smoothHeight&&m.smoothHeight()},"init"===e?100:0))}h||n.slides.removeClass(s+"active-slide").eq(n.currentSlide).addClass(s+"active-slide"),n.vars.init(n)},n.doMath=function(){var t=n.slides.first(),e=n.vars.itemMargin,i=n.vars.minItems,o=n.vars.maxItems;n.w=void 0===n.viewport?n.width():n.viewport.width(),n.h=t.height(),n.boxPadding=t.outerWidth()-t.width(),h?(n.itemT=n.vars.itemWidth+e,n.minW=i?i*n.itemT:n.w,n.maxW=o?o*n.itemT-e:n.w,n.itemW=n.minW>n.w?(n.w-e*(i-1))/i:n.maxW<n.w?(n.w-e*(o-1))/o:n.vars.itemWidth>n.w?n.w:n.vars.itemWidth,n.visible=Math.floor(n.w/n.itemW),n.move=n.vars.move>0&&n.vars.move<n.visible?n.vars.move:n.visible,n.pagingCount=Math.ceil((n.count-n.visible)/n.move+1),n.last=n.pagingCount-1,n.limit=1===n.pagingCount?0:n.vars.itemWidth>n.w?n.itemW*(n.count-1)+e*(n.count-1):(n.itemW+e)*n.count-n.w-e):(n.itemW=n.w,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding},n.update=function(t,e){n.doMath(),h||(t<n.currentSlide?n.currentSlide+=1:t<=n.currentSlide&&0!==t&&(n.currentSlide-=1),n.animatingTo=n.currentSlide),n.vars.controlNav&&!n.manualControls&&("add"===e&&!h||n.pagingCount>n.controlNav.length?m.controlNav.update("add"):("remove"===e&&!h||n.pagingCount<n.controlNav.length)&&(h&&n.currentSlide>n.last&&(n.currentSlide-=1,n.animatingTo-=1),m.controlNav.update("remove",n.last))),n.vars.directionNav&&m.directionNav.update()},n.addSlide=function(e,i){var o=t(e);n.count+=1,n.last=n.count-1,u&&d?void 0!==i?n.slides.eq(n.count-i).after(o):n.container.prepend(o):void 0!==i?n.slides.eq(i).before(o):n.container.append(o),n.update(i,"add"),n.slides=t(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.added(n)},n.removeSlide=function(e){var i=isNaN(e)?n.slides.index(t(e)):e;n.count-=1,n.last=n.count-1,isNaN(e)?t(e,n.slides).remove():u&&d?n.slides.eq(n.last).remove():n.slides.eq(e).remove(),n.doMath(),n.update(i,"remove"),n.slides=t(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.removed(n)},m.init()},t(window).blur(function(t){focused=!1}).focus(function(t){focused=!0}),t.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},t.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var i=t(this),n=e.selector?e.selector:".slides > li",o=i.find(n);1===o.length&&e.allowOneSlide===!0||0===o.length?(o.fadeIn(400),e.start&&e.start(i)):void 0===i.data("flexslider")&&new t.flexslider(this,e)});var i=t(this).data("flexslider");switch(e){case"play":i.play();break;case"pause":i.pause();break;case"stop":i.stop();break;case"next":i.flexAnimate(i.getTarget("next"),!0);break;case"prev":case"previous":i.flexAnimate(i.getTarget("prev"),!0);break;default:"number"==typeof e&&i.flexAnimate(e,!0)}}}(jQuery),function(){var t,e,i,n,o,s,a,r,l,c,u,d,h,p,f,m,g,v,y,b,w,x,C,S,T,A,k,E,P,j,M,L,F=[].slice;g='<span class="odometer-value"></span>',p='<span class="odometer-ribbon"><span class="odometer-ribbon-inner">'+g+"</span></span>",n='<span class="odometer-digit"><span class="odometer-digit-spacer">8</span><span class="odometer-digit-inner">'+p+"</span></span>",a='<span class="odometer-formatting-mark"></span>',i="(,ddd).dd",r=/^\(?([^)]*)\)?(?:(.)(d+))?$/,l=30,s=2e3,t=20,c=2,o=.5,u=1e3/l,e=1e3/t,f="transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",T=document.createElement("div").style,m=null!=T.transition||null!=T.webkitTransition||null!=T.mozTransition||null!=T.oTransition,C=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,y=function(t){var e;return e=document.createElement("div"),e.innerHTML=t,e.children[0]},x=function(t,e){return t.className=t.className.replace(new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi")," ")},v=function(t,e){return x(t,e),t.className+=" "+e},A=function(t,e){var i;return null!=document.createEvent?(i=document.createEvent("HTMLEvents"),i.initEvent(e,!0,!0),t.dispatchEvent(i)):void 0},w=function(){var t,e;return null!=(t=null!=(e=window.performance)&&"function"==typeof e.now?e.now():void 0)?t:+new Date},S=function(t,e){return null==e&&(e=0),e?(t*=Math.pow(10,e),t+=.5,t=Math.floor(t),t/=Math.pow(10,e)):Math.round(t)},k=function(t){return 0>t?Math.ceil(t):Math.floor(t)},b=function(t){return t-S(t)},P=!1,(E=function(){var t,e,i,n,o;if(!P&&null!=window.jQuery){for(P=!0,n=["html","text"],o=[],e=0,i=n.length;i>e;e++)t=n[e],o.push(function(t){var e;return e=window.jQuery.fn[t],window.jQuery.fn[t]=function(t){var i;return null==t||null==(null!=(i=this[0])?i.odometer:void 0)?e.apply(this,arguments):this[0].odometer.update(t)}}(t));return o}})(),setTimeout(E,0),h=function(){function t(e){var i,n,o,a,r,l,d,h,p,f,m=this;if(this.options=e,this.el=this.options.el,null!=this.el.odometer)return this.el.odometer;this.el.odometer=this,h=t.options;for(n in h)a=h[n],null==this.options[n]&&(this.options[n]=a);null==(r=this.options).duration&&(r.duration=s),this.MAX_VALUES=this.options.duration/u/c|0,this.resetFormat(),this.value=this.cleanValue(null!=(p=this.options.value)?p:""),this.renderInside(),this.render();try{for(f=["innerHTML","innerText","textContent"],l=0,d=f.length;d>l;l++)o=f[l],null!=this.el[o]&&!function(t){return Object.defineProperty(m.el,t,{get:function(){var e;return"innerHTML"===t?m.inside.outerHTML:null!=(e=m.inside.innerText)?e:m.inside.textContent},set:function(t){return m.update(t)}})}(o)}catch(g){i=g,this.watchForMutations()}}return t.prototype.renderInside=function(){return this.inside=document.createElement("div"),this.inside.className="odometer-inside",this.el.innerHTML="",this.el.appendChild(this.inside)},t.prototype.watchForMutations=function(){var t,e=this;if(null!=d)try{return null==this.observer&&(this.observer=new d(function(){var t;return t=e.el.innerText,e.renderInside(),e.render(e.value),e.update(t)})),this.watchMutations=!0,this.startWatchingMutations()}catch(i){t=i}},t.prototype.startWatchingMutations=function(){return this.watchMutations?this.observer.observe(this.el,{childList:!0}):void 0},t.prototype.stopWatchingMutations=function(){var t;return null!=(t=this.observer)?t.disconnect():void 0},t.prototype.cleanValue=function(t){var e;return"string"==typeof t&&(t=t.replace(null!=(e=this.format.radix)?e:".","<radix>"),t=t.replace(/[.,]/g,""),t=t.replace("<radix>","."),t=parseFloat(t,10)||0),S(t,this.format.precision)},t.prototype.bindTransitionEnd=function(){var t,e,i,n,o,s,a=this;if(!this.transitionEndBound){for(this.transitionEndBound=!0,e=!1,o=f.split(" "),s=[],i=0,n=o.length;n>i;i++)t=o[i],s.push(this.el.addEventListener(t,function(){return e?!0:(e=!0,setTimeout(function(){return a.render(),e=!1,A(a.el,"odometerdone")},0),!0)},!1));return s}},t.prototype.resetFormat=function(){var t,e,n,o,s,a,l,c;if(t=null!=(l=this.options.format)?l:i,t||(t="d"),n=r.exec(t),!n)throw new Error("Odometer: Unparsable digit format");return c=n.slice(1,4),a=c[0],s=c[1],e=c[2],o=(null!=e?e.length:void 0)||0,this.format={repeating:a,radix:s,precision:o}},t.prototype.render=function(t){var e,i,n,o,s,a,r;for(null==t&&(t=this.value),this.stopWatchingMutations(),this.resetFormat(),this.inside.innerHTML="",s=this.options.theme,e=this.el.className.split(" "),o=[],a=0,r=e.length;r>a;a++)i=e[a],i.length&&((n=/^odometer-theme-(.+)$/.exec(i))?s=n[1]:/^odometer(-|$)/.test(i)||o.push(i));return o.push("odometer"),m||o.push("odometer-no-transitions"),o.push(s?"odometer-theme-"+s:"odometer-auto-theme"),this.el.className=o.join(" "),this.ribbons={},this.formatDigits(t),this.startWatchingMutations()},t.prototype.formatDigits=function(t){var e,i,n,o,s,a,r,l,c,u;if(this.digits=[],this.options.formatFunction)for(n=this.options.formatFunction(t),c=n.split("").reverse(),s=0,r=c.length;r>s;s++)i=c[s],i.match(/0-9/)?(e=this.renderDigit(),e.querySelector(".odometer-value").innerHTML=i,this.digits.push(e),this.insertDigit(e)):this.addSpacer(i);else for(o=!this.format.precision||!b(t)||!1,u=t.toString().split("").reverse(),a=0,l=u.length;l>a;a++)e=u[a],"."===e&&(o=!0),this.addDigit(e,o)},t.prototype.update=function(t){var e,i=this;return t=this.cleanValue(t),(e=t-this.value)?(x(this.el,"odometer-animating-up odometer-animating-down odometer-animating"),e>0?v(this.el,"odometer-animating-up"):v(this.el,"odometer-animating-down"),this.stopWatchingMutations(),this.animate(t),this.startWatchingMutations(),setTimeout(function(){return i.el.offsetHeight,v(i.el,"odometer-animating")},0),this.value=t):void 0},t.prototype.renderDigit=function(){return y(n)},t.prototype.insertDigit=function(t,e){return null!=e?this.inside.insertBefore(t,e):this.inside.children.length?this.inside.insertBefore(t,this.inside.children[0]):this.inside.appendChild(t)},t.prototype.addSpacer=function(t,e,i){var n;return n=y(a),n.innerHTML=t,i&&v(n,i),this.insertDigit(n,e)},t.prototype.addDigit=function(t,e){var i,n,o,s;if(null==e&&(e=!0),"-"===t)return this.addSpacer(t,null,"odometer-negation-mark");if("."===t)return this.addSpacer(null!=(s=this.format.radix)?s:".",null,"odometer-radix-mark");if(e)for(o=!1;;){if(!this.format.repeating.length){if(o)throw new Error("Bad odometer format without digits");this.resetFormat(),o=!0}if(i=this.format.repeating[this.format.repeating.length-1],this.format.repeating=this.format.repeating.substring(0,this.format.repeating.length-1),"d"===i)break;this.addSpacer(i)}return n=this.renderDigit(),n.querySelector(".odometer-value").innerHTML=t,this.digits.push(n),this.insertDigit(n)},t.prototype.animate=function(t){return m&&"count"!==this.options.animation?this.animateSlide(t):this.animateCount(t)},t.prototype.animateCount=function(t){var i,n,o,s,a,r=this;return(n=+t-this.value)?(s=o=w(),i=this.value,(a=function(){var l,c,u;return w()-s>r.options.duration?(r.value=t,r.render(),void A(r.el,"odometerdone")):(l=w()-o,l>e&&(o=w(),u=l/r.options.duration,c=n*u,i+=c,r.render(Math.round(i))),null!=C?C(a):setTimeout(a,e))})()):void 0},t.prototype.getDigitCount=function(){var t,e,i,n,o,s;for(n=1<=arguments.length?F.call(arguments,0):[],t=o=0,s=n.length;s>o;t=++o)i=n[t],n[t]=Math.abs(i);return e=Math.max.apply(Math,n),Math.ceil(Math.log(e+1)/Math.log(10))},t.prototype.getFractionalDigitCount=function(){var t,e,i,n,o,s,a;for(o=1<=arguments.length?F.call(arguments,0):[],e=/^\-?\d*\.(\d*?)0*$/,t=s=0,a=o.length;a>s;t=++s)n=o[t],o[t]=n.toString(),i=e.exec(o[t]),o[t]=null==i?0:i[1].length;return Math.max.apply(Math,o)},t.prototype.resetDigits=function(){return this.digits=[],this.ribbons=[],this.inside.innerHTML="",this.resetFormat()},t.prototype.animateSlide=function(t){var e,i,n,s,a,r,l,c,u,d,h,p,f,m,g,y,b,w,x,C,S,T,A,E,P,j,M;if(y=this.value,c=this.getFractionalDigitCount(y,t),c&&(t*=Math.pow(10,c),y*=Math.pow(10,c)),n=t-y){for(this.bindTransitionEnd(),s=this.getDigitCount(y,t),a=[],e=0,h=x=0;s>=0?s>x:x>s;h=s>=0?++x:--x){if(b=k(y/Math.pow(10,s-h-1)),l=k(t/Math.pow(10,s-h-1)),r=l-b,Math.abs(r)>this.MAX_VALUES){for(d=[],p=r/(this.MAX_VALUES+this.MAX_VALUES*e*o),i=b;r>0&&l>i||0>r&&i>l;)d.push(Math.round(i)),i+=p;d[d.length-1]!==l&&d.push(l),e++}else d=function(){M=[];for(var t=b;l>=b?l>=t:t>=l;l>=b?t++:t--)M.push(t);return M}.apply(this);for(h=C=0,T=d.length;T>C;h=++C)u=d[h],d[h]=Math.abs(u%10);a.push(d)}for(this.resetDigits(),j=a.reverse(),h=S=0,A=j.length;A>S;h=++S)for(d=j[h],this.digits[h]||this.addDigit(" ",h>=c),null==(w=this.ribbons)[h]&&(w[h]=this.digits[h].querySelector(".odometer-ribbon-inner")),this.ribbons[h].innerHTML="",0>n&&(d=d.reverse()),f=P=0,E=d.length;E>P;f=++P)u=d[f],g=document.createElement("div"),g.className="odometer-value",g.innerHTML=u,this.ribbons[h].appendChild(g),f===d.length-1&&v(g,"odometer-last-value"),0===f&&v(g,"odometer-first-value");return 0>b&&this.addDigit("-"),m=this.inside.querySelector(".odometer-radix-mark"),null!=m&&m.parent.removeChild(m),c?this.addSpacer(this.format.radix,this.digits[c-1],"odometer-radix-mark"):void 0}},t}(),h.options=null!=(M=window.odometerOptions)?M:{},setTimeout(function(){var t,e,i,n,o;if(window.odometerOptions){n=window.odometerOptions,o=[];for(t in n)e=n[t],o.push(null!=(i=h.options)[t]?(i=h.options)[t]:i[t]=e);return o}},0),h.init=function(){var t,e,i,n,o,s;if(null!=document.querySelectorAll){for(e=document.querySelectorAll(h.options.selector||".odometer"),s=[],i=0,n=e.length;n>i;i++)t=e[i],s.push(t.odometer=new h({el:t,value:null!=(o=t.innerText)?o:t.textContent}));return s}},null!=(null!=(L=document.documentElement)?L.doScroll:void 0)&&null!=document.createEventObject?(j=document.onreadystatechange,document.onreadystatechange=function(){return"complete"===document.readyState&&h.options.auto!==!1&&h.init(),null!=j?j.apply(this,arguments):void 0}):document.addEventListener("DOMContentLoaded",function(){return h.options.auto!==!1?h.init():void 0},!1),"function"==typeof define&&define.amd?define(["jquery"],function(){return h}):typeof exports===!1?module.exports=h:window.Odometer=h}.call(this),function(){"use strict";var t=this,e=t.Chart,i=function(t){this.canvas=t.canvas,this.ctx=t;var e=function(t,e){return t["offset"+e]?t["offset"+e]:document.defaultView.getComputedStyle(t).getPropertyValue(e)},i=this.width=e(t.canvas,"Width"),o=this.height=e(t.canvas,"Height");t.canvas.width=i,t.canvas.height=o;var i=this.width=t.canvas.width,o=this.height=t.canvas.height;return this.aspectRatio=this.width/this.height,n.retinaScale(this),this};i.defaults={global:{animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:"<%=value%>",scaleIntegersOnly:!0,scaleBeginAtZero:!1,scaleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",responsive:!1,maintainAspectRatio:!0,showTooltips:!0,customTooltips:!1,tooltipEvents:["mousemove","touchstart","touchmove","mouseout"],tooltipFillColor:"rgba(0,0,0,0.8)",tooltipFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipFontSize:14,tooltipFontStyle:"normal",tooltipFontColor:"#fff",tooltipTitleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipTitleFontSize:14,tooltipTitleFontStyle:"bold",tooltipTitleFontColor:"#fff",tooltipYPadding:6,tooltipXPadding:6,tooltipCaretSize:8,tooltipCornerRadius:6,tooltipXOffset:10,tooltipTemplate:"<%if (label){%><%=label%>: <%}%><%= value %>",multiTooltipTemplate:"<%= value %>",multiTooltipKeyBackground:"#fff",onAnimationProgress:function(){},onAnimationComplete:function(){}}},i.types={};var n=i.helpers={},o=n.each=function(t,e,i){var n=Array.prototype.slice.call(arguments,3);if(t)if(t.length===+t.length){var o;for(o=0;o<t.length;o++)e.apply(i,[t[o],o].concat(n))}else for(var s in t)e.apply(i,[t[s],s].concat(n))},s=n.clone=function(t){var e={};return o(t,function(i,n){t.hasOwnProperty(n)&&(e[n]=i)}),e},a=n.extend=function(t){return o(Array.prototype.slice.call(arguments,1),function(e){o(e,function(i,n){e.hasOwnProperty(n)&&(t[n]=i)})}),t},r=n.merge=function(){var t=Array.prototype.slice.call(arguments,0);return t.unshift({}),a.apply(null,t)},l=n.indexOf=function(t,e){if(Array.prototype.indexOf)return t.indexOf(e);for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1},c=(n.where=function(t,e){var i=[];return n.each(t,function(t){e(t)&&i.push(t)}),i},n.findNextWhere=function(t,e,i){i||(i=-1);for(var n=i+1;n<t.length;n++){var o=t[n];if(e(o))return o}},n.findPreviousWhere=function(t,e,i){i||(i=t.length);for(var n=i-1;n>=0;n--){var o=t[n];if(e(o))return o}},n.inherits=function(t){var e=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},n=function(){this.constructor=i};return n.prototype=e.prototype,i.prototype=new n,i.extend=c,t&&a(i.prototype,t),i.__super__=e.prototype,i}),u=n.noop=function(){},d=n.uid=function(){var t=0;return function(){return"chart-"+t++}}(),h=n.warn=function(t){window.console&&"function"==typeof window.console.warn&&console.warn(t)},p=n.amd="function"==typeof define&&define.amd,f=n.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},m=n.max=function(t){return Math.max.apply(Math,t)},g=n.min=function(t){return Math.min.apply(Math,t)},v=(n.cap=function(t,e,i){if(f(e)){if(t>e)return e}else if(f(i)&&i>t)return i;return t},n.getDecimalPlaces=function(t){return t%1!==0&&f(t)?t.toString().split(".")[1].length:0}),y=n.radians=function(t){return t*(Math.PI/180)},b=(n.getAngleFromPoint=function(t,e){var i=e.x-t.x,n=e.y-t.y,o=Math.sqrt(i*i+n*n),s=2*Math.PI+Math.atan2(n,i);return 0>i&&0>n&&(s+=2*Math.PI),{angle:s,distance:o}},n.aliasPixel=function(t){return t%2===0?0:.5}),w=(n.splineCurve=function(t,e,i,n){var o=Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)),s=Math.sqrt(Math.pow(i.x-e.x,2)+Math.pow(i.y-e.y,2)),a=n*o/(o+s),r=n*s/(o+s);return{inner:{x:e.x-a*(i.x-t.x),y:e.y-a*(i.y-t.y)},outer:{x:e.x+r*(i.x-t.x),y:e.y+r*(i.y-t.y)}}},n.calculateOrderOfMagnitude=function(t){return Math.floor(Math.log(t)/Math.LN10)}),x=(n.calculateScaleRange=function(t,e,i,n,o){var s=2,a=Math.floor(e/(1.5*i)),r=s>=a,l=m(t),c=g(t);l===c&&(l+=.5,c>=.5&&!n?c-=.5:l+=.5);for(var u=Math.abs(l-c),d=w(u),h=Math.ceil(l/(1*Math.pow(10,d)))*Math.pow(10,d),p=n?0:Math.floor(c/(1*Math.pow(10,d)))*Math.pow(10,d),f=h-p,v=Math.pow(10,d),y=Math.round(f/v);(y>a||a>2*y)&&!r;)if(y>a)v*=2,y=Math.round(f/v),y%1!==0&&(r=!0);else if(o&&d>=0){if(v/2%1!==0)break;v/=2,y=Math.round(f/v)}else v/=2,y=Math.round(f/v);return r&&(y=s,v=f/y),{steps:y,stepValue:v,min:p,max:p+y*v}},n.template=function(t,e){function i(t,e){var i=/\W/.test(t)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+t.replace(/[\r\t\n]/g," ").split("<%").join("	").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split("	").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');"):n[t]=n[t];return e?i(e):i}if(t instanceof Function)return t(e);var n={};return i(t,e)}),C=(n.generateLabels=function(t,e,i,n){var s=new Array(e);return labelTemplateString&&o(s,function(e,o){s[o]=x(t,{value:i+n*(o+1)})}),s},n.easingEffects={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-1)*t*t+1)},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-1)*t*t*t*t+1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(t/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return 0===t?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return 1===t?1:1*(-Math.pow(2,-10*t/1)+1)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(-Math.pow(2,-10*--t)+2)},easeInCirc:function(t){return t>=1?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){
var e=1.70158,i=0,n=1;return 0===t?0:1==(t/=1)?1:(i||(i=.3),n<Math.abs(1)?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),-(n*Math.pow(2,10*(t-=1))*Math.sin(2*(1*t-e)*Math.PI/i)))},easeOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1==(t/=1)?1:(i||(i=.3),n<Math.abs(1)?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin(2*(1*t-e)*Math.PI/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:2==(t/=.5)?1:(i||(i=.3*1.5),n<Math.abs(1)?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),1>t?-.5*n*Math.pow(2,10*(t-=1))*Math.sin(2*(1*t-e)*Math.PI/i):n*Math.pow(2,-10*(t-=1))*Math.sin(2*(1*t-e)*Math.PI/i)*.5+1)},easeInBack:function(t){var e=1.70158;return 1*(t/=1)*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return 1*((t=t/1-1)*t*((e+1)*t+e)+1)},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?.5*t*t*(((e*=1.525)+1)*t-e):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:function(t){return 1-C.easeOutBounce(1-t)},easeOutBounce:function(t){return(t/=1)<1/2.75?7.5625*t*t:2/2.75>t?1*(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1*(7.5625*(t-=2.25/2.75)*t+.9375):1*(7.5625*(t-=2.625/2.75)*t+.984375)},easeInOutBounce:function(t){return.5>t?.5*C.easeInBounce(2*t):.5*C.easeOutBounce(2*t-1)+.5}}),S=n.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),T=n.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t,1e3/60)}}(),A=(n.animationLoop=function(t,e,i,n,o,s){var a=0,r=C[i]||C.linear,l=function(){a++;var i=a/e,c=r(i);t.call(s,c,i,a),n.call(s,c,i),e>a?s.animationFrame=S(l):o.apply(s)};S(l)},n.getRelativePosition=function(t){var e,i,n=t.originalEvent||t,o=t.currentTarget||t.srcElement,s=o.getBoundingClientRect();return n.touches?(e=n.touches[0].clientX-s.left,i=n.touches[0].clientY-s.top):(e=n.clientX-s.left,i=n.clientY-s.top),{x:e,y:i}},n.addEvent=function(t,e,i){t.addEventListener?t.addEventListener(e,i):t.attachEvent?t.attachEvent("on"+e,i):t["on"+e]=i}),k=n.removeEvent=function(t,e,i){t.removeEventListener?t.removeEventListener(e,i,!1):t.detachEvent?t.detachEvent("on"+e,i):t["on"+e]=u},E=(n.bindEvents=function(t,e,i){t.events||(t.events={}),o(e,function(e){t.events[e]=function(){i.apply(t,arguments)},A(t.chart.canvas,e,t.events[e])})},n.unbindEvents=function(t,e){o(e,function(e,i){k(t.chart.canvas,i,e)})}),P=n.getMaximumWidth=function(t){var e=t.parentNode;return e.clientWidth},j=n.getMaximumHeight=function(t){var e=t.parentNode;return e.clientHeight},M=(n.getMaximumSize=n.getMaximumWidth,n.retinaScale=function(t){var e=t.ctx,i=t.canvas.width,n=t.canvas.height;window.devicePixelRatio&&(e.canvas.style.width=i+"px",e.canvas.style.height=n+"px",e.canvas.height=n*window.devicePixelRatio,e.canvas.width=i*window.devicePixelRatio,e.scale(window.devicePixelRatio,window.devicePixelRatio))}),L=n.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},F=n.fontString=function(t,e,i){return e+" "+t+"px "+i},I=n.longestText=function(t,e,i){t.font=e;var n=0;return o(i,function(e){var i=t.measureText(e).width;n=i>n?i:n}),n},N=n.drawRoundedRectangle=function(t,e,i,n,o,s){t.beginPath(),t.moveTo(e+s,i),t.lineTo(e+n-s,i),t.quadraticCurveTo(e+n,i,e+n,i+s),t.lineTo(e+n,i+o-s),t.quadraticCurveTo(e+n,i+o,e+n-s,i+o),t.lineTo(e+s,i+o),t.quadraticCurveTo(e,i+o,e,i+o-s),t.lineTo(e,i+s),t.quadraticCurveTo(e,i,e+s,i),t.closePath()};i.instances={},i.Type=function(t,e,n){this.options=e,this.chart=n,this.id=d(),i.instances[this.id]=this,e.responsive&&this.resize(),this.initialize.call(this,t)},a(i.Type.prototype,{initialize:function(){return this},clear:function(){return L(this.chart),this},stop:function(){return T(this.animationFrame),this},resize:function(t){this.stop();var e=this.chart.canvas,i=P(this.chart.canvas),n=this.options.maintainAspectRatio?i/this.chart.aspectRatio:j(this.chart.canvas);return e.width=this.chart.width=i,e.height=this.chart.height=n,M(this.chart),"function"==typeof t&&t.apply(this,Array.prototype.slice.call(arguments,1)),this},reflow:u,render:function(t){return t&&this.reflow(),this.options.animation&&!t?n.animationLoop(this.draw,this.options.animationSteps,this.options.animationEasing,this.options.onAnimationProgress,this.options.onAnimationComplete,this):(this.draw(),this.options.onAnimationComplete.call(this)),this},generateLegend:function(){return x(this.options.legendTemplate,this)},destroy:function(){this.clear(),E(this,this.events);var t=this.chart.canvas;t.width=this.chart.width,t.height=this.chart.height,t.style.removeProperty?(t.style.removeProperty("width"),t.style.removeProperty("height")):(t.style.removeAttribute("width"),t.style.removeAttribute("height")),delete i.instances[this.id]},showTooltip:function(t,e){"undefined"==typeof this.activeElements&&(this.activeElements=[]);var s=function(t){var e=!1;return t.length!==this.activeElements.length?e=!0:(o(t,function(t,i){t!==this.activeElements[i]&&(e=!0)},this),e)}.call(this,t);if(s||e){if(this.activeElements=t,this.draw(),this.options.customTooltips&&this.options.customTooltips(!1),t.length>0)if(this.datasets&&this.datasets.length>1){for(var a,r,c=this.datasets.length-1;c>=0&&(a=this.datasets[c].points||this.datasets[c].bars||this.datasets[c].segments,r=l(a,t[0]),-1===r);c--);var u=[],d=[],h=function(){var t,e,i,o,s,a=[],l=[],c=[];return n.each(this.datasets,function(e){t=e.points||e.bars||e.segments,t[r]&&t[r].hasValue()&&a.push(t[r])}),n.each(a,function(t){l.push(t.x),c.push(t.y),u.push(n.template(this.options.multiTooltipTemplate,t)),d.push({fill:t._saved.fillColor||t.fillColor,stroke:t._saved.strokeColor||t.strokeColor})},this),s=g(c),i=m(c),o=g(l),e=m(l),{x:o>this.chart.width/2?o:e,y:(s+i)/2}}.call(this,r);new i.MultiTooltip({x:h.x,y:h.y,xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,xOffset:this.options.tooltipXOffset,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,titleTextColor:this.options.tooltipTitleFontColor,titleFontFamily:this.options.tooltipTitleFontFamily,titleFontStyle:this.options.tooltipTitleFontStyle,titleFontSize:this.options.tooltipTitleFontSize,cornerRadius:this.options.tooltipCornerRadius,labels:u,legendColors:d,legendColorBackground:this.options.multiTooltipKeyBackground,title:t[0].label,chart:this.chart,ctx:this.chart.ctx,custom:this.options.customTooltips}).draw()}else o(t,function(t){var e=t.tooltipPosition();new i.Tooltip({x:Math.round(e.x),y:Math.round(e.y),xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,caretHeight:this.options.tooltipCaretSize,cornerRadius:this.options.tooltipCornerRadius,text:x(this.options.tooltipTemplate,t),chart:this.chart,custom:this.options.customTooltips}).draw()},this);return this}},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)}}),i.Type.extend=function(t){var e=this,n=function(){return e.apply(this,arguments)};if(n.prototype=s(e.prototype),a(n.prototype,t),n.extend=i.Type.extend,t.name||e.prototype.name){var o=t.name||e.prototype.name,l=i.defaults[e.prototype.name]?s(i.defaults[e.prototype.name]):{};i.defaults[o]=a(l,t.defaults),i.types[o]=n,i.prototype[o]=function(t,e){var s=r(i.defaults.global,i.defaults[o],e||{});return new n(t,s,this)}}else h("Name not provided for this chart, so it hasn't been registered");return e},i.Element=function(t){a(this,t),this.initialize.apply(this,arguments),this.save()},a(i.Element.prototype,{initialize:function(){},restore:function(t){return t?o(t,function(t){this[t]=this._saved[t]},this):a(this,this._saved),this},save:function(){return this._saved=s(this),delete this._saved._saved,this},update:function(t){return o(t,function(t,e){this._saved[e]=this[e],this[e]=t},this),this},transition:function(t,e){return o(t,function(t,i){this[i]=(t-this._saved[i])*e+this._saved[i]},this),this},tooltipPosition:function(){return{x:this.x,y:this.y}},hasValue:function(){return f(this.value)}}),i.Element.extend=c,i.Point=i.Element.extend({display:!0,inRange:function(t,e){var i=this.hitDetectionRadius+this.radius;return Math.pow(t-this.x,2)+Math.pow(e-this.y,2)<Math.pow(i,2)},draw:function(){if(this.display){var t=this.ctx;t.beginPath(),t.arc(this.x,this.y,this.radius,0,2*Math.PI),t.closePath(),t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.fillStyle=this.fillColor,t.fill(),t.stroke()}}}),i.Arc=i.Element.extend({inRange:function(t,e){var i=n.getAngleFromPoint(this,{x:t,y:e}),o=i.angle>=this.startAngle&&i.angle<=this.endAngle,s=i.distance>=this.innerRadius&&i.distance<=this.outerRadius;return o&&s},tooltipPosition:function(){var t=this.startAngle+(this.endAngle-this.startAngle)/2,e=(this.outerRadius-this.innerRadius)/2+this.innerRadius;return{x:this.x+Math.cos(t)*e,y:this.y+Math.sin(t)*e}},draw:function(t){var e=this.ctx;e.beginPath(),e.arc(this.x,this.y,this.outerRadius,this.startAngle,this.endAngle),e.arc(this.x,this.y,this.innerRadius,this.endAngle,this.startAngle,!0),e.closePath(),e.strokeStyle=this.strokeColor,e.lineWidth=this.strokeWidth,e.fillStyle=this.fillColor,e.fill(),e.lineJoin="bevel",this.showStroke&&e.stroke()}}),i.Rectangle=i.Element.extend({draw:function(){var t=this.ctx,e=this.width/2,i=this.x-e,n=this.x+e,o=this.base-(this.base-this.y),s=this.strokeWidth/2;this.showStroke&&(i+=s,n-=s,o+=s),t.beginPath(),t.fillStyle=this.fillColor,t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.moveTo(i,this.base),t.lineTo(i,o),t.lineTo(n,o),t.lineTo(n,this.base),t.fill(),this.showStroke&&t.stroke()},height:function(){return this.base-this.y},inRange:function(t,e){return t>=this.x-this.width/2&&t<=this.x+this.width/2&&e>=this.y&&e<=this.base}}),i.Tooltip=i.Element.extend({draw:function(){var t=this.chart.ctx;t.font=F(this.fontSize,this.fontStyle,this.fontFamily),this.xAlign="center",this.yAlign="above";var e=this.caretPadding=2,i=t.measureText(this.text).width+2*this.xPadding,n=this.fontSize+2*this.yPadding,o=n+this.caretHeight+e;this.x+i/2>this.chart.width?this.xAlign="left":this.x-i/2<0&&(this.xAlign="right"),this.y-o<0&&(this.yAlign="below");var s=this.x-i/2,a=this.y-o;if(t.fillStyle=this.fillColor,this.custom)this.custom(this);else{switch(this.yAlign){case"above":t.beginPath(),t.moveTo(this.x,this.y-e),t.lineTo(this.x+this.caretHeight,this.y-(e+this.caretHeight)),t.lineTo(this.x-this.caretHeight,this.y-(e+this.caretHeight)),t.closePath(),t.fill();break;case"below":a=this.y+e+this.caretHeight,t.beginPath(),t.moveTo(this.x,this.y+e),t.lineTo(this.x+this.caretHeight,this.y+e+this.caretHeight),t.lineTo(this.x-this.caretHeight,this.y+e+this.caretHeight),t.closePath(),t.fill()}switch(this.xAlign){case"left":s=this.x-i+(this.cornerRadius+this.caretHeight);break;case"right":s=this.x-(this.cornerRadius+this.caretHeight)}N(t,s,a,i,n,this.cornerRadius),t.fill(),t.fillStyle=this.textColor,t.textAlign="center",t.textBaseline="middle",t.fillText(this.text,s+i/2,a+n/2)}}}),i.MultiTooltip=i.Element.extend({initialize:function(){this.font=F(this.fontSize,this.fontStyle,this.fontFamily),this.titleFont=F(this.titleFontSize,this.titleFontStyle,this.titleFontFamily),this.height=this.labels.length*this.fontSize+(this.labels.length-1)*(this.fontSize/2)+2*this.yPadding+1.5*this.titleFontSize,this.ctx.font=this.titleFont;var t=this.ctx.measureText(this.title).width,e=I(this.ctx,this.font,this.labels)+this.fontSize+3,i=m([e,t]);this.width=i+2*this.xPadding;var n=this.height/2;this.y-n<0?this.y=n:this.y+n>this.chart.height&&(this.y=this.chart.height-n),this.x>this.chart.width/2?this.x-=this.xOffset+this.width:this.x+=this.xOffset},getLineHeight:function(t){var e=this.y-this.height/2+this.yPadding,i=t-1;return 0===t?e+this.titleFontSize/2:e+(1.5*this.fontSize*i+this.fontSize/2)+1.5*this.titleFontSize},draw:function(){if(this.custom)this.custom(this);else{N(this.ctx,this.x,this.y-this.height/2,this.width,this.height,this.cornerRadius);var t=this.ctx;t.fillStyle=this.fillColor,t.fill(),t.closePath(),t.textAlign="left",t.textBaseline="middle",t.fillStyle=this.titleTextColor,t.font=this.titleFont,t.fillText(this.title,this.x+this.xPadding,this.getLineHeight(0)),t.font=this.font,n.each(this.labels,function(e,i){t.fillStyle=this.textColor,t.fillText(e,this.x+this.xPadding+this.fontSize+3,this.getLineHeight(i+1)),t.fillStyle=this.legendColorBackground,t.fillRect(this.x+this.xPadding,this.getLineHeight(i+1)-this.fontSize/2,this.fontSize,this.fontSize),t.fillStyle=this.legendColors[i].fill,t.fillRect(this.x+this.xPadding,this.getLineHeight(i+1)-this.fontSize/2,this.fontSize,this.fontSize)},this)}}}),i.Scale=i.Element.extend({initialize:function(){this.fit()},buildYLabels:function(){this.yLabels=[];for(var t=v(this.stepValue),e=0;e<=this.steps;e++)this.yLabels.push(x(this.templateString,{value:(this.min+e*this.stepValue).toFixed(t)}));this.yLabelWidth=this.display&&this.showLabels?I(this.ctx,this.font,this.yLabels):0},addXLabel:function(t){this.xLabels.push(t),this.valuesCount++,this.fit()},removeXLabel:function(){this.xLabels.shift(),this.valuesCount--,this.fit()},fit:function(){this.startPoint=this.display?this.fontSize:0,this.endPoint=this.display?this.height-1.5*this.fontSize-5:this.height,this.startPoint+=this.padding,this.endPoint-=this.padding;var t,e=this.endPoint-this.startPoint;for(this.calculateYRange(e),this.buildYLabels(),this.calculateXLabelRotation();e>this.endPoint-this.startPoint;)e=this.endPoint-this.startPoint,t=this.yLabelWidth,this.calculateYRange(e),this.buildYLabels(),t<this.yLabelWidth&&this.calculateXLabelRotation()},calculateXLabelRotation:function(){this.ctx.font=this.font;var t,e,i=this.ctx.measureText(this.xLabels[0]).width,n=this.ctx.measureText(this.xLabels[this.xLabels.length-1]).width;if(this.xScalePaddingRight=n/2+3,this.xScalePaddingLeft=i/2>this.yLabelWidth+10?i/2:this.yLabelWidth+10,this.xLabelRotation=0,this.display){var o,s=I(this.ctx,this.font,this.xLabels);this.xLabelWidth=s;for(var a=Math.floor(this.calculateX(1)-this.calculateX(0))-6;this.xLabelWidth>a&&0===this.xLabelRotation||this.xLabelWidth>a&&this.xLabelRotation<=90&&this.xLabelRotation>0;)o=Math.cos(y(this.xLabelRotation)),t=o*i,e=o*n,t+this.fontSize/2>this.yLabelWidth+8&&(this.xScalePaddingLeft=t+this.fontSize/2),this.xScalePaddingRight=this.fontSize/2,this.xLabelRotation++,this.xLabelWidth=o*s;this.xLabelRotation>0&&(this.endPoint-=Math.sin(y(this.xLabelRotation))*s+3)}else this.xLabelWidth=0,this.xScalePaddingRight=this.padding,this.xScalePaddingLeft=this.padding},calculateYRange:u,drawingArea:function(){return this.startPoint-this.endPoint},calculateY:function(t){var e=this.drawingArea()/(this.min-this.max);return this.endPoint-e*(t-this.min)},calculateX:function(t){var e=(this.xLabelRotation>0,this.width-(this.xScalePaddingLeft+this.xScalePaddingRight)),i=e/Math.max(this.valuesCount-(this.offsetGridLines?0:1),1),n=i*t+this.xScalePaddingLeft;return this.offsetGridLines&&(n+=i/2),Math.round(n)},update:function(t){n.extend(this,t),this.fit()},draw:function(){var t=this.ctx,e=(this.endPoint-this.startPoint)/this.steps,i=Math.round(this.xScalePaddingLeft);this.display&&(t.fillStyle=this.textColor,t.font=this.font,o(this.yLabels,function(o,s){var a=this.endPoint-e*s,r=Math.round(a),l=this.showHorizontalLines;t.textAlign="right",t.textBaseline="middle",this.showLabels&&t.fillText(o,i-10,a),0!==s||l||(l=!0),l&&t.beginPath(),s>0?(t.lineWidth=this.gridLineWidth,t.strokeStyle=this.gridLineColor):(t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor),r+=n.aliasPixel(t.lineWidth),l&&(t.moveTo(i,r),t.lineTo(this.width,r),t.stroke(),t.closePath()),t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor,t.beginPath(),t.moveTo(i-5,r),t.lineTo(i,r),t.stroke(),t.closePath()},this),o(this.xLabels,function(e,i){var n=this.calculateX(i)+b(this.lineWidth),o=this.calculateX(i-(this.offsetGridLines?.5:0))+b(this.lineWidth),s=this.xLabelRotation>0,a=this.showVerticalLines;0!==i||a||(a=!0),a&&t.beginPath(),i>0?(t.lineWidth=this.gridLineWidth,t.strokeStyle=this.gridLineColor):(t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor),a&&(t.moveTo(o,this.endPoint),t.lineTo(o,this.startPoint-3),t.stroke(),t.closePath()),t.lineWidth=this.lineWidth,t.strokeStyle=this.lineColor,t.beginPath(),t.moveTo(o,this.endPoint),t.lineTo(o,this.endPoint+5),t.stroke(),t.closePath(),t.save(),t.translate(n,s?this.endPoint+12:this.endPoint+8),t.rotate(-1*y(this.xLabelRotation)),t.font=this.font,t.textAlign=s?"right":"center",t.textBaseline=s?"middle":"top",t.fillText(e,0,0),t.restore()},this))}}),i.RadialScale=i.Element.extend({initialize:function(){this.size=g([this.height,this.width]),this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2},calculateCenterOffset:function(t){var e=this.drawingArea/(this.max-this.min);return(t-this.min)*e},update:function(){this.lineArc?this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2:this.setScaleSize(),this.buildYLabels()},buildYLabels:function(){this.yLabels=[];for(var t=v(this.stepValue),e=0;e<=this.steps;e++)this.yLabels.push(x(this.templateString,{value:(this.min+e*this.stepValue).toFixed(t)}))},getCircumference:function(){return 2*Math.PI/this.valuesCount},setScaleSize:function(){var t,e,i,n,o,s,a,r,l,c,u,d,h=g([this.height/2-this.pointLabelFontSize-5,this.width/2]),p=this.width,m=0;for(this.ctx.font=F(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),e=0;e<this.valuesCount;e++)t=this.getPointPosition(e,h),i=this.ctx.measureText(x(this.templateString,{value:this.labels[e]})).width+5,0===e||e===this.valuesCount/2?(n=i/2,t.x+n>p&&(p=t.x+n,o=e),t.x-n<m&&(m=t.x-n,a=e)):e<this.valuesCount/2?t.x+i>p&&(p=t.x+i,o=e):e>this.valuesCount/2&&t.x-i<m&&(m=t.x-i,a=e);l=m,c=Math.ceil(p-this.width),s=this.getIndexAngle(o),r=this.getIndexAngle(a),u=c/Math.sin(s+Math.PI/2),d=l/Math.sin(r+Math.PI/2),u=f(u)?u:0,d=f(d)?d:0,this.drawingArea=h-(d+u)/2,this.setCenterPoint(d,u)},setCenterPoint:function(t,e){var i=this.width-e-this.drawingArea,n=t+this.drawingArea;this.xCenter=(n+i)/2,this.yCenter=this.height/2},getIndexAngle:function(t){var e=2*Math.PI/this.valuesCount;return t*e-Math.PI/2},getPointPosition:function(t,e){var i=this.getIndexAngle(t);return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter}},draw:function(){if(this.display){var t=this.ctx;if(o(this.yLabels,function(e,i){if(i>0){var n,o=i*(this.drawingArea/this.steps),s=this.yCenter-o;if(this.lineWidth>0)if(t.strokeStyle=this.lineColor,t.lineWidth=this.lineWidth,this.lineArc)t.beginPath(),t.arc(this.xCenter,this.yCenter,o,0,2*Math.PI),t.closePath(),t.stroke();else{t.beginPath();for(var a=0;a<this.valuesCount;a++)n=this.getPointPosition(a,this.calculateCenterOffset(this.min+i*this.stepValue)),0===a?t.moveTo(n.x,n.y):t.lineTo(n.x,n.y);t.closePath(),t.stroke()}if(this.showLabels){if(t.font=F(this.fontSize,this.fontStyle,this.fontFamily),this.showLabelBackdrop){var r=t.measureText(e).width;t.fillStyle=this.backdropColor,t.fillRect(this.xCenter-r/2-this.backdropPaddingX,s-this.fontSize/2-this.backdropPaddingY,r+2*this.backdropPaddingX,this.fontSize+2*this.backdropPaddingY)}t.textAlign="center",t.textBaseline="middle",t.fillStyle=this.fontColor,t.fillText(e,this.xCenter,s)}}},this),!this.lineArc){t.lineWidth=this.angleLineWidth,t.strokeStyle=this.angleLineColor;for(var e=this.valuesCount-1;e>=0;e--){if(this.angleLineWidth>0){var i=this.getPointPosition(e,this.calculateCenterOffset(this.max));t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(i.x,i.y),t.stroke(),t.closePath()}var n=this.getPointPosition(e,this.calculateCenterOffset(this.max)+5);t.font=F(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),t.fillStyle=this.pointLabelFontColor;var s=this.labels.length,a=this.labels.length/2,r=a/2,l=r>e||e>s-r,c=e===r||e===s-r;t.textAlign=0===e?"center":e===a?"center":a>e?"left":"right",t.textBaseline=c?"middle":l?"bottom":"top",t.fillText(this.labels[e],n.x,n.y)}}}}}),n.addEvent(window,"resize",function(){var t;return function(){clearTimeout(t),t=setTimeout(function(){o(i.instances,function(t){t.options.responsive&&t.resize(t.render,!0)})},50)}}()),p?define(function(){return i}):"object"==typeof module&&module.exports&&(module.exports=i),t.Chart=i,i.noConflict=function(){return t.Chart=e,i}}.call(this),function(){"use strict";var t=this,e=t.Chart,i=e.helpers,n={scaleBeginAtZero:!0,scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,barShowStroke:!0,barStrokeWidth:2,barValueSpacing:5,barDatasetSpacing:1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].fillColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"Bar",defaults:n,initialize:function(t){var n=this.options;this.ScaleClass=e.Scale.extend({offsetGridLines:!0,calculateBarX:function(t,e,i){var o=this.calculateBaseWidth(),s=this.calculateX(i)-o/2,a=this.calculateBarWidth(t);return s+a*e+e*n.barDatasetSpacing+a/2},calculateBaseWidth:function(){return this.calculateX(1)-this.calculateX(0)-2*n.barValueSpacing},calculateBarWidth:function(t){var e=this.calculateBaseWidth()-(t-1)*n.barDatasetSpacing;return e/t}}),this.datasets=[],this.options.showTooltips&&i.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getBarsAtEvent(t):[];this.eachBars(function(t){t.restore(["fillColor","strokeColor"])}),i.each(e,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(e)}),this.BarClass=e.Rectangle.extend({strokeWidth:this.options.barStrokeWidth,showStroke:this.options.barShowStroke,ctx:this.chart.ctx}),i.each(t.datasets,function(e){var n={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,bars:[]};this.datasets.push(n),i.each(e.data,function(i,o){n.bars.push(new this.BarClass({value:i,label:t.labels[o],datasetLabel:e.label,strokeColor:e.strokeColor,fillColor:e.fillColor,highlightFill:e.highlightFill||e.fillColor,highlightStroke:e.highlightStroke||e.strokeColor}))},this)},this),this.buildScale(t.labels),this.BarClass.prototype.base=this.scale.endPoint,this.eachBars(function(t,e,n){i.extend(t,{width:this.scale.calculateBarWidth(this.datasets.length),x:this.scale.calculateBarX(this.datasets.length,n,e),y:this.scale.endPoint}),t.save()},this),this.render()},update:function(){this.scale.update(),i.each(this.activeElements,function(t){t.restore(["fillColor","strokeColor"])}),this.eachBars(function(t){t.save()}),this.render()},eachBars:function(t){i.each(this.datasets,function(e,n){i.each(e.bars,t,this,n)},this)},getBarsAtEvent:function(t){for(var e,n=[],o=i.getRelativePosition(t),s=function(t){n.push(t.bars[e])},a=0;a<this.datasets.length;a++)for(e=0;e<this.datasets[a].bars.length;e++)if(this.datasets[a].bars[e].inRange(o.x,o.y))return i.each(this.datasets,s),n;return n},buildScale:function(t){var e=this,n=function(){var t=[];return e.eachBars(function(e){t.push(e.value)}),t},o={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:t.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(t){var e=i.calculateScaleRange(n(),t,this.fontSize,this.beginAtZero,this.integersOnly);i.extend(this,e)},xLabels:t,font:i.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.barShowStroke?this.options.barStrokeWidth:0,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&i.extend(o,{calculateYRange:i.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new this.ScaleClass(o)},addData:function(t,e){i.each(t,function(t,i){this.datasets[i].bars.push(new this.BarClass({value:t,label:e,x:this.scale.calculateBarX(this.datasets.length,i,this.scale.valuesCount+1),y:this.scale.endPoint,width:this.scale.calculateBarWidth(this.datasets.length),base:this.scale.endPoint,strokeColor:this.datasets[i].strokeColor,fillColor:this.datasets[i].fillColor}))},this),this.scale.addXLabel(e),this.update()},removeData:function(){this.scale.removeXLabel(),i.each(this.datasets,function(t){t.bars.shift()},this),this.update()},reflow:function(){i.extend(this.BarClass.prototype,{y:this.scale.endPoint,base:this.scale.endPoint});var t=i.extend({height:this.chart.height,width:this.chart.width});this.scale.update(t)},draw:function(t){var e=t||1;this.clear(),this.chart.ctx,this.scale.draw(e),i.each(this.datasets,function(t,n){i.each(t.bars,function(t,i){t.hasValue()&&(t.base=this.scale.endPoint,t.transition({x:this.scale.calculateBarX(this.datasets.length,n,i),y:this.scale.calculateY(t.value),width:this.scale.calculateBarWidth(this.datasets.length)},e).draw())},this)},this)}})}.call(this),function(){"use strict";var t=this,e=t.Chart,i=e.helpers,n={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"Doughnut",defaults:n,initialize:function(t){this.segments=[],this.outerRadius=(i.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,this.SegmentArc=e.Arc.extend({ctx:this.chart.ctx,x:this.chart.width/2,y:this.chart.height/2}),this.options.showTooltips&&i.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getSegmentsAtEvent(t):[];i.each(this.segments,function(t){t.restore(["fillColor"])}),i.each(e,function(t){t.fillColor=t.highlightColor}),this.showTooltip(e)}),this.calculateTotal(t),i.each(t,function(t,e){this.addData(t,e,!0)},this),this.render()},getSegmentsAtEvent:function(t){var e=[],n=i.getRelativePosition(t);return i.each(this.segments,function(t){t.inRange(n.x,n.y)&&e.push(t)},this),e},addData:function(t,e,i){var n=e||this.segments.length;this.segments.splice(n,0,new this.SegmentArc({value:t.value,outerRadius:this.options.animateScale?0:this.outerRadius,innerRadius:this.options.animateScale?0:this.outerRadius/100*this.options.percentageInnerCutout,fillColor:t.color,highlightColor:t.highlight||t.color,showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,startAngle:1.5*Math.PI,circumference:this.options.animateRotate?0:this.calculateCircumference(t.value),label:t.label})),i||(this.reflow(),this.update())},calculateCircumference:function(t){return 2*Math.PI*(Math.abs(t)/this.total)},calculateTotal:function(t){this.total=0,i.each(t,function(t){this.total+=Math.abs(t.value)},this)},update:function(){this.calculateTotal(this.segments),i.each(this.activeElements,function(t){t.restore(["fillColor"])}),i.each(this.segments,function(t){t.save()}),this.render()},removeData:function(t){var e=i.isNumber(t)?t:this.segments.length-1;this.segments.splice(e,1),this.reflow(),this.update()},reflow:function(){i.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.outerRadius=(i.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,i.each(this.segments,function(t){t.update({outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout})},this)},draw:function(t){var e=t?t:1;this.clear(),i.each(this.segments,function(t,i){t.transition({circumference:this.calculateCircumference(t.value),outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout},e),t.endAngle=t.startAngle+t.circumference,t.draw(),0===i&&(t.startAngle=1.5*Math.PI),i<this.segments.length-1&&(this.segments[i+1].startAngle=t.endAngle)},this)}}),e.types.Doughnut.extend({name:"Pie",defaults:i.merge(n,{percentageInnerCutout:0})})}.call(this),function(){"use strict";var t=this,e=t.Chart,i=e.helpers,n={scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,bezierCurve:!0,bezierCurveTension:.4,pointDot:!0,pointDotRadius:4,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"Line",defaults:n,initialize:function(t){this.PointClass=e.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx,inRange:function(t){return Math.pow(t-this.x,2)<Math.pow(this.radius+this.hitDetectionRadius,2)}}),this.datasets=[],this.options.showTooltips&&i.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getPointsAtEvent(t):[];this.eachPoints(function(t){t.restore(["fillColor","strokeColor"])}),i.each(e,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(e)}),i.each(t.datasets,function(e){var n={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,pointColor:e.pointColor,pointStrokeColor:e.pointStrokeColor,points:[]};this.datasets.push(n),i.each(e.data,function(i,o){n.points.push(new this.PointClass({value:i,label:t.labels[o],datasetLabel:e.label,strokeColor:e.pointStrokeColor,fillColor:e.pointColor,highlightFill:e.pointHighlightFill||e.pointColor,highlightStroke:e.pointHighlightStroke||e.pointStrokeColor}))},this),this.buildScale(t.labels),this.eachPoints(function(t,e){i.extend(t,{x:this.scale.calculateX(e),y:this.scale.endPoint}),t.save()},this)},this),this.render()},update:function(){this.scale.update(),i.each(this.activeElements,function(t){t.restore(["fillColor","strokeColor"])}),this.eachPoints(function(t){t.save()}),this.render()},eachPoints:function(t){i.each(this.datasets,function(e){i.each(e.points,t,this)},this)},getPointsAtEvent:function(t){var e=[],n=i.getRelativePosition(t);return i.each(this.datasets,function(t){i.each(t.points,function(t){t.inRange(n.x,n.y)&&e.push(t)})},this),e},buildScale:function(t){var n=this,o=function(){var t=[];return n.eachPoints(function(e){t.push(e.value)}),t},s={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,
fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:t.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(t){var e=i.calculateScaleRange(o(),t,this.fontSize,this.beginAtZero,this.integersOnly);i.extend(this,e)},xLabels:t,font:i.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.pointDotRadius+this.options.pointDotStrokeWidth,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&i.extend(s,{calculateYRange:i.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new e.Scale(s)},addData:function(t,e){i.each(t,function(t,i){this.datasets[i].points.push(new this.PointClass({value:t,label:e,x:this.scale.calculateX(this.scale.valuesCount+1),y:this.scale.endPoint,strokeColor:this.datasets[i].pointStrokeColor,fillColor:this.datasets[i].pointColor}))},this),this.scale.addXLabel(e),this.update()},removeData:function(){this.scale.removeXLabel(),i.each(this.datasets,function(t){t.points.shift()},this),this.update()},reflow:function(){var t=i.extend({height:this.chart.height,width:this.chart.width});this.scale.update(t)},draw:function(t){var e=t||1;this.clear();var n=this.chart.ctx,o=function(t){return null!==t.value},s=function(t,e,n){return i.findNextWhere(e,o,n)||t},a=function(t,e,n){return i.findPreviousWhere(e,o,n)||t};this.scale.draw(e),i.each(this.datasets,function(t){var r=i.where(t.points,o);i.each(t.points,function(t,i){t.hasValue()&&t.transition({y:this.scale.calculateY(t.value),x:this.scale.calculateX(i)},e)},this),this.options.bezierCurve&&i.each(r,function(t,e){var n=e>0&&e<r.length-1?this.options.bezierCurveTension:0;t.controlPoints=i.splineCurve(a(t,r,e),t,s(t,r,e),n),t.controlPoints.outer.y>this.scale.endPoint?t.controlPoints.outer.y=this.scale.endPoint:t.controlPoints.outer.y<this.scale.startPoint&&(t.controlPoints.outer.y=this.scale.startPoint),t.controlPoints.inner.y>this.scale.endPoint?t.controlPoints.inner.y=this.scale.endPoint:t.controlPoints.inner.y<this.scale.startPoint&&(t.controlPoints.inner.y=this.scale.startPoint)},this),n.lineWidth=this.options.datasetStrokeWidth,n.strokeStyle=t.strokeColor,n.beginPath(),i.each(r,function(t,e){if(0===e)n.moveTo(t.x,t.y);else if(this.options.bezierCurve){var i=a(t,r,e);n.bezierCurveTo(i.controlPoints.outer.x,i.controlPoints.outer.y,t.controlPoints.inner.x,t.controlPoints.inner.y,t.x,t.y)}else n.lineTo(t.x,t.y)},this),n.stroke(),this.options.datasetFill&&r.length>0&&(n.lineTo(r[r.length-1].x,this.scale.endPoint),n.lineTo(r[0].x,this.scale.endPoint),n.fillStyle=t.fillColor,n.closePath(),n.fill()),i.each(r,function(t){t.draw()})},this)}})}.call(this),function(){"use strict";var t=this,e=t.Chart,i=e.helpers,n={scaleShowLabelBackdrop:!0,scaleBackdropColor:"rgba(255,255,255,0.75)",scaleBeginAtZero:!0,scaleBackdropPaddingY:2,scaleBackdropPaddingX:2,scaleShowLine:!0,segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"PolarArea",defaults:n,initialize:function(t){this.segments=[],this.SegmentArc=e.Arc.extend({showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,ctx:this.chart.ctx,innerRadius:0,x:this.chart.width/2,y:this.chart.height/2}),this.scale=new e.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,lineArc:!0,width:this.chart.width,height:this.chart.height,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,valuesCount:t.length}),this.updateScaleRange(t),this.scale.update(),i.each(t,function(t,e){this.addData(t,e,!0)},this),this.options.showTooltips&&i.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getSegmentsAtEvent(t):[];i.each(this.segments,function(t){t.restore(["fillColor"])}),i.each(e,function(t){t.fillColor=t.highlightColor}),this.showTooltip(e)}),this.render()},getSegmentsAtEvent:function(t){var e=[],n=i.getRelativePosition(t);return i.each(this.segments,function(t){t.inRange(n.x,n.y)&&e.push(t)},this),e},addData:function(t,e,i){var n=e||this.segments.length;this.segments.splice(n,0,new this.SegmentArc({fillColor:t.color,highlightColor:t.highlight||t.color,label:t.label,value:t.value,outerRadius:this.options.animateScale?0:this.scale.calculateCenterOffset(t.value),circumference:this.options.animateRotate?0:this.scale.getCircumference(),startAngle:1.5*Math.PI})),i||(this.reflow(),this.update())},removeData:function(t){var e=i.isNumber(t)?t:this.segments.length-1;this.segments.splice(e,1),this.reflow(),this.update()},calculateTotal:function(t){this.total=0,i.each(t,function(t){this.total+=t.value},this),this.scale.valuesCount=this.segments.length},updateScaleRange:function(t){var e=[];i.each(t,function(t){e.push(t.value)});var n=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:i.calculateScaleRange(e,i.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);i.extend(this.scale,n,{size:i.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2})},update:function(){this.calculateTotal(this.segments),i.each(this.segments,function(t){t.save()}),this.reflow(),this.render()},reflow:function(){i.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.updateScaleRange(this.segments),this.scale.update(),i.extend(this.scale,{xCenter:this.chart.width/2,yCenter:this.chart.height/2}),i.each(this.segments,function(t){t.update({outerRadius:this.scale.calculateCenterOffset(t.value)})},this)},draw:function(t){var e=t||1;this.clear(),i.each(this.segments,function(t,i){t.transition({circumference:this.scale.getCircumference(),outerRadius:this.scale.calculateCenterOffset(t.value)},e),t.endAngle=t.startAngle+t.circumference,0===i&&(t.startAngle=1.5*Math.PI),i<this.segments.length-1&&(this.segments[i+1].startAngle=t.endAngle),t.draw()},this),this.scale.draw()}})}.call(this),function(){"use strict";var t=this,e=t.Chart,i=e.helpers;e.Type.extend({name:"Radar",defaults:{scaleShowLine:!0,angleShowLineOut:!0,scaleShowLabels:!1,scaleBeginAtZero:!0,angleLineColor:"rgba(0,0,0,.1)",angleLineWidth:1,pointLabelFontFamily:"'Arial'",pointLabelFontStyle:"normal",pointLabelFontSize:10,pointLabelFontColor:"#666",pointDot:!0,pointDotRadius:3,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(t){this.PointClass=e.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx}),this.datasets=[],this.buildScale(t),this.options.showTooltips&&i.bindEvents(this,this.options.tooltipEvents,function(t){var e="mouseout"!==t.type?this.getPointsAtEvent(t):[];this.eachPoints(function(t){t.restore(["fillColor","strokeColor"])}),i.each(e,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(e)}),i.each(t.datasets,function(e){var n={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,pointColor:e.pointColor,pointStrokeColor:e.pointStrokeColor,points:[]};this.datasets.push(n),i.each(e.data,function(i,o){var s;this.scale.animation||(s=this.scale.getPointPosition(o,this.scale.calculateCenterOffset(i))),n.points.push(new this.PointClass({value:i,label:t.labels[o],datasetLabel:e.label,x:this.options.animation?this.scale.xCenter:s.x,y:this.options.animation?this.scale.yCenter:s.y,strokeColor:e.pointStrokeColor,fillColor:e.pointColor,highlightFill:e.pointHighlightFill||e.pointColor,highlightStroke:e.pointHighlightStroke||e.pointStrokeColor}))},this)},this),this.render()},eachPoints:function(t){i.each(this.datasets,function(e){i.each(e.points,t,this)},this)},getPointsAtEvent:function(t){var e=i.getRelativePosition(t),n=i.getAngleFromPoint({x:this.scale.xCenter,y:this.scale.yCenter},e),o=2*Math.PI/this.scale.valuesCount,s=Math.round((n.angle-1.5*Math.PI)/o),a=[];return(s>=this.scale.valuesCount||0>s)&&(s=0),n.distance<=this.scale.drawingArea&&i.each(this.datasets,function(t){a.push(t.points[s])}),a},buildScale:function(t){this.scale=new e.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,angleLineColor:this.options.angleLineColor,angleLineWidth:this.options.angleShowLineOut?this.options.angleLineWidth:0,pointLabelFontColor:this.options.pointLabelFontColor,pointLabelFontSize:this.options.pointLabelFontSize,pointLabelFontFamily:this.options.pointLabelFontFamily,pointLabelFontStyle:this.options.pointLabelFontStyle,height:this.chart.height,width:this.chart.width,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,labels:t.labels,valuesCount:t.datasets[0].data.length}),this.scale.setScaleSize(),this.updateScaleRange(t.datasets),this.scale.buildYLabels()},updateScaleRange:function(t){var e=function(){var e=[];return i.each(t,function(t){t.data?e=e.concat(t.data):i.each(t.points,function(t){e.push(t.value)})}),e}(),n=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:i.calculateScaleRange(e,i.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);i.extend(this.scale,n)},addData:function(t,e){this.scale.valuesCount++,i.each(t,function(t,i){var n=this.scale.getPointPosition(this.scale.valuesCount,this.scale.calculateCenterOffset(t));this.datasets[i].points.push(new this.PointClass({value:t,label:e,x:n.x,y:n.y,strokeColor:this.datasets[i].pointStrokeColor,fillColor:this.datasets[i].pointColor}))},this),this.scale.labels.push(e),this.reflow(),this.update()},removeData:function(){this.scale.valuesCount--,this.scale.labels.shift(),i.each(this.datasets,function(t){t.points.shift()},this),this.reflow(),this.update()},update:function(){this.eachPoints(function(t){t.save()}),this.reflow(),this.render()},reflow:function(){i.extend(this.scale,{width:this.chart.width,height:this.chart.height,size:i.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2}),this.updateScaleRange(this.datasets),this.scale.setScaleSize(),this.scale.buildYLabels()},draw:function(t){var e=t||1,n=this.chart.ctx;this.clear(),this.scale.draw(),i.each(this.datasets,function(t){i.each(t.points,function(t,i){t.hasValue()&&t.transition(this.scale.getPointPosition(i,this.scale.calculateCenterOffset(t.value)),e)},this),n.lineWidth=this.options.datasetStrokeWidth,n.strokeStyle=t.strokeColor,n.beginPath(),i.each(t.points,function(t,e){0===e?n.moveTo(t.x,t.y):n.lineTo(t.x,t.y)},this),n.closePath(),n.stroke(),n.fillStyle=t.fillColor,n.fill(),i.each(t.points,function(t){t.hasValue()&&t.draw()})},this)}})}.call(this),function(t,e){function i(t,e,i){var n=d[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:0>t?0:n.max<t?n.max:t)}function n(e){var i=c(),n=i._rgba=[];return e=e.toLowerCase(),f(l,function(t,o){var s,a=o.re.exec(e),r=a&&o.parse(a),l=o.space||"rgba";return r?(s=i[l](r),i[u[l].cache]=s[u[l].cache],n=i._rgba=s._rgba,!1):void 0}),n.length?("0,0,0,0"===n.join()&&t.extend(n,s.transparent),i):s[e]}function o(t,e,i){return i=(i+1)%1,1>6*i?t+(e-t)*i*6:1>2*i?e:2>3*i?t+(e-t)*(2/3-i)*6:t}var s,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,l=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],c=t.Color=function(e,i,n,o){return new t.Color.fn.parse(e,i,n,o)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},h=c.support={},p=t("<p>")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",h.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(u,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),c.fn=t.extend(c.prototype,{parse:function(o,a,r,l){if(o===e)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=t(o).css(a),a=e);var d=this,h=t.type(o),p=this._rgba=[];return a!==e&&(o=[o,a,r,l],h="array"),"string"===h?this.parse(n(o)||s._default):"array"===h?(f(u.rgba.props,function(t,e){p[e.idx]=i(o[e.idx],e)}),this):"object"===h?(o instanceof c?f(u,function(t,e){o[e.cache]&&(d[e.cache]=o[e.cache].slice())}):f(u,function(e,n){var s=n.cache;f(n.props,function(t,e){if(!d[s]&&n.to){if("alpha"===t||null==o[t])return;d[s]=n.to(d._rgba)}d[s][e.idx]=i(o[t],e,!0)}),d[s]&&t.inArray(null,d[s].slice(0,3))<0&&(d[s][3]=1,n.from&&(d._rgba=n.from(d[s])))}),this):void 0},is:function(t){var e=c(t),i=!0,n=this;return f(u,function(t,o){var s,a=e[o.cache];return a&&(s=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(t,e){return null!=a[e.idx]?i=a[e.idx]===s[e.idx]:void 0})),i}),i},_space:function(){var t=[],e=this;return f(u,function(i,n){e[n.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var n=c(t),o=n._space(),s=u[o],a=0===this.alpha()?c("transparent"):this,r=a[s.cache]||s.to(a._rgba),l=r.slice();return n=n[s.cache],f(s.props,function(t,o){var s=o.idx,a=r[s],c=n[s],u=d[o.type]||{};null!==c&&(null===a?l[s]=c:(u.mod&&(c-a>u.mod/2?a+=u.mod:a-c>u.mod/2&&(a-=u.mod)),l[s]=i((c-a)*e+a,o)))}),this[o](l)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),o=c(e)._rgba;return c(t.map(i,function(t,e){return(1-n)*o[e]+n*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),n=i.pop();return e&&i.push(~~(255*n)),"#"+t.map(i,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),c.fn.parse.prototype=c.fn,u.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,n=t[0]/255,o=t[1]/255,s=t[2]/255,a=t[3],r=Math.max(n,o,s),l=Math.min(n,o,s),c=r-l,u=r+l,d=.5*u;return e=l===r?0:n===r?60*(o-s)/c+360:o===r?60*(s-n)/c+120:60*(n-o)/c+240,i=0===c?0:.5>=d?c/u:c/(2-u),[Math.round(e)%360,i,d,null==a?1:a]},u.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],s=t[3],a=.5>=n?n*(1+i):n+i-n*i,r=2*n-a;return[Math.round(255*o(r,a,e+1/3)),Math.round(255*o(r,a,e)),Math.round(255*o(r,a,e-1/3)),s]},f(u,function(n,o){var s=o.props,a=o.cache,l=o.to,u=o.from;c.fn[n]=function(n){if(l&&!this[a]&&(this[a]=l(this._rgba)),n===e)return this[a].slice();var o,r=t.type(n),d="array"===r||"object"===r?n:arguments,h=this[a].slice();return f(s,function(t,e){var n=d["object"===r?t:e.idx];null==n&&(n=h[e.idx]),h[e.idx]=i(n,e)}),u?(o=c(u(h)),o[a]=h,o):c(h)},f(s,function(e,i){c.fn[e]||(c.fn[e]=function(o){var s,a=t.type(o),l="alpha"===e?this._hsla?"hsla":"rgba":n,c=this[l](),u=c[i.idx];return"undefined"===a?u:("function"===a&&(o=o.call(this,u),a=t.type(o)),null==o&&i.empty?this:("string"===a&&(s=r.exec(o),s&&(o=u+parseFloat(s[2])*("+"===s[1]?1:-1))),c[i.idx]=o,this[l](c)))})})}),c.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.cssHooks[i]={set:function(e,o){var s,a,r="";if("transparent"!==o&&("string"!==t.type(o)||(s=n(o)))){if(o=c(s||o),!h.rgba&&1!==o._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundColor"),a=a.parentNode}catch(l){}o=o.blend(r&&"transparent"!==r?r:"_default")}o=o.toRgbaString()}try{e.style[i]=o}catch(l){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=c(e.elem,i),e.end=c(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},c.hook(a),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(i,n){e["border"+n+"Color"]=t}),e}},s=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(t,e,i){"use strict";function n(i){if(o=e.documentElement,s=e.body,V(),rt=this,i=i||{},ht=i.constants||{},i.easing)for(var n in i.easing)G[n]=i.easing[n];bt=i.edgeStrategy||"set",ut={beforerender:i.beforerender,render:i.render,keyframe:i.keyframe},dt=i.forceHeight!==!1,dt&&(Bt=i.scale||1),pt=i.mobileDeceleration||T,mt=i.smoothScrolling!==!1,gt=i.smoothScrollingDuration||k,vt={targetTop:rt.getScrollTop()},$t=(i.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||t.opera)})(),$t?(ct=e.getElementById(i.skrollrBody||A),ct&&at(),Y(),Mt(o,[y,x],[b])):Mt(o,[y,w],[b]),rt.refresh(),Ct(t,"resize orientationchange",function(){var t=o.clientWidth,e=o.clientHeight;(e!==Ht||t!==Wt)&&(Ht=e,Wt=t,_t=!0)});var a=U();return function r(){Z(),xt=a(r)}(),rt}var o,s,a={get:function(){return rt},init:function(t){return rt||new n(t)},VERSION:"0.6.29"},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",b="no-"+y,w=y+"-desktop",x=y+"-mobile",C="linear",S=1e3,T=.004,A="skrollr-body",k=200,E="start",P="end",j="center",M="bottom",L="___skrollable_id",F=/^(?:input|textarea|button|select)$/i,I=/^\s+|\s+$/g,N=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,D=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,B=/^(@?[a-z\-]+)\[(\w+)\]$/,R=/-([a-z0-9_])/g,O=function(t,e){return e.toUpperCase()},z=/[\-+]?[\d]*\.?[\d]+/g,W=/\{\?\}/g,H=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,_=/[a-z\-]+-gradient/g,q="",$="",V=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var e=c(s,null);for(var i in e)if(q=i.match(t)||+i==i&&e[i].match(t))break;if(!q)return void(q=$="");q=q[0],"-"===q.slice(0,1)?($=q,q={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[q]):$="-"+q.toLowerCase()+"-"}},U=function(){var e=t.requestAnimationFrame||t[q.toLowerCase()+"RequestAnimationFrame"],i=It();return($t||!e)&&(e=function(e){var n=It()-i,o=l.max(0,1e3/60-n);return t.setTimeout(function(){i=It(),e()},o)}),e},Q=function(){var e=t.cancelAnimationFrame||t[q.toLowerCase()+"CancelAnimationFrame"];return($t||!e)&&(e=function(e){return t.clearTimeout(e)}),e},G={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,o,s=!1;for(t===i?(s=!0,lt=[],qt=0,t=e.getElementsByTagName("*")):t.length===i&&(t=[t]),n=0,o=t.length;o>n;n++){var a=t[n],r=a,l=[],c=mt,u=bt,d=!1;if(s&&L in a&&delete a[L],a.attributes){for(var h=0,p=a.attributes.length;p>h;h++){var m=a.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(N);if(null!==g){var v={props:m.value,element:a,eventType:m.name.replace(R,O)};l.push(v);var y=g[1];y&&(v.constant=y.substr(1));var b=g[2];/p$/.test(b)?(v.isPercentage=!0,v.offset=(0|b.slice(0,-1))/100):v.offset=0|b;var w=g[3],x=g[4]||w;w&&w!==E&&w!==P?(v.mode="relative",v.anchors=[w,x]):(v.mode="absolute",w===P?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*Bt))}}else d=!0;else u=m.value;else c="off"!==m.value;else if(r=e.querySelector(m.value),null===r)throw'Unable to find anchor target "'+m.value+'"'}if(l.length){var C,S,T;!s&&L in a?(T=a[L],C=lt[T].styleAttr,S=lt[T].classAttr):(T=a[L]=qt++,C=a.style.cssText,S=jt(a)),lt[T]={element:a,styleAttr:C,classAttr:S,anchorTarget:r,keyFrames:l,smoothScrolling:c,edgeStrategy:u,emitEvents:d,lastFrameIndex:-1},Mt(a,[f],[])}}}for(kt(),n=0,o=t.length;o>n;n++){var A=lt[t[n][L]];A!==i&&(J(A),et(A))}return rt},n.prototype.relativeToAbsolute=function(t,e,i){var n=o.clientHeight,s=t.getBoundingClientRect(),a=s.top,r=s.bottom-s.top;return e===M?a-=n:e===j&&(a-=n/2),i===M?a+=r:i===j&&(a+=r/2),a+=rt.getScrollTop(),a+.5|0},n.prototype.animateTo=function(t,e){e=e||{};var n=It(),o=rt.getScrollTop(),s=e.duration===i?S:e.duration;return ft={startTop:o,topDiff:t-o,targetTop:t,duration:s,startTime:n,endTime:n+s,easing:G[e.easing||C],done:e.done},ft.topDiff||(ft.done&&ft.done.call(rt,!1),ft=i),rt},n.prototype.stopAnimateTo=function(){ft&&ft.done&&ft.done.call(rt,!0),ft=i},n.prototype.isAnimatingTo=function(){return!!ft},n.prototype.isMobile=function(){return $t},n.prototype.setScrollTop=function(e,i){return yt=i===!0,$t?Vt=l.min(l.max(e,0),Dt):t.scrollTo(0,e),rt},n.prototype.getScrollTop=function(){return $t?Vt:t.pageYOffset||o.scrollTop||s.scrollTop||0},n.prototype.getMaxScrollTop=function(){return Dt},n.prototype.on=function(t,e){return ut[t]=e,rt},n.prototype.off=function(t){return delete ut[t],rt},n.prototype.destroy=function(){var t=Q();t(xt),Tt(),Mt(o,[b],[y,w,x]);for(var e=0,n=lt.length;n>e;e++)st(lt[e].element);o.style.overflow=s.style.overflow="",o.style.height=s.style.height="",ct&&a.setStyle(ct,"transform","none"),rt=i,ct=i,ut=i,dt=i,Dt=0,Bt=1,ht=i,pt=i,Rt="down",Ot=-1,Wt=0,Ht=0,_t=!1,ft=i,mt=i,gt=i,vt=i,yt=i,qt=0,bt=i,$t=!1,Vt=0,wt=i};var Y=function(){var n,a,r,c,f,m,g,v,y,b,w,x;Ct(o,[u,d,h,p].join(" "),function(t){var o=t.changedTouches[0];for(c=t.target;3===c.nodeType;)c=c.parentNode;switch(f=o.clientY,m=o.clientX,b=t.timeStamp,F.test(c.tagName)||t.preventDefault(),t.type){case u:n&&n.blur(),rt.stopAnimateTo(),n=c,a=g=f,r=m,y=b;break;case d:F.test(c.tagName)&&e.activeElement!==c&&t.preventDefault(),v=f-g,x=b-w,rt.setScrollTop(Vt-v,!0),g=f,w=b;break;default:case h:case p:var s=a-f,C=r-m,S=C*C+s*s;if(49>S){if(!F.test(n.tagName)){n.focus();var T=e.createEvent("MouseEvents");T.initMouseEvent("click",!0,!0,t.view,1,o.screenX,o.screenY,o.clientX,o.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),n.dispatchEvent(T)}return}n=i;var A=v/x;A=l.max(l.min(A,3),-3);var k=l.abs(A/pt),E=A*k+.5*pt*k*k,P=rt.getScrollTop()-E,j=0;P>Dt?(j=(Dt-P)/E,P=Dt):0>P&&(j=-P/E,P=0),k*=1-j,rt.animateTo(P+.5|0,{easing:"outCubic",duration:k})}}),t.scrollTo(0,0),o.style.overflow=s.style.overflow="hidden"},X=function(){var t,e,i,n,s,a,r,c,u,d,h,p=o.clientHeight,f=Et();for(c=0,u=lt.length;u>c;c++)for(t=lt[c],e=t.element,i=t.anchorTarget,n=t.keyFrames,s=0,a=n.length;a>s;s++)r=n[s],d=r.offset,h=f[r.constant]||0,r.frame=d,r.isPercentage&&(d*=p,r.frame=d),"relative"===r.mode&&(st(e),r.frame=rt.relativeToAbsolute(i,r.anchors[0],r.anchors[1])-d,st(e,!0)),r.frame+=h,dt&&!r.isEnd&&r.frame>Dt&&(Dt=r.frame);for(Dt=l.max(Dt,Pt()),c=0,u=lt.length;u>c;c++){for(t=lt[c],n=t.keyFrames,s=0,a=n.length;a>s;s++)r=n[s],h=f[r.constant]||0,r.isEnd&&(r.frame=Dt-r.offset+h);t.keyFrames.sort(Nt)}},K=function(t,e){for(var i=0,n=lt.length;n>i;i++){var o,s,l=lt[i],c=l.element,u=l.smoothScrolling?t:e,d=l.keyFrames,h=d.length,p=d[0],y=d[d.length-1],b=u<p.frame,w=u>y.frame,x=b?p:y,C=l.emitEvents,S=l.lastFrameIndex;if(b||w){if(b&&-1===l.edge||w&&1===l.edge)continue;switch(b?(Mt(c,[m],[v,g]),C&&S>-1&&(At(c,p.eventType,Rt),l.lastFrameIndex=-1)):(Mt(c,[v],[m,g]),C&&h>S&&(At(c,y.eventType,Rt),l.lastFrameIndex=h)),l.edge=b?-1:1,l.edgeStrategy){case"reset":st(c);continue;case"ease":u=x.frame;break;default:case"set":var T=x.props;for(o in T)r.call(T,o)&&(s=ot(T[o].value),0===o.indexOf("@")?c.setAttribute(o.substr(1),s):a.setStyle(c,o,s));continue}}else 0!==l.edge&&(Mt(c,[f,g],[m,v]),l.edge=0);for(var A=0;h-1>A;A++)if(u>=d[A].frame&&u<=d[A+1].frame){var k=d[A],E=d[A+1];for(o in k.props)if(r.call(k.props,o)){var P=(u-k.frame)/(E.frame-k.frame);P=k.props[o].easing(P),s=nt(k.props[o].value,E.props[o].value,P),s=ot(s),0===o.indexOf("@")?c.setAttribute(o.substr(1),s):a.setStyle(c,o,s)}C&&S!==A&&("down"===Rt?At(c,k.eventType,Rt):At(c,E.eventType,Rt),l.lastFrameIndex=A);break}}},Z=function(){_t&&(_t=!1,kt());var t,e,n=rt.getScrollTop(),o=It();if(ft)o>=ft.endTime?(n=ft.targetTop,t=ft.done,ft=i):(e=ft.easing((o-ft.startTime)/ft.duration),n=ft.startTop+e*ft.topDiff|0),rt.setScrollTop(n,!0);else if(!yt){var s=vt.targetTop-n;s&&(vt={startTop:Ot,topDiff:n-Ot,targetTop:n,startTime:zt,endTime:zt+gt}),o<=vt.endTime&&(e=G.sqrt((o-vt.startTime)/gt),n=vt.startTop+e*vt.topDiff|0)}if(yt||Ot!==n){Rt=n>Ot?"down":Ot>n?"up":Rt,yt=!1;var r={curTop:n,lastTop:Ot,maxTop:Dt,direction:Rt},l=ut.beforerender&&ut.beforerender.call(rt,r);l!==!1&&(K(n,rt.getScrollTop()),$t&&ct&&a.setStyle(ct,"transform","translate(0, "+-Vt+"px) "+wt),Ot=n,ut.render&&ut.render.call(rt,r)),t&&t.call(rt,!1)}zt=o},J=function(t){for(var e=0,i=t.keyFrames.length;i>e;e++){for(var n,o,s,a,r=t.keyFrames[e],l={};null!==(a=D.exec(r.props));)s=a[1],o=a[2],n=s.match(B),null!==n?(s=n[1],n=n[2]):n=C,o=o.indexOf("!")?tt(o):[o.slice(1)],l[s]={value:o,easing:G[n]};r.props=l}},tt=function(t){var e=[];return H.lastIndex=0,t=t.replace(H,function(t){return t.replace(z,function(t){return t/255*100+"%"})}),$&&(_.lastIndex=0,t=t.replace(_,function(t){return $+t})),t=t.replace(z,function(t){return e.push(+t),"{?}"}),e.unshift(t),e},et=function(t){var e,i,n={};for(e=0,i=t.keyFrames.length;i>e;e++)it(t.keyFrames[e],n);for(n={},e=t.keyFrames.length-1;e>=0;e--)it(t.keyFrames[e],n)},it=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]},nt=function(t,e,i){var n,o=t.length;if(o!==e.length)throw"Can't interpolate between \""+t[0]+'" and "'+e[0]+'"';var s=[t[0]];for(n=1;o>n;n++)s[n]=t[n]+(e[n]-t[n])*i;return s},ot=function(t){var e=1;return W.lastIndex=0,t[0].replace(W,function(){return t[e++]})},st=function(t,e){t=[].concat(t);for(var i,n,o=0,s=t.length;s>o;o++)n=t[o],i=lt[n[L]],i&&(e?(n.style.cssText=i.dirtyStyleAttr,Mt(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=jt(n),n.style.cssText=i.styleAttr,Mt(n,i.classAttr)))},at=function(){wt="translateZ(0)",a.setStyle(ct,"transform",wt);var t=c(ct),e=t.getPropertyValue("transform"),i=t.getPropertyValue($+"transform"),n=e&&"none"!==e||i&&"none"!==i;n||(wt="")};a.setStyle=function(t,e,i){var n=t.style;if(e=e.replace(R,O).replace("-",""),"zIndex"===e)n[e]=isNaN(i)?i:""+(0|i);else if("float"===e)n.styleFloat=n.cssFloat=i;else try{q&&(n[q+e.slice(0,1).toUpperCase()+e.slice(1)]=i),n[e]=i}catch(o){}};var rt,lt,ct,ut,dt,ht,pt,ft,mt,gt,vt,yt,bt,wt,xt,Ct=a.addEvent=function(e,i,n){var o=function(e){return e=e||t.event,e.target||(e.target=e.srcElement),e.preventDefault||(e.preventDefault=function(){e.returnValue=!1,e.defaultPrevented=!0}),n.call(this,e)};i=i.split(" ");for(var s,a=0,r=i.length;r>a;a++)s=i[a],e.addEventListener?e.addEventListener(s,n,!1):e.attachEvent("on"+s,o),Ut.push({element:e,name:s,listener:n})},St=a.removeEvent=function(t,e,i){e=e.split(" ");for(var n=0,o=e.length;o>n;n++)t.removeEventListener?t.removeEventListener(e[n],i,!1):t.detachEvent("on"+e[n],i)},Tt=function(){for(var t,e=0,i=Ut.length;i>e;e++)t=Ut[e],St(t.element,t.name,t.listener);Ut=[]},At=function(t,e,i){ut.keyframe&&ut.keyframe.call(rt,t,e,i)},kt=function(){var t=rt.getScrollTop();Dt=0,dt&&!$t&&(s.style.height=""),X(),dt&&!$t&&(s.style.height=Dt+o.clientHeight+"px"),$t?rt.setScrollTop(l.min(rt.getScrollTop(),Dt)):rt.setScrollTop(t,!0),yt=!0},Et=function(){var t,e,i=o.clientHeight,n={};for(t in ht)e=ht[t],"function"==typeof e?e=e.call(rt):/p$/.test(e)&&(e=e.slice(0,-1)/100*i),n[t]=e;return n},Pt=function(){var t,e=0;return ct&&(e=l.max(ct.offsetHeight,ct.scrollHeight)),t=l.max(e,s.scrollHeight,s.offsetHeight,o.scrollHeight,o.offsetHeight,o.clientHeight),t-o.clientHeight},jt=function(e){var i="className";return t.SVGElement&&e instanceof t.SVGElement&&(e=e[i],i="baseVal"),e[i]},Mt=function(e,n,o){var s="className";if(t.SVGElement&&e instanceof t.SVGElement&&(e=e[s],s="baseVal"),o===i)return void(e[s]=n);for(var a=e[s],r=0,l=o.length;l>r;r++)a=Ft(a).replace(Ft(o[r])," ");a=Lt(a);for(var c=0,u=n.length;u>c;c++)-1===Ft(a).indexOf(Ft(n[c]))&&(a+=" "+n[c]);e[s]=Lt(a)},Lt=function(t){return t.replace(I,"")},Ft=function(t){return" "+t+" "},It=Date.now||function(){return+new Date},Nt=function(t,e){return t.frame-e.frame;

},Dt=0,Bt=1,Rt="down",Ot=-1,zt=It(),Wt=0,Ht=0,_t=!1,qt=0,$t=!1,Vt=0,Ut=[];"function"==typeof define&&define.amd?define([],function(){return a}):"undefined"!=typeof module&&module.exports?module.exports=a:t.skrollr=a}(window,document),function(t,e){"use strict";function i(t,e,i,n,o,s,a){var r;if(a="number"==typeof a?a:0,t.css(i,n+s),r=t.width(),r>=e){if(t.css(i,""),r===e)return{match:"exact",size:parseFloat((parseFloat(n)-.1).toFixed(3))};var l=e-a,c=r-e;return{match:"estimate",size:parseFloat((parseFloat(n)-("word-spacing"===i&&a&&l>c?0:o)).toFixed(3))}}return r}function n(t,n,o,s,a){var r=t.clone(!0).addClass("bigtext-cloned").css({fontFamily:t.css("font-family"),textTransform:t.css("text-transform"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),position:"absolute",left:l.DEBUG_MODE?0:-9999,top:l.DEBUG_MODE?0:-9999}).appendTo(document.body),c=[],u=[],d=[],h=[];return n.css("float","left").each(function(){var t,n,r=e(this),u=l.supports.wholeNumberFontSizeOnly?[8,4,1]:[8,4,1,.1];if(r.hasClass(l.EXEMPT_CLASS))return c.push(null),h.push(null),void d.push(!1);var p=32,f=parseFloat(r.css("font-size")),m=(r.width()/f).toFixed(6);n=parseInt(o/m,10)-p;t:for(var g=0,v=u.length;v>g;g++)e:for(var y=1,b=10;b>=y;y++){if(n+y*u[g]>s){n=s;break t}if(t=i(r,o,"font-size",n+y*u[g],u[g],"px",t),"number"!=typeof t){if(n=t.size,"exact"===t.match)break t;break e}}h.push(o/n),n>s?(c.push(s),d.push(!1)):a&&a>n?(c.push(a),d.push(!0)):(c.push(n),d.push(!1))}).each(function(t){var n,s=e(this),a=0,r=1;if(s.hasClass(l.EXEMPT_CLASS))return void u.push(null);s.css("font-size",c[t]+"px");for(var d=1,h=3;h>d;d+=r)if(n=i(s,o,"word-spacing",d,r,"px",n),"number"!=typeof n){a=n.size;break}s.css("font-size",""),u.push(a)}).removeAttr("style"),l.DEBUG_MODE?r.css({"background-color":"rgba(255,255,255,.4)"}):r.remove(),{fontSizes:c,wordSpacings:u,ratios:h,minFontSizes:d}}var o=0,s=e("head"),a=t.BigText,r=e.fn.bigtext,l={DEBUG_MODE:!1,DEFAULT_MIN_FONT_SIZE_PX:null,DEFAULT_MAX_FONT_SIZE_PX:528,GLOBAL_STYLE_ID:"bigtext-style",STYLE_ID:"bigtext-id",LINE_CLASS_PREFIX:"bigtext-line",EXEMPT_CLASS:"bigtext-exempt",noConflict:function(i){return i&&(e.fn.bigtext=r,t.BigText=a),l},supports:{wholeNumberFontSizeOnly:function(){if(!("getComputedStyle"in t))return!0;var i=e("<div/>").css({position:"absolute","font-size":"14.1px"}).insertBefore(e("script").eq(0)),n=t.getComputedStyle(i[0],null),o=n&&"14px"===n.getPropertyValue("font-size");return i.remove(),o}()},init:function(){e("#"+l.GLOBAL_STYLE_ID).length||s.append(l.generateStyleTag(l.GLOBAL_STYLE_ID,[".bigtext * { white-space: nowrap; } .bigtext > * { display: block; }",".bigtext ."+l.EXEMPT_CLASS+", .bigtext ."+l.EXEMPT_CLASS+" * { white-space: normal; }"]))},bindResize:function(i,n){var o;e(t).unbind(i).bind(i,function(){o&&clearTimeout(o),o=setTimeout(n,100)})},getStyleId:function(t){return l.STYLE_ID+"-"+t},generateStyleTag:function(t,i){return e("<style>"+i.join("\n")+"</style>").attr("id",t)},clearCss:function(t){var i=l.getStyleId(t);e("#"+i).remove()},generateCss:function(t,e,i,n){var o=[];l.clearCss(t);for(var s=0,a=e.length;a>s;s++)o.push("#"+t+" ."+l.LINE_CLASS_PREFIX+s+" {"+(n[s]?" white-space: normal;":"")+(e[s]?" font-size: "+e[s]+"px;":"")+(i[s]?" word-spacing: "+i[s]+"px;":"")+"}");return l.generateStyleTag(l.getStyleId(t),o)},jQueryMethod:function(t){return l.init(),t=e.extend({minfontsize:l.DEFAULT_MIN_FONT_SIZE_PX,maxfontsize:l.DEFAULT_MAX_FONT_SIZE_PX,childSelector:"",resize:!0},t||{}),this.each(function(){var i=e(this).addClass("bigtext"),a=i.width(),r=i.attr("id"),c=t.childSelector?i.find(t.childSelector):i.children();r||(r="bigtext-id"+o++,i.attr("id",r)),t.resize&&l.bindResize("resize.bigtext-event-"+r,function(){l.jQueryMethod.call(e("#"+r),t)}),l.clearCss(r),c.addClass(function(t,e){return[e.replace(new RegExp("\\b"+l.LINE_CLASS_PREFIX+"\\d+\\b"),""),l.LINE_CLASS_PREFIX+t].join(" ")});var u=n(i,c,a,t.maxfontsize,t.minfontsize);s.append(l.generateCss(r,u.fontSizes,u.wordSpacings,u.minFontSizes))}),this.trigger("bigtext:complete")}};e.fn.bigtext=l.jQueryMethod,t.BigText=l}(this,jQuery);var oxyThemeData=oxyThemeData||{navbarHeight:100,navbarScrolled:70,navbarScrolledPoint:200,menuClose:"off",scrollFinishedMessage:"No more items to load.",hoverMenu:{hoverActive:!1,hoverDelay:1,hoverFadeDelay:200},siteLoader:"on"};window.paceOptions={startOnPageLoad:"on"===oxyThemeData.siteLoader,restartOnRequestAfter:!1},jQuery(window).on("load",function(){jQuery(".bigtext").bigtext({minfontsize:16})}),jQuery(document).ready(function(t){function e(e){var i=t(e),n="false"===i.attr("data-flex-slideshow")?!1:!0,o=i.attr("data-flex-animation")?i.attr("data-flex-animation"):"slide",s=i.attr("data-flex-speed")?i.attr("data-flex-speed"):7e3,a=i.attr("data-flex-sliderdirection")?i.attr("data-flex-sliderdirection"):"horizontal",r=i.attr("data-flex-duration")?i.attr("data-flex-duration"):600,l="hide"===i.attr("data-flex-directions")?!1:!0,c="thumbnails"===i.attr("data-flex-controls")?"thumbnails":"hide"===i.attr("data-flex-controls")?!1:!0,u="inside"===i.attr("data-flex-controlsposition")?"flex-controls-inside":"flex-controls-outside",d=i.attr("data-flex-controlsalign")?"flex-controls-"+i.attr("data-flex-controlsalign"):"flex-controls-center",h=i.attr("data-flex-controlsvertical")?"flex-controls-"+i.attr("data-flex-controlsvertical"):"",p=i.attr("data-flex-itemwidth")?parseInt(i.attr("data-flex-itemwidth"),10):0,f=i.attr("data-flex-itemmax")?parseInt(i.attr("data-flex-itemmax"),0):0,m=i.attr("data-flex-itemmin")?parseInt(i.attr("data-flex-itemmin"),0):0,g="alternate"===i.attr("data-flex-captionhorizontal")?"flex-caption-alternate":"flex-caption-"+i.attr("data-flex-captionhorizontal");i.addClass(u).addClass(d).addClass(h).addClass(g),i.flexslider({slideshow:n,animation:o,direction:a,slideshowSpeed:parseInt(s),animationSpeed:parseInt(r),itemWidth:p,minItems:m,maxItems:f,controlNav:c,directionNav:l,prevText:"",nextText:"",smoothHeight:!0,useCSS:!1})}function i(){t(".masonry").each(function(e,i){var n=t(i),o=n.find(".masonry-item"),a=n.attr("data-padding"),r=(n.parents(".container-fullwidth").length>0,-a/2);n.css({margin:"0 "+r+"px"}),n.imagesLoaded().always(function(e){setTimeout(function(){var e=3,i=t(window).width(),r=2;768>i?(e=n.attr("data-col-xs"),r=1):992>i?(e=n.attr("data-col-sm"),r=1):1200>i?(e=n.attr("data-col-md"),r=2):i>1200&&(e=n.attr("data-col-lg"),r=2);var l;n.hasClass("use-masonry")?o.each(function(){l=Math.floor(n.width()/e);var i=t(this);i.hasClass("masonry-wide")?i.css("width",l*r):i.css("width",l)}):(l=Math.floor(n.width()/e),o.css("width",l)),o.find(".figure,.post-masonry-inner").css("padding",a/2+"px"),n.isotope({itemSelector:".masonry-item",getSortData:{"default":function(t){return parseInt(t.attr("data-menu-order"))},title:function(t){return t.attr("data-title")},date:function(t){return Date.parse(t.attr("data-date"))},comments:function(t){return parseInt(t.attr("data-comments"))}},sortBy:"default",layoutMode:n.attr("data-layout"),resizable:!1,masonry:{columnWidth:l,gutter:a}},function(){Waypoint.refreshAll(),n.removeClass("no-transition"),s(o.find(".portfolio-os-animation"),n),s(o.find(".blog-os-animation"),n)})},200)})})}function n(t,e,i){var n="up"===e?-(t.height()/2):0,o=parseInt(oxyThemeData.navbarHeight);i.length&&i.hasClass("navbar-sticky")&&i.hasClass("navbar-scrolled")&&(o=parseInt(oxyThemeData.navbarScrolled));var s=t.offset().top,a=i.length?i.position().top:0;return i.length&&i.hasClass("navbar-sticky")&&s>=a+o&&!r&&(n+=o),n}function o(t,e,i,n){t.length&&e.parent().removeClass("active current-menu-item").end().filter('[href$="'+n.id+'"]').parent().addClass("active current-menu-item"),i.length&&i.find("a").removeClass("active").filter('[href$="'+n.id+'"]').addClass("active")}function s(e,i){e.each(function(){var e=t(this),n=e.attr("data-os-animation"),o=e.attr("data-os-animation-delay");e.css({"-webkit-animation-delay":o,"-moz-animation-delay":o,"animation-delay":o});var s=i?i:e;s.waypoint(function(){e.addClass("animated").addClass(n)},{triggerOnce:!0,offset:"90%"})})}function a(){s(t(".os-animation")),s(t(".staff-os-animation"),t(".staff-list-container")),s(t(".recent-simple-os-animation"),t(".recent-simple-os-container"))}/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.test(navigator.userAgent||navigator.vendor||window.opera)?(t('body:not([class*="oxy-agent-"])').addClass("oxy-agent-"),/iPhone/i.test(navigator.userAgent||navigator.vendor||window.opera)&&t("body").not(".oxy-agent-iphone").addClass("oxy-agent-iphone"),/iPad/i.test(navigator.userAgent||navigator.vendor||window.opera)&&t("body").not(".oxy-agent-ipad").addClass("oxy-agent-ipad")):skrollr.init({forceHeight:!1});var r=!t('body:not([class*="oxy-agent-"])').length;t(".flexslider[id]").each(function(){var i=this;t(this).imagesLoaded().done(function(t){e(i)})}),t(window).smartresize(function(){i()}),i(),t(".portfolio-filter").click(function(){var e=t(this),i=e.attr("data-filter"),n=e.parents("div.row");n.find(".portfolio-title span").text(e.text());var o=n.next();o.isotope({filter:i})}),t(".portfolio-order").click(function(){var e=t(this),i=e.attr("data-value"),n=e.parents("div.row").next();n.isotope({sortAscending:"true"===i})}),t(".portfolio-sort").click(function(){var e=t(this),i=e.attr("data-sort"),n=e.parents("div.row").next();n.isotope({sortBy:i})}),t('[class*="oxy-agent-"] .section-fullheight').removeClass("section-fullheight").css("min-height",t(window).height()).find(".container, .container-fullwidth, .container > .row, .container-fullwidth > .row ").css("min-height",t(window).height()).find('.row, [class*="col-md"]').css("position","static"),t("html.ie9").find("input, textarea").placeholder(),t(".video-wrapper").fitVids(),t("audio").mediaelementplayer({pauseOtherPlayers:!1,enableAutosize:!1,setDimensions:!1}),t(".section-background-video").mediaelementplayer({pauseOtherPlayers:!1,enableAutosize:!1,setDimensions:!1,success:function(e,i,n){var o=t(e).attr("poster"),s=!1;"undefined"!=typeof o&&""!==o&&(s=!0,t(e).parent().css("background-image","url('"+t(e).attr("poster")+"')"));var a=t(e).closest("section");e.addEventListener("loadeddata",function(){var i=a.outerHeight(),o=a.outerWidth(),s=n.media.videoHeight,r=n.media.videoWidth,l=s/r*100+"%",c=o/r,u=s*c;t(e).parent().css("padding-bottom",l),u>=i?t(e).css("top",(i-s*c)/2):t(e).css("background-image",""),t(e).show(),t(window).smartresize(function(){i=a.outerHeight(),o=a.outerWidth(),c=o/r,u=s*c,u>=i?t(e).css("top",(i-s*c)/2):t(e).css("background-image","")})}),t('body[class*="oxy-agent-"]').length&&(a.on("click",function(t){e.paused?e.play():e.pause()}),(s||!t("body").hasClass("oxy-agent-iphone"))&&a.find(".mejs-overlay-play").show(),s&&(e.addEventListener("pause",function(){a.find(".mejs-overlay-play").show(),t(e).hide()}),e.addEventListener("play",function(){t(e).show()})))}}),t("ul.features-connected").each(function(){var e=t(this),i=t('<div class="features-connected-line"></div>').css("border-color",e.attr("data-linecolor"));e.find("li").append(i)}),t(".countdown").each(function(){var e=t(this),i=e.attr("data-date");e.countdown(i).on("update.countdown",function(e){t(this).find(".counter-days").php(e.offset.totalDays),t(this).find(".counter-hours").php(e.offset.hours),t(this).find(".counter-minutes").php(e.offset.minutes),t(this).find(".counter-seconds").php(e.offset.seconds)})}),t(".counter").each(function(){var e=t(this),i=e.find(".odometer-counter");if(i.length>0){{new Odometer({el:i[0],value:i.text(),format:e.attr("data-format")})}e.waypoint(function(){window.setTimeout(function(){i.php(e.attr("data-count"))},500)},{triggerOnce:!0,offset:"bottom-in-view"})}}),t("select").not(".country_to_state, #billing_state, #shipping_state, #calc_shipping_state").wrap('<div class="select-wrap">');var l=t("#masthead"),c=t("#masthead").position();c=void 0===c?0:c.top;var u=t(".menu").find("a"),d=u.map(function(){var e=this.hash;return e&&t(e).length?e:void 0}),h=t("article .bullet-nav");if(h.length||d.length){var p=[];t("article").find("section").each(function(){this.id&&p.push(this)}),p.length&&(d.length&&u.parent().removeClass("active current-menu-item"),t.each(p,function(e,i){var s=t(i);if(h.length){var a=h.find("ul"),r="";"on"===h.attr("data-show-tooltips")&&(r='data-toggle="tooltip" data-placement="left" title="'+s.attr("data-label")+'"'),a.append('<li><a href="#'+i.id+'" '+r+">"+i.id+"</a>")}s.waypoint({offset:function(){return n(s,"up",l)},handler:function(t){"up"===t&&o(d,u,h,i)}}),s.waypoint({offset:function(){return n(s,"down",l)},handler:function(t){"down"===t&&o(d,u,h,i)}})}),h.length&&(h.show(),h.css("top",(t(window).height()-h.height())/2)))}t(".menu a, a.scroll-to-id, .bullet-nav a").on("click",function(e){var i=this.hash,n=0;if(i&&t(i).length){e.preventDefault();var o=t(i).offset().top,s=parseInt(oxyThemeData.navbarHeight);if(void 0!==l&&l.hasClass("navbar-sticky")&&o>=c+s&&!r){var a=parseInt(oxyThemeData.navbarScrolledPoint),u=parseInt(oxyThemeData.navbarHeight),d=parseInt(oxyThemeData.navbarScrolled);n=o>=a?d:u}t.scrollTo(t(i),800,{axis:"y",offset:-n+1})}}),t("#wp-calendar").addClass("table"),t("body").on("click",".top-search:not(.active) .search-trigger",function(){t(".top-search").toggleClass("active"),t("#content").addClass("fade-content"),t(".top-search").closest(".top-bar").length>0&&t("#masthead").addClass("fade-content"),t("#masthead").toggleClass("search-active"),t(".top-search").find("form").fadeToggle(300).find("input").focus()}),t("body").on("click",".top-search.active .search-trigger",function(){t(".top-search").toggleClass("active"),t("#content, #masthead").removeClass("fade-content"),t(".top-search").find("form").fadeToggle(300),t("#masthead").toggleClass("search-active")});var f=t("body").find(".navbar-sticky");if(f.length>0){new Waypoint.Sticky({element:f[0],stuckClass:"navbar-stuck"})}t("#masthead").parents(".section").css({overflow:"visible",position:"relative","z-index":"1100"});var m=t("#masthead.navbar-sticky");if(m.length&&m.hasClass("navbar-sticky")){var g=m.position().top;t("body").waypoint({offset:-(parseInt(oxyThemeData.navbarScrolledPoint)+g),handler:function(t){m.toggleClass("navbar-scrolled");var e="swatch-",i=m[0].className.split(" ").filter(function(t){return 0!==t.lastIndexOf(e,0)});m[0].className=i.join(" "),m.one("MSTransitionEnd webkitTransitionEnd oTransitionEnd transitionend",function(){m.hasClass("refreshing")||Waypoint.refreshAll(),m.toggleClass("refreshing")})}})}t("body").waypoint({offset:-200,handler:function(e){"down"===e?t(".go-top").css("bottom","12px").css("opacity","1"):t(".go-top").css("bottom","-44px").css("opacity","0")}}),"on"===oxyThemeData.siteLoader?Pace.on("done",function(){setTimeout(function(){a()},500)}):a(),t(".go-top").click(function(e){e.preventDefault(),t("html, body").animate({scrollTop:0},300)}),t('[data-toggle="tooltip"]').tooltip(),t(".carousel").carousel({interval:7e3}),t(".accordion-body").on("hide",function(){t(this).parent(".accordion-group").find(".accordion-toggle").addClass("collapsed")}),t("body").on("show.bs.collapse",function(){t(this).hasClass("slide-menu")&&t(this).addClass("slide-on"),t(".navbar-toggle").removeClass("collapsed")}),t("body").on("hide.bs.collapse",function(){t(this).hasClass("slide-menu")&&t(this).removeClass("slide-on"),t(".navbar-toggle").addClass("collapsed")}),"on"===oxyThemeData.menuClose&&t("body.slide-menu").on("click",function(){t(this).hasClass("slide-on")&&t("#navbar-slide").collapse("hide")}),t(".chart").each(function(){var e=t(this);e.waypoint(function(){e.easyPieChart({barColor:e.attr("data-bar-color"),trackColor:e.attr("data-track-color"),lineWidth:e.attr("data-line-width"),scaleColor:!1,animate:1e3,size:e.attr("data-size"),lineCap:"square"})},{triggerOnce:!0,offset:"bottom-in-view"}),e.css("left","50%"),e.css("margin-left",-e.attr("data-size")/2)});for(var v=t(".video-wrapper iframe"),y=0;y<v.length;y++)v[y].src+=-1===v[y].src.indexOf("?")?"?wmode=opaque":"&wmode=opaque";t("[data-animation]").each(function(){var e=t(this);e.on("mouseenter",function(){"none"!==e.attr("data-animation")&&e.addClass("animated "+e.attr("data-animation"))}),e.on("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(t){e.removeClass("animated "+e.attr("data-animation"))})});var b=t("div.blog-masonry.isotope");b.length>0&&b.infinitescroll({navSelector:"div.infinite-scroll",nextSelector:"div.infinite-scroll a",itemSelector:".masonry-item",loading:{finishedMsg:oxyThemeData.scrollFinishedMessage},prefill:!0},function(e){t(e).each(function(e,i){var n=3,o=t(window).width(),s=2,a=b.attr("data-padding");768>o?(n=b.attr("data-col-xs"),s=1):992>o?(n=b.attr("data-col-sm"),s=1):1200>o?(n=b.attr("data-col-md"),s=2):o>1200&&(n=b.attr("data-col-lg"),s=2);var r=Math.floor(b.width()/n),l=t(this);l.hasClass("masonry-wide")?l.css("width",r*s):l.css("width",r),l.find(".post-masonry-inner").css("padding",a/2+"px")}),b.isotope("appended",t(e),function(){b.isotope("reLayout",function(){Waypoint.refreshAll()})})}),t(".magnific").each(function(e,i){var n=t(this),o="";void 0!==t(this).data("captions")&&(o=t(this).data("captions")),n.magnificPopup({type:"image",removalDelay:300,items:{src:n.attr("href"),title:o},mainClass:"mfp-fade"})}),t(".magnific-youtube, .magnific-vimeo, .magnific-gmaps").magnificPopup({type:"iframe",mainClass:"mfp-fade",removalDelay:300,preloader:!1,fixedContentPos:!1}),t(".magnific-gallery").each(function(e,i){var n=t(this),o=t(this).data("links").split(","),s="";void 0!==t(this).data("captions")&&(s=t(this).data("captions").split(","));for(var a=[],r=0;r<o.length;r++)a.push({src:o[r],title:s[r]});n.magnificPopup({mainClass:"mfp-fade",items:a,gallery:{enabled:!0,tPrev:t(this).data("prev-text"),tNext:t(this).data("next-text")},type:"image"})}),t(".magnific-all").each(function(){var e=t(this),i=e.find(".image-all"),n=[];i.each(function(){var e=t(this),i="";void 0!==e.attr("title")&&(i=e.attr("title"));var o="image";(e.hasClass("magnific-youtube")||e.hasClass("magnific-vimeo"))&&(o="iframe");var s={src:e.attr("href"),type:o,title:i};n.push(s)}),i.magnificPopup({mainClass:"mfp-fade",items:n,gallery:{enabled:!0,tPrev:t(this).data("prev-text"),tNext:t(this).data("next-text")},type:"image",callbacks:{beforeOpen:function(){var t=i.index(this.st.el);-1!==t&&this.goTo(t)}}})}),t(".product-gallery").magnificPopup({delegate:"li:not(.clone) figcaption a",type:"image",mainClass:"mfp-fade",gallery:{enabled:!0,navigateByImgClick:!0}}),t("[data-iconcolor]").each(function(){var e=t(this),i=t(e).css("background-color"),n=t(e).find("i").css("color");e.on("mouseenter",function(){e.css("background-color",e.attr("data-iconcolor")),e.find("i").css("color","#ffffff"),e.parents(".social-icons").hasClass("social-simple")&&e.find("i").css("color",e.attr("data-iconcolor"))}),e.on("mouseleave",function(){e.css("background-color",i),e.find("i").css("color",n),e.parents(".social-icons").hasClass("social-simple")&&e.find("i").css("color",n)})}),oxyThemeData.hoverMenu.hoverActive===!0&&(t('body:not([class*="oxy-agent"])').length&&t(".navbar .dropdown").hover(function(){t(this).find(".dropdown-menu").first().stop(!0,!0).delay(oxyThemeData.hoverMenu.hoverDelay).fadeIn(parseInt(oxyThemeData.hoverMenu.hoverFadeDelay))},function(){t(this).find(".dropdown-menu").first().stop(!0,!0).delay(oxyThemeData.hoverMenu.hoverDelay).fadeOut(parseInt(oxyThemeData.hoverMenu.hoverFadeDelay))}),t("#masthead .nav li.dropdown a").on("click",function(){var e=t(this);e.parent().hasClass("open")&&void 0!==e.attr("data-link")&&(window.location=e.attr("data-link"))})),t("body").on("country_to_state_changed",function(e,i){t(".input-text").addClass("form-control"),t("#calc_shipping_state").addClass("form-control")})}),function(){var t,e,i,n,o,s,a,r,l,c,u,d,h,p,f,m,g,v,y,b,w,x,C,S,T,A,k,E,P,j,M,L,F,I,N,D,B,R,O,z,W,H,_,q,$,V,U,Q,G,Y=[].slice,X={}.hasOwnProperty,K=function(t,e){function i(){this.constructor=t}for(var n in e)X.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},Z=[].indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(e in this&&this[e]===t)return e;return-1};for(w={catchupTime:100,initialRate:.03,minTime:250,ghostTime:100,maxProgressPerFrame:20,easeFactor:1.25,startOnPageLoad:!0,restartOnPushState:!0,restartOnRequestAfter:500,target:"body",elements:{checkInterval:100,selectors:["body"]},eventLag:{minSamples:10,sampleCount:3,lagThreshold:3},ajax:{trackMethods:["GET"],trackWebSockets:!0,ignoreURLs:[]}},P=function(){var t;return null!=(t="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance.now():void 0)?t:+new Date},M=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,b=window.cancelAnimationFrame||window.mozCancelAnimationFrame,null==M&&(M=function(t){return setTimeout(t,50)},b=function(t){return clearTimeout(t)}),F=function(t){var e,i;return e=P(),(i=function(){var n;return n=P()-e,n>=33?(e=P(),t(n,function(){return M(i)})):setTimeout(i,33-n)})()},L=function(){var t,e,i;return i=arguments[0],e=arguments[1],t=3<=arguments.length?Y.call(arguments,2):[],"function"==typeof i[e]?i[e].apply(i,t):i[e]},x=function(){var t,e,i,n,o,s,a;for(e=arguments[0],n=2<=arguments.length?Y.call(arguments,1):[],s=0,a=n.length;a>s;s++)if(i=n[s])for(t in i)X.call(i,t)&&(o=i[t],null!=e[t]&&"object"==typeof e[t]&&null!=o&&"object"==typeof o?x(e[t],o):e[t]=o);return e},g=function(t){var e,i,n,o,s;for(i=e=0,o=0,s=t.length;s>o;o++)n=t[o],i+=Math.abs(n),e++;return i/e},S=function(t,e){var i,n,o;if(null==t&&(t="options"),null==e&&(e=!0),o=document.querySelector("[data-pace-"+t+"]")){if(i=o.getAttribute("data-pace-"+t),!e)return i;try{return JSON.parse(i)}catch(s){return n=s,"undefined"!=typeof console&&null!==console?console.error("Error parsing inline pace options",n):void 0}}},a=function(){function t(){}return t.prototype.on=function(t,e,i,n){var o;return null==n&&(n=!1),null==this.bindings&&(this.bindings={}),null==(o=this.bindings)[t]&&(o[t]=[]),this.bindings[t].push({handler:e,ctx:i,once:n})},t.prototype.once=function(t,e,i){return this.on(t,e,i,!0)},t.prototype.off=function(t,e){var i,n,o;if(null!=(null!=(n=this.bindings)?n[t]:void 0)){if(null==e)return delete this.bindings[t];for(i=0,o=[];i<this.bindings[t].length;)o.push(this.bindings[t][i].handler===e?this.bindings[t].splice(i,1):i++);return o}},t.prototype.trigger=function(){var t,e,i,n,o,s,a,r,l;if(i=arguments[0],t=2<=arguments.length?Y.call(arguments,1):[],null!=(a=this.bindings)?a[i]:void 0){for(o=0,l=[];o<this.bindings[i].length;)r=this.bindings[i][o],n=r.handler,e=r.ctx,s=r.once,n.apply(null!=e?e:this,t),l.push(s?this.bindings[i].splice(o,1):o++);return l}},t}(),c=window.Pace||{},window.Pace=c,x(c,a.prototype),j=c.options=x({},w,window.paceOptions,S()),U=["ajax","document","eventLag","elements"],_=0,$=U.length;$>_;_++)B=U[_],j[B]===!0&&(j[B]=w[B]);l=function(t){function e(){return Q=e.__super__.constructor.apply(this,arguments)}return K(e,t),e}(Error),e=function(){function t(){this.progress=0}return t.prototype.getElement=function(){var t;if(null==this.el){if(t=document.querySelector(j.target),!t)throw new l;this.el=document.createElement("div"),this.el.className="pace pace-active",document.body.className=document.body.className.replace(/pace-done/g,""),document.body.className+=" pace-running",this.el.innerHTML='<div class="pace-progress">\n  <div class="pace-progress-inner"></div>\n</div>\n<div class="pace-activity"></div>',null!=t.firstChild?t.insertBefore(this.el,t.firstChild):t.appendChild(this.el)}return this.el},t.prototype.finish=function(){var t;return t=this.getElement(),t.className=t.className.replace("pace-active",""),t.className+=" pace-inactive",document.body.className=document.body.className.replace("pace-running",""),document.body.className+=" pace-done"},t.prototype.update=function(t){return this.progress=t,this.render()},t.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(t){l=t}return this.el=void 0},t.prototype.render=function(){var t,e,i,n,o,s,a;if(null==document.querySelector(j.target))return!1;for(t=this.getElement(),n="translate3d("+this.progress+"%, 0, 0)",a=["webkitTransform","msTransform","transform"],o=0,s=a.length;s>o;o++)e=a[o],t.children[0].style[e]=n;return(!this.lastRenderedProgress||this.lastRenderedProgress|0!==this.progress|0)&&(t.children[0].setAttribute("data-progress-text",""+(0|this.progress)+"%"),this.progress>=100?i="99":(i=this.progress<10?"0":"",i+=0|this.progress),t.children[0].setAttribute("data-progress",""+i)),this.lastRenderedProgress=this.progress},t.prototype.done=function(){return this.progress>=100},t}(),r=function(){function t(){this.bindings={}}return t.prototype.trigger=function(t,e){var i,n,o,s,a;if(null!=this.bindings[t]){for(s=this.bindings[t],a=[],n=0,o=s.length;o>n;n++)i=s[n],a.push(i.call(this,e));return a}},t.prototype.on=function(t,e){var i;return null==(i=this.bindings)[t]&&(i[t]=[]),this.bindings[t].push(e)},t}(),H=window.XMLHttpRequest,W=window.XDomainRequest,z=window.WebSocket,C=function(t,e){var i,n,o;o=[];for(n in e.prototype)try{o.push(null==t[n]&&"function"!=typeof e[n]?"function"==typeof Object.defineProperty?Object.defineProperty(t,n,{get:function(){return e.prototype[n]},configurable:!0,enumerable:!0}):t[n]=e.prototype[n]:void 0)}catch(s){i=s}return o},k=[],c.ignore=function(){var t,e,i;return e=arguments[0],t=2<=arguments.length?Y.call(arguments,1):[],k.unshift("ignore"),i=e.apply(null,t),k.shift(),i},c.track=function(){var t,e,i;return e=arguments[0],t=2<=arguments.length?Y.call(arguments,1):[],k.unshift("track"),i=e.apply(null,t),k.shift(),i},D=function(t){var e;if(null==t&&(t="GET"),"track"===k[0])return"force";if(!k.length&&j.ajax){if("socket"===t&&j.ajax.trackWebSockets)return!0;if(e=t.toUpperCase(),Z.call(j.ajax.trackMethods,e)>=0)return!0}return!1},u=function(t){function e(){var t,i=this;e.__super__.constructor.apply(this,arguments),t=function(t){var e;return e=t.open,t.open=function(n,o,s){return D(n)&&i.trigger("request",{type:n,url:o,request:t}),e.apply(t,arguments)}},window.XMLHttpRequest=function(e){var i;return i=new H(e),t(i),i};try{C(window.XMLHttpRequest,H)}catch(n){}if(null!=W){window.XDomainRequest=function(){var e;return e=new W,t(e),e};try{C(window.XDomainRequest,W)}catch(n){}}if(null!=z&&j.ajax.trackWebSockets){window.WebSocket=function(t,e){var n;return n=null!=e?new z(t,e):new z(t),D("socket")&&i.trigger("request",{type:"socket",url:t,protocols:e,request:n}),n};try{C(window.WebSocket,z)}catch(n){}}}return K(e,t),e}(r),q=null,T=function(){return null==q&&(q=new u),q},N=function(t){var e,i,n,o;for(o=j.ajax.ignoreURLs,i=0,n=o.length;n>i;i++)if(e=o[i],"string"==typeof e){if(-1!==t.indexOf(e))return!0}else if(e.test(t))return!0;return!1},T().on("request",function(e){var i,n,o,s,a;return s=e.type,o=e.request,a=e.url,N(a)?void 0:c.running||j.restartOnRequestAfter===!1&&"force"!==D(s)?void 0:(n=arguments,i=j.restartOnRequestAfter||0,"boolean"==typeof i&&(i=0),setTimeout(function(){var e,i,a,r,l,u;if(e="socket"===s?o.readyState<2:0<(r=o.readyState)&&4>r){for(c.restart(),l=c.sources,u=[],i=0,a=l.length;a>i;i++){if(B=l[i],B instanceof t){B.watch.apply(B,n);break}u.push(void 0)}return u}},i))}),t=function(){function t(){var t=this;this.elements=[],T().on("request",function(){return t.watch.apply(t,arguments)})}return t.prototype.watch=function(t){var e,i,n,o;return n=t.type,e=t.request,o=t.url,N(o)?void 0:(i="socket"===n?new p(e):new f(e),this.elements.push(i))},t}(),f=function(){function t(t){var e,i,n,o,s,a,r=this;if(this.progress=0,null!=window.ProgressEvent)for(i=null,t.addEventListener("progress",function(t){return r.progress=t.lengthComputable?100*t.loaded/t.total:r.progress+(100-r.progress)/2},!1),a=["load","abort","timeout","error"],n=0,o=a.length;o>n;n++)e=a[n],t.addEventListener(e,function(){return r.progress=100},!1);else s=t.onreadystatechange,t.onreadystatechange=function(){var e;return 0===(e=t.readyState)||4===e?r.progress=100:3===t.readyState&&(r.progress=50),"function"==typeof s?s.apply(null,arguments):void 0}}return t}(),p=function(){function t(t){var e,i,n,o,s=this;for(this.progress=0,o=["error","open"],i=0,n=o.length;n>i;i++)e=o[i],t.addEventListener(e,function(){return s.progress=100},!1)}return t}(),n=function(){function t(t){var e,i,n,s;for(null==t&&(t={}),this.elements=[],null==t.selectors&&(t.selectors=[]),s=t.selectors,i=0,n=s.length;n>i;i++)e=s[i],this.elements.push(new o(e))}return t}(),o=function(){function t(t){this.selector=t,this.progress=0,this.check()}return t.prototype.check=function(){var t=this;return document.querySelector(this.selector)?this.done():setTimeout(function(){return t.check()},j.elements.checkInterval)},t.prototype.done=function(){return this.progress=100},t}(),i=function(){function t(){var t,e,i=this;this.progress=null!=(e=this.states[document.readyState])?e:100,t=document.onreadystatechange,document.onreadystatechange=function(){return null!=i.states[document.readyState]&&(i.progress=i.states[document.readyState]),"function"==typeof t?t.apply(null,arguments):void 0}}return t.prototype.states={loading:0,interactive:50,complete:100},t}(),s=function(){function t(){var t,e,i,n,o,s=this;this.progress=0,t=0,o=[],n=0,i=P(),e=setInterval(function(){var a;return a=P()-i-50,i=P(),o.push(a),o.length>j.eventLag.sampleCount&&o.shift(),t=g(o),++n>=j.eventLag.minSamples&&t<j.eventLag.lagThreshold?(s.progress=100,clearInterval(e)):s.progress=100*(3/(t+3))},50)}return t}(),h=function(){function t(t){this.source=t,this.last=this.sinceLastUpdate=0,this.rate=j.initialRate,this.catchup=0,this.progress=this.lastProgress=0,null!=this.source&&(this.progress=L(this.source,"progress"))}return t.prototype.tick=function(t,e){var i;return null==e&&(e=L(this.source,"progress")),e>=100&&(this.done=!0),e===this.last?this.sinceLastUpdate+=t:(this.sinceLastUpdate&&(this.rate=(e-this.last)/this.sinceLastUpdate),this.catchup=(e-this.progress)/j.catchupTime,this.sinceLastUpdate=0,this.last=e),e>this.progress&&(this.progress+=this.catchup*t),i=1-Math.pow(this.progress/100,j.easeFactor),this.progress+=i*this.rate*t,this.progress=Math.min(this.lastProgress+j.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},t}(),R=null,I=null,v=null,O=null,m=null,y=null,c.running=!1,A=function(){return j.restartOnPushState?c.restart():void 0},null!=window.history.pushState&&(V=window.history.pushState,window.history.pushState=function(){return A(),V.apply(window.history,arguments)}),null!=window.history.replaceState&&(G=window.history.replaceState,window.history.replaceState=function(){return A(),G.apply(window.history,arguments)}),d={ajax:t,elements:n,document:i,eventLag:s},(E=function(){var t,i,n,o,s,a,r,l;for(c.sources=R=[],a=["ajax","elements","document","eventLag"],i=0,o=a.length;o>i;i++)t=a[i],j[t]!==!1&&R.push(new d[t](j[t]));for(l=null!=(r=j.extraSources)?r:[],n=0,s=l.length;s>n;n++)B=l[n],R.push(new B(j));return c.bar=v=new e,I=[],O=new h})(),c.stop=function(){return c.trigger("stop"),c.running=!1,v.destroy(),y=!0,null!=m&&("function"==typeof b&&b(m),m=null),E()},c.restart=function(){return c.trigger("restart"),c.stop(),c.start()},c.go=function(){var t;return c.running=!0,v.render(),t=P(),y=!1,m=F(function(e,i){var n,o,s,a,r,l,u,d,p,f,m,g,b,w,x,C;for(d=100-v.progress,o=m=0,s=!0,l=g=0,w=R.length;w>g;l=++g)for(B=R[l],f=null!=I[l]?I[l]:I[l]=[],r=null!=(C=B.elements)?C:[B],u=b=0,x=r.length;x>b;u=++b)a=r[u],p=null!=f[u]?f[u]:f[u]=new h(a),s&=p.done,p.done||(o++,m+=p.tick(e));return n=m/o,v.update(O.tick(e,n)),v.done()||s||y?(v.update(100),c.trigger("done"),setTimeout(function(){return v.finish(),c.running=!1,c.trigger("hide")},Math.max(j.ghostTime,Math.max(j.minTime-(P()-t),0)))):i()})},c.start=function(t){x(j,t),c.running=!0;try{v.render()}catch(e){l=e}return document.querySelector(".pace")?(c.trigger("start"),
c.go()):setTimeout(c.start,50)},"function"==typeof define&&define.amd?define(["pace"],function(){return c}):"object"==typeof exports?module.exports=c:j.startOnPageLoad&&c.start()}.call(this);

AISLING Pharma – Affy Pharma Pvt Ltd

SYREGO

POWDER FOR ORAL SUSPENSION
30ML (HDPE BOTTLE)

Composition

Cefpodoxime 50mg/5ml <

Indications & Uses

UTIs, LRTs

SYREGO – CV

POWDER FOR ORAL SUSPENSION
30ML (GLASS BOTTLE)

Composition

Cefpodoxime 50mg + Potassium Clavulanate 31.25mg/ 5ml

Indications & Uses

Upper & lower respiratory infections, Uncomplicated skin infections, Urinary Tract Infections

AISIMOX – CLAV

POWDER FOR ORAL SUSPENSION
30ML (GLASS +HDPE BOTTLE)

Composition

Amoxycillin 200mg + Potassium clavulanate 28.50 mg/ 5ml

Indications & Uses

Community Acquired Pneumonia, Acute Exacerbations of Chronic Bronchitis, Upper Respiratory Tract Infections, Urinary Tract Infections

CEFTAR – CV

POWDER FOR ORAL SUSPENSION
30ML (GLASS BOTTLE)

Composition

Cefixime 50mg + Potassium clavulanate 31.25mg/5ml

Indications & Uses

Urinary Tract Inefctions, AECB, Otitis Media, Typhoid/p>

CEFTAR

POWDER FOR ORAL SUSPENSION
30ML (HDPE BOTTLE)

Composition

Cefixime 50mg/5ml

Indications & Uses

Urinary Tract Inefctions, Gastroenteritis

FADRO

ORAL SUSPENSION
15 ml

Composition

Azithromycin 200mg/5ml

Indications & Uses

Community Acquired Pneumonia, Acute Exacerbations of Chronic Bronchitis,

DOFLAM – DS

ORAL SUSPENSION
60 ml

Composition

Paracetamol 250mg/5ml

Indications & Uses

Fever, Pain

ACE – M

ORAL SUSPENSION
60 ml

Composition

Paracetamol 125mg + Mefenamic Acid 50mg/5ml

Indications & Uses

Pain, Fever

FLORIN – 50

ORAL SUSPENSION
30 ml

Composition

Ofloxacin 50mg/5ml

Indications & Uses

Acute exacerbations of chronic bronchitis, community acquired Pneumonia, soft skin and skin structure infections

ACE – CET – P

SYRUP
60 ml

Composition

Paracetamol 125mg + PPH 5mg + Cetirizine HCI 2mg/5ml

Indications & Uses

Fever, common cold & Flu

KWOSNIL – DSR

CAPSULES ( HARD GELATIN)
10X10 (Alu-Alu)

Composition

Pantoprazole 40mg (EC) + Domperidone 30mg (SR)

Indications & Uses

GERD, Dyspepsia, Acid Peptic Disorders, Gastritis

TAPEN-DSR

CAPSULES ( HARD GELATIN)
11X10 (Alu-Alu)

Composition

Rabeprazole 20mg (EC) + Domperidone SR

Indications & Uses

GERD, Dyspepsia, Acid Peptic Disorders, Gastritis

KWOSNIL – DSR

CAPSULES ( HARD GELATIN)
10X10 (Alu-Alu)

Composition

Pantoprazole 40mg (EC) + Domperidone 30mg (SR)

Indications & Uses

GERD, Dyspepsia, Acid Peptic Disorders, Gastritis

ZAPRA – DSR

CAPSULES ( HARD GELATIN)
11X10 (Alu-Alu)

Composition

Rabeprazole 20mg (EC) + Domperidone SR

Indications & Uses

GERD, Dyspepsia, Acid Peptic Disorders, Gastritis

KWOSNIL – 40

INJECTION
40ml

Composition

Pantoprazole Sodium 40mg + NaCL

Indications & Uses

Acid-peptic disorders in hospitalized patients, Zollinger – Ellison Syndrome, Treatment of GERD Associated with Erasive Esophagitis, GL Bleed

NATIC

SUSPENSION
170ml

Composition

Activated Dimethicone 25mg + Magnesium Hydroxide 200mg+ Aluminium Hydroxide Gel 200mg/10ml

Indications & Uses

Heartburn, Acid Indigestion

AISZYME

SYRUP
200ml

Composition

Alpha Amylase (1:2000) 50mg, Pepsin(1:3000) 10mg/5ml

Indications & Uses

Dyspepsia, Flatulence, Anorexia, Pancreatic Insufficiency

BONFOL – Z

CAPSULES (HARD GELATIN)
10X3X10

Composition

Vitamin C 75mg + Vitamin B12 5mcg + Carbonyl Iron 100mg + Folic Acid 1.5mg + Zinc Sulphate 61.8mg

Indications & Uses

Hyphocromic Anemia in Pregnancy, Chronic and / or Acute Blood Loss, Post-gynaesurgery, Iron Deficiency Anemia

AID-D3 60K

CAPSULES (SOFT GELATIN)
10X1X4

Composition

Cholecalciferol 60000 UI

Indications & Uses

Osteoporosis, Osteoarthritis, Musculoskeletal Pain, Type- 2 Diabetes, Menstrual Irregularities, Pre-eclampsia, IUGR

ROBOTONE

ORAL SUSPENSION
200 ml

Composition

Calcium Carbonate 625mg, Vitamin D3 125 IU/5ml

Indications & Uses

Osteomalacia, Osteoporosis, Fractures, Premenstrual Syndrome

HAEMLING

SYRUP (IRON TONIC)
300 ml

Composition

Iron (III) Hydroxide Polymaltose 50mg, Folic Acid 0.5mg/15ml

Indications & Uses

Pregnancy and lactation, Iron Deficiency Anaemia, Anaemia due to Excessive Haemorrhage, Anaemia Associated with Infections and Malignant Disease

CIUM

CAPSULES (SOFT GELATIN)
5X2X15

Composition

Calcitriol 0.25mcg + Calcium Carbonate 500mg + Zinc Sulphate 7.5mg

Indications & Uses

Osteoporosis, Hypoparathyroidism, Pregnancy & Lactation, Premenstrual Syndrome

MEF – DSPAS

TABLETS
20X10

Composition

Mefenamic Acid 250mg + Dicyclomine HCI 10mg

Indications & Uses

Dysmenorrhea, Irritable Bowel Syndrome, Colic and Bladder Spasm, Abdominal Pain

NAS – 2

TABLETS (BLISTERS)
20X10

Composition

Nimeulide 100mg + Paracetamo; 325mg

Indications & Uses

Minor Pain of Arthiritis, Muscular Aches, Backache, Toothache, Headache, Pre-menstrual and Menstrual Cramps

NAC – P

TABLETS
20X10

Composition

Aceclofenac 100mg + Paracetamol 325mg

Indications & Uses

Arthritis Pain, Soft Tissue Trauma Including Sprains, Musculoskeletal Pain, Pain Following Dental Extraction

TP – FORTE

TABLETS (BLISTERS)
20X10

Composition

Tramadol 37.5mg +Paracetamol 325mg

Indications & Uses

Chronic Back Pain, Osteoarthritis, Postoperative Pain

SYREGO

POWDER FOR ORAL SUSPENSION
30ML (HDPE BOTTLE)

Composition

Cefpodoxime 50mg/5ml <

Indications & Uses

UTIs, LRTs

SWIFT – HEEL

CREAM
20g

Composition

Urea 10% +Lactic Acid 10% + Propylene Glycol 10% + Liquid Paraffin 10%

Indications & Uses

Foot Cracks, Keratolytic

OTIZOB

OINTMENT
15g

Composition

Clotrimazole 1% w/w + Beclomethasone Dipropionate 0.025% w/w + Neomycin 0.5% w/w

Indications & Uses

Eczema, Psoriasis, Corticosteroid Responsive Dermatoses

DANDNIL

LOTION
100 ml

Composition

Ketoconazole 2% w/v

Indications & Uses

Pityriasis, Dandruff

DANDNIL – Z

LOTION
100 ml

Composition

Ketoconazole Shampoo 2% w/v + ZPTO 1% w/v

Indications & Uses

Pityriasis, Dandruff

DANDNIL

SOAP
75g

Composition

Ketoconazole 1% w/w

Indications & Uses

Tinea Versicolor, Prophylaxis of Pityriasis Versicolor

FLUVERA – 200

TABLETS
20X1X1

Composition

Fluconazole 200mg

Indications & Uses

Vaginal Candidiasis, Brochopulmonary Infections, Candiduria, Tinea Pedis, Corposis, Cruris, Versicolor

MAGMA -VIT

SYRUP
200ml

Composition

L-Iysine HCI 25mg + Vitamin B1 2.5mg + Vitamin B2 2.5mg + Vitamin B6 0.75mg + D-panthenol 3mg +Niacinamide 25mg + Mecobalamin 2mcg/10ml

Indications & Uses

Sub-optimal Growth, Poor Weight Gain, Malnutrition, Prolonged Illness

LYCOVERVE GOLD

SYRUP
225ml

Composition

Each 10ml Contains: Lycopene 6% 1000mcg + Vitamin A Palmitate 2500 IU + Vitamin E 10 IU + Ascorbic Acid 50mg + Selenium (as Sodium Selenate) 35mcg + Zinc (As Zinc Gluconate) 3mg + Manganese (as Manganese Gluconate) 2mg + Iodine ( As Potassium Iodine) 100mcg + Copper (As Copper Sulphate0 500mcg + Thiamine HCI 2mg + Riboflavine 3mg + Pyridoxine HCI 1.5mg

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

CAROVI

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Antioxidant, Multivitamin & Multiminerals

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

WEETE

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Vitamin E (Natural) 400 IU + Wheat Germ Oil 100mg + Omega 3 Fatty Acids 30mg

Indications & Uses

Ulcerative colitis, Metabolic Syndrome, Rheumatoid Arthritis, Type-2 Diabetes, Cardiovascular Diseases

CAROVI-4G

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Omega 3 Fatty Acid + Ginseng Extract + Ginkgo Bilaba Extract + Grape Seed Extract + Ginseng Extract + Multimineral + Multivitamin + Antioxidants + Trace Elements

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

CAROVI G

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Ginseng + Multivitamin + Multimineral

Indications & Uses

Tiredness, Stress, Feeling of Weakness, Vitality Deficiency

LYCOVERVE PLUS

CAPSULES (SOFT GELATIN)
10X1X10

Composition

Each SG Contains Lycopene 6% 2000 IU + Vitamin A 2500 IU + Vitamin E Acetate 10 IU + Vitamin C 50 mg + Zinc sulphate Monohydrate 27.45mg + Selenium Dioxide 70mcg

Indications & Uses

Idiopathic Male Infertility, Pre-eclampsia, Prostate Cancer, Cardiovascular Diseases, Diabetes Mellitus

CEFTAR-200 LB

TABLETS (Alu-Alu)
20X10

Composition

Cefixime 200mg + Lactic Acid Bacilus 2.5 billion spores

Indications & Uses

Otitis Media, Pharyngitis & Tonsillitis, Uncomplicated Urinary Tract Infections, Acute Exacerbations of Chronic Bronchitis, Enteric Fever

CEFTAR-CV-325

TABLETS (Alu-Alu)
10X1X6

Composition

Cefixime 200mg + Potassium Clavulanate 125mg

Indications & Uses

Respiratory Tract Infections, Urinary Tract Infections, Skin & Skin Structure Infections

AISIMOX – CLAV 625

TABLETS (Alu-Alu)
10X1X7

Composition

Amoxycillin 500mg + Potassium Clavulanate 125mg

Indications & Uses

Respiratory Tract Infections, Community Acquired Pneumonia, Gynaecological Infections, Acute Exacerbations of Chronic Bronchitis, Skin and Soft Tissue Infections

ROFLOX – O

TABLETS (Blister)
20X10

Composition

Ofloxacin 200mg + Ornidazole 500mg

Indications & Uses

Surgical ions, Diarrheas of Mixed Etiology, Gynaecological Infections, Orofacial and Dental Infections

NTILEVO

TABLETS
10X10

Composition

Levofloxacin 500mg

Indications & Uses

Acute Bacterial Sinusitis, Acute Bacterial Exacerbations of Chronic Bronchitis, Skin & Skin Structure Infections, Chronic Bacterial Prostatitis, Urinary Tract Infections

ROFLOX – O

TABLETS (Alu-Alu)
20X10

Composition

Ofloxacin 200mg

Indications & Uses

Community Acquired Pneumonia, Multiple Drug Resistant-TB, Typhoid

CEFTAR – O

TABLETS (Alu-Alu)
10X1X10

Composition

Cefixime 200mg + Ofloxacin 200mg

Indications & Uses

RTIs, Otitis Media, Sinustis, UTIs, Typhoid

AISIMOX – CLAV – 1.2

INJECTIONS
1.2g

Composition

Amoxycillin 1000mg + Potassium Clavulanate 200mg + WFI

Indications & Uses

Community Acquired Pneumonia, Gynaecological Infections, Upper Respiratory Tract Infections, Skin and Soft Tissue Infections, Urinary Tract Infections, Acute Exacerbations of Chronic Bronchitis

XC – SB 1.5

INJECTIONS
1.5g

Composition

Ceftriaxone 1000mg + Sulbactam 500mg + WFI

Indications & Uses

Gynaecological Infections, Lower Respiratory Tract Infections, Intra-abdominal Infections with Aerobic Organisms, Surgical Prophylaxis

FOPER-SB 1.5

INJECTIONS
1.5gm

Composition

Cefaperazone 1000mg + Sulbactam 500mg +WFI

Indications & Uses

Peritonitis, Bacterial Simusitis, Cholecystitis, Meningitis

M-HAWK

INJECTIONS
1gm

Composition

Meropenem 1gm + WFI

Indications & Uses

Complicated Intra-abdominal Infection (cIAI), Complicated Skin & Skin Structure Infections (cSSSI), Bacterial Meningitis, Noscocomial Pneumonia

PTZ-4.5

INJECTIONS
4.5gm

Composition

Piperacillin 4000mg + Tazobactam 500mg + WFI

Indications & Uses

Intra-abdominal Infections, Complicated Urinary Tract Infections, Febrile Neutropenia, Lower Respiratory Tract Infections

OXIME-200

TABLETS (Alu-Alu)
10X1X6

Composition

Cefpodoxime Proxetil 200mg

Indications & Uses

Pharyngitis, CAP, Tonsilitis

KHAASHNIL

SYRUP
100ml

Composition

Ambroxol HCI 15mg + Guaiphensin 50mg + Terbutaline Sulphate 1.5mg + Mentholated Base/5ml

Indications & Uses

Bronchitis, Productive Cough, Emphysema, Bronchial Asthma

KHAASHNIL – BR

SYRUP
100ml

Composition

Terbutaline Sulphate 2.5mg + Bromhexine HCI 8mg + Guaiphenesin 100mg + Methalated Base/5ml

Indications & Uses

Acute Cough, Abnormal Mucus Secretion, Productive Cough

ENYPHIL

SYRUP
100ml

Composition

Dextromethorphan Hydrobromide 10mg + Phenylpherine 5 mg + Cetrizine 5mg + Mentholated Base/5ml

Indications & Uses

Commom Cold and Flu, Nasal Congestion, Sore Throat

LEVKAST

TABLETS (Alu-Alu)
20X10

Composition

Levocetirizine 5mg + Montelukast 10mg

Indications & Uses

Allergic Rhinitis, Nasal Congestion, Asthma

AISLET

TABLETS (Alu-Alu)
20X10

Composition

Levocetirizine 5mg

Indications & Uses

Chronic Idiopathic Urticaria (CIU), Seasonal Allergic Rhinitis (SAR), Perennial Allergic Rhinitis (PAR)

Arrange A Callback
[]
1 Step 1
Full Name
Telephone
Departmentyour full name
Postal Address
Message
0 /
Previous
Next
Shopping Basket