vendor: 26,499 bytes, line 1
1if(!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function n(t,e){e=e||et;var n=e.createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function i(t){var e=!!t&&"length"in t&&t.length,n=pt.type(t);return"function"!==n&&!pt.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function o(t,e,n){return pt.isFunction(e)?pt.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?pt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?pt.grep(t,function(t){return at.call(e,t)>-1!==n}):St.test(e)?pt.filter(e,t,n):(e=pt.filter(e,t),pt.grep(t,function(t){return at.call(e,t)>-1!==n&&1===t.nodeType}))}function r(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function a(t){var e={};return pt.each(t.match(Et)||[],function(t,n){e[n]=!0}),e}function s(t){return t}function l(t){throw t}function u(t,e,n){var i;try{t&&pt.isFunction(i=t.promise)?i.call(t).done(e).fail(n):t&&pt.isFunction(i=t.then)?i.call(t,e,n):e.call(void 0,t)}catch(t){n.call(void 0,t)}}function c(){et.removeEventListener("DOMContentLoaded",c),t.removeEventListener("load",c),pt.ready()}function d(){this.expando=pt.expando+d.uid++}function h(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Nt.test(t)?JSON.parse(t):t)}function f(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Rt,"-$&").toLowerCase(),n=t.getAttribute(i),"string"==typeof n){try{n=h(n)}catch(t){}Lt.set(t,e,n)}else n=void 0;return n}function p(t,e,n,i){var o,r=1,a=20,s=i?function(){return i.cur()}:function(){return pt.css(t,e,"")},l=s(),u=n&&n[3]||(pt.cssNumber[e]?"":"px"),c=(pt.cssNumber[e]||"px"!==u&&+l)&&zt.exec(pt.css(t,e));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do r=r||".5",c/=r,pt.style(t,e,c+u);while(r!==(r=s()/l)&&1!==r&&--a)}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=o)),o}function g(t){var e,n=t.ownerDocument,i=t.nodeName,o=qt[i];return o?o:(e=n.body.appendChild(n.createElement(i)),o=pt.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),qt[i]=o,o)}function m(t,e){for(var n,i,o=[],r=0,a=t.length;r<a;r++)i=t[r],i.style&&(n=i.style.display,e?("none"===n&&(o[r]=Ft.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&Ht(i)&&(o[r]=g(i))):"none"!==n&&(o[r]="none",Ft.set(i,"display",n)));for(r=0;r<a;r++)null!=o[r]&&(t[r].style.display=o[r]);return t}function v(t,e){var n;return n="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&pt.nodeName(t,e)?pt.merge([t],n):n}function y(t,e){for(var n=0,i=t.length;n<i;n++)Ft.set(t[n],"globalEval",!e||Ft.get(e[n],"globalEval"))}function b(t,e,n,i,o){for(var r,a,s,l,u,c,d=e.createDocumentFragment(),h=[],f=0,p=t.length;f<p;f++)if(r=t[f],r||0===r)if("object"===pt.type(r))pt.merge(h,r.nodeType?[r]:r);else if(Qt.test(r)){for(a=a||d.appendChild(e.createElement("div")),s=(Ut.exec(r)||["",""])[1].toLowerCase(),l=Gt[s]||Gt._default,a.innerHTML=l[1]+pt.htmlPrefilter(r)+l[2],c=l[0];c--;)a=a.lastChild;pt.merge(h,a.childNodes),a=d.firstChild,a.textContent=""}else h.push(e.createTextNode(r));for(d.textContent="",f=0;r=h[f++];)if(i&&pt.inArray(r,i)>-1)o&&o.push(r);else if(u=pt.contains(r.ownerDocument,r),a=v(d.appendChild(r),"script"),u&&y(a),n)for(c=0;r=a[c++];)Yt.test(r.type||"")&&n.push(r);return d}function x(){return!0}function w(){return!1}function _(){try{return et.activeElement}catch(t){}}function k(t,e,n,i,o,r){var a,s;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(s in e)k(t,s,n,i,e[s],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),o===!1)o=w;else if(!o)return t;return 1===r&&(a=o,o=function(t){return pt().off(t),a.apply(this,arguments)},o.guid=a.guid||(a.guid=pt.guid++)),t.each(function(){pt.event.add(this,e,o,i,n)})}function S(t,e){return pt.nodeName(t,"table")&&pt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t:t}function C(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function T(t){var e=ie.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function D(t,e){var n,i,o,r,a,s,l,u;if(1===e.nodeType){if(Ft.hasData(t)&&(r=Ft.access(t),a=Ft.set(e,r),u=r.events)){delete a.handle,a.events={};for(o in u)for(n=0,i=u[o].length;n<i;n++)pt.event.add(e,o,u[o][n])}Lt.hasData(t)&&(s=Lt.access(t),l=pt.extend({},s),Lt.set(e,l))}}function A(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Vt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function M(t,e,i,o){e=ot.apply([],e);var r,a,s,l,u,c,d=0,h=t.length,f=h-1,p=e[0],g=pt.isFunction(p);if(g||h>1&&"string"==typeof p&&!ht.checkClone&&ne.test(p))return t.each(function(n){var r=t.eq(n);g&&(e[0]=p.call(this,n,r.html())),M(r,e,i,o)});if(h&&(r=b(e,t[0].ownerDocument,!1,t,o),a=r.firstChild,1===r.childNodes.length&&(r=a),a||o)){for(s=pt.map(v(r,"script"),C),l=s.length;d<h;d++)u=r,d!==f&&(u=pt.clone(u,!0,!0),l&&pt.merge(s,v(u,"script"))),i.call(t[d],u,d);if(l)for(c=s[s.length-1].ownerDocument,pt.map(s,T),d=0;d<l;d++)u=s[d],Yt.test(u.type||"")&&!Ft.access(u,"globalEval")&&pt.contains(c,u)&&(u.src?pt._evalUrl&&pt._evalUrl(u.src):n(u.textContent.replace(oe,""),c))}return t}function E(t,e,n){for(var i,o=e?pt.filter(e,t):t,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||pt.cleanData(v(i)),i.parentNode&&(n&&pt.contains(i.ownerDocument,i)&&y(v(i,"script")),i.parentNode.removeChild(i));return t}function I(t,e,n){var i,o,r,a,s=t.style;return n=n||se(t),n&&(a=n.getPropertyValue(e)||n[e],""!==a||pt.contains(t.ownerDocument,t)||(a=pt.style(t,e)),!ht.pixelMarginRight()&&ae.test(a)&&re.test(e)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r)),void 0!==a?a+"":a}function P(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function O(t){if(t in he)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=de.length;n--;)if(t=de[n]+e,t in he)return t}function $(t,e,n){var i=zt.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function F(t,e,n,i,o){var r,a=0;for(r=n===(i?"border":"content")?4:"width"===e?1:0;r<4;r+=2)"margin"===n&&(a+=pt.css(t,n+jt[r],!0,o)),i?("content"===n&&(a-=pt.css(t,"padding"+jt[r],!0,o)),"margin"!==n&&(a-=pt.css(t,"border"+jt[r]+"Width",!0,o))):(a+=pt.css(t,"padding"+jt[r],!0,o),"padding"!==n&&(a+=pt.css(t,"border"+jt[r]+"Width",!0,o)));return a}function L(t,e,n){var i,o=!0,r=se(t),a="border-box"===pt.css(t,"boxSizing",!1,r);if(t.getClientRects().length&&(i=t.getBoundingClientRect()[e]),i<=0||null==i){if(i=I(t,e,r),(i<0||null==i)&&(i=t.style[e]),ae.test(i))return i;o=a&&(ht.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+F(t,e,n||(a?"border":"content"),o,r)+"px"}function N(t,e,n,i,o){return new N.prototype.init(t,e,n,i,o)}function R(){pe&&(t.requestAnimationFrame(R),pt.fx.tick())}function W(){return t.setTimeout(function(){fe=void 0}),fe=pt.now()}function z(t,e){var n,i=0,o={height:t};for(e=e?1:0;i<4;i+=2-e)n=jt[i],o["margin"+n]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function j(t,e,n){for(var i,o=(q.tweeners[e]||[]).concat(q.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,e,t))return i}function H(t,e,n){var i,o,r,a,s,l,u,c,d="width"in e||"height"in e,h=this,f={},p=t.style,g=t.nodeType&&Ht(t),v=Ft.get(t,"fxshow");n.queue||(a=pt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,pt.queue(t,"fx").length||a.empty.fire()})}));for(i in e)if(o=e[i],ge.test(o)){if(delete e[i],r=r||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!v||void 0===v[i])continue;g=!0}f[i]=v&&v[i]||pt.style(t,i)}if(l=!pt.isEmptyObject(e),l||!pt.isEmptyObject(f)){d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=v&&v.display,null==u&&(u=Ft.get(t,"display")),c=pt.css(t,"display"),"none"===c&&(u?c=u:(m([t],!0),u=t.style.display||u,c=pt.css(t,"display"),m([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===pt.css(t,"float")&&(l||(h.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1;for(i in f)l||(v?"hidden"in v&&(g=v.hidden):v=Ft.access(t,"fxshow",{display:u}),r&&(v.hidden=!g),g&&m([t],!0),h.done(function(){g||m([t]),Ft.remove(t,"fxshow");for(i in f)pt.style(t,i,f[i])})),l=j(g?v[i]:0,i,h),i in v||(v[i]=l.start,g&&(l.end=l.start,l.start=0))}}function B(t,e){var n,i,o,r,a;for(n in t)if(i=pt.camelCase(n),o=e[i],r=t[n],pt.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),a=pt.cssHooks[i],a&&"expand"in a){r=a.expand(r),delete t[i];for(n in r)n in t||(t[n]=r[n],e[n]=o)}else e[i]=o}function q(t,e,n){var i,o,r=0,a=q.prefilters.length,s=pt.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=fe||W(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,r=1-i,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(r);return s.notifyWith(t,[u,r,n]),r<1&&l?n:(s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:pt.extend({},e),opts:pt.extend(!0,{specialEasing:{},easing:pt.easing._default},n),originalProperties:e,originalOptions:n,startTime:fe||W(),duration:n.duration,tweens:[],createTween:function(e,n){var i=pt.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for(B(c,u.opts.specialEasing);r<a;r++)if(i=q.prefilters[r].call(u,t,c,u.opts))return pt.isFunction(i.stop)&&(pt._queueHooks(u.elem,u.opts.queue).stop=pt.proxy(i.stop,i)),i;return pt.map(c,j,u),pt.isFunction(u.opts.start)&&u.opts.start.call(t,u),pt.fx.timer(pt.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function V(t){var e=t.match(Et)||[];return e.join(" ")}function U(t){return t.getAttribute&&t.getAttribute("class")||""}function Y(t,e,n,i){var o;if(pt.isArray(e))pt.each(e,function(e,o){n||Te.test(t)?i(t,o):Y(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,i)});else if(n||"object"!==pt.type(e))i(t,e);else for(o in e)Y(t+"["+o+"]",e[o],n,i)}function G(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(Et)||[];if(pt.isFunction(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Q(t,e,n,i){function o(s){var l;return r[s]=!0,pt.each(t[s]||[],function(t,s){var u=s(e,n,i);return"string"!=typeof u||a||r[u]?a?!(l=u):void 0:(e.dataTypes.unshift(u),o(u),!1)}),l}var r={},a=t===Re;return o(e.dataTypes[0])||!r["*"]&&o("*")}function X(t,e){var n,i,o=pt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&pt.extend(!0,t,i),t}function Z(t,e,n){for(var i,o,r,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),n[r]}function J(t,e,n,i){var o,r,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(r=c.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(a=u[l+" "+r]||u["* "+r],!a)for(o in u)if(s=o.split(" "),s[1]===r&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[o]:u[o]!==!0&&(r=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}function K(t){return pt.isWindow(t)?t:9===t.nodeType&&t.defaultView}var tt=[],et=t.document,nt=Object.getPrototypeOf,it=tt.slice,ot=tt.concat,rt=tt.push,at=tt.indexOf,st={},lt=st.toString,ut=st.hasOwnProperty,ct=ut.toString,dt=ct.call(Object),ht={},ft="3.1.1",pt=function(t,e){return new pt.fn.init(t,e)},gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,mt=/^-ms-/,vt=/-([a-z])/g,yt=function(t,e){return e.toUpperCase()};pt.fn=pt.prototype={jquery:ft,constructor:pt,length:0,toArray:function(){return it.call(this)},get:function(t){return null==t?it.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=pt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return pt.each(this,t)},map:function(t){return this.pushStack(pt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(it.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:rt,sort:tt.sort,splice:tt.splice},pt.extend=pt.fn.extend=function(){var t,e,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||pt.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],i=t[e],a!==i&&(u&&i&&(pt.isPlainObject(i)||(o=pt.isArray(i)))?(o?(o=!1,r=n&&pt.isArray(n)?n:[]):r=n&&pt.isPlainObject(n)?n:{},a[e]=pt.extend(u,r,i)):void 0!==i&&(a[e]=i));return a},pt.extend({expando:"jQuery"+(ft+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===pt.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=pt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==lt.call(t)||(e=nt(t))&&(n=ut.call(e,"constructor")&&e.constructor,"function"!=typeof n||ct.call(n)!==dt))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?st[lt.call(t)]||"object":typeof t},globalEval:function(t){n(t)},camelCase:function(t){return t.replace(mt,"ms-").replace(vt,yt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,o=0;if(i(t))for(n=t.length;o<n&&e.call(t[o],o,t[o])!==!1;o++);else for(o in t)if(e.call(t[o],o,t[o])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(gt,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?pt.merge(n,"string"==typeof t?[t]:t):rt.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:at.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i,o=[],r=0,a=t.length,s=!n;r<a;r++)i=!e(t[r],r),i!==s&&o.push(t[r]);return o},map:function(t,e,n){var o,r,a=0,s=[];if(i(t))for(o=t.length;a<o;a++)r=e(t[a],a,n),null!=r&&s.push(r);else for(a in t)r=e(t[a],a,n),null!=r&&s.push(r);return ot.apply([],s)},guid:1,proxy:function(t,e){var n,i,o;if("string"==typeof e&&(n=t[e],e=t,t=n),pt.isFunction(t))return i=it.call(arguments,2),o=function(){return t.apply(e||this,i.concat(it.call(arguments)))},o.guid=t.guid=t.guid||pt.guid++,o},now:Date.now,support:ht}),"function"==typeof Symbol&&(pt.fn[Symbol.iterator]=tt[Symbol.iterator]),pt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){st["[object "+e+"]"]=e.toLowerCase()});var bt=function(t){function e(t,e,n,i){var o,r,a,s,l,u,c,h=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!i&&((e?e.ownerDocument||e:j)!==O&&P(e),e=e||O,F)){if(11!==p&&(l=vt.exec(t)))if(o=l[1]){if(9===p){if(!(a=e.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(h&&(a=h.getElementById(o))&&W(e,a)&&a.id===o)return n.push(a),n}else{if(l[2])return J.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&_.getElementsByClassName&&e.getElementsByClassName)return J.apply(n,e.getElementsByClassName(o)),n}if(_.qsa&&!U[t+" "]&&(!L||!L.test(t))){if(1!==p)h=e,c=t;else if("object"!==e.nodeName.toLowerCase()){for((s=e.getAttribute("id"))?s=s.replace(wt,_t):e.setAttribute("id",s=z),u=T(t),r=u.length;r--;)u[r]="#"+s+" "+f(u[r]);c=u.join(","),h=yt.test(t)&&d(e.parentNode)||e}if(c)try{return J.apply(n,h.querySelectorAll(c)),n}catch(t){}finally{s===z&&e.removeAttribute("id")}}}return A(t.replace(st,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>k.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[z]=!0,t}function o(t){var e=O.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=n.length;i--;)k.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function u(t){return function(e){return"form"in e?e.parentNode&&e.disabled===!1?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&St(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function c(t){return i(function(e){return e=+e,i(function(n,i){for(var o,r=t([],n.length,e),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function d(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function f(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,o=e.next,r=o||i,a=n&&"parentNode"===r,s=B++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,o);return!1}:function(e,n,l){var u,c,d,h=[H,s];if(l){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||a)if(d=e[z]||(e[z]={}),c=d[e.uniqueID]||(d[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[i]||e;else{if((u=c[r])&&u[0]===H&&u[1]===s)return h[2]=u[2];if(c[r]=h,h[2]=t(e,n,l))return!0}return!1}}function g(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var o=0,r=n.length;o<r;o++)e(t,n[o],i);return i}function v(t,e,n,i,o){for(var r,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(r=t[s])&&(n&&!n(r,i,o)||(a.push(r),u&&e.push(s)));return a}function y(t,e,n,o,r,a){return o&&!o[z]&&(o=y(o)),r&&!r[z]&&(r=y(r,a)),i(function(i,a,s,l){var u,c,d,h=[],f=[],p=a.length,g=i||m(e||"*",s.nodeType?[s]:s,[]),y=!t||!i&&e?g:v(g,h,t,s,l),b=n?r||(i?t:p||o)?[]:a:y;if(n&&n(y,b,s,l),o)for(u=v(b,f),o(u,[],s,l),c=u.length;c--;)(d=u[c])&&(b[f[c]]=!(y[f[c]]=d));if(i){if(r||t){if(r){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(y[c]=d);r(null,b=[],u,l)}for(c=b.length;c--;)(d=b[c])&&(u=r?tt(i,d):h[c])>-1&&(i[u]=!(a[u]=d))}}else b=v(b===a?b.splice(p,b.length):b),r?r(null,a,b,l):J.apply(a,b)})}function b(t){for(var e,n,i,o=t.length,r=k.relative[t[0].type],a=r||k.relative[" "],s=r?1:0,l=p(function(t){return t===e},a,!0),u=p(function(t){return tt(e,t)>-1},a,!0),c=[function(t,n,i){var o=!r&&(i||n!==M)||((e=n).nodeType?l(t,n,i):u(t,n,i));return e=null,o}];s<o;s++)if(n=k.relative[t[s].type])c=[p(g(c),n)];else{if(n=k.filter[t[s].type].apply(null,t[s].matches),n[z]){for(i=++s;i<o&&!k.relative[t[i].type];i++);return y(s>1&&g(c),s>1&&f(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(st,"$1"),n,s<i&&b(t.slice(s,i)),i<o&&b(t=t.slice(i)),i<o&&f(t))}c.push(n)}return g(c)}function x(t,n){var o=n.length>0,r=t.length>0,a=function(i,a,s,l,u){var c,d,h,f=0,p="0",g=i&&[],m=[],y=M,b=i||r&&k.find.TAG("*",u),x=H+=null==y?1:Math.random()||.1,w=b.length;for(u&&(M=a===O||a||u);p!==w&&null!=(c=b[p]);p++){if(r&&c){for(d=0,a||c.ownerDocument===O||(P(c),s=!F);h=t[d++];)if(h(c,a||O,s)){l.push(c);break}u&&(H=x)}o&&((c=!h&&c)&&f--,i&&g.push(c))}if(f+=p,o&&p!==f){for(d=0;h=n[d++];)h(g,m,a,s);if(i){if(f>0)for(;p--;)g[p]||m[p]||(m[p]=X.call(l));m=v(m)}J.apply(l,m),u&&!i&&m.length>0&&f+n.length>1&&e.uniqueSort(l)}return u&&(H=x,M=y),g};return o?i(a):a}var w,_,k,S,C,T,D,A,M,E,I,P,O,$,F,L,N,R,W,z="sizzle"+1*new Date,j=t.document,H=0,B=0,q=n(),V=n(),U=n(),Y=function(t,e){return t===e&&(I=!0),0},G={}.hasOwnProperty,Q=[],X=Q.pop,Z=Q.push,J=Q.push,K=Q.slice,tt=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",nt="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ot="\\["+nt+"*("+it+")(?:"+nt+"*([*^$|!~]?=)"+nt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+it+"))|)"+nt+"*\\]",rt=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ot+")*)|.*)\\)|)",at=new RegExp(nt+"+","g"),st=new RegExp("^"+nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+nt+"+$","g"),lt=new RegExp("^"+nt+"*,"+nt+"*"),ut=new RegExp("^"+nt+"*([>+~]|"+nt+")"+nt+"*"),ct=new RegExp("="+nt+"*([^\\]'\"]*?)"+nt+"*\\]","g"),dt=new RegExp(rt),ht=new RegExp("^"+it+"$"),ft={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+nt+"*(even|odd|(([+-]|)(\\d*)n|)"+nt+"*(?:([+-]|)"+nt+"*(\\d+)|))"+nt+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+nt+"*((?:-\\d)?\\d*)"+nt+"*\\)|)(?=[^-]|$)","i")},pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\([\\da-f]{1,6}"+nt+"?|("+nt+")|.)","ig"),xt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},wt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_t=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},kt=function(){P()},St=p(function(t){return t.disabled===!0&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{J.apply(Q=K.call(j.childNodes),j.childNodes),Q[j.childNodes.length].nodeType}catch(t){J={apply:Q.length?function(t,e){Z.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}_=e.support={},C=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},P=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:j;return i!==O&&9===i.nodeType&&i.documentElement?(O=i,$=O.documentElement,F=!C(O),j!==O&&(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",kt,!1):n.attachEvent&&n.attachEvent("onunload",kt)),_.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),_.getElementsByTagName=o(function(t){return t.appendChild(O.createComment("")),!t.getElementsByTagName("*").length}),_.getElementsByClassName=mt.test(O.getElementsByClassName),_.getById=o(function(t){return $.appendChild(t).id=z,!O.getElementsByName||!O.getElementsByName(z).length}),_.getById?(k.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}},k.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&F){var n=e.getElementById(t);return n?[n]:[]}}):(k.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},k.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&F){var n,i,o,r=e.getElementById(t);if(r){if(n=r.getAttributeNode("id"),n&&n.value===t)return[r];for(o=e.getElementsByName(t),i=0;r=o[i++];)if(n=r.getAttributeNode("id"),n&&n.value===t)return[r]}return[]}}),k.find.TAG=_.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):_.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},k.find.CLASS=_.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&F)return e.getElementsByClassName(t)},N=[],L=[],(_.qsa=mt.test(O.querySelectorAll))&&(o(function(t){$.appendChild(t).innerHTML="<a id='"+z+"'></a><select id='"+z+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+nt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||L.push("\\["+nt+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+z+"-]").length||L.push("~="),t.querySelectorAll(":checked").length||L.push(":checked"),t.querySelectorAll("a#"+z+"+*").length||L.push(".#.+[+~]")}),o(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=O.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&L.push("name"+nt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),$.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),L.push(",.*:")})),(_.matchesSelector=mt.test(R=$.matches||$.webkitMatchesSelector||$.mozMatchesSelector||$.oMatchesSelector||$.msMatchesSelector))&&o(function(t){_.disconnectedMatch=R.call(t,"*"),R.call(t,"[s!='']:x"),N.push("!=",rt)}),L=L.length&&new RegExp(L.join("|")),N=N.length&&new RegExp(N.join("|")),e=mt.test($.compareDocumentPosition),W=e||mt.test($.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i))
vendor: 4,862 bytes, line 1
1)}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},Y=e?function(t,e){if(t===e)return I=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!_.sortDetached&&e.compareDocumentPosition(t)===n?t===O||t.ownerDocument===j&&W(j,t)?-1:e===O||e.ownerDocument===j&&W(j,e)?1:E?tt(E,t)-tt(E,e):0:4&n?-1:1)}:function(t,e){if(t===e)return I=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,s=[t],l=[e];if(!o||!r)return t===O?-1:e===O?1:o?-1:r?1:E?tt(E,t)-tt(E,e):0;if(o===r)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?a(s[i],l[i]):s[i]===j?-1:l[i]===j?1:0},O):O},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==O&&P(t),n=n.replace(ct,"='$1']"),_.matchesSelector&&F&&!U[n+" "]&&(!N||!N.test(n))&&(!L||!L.test(n)))try{var i=R.call(t,n);if(i||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return e(n,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&P(t),W(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&P(t);var n=k.attrHandle[e.toLowerCase()],i=n&&G.call(k.attrHandle,e.toLowerCase())?n(t,e,!F):void 0;return void 0!==i?i:_.attributes||!F?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.escape=function(t){return(t+"").replace(wt,_t)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,o=0;if(I=!_.detectDuplicates,E=!_.sortStable&&t.slice(0),t.sort(Y),I){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return E=null,t},S=e.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=S(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=S(e);return n},k=e.selectors={cacheLength:50,createPseudo:i,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&dt.test(n)&&(e=T(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+" "];return e||(e=new RegExp("(^|"+nt+")"+t+"("+nt+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(o){var r=e.attr(o,t);return null==r?"!="===n:!n||(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(at," ")+" ").indexOf(i)>-1:"|="===n&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,h,f,p,g=r!==a?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(m){if(r){for(;g;){for(h=e;h=h[g];)if(s?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(h=m,d=h[z]||(h[z]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[t]||[],f=u[0]===H&&u[1],b=f&&u[2],h=f&&m.childNodes[f];h=++f&&h&&h[g]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){c[t]=[H,f,b];break}}else if(y&&(h=e,d=h[z]||(h[z]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[t]||[],f=u[0]===H&&u[1],b=f),b===!1)for(;(h=++f&&h&&h[g]||(b=f=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&(d=h[z]||(h[z]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),c[t]=[H,b]),h!==e)););return b-=o,b===i||b%i===0&&b/i>=0}}},PSEUDO:function(t,n){var o,r=k.pseudos[t]||k.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[z]?r(n):r.length>1?(o=[t,t,"",n],k.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,o=r(t,n),a=o.length;a--;)i=tt(t,o[a]),t[i]=!(e[i]=o[a])}):function(t){return r(t,0,o)}):r}},pseudos:{not:i(function(t){var e=[],n=[],o=D(t.replace(st,"$1"));
vendor: 6,116 bytes, lines 1-2
1return o[z]?i(function(t,e,n,i){for(var r,a=o(t,null,i,[]),s=t.length;s--;)(r=a[s])&&(t[s]=!(e[s]=r))}):function(t,i,r){return e[0]=t,o(e,null,r,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(bt,xt),function(e){return(e.textContent||e.innerText||S(e)).indexOf(t)>-1}}),lang:i(function(t){return ht.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(bt,xt).toLowerCase(),function(e){var n;do if(n=F?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1; 2}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===$},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!k.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return pt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[n<0?n+e:n]}),even:c(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var i=n<0?n+e:n;--i>=0;)t.push(i);return t}),gt:c(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},k.pseudos.nth=k.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[w]=s(w);for(w in{submit:!0,reset:!0})k.pseudos[w]=l(w);return h.prototype=k.filters=k.pseudos,k.setFilters=new h,T=e.tokenize=function(t,n){var i,o,r,a,s,l,u,c=V[t+" "];if(c)return n?0:c.slice(0);for(s=t,l=[],u=k.preFilter;s;){i&&!(o=lt.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),i=!1,(o=ut.exec(s))&&(i=o.shift(),r.push({value:i,type:o[0].replace(st," ")}),s=s.slice(i.length));for(a in k.filter)!(o=ft[a].exec(s))||u[a]&&!(o=u[a](o))||(i=o.shift(),r.push({value:i,type:a,matches:o}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):V(t,l).slice(0)},D=e.compile=function(t,e){var n,i=[],o=[],r=U[t+" "];if(!r){for(e||(e=T(t)),n=e.length;n--;)r=b(e[n]),r[z]?i.push(r):o.push(r);r=U(t,x(o,i)),r.selector=t}return r},A=e.select=function(t,e,n,i){var o,r,a,s,l,u="function"==typeof t&&t,c=!i&&T(t=u.selector||t);if(n=n||[],1===c.length){if(r=c[0]=c[0].slice(0),r.length>2&&"ID"===(a=r[0]).type&&9===e.nodeType&&F&&k.relative[r[1].type]){if(e=(k.find.ID(a.matches[0].replace(bt,xt),e)||[])[0],!e)return n;u&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=ft.needsContext.test(t)?0:r.length;o--&&(a=r[o],!k.relative[s=a.type]);)if((l=k.find[s])&&(i=l(a.matches[0].replace(bt,xt),yt.test(r[0].type)&&d(e.parentNode)||e))){if(r.splice(o,1),t=i.length&&f(r),!t)return J.apply(n,i),n;break}}return(u||D(t,c))(i,e,!F,n,!e||yt.test(t)&&d(e.parentNode)||e),n},_.sortStable=z.split("").sort(Y).join("")===z,_.detectDuplicates=!!I,P(),_.sortDetached=o(function(t){return 1&t.compareDocumentPosition(O.createElement("fieldset"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),_.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||r(et,function(t,e,n){var i;if(!n)return t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);pt.find=bt,pt.expr=bt.selectors,pt.expr[":"]=pt.expr.pseudos,pt.uniqueSort=pt.unique=bt.uniqueSort,pt.text=bt.getText,pt.isXMLDoc=bt.isXML,pt.contains=bt.contains,pt.escapeSelector=bt.escape;var xt=function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&pt(t).is(n))break;i.push(t)}return i},wt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},_t=pt.expr.match.needsContext,kt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,St=/^.[^:#\[\.,]*$/;pt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?pt.find.matchesSelector(i,t)?[i]:[]:pt.find.matches(t,pt.grep(e,function(t){return 1===t.nodeType}))},pt.fn.extend({find:function(t){var e,n,i=this.length,o=this;if("string"!=typeof t)return this.pushStack(pt(t).filter(function(){for(e=0;e<i;e++)if(pt.contains(o[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)pt.find(t,o[e],n);return i>1?pt.uniqueSort(n):n},filter:function(t){return this.pushStack(o(this,t||[],!1))},not:function(t){return this.pushStack(o(this,t||[],!0))},is:function(t){return!!o(this,"string"==typeof t&&_t.test(t)?pt(t):t||[],!1).length}});var Ct,Tt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Dt=pt.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||Ct,"string"==typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Tt.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof pt?e[0]:e,pt.merge(this,pt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:et,!0)),kt.test(i[1])&&pt.isPlainObject(e))for(i in e)pt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return o=et.getElementById(i[2]),o&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):pt.isFunction(t)?void 0!==n.ready?n.ready(t):t(pt):pt.makeArray(t,this)};
vendor: 29,553 bytes, lines 2-3
2Dt.prototype=pt.fn,Ct=pt(et);var At=/^(?:parents|prev(?:Until|All))/,Mt={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(t){var e=pt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(pt.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,o=this.length,r=[],a="string"!=typeof t&&pt(t);if(!_t.test(t))for(;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&pt.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?pt.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?at.call(pt(t),this[0]):at.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(pt.uniqueSort(pt.merge(this.get(),pt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),pt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return xt(t,"parentNode")},parentsUntil:function(t,e,n){return xt(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return xt(t,"nextSibling")},prevAll:function(t){return xt(t,"previousSibling")},nextUntil:function(t,e,n){return xt(t,"nextSibling",n)},prevUntil:function(t,e,n){return xt(t,"previousSibling",n)},siblings:function(t){return wt((t.parentNode||{}).firstChild,t)},children:function(t){return wt(t.firstChild)},contents:function(t){return t.contentDocument||pt.merge([],t.childNodes)}},function(t,e){pt.fn[t]=function(n,i){var o=pt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=pt.filter(i,o)),this.length>1&&(Mt[t]||pt.uniqueSort(o),At.test(t)&&o.reverse()),this.pushStack(o)}});var Et=/[^\x20\t\r\n\f]+/g;pt.Callbacks=function(t){t="string"==typeof t?a(t):pt.extend({},t);var e,n,i,o,r=[],s=[],l=-1,u=function(){for(o=t.once,i=e=!0;s.length;l=-1)for(n=s.shift();++l<r.length;)r[l].apply(n[0],n[1])===!1&&t.stopOnFalse&&(l=r.length,n=!1);t.memory||(n=!1),e=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!e&&(l=r.length-1,s.push(n)),function e(n){pt.each(n,function(n,i){pt.isFunction(i)?t.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==pt.type(i)&&e(i)})}(arguments),n&&!e&&u()),this},remove:function(){return pt.each(arguments,function(t,e){for(var n;(n=pt.inArray(e,r,n))>-1;)r.splice(n,1),n<=l&&l--}),this},has:function(t){return t?pt.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=s=[],n||e||(r=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=n||[],n=[t,n.slice?n.slice():n],s.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},pt.extend({Deferred:function(e){var n=[["notify","progress",pt.Callbacks("memory"),pt.Callbacks("memory"),2],["resolve","done",pt.Callbacks("once memory"),pt.Callbacks("once memory"),0,"resolved"],["reject","fail",pt.Callbacks("once memory"),pt.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return pt.Deferred(function(e){pt.each(n,function(n,i){var o=pt.isFunction(t[i[4]])&&t[i[4]];r[i[1]](function(){var t=o&&o.apply(this,arguments);t&&pt.isFunction(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[i[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(e,i,o){function r(e,n,i,o){return function(){var u=this,c=arguments,d=function(){var t,d;if(!(e<a)){if(t=i.apply(u,c),t===n.promise())throw new TypeError("Thenable self-resolution");d=t&&("object"==typeof t||"function"==typeof t)&&t.then,pt.isFunction(d)?o?d.call(t,r(a,n,s,o),r(a,n,l,o)):(a++,d.call(t,r(a,n,s,o),r(a,n,l,o),r(a,n,s,n.notifyWith))):(i!==s&&(u=void 0,c=[t]),(o||n.resolveWith)(u,c))}},h=o?d:function(){try{d()}catch(t){pt.Deferred.exceptionHook&&pt.Deferred.exceptionHook(t,h.stackTrace),e+1>=a&&(i!==l&&(u=void 0,c=[t]),n.rejectWith(u,c))}};e?h():(pt.Deferred.getStackHook&&(h.stackTrace=pt.Deferred.getStackHook()),t.setTimeout(h))}}var a=0;return pt.Deferred(function(t){n[0][3].add(r(0,t,pt.isFunction(o)?o:s,t.notifyWith)),n[1][3].add(r(0,t,pt.isFunction(e)?e:s)),n[2][3].add(r(0,t,pt.isFunction(i)?i:l))}).promise()},promise:function(t){return null!=t?pt.extend(t,o):o}},r={};return pt.each(n,function(t,e){var a=e[2],s=e[5];o[e[1]]=a.add,s&&a.add(function(){i=s},n[3-t][2].disable,n[0][2].lock),a.add(e[3].fire),r[e[0]]=function(){return r[e[0]+"With"](this===r?void 0:this,arguments),this},r[e[0]+"With"]=a.fireWith}),o.promise(r),e&&e.call(r,r),r},when:function(t){var e=arguments.length,n=e,i=Array(n),o=it.call(arguments),r=pt.Deferred(),a=function(t){return function(n){i[t]=this,o[t]=arguments.length>1?it.call(arguments):n,--e||r.resolveWith(i,o)}};if(e<=1&&(u(t,r.done(a(n)).resolve,r.reject),"pending"===r.state()||pt.isFunction(o[n]&&o[n].then)))return r.then();for(;n--;)u(o[n],a(n),r.reject);return r.promise()}});var It=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;pt.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&It.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},pt.readyException=function(e){t.setTimeout(function(){throw e})};var Pt=pt.Deferred();pt.fn.ready=function(t){return Pt.then(t).catch(function(t){pt.readyException(t)}),this},pt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?pt.readyWait++:pt.ready(!0)},ready:function(t){(t===!0?--pt.readyWait:pt.isReady)||(pt.isReady=!0,t!==!0&&--pt.readyWait>0||Pt.resolveWith(et,[pt]))}}),pt.ready.then=Pt.then,"complete"===et.readyState||"loading"!==et.readyState&&!et.documentElement.doScroll?t.setTimeout(pt.ready):(et.addEventListener("DOMContentLoaded",c),t.addEventListener("load",c));var Ot=function(t,e,n,i,o,r,a){var s=0,l=t.length,u=null==n;if("object"===pt.type(n)){o=!0;for(s in n)Ot(t,e,s,n[s],!0,r,a)}else if(void 0!==i&&(o=!0,pt.isFunction(i)||(a=!0),u&&(a?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(pt(t),n)})),e))for(;s<l;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return o?t:u?e.call(t):l?e(t[0],n):r},$t=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};d.uid=1,d.prototype={cache:function(t){var e=t[this.expando];return e||(e={},$t(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,o=this.cache(t);if("string"==typeof e)o[pt.camelCase(e)]=n;else for(i in e)o[pt.camelCase(i)]=e[i];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][pt.camelCase(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){pt.isArray(e)?e=e.map(pt.camelCase):(e=pt.camelCase(e),e=e in i?[e]:e.match(Et)||[]),n=e.length;for(;n--;)delete i[e[n]]}(void 0===e||pt.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!pt.isEmptyObject(e)}};var Ft=new d,Lt=new d,Nt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Rt=/[A-Z]/g;pt.extend({hasData:function(t){return Lt.hasData(t)||Ft.hasData(t)},data:function(t,e,n){return Lt.access(t,e,n)},removeData:function(t,e){Lt.remove(t,e)},_data:function(t,e,n){return Ft.access(t,e,n)},_removeData:function(t,e){Ft.remove(t,e)}}),pt.fn.extend({data:function(t,e){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===t){if(this.length&&(o=Lt.get(r),1===r.nodeType&&!Ft.get(r,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=pt.camelCase(i.slice(5)),f(r,i,o[i])));Ft.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){Lt.set(this,t)}):Ot(this,function(e){var n;if(r&&void 0===e){if(n=Lt.get(r,t),void 0!==n)return n;if(n=f(r,t),void 0!==n)return n}else this.each(function(){Lt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Lt.remove(this,t)})}}),pt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Ft.get(t,e),n&&(!i||pt.isArray(n)?i=Ft.access(t,e,pt.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=pt.queue(t,e),i=n.length,o=n.shift(),r=pt._queueHooks(t,e),a=function(){pt.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,a,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Ft.get(t,n)||Ft.access(t,n,{empty:pt.Callbacks("once memory").add(function(){Ft.remove(t,[e+"queue",n])})})}}),pt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?pt.queue(this[0],t):void 0===e?this:this.each(function(){var n=pt.queue(this,t,e);pt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&pt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){pt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=pt.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=Ft.get(r[a],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(e)}});var Wt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,zt=new RegExp("^(?:([+-])=|)("+Wt+")([a-z%]*)$","i"),jt=["Top","Right","Bottom","Left"],Ht=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&pt.contains(t.ownerDocument,t)&&"none"===pt.css(t,"display")},Bt=function(t,e,n,i){var o,r,a={};for(r in e)a[r]=t.style[r],t.style[r]=e[r];o=n.apply(t,i||[]);for(r in e)t.style[r]=a[r];return o},qt={};pt.fn.extend({show:function(){return m(this,!0)},hide:function(){return m(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Ht(this)?pt(this).show():pt(this).hide()})}});var Vt=/^(?:checkbox|radio)$/i,Ut=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Yt=/^$|\/(?:java|ecma)script/i,Gt={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,"",""]};Gt.optgroup=Gt.option,Gt.tbody=Gt.tfoot=Gt.colgroup=Gt.caption=Gt.thead,Gt.th=Gt.td;var Qt=/<|&#?\w+;/;!function(){var t=et.createDocumentFragment(),e=t.appendChild(et.createElement("div")),n=et.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),ht.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",ht.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Xt=et.documentElement,Zt=/^key/,Jt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Kt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(t,e,n,i,o){var r,a,s,l,u,c,d,h,f,p,g,m=Ft.get(t);if(m)for(n.handler&&(r=n,n=r.handler,o=r.selector),o&&pt.find.matchesSelector(Xt,o),n.guid||(n.guid=pt.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(e){return"undefined"!=typeof pt&&pt.event.triggered!==e.type?pt.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(Et)||[""],u=e.length;u--;)s=Kt.exec(e[u])||[],f=g=s[1],p=(s[2]||"").split(".").sort(),f&&(d=pt.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=pt.event.special[f]||{},c=pt.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&pt.expr.match.needsContext.test(o),namespace:p.join(".")},r),(h=l[f])||(h=l[f]=[],h.delegateCount=0,d.setup&&d.setup.call(t,i,p,a)!==!1||t.addEventListener&&t.addEventListener(f,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,c):h.push(c),pt.event.global[f]=!0)},remove:function(t,e,n,i,o){var r,a,s,l,u,c,d,h,f,p,g,m=Ft.hasData(t)&&Ft.get(t);if(m&&(l=m.events)){for(e=(e||"").match(Et)||[""],u=e.length;u--;)if(s=Kt.exec(e[u])||[],f=g=s[1],p=(s[2]||"").split(".").sort(),f){for(d=pt.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,h=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=h.length;r--;)c=h[r],!o&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(r,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(t,c));a&&!h.length&&(d.teardown&&d.teardown.call(t,p,m.handle)!==!1||pt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)pt.event.remove(t,f+e[u],n,i,!0);pt.isEmptyObject(l)&&Ft.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,a,s=pt.event.fix(t),l=new Array(arguments.length),u=(Ft.get(this,"events")||{})[s.type]||[],c=pt.event.special[s.type]||{};for(l[0]=s,e=1;e<arguments.length;e++)l[e]=arguments[e];if(s.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,s)!==!1){for(a=pt.event.handlers.call(this,s,u),e=0;(o=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(r.namespace)||(s.handleObj=r,s.data=r.data,i=((pt.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l),void 0!==i&&(s.result=i)===!1&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,i,o,r,a,s=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||u.disabled!==!0)){for(r=[],a={},n=0;n<l;n++)i=e[n],o=i.selector+" ",void 0===a[o]&&(a[o]=i.needsContext?pt(o,this).index(u)>-1:pt.find(o,this,null,[u]).length),a[o]&&r.push(i);r.length&&s.push({elem:u,handlers:r})}return u=this,l<e.length&&s.push({elem:u,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(pt.Event.prototype,t,{enumerable:!0,configurable:!0,get:pt.isFunction(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[pt.expando]?t:new pt.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==_()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===_()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&pt.nodeName(this,"input"))return this.click(),!1},_default:function(t){return pt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},pt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},pt.Event=function(t,e){return this instanceof pt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?x:w,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&pt.extend(this,e),this.timeStamp=t&&t.timeStamp||pt.now(),void(this[pt.expando]=!0)):new pt.Event(t,e)},pt.Event.prototype={constructor:pt.Event,isDefaultPrevented:w,isPropagationStopped:w,isImmediatePropagationStopped:w,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=x,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=x,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=x,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},pt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Zt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&Jt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},pt.event.addProp),pt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){pt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,o=t.relatedTarget,r=t.handleObj;return o&&(o===i||pt.contains(i,o))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),pt.fn.extend({on:function(t,e,n,i){return k(this,t,e,n,i)},one:function(t,e,n,i){return k(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,pt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=void 0),n===!1&&(n=w),this.each(function(){pt.event.remove(this,t,n,e)})}});var te=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ee=/<script|<style|<link/i,ne=/checked\s*(?:[^=]|=\s*.checked.)/i,ie=/^true\/(.*)/,oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;pt.extend({htmlPrefilter:function(t){return t.replace(te,"<$1></$2>")},clone:function(t,e,n){var i,o,r,a,s=t.cloneNode(!0),l=pt.contains(t.ownerDocument,t);if(!(ht.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||pt.isXMLDoc(t)))for(a=v(s),r=v(t),i=0,o=r.length;i<o;i++)A(r[i],a[i]);if(e)if(n)for(r=r||v(t),a=a||v(s),i=0,o=r.length;i<o;i++)D(r[i],a[i]);else D(t,s);return a=v(s,"script"),a.length>0&&y(a,!l&&v(t,"script")),s},cleanData:function(t){for(var e,n,i,o=pt.event.special,r=0;void 0!==(n=t[r]);r++)if($t(n)){if(e=n[Ft.expando]){if(e.events)for(i in e.events)o[i]?pt.event.remove(n,i):pt.removeEvent(n,i,e.handle);n[Ft.expando]=void 0}n[Lt.expando]&&(n[Lt.expando]=void 0)}}}),pt.fn.extend({detach:function(t){return E(this,t,!0)},remove:function(t){return E(this,t)},text:function(t){return Ot(this,function(t){return void 0===t?pt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return M(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=S(this,t);e.appendChild(t)}})},prepend:function(){return M(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=S(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return M(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return M(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(pt.cleanData(v(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return pt.clone(this,t,e)})},html:function(t){return Ot(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!ee.test(t)&&!Gt[(Ut.exec(t)||["",""])[1].toLowerCase()]){t=pt.htmlPrefilter(t);try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(pt.cleanData(v(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return M(this,arguments,function(e){var n=this.parentNode;pt.inArray(this,t)<0&&(pt.cleanData(v(this)),n&&n.replaceChild(e,this))},t)}}),pt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){pt.fn[t]=function(t){for(var n,i=[],o=pt(t),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),pt(o[a])[e](n),rt.apply(i,n.get());return this.pushStack(i)}});var re=/^margin/,ae=new RegExp("^("+Wt+")(?!px)[a-z%]+$","i"),se=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)};!function(){function e(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Xt.appendChild(a);var e=t.getComputedStyle(s);n="1%"!==e.top,r="2px"===e.marginLeft,i="4px"===e.width,s.style.marginRight="50%",o="4px"===e.marginRight,Xt.removeChild(a),s=null}}var n,i,o,r,a=et.createElement("div"),s=et.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",ht.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),pt.extend(ht,{pixelPosition:function(){return e(),n},boxSizingReliable:function(){return e(),i},pixelMarginRight:function(){return e(),o},reliableMarginLeft:function(){return e(),r}}))}();var le=/^(none|table(?!-c[ea]).+)/,ue={position:"absolute",visibility:"hidden",display:"block"},ce={letterSpacing:"0",fontWeight:"400"},de=["Webkit","Moz","ms"],he=et.createElement("div").style;pt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=I(t,"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(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,a,s=pt.camelCase(e),l=t.style;return e=pt.cssProps[s]||(pt.cssProps[s]=O(s)||s),a=pt.cssHooks[e]||pt.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(o=a.get(t,!1,i))?o:l[e]:(r=typeof n,"string"===r&&(o=zt.exec(n))&&o[1]&&(n=p(t,e,o),r="number"),void(null!=n&&n===n&&("number"===r&&(n+=o&&o[3]||(pt.cssNumber[s]?"":"px")),ht.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l[e]=n))))}},css:function(t,e,n,i){var o,r,a,s=pt.camelCase(e);return e=pt.cssProps[s]||(pt.cssProps[s]=O(s)||s),a=pt.cssHooks[e]||pt.cssHooks[s],a&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=I(t,e,i)),"normal"===o&&e in ce&&(o=ce[e]),""===n||n?(r=parseFloat(o),n===!0||isFinite(r)?r||0:o):o}}),pt.each(["height","width"],function(t,e){pt.cssHooks[e]={get:function(t,n,i){if(n)return!le.test(pt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?L(t,e,i):Bt(t,ue,function(){return L(t,e,i)})},set:function(t,n,i){var o,r=i&&se(t),a=i&&F(t,e,i,"border-box"===pt.css(t,"boxSizing",!1,r),r);return a&&(o=zt.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=pt.css(t,e)),$(t,n,a)}}}),pt.cssHooks.marginLeft=P(ht.reliableMarginLeft,function(t,e){if(e)return(parseFloat(I(t,"marginLeft"))||t.getBoundingClientRect().left-Bt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),pt.each({margin:"",padding:"",border:"Width"},function(t,e){pt.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[t+jt[i]+e]=r[i]||r[i-2]||r[0];return o}},re.test(t)||(pt.cssHooks[t+e].set=$)}),pt.fn.extend({css:function(t,e){return Ot(this,function(t,e,n){var i,o,r={},a=0;if(pt.isArray(e)){for(i=se(t),o=e.length;a<o;a++)r[e[a]]=pt.css(t,e[a],!1,i);return r}return void 0!==n?pt.style(t,e,n):pt.css(t,e)},t,e,arguments.length>1)}}),pt.Tween=N,N.prototype={constructor:N,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||pt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(pt.cssNumber[n]?"":"px")},cur:function(){var t=N.propHooks[this.prop];return t&&t.get?t.get(this):N.propHooks._default.get(this)},run:function(t){var e,n=N.propHooks[this.prop];return this.options.duration?this.pos=e=pt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=pt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){pt.fx.step[t.prop]?pt.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[pt.cssProps[t.prop]]&&!pt.cssHooks[t.prop]?t.elem[t.prop]=t.now:pt.style(t.elem,t.prop,t.now+t.unit)}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},pt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},pt.fx=N.prototype.init,pt.fx.step={};var fe,pe,ge=/^(?:toggle|show|hide)$/,me=/queueHooks$/;pt.Animation=pt.extend(q,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return p(n.elem,t,zt.exec(e),n),n}]},tweener:function(t,e){pt.isFunction(t)?(e=t,t=["*"]):t=t.match(Et);for(var n,i=0,o=t.length;i<o;i++)n=t[i],q.tweeners[n]=q.tweeners[n]||[],q.tweeners[n].unshift(e)},prefilters:[H],prefilter:function(t,e){e?q.prefilters.unshift(t):q.prefilters.push(t)}}),pt.speed=function(t,e,n){var i=t&&"object"==typeof t?pt.extend({},t):{complete:n||!n&&e||pt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!pt.isFunction(e)&&e};return pt.fx.off||et.hidden?i.duration=0:"number"!=typeof i.duration&&(i.duration in pt.fx.speeds?i.duration=pt.fx.speeds[i.duration]:i.duration=pt.fx.speeds._default),null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){pt.isFunction(i.old)&&i.old.call(this),i.queue&&pt.dequeue(this,i.queue)},i},pt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Ht).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=pt.isEmptyObject(t),r=pt.speed(e,n,i),a=function(){var e=q(this,pt.extend({},t),r);(o||Ft.get(this,"finish"))&&e.stop(!0)};return a.finish=a,o||r.queue===!1?this.each(a):this.queue(r.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",r=pt.timers,a=Ft.get(this); 3if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&me.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));!e&&n||pt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=Ft.get(this),i=n[t+"queue"],o=n[t+"queueHooks"],r=pt.timers,a=i?i.length:0;for(n.finish=!0,pt.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),pt.each(["toggle","show","hide"],function(t,e){var n=pt.fn[e];pt.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(z(e,!0),t,i,o)}}),pt.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){pt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),pt.timers=[],pt.fx.tick=function(){var t,e=0,n=pt.timers;for(fe=pt.now();e<n.length;e++)t=n[e],t()||n[e]!==t||n.splice(e--,1);n.length||pt.fx.stop(),fe=void 0},pt.fx.timer=function(t){pt.timers.push(t),t()?pt.fx.start():pt.timers.pop()},pt.fx.interval=13,pt.fx.start=function(){pe||(pe=t.requestAnimationFrame?t.requestAnimationFrame(R):t.setInterval(pt.fx.tick,pt.fx.interval))},pt.fx.stop=function(){t.cancelAnimationFrame?t.cancelAnimationFrame(pe):t.clearInterval(pe),pe=null},pt.fx.speeds={slow:600,fast:200,_default:400},pt.fn.delay=function(e,n){return e=pt.fx?pt.fx.speeds[e]||e:e,n=n||"fx",this.queue(n,function(n,i){var o=t.setTimeout(n,e);i.stop=function(){t.clearTimeout(o)}})},function(){var t=et.createElement("input"),e=et.createElement("select"),n=e.appendChild(et.createElement("option"));t.type="checkbox",ht.checkOn=""!==t.value,ht.optSelected=n.selected,t=et.createElement("input"),t.value="t",t.type="radio",ht.radioValue="t"===t.value}();var ve,ye=pt.expr.attrHandle;pt.fn.extend({attr:function(t,e){return Ot(this,pt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){pt.removeAttr(this,t)})}}),pt.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof t.getAttribute?pt.prop(t,e,n):(1===r&&pt.isXMLDoc(t)||(o=pt.attrHooks[e.toLowerCase()]||(pt.expr.match.bool.test(e)?ve:void 0)),void 0!==n?null===n?void pt.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(i=o.get(t,e))?i:(i=pt.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!ht.radioValue&&"radio"===e&&pt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,o=e&&e.match(Et);if(o&&1===t.nodeType)for(;n=o[i++];)t.removeAttribute(n)}}),ve={set:function(t,e,n){return e===!1?pt.removeAttr(t,n):t.setAttribute(n,n),n}},pt.each(pt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ye[e]||pt.find.attr;
vendor: 4,726 bytes, line 3
3ye[e]=function(t,e,i){var o,r,a=e.toLowerCase();return i||(r=ye[a],ye[a]=o,o=null!=n(t,e,i)?a:null,ye[a]=r),o}});var be=/^(?:input|select|textarea|button)$/i,xe=/^(?:a|area)$/i;pt.fn.extend({prop:function(t,e){return Ot(this,pt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[pt.propFix[t]||t]})}}),pt.extend({prop:function(t,e,n){var i,o,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&pt.isXMLDoc(t)||(e=pt.propFix[e]||e,o=pt.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=pt.find.attr(t,"tabindex");return e?parseInt(e,10):be.test(t.nodeName)||xe.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ht.optSelected||(pt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),pt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pt.propFix[this.toLowerCase()]=this}),pt.fn.extend({addClass:function(t){var e,n,i,o,r,a,s,l=0;if(pt.isFunction(t))return this.each(function(e){pt(this).addClass(t.call(this,e,U(this)))});if("string"==typeof t&&t)for(e=t.match(Et)||[];n=this[l++];)if(o=U(n),i=1===n.nodeType&&" "+V(o)+" "){for(a=0;r=e[a++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s=V(i),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,o,r,a,s,l=0;if(pt.isFunction(t))return this.each(function(e){pt(this).removeClass(t.call(this,e,U(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Et)||[];n=this[l++];)if(o=U(n),i=1===n.nodeType&&" "+V(o)+" "){for(a=0;r=e[a++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");s=V(i),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):pt.isFunction(t)?this.each(function(n){pt(this).toggleClass(t.call(this,n,U(this),e),e)}):this.each(function(){var e,i,o,r;if("string"===n)for(i=0,o=pt(this),r=t.match(Et)||[];e=r[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||(e=U(this),e&&Ft.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||t===!1?"":Ft.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+V(U(n))+" ").indexOf(e)>-1)return!0;return!1}});var we=/\r/g;pt.fn.extend({val:function(t){var e,n,i,o=this[0];return arguments.length?(i=pt.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(o=i?t.call(this,n,pt(this).val()):t,null==o?o="":"number"==typeof o?o+="":pt.isArray(o)&&(o=pt.map(o,function(t){return null==t?"":t+""})),e=pt.valHooks[this.type]||pt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=pt.valHooks[o.type]||pt.valHooks[o.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(we,""):null==n?"":n)):void 0}}),pt.extend({valHooks:{option:{get:function(t){var e=pt.find.attr(t,"value");return null!=e?e:V(pt.text(t))}},select:{get:function(t){var e,n,i,o=t.options,r=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?r+1:o.length;for(i=r<0?l:a?r:0;i<l;i++)if(n=o[i],(n.selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!pt.nodeName(n.parentNode,"optgroup"))){if(e=pt(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,r=pt.makeArray(e),a=o.length;a--;)i=o[a],(i.selected=pt.inArray(pt.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),pt.each(["radio","checkbox"],function(){pt.valHooks[this]={set:function(t,e){if(pt.isArray(e))return t.checked=pt.inArray(pt(t).val(),e)>-1}},ht.checkOn||(pt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var _e=/^(?:focusinfocus|focusoutblur)$/;pt.extend(pt.event,{trigger:function(e,n,i,o){var r,a,s,l,u,c,d,h=[i||et],f=ut.call(e,"type")?e.type:e,p=ut.call(e,"namespace")?e.namespace.split("."):[];if(a=s=i=i||et,3!==i.nodeType&&8!==i.nodeType&&!_e.test(f+pt.event.triggered)&&(f.indexOf(".")>-1&&(p=f.split("."),f=p.shift(),p.sort()),u=f.indexOf(":")<0&&"on"+f,e=e[pt.expando]?e:new pt.Event(f,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:pt.makeArray(n,[e]),d=pt.event.special[f]||{}
vendor: 15,733 bytes, line 3
3,o||!d.trigger||d.trigger.apply(i,n)!==!1)){if(!o&&!d.noBubble&&!pt.isWindow(i)){for(l=d.delegateType||f,_e.test(l+f)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(i.ownerDocument||et)&&h.push(s.defaultView||s.parentWindow||t)}for(r=0;(a=h[r++])&&!e.isPropagationStopped();)e.type=r>1?l:d.bindType||f,c=(Ft.get(a,"events")||{})[e.type]&&Ft.get(a,"handle"),c&&c.apply(a,n),c=u&&a[u],c&&c.apply&&$t(a)&&(e.result=c.apply(a,n),e.result===!1&&e.preventDefault());return e.type=f,o||e.isDefaultPrevented()||d._default&&d._default.apply(h.pop(),n)!==!1||!$t(i)||u&&pt.isFunction(i[f])&&!pt.isWindow(i)&&(s=i[u],s&&(i[u]=null),pt.event.triggered=f,i[f](),pt.event.triggered=void 0,s&&(i[u]=s)),e.result}},simulate:function(t,e,n){var i=pt.extend(new pt.Event,n,{type:t,isSimulated:!0});pt.event.trigger(i,null,e)}}),pt.fn.extend({trigger:function(t,e){return this.each(function(){pt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return pt.event.trigger(t,e,n,!0)}}),pt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){pt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),pt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),ht.focusin="onfocusin"in t,ht.focusin||pt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){pt.event.simulate(e,t.target,pt.event.fix(t))};pt.event.special[e]={setup:function(){var i=this.ownerDocument||this,o=Ft.access(i,e);o||i.addEventListener(t,n,!0),Ft.access(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=Ft.access(i,e)-1;o?Ft.access(i,e,o):(i.removeEventListener(t,n,!0),Ft.remove(i,e))}}});var ke=t.location,Se=pt.now(),Ce=/\?/;pt.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||pt.error("Invalid XML: "+e),n};var Te=/\[\]$/,De=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,Me=/^(?:input|select|textarea|keygen)/i;pt.param=function(t,e){var n,i=[],o=function(t,e){var n=pt.isFunction(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(pt.isArray(t)||t.jquery&&!pt.isPlainObject(t))pt.each(t,function(){o(this.name,this.value)});else for(n in t)Y(n,t[n],e,o);return i.join("&")},pt.fn.extend({serialize:function(){return pt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=pt.prop(this,"elements");return t?pt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!pt(this).is(":disabled")&&Me.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!Vt.test(t))}).map(function(t,e){var n=pt(this).val();return null==n?null:pt.isArray(n)?pt.map(n,function(t){return{name:e.name,value:t.replace(De,"\r\n")}}):{name:e.name,value:n.replace(De,"\r\n")}}).get()}});var Ee=/%20/g,Ie=/#.*$/,Pe=/([?&])_=[^&]*/,Oe=/^(.*?):[ \t]*([^\r\n]*)$/gm,$e=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Fe=/^(?:GET|HEAD)$/,Le=/^\/\//,Ne={},Re={},We="*/".concat("*"),ze=et.createElement("a");ze.href=ke.href,pt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ke.href,type:"GET",isLocal:$e.test(ke.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":pt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?X(X(t,pt.ajaxSettings),e):X(pt.ajaxSettings,t)},ajaxPrefilter:G(Ne),ajaxTransport:G(Re),ajax:function(e,n){function i(e,n,i,s){var u,h,f,x,w,_=n;c||(c=!0,l&&t.clearTimeout(l),o=void 0,a=s||"",k.readyState=e>0?4:0,u=e>=200&&e<300||304===e,i&&(x=Z(p,k,i)),x=J(p,x,k,u),u?(p.ifModified&&(w=k.getResponseHeader("Last-Modified"),w&&(pt.lastModified[r]=w),w=k.getResponseHeader("etag"),w&&(pt.etag[r]=w)),204===e||"HEAD"===p.type?_="nocontent":304===e?_="notmodified":(_=x.state,h=x.data,f=x.error,u=!f)):(f=_,!e&&_||(_="error",e<0&&(e=0))),k.status=e,k.statusText=(n||_)+"",u?v.resolveWith(g,[h,_,k]):v.rejectWith(g,[k,_,f]),k.statusCode(b),b=void 0,d&&m.trigger(u?"ajaxSuccess":"ajaxError",[k,p,u?h:f]),y.fireWith(g,[k,_]),d&&(m.trigger("ajaxComplete",[k,p]),--pt.active||pt.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=void 0),n=n||{};var o,r,a,s,l,u,c,d,h,f,p=pt.ajaxSetup({},n),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?pt(g):pt.event,v=pt.Deferred(),y=pt.Callbacks("once memory"),b=p.statusCode||{},x={},w={},_="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Oe.exec(a);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(t,e){return null==c&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)k.always(t[k.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||_;return o&&o.abort(e),i(0,e),this}};if(v.promise(k),p.url=((e||p.url||ke.href)+"").replace(Le,ke.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Et)||[""],null==p.crossDomain){u=et.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=ze.protocol+"//"+ze.host!=u.protocol+"//"+u.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=pt.param(p.data,p.traditional)),Q(Ne,p,n,k),c)return k;d=pt.event&&p.global,d&&0===pt.active++&&pt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Fe.test(p.type),r=p.url.replace(Ie,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Ee,"+")):(f=p.url.slice(r.length),p.data&&(r+=(Ce.test(r)?"&":"?")+p.data,delete p.data),p.cache===!1&&(r=r.replace(Pe,"$1"),f=(Ce.test(r)?"&":"?")+"_="+Se++ +f),p.url=r+f),p.ifModified&&(pt.lastModified[r]&&k.setRequestHeader("If-Modified-Since",pt.lastModified[r]),pt.etag[r]&&k.setRequestHeader("If-None-Match",pt.etag[r])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+We+"; q=0.01":""):p.accepts["*"]);for(h in p.headers)k.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(p.beforeSend.call(g,k,p)===!1||c))return k.abort();if(_="abort",y.add(p.complete),k.done(p.success),k.fail(p.error),o=Q(Re,p,n,k)){if(k.readyState=1,d&&m.trigger("ajaxSend",[k,p]),c)return k;p.async&&p.timeout>0&&(l=t.setTimeout(function(){k.abort("timeout")},p.timeout));try{c=!1,o.send(x,i)}catch(t){if(c)throw t;i(-1,t)}}else i(-1,"No Transport");return k},getJSON:function(t,e,n){return pt.get(t,e,n,"json")},getScript:function(t,e){return pt.get(t,void 0,e,"script")}}),pt.each(["get","post"],function(t,e){pt[e]=function(t,n,i,o){return pt.isFunction(n)&&(o=o||i,i=n,n=void 0),pt.ajax(pt.extend({url:t,type:e,dataType:o,data:n,success:i},pt.isPlainObject(t)&&t))}}),pt._evalUrl=function(t){return pt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},pt.fn.extend({wrapAll:function(t){var e;return this[0]&&(pt.isFunction(t)&&(t=t.call(this[0])),e=pt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return pt.isFunction(t)?this.each(function(e){pt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=pt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=pt.isFunction(t);return this.each(function(n){pt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){pt(this).replaceWith(this.childNodes)}),this}}),pt.expr.pseudos.hidden=function(t){return!pt.expr.pseudos.visible(t)},pt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},pt.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var je={0:200,1223:204},He=pt.ajaxSettings.xhr();ht.cors=!!He&&"withCredentials"in He,ht.ajax=He=!!He,pt.ajaxTransport(function(e){var n,i;if(ht.cors||He&&!e.crossDomain)return{send:function(o,r){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(a in o)s.setRequestHeader(a,o[a]);n=function(t){return function(){n&&(n=i=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(je[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),i=s.onerror=n("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&t.setTimeout(function(){n&&i()})},n=n("abort");try{s.send(e.hasContent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}}),pt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),pt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return pt.globalEval(t),t}}}),pt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),pt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,o){e=pt("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),et.head.appendChild(e[0])},abort:function(){n&&n()}}}});var Be=[],qe=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Be.pop()||pt.expando+"_"+Se++;return this[t]=!0,t}}),pt.ajaxPrefilter("json jsonp",function(e,n,i){var o,r,a,s=e.jsonp!==!1&&(qe.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&qe.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=pt.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(qe,"$1"+o):e.jsonp!==!1&&(e.url+=(Ce.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||pt.error(o+" was not called"),a[0]},e.dataTypes[0]="json",r=t[o],t[o]=function(){a=arguments},i.always(function(){void 0===r?pt(t).removeProp(o):t[o]=r,e[o]&&(e.jsonpCallback=n.jsonpCallback,Be.push(o)),a&&pt.isFunction(r)&&r(a[0]),a=r=void 0}),"script"}),ht.createHTMLDocument=function(){var t=et.implementation.createHTMLDocument("").body;return t.innerHTML="<form></form><form></form>",2===t.childNodes.length}(),pt.parseHTML=function(t,e,n){if("string"!=typeof t)return[];"boolean"==typeof e&&(n=e,e=!1);var i,o,r;return e||(ht.createHTMLDocument?(e=et.implementation.createHTMLDocument(""),i=e.createElement("base"),i.href=et.location.href,e.head.appendChild(i)):e=et),o=kt.exec(t),r=!n&&[],o?[e.createElement(o[1])]:(o=b([t],e,r),r&&r.length&&pt(r).remove(),pt.merge([],o.childNodes))},pt.fn.load=function(t,e,n){var i,o,r,a=this,s=t.indexOf(" ");return s>-1&&(i=V(t.slice(s)),t=t.slice(0,s)),pt.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),a.length>0&&pt.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){r=arguments,a.html(i?pt("<div>").append(pt.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){pt.fn[e]=function(t){return this.on(e,t)}}),pt.expr.pseudos.animated=function(t){return pt.grep(pt.timers,function(e){return t===e.elem}).length},pt.offset={setOffset:function(t,e,n){var i,o,r,a,s,l,u,c=pt.css(t,"position"),d=pt(t),h={};"static"===c&&(t.style.position="relative"),s=d.offset(),r=pt.css(t,"top"),l=pt.css(t,"left"),u=("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1,u?(i=d.position(),a=i.top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),pt.isFunction(e)&&(e=e.call(t,n,pt.extend({},s))),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+o),"using"in e?e.using.call(t,h):d.css(h)}},pt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){pt.offset.setOffset(this,t,e)});var e,n,i,o,r=this[0];return r?r.getClientRects().length?(i=r.getBoundingClientRect(),i.width||i.height?(o=r.ownerDocument,n=K(o),e=o.documentElement,{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===pt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),pt.nodeName(t[0],"html")||(i=t.offset()),i={top:i.top+pt.css(t[0],"borderTopWidth",!0),left:i.left+pt.css(t[0],"borderLeftWidth",!0)}),{top:e.top-i.top-pt.css(n,"marginTop",!0),left:e.left-i.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===pt.css(t,"position");)t=t.offsetParent;return t||Xt})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;pt.fn[t]=function(i){return Ot(this,function(t,i,o){var r=K(t);return void 0===o?r?r[e]:t[i]:void(r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):t[i]=o)},t,i,arguments.length)}}),pt.each(["top","left"],function(t,e){pt.cssHooks[e]=P(ht.pixelPosition,function(t,n){if(n)return n=I(t,e),ae.test(n)?pt(t).position()[e]+"px":n})}),pt.each({Height:"height",Width:"width"},function(t,e){pt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){pt.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(o===!0||r===!0?"margin":"border");return Ot(this,function(e,n,o){var r;return pt.isWindow(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===o?pt.css(e,n,s):pt.style(e,n,o,s)},e,a?o:void 0,a)}})}),pt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),pt.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return pt});var Ve=t.jQuery,Ue=t.$;return pt.noConflict=function(e){return t.$===pt&&(t.$=Ue),e&&t.jQuery===pt&&(t.jQuery=Ve),pt},e||(t.jQuery=t.$=pt),pt}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){function e(t){return s.raw?t:encodeURIComponent(t)}function n(t){return s.raw?t:decodeURIComponent(t)}function i(t){return e(s.json?JSON.stringify(t):String(t))}
vendor: 12,845 bytes, lines 3-4
3function o(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(a," ")),s.json?JSON.parse(t):t}catch(t){}}function r(e,n){var i=s.raw?e:o(e);return t.isFunction(n)?n(i):i}var a=/\+/g,s=t.cookie=function(o,a,l){if(void 0!==a&&!t.isFunction(a)){if(l=t.extend({},s.defaults,l),"number"==typeof l.expires){var u=l.expires,c=l.expires=new Date;c.setTime(+c+864e5*u)}return document.cookie=[e(o),"=",i(a),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var d=o?void 0:{},h=document.cookie?document.cookie.split("; "):[],f=0,p=h.length;f<p;f++){var g=h[f].split("="),m=n(g.shift()),v=g.join("=");if(o&&o===m){d=r(v,a);break}o||void 0===(v=r(v))||(d[m]=v)}return d};s.defaults={},t.removeCookie=function(e,n){return void 0!==t.cookie(e)&&(t.cookie(e,"",t.extend({},n,{expires:-1})),!t.cookie(e))}}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var o=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(o,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){a.detach().trigger("closed.bs.alert").remove()}var o=t(this),r=o.attr("data-target");r||(r=o.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));var a=t("#"===r?[]:r);e&&e.preventDefault(),a.length||(a=o.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var o=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.button"),r="object"==typeof e&&e;o||i.data("bs.button",o=new n(this,r)),"toggle"==e?o.toggle():e&&o.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.7",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[o]()),setTimeout(t.proxy(function(){i[o](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target).closest(".btn");e.call(i,"toggle"),t(n.target).is('input[type="radio"], input[type="checkbox"]')||(n.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.carousel"),r=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),a="string"==typeof e?e:r.slide;o||i.data("bs.carousel",o=new n(this,r)),"number"==typeof e?o.to(e):a?o[a]():r.interval&&o.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e),i="prev"==t&&0===n||"next"==t&&n==this.$items.length-1;if(i&&!this.options.wrap)return e;var o="prev"==t?-1:1,r=(n+o)%this.$items.length;return this.$items.eq(r)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,i){var o=this.$element.find(".item.active"),r=i||this.getItemForDirection(e,o),a=this.interval,s="next"==e?"left":"right",l=this;if(r.hasClass("active"))return this.sliding=!1;var u=r[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(r)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),r[0].offsetWidth,o.addClass(s),r.addClass(s),o.one("bsTransitionEnd",function(){r.removeClass([e,s].join(" ")).addClass("active"),o.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(o.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var o=function(n){var i,o=t(this),r=t(o.attr("data-target")||(i=o.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"")); 4if(r.hasClass("carousel")){var a=t.extend({},r.data(),o.data()),s=o.attr("data-slide-to");s&&(a.interval=!1),e.call(r,a),s&&r.data("bs.carousel").to(s),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),+function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),o=n.data("bs.collapse"),r=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!o&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),o||n.data("bs.collapse",o=new i(this,r)),"string"==typeof e&&o[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(e=o.data("bs.collapse"),e&&e.transitioning))){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),e||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var 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 o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION):o.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var o=t(i);this.addAriaAndCollapsedClass(e(o),o)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var o=t(this);o.attr("data-target")||i.preventDefault();var r=e(o),a=r.data("bs.collapse"),s=a?"toggle":o.data();n.call(r,s)})}(jQuery),+function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(o).remove(),t(r).each(function(){var i=t(this),o=e(i),r={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",r)),n.isDefaultPrevented()||(i.attr("aria-expanded","fal
4se"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",r)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new a(this)),"string"==typeof e&&i[e].call(n)})}var o=".dropdown-backdrop",r='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.7",a.prototype.toggle=function(i){var o=t(this);if(!o.is(".disabled, :disabled")){var r=e(o),a=r.hasClass("open");if(n(),!a){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var s={relatedTarget:this};if(r.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},a.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var o=e(i),a=o.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&o.find(r).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=o.find(".dropdown-menu"+s);if(l.length){var u=l.index(n.target);38==n.which&&u>0&&u--,40==n.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=a,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,a.prototype.toggle).on("keydown.bs.dropdown.data-api",r,a.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",a.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,i){return this.each(function(){var o=t(this),r=o.data("bs.modal"),a=t.extend({},n.DEFAULTS,o.data(),"object"==typeof e&&e);r||o.data("bs.modal",r=new n(this,a)),"string"==typeof e?r[e](i):a.show&&r.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,o=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),o&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});o?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(r)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
4down.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&o;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),o=i.attr("href"),r=t(i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),a=r.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},r.data(),i.data());i.is("a")&&n.preventDefault(),r.one("show.bs.modal",function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(r,a,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.tooltip"),r="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||i.data("bs.tooltip",o=new n(this,r)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var a=o[r];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focu
4s":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue())return clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var o=this,r=this.tip(),a=this.getUID(this.type);this.setContent(),r.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&r.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(s);u&&(s=s.replace(l,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),d=r[0].offsetWidth,h=r[0].offsetHeight;if(u){var f=s,p=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+h>p.bottom?"top":"top"==s&&c.top-h<p.top?"bottom":"right"==s&&c.right+d>p.width?"left":"left"==s&&c.left-d<p.left?"right":s,r.removeClass(f).addClass(s)}var g=this.getCalculatedOffset(s,c,d,h);this.applyPlacement(g,s);var m=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",m).emulateTransitionEnd(n.TRANSITION_DURATION):m()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),o=i[0].offsetWidth,r=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),e.top+=a,e.left+=s,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=r&&(e.top=e.top+r-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var d=/top|bottom/.test(n),h=d?2*c.left-o+l:2*c.top-r+u,f=d?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][f],d)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=o.hoverState&&r.detach(),o.$element&&o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),e&&e()}var o=this,r=t(this.$tip),a=t.Event("hide.bs."+this.type);if(this.$element.trigger(a),!a.isDefaultPrevented())return r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var r=window.SVGElement&&n instanceof window.SVGElement,a=i?{top:0,left:0}:r?null:e.offset(),s={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,s,l,a)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-r-a.scroll,l=e.top+r-a.scroll+i;s<a.top?o.top=a.top-s:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var u=e.left-r,c=e.left+r+n;
vendor: 10,168 bytes, line 4
4u<a.left?o.left=a.left-u:c>a.right&&(o.left=a.left+a.width-c)}return o},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.popover"),r="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||i.data("bs.popover",o=new n(this,r)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.7",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),+function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),o=i.data("bs.scrollspy"),r="object"==typeof n&&n;o||i.data("bs.scrollspy",o=new e(this,r)),"string"==typeof n&&o[n]()})}e.VERSION="3.3.7",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),o=e.data("target")||e.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[n]().top+i,o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,r=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return a!=(t=r[r.length-1])&&this.activate(t);if(a&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)a!=r[t]&&e>=o[t]&&(void 0===o[t+1]||e<o[t+1])&&this.activate(r[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.tab");o||i.data("bs.tab",o=new n(this)),"string"==typeof e&&o[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=n.find(".active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(r),e.trigger(a),!a.isDefaultPrevented()&&!r.isDefaultPrevented()){var s=t(i);this.activate(e.closest("li"),n),this.activate(s,s.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},n.prototype.activate=function(e,i,o){function r(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var a=i.find("> .active"),s=o&&t.support.transition&&(a.length&&a.hasClass("fade")||!!i.find("> .fade").length);a.length&&s?a.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r(),a.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var o=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof e&&e;o||i.data("bs.affix",o=new n(this,r)),"string"==typeof e&&o[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.7",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return o<n&&"top";if("bottom"==this.affixed)return null!=n?!(o+this.unpin<=r.top)&&"bottom":!(o+a<=t-i)&&"bottom";var s=null==this.affixed,l=s?o:r.top,u=s?a:e;return null!=n&&o<=n?"top":null!=i&&l+u>=t-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,o=i.top,r=i.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var s=this.getState(a,e,o,r);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-e-r})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),!function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,function(t){!function(t){"use strict";function e(e){var n=[{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"}
4,{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"}];return t.each(n,function(){e=e?e.replace(this.re,this.ch):""}),e}function n(e){var n=arguments,i=e;[].shift.apply(n);var o,r=this.each(function(){var e=t(this);if(e.is("select")){var r=e.data("selectpicker"),a="object"==typeof i&&i;if(r){if(a)for(var s in a)a.hasOwnProperty(s)&&(r.options[s]=a[s])}else{var l=t.extend({},c.DEFAULTS,t.fn.selectpicker.defaults||{},e.data(),a);l.template=t.extend({},c.DEFAULTS.template,t.fn.selectpicker.defaults?t.fn.selectpicker.defaults.template:{},e.data().template,a.template),e.data("selectpicker",r=new c(this,l))}"string"==typeof i&&(o=r[i]instanceof Function?r[i].apply(r,n):r.options[i])}});return"undefined"!=typeof o?o:r}String.prototype.includes||!function(){var t={}.toString,e=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(t){}return n}(),n="".indexOf,i=function(e){if(null==this)throw new TypeError;var i=String(this);if(e&&"[object RegExp]"==t.call(e))throw new TypeError;var o=i.length,r=String(e),a=r.length,s=arguments.length>1?arguments[1]:void 0,l=s?Number(s):0;l!=l&&(l=0);var u=Math.min(Math.max(l,0),o);return!(a+u>o)&&n.call(i,r,l)!=-1};e?e(String.prototype,"includes",{value:i,configurable:!0,writable:!0}):String.prototype.includes=i}(),String.prototype.startsWith||!function(){var t=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(t){}return n}(),e={}.toString,n=function(t){if(null==this)throw new TypeError;var n=String(this);if(t&&"[object RegExp]"==e.call(t))throw new TypeError;var i=n.length,o=String(t),r=o.length,a=arguments.length>1?arguments[1]:void 0,s=a?Number(a):0;s!=s&&(s=0);var l=Math.min(Math.max(s,0),i);if(r+l>i)return!1;for(var u=-1;++u<r;)if(n.charCodeAt(l+u)!=o.charCodeAt(u))return!1;return!0};t?t(String.prototype,"startsWith",{value:n,configurable:!0,writable:!0}):String.prototype.startsWith=n}(),Object.keys||(Object.keys=function(t,e,n){n=[];for(e in t)n.hasOwnProperty.call(t,e)&&n.push(e);return n});var i={useDefault:!1,_set:t.valHooks.select.set};t.valHooks.select.set=function(e,n){return n&&!i.useDefault&&t(e).data("selected",!0),i._set.apply(this,arguments); 5};var o=null;t.fn.triggerNative=function(t){var e,n=this[0];n.dispatchEvent?("function"==typeof Event?e=new Event(t,{bubbles:!0}):(e=document.createEvent("Event"),e.initEvent(t,!0,!1)),n.dispatchEvent(e)):n.fireEvent?(e=document.createEventObject(),e.eventType=t,n.fireEvent("on"+t,e)):this.trigger(t)},t.expr.pseudos.icontains=function(e,n,i){var o=t(e),r=(o.data("tokens")||o.text()).toString().toUpperCase();return r.includes(i[3].toUpperCase())},t.expr.pseudos.ibegins=function(e,n,i){var o=t(e),r=(o.data("tokens")||o.text()).toString().toUpperCase();return r.startsWith(i[3].toUpperCase())},t.expr.pseudos.aicontains=function(e,n,i){var o=t(e),r=(o.data("tokens")||o.data("normalizedText")||o.text()).toString().toUpperCase();return r.includes(i[3].toUpperCase())},t.expr.pseudos.aibegins=function(e,n,i){var o=t(e),r=(o.data("tokens")||o.data("normalizedText")||o.text()).toString().toUpperCase();return r.startsWith(i[3].toUpperCase())};var r={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},a={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},s=function(t){var e=function(e){return t[e]},n="(?:"+Object.keys(t).join("|")+")",i=RegExp(n),o=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(o,e):t}},l=s(r),u=s(a),c=function(e,n){i.useDefault||(t.valHooks.select.set=i._set,i.useDefault=!0),this.$element=t(e),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 o=this.options.windowPadding;"number"==typeof o&&(this.options.windowPadding=[o,o,o,o]),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.1",c.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(t,e){return 1==t?"{0} item selected":"{0} items selected"},maxOptionsText:function(t,e){return[1==t?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==e?"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 e=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"),this.options.dropdownAlignRight===!0&&this.$menu.addClass("dropdown-menu-right"),"undefined"!=typeof n&&(this.$button.attr("data-id",n),t('label[for="'+n+'"]').click(function(t){t.preventDefault(),e.$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(t){e.$menuInner.attr("aria-expanded",!1),e.$element.trigger("hide.bs.select",t)},"hidden.bs.dropdown":function(t){e.$element.trigger("hidden.bs.select",t)},"show.bs.dropdown":function(t){e.$menuInner.attr("aria-expanded",!0),e.$element.trigger("show.bs.select",t)},"shown.bs.dropdown":function(t){e.$element.trigger("shown.bs.select",t)}}),e.$element[0].hasAttribute("required")&&this.$element.on("invalid",function(){e.$button.addClass("bs-invalid").focus(),e.$element.on({"focus.bs.select":function(){e.$button.focus(),e.$element.off("focus.bs.select")},"shown.bs.select":function(){e.$element.val(e.$element.val()).off("shown.bs.select")},"rendered.bs.select":function(){this.validity.valid&&e.$button.removeClass("bs-invalid"),e.$element.off("rendered.bs.select")}})}),setTimeout(function(){e.$element.trigger("loaded.bs.select")})},createDropdown:function(){var e=this.multiple||this.options.showTick?" show-tick":"",n=this.$element.parent().hasClass("input-group")?" input-group-btn":"",i=this.autofocus?" autofocus":"",o=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">×</button>'+this.options.header+"</div>":"",r=this.options.liveSearch?'<div class="bs-searchbox"><input type="text" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+l(this.options.liveSearchPlaceholder)+'"')+' role="textbox" aria-label="Search"></div>':"",a=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>":"",s=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>":"",u='<div class="btn-group bootstrap-select'+e+n+'"><button type="button" class="'+this.options.styleBase+' dropdown-toggle" data-toggle="dropdown"'+i+' role="button"><span class="filter-option pull-left"></span> <span class="bs-caret">'+this.options.template.caret+'</span></button><div class="dropdown-menu open" role="combobox">'+o+r+a+'<ul class="dropdown-menu inner" role="listbox" aria-expanded="false"></ul>'+s+"</div></div>";return t(u)},createView:function(){var t=this.createDropdown(),e=this.createLi();return t.find("ul")[0].innerHTML=e,t},reloadLi:function(){var t=this.createLi();this.$menuInner[0].innerHTML=t},createLi:function(){var n=this,i=[],o=0,r=document.createElement("option"),a=-1,s=function(t,e,n,i){return"<li"+("undefined"!=typeof n&""!==n?' class="'+n+'"':"")+("undefined"!=typeof e&null!==e?' data-original-index="'+e+'"':"")+("undefined"!=typeof i&null!==i?'data-optgroup="'+i+'"':"")+">"+t+"</li>"},u=function(i,o,r,a){return'<a tabindex="0"'+("undefined"!=typeof o?' class="'+o+'"':"")+(r?' style="'+r+'"':"")+(n.options.liveSearchNormalize?' data-normalized-text="'+e(l(t(i).html()))+'"':"")+("undefined"!=typeof a||null!==a?' data-tokens="'+a+'"':"")+' role="option">'+i+'<span class="'+n.options.iconBase+" "+n.options.tickIcon+' check-mark"></span></a>'};if(this.options.title&&!this.multiple&&(a--,!this.$element.find(".bs-title-option").length)){var c=this.$element[0];r.className="bs-title-option",r.innerHTML=this.options.title,r.value="",c.insertBefore(r,c.firstChild);var d=t(c.options[c.selectedIndex]);void 0===d.attr("selected")&&void 0===this.$element.data("selected")&&(r.selected=!0)}return this.$element.find("option").each(function(e){var r=t(this);if(a++,!r.hasClass("bs-title-option")){var c=this.className||"",d=this.style.cssText,h=r.data("content")?r.data("content"):r.html(),f=r.data("tokens")?r.data("tokens"):null,p="undefined"!=typeof r.data("subtext")?'<small class="text-muted">'+r.data("subtext")+"</small>":"",g="undefined"!=typeof r.data("icon")?'<span class="'+n.options.iconBase+" "+r.data("icon")+'"></span> ':"",m=r.parent(),v="OPTGROUP"===m[0].tagName,y=v&&m[0].disabled,b=this.disabled||y;if(""!==g&&b&&(g="<span>"+g+"</span>"),n.options.hideDisabled&&(b&&!v||y))return void a--;if(r.data("content")||(h=g+'<span class="text">'+h+p+"</span>"),v&&r.data("divider")!==!0){if(n.options.hideDisabled&&b){if(void 0===m.data("allOptionsDisabled")){var x=m.children();m.data("allOptionsDisabled",x.filter(":disabled").length===x.length)}if(m.data("allOptionsDisabled"))return void a--}var w=" "+m[0].className||"";if(0===r.index()){o+=1;var _=m[0].label,k="undefined"!=typeof m.data("subtext")?'<small class="text-muted">'+m.data("subtext")+"</small>":"",S=m.data("icon")?'<span class="'+n.options.iconBase+" "+m.data("icon")+'"></span> ':"";_=S+'<span class="text">'+l(_)+k+"</span>",0!==e&&i.length>0&&(a++,i.push(s("",null,"divider",o+"div"))),a++,i.push(s(_,null,"dropdown-header"+w,o))}if(n.options.hideDisabled&&b)return void a--;i.push(s(u(h,"opt "+c+w,d,f),e,"",o))}else if(r.data("divider")===!0)i.push(s("",e,"divider"));else if(r.data("hidden")===!0)i.push(s(u(h,c,d,f),e,"hidden is-hidden"));else{var C=this.previousElementSibling&&"OPTGROUP"===this.previousElementSibling.tagName;if(!C&&n.options.hideDisabled)for(var T=t(this).prevAll(),D=0;D<T.length;D++)if("OPTGROUP"===T[D].tagName){for(var A=0,M=0;M<D;M++){var E=T[M];(E.disabled||t(E).data("hidden")===!0)&&A++}A===D&&(C=!0);break}C&&(a++,i.push(s("",null,"divider",o+"div"))),i.push(s(u(h,c,d,f),e))}n.liObj[e]=a}}),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(e){var n,i=this;e!==!1&&this.$element.find("option").each(function(t){var e=i.findLis().eq(i.liObj[t]);i.setDisabled(t,this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled,e),i.setSelected(t,this.selected,e)}),this.togglePlaceholder(),this.tabIndex();var o=this.$element.find("option").map(function(){if(this.selected){if(i.options.hideDisabled&&(this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled))return;var e,n=t(this),o=n.data("icon")&&i.options.showIcon?'<i class="'+i.options.iconBase+" "+n.data("icon")+'"></i> ':"";return e=i.options.showSubtext&&n.data("subtext")&&!i.multiple?' <small class="text-muted">'+n.data("subtext")+"</small>":"","undefined"!=typeof n.attr("title")?n.attr("title"):n.data("c
5ontent")&&i.options.showContent?n.data("content").toString():o+n.html()+e}}).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 s=this.$element.find("option").not('[data-divider="true"], [data-hidden="true"]'+n).length,l="function"==typeof this.options.countSelectedText?this.options.countSelectedText(o.length,s):this.options.countSelectedText;r=l.replace("{0}",o.length.toString()).replace("{1}",s.toString())}}void 0==this.options.title&&(this.options.title=this.$element.attr("title")),"static"==this.options.selectedTextFormat&&(r=this.options.title),r||(r="undefined"!=typeof this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",u(t.trim(r.replace(/<[^>]*>?/g,"")))),this.$button.children(".filter-option").html(r),this.$element.trigger("rendered.bs.select")},setStyle:function(t,e){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));var n=t?t:this.options.style;"add"==e?this.$button.addClass(n):"remove"==e?this.$button.removeClass(n):(this.$button.removeClass(this.options.style),this.$button.addClass(n))},liHeight:function(e){if(e||this.options.size!==!1&&!this.sizeInfo){var n=document.createElement("div"),i=document.createElement("div"),o=document.createElement("ul"),r=document.createElement("li"),a=document.createElement("li"),s=document.createElement("a"),l=document.createElement("span"),u=this.options.header&&this.$menu.find(".popover-title").length>0?this.$menu.find(".popover-title")[0].cloneNode(!0):null,c=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,h=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",o.className="dropdown-menu inner",r.className="divider",l.appendChild(document.createTextNode("Inner text")),s.appendChild(l),a.appendChild(s),o.appendChild(a),o.appendChild(r),u&&i.appendChild(u),c){var f=document.createElement("span");c.className="bs-searchbox",f.className="form-control",c.appendChild(f),i.appendChild(c)}d&&i.appendChild(d),i.appendChild(o),h&&i.appendChild(h),n.appendChild(i),document.body.appendChild(n);var p=s.offsetHeight,g=u?u.offsetHeight:0,m=c?c.offsetHeight:0,v=d?d.offsetHeight:0,y=h?h.offsetHeight:0,b=t(r).outerHeight(!0),x="function"==typeof getComputedStyle&&getComputedStyle(i),w=x?null:t(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"))},k={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:p,headerHeight:g,searchHeight:m,actionsHeight:v,doneButtonHeight:y,dividerHeight:b,menuPadding:_,menuExtras:k}}},setSize:function(){if(this.findLis(),this.liHeight(),this.options.header&&this.$menu.css("padding-top",0),this.options.size!==!1){var e,n,i,o,r,a,s,l,u=this,c=this.$menu,d=this.$menuInner,h=t(window),f=this.$newElement[0].offsetHeight,p=this.$newElement[0].offsetWidth,g=this.sizeInfo.liHeight,m=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,k=this.options.hideDisabled?".disabled":"",
5S=function(){var e,n=u.$newElement.offset(),i=t(u.options.container);u.options.container&&!i.is("body")?(e=i.offset(),e.top+=parseInt(i.css("borderTopWidth")),e.left+=parseInt(i.css("borderLeftWidth"))):e={top:0,left:0};var o=u.options.windowPadding;r=n.top-e.top-h.scrollTop(),a=h.height()-r-f-e.top-o[2],s=n.left-e.left-h.scrollLeft(),l=h.width()-s-p-e.left-o[1],r-=o[0],s-=o[3]};if(S(),"auto"===this.options.size){var C=function(){var h,f=function(e,n){return function(i){return n?i.classList?i.classList.contains(e):t(i).hasClass(e):!(i.classList?i.classList.contains(e):t(i).hasClass(e))}},x=u.$menuInner[0].getElementsByTagName("li"),k=Array.prototype.filter?Array.prototype.filter.call(x,f("hidden",!1)):u.$lis.not(".hidden"),C=Array.prototype.filter?Array.prototype.filter.call(k,f("dropdown-header",!0)):k.filter(".dropdown-header");S(),e=a-_.vert,n=l-_.horiz,u.options.container?(c.data("height")||c.data("height",c.height()),i=c.data("height"),c.data("width")||c.data("width",c.width()),o=c.data("width")):(i=c.height(),o=c.width()),u.options.dropupAuto&&u.$newElement.toggleClass("dropup",r>a&&e-_.vert<i),u.$newElement.hasClass("dropup")&&(e=r-_.vert),"auto"===u.options.dropdownAlignRight&&c.toggleClass("dropdown-menu-right",s>l&&n-_.horiz<o-p),h=k.length+C.length>3?3*g+_.vert-2:0,c.css({"max-height":e+"px",overflow:"hidden","min-height":h+m+v+y+b+"px"}),d.css({"max-height":e-m-v-y-b-w.vert+"px","overflow-y":"auto","min-height":Math.max(h-w.vert,0)+"px"})};C(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",C),h.off("resize.getSize scroll.getSize").on("resize.getSize scroll.getSize",C)}else if(this.options.size&&"auto"!=this.options.size&&this.$lis.not(k).length>this.options.size){var T=this.$lis.not(".divider").not(k).children().slice(0,this.options.size).last().parent().index(),D=this.$lis.slice(0,T+1).filter(".divider").length;e=g*this.options.size+D*x+w.vert,u.options.container?(c.data("height")||c.data("height",c.height()),i=c.data("height")):i=c.height(),u.options.dropupAuto&&this.$newElement.toggleClass("dropup",r>a&&e-_.vert<i),c.css({"max-height":e+m+v+y+b+"px",overflow:"hidden","min-height":""}),d.css({"max-height":e-w.vert+"px","overflow-y":"auto","min-height":""})}}},setWidth:function(){if("auto"===this.options.width){this.$menu.css("min-width","0");var t=this.$menu.parent().clone().appendTo("body"),e=this.options.container?this.$newElement.clone().appendTo("body"):t,n=t.children(".dropdown-menu").outerWidth(),i=e.css("width","auto").children("button").outerWidth();t.remove(),e.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=t('<div class="bs-container" />');var e,n,i,o=this,r=t(this.options.container),a=function(t){o.$bsContainer.addClass(t.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass("dropup",t.hasClass("dropup")),e=t.offset(),r.is("body")?n={top:0,left:0}:(n=r.offset(),n.top+=parseInt(r.css("borderTopWidth"))-r.scrollTop(),n.left+=parseInt(r.css("borderLeftWidth"))-r.scrollLeft()),i=t.hasClass("dropup")?0:t[0].offsetHeight,o.$bsContainer.css({top:e.top-n.top+i,left:e.left-n.left,width:t[0].offsetWidth})};this.$button.on("click",function(){var e=t(this);o.isDisabled()||(a(o.$newElement),o.$bsContainer.appendTo(o.options.container).toggleClass("open",!e.hasClass("open")).append(o.$menu))}),t(window).on("resize scroll",function(){a(o.$newElement)}),this.$element.on("hide.bs.select",function(){o.$menu.data("height",o.$menu.height()),o.$bsContainer.detach()})},setSelected:function(t,e,n){n||(this.togglePlaceholder(),n=this.findLis().eq(this.liObj[t])),n.toggleClass("selected",e).find("a").attr("aria-selected",e)},setDisabled:function(t,e,n){n||(n=this.findLis().eq(this.liObj[t])),e?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 t=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)),this.$button.attr("tabindex")!=-1||this.$element.data("tabindex")||this.$button.removeAttr("tabindex")),this.$button.click(function(){return!t.isDisabled()})},togglePlaceholder:function(){var t=this.$element.val();this.$button.toggleClass("bs-placeholder",null===t||""===t||t.constructor===Array&&0===t.length)},tabIndex:function(){this.$element.data("tabindex")!==this.$element.attr("tabindex")&&this.$element.attr("tabindex")!==-98&&"-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 e=this,n=t(document);n.data("spaceSelect",!1),this.$button.on("keyup",function(t){/(32)/.test(t.keyCode.toString(10))&&n.data("spaceSelect")&&(t.preventDefault(),n.data("spaceSelect",!1))}),this.$button.on("click",function(){e.setSize()}),this.$element.on("shown.bs.select",function(){if(e.options.liveSearch||e.multiple){if(!e.multiple){var t=e.liObj[e.$element[0].selectedIndex];if("number"!=typeof t||e.options.size===!1)return;var n=e.$lis.eq(t)[0].offsetTop-e.$menuInner[0].offsetTop;n=n-e.$menuInner[0].offsetHeight/2+e.sizeInfo.liHeight/2,e.$menuInner[0].scrollTop=n}}else e.$menuInner.find(".selected a").focus()}),this.$menuInner.on("click","li a",function(n){var i=t(this),r=i.parent().data("originalIndex"),a=e.$element.val(),s=e.$element.prop("selectedIndex"),l=!0;if(e.multiple&&1!==e.options.maxOptions&&n.stopPropagation(),n.preventDefault(),!e.isDisabled()&&!i.parent().hasClass("disabled")){var u=e.$element.find("option"),c=u.eq(r),d=c.prop("selected"),h=c.parent("optgroup"),f=e.options.maxOptions,p=h.data("maxOptions")||!1;if(e.multiple){if(c.prop("selected",!d),e.setSelected(r,!d),i.blur(),f!==!1||p!==!1){var g=f<u.filter(":selected").length,m=p<h.find("option:selected").length;if(f&&g||p&&m)if(f&&1==f)u.prop("selected",!1),c.prop("selected",!0),e.$menuInner.find(".selected").removeClass("selected"),e.setSelected(r,!0);else if(p&&1==p){h.find("option:selected").prop("selected",!1),c.prop("selected",!0);var v=i.parent().data("optgroup");e.$menuInner.find('[data-optgroup="'+v+'"]').removeClass("selected"),e.setSelected(r,!0)}
5else{var y="string"==typeof e.options.maxOptionsText?[e.options.maxOptionsText,e.options.maxOptionsText]:e.options.maxOptionsText,b="function"==typeof y?y(f,p):y,x=b[0].replace("{n}",f),w=b[1].replace("{n}",p),_=t('<div class="notify"></div>');b[2]&&(x=x.replace("{var}",b[2][f>1?0:1]),w=w.replace("{var}",b[2][p>1?0:1])),c.prop("selected",!1),e.$menu.append(_),f&&g&&(_.append(t("<div>"+x+"</div>")),l=!1,e.$element.trigger("maxReached.bs.select")),p&&m&&(_.append(t("<div>"+w+"</div>")),l=!1,e.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){e.setSelected(r,!1)},10),_.delay(750).fadeOut(300,function(){t(this).remove()})}}}else u.prop("selected",!1),c.prop("selected",!0),e.$menuInner.find(".selected").removeClass("selected").find("a").attr("aria-selected",!1),e.setSelected(r,!0);!e.multiple||e.multiple&&1===e.options.maxOptions?e.$button.focus():e.options.liveSearch&&e.$searchbox.focus(),l&&(a!=e.$element.val()&&e.multiple||s!=e.$element.prop("selectedIndex")&&!e.multiple)&&(o=[r,c.prop("selected"),d],e.$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(),e.options.liveSearch&&!t(n.target).hasClass("close")?e.$searchbox.focus():e.$button.focus())}),this.$menuInner.on("click",".divider, .dropdown-header",function(t){t.preventDefault(),t.stopPropagation(),e.options.liveSearch?e.$searchbox.focus():e.$button.focus()}),this.$menu.on("click",".popover-title .close",function(){e.$button.click()}),this.$searchbox.on("click",function(t){t.stopPropagation()}),this.$menu.on("click",".actions-btn",function(n){e.options.liveSearch?e.$searchbox.focus():e.$button.focus(),n.preventDefault(),n.stopPropagation(),t(this).hasClass("bs-select-all")?e.selectAll():e.deselectAll()}),this.$element.change(function(){e.render(!1),e.$element.trigger("changed.bs.select",o),o=null})},liveSearchListener:function(){var n=this,i=t('<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(t){t.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 o,r=n.$lis.not(".is-hidden, .divider, .dropdown-header");if(o=n.options.liveSearchNormalize?r.not(":a"+n._searchStyle()+'("'+e(n.$searchbox.val())+'")'):r.not(":"+n._searchStyle()+'("'+n.$searchbox.val()+'")'),o.length===r.length)i.html(n.options.noneResultsText.replace("{0}",'"'+l(n.$searchbox.val())+'"')),n.$menuInner.append(i),n.$lis.addClass("hidden");else{o.addClass("hidden");var a,s=n.$lis.not(".hidden");s.each(function(e){var n=t(this);n.hasClass("divider")?void 0===a?n.addClass("hidden"):(a&&a.addClass("hidden"),a=n):n.hasClass("dropdown-header")&&s.eq(e+1).data("optgroup")!==n.data("optgroup")?n.addClass("hidden"):a=null}),a&&a.addClass("hidden"),r.not(".hidden").first().addClass("active")}}})},_searchStyle:function(){var t={begins:"ibegins",startsWith:"ibegins"};return t[this.options.liveSearchStyle]||"icontains"},val:function(t){return"undefined"!=typeof t?(this.$element.val(t),this.render(),this.$element):this.$element.val()},changeAll:function(e){if(this.multiple){"undefined"==typeof e&&(e=!0),this.findLis();var n=this.$element.find("option"),i=this.$lis.not(".divider, .dropdown-header, .disabled, .hidden"),o=i.length,r=[];if(e){if(i.filter(".selected").length===i.length)return}else if(0===i.filter(".selected").length)return;i.toggleClass("selected",e);for(var a=0;a<o;a++){var s=i[a].getAttribute("data-original-index");r[r.length]=n.eq(s)[0]}t(r).prop("selected",e),this.render(!1),this.togglePlaceholder(),this.$element.triggerNative("change")}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(t){t=t||window.event,t&&t.stopPropagation(),this.$button.trigger("click")},keydown:function(n){var i,o,r,a,s,l,u,c,d,h=t(this),f=h.is("input")?h.parent().parent():h.parent(),p=f.data("this"),g=":not(.disabled, .hidden, .dropdown-header, .divider)",m={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(p.options.liveSearch&&(f=h.parent().parent()),p.options.container&&(f=p.$menu),i=t('[role="listbox"] li',f),d=p.$newElement.hasClass("open"),!d&&(n.keyCode>=48&&n.keyCode<=57||n.keyCode>=96&&n.keyCode<=105||n.keyCode>=65&&n.keyCode<=90))return p.options.container?p.$button.trigger("click"):(p.setSize(),p.$menu.parent().addClass("open"),d=!0),void p.$searchbox.focus();if(p.options.liveSearch&&(/(^9$|27)/.test(n.keyCode.toString(10))&&d&&(n.preventDefault(),n.stopPropagation(),p.$menuInner.click(),p.$button.focus()),i=t('[role="listbox"] li'+g,f),h.val()||/(38|40)/.test(n.keyCode.toString(10))||0===i.filter(".active").length&&(i=p.$menuInner.find("li"),i=p.options.liveSearchNormalize?i.filter(":a"+p._searchStyle()+"("+e(m[n.keyCode])+")"):i.filter(":"+p._searchStyle()+"("+m[n.keyCode]+")"))),i.length){if(
5/(38|40)/.test(n.keyCode.toString(10)))o=i.index(i.find("a").filter(":focus").parent()),a=i.filter(g).first().index(),s=i.filter(g).last().index(),r=i.eq(o).nextAll(g).eq(0).index(),l=i.eq(o).prevAll(g).eq(0).index(),u=i.eq(r).prevAll(g).eq(0).index(),p.options.liveSearch&&(i.each(function(e){t(this).hasClass("disabled")||t(this).data("index",e)}),o=i.index(i.filter(".active")),a=i.first().data("index"),s=i.last().data("index"),r=i.eq(o).nextAll().eq(0).data("index"),l=i.eq(o).prevAll().eq(0).data("index"),u=i.eq(r).prevAll().eq(0).data("index")),c=h.data("prevIndex"),38==n.keyCode?(p.options.liveSearch&&o--,o!=u&&o>l&&(o=l),o<a&&(o=a),o==c&&(o=s)):40==n.keyCode&&(p.options.liveSearch&&o++,o==-1&&(o=0),o!=u&&o<r&&(o=r),o>s&&(o=s),o==c&&(o=a)),h.data("prevIndex",o),p.options.liveSearch?(n.preventDefault(),h.hasClass("dropdown-toggle")||(i.removeClass("active").eq(o).addClass("active").children("a").focus(),h.focus())):i.eq(o).children("a").focus();else if(!h.is("input")){var v,y,b=[];i.each(function(){t(this).hasClass("disabled")||t.trim(t(this).children("a").text().toLowerCase()).substring(0,1)==m[n.keyCode]&&b.push(t(this).index())}),v=t(document).data("keycount"),v++,t(document).data("keycount",v),y=t.trim(t(":focus").text().toLowerCase()).substring(0,1),y!=m[n.keyCode]?(v=1,t(document).data("keycount",v)):v>=b.length&&(t(document).data("keycount",0),v>b.length&&(v=1)),i.eq(b[v-1]).children("a").focus()}if((/(13|32)/.test(n.keyCode.toString(10))||/(^9$)/.test(n.keyCode.toString(10))&&p.options.selectOnTab)&&d){if(/(32)/.test(n.keyCode.toString(10))||n.preventDefault(),p.options.liveSearch)/(32)/.test(n.keyCode.toString(10))||(p.$menuInner.find(".active a").click(),h.focus());else{var x=t(":focus");x.click(),x.focus(),n.preventDefault(),t(document).data("spaceSelect",!0)}t(document).data("keycount",0)}(/(^9$|27)/.test(n.keyCode.toString(10))&&d&&(p.multiple||p.options.liveSearch)||/(27)/.test(n.keyCode.toString(10))&&!d)&&(p.$menu.parent().removeClass("open"),p.options.container&&p.$newElement.removeClass("open"),p.$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 d=t.fn.selectpicker;t.fn.selectpicker=n,t.fn.selectpicker.Constructor=c,t.fn.selectpicker.noConflict=function(){return t.fn.selectpicker=d,this},t(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(t){t.stopPropagation()}),t(window).on("load.bs.select.data-api",function(){t(".selectpicker").each(function(){var e=t(this);n.call(e,e.data())})})}(t)}),!function(t){if(t.document){var e=t.document;e.querySelectorAll||(e.querySelectorAll=function(n){var i,o=e.createElement("style"),r=[];for(e.documentElement.firstChild.appendChild(o),e._qsa=[],o.styleSheet.cssText=n+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",t.scrollBy(0,0),o.parentNode.removeChild(o);e._qsa.length;)i=e._qsa.shift(),i.style.removeAttribute("x-qsa"),r.push(i);return e._qsa=null,r}),e.querySelector||(e.querySelector=function(t){var n=e.querySelectorAll(t);return n.length?n[0]:null}),e.getElementsByClassName||(e.getElementsByClassName=function(t){return t=String(t).replace(/^|\s+/g,"."),e.querySelectorAll(t)}),Object.keys||(Object.keys=function(t){if(t!==Object(t))throw TypeError("Object.keys called on non-object");var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);return n}),Array.prototype.forEach||(Array.prototype.forEach=function(t){if(void 0===this||null===this)throw TypeError();var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw TypeError(); 6var i,o=arguments[1];for(i=0;i<n;i++)i in e&&t.call(o,e[i],i,e)}),function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 20,050 bytes, line 6
6+/=";t.atob=t.atob||function(t){t=String(t);var n,i=0,o=[],r=0,a=0;if(t=t.replace(/\s/g,""),t.length%4===0&&(t=t.replace(/=+$/,"")),t.length%4===1)throw Error("InvalidCharacterError");if(/[^+\/0-9A-Za-z]/.test(t))throw Error("InvalidCharacterError");for(;i<t.length;)n=e.indexOf(t.charAt(i)),r=r<<6|n,a+=6,24===a&&(o.push(String.fromCharCode(r>>16&255)),o.push(String.fromCharCode(r>>8&255)),o.push(String.fromCharCode(255&r)),a=0,r=0),i+=1;return 12===a?(r>>=4,o.push(String.fromCharCode(255&r))):18===a&&(r>>=2,o.push(String.fromCharCode(r>>8&255)),o.push(String.fromCharCode(255&r))),o.join("")},t.btoa=t.btoa||function(t){t=String(t);var n,i,o,r,a,s,l,u=0,c=[];if(/[^\x00-\xFF]/.test(t))throw Error("InvalidCharacterError");for(;u<t.length;)n=t.charCodeAt(u++),i=t.charCodeAt(u++),o=t.charCodeAt(u++),r=n>>2,a=(3&n)<<4|i>>4,s=(15&i)<<2|o>>6,l=63&o,u===t.length+2?(s=64,l=64):u===t.length+1&&(l=64),c.push(e.charAt(r),e.charAt(a),e.charAt(s),e.charAt(l));return c.join("")}}(t),Object.prototype.hasOwnProperty||(Object.prototype.hasOwnProperty=function(t){var e=this.__proto__||this.constructor.prototype;return t in this&&(!(t in e)||e[t]!==this[t])}),function(){if("performance"in t==0&&(t.performance={}),Date.now=Date.now||function(){return(new Date).getTime()},"now"in t.performance==0){var e=Date.now();performance.timing&&performance.timing.navigationStart&&(e=performance.timing.navigationStart),t.performance.now=function(){return Date.now()-e}}}(),t.requestAnimationFrame||(t.webkitRequestAnimationFrame&&t.webkitCancelAnimationFrame?!function(t){t.requestAnimationFrame=function(e){return webkitRequestAnimationFrame(function(){e(t.performance.now())})},t.cancelAnimationFrame=t.webkitCancelAnimationFrame}(t):t.mozRequestAnimationFrame&&t.mozCancelAnimationFrame?!function(t){t.requestAnimationFrame=function(e){return mozRequestAnimationFrame(function(){e(t.performance.now())})},t.cancelAnimationFrame=t.mozCancelAnimationFrame}(t):!function(t){t.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)},t.cancelAnimationFrame=t.clearTimeout}(t))}}(this),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Holder=e():t.Holder=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){(function(e){function i(t,e,n,i){var a=o(n.substr(n.lastIndexOf(t.domain)),t);a&&r({mode:null,el:i,flags:a,engineSettings:e})}function o(t,e){var n={theme:T(E.settings.themes.gray,null),stylesheets:e.stylesheets,instanceOptions:e},i=t.indexOf("?"),o=[t];i!==-1&&(o=[t.slice(0,i),t.slice(i+1)]);var r=o[0].split("/");n.holderURL=t;var a=r[1],s=a.match(/([\d]+p?)x([\d]+p?)/);if(!s)return!1;if(n.fluid=a.indexOf("p")!==-1,n.dimensions={width:s[1].replace("p","%"),height:s[2].replace("p","%")},2===o.length){var l=v.parse(o[1]);if(b.truthy(l.ratio)){n.fluid=!0;var u=parseFloat(n.dimensions.width.replace("%","")),c=parseFloat(n.dimensions.height.replace("%",""));c=Math.floor(100*(c/u)),u=100,n.dimensions.width=u+"%",n.dimensions.height=c+"%"}if(n.auto=b.truthy(l.auto),l.bg&&(n.theme.bg=b.parseColor(l.bg)),l.fg&&(n.theme.fg=b.parseColor(l.fg)),l.bg&&!l.fg&&(n.autoFg=!0),l.theme&&n.instanceOptions.themes.hasOwnProperty(l.theme)&&(n.theme=T(n.instanceOptions.themes[l.theme],null)),l.text&&(n.text=l.text),l.textmode&&(n.textmode=l.textmode),l.size&&(n.size=l.size),l.font&&(n.font=l.font),l.align&&(n.align=l.align),l.lineWrap&&(n.lineWrap=l.lineWrap),n.nowrap=b.truthy(l.nowrap),n.outline=b.truthy(l.outline),b.truthy(l.random)){E.vars.cache.themeKeys=E.vars.cache.themeKeys||Object.keys(n.instanceOptions.themes);var d=E.vars.cache.themeKeys[0|Math.random()*E.vars.cache.themeKeys.length];n.theme=T(n.instanceOptions.themes[d],null)}}return n}function r(t){var e=t.mode,n=t.el,i=t.flags,o=t.engineSettings,r=i.dimensions,s=i.theme,l=r.width+"x"+r.height;e=null==e?i.fluid?"fluid":"image":e;var d=/holder_([a-z]+)/g,h=!1;if(null!=i.text&&(s.text=i.text,"object"===n.nodeName.toLowerCase())){for(var f=s.text.split("\\n"),p=0;p<f.length;p++)f[p]=b.encodeHtmlEntity(f[p]);s.text=f.join("\\n")}if(s.text){var g=s.text.match(d);null!==g&&g.forEach(function(t){"holder_dimensions"===t&&(s.text=s.text.replace(t,l))})}var m=i.holderURL,v=T(o,null);if(i.font&&(s.font=i.font,!v.noFontFallback&&"img"===n.nodeName.toLowerCase()&&E.setup.supportsCanvas&&"svg"===v.renderer&&(v=T(v,{renderer:"canvas"}))),i.font&&"canvas"==v.renderer&&(v.reRender=!0),"background"==e)null==n.getAttribute("data-background-src")&&w.setAttr(n,{"data-background-src":m});else{var y={};y[E.vars.dataAttr]=m,w.setAttr(n,y)}i.theme=s,n.holderData={flags:i,engineSettings:v},"image"!=e&&"fluid"!=e||w.setAttr(n,{alt:s.text?h?s.text:s.text+" ["+l+"]":l});var x={mode:e,el:n,holderSettings:{dimensions:r,theme:s,flags:i},engineSettings:v};"image"==e?(i.auto||(n.style.width=r.width+"px",n.style.height=r.height+"px"),"html"==v.renderer?n.style.backgroundColor=s.bg:(a(x),"exact"==i.textmode&&(n.holderData.resizeUpdate=!0,E.vars.resizableImages.push(n),u(n)))):"background"==e&&"html"!=v.renderer?a(x):"fluid"==e&&(n.holderData.resizeUpdate=!0,"%"==r.height.slice(-1)?n.style.height=r.height:null!=i.auto&&i.auto||(n.style.height=r.height+"px"),"%"==r.width.slice(-1)?n.style.width=r.width:null!=i.auto&&i.auto||(n.style.width=r.width+"px"),"inline"!=n.style.display&&""!==n.style.display&&"none"!=n.style.display||(n.style.display="block"),c(n),"html"==v.renderer?n.style.backgroundColor=s.bg:(E.vars.resizableImages.push(n),u(n)))}function a(t){function n(){var e=null;switch(l.renderer){case"canvas":e=C(c,t);break;case"svg":e=S(c,t);break;default:throw"Holder: invalid renderer: "+l.renderer}return e}var i=null,o=t.mode,r=t.el,a=t.holderSettings,l=t.engineSettings;switch(l.renderer){case"svg":if(!E.setup.supportsSVG)return;break;case"canvas":if(!E.setup.supportsCanvas)return;break;default:return}var u={width:a.dimensions.width,height:a.dimensions.height,theme:a.theme,flags:a.flags},c=s(u);if(i=n(),null==i)throw"Holder: couldn't render placeholder";"background"==o?(r.style.backgroundImage="url("+i+")",l.noBackgroundSize||(r.style.backgroundSize=u.width+"px "+u.height+"px")):("img"===r.nodeName.toLowerCase()?w.setAttr(r,{src:i}):"object"===r.nodeName.toLowerCase()&&w.setAttr(r,{data:i,type:"image/svg+xml"}),l.reRender&&e.setTimeout(function(){var t=n();if(null==t)throw"Holder: couldn't render placeholder";"img"===r.nodeName.toLowerCase()?w.setAttr(r,{src:t}):"object"===r.nodeName.toLowerCase()&&w.setAttr(r,{data:t,type:"image/svg+xml"})},150)),w.setAttr(r,{"data-holder-rendered":!0})}function s(t){function e(t,e,n,i){e.width=n,e.height=i,t.width=Math.max(t.width,e.width),t.height+=e.height}var n=E.defaults.size;switch(parseFloat(t.theme.size)?n=t.theme.size:parseFloat(t.flags.size)&&(n=t.flags.size),t.font={family:t.theme.font?t.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:l(t.width,t.height,n,E.defaults.scale),units:t.theme.units?t.theme.units:E.defaults.units,weight:t.theme.fontweight?t.theme.fontweight:"bold"},t.text=t.theme.text||Math.floor(t.width)+"x"+Math.floor(t.height),t.noWrap=t.theme.nowrap||t.flags.nowrap,t.align=t.theme.align||t.flags.align||"center",t.flags.textmode){case"literal":t.text=t.flags.dimensions.width+"x"+t.flags.dimensions.height;break;case"exact":if(!t.flags.exactDimensions)break;t.text=Math.floor(t.flags.exactDimensions.width)+"x"+Math.floor(t.flags.exactDimensions.height)}var i=t.flags.lineWrap||E.setup.lineWrapRatio,o=t.width*i,r=o,a=new y({width:t.width,height:t.height}),s=a.Shape,u=new s.Rect("holderBg",{fill:t.theme.bg});if(u.resize(t.width,t.height),a.root.add(u),t.flags.outline){var c=new _(u.properties.fill);c=c.lighten(c.lighterThan("7f7f7f")?-.1:.1),u.properties.outline={fill:c.toHex(!0),width:2}}var d=t.theme.fg;if(t.flags.autoFg){var h=new _(u.properties.fill),f=new _("fff"),p=new _("000",{alpha:.285714});d=h.blendAlpha(h.lighterThan("7f7f7f")?p:f).toHex(!0)}var g=new s.Group("holderTextGroup",{text:t.text,align:t.align,font:t.font,fill:d});g.moveTo(null,null,1),a.root.add(g);var m=g.textPositionData=I(a);if(!m)throw"Holder: staging fallback not supported yet.";g.properties.leading=m.boundingBox.height;var v=null,b=null;if(m.lineCount>1){var x,w=0,k=0,S=0;b=new s.Group("line"+S),"left"!==t.align&&"right"!==t.align||(r=t.width*(1-2*(1-i)));for(var C=0;C<m.words.length;C++){var T=m.words[C];v=new s.Text(T.text);var D="\\n"==T.text;!t.noWrap&&(w+T.width>=r||D===!0)&&(e(g,b,w,g.properties.leading),g.add(b),w=0,k+=g.properties.leading,S+=1,b=new s.Group("line"+S),b.y=k),D!==!0&&(v.moveTo(w,0),w+=m.spaceWidth+T.width,b.add(v))}if(e(g,b,w,g.properties.leading),g.add(b),"left"===t.align)g.moveTo(t.width-o,null,null);else if("right"===t.align){for(x in g.children)b=g.children[x],b.moveTo(t.width-b.width,null,null);g.moveTo(0-(t.width-o),null,null)}else{for(x in g.children)b=g.children[x],b.moveTo((g.width-b.width)/2,null,null);g.moveTo((t.width-g.width)/2,null,null)}g.moveTo(null,(t.height-g.height)/2,null),(t.height-g.height)/2<0&&g.moveTo(null,0,null)}else v=new s.Text(t.text),b=new s.Group("line0"),b.add(v),g.add(b),"left"===t.align?g.moveTo(t.width-o,null,null):"right"===t.align?g.moveTo(0-(t.width-o),null,null):g.moveTo((t.width-m.boundingBox.width)/2,null,null),g.moveTo(null,(t.height-m.boundingBox.height)/2,null);return a}function l(t,e,n,i){var o=parseInt(t,10),r=parseInt(e,10),a=Math.max(o,r),s=Math.min(o,r),l=.8*Math.min(s,a*i);return Math.round(Math.max(n,l))}function u(t){var e;e=null==t||null==t.nodeType?E.vars.resizableImages:[t];for(var n=0,i=e.length;n<i;n++){var o=e[n];if(o.holderData){var r=o.holderData.flags,s=D(o);if(s){if(!o.holderData.resizeUpdate)continue;if(r.fluid&&r.auto){var l=o.holderData.fluidConfig;switch(l.mode){case"width":s.height=s.width/l.ratio;break;case"height":s.width=s.height*l.ratio}}var u={mode:"image",holderSettings:{dimensions:s,theme:r.theme,flags:r},el:o,engineSettings:o.holderData.engineSettings};"exact"==r.textmode&&(r.exactDimensions=s,u.holderSettings.dimensions=r.dimensions),a(u)}else f(o)}}}function c(t){if(t.holderData){var e=D(t);if(e){var n=t.holderData.flags,i={fluidHeight:"%"==n.dimensions.height.slice(-1),fluidWidth:"%"==n.dimensions.width.slice(-1),mode:null,initialDimensions:e};i.fluidWidth&&!i.fluidHeight?(i.mode="width",i.ratio=i.initialDimensions.width/parseFloat(n.dimensions.height)):!i.fluidWidth&&i.fluidHeight&&(i.mode="height",i.ratio=parseFloat(n.dimensions.width)/i.initialDimensions.height),t.holderData.fluidConfig=i}else f(t)}}function d(){var t,n=[],i=Object.keys(E.vars.invisibleImages);i.forEach(function(e){t=E.vars.invisibleImages[e],D(t)&&"img"==t.nodeName.toLowerCase()&&(n.push(t),delete E.vars.invisibleImages[e])}),n.length&&M.run({images:n}),setTimeout(function(){e.requestAnimationFrame(d)},10)}function h(){E.vars.visibilityCheckStarted||(e.requestAnimationFrame(d),E.vars.visibilityCheckStarted=!0)}function f(t){t.holderData.invisibleId||(E.vars.invisibleId+=1,E.vars.invisibleImages["i"+E.vars.invisibleId]=t,t.holderData.invisibleId=E.vars.invisibleId)}function p(t){E.vars.debounceTimer||t.call(this),E.vars.debounceTimer&&e.clearTimeout(E.vars.debounceTimer),E.vars.debounceTimer=e.setTimeout(function(){E.vars.debounceTimer=null,t.call(this)},E.setup.debounce)}function g(){p(function(){u(null)})}var m=n(2),v=n(3),y=n(6),b=n(7),x=n(8),w=n(9),_=n(10),k=n(11),S=n(12),C=n(15),T=b.extend,D=b.dimensionCheck,A=k.svg_ns,M={version:k.version,addTheme:function(t,e){return null!=t&&null!=e&&(E.settings.themes[t]=e),delete E.vars.cache.themeKeys,this},addImage:function(t,e){var n=w.getNodeArray(e);return n.forEach(function(e){var n=w.newEl("img"),i={};i[E.setup.dataAttr]=t,w.setAttr(n,i),e.appendChild(n)}),this},setResizeUpdate:function(t,e){t.holderData&&(t.holderData.resizeUpdate=!!e,t.holderData.resizeUpdate&&u(t))},run:function(t){t=t||{};var n={},a=T(E.settings,t);E.vars.preempted=!0,E.vars.dataAttr=a.dataAttr||E.setup.dataAttr,n.renderer=a.renderer?a.renderer:E.setup.renderer,E.setup.renderers.join(",").indexOf(n.renderer)===-1&&(n.renderer=E.setup.supportsSVG?"svg":E.setup.supportsCanvas?"canvas":"html");var s=w.getNodeArray(a.images),l=w.getNodeArray(a.bgnodes),u=w.getNodeArray(a.stylenodes),c=w.getNodeArray(a.objects);return n.stylesheets=[],n.svgXMLStylesheet=!0,n.noFontFallback=!!a.noFontFallback,n.noBackgroundSize=!!a.noBackgroundSize,u.forEach(function(t){if(t.attributes.rel&&t.attributes.href&&"stylesheet"==t.attributes.rel.value){var e=t.attributes.href.value,i=w.newEl("a");i.href=e;var o=i.protocol+"//"+i.host+i.pathname+i.search;n.stylesheets.push(o)}}),l.forEach(function(t){if(e.getComputedStyle){var i=e.getComputedStyle(t,null).getPropertyValue("background-image"),s=t.getAttribute("data-background-src"),l=s||i,u=null,c=a.domain+"/",d=l.indexOf(c);if(0===d)u=l;else if(1===d&&"?"===l[0])u=l.slice(1);else{var h=l.substr(d).match(/([^\"]*)"?\)/);if(null!==h)u=h[1];else if(0===l.indexOf("url("))throw"Holder: unable to parse background URL: "+l}if(u){var f=o(u,a);f&&r({mode:"background",el:t,flags:f,engineSettings:n})}}}),c.forEach(function(t){var e={};try{e.data=t.getAttribute("data"),e.dataSrc=t.getAttribute(E.vars.dataAttr)}catch(t){}var o=null!=e.data&&0===e.data.indexOf(a.domain),r=null!=e.dataSrc&&0===e.dataSrc.indexOf(a.domain);o?i(a,n,e.data,t):r&&i(a,n,e.dataSrc,t)}),s.forEach(function(t){var e={};try{e.src=t.getAttribute("src"),e.dataSrc=t.getAttribute(E.vars.dataAttr),e.rendered=t.getAttribute("data-holder-rendered")}catch(t){}var o=null!=e.src,r=null!=e.dataSrc&&0===e.dataSrc.indexOf(a.domain),s=null!=e.rendered&&"true"==e.rendered;o?0===e.src.indexOf(a.domain)?i(a,n,e.src,t):r&&(s?i(a,n,e.dataSrc,t):!function(t,e,n,o,r){b.imageExists(t,function(t){t||i(e,n,o,r)})}(e.src,a,n,e.dataSrc,t)):r&&i(a,n,e.dataSrc,t)}),this}},E={settings:{domain:"holder.js",images:"img",objects:"object",bgnodes:"body .holderjs",stylenodes:"head link.holderjs",themes:{gray:{bg:"#EEEEEE",fg:"#AAAAAA"},social:{bg:"#3a5a97",fg:"#FFFFFF"},industrial:{bg:"#434A52",fg:"#C2F200"},sky:{bg:"#0D8FDB",fg:"#FFFFFF"},vine:{bg:"#39DBAC",fg:"#1E292C"},lava:{bg:"#F8591A",fg:"#1C2846"}}},defaults:{size:10,units:"pt",scale:1/16}},I=function(){var t=null,e=null,n=null;return function(i){var o=i.root;if(E.setup.supportsSVG){var r=!1,a=function(t){return document.createTextNode(t)};null!=t&&t.parentNode===document.body||(r=!0),t=x.initSVG(t,o.properties.width,o.properties.height),t.style.display="block",r&&(e=w.newEl("text",A),n=a(null),w.setAttr(e,{x:0}),e.appendChild(n),t.appendChild(e),document.body.appendChild(t),t.style.visibility="hidden",t.style.position="absolute",t.style.top="-100%",t.style.left="-100%");var s=o.children.holderTextGroup,l=s.properties;w.setAttr(e,{y:l.font.size,style:b.cssProps({"font-weight":l.font.weight,"font-size":l.font.size+l.font.units,"font-family":l.font.family})}),n.nodeValue=l.text;var u=e.getBBox(),c=Math.ceil(u.width/o.properties.width),d=l.text.split(" "),h=l.text.match(/\\n/g);c+=null==h?0:h.length,n.nodeValue=l.text.replace(/[ ]+/g,"");var f=e.getComputedTextLength(),p=u.width-f,g=Math.round(p/Math.max(1,d.length-1)),m=[];if(c>1){n.nodeValue="";for(var v=0;v<d.length;v++)if(0!==d[v].length){n.nodeValue=b.decodeHtmlEntity(d[v]);var y=e.getBBox();m.push({text:d[v],width:y.width})}}return t.style.display="none",{spaceWidth:g,lineCount:c,boundingBox:u,words:m}}return!1}}();for(var P in E.flags)E.flags.hasOwnProperty(P)&&(E.flags[P].match=function(t){return t.match(this.regex)});E.setup={renderer:"html",debounce:100,ratio:1,supportsCanvas:!1,supportsSVG:!1,lineWrapRatio:.9,dataAttr:"data-src",renderers:["html","canvas","svg"]},E.vars={preempted:!1,resizableImages:[],invisibleImages:{},invisibleId:0,visibilityCheckStarted:!1,debounceTimer:null,cache:{}},function(){var t=w.newEl("canvas");t.getContext&&t.toDataURL("image/png").indexOf("data:image/png")!=-1&&(E.setup.renderer="canvas",E.setup.supportsCanvas=!0),document.createElementNS&&document.createElementNS(A,"svg").createSVGRect&&(E.setup.renderer="svg",E.setup.supportsSVG=!0)}(),h(),m&&m(function(){E.vars.preempted||M.run(),e.addEventListener?(e.addEventListener("resize",g,!1),e.addEventListener("orientationchange",g,!1)):e.attachEvent("onresize",g),"object"==typeof e.Turbolinks&&e.document.addEventListener("page:change",function(){M.run()})}),t.exports=M}).call(e,function(){return this}())},function(t,e){function n(t){function e(t){if(!w){if(!a.body)return o(e);for(w=!0;t=_.shift();)o(t)}}function n(t){(b||t.type===l||a[h]===d)&&(i(),e())}function i(){b?(a[y](m,n,u),t[y](l,n,u)):(a[p](v,n),t[p](c,n))}function o(t,e){setTimeout(t,+e>=0?e:1)}function r(t){w?o(t):_.push(t)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function t(){document.removeEventListener("DOMContentLoaded",t,!1),document.readyState="complete"},!1),document.readyState="loading");var a=t.document,s=a.documentElement,l="load",u=!1,c="on"+l,d="complete",h="readyState",f="attachEvent",p="detachEvent",g="addEventListener",m="DOMContentLoaded",v="onreadystatechange",y="removeEventListener",b=g in a,x=u,w=u,_=[];if(a[h]===d)o(e);else if(b)a[g](m,n,u),t[g](l,n,u);else{a[f](v,n),t[f](c,n);try{x=null==t.frameElement&&s}catch(t){}x&&x.doScroll&&!function t(){if(!w){try{x.doScroll("left")}catch(e){return o(t,50)}i(),e()}}()}return r.version="1.4.0",r.isReady=function(){return w},r}t.exports="undefined"!=typeof window&&n(window)},function(t,e,n){var i=encodeURIComponent,o=decodeURIComponent,r=n(4),a=n(5),s=/(\w+)\[(\d+)\]/,l=/\w+\.\w+/;e.parse=function(t){if("string"!=typeof t)return{};if(t=r(t),""===t)return{};"?"===t.charAt(0)&&(t=t.slice(1));for(var e={},n=t.split("&"),i=0;i<n.length;i++){var a,u,c,d=n[i].split("="),h=o(d[0]);if(a=s.exec(h))e[a[1]]=e[a[1]]||[],e[a[1]][a[2]]=o(d[1]);else if(a=l.test(h)){for(a=h.split("."),u=e;a.length;)if(c=a.shift(),c.length){if(u[c]){if(u[c]&&"object"!=typeof u[c])break}else u[c]={};a.length||(u[c]=o(d[1])),u=u[c]}}else e[d[0]]=null==d[1]?"":o(d[1])}return e},e.stringify=function(t){if(!t)return"";var e=[];for(var n in t){var o=t[n];if("array"!=a(o))e.push(i(n)+"="+i(t[n]));else for(var r=0;r<o.length;++r)e.push(i(n+"["+r+"]")+"="+i(o[r]))}return e.join("&")}},function(t,e){function n(t){return t.replace(/^\s*|\s*$/g,"")}e=t.exports=n,e.left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}},function(t,e){function n(t){return!(null==t||!(t._isBuffer||t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)))}var i=Object.prototype.toString;t.exports=function(t){switch(i.call(t)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===t?"null":void 0===t?"undefined":t!==t?"nan":t&&1===t.nodeType?"element":n(t)?"buffer":(t=t.valueOf?t.valueOf():Object.prototype.valueOf.apply(t),typeof t)}},function(t,e){var n=function(t){function e(t,e){for(var n in e)t[n]=e[n];return t}var n=1,i=function(t){n++,this.parent=null,this.children={},this.id=n,this.name="n"+n,"undefined"!=typeof t&&(this.name=t),this.x=this.y=this.z=0,this.width=this.height=0};i.prototype.resize=function(t,e){null!=t&&(this.width=t),null!=e&&(this.height=e)},i.prototype.moveTo=function(t,e,n){this.x=null!=t?t:this.x,this.y=null!=e?e:this.y,this.z=null!=n?n:this.z},i.prototype.add=function(t){var e=t.name;if("undefined"!=typeof this.children[e])throw"SceneGraph: child already exists: "+e;this.children[e]=t,t.parent=this};var o=function(){i.call(this,"root"),this.properties=t};o.prototype=new i;var r=function(t,n){if(i.call(this,t),this.properties={fill:"#000000"},"undefined"!=typeof n)e(this.properties,n);else if("undefined"!=typeof t&&"string"!=typeof t)throw"SceneGraph: invali
6d node name"};r.prototype=new i;var a=function(){r.apply(this,arguments),this.type="group"};a.prototype=new r;var s=function(){r.apply(this,arguments),this.type="rect"};s.prototype=new r;var l=function(t){r.call(this),this.type="text",this.properties.text=t};l.prototype=new r;var u=new o;return this.Shape={Rect:s,Text:l,Group:a},this.root=u,this};t.exports=n},function(t,e){(function(t){e.extend=function(t,e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);if(null!=e)for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);return n},e.cssProps=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n+":"+t[n]);return e.join(";")},e.encodeHtmlEntity=function(t){for(var e=[],n=0,i=t.length-1;i>=0;i--)n=t.charCodeAt(i),n>128?e.unshift(["&#",n,";"].join("")):e.unshift(t[i]);return e.join("")},e.imageExists=function(t,e){var n=new Image;n.onerror=function(){e.call(this,!1)},n.onload=function(){e.call(this,!0)},n.src=t},e.decodeHtmlEntity=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(e)})},e.dimensionCheck=function(t){var e={height:t.clientHeight,width:t.clientWidth};return!(!e.height||!e.width)&&e},e.truthy=function(t){return"string"==typeof t?"true"===t||"yes"===t||"1"===t||"on"===t||"â"===t:!!t},e.parseColor=function(t){var e,n=/(^(?:#?)[0-9a-f]{6}$)|(^(?:#?)[0-9a-f]{3}$)/i,i=/^rgb\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/,o=/^rgba\((\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0\.\d{1,}|1)\)$/,r=t.match(n);return null!==r?(e=r[1]||r[2],"#"!==e[0]?"#"+e:e):(r=t.match(i),null!==r?e="rgb("+r.slice(1).join(",")+")":(r=t.match(o),null!==r?e="rgba("+r.slice(1).join(",")+")":null))},e.canvasRatio=function(){var e=1,n=1;if(t.document){var i=t.document.createElement("canvas");if(i.getContext){var o=i.getContext("2d");e=t.devicePixelRatio||1,n=o.webkitBackingStorePixelRatio||o.mozBackingStorePixelRatio||o.msBackingStorePixelRatio||o.oBackingStorePixelRatio||o.backingStorePixelRatio||1}}return e/n}}).call(e,function(){return this}())},function(t,e,n){(function(t){var i=n(9),o="http://www.w3.org/2000/svg",r=8;e.initSVG=function(t,e,n){var a,s,l=!1;t&&t.querySelector?(s=t.querySelector("style"),null===s&&(l=!0)):(t=i.newEl("svg",o),l=!0),l&&(a=i.newEl("defs",o),s=i.newEl("style",o),i.setAttr(s,{type:"text/css"}),a.appendChild(s),t.appendChild(a)),t.webkitMatchesSelector&&t.setAttribute("xmlns",o);for(var u=0;u<t.childNodes.length;u++)t.childNodes[u].nodeType===r&&t.removeChild(t.childNodes[u]);for(;s.childNodes.length;)s.removeChild(s.childNodes[0]);return i.setAttr(t,{width:e,height:n,viewBox:"0 0 "+e+" "+n,preserveAspectRatio:"none"}),t},e.svgStringToDataURI=function(){var e="data:image/svg+xml;charset=UTF-8,",n="data:image/svg+xml;charset=UTF-8;base64,";return function(i,o){return o?n+btoa(t.unescape(encodeURIComponent(i))):e+encodeURIComponent(i)}}(),e.serializeSVG=function(e,n){if(t.XMLSerializer){var o=new XMLSerializer,r="",a=n.stylesheets;if(n.svgXMLStylesheet){for(var s=i.createXML(),l=a.length-1;l>=0;l--){var u=s.createProcessingInstruction("xml-stylesheet",'href="'+a[l]+'" rel="stylesheet"');s.insertBefore(u,s.firstChild)}s.removeChild(s.documentElement),r=o.serializeToString(s)}var c=o.serializeToString(e);return c=c.replace(/\&(\#[0-9]{2,}\;)/g,"&$1"),r+c}}}).call(e,function(){return this}())},function(t,e){(function(t){e.newEl=function(e,n){if(t.document)return null==n?t.document.createElement(e):t.document.createElementNS(n,e)},e.setAttr=function(t,e){for(var n in e)t.setAttribute(n,e[n])},e.createXML=function(){if(t.DOMParser)return(new DOMParser).parseFromString("<xml />","application/xml")},e.getNodeArray=function(e){var n=null;return"string"==typeof e?n=document.querySelectorAll(e):t.NodeList&&e instanceof t.NodeList?n=e:t.Node&&e instanceof t.Node?n=[e]:t.HTMLCollection&&e instanceof t.HTMLCollection?n=e:e instanceof Array?n=e:null===e&&(n=[]),n=Array.prototype.slice.call(n)}}).call(e,function(){return this}())},function(t,e){var n=function(t,e){"string"==typeof t&&(this.original=t,"#"===t.charAt(0)&&(t=t.slice(1)),/[^a-f0-9]+/i.test(t)||(3===t.length&&(t=t.replace(/./g,"$&$&")),6===t.length&&(this.alpha=1,e&&e.alpha&&(this.alpha=e.alpha),this.set(parseInt(t,16))
vendor: 4,193 bytes, line 6
6)))};n.rgb2hex=function(t,e,n){function i(t){var e=(0|t).toString(16);return t<16&&(e="0"+e),e}return[t,e,n].map(i).join("")},n.hsl2rgb=function(t,e,n){var i=t/60,o=(1-Math.abs(2*n-1))*e,r=o*(1-Math.abs(parseInt(i)%2-1)),a=n-o/2,s=0,l=0,u=0;return i>=0&&i<1?(s=o,l=r):i>=1&&i<2?(s=r,l=o):i>=2&&i<3?(l=o,u=r):i>=3&&i<4?(l=r,u=o):i>=4&&i<5?(s=r,u=o):i>=5&&i<6&&(s=o,u=r),s+=a,l+=a,u+=a,s=parseInt(255*s),l=parseInt(255*l),u=parseInt(255*u),[s,l,u]},n.prototype.set=function(t){this.raw=t;var e=(16711680&this.raw)>>16,n=(65280&this.raw)>>8,i=255&this.raw,o=.2126*e+.7152*n+.0722*i,r=-.09991*e-.33609*n+.436*i,a=.615*e-.55861*n-.05639*i;return this.rgb={r:e,g:n,b:i},this.yuv={y:o,u:r,v:a},this},n.prototype.lighten=function(t){var e=Math.min(1,Math.max(0,Math.abs(t)))*(t<0?-1:1),i=255*e|0,o=Math.min(255,Math.max(0,this.rgb.r+i)),r=Math.min(255,Math.max(0,this.rgb.g+i)),a=Math.min(255,Math.max(0,this.rgb.b+i)),s=n.rgb2hex(o,r,a);return new n(s)},n.prototype.toHex=function(t){return(t?"#":"")+this.raw.toString(16)},n.prototype.lighterThan=function(t){return t instanceof n||(t=new n(t)),this.yuv.y>t.yuv.y},n.prototype.blendAlpha=function(t){t instanceof n||(t=new n(t));var e=t,i=this,o=e.alpha*e.rgb.r+(1-e.alpha)*i.rgb.r,r=e.alpha*e.rgb.g+(1-e.alpha)*i.rgb.g,a=e.alpha*e.rgb.b+(1-e.alpha)*i.rgb.b;return new n(n.rgb2hex(o,r,a))},t.exports=n},function(t,e){t.exports={version:"2.9.4",svg_ns:"http://www.w3.org/2000/svg"}},function(t,e,n){function i(t,e){return d.element({tag:e,width:t.width,height:t.height,fill:t.properties.fill})}function o(t){return u.cssProps({fill:t.fill,"font-weight":t.font.weight,"font-family":t.font.family+", monospace","font-size":t.font.size+t.font.units})}function r(t,e,n){var i=n/2;return["M",i,i,"H",t-i,"V",e-i,"H",i,"V",0,"M",0,i,"L",t,e-i,"M",0,e-i,"L",t,i].join(" ")}var a=n(13),s=n(8),l=n(11),u=n(7),c=l.svg_ns,d={element:function(t){var e=t.tag,n=t.content||"";return delete t.tag,delete t.content,[e,n,t]}};t.exports=function(t,e){var n=e.engineSettings,l=n.stylesheets,u=l.map(function(t){return'<?xml-stylesheet rel="stylesheet" href="'+t+'"?>'}).join("\n"),h="holder_"+Number(new Date).toString(16),f=t.root,p=f.children.holderTextGroup,g="#"+h+" text { "+o(p.properties)+" } ";p.y+=.8*p.textPositionData.boundingBox.height;var m=[];Object.keys(p.children).forEach(function(t){var e=p.children[t];Object.keys(e.children).forEach(function(t){var n=e.children[t],i=p.x+e.x+n.x,o=p.y+e.y+n.y,r=d.element({tag:"text",content:n.properties.text,x:i,y:o});m.push(r)})});var v=d.element({tag:"g",content:m}),y=null;if(f.children.holderBg.properties.outline){var b=f.children.holderBg.properties.outline;y=d.element({tag:"path",d:r(f.children.holderBg.width,f.children.holderBg.height,b.width),"stroke-width":b.width,stroke:b.fill,fill:"none"})}var x=i(f.children.holderBg,"rect"),w=[];w.push(x),b&&w.push(y),w.push(v);var _=d.element({tag:"g",id:h,content:w}),k=d.element({tag:"style",content:g,type:"text/css"}),S=d.element({tag:"defs",content:k}),C=d.element({tag:"svg",content:[S,_],width:f.properties.width,height:f.properties.height,xmlns:c,viewBox:[0,0,f.properties.width,f.properties.height].join(" "),preserveAspectRatio:"none"}),T=a(C);T=u+T[0];var D=s.svgStringToDataURI(T,"background"===e.mode);return D}},function(t,e,n){n(14),t.exports=function t(e,n,i){"use strict";function o(t){var e=t.match(/^[\w-]+/),n={tag:e?e[0]:"div",attr:{},children:[]},o=t.match(/#([\w-]+)/),r=t.match(/\$([\w-]+)/),a=t.match(/\.[\w-]+/g);return o&&(n.attr.id=o[1],i[o[1]]=n),r&&(i[r[1]]=n),a&&(n.attr.class=a.join(" ").replace(/\./g,"")),t.match(/&$/g)&&(f=!1),n}function r(t,e){if(null!==e&&e!==!1&&void 0!==e)return"string"!=typeof e&&"object"!=typeof e?String(e):e}function a(t){return t||0===t?String(t).replace(/&/g,"&").replace(/"/g,"""):""}function s(t){return String(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}var l,u,c,d,h=1,f=!0;if(i=i||{},"string"==typeof e[0])e[0]=o(e[0]);else{if(!Array.isArray(e[0]))throw new Error("First element of array must be a string, or an array and not "+JSON.stringify(e[0]));h=0}for(;h<e.length;h++){if(e[h]===!1||null===e[h]){e[0]=!1;break}
6if(void 0!==e[h]&&e[h]!==!0)if("string"==typeof e[h])f&&(e[h]=s(e[h])),e[0].children.push(e[h]);else if("number"==typeof e[h])e[0].children.push(e[h]);else if(Array.isArray(e[h])){if(Array.isArray(e[h][0])){if(e[h].reverse().forEach(function(t){e.splice(h+1,0,t)}),0!==h)continue;h++}t(e[h],n,i),e[h][0]&&e[0].children.push(e[h][0])}else if("function"==typeof e[h])c=e[h];else{if("object"!=typeof e[h])throw new TypeError('"'+e[h]+'" is not allowed as a value.');for(u in e[h])e[h].hasOwnProperty(u)&&null!==e[h][u]&&e[h][u]!==!1&&("style"===u&&"object"==typeof e[h][u]?e[0].attr[u]=JSON.stringify(e[h][u],r).slice(2,-2).replace(/","/g,";").replace(/":"/g,":").replace(/\\"/g,"'"):e[0].attr[u]=e[h][u])}}if(e[0]!==!1){l="<"+e[0].tag;for(d in e[0].attr)e[0].attr.hasOwnProperty(d)&&(l+=" "+d+'="'+a(e[0].attr[d])+'"');l+=">",e[0].children.forEach(function(t){l+=t}),l+="</"+e[0].tag+">",e[0]=l}return i[0]=e[0],c&&c(e[0]),i}},function(t,e){"use strict";function n(t){var e=""+t,n=i.exec(e);if(!n)return e;var o,r="",a=0,s=0;for(a=n.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:o=""";break;case 38:o="&";break;case 39:o="'";break;case 60:o="<";break;case 62:o=">";break;default:continue}s!==a&&(r+=e.substring(s,a)),s=a+1,r+=o}return s!==a?r+e.substring(s,a):r}var i=/["'&<>]/;t.exports=n},function(t,e,n){var i=n(9),o=n(7);t.exports=function(){var t=i.newEl("canvas"),e=null;return function(n){null==e&&(e=t.getContext("2d"));var i=o.canvasRatio(),r=n.root;t.width=i*r.properties.width,t.height=i*r.properties.height,e.textBaseline="middle";var a=r.children.holderBg,s=i*a.width,l=i*a.height,u=2,c=u/2;e.fillStyle=a.properties.fill,e.fillRect(0,0,s,l),a.properties.outline&&(e.strokeStyle=a.properties.outline.fill,e.lineWidth=a.properties.outline.width,e.moveTo(c,c),e.lineTo(s-c,c),e.lineTo(s-c,l-c),e.lineTo(c,l-c),e.lineTo(c,c),e.moveTo(0,c),e.lineTo(s,l-c),e.moveTo(0,l-c),e.lineTo(s,c),e.stroke());var d=r.children.holderTextGroup;e.font=d.properties.font.weight+" "+i*d.properties.font.size+d.properties.font.units+" "+d.properties.font.family+", monospace",e.fillStyle=d.properties.fill;for(var h in d.children){var f=d.children[h];for(var p in f.children){var g=f.children[p],m=i*(d.x+f.x+g.x),v=i*(d.y+f.y+g.y+d.properties.leading/2);e.fillText(g.properties.text,m,v)}}return t.toDataURL("image/png")}}()}])}),function(t,e){e&&(Holder=t.Holder)}(this,"undefined"!=typeof Meteor&&"undefined"!=typeof Package),!function(t){t.slidebars=function(e){function n(){!u.disableOver||"number"==typeof u.disableOver&&u.disableOver>=_?(w=!0,t("html").addClass("sb-init"),u.hideControlClasses&&k.removeClass("sb-hide"),i()):"number"==typeof u.disableOver&&u.disableOver<_&&(w=!1,t("html").removeClass("sb-init"),u.hideControlClasses&&k.addClass("sb-hide"),m.css("minHeight",""),(y||x)&&a())}function i(){m.css("minHeight","");var e=parseInt(m.css("height"),10),n=parseInt(t("html").css("height"),10);n>e&&m.css("minHeight",t("html").css("height")),v&&v.hasClass("sb-width-custom")&&v.css("width",v.attr("data-sb-width")),b&&b.hasClass("sb-width-custom")&&b.css("width",b.attr("data-sb-width")),v&&(v.hasClass("sb-style-push")||v.hasClass("sb-style-overlay"))&&v.css("marginLeft","-"+v.css("width")),b&&(b.hasClass("sb-style-push")||b.hasClass("sb-style-overlay"))&&b.css("marginRight","-"+b.css("width")),u.scrollLock&&t("html").addClass("sb-scroll-lock")}function o(t,e,n){function o(){ 7r.removeAttr("style"),i()}var r;if(r=t.hasClass("sb-style-push")?m.add(t).add(S):t.hasClass("sb-style-overlay")?t:m.add(S),"translate"===C)"0px"===e?o():r.css("transform","translate( "+e+" )");else if("side"===C)"0px"===e?o():("-"===e[0]&&(e=e.substr(1)),r.css(n,"0px"),setTimeout(function(){r.css(n,e)},1));else if("jQuery"===C){"-"===e[0]&&(e=e.substr(1));var a={};a[n]=e,r.stop().animate(a,400)}}function r(e){function n(){w&&"left"===e&&v?(t("html").addClass("sb-active sb-active-left"),v.addClass("sb-active"),o(v,v.css("width"),"left"),setTimeout(function(){y=!0},400)):w&&"right"===e&&b&&(t("html").addClass("sb-active sb-active-right"),b.addClass("sb-active"),o(b,"-"+b.css("width"),"right"),setTimeout(function(){x=!0},400))}
7"left"===e&&v&&x||"right"===e&&b&&y?(a(),setTimeout(n,400)):n()}function a(e,n){(y||x)&&(y&&(o(v,"0px","left"),y=!1),x&&(o(b,"0px","right"),x=!1),setTimeout(function(){t("html").removeClass("sb-active sb-active-left sb-active-right"),v&&v.removeClass("sb-active"),b&&b.removeClass("sb-active"),"undefined"!=typeof e&&(void 0===typeof n&&(n="_self"),window.open(e,n))},400))}function s(t){"left"===t&&v&&(y?a():r("left")),"right"===t&&b&&(x?a():r("right"))}function l(t,e){t.stopPropagation(),t.preventDefault(),"touchend"===t.type&&e.off("click")}var u=t.extend({siteClose:!0,scrollLock:!1,disableOver:!1,hideControlClasses:!1},e),c=document.createElement("div").style,d=!1,h=!1;(""===c.MozTransition||""===c.WebkitTransition||""===c.OTransition||""===c.transition)&&(d=!0),(""===c.MozTransform||""===c.WebkitTransform||""===c.OTransform||""===c.transform)&&(h=!0);var f=navigator.userAgent,p=!1,g=!1;/Android/.test(f)?p=f.substr(f.indexOf("Android")+8,3):/(iPhone|iPod|iPad)/.test(f)&&(g=f.substr(f.indexOf("OS ")+3,3).replace("_",".")),(p&&3>p||g&&5>g)&&t("html").addClass("sb-static");var m=t("#sb-site, .sb-site-container");if(t(".sb-left").length)var v=t(".sb-left"),y=!1;if(t(".sb-right").length)var b=t(".sb-right"),x=!1;var w=!1,_=t(window).width(),k=t(".sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close"),S=t(".sb-slide");n(),t(window).resize(function(){var e=t(window).width();_!==e&&(_=e,n(),y&&r("left"),x&&r("right"))});var C;d&&h?(C="translate",p&&4.4>p&&(C="side")):C="jQuery",this.slidebars={open:r,close:a,toggle:s,init:function(){return w},active:function(t){return"left"===t&&v?y:"right"===t&&b?x:void 0},destroy:function(t){"left"===t&&v&&(y&&a(),setTimeout(function(){v.remove(),v=!1},400)),"right"===t&&b&&(x&&a(),setTimeout(function(){b.remove(),b=!1},400))}},t(".sb-toggle-left").on("touchend click",function(e){l(e,t(this)),s("left")}),t(".sb-toggle-right").on("touchend click",function(e){l(e,t(this)),s("right")}),t(".sb-open-left").on("touchend click",function(e){l(e,t(this)),r("left")}),t(".sb-open-right").on("touchend click",function(e){l(e,t(this)),r("right")}),t(".sb-close").on("touchend click",function(e){if(t(this).is("a")||t(this).children().is("a")){if("click"===e.type){e.stopPropagation(),e.preventDefault();var n=t(this).is("a")?t(this):t(this).find("a"),i=n.attr("href"),o=n.attr("target")?n.attr("target"):"_self";a(i,o)}}else l(e,t(this)),a()}),m.on("touchend click",function(e){u.siteClose&&(y||x)&&(l(e,t(this)),a())})}}(jQuery),!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=-1,n=-1,i=function(t){return parseFloat(t)||0},o=function(e){var n=1,o=t(e),r=null,a=[];return o.each(function(){var e=t(this),o=e.offset().top-i(e.css("margin-top")),s=a.length>0?a[a.length-1]:null;null===s?a.push(e):Math.floor(Math.abs(r-o))<=n?a[a.length-1]=s.add(e):a.push(e),r=o}),a},r=function(e){var n={byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(n,e):("boolean"==typeof e?n.byRow=e:"remove"===e&&(n.remove=!0),n)},a=t.fn.matchHeight=function(e){var n=r(e);if(n.remove){var i=this;return this.css(n.property,""),t.each(a._groups,function(t,e){e.elements=e.elements.not(i)}),this}return this.length<=1&&!n.target?this:(a._groups.push({elements:this,options:n}),a._apply(this,n),this)};a.version="0.7.0",a._groups=[],a._throttle=80,a._maintainScroll=!1,a._beforeUpdate=null,a._afterUpdate=null,a._rows=o,a._parse=i,a._parseOptions=r,a._apply=function(e,n){var s=r(n),l=t(e),u=[l],c=t(window).scrollTop(),d=t("html").outerHeight(!0),h=l.parents().filter(":hidden");return h.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),h.css("display","block"),s.byRow&&!s.target&&(l.each(function(){var e=t(this),n=e.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block"),e.data("style-cache",e.attr("style")),e.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"})}),u=o(l),l.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(u,function(e,n){var o=t(n),r=0;if(s.target)r=s.target.outerHeight(!1);
7else{if(s.byRow&&o.length<=1)return void o.css(s.property,"");o.each(function(){var e=t(this),n=e.attr("style"),i=e.css("display");"inline-block"!==i&&"flex"!==i&&"inline-flex"!==i&&(i="block");var o={display:i};o[s.property]="",e.css(o),e.outerHeight(!1)>r&&(r=e.outerHeight(!1)),n?e.attr("style",n):e.css("display","")})}o.each(function(){var e=t(this),n=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(n+=i(e.css("border-top-width"))+i(e.css("border-bottom-width")),n+=i(e.css("padding-top"))+i(e.css("padding-bottom"))),e.css(s.property,r-n+"px"))})}),h.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),a._maintainScroll&&t(window).scrollTop(c/d*t("html").outerHeight(!0)),this},a._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var n=t(this),i=n.attr("data-mh")||n.attr("data-match-height");i in e?e[i]=e[i].add(n):e[i]=n}),t.each(e,function(){this.matchHeight(!0)})};var s=function(e){a._beforeUpdate&&a._beforeUpdate(e,a._groups),t.each(a._groups,function(){a._apply(this.elements,this.options)}),a._afterUpdate&&a._afterUpdate(e,a._groups)};a._update=function(i,o){if(o&&"resize"===o.type){var r=t(window).width();if(r===e)return;e=r}i?-1===n&&(n=setTimeout(function(){s(o),n=-1},a._throttle)):s(o)},t(a._applyDataApi),t(window).bind("load",function(t){a._update(!1,t)}),t(window).bind("resize orientationchange",function(t){a._update(!0,t)})});var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var t=/\blang(?:uage)?-(\w+)\b/i,e=0,n=_self.Prism={util:{encode:function(t){return t instanceof i?new i(t.type,n.util.encode(t.content),t.alias):"Array"===n.util.type(t)?t.map(n.util.encode):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).match(/\[object (\w+)\]/)[1]},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++e}),t.__id},clone:function(t){var e=n.util.type(t);switch(e){case"Object":var i={};for(var o in t)t.hasOwnProperty(o)&&(i[o]=n.util.clone(t[o]));return i;case"Array":return t.map&&t.map(function(t){return n.util.clone(t)})}return t}},languages:{extend:function(t,e){var i=n.util.clone(n.languages[t]);for(var o in e)i[o]=e[o];return i},insertBefore:function(t,e,i,o){o=o||n.languages;var r=o[t];if(2==arguments.length){i=arguments[1];for(var a in i)i.hasOwnProperty(a)&&(r[a]=i[a]);return r}var s={};for(var l in r)if(r.hasOwnProperty(l)){if(l==e)for(var a in i)i.hasOwnProperty(a)&&(s[a]=i[a]);s[l]=r[l]}
vendor: 6,484 bytes, line 7
7return n.languages.DFS(n.languages,function(e,n){n===o[t]&&e!=t&&(this[e]=s)}),o[t]=s},DFS:function(t,e,i,o){o=o||{};for(var r in t)t.hasOwnProperty(r)&&(e.call(t,r,t[r],i||r),"Object"!==n.util.type(t[r])||o[n.util.objId(t[r])]?"Array"!==n.util.type(t[r])||o[n.util.objId(t[r])]||(o[n.util.objId(t[r])]=!0,n.languages.DFS(t[r],e,r,o)):(o[n.util.objId(t[r])]=!0,n.languages.DFS(t[r],e,null,o)))}},plugins:{},highlightAll:function(t,e){var i={callback:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",i);for(var o,r=i.elements||document.querySelectorAll(i.selector),a=0;o=r[a++];)n.highlightElement(o,t===!0,i.callback)},highlightElement:function(e,i,o){for(var r,a,s=e;s&&!t.test(s.className);)s=s.parentNode;s&&(r=(s.className.match(t)||[,""])[1].toLowerCase(),a=n.languages[r]),e.className=e.className.replace(t,"").replace(/\s+/g," ")+" language-"+r,s=e.parentNode,/pre/i.test(s.nodeName)&&(s.className=s.className.replace(t,"").replace(/\s+/g," ")+" language-"+r);var l=e.textContent,u={element:e,language:r,grammar:a,code:l};if(n.hooks.run("before-sanity-check",u),!u.code||!u.grammar)return u.code&&(u.element.textContent=u.code),void n.hooks.run("complete",u);if(n.hooks.run("before-highlight",u),i&&_self.Worker){var c=new Worker(n.filename);c.onmessage=function(t){u.highlightedCode=t.data,n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,o&&o.call(u.element),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},c.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,o&&o.call(e),n.hooks.run("after-highlight",u),n.hooks.run("complete",u)},highlight:function(t,e,o){var r=n.tokenize(t,e);return i.stringify(n.util.encode(r),o)},tokenize:function(t,e,i){var o=n.Token,r=[t],a=e.rest;if(a){for(var s in a)e[s]=a[s];delete e.rest}t:for(var s in e)if(e.hasOwnProperty(s)&&e[s]){var l=e[s];l="Array"===n.util.type(l)?l:[l];for(var u=0;u<l.length;++u){var c=l[u],d=c.inside,h=!!c.lookbehind,f=!!c.greedy,p=0,g=c.alias;if(f&&!c.pattern.global){var m=c.pattern.toString().match(/[imuy]*$/)[0];c.pattern=RegExp(c.pattern.source,m+"g")}c=c.pattern||c;for(var v=0,y=0;v<r.length;y+=r[v].length,++v){var b=r[v];if(r.length>t.length)break t;if(!(b instanceof o)){c.lastIndex=0;var x=c.exec(b),w=1;if(!x&&f&&v!=r.length-1){if(c.lastIndex=y,x=c.exec(t),!x)break;for(var _=x.index+(h?x[1].length:0),k=x.index+x[0].length,S=v,C=y,T=r.length;S<T&&C<k;++S)C+=r[S].length,_>=C&&(++v,y=C);if(r[v]instanceof o||r[S-1].greedy)continue;w=S-v,b=t.slice(y,C),x.index-=y}if(x){h&&(p=x[1].length);var _=x.index+p,x=x[0].slice(p),k=_+x.length,D=b.slice(0,_),A=b.slice(k),M=[v,w];D&&M.push(D);var E=new o(s,d?n.tokenize(x,d):x,g,x,f);M.push(E),A&&M.push(A),Array.prototype.splice.apply(r,M)}}}}}return r},hooks:{all:{},add:function(t,e){var i=n.hooks.all;i[t]=i[t]||[],i[t].push(e)},run:function(t,e){var i=n.hooks.all[t];if(i&&i.length)for(var o,r=0;o=i[r++];)o(e)}}},i=n.Token=function(t,e,n,i,o){this.type=t,this.content=e,this.alias=n,this.length=0|(i||"").length,this.greedy=!!o};if(i.stringify=function(t,e,o){if("string"==typeof t)return t;if("Array"===n.util.type(t))return t.map(function(n){return i.stringify(n,e,t)}).join("");var r={type:t.type,content:i.stringify(t.content,e,o),tag:"span",classes:["token",t.type],attributes:{},language:e,parent:o};if("comment"==r.type&&(r.attributes.spellcheck="true"),t.alias){var a="Array"===n.util.type(t.alias)?t.alias:[t.alias];Array.prototype.push.apply(r.classes,a)}n.hooks.run("wrap",r);var s=Object.keys(r.attributes).map(function(t){return t+'="'+(r.attributes[t]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+(s?" "+s:"")+">"+r.content+"</"+r.tag+">"},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(t){var e=JSON.parse(t.data),i=e.language,o=e.code,r=e.immediateClose;_self.postMessage(n.highlight(o,n.languages[i],i)),r&&_self.close()},!1),_self.Prism):_self.Prism;var o=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return o&&(n.filename=o.src,document.addEventListener&&!o.hasAttribute("data-manual")&&("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener("DOMContentLoaded",n.highlightAll))),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.markup={comment:/<!--[\w\W]*?-->/,prolog:/<\?[\w\W]+?\?>/,doctype:/<!DOCTYPE[\w\W]+?>/i,cdata:/<!\[CDATA\[[\w\W]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:{pattern:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\w\W]*?>)[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:"language-css"}}),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:Prism.languages.css}}
7,alias:"language-css"}},Prism.languages.markup.tag)),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(true|false)\b/,function:/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,function:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*\*?|\/|~|\^|%|\.{3}/}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\\\|\\?[^\\])*?`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/(<script[\w\W]*?>)[\w\W]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript"}}),Prism.languages.js=Prism.languages.javascript,function(){"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){var t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.forEach&&Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(e){for(var n,i=e.getAttribute("data-src"),o=e,r=/\blang(?:uage)?-(?!\*)(\w+)\b/i;o&&!r.test(o.className);)o=o.parentNode;if(o&&(n=(e.className.match(r)||[,""])[1]),!n){var a=(i.match(/\.(\w+)$/)||[,""])[1];n=t[a]||a}var s=document.createElement("code");s.className="language-"+n,e.textContent="",s.textContent="Loadingâ¦",e.appendChild(s);var l=new XMLHttpRequest;l.open("GET",i,!0),l.onreadystatechange=function(){4==l.readyState&&(l.status<400&&l.responseText?(s.textContent=l.responseText,Prism.highlightElement(s)):l.status>=400?s.textContent="â Error "+l.status+" while fetching file: "+l.statusText:s.textContent="â Error: File does not exist or is empty")},l.send(null)})},document.addEventListener("DOMContentLoaded",self.Prism.fileHighlight))}(),!function(){"undefined"!=typeof self&&self.Prism&&self.document&&Prism.hooks.add("complete",function(t){if(t.code){var e=t.element.parentNode,n=/\s*\bline-numbers\b\s*/;if(e&&/pre/i.test(e.nodeName)&&(n.test(e.className)||n.test(t.element.className))&&!t.element.querySelector(".line-numbers-rows")){n.test(t.element.className)&&(t.element.className=t.element.className.replace(n,"")),n.test(e.className)||(e.className+=" line-numbers");var i,o=t.code.match(/\n(?!$)/g),r=o?o.length+1:1,a=new Array(r+1);a=a.join("<span></span>"),i=document.createElement("span"),i.setAttribute("aria-hidden","true"),i.className="line-numbers-rows",i.innerHTML=a,e.hasAttribute("data-start")&&(e.style.counterReset="linenumber "+(parseInt(e.getAttribute("data-start"),10)-1)),t.element.appendChild(i)}}})}(),function(){var t,e,n,i,o,r=function(t,e){return function(){return t.apply(e,arguments)}},a=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};e=function(){function t(){}return t.prototype.extend=function(t,e){var n,i;for(n in e)i=e[n],null==t[n]&&(t[n]=i);return t},t.prototype.isMobile=function(t){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)},t.prototype.createEvent=function(t,e,n,i){var o;return null==e&&(e=!1),null==n&&(n=!1),null==i&&(i=null),null!=document.createEvent?(o=document.createEvent("CustomEvent"),o.initCustomEvent(t,e,n,i)):null!=document.createEventObject?(o=document.createEventObject(),o.eventType=t):o.eventName=t,o},t.prototype.emitEvent=function(t,e){return null!=t.dispatchEvent?t.dis
vendor: 5,518 bytes, line 7
7patchEvent(e):e in(null!=t)?t[e]():"on"+e in(null!=t)?t["on"+e]():void 0},t.prototype.addEvent=function(t,e,n){return null!=t.addEventListener?t.addEventListener(e,n,!1):null!=t.attachEvent?t.attachEvent("on"+e,n):t[e]=n},t.prototype.removeEvent=function(t,e,n){return null!=t.removeEventListener?t.removeEventListener(e,n,!1):null!=t.detachEvent?t.detachEvent("on"+e,n):delete t[e]},t.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},t}(),n=this.WeakMap||this.MozWeakMap||(n=function(){function t(){this.keys=[],this.values=[]}return t.prototype.get=function(t){var e,n,i,o,r;for(r=this.keys,e=i=0,o=r.length;o>i;e=++i)if(n=r[e],n===t)return this.values[e]},t.prototype.set=function(t,e){var n,i,o,r,a;for(a=this.keys,n=o=0,r=a.length;r>o;n=++o)if(i=a[n],i===t)return void(this.values[n]=e);return this.keys.push(t),this.values.push(e)},t}()),t=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(t=function(){function t(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return t.notSupported=!0,t.prototype.observe=function(){},t}()),i=this.getComputedStyle||function(t){return this.getPropertyValue=function(e){var n;return"float"===e&&(e="styleFloat"),o.test(e)&&e.replace(o,function(t,e){return e.toUpperCase()}),(null!=(n=t.currentStyle)?n[e]:void 0)||null},this},o=/(\-([a-z]){1})/g,this.WOW=function(){function o(t){null==t&&(t={}),this.scrollCallback=r(this.scrollCallback,this),this.scrollHandler=r(this.scrollHandler,this),this.resetAnimation=r(this.resetAnimation,this),this.start=r(this.start,this),this.scrolled=!0,this.config=this.util().extend(t,this.defaults),this.animationNameCache=new n,this.wowEvent=this.util().createEvent(this.config.boxClass)}return o.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null},o.prototype.init=function(){var t;return this.element=window.document.documentElement,"interactive"===(t=document.readyState)||"complete"===t?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},o.prototype.start=function(){var e,n,i,o;if(this.stopped=!1,this.boxes=function(){var t,n,i,o;for(i=this.element.querySelectorAll("."+this.config.boxClass),o=[],t=0,n=i.length;n>t;t++)e=i[t],o.push(e);return o}.call(this),this.all=function(){var t,n,i,o;for(i=this.boxes,o=[],t=0,n=i.length;n>t;t++)e=i[t],o.push(e);return o}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(o=this.boxes,n=0,i=o.length;i>n;n++)e=o[n],this.applyStyle(e,!0);return this.disabled()||(this.util().addEvent(window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new t(function(t){return function(e){var n,i,o,r,a;for(a=[],n=0,i=e.length;i>n;n++)r=e[n],a.push(function(){var t,e,n,i;for(n=r.addedNodes||[],i=[],t=0,e=n.length;e>t;t++)o=n[t],i.push(this.doSync(o));return i}.call(t));return a}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},o.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},o.prototype.sync=function(){return t.notSupported?this.doSync(this.element):void 0},o.prototype.doSync=function(t){var e,n,i,o,r;if(null==t&&(t=this.element),1===t.nodeType){for(t=t.parentNode||t,o=t.querySelectorAll("."+this.config.boxClass),r=[],n=0,i=o.length;i>n;n++)e=o[n],a.call(this.all,e)<0?(this.boxes.push(e),this.all.push(e),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(e,!0),r.push(this.scrolled=!0)):r.push(void 0);return r}},o.prototype.show=function(t){return this.applyStyle(t),t.className=t.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(t),this.util().emitEvent(t,this.wowEvent),this.util().addEvent(t,"animationend",this.resetAnimation),this.util().addEvent(t,"oanimationend",this.resetAnimation),this.util().addEvent(t,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(t,"MSAnimationEnd",this.resetAnimation),t},o.prototype.applyStyle=function(t,e){var n,i,o;return i=t.getAttribute("data-wow-duration"),n=t.getAttribute("data-wow-delay"),o=t.getAttribute("data-wow-iteration"),this.animate(function(r){return function(){return r.customStyle(t,e,i,n,o)}}(this))},o.prototype.animate=function(){return"requestAnimationFrame"in window?function(t){return window.requestAnimationFrame(t)}:function(t){return t()}}(),o.prototype.resetStyle=function(){var t,e,n,i,o;for(i=this.boxes,o=[],e=0,n=i.length;n>e;e++)t=i[e],o.push(t.style.visibility="visible");return o},o.prototype.resetAnimation=function(t){var e;return t.type.toLowerCase().indexOf("animationend")>=0?(e=t.target||t.srcElement,e.className=e.className.replace(this.config.animateClass,"").trim()):void 0},o.prototype.customStyle=function(t,e,n,i,o){return e&&this.cacheAnimationName(t),t.style.visibility=e?"hidden":"visible",n&&this.vendorSet(t.style,{animationDuration:n}),i&&this.vendorSet(t.style,{animationDelay:i}),o&&this.vendorSet(t.style,{animationIterationCount:o}),this.vendorSet(t.style,{animationName:e?"none":this.cachedAnimationName(t)}),t}
7,o.prototype.vendors=["moz","webkit"],o.prototype.vendorSet=function(t,e){var n,i,o,r;i=[];for(n in e)o=e[n],t[""+n]=o,i.push(function(){var e,i,a,s;for(a=this.vendors,s=[],e=0,i=a.length;i>e;e++)r=a[e],s.push(t[""+r+n.charAt(0).toUpperCase()+n.substr(1)]=o);return s}.call(this));return i},o.prototype.vendorCSS=function(t,e){var n,o,r,a,s,l;for(s=i(t),a=s.getPropertyCSSValue(e),r=this.vendors,n=0,o=r.length;o>n;n++)l=r[n],a=a||s.getPropertyCSSValue("-"+l+"-"+e);return a},o.prototype.animationName=function(t){var e;try{e=this.vendorCSS(t,"animation-name").cssText}catch(n){e=i(t).getPropertyValue("animation-name")}return"none"===e?"":e},o.prototype.cacheAnimationName=function(t){return this.animationNameCache.set(t,this.animationName(t))},o.prototype.cachedAnimationName=function(t){return this.animationNameCache.get(t)},o.prototype.scrollHandler=function(){return this.scrolled=!0},o.prototype.scrollCallback=function(){var t;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var e,n,i,o;for(i=this.boxes,o=[],e=0,n=i.length;n>e;e++)t=i[e],t&&(this.isVisible(t)?this.show(t):o.push(t));return o}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},o.prototype.offsetTop=function(t){for(var e;void 0===t.offsetTop;)t=t.parentNode;for(e=t.offsetTop;t=t.offsetParent;)e+=t.offsetTop;return e},o.prototype.isVisible=function(t){var e,n,i,o,r;return n=t.getAttribute("data-wow-offset")||this.config.offset,r=window.pageYOffset,o=r+Math.min(this.element.clientHeight,this.util().innerHeight())-n,i=this.offsetTop(t),e=i+t.clientHeight,o>=i&&e>=r},o.prototype.util=function(){return null!=this._util?this._util:this._util=new e},o.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},o}()}.call(this),!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e(t,document):"function"==typeof define&&define.amd?define([],function(){return e(t,document)}):t.plyr=e(t,document)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function n(){var t,n,i,o=navigator.userAgent,r=navigator.appName,a=""+parseFloat(navigator.appVersion),s=parseInt(navigator.appVersion,10),l=!1,u=!1,c=!1,d=!1;return navigator.appVersion.indexOf("Windows NT")!==-1&&navigator.appVersion.indexOf("rv:11")!==-1?(l=!0,r="IE",a="11"):(n=o.indexOf("MSIE"))!==-1?(l=!0,r="IE",a=o.substring(n+5)):(n=o.indexOf("Chrome"))!==-1?(c=!0,r="Chrome",a=o.substring(n+7)):(n=o.indexOf("Safari"))!==-1?(d=!0,r="Safari",a=o.substring(n+7),(n=o.indexOf("Version"))!==-1&&(a=o.substring(n+8))):(n=o.indexOf("Firefox"))!==-1?(u=!0,r="Firefox",a=o.substring(n+8)):(t=o.lastIndexOf(" ")+1)<(n=o.lastIndexOf("/"))&&(r=o.substring(t,n),a=o.substring(n+1),r.toLowerCase()===r.toUpperCase()&&(r=navigator.appName)),(i=a.indexOf(";"))!==-1&&(a=a.substring(0,i)),(i=a.indexOf(" "))!==-1&&(a=a.substring(0,i)),s=parseInt(""+a,10),isNaN(s)&&(a=""+parseFloat(navigator.appVersion),s=parseInt(navigator.appVersion,10)),{name:r,version:s,isIE:l,isFirefox:u,isChrome:c,isSafari:d,isIos:/(iPad|iPhone|iPod)/g.test(navigator.platform),isIphone:/(iPhone|iPod)/g.test(navigator.userAgent),isTouch:"ontouchstart"in e.documentElement}}function i(t,e){var n=t.media;if("video"===t.type)switch(e){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"===t.type)switch(e){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}function o(t){if(!e.querySelectorAll('script[src="'+t+'"]').length){var n=e.createElement("script");n.src=t;var i=e.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i)}}function r(t,e){return Array.prototype.indexOf&&t.indexOf(e)!==-1}function a(t,e,n){return t.replace(new RegExp(e.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),n)}function s(t,e){t.length||(t=[t]);for(var n=t.length-1;n>=0;n--){var i=n>0?e.cloneNode(!0):e,o=t[n],r=o.parentNode,a=o.nextSibling;return i.appendChild(o),a?r.insertBefore(i,a):r.appendChild(i),i}}function l(t){t&&t.parentNode.removeChild(t)}function u(t,e){t.insertBefore(e,t.firstChild)}function c(t,e){for(var n in e)t.setAttribute(n,$.boolean(e[n])&&e[n]?"":e[n])}function d(t,n,i){var o=e.createElement(t);c(o,i),u(n,o)}function h(t){return t.replace(".","")}function f(t,e,n){if(t)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(/\s+/g," ").replace(" "+e+" ","");t.className=i+(n?" "+e:"")}}function p(t,e){return!!t&&(t.classList?t.classList.contains(e):new RegExp("(\\s|^)"+e+"(\\s|$)").test(t.className))}function g(t,n){var i=Element.prototype,o=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(t){return[].indexOf.call(e.querySelectorAll(t),this)!==-1};return o.call(t,n)}function m(t,e,n,i,o){y(t,e,function(e){n&&n.apply(t,[e]),i.apply(t,[e])},o)}function v(t,e,n,i,o){var r=e.split(" ");if($.boolean(o)||(o=!1),t instanceof NodeList)for(var a=0;a<t.length;a++)t[a]instanceof Node&&v(t[a],arguments[1],arguments[2],arguments[3]);else for(var s=0;s<r.length;s++)t[i?"addEventListener":"removeEventListener"](r[s],n,o)}function y(t,e,n,i){t&&v(t,e,n,!0,i)}function b(t,e,n,i){if(t&&e){$.boolean(n)||(n=!1);var o=new CustomEvent(e,{bubbles:n,detail:i});t.dispatchEvent(o)}}function x(t,e){if(t)return e=$.boolean(e)?e:!t.getAttribute("aria-pressed"),t.setAttribute("aria-pressed",e),e}function w(t,e){return 0===t||0===e||isNaN(t)||isNaN(e)?0:(t/e*100).toFixed(2)}function _(){var t=arguments;if(t.length){if(1===t.length)return t[0];for(var e=Array.prototype.shift.call(t),n=t.length,i=0;i<n;i++){var o=t[i];for(var r in o)o[r]&&o[r].constructor&&o[r].constructor===Object?(e[r]=e[r]||{},_(e[r],o[r])):e[r]=o[r]}return e}}function k(t){var e=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/;return t.match(e)?RegExp.$2:t}function S(t){var e=/^.*(vimeo.com\/|video\/)(\d+).*/;return t.match(e)?RegExp.$2:t}
7function C(){var t={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",element:null,prefix:""},n="webkit o moz ms khtml".split(" ");if($.undefined(e.cancelFullScreen))for(var i=0,o=n.length;i<o;i++){if(t.prefix=n[i],!$.undefined(e[t.prefix+"CancelFullScreen"])){t.supportsFullScreen=!0;break}if(!$.undefined(e.msExitFullscreen)&&e.msFullscreenEnabled){t.prefix="ms",t.supportsFullScreen=!0;break}}else t.supportsFullScreen=!0;return t.supportsFullScreen&&(t.fullScreenEventName="ms"===t.prefix?"MSFullscreenChange":t.prefix+"fullscreenchange",t.isFullScreen=function(t){switch($.undefined(t)&&(t=e.body),this.prefix){case"":return e.fullscreenElement===t;case"moz":return e.mozFullScreenElement===t;default:return e[this.prefix+"FullscreenElement"]===t}},t.requestFullScreen=function(t){return $.undefined(t)&&(t=e.body),""===this.prefix?t.requestFullScreen():t[this.prefix+("ms"===this.prefix?"RequestFullscreen":"RequestFullScreen")]()},t.cancelFullScreen=function(){return""===this.prefix?e.cancelFullScreen():e[this.prefix+("ms"===this.prefix?"ExitFullscreen":"CancelFullScreen")](); 8},t.element=function(){return""===this.prefix?e.fullscreenElement:e[this.prefix+"FullscreenElement"]}),t}function T(v,T){function M(t,e,n,i){b(t,e,n,_({},i,{plyr:qt}))}function L(e,n){T.debug&&t.console&&(n=Array.prototype.slice.call(n),$.string(T.logPrefix)&&T.logPrefix.length&&n.unshift(T.logPrefix),console[e].apply(console,n))}function N(){return{url:T.iconUrl,absolute:0===T.iconUrl.indexOf("http")||Vt.browser.isIE}}function R(){var t=[],e=N(),n=(e.absolute?"":e.url)+"#"+T.iconPrefix;return r(T.controls,"play-large")&&t.push('<button type="button" data-plyr="play" class="plyr__play-large">','<svg><use xlink:href="'+n+'-play" /></svg>','<span class="plyr__sr-only">'+T.i18n.play+"</span>","</button>"),t.push('<div class="plyr__controls">'),r(T.controls,"restart")&&t.push('<button type="button" data-plyr="restart">','<svg><use xlink:href="'+n+'-restart" /></svg>','<span class="plyr__sr-only">'+T.i18n.restart+"</span>","</button>"),r(T.controls,"rewind")&&t.push('<button type="button" data-plyr="rewind">','<svg><use xlink:href="'+n+'-rewind" /></svg>','<span class="plyr__sr-only">'+T.i18n.rewind+"</span>","</button>"),r(T.controls,"play")&&t.push('<button type="button" data-plyr="play">','<svg><use xlink:href="'+n+'-play" /></svg>','<span class="plyr__sr-only">'+T.i18n.play+"</span>","</button>",'<button type="button" data-plyr="pause">','<svg><use xlink:href="'+n+'-pause" /></svg>','<span class="plyr__sr-only">'+T.i18n.pause+"</span>","</button>"),r(T.controls,"fast-forward")&&t.push('<button type="button" data-plyr="fast-forward">','<svg><use xlink:href="'+n+'-fast-forward" /></svg>','<span class="plyr__sr-only">'+T.i18n.forward+"</span>","</button>"),r(T.controls,"progress")&&(t.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>% "+T.i18n.buffered,"</progress>"),T.tooltips.seek&&t.push('<span class="plyr__tooltip">00:00</span>'),t.push("</span>")),r(T.controls,"current-time")&&t.push('<span class="plyr__time">','<span class="plyr__sr-only">'+T.i18n.currentTime+"</span>",'<span class="plyr__time--current">00:00</span>',"</span>"),r(T.controls,"duration")&&t.push('<span class="plyr__time">','<span class="plyr__sr-only">'+T.i18n.duration+"</span>",'<span class="plyr__time--duration">00:00</span>',"</span>"),r(T.controls,"mute")&&t.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">'+T.i18n.toggleMute+"</span>","</button>"),r(T.controls,"volume")&&t.push('<span class="plyr__volume">','<label for="volume{id}" class="plyr__sr-only">'+T.i18n.volume+"</label>",'<input id="volume{id}" class="plyr__volume--input" type="range" min="'+T.volumeMin+'" max="'+T.volumeMax+'" value="'+T.volume+'" data-plyr="volume">','<progress class="plyr__volume--display" max="'+T.volumeMax+'" value="'+T.volumeMin+'" role="presentation"></progress>',"</span>"),r(T.controls,"captions")&&t.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">'+T.i18n.toggleCaptions+"</span>","</button>"),r(T.controls,"fullscreen")&&t.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">'+T.i18n.toggleFullscreen+"</span>","</button>"),t.push("</div>"),t.join("")}function W(){if(Vt.supported.full&&("audio"!==Vt.type||T.fullscreen.allowAudio)&&T.fullscreen.enabled){var t=I.supportsFullScreen;t||T.fullscreen.fallback&&!U()?(Gt((t?"Native":"Fallback")+" fullscreen enabled"),f(Vt.container,T.classes.fullscreen.enabled,!0)):Gt("Fullscreen not supported and fallback disabled"),Vt.buttons&&Vt.buttons.fullscreen&&x(Vt.buttons.fullscreen,!1),Y()}}function z(){if("video"===Vt.type){V(T.selectors.captions)||Vt.videoContainer.insertAdjacentHTML("afterbegin",'<div class="'+h(T.selectors.captions)+'"></div>'),Vt.usingTextTracks=!1,Vt.media.textTracks&&(Vt.usingTextTracks=!0);for(var t,e="",n=Vt.media.childNodes,i=0;i<n.length;i++)"track"===n[i].nodeName.toLowerCase()&&(t=n[i].kind,"captions"!==t&&"subt
8itles"!==t||(e=n[i].getAttribute("src")));if(Vt.captionExists=!0,""===e?(Vt.captionExists=!1,Gt("No caption track found")):Gt("Caption track found; URI: "+e),Vt.captionExists){for(var o=Vt.media.textTracks,r=0;r<o.length;r++)o[r].mode="hidden";if(B(Vt),(Vt.browser.isIE&&Vt.browser.version>=10||Vt.browser.isFirefox&&Vt.browser.version>=31)&&(Gt("Detected browser with known TextTrack issues - using manual fallback"),Vt.usingTextTracks=!1),Vt.usingTextTracks){Gt("TextTracks supported");for(var a=0;a<o.length;a++){var s=o[a];"captions"!==s.kind&&"subtitles"!==s.kind||y(s,"cuechange",function(){this.activeCues[0]&&"text"in this.activeCues[0]?j(this.activeCues[0].getCueAsHTML()):j()})}}else if(Gt("TextTracks not supported so rendering captions manually"),Vt.currentCaption="",Vt.captions=[],""!==e){var l=new XMLHttpRequest;l.onreadystatechange=function(){if(4===l.readyState)if(200===l.status){var t,e=[],n=l.responseText,i="\r\n";n.indexOf(i+i)===-1&&(i=n.indexOf("\r\r")!==-1?"\r":"\n"),e=n.split(i+i);for(var o=0;o<e.length;o++){t=e[o],Vt.captions[o]=[];var r=t.split(i),a=0;r[a].indexOf(":")===-1&&(a=1),Vt.captions[o]=[r[a],r[a+1]]}Vt.captions.shift(),Gt("Successfully loaded the caption file via AJAX")}else Qt(T.logPrefix+"There was a problem loading the caption file via AJAX")},l.open("get",e,!0),l.send()}}else f(Vt.container,T.classes.captions.enabled)}}function j(t){var n=V(T.selectors.captions),i=e.createElement("span");n.innerHTML="",$.undefined(t)&&(t=""),$.string(t)?i.innerHTML=t.trim():i.appendChild(t),n.appendChild(i),n.offsetHeight}function H(t){function e(t,e){var n=[];n=t.split(" --> ");for(var i=0;i<n.length;i++)n[i]=n[i].replace(/(\d+:\d+:\d+\.\d+).*/,"$1");return o(n[e])}function n(t){return e(t,0)}function i(t){return e(t,1)}function o(t){if(null===t||void 0===t)return 0;var e,n=[],i=[];return n=t.split(","),i=n[0].split(":"),e=Math.floor(60*i[0]*60)+Math.floor(60*i[1])+Math.floor(i[2])}if(!Vt.usingTextTracks&&"video"===Vt.type&&Vt.supported.full&&(Vt.subcount=0,t=$.number(t)?t:Vt.media.currentTime,Vt.captions[Vt.subcount])){for(;i(Vt.captions[Vt.subcount][0])<t.toFixed(1);)if(Vt.subcount++,Vt.subcount>Vt.captions.length-1){Vt.subcount=Vt.captions.length-1;break}Vt.media.currentTime.toFixed(1)>=n(Vt.captions[Vt.subcount][0])&&Vt.media.currentTime.toFixed(1)<=i(Vt.captions[Vt.subcount][0])?(Vt.currentCaption=Vt.captions[Vt.subcount][1],j(Vt.currentCaption)):j()}}function B(){if(Vt.buttons.captions){f(Vt.container,T.classes.captions.enabled,!0);var t=Vt.storage.captionsEnabled;$.boolean(t)||(t=T.captions.defaultActive),t&&(f(Vt.container,T.classes.captions.active,!0),x(Vt.buttons.captions,!0))}}function q(t){return Vt.container.querySelectorAll(t)}function V(t){return q(t)[0]}function U(){try{return t.self!==t.top}catch(t){return!0}}
8function Y(){function t(t){9===t.which&&Vt.isFullscreen&&(t.target!==i||t.shiftKey?t.target===n&&t.shiftKey&&(t.preventDefault(),i.focus()):(t.preventDefault(),n.focus()))}var e=q("input:not([disabled]), button:not([disabled])"),n=e[0],i=e[e.length-1];y(Vt.container,"keydown",t)}function G(t,e){if($.string(e))d(t,Vt.media,{src:e});else if(e.constructor===Array)for(var n=e.length-1;n>=0;n--)d(t,Vt.media,e[n])}function Q(){if(T.loadSprite){var t=N();t.absolute?(Gt("AJAX loading absolute SVG sprite"+(Vt.browser.isIE?" (due to IE)":"")),D(t.url,"sprite-plyr")):Gt("Sprite will be used as external resource directly")}var n=T.html;Gt("Injecting custom controls"),n||(n=R()),n=a(n,"{seektime}",T.seekTime),n=a(n,"{id}",Math.floor(1e4*Math.random()));var i;if($.string(T.selectors.controls.container)&&(i=e.querySelector(T.selectors.controls.container)),$.htmlElement(i)||(i=Vt.container),i.insertAdjacentHTML("beforeend",n),T.tooltips.controls)for(var o=q([T.selectors.controls.wrapper," ",T.selectors.labels," .",T.classes.hidden].join("")),r=o.length-1;r>=0;r--){var s=o[r];f(s,T.classes.hidden,!1),f(s,T.classes.tooltip,!0)}}function X(){try{return Vt.controls=V(T.selectors.controls.wrapper),Vt.buttons={},Vt.buttons.seek=V(T.selectors.buttons.seek),Vt.buttons.play=q(T.selectors.buttons.play),Vt.buttons.pause=V(T.selectors.buttons.pause),Vt.buttons.restart=V(T.selectors.buttons.restart),Vt.buttons.rewind=V(T.selectors.buttons.rewind),Vt.buttons.forward=V(T.selectors.buttons.forward),Vt.buttons.fullscreen=V(T.selectors.buttons.fullscreen),Vt.buttons.mute=V(T.selectors.buttons.mute),Vt.buttons.captions=V(T.selectors.buttons.captions),Vt.progress={},Vt.progress.container=V(T.selectors.progress.container),Vt.progress.buffer={},Vt.progress.buffer.bar=V(T.selectors.progress.buffer),Vt.progress.buffer.text=Vt.progress.buffer.bar&&Vt.progress.buffer.bar.getElementsByTagName("span")[0],Vt.progress.played=V(T.selectors.progress.played),Vt.progress.tooltip=Vt.progress.container&&Vt.progress.container.querySelector("."+T.classes.tooltip),Vt.volume={},Vt.volume.input=V(T.selectors.volume.input),Vt.volume.display=V(T.selectors.volume.display),Vt.duration=V(T.selectors.duration),Vt.currentTime=V(T.selectors.currentTime),Vt.seekTime=q(T.selectors.seekTime),!0}catch(t){return Qt("It looks like there is a problem with your controls HTML"),J(!0),!1}}function Z(){f(Vt.container,T.selectors.container.replace(".",""),Vt.supported.full)}function J(t){t&&r(T.types.html5,Vt.type)?Vt.media.setAttribute("controls",""):Vt.media.removeAttribute("controls")}function K(t){var e=T.i18n.play;if($.string(T.title)&&T.title.length&&(e+=", "+T.title,Vt.container.setAttribute("aria-label",T.title)),Vt.supported.full&&Vt.buttons.play)for(var n=Vt.buttons.play.length-1;n>=0;n--)Vt.buttons.play[n].setAttribute("aria-label",e);$.htmlElement(t)&&t.setAttribute("title",T.i18n.frameTitle.replace("{title}",T.title))}function tt(){var e=null;Vt.storage={},F.supported&&T.storage.enabled&&(t.localStorage.removeItem("plyr-volume"),e=t.localStorage.getItem(T.storage.key),e&&(/^\d+(\.\d+)?$/.test(e)?et({volume:parseFloat(e)}):Vt.storage=JSON.parse(e)))}function et(e){F.supported&&T.storage.enabled&&(_(Vt.storage,e),t.localStorage.setItem(T.storage.key,JSON.stringify(Vt.storage)))}function nt(){if(!Vt.media)return void Qt("No media element found!");if(Vt.supported.full&&(f(Vt.container,T.classes.type.replace("{0}",Vt.type),!0),r(T.types.embed,Vt.type)&&f(Vt.container,T.classes.type.replace("{0}","video"),!0),f(Vt.container,T.classes.stopped,T.autoplay),f(Vt.ontainer,T.classes.isIos,Vt.browser.isIos),f(Vt.container,T.classes.isTouch,Vt.browser.isTouch),"video"===Vt.type)){var t=e.createElement("div");t.setAttribute("class",T.classes.videoWrapper),s(Vt.media,t),Vt.videoContainer=t}r(T.types.embed,Vt.type)&&it()}function it(){var n,i=e.createElement("div"),r=Vt.type+"-"+Math.floor(1e4*Math.random());switch(Vt.type){case"youtube":n=k(Vt.embedId);break;case"vimeo":n=S(Vt.embedId);break;default:n=Vt.embedId}for(var a=q('[id^="'+Vt.type+'-"]'),s=a.length-1;s>=0;s--)l(a[s]);if(f(Vt.media,T.classes.videoWrapper,!0),f(Vt.media,T.classes.embedWrapper,!0),"youtube"===Vt.type)Vt.media.appendChild(i),i.setAttribute("id",r),$.object(t.YT)?rt(n,i):(o(T.urls.youtube.api),t.onYouTubeReadyCallbacks=t.onYouTubeReadyCallbacks||[],t.onYouTubeReadyCallbacks.push(function(){rt(n,i)}),t.onYouTubeIframeAPIReady=function(){t.onYouTubeReadyCallbacks.forEach(function(t){t()})});else if("vimeo"===Vt.type)if(Vt.supported.full?Vt.media.appendChild(i):i=Vt.media,i.setAttribute("id",r),$.object(t.Vimeo))at(n,i);else{o(T.urls.vimeo.api);var u=t.setInterval(function(){$.object(t.Vimeo)&&(t.clearInterval(u),at(n,i))},50)}else if("soundcloud"===Vt.type){var d=e.createElement("iframe");d.loaded=!1,y(d,"load",function(){d.loaded=!0}),c(d,{src:"https://w.soundcloud.com/player/?url=https://api.soundcloud.com/tracks/"+n,id:r}),i.appendChild(d),Vt.media.appendChild(i),t.SC||o(T.urls.soundcloud.api);var h=t.setInterval(function(){t.SC&&d.loaded&&(t.clearInterval(h),st.call(d))},50)}}function ot(){Vt.supported.full&&(Ht(),Bt()),K(V("iframe"))}function rt(e,n){Vt.embed=new t.YT.Player(n.id,{videoId:e,playerVars:{autoplay:T.autoplay?1:0,controls:Vt.supported.full?0:1,rel:0,showinfo:0,iv_load_policy:3,cc_load_policy:T.captions.defaultActive?1:0,cc_lang_pref:"en",wmode:"transparent",modestbranding:1,disablekb:1,origin:"*"},events:{onError:function(t){M(Vt.container,"error",!0,{code:t.data,embed:t.target})},onReady:function(e){var n=e.target;Vt.media.play=function(){n.playVideo(),Vt.media.paused=!1},Vt.media.pause=function(){n.pauseVideo(),Vt.media.paused=!0},Vt.media.stop=function(){n.stopVideo(),Vt.media.paused=!0},Vt.media.duration=n.getDuration(),Vt.media.paused=!0,Vt.media.currentTime=0,Vt.media.muted=n.isMuted(),T.title=n.getVideoData().title,Vt.supported.full&&Vt.media.querySelector("iframe").setAttribute("tabindex","-1"),ot(),M(Vt.media,"timeupdate"),M(Vt.media,"durationchange"),t.clearInterval(Ut.buffering),Ut.buffering=t.setInterval(function(){Vt.media.buffered=n.getVideoLoadedFraction(),(null===Vt.media.lastBuffered||Vt.media.lastBuffered<Vt.media.buffered)&&M(Vt.media,"progress"),Vt.media.lastBuffered=Vt.media.buffered,1===Vt.media.buffered&&(t.clearInterval(Ut.buffering),M(Vt.media,"canplaythrough"))},200)},onStateChange:function(e){var n=e.target;switch(t.clearInterval(Ut.playing),e.data){case 0:Vt.media.paused=!0,M(Vt.media,"ended");break;case 1:Vt.media.paused=!1,Vt.media.seeking&&M(Vt.media,"seeked"),Vt.media.seeking=!1,M(Vt.media,"play"),M(Vt.media,"playing"),Ut.playing=t.setInterval(function(){Vt.media.currentTime=n.getCurrentTime(),M(Vt.media,"timeupdate")},100),Vt.media.duration!==n.getDuration()&&(Vt.media.duration=n.getDuration(),M(Vt.media,"durationchange"));break;case 2:Vt.media.paused=!0,M(Vt.media,"pause")}M(Vt.container,"statechange",!1,{code:e.data})}}})}function at(e,n){Vt.embed=new t.Vimeo.Player(n,{id:parseInt(e),loop:T.loop,autoplay:T.autoplay,byline:!1,portrait:!1,title:!1}),Vt.media.play=function(){Vt.embed.play(),Vt.media.paused=!1},Vt.media.pause=function(){Vt.embed.pause(),Vt.media.paused=!0},Vt.media.stop=function(){Vt.embed.stop(),Vt.media.paused=!0},Vt.media.paused=!0,Vt.media.currentTime=0,ot(),Vt.embed.getCurrentTime().then(function(t){Vt.media.currentTime=t,M(Vt.media,"timeupdate")}),Vt.embed.getDuration().then(function(t){Vt.media.duration=t,M(Vt.media,"durationchange")}),Vt.embed.on("loaded",function(){$.htmlElement(Vt.embed.element)&&Vt.supp
8orted.full&&Vt.embed.element.setAttribute("tabindex","-1")}),Vt.embed.on("play",function(){Vt.media.paused=!1,M(Vt.media,"play"),M(Vt.media,"playing")}),Vt.embed.on("pause",function(){Vt.media.paused=!0,M(Vt.media,"pause")}),Vt.embed.on("timeupdate",function(t){Vt.media.seeking=!1,Vt.media.currentTime=t.seconds,M(Vt.media,"timeupdate")}),Vt.embed.on("progress",function(t){Vt.media.buffered=t.percent,M(Vt.media,"progress"),1===parseInt(t.percent)&&M(Vt.media,"canplaythrough")}),Vt.embed.on("seeked",function(){Vt.media.seeking=!1,M(Vt.media,"seeked"),M(Vt.media,"play")}),Vt.embed.on("ended",function(){Vt.media.paused=!0,M(Vt.media,"ended")})}function st(){Vt.embed=t.SC.Widget(this),Vt.embed.bind(t.SC.Widget.Events.READY,function(){Vt.media.play=function(){Vt.embed.play(),Vt.media.paused=!1},Vt.media.pause=function(){Vt.embed.pause(),Vt.media.paused=!0},Vt.media.stop=function(){Vt.embed.seekTo(0),Vt.embed.pause(),Vt.media.paused=!0},Vt.media.paused=!0,Vt.media.currentTime=0,Vt.embed.getDuration(function(t){Vt.media.duration=t/1e3,ot()}),Vt.embed.getPosition(function(t){Vt.media.currentTime=t,M(Vt.media,"timeupdate")}),Vt.embed.bind(t.SC.Widget.Events.PLAY,function(){Vt.media.paused=!1,M(Vt.media,"play"),M(Vt.media,"playing")}),Vt.embed.bind(t.SC.Widget.Events.PAUSE,function(){Vt.media.paused=!0,M(Vt.media,"pause")}),Vt.embed.bind(t.SC.Widget.Events.PLAY_PROGRESS,function(t){Vt.media.seeking=!1,Vt.media.currentTime=t.currentPosition/1e3,M(Vt.media,"timeupdate")}),Vt.embed.bind(t.SC.Widget.Events.LOAD_PROGRESS,function(t){Vt.media.buffered=t.loadProgress,M(Vt.media,"progress"),1===parseInt(t.loadProgress)&&M(Vt.media,"canplaythrough")}),Vt.embed.bind(t.SC.Widget.Events.FINISH,function(){Vt.media.paused=!0,M(Vt.media,"ended")})})}function lt(){"play"in Vt.media&&Vt.media.play()}function ut(){"pause"in Vt.media&&Vt.media.pause()}function ct(t){return $.boolean(t)||(t=Vt.media.paused),t?lt():ut(),t}function dt(t){$.number(t)||(t=T.seekTime),ft(Vt.media.currentTime-t)}function ht(t){$.number(t)||(t=T.seekTime),ft(Vt.media.currentTime+t)}function ft(t){var e=0,n=Vt.media.paused,i=pt();$.number(t)?e=t:$.object(t)&&r(["input","change"],t.type)&&(e=t.target.value/t.target.max*i),e<0?e=0:e>i&&(e=i),It(e);try{Vt.media.currentTime=e.toFixed(4)}catch(t){}if(r(T.types.embed,Vt.type)){switch(Vt.type){case"youtube":Vt.embed.seekTo(e);break;case"vimeo":Vt.embed.setCurrentTime(e.toFixed(0));break;case"soundcloud":Vt.embed.seekTo(1e3*e)}n&&ut(),M(Vt.media,"timeupdate"),Vt.media.seeking=!0,M(Vt.media,"seeking")}Gt("Seeking to "+Vt.media.currentTime+" seconds"),H(e)}function pt(){var t=parseInt(T.duration),e=0;return null===Vt.media.duration||isNaN(Vt.media.duration)||(e=Vt.media.duration),isNaN(t)?e:t}function gt(){f(Vt.container,T.classes.playing,!Vt.media.paused),f(Vt.container,T.classes.stopped,Vt.media.paused),Ot(Vt.media.paused)}function mt(){P={x:t.pageXOffset||0,y:t.pageYOffset||0}}function vt(){t.scrollTo(P.x,P.y)}function yt(t){var n=I.supportsFullScreen;if(n){if(!t||t.type!==I.fullScreenEventName)return I.isFullScreen(Vt.container)?I.cancelFullScreen():(mt(),I.requestFullScreen(Vt.container)),void(Vt.isFullscreen=I.isFullScreen(Vt.container));Vt.isFullscreen=I.isFullScreen(Vt.container)}else Vt.isFullscreen=!Vt.isFullscreen,e.body.style.overflow=Vt.isFullscreen?"hidden":"";f(Vt.container,T.classes.fullscreen.active,Vt.isFullscreen),Y(Vt.isFullscreen),Vt.buttons&&Vt.buttons.fullscreen&&x(Vt.buttons.fullscreen,Vt.isFullscreen),M(Vt.container,Vt.isFullscreen?"enterfullscreen":"exitfullscreen",!0),!Vt.isFullscreen&&n&&vt()}function bt(t){if($.boolean(t)||(t=!Vt.media.muted),x(Vt.buttons.mute,t),Vt.media.muted=t,0===Vt.media.volume&&xt(T.volume),r(T.types.embed,Vt.type)){switch(Vt.type){case"youtube":Vt.embed[Vt.media.muted?"mute":"unMute"]();break;case"vimeo":case"soundcloud":Vt.embed.setVolume(Vt.media.muted?0:parseFloat(T.volume/T.volumeMax))}M(Vt.media,"volumechange")}}function xt(t){var e=T.volumeMax,n=T.volumeMin;if($.undefined(t)&&(t=Vt.storage.volume),(null===t||isNaN(t))&&(t=T.volume),t>e&&(t=e),t<n&&(t=n),Vt.media.volume=parseFloat(t/e),Vt.volume.display&&(Vt.volume.display.value=t),r(T.types.embed,Vt.type)){switch(Vt.type){case"youtube":Vt.embed.setVolume(100*Vt.media.volume);break;case"vimeo":case"soundcloud":Vt.embed.setVolume(Vt.media.volume)}M(Vt.media,"volumechange")}0===t?Vt.media.muted=!0:Vt.media.muted&&t>0&&bt()}function wt(t){var e=Vt.media.muted?0:Vt.media.volume*T.volumeMax;$.number(t)||(t=T.volumeStep),xt(e+t)}function _t(t){var e=Vt.media.muted?0:Vt.media.volume*T.volumeMax;$.number(t)||(t=T.volumeStep),xt(e-t)}function kt(){var t=Vt.media.muted?0:Vt.media.volume*T.volumeMax;Vt.supported.full&&(Vt.volume.input&&(Vt.volume.input.value=t),Vt.volume.display&&(Vt.volume.display.value=t)),et({volume:t}
8),f(Vt.container,T.classes.muted,0===t),Vt.supported.full&&Vt.buttons.mute&&x(Vt.buttons.mute,0===t)}function St(t){Vt.supported.full&&Vt.buttons.captions&&($.boolean(t)||(t=Vt.container.className.indexOf(T.classes.captions.active)===-1),Vt.captionsEnabled=t,x(Vt.buttons.captions,Vt.captionsEnabled),f(Vt.container,T.classes.captions.active,Vt.captionsEnabled),M(Vt.container,Vt.captionsEnabled?"captionsenabled":"captionsdisabled",!0),et({captionsEnabled:Vt.captionsEnabled}))}function Ct(t){var e="waiting"===t.type;clearTimeout(Ut.loading),Ut.loading=setTimeout(function(){f(Vt.container,T.classes.loading,e),Ot(e)},e?250:0)}function Tt(t){if(Vt.supported.full){var e=Vt.progress.played,n=0,i=pt();if(t)switch(t.type){case"timeupdate":case"seeking":if(Vt.controls.pressed)return;n=w(Vt.media.currentTime,i),"timeupdate"===t.type&&Vt.buttons.seek&&(Vt.buttons.seek.value=n);break;case"playing":case"progress":e=Vt.progress.buffer,n=function(){var t=Vt.media.buffered;return t&&t.length?w(t.end(0),i):$.number(t)?100*t:0}()}Dt(e,n)}}function Dt(t,e){if(Vt.supported.full){if($.undefined(e)&&(e=0),$.undefined(t)){if(!Vt.progress||!Vt.progress.buffer)return;t=Vt.progress.buffer}$.htmlElement(t)?t.value=e:t&&(t.bar&&(t.bar.value=e),t.text&&(t.text.innerHTML=e))}}function At(t,e){if(e){isNaN(t)&&(t=0),Vt.secs=parseInt(t%60),Vt.mins=parseInt(t/60%60),Vt.hours=parseInt(t/60/60%60);var n=parseInt(pt()/60/60%60)>0;Vt.secs=("0"+Vt.secs).slice(-2),Vt.mins=("0"+Vt.mins).slice(-2),e.innerHTML=(n?Vt.hours+":":"")+Vt.mins+":"+Vt.secs}}function Mt(){if(Vt.supported.full){var t=pt()||0;!Vt.duration&&T.displayDuration&&Vt.media.paused&&At(t,Vt.currentTime),Vt.duration&&At(t,Vt.duration),Pt()}}function Et(t){At(Vt.media.currentTime,Vt.currentTime),t&&"timeupdate"===t.type&&Vt.media.seeking||Tt(t)}function It(t){$.number(t)||(t=0);var e=pt(),n=w(t,e);Vt.progress&&Vt.progress.played&&(Vt.progress.played.value=n),Vt.buttons&&Vt.buttons.seek&&(Vt.buttons.seek.value=n)}function Pt(t){var e=pt();if(T.tooltips.seek&&Vt.progress.container&&0!==e){var n=Vt.progress.container.getBoundingClientRect(),i=0,o=T.classes.tooltip+"--visible";if(t)i=100/n.width*(t.pageX-n.left);else{if(!p(Vt.progress.tooltip,o))return;i=Vt.progress.tooltip.style.left.replace("%","")}i<0?i=0:i>100&&(i=100),At(e/100*i,Vt.progress.tooltip),Vt.progress.tooltip.style.left=i+"%",t&&r(["mouseenter","mouseleave"],t.type)&&f(Vt.progress.tooltip,o,"mouseenter"===t.type)}}function Ot(e){if(T.hideControls&&"audio"!==Vt.type){var n=0,i=!1,o=e,a=p(Vt.container,T.classes.loading);if($.boolean(e)||(e&&e.type?(i="enterfullscreen"===e.type,o=r(["mousemove","touchstart","mouseenter","focus"],e.type),r(["mousemove","touchmove"],e.type)&&(n=2e3),"focus"===e.type&&(n=3e3)):o=p(Vt.container,T.classes.hideControls)),t.clearTimeout(Ut.hover),o||Vt.media.paused||a){if(f(Vt.container,T.classes.hideControls,!1),Vt.media.paused||a)return;Vt.browser.isTouch&&(n=3e3)}o&&Vt.media.paused||(Ut.hover=t.setTimeout(function(){(!Vt.controls.pressed&&!Vt.controls.hover||i)&&f(Vt.container,T.classes.hideControls,!0)},n))}}function $t(t){if(!$.undefined(t))return void Ft(t);var e;switch(Vt.type){case"youtube":e=Vt.embed.getVideoUrl();break;case"vimeo":Vt.embed.getVideoUrl.then(function(t){e=t});break;case"soundcloud":Vt.embed.getCurrentSound(function(t){e=t.permalink_url});break;default:e=Vt.media.currentSrc}return e||""}function Ft(t){function n(){if(Vt.embed=null,l(Vt.media),"video"===Vt.type&&Vt.videoContainer&&l(Vt.videoContainer),Vt.container&&Vt.container.removeAttribute("class"),"type"in t&&(Vt.type=t.type,"video"===Vt.type)){var n=t.sources[0];"type"in n&&r(T.types.embed,n.type)&&(Vt.type=n.type)}switch(Vt.supported=A(Vt.type),Vt.type){case"video":Vt.media=e.createElement("video");break;case"audio":Vt.media=e.createElement("audio");break;case"youtube":case"vimeo":case"soundcloud":Vt.media=e.createElement("div"),Vt.embedId=t.sources[0].src}u(Vt.container,Vt.media),$.boolean(t.autoplay)&&(T.autoplay=t.autoplay),r(T.types.html5,Vt.type)&&(T.crossorigin&&Vt.media.setAttribute("crossorigin",""),T.autoplay&&Vt.media.setAttribute("autoplay",""),"poster"in t&&Vt.media.setAttribute("poster",t.poster),T.loop&&Vt.media.setAttribute("loop","")),f(Vt.container,T.classes.fullscreen.active,Vt.isFullscreen),f(Vt.container,T.classes.captions.active,Vt.captionsEnabled),Z(),r(T.types.html5,Vt.type)&&G("source",t.sources),nt(),r(T.types.html5,Vt.type)&&("tracks"in t&&G("track",t.tracks),Vt.media.load()),(r(T.types.html5,Vt.type)||r(T.types.embed,Vt.type)&&!Vt.supported.full)&&(Ht(),Bt()),T.title=t.title,K()}return $.object(t)&&"sources"in t&&t.sources.length?(f(Vt.container,T.classes.ready,!1),ut(),It(),Dt(),Wt(),void zt(n,!1)):void Qt("Invalid source format")}function Lt(t){"video"===Vt.type&&Vt.media.setAttribute("poster",t)}function Nt(){function n(){var t=ct(),e=Vt.buttons[t?"play":"pause"],n=Vt.buttons[t?"pause":"play"];if(n=n&&n.length>1?n[n.length-1]:n[0]){var i=p(e,T.classes.tabFocus);setTimeout(function(){n.focus(),i&&(f(e,T.classes.tabFocus,!1),f(n,T.classes.tabFocus,!0))},100)}}function i(){var t=e.activeElement;return t=t&&t!==e.body?e.querySelector(":focus"):null}function o(t){return t.keyCode?t.keyCode:t.which}function a(t){for(var e in Vt.buttons){var n=Vt.buttons[e];
8if($.nodeList(n))for(var i=0;i<n.length;i++)f(n[i],T.classes.tabFocus,n[i]===t);else f(n,T.classes.tabFocus,n===t)}}function s(t){function e(){var t=Vt.media.duration;$.number(t)&&ft(t/10*(n-48))}var n=o(t),i="keydown"===t.type,a=i&&n===u;if($.number(n))if(i){var s=[48,49,50,51,52,53,54,56,57,32,75,38,40,77,39,37,70,67];switch(r(s,n)&&(t.preventDefault(),t.stopPropagation()),n){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:a||e();break;case 32:case 75:a||ct();break;case 38:wt();break;case 40:_t();break;case 77:a||bt();break;case 39:ht();break;case 37:dt();break;case 70:yt();break;case 67:a||St()}!I.supportsFullScreen&&Vt.isFullscreen&&27===n&&yt(),u=n}else u=null}var l=Vt.browser.isIE?"change":"input";if(T.keyboardShorcuts.focused){var u=null;T.keyboardShorcuts.global&&y(t,"keydown keyup",function(t){var e=o(t),n=i(),a=[48,49,50,51,52,53,54,56,57,75,77,70,67],l=E().length;1!==l||!r(a,e)||$.htmlElement(n)&&g(n,T.selectors.editable)||s(t)}),y(Vt.container,"keydown keyup",s)}y(t,"keyup",function(t){var e=o(t),n=i();9===e&&a(n)}),y(e.body,"click",function(){f(V("."+T.classes.tabFocus),T.classes.tabFocus,!1)});for(var c in Vt.buttons){var d=Vt.buttons[c];y(d,"blur",function(){f(d,"tab-focus",!1)})}m(Vt.buttons.play,"click",T.listeners.play,n),m(Vt.buttons.pause,"click",T.listeners.pause,n),m(Vt.buttons.restart,"click",T.listeners.restart,ft),m(Vt.buttons.rewind,"click",T.listeners.rewind,dt),m(Vt.buttons.forward,"click",T.listeners.forward,ht),m(Vt.buttons.seek,l,T.listeners.seek,ft),m(Vt.volume.input,l,T.listeners.volume,function(){xt(Vt.volume.input.value)}),m(Vt.buttons.mute,"click",T.listeners.mute,bt),m(Vt.buttons.fullscreen,"click",T.listeners.fullscreen,yt),I.supportsFullScreen&&y(e,I.fullScreenEventName,yt),y(Vt.buttons.captions,"click",St),y(Vt.progress.container,"mouseenter mouseleave mousemove",Pt),T.hideControls&&(y(Vt.container,"mouseenter mouseleave mousemove touchstart touchend touchcancel touchmove enterfullscreen",Ot),y(Vt.controls,"mouseenter mouseleave",function(t){Vt.controls.hover="mouseenter"===t.type}),y(Vt.controls,"mousedown mouseup touchstart touchend touchcancel",function(t){Vt.controls.pressed=r(["mousedown","touchstart"],t.type)}),y(Vt.controls,"focus blur",Ot,!0)),y(Vt.volume.input,"wheel",function(t){t.preventDefault();var e=t.webkitDirectionInvertedFromDevice,n=T.volumeStep/5;(t.deltaY<0||t.deltaX>0)&&(e?_t(n):wt(n)),(t.deltaY>0||t.deltaX<0)&&(e?wt(n):_t(n))})}function Rt(){if(y(Vt.media,"timeupdate seeking",Et),y(Vt.media,"timeupdate",H),y(Vt.media,"durationchange loadedmetadata",Mt),y(Vt.media,"ended",function(){"video"===Vt.type&&T.showPosterOnEnd&&("video"===Vt.type&&j(),ft(),Vt.media.load())}),y(Vt.media,"progress playing",Tt),y(Vt.media,"volumechange",kt),y(Vt.media,"play pause ended",gt),y(Vt.media,"waiting canplay seeked",Ct),T.clickToPlay&&"audio"!==Vt.type){var t=V("."+T.classes.videoWrapper);if(!t)return;t.style.cursor="pointer",y(t,"click",function(){T.hideControls&&Vt.browser.isTouch&&!Vt.media.paused||(Vt.media.paused?lt():Vt.media.ended?(ft(),lt()):ut())})}T.disableContextMenu&&y(Vt.media,"contextmenu",function(t){t.preventDefault()}),y(Vt.media,T.events.concat(["keyup","keydown"]).join(" "),function(t){M(Vt.container,t.type,!0)})}function Wt(){if(r(T.types.html5,Vt.type)){for(var t=Vt.media.querySelectorAll("source"),e=0;e<t.length;e++)l(t[e]);Vt.media.setAttribute("src","https://cdn.selz.com/plyr/blank.mp4"),Vt.media.load(),Gt("Cancelled network requests")}}function zt(n,i){function o(){clearTimeout(Ut.cleanUp),$.boolean(i)||(i=!0),$.function(n)&&n.call(Yt),i&&(Vt.init=!1,Vt.container.parentNode.replaceChild(Yt,Vt.container),e.body.style.overflow="",M(Yt,"destroyed",!0))}if(!Vt.init)return null;switch(Vt.type){case"youtube":t.clearInterval(Ut.buffering),t.clearInterval(Ut.playing),Vt.embed.destroy(),o();break;case"vimeo":Vt.embed.unload().then(o),Ut.cleanUp=t.setTimeout(o,200);break;case"video":case"audio":J(!0),o()}}function jt(){if(Vt.init)return null;if(I=C(),Vt.browser=n(),$.htmlElement(Vt.media)){tt();var t=v.tagName.toLowerCase();"div"===t?(Vt.type=v.getAttribute("data-type"),Vt.embedId=v.getAttribute("data-video-id"),v.removeAttribute("data-type"),v.removeAttribute("data-video-id")):(Vt.type=t,T.crossorigin=null!==v.getAttribute("crossorigin"),T.autoplay=T.autoplay||null!==v.getAttribute("autoplay"),T.loop=T.loop||null!==v.getAttribute("loop")),Vt.supp
8orted=A(Vt.type),Vt.supported.basic&&(Vt.container=s(v,e.createElement("div")),Vt.container.setAttribute("tabindex",0),Z(),Gt(""+Vt.browser.name+" "+Vt.browser.version),nt(),(r(T.types.html5,Vt.type)||r(T.types.embed,Vt.type)&&!Vt.supported.full)&&(Ht(),Bt(),K()),Vt.init=!0)}}function Ht(){if(!Vt.supported.full)return Qt("Basic support only",Vt.type),l(V(T.selectors.controls.wrapper)),l(V(T.selectors.buttons.play)),void J(!0);var t=!q(T.selectors.controls.wrapper).length;t&&Q(),X()&&(t&&Nt(),Rt(),J(),W(),z(),xt(),kt(),Et(),gt())}function Bt(){t.setTimeout(function(){M(Vt.media,"ready")},0),f(Vt.media,O.classes.setup,!0),f(Vt.container,T.classes.ready,!0),Vt.media.plyr=qt,T.autoplay&<()}var qt,Vt=this,Ut={};Vt.media=v;var Yt=v.cloneNode(!0),Gt=function(){L("log",arguments)},Qt=function(){L("warn",arguments)};return Gt("Config",T),qt={getOriginal:function(){return Yt},getContainer:function(){return Vt.container},getEmbed:function(){return Vt.embed},getMedia:function(){return Vt.media},getType:function(){return Vt.type},getDuration:pt,getCurrentTime:function(){return Vt.media.currentTime},getVolume:function(){return Vt.media.volume},isMuted:function(){return Vt.media.muted},isReady:function(){return p(Vt.container,T.classes.ready)},isLoading:function(){return p(Vt.container,T.classes.loading)},isPaused:function(){return Vt.media.paused},on:function(t,e){return y(Vt.container,t,e),this},play:lt,pause:ut,stop:function(){ut(),ft()},restart:ft,rewind:dt,forward:ht,seek:ft,source:$t,poster:Lt,setVolume:xt,togglePlay:ct,toggleMute:bt,toggleCaptions:St,toggleFullscreen:yt,toggleControls:Ot,isFullscreen:function(){return Vt.isFullscreen||!1},support:function(t){return i(Vt,t)},destroy:zt},jt(),Vt.init?qt:null}function D(t,n){var i=new XMLHttpRequest;if(!$.string(n)||!$.htmlElement(e.querySelector("#"+n))){var o=e.createElement("div");o.setAttribute("hidden",""),$.string(n)&&o.setAttribute("id",n),e.body.insertBefore(o,e.body.childNodes[0]),"withCredentials"in i&&(i.open("GET",t,!0),i.onload=function(){o.innerHTML=i.responseText},i.send())}}function A(t){var i=n(),o=i.isIE&&i.version<=9,r=i.isIos,a=i.isIphone,s=!!e.createElement("audio").canPlayType,l=!!e.createElement("video").canPlayType,u=!1,c=!1;switch(t){case"video":u=l,c=u&&!o&&!a;break;case"audio":u=s,c=u&&!o;break;case"vimeo":u=!0,c=!o&&!r;break;case"youtube":u=!0,c=!o&&!r,r&&!a&&i.version>=10&&(c=!0);break;case"soundcloud":u=!0,c=!o&&!a;break;default:u=s&&l,c=u&&!o}return{basic:u,full:c}}function M(t,n){function i(t,e){p(e,O.classes.hook)||o.push({target:t,media:e})}var o=[],r=[],a=[O.selectors.html5,O.selectors.embed].join(","); 9if($.string(t)?t=e.querySelectorAll(t):$.htmlElement(t)?t=[t]:$.nodeList(t)||$.array(t)||$.string(t)||($.undefined(n)&&$.object(t)&&(n=t),t=e.querySelectorAll(a)),$.nodeList(t)&&(t=Array.prototype.slice.call(t)),!A().basic||!t.length)return!1;for(var s=0;s<t.length;s++){var l=t[s],u=l.querySelectorAll(a);if(u.length)for(var c=0;c<u.length;c++)i(l,u[c]);else g(l,a)&&i(l,l)}return o.forEach(function(t){var e=t.target,i=t.media,o=!1;i===e&&(o=!0);var a={};try{a=JSON.parse(e.getAttribute("data-plyr"))}catch(t){}var s=_({},O,n,a);if(!s.enabled)return null;var l=new T(i,s);if($.object(l)){if(s.debug){var u=s.events.concat(["setup","statechange","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled"]);y(l.getContainer(),u.join(" "),function(t){console.log([s.logPrefix,"event:",t.type].join(" "),t.detail.plyr)})}b(l.getContainer(),"setup",!0,{plyr:l}),r.push(l)}}),r}function E(t){if($.string(t)?t=e.querySelector(t):$.undefined(t)&&(t=e.body),$.htmlElement(t)){var n=t.querySelectorAll("."+O.classes.setup),i=[];return Array.prototype.slice.call(n).forEach(function(t){$.object(t.plyr)&&i.push(t.plyr)}),i}return[]}var I,P={x:0,y:0},O={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.10/plyr.svg",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-control
9s",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",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]"},$={object:function(t){return null!==t&&"object"==typeof t},array:function(t){return null!==t&&"object"==typeof t&&t.constructor===Array},number:function(t){return null!==t&&("number"==typeof t&&!isNaN(t-0)||"object"==typeof t&&t.constructor===Number)},string:function(t){return null!==t&&("string"==typeof t||"object"==typeof t&&t.constructor===String)},boolean:function(t){return null!==t&&"boolean"==typeof t},nodeList:function(t){return null!==t&&t instanceof NodeList},htmlElement:function(t){return null!==t&&t instanceof HTMLElement},function:function(t){return null!==t&&"function"==typeof t},undefined:function(t){return null!==t&&"undefined"==typeof t}},F={supported:function(){if(!("localStorage"in t))return!1;try{t.localStorage.setItem("___test","OK");var e=t.localStorage.getItem("___test");return t.localStorage.removeItem("___test"),"OK"===e}catch(t){return!1}return!1}()};return{setup:M,supported:A,loadSprite:D,get:E}}),function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t)}(),!function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},i=n[t]=n[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{},i=n[t]=n[t]||{};return i[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=n.indexOf(e);return-1!=i&&n.splice(i,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=0,o=n[i];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var a=r&&r[o];a&&(this.off(t,o),delete r[o]),o.apply(this,e),i+=a?0:1,o=n[i]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(n){return e(t,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}(window,function(t,e){function n(t,e){for(var n in e)t[n]=e[n];return t}function i(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var n=0;n<t.length;n++)e.push(t[n]);else e.push(t);return e}function o(t,e,r){return this instanceof o?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=i(t),this.options=n({},this.options),"function"==typeof e?r=e:n(this.options,e),r&&this.on("always",r),this.getImages(),s&&(this.jqDeferred=new s.Deferred),void setTimeout(function(){this.check()}.bind(this))):new o(t,e,r)}function r(t){this.img=t}function a(t,e){this.url=t,this.element=e,this.img=new Image}var s=t.jQuery,l=t.console;o.prototype=Object.create(e.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEac
vendor: 4,323 bytes, line 9
9h(this.addElementImages,this)},o.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),this.options.background===!0&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&u[e]){for(var n=t.querySelectorAll("img"),i=0;i<n.length;i++){var o=n[i];this.addImage(o)}if("string"==typeof this.options.background){var r=t.querySelectorAll(this.options.background);for(i=0;i<r.length;i++){var a=r[i];this.addElementBackgroundImages(a)}}}};var u={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var n=/url\((['"])?(.*?)\1\)/gi,i=n.exec(e.backgroundImage);null!==i;){var o=i&&i[2];o&&this.addBackground(o,t),i=n.exec(e.backgroundImage)}},o.prototype.addImage=function(t){var e=new r(t);this.images.push(e)},o.prototype.addBackground=function(t,e){var n=new a(t,e);this.images.push(n)},o.prototype.check=function(){function t(t,n,i){setTimeout(function(){e.progress(t,n,i)})}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},o.prototype.progress=function(t,e,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+n,t,e)},o.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},r.prototype=Object.create(e.prototype),r.prototype.check=function(){var t=this.getIsImageComplete();return t?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},r.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},r.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},r.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},r.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype=Object.create(r.prototype),a.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var t=this.getIsImageComplete();t&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},a.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},o.makeJQueryPlugin=function(e){e=e||t.jQuery,e&&(s=e,s.fn.imagesLoaded=function(t,e){var n=new o(this,t,e);return n.jqDeferred.promise(s(this))})},o.makeJQueryPlugin(),o}),!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(n){return e(t,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function n(n,r,s){function l(t,e,i){var o,r="$()."+n+'("'+e+'")';return t.each(function(t,l){var u=s.data(l,n);if(!u)return void a(n+" not initialized. Cannot call methods, i.e. "+r);var c=u[e];if(!c||"_"==e.charAt(0))return void a(r+" is not a valid method");var d=c.apply(u,i);o=void 0===o?d:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,i){var o=s.data(i,n);o?(o.option(e),o._init()):(o=new r(i,e),s.data(i,n,o))})}s=s||e||t.jQuery,s&&(r.prototype.option||(r.prototype.option=function(t){s.isPlainObject(t)&&(this.options=s.extend(!0,this.options,t))}),s.fn[n]=function(t){if("string"==typeof t){var e=o.call(arguments,1
vendor: 3,654 bytes, line 9
9);return l(this,t,e)}return u(this,t),this},i(s))}function i(t){!t||t&&t.bridget||(t.bridget=n)}var o=Array.prototype.slice,r=t.console,a="undefined"==typeof r?function(){}:function(t){r.error(t)};return i(e||t.jQuery),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},i=n[t]=n[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{},i=n[t]=n[t]||{};return i[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=n.indexOf(e);return-1!=i&&n.splice(i,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=0,o=n[i];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var a=r&&r[o];a&&(this.off(t,o),delete r[o]),o.apply(this,e),i+=a?0:1,o=n[i]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),n=-1==t.indexOf("%")&&!isNaN(e);return n&&e}function e(){}function n(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u>e;e++){var n=l[e];t[n]=0}return t}function i(t){var e=getComputedStyle(t);return e||s("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function o(){if(!c){c=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(e);var o=i(e);r.isBoxSizeOuter=a=200==t(o.width),n.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=i(e);if("none"==r.display)return n();var s={};s.width=e.offsetWidth,s.height=e.offsetHeight;for(var c=s.isBorderBox="border-box"==r.boxSizing,d=0;u>d;d++){var h=l[d],f=r[h],p=parseFloat(f);s[h]=isNaN(p)?0:p}var g=s.paddingLeft+s.paddingRight,m=s.paddingTop+s.paddingBottom,v=s.marginLeft+s.marginRight,y=s.marginTop+s.marginBottom,b=s.borderLeftWidth+s.borderRightWidth,x=s.borderTopWidth+s.borderBottomWidth,w=c&&a,_=t(r.width);_!==!1&&(s.width=_+(w?0:g+b));var k=t(r.height);return k!==!1&&(s.height=k+(w?0:m+x)),s.innerWidth=s.width-(g+b),s.innerHeight=s.height-(m+x),s.outerWidth=s.width+v,s.outerHeight=s.height+y,s}}var a,s="undefined"==typeof console?e:function(t){console.error(t)},l=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=l.length,c=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0;n<e.length;n++){var i=e[n],o=i+"MatchesSelector";if(t[o])return o}}();return function(e,n){return e[t](n)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
9sandro-matches-selector/matches-selector"],function(n){return e(t,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var n={};n.extend=function(t,e){for(var n in e)t[n]=e[n];return t},n.modulo=function(t,e){return(t%e+e)%e},n.makeArray=function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var n=0;n<t.length;n++)e.push(t[n]);else e.push(t);return e},n.removeFrom=function(t,e){var n=t.indexOf(e);-1!=n&&t.splice(n,1)},n.getParent=function(t,n){for(;t!=document.body;)if(t=t.parentNode,e(t,n))return t},n.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.filterFindElements=function(t,i){t=n.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!i)return void o.push(t);e(t,i)&&o.push(t);for(var n=t.querySelectorAll(i),r=0;r<n.length;r++)o.push(n[r])}}),o},n.debounceMethod=function(t,e,n){var i=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){i.apply(r,e),delete r[o]},n||100)}},n.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?t():document.addEventListener("DOMContentLoaded",t)},n.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()};var i=t.console;return n.htmlInit=function(e,o){n.docReady(function(){var r=n.toDashed(o),a="data-"+r,s=document.querySelectorAll("["+a+"]"),l=document.querySelectorAll(".js-"+r),u=n.makeArray(s).concat(n.makeArray(l)),c=a+"-options",d=t.jQuery;u.forEach(function(t){var n,r=t.getAttribute(a)||t.getAttribute(c);try{n=r&&JSON.parse(r)}catch(e){return void(i&&i.error("Error parsing "+a+" on "+t.className+": "+e))}var s=new e(t,n);d&&d.data(t,o,s)})})},n}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function n(t){for(var e in t)return!1;return e=null,!0}function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,a="string"==typeof r.transition?"transition":"WebkitTransition",s="string"==typeof r.transform?"transform":"WebkitTransform",l={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[a],u={transform:s,transition:a,transitionDuration:a+"Duration",transitionProperty:a+"Property",transitionDelay:a+"Delay"},c=i.prototype=Object.create(t.prototype);c.constructor=i,c._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},c.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},c.getSize=function(){this.size=e(this.element)},c.css=function(t){var e=this.element.style;for(var n in t){var i=u[n]||n;e[i]=t[n]}},c.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=t[e?"left":"right"],o=t[n?"top":"bottom"],r=this.layout.size,a=-1!=i.indexOf("%")?parseFloat(i)/100*r.width:parseInt(i,10),s=-1!=o.indexOf("%")?parseFloat(o)/100*r.height:parseInt(o,10);a=isNaN(a)?0:a,s=isNaN(s)?0:s,a-=e?r.paddingLeft:r.paddingRight,s-=n?r.paddingTop:r.paddingBottom,this.position.x=a,this.position.y=s},c.layoutPosition=function(){var t=this.layout.size,e={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=n?"paddingLeft":"paddingRight",r=n?"left":"right",a=n?"right":"left",s=this.position.x+t[o];e[r]=this.getXValue(s),e[a]="";var l=i?"paddingTop":"paddingBottom",u=i?"top":"bottom",c=i?"bottom":"top",d=this.position.y+t[l];e[u]=this.getYValue(d),e[c]="",this.css(e),this.emitEvent("layout",[this])},c.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},c.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},c._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,o=parseInt(t,10),r=parseInt(e,10),a=o===this.position.x&&r===this.position.y;if(this.setPosition(t,e),a&&!this.isTransitioning)return void this.layoutPosition();var s=t-n,l=e-i,u={};u.transform=this.getTranslate(s,l),this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},c.getTranslate=function(t,e){var n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop");return t=n?t:-t,e=i?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},c.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},c.moveTo=c._transitionTo,c.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},c._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},c.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var n in t.onTransitionEnd)e.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)e.ingProperties[n]=!0,t.isCleaning&&(e.clean[n]=!0);if(t.from){this.css(t.from);var i=this.element.offsetHeight;i=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var d="opacity,"+o(s);c.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:d,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(l,this,!1)}},c.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},c.onotransitionend=function(t){this.ontransitionend(t)};var h={"-webkit-transform":"transform"};c.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=h[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],n(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd){var o=e.onEnd[i];o.call(this),delete e.onEnd[i]}this.emitEvent("transitionEnd",[this])}},c.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(l,this,!1),this.isTransitioning=!1},c._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return c.removeTransitionStyles=function(){this.css(f)},c.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},c.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},c.remove=function(){return a&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},c.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},n=this.getHideRevealTransitionEndProperty("visibleStyle");e[n]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},c.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},c.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var n in e)return n},c.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},n=this.getHideRevealTransitionEndProperty("hiddenStyle");e[n]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},c.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},c.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(n,i,o,r){return e(t,n,i,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.f
vendor: 10,624 bytes, lines 9-10
9izzyUIUtils,t.Outlayer.Item)}(window,function(t,e,n,i,o){"use strict";function r(t,e){var n=i.getQueryElement(t);if(!n)return void(l&&l.error("Bad element for "+this.constructor.namespace+": "+(n||t)));this.element=n,u&&(this.$element=u(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(e);var o=++d;this.element.outlayerGUID=o,h[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function a(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function s(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),n=e&&e[1],i=e&&e[2];if(!n.length)return 0;n=parseFloat(n);var o=p[i]||1;return n*o}var l=t.console,u=t.jQuery,c=function(){},d=0,h={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;i.extend(f,e.prototype),f.option=function(t){i.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],o=0;o<e.length;o++){var r=e[o],a=new n(r,this);i.push(a)}return i},f._filterFindItemElements=function(t){return i.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=n(this.element)},f._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):o instanceof HTMLElement&&(i=o),this[t]=i?n(i)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var n=[];t.forEach(function(t){var i=this._getItemLayoutPosition(t);i.item=t,i.isInstant=e||t.isLayoutInstant,n.push(i)},this),this._processLayoutQueue(n)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=s(t),this.stagger)},f._positionItem=function(t,e,n,i,o){i?t.goTo(e,n):(t.stagger(o*this.stagger),t.moveTo(e,n))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=c,f._setContainerMeasure=function(t,e){if(void 0!==t){var n=this.size;n.isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function n(){o.dispatchEvent(t+"Complete",null,[e])}function i(){a++,a==r&&n()}var o=this,r=e.length;if(!e||!r)return void n();var a=0;e.forEach(function(e){e.once(t,i)})},f.dispatchEvent=function(t,e,n){var i=e?[e].concat(n):n;if(this.emitEvent(t,i),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,n)}else this.$element.trigger(t,n)},f.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){i.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=i.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=c,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=n(t),r={left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=i.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},i.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},f.needsResizeLayout=function(){var t=n(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var n=this.items.slice(0);this.items=e.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(n)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,n){t.stagger(n*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,n){t.stagger(n*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n}},f.getItems=function(t){t=i.makeArray(t);var e=[];return t.forEach(function(t){var n=this.getItem(t);n&&e.push(n)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),i.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete h[e],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=i.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&h[e]},r.create=function(t,e){var n=a(r);return n.defaults=i.extend({},r.defaults),i.extend(n.defaults,e),n.compatOptions=i.extend({},r.compatOptions),n.namespace=t,n.data=r.data,n.Item=a(o),i.htmlInit(n,t),u&&u.bridget&&u.bridget(t,n),n};var p={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var n=t.create("masonry");return n.compatOptions.fitWidth="isFitWidth",n.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(), 10this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0},n.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],n=t&&t.element;this.columnWidth=n&&e(n).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/i,a=i-o%i,s=a&&1>a?"round":"floor";r=Math[s](r),this.cols=Math.max(r,1)},n.prototype.getContainerWidth=function(){var t=this._getOption("fitWidth"),n=t?this.element.parentNode:this.element,i=e(n);this.containerWidth=i&&i.innerWidth},n.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,n=e&&1>e?"round":"ceil",i=Math[n](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this._getColGroup(i),r=Math.min.apply(Math,o),a=o.indexOf(r),s={x:this.columnWidth*a,y:r},l=r+t.size.outerHeight,u=this.cols+1-o.length,c=0;u>c;c++)this.colYs[a+c]=l;return s},n.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;n>i;i++){var o=this.colYs.slice(i,i+t);e[i]=Math.max.apply(Math,o)}return e},n.prototype._manageStamp=function(t){var n=e(t),i=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?i.left:i.right,a=r+n.outerWidth,s=Math.floor(r/this.columnWidth);s=Math.max(0,s);var l=Math.floor(a/this.columnWidth);l-=a%this.columnWidth?0:1,l=Math.min(this.cols-1,l);for(var u=this._getOption("originTop"),c=(u?i.top:i.bottom)+n.outerHeight,d=s;l>=d;d++)this.colYs[d]=Math.max(c,this.colYs[d])},n.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},n}),!function(){"use strict";function t(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");
vendor: 5,556 bytes, line 10
10this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,i),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,e+=1}var e=0,n={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var i in n)e.push(n[i]);for(var o=0,r=e.length;r>o;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,n+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,i={},o=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete i[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||o.isTouch)&&(e.didScroll=!0,o.requestAnimationFrame(t))})},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in e){var i=e[n],o=i.newScroll>i.oldScroll,r=o?i.forward:i.backward;for(var a in this.waypoints[n]){var s=this.waypoints[n][a],l=i.oldScroll<s.triggerPoint,u=i.newScroll>=s.triggerPoint,c=l&&u,d=!l&&!u;(c||d)&&(s.queueTrigger(r),t[s.group.id]=s.group)}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,o=t.length;o>i;i++)t[i].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,n=e?void 0:this.adapter.offset(),i={};this.handleScroll(),t={horizontal:{contextOffset:e?0:n.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:n.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var a=t[r];for(var s in this.waypoints[r]){var l,u,c,d,h,f=this.waypoints[r][s],p=f.options.offset,g=f.triggerPoint,m=0,v=null==g;f.element!==f.element.window&&(m=f.adapter.offset()[a.offsetProp]),"function"==typeof p?p=p.apply(f):"string"==typeof p&&(p=parseFloat(p),f.options.offset.indexOf("%")>-1&&(p=Math.ceil(a.contextDimension*p/100))),l=a.contextScroll-a.contextOffset,f.triggerPoint=m+l-p,u=g<a.oldScroll,c=f.triggerPoint>=a.oldScroll,d=u&&c,h=!u&&!c,!v&&d?(f.queueTrigger(a.backward),i[f.group.id]=f.group):!v&&h?(f.queueTrigger(a.forward),i[f.group.id]=f.group):v&&a.oldScroll>=f.triggerPoint&&(f.queueTrigger(a.forward),i[f.group.id]=f.group)}}
10return o.requestAnimationFrame(function(){for(var t in i)i[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in i)i[t].refresh()},e.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},o.requestAnimationFrame=function(e){var n=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;n.call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},o=window.Waypoint;n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],o="up"===n||"left"===n;i.sort(o?e:t);for(var r=0,a=i.length;a>r;r+=1){var s=i[r];(s.options.continuous||r===i.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var n=o.Adapter.inArray(e,this.waypoints),i=n===this.waypoints.length-1;return i?null:this.waypoints[n+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var n=o.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},o.Group=n}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,n=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,n){t.prototype[n]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(n,i){t[i]=e[i]}),n.adapters.push({name:"jquery",Adapter:t}),n.Adapter=t}(),function(){"use strict";function t(t){return function(){var n=[],i=arguments[0];return t.isFunction(arguments[0])&&(i=t.extend({},arguments[1]),i.handler=arguments[0]),this.each(function(){var o=t.extend({},i,{element:this});"string"==typeof o.context&&(o.context=t(this).closest(o.context)[0]),n.push(new e(o))}),n}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),!function(t){"use strict";t.fn.counterUp=function(e){var n,i=t.extend({time:400,delay:10,formatter:!1,callback:function(){}},e);return this.each(function(){var e=t(this),o={time:t(this).data("counterup-time")||i.time,delay:t(this).data("counterup-delay")||i.delay},r=function(){var t=[],r=o.time/o.delay,a=e.text(),s=/[0-9]+,[0-9]+/.test(a);a=a.replace(/,/g,"");var l=(a.split(".")[1]||[]).length,u=/[0-9]+:[0-9]+:[0-9]+/.test(a);if(u){var c=a.split(":"),d=1;for(n=0;c.length>0;)n+=d*parseInt(c.pop(),10),d*=60}for(var h=r;h>=1;h--){var f=parseFloat(a/r*h).toFixed(l);if(u){f=parseInt(n/r*h);var p=parseInt(f/3600)%24,g=parseInt(f/60)%60,m=parseInt(f%60,10);f=(10>p?"0"+p:p)+":"+(10>g?"0"+g:g)+":"+(10>m?"0"+m:m)}if(s)for(;/(\d+)(\d{3})/.test(f.toString());)f=f.toString().replace(/(\d+)(\d{3})/,"$1,$2");i.formatter&&(f=i.formatter.call(this,f)),t.unshift(f)}e.data("counterup-nums",t),e.text("0");var v=function(){return e.data("counterup-nums")?(e.html(e.data("counterup-nums").shift()),void(e.data("counterup-nums").length?setTimeout(e.data("counterup-func"),o.delay):(e.data("counterup-nums",null),e.data("counterup-func",null),i.callback.call(this)))):void i.callback.call(this)};e.data("counterup-func",v),setTimeout(e.data("counterup-func"),o.delay)};e.waypoint(function(t){r(),this.destroy()},{offset:"100%"})})}}(jQuery),!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.Chart=t()}}(function(){var t;return function t(e,n,i){function o(a,s){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(r)return r(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};e[a][0].call(c.exports,function(t){var n=e[a][1][t];return o(n?n:t)},c,c.exports,t,e,n,i)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a<i.length;a++)o(i[a]);return o}({1:[function(t,e,n){function i(t){if(t){var e=/^#([a-fA-F0-9]{3})$/,n=/^#([a-fA-F0-9]{6})$/,i=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,r=/(\w+)/,a=[0,0,0],s=1,l=t.match(e);if(l){l=l[1];for(var u=0;u<a.length;u++)a[u]=parseInt(l[u]+l[u],16)}else if(l=t.match(n)){l=l[1];for(var u=0;u<a.length;u++)a[u]=parseInt(l.slice(2*u,2*u+2),16)}else if(l=t.match(i)){for(var u=0;u<a.length;u++)a[u]=parseInt(l[u+1]);s=parseFloat(l[4])}
10else if(l=t.match(o)){for(var u=0;u<a.length;u++)a[u]=Math.round(2.55*parseFloat(l[u+1]));s=parseFloat(l[4])}else if(l=t.match(r)){if("transparent"==l[1])return[0,0,0,0];if(a=x[l[1]],!a)return}for(var u=0;u<a.length;u++)a[u]=y(a[u],0,255);return s=s||0==s?y(s,0,1):1,a[3]=s,a}}function o(t){if(t){var e=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]),o=y(parseInt(n[1]),0,360),r=y(parseFloat(n[2]),0,100),a=y(parseFloat(n[3]),0,100),s=y(isNaN(i)?1:i,0,1);return[o,r,a,s]}}}function r(t){if(t){var e=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]),o=y(parseInt(n[1]),0,360),r=y(parseFloat(n[2]),0,100),a=y(parseFloat(n[3]),0,100),s=y(isNaN(i)?1:i,0,1);return[o,r,a,s]}}}function a(t){var e=i(t);return e&&e.slice(0,3)}function s(t){var e=o(t);return e&&e.slice(0,3)}function l(t){var e=i(t);return e?e[3]:(e=o(t))?e[3]:(e=r(t))?e[3]:void 0}function u(t){return"#"+b(t[0])+b(t[1])+b(t[2])}function c(t,e){return 1>e||t[3]&&t[3]<1?d(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function d(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function h(t,e){if(1>e||t[3]&&t[3]<1)return f(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),o=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+o+"%)"}function f(t,e){var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),o=Math.round(t[2]/255*100);return"rgba("+n+"%, "+i+"%, "+o+"%, "+(e||t[3]||1)+")"}function p(t,e){return 1>e||t[3]&&t[3]<1?g(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function g(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function m(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"}function v(t){return w[t.slice(0,3)]}function y(t,e,n){return Math.min(Math.max(e,t),n)}function b(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var x=t(5);e.exports={getRgba:i,getHsla:o,getRgb:a,getHsl:s,getHwb:r,getAlpha:l,hexString:u,rgbString:c,rgbaString:d,percentString:h,percentaString:f,hslString:p,hslaString:g,hwbString:m,keyword:v};var w={};for(var _ in x)w[x[_]]=_},{5:5}],2:[function(t,e,n){var i=t(4),o=t(1),r=function(t){if(t instanceof r)return t;if(!(this instanceof r))return new r(t);this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var e;if("string"==typeof t)if(e=o.getRgba(t))this.setValues("rgb",e);else if(e=o.getHsla(t))this.setValues("hsl",e);else{if(!(e=o.getHwb(t)))throw new Error('Unable to parse color from string "'+t+'"');this.setValues("hwb",e)}else if("object"==typeof t)if(e=t,void 0!==e.r||void 0!==e.red)this.setValues("rgb",e);else if(void 0!==e.l||void 0!==e.lightness)this.setValues("hsl",e);else if(void 0!==e.v||void 0!==e.value)this.setValues("hsv",e);else if(void 0!==e.w||void 0!==e.whiteness)this.setValues("hwb",e);else{if(void 0===e.c&&void 0===e.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(t));this.setValues("cmyk",e)}};r.prototype={rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t%=360,t=0>t?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return o.hexString(this.values.rgb)},rgbString:function(){return o.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return o.rgbaString(this.values.rgb,this.values.alpha)}
10,percentString:function(){return o.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return o.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return o.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return o.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return o.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=.03928>=i?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb,e=(299*t[0]+587*t[1]+114*t[2])/1e3;return 128>e},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;3>e;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=0>n?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,o=void 0===e?.5:e,r=2*o-1,a=n.alpha()-i.alpha(),s=((r*a===-1?r:(r+a)/(1+r*a))+1)/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*o+i.alpha()*(1-o))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new r,i=this.values,o=n.values;for(var a in i)i.hasOwnProperty(a)&&(t=i[a],e={}.toString.call(t),"[object Array]"===e?o[a]=t.slice(0):"[object Number]"===e?o[a]=t:console.error("unexpected color value:",t));return n}},r.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},r.prototype.setValues=function(t,e){var n,o=this.values,r=this.spaces,a=this.maxes,s=1;if("alpha"===t)s=e;else if(e.length)o[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)o[t][n]=e[t.charAt(n)];s=e.a}else if(void 0!==e[r[t][0]]){var l=r[t];for(n=0;n<t.length;n++)o[t][n]=e[l[n]];s=e.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===s?o.alpha:s)),"alpha"===t)return!1;var u;for(n=0;n<t.length;n++)u=Math.max(0,Math.min(a[t][n],o[t][n])),o[t][n]=Math.round(u);for(var c in r)c!==t&&(o[c]=i[t][c](o[t]));return!0},r.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},r.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:n===i[e]?this:(i[e]=n,this.setValues(t,i),this)},"undefined"!=typeof window&&(window.Color=r),e.exports=r},{1:1,4:4}],3:[function(t,e,n){function i(t){var e,n,i,o=t[0]/255,r=t[1]/255,a=t[2]/255,s=Math.min(o,r,a),l=Math.max(o,r,a),u=l-s;return l==s?e=0:o==l?e=(r-a)/u:r==l?e=2+(a-o)/u:a==l&&(e=4+(o-r)/u),e=Math.min(60*e,360),0>e&&(e+=360),i=(s+l)/2,n=l==s?0:.5>=i?u/(l+s):u/(2-l-s),[e,100*n,100*i]}function o(t){var e,n,i,o=t[0],r=t[1],a=t[2],s=Math.min(o,r,a),l=Math.max(o,r,a),u=l-s;return n=0==l?0:u/l*1e3/10,l==s?e=0:o==l?e=(r-a)/u:r==l?e=2+(a-o)/u:a==l&&(e=4+(o-r)/u),e=Math.min(60*e,360),0>e&&(e+=360),i=l/255*1e3/10,[e,n,i]}function a(t){var e=t[0],n=t[1],o=t[2],r=i(t)[0],a=1/255*Math.min(e,Math.min(n,o)),o=1-1/255*Math.max(e,Math.max(n,o));return[r,100*a,100*o]}function s(t){var e,n,i,o,r=t[0]/255,a=t[1]/255,s=t[2]/255;return o=Math.min(1-r,1-a,1-s),e=(1-r-o)/(1-o)||0,n=(1-a-o)/(1-o)||0,i=(1-s-o)/(1-o)||0,[100*e,100*n,100*i,100*o]}function l(t){return Z[JSON.stringify(t)]}function u(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92;var o=.4124*e+.3576*n+.1805*i,r=.2126*e+.7152*n+.0722*i,a=.0193*e+.1192*n+.9505*i;return[100*o,100*r,100*a]}function c(t){var e,n,i,o=u(t),r=o[0],a=o[1],s=o[2];return r/=95.047,a/=100,s/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*a-16,n=500*(r-a),i=200*(a-s),[e,n,i]}function d(t){return R(c(t))}function h(t){var e,n,i,o,r,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return r=255*l,[r,r,r];n=.5>l?l*(1+s):l+s-l*s,e=2*l-n,o=[0,0,0];for(var u=0;3>u;u++)i=a+1/3*-(u-1),0>i&&i++,i>1&&i--,r=1>6*i?e+6*(n-e)*i:1>2*i?n:2>3*i?e+(n-e)*(2/3-i)*6:e,o[u]=255*r;return o}function f(t){var e,n,i=t[0],o=t[1]/100,r=t[2]/100;return 0===r?[0,0,0]:(r*=2,o*=1>=r?r:2-r,n=(r+o)/2,e=2*o/(r+o),[i,100*e,100*n])}function p(t){return a(h(t))}function m(t){return s(h(t))}function v(t){return l(h(t))}function y(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,o=Math.floor(e)%6,r=e-Math.floor(e),a=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r)),i=255*i;switch(o){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}}function x(t){var e,n,i=t[0],o=t[1]/100,r=t[2]/100;return n=(2-o)*r,e=o*r,e/=1>=n?n:2-n,e=e||0,n/=2,[i,100*e,100*n]}function w(t){return a(y(t))}function _(t){return s(y(t))}function k(t){return l(y(t))}function S(t){var e,n,i,o,a=t[0]/360,s=t[1]/100,l=t[2]/100,u=s+l;switch(u>1&&(s/=u,l/=u),e=Math.floor(6*a),n=1-l,i=6*a-e,0!=(1&e)&&(i=1-i),o=s+i*(n-s),e){default:case 6:case 0:r=n,g=o,b=s;break;case 1:r=o,g=n,b=s;break;case 2:r=s,g=n,b=o;break;case 3:r=s,g=o,b=n;break;case 4:r=o,g=s,b=n;break;case 5:r=n,g=s,b=o}return[255*r,255*g,255*b]}function C(t){return i(S(t))}function T(t){return o(S(t))}function D(t){return s(S(t))}function A(t){return l(S(t))}function M(t){var e,n,i,o=t[0]/100,r=t[1]/100,a=t[2]/100,s=t[3]/100;return e=1-Math.min(1,o*(1-s)+s),n=1-Math.min(1,r*(1-s)+s),i=1-Math.min(1,a*(1-s)+s),[255*e,255*n,255*i]}function E(t){return i(M(t))}function I(t){return o(M(t))}function P(t){return a(M(t))}function O(t){return l(M(t))}function $(t){var e,n,i,o=t[0]/100,r=t[1]/100,a=t[2]/100;return e=3.2406*o+-1.5372*r+a*-.4986,n=o*-.9689+1.8758*r+.0415*a,i=.0557*o+r*-.204+1.057*a,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:e=12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n=12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i=12.92*i,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*e,255*n,255*i]}function F(t){var e,n,i,o=t[0],r=t[1],a=t[2];return o/=95.047,r/=100,a/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,e=116*r-16,n=500*(o-r),i=200*(r-a),[e,n,i]}function L(t){return R(F(t))}function N(t){var e,n,i,o,r=t[0],a=t[1],s=t[2];return 8>=r?(n=100*r/903.3,o=7.787*(n/100)+16/116):(n=100*Math.pow((r+16)/116,3),o=Math.pow(n/100,1/3)),e=.008856>=e/95.047?e=95.047*(a/500+o-16/116)/7.787:95.047*Math.pow(a/500+o,3),i=.008859>=i/108.883?i=108.883*(o-s/200-16/116)/7.787:108.883*Math.pow(o-s/200,3),[e,n,i]}function R(t){var e,n,i,o=t[0],r=t[1],a=t[2];return e=Math.atan2(a,r),n=360*e/2/Math.PI,0>n&&(n+=360),i=Math.sqrt(r*r+a*a),[o,i,n]}function W(t){return $(N(t))}function z(t){var e,n,i,o=t[0],r=t[1],a=t[2];return i=a/360*2*Math.PI,e=r*Math.cos(i),n=r*Math.sin(i),[o,e,n]}function j(t){return N(z(t))}function H(t){return W(z(t))}function B(t){return X[t]}function q(t){return i(B(t))}function V(t){return o(B(t))}function U(t){return a(B(t))}function Y(t){return s(B(t))}function G(t){return c(B(t))}function Q(t){return u(B(t))}e.exports={rgb2hsl:i,rgb2hsv:o,rgb2hwb:a,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:c,rgb2lch:d,hsl2rgb:h,hsl2hsv:f,hsl2hwb:p,hsl2cmyk:m,hsl2keyword:v,hsv2rgb:y,hsv2hsl:x,hsv2hwb:w,hsv2cmyk:_,hsv2keyword:k,hwb2rgb:S,hwb2hsl:C,hwb2hsv:T,hwb2cmyk:D,hwb2keyword:A,cmyk2rgb:M,cmyk2hsl:E,cmyk2hsv:I,cmyk2hwb:P,cmyk2keyword:O,keyword2rgb:B,keyword2hsl:q,keyword2hsv:V,keyword2hwb:U,keyword2cmyk:Y,ke
vendor: 4,080 bytes, line 10
10yword2lab:G,keyword2xyz:Q,xyz2rgb:$,xyz2lab:F,xyz2lch:L,lab2xyz:N,lab2rgb:W,lab2lch:R,lch2lab:z,lch2xyz:j,lch2rgb:H};var X={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Z={};for(var J in X)Z[JSON.stringify(X[J])]=J},{}],4:[function(t,e,n){var i=t(3),o=function(){return new u};for(var r in i){o[r+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(r);var a=/(\w+)2(\w+)/.exec(r),s=a[1],l=a[2];o[s]=o[s]||{},o[s][l]=o[r]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var o=0;o<n.length;o++)n[o]=Math.round(n[o]);return n}}(r)}var u=function(){this.convs={}};
vendor: 4,388 bytes, lines 10-11
10u.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},u.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},u.prototype.getValues=function(t){var e=this.convs[t];if(!e){var n=this.space,i=this.convs[n];e=o[n][t](i),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){u.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),e.exports=o},{3:3}],5:[function(t,e,n){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255], 11beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],6:[function(e,n,i){!function(e,o){"object"==typeof i&&"undefined"!=typeof n?n.exports=o():"function"==typeof t&&t.amd?t(o):e.moment=o()}(this,function(){"use strict";function t(){return vi.apply(null,arguments)}function i(t){vi=t}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){var e;
vendor: 48,110 bytes, lines 11-12
11for(e in t)return!1;return!0}function s(t){return"number"==typeof value||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function d(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,n,i){return be(t,e,n,i,!0).utc()}function f(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function p(t){return null==t._pf&&(t._pf=f()),t._pf}function g(t){if(null==t._isValid){var e=p(t),n=bi.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function m(t){var e=h(NaN);return null!=t?d(p(e),t):p(e).userInvalidated=!0,e}function v(t){return void 0===t}function y(t,e){var n,i,o;if(v(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),v(e._i)||(t._i=e._i),v(e._f)||(t._f=e._f),v(e._l)||(t._l=e._l),v(e._strict)||(t._strict=e._strict),v(e._tzm)||(t._tzm=e._tzm),v(e._isUTC)||(t._isUTC=e._isUTC),v(e._offset)||(t._offset=e._offset),v(e._pf)||(t._pf=p(e)),v(e._locale)||(t._locale=e._locale),xi.length>0)for(n in xi)i=xi[n],o=e[i],v(o)||(t[i]=o);return t}function b(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),wi===!1&&(wi=!0,t.updateOffset(this),wi=!1)}function x(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function w(t){return 0>t?Math.ceil(t)||0:Math.floor(t)}function _(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=w(e)),n}function k(t,e,n){var i,o=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),a=0;for(i=0;o>i;i++)(n&&t[i]!==e[i]||!n&&_(t[i])!==_(e[i]))&&a++;return a+r}function S(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,n){var i=!0;return d(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),i){for(var o,r=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){o+="\n["+a+"] ";for(var s in arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];r.push(o)}S(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)},n)}function T(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),_i[e]||(S(n),_i[e]=!0)}function D(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t){var e,n;for(n in t)e=t[n],D(e)?this[n]=e:this["_"+n]=e;this._config=t,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function M(t,e){var n,i=d({},t);for(n in e)c(e,n)&&(r(t[n])&&r(e[n])?(i[n]={},d(i[n],t[n]),d(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)c(t,n)&&!c(e,n)&&r(t[n])&&(i[n]=d({},i[n]));return i}function E(t){null!=t&&this.set(t)}function I(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return D(i)?i.call(e,n):i}function P(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function O(){return this._invalidDate}function $(t){return this._ordinal.replace("%d",t)}function F(t,e,n,i){var o=this._relativeTime[n];return D(o)?o(t,e,n,i):o.replace(/%d/i,t)}function L(t,e){var n=this._relativeTime[t>0?"future":"past"];return D(n)?n(e):n.replace(/%s/i,e)}function N(t,e){var n=t.toLowerCase();Pi[n]=Pi[n+"s"]=Pi[e]=t}function R(t){return"string"==typeof t?Pi[t]||Pi[t.toLowerCase()]:void 0}function W(t){var e,n,i={};for(n in t)c(t,n)&&(e=R(n),e&&(i[e]=t[n]));return i}function z(t,e){Oi[t]=e}function j(t){var e=[];for(var n in t)e.push({unit:n,priority:Oi[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function H(e,n){return function(i){return null!=i?(q(this,e,i),t.updateOffset(this,n),this):B(this,e)}}function B(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function q(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function V(t){return t=R(t),D(this[t])?this[t]():this}function U(t,e){if("object"==typeof t){t=W(t);for(var n=j(t),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit])}else if(t=R(t),D(this[t]))return this[t](e);return this}function Y(t,e,n){var i=""+Math.abs(t),o=e-i.length,r=t>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}function G(t,e,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),t&&(Ni[t]=o),e&&(Ni[e[0]]=function(){return Y(o.apply(this,arguments),e[1],e[2])}),n&&(Ni[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function Q(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function X(t){var e,n,i=t.match($i);for(e=0,n=i.length;n>e;e++)Ni[i[e]]?i[e]=Ni[i[e]]:i[e]=Q(i[e]);return function(e){var o,r="";for(o=0;n>o;o++)r+=i[o]instanceof Function?i[o].call(e,t):i[o];return r}}function Z(t,e){return t.isValid()?(e=J(e,t.localeData()),Li[e]=Li[e]||X(e),Li[e](t)):t.localeData().invalidDate()}function J(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Fi.lastIndex=0;i>=0&&Fi.test(t);)t=t.replace(Fi,n),Fi.lastIndex=0,i-=1;return t}function K(t,e,n){eo[t]=D(e)?e:function(t,i){return t&&n?n:e}}function tt(t,e){return c(eo,t)?eo[t](e._strict,e._locale):new RegExp(et(t))}function et(t){return nt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,o){return e||n||i||o}))}function nt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function it(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),s(e)&&(i=function(t,n){n[e]=_(t)}),n=0;n<t.length;n++)no[t[n]]=i}function ot(t,e){it(t,function(t,n,i,o){i._w=i._w||{},e(t,i._w,i,o)})}function rt(t,e,n){null!=e&&c(no,t)&&no[t](e,n._a,n,t)}function at(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function st(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||po).test(e)?"format":"standalone"][t.month()]:this._months}function lt(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[po.test(e)?"format":"standalone"][t.month()]:this._monthsShort}function ut(t,e,n){var i,o,r,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;12>i;++i)r=h([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===e?(o=fo.call(this._shortMonthsParse,a),-1!==o?o:null):(o=fo.call(this._longMonthsParse,a),-1!==o?o:null):"MMM"===e?(o=fo.call(this._shortMonthsParse,a),-1!==o?o:(o=fo.call(this._longMonthsParse,a),-1!==o?o:null)):(o=fo.call(this._longMonthsParse,a),-1!==o?o:(o=fo.call(this._shortMonthsParse,a),-1!==o?o:null))}function ct(t,e,n){var i,o,r;if(this._monthsParseExact)return ut.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(o=h([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function dt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=_(e);else if(e=t.localeData().monthsParse(e),!s(e))return t;return n=Math.min(t.date(),at(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function ht(e){return null!=e?(dt(this,e),t.updateOffset(this,!0),this):B(this,"Month")}function ft(){return at(this.year(),this.month())}function pt(t){return this._monthsParseExact?(c(this,"_monthsRegex")||mt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=vo),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(t){return this._monthsParseExact?(c(this,"_monthsRegex")||mt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=yo),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function mt(){function t(t,e){return e.length-t.length}var e,n,i=[],o=[],r=[];for(e=0;12>e;e++)n=h([2e3,e]),i.push(this.monthsShort(n,"")),o.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(t),o.sort(t),r.sort(t),e=0;12>e;e++)i[e]=nt(i[e]),o[e]=nt(o[e]);for(e=0;24>e;e++)r[e]=nt(r[e]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function vt(t){return yt(t)?366:365}function yt(t){return t%4===0&&t%100!==0||t%400===0}function bt(){return yt(this.year())}function xt(t,e,n,i,o,r,a){var s=new Date(t,e,n,i,o,r,a);return 100>t&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function wt(t){var e=new Date(Date.UTC.apply(null,arguments));return 100>t&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function _t(t,e,n){var i=7+e-n,o=(7+wt(t,0,i).getUTCDay()-e)%7;return-o+i-1}function kt(t,e,n,i,o){var r,a,s=(7+n-i)%7,l=_t(t,i,o),u=1+7*(e-1)+s+l;return 0>=u?(r=t-1,a=vt(r)+u):u>vt(t)?(r=t+1,a=u-vt(t)):(r=t,a=u),{year:r,dayOfYear:a}}function St(t,e,n){var i,o,r=_t(t.year(),e,n),a=Math.floor((t.dayOfYear()-r-1)/7)+1;return 1>a?(o=t.year()-1,i=a+Ct(o,e,n)):a>Ct(t.year(),e,n)?(i=a-Ct(t.year(),e,n),o=t.year()+1):(o=t.year(),i=a),{week:i,year:o}}function Ct(t,e,n){var i=_t(t,e,n),o=_t(t+1,e,n);return(vt(t)-i+o)/7}function Tt(t){return St(t,this._week.dow,this._week.doy).week}function Dt(){return this._week.dow}function At(){return this._week.doy}function Mt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Et(t){var e=St(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function It(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Pt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ot(t,e){return t?o(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:this._weekdays}function $t(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Ft(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Lt(t,e,n){var i,o,r,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;7>i;++i)r=h([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===e?(o=fo.call(this._weekdaysParse,a),-1!==o?o:null):"ddd"===e?(o=fo.call(this._shortWeekdaysParse,a),-1!==o?o:null):(o=fo.call(this._minWeekdaysParse,a),-1!==o?o:null):"dddd"===e?(o=fo.call(this._weekdaysParse,a),-1!==o?o:(o=fo.call(this._shortWeekdaysParse,a),-1!==o?o:(o=fo.call(this._minWeekdaysParse,a),-1!==o?o:null))):"ddd"===e?(o=fo.call(this._shortWeekdaysParse,a),-1!==o?o:(o=fo.call(this._weekdaysParse,a),-1!==o?o:(o=fo.call(this._minWeekdaysParse,a),-1!==o?o:null))):(o=fo.call(this._minWeekdaysParse,a),-1!==o?o:(o=fo.call(this._weekdaysParse,a),-1!==o?o:(o=fo.call(this._shortWeekdaysParse,a),-1!==o?o:null)))}function Nt(t,e,n){var i,o,r;if(this._weekdaysParseExact)return Lt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;7>i;i++){if(o=h([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function Rt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=It(t,this.localeData()),this.add(t-e,"d")):e}function Wt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function zt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function jt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=So),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ht(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Co),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Bt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=To),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function t(t,e){return e.length-t.length}var e,n,i,o,r,a=[],s=[],l=[],u=[];for(e=0;7>e;e++)n=h([2e3,1]).day(e),i=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(i),s.push(o),l.push(r),u.push(i),u.push(o),u.push(r);for(a.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;7>e;e++)s[e]=nt(s[e]),l[e]=nt(l[e]),u[e]=nt(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Vt(){return this.hours()%12||12}function Ut(){return this.hours()||24}function Yt(t,e){G(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Gt(t,e){return e._meridiemParse}function Qt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Xt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Zt(t){return t?t.toLowerCase().replace("_","-"):t}function Jt(t){for(var e,n,i,o,r=0;r<t.length;){for(o=Zt(t[r]).split("-"),e=o.length,n=Zt(t[r+1]),n=n?n.split("-"):null;e>0;){if(i=Kt(o.slice(0,e).join("-")))return i;if(n&&n.length>=e&&k(o,n,!0)>=e-1)break;e--}r++}return null}function Kt(t){var i=null;if(!Io[t]&&"undefined"!=typeof n&&n&&n.exports)try{i=Do._abbr,e("./locale/"+t),te(i)}catch(t){}return Io[t]}function te(t,e){var n;return t&&(n=v(e)?ie(t):ee(t,e),n&&(Do=n)),Do._abbr}function ee(t,e){if(null!==e){var n=Eo;if(e.abbr=t,null!=Io[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Io[t]._config;else if(null!=e.parentLocale){if(null==Io[e.parentLocale])return Po[e.parentLocale]||(Po[e.parentLocale]=[]),Po[e.parentLocale].push({name:t,config:e}),null;n=Io[e.parentLocale]._config}return Io[t]=new E(M(n,e)),Po[t]&&Po[t].forEach(function(t){ee(t.name,t.config)}),te(t),Io[t]}return delete Io[t],null}function ne(t,e){if(null!=e){var n,i=Eo;null!=Io[t]&&(i=Io[t]._config),e=M(i,e),n=new E(e),n.parentLocale=Io[t],Io[t]=n,te(t)}else null!=Io[t]&&(null!=Io[t].parentLocale?Io[t]=Io[t].parentLocale:null!=Io[t]&&delete Io[t]);return Io[t]}function ie(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Do;if(!o(t)){if(e=Kt(t))return e;t=[t]}return Jt(t)}function oe(){return Ci(Io)}function re(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[oo]<0||n[oo]>11?oo:n[ro]<1||n[ro]>at(n[io],n[oo])?ro:n[ao]<0||n[ao]>24||24===n[ao]&&(0!==n[so]||0!==n[lo]||0!==n[uo])?ao:n[so]<0||n[so]>59?so:n[lo]<0||n[lo]>59?lo:n[uo]<0||n[uo]>999?uo:-1,p(t)._overflowDayOfYear&&(io>e||e>ro)&&(e=ro),p(t)._overflowWeeks&&-1===e&&(e=co),p(t)._overflowWeekday&&-1===e&&(e=ho),p(t).overflow=e),t}function ae(t){var e,n,i,o,r,a,s=t._i,l=Oo.exec(s)||$o.exec(s);if(l){for(p(t).iso=!0,e=0,n=Lo.length;n>e;e++)if(Lo[e][1].exec(l[1])){o=Lo[e][0],i=Lo[e][2]!==!1;break}if(null==o)return void(t._isValid=!1);if(l[3]){for(e=0,n=No.length;n>e;e++)if(No[e][1].exec(l[3])){r=(l[2]||" ")+No[e][0];break}if(null==r)return void(t._isValid=!1)}if(!i&&null!=r)return void(t._isValid=!1);if(l[4]){if(!Fo.exec(l[4]))return void(t._isValid=!1);a="Z"}t._f=o+(r||"")+(a||""),he(t)}else t._isValid=!1}function se(e){var n=Ro.exec(e._i);return null!==n?void(e._d=new Date((+n[1]))):(ae(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function le(t,e,n){return null!=t?t:null!=e?e:n}function ue(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ce(t){var e,n,i,o,r=[];if(!t._d){for(i=ue(t),t._w&&null==t._a[ro]&&null==t._a[oo]&&de(t),t._dayOfYear&&(o=le(t._a[io],i[io]),t._dayOfYear>vt(o)&&(p(t)._overflowDayOfYear=!0),n=wt(o,0,t._dayOfYear),t._a[oo]=n.getUTCMonth(),t._a[ro]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=r[e]=i[e];for(;7>e;e++)t._a[e]=r[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ao]&&0===t._a[so]&&0===t._a[lo]&&0===t._a[uo]&&(t._nextDay=!0,t._a[ao]=0),t._d=(t._useUTC?wt:xt).apply(null,r),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ao]=24)}}function de(t){var e,n,i,o,r,a,s,l;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)r=1,a=4,n=le(e.GG,t._a[io],St(xe(),1,4).year),i=le(e.W,1),o=le(e.E,1),(1>o||o>7)&&(l=!0);else{r=t._locale._week.dow,a=t._locale._week.doy;var u=St(xe(),r,a);n=le(e.gg,t._a[io],u.year),i=le(e.w,u.week),null!=e.d?(o=e.d,(0>o||o>6)&&(l=!0)):null!=e.e?(o=e.e+r,(e.e<0||e.e>6)&&(l=!0)):o=r}1>i||i>Ct(n,r,a)?p(t)._overflowWeeks=!0:null!=l?p(t)._overflowWeekday=!0:(s=kt(n,i,o,r,a),t._a[io]=s.year,t._dayOfYear=s.dayOfYear)}function he(e){if(e._f===t.ISO_8601)return void ae(e);e._a=[],p(e).empty=!0;var n,i,o,r,a,s=""+e._i,l=s.length,u=0;for(o=J(e._f,e._locale).match($i)||[],n=0;n<o.length;n++)r=o[n],i=(s.match(tt(r,e))||[])[0],i&&(a=s.substr(0,s.indexOf(i)),a.length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),u+=i.length),Ni[r]?(i?p(e).empty=!1:p(e).unusedTokens.push(r),rt(r,i,e)):e._strict&&!i&&p(e).unusedTokens.push(r);p(e).charsLeftOver=l-u,s.length>0&&p(e).unusedInput.push(s),e._a[ao]<=12&&p(e).bigHour===!0&&e._a[ao]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ao]=fe(e._locale,e._a[ao],e._meridiem),ce(e),re(e)}function fe(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&12>e&&(e+=12),i||12!==e||(e=0),e):e}function pe(t){var e,n,i,o,r;if(0===t._f.length)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)r=0,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],he(e),g(e)&&(r+=p(e).charsLeftOver,r+=10*p(e).unusedTokens.length,p(e).score=r,(null==i||i>r)&&(i=r,n=e));d(t,n||e)}function ge(t){if(!t._d){var e=W(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ce(t)}}function me(t){var e=new b(re(ve(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function ve(t){var e=t._i,n=t._f;return t._locale=t._locale||ie(t._l),null===e||void 0===n&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new b(re(e)):(l(e)?t._d=e:o(n)?pe(t):n?he(t):ye(t),g(t)||(t._d=null),t))}function ye(e){var n=e._i;void 0===n?e._d=new Date(t.now()):l(n)?e._d=new Date(n.valueOf()):"string"==typeof n?se(e):o(n)?(e._a=u(n.slice(0),function(t){return parseInt(t,10)}),ce(e)):"object"==typeof n?ge(e):s(n)?e._d=new Date(n):t.createFromInputFallback(e)}function be(t,e,n,i,s){var l={};return(n===!0||n===!1)&&(i=n,n=void 0),(r(t)&&a(t)||o(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=n,l._i=t,l._f=e,l._strict=i,me(l)}function xe(t,e,n,i){return be(t,e,n,i,!1)}function we(t,e){var n,i;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return xe();for(n=e[0],i=1;i<e.length;++i)(!e[i].isValid()||e[i][t](n))&&(n=e[i]);return n}function _e(){var t=[].slice.call(arguments,0);return we("isBefore",t)}function ke(){var t=[].slice.call(arguments,0);return we("isAfter",t)}function Se(t){var e=W(t),n=e.year||0,i=e.quarter||0,o=e.month||0,r=e.week||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=ie(),this._bubble()}function Ce(t){return t instanceof Se}function Te(t){return 0>t?-1*Math.round(-1*t):Math.round(t)}function De(t,e){G(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+Y(~~(t/60),2)+e+Y(~~t%60,2)})}function Ae(t,e){var n=(e||"").match(t);if(null===n)return null;var i=n[n.length-1]||[],o=(i+"").match(Ho)||["-",0,0],r=+(60*o[1])+_(o[2]);return 0===r?0:"+"===o[0]?r:-r}function Me(e,n){var i,o;return n._isUTC?(i=n.clone(),o=(x(e)||l(e)?e.valueOf():xe(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+o),t.updateOffset(i,!1),i):xe(e).local()}function Ee(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ie(e,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(e=Ae(Ji,e),null===e)return this}else Math.abs(e)<16&&(e=60*e);return!this._isUTC&&n&&(i=Ee(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!n||this._changeInProgress?Ye(this,He(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ee(this)}function Pe(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Oe(t){return this.utcOffset(0,t)}function $e(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ee(this),"m")),this}function Fe(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var t=Ae(Zi,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Le(t){return!!this.isValid()&&(t=t?xe(t).utcOffset():0,(this.utcOffset()-t)%60===0)}function Ne(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Re(){if(!v(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),t=ve(t),t._a){var e=t._isUTC?h(t._a):xe(t._a);this._isDSTShifted=this.isValid()&&k(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function We(){return!!this.isValid()&&!this._isUTC}function ze(){return!!this.isValid()&&this._isUTC}function je(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function He(t,e){var n,i,o,r=t,a=null;return Ce(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:s(t)?(r={},e?r[e]=t:r.milliseconds=t):(a=Bo.exec(t))?(n="-"===a[1]?-1:1,r={y:0,d:_(a[ro])*n,h:_(a[ao])*n,m:_(a[so])*n,s:_(a[lo])*n,ms:_(Te(1e3*a[uo]))*n}):(a=qo.exec(t))?(n="-"===a[1]?-1:1,r={y:Be(a[2],n),M:Be(a[3],n),w:Be(a[4],n),d:Be(a[5],n),h:Be(a[6],n),m:Be(a[7],n),s:Be(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=Ve(xe(r.from),xe(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),i=new Se(r),Ce(t)&&c(t,"_locale")&&(i._locale=t._locale),i}function Be(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function qe(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ve(t,e){var n;return t.isValid()&&e.isValid()?(e=Me(e,t),t.isBefore(e)?n=qe(t,e):(n=qe(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ue(t,e){return function(n,i){var o,r;return null===i||isNaN(+i)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),n="string"==typeof n?+n:n,o=He(n,i),Ye(this,o,t),this}}function Ye(e,n,i,o){var r=n._milliseconds,a=Te(n._days),s=Te(n._months);e.isValid()&&(o=null==o||o,r&&e._d.setTime(e._d.valueOf()+r*i),a&&q(e,"Date",B(e,"Date")+a*i),s&&dt(e,B(e,"Month")+s*i),o&&t.updateOffset(e,a||s))}function Ge(t,e){var n=t.diff(e,"days",!0);return-6>n?"sameElse":-1>n?"lastWeek":0>n?"lastDay":1>n?"sameDay":2>n?"nextDay":7>n?"nextWeek":"sameElse"}function Qe(e,n){var i=e||xe(),o=Me(i,this).startOf("day"),r=t.calendarFormat(this,o)||"sameElse",a=n&&(D(n[r])?n[r].call(this,i):n[r]);return this.format(a||this.localeData().calendar(r,this,xe(i)))}function Xe(){return new b(this)}function Ze(t,e){var n=x(t)?t:xe(t);return!(!this.isValid()||!n.isValid())&&(e=R(v(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Je(t,e){var n=x(t)?t:xe(t);return!(!this.isValid()||!n.isValid())&&(e=R(v(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Ke(t,e,n,i){return i=i||"()",("("===i[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))}function tn(t,e){var n,i=x(t)?t:xe(t);return!(!this.isValid()||!i.isValid())&&(e=R(e||"millisecond"),"millisecond"===e?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function en(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function nn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function on(t,e,n){var i,o,r,a;return this.isValid()?(i=Me(t,this),i.isValid()?(o=6e4*(i.utcOffset()-this.utcOffset()),e=R(e),"year"===e||"month"===e||"quarter"===e?(a=rn(this,i),"quarter"===e?a/=3:"year"===e&&(a/=12)):(r=this-i,a="second"===e?r/1e3:"minute"===e?r/6e4:"hour"===e?r/36e5:"day"===e?(r-o)/864e5:"week"===e?(r-o)/6048e5:r),n?a:w(a)):NaN):NaN}function rn(t,e){var n,i,o=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(o,"months");return 0>e-r?(n=t.clone().add(o-1,"months"),i=(e-r)/(r-n)):(n=t.clone().add(o+1,"months"),i=(e-r)/(n-r)),-(o+i)||0}function an(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function sn(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?D(Date.prototype.toISOString)?this.toDate().toISOString():Z(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):Z(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ln(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",r=e+'[")]';return this.format(n+i+o+r); 12}function un(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=Z(this,e);return this.localeData().postformat(n)}function cn(t,e){return this.isValid()&&(x(t)&&t.isValid()||xe(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function dn(t){return this.from(xe(),t)}function hn(t,e){return this.isValid()&&(x(t)&&t.isValid()||xe(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function fn(t){return this.to(xe(),t)}function pn(t){var e;return void 0===t?this._locale._abbr:(e=ie(t),null!=e&&(this._locale=e),this)}function gn(){return this._locale}function mn(t){switch(t=R(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function vn(t){return t=R(t),void 0===t||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function yn(){return this._d.valueOf()-6e4*(this._offset||0)}function bn(){return Math.floor(this.valueOf()/1e3)}function xn(){return new Date(this.valueOf())}function wn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function _n(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function kn(){return this.isValid()?this.toISOString():null}function Sn(){return g(this)}function Cn(){return d({},p(this))}function Tn(){return p(this).overflow}function Dn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function An(t,e){G(0,[t,t.length],0,e)}function Mn(t){return On.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function En(t){return On.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function In(){return Ct(this.year(),1,4)}function Pn(){var t=this.localeData()._week;return Ct(this.year(),t.dow,t.doy)}function On(t,e,n,i,o){var r;return null==t?St(this,i,o).year:(r=Ct(t,i,o),e>r&&(e=r),$n.call(this,t,e,n,i,o))}function $n(t,e,n,i,o){var r=kt(t,e,n,i,o),a=wt(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Ln(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Nn(t,e){e[uo]=_(1e3*("0."+t))}function Rn(){return this._isUTC?"UTC":""}function Wn(){return this._isUTC?"Coordinated Universal Time":""}function zn(t){return xe(1e3*t)}function jn(){return xe.apply(null,arguments).parseZone()}function Hn(t){return t}function Bn(t,e,n,i){var o=ie(),r=h().set(i,e);return o[n](r,t)}function qn(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return Bn(t,e,n,"month");var i,o=[];for(i=0;12>i;i++)o[i]=Bn(t,i,n,"month");return o}function Vn(t,e,n,i){"boolean"==typeof t?(s(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,s(e)&&(n=e,e=void 0),e=e||"");var o=ie(),r=t?o._week.dow:0;if(null!=n)return Bn(e,(n+r)%7,i,"day");var a,l=[];for(a=0;7>a;a++)l[a]=Bn(e,(a+r)%7,i,"day");return l}function Un(t,e){return qn(t,e,"months")}function Yn(t,e){return qn(t,e,"monthsShort")}function Gn(t,e,n){return Vn(t,e,n,"weekdays")}function Qn(t,e,n){return Vn(t,e,n,"weekdaysShort")}function Xn(t,e,n){return Vn(t,e,n,"weekdaysMin")}function Zn(){var t=this._data;return this._milliseconds=er(this._milliseconds),this._days=er(this._days),this._months=er(this._months),t.milliseconds=er(t.milliseconds),t.seconds=er(t.seconds),t.minutes=er(t.minutes),t.hours=er(t.hours),t.months=er(t.months),t.years=er(t.years),this}function Jn(t,e,n,i){var o=He(e,n);return t._milliseconds+=i*o._milliseconds,t._days+=i*o._days,t._months+=i*o._months,t._bubble()}function Kn(t,e){return Jn(this,t,e,1)}function ti(t,e){return Jn(this,t,e,-1)}function ei(t){return 0>t?Math.floor(t):Math.ceil(t)}function ni(){var t,e,n,i,o,r=this._milliseconds,a=this._days,s=this._months,l=this._data;return r>=0&&a>=0&&s>=0||0>=r&&0>=a&&0>=s||(r+=864e5*ei(oi(s)+a),a=0,s=0),l.milliseconds=r%1e3,t=w(r/1e3),l.seconds=t%60,e=w(t/60),l.minutes=e%60,n=w(e/60),l.hours=n%24,a+=w(n/24),o=w(ii(a)),s+=o,a-=ei(oi(o)),i=w(s/12),s%=12,l.days=a,l.months=s,l.years=i,this}function ii(t){return 4800*t/146097}function oi(t){return 146097*t/4800}function ri(t){var e,n,i=this._milliseconds;if(t=R(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+ii(e),"month"===t?n:n/12;switch(e=this._days+Math.round(oi(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function ai(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12)}function si(t){return function(){return this.as(t)}}function li(t){return t=R(t),this[t+"s"]()}function ui(t){return function(){return this._data[t]}}function ci(){return w(this.days()/7)}function di(t,e,n,i,o){return o.relativeTime(e||1,!!n,t,i)}function hi(t,e,n){var i=He(t).abs(),o=vr(i.as("s")),r=vr(i.as("m")),a=vr(i.as("h")),s=vr(i.as("d")),l=vr(i.as("M")),u=vr(i.as("y")),c=o<yr.s&&["s",o]||1>=r&&["m"]||r<yr.m&&["mm",r]||1>=a&&["h"]||a<yr.h&&["hh",a]||1>=s&&["d"]||s<yr.d&&["dd",s]||1>=l&&["M"]||l<yr.M&&["MM",l]||1>=u&&["y"]||["yy",u];return c[2]=e,c[3]=+t>0,c[4]=n,di.apply(null,c)}function fi(t){return void 0===t?vr:"function"==typeof t&&(vr=t,!0)}function pi(t,e){return void 0!==yr[t]&&(void 0===e?yr[t]:(yr[t]=e,!0))}function gi(t){var e=this.localeData(),n=hi(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function mi(){var t,e,n,i=br(this._milliseconds)/1e3,o=br(this._days),r=br(this._months);t=w(i/60),e=w(t/60),i%=60,t%=60,n=w(r/12),r%=12;var a=n,s=r,l=o,u=e,c=t,d=i,h=this.asSeconds();return h?(0>h?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||c||d?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(d?d+"S":""):"P0D"}var vi,yi;yi=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;n>i;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var bi=yi,xi=t.momentProperties=[],wi=!1,_i={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var ki;ki=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var Si,Ci=ki,Ti={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Di={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ai="Invalid date",Mi="%d",Ei=/\d{1,2}/,Ii={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Pi={},Oi={},$i=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Fi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Li={},Ni={},Ri=/\d/,Wi=/\d\d/,zi=/\d{3}/,ji=/\d{4}/,Hi=/[+-]?\d{6}/,Bi=/\d\d?/,qi=/\d\d\d\d?/,Vi=/\d\d\d\d\d\d?/,Ui=/\d{1,3}/,Yi=/\d{1,4}/,Gi=/[+-]?\d{1,6}/,Qi=/\d+/,Xi=/[+-]?\d+/,Zi=/Z|[+-]\d\d:?\d\d/gi,Ji=/Z|[+-]\d\d(?::?\d\d)?/gi,Ki=/[+-]?\d+(\.\d{1,3})?/,to=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,eo={},no={},io=0,oo=1,ro=2,ao=3,so=4,lo=5,uo=6,co=7,ho=8;Si=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};var fo=Si;G("M",["MM",2],"Mo",function(){return this.month()+1}),G("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),G("MMMM",0,0,function(t){return this.localeData().months(this,t)}),N("month","M"),z("month",8),K("M",Bi),K("MM",Bi,Wi),K("MMM",function(t,e){return e.monthsShortRegex(t)}),K("MMMM",function(t,e){return e.monthsRegex(t)}),it(["M","MM"],function(t,e){e[oo]=_(t)-1}),it(["MMM","MMMM"],function(t,e,n,i){var o=n._locale.monthsParse(t,i,n._strict);null!=o?e[oo]=o:p(n).invalidMonth=t});var po=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,go="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mo="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),vo=to,yo=to;G("Y",0,0,function(){var t=this.year();return 9999>=t?""+t:"+"+t}),G(0,["YY",2],0,function(){return this.year()%100}),G(0,["YYYY",4],0,"year"),G(0,["YYYYY",5],0,"year"),G(0,["YYYYYY",6,!0],0,"year"),N("year","y"),z("year",1),K("Y",Xi),K("YY",Bi,Wi),K("YYYY",Yi,ji),K("YYYYY",Gi,Hi),K("YYYYYY",Gi,Hi),it(["YYYYY","YYYYYY"],io),it("YYYY",function(e,n){n[io]=2===e.length?t.parseTwoDigitYear(e):_(e)}),it("YY",function(e,n){n[io]=t.parseTwoDigitYear(e)}),it("Y",function(t,e){e[io]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return _(t)+(_(t)>68?1900:2e3)};var bo=H("FullYear",!0);G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),z("week",5),z("isoWeek",5),K("w",Bi),K("ww",Bi,Wi),K("W",Bi),K("WW",Bi,Wi),ot(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=_(t)});var xo={dow:0,doy:6};G("d",0,"do","day"),G("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),G("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),G("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),z("day",11),z("weekday",11),z("isoWeekday",11),K("d",Bi),K("e",Bi),K("E",Bi),K("dd",function(t,e){return e.weekdaysMinRegex(t)}),K("ddd",function(t,e){return e.weekdaysShortRegex(t)}),K("dddd",function(t,e){return e.weekdaysRegex(t)}),ot(["dd","ddd","dddd"],function(t,e,n,i){var o=n._locale.weekdaysParse(t,i,n._strict);null!=o?e.d=o:p(n).invalidWeekday=t}),ot(["d","e","E"],function(t,e,n,i){e[i]=_(t)});var wo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_o="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ko="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),So=to,Co=to,To=to;G("H",["HH",2],0,"hour"),G("h",["hh",2],0,Vt),G("k",["kk",2],0,Ut),G("hmm",0,0,function(){return""+Vt.apply(this)+Y(this.minutes(),2)}),G("hmmss",0,0,function(){return""+Vt.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),G("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),G("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),Yt("a",!0),Yt("A",!1),N("hour","h"),z("hour",13),K("a",Gt),K("A",Gt),K("H",Bi),K("h",Bi),K("HH",Bi,Wi),K("hh",Bi,Wi),K("hmm",qi),K("hmmss",Vi),K("Hmm",qi),K("Hmmss",Vi),it(["H","HH"],ao),it(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),it(["h","hh"],function(t,e,n){e[ao]=_(t),p(n).bigHour=!0}),it("hmm",function(t,e,n){var i=t.length-2;e[ao]=_(t.substr(0,i)),e[so]=_(t.substr(i)),p(n).bigHour=!0}),it("hmmss",function(t,e,n){var i=t.length-4,o=t.length-2;e[ao]=_(t.substr(0,i)),e[so]=_(t.substr(i,2)),e[lo]=_(t.substr(o)),p(n).bigHour=!0}),it("Hmm",function(t,e,n){var i=t.length-2;e[ao]=_(t.substr(0,i)),e[so]=_(t.substr(i))}),it("Hmmss",function(t,e,n){var i=t.length-4,o=t.length-2;e[ao]=_(t.substr(0,i)),e[so]=_(t.substr(i,2)),e[lo]=_(t.substr(o))});var Do,Ao=/[ap]\.?m?\.?/i,Mo=H("Hours",!0),Eo={calendar:Ti,longDateFormat:Di,invalidDate:Ai,ordinal:Mi,ordinalParse:Ei,relativeTime:Ii,months:go,monthsShort:mo,week:xo,weekdays:wo,weekdaysMin:ko,weekdaysShort:_o,meridiemParse:Ao},Io={},Po={},Oo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,$o=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Fo=/Z|[+-]\d\d(?::?\d\d)?/,Lo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],No=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ro=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),t.ISO_8601=function(){};var Wo=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?this>t?this:t:m()}),zo=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:m()}),jo=function(){return Date.now?Date.now():+new Date};De("Z",":"),De("ZZ",""),K("Z",Ji),K("ZZ",Ji),it(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ae(Ji,t)});var Ho=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Bo=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,qo=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;He.fn=Se.prototype;var Vo=Ue(1,"add"),Uo=Ue(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Yo=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});G(0,["gg",2],0,function(){return this.weekYear()%100}),G(0,["GG",2],0,function(){return this.isoWeekYear()%100}),An("gggg","weekYear"),An("ggggg","weekYear"),An("GGGG","isoWeekYear"),An("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),z("weekYear",1),z("isoWeekYear",1),K("G",Xi),K("g",Xi),K("GG",Bi,Wi),K("gg",Bi,Wi),K("GGGG",Yi,ji),K("gggg",Yi,ji),K("GGGGG",Gi,Hi),K("ggggg",Gi,Hi),ot(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=_(t)}),ot(["gg","GG"],function(e,n,i,o){n[o]=t.parseTwoDigitYear(e)}),G("Q",0,"Qo","quarter"),N("quarter","Q"),z("quarter",7),K("Q",Ri),it("Q",function(t,e){e[oo]=3*(_(t)-1)}),G("D",["DD",2],"Do","date"),N("date","D"),z("date",9),K("D",Bi),K("DD",Bi,Wi),K("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),it(["D","DD"],ro),it("Do",function(t,e){e[ro]=_(t.match(Bi)[0],10)});var Go=H("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),z("dayOfYear",4),K("DDD",Ui),K("DDDD",zi),it(["DDD","DDDD"],function(t,e,n){n._dayOfYear=_(t)}),G("m",["mm",2],0,"minute"),N("minute","m"),z("minute",14),K("m",Bi),K("mm",Bi,Wi),it(["m","mm"],so);var Qo=H("Minutes",!1);G("s",["ss",2],0,"second"),N("second","s"),z("second",15),K("s",Bi),K("ss",Bi,Wi),it(["s","ss"],lo);var Xo=H("Seconds",!1);G("S",0,0,function(){return~~(this.millisecond()/100)}),G(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,function(){return 10*this.millisecond()}),G(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),G(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),G(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),G(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),G(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),z("millisecond",16),K("S",Ui,Ri),K("SS",Ui,Wi),K("SSS",Ui,zi);var Zo;for(Zo="SSSS";Zo.length<=9;Zo+="S")K(Zo,Qi);for(Zo="S";Zo.length<=9;Zo+="S")it(Zo,Nn);var Jo=H("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var Ko=b.prototype;Ko.add=Vo,Ko.calendar=Qe,Ko.clone=Xe,Ko.diff=on,Ko.endOf=vn,Ko.format=un,Ko.from=cn,Ko.fromNow=dn,Ko.to=hn,Ko.toNow=fn,Ko.get=V,Ko.invalidAt=Tn,Ko.isAfter=Ze,Ko.isBefore=Je,Ko.isBetween=Ke,Ko.isSame=tn,Ko.isSameOrAfter=en,Ko.isSameOrBefore=nn,Ko.isValid=Sn,Ko.lang=Yo,Ko.locale=pn,Ko.localeData=gn,Ko.max=zo,Ko.min=Wo,Ko.parsingFlags=Cn,Ko.set=U,Ko.startOf=mn,Ko.subtract=Uo,Ko.toArray=wn,Ko.toObject=_n,Ko.toDate=xn,Ko.toISOString=sn,Ko.inspect=ln,Ko.toJSON=kn,Ko.toString=an,Ko.unix=bn,Ko.valueOf=yn,Ko.creationData=Dn,Ko.year=bo,Ko.isLeapYear=bt,Ko.weekYear=Mn,Ko.isoWeekYear=En,Ko.quarter=Ko.quarters=Fn,Ko.month=ht,Ko.daysInMonth=ft,Ko.week=Ko.weeks=Mt,Ko.isoWeek=Ko.isoWeeks=Et,Ko.weeksInYear=Pn,Ko.isoWeeksInYear=In,Ko.date=Go,Ko.day=Ko.days=Rt,Ko.weekday=Wt,Ko.isoWeekday=zt,Ko.dayOfYear=Ln,Ko.hour=Ko.hours=Mo,Ko.minute=Ko.minutes=Qo,Ko.second=Ko.seconds=Xo,Ko.millisecond=Ko.milliseconds=Jo,Ko.utcOffset=Ie,Ko.utc=Oe,Ko.local=$e,Ko.parseZone=Fe,Ko.hasAlignedHourOffset=Le,Ko.isDST=Ne,Ko.isLocal=We,Ko.isUtcOffset=ze,Ko.isUtc=je,Ko.isUTC=je,Ko.zoneAbbr=Rn,Ko.zoneName=Wn,Ko.dates=C("dates accessor is deprecated. Use date instead.",Go),Ko.months=C("months accessor is deprecated. Use month instead",ht),Ko.years=C("years accessor is deprecated. Use year instead",bo),Ko.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Pe),Ko.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Re);var tr=E.prototype;tr.calendar=I,tr.longDateFormat=P,tr.invalidDate=O,tr.ordinal=$,tr.preparse=Hn,tr.postformat=Hn,tr.relativeTime=F,tr.pastFuture=L,tr.set=A,tr.months=st,tr.monthsShort=lt,tr.monthsParse=ct,tr.monthsRegex=gt,tr.monthsShortRegex=pt,tr.week=Tt,tr.firstDayOfYear=At,tr.firstDayOfWeek=Dt,tr.weekdays=Ot,tr.weekdaysMin=Ft,tr.weekdaysShort=$t,tr.weekdaysParse=Nt,tr.weekdaysRegex=jt,tr.weekdaysShortRegex=Ht,tr.weekdaysMinRegex=Bt,tr.isPM=Qt,tr.meridiem=Xt,te("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===_(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),t.lang=C("moment.lang is deprecated. Use moment.locale instead.",te),t.langData=C("moment.langData is deprecated. Use moment.localeData instead.",ie);var er=Math.abs,nr=si("ms"),ir=si("s"),or=si("m"),rr=si("h"),ar=si("d"),sr=si("w"),lr=si("M"),ur=si("y"),cr=ui("milliseconds"),dr=ui("seconds"),hr=ui("minutes"),fr=ui("hours"),pr=ui("days"),gr=ui("months"),mr=ui("years"),vr=Math.round,yr={s:45,m:45,h:22,d:26,M:11},br=Math.abs,xr=Se.prototype;return xr.abs=Zn,xr.add=Kn,xr.subtract=ti,xr.as=ri,xr.asMilliseconds=nr,xr.asSeconds=ir,xr.asMinutes=or,xr.asHours=rr,xr.asDays=ar,xr.asWeeks=sr,xr.asMonths=lr,xr.asYears=ur,xr.valueOf=ai,xr._bubble=ni,xr.get=li,xr.milliseconds=cr,xr.seconds=dr,xr.minutes=hr,xr.hours=fr,xr.days=pr,xr.weeks=ci,xr.months=gr,xr.years=mr,xr.humanize=gi,xr.toISOString=mi,xr.toString=mi,xr.toJSON=mi,xr.locale=pn,xr.localeData=gn,xr.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mi),xr.lang=Yo,G("X",0,0,"unix"),G("x",0,0,"valueOf"),K("x",Xi),K("X",Ki),it("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}
12),it("x",function(t,e,n){n._d=new Date(_(t))}),t.version="2.16.0",i(xe),t.fn=Ko,t.min=_e,t.max=ke,t.now=jo,t.utc=h,t.unix=zn,t.months=Un,t.isDate=l,t.locale=te,t.invalid=m,t.duration=He,t.isMoment=x,t.weekdays=Gn,t.parseZone=jn,t.localeData=ie,t.isDuration=Ce,t.monthsShort=Yn,t.weekdaysMin=Xn,t.defineLocale=ee,t.updateLocale=ne,t.locales=oe,t.weekdaysShort=Qn,t.normalizeUnits=R,t.relativeTimeRounding=fi,t.relativeTimeThreshold=pi,t.calendarFormat=Ge,t.prototype=Ko,t})},{}],7:[function(t,e,n){var i=t(28)();t(26)(i),t(22)(i),t(25)(i),t(21)(i),t(23)(i),t(24)(i),t(29)(i),t(33)(i),t(31)(i),t(34)(i),t(32)(i),t(35)(i),t(30)(i),t(27)(i),t(36)(i),t(37)(i),t(38)(i),t(39)(i),t(40)(i),t(43)(i),t(41)(i),t(42)(i),t(44)(i),t(45)(i),t(46)(i),t(15)(i),t(16)(i),t(17)(i),t(18)(i),t(19)(i),t(20)(i),t(8)(i),t(9)(i),t(10)(i),t(11)(i),t(12)(i),t(13)(i),t(14)(i),window.Chart=e.exports=i},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,8:8,9:9}],8:[function(t,e,n){"use strict";e.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(t){t.Line=function(e,n){return n.type="line",new t(e,n)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(t){t.Radar=function(e,n){return n.type="radar",new t(e,n)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(t){var e={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}};t.defaults.scatter=e,t.controllers.scatter=t.controllers.line,t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},{}],15:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},t.controllers.bar=t.DatasetController.extend({dataElementType:t.elements.Rectangle,initialize:function(e,n){t.DatasetController.prototype.initialize.call(this,e,n),this.getMeta().bar=!0},getBarCount:function(){var t=this,n=0;return e.each(t.chart.data.datasets,function(e,i){var o=t.chart.getDatasetMeta(i);o.bar&&t.chart.isDatasetVisible(i)&&++n},t),n},update:function(t){var n=this;e.each(n.getMeta().data,function(e,i){n.updateElement(e,i,t)},n)},updateElement:function(t,n,i){var o=this,r=o.getMeta(),a=o.getScaleForId(r.xAxisID),s=o.getScaleForId(r.yAxisID),l=s.getBasePixel(),u=o.chart.options.elements.rectangle,c=t.custom||{},d=o.getDataset();t._xScale=a,t._yScale=s,t._datasetIndex=o.index,t._index=n;var h=o.getRuler(n);t._model={x:o.calculateBarX(n,o.index,h),y:i?l:o.calculateBarY(n,o.index),label:o.chart.data.labels[n],datasetLabel:d.label,base:i?l:o.calculateBarBase(o.index,n),width:o.calculateBarWidth(h),backgroundColor:c.backgroundColor?c.backgroundColor:e.getValueAtIndexOrDefault(d.backgroundColor,n,u.backgroundColor),borderSkipped:c.borderSkipped?c.borderSkipped:u.borderSkipped,borderColor:c.borderColor?c.borderColor:e.getValueAtIndexOrDefault(d.borderColor,n,u.borderColor),borderWidth:c.borderWidth?c.borderWidth:e.getValueAtIndexOrDefault(d.borderWidth,n,u.borderWidth)},t.pivot()},calculateBarBase:function(t,e){var n=this,i=n.getMeta(),o=n.getScaleForId(i.yAxisID),r=0;if(o.options.stacked){for(var a=n.chart,s=a.data.datasets,l=Number(s[t].data[e]),u=0;t>u;u++){var c=s[u],d=a.getDatasetMeta(u);if(d.bar&&d.yAxisID===o.id&&a.isDatasetVisible(u)){var h=Number(c.data[e]);r+=0>l?Math.min(h,0):Math.max(h,0)}}return o.getPixelForValue(r)}return o.getBasePixel()}
12,getRuler:function(t){var e,n=this,i=n.getMeta(),o=n.getScaleForId(i.xAxisID),r=n.getBarCount();e="category"===o.options.type?o.getPixelForTick(t+1)-o.getPixelForTick(t):o.width/o.ticks.length;var a=e*o.options.categoryPercentage,s=(e-e*o.options.categoryPercentage)/2,l=a/r;if(o.ticks.length!==n.chart.data.labels.length){var u=o.ticks.length/n.chart.data.labels.length;l*=u}var c=l*o.options.barPercentage,d=l-l*o.options.barPercentage;return{datasetCount:r,tickWidth:e,categoryWidth:a,categorySpacing:s,fullBarWidth:l,barWidth:c,barSpacing:d}},calculateBarWidth:function(t){var e=this.getScaleForId(this.getMeta().xAxisID);return e.options.barThickness?e.options.barThickness:e.options.stacked?t.categoryWidth:t.barWidth},getBarIndex:function(t){var e,n,i=0;for(n=0;t>n;++n)e=this.chart.getDatasetMeta(n),e.bar&&this.chart.isDatasetVisible(n)&&++i;return i},calculateBarX:function(t,e,n){var i=this,o=i.getMeta(),r=i.getScaleForId(o.xAxisID),a=i.getBarIndex(e),s=r.getPixelForValue(null,t,e,i.chart.isCombo);return s-=i.chart.isCombo?n.tickWidth/2:0,r.options.stacked?s+n.categoryWidth/2+n.categorySpacing:s+n.barWidth/2+n.categorySpacing+n.barWidth*a+n.barSpacing/2+n.barSpacing*a},calculateBarY:function(t,e){var n=this,i=n.getMeta(),o=n.getScaleForId(i.yAxisID),r=Number(n.getDataset().data[t]);if(o.options.stacked){for(var a=0,s=0,l=0;e>l;l++){var u=n.chart.data.datasets[l],c=n.chart.getDatasetMeta(l);if(c.bar&&c.yAxisID===o.id&&n.chart.isDatasetVisible(l)){var d=Number(u.data[t]);0>d?s+=d||0:a+=d||0}}return 0>r?o.getPixelForValue(s+r):o.getPixelForValue(a+r)}return o.getPixelForValue(r)},draw:function(t){var e,n,i=this,o=t||1,r=i.getMeta().data,a=i.getDataset();for(e=0,n=r.length;n>e;++e){var s=a.data[e];null===s||void 0===s||isNaN(s)||r[e].transition(o).draw()}},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},r=t._model;r.backgroundColor=o.hoverBackgroundColor?o.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.hoverBackgroundColor,i,e.getHoverColor(r.backgroundColor)),r.borderColor=o.hoverBorderColor?o.hoverBorderColor:e.getValueAtIndexOrDefault(n.hoverBorderColor,i,e.getHoverColor(r.borderColor)),r.borderWidth=o.hoverBorderWidth?o.hoverBorderWidth:e.getValueAtIndexOrDefault(n.hoverBorderWidth,i,r.borderWidth)},removeHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},r=t._model,a=this.chart.options.elements.rectangle;r.backgroundColor=o.backgroundColor?o.backgroundColor:e.getValueAtIndexOrDefault(n.backgroundColor,i,a.backgroundColor),r.borderColor=o.borderColor?o.borderColor:e.getValueAtIndexOrDefault(n.borderColor,i,a.borderColor),r.borderWidth=o.borderWidth?o.borderWidth:e.getValueAtIndexOrDefault(n.borderWidth,i,a.borderWidth)}}),t.defaults.horizontalBar={hover:{mode:"label"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return t.length>0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n+": "+t.xLabel}}}},t.controllers.horizontalBar=t.controllers.bar.extend({updateElement:function(t,n,i){var o=this,r=o.getMeta(),a=o.getScaleForId(r.xAxisID),s=o.getScaleForId(r.yAxisID),l=a.getBasePixel(),u=t.custom||{},c=o.getDataset(),d=o.chart.options.elements.rectangle;t._xScale=a,t._yScale=s,t._datasetIndex=o.index,t._index=n;var h=o.getRuler(n);t._model={x:i?l:o.calculateBarX(n,o.index),y:o.calculateBarY(n,o.index,h),label:o.chart.data.labels[n],datasetLabel:c.label,base:i?l:o.calculateBarBase(o.index,n),height:o.calculateBarHeight(h),backgroundColor:u.backgroundColor?u.backgroundColor:e.getValueAtIndexOrDefault(c.backgroundColor,n,d.backgroundColor),borderSkipped:u.borderSkipped?u.borderSkipped:d.borderSkipped,borderColor:u.borderColor?u.borderColor:e.getValueAtIndexOrDefault(c.borderColor,n,d.borderColor),borderWidth:u.borderWidth?u.borderWidth:e.getValueAtIndexOrDefault(c.borderWidth,n,d.borderWidth)},t.draw=function(){function t(t){return l[(c+t)%4]}var e=this._chart.ctx,n=this._view,i=n.height/2,o=n.y-i,r=n.y+i,a=n.base-(n.base-n.x),s=n.borderWidth/2;n.borderWidth&&(o+=s,r-=s,a+=s),e.beginPath(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth;var l=[[n.base,r],[n.base,o],[a,o],[a,r]],u=["bottom","left","top","right"],c=u.indexOf(n.borderSkipped,0);-1===c&&(c=0),e.moveTo.apply(e,t(0));for(var d=1;4>d;d++)e.lineTo.apply(e,t(d));e.fill(),n.borderWidth&&e.stroke()},t.pivot()},calculateBarBase:function(t,e){var n=this,i=n.getMeta(),o=n.get
12ScaleForId(i.xAxisID),r=0;if(o.options.stacked){for(var a=n.chart,s=a.data.datasets,l=Number(s[t].data[e]),u=0;t>u;u++){var c=s[u],d=a.getDatasetMeta(u);if(d.bar&&d.xAxisID===o.id&&a.isDatasetVisible(u)){var h=Number(c.data[e]);r+=0>l?Math.min(h,0):Math.max(h,0)}}return o.getPixelForValue(r)}return o.getBasePixel()},getRuler:function(t){var e,n=this,i=n.getMeta(),o=n.getScaleForId(i.yAxisID),r=n.getBarCount();e="category"===o.options.type?o.getPixelForTick(t+1)-o.getPixelForTick(t):o.width/o.ticks.length;var a=e*o.options.categoryPercentage,s=(e-e*o.options.categoryPercentage)/2,l=a/r;if(o.ticks.length!==n.chart.data.labels.length){var u=o.ticks.length/n.chart.data.labels.length;l*=u}var c=l*o.options.barPercentage,d=l-l*o.options.barPercentage;return{datasetCount:r,tickHeight:e,categoryHeight:a,categorySpacing:s,fullBarHeight:l,barHeight:c,barSpacing:d}},calculateBarHeight:function(t){var e=this,n=e.getScaleForId(e.getMeta().yAxisID);return n.options.barThickness?n.options.barThickness:n.options.stacked?t.categoryHeight:t.barHeight},calculateBarX:function(t,e){var n=this,i=n.getMeta(),o=n.getScaleForId(i.xAxisID),r=Number(n.getDataset().data[t]);if(o.options.stacked){for(var a=0,s=0,l=0;e>l;l++){var u=n.chart.data.datasets[l],c=n.chart.getDatasetMeta(l);if(c.bar&&c.xAxisID===o.id&&n.chart.isDatasetVisible(l)){var d=Number(u.data[t]);0>d?s+=d||0:a+=d||0}}return 0>r?o.getPixelForValue(s+r):o.getPixelForValue(a+r)}return o.getPixelForValue(r)},calculateBarY:function(t,e,n){var i=this,o=i.getMeta(),r=i.getScaleForId(o.yAxisID),a=i.getBarIndex(e),s=r.getPixelForValue(null,t,e,i.chart.isCombo);return s-=i.chart.isCombo?n.tickHeight/2:0,r.options.stacked?s+n.categoryHeight/2+n.categorySpacing:s+n.barHeight/2+n.categorySpacing+n.barHeight*a+n.barSpacing/2+n.barSpacing*a}})}},{}],16:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.bubble={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}},t.controllers.bubble=t.DatasetController.extend({dataElementType:t.elements.Point,update:function(t){var n=this,i=n.getMeta(),o=i.data;e.each(o,function(e,i){n.updateElement(e,i,t)})},updateElement:function(n,i,o){var r=this,a=r.getMeta(),s=r.getScaleForId(a.xAxisID),l=r.getScaleForId(a.yAxisID),u=n.custom||{},c=r.getDataset(),d=c.data[i],h=r.chart.options.elements.point,f=r.index;e.extend(n,{_xScale:s,_yScale:l,_datasetIndex:f,_index:i,_model:{x:o?s.getPixelForDecimal(.5):s.getPixelForValue("object"==typeof d?d:NaN,i,f,r.chart.isCombo),y:o?l.getBasePixel():l.getPixelForValue(d,i,f),radius:o?0:u.radius?u.radius:r.getRadius(d),hitRadius:u.hitRadius?u.hitRadius:e.getValueAtIndexOrDefault(c.hitRadius,i,h.hitRadius)}}),t.DatasetController.prototype.removeHoverStyle.call(r,n,h);var p=n._model;p.skip=u.skip?u.skip:isNaN(p.x)||isNaN(p.y),n.pivot()},getRadius:function(t){return t.r||this.chart.options.elements.point.radius},setHoverStyle:function(n){var i=this;t.DatasetController.prototype.setHoverStyle.call(i,n); 13var o=i.chart.data.datasets[n._datasetIndex],r=n._index,a=n.custom||{},s=n._model;s.radius=a.hoverRadius?a.hoverRadius:e.getValueAtIndexOrDefault(o.hoverRadius,r,i.chart.options.elements.point.hoverRadius)+i.getRadius(o.data[r])},removeHoverStyle:function(e){var n=this;t.DatasetController.prototype.removeHoverStyle.call(n,e,n.chart.options.elements.point);var i=n.chart.data.datasets[e._datasetIndex].data[e._index],o=e.custom||{},r=e._model;r.radius=o.radius?o.radius:n.getRadius(i)}})}},{}],17:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=t.defaults;n.doughnut={animation:{animateRotate:!0,animateScale:!1},aspectRatio:1,hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,o=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),o[r]&&e.push(o[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map(function(i,o){var r=t.getDatasetMeta(0),a=n.datasets[0],s=r.data[o],l=s&&s.custom||{}
13,u=e.getValueAtIndexOrDefault,c=t.options.elements.arc,d=l.backgroundColor?l.backgroundColor:u(a.backgroundColor,o,c.backgroundColor),h=l.borderColor?l.borderColor:u(a.borderColor,o,c.borderColor),f=l.borderWidth?l.borderWidth:u(a.borderWidth,o,c.borderWidth);return{text:i,fillStyle:d,strokeStyle:h,lineWidth:f,hidden:isNaN(a.data[o])||r.data[o].hidden,index:o}}):[]}},onClick:function(t,e){var n,i,o,r=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;i>n;++n)o=a.getDatasetMeta(n),o.data[r]&&(o.data[r].hidden=!o.data[r].hidden);a.update()}},cutoutPercentage:50,rotation:Math.PI*-.5,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,n){var i=n.labels[t.index],o=": "+n.datasets[t.datasetIndex].data[t.index];return e.isArray(i)?(i=i.slice(),i[0]+=o):i+=o,i}}}},n.pie=e.clone(n.doughnut),e.extend(n.pie,{cutoutPercentage:0}),t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:t.elements.Arc,linkScales:e.noop,getRingIndex:function(t){for(var e=0,n=0;t>n;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var n=this,i=n.chart,o=i.chartArea,r=i.options,a=r.elements.arc,s=o.right-o.left-a.borderWidth,l=o.bottom-o.top-a.borderWidth,u=Math.min(s,l),c={x:0,y:0},d=n.getMeta(),h=r.cutoutPercentage,f=r.circumference;if(f<2*Math.PI){var p=r.rotation%(2*Math.PI);p+=2*Math.PI*(p>=Math.PI?-1:p<-Math.PI?1:0);var g=p+f,m={x:Math.cos(p),y:Math.sin(p)},v={x:Math.cos(g),y:Math.sin(g)},y=0>=p&&g>=0||p<=2*Math.PI&&2*Math.PI<=g,b=p<=.5*Math.PI&&.5*Math.PI<=g||p<=2.5*Math.PI&&2.5*Math.PI<=g,x=p<=-Math.PI&&-Math.PI<=g||p<=Math.PI&&Math.PI<=g,w=p<=.5*-Math.PI&&.5*-Math.PI<=g||p<=1.5*Math.PI&&1.5*Math.PI<=g,_=h/100,k={x:x?-1:Math.min(m.x*(m.x<0?1:_),v.x*(v.x<0?1:_)),y:w?-1:Math.min(m.y*(m.y<0?1:_),v.y*(v.y<0?1:_))},S={x:y?1:Math.max(m.x*(m.x>0?1:_),v.x*(v.x>0?1:_)),y:b?1:Math.max(m.y*(m.y>0?1:_),v.y*(v.y>0?1:_))},C={width:.5*(S.x-k.x),height:.5*(S.y-k.y)};u=Math.min(s/C.width,l/C.height),c={x:(S.x+k.x)*-.5,y:(S.y+k.y)*-.5}}i.borderWidth=n.getMaxBorderWidth(d.data),i.outerRadius=Math.max((u-i.borderWidth)/2,0),i.innerRadius=Math.max(h?i.outerRadius/100*h:1,0),i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount(),i.offsetX=c.x*i.outerRadius,i.offsetY=c.y*i.outerRadius,d.total=n.calculateTotal(),n.outerRadius=i.outerRadius-i.radiusLength*n.getRingIndex(n.index),n.innerRadius=n.outerRadius-i.radiusLength,e.each(d.data,function(e,i){n.updateElement(e,i,t)})},updateElement:function(t,n,i){var o=this,r=o.chart,a=r.chartArea,s=r.options,l=s.animation,u=(a.left+a.right)/2,c=(a.top+a.bottom)/2,d=s.rotation,h=s.rotation,f=o.getDataset(),p=i&&l.animateRotate?0:t.hidden?0:o.calculateCircumference(f.data[n])*(s.circumference/(2*Math.PI)),g=i&&l.animateScale?0:o.innerRadius,m=i&&l.animateScale?0:o.outerRadius,v=e.getValueAtIndexOrDefault;e.extend(t,{_datasetIndex:o.index,_index:n,_model:{x:u+r.offsetX,y:c+r.offsetY,startAngle:d,endAngle:h,circumference:p,outerRadius:m,innerRadius:g,label:v(f.label,n,r.data.labels[n])}});var y=t._model;this.removeHoverStyle(t),i&&l.animateRotate||(0===n?y.startAngle=s.rotation:y.startAngle=o.getMeta().data[n-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,n=this.getDataset(),i=this.getMeta(),o=0;return e.each(i.data,function(e,i){t=n.data[i],isNaN(t)||e.hidden||(o+=Math.abs(t))}),o},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(t/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,o=this.index,r=t.length,a=0;r>a;a++)e=t[a]._model?t[a]._model.borderWidth:0,n=t[a]._chart?t[a]._chart.config.data.datasets[o].hoverBorderWidth:0,i=e>i?e:i,i=n>i?n:i;return i}})}},{}],18:[function(t,e,n){"use strict";e.exports=function(t){function e(t,e){return n.getValueOrDefault(t.showLine,e.showLines)}var n=t.helpers;t.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},t.controllers.line=t.DatasetController.extend({datasetElementType:t.elements.Line,dataElementType:t.elements.Point,update:function(t){var i,o,r,a=this,s=a.getMeta(),l=s.dataset,u=s.data||[],c=a.chart.options,d=c.elements.line,h=a.getScaleForId(s.yAxisID),f=a.getDataset(),p=e(f,c);for(p&&(r=l.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),l._scale=h,l._datasetIndex=a.index,l._children=u,l._model={spanGaps:f.spanGaps?f.spanGaps:c.spanGaps,tension:r.tension?r.tension:n.getValueOrDefault(f.lineTension,d.tension),backgroundColor:r.backgroundColor?r.backgroundColor:f.backgroundColor||d.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:f.borderWidth||d.borderWidth,borderColor:r.borderColor?r.borderColor:f.borderColor||d.borderColor,borderCapStyle:r.borderCapStyle?r.borderCapStyle:f.borderCapStyle||d.borderCapStyle,borderDash:r.borderDash?r.borderDash:f.borderDash||d.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:f.borderDashOffset||d.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:f.borderJoinStyle||d.borderJoinStyle,fill:r.fill?r.fill:void 0!==f.fill?f.fill:d.fill,steppedLine:r.steppedLine?r.steppedLine:n.getValueOrDefault(f.steppedLine,d.stepped),cubicInterpolationMode:r.cubicInterpolationMode?r.cubicInterpolationMode:n.getValueOrDefault(f.cubicInterpolationMode,d.cubicInterpolationMode),scaleTop:h.top,scaleBottom:h.bottom,scaleZero:h.getBasePixel()},l.pivot()),i=0,o=u.length;o>i;++i)a.updateElement(u[i],i,t);for(p&&0!==l._model.tension&&a.updateBezierControlPoints(),i=0,o=u.length;o>i;++i)u[i].pivot()}
13,getPointBackgroundColor:function(t,e){var i=this.chart.options.elements.point.backgroundColor,o=this.getDataset(),r=t.custom||{};return r.backgroundColor?i=r.backgroundColor:o.pointBackgroundColor?i=n.getValueAtIndexOrDefault(o.pointBackgroundColor,e,i):o.backgroundColor&&(i=o.backgroundColor),i},getPointBorderColor:function(t,e){var i=this.chart.options.elements.point.borderColor,o=this.getDataset(),r=t.custom||{};return r.borderColor?i=r.borderColor:o.pointBorderColor?i=n.getValueAtIndexOrDefault(o.pointBorderColor,e,i):o.borderColor&&(i=o.borderColor),i},getPointBorderWidth:function(t,e){var i=this.chart.options.elements.point.borderWidth,o=this.getDataset(),r=t.custom||{};return r.borderWidth?i=r.borderWidth:o.pointBorderWidth?i=n.getValueAtIndexOrDefault(o.pointBorderWidth,e,i):o.borderWidth&&(i=o.borderWidth),i},updateElement:function(t,e,i){var o,r,a=this,s=a.getMeta(),l=t.custom||{},u=a.getDataset(),c=a.index,d=u.data[e],h=a.getScaleForId(s.yAxisID),f=a.getScaleForId(s.xAxisID),p=a.chart.options.elements.point,g=a.chart.data.labels||[],m=1===g.length||1===u.data.length||a.chart.isCombo;void 0!==u.radius&&void 0===u.pointRadius&&(u.pointRadius=u.radius),void 0!==u.hitRadius&&void 0===u.pointHitRadius&&(u.pointHitRadius=u.hitRadius),o=f.getPixelForValue("object"==typeof d?d:NaN,e,c,m),r=i?h.getBasePixel():a.calculatePointY(d,e,c),t._xScale=f,t._yScale=h,t._datasetIndex=c,t._index=e,t._model={x:o,y:r,skip:l.skip||isNaN(o)||isNaN(r),radius:l.radius||n.getValueAtIndexOrDefault(u.pointRadius,e,p.radius),pointStyle:l.pointStyle||n.getValueAtIndexOrDefault(u.pointStyle,e,p.pointStyle),backgroundColor:a.getPointBackgroun
13dColor(t,e),borderColor:a.getPointBorderColor(t,e),borderWidth:a.getPointBorderWidth(t,e),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:l.hitRadius||n.getValueAtIndexOrDefault(u.pointHitRadius,e,p.hitRadius)}},calculatePointY:function(t,e,n){var i,o,r,a=this,s=a.chart,l=a.getMeta(),u=a.getScaleForId(l.yAxisID),c=0,d=0;if(u.options.stacked){for(i=0;n>i;i++)if(o=s.data.datasets[i],r=s.getDatasetMeta(i),"line"===r.type&&r.yAxisID===u.id&&s.isDatasetVisible(i)){var h=Number(u.getRightValue(o.data[e]));0>h?d+=h||0:c+=h||0}var f=Number(u.getRightValue(t));return 0>f?u.getPixelForValue(d+f):u.getPixelForValue(c+f)}return u.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,i,o,r,a,s=this,l=s.getMeta(),u=s.chart.chartArea,c=l.data||[];if(l.dataset._model.spanGaps&&(c=c.filter(function(t){return!t._model.skip})),"monotone"===l.dataset._model.cubicInterpolationMode)n.splineCurveMonotone(c);else for(e=0,i=c.length;i>e;++e)o=c[e],r=o._model,a=n.splineCurve(n.previousItem(c,e)._model,r,n.nextItem(c,e)._model,l.dataset._model.tension),r.controlPointPreviousX=a.previous.x,r.controlPointPreviousY=a.previous.y,r.controlPointNextX=a.next.x,r.controlPointNextY=a.next.y;if(s.chart.options.elements.line.capBezierPoints)for(e=0,i=c.length;i>e;++e)r=c[e]._model,r.controlPointPreviousX=t(r.controlPointPreviousX,u.left,u.right),r.controlPointPreviousY=t(r.controlPointPreviousY,u.top,u.bottom),r.controlPointNextX=t(r.controlPointNextX,u.left,u.right),r.controlPointNextY=t(r.controlPointNextY,u.top,u.bottom)},draw:function(t){var n,i,o=this,r=o.getMeta(),a=r.data||[],s=t||1;for(n=0,i=a.length;i>n;++n)a[n].transition(s);for(e(o.getDataset(),o.chart.options)&&r.dataset.transition(s).draw(),n=0,i=a.length;i>n;++n)a[n].draw()},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},r=t._model;r.radius=o.hoverRadius||n.getValueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),r.backgroundColor=o.hoverBackgroundColor||n.getValueAtIndexOrDefault(e.pointHoverBackgroundColor,i,n.getHoverColor(r.backgroundColor)),r.borderColor=o.hoverBorderColor||n.getValueAtIndexOrDefault(e.pointHoverBorderColor,i,n.getHoverColor(r.borderColor)),r.borderWidth=o.hoverBorderWidth||n.getValueAtIndexOrDefault(e.pointHoverBorderWidth,i,r.borderWidth)},removeHoverStyle:function(t){var e=this,i=e.chart.data.datasets[t._datasetIndex],o=t._index,r=t.custom||{},a=t._model;void 0!==i.radius&&void 0===i.pointRadius&&(i.pointRadius=i.radius),a.radius=r.radius||n.getValueAtIndexOrDefault(i.pointRadius,o,e.chart.options.elements.point.radius),a.backgroundColor=e.getPointBackgroun
vendor: 4,976 bytes, line 13
13dColor(t,o),a.borderColor=e.getPointBorderColor(t,o),a.borderWidth=e.getPointBorderWidth(t,o)}})}},{}],19:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.polarArea={scale:{type:"radialLinear",lineArc:!0,ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,aspectRatio:1,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var n=t.data,i=n.datasets,o=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),o[r]&&e.push(o[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map(function(i,o){var r=t.getDatasetMeta(0),a=n.datasets[0],s=r.data[o],l=s.custom||{},u=e.getValueAtIndexOrDefault,c=t.options.elements.arc,d=l.backgroundColor?l.backgroundColor:u(a.backgroundColor,o,c.backgroundColor),h=l.borderColor?l.borderColor:u(a.borderColor,o,c.borderColor),f=l.borderWidth?l.borderWidth:u(a.borderWidth,o,c.borderWidth);return{text:i,fillStyle:d,strokeStyle:h,lineWidth:f,hidden:isNaN(a.data[o])||r.data[o].hidden,index:o}}):[]}},onClick:function(t,e){var n,i,o,r=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;i>n;++n)o=a.getDatasetMeta(n),o.data[r].hidden=!o.data[r].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}},t.controllers.polarArea=t.DatasetController.extend({dataElementType:t.elements.Arc,linkScales:e.noop,update:function(t){var n=this,i=n.chart,o=i.chartArea,r=n.getMeta(),a=i.options,s=a.elements.arc,l=Math.min(o.right-o.left,o.bottom-o.top);i.outerRadius=Math.max((l-s.borderWidth/2)/2,0),i.innerRadius=Math.max(a.cutoutPercentage?i.outerRadius/100*a.cutoutPercentage:1,0),i.radiusLength=(i.outerRadius-i.innerRadius)/i.getVisibleDatasetCount(),n.outerRadius=i.outerRadius-i.radiusLength*n.index,n.innerRadius=n.outerRadius-i.radiusLength,r.count=n.countVisibleElements(),e.each(r.data,function(e,i){n.updateElement(e,i,t)})},updateElement:function(t,n,i){for(var o=this,r=o.chart,a=o.getDataset(),s=r.options,l=s.animation,u=r.scale,c=e.getValueAtIndexOrDefault,d=r.data.labels,h=o.calculateCircumference(a.data[n]),f=u.xCenter,p=u.yCenter,g=0,m=o.getMeta(),v=0;n>v;++v)isNaN(a.data[v])||m.data[v].hidden||++g;var y=s.startAngle,b=t.hidden?0:u.getDistanceFromCenterForValue(a.data[n]),x=y+h*g,w=x+(t.hidden?0:h),_=l.animateScale?0:u.getDistanceFromCenterForValue(a.data[n]);e.extend(t,{_datasetIndex:o.index,_index:n,_scale:u,_model:{x:f,y:p,innerRadius:0,outerRadius:i?_:b,startAngle:i&&l.animateRotate?y:x,endAngle:i&&l.animateRotate?y:w,label:c(d,n,d[n])}}),o.removeHoverStyle(t),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},countVisibleElements:function(){var t=this.getDataset(),n=this.getMeta(),i=0;return e.each(n.data,function(e,n){isNaN(t.data[n])||e.hidden||i++}),i},calculateCircumference:function(t){var e=this.getMeta().count;return e>0&&!isNaN(t)?2*Math.PI/e:0}})}},{}],20:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.radar={aspectRatio:1,scale:{type:"radialLinear"},elements:{line:{tension:0}}},t.controllers.radar=t.DatasetController.extend({datasetElementType:t.elements.Line,dataElementType:t.elements.Point,linkScales:e.noop,update:function(t){var n=this,i=n.getMeta(),o=i.dataset,r=i.data,a=o.custom||{},s=n.getDataset(),l=n.chart.options.elements.line,u=n.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),e.extend(i.dataset,{_datasetIndex:n.index,_children:r,_loop:!0,_model:{tension:a.tension?a.tension:e.getValueOrDefault(s.lineTension,l.tension),backgroundColor:a.backgroundColor?a.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:s.borderWidth||l.borderWidth,borderColor:a.borderColor?a.borderColor:s.borderColor||l.borderColor,fill:a.fill?a.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:a.borderCapStyle?a.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:a.borderDash?a.borderDash:s.borderDash||l.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle,scaleTop:u.top,scaleBottom:u.bottom,scaleZero:u.getBasePosition()}}),i.dataset.pivot(),e.each(r,function(e,i){n.updateElement(e,i,t)},n),n.updateBezierControlPoints()},updateElement:function(t,n,i){var o=this,r=t.custom||{},a=o.getDataset(),s=o.chart.scale,l=o.chart.options.elements.point,u=s.getPointPositionForValue(n,a.data[n]);e.extend(t,{_datasetIndex:o.index,_index:n,_scale:s,_model:{x:i?s.xCenter:u.x,y:i?s.yCenter:u.y,tension:r.tension?r.tension:e.getValueOrDefault(a.tension,o.chart.options.elements.line.tension),radius:r.radius?r.radiu
13s:e.getValueAtIndexOrDefault(a.pointRadius,n,l.radius),backgroundColor:r.backgroundColor?r.backgroundColor:e.getValueAtIndexOrDefault(a.pointBackgroundColor,n,l.backgroundColor),borderColor:r.borderColor?r.borderColor:e.getValueAtIndexOrDefault(a.pointBorderColor,n,l.borderColor),borderWidth:r.borderWidth?r.borderWidth:e.getValueAtIndexOrDefault(a.pointBorderWidth,n,l.borderWidth),pointStyle:r.pointStyle?r.pointStyle:e.getValueAtIndexOrDefault(a.pointStyle,n,l.pointStyle),hitRadius:r.hitRadius?r.hitRadius:e.getValueAtIndexOrDefault(a.hitRadius,n,l.hitRadius)}}),t._model.skip=r.skip?r.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,n=this.getMeta();e.each(n.data,function(i,o){var r=i._model,a=e.splineCurve(e.previousItem(n.data,o,!0)._model,r,e.nextItem(n.data,o,!0)._model,r.tension);r.controlPointPreviousX=Math.max(Math.min(a.previous.x,t.right),t.left),r.controlPointPreviousY=Math.max(Math.min(a.previous.y,t.bottom),t.top),r.controlPointNextX=Math.max(Math.min(a.next.x,t.right),t.left),r.controlPointNextY=Math.max(Math.min(a.next.y,t.bottom),t.top),i.pivot()})},draw:function(t){var n=this.getMeta(),i=t||1;e.each(n.data,function(t){t.transition(i)}),n.dataset.transition(i).draw(),e.each(n.data,function(t){t.draw()})},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t.custom||{},o=t._index,r=t._model;r.radius=i.hoverRadius?i.hoverRadius:e.getValueAtIndexOrDefault(n.pointHoverRadius,o,this.chart.options.elements.point.hoverRadius),r.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,o,e.getHoverColor(r.backgroundColor)),r.borderColor=i.hoverBorderColor?i.hoverBorderColor:e.getValueAtIndexOrDefault(n.pointHoverBorderColor,o,e.getHoverColor(r.borderColor)),r.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:e.getValueAtIndexOrDefault(n.pointHoverBorderWidth,o,r.borderWidth)},removeHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],i=t.custom||{},o=t._index,r=t._model,a=this.chart.options.elements.point;r.radius=i.radius?i.radius:e.getValueAtIndexOrDefault(n.radius,o,a.radius),r.backgroundColor=i.backgroundColor?i.backgroundColor:e.getValueAtIndexOrDefault(n.pointBackgroun
13dColor,o,a.backgroundColor),r.borderColor=i.borderColor?i.borderColor:e.getValueAtIndexOrDefault(n.pointBorderColor,o,a.borderColor),r.borderWidth=i.borderWidth?i.borderWidth:e.getValueAtIndexOrDefault(n.pointBorderWidth,o,a.borderWidth)}})}},{}],21:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:e.noop,onComplete:e.noop},t.Animation=t.Element.extend({currentStep:null,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var o=this;i||(t.animating=!0);for(var r=0;r<o.animations.length;++r)if(o.animations[r].chartInstance===t)return void(o.animations[r].animationObject=e);o.animations.push({chartInstance:t,animationObject:e}),1===o.animations.length&&o.requestAnimationFrame()},cancelAnimation:function(t){var n=e.findIndex(this.animations,function(e){return e.chartInstance===t});-1!==n&&(this.animations.splice(n,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=e.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),n=0;t.dropFrames>1&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1);for(var i=0;i<t.animations.length;)null===t.animations[i].animationObject.currentStep&&(t.animations[i].animationObject.currentStep=0),t.animations[i].animationObject.currentStep+=1+n,t.animations[i].animationObject.currentStep>t.animations[i].animationObject.numSteps&&(t.animations[i].animationObject.currentStep=t.animations[i].animationObject.numSteps),t.animations[i].animationObject.render(t.animations[i].chartInstance,t.animations[i].animationObject),t.animations[i].animationObject.onAnimationProgress&&t.animations[i].animationObject.onAnimationProgress.call&&t.animations[i].animationObject.onAnimationProgress.call(t.animations[i].chartInstance,t.animations[i]),t.animations[i].animationObject.currentStep===t.animations[i].animationObject.numSteps?(t.animations[i].animationObject.onAnimationComplete&&t.animations[i].animationObject.onAnimationComplete.call&&t.animations[i].animationObject.onAnimationComplete.call(t.animations[i].chartInstance,t.animations[i]),t.animations[i].chartInstance.animating=!1,t.animations.splice(i,1)):++i;var o=Date.now(),r=(o-e)/t.frameDuration;t.dropFrames+=r,t.animations.length>0&&t.requestAnimationFrame()}}}},{}],22:[function(t,e,n){"use strict";e.exports=function(t){var e=t.canvasHelpers={};e.drawPoint=function(t,e,n,i,o){var r,a,s,l,u,c;if("object"==typeof e&&(r=e.toString(),"[object HTMLImageElement]"===r||"[object HTMLCanvasElement]"===r))return void t.drawImage(e,i-e.width/2,o-e.height/2);if(!(isNaN(n)||0>=n)){switch(e){default:t.beginPath(),t.arc(i,o,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),a=3*n/Math.sqrt(3),u=a*Math.sqrt(3)/2,t.moveTo(i-a/2,o+u/3),t.lineTo(i+a/2,o+u/3),t.lineTo(i,o-2*u/3),t.closePath(),t.fill();break;case"rect":c=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-c,o-c,2*c,2*c),t.strokeRect(i-c,o-c,2*c,2*c);break;case"rectRot":c=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-c,o),t.lineTo(i,o+c),t.lineTo(i+c,o),t.lineTo(i,o-c),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,o+n),t.lineTo(i,o-n),t.moveTo(i-n,o),t.lineTo(i+n,o),t.closePath();break;case"crossRot":t.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,o-l),t.lineTo(i+s,o+l),t.moveTo(i-s,o+l),t.lineTo(i+s,o-l),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,o+n),t.lineTo(i,o-n),t.moveTo(i-n,o),t.lineTo(i+n,o),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,o-l),t.lineTo(i+s,o+l),t.moveTo(i-s,o+l),t.lineTo(i+s,o-l),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,o),t.lineTo(i+n,o),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,o),t.lineTo(i+n,o),t.closePath()}t.stroke()}}}},{}],23:[function(t,e,n){"use strict";e.exports=function(t){function e(t,e){var n=a.getStyle(t,e),i=n&&n.match(/(\d+)px/);return i?Number(i[1]):void 0}function n(t,n){var i=t.style,o=t.getAttribute("height"),r=t.getAttribute("width");
13if(t._chartjs={initial:{height:o,width:r,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===r||""===r){var a=e(t,"width");void 0!==a&&(t.width=a)}if(null===o||""===o)if(""===t.style.height)t.height=t.width/(n.options.aspectRatio||2);else{var s=e(t,"height");void 0!==a&&(t.height=s)}return t}function i(t){if(t._chartjs){var e=t._chartjs.initial;["height","width"].forEach(function(n){var i=e[n];void 0===i||null===i?t.removeAttribute(n):t.setAttribute(n,i)}),a.each(e.style||{},function(e,n){t.style[n]=e}),t.width=t.width,delete t._chartjs}}function o(t,e){if("string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t instanceof HTMLCanvasElement){var i=t.getContext&&t.getContext("2d");if(i instanceof CanvasRenderingContext2D)return n(t,e),i}return null}function r(e){e=e||{};var n=e.data=e.data||{};return n.datasets=n.datasets||[],n.labels=n.labels||[],e.options=a.configMerge(t.defaults.global,t.defaults[e.type],e.options||{}),e}var a=t.helpers;t.types={},t.instances={},t.controllers={},t.Controller=function(e,n,i){var s=this;n=r(n);var l=o(e,n),u=l&&l.canvas,c=u&&u.height,d=u&&u.width;return i.ctx=l,i.canvas=u,i.config=n,i.width=d,i.height=c,i.aspectRatio=c?d/c:null,s.id=a.uid(),s.chart=i,s.config=n,s.options=n.options,s._bufferedRender=!1,t.instances[s.id]=s,Object.defineProperty(s,"data",{get:function(){return s.config.data}}),l&&u?(a.retinaScale(i),s.options.responsive&&(a.addResizeListener(u.parentNode,function(){s.resize()}),s.resize(!0)),s.initialize(),s):(console.error("Failed to create chart: can't acquire context from the given item"),s)},a.extend(t.Controller.prototype,{initialize:function(){var e=this;return t.plugins.notify("beforeInit",[e]),e.bindEvents(),e.ensureScalesHaveIDs(),e.buildOrUpdateControllers(),e.buildScales(),e.updateLayout(),e.resetElements(),e.initToolTip(),e.update(),t.plugins.notify("afterInit",[e]),e},clear:function(){return a.clear(this.chart),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(e){var n=this,i=n.chart,o=n.options,r=i.canvas,s=o.maintainAspectRatio&&i.aspectRatio||null,l=Math.floor(a.getMaximumWidth(r)),u=Math.floor(s?l/s:a.getMaximumHeight(r));if(i.width!==l||i.height!==u){r.width=i.width=l,r.height=i.height=u,r.style.width=l+"px",r.style.height=u+"px",a.retinaScale(i);var c={width:l,height:u};t.plugins.notify("resize",[n,c]),n.options.onResize&&n.options.onResize(n,c),e||(n.stop(),n.update(n.options.responsiveAnimationDuration))}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;a.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),a.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),n&&(n.id=n.id||"scale")},buildScales:function(){var e=this,n=e.options,i=e.scales={},o=[];n.scales&&(o=o.concat((n.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category"}}),(n.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear"}}))),n.scale&&o.push({options:n.scale,dtype:"radialLinear",isDefault:!0}),a.each(o,function(n){var o=n.options,r=a.getValueOrDefault(o.type,n.dtype),s=t.scaleService.getScaleConstructor(r);if(s){var l=new s({id:o.id,options:o,ctx:e.chart.ctx,chart:e});i[l.id]=l,n.isDefault&&(e.scale=l)}}),t.scaleService.addScalesToLayout(this)},updateLayout:function(){t.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var e=this,n=[],i=[];if(a.each(e.data.datasets,function(o,r){var a=e.getDatasetMeta(r);a.type||(a.type=o.type||e.config.type),n.push(a.type),a.controller?a.controller.updateIndex(r):(a.controller=new t.controllers[a.type](e,r),i.push(a.controller))},e),n.length>1)for(var o=1;o<n.length;o++)if(n[o]!==n[o-1]){e.isCombo=!0;break}return i},resetElements:function(){var t=this;a.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e,n){var i=this;t.plugins.notify("beforeUpdate",[i]),i.tooltip._data=i.data;var o=i.buildOrUpdateControllers();a.each(i.data.datasets,function(t,e){i.getDatasetMeta(e).controller.buildOrUpdateElements()},i),t.layoutService.update(i,i.chart.width,i.chart.height),t.plugins.notify("afterScaleUpdate",[i]),a.each(o,function(t){t.reset()}),i.updateDatasets(),t.plugins.notify("afterUpdate",[i]),i._bufferedRender?i._bufferedRequest={lazy:n,duration:e}:i.render(e,n)},updateDatasets:function(){var e,n,i=this;if(t.plugins.notify("beforeDatasetsUpdate",[i])){for(e=0,n=i.data.datasets.length;n>e;
13++e)i.getDatasetMeta(e).controller.update();t.plugins.notify("afterDatasetsUpdate",[i])}},render:function(e,n){var i=this;t.plugins.notify("beforeRender",[i]);var o=i.options.animation;if(o&&("undefined"!=typeof e&&0!==e||"undefined"==typeof e&&0!==o.duration)){var r=new t.Animation;r.numSteps=(e||o.duration)/16.66,r.easing=o.easing,r.render=function(t,e){var n=a.easingEffects[e.easing],i=e.currentStep/e.numSteps,o=n(i);t.draw(o,i,e.currentStep)},r.onAnimationProgress=o.onProgress,r.onAnimationComplete=o.onComplete,t.animationService.addAnimation(i,r,e,n)}else i.draw(),o&&o.onComplete&&o.onComplete.call&&o.onComplete.call(i);return i},draw:function(e){var n=this,i=e||1;n.clear(),t.plugins.notify("beforeDraw",[n,i]),a.each(n.boxes,function(t){t.draw(n.chartArea)},n),n.scale&&n.scale.draw(),t.plugins.notify("beforeDatasetsDraw",[n,i]),a.each(n.data.datasets,function(t,i){n.isDatasetVisible(i)&&n.getDatasetMeta(i).controller.draw(e)},n,!0),t.plugins.notify("afterDatasetsDraw",[n,i]),n.tooltip.transition(i).draw(),t.plugins.notify("afterDraw",[n,i])},getElementAtEvent:function(e){return t.Interaction.modes.single(this,e)},getElementsAtEvent:function(e){return t.Interaction.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return t.Interaction.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,n,i){var o=t.Interaction.modes[n];return"function"==typeof o?o(this,e,i):[]},getDatasetAtEvent:function(e){return t.Interaction.modes.dataset(this,e)},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var i=n._meta[e.id];return i||(i=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;n>e;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroy:function(){var e,n,o,r=this,s=r.chart.canvas;for(r.stop(),n=0,o=r.data.datasets.length;o>n;++n)e=r.getDatasetMeta(n),e.controller&&(e.controller.destroy(),e.controller=null);s&&(a.unbindEvents(r,r.events),a.removeResizeListener(s.parentNode),a.clear(r.chart),i(s),r.chart.canvas=null,r.chart.ctx=null),t.plugins.notify("destroy",[r]),delete t.instances[r.id]},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new t.Tooltip({_chart:e.chart,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e),e.tooltip.initialize()},bindEvents:function(){var t=this;a.bindEvents(t,t.options.events,function(e){t.eventHandler(e)})},updateHoverStyle:function(t,e,n){var i,o,r,a=n?"setHoverStyle":"removeHoverStyle";for(o=0,r=t.length;r>o;++o)i=t[o],i&&this.getDatasetMeta(i._datasetIndex).controller[a](i)},eventHandler:function(t){var e=this,n=e.legend,i=e.tooltip,o=e.options.hover;e._bufferedRender=!0,e._bufferedRequest=null;var r=e.handleEvent(t);r|=n&&n.handleEvent(t),r|=i&&i.handleEvent(t);var a=e._bufferedRequest;return a?e.render(a.duration,a.lazy):r&&!e.animating&&(e.stop(),e.render(o.animationDuration,!0)),e._bufferedRender=!1,e._bufferedRequest=null,e},handleEvent:function(t){var e=this,n=e.options||{},i=n.hover,o=!1;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,i.mode,i),i.onHover&&i.onHover.call(e,e.active),("mouseup"===t.type||"click"===t.type)&&n.onClick&&n.onClick.call(e,t,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,i.mode,!1),e.active.length&&i.mode&&e.updateHoverStyle(e.active,i.mode,!0),o=!a.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,o}})}},{}],24:[function(t,e,n){"use strict";e.exports=function(t){function e(t,e){return t._chartjs?void t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),void o.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),o=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=o.apply(this,e);return i.each(t._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),r}})}
13))}function n(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(o.forEach(function(e){delete t[e]}),delete t._chartjs)}}var i=t.helpers,o=["push","pop","shift","splice","unshift"];t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{ 14datasetElementType:null,dataElementType:null,initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null===e.xAxisID&&(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null===e.yAxisID&&(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,i=n.getMeta(),o=n.getDataset().data||[],r=i.data;for(t=0,e=o.length;e>t;++t)r[t]=r[t]||n.createMetaData(t);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t=this,i=t.getDataset(),o=i.data||(i.data=[]);t._data!==o&&(t._data&&n(t._data,t),e(o,t),t._data=o),t.resyncElements()},update:i.noop,draw:function(t){var e,n,i=t||1,o=this.getMeta().data;for(e=0,n=o.length;n>e;++e)o[e].transition(i).draw()},removeHoverStyle:function(t,e){var n=this.chart.data.datasets[t._datasetIndex],o=t._index,r=t.custom||{},a=i.getValueAtIndexOrDefault,s=t._model;s.backgroundColor=r.backgroundColor?r.backgroundColor:a(n.backgroundColor,o,e.backgroundColor),s.borderColor=r.borderColor?r.borderColor:a(n.borderColor,o,e.borderColor),s.borderWidth=r.borderWidth?r.borderWidth:a(n.borderWidth,o,e.borderWidth)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,o=t.custom||{},r=i.getValueAtIndexOrDefault,a=i.getHoverColor,s=t._model;s.backgroundColor=o.hoverBackgroundColor?o.hoverBackgroundColor:r(e.hoverBackgroundColor,n,a(s.backgroundColor)),s.borderColor=o.hoverBorderColor?o.hoverBorderColor:r(e.hoverBorderColor,n,a(s.borderColor)),s.borderWidth=o.hoverBorderWidth?o.hoverBorderWidth:r(e.hoverBorderWidth,n,s.borderWidth)},resyncElements:function(){var t=this,e=t.getMeta(),n=t.getDataset().data,i=e.data.length,o=n.length;i>o?e.data.splice(o,i-o):o>i&&t.insertElements(i,o-i)},insertElements:function(t,e){for(var n=0;e>n;++n)this.addElementAndReset(t+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=i.inherits}},{}],25:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.elements={},t.Element=function(t){e.extend(this,t),this.initialize.apply(this,arguments)},e.extend(t.Element.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=e.clone(t._model)),t._start=e.clone(t._view),t},transition:function(t){var n=this;return n._view||(n._view=e.clone(n._model)),1===t?(n._view=n._model,n._start=null,n):(n._start||n.pivot(),e.each(n._model,function(i,o){if("_"===o[0]);else if(n._view.hasOwnProperty(o))if(i===n._view[o]);else if("string"==typeof i)try{var r=e.color(n._model[o]).mix(e.color(n._start[o]),t);n._view[o]=r.rgbString()}catch(t){n._view[o]=i}else if("number"==typeof i){var a=void 0!==n._start[o]&&isNaN(n._start[o])===!1?n._start[o]:0;n._view[o]=(n._model[o]-a)*t+a}else n._view[o]=i;else"number"!=typeof i||isNaN(n._view[o])?n._view[o]=i:n._view[o]=i*t},n),n)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return e.isNumber(this._model.x)&&e.isNumber(this._model.y)}}),t.Element.extend=e.inherits}},{}],26:[function(t,e,n){"use strict";var i=t(2);e.exports=function(t){function e(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function n(t){return void 0!==t&&null!==t&&"none"!==t}function o(t,i,o){var r=document.defaultView,a=t.parentNode,s=r.getComputedStyle(t)[i],l=r.getComputedStyle(a)[i],u=n(s),c=n(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(s,t,o):d,c?e(l,a,o):d):"none"}var r=t.helpers={};r.each=function(t,e,n,i){var o,a;if(r.isArray(t))if(a=t.length,i)for(o=a-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;a>o;o++)e.call(n,t[o],o);else if("object"==typeof t){var s=Object.keys(t);for(a=s.length,o=0;a>o;o++)e.call(n,t[s[o]],s[o])}},r.clone=function(t){var e={};return r.each(t,function(t,n){r.isArray(t)?e[n]=t.slice(0):"object"==typeof t&&null!==t?e[n]=r.clone(t):e[n]=t}),e},r.extend=function(t){for(var e=function(e,n){t[n]=e},n=1,i=arguments.length;i>n;n++)r.each(arguments[n],e);return t},r.configMerge=function(e){var n=r.clone(e);
14return r.each(Array.prototype.slice.call(arguments,1),function(e){r.each(e,function(e,i){var o=n.hasOwnProperty(i),a=o?n[i]:{};"scales"===i?n[i]=r.scaleMerge(a,e):"scale"===i?n[i]=r.configMerge(a,t.scaleService.getScaleDefaults(e.type),e):!o||"object"!=typeof a||r.isArray(a)||null===a||"object"!=typeof e||r.isArray(e)?n[i]=e:n[i]=r.configMerge(a,e)})}),n},r.scaleMerge=function(e,n){var i=r.clone(e);return r.each(n,function(e,n){"xAxes"===n||"yAxes"===n?i.hasOwnProperty(n)?r.each(e,function(e,o){var a=r.getValueOrDefault(e.type,"xAxes"===n?"category":"linear"),s=t.scaleService.getScaleDefaults(a);o>=i[n].length||!i[n][o].type?i[n].push(r.configMerge(s,e)):e.type&&e.type!==i[n][o].type?i[n][o]=r.configMerge(i[n][o],s,e):i[n][o]=r.configMerge(i[n][o],e)}):(i[n]=[],r.each(e,function(e){var o=r.getValueOrDefault(e.type,"xAxes"===n?"category":"linear");i[n].push(r.configMerge(t.scaleService.getScaleDefaults(o),e))})):i.hasOwnProperty(n)&&"object"==typeof i[n]&&null!==i[n]&&"object"==typeof e?i[n]=r.configMerge(i[n],e):i[n]=e}),i},r.getValueAtIndexOrDefault=function(t,e,n){return void 0===t||null===t?n:r.isArray(t)?e<t.length?t[e]:n:t},r.getValueOrDefault=function(t,e){return void 0===t?e:t},r.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n=0,i=t.length;i>n;++n)if(t[n]===e)return n;return-1},r.where=function(t,e){if(r.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return r.each(t,function(t){e(t)&&n.push(t)}),n},r.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,o=t.length;o>i;++i)if(e.call(n,t[i],i,t))return i;return-1},r.findNextWhere=function(t,e,n){(void 0===n||null===n)&&(n=-1);for(var i=n+1;i<t.length;i++){var o=t[i];if(e(o))return o}},r.findPreviousWhere=function(t,e,n){(void 0===n||null===n)&&(n=t.length);for(var i=n-1;i>=0;i--){var o=t[i];if(e(o))return o}},r.inherits=function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=e.prototype,n.prototype=new i,n.extend=r.inherits,t&&r.extend(n.prototype,t),n.__super__=e.prototype,n},r.noop=function(){},r.uid=function(){var t=0;return function(){return t++}}(),r.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},r.almostEquals=function(t,e,n){return Math.abs(t-e)<n},r.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},r.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},r.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return t=+t,0===t||isNaN(t)?t:t>0?1:-1},r.log10=Math.log10?function(t){return Math.log10(t)}:function(t){return Math.log(t)/Math.LN10},r.toRadians=function(t){return t*(Math.PI/180)},r.toDegrees=function(t){return t*(180/Math.PI)},r.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,o=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:o}},r.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},r.aliasPixel=function(t){return t%2===0?0:.5},r.splineCurve=function(t,e,n,i){var o=t.skip?e:t,r=e,a=n.skip?e:n,s=Math.sqrt(Math.pow(r.x-o.x,2)+Math.pow(r.y-o.y,2)),l=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),u=s/(s+l),c=l/(s+l);u=isNaN(u)?0:u,c=isNaN(c)?0:c;var d=i*u,h=i*c;return{previous:{x:r.x-d*(a.x-o.x),y:r.y-d*(a.y-o.y)},next:{x:r.x+h*(a.x-o.x),y:r.y+h*(a.y-o.y)}}},r.EPSILON=Number.EPSILON||1e-14,r.splineCurveMonotone=function(t){var e,n,i,o,a=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),s=a.length;for(e=0;s>e;++e)i=a[e],i.model.skip||(n=e>0?a[e-1]:null,o=s-1>e?a[e+1]:null,o&&!o.model.skip&&(i.deltaK=(o.model.y-i.model.y)/(o.model.x-i.model.x)),!n||n.model.skip?i.mK=i.deltaK:!o||o.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2);var l,u,c,d;for(e=0;s-1>e;++e)i=a[e],o=a[e+1],i.model.skip||o.model.skip||(r.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=o.mK=0:(l=i.mK/i.deltaK,u=o.mK/i.deltaK,d=Math.pow(l,2)+Math.pow(u,2),9>=d||(c=3/Math.sqrt(d),i.mK=l*c*i.deltaK,o.mK=u*c*i.deltaK)));var h;for(e=0;s>e;++e)i=a[e],i.model.skip||(n=e>0?a[e-1]:null,o=s-1>e?a[e+1]:null,n&&!n.model.skip&&(h=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-h,i.model.controlPointPreviousY=i.model.y-h*i.mK),o&&!o.model.skip&&(h=(o.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+h,i.model.controlPointNextY=i.model.y+h*i.mK))},r.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},r.previousItem=function(t,e,n){return n?0>=e?t[t.length-1]:t[e-1]:0>=e?t[0]:t[e-1]},r.niceNum=function(t,e){var n,i=Math.floor(r.log10(t)),o=t/Math.pow(10,i);return n=e?1.5>o?1:3>o?2:7>o?5:10:1>=o?1:2>=o?2:5>=o?5:10,n*Math.pow(10,i)};
14var a=r.easingEffects={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-1)*t*t+1)},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-1)*t*t*t*t+1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(t/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return 0===t?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return 1===t?1:1*(-Math.pow(2,-10*t/1)+1)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(-Math.pow(2,-10*--t)+2)},easeInCirc:function(t){return t>=1?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===(t/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-(i*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===(t/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((1*t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2===(t/=.5)?1:(n||(n=1*(.3*1.5)),i<Math.abs(1)?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),1>t?-.5*(i*Math.pow(2,10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)):i*Math.pow(2,-10*(t-=1))*Math.sin((1*t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return 1*(t/=1)*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return 1*((t=t/1-1)*t*((e+1)*t+e)+1)},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:function(t){return 1-a.easeOutBounce(1-t)},easeOutBounce:function(t){return(t/=1)<1/2.75?1*(7.5625*t*t):2/2.75>t?1*(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1*(7.5625*(t-=2.25/2.75)*t+.9375):1*(7.5625*(t-=2.625/2.75)*t+.984375)},easeInOutBounce:function(t){return.5>t?.5*a.easeInBounce(2*t):.5*a.easeOutBounce(2*t-1)+.5}};r.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),r.cancelAnimFrame=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t,1e3/60)}}(),r.getRelativePosition=function(t,e){var n,i,o=t.originalEvent||t,a=t.currentTarget||t.srcElement,s=a.getBoundingClientRect(),l=o.touches;l&&l.length>0?(n=l[0].clientX,i=l[0].clientY):(n=o.clientX,i=o.clientY);var u=parseFloat(r.getStyle(a,"padding-left")),c=parseFloat(r.getStyle(a,"padding-top")),d=parseFloat(r.getStyle(a,"padding-right")),h=parseFloat(r.getStyle(a,"padding-bottom")),f=s.right-s.left-u-d,p=s.bottom-s.top-c-h;return n=Math.round((n-s.left-u)/f*a.width/e.currentDevicePixelRatio),i=Math.round((i-s.top-c)/p*a.height/e.currentDevicePixelRatio),{x:n,y:i}},r.addEvent=function(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},r.removeEvent=function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=r.noop},r.bindEvents=function(t,e,n){var i=t.events=t.events||{};r.each(e,function(e){i[e]=function(){n.apply(t,arguments)},r.addEvent(t.chart.canvas,e,i[e])})},r.unbindEvents=function(t,e){var n=t.chart.canvas;r.each(e,function(t,e){r.removeEvent(n,e,t)})},r.getConstraintWidth=function(t){return o(t,"max-width","clientWidth")},r.getConstraintHeight=function(t){return o(t,"max-height","clientHeight")},r.getMaximumWidth=function(t){var e=t.parentNode,n=parseInt(r.getStyle(e,"padding-left"),10),i=parseInt(r.getStyle(e,"padding-right"),10),o=e.clientWidth-n-i,a=r.getConstraintWidth(t);return isNaN(a)?o:Math.min(o,a)},r.getMaximumHeight=function(t){var e=t.parentNode,n=parseInt(r.getStyle(e,"padding-top"),10),i=parseInt(r.getStyle(e,"padding-bottom"),10),o=e.clientHeight-n-i,a=r.getConstraintHeight(t);return isNaN(a)?o:Math.min(o,a)},r.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},r.retinaScale=function(t){var e=t.currentDevicePixelRatio=window.devicePixelRatio||1;if(1!==e){var n=t.canvas,i=t.height,o=t.width;n.height=i*e,n.width=o*e,t.ctx.scale(e,e),n.style.height=i+"px",n.style.width=o+"px"}},r.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},r.fontString=function(t,e,n){return e+" "+t+"px "+n},r.longestText=function(t,e,n,i){i=i||{};var o=i.data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(o=i.data={},a=i.garbageCollect=[],i.font=e),t.font=e;var s=0;r.each(n,function(e){void 0!==e&&null!==e&&r.isArray(e)!==!0?s=r.measureText(t,o,a,s,e):r.isArray(e)&&r.each(e,function(e){void 0===e||null===e||r.isArray(e)||(s=r.measureText(t,o,a,s,e))})});var l=a.length/2;if(l>n.length){for(var u=0;l>u;u++)delete o[a[u]];a.splice(0,l)}return s},r.measureText=function(t,e,n,i,o){var r=e[o];return r||(r=e[o]=t.measureText(o).width,n.push(o)),r>i&&(i=r),i},r.numberOfLabelLines=function(t){var e=1;return r.each(t,function(t){r.isArray(t)&&t.length>e&&(e=t.length)}),e},r.drawRoundedRectangle=function(t,e,n,i,o,r){t.beginPath(),t.moveTo(e+r,n),t.lineTo(e+i-r,n),t.quadraticCurveTo(e+i,n,e+i,n+r),t.lineTo(e+i,n+o-r),t.quadraticCurveTo(e+i,n+o,e+i-r,n+o),t.lineTo(e+r,n+o),t.quadraticCurveTo(e,n+o,e,n+o-r),t.lineTo(e,n+r),t.quadraticCurveTo(e,n,e+r,n),t.closePath()},r.color=function(e){return i?i(e instanceof CanvasGradient?t.defaults.global.defaultColor:e):(console.error("Color.js not found!"),e)},r.addResizeListener=function(t,e){var n=document.createElement("iframe");
14n.className="chartjs-hidden-iframe",n.style.cssText="display:block;overflow:hidden;border:0;margin:0;top:0;left:0;bottom:0;right:0;height:100%;width:100%;position:absolute;pointer-events:none;z-index:-1;",n.tabIndex=-1;var i=t._chartjs={resizer:n,ticking:!1},o=function(){i.ticking||(i.ticking=!0,r.requestAnimFrame.call(window,function(){return i.resizer?(i.ticking=!1,e()):void 0}))};r.addEvent(n,"load",function(){r.addEvent(n.contentWindow||n,"resize",o),o()}),t.insertBefore(n,t.firstChild)},r.removeResizeListener=function(t){if(t&&t._chartjs){var e=t._chartjs.resizer;e&&(e.parentNode.removeChild(e),t._chartjs.resizer=null),delete t._chartjs}},r.isArray=Array.isArray?function(t){return Array.isArray(t)}:function(t){return"[object Array]"===Object.prototype.toString.call(t)},r.arrayEquals=function(t,e){var n,i,o,a;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;i>n;++n)if(o=t[n],a=e[n],o instanceof Array&&a instanceof Array){if(!r.arrayEquals(o,a))return!1}else if(o!==a)return!1;return!0},r.callCallback=function(t,e,n){t&&"function"==typeof t.call&&t.apply(n,e)},r.getHoverColor=function(t){return t instanceof CanvasPattern?t:r.color(t).saturate(.5).darken(.1).rgbString()}}},{2:2}],27:[function(t,e,n){"use strict";e.exports=function(t){function e(t,e){var n,i,o,r,a,s=t.data.datasets;for(i=0,r=s.length;r>i;++i)if(t.isDatasetVisible(i))for(n=t.getDatasetMeta(i),o=0,a=n.data.length;a>o;++o){var l=n.data[o];l._view.skip||e(l)}}function n(t,n){var i=[];return e(t,function(t){t.inRange(n.x,n.y)&&i.push(t)}),i}function i(t,n,i,o){var a=Number.POSITIVE_INFINITY,s=[];return o||(o=r.distanceBetweenPoints),e(t,function(t){if(!i||t.inRange(n.x,n.y)){var e=t.getCenterPoint(),r=o(n,e);a>r?(s=[t],a=r):r===a&&s.push(t)}}),s}function o(t,e,o){var a=r.getRelativePosition(e,t.chart),s=function(t,e){return Math.abs(t.x-e.x)},l=o.intersect?n(t,a):i(t,a,!1,s),u=[];return l.length?(t.data.datasets.forEach(function(e,n){if(t.isDatasetVisible(n)){var i=t.getDatasetMeta(n),o=i.data[l[0]._index];o&&!o._view.skip&&u.push(o)}}),u):[]}var r=t.helpers;t.Interaction={modes:{single:function(t,n){var i=r.getRelativePosition(n,t.chart),o=[];return e(t,function(t){return t.inRange(i.x,i.y)?(o.push(t),o):void 0}),o.slice(0,1)},label:o,index:o,dataset:function(t,e,o){var a=r.getRelativePosition(e,t.chart),s=o.intersect?n(t,a):i(t,a,!1);return s.length>0&&(s=t.getDatasetMeta(s[0]._datasetIndex).data),s},"x-axis":function(t,e){return o(t,e,!0)},point:function(t,e){var i=r.getRelativePosition(e,t.chart);return n(t,i)},nearest:function(t,e,n){var o=r.getRelativePosition(e,t.chart),a=i(t,o,n.intersect);return a.length>1&&a.sort(function(t,e){var n=t.getArea(),i=e.getArea(),o=n-i;return 0===o&&(o=t._datasetIndex-e._datasetIndex),o}),a.slice(0,1)},x:function(t,n,i){var o=r.getRelativePosition(n,t.chart),a=[],s=!1;return e(t,function(t){t.inXRange(o.x)&&a.push(t),t.inRange(o.x,o.y)&&(s=!0)}),i.intersect&&!s&&(a=[]),a},y:function(t,n,i){var o=r.getRelativePosition(n,t.chart),a=[],s=!1;return e(t,function(t){t.inYRange(o.y)&&a.push(t),t.inRange(o.x,o.y)&&(s=!0)}),i.intersect&&!s&&(a=[]),a}}}}},{}],28:[function(t,e,n){"use strict";e.exports=function(){var t=function(e,n){return this.controller=new t.Controller(e,n,this),this.controller};return t.defaults={global:{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}}},t.Chart=t,t}},{}],29:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.layoutService={defaults:{}
14,addBox:function(t,e){t.boxes||(t.boxes=[]),t.boxes.push(e)},removeBox:function(t,e){t.boxes&&t.boxes.splice(t.boxes.indexOf(e),1)},update:function(t,n,i){function o(t){var e,n=t.isHorizontal();n?(e=t.update(t.options.fullWidth?b:C,S),T-=e.height):(e=t.update(k,_),C-=e.width),D.push({horizontal:n,minSize:e,box:t})}function r(t){var n=e.findNextWhere(D,function(e){return e.box===t});if(n)if(t.isHorizontal()){var i={left:A,right:M,top:0,bottom:0};t.update(t.options.fullWidth?b:C,x/2,i)}else t.update(n.minSize.width,T)}function a(t){var n=e.findNextWhere(D,function(e){return e.box===t}),i={left:0,right:0,top:E,bottom:I};n&&t.update(n.minSize.width,T,i)}function s(t){t.isHorizontal()?(t.left=t.options.fullWidth?c:A,t.right=t.options.fullWidth?n-d:A+C,t.top=F,t.bottom=F+t.height,F=t.bottom):(t.left=$,t.right=$+t.width,t.top=E,t.bottom=E+T,$=t.right)}if(t){var l=t.options.layout,u=l?l.padding:null,c=0,d=0,h=0,f=0;isNaN(u)?(c=u.left||0,d=u.right||0,h=u.top||0,f=u.bottom||0):(c=u,d=u,h=u,f=u);var p=e.where(t.boxes,function(t){return"left"===t.options.position}),g=e.where(t.boxes,function(t){return"right"===t.options.position}),m=e.where(t.boxes,function(t){return"top"===t.options.position}),v=e.where(t.boxes,function(t){return"bottom"===t.options.position}),y=e.where(t.boxes,function(t){return"chartArea"===t.options.position});m.sort(function(t,e){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)}),v.sort(function(t,e){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)});var b=n-c-d,x=i-h-f,w=b/2,_=x/2,k=(n-w)/(p.length+g.length),S=(i-_)/(m.length+v.length),C=b,T=x,D=[];e.each(p.concat(g,m,v),o);var A=c,M=d,E=h,I=f;e.each(p.concat(g),r),e.each(p,function(t){A+=t.width}),e.each(g,function(t){M+=t.width}),e.each(m.concat(v),r),e.each(m,function(t){E+=t.height}),e.each(v,function(t){I+=t.height}),e.each(p.concat(g),a),A=c,M=d,E=h,I=f,e.each(p,function(t){A+=t.width}),e.each(g,function(t){M+=t.width}),e.each(m,function(t){E+=t.height}),e.each(v,function(t){I+=t.height});var P=i-E-I,O=n-A-M;(O!==C||P!==T)&&(e.each(p,function(t){t.height=P}),e.each(g,function(t){t.height=P}),e.each(m,function(t){t.options.fullWidth||(t.width=O)}),e.each(v,function(t){t.options.fullWidth||(t.width=O)}),T=P,C=O);var $=c,F=h;e.each(p.concat(m),s),$+=C,F+=T,e.each(g,s),e.each(v,s),t.chartArea={left:A,top:E,right:A+C,bottom:E+T},e.each(y,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(C,T)})}}}}},{}],30:[function(t,e,n){"use strict";e.exports=function(t){function e(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}var n=t.helpers,i=n.noop;t.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,o=i.getDatasetMeta(n);o.hidden=null===o.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return n.isArray(e.datasets)?e.datasets.map(function(e,i){return{text:e.label,fillStyle:n.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(i),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:i}},this):[]}}},t.Legend=t.Element.extend({initialize:function(t){n.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:i,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:i,beforeSetDimensions:i,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:i,beforeBuildLabels:i,buildLabels:function(){var t=this;t.legendItems=t.options.labels.generateLabels.call(t,t.chart),t.options.reverse&&t.legendItems.reverse()},afterBuildLabels:i,beforeFit:i,fit:function(){var i=this,o=i.options,r=o.labels,a=o.display,s=i.ctx,l=t.defaults.global,u=n.getValueOrDefault,c=u(r.fontSize,l.defaultFontSize),d=u(r.fontStyle,l.defaultFontStyle),h=u(r.fontFamily,l.defaultFontFamily),f=n.fontString(c,d,h),p=i.legendHitBoxes=[],g=i.minSize,m=i.isHorizontal();if(m?(g.width=i.maxWidth,g.height=a?10:0):(g.width=a?10:0,g.height=i.maxHeight),a)if(s.font=f,m){var v=i.lineWidths=[0],y=i.legendItems.length?c+r.padding:0;s.textAlign="left",s.textBaseline="top",n.each(i.legendItems,function(t,n){var o=e(r,c),a=o+c/2+s.measureText(t.text).width;v[v.length-1]+a+r.padding>=i.width&&(y+=c+r.padding,v[v.length]=i.left),p[n]={left:0,top:0,width:a,height:c},v[v.length-1]+=a+r.padding}),g.height+=y}else{var b=r.padding,x=i.columnWidths=[],w=r.padding,_=0,k=0,S=c+b;n.each(i.legendItems,function(t,n){var i=e(r,c),o=i+c/2+s.measureText(t.text).width;k+S>g.height&&(w+=_+r.padding,x.push(_),_=0,k=0),_=Math.max(_,o),k+=S,p[n]={left:0,top:0,width:o,height:c}}),w+=_,x.push(_),g.width+=w}i.width=g.width,i.height=g.height},afterFit:i,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var i=this,o=i.options,r=o.labels,a=t.defaults.global,s=a.elements.line,l=i.width,u=i.lineWidths;if(o.display){var c,d=i.ctx,h=n.getValueOrDefault,f=h(r.fontColor,a.defaultFontColor),p=h(r.fontSize,a.defaultFontSize),g=h(r.fontStyle,a.defaultFontStyle),m=h(r.fontFamily,a.defaultFontFamily),v=n.fontString(p,g,m);d.textAlign="left",d.textBaseline="top",d.lineWidth=.5,d.strokeStyle=f,d.fillStyle=f,d.font=v;var y=e(r,p),b=i.legendHitBoxes,x=function(e,n,i){if(!(isNaN(y)||0>=y)){d.save(),d.fillStyle=h(i.fillStyle,a.defaultColor),d.lineCap=h(i.lineCap,s.borderCapStyle),d.lineDashOffset=h(i.lineDashOffset,s.borderDashOffset),d.lineJoin=
14h(i.lineJoin,s.borderJoinStyle),d.lineWidth=h(i.lineWidth,s.borderWidth),d.strokeStyle=h(i.strokeStyle,a.defaultColor);var r=0===h(i.lineWidth,s.borderWidth);if(d.setLineDash&&d.setLineDash(h(i.lineDash,s.borderDash)),o.labels&&o.labels.usePointStyle){var l=p*Math.SQRT2/2,u=l/Math.SQRT2,c=e+u,f=n+u;t.canvasHelpers.drawPoint(d,i.pointStyle,l,c,f)}else r||d.strokeRect(e,n,y,p),d.fillRect(e,n,y,p);d.restore()}},w=function(t,e,n,i){d.fillText(n.text,y+p/2+t,e),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(y+p/2+t,e+p/2),d.lineTo(y+p/2+t+i,e+p/2),d.stroke())},_=i.isHorizontal();c=_?{x:i.left+(l-u[0])/2,y:i.top+r.padding,line:0}:{x:i.left+r.padding,y:i.top+r.padding,line:0};var k=p+r.padding;n.each(i.legendItems,function(t,e){var n=d.measureText(t.text).width,o=y+p/2+n,a=c.x,s=c.y;_?a+o>=l&&(s=c.y+=k,c.line++,a=c.x=i.left+(l-u[c.line])/2):s+k>i.bottom&&(a=c.x=a+i.columnWidths[c.line]+r.padding,s=c.y=i.top,c.line++),x(a,s,t),b[e].left=a,b[e].top=s,w(a,s,t,n),_?c.x+=o+r.padding:c.y+=k})}},handleEvent:function(t){var e=this,i=e.options,o="mouseup"===t.type?"click":t.type,r=!1;if("mousemove"===o){if(!i.onHover)return}else{if("click"!==o)return;if(!i.onClick)return}var a=n.getRelativePosition(t,e.chart.chart),s=a.x,l=a.y;if(s>=e.left&&s<=e.right&&l>=e.top&&l<=e.bottom)for(var u=e.legendHitBoxes,c=0;c<u.length;++c){var d=u[c];if(s>=d.left&&s<=d.left+d.width&&l>=d.top&&l<=d.top+d.height){if("click"===o){i.onClick.call(e,t,e.legendItems[c]),r=!0;break}if("mousemove"===o){i.onHover.call(e,t,e.legendItems[c]),r=!0;break}}}return r}}),t.plugins.register({beforeInit:function(e){var n=e.options,i=n.legend;i&&(e.legend=new t.Legend({ctx:e.chart.ctx,options:i,chart:e}),t.layoutService.addBox(e,e.legend))}})}},{}],31:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers.noop;t.plugins={_plugins:[],register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)})},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})},clear:function(){this._plugins=[]},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e){var n,i,o=this._plugins,r=o.length;for(n=0;r>n;++n)if(i=o[n],"function"==typeof i[t]&&i[t].apply(i,e||[])===!1)return!1;return!0}},t.PluginBase=t.Element.extend({beforeInit:e,afterInit:e,beforeUpdate:e,afterUpdate:e,beforeDraw:e,afterDraw:e,destroy:e}),t.pluginService=t.plugins}},{}],32:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.scale={display:!0,position:"left",gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{labelString:"",display:!1},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:10,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:t.Ticks.formatters.values}},t.Scale=t.Element.extend({beforeUpdate:function(){e.callCallback(this.options.beforeUpdate,[this])},update:function(t,n,i){var o=this;return o.beforeUpdate(),o.maxWidth=t,o.maxHeight=n,o.margins=e.extend({left:0,right:0,top:0,bottom:0},i),o.beforeSetDimensions(),o.setDimensions(),o.afterSetDimensions(),o.beforeDataLimits(),o.determineDataLimits(),o.afterDataLimits(),o.beforeBuildTicks(),o.buildTicks(),o.afterBuildTicks(),o.beforeTickToLabelConversion(),o.convertTicksToLabels(),o.afterTickToLabelConversion(),o.beforeCalculateTickRotation(),o.calculateTickRotation(),o.afterCalculateTickRotation(),o.beforeFit(),o.fit(),o.afterFit(),o.afterUpdate(),o.minSize},afterUpdate:function(){e.callCallback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){e.callCallback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){e.callCallback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){e.callCallback(this.options.beforeDataLimits,[this])},determineDataLimits:e.noop,afterDataLimits:function(){e.callCallback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){e.callCallback(this.options.beforeBuildTicks,[this])},buildTicks:e.noop,afterBuildTicks:function(){e.callCallback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){e.callCallback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this,e=t.options.ticks;t.ticks=t.ticks.map(e.userCallback||e.callback)},afterTickToLabelConversion:function(){e.callCallback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){e.callCallback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var n=this,i=n.ctx,o=t.defaults.global,r=n.options.ticks,a=e.getValueOrDefault(r.fontSize,o.defaultFontSize),s=e.getValueOrDefault(r.fontStyle,o.defaultFontStyle),l=e.getValueOrDefault(r.fontFamily,o.defaultFontFamily),u=e.fontString(a,s,l);i.font=u;var c,d=i.measureText(n.ticks[0]).width,h=i.measureText(n.ticks[n.ticks.length-1]).width; 15if(n.labelRotation=r.minRotation||0,n.paddingRight=0,n.paddingLeft=0,n.options.display&&n.isHorizontal()){n.paddingRight=h/2+3,n.paddingLeft=d/2+3,n.longestTextCache||(n.longestTextCache={});for(var f,p,g=e.longestText(i,u,n.ticks,n.longestTextCache),m=g,v=n.getPixelForTick(1)-n.getPixelForTick(0)-6;m>v&&n.labelRotation<r.maxRotation;){if(f=Math.cos(e.toRadians(n.labelRotation)),p=Math.sin(e.toRadians(n.labelRotation)),c=f*d,c+a/2>n.yLabelWidth&&(n.paddingLeft=c+a/2),n.paddingRight=a/2,p*g>n.maxHeight){n.labelRotation--;break}n.labelRotation++,m=f*g}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0))},afterCalculateTickRotation:function(){e.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){e.callCallback(this.options.beforeFit,[this])},fit:function(){var n=this,i=n.minSize={width:0,height:0},o=n.options,r=t.defaults.global,a=o.ticks,s=o.scaleLabel,l=o.gridLines,u=o.display,c=n.isHorizontal(),d=e.getValueOrDefault(a.fontSize,r.defaultFontSize),h=e.getValueOrDefault(a.fontStyle,r.defaultFontStyle),f=e.getValueOrDefault(a.fontFamily,r.defaultFontFamily),p=e.fontString(d,h,f),g=e.getValueOrDefault(s.fontSize,r.defaultFontSize),m=o.gridLines.tickMarkLength;if(c?i.width=n.isFullWidth()?n.maxWidth-n.margins.left-n.margins.right:n.maxWidth:i.width=u&&l.drawTicks?m:0,c?i.height=u&&l.drawTicks?m:0:i.height=n.maxHeight,s.display&&u&&(c?i.height+=1.5*g:i.width+=1.5*g),a.display&&u){n.longestTextCache||(n.longestTextCache={});var v=e.longestText(n.ctx,p,n.ticks,n.longestTextCache),y=e.numberOfLabelLines(n.ticks),b=.5*d;if(c){n.longestLabelWidth=v;var x=Math.sin(e.toRadians(n.labelRotation))*n.longestLabelWidth+d*y+b*y;
15i.height=Math.min(n.maxHeight,i.height+x),n.ctx.font=p;var w=n.ctx.measureText(n.ticks[0]).width,_=n.ctx.measureText(n.ticks[n.ticks.length-1]).width,k=Math.cos(e.toRadians(n.labelRotation)),S=Math.sin(e.toRadians(n.labelRotation));n.paddingLeft=0!==n.labelRotation?k*w+3:w/2+3,n.paddingRight=0!==n.labelRotation?S*(d/2)+3:_/2+3}else{var C=n.maxWidth-i.width,T=a.mirror;T?v=0:v+=n.options.ticks.padding,C>v?i.width+=v:i.width=n.maxWidth,n.paddingTop=d/2,n.paddingBottom=d/2}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingTop=Math.max(n.paddingTop-n.margins.top,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0),n.paddingBottom=Math.max(n.paddingBottom-n.margins.bottom,0)),n.width=i.width,n.height=i.height},afterFit:function(){e.callCallback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){return null===t||"undefined"==typeof t?NaN:"number"!=typeof t||isFinite(t)?"object"==typeof t?t instanceof Date||t.isValid?t:this.getRightValue(this.isHorizontal()?t.x:t.y):t:NaN},getLabelForIndex:e.noop,getPixelForValue:e.noop,getValueForPixel:e.noop,getPixelForTick:function(t,e){var n=this;if(n.isHorizontal()){var i=n.width-(n.paddingLeft+n.paddingRight),o=i/Math.max(n.ticks.length-(n.options.gridLines.offsetGridLines?0:1),1),r=o*t+n.paddingLeft;e&&(r+=o/2);var a=n.left+Math.round(r);return a+=n.isFullWidth()?n.margins.left:0}var s=n.height-(n.paddingTop+n.paddingBottom);return n.top+t*(s/(n.ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var n=e.width-(e.paddingLeft+e.paddingRight),i=n*t+e.paddingLeft,o=e.left+Math.round(i);return o+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){var t=this,e=t.min,n=t.max;return t.getPixelForValue(t.beginAtZero?0:0>e&&0>n?n:e>0&&n>0?e:0)},draw:function(n){var i=this,o=i.options;if(o.display){var r,a,s=i.ctx,l=t.defaults.global,u=o.ticks,c=o.gridLines,d=o.scaleLabel,h=0!==i.labelRotation,f=u.autoSkip,p=i.isHorizontal();u.maxTicksLimit&&(a=u.maxTicksLimit);var g=e.getValueOrDefault(u.fontColor,l.defaultFontColor),m=e.getValueOrDefault(u.fontSize,l.defaultFontSize),v=e.getValueOrDefault(u.fontStyle,l.defaultFontStyle),y=e.getValueOrDefault(u.fontFamily,l.defaultFontFamily),b=e.fontString(m,v,y),x=c.tickMarkLength,w=e.getValueOrDefault(c.borderDash,l.borderDash),_=e.getValueOrDefault(c.borderDashOffset,l.borderDashOffset),k=e.getValueOrDefault(d.fontColor,l.defaultFontColor),S=e.getValueOrDefault(d.fontSize,l.defaultFontSize),C=e.getValueOrDefault(d.fontStyle,l.defaultFontStyle),T=e.getValueOrDefault(d.fontFamily,l.defaultFontFamily),D=e.fontString(S,C,T),A=e.toRadians(i.labelRotation),M=Math.cos(A),E=i.longestLabelWidth*M;s.fillStyle=g;var I=[];if(p){if(r=!1,h&&(E/=2),(E+u.autoSkipPadding)*i.ticks.length>i.width-(i.paddingLeft+i.paddingRight)&&(r=1+Math.floor((E+u.autoSkipPadding)*i.ticks.length/(i.width-(i.paddingLeft+i.paddingRight)))),a&&i.ticks.length>a)for(;!r||i.ticks.length/(r||1)>a;)r||(r=1),r+=1;f||(r=!1)}var P="right"===o.position?i.left:i.right-x,O="right"===o.position?i.left+x:i.right,$="bottom"===o.position?i.top:i.bottom-x,F="bottom"===o.position?i.top+x:i.bottom;if(e.each(i.ticks,function(t,a){if(void 0!==t&&null!==t){var s=i.ticks.length===a+1,l=r>1&&a%r>0||a%r===0&&a+r>=i.ticks.length;if((!l||s)&&void 0!==t&&null!==t){var d,f;a===("undefined"!=typeof i.zeroLineIndex?i.zeroLineIndex:0)?(d=c.zeroLineWidth,f=c.zeroLineColor):(d=e.getValueAtIndexOrDefault(c.lineWidth,a),f=e.getValueAtIndexOrDefault(c.color,a));var g,m,v,y,b,k,S,C,T,D,M="middle",E="middle";if(p){h||(E="top"===o.position?"bottom":"top"),M=h?"right":"center";var L=i.getPixelForTick(a)+e.aliasPixel(d);T=i.getPixelForTick(a,c.offsetGridLines)+u.labelOffset,D=h?i.top+12:"top"===o.position?i.bottom-x:i.top+x,g=v=b=S=L,m=$,y=F,k=n.top,C=n.bottom}else{"left"===o.position?u.mirror?(T=i.right+u.padding,M="left"):(T=i.right-u.padding,M="right"):u.mirror?(T=i.left-u.padding,M="right"):(T=i.left+u.padding,M="left");var N=i.getPixelForTick(a);
15N+=e.aliasPixel(d),D=i.getPixelForTick(a,c.offsetGridLines),g=P,v=O,b=n.left,S=n.right,m=y=k=C=N}I.push({tx1:g,ty1:m,tx2:v,ty2:y,x1:b,y1:k,x2:S,y2:C,labelX:T,labelY:D,glWidth:d,glColor:f,glBorderDash:w,glBorderDashOffset:_,rotation:-1*A,label:t,textBaseline:E,textAlign:M})}}}),e.each(I,function(t){if(c.display&&(s.save(),s.lineWidth=t.glWidth,s.strokeStyle=t.glColor,s.setLineDash&&(s.setLineDash(t.glBorderDash),s.lineDashOffset=t.glBorderDashOffset),s.beginPath(),c.drawTicks&&(s.moveTo(t.tx1,t.ty1),s.lineTo(t.tx2,t.ty2)),c.drawOnChartArea&&(s.moveTo(t.x1,t.y1),s.lineTo(t.x2,t.y2)),s.stroke(),s.restore()),u.display){s.save(),s.translate(t.labelX,t.labelY),s.rotate(t.rotation),s.font=b,s.textBaseline=t.textBaseline,s.textAlign=t.textAlign;var n=t.label;if(e.isArray(n))for(var i=0,o=-(n.length-1)*m*.75;i<n.length;++i)s.fillText(""+n[i],0,o),o+=1.5*m;else s.fillText(n,0,0);s.restore()}}),d.display){var L,N,R=0;if(p)L=i.left+(i.right-i.left)/2,N="bottom"===o.position?i.bottom-S/2:i.top+S/2;else{var W="left"===o.position;L=W?i.left+S/2:i.right-S/2,N=i.top+(i.bottom-i.top)/2,R=W?-.5*Math.PI:.5*Math.PI}s.save(),s.translate(L,N),s.rotate(R),s.textAlign="center",s.textBaseline="middle",s.fillStyle=k,s.font=D,s.fillText(d.labelString,0,0),s.restore()}if(c.drawBorder){s.lineWidth=e.getValueAtIndexOrDefault(c.lineWidth,0),s.strokeStyle=e.getValueAtIndexOrDefault(c.color,0);var z=i.left,j=i.right,H=i.top,B=i.bottom,q=e.aliasPixel(s.lineWidth);p?(H=B="top"===o.position?i.bottom:i.top,H+=q,B+=q):(z=j="left"===o.position?i.right:i.left,z+=q,j+=q),s.beginPath(),s.moveTo(z,H),s.lineTo(j,B),s.stroke()}}}})}},{}],33:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,n,i){this.constructors[t]=n,this.defaults[t]=e.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(n){return this.defaults.hasOwnProperty(n)?e.scaleMerge(t.defaults.scale,this.defaults[n]):{}},updateScaleDefaults:function(t,n){var i=this.defaults;i.hasOwnProperty(t)&&(i[t]=e.extend(i[t],n))},addScalesToLayout:function(n){e.each(n.scales,function(e){t.layoutService.addBox(n,e)})}}}},{}],34:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.Ticks={generators:{linear:function(t,n){var i,o=[];if(t.stepSize&&t.stepSize>0)i=t.stepSize;else{var r=e.niceNum(n.max-n.min,!1);i=e.niceNum(r/(t.maxTicks-1),!0)}var a=Math.floor(n.min/i)*i,s=Math.ceil(n.max/i)*i;if(t.min&&t.max&&t.stepSize){var l=(t.max-t.min)%t.stepSize===0;l&&(a=t.min,s=t.max)}var u=(s-a)/i;u=e.almostEquals(u,Math.round(u),i/1e3)?Math.round(u):Math.ceil(u),o.push(void 0!==t.min?t.min:a);for(var c=1;u>c;++c)o.push(a+c*i);return o.push(void 0!==t.max?t.max:s),o},logarithmic:function(t,n){for(var i=[],o=e.getValueOrDefault,r=o(t.min,Math.pow(10,Math.floor(e.log10(n.min))));r<n.max;){i.push(r);var a,s;0===r?(a=Math.floor(e.log10(n.minNotZero)),s=Math.round(n.minNotZero/Math.pow(10,a))):(a=Math.floor(e.log10(r)),s=Math.floor(r/Math.pow(10,a))+1),10===s&&(s=1,++a),r=s*Math.pow(10,a)}var l=o(t.max,r);return i.push(l),i}},formatters:{values:function(t){return e.isArray(t)?t:""+t},linear:function(t,n,i){var o=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(o)>1&&t!==Math.floor(t)&&(o=t-Math.floor(t));var r=e.log10(Math.abs(o)),a="";if(0!==t){var s=-1*Math.floor(r);s=Math.max(Math.min(s,20),0),a=t.toFixed(s)}else a="0";return a},logarithmic:function(t,n,i){var o=t/Math.pow(10,Math.floor(e.log10(t)));return 0===t?"0":1===o||2===o||5===o||0===n||n===i.length-1?t.toExponential():""}}}}},{}],35:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers;t.defaults.global.title={display:!1,position:"top",fullWidth:!0,fontStyle:"bold",padding:10,text:""};var n=e.noop;t.Title=t.Element.extend({initialize:function(n){var i=this;e.extend(i,n),i.options=e.configMerge(t.defaults.global.title,n.options),i.legendHitBoxes=[]},beforeUpdate:function(){var n=this.chart.options;n&&n.title&&(this.options=e.configMerge(t.defaults.global.title,n.title))},update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:n,beforeSetDimensions:n,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:n,beforeBuildLabels:n,buildLabels:n,afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,i=e.getValueOrDefault,o=n.options,r=t.defaults.global,a=o.display,s=i(o.fontSize,r.defaultFontSize),l=n.minSize;n.isHorizontal()?(l.width=n.maxWidth,l.height=a?s+2*o.padding:0):(l.width=a?s+2*o.padding:0,l.height=n.maxHeight),n.width=l.width,n.height=l.height},afterFit:n,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var n=this,i=n.ctx,o=e.getValueOrDefault,r=n.options,a=t.defaults.global;if(r.display){var s,l,u,c=o(r.fontSize,a.defaultFontSize),d=o(r.fontStyle,a.defaultFontStyle),h=o(r.fontFamily,a.defaultFontFamily),f=e.fontString(c,d,h),p=0,g=n.top,m=n.left,v=n.bottom,y=n.right;i.fillStyle=o(r.fontColor,a.defaultFontColor),i.font=f,n.isHorizontal()?(s=m+(y-m)/2,l=g+(v-g)/2,u=y-m):(s="left"===r.position?m+c/2:y-c/2,l=g+(v-g)/2,u=v-g,p=Math.PI*("left"===r.position?-.5:.5)),i.save(),i.translate(s,l),i.rotate(p),i.textAlign="center",i.textBaseline="middle",i.fillText(r.text,0,0,u),i.restore(
15)}}}),t.plugins.register({beforeInit:function(e){var n=e.options,i=n.title;i&&(e.titleBlock=new t.Title({ctx:e.chart.ctx,options:i,chart:e}),t.layoutService.addBox(e,e.titleBlock))}})}},{}],36:[function(t,e,n){"use strict";e.exports=function(t){function e(t,e){var n=l.color(t);return n.alpha(e*n.alpha()).rgbaString()}function n(t,e){return e&&(l.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function i(t){var e=t._xScale,n=t._yScale||t._scale,i=t._index,o=t._datasetIndex;return{xLabel:e?e.getLabelForIndex(i,o):"",yLabel:n?n.getLabelForIndex(i,o):"",index:i,datasetIndex:o,x:t._model.x,y:t._model.y}}function o(e){var n=t.defaults.global,i=l.getValueOrDefault;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,bodyFontColor:e.bodyFontColor,_bodyFontFamily:i(e.bodyFontFamily,n.defaultFontFamily),_bodyFontStyle:i(e.bodyFontStyle,n.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:i(e.bodyFontSize,n.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:i(e.titleFontFamily,n.defaultFontFamily),_titleFontStyle:i(e.titleFontStyle,n.defaultFontStyle),titleFontSize:i(e.titleFontSize,n.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:i(e.footerFontFamily,n.defaultFontFamily),_footerFontStyle:i(e.footerFontStyle,n.defaultFontStyle),footerFontSize:i(e.footerFontSize,n.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors}}function r(t,e){var n=t._chart.ctx,i=2*e.yPadding,o=0,r=e.body,a=r.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);a+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,u=e.footer.length,c=e.titleFontSize,d=e.bodyFontSize,h=e.footerFontSize;i+=s*c,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=a*d,i+=a?(a-1)*e.bodySpacing:0,i+=u?e.footerMarginTop:0,i+=u*h,i+=u?(u-1)*e.footerSpacing:0;var f=0,p=function(t){o=Math.max(o,n.measureText(t).width+f)};return n.font=l.fontString(c,e._titleFontStyle,e._titleFontFamily),l.each(e.title,p),n.font=l.fontString(d,e._bodyFontStyle,e._bodyFontFamily),l.each(e.beforeBody.concat(e.afterBody),p),f=e.displayColors?d+2:0,l.each(r,function(t){l.each(t.before,p),l.each(t.lines,p),l.each(t.after,p)}),f=0,n.font=l.fontString(h,e._footerFontStyle,e._footerFontFamily),l.each(e.footer,p),o+=2*e.xPadding,{width:o,height:i}}function a(t,e){var n=t._model,i=t._chart,o=t._chartInstance.chartArea,r="center",a="center";n.y<e.height?a="top":n.y>i.height-e.height&&(a="bottom");var s,l,u,c,d,h=(o.left+o.right)/2,f=(o.top+o.bottom)/2;"center"===a?(s=function(t){return h>=t},l=function(t){return t>h}):(s=function(t){return t<=e.width/2},l=function(t){return t>=i.width-e.width/2}),u=function(t){return t+e.width>i.width},c=function(t){return t-e.width<0},d=function(t){return f>=t?"top":"bottom"},s(n.x)?(r="left",u(n.x)&&(r="center",a=d(n.y))):l(n.x)&&(r="right",c(n.x)&&(r="center",a=d(n.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:r,yAlign:p.yAlign?p.yAlign:a}}function s(t,e,n){var i=t.x,o=t.y,r=t.caretSize,a=t.caretPadding,s=t.cornerRadius,l=n.xAlign,u=n.yAlign,c=r+a,d=s+a;return"right"===l?i-=e.width:"center"===l&&(i-=e.width/2),"top"===u?o+=c:o-="bottom"===u?e.height+c:e.height/2,"center"===u?"left"===l?i+=c:"right"===l&&(i-=c):"left"===l?i-=d:"right"===l&&(i+=d),{x:i,y:o}}var l=t.helpers;t.defaults.global.tooltips={enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,callbacks:{beforeTitle:l.noop,title:function(t,e){var n="",i=e.labels,o=i?i.length:0;if(t.length>0){var r=t[0];r.xLabel?n=r.xLabel:o>0&&r.index<o&&(n=i[r.index])}return n},afterTitle:l.noop,beforeBody:l.noop,beforeLabel:l.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n+": "+t.yLabel},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex),i=n.data[t.index],o=i._view;return{borderColor:o.borderColor,backgroundColor:o.backgroundColor}},afterLabel:l.noop,afterBody:l.noop,beforeFooter:l.noop,footer:l.noop,afterFooter:l.noop}},t.Tooltip=t.Element.extend({initialize:function(){this._model=o(this._options)},getTitle:function(){var t=this,e=t._options,i=e.callbacks,o=i.beforeTitle.apply(t,arguments),r=i.title.apply(t,arguments),a=i.afterTitle.apply(t,arguments),s=[];return s=n(s,o),s=n(s,r),s=n(s,a)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return l.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,e){var i=this,o=i._options.callbacks,r=[];return l.each(t,function(t){var a={before:[],lines:[],after:[]};n(a.before,o.beforeLabel.call(i,t,e)),n(a.lines,o.label.call(i,t,e)),n(a.after,o.afterLabel.call(i,t,e)),r.push(a)}),r},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return l.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this,e=t._options.callbacks,i=e.beforeFooter.apply(t,arguments),o=e.footer.apply(t,arguments),r=e.afterFooter.apply(t,arguments),a=[];return a=n(a,i),a=n(a,o),a=n(a,r)},update:function(e){var n,u,c=this,d=c._options,h=c._model,f=c._model=o(d),p=c._active,g=c._data,m=c._chartInstance,v={xAlign:h.xAlign,yAlign:h.yAlign},y={x:h.x,y:h.y},b={width:h.width,height:h.height},x={x:h.caretX,y:h.caretY};
15if(p.length){f.opacity=1;var w=[];x=t.Tooltip.positioners[d.position](p,c._eventPosition);var _=[];for(n=0,u=p.length;u>n;++n)_.push(i(p[n]));d.filter&&(_=_.filter(function(t){return d.filter(t,g)})),d.itemSort&&(_=_.sort(function(t,e){return d.itemSort(t,e,g)})),l.each(_,function(t){w.push(d.callbacks.labelColor.call(c,t,m))}),f.title=c.getTitle(_,g),f.beforeBody=c.getBeforeBody(_,g),f.body=c.getBody(_,g),f.afterBody=c.getAfterBody(_,g),f.footer=c.getFooter(_,g),f.x=Math.round(x.x),f.y=Math.round(x.y),f.caretPadding=l.getValueOrDefault(x.padding,2),f.labelColors=w,f.dataPoints=_,b=r(this,f),v=a(this,b),y=s(f,b,v)}else f.opacity=0;return f.xAlign=v.xAlign,f.yAlign=v.yAlign,f.x=y.x,f.y=y.y,f.width=b.width,f.height=b.height,f.caretX=x.x,f.caretY=x.y,c._model=f,e&&d.custom&&d.custom.call(c,f),c},drawCaret:function(t,n,i){var o,r,a,s,l,u,c=this._view,d=this._chart.ctx,h=c.caretSize,f=c.cornerRadius,p=c.xAlign,g=c.yAlign,m=t.x,v=t.y,y=n.width,b=n.height;"center"===g?("left"===p?(o=m,r=o-h,a=o):(o=m+y,r=o+h,a=o),l=v+b/2,s=l-h,u=l+h):("left"===p?(o=m+f,r=o+h,a=r+h):"right"===p?(o=m+y-f,r=o-h,a=r-h):(r=m+y/2,o=r-h,a=r+h),"top"===g?(s=v,l=s-h,u=s):(s=v+b,l=s+h,u=s)),d.fillStyle=e(c.backgroundColor,i),d.beginPath(),d.moveTo(o,s),d.lineTo(r,l),d.lineTo(a,u),d.closePath(),d.fill()},drawTitle:function(t,n,i,o){var r=n.title;if(r.length){i.textAlign=n._titleAlign,i.textBaseline="top";var a=n.titleFontSize,s=n.titleSpacing;i.fillStyle=e(n.titleFontColor,o),i.font=l.fontString(a,n._titleFontStyle,n._titleFontFamily);var u,c;for(u=0,c=r.length;c>u;++u)i.fillText(r[u],t.x,t.y),t.y+=a+s,u+1===r.length&&(t.y+=n.titleMarginBottom-s)}},drawBody:function(t,n,i,o){var r=n.bodyFontSize,a=n.bodySpacing,s=n.body;i.textAlign=n._bodyAlign,i.textBaseline="top";var u=e(n.bodyFontColor,o);i.fillStyle=u,i.font=l.fontString(r,n._bodyFontStyle,n._bodyFontFamily);var c=0,d=function(e){i.fillText(e,t.x+c,t.y),t.y+=r+a};l.each(n.beforeBody,d);var h=n.displayColors;c=h?r+2:0,l.each(s,function(a,s){l.each(a.before,d),l.each(a.lines,function(a){h&&(i.fillStyle=e(n.legendColorBackground,o),i.fillRect(t.x,t.y,r,r),i.strokeStyle=e(n.labelColors[s].borderColor,o),i.strokeRect(t.x,t.y,r,r),i.fillStyle=e(n.labelColors[s].backgroundColor,o),i.fillRect(t.x+1,t.y+1,r-2,r-2),i.fillStyle=u),d(a)}),l.each(a.after,d)}),c=0,l.each(n.afterBody,d),t.y-=a},drawFooter:function(t,n,i,o){var r=n.footer;r.length&&(t.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=e(n.footerFontColor,o),i.font=l.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),l.each(r,function(e){i.fillText(e,t.x,t.y),t.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(t,n,i,o,r){i.fillStyle=e(n.backgroundColor,r),l.drawRoundedRectangle(i,t.x,t.y,o.width,o.height,n.cornerRadius),i.fill()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},o=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(this.drawBackground(i,e,t,n,o),this.drawCaret(i,n,o),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,o),this.drawBody(i,e,t,o),this.drawFooter(i,e,t,o))}},handleEvent:function(t){var e=this,n=e._options,i=!1;if(e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:e._active=e._chartInstance.getElementsAtEventForMode(t,n.mode,n),i=!l.arrayEquals(e._active,e._lastActive),e._lastActive=e._active,n.enabled||n.custom){e._eventPosition=l.getRelativePosition(t,e._chart);var o=e._model;e.update(!0),e.pivot(),i|=o.x!==e._model.x||o.y!==e._model.y}return i}}),t.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,n,i=0,o=0,r=0;for(e=0,n=t.length;n>e;++e){var a=t[e];if(a&&a.hasValue()){var s=a.tooltipPosition();i+=s.x,o+=s.y,++r}}return{x:Math.round(i/r),y:Math.round(o/r)}},nearest:function(t,e){var n,i,o,r=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(i=0,o=t.length;o>i;++i){var u=t[i];if(u&&u.hasValue()){var c=u.getCenterPoint(),d=l.distanceBetweenPoints(e,c);s>d&&(s=d,n=u)}}if(n){var h=n.tooltipPosition();r=h.x,a=h.y}return{x:r,y:a}}}}},{}],37:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=t.defaults.global;
15n.elements.arc={backgroundColor:n.defaultColor,borderColor:"#fff",borderWidth:2},t.elements.Arc=t.Element.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,n){var i=this._view;if(i){for(var o=e.getAngleFromPoint(i,{x:t,y:n}),r=o.angle,a=o.distance,s=i.startAngle,l=i.endAngle;s>l;)l+=2*Math.PI;for(;r>l;)r-=2*Math.PI;for(;s>r;)r+=2*Math.PI;var u=r>=s&&l>=r,c=a>=i.innerRadius&&a<=i.outerRadius;return u&&c}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})}},{}],38:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=t.defaults.global;t.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0},t.elements.Line=t.Element.extend({draw:function(){function t(t,e){var n=e._view;e._view.steppedLine===!0?(l.lineTo(n.x,t._view.y),l.lineTo(n.x,n.y)):0===e._view.tension?l.lineTo(n.x,n.y):l.bezierCurveTo(t._view.controlPointNextX,t._view.controlPointNextY,n.controlPointPreviousX,n.controlPointPreviousY,n.x,n.y)}var i=this,o=i._view,r=o.spanGaps,a=o.scaleZero,s=i._loop;s||("top"===o.fill?a=o.scaleTop:"bottom"===o.fill&&(a=o.scaleBottom));var l=i._chart.ctx;l.save();var u=i._children.slice(),c=-1;s&&u.length&&u.push(u[0]);var d,h,f,p;if(u.length&&o.fill){for(l.beginPath(),d=0;d<u.length;++d)h=u[d],f=e.previousItem(u,d),p=h._view,0===d?(s?l.moveTo(a.x,a.y):l.moveTo(p.x,a),p.skip||(c=d,l.lineTo(p.x,p.y))):(f=-1===c?f:u[c],p.skip?r||c!==d-1||(s?l.lineTo(a.x,a.y):l.lineTo(f._view.x,a)):(c!==d-1?r&&-1!==c?t(f,h):s?l.lineTo(p.x,p.y):(l.lineTo(p.x,a),l.lineTo(p.x,p.y)):t(f,h),c=d));s||-1===c||l.lineTo(u[c]._view.x,a),l.fillStyle=o.backgroundColor||n.defaultColor,l.closePath(),l.fill()}var g=n.elements.line;for(l.lineCap=o.borderCapStyle||g.borderCapStyle,l.setLineDash&&l.setLineDash(o.borderDash||g.borderDash),l.lineDashOffset=o.borderDashOffset||g.borderDashOffset,l.lineJoin=o.borderJoinStyle||g.borderJoinStyle,l.lineWidth=o.borderWidth||g.borderWidth,l.strokeStyle=o.borderColor||n.defaultColor,l.beginPath(),c=-1,d=0;d<u.length;++d)h=u[d],f=e.previousItem(u,d),p=h._view,0===d?p.skip||(l.moveTo(p.x,p.y),c=d):(f=-1===c?f:u[c],p.skip||(c!==d-1&&!r||-1===c?l.moveTo(p.x,p.y):t(f,h),c=d));l.stroke(),l.restore()}})}},{}],39:[function(t,e,n){"use strict";e.exports=function(t){function e(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hitRadius,2)}function n(t){var e=this._view;return!!e&&Math.pow(t-e.y,2)<Math.pow(e.radius+e.hitRadius,2)}var i=t.helpers,o=t.defaults.global,r=o.defaultColor;o.elements.point={radius:3,pointStyle:"circle",backgroundColor:r,borderWidth:1,borderColor:r,hitRadius:1,hoverRadius:4,hoverBorderWidth:1},t.elements.Point=t.Element.extend({inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:e,inXRange:e,inYRange:n,getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(){var e=this._view,n=this._chart.ctx,a=e.pointStyle,s=e.radius,l=e.x,u=e.y;e.skip||(n.strokeStyle=e.borderColor||r,n.lineWidth=i.getValueOrDefault(e.borderWidth,o.elements.point.borderWidth),n.fillStyle=e.backgroundColor||r,t.canvasHelpers.drawPoint(n,a,s,l,u))}})}},{}],40:[function(t,e,n){"use strict";e.exports=function(t){function e(t){return void 0!==t._view.width}function n(t){var n,i,o,r,a=t._view;if(e(t)){var s=a.width/2;n=a.x-s,i=a.x+s,o=Math.min(a.y,a.base),r=Math.max(a.y,a.base)}else{var l=a.height/2;n=Math.min(a.x,a.base),i=Math.max(a.x,a.base),o=a.y-l,r=a.y+l}return{left:n,top:o,right:i,bottom:r}}var i=t.defaults.global;i.elements.rectangle={backgroundColor:i.defaultColor,borderWidth:0,borderColor:i.defaultColor,borderSkipped:"bottom"},t.elements.Rectangle=t.Element.extend({draw:function(){function t(t){return l[(c+t)%4]}var e=this._chart.ctx,n=this._view,i=n.width/2,o=n.x-i,r=n.x+i,a=n.base-(n.base-n.y),s=n.borderWidth/2;n.borderWidth&&(o+=s,r-=s,a+=s),e.beginPath(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth;var l=[[o,n.base],[o,a],[r,a],[r,n.base]],u=["bottom","left","top","right"],c=u.indexOf(n.borderSkipped,0);-1===c&&(c=0);var d=t(0);e.moveTo(d[0],d[1]);for(var h=1;4>h;h++)d=t(h),e.lineTo(d[0],d[1]);e.fill(),n.borderWidth&&e.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var i=!1;if(this._view){var o=n(this);i=t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom}return i},inLabelRange:function(t,i){var o=this;if(!o._view)return!1;var r=!1,a=n(o);return r=e(o)?t>=a.left&&t<=a.right:i>=a.top&&i<=a.bottom},inXRange:function(t){var e=n(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=n(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,n,i=this._view;return e(this)?(t=i.x,n=(i.y+i.base)/2):(t=(i.x+i.base)/2,n=i.y),{x:t,y:n}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})}},{}],41:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={position:"bottom"},i=t.Scale.extend({getLabels:function(){var t=this.chart.data;return(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t=this,n=t.getLabels();t.minIndex=0,t.maxIndex=n.length-1;var i;void 0!==t.options.ticks.min&&(i=e.indexOf(n,t.options.ticks.min),t.minIndex=-1!==i?i:t.minIndex),void 0!==t.options.ticks.max&&(i=e.indexOf(n,t.options.ticks.max),t.max
15Index=-1!==i?i:t.maxIndex),t.min=n[t.minIndex],t.max=n[t.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,o=n.isHorizontal();return i.xLabels&&o||i.yLabels&&!o?n.getRightValue(i.datasets[e].data[t]):n.ticks[t]},getPixelForValue:function(t,e,n,i){var o=this,r=Math.max(o.maxIndex+1-o.minIndex-(o.options.gridLines.offsetGridLines?0:1),1);if(void 0!==t&&isNaN(e)){var a=o.getLabels(),s=a.indexOf(t);e=-1!==s?s:e}if(o.isHorizontal()){var l=o.width-(o.paddingLeft+o.paddingRight),u=l/r,c=u*(e-o.minIndex)+o.paddingLeft;return(o.options.gridLines.offsetGridLines&&i||o.maxIndex===o.minIndex&&i)&&(c+=u/2),o.left+Math.round(c)}var d=o.height-(o.paddingTop+o.paddingBottom),h=d/r,f=h*(e-o.minIndex)+o.paddingTop;return o.options.gridLines.offsetGridLines&&i&&(f+=h/2),o.top+Math.round(f)},getPixelForTick:function(t,e){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null,e)},getValueForPixel:function(t){var e,n=this,i=Math.max(n.ticks.length-(n.options.gridLines.offsetGridLines?0:1),1),o=n.isHorizontal(),r=o?n.width-(n.paddingLeft+n.paddingRight):n.height-(n.paddingTop+n.paddingBottom),a=r/i;return t-=o?n.left:n.top,n.options.gridLines.offsetGridLines&&(t-=a/2),t-=o?n.paddingLeft:n.paddingTop,e=0>=t?0:Math.round(t/a)},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",i,n)}},{}],42:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={position:"left",ticks:{callback:t.Ticks.formatters.linear}},i=t.LinearScaleBase.extend({determineDataLimits:function(){function t(t){return s?t.xAxisID===n.id:t.yAxisID===n.id}var n=this,i=n.options,o=n.chart,r=o.data,a=r.datasets,s=n.isHorizontal();if(n.min=null,n.max=null,i.stacked){var l={};e.each(a,function(r,a){var s=o.getDatasetMeta(a);void 0===l[s.type]&&(l[s.type]={positiveValues:[],negativeValues:[]});var u=l[s.type].positiveValues,c=l[s.type].negativeValues;o.isDatasetVisible(a)&&t(s)&&e.each(r.data,function(t,e){var o=+n.getRightValue(t);isNaN(o)||s.data[e].hidden||(u[e]=u[e]||0,c[e]=c[e]||0,i.relativePoints?u[e]=100:0>o?c[e]+=o:u[e]+=o)})}),e.each(l,function(t){var i=t.positiveValues.concat(t.negativeValues),o=e.min(i),r=e.max(i);n.min=null===n.min?o:Math.min(n.min,o),n.max=null===n.max?r:Math.max(n.max,r)})}else e.each(a,function(i,r){var a=o.getDatasetMeta(r);o.isDatasetVisible(r)&&t(a)&&e.each(i.data,function(t,e){var i=+n.getRightValue(t);isNaN(i)||a.data[e].hidden||(null===n.min?n.min=i:i<n.min&&(n.min=i),null===n.max?n.max=i:i>n.max&&(n.max=i))})});this.handleTickRangeOptions()},getTickLimit:function(){var n,i=this,o=i.options.ticks;if(i.isHorizontal())n=Math.min(o.maxTicksLimit?o.maxTicksLimit:11,Math.ceil(i.width/50));else{var r=e.getValueOrDefault(o.fontSize,t.defaults.global.defaultFontSize);n=Math.min(o.maxTicksLimit?o.maxTicksLimit:11,Math.ceil(i.height/(2*r)))}return n},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e,n,i=this,o=i.paddingLeft,r=i.paddingBottom,a=i.start,s=+i.getRightValue(t),l=i.end-a;return i.isHorizontal()?(n=i.width-(o+i.paddingRight),e=i.left+n/l*(s-a),Math.round(e+o)):(n=i.height-(i.paddingTop+r),e=i.bottom-r-n/l*(s-a),Math.round(e))},getValueForPixel:function(t){var e=this,n=e.isHorizontal(),i=e.paddingLeft,o=e.paddingBottom,r=n?e.width-(i+e.paddingRight):e.height-(e.paddingTop+o),a=(n?t-e.left-i:e.bottom-o-t)/r;return e.start+(e.end-e.start)*a},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",i,n)}},{}],43:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=e.noop; 16t.LinearScaleBase=t.Scale.extend({handleTickRangeOptions:function(){var t=this,n=t.options,i=n.ticks;if(i.beginAtZero){var o=e.sign(t.min),r=e.sign(t.max);0>o&&0>r?t.max=0:o>0&&r>0&&(t.min=0)}void 0!==i.min?t.min=i.min:void 0!==i.suggestedMin&&(t.min=Math.min(t.min,i.suggestedMin)),void 0!==i.max?t.max=i.max:void 0!==i.suggestedMax&&(t.max=Math.max(t.max,i.suggestedMax)),t.min===t.max&&(t.max++,i.beginAtZero||t.min--)},getTickLimit:n,handleDirectionalChanges:n,buildTicks:function(){var n=this,i=n.options,o=i.ticks,r=n.getTickLimit();r=Math.max(2,r);var a={maxTicks:r,min:o.min,max:o.max,stepSize:e.getValueOrDefault(o.fixedStepSize,o.stepSize)},s=n.ticks=t.Ticks.generators.linear(a,n);n.handleDirectionalChanges(),n.max=e.max(s),n.min=e.min(s),o.reverse?(s.reverse(),n.start=n.max,n.end=n.min):(n.start=n.min,n.end=n.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)}})}},{}],44:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n={position:"left",ticks:{callback:t.Ticks.formatters.logarithmic}},i=t.Scale.extend({determineDataLimits:function(){function t(t){return u?t.xAxisID===n.id:t.yAxisID===n.id}var n=this,i=n.options,o=i.ticks,r=n.chart,a=r.data,s=a.datasets,l=e.getValueOrDefault,u=n.isHorizontal();if(n.min=null,n.max=null,n.minNotZero=null,i.stacked){var c={};e.each(s,function(o,a){var s=r.getDatasetMeta(a);r.isDatasetVisible(a)&&t(s)&&(void 0===c[s.type]&&(c[s.type]=[]),e.each(o.data,function(t,e){var o=c[s.type],r=+n.getRightValue(t);isNaN(r)||s.data[e].hidden||(o[e]=o[e]||0,i.relativePoints?o[e]=100:o[e]+=r)}))}),e.each(c,function(t){var i=e.min(t),o=e.max(t);n.min=null===n.min?i:Math.min(n.min,i),n.max=null===n.max?o:Math.max(n.max,o)})}else e.each(s,function(i,o){var a=r.getDatasetMeta(o);r.isDatasetVisible(o)&&t(a)&&e.each(i.data,function(t,e){var i=+n.getRightValue(t);isNaN(i)||a.data[e].hidden||(null===n.min?n.min=i:i<n.min&&(n.min=i),null===n.max?n.max=i:i>n.max&&(n.max=i),0!==i&&(null===n.minNotZero||i<n.minNotZero)&&(n.minNotZero=i))})});n.min=l(o.min,n.min),n.max=l(o.max,n.max),n.min===n.max&&(0!==n.min&&null!==n.min?(n.min=Math.pow(10,Math.floor(e.log10(n.min))-1),n.max=Math.pow(10,Math.floor(e.log10(n.max))+1)):(n.min=1,n.max=10))},buildTicks:function(){var n=this,i=n.options,o=i.ticks,r={min:o.min,max:o.max},a=n.ticks=t.Ticks.generators.logarithmic(r,n);n.isHorizontal()||a.reverse(),n.max=e.max(a),n.min=e.min(a),o.reverse?(a.reverse(),n.start=n.max,n.end=n.min):(n.start=n.min,n.end=n.max)},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),t.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},getPixelForValue:function(t){var n,i,o,r=this,a=r.start,s=+r.getRightValue(t),l=r.paddingTop,u=r.paddingBottom,c=r.paddingLeft,d=r.options,h=d.ticks;return r.isHorizontal()?(o=e.log10(r.end)-e.log10(a),0===s?i=r.left+c:(n=r.width-(c+r.paddingRight),i=r.left+n/o*(e.log10(s)-e.log10(a)),i+=c)):(n=r.height-(l+u),0!==a||h.reverse?0===r.end&&h.reverse?(o=e.log10(r.start)-e.log10(r.minNotZero),i=s===r.end?r.top+l:s===r.minNotZero?r.top+l+.02*n:r.top+l+.02*n+.98*n/o*(e.log10(s)-e.log10(r.minNotZero))):(o=e.log10(r.end)-e.log10(a),n=r.height-(l+u),i=r.bottom-u-n/o*(e.log10(s)-e.log10(a))):(o=e.log10(r.end)-e.log10(r.minNotZero),i=s===a?r.bottom-u:s===r.minNotZero?r.bottom-u-.02*n:r.bottom-u-.02*n-.98*n/o*(e.log10(s)-e.log10(r.minNotZero)))),i},getValueForPixel:function(t){var n,i,o=this,r=e.log10(o.end)-e.log10(o.start);return o.isHorizontal()?(i=o.width-(o.paddingLeft+o.paddingRight),n=o.start*Math.pow(10,(t-o.left-o.paddingLeft)*r/i)):(i=o.height-(o.paddingTop+o.paddingBottom),n=Math.pow(10,(o.bottom-o.paddingBottom-t)*r/i)/o.start),n}});t.scaleService.registerScaleType("logarithmic",i,n)}},{}],45:[function(t,e,n){"use strict";e.exports=function(t){var e=t.helpers,n=t.defaults.global,i={dis
16play:!0,animate:!0,lineArc:!1,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:t.Ticks.formatters.linear},pointLabels:{fontSize:10,callback:function(t){return t}}},o=t.LinearScaleBase.extend({getValueCount:function(){return this.chart.data.labels.length},setDimensions:function(){var t=this,i=t.options,o=i.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var r=e.min([t.height,t.width]),a=e.getValueOrDefault(o.fontSize,n.defaultFontSize);t.drawingArea=i.display?r/2-(a/2+o.backdropPaddingY):r/2},determineDataLimits:function(){var t=this,n=t.chart;t.min=null,t.max=null,e.each(n.data.datasets,function(i,o){if(n.isDatasetVisible(o)){var r=n.getDatasetMeta(o);e.each(i.data,function(e,n){var i=+t.getRightValue(e);isNaN(i)||r.data[n].hidden||(null===t.min?t.min=i:i<t.min&&(t.min=i),null===t.max?t.max=i:i>t.max&&(t.max=i))})}}),t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,i=e.getValueOrDefault(t.fontSize,n.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*i)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,i,o,r,a,s,l,u,c,d,h,f,p=this.options.pointLabels,g=e.getValueOrDefault(p.fontSize,n.defaultFontSize),m=e.getValueOrDefault(p.fontStyle,n.defaultFontStyle),v=e.getValueOrDefault(p.fontFamily,n.defaultFontFamily),y=e.fontString(g,m,v),b=e.min([this.height/2-g-5,this.width/2]),x=this.width,w=0;for(this.ctx.font=y,i=0;i<this.getValueCount();i++){t=this.getPointPosition(i,b),o=this.ctx.measureText(this.pointLabels[i]?this.pointLabels[i]:"").width+5;var _=this.getIndexAngle(i)+Math.PI/2,k=360*_/(2*Math.PI)%360;0===k||180===k?(r=o/2,t.x+r>x&&(x=t.x+r,a=i),t.x-r<w&&(w=t.x-r,l=i)):180>k?t.x+o>x&&(x=t.x+o,a=i):t.x-o<w&&(w=t.x-o,l=i)}c=w,d=Math.ceil(x-this.width),s=this.getIndexAngle(a),u=this.getIndexAngle(l),h=d/Math.sin(s+Math.PI/2),f=c/Math.sin(u+Math.PI/2),h=e.isNumber(h)?h:0,f=e.isNumber(f)?f:0,this.drawingArea=Math.round(b-(f+h)/2),this.setCenterPoint(f,h)},setCenterPoint:function(t,e){var n=this,i=n.width-e-n.drawingArea,o=t+n.drawingArea;n.xCenter=Math.round((o+i)/2+n.left),n.yCenter=Math.round(n.height/2+n.top)},getIndexAngle:function(t){var e=2*Math.PI/this.getValueCount(),n=this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0,i=n*Math.PI*2/360;return t*e-Math.PI/2+i},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var n=e.drawingArea/(e.max-e.min);return e.options.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this,i=n.getIndexAngle(t);return{x:Math.round(Math.cos(i)*e)+n.xCenter,y:Math.round(Math.sin(i)*e)+n.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this,e=t.min,n=t.max;return t.getPointPositionForValue(0,t.beginAtZero?0:0>e&&0>n?n:e>0&&n>0?e:0)},draw:function(){var t=this,i=t.options,o=i.gridLines,r=i.ticks,a=i.angleLines,s=i.pointLabels,l=e.getValueOrDefault;if(i.display){var u=t.ctx,c=l(r.fontSize,n.defaultFontSize),d=l(r.fontStyle,n.defaultFontStyle),h=l(r.fontFamily,n.defaultFontFamily),f=e.fontString(c,d,h);if(e.each(t.ticks,function(a,s){if(s>0||i.reverse){var d=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]),h=t.yCenter-d;if(o.display&&0!==s)if(u.strokeStyle=e.getValueAtIndexOrDefault(o.color,s-1),u.lineWidth=e.getValueAtIndexOrDefault(o.lineWidth,s-1),i.lineArc)u.beginPath(),u.arc(t.xCenter,t.yCenter,d,0,2*Math.PI),u.closePath(),u.stroke();else{u.beginPath();for(var p=0;p<t.getValueCount();p++){var g=t.getPointPosition(p,d);0===p?u.moveTo(g.x,g.y):u.lineTo(g.x,g.y)}u.closePath(),u.stroke()}if(r.display){var m=l(r.fontColor,n.defaultFontColor);if(u.font=f,r.showLabelBackdrop){var v=u.measureText(a).width;u.fillStyle=r.backdropColor,u.fillRect(t.xCenter-v/2-r.backdropPaddingX,h-c/2-r.backdropPaddingY,v+2*r.backdropPaddingX,c+2*r.backdropPaddingY)}u.textAlign="center",u.textBaseline="middle",u.fillStyle=m,u.fillText(a,t.xCenter,h)}}}),!i.lineArc){u.lineWidth=a.lineWidth,u.strokeStyle=a.color;for(var p=t.getDistanceFromCenterForValue(i.reverse?t.min:t.max),g=l(s.fontSize,n.defaultFontSize),m=l(s.fontStyle,n.defaultFontStyle),v=l(s.fontFamily,n.defaultFontFamily),y=e.fontString(g,m,v),b=t.getValueCount()-1;b>=0;b--){if(a.display){var x=t.getPointPosition(b,p);u.beginPath(),u.moveTo(t.xCenter,t.yCenter),u.lineTo(x.x,x.y),u.stroke(),u.closePath()}var w=t.getPointPosition(b,p+5),_=l(s.fontColor,n.defaultFontColor);u.font=y,u.fillStyle=_;var k=t.pointLabels,S=this.getIndexAngle(b)+Math.PI/2,C=360*S/(2*Math.PI)%360;
160===C||180===C?u.textAlign="center":180>C?u.textAlign="left":u.textAlign="right",90===C||270===C?u.textBaseline="middle":C>270||90>C?u.textBaseline="bottom":u.textBaseline="top",u.fillText(k[b]?k[b]:"",w.x,w.y)}}}}});t.scaleService.registerScaleType("radialLinear",o,i)}},{}],46:[function(t,e,n){"use strict";var i=t(6);i="function"==typeof i?i:window.moment,e.exports=function(t){var e=t.helpers,n={units:[{name:"millisecond",steps:[1,2,5,10,20,50,100,250,500]},{name:"second",steps:[1,2,5,10,30]},{name:"minute",steps:[1,2,5,10,30]},{name:"hour",steps:[1,2,3,6,12]},{name:"day",steps:[1,2,5]},{name:"week",maxStep:4},{name:"month",maxStep:3},{name:"quarter",maxStep:4},{name:"year",maxStep:!1}]},o={position:"bottom",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm:ss a",hour:"MMM D, hA",day:"ll",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1}},r=t.Scale.extend({initialize:function(){if(!i)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");t.Scale.prototype.initialize.call(this)},getLabelMoment:function(t,e){return null===t||null===e?null:"undefined"!=typeof this.labelMoments[t]?this.labelMoments[t][e]:null},getLabelDiff:function(t,e){var n=this;return null===t||null===e?null:(void 0===n.labelDiffs&&n.buildLabelDiffs(),"undefined"!=typeof n.labelDiffs[t]?n.labelDiffs[t][e]:null)},getMomentStartOf:function(t){var e=this;return"week"===e.options.time.unit&&e.options.time.isoWeekday!==!1?t.clone().startOf("isoWeek").isoWeekday(e.options.time.isoWeekday):t.clone().startOf(e.tickUnit)},determineDataLimits:function(){var t=this;t.labelMoments=[];var n=[];t.chart.data.labels&&t.chart.data.labels.length>0?(e.each(t.chart.data.labels,function(e){var i=t.parseTime(e);i.isValid()&&(t.options.time.round&&i.startOf(t.options.time.round),n.push(i))},t),t.firstTick=i.min.call(t,n),t.lastTick=i.max.call(t,n)):(t.firstTick=null,t.lastTick=null),e.each(t.chart.data.datasets,function(o,r){var a=[],s=t.chart.isDatasetVisible(r);"object"==typeof o.data[0]&&null!==o.data[0]?e.each(o.data,function(e){var n=t.parseTime(t.getRightValue(e));n.isValid()&&(t.options.time.round&&n.startOf(t.options.time.round),a.push(n),s&&(t.firstTick=null!==t.firstTick?i.min(t.firstTick,n):n,t.lastTick=null!==t.lastTick?i.max(t.lastTick,n):n))},t):a=n,t.labelMoments.push(a)},t),t.options.time.min&&(t.firstTick=t.parseTime(t.options.time.min)),t.options.time.max&&(t.lastTick=t.parseTime(t.options.time.max)),t.firstTick=(t.firstTick||i()).clone(),t.lastTick=(t.lastTick||i()).clone()},buildLabelDiffs:function(){var t=this;t.labelDiffs=[];var n=[];t.chart.data.labels&&t.chart.data.labels.length>0&&e.each(t.chart.data.labels,function(e){var i=t.parseTime(e);i.isValid()&&(t.options.time.round&&i.startOf(t.options.time.round),n.push(i.diff(t.firstTick,t.tickUnit,!0)))},t),e.each(t.chart.data.datasets,function(i){var o=[];"object"==typeof i.data[0]&&null!==i.data[0]?e.each(i.data,function(e){var n=t.parseTime(t.getRightValue(e));n.isValid()&&(t.options.time.round&&n.startOf(t.options.time.round),o.push(n.diff(t.firstTick,t.tickUnit,!0)))},t):o=n,t.labelDiffs.push(o)},t)},buildTicks:function(){var i=this;i.ctx.save();var o=e.getValueOrDefault(i.options.ticks.fontSize,t.defaults.global.defaultFontSize),r=e.getValueOrDefault(i.options.ticks.fontStyle,t.defaults.global.defaultFontStyle),a=e.getValueOrDefault(i.options.ticks.fontFamily,t.defaults.global.defaultFontFamily),s=e.fontString(o,r,a);if(i.ctx.font=s,i.ticks=[],i.unitScale=1,i.scaleSizeInUnits=0,i.options.time.unit)i.tickUnit=i.options.time.unit||"day",i.displayFormat=i.options.time.displayFormats[i.tickUnit],i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0),i.unitScale=e.getValueOrDefault(i.options.time.unitStepSize,1);else{var l=i.isHorizontal()?i.width-(i.paddingLeft+i.paddingRight):i.height-(i.paddingTop+i.paddingBottom),u=i.tickFormatFunction(i.firstTick,0,[]),c=i.ctx.measureText(u).width,d=Math.cos(e.toRadians(i.options.ticks.maxRotation)),h=Math.sin(e.toRadians(i.options.ticks.maxRotation));c=c*d+o*h;var f=l/c;i.tickUnit=i.options.time.minUnit,i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0),i.displayFormat=i.options.time.displayFormats[i.tickUnit];for(var p=0,g=n.units[p];p<n.units.length;){if(i.unitScale=1,e.isArray(g.steps)&&Math.ceil(i.scaleSizeInUnits/f)<e.max(g.steps)){for(var m=0;m<g.steps.length;
16++m)if(g.steps[m]>=Math.ceil(i.scaleSizeInUnits/f)){i.unitScale=e.getValueOrDefault(i.options.time.unitStepSize,g.steps[m]);break}break}if(g.maxStep===!1||Math.ceil(i.scaleSizeInUnits/f)<g.maxStep){i.unitScale=e.getValueOrDefault(i.options.time.unitStepSize,Math.ceil(i.scaleSizeInUnits/f));break}++p,g=n.units[p],i.tickUnit=g.name;var v=i.firstTick.diff(i.getMomentStartOf(i.firstTick),i.tickUnit,!0),y=i.getMomentStartOf(i.lastTick.clone().add(1,i.tickUnit)).diff(i.lastTick,i.tickUnit,!0);i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0)+v+y,i.displayFormat=i.options.time.displayFormats[g.name]}}var b;if(i.options.time.min?b=i.getMomentStartOf(i.firstTick):(i.firstTick=i.getMomentStartOf(i.firstTick),b=i.firstTick),!i.options.time.max){var x=i.getMomentStartOf(i.lastTick),w=x.diff(i.lastTick,i.tickUnit,!0);0>w?i.lastTick=i.getMomentStartOf(i.lastTick.add(1,i.tickUnit)):w>=0&&(i.lastTick=x),i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0)}i.options.time.displayFormat&&(i.displayFormat=i.options.time.displayFormat),i.ticks.push(i.firstTick.clone());for(var _=1;_<=i.scaleSizeInUnits;++_){var k=b.clone().add(_,i.tickUnit);if(i.options.time.max&&k.diff(i.lastTick,i.tickUnit,!0)>=0)break;_%i.unitScale===0&&i.ticks.push(k)}var S=i.ticks[i.ticks.length-1].diff(i.lastTick,i.tickUnit);(0!==S||0===i.scaleSizeInUnits)&&(i.options.time.max?(i.ticks.push(i.lastTick.clone()),i.scaleSizeInUnits=i.lastTick.diff(i.ticks[0],i.tickUnit,!0)):(i.ticks.push(i.lastTick.clone()),i.scaleSizeInUnits=i.lastTick.diff(i.firstTick,i.tickUnit,!0))),i.ctx.restore(),i.labelDiffs=void 0},getLabelForIndex:function(t,e){var n=this,i=n.chart.data.labels&&t<n.chart.data.labels.length?n.chart.data.labels[t]:"";return"object"==typeof n.chart.data.datasets[e].data[0]&&(i=n.getRightValue(n.chart.data.datasets[e].data[t])),n.options.time.tooltipFormat&&(i=n.parseTime(i).format(n.options.time.tooltipFormat)),i},tickFormatFunction:function(t,n,i){var o=t.format(this.displayFormat),r=this.options.ticks,a=e.getValueOrDefault(r.callback,r.userCallback);return a?a(o,n,i):o},convertTicksToLabels:function(){var t=this;t.tickMoments=t.ticks,t.ticks=t.ticks.map(t.tickFormatFunction,t)},getPixelForValue:function(t,e,n){var i=this,o=null;if(void 0!==e&&void 0!==n&&(o=i.getLabelDiff(n,e)),null===o&&(t&&t.isValid||(t=i.parseTime(i.getRightValue(t))),t&&t.isValid&&t.isValid()&&(o=t.diff(i.firstTick,i.tickUnit,!0))),null!==o){var r=0!==o?o/i.scaleSizeInUnits:o;if(i.isHorizontal()){var a=i.width-(i.paddingLeft+i.paddingRight),s=a*r+i.paddingLeft;return i.left+Math.round(s)}var l=i.height-(i.paddingTop+i.paddingBottom),u=l*r+i.paddingTop;return i.top+Math.round(u)}},getPixelForTick:function(t){return this.getPixelForValue(this.tickMoments[t],null,null)},getValueForPixel:function(t){var e=this,n=e.isHorizontal()?e.width-(e.paddingLeft+e.paddingRight):e.height-(e.paddingTop+e.paddingBottom),o=(t-(e.isHorizontal()?e.left+e.paddingLeft:e.top+e.paddingTop))/n;return o*=e.scaleSizeInUnits,e.firstTick.clone().add(i.duration(o,e.tickUnit).asSeconds(),"seconds")},parseTime:function(t){var e=this;return"string"==typeof e.options.time.parser?i(t,e.options.time.parser):"function"==typeof e.options.time.parser?e.options.time.parser(t):"function"==typeof t.getMonth||"number"==typeof t?i(t):t.isValid&&t.isValid()?t:"string"!=typeof e.options.time.format&&e.options.time.format.call?(console.warn("options.time.format is deprecated and replaced by options.time.parser. See http://nnnick.github.io/Chart.js/docs-v2/#scales-time-scale"),e.options.time.format(t)):i(t,e.options.time.format)}});t.scaleService.registerScaleType("time",r,o)}},{6:6}]},{},[7])(7)}),!function(){function t(t,e){var n=parseInt(t,10);return isNaN(n)?0:"string"==typeof t&&t.indexOf("%")!==-1?n/100*e:n}function e(e){var n=e[c],i=e.chart.canvas;if(null===i.offsetParent)return!1;var o=i.getBoundingClientRect(),r=t(n.yOffset||0,o.height),a=t(n.xOffset||0,o.width);return o.right-a>=0&&o.bottom-r>=0&&o.left+a<=window.innerWidth&&o.top+r<=window.innerHeight}function n(t){var e=s.Deferred.defaults,n=t.options.deferred,i=l.getValueOrDefault;return void 0===n?n={}:"boolean"==typeof n&&(n={enabled:n}),{enabled:i(n.enabled,e.enabled),xOffset:i(n.xOffset,e.xOffset),yOffset:i(n.yOffset,e.yOffset),delay:i(n.delay,e.delay),appeared:!1,delayed:!1,loaded:!1,elements:[]}}function i(t){var n=t.target,i=n[u];i.ticking||(i.ticking=!0,s.platform.defer(function(){var t,n,o=i.instances.slice(),r=o.length;for(n=0;n<r;
16++n)t=o[n],e(t)&&(a(t),t[c].appeared=!0,t.update());i.ticking=!1}))}function o(t){var e=t.nodeType;if(e===Node.ELEMENT_NODE){var n=l.getStyle(t,"overflow-x"),i=l.getStyle(t,"overflow-y");return"auto"===n||"scroll"===n||"auto"===i||"scroll"===i}return t.nodeType===Node.DOCUMENT_NODE}function r(t){for(var e,n,r=t.chart.canvas,a=r.parentElement;a;)o(a)&&(e=a[u]||(a[u]={}),n=e.instances||(e.instances=[]),0===n.length&&a.addEventListener("scroll",i,{passive:!0}),n.push(t),t[c].elements.push(a)),a=a.parentElement||a.ownerDocument}function a(t){t[c].elements.forEach(function(e){var n=e[u].instances;n.splice(n.indexOf(t),1),n.length||(l.removeEvent(e,"scroll",i),delete e[u])}),t[c].elements=[]}var s=window.Chart,l=s.helpers,u="_chartjs_deferred",c="_deferred_model";s.Deferred=s.Deferred||{},s.Deferred.defaults={enabled:!0,xOffset:0,yOffset:0,delay:0},s.platform=l.extend(s.platform||{},{defer:function(t,e,n){var i=function(){t.call(n)};e?window.setTimeout(i,e):l.requestAnimFrame.call(window,i)}}),s.plugins.register({beforeInit:function(t){var e=t[c]=n(t);e.enabled&&r(t)},beforeDatasetsUpdate:function(t){var n=t[c];if(!n.enabled)return!0;if(!n.loaded){if(!n.appeared&&!e(t))return!1;if(n.appeared=!0,n.loaded=!0,a(t),n.delay>0)return n.delayed=!0,s.platform.defer(function(){n.delayed=!1,t.update()},n.delay),!1}return!n.delayed&&void 0}})}(),!function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define([],e):t.Circles=e()}(this,function(){"use strict";var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,1e3/60)},e=function(t){var e=t.id;if(this._el=document.getElementById(e),null!==this._el){this._radius=t.radius||10,this._duration=void 0===t.duration?500:t.duration,this._value=0,this._maxValue=t.maxValue||100,this._text=void 0===t.text?function(t){return this.htmlifyNumber(t)}:t.text,this._strokeWidth=t.width||10,this._colors=t.colors||["#EEE","#F00"],this._svg=null,this._movingPath=null,this._wrapContainer=null,this._textContainer=null,this._wrpClass=t.wrpClass||"circles-wrp",this._textClass=t.textClass||"circles-text",this._valClass=t.valueStrokeClass||"circles-valueStroke",this._maxValClass=t.maxValueStrokeClass||"circles-maxValueStroke",this._styleWrapper=t.styleWrapper!==!1,this._styleText=t.styleText!==!1;var n=Math.PI/180*270;this._start=-Math.PI/180*90,this._startPrecise=this._precise(this._start),this._circ=n-this._start,this._generate().update(t.value||0)}};return e.prototype={VERSION:"0.0.6",_generate:function(){return this._svgSize=2*this._radius,this._radiusAdjusted=this._radius-this._strokeWidth/2,this._generateSvg()._generateText()._generateWrapper(),this._el.innerHTML="",this._el.appendChild(this._wrapContainer),this},_setPercentage:function(t){this._movingPath.setAttribute("d",this._calculatePath(t,!0)),this._textContainer.innerHTML=this._getText(this.getValueFromPercent(t))},_generateWrapper:function(){return this._wrapContainer=document.createElement("div"),this._wrapContainer.className=this._wrpClass,this._styleWrapper&&(this._wrapContainer.style.position="relative",this._wrapContainer.style.display="inline-block"),this._wrapContainer.appendChild(this._svg),this._wrapContainer.appendChild(this._textContainer),this},_generateText:function(){if(this._textContainer=document.createElement("div"),this._textContainer.className=this._textClass,this._styleText){var t={position:"absolute",top:0,left:0,textAlign:"center",width:"100%",fontSize:.7*this._radius+"px",height:this._svgSize+"px",lineHeight:this._svgSize+"px"};for(var e in t)this._textContainer.style[e]=t[e]}return this._textContainer.innerHTML=this._getText(0),this},_getText:function(t){return this._text?(void 0===t&&(t=this._value),t=parseFloat(t.toFixed(2)),"function"==typeof this._text?this._text.call(this,t):this._text):""},_generateSvg:function(){return this._svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._svg.setAttribute("xmlns","http://www.w3.org/2000/svg"),this._svg.setAttribute("width",this._svgSize),this._svg.setAttribute("height",this._svgSize),this._generatePath(100,!1,this._colors[0],this._maxValClass)._generatePath(1,!0,this._colors[1],this._valClass),this._movingPath=this._svg.getElementsByTagName("path")[1],this},_generatePath:function(t,e,n,i){var o=document.createElementNS("http://www.w3.org/2000/svg","path");return o.setAttribute("fill","transparent"),o.setAttribute("stroke",n),o.setAttribute("stroke-width",this._strokeWidth),o.setAttribute("d",this._calculatePath(t,e)),o.setAttribute("class",i),this._svg.appendChild(o),this},_calculatePath:function(t,e){var n=this._start+t/100*this._circ,i=this._precise(n);return this._arc(i,e)},_arc:function(t,e){var n=t-.001,i=t-this._startPrecise<Math.PI?0:1;return["M",this._radius+this._radiusAdjusted*Math.cos(this._startPrecise),this._radius+this._radiusAdjusted*Math.sin(this._startPrecise),"A",this._radiusAdjusted,this._radiusAdjusted,0,i,1,this._radius+this._radiusAdjusted*Math.cos(n),this._radius+this._radiusAdjusted*Math.sin(n),e?"":"Z"].join(" ")},_precise:function(t){return Math.round(1e3*t)/1e3},htmlifyNumber:function(t,e,n){e=e||"circles-integer",n=n||"circles-decimals";var i=(t+"").split("."),o='<span class="'+e+'">'+i[0]+"</span>";return i.length>1&&(o+='.<span class="'+n+'">'+i[1].substring(0,2)+"</span>"),o},updateRadius:function(t){return this._radius=t,this._generate().update(!0)},updateWidth:function(t){return this._strokeWidth=t,this._generate().update(!0)},updateColors:function(t){this._colors=t;var e=this._svg.getElementsByTagName("path");return e[0].setAttribute("stroke",t[0]),e[1].setAttribute("stroke",t[1]),this},getPercent:function(){return 100*this._value/this._maxValue},getValueFromPercent:function(t){return this._maxValue*t/100},getValue:function(){return this._value},getMaxValue:function(){return this._maxValue},update:function(e,n){if(e===!0)return this._setPercentage(this.getPercent()),this;if(this._value==e||isNaN(e))return this;void 0===n&&(n=this._duration);var i,o,r,a,s=this,l=s.getPercent(),u=1;return this._value=Math.min(this._maxValue,Math.max(0,e)),n?(i=s.getPercent(),o=i>l,u+=i%1,r=Math.floor(Math.abs(i-l)/u),a=n/r,function e(n){if(o?l+=u:l-=u,o&&l>=i||!o&&i>=l)return void t(function(){s._setPercentage(i)});t(function(){s._setPercentage(l)});var r=Date.now(),c=r-n;c>=a?e(r):setTimeout(function(){e(Date.now())},a-c)}(Date.now()),this):(this._setPercentage(this.getPercent()),this)}},e.create=function(t){return new e(t)},e}),!function(t,e,n,i){function o(e,n){this.settings=null,this.options=t.extend({},o.Defaults,n),this.$element=t(e),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"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,n){this._handlers[n]=t.proxy(this[n],this)},this)),t.each(o.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(o.Workers,t.proxy(function(e,n){this._pipe.push({filter:n.filter,run:t.proxy(n.run,this)})},this)),this.setup(),this.initialize()}o.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:e,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"},o.Width={Default:"default",Inner:"inner",Outer:"outer"},o.Type={Event:"event",State:"state"},o.Plugins={},o.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.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(t){var e=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,o={width:"auto","margin-left":i?e:"","margin-right":i?"":e};!n&&this.$stage.children().css(o),t.css=o}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,o=!this.settings.autoWidth,r=[];for(t.items={merge:!1,width:e};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,t.items.merge=n>1||t.items.merge,r[i]=o?e*n:this._items[i].width();this._widths=r}},{filter:["items","settings"],run:function(){var e=[],n=this._items,i=this.settings,o=Math.max(2*i.items,4),r=2*Math.ceil(n.length/2),a=i.loop&&n.length?i.rewind?o:Math.max(o,r):0,s="",l="";for(a/=2;a--;)e.push(this.normalize(e.length/2,!0)),s+=n[e[e.length-1]][0].outerHTML,e.push(this.normalize(n.length-1-(e.length-1)/2,!0)),l=n[e[e.length-1]][0].outerHTML+l;this._clones=e,t(s).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,n=-1,i=0,o=0,r=[];++n<e;)i=r[n-1]||0,o=this._widths[this.relative(n)]+this.settings.margin,r.push(i+o*t);this._coordinates=r}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,n={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],i.eq(e).css(t.css);else n&&(t.css.width=t.items.width,i.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,n,i,o=this.settings.rtl?1:-1,r=2*this.settings.stagePadding,a=this.coordinates(this.current())+r,s=a+this.width()*o,l=[];for(n=0,i=this._coordinates.length;i>n;n++)t=this._coordinates[n-1]||0,e=Math.abs(this._coordinates[n])+r*o,(this.op(t,"<=",a)&&this.op(t,">",s)||this.op(e,"<",a)&&this.op(e,">",s))&&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"))}}],o.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 e,n,o;e=this.$element.find("img"),n=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:i,o=this.$element.children(n).width(),e.length&&0>=o&&this.preloadAutoWidthImages(e)}this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+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")},o.prototype.setup=function(){var e=this.viewport(),n=this.options.responsive,i=-1,o=null;n?(t.each(n,function(t){e>=t&&t>i&&(i=Number(t))}),o=t.extend({},this.options,n[i]),"function"==typeof o.stagePadding&&(o.stagePadding=o.stagePadding()),delete o.responsive,o.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):o=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:o}}),this._breakpoint=i,this.settings=o,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},o.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},o.prototype.prepare=function(e){var n=this.trigger("prepare",{content:e});return n.data||(n.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:n.data}),n.data},o.prototype.update=function(){for(var e=0,n=this._pipe.length,i=t.proxy(function(t){return this[t]},this._invalidated),o={};n>e;)(this._invalidated.all||t.grep(this._pipe[e].filter,i).length>0)&&this._pipe[e].run(o),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},o.prototype.width=function(t){switch(t=t||o.Width.Default){case o.Width.Inner:case o.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},o.prototype.refresh=function(){ 17this.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")},o.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},o.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")))))},o.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.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",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},o.prototype.onDragStart=function(e){var i=null;
vendor: 4,119 bytes, line 17
173!==e.which&&(t.support.transform?(i=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),i={x:i[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")&&(t.support.transform?this.animate(i.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this.pointer(e),t(n).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(n).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var i=this.difference(this._drag.pointer,this.pointer(e));t(n).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(i.x)<Math.abs(i.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},o.prototype.onDragMove=function(t){var e=null,n=null,i=null,o=this.difference(this._drag.pointer,this.pointer(t)),r=this.difference(this._drag.stage.start,o);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-e,r.x=((r.x-e)%n+n)%n+e):(e=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*o.x/5:0,r.x=Math.max(Math.min(r.x,e+i),n+i)),this._drag.stage.current=r,this.animate(r.x))},o.prototype.onDragEnd=function(e){var i=this.difference(this._drag.pointer,this.pointer(e)),o=this._drag.stage.current,r=i.x>0^this.settings.rtl?"left":"right";t(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(o.x,0!==i.x?r:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=r,(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"))},o.prototype.closest=function(e,n){var i=-1,o=30,r=this.width(),a=this.coordinates();return this.settings.freeDrag||t.each(a,t.proxy(function(t,s){return"left"===n&&e>s-o&&s+o>e?i=t:"right"===n&&e>s-r-o&&s-r+o>e?i=t+1:this.op(e,"<",s)&&this.op(e,">",a[t+1]||s-r)&&(i="left"===n?t+1:t),-1===i},this)),this.settings.loop||(this.op(e,">",a[this.minimum()])?i=e=this.minimum():this.op(e,"<",a[this.maximum()])&&(i=e=this.maximum())),i},o.prototype.animate=function(e){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):n?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},o.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},o.prototype.current=function(t){if(t===i)return this._current;if(0===this._items.length)return i;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==i&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},o.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},o.prototype.reset=function(t){t=this.normalize(t),t!==i&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},o.prototype.normalize=function(t,e){var n=this._items.length,o=e?0:this._clones.length;
vendor: 6,807 bytes, line 17
17return!this.isNumeric(t)||1>n?t=i:(0>t||t>=n+o)&&(t=((t-o/2)%n+n)%n+o/2),t},o.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},o.prototype.maximum=function(t){var e,n,i,o=this.settings,r=this._coordinates.length;if(o.loop)r=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){for(e=this._items.length,n=this._items[--e].width(),i=this.$element.width();e--&&(n+=this._items[e].width()+this.settings.margin,!(n>i)););r=e+1}else r=o.center?this._items.length-1:this._items.length-o.items;return t&&(r-=this._clones.length/2),Math.max(r,0)},o.prototype.minimum=function(t){return t?0:this._clones.length/2},o.prototype.items=function(t){return t===i?this._items.slice():(t=this.normalize(t,!0),this._items[t])},o.prototype.mergers=function(t){return t===i?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},o.prototype.clones=function(e){var n=this._clones.length/2,o=n+this._items.length,r=function(t){return t%2===0?o+t/2:n-(t+1)/2};return e===i?t.map(this._clones,function(t,e){return r(e)}):t.map(this._clones,function(t,n){return t===e?r(n):null})},o.prototype.speed=function(t){return t!==i&&(this._speed=t),this._speed},o.prototype.coordinates=function(e){var n,o=1,r=e-1;return e===i?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(o=-1,r=e+1),n=this._coordinates[e],n+=(this.width()-n+(this._coordinates[r]||0))/2*o):n=this._coordinates[r]||0,n=Math.ceil(n))},o.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},o.prototype.to=function(t,e){var n=this.current(),i=null,o=t-this.relative(n),r=(o>0)-(0>o),a=this._items.length,s=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>a/2&&(o+=-1*r*a),t=n+o,i=((t-s)%a+a)%a+s,i!==t&&l>=i-o&&i-o>0&&(n=i-o,t=i,this.reset(n))):this.settings.rewind?(l+=1,t=(t%l+l)%l):t=Math.max(s,Math.min(l,t)),this.speed(this.duration(n,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},o.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},o.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},o.prototype.onTransitionEnd=function(t){return(t===i||(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)===this.$stage.get(0)))&&(this.leave("animating"),void this.trigger("translated"))},o.prototype.viewport=function(){var i;if(this.options.responsiveBaseElement!==e)i=t(this.options.responsiveBaseElement).width();else if(e.innerWidth)i=e.innerWidth;else{if(!n.documentElement||!n.documentElement.clientWidth)throw"Can not detect viewport width.";i=n.documentElement.clientWidth}return i},o.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},o.prototype.add=function(e,n){var o=this.relative(this._current);n=n===i?this._items.length:this.normalize(n,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:n}),e=this.prepare(e),0===this._items.length||n===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[n-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[n].before(e),this._items.splice(n,0,e),this._mergers.splice(n,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[o]&&this.reset(this._items[o].index()),this.invalidate("items"),this.trigger("added",{content:e,position:n})},o.prototype.remove=function(t){t=this.normalize(t,!0),t!==i&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},o.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,n){this.enter("pre-loading"),n=t(n),t(new Image).one("load",t.proxy(function(t){n.attr("src",t.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))},o.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(n).off(".owl.core"),this.settings.responsive!==!1&&(e.clearTimeout(this.resizeTimer),this.off(e,"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")},o.prototype.op=function(t,e,n){var i=this.settings.rtl;switch(e){case"<":return i?t>n:n>t;case">":return i?n>t:t>n;case">=":return i?n>=t:t>=n;case"<=":return i?t>=n:n>=t}},o.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},o.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},o.prototype.trigger=function(e,n,i,r,a){var s={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,i],function(t){return t}).join("-").toLowerCase()),u=t.Event([e,"owl",i||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},s,n));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(u)}),this.register({type:o.Type.Event,name:e}),this.$element.trigger(u),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,u)),u},o.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===i&&(this._states.current[e]=0),this._states.current[e]++},this))},o.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},o.prototype.register=function(e){if(e.type===o.Type.Event){if(t.event.special[e.
vendor: 22,667 bytes, lines 17-18
17name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var n=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!n||!n.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:n.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===o.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(n,i){return t.inArray(n,this._states.tags[e.name])===i},this)))},o.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},o.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},o.prototype.pointer=function(t){var n={x:null,y:null};return t=t.originalEvent||t||e.event,t=t.touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,t.pageX?(n.x=t.pageX,n.y=t.pageY):(n.x=t.clientX,n.y=t.clientY),n},o.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},o.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var i=t(this),r=i.data("owl.carousel");r||(r=new o(this,"object"==typeof e&&e),i.data("owl.carousel",r),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,n){r.register({type:o.Type.Event,name:n}),r.$element.on(n+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([n]),r[n].apply(this,[].slice.call(arguments,1)),this.release([n]))},r))})),"string"==typeof e&&"_"!==e.charAt(0)&&r[e].apply(r,n)})},t.fn.owlCarousel.Constructor=o}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){var o=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={autoRefresh:!0,autoRefreshInterval:500},o.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},o.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())},o.prototype.destroy=function(){var t,n;e.clearInterval(this._interval);for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=o}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){var o=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var n=this._core.settings,o=n.center&&Math.ceil(n.items/2)||n.items,r=n.center&&-1*o||0,a=(e.property&&e.property.value!==i?e.property.value:this._core.current())+r,s=this._core.clones().length,l=t.proxy(function(t,e){this.load(e)},this);r++<o;)this.load(s/2+this._core.relative(a)),s&&t.each(this._core.clones(this._core.relative(a)),l),a++},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={lazyLoad:!1},o.prototype.load=function(n){var i=this._core.$stage.children().eq(n),o=i&&i.find(".owl-lazy");!o||t.inArray(i.get(0),this._loaded)>-1||(o.each(t.proxy(function(n,i){var o,r=t(i),a=e.devicePixelRatio>1&&r.attr("data-src-retina")||r.attr("data-src");this._core.trigger("load",{element:r,url:a},"lazy"),r.is("img")?r.one("load.owl.lazy",t.proxy(function(){r.css("opacity",1),this._core.trigger("loaded",{element:r,url:a},"lazy")},this)).attr("src",a):(o=new Image,o.onload=t.proxy(function(){r.css({"background-image":"url("+a+")",opacity:"1"}),this._core.trigger("loaded",{element:r,url:a},"lazy")},this),o.src=a)},this)),this._loaded.push(i.get(0)))},o.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=o}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){var o=function(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},o.prototype.update=function(){var e=this._core._current,n=e+this._core.settings.items,i=this._core.$stage.children().toArray().slice(e,n),o=[],r=0;t.each(i,function(e,n){o.push(t(n).height())}),r=Math.max.apply(null,o),this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)},o.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=o}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){var o=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var n=t(e.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,t(e.content)))}},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};o.Defaults={video:!1,videoHeight:!1,videoWidth:!1},o.prototype.fetch=function(t,e){var n=function(){return t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube"}(),i=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,r=t.attr("data-height")||this._core.settings.videoHeight,a=t.attr("href");if(!a)throw new Error("Missing video URL.");if(i=a.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+)?/),i[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[a]={type:n,id:i,width:o,height:r},e.attr("data-video",a),this.thumbnail(t,this._videos[a])},o.prototype.thumbnail=function(e,n){var i,o,r,a=n.width&&n.height?'style="width:'+n.width+"px;height:"+n.height+'px;"':"",s=e.find("img"),l="src",u="",c=this._core.settings,d=function(t){o='<div class="owl-video-play-icon"></div>',i=c.lazyLoad?'<div class="owl-video-tn '+u+'" '+l+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(i),e.after(o)};return e.wrap('<div class="owl-video-wrapper"'+a+"></div>"),this._core.settings.lazyLoad&&(l="data-src",u="owl-lazy"),s.length?(d(s.attr(l)),s.remove(),!1):void("youtube"===n.type?(r="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",d(r)):"vimeo"===n.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t[0].thumbnail_large,d(r)}}):"vzaar"===n.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t.framegrab_url,d(r)}}))},o.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")},o.prototype.play=function(e){var n,i=t(e.target),o=i.closest("."+this._core.settings.itemClass),r=this._videos[o.attr("data-video")],a=r.width||"100%",s=r.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),o=this._core.items(this._core.relative(o.index())),this._core.reset(o.index()),"youtube"===r.type?n='<iframe width="'+a+'" height="'+s+'" src="//www.youtube.com/embed/'+r.id+"?autoplay=1&v="+r.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===r.type?n='<iframe src="//player.vimeo.com/video/'+r.id+'?autoplay=1" width="'+a+'" height="'+s+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===r.type&&(n='<iframe frameborder="0"height="'+s+'"width="'+a+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+r.id+'/player?autoplay=true"></iframe>'),t('<div class="owl-video-frame">'+n+"</div>").insertAfter(o.find(".owl-video")),this._playing=o.addClass("owl-video-playing"))},o.prototype.isInFullScreen=function(){var e=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},o.prototype.destroy=function(){var t,e;this._core.$element.off("click.owl.video");for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=o}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){var o=function(e){this.core=e,this.core.options=t.extend({},o.Defaults,this.core.options),this.swapping=!0,this.previous=i,this.next=i,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};o.Defaults={animateOut:!1,animateIn:!1},o.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,n=t.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),o=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,a=this.core.settings.animateOut;this.core.current()!==this.previous&&(a&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(t.support.animation.end,n).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(a)),r&&o.one(t.support.animation.end,n).addClass("animated owl-animated-in").addClass(r))}},o.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},o.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=o}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){var o=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,n){t.namespace&&this.play(e,n)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},o.Defaults,this._core.options)};o.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},o.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},o.prototype._getNextTimeout=function(i,o){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||n.hidden||this._core.next(o||this._core.settings.autoplaySpeed)},this),i||this._core.settings.autoplayTimeout)},o.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},o.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},o.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},o.prototype.destroy=function(){var t,e;this.stop();for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=o}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){"use strict";var o=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.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":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this.$element.on(this._handlers)};o.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},o.prototype.initialize=function(){var e,n=this._core.settings;this._controls.$relative=(n.navContainer?t(n.navContainer):t("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(n.navSpeed)},this)),this._controls.$next=t("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[t("<div>").addClass(n.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?t(n.dotsContainer):t("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy(function(e){var i=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(i,n.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},o.prototype.destroy=function(){var t,e,n,i;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].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)},o.prototype.update=function(){var t,e,n,i=this._core.clones().length/2,o=i+this._core.items().length,r=this._core.maximum(!0),a=this._core.settings,s=a.center||a.autoWidth||a.dotsData?1:a.dotsEach||a.items;if("page"!==a.slideBy&&(a.slideBy=Math.min(a.slideBy,a.items)),a.dots||"page"==a.slideBy)for(this._pages=[],t=i,e=0,n=0;o>t;t++){if(e>=s||0===e){if(this._pages.push({start:Math.min(r,t-i),end:t-i+s-1}),Math.min(r,t-i)===r)break;e=0,++n}e+=this._core.mergers(this._core.relative(t))}},o.prototype.draw=function(){var e,n=this._core.settings,i=this._core.items().length<=n.items,o=this._core.relative(this._core.current()),r=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||i),n.nav&&(this._controls.$previous.toggleClass("disabled",!r&&o<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!r&&o>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||i),n.dots&&(e=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):0>e&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},o.prototype.onTrigger=function(e){var n=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},o.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,n){return t.start<=e&&t.end>=e},this)).pop()},o.prototype.getPosition=function(e){ 18var n,i,o=this._core.settings;return"page"==o.slideBy?(n=t.inArray(this.current(),this._pages),i=this._pages.length,e?++n:--n,n=this._pages[(n%i+i)%i].start):(n=this._core.relative(this._core.current()),i=this._core.items().length,e?n+=o.slideBy:n-=o.slideBy),n},o.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},o.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},o.prototype.to=function(e,n,i){var o;!i&&this._pages.length?(o=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%o+o)%o].start,n)):t.proxy(this._overrides.to,this._core)(e,n)},t.fn.owlCarousel.Constructor.Plugins.Navigation=o}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){"use strict";var o=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var n=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=e.content}},this),"changed.owl.carousel":t.proxy(function(n){if(n.namespace&&"position"===n.property.name){var i=this._core.items(this._core.relative(this._core.current())),o=t.map(this._hashes,function(t,e){return t===i?e:null}).join();if(!o||e.location.hash.slice(1)===o)return;e.location.hash=o}},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var n=e.location.hash.substring(1),o=this._core.$stage.children(),r=this._hashes[n]&&o.index(this._hashes[n]);r!==i&&r!==this._core.current()&&this._core.to(this._core.relative(r),!1,!0)},this))};o.Defaults={URLhashListener:!1},o.prototype.destroy=function(){var n,i;t(e).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)},t.fn.owlCarousel.Constructor.Plugins.Hash=o}(window.Zepto||window.jQuery,window,document),function(t,e,n,i){function o(e,n){var o=!1,r=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+s.join(r+" ")+r).split(" "),function(t,e){return a[e]!==i?(o=!n||e,!1):void 0}),o}function r(t){return o(t,!0)}var a=t("<support>").get(0).style,s="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},u={csstransforms:function(){return!!o("transform")},csstransforms3d:function(){return!!o("perspective")},csstransitions:function(){return!!o("transition")},cssanimations:function(){return!!o("animation")}};
vendor: 4,207 bytes, line 18
18u.csstransitions()&&(t.support.transition=new String(r("transition")),t.support.transition.end=l.transition.end[t.support.transition]),u.cssanimations()&&(t.support.animation=new String(r("animation")),t.support.animation.end=l.animation.end[t.support.animation]),u.csstransforms()&&(t.support.transform=new String(r("transform")),t.support.transform3d=u.csstransforms3d())}(window.Zepto||window.jQuery,window,document),!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){"use strict";function e(t){if(t instanceof Date)return t;if(String(t).match(a))return String(t).match(/^[0-9]*$/)&&(t=Number(t)),String(t).match(/\-/)&&(t=String(t).replace(/\-/g,"/")),new Date(t);throw new Error("Couldn't cast `"+t+"` to a date object.")}function n(t){var e=t.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(e)}function i(t){return function(e){var i=e.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(i)for(var r=0,a=i.length;r<a;++r){var s=i[r].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),u=n(s[0]),c=s[1]||"",d=s[3]||"",h=null;s=s[2],l.hasOwnProperty(s)&&(h=l[s],h=Number(t[h])),null!==h&&("!"===c&&(h=o(d,h)),""===c&&h<10&&(h="0"+h.toString()),e=e.replace(u,h.toString()))}return e=e.replace(/%%/,"%")}}function o(t,e){var n="s",i="";return t&&(t=t.replace(/(:|;|\s)/gi,"").split(/\,/),1===t.length?n=t[0]:(i=t[0],n=t[1])),Math.abs(e)>1?n:i}var r=[],a=[],s={precision:100,elapse:!1,defer:!1};a.push(/^[0-9]*$/.source),a.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),a.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),a=new RegExp(a.join("|"));var l={Y:"years",m:"months",n:"daysToMonth",d:"daysToWeek",w:"weeks",W:"weeksToMonth",H:"hours",M:"minutes",S:"seconds",D:"totalDays",I:"totalHours",N:"totalMinutes",T:"totalSeconds"},u=function(e,n,i){this.el=e,this.$el=t(e),this.interval=null,this.offset={},this.options=t.extend({},s),this.instanceNumber=r.length,r.push(this),this.$el.data("countdown-instance",this.instanceNumber),i&&("function"==typeof i?(this.$el.on("update.countdown",i),this.$el.on("stoped.countdown",i),this.$el.on("finish.countdown",i)):this.options=t.extend({},s,i)),this.setFinalDate(n),this.options.defer===!1&&this.start()};t.extend(u.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var t=this;this.update(),this.interval=setInterval(function(){t.update.call(t)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),r[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(t){this.finalDate=e(t)},update:function(){if(0===this.$el.closest("html").length)return void this.remove();var e,n=void 0!==t._data(this.el,"events"),i=new Date;e=this.finalDate.getTime()-i.getTime(),e=Math.ceil(e/1e3),e=!this.options.elapse&&e<0?0:Math.abs(e),this.totalSecsLeft!==e&&n&&(this.totalSecsLeft=e,this.elapsed=i>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),weeksToMonth:Math.floor(this.totalSecsLeft/60/60/24/7)%4,months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-i.getFullYear()),totalDays:Math.floor(this.totalSecsLeft/60/60/24),totalHours:Math.floor(this.totalSecsLeft/60/60),totalMinutes:Math.floor(this.totalSecsLeft/60),totalSeconds:this.totalSecsLeft},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))},dispatchEvent:function(e){var n=t.Event(e+".countdown");n.finalDate=this.finalDate,n.elapsed=this.elapsed,n.offset=t.extend({},this.offset),n.strftime=i(this.offset),this.$el.trigger(n)}}),t.fn.countdown=function(){var e=Array.prototype.slice.call(arguments,0);
18return this.each(function(){var n=t(this).data("countdown-instance");if(void 0!==n){var i=r[n],o=e[0];u.prototype.hasOwnProperty(o)?i[o].apply(i,e.slice(1)):null===String(o).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(i.setFinalDate.call(i,o),i.start()):t.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,o))}else new u(this,e[0],e[1])})}}),!function(t,e){"use strict";t.MixItUp=function(){var e=this;e._execAction("_constructor",0),t.extend(e,{selectors:{target:".mix",filter:".filter",sort:".sort"},animation:{enable:!0,effects:"fade scale",duration:600,easing:"ease",perspectiveDistance:"3000",perspectiveOrigin:"50% 50%",queue:!0,queueLimit:1,animateChangeLayout:!1,animateResizeContainer:!0,animateResizeTargets:!1,staggerSequence:!1,reverseOut:!1},callbacks:{onMixLoad:!1,onMixStart:!1,onMixBusy:!1,onMixEnd:!1,onMixFail:!1,_user:!1},controls:{enable:!0,live:!1,toggleFilterButtons:!1,toggleLogic:"or",activeClass:"active"},layout:{display:"inline-block",containerClass:"",containerClassFail:"fail"},load:{filter:"all",sort:!1},_$body:null,_$container:null,_$targets:null,_$parent:null,_$sortButtons:null,_$filterButtons:null,_suckMode:!1,_mixing:!1,_sorting:!1,_clicking:!1,_loading:!0,_changingLayout:!1,_changingClass:!1,_changingDisplay:!1,_origOrder:[],_startOrder:[],_newOrder:[],_activeFilter:null,_toggleArray:[],_toggleString:"",_activeSort:"default:asc",_newSort:null,_startHeight:null,_newHeight:null,_incPadding:!0,_newDisplay:null,_newClass:null,_targetsBound:0,_targetsDone:0,_queue:[],_$show:t(),_$hide:t()}),e._execAction("_constructor",1)},t.MixItUp.prototype={constructor:t.MixItUp,_instances:{},_handled:{_filter:{},_sort:{}},_bound:{_filter:{},_sort:{}},_actions:{},_filters:{},extend:function(e){for(var n in e)t.MixItUp.prototype[n]=e[n]},addAction:function(e,n,i,o){t.MixItUp.prototype._addHook("_actions",e,n,i,o)},addFilter:function(e,n,i,o){t.MixItUp.prototype._addHook("_filters",e,n,i,o)},_addHook:function(e,n,i,o,r){var a=t.MixItUp.prototype[e],s={};r=1===r||"post"===r?"post":"pre",s[n]={},s[n][r]={},s[n][r][i]=o,t.extend(!0,a,s)},_init:function(e,n){var i=this;if(i._execAction("_init",0,arguments),n&&t.extend(!0,i,n),i._$body=t("body"),i._domNode=e,i._$container=t(e),i._$container.addClass(i.layout.containerClass),i._id=e.id,i._platformDetect(),i._brake=i._getPrefixedCSS("transition","none"),i._refresh(!0),i._$parent=i._$targets.parent().length?i._$targets.parent():i._$container,i.load.sort&&(i._newSort=i._parseSort(i.load.sort),i._newSortString=i.load.sort,i._activeSort=i.load.sort,i._sort(),i._printSort()),i._activeFilter="all"===i.load.filter?i.selectors.target:"none"===i.load.filter?"":i.load.filter,i.controls.enable&&i._bindHandlers(),i.controls.toggleFilterButtons){i._buildToggleArray();for(var o=0;o<i._toggleArray.length;o++)i._updateControls({filter:i._toggleArray[o],sort:i._activeSort},!0)}else i.controls.enable&&i._updateControls({filter:i._activeFilter,sort:i._activeSort});i._filter(),i._init=!0,i._$container.data("mixItUp",i),i._execAction("_init",1,arguments),i._buildState(),i._$targets.css(i._brake),i._goMix(i.animation.enable)},_platformDetect:function(){var t=this,n=["Webkit","Moz","O","ms"],i=["webkit","moz"],o=window.navigator.appVersion.match(/Chrome\/(\d+)\./)||!1,r="undefined"!=typeof InstallTrigger,a=function(t){for(var e=0;e<n.length;e++)if(n[e]+"Transition"in t.style)return{prefix:"-"+n[e].toLowerCase()+"-",vendor:n[e]};return"transition"in t.style&&""},s=a(t._domNode);t._execAction("_platformDetect",0),t._chrome=!!o&&parseInt(o[1],10),t._ff=!!r&&parseInt(window.navigator.userAgent.match(/rv:([^)]+)\)/)[1]),t._prefix=s.prefix,t._vendor=s.vendor,t._suckMode=!window.atob||!t._prefix,t._suckMode&&(t.animation.enable=!1),t._ff&&t._ff<=4&&(t.animation.enable=!1);for(var l=0;l<i.length&&!window.requestAnimationFrame;l++)window.requestAnimationFrame=window[i[l]+"RequestAnimationFrame"];"function"!=typeof Object.getPrototypeOf&&("object"==typeof"test".__proto__?Object.getPrototypeOf=function(t){return t.__proto__}:Object.getPrototypeOf=function(t){return t.constructor.prototype}),t._domNode.nextElementSibling===e&&Object.defineProperty(Element.prototype,"nextElementSibling",{get:function(){for(var t=this.nextSibling;t;){if(1===t.nodeType)return t;t=t.nextSibling}return null}}),t._execAction("_platformDetect",1)},_refresh:function(t,n){var i=this;i._execAction("_refresh",0,arguments),i._$targets=i._$container.find(i.selectors.target);for(var o=0;o<i._$targets.length;o++){var r=i._$targets[o];if(r.dataset===e||n){r.dataset={};for(var a=0;a<r.attributes.length;a++){var s=r.attributes[a],l=s.name,u=s.value;if(l.indexOf("data-")>-1){var c=i._helpers._camelCase(l.substring(5,l.length));r.dataset[c]=u}}}r.mixParent===e&&(r.mixParent=i._id)}if(i._$targets.length&&t||!i._origOrder.length&&i._$targets.length){i._origOrder=[];for(var o=0;o<i._$targets.length;o++){var r=i._$targets[o];i._origOrder.push(r)}}i._execAction("_refresh",1,arguments)},_bindHandlers:function(){var n=this,i=t.MixItUp.prototype._bound._filter,o=t.MixItUp.prototype._bound._sort;n._execAction("_bindHandlers",0),n.controls.live?n._$body.on("click.mixItUp."+n._id,n.selectors.sort,function(){n._processClick(t(this),"s
18ort")}).on("click.mixItUp."+n._id,n.selectors.filter,function(){n._processClick(t(this),"filter")}):(n._$sortButtons=t(n.selectors.sort),n._$filterButtons=t(n.selectors.filter),n._$sortButtons.on("click.mixItUp."+n._id,function(){n._processClick(t(this),"sort")}),n._$filterButtons.on("click.mixItUp."+n._id,function(){n._processClick(t(this),"filter")})),i[n.selectors.filter]=i[n.selectors.filter]===e?1:i[n.selectors.filter]+1,o[n.selectors.sort]=o[n.selectors.sort]===e?1:o[n.selectors.sort]+1,n._execAction("_bindHandlers",1)},_processClick:function(n,i){var o=this,r=function(n,i,r){var a=t.MixItUp.prototype;a._handled["_"+i][o.selectors[i]]=a._handled["_"+i][o.selectors[i]]===e?1:a._handled["_"+i][o.selectors[i]]+1,a._handled["_"+i][o.selectors[i]]===a._bound["_"+i][o.selectors[i]]&&(n[(r?"remove":"add")+"Class"](o.controls.activeClass),delete a._handled["_"+i][o.selectors[i]])};if(o._execAction("_processClick",0,arguments),!o._mixing||o.animation.queue&&o._queue.length<o.animation.queueLimit){if(o._clicking=!0,"sort"===i){var a=n.attr("data-sort");(!n.hasClass(o.controls.activeClass)||a.indexOf("random")>-1)&&(t(o.selectors.sort).removeClass(o.controls.activeClass),r(n,i),o.sort(a))}if("filter"===i){var s,l=n.attr("data-filter"),u="or"===o.controls.toggleLogic?",":"";o.controls.toggleFilterButtons?(o._buildToggleArray(),n.hasClass(o.controls.activeClass)?(r(n,i,!0),s=o._toggleArray.indexOf(l),o._toggleArray.splice(s,1)):(r(n,i),o._toggleArray.push(l)),o._toggleArray=t.grep(o._toggleArray,function(t){return t}),o._toggleString=o._toggleArray.join(u),o.filter(o._toggleString)):n.hasClass(o.controls.activeClass)||(t(o.selectors.filter).removeClass(o.controls.activeClass),r(n,i),o.filter(l))}o._execAction("_processClick",1,arguments)}else"function"==typeof o.callbacks.onMixBusy&&o.callbacks.onMixBusy.call(o._domNode,o._state,o),o._execAction("_processClickBusy",1,arguments)},_buildToggleArray:function(){var t=this,e=t._activeFilter.replace(/\s/g,"");if(t._execAction("_buildToggleArray",0,arguments),"or"===t.controls.toggleLogic)t._toggleArray=e.split(",");else{t._toggleArray=e.split("."),!t._toggleArray[0]&&t._toggleArray.shift();for(var n,i=0;n=t._toggleArray[i];i++)t._toggleArray[i]="."+n}t._execAction("_buildToggleArray",1,arguments)},_updateControls:function(n,i){var o=this,r={filter:n.filter,sort:n.sort},a=function(t,e){try{i&&"filter"===s&&"none"!==r.filter&&""!==r.filter?t.filter(e).addClass(o.controls.activeClass):t.removeClass(o.controls.activeClass).filter(e).addClass(o.controls.activeClass)}catch(t){}},s="filter",l=null;o._execAction("_updateControls",0,arguments),n.filter===e&&(r.filter=o._activeFilter),n.sort===e&&(r.sort=o._activeSort),r.filter===o.selectors.target&&(r.filter="all");for(var u=0;2>u;u++)l=o.controls.live?t(o.selectors[s]):o["_$"+s+"Buttons"],l&&a(l,"[data-"+s+'="'+r[s]+'"]'),s="sort";o._execAction("_updateControls",1,arguments)},_filter:function(){var e=this;e._execAction("_filter",0);for(var n=0;n<e._$targets.length;n++){var i=t(e._$targets[n]);i.is(e._activeFilter)?e._$show=e._$show.add(i):e._$hide=e._$hide.add(i)}e._execAction("_filter",1)},_sort:function(){var t=this,e=function(t){for(var e=t.slice(),n=e.length,i=n;i--;){var o=parseInt(Math.random()*n),r=e[i];
18e[i]=e[o],e[o]=r}return e};t._execAction("_sort",0),t._startOrder=[];for(var n=0;n<t._$targets.length;n++){var i=t._$targets[n];t._startOrder.push(i)}switch(t._newSort[0].sortBy){case"default":t._newOrder=t._origOrder;break;case"random":t._newOrder=e(t._startOrder);break;case"custom":t._newOrder=t._newSort[0].order;break;default:t._newOrder=t._startOrder.concat().sort(function(e,n){return t._compare(e,n)})}t._execAction("_sort",1)},_compare:function(t,e,n){n=n?n:0;var i=this,o=i._newSort[n].order,r=function(t){return t.dataset[i._newSort[n].sortBy]||0},a=isNaN(1*r(t))?r(t).toLowerCase():1*r(t),s=isNaN(1*r(e))?r(e).toLowerCase():1*r(e);return s>a?"asc"===o?-1:1:a>s?"asc"===o?1:-1:a===s&&i._newSort.length>n+1?i._compare(t,e,n+1):0},_printSort:function(t){var e=this,n=t?e._startOrder:e._newOrder,i=e._$parent[0].querySelectorAll(e.selectors.target),o=i.length?i[i.length-1].nextElementSibling:null,r=document.createDocumentFragment();e._execAction("_printSort",0,arguments);for(var a=0;a<i.length;a++){var s=i[a],l=s.nextSibling;"absolute"!==s.style.position&&(l&&"#text"===l.nodeName&&e._$parent[0].removeChild(l),e._$parent[0].removeChild(s))}for(var a=0;a<n.length;a++){var u=n[a];if("default"!==e._newSort[0].sortBy||"desc"!==e._newSort[0].order||t)r.appendChild(u),r.appendChild(document.createTextNode(" "));else{var c=r.firstChild;r.insertBefore(u,c),r.insertBefore(document.createTextNode(" "),u)}}o?e._$parent[0].insertBefore(r,o):e._$parent[0].appendChild(r),e._execAction("_printSort",1,arguments)},_parseSort:function(t){for(var e=this,n="string"==typeof t?t.split(" "):[t],i=[],o=0;o<n.length;o++){var r="string"==typeof t?n[o].split(":"):["custom",n[o]],a={sortBy:e._helpers._camelCase(r[0]),order:r[1]||"asc"};if(i.push(a),"default"===a.sortBy||"random"===a.sortBy)break}return e._execFilter("_parseSort",i,arguments)},_parseEffects:function(){var t=this,e={opacity:"",transformIn:"",transformOut:"",filter:""},n=function(e,n,i){if(t.animation.effects.indexOf(e)>-1){if(n){var o=t.animation.effects.indexOf(e+"(");if(o>-1){var r=t.animation.effects.substring(o),a=/\(([^)]+)\)/.exec(r),s=a[1];return{val:s}}}return!0}return!1},i=function(t,e){return e?"-"===t.charAt(0)?t.substr(1,t.length):"-"+t:t},o=function(t,o){for(var r=[["scale",".01"],["translateX","20px"],["translateY","20px"],["translateZ","20px"],["rotateX","90deg"],["rotateY","90deg"],["rotateZ","180deg"]],a=0;a<r.length;a++){var s=r[a][0],l=r[a][1],u=o&&"scale"!==s;e[t]+=n(s)?s+"("+i(n(s,!0).val||l,u)+") ":""}};return e.opacity=n("fade")?n("fade",!0).val||"0":"1",o("transformIn"),t.animation.reverseOut?o("transformOut",!0):e.transformOut=e.transformIn,e.transition={},e.transition=t._getPrefixedCSS("transition","all "+t.animation.duration+"ms "+t.animation.easing+", opacity "+t.animation.duration+"ms linear"),t.animation.stagger=!!n("stagger"),t.animation.staggerDuration=parseInt(n("stagger")&&n("stagger",!0).val?n("stagger",!0).val:100),t._execFilter("_parseEffects",e)},_buildState:function(t){var e=this,n={};return e._execAction("_buildState",0),n={activeFilter:""===e._activeFilter?"none":e._activeFilter,activeSort:t&&e._newSortString?e._newSortString:e._activeSort,fail:!e._$show.length&&""!==e._activeFilter,$targets:e._$targets,$show:e._$show,$hide:e._$hide,totalTargets:e._$targets.length,totalShow:e._$show.length,totalHide:e._$hide.length,display:t&&e._newDisplay?e._newDisplay:e.layout.display},t?e._execFilter("_buildState",n):(e._state=n,void e._execAction("_buildState",1))},_goMix:function(t){var e=this,n=function(){e._chrome&&31===e._chrome&&r(e._$parent[0]),e._setInter(),i()},i=function(){var t=window.pageYOffset,n=window.pageXOffset;document.documentElement.scrollHeight,e._getInterMixData(),e._setFinal(),e._getFinalMixData(),window.pageYOffset!==t&&window.scrollTo(n,t),e._prepTargets(),window.requestAnimationFrame?requestAnimationFrame(o):setTimeout(function(){o()},20)},o=function(){e._animateTargets(),0===e._targetsBound&&e._cleanUp()},r=function(t){var e=t.parentElement,n=document.createElement("div"),i=document.createDocumentFragment();e.insertBefore(n,t),i.appendChild(t),e.replaceChild(t,n)},a=e._buildState(!0);e._execAction("_goMix",0,arguments),!e.animation.duration&&(t=!1),e._mixing=!0,e._$container.removeClass(e.layout.containerClassFail),"function"==typeof e.callbacks.onMixStart&&e.callbacks.onMixStart.call(e._domNode,e._state,a,e),e._$container.trigger("mixStart",[e._state,a,e]),e._getOrigMixData(),t&&!e._suckMode?window.requestAnimationFrame?requestAnimationFrame(n):n():e._cleanUp(),e._execAction("_goMix",1,arguments)},_getTargetData:function(t,e){var n,i=this;t.dataset[e+"PosX"]=t.offsetLeft,t.dataset[e+"PosY"]=t.offsetTop,i.animation.animateResizeTargets&&(n=i._suckMode?{marginBottom:"",marginRight:""}:window.getComputedStyle(t),t.dataset[e+"MarginBottom"]=parseInt(n.marginBottom),t.dataset[e+"MarginRight"]=parseInt(n.marginRight),t.dataset[e+"Width"]=t.offsetWidth,t.dataset[e+"Height"]=t.offsetHeight)},_getOrigMixData:function(){var t=this,e=t._suckMode?{boxSizing:""}:window.getComputedStyle(t._$parent[0]),n=e.boxSizing||e[t._vendor+"BoxSizing"];t._incPadding="border-box"===n,t._execAction("_getOrigMixData",0),!t._suckMode&&(t.effects=t._parseEffects()),t._$toHide=t._$hide.filter(":visible"),t._$toShow=t._$show.filter(":hidden"),t._$pre=t._$targets.filter(":visible"),t._startHeight=t._incPadding?t._$parent.outerHeight():t._$parent.height();for(var i=0;i<t._$pre.length;i++){var o=t._$pre[i];t._getTargetData(o,"orig")}t._execAction("_getOrigMixData",1)},_setInter:function(){var t=this;t._execAction("_setInter",0),t._changingLayout&&t.animation.animateChangeLayout?(t._$toShow.css("display",t._newDisplay),t._changingClass&&t._$container.removeClass(t.layout.containerClass).addClass(t._newClass)):t._$toShow.css("display",t.layout.display),t._execAction("_setInter",1)},_getInterMixData:function(){var t=this;t._execAction("_getInterMixData",0);for(var e=0;e<t._$toShow.length;e++){var n=t._$toShow[e];t._getTargetData(n,"inter")}for(var e=0;e<t._$pre.length;e++){var n=t._$pre[e];t._getTargetData(n,"inter")}t._execAction("_getInterMixData",1)},_setFinal:function(){var t=this;t._execAction("_setFinal",0),t._sorting&&t._printSort(),t._$toHide.removeStyle("display"),t._changingLayout&&t.animation.animateChangeLayout&&t._$pre.css("display",t._newDisplay),t._execAction("_setFinal",1)},_getFinalMixData:function(){var t=this;t._execAction("_getFinalMixData",0);for(var e=0;e<t._$toShow.length;e++){var n=t._$toShow[e];t._getTargetData(n,"final")}for(var e=0;e<t._$pre.length;e++){var n=t._$pre[e];t._getTargetData(n,"final")}t._newHeight=t._incPadding?t._$parent.outerHeight():t._$parent.height(),t._sorting&&t._printSort(!0),t._$toShow.removeStyle("display"),t._$pre.css("display",t.layout.display),t._changingClass&&t.animation.animateChangeLayout&&t._$container.removeClass(t._newClass).addClass(t.layout.containerClass),t._execAction("_getFinalMixData",1)},_prepTargets:function(){var e=this,n={_in:e._getPrefixedCSS("transform",e.effects.transformIn),_out:e._getPrefixedCSS("transform",e.effects.transformOut)};e._execAction("_prepTargets",0),e.animation.animateResizeContainer&&e._$parent.css("height",e._startHeight+"px");for(var i=0;i<e._$toShow.length;i++){var o=e._$toShow[i],r=t(o);o.style.opacity=e.effects.opacity,o.style.display=e._changingLayout&&e.animation.animateChangeLayout?e._newDisplay:e.layout.display,r.css(n._in),e.animation.animateResizeTargets&&(o.style.width=o.dataset.f
18inalWidth+"px",o.style.height=o.dataset.finalHeight+"px",o.style.marginRight=-(o.dataset.finalWidth-o.dataset.interWidth)+1*o.dataset.finalMarginRight+"px",o.style.marginBottom=-(o.dataset.finalHeight-o.dataset.interHeight)+1*o.dataset.finalMarginBottom+"px")}for(var i=0;i<e._$pre.length;i++){var o=e._$pre[i],r=t(o),a={x:o.dataset.origPosX-o.dataset.interPosX,y:o.dataset.origPosY-o.dataset.interPosY},n=e._getPrefixedCSS("transform","translate("+a.x+"px,"+a.y+"px)");r.css(n),e.animation.animateResizeTargets&&(o.style.width=o.dataset.origWidth+"px",o.style.height=o.dataset.origHeight+"px",o.dataset.origWidth-o.dataset.finalWidth&&(o.style.marginRight=-(o.dataset.origWidth-o.dataset.interWidth)+1*o.dataset.origMarginRight+"px"),o.dataset.origHeight-o.dataset.finalHeight&&(o.style.marginBottom=-(o.dataset.origHeight-o.dataset.interHeight)+1*o.dataset.origMarginBottom+"px"))}e._execAction("_prepTargets",1)},_animateTargets:function(){var e=this;e._execAction("_animateTargets",0),e._targetsDone=0,e._targetsBound=0,e._$parent.css(e._getPrefixedCSS("perspective",e.animation.perspectiveDistance+"px")).css(e._getPrefixedCSS("perspective-origin",e.animation.perspectiveOrigin)),e.animation.animateResizeContainer&&e._$parent.css(e._getPrefixedCSS("transition","height "+e.animation.duration+"ms ease")).css("height",e._newHeight+"px");for(var n=0;n<e._$toShow.length;n++){var i=e._$toShow[n],o=t(i),r={x:i.dataset.finalPosX-i.dataset.interPosX,y:i.dataset.finalPosY-i.dataset.interPosY},a=e._getDelay(n),s={};i.style.opacity="";for(var l=0;2>l;l++){var u=0===l?u=e._prefix:"";e._ff&&e._ff<=20&&(s[u+"transition-property"]="all",s[u+"transition-timing-function"]=e.animation.easing+"ms",s[u+"transition-duration"]=e.animation.duration+"ms"),s[u+"transition-delay"]=a+"ms",s[u+"transform"]="translate("+r.x+"px,"+r.y+"px)"}(e.effects.transform||e.effects.opacity)&&e._bindTargetDone(o),e._ff&&e._ff<=20?o.css(s):o.css(e.effects.transition).css(s)}for(var n=0;n<e._$pre.length;n++){var i=e._$pre[n],o=t(i),r={x:i.dataset.finalPosX-i.dataset.interPosX,y:i.dataset.finalPosY-i.dataset.interPosY},a=e._getDelay(n);(i.dataset.finalPosX!==i.dataset.origPosX||i.dataset.finalPosY!==i.dataset.origPosY)&&e._bindTargetDone(o),o.css(e._getPrefixedCSS("transition","all "+e.animation.duration+"ms "+e.animation.easing+" "+a+"ms")),o.css(e._getPrefixedCSS("transform","translate("+r.x+"px,"+r.y+"px)")),e.animation.animateResizeTargets&&(i.dataset.origWidth-i.dataset.finalWidth&&1*i.dataset.finalWidth&&(i.style.width=i.dataset.finalWidth+"px",i.style.marginRight=-(i.dataset.finalWidth-i.dataset.interWidth)+1*i.dataset.finalMarginRight+"px"),i.dataset.origHeight-i.dataset.finalHeight&&1*i.dataset.finalHeight&&(i.style.height=i.dataset.finalHeight+"px",i.style.marginBottom=-(i.dataset.finalHeight-i.dataset.interHeight)+1*i.dataset.finalMarginBottom+"px"))}e._changingClass&&e._$container.removeClass(e.layout.containerClass).addClass(e._newClass);for(var n=0;n<e._$toHide.length;n++){for(var i=e._$toHide[n],o=t(i),a=e._getDelay(n),c={},l=0;2>l;l++){var u=0===l?u=e._prefix:"";c[u+"transition-delay"]=a+"ms",c[u+"transform"]=e.effects.transformOut,c.opacity=e.effects.opacity}o.css(e.effects.transition).css(c),(e.effects.transform||e.effects.opacity)&&e._bindTargetDone(o)}e._execAction("_animateTargets",1)},_bindTargetDone:function(e){var n=this,i=e[0];n._execAction("_bindTargetDone",0,arguments),i.dataset.bound||(i.dataset.bound=!0,n._targetsBound++,e.on("webkitTransitionEnd.mixItUp transitionend.mixItUp",function(o){(o.originalEvent.propertyName.indexOf("transform")>-1||o.originalEvent.propertyName.indexOf("opacity")>-1)&&t(o.originalEvent.target).is(n.selectors.target)&&(e.off(".mixItUp"),i.dataset.bound="",n._targetDone())})),n._execAction("_bindTargetDone",1,arguments)},_targetDone:function(){var t=this;t._execAction("_targetDone",0),t._targetsDone++,t._targetsDone===t._targetsBound&&t._cleanUp(),t._execAction("_targetDone",1)},_cleanUp:function(){var e=this,n=e.animation.animateResizeTargets?"transform opacity width height margin-bottom margin-right":"transform opacity",i=function(){e._$targets.removeStyle("transition",e._prefix)};e._execAction("_cleanUp",0),e._changingLayout?e._$show.css("display",e._newDisplay):e._$show.css("display",e.layout.display),e._$targets.css(e._brake),e._$targets.removeStyle(n,e._prefix).removeAttr("data-inter-pos-x data-inter-pos-y data-final-pos-x data-final-pos-y data-orig-pos-x data-orig-pos-y data-orig-height data-orig-width data-final-height data-final-width data-inter-width data-inter-height data-orig-margin-right data-orig-margin-bottom data-inter-margin-right data-inter-margin-bottom data-final-margin-right data-final-margin-bottom"),e._$hide.removeStyle("display"),e._$parent.removeStyle("height transition perspective-distance perspective perspective-origin-x perspective-origin-y perspective-origin perspectiveOrigin",e._prefix),e._sorting&&(e._printSort(),e._activeSort=e._newSortString,e._sorting=!1),e._changingLayout&&(e._changingDisplay&&(e.layout.display=e._newDisplay,e._changingDisplay=!1),e._changingClass&&(e._$parent.removeClass(e.layout.containerClass).addClass(e._newClass),e.layout.containerClass=e._newClass,e._changingClass=!1),e._changingLayout=!1),e._refresh(),e._buildState(),e._state.fail&&e._$container.addClass(e.layout.containerClassFail),e._$show=t(),e._$hide=t(),window.requestAnimationFrame&&requestAnimationFrame(i),e._mixing=!1,"function"==typeof e.callbacks._user&&e.callbacks._user.call(e._domNode,e._state,e),"function"==typeof e.callbacks.onMixEnd&&e.callbacks.onMixEnd.call(e._domNode,e._state,e),e._$container.trigger("mixEnd",[e._state,e]),e._state.fail&&("function"==typeof e.callbacks.onMixFail&&e.callbacks.onMixFail.call(e._domNode,e._state,e),e._$container.trigger("mixFail",[e._state,e])),e._loading&&("function"==typeof e.callbacks.onMixLoad&&e.callbacks.onMixLoad.call(e._domNode,e._state,e),e._$container.trigger("mixLoad",[e._state,e])),e._queue.length&&(e._execAction("_queue",0),e.multiMix(e._queue[0][0],e._queue[0][1],e._queue[0][2]),e._queue.splice(0,1)),e._execAction("_cleanUp",1),e._loading=!1},_getPrefixedCSS:function(t,e,n){var i=this,o={},r="",a=-1;for(a=0;2>a;a++)r=0===a?i._prefix:"",n?o[r+t]=r+e:o[r+t]=e;return i._execFilter("_getPrefixedCSS",o,arguments)},_getDelay:function(t){var e=this,n="function"==typeof e.animation.staggerSequence?e.animation.staggerSequence.call(e._domNode,t,e._state):t,i=e.animation.stagger?n*e.animation.staggerDuration:0;return e._execFilter("_getDelay",i,arguments)},_parseMultiMixArgs:function(t){for(var e=this,n={command:null,animate:e.animation.enable,callback:null},i=0;i<t.length;i++){var o=t[i];null!==o&&("object"==typeof o||"string"==typeof o?n.command=o:"boolean"==typeof o?n.animate=o:"function"==typeof o&&(n.callback=o))}return e._execFilter("_parseMultiMixArgs",n,arguments)},_parseInsertArgs:function(e){for(var n=this,i={index:0,$object:t(),multiMix:{filter:n._state.activeFilter},callback:null},o=0;o<e.length;o++){var r=e[o];"number"==typeof r?i.index=r:"object"==typeof r&&r instanceof t?i.$object=r:"object"==typeof r&&n._helpers._isElement(r)?i.$object=t(r):"object"==typeof r&&null!==r?i.multiMix=r:"boolean"!=typeof r||r?"function"==typeof r&&(i.callback=r):i.multiMix=!1}return n._execFilter("_parseInsertArgs",i,arguments)},_execAction:function(t,e,n){var i=this,o=e?"post":"pre";if(!i._actions.isEmptyObject&&i._actions.hasOwnProperty(t))for(var r in i._actions[t][o])i._actions[t][o][r].call(i,n)},_execFilter:function(t,e,n){var i=this;if(i._filters.isEmptyObject||!i._filters.hasOwnProperty(t))return e;for(var o in i._filters[t])return i._filters[t][o].call(i,n)},_helpers:{_camelCase:function(t){return t.replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})},_isElement:function(t){return window.HTMLElement?t instanceof HTMLElement:null!==t&&1===t.nodeType&&"string"===t.nodeName}},isMixing:function(){var t=this;return t._execFilter("isMixing",t._mixing)},filter:function(){var t=this,e=t._parseMultiMixArgs(arguments);t._clicking&&(t._toggleString=""),t.multiMix({filter:e.command},e.animate,e.callback)},sort:function(){var t=this,e=t._parseMultiMixArgs(arguments);t.multiMix({sort:e.command},e.animate,e.callback)},changeLayout:function(){var t=this,e=t._parseMultiMixArgs(arguments);t.multiMix({changeLayout:e.command},e.animate,e.callback)},multiMix:function(){var t=this,n=t._parseMultiMixArgs(arguments);if(t._execAction("multiMix",0,arguments),t._mixing)t.animation.queue&&t._queue.length<t.animation.queueLimit?(t._queue.push(arguments),t.controls.enable&&!t._clicking&&t._updateControls(n.command),t._execAction("multiMixQueue",1,arguments)):("function"==typeof t.callbacks.onMixBusy&&t.callbacks.onMixBusy.call(t._domNode,t._state,t),t._$container.trigger("mixBusy",[t._state,t]),t._execAction("multiMixBusy",1,arguments));else{t.controls.enable&&!t._clicking&&(t.controls.toggleFilterButtons&&t._buildToggleArray(), 19t._updateControls(n.command,t.controls.toggleFilterButtons)),t._queue.length<2&&(t._clicking=!1),delete t.callbacks._user,n.callback&&(t.callbacks._user=n.callback);var i=n.command.sort,o=n.command.filter,r=n.command.changeLayout;t._refresh(),i&&(t._newSort=t._parseSort(i),t._newSortString=i,t._sorting=!0,t._sort()),o!==e&&(o="all"===o?t.selectors.target:o,t._activeFilter=o),t._filter(),r&&(t._newDisplay="str
19ing"==typeof r?r:r.display||t.layout.display,t._newClass=r.containerClass||"",(t._newDisplay!==t.layout.display||t._newClass!==t.layout.containerClass)&&(t._changingLayout=!0,t._changingClass=t._newClass!==t.layout.containerClass,t._changingDisplay=t._newDisplay!==t.layout.display)),t._$targets.css(t._brake),t._goMix(n.animate^t.animation.enable?n.animate:t.animation.enable),t._execAction("multiMix",1,arguments)}},insert:function(){var t=this,e=t._parseInsertArgs(arguments),n="function"==typeof e.callback?e.callback:null,i=document.createDocumentFragment(),o=function(){return t._refresh(),t._$targets.length?e.index<t._$targets.length||!t._$targets.length?t._$targets[e.index]:t._$targets[t._$targets.length-1].nextElementSibling:t._$parent[0].children[0]}();if(t._execAction("insert",0,arguments),e.$object){for(var r=0;r<e.$object.length;r++){var a=e.$object[r];i.appendChild(a),i.appendChild(document.createTextNode(" "))}t._$parent[0].insertBefore(i,o)}t._execAction("insert",1,arguments),"object"==typeof e.multiMix&&t.multiMix(e.multiMix,n)},prepend:function(){var t=this,e=t._parseInsertArgs(arguments);t.insert(0,e.$object,e.multiMix,e.callback)},append:function(){var t=this,e=t._parseInsertArgs(arguments);t.insert(t._state.totalTargets,e.$object,e.multiMix,e.callback)},getOption:function(t){var n=this,i=function(t,n){for(var i=n.split("."),o=i.pop(),r=i.length,a=1,s=i[0]||n;(t=t[s])&&r>a;)s=i[a],a++;return t!==e?t[o]!==e?t[o]:t:void 0};return t?n._execFilter("getOption",i(n,t),arguments):n},setOptions:function(e){var n=this;n._execAction("setOptions",0,arguments),"object"==typeof e&&t.extend(!0,n,e),n._execAction("setOptions",1,arguments)},getState:function(){var t=this;return t._execFilter("getState",t._state,t)},forceRefresh:function(){var t=this;t._refresh(!1,!0)},destroy:function(e){var n=this,i=t.MixItUp.prototype._bound._filter,o=t.MixItUp.prototype._bound._sort;n._execAction("destroy",0,arguments),n._$body.add(t(n.selectors.sort)).add(t(n.selectors.filter)).off(".mixItUp");for(var r=0;r<n._$targets.length;r++){var a=n._$targets[r];e&&(a.style.display=""),delete a.mixParent}n._execAction("destroy",1,arguments),i[n.selectors.filter]&&i[n.selectors.filter]>1?i[n.selectors.filter]--:1===i[n.selectors.filter]&&delete i[n.selectors.filter],o[n.selectors.sort]&&o[n.selectors.sort]>1?o[n.selectors.sort]--:1===o[n.selectors.sort]&&delete o[n.selectors.sort],delete t.MixItUp.prototype._instances[n._id]}},t.fn.mixItUp=function(){var n,i=arguments,o=[],r=function(e,n){var i=new t.MixItUp,o=function(){return("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6).toUpperCase()};i._execAction("_instantiate",0,arguments),e.id=e.id?e.id:"MixItUp"+o(),i._instances[e.id]||(i._instances[e.id]=i,i._init(e,n)),i._execAction("_instantiate",1,arguments)};return n=this.each(function(){if(i&&"string"==typeof i[0]){var n=t.MixItUp.prototype._instances[this.id];if("isLoaded"===i[0])o.push(!!n);else{var a=n[i[0]](i[1],i[2],i[3]);a!==e&&o.push(a)}}else r(this,i[0])}),o.length?o.length>1?o:o[0]:n},t.fn.removeStyle=function(n,i){return i=i?i:"",this.each(function(){for(var o=this,r=n.split(" "),a=0;a<r.length;a++)for(var s=0;4>s;s++){switch(s){case 0:var l=r[a];break;case 1:var l=t.MixItUp.prototype._helpers._camelCase(l);break;case 2:var l=i+r[a];break;case 3:var l=t.MixItUp.prototype._helpers._camelCase(i+r[a])}if(o.style[l]!==e&&"unknown"!=typeof o.style[l]&&o.style[l].length>0&&(o.style[l]=""),!i&&1===s)break}o.attributes&&o.attributes.style&&o.attributes.style!==e&&""===o.attributes.style.value&&o.attributes.removeNamedItem("style")})}}(jQuery),!function(t,e){"function"==typeof define&&define.amd?define([],e(t)):"object"==typeof exports?module.exports=e(t):t.smoothScroll=e(t)}("undefined"!=typeof global?global:this.window||this.global,function(t){"use strict";var e,n,i,o,r,a,s,l={},u="querySelector"in document&&"addEventListener"in t,c={selector:"[data-scroll]",selectorHeader:null,speed:500,easing:"easeInOutCubic",offset:0,callback:function(){}},d=function(){var t={},e=!1,n=0,i=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(e=arguments[0],n++);for(var o=function(n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e&&"[object Object]"===Object.prototype.toString.call(n[i])?t[i]=d(!0,t[i],n[i]):t[i]=n[i])};n<i;n++){var r=arguments[n];o(r)}return t},h=function(t){return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight)},f=function(t,e){for(Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1});t&&t!==document;t=t.parentNode)if(t.matches(e))return t;return null},p=function(t){"#"===t.charAt(0)&&(t=t.substr(1));for(var e,n=String(t),i=n.length,o=-1,r="",a=n.charCodeAt(0);++o<i;){if(e=n.charCodeAt(o),0===e)throw new InvalidCharacterError("Invalid character: the input contains U+0000.");r+=e>=1&&e<=31||127==e||0===o&&e>=48&&e<=57||1===o&&e>=48&&e<=57&&45===a?"\\"+e.toString(16)+" ":e>=128||45===e||95===e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122?n.charAt(o):"\\"+n.charAt(o)}return"#"+r},g=function(t,e){var n;return"easeInQuad"===t&&(n=e*e),"easeOutQuad"===t&&(n=e*(2-e)),"easeInOutQuad"===t&&(n=e<.5?2*e*e:-1+(4-2*e)*e),"easeInCubic"===t&&(n=e*e*e),"easeOutCubic"===t&&(n=--e*e*e+1),"easeInOutCubic"===t&&(n=e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1),"easeInQuart"===t&&(n=e*e*e*e),"easeOutQuart"===t&&(n=1- --e*e*e*e),"easeInOutQuart"===t&&(n=e<.5?8*e*e*e*e:1-8*--e*e*e*e),"easeInQuint"===t&&(n=e*e*e*e*e),"easeOutQuint"===t&&(n=1+--e*e*e*e*e),"easeInOutQuint"===t&&(n=e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e),n||e},m=function(t,e,n){var i=0;if(t.offsetParent)do i+=t.offsetTop,t=t.offsetParent;while(t);
19return i=Math.max(i-e-n,0),Math.min(i,y()-v())},v=function(){return Math.max(document.documentElement.clientHeight,t.innerHeight||0)},y=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},b=function(t){return t&&"object"==typeof JSON&&"function"==typeof JSON.parse?JSON.parse(t):{}},x=function(t){return t?h(t)+t.offsetTop:0},w=function(e,n,i){i||(e.focus(),document.activeElement.id!==e.id&&(e.setAttribute("tabindex","-1"),e.focus(),e.style.outline="none"),t.scrollTo(0,n))};l.animateScroll=function(n,i,a){var l=b(i?i.getAttribute("data-options"):null),u=d(e||c,a||{},l),h="[object Number]"===Object.prototype.toString.call(n),f=h||!n.tagName?null:n;if(h||f){var p=t.pageYOffset;u.selectorHeader&&!o&&(o=document.querySelector(u.selectorHeader)),r||(r=x(o));var v,_,k=h?n:m(f,r,parseInt(u.offset,10)),S=k-p,C=y(),T=0,D=function(e,o,r){var a=t.pageYOffset;(e==o||a==o||t.innerHeight+a>=C)&&(clearInterval(r),w(n,o,h),u.callback(n,i))},A=function(){T+=16,v=T/parseInt(u.speed,10),v=v>1?1:v,_=p+S*g(u.easing,v),t.scrollTo(0,Math.floor(_)),D(_,k,s)},M=function(){clearInterval(s),s=setInterval(A,16)};0===t.pageYOffset&&t.scrollTo(0,0),M()}};var _=function(e){var o;try{o=p(decodeURIComponent(t.location.hash))}catch(e){o=p(t.location.hash)}n&&(n.id=n.getAttribute("data-scroll-id"),l.animateScroll(n,i),n=null,i=null)},k=function(o){if(0===o.button&&!o.metaKey&&!o.ctrlKey&&(i=f(o.target,e.selector),i&&"a"===i.tagName.toLowerCase()&&i.hostname===t.location.hostname&&i.pathname===t.location.pathname&&/#/.test(i.href))){var r;try{r=p(decodeURIComponent(i.hash))}catch(t){r=p(i.hash)}if("#"===r){o.preventDefault(),n=document.body;var a=n.id?n.id:"smooth-scroll-top";return n.setAttribute("data-scroll-id",a),n.id="",void(t.location.hash.substring(1)===a?_():t.location.hash=a)}n=document.querySelector(r),n&&(n.setAttribute("data-scroll-id",n.id),n.id="",i.hash===t.location.hash&&(o.preventDefault(),_()))}},S=function(t){a||(a=setTimeout(function(){a=null,r=x(o)},66))};return l.destroy=function(){e&&(document.removeEventListener("click",k,!1),t.removeEventListener("resize",S,!1),e=null,n=null,i=null,o=null,r=null,a=null,s=null)},l.init=function(n){u&&(l.destroy(),e=d(c,n||{}),o=e.selectorHeader?document.querySelector(e.selectorHeader):null,r=x(o),document.addEventListener("click",k,!1),t.addEventListener("hashchange",_,!1),o&&t.addEventListener("resize",S,!1))},l}),!function(t){"use strict";var e=function(e,n){this.el=t(e),this.options=t.extend({},t.fn.typed.defaults,n),this.isInput=this.el.is("input"),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.attr(this.attr):this.el.text(),this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};e.prototype={constructor:e,init:function(){var t=this;t.timeout=setTimeout(function(){for(var e=0;e<t.strings.length;++e)t.sequence[e]=e;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var e=this;if(this.showCursor===!0&&(this.cursor=t('<span class="typed-cursor">'+this.cursorChar+"</span>"),this.el.after(this.cursor)),this.stringsElement){this.strings=[],this.stringsElement.hide(),console.log(this.stringsElement.children());var n=this.stringsElement.children();t.each(n,function(n,i){e.strings.push(t(i).html())})}this.init()},typewrite:function(t,e){if(this.stop!==!0){var n=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var n=0,o=t.substr(e);if("^"===o.charAt(0)){var r=1;/^\^\d+/.test(o)&&(o=/\d+/.exec(o)[0],r+=o.length,n=parseInt(o)),t=t.substring(0,e)+t.substring(e+r)}if("html"===i.contentType){var a=t.substr(e).charAt(0);if("<"===a||"&"===a){var s="",l="";for(l="<"===a?">":";";t.substr(e+1).charAt(0)!==l&&(s+=t.substr(e).charAt(0),e++,!(e+1>t.length)););e++,s+=l}}i.timeout=setTimeout(function(){if(e===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(t,e)},i.backDelay)}else{0===e&&i.options.preStringTyped(i.arrayPos);var n=t.substr(0,e+1);i.attr?i.el.attr(i.attr,n):i.isInput?i.el.val(n):"html"===i.contentType?i.el.html(n):i.el.text(n),e++,i.typewrite(t,e)}},n)},n)}},backspace:function(t,e){if(this.stop!==!0){var n=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===t.substr(e).charAt(0)){for(var n="";"<"!==t.substr(e-1).charAt(0)&&(n-=t.substr(e).charAt(0),e--,!(0>e)););e--,n+="<"}var o=t.substr(0,e);i.attr?i.el.attr(i.attr,o):i.isInput?i.el.val(o):"html"===i.contentType?i.el.html(o):i.el.text(
19o),e>i.stopNum?(e--,i.backspace(t,e)):e<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],e))},n)}},shuffleArray:function(t){var e,n,i=t.length;if(i)for(;--i;)n=Math.floor(Math.random()*(i+1)),e=t[n],t[n]=t[i],t[i]=e;return t},reset:function(){var t=this;clearInterval(t.timeout),this.el.attr("id"),this.el.empty(),"undefined"!=typeof this.cursor&&this.cursor.remove(),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},t.fn.typed=function(n){return this.each(function(){var i=t(this),o=i.data("typed"),r="object"==typeof n&&n;o&&o.reset(),i.data("typed",o=new e(this,r)),"string"==typeof n&&o[n]()})},t.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery),!function(t,e){"use strict";"function"==typeof define&&define.amd?define([],function(){return t.Snackbar=e()}):"object"==typeof module&&module.exports?module.exports=t.Snackbar=e():t.Snackbar=e()}(this,function(){var t={};t.current=null;var e={text:"Default Text",textColor:"#ffffff",width:"auto",showAction:!0,actionText:"Dismiss",actionTextColor:"#4caf50",backgroundColor:"#323232",pos:"bottom-left",duration:5e3,customClass:"",onActionClick:function(t){t.style.opacity=0}};t.show=function(i){var o=n(!0,e,i);t.current&&(t.current.style.opacity=0,setTimeout(function(){var t=this.parentElement;t&&t.removeChild(this)}.bind(t.current),500)),t.snackbar=document.createElement("div"),t.snackbar.className="snackbar-container "+o.customClass,t.snackbar.style.width=o.width;var r=document.createElement("p");if(r.style.margin=0,r.style.padding=0,r.style.color=o.textColor,r.style.fontSize="14px",r.style.fontWeight=300,r.style.lineHeight="1em",r.innerHTML=o.text,t.snackbar.appendChild(r),t.snackbar.style.background=o.backgroundColor,o.showAction){var a=document.createElement("button");a.className="action",a.innerHTML=o.actionText,a.style.color=o.actionTextColor,a.addEventListener("click",function(){o.onActionClick(t.snackbar)}),t.snackbar.appendChild(a)}setTimeout(function(){t.current===this&&(t.current.style.opacity=0)}.bind(t.snackbar),o.duration),t.snackbar.addEventListener("transitionend",function(e,n){"opacity"==e.propertyName&&"0"==this.style.opacity&&(this.parentElement.removeChild(this),t.current===this&&(t.current=null))}.bind(t.snackbar)),t.current=t.snackbar,("top-left"===o.pos||"top-center"===o.pos||"top"===o.pos||"top-right"===o.pos)&&(t.snackbar.style.top="-100px"),document.body.appendChild(t.snackbar),getComputedStyle(t.snackbar).bottom,getComputedStyle(t.snackbar).top,t.snackbar.style.opacity=1,t.snackbar.className="snackbar-container "+o.customClass+" snackbar-pos "+o.pos,"top-left"===o.pos||"top-right"===o.pos?t.snackbar.style.top=0:"top-center"===o.pos||"top"===o.pos?t.snackbar.style.top="25px":("bottom-center"===o.pos||"bottom"===o.pos)&&(t.snackbar.style.bottom="-25px")},t.close=function(){t.current&&(t.current.style.opacity=0)};var n=function(){var t={},e=!1,n=0,i=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(e=arguments[0],n++);for(var o=function(n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e&&"[object Object]"===Object.prototype.toString.call(n[i])?t[i]=extend(!0,t[i],n[i]):t[i]=n[i])};i>n;n++){var r=arguments[n];o(r)}return t};return t});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.