text: !function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=K.type(e);return"function"!==n&&!K.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t,n){if(K.isFunction(t))return K.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return K.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ce.test(t))return K.filter(t,e,n);t=K.filter(t,e)}return K.grep(e,function(e){return Y.call(t,e)>-1!==n})}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function o(){B.removeEventListener("DOMContentLoaded",o),e.removeEventListener("load",o),K.ready()}function r(){this.expando=K.expando+r.uid++}function a(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(we,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:xe.test(n)?K.parseJSON(n):n)}catch(e){}be.set(e,t,n)}else n=void 0;return n}function l(e,t,n,i){var s,o=1,r=20,a=i?function(){return i.cur()}:function(){return K.css(e,t,"")},l=a(),c=n&&n[3]||(K.cssNumber[t]?"":"px"),u=(K.cssNumber[t]||"px"!==c&&+l)&&Ce.exec(K.css(e,t));if(u&&u[3]!==c){c=c||u[3],n=n||[],u=+l||1;do{u/=o=o||".5",K.style(e,t,u+c)}while(o!==(o=a()/l)&&1!==o&&--r)}return n&&(u=+u||+l||0,s=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=s)),s}function c(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&K.nodeName(e,t)?K.merge([e],n):n}function u(e,t){for(var n=0,i=e.length;n<i;n++)ye.set(e[n],"globalEval",!t||ye.get(t[n],"globalEval"))}function d(e,t,n,i,s){for(var o,r,a,l,d,p,h=t.createDocumentFragment(),f=[],m=0,g=e.length;m<g;m++)if((o=e[m])||0===o)if("object"===K.type(o))K.merge(f,o.nodeType?[o]:o);else if(Ne.test(o)){for(r=r||h.appendChild(t.createElement("div")),a=(Ee.exec(o)||["",""])[1].toLowerCase(),l=Ae[a]||Ae._default,r.innerHTML=l[1]+K.htmlPrefilter(o)+l[2],p=l[0];p--;)r=r.lastChild;K.merge(f,r.childNodes),(r=h.firstChild).textContent=""}else f.push(t.createTextNode(o));for(h.textContent="",m=0;o=f[m++];)if(i&&K.inArray(o,i)>-1)s&&s.push(o);else if(d=K.contains(o.ownerDocument,o),r=c(h.appendChild(o),"script"),d&&u(r),n)for(p=0;o=r[p++];)Se.test(o.type||"")&&n.push(o);return h}function p(){return!0}function h(){return!1}function f(){try{return B.activeElement}catch(e){}}function m(e,t,n,i,s,o){var r,a;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(a in t)m(e,a,n,i,t[a],o);return e}if(null==i&&null==s?(s=n,i=n=void 0):null==s&&("string"==typeof n?(s=i,i=void 0):(s=i,i=n,n=void 0)),!1===s)s=h;else if(!s)return e;return 1===o&&(r=s,(s=function(e){return K().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=K.guid++)),e.each(function(){K.event.add(this,t,s,i,n)})}function g(e,t){return K.nodeName(e,"table")&&K.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function v(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function y(e){var t=Fe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function b(e,t){var n,i,s,o,r,a,l,c;if(1===t.nodeType){if(ye.hasData(e)&&(o=ye.access(e),r=ye.set(t,o),c=o.events)){delete r.handle,r.events={};for(s in c)for(n=0,i=c[s].length;n<i;n++)K.event.add(t,s,c[s][n])}be.hasData(e)&&(a=be.access(e),l=K.extend({},a),be.set(t,l))}}function x(e,t){var n=t.nodeName.toLowerCase();"input"===n&&$e.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function w(e,t,n,i){t=V.apply([],t);var s,o,r,a,l,u,p=0,h=e.length,f=h-1,m=t[0],g=K.isFunction(m);if(g||h>1&&"string"==typeof m&&!J.checkClone&&Le.test(m))return e.each(function(s){var o=e.eq(s);g&&(t[0]=m.call(this,s,o.html())),w(o,t,n,i)});if(h&&(s=d(t,e[0].ownerDocument,!1,e,i),o=s.firstChild,1===s.childNodes.length&&(s=o),o||i)){for(a=(r=K.map(c(s,"script"),v)).length;p<h;p++)l=s,p!==f&&(l=K.clone(l,!0,!0),a&&K.merge(r,c(l,"script"))),n.call(e[p],l,p);if(a)for(u=r[r.length-1].ownerDocument,K.map(r,y),p=0;p<a;p++)l=r[p],Se.test(l.type||"")&&!ye.access(l,"globalEval")&&K.contains(u,l)&&(l.src?K._evalUrl&&K._evalUrl(l.src):K.globalEval(l.textContent.replace(He,"")))}return e}function _(e,t,n){for(var i,s=t?K.filter(t,e):e,o=0;null!=(i=s[o]);o++)n||1!==i.nodeType||K.cleanData(c(i)),i.parentNode&&(n&&K.contains(i.ownerDocument,i)&&u(c(i,"script")),i.parentNode.removeChild(i));return e}function C(e,t){var n=K(t.createElement(e)).appendTo(t.body),i=K.css(n[0],"display");return n.detach(),i}function T(e){var t=B,n=qe[e];return n||("none"!==(n=C(e,t))&&n||((t=(ze=(ze||K("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=C(e,t),ze.detach()),qe[e]=n),n}function k(e,t,n){var i,s,o,r,a=e.style;return n=n||We(e),""!==(r=n?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==r||K.contains(e.ownerDocument,e)||(r=K.style(e,t)),n&&!J.pixelMarginRight()&&Me.test(r)&&Re.test(t)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=n.width,a.width=i,a.minWidth=s,a.maxWidth=o),void 0!==r?r+"":r}function $(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function E(e){if(e in Ge)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;n--;)if((e=Qe[n]+t)in Ge)return e}function S(e,t,n){var i=Ce.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function A(e,t,n,i,s){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,r=0;o<4;o+=2)"margin"===n&&(r+=K.css(e,n+Te[o],!0,s)),i?("content"===n&&(r-=K.css(e,"padding"+Te[o],!0,s)),"margin"!==n&&(r-=K.css(e,"border"+Te[o]+"Width",!0,s))):(r+=K.css(e,"padding"+Te[o],!0,s),"padding"!==n&&(r+=K.css(e,"border"+Te[o]+"Width",!0,s)));return r}function N(e,t,n){var i=!0,s="width"===t?e.offsetWidth:e.offsetHeight,o=We(e),r="border-box"===K.css(e,"boxSizing",!1,o);if(s<=0||null==s){if(((s=k(e,t,o))<0||null==s)&&(s=e.style[t]),Me.test(s))return s;i=r&&(J.boxSizingReliable()||s===e.style[t]),s=parseFloat(s)||0}return s+A(e,t,n||(r?"border":"content"),i,o)+"px"}function D(e,t){for(var n,i,s,o=[],r=0,a=e.length;r<a;r++)(i=e[r]).style&&(o[r]=ye.get(i,"olddisplay"),n=i.style.display,t?(o[r]||"none"!==n||(i.style.display=""),""===i.style.display&&ke(i)&&(o[r]=ye.access(i,"olddisplay",T(i.nodeName)))):(s=ke(i),"none"===n&&s||ye.set(i,"olddisplay",s?n:K.css(i,"display"))));for(r=0;r<a;r++)(i=e[r]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[r]||"":"none"));return e}function j(e,t,n,i,s){return new j.prototype.init(e,t,n,i,s)}function I(){return e.setTimeout(function(){Ze=void 0}),Ze=K.now()}function P(e,t){var n,i=0,s={height:e};for(t=t?1:0;i<4;i+=2-t)s["margin"+(n=Te[i])]=s["padding"+n]=e;return t&&(s.opacity=s.width=e),s}function O(e,t,n){for(var i,s=(L.tweeners[t]||[]).concat(L.tweeners["*"]),o=0,r=s.length;o<r;o++)if(i=s[o].call(n,t,e))return i}function L(e,t,n){var i,s,o=0,r=L.prefilters.length,a=K.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var t=Ze||I(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),o=0,r=c.tweens.length;o<r;o++)c.tweens[o].run(i);return a.notifyWith(e,[c,i,n]),i<1&&r?n:(a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:K.extend({},t),opts:K.extend(!0,{specialEasing:{},easing:K.easing._default},n),originalProperties:t,originalOptions:n,startTime:Ze||I(),duration:n.duration,tweens:[],createTween:function(t,n){var i=K.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(s)return this;for(s=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,i,s,o,r;for(n in e)if(i=K.camelCase(n),s=t[i],o=e[n],K.isArray(o)&&(s=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(r=K.cssHooks[i])&&"expand"in r){o=r.expand(o),delete e[i];for(n in o)n in e||(e[n]=o[n],t[n]=s)}else t[i]=s}(u,c.opts.specialEasing);o<r;o++)if(i=L.prefilters[o].call(c,e,u,c.opts))return K.isFunction(i.stop)&&(K._queueHooks(c.elem,c.opts.queue).stop=K.proxy(i.stop,i)),i;return K.map(u,O,c),K.isFunction(c.opts.start)&&c.opts.start.call(e,c),K.fx.timer(K.extend(l,{elem:e,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 F(e){return e.getAttribute&&e.getAttribute("class")||""}function H(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,s=0,o=t.toLowerCase().match(fe)||[];if(K.isFunction(n))for(;i=o[s++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function z(e,t,n,i){function s(a){var l;return o[a]=!0,K.each(e[a]||[],function(e,a){var c=a(t,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)}),l}var o={},r=e===yt;return s(t.dataTypes[0])||!o["*"]&&s("*")}function q(e,t){var n,i,s=K.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((s[n]?e:i||(i={}))[n]=t[n]);return i&&K.extend(!0,e,i),e}function R(e,t,n,i){var s;if(K.isArray(t))K.each(t,function(t,s){n||_t.test(e)?i(e,s):R(e+"["+("object"==typeof s&&null!=s?t:"")+"]",s,n,i)});else if(n||"object"!==K.type(t))i(e,t);else for(s in t)R(e+"["+s+"]",t[s],n,i)}function M(e){return K.isWindow(e)?e:9===e.nodeType&&e.defaultView}var W=[],B=e.document,U=W.slice,V=W.concat,X=W.push,Y=W.indexOf,Q={},G=Q.toString,Z=Q.hasOwnProperty,J={},K=function(e,t){return new K.fn.init(e,t)},ee=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,te=/^-ms-/,ne=/-([\da-z])/gi,ie=function(e,t){return t.toUpperCase()};K.fn=K.prototype={jquery:"2.2.4",constructor:K,selector:"",length:0,toArray:function(){return U.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:U.call(this)},pushStack:function(e){var t=K.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return K.each(this,e)},map:function(e){return this.pushStack(K.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(U.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:X,sort:W.sort,splice:W.splice},K.extend=K.fn.extend=function(){var e,t,n,i,s,o,r=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[a]||{},a++),"object"==typeof r||K.isFunction(r)||(r={}),a===l&&(r=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=r[t],r!==(i=e[t])&&(c&&i&&(K.isPlainObject(i)||(s=K.isArray(i)))?(s?(s=!1,o=n&&K.isArray(n)?n:[]):o=n&&K.isPlainObject(n)?n:{},r[t]=K.extend(c,o,i)):void 0!==i&&(r[t]=i));return r},K.extend({expando:"jQuery"+("2.2.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===K.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!K.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==K.type(e)||e.nodeType||K.isWindow(e))return!1;if(e.constructor&&!Z.call(e,"constructor")&&!Z.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||Z.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?Q[G.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=K.trim(e))&&(1===e.indexOf("use strict")?((t=B.createElement("script")).text=e,B.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(te,"ms-").replace(ne,ie)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var i,s=0;if(n(e))for(i=e.length;s<i&&!1!==t.call(e[s],s,e[s]);s++);else for(s in e)if(!1===t.call(e[s],s,e[s]))break;return e},trim:function(e){return null==e?"":(e+"").replace(ee,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?K.merge(i,"string"==typeof e?[e]:e):X.call(i,e)),i},inArray:function(e,t,n){return null==t?-1:Y.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,s=e.length;i<n;i++)e[s++]=t[i];return e.length=s,e},grep:function(e,t,n){for(var i=[],s=0,o=e.length,r=!n;s<o;s++)!t(e[s],s)!==r&&i.push(e[s]);return i},map:function(e,t,i){var s,o,r=0,a=[];if(n(e))for(s=e.length;r<s;r++)null!=(o=t(e[r],r,i))&&a.push(o);else for(r in e)null!=(o=t(e[r],r,i))&&a.push(o);return V.apply([],a)},guid:1,proxy:function(e,t){var n,i,s;if("string"==typeof t&&(n=e[t],t=e,e=n),K.isFunction(e))return i=U.call(arguments,2),s=function(){return e.apply(t||this,i.concat(U.call(arguments)))},s.guid=e.guid=e.guid||K.guid++,s},now:Date.now,support:J}),"function"==typeof Symbol&&(K.fn[Symbol.iterator]=W[Symbol.iterator]),K.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){Q["[object "+t+"]"]=t.toLowerCase()});var se=function(e){function t(e,t,n,i){var s,o,r,a,l,c,d,h,f=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!i&&((t?t.ownerDocument||t:H)!==N&&A(t),t=t||N,j)){if(11!==m&&(c=me.exec(e)))if(s=c[1]){if(9===m){if(!(r=t.getElementById(s)))return n;if(r.id===s)return n.push(r),n}else if(f&&(r=f.getElementById(s))&&L(t,r)&&r.id===s)return n.push(r),n}else{if(c[2])return G.apply(n,t.getElementsByTagName(e)),n;if((s=c[3])&&b.getElementsByClassName&&t.getElementsByClassName)return G.apply(n,t.getElementsByClassName(s)),n}if(b.qsa&&!W[e+" "]&&(!I||!I.test(e))){if(1!==m)f=t,h=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(ve,"\\$&"):t.setAttribute("id",a=F),o=(d=C(e)).length,l=ue.test(a)?"#"+a:"[id='"+a+"']";o--;)d[o]=l+" "+p(d[o]);h=d.join(","),f=ge.test(e)&&u(t.parentNode)||t}if(h)try{return G.apply(n,f.querySelectorAll(h)),n}catch(e){}finally{a===F&&t.removeAttribute("id")}}}return k(e.replace(oe,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>x.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[F]=!0,e}function s(e){var t=N.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),i=n.length;i--;)x.attrHandle[n[i]]=t}function r(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||U)-(~e.sourceIndex||U);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return i(function(t){return t=+t,i(function(n,i){for(var s,o=e([],n.length,t),r=o.length;r--;)n[s=o[r]]&&(n[s]=!(i[s]=n[s]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function d(){}function p(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function h(e,t,n){var i=t.dir,s=n&&"parentNode"===i,o=q++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,o)}:function(t,n,r){var a,l,c,u=[z,o];if(r){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,r))return!0}else for(;t=t[i];)if(1===t.nodeType||s){if(c=t[F]||(t[F]={}),l=c[t.uniqueID]||(c[t.uniqueID]={}),(a=l[i])&&a[0]===z&&a[1]===o)return u[2]=a[2];if(l[i]=u,u[2]=e(t,n,r))return!0}}}function f(e){return e.length>1?function(t,n,i){for(var s=e.length;s--;)if(!e[s](t,n,i))return!1;return!0}:e[0]}function m(e,t,n,i,s){for(var o,r=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,s)||(r.push(o),c&&t.push(a)));return r}function g(e,n,s,o,r,a){return o&&!o[F]&&(o=g(o)),r&&!r[F]&&(r=g(r,a)),i(function(i,a,l,c){var u,d,p,h=[],f=[],g=a.length,v=i||function(e,n,i){for(var s=0,o=n.length;s<o;s++)t(e,n[s],i);return i}(n||"*",l.nodeType?[l]:l,[]),y=!e||!i&&n?v:m(v,h,e,l,c),b=s?r||(i?e:g||o)?[]:a:y;if(s&&s(y,b,l,c),o)for(u=m(b,f),o(u,[],l,c),d=u.length;d--;)(p=u[d])&&(b[f[d]]=!(y[f[d]]=p));if(i){if(r||e){if(r){for(u=[],d=b.length;d--;)(p=b[d])&&u.push(y[d]=p);r(null,b=[],u,c)}for(d=b.length;d--;)(p=b[d])&&(u=r?J(i,p):h[d])>-1&&(i[u]=!(a[u]=p))}}else b=m(b===a?b.splice(g,b.length):b),r?r(null,a,b,c):G.apply(a,b)})}function v(e){for(var t,n,i,s=e.length,o=x.relative[e[0].type],r=o||x.relative[" "],a=o?1:0,l=h(function(e){return e===t},r,!0),c=h(function(e){return J(t,e)>-1},r,!0),u=[function(e,n,i){var s=!o&&(i||n!==$)||((t=n).nodeType?l(e,n,i):c(e,n,i));return t=null,s}];a<s;a++)if(n=x.relative[e[a].type])u=[h(f(u),n)];else{if((n=x.filter[e[a].type].apply(null,e[a].matches))[F]){for(i=++a;i<s&&!x.relative[e[i].type];i++);return g(a>1&&f(u),a>1&&p(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(oe,"$1"),n,a<i&&v(e.slice(a,i)),i<s&&v(e=e.slice(i)),i<s&&p(e))}u.push(n)}return f(u)}var y,b,x,w,_,C,T,k,$,E,S,A,N,D,j,I,P,O,L,F="sizzle"+1*new Date,H=e.document,z=0,q=0,R=n(),M=n(),W=n(),B=function(e,t){return e===t&&(S=!0),0},U=1<<31,V={}.hasOwnProperty,X=[],Y=X.pop,Q=X.push,G=X.push,Z=X.slice,J=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",ie=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",se=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),re=new RegExp("^"+ee+"*,"+ee+"*"),ae=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ce=new RegExp(ie),ue=new RegExp("^"+te+"$"),de={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,he=/^h\d$/i,fe=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ge=/[+~]/,ve=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),be=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},xe=function(){A()};try{G.apply(X=Z.call(H.childNodes),H.childNodes),X[H.childNodes.length].nodeType}catch(e){G={apply:X.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}b=t.support={},_=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:H;return i!==N&&9===i.nodeType&&i.documentElement?(N=i,D=N.documentElement,j=!_(N),(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xe,!1):n.attachEvent&&n.attachEvent("onunload",xe)),b.attributes=s(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=s(function(e){return e.appendChild(N.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=fe.test(N.getElementsByClassName),b.getById=s(function(e){return D.appendChild(e).id=F,!N.getElementsByName||!N.getElementsByName(F).length}),b.getById?(x.find.ID=function(e,t){if(void 0!==t.getElementById&&j){var n=t.getElementById(e);return n?[n]:[]}},x.filter.ID=function(e){var t=e.replace(ye,be);return function(e){return e.getAttribute("id")===t}}):(delete x.find.ID,x.filter.ID=function(e){var t=e.replace(ye,be);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),x.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],s=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[s++];)1===n.nodeType&&i.push(n);return i}return o},x.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&j)return t.getElementsByClassName(e)},P=[],I=[],(b.qsa=fe.test(N.querySelectorAll))&&(s(function(e){D.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||I.push("\\["+ee+"*(?:value|"+K+")"),e.querySelectorAll("[id~="+F+"-]").length||I.push("~="),e.querySelectorAll(":checked").length||I.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||I.push(".#.+[+~]")}),s(function(e){var t=N.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&I.push("name"+ee+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),I.push(",.*:")})),(b.matchesSelector=fe.test(O=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&s(function(e){b.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),P.push("!=",ie)}),I=I.length&&new RegExp(I.join("|")),P=P.length&&new RegExp(P.join("|")),t=fe.test(D.compareDocumentPosition),L=t||fe.test(D.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},B=t?function(e,t){if(e===t)return S=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===N||e.ownerDocument===H&&L(H,e)?-1:t===N||t.ownerDocument===H&&L(H,t)?1:E?J(E,e)-J(E,t):0:4&n?-1:1)}:function(e,t){if(e===t)return S=!0,0;var n,i=0,s=e.parentNode,o=t.parentNode,a=[e],l=[t];if(!s||!o)return e===N?-1:t===N?1:s?-1:o?1:E?J(E,e)-J(E,t):0;if(s===o)return r(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?r(a[i],l[i]):a[i]===H?-1:l[i]===H?1:0},N):N},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==N&&A(e),n=n.replace(le,"='$1']"),b.matchesSelector&&j&&!W[n+" "]&&(!P||!P.test(n))&&(!I||!I.test(n)))try{var i=O.call(e,n);if(i||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return t(n,N,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==N&&A(e),L(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==N&&A(e);var n=x.attrHandle[t.toLowerCase()],i=n&&V.call(x.attrHandle,t.toLowerCase())?n(e,t,!j):void 0;return void 0!==i?i:b.attributes||!j?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,s=0;if(S=!b.detectDuplicates,E=!b.sortStable&&e.slice(0),e.sort(B),S){for(;t=e[s++];)t===e[s]&&(i=n.push(s));for(;i--;)e.splice(n[i],1)}return E=null,e},w=t.getText=function(e){var t,n="",i=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[i++];)n+=w(t);return n},(x=t.selectors={cacheLength:50,createPseudo:i,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,be),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=R[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&R(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(s){var o=t.attr(s,e);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(se," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,s){var o="nth"!==e.slice(0,3),r="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===s?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,h,f,m=o!==r?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(g){if(o){for(;m;){for(p=t;p=p[m];)if(a?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[r?g.firstChild:g.lastChild],r&&y){for(b=(h=(c=(u=(d=(p=g)[F]||(p[F]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===z&&c[1])&&c[2],p=h&&g.childNodes[h];p=++h&&p&&p[m]||(b=h=0)||f.pop();)if(1===p.nodeType&&++b&&p===t){u[e]=[z,h,b];break}}else if(y&&(b=h=(c=(u=(d=(p=t)[F]||(p[F]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]||[])[0]===z&&c[1]),!1===b)for(;(p=++h&&p&&p[m]||(b=h=0)||f.pop())&&((a?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((u=(d=p[F]||(p[F]={}))[p.uniqueID]||(d[p.uniqueID]={}))[e]=[z,b]),p!==t)););return(b-=s)===i||b%i==0&&b/i>=0}}},PSEUDO:function(e,n){var s,o=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[F]?o(n):o.length>1?(s=[e,e,"",n],x.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,s=o(e,n),r=s.length;r--;)e[i=J(e,s[r])]=!(t[i]=s[r])}):function(e){return o(e,0,s)}):o}},pseudos:{not:i(function(e){var t=[],n=[],s=T(e.replace(oe,"$1"));return s[F]?i(function(e,t,n,i){for(var o,r=s(e,null,i,[]),a=e.length;a--;)(o=r[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,s(t,null,o,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(ye,be),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:i(function(e){return ue.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,be).toLowerCase(),function(t){var n;do{if(n=j?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===D},focus:function(e){return e===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return he.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:c(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=x.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[y]=a(y);for(y in{submit:!0,reset:!0})x.pseudos[y]=l(y);return d.prototype=x.filters=x.pseudos,x.setFilters=new d,C=t.tokenize=function(e,n){var i,s,o,r,a,l,c,u=M[e+" "];if(u)return n?0:u.slice(0);for(a=e,l=[],c=x.preFilter;a;){i&&!(s=re.exec(a))||(s&&(a=a.slice(s[0].length)||a),l.push(o=[])),i=!1,(s=ae.exec(a))&&(i=s.shift(),o.push({value:i,type:s[0].replace(oe," ")}),a=a.slice(i.length));for(r in x.filter)!(s=de[r].exec(a))||c[r]&&!(s=c[r](s))||(i=s.shift(),o.push({value:i,type:r,matches:s}),a=a.slice(i.length));if(!i)break}return n?a.length:a?t.error(e):M(e,l).slice(0)},T=t.compile=function(e,n){var s,o=[],r=[],a=W[e+" "];if(!a){for(n||(n=C(e)),s=n.length;s--;)(a=v(n[s]))[F]?o.push(a):r.push(a);(a=W(e,function(e,n){var s=n.length>0,o=e.length>0,r=function(i,r,a,l,c){var u,d,p,h=0,f="0",g=i&&[],v=[],y=$,b=i||o&&x.find.TAG("*",c),w=z+=null==y?1:Math.random()||.1,_=b.length;for(c&&($=r===N||r||c);f!==_&&null!=(u=b[f]);f++){if(o&&u){for(d=0,r||u.ownerDocument===N||(A(u),a=!j);p=e[d++];)if(p(u,r||N,a)){l.push(u);break}c&&(z=w)}s&&((u=!p&&u)&&h--,i&&g.push(u))}if(h+=f,s&&f!==h){for(d=0;p=n[d++];)p(g,v,r,a);if(i){if(h>0)for(;f--;)g[f]||v[f]||(v[f]=Y.call(l));v=m(v)}G.apply(l,v),c&&!i&&v.length>0&&h+n.length>1&&t.uniqueSort(l)}return c&&(z=w,$=y),g};return s?i(r):r}(r,o))).selector=e}return a},k=t.select=function(e,t,n,i){var s,o,r,a,l,c="function"==typeof e&&e,d=!i&&C(e=c.selector||e);if(n=n||[],1===d.length){if((o=d[0]=d[0].slice(0)).length>2&&"ID"===(r=o[0]).type&&b.getById&&9===t.nodeType&&j&&x.relative[o[1].type]){if(!(t=(x.find.ID(r.matches[0].replace(ye,be),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(s=de.needsContext.test(e)?0:o.length;s--&&(r=o[s],!x.relative[a=r.type]);)if((l=x.find[a])&&(i=l(r.matches[0].replace(ye,be),ge.test(o[0].type)&&u(t.parentNode)||t))){if(o.splice(s,1),!(e=i.length&&p(o)))return G.apply(n,i),n;break}}return(c||T(e,d))(i,t,!j,n,!t||ge.test(e)&&u(t.parentNode)||t),n},b.sortStable=F.split("").sort(B).join("")===F,b.detectDuplicates=!!S,A(),b.sortDetached=s(function(e){return 1&e.compareDocumentPosition(N.createElement("div"))}),s(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&s(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),s(function(e){return null==e.getAttribute("disabled")})||o(K,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(e);K.find=se,K.expr=se.selectors,K.expr[":"]=K.expr.pseudos,K.uniqueSort=K.unique=se.uniqueSort,K.text=se.getText,K.isXMLDoc=se.isXML,K.contains=se.contains;var oe=function(e,t,n){for(var i=[],s=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&K(e).is(n))break;i.push(e)}return i},re=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ae=K.expr.match.needsContext,le=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ce=/^.[^:#\[\.,]*$/;K.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?K.find.matchesSelector(i,e)?[i]:[]:K.find.matches(e,K.grep(t,function(e){return 1===e.nodeType}))},K.fn.extend({find:function(e){var t,n=this.length,i=[],s=this;if("string"!=typeof e)return this.pushStack(K(e).filter(function(){for(t=0;t<n;t++)if(K.contains(s[t],this))return!0}));for(t=0;t<n;t++)K.find(e,s[t],i);return i=this.pushStack(n>1?K.unique(i):i),i.selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(i(this,e||[],!1))},not:function(e){return this.pushStack(i(this,e||[],!0))},is:function(e){return!!i(this,"string"==typeof e&&ae.test(e)?K(e):e||[],!1).length}});var ue,de=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(K.fn.init=function(e,t,n){var i,s;if(!e)return this;if(n=n||ue,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:de.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof K?t[0]:t,K.merge(this,K.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:B,!0)),le.test(i[1])&&K.isPlainObject(t))for(i in t)K.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(s=B.getElementById(i[2]))&&s.parentNode&&(this.length=1,this[0]=s),this.context=B,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):K.isFunction(e)?void 0!==n.ready?n.ready(e):e(K):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),K.makeArray(e,this))}).prototype=K.fn,ue=K(B);var pe=/^(?:parents|prev(?:Until|All))/,he={children:!0,contents:!0,next:!0,prev:!0};K.fn.extend({has:function(e){var t=K(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(K.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,i=0,s=this.length,o=[],r=ae.test(e)||"string"!=typeof e?K(e,t||this.context):0;i<s;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?r.index(n)>-1:1===n.nodeType&&K.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?K.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?Y.call(K(e),this[0]):Y.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(K.uniqueSort(K.merge(this.get(),K(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),K.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return oe(e,"parentNode")},parentsUntil:function(e,t,n){return oe(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return oe(e,"nextSibling")},prevAll:function(e){return oe(e,"previousSibling")},nextUntil:function(e,t,n){return oe(e,"nextSibling",n)},prevUntil:function(e,t,n){return oe(e,"previousSibling",n)},siblings:function(e){return re((e.parentNode||{}).firstChild,e)},children:function(e){return re(e.firstChild)},contents:function(e){return e.contentDocument||K.merge([],e.childNodes)}},function(e,t){K.fn[e]=function(n,i){var s=K.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(s=K.filter(i,s)),this.length>1&&(he[e]||K.uniqueSort(s),pe.test(e)&&s.reverse()),this.pushStack(s)}});var fe=/\S+/g;K.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return K.each(e.match(fe)||[],function(e,n){t[n]=!0}),t}(e):K.extend({},e);var t,n,i,s,o=[],r=[],a=-1,l=function(){for(s=e.once,i=t=!0;r.length;a=-1)for(n=r.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,s&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(a=o.length-1,r.push(n)),function t(n){K.each(n,function(n,i){K.isFunction(i)?e.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==K.type(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return K.each(arguments,function(e,t){for(var n;(n=K.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--}),this},has:function(e){return e?K.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return s=r=[],o=n="",this},disabled:function(){return!o},lock:function(){return s=r=[],n||(o=n=""),this},locked:function(){return!!s},fireWith:function(e,n){return s||(n=[e,(n=n||[]).slice?n.slice():n],r.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},K.extend({Deferred:function(e){var t=[["resolve","done",K.Callbacks("once memory"),"resolved"],["reject","fail",K.Callbacks("once memory"),"rejected"],["notify","progress",K.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var e=arguments;return K.Deferred(function(n){K.each(t,function(t,o){var r=K.isFunction(e[t])&&e[t];s[o[1]](function(){var e=r&&r.apply(this,arguments);e&&K.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?K.extend(e,i):i}},s={};return i.pipe=i.then,K.each(t,function(e,o){var r=o[2],a=o[3];i[o[1]]=r.add,a&&r.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),s[o[0]]=function(){return s[o[0]+"With"](this===s?i:this,arguments),this},s[o[0]+"With"]=r.fireWith}),i.promise(s),e&&e.call(s,s),s},when:function(e){var t,n,i,s=0,o=U.call(arguments),r=o.length,a=1!==r||e&&K.isFunction(e.promise)?r:0,l=1===a?e:K.Deferred(),c=function(e,n,i){return function(s){n[e]=this,i[e]=arguments.length>1?U.call(arguments):s,i===t?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(r>1)for(t=new Array(r),n=new Array(r),i=new Array(r);s<r;s++)o[s]&&K.isFunction(o[s].promise)?o[s].promise().progress(c(s,n,t)).done(c(s,i,o)).fail(l.reject):--a;return a||l.resolveWith(i,o),l.promise()}});var me;K.fn.ready=function(e){return K.ready.promise().done(e),this},K.extend({isReady:!1,readyWait:1,holdReady:function(e){e?K.readyWait++:K.ready(!0)},ready:function(e){(!0===e?--K.readyWait:K.isReady)||(K.isReady=!0,!0!==e&&--K.readyWait>0||(me.resolveWith(B,[K]),K.fn.triggerHandler&&(K(B).triggerHandler("ready"),K(B).off("ready"))))}}),K.ready.promise=function(t){return me||(me=K.Deferred(),"complete"===B.readyState||"loading"!==B.readyState&&!B.documentElement.doScroll?e.setTimeout(K.ready):(B.addEventListener("DOMContentLoaded",o),e.addEventListener("load",o))),me.promise(t)},K.ready.promise();var ge=function(e,t,n,i,s,o,r){var a=0,l=e.length,c=null==n;if("object"===K.type(n)){s=!0;for(a in n)ge(e,t,a,n[a],!0,o,r)}else if(void 0!==i&&(s=!0,K.isFunction(i)||(r=!0),c&&(r?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(K(e),n)})),t))for(;a<l;a++)t(e[a],n,r?i:i.call(e[a],a,t(e[a],n)));return s?e:c?t.call(e):l?t(e[0],n):o},ve=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};r.uid=1,r.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!ve(e))return{};var t=e[this.expando];return t||(t={},ve(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,s=this.cache(e);if("string"==typeof t)s[t]=n;else for(i in t)s[i]=t[i];return s},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var i;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(i=this.get(e,t))?i:this.get(e,K.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i,s,o=e[this.expando];if(void 0!==o){if(void 0===t)this.register(e);else{K.isArray(t)?i=t.concat(t.map(K.camelCase)):(s=K.camelCase(t),i=t in o?[t,s]:(i=s)in o?[i]:i.match(fe)||[]),n=i.length;for(;n--;)delete o[i[n]]}(void 0===t||K.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!K.isEmptyObject(t)}};var ye=new r,be=new r,xe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,we=/[A-Z]/g;K.extend({hasData:function(e){return be.hasData(e)||ye.hasData(e)},data:function(e,t,n){return be.access(e,t,n)},removeData:function(e,t){be.remove(e,t)},_data:function(e,t,n){return ye.access(e,t,n)},_removeData:function(e,t){ye.remove(e,t)}}),K.fn.extend({data:function(e,t){var n,i,s,o=this[0],r=o&&o.attributes;if(void 0===e){if(this.length&&(s=be.get(o),1===o.nodeType&&!ye.get(o,"hasDataAttrs"))){for(n=r.length;n--;)r[n]&&0===(i=r[n].name).indexOf("data-")&&(i=K.camelCase(i.slice(5)),a(o,i,s[i]));ye.set(o,"hasDataAttrs",!0)}return s}return"object"==typeof e?this.each(function(){be.set(this,e)}):ge(this,function(t){var n,i;if(o&&void 0===t){if(void 0!==(n=be.get(o,e)||be.get(o,e.replace(we,"-$&").toLowerCase())))return n;if(i=K.camelCase(e),void 0!==(n=be.get(o,i)))return n;if(void 0!==(n=a(o,i,void 0)))return n}else i=K.camelCase(e),this.each(function(){var n=be.get(this,i);be.set(this,i,t),e.indexOf("-")>-1&&void 0!==n&&be.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){be.remove(this,e)})}}),K.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=ye.get(e,t),n&&(!i||K.isArray(n)?i=ye.access(e,t,K.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=K.queue(e,t),i=n.length,s=n.shift(),o=K._queueHooks(e,t);"inprogress"===s&&(s=n.shift(),i--),s&&("fx"===t&&n.unshift("inprogress"),delete o.stop,s.call(e,function(){K.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ye.get(e,n)||ye.access(e,n,{empty:K.Callbacks("once memory").add(function(){ye.remove(e,[t+"queue",n])})})}}),K.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?K.queue(this[0],e):void 0===t?this:this.each(function(){var n=K.queue(this,e,t);K._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&K.dequeue(this,e)})},dequeue:function(e){return this.each(function(){K.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,s=K.Deferred(),o=this,r=this.length,a=function(){--i||s.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";r--;)(n=ye.get(o[r],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),s.promise(t)}});var _e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ce=new RegExp("^(?:([+-])=|)("+_e+")([a-z%]*)$","i"),Te=["Top","Right","Bottom","Left"],ke=function(e,t){return e=t||e,"none"===K.css(e,"display")||!K.contains(e.ownerDocument,e)},$e=/^(?:checkbox|radio)$/i,Ee=/<([\w:-]+)/,Se=/^$|\/(?:java|ecma)script/i,Ae={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,"",""]};Ae.optgroup=Ae.option,Ae.tbody=Ae.tfoot=Ae.colgroup=Ae.caption=Ae.thead,Ae.th=Ae.td;var Ne=/<|&#?\w+;/;!function(){var e=B.createDocumentFragment().appendChild(B.createElement("div")),t=B.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),J.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",J.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var De=/^key/,je=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ie=/^([^.]*)(?:\.(.+)|)/;K.event={global:{},add:function(e,t,n,i,s){var o,r,a,l,c,u,d,p,h,f,m,g=ye.get(e);if(g)for(n.handler&&(n=(o=n).handler,s=o.selector),n.guid||(n.guid=K.guid++),(l=g.events)||(l=g.events={}),(r=g.handle)||(r=g.handle=function(t){return void 0!==K&&K.event.triggered!==t.type?K.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(fe)||[""]).length;c--;)h=m=(a=Ie.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),h&&(d=K.event.special[h]||{},h=(s?d.delegateType:d.bindType)||h,d=K.event.special[h]||{},u=K.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:s,needsContext:s&&K.expr.match.needsContext.test(s),namespace:f.join(".")},o),(p=l[h])||((p=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,f,r)||e.addEventListener&&e.addEventListener(h,r)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),s?p.splice(p.delegateCount++,0,u):p.push(u),K.event.global[h]=!0)},remove:function(e,t,n,i,s){var o,r,a,l,c,u,d,p,h,f,m,g=ye.hasData(e)&&ye.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(fe)||[""]).length;c--;)if(a=Ie.exec(t[c])||[],h=m=a[1],f=(a[2]||"").split(".").sort(),h){for(d=K.event.special[h]||{},p=l[h=(i?d.delegateType:d.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=p.length;o--;)u=p[o],!s&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(o,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));r&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||K.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)K.event.remove(e,h+t[c],n,i,!0);K.isEmptyObject(l)&&ye.remove(e,"handle events")}},dispatch:function(e){e=K.event.fix(e);var t,n,i,s,o,r=[],a=U.call(arguments),l=(ye.get(this,"events")||{})[e.type]||[],c=K.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(r=K.event.handlers.call(this,e,l),t=0;(s=r[t++])&&!e.isPropagationStopped();)for(e.currentTarget=s.elem,n=0;(o=s.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(i=((K.event.special[o.origType]||{}).handle||o.handler).apply(s.elem,a))&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,s,o,r=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n<a;n++)void 0===i[s=(o=t[n]).selector+" "]&&(i[s]=o.needsContext?K(s,this).index(l)>-1:K.find(s,this,null,[l]).length),i[s]&&i.push(o);i.length&&r.push({elem:l,handlers:i})}return a<t.length&&r.push({elem:this,handlers:t.slice(a)}),r},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,s,o=t.button;return null==e.pageX&&null!=t.clientX&&(i=(n=e.target.ownerDocument||B).documentElement,s=n.body,e.pageX=t.clientX+(i&&i.scrollLeft||s&&s.scrollLeft||0)-(i&&i.clientLeft||s&&s.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||s&&s.scrollTop||0)-(i&&i.clientTop||s&&s.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[K.expando])return e;var t,n,i,s=e.type,o=e,r=this.fixHooks[s];for(r||(this.fixHooks[s]=r=je.test(s)?this.mouseHooks:De.test(s)?this.keyHooks:{}),i=r.props?this.props.concat(r.props):this.props,e=new K.Event(o),t=i.length;t--;)e[n=i[t]]=o[n];return e.target||(e.target=B),3===e.target.nodeType&&(e.target=e.target.parentNode),r.filter?r.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==f()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===f()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&K.nodeName(this,"input"))return this.click(),!1},_default:function(e){return K.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},K.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},K.Event=function(e,t){if(!(this instanceof K.Event))return new K.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?p:h):this.type=e,t&&K.extend(this,t),this.timeStamp=e&&e.timeStamp||K.now(),this[K.expando]=!0},K.Event.prototype={constructor:K.Event,isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=p,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=p,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=p,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},K.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){K.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,s=e.handleObj;return i&&(i===this||K.contains(this,i))||(e.type=s.origType,n=s.handler.apply(this,arguments),e.type=t),n}}}),K.fn.extend({on:function(e,t,n,i){return m(this,e,t,n,i)},one:function(e,t,n,i){return m(this,e,t,n,i,1)},off:function(e,t,n){var i,s;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,K(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(s in e)this.off(s,t,e[s]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=h),this.each(function(){K.event.remove(this,e,n,t)})}});var Pe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Oe=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,Fe=/^true\/(.*)/,He=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;K.extend({htmlPrefilter:function(e){return e.replace(Pe,"<$1></$2>")},clone:function(e,t,n){var i,s,o,r,a=e.cloneNode(!0),l=K.contains(e.ownerDocument,e);if(!(J.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||K.isXMLDoc(e)))for(r=c(a),i=0,s=(o=c(e)).length;i<s;i++)x(o[i],r[i]);if(t)if(n)for(o=o||c(e),r=r||c(a),i=0,s=o.length;i<s;i++)b(o[i],r[i]);else b(e,a);return(r=c(a,"script")).length>0&&u(r,!l&&c(e,"script")),a},cleanData:function(e){for(var t,n,i,s=K.event.special,o=0;void 0!==(n=e[o]);o++)if(ve(n)){if(t=n[ye.expando]){if(t.events)for(i in t.events)s[i]?K.event.remove(n,i):K.removeEvent(n,i,t.handle);n[ye.expando]=void 0}n[be.expando]&&(n[be.expando]=void 0)}}}),K.fn.extend({domManip:w,detach:function(e){return _(this,e,!0)},remove:function(e){return _(this,e)},text:function(e){return ge(this,function(e){return void 0===e?K.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return w(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){g(this,e).appendChild(e)}})},prepend:function(){return w(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=g(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return w(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return w(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(K.cleanData(c(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return K.clone(this,e,t)})},html:function(e){return ge(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!Ae[(Ee.exec(e)||["",""])[1].toLowerCase()]){e=K.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(K.cleanData(c(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return w(this,arguments,function(t){var n=this.parentNode;K.inArray(this,e)<0&&(K.cleanData(c(this)),n&&n.replaceChild(t,this))},e)}}),K.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){K.fn[e]=function(e){for(var n,i=[],s=K(e),o=s.length-1,r=0;r<=o;r++)n=r===o?this:this.clone(!0),K(s[r])[t](n),X.apply(i,n.get());return this.pushStack(i)}});var ze,qe={HTML:"block",BODY:"block"},Re=/^margin/,Me=new RegExp("^("+_e+")(?!px)[a-z%]+$","i"),We=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Be=function(e,t,n,i){var s,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];s=n.apply(e,i||[]);for(o in t)e.style[o]=r[o];return s},Ue=B.documentElement;!function(){function t(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Ue.appendChild(r);var t=e.getComputedStyle(a);n="1%"!==t.top,o="2px"===t.marginLeft,i="4px"===t.width,a.style.marginRight="50%",s="4px"===t.marginRight,Ue.removeChild(r)}var n,i,s,o,r=B.createElement("div"),a=B.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",J.clearCloneStyle="content-box"===a.style.backgroundClip,r.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",r.appendChild(a),K.extend(J,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==i&&t(),i},pixelMarginRight:function(){return null==i&&t(),s},reliableMarginLeft:function(){return null==i&&t(),o},reliableMarginRight:function(){var t,n=a.appendChild(B.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",Ue.appendChild(r),t=!parseFloat(e.getComputedStyle(n).marginRight),Ue.removeChild(r),a.removeChild(n),t}}))}();var Ve=/^(none|table(?!-c[ea]).+)/,Xe={position:"absolute",visibility:"hidden",display:"block"},Ye={letterSpacing:"0",fontWeight:"400"},Qe=["Webkit","O","Moz","ms"],Ge=B.createElement("div").style;K.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=k(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,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(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,o,r,a=K.camelCase(t),c=e.style;if(t=K.cssProps[a]||(K.cssProps[a]=E(a)||a),r=K.cssHooks[t]||K.cssHooks[a],void 0===n)return r&&"get"in r&&void 0!==(s=r.get(e,!1,i))?s:c[t];"string"==(o=typeof n)&&(s=Ce.exec(n))&&s[1]&&(n=l(e,t,s),o="number"),null!=n&&n==n&&("number"===o&&(n+=s&&s[3]||(K.cssNumber[a]?"":"px")),J.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,i))||(c[t]=n))}},css:function(e,t,n,i){var s,o,r,a=K.camelCase(t);return t=K.cssProps[a]||(K.cssProps[a]=E(a)||a),(r=K.cssHooks[t]||K.cssHooks[a])&&"get"in r&&(s=r.get(e,!0,n)),void 0===s&&(s=k(e,t,i)),"normal"===s&&t in Ye&&(s=Ye[t]),""===n||n?(o=parseFloat(s),!0===n||isFinite(o)?o||0:s):s}}),K.each(["height","width"],function(e,t){K.cssHooks[t]={get:function(e,n,i){if(n)return Ve.test(K.css(e,"display"))&&0===e.offsetWidth?Be(e,Xe,function(){return N(e,t,i)}):N(e,t,i)},set:function(e,n,i){var s,o=i&&We(e),r=i&&A(e,t,i,"border-box"===K.css(e,"boxSizing",!1,o),o);return r&&(s=Ce.exec(n))&&"px"!==(s[3]||"px")&&(e.style[t]=n,n=K.css(e,t)),S(0,n,r)}}}),K.cssHooks.marginLeft=$(J.reliableMarginLeft,function(e,t){if(t)return(parseFloat(k(e,"marginLeft"))||e.getBoundingClientRect().left-Be(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),K.cssHooks.marginRight=$(J.reliableMarginRight,function(e,t){if(t)return Be(e,{display:"inline-block"},k,[e,"marginRight"])}),K.each({margin:"",padding:"",border:"Width"},function(e,t){K.cssHooks[e+t]={expand:function(n){for(var i=0,s={},o="string"==typeof n?n.split(" "):[n];i<4;i++)s[e+Te[i]+t]=o[i]||o[i-2]||o[0];return s}},Re.test(e)||(K.cssHooks[e+t].set=S)}),K.fn.extend({css:function(e,t){return ge(this,function(e,t,n){var i,s,o={},r=0;if(K.isArray(t)){for(i=We(e),s=t.length;r<s;r++)o[t[r]]=K.css(e,t[r],!1,i);return o}return void 0!==n?K.style(e,t,n):K.css(e,t)},e,t,arguments.length>1)},show:function(){return D(this,!0)},hide:function(){return D(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ke(this)?K(this).show():K(this).hide()})}}),K.Tween=j,(j.prototype={constructor:j,init:function(e,t,n,i,s,o){this.elem=e,this.prop=n,this.easing=s||K.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(K.cssNumber[n]?"":"px")},cur:function(){var e=j.propHooks[this.prop];return e&&e.get?e.get(this):j.propHooks._default.get(this)},run:function(e){var t,n=j.propHooks[this.prop];return this.options.duration?this.pos=t=K.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):j.propHooks._default.set(this),this}}).init.prototype=j.prototype,(j.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=K.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){K.fx.step[e.prop]?K.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[K.cssProps[e.prop]]&&!K.cssHooks[e.prop]?e.elem[e.prop]=e.now:K.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=j.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},K.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},K.fx=j.prototype.init,K.fx.step={};var Ze,Je,Ke=/^(?:toggle|show|hide)$/,et=/queueHooks$/;K.Animation=K.extend(L,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return l(n.elem,e,Ce.exec(t),n),n}]},tweener:function(e,t){K.isFunction(e)?(t=e,e=["*"]):e=e.match(fe);for(var n,i=0,s=e.length;i<s;i++)n=e[i],L.tweeners[n]=L.tweeners[n]||[],L.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,s,o,r,a,l,c,u=this,d={},p=e.style,h=e.nodeType&&ke(e),f=ye.get(e,"fxshow");n.queue||(null==(a=K._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,K.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(c=K.css(e,"display"))?ye.get(e,"olddisplay")||T(e.nodeName):c)&&"none"===K.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(i in t)if(s=t[i],Ke.exec(s)){if(delete t[i],o=o||"toggle"===s,s===(h?"hide":"show")){if("show"!==s||!f||void 0===f[i])continue;h=!0}d[i]=f&&f[i]||K.style(e,i)}else c=void 0;if(K.isEmptyObject(d))"inline"===("none"===c?T(e.nodeName):c)&&(p.display=c);else{f?"hidden"in f&&(h=f.hidden):f=ye.access(e,"fxshow",{}),o&&(f.hidden=!h),h?K(e).show():u.done(function(){K(e).hide()}),u.done(function(){var t;ye.remove(e,"fxshow");for(t in d)K.style(e,t,d[t])});for(i in d)r=O(h?f[i]:0,i,u),i in f||(f[i]=r.start,h&&(r.end=r.start,r.start="width"===i||"height"===i?1:0))}}],prefilter:function(e,t){t?L.prefilters.unshift(e):L.prefilters.push(e)}}),K.speed=function(e,t,n){var i=e&&"object"==typeof e?K.extend({},e):{complete:n||!n&&t||K.isFunction(e)&&e,duration:e,easing:n&&t||t&&!K.isFunction(t)&&t};return i.duration=K.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in K.fx.speeds?K.fx.speeds[i.duration]:K.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){K.isFunction(i.old)&&i.old.call(this),i.queue&&K.dequeue(this,i.queue)},i},K.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ke).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var s=K.isEmptyObject(e),o=K.speed(t,n,i),r=function(){var t=L(this,K.extend({},e),o);(s||ye.get(this,"finish"))&&t.stop(!0)};return r.finish=r,s||!1===o.queue?this.each(r):this.queue(o.queue,r)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,s=null!=e&&e+"queueHooks",o=K.timers,r=ye.get(this);if(s)r[s]&&r[s].stop&&i(r[s]);else for(s in r)r[s]&&r[s].stop&&et.test(s)&&i(r[s]);for(s=o.length;s--;)o[s].elem!==this||null!=e&&o[s].queue!==e||(o[s].anim.stop(n),t=!1,o.splice(s,1));!t&&n||K.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ye.get(this),i=n[e+"queue"],s=n[e+"queueHooks"],o=K.timers,r=i?i.length:0;for(n.finish=!0,K.queue(this,e,[]),s&&s.stop&&s.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<r;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),K.each(["toggle","show","hide"],function(e,t){var n=K.fn[t];K.fn[t]=function(e,i,s){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(P(t,!0),e,i,s)}}),K.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){K.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),K.timers=[],K.fx.tick=function(){var e,t=0,n=K.timers;for(Ze=K.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||K.fx.stop(),Ze=void 0},K.fx.timer=function(e){K.timers.push(e),e()?K.fx.start():K.timers.pop()},K.fx.interval=13,K.fx.start=function(){Je||(Je=e.setInterval(K.fx.tick,K.fx.interval))},K.fx.stop=function(){e.clearInterval(Je),Je=null},K.fx.speeds={slow:600,fast:200,_default:400},K.fn.delay=function(t,n){return t=K.fx?K.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,i){var s=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(s)}})},function(){var e=B.createElement("input"),t=B.createElement("select"),n=t.appendChild(B.createElement("option"));e.type="checkbox",J.checkOn=""!==e.value,J.optSelected=n.selected,t.disabled=!0,J.optDisabled=!n.disabled,(e=B.createElement("input")).value="t",e.type="radio",J.radioValue="t"===e.value}();var tt,nt=K.expr.attrHandle;K.fn.extend({attr:function(e,t){return ge(this,K.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){K.removeAttr(this,e)})}}),K.extend({attr:function(e,t,n){var i,s,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?K.prop(e,t,n):(1===o&&K.isXMLDoc(e)||(t=t.toLowerCase(),s=K.attrHooks[t]||(K.expr.match.bool.test(t)?tt:void 0)),void 0!==n?null===n?void K.removeAttr(e,t):s&&"set"in s&&void 0!==(i=s.set(e,n,t))?i:(e.setAttribute(t,n+""),n):s&&"get"in s&&null!==(i=s.get(e,t))?i:null==(i=K.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!J.radioValue&&"radio"===t&&K.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,s=0,o=t&&t.match(fe);if(o&&1===e.nodeType)for(;n=o[s++];)i=K.propFix[n]||n,K.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)}}),tt={set:function(e,t,n){return!1===t?K.removeAttr(e,n):e.setAttribute(n,n),n}},K.each(K.expr.match.bool.source.match(/\w+/g),function(e,t){var n=nt[t]||K.find.attr;nt[t]=function(e,t,i){var s,o;return i||(o=nt[t],nt[t]=s,s=null!=n(e,t,i)?t.toLowerCase():null,nt[t]=o),s}});var it=/^(?:input|select|textarea|button)$/i,st=/^(?:a|area)$/i;K.fn.extend({prop:function(e,t){return ge(this,K.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[K.propFix[e]||e]})}}),K.extend({prop:function(e,t,n){var i,s,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&K.isXMLDoc(e)||(t=K.propFix[t]||t,s=K.propHooks[t]),void 0!==n?s&&"set"in s&&void 0!==(i=s.set(e,n,t))?i:e[t]=n:s&&"get"in s&&null!==(i=s.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=K.find.attr(e,"tabindex");return t?parseInt(t,10):it.test(e.nodeName)||st.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),J.optSelected||(K.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),K.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){K.propFix[this.toLowerCase()]=this});var ot=/[\t\r\n\f]/g;K.fn.extend({addClass:function(e){var t,n,i,s,o,r,a,l=0;if(K.isFunction(e))return this.each(function(t){K(this).addClass(e.call(this,t,F(this)))});if("string"==typeof e&&e)for(t=e.match(fe)||[];n=this[l++];)if(s=F(n),i=1===n.nodeType&&(" "+s+" ").replace(ot," ")){for(r=0;o=t[r++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s!==(a=K.trim(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,s,o,r,a,l=0;if(K.isFunction(e))return this.each(function(t){K(this).removeClass(e.call(this,t,F(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(fe)||[];n=this[l++];)if(s=F(n),i=1===n.nodeType&&(" "+s+" ").replace(ot," ")){for(r=0;o=t[r++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");s!==(a=K.trim(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):K.isFunction(e)?this.each(function(n){K(this).toggleClass(e.call(this,n,F(this),t),t)}):this.each(function(){var t,i,s,o;if("string"===n)for(i=0,s=K(this),o=e.match(fe)||[];t=o[i++];)s.hasClass(t)?s.removeClass(t):s.addClass(t);else void 0!==e&&"boolean"!==n||((t=F(this))&&ye.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":ye.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+F(n)+" ").replace(ot," ").indexOf(t)>-1)return!0;return!1}});var rt=/\r/g,at=/[\x20\t\r\n\f]+/g;K.fn.extend({val:function(e){var t,n,i,s=this[0];{if(arguments.length)return i=K.isFunction(e),this.each(function(n){var s;1===this.nodeType&&(null==(s=i?e.call(this,n,K(this).val()):e)?s="":"number"==typeof s?s+="":K.isArray(s)&&(s=K.map(s,function(e){return null==e?"":e+""})),(t=K.valHooks[this.type]||K.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,s,"value")||(this.value=s))});if(s)return(t=K.valHooks[s.type]||K.valHooks[s.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(s,"value"))?n:"string"==typeof(n=s.value)?n.replace(rt,""):null==n?"":n}}}),K.extend({valHooks:{option:{get:function(e){var t=K.find.attr(e,"value");return null!=t?t:K.trim(K.text(e)).replace(at," ")}},select:{get:function(e){for(var t,n,i=e.options,s=e.selectedIndex,o="select-one"===e.type||s<0,r=o?null:[],a=o?s+1:i.length,l=s<0?a:o?s:0;l<a;l++)if(((n=i[l]).selected||l===s)&&(J.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!K.nodeName(n.parentNode,"optgroup"))){if(t=K(n).val(),o)return t;r.push(t)}return r},set:function(e,t){for(var n,i,s=e.options,o=K.makeArray(t),r=s.length;r--;)((i=s[r]).selected=K.inArray(K.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),K.each(["radio","checkbox"],function(){K.valHooks[this]={set:function(e,t){if(K.isArray(t))return e.checked=K.inArray(K(e).val(),t)>-1}},J.checkOn||(K.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var lt=/^(?:focusinfocus|focusoutblur)$/;K.extend(K.event,{trigger:function(t,n,i,s){var o,r,a,l,c,u,d,p=[i||B],h=Z.call(t,"type")?t.type:t,f=Z.call(t,"namespace")?t.namespace.split("."):[];if(r=a=i=i||B,3!==i.nodeType&&8!==i.nodeType&&!lt.test(h+K.event.triggered)&&(h.indexOf(".")>-1&&(h=(f=h.split(".")).shift(),f.sort()),c=h.indexOf(":")<0&&"on"+h,t=t[K.expando]?t:new K.Event(h,"object"==typeof t&&t),t.isTrigger=s?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:K.makeArray(n,[t]),d=K.event.special[h]||{},s||!d.trigger||!1!==d.trigger.apply(i,n))){if(!s&&!d.noBubble&&!K.isWindow(i)){for(l=d.delegateType||h,lt.test(l+h)||(r=r.parentNode);r;r=r.parentNode)p.push(r),a=r;a===(i.ownerDocument||B)&&p.push(a.defaultView||a.parentWindow||e)}for(o=0;(r=p[o++])&&!t.isPropagationStopped();)t.type=o>1?l:d.bindType||h,(u=(ye.get(r,"events")||{})[t.type]&&ye.get(r,"handle"))&&u.apply(r,n),(u=c&&r[c])&&u.apply&&ve(r)&&(t.result=u.apply(r,n),!1===t.result&&t.preventDefault());return t.type=h,s||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),n)||!ve(i)||c&&K.isFunction(i[h])&&!K.isWindow(i)&&((a=i[c])&&(i[c]=null),K.event.triggered=h,i[h](),K.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(e,t,n){var i=K.extend(new K.Event,n,{type:e,isSimulated:!0});K.event.trigger(i,null,t)}}),K.fn.extend({trigger:function(e,t){return this.each(function(){K.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return K.event.trigger(e,t,n,!0)}}),K.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(e,t){K.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),K.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),J.focusin="onfocusin"in e,J.focusin||K.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){K.event.simulate(t,e.target,K.event.fix(e))};K.event.special[t]={setup:function(){var i=this.ownerDocument||this,s=ye.access(i,t);s||i.addEventListener(e,n,!0),ye.access(i,t,(s||0)+1)},teardown:function(){var i=this.ownerDocument||this,s=ye.access(i,t)-1;s?ye.access(i,t,s):(i.removeEventListener(e,n,!0),ye.remove(i,t))}}});var ct=e.location,ut=K.now(),dt=/\?/;K.parseJSON=function(e){return JSON.parse(e+"")},K.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||K.error("Invalid XML: "+t),n};var pt=/#.*$/,ht=/([?&])_=[^&]*/,ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,mt=/^(?:GET|HEAD)$/,gt=/^\/\//,vt={},yt={},bt="*/".concat("*"),xt=B.createElement("a");xt.href=ct.href,K.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":K.parseJSON,"text xml":K.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?q(q(e,K.ajaxSettings),t):q(K.ajaxSettings,e)},ajaxPrefilter:H(vt),ajaxTransport:H(yt),ajax:function(t,n){function i(t,n,i,a){var c,d,y,b,w,C=n;2!==x&&(x=2,l&&e.clearTimeout(l),s=void 0,r=a||"",_.readyState=t>0?4:0,c=t>=200&&t<300||304===t,i&&(b=function(e,t,n){for(var i,s,o,r,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(s in a)if(a[s]&&a[s].test(i)){l.unshift(s);break}if(l[0]in n)o=l[0];else{for(s in n){if(!l[0]||e.converters[s+" "+l[0]]){o=s;break}r||(r=s)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,_,i)),b=function(e,t,n,i){var s,o,r,a,l,c={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)c[r.toLowerCase()]=e.converters[r];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(r=c[l+" "+o]||c["* "+o]))for(s in c)if((a=s.split(" "))[1]===o&&(r=c[l+" "+a[0]]||c["* "+a[0]])){!0===r?r=c[s]:!0!==c[s]&&(o=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,b,_,c),c?(p.ifModified&&((w=_.getResponseHeader("Last-Modified"))&&(K.lastModified[o]=w),(w=_.getResponseHeader("etag"))&&(K.etag[o]=w)),204===t||"HEAD"===p.type?C="nocontent":304===t?C="notmodified":(C=b.state,d=b.data,c=!(y=b.error))):(y=C,!t&&C||(C="error",t<0&&(t=0))),_.status=t,_.statusText=(n||C)+"",c?m.resolveWith(h,[d,C,_]):m.rejectWith(h,[_,C,y]),_.statusCode(v),v=void 0,u&&f.trigger(c?"ajaxSuccess":"ajaxError",[_,p,c?d:y]),g.fireWith(h,[_,C]),u&&(f.trigger("ajaxComplete",[_,p]),--K.active||K.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var s,o,r,a,l,c,u,d,p=K.ajaxSetup({},n),h=p.context||p,f=p.context&&(h.nodeType||h.jquery)?K(h):K.event,m=K.Deferred(),g=K.Callbacks("once memory"),v=p.statusCode||{},y={},b={},x=0,w="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!a)for(a={};t=ft.exec(r);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?r:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(x<2)for(t in e)v[t]=[v[t],e[t]];else _.always(e[_.status]);return this},abort:function(e){var t=e||w;return s&&s.abort(t),i(0,t),this}};if(m.promise(_).complete=g.add,_.success=_.done,_.error=_.fail,p.url=((t||p.url||ct.href)+"").replace(pt,"").replace(gt,ct.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=K.trim(p.dataType||"*").toLowerCase().match(fe)||[""],null==p.crossDomain){c=B.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=xt.protocol+"//"+xt.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=K.param(p.data,p.traditional)),z(vt,p,n,_),2===x)return _;(u=K.event&&p.global)&&0==K.active++&&K.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!mt.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(dt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=ht.test(o)?o.replace(ht,"$1_="+ut++):o+(dt.test(o)?"&":"?")+"_="+ut++)),p.ifModified&&(K.lastModified[o]&&_.setRequestHeader("If-Modified-Since",K.lastModified[o]),K.etag[o]&&_.setRequestHeader("If-None-Match",K.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+bt+"; q=0.01":""):p.accepts["*"]);for(d in p.headers)_.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,_,p)||2===x))return _.abort();w="abort";for(d in{success:1,error:1,complete:1})_[d](p[d]);if(s=z(yt,p,n,_)){if(_.readyState=1,u&&f.trigger("ajaxSend",[_,p]),2===x)return _;p.async&&p.timeout>0&&(l=e.setTimeout(function(){_.abort("timeout")},p.timeout));try{x=1,s.send(y,i)}catch(e){if(!(x<2))throw e;i(-1,e)}}else i(-1,"No Transport");return _},getJSON:function(e,t,n){return K.get(e,t,n,"json")},getScript:function(e,t){return K.get(e,void 0,t,"script")}}),K.each(["get","post"],function(e,t){K[t]=function(e,n,i,s){return K.isFunction(n)&&(s=s||i,i=n,n=void 0),K.ajax(K.extend({url:e,type:t,dataType:s,data:n,success:i},K.isPlainObject(e)&&e))}}),K._evalUrl=function(e){return K.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},K.fn.extend({wrapAll:function(e){var t;return K.isFunction(e)?this.each(function(t){K(this).wrapAll(e.call(this,t))}):(this[0]&&(t=K(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return K.isFunction(e)?this.each(function(t){K(this).wrapInner(e.call(this,t))}):this.each(function(){var t=K(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=K.isFunction(e);return this.each(function(n){K(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){K.nodeName(this,"body")||K(this).replaceWith(this.childNodes)}).end()}}),K.expr.filters.hidden=function(e){return!K.expr.filters.visible(e)},K.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var wt=/%20/g,_t=/\[\]$/,Ct=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,kt=/^(?:input|select|textarea|keygen)/i;K.param=function(e,t){var n,i=[],s=function(e,t){t=K.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=K.ajaxSettings&&K.ajaxSettings.traditional),K.isArray(e)||e.jquery&&!K.isPlainObject(e))K.each(e,function(){s(this.name,this.value)});else for(n in e)R(n,e[n],t,s);return i.join("&").replace(wt,"+")},K.fn.extend({serialize:function(){return K.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=K.prop(this,"elements");return e?K.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!K(this).is(":disabled")&&kt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!$e.test(e))}).map(function(e,t){var n=K(this).val();return null==n?null:K.isArray(n)?K.map(n,function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}}):{name:t.name,value:n.replace(Ct,"\r\n")}}).get()}}),K.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},Et=K.ajaxSettings.xhr();J.cors=!!Et&&"withCredentials"in Et,J.ajax=Et=!!Et,K.ajaxTransport(function(t){var n,i;if(J.cors||Et&&!t.crossDomain)return{send:function(s,o){var r,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)a[r]=t.xhrFields[r];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||s["X-Requested-With"]||(s["X-Requested-With"]="XMLHttpRequest");for(r in s)a.setRequestHeader(r,s[r]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o($t[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),K.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return K.globalEval(e),e}}}),K.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),K.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,s){t=K("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&s("error"===e.type?404:200,e.type)}),B.head.appendChild(t[0])},abort:function(){n&&n()}}}});var St=[],At=/(=)\?(?=&|$)|\?\?/;K.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=St.pop()||K.expando+"_"+ut++;return this[e]=!0,e}}),K.ajaxPrefilter("json jsonp",function(t,n,i){var s,o,r,a=!1!==t.jsonp&&(At.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&At.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return s=t.jsonpCallback=K.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(At,"$1"+s):!1!==t.jsonp&&(t.url+=(dt.test(t.url)?"&":"?")+t.jsonp+"="+s),t.converters["script json"]=function(){return r||K.error(s+" was not called"),r[0]},t.dataTypes[0]="json",o=e[s],e[s]=function(){r=arguments},i.always(function(){void 0===o?K(e).removeProp(s):e[s]=o,t[s]&&(t.jsonpCallback=n.jsonpCallback,St.push(s)),r&&K.isFunction(o)&&o(r[0]),r=o=void 0}),"script"}),K.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||B;var i=le.exec(e),s=!n&&[];return i?[t.createElement(i[1])]:(i=d([e],t,s),s&&s.length&&K(s).remove(),K.merge([],i.childNodes))};var Nt=K.fn.load;K.fn.load=function(e,t,n){if("string"!=typeof e&&Nt)return Nt.apply(this,arguments);var i,s,o,r=this,a=e.indexOf(" ");return a>-1&&(i=K.trim(e.slice(a)),e=e.slice(0,a)),K.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(s="POST"),r.length>0&&K.ajax({url:e,type:s||"GET",dataType:"html",data:t}).done(function(e){o=arguments,r.html(i?K("<div>").append(K.parseHTML(e)).find(i):e)}).always(n&&function(e,t){r.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},K.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){K.fn[t]=function(e){return this.on(t,e)}}),K.expr.filters.animated=function(e){return K.grep(K.timers,function(t){return e===t.elem}).length},K.offset={setOffset:function(e,t,n){var i,s,o,r,a,l,c=K.css(e,"position"),u=K(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=K.css(e,"top"),l=K.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(r=(i=u.position()).top,s=i.left):(r=parseFloat(o)||0,s=parseFloat(l)||0),K.isFunction(t)&&(t=t.call(e,n,K.extend({},a))),null!=t.top&&(d.top=t.top-a.top+r),null!=t.left&&(d.left=t.left-a.left+s),"using"in t?t.using.call(e,d):u.css(d)}},K.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){K.offset.setOffset(this,e,t)});var t,n,i=this[0],s={top:0,left:0},o=i&&i.ownerDocument;if(o)return t=o.documentElement,K.contains(t,i)?(s=i.getBoundingClientRect(),n=M(o),{top:s.top+n.pageYOffset-t.clientTop,left:s.left+n.pageXOffset-t.clientLeft}):s},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===K.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),K.nodeName(e[0],"html")||(i=e.offset()),i.top+=K.css(e[0],"borderTopWidth",!0),i.left+=K.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-K.css(n,"marginTop",!0),left:t.left-i.left-K.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===K.css(e,"position");)e=e.offsetParent;return e||Ue})}}),K.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;K.fn[e]=function(i){return ge(this,function(e,i,s){var o=M(e);if(void 0===s)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:s,n?s:o.pageYOffset):e[i]=s},e,i,arguments.length)}}),K.each(["top","left"],function(e,t){K.cssHooks[t]=$(J.pixelPosition,function(e,n){if(n)return n=k(e,t),Me.test(n)?K(e).position()[t]+"px":n})}),K.each({Height:"height",Width:"width"},function(e,t){K.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){K.fn[i]=function(i,s){var o=arguments.length&&(n||"boolean"!=typeof i),r=n||(!0===i||!0===s?"margin":"border");return ge(this,function(t,n,i){var s;return K.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===i?K.css(t,n,r):K.style(t,n,i,r)},t,o?i:void 0,o,null)}})}),K.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),K.fn.andSelf=K.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return K});var Dt=e.jQuery,jt=e.$;return K.noConflict=function(t){return e.$===K&&(e.$=jt),t&&e.jQuery===K&&(e.jQuery=Dt),K},t||(e.jQuery=e.$=K),K}),function(e,t,n,i){function s(t,n){this.settings=null,this.options=e.extend({},s.Defaults,n),this.$element=e(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},e.each(["onResize","onThrottledResize"],e.proxy(function(t,n){this._handlers[n]=e.proxy(this[n],this)},this)),e.each(s.Plugins,e.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(s.Workers,e.proxy(function(t,n){this._pipe.push({filter:n.filter,run:e.proxy(n.run,this)})},this)),this.setup(),this.initialize()}s.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},s.Width={Default:"default",Inner:"inner",Outer:"outer"},s.Type={Event:"event",State:"state"},s.Plugins={},s.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,s={width:"auto","margin-left":i?t:"","margin-right":i?"":t};!n&&this.$stage.children().css(s),e.css=s}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,s=!this.settings.autoWidth,o=[];for(e.items={merge:!1,width:t};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,e.items.merge=n>1||e.items.merge,o[i]=s?t*n:this._items[i].width();this._widths=o}},{filter:["items","settings"],run:function(){var t=[],n=this._items,i=this.settings,s=Math.max(2*i.items,4),o=2*Math.ceil(n.length/2),r=i.loop&&n.length?i.rewind?s:Math.max(s,o):0,a="",l="";for(r/=2;r--;)t.push(this.normalize(t.length/2,!0)),a+=n[t[t.length-1]][0].outerHTML,t.push(this.normalize(n.length-1-(t.length-1)/2,!0)),l=n[t[t.length-1]][0].outerHTML+l;this._clones=t,e(a).addClass("cloned").appendTo(this.$stage),e(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,n=-1,i=0,s=0,o=[];++n<t;)i=o[n-1]||0,s=this._widths[this.relative(n)]+this.settings.margin,o.push(i+s*e);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,n={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],i.eq(t).css(e.css);else n&&(e.css.width=e.items.width,i.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var e,t,n,i,s=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,r=this.coordinates(this.current())+o,a=r+this.width()*s,l=[];for(n=0,i=this._coordinates.length;n<i;n++)e=this._coordinates[n-1]||0,t=Math.abs(this._coordinates[n])+o*s,(this.op(e,"<=",r)&&this.op(e,">",a)||this.op(t,"<",r)&&this.op(t,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],s.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var t,n,s;t=this.$element.find("img"),n=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:i,s=this.$element.children(n).width(),t.length&&s<=0&&this.preloadAutoWidthImages(t)}this.$element.addClass(this.options.loadingClass),this.$stage=e("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},s.prototype.setup=function(){var t=this.viewport(),n=this.options.responsive,i=-1,s=null;n?(e.each(n,function(e){e<=t&&e>i&&(i=Number(e))}),"function"==typeof(s=e.extend({},this.options,n[i])).stagePadding&&(s.stagePadding=s.stagePadding()),delete s.responsive,s.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):s=e.extend({},this.options),this.trigger("change",{property:{name:"settings",value:s}}),this._breakpoint=i,this.settings=s,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},s.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},s.prototype.prepare=function(t){var n=this.trigger("prepare",{content:t});return n.data||(n.data=e("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:n.data}),n.data},s.prototype.update=function(){for(var t=0,n=this._pipe.length,i=e.proxy(function(e){return this[e]},this._invalidated),s={};t<n;)(this._invalidated.all||e.grep(this._pipe[t].filter,i).length>0)&&this._pipe[t].run(s),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},s.prototype.width=function(e){switch(e=e||s.Width.Default){case s.Width.Inner:case s.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},s.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},s.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},s.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},s.prototype.registerEventHandlers=function(){e.support.transition&&this.$stage.on(e.support.transition.end+".owl.core",e.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(t,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",e.proxy(this.onDragEnd,this)))},s.prototype.onDragStart=function(t){var i=null;3!==t.which&&(e.support.transform?i={x:(i=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===i.length?12:4],y:i[16===i.length?13:5]}:(i=this.$stage.position(),i={x:this.settings.rtl?i.left+this.$stage.width()-this.width()+this.settings.margin:i.left,y:i.top}),this.is("animating")&&(e.support.transform?this.animate(i.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=e(t.target),this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this.pointer(t),e(n).on("mouseup.owl.core touchend.owl.core",e.proxy(this.onDragEnd,this)),e(n).one("mousemove.owl.core touchmove.owl.core",e.proxy(function(t){var i=this.difference(this._drag.pointer,this.pointer(t));e(n).on("mousemove.owl.core touchmove.owl.core",e.proxy(this.onDragMove,this)),Math.abs(i.x)<Math.abs(i.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},s.prototype.onDragMove=function(e){var t=null,n=null,i=null,s=this.difference(this._drag.pointer,this.pointer(e)),o=this.difference(this._drag.stage.start,s);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-t,o.x=((o.x-t)%n+n)%n+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),i=this.settings.pullDrag?-1*s.x/5:0,o.x=Math.max(Math.min(o.x,t+i),n+i)),this._drag.stage.current=o,this.animate(o.x))},s.prototype.onDragEnd=function(t){var i=this.difference(this._drag.pointer,this.pointer(t)),s=this._drag.stage.current,o=i.x>0^this.settings.rtl?"left":"right";e(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==i.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(s.x,0!==i.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(i.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},s.prototype.closest=function(t,n){var i=-1,s=this.width(),o=this.coordinates();return this.settings.freeDrag||e.each(o,e.proxy(function(e,r){return"left"===n&&t>r-30&&t<r+30?i=e:"right"===n&&t>r-s-30&&t<r-s+30?i=e+1:this.op(t,"<",r)&&this.op(t,">",o[e+1]||r-s)&&(i="left"===n?e+1:e),-1===i},this)),this.settings.loop||(this.op(t,">",o[this.minimum()])?i=t=this.minimum():this.op(t,"<",o[this.maximum()])&&(i=t=this.maximum())),i},s.prototype.animate=function(t){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),e.support.transform3d&&e.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"}):n?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,e.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},s.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},s.prototype.current=function(e){if(e===i)return this._current;if(0===this._items.length)return i;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==i&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},s.prototype.invalidate=function(t){return"string"===e.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),e.map(this._invalidated,function(e,t){return t})},s.prototype.reset=function(e){(e=this.normalize(e))!==i&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},s.prototype.normalize=function(e,t){var n=this._items.length,s=t?0:this._clones.length;return!this.isNumeric(e)||n<1?e=i:(e<0||e>=n+s)&&(e=((e-s/2)%n+n)%n+s/2),e},s.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},s.prototype.maximum=function(e){var t,n,i,s=this.settings,o=this._coordinates.length;if(s.loop)o=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.merge){for(t=this._items.length,n=this._items[--t].width(),i=this.$element.width();t--&&!((n+=this._items[t].width()+this.settings.margin)>i););o=t+1}else o=s.center?this._items.length-1:this._items.length-s.items;return e&&(o-=this._clones.length/2),Math.max(o,0)},s.prototype.minimum=function(e){return e?0:this._clones.length/2},s.prototype.items=function(e){return e===i?this._items.slice():(e=this.normalize(e,!0),this._items[e])},s.prototype.mergers=function(e){return e===i?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},s.prototype.clones=function(t){var n=this._clones.length/2,s=n+this._items.length,o=function(e){return e%2==0?s+e/2:n-(e+1)/2};return t===i?e.map(this._clones,function(e,t){return o(t)}):e.map(this._clones,function(e,n){return e===t?o(n):null})},s.prototype.speed=function(e){return e!==i&&(this._speed=e),this._speed},s.prototype.coordinates=function(t){var n,s=1,o=t-1;return t===i?e.map(this._coordinates,e.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(s=-1,o=t+1),n=this._coordinates[t],n+=(this.width()-n+(this._coordinates[o]||0))/2*s):n=this._coordinates[o]||0,n=Math.ceil(n))},s.prototype.duration=function(e,t,n){return 0===n?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(n||this.settings.smartSpeed)},s.prototype.to=function(e,t){var n=this.current(),i=null,s=e-this.relative(n),o=(s>0)-(s<0),r=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>r/2&&(s+=-1*o*r),(i=(((e=n+s)-a)%r+r)%r+a)!==e&&i-s<=l&&i-s>0&&(n=i-s,e=i,this.reset(n))):e=this.settings.rewind?(e%(l+=1)+l)%l:Math.max(a,Math.min(l,e)),this.speed(this.duration(n,e,t)),this.current(e),this.$element.is(":visible")&&this.update()},s.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},s.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},s.prototype.onTransitionEnd=function(e){if(e!==i&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},s.prototype.viewport=function(){var i;if(this.options.responsiveBaseElement!==t)i=e(this.options.responsiveBaseElement).width();else if(t.innerWidth)i=t.innerWidth;else{if(!n.documentElement||!n.documentElement.clientWidth)throw"Can not detect viewport width.";i=n.documentElement.clientWidth}return i},s.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(e.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},s.prototype.add=function(t,n){var s=this.relative(this._current);n=n===i?this._items.length:this.normalize(n,!0),t=t instanceof jQuery?t:e(t),this.trigger("add",{content:t,position:n}),t=this.prepare(t),0===this._items.length||n===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[n-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[n].before(t),this._items.splice(n,0,t),this._mergers.splice(n,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[s]&&this.reset(this._items[s].index()),this.invalidate("items"),this.trigger("added",{content:t,position:n})},s.prototype.remove=function(e){(e=this.normalize(e,!0))!==i&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},s.prototype.preloadAutoWidthImages=function(t){t.each(e.proxy(function(t,n){this.enter("pre-loading"),n=e(n),e(new Image).one("load",e.proxy(function(e){n.attr("src",e.target.src),n.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",n.attr("src")||n.attr("data-src")||n.attr("data-src-retina"))},this))},s.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),e(n).off(".owl.core"),!1!==this.settings.responsive&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize));for(var i in this._plugins)this._plugins[i].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},s.prototype.op=function(e,t,n){var i=this.settings.rtl;switch(t){case"<":return i?e>n:e<n;case">":return i?e<n:e>n;case">=":return i?e<=n:e>=n;case"<=":return i?e>=n:e<=n}},s.prototype.on=function(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i):e.attachEvent&&e.attachEvent("on"+t,n)},s.prototype.off=function(e,t,n,i){e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&e.detachEvent("on"+t,n)},s.prototype.trigger=function(t,n,i,o,r){var a={item:{count:this._items.length,index:this.current()}},l=e.camelCase(e.grep(["on",t,i],function(e){return e}).join("-").toLowerCase()),c=e.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},a,n));return this._supress[t]||(e.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(c)}),this.register({type:s.Type.Event,name:t}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},s.prototype.enter=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]===i&&(this._states.current[t]=0),this._states.current[t]++},this))},s.prototype.leave=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]--},this))},s.prototype.register=function(t){if(t.type===s.Type.Event){if(e.event.special[t.name]||(e.event.special[t.name]={}),!e.event.special[t.name].owl){var n=e.event.special[t.name]._default;e.event.special[t.name]._default=function(e){return!n||!n.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&e.namespace.indexOf("owl")>-1:n.apply(this,arguments)},e.event.special[t.name].owl=!0}}else t.type===s.Type.State&&(this._states.tags[t.name]?this._states.tags[t.name]=this._states.tags[t.name].concat(t.tags):this._states.tags[t.name]=t.tags,this._states.tags[t.name]=e.grep(this._states.tags[t.name],e.proxy(function(n,i){return e.inArray(n,this._states.tags[t.name])===i},this)))},s.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},s.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},s.prototype.pointer=function(e){var n={x:null,y:null};return e=e.originalEvent||e||t.event,(e=e.touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(n.x=e.pageX,n.y=e.pageY):(n.x=e.clientX,n.y=e.clientY),n},s.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},s.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},e.fn.owlCarousel=function(t){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var i=e(this),o=i.data("owl.carousel");o||(o=new s(this,"object"==typeof t&&t),i.data("owl.carousel",o),e.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,n){o.register({type:s.Type.Event,name:n}),o.$element.on(n+".owl.carousel.core",e.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([n]),o[n].apply(this,[].slice.call(arguments,1)),this.release([n]))},o))})),"string"==typeof t&&"_"!==t.charAt(0)&&o[t].apply(o,n)})},e.fn.owlCarousel.Constructor=s}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var s=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers)};s.Defaults={autoRefresh:!0,autoRefreshInterval:500},s.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=t.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},s.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},s.prototype.destroy=function(){var e,n;t.clearInterval(this._interval);for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=s}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var s=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":e.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var n=this._core.settings,i=n.center&&Math.ceil(n.items/2)||n.items,s=n.center&&-1*i||0,o=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+s,r=this._core.clones().length,a=e.proxy(function(e,t){this.load(t)},this);s++<i;)this.load(r/2+this._core.relative(o)),r&&e.each(this._core.clones(this._core.relative(o)),a),o++},this)},this._core.options=e.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers)};s.Defaults={lazyLoad:!1},s.prototype.load=function(n){var i=this._core.$stage.children().eq(n),s=i&&i.find(".owl-lazy");!s||e.inArray(i.get(0),this._loaded)>-1||(s.each(e.proxy(function(n,i){var s,o=e(i),r=t.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",e.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy")},this)).attr("src",r):((s=new Image).onload=e.proxy(function(){o.css({"background-image":"url("+r+")",opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy")},this),s.src=r)},this)),this._loaded.push(i.get(0)))},s.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=s}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var s=function(t){this._core=t,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"==e.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=e.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers)};s.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},s.prototype.update=function(){var t=this._core._current,n=t+this._core.settings.items,i=this._core.$stage.children().toArray().slice(t,n),s=[],o=0;e.each(i,function(t,n){s.push(e(n).height())}),o=Math.max.apply(null,s),this._core.$stage.parent().height(o).addClass(this._core.settings.autoHeightClass)},s.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=s}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var s=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var n=e(t.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,e(t.content)))}},this)},this._core.options=e.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy(function(e){this.play(e)},this))};s.Defaults={video:!1,videoHeight:!1,videoWidth:!1},s.prototype.fetch=function(e,t){var n=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",i=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),s=e.attr("data-width")||this._core.settings.videoWidth,o=e.attr("data-height")||this._core.settings.videoHeight,r=e.attr("href");if(!r)throw new Error("Missing video URL.");if((i=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)n="youtube";else if(i[3].indexOf("vimeo")>-1)n="vimeo";else{if(!(i[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[r]={type:n,id:i,width:s,height:o},t.attr("data-video",r),this.thumbnail(e,this._videos[r])},s.prototype.thumbnail=function(t,n){var i,s,o,r=n.width&&n.height?'style="width:'+n.width+"px;height:"+n.height+'px;"':"",a=t.find("img"),l="src",c="",u=this._core.settings,d=function(e){s='<div class="owl-video-play-icon"></div>',i=u.lazyLoad?'<div class="owl-video-tn '+c+'" '+l+'="'+e+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+e+')"></div>',t.after(i),t.after(s)};if(t.wrap('<div class="owl-video-wrapper"'+r+"></div>"),this._core.settings.lazyLoad&&(l="data-src",c="owl-lazy"),a.length)return d(a.attr(l)),a.remove(),!1;"youtube"===n.type?(o="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",d(o)):"vimeo"===n.type?e.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){o=e[0].thumbnail_large,d(o)}}):"vzaar"===n.type&&e.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){o=e.framegrab_url,d(o)}})},s.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},s.prototype.play=function(t){var n,i=e(t.target).closest("."+this._core.settings.itemClass),s=this._videos[i.attr("data-video")],o=s.width||"100%",r=s.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),"youtube"===s.type?n='<iframe width="'+o+'" height="'+r+'" src="//www.youtube.com/embed/'+s.id+"?autoplay=1&v="+s.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===s.type?n='<iframe src="//player.vimeo.com/video/'+s.id+'?autoplay=1" width="'+o+'" height="'+r+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===s.type&&(n='<iframe frameborder="0"height="'+r+'"width="'+o+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+s.id+'/player?autoplay=true"></iframe>'),e('<div class="owl-video-frame">'+n+"</div>").insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},s.prototype.isInFullScreen=function(){var t=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return t&&e(t).parent().hasClass("owl-video-frame")},s.prototype.destroy=function(){var e,t;this._core.$element.off("click.owl.video");for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=s}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var s=function(t){this.core=t,this.core.options=e.extend({},s.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":e.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};s.Defaults={animateOut:!1,animateIn:!1},s.prototype.swap=function(){if(1===this.core.settings.items&&e.support.animation&&e.support.transition){this.core.speed(0);var t,n=e.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),s=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(e.support.animation.end,n).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(r)),o&&s.one(e.support.animation.end,n).addClass("animated owl-animated-in").addClass(o))}},s.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},s.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=s}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var s=function(t){this._core=t,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":e.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":e.proxy(function(e,t,n){e.namespace&&this.play(t,n)},this),"stop.owl.autoplay":e.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=e.extend({},s.Defaults,this._core.options)};s.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},s.prototype.play=function(e,t){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},s.prototype._getNextTimeout=function(i,s){return this._timeout&&t.clearTimeout(this._timeout),t.setTimeout(e.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||n.hidden||this._core.next(s||this._core.settings.autoplaySpeed)},this),i||this._core.settings.autoplayTimeout)},s.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},s.prototype.stop=function(){this._core.is("rotating")&&(t.clearTimeout(this._timeout),this._core.leave("rotating"))},s.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},s.prototype.destroy=function(){var e,t;this.stop();for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=s}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){"use strict";var s=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+e(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=e.extend({},s.Defaults,this._core.options),this.$element.on(this._handlers)};s.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},s.prototype.initialize=function(){var t,n=this._core.settings;this._controls.$relative=(n.navContainer?e(n.navContainer):e("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=e("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",e.proxy(function(e){this.prev(n.navSpeed)},this)),this._controls.$next=e("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",e.proxy(function(e){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[e("<div>").addClass(n.dotClass).append(e("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?e(n.dotsContainer):e("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",e.proxy(function(t){var i=e(t.target).parent().is(this._controls.$absolute)?e(t.target).index():e(t.target).parent().index();t.preventDefault(),this.to(i,n.dotsSpeed)},this));for(t in this._overrides)this._core[t]=e.proxy(this[t],this)},s.prototype.destroy=function(){var e,t,n,i;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)this._controls[t].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},s.prototype.update=function(){var e,t,n=this._core.clones().length/2,i=n+this._core.items().length,s=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],e=n,t=0,0;e<i;e++){if(t>=r||0===t){if(this._pages.push({start:Math.min(s,e-n),end:e-n+r-1}),Math.min(s,e-n)===s)break;t=0,0}t+=this._core.mergers(this._core.relative(e))}},s.prototype.draw=function(){var t,n=this._core.settings,i=this._core.items().length<=n.items,s=this._core.relative(this._core.current()),o=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||i),n.nav&&(this._controls.$previous.toggleClass("disabled",!o&&s<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&s>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||i),n.dots&&(t=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):t>0?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(e.inArray(this.current(),this._pages)).addClass("active"))},s.prototype.onTrigger=function(t){var n=this._core.settings;t.page={index:e.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},s.prototype.current=function(){var t=this._core.relative(this._core.current());return e.grep(this._pages,e.proxy(function(e,n){return e.start<=t&&e.end>=t},this)).pop()},s.prototype.getPosition=function(t){var n,i,s=this._core.settings;return"page"==s.slideBy?(n=e.inArray(this.current(),this._pages),i=this._pages.length,t?++n:--n,n=this._pages[(n%i+i)%i].start):(n=this._core.relative(this._core.current()),i=this._core.items().length,t?n+=s.slideBy:n-=s.slideBy),n},s.prototype.next=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},s.prototype.prev=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},s.prototype.to=function(t,n,i){var s;!i&&this._pages.length?(s=this._pages.length,e.proxy(this._overrides.to,this._core)(this._pages[(t%s+s)%s].start,n)):e.proxy(this._overrides.to,this._core)(t,n)},e.fn.owlCarousel.Constructor.Plugins.Navigation=s}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){"use strict";var s=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":e.proxy(function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&e(t).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var n=e(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=t.content}},this),"changed.owl.carousel":e.proxy(function(n){if(n.namespace&&"position"===n.property.name){var i=this._core.items(this._core.relative(this._core.current())),s=e.map(this._hashes,function(e,t){return e===i?t:null}).join();if(!s||t.location.hash.slice(1)===s)return;t.location.hash=s}},this)},this._core.options=e.extend({},s.Defaults,this._core.options),this.$element.on(this._handlers),e(t).on("hashchange.owl.navigation",e.proxy(function(e){var n=t.location.hash.substring(1),i=this._core.$stage.children(),s=this._hashes[n]&&i.index(this._hashes[n]);void 0!==s&&s!==this._core.current()&&this._core.to(this._core.relative(s),!1,!0)},this))};s.Defaults={URLhashListener:!1},s.prototype.destroy=function(){var n,i;e(t).off("hashchange.owl.navigation");for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.fn.owlCarousel.Constructor.Plugins.Hash=s}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){function s(t,n){var s=!1,o=t.charAt(0).toUpperCase()+t.slice(1);return e.each((t+" "+a.join(o+" ")+o).split(" "),function(e,t){if(r[t]!==i)return s=!n||t,!1}),s}function o(e){return s(e,!0)}var r=e("<support>").get(0).style,a="Webkit Moz O ms".split(" "),l={end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},c={end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}},u=function(){return!!s("transform")},d=function(){return!!s("perspective")},p=function(){return!!s("animation")};(function(){return!!s("transition")})()&&(e.support.transition=new String(o("transition")),e.support.transition.end=l.end[e.support.transition]),p()&&(e.support.animation=new String(o("animation")),e.support.animation.end=c.end[e.support.animation]),u()&&(e.support.transform=new String(o("transform")),e.support.transform3d=d())}(window.Zepto||window.jQuery,window,document),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){var t=-1,n=-1,i=function(e){return parseFloat(e)||0},s=function(t){var n=null,s=[];return e(t).each(function(){var t=e(this),o=t.offset().top-i(t.css("margin-top")),r=s.length>0?s[s.length-1]:null;null===r?s.push(t):Math.floor(Math.abs(n-o))<=1?s[s.length-1]=r.add(t):s.push(t),n=o}),s},o=function(t){var n={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof t?e.extend(n,t):("boolean"==typeof t?n.byRow=t:"remove"===t&&(n.remove=!0),n)},r=e.fn.matchHeight=function(t){var n=o(t);if(n.remove){var i=this;return this.css(n.property,""),e.each(r._groups,function(e,t){t.elements=t.elements.not(i)}),this}return this.length<=1&&!n.target?this:(r._groups.push({elements:this,options:n}),r._apply(this,n),this)};r.version="0.7.2",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null,r._afterUpdate=null,r._rows=s,r._parse=i,r._parseOptions=o,r._apply=function(t,n){var a=o(n),l=e(t),c=[l],u=e(window).scrollTop(),d=e("html").outerHeight(!0),p=l.parents().filter(":hidden");return p.each(function(){var t=e(this);t.data("style-cache",t.attr("style"))}),p.css("display","block"),a.byRow&&!a.target&&(l.each(function(){var t=e(this),n=t.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block"),t.data("style-cache",t.attr("style")),t.css({display:n,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),c=s(l),l.each(function(){var t=e(this);t.attr("style",t.data("style-cache")||"")})),e.each(c,function(t,n){var s=e(n),o=0;if(a.target)o=a.target.outerHeight(!1);else{if(a.byRow&&s.length<=1)return void s.css(a.property,"");s.each(function(){var t=e(this),n=t.attr("style"),i=t.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");var s={display:i};s[a.property]="",t.css(s),t.outerHeight(!1)>o&&(o=t.outerHeight(!1)),n?t.attr("style",n):t.css("display","")})}s.each(function(){var t=e(this),n=0;a.target&&t.is(a.target)||("border-box"!==t.css("box-sizing")&&(n+=i(t.css("border-top-width"))+i(t.css("border-bottom-width")),n+=i(t.css("padding-top"))+i(t.css("padding-bottom"))),t.css(a.property,o-n+"px"))})}),p.each(function(){var t=e(this);t.attr("style",t.data("style-cache")||null)}),r._maintainScroll&&e(window).scrollTop(u/d*e("html").outerHeight(!0)),this},r._applyDataApi=function(){var t={};e("[data-match-height], [data-mh]").each(function(){var n=e(this),i=n.attr("data-mh")||n.attr("data-match-height");t[i]=i in t?t[i].add(n):n}),e.each(t,function(){this.matchHeight(!0)})};var a=function(t){r._beforeUpdate&&r._beforeUpdate(t,r._groups),e.each(r._groups,function(){r._apply(this.elements,this.options)}),r._afterUpdate&&r._afterUpdate(t,r._groups)};r._update=function(i,s){if(s&&"resize"===s.type){var o=e(window).width();if(o===t)return;t=o}i?-1===n&&(n=setTimeout(function(){a(s),n=-1},r._throttle)):a(s)},e(r._applyDataApi);var l=e.fn.on?"on":"bind";e(window)[l]("load",function(e){r._update(!1,e)}),e(window)[l]("resize orientationchange",function(e){r._update(!0,e)})}),function(e){"use strict";function t(t){return this.each(function(){var i=e(this),s=i.data("bs.tab");s||i.data("bs.tab",s=new n(this)),"string"==typeof t&&s[t]()})}var n=function(t){this.element=e(t)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var s=n.find(".active:last a"),o=e.Event("hide.bs.tab",{relatedTarget:t[0]}),r=e.Event("show.bs.tab",{relatedTarget:s[0]});if(s.trigger(o),t.trigger(r),!r.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=e(i);this.activate(t.closest("li"),n),this.activate(a,a.parent(),function(){s.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:s[0]})})}}},n.prototype.activate=function(t,i,s){function o(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),s&&s()}var r=i.find("> .active"),a=s&&e.support.transition&&(r.length&&r.hasClass("fade")||!!i.find("> .fade").length);r.length&&a?r.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),r.removeClass("in")};var i=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=n,e.fn.tab.noConflict=function(){return e.fn.tab=i,this};var s=function(n){n.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',s).on("click.bs.tab.data-api",'[data-toggle="pill"]',s)}(jQuery),function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var n=!1,i=this;e(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||e(i).trigger(e.support.transition.end)},t),this},e(function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(e){"use strict";function t(t){var n=t.attr("data-target");n||(n=(n=t.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&e(n);return i&&i.length?i:t.parent()}function n(n){n&&3===n.which||(e(i).remove(),e(s).each(function(){var i=e(this),s=t(i),o={relatedTarget:this};s.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(s[0],n.target)||(s.trigger(n=e.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),s.removeClass("open").trigger(e.Event("hidden.bs.dropdown",o)))))}))}var i=".dropdown-backdrop",s='[data-toggle="dropdown"]',o=function(t){e(t).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.7",o.prototype.toggle=function(i){var s=e(this);if(!s.is(".disabled, :disabled")){var o=t(s),r=o.hasClass("open");if(n(),!r){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",n);var a={relatedTarget:this};if(o.trigger(i=e.Event("show.bs.dropdown",a)),i.isDefaultPrevented())return;s.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(e.Event("shown.bs.dropdown",a))}return!1}},o.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=e(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var o=t(i),r=o.hasClass("open");if(!r&&27!=n.which||r&&27==n.which)return 27==n.which&&o.find(s).trigger("focus"),i.trigger("click");var a=o.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<a.length-1&&l++,~l||(l=0),a.eq(l).trigger("focus")}}}};var r=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var n=e(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new o(this)),"string"==typeof t&&i[t].call(n)})},e.fn.dropdown.Constructor=o,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=r,this},e(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",s,o.prototype.toggle).on("keydown.bs.dropdown.data-api",s,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),function(e){"use strict";function t(t){var n,i=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(i)}function n(t){return this.each(function(){var n=e(this),s=n.data("bs.collapse"),o=e.extend({},i.DEFAULTS,n.data(),"object"==typeof t&&t);!s&&o.toggle&&/show|hide/.test(t)&&(o.toggle=!1),s||n.data("bs.collapse",s=new i(this,o)),"string"==typeof t&&s[t]()})}var i=function(t,n){this.$element=e(t),this.options=e.extend({},i.DEFAULTS,n),this.$trigger=e('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,s=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(s&&s.length&&(t=s.data("bs.collapse"))&&t.transitioning)){var o=e.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){s&&s.length&&(n.call(s,"hide"),t||s.data("bs.collapse",null));var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[r](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return a.call(this);var l=e.camelCase(["scroll",r].join("-"));this.$element.one("bsTransitionEnd",e.proxy(a,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[r](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[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 s=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return s.call(this);this.$element[n](0).one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(n,i){var s=e(i);this.addAriaAndCollapsedClass(t(s),s)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var s=e.fn.collapse;e.fn.collapse=n,e.fn.collapse.Constructor=i,e.fn.collapse.noConflict=function(){return e.fn.collapse=s,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var s=e(this);s.attr("data-target")||i.preventDefault();var o=t(s),r=o.data("bs.collapse")?"toggle":s.data();n.call(o,r)})}(jQuery),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(e.jQuery)}(this,function(e){!function(e){"use strict";function t(t){return e.each([{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}],function(){t=t?t.replace(this.re,this.ch):""}),t}function n(t){var n=arguments,i=t;[].shift.apply(n);var s,o=this.each(function(){var t=e(this);if(t.is("select")){var o=t.data("selectpicker"),r="object"==typeof i&&i;if(o){if(r)for(var a in r)r.hasOwnProperty(a)&&(o.options[a]=r[a])}else{var l=e.extend({},c.DEFAULTS,e.fn.selectpicker.defaults||{},t.data(),r);l.template=e.extend({},c.DEFAULTS.template,e.fn.selectpicker.defaults?e.fn.selectpicker.defaults.template:{},t.data().template,r.template),t.data("selectpicker",o=new c(this,l))}"string"==typeof i&&(s=o[i]instanceof Function?o[i].apply(o,n):o.options[i])}});return void 0!==s?s:o}String.prototype.includes||function(){var e={}.toString,t=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}(),n="".indexOf,i=function(t){if(null==this)throw new TypeError;var i=String(this);if(t&&"[object RegExp]"==e.call(t))throw new TypeError;var s=i.length,o=String(t),r=o.length,a=arguments.length>1?arguments[1]:void 0,l=a?Number(a):0;l!=l&&(l=0);return!(r+Math.min(Math.max(l,0),s)>s)&&-1!=n.call(i,o,l)};t?t(String.prototype,"includes",{value:i,configurable:!0,writable:!0}):String.prototype.includes=i}(),String.prototype.startsWith||function(){var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}(),t={}.toString,n=function(e){if(null==this)throw new TypeError;var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw new TypeError;var i=n.length,s=String(e),o=s.length,r=arguments.length>1?arguments[1]:void 0,a=r?Number(r):0;a!=a&&(a=0);var l=Math.min(Math.max(a,0),i);if(o+l>i)return!1;for(var c=-1;++c<o;)if(n.charCodeAt(l+c)!=s.charCodeAt(c))return!1;return!0};e?e(String.prototype,"startsWith",{value:n,configurable:!0,writable:!0}):String.prototype.startsWith=n}(),Object.keys||(Object.keys=function(e,t,n){n=[];for(t in e)n.hasOwnProperty.call(e,t)&&n.push(t);return n});var i={useDefault:!1,_set:e.valHooks.select.set};e.valHooks.select.set=function(t,n){return n&&!i.useDefault&&e(t).data("selected",!0),i._set.apply(this,arguments)};var s=null,o=function(){try{return new Event("change"),!0}catch(e){return!1}}();e.fn.triggerNative=function(e){var t,n=this[0];n.dispatchEvent?(o?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(e,!0,!1),n.dispatchEvent(t)):n.fireEvent?(t=document.createEventObject(),t.eventType=e,n.fireEvent("on"+e,t)):this.trigger(e)},e.expr.pseudos.icontains=function(t,n,i){var s=e(t).find("a");return(s.data("tokens")||s.text()).toString().toUpperCase().includes(i[3].toUpperCase())},e.expr.pseudos.ibegins=function(t,n,i){var s=e(t).find("a");return(s.data("tokens")||s.text()).toString().toUpperCase().startsWith(i[3].toUpperCase())},e.expr.pseudos.aicontains=function(t,n,i){var s=e(t).find("a");return(s.data("tokens")||s.data("normalizedText")||s.text()).toString().toUpperCase().includes(i[3].toUpperCase())},e.expr.pseudos.aibegins=function(t,n,i){var s=e(t).find("a");return(s.data("tokens")||s.data("normalizedText")||s.text()).toString().toUpperCase().startsWith(i[3].toUpperCase())};var r=function(e){var t=function(t){return e[t]},n="(?:"+Object.keys(e).join("|")+")",i=RegExp(n),s=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(s,t):e}},a=r({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"}),l=r({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"}),c=function(t,n){i.useDefault||(e.valHooks.select.set=i._set,i.useDefault=!0),this.$element=e(t),this.$newElement=null,this.$button=null,this.$menu=null,this.$lis=null,this.options=n,null===this.options.title&&(this.options.title=this.$element.attr("title"));var s=this.options.windowPadding;"number"==typeof s&&(this.options.windowPadding=[s,s,s,s]),this.val=c.prototype.val,this.render=c.prototype.render,this.refresh=c.prototype.refresh,this.setStyle=c.prototype.setStyle,this.selectAll=c.prototype.selectAll,this.deselectAll=c.prototype.deselectAll,this.destroy=c.prototype.destroy,this.remove=c.prototype.remove,this.show=c.prototype.show,this.hide=c.prototype.hide,this.init()};c.VERSION="1.12.4",c.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(e,t){return 1==e?"{0} item selected":"{0} items selected"},maxOptionsText:function(e,t){return[1==e?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==t?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:"glyphicon",tickIcon:"glyphicon-ok",showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0},c.prototype={constructor:c,init:function(){var t=this,n=this.$element.attr("id");this.$element.addClass("bs-select-hidden"),this.liObj={},this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createView(),this.$element.after(this.$newElement).appendTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(".dropdown-menu"),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element.removeClass("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu.addClass("dropdown-menu-right"),void 0!==n&&(this.$button.attr("data-id",n),e('label[for="'+n+'"]').click(function(e){e.preventDefault(),t.$button.focus()})),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.setStyle(),this.setWidth(),this.options.container&&this.selectPosition(),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){t.$menuInner.attr("aria-expanded",!1),t.$element.trigger("hide.bs.select",e)},"hidden.bs.dropdown":function(e){t.$element.trigger("hidden.bs.select",e)},"show.bs.dropdown":function(e){t.$menuInner.attr("aria-expanded",!0),t.$element.trigger("show.bs.select",e)},"shown.bs.dropdown":function(e){t.$element.trigger("shown.bs.select",e)}}),t.$element[0].hasAttribute("required")&&this.$element.on("invalid",function(){t.$button.addClass("bs-invalid"),t.$element.on({"focus.bs.select":function(){t.$button.focus(),t.$element.off("focus.bs.select")},"shown.bs.select":function(){t.$element.val(t.$element.val()).off("shown.bs.select")},"rendered.bs.select":function(){this.validity.valid&&t.$button.removeClass("bs-invalid"),t.$element.off("rendered.bs.select")}}),t.$button.on("blur.bs.select",function(){t.$element.focus().blur(),t.$button.off("blur.bs.select")})}),setTimeout(function(){t.$element.trigger("loaded.bs.select")})},createDropdown:function(){var t=this.multiple||this.options.showTick?" show-tick":"",n=this.$element.parent().hasClass("input-group")?" input-group-btn":"",i=this.autofocus?" autofocus":"",s=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>":"",o=this.options.liveSearch?'<div class="bs-searchbox"><input type="text" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+a(this.options.liveSearchPlaceholder)+'"')+' role="textbox" aria-label="Search"></div>':"",r=this.multiple&&this.options.actionsBox?'<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn btn-default">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn btn-default">'+this.options.deselectAllText+"</button></div></div>":"",l=this.multiple&&this.options.doneButton?'<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm btn-default">'+this.options.doneButtonText+"</button></div></div>":"",c='<div class="btn-group bootstrap-select'+t+n+'"><button type="button" class="'+this.options.styleBase+' dropdown-toggle" data-toggle="dropdown"'+i+' role="button"><span class="filter-option pull-left"></span>&nbsp;<span class="bs-caret">'+this.options.template.caret+'</span></button><div class="dropdown-menu open" role="combobox">'+s+o+r+'<ul class="dropdown-menu inner" role="listbox" aria-expanded="false"></ul>'+l+"</div></div>";return e(c)},createView:function(){var e=this.createDropdown(),t=this.createLi();return e.find("ul")[0].innerHTML=t,e},reloadLi:function(){var e=this.createLi();this.$menuInner[0].innerHTML=e},createLi:function(){var n=this,i=[],s=0,o=document.createElement("option"),r=-1,l=function(e,t,n,i){return"<li"+(void 0!==n&&""!==n?' class="'+n+'"':"")+(void 0!==t&&null!==t?' data-original-index="'+t+'"':"")+(void 0!==i&&null!==i?'data-optgroup="'+i+'"':"")+">"+e+"</li>"},c=function(i,s,o,r){return'<a tabindex="0"'+(void 0!==s?' class="'+s+'"':"")+(o?' style="'+o+'"':"")+(n.options.liveSearchNormalize?' data-normalized-text="'+t(a(e(i).html()))+'"':"")+(void 0!==r||null!==r?' data-tokens="'+r+'"':"")+' role="option">'+i+'<span class="'+n.options.iconBase+" "+n.options.tickIcon+' check-mark"></span></a>'};if(this.options.title&&!this.multiple&&(r--,!this.$element.find(".bs-title-option").length)){var u=this.$element[0];o.className="bs-title-option",o.innerHTML=this.options.title,o.value="",u.insertBefore(o,u.firstChild);void 0===e(u.options[u.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected")&&(o.selected=!0)}var d=this.$element.find("option");return d.each(function(t){var o=e(this);if(r++,!o.hasClass("bs-title-option")){var u,p=this.className||"",h=a(this.style.cssText),f=o.data("content")?o.data("content"):o.html(),m=o.data("tokens")?o.data("tokens"):null,g=void 0!==o.data("subtext")?'<small class="text-muted">'+o.data("subtext")+"</small>":"",v=void 0!==o.data("icon")?'<span class="'+n.options.iconBase+" "+o.data("icon")+'"></span> ':"",y=o.parent(),b="OPTGROUP"===y[0].tagName,x=b&&y[0].disabled,w=this.disabled||x;if(""!==v&&w&&(v="<span>"+v+"</span>"),n.options.hideDisabled&&(w&&!b||x))return u=o.data("prevHiddenIndex"),o.next().data("prevHiddenIndex",void 0!==u?u:t),void r--;if(o.data("content")||(f=v+'<span class="text">'+f+g+"</span>"),b&&!0!==o.data("divider")){if(n.options.hideDisabled&&w){if(void 0===y.data("allOptionsDisabled")){var _=y.children();y.data("allOptionsDisabled",_.filter(":disabled").length===_.length)}if(y.data("allOptionsDisabled"))return void r--}var C=" "+y[0].className||"";if(0===o.index()){s+=1;var T=y[0].label,k=void 0!==y.data("subtext")?'<small class="text-muted">'+y.data("subtext")+"</small>":"";T=(y.data("icon")?'<span class="'+n.options.iconBase+" "+y.data("icon")+'"></span> ':"")+'<span class="text">'+a(T)+k+"</span>",0!==t&&i.length>0&&(r++,i.push(l("",null,"divider",s+"div"))),r++,i.push(l(T,null,"dropdown-header"+C,s))}if(n.options.hideDisabled&&w)return void r--;i.push(l(c(f,"opt "+p+C,h,m),t,"",s))}else if(!0===o.data("divider"))i.push(l("",t,"divider"));else if(!0===o.data("hidden"))u=o.data("prevHiddenIndex"),o.next().data("prevHiddenIndex",void 0!==u?u:t),i.push(l(c(f,p,h,m),t,"hidden is-hidden"));else{var $=this.previousElementSibling&&"OPTGROUP"===this.previousElementSibling.tagName;if(!$&&n.options.hideDisabled&&void 0!==(u=o.data("prevHiddenIndex"))){var E=d.eq(u)[0].previousElementSibling;E&&"OPTGROUP"===E.tagName&&!E.disabled&&($=!0)}$&&(r++,i.push(l("",null,"divider",s+"div"))),i.push(l(c(f,p,h,m),t))}n.liObj[t]=r}}),this.multiple||0!==this.$element.find("option:selected").length||this.options.title||this.$element.find("option").eq(0).prop("selected",!0).attr("selected","selected"),i.join("")},findLis:function(){return null==this.$lis&&(this.$lis=this.$menu.find("li")),this.$lis},render:function(t){var n,i=this,s=this.$element.find("option");!1!==t&&s.each(function(e){var t=i.findLis().eq(i.liObj[e]);i.setDisabled(e,this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled,t),i.setSelected(e,this.selected,t)}),this.togglePlaceholder(),this.tabIndex();var o=s.map(function(){if(this.selected){if(i.options.hideDisabled&&(this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled))return;var t,n=e(this),s=n.data("icon")&&i.options.showIcon?'<i class="'+i.options.iconBase+" "+n.data("icon")+'"></i> ':"";return t=i.options.showSubtext&&n.data("subtext")&&!i.multiple?' <small class="text-muted">'+n.data("subtext")+"</small>":"",void 0!==n.attr("title")?n.attr("title"):n.data("content")&&i.options.showContent?n.data("content").toString():s+n.html()+t}}).toArray(),r=this.multiple?o.join(this.options.multipleSeparator):o[0];if(this.multiple&&this.options.selectedTextFormat.indexOf("count")>-1){var a=this.options.selectedTextFormat.split(">");if(a.length>1&&o.length>a[1]||1==a.length&&o.length>=2){n=this.options.hideDisabled?", [disabled]":"";var c=s.not('[data-divider="true"], [data-hidden="true"]'+n).length;r=("function"==typeof this.options.countSelectedText?this.options.countSelectedText(o.length,c):this.options.countSelectedText).replace("{0}",o.length.toString()).replace("{1}",c.toString())}}void 0==this.options.title&&(this.options.title=this.$element.attr("title")),"static"==this.options.selectedTextFormat&&(r=this.options.title),r||(r=void 0!==this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",l(e.trim(r.replace(/<[^>]*>?/g,"")))),this.$button.children(".filter-option").html(r),this.$element.trigger("rendered.bs.select")},setStyle:function(e,t){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));var n=e||this.options.style;"add"==t?this.$button.addClass(n):"remove"==t?this.$button.removeClass(n):(this.$button.removeClass(this.options.style),this.$button.addClass(n))},liHeight:function(t){if(t||!1!==this.options.size&&!this.sizeInfo){var n=document.createElement("div"),i=document.createElement("div"),s=document.createElement("ul"),o=document.createElement("li"),r=document.createElement("li"),a=document.createElement("a"),l=document.createElement("span"),c=this.options.header&&this.$menu.find(".popover-title").length>0?this.$menu.find(".popover-title")[0].cloneNode(!0):null,u=this.options.liveSearch?document.createElement("div"):null,d=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,p=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null;if(l.className="text",n.className=this.$menu[0].parentNode.className+" open",i.className="dropdown-menu open",s.className="dropdown-menu inner",o.className="divider",l.appendChild(document.createTextNode("Inner text")),a.appendChild(l),r.appendChild(a),s.appendChild(r),s.appendChild(o),c&&i.appendChild(c),u){var h=document.createElement("input");u.className="bs-searchbox",h.className="form-control",u.appendChild(h),i.appendChild(u)}d&&i.appendChild(d),i.appendChild(s),p&&i.appendChild(p),n.appendChild(i),document.body.appendChild(n);var f=a.offsetHeight,m=c?c.offsetHeight:0,g=u?u.offsetHeight:0,v=d?d.offsetHeight:0,y=p?p.offsetHeight:0,b=e(o).outerHeight(!0),x="function"==typeof getComputedStyle&&getComputedStyle(i),w=x?null:e(i),_={vert:parseInt(x?x.paddingTop:w.css("paddingTop"))+parseInt(x?x.paddingBottom:w.css("paddingBottom"))+parseInt(x?x.borderTopWidth:w.css("borderTopWidth"))+parseInt(x?x.borderBottomWidth:w.css("borderBottomWidth")),horiz:parseInt(x?x.paddingLeft:w.css("paddingLeft"))+parseInt(x?x.paddingRight:w.css("paddingRight"))+parseInt(x?x.borderLeftWidth:w.css("borderLeftWidth"))+parseInt(x?x.borderRightWidth:w.css("borderRightWidth"))},C={vert:_.vert+parseInt(x?x.marginTop:w.css("marginTop"))+parseInt(x?x.marginBottom:w.css("marginBottom"))+2,horiz:_.horiz+parseInt(x?x.marginLeft:w.css("marginLeft"))+parseInt(x?x.marginRight:w.css("marginRight"))+2};document.body.removeChild(n),this.sizeInfo={liHeight:f,headerHeight:m,searchHeight:g,actionsHeight:v,doneButtonHeight:y,dividerHeight:b,menuPadding:_,menuExtras:C}}},setSize:function(){if(this.findLis(),this.liHeight(),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var t,n,i,s,o,r,a,l,c=this,u=this.$menu,d=this.$menuInner,p=e(window),h=this.$newElement[0].offsetHeight,f=this.$newElement[0].offsetWidth,m=this.sizeInfo.liHeight,g=this.sizeInfo.headerHeight,v=this.sizeInfo.searchHeight,y=this.sizeInfo.actionsHeight,b=this.sizeInfo.doneButtonHeight,x=this.sizeInfo.dividerHeight,w=this.sizeInfo.menuPadding,_=this.sizeInfo.menuExtras,C=this.options.hideDisabled?".disabled":"",T=function(){var t,n=c.$newElement.offset(),i=e(c.options.container);c.options.container&&!i.is("body")?(t=i.offset(),t.top+=parseInt(i.css("borderTopWidth")),t.left+=parseInt(i.css("borderLeftWidth"))):t={top:0,left:0};var s=c.options.windowPadding;o=n.top-t.top-p.scrollTop(),r=p.height()-o-h-t.top-s[2],a=n.left-t.left-p.scrollLeft(),l=p.width()-a-f-t.left-s[1],o-=s[0],a-=s[3]};if(T(),"auto"===this.options.size){var k=function(){var p,h=function(t,n){return function(i){return n?i.classList?i.classList.contains(t):e(i).hasClass(t):!(i.classList?i.classList.contains(t):e(i).hasClass(t))}},x=c.$menuInner[0].getElementsByTagName("li"),C=Array.prototype.filter?Array.prototype.filter.call(x,h("hidden",!1)):c.$lis.not(".hidden"),k=Array.prototype.filter?Array.prototype.filter.call(C,h("dropdown-header",!0)):C.filter(".dropdown-header");T(),t=r-_.vert,n=l-_.horiz,c.options.container?(u.data("height")||u.data("height",u.height()),i=u.data("height"),u.data("width")||u.data("width",u.width()),s=u.data("width")):(i=u.height(),s=u.width()),c.options.dropupAuto&&c.$newElement.toggleClass("dropup",o>r&&t-_.vert<i),c.$newElement.hasClass("dropup")&&(t=o-_.vert),"auto"===c.options.dropdownAlignRight&&u.toggleClass("dropdown-menu-right",a>l&&n-_.horiz<s-f),p=C.length+k.length>3?3*m+_.vert-2:0,u.css({"max-height":t+"px",overflow:"hidden","min-height":p+g+v+y+b+"px"}),d.css({"max-height":t-g-v-y-b-w.vert+"px","overflow-y":"auto","min-height":Math.max(p-w.vert,0)+"px"})};k(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",k),p.off("resize.getSize scroll.getSize").on("resize.getSize scroll.getSize",k)}else if(this.options.size&&"auto"!=this.options.size&&this.$lis.not(C).length>this.options.size){var $=this.$lis.not(".divider").not(C).children().slice(0,this.options.size).last().parent().index(),E=this.$lis.slice(0,$+1).filter(".divider").length;t=m*this.options.size+E*x+w.vert,c.options.container?(u.data("height")||u.data("height",u.height()),i=u.data("height")):i=u.height(),c.options.dropupAuto&&this.$newElement.toggleClass("dropup",o>r&&t-_.vert<i),u.css({"max-height":t+g+v+y+b+"px",overflow:"hidden","min-height":""}),d.css({"max-height":t-w.vert+"px","overflow-y":"auto","min-height":""})}}},setWidth:function(){if("auto"===this.options.width){this.$menu.css("min-width","0");var e=this.$menu.parent().clone().appendTo("body"),t=this.options.container?this.$newElement.clone().appendTo("body"):e,n=e.children(".dropdown-menu").outerWidth(),i=t.css("width","auto").children("button").outerWidth();e.remove(),t.remove(),this.$newElement.css("width",Math.max(n,i)+"px")}else"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width",""));this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){this.$bsContainer=e('<div class="bs-container" />');var t,n,i,s=this,o=e(this.options.container),r=function(e){s.$bsContainer.addClass(e.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass("dropup",e.hasClass("dropup")),t=e.offset(),o.is("body")?n={top:0,left:0}:(n=o.offset(),n.top+=parseInt(o.css("borderTopWidth"))-o.scrollTop(),n.left+=parseInt(o.css("borderLeftWidth"))-o.scrollLeft()),i=e.hasClass("dropup")?0:e[0].offsetHeight,s.$bsContainer.css({top:t.top-n.top+i,left:t.left-n.left,width:e[0].offsetWidth})};this.$button.on("click",function(){var t=e(this);s.isDisabled()||(r(s.$newElement),s.$bsContainer.appendTo(s.options.container).toggleClass("open",!t.hasClass("open")).append(s.$menu))}),e(window).on("resize scroll",function(){r(s.$newElement)}),this.$element.on("hide.bs.select",function(){s.$menu.data("height",s.$menu.height()),s.$bsContainer.detach()})},setSelected:function(e,t,n){n||(this.togglePlaceholder(),n=this.findLis().eq(this.liObj[e])),n.toggleClass("selected",t).find("a").attr("aria-selected",t)},setDisabled:function(e,t,n){n||(n=this.findLis().eq(this.liObj[e])),t?n.addClass("disabled").children("a").attr("href","#").attr("tabindex",-1).attr("aria-disabled",!0):n.removeClass("disabled").children("a").removeAttr("href").attr("tabindex",0).attr("aria-disabled",!1)},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){var e=this;this.isDisabled()?(this.$newElement.addClass("disabled"),this.$button.addClass("disabled").attr("tabindex",-1).attr("aria-disabled",!0)):(this.$button.hasClass("disabled")&&(this.$newElement.removeClass("disabled"),this.$button.removeClass("disabled").attr("aria-disabled",!1)),-1!=this.$button.attr("tabindex")||this.$element.data("tabindex")||this.$button.removeAttr("tabindex")),this.$button.click(function(){return!e.isDisabled()})},togglePlaceholder:function(){var e=this.$element.val();this.$button.toggleClass("bs-placeholder",null===e||""===e||e.constructor===Array&&0===e.length)},tabIndex:function(){this.$element.data("tabindex")!==this.$element.attr("tabindex")&&-98!==this.$element.attr("tabindex")&&"-98"!==this.$element.attr("tabindex")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex"))),this.$element.attr("tabindex",-98)},clickListener:function(){var t=this,n=e(document);n.data("spaceSelect",!1),this.$button.on("keyup",function(e){/(32)/.test(e.keyCode.toString(10))&&n.data("spaceSelect")&&(e.preventDefault(),n.data("spaceSelect",!1))}),this.$button.on("click",function(){t.setSize()}),this.$element.on("shown.bs.select",function(){if(t.options.liveSearch||t.multiple){if(!t.multiple){var e=t.liObj[t.$element[0].selectedIndex];if("number"!=typeof e||!1===t.options.size)return;var n=t.$lis.eq(e)[0].offsetTop-t.$menuInner[0].offsetTop;n=n-t.$menuInner[0].offsetHeight/2+t.sizeInfo.liHeight/2,t.$menuInner[0].scrollTop=n}}else t.$menuInner.find(".selected a").focus()}),this.$menuInner.on("click","li a",function(n){var i=e(this),o=i.parent().data("originalIndex"),r=t.$element.val(),a=t.$element.prop("selectedIndex"),l=!0;if(t.multiple&&1!==t.options.maxOptions&&n.stopPropagation(),n.preventDefault(),!t.isDisabled()&&!i.parent().hasClass("disabled")){var c=t.$element.find("option"),u=c.eq(o),d=u.prop("selected"),p=u.parent("optgroup"),h=t.options.maxOptions,f=p.data("maxOptions")||!1;if(t.multiple){if(u.prop("selected",!d),t.setSelected(o,!d),i.blur(),!1!==h||!1!==f){var m=h<c.filter(":selected").length,g=f<p.find("option:selected").length;if(h&&m||f&&g)if(h&&1==h)c.prop("selected",!1),u.prop("selected",!0),t.$menuInner.find(".selected").removeClass("selected"),t.setSelected(o,!0);else if(f&&1==f){p.find("option:selected").prop("selected",!1),u.prop("selected",!0);var v=i.parent().data("optgroup");t.$menuInner.find('[data-optgroup="'+v+'"]').removeClass("selected"),t.setSelected(o,!0)}else{var y="string"==typeof t.options.maxOptionsText?[t.options.maxOptionsText,t.options.maxOptionsText]:t.options.maxOptionsText,b="function"==typeof y?y(h,f):y,x=b[0].replace("{n}",h),w=b[1].replace("{n}",f),_=e('<div class="notify"></div>');b[2]&&(x=x.replace("{var}",b[2][h>1?0:1]),w=w.replace("{var}",b[2][f>1?0:1])),u.prop("selected",!1),t.$menu.append(_),h&&m&&(_.append(e("<div>"+x+"</div>")),l=!1,t.$element.trigger("maxReached.bs.select")),f&&g&&(_.append(e("<div>"+w+"</div>")),l=!1,t.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){t.setSelected(o,!1)},10),_.delay(750).fadeOut(300,function(){e(this).remove()})}}}else c.prop("selected",!1),u.prop("selected",!0),t.$menuInner.find(".selected").removeClass("selected").find("a").attr("aria-selected",!1),t.setSelected(o,!0);!t.multiple||t.multiple&&1===t.options.maxOptions?t.$button.focus():t.options.liveSearch&&t.$searchbox.focus(),l&&(r!=t.$element.val()&&t.multiple||a!=t.$element.prop("selectedIndex")&&!t.multiple)&&(s=[o,u.prop("selected"),d],t.$element.triggerNative("change"))}}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(n){n.currentTarget==this&&(n.preventDefault(),n.stopPropagation(),t.options.liveSearch&&!e(n.target).hasClass("close")?t.$searchbox.focus():t.$button.focus())}),this.$menuInner.on("click",".divider, .dropdown-header",function(e){e.preventDefault(),e.stopPropagation(),t.options.liveSearch?t.$searchbox.focus():t.$button.focus()}),this.$menu.on("click",".popover-title .close",function(){t.$button.click()}),this.$searchbox.on("click",function(e){e.stopPropagation()}),this.$menu.on("click",".actions-btn",function(n){t.options.liveSearch?t.$searchbox.focus():t.$button.focus(),n.preventDefault(),n.stopPropagation(),e(this).hasClass("bs-select-all")?t.selectAll():t.deselectAll()}),this.$element.change(function(){t.render(!1),t.$element.trigger("changed.bs.select",s),s=null})},liveSearchListener:function(){var n=this,i=e('<li class="no-results"></li>');this.$button.on("click.dropdown.data-api",function(){n.$menuInner.find(".active").removeClass("active"),n.$searchbox.val()&&(n.$searchbox.val(""),n.$lis.not(".is-hidden").removeClass("hidden"),i.parent().length&&i.remove()),n.multiple||n.$menuInner.find(".selected").addClass("active"),setTimeout(function(){n.$searchbox.focus()},10)}),this.$searchbox.on("click.dropdown.data-api focus.dropdown.data-api touchend.dropdown.data-api",function(e){e.stopPropagation()}),this.$searchbox.on("input propertychange",function(){if(n.$lis.not(".is-hidden").removeClass("hidden"),n.$lis.filter(".active").removeClass("active"),i.remove(),n.$searchbox.val()){var s,o=n.$lis.not(".is-hidden, .divider, .dropdown-header");if((s=n.options.liveSearchNormalize?o.not(":a"+n._searchStyle()+'("'+t(n.$searchbox.val())+'")'):o.not(":"+n._searchStyle()+'("'+n.$searchbox.val()+'")')).length===o.length)i.html(n.options.noneResultsText.replace("{0}",'"'+a(n.$searchbox.val())+'"')),n.$menuInner.append(i),n.$lis.addClass("hidden");else{s.addClass("hidden");var r,l=n.$lis.not(".hidden");l.each(function(t){var n=e(this);n.hasClass("divider")?void 0===r?n.addClass("hidden"):(r&&r.addClass("hidden"),r=n):n.hasClass("dropdown-header")&&l.eq(t+1).data("optgroup")!==n.data("optgroup")?n.addClass("hidden"):r=null}),r&&r.addClass("hidden"),o.not(".hidden").first().addClass("active"),n.$menuInner.scrollTop(0)}}})},_searchStyle:function(){return{begins:"ibegins",startsWith:"ibegins"}[this.options.liveSearchStyle]||"icontains"},val:function(e){return void 0!==e?(this.$element.val(e),this.render(),this.$element):this.$element.val()},changeAll:function(t){if(this.multiple){void 0===t&&(t=!0),this.findLis();var n=this.$element.find("option"),i=this.$lis.not(".divider, .dropdown-header, .disabled, .hidden"),s=i.length,o=[];if(t){if(i.filter(".selected").length===i.length)return}else if(0===i.filter(".selected").length)return;i.toggleClass("selected",t);for(var r=0;r<s;r++){var a=i[r].getAttribute("data-original-index");o[o.length]=n.eq(a)[0]}e(o).prop("selected",t),this.render(!1),this.togglePlaceholder(),this.$element.triggerNative("change")}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(e){(e=e||window.event)&&e.stopPropagation(),this.$button.trigger("click")},keydown:function(t){var n,i,s,o,r=e(this),a=(r.is("input")?r.parent().parent():r.parent()).data("this"),l=":not(.disabled, .hidden, .dropdown-header, .divider)",c={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"};if(!(o=a.$newElement.hasClass("open"))&&(t.keyCode>=48&&t.keyCode<=57||t.keyCode>=96&&t.keyCode<=105||t.keyCode>=65&&t.keyCode<=90))return a.options.container?a.$button.trigger("click"):(a.setSize(),a.$menu.parent().addClass("open"),o=!0),void a.$searchbox.focus();if(a.options.liveSearch&&/(^9$|27)/.test(t.keyCode.toString(10))&&o&&(t.preventDefault(),t.stopPropagation(),a.$menuInner.click(),a.$button.focus()),/(38|40)/.test(t.keyCode.toString(10))){if(!(n=a.$lis.filter(l)).length)return;i=a.options.liveSearch?n.index(n.filter(".active")):n.index(n.find("a").filter(":focus").parent()),s=a.$menuInner.data("prevIndex"),38==t.keyCode?(!a.options.liveSearch&&i!=s||-1==i||i--,i<0&&(i+=n.length)):40==t.keyCode&&((a.options.liveSearch||i==s)&&i++,i%=n.length),a.$menuInner.data("prevIndex",i),a.options.liveSearch?(t.preventDefault(),r.hasClass("dropdown-toggle")||(n.removeClass("active").eq(i).addClass("active").children("a").focus(),r.focus())):n.eq(i).children("a").focus()}else if(!r.is("input")){var u,d=[];(n=a.$lis.filter(l)).each(function(n){e.trim(e(this).children("a").text().toLowerCase()).substring(0,1)==c[t.keyCode]&&d.push(n)}),u=e(document).data("keycount"),u++,e(document).data("keycount",u),e.trim(e(":focus").text().toLowerCase()).substring(0,1)!=c[t.keyCode]?(u=1,e(document).data("keycount",u)):u>=d.length&&(e(document).data("keycount",0),u>d.length&&(u=1)),n.eq(d[u-1]).children("a").focus()}if((/(13|32)/.test(t.keyCode.toString(10))||/(^9$)/.test(t.keyCode.toString(10))&&a.options.selectOnTab)&&o){if(/(32)/.test(t.keyCode.toString(10))||t.preventDefault(),a.options.liveSearch)/(32)/.test(t.keyCode.toString(10))||(a.$menuInner.find(".active a").click(),r.focus());else{var p=e(":focus");p.click(),p.focus(),t.preventDefault(),e(document).data("spaceSelect",!0)}e(document).data("keycount",0)}(/(^9$|27)/.test(t.keyCode.toString(10))&&o&&(a.multiple||a.options.liveSearch)||/(27)/.test(t.keyCode.toString(10))&&!o)&&(a.$menu.parent().removeClass("open"),a.options.container&&a.$newElement.removeClass("open"),a.$button.focus())},mobile:function(){this.$element.addClass("mobile-device")},refresh:function(){this.$lis=null,this.liObj={},this.reloadLi(),this.render(),this.checkDisabled(),this.liHeight(!0),this.setStyle(),this.setWidth(),this.$lis&&this.$searchbox.trigger("propertychange"),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(".bs.select").removeData("selectpicker").removeClass("bs-select-hidden selectpicker")}};var u=e.fn.selectpicker;e.fn.selectpicker=n,e.fn.selectpicker.Constructor=c,e.fn.selectpicker.noConflict=function(){return e.fn.selectpicker=u,this},e(document).data("keycount",0).on("keydown.bs.select",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="listbox"], .bs-searchbox input',c.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="listbox"], .bs-searchbox input',function(e){e.stopPropagation()}),e(window).on("load.bs.select.data-api",function(){e(".selectpicker").each(function(){var t=e(this);n.call(t,t.data())})})}(e)}),function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,document):"function"==typeof define&&define.amd?define([],function(){return t(e,document)}):e.plyr=t(e,document)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(){var e,n,i,s=navigator.userAgent,o=navigator.appName,r=""+parseFloat(navigator.appVersion),a=parseInt(navigator.appVersion,10),l=!1,c=!1,u=!1,d=!1;return-1!==navigator.appVersion.indexOf("Windows NT")&&-1!==navigator.appVersion.indexOf("rv:11")?(l=!0,o="IE",r="11"):-1!==(n=s.indexOf("MSIE"))?(l=!0,o="IE",r=s.substring(n+5)):-1!==(n=s.indexOf("Chrome"))?(u=!0,o="Chrome",r=s.substring(n+7)):-1!==(n=s.indexOf("Safari"))?(d=!0,o="Safari",r=s.substring(n+7),-1!==(n=s.indexOf("Version"))&&(r=s.substring(n+8))):-1!==(n=s.indexOf("Firefox"))?(c=!0,o="Firefox",r=s.substring(n+8)):(e=s.lastIndexOf(" ")+1)<(n=s.lastIndexOf("/"))&&(o=s.substring(e,n),r=s.substring(n+1),o.toLowerCase()===o.toUpperCase()&&(o=navigator.appName)),-1!==(i=r.indexOf(";"))&&(r=r.substring(0,i)),-1!==(i=r.indexOf(" "))&&(r=r.substring(0,i)),a=parseInt(""+r,10),isNaN(a)&&(r=""+parseFloat(navigator.appVersion),a=parseInt(navigator.appVersion,10)),{name:o,version:a,isIE:l,isFirefox:c,isChrome:u,isSafari:d,isIos:/(iPad|iPhone|iPod)/g.test(navigator.platform),isIphone:/(iPhone|iPod)/g.test(navigator.userAgent),isTouch:"ontouchstart"in t.documentElement}}function i(e){if(!t.querySelectorAll('script[src="'+e+'"]').length){var n=t.createElement("script");n.src=e;var i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i)}}function s(e,t){return Array.prototype.indexOf&&-1!==e.indexOf(t)}function o(e,t,n){return e.replace(new RegExp(t.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),n)}function r(e,t){e.length||(e=[e]);for(var n=e.length-1;n>=0;n--){var i=n>0?t.cloneNode(!0):t,s=e[n],o=s.parentNode,r=s.nextSibling;return i.appendChild(s),r?o.insertBefore(i,r):o.appendChild(i),i}}function a(e){e&&e.parentNode.removeChild(e)}function l(e,t){e.insertBefore(t,e.firstChild)}function c(e,t){for(var n in t)e.setAttribute(n,S.boolean(t[n])&&t[n]?"":t[n])}function u(e,n,i){var s=t.createElement(e);c(s,i),l(n,s)}function d(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(/\s+/g," ").replace(" "+t+" ","");e.className=i+(n?" "+t:"")}}function p(e,t){return!!e&&(e.classList?e.classList.contains(t):new RegExp("(\\s|^)"+t+"(\\s|$)").test(e.className))}function h(e,n){var i=Element.prototype;return(i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(e){return-1!==[].indexOf.call(t.querySelectorAll(e),this)}).call(e,n)}function f(e,t,n,i,s){n&&g(e,t,function(t){n.apply(e,[t])},s),g(e,t,function(t){i.apply(e,[t])},s)}function m(e,t,n,i,s){var o=t.split(" ");if(S.boolean(s)||(s=!1),e instanceof NodeList)for(var r=0;r<e.length;r++)e[r]instanceof Node&&m(e[r],arguments[1],arguments[2],arguments[3]);else for(var a=0;a<o.length;a++)e[i?"addEventListener":"removeEventListener"](o[a],n,s)}function g(e,t,n,i){e&&m(e,t,n,!0,i)}function v(e,t,n,i){if(e&&t){S.boolean(n)||(n=!1);var s=new CustomEvent(t,{bubbles:n,detail:i});e.dispatchEvent(s)}}function y(e,t){if(e)return t=S.boolean(t)?t:!e.getAttribute("aria-pressed"),e.setAttribute("aria-pressed",t),t}function b(e,t){return 0===e||0===t||isNaN(e)||isNaN(t)?0:(e/t*100).toFixed(2)}function x(){var e=arguments;if(e.length){if(1===e.length)return e[0];for(var t=Array.prototype.shift.call(e),n=e.length,i=0;i<n;i++){var s=e[i];for(var o in s)s[o]&&s[o].constructor&&s[o].constructor===Object?(t[o]=t[o]||{},x(t[o],s[o])):t[o]=s[o]}return t}}function w(w,N){function D(e,t,n,i){v(e,t,n,x({},i,{plyr:Ee}))}function j(t,n){N.debug&&e.console&&(n=Array.prototype.slice.call(n),S.string(N.logPrefix)&&N.logPrefix.length&&n.unshift(N.logPrefix),console[t].apply(console,n))}function I(){return{url:N.iconUrl,absolute:0===N.iconUrl.indexOf("http")||Se.browser.isIE&&!e.svg4everybody}}function P(){if(Se.supported.full&&("audio"!==Se.type||N.fullscreen.allowAudio)&&N.fullscreen.enabled){var t=k.supportsFullScreen;t||N.fullscreen.fallback&&!function(){try{return e.self!==e.top}catch(e){return!0}}()?(De((t?"Native":"Fallback")+" fullscreen enabled"),t||d(Se.container,N.classes.fullscreen.fallback,!0),d(Se.container,N.classes.fullscreen.enabled,!0)):De("Fullscreen not supported and fallback disabled"),Se.buttons&&Se.buttons.fullscreen&&y(Se.buttons.fullscreen,!1),q()}}function O(){if("video"===Se.type){z(N.selectors.captions)||Se.videoContainer.insertAdjacentHTML("afterbegin",'<div class="'+function(e){return e.replace(".","")}(N.selectors.captions)+'"></div>'),Se.usingTextTracks=!1,Se.media.textTracks&&(Se.usingTextTracks=!0);for(var e,t="",n=Se.media.childNodes,i=0;i<n.length;i++)"track"===n[i].nodeName.toLowerCase()&&("captions"!==(e=n[i].kind)&&"subtitles"!==e||(t=n[i].getAttribute("src")));if(Se.captionExists=!0,""===t?(Se.captionExists=!1,De("No caption track found")):De("Caption track found; URI: "+t),Se.captionExists){for(var s=Se.media.textTracks,o=0;o<s.length;o++)s[o].mode="hidden";if(function(){if(Se.buttons.captions){d(Se.container,N.classes.captions.enabled,!0);var e=Se.storage.captionsEnabled;S.boolean(e)||(e=N.captions.defaultActive),e&&(d(Se.container,N.classes.captions.active,!0),y(Se.buttons.captions,!0))}}(),(Se.browser.isIE&&Se.browser.version>=10||Se.browser.isFirefox&&Se.browser.version>=31)&&(De("Detected browser with known TextTrack issues - using manual fallback"),Se.usingTextTracks=!1),Se.usingTextTracks){De("TextTracks supported");for(var r=0;r<s.length;r++){var a=s[r];"captions"!==a.kind&&"subtitles"!==a.kind||g(a,"cuechange",function(){this.activeCues[0]&&"text"in this.activeCues[0]?L(this.activeCues[0].getCueAsHTML()):L()})}}else if(De("TextTracks not supported so rendering captions manually"),Se.currentCaption="",Se.captions=[],""!==t){var l=new XMLHttpRequest;l.onreadystatechange=function(){if(4===l.readyState)if(200===l.status){var e,t=[],n=l.responseText,i="\r\n";-1===n.indexOf(i+i)&&(i=-1!==n.indexOf("\r\r")?"\r":"\n"),t=n.split(i+i);for(var s=0;s<t.length;s++){e=t[s],Se.captions[s]=[];var o=e.split(i),r=0;-1===o[r].indexOf(":")&&(r=1),Se.captions[s]=[o[r],o[r+1]]}Se.captions.shift(),De("Successfully loaded the caption file via AJAX")}else je(N.logPrefix+"There was a problem loading the caption file via AJAX")},l.open("get",t,!0),l.send()}}else d(Se.container,N.classes.captions.enabled)}}function L(e){var n=z(N.selectors.captions),i=t.createElement("span");n.innerHTML="",S.undefined(e)&&(e=""),S.string(e)?i.innerHTML=e.trim():i.appendChild(e),n.appendChild(i),n.offsetHeight}function F(e){function t(e,t){var n=[];n=e.split(" --\x3e ");for(var i=0;i<n.length;i++)n[i]=n[i].replace(/(\d+:\d+:\d+\.\d+).*/,"$1");return function(e){if(null===e||void 0===e)return 0;var t=[],n=[];return t=e.split(","),n=t[0].split(":"),Math.floor(60*n[0]*60)+Math.floor(60*n[1])+Math.floor(n[2])}(n[t])}function n(e){return t(e,1)}if(!Se.usingTextTracks&&"video"===Se.type&&Se.supported.full&&(Se.subcount=0,e=S.number(e)?e:Se.media.currentTime,Se.captions[Se.subcount])){for(;n(Se.captions[Se.subcount][0])<e.toFixed(1);)if(Se.subcount++,Se.subcount>Se.captions.length-1){Se.subcount=Se.captions.length-1;break}Se.media.currentTime.toFixed(1)>=t(Se.captions[Se.subcount][0],0)&&Se.media.currentTime.toFixed(1)<=n(Se.captions[Se.subcount][0])?(Se.currentCaption=Se.captions[Se.subcount][1],L(Se.currentCaption)):L()}}function H(e){return Se.container.querySelectorAll(e)}function z(e){return H(e)[0]}function q(){var e=H("input:not([disabled]), button:not([disabled])"),t=e[0],n=e[e.length-1];g(Se.container,"keydown",function(e){9===e.which&&Se.isFullscreen&&(e.target!==n||e.shiftKey?e.target===t&&e.shiftKey&&(e.preventDefault(),n.focus()):(e.preventDefault(),t.focus()))})}function R(e,t){if(S.string(t))u(e,Se.media,{src:t});else if(t.constructor===Array)for(var n=t.length-1;n>=0;n--)u(e,Se.media,t[n])}function M(){if(N.loadSprite){var e=I();e.absolute?(De("AJAX loading absolute SVG sprite"+(Se.browser.isIE?" (due to IE)":"")),_(e.url,"sprite-plyr")):De("Sprite will be used as external resource directly")}var n=N.html;De("Injecting custom controls"),n||(n=function(){var e=[],t=I(),n=(t.absolute?"":t.url)+"#"+N.iconPrefix;return s(N.controls,"play-large")&&e.push('<button type="button" data-plyr="play" class="plyr__play-large">','<svg><use xlink:href="'+n+'-play" /></svg>','<span class="plyr__sr-only">'+N.i18n.play+"</span>","</button>"),e.push('<div class="plyr__controls">'),s(N.controls,"restart")&&e.push('<button type="button" data-plyr="restart">','<svg><use xlink:href="'+n+'-restart" /></svg>','<span class="plyr__sr-only">'+N.i18n.restart+"</span>","</button>"),s(N.controls,"rewind")&&e.push('<button type="button" data-plyr="rewind">','<svg><use xlink:href="'+n+'-rewind" /></svg>','<span class="plyr__sr-only">'+N.i18n.rewind+"</span>","</button>"),s(N.controls,"play")&&e.push('<button type="button" data-plyr="play">','<svg><use xlink:href="'+n+'-play" /></svg>','<span class="plyr__sr-only">'+N.i18n.play+"</span>","</button>",'<button type="button" data-plyr="pause">','<svg><use xlink:href="'+n+'-pause" /></svg>','<span class="plyr__sr-only">'+N.i18n.pause+"</span>","</button>"),s(N.controls,"fast-forward")&&e.push('<button type="button" data-plyr="fast-forward">','<svg><use xlink:href="'+n+'-fast-forward" /></svg>','<span class="plyr__sr-only">'+N.i18n.forward+"</span>","</button>"),s(N.controls,"progress")&&(e.push('<span class="plyr__progress">','<label for="seek{id}" class="plyr__sr-only">Seek</label>','<input id="seek{id}" class="plyr__progress--seek" type="range" min="0" max="100" step="0.1" value="0" data-plyr="seek">','<progress class="plyr__progress--played" max="100" value="0" role="presentation"></progress>','<progress class="plyr__progress--buffer" max="100" value="0">',"<span>0</span>% "+N.i18n.buffered,"</progress>"),N.tooltips.seek&&e.push('<span class="plyr__tooltip">00:00</span>'),e.push("</span>")),s(N.controls,"current-time")&&e.push('<span class="plyr__time">','<span class="plyr__sr-only">'+N.i18n.currentTime+"</span>",'<span class="plyr__time--current">00:00</span>',"</span>"),s(N.controls,"duration")&&e.push('<span class="plyr__time">','<span class="plyr__sr-only">'+N.i18n.duration+"</span>",'<span class="plyr__time--duration">00:00</span>',"</span>"),s(N.controls,"mute")&&e.push('<button type="button" data-plyr="mute">','<svg class="icon--muted"><use xlink:href="'+n+'-muted" /></svg>','<svg><use xlink:href="'+n+'-volume" /></svg>','<span class="plyr__sr-only">'+N.i18n.toggleMute+"</span>","</button>"),s(N.controls,"volume")&&e.push('<span class="plyr__volume">','<label for="volume{id}" class="plyr__sr-only">'+N.i18n.volume+"</label>",'<input id="volume{id}" class="plyr__volume--input" type="range" min="'+N.volumeMin+'" max="'+N.volumeMax+'" value="'+N.volume+'" data-plyr="volume">','<progress class="plyr__volume--display" max="'+N.volumeMax+'" value="'+N.volumeMin+'" role="presentation"></progress>',"</span>"),s(N.controls,"captions")&&e.push('<button type="button" data-plyr="captions">','<svg class="icon--captions-on"><use xlink:href="'+n+'-captions-on" /></svg>','<svg><use xlink:href="'+n+'-captions-off" /></svg>','<span class="plyr__sr-only">'+N.i18n.toggleCaptions+"</span>","</button>"),s(N.controls,"fullscreen")&&e.push('<button type="button" data-plyr="fullscreen">','<svg class="icon--exit-fullscreen"><use xlink:href="'+n+'-exit-fullscreen" /></svg>','<svg><use xlink:href="'+n+'-enter-fullscreen" /></svg>','<span class="plyr__sr-only">'+N.i18n.toggleFullscreen+"</span>","</button>"),e.push("</div>"),e.join("")}()),n=o(n=o(n,"{seektime}",N.seekTime),"{id}",Math.floor(1e4*Math.random())),N.title&&(n=o(n,"{title}",N.title));var i;if(S.string(N.selectors.controls.container)&&(i=t.querySelector(N.selectors.controls.container)),S.htmlElement(i)||(i=Se.container),i.insertAdjacentHTML("beforeend",n),N.tooltips.controls)for(var r=H([N.selectors.controls.wrapper," ",N.selectors.labels," .",N.classes.hidden].join("")),a=r.length-1;a>=0;a--){var l=r[a];d(l,N.classes.hidden,!1),d(l,N.classes.tooltip,!0)}}function W(){d(Se.container,N.selectors.container.replace(".",""),Se.supported.full)}function B(e){e&&s(N.types.html5,Se.type)?Se.media.setAttribute("controls",""):Se.media.removeAttribute("controls")}function U(e){var t=N.i18n.play;if(S.string(N.title)&&N.title.length&&(t+=", "+N.title,Se.container.setAttribute("aria-label",N.title)),Se.supported.full&&Se.buttons.play)for(var n=Se.buttons.play.length-1;n>=0;n--)Se.buttons.play[n].setAttribute("aria-label",t);S.htmlElement(e)&&e.setAttribute("title",N.i18n.frameTitle.replace("{title}",N.title))}function V(t){A.supported&&N.storage.enabled&&(x(Se.storage,t),e.localStorage.setItem(N.storage.key,JSON.stringify(Se.storage)))}function X(){if(Se.media){if(Se.supported.full&&(d(Se.container,N.classes.type.replace("{0}",Se.type),!0),s(N.types.embed,Se.type)&&d(Se.container,N.classes.type.replace("{0}","video"),!0),d(Se.container,N.classes.stopped,N.autoplay),d(Se.container,N.classes.isIos,Se.browser.isIos),d(Se.container,N.classes.isTouch,Se.browser.isTouch),"video"===Se.type)){var n=t.createElement("div");n.setAttribute("class",N.classes.videoWrapper),r(Se.media,n),Se.videoContainer=n}s(N.types.embed,Se.type)&&function(){var n,s=t.createElement("div"),o=Se.type+"-"+Math.floor(1e4*Math.random());switch(Se.type){case"youtube":n=function(e){return e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)?RegExp.$2:e}(Se.embedId);break;case"vimeo":n=function(e){return e.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:e}(Se.embedId);break;default:n=Se.embedId}for(var r=H('[id^="'+Se.type+'-"]'),l=r.length-1;l>=0;l--)a(r[l]);if(d(Se.media,N.classes.videoWrapper,!0),d(Se.media,N.classes.embedWrapper,!0),"youtube"===Se.type)Se.media.appendChild(s),s.setAttribute("id",o),S.object(e.YT)?Q(n,s):(i(N.urls.youtube.api),e.onYouTubeReadyCallbacks=e.onYouTubeReadyCallbacks||[],e.onYouTubeReadyCallbacks.push(function(){Q(n,s)}),e.onYouTubeIframeAPIReady=function(){e.onYouTubeReadyCallbacks.forEach(function(e){e()})});else if("vimeo"===Se.type)if(Se.supported.full?Se.media.appendChild(s):s=Se.media,s.setAttribute("id",o),S.object(e.Vimeo))G(n,s);else{i(N.urls.vimeo.api);var u=e.setInterval(function(){S.object(e.Vimeo)&&(e.clearInterval(u),G(n,s))},50)}else if("soundcloud"===Se.type){var p=t.createElement("iframe");p.loaded=!1,g(p,"load",function(){p.loaded=!0}),c(p,{src:"https://w.soundcloud.com/player/?url=https://api.soundcloud.com/tracks/"+n,id:o}),s.appendChild(p),Se.media.appendChild(s),e.SC||i(N.urls.soundcloud.api);var h=e.setInterval(function(){e.SC&&p.loaded&&(e.clearInterval(h),function(){Se.embed=e.SC.Widget(this),Se.embed.bind(e.SC.Widget.Events.READY,function(){Se.media.play=function(){Se.embed.play(),Se.media.paused=!1},Se.media.pause=function(){Se.embed.pause(),Se.media.paused=!0},Se.media.stop=function(){Se.embed.seekTo(0),Se.embed.pause(),Se.media.paused=!0},Se.media.paused=!0,Se.media.currentTime=0,Se.embed.getDuration(function(e){Se.media.duration=e/1e3,Y()}),Se.embed.getPosition(function(e){Se.media.currentTime=e,D(Se.media,"timeupdate")}),Se.embed.bind(e.SC.Widget.Events.PLAY,function(){Se.media.paused=!1,D(Se.media,"play"),D(Se.media,"playing")}),Se.embed.bind(e.SC.Widget.Events.PAUSE,function(){Se.media.paused=!0,D(Se.media,"pause")}),Se.embed.bind(e.SC.Widget.Events.PLAY_PROGRESS,function(e){Se.media.seeking=!1,Se.media.currentTime=e.currentPosition/1e3,D(Se.media,"timeupdate")}),Se.embed.bind(e.SC.Widget.Events.LOAD_PROGRESS,function(e){Se.media.buffered=e.loadProgress,D(Se.media,"progress"),1===parseInt(e.loadProgress)&&D(Se.media,"canplaythrough")}),Se.embed.bind(e.SC.Widget.Events.FINISH,function(){Se.media.paused=!0,D(Se.media,"ended")})})}.call(p))},50)}}()}else je("No media element found!")}function Y(){Se.supported.full&&(ke(),$e()),U(z("iframe"))}function Q(t,n){Se.embed=new e.YT.Player(n.id,{videoId:t,playerVars:{autoplay:N.autoplay?1:0,controls:Se.supported.full?0:1,rel:0,showinfo:0,iv_load_policy:3,cc_load_policy:N.captions.defaultActive?1:0,cc_lang_pref:"en",wmode:"transparent",modestbranding:1,disablekb:1,origin:"*"},events:{onError:function(e){D(Se.container,"error",!0,{code:e.data,embed:e.target})},onReady:function(t){var n=t.target;Se.media.play=function(){n.playVideo(),Se.media.paused=!1},Se.media.pause=function(){n.pauseVideo(),Se.media.paused=!0},Se.media.stop=function(){n.stopVideo(),Se.media.paused=!0},Se.media.duration=n.getDuration(),Se.media.paused=!0,Se.media.currentTime=0,Se.media.muted=n.isMuted(),"function"==typeof n.getVideoData&&(N.title=n.getVideoData().title),Se.supported.full&&Se.media.querySelector("iframe").setAttribute("tabindex","-1"),Y(),D(Se.media,"timeupdate"),D(Se.media,"durationchange"),e.clearInterval(Ae.buffering),Ae.buffering=e.setInterval(function(){Se.media.buffered=n.getVideoLoadedFraction(),(null===Se.media.lastBuffered||Se.media.lastBuffered<Se.media.buffered)&&D(Se.media,"progress"),Se.media.lastBuffered=Se.media.buffered,1===Se.media.buffered&&(e.clearInterval(Ae.buffering),D(Se.media,"canplaythrough"))},200)},onStateChange:function(t){var n=t.target;switch(e.clearInterval(Ae.playing),t.data){case 0:Se.media.paused=!0,D(Se.media,"ended");break;case 1:Se.media.paused=!1,Se.media.seeking&&D(Se.media,"seeked"),Se.media.seeking=!1,D(Se.media,"play"),D(Se.media,"playing"),Ae.playing=e.setInterval(function(){Se.media.currentTime=n.getCurrentTime(),D(Se.media,"timeupdate")},100),Se.media.duration!==n.getDuration()&&(Se.media.duration=n.getDuration(),D(Se.media,"durationchange"));break;case 2:Se.media.paused=!0,D(Se.media,"pause")}D(Se.container,"statechange",!1,{code:t.data})}}})}function G(n,i){var s=function(e){return Object.keys(e).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])}).join("&")}({loop:N.loop,autoplay:N.autoplay,byline:!1,portrait:!1,title:!1,speed:!0,transparent:0}),o=t.createElement("iframe"),r="https://player.vimeo.com/video/"+n+"?"+s;o.setAttribute("src",r),o.setAttribute("allowfullscreen",""),i.appendChild(o),Se.embed=new e.Vimeo.Player(o),Se.media.play=function(){Se.embed.play(),Se.media.paused=!1},Se.media.pause=function(){Se.embed.pause(),Se.media.paused=!0},Se.media.stop=function(){Se.embed.stop(),Se.media.paused=!0},Se.media.paused=!0,Se.media.currentTime=0,Y(),Se.embed.getCurrentTime().then(function(e){Se.media.currentTime=e,D(Se.media,"timeupdate")}),Se.embed.getDuration().then(function(e){Se.media.duration=e,D(Se.media,"durationchange")}),Se.embed.on("loaded",function(){S.htmlElement(Se.embed.element)&&Se.supported.full&&Se.embed.element.setAttribute("tabindex","-1")}),Se.embed.on("play",function(){Se.media.paused=!1,D(Se.media,"play"),D(Se.media,"playing")}),Se.embed.on("pause",function(){Se.media.paused=!0,D(Se.media,"pause")}),Se.embed.on("timeupdate",function(e){Se.media.seeking=!1,Se.media.currentTime=e.seconds,D(Se.media,"timeupdate")}),Se.embed.on("progress",function(e){Se.media.buffered=e.percent,D(Se.media,"progress"),1===parseInt(e.percent)&&D(Se.media,"canplaythrough")}),Se.embed.on("seeked",function(){Se.media.seeking=!1,D(Se.media,"seeked"),D(Se.media,"play")}),Se.embed.on("ended",function(){Se.media.paused=!0,D(Se.media,"ended")})}function Z(){"play"in Se.media&&Se.media.play()}function J(){"pause"in Se.media&&Se.media.pause()}function K(e){return S.boolean(e)||(e=Se.media.paused),e?Z():J(),e}function ee(e){S.number(e)||(e=N.seekTime),ne(Se.media.currentTime-e)}function te(e){S.number(e)||(e=N.seekTime),ne(Se.media.currentTime+e)}function ne(e){var t=0,n=Se.media.paused,i=ie();S.number(e)?t=e:S.object(e)&&s(["input","change"],e.type)&&(t=e.target.value/e.target.max*i),t<0?t=0:t>i&&(t=i),ye(t);try{Se.media.currentTime=t.toFixed(4)}catch(e){}if(s(N.types.embed,Se.type)){switch(Se.type){case"youtube":Se.embed.seekTo(t);break;case"vimeo":Se.embed.setCurrentTime(t.toFixed(0));break;case"soundcloud":Se.embed.seekTo(1e3*t)}n&&J(),D(Se.media,"timeupdate"),Se.media.seeking=!0,D(Se.media,"seeking")}De("Seeking to "+Se.media.currentTime+" seconds"),F(t)}function ie(){var e=parseInt(N.duration),t=0;return null===Se.media.duration||isNaN(Se.media.duration)||(t=Se.media.duration),isNaN(e)?t:e}function se(){d(Se.container,N.classes.playing,!Se.media.paused),d(Se.container,N.classes.stopped,Se.media.paused),xe(Se.media.paused)}function oe(n){var i=k.supportsFullScreen;if(i){if(!n||n.type!==k.fullScreenEventName)return k.isFullScreen(Se.container)?k.cancelFullScreen():($={x:e.pageXOffset||0,y:e.pageYOffset||0},k.requestFullScreen(Se.container)),void(Se.isFullscreen=k.isFullScreen(Se.container));Se.isFullscreen=k.isFullScreen(Se.container)}else Se.isFullscreen=!Se.isFullscreen,t.body.style.overflow=Se.isFullscreen?"hidden":"";d(Se.container,N.classes.fullscreen.active,Se.isFullscreen),q(Se.isFullscreen),Se.buttons&&Se.buttons.fullscreen&&y(Se.buttons.fullscreen,Se.isFullscreen),D(Se.container,Se.isFullscreen?"enterfullscreen":"exitfullscreen",!0),!Se.isFullscreen&&i&&e.scrollTo($.x,$.y)}function re(e){if(S.boolean(e)||(e=!Se.media.muted),y(Se.buttons.mute,e),Se.media.muted=e,0===Se.media.volume&&ae(N.volume),s(N.types.embed,Se.type)){switch(Se.type){case"youtube":Se.embed[Se.media.muted?"mute":"unMute"]();break;case"vimeo":case"soundcloud":Se.embed.setVolume(Se.media.muted?0:parseFloat(N.volume/N.volumeMax))}D(Se.media,"volumechange")}}function ae(e){var t=N.volumeMax,n=N.volumeMin;if(S.undefined(e)&&(e=Se.storage.volume),(null===e||isNaN(e))&&(e=N.volume),e>t&&(e=t),e<n&&(e=n),Se.media.volume=parseFloat(e/t),Se.volume.display&&(Se.volume.display.value=e),s(N.types.embed,Se.type)){switch(Se.type){case"youtube":Se.embed.setVolume(100*Se.media.volume);break;case"vimeo":case"soundcloud":Se.embed.setVolume(Se.media.volume)}D(Se.media,"volumechange")}0===e?Se.media.muted=!0:Se.media.muted&&e>0&&re()}function le(e){var t=Se.media.muted?0:Se.media.volume*N.volumeMax;S.number(e)||(e=N.volumeStep),ae(t+e)}function ce(e){var t=Se.media.muted?0:Se.media.volume*N.volumeMax;S.number(e)||(e=N.volumeStep),ae(t-e)}function ue(){var e=Se.media.muted?0:Se.media.volume*N.volumeMax;Se.supported.full&&(Se.volume.input&&(Se.volume.input.value=e),Se.volume.display&&(Se.volume.display.value=e)),V({volume:e}),d(Se.container,N.classes.muted,0===e),Se.supported.full&&Se.buttons.mute&&y(Se.buttons.mute,0===e)}function de(e){Se.supported.full&&Se.buttons.captions&&(S.boolean(e)||(e=-1===Se.container.className.indexOf(N.classes.captions.active)),Se.captionsEnabled=e,y(Se.buttons.captions,Se.captionsEnabled),d(Se.container,N.classes.captions.active,Se.captionsEnabled),D(Se.container,Se.captionsEnabled?"captionsenabled":"captionsdisabled",!0),V({captionsEnabled:Se.captionsEnabled}))}function pe(e){var t="waiting"===e.type;clearTimeout(Ae.loading),Ae.loading=setTimeout(function(){d(Se.container,N.classes.loading,t),xe(t)},t?250:0)}function he(e){if(Se.supported.full){var t=Se.progress.played,n=0,i=ie();if(e)switch(e.type){case"timeupdate":case"seeking":if(Se.controls.pressed)return;n=b(Se.media.currentTime,i),"timeupdate"===e.type&&Se.buttons.seek&&(Se.buttons.seek.value=n);break;case"playing":case"progress":t=Se.progress.buffer,n=function(){var e=Se.media.buffered;return e&&e.length?b(e.end(0),i):S.number(e)?100*e:0}()}fe(t,n)}}function fe(e,t){if(Se.supported.full){if(S.undefined(t)&&(t=0),S.undefined(e)){if(!Se.progress||!Se.progress.buffer)return;e=Se.progress.buffer}S.htmlElement(e)?e.value=t:e&&(e.bar&&(e.bar.value=t),e.text&&(e.text.innerHTML=t))}}function me(e,t){if(t){isNaN(e)&&(e=0),Se.secs=parseInt(e%60),Se.mins=parseInt(e/60%60),Se.hours=parseInt(e/60/60%60);var n=parseInt(ie()/60/60%60)>0;Se.secs=("0"+Se.secs).slice(-2),Se.mins=("0"+Se.mins).slice(-2),t.innerHTML=(n?Se.hours+":":"")+Se.mins+":"+Se.secs}}function ge(){if(Se.supported.full){var e=ie()||0;!Se.duration&&N.displayDuration&&Se.media.paused&&me(e,Se.currentTime),Se.duration&&me(e,Se.duration),be()}}function ve(e){me(Se.media.currentTime,Se.currentTime),e&&"timeupdate"===e.type&&Se.media.seeking||he(e)}function ye(e){S.number(e)||(e=0);var t=b(e,ie());Se.progress&&Se.progress.played&&(Se.progress.played.value=t),Se.buttons&&Se.buttons.seek&&(Se.buttons.seek.value=t)}function be(e){var t=ie();if(N.tooltips.seek&&Se.progress.container&&0!==t){var n=Se.progress.container.getBoundingClientRect(),i=0,o=N.classes.tooltip+"--visible";if(e)i=100/n.width*(e.pageX-n.left);else{if(!p(Se.progress.tooltip,o))return;i=Se.progress.tooltip.style.left.replace("%","")}i<0?i=0:i>100&&(i=100),me(t/100*i,Se.progress.tooltip),Se.progress.tooltip.style.left=i+"%",e&&s(["mouseenter","mouseleave"],e.type)&&d(Se.progress.tooltip,o,"mouseenter"===e.type)}}function xe(t){if(N.hideControls&&"audio"!==Se.type){var n=0,i=!1,o=t,r=p(Se.container,N.classes.loading);if(S.boolean(t)||(t&&t.type?(i="enterfullscreen"===t.type,o=s(["mousemove","touchstart","mouseenter","focus"],t.type),s(["mousemove","touchmove"],t.type)&&(n=2e3),"focus"===t.type&&(n=3e3)):o=p(Se.container,N.classes.hideControls)),e.clearTimeout(Ae.hover),o||Se.media.paused||r){if(d(Se.container,N.classes.hideControls,!1),Se.media.paused||r)return;Se.browser.isTouch&&(n=3e3)}o&&Se.media.paused||(Ae.hover=e.setTimeout(function(){(!Se.controls.pressed&&!Se.controls.hover||i)&&d(Se.container,N.classes.hideControls,!0)},n))}}function we(e){S.object(e)&&"sources"in e&&e.sources.length?(d(Se.container,N.classes.ready,!1),J(),ye(),fe(),function(){if(s(N.types.html5,Se.type)){for(var e=Se.media.querySelectorAll("source"),t=0;t<e.length;t++)a(e[t]);Se.media.setAttribute("src",N.blankUrl),Se.media.load(),De("Cancelled network requests")}}(),Te(function(){if(Se.embed=null,a(Se.media),"video"===Se.type&&Se.videoContainer&&a(Se.videoContainer),Se.container&&Se.container.removeAttribute("class"),"type"in e&&(Se.type=e.type,"video"===Se.type)){var n=e.sources[0];"type"in n&&s(N.types.embed,n.type)&&(Se.type=n.type)}switch(Se.supported=C(Se.type),Se.type){case"video":Se.media=t.createElement("video");break;case"audio":Se.media=t.createElement("audio");break;case"youtube":case"vimeo":case"soundcloud":Se.media=t.createElement("div"),Se.embedId=e.sources[0].src}l(Se.container,Se.media),S.boolean(e.autoplay)&&(N.autoplay=e.autoplay),s(N.types.html5,Se.type)&&(N.crossorigin&&Se.media.setAttribute("crossorigin",""),N.autoplay&&Se.media.setAttribute("autoplay",""),"poster"in e&&Se.media.setAttribute("poster",e.poster),N.loop&&Se.media.setAttribute("loop","")),d(Se.container,N.classes.fullscreen.active,Se.isFullscreen),d(Se.container,N.classes.captions.active,Se.captionsEnabled),W(),s(N.types.html5,Se.type)&&R("source",e.sources),X(),s(N.types.html5,Se.type)&&("tracks"in e&&R("track",e.tracks),Se.media.load()),(s(N.types.html5,Se.type)||s(N.types.embed,Se.type)&&!Se.supported.full)&&(ke(),$e()),N.title=e.title,U()},!1)):je("Invalid source format")}function _e(){d(z("."+N.classes.tabFocus),N.classes.tabFocus,!1)}function Ce(){function n(){var e=K(),t=Se.buttons[e?"play":"pause"],n=Se.buttons[e?"pause":"play"];if(n&&(n=n.length>1?n[n.length-1]:n[0]),n){var i=p(t,N.classes.tabFocus);setTimeout(function(){n.focus(),i&&(d(t,N.classes.tabFocus,!1),d(n,N.classes.tabFocus,!0))},100)}}function i(){var e=t.activeElement;return e=e&&e!==t.body?t.querySelector(":focus"):null}function o(e){return e.keyCode?e.keyCode:e.which}function r(e){var t=o(e),n="keydown"===e.type,i=n&&t===l;if(S.number(t))if(n){switch(s([48,49,50,51,52,53,54,56,57,32,75,38,40,77,39,37,70,67],t)&&(e.preventDefault(),e.stopPropagation()),t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:i||function(){var e=Se.media.duration;S.number(e)&&ne(e/10*(t-48))}();break;case 32:case 75:i||K();break;case 38:le();break;case 40:ce();break;case 77:i||re();break;case 39:te();break;case 37:ee();break;case 70:oe();break;case 67:i||de()}!k.supportsFullScreen&&Se.isFullscreen&&27===t&&oe(),l=t}else l=null}var a=Se.browser.isIE?"change":"input";if(N.keyboardShorcuts.focused){var l=null;N.keyboardShorcuts.global&&g(e,"keydown keyup",function(e){var t=o(e),n=i();1!==T().length||!s([48,49,50,51,52,53,54,56,57,75,77,70,67],t)||S.htmlElement(n)&&h(n,N.selectors.editable)||r(e)}),g(Se.container,"keydown keyup",r)}g(e,"keyup",function(e){var t=o(e),n=i();9===t&&function(e){for(var t in Se.buttons){var n=Se.buttons[t];if(S.nodeList(n))for(var i=0;i<n.length;i++)d(n[i],N.classes.tabFocus,n[i]===e);else d(n,N.classes.tabFocus,n===e)}}(n)}),g(t.body,"click",_e);for(var c in Se.buttons){var u=Se.buttons[c];g(u,"blur",function(){d(u,"tab-focus",!1)})}f(Se.buttons.play,"click",N.listeners.play,n),f(Se.buttons.pause,"click",N.listeners.pause,n),f(Se.buttons.restart,"click",N.listeners.restart,ne),f(Se.buttons.rewind,"click",N.listeners.rewind,ee),f(Se.buttons.forward,"click",N.listeners.forward,te),f(Se.buttons.seek,a,N.listeners.seek,ne),f(Se.volume.input,a,N.listeners.volume,function(){ae(Se.volume.input.value)}),f(Se.buttons.mute,"click",N.listeners.mute,re),f(Se.buttons.fullscreen,"click",N.listeners.fullscreen,oe),k.supportsFullScreen&&g(t,k.fullScreenEventName,oe),f(Se.buttons.captions,"click",N.listeners.captions,de),g(Se.progress.container,"mouseenter mouseleave mousemove",be),N.hideControls&&(g(Se.container,"mouseenter mouseleave mousemove touchstart touchend touchcancel touchmove enterfullscreen",xe),g(Se.controls,"mouseenter mouseleave",function(e){Se.controls.hover="mouseenter"===e.type}),g(Se.controls,"mousedown mouseup touchstart touchend touchcancel",function(e){Se.controls.pressed=s(["mousedown","touchstart"],e.type)}),g(Se.controls,"focus blur",xe,!0)),g(Se.volume.input,"wheel",function(e){e.preventDefault();var t=e.webkitDirectionInvertedFromDevice,n=N.volumeStep/5;(e.deltaY<0||e.deltaX>0)&&(t?ce(n):le(n)),(e.deltaY>0||e.deltaX<0)&&(t?le(n):ce(n))})}function Te(n,i){function s(){clearTimeout(Ae.cleanUp),S.boolean(i)||(i=!0),S.function(n)&&n.call(Ne),i&&(Se.init=!1,Se.container.parentNode.replaceChild(Ne,Se.container),Se.container=null,t.body.style.overflow="",function(e,t,n,i){e&&m(e,t,n,!1,i)}(t.body,"click",_e),D(Ne,"destroyed",!0))}if(!Se.init)return null;switch(Se.type){case"youtube":e.clearInterval(Ae.buffering),e.clearInterval(Ae.playing),Se.embed.destroy(),s();break;case"vimeo":Se.embed.unload().then(s),Ae.cleanUp=e.setTimeout(s,200);break;case"video":case"audio":B(!0),s()}}function ke(){if(!Se.supported.full)return je("Basic support only",Se.type),a(z(N.selectors.controls.wrapper)),a(z(N.selectors.buttons.play)),void B(!0);var e=!H(N.selectors.controls.wrapper).length;e&&M(),function(){try{return Se.controls=z(N.selectors.controls.wrapper),Se.buttons={},Se.buttons.seek=z(N.selectors.buttons.seek),Se.buttons.play=H(N.selectors.buttons.play),Se.buttons.pause=z(N.selectors.buttons.pause),Se.buttons.restart=z(N.selectors.buttons.restart),Se.buttons.rewind=z(N.selectors.buttons.rewind),Se.buttons.forward=z(N.selectors.buttons.forward),Se.buttons.fullscreen=z(N.selectors.buttons.fullscreen),Se.buttons.mute=z(N.selectors.buttons.mute),Se.buttons.captions=z(N.selectors.buttons.captions),Se.progress={},Se.progress.container=z(N.selectors.progress.container),Se.progress.buffer={},Se.progress.buffer.bar=z(N.selectors.progress.buffer),Se.progress.buffer.text=Se.progress.buffer.bar&&Se.progress.buffer.bar.getElementsByTagName("span")[0],Se.progress.played=z(N.selectors.progress.played),Se.progress.tooltip=Se.progress.container&&Se.progress.container.querySelector("."+N.classes.tooltip),Se.volume={},Se.volume.input=z(N.selectors.volume.input),Se.volume.display=z(N.selectors.volume.display),Se.duration=z(N.selectors.duration),Se.currentTime=z(N.selectors.currentTime),Se.seekTime=H(N.selectors.seekTime),!0}catch(e){return je("It looks like there is a problem with your controls HTML"),B(!0),!1}}()&&(e&&Ce(),function(){if(g(Se.media,"timeupdate seeking",ve),g(Se.media,"timeupdate",F),g(Se.media,"durationchange loadedmetadata",ge),g(Se.media,"ended",function(){"video"===Se.type&&N.showPosterOnEnd&&("video"===Se.type&&L(),ne(),Se.media.load())}),g(Se.media,"progress playing",he),g(Se.media,"volumechange",ue),g(Se.media,"play pause ended",se),g(Se.media,"waiting canplay seeked",pe),N.clickToPlay&&"audio"!==Se.type){var e=z("."+N.classes.videoWrapper);if(!e)return;e.style.cursor="pointer",g(e,"click",function(){N.hideControls&&Se.browser.isTouch&&!Se.media.paused||(Se.media.paused?Z():Se.media.ended?(ne(),Z()):J())})}N.disableContextMenu&&g(Se.media,"contextmenu",function(e){e.preventDefault()}),g(Se.media,N.events.concat(["keyup","keydown"]).join(" "),function(e){D(Se.container,e.type,!0)})}(),B(),P(),O(),ae(),ue(),ve(),se(),ge())}function $e(){e.setTimeout(function(){D(Se.media,"ready")},0),d(Se.media,E.classes.setup,!0),d(Se.container,N.classes.ready,!0),Se.media.plyr=Ee,N.autoplay&&Z()}var Ee,Se=this,Ae={};Se.media=w;var Ne=w.cloneNode(!0),De=function(){j("log",arguments)},je=function(){j("warn",arguments)};return De("Config",N),Ee={getOriginal:function(){return Ne},getContainer:function(){return Se.container},getEmbed:function(){return Se.embed},getMedia:function(){return Se.media},getType:function(){return Se.type},getDuration:ie,getCurrentTime:function(){return Se.media.currentTime},getVolume:function(){return Se.media.volume},isMuted:function(){return Se.media.muted},isReady:function(){return p(Se.container,N.classes.ready)},isLoading:function(){return p(Se.container,N.classes.loading)},isPaused:function(){return Se.media.paused},on:function(e,t){return g(Se.container,e,t),this},play:Z,pause:J,stop:function(){J(),ne()},restart:ne,rewind:ee,forward:te,seek:ne,source:function(e){if(S.undefined(e)){var t;switch(Se.type){case"youtube":t=Se.embed.getVideoUrl();break;case"vimeo":Se.embed.getVideoUrl.then(function(e){t=e});break;case"soundcloud":Se.embed.getCurrentSound(function(e){t=e.permalink_url});break;default:t=Se.media.currentSrc}return t||""}we(e)},poster:function(e){"video"===Se.type&&Se.media.setAttribute("poster",e)},setVolume:ae,togglePlay:K,toggleMute:re,toggleCaptions:de,toggleFullscreen:oe,toggleControls:xe,isFullscreen:function(){return Se.isFullscreen||!1},support:function(e){return function(e,t){var n=e.media;if("video"===e.type)switch(t){case"video/webm":return!(!n.canPlayType||!n.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/no/,""));case"video/mp4":return!(!n.canPlayType||!n.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"').replace(/no/,""));case"video/ogg":return!(!n.canPlayType||!n.canPlayType('video/ogg; codecs="theora"').replace(/no/,""))}else if("audio"===e.type)switch(t){case"audio/mpeg":return!(!n.canPlayType||!n.canPlayType("audio/mpeg;").replace(/no/,""));case"audio/ogg":return!(!n.canPlayType||!n.canPlayType('audio/ogg; codecs="vorbis"').replace(/no/,""));case"audio/wav":return!(!n.canPlayType||!n.canPlayType('audio/wav; codecs="1"').replace(/no/,""))}return!1}(Se,e)},destroy:Te},function(){if(Se.init)return null;if(k=function(){var e={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",element:null,prefix:""},n="webkit o moz ms khtml".split(" ");if(S.undefined(t.cancelFullScreen))for(var i=0,s=n.length;i<s;i++){if(e.prefix=n[i],!S.undefined(t[e.prefix+"CancelFullScreen"])){e.supportsFullScreen=!0;break}if(!S.undefined(t.msExitFullscreen)&&t.msFullscreenEnabled){e.prefix="ms",e.supportsFullScreen=!0;break}}else e.supportsFullScreen=!0;return e.supportsFullScreen&&(e.fullScreenEventName="ms"===e.prefix?"MSFullscreenChange":e.prefix+"fullscreenchange",e.isFullScreen=function(e){switch(S.undefined(e)&&(e=t.body),this.prefix){case"":return t.fullscreenElement===e;case"moz":return t.mozFullScreenElement===e;default:return t[this.prefix+"FullscreenElement"]===e}},e.requestFullScreen=function(e){return S.undefined(e)&&(e=t.body),""===this.prefix?e.requestFullScreen():e[this.prefix+("ms"===this.prefix?"RequestFullscreen":"RequestFullScreen")]()},e.cancelFullScreen=function(){return""===this.prefix?t.cancelFullScreen():t[this.prefix+("ms"===this.prefix?"ExitFullscreen":"CancelFullScreen")]()},e.element=function(){return""===this.prefix?t.fullscreenElement:t[this.prefix+"FullscreenElement"]}),e}(),Se.browser=n(),S.htmlElement(Se.media)){!function(){var t=null;Se.storage={},A.supported&&N.storage.enabled&&(e.localStorage.removeItem("plyr-volume"),(t=e.localStorage.getItem(N.storage.key))&&(/^\d+(\.\d+)?$/.test(t)?V({volume:parseFloat(t)}):Se.storage=JSON.parse(t)))}();var i=w.tagName.toLowerCase();"div"===i?(Se.type=w.getAttribute("data-type"),Se.embedId=w.getAttribute("data-video-id"),w.removeAttribute("data-type"),w.removeAttribute("data-video-id")):(Se.type=i,N.crossorigin=null!==w.getAttribute("crossorigin"),N.autoplay=N.autoplay||null!==w.getAttribute("autoplay"),N.loop=N.loop||null!==w.getAttribute("loop")),Se.supported=C(Se.type),Se.supported.basic&&(Se.container=r(w,t.createElement("div")),Se.container.setAttribute("tabindex",0),W(),De(Se.browser.name+" "+Se.browser.version),X(),(s(N.types.html5,Se.type)||s(N.types.embed,Se.type)&&!Se.supported.full)&&(ke(),$e(),U()),Se.init=!0)}}(),Se.init?Ee:null}function _(e,n){var i=new XMLHttpRequest;if(!S.string(n)||!S.htmlElement(t.querySelector("#"+n))){var s=t.createElement("div");s.setAttribute("hidden",""),S.string(n)&&s.setAttribute("id",n),t.body.insertBefore(s,t.body.childNodes[0]),"withCredentials"in i&&(i.open("GET",e,!0),i.onload=function(){s.innerHTML=i.responseText},i.send())}}function C(e){var i=n(),s=i.isIE&&i.version<=9,o=i.isIos,r=i.isIphone,a=!!t.createElement("audio").canPlayType,l=!!t.createElement("video").canPlayType,c=!1,u=!1;switch(e){case"video":u=(c=l)&&!s&&!r;break;case"audio":u=(c=a)&&!s;break;case"vimeo":c=!0,u=!s&&!o;break;case"youtube":c=!0,u=!s&&!o,o&&!r&&i.version>=10&&(u=!0);break;case"soundcloud":c=!0,u=!s&&!r;break;default:u=(c=a&&l)&&!s}return{basic:c,full:u}}function T(e){if(S.string(e)?e=t.querySelector(e):S.undefined(e)&&(e=t.body),S.htmlElement(e)){var n=e.querySelectorAll("."+E.classes.setup),i=[];return Array.prototype.slice.call(n).forEach(function(e){S.object(e.plyr)&&i.push(e.plyr)}),i}return[]}var k,$={x:0,y:0},E={enabled:!0,debug:!1,autoplay:!1,loop:!1,seekTime:10,volume:10,volumeMin:0,volumeMax:10,volumeStep:1,duration:null,displayDuration:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/2.0.17/plyr.svg",blankUrl:"https://cdn.plyr.io/static/blank.mp4",clickToPlay:!0,hideControls:!0,showPosterOnEnd:!1,disableContextMenu:!0,keyboardShorcuts:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},selectors:{html5:"video, audio",embed:"[data-type]",editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{seek:'[data-plyr="seek"]',play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',forward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',fullscreen:'[data-plyr="fullscreen"]'},volume:{input:'[data-plyr="volume"]',display:".plyr__volume--display"},progress:{container:".plyr__progress",buffer:".plyr__progress--buffer",played:".plyr__progress--played"},captions:".plyr__captions",currentTime:".plyr__time--current",duration:".plyr__time--duration"},classes:{setup:"plyr--setup",ready:"plyr--ready",videoWrapper:"plyr__video-wrapper",embedWrapper:"plyr__video-embed",type:"plyr--{0}",stopped:"plyr--stopped",playing:"plyr--playing",muted:"plyr--muted",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback",active:"plyr--fullscreen-active"},tabFocus:"tab-focus"},captions:{defaultActive:!1},fullscreen:{enabled:!0,fallback:!0,allowAudio:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","fullscreen"],i18n:{restart:"Restart",rewind:"Rewind {seektime} secs",play:"Play",pause:"Pause",forward:"Forward {seektime} secs",played:"played",buffered:"buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",toggleMute:"Toggle Mute",toggleCaptions:"Toggle Captions",toggleFullscreen:"Toggle Fullscreen",frameTitle:"Player for {title}"},types:{embed:["youtube","vimeo","soundcloud"],html5:["video","audio"]},urls:{vimeo:{api:"https://player.vimeo.com/api/player.js"},youtube:{api:"https://www.youtube.com/iframe_api"},soundcloud:{api:"https://w.soundcloud.com/player/api.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,forward:null,mute:null,volume:null,captions:null,fullscreen:null},events:["ready","ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied"],logPrefix:"[Plyr]"},S={object:function(e){return null!==e&&"object"==typeof e},array:function(e){return null!==e&&"object"==typeof e&&e.constructor===Array},number:function(e){return null!==e&&("number"==typeof e&&!isNaN(e-0)||"object"==typeof e&&e.constructor===Number)},string:function(e){return null!==e&&("string"==typeof e||"object"==typeof e&&e.constructor===String)},boolean:function(e){return null!==e&&"boolean"==typeof e},nodeList:function(e){return null!==e&&e instanceof NodeList},htmlElement:function(e){return null!==e&&e instanceof HTMLElement},function:function(e){return null!==e&&"function"==typeof e},undefined:function(e){return null!==e&&void 0===e}},A={supported:function(){try{e.localStorage.setItem("___test","OK");var t=e.localStorage.getItem("___test");return e.localStorage.removeItem("___test"),"OK"===t}catch(e){return!1}return!1}()};return{setup:function(e,n){function i(e,t){p(t,E.classes.hook)||s.push({target:e,media:t})}var s=[],o=[],r=[E.selectors.html5,E.selectors.embed].join(",");if(S.string(e)?e=t.querySelectorAll(e):S.htmlElement(e)?e=[e]:S.nodeList(e)||S.array(e)||S.string(e)||(S.undefined(n)&&S.object(e)&&(n=e),e=t.querySelectorAll(r)),S.nodeList(e)&&(e=Array.prototype.slice.call(e)),!C().basic||!e.length)return!1;for(var a=0;a<e.length;a++){var l=e[a],c=l.querySelectorAll(r);if(c.length)for(var u=0;u<c.length;u++)i(l,c[u]);else h(l,r)&&i(l,l)}return s.forEach(function(e){var t=e.target,i=e.media,s={};try{s=JSON.parse(t.getAttribute("data-plyr"))}catch(e){}var r=x({},E,n,s);if(!r.enabled)return null;var a=new w(i,r);if(S.object(a)){if(r.debug){var l=r.events.concat(["setup","statechange","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled"]);g(a.getContainer(),l.join(" "),function(e){console.log([r.logPrefix,"event:",e.type].join(" "),e.detail.plyr)})}v(a.getContainer(),"setup",!0,{plyr:a}),o.push(a)}}),o},supported:C,loadSprite:_,get:T}}),function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)}();