text: var DateFormatter;!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(S,e){function s(e){var t=!!e&&"length"in e&&e.length,n=fe.type(e);return"function"!==n&&!fe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function t(e,n,i){if(fe.isFunction(n))return fe.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return fe.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(Se.test(n))return fe.filter(n,e,i);n=fe.filter(n,e)}return fe.grep(e,function(e){return-1<fe.inArray(e,n)!==i})}function n(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){var n={};return fe.each(e.match(je)||[],function(e,t){n[t]=!0}),n}function a(){ie.addEventListener?(ie.removeEventListener("DOMContentLoaded",r),S.removeEventListener("load",r)):(ie.detachEvent("onreadystatechange",r),S.detachEvent("onload",r))}function r(){(ie.addEventListener||"load"===S.event.type||"complete"===ie.readyState)&&(a(),fe.ready())}function l(e,t,n){if(n===undefined&&1===e.nodeType){var i="data-"+t.replace(Fe,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ae.test(n)?fe.parseJSON(n):n)}catch(a){}fe.data(e,t,n)}else n=undefined}return n}function u(e){var t;for(t in e)if(("data"!==t||!fe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function i(e,t,n,i){if(Oe(e)){var a,r,o=fe.expando,s=e.nodeType,l=s?fe.cache:e,u=s?e[o]:e[o]&&o;if(u&&l[u]&&(i||l[u].data)||n!==undefined||"string"!=typeof t)return u||(u=s?e[o]=ne.pop()||fe.guid++:o),l[u]||(l[u]=s?{}:{toJSON:fe.noop}),"object"!=typeof t&&"function"!=typeof t||(i?l[u]=fe.extend(l[u],t):l[u].data=fe.extend(l[u].data,t)),r=l[u],i||(r.data||(r.data={}),r=r.data),n!==undefined&&(r[fe.camelCase(t)]=n),"string"==typeof t?null==(a=r[t])&&(a=r[fe.camelCase(t)]):a=r,a}}function o(e,t,n){if(Oe(e)){var i,a,r=e.nodeType,o=r?fe.cache:e,s=r?e[fe.expando]:fe.expando;if(o[s]){if(t&&(i=n?o[s]:o[s].data)){a=(t=fe.isArray(t)?t.concat(fe.map(t,fe.camelCase)):t in i?[t]:(t=fe.camelCase(t))in i?[t]:t.split(" ")).length;for(;a--;)delete i[t[a]];if(n?!u(i):!fe.isEmptyObject(i))return}(n||(delete o[s].data,u(o[s])))&&(r?fe.cleanData([e],!0):ce.deleteExpando||o!=o.window?delete o[s]:o[s]=undefined)}}}function c(e,t,n,i){var a,r=1,o=20,s=i?function(){return i.cur()}:function(){return fe.css(e,t,"")},l=s(),u=n&&n[3]||(fe.cssNumber[t]?"":"px"),d=(fe.cssNumber[t]||"px"!==u&&+l)&&We.exec(fe.css(e,t));if(d&&d[3]!==u)for(u=u||d[3],n=n||[],d=+l||1;d/=r=r||".5",fe.style(e,t,d+u),r!==(r=s()/l)&&1!==r&&--o;);return n&&(d=+d||+l||0,a=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=d,i.end=a)),a}function g(e){var t=Ye.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function v(e,t){var n,i,a=0,r="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):undefined;if(!r)for(r=[],n=e.childNodes||e;null!=(i=n[a]);a++)!t||fe.nodeName(i,t)?r.push(i):fe.merge(r,v(i,t));return t===undefined||t&&fe.nodeName(e,t)?fe.merge([e],r):r}function y(e,t){for(var n,i=0;null!=(n=e[i]);i++)fe._data(n,"globalEval",!t||fe._data(t[i],"globalEval"))}function b(e){Be.test(e.type)&&(e.defaultChecked=e.checked)}function m(e,t,n,i,a){for(var r,o,s,l,u,d,c,h=e.length,f=g(t),p=[],m=0;m<h;m++)if((o=e[m])||0===o)if("object"===fe.type(o))fe.merge(p,o.nodeType?[o]:o);else if(Je.test(o)){for(l=l||f.appendChild(t.createElement("div")),u=($e.exec(o)||["",""])[1].toLowerCase(),c=Ge[u]||Ge._default,l.innerHTML=c[1]+fe.htmlPrefilter(o)+c[2],r=c[0];r--;)l=l.lastChild;if(!ce.leadingWhitespace&&Ue.test(o)&&p.push(t.createTextNode(Ue.exec(o)[0])),!ce.tbody)for(r=(o="table"!==u||Xe.test(o)?"<table>"!==c[1]||Xe.test(o)?0:l:l.firstChild)&&o.childNodes.length;r--;)fe.nodeName(d=o.childNodes[r],"tbody")&&!d.childNodes.length&&o.removeChild(d);for(fe.merge(p,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=f.lastChild}else p.push(t.createTextNode(o));for(l&&f.removeChild(l),ce.appendChecked||fe.grep(v(p,"input"),b),m=0;o=p[m++];)if(i&&-1<fe.inArray(o,i))a&&a.push(o);else if(s=fe.contains(o.ownerDocument,o),l=v(f.appendChild(o),"script"),s&&y(l),n)for(r=0;o=l[r++];)Ve.test(o.type||"")&&n.push(o);return l=null,f}function h(){return!0}function f(){return!1}function p(){try{return ie.activeElement}catch(e){}}function x(e,t,n,i,a,r){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=undefined),t)x(e,s,n,i,t[s],r);return e}if(null==i&&null==a?(a=n,i=n=undefined):null==a&&("string"==typeof n?(a=i,i=undefined):(a=i,i=n,n=undefined)),!1===a)a=f;else if(!a)return e;return 1===r&&(o=a,(a=function(e){return fe().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=fe.guid++)),e.each(function(){fe.event.add(this,t,a,i,n)})}function k(e,t){return fe.nodeName(e,"table")&&fe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function w(e){return e.type=(null!==fe.find.attr(e,"type"))+"/"+e.type,e}function _(e){var t=st.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function C(e,t){if(1===t.nodeType&&fe.hasData(e)){var n,i,a,r=fe._data(e),o=fe._data(t,r),s=r.events;if(s)for(n in delete o.handle,o.events={},s)for(i=0,a=s[n].length;i<a;i++)fe.event.add(t,n,s[n][i]);o.data&&(o.data=fe.extend({},o.data))}}function M(e,t){var n,i,a;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ce.noCloneEvent&&t[fe.expando]){for(i in(a=fe._data(t)).events)fe.removeEvent(t,i,a.handle);t.removeAttribute(fe.expando)}"script"===n&&t.text!==e.text?(w(t).text=e.text,_(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ce.html5Clone&&e.innerHTML&&!fe.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Be.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function T(n,i,a,r){i=re.apply([],i);var e,t,o,s,l,u,d=0,c=n.length,h=c-1,f=i[0],p=fe.isFunction(f);if(p||1<c&&"string"==typeof f&&!ce.checkClone&&ot.test(f))return n.each(function(e){var t=n.eq(e);p&&(i[0]=f.call(this,e,t.html())),T(t,i,a,r)});if(c&&(e=(u=m(i,n[0].ownerDocument,!1,n,r)).firstChild,1===u.childNodes.length&&(u=e),e||r)){for(o=(s=fe.map(v(u,"script"),w)).length;d<c;d++)t=u,d!==h&&(t=fe.clone(t,!0,!0),o&&fe.merge(s,v(t,"script"))),a.call(n[d],t,d);if(o)for(l=s[s.length-1].ownerDocument,fe.map(s,_),d=0;d<o;d++)t=s[d],Ve.test(t.type||"")&&!fe._data(t,"globalEval")&&fe.contains(l,t)&&(t.src?fe._evalUrl&&fe._evalUrl(t.src):fe.globalEval((t.text||t.textContent||t.innerHTML||"").replace(lt,"")));u=e=null}return n}function P(e,t,n){for(var i,a=t?fe.filter(t,e):e,r=0;null!=(i=a[r]);r++)n||1!==i.nodeType||fe.cleanData(v(i)),i.parentNode&&(n&&fe.contains(i.ownerDocument,i)&&y(v(i,"script")),i.parentNode.removeChild(i));return e}function D(e,t){var n=fe(t.createElement(e)).appendTo(t.body),i=fe.css(n[0],"display");return n.detach(),i}function j(e){var t=ie,n=ct[e];return n||("none"!==(n=D(e,t))&&n||((t=((dt=(dt||fe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||dt[0].contentDocument).document).write(),t.close(),n=D(e,t),dt.detach()),ct[e]=n),n}function E(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function O(e){if(e in Mt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Ct.length;n--;)if((e=Ct[n]+t)in Mt)return e}function A(e,t){for(var n,i,a,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(r[o]=fe._data(i,"olddisplay"),n=i.style.display,t?(r[o]||"none"!==n||(i.style.display=""),""===i.style.display&&qe(i)&&(r[o]=fe._data(i,"olddisplay",j(i.nodeName)))):(a=qe(i),(n&&"none"!==n||!a)&&fe._data(i,"olddisplay",a?n:fe.css(i,"display"))));for(o=0;o<s;o++)(i=e[o]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?r[o]||"":"none"));return e}function F(e,t,n){var i=wt.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function I(e,t,n,i,a){for(var r=n===(i?"border":"content")?4:"width"===t?1:0,o=0;r<4;r+=2)"margin"===n&&(o+=fe.css(e,n+ze[r],!0,a)),i?("content"===n&&(o-=fe.css(e,"padding"+ze[r],!0,a)),"margin"!==n&&(o-=fe.css(e,"border"+ze[r]+"Width",!0,a))):(o+=fe.css(e,"padding"+ze[r],!0,a),"padding"!==n&&(o+=fe.css(e,"border"+ze[r]+"Width",!0,a)));return o}function L(e,t,n){var i=!0,a="width"===t?e.offsetWidth:e.offsetHeight,r=gt(e),o=ce.boxSizing&&"border-box"===fe.css(e,"boxSizing",!1,r);if(a<=0||null==a){if(((a=vt(e,t,r))<0||null==a)&&(a=e.style[t]),ft.test(a))return a;i=o&&(ce.boxSizingReliable()||a===e.style[t]),a=parseFloat(a)||0}return a+I(e,t,n||(o?"border":"content"),i,r)+"px"}function N(e,t,n,i,a){return new N.prototype.init(e,t,n,i,a)}function R(){return S.setTimeout(function(){Tt=undefined}),Tt=fe.now()}function W(e,t){var n,i={height:e},a=0;for(t=t?1:0;a<4;a+=2-t)i["margin"+(n=ze[a])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function z(e,t,n){for(var i,a=(B.tweeners[t]||[]).concat(B.tweeners["*"]),r=0,o=a.length;r<o;r++)if(i=a[r].call(n,t,e))return i}function q(t,e,n){var i,a,r,o,s,l,u,d=this,c={},h=t.style,f=t.nodeType&&qe(t),p=fe._data(t,"fxshow");for(i in n.queue||(null==(s=fe._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,fe.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],"inline"===("none"===(u=fe.css(t,"display"))?fe._data(t,"olddisplay")||j(t.nodeName):u)&&"none"===fe.css(t,"float")&&(ce.inlineBlockNeedsLayout&&"inline"!==j(t.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",ce.shrinkWrapBlocks()||d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),e)if(a=e[i],Ft.exec(a)){if(delete e[i],r=r||"toggle"===a,a===(f?"hide":"show")){if("show"!==a||!p||p[i]===undefined)continue;f=!0}c[i]=p&&p[i]||fe.style(t,i)}else u=undefined;if(fe.isEmptyObject(c))"inline"===("none"===u?j(t.nodeName):u)&&(h.display=u);else for(i in p?"hidden"in p&&(f=p.hidden):p=fe._data(t,"fxshow",{}),r&&(p.hidden=!f),f?fe(t).show():d.done(function(){fe(t).hide()}),d.done(function(){var e;for(e in fe._removeData(t,"fxshow"),c)fe.style(t,e,c[e])}),c)o=z(f?p[i]:0,i,d),i in p||(p[i]=o.start,f&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}function H(e,t){var n,i,a,r,o;for(n in e)if(a=t[i=fe.camelCase(n)],r=e[n],fe.isArray(r)&&(a=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(o=fe.cssHooks[i])&&"expand"in o)for(n in r=o.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=a);else t[i]=a}function B(r,e,t){var n,o,i=0,a=B.prefilters.length,s=fe.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=Tt||R(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(n);return s.notifyWith(r,[u,n,t]),n<1&&a?t:(s.resolveWith(r,[u]),!1)},u=s.promise({elem:r,props:fe.extend({},e),opts:fe.extend(!0,{specialEasing:{},easing:fe.easing._default},t),originalProperties:e,originalOptions:t,startTime:Tt||R(),duration:t.duration,tweens:[],createTween:function(e,t){var n=fe.Tween(r,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)u.tweens[t].run(1);return e?(s.notifyWith(r,[u,1,0]),s.resolveWith(r,[u,e])):s.rejectWith(r,[u,e]),this}}),d=u.props;for(H(d,u.opts.specialEasing);i<a;i++)if(n=B.prefilters[i].call(u,r,d,u.opts))return fe.isFunction(n.stop)&&(fe._queueHooks(u.elem,u.opts.queue).stop=fe.proxy(n.stop,n)),n;return fe.map(d,z,u),fe.isFunction(u.opts.start)&&u.opts.start.call(r,u),fe.fx.timer(fe.extend(l,{elem:r,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 $(e){return fe.attr(e,"class")||""}function V(r){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,a=e.toLowerCase().match(je)||[];if(fe.isFunction(t))for(;n=a[i++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(r[n]=r[n]||[]).unshift(t)):(r[n]=r[n]||[]).push(t)}}function U(t,a,r,o){function s(e){var i;return l[e]=!0,fe.each(t[e]||[],function(e,t){var n=t(a,r,o);return"string"!=typeof n||u||l[n]?u?!(i=n):void 0:(a.dataTypes.unshift(n),s(n),!1)}),i}var l={},u=t===on;return s(a.dataTypes[0])||!l["*"]&&s("*")}function Y(e,t){var n,i,a=fe.ajaxSettings.flatOptions||{};for(i in t)t[i]!==undefined&&((a[i]?e:n||(n={}))[i]=t[i]);return n&&fe.extend(!0,e,n),e}function G(e,t,n){for(var i,a,r,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),a===undefined&&(a=e.mimeType||t.getResponseHeader("Content-Type"));if(a)for(o in s)if(s[o]&&s[o].test(a)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}i||(i=o)}r=r||i}if(r)return r!==l[0]&&l.unshift(r),n[r]}function J(e,t,n,i){var a,r,o,s,l,u={},d=e.dataTypes.slice();if(d[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(r=d.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=d.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=u[l+" "+r]||u["* "+r]))for(a in u)if((s=a.split(" "))[1]===r&&(o=u[l+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[a]:!0!==u[a]&&(r=s[0],d.unshift(s[1]));break}if(!0!==o)if(o&&e["throws"])t=o(t);else try{t=o(t)}catch(c){return{state:"parsererror",error:o?c:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}function X(e){return e.style&&e.style.display||fe.css(e,"display")}function K(e){if(!fe.contains(e.ownerDocument||ie,e))return!0;for(;e&&1===e.nodeType;){if("none"===X(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function Q(n,e,i,a){var t;if(fe.isArray(e))fe.each(e,function(e,t){i||cn.test(n)?a(n,t):Q(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,a)});else if(i||"object"!==fe.type(e))a(n,e);else for(t in e)Q(n+"["+t+"]",e[t],i,a)}function Z(){try{return new S.XMLHttpRequest}catch(e){}}function ee(){try{return new S.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function te(e){return fe.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ne=[],ie=S.document,ae=ne.slice,re=ne.concat,oe=ne.push,se=ne.indexOf,le={},ue=le.toString,de=le.hasOwnProperty,ce={},he="1.12.4",fe=function(e,t){return new fe.fn.init(e,t)},pe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,me=/^-ms-/,ge=/-([\da-z])/gi,ve=function(e,t){return t.toUpperCase()};fe.fn=fe.prototype={jquery:he,constructor:fe,selector:"",length:0,toArray:function(){return ae.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ae.call(this)},pushStack:function(e){var t=fe.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return fe.each(this,e)},map:function(n){return this.pushStack(fe.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:oe,sort:ne.sort,splice:ne.splice},fe.extend=fe.fn.extend=function(e){var t,n,i,a,r,o,s=e||{},l=1,u=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[l]||{},l++),"object"==typeof s||fe.isFunction(s)||(s={}),l===u&&(s=this,l--);l<u;l++)if(null!=(r=arguments[l]))for(a in r)t=s[a],s!==(i=r[a])&&(d&&i&&(fe.isPlainObject(i)||(n=fe.isArray(i)))?(n?(n=!1,o=t&&fe.isArray(t)?t:[]):o=t&&fe.isPlainObject(t)?t:{},s[a]=fe.extend(d,o,i)):i!==undefined&&(s[a]=i));return s},fe.extend({expando:"jQuery"+(he+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===fe.type(e)},isArray:Array.isArray||function(e){return"array"===fe.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!fe.isArray(e)&&0<=t-parseFloat(t)+1},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==fe.type(e)||e.nodeType||fe.isWindow(e))return!1;try{if(e.constructor&&!de.call(e,"constructor")&&!de.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!ce.ownFirst)for(t in e)return de.call(e,t);for(t in e);return t===undefined||de.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?le[ue.call(e)]||"object":typeof e},globalEval:function(e){e&&fe.trim(e)&&(S.execScript||function(e){S.eval.call(S,e)})(e)},camelCase:function(e){return e.replace(me,"ms-").replace(ge,ve)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(s(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(pe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?fe.merge(n,"string"==typeof e?[e]:e):oe.call(n,e)),n},inArray:function(e,t,n){var i;if(t){if(se)return se.call(t,e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,i=0,a=e.length;i<n;)e[a++]=t[i++];if(n!=n)for(;t[i]!==undefined;)e[a++]=t[i++];return e.length=a,e},grep:function(e,t,n){for(var i=[],a=0,r=e.length,o=!n;a<r;a++)!t(e[a],a)!==o&&i.push(e[a]);return i},map:function(e,t,n){var i,a,r=0,o=[];if(s(e))for(i=e.length;r<i;r++)null!=(a=t(e[r],r,n))&&o.push(a);else for(r in e)null!=(a=t(e[r],r,n))&&o.push(a);return re.apply([],o)},guid:1,proxy:function(e,t){var n,i,a;return"string"==typeof t&&(a=e[t],t=e,e=a),fe.isFunction(e)?(n=ae.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(ae.call(arguments)))}).guid=e.guid=e.guid||fe.guid++,i):undefined},now:function(){return+new Date},support:ce}),"function"==typeof Symbol&&(fe.fn[Symbol.iterator]=ne[Symbol.iterator]),fe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){le["[object "+t+"]"]=t.toLowerCase()});var ye=function(n){function x(e,t,n,i){var a,r,o,s,l,u,d,c,h=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!i&&((t?t.ownerDocument||t:z)!==O&&E(t),t=t||O,F)){if(11!==f&&(u=ve.exec(e)))if(a=u[1]){if(9===f){if(!(o=t.getElementById(a)))return n;if(o.id===a)return n.push(o),n}else if(h&&(o=h.getElementById(a))&&R(t,o)&&o.id===a)return n.push(o),n}else{if(u[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((a=u[3])&&v.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(a)),n}if(v.qsa&&!V[e+" "]&&(!I||!I.test(e))){if(1!==f)h=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(be,"\\$&"):t.setAttribute("id",s=W),r=(d=C(e)).length,l=he.test(s)?"#"+s:"[id='"+s+"']";r--;)d[r]=l+" "+g(d[r]);c=d.join(","),h=ye.test(e)&&m(t.parentNode)||t}if(c)try{return Q.apply(n,h.querySelectorAll(c)),n}catch(p){}finally{s===W&&t.removeAttribute("id")}}}return T(e.replace(se,"$1"),t,n,i)}function e(){function n(e,t){return i.push(e+" ")>w.cacheLength&&delete n[i.shift()],n[e+" "]=t}var i=[];return n}function l(e){return e[W]=!0,e}function a(e){var t=O.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function t(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function u(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Y)-(~e.sourceIndex||Y);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function i(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function r(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function o(o){return l(function(r){return r=+r,l(function(e,t){for(var n,i=o([],e.length,r),a=i.length;a--;)e[n=i[a]]&&(e[n]=!(t[n]=e[n]))})})}function m(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function s(){}function g(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function c(s,e,t){var l=e.dir,u=t&&"parentNode"===l,d=H++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||u)return s(e,t,n)}:function(e,t,n){var i,a,r,o=[q,d];if(n){for(;e=e[l];)if((1===e.nodeType||u)&&s(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||u){if((i=(a=(r=e[W]||(e[W]={}))[e.uniqueID]||(r[e.uniqueID]={}))[l])&&i[0]===q&&i[1]===d)return o[2]=i[2];if((a[l]=o)[2]=s(e,t,n))return!0}}}function h(a){return 1<a.length?function(e,t,n){for(var i=a.length;i--;)if(!a[i](e,t,n))return!1;return!0}:a[0]}function y(e,t,n){for(var i=0,a=t.length;i<a;i++)x(e,t[i],n);return n}function k(e,t,n,i,a){for(var r,o=[],s=0,l=e.length,u=null!=t;s<l;s++)(r=e[s])&&(n&&!n(r,i,a)||(o.push(r),u&&t.push(s)));return o}function b(f,p,m,g,v,e){return g&&!g[W]&&(g=b(g)),v&&!v[W]&&(v=b(v,e)),l(function(e,t,n,i){var a,r,o,s=[],l=[],u=t.length,d=e||y(p||"*",n.nodeType?[n]:n,[]),c=!f||!e&&p?d:k(d,s,f,n,i),h=m?v||(e?f:u||g)?[]:t:c;if(m&&m(c,h,n,i),g)for(a=k(h,l),g(a,[],n,i),r=a.length;r--;)(o=a[r])&&(h[l[r]]=!(c[l[r]]=o));if(e){if(v||f){if(v){for(a=[],r=h.length;r--;)(o=h[r])&&a.push(c[r]=o);v(null,h=[],a,i)}for(r=h.length;r--;)(o=h[r])&&-1<(a=v?ee(e,o):s[r])&&(e[a]=!(t[a]=o))}}else h=k(h===t?h.splice(u,h.length):h),v?v(null,t,h,i):Q.apply(t,h)})}function f(e){for(var a,t,n,i=e.length,r=w.relative[e[0].type],o=r||w.relative[" "],s=r?1:0,l=c(function(e){return e===a},o,!0),u=c(function(e){return-1<ee(a,e)},o,!0),d=[function(e,t,n){var i=!r&&(n||t!==P)||((a=t).nodeType?l(e,t,n):u(e,t,n));return a=null,i}];s<i;s++)if(t=w.relative[e[s].type])d=[c(h(d),t)];else{if((t=w.filter[e[s].type].apply(null,e[s].matches))[W]){for(n=++s;n<i&&!w.relative[e[n].type];n++);return b(1<s&&h(d),1<s&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),t,s<n&&f(e.slice(s,n)),n<i&&f(e=e.slice(n)),n<i&&g(e))}d.push(t)}return h(d)}function d(g,v){var y=0<v.length,b=0<g.length,e=function(e,t,n,i,a){var r,o,s,l=0,u="0",d=e&&[],c=[],h=P,f=e||b&&w.find.TAG("*",a),p=q+=null==h?1:Math.random()||.1,m=f.length;for(a&&(P=t===O||t||a);u!==m&&null!=(r=f[u]);u++){if(b&&r){for(o=0,t||r.ownerDocument===O||(E(r),n=!F);s=g[o++];)if(s(r,t||O,n)){i.push(r);break}a&&(q=p)}y&&((r=!s&&r)&&l--,e&&d.push(r))}if(l+=u,y&&u!==l){for(o=0;s=v[o++];)s(d,c,t,n);if(e){if(0<l)for(;u--;)d[u]||c[u]||(c[u]=X.call(i));c=k(c)}Q.apply(i,c),a&&!e&&0<c.length&&1<l+v.length&&x.uniqueSort(i)}return a&&(q=p,P=h),d};return y?l(e):e}var p,v,w,S,_,C,M,T,P,D,j,E,O,A,F,I,L,N,R,W="sizzle"+1*new Date,z=n.document,q=0,H=0,B=e(),$=e(),V=e(),U=function(e,t){return e===t&&(j=!0),0},Y=1<<31,G={}.hasOwnProperty,J=[],X=J.pop,K=J.push,Q=J.push,Z=J.slice,ee=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ae="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",re=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ae+")*)|.*)\\)|)",oe=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),de=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),ce=new RegExp(re),he=new RegExp("^"+ie+"$"),fe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+ae),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),ke=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},we=function(){E()};try{Q.apply(J=Z.call(z.childNodes),z.childNodes),J[z.childNodes.length].nodeType}catch(Se){Q={apply:J.length?function(e,t){K.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(p in v=x.support={},_=x.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},E=x.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:z;return i!==O&&9===i.nodeType&&i.documentElement&&(A=(O=i).documentElement,F=!_(O),(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),v.attributes=a(function(e){return e.className="i",!e.getAttribute("className")}),v.getElementsByTagName=a(function(e){return e.appendChild(O.createComment("")),!e.getElementsByTagName("*").length}),v.getElementsByClassName=ge.test(O.getElementsByClassName),v.getById=a(function(e){return A.appendChild(e).id=W,!O.getElementsByName||!O.getElementsByName(W).length}),v.getById?(w.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&F){var n=t.getElementById(e);return n?[n]:[]}},w.filter.ID=function(e){var t=e.replace(xe,ke);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var n=e.replace(xe,ke);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),w.find.TAG=v.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):v.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],a=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[a++];)1===n.nodeType&&i.push(n);return i}return r},w.find.CLASS=v.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&F)return t.getElementsByClassName(e)},L=[],I=[],(v.qsa=ge.test(O.querySelectorAll))&&(a(function(e){A.appendChild(e).innerHTML="<a id='"+W+"'></a><select id='"+W+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||I.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+W+"-]").length||I.push("~="),e.querySelectorAll(":checked").length||I.push(":checked"),e.querySelectorAll("a#"+W+"+*").length||I.push(".#.+[+~]")}),a(function(e){var t=O.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&I.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),I.push(",.*:")})),(v.matchesSelector=ge.test(N=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&a(function(e){v.disconnectedMatch=N.call(e,"div"),N.call(e,"[s!='']:x"),L.push("!=",re)}),I=I.length&&new RegExp(I.join("|")),L=L.length&&new RegExp(L.join("|")),t=ge.test(A.compareDocumentPosition),R=t||ge.test(A.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return j=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!v.sortDetached&&t.compareDocumentPosition(e)===n?e===O||e.ownerDocument===z&&R(z,e)?-1:t===O||t.ownerDocument===z&&R(z,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!0,0;var n,i=0,a=e.parentNode,r=t.parentNode,o=[e],s=[t];if(!a||!r)return e===O?-1:t===O?1:a?-1:r?1:D?ee(D,e)-ee(D,t):0;if(a===r)return u(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[i]===s[i];)i++;return i?u(o[i],s[i]):o[i]===z?-1:s[i]===z?1:0}),O},x.matches=function(e,t){return x(e,null,null,t)},x.matchesSelector=function(e,t){if((e.ownerDocument||e)!==O&&E(e),t=t.replace(de,"='$1']"),v.matchesSelector&&F&&!V[t+" "]&&(!L||!L.test(t))&&(!I||!I.test(t)))try{var n=N.call(e,t);if(n||v.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Se){}return 0<x(t,O,null,[e]).length},x.contains=function(e,t){return(e.ownerDocument||e)!==O&&E(e),R(e,t)},x.attr=function(e,t){(e.ownerDocument||e)!==O&&E(e);var n=w.attrHandle[t.toLowerCase()],i=n&&G.call(w.attrHandle,t.toLowerCase())?n(e,t,!F):undefined;return i!==undefined?i:v.attributes||!F?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},x.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},x.uniqueSort=function(e){var t,n=[],i=0,a=0;if(j=!v.detectDuplicates,D=!v.sortStable&&e.slice(0),e.sort(U),j){for(;t=e[a++];)t===e[a]&&(i=n.push(a));for(;i--;)e.splice(n[i],1)}return D=null,e},S=x.getText=function(e){var t,n="",i=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=S(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[i++];)n+=S(t);return n},(w=x.selectors={cacheLength:50,createPseudo:l,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,ke),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,ke),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||x.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&x.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,ke).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,a){return function(e){var t=x.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===a:"!="===i?t!==a:"^="===i?a&&0===t.indexOf(a):"*="===i?a&&-1<t.indexOf(a):"$="===i?a&&t.slice(-a.length)===a:"~="===i?-1<(" "+t.replace(oe," ")+" ").indexOf(a):"|="===i&&(t===a||t.slice(0,a.length+1)===a+"-"))}},CHILD:function(p,e,t,m,g){var v="nth"!==p.slice(0,3),y="last"!==p.slice(-4),b="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var i,a,r,o,s,l,u=v!==y?"nextSibling":"previousSibling",d=e.parentNode,c=b&&e.nodeName.toLowerCase(),h=!n&&!b,f=!1;if(d){if(v){for(;u;){for(o=e;o=o[u];)if(b?o.nodeName.toLowerCase()===c:1===o.nodeType)return!1;l=u="only"===p&&!l&&"nextSibling"}return!0}if(l=[y?d.firstChild:d.lastChild],y&&h){for(f=(s=(i=(a=(r=(o=d)[W]||(o[W]={}))[o.uniqueID]||(r[o.uniqueID]={}))[p]||[])[0]===q&&i[1])&&i[2],o=s&&d.childNodes[s];o=++s&&o&&o[u]||(f=s=0)||l.pop();)if(1===o.nodeType&&++f&&o===e){a[p]=[q,s,f];break}}else if(h&&(f=s=(i=(a=(r=(o=e)[W]||(o[W]={}))[o.uniqueID]||(r[o.uniqueID]={}))[p]||[])[0]===q&&i[1]),!1===f)for(;(o=++s&&o&&o[u]||(f=s=0)||l.pop())&&((b?o.nodeName.toLowerCase()!==c:1!==o.nodeType)||!++f||(h&&((a=(r=o[W]||(o[W]={}))[o.uniqueID]||(r[o.uniqueID]={}))[p]=[q,f]),o!==e)););return(f-=g)===m||f%m==0&&0<=f/m}}},PSEUDO:function(e,r){var t,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||x.error("unsupported pseudo: "+e);return o[W]?o(r):1<o.length?(t=[e,e,"",r],w.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var n,i=o(e,r),a=i.length;a--;)e[n=ee(e,i[a])]=!(t[n]=i[a])}):function(e){return o(e,0,t)
  }):o}},pseudos:{not:l(function(e){var i=[],a=[],s=M(e.replace(se,"$1"));return s[W]?l(function(e,t,n,i){for(var a,r=s(e,null,i,[]),o=e.length;o--;)(a=r[o])&&(e[o]=!(t[o]=a))}):function(e,t,n){return i[0]=e,s(i,null,n,a),i[0]=null,!a.pop()}}),has:l(function(t){return function(e){return 0<x(t,e).length}}),contains:l(function(t){return t=t.replace(xe,ke),function(e){return-1<(e.textContent||e.innerText||S(e)).indexOf(t)}}),lang:l(function(n){return he.test(n||"")||x.error("unsupported lang: "+n),n=n.replace(xe,ke).toLowerCase(),function(e){var t;do{if(t=F?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===A},focus:function(e){return e===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:o(function(){return[0]}),last:o(function(e,t){return[t-1]}),eq:o(function(e,t,n){return[n<0?n+t:n]}),even:o(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:o(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:o(function(e,t,n){for(var i=n<0?n+t:n;0<=--i;)e.push(i);return e}),gt:o(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[p]=i(p);for(p in{submit:!0,reset:!0})w.pseudos[p]=r(p);return s.prototype=w.filters=w.pseudos,w.setFilters=new s,C=x.tokenize=function(e,t){var n,i,a,r,o,s,l,u=$[e+" "];if(u)return t?0:u.slice(0);for(o=e,s=[],l=w.preFilter;o;){for(r in n&&!(i=le.exec(o))||(i&&(o=o.slice(i[0].length)||o),s.push(a=[])),n=!1,(i=ue.exec(o))&&(n=i.shift(),a.push({value:n,type:i[0].replace(se," ")}),o=o.slice(n.length)),w.filter)!(i=fe[r].exec(o))||l[r]&&!(i=l[r](i))||(n=i.shift(),a.push({value:n,type:r,matches:i}),o=o.slice(n.length));if(!n)break}return t?o.length:o?x.error(e):$(e,s).slice(0)},M=x.compile=function(e,t){var n,i=[],a=[],r=V[e+" "];if(!r){for(t||(t=C(e)),n=t.length;n--;)(r=f(t[n]))[W]?i.push(r):a.push(r);(r=V(e,d(a,i))).selector=e}return r},T=x.select=function(e,t,n,i){var a,r,o,s,l,u="function"==typeof e&&e,d=!i&&C(e=u.selector||e);if(n=n||[],1===d.length){if(2<(r=d[0]=d[0].slice(0)).length&&"ID"===(o=r[0]).type&&v.getById&&9===t.nodeType&&F&&w.relative[r[1].type]){if(!(t=(w.find.ID(o.matches[0].replace(xe,ke),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(a=fe.needsContext.test(e)?0:r.length;a--&&(o=r[a],!w.relative[s=o.type]);)if((l=w.find[s])&&(i=l(o.matches[0].replace(xe,ke),ye.test(r[0].type)&&m(t.parentNode)||t))){if(r.splice(a,1),!(e=i.length&&g(r)))return Q.apply(n,i),n;break}}return(u||M(e,d))(i,t,!F,n,!t||ye.test(e)&&m(t.parentNode)||t),n},v.sortStable=W.split("").sort(U).join("")===W,v.detectDuplicates=!!j,E(),v.sortDetached=a(function(e){return 1&e.compareDocumentPosition(O.createElement("div"))}),a(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||t("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),v.attributes&&a(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||t("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),a(function(e){return null==e.getAttribute("disabled")})||t(te,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),x}(S);fe.find=ye,fe.expr=ye.selectors,fe.expr[":"]=fe.expr.pseudos,fe.uniqueSort=fe.unique=ye.uniqueSort,fe.text=ye.getText,fe.isXMLDoc=ye.isXML,fe.contains=ye.contains;var be=function(e,t,n){for(var i=[],a=n!==undefined;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&fe(e).is(n))break;i.push(e)}return i},xe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ke=fe.expr.match.needsContext,we=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Se=/^.[^:#\[\.,]*$/;fe.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?fe.find.matchesSelector(i,e)?[i]:[]:fe.find.matches(e,fe.grep(t,function(e){return 1===e.nodeType}))},fe.fn.extend({find:function(e){var t,n=[],i=this,a=i.length;if("string"!=typeof e)return this.pushStack(fe(e).filter(function(){for(t=0;t<a;t++)if(fe.contains(i[t],this))return!0}));for(t=0;t<a;t++)fe.find(e,i[t],n);return(n=this.pushStack(1<a?fe.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(t(this,e||[],!1))},not:function(e){return this.pushStack(t(this,e||[],!0))},is:function(e){return!!t(this,"string"==typeof e&&ke.test(e)?fe(e):e||[],!1).length}});var _e,Ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(fe.fn.init=function(e,t,n){var i,a;if(!e)return this;if(n=n||_e,"string"==typeof e){if(!(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:Ce.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof fe?t[0]:t,fe.merge(this,fe.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:ie,!0)),we.test(i[1])&&fe.isPlainObject(t))for(i in t)fe.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if((a=ie.getElementById(i[2]))&&a.parentNode){if(a.id!==i[2])return _e.find(e);this.length=1,this[0]=a}return this.context=ie,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):fe.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(fe):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),fe.makeArray(e,this))}).prototype=fe.fn,_e=fe(ie);var Me=/^(?:parents|prev(?:Until|All))/,Te={children:!0,contents:!0,next:!0,prev:!0};fe.fn.extend({has:function(e){var t,n=fe(e,this),i=n.length;return this.filter(function(){for(t=0;t<i;t++)if(fe.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,a=this.length,r=[],o=ke.test(e)||"string"!=typeof e?fe(e,t||this.context):0;i<a;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&fe.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(1<r.length?fe.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?fe.inArray(this[0],fe(e)):fe.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(fe.uniqueSort(fe.merge(this.get(),fe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),fe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return be(e,"parentNode")},parentsUntil:function(e,t,n){return be(e,"parentNode",n)},next:function(e){return n(e,"nextSibling")},prev:function(e){return n(e,"previousSibling")},nextAll:function(e){return be(e,"nextSibling")},prevAll:function(e){return be(e,"previousSibling")},nextUntil:function(e,t,n){return be(e,"nextSibling",n)},prevUntil:function(e,t,n){return be(e,"previousSibling",n)},siblings:function(e){return xe((e.parentNode||{}).firstChild,e)},children:function(e){return xe(e.firstChild)},contents:function(e){return fe.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:fe.merge([],e.childNodes)}},function(i,a){fe.fn[i]=function(e,t){var n=fe.map(this,a,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=fe.filter(t,n)),1<this.length&&(Te[i]||(n=fe.uniqueSort(n)),Me.test(i)&&(n=n.reverse())),this.pushStack(n)}});var Pe,De,je=/\S+/g;for(De in fe.Callbacks=function(i){i="string"==typeof i?d(i):fe.extend({},i);var a,e,t,n,r=[],o=[],s=-1,l=function(){for(n=i.once,t=a=!0;o.length;s=-1)for(e=o.shift();++s<r.length;)!1===r[s].apply(e[0],e[1])&&i.stopOnFalse&&(s=r.length,e=!1);i.memory||(e=!1),a=!1,n&&(r=e?[]:"")},u={add:function(){return r&&(e&&!a&&(s=r.length-1,o.push(e)),function n(e){fe.each(e,function(e,t){fe.isFunction(t)?i.unique&&u.has(t)||r.push(t):t&&t.length&&"string"!==fe.type(t)&&n(t)})}(arguments),e&&!a&&l()),this},remove:function(){return fe.each(arguments,function(e,t){for(var n;-1<(n=fe.inArray(t,r,n));)r.splice(n,1),n<=s&&s--}),this},has:function(e){return e?-1<fe.inArray(e,r):0<r.length},empty:function(){return r&&(r=[]),this},disable:function(){return n=o=[],r=e="",this},disabled:function(){return!r},lock:function(){return n=!0,e||u.disable(),this},locked:function(){return!!n},fireWith:function(e,t){return n||(t=[e,(t=t||[]).slice?t.slice():t],o.push(t),a||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!t}};return u},fe.extend({Deferred:function(e){var r=[["resolve","done",fe.Callbacks("once memory"),"resolved"],["reject","fail",fe.Callbacks("once memory"),"rejected"],["notify","progress",fe.Callbacks("memory")]],a="pending",o={state:function(){return a},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var a=arguments;return fe.Deferred(function(i){fe.each(r,function(e,t){var n=fe.isFunction(a[e])&&a[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&fe.isFunction(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this===o?i.promise():this,n?[e]:arguments)})}),a=null}).promise()},promise:function(e){return null!=e?fe.extend(e,o):o}},s={};return o.pipe=o.then,fe.each(r,function(e,t){var n=t[2],i=t[3];o[t[1]]=n.add,i&&n.add(function(){a=i},r[1^e][2].disable,r[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?o:this,arguments),this},s[t[0]+"With"]=n.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(e){var a,t,n,i=0,r=ae.call(arguments),o=r.length,s=1!==o||e&&fe.isFunction(e.promise)?o:0,l=1===s?e:fe.Deferred(),u=function(t,n,i){return function(e){n[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,i===a?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(1<o)for(a=new Array(o),t=new Array(o),n=new Array(o);i<o;i++)r[i]&&fe.isFunction(r[i].promise)?r[i].promise().progress(u(i,t,a)).done(u(i,n,r)).fail(l.reject):--s;return s||l.resolveWith(n,r),l.promise()}}),fe.fn.ready=function(e){return fe.ready.promise().done(e),this},fe.extend({isReady:!1,readyWait:1,holdReady:function(e){e?fe.readyWait++:fe.ready(!0)},ready:function(e){(!0===e?--fe.readyWait:fe.isReady)||(fe.isReady=!0)!==e&&0<--fe.readyWait||(Pe.resolveWith(ie,[fe]),fe.fn.triggerHandler&&(fe(ie).triggerHandler("ready"),fe(ie).off("ready")))}}),fe.ready.promise=function(t){if(!Pe)if(Pe=fe.Deferred(),"complete"===ie.readyState||"loading"!==ie.readyState&&!ie.documentElement.doScroll)S.setTimeout(fe.ready);else if(ie.addEventListener)ie.addEventListener("DOMContentLoaded",r),S.addEventListener("load",r);else{ie.attachEvent("onreadystatechange",r),S.attachEvent("onload",r);var n=!1;try{n=null==S.frameElement&&ie.documentElement}catch(i){}n&&n.doScroll&&function e(){if(!fe.isReady){try{n.doScroll("left")}catch(i){return S.setTimeout(e,50)}a(),fe.ready()}}()}return Pe.promise(t)},fe.ready.promise(),fe(ce))break;ce.ownFirst="0"===De,ce.inlineBlockNeedsLayout=!1,fe(function(){var e,t,n,i;(n=ie.getElementsByTagName("body")[0])&&n.style&&(t=ie.createElement("div"),(i=ie.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ce.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=ie.createElement("div");ce.deleteExpando=!0;try{delete e.test}catch(t){ce.deleteExpando=!1}e=null}();var Ee,Oe=function(e){var t=fe.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},Ae=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Fe=/([A-Z])/g;fe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?fe.cache[e[fe.expando]]:e[fe.expando])&&!u(e)},data:function(e,t,n){return i(e,t,n)},removeData:function(e,t){return o(e,t)},_data:function(e,t,n){return i(e,t,n,!0)},_removeData:function(e,t){return o(e,t,!0)}}),fe.fn.extend({data:function(e,t){var n,i,a,r=this[0],o=r&&r.attributes;if(e===undefined){if(this.length&&(a=fe.data(r),1===r.nodeType&&!fe._data(r,"parsedAttrs"))){for(n=o.length;n--;)o[n]&&0===(i=o[n].name).indexOf("data-")&&l(r,i=fe.camelCase(i.slice(5)),a[i]);fe._data(r,"parsedAttrs",!0)}return a}return"object"==typeof e?this.each(function(){fe.data(this,e)}):1<arguments.length?this.each(function(){fe.data(this,e,t)}):r?l(r,e,fe.data(r,e)):undefined},removeData:function(e){return this.each(function(){fe.removeData(this,e)})}}),fe.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=fe._data(e,t),n&&(!i||fe.isArray(n)?i=fe._data(e,t,fe.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=fe.queue(e,t),i=n.length,a=n.shift(),r=fe._queueHooks(e,t),o=function(){fe.dequeue(e,t)};"inprogress"===a&&(a=n.shift(),i--),a&&("fx"===t&&n.unshift("inprogress"),delete r.stop,a.call(e,o,r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return fe._data(e,n)||fe._data(e,n,{empty:fe.Callbacks("once memory").add(function(){fe._removeData(e,t+"queue"),fe._removeData(e,n)})})}}),fe.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?fe.queue(this[0],t):n===undefined?this:this.each(function(){var e=fe.queue(this,t,n);fe._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&fe.dequeue(this,t)})},dequeue:function(e){return this.each(function(){fe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,a=fe.Deferred(),r=this,o=this.length,s=function(){--i||a.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=undefined),e=e||"fx";o--;)(n=fe._data(r[o],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),a.promise(t)}}),ce.shrinkWrapBlocks=function(){return null!=Ee?Ee:(Ee=!1,(t=ie.getElementsByTagName("body")[0])&&t.style?(e=ie.createElement("div"),(n=ie.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),"undefined"!=typeof e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(ie.createElement("div")).style.width="5px",Ee=3!==e.offsetWidth),t.removeChild(n),Ee):void 0);var e,t,n};var Ie,Le,Ne,Re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,We=new RegExp("^(?:([+-])=|)("+Re+")([a-z%]*)$","i"),ze=["Top","Right","Bottom","Left"],qe=function(e,t){return e=t||e,"none"===fe.css(e,"display")||!fe.contains(e.ownerDocument,e)},He=function(e,t,n,i,a,r,o){var s=0,l=e.length,u=null==n;if("object"===fe.type(n))for(s in a=!0,n)He(e,t,s,n[s],!0,r,o);else if(i!==undefined&&(a=!0,fe.isFunction(i)||(o=!0),u&&(o?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(fe(e),n)})),t))for(;s<l;s++)t(e[s],n,o?i:i.call(e[s],s,t(e[s],n)));return a?e:u?t.call(e):l?t(e[0],n):r},Be=/^(?:checkbox|radio)$/i,$e=/<([\w:-]+)/,Ve=/^$|\/(?:java|ecma)script/i,Ue=/^\s+/,Ye="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";Ie=ie.createElement("div"),Le=ie.createDocumentFragment(),Ne=ie.createElement("input"),Ie.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ce.leadingWhitespace=3===Ie.firstChild.nodeType,ce.tbody=!Ie.getElementsByTagName("tbody").length,ce.htmlSerialize=!!Ie.getElementsByTagName("link").length,ce.html5Clone="<:nav></:nav>"!==ie.createElement("nav").cloneNode(!0).outerHTML,Ne.type="checkbox",Ne.checked=!0,Le.appendChild(Ne),ce.appendChecked=Ne.checked,Ie.innerHTML="<textarea>x</textarea>",ce.noCloneChecked=!!Ie.cloneNode(!0).lastChild.defaultValue,Le.appendChild(Ie),(Ne=ie.createElement("input")).setAttribute("type","radio"),Ne.setAttribute("checked","checked"),Ne.setAttribute("name","t"),Ie.appendChild(Ne),ce.checkClone=Ie.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.noCloneEvent=!!Ie.addEventListener,Ie[fe.expando]=1,ce.attributes=!Ie.getAttribute(fe.expando);var Ge={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ce.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td;var Je=/<|&#?\w+;/,Xe=/<tbody/i;!function(){var e,t,n=ie.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(ce[e]=t in S)||(n.setAttribute(t,"t"),ce[e]=!1===n.attributes[t].expando);n=null}();var Ke=/^(?:input|select|textarea)$/i,Qe=/^key/,Ze=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,et=/^(?:focusinfocus|focusoutblur)$/,tt=/^([^.]*)(?:\.(.+)|)/;fe.event={global:{},add:function(e,t,n,i,a){var r,o,s,l,u,d,c,h,f,p,m,g=fe._data(e);if(g){for(n.handler&&(n=(l=n).handler,a=l.selector),n.guid||(n.guid=fe.guid++),(o=g.events)||(o=g.events={}),(d=g.handle)||((d=g.handle=function(e){return void 0===fe||e&&fe.event.triggered===e.type?undefined:fe.event.dispatch.apply(d.elem,arguments)}).elem=e),s=(t=(t||"").match(je)||[""]).length;s--;)f=m=(r=tt.exec(t[s])||[])[1],p=(r[2]||"").split(".").sort(),f&&(u=fe.event.special[f]||{},f=(a?u.delegateType:u.bindType)||f,u=fe.event.special[f]||{},c=fe.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&fe.expr.match.needsContext.test(a),namespace:p.join(".")},l),(h=o[f])||((h=o[f]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,p,d)||(e.addEventListener?e.addEventListener(f,d,!1):e.attachEvent&&e.attachEvent("on"+f,d))),u.add&&(u.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),a?h.splice(h.delegateCount++,0,c):h.push(c),fe.event.global[f]=!0);e=null}},remove:function(e,t,n,i,a){var r,o,s,l,u,d,c,h,f,p,m,g=fe.hasData(e)&&fe._data(e);if(g&&(d=g.events)){for(u=(t=(t||"").match(je)||[""]).length;u--;)if(f=m=(s=tt.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),f){for(c=fe.event.special[f]||{},h=d[f=(i?c.delegateType:c.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=h.length;r--;)o=h[r],!a&&m!==o.origType||n&&n.guid!==o.guid||s&&!s.test(o.namespace)||i&&i!==o.selector&&("**"!==i||!o.selector)||(h.splice(r,1),o.selector&&h.delegateCount--,c.remove&&c.remove.call(e,o));l&&!h.length&&(c.teardown&&!1!==c.teardown.call(e,p,g.handle)||fe.removeEvent(e,f,g.handle),delete d[f])}else for(f in d)fe.event.remove(e,f+t[u],n,i,!0);fe.isEmptyObject(d)&&(delete g.handle,fe._removeData(e,"events"))}},trigger:function(e,t,n,i){var a,r,o,s,l,u,d,c=[n||ie],h=de.call(e,"type")?e.type:e,f=de.call(e,"namespace")?e.namespace.split("."):[];if(o=u=n=n||ie,3!==n.nodeType&&8!==n.nodeType&&!et.test(h+fe.event.triggered)&&(-1<h.indexOf(".")&&(h=(f=h.split(".")).shift(),f.sort()),r=h.indexOf(":")<0&&"on"+h,(e=e[fe.expando]?e:new fe.Event(h,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=n),t=null==t?[e]:fe.makeArray(t,[e]),l=fe.event.special[h]||{},i||!l.trigger||!1!==l.trigger.apply(n,t))){if(!i&&!l.noBubble&&!fe.isWindow(n)){for(s=l.delegateType||h,et.test(s+h)||(o=o.parentNode);o;o=o.parentNode)c.push(o),u=o;u===(n.ownerDocument||ie)&&c.push(u.defaultView||u.parentWindow||S)}for(d=0;(o=c[d++])&&!e.isPropagationStopped();)e.type=1<d?s:l.bindType||h,(a=(fe._data(o,"events")||{})[e.type]&&fe._data(o,"handle"))&&a.apply(o,t),(a=r&&o[r])&&a.apply&&Oe(o)&&(e.result=a.apply(o,t),!1===e.result&&e.preventDefault());if(e.type=h,!i&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(c.pop(),t))&&Oe(n)&&r&&n[h]&&!fe.isWindow(n)){(u=n[r])&&(n[r]=null),fe.event.triggered=h;try{n[h]()}catch(p){}fe.event.triggered=undefined,u&&(n[r]=u)}return e.result}},dispatch:function(e){e=fe.event.fix(e);var t,n,i,a,r,o=[],s=ae.call(arguments),l=(fe._data(this,"events")||{})[e.type]||[],u=fe.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(o=fe.event.handlers.call(this,e,l),t=0;(a=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=a.elem,n=0;(r=a.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(r.namespace)||(e.handleObj=r,e.data=r.data,(i=((fe.event.special[r.origType]||{}).handle||r.handler).apply(a.elem,s))!==undefined&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,a,r,o=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n<s;n++)i[a=(r=t[n]).selector+" "]===undefined&&(i[a]=r.needsContext?-1<fe(a,this).index(l):fe.find(a,this,null,[l]).length),i[a]&&i.push(r);i.length&&o.push({elem:l,handlers:i})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},fix:function(e){if(e[fe.expando])return e;var t,n,i,a=e.type,r=e,o=this.fixHooks[a];for(o||(this.fixHooks[a]=o=Ze.test(a)?this.mouseHooks:Qe.test(a)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,e=new fe.Event(r),t=i.length;t--;)e[n=i[t]]=r[n];return e.target||(e.target=r.srcElement||ie),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,o.filter?o.filter(e,r):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,a,r=t.button,o=t.fromElement;return null==e.pageX&&null!=t.clientX&&(a=(i=e.target.ownerDocument||ie).documentElement,n=i.body,e.pageX=t.clientX+(a&&a.scrollLeft||n&&n.scrollLeft||0)-(a&&a.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(a&&a.scrollTop||n&&n.scrollTop||0)-(a&&a.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=o===e.target?t.toElement:o),e.which||r===undefined||(e.which=1&r?1:2&r?3:4&r?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==p()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===p()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(fe.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return fe.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var i=fe.extend(new fe.Event,n,{type:e,isSimulated:!0});fe.event.trigger(i,null,t),i.isDefaultPrevented()&&n.preventDefault()}},fe.removeEvent=ie.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var i="on"+t;e.detachEvent&&("undefined"==typeof e[i]&&(e[i]=null),e.detachEvent(i,n))},fe.Event=function(e,t){if(!(this instanceof fe.Event))return new fe.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===undefined&&!1===e.returnValue?h:f):this.type=e,t&&fe.extend(this,t),this.timeStamp=e&&e.timeStamp||fe.now(),this[fe.expando]=!0},fe.Event.prototype={constructor:fe.Event,isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=h,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=h,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=h,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},fe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,r){fe.event.special[e]={delegateType:r,bindType:r,handle:function(e){var t,n=this,i=e.relatedTarget,a=e.handleObj;return i&&(i===n||fe.contains(n,i))||(e.type=a.origType,t=a.handler.apply(this,arguments),e.type=r),t}}}),ce.submit||(fe.event.special.submit={setup:function(){if(fe.nodeName(this,"form"))return!1;fe.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=fe.nodeName(t,"input")||fe.nodeName(t,"button")?fe.prop(t,"form"):undefined;n&&!fe._data(n,"submit")&&(fe.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),fe._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&fe.event.simulate("submit",this.parentNode,e))},teardown:function(){if(fe.nodeName(this,"form"))return!1;fe.event.remove(this,"._submit")}}),ce.change||(fe.event.special.change={setup:function(){if(Ke.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(fe.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),fe.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),fe.event.simulate("change",this,e)})),!1;fe.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ke.test(t.nodeName)&&!fe._data(t,"change")&&(fe.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||fe.event.simulate("change",this.parentNode,e)}),fe._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return fe.event.remove(this,"._change"),!Ke.test(this.nodeName)}}),ce.focusin||fe.each({focus:"focusin",blur:"focusout"},function(n,i){var a=function(e){fe.event.simulate(i,e.target,fe.event.fix(e))};fe.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=fe._data(e,i);t||e.addEventListener(n,a,!0),fe._data(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=fe._data(e,i)-1;t?fe._data(e,i,t):(e.removeEventListener(n,a,!0),fe._removeData(e,i))}}}),fe.fn.extend({on:function(e,t,n,i){return x(this,e,t,n,i)},one:function(e,t,n,i){return x(this,e,t,n,i,1)},off:function(e,t,n){var i,a;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,fe(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(a in e)this.off(a,t,e[a]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=undefined),!1===n&&(n=f),this.each(function(){fe.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){fe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return fe.event.trigger(e,t,n,!0)}});var nt=/ jQuery\d+="(?:null|\d+)"/g,it=new RegExp("<(?:"+Ye+")[\\s/>]","i"),at=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,rt=/<script|<style|<link/i,ot=/checked\s*(?:[^=]|=\s*.checked.)/i,st=/^true\/(.*)/,lt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ut=g(ie).appendChild(ie.createElement("div"));fe.extend({htmlPrefilter:function(e){return e.replace(at,"<$1></$2>")},clone:function(e,t,n){var i,a,r,o,s,l=fe.contains(e.ownerDocument,e);if(ce.html5Clone||fe.isXMLDoc(e)||!it.test("<"+e.nodeName+">")?r=e.cloneNode(!0):(ut.innerHTML=e.outerHTML,ut.removeChild(r=ut.firstChild)),!(ce.noCloneEvent&&ce.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||fe.isXMLDoc(e)))for(i=v(r),s=v(e),o=0;null!=(a=s[o]);++o)i[o]&&M(a,i[o]);if(t)if(n)for(s=s||v(e),i=i||v(r),o=0;null!=(a=s[o]);o++)C(a,i[o]);else C(e,r);return 0<(i=v(r,"script")).length&&y(i,!l&&v(e,"script")),i=s=a=null,r},cleanData:function(e,t){for(var n,i,a,r,o=0,s=fe.expando,l=fe.cache,u=ce.attributes,d=fe.event.special;null!=(n=e[o]);o++)if((t||Oe(n))&&(r=(a=n[s])&&l[a])){if(r.events)for(i in r.events)d[i]?fe.event.remove(n,i):fe.removeEvent(n,i,r.handle);l[a]&&(delete l[a],u||"undefined"==typeof n.removeAttribute?n[s]=undefined:n.removeAttribute(s),ne.push(a))}}}),fe.fn.extend({domManip:T,detach:function(e){return P(this,e,!0)},remove:function(e){return P(this,e)},text:function(e){return He(this,function(e){return e===undefined?fe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ie).createTextNode(e))},null,e,arguments.length)},append:function(){return T(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||k(this,e).appendChild(e)})},prepend:function(){return T(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return T(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&fe.cleanData(v(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&fe.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return fe.clone(this,e,t)})},html:function(e){return He(this,function(e){var t=this[0]||{},n=0,i=this.length;if(e===undefined)return 1===t.nodeType?t.innerHTML.replace(nt,""):undefined;if("string"==typeof e&&!rt.test(e)&&(ce.htmlSerialize||!it.test(e))&&(ce.leadingWhitespace||!Ue.test(e))&&!Ge[($e.exec(e)||["",""])[1].toLowerCase()]){e=fe.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(fe.cleanData(v(t,!1)),t.innerHTML=e);t=0}catch(a){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return T(this,arguments,function(e){var t=this.parentNode;fe.inArray(this,n)<0&&(fe.cleanData(v(this)),t&&t.replaceChild(e,this))},n)}}),fe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){fe.fn[e]=function(e){for(var t,n=0,i=[],a=fe(e),r=a.length-1;n<=r;n++)t=n===r?this:this.clone(!0),fe(a[n])[o](t),oe.apply(i,t.get());return this.pushStack(i)}});var dt,ct={HTML:"block",BODY:"block"},ht=/^margin/,ft=new RegExp("^("+Re+")(?!px)[a-z%]+$","i"),pt=function(e,t,n,i){var a,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in a=n.apply(e,i||[]),t)e.style[r]=o[r];return a},mt=ie.documentElement;!function(){function e(){var e,t,n=ie.documentElement;n.appendChild(u),d.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i=r=l=!1,a=s=!0,S.getComputedStyle&&(t=S.getComputedStyle(d),i="1%"!==(t||{}).top,l="2px"===(t||{}).marginLeft,r="4px"===(t||{width:"4px"}).width,d.style.marginRight="50%",a="4px"===(t||{marginRight:"4px"}).marginRight,(e=d.appendChild(ie.createElement("div"))).style.cssText=d.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",d.style.width="1px",s=!parseFloat((S.getComputedStyle(e)||{}).marginRight),d.removeChild(e)),d.style.display="none",(o=0===d.getClientRects().length)&&(d.style.display="",d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",d.childNodes[0].style.borderCollapse="separate",(
  e=d.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(o=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",o=0===e[0].offsetHeight)),n.removeChild(u)}var i,a,r,o,s,l,u=ie.createElement("div"),d=ie.createElement("div");d.style&&(d.style.cssText="float:left;opacity:.5",ce.opacity="0.5"===d.style.opacity,ce.cssFloat=!!d.style.cssFloat,d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",ce.clearCloneStyle="content-box"===d.style.backgroundClip,(u=ie.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",d.innerHTML="",u.appendChild(d),ce.boxSizing=""===d.style.boxSizing||""===d.style.MozBoxSizing||""===d.style.WebkitBoxSizing,fe.extend(ce,{reliableHiddenOffsets:function(){return null==i&&e(),o},boxSizingReliable:function(){return null==i&&e(),r},pixelMarginRight:function(){return null==i&&e(),a},pixelPosition:function(){return null==i&&e(),i},reliableMarginRight:function(){return null==i&&e(),s},reliableMarginLeft:function(){return null==i&&e(),l}}))}();var gt,vt,yt=/^(top|right|bottom|left)$/;S.getComputedStyle?(gt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=S),t.getComputedStyle(e)},vt=function(e,t,n){var i,a,r,o,s=e.style;return""!==(o=(n=n||gt(e))?n.getPropertyValue(t)||n[t]:undefined)&&o!==undefined||fe.contains(e.ownerDocument,e)||(o=fe.style(e,t)),n&&!ce.pixelMarginRight()&&ft.test(o)&&ht.test(t)&&(i=s.width,a=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=i,s.minWidth=a,s.maxWidth=r),o===undefined?o:o+""}):mt.currentStyle&&(gt=function(e){return e.currentStyle},vt=function(e,t,n){var i,a,r,o,s=e.style;return null==(o=(n=n||gt(e))?n[t]:undefined)&&s&&s[t]&&(o=s[t]),ft.test(o)&&!yt.test(t)&&(i=s.left,(r=(a=e.runtimeStyle)&&a.left)&&(a.left=e.currentStyle.left),s.left="fontSize"===t?"1em":o,o=s.pixelLeft+"px",s.left=i,r&&(a.left=r)),o===undefined?o:o+""||"auto"});var bt=/alpha\([^)]*\)/i,xt=/opacity\s*=\s*([^)]*)/i,kt=/^(none|table(?!-c[ea]).+)/,wt=new RegExp("^("+Re+")(.*)$","i"),St={position:"absolute",visibility:"hidden",display:"block"},_t={letterSpacing:"0",fontWeight:"400"},Ct=["Webkit","O","Moz","ms"],Mt=ie.createElement("div").style;fe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ce.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,r,o,s=fe.camelCase(t),l=e.style;if(t=fe.cssProps[s]||(fe.cssProps[s]=O(s)||s),o=fe.cssHooks[t]||fe.cssHooks[s],n===undefined)return o&&"get"in o&&(a=o.get(e,!1,i))!==undefined?a:l[t];if("string"===(r=typeof n)&&(a=We.exec(n))&&a[1]&&(n=c(e,t,a),r="number"),null!=n&&n==n&&("number"===r&&(n+=a&&a[3]||(fe.cssNumber[s]?"":"px")),ce.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(o&&"set"in o&&(n=o.set(e,n,i))===undefined)))try{l[t]=n}catch(u){}}},css:function(e,t,n,i){var a,r,o,s=fe.camelCase(t);return t=fe.cssProps[s]||(fe.cssProps[s]=O(s)||s),(o=fe.cssHooks[t]||fe.cssHooks[s])&&"get"in o&&(r=o.get(e,!0,n)),r===undefined&&(r=vt(e,t,i)),"normal"===r&&t in _t&&(r=_t[t]),""===n||n?(a=parseFloat(r),!0===n||isFinite(a)?a||0:r):r}}),fe.each(["height","width"],function(e,a){fe.cssHooks[a]={get:function(e,t,n){if(t)return kt.test(fe.css(e,"display"))&&0===e.offsetWidth?pt(e,St,function(){return L(e,a,n)}):L(e,a,n)},set:function(e,t,n){var i=n&&gt(e);return F(e,t,n?I(e,a,n,ce.boxSizing&&"border-box"===fe.css(e,"boxSizing",!1,i),i):0)}}}),ce.opacity||(fe.cssHooks.opacity={get:function(e,t){return xt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,a=fe.isNumeric(t)?"alpha(opacity="+100*t+")":"",r=i&&i.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===fe.trim(r.replace(bt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=bt.test(r)?r.replace(bt,a):r+" "+a)}}),fe.cssHooks.marginRight=E(ce.reliableMarginRight,function(e,t){if(t)return pt(e,{display:"inline-block"},vt,[e,"marginRight"])}),fe.cssHooks.marginLeft=E(ce.reliableMarginLeft,function(e,t){if(t)return(parseFloat(vt(e,"marginLeft"))||(fe.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-pt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),fe.each({margin:"",padding:"",border:"Width"},function(a,r){fe.cssHooks[a+r]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[a+ze[t]+r]=i[t]||i[t-2]||i[0];return n}},ht.test(a)||(fe.cssHooks[a+r].set=F)}),fe.fn.extend({css:function(e,t){return He(this,function(e,t,n){var i,a,r={},o=0;if(fe.isArray(t)){for(i=gt(e),a=t.length;o<a;o++)r[t[o]]=fe.css(e,t[o],!1,i);return r}return n!==undefined?fe.style(e,t,n):fe.css(e,t)},e,t,1<arguments.length)},show:function(){return A(this,!0)},hide:function(){return A(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){qe(this)?fe(this).show():fe(this).hide()})}}),(fe.Tween=N).prototype={constructor:N,init:function(e,t,n,i,a,r){this.elem=e,this.prop=n,this.easing=a||fe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(fe.cssNumber[n]?"":"px")},cur:function(){var e=N.propHooks[this.prop];return e&&e.get?e.get(this):N.propHooks._default.get(this)},run:function(e){var t,n=N.propHooks[this.prop];return this.options.duration?this.pos=t=fe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=fe.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){fe.fx.step[e.prop]?fe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[fe.cssProps[e.prop]]&&!fe.cssHooks[e.prop]?e.elem[e.prop]=e.now:fe.style(e.elem,e.prop,e.now+e.unit)}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},fe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},fe.fx=N.prototype.init,fe.fx.step={};var Tt,Pt,Dt,jt,Et,Ot,At,Ft=/^(?:toggle|show|hide)$/,It=/queueHooks$/;fe.Animation=fe.extend(B,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return c(n.elem,e,We.exec(t),n),n}]},tweener:function(e,t){fe.isFunction(e)?(t=e,e=["*"]):e=e.match(je);for(var n,i=0,a=e.length;i<a;i++)n=e[i],B.tweeners[n]=B.tweeners[n]||[],B.tweeners[n].unshift(t)},prefilters:[q],prefilter:function(e,t){t?B.prefilters.unshift(e):B.prefilters.push(e)}}),fe.speed=function(e,t,n){var i=e&&"object"==typeof e?fe.extend({},e):{complete:n||!n&&t||fe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!fe.isFunction(t)&&t};return i.duration=fe.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in fe.fx.speeds?fe.fx.speeds[i.duration]:fe.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){fe.isFunction(i.old)&&i.old.call(this),i.queue&&fe.dequeue(this,i.queue)},i},fe.fn.extend({fadeTo:function(e,t,n,i){return this.filter(qe).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){var a=fe.isEmptyObject(t),r=fe.speed(e,n,i),o=function(){var e=B(this,fe.extend({},t),r);(a||fe._data(this,"finish"))&&e.stop(!0)};return o.finish=o,a||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(a,e,r){var o=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof a&&(r=e,e=a,a=undefined),e&&!1!==a&&this.queue(a||"fx",[]),this.each(function(){var e=!0,t=null!=a&&a+"queueHooks",n=fe.timers,i=fe._data(this);if(t)i[t]&&i[t].stop&&o(i[t]);else for(t in i)i[t]&&i[t].stop&&It.test(t)&&o(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=a&&n[t].queue!==a||(n[t].anim.stop(r),e=!1,n.splice(t,1));!e&&r||fe.dequeue(this,a)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var e,t=fe._data(this),n=t[o+"queue"],i=t[o+"queueHooks"],a=fe.timers,r=n?n.length:0;for(t.finish=!0,fe.queue(this,o,[]),i&&i.stop&&i.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===o&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;e<r;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),fe.each(["toggle","show","hide"],function(e,i){var a=fe.fn[i];fe.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?a.apply(this,arguments):this.animate(W(i,!0),e,t,n)}}),fe.each({slideDown:W("show"),slideUp:W("hide"),slideToggle:W("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){fe.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),fe.timers=[],fe.fx.tick=function(){var e,t=fe.timers,n=0;for(Tt=fe.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||fe.fx.stop(),Tt=undefined},fe.fx.timer=function(e){fe.timers.push(e),e()?fe.fx.start():fe.timers.pop()},fe.fx.interval=13,fe.fx.start=function(){Pt||(Pt=S.setInterval(fe.fx.tick,fe.fx.interval))},fe.fx.stop=function(){S.clearInterval(Pt),Pt=null},fe.fx.speeds={slow:600,fast:200,_default:400},fe.fn.delay=function(i,e){return i=fe.fx&&fe.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=S.setTimeout(e,i);t.stop=function(){S.clearTimeout(n)}})},jt=ie.createElement("input"),Et=ie.createElement("div"),Ot=ie.createElement("select"),At=Ot.appendChild(ie.createElement("option")),(Et=ie.createElement("div")).setAttribute("className","t"),Et.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",Dt=Et.getElementsByTagName("a")[0],jt.setAttribute("type","checkbox"),Et.appendChild(jt),(Dt=Et.getElementsByTagName("a")[0]).style.cssText="top:1px",ce.getSetAttribute="t"!==Et.className,ce.style=/top/.test(Dt.getAttribute("style")),ce.hrefNormalized="/a"===Dt.getAttribute("href"),ce.checkOn=!!jt.value,ce.optSelected=At.selected,ce.enctype=!!ie.createElement("form").enctype,Ot.disabled=!0,ce.optDisabled=!At.disabled,(jt=ie.createElement("input")).setAttribute("value",""),ce.input=""===jt.getAttribute("value"),jt.value="t",jt.setAttribute("type","radio"),ce.radioValue="t"===jt.value;var Lt=/\r/g,Nt=/[\x20\t\r\n\f]+/g;fe.fn.extend({val:function(n){var i,e,a,t=this[0];return arguments.length?(a=fe.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=a?n.call(this,e,fe(this).val()):n)?t="":"number"==typeof t?t+="":fe.isArray(t)&&(t=fe.map(t,function(e){return null==e?"":e+""})),(i=fe.valHooks[this.type]||fe.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,t,"value")!==undefined||(this.value=t))})):t?(i=fe.valHooks[t.type]||fe.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&(e=i.get(t,"value"))!==undefined?e:"string"==typeof(e=t.value)?e.replace(Lt,""):null==e?"":e:void 0}}),fe.extend({valHooks:{option:{get:function(e){var t=fe.find.attr(e,"value");return null!=t?t:fe.trim(fe.text(e)).replace(Nt," ")}},select:{get:function(e){for(var t,n,i=e.options,a=e.selectedIndex,r="select-one"===e.type||a<0,o=r?null:[],s=r?a+1:i.length,l=a<0?s:r?a:0;l<s;l++)if(((n=i[l]).selected||l===a)&&(ce.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!fe.nodeName(n.parentNode,"optgroup"))){if(t=fe(n).val(),r)return t;o.push(t)}return o},set:function(e,t){for(var n,i,a=e.options,r=fe.makeArray(t),o=a.length;o--;)if(i=a[o],-1<fe.inArray(fe.valHooks.option.get(i),r))try{i.selected=n=!0}catch(s){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),a}}}}),fe.each(["radio","checkbox"],function(){fe.valHooks[this]={set:function(e,t){if(fe.isArray(t))return e.checked=-1<fe.inArray(fe(e).val(),t)}},ce.checkOn||(fe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Rt,Wt,zt=fe.expr.attrHandle,qt=/^(?:checked|selected)$/i,Ht=ce.getSetAttribute,Bt=ce.input;fe.fn.extend({attr:function(e,t){return He(this,fe.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){fe.removeAttr(this,e)})}}),fe.extend({attr:function(e,t,n){var i,a,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof e.getAttribute?fe.prop(e,t,n):(1===r&&fe.isXMLDoc(e)||(t=t.toLowerCase(),a=fe.attrHooks[t]||(fe.expr.match.bool.test(t)?Wt:Rt)),n!==undefined?null===n?void fe.removeAttr(e,t):a&&"set"in a&&(i=a.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(i=a.get(e,t))?i:null==(i=fe.find.attr(e,t))?undefined:i)},attrHooks:{type:{set:function(e,t){if(!ce.radioValue&&"radio"===t&&fe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,a=0,r=t&&t.match(je);if(r&&1===e.nodeType)for(;n=r[a++];)i=fe.propFix[n]||n,fe.expr.match.bool.test(n)?Bt&&Ht||!qt.test(n)?e[i]=!1:e[fe.camelCase("default-"+n)]=e[i]=!1:fe.attr(e,n,""),e.removeAttribute(Ht?n:i)}}),Wt={set:function(e,t,n){return!1===t?fe.removeAttr(e,n):Bt&&Ht||!qt.test(n)?e.setAttribute(!Ht&&fe.propFix[n]||n,n):e[fe.camelCase("default-"+n)]=e[n]=!0,n}},fe.each(fe.expr.match.bool.source.match(/\w+/g),function(e,t){var r=zt[t]||fe.find.attr;Bt&&Ht||!qt.test(t)?zt[t]=function(e,t,n){var i,a;return n||(a=zt[t],zt[t]=i,i=null!=r(e,t,n)?t.toLowerCase():null,zt[t]=a),i}:zt[t]=function(e,t,n){if(!n)return e[fe.camelCase("default-"+t)]?t.toLowerCase():null}}),Bt&&Ht||(fe.attrHooks.value={set:function(e,t,n){if(!fe.nodeName(e,"input"))return Rt&&Rt.set(e,t,n);e.defaultValue=t}}),Ht||(Rt={set:function(e,t,n){var i=e.getAttributeNode(n);if(i||e.setAttributeNode(i=e.ownerDocument.createAttribute(n)),i.value=t+="","value"===n||t===e.getAttribute(n))return t}},zt.id=zt.name=zt.coords=function(e,t,n){var i;if(!n)return(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},fe.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Rt.set},fe.attrHooks.contenteditable={set:function(e,t,n){Rt.set(e,""!==t&&t,n)}},fe.each(["width","height"],function(e,n){fe.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),ce.style||(fe.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,t){return e.style.cssText=t+""}});var $t=/^(?:input|select|textarea|button|object)$/i,Vt=/^(?:a|area)$/i;fe.fn.extend({prop:function(e,t){return He(this,fe.prop,e,t,1<arguments.length)},removeProp:function(t){return t=fe.propFix[t]||t,this.each(function(){try{this[t]=undefined,delete this[t]}catch(e){}})}}),fe.extend({prop:function(e,t,n){var i,a,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&fe.isXMLDoc(e)||(t=fe.propFix[t]||t,a=fe.propHooks[t]),n!==undefined?a&&"set"in a&&(i=a.set(e,n,t))!==undefined?i:e[t]=n:a&&"get"in a&&null!==(i=a.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=fe.find.attr(e,"tabindex");return t?parseInt(t,10):$t.test(e.nodeName)||Vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ce.hrefNormalized||fe.each(["href","src"],function(e,t){fe.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ce.optSelected||(fe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),fe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){fe.propFix[this.toLowerCase()]=this}),ce.enctype||(fe.propFix.enctype="encoding");var Ut=/[\t\r\n\f]/g;fe.fn.extend({addClass:function(t){var e,n,i,a,r,o,s,l=0;if(fe.isFunction(t))return this.each(function(e){fe(this).addClass(t.call(this,e,$(this)))});if("string"==typeof t&&t)for(e=t.match(je)||[];n=this[l++];)if(a=$(n),i=1===n.nodeType&&(" "+a+" ").replace(Ut," ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a!==(s=fe.trim(i))&&fe.attr(n,"class",s)}return this},removeClass:function(t){var e,n,i,a,r,o,s,l=0;if(fe.isFunction(t))return this.each(function(e){fe(this).removeClass(t.call(this,e,$(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(je)||[];n=this[l++];)if(a=$(n),i=1===n.nodeType&&(" "+a+" ").replace(Ut," ")){for(o=0;r=e[o++];)for(;-1<i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");a!==(s=fe.trim(i))&&fe.attr(n,"class",s)}return this},toggleClass:function(a,t){var r=typeof a;return"boolean"==typeof t&&"string"===r?t?this.addClass(a):this.removeClass(a):fe.isFunction(a)?this.each(function(e){fe(this).toggleClass(a.call(this,e,$(this),t),t)}):this.each(function(){var e,t,n,i;if("string"===r)for(t=0,n=fe(this),i=a.match(je)||[];e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else a!==undefined&&"boolean"!==r||((e=$(this))&&fe._data(this,"__className__",e),fe.attr(this,"class",e||!1===a?"":fe._data(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+$(n)+" ").replace(Ut," ").indexOf(t))return!0;return!1}}),fe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){fe.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),fe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Yt=S.location,Gt=fe.now(),Jt=/\?/,Xt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;fe.parseJSON=function(e){if(S.JSON&&S.JSON.parse)return S.JSON.parse(e+"");var a,r=null,t=fe.trim(e+"");return t&&!fe.trim(t.replace(Xt,function(e,t,n,i){return a&&t&&(r=0),0===r?e:(a=n||t,r+=!i-!n,"")}))?Function("return "+t)():fe.error("Invalid JSON: "+e)},fe.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{S.DOMParser?t=(new S.DOMParser).parseFromString(e,"text/xml"):((t=new S.ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(n){t=undefined}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||fe.error("Invalid XML: "+e),t};var Kt=/#.*$/,Qt=/([?&])_=[^&]*/,Zt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,en=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,tn=/^(?:GET|HEAD)$/,nn=/^\/\//,an=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,rn={},on={},sn="*/".concat("*"),ln=Yt.href,un=an.exec(ln.toLowerCase())||[];fe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ln,type:"GET",isLocal:en.test(un[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":sn,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":fe.parseJSON,"text xml":fe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Y(Y(e,fe.ajaxSettings),t):Y(fe.ajaxSettings,e)},ajaxPrefilter:V(rn),ajaxTransport:V(on),ajax:function(e,t){function n(e,t,n,i){var a,r,o,s,l,u=t;2!==k&&(k=2,h&&S.clearTimeout(h),p=undefined,c=i||"",w.readyState=0<e?4:0,a=200<=e&&e<300||304===e,n&&(s=G(m,w,n)),s=J(m,s,w,a),a?(m.ifModified&&((l=w.getResponseHeader("Last-Modified"))&&(fe.lastModified[d]=l),(l=w.getResponseHeader("etag"))&&(fe.etag[d]=l)),204===e||"HEAD"===m.type?u="nocontent":304===e?u="notmodified":(u=s.state,r=s.data,a=!(o=s.error))):(o=u,!e&&u||(u="error",e<0&&(e=0))),w.status=e,w.statusText=(t||u)+"",a?y.resolveWith(g,[r,u,w]):y.rejectWith(g,[w,u,o]),w.statusCode(x),x=undefined,f&&v.trigger(a?"ajaxSuccess":"ajaxError",[w,m,a?r:o]),b.fireWith(g,[w,u]),f&&(v.trigger("ajaxComplete",[w,m]),--fe.active||fe.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=undefined),t=t||{};var i,a,d,c,h,f,p,r,m=fe.ajaxSetup({},t),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?fe(g):fe.event,y=fe.Deferred(),b=fe.Callbacks("once memory"),x=m.statusCode||{},o={},s={},k=0,l="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===k){if(!r)for(r={};t=Zt.exec(c);)r[t[1].toLowerCase()]=t[2];t=r[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===k?c:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return k||(e=s[n]=s[n]||e,o[e]=t),this},overrideMimeType:function(e){return k||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(k<2)for(t in e)x[t]=[x[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||l;return p&&p.abort(t),n(0,t),this}};if(y.promise(w).complete=b.add,w.success=w.done,w.error=w.fail,m.url=((e||m.url||ln)+"").replace(Kt,"").replace(nn,un[1]+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=fe.trim(m.dataType||"*").toLowerCase().match(je)||[""],null==m.crossDomain&&(i=an.exec(m.url.toLowerCase()),m.crossDomain=!(!i||i[1]===un[1]&&i[2]===un[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(un[3]||("http:"===un[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=fe.param(m.data,m.traditional)),U(rn,m,t,w),2===k)return w;for(a in(f=fe.event&&m.global)&&0==fe.active++&&fe.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!tn.test(m.type),d=m.url,m.hasContent||(m.data&&(d=m.url+=(Jt.test(d)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=Qt.test(d)?d.replace(Qt,"$1_="+Gt++):d+(Jt.test(d)?"&":"?")+"_="+Gt++)),m.ifModified&&(fe.lastModified[d]&&w.setRequestHeader("If-Modified-Since",fe.lastModified[d]),fe.etag[d]&&w.setRequestHeader("If-None-Match",fe.etag[d])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&w.setRequestHeader("Content-Type",m.contentType),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+sn+"; q=0.01":""):m.accepts["*"]),m.headers)w.setRequestHeader(a,m.headers[a]);if(m.beforeSend&&(!1===m.beforeSend.call(g,w,m)||2===k))return w.abort();for(a in l="abort",{success:1,error:1,complete:1})w[a](m[a]);if(p=U(on,m,t,w)){if(w.readyState=1,f&&v.trigger("ajaxSend",[w,m]),2===k)return w;m.async&&0<m.timeout&&(h=S.setTimeout(function(){w.abort("timeout")},m.timeout));try{k=1,p.send(o,n)}catch(u){if(!(k<2))throw u;n(-1,u)}}else n(-1,"No Transport");return w},getJSON:function(e,t,n){return fe.get(e,t,n,"json")},getScript:function(e,t){return fe.get(e,undefined,t,"script")}}),fe.each(["get","post"],function(e,a){fe[a]=function(e,t,n,i){return fe.isFunction(t)&&(i=i||n,n=t,t=undefined),fe.ajax(fe.extend({url:e,type:a,dataType:i,data:t,success:n},fe.isPlainObject(e)&&e))}}),fe._evalUrl=function(e){return fe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},fe.fn.extend({wrapAll:function(t){if(fe.isFunction(t))return this.each(function(e){fe(this).wrapAll(t.call(this,e))});if(this[0]){var e=fe(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return fe.isFunction(n)?this.each(function(e){fe(this).wrapInner(n.call(this,e))}):this.each(function(){var e=fe(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=fe.isFunction(t);return this.each(function(e){fe(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){fe.nodeName(this,"body")||fe(this).replaceWith(this.childNodes)}).end()}}),fe.expr.filters.hidden=function(e){return ce.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:K(e)},fe.expr.filters.visible=function(e){return!fe.expr.filters.hidden(e)};var dn=/%20/g,cn=/\[\]$/,hn=/\r?\n/g,fn=/^(?:submit|button|image|reset|file)$/i,pn=/^(?:input|select|textarea|keygen)/i;fe.param=function(e,t){var n,i=[],a=function(e,t){t=fe.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===undefined&&(t=fe.ajaxSettings&&fe.ajaxSettings.traditional),fe.isArray(e)||e.jquery&&!fe.isPlainObject(e))fe.each(e,function(){a(this.name,this.value)});else for(n in e)Q(n,e[n],t,a);return i.join("&").replace(dn,"+")},fe.fn.extend({serialize:function(){return fe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=fe.prop(this,"elements");return e?fe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!fe(this).is(":disabled")&&pn.test(this.nodeName)&&!fn.test(e)&&(this.checked||!Be.test(e))}).map(function(e,t){var n=fe(this).val();return null==n?null:fe.isArray(n)?fe.map(n,function(e){return{name:t.name,value:e.replace(hn,"\r\n")}}):{name:t.name,value:n.replace(hn,"\r\n")}}).get()}}),fe.ajaxSettings.xhr=S.ActiveXObject!==undefined?function(){return this.isLocal?ee():8<ie.documentMode?Z():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||ee()}:Z;var mn=0,gn={},vn=fe.ajaxSettings.xhr();S.attachEvent&&S.attachEvent("onunload",function(){for(var e in gn)gn[e](undefined,!0)}),ce.cors=!!vn&&"withCredentials"in vn,(vn=ce.ajax=!!vn)&&fe.ajaxTransport(function(u){var d;if(!u.crossDomain||ce.cors)return{send:function(e,o){var t,s=u.xhr(),l=++mn;if(s.open(u.type,u.url,u.async,u.username,u.password),u.xhrFields)for(t in u.xhrFields)s[t]=u.xhrFields[t];for(t in u.mimeType&&s.overrideMimeType&&s.overrideMimeType(u.mimeType),u.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)e[t]!==undefined&&s.setRequestHeader(t,e[t]+"");s.send(u.hasContent&&u.data||null),d=function(e,t){var n,i,a;if(d&&(t||4===s.readyState))if(delete gn[l],d=undefined,s.onreadystatechange=fe.noop,t)4!==s.readyState&&s.abort();else{a={},n=s.status,"string"==typeof s.responseText&&(a.text=s.responseText);try{i=s.statusText}catch(r){i=""}n||!u.isLocal||u.crossDomain?1223===n&&(n=204):n=a.text?200:404}a&&o(n,i,a,s.getAllResponseHeaders())},u.async?4===s.readyState?S.setTimeout(d):s.onreadystatechange=gn[l]=d:d()},abort:function(){d&&d(undefined,!0)}}}),fe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return fe.globalEval(e),e}}}),fe.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),fe.ajaxTransport("script",function(t){if(t.crossDomain){var i,a=ie.head||fe("head")[0]||ie.documentElement;return{send:function(e,n){(i=ie.createElement("script")).async=!0,t.scriptCharset&&(i.charset=t.scriptCharset),i.src=t.url,i.onload=i.onreadystatechange=function(e,t){(t||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,t||n(200,"success"))},a.insertBefore(i,a.firstChild)},abort:function(){i&&i.onload(undefined,!0)}}}});var yn=[],bn=/(=)\?(?=&|$)|\?\?/;fe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=yn.pop()||fe.expando+"_"+Gt++;return this[e]=!0,e}}),fe.ajaxPrefilter("json jsonp",function(e,t,n){var i,a,r,o=!1!==e.jsonp&&(bn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&bn.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=fe.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(bn,"$1"+i):!1!==e.jsonp&&(e.url+=(Jt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return r||fe.error(i+" was not called"),r[0]},e.dataTypes[0]="json",a=S[i],S[i]=function(){r=arguments},n.always(function(){a===undefined?fe(S).removeProp(i):S[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,yn.push(i)),r&&fe.isFunction(a)&&a(r[0]),r=a=undefined}),"script"}),fe.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||ie;var i=we.exec(e),a=!n&&[];return i?[t.createElement(i[1])]:(i=m([e],t,a),a&&a.length&&fe(a).remove(),fe.merge([],i.childNodes))};var xn=fe.fn.load;fe.fn.load=function(e,t,n){if("string"!=typeof e&&xn)return xn.apply(this,arguments);var i,a,r,o=this,s=e.indexOf(" ");return-1<s&&(i=fe.trim(e.slice(s,e.length)),e=e.slice(0,s)),fe.isFunction(t)?(n=t,t=undefined):t&&"object"==typeof t&&(a="POST"),0<o.length&&fe.ajax({url:e,type:a||"GET",dataType:"html",data:t}).done(function(e){r=arguments,o.html(i?fe("<div>").append(fe.parseHTML(e)).find(i):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},fe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){fe.fn[t]=function(e){return this.on(t,e)}}),fe.expr.filters.animated=function(t){return fe.grep(fe.timers,function(e){return t===e.elem}).length},fe.offset={setOffset:function(e,t,n){var i,a,r,o,s,l,u=fe.css(e,"position"),d=fe(e),c={};"static"===u&&(e.style.position="relative"),s=d.offset(),r=fe.css(e,"top"),l=fe.css(e,"left"),("absolute"===u||"fixed"===u)&&-1<fe.inArray("auto",[r,l])?(o=(i=d.position()).top,a=i.left):(o=parseFloat(r)||0,a=parseFloat(l)||0),fe.isFunction(t)&&(t=t.call(e,n,fe.extend({},s))),null!=t.top&&(c.top=t.top-s.top+o),null!=t.left&&(c.left=t.left-s.left+a),"using"in t?t.using.call(e,c):d.css(c)}},fe.fn.extend({offset:function(t){if(arguments.length)return t===undefined?this:this.each(function(e){fe.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},a=this[0],r=a&&a.ownerDocument;return r?(e=r.documentElement,fe.contains(e,a)?("undefined"!=typeof a.getBoundingClientRect&&(i=a.getBoundingClientRect()),n=te(r),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===fe.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),fe.nodeName(e[0],"html")||(n=e.offset()),n.top+=fe.css(e[0],"borderTopWidth",!0),n.left+=fe.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-fe.css(i,"marginTop",!0),left:t.left-n.left-fe.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!fe.nodeName(e,"html")&&"static"===fe.css(e,"position");)e=e.offsetParent;return e||mt})}}),fe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,a){var r=/Y/.test(a);fe.fn[t]=function(e){return He(this,function(e,t,n){var i=te(e);if(n===undefined)return i?a in i?i[a]:i.document.documentElement[t]:e[t];i?i.scrollTo(r?fe(i).scrollLeft():n,r?n:fe(i).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),fe.each(["top","left"],function(e,n){fe.cssHooks[n]=E(ce.pixelPosition,function(e,t){if(t)return t=vt(e,n),ft.test(t)?fe(e).position()[n]+"px":t})}),fe.each({Height:"height",Width:"width"},function(r,o){fe.each({padding:"inner"+r,content:o,"":"outer"+r},function(i,e){fe.fn[e]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),a=i||(!0===e||!0===t?"margin":"border");return He(this,function(e,t,n){var i;return fe.isWindow(e)?e.document.documentElement["client"+r]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+r],i["scroll"+r],e.body["offset"+r],i["offset"+r],i["client"+r])):n===undefined?fe.css(e,t,a):fe.style(e,t,n,a)},o,n?e:undefined,n,null)}})}),fe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),fe.fn.size=function(){return this.length},fe.fn.andSelf=fe.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return fe});var kn=S.jQuery,wn=S.$;return fe.noConflict=function(e){return S.$===fe&&(S.$=wn),e&&S.jQuery===fe&&(S.jQuery=kn),fe},e||(S.jQuery=S.$=fe),fe}),function(d,l){"use strict";var u;d.rails!==l&&d.error("jquery-ujs has already been loaded!");var e=d(document);d.rails=u={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",
  inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return d("meta[name=csrf-token]").attr("content")},csrfParam:function(){return d("meta[name=csrf-param]").attr("content")},CSRFProtection:function(e){var t=u.csrfToken();t&&e.setRequestHeader("X-CSRF-Token",t)},refreshCSRFTokens:function(){d('form input[name="'+u.csrfParam()+'"]').val(u.csrfToken())},fire:function(e,t,n){var i=d.Event(t);return e.trigger(i,n),!1!==i.result},confirm:function(e){return confirm(e)},ajax:function(e){return d.ajax(e)},href:function(e){return e[0].href},isRemote:function(e){return e.data("remote")!==l&&!1!==e.data("remote")},handleRemote:function(i){var e,t,n,a,r,o;if(u.fire(i,"ajax:before")){if(a=i.data("with-credentials")||null,r=i.data("type")||d.ajaxSettings&&d.ajaxSettings.dataType,i.is("form")){e=i.data("ujs:submit-button-formmethod")||i.attr("method"),t=i.data("ujs:submit-button-formaction")||i.attr("action"),n=d(i[0]).serializeArray();var s=i.data("ujs:submit-button");s&&(n.push(s),i.data("ujs:submit-button",null)),i.data("ujs:submit-button-formmethod",null),i.data("ujs:submit-button-formaction",null)}else i.is(u.inputChangeSelector)?(e=i.data("method"),t=i.data("url"),n=i.serialize(),i.data("params")&&(n=n+"&"+i.data("params"))):i.is(u.buttonClickSelector)?(e=i.data("method")||"get",t=i.data("url"),n=i.serialize(),i.data("params")&&(n=n+"&"+i.data("params"))):(e=i.data("method"),t=u.href(i),n=i.data("params")||null);return o={type:e||"GET",data:n,dataType:r,beforeSend:function(e,t){if(t.dataType===l&&e.setRequestHeader("accept","*/*;q=0.5, "+t.accepts.script),!u.fire(i,"ajax:beforeSend",[e,t]))return!1;i.trigger("ajax:send",e)},success:function(e,t,n){i.trigger("ajax:success",[e,t,n])},complete:function(e,t){i.trigger("ajax:complete",[e,t])},error:function(e,t,n){i.trigger("ajax:error",[e,t,n])},crossDomain:u.isCrossDomain(t)},a&&(o.xhrFields={withCredentials:a}),t&&(o.url=t),u.ajax(o)}return!1},isCrossDomain:function(e){var t=document.createElement("a");t.href=location.href;var n=document.createElement("a");try{return n.href=e,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||t.protocol+"//"+t.host==n.protocol+"//"+n.host)}catch(i){return!0}},handleMethod:function(e){var t=u.href(e),n=e.data("method"),i=e.attr("target"),a=u.csrfToken(),r=u.csrfParam(),o=d('<form method="post" action="'+t+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';r===l||a===l||u.isCrossDomain(t)||(s+='<input name="'+r+'" value="'+a+'" type="hidden" />'),i&&o.attr("target",i),o.hide().append(s).appendTo("body"),o.submit()},formElements:function(e,t){return e.is("form")?d(e[0].elements).filter(t):e.find(t)},disableFormElements:function(e){u.formElements(e,u.disableSelector).each(function(){u.disableFormElement(d(this))})},disableFormElement:function(e){var t,n;t=e.is("button")?"html":"val",(n=e.data("disable-with"))!==l&&(e.data("ujs:enable-with",e[t]()),e[t](n)),e.prop("disabled",!0),e.data("ujs:disabled",!0)},enableFormElements:function(e){u.formElements(e,u.enableSelector).each(function(){u.enableFormElement(d(this))})},enableFormElement:function(e){var t=e.is("button")?"html":"val";e.data("ujs:enable-with")!==l&&(e[t](e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.prop("disabled",!1),e.removeData("ujs:disabled")},allowAction:function(e){var t,n=e.data("confirm"),i=!1;if(!n)return!0;if(u.fire(e,"confirm")){try{i=u.confirm(n)}catch(a){(console.error||console.log).call(console,a.stack||a)}t=u.fire(e,"confirm:complete",[i])}return i&&t},blankInputs:function(e,t,n){var i,a,r,o=d(),s=t||"input,textarea",l=e.find(s),u={};return l.each(function(){(i=d(this)).is("input[type=radio]")?(r=i.attr("name"),u[r]||(0===e.find('input[type=radio]:checked[name="'+r+'"]').length&&(a=e.find('input[type=radio][name="'+r+'"]'),o=o.add(a)),u[r]=r)):(i.is("input[type=checkbox],input[type=radio]")?i.is(":checked"):!!i.val())===n&&(o=o.add(i))}),!!o.length&&o},nonBlankInputs:function(e,t){return u.blankInputs(e,t,!0)},stopEverything:function(e){return d(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(e){var t=e.data("disable-with");t!==l&&(e.data("ujs:enable-with",e.html()),e.html(t)),e.bind("click.railsDisable",function(e){return u.stopEverything(e)}),e.data("ujs:disabled",!0)},enableElement:function(e){e.data("ujs:enable-with")!==l&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable"),e.removeData("ujs:disabled")}},u.fire(e,"rails:attachBindings")&&(d.ajaxPrefilter(function(e,t,n){e.crossDomain||u.CSRFProtection(n)}),d(window).on("pageshow.rails",function(){d(d.rails.enableSelector).each(function(){var e=d(this);e.data("ujs:disabled")&&d.rails.enableFormElement(e)}),d(d.rails.linkDisableSelector).each(function(){var e=d(this);e.data("ujs:disabled")&&d.rails.enableElement(e)})}),e.on("ajax:complete",u.linkDisableSelector,function(){u.enableElement(d(this))}),e.on("ajax:complete",u.buttonDisableSelector,function(){u.enableFormElement(d(this))}),e.on("click.rails",u.linkClickSelector,function(e){var t=d(this),n=t.data("method"),i=t.data("params"),a=e.metaKey||e.ctrlKey;if(!u.allowAction(t))return u.stopEverything(e);if(!a&&t.is(u.linkDisableSelector)&&u.disableElement(t),u.isRemote(t)){if(a&&(!n||"GET"===n)&&!i)return!0;var r=u.handleRemote(t);return!1===r?u.enableElement(t):r.fail(function(){u.enableElement(t)}),!1}return n?(u.handleMethod(t),!1):void 0}),e.on("click.rails",u.buttonClickSelector,function(e){var t=d(this);if(!u.allowAction(t)||!u.isRemote(t))return u.stopEverything(e);t.is(u.buttonDisableSelector)&&u.disableFormElement(t);var n=u.handleRemote(t);return!1===n?u.enableFormElement(t):n.fail(function(){u.enableFormElement(t)}),!1}),e.on("change.rails",u.inputChangeSelector,function(e){var t=d(this);return u.allowAction(t)&&u.isRemote(t)?(u.handleRemote(t),!1):u.stopEverything(e)}),e.on("submit.rails",u.formSubmitSelector,function(e){var t,n,i=d(this),a=u.isRemote(i);if(!u.allowAction(i))return u.stopEverything(e);if(i.attr("novalidate")===l)if(i.data("ujs:formnovalidate-button")===l){if((t=u.blankInputs(i,u.requiredInputSelector,!1))&&u.fire(i,"ajax:aborted:required",[t]))return u.stopEverything(e)}else i.data("ujs:formnovalidate-button",l);if(a){if(n=u.nonBlankInputs(i,u.fileInputSelector)){setTimeout(function(){u.disableFormElements(i)},13);var r=u.fire(i,"ajax:aborted:file",[n]);return r||setTimeout(function(){u.enableFormElements(i)},13),r}return u.handleRemote(i),!1}setTimeout(function(){u.disableFormElements(i)},13)}),e.on("click.rails",u.formInputClickSelector,function(e){var t=d(this);if(!u.allowAction(t))return u.stopEverything(e);var n=t.attr("name"),i=n?{name:n,value:t.val()}:null,a=t.closest("form");0===a.length&&(a=d("#"+t.attr("form"))),a.data("ujs:submit-button",i),a.data("ujs:formnovalidate-button",t.attr("formnovalidate")),a.data("ujs:submit-button-formaction",t.attr("formaction")),a.data("ujs:submit-button-formmethod",t.attr("formmethod"))}),e.on("ajax:send.rails",u.formSubmitSelector,function(e){this===e.target&&u.disableFormElements(d(this))}),e.on("ajax:complete.rails",u.formSubmitSelector,function(e){this===e.target&&u.enableFormElements(d(this))}),d(function(){u.refreshCSRFTokens()}))}(jQuery),function(e){var t=!1;if("function"==typeof define&&define.amd&&(define(e),t=!0),"object"==typeof exports&&(module.exports=e(),t=!0),!t){var n=window.Cookies,i=window.Cookies=e();i.noConflict=function(){return window.Cookies=n,i}}}(function(){function g(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function e(p){function m(e,t,n){var i;if("undefined"!=typeof document){if(1<arguments.length){if("number"==typeof(n=g({path:"/"},m.defaults,n)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*n.expires),n.expires=a}n.expires=n.expires?n.expires.toUTCString():"";try{i=JSON.stringify(t),/^[\{\[]/.test(i)&&(t=i)}catch(f){}t=p.write?p.write(t,e):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var r="";for(var o in n)n[o]&&(r+="; "+o,!0!==n[o]&&(r+="="+n[o]));return document.cookie=e+"="+t+r}e||(i={});for(var s=document.cookie?document.cookie.split("; "):[],l=/(%[0-9A-Z]{2})+/g,u=0;u<s.length;u++){var d=s[u].split("="),c=d.slice(1).join("=");this.json||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var h=d[0].replace(l,decodeURIComponent);if(c=p.read?p.read(c,h):p(c,h)||c.replace(l,decodeURIComponent),this.json)try{c=JSON.parse(c)}catch(f){}if(e===h){i=c;break}e||(i[h]=c)}catch(f){}}return i}}return(m.set=m).get=function(e){return m.call(m,e)},m.getJSON=function(){return m.apply({json:!0},[].slice.call(arguments))},m.defaults={},m.remove=function(e,t){m(e,"",g(t,{expires:-1}))},m.withConverter=e,m}return e(function(){})}),function(A){"use strict";function n(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),A(this).ajaxSubmit(t))}function i(e){var t=e.target,n=A(t);if(!n.is(":submit,input:image")){var i=n.closest(":submit");if(0===i.length)return;t=i[0]}var a=this;if("image"==(a.clk=t).type)if(e.offsetX!==undefined)a.clk_x=e.offsetX,a.clk_y=e.offsetY;else if("function"==typeof A.fn.offset){var r=n.offset();a.clk_x=e.pageX-r.left,a.clk_y=e.pageY-r.top}else a.clk_x=e.pageX-t.offsetLeft,a.clk_y=e.pageY-t.offsetTop;setTimeout(function(){a.clk=a.clk_x=a.clk_y=null},100)}function F(){if(A.fn.ajaxSubmit.debug){var e="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e)}}var v={};v.fileapi=A("<input type='file'/>").get(0).files!==undefined,v.formdata=window.FormData!==undefined,A.fn.ajaxSubmit=function(D){function e(e){for(var n=new FormData,t=0;t<e.length;t++)n.append(e[t].name,e[t].value);if(D.extraData)for(var i in D.extraData)D.extraData.hasOwnProperty(i)&&n.append(i,D.extraData[i]);D.data=null;var a=A.extend(!0,{},A.ajaxSettings,D,{contentType:!1,processData:!1,cache:!1,type:"POST"});D.uploadProgress&&(a.xhr=function(){var e=jQuery.ajaxSettings.xhr();return e.upload&&(e.upload.onprogress=function(e){var t=0,n=e.loaded||e.position,i=e.total;e.lengthComputable&&(t=Math.ceil(n/i*100)),D.uploadProgress(e,n,i,t)}),e}),a.data=null;var r=a.beforeSend;a.beforeSend=function(e,t){t.data=n,r&&r.call(t,e,D)},A.ajax(a)}function t(e){function c(e){return e.contentWindow?e.contentWindow.document:e.contentDocument?e.contentDocument:e.document}function t(){function n(){try{var e=c(g).readyState;F("state = "+e),e&&"uninitialized"==e.toLowerCase()&&setTimeout(n,50)}catch(t){F("Server abort: ",t," (",t.name,")"),h(k),b&&clearTimeout(b),b=undefined}}var e=E.attr("target"),t=E.attr("action");s.setAttribute("target",r),j||s.setAttribute("method","POST"),t!=f.url&&s.setAttribute("action",f.url),f.skipEncodingOverride||j&&!/post/i.test(j)||E.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),f.timeout&&(b=setTimeout(function(){y=!0,h(x)},f.timeout));var i=[];try{if(f.extraData)for(var a in f.extraData)f.extraData.hasOwnProperty(a)&&i.push(A('<input type="hidden" name="'+a+'">').attr("value",f.extraData[a]).appendTo(s)[0]);f.iframeTarget||(m.appendTo("body"),g.attachEvent?g.attachEvent("onload",h):g.addEventListener("load",h,!1)),setTimeout(n,15),s.submit()}finally{s.setAttribute("action",t),e?s.setAttribute("target",e):E.removeAttr("target"),A(i).remove()}}function h(e){if(!v.aborted&&!_){try{S=c(g)}catch(d){F("cannot access response document: ",d),e=k}if(e===x&&v)v.abort("timeout");else if(e==k&&v)v.abort("server abort");else if(S&&S.location.href!=f.iframeSrc||y){g.detachEvent?g.detachEvent("onload",h):g.removeEventListener("load",h,!1);var t,n="success";try{if(y)throw"timeout";var i="xml"==f.dataType||S.XMLDocument||A.isXMLDoc(S);if(F("isXml="+i),!i&&window.opera&&(null===S.body||!S.body.innerHTML)&&--C)return F("requeing onLoad callback, DOM not available"),void setTimeout(h,250);var a=S.body?S.body:S.documentElement;v.responseText=a?a.innerHTML:null,v.responseXML=S.XMLDocument?S.XMLDocument:S,i&&(f.dataType="xml"),v.getResponseHeader=function(e){return{"content-type":f.dataType}[e]},a&&(v.status=Number(a.getAttribute("status"))||v.status,v.statusText=a.getAttribute("statusText")||v.statusText);var r=(f.dataType||"").toLowerCase(),o=/(json|script|text)/.test(r);if(o||f.textarea){var s=S.getElementsByTagName("textarea")[0];if(s)v.responseText=s.value,v.status=Number(s.getAttribute("status"))||v.status,v.statusText=s.getAttribute("statusText")||v.statusText;else if(o){var l=S.getElementsByTagName("pre")[0],u=S.getElementsByTagName("body")[0];l?v.responseText=l.textContent?l.textContent:l.innerText:u&&(v.responseText=u.textContent?u.textContent:u.innerText)}}else"xml"==r&&!v.responseXML&&v.responseText&&(v.responseXML=M(v.responseText));try{w=P(v,r,f)}catch(e){n="parsererror",v.error=t=e||n}}catch(e){F("error caught: ",e),n="error",v.error=t=e||n}v.aborted&&(F("upload aborted"),n=null),v.status&&(n=200<=v.status&&v.status<300||304===v.status?"success":"error"),"success"===n?(f.success&&f.success.call(f.context,w,"success",v),p&&A.event.trigger("ajaxSuccess",[v,f])):n&&(t===undefined&&(t=v.statusText),f.error&&f.error.call(f.context,v,n,t),p&&A.event.trigger("ajaxError",[v,f,t])),p&&A.event.trigger("ajaxComplete",[v,f]),p&&!--A.active&&A.event.trigger("ajaxStop"),f.complete&&f.complete.call(f.context,v,n),_=!0,f.timeout&&clearTimeout(b),setTimeout(function(){f.iframeTarget||m.remove(),v.responseXML=null},100)}}}var n,i,f,p,r,m,g,v,a,o,y,b,s=E[0],l=!!A.fn.prop;if(A(":input[name=submit],:input[id=submit]",s).length)alert('Error: Form elements must not have name or id of "submit".');else{if(e)for(i=0;i<O.length;i++)n=A(O[i]),l?n.prop("disabled",!1):n.removeAttr("disabled");if((f=A.extend(!0,{},A.ajaxSettings,D)).context=f.context||f,r="jqFormIO"+(new Date).getTime(),f.iframeTarget?(o=(m=A(f.iframeTarget)).attr("name"))?r=o:m.attr("name",r):(m=A('<iframe name="'+r+'" src="'+f.iframeSrc+'" />')).css({position:"absolute",top:"-1000px",left:"-1000px"}),g=m[0],v={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";F("aborting upload... "+t),this.aborted=1,m.attr("src",f.iframeSrc),v.error=t,f.error&&f.error.call(f.context,v,t,e),p&&A.event.trigger("ajaxError",[v,f,t]),f.complete&&f.complete.call(f.context,v,t)}},(p=f.global)&&0==A.active++&&A.event.trigger("ajaxStart"),p&&A.event.trigger("ajaxSend",[v,f]),f.beforeSend&&!1===f.beforeSend.call(f.context,v,f))f.global&&A.active--;else if(!v.aborted){(a=s.clk)&&(o=a.name)&&!a.disabled&&(f.extraData=f.extraData||{},f.extraData[o]=a.value,"image"==a.type&&(f.extraData[o+".x"]=s.clk_x,f.extraData[o+".y"]=s.clk_y));var x=1,k=2,u=A("meta[name=csrf-token]").attr("content"),d=A("meta[name=csrf-param]").attr("content");d&&u&&(f.extraData=f.extraData||{},f.extraData[d]=u),f.forceSync?t():setTimeout(t,10);var w,S,_,C=50,M=A.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},T=A.parseJSON||function(e){return window.eval("("+e+")")},P=function(e,t,n){var i=e.getResponseHeader("content-type")||"",a="xml"===t||!t&&0<=i.indexOf("xml"),r=a?e.responseXML:e.responseText;return a&&"parsererror"===r.documentElement.nodeName&&A.error&&A.error("parsererror"),n&&n.dataFilter&&(r=n.dataFilter(r,t)),"string"==typeof r&&("json"===t||!t&&0<=i.indexOf("json")?r=T(r):("script"===t||!t&&0<=i.indexOf("javascript"))&&A.globalEval(r)),r}}}}if(!this.length)return F("ajaxSubmit: skipping submit process - no element selected"),this;var j,n,i,E=this;"function"==typeof D&&(D={success:D}),j=this.attr("method"),(i=(i="string"==typeof(n=this.attr("action"))?A.trim(n):"")||window.location.href||"")&&(i=(i.match(/^([^#]+)/)||[])[1]),D=A.extend(!0,{url:i,success:A.ajaxSettings.success,type:j||"GET",iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},D);var a={};if(this.trigger("form-pre-serialize",[this,D,a]),a.veto)return F("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(D.beforeSerialize&&!1===D.beforeSerialize(this,D))return F("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var r=D.traditional;r===undefined&&(r=A.ajaxSettings.traditional);var o,O=[],s=this.formToArray(D.semantic,O);if(D.data&&(D.extraData=D.data,o=A.param(D.data,r)),D.beforeSubmit&&!1===D.beforeSubmit(s,this,D))return F("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[s,this,D,a]),a.veto)return F("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var l=A.param(s,r);o&&(l=l?l+"&"+o:o),"GET"==D.type.toUpperCase()?(D.url+=(0<=D.url.indexOf("?")?"&":"?")+l,D.data=null):D.data=l;var u=[];if(D.resetForm&&u.push(function(){E.resetForm()}),D.clearForm&&u.push(function(){E.clearForm(D.includeHidden)}),!D.dataType&&D.target){var d=D.success||function(){};u.push(function(e){var t=D.replaceTarget?"replaceWith":"html";A(D.target)[t](e).each(d,arguments)})}else D.success&&u.push(D.success);D.success=function(e,t,n){for(var i=D.context||D,a=0,r=u.length;a<r;a++)u[a].apply(i,[e,t,n||E,E])};var c=0<A("input:file:enabled[value]",this).length,h="multipart/form-data",f=E.attr("enctype")==h||E.attr("encoding")==h,p=v.fileapi&&v.formdata;F("fileAPI :"+p);var m=(c||f)&&!p;!1!==D.iframe&&(D.iframe||m)?D.closeKeepAlive?A.get(D.closeKeepAlive,function(){t(s)}):t(s):(c||f)&&p?e(s):A.ajax(D);for(var g=0;g<O.length;g++)O[g]=null;return this.trigger("form-submit-notify",[this,D]),this},A.fn.ajaxForm=function(e){if((e=e||{}).delegation=e.delegation&&A.isFunction(A.fn.on),!e.delegation&&0===this.length){var t={s:this.selector,c:this.context};return!A.isReady&&t.s?(F("DOM not ready, queuing ajaxForm"),A(function(){A(t.s,t.c).ajaxForm(e)})):F("terminating; zero elements found by selector"+(A.isReady?"":" (DOM not ready)")),this}return e.delegation?(A(document).off("submit.form-plugin",this.selector,n).off("click.form-plugin",this.selector,i).on("submit.form-plugin",this.selector,e,n).on("click.form-plugin",this.selector,e,i),this):this.ajaxFormUnbind().bind("submit.form-plugin",e,n).bind("click.form-plugin",e,i)},A.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")},A.fn.formToArray=function(e,t){var n=[];if(0===this.length)return n;var i,a,r,o,s,l,u,d=this[0],c=e?d.getElementsByTagName("*"):d.elements;if(!c)return n;for(i=0,l=c.length;i<l;i++)if(r=(s=c[i]).name)if(e&&d.clk&&"image"==s.type)s.disabled||d.clk!=s||(n.push({name:r,value:A(s).val(),type:s.type}),n.push({name:r+".x",value:d.clk_x},{name:r+".y",value:d.clk_y}));else if((o=A.fieldValue(s,!0))&&o.constructor==Array)for(t&&t.push(s),a=0,u=o.length;a<u;a++)n.push({name:r,value:o[a]});else if(v.fileapi&&"file"==s.type&&!s.disabled){t&&t.push(s);var h=s.files;if(h.length)for(a=0;a<h.length;a++)n.push({name:r,value:h[a],type:s.type});else n.push({name:r,value:"",type:s.type})}else null!=o&&(t&&t.push(s),n.push({name:r,value:o,type:s.type,required:s.required}));if(!e&&d.clk){var f=A(d.clk),p=f[0];(r=p.name)&&!p.disabled&&"image"==p.type&&(n.push({name:r,value:f.val()}),n.push({name:r+".x",value:d.clk_x},{name:r+".y",value:d.clk_y}))}return n},A.fn.formSerialize=function(e){return A.param(this.formToArray(e))},A.fn.fieldSerialize=function(a){var r=[];return this.each(function(){var e=this.name;if(e){var t=A.fieldValue(this,a);if(t&&t.constructor==Array)for(var n=0,i=t.length;n<i;n++)r.push({name:e,value:t[n]});else null!=t&&r.push({name:this.name,value:t})}}),A.param(r)},A.fn.fieldValue=function(e){for(var t=[],n=0,i=this.length;n<i;n++){var a=this[n],r=A.fieldValue(a,e);null==r||r.constructor==Array&&!r.length||(r.constructor==Array?A.merge(t,r):t.push(r))}return t},A.fieldValue=function(e,t){var n=e.name,i=e.type,a=e.tagName.toLowerCase();if(t===undefined&&(t=!0),t&&(!n||e.disabled||"reset"==i||"button"==i||("checkbox"==i||"radio"==i)&&!e.checked||("submit"==i||"image"==i)&&e.form&&e.form.clk!=e||"select"==a&&-1==e.selectedIndex))return null;if("select"==a){var r=e.selectedIndex;if(r<0)return null;for(var o=[],s=e.options,l="select-one"==i,u=l?r+1:s.length,d=l?r:0;d<u;d++){var c=s[d];if(c.selected){var h=c.value;if(h||(h=c.attributes&&c.attributes.value&&!c.attributes.value.specified?c.text:c.value),l)return h;o.push(h)}}return o}return A(e).val()},A.fn.clearForm=function(e){return this.each(function(){A("input,select,textarea",this).clearFields(e)})},A.fn.clearFields=A.fn.clearInputs=function(n){var i=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();i.test(e)||"textarea"==t?this.value="":"checkbox"==e||"radio"==e?this.checked=!1:"select"==t?this.selectedIndex=-1:n&&(!0===n&&/hidden/.test(e)||"string"==typeof n&&A(this).is(n))&&(this.value="")})},A.fn.resetForm=function(){return this.each(function(){("function"==typeof this.reset||"object"==typeof this.reset&&!this.reset.nodeType)&&this.reset()})},A.fn.enable=function(e){return e===undefined&&(e=!0),this.each(function(){this.disabled=!e})},A.fn.selected=function(n){return n===undefined&&(n=!0),this.each(function(){var e=this.type;if("checkbox"==e||"radio"==e)this.checked=n;else if("option"==this.tagName.toLowerCase()){var t=A(this).parent("select");n&&t[0]&&"select-one"==t[0].type&&t.find("option").selected(!1),this.selected=n}})},A.fn.ajaxSubmit.debug=!1}(jQuery),function(){"use strict";var v,s,a,i,l,u;l=864e5,u=3600,v=function(e,t){return"string"==typeof e&&"string"==typeof t&&e.toLowerCase()===t.toLowerCase()},s=function(e,t,n){var i=n||"0",a=e.toString();return a.length<t?s(i+a,t):a},a=function(e){var t,n;for(e=e||{},t=1;t<arguments.length;t++)if(n=arguments[t])for(var i in n)n.hasOwnProperty(i)&&("object"==typeof n[i]?a(e[i],n[i]):e[i]=n[i]);return e},i={dateSettings:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridiem:["AM","PM"],ordinal:function(e){var t=e%10,n={1:"st",2:"nd",3:"rd"};return 1!==Math.floor(e%100/10)&&n[t]?n[t]:"th"}},separators:/[ \-+\/\.T:@]/g,validParts:/[dDjlNSwzWFmMntLoYyaABgGhHisueTIOPZcrU]/g,intParts:/[djwNzmnyYhHgGis]/g,tzParts:/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,tzClip:/[^-+\dA-Z]/g},(DateFormatter=function(e){var t=this,n=a(i,e);t.dateSettings=n.dateSettings,t.separators=n.separators,t.validParts=n.validParts,t.intParts=n.intParts,t.tzParts=n.tzParts,t.tzClip=n.tzClip}).prototype={constructor:DateFormatter,parseDate:function(e,t){var n,i,a,r,o,s,l,u,d,c,h=this,f=!1,p=!1,m=h.dateSettings,g={date:null,year:null,month:null,day:null,hour:0,min:0,sec:0};if(!e)return undefined;if(e instanceof Date)return e;if("number"==typeof e)return new Date(e);if("U"===t)return(a=parseInt(e))?new Date(1e3*a):e;if("string"!=typeof e)return"";if(!(n=t.match(h.validParts))||0===n.length)throw new Error("Invalid date format definition.");for(i=e.replace(h.separators,"\0").split("\0"),a=0;a<i.length;a++)switch(r=i[a],o=parseInt(r),n[a]){case"y":case"Y":2===(d=r.length)?g.year=parseInt((o<70?"20":"19")+r):4===d&&(g.year=o),f=!0;break;case"m":case"n":case"M":case"F":isNaN(r)?(-1<(s=m.monthsShort.indexOf(r))&&(g.month=s+1),-1<(s=m.months.indexOf(r))&&(g.month=s+1)):1<=o&&o<=12&&(g.month=o),f=!0;break;case"d":case"j":1<=o&&o<=31&&(g.day=o),f=!0;break;case"g":case"h":c=i[l=-1<n.indexOf("a")?n.indexOf("a"):-1<n.indexOf("A")?n.indexOf("A"):-1],-1<l?(u=v(c,m.meridiem[0])?0:v(c,m.meridiem[1])?12:-1,1<=o&&o<=12&&-1<u?g.hour=o+u:0<=o&&o<=23&&(g.hour=o)):0<=o&&o<=23&&(g.hour=o),p=!0;break;case"G":case"H":0<=o&&o<=23&&(g.hour=o),p=!0;break;case"i":0<=o&&o<=59&&(g.min=o),p=!0;break;case"s":0<=o&&o<=59&&(g.sec=o),p=!0}if(!0===f&&g.year&&g.month&&g.day)g.date=new Date(g.year,g.month-1,g.day,g.hour,g.min,g.sec,0);else{if(!0!==p)return!1;g.date=new Date(0,0,0,g.hour,g.min,g.sec,0)}return g.date},guessDate:function(e,t){if("string"!=typeof e)return e;var n,i,a,r,o=this,s=e.replace(o.separators,"\0").split("\0"),l=/^[djmn]/g,u=t.match(o.validParts),d=new Date,c=0;if(!l.test(u[0]))return e;for(i=0;i<s.length;i++){switch(c=2,a=s[i],r=parseInt(a.substr(0,2)),i){case 0:"m"===u[0]||"n"===u[0]?d.setMonth(r-1):d.setDate(r);break;case 1:"m"===u[0]||"n"===u[0]?d.setDate(r):d.setMonth(r-1);break;case 2:n=d.getFullYear(),a.length<4?(d.setFullYear(parseInt(n.toString().substr(0,4-a.length)+a)),c=a.length):(d.setFullYear=parseInt(a.substr(0,4)),c=4);break;case 3:d.setHours(r);break;case 4:d.setMinutes(r);break;case 5:d.setSeconds(r)}0<a.substr(c).length&&s.splice(i+1,0,a.substr(c))}return d},parseFormat:function(e,i){var n,t=this,a=t.dateSettings,r=/\\?(.?)/gi,o=function(e,t){return n[e]?n[e]():t};return n={d:function(){return s(n.j(),2)},D:function(){return a.daysShort[n.w()]},j:function(){return i.getDate()},l:function(){return a.days[n.w()]},N:function(){return n.w()||7},w:function(){return i.getDay()},z:function(){var e=new Date(n.Y(),n.n()-1,n.j()),t=new Date(n.Y(),0,1);return Math.round((e-t)/l)},W:function(){var e=new Date(n.Y(),n.n()-1,n.j()-n.N()+3),t=new Date(e.getFullYear(),0,4);return s(1+Math.round((e-t)/l/7),2)},F:function(){return a.months[i.getMonth()]},m:function(){return s(n.n(),2)},M:function(){return a.monthsShort[i.getMonth()]},n:function(){return i.getMonth()+1},t:function(){return new Date(n.Y(),n.n(),0).getDate()},L:function(){var e=n.Y();return e%4==0&&e%100!=0||e%400==0?1:0},o:function(){var e=n.n(),t=n.W();return n.Y()+(12===e&&t<9?1:1===e&&9<t?-1:0)},Y:function(){return i.getFullYear()},y:function(){return n.Y().toString().slice(-2)},a:function(){return n.A().toLowerCase()},A:function(){var e=n.G()<12?0:1;return a.meridiem[e]},B:function(){var e=i.getUTCHours()*u,t=60*i.getUTCMinutes(),n=i.getUTCSeconds();return s(Math.floor((e+t+n+u)/86.4)%1e3,3)},g:function(){return n.G()%12||12},G:function(){return i.getHours()},h:function(){return s(n.g(),2)},H:function(){return s(n.G(),2)},i:function(){return s(i.getMinutes(),2)},s:function(){return s(i.getSeconds(),2)},u:function(){return s(1e3*i.getMilliseconds(),6)},e:function(){return/\((.*)\)/.exec(String(i))[1]||"Coordinated Universal Time"},T:function(){return(String(i).match(t.tzParts)||[""]).pop().replace(t.tzClip,"")||"UTC"},I:function(){return new Date(n.Y(),0)-Date.UTC(n.Y(),0)!=new Date(n.Y(),6)-Date.UTC(n.Y(),6)?1:0},O:function(){var e=i.getTimezoneOffset(),t=Math.abs(e);return(0<e?"-":"+")+s(100*Math.floor(t/60)+t%60,4)},P:function(){var e=n.O();return e.substr(0,3)+":"+e.substr(3,2)},Z:function(){return 60*-i.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(r,o)},r:function(){return"D, d M Y H:i:s O".replace(r,o)},U:function(){return i.getTime()/1e3||0}},o(e,e)},formatDate:function(e,t){var n,i,a,r,o,s=this,l="";if("string"==typeof e&&!1===(e=s.parseDate(e,t)))return!1;if(e instanceof Date){for(a=t.length,n=0;n<a;n++)"S"!==(o=t.charAt(n))&&(r=s.parseFormat(o,e),n!==a-1&&s.intParts.test(o)&&"S"===t.charAt(n+1)&&(i=parseInt(r),r+=s.dateSettings.ordinal(i)),l+=r);return l}return""}}}(),function(e){"function"==typeof define&&define.amd?define(["jquery","jquery-mousewheel"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(V){"use strict";function U(e,t,n){this.date=e,this.desc=t,this.style=n}var Y=!1,s={i18n:{ar:{months:["\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a","\u0634\u0628\u0627\u0637","\u0622\u0630\u0627\u0631","\u0646\u064a\u0633\u0627\u0646","\u0645\u0627\u064a\u0648","\u062d\u0632\u064a\u0631\u0627\u0646","\u062a\u0645\u0648\u0632","\u0622\u0628","\u0623\u064a\u0644\u0648\u0644","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a","\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644"],dayOfWeekShort:["\u0646","\u062b","\u0639","\u062e","\u062c","\u0633","\u062d"],dayOfWeek:["\u0627\u0644\u0623\u062d\u062f","\u0627\u0644\u0627\u062b\u0646\u064a\u0646","\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062e\u0645\u064a\u0633","\u0627\u0644\u062c\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062a","\u0627\u0644\u0623\u062d\u062f"]},ro:{months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],dayOfWeekShort:["Du","Lu","Ma","Mi","Jo","Vi","S\xe2"],dayOfWeek:["Duminic\u0103","Luni","Mar\u0163i","Miercuri","Joi","Vineri","S\xe2mb\u0103t\u0103"]},id:{months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],dayOfWeekShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],dayOfWeek:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},is:{months:["Jan\xfaar","Febr\xfaar","Mars","Apr\xedl","Ma\xed","J\xfan\xed","J\xfal\xed","\xc1g\xfast","September","Okt\xf3ber","N\xf3vember","Desember"],dayOfWeekShort:["Sun","M\xe1n","\xderi\xf0","Mi\xf0","Fim","F\xf6s","Lau"],dayOfWeek:["Sunnudagur","M\xe1nudagur","\xderi\xf0judagur","Mi\xf0vikudagur","Fimmtudagur","F\xf6studagur","Laugardagur"]},bg:{months:["\u042f\u043d\u0443\u0430\u0440\u0438","\u0424\u0435\u0432\u0440\u0443\u0430\u0440\u0438","\u041c\u0430\u0440\u0442","\u0410\u043f\u0440\u0438\u043b","\u041c\u0430\u0439","\u042e\u043d\u0438","\u042e\u043b\u0438","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438","\u041e\u043a\u0442\u043e\u043c\u0432\u0440\u0438","\u041d\u043e\u0435\u043c\u0432\u0440\u0438","\u0414\u0435\u043a\u0435\u043c\u0432\u0440\u0438"],dayOfWeekShort:["\u041d\u0434","\u041f\u043d","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041f\u0442","\u0421\u0431"],dayOfWeek:["\u041d\u0435\u0434\u0435\u043b\u044f","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u044f\u0434\u0430","\u0427\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a","\u041f\u0435\u0442\u044a\u043a","\u0421\u044a\u0431\u043e\u0442\u0430"]},fa:{months:["\u0641\u0631\u0648\u0631\u062f\u06cc\u0646","\u0627\u0631\u062f\u06cc\u0628\u0647\u0634\u062a","\u062e\u0631\u062f\u0627\u062f","\u062a\u06cc\u0631","\u0645\u0631\u062f\u0627\u062f","\u0634\u0647\u0631\u06cc\u0648\u0631","\u0645\u0647\u0631","\u0622\u0628\u0627\u0646","\u0622\u0630\u0631","\u062f\u06cc","\u0628\u0647\u0645\u0646","\u0627\u0633\u0641\u0646\u062f"],dayOfWeekShort:["\u06cc\u06a9\u0634\u0646\u0628\u0647","\u062f\u0648\u0634\u0646\u0628\u0647","\u0633\u0647 \u0634\u0646\u0628\u0647","\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647","\u067e\u0646\u062c\u0634\u0646\u0628\u0647","\u062c\u0645\u0639\u0647","\u0634\u0646\u0628\u0647"],dayOfWeek:["\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647","\u062f\u0648\u0634\u0646\u0628\u0647","\u0633\u0647\u200c\u0634\u0646\u0628\u0647","\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647","\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647","\u062c\u0645\u0639\u0647","\u0634\u0646\u0628\u0647","\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647"]},ru:{
  months:["\u042f\u043d\u0432\u0430\u0440\u044c","\u0424\u0435\u0432\u0440\u0430\u043b\u044c","\u041c\u0430\u0440\u0442","\u0410\u043f\u0440\u0435\u043b\u044c","\u041c\u0430\u0439","\u0418\u044e\u043d\u044c","\u0418\u044e\u043b\u044c","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u041e\u043a\u0442\u044f\u0431\u0440\u044c","\u041d\u043e\u044f\u0431\u0440\u044c","\u0414\u0435\u043a\u0430\u0431\u0440\u044c"],dayOfWeekShort:["\u0412\u0441","\u041f\u043d","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041f\u0442","\u0421\u0431"],dayOfWeek:["\u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440\u0433","\u041f\u044f\u0442\u043d\u0438\u0446\u0430","\u0421\u0443\u0431\u0431\u043e\u0442\u0430"]},uk:{months:["\u0421\u0456\u0447\u0435\u043d\u044c","\u041b\u044e\u0442\u0438\u0439","\u0411\u0435\u0440\u0435\u0437\u0435\u043d\u044c","\u041a\u0432\u0456\u0442\u0435\u043d\u044c","\u0422\u0440\u0430\u0432\u0435\u043d\u044c","\u0427\u0435\u0440\u0432\u0435\u043d\u044c","\u041b\u0438\u043f\u0435\u043d\u044c","\u0421\u0435\u0440\u043f\u0435\u043d\u044c","\u0412\u0435\u0440\u0435\u0441\u0435\u043d\u044c","\u0416\u043e\u0432\u0442\u0435\u043d\u044c","\u041b\u0438\u0441\u0442\u043e\u043f\u0430\u0434","\u0413\u0440\u0443\u0434\u0435\u043d\u044c"],dayOfWeekShort:["\u041d\u0434\u043b","\u041f\u043d\u0434","\u0412\u0442\u0440","\u0421\u0440\u0434","\u0427\u0442\u0432","\u041f\u0442\u043d","\u0421\u0431\u0442"],dayOfWeek:["\u041d\u0435\u0434\u0456\u043b\u044f","\u041f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a","\u0412\u0456\u0432\u0442\u043e\u0440\u043e\u043a","\u0421\u0435\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440","\u041f'\u044f\u0442\u043d\u0438\u0446\u044f","\u0421\u0443\u0431\u043e\u0442\u0430"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},el:{months:["\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2","\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2","\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2","\u039c\u03ac\u03b9\u03bf\u03c2","\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2","\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2","\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2","\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2","\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2","\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2"],dayOfWeekShort:["\u039a\u03c5\u03c1","\u0394\u03b5\u03c5","\u03a4\u03c1\u03b9","\u03a4\u03b5\u03c4","\u03a0\u03b5\u03bc","\u03a0\u03b1\u03c1","\u03a3\u03b1\u03b2"],dayOfWeek:["\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae","\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1","\u03a4\u03c1\u03af\u03c4\u03b7","\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7","\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7","\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae","\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf"]},de:{months:["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dayOfWeekShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayOfWeek:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},nl:{months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],dayOfWeekShort:["zo","ma","di","wo","do","vr","za"],dayOfWeek:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},tr:{months:["Ocak","\u015eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011fustos","Eyl\xfcl","Ekim","Kas\u0131m","Aral\u0131k"],dayOfWeekShort:["Paz","Pts","Sal","\xc7ar","Per","Cum","Cts"],dayOfWeek:["Pazar","Pazartesi","Sal\u0131","\xc7ar\u015famba","Per\u015fembe","Cuma","Cumartesi"]},fr:{months:["Janvier","F\xe9vrier","Mars","Avril","Mai","Juin","Juillet","Ao\xfbt","Septembre","Octobre","Novembre","D\xe9cembre"],dayOfWeekShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayOfWeek:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},es:{months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],dayOfWeekShort:["Dom","Lun","Mar","Mi\xe9","Jue","Vie","S\xe1b"],dayOfWeek:["Domingo","Lunes","Martes","Mi\xe9rcoles","Jueves","Viernes","S\xe1bado"]},th:{months:["\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21","\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c","\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21","\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19","\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21","\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19","\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21","\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21","\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19","\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21","\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19","\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21"],dayOfWeekShort:["\u0e2d\u0e32.","\u0e08.","\u0e2d.","\u0e1e.","\u0e1e\u0e24.","\u0e28.","\u0e2a."],dayOfWeek:["\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c","\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c","\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23","\u0e1e\u0e38\u0e18","\u0e1e\u0e24\u0e2b\u0e31\u0e2a","\u0e28\u0e38\u0e01\u0e23\u0e4c","\u0e40\u0e2a\u0e32\u0e23\u0e4c","\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c"]},pl:{months:["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017adziernik","listopad","grudzie\u0144"],dayOfWeekShort:["nd","pn","wt","\u015br","cz","pt","sb"],dayOfWeek:["niedziela","poniedzia\u0142ek","wtorek","\u015broda","czwartek","pi\u0105tek","sobota"]},pt:{months:["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],dayOfWeek:["Domingo","Segunda","Ter\xe7a","Quarta","Quinta","Sexta","S\xe1bado"]},ch:{months:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],dayOfWeekShort:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},se:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["S\xf6n","M\xe5n","Tis","Ons","Tor","Fre","L\xf6r"]},kr:{months:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],dayOfWeekShort:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],dayOfWeek:["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"]},it:{months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayOfWeek:["Domenica","Luned\xec","Marted\xec","Mercoled\xec","Gioved\xec","Venerd\xec","Sabato"]},da:{months:["January","Februar","Marts","April","Maj","Juni","July","August","September","Oktober","November","December"],dayOfWeekShort:["S\xf8n","Man","Tir","Ons","Tor","Fre","L\xf8r"],dayOfWeek:["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"]},no:{months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],dayOfWeekShort:["S\xf8n","Man","Tir","Ons","Tor","Fre","L\xf8r"],dayOfWeek:["S\xf8ndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","L\xf8rdag"]},ja:{months:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeekShort:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],dayOfWeek:["\u65e5\u66dc","\u6708\u66dc","\u706b\u66dc","\u6c34\u66dc","\u6728\u66dc","\u91d1\u66dc","\u571f\u66dc"]},vi:{months:["Th\xe1ng 1","Th\xe1ng 2","Th\xe1ng 3","Th\xe1ng 4","Th\xe1ng 5","Th\xe1ng 6","Th\xe1ng 7","Th\xe1ng 8","Th\xe1ng 9","Th\xe1ng 10","Th\xe1ng 11","Th\xe1ng 12"],dayOfWeekShort:["CN","T2","T3","T4","T5","T6","T7"],dayOfWeek:["Ch\u1ee7 nh\u1eadt","Th\u1ee9 hai","Th\u1ee9 ba","Th\u1ee9 t\u01b0","Th\u1ee9 n\u0103m","Th\u1ee9 s\xe1u","Th\u1ee9 b\u1ea3y"]},sl:{months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],dayOfWeekShort:["Ned","Pon","Tor","Sre","\u010cet","Pet","Sob"],dayOfWeek:["Nedelja","Ponedeljek","Torek","Sreda","\u010cetrtek","Petek","Sobota"]},cs:{months:["Leden","\xdanor","B\u0159ezen","Duben","Kv\u011bten","\u010cerven","\u010cervenec","Srpen","Z\xe1\u0159\xed","\u0158\xedjen","Listopad","Prosinec"],dayOfWeekShort:["Ne","Po","\xdat","St","\u010ct","P\xe1","So"]},hu:{months:["Janu\xe1r","Febru\xe1r","M\xe1rcius","\xc1prilis","M\xe1jus","J\xfanius","J\xfalius","Augusztus","Szeptember","Okt\xf3ber","November","December"],dayOfWeekShort:["Va","H\xe9","Ke","Sze","Cs","P\xe9","Szo"],dayOfWeek:["vas\xe1rnap","h\xe9tf\u0151","kedd","szerda","cs\xfct\xf6rt\xf6k","p\xe9ntek","szombat"]},az:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],dayOfWeekShort:["B","Be","\xc7a","\xc7","Ca","C","\u015e"],dayOfWeek:["Bazar","Bazar ert\u0259si","\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131","\xc7\u0259r\u015f\u0259nb\u0259","C\xfcm\u0259 ax\u015fam\u0131","C\xfcm\u0259","\u015e\u0259nb\u0259"]},bs:{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sri","\u010cet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","\u010cetvrtak","Petak","Subota"]},ca:{months:["Gener","Febrer","Mar\xe7","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],dayOfWeekShort:["Dg","Dl","Dt","Dc","Dj","Dv","Ds"],dayOfWeek:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"]},"en-GB":{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},et:{months:["Jaanuar","Veebruar","M\xe4rts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],dayOfWeekShort:["P","E","T","K","N","R","L"],dayOfWeek:["P\xfchap\xe4ev","Esmasp\xe4ev","Teisip\xe4ev","Kolmap\xe4ev","Neljap\xe4ev","Reede","Laup\xe4ev"]},eu:{months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],dayOfWeekShort:["Ig.","Al.","Ar.","Az.","Og.","Or.","La."],dayOfWeek:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"]},fi:{months:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kes\xe4kuu","Hein\xe4kuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],dayOfWeekShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayOfWeek:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},gl:{months:["Xan","Feb","Maz","Abr","Mai","Xun","Xul","Ago","Set","Out","Nov","Dec"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Xov","Ven","Sab"],dayOfWeek:["Domingo","Luns","Martes","M\xe9rcores","Xoves","Venres","S\xe1bado"]},hr:{months:["Sije\u010danj","Velja\u010da","O\u017eujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],dayOfWeekShort:["Ned","Pon","Uto","Sri","\u010cet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","\u010cetvrtak","Petak","Subota"]},ko:{months:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],dayOfWeekShort:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],dayOfWeek:["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"]},lt:{months:["Sausio","Vasario","Kovo","Baland\u017eio","Gegu\u017e\u0117s","Bir\u017eelio","Liepos","Rugpj\u016b\u010dio","Rugs\u0117jo","Spalio","Lapkri\u010dio","Gruod\u017eio"],dayOfWeekShort:["Sek","Pir","Ant","Tre","Ket","Pen","\u0160e\u0161"],dayOfWeek:["Sekmadienis","Pirmadienis","Antradienis","Tre\u010diadienis","Ketvirtadienis","Penktadienis","\u0160e\u0161tadienis"]},lv:{months:["Janv\u0101ris","Febru\u0101ris","Marts","Apr\u012blis ","Maijs","J\u016bnijs","J\u016blijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],dayOfWeekShort:["Sv","Pr","Ot","Tr","Ct","Pk","St"],dayOfWeek:["Sv\u0113tdiena","Pirmdiena","Otrdiena","Tre\u0161diena","Ceturtdiena","Piektdiena","Sestdiena"]},mk:{months:["\u0458\u0430\u043d\u0443\u0430\u0440\u0438","\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0438\u043b","\u043c\u0430\u0458","\u0458\u0443\u043d\u0438","\u0458\u0443\u043b\u0438","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438","\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438","\u043d\u043e\u0435\u043c\u0432\u0440\u0438","\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438"],dayOfWeekShort:["\u043d\u0435\u0434","\u043f\u043e\u043d","\u0432\u0442\u043e","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043f\u0435\u0442","\u0441\u0430\u0431"],dayOfWeek:["\u041d\u0435\u0434\u0435\u043b\u0430","\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a","\u0412\u0442\u043e\u0440\u043d\u0438\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0440\u0442\u043e\u043a","\u041f\u0435\u0442\u043e\u043a","\u0421\u0430\u0431\u043e\u0442\u0430"]},mn:{months:["1-\u0440 \u0441\u0430\u0440","2-\u0440 \u0441\u0430\u0440","3-\u0440 \u0441\u0430\u0440","4-\u0440 \u0441\u0430\u0440","5-\u0440 \u0441\u0430\u0440","6-\u0440 \u0441\u0430\u0440","7-\u0440 \u0441\u0430\u0440","8-\u0440 \u0441\u0430\u0440","9-\u0440 \u0441\u0430\u0440","10-\u0440 \u0441\u0430\u0440","11-\u0440 \u0441\u0430\u0440","12-\u0440 \u0441\u0430\u0440"],dayOfWeekShort:["\u0414\u0430\u0432","\u041c\u044f\u0433","\u041b\u0445\u0430","\u041f\u04af\u0440","\u0411\u0441\u043d","\u0411\u044f\u043c","\u041d\u044f\u043c"],dayOfWeek:["\u0414\u0430\u0432\u0430\u0430","\u041c\u044f\u0433\u043c\u0430\u0440","\u041b\u0445\u0430\u0433\u0432\u0430","\u041f\u04af\u0440\u044d\u0432","\u0411\u0430\u0430\u0441\u0430\u043d","\u0411\u044f\u043c\u0431\u0430","\u041d\u044f\u043c"]},"pt-BR":{months:["Janeiro","Fevereiro","Mar\xe7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","S\xe1b"],dayOfWeek:["Domingo","Segunda","Ter\xe7a","Quarta","Quinta","Sexta","S\xe1bado"]},sk:{months:["Janu\xe1r","Febru\xe1r","Marec","Apr\xedl","M\xe1j","J\xfan","J\xfal","August","September","Okt\xf3ber","November","December"],dayOfWeekShort:["Ne","Po","Ut","St","\u0160t","Pi","So"],dayOfWeek:["Nede\u013ea","Pondelok","Utorok","Streda","\u0160tvrtok","Piatok","Sobota"]},sq:{months:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","N\xebntor","Dhjetor"],dayOfWeekShort:["Die","H\xebn","Mar","M\xebr","Enj","Pre","Shtu"],dayOfWeek:["E Diel","E H\xebn\xeb","E Mart\u0113","E M\xebrkur\xeb","E Enjte","E Premte","E Shtun\xeb"]},"sr-YU":{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sre","\u010det","Pet","Sub"],dayOfWeek:["Nedelja","Ponedeljak","Utorak","Sreda","\u010cetvrtak","Petak","Subota"]},sr:{months:["\u0458\u0430\u043d\u0443\u0430\u0440","\u0444\u0435\u0431\u0440\u0443\u0430\u0440","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0438\u043b","\u043c\u0430\u0458","\u0458\u0443\u043d","\u0458\u0443\u043b","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440","\u043e\u043a\u0442\u043e\u0431\u0430\u0440","\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440","\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440"],dayOfWeekShort:["\u043d\u0435\u0434","\u043f\u043e\u043d","\u0443\u0442\u043e","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043f\u0435\u0442","\u0441\u0443\u0431"],dayOfWeek:["\u041d\u0435\u0434\u0435\u0459\u0430","\u041f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a","\u0423\u0442\u043e\u0440\u0430\u043a","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0440\u0442\u0430\u043a","\u041f\u0435\u0442\u0430\u043a","\u0421\u0443\u0431\u043e\u0442\u0430"]},sv:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["S\xf6n","M\xe5n","Tis","Ons","Tor","Fre","L\xf6r"],dayOfWeek:["S\xf6ndag","M\xe5ndag","Tisdag","Onsdag","Torsdag","Fredag","L\xf6rdag"]},"zh-TW":{months:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],dayOfWeekShort:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},zh:{months:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],dayOfWeekShort:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},he:{months:["\u05d9\u05e0\u05d5\u05d0\u05e8","\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8","\u05de\u05e8\u05e5","\u05d0\u05e4\u05e8\u05d9\u05dc","\u05de\u05d0\u05d9","\u05d9\u05d5\u05e0\u05d9","\u05d9\u05d5\u05dc\u05d9","\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8","\u05e1\u05e4\u05d8\u05de\u05d1\u05e8","\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8","\u05e0\u05d5\u05d1\u05de\u05d1\u05e8","\u05d3\u05e6\u05de\u05d1\u05e8"],dayOfWeekShort:["\u05d0'","\u05d1'","\u05d2'","\u05d3'","\u05d4'","\u05d5'","\u05e9\u05d1\u05ea"],dayOfWeek:["\u05e8\u05d0\u05e9\u05d5\u05df","\u05e9\u05e0\u05d9","\u05e9\u05dc\u05d9\u05e9\u05d9","\u05e8\u05d1\u05d9\u05e2\u05d9","\u05d7\u05de\u05d9\u05e9\u05d9","\u05e9\u05d9\u05e9\u05d9","\u05e9\u05d1\u05ea","\u05e8\u05d0\u05e9\u05d5\u05df"]},hy:{months:["\u0540\u0578\u0582\u0576\u057e\u0561\u0580","\u0553\u0565\u057f\u0580\u057e\u0561\u0580","\u0544\u0561\u0580\u057f","\u0531\u057a\u0580\u056b\u056c","\u0544\u0561\u0575\u056b\u057d","\u0540\u0578\u0582\u0576\u056b\u057d","\u0540\u0578\u0582\u056c\u056b\u057d","\u0555\u0563\u0578\u057d\u057f\u0578\u057d","\u054d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580","\u0540\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580","\u0546\u0578\u0575\u0565\u0574\u0562\u0565\u0580","\u0534\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580"],dayOfWeekShort:["\u053f\u056b","\u0535\u0580\u056f","\u0535\u0580\u0584","\u0549\u0578\u0580","\u0540\u0576\u0563","\u0548\u0582\u0580\u0562","\u0547\u0562\u0569"],dayOfWeek:["\u053f\u056b\u0580\u0561\u056f\u056b","\u0535\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b","\u0535\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b","\u0549\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b","\u0540\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b","\u0548\u0582\u0580\u0562\u0561\u0569","\u0547\u0561\u0562\u0561\u0569"]},kg:{months:["\u04ae\u0447\u0442\u04af\u043d \u0430\u0439\u044b","\u0411\u0438\u0440\u0434\u0438\u043d \u0430\u0439\u044b","\u0416\u0430\u043b\u0433\u0430\u043d \u041a\u0443\u0440\u0430\u043d","\u0427\u044b\u043d \u041a\u0443\u0440\u0430\u043d","\u0411\u0443\u0433\u0443","\u041a\u0443\u043b\u0436\u0430","\u0422\u0435\u043a\u0435","\u0411\u0430\u0448 \u041e\u043e\u043d\u0430","\u0410\u044f\u043a \u041e\u043e\u043d\u0430","\u0422\u043e\u0433\u0443\u0437\u0434\u0443\u043d \u0430\u0439\u044b","\u0416\u0435\u0442\u0438\u043d\u0438\u043d \u0430\u0439\u044b","\u0411\u0435\u0448\u0442\u0438\u043d \u0430\u0439\u044b"],dayOfWeekShort:["\u0416\u0435\u043a","\u0414\u04af\u0439","\u0428\u0435\u0439","\u0428\u0430\u0440","\u0411\u0435\u0439","\u0416\u0443\u043c","\u0418\u0448\u0435"],dayOfWeek:["\u0416\u0435\u043a\u0448\u0435\u043c\u0431","\u0414\u04af\u0439\u0448\u04e9\u043c\u0431","\u0428\u0435\u0439\u0448\u0435\u043c\u0431","\u0428\u0430\u0440\u0448\u0435\u043c\u0431","\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438","\u0416\u0443\u043c\u0430","\u0418\u0448\u0435\u043d\u0431"]},rm:{months:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],dayOfWeekShort:["Du","Gli","Ma","Me","Gie","Ve","So"],dayOfWeek:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"]},ka:{months:["\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8","\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8","\u10db\u10d0\u10e0\u10e2\u10d8","\u10d0\u10de\u10e0\u10d8\u10da\u10d8","\u10db\u10d0\u10d8\u10e1\u10d8","\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8","\u10d8\u10d5\u10da\u10d8\u10e1\u10d8","\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd","\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8","\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8","\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8","\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8"],dayOfWeekShort:["\u10d9\u10d5","\u10dd\u10e0\u10e8","\u10e1\u10d0\u10db\u10e8","\u10dd\u10d7\u10ee","\u10ee\u10e3\u10d7","\u10de\u10d0\u10e0","\u10e8\u10d0\u10d1"],dayOfWeek:["\u10d9\u10d5\u10d8\u10e0\u10d0","\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8","\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8","\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8"]}},value:"",rtl:!1,format:"Y/m/d H:i",formatTime:"H:i",formatDate:"Y/m/d",startDate:!1,step:60,monthChangeSpinner:!0,closeOnDateSelect:!1,closeOnTimeSelect:!0,closeOnWithoutClick:!0,closeOnInputClick:!0,timepicker:!0,datepicker:!0,weeks:!1,defaultTime:!1,defaultDate:!1,minDate:!1,maxDate:!1,minTime:!1,maxTime:!1,disabledMinTime:!1,disabledMaxTime:!1,allowTimes:[],opened:!1,initTime:!0,inline:!1,theme:"",onSelectDate:function(){},onSelectTime:function(){},onChangeMonth:function(){},onGetWeekOfYear:function(){},onChangeYear:function(){},onChangeDateTime:function(){},onShow:function(){},onClose:function(){},onGenerate:function(){},withoutCopyright:!0,inverseButton:!1,hours12:!1,next:"xdsoft_next",prev:"xdsoft_prev",dayOfWeekStart:0,parentID:"body",timeHeightInTimePicker:25,timepickerScrollbar:!0,todayButton:!0,prevButton:!0,nextButton:!0,defaultSelect:!0,scrollMonth:!0,scrollTime:!0,scrollInput:!0,lazyInit:!1,mask:!1,validateOnBlur:!0,allowBlank:!0,yearStart:1950,yearEnd:2050,monthStart:0,monthEnd:11,style:"",id:"",fixed:!1,roundTime:"round",className:"",weekends:[],highlightedDates:[],highlightedPeriods:[],allowDates:[],allowDateRe:null,disabledDates:[],disabledWeekDays:[],yearOffset:0,beforeShowDay:null,enterLikeTab:!0,showApplyButton:!1},G=null,n="en",J="en",i={meridiem:["AM","PM"]},a=function(){var e=s.i18n[J],t={days:e.dayOfWeek,daysShort:e.dayOfWeekShort,months:e.months,monthsShort:V.map(e.months,function(e){return e.substring(0,3)})};G=new DateFormatter({dateSettings:V.extend({},i,t)})};V.datetimepicker={setLocale:function(e){var t=s.i18n[e]?e:n;J!=t&&(J=t,a())},setDateFormatter:function(e){G=e},RFC_2822:"D, d M Y H:i:s O",ATOM:"Y-m-dTH:i:sP",ISO_8601:"Y-m-dTH:i:sO",RFC_822:"D, d M y H:i:s O",RFC_850:"l, d-M-y H:i:s T",RFC_1036:"D, d M y H:i:s O",RFC_1123:"D, d M Y H:i:s O",RSS:"D, d M Y H:i:s O",W3C:"Y-m-dTH:i:sP"},a(),window.getComputedStyle||(window.getComputedStyle=function(n){return this.el=n,this.getPropertyValue=function(e){var t=/(\-([a-z]){1})/g;return"float"===e&&(e="styleFloat"),t.test(e)&&(e=e.replace(t,function(e,t,n){return n.toUpperCase()})),n.currentStyle[e]||null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var n,i;for(n=t||0,i=this.length;n<i;n+=1)if(this[n]===e)return n;return-1}),Date.prototype.countDaysInMonth=function(){return new Date(this.getFullYear(),this.getMonth()+1,0).getDate()},V.fn.xdsoftScroller=function(v){return this.each(function(){var r,o,s,l,u,d=V(this),n=function(e){var t,n={x:0,y:0};return"touchstart"===e.type||"touchmove"===e.type||"touchend"===e.type||"touchcancel"===e.type?(t=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],n.x=t.clientX,n.y=t.clientY):"mousedown"!==e.type&&"mouseup"!==e.type&&"mousemove"!==e.type&&"mouseover"!==e.type&&"mouseout"!==e.type&&"mouseenter"!==e.type&&"mouseleave"!==e.type||(n.x=e.clientX,n.y=e.clientY),n},c=100,i=!1,a=0,h=0,f=0,p=!1,m=0,g=function(){};"hide"!==v?(V(this).hasClass("xdsoft_scroller_box")||(r=d.children().eq(0),o=d[0].clientHeight,s=r[0].offsetHeight,l=V('<div class="xdsoft_scrollbar"></div>'),u=V('<div class="xdsoft_scroller"></div>'),l.append(u),d.addClass("xdsoft_scroller_box").append(l),g=function(e){var t=n(e).y-a+m;t<0&&(t=0),t+u[0].offsetHeight>f&&(t=f-u[0].offsetHeight),d.trigger("scroll_element.xdsoft_scroller",[c?t/c:0])},u.on("touchstart.xdsoft_scroller mousedown.xdsoft_scroller",function(t){o||d.trigger("resize_scroll.xdsoft_scroller",[v]),a=n(t).y,m=parseInt(u.css("margin-top"),10),f=l[0].offsetHeight,"mousedown"===t.type||"touchstart"===t.type?(document&&V(document.body).addClass("xdsoft_noselect"),V([document.body,window]).on("touchend mouseup.xdsoft_scroller",function e(){V([document.body,window]).off("touchend mouseup.xdsoft_scroller",e).off("mousemove.xdsoft_scroller",g).removeClass("xdsoft_noselect")}),V(document.body).on("mousemove.xdsoft_scroller",g)):(p=!0,t.stopPropagation(),t.preventDefault())}).on("touchmove",function(e){p&&(e.preventDefault(),g(e))}).on("touchend touchcancel",function(){p=!1,m=0}),d.on("scroll_element.xdsoft_scroller",function(e,t){o||d.trigger("resize_scroll.xdsoft_scroller",[t,!0]),t=1<t?1:t<0||isNaN(t)?0:t,u.css("margin-top",c*t),setTimeout(function(){r.css("marginTop",-parseInt((r[0].offsetHeight-o)*t,10))},10)}).on("resize_scroll.xdsoft_scroller",function(e,t,n){var i,a;o=d[0].clientHeight,s=r[0].offsetHeight,a=(i=o/s)*l[0].offsetHeight,1<i?u.hide():(u.show(),u.css("height",parseInt(10<a?a:10,10)),c=l[0].offsetHeight-u[0].offsetHeight,!0!==n&&d.trigger("scroll_element.xdsoft_scroller",[t||Math.abs(parseInt(r.css("marginTop"),10))/(s-o)]))}),d.on("mousewheel",function(e){var t=Math.abs(parseInt(r.css("marginTop"),10));return(t-=20*e.deltaY)<0&&(t=0),d.trigger("scroll_element.xdsoft_scroller",[t/(s-o)]),e.stopPropagation(),!1}),d.on("touchstart",function(e){i=n(e),h=Math.abs(parseInt(r.css("marginTop"),10))}),d.on("touchmove",function(e){if(i){e.preventDefault();var t=n(e);d.trigger("scroll_element.xdsoft_scroller",[(h-(t.y-i.y))/(s-o)])}}),d.on("touchend touchcancel",function(){i=!1,h=0})),d.trigger("resize_scroll.xdsoft_scroller",[v])):d.find(".xdsoft_scrollbar").hide()})},V.fn.datetimepicker=function(T,t){var n,i,a=this,h=48,f=57,g=96,v=105,y=17,P=46,D=13,j=27,E=8,O=37,A=38,F=39,I=40,L=9,N=116,R=65,W=67,z=86,q=90,H=89,B=!1,$=V.isPlainObject(T)||!T?V.extend(!0,{},s,T):V.extend(!0,{},s),r=0,o=function(t){t.on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function e(){t.is(":disabled")||t.data("xdsoft_datetimepicker")||(clearTimeout(r),r=setTimeout(function(){t.data("xdsoft_datetimepicker")||n(t),t.off("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",e).trigger("open.xdsoft")},100))})};return n=function(b){function t(){var e,t=!1;return $.startDate?t=x.strToDate($.startDate):(t=$.value||(b&&b.val&&b.val()?b.val():""))?t=x.strToDateTime(t):$.defaultDate&&(t=x.strToDateTime($.defaultDate),$.defaultTime&&(e=x.strtotime($.defaultTime),t.setHours(e.getHours()),t.setMinutes(e.getMinutes()))),t&&x.isValidDate(t)?k.data("changed",!0):t="",t||0}function n(r){var o=function(e,t){var n=e.replace(/([\[\]\/\{\}\(\)\-\.\+]{1})/g,"\\$1").replace(/_/g,"{digit+}").replace(/([0-9]{1})/g,"{digit$1}").replace(/\{digit([0-9]{1})\}/g,"[0-$1_]{1}").replace(/\{digit[\+]\}/g,"[0-9_]{1}");return new RegExp(n).test(t)},s=function(e){try{if(document.selection&&document.selection.createRange)return document.selection.createRange().getBookmark().charCodeAt(2)-2;if(e.setSelectionRange)return e.selectionStart}catch(t){return 0}},l=function(e,t){if(!(e="string"==typeof e||e instanceof String?document.getElementById(e):e))return!1;if(e.createTextRange){var n=e.createTextRange();return n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select(),!0}return!!e.setSelectionRange&&(e.setSelectionRange(t,t),!0)};r.mask&&b.off("keydown.xdsoft"),!0===r.mask&&("undefined"!=typeof moment?r.mask=r.format.replace(/Y{4}/g,"9999").replace(/Y{2}/g,"99").replace(/M{2}/g,"19").replace(/D{2}/g,"39").replace(/H{2}/g,"29").replace(/m{2}/g,"59").replace(/s{2}/g,"59"):r.mask=r.format.replace(/Y/g,"9999").replace(/F/g,"9999").replace(/m/g,"19").replace(/d/g,"39").replace(/H/g,"29").replace(/i/g,"59").replace(/s/g,"59")),"string"===V.type(r.mask)&&(o(r.mask,b.val())||(b.val(r.mask.replace(/[0-9]/g,"_")),l(b[0],0)),b.on("keydown.xdsoft",function(e){var t,n,i=this.value,a=e.which;if(h<=a&&a<=f||g<=a&&a<=v||a===E||a===P){for(t=s(this),n=a!==E&&a!==P?String.fromCharCode(g<=a&&a<=v?a-h:a):"_",a!==E&&a!==P||!t||(t-=1,n="_");/[^0-9_]/.test(r.mask.substr(t,1))&&t<r.mask.length&&0<t;)t+=a===E||a===P?-1:1;if(i=i.substr(0,t)+n+i.substr(t+1),""===V.trim(i))i=r.mask.replace(/[0-9]/g,"_");else if(t===r.mask.length)return e.preventDefault(),!1;for(t+=a===E||a===P?0:1;/[^0-9_]/.test(r.mask.substr(t,1))&&t<r.mask.length&&0<t;)t+=a===E||a===P?-1:1;o(r.mask,i)?(this.value=i,l(this,t)):""===V.trim(i)?this.value=r.mask.replace(/[0-9]/g,"_"):b.trigger("error_input.xdsoft")}else if(-1!==[R,W,z,q,H].indexOf(a)&&B||-1!==[j,A,I,O,F,N,y,L,D].indexOf(a))return!0;return e.preventDefault(),!1}))}var i,a,r,o,x,p,k=V('<div class="xdsoft_datetimepicker xdsoft_noselect"></div>'),e=V('<div class="xdsoft_copyright"><a target="_blank" href="http://xdsoft.net/jqplugins/datetimepicker/">xdsoft.net</a></div>'),m=V('<div class="xdsoft_datepicker active"></div>'),w=V('<div class="xdsoft_monthpicker"><button type="button" class="xdsoft_prev"></button><button type="button" class="xdsoft_today_button"></button><div class="xdsoft_label xdsoft_month"><span></span><i></i></div><div class="xdsoft_label xdsoft_year"><span></span><i></i></div><button type="button" class="xdsoft_next"></button></div>'),S=V('<div class="xdsoft_calendar"></div>'),s=V('<div class="xdsoft_timepicker active"><button type="button" class="xdsoft_prev"></button><div class="xdsoft_time_box"></div><button type="button" class="xdsoft_next"></button></div>'),u=s.find(".xdsoft_time_box").eq(0),_=V('<div class="xdsoft_time_variant"></div>'),l=V('<button type="button" class="xdsoft_save_selected blue-gradient-button">Save Selected</button>'),C=V('<div class="xdsoft_select xdsoft_monthselect"><div></div></div>'),M=V('<div class="xdsoft_select xdsoft_yearselect"><div></div></div>'),c=!1,d=0;$.id&&k.attr("id",$.id),$.style&&k.attr("style",$.style),$.weeks&&k.addClass("xdsoft_showweeks"),$.rtl&&k.addClass("xdsoft_rtl"),k.addClass("xdsoft_"+$.theme),k.addClass($.className),w.find(".xdsoft_month span").after(C),w.find(".xdsoft_year span").after(M),w.find(".xdsoft_month,.xdsoft_year").on("touchstart mousedown.xdsoft",function(e){var t,n,i=V(this).find(".xdsoft_select").eq(0),a=0,r=0,o=i.is(":visible");for(w.find(".xdsoft_select").hide(),x.currentTime&&(a=x.currentTime[V(this).hasClass("xdsoft_month")?"getMonth":"getFullYear"]()),i[o?"hide":"show"](),t=i.find("div.xdsoft_option"),n=0;n<t.length&&t.eq(n).data("value")!==a;n+=1)r+=t[0].offsetHeight;return i.xdsoftScroller(r/(i.children()[0].offsetHeight-i[0].clientHeight)),e.stopPropagation(),!1}),w.find(".xdsoft_select").xdsoftScroller().on("touchstart mousedown.xdsoft",function(e){e.stopPropagation(),e.preventDefault()}).on("touchstart mousedown.xdsoft",".xdsoft_option",function(){x.currentTime!==undefined&&null!==x.currentTime||(x.currentTime=x.now());var e=x.currentTime.getFullYear();x&&x.currentTime&&x.currentTime[V(this).parent(
  ).parent().hasClass("xdsoft_monthselect")?"setMonth":"setFullYear"](V(this).data("value")),V(this).parent().parent().hide(),k.trigger("xchange.xdsoft"),$.onChangeMonth&&V.isFunction($.onChangeMonth)&&$.onChangeMonth.call(k,x.currentTime,k.data("input")),e!==x.currentTime.getFullYear()&&V.isFunction($.onChangeYear)&&$.onChangeYear.call(k,x.currentTime,k.data("input"))}),k.getValue=function(){return x.getCurrentTime()},k.setOptions=function(e){var d={};$=V.extend(!0,{},$,e),e.allowTimes&&V.isArray(e.allowTimes)&&e.allowTimes.length&&($.allowTimes=V.extend(!0,[],e.allowTimes)),e.weekends&&V.isArray(e.weekends)&&e.weekends.length&&($.weekends=V.extend(!0,[],e.weekends)),e.allowDates&&V.isArray(e.allowDates)&&e.allowDates.length&&($.allowDates=V.extend(!0,[],e.allowDates)),e.allowDateRe&&"[object String]"===Object.prototype.toString.call(e.allowDateRe)&&($.allowDateRe=new RegExp(e.allowDateRe)),e.highlightedDates&&V.isArray(e.highlightedDates)&&e.highlightedDates.length&&(V.each(e.highlightedDates,function(e,t){var n,i=V.map(t.split(","),V.trim),a=new U(G.parseDate(i[0],$.formatDate),i[1],i[2]),r=G.formatDate(a.date,$.formatDate);d[r]!==undefined?(n=d[r].desc)&&n.length&&a.desc&&a.desc.length&&(d[r].desc=n+"\n"+a.desc):d[r]=a}),$.highlightedDates=V.extend(!0,[],d)),e.highlightedPeriods&&V.isArray(e.highlightedPeriods)&&e.highlightedPeriods.length&&(d=V.extend(!0,[],$.highlightedDates),V.each(e.highlightedPeriods,function(e,t){var n,i,a,r,o,s,l;if(V.isArray(t))n=t[0],i=t[1],a=t[2],l=t[3];else{var u=V.map(t.split(","),V.trim);n=G.parseDate(u[0],$.formatDate),i=G.parseDate(u[1],$.formatDate),a=u[2],l=u[3]}for(;n<=i;)r=new U(n,a,l),o=G.formatDate(n,$.formatDate),n.setDate(n.getDate()+1),d[o]!==undefined?(s=d[o].desc)&&s.length&&r.desc&&r.desc.length&&(d[o].desc=s+"\n"+r.desc):d[o]=r}),$.highlightedDates=V.extend(!0,[],d)),e.disabledDates&&V.isArray(e.disabledDates)&&e.disabledDates.length&&($.disabledDates=V.extend(!0,[],e.disabledDates)),e.disabledWeekDays&&V.isArray(e.disabledWeekDays)&&e.disabledWeekDays.length&&($.disabledWeekDays=V.extend(!0,[],e.disabledWeekDays)),!$.open&&!$.opened||$.inline||b.trigger("open.xdsoft"),$.inline&&(c=!0,k.addClass("xdsoft_inline"),b.after(k).hide()),$.inverseButton&&($.next="xdsoft_prev",$.prev="xdsoft_next"),$.datepicker?m.addClass("active"):m.removeClass("active"),$.timepicker?s.addClass("active"):s.removeClass("active"),$.value&&(x.setCurrentTime($.value),b&&b.val&&b.val(x.str)),isNaN($.dayOfWeekStart)?$.dayOfWeekStart=0:$.dayOfWeekStart=parseInt($.dayOfWeekStart,10)%7,$.timepickerScrollbar||u.xdsoftScroller("hide"),$.minDate&&/^[\+\-](.*)$/.test($.minDate)&&($.minDate=G.formatDate(x.strToDateTime($.minDate),$.formatDate)),$.maxDate&&/^[\+\-](.*)$/.test($.maxDate)&&($.maxDate=G.formatDate(x.strToDateTime($.maxDate),$.formatDate)),l.toggle($.showApplyButton),w.find(".xdsoft_today_button").css("visibility",$.todayButton?"visible":"hidden"),w.find("."+$.prev).css("visibility",$.prevButton?"visible":"hidden"),w.find("."+$.next).css("visibility",$.nextButton?"visible":"hidden"),n($),$.validateOnBlur&&b.off("blur.xdsoft").on("blur.xdsoft",function(){if($.allowBlank&&(!V.trim(V(this).val()).length||"string"==typeof $.mask&&V.trim(V(this).val())===$.mask.replace(/[0-9]/g,"_")))V(this).val(null),k.data("xdsoft_datetime").empty();else{var e=G.parseDate(V(this).val(),$.format);if(e)V(this).val(G.formatDate(e,$.format));else{var t=+[V(this).val()[0],V(this).val()[1]].join(""),n=+[V(this).val()[2],V(this).val()[3]].join("");!$.datepicker&&$.timepicker&&0<=t&&t<24&&0<=n&&n<60?V(this).val([t,n].map(function(e){return 9<e?e:"0"+e}).join(":")):V(this).val(G.formatDate(x.now(),$.format))}k.data("xdsoft_datetime").setCurrentTime(V(this).val())}k.trigger("changedatetime.xdsoft"),k.trigger("close.xdsoft")}),$.dayOfWeekStartPrev=0===$.dayOfWeekStart?6:$.dayOfWeekStart-1,k.trigger("xchange.xdsoft").trigger("afterOpen.xdsoft")},k.data("options",$).on("touchstart mousedown.xdsoft",function(e){return e.stopPropagation(),e.preventDefault(),M.hide(),C.hide(),!1}),u.append(_),u.xdsoftScroller(),k.on("afterOpen.xdsoft",function(){u.xdsoftScroller()}),k.append(m).append(s),!0!==$.withoutCopyright&&k.append(e),m.append(w).append(S).append(l),V($.parentID).append(k),x=new function(){var a=this;a.now=function(e){var t,n,i=new Date;return!e&&$.defaultDate&&(t=a.strToDateTime($.defaultDate),i.setFullYear(t.getFullYear()),i.setMonth(t.getMonth()),i.setDate(t.getDate())),$.yearOffset&&i.setFullYear(i.getFullYear()+$.yearOffset),!e&&$.defaultTime&&(n=a.strtotime($.defaultTime),i.setHours(n.getHours()),i.setMinutes(n.getMinutes())),i},a.isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},a.setCurrentTime=function(e,t){"string"==typeof e?a.currentTime=a.strToDateTime(e):a.isValidDate(e)?a.currentTime=e:e||t||!$.allowBlank?a.currentTime=a.now():a.currentTime=null,k.trigger("xchange.xdsoft")},a.empty=function(){a.currentTime=null},a.getCurrentTime=function(){return a.currentTime},a.nextMonth=function(){a.currentTime!==undefined&&null!==a.currentTime||(a.currentTime=a.now());var e,t=a.currentTime.getMonth()+1;return 12===t&&(a.currentTime.setFullYear(a.currentTime.getFullYear()+1),t=0),e=a.currentTime.getFullYear(),a.currentTime.setDate(Math.min(new Date(a.currentTime.getFullYear(),t+1,0).getDate(),a.currentTime.getDate())),a.currentTime.setMonth(t),$.onChangeMonth&&V.isFunction($.onChangeMonth)&&$.onChangeMonth.call(k,x.currentTime,k.data("input")),e!==a.currentTime.getFullYear()&&V.isFunction($.onChangeYear)&&$.onChangeYear.call(k,x.currentTime,k.data("input")),k.trigger("xchange.xdsoft"),t},a.prevMonth=function(){a.currentTime!==undefined&&null!==a.currentTime||(a.currentTime=a.now());var e=a.currentTime.getMonth()-1;return-1===e&&(a.currentTime.setFullYear(a.currentTime.getFullYear()-1),e=11),a.currentTime.setDate(Math.min(new Date(a.currentTime.getFullYear(),e+1,0).getDate(),a.currentTime.getDate())),a.currentTime.setMonth(e),$.onChangeMonth&&V.isFunction($.onChangeMonth)&&$.onChangeMonth.call(k,x.currentTime,k.data("input")),k.trigger("xchange.xdsoft"),e},a.getWeekOfYear=function(e){if($.onGetWeekOfYear&&V.isFunction($.onGetWeekOfYear)){var t=$.onGetWeekOfYear.call(k,e);if(void 0!==t)return t}var n=new Date(e.getFullYear(),0,1);return 4!=n.getDay()&&n.setMonth(0,1+(4-n.getDay()+7)%7),Math.ceil(((e-n)/864e5+n.getDay()+1)/7)},a.strToDateTime=function(e){var t,n,i=[];return e&&e instanceof Date&&a.isValidDate(e)?e:((i=/^(\+|\-)(.*)$/.exec(e))&&(i[2]=G.parseDate(i[2],$.formatDate)),i&&i[2]?(t=i[2].getTime()-6e4*i[2].getTimezoneOffset(),n=new Date(a.now(!0).getTime()+parseInt(i[1]+"1",10)*t)):n=e?G.parseDate(e,$.format):a.now(),a.isValidDate(n)||(n=a.now()),n)},a.strToDate=function(e){if(e&&e instanceof Date&&a.isValidDate(e))return e;var t=e?G.parseDate(e,$.formatDate):a.now(!0);return a.isValidDate(t)||(t=a.now(!0)),t},a.strtotime=function(e){if(e&&e instanceof Date&&a.isValidDate(e))return e;var t=e?G.parseDate(e,$.formatTime):a.now(!0);return a.isValidDate(t)||(t=a.now(!0)),t},a.str=function(){return G.formatDate(a.currentTime,$.format)},a.currentTime=this.now()},l.on("touchend click",function(e){e.preventDefault(),k.data("changed",!0),x.setCurrentTime(t()),b.val(x.str()),k.trigger("close.xdsoft")}),w.find(".xdsoft_today_button").on("touchend mousedown.xdsoft",function(){k.data("changed",!0),x.setCurrentTime(0,!0),k.trigger("afterOpen.xdsoft")}).on("dblclick.xdsoft",function(){var e,t,n=x.getCurrentTime();n=new Date(n.getFullYear(),n.getMonth(),n.getDate()),e=x.strToDate($.minDate),n<(e=new Date(e.getFullYear(),e.getMonth(),e.getDate()))||(t=x.strToDate($.maxDate),(t=new Date(t.getFullYear(),t.getMonth(),t.getDate()))<n||(b.val(x.str()),b.trigger("change"),k.trigger("close.xdsoft")))}),w.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var n=V(this),i=0,a=!1;!function e(t){n.hasClass($.next)?x.nextMonth():n.hasClass($.prev)&&x.prevMonth(),$.monthChangeSpinner&&(a||(i=setTimeout(e,t||100)))}(500),V([document.body,window]).on("touchend mouseup.xdsoft",function e(){clearTimeout(i),a=!0,V([document.body,window]).off("touchend mouseup.xdsoft",e)})}),s.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var r=V(this),o=0,s=!1,l=110;!function e(t){var n=u[0].clientHeight,i=_[0].offsetHeight,a=Math.abs(parseInt(_.css("marginTop"),10));r.hasClass($.next)&&i-n-$.timeHeightInTimePicker>=a?_.css("marginTop","-"+(a+$.timeHeightInTimePicker)+"px"):r.hasClass($.prev)&&0<=a-$.timeHeightInTimePicker&&_.css("marginTop","-"+(a-$.timeHeightInTimePicker)+"px"),u.trigger("scroll_element.xdsoft_scroller",[Math.abs(parseInt(_[0].style.marginTop,10)/(i-n))]),l=10<l?10:l-10,s||(o=setTimeout(e,t||l))}(500),V([document.body,window]).on("touchend mouseup.xdsoft",function e(){clearTimeout(o),s=!0,V([document.body,window]).off("touchend mouseup.xdsoft",e)})}),i=0,k.on("xchange.xdsoft",function(e){clearTimeout(i),i=setTimeout(function(){if(x.currentTime===undefined||null===x.currentTime){if($.allowBlank)return;x.currentTime=x.now()}for(var e,t,n,i,a,r,o,s,l,u,d="",c=new Date(x.currentTime.getFullYear(),x.currentTime.getMonth(),1,12,0,0),h=0,f=x.now(),p=!1,m=!1,g=[],v=!0,y="";c.getDay()!==$.dayOfWeekStart;)c.setDate(c.getDate()-1);for(d+="<table><thead><tr>",$.weeks&&(d+="<th></th>"),e=0;e<7;e+=1)d+="<th>"+$.i18n[J].dayOfWeekShort[(e+$.dayOfWeekStart)%7]+"</th>";for(d+="</tr></thead>",d+="<tbody>",!1!==$.maxDate&&(p=x.strToDate($.maxDate),p=new Date(p.getFullYear(),p.getMonth(),p.getDate(),23,59,59,999)),!1!==$.minDate&&(m=x.strToDate($.minDate),m=new Date(m.getFullYear(),m.getMonth(),m.getDate()));h<x.currentTime.countDaysInMonth()||c.getDay()!==$.dayOfWeekStart||x.currentTime.getMonth()===c.getMonth();)g=[],h+=1,n=c.getDay(),i=c.getDate(),a=c.getFullYear(),r=c.getMonth(),o=x.getWeekOfYear(c),u="",g.push("xdsoft_date"),s=$.beforeShowDay&&V.isFunction($.beforeShowDay.call)?$.beforeShowDay.call(k,c):null,$.allowDateRe&&"[object RegExp]"===Object.prototype.toString.call($.allowDateRe)?$.allowDateRe.test(G.formatDate(c,$.formatDate))||g.push("xdsoft_disabled"):$.allowDates&&0<$.allowDates.length?-1===$.allowDates.indexOf(G.formatDate(c,$.formatDate))&&g.push("xdsoft_disabled"):!1!==p&&p<c||!1!==m&&c<m||s&&!1===s[0]?g.push("xdsoft_disabled"):-1!==$.disabledDates.indexOf(G.formatDate(c,$.formatDate))?g.push("xdsoft_disabled"):-1!==$.disabledWeekDays.indexOf(n)?g.push("xdsoft_disabled"):b.is("[readonly]")&&g.push("xdsoft_disabled"),s&&""!==s[1]&&g.push(s[1]),x.currentTime.getMonth()!==r&&g.push("xdsoft_other_month"),($.defaultSelect||k.data("changed"))&&G.formatDate(x.currentTime,$.formatDate)===G.formatDate(c,$.formatDate)&&g.push("xdsoft_current"),G.formatDate(f,$.formatDate)===G.formatDate(c,$.formatDate)&&g.push("xdsoft_today"),0!==c.getDay()&&6!==c.getDay()&&-1===$.weekends.indexOf(G.formatDate(c,$.formatDate))||g.push("xdsoft_weekend"),$.highlightedDates[G.formatDate(c,$.formatDate)]!==undefined&&(t=$.highlightedDates[G.formatDate(c,$.formatDate)],g.push(t.style===undefined?"xdsoft_highlighted_default":t.style),u=t.desc===undefined?"":t.desc),$.beforeShowDay&&V.isFunction($.beforeShowDay)&&g.push($.beforeShowDay(c)),v&&(d+="<tr>",v=!1,$.weeks&&(d+="<th>"+o+"</th>")),d+='<td data-date="'+i+'" data-month="'+r+'" data-year="'+a+'" class="xdsoft_date xdsoft_day_of_week'+c.getDay()+" "+g.join(" ")+'" title="'+u+'"><div>'+i+"</div></td>",c.getDay()===$.dayOfWeekStartPrev&&(d+="</tr>",v=!0),c.setDate(i+1);if(d+="</tbody></table>",S.html(d),w.find(".xdsoft_label span").eq(0).text($.i18n[J].months[x.currentTime.getMonth()]),w.find(".xdsoft_label span").eq(1).text(x.currentTime.getFullYear()),r=y="",l=function(e,t){var n,i,a=x.now(),r=$.allowTimes&&V.isArray($.allowTimes)&&$.allowTimes.length;a.setHours(e),e=parseInt(a.getHours(),10),a.setMinutes(t),t=parseInt(a.getMinutes(),10),(n=new Date(x.currentTime)).setHours(e),n.setMinutes(t),!(g=[])!==$.minDateTime&&$.minDateTime>n||!1!==$.maxTime&&x.strtotime($.maxTime).getTime()<a.getTime()||!1!==$.minTime&&x.strtotime($.minTime).getTime()>a.getTime()?g.push("xdsoft_disabled"):!1!==$.minDateTime&&$.minDateTime>n||!1!==$.disabledMinTime&&a.getTime()>x.strtotime($.disabledMinTime).getTime()&&!1!==$.disabledMaxTime&&a.getTime()<x.strtotime($.disabledMaxTime).getTime()?g.push("xdsoft_disabled"):b.is("[readonly]")&&g.push("xdsoft_disabled"),(i=new Date(x.currentTime)).setHours(parseInt(x.currentTime.getHours(),10)),r||i.setMinutes(Math[$.roundTime](x.currentTime.getMinutes()/$.step)*$.step),($.initTime||$.defaultSelect||k.data("changed"))&&i.getHours()===parseInt(e,10)&&(!r&&59<$.step||i.getMinutes()===parseInt(t,10))&&($.defaultSelect||k.data("changed")?g.push("xdsoft_current"):$.initTime&&g.push("xdsoft_init_time")),parseInt(f.getHours(),10)===parseInt(e,10)&&parseInt(f.getMinutes(),10)===parseInt(t,10)&&g.push("xdsoft_today"),y+='<div class="xdsoft_time '+g.join(" ")+'" data-hour="'+e+'" data-minute="'+t+'">'+G.formatDate(a,$.formatTime)+"</div>"},$.allowTimes&&V.isArray($.allowTimes)&&$.allowTimes.length)for(h=0;h<$.allowTimes.length;h+=1)l(x.strtotime($.allowTimes[h]).getHours(),r=x.strtotime($.allowTimes[h]).getMinutes());else for(e=h=0;h<($.hours12?12:24);h+=1)for(e=0;e<60;e+=$.step)l((h<10?"0":"")+h,r=(e<10?"0":"")+e);for(_.html(y),T="",h=0,h=parseInt($.yearStart,10)+$.yearOffset;h<=parseInt($.yearEnd,10)+$.yearOffset;h+=1)T+='<div class="xdsoft_option '+(x.currentTime.getFullYear()===h?"xdsoft_current":"")+'" data-value="'+h+'">'+h+"</div>";for(M.children().eq(0).html(T),h=parseInt($.monthStart,10),T="";h<=parseInt($.monthEnd,10);h+=1)T+='<div class="xdsoft_option '+(x.currentTime.getMonth()===h?"xdsoft_current":"")+'" data-value="'+h+'">'+$.i18n[J].months[h]+"</div>";C.children().eq(0).html(T),V(k).trigger("generate.xdsoft")},10),e.stopPropagation()}).on("afterOpen.xdsoft",function(){var e,t,n,i;$.timepicker&&(_.find(".xdsoft_current").length?e=".xdsoft_current":_.find(".xdsoft_init_time").length&&(e=".xdsoft_init_time"),e?(t=u[0].clientHeight,(n=_[0].offsetHeight)-t<(i=_.find(e).index()*$.timeHeightInTimePicker+1)&&(i=n-t),u.trigger("scroll_element.xdsoft_scroller",[parseInt(i,10)/(n-t)])):u.trigger("scroll_element.xdsoft_scroller",[0]))}),a=0,S.on("touchend click.xdsoft","td",function(e){e.stopPropagation(),a+=1;var t=V(this),n=x.currentTime;if(n!==undefined&&null!==n||(x.currentTime=x.now(),n=x.currentTime),t.hasClass("xdsoft_disabled"))return!1;n.setDate(1),n.setFullYear(t.data("year")),n.setMonth(t.data("month")),n.setDate(t.data("date")),k.trigger("select.xdsoft",[n]),b.val(x.str()),$.onSelectDate&&V.isFunction($.onSelectDate)&&$.onSelectDate.call(k,x.currentTime,k.data("input"),e),k.data("changed",!0),k.trigger("xchange.xdsoft"),k.trigger("changedatetime.xdsoft"),(1<a||!0===$.closeOnDateSelect||!1===$.closeOnDateSelect&&!$.timepicker)&&!$.inline&&k.trigger("close.xdsoft"),setTimeout(function(){a=0},200)}),_.on("touchmove","div",function(){Y=!0}).on("touchend click.xdsoft","div",function(e){if(e.stopPropagation(),Y)Y=!1;else{var t=V(this),n=x.currentTime;if(n!==undefined&&null!==n||(x.currentTime=x.now(),n=x.currentTime),t.hasClass("xdsoft_disabled"))return!1;n.setHours(t.data("hour")),n.setMinutes(t.data("minute")),k.trigger("select.xdsoft",[n]),k.data("input").val(x.str()),$.onSelectTime&&V.isFunction($.onSelectTime)&&$.onSelectTime.call(k,x.currentTime,k.data("input"),e),k.data("changed",!0),k.trigger("xchange.xdsoft"),k.trigger("changedatetime.xdsoft"),!0!==$.inline&&!0===$.closeOnTimeSelect&&k.trigger("close.xdsoft")}}),m.on("mousewheel.xdsoft",function(e){return!$.scrollMonth||(e.deltaY<0?x.nextMonth():x.prevMonth(),!1)}),b.on("mousewheel.xdsoft",function(e){return!$.scrollInput||(!$.datepicker&&$.timepicker?(0<=(r=_.find(".xdsoft_current").length?_.find(".xdsoft_current").eq(0).index():0)+e.deltaY&&r+e.deltaY<_.children().length&&(r+=e.deltaY),_.children().eq(r).length&&_.children().eq(r).trigger("mousedown"),!1):$.datepicker&&!$.timepicker?(m.trigger(e,[e.deltaY,e.deltaX,e.deltaY]),b.val&&b.val(x.str()),k.trigger("changedatetime.xdsoft"),!1):void 0)}),k.on("changedatetime.xdsoft",function(e){if($.onChangeDateTime&&V.isFunction($.onChangeDateTime)){var t=k.data("input");$.onChangeDateTime.call(k,x.currentTime,t,e),delete $.value,t.trigger("change")}}).on("generate.xdsoft",function(){$.onGenerate&&V.isFunction($.onGenerate)&&$.onGenerate.call(k,x.currentTime,k.data("input")),c&&(k.trigger("afterOpen.xdsoft"),c=!1)}).on("click.xdsoft",function(e){e.stopPropagation()}),r=0,p=function(e,t){do{if(!1===t(e=e.parentNode))break}while("HTML"!==e.nodeName)},o=function(){var e,t,n,i,a,r,o,s,l,u,d,c,h;if(e=(s=k.data("input")).offset(),t=s[0],u="top",n=e.top+t.offsetHeight-1,i=e.left,a="absolute",l=V(window).width(),c=V(window).height(),h=V(window).scrollTop(),document.documentElement.clientWidth-e.left<m.parent().outerWidth(!0)){var f=m.parent().outerWidth(!0)-t.offsetWidth;i-=f}"rtl"===s.parent().css("direction")&&(i-=k.outerWidth()-s.outerWidth()),$.fixed?(n-=h,i-=V(window).scrollLeft(),a="fixed"):(o=!1,p(t,function(e){if("fixed"===window.getComputedStyle(e).getPropertyValue("position"))return!(o=!0)}),o?(a="fixed",n+k.outerHeight()>c+h?(u="bottom",n=c+h-e.top):n-=h):n+t.offsetHeight>c+h&&(n=e.top-t.offsetHeight+1),n<0&&(n=0),i+t.offsetWidth>l&&(i=l-t.offsetWidth)),r=k[0],p(r,function(e){if("relative"===window.getComputedStyle(e).getPropertyValue("position")&&l>=e.offsetWidth)return i-=(l-e.offsetWidth)/2,!1}),(d={position:a,left:i,top:"",bottom:""})[u]=n,k.css(d)},k.on("open.xdsoft",function(t){var n=!0;$.onShow&&V.isFunction($.onShow)&&(n=$.onShow.call(k,x.currentTime,k.data("input"),t)),!1!==n&&(k.show(),o(),V(window).off("resize.xdsoft",o).on("resize.xdsoft",o),$.closeOnWithoutClick&&V([document.body,window]).on("touchstart mousedown.xdsoft",function e(){k.trigger("close.xdsoft"),V([document.body,window]).off("touchstart mousedown.xdsoft",e)}))}).on("close.xdsoft",function(e){var t=!0;w.find(".xdsoft_month,.xdsoft_year").find(".xdsoft_select").hide(),$.onClose&&V.isFunction($.onClose)&&(t=$.onClose.call(k,x.currentTime,k.data("input"),e)),!1===t||$.opened||$.inline||k.hide(),e.stopPropagation()}).on("toggle.xdsoft",function(){k.is(":visible")?k.trigger("close.xdsoft"):k.trigger("open.xdsoft")}).data("input",b),d=0,k.data("xdsoft_datetime",x),k.setOptions($),x.setCurrentTime(t()),b.data("xdsoft_datetimepicker",k).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function(){b.is(":disabled")||b.data("xdsoft_datetimepicker").is(":visible")&&$.closeOnInputClick||(clearTimeout(d),d=setTimeout(function(){b.is(":disabled")||(c=!0,x.setCurrentTime(t(),!0),$.mask&&n($),k.trigger("open.xdsoft"))},100))}).on("keydown.xdsoft",function(e){var t,n=e.which;return-1!==[D].indexOf(n)&&$.enterLikeTab?(t=V("input:visible,textarea:visible,button:visible,a:visible"),k.trigger("close.xdsoft"),t.eq(t.index(this)+1).focus(),!1):-1!==[L].indexOf(n)?(k.trigger("close.xdsoft"),!0):void 0}).on("blur.xdsoft",function(){k.trigger("close.xdsoft")})},i=function(e){var t=e.data("xdsoft_datetimepicker");t&&(t.data("xdsoft_datetime",null),t.remove(),e.data("xdsoft_datetimepicker",null).off(".xdsoft"),V(window).off("resize.xdsoft"),V([window,document.body]).off("mousedown.xdsoft touchstart"),e.unmousewheel&&e.unmousewheel())},V(document).off("keydown.xdsoftctrl keyup.xdsoftctrl").on("keydown.xdsoftctrl",function(e){e.keyCode===y&&(B=!0)}).on("keyup.xdsoftctrl",function(e){e.keyCode===y&&(B=!1)}),this.each(function(){var e=V(this).data("xdsoft_datetimepicker");if(e){if("string"===V.type(T))switch(T){case"show":V(this).select().focus(),e.trigger("open.xdsoft");break;case"hide":e.trigger("close.xdsoft");break;case"toggle":e.trigger("toggle.xdsoft");break;case"destroy":i(V(this));break;case"reset":this.value=this.defaultValue,this.value&&e.data("xdsoft_datetime").isValidDate(G.parseDate(this.value,$.format))||e.data("changed",!1),e.data("xdsoft_datetime").setCurrentTime(this.value);break;case"validate":e.data("input").trigger("blur.xdsoft");break;default:e[T]&&V.isFunction(e[T])&&(a=e[T](t))}else e.setOptions(T);return 0}"string"!==V.type(T)&&(!$.lazyInit||$.open||$.inline?n(V(this)):o(V(this)))}),a},V.fn.datetimepicker.defaults=s}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(h){function t(e){var t=e||window.event,n=v.call(arguments,1),i=0,a=0,r=0,o=0,s=0,l=0;if((e=h.event.fix(t)).type="mousewheel","detail"in t&&(r=-1*t.detail),"wheelDelta"in t&&(r=t.wheelDelta),"wheelDeltaY"in t&&(r=t.wheelDeltaY),"wheelDeltaX"in t&&(a=-1*t.wheelDeltaX),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(a=-1*r,r=0),i=0===r?a:r,"deltaY"in t&&(i=r=-1*t.deltaY),"deltaX"in t&&(a=t.deltaX,0===r&&(i=-1*a)),0!==r||0!==a){if(1===t.deltaMode){var u=h.data(this,"mousewheel-line-height");i*=u,r*=u,a*=u}else if(2===t.deltaMode){var d=h.data(this,"mousewheel-page-height");i*=d,r*=d,a*=d}if(o=Math.max(Math.abs(r),Math.abs(a)),(!g||o<g)&&p(t,g=o)&&(g/=40),p(t,o)&&(i/=40,a/=40,r/=40),i=Math[1<=i?"floor":"ceil"](i/g),a=Math[1<=a?"floor":"ceil"](a/g),r=Math[1<=r?"floor":"ceil"](r/g),y.settings.normalizeOffset&&this.getBoundingClientRect){var c=this.getBoundingClientRect();s=e.clientX-c.left,l=e.clientY-c.top}return e.deltaX=a,e.deltaY=r,e.deltaFactor=g,e.offsetX=s,e.offsetY=l,e.deltaMode=0,n.unshift(e,i,a,r),m&&clearTimeout(m),m=setTimeout(f,200),(h.event.dispatch||h.event.handle).apply(this,n)}}function f(){g=null}function p(e,t){return y.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var m,g,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],n="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],v=Array.prototype.slice;if(h.event.fixHooks)for(var i=e.length;i;)h.event.fixHooks[e[--i]]=h.event.mouseHooks;var y=h.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t;h.data(this,"mousewheel-line-height",y.getLineHeight(this)),h.data(this,"mousewheel-page-height",y.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1);else this.onmousewheel=null;h.removeData(this,"mousewheel-line-height"),h.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=h(e),n=t["offsetParent"in h.fn?"offsetParent":"parent"]();return n.length||(n=h("body")),parseInt(n.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return h(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};h.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),$(function(){return SS_Kana.render(),SS_Font.render(),SS_AdobeReader.render(),SS_Mobile.render(),SS_Voice.render(),SS_Theme.render(),SS.renderAjaxBox(),SS.part=$(".ss-part").length,0===SS.part&&SS_Recommend.render(),$(".ss-part").each(function(){return SS.renderPart($(this))}),SS.renderDateTimePicker()}),this.SS_Kana=function(){function n(){}return n.dir="/kana",n.siteUrl="/",n.kanaUrl="/kana/",n.render=function(){var e,t;return SS.config.site_url&&SS.config.kana_url&&(n.siteUrl=SS.config.site_url,n.kanaUrl=SS.config.kana_url),$("body").data("kana")?(e="onclick=\"location.href='"+(t=n.url(location.pathname,!1))+"'; return false\"",$("#ss-kana").html('<a class="off" href="#'+t+'" '+e+">\u3075\u308a\u304c\u306a\u3092\u306f\u305a\u3059</a>")):(e="onclick=\"location.href='"+(t=n.url(location.pathname,!0))+"'; return false\"",$("#ss-kana").html('<a class="on" href="#'+t+'" '+e+">\u3075\u308a\u304c\u306a\u3092\u3064\u3051\u308b</a>"))},n.url=function(e,t){return null==t&&(t=null),null===t&&(t=$("body").data("kana")),e=t?e.replace(RegExp("^(\\/\\.s\\d+?\\/preview\\d*)?"+this.siteUrl),"$1"+this.kanaUrl):e.replace(RegExp("^(\\/\\.s\\d+?\\/preview\\d*)?"+this.kanaUrl),"$1"+this.siteUrl)},n.loadPage=function(n){return $.ajax({type:"GET",url:n.attr("href"),dataType:"html",success:function(e){var t;return(t=$("body")).data("kana",n.hasClass("on")),t.html(e.replace(/[\s\S]*<body.*?>([\s\S]*)<\/body>[\s\S]*/,"$1"))}}),!1},n}(),this.SS_Theme=function(){function o(){}return o.render=function(){var e,t,n,i,a,r;if(0<$("#ss-theme").length){for(t in a=SS.config.theme,$("#ss-theme").html(""),n="",a)r=a[t],e=$('<a href="#" class="'+t+'">'+r.name+"</a>"),r.css_path&&$("head").append('<link rel="alternate stylesheet" type="text/css" title="'+r.name+'" href="'+r.css_path+'" class="ss-theme '+t+'" disabled />'),r.font_color&&r.background_color&&(n+=o.cssTemplate(t,r.font_color,r.background_color)+"\n"),e.on("click",function(){return t=$(this).attr("class"),Cookies.set("ss-theme",t,{expires:7,path:"/"}),o.switchTheme(t),!1}),$("#ss-theme").append(e);return i=$('<style type="text/css" class="ss-theme">'+n+"</style>"),$("head").append(i),(t=Cookies.get("ss-theme"))?o.switchTheme(t):void 0}},o.cssTemplate=function(e,t,n){return'body[data-ss-theme="'+e+'"] * {\n  border-color: '+t+" !important;\n  background: "+n+" !important;\n  color: "+t+" !important;\n}"},o.switchTheme=function(e){return $("head link.ss-theme").prop("disabled",!0),$("head link.ss-theme."+e).prop("disabled",!1),$("body").attr("data-ss-theme",""),$("body").attr("data-ss-theme",e)},o}(),this.SS_AdobeReader=function(){function e(){}return e.render=function(){if($("a[href$='.pdf']").length)return $("#ss-adobe-reader, .ss-adobe-reader").each(function(){return $(this).html('<div>PDF\u30d5\u30a1\u30a4\u30eb\u3092\u3054\u89a7\u3044\u305f\u3060\u304f\u305f\u3081\u306b\u306f\u3001Adobe Reader\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\uff08\u7121\u511f\uff09\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002\u304a\u6301\u3061\u3067\u306a\u3044\u5834\u5408\u306f\u3001\u304a\u4f7f\u3044\u306e\u6a5f\u7a2e\u3068\u30b9\u30da\u30c3\u30af\u306b\u5408\u308f\u305b\u305f\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002</div><a href="http://get.adobe.com/jp/reader/">Adobe Reader\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b</a>').show()})},e}(),this.SS_Tabs=function(){function e(){}return e.render=function(h){var f,p;return f=$(h),p="",f.find(".tab").each(function(e){var t,n,i,a,r,o,s,l,u,d,c;return o=(l=$(this)).find("header > h2").html(),d=l.find("nav").find(".more").attr("href"),t=l.attr("data-class"),c=(n=l.attr("id"))+"-view",d||(d="#"+c),u="name",0===e&&(u="name current"),t&&(u=u+" "+t),p+="<a id='"+(s=n+"-name")+"' onclick='"+('return SS_Tabs.select("'+h+'", "#'+s+'", "#'+c+'")')+"' class='"+u+"' href='"+d+"'>"+o+"</a>",a="",0!==e&&(a="style='display: none;'"),i="view",t&&(i=i+" "+t),r="<article id='"+c+"' class='"+i+"' "+a+">",r+="<h2 style='display: none'>"+o+"</h2>",r+="<div class='pages'>"+l.find(".pages").html()+"</div>",r+="<nav>"+l.find("nav").html()+"</nav>",r+="</article>",f.append(r),l.remove()}),f.prepend("<nav class='names'>"+p+"</nav>")},e.select=function(e,t,n){return $(e).find(".name").each(function(){return $(this).removeClass("current")}),$(e).find(".view").each(function(){return $(this).hide()}),$(t).addClass("current"),$(n).show(),!1},e}(),this.SS_Voice=function(){function a(){}return a.voice_config={location:"/.voice","loading-resource":"/assets/voice/voice-loading.mp3","disabled-resource":"/assets/voice/voice-disabled.mp3","overload-resource":"/assets/voice/voice-overload.mp3"},a.url=null,a.voice_tag=null,a.voice_controller=null,a.state=null,a.cancel_loading=null,a.timer_id=null,a.render=function(){var e,t,n;if(a.url=a.requestUrl(),0!==(n=$("#ss-voice")).size())return 1<n.size()&&(n=n.first()),e=$('<a rel="nofollow"/>').attr("href",a.url).html(n.html()),n.html(""),e.appendTo(n),a.voice_tag=e,0===(t=$("#ss-voice-controller")).size()&&(n.after('<div id="ss-voice-controller" style="display: none;"/>'),t=$("#ss-voice-controller")),a.voice_controller=new SS_VoiceController(t[0]),a.state=null,a.cancel_loading=!1,a.timer_id=null,a.init(),t.find(".ss-jp-close").bind("click",a.cancel)},a.init=function(){return a.state="init",a.voice_controller.stop(),a.setAction(a.load),a.cancel_loading=!1},a.setAction=function(e){return a.voice_tag.unbind("click"),a.voice_tag.bind("click",e)},a.load=function(){return a.cancel_loading||$.ajax({type:"HEAD",url:a.url,cache:!1,statusCode:{200:function(){return a.playAudio()},202:function(e,t,n){var i;return a.renderLoading(),(i=n.getResponseHeader("Retry-After"))||(i=5),a.timer_id=setTimeout(a.load,1e3*i)}},error:function(e){return a.renderError(e.status)}}),!1},a.renderLoading=function(){var e;return"loading"===a.state||(e=a.voice_config["loading-resource"],a.state="loading",a.setAction(a.cancel),a.voice_controller.play(e)),!1},a.renderError=function(e){var t;return"error"===a.state||(0<=a.timer_id&&clearTimeout(a.timer_id),a.timer_id=-1,t=429===e?a.voice_config["overload-resource"]:a.voice_config["disabled-resource"],a.state="error",a.setAction(a.cancel),a.voice_controller.play(t)),!1},a.cancel=function(){return a.cancel_loading=!0,null!==a.timer_id&&clearTimeout(a.timer_id),a.timer_id=null,a.init(),!1},a.playAudio=function(){return a.state="playing",a.voice_controller.play(a.url),a.setAction(a.cancel),!1},a.requestUrl=function(){var e,t;return"/"===(e=a.trimKanaDir(location.pathname))&&(e="/index.html"),t=encodeURIComponent(a.normalizeProtocol(location.protocol)+"://"+location.host+e),t=a.normalizeLocation(a.voice_config.location)+"/"+t},a.trimKanaDir=function(e,t){return null==t&&(t=SS_Kana.dir),e.replace(new RegExp("^"+t.replace("/","/")+"/"),"/")},a.normalizeProtocol=function(e){return e.replace(new RegExp(":$"),"")},a.normalizeLocation=function(e){return e.replace(new RegExp("/$"),"")},a}(),this.SS_VoiceController=function(){function e(e){this.status="stopped",this.container=$(e),this.initialized=!1,this.container.html(this.template()),this.player=this.container.children(".jp-jplayer"),this.controller=this.container.children(".jp-audio")}return e.prototype.play=function(e){return this.stop(),this.status="playing",this.container.show(),this.initialized?(this.player.jPlayer("setMedia",{title:document.title,mp3:e}),this.player.jPlayer("play")):this.player.jPlayer({ready:(t=this,function(){return t.player.jPlayer("setMedia",{title:document.title,mp3:e}),"playing"===t.status&&t.player.jPlayer("play"),t.initialized=!0}),autoBlur:!1,cssSelectorAncestor:"#"+this.controller[0].id,keyEnabled:!1,loop:!0,remainingDuration:!0,smoothPlayBar:!0,supplied:"mp3",swfPath:"/assets/js/jplayer",toggleDuration:!0,useStateClassSkin:!0});var t},e.prototype.stop=function(){if(this.initialized&&"stopped"!==this.status)return this.player.jPlayer("stop"),this.container.hide(),this.status="stopped"},e.prototype.template=function(){var e='<div id="jquery_jplayer_:TIMESTAMP:" class="jp-jplayer"></div>\n<div id="jp_container_:TIMESTAMP:" class="jp-audio" role="application" aria-label="media player">\n  <div class="jp-type-single">\n    <div class="jp-gui jp-interface">\n      <div class="jp-controls">\n        <button class="jp-play" role="button" tabindex="0">play</button>\n        <button class="jp-stop" role="button" tabindex="0">stop</button>\n      </div>\n      <div class="jp-progress">\n        <div class="jp-seek-bar">\n          <div class="jp-play-bar"></div>\n        </div>\n      </div>\n      <div class="jp-volume-controls">\n        <button class="jp-mute" role="button" tabindex="0">mute</button>\n        <button class="jp-volume-max" role="button" tabindex="0">max volume</button>\n        <div class="jp-volume-bar">\n          <div class="jp-volume-bar-value"></div>\n        </div>\n      </div>\n      <div class="jp-time-holder">\n        <div class="jp-current-time" role="timer" aria-label="time">&nbsp;</div>\n        <div class="jp-toggles">\n          <button class="jp-repeat" role="button" tabindex="0">repeat</button>\n        </div>\n      </div>\n      <div class="ss-jp-dismiss">\n        <button class="ss-jp-close" role="button" tabindex="0">&times;</button>\n      </div>\n    </div>\n    <div class="jp-no-solution">\n      :URL:\n    </div>\n  </div>\n</div>',t=(new Date).getTime(),n='<span>\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044</span>\u518d\u751f\u3059\u308b\u306b\u306f\u30d6\u30e9\u30a6\u30b6\u3092\u66f4\u65b0\u3059\u308b\u304b\u3001<a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a>\u3092\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002';return e=(e=e.replace(new RegExp(":TIMESTAMP:","g"),t)).replace(new RegExp(":URL:","g"),n)},e}(),this.SS_Recommend=function(){function e(){}return e.render=function(){var e,t,n;if((n=SS.config.recommend)&&(t=n.receiver_url,e=n.params,t&&e)
  )return e.access_url=location.href,$.ajax({type:"GET",url:t,cache:!1,dataType:"json",data:e,error:function(){}})},e}(),this.SS=function(){function a(){}return a.config={},a.head="",a.href="",a.loading='<img style="vertical-align:middle" src="/assets/img/loading.gif" alt="loading.." border="0" widtth="16" height="11" />',a.noticeTimeoutId=null,a.page="",a.pageName=null,a.parts=null,a.siteName=null,a.disableClick=function(e){return!e.data("clicked")&&(e.data("clicked",!0),!0)},a.load=function(){},a.render=function(e){return null==e&&(e=null),e?this.renderInBox(e):this.renderNotInBox(),(e=$(document)).find("a[href^=http]").each(function(){return $(this).addClass("external")}),this.renderAjaxBox(),this.renderDateTimePicker()},a.renderNotInBox=function(){return SS_Login.render()},a.renderInBox=function(e){var t;return t=function(){return $("#cboxLoadedContent .ajax-box:not(.cboxElement)").each(function(){var e;if((e=$(this)).addClass("cboxElement"),!e.attr("target")&&!e.data("target"))return e.colorbox({fixed:!0,width:"90%",height:"90%",onComplete:t})})},$(e).find(".ajax-box:not(.cboxElement)").each(function(){var e;if(!(e=$(this)).attr("target")&&!e.data("target"))return e.colorbox({fixed:!0,width:"90%",height:"90%",onComplete:t})})},a.renderClipboardCopy=function(){$(".ss-clipboard-copy").click(function(){var e=$(this).attr("data-clip-attr");return e?SS_Clipboard.copy($(this).attr(e),{success_alert:!0}):SS_Clipboard.copy($(this).text(),{success_alert:!0}),!1})},a.renderLayout=function(e){var n,i;return i=$("head"),n=$("body"),a.head=i.html(),a.page=$("#page").html(),n.html(""),$.ajax({type:"GET",url:SS_Kana.url(e),dataType:"json",cache:!0,async:!1,success:function(e){var t;return n.append(e.body.replace("</ yield />",a.page)),$("#ss-site-name").html(a.siteName),$("#ss-page-name").html(a.pageName),e.href!==a.href&&(t=$.ajaxSettings.cache,$.ajaxSettings.cache=!0,a.href&&(i.children("link").remove(),i.children("script").remove()),i.append(e.head),$.ajaxSettings.cache=t),a.href=e.href,a.renderTools()},error:function(){return n.html(a.page)},complete:function(){return $(".ss-part").each(function(){return a.renderPart($(this))})}})},a.renderPart=function(t){var e;return e=t.data("href")||t.attr("href"),e=SS_Kana.url(e.replace(/\.html/,".json")),t.append(" "+a.loading),$.ajax({type:"GET",url:e,dataType:"json",data:"ref="+SS_Kana.url(location.pathname,!1),success:function(e){return $(t).replaceWith(e)},error:function(){return $(t).find("img").remove()},complete:function(){if(a.part=a.part-1,0===a.part)return SS_Recommend.render()}})},a.ajaxForm=function(e,t){var n;null==t&&(t={}),e=$(e),n={url:e.attr("action")+".json",dataType:"json",success:function(){},error:function(e){alert(["== Error =="].concat(e.responseJSON).join("\n"))}},e.on("submit",function(e){$(this).ajaxSubmit($.extend(!0,n,t)),e.preventDefault()})},a.ajax=function(e,i){return null==i&&(i={}),$(e).click(function(e){var t,n;return t={url:(n=$(this)).attr("href"),beforeSend:function(){return n.html(a.loading)},success:function(){return console.log("success")},error:function(){return alert("== Error ==")}},$.ajax($.extend(!0,t,i)),e.preventDefault(),!1})},a.ajaxDelete=function(e,i){return null==i&&(i={}),$(e).click(function(e){var t,n;return confirm("\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f")&&(t={type:"DELETE",data:"_method=delete",url:(n=$(this)).attr("href")+".json",dataType:"json",beforeSend:function(){return n.html(a.loading)},success:function(){if(n.data("remove"))return $(n.data("remove")).remove()},error:function(e){return alert(["== Error =="].concat(e.responseJSON).join("\n"))}},$.ajax($.extend(!0,t,i)),e.preventDefault()),!1})},a.notice=function(e,t){var n;if(null==t&&(t={}),a.clearNotice(),(n=$("#notice")).hasClass("js-notice")||n.addClass("js-notice").click(function(){return n.slideUp("normal")}),n.find(".wrap").html(e),n.slideDown("normal"),!t||0!==t.timeout)return a.noticeTimeoutId=setTimeout(function(){return $("#notice").slideUp("normal")},1800),a.noticeTimeoutId},a.clearNotice=function(){var e;return a.noticeTimeoutId&&(clearTimeout(a.noticeTimeoutId),a.noticeTimeoutId=null),(e=$("#notice")).hide(),e.find(".wrap").html("")},a.formChanged=!1,a.confirmUnloading=function(){a.formChanged=!1,$("input[type=text],textarea,select").change(function(){a.formChanged=!0}),$(window).on("beforeunload",function(){if(a.formChanged)return"\u5165\u529b\u3057\u305f\u30c7\u30fc\u30bf\u306f\u4fdd\u5b58\u3055\u308c\u307e\u305b\u3093\u3002"}),$("input[type=submit]").click(function(){return!(a.formChanged=!1)})},a.randomPassword=function(e){var t,n,i,a,r;for(null==e&&(e=8),t="abcdefghijkmnopqrstuvwxyz!@#$%&-+ABCDEFGHIJKLMNOP234567890",a="",n=i=0,r=e;0<=r?i<=r:r<=i;n=0<=r?++i:--i)n=Math.floor(Math.random()*t.length),a+=t.charAt(n);return a},a.fileCheck=function(){return $("#item_files").change(function(){var e,t;if(e=$(this).val())return t=location.pathname.split("/"),$.ajax({type:"get",url:t.join("/"),dataType:"json",data:{"do":"check",item_files:e},success:function(e){return e.message?($(".js-uploader-alert-message").html(e.message),$(".js-uploader-alert-message").show()):$(".js-uploader-alert-message").hide()},error:function(e){var t;try{return t=$.parseJSON(e.responseText),alert(["== Error =="].concat(t).join("\n"))}catch(n){return alert(["== Error =="].concat(e.statusText).join("\n"))}}});$(".js-uploader-alert-message").hide()})},a.renderAjaxBox=function(e,t){var n=null,i=null;0<arguments.length&&("object"==typeof e?e.jquery?n=e:i=e:n=$(e),!i&&1<arguments.length&&(i=t)),n||(n=$(document)),i||(i={fixed:!0,width:"90%",height:"90%"}),n.find(".ajax-box:not(.cboxElement)").each(function(){var e=$(this);e.attr("target")||e.data("target")||e.colorbox(i)})},a.renderDateTimePicker=function(){if($.datetimepicker.setLocale("ja"),$.support.opacity)return $.each($(".js-date"),function(){var e,t;return t={timepicker:!1,format:"Y/m/d",closeOnDateSelect:!0,scrollInput:!1},null!==(e=$(this).data()).minDate&&(t.minDate=e.minDate),null!==e.maxDate&&(t.maxDate=e.maxDate),$(this).datetimepicker(t)}),$.each($(".js-datetime"),function(){var e,t;return t={roundTime:"ceil",step:30},null!==(e=$(this).data()).minDate&&(t.minDate=e.minDate),null!==e.maxDate&&(t.maxDate=e.maxDate),$(this).datetimepicker(t)})},a}(),this.SS_Font=function(){function e(){}return e.size=null,e.render=function(){var e;return this.size=parseInt(Cookies.get("ss-font"))||100,100!==this.size&&this.set(this.size),(e=$("#ss-medium")).html('<a href="#" onclick="return SS_Font.set(100)">'+e.html()+"</a>"),(e=$("#ss-small")).html('<a href="#" onclick="return SS_Font.set(false)">'+e.html()+"</a>"),(e=$("#ss-large")).html('<a href="#" onclick="return SS_Font.set(true)">'+e.html()+"</a>")},e.set=function(e){if(!0===e){if(200<(e=this.size+20))return!1}else if(!1===e&&(e=this.size-20)<60)return!1;return this.size=e,$("body").css("font-size",e+"%"),Cookies.set("ss-font",e,{expires:7,path:"/"}),!1},e}();var moduleKeywords,indexOf=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};moduleKeywords=["extended","included"],this.SS_Module=function(){function e(){}return e.extend=function(e){var t,n,i;for(t in e)i=e[t],indexOf.call(moduleKeywords,t)<0&&(this[t]=i);return null!=(n=e.extended)&&n.apply(this),this},e.include=function(e){var t,n,i;for(t in e)i=e[t],indexOf.call(moduleKeywords,t)<0&&(this.prototype[t]=i);return null!=(n=e.included)&&n.apply(this),this},e}(),this.SS_Mobile=function(){function e(){}return e.render=function(){var e,t;if(navigator.userAgent.match(/(Android|iPad|iPhone)/))return"pc"===Cookies.get("ss-mobile")?((e=$("head")).children("meta[name=viewport]").remove(),e.append('<meta name="viewport" content="width=1024" />'),(t=$("#ss-mb")).html('<a href="#" onclick="return SS_Mobile.unset()">'+t.text()+"</a>").show()):(t=$("#ss-pc")).html('<a href="#" onclick="return SS_Mobile.setPc()">'+t.text()+"</a>").show()},e.unset=function(){return Cookies.remove("ss-mobile",{path:"/"}),location.reload(),!1},e.setPc=function(){return Cookies.set("ss-mobile","pc",{expires:7,path:"/"}),location.reload(),!1},e}(),this.SS_Clipboard=function(){function e(){}return e.copy=function(e,t){var n,i,a;if(null==t&&(t={}),document.queryCommandSupported("copy"))try{return a="position: absolute; overflow: hidden; width: 0; height: 0;",a+="border: none; box-shadow: none; background: transparent; resize: none;",n=$("<textarea style='"+a+"'>"+e+"</textarea>"),$("body").after(n),n.select(),document.execCommand("copy"),n.remove(),t.success_alert&&alert("\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\u3002"),!0}catch(r){return i=r,console.log(i),alert("\u30b3\u30d4\u30fc\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002"),!1}},e.renderCopy=function(){return $(".js-clipboard-copy").each(function(){var e,t;return!(t=$(this).text())||(e="\u30b3\u30d4\u30fc",$(this).append("<a href='#' class='clipboard-copy-button' data-text='"+t+"'>"+e+"</a>"))}),$(".clipboard-copy-button").click(function(){return $(".clipboard-copy-button").removeClass("copied"),e.copy($(this).data("text"))&&$(this).addClass("copied"),!1})},e}(),this.Cms_Editor_Module=function(){function e(){}return e.editorId="item_html",e.getEditorHtml=function(e){return null==e&&(e=null),e||(e=Cms_Form.editorId),"undefined"!=typeof tinymce?tinymce.get(e).getContent():"undefined"!=typeof CKEDITOR?CKEDITOR.instances[e].getData():""},e.setEditorHtml=function(e,t){var n=null;return(t=t||{}).id&&(n=t.id),n||(n=Cms_Form.editorId),"undefined"!=typeof tinymce?tinymce.get(n).setContent(e):"undefined"!=typeof CKEDITOR?CKEDITOR.instances[n].setData(e):void 0},e}(),this.Cms_Editor_CodeMirror=function(){function n(){}return n.render=function(e,n){return null==n&&(n={}),$(e).each(function(){var e,t;return t=$(this),(e=CodeMirror.fromTextArea(t.get(0),n)).setSize(null,t.height()),n.readonly&&e.refresh(),t.data("editor",e)})},n.lock=function(e,t){return n.setOption(e,t),$(document).on("change",e,function(){return n.setOption(e,t)})},n.setOption=function(e,t){var n;return n=$(t).next(".CodeMirror")[0].CodeMirror,""===$(e).val()?(n.setOption("mode","text/html"),n.setOption("readOnly",!1)):(n.setOption("mode","text/plain"),n.setOption("readOnly",!0))},n}(),this.Cms_Editor_CKEditor=function(){function e(){}return e.render=function(e,t){null==t&&(t={}),$(e).ckeditor(t).editor.on("change",function(){SS.formChanged=!0}),CKEDITOR.on("dialogDefinition",function(e){var t,n,i,a;if(i=e.data.name,t=e.data.definition,"table"===i||"tableProperties"===i)return(a=(n=t.getContents("info")).get("txtWidth"))["default"]="",(a=n.get("txtCellSpace")).controlStyle="display: none",a.label="",a["default"]="",(a=n.get("txtCellPad")).controlStyle="display: none",a.label="",a["default"]="",(a=n.get("txtBorder")).controlStyle="display: none",a.label="",a["default"]="",(a=n.get("txtSummary")).controlStyle="display: none",a.label="",a["default"]=""})},e}(),this.Cms_Editor_TinyMCE=function(){function e(){}return e.render=function(e,t){return null==t&&(t={}),t.selector=e,tinymce.init(t)},e}(),this.Ads_Banner=function(){function e(){}return e.randomize=function(e){var t;return(t=$(e)).find("a").parent("span").sort(function(){return Math.random()-.5}).each(function(){return t.append($(this))})},e}(),this.Event_Monthly=function(){function e(){}return e.render=function(){$(".event-pages-filter a[data-id!=all]").on("click",function(){$(".event-pages-filter a[data-id=all]").removeClass("clicked"),$(this).hasClass("clicked")?$(this).removeClass("clicked"):$(this).addClass("clicked");var n=[];return $(".event-pages-filter a.clicked").each(function(){var e=parseInt($(this).attr("data-id"));if(!isNaN(e))return n.push(e)}),$("#event-list .page").each(function(){var e=[];$.each($(this).attr("data-id").split(" "),function(){return e.push(parseInt(this))});var t=!1;return $.each(n,function(){if(0<=$.inArray(parseInt(this),e))return!(t=!0)}),t?$(this).show():$(this).hide()}),!1}),$(".event-pages-filter a[data-id=all]").on("click",function(){return $(this).hasClass("clicked")||($(this).addClass("clicked"),$(".event-pages-filter a[data-id!=all]").removeClass("clicked"),$("#event-list .page").show()),!1})},e}(),this.Event_Calendar=function(){function e(){}return e.render=function(i){var a;return a=function(e){var t,n;return n=$(e).attr("data-year"),t=$(e).attr("data-month"),$.ajax({type:"GET",url:i+"?year="+n+"&month="+t,cache:!1,success:function(e){var t;t="<div>"+e+"</div>",$(".event-calendar").replaceWith($(t).find(".event-calendar")),$(".calendar-nav a.paginate").on("click",function(){return a(this),!1})},error:function(){},complete:function(){$(".event-calendar .calendar").hide().fadeIn("fast")}})},$(".calendar-nav a.paginate").on("click",function(){return a(this),!1})},e}(),Inquiry_Form=function(e){this.options=e,this.render()},Inquiry_Form.instance=null,Inquiry_Form.render=function(e){Inquiry_Form.instance||(Inquiry_Form.instance=new Inquiry_Form(e))},Inquiry_Form.prototype.render=function(){$(".inquiry-form input").on("keypress",function(e){return!(e.which&&13===e.which||e.keyCode&&13===e.keyCode)});var e=this;$(document).on("change",'.form-select input[type="radio"]',function(){return e.changeForm()}),0<$(".form-select").length&&this.changeForm()},Inquiry_Form.prototype.collectSelectFormValues=function(){var e;e=this.options.confirm?'input[type="hidden"]':'input[type="radio"]:checked';var t=[];return $(".form-select "+e).each(function(){var e=$(this).val();t.indexOf(e)<0&&t.push(e)}),t},Inquiry_Form.prototype.intersect=function(e,t){return e.filter(function(e){return-1!==t.indexOf(e)})},Inquiry_Form.prototype.changeForm=function(){var t=this,n=this.collectSelectFormValues();$(".select-form-target").each(function(){if(0<t.intersect(n,$(this).data("select-form")).length){if(0===$(this).find("span.required").length){var e=$("<span/>").attr("class","required").text(t.options.requiredLabel);t.options.confirm?e.appendTo($(this).children("dt")):e.appendTo($(this).children("legend"))}}else $(this).find("span.required").remove()})},function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=e()}(function(){return function r(o,s,l){function u(t,e){if(!s[t]){if(!o[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(d)return d(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var a=s[t]={exports:{}};o[t][0].call(a.exports,function(e){return u(o[t][1][e]||e)},a,a.exports,r,o,s,l)}return s[t].exports}for(var d="function"==typeof require&&require,e=0;e<l.length;e++)u(l[e]);return u}({1:[function(){},{}],2:[function(e,t){function n(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(var a=0;a<t.length;a++)t[a]=parseInt(i[a]+i[a],16)}else if(i=e.match(/^#([a-fA-F0-9]{6})$/i))for(i=i[1],a=0;a<t.length;a++)t[a]=parseInt(i.slice(2*a,2*a+2),16);else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=e.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=d[i[1]]))return}for(a=0;a<t.length;a++)t[a]=l(t[a],0,255);return n=n||0==n?l(n,0,1):1,t[3]=n,t}}function i(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}}}function a(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}}}function r(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function o(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function s(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function l(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var d=e(6);t.exports={getRgba:n,getHsla:i,getRgb:function(e){var t=n(e);return t&&t.slice(0,3)},getHsl:function(e){var t=i(e);return t&&t.slice(0,3)},getHwb:a,getAlpha:function(e){var t=n(e);return t?t[3]:(t=i(e))?t[3]:(t=a(e))?t[3]:void 0},hexString:function(e){return"#"+u(e[0])+u(e[1])+u(e[2])},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?r(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:r,percentString:function(e,t){return t<1||e[3]&&e[3]<1?o(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:o,hslString:function(e,t){return t<1||e[3]&&e[3]<1?s(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:s,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return c[e.slice(0,3)]}};var c={};for(var h in d)c[d[h]]=h},{6:6}],3:[function(e,t){var d=e(5),n=e(2),o=function(e){return e instanceof o?e:this instanceof o?(this.valid=!1,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},void("string"==typeof e?(t=n.getRgba(e))?this.setValues("rgb",t):(t=n.getHsla(e))?this.setValues("hsl",t):(t=n.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new o(e);var t};o.prototype={isValid:function(){return this.valid},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 e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return n.hexString(this.values.rgb)},rgbString:function(){return n.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return n.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return n.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return n.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return n.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return n.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return n.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var i=e[n]/255;t[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return n<t?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return 7.1<=t?"AAA":4.5<=t?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,i=e,a=void 0===t?.5:t,r=2*a-1,o=n.alpha()-i.alpha(),s=((r*o==-1?r:(r+o)/(1+r*o))+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()*a+i.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new o,i=this.values,a=n.values;for(var r in i)i.hasOwnProperty(r)&&(e=i[r],"[object Array]"===(t={}.toString.call(e))?a[r]=e.slice(0):"[object Number]"===t?a[r]=e:console.error("unexpected color value:",e));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(e){for(var t=this.values,n={},i=0;i<e.length;i++)n[e.charAt(i)]=t[e][i];return 1!==t.alpha&&(n.a=t.alpha),n},o.prototype.setValues=function(e,t){var n,i,a=this.values,r=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===e)s=t;else if(t.length)a[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)a[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[r[e][0]]){var l=r[e];for(n=0;n<e.length;n++)a[e][n]=t[l[n]];s=t.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===s?a.alpha:s)),"alpha"===e)return!1;for(n=0;n<e.length;n++)i=Math.max(0,Math.min(o[e][n],a[e][n])),a[e][n]=Math.round(i);for(var u in r)u!==e&&(a[u]=d[e][u](a[e]));return!0},o.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},o.prototype.setChannel=function(e,t,n){var i=this.values[e];return void 0===n?i[t]:(n===i[t]||(i[t]=n,this.setValues(e,i)),this)},"undefined"!=typeof window&&(window.Color=o),t.exports=o},{2:2,5:5}],4:[function(e,t){function a(e){var t,n,i=e[0]/255,a=e[1]/255,r=e[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return s==o?t=0:i==s?t=(a-r)/l:a==s?t=2+(r-i)/l:r==s&&(t=4+(i-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s==o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]}function n(e){var t,n,i=e[0],a=e[1],r=e[2],o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return n=0==s?0:l/s*1e3/10,s==o?t=0:i==s?t=(a-r)/l:a==s?t=2+(r-i)/l:r==s&&(t=4+(i-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,s/255*1e3/10]}function i(e){var t=e[0],n=e[1],i=e[2];return[a(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]}function o(e){var t,n=e[0]/255,i=e[1]/255,a=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-a)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]}function s(e){return _[JSON.stringify(e)]}function l(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*(.4124*(t=.04045<t?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=.04045<i?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]}function u(e){var t=l(e),n=t[0],i=t[1],a=t[2];return i/=100,a/=108.883,n=.008856<(n/=95.047)?Math.pow(n,1/3):7.787*n+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(a=.008856<a?Math.pow(a,1/3):7.787*a+16/116))]}function d(e){var t,n,i,a,r,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return[r=255*l,r,r];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,1<i&&i--,r=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t,a[u]=255*r;return a}function c(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,a=Math.floor(t)%6,r=t-Math.floor(t),o=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r));switch(i*=255,a){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,l=e[2]/100,u=s+l;switch(1<u&&(s/=u,l/=u),i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*((n=1-l)-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function f(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))]}function p(e){var t,n,i,a=e[0]/100,r=e[1]/100,o=e[2]/100;return n=-.9689*a+1.8758*r+.0415*o,i=.0557*a+-.204*r+1.057*o,t=.0031308<(t=3.2406*a+-1.5372*r+-.4986*o)?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=.0031308<n?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]}function m(e){var t=e[0],n=e[1],i=e[2];return n/=100,i/=108.883,t=.008856<(t/=95.047)?Math.pow(t,1/3):7.787*t+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116))]}function v(e){var t,n,i,a,r=e[0],o=e[1],s=e[2];return r<=8?a=(n=100*r/903.3)/100*7.787+16/116:(n=100*Math.pow((r+16)/116,3),a=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+a-16/116)/7.787:95.047*Math.pow(o/500+a,3),n,i=i/108.883<=.008859?i=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3)]}function y(e){var t,n=e[0],i=e[1],a=e[2];return(t=360*Math.atan2(a,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+a*a),t]}function x(e){return p(v(e))}function k(e){var t,n=e[0],i=e[1];return t=e[2]/360*2*Math.PI,[n,i*Math.cos(t),i*Math.sin(t)]}function w(e){return S[e]}t.exports={rgb2hsl:a,rgb2hsv:n,rgb2hwb:i,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:l,rgb2lab:u,rgb2lch:function(e){return y(u(e))},hsl2rgb:d,hsl2hsv:function(e){var t=e[0],n=e[1]/100,i=e[2]/100;return 0===i?[0,0,0]:[t,2*(n*=(i*=2)<=1?i:2-i)/(i+n)*100,(i+n)/2*100]},hsl2hwb:function(e){return i(d(e))},hsl2cmyk:function(e){return o(d(e))},hsl2keyword:function(e){return s(d(e))},hsv2rgb:c,hsv2hsl:function(e){var t,n,i=e[0],a=e[1]/100,r=e[2]/100;return t=a*r,[i,100*(t=(t/=(n=(2-a)*r)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return i(c(e))},hsv2cmyk:function(e){return o(c(e))},hsv2keyword:function(e){return s(c(e))},hwb2rgb:h,hwb2hsl:function(e){return a(h(e))},hwb2hsv:function(e){return n(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:f,cmyk2hsl:function(e){return a(f(e))},cmyk2hsv:function(e){return n(f(e))},cmyk2hwb:function(e){return i(f(e))},cmyk2keyword:function(e){return s(f(e))},keyword2rgb:w,keyword2hsl:function(e){return a(w(e))},keyword2hsv:function(e){return n(w(e))},keyword2hwb:function(e){return i(w(e))},keyword2cmyk:function(e){return o(w(e))},keyword2lab:function(e){return u(w(e))},keyword2xyz:function(e){return l(w(e))},xyz2rgb:p,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:k,lch2xyz:function(e){return v(k(e))},lch2rgb:function(e){return x(k(e))}};var S={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]},_={};for(var C in S)_[JSON.stringify(S[C])]=C},{}],5:[function(e,t){var a=e(4),r=function(){return new l};for(var n in a){r[n+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),a[t](e)}}(n);var i=/(\w+)2(\w+)/.exec(n),o=i[1],s=i[2];(r[o]=r[o]||{})[s]=r[n]=function(i){return function(e){
  "number"==typeof e&&(e=Array.prototype.slice.call(arguments));var t=a[i](e);if("string"==typeof t||void 0===t)return t;for(var n=0;n<t.length;n++)t[n]=Math.round(t[n]);return t}}(n)}var l=function(){this.convs={}};l.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},l.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},l.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,i=this.convs[n];t=r[n][e](i),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){l.prototype[e]=function(){return this.routeSpace(e,arguments)}}),t.exports=r},{4:4}],6:[function(e,t){"use strict";t.exports={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]}},{}],7:[function(e,t){var n=e(29)();n.helpers=e(45),e(27)(n),n.defaults=e(25),n.Element=e(26),n.elements=e(40),n.Interaction=e(28),n.layouts=e(30),n.platform=e(48),n.plugins=e(31),n.Ticks=e(34),e(22)(n),e(23)(n),e(24)(n),e(33)(n),e(32)(n),e(35)(n),e(55)(n),e(53)(n),e(54)(n),e(56)(n),e(57)(n),e(58)(n),e(15)(n),e(16)(n),e(17)(n),e(18)(n),e(19)(n),e(20)(n),e(21)(n),e(8)(n),e(9)(n),e(10)(n),e(11)(n),e(12)(n),e(13)(n),e(14)(n);var i=e(49);for(var a in i)i.hasOwnProperty(a)&&n.plugins.register(i[a]);n.platform.initialize(),t.exports=n,"undefined"!=typeof window&&(window.Chart=n),n.Legend=i.legend._element,n.Title=i.title._element,n.pluginService=n.plugins,n.PluginBase=n.Element.extend({}),n.canvasHelpers=n.helpers.canvas,n.layoutService=n.layouts},{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,40:40,45:45,48:48,49:49,53:53,54:54,55:55,56:56,57:57,58:58,8:8,9:9}],8:[function(e,t){"use strict";t.exports=function(n){n.Bar=function(e,t){return t.type="bar",new n(e,t)}}},{}],9:[function(e,t){"use strict";t.exports=function(n){n.Bubble=function(e,t){return t.type="bubble",new n(e,t)}}},{}],10:[function(e,t){"use strict";t.exports=function(n){n.Doughnut=function(e,t){return t.type="doughnut",new n(e,t)}}},{}],11:[function(e,t){"use strict";t.exports=function(n){n.Line=function(e,t){return t.type="line",new n(e,t)}}},{}],12:[function(e,t){"use strict";t.exports=function(n){n.PolarArea=function(e,t){return t.type="polarArea",new n(e,t)}}},{}],13:[function(e,t){"use strict";t.exports=function(n){n.Radar=function(e,t){return t.type="radar",new n(e,t)}}},{}],14:[function(e,t){"use strict";t.exports=function(n){n.Scatter=function(e,t){return t.type="scatter",new n(e,t)}}},{}],15:[function(e,t){"use strict";var n=e(25),i=e(40),C=e(45);n._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),n._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(e,t){var n="";return 0<e.length&&(e[0].yLabel?n=e[0].yLabel:0<t.labels.length&&e[0].index<t.labels.length&&(n=t.labels[e[0].index])),n},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": "+e.xLabel}},mode:"index",axis:"y"}}),t.exports=function(t){t.controllers.bar=t.DatasetController.extend({dataElementType:i.Rectangle,initialize:function(){var e;t.DatasetController.prototype.initialize.apply(this,arguments),(e=this.getMeta()).stack=this.getDataset().stack,e.bar=!0},update:function(e){var t,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=i.length;t<n;++t)this.updateElement(i[t],t,e)},updateElement:function(e,t,n){var i=this,a=i.chart,r=i.getMeta(),o=i.getDataset(),s=e.custom||{},l=a.options.elements.rectangle;e._xScale=i.getScaleForId(r.xAxisID),e._yScale=i.getScaleForId(r.yAxisID),e._datasetIndex=i.index,e._index=t,e._model={datasetLabel:o.label,label:a.data.labels[t],borderSkipped:s.borderSkipped?s.borderSkipped:l.borderSkipped,backgroundColor:s.backgroundColor?s.backgroundColor:C.valueAtIndexOrDefault(o.backgroundColor,t,l.backgroundColor),borderColor:s.borderColor?s.borderColor:C.valueAtIndexOrDefault(o.borderColor,t,l.borderColor),borderWidth:s.borderWidth?s.borderWidth:C.valueAtIndexOrDefault(o.borderWidth,t,l.borderWidth)},i.updateElementGeometry(e,t,n),e.pivot()},updateElementGeometry:function(e,t,n){var i=this,a=e._model,r=i.getValueScale(),o=r.getBasePixel(),s=r.isHorizontal(),l=i._ruler||i.getRuler(),u=i.calculateBarValuePixels(i.index,t),d=i.calculateBarIndexPixels(i.index,t,l);a.horizontal=s,a.base=n?o:u.base,a.x=s?n?o:u.head:d.center,a.y=s?d.center:n?o:u.head,a.height=s?d.size:void 0,a.width=s?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(e){var t,n,i=this.chart,a=this.getIndexScale().options.stacked,r=void 0===e?i.data.datasets.length:e+1,o=[];for(t=0;t<r;++t)(n=i.getDatasetMeta(t)).bar&&i.isDatasetVisible(t)&&(!1===a||!0===a&&-1===o.indexOf(n.stack)||void 0===a&&(void 0===n.stack||-1===o.indexOf(n.stack)))&&o.push(n.stack);return o},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),i=void 0!==t?n.indexOf(t):-1;return-1===i?n.length-1:i},getRuler:function(){var e,t,n=this.getIndexScale(),i=this.getStackCount(),a=this.index,r=n.isHorizontal(),o=r?n.left:n.top,s=o+(r?n.width:n.height),l=[];for(e=0,t=this.getMeta().data.length;e<t;++e)l.push(n.getPixelForValue(null,e,a));return{min:C.isNullOrUndef(n.options.barThickness)?function(e,t){var n,i,a,r,o=e.isHorizontal()?e.width:e.height,s=e.getTicks();for(a=1,r=t.length;a<r;++a)o=Math.min(o,t[a]-t[a-1]);for(a=0,r=s.length;a<r;++a)i=e.getPixelForTick(a),o=0<a?Math.min(o,i-n):o,n=i;return o}(n,l):-1,pixels:l,start:o,end:s,stackCount:i,scale:n}},calculateBarValuePixels:function(e,t){var n,i,a,r,o,s,l=this.chart,u=this.getMeta(),d=this.getValueScale(),c=l.data.datasets,h=d.getRightValue(c[e].data[t]),f=d.options.stacked,p=u.stack,m=0;if(f||void 0===f&&void 0!==p)for(n=0;n<e;++n)(i=l.getDatasetMeta(n)).bar&&i.stack===p&&i.controller.getValueScaleId()===d.id&&l.isDatasetVisible(n)&&(a=d.getRightValue(c[n].data[t]),(h<0&&a<0||0<=h&&0<a)&&(m+=a));return r=d.getPixelForValue(m),{size:s=((o=d.getPixelForValue(m+h))-r)/2,base:r,head:o,center:o+s/2}},calculateBarIndexPixels:function(e,t,n){var i,a,r,o,s,l,u,d,c,h,f,p,m,g,v,y,b,x=n.scale.options,k="flex"===x.barThickness?(c=t,f=x,g=(m=(h=n).pixels)[c],v=0<c?m[c-1]:null,y=c<m.length-1?m[c+1]:null,b=f.categoryPercentage,null===v&&(v=g-(null===y?h.end-g:y-g)),null===y&&(y=g+g-v),p=g-(g-v)/2*b,{chunk:(y-v)/2*b/h.stackCount,ratio:f.barPercentage,start:p}):(i=t,a=n,l=(r=x).barThickness,u=a.stackCount,d=a.pixels[i],C.isNullOrUndef(l)?(o=a.min*r.categoryPercentage,s=r.barPercentage):(o=l*u,s=1),{chunk:o/u,ratio:s,start:d-o/2}),w=this.getStackIndex(e,this.getMeta().stack),S=k.start+k.chunk*w+k.chunk/2,_=Math.min(C.valueOrDefault(x.maxBarThickness,1/0),k.chunk*k.ratio);return{base:S-_/2,head:S+_/2,center:S,size:_}},draw:function(){var e=this.chart,t=this.getValueScale(),n=this.getMeta().data,i=this.getDataset(),a=n.length,r=0;for(C.canvas.clipArea(e.ctx,e.chartArea);r<a;++r)isNaN(t.getRightValue(i.data[r]))||n[r].draw();C.canvas.unclipArea(e.ctx)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},a=e._model;a.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:C.valueAtIndexOrDefault(t.hoverBackgroundColor,n,C.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor?i.hoverBorderColor:C.valueAtIndexOrDefault(t.hoverBorderColor,n,C.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:C.valueAtIndexOrDefault(t.hoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},a=e._model,r=this.chart.options.elements.rectangle;a.backgroundColor=i.backgroundColor?i.backgroundColor:C.valueAtIndexOrDefault(t.backgroundColor,n,r.backgroundColor),a.borderColor=i.borderColor?i.borderColor:C.valueAtIndexOrDefault(t.borderColor,n,r.borderColor),a.borderWidth=i.borderWidth?i.borderWidth:C.valueAtIndexOrDefault(t.borderWidth,n,r.borderWidth)}}),t.controllers.horizontalBar=t.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(e,t){"use strict";var n=e(25),i=e(40),p=e(45);n._set("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(e,t){var n=t.datasets[e.datasetIndex].label||"",i=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+i.r+")"}}}}),t.exports=function(e){e.controllers.bubble=e.DatasetController.extend({dataElementType:i.Point,update:function(n){var i=this,e=i.getMeta().data;p.each(e,function(e,t){i.updateElement(e,t,n)})},updateElement:function(e,t,n){var i=this,a=i.getMeta(),r=e.custom||{},o=i.getScaleForId(a.xAxisID),s=i.getScaleForId(a.yAxisID),l=i._resolveElementOptions(e,t),u=i.getDataset().data[t],d=i.index,c=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,t,d),h=n?s.getBasePixel():s.getPixelForValue(u,t,d);e._xScale=o,e._yScale=s,e._options=l,e._datasetIndex=d,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:n?0:l.radius,skip:r.skip||isNaN(c)||isNaN(h),x:c,y:h},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options;t.backgroundColor=p.valueOrDefault(n.hoverBackgroundColor,p.getHoverColor(n.backgroundColor)),t.borderColor=p.valueOrDefault(n.hoverBorderColor,p.getHoverColor(n.borderColor)),t.borderWidth=p.valueOrDefault(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},removeHoverStyle:function(e){var t=e._model,n=e._options;t.backgroundColor=n.backgroundColor,t.borderColor=n.borderColor,t.borderWidth=n.borderWidth,t.radius=n.radius},_resolveElementOptions:function(e,t){var n,i,a,r=this.chart,o=r.data.datasets[this.index],s=e.custom||{},l=r.options.elements.point,u=p.options.resolve,d=o.data[t],c={},h={chart:r,dataIndex:t,dataset:o,datasetIndex:this.index},f=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=f.length;n<i;++n)c[a=f[n]]=u([s[a],o[a],l[a]],h,t);return c.radius=u([s.radius,d?d.r:void 0,o.radius,l.radius],h,t),c}})}},{25:25,40:40,45:45}],17:[function(e,t){"use strict";var n=e(25),i=e(40),j=e(45);n._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)t.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&t.push(a[r]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(l){var u=l.data;return u.labels.length&&u.datasets.length?u.labels.map(function(e,t){var n=l.getDatasetMeta(0),i=u.datasets[0],a=n.data[t],r=a&&a.custom||{},o=j.valueAtIndexOrDefault,s=l.options.elements.arc;return{text:e,fillStyle:r.backgroundColor?r.backgroundColor:o(i.backgroundColor,t,s.backgroundColor),strokeStyle:r.borderColor?r.borderColor:o(i.borderColor,t,s.borderColor),lineWidth:r.borderWidth?r.borderWidth:o(i.borderWidth,t,s.borderWidth),hidden:isNaN(i.data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,i,a,r=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r]&&(a.data[r].hidden=!a.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],i=": "+t.datasets[e.datasetIndex].data[e.index];return j.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}}),n._set("pie",j.clone(n.doughnut)),n._set("pie",{cutoutPercentage:0}),t.exports=function(t){t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:i.Arc,linkScales:j.noop,getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(n){var i=this,e=i.chart,t=e.chartArea,a=e.options,r=a.elements.arc,o=t.right-t.left-r.borderWidth,s=t.bottom-t.top-r.borderWidth,l=Math.min(o,s),u={x:0,y:0},d=i.getMeta(),c=a.cutoutPercentage,h=a.circumference;if(h<2*Math.PI){var f=a.rotation%(2*Math.PI),p=(f+=2*Math.PI*(f>=Math.PI?-1:f<-Math.PI?1:0))+h,m=Math.cos(f),g=Math.sin(f),v=Math.cos(p),y=Math.sin(p),b=f<=0&&0<=p||f<=2*Math.PI&&2*Math.PI<=p,x=f<=.5*Math.PI&&.5*Math.PI<=p||f<=2.5*Math.PI&&2.5*Math.PI<=p,k=f<=-Math.PI&&-Math.PI<=p||f<=Math.PI&&Math.PI<=p,w=f<=.5*-Math.PI&&.5*-Math.PI<=p||f<=1.5*Math.PI&&1.5*Math.PI<=p,S=c/100,_=k?-1:Math.min(m*(m<0?1:S),v*(v<0?1:S)),C=w?-1:Math.min(g*(g<0?1:S),y*(y<0?1:S)),M=b?1:Math.max(m*(0<m?1:S),v*(0<v?1:S)),T=x?1:Math.max(g*(0<g?1:S),y*(0<y?1:S)),P=.5*(M-_),D=.5*(T-C);l=Math.min(o/P,s/D),u={x:-.5*(M+_),y:-.5*(T+C)}}e.borderWidth=i.getMaxBorderWidth(d.data),e.outerRadius=Math.max((l-e.borderWidth)/2,0),e.innerRadius=Math.max(c?e.outerRadius/100*c:0,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),e.offsetX=u.x*e.outerRadius,e.offsetY=u.y*e.outerRadius,d.total=i.calculateTotal(),i.outerRadius=e.outerRadius-e.radiusLength*i.getRingIndex(i.index),i.innerRadius=Math.max(i.outerRadius-e.radiusLength,0),j.each(d.data,function(e,t){i.updateElement(e,t,n)})},updateElement:function(e,t,n){var i=this,a=i.chart,r=a.chartArea,o=a.options,s=o.animation,l=(r.left+r.right)/2,u=(r.top+r.bottom)/2,d=o.rotation,c=o.rotation,h=i.getDataset(),f=n&&s.animateRotate?0:e.hidden?0:i.calculateCircumference(h.data[t])*(o.circumference/(2*Math.PI)),p=n&&s.animateScale?0:i.innerRadius,m=n&&s.animateScale?0:i.outerRadius,g=j.valueAtIndexOrDefault;j.extend(e,{_datasetIndex:i.index,_index:t,_model:{x:l+a.offsetX,y:u+a.offsetY,startAngle:d,endAngle:c,circumference:f,outerRadius:m,innerRadius:p,label:g(h.label,t,a.data.labels[t])}});var v=e._model;this.removeHoverStyle(e),n&&s.animateRotate||(v.startAngle=0===t?o.rotation:i.getMeta().data[t-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),e.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var n,i=this.getDataset(),e=this.getMeta(),a=0;return j.each(e.data,function(e,t){n=i.data[t],isNaN(n)||e.hidden||(a+=Math.abs(n))}),a},calculateCircumference:function(e){var t=this.getMeta().total;return 0<t&&!isNaN(e)?2*Math.PI*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){for(var t,n,i=0,a=this.index,r=e.length,o=0;o<r;o++)t=e[o]._model?e[o]._model.borderWidth:0,i=(n=e[o]._chart?e[o]._chart.config.data.datasets[a].hoverBorderWidth:0)>(i=i<t?t:i)?n:i;return i}})}},{25:25,40:40,45:45}],18:[function(e,t){"use strict";var n=e(25),i=e(40),p=e(45);n._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),t.exports=function(e){function f(e,t){return p.valueOrDefault(e.showLine,t.showLines)}e.controllers.line=e.DatasetController.extend({datasetElementType:i.Line,dataElementType:i.Point,update:function(e){var t,n,i,a=this,r=a.getMeta(),o=r.dataset,s=r.data||[],l=a.chart.options,u=l.elements.line,d=a.getScaleForId(r.yAxisID),c=a.getDataset(),h=f(c,l);for(h&&(i=o.custom||{},void 0!==c.tension&&void 0===c.lineTension&&(c.lineTension=c.tension),o._scale=d,o._datasetIndex=a.index,o._children=s,o._model={spanGaps:c.spanGaps?c.spanGaps:l.spanGaps,tension:i.tension?i.tension:p.valueOrDefault(c.lineTension,u.tension),backgroundColor:i.backgroundColor?i.backgroundColor:c.backgroundColor||u.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:c.borderWidth||u.borderWidth,borderColor:i.borderColor?i.borderColor:c.borderColor||u.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:c.borderCapStyle||u.borderCapStyle,borderDash:i.borderDash?i.borderDash:c.borderDash||u.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:c.borderDashOffset||u.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:c.borderJoinStyle||u.borderJoinStyle,fill:i.fill?i.fill:void 0!==c.fill?c.fill:u.fill,steppedLine:i.steppedLine?i.steppedLine:p.valueOrDefault(c.steppedLine,u.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:p.valueOrDefault(c.cubicInterpolationMode,u.cubicInterpolationMode)},o.pivot()),t=0,n=s.length;t<n;++t)a.updateElement(s[t],t,e);for(h&&0!==o._model.tension&&a.updateBezierControlPoints(),t=0,n=s.length;t<n;++t)s[t].pivot()},getPointBackgroundColor:function(e,t){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),a=e.custom||{};return a.backgroundColor?n=a.backgroundColor:i.pointBackgroundColor?n=p.valueAtIndexOrDefault(i.pointBackgroundColor,t,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(e,t){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),a=e.custom||{};return a.borderColor?n=a.borderColor:i.pointBorderColor?n=p.valueAtIndexOrDefault(i.pointBorderColor,t,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(e,t){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),a=e.custom||{};return isNaN(a.borderWidth)?!isNaN(i.pointBorderWidth)||p.isArray(i.pointBorderWidth)?n=p.valueAtIndexOrDefault(i.pointBorderWidth,t,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=a.borderWidth,n},updateElement:function(e,t,n){var i,a,r=this,o=r.getMeta(),s=e.custom||{},l=r.getDataset(),u=r.index,d=l.data[t],c=r.getScaleForId(o.yAxisID),h=r.getScaleForId(o.xAxisID),f=r.chart.options.elements.point;void 0!==l.radius&&void 0===l.pointRadius&&(l.pointRadius=l.radius),void 0!==l.hitRadius&&void 0===l.pointHitRadius&&(l.pointHitRadius=l.hitRadius),i=h.getPixelForValue("object"==typeof d?d:NaN,t,u),a=n?c.getBasePixel():r.calculatePointY(d,t,u),e._xScale=h,e._yScale=c,e._datasetIndex=u,e._index=t,e._model={x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:s.radius||p.valueAtIndexOrDefault(l.pointRadius,t,f.radius),pointStyle:s.pointStyle||p.valueAtIndexOrDefault(l.pointStyle,t,f.pointStyle),backgroundColor:r.getPointBackgroundColor(e,t),borderColor:r.getPointBorderColor(e,t),borderWidth:r.getPointBorderWidth(e,t),tension:o.dataset._model?o.dataset._model.tension:0,steppedLine:!!o.dataset._model&&o.dataset._model.steppedLine,hitRadius:s.hitRadius||p.valueAtIndexOrDefault(l.pointHitRadius,t,f.hitRadius)}},calculatePointY:function(e,t,n){var i,a,r,o=this.chart,s=this.getMeta(),l=this.getScaleForId(s.yAxisID),u=0,d=0;if(l.options.stacked){for(i=0;i<n;i++)if(a=o.data.datasets[i],"line"===(r=o.getDatasetMeta(i)).type&&r.yAxisID===l.id&&o.isDatasetVisible(i)){var c=Number(l.getRightValue(a.data[t]));c<0?d+=c||0:u+=c||0}var h=Number(l.getRightValue(e));return h<0?l.getPixelForValue(d+h):l.getPixelForValue(u+h)}return l.getPixelForValue(e)},updateBezierControlPoints:function(){function e(e,t,n){return Math.max(Math.min(e,n),t)}var t,n,i,a,r=this.getMeta(),o=this.chart.chartArea,s=r.data||[];if(r.dataset._model.spanGaps&&(s=s.filter(function(e){return!e._model.skip})),"monotone"===r.dataset._model.cubicInterpolationMode)p.splineCurveMonotone(s);else for(t=0,n=s.length;t<n;++t)i=s[t]._model,a=p.splineCurve(p.previousItem(s,t)._model,i,p.nextItem(s,t)._model,r.dataset._model.tension),i.controlPointPreviousX=a.previous.x,i.controlPointPreviousY=a.previous.y,i.controlPointNextX=a.next.x,i.controlPointNextY=a.next.y;if(this.chart.options.elements.line.capBezierPoints)for(t=0,n=s.length;t<n;++t)(i=s[t]._model).controlPointPreviousX=e(i.controlPointPreviousX,o.left,o.right),i.controlPointPreviousY=e(i.controlPointPreviousY,o.top,o.bottom),i.controlPointNextX=e(i.controlPointNextX,o.left,o.right),i.controlPointNextY=e(i.controlPointNextY,o.top,o.bottom)},draw:function(){var e=this.chart,t=this.getMeta(),n=t.data||[],i=e.chartArea,a=n.length,r=0;for(p.canvas.clipArea(e.ctx,i),f(this.getDataset(),e.options)&&t.dataset.draw(),p.canvas.unclipArea(e.ctx);r<a;++r)n[r].draw(i)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},a=e._model;a.radius=i.hoverRadius||p.valueAtIndexOrDefault(t.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),a.backgroundColor=i.hoverBackgroundColor||p.valueAtIndexOrDefault(t.pointHoverBackgroundColor,n,p.getHoverColor(a.backgroundColor)),a.borderColor=i.hoverBorderColor||p.valueAtIndexOrDefault(t.pointHoverBorderColor,n,p.getHoverColor(a.borderColor)),a.borderWidth=i.hoverBorderWidth||p.valueAtIndexOrDefault(t.pointHoverBorderWidth,n,a.borderWidth)},removeHoverStyle:function(e){var t=this,n=t.chart.data.datasets[e._datasetIndex],i=e._index,a=e.custom||{},r=e._model;void 0!==n.radius&&void 0===n.pointRadius&&(n.pointRadius=n.radius),r.radius=a.radius||p.valueAtIndexOrDefault(n.pointRadius,i,t.chart.options.elements.point.radius),r.backgroundColor=t.getPointBackgroundColor(e,i),r.borderColor=t.getPointBorderColor(e,i),r.borderWidth=t.getPointBorderWidth(e,i)}})}},{25:25,40:40,45:45}],19:[function(e,t){"use strict";var n=e(25),i=e(40),k=e(45);n._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,i=n.datasets,a=n.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)t.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),a[r]&&t.push(a[r]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(e,t){var n=s.getDatasetMeta(0),i=l.datasets[0],a=n.data[t].custom||{},r=k.valueAtIndexOrDefault,o=s.options.elements.arc;return{text:e,fillStyle:a.backgroundColor?a.backgroundColor:r(i.backgroundColor,t,o.backgroundColor),strokeStyle:a.borderColor?a.borderColor:r(i.borderColor,t,o.borderColor),lineWidth:a.borderWidth?a.borderWidth:r(i.borderWidth,t,o.borderWidth),hidden:isNaN(i.data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,i,a,r=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r].hidden=!a.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}}),t.exports=function(t){t.controllers.polarArea=t.DatasetController.extend({dataElementType:i.Arc,linkScales:k.noop,update:function(n){var i=this,e=i.chart,t=e.chartArea,a=i.getMeta(),r=e.options,o=r.elements.arc,s=Math.min(t.right-t.left,t.bottom-t.top);e.outerRadius=Math.max((s-o.borderWidth/2)/2,0),e.innerRadius=Math.max(r.cutoutPercentage?e.outerRadius/100*r.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),i.outerRadius=e.outerRadius-e.radiusLength*i.index,i.innerRadius=i.outerRadius-e.radiusLength,a.count=i.countVisibleElements(),k.each(a.data,function(e,t){i.updateElement(e,t,n)})},updateElement:function(e,t,n){for(var i=this,a=i.chart,r=i.getDataset(),o=a.options,s=o.animation,l=a.scale,u=a.data.labels,d=i.calculateCircumference(r.data[t]),c=l.xCenter,h=l.yCenter,f=0,p=i.getMeta(),m=0;m<t;++m)isNaN(r.data[m])||p.data[m].hidden||++f;var g=o.startAngle,v=e.hidden?0:l.getDistanceFromCenterForValue(r.data[t]),y=g+d*f,b=y+(e.hidden?0:d),x=s.animateScale?0:l.getDistanceFromCenterForValue(r.data[t]);k.extend(e,{_datasetIndex:i.index,_index:t,_scale:l,_model:{x:c,y:h,innerRadius:0,outerRadius:n?x:v,startAngle:n&&s.animateRotate?g:y,endAngle:n&&s.animateRotate?g:b,label:k.valueAtIndexOrDefault(u,t,u[t])}}),i.removeHoverStyle(e),e.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},countVisibleElements:function(){var n=this.getDataset(),e=this.getMeta(),i=0;return k.each(e.data,function(e,t){isNaN(n.data[t])||e.hidden||i++}),i},calculateCircumference:function(e){var t=this.getMeta().count;return 0<t&&!isNaN(e)?2*Math.PI/t:0}})}},{25:25,40:40,45:45}],20:[function(e,t){"use strict";var n=e(25),i=e(40),u=e(45);n._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),t.exports=function(e){e.controllers.radar=e.DatasetController.extend({datasetElementType:i.Line,dataElementType:i.Point,linkScales:u.noop,update:function(n){var i=this,e=i.getMeta(),t=e.dataset,a=e.data,r=t.custom||{},o=i.getDataset(),s=i.chart.options.elements.line,l=i.chart.scale;void 0!==o.tension&&void 0===o.lineTension&&(o.lineTension=o.tension),u.extend(e.dataset,{_datasetIndex:i.index,_scale:l,_children:a,_loop:!0,_model:{tension:r.tension?r.tension:u.valueOrDefault(o.lineTension,s.tension),backgroundColor:r.backgroundColor?r.backgroundColor:o.backgroundColor||s.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:o.borderWidth||s.borderWidth,borderColor:r.borderColor?r.borderColor:o.borderColor||s.borderColor,fill:r.fill?r.fill:void 0!==o.fill?o.fill:s.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:o.borderCapStyle||s.borderCapStyle,borderDash:r.borderDash?r.borderDash:o.borderDash||s.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:o.borderDashOffset||s.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:o.borderJoinStyle||s.borderJoinStyle}}),e.dataset.pivot(),u.each(a,function(e,t){i.updateElement(e,t,n)},i),i.updateBezierControlPoints()},updateElement:function(e,t,n){var i=this,a=e.custom||{},r=i.getDataset(),o=i.chart.scale,s=i.chart.options.elements.point,l=o.getPointPositionForValue(t,r.data[t]);void 0!==r.radius&&void 0===r.pointRadius&&(r.pointRadius=r.radius),void 0!==r.hitRadius&&void 0===r.pointHitRadius&&(r.pointHitRadius=r.hitRadius),u.extend(e,{_datasetIndex:i.index,_index:t,_scale:o,_model:{x:n?o.xCenter:l.x,y:n?o.yCenter:l.y,tension:a.tension?a.tension:u.valueOrDefault(r.lineTension,i.chart.options.elements.line.tension),radius:a.radius?a.radius:u.valueAtIndexOrDefault(r.pointRadius,t,s.radius),backgroundColor:a.backgroundColor?a.backgroundColor:u.valueAtIndexOrDefault(r.pointBackgroundColor,t,s.backgroundColor),borderColor:a.borderColor?a.borderColor:u.valueAtIndexOrDefault(r.pointBorderColor,t,s.borderColor),borderWidth:a.borderWidth?a.borderWidth:u.valueAtIndexOrDefault(r.pointBorderWidth,t,s.borderWidth),pointStyle:a.pointStyle?a.pointStyle:u.valueAtIndexOrDefault(r.pointStyle,t,s.pointStyle),hitRadius:a.hitRadius?a.hitRadius:u.valueAtIndexOrDefault(r.pointHitRadius,t,s.hitRadius)}}),e._model.skip=a.skip?a.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var a=this.chart.chartArea,r=this.getMeta();u.each(r.data,function(e,t){var n=e._model,i=u.splineCurve(u.previousItem(r.data,t,!0)._model,n,u.nextItem(r.data,t,!0)._model,n.tension);n.controlPointPreviousX=Math.max(Math.min(i.previous.x,a.right),a.left),n.controlPointPreviousY=Math.max(Math.min(i.previous.y,a.bottom),a.top),n.controlPointNextX=Math.max(Math.min(i.next.x,a.right),a.left),n.controlPointNextY=Math.max(Math.min(i.next.y,a.bottom),a.top),e.pivot()})},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e.custom||{},i=e._index,a=e._model;a.radius=n.hoverRadius?n.hoverRadius:u.valueAtIndexOrDefault(t.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),a.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:u.valueAtIndexOrDefault(t.pointHoverBackgroundColor,i,u.getHoverColor(a.backgroundColor)),a.borderColor=n.hoverBorderColor?n.hoverBorderColor:u.valueAtIndexOrDefault(t.pointHoverBorderColor,i,u.getHoverColor(a.borderColor)),a.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:u.valueAtIndexOrDefault(t.pointHoverBorderWidth,i,a.borderWidth)},removeHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e.custom||{},i=e._index,a=e._model,r=this.chart.options.elements.point;a.radius=n.radius?n.radius:u.valueAtIndexOrDefault(t.pointRadius,i,r.radius),a.backgroundColor=n.backgroundColor?n.backgroundColor:u.valueAtIndexOrDefault(t.pointBackgroundColor,i,r.backgroundColor),a.borderColor=n.borderColor?n.borderColor:u.valueAtIndexOrDefault(t.pointBorderColor,i,r.borderColor),a.borderWidth=n.borderWidth?n.borderWidth:u.valueAtIndexOrDefault(t.pointBorderWidth,i,r.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(e,t){"use strict";e(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),
  t.exports=function(e){e.controllers.scatter=e.controllers.line}},{25:25}],22:[function(e,t){"use strict";var n=e(25),i=e(26),r=e(45);n._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:r.noop,onComplete:r.noop}}),t.exports=function(e){e.Animation=i.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),e.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,i){var a,r,o=this.animations;for(t.chart=e,i||(e.animating=!0),a=0,r=o.length;a<r;++a)if(o[a].chart===e)return void(o[a]=t);o.push(t),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=r.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=r.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){var e=this,t=Date.now(),n=0;1<e.dropFrames&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1),e.advance(1+n);var i=Date.now();e.dropFrames+=(i-t)/e.frameDuration,0<e.animations.length&&e.requestAnimationFrame()},advance:function(e){for(var t,n,i=this.animations,a=0;a<i.length;)n=(t=i[a]).chart,t.currentStep=(t.currentStep||0)+e,t.currentStep=Math.min(t.currentStep,t.numSteps),r.callback(t.render,[n,t],n),r.callback(t.onAnimationProgress,[t],n),t.currentStep>=t.numSteps?(r.callback(t.onAnimationComplete,[t],n),n.animating=!1,i.splice(a,1)):++a}},Object.defineProperty(e.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(e.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}})}},{25:25,26:26,45:45}],23:[function(e,t){"use strict";var c=e(25),h=e(45),a=e(28),o=e(30),f=e(48),l=e(31);t.exports=function(u){function d(e){return"top"===e||"bottom"===e}u.types={},u.instances={},u.controllers={},h.extend(u.prototype,{construct:function(e,t){var n,i,a=this;(i=(n=(n=t)||{}).data=n.data||{}).datasets=i.datasets||[],i.labels=i.labels||[],n.options=h.configMerge(c.global,c[n.type],n.options||{}),t=n;var r=f.acquireContext(e,t),o=r&&r.canvas,s=o&&o.height,l=o&&o.width;a.id=h.uid(),a.ctx=r,a.canvas=o,a.config=t,a.width=l,a.height=s,a.aspectRatio=s?l/s:null,a.options=t.options,a._bufferedRender=!1,(a.chart=a).controller=a,u.instances[a.id]=a,Object.defineProperty(a,"data",{get:function(){return a.config.data},set:function(e){a.config.data=e}}),r&&o?(a.initialize(),a.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return l.notify(e,"beforeInit"),h.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.initToolTip(),l.notify(e,"afterInit"),e},clear:function(){return h.canvas.clear(this),this},stop:function(){return u.animationService.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,a=n.maintainAspectRatio&&t.aspectRatio||null,r=Math.max(0,Math.floor(h.getMaximumWidth(i))),o=Math.max(0,Math.floor(a?r/a:h.getMaximumHeight(i)));if((t.width!==r||t.height!==o)&&(i.width=t.width=r,i.height=t.height=o,i.style.width=r+"px",i.style.height=o+"px",h.retinaScale(t,n.devicePixelRatio),!e)){var s={width:r,height:o};l.notify(t,"resize",[s]),t.options.onResize&&t.options.onResize(t,s),t.stop(),t.update(t.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;h.each(t.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),h.each(t.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var o=this,e=o.options,s=o.scales||{},t=[],l=Object.keys(s).reduce(function(e,t){return e[t]=!1,e},{});e.scales&&(t=t.concat((e.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),e.scale&&t.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),h.each(t,function(e){var t=e.options,n=t.id,i=h.valueOrDefault(t.type,e.dtype);d(t.position)!==d(e.dposition)&&(t.position=e.dposition),l[n]=!0;var a=null;if(n in s&&s[n].type===i)(a=s[n]).options=t,a.ctx=o.ctx,a.chart=o;else{var r=u.scaleService.getScaleConstructor(i);if(!r)return;a=new r({id:n,type:i,options:t,ctx:o.ctx,chart:o}),s[a.id]=a}a.mergeTicksOptions(),e.isDefault&&(o.scale=a)}),h.each(l,function(e,t){e||delete s[t]}),o.scales=s,u.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var r=this,o=[],s=[];return h.each(r.data.datasets,function(e,t){var n=r.getDatasetMeta(t),i=e.type||r.config.type;if(n.type&&n.type!==i&&(r.destroyDatasetMeta(t),n=r.getDatasetMeta(t)),n.type=i,o.push(n.type),n.controller)n.controller.updateIndex(t),n.controller.linkScales();else{var a=u.controllers[n.type];if(void 0===a)throw new Error('"'+n.type+'" is not a chart type.');n.controller=new a(r,t),s.push(n.controller)}},r),s},resetElements:function(){var n=this;h.each(n.data.datasets,function(e,t){n.getDatasetMeta(t).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e,t){var n,i,a=this;if(e&&"object"==typeof e||(e={duration:e,lazy:t}),i=(n=a).options,h.each(n.scales,function(e){o.removeBox(n,e)}),i=h.configMerge(u.defaults.global,u.defaults[n.config.type],i),n.options=n.config.options=i,n.ensureScalesHaveIDs(),n.buildOrUpdateScales(),n.tooltip._options=i.tooltips,n.tooltip.initialize(),l._invalidate(a),!1!==l.notify(a,"beforeUpdate")){a.tooltip._data=a.data;var r=a.buildOrUpdateControllers();h.each(a.data.datasets,function(e,t){a.getDatasetMeta(t).controller.buildOrUpdateElements()},a),a.updateLayout(),a.options.animation&&a.options.animation.duration&&h.each(r,function(e){e.reset()}),a.updateDatasets(),a.tooltip.initialize(),a.lastActive=[],l.notify(a,"afterUpdate"),a._bufferedRender?a._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:a.render(e)}},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(o.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);l.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==l.notify(this,"beforeDatasetUpdate",[n])&&(t.controller.update(),l.notify(this,"afterDatasetUpdate",[n]))},render:function(e,t){var n=this;e&&"object"==typeof e||(e={duration:e,lazy:t});var i=e.duration,a=e.lazy;if(!1!==l.notify(n,"beforeRender")){var r=n.options.animation,o=function(e){l.notify(n,"afterRender"),h.callback(r&&r.onComplete,[e],n)};if(r&&(void 0!==i&&0!==i||void 0===i&&0!==r.duration)){var s=new u.Animation({numSteps:(i||r.duration)/16.66,easing:e.easing||r.easing,render:function(e,t){var n=h.easing.effects[t.easing],i=t.currentStep,a=i/t.numSteps;e.draw(n(a),a,i)},onAnimationProgress:r.onProgress,onAnimationComplete:o});u.animationService.addAnimation(n,s,i,a)}else n.draw(),o(new u.Animation({numSteps:0,chart:n}));return n}},draw:function(e){var t=this;t.clear(),h.isNullOrUndef(e)&&(e=1),t.transition(e),!1!==l.notify(t,"beforeDraw",[e])&&(h.each(t.boxes,function(e){e.draw(t.chartArea)},t),t.scale&&t.scale.draw(),t.drawDatasets(e),t._drawTooltip(e),l.notify(t,"afterDraw",[e]))},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},drawDatasets:function(e){var t=this;if(!1!==l.notify(t,"beforeDatasetsDraw",[e])){for(var n=(t.data.datasets||[]).length-1;0<=n;--n)t.isDatasetVisible(n)&&t.drawDataset(n,e);l.notify(t,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this.getDatasetMeta(e),i={meta:n,index:e,easingValue:t};!1!==l.notify(this,"beforeDatasetDraw",[i])&&(n.controller.draw(t),l.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==l.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),l.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return a.modes.single(this,e)},getElementsAtEvent:function(e){return a.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return a.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var i=a.modes[t];return"function"==typeof i?i(this,e,n):[]},getDatasetAtEvent:function(e){return a.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],i=n._meta&&n._meta[t];i&&(i.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,i=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);i&&(n.unbindEvents(),h.canvas.clear(n),f.releaseContext(n.ctx),n.canvas=null,n.ctx=null),l.notify(n,"destroy"),delete u.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new u.Tooltip({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var t=this,n=t._listeners={},i=function(){t.eventHandler.apply(t,arguments)};h.each(t.options.events,function(e){f.addEventListener(t,e,i),n[e]=i}),t.options.responsive&&(i=function(){t.resize()},f.addEventListener(t,"resize",i),n.resize=i)},unbindEvents:function(){var n=this,e=n._listeners;e&&(delete n._listeners,h.each(e,function(e,t){f.removeEventListener(n,t,e)}))},updateHoverStyle:function(e,t,n){var i,a,r,o=n?"setHoverStyle":"removeHoverStyle";for(a=0,r=e.length;a<r;++a)(i=e[a])&&this.getDatasetMeta(i._datasetIndex).controller[o](i)},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==l.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var i=t.handleEvent(e);n&&(i=n._start?n.handleEvent(e):i|n.handleEvent(e)),l.notify(t,"afterEvent",[e]);var a=t._bufferedRequest;return a?t.render(a):i&&!t.animating&&(t.stop(),t.render(t.options.hover.animationDuration,!0)),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,i=n.options||{},a=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,a.mode,a),h.callback(i.onHover||i.hover.onHover,[e["native"],n.active],n),"mouseup"!==e.type&&"click"!==e.type||i.onClick&&i.onClick.call(n,e["native"],n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),t=!h.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),u.Controller=u}},{25:25,28:28,30:30,31:31,45:45,48:48}],24:[function(e,t){"use strict";var s=e(45);t.exports=function(e){function r(t,e){var n=t._chartjs;if(n){var i=n.listeners,a=i.indexOf(e);-1!==a&&i.splice(a,1),0<i.length||(o.forEach(function(e){delete t[e]}),delete t._chartjs)}}var o=["push","pop","shift","splice","unshift"];e.DatasetController=function(e,t){this.initialize(e,t)},s.extend(e.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(e,t){this.chart=e,this.index=t,this.linkScales(),this.addElements()},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.getDataset();null!==t.xAxisID&&t.xAxisID in e.chart.scales||(t.xAxisID=n.xAxisID||e.chart.options.scales.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in e.chart.scales||(t.yAxisID=n.yAxisID||e.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(e){return this.chart.scales[e]},reset:function(){this.update(!0)},destroy:function(){this._data&&r(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),i=this.getDataset().data||[],a=n.data;for(e=0,t=i.length;e<t;++e)a[e]=a[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var a,e,t=this,n=t.getDataset(),i=n.data||(n.data=[]);t._data!==i&&(t._data&&r(t._data,t),e=t,(a=i)._chartjs?a._chartjs.listeners.push(e):(Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),o.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=a[e];Object.defineProperty(a,e,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),e=i.apply(this,t);return s.each(a._chartjs.listeners,function(e){"function"==typeof e[n]&&e[n].apply(e,t)}),e}})})),t._data=i),t.resyncElements()},update:s.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],i=n.length,a=0;a<i;++a)n[a].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,i=0;for(e.dataset&&e.dataset.draw();i<n;++i)t[i].draw()},removeHoverStyle:function(e,t){var n=this.chart.data.datasets[e._datasetIndex],i=e._index,a=e.custom||{},r=s.valueAtIndexOrDefault,o=e._model;o.backgroundColor=a.backgroundColor?a.backgroundColor:r(n.backgroundColor,i,t.backgroundColor),o.borderColor=a.borderColor?a.borderColor:r(n.borderColor,i,t.borderColor),o.borderWidth=a.borderWidth?a.borderWidth:r(n.borderWidth,i,t.borderWidth)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},a=s.valueAtIndexOrDefault,r=s.getHoverColor,o=e._model;o.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:a(t.hoverBackgroundColor,n,r(o.backgroundColor)),o.borderColor=i.hoverBorderColor?i.hoverBorderColor:a(t.hoverBorderColor,n,r(o.borderColor)),o.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:a(t.hoverBorderWidth,n,o.borderWidth)},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,i=t.length;i<n?e.data.splice(i,n-i):n<i&&this.insertElements(n,i-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+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(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),e.DatasetController.extend=s.inherits}},{45:45}],25:[function(e,t){"use strict";var n=e(45);t.exports={_set:function(e,t){return n.merge(this[e]||(this[e]={}),t)}}},{45:45}],26:[function(e,t){"use strict";var p=e(3),n=e(45),i=function(e){n.extend(this,e),this.initialize.apply(this,arguments)};n.extend(i.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=n.clone(e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,i=t._start,a=t._view;return n&&1!==e?(a||(a=t._view={}),i||(i=t._start={}),function(e,t,n,i){var a,r,o,s,l,u,d,c,h,f=Object.keys(n);for(a=0,r=f.length;a<r;++a)if(u=n[o=f[a]],t.hasOwnProperty(o)||(t[o]=u),(s=t[o])!==u&&"_"!==o[0]){if(e.hasOwnProperty(o)||(e[o]=s),(d=typeof u)==typeof(l=e[o]))if("string"===d){if((c=p(l)).valid&&(h=p(u)).valid){t[o]=h.mix(c,i).rgbString();continue}}else if("number"===d&&isFinite(l)&&isFinite(u)){t[o]=l+(u-l)*i;continue}t[o]=u}}(i,a,n,e)):(t._view=n,t._start=null),t},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return n.isNumber(this._model.x)&&n.isNumber(this._model.y)}}),i.extend=n.inherits,t.exports=i},{3:3,45:45}],27:[function(e,t){"use strict";var n=e(3),i=e(25),p=e(45);t.exports=function(l){function d(e,t,n){var i;return"string"==typeof e?(i=parseInt(e,10),-1!==e.indexOf("%")&&(i=i/100*t.parentNode[n])):i=e,i}function c(e){return null!=e&&"none"!==e}function t(e,t,n){var i=document.defaultView,a=e.parentNode,r=i.getComputedStyle(e)[t],o=i.getComputedStyle(a)[t],s=c(r),l=c(o),u=Number.POSITIVE_INFINITY;return s||l?Math.min(s?d(r,e,n):u,l?d(o,a,n):u):"none"}p.configMerge=function(e){return p.merge(p.clone(e),[].slice.call(arguments,1),{merger:function(e,t,n,i){var a=t[e]||{},r=n[e];"scales"===e?t[e]=p.scaleMerge(a,r):"scale"===e?t[e]=p.merge(a,[l.scaleService.getScaleDefaults(r.type),r]):p._merger(e,t,n,i)}})},p.scaleMerge=function(e){return p.merge(p.clone(e),[].slice.call(arguments,1),{merger:function(e,t,n,i){if("xAxes"===e||"yAxes"===e){var a,r,o,s=n[e].length;for(t[e]||(t[e]=[]),a=0;a<s;++a)o=n[e][a],r=p.valueOrDefault(o.type,"xAxes"===e?"category":"linear"),a>=t[e].length&&t[e].push({}),!t[e][a].type||o.type&&o.type!==t[e][a].type?p.merge(t[e][a],[l.scaleService.getScaleDefaults(r),o]):p.merge(t[e][a],o)}else p._merger(e,t,n,i)}})},p.where=function(e,t){if(p.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return p.each(e,function(e){t(e)&&n.push(e)}),n},p.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var i=0,a=e.length;i<a;++i)if(t.call(n,e[i],i,e))return i;return-1},p.findNextWhere=function(e,t,n){p.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<e.length;i++){var a=e[i];if(t(a))return a}},p.findPreviousWhere=function(e,t,n){p.isNullOrUndef(n)&&(n=e.length);for(var i=n-1;0<=i;i--){var a=e[i];if(t(a))return a}},p.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},p.almostEquals=function(e,t,n){return Math.abs(e-t)<n},p.almostWhole=function(e,t){var n=Math.round(e);return n-t<e&&e<n+t},p.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},p.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},p.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:0<e?1:-1},p.log10=Math.log10?function(e){return Math.log10(e)}:function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t},p.toRadians=function(e){return e*(Math.PI/180)},p.toDegrees=function(e){return e*(180/Math.PI)},p.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},p.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},p.aliasPixel=function(e){return e%2==0?0:.5},p.splineCurve=function(e,t,n,i){var a=e.skip?t:e,r=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=s/(s+l),d=l/(s+l),c=i*(u=isNaN(u)?0:u),h=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-c*(o.x-a.x),y:r.y-c*(o.y-a.y)},next:{x:r.x+h*(o.x-a.x),y:r.y+h*(o.y-a.y)}}},p.EPSILON=Number.EPSILON||1e-14,p.splineCurveMonotone=function(e){var t,n,i,a,r,o,s,l,u,d=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),c=d.length;for(t=0;t<c;++t)if(!(i=d[t]).model.skip){if(n=0<t?d[t-1]:null,(a=t<c-1?d[t+1]:null)&&!a.model.skip){var h=a.model.x-i.model.x;i.deltaK=0!==h?(a.model.y-i.model.y)/h:0}!n||n.model.skip?i.mK=i.deltaK:!a||a.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(t=0;t<c-1;++t)i=d[t],a=d[t+1],i.model.skip||a.model.skip||(p.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=a.mK=0:(r=i.mK/i.deltaK,o=a.mK/i.deltaK,(l=Math.pow(r,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),i.mK=r*s*i.deltaK,a.mK=o*s*i.deltaK)));for(t=0;t<c;++t)(i=d[t]).model.skip||(n=0<t?d[t-1]:null,a=t<c-1?d[t+1]:null,n&&!n.model.skip&&(u=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-u,i.model.controlPointPreviousY=i.model.y-u*i.mK),a&&!a.model.skip&&(u=(a.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+u,i.model.controlPointNextY=i.model.y+u*i.mK))},p.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},p.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},p.niceNum=function(e,t){var n=Math.floor(p.log10(e)),i=e/Math.pow(10,n);return(t?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},p.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},p.getRelativePosition=function(e,t){var n,i,a=e.originalEvent||e,r=e.currentTarget||e.srcElement,o=r.getBoundingClientRect(),s=a.touches;s&&0<s.length?(n=s[0].clientX,i=s[0].clientY):(n=a.clientX,i=a.clientY);var l=parseFloat(p.getStyle(r,"padding-left")),u=parseFloat(p.getStyle(r,"padding-top")),d=parseFloat(p.getStyle(r,"padding-right")),c=parseFloat(p.getStyle(r,"padding-bottom")),h=o.right-o.left-l-d,f=o.bottom-o.top-u-c;return{x:n=Math.round((n-o.left-l)/h*r.width/t.currentDevicePixelRatio),y:i=Math.round((i-o.top-u)/f*r.height/t.currentDevicePixelRatio)}},p.getConstraintWidth=function(e){return t(e,"max-width","clientWidth")},p.getConstraintHeight=function(e){return t(e,"max-height","clientHeight")},p.getMaximumWidth=function(e){var t=e.parentNode;if(!t)return e.clientWidth;var n=parseInt(p.getStyle(t,"padding-left"),10),i=parseInt(p.getStyle(t,"padding-right"),10),a=t.clientWidth-n-i,r=p.getConstraintWidth(e);return isNaN(r)?a:Math.min(a,r)},p.getMaximumHeight=function(e){var t=e.parentNode;if(!t)return e.clientHeight;var n=parseInt(p.getStyle(t,"padding-top"),10),i=parseInt(p.getStyle(t,"padding-bottom"),10),a=t.clientHeight-n-i,r=p.getConstraintHeight(e);return isNaN(r)?a:Math.min(a,r)},p.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},p.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||window.devicePixelRatio||1;if(1!==n){var i=e.canvas,a=e.height,r=e.width;i.height=a*n,i.width=r*n,e.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=a+"px",i.style.width=r+"px")}},p.fontString=function(e,t,n){return t+" "+e+"px "+n},p.longestText=function(t,e,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(a=i.data={},r=i.garbageCollect=[],i.font=e),t.font=e;var o=0;p.each(n,function(e){null!=e&&!0!==p.isArray(e)?o=p.measureText(t,a,r,o,e):p.isArray(e)&&p.each(e,function(e){null==e||p.isArray(e)||(o=p.measureText(t,a,r,o,e))})});var s=r.length/2;if(s>n.length){for(var l=0;l<s;l++)delete a[r[l]];r.splice(0,s)}return o},p.measureText=function(e,t,n,i,a){var r=t[a];return r||(r=t[a]=e.measureText(a).width,n.push(a)),i<r&&(i=r),i},p.numberOfLabelLines=function(e){var t=1;return p.each(e,function(e){p.isArray(e)&&e.length>t&&(t=e.length)}),t},p.color=n?function(e){return e instanceof CanvasGradient&&(e=i.global.defaultColor),n(e)}:function(e){return console.error("Color.js not found!"),e},p.getHoverColor=function(e){return e instanceof CanvasPattern?e:p.color(e).saturate(.5).darken(.1).rgbString()}}},{25:25,3:3,45:45}],28:[function(e,t){"use strict";function s(e,t){return e["native"]?{x:e.x,y:e.y}:i.getRelativePosition(e,t)}function l(e,t){var n,i,a,r,o;for(i=0,r=e.data.datasets.length;i<r;++i)if(e.isDatasetVisible(i))for(a=0,o=(n=e.getDatasetMeta(i)).data.length;a<o;++a){var s=n.data[a];s._view.skip||t(s)}}function u(e,t){var n=[];return l(e,function(e){e.inRange(t.x,t.y)&&n.push(e)}),n}function d(e,i,a,r){var o=Number.POSITIVE_INFINITY,s=[];return l(e,function(e){if(!a||e.inRange(i.x,i.y)){var t=e.getCenterPoint(),n=r(i,t);n<o?(s=[e],o=n):n===o&&s.push(e)}}),s}function c(e){var a=-1!==e.indexOf("x"),r=-1!==e.indexOf("y");return function(e,t){var n=a?Math.abs(e.x-t.x):0,i=r?Math.abs(e.y-t.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(i,2))}}function n(i,e,t){var n=s(e,i);t.axis=t.axis||"x";var a=c(t.axis),r=t.intersect?u(i,n):d(i,n,!1,a),o=[];return r.length?(i.data.datasets.forEach(function(e,t){if(i.isDatasetVisible(t)){var n=i.getDatasetMeta(t).data[r[0]._index];n&&!n._view.skip&&o.push(n)}}),o):[]}var i=e(45);t.exports={modes:{single:function(e,t){var n=s(t,e),i=[];return l(e,function(e){if(e.inRange(n.x,n.y))return i.push(e),i}),i.slice(0,1)},label:n,index:n,dataset:function(e,t,n){var i=s(t,e);n.axis=n.axis||"xy";var a=c(n.axis),r=n.intersect?u(e,i):d(e,i,!1,a);return 0<r.length&&(r=e.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(e,t){return n(e,t,{intersect:!1})},point:function(e,t){return u(e,s(t,e))},nearest:function(e,t,n){var i=s(t,e);n.axis=n.axis||"xy";var a=c(n.axis),r=d(e,i,n.intersect,a);return 1<r.length&&r.sort(function(e,t){var n=e.getArea()-t.getArea();return 0===n&&(n=e._datasetIndex-t._datasetIndex),n}),r.slice(0,1)},x:function(e,t,n){var i=s(t,e),a=[],r=!1;return l(e,function(e){e.inXRange(i.x)&&a.push(e),e.inRange(i.x,i.y)&&(r=!0)}),n.intersect&&!r&&(a=[]),a},y:function(e,t,n){var i=s(t,e),a=[],r=!1;return l(e,function(e){e.inYRange(i.y)&&a.push(e),e.inRange(i.x,i.y)&&(r=!0)}),n.intersect&&!r&&(a=[]),a}}}},{45:45}],29:[function(e,t){"use strict";e(25)._set("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:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),t.exports=function(){var e=function(e,t){return this.construct(e,t),this};return e.Chart=e}},{25:25}],30:[function(e,t){"use strict";function R(e,t){return z.where(e,function(e){return e.position===t})}function W(e,a){e.forEach(function(e,t){return e._tmpIndex_=t,e}),e.sort(function(e,t){var n=a?t:e,i=a?e:t;return n.weight===i.weight?n._tmpIndex_-i._tmpIndex_:n.weight-i.weight}),e.forEach(function(e){delete e._tmpIndex_})}var z=e(45);t.exports={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var i,a=["fullWidth","position","weight"],r=a.length,o=0;o<r;++o)i=a[o],n.hasOwnProperty(i)&&(t[i]=n[i])},update:function(t,n,e){function i(t){var e=z.findNextWhere(S,function(e){return e.box===t});if(e)if(t.isHorizontal()){var n={left:Math.max(P,_),right:Math.max(D,C),top:0,bottom:0};t.update(t.fullWidth?g:k,v/2,n)}else t.update(e.minSize.width,w)}function a(e){e.isHorizontal()?(e.left=e.fullWidth?s:P,e.right=e.fullWidth?n-l:P+k,e.top=N,e.bottom=N+e.height,N=e.bottom):(e.left=L,e.right=L+e.width,e.top=j,e.bottom=j+w,L=e.right)}if(t){var r=t.options.layout||{},o=z.options.toPadding(r.padding),s=o.left,l=o.right,u=o.top,d=o.bottom,c=R(t.boxes,"left"),h=R(t.boxes,"right"),f=R(t.boxes,"top"),p=R(t.boxes,"bottom"),m=R(t.boxes,"chartArea");W(c,!0),W(h,!1),W(f,!0),W(p,!1);var g=n-s-l,v=e-u-d,y=v/2,b=(n-g/2)/(c.length+h.length),x=(e-y)/(f.length+p.length),k=g,w=v,S=[];z.each(c.concat(h,f,p),function(e){var t,n=e.isHorizontal();n?(t=e.update(e.fullWidth?g:k,x),w-=t.height):(t=e.update(b,w),k-=t.width),S.push({horizontal:n,minSize:t,box:e})});var _=0,C=0,M=0,T=0;z.each(f.concat(p),function(e){if(e.getPadding){var t=e.getPadding();_=Math.max(_,t.left),C=Math.max(C,t.right)}}),z.each(c.concat(h),function(e){if(e.getPadding){var t=e.getPadding();M=Math.max(M,t.top),T=Math.max(T,t.bottom)}});var P=s,D=l,j=u,E=d;z.each(c.concat(h),i),z.each(c,function(e){P+=e.width}),z.each(h,function(e){D+=e.width}),z.each(f.concat(p),i),z.each(f,function(e){j+=e.height}),z.each(p,function(e){E+=e.height}),z.each(c.concat(h),function(t){var e=z.findNextWhere(S,function(e){return e.box===t}),n={left:0,right:0,top:j,bottom:E};e&&t.update(e.minSize.width,w,n)}),P=s,D=l,j=u,E=d,z.each(c,function(e){P+=e.width}),z.each(h,function(e){D+=e.width}),z.each(f,function(e){j+=e.height}),z.each(p,function(e){E+=e.height});var O=Math.max(_-P,0);P+=O,D+=Math.max(C-D,0);var A=Math.max(M-j,0);j+=A,E+=Math.max(T-E,0);var F=e-j-E,I=n-P-D;I===k&&F===w||(z.each(c,function(e){e.height=F}),z.each(h,function(e){e.height=F}),z.each(f,function(e){e.fullWidth||(e.width=I)}),z.each(p,function(e){e.fullWidth||(e.width=I)}),w=F,k=I);var L=s+O,N=u+A;z.each(c.concat(f),a),L+=k,N+=w,z.each(h,a),z.each(p,a),t.chartArea={left:P,top:j,right:P+k,bottom:j+w},z.each(m,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(k,w)})}}}},{45:45}],31:[function(e,t){"use strict";var o=e(25),s=e(45);o._set("global",{plugins:{}}),t.exports={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),this._cacheId++},unregister:function(e){var n=this._plugins;[].concat(e).forEach(function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var i,a,r,o,s,l=this.descriptors(e),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(r=(a=l[i]).plugin)[t])&&((o=[e].concat(n||[])).push(a.options),!1===s.apply(r,o)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var i=[],a=[],n=e&&e.config||{},r=n.options&&n.options.plugins||{};return this._plugins.concat(n.plugins||[]).forEach(function(e){if(-1===i.indexOf(e)){var t=e.id,n=r[t];!1!==n&&(!0===n&&(n=s.clone(o.global.plugins[t])),i.push(e),a.push({plugin:e,options:n||{}}))}}),t.descriptors=a,t.id=this._cacheId,a},_invalidate:function(e){delete e.$plugins}}},{25:25,45:45}],32:[function(e,t){"use strict";function _(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(e[t].label);return i}function H(e,t,n){var i=e.getPixelForTick(t);return n&&(i-=0===t?(e.getPixelForTick(1)-i)/2:(i-e.getPixelForTick(t-1))/2),i}var x=e(25),n=e(26),B=e(45),i=e(34);x._set("scale",{display:!0,position:"left",offset:!1,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)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:i.formatters.values,minor:{},major:{}}}),t.exports=function(e){function k(e,t,n){return B.isArray(t)?B.longestText(e,n,t):e.measureText(t).width}function w(e){var t=B.valueOrDefault,n=x.global,i=t(e.fontSize,n.defaultFontSize),a=t(e.fontStyle,n.defaultFontStyle),r=t(e.fontFamily,n.defaultFontFamily);return{size:i,style:a,family:r,font:B.fontString(i,a,r)}}function S(e){return B.options.toLineHeight(B.valueOrDefault(e.lineHeight,1.2),B.valueOrDefault(e.fontSize,x.global.defaultFontSize))}e.Scale=n.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var e=this.options.ticks;for(var t in!1===e.minor&&(e.minor={display:!1}),!1===e.major&&(e.major={display:!1}),e)"major"!==t&&"minor"!==t&&(void 0===e.minor[t]&&(e.minor[t]=e[t]),void 0===e.major[t]&&(e.major[t]=e[t]))},beforeUpdate:function(){B.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var i,a,r,o,s,l,u=this;for(u.beforeUpdate(),u.maxWidth=e,u.maxHeight=t,u.margins=B.extend({left:0,right:0,top:0,bottom:0},n),u.longestTextCache=u.longestTextCache||{},u.beforeSetDimensions(),u.setDimensions(),
  u.afterSetDimensions(),u.beforeDataLimits(),u.determineDataLimits(),u.afterDataLimits(),u.beforeBuildTicks(),s=u.buildTicks()||[],u.afterBuildTicks(),u.beforeTickToLabelConversion(),r=u.convertTicksToLabels(s)||u.ticks,u.afterTickToLabelConversion(),i=0,a=(u.ticks=r).length;i<a;++i)o=r[i],(l=s[i])?l.label=o:s.push(l={label:o,major:!1});return u._ticks=s,u.beforeCalculateTickRotation(),u.calculateTickRotation(),u.afterCalculateTickRotation(),u.beforeFit(),u.fit(),u.afterFit(),u.afterUpdate(),u.minSize},afterUpdate:function(){B.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){B.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){B.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){B.callback(this.options.beforeDataLimits,[this])},determineDataLimits:B.noop,afterDataLimits:function(){B.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){B.callback(this.options.beforeBuildTicks,[this])},buildTicks:B.noop,afterBuildTicks:function(){B.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){B.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){B.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){B.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e=this,t=e.ctx,n=e.options.ticks,i=_(e._ticks),a=w(n);t.font=a.font;var r=n.minRotation||0;if(i.length&&e.options.display&&e.isHorizontal())for(var o,s=B.longestText(t,a.font,i,e.longestTextCache),l=s,u=e.getPixelForTick(1)-e.getPixelForTick(0)-6;u<l&&r<n.maxRotation;){var d=B.toRadians(r);if(o=Math.cos(d),Math.sin(d)*s>e.maxHeight){r--;break}r++,l=o*s}e.labelRotation=r},afterCalculateTickRotation:function(){B.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){B.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=_(e._ticks),i=e.options,a=i.ticks,r=i.scaleLabel,o=i.gridLines,s=i.display,l=e.isHorizontal(),u=w(a),d=i.gridLines.tickMarkLength;if(t.width=l?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:s&&o.drawTicks?d:0,t.height=l?s&&o.drawTicks?d:0:e.maxHeight,r.display&&s){var c=S(r)+B.options.toPadding(r.padding).height;l?t.height+=c:t.width+=c}if(a.display&&s){var h=B.longestText(e.ctx,u.font,n,e.longestTextCache),f=B.numberOfLabelLines(n),p=.5*u.size,m=e.options.ticks.padding;if(l){e.longestLabelWidth=h;var g=B.toRadians(e.labelRotation),v=Math.cos(g),y=Math.sin(g)*h+u.size*f+p*(f-1)+p;t.height=Math.min(e.maxHeight,t.height+y+m),e.ctx.font=u.font;var b=k(e.ctx,n[0],u.font),x=k(e.ctx,n[n.length-1],u.font);0!==e.labelRotation?(e.paddingLeft="bottom"===i.position?v*b+3:v*p+3,e.paddingRight="bottom"===i.position?v*p+3:v*x+3):(e.paddingLeft=b/2+3,e.paddingRight=x/2+3)}else a.mirror?h=0:h+=m+p,t.width=Math.min(e.maxWidth,t.width+h),e.paddingTop=u.size/2,e.paddingBottom=u.size/2}e.handleMargins(),e.width=t.width,e.height=t.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){B.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(B.isNullOrUndef(e))return NaN;if("number"==typeof e&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},getLabelForIndex:B.noop,getPixelForValue:B.noop,getValueForPixel:B.noop,getPixelForTick:function(e){var t=this,n=t.options.offset;if(t.isHorizontal()){var i=(t.width-(t.paddingLeft+t.paddingRight))/Math.max(t._ticks.length-(n?0:1),1),a=i*e+t.paddingLeft;return n&&(a+=i/2),t.left+Math.round(a)+(t.isFullWidth()?t.margins.left:0)}var r=t.height-(t.paddingTop+t.paddingBottom);return t.top+e*(r/(t._ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=(t.width-(t.paddingLeft+t.paddingRight))*e+t.paddingLeft;return t.left+Math.round(n)+(t.isFullWidth()?t.margins.left:0)}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:0<e&&0<t?e:0},_autoSkip:function(e){var t,n,i,a,r=this,o=r.isHorizontal(),s=r.options.ticks.minor,l=e.length,u=B.toRadians(r.labelRotation),d=Math.cos(u),c=r.longestLabelWidth*d,h=[];for(s.maxTicksLimit&&(a=s.maxTicksLimit),o&&(t=!1,(c+s.autoSkipPadding)*l>r.width-(r.paddingLeft+r.paddingRight)&&(t=1+Math.floor((c+s.autoSkipPadding)*l/(r.width-(r.paddingLeft+r.paddingRight)))),a&&a<l&&(t=Math.max(t,Math.floor(l/a)))),n=0;n<l;n++)i=e[n],(1<t&&0<n%t||n%t==0&&l<=n+t)&&n!==l-1&&delete i.label,h.push(i);return h},draw:function(C){var M=this,T=M.options;if(T.display){var o=M.ctx,P=x.global,D=T.ticks.minor,e=T.ticks.major||D,j=T.gridLines,t=T.scaleLabel,E=0!==M.labelRotation,O=M.isHorizontal(),A=D.autoSkip?M._autoSkip(M.getTicks()):M.getTicks(),s=B.valueOrDefault(D.fontColor,P.defaultFontColor),l=w(D),u=B.valueOrDefault(e.fontColor,P.defaultFontColor),d=w(e),F=j.drawTicks?j.tickMarkLength:0,n=B.valueOrDefault(t.fontColor,P.defaultFontColor),i=w(t),a=B.options.toPadding(t.padding),I=B.toRadians(M.labelRotation),L=[],N=M.options.gridLines.lineWidth,R="right"===T.position?M.right:M.right-N-F,W="right"===T.position?M.right+F:M.right,z="bottom"===T.position?M.top+N:M.bottom-F-N,q="bottom"===T.position?M.top+N+F:M.bottom+N;if(B.each(A,function(e,t){if(!B.isNullOrUndef(e.label)){var n,i,a,r,o,s,l,u,d,c,h,f,p,m,g=e.label;t===M.zeroLineIndex&&T.offset===j.offsetGridLines?(n=j.zeroLineWidth,i=j.zeroLineColor,a=j.zeroLineBorderDash,r=j.zeroLineBorderDashOffset):(n=B.valueAtIndexOrDefault(j.lineWidth,t),i=B.valueAtIndexOrDefault(j.color,t),a=B.valueOrDefault(j.borderDash,P.borderDash),r=B.valueOrDefault(j.borderDashOffset,P.borderDashOffset));var v="middle",y="middle",b=D.padding;if(O){var x=F+b;"bottom"===T.position?(y=E?"middle":"top",v=E?"right":"center",m=M.top+x):(y=E?"middle":"bottom",v=E?"left":"center",m=M.bottom-x);var k=H(M,t,j.offsetGridLines&&1<A.length);k<M.left&&(i="rgba(0,0,0,0)"),k+=B.aliasPixel(n),p=M.getPixelForTick(t)+D.labelOffset,o=l=d=h=k,s=z,u=q,c=C.top,f=C.bottom+N}else{var w,S="left"===T.position;D.mirror?(v=S?"left":"right",w=b):(v=S?"right":"left",w=F+b),p=S?M.right-w:M.left+w;var _=H(M,t,j.offsetGridLines&&1<A.length);_<M.top&&(i="rgba(0,0,0,0)"),_+=B.aliasPixel(n),m=M.getPixelForTick(t)+D.labelOffset,o=R,l=W,d=C.left,h=C.right+N,s=u=c=f=_}L.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:d,y1:c,x2:h,y2:f,labelX:p,labelY:m,glWidth:n,glColor:i,glBorderDash:a,glBorderDashOffset:r,rotation:-1*I,label:g,major:e.major,textBaseline:y,textAlign:v})}}),B.each(L,function(e){if(j.display&&(o.save(),o.lineWidth=e.glWidth,o.strokeStyle=e.glColor,o.setLineDash&&(o.setLineDash(e.glBorderDash),o.lineDashOffset=e.glBorderDashOffset),o.beginPath(),j.drawTicks&&(o.moveTo(e.tx1,e.ty1),o.lineTo(e.tx2,e.ty2)),j.drawOnChartArea&&(o.moveTo(e.x1,e.y1),o.lineTo(e.x2,e.y2)),o.stroke(),o.restore()),D.display){o.save(),o.translate(e.labelX,e.labelY),o.rotate(e.rotation),o.font=e.major?d.font:l.font,o.fillStyle=e.major?u:s,o.textBaseline=e.textBaseline,o.textAlign=e.textAlign;var t=e.label;if(B.isArray(t))for(var n=t.length,i=1.5*l.size,a=M.isHorizontal()?0:-i*(n-1)/2,r=0;r<n;++r)o.fillText(""+t[r],0,a),a+=i;else o.fillText(t,0,0);o.restore()}}),t.display){var r,c,h=0,f=S(t)/2;if(O)r=M.left+(M.right-M.left)/2,c="bottom"===T.position?M.bottom-f-a.bottom:M.top+f+a.top;else{var p="left"===T.position;r=p?M.left+f+a.top:M.right-f-a.top,c=M.top+(M.bottom-M.top)/2,h=p?-.5*Math.PI:.5*Math.PI}o.save(),o.translate(r,c),o.rotate(h),o.textAlign="center",o.textBaseline="middle",o.fillStyle=n,o.font=i.font,o.fillText(t.labelString,0,0),o.restore()}if(j.drawBorder){o.lineWidth=B.valueAtIndexOrDefault(j.lineWidth,0),o.strokeStyle=B.valueAtIndexOrDefault(j.color,0);var m=M.left,g=M.right+N,v=M.top,y=M.bottom+N,b=B.aliasPixel(o.lineWidth);O?(v=y="top"===T.position?M.bottom:M.top,v+=b,y+=b):(m=g="left"===T.position?M.right:M.left,m+=b,g+=b),o.beginPath(),o.moveTo(m,v),o.lineTo(g,y),o.stroke()}}}})}},{25:25,26:26,34:34,45:45}],33:[function(e,t){"use strict";var n=e(25),i=e(45),a=e(30);t.exports=function(e){e.scaleService={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=i.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?i.merge({},[n.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=i.extend(this.defaults[e],t))},addScalesToLayout:function(t){i.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,a.addBox(t,e)})}}}},{25:25,30:30,45:45}],34:[function(e,t){"use strict";var s=e(45);t.exports={formatters:{values:function(e){return s.isArray(e)?e:""+e},linear:function(e,t,n){var i=3<n.length?n[2]-n[1]:n[1]-n[0];1<Math.abs(i)&&e!==Math.floor(e)&&(i=e-Math.floor(e));var a=s.log10(Math.abs(i)),r="";if(0!==e){var o=-1*Math.floor(a);o=Math.max(Math.min(o,20),0),r=e.toFixed(o)}else r="0";return r},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(s.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}}},{45:45}],35:[function(e,t){"use strict";var i=e(25),n=e(26),L=e(45);i._set("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,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:L.noop,title:function(e,t){var n="",i=t.labels,a=i?i.length:0;if(0<e.length){var r=e[0];r.xLabel?n=r.xLabel:0<a&&r.index<a&&(n=i[r.index])}return n},afterTitle:L.noop,beforeBody:L.noop,beforeLabel:L.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),n+e.yLabel},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:L.noop,afterBody:L.noop,beforeFooter:L.noop,footer:L.noop,afterFooter:L.noop}}}),t.exports=function(F){function h(e,t){var n=L.color(e);return n.alpha(t*n.alpha()).rgbaString()}function o(e,t){return t&&(L.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function I(e){var t=i.global,n=L.valueOrDefault;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,bodyFontColor:e.bodyFontColor,_bodyFontFamily:n(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:n(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:n(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:n(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:n(e.titleFontStyle,t.defaultFontStyle),titleFontSize:n(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:n(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:n(e.footerFontStyle,t.defaultFontStyle),footerFontSize:n(e.footerFontSize,t.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,borderColor:e.borderColor,borderWidth:e.borderWidth}}F.Tooltip=n.extend({initialize:function(){this._model=I(this._options),this._lastActive=[]},getTitle:function(){var e=this._options.callbacks,t=e.beforeTitle.apply(this,arguments),n=e.title.apply(this,arguments),i=e.afterTitle.apply(this,arguments),a=[];return o(a=o(a=o(a,t),n),i)},getBeforeBody:function(){var e=this._options.callbacks.beforeBody.apply(this,arguments);return L.isArray(e)?e:void 0!==e?[e]:[]},getBody:function(e,n){var i=this,a=i._options.callbacks,r=[];return L.each(e,function(e){var t={before:[],lines:[],after:[]};o(t.before,a.beforeLabel.call(i,e,n)),o(t.lines,a.label.call(i,e,n)),o(t.after,a.afterLabel.call(i,e,n)),r.push(t)}),r},getAfterBody:function(){var e=this._options.callbacks.afterBody.apply(this,arguments);return L.isArray(e)?e:void 0!==e?[e]:[]},getFooter:function(){var e=this._options.callbacks,t=e.beforeFooter.apply(this,arguments),n=e.footer.apply(this,arguments),i=e.afterFooter.apply(this,arguments),a=[];return o(a=o(a=o(a,t),n),i)},update:function(e){var t,n,i,a,r,o,s,l,u,d,c,h,f,p,m,g,v,y,b,x,k=this,w=k._options,S=k._model,_=k._model=I(w),C=k._active,M=k._data,T={xAlign:S.xAlign,yAlign:S.yAlign},P={x:S.x,y:S.y},D={width:S.width,height:S.height},j={x:S.caretX,y:S.caretY};if(C.length){_.opacity=1;var E=[],O=[];j=F.Tooltip.positioners[w.position].call(k,C,k._eventPosition);var A=[];for(t=0,n=C.length;t<n;++t)A.push((y=v=void 0,v=(g=C[t])._xScale,y=g._yScale||g._scale,b=g._index,x=g._datasetIndex,{xLabel:v?v.getLabelForIndex(b,x):"",yLabel:y?y.getLabelForIndex(b,x):"",index:b,datasetIndex:x,x:g._model.x,y:g._model.y}));w.filter&&(A=A.filter(function(e){return w.filter(e,M)})),w.itemSort&&(A=A.sort(function(e,t){return w.itemSort(e,t,M)})),L.each(A,function(e){E.push(w.callbacks.labelColor.call(k,e,k._chart)),O.push(w.callbacks.labelTextColor.call(k,e,k._chart))}),_.title=k.getTitle(A,M),_.beforeBody=k.getBeforeBody(A,M),_.body=k.getBody(A,M),_.afterBody=k.getAfterBody(A,M),_.footer=k.getFooter(A,M),_.x=Math.round(j.x),_.y=Math.round(j.y),_.caretPadding=w.caretPadding,_.labelColors=E,_.labelTextColors=O,_.dataPoints=A,T=function(e,t){var n,i,a,r,o,s=e._model,l=e._chart,u=e._chart.chartArea,d="center",c="center";s.y<t.height?c="top":s.y>l.height-t.height&&(c="bottom");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===c?(n=function(e){return e<=h},i=function(e){return h<e}):(n=function(e){return e<=t.width/2},i=function(e){return e>=l.width-t.width/2}),a=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},r=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=f?"top":"bottom"},n(s.x)?(d="left",a(s.x)&&(d="center",c=o(s.y))):i(s.x)&&(d="right",r(s.x)&&(d="center",c=o(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:d,yAlign:p.yAlign?p.yAlign:c}}(this,D=function(e,t){var n=e._chart.ctx,i=2*t.yPadding,a=0,r=t.body,o=r.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,u=t.titleFontSize,d=t.bodyFontSize,c=t.footerFontSize;i+=s*u,i+=s?(s-1)*t.titleSpacing:0,i+=s?t.titleMarginBottom:0,i+=o*d,i+=o?(o-1)*t.bodySpacing:0,i+=l?t.footerMarginTop:0,i+=l*c,i+=l?(l-1)*t.footerSpacing:0;var h=0,f=function(e){a=Math.max(a,n.measureText(e).width+h)};return n.font=L.fontString(u,t._titleFontStyle,t._titleFontFamily),L.each(t.title,f),n.font=L.fontString(d,t._bodyFontStyle,t._bodyFontFamily),L.each(t.beforeBody.concat(t.afterBody),f),h=t.displayColors?d+2:0,L.each(r,function(e){L.each(e.before,f),L.each(e.lines,f),L.each(e.after,f)}),h=0,n.font=L.fontString(c,t._footerFontStyle,t._footerFontFamily),L.each(t.footer,f),{width:a+=2*t.xPadding,height:i}}(this,_)),i=_,a=D,r=T,o=k._chart,s=i.x,l=i.y,u=i.caretSize,d=i.caretPadding,c=i.cornerRadius,h=r.xAlign,f=r.yAlign,p=u+d,m=c+d,"right"===h?s-=a.width:"center"===h&&((s-=a.width/2)+a.width>o.width&&(s=o.width-a.width),s<0&&(s=0)),"top"===f?l+=p:l-="bottom"===f?a.height+p:a.height/2,"center"===f?"left"===h?s+=p:"right"===h&&(s-=p):"left"===h?s-=m:"right"===h&&(s+=m),P={x:s,y:l}}else _.opacity=0;return _.xAlign=T.xAlign,_.yAlign=T.yAlign,_.x=P.x,_.y=P.y,_.width=D.width,_.height=D.height,_.caretX=j.x,_.caretY=j.y,k._model=_,e&&w.custom&&w.custom.call(k,_),k},drawCaret:function(e,t){var n=this._chart.ctx,i=this._view,a=this.getCaretPosition(e,t,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(e,t,n){var i,a,r,o,s,l,u=n.caretSize,d=n.cornerRadius,c=n.xAlign,h=n.yAlign,f=e.x,p=e.y,m=t.width,g=t.height;if("center"===h)s=p+g/2,"left"===c?(a=(i=f)-u,r=i,o=s+u,l=s-u):(a=(i=f+m)+u,r=i,o=s-u,l=s+u);else if(i="left"===c?(a=f+d+u)-u:"right"===c?(a=f+m-d-u)-u:(a=n.caretX)-u,r=a+u,"top"===h)s=(o=p)-u,l=o;else{s=(o=p+g)+u,l=o;var v=r;r=i,i=v}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(e,t,n,i){var a=t.title;if(a.length){n.textAlign=t._titleAlign,n.textBaseline="top";var r,o,s=t.titleFontSize,l=t.titleSpacing;for(n.fillStyle=h(t.titleFontColor,i),n.font=L.fontString(s,t._titleFontStyle,t._titleFontFamily),r=0,o=a.length;r<o;++r)n.fillText(a[r],e.x,e.y),e.y+=s+l,r+1===a.length&&(e.y+=t.titleMarginBottom-l)}},drawBody:function(i,a,r,o){var s=a.bodyFontSize,t=a.bodySpacing,e=a.body;r.textAlign=a._bodyAlign,r.textBaseline="top",r.font=L.fontString(s,a._bodyFontStyle,a._bodyFontFamily);var n=0,l=function(e){r.fillText(e,i.x+n,i.y),i.y+=s+t};r.fillStyle=h(a.bodyFontColor,o),L.each(a.beforeBody,l);var u=a.displayColors;n=u?s+2:0,L.each(e,function(e,t){var n=h(a.labelTextColors[t],o);r.fillStyle=n,L.each(e.before,l),L.each(e.lines,function(e){u&&(r.fillStyle=h(a.legendColorBackground,o),r.fillRect(i.x,i.y,s,s),r.lineWidth=1,r.strokeStyle=h(a.labelColors[t].borderColor,o),r.strokeRect(i.x,i.y,s,s),r.fillStyle=h(a.labelColors[t].backgroundColor,o),r.fillRect(i.x+1,i.y+1,s-2,s-2),r.fillStyle=n),l(e)}),L.each(e.after,l)}),n=0,L.each(a.afterBody,l),i.y-=t},drawFooter:function(t,n,i,e){var a=n.footer;a.length&&(t.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=h(n.footerFontColor,e),i.font=L.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),L.each(a,function(e){i.fillText(e,t.x,t.y),t.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(e,t,n,i,a){n.fillStyle=h(t.backgroundColor,a),n.strokeStyle=h(t.borderColor,a),n.lineWidth=t.borderWidth;var r=t.xAlign,o=t.yAlign,s=e.x,l=e.y,u=i.width,d=i.height,c=t.cornerRadius;n.beginPath(),n.moveTo(s+c,l),"top"===o&&this.drawCaret(e,i),n.lineTo(s+u-c,l),n.quadraticCurveTo(s+u,l,s+u,l+c),"center"===o&&"right"===r&&this.drawCaret(e,i),n.lineTo(s+u,l+d-c),n.quadraticCurveTo(s+u,l+d,s+u-c,l+d),"bottom"===o&&this.drawCaret(e,i),n.lineTo(s+c,l+d),n.quadraticCurveTo(s,l+d,s,l+d-c),"center"===o&&"left"===r&&this.drawCaret(e,i),n.lineTo(s,l+c),n.quadraticCurveTo(s,l,s+c,l),n.closePath(),n.fill(),0<t.borderWidth&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},i={x:t.x,y:t.y},a=Math.abs(t.opacity<.001)?0:t.opacity,r=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&r&&(this.drawBackground(i,t,e,n,a),i.x+=t.xPadding,i.y+=t.yPadding,this.drawTitle(i,t,e,a),this.drawBody(i,t,e,a),this.drawFooter(i,t,e,a))}},handleEvent:function(e){var t,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(e,i.mode,i),(t=!L.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),F.Tooltip.positioners={average:function(e){if(!e.length)return!1;var t,n,i=0,a=0,r=0;for(t=0,n=e.length;t<n;++t){var o=e[t];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,a+=s.y,++r}}return{x:Math.round(i/r),y:Math.round(a/r)}},nearest:function(e,t){var n,i,a,r=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(n=0,i=e.length;n<i;++n){var l=e[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),d=L.distanceBetweenPoints(t,u);d<s&&(s=d,a=l)}}if(a){var c=a.tooltipPosition();r=c.x,o=c.y}return{x:r,y:o}}}}},{25:25,26:26,45:45}],36:[function(e,t){"use strict";var n=e(25),i=e(26),d=e(45);n._set("global",{elements:{arc:{backgroundColor:n.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),t.exports=i.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var i=d.getAngleFromPoint(n,{x:e,y:t}),a=i.angle,r=i.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=2*Math.PI;for(;s<a;)a-=2*Math.PI;for(;a<o;)a+=2*Math.PI;var l=o<=a&&a<=s,u=r>=n.innerRadius&&r<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e=this._chart.ctx,t=this._view,n=t.startAngle,i=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,n,i),e.arc(t.x,t.y,t.innerRadius,i,n,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}})},{25:25,26:26,45:45}],37:[function(e,t){"use strict";var n=e(25),i=e(26),d=e(45),c=n.global;n._set("global",{elements:{line:{tension:.4,backgroundColor:c.defaultColor,borderWidth:3,borderColor:c.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),t.exports=i.extend({draw:function(){var e,t,n,i,a=this._view,r=this._chart.ctx,o=a.spanGaps,s=this._children.slice(),l=c.elements.line,u=-1;for(this._loop&&s.length&&s.push(s[0]),r.save(),r.lineCap=a.borderCapStyle||l.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||l.borderDash),r.lineDashOffset=a.borderDashOffset||l.borderDashOffset,r.lineJoin=a.borderJoinStyle||l.borderJoinStyle,r.lineWidth=a.borderWidth||l.borderWidth,r.strokeStyle=a.borderColor||c.defaultColor,r.beginPath(),u=-1,e=0;e<s.length;++e)t=s[e],n=d.previousItem(s,e),i=t._view,0===e?i.skip||(r.moveTo(i.x,i.y),u=e):(n=-1===u?n:s[u],i.skip||(u!==e-1&&!o||-1===u?r.moveTo(i.x,i.y):d.canvas.lineTo(r,n._view,t._view),u=e));r.stroke(),r.restore()}})},{25:25,26:26,45:45}],38:[function(e,t){"use strict";function n(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}var d=e(25),i=e(26),c=e(45),h=d.global.defaultColor;d._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:h,borderColor:h,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),t.exports=i.extend({inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:n,inXRange:n,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._model,i=this._chart.ctx,a=t.pointStyle,r=t.radius,o=t.x,s=t.y,l=c.color,u=0;t.skip||(i.strokeStyle=t.borderColor||h,i.lineWidth=c.valueOrDefault(t.borderWidth,d.global.elements.point.borderWidth),i.fillStyle=t.backgroundColor||h,void 0!==e&&(n.x<e.left||1.01*e.right<n.x||n.y<e.top||1.01*e.bottom<n.y)&&(n.x<e.left?u=(o-n.x)/(e.left-n.x):1.01*e.right<n.x?u=(n.x-o)/(n.x-e.right):n.y<e.top?u=(s-n.y)/(e.top-n.y):1.01*e.bottom<n.y&&(u=(n.y-s)/(n.y-e.bottom)),u=Math.round(100*u)/100,i.strokeStyle=l(i.strokeStyle).alpha(u).rgbString(),i.fillStyle=l(i.fillStyle).alpha(u).rgbString()),c.canvas.drawPoint(i,a,r,o,s))}})},{25:25,26:26,45:45}],39:[function(e,t){"use strict";function l(e){return void 0!==e._view.width}function a(e){var t,n,i,a,r=e._view;if(l(e)){var o=r.width/2;t=r.x-o,n=r.x+o,i=Math.min(r.y,r.base),a=Math.max(r.y,r.base)}else{var s=r.height/2;t=Math.min(r.x,r.base),n=Math.max(r.x,r.base),i=r.y-s,a=r.y+s}return{left:t,top:i,right:n,bottom:a}}var n=e(25),i=e(26);n._set("global",{elements:{rectangle:{backgroundColor:n.global.defaultColor,borderColor:n.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),t.exports=i.extend({draw:function(){function e(e){return v[(y+e)%4]}var t,n,i,a,r,o,s,l=this._chart.ctx,u=this._view,d=u.borderWidth;if(u.horizontal?(t=u.base,n=u.x,i=u.y-u.height/2,a=u.y+u.height/2,r=t<n?1:-1,o=1,s=u.borderSkipped||"left"):(t=u.x-u.width/2,n=u.x+u.width/2,i=u.y,r=1,o=(a=u.base)>i?1:-1,s=u.borderSkipped||"bottom"),d){var c=Math.min(Math.abs(t-n),Math.abs(i-a)),h=(d=c<d?c:d)/2,f=t+("left"!==s?h*r:0),p=n+("right"!==s?-h*r:0),m=i+("top"!==s?h*o:0),g=a+("bottom"!==s?-h*o:0);f!==p&&(i=m,a=g),m!==g&&(t=f,n=p)}l.beginPath(),l.fillStyle=u.backgroundColor,l.strokeStyle=u.borderColor,l.lineWidth=d;var v=[[t,a],[t,i],[n,i],[n,a]],y=["bottom","left","top","right"].indexOf(s,0);-1===y&&(y=0);var b=e(0);l.moveTo(b[0],b[1]);for(var x=1;x<4;x++)b=e(x),l.lineTo(b[0],b[1]);l.fill(),d&&l.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var n=!1;if(this._view){var i=a(this);n=e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom}return n},inLabelRange:function(e,t){if(!this._view)return!1;var n=a(this);return l(this)?e>=n.left&&e<=n.right:t>=n.top&&t<=n.bottom},inXRange:function(e){var t=a(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=a(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,t,n=this._view;return l(this)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return e.width*Math.abs(e.y-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})},{25:25,26:26}],40:[function(e,t){"use strict";t.exports={},t.exports.Arc=e(36),t.exports.Line=e(37),t.exports.Point=e(38),t.exports.Rectangle=e(39)},{36:36,37:37,38:38,39:39}],41:[function(e,t,n){"use strict";var i=e(42);n=t.exports={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,a,r){if(r){var o=Math.min(r,i/2),s=Math.min(r,a/2);e.moveTo(t+o,n),e.lineTo(t+i-o,n),e.quadraticCurveTo(t+i,n,t+i,n+s),e.lineTo(t+i,n+a-s),e.quadraticCurveTo(t+i,n+a,t+i-o,n+a),e.lineTo(t+o,n+a),e.quadraticCurveTo(t,n+a,t,n+a-s),e.lineTo(t,n+s),e.quadraticCurveTo(t,n,t+o,n)}else e.rect(t,n,i,a)},drawPoint:function(e,t,n,i,a){var r,o,s,l,u,d;if(!t||"object"!=typeof t||"[object HTMLImageElement]"!==(r=t.toString())&&"[object HTMLCanvasElement]"!==r){if(!(isNaN(n)||n<=0)){switch(t){default:e.beginPath(),e.arc(i,a,n,0,2*Math.PI),e.closePath(),e.fill();break;case"triangle":e.beginPath(),u=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(i-o/2,a+u/3),e.lineTo(i+o/2,a+u/3),e.lineTo(i,a-2*u/3),e.closePath(),e.fill();break;case"rect":d=1/Math.SQRT2*n,e.beginPath(),e.fillRect(i-d,a-d,2*d,2*d),e.strokeRect(i-d,a-d,2*d,2*d);break;case"rectRounded":var c=n/Math.SQRT2,h=i-c,f=a-c,p=Math.SQRT2*n;e.beginPath(),this.roundedRect(e,h,f,p,p,n/2),e.closePath(),e.fill();break;case"rectRot":d=1/Math.SQRT2*n,e.beginPath(),e.moveTo(i-d,a),e.lineTo(i,a+d),e.lineTo(i+d,a),e.lineTo(i,a-d),e.closePath(),e.fill();break;case"cross":e.beginPath(),e.moveTo(i,a+n),e.lineTo(i,a-n),e.moveTo(i-n,a),e.lineTo(i+n,a),e.closePath();break;case"crossRot":e.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(i-s,a-l),e.lineTo(i+s,a+l),e.moveTo(i-s,a+l),e.lineTo(i+s,a-l),e.closePath();break;case"star":e.beginPath(),e.moveTo(i,a+n),e.lineTo(i,a-n),e.moveTo(i-n,a),e.lineTo(i+n,a),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(i-s,a-l),e.lineTo(i+s,a+l),e.moveTo(i-s,a+l),e.lineTo(i+s,a-l),e.closePath();break;case"line":e.beginPath(),e.moveTo(i-n,a),e.lineTo(i+n,a),e.closePath();break;case"dash":e.beginPath(),e.moveTo(i,a),e.lineTo(i+n,a),e.closePath()}e.stroke()}}else e.drawImage(t,i-t.width/2,a-t.height/2,t.width,t.height)},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y),void e.lineTo(n.x,n.y);n.tension?e.bezierCurveTo(i?t.controlPointPreviousX:t.controlPointNextX,i?t.controlPointPreviousY:t.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},i.clear=n.clear,i.drawRoundedRectangle=function(e){e.beginPath(),n.roundedRect.apply(n,arguments),e.closePath()}},{42:42}],42:[function(e,t){"use strict";var n,d={noop:function(){},uid:(n=0,function(){return n++}),isNullOrUndef:function(e){return null==e},isArray:Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return d.valueOrDefault(d.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,i){var a,r,o;if(d.isArray(e))if(r=e.length,i)for(a=r-1;0<=a;a--)t.call(n,e[a],a);else for(a=0;a<r;a++)t.call(n,e[a],a);else if(d.isObject(e))for(r=(o=Object.keys(e)).length,a=0;a<r;a++)t.call(n,e[o[a]],o[a])},arrayEquals:function(e,t){var n,i,a,r;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(a=e[n],r=t[n],a instanceof Array&&r instanceof Array){if(!d.arrayEquals(a,r))return!1}else if(a!==r)return!1;return!0},clone:function(e){if(d.isArray(e))return e.map(d.clone);if(d.isObject(e)){for(var t={},n=Object.keys(e),i=n.length,a=0;a<i;++a)t[n[a]]=d.clone(e[n[a]]);return t}return e},_merger:function(e,t,n,i){var a=t[e],r=n[e];d.isObject(a)&&d.isObject(r)?d.merge(a,r,i):t[e]=d.clone(r)},_mergerIf:function(e,t,n){var i=t[e],a=n[e];d.isObject(i)&&d.isObject(a)?d.mergeIf(i,a):t.hasOwnProperty(e)||(t[e]=d.clone(a))},merge:function(e,t,n){var i,a,r,o,s,l=d.isArray(t)?t:[t],u=l.length;if(!d.isObject(e))return e;for(i=(n=n||{}).merger||d._merger,a=0;a<u;++a)if(t=l[a],d.isObject(t))for(s=0,o=(r=Object.keys(t)).length;s<o;++s)i(r[s],e,t,n);return e},mergeIf:function(e,t){return d.merge(e,t,{merger:d._mergerIf})},extend:function(n){for(var e=function(e,t){n[t]=e},t=1,i=arguments.length;t<i;++t)d.each(arguments[t],e);return n},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=t.prototype,n.prototype=new i,n.extend=d.inherits,e&&d.extend(n.prototype,e),n.__super__=t.prototype,n}};(t.exports=d).callCallback=d.callback,d.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},d.getValueOrDefault=d.valueOrDefault,d.getValueAtIndexOrDefault=d.valueAtIndexOrDefault},{}],43:[function(e,t){"use strict";var n=e(42),i={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},
  easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return 1<=e?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){return e*e*(2.70158*e-1.70158)},easeOutBack:function(e){return(e-=1)*e*(2.70158*e+1.70158)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-i.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*i.easeInBounce(2*e):.5*i.easeOutBounce(2*e-1)+.5}};t.exports={effects:i},n.easingEffects=i},{42:42}],44:[function(e,t){"use strict";var o=e(42);t.exports={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,i,a;return o.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,a=+e.left||0):t=n=i=a=+e||0,{top:t,right:n,bottom:i,left:a,height:t+i,width:a+n}},resolve:function(e,t,n){var i,a,r;for(i=0,a=e.length;i<a;++i)if(void 0!==(r=e[i])&&(void 0!==t&&"function"==typeof r&&(r=r(t)),void 0!==n&&o.isArray(r)&&(r=r[n]),void 0!==r))return r}}},{42:42}],45:[function(e,t){"use strict";t.exports=e(42),t.exports.easing=e(43),t.exports.canvas=e(41),t.exports.options=e(44)},{41:41,42:42,43:43,44:44}],46:[function(e,t){t.exports={acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}}},{}],47:[function(e,t){"use strict";function s(e,t){var n=m.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}function f(e,t,n){e.addEventListener(t,n,a)}function o(e,t,n){e.removeEventListener(t,n,a)}function p(e,t,n,i,a){return{type:e,chart:t,"native":a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function i(t,e,n){var i,a,r,o,s,l,u,d,c=t[g]||(t[g]={}),h=c.resizer=function(e){var t=document.createElement("div"),n=v+"size-monitor",i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";t.style.cssText=i,t.className=n,t.innerHTML='<div class="'+n+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var a=t.childNodes[0],r=t.childNodes[1];t._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var o=function(){t._reset(),e()};return f(a,"scroll",o.bind(a,"expand")),f(r,"scroll",o.bind(r,"shrink")),t}((r=!(i=function(){if(c.resizer)return e(p("resize",n))}),o=[],function(){o=Array.prototype.slice.call(arguments),a=a||this,r||(r=!0,m.requestAnimFrame.call(window,function(){r=!1,i.apply(a,o)}))}));l=function(){if(c.resizer){var e=t.parentNode;e&&e!==h.parentNode&&e.insertBefore(h,e.firstChild),h._reset()}},u=(s=t)[g]||(s[g]={}),d=u.renderProxy=function(e){e.animationName===b&&l()},m.each(x,function(e){f(s,e,d)}),u.reflow=!!s.offsetParent,s.classList.add(y)}function r(e){var t,n,i,a=e[g]||{},r=a.resizer;delete a.resizer,n=(t=e)[g]||{},(i=n.renderProxy)&&(m.each(x,function(e){o(t,e,i)}),delete n.renderProxy),t.classList.remove(y),r&&r.parentNode&&r.parentNode.removeChild(r)}var m=e(45),g="$chartjs",v="chartjs-",y=v+"render-monitor",b=v+"render-animation",x=["animationstart","webkitAnimationStart"],l={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},a=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};t.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var e,t,n,i="from{opacity:0.99}to{opacity:1}";t="@-webkit-keyframes "+b+"{"+i+"}@keyframes "+b+"{"+i+"}."+y+"{-webkit-animation:"+b+" 0.001s;animation:"+b+" 0.001s;}",n=(e=this)._style||document.createElement("style"),e._style||(t="/* Chart.js */\n"+t,(e._style=n).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(t))},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){var n=e.style,i=e.getAttribute("height"),a=e.getAttribute("width");if(e[g]={initial:{height:i,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var r=s(e,"width");void 0!==r&&(e.width=r)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=s(e,"height");void 0!==r&&(e.height=o)}}(e,t),n):null},releaseContext:function(e){var n=e.canvas;if(n[g]){var i=n[g].initial;["height","width"].forEach(function(e){var t=i[e];m.isNullOrUndef(t)?n.removeAttribute(e):n.setAttribute(e,t)}),m.each(i.style||{},function(e,t){n.style[t]=e}),n.width=n.width,delete n[g]}},addEventListener:function(a,e,r){var t=a.canvas;if("resize"!==e){var n=r[g]||(r[g]={});f(t,e,(n.proxies||(n.proxies={}))[a.id+"_"+e]=function(e){var t,n,i;r((n=a,p(l[(t=e).type]||t.type,n,(i=m.getRelativePosition(t,n)).x,i.y,t)))})}else i(t,r,a)},removeEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var a=((n[g]||{}).proxies||{})[e.id+"_"+t];a&&o(i,t,a)}else r(i)}},m.addEvent=f,m.removeEvent=o},{45:45}],48:[function(e,t){"use strict";var n=e(45),i=e(46),a=e(47),r=a._enabled?a:i;t.exports=n.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},r)},{45:45,46:46,47:47}],49:[function(e,t){"use strict";t.exports={},t.exports.filler=e(50),t.exports.legend=e(51),t.exports.title=e(52)},{50:50,51:51,52:52}],50:[function(e,t){"use strict";function h(e,t,n){var i,a=e._model||{},r=a.fill;if(void 0===r&&(r=!!a.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=t+i),!(i===t||i<0||n<=i)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function f(e){var t,n=e.el._model||{},i=e.el._scale||{},a=e.fill,r=null;if(isFinite(a))return null;if("start"===a?r=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?r=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:i.getBasePosition?r=i.getBasePosition():i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if("number"==typeof r&&isFinite(r))return{x:(t=i.isHorizontal())?r:null,y:t?null:r}}return null}function p(e,t,n){var i,a=e[t].fill,r=[t];if(!n)return a;for(;!1!==a&&-1===r.indexOf(a);){if(!isFinite(a))return a;if(!(i=e[a]))return!1;if(i.visible)return a;r.push(a),a=i.fill}return!1}function b(e){return e&&!e.skip}function x(e,t,n,i,a){var r;if(i&&a){for(e.moveTo(t[0].x,t[0].y),r=1;r<i;++r)d.canvas.lineTo(e,t[r-1],t[r]);for(e.lineTo(n[a-1].x,n[a-1].y),r=a-1;0<r;--r)d.canvas.lineTo(e,n[r],n[r-1],!0)}}var u=e(25),m=e(40),d=e(45);u._set("global",{plugins:{filler:{propagate:!0}}});var g={dataset:function(e){var t=e.fill,n=e.chart,i=n.getDatasetMeta(t),a=i&&n.isDatasetVisible(t)&&i.dataset._children||[],r=a.length||0;return r?function(e,t){return t<r&&a[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,i=t?t.y:null;return function(e){return{x:null===n?e.x:n,y:null===i?e.y:i}}}};t.exports={id:"filler",afterDatasetsUpdate:function(e,t){var n,i,a,r,o,s,l,u=(e.data.datasets||[]).length,d=t.propagate,c=[];for(i=0;i<u;++i)r=null,(a=(n=e.getDatasetMeta(i)).dataset)&&a._model&&a instanceof m.Line&&(r={visible:e.isDatasetVisible(i),fill:h(a,i,u),chart:e,el:a}),n.$filler=r,c.push(r);for(i=0;i<u;++i)(r=c[i])&&(r.fill=p(c,i,d),r.boundary=f(r),r.mapper=(l=void 0,!(l="dataset")===(s=(o=r).fill)?null:(isFinite(s)||(l="boundary"),g[l](o))))},beforeDatasetDraw:function(e,t){var n=t.meta.$filler;if(n){var i=e.ctx,a=n.el,r=a._view,o=a._children||[],s=n.mapper,l=r.backgroundColor||u.global.defaultColor;s&&l&&o.length&&(d.canvas.clipArea(i,e.chartArea),function(e,t,n,i,a,r){var o,s,l,u,d,c,h,f=t.length,p=i.spanGaps,m=[],g=[],v=0,y=0;for(e.beginPath(),o=0,s=f+!!r;o<s;++o)d=n(u=t[l=o%f]._view,l,i),c=b(u),h=b(d),c&&h?(v=m.push(u),y=g.push(d)):v&&y&&(p?(c&&m.push(u),h&&g.push(d)):(x(e,m,g,v,y),v=y=0,m=[],g=[]));x(e,m,g,v,y),e.closePath(),e.fillStyle=a,e.fill()}(i,o,s,r,l,a._loop),d.canvas.unclipArea(i))}}}},{25:25,40:40,45:45}],51:[function(e,t){"use strict";function M(e,t){return e.usePointStyle?t*Math.SQRT2:e.boxWidth}function i(e,t){var n=new o({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.legend=n}var T=e(25),n=e(26),P=e(45),a=e(30),r=P.noop;T._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,i=this.chart,a=i.getDatasetMeta(n);a.hidden=null===a.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var e=n.data;return P.isArray(e.datasets)?e.datasets.map(function(e,t){return{text:e.label,fillStyle:P.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!n.isDatasetVisible(t),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:t}},this):[]}}},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');for(var n=0;n<e.data.datasets.length;n++)t.push('<li><span style="background-color:'+e.data.datasets[n].backgroundColor+'"></span>'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("</li>");return t.push("</ul>"),t.join("")}});var o=n.extend({initialize:function(e){P.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:r,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,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:r,beforeSetDimensions:r,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:function(){var t=this,n=t.options.labels||{},e=P.callback(n.generateLabels,[t.chart],t)||[];n.filter&&(e=e.filter(function(e){return n.filter(e,t.chart.data)})),t.options.reverse&&e.reverse(),t.legendItems=e},afterBuildLabels:r,beforeFit:r,fit:function(){var i=this,e=i.options,a=e.labels,t=e.display,r=i.ctx,n=T.global,o=P.valueOrDefault,s=o(a.fontSize,n.defaultFontSize),l=o(a.fontStyle,n.defaultFontStyle),u=o(a.fontFamily,n.defaultFontFamily),d=P.fontString(s,l,u),c=i.legendHitBoxes=[],h=i.minSize,f=i.isHorizontal();if(f?(h.width=i.maxWidth,h.height=t?10:0):(h.width=t?10:0,h.height=i.maxHeight),t)if(r.font=d,f){var p=i.lineWidths=[0],m=i.legendItems.length?s+a.padding:0;r.textAlign="left",r.textBaseline="top",P.each(i.legendItems,function(e,t){var n=M(a,s)+s/2+r.measureText(e.text).width;p[p.length-1]+n+a.padding>=i.width&&(m+=s+a.padding,p[p.length]=i.left),c[t]={left:0,top:0,width:n,height:s},p[p.length-1]+=n+a.padding}),h.height+=m}else{var g=a.padding,v=i.columnWidths=[],y=a.padding,b=0,x=0,k=s+g;P.each(i.legendItems,function(e,t){var n=M(a,s)+s/2+r.measureText(e.text).width;x+k>h.height&&(y+=b+a.padding,v.push(b),x=b=0),b=Math.max(b,n),x+=k,c[t]={left:0,top:0,width:n,height:s}}),y+=b,v.push(b),h.width+=y}i.width=h.width,i.height=h.height},afterFit:r,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var c=this,h=c.options,f=h.labels,p=T.global,m=p.elements.line,g=c.width,v=c.lineWidths;if(h.display){var y,b=c.ctx,x=P.valueOrDefault,e=x(f.fontColor,p.defaultFontColor),k=x(f.fontSize,p.defaultFontSize),t=x(f.fontStyle,p.defaultFontStyle),n=x(f.fontFamily,p.defaultFontFamily),i=P.fontString(k,t,n);b.textAlign="left",b.textBaseline="middle",b.lineWidth=.5,b.strokeStyle=e,b.fillStyle=e,b.font=i;var w=M(f,k),S=c.legendHitBoxes,_=c.isHorizontal();y=_?{x:c.left+(g-v[0])/2,y:c.top+f.padding,line:0}:{x:c.left+f.padding,y:c.top+f.padding,line:0};var C=k+f.padding;P.each(c.legendItems,function(e,t){var n,i,a,r,o,s=b.measureText(e.text).width,l=w+k/2+s,u=y.x,d=y.y;_?g<=u+l&&(d=y.y+=C,y.line++,u=y.x=c.left+(g-v[y.line])/2):d+C>c.bottom&&(u=y.x=u+c.columnWidths[y.line]+f.padding,d=y.y=c.top+f.padding,y.line++),function(e,t,n){if(!(isNaN(w)||w<=0)){b.save(),b.fillStyle=x(n.fillStyle,p.defaultColor),b.lineCap=x(n.lineCap,m.borderCapStyle),b.lineDashOffset=x(n.lineDashOffset,m.borderDashOffset),b.lineJoin=x(n.lineJoin,m.borderJoinStyle),b.lineWidth=x(n.lineWidth,m.borderWidth),b.strokeStyle=x(n.strokeStyle,p.defaultColor);var i=0===x(n.lineWidth,m.borderWidth);if(b.setLineDash&&b.setLineDash(x(n.lineDash,m.borderDash)),h.labels&&h.labels.usePointStyle){var a=k*Math.SQRT2/2,r=a/Math.SQRT2,o=e+r,s=t+r;P.canvas.drawPoint(b,n.pointStyle,a,o,s)}else i||b.strokeRect(e,t,w,k),b.fillRect(e,t,w,k);b.restore()}}(u,d,e),S[t].left=u,S[t].top=d,n=e,i=s,r=w+(a=k/2)+u,o=d+a,b.fillText(n.text,r,o),n.hidden&&(b.beginPath(),b.lineWidth=2,b.moveTo(r,o),b.lineTo(r+i,o),b.stroke()),_?y.x+=l+f.padding:y.y+=C})}},handleEvent:function(e){var t=this,n=t.options,i="mouseup"===e.type?"click":e.type,a=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var r=e.x,o=e.y;if(r>=t.left&&r<=t.right&&o>=t.top&&o<=t.bottom)for(var s=t.legendHitBoxes,l=0;l<s.length;++l){var u=s[l];if(r>=u.left&&r<=u.left+u.width&&o>=u.top&&o<=u.top+u.height){if("click"===i){n.onClick.call(t,e["native"],t.legendItems[l]),a=!0;break}if("mousemove"===i){n.onHover.call(t,e["native"],t.legendItems[l]),a=!0;break}}}return a}});t.exports={id:"legend",_element:o,beforeInit:function(e){var t=e.options.legend;t&&i(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(P.mergeIf(t,T.global.legend),n?(a.configure(e,n,t),n.options=t):i(e,t)):n&&(a.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}}},{25:25,26:26,30:30,45:45}],52:[function(e,t){"use strict";function i(e,t){var n=new o({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.titleBlock=n}var w=e(25),n=e(26),S=e(45),a=e(30),r=S.noop;w._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var o=n.extend({initialize:function(e){S.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:r,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,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:r,beforeSetDimensions:r,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:r,beforeBuildLabels:r,buildLabels:r,afterBuildLabels:r,beforeFit:r,fit:function(){var e=this,t=S.valueOrDefault,n=e.options,i=n.display,a=t(n.fontSize,w.global.defaultFontSize),r=e.minSize,o=S.isArray(n.text)?n.text.length:1,s=S.options.toLineHeight(n.lineHeight,a),l=i?o*s+2*n.padding:0;e.isHorizontal()?(r.width=e.maxWidth,r.height=l):(r.width=l,r.height=e.maxHeight),e.width=r.width,e.height=r.height},afterFit:r,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=S.valueOrDefault,i=e.options,a=w.global;if(i.display){var r,o,s,l=n(i.fontSize,a.defaultFontSize),u=n(i.fontStyle,a.defaultFontStyle),d=n(i.fontFamily,a.defaultFontFamily),c=S.fontString(l,u,d),h=S.options.toLineHeight(i.lineHeight,l),f=h/2+i.padding,p=0,m=e.top,g=e.left,v=e.bottom,y=e.right;t.fillStyle=n(i.fontColor,a.defaultFontColor),t.font=c,e.isHorizontal()?(o=g+(y-g)/2,s=m+f,r=y-g):(o="left"===i.position?g+f:y-f,s=m+(v-m)/2,r=v-m,p=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(o,s),t.rotate(p),t.textAlign="center",t.textBaseline="middle";var b=i.text;if(S.isArray(b))for(var x=0,k=0;k<b.length;++k)t.fillText(b[k],0,x,r),x+=h;else t.fillText(b,0,0,r);t.restore()}}});t.exports={id:"title",_element:o,beforeInit:function(e){var t=e.options.title;t&&i(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(S.mergeIf(t,w.global.title),n?(a.configure(e,n,t),n.options=t):i(e,t)):n&&(a.removeBox(e,n),delete e.titleBlock)}}},{25:25,26:26,30:30,45:45}],53:[function(e,t){"use strict";t.exports=function(e){var t=e.Scale.extend({getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e,t=this,n=t.getLabels();t.minIndex=0,t.maxIndex=n.length-1,void 0!==t.options.ticks.min&&(e=n.indexOf(t.options.ticks.min),t.minIndex=-1!==e?e:t.minIndex),void 0!==t.options.ticks.max&&(e=n.indexOf(t.options.ticks.max),t.maxIndex=-1!==e?e:t.maxIndex),t.min=n[t.minIndex],t.max=n[t.maxIndex]},buildTicks:function(){var e=this,t=e.getLabels();e.ticks=0===e.minIndex&&e.maxIndex===t.length-1?t:t.slice(e.minIndex,e.maxIndex+1)},getLabelForIndex:function(e,t){var n=this,i=n.chart.data,a=n.isHorizontal();return i.yLabels&&!a?n.getRightValue(i.datasets[t].data[e]):n.ticks[e-n.minIndex]},getPixelForValue:function(e,t){var n,i=this,a=i.options.offset,r=Math.max(i.maxIndex+1-i.minIndex-(a?0:1),1);if(null!=e&&(n=i.isHorizontal()?e.x:e.y),void 0!==n||void 0!==e&&isNaN(t)){e=n||e;var o=i.getLabels().indexOf(e);t=-1!==o?o:t}if(i.isHorizontal()){var s=i.width/r,l=s*(t-i.minIndex);return a&&(l+=s/2),i.left+Math.round(l)}var u=i.height/r,d=u*(t-i.minIndex);return a&&(d+=u/2),i.top+Math.round(d)},getPixelForTick:function(e){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null)},getValueForPixel:function(e){var t=this,n=t.options.offset,i=Math.max(t._ticks.length-(n?0:1),1),a=t.isHorizontal(),r=(a?t.width:t.height)/i;return e-=a?t.left:t.top,n&&(e-=r/2),(e<=0?0:Math.round(e/r))+t.minIndex},getBasePixel:function(){return this.bottom}});e.scaleService.registerScaleType("category",t,{position:"bottom"})}},{}],54:[function(e,t){"use strict";var i=e(25),c=e(45),a=e(34);t.exports=function(e){var t={position:"left",ticks:{callback:a.formatters.linear}},n=e.LinearScaleBase.extend({determineDataLimits:function(){function o(e){return t?e.xAxisID===s.id:e.yAxisID===s.id}var s=this,l=s.options,u=s.chart,e=u.data.datasets,t=s.isHorizontal();s.min=null,s.max=null;var i=l.stacked;if(void 0===i&&c.each(e,function(e,t){if(!i){var n=u.getDatasetMeta(t);u.isDatasetVisible(t)&&o(n)&&void 0!==n.stack&&(i=!0)}}),l.stacked||i){var d={};c.each(e,function(e,t){var i=u.getDatasetMeta(t),n=[i.type,void 0===l.stacked&&void 0===i.stack?t:"",i.stack].join(".");void 0===d[n]&&(d[n]={positiveValues:[],negativeValues:[]});var a=d[n].positiveValues,r=d[n].negativeValues;u.isDatasetVisible(t)&&o(i)&&c.each(e.data,function(e,t){var n=+s.getRightValue(e);isNaN(n)||i.data[t].hidden||(a[t]=a[t]||0,r[t]=r[t]||0,l.relativePoints?a[t]=100:n<0?r[t]+=n:a[t]+=n)})}),c.each(d,function(e){var t=e.positiveValues.concat(e.negativeValues),n=c.min(t),i=c.max(t);s.min=null===s.min?n:Math.min(s.min,n),s.max=null===s.max?i:Math.max(s.max,i)})}else c.each(e,function(e,t){var i=u.getDatasetMeta(t);u.isDatasetVisible(t)&&o(i)&&c.each(e.data,function(e,t){var n=+s.getRightValue(e);isNaN(n)||i.data[t].hidden||(null===s.min?s.min=n:n<s.min&&(s.min=n),null===s.max?s.max=n:n>s.max&&(s.max=n))})});s.min=isFinite(s.min)&&!isNaN(s.min)?s.min:0,s.max=isFinite(s.max)&&!isNaN(s.max)?s.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var e,t=this.options.ticks;if(this.isHorizontal())e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=c.valueOrDefault(t.fontSize,i.global.defaultFontSize);e=Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}return e},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t=this,n=t.start,i=+t.getRightValue(e),a=t.end-n;return t.isHorizontal()?t.left+t.width/a*(i-n):t.bottom-t.height/a*(i-n)},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),i=n?t.width:t.height,a=(n?e-t.left:t.bottom-e)/i;return t.start+(t.end-t.start)*a},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",n,t)}},{25:25,34:34,45:45}],55:[function(e,t){"use strict";var d=e(45);t.exports=function(t){var e=d.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=d.sign(e.min),i=d.sign(e.max);n<0&&i<0?e.max=0:0<n&&0<i&&(e.min=0)}var a=void 0!==t.min||void 0!==t.suggestedMin,r=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),a!==r&&e.min>=e.max&&(a?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,stepSize:d.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=function(e,t){var n,i=[];if(e.stepSize&&0<e.stepSize)n=e.stepSize;else{var a=d.niceNum(t.max-t.min,!1);n=d.niceNum(a/(e.maxTicks-1),!0)}var r=Math.floor(t.min/n)*n,o=Math.ceil(t.max/n)*n;e.min&&e.max&&e.stepSize&&d.almostWhole((e.max-e.min)/e.stepSize,n/1e3)&&(r=e.min,o=e.max);var s=(o-r)/n;s=d.almostEquals(s,Math.round(s),n/1e3)?Math.round(s):Math.ceil(s);var l=1;n<1&&(l=Math.pow(10,n.toString().length-2),r=Math.round(r*l)/l,o=Math.round(o*l)/l),i.push(void 0!==e.min?e.min:r);for(var u=1;u<s;++u)i.push(Math.round((r+u*n)*l)/l);return i.push(void 0!==e.max?e.max:o),i}(i,e);e.handleDirectionalChanges(),e.max=d.max(a),e.min=d.min(a),t.reverse?(a.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)}})}},{45:45}],56:[function(e,t){"use strict";var h=e(45),n=e(34);t.exports=function(c){var e={position:"left",ticks:{callback:n.formatters.logarithmic}},t=c.Scale.extend({determineDataLimits:function(){function o(e){return t?e.xAxisID===s.id:e.yAxisID===s.id}var s=this,n=s.options,l=s.chart,e=l.data.datasets,t=s.isHorizontal();s.min=null,s.max=null,s.minNotZero=null;var i=n.stacked;if(void 0===i&&h.each(e,function(e,t){if(!i){var n=l.getDatasetMeta(t);l.isDatasetVisible(t)&&o(n)&&void 0!==n.stack&&(i=!0)}}),n.stacked||i){var u={};h.each(e,function(e,t){var a=l.getDatasetMeta(t),r=[a.type,void 0===n.stacked&&void 0===a.stack?t:"",a.stack].join(".");l.isDatasetVisible(t)&&o(a)&&(void 0===u[r]&&(u[r]=[]),h.each(e.data,function(e,t){var n=u[r],i=+s.getRightValue(e);isNaN(i)||a.data[t].hidden||i<0||(n[t]=n[t]||0,n[t]+=i)}))}),h.each(u,function(e){if(0<e.length){var t=h.min(e),n=h.max(e);s.min=null===s.min?t:Math.min(s.min,t),s.max=null===s.max?n:Math.max(s.max,n)}})}else h.each(e,function(e,t){var i=l.getDatasetMeta(t);l.isDatasetVisible(t)&&o(i)&&h.each(e.data,function(e,t){var n=+s.getRightValue(e);isNaN(n)||i.data[t].hidden||n<0||(null===s.min?s.min=n:n<s.min&&(s.min=n),null===s.max?s.max=n:n>s.max&&(s.max=n),0!==n&&(null===s.minNotZero||n<s.minNotZero)&&(s.minNotZero=n))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks,n=h.valueOrDefault;e.min=n(t.min,e.min),e.max=n(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(h.log10(e.min))-1),e.max=Math.pow(10,Math.floor(h.log10(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(h.log10(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(h.log10(e.min))+1):10),null===e.minNotZero&&(0<e.min?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(h.log10(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:t.min,max:t.max},a=e.ticks=function(e,t){var n,i,a=[],r=h.valueOrDefault,o=r(e.min,Math.pow(10,Math.floor(h.log10(t.min)))),s=Math.floor(h.log10(t.max)),l=Math.ceil(t.max/Math.pow(10,s));0===o?(n=Math.floor(h.log10(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),a.push(o),o=i*Math.pow(10,n)):(n=Math.floor(h.log10(o)),i=Math.floor(o/Math.pow(10,n)));for(var u=n<0?Math.pow(10,Math.abs(n)):1;a.push(o),10==++i&&(i=1,u=0<=++n?1:u),o=Math.round(i*Math.pow(10,n)*u)/u,n<s||n===s&&i<l;);var d=r(e.max,o);return a.push(d),a}(i,e);e.max=h.max(a),e.min=h.min(a),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),c.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){return this.getPixelForValue(this.tickValues[e])},_getFirstTickValue:function(e){var t=Math.floor(h.log10(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},getPixelForValue:function(e){var t,n,i,a,r,o=this,s=o.options.ticks.reverse,l=h.log10,u=o._getFirstTickValue(o.minNotZero),d=0;return e=+o.getRightValue(e),s?(i=o.end,a=o.start,r=-1):(i=o.start,a=o.end,r=1),o.isHorizontal()?(t=o.width,n=s?o.right:o.left):(t=o.height,r*=-1,n=s?o.top:o.bottom),e!==i&&(0===i&&(t-=d=h.getValueOrDefault(o.options.ticks.fontSize,c.defaults.global.defaultFontSize),i=u),0!==e&&(d+=t/(l(a)-l(i))*(l(e)-l(i))),n+=r*d),n},getValueForPixel:function(e){var t,n,i,a,r=this,o=r.options.ticks.reverse,s=h.log10,l=r._getFirstTickValue(r.minNotZero);if(o?(n=r.end,i=r.start):(n=r.start,i=r.end),r.isHorizontal()?(t=r.width,a=o?r.right-e:e-r.left):(t=r.height,a=o?e-r.top:r.bottom-e),a!==n){if(0===n){var u=h.getValueOrDefault(r.options.ticks.fontSize,c.defaults.global.defaultFontSize);a-=u,t-=u,n=l}a*=s(i)-s(n),a/=t,a=Math.pow(10,s(n)+a)}return a}});c.scaleService.registerScaleType("logarithmic",t,e)}},{34:34,45:45}],57:[function(e,t){"use strict";var i=e(25),k=e(45),a=e(34);t.exports=function(t){function v(e){var t=e.options;return t.angleLines.display||t.pointLabels.display?e.chart.data.labels.length:0}function y(e){var t=e.options.pointLabels,n=k.valueOrDefault(t.fontSize,x.defaultFontSize),i=k.valueOrDefault(t.fontStyle,x.defaultFontStyle),a=k.valueOrDefault(t.fontFamily,x.defaultFontFamily);return{size:n,style:i,family:a,font:k.fontString(n,i,a)}}function g(e,t,n,i,a){return e===i||e===a?{start:t-n/2,end:t+n/2}:e<i||a<e?{start:t-n-5,end:t}:{start:t,end:t+n+5}}function b(e,t,n,i){if(k.isArray(t))for(var a=n.y,r=1.5*i,o=0;o<t.length;++o)e.fillText(t[o],n.x,a),a+=r;else e.fillText(t,n.x,n.y)}function s(e){return k.isNumber(e)?e:0}var x=i.global,e={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:a.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}},n=t.LinearScaleBase.extend({setDimensions:function(){var e=this,t=e.options,n=t.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var i=k.min([e.height,e.width]),a=k.valueOrDefault(n.fontSize,x.defaultFontSize);e.drawingArea=t.display?i/2-(a/2+n.backdropPaddingY):i/2},determineDataLimits:function(){var a=this,n=a.chart,r=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;k.each(n.data.datasets,function(e,t){if(n.isDatasetVisible(t)){var i=n.getDatasetMeta(t);k.each(e.data,function(e,t){var n=+a.getRightValue(e);isNaN(n)||i.data[t].hidden||(r=Math.min(n,r),o=Math.max(n,o))})}}),a.min=r===Number.POSITIVE_INFINITY?0:r,a.max=o===Number.NEGATIVE_INFINITY?0:o,a.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,t=k.valueOrDefault(e.fontSize,x.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*t)))},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(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,t;this.options.pointLabels.display?function(e){var t,n,i,a=y(e),r=Math.min(e.height/2,e.width/2),o={r:e.width,l:0,t:e.height,b:0},s={};e.ctx.font=a.font,e._pointLabelSizes=[];var l,u,d,c=v(e);for(t=0;t<c;t++){i=e.getPointPosition(t,r),l=e.ctx,u=a.size,d=e.pointLabels[t]||"",n=k.isArray(d)?{w:k.longestText(l,l.font,d),h:d.length*u+1.5*(d.length-1)*u}:{w:l.measureText(d).width,h:u},e._pointLabelSizes[t]=n;var h=e.getIndexAngle(t),f=k.toDegrees(h)%360,p=g(f,i.x,n.w,0,180),m=g(f,i.y,n.h,90,270);p.start<o.l&&(o.l=p.start,s.l=h),p.end>o.r&&(o.r=p.end,s.r=h),m.start<o.t&&(o.t=m.start,s.t=h),m.end>o.b&&(o.b=m.end,s.b=h)}e.setReductions(r,o,s)}(this):(e=this,t=Math.min(e.height/2,e.width/2),e.drawingArea=Math.round(t),e.setCenterPoint(0,0,0,0))},setReductions:function(e,t,n){var i=t.l/Math.sin(n.l),a=Math.max(t.r-this.width,0)/Math.sin(n.r),r=-t.t/Math.cos(n.t),o=-Math.max(t.b-this.height,0)/Math.cos(n.b);i=s(i),a=s(a),r=s(r),o=s(o),this.drawingArea=Math.min(Math.round(e-(i+a)/2),Math.round(e-(r+o)/2)),this.setCenterPoint(i,a,r,o)},setCenterPoint:function(e,t,n,i){var a=this,r=a.width-t-a.drawingArea,o=e+a.drawingArea,s=n+a.drawingArea,l=a.height-i-a.drawingArea;a.xCenter=Math.round((o+r)/2+a.left),a.yCenter=Math.round((s+l)/2+a.top)},getIndexAngle:function(e){return e*(2*Math.PI/v(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(n)*t)+this.xCenter,y:Math.round(Math.sin(n)*t)+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this.min,t=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:e<0&&t<0?t:0<e&&0<t?e:0)},draw:function(){var r=this,e=r.options,o=e.gridLines,s=e.ticks,l=k.valueOrDefault;if(e.display){var u=r.ctx,d=this.getIndexAngle(0),c=l(s.fontSize,x.defaultFontSize),t=l(s.fontStyle,x.defaultFontStyle),n=l(s.fontFamily,x.defaultFontFamily),h=k.fontString(c,t,n);k.each(r.ticks,function(e,t){if(0<t||s.reverse){var n=r.getDistanceFromCenterForValue(r.ticksAsNumbers[t]);if(
  o.display&&0!==t&&function(e,t,n,i){var a=e.ctx;if(a.strokeStyle=k.valueAtIndexOrDefault(t.color,i-1),a.lineWidth=k.valueAtIndexOrDefault(t.lineWidth,i-1),e.options.gridLines.circular)a.beginPath(),a.arc(e.xCenter,e.yCenter,n,0,2*Math.PI),a.closePath(),a.stroke();else{var r=v(e);if(0===r)return;a.beginPath();var o=e.getPointPosition(0,n);a.moveTo(o.x,o.y);for(var s=1;s<r;s++)o=e.getPointPosition(s,n),a.lineTo(o.x,o.y);a.closePath(),a.stroke()}}(r,o,n,t),s.display){var i=l(s.fontColor,x.defaultFontColor);if(u.font=h,u.save(),u.translate(r.xCenter,r.yCenter),u.rotate(d),s.showLabelBackdrop){var a=u.measureText(e).width;u.fillStyle=s.backdropColor,u.fillRect(-a/2-s.backdropPaddingX,-n-c/2-s.backdropPaddingY,a+2*s.backdropPaddingX,c+2*s.backdropPaddingY)}u.textAlign="center",u.textBaseline="middle",u.fillStyle=i,u.fillText(e,0,-n),u.restore()}}}),(e.angleLines.display||e.pointLabels.display)&&function(e){var t=e.ctx,n=e.options,i=n.angleLines,a=n.pointLabels;t.lineWidth=i.lineWidth,t.strokeStyle=i.color;var r,o,s,l,u=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),d=y(e);t.textBaseline="top";for(var c=v(e)-1;0<=c;c--){if(i.display){var h=e.getPointPosition(c,u);t.beginPath(),t.moveTo(e.xCenter,e.yCenter),t.lineTo(h.x,h.y),t.stroke(),t.closePath()}if(a.display){var f=e.getPointPosition(c,u+5),p=k.valueAtIndexOrDefault(a.fontColor,c,x.defaultFontColor);t.font=d.font,t.fillStyle=p;var m=e.getIndexAngle(c),g=k.toDegrees(m);t.textAlign=0===(l=g)||180===l?"center":l<180?"left":"right",r=g,o=e._pointLabelSizes[c],s=f,90===r||270===r?s.y-=o.h/2:(270<r||r<90)&&(s.y-=o.h),b(t,e.pointLabels[c]||"",f,d.size)}}}(r)}}});t.scaleService.registerScaleType("radialLinear",n,e)}},{25:25,34:34,45:45}],58:[function(e,t){"use strict";function m(e,t){return e-t}function g(e){var t,n,i,a={},r=[];for(t=0,n=e.length;t<n;++t)a[i=e[t]]||(a[i]=!0,r.push(i));return r}function b(e,t,n,i){var a=function(e,t,n){for(var i,a,r,o=0,s=e.length-1;0<=o&&o<=s;){if(a=e[(i=o+s>>1)-1]||null,r=e[i],!a)return{lo:null,hi:r};if(r[t]<n)o=i+1;else{if(!(a[t]>n))return{lo:a,hi:r};s=i-1}}return{lo:r,hi:null}}(e,t,n),r=a.lo?a.hi?a.lo:e[e.length-2]:e[0],o=a.lo?a.hi?a.hi:e[e.length-1]:e[1],s=o[t]-r[t],l=s?(n-r[t])/s:0,u=(o[i]-r[i])*l;return r[i]+u}function x(e,t){var n=t.parser,i=t.parser||t.format;return"function"==typeof n?n(e):"string"==typeof e&&"string"==typeof i?_(e,i):(e instanceof _||(e=_(e)),e.isValid()?e:"function"==typeof i?i(e):e)}function k(e,t){if(v.isNullOrUndef(e))return null;var n=t.options.time,i=x(t.getRightValue(e),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function w(e){for(var t=T.indexOf(e)+1,n=T.length;t<n;++t)if(M[T[t]].common)return T[t]}function S(c,h,e,t){var n,i=t.time,f=i.unit||function(e,t,n,i){var a,r,o,s=T.length;for(a=T.indexOf(e);a<s-1;++a)if(o=(r=M[T[a]]).steps?r.steps[r.steps.length-1]:C,r.common&&Math.ceil((n-t)/(o*r.size))<=i)return T[a];return T[s-1]}(i.minUnit,c,h,e),a=w(f),r=v.valueOrDefault(i.stepSize,i.unitStepSize),o="week"===f&&i.isoWeekday,s=t.ticks.major.enabled,l=M[f],u=_(c),d=_(h),p=[];for(r||(r=function(e,t,n,i){var a,r,o,s=h-c,l=M[f],u=l.size,d=l.steps;if(!d)return Math.ceil(s/(i*u));for(a=0,r=d.length;a<r&&(o=d[a],!(Math.ceil(s/(u*o))<=i));++a);return o}(0,0,0,e)),o&&(u=u.isoWeekday(o),d=d.isoWeekday(o)),u=u.startOf(o?"day":f),(d=d.startOf(o?"day":f))<h&&d.add(1,f),n=_(u),s&&a&&!o&&!i.round&&(n.startOf(a),n.add(~~((u-n)/(l.size*r))*r,f));n<d;n.add(r,f))p.push(+n);return p.push(+n),p}var _=e(1);_="function"==typeof _?_:window.moment;var o=e(25),v=e(45),y=Number.MIN_SAFE_INTEGER||-9007199254740991,C=Number.MAX_SAFE_INTEGER||9007199254740991,M={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},T=Object.keys(M);t.exports=function(t){var e=t.Scale.extend({initialize:function(){if(!_)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");this.mergeTicksOptions(),t.Scale.prototype.initialize.call(this)},update:function(){var e=this.options;return e.time&&e.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),t.Scale.prototype.update.apply(this,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),t.Scale.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,a,r,o=this,s=o.chart,l=o.options.time,u=l.unit||"day",d=C,c=y,h=[],f=[],p=[];for(e=0,n=s.data.labels.length;e<n;++e)p.push(k(s.data.labels[e],o));for(e=0,n=(s.data.datasets||[]).length;e<n;++e)if(s.isDatasetVisible(e))if(a=s.data.datasets[e].data,v.isObject(a[0]))for(f[e]=[],t=0,i=a.length;t<i;++t)r=k(a[t],o),h.push(r),f[e][t]=r;else h.push.apply(h,p),f[e]=p.slice(0);else f[e]=[];p.length&&(p=g(p).sort(m),d=Math.min(d,p[0]),c=Math.max(c,p[p.length-1])),h.length&&(h=g(h).sort(m),d=Math.min(d,h[0]),c=Math.max(c,h[h.length-1])),d=k(l.min,o)||d,c=k(l.max,o)||c,d=d===C?+_().startOf(u):d,c=c===y?+_().endOf(u)+1:c,o.min=Math.min(d,c),o.max=Math.max(d+1,c),o._horizontal=o.isHorizontal(),o._table=[],o._timestamps={data:h,datasets:f,labels:p}},buildTicks:function(){var e,t,n,i,a,r,o,s,l,u,d,c,h=this,f=h.min,p=h.max,m=h.options,g=m.time,v=[],y=[];switch(m.ticks.source){case"data":v=h._timestamps.data;break;case"labels":v=h._timestamps.labels;break;case"auto":default:v=S(f,p,h.getLabelCapacity(f),m)}for("ticks"===m.bounds&&v.length&&(f=v[0],p=v[v.length-1]),f=k(g.min,h)||f,p=k(g.max,h)||p,e=0,t=v.length;e<t;++e)(n=v[e])>=f&&n<=p&&y.push(n);return h.min=f,h.max=p,h._unit=g.unit||function(e,t,n,i){var a,r,o=_.duration(_(i).diff(_(n)));for(a=T.length-1;a>=T.indexOf(t);a--)if(r=T[a],M[r].common&&o.as(r)>=e.length)return r;return T[t?T.indexOf(t):0]}(y,g.minUnit,h.min,h.max),h._majorUnit=w(h._unit),h._table=function(e,t,n){if("linear"===m.distribution||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var i,a,r,o,s,l=[],u=[t];for(i=0,a=e.length;i<a;++i)(o=e[i])>t&&o<n&&u.push(o);for(u.push(n),i=0,a=u.length;i<a;++i)s=u[i+1],r=u[i-1],o=u[i],void 0!==r&&void 0!==s&&Math.round((s+r)/2)===o||l.push({time:o,pos:i/(a-1)});return l}(h._timestamps.data,f,p),h._offsets=(i=h._table,a=y,r=f,o=p,c=d=0,(s=m).offset&&a.length&&(s.time.min||(l=1<a.length?a[1]:o,u=a[0],d=(b(i,"time",l,"pos")-b(i,"time",u,"pos"))/2),s.time.max||(l=a[a.length-1],u=1<a.length?a[a.length-2]:r,c=(b(i,"time",l,"pos")-b(i,"time",u,"pos"))/2)),{left:d,right:c}),h._labelFormat=function(e,t){var n,i,a,r=e.length;for(n=0;n<r;n++){if(0!==(i=x(e[n],t)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===i.second()&&0===i.minute()&&0===i.hour()||(a=!0)}return a?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(h._timestamps.data,g),function(e,t){var n,i,a,r,o=[];for(n=0,i=e.length;n<i;++n)a=e[n],r=!!t&&a===+_(a).startOf(t),o.push({value:a,major:r});return o}(y,h._majorUnit)},getLabelForIndex:function(e,t){var n=this.chart.data,i=this.options.time,a=n.labels&&e<n.labels.length?n.labels[e]:"",r=n.datasets[t].data[e];return v.isObject(r)&&(a=this.getRightValue(r)),i.tooltipFormat?x(a,i).format(i.tooltipFormat):"string"==typeof a?a:x(a,i).format(this._labelFormat)},tickFormatFunction:function(e,t,n,i){var a=this.options,r=e.valueOf(),o=a.time.displayFormats,s=o[this._unit],l=this._majorUnit,u=o[l],d=e.clone().startOf(l).valueOf(),c=a.ticks.major,h=c.enabled&&l&&u&&r===d,f=e.format(i||(h?u:s)),p=h?c:a.ticks.minor,m=v.valueOrDefault(p.callback,p.userCallback);return m?m(f,t,n):f},convertTicksToLabels:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(this.tickFormatFunction(_(e[t].value),t,e));return i},getPixelForOffset:function(e){var t=this,n=t._horizontal?t.width:t.height,i=t._horizontal?t.left:t.top,a=b(t._table,"time",e,"pos");return i+n*(t._offsets.left+a)/(t._offsets.left+1+t._offsets.right)},getPixelForValue:function(e,t,n){var i=null;if(void 0!==t&&void 0!==n&&(i=this._timestamps.datasets[n][t]),null===i&&(i=k(e,this)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(e){var t=this.getTicks();return 0<=e&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this,n=t._horizontal?t.width:t.height,i=t._horizontal?t.left:t.top,a=(n?(e-i)/n:0)*(t._offsets.left+1+t._offsets.left)-t._offsets.right,r=b(t._table,"pos",a,"time");return _(r)},getLabelWidth:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,i=v.toRadians(t.maxRotation),a=Math.cos(i),r=Math.sin(i);return n*a+v.valueOrDefault(t.fontSize,o.global.defaultFontSize)*r},getLabelCapacity:function(e){var t=this,n=t.options.time.displayFormats.millisecond,i=t.tickFormatFunction(_(e),0,[],n),a=t.getLabelWidth(i),r=t.isHorizontal()?t.width:t.height,o=Math.floor(r/a);return 0<o?o:1}});t.scaleService.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",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 a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{1:1,25:25,45:45}]},{},[7])(7)}),this.Inquiry_Chart=function(){function e(){}return e.drawBar=function(e){$(e).each(function(){var e=$.parseJSON($(this).attr("data-columns")),n=[],i=[],a=[],r=[];$.each(e,function(e,t){n.push(e),i.push(t),a.push("rgba(54, 162, 235, 0.2)"),r.push("rgba(54, 162, 235, 1)")}),new Chart(this,{type:"horizontalBar",data:{labels:n,datasets:[{data:i,backgroundColor:a,borderColor:r,borderWidth:1}]},options:{scales:{xAxes:[{ticks:{min:0,max:100,stepSize:10}}]},legend:{display:!1}}})})},e}(),function(V){var U={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,wrapperClass:"bx-wrapper",touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,ariaLive:!0,ariaHidden:!0,keyboardEnabled:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",stopAutoOnClick:!1,autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,shrinkItems:!1,onSliderLoad:function(){return!0},onSlideBefore:function(){return!0},onSlideAfter:function(){return!0},onSlideNext:function(){return!0},onSlidePrev:function(){return!0},onSliderResize:function(){return!0}};V.fn.bxSlider=function(t){if(0===this.length)return this;if(1<this.length)return this.each(function(){V(this).bxSlider(t)}),this;var d={},c=this,n=V(window).width(),a=V(window).height();if(!V(c).data("bxSlider")){var r=function(){V(c).data("bxSlider")||(d.settings=V.extend({},U,t),d.settings.slideWidth=parseInt(d.settings.slideWidth),d.children=c.children(d.settings.slideSelector),d.children.length<d.settings.minSlides&&(d.settings.minSlides=d.children.length),d.children.length<d.settings.maxSlides&&(d.settings.maxSlides=d.children.length),d.settings.randomStart&&(d.settings.startSlide=Math.floor(Math.random()*d.children.length)),d.active={index:d.settings.startSlide},d.carousel=1<d.settings.minSlides||1<d.settings.maxSlides,d.carousel&&(d.settings.preloadImages="all"),d.minThreshold=d.settings.minSlides*d.settings.slideWidth+(d.settings.minSlides-1)*d.settings.slideMargin,d.maxThreshold=d.settings.maxSlides*d.settings.slideWidth+(d.settings.maxSlides-1)*d.settings.slideMargin,d.working=!1,d.controls={},d.interval=null,d.animProp="vertical"===d.settings.mode?"top":"left",d.usingCSS=d.settings.useCSS&&"fade"!==d.settings.mode&&function(){for(var e=document.createElement("div"),t=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"],n=0;n<t.length;n++)if(e.style[t[n]]!==undefined)return d.cssPrefix=t[n].replace("Perspective","").toLowerCase(),d.animProp="-"+d.cssPrefix+"-transform",!0;return!1}(),"vertical"===d.settings.mode&&(d.settings.maxSlides=d.settings.minSlides),c.data("origStyle",c.attr("style")),c.children(d.settings.slideSelector).each(function(){V(this).data("origStyle",V(this).attr("style"))}),e())},e=function(){var e=d.children.eq(d.settings.startSlide);c.wrap('<div class="'+d.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),d.viewport=c.parent(),d.settings.ariaLive&&!d.settings.ticker&&d.viewport.attr("aria-live","polite"),d.loader=V('<div class="bx-loading" />'),d.viewport.prepend(d.loader),c.css({width:"horizontal"===d.settings.mode?1e3*d.children.length+215+"%":"auto",position:"relative"}),d.usingCSS&&d.settings.easing?c.css("-"+d.cssPrefix+"-transition-timing-function",d.settings.easing):d.settings.easing||(d.settings.easing="swing"),d.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),d.viewport.parent().css({maxWidth:l()}),d.settings.pager||d.settings.controls||d.viewport.parent().css({margin:"0 auto 0px"}),d.children.css({"float":"horizontal"===d.settings.mode?"left":"none",listStyle:"none",position:"relative"}),d.children.css("width",u()),"horizontal"===d.settings.mode&&0<d.settings.slideMargin&&d.children.css("marginRight",d.settings.slideMargin),"vertical"===d.settings.mode&&0<d.settings.slideMargin&&d.children.css("marginBottom",d.settings.slideMargin),"fade"===d.settings.mode&&(d.children.css({position:"absolute",zIndex:0,display:"none"}),d.children.eq(d.settings.startSlide).css({zIndex:d.settings.slideZIndex,display:"block"})),d.controls.el=V('<div class="bx-controls" />'),d.settings.captions&&w(),d.active.last=d.settings.startSlide===p()-1,d.settings.video&&c.fitVids(),("all"===d.settings.preloadImages||d.settings.ticker)&&(e=d.children),d.settings.ticker?d.settings.pager=!1:(d.settings.controls&&x(),d.settings.auto&&d.settings.autoControls&&k(),d.settings.pager&&b(),(d.settings.controls||d.settings.autoControls||d.settings.pager)&&d.viewport.after(d.controls.el)),o(e,s)},o=function(e,t){var n=e.find('img:not([src=""]), iframe').length,i=0;0!==n?e.find('img:not([src=""]), iframe').each(function(){V(this).one("load error",function(){++i===n&&t()}).each(function(){this.complete&&V(this).load()})}):t()},s=function(){if(d.settings.infiniteLoop&&"fade"!==d.settings.mode&&!d.settings.ticker){var e="vertical"===d.settings.mode?d.settings.minSlides:d.settings.maxSlides,t=d.children.slice(0,e).clone(!0).addClass("bx-clone"),n=d.children.slice(-e).clone(!0).addClass("bx-clone");d.settings.ariaHidden&&(t.attr("aria-hidden",!0),n.attr("aria-hidden",!0)),c.append(t).prepend(n)}d.loader.remove(),g(),"vertical"===d.settings.mode&&(d.settings.adaptiveHeight=!0),d.viewport.height(h()),c.redrawSlider(),d.settings.onSliderLoad.call(c,d.active.index),d.initialized=!0,d.settings.responsive&&V(window).bind("resize",H),d.settings.auto&&d.settings.autoStart&&(1<p()||d.settings.autoSlideForOnePage)&&O(),d.settings.ticker&&A(),d.settings.pager&&P(d.settings.startSlide),d.settings.controls&&E(),d.settings.touchEnabled&&!d.settings.ticker&&N(),d.settings.keyboardEnabled&&!d.settings.ticker&&V(document).keydown(L)},h=function(){var e=0,t=V();if("vertical"===d.settings.mode||d.settings.adaptiveHeight)if(d.carousel){var n=1===d.settings.moveSlides?d.active.index:d.active.index*m();for(t=d.children.eq(n),i=1;i<=d.settings.maxSlides-1;i++)t=n+i>=d.children.length?t.add(d.children.eq(i-1)):t.add(d.children.eq(n+i))}else t=d.children.eq(d.active.index);else t=d.children;return"vertical"===d.settings.mode?(t.each(function(){e+=V(this).outerHeight()}),0<d.settings.slideMargin&&(e+=d.settings.slideMargin*(d.settings.minSlides-1))):e=Math.max.apply(Math,t.map(function(){return V(this).outerHeight(!1)}).get()),"border-box"===d.viewport.css("box-sizing")?e+=parseFloat(d.viewport.css("padding-top"))+parseFloat(d.viewport.css("padding-bottom"))+parseFloat(d.viewport.css("border-top-width"))+parseFloat(d.viewport.css("border-bottom-width")):"padding-box"===d.viewport.css("box-sizing")&&(e+=parseFloat(d.viewport.css("padding-top"))+parseFloat(d.viewport.css("padding-bottom"))),e},l=function(){var e="100%";return 0<d.settings.slideWidth&&(e="horizontal"===d.settings.mode?d.settings.maxSlides*d.settings.slideWidth+(d.settings.maxSlides-1)*d.settings.slideMargin:d.settings.slideWidth),e},u=function(){var e=d.settings.slideWidth,t=d.viewport.width();if(0===d.settings.slideWidth||d.settings.slideWidth>t&&!d.carousel||"vertical"===d.settings.mode)e=t;else if(1<d.settings.maxSlides&&"horizontal"===d.settings.mode){if(t>d.maxThreshold)return e;t<d.minThreshold?e=(t-d.settings.slideMargin*(d.settings.minSlides-1))/d.settings.minSlides:d.settings.shrinkItems&&(e=Math.floor((t+d.settings.slideMargin)/Math.ceil((t+d.settings.slideMargin)/(e+d.settings.slideMargin))-d.settings.slideMargin))}return e},f=function(){var e=1,t=null;return"horizontal"===d.settings.mode&&0<d.settings.slideWidth?d.viewport.width()<d.minThreshold?e=d.settings.minSlides:d.viewport.width()>d.maxThreshold?e=d.settings.maxSlides:(t=d.children.first().width()+d.settings.slideMargin,e=Math.floor((d.viewport.width()+d.settings.slideMargin)/t)):"vertical"===d.settings.mode&&(e=d.settings.minSlides),e},p=function(){var e=0,t=0,n=0;if(0<d.settings.moveSlides)if(d.settings.infiniteLoop)e=Math.ceil(d.children.length/m());else for(;t<d.children.length;)++e,t=n+f(),n+=d.settings.moveSlides<=f()?d.settings.moveSlides:f();else e=Math.ceil(d.children.length/f());return e},m=function(){return 0<d.settings.moveSlides&&d.settings.moveSlides<=f()?d.settings.moveSlides:f()},g=function(){var e,t,n;d.children.length>d.settings.maxSlides&&d.active.last&&!d.settings.infiniteLoop?"horizontal"===d.settings.mode?(e=(t=d.children.last()).position(),v(-(e.left-(d.viewport.width()-t.outerWidth())),"reset",0)):"vertical"===d.settings.mode&&(n=d.children.length-d.settings.minSlides,e=d.children.eq(n).position(),v(-e.top,"reset",0)):(e=d.children.eq(d.active.index*m()).position(),d.active.index===p()-1&&(d.active.last=!0),e!==undefined&&("horizontal"===d.settings.mode?v(-e.left,"reset",0):"vertical"===d.settings.mode&&v(-e.top,"reset",0)))},v=function(e,t,n,i){var a,r;d.usingCSS?(r="vertical"===d.settings.mode?"translate3d(0, "+e+"px, 0)":"translate3d("+e+"px, 0, 0)",c.css("-"+d.cssPrefix+"-transition-duration",n/1e3+"s"),"slide"===t?(c.css(d.animProp,r),0!==n?c.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){V(e.target).is(c)&&(c.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D())}):D()):"reset"===t?c.css(d.animProp,r):"ticker"===t&&(c.css("-"+d.cssPrefix+"-transition-timing-function","linear"),c.css(d.animProp,r),0!==n?c.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){V(e.target).is(c)&&(c.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),v(i.resetValue,"reset",0),F())}):(v(i.resetValue,"reset",0),F()))):((a={})[d.animProp]=e,"slide"===t?c.animate(a,n,d.settings.easing,function(){D()}):"reset"===t?c.css(d.animProp,e):"ticker"===t&&c.animate(a,n,"linear",function(){v(i.resetValue,"reset",0),F()}))},y=function(){for(var e="",t="",n=p(),i=0;i<n;i++)t="",d.settings.buildPager&&V.isFunction(d.settings.buildPager)||d.settings.pagerCustom?(t=d.settings.buildPager(i),d.pagerEl.addClass("bx-custom-pager")):(t=i+1,d.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+i+'" class="bx-pager-link">'+t+"</a></div>";d.pagerEl.html(e)},b=function(){d.settings.pagerCustom?d.pagerEl=V(d.settings.pagerCustom):(d.pagerEl=V('<div class="bx-pager" />'),d.settings.pagerSelector?V(d.settings.pagerSelector).html(d.pagerEl):d.controls.el.addClass("bx-has-pager").append(d.pagerEl),y()),d.pagerEl.on("click touchend","a",T)},x=function(){d.controls.next=V('<a class="bx-next" href="">'+d.settings.nextText+"</a>"),d.controls.prev=V('<a class="bx-prev" href="">'+d.settings.prevText+"</a>"),d.controls.next.bind("click touchend",S),d.controls.prev.bind("click touchend",_),d.settings.nextSelector&&V(d.settings.nextSelector).append(d.controls.next),d.settings.prevSelector&&V(d.settings.prevSelector).append(d.controls.prev),d.settings.nextSelector||d.settings.prevSelector||(d.controls.directionEl=V('<div class="bx-controls-direction" />'),d.controls.directionEl.append(d.controls.prev).append(d.controls.next),d.controls.el.addClass("bx-has-controls-direction").append(d.controls.directionEl))},k=function(){d.controls.start=V('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+d.settings.startText+"</a></div>"),d.controls.stop=V('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+d.settings.stopText+"</a></div>"),d.controls.autoEl=V('<div class="bx-controls-auto" />'),d.controls.autoEl.on("click",".bx-start",C),d.controls.autoEl.on("click",".bx-stop",M),d.settings.autoControlsCombine?d.controls.autoEl.append(d.controls.start):d.controls.autoEl.append(d.controls.start).append(d.controls.stop),d.settings.autoControlsSelector?V(d.settings.autoControlsSelector).html(d.controls.autoEl):d.controls.el.addClass("bx-has-controls-auto").append(d.controls.autoEl),j(d.settings.autoStart?"stop":"start")},w=function(){d.children.each(function(){var e=V(this).find("img:first").attr("title");e!==undefined&&(""+e).length&&V(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},S=function(e){e.preventDefault(),d.controls.el.hasClass("disabled")||(d.settings.auto&&d.settings.stopAutoOnClick&&c.stopAuto(),c.goToNextSlide())},_=function(e){e.preventDefault(),d.controls.el.hasClass("disabled")||(d.settings.auto&&d.settings.stopAutoOnClick&&c.stopAuto(),c.goToPrevSlide())},C=function(e){c.startAuto(),e.preventDefault()},M=function(e){c.stopAuto(),e.preventDefault()},T=function(e){var t,n;e.preventDefault(),d.controls.el.hasClass("disabled")||(d.settings.auto&&d.settings.stopAutoOnClick&&c.stopAuto(),(t=V(e.currentTarget)).attr("data-slide-index")!==undefined&&(n=parseInt(t.attr("data-slide-index")))!==d.active.index&&c.goToSlide(n))},P=function(n){var e=d.children.length;if("short"===d.settings.pagerType)return 1<d.settings.maxSlides&&(e=Math.ceil(d.children.length/d.settings.maxSlides)),void d.pagerEl.html(n+1+d.settings.pagerShortSeparator+e);d.pagerEl.find("a").removeClass("active"),d.pagerEl.each(function(e,t){V(t).find("a").eq(n).addClass("active")})},D=function(){if(d.settings.infiniteLoop){var e="";0===d.active.index?e=d.children.eq(0).position():d.active.index===p()-1&&d.carousel?e=d.children.eq((p()-1)*m()).position():d.active.index===d.children.length-1&&(e=d.children.eq(d.children.length-1).position()),e&&("horizontal"===d.settings.mode?v(-e.left,"reset",0):"vertical"===d.settings.mode&&v(-e.top,"reset",0))}d.working=!1,d.settings.onSlideAfter.call(c,d.children.eq(d.active.index),d.oldIndex,d.active.index)},j=function(e){d.settings.autoControlsCombine?d.controls.autoEl.html(d.controls[e]):(d.controls.autoEl.find("a").removeClass("active"),d.controls.autoEl.find("a:not(.bx-"+e+")").addClass("active"))},E=function(){1===p()?(d.controls.prev.addClass("disabled"),d.controls.next.addClass("disabled")):!d.settings.infiniteLoop&&d.settings.hideControlOnEnd&&(0===d.active.index?(d.controls.prev.addClass("disabled"),d.controls.next.removeClass("disabled")):d.active.index===p()-1?(d.controls.next.addClass("disabled"),d.controls.prev.removeClass("disabled")):(d.controls.prev.removeClass("disabled"),d.controls.next.removeClass("disabled")))},O=function(){if(0<d.settings.autoDelay)setTimeout(c.startAuto,d.settings.autoDelay);else c.startAuto(),V(window).focus(function(){c.startAuto()}).blur(function(){c.stopAuto()});d.settings.autoHover&&c.hover(function(){d.interval&&(c.stopAuto(!0),d.autoPaused=!0)},function(){d.autoPaused&&(c.startAuto(!0),d.autoPaused=null)})},A=function(){var e,t,n,i,a,r,o,s,l=0;"next"===d.settings.autoDirection?c.append(d.children.clone().addClass("bx-clone")):(c.prepend(d.children.clone().addClass("bx-clone")),e=d.children.first().position(),l="horizontal"===d.settings.mode?-e.left:-e.top),v(l,"reset",0),d.settings.pager=!1,d.settings.controls=!1,d.settings.autoControls=!1,d.settings.tickerHover&&(d.usingCSS?(i="horizontal"===d.settings.mode?4:5,d.viewport.hover(function(){t=c.css("-"+d.cssPrefix+"-transform"),n=parseFloat(t.split(",")[i]),v(n,"reset",0)},function(){s=0,d.children.each(function(){s+="horizontal"===d.settings.mode?V(this).outerWidth(!0):V(this).outerHeight(!0)}),a=d.settings.speed/s,r="horizontal"===d.settings.mode?"left":"top",o=a*(s-Math.abs(parseInt(n))),F(o)})):d.viewport.hover(function(){c.stop()},function(){s=0,d.children.each(function(){s+="horizontal"===d.settings.mode?V(this).outerWidth(!0):V(this).outerHeight(!0)}),a=d.settings.speed/s,r="horizontal"===d.settings.mode?"left":"top",o=a*(s-Math.abs(parseInt(c.css(r)))),F(o)})),F()},F=function(e){var t,n,i=e||d.settings.speed,a={left:0,top:0},r={left:0,top:0};"next"===d.settings.autoDirection?a=c.find(".bx-clone").first().position():r=d.children.first().position(),t="horizontal"===d.settings.mode?-a.left:-a.top,n="horizontal"===d.settings.mode?-r.left:-r.top,v(t,"ticker",i,{resetValue:n})},I=function(e){var t=V(window),n={top:t.scrollTop(),left:t.scrollLeft()},i=e.offset();return n.right=n.left+t.width(),n.bottom=n.top+t.height(),i.right=i.left+e.outerWidth(),i.bottom=i.top+e.outerHeight(),!(n.right<i.left||n.left>i.right||n.bottom<i.top||n.top>i.bottom)},L=function(e){var t=document.activeElement.tagName.toLowerCase(),n="input|textarea";if(null==new RegExp(t,["i"]).exec(n)&&I(c)){if(39===e.keyCode)return S(e),!1;if(37===e.keyCode)return _(e),!1}},N=function(){d.touch={start:{x:0,y:0},end:{x:0,y:0}},d.viewport.bind("touchstart MSPointerDown pointerdown",R),d.viewport.on("click",".bxslider a",function(e){d.viewport.hasClass("click-disabled")&&(e.preventDefault(),d.viewport.removeClass("click-disabled"))})},R=function(e){if(d.controls.el.addClass("disabled"),d.working)e.preventDefault(),d.controls.el.removeClass("disabled");else{d.touch.originalPos=c.position();var t=e.originalEvent,n="undefined"!=typeof t.changedTouches?t.changedTouches:[t];d.touch.start.x=n[0].pageX,d.touch.start.y=n[0].pageY,d.viewport.get(0).setPointerCapture&&(d.pointerId=t.pointerId,d.viewport.get(0).setPointerCapture(d.pointerId)),d.viewport.bind("touchmove MSPointerMove pointermove",z),d.viewport.bind("touchend MSPointerUp pointerup",q),d.viewport.bind("MSPointerCancel pointercancel",W)}},W=function(){v(d.touch.originalPos.left,"reset",0),d.controls.el.removeClass("disabled"),d.viewport.unbind("MSPointerCancel pointercancel",W),d.viewport.unbind("touchmove MSPointerMove pointermove",z),d.viewport.unbind("touchend MSPointerUp pointerup",q),d.viewport.get(0).releasePointerCapture&&d.viewport.get(0).releasePointerCapture(d.pointerId)},z=function(e){var t=e.originalEvent,n="undefined"!=typeof t.changedTouches?t.changedTouches:[t],i=Math.abs(n[0].pageX-d.touch.start.x),a=Math.abs(n[0].pageY-d.touch.start.y),r=0,o=0;a<3*i&&d.settings.preventDefaultSwipeX?e.preventDefault():i<3*a&&d.settings.preventDefaultSwipeY&&e.preventDefault(),"fade"!==d.settings.mode&&d.settings.oneToOneTouch&&("horizontal"===d.settings.mode?(o=n[0].pageX-d.touch.start.x,r=d.touch.originalPos.left+o):(o=n[0].pageY-d.touch.start.y,r=d.touch.originalPos.top+o),v(r,"reset",0))},q=function(e){d.viewport.unbind("touchmove MSPointerMove pointermove",z),d.controls.el.removeClass("disabled");var t=e.originalEvent,n="undefined"!=typeof t.changedTouches?t.changedTouches:[t],i=0,a=0;d.touch.end.x=n[0].pageX,d.touch.end.y=n[0].pageY,"fade"===d.settings.mode?(a=Math.abs(d.touch.start.x-d.touch.end.x))>=d.settings.swipeThreshold&&(d.touch.start.x>d.touch.end.x?c.goToNextSlide():c.goToPrevSlide(),c.stopAuto()):("horizontal"===d.settings.mode?(a=d.touch.end.x-d.touch.start.x,i=d.touch.originalPos.left):(a=d.touch.end.y-d.touch.start.y,i=d.touch.originalPos.top),!d.settings.infiniteLoop&&(0===d.active.index&&0<a||d.active.last&&a<0)?v(i,"reset",200):Math.abs(a)>=d.settings.swipeThreshold?(a<0?c.goToNextSlide():c.goToPrevSlide(),c.stopAuto()):v(i,"reset",200)),d.viewport.unbind("touchend MSPointerUp pointerup",q),d.viewport.get(0).releasePointerCapture&&d.viewport.get(0).releasePointerCapture(d.pointerId)},H=function(){if(d.initialized)if(d.working)window.setTimeout(H,10);else{var e=V(window).width(),t=V(window).height();n===e&&a===t||(n=e,a=t,c.redrawSlider(),d.settings.onSliderResize.call(c,d.active.index))}},B=function(e){var t=f();d.settings.ariaHidden&&!d.settings.ticker&&(d.children.attr("aria-hidden","true"),d.children.slice(e,e+t).attr("aria-hidden","false"))},$=function(e){return e<0?d.settings.infiniteLoop?p()-1:d.active.index:e>=p()?d.settings.infiniteLoop?0:d.active.index:e};return c.goToSlide=function(e,t){var n,i,a,r,o=!0,s=0,l={left:0,top:0},u=null;if(d.oldIndex=d.active.index,d.active.index=$(e),!d.working&&d.active.index!==d.oldIndex){if(d.working=!0,void 0!==(o=d.settings.onSlideBefore.call(c,d.children.eq(d.active.index),d.oldIndex,d.active.index))&&!o)return d.active.index=d.oldIndex,void(d.working=!1);"next"===t?d.settings.onSlideNext.call(c,d.children.eq(d.active.index),d.oldIndex,d.active.index)||(o=!1):"prev"===t&&(d.settings.onSlidePrev.call(c,d.children.eq(d.active.index),d.oldIndex,d.active.index)||(o=!1)),d.active.last=d.active.index>=p()-1,(d.settings.pager||d.settings.pagerCustom)&&P(d.active.index),d.settings.controls&&E(),"fade"===d.settings.mode?(d.settings.adaptiveHeight&&d.viewport.height()!==h()&&d.viewport.animate({height:h()},d.settings.adaptiveHeightSpeed),d.children.filter(":visible").fadeOut(d.settings.speed).css({zIndex:0}),d.children.eq(d.active.index).css("zIndex",d.settings.slideZIndex+1).fadeIn(d.settings.speed,function(){V(this).css("zIndex",d.settings.slideZIndex),D()})):(d.settings.adaptiveHeight&&d.viewport.height()!==h()&&d.viewport.animate({height:h()},d.settings.adaptiveHeightSpeed),!d.settings.infiniteLoop&&d.carousel&&d.active.last?"horizontal"===d.settings.mode?(l=(u=d.children.eq(d.children.length-1)).position(),s=d.viewport.width()-u.outerWidth()):(n=d.children.length-d.settings.minSlides,l=d.children.eq(n).position()):d.carousel&&d.active.last&&"prev"===t?(i=1===d.settings.moveSlides?d.settings.maxSlides-m():(p()-1)*m()-(d.children.length-d.settings.maxSlides),l=(u=c.children(".bx-clone").eq(i)).position()):"next"===t&&0===d.active.index?(l=c.find("> .bx-clone").eq(d.settings.maxSlides).position(),d.active.last=!1):0<=e&&(r=e*parseInt(m()),l=d.children.eq(r).position()),void 0!==l?(a="horizontal"===d.settings.mode?-(l.left-s):-l.top,v(a,"slide",d.settings.speed)):d.working=!1),d.settings.ariaHidden&&B(d.active.index*m())}},c.goToNextSlide=function(){if(d.settings.infiniteLoop||!d.active.last){var e=parseInt(d.active.index)+1;c.goToSlide(e,"next")}},c.goToPrevSlide=function(){if(d.settings.infiniteLoop||0!==d.active.index){var e=parseInt(d.active.index)-1;c.goToSlide(e,"prev")}},c.startAuto=function(e){d.interval||(d.interval=setInterval(function(){"next"===d.settings.autoDirection?c.goToNextSlide():c.goToPrevSlide()},d.settings.pause),d.settings.autoControls&&!0!==e&&j("stop"))},c.stopAuto=function(e){d.interval&&(clearInterval(d.interval),d.interval=null,d.settings.autoControls&&!0!==e&&j("start"))},c.getCurrentSlide=function(){return d.active.index},c.getCurrentSlideElement=function(){return d.children.eq(d.active.index)},c.getSlideElement=function(e){return d.children.eq(e)},c.getSlideCount=function(){return d.children.length},c.isWorking=function(){return d.working},c.redrawSlider=function(){d.children.add(c.find(".bx-clone")).outerWidth(u()),d.viewport.css("height",h()),d.settings.ticker||g(),d.active.last&&(d.active.index=p()-1),d.active.index>=p()&&(d.active.last=!0),d.settings.pager&&!d.settings.pagerCustom&&(y(),P(d.active.index)),d.settings.ariaHidden&&B(d.active.index*m())},c.destroySlider=function(){d.initialized&&(d.initialized=!1,V(".bx-clone",this).remove(),d.children.each(function(){V(this).data("origStyle")!==undefined?V(this).attr("style",V(this).data("origStyle")):V(this).removeAttr("style")}),V(this).data("origStyle")!==undefined?this.attr("style",V(this).data("origStyle")):V(this).removeAttr("style"),V(this).unwrap().unwrap(),
  d.controls.el&&d.controls.el.remove(),d.controls.next&&d.controls.next.remove(),d.controls.prev&&d.controls.prev.remove(),d.pagerEl&&d.settings.controls&&!d.settings.pagerCustom&&d.pagerEl.remove(),V(".bx-caption",this).remove(),d.controls.autoEl&&d.controls.autoEl.remove(),clearInterval(d.interval),d.settings.responsive&&V(window).unbind("resize",H),d.settings.keyboardEnabled&&V(document).unbind("keydown",L),V(this).removeData("bxSlider"))},c.reloadSlider=function(e){e!==undefined&&(t=e),c.destroySlider(),r(),V(c).data("bxSlider",this)},r(),V(c).data("bxSlider",this),this}}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,i,a){return jQuery.easing[jQuery.easing.def](e,t,n,i,a)},easeInQuad:function(e,t,n,i,a){return i*(t/=a)*t+n},easeOutQuad:function(e,t,n,i,a){return-i*(t/=a)*(t-2)+n},easeInOutQuad:function(e,t,n,i,a){return(t/=a/2)<1?i/2*t*t+n:-i/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,i,a){return i*(t/=a)*t*t+n},easeOutCubic:function(e,t,n,i,a){return i*((t=t/a-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,i,a){return(t/=a/2)<1?i/2*t*t*t+n:i/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,i,a){return i*(t/=a)*t*t*t+n},easeOutQuart:function(e,t,n,i,a){return-i*((t=t/a-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,i,a){return(t/=a/2)<1?i/2*t*t*t*t+n:-i/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,i,a){return i*(t/=a)*t*t*t*t+n},easeOutQuint:function(e,t,n,i,a){return i*((t=t/a-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,i,a){return(t/=a/2)<1?i/2*t*t*t*t*t+n:i/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,i,a){return-i*Math.cos(t/a*(Math.PI/2))+i+n},easeOutSine:function(e,t,n,i,a){return i*Math.sin(t/a*(Math.PI/2))+n},easeInOutSine:function(e,t,n,i,a){return-i/2*(Math.cos(Math.PI*t/a)-1)+n},easeInExpo:function(e,t,n,i,a){return 0==t?n:i*Math.pow(2,10*(t/a-1))+n},easeOutExpo:function(e,t,n,i,a){return t==a?n+i:i*(1-Math.pow(2,-10*t/a))+n},easeInOutExpo:function(e,t,n,i,a){return 0==t?n:t==a?n+i:(t/=a/2)<1?i/2*Math.pow(2,10*(t-1))+n:i/2*(2-Math.pow(2,-10*--t))+n},easeInCirc:function(e,t,n,i,a){return-i*(Math.sqrt(1-(t/=a)*t)-1)+n},easeOutCirc:function(e,t,n,i,a){return i*Math.sqrt(1-(t=t/a-1)*t)+n},easeInOutCirc:function(e,t,n,i,a){return(t/=a/2)<1?-i/2*(Math.sqrt(1-t*t)-1)+n:i/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,i,a){var r=1.70158,o=0,s=i;if(0==t)return n;if(1==(t/=a))return n+i;if(o||(o=.3*a),s<Math.abs(i)){s=i;r=o/4}else r=o/(2*Math.PI)*Math.asin(i/s);return-s*Math.pow(2,10*(t-=1))*Math.sin((t*a-r)*(2*Math.PI)/o)+n},easeOutElastic:function(e,t,n,i,a){var r=1.70158,o=0,s=i;if(0==t)return n;if(1==(t/=a))return n+i;if(o||(o=.3*a),s<Math.abs(i)){s=i;r=o/4}else r=o/(2*Math.PI)*Math.asin(i/s);return s*Math.pow(2,-10*t)*Math.sin((t*a-r)*(2*Math.PI)/o)+i+n},easeInOutElastic:function(e,t,n,i,a){var r=1.70158,o=0,s=i;if(0==t)return n;if(2==(t/=a/2))return n+i;if(o||(o=a*(.3*1.5)),s<Math.abs(i)){s=i;r=o/4}else r=o/(2*Math.PI)*Math.asin(i/s);return t<1?s*Math.pow(2,10*(t-=1))*Math.sin((t*a-r)*(2*Math.PI)/o)*-.5+n:s*Math.pow(2,-10*(t-=1))*Math.sin((t*a-r)*(2*Math.PI)/o)*.5+i+n},easeInBack:function(e,t,n,i,a,r){return r==undefined&&(r=1.70158),i*(t/=a)*t*((r+1)*t-r)+n},easeOutBack:function(e,t,n,i,a,r){return r==undefined&&(r=1.70158),i*((t=t/a-1)*t*((r+1)*t+r)+1)+n},easeInOutBack:function(e,t,n,i,a,r){return r==undefined&&(r=1.70158),(t/=a/2)<1?i/2*(t*t*((1+(r*=1.525))*t-r))+n:i/2*((t-=2)*t*((1+(r*=1.525))*t+r)+2)+n},easeInBounce:function(e,t,n,i,a){return i-jQuery.easing.easeOutBounce(e,a-t,0,i,a)+n},easeOutBounce:function(e,t,n,i,a){return(t/=a)<1/2.75?i*(7.5625*t*t)+n:t<2/2.75?i*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?i*(7.5625*(t-=2.25/2.75)*t+.9375)+n:i*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(e,t,n,i,a){return t<a/2?.5*jQuery.easing.easeInBounce(e,2*t,0,i,a)+n:.5*jQuery.easing.easeOutBounce(e,2*t-a,0,i,a)+.5*i+n}}),function(a){"use strict";a.fn.fitVids=function(e){var t={customSelector:null},n=document.createElement("div"),i=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return n.className="fit-vids-style",n.innerHTML="&shy;<style>               .fluid-width-video-wrapper {                 width: 100%;                              position: relative;                       padding: 0;                            }                                                                                   .fluid-width-video-wrapper iframe,        .fluid-width-video-wrapper object,        .fluid-width-video-wrapper embed {           position: absolute;                       top: 0;                                   left: 0;                                  width: 100%;                              height: 100%;                          }                                       </style>",i.parentNode.insertBefore(n,i),e&&a.extend(t,e),this.each(function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];t.customSelector&&e.push(t.customSelector),a(this).find(e.join(",")).each(function(){var e=a(this);if(!("embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){var t=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var n="fitvid"+Math.floor(999999*Math.random());e.attr("id",n)}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*t+"%"),e.removeAttr("height").removeAttr("width")}})})}}(jQuery),this.KeyVisual_Image=function(){function e(){}return e.slide=function(e,t){var n;return null==t&&(t={}),n={auto:!0,autoControls:!0,startText:"\u518d\u751f",stopText:"\u505c\u6b62",controls:!1,pagerCustom:e+" .bx-thumbs"},$(e+" .images").bxSlider($.extend(n,t))},e.randomize=function(e){var t;return(t=$(e)).find("li").sort(function(){return Math.random()-.5}).each(function(){return t.append($(this))})},e}(),this.Googlemaps_Map=function(){function o(){}return o.map=null,o.form=null,o.center=[36.204824,138.252924],o.zoom=13,o.markers=null,o.openedInfo=null,o.resized=null,o.kmlLayer=null,o.attachMessage=function(e){return google.maps.event.addListener(o.markers[e].marker,"click",function(){return o.openedInfo&&o.openedInfo.close(),o.markers[e].window&&o.markers[e].window.open(o.markers[e].marker.getMap(),o.markers[e].marker),o.openedInfo=o.markers[e].window}),google.maps.event.addListener(o.markers[e].window,"closeclick",function(){return o.openedInfo=null})},o.setForm=function(e){return this.form=e},o.load=function(e,t){var n;t&&t.zoom&&(o.zoom=t.zoom),n={center:new google.maps.LatLng(this.center[0],this.center[1]),zoom:this.zoom,mapTypeId:google.maps.MapTypeId.ROADMAP,panControl:!1,zoomControl:!0,zoomControlOptions:{style:google.maps.ZoomControlStyle.LARGE},mapTypeControl:!0,scaleControl:!0,scrollwheel:!0,streetViewControl:!0,overviewMapControl:!0,overviewMapControlOptions:{opened:!0}},this.map=new google.maps.Map($(e).get(0),n)},o.resize=function(){return google.maps.event.trigger(this.map,"resize"),this.resized||(this.map.setCenter(new google.maps.LatLng(this.center[0],this.center[1])),this.form&&this.form.renderMarkers()),this.resized=!0},o.renderMarkers=function(){if(this.form)return this.form.renderMarkers()},o.renderEvents=function(){if(this.form)return this.form.renderEvents()},o.setMarkers=function(e){var r;o.markers=e,r=new google.maps.LatLngBounds,$.each(o.markers,function(e,t){var n,i,a;t.image?o.markers[e].marker=new google.maps.Marker({position:new google.maps.LatLng(t.loc[0],t.loc[1]),icon:t.image,map:o.map}):o.markers[e].marker=new google.maps.Marker({position:new google.maps.LatLng(t.loc[0],t.loc[1]),map:o.map}),r.extend(new google.maps.LatLng(t.loc[0],t.loc[1])),t.html?(n=t.html,o.markers[e].window=new google.maps.InfoWindow({content:n}),o.attachMessage(e)):(t.name||t.text)&&(i=t.name,a=t.text,n='<div class="marker-info">',i&&""!==i&&(n+="<p>"+i+"</p>",a&&""!==a&&$.each(a.split(/[\r\n]+/),function(){return this.match(/^https?:\/\//)?n+='<p><a href="'+this+'">'+this+"</a></p>":n+="<p>"+this+"</p>"})),n+="</div>",o.markers[e].window=new google.maps.InfoWindow({content:n}),o.attachMessage(e))}),0===o.markers.length?o.map.setCenter(new google.maps.LatLng(o.center[0],o.center[1])):(o.map.fitBounds(r),google.maps.event.addListenerOnce(o.map,"idle",function(){o.map.getZoom()>o.zoom&&o.map.setZoom(o.zoom)}))},o.setKmlLayer=function(e){o.kmlLayer=new google.maps.KmlLayer({url:e,suppressInfoWindows:!0,preserveViewport:!1})},o.setGeoJson=function(e){o.map.data.setStyle({fillColor:"#b2c9e8",strokeColor:"#5A88C6",strokeWeight:1}),o.map.data.loadGeoJson(e,{},function(e){var t=new google.maps.LatLngBounds,n=[];e.forEach(function(e){e.getGeometry().forEachLatLng(function(e){t.extend(e),n.push(e)})}),0==n.length?o.map.setCenter(new google.maps.LatLng(o.center[0],o.center[1])):(o.map.fitBounds(t),google.maps.event.addListenerOnce(o.map,"idle",function(){o.map.getZoom()>o.zoom&&o.map.setZoom(o.zoom)}))})},o}(),this.Facility_Search=function(){function e(){}return e.render=function(e,t){var n,i,a;return null==t&&(t={}),n=t.markers,a=function(e){var t,n,i;return t=e.offset().top,n=e.closest("#map-sidebar").offset().top,i=e.closest("#map-sidebar").scrollTop(),e.closest("#map-sidebar").animate({scrollTop:t-n+i},"fast")},Googlemaps_Map.load(e),i=Googlemaps_Map.attachMessage,Googlemaps_Map.attachMessage=function(n){return i(n),google.maps.event.addListener(Googlemaps_Map.markers[n].marker,"click",function(){var e,t;return $("#map-sidebar .column").removeClass("current"),t=Googlemaps_Map.markers[n].id,(e=$('#map-sidebar .column[data-id="'+t+'"]')).addClass("current"),a(e)}),google.maps.event.addListener(Googlemaps_Map.markers[n].window,"closeclick",function(){return $("#map-sidebar .column").removeClass("current")})},Googlemaps_Map.setMarkers(n),$("#map-sidebar .column .click-marker").on("click",function(){var i;return i=parseInt($(this).closest(".column").attr("data-id")),$("#map-sidebar .column").removeClass("current"),$.each(Googlemaps_Map.markers,function(e,t){var n;if(i===t.id)return Googlemaps_Map.openedInfo&&Googlemaps_Map.openedInfo.close(),t.window.open(t.marker.getMap(),t.marker),Googlemaps_Map.openedInfo=t.window,(n=$('#map-sidebar .column[data-id="'+i+'"]')).addClass("current"),a(n),!1}),!1}),$(".filters a").on("click",function(){var a;return $(this).hasClass("clicked")?$(this).removeClass("clicked"):$(this).addClass("clicked"),a=[],$(".filters a.clicked").each(function(){return a.push(parseInt($(this).attr("data-id")))}),$.each(Googlemaps_Map.markers,function(e){var t,n,i;return i=!1,$.each(a,function(){if(0<=$.inArray(parseInt(this),Googlemaps_Map.markers[e].category))return!(i=!0)}),n=Googlemaps_Map.markers[e].id,t=$('#map-sidebar .column[data-id="'+n+'"]'),i?(Googlemaps_Map.markers[e].marker.setVisible(!0),t.show()):(Googlemaps_Map.markers[e].marker.setVisible(!1),Googlemaps_Map.markers[e].window.close(),t.hide())}),!1}),$(".filters .focus").on("change",function(){var i;return(i=$(this)).find("option:selected").each(function(){var e,t,n;return""!==$(this).val()&&(t=$(this).val().split(","),n=$(this).attr("data-zoom-level"),e=new google.maps.LatLng(t[0],t[1]),Googlemaps_Map.map.setCenter(e),n&&Googlemaps_Map.map.setZoom(parseInt(n)),i.val(""))})})},e}(),this.Member_Photo_Form=function(){function a(){}return a.maxPointForm=10,a.deleteMessage="\u30de\u30fc\u30ab\u30fc\u3092\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f",a.setExifMessage="\u753b\u50cf\u306b\u4f4d\u7f6e\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u4f4d\u7f6e\u60c5\u5831\u3092\u5730\u56f3\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u304b\uff1f",a.dataID=0,a.clickIcon="//maps.google.com/mapfiles/ms/icons/blue-dot.png",a.clickMarker=null,a.setMapLoc=function(e,t,n){t=Math.ceil(t*Math.pow(10,6))/Math.pow(10,6),n=Math.ceil(n*Math.pow(10,6))/Math.pow(10,6),e.val(t.toFixed(6)+","+n.toFixed(6))},a.getMapLoc=function(e){var t;return t=e.val().split(","),new google.maps.LatLng(parseFloat(t[0]),parseFloat(t[1]))},a.attachMessage=function(i){google.maps.event.addListener(Googlemaps_Map.markers[i],"click",function(){Googlemaps_Map.openedInfo&&Googlemaps_Map.openedInfo.close(),$('dd[data-id = "'+i+'"]').each(function(){var e,t,n;return t=$(this).find(".marker-name").val(),n=$(this).find(".marker-text").val(),""===t&&""===n||(e='<div class="marker-info">',""!==t&&(e+="<p>"+t+"</p>"),""!==n&&$.each(n.split(/[\r\n]+/),function(){return this.match(/^https?:\/\//)?e+='<p><a href="'+this+'">'+this+"</a></p>":e+="<p>"+this+"</p>"}),Googlemaps_Map.openedInfo=new google.maps.InfoWindow({content:e,maxWidth:260}),Googlemaps_Map.openedInfo.open(Googlemaps_Map.markers[i].getMap(),Googlemaps_Map.markers[i])),!1})})},a.clearMarker=function(e){var t;t=0,""!==e.val()?confirm(a.deleteMessage)&&Googlemaps_Map.markers[t]&&(Googlemaps_Map.markers[t].setMap(null),e.val("")):Googlemaps_Map.markers[t]&&Googlemaps_Map.markers[t].setMap(null)},a.createMarker=function(e){var t;""!==$(".mod-map .clicked").val()&&(e.val($(".mod-map .clicked").val()),t=0,Googlemaps_Map.markers[t]&&Googlemaps_Map.markers[t].setMap(null),Googlemaps_Map.markers[t]=new google.maps.Marker({position:a.getMapLoc($(".mod-map .marker-loc")),map:Googlemaps_Map.map}),a.attachMessage(t))},a.renderMarkers=function(){var e,t,n,i;if(n=new google.maps.LatLngBounds,Googlemaps_Map.markers)for(e=0,t=(i=Googlemaps_Map.markers).length;e<t;e++)i[e].setMap(null);Googlemaps_Map.markers=[],a.dataID=0,$(".mod-map .marker").each(function(){var e;return $(this).attr("data-id",a.dataID),""!==$(this).find(".marker-loc").val()&&(e=a.getMapLoc($(this).find(".marker-loc")),Googlemaps_Map.markers[a.dataID]=new google.maps.Marker({position:e,map:Googlemaps_Map.map}),a.attachMessage(a.dataID),n.extend(e)),a.dataID+=1}),0<Googlemaps_Map.markers.length&&Googlemaps_Map.map.setCenter(n.getCenter())},a.setExifLatLng=function(e){return $(e).change(function(e){if(e.target.files[0])return EXIF.getData(e.target.files[0],function(){var e,t,n,i;return e=EXIF.getTag(this,"GPSLatitude"),n=EXIF.getTag(this,"GPSLongitude"),t=EXIF.getTag(this,"GPSLatitudeRef")||"N",i=EXIF.getTag(this,"GPSLongitudeRef")||"W",!(!e||!n)&&(!!confirm(a.setExifMessage)&&(t="N"===t?1:-1,i="W"===i?-1:1,e=(e[0]+e[1]/60+e[2]/3600)*t,n=(n[0]+n[1]/60+n[2]/3600)*i,$(".mod-map .clicked").val([e,n].join()),a.createMarker($(".mod-map .marker-loc")),Googlemaps_Map.map.setCenter(new google.maps.LatLng(e,n))))})})},a.renderEvents=function(){google.maps.event.addListener(Googlemaps_Map.map,"click",function(e){return a.setMapLoc($(".mod-map .clicked"),e.latLng.lat(),e.latLng.lng()),a.createMarker($(".mod-map .marker-loc"))}),$(".mod-map .clear-marker").on("click",function(){return a.clearMarker($(".mod-map .marker-loc")),!1}),google.maps.event.addListener(Googlemaps_Map.map,"bounds_changed",function(){var e=Googlemaps_Map.map.getZoom();$('input[name="item[map_zoom_level]"]').val(e)})},a}(),this.Openlayers_Map=function(){function n(e,t){null==t&&(t={}),this.canvas=e,this.opts=t,this.opts.zoom||(this.opts.zoom=n.defaultZoom),this.markerFeature=null,this.markerLayer=null,this.popup=null,this.markerIcon="/assets/img/map-marker.png",this.render()}return n.defaultZoom=10,n.prototype.render=function(){return this.initMap(),this.initPopup(),this.opts.markers&&this.renderMarkers(this.opts.markers),this.resize(),this.renderEvents()},n.prototype.createLayers=function(e){var t,n,i,a,r,o,s,l;for(i=[],t=0,a=e.length;t<a;t++)s=(r=e[t]).source,l=r.url,o=r.projection,n=new ol.layer.Tile({source:new ol.source[s]({url:l,projection:o})}),i.push(n);return i},n.prototype.initMap=function(){var e,t;return e=this.opts.center||[138.252924,36.204824],(t=this.opts.layers)||(t=[{source:"XYZ",url:"http://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png",projection:"EPSG:3857"}]),this.map=new ol.Map({target:this.canvas,renderer:["canvas","dom"],layers:this.createLayers(t),controls:ol.control.defaults({attributionOptions:{collapsible:!1}}),view:new ol.View({projection:"EPSG:3857",center:ol.proj.transform(e,"EPSG:4326","EPSG:3857"),maxZoom:18,zoom:this.opts.zoom}),logo:!0})},n.prototype.initPopup=function(){var i,e;return $("body").append('<div id="marker-popup"><div class="closer"></div><div class="content"></div></div>'),this.popup=$("#marker-popup"),this.popup.hide(),this.popupOverlay=new ol.Overlay({element:this.popup.get(0),autoPan:!0,autoPanAnimation:{duration:250}}),this.map.addOverlay(this.popupOverlay),this.map.on("pointermove",(i=this,function(e){var t,n;if(!e.dragging)return n=i.map.getEventPixel(e.originalEvent),t=i.map.hasFeatureAtPixel(n)?"pointer":"",i.map.getTarget().style.cursor=t;i.popup.hide()})),this.popup.find(".closer").on("click",(e=this,function(){return e.popupOverlay.setPosition(void 0),$(e).blur(),!1}))},n.prototype.showPopup=function(e,t){var n;if(n=e.get("markerHtml"))return this.popup.find(".content").html(n),this.popup.show(),this.popupOverlay.setPosition(t);this.popup.hide()},n.prototype.renderEvents=function(){return this.map.on("click",(n=this,function(e){var t;(t=n.map.forEachFeatureAtPixel(e.pixel,function(e){return e}))&&n.showPopup(t,e.coordinate)}));var n},n.prototype.createMarkerStyle=function(e){return new ol.style.Style({image:new ol.style.Icon({anchor:[.5,1],anchorXUnits:"fraction",anchorYUnits:"fraction",src:e})})},n.prototype.setMarker=function(e,t){var n,i,a,r,o,s,l;return null==t&&(t={}),i=this.markerIcon,t.image&&(i=t.image),l=this.createMarkerStyle(i),a=[e[1],e[0]],(n=new ol.Feature({geometry:new ol.geom.Point(ol.proj.transform(a,"EPSG:4326","EPSG:3857")),markerId:null!=(r=t.id)?r:null,markerHtml:null!=(o=t.html)?o:null,category:null!=(s=t.category)?s:null,iconSrc:i})).setStyle(l),this.markerLayer?this.markerLayer.getSource().addFeature(n):(this.markerLayer=new ol.layer.Vector({source:new ol.source.Vector({features:[n]})}),this.map.addLayer(this.markerLayer)),n},n.prototype.getMarker=function(t){var n;return n=null,this.markerLayer&&this.markerLayer.getSource().forEachFeature(function(e){if(e.get("markerId")===t)return n=e}),n},n.prototype.getMarkers=function(){return this.markerLayer.getSource().getFeatures()},n.prototype.removeMarkers=function(){var t;this.popup&&this.popup.hide(),this.markerLayer&&(t=this.markerLayer.getSource()).forEachFeature(function(e){t.removeFeature(e)})},n.prototype.setCenter=function(e){return this.map.getView().setCenter(ol.proj.transform(e,"EPSG:4326","EPSG:3857"))},n.prototype.setZoom=function(e){return this.map.getView().setZoom(e)},n.prototype.renderMarkers=function(e){var t,n,i,a,r,o,s,l,u,d,c,h,f;for(i in c=[],e)n="/assets/img/map-marker.png",(a=e[i]).image&&(n=a.image),h=this.createMarkerStyle(n),r="",o=a.name,f=a.text,o&&(r+="<p>"+o+"</p>"),f&&$.each(f.split(/[\r\n]+/),function(){return this.match(/^https?:\/\//)?r+='<p><a href="'+this+'">'+this+"</a></p>":r+="<p>"+this+"</p>"}),s=[a.loc[1],a.loc[0]],(t=new ol.Feature({geometry:new ol.geom.Point(ol.proj.transform(s,"EPSG:4326","EPSG:3857")),markerId:null!=(l=a.id)?l:i,markerHtml:null!=(u=a.html)?u:r,category:null!=(d=a.category)?d:null,iconSrc:n})).setStyle(h),this.markerLayer?c.push(this.markerLayer.getSource().addFeature(t)):(this.markerLayer=new ol.layer.Vector({source:new ol.source.Vector({features:[t]})}),c.push(this.map.addLayer(this.markerLayer)));return c},n.prototype.resize=function(){var e;this.markerLayer&&(e=this.markerLayer.getSource().getExtent(),this.map.getView().fit(e,this.map.getSize()),this.map.getView().getZoom()>this.opts.zoom&&this.map.getView().setZoom(this.opts.zoom))},n.prototype.loadLayer=function(r,e){var o=this,s=r,l=e,u=new ol.source.Vector({format:new l,loader:function(t,e,n){n.getCode();var i=new XMLHttpRequest,a=function(){console.log("loadLayer error:"+r)};i.open("GET",s),i.onerror=a,i.onloadstart=function(){$(o.canvas).hide()},i.onload=function(){if(200==i.status){var e=(new l).readFeatures(i.responseText,{featureProjection:n});u.addFeatures(e),t=d.getSource().getExtent(),$(o.canvas).show(),o.map.getView().fit(t,o.map.getSize()),o.map.getView().getZoom()>o.opts.zoom&&o.map.getView().setZoom(o.opts.zoom)}else a()},i.send()}}),d=new ol.layer.Vector({map:this.map,source:u})},n}(),this.Openlayers_Facility_Search=function(){function e(){}return e.render=function(e,t){var n,o,a,r;return null==t&&(t={}),r=function(e){var t,n,i;return t=e.offset().top,n=e.closest("#map-sidebar").offset().top,i=e.closest("#map-sidebar").scrollTop(),e.closest("#map-sidebar").animate({scrollTop:t-n+i},"fast")},n=$(e)[0],o=new Openlayers_Map(n,t),a=o.showPopup,o.showPopup=function(e,t){var n,i;return a.call(o,e,t),$("#map-sidebar .column").removeClass("current"),i=e.get("markerId"),(n=$('#map-sidebar .column[data-id="'+i+'"]')).addClass("current"),r(n)},$("#map-sidebar .column .click-marker").on("click",function(){var e,t,n;return t=parseInt($(this).closest(".column").attr("data-id")),$("#map-sidebar .column").removeClass("current"),(n=o.getMarker(t))&&(e=n.getGeometry().getCoordinates(),o.showPopup(n,e)),!1}),$(".filters a").on("click",function(){var r,e;return $(this).hasClass("clicked")?$(this).removeClass("clicked"):$(this).addClass("clicked"),r=[],$(".filters a.clicked").each(function(){return r.push(parseInt($(this).attr("data-id")))}),e=o.getMarkers(),$.each(e,function(){var e,t,n,i,a;return a=!1,e=this.get("category"),$.each(r,function(){if(0<=$.inArray(parseInt(this),e))return!(a=!0)}),t=this.get("markerId"),$('#map-sidebar .column[data-id="'+t+'"]'),o.popup.hide(),a?(n=this.get("iconSrc"),i=o.createMarkerStyle(n)):i=new ol.style.Style({}),this.setStyle(i)}),!1}),$(".filters .focus").on("change",function(){var i;return(i=$(this)).find("option:selected").each(function(){var e,t,n;return""!==$(this).val()&&(e=$(this).val().split(","),n=$(this).attr("data-zoom-level"),t=[parseFloat(e[1]),parseFloat(e[0])],o.setCenter(t),n&&o.setZoom(parseInt(n)),i.val(""))})})},e}(),this.Openlayers_Member_Photo_Form=function(){function e(e,t){null==t&&(t={}),this.canvas=e,this.opts=t,this.markerFeature=null,this.markerLayer=null,this.popup=null,this.maxPointForm=10,this.deleteMessage="\u30de\u30fc\u30ab\u30fc\u3092\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f",this.setExifMessage="\u753b\u50cf\u306b\u4f4d\u7f6e\u60c5\u5831\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u4f4d\u7f6e\u60c5\u5831\u3092\u5730\u56f3\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u304b\uff1f",this.dataID=0,this.markerIcon="/assets/img/map-marker.png",this.clickIcon="/assets/img/map-marker-click.png",this.clickMarkerId=null,this.render()}return e.prototype.getMapLoc=function(e){var t;return t=e.val().split(","),[parseFloat(t[0]),parseFloat(t[1])]},e.prototype.setMapLoc=function(e,t,n){t=Math.ceil(t*Math.pow(10,6))/Math.pow(10,6),n=Math.ceil(n*Math.pow(10,6))/Math.pow(10,6),e.val(t.toFixed(6)+","+n.toFixed(6))},e.prototype.render=function(){return this.initMap(),this.renderMarkers(),this.resize(),this.renderEvents()},e.prototype.createLayers=function(e){var t,n,i,a,r,o,s,l;for(i=[],t=0,a=e.length;t<a;t++)s=(r=e[t]).source,l=r.url,o=r.projection,n=new ol.layer.Tile({source:new ol.source[s]({url:l,projection:o})}),i.push(n);return i},e.prototype.initMap=function(){var e,t;return e=this.opts.center||[138.252924,36.204824],(t=this.opts.layers)||(t=[{source:"XYZ",url:"http://cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png",projection:"EPSG:3857"}]),this.map=new ol.Map({target:this.canvas,renderer:["canvas","dom"],layers:this.createLayers(t),controls:ol.control.defaults({attributionOptions:{collapsible:!1}}),view:new ol.View({projection:"EPSG:3857",center:ol.proj.transform(e,"EPSG:4326","EPSG:3857"),maxZoom:18,zoom:this.opts.zoom||10}),logo:!1})},e.prototype.setCenter=function(e){var t;return t=[e[1],e[0]],this.map.getView().setCenter(ol.proj.transform(t,"EPSG:4326","EPSG:3857"))},e.prototype.renderMarkers=function(){return $(".mod-map .marker").each((i=this,function(e,t){var n;return $(t).attr("data-id",i.dataID),""!==$(t).find(".marker-loc").val()&&(n=i.getMapLoc($(t).find(".marker-loc")),i.setMarker(n,{id:parseInt(i.dataID)})),i.dataID+=1}));var i},e.prototype.setMarker=function(e,t){var n,i,a,r,o,s,l;return null==t&&(t={}),s=this.markerIcon,t.image&&(s=t.image),l=new ol.style.Style({image:new ol.style.Icon({anchor:[.5,1],anchorXUnits:"fraction",anchorYUnits:"fraction",src:s})}),i=[e[1],e[0]],(n=new ol.Feature({geometry:new ol.geom.Point(ol.proj.transform(i,"EPSG:4326","EPSG:3857")),markerId:null!=(a=t.id)?a:null,markerHtml:null!=(r=t.html)?r:null,category:null!=(o=t.category)?o:null})).setStyle(l),this.markerLayer?(console.log(this.markerLayer.getSource()),this.markerLayer.getSource().addFeature(n)):(this.markerLayer=new ol.layer.Vector({source:new ol.source.Vector({features:[n]})}),this.map.addLayer(this.markerLayer)),n},e.prototype.getMarker=function(t){var n;return n=null,this.markerLayer&&this.markerLayer.getSource().forEachFeature(function(e){if(e.get("markerId")===t)return n=e}),n},e.prototype.removeMarker=function(e){var t;return!!(t=this.getMarker(e))&&(this.markerLayer.getSource().removeFeature(t),!0)},e.prototype.renderEvents=function(){var n,e;return this.map.on("click",(n=this,function(e){var t;for(n.map.forEachFeatureAtPixel(e.pixel,function(e){return e}),t=ol.proj.transform(e.coordinate,"EPSG:3857","EPSG:4326");t[0]<180;)t[0]+=360;for(;180<t[0];)t[0]-=360;return t.reverse(),n.setMapLoc($(".mod-map .clicked"),t[0],t[1]),n.setMapLoc($(".mod-map .marker-loc"),t[0],t[1]),n.createMarker($(".mod-map .marker-loc"))})),this.map.getView().on("propertychange",function(e){if("resolution"===e.key){var t=this.getZoom();$('input[name="item[map_zoom_level]"]').val(t)}}),$(".mod-map .clear-marker").on("click",(e=this,function(){return e.clearMarker($(".mod-map .marker-loc")),!1}))},e.prototype.createMarker=function(e){var t;return t=0,this.removeMarker(t),this.setMarker(this.getMapLoc(e),{id:t})},e.prototype.clearMarker=function(e){var t;t=0,""!==e.val()?confirm(this.deleteMessage)&&(this.removeMarker(t),e.val("")):this.removeMarker(t)},e.prototype.setExifLatLng=function(e){return $(e).change((t=this,function(e){var a;if(e.target.files[0])return a=t,EXIF.getData(e.target.files[0],function(){var e,t,n,i;return e=EXIF.getTag(this,"GPSLatitude"),n=EXIF.getTag(this,"GPSLongitude"),t=EXIF.getTag(this,"GPSLatitudeRef")||"N",i=EXIF.getTag(this,"GPSLongitudeRef")||"W",!(!e||!n)&&!!confirm(a.setExifMessage)&&(t="N"===t?1:-1,i="W"===i?-1:1,e=(e[0]+e[1]/60+e[2]/3600)*t,n=(n[0]+n[1]/60+n[2]/3600)*i,$(".mod-map .clicked").val([e,n].join()),$(".mod-map .marker-loc").val([e,n].join()),a.createMarker($(".mod-map .marker-loc")),a.setCenter([e,n]))})}));var t},e.prototype.resize=function(){var e;this.markerLayer&&(e=this.markerLayer.getSource().getExtent(),this.map.getView().setCenter(ol.extent.getCenter(e)))},e}(),this.Openlayers_Dataset_Map=function(){function r(){}return r.map=null,r.map_points=null,r.render=function(e,t){$(".dataset-search a#ajax-search").colorbox({fixed:!0,width:"90%",height:"90%"});var n=$(e)[0];r.map=new Openlayers_Map(n,t)},r.selectItem=function(e){var t=$(e).attr("data-id"),n=$(e).find(".selected-item").clone(!1);$(n).find("a").removeClass("cboxElement"),$(n).find('[name="resource_id"]').each(function(){var e=$(this).val();$(this).data("map_points",r.map_points[t][e]),$(this).on("click",function(){r.map.removeMarkers(),$(".dataset-search .selected-item .set-markers:checked").each(function(){var e=$(this).data("map_points");r.map.renderMarkers(e),r.map.resize()})})}),$(n).find(".deselect").on("click",function(){return $(this).closest(".selected-item").remove(),r.map.removeMarkers(),$(".selected-item .set-markers:checked").each(function(){var e=$(this).data("map_points");r.map.renderMarkers(e),r.map.resize()}),!1}),n.show(),$(".dataset-search .selected-dataset").append(n);for(var i=$(".dataset-search .selected-dataset .selected-item").length-10,a=0;a<i;a++)$(".dataset-search .selected-dataset .selected-item:first").remove();return n},r.toggleSelectButton=function(){0<$(".search-ui .items input:checked").size()?$(".select-items").parent("div").show():$(".select-items").parent("div").hide()},r.modal=function(e){r.map_points=e,$(".search-ui-form form.search").on("submit",function(){return $(this).ajaxSubmit({url:$(this).attr("action"),success:function(e){return $("#cboxLoadedContent").html(e)},error:function(){return alert("== Error ==")}}),!1}),$(".search-ui a.select-item").on("click",function(){var e=$(this).closest("tr");return article=r.selectItem(e),$.colorbox.close(),$(article).find(".set-markers").trigger("click"),!1}),$(".search-ui-select .select-items").on("click",function(){return $(".search-ui .items .set-dataset:checked").each(function(){var e=$(this).closest("tr");r.selectItem(e)}),$.colorbox.close(),!1}),$(".search-ui .list-head input:checkbox").on("change",function(){var e=$(this).prop("checked");$(".search-ui .list-item").each(function(){$(this).toggleClass("checked",e),$(this).find(".set-dataset").prop("checked",e)})}),$(".search-ui").on("change",function(){r.toggleSelectButton()}),$(".dataset-search .selected-dataset .selected-item").each(function(){var e=$(this).attr("data-id"),t=$(".items [data-id='"+e+"']");t.find("input[type=checkbox]").remove();var n=t.find(".select-item").html();t.find(".select-item").replaceWith("<span class='select-item' style='color: #888'>"+n+"</span>")})},r}(),function(e,t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):e.jQuery?t(e.jQuery):t(e.Zepto)}(this,function(u,l){u.fn.jPlayer=function(n){var i="jPlayer",e="string"==typeof n,a=Array.prototype.slice.call(arguments,1),r=this;return n=!e&&a.length?u.extend.apply(null,[!0,n].concat(a)):n,e&&"_"===n.charAt(0)||(e?this.each(function(){var e=u(this).data(i),t=e&&u.isFunction(e[n])?e[n].apply(e,a):e;if(t!==e&&t!==l)return r=t,!1}):this.each(function(){var e=u(this).data(i);e?e.option(n||{}):u(this).data(i,new u.jPlayer(n,this))})),r},u.jPlayer=function(e,t){if(arguments.length){this.element=u(t),this.options=u.extend(!0,{},this.options,e);var n=this;this.element.bind("remove.jPlayer",function(){n.destroy()}),this._init()}},"function"!=typeof u.fn.stop&&(u.fn.stop=function(){}),u.jPlayer.emulateMethods="load play pause",u.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate",u.jPlayer.emulateOptions="muted volume",u.jPlayer.reservedEvent="ready flashreset resize repeat error warning",u.jPlayer.event={},u.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){u.jPlayer.event[this]="jPlayer_"+this}),u.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"],u.jPlayer.pause=function(){u.jPlayer.prototype.destroyRemoved(),u.each(u.jPlayer.prototype.instances,function(e,t){t.data("jPlayer").status.srcSet&&t.jPlayer("pause")})},u.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var e=function(){this.init()};e.prototype={init:function(){this.options={timeFormat:u.jPlayer.timeFormat}},time:function(e){e=e&&"number"==typeof e?e:0;var t=new Date(1e3*e),n=t.getUTCHours(),i=this.options.timeFormat.showHour?t.getUTCMinutes():t.getUTCMinutes()+60*n,a=this.options.timeFormat.showMin?t.getUTCSeconds():t.getUTCSeconds()+60*i,r=this.options.timeFormat.padHour&&n<10?"0"+n:n,o=this.options.timeFormat.padMin&&i<10?"0"+i:i,s=this.options.timeFormat.padSec&&a<10?"0"+a:a,l="";return l+=this.options.timeFormat.showHour?r+this.options.timeFormat.sepHour:"",l+=this.options.timeFormat.showMin?o+this.options.timeFormat.sepMin:"",l+=this.options.timeFormat.showSec?s+this.options.timeFormat.sepSec:""}};var t=new e;u.jPlayer.convertTime=function(e){return t.time(e)},u.jPlayer.uaBrowser=function(e){var t=e.toLowerCase(),n=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,a=/(mozilla)(?:.*? rv:([\w.]+))?/,r=/(webkit)[ \/]([\w.]+)/.exec(t)||n.exec(t)||i.exec(t)||t.indexOf("compatible")<0&&a.exec(t)||[];return{browser:r[1]||"",version:r[2]||"0"}},u.jPlayer.uaPlatform=function(e){var t=e.toLowerCase(),n=/(ipad|playbook)/,i=/(android)/,a=/(mobile)/,r=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(t)||[],o=n.exec(t)||!a.exec(t)&&i.exec(t)||[];return r[1]&&(r[1]=r[1].replace(/\s/g,"_")),{
  platform:r[1]||"",tablet:o[1]||""}},u.jPlayer.browser={},u.jPlayer.platform={};var n=u.jPlayer.uaBrowser(navigator.userAgent);n.browser&&(u.jPlayer.browser[n.browser]=!0,u.jPlayer.browser.version=n.version);var i=u.jPlayer.uaPlatform(navigator.userAgent);i.platform&&(u.jPlayer.platform[i.platform]=!0,u.jPlayer.platform.mobile=!i.tablet,u.jPlayer.platform.tablet=!!i.tablet),u.jPlayer.getDocMode=function(){var e;return u.jPlayer.browser.msie&&(document.documentMode?e=document.documentMode:(e=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(e=7))),e},u.jPlayer.browser.documentMode=u.jPlayer.getDocMode(),u.jPlayer.nativeFeatures={init:function(){var e,t,n,i=document,a=i.createElement("video"),r={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""],ms:["","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError"]},o=["w3c","moz","webkit","webkitVideo","ms"];for(this.fullscreen=e={support:{w3c:!!i[r.w3c[0]],moz:!!i[r.moz[0]],webkit:"function"==typeof i[r.webkit[3]],webkitVideo:"function"==typeof a[r.webkitVideo[2]],ms:"function"==typeof a[r.ms[2]]},used:{}},t=0,n=o.length;t<n;t++){var s=o[t];if(e.support[s]){e.spec=s,e.used[s]=!0;break}}if(e.spec){var l=r[e.spec];e.api={fullscreenEnabled:!0,fullscreenElement:function(e){return(e=e||i)[l[1]]},requestFullscreen:function(e){return e[l[2]]()},exitFullscreen:function(e){return(e=e||i)[l[3]]()}},e.event={fullscreenchange:l[4],fullscreenerror:l[5]}}else e.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},e.event={}}},u.jPlayer.nativeFeatures.init(),u.jPlayer.focus=null,u.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var a=function(n){var i,a=u.jPlayer.focus;a&&(u.each(u.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(e,t){if(n.target.nodeName.toUpperCase()===t.toUpperCase())return!(i=!0)}),i||u.each(a.options.keyBindings,function(e,t){if(t&&u.isFunction(t.fn)&&("number"==typeof t.key&&n.which===t.key||"string"==typeof t.key&&n.key===t.key))return n.preventDefault(),t.fn(a),!1}))};u.jPlayer.keys=function(e){var t="keydown.jPlayer";u(document.documentElement).unbind(t),e&&u(document.documentElement).bind(t,a)},u.jPlayer.keys(!0),u.jPlayer.prototype={count:0,version:{script:"2.9.2",needFlash:"2.9.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",auroraFormats:"wav",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen",noVolume:"jp-state-no-volume"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(e){e.jPlayer.options.loop?u(this).unbind(".jPlayerRepeat").bind(u.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){u(this).jPlayer("play")}):u(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/(?=.*android)(?!.*chrome)(?=.*mobile)/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:80,fn:function(e){e.status.paused?e.play():e.pause()}},fullScreen:{key:70,fn:function(e){(e.status.video||e.options.audioFullScreen)&&e._setOption("fullScreen",!e.options.fullScreen)}},muted:{key:77,fn:function(e){e._muted(!e.options.muted)}},volumeUp:{key:190,fn:function(e){e.volume(e.options.volume+.1)}},volumeDown:{key:188,fn:function(e){e.volume(e.options.volume-.1)}},loop:{key:76,fn:function(e){e._loop(!e.options.loop)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,aurora:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var a=this;if(this.element.empty(),this.status=u.extend({},this.status),this.internal=u.extend({},this.internal),this.options.timeFormat=u.extend({},u.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=u.jPlayer.platform.ipad||u.jPlayer.platform.iphone||u.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!u.jPlayer.focus&&(u.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:NaN},u.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.aurora={},this.aurora.formats=[],this.aurora.properties=[],this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),u.each(this.options.supplied.toLowerCase().split(","),function(e,t){var n=t.replace(/^\s+|\s+$/g,"");if(a.format[n]){var i=!1;u.each(a.formats,function(e,t){if(n===t)return!(i=!0)}),i||a.formats.push(n)}}),u.each(this.options.solution.toLowerCase().split(","),function(e,t){var n=t.replace(/^\s+|\s+$/g,"");if(a.solution[n]){var i=!1;u.each(a.solutions,function(e,t){if(n===t)return!(i=!0)}),i||a.solutions.push(n)}}),u.each(this.options.auroraFormats.toLowerCase().split(","),function(e,t){var n=t.replace(/^\s+|\s+$/g,"");if(a.format[n]){var i=!1;u.each(a.aurora.formats,function(e,t){if(n===t)return!(i=!0)}),i||a.aurora.formats.push(n)}}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=u.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=u.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:l}),this.internal.video=u.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:l}),this.internal.flash=u.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:l,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"jquery.jplayer.swf":"")}),this.internal.poster=u.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:l}),u.each(u.jPlayer.event,function(e,t){a.options[e]!==l&&(a.element.bind(t+".jPlayer",a.options[e]),a.options[e]=l)}),this.require.audio=!1,this.require.video=!1,u.each(this.formats,function(e,t){a.require[a.format[t].media]=!0}),this.require.video?this.options=u.extend(!0,{},this.optionsVideo,this.options):this.options=u.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),u.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){a.status.video&&!a.status.waitForPlay||a.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=u("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){a._trigger(u.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.aurora.canPlay={},this.flash.canPlay={},u.each(this.formats,function(e,t){a.html.canPlay[t]=a.html[a.format[t].media].available&&""!==a.htmlElement[a.format[t].media].canPlayType(a.format[t].codec),a.aurora.canPlay[t]=-1<u.inArray(t,a.aurora.formats),a.flash.canPlay[t]=a.format[t].flashCanPlay&&a.flash.available}),this.html.desired=!1,this.aurora.desired=!1,this.flash.desired=!1,u.each(this.solutions,function(e,t){if(0===e)a[t].desired=!0;else{var n=!1,i=!1;u.each(a.formats,function(e,t){a[a.solutions[0]].canPlay[t]&&("video"===a.format[t].media?i=!0:n=!0)}),a[t].desired=a.require.audio&&!n||a.require.video&&!i}}),this.html.support={},this.aurora.support={},this.flash.support={},u.each(this.formats,function(e,t){a.html.support[t]=a.html.canPlay[t]&&a.html.desired,a.aurora.support[t]=a.aurora.canPlay[t]&&a.aurora.desired,a.flash.support[t]=a.flash.canPlay[t]&&a.flash.desired}),this.html.used=!1,this.aurora.used=!1,this.flash.used=!1,u.each(this.solutions,function(e,n){u.each(a.formats,function(e,t){if(a[n].support[t])return!(a[n].used=!0)})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.aurora.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:u.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:u.jPlayer.errorMsg.NO_SOLUTION,hint:u.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var e,t="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(u.jPlayer.browser.msie&&(Number(u.jPlayer.browser.version)<9||u.jPlayer.browser.documentMode<9)){var n='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>',i=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+t+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];e=document.createElement(n);for(var r=0;r<i.length;r++)e.appendChild(document.createElement(i[r]))}else{var o=function(e,t,n){var i=document.createElement("param");i.setAttribute("name",t),i.setAttribute("value",n),e.appendChild(i)};(e=document.createElement("object")).setAttribute("id",this.internal.flash.id),e.setAttribute("name",this.internal.flash.id),e.setAttribute("data",this.internal.flash.swf),e.setAttribute("type","application/x-shockwave-flash"),e.setAttribute("width","1"),e.setAttribute("height","1"),e.setAttribute("tabindex","-1"),o(e,"flashvars",t),o(e,"allowscriptaccess","always"),o(e,"bgcolor",this.options.backgroundColor),o(e,"wmode",this.options.wmode)}this.element.append(e),this.internal.flash.jq=u(e)}this.html.used&&!this.flash.used?this.status.playbackRateEnabled=this._testPlaybackRate("audio"):this.status.playbackRateEnabled=!1,this._updatePlaybackRate(),this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=u("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=u("#"+this.internal.video.id),this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):this.internal.video.jq.css({width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",function(){a._trigger(u.jPlayer.event.click)}))),this.aurora.used,this.options.emulateHtml&&this._emulateHtmlBridge(),!this.html.used&&!this.aurora.used||this.flash.used||setTimeout(function(){a.internal.ready=!0,a.version.flash="n/a",a._trigger(u.jPlayer.event.repeat),a._trigger(u.jPlayer.event.ready)},100),this._updateNativeVideoControls(),this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),u.jPlayer.prototype.count++},destroy:function(){this.clearMedia(),this._removeUiClass(),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(""),this.css.jq.duration.length&&this.css.jq.duration.text(""),u.each(this.css.jq,function(e,t){t.length&&t.unbind(".jPlayer")}),this.internal.poster.jq.unbind(".jPlayer"),this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer"),this._fullscreenRemoveEventListeners(),this===u.jPlayer.focus&&(u.jPlayer.focus=null),this.options.emulateHtml&&this._destroyHtmlBridge(),this.element.removeData("jPlayer"),this.element.unbind(".jPlayer"),this.element.empty(),delete this.instances[this.internal.instance]},destroyRemoved:function(){var n=this;u.each(this.instances,function(e,t){n.element!==t&&(t.data("jPlayer")||(t.jPlayer("destroy"),delete n.instances[e]))})},enable:function(){},disable:function(){},_testCanPlayType:function(e){try{return e.canPlayType(this.format.mp3.codec),!0}catch(t){return!1}},_testPlaybackRate:function(e){var t,n=.5;e="string"==typeof e?e:"audio",t=document.createElement(e);try{return"playbackRate"in t&&(t.playbackRate=n,t.playbackRate===n)}catch(i){return!1}},_uaBlocklist:function(e){var n=navigator.userAgent.toLowerCase(),i=!1;return u.each(e,function(e,t){if(t&&t.test(n))return!(i=!0)}),i},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(n,i){var a=this;n.preload=this.options.preload,n.muted=this.options.muted,n.volume=this.options.volume,this.status.playbackRateEnabled&&(n.defaultPlaybackRate=this.options.defaultPlaybackRate,n.playbackRate=this.options.playbackRate),n.addEventListener("progress",function(){i.gate&&(a.internal.cmdsIgnored&&0<this.readyState&&(a.internal.cmdsIgnored=!1),a._getHtmlStatus(n),a._updateInterface(),a._trigger(u.jPlayer.event.progress))},!1),n.addEventListener("loadeddata",function(){i.gate&&(a.androidFix.setMedia=!1,a.androidFix.play&&(a.androidFix.play=!1,a.play(a.androidFix.time)),a.androidFix.pause&&(a.androidFix.pause=!1,a.pause(a.androidFix.time)),a._trigger(u.jPlayer.event.loadeddata))},!1),n.addEventListener("timeupdate",function(){i.gate&&(a._getHtmlStatus(n),a._updateInterface(),a._trigger(u.jPlayer.event.timeupdate))},!1),n.addEventListener("durationchange",function(){i.gate&&(a._getHtmlStatus(n),a._updateInterface(),a._trigger(u.jPlayer.event.durationchange))},!1),n.addEventListener("play",function(){i.gate&&(a._updateButtons(!0),a._html_checkWaitForPlay(),a._trigger(u.jPlayer.event.play))},!1),n.addEventListener("playing",function(){i.gate&&(a._updateButtons(!0),a._seeked(),a._trigger(u.jPlayer.event.playing))},!1),n.addEventListener("pause",function(){i.gate&&(a._updateButtons(!1),a._trigger(u.jPlayer.event.pause))},!1),n.addEventListener("waiting",function(){i.gate&&(a._seeking(),a._trigger(u.jPlayer.event.waiting))},!1),n.addEventListener("seeking",function(){i.gate&&(a._seeking(),a._trigger(u.jPlayer.event.seeking))},!1),n.addEventListener("seeked",function(){i.gate&&(a._seeked(),a._trigger(u.jPlayer.event.seeked))},!1),n.addEventListener("volumechange",function(){i.gate&&(a.options.volume=n.volume,a.options.muted=n.muted,a._updateMute(),a._updateVolume(),a._trigger(u.jPlayer.event.volumechange))},!1),n.addEventListener("ratechange",function(){i.gate&&(a.options.defaultPlaybackRate=n.defaultPlaybackRate,a.options.playbackRate=n.playbackRate,a._updatePlaybackRate(),a._trigger(u.jPlayer.event.ratechange))},!1),n.addEventListener("suspend",function(){i.gate&&(a._seeked(),a._trigger(u.jPlayer.event.suspend))},!1),n.addEventListener("ended",function(){i.gate&&(u.jPlayer.browser.webkit||(a.htmlElement.media.currentTime=0),a.htmlElement.media.pause(),a._updateButtons(!1),a._getHtmlStatus(n,!0),a._updateInterface(),a._trigger(u.jPlayer.event.ended))},!1),n.addEventListener("error",function(){i.gate&&(a._updateButtons(!1),a._seeked(),a.status.srcSet&&(clearTimeout(a.internal.htmlDlyCmdId),a.status.waitForLoad=!0,a.status.waitForPlay=!0,a.status.video&&!a.status.nativeVideoControls&&a.internal.video.jq.css({width:"0px",height:"0px"}),a._validString(a.status.media.poster)&&!a.status.nativeVideoControls&&a.internal.poster.jq.show(),a.css.jq.videoPlay.length&&a.css.jq.videoPlay.show(),a._error({type:u.jPlayer.error.URL,context:a.status.src,message:u.jPlayer.errorMsg.URL,hint:u.jPlayer.errorHint.URL})))},!1),u.each(u.jPlayer.htmlEvent,function(e,t){n.addEventListener(this,function(){i.gate&&a._trigger(u.jPlayer.event[t])},!1)})},_addAuroraEventListeners:function(e,t){var n=this;e.volume=100*this.options.volume,e.on("progress",function(){t.gate&&(n.internal.cmdsIgnored&&0<this.readyState&&(n.internal.cmdsIgnored=!1),n._getAuroraStatus(e),n._updateInterface(),n._trigger(u.jPlayer.event.progress),0<e.duration&&n._trigger(u.jPlayer.event.timeupdate))},!1),e.on("ready",function(){t.gate&&n._trigger(u.jPlayer.event.loadeddata)},!1),e.on("duration",function(){t.gate&&(n._getAuroraStatus(e),n._updateInterface(),n._trigger(u.jPlayer.event.durationchange))},!1),e.on("end",function(){t.gate&&(n._updateButtons(!1),n._getAuroraStatus(e,!0),n._updateInterface(),n._trigger(u.jPlayer.event.ended))},!1),e.on("error",function(){t.gate&&(n._updateButtons(!1),n._seeked(),n.status.srcSet&&(n.status.waitForLoad=!0,n.status.waitForPlay=!0,n.status.video&&!n.status.nativeVideoControls&&n.internal.video.jq.css({width:"0px",height:"0px"}),n._validString(n.status.media.poster)&&!n.status.nativeVideoControls&&n.internal.poster.jq.show(),n.css.jq.videoPlay.length&&n.css.jq.videoPlay.show(),n._error({type:u.jPlayer.error.URL,context:n.status.src,message:u.jPlayer.errorMsg.URL,hint:u.jPlayer.errorHint.URL})))},!1)},_getHtmlStatus:function(e,t){var n=0,i=0,a=0,r=0;isFinite(e.duration)&&(this.status.duration=e.duration),n=e.currentTime,i=0<this.status.duration?100*n/this.status.duration:0,"object"==typeof e.seekable&&0<e.seekable.length?(a=0<this.status.duration?100*e.seekable.end(e.seekable.length-1)/this.status.duration:100,r=0<this.status.duration?100*e.currentTime/e.seekable.end(e.seekable.length-1):0):(a=100,r=i),t&&(i=r=n=0),this.status.seekPercent=a,this.status.currentPercentRelative=r,this.status.currentPercentAbsolute=i,this.status.currentTime=n,this.status.remaining=this.status.duration-this.status.currentTime,this.status.videoWidth=e.videoWidth,this.status.videoHeight=e.videoHeight,this.status.readyState=e.readyState,this.status.networkState=e.networkState,this.status.playbackRate=e.playbackRate,this.status.ended=e.ended},_getAuroraStatus:function(e,t){var n=0,i=0,a=0,r=0;this.status.duration=e.duration/1e3,n=e.currentTime/1e3,i=0<this.status.duration?100*n/this.status.duration:0,0<e.buffered?(a=0<this.status.duration?e.buffered*this.status.duration/this.status.duration:100,r=0<this.status.duration?n/(e.buffered*this.status.duration):0):(a=100,r=i),t&&(i=r=n=0),this.status.seekPercent=a,this.status.currentPercentRelative=r,this.status.currentPercentAbsolute=i,this.status.currentTime=n,this.status.remaining=this.status.duration-this.status.currentTime,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_resetStatus:function(){this.status=u.extend({},this.status,u.jPlayer.prototype.status)},_trigger:function(e,t,n){var i=u.Event(e);i.jPlayer={},i.jPlayer.version=u.extend({},this.version),i.jPlayer.options=u.extend(!0,{},this.options),i.jPlayer.status=u.extend(!0,{},this.status),i.jPlayer.html=u.extend(!0,{},this.html),i.jPlayer.aurora=u.extend(!0,{},this.aurora),i.jPlayer.flash=u.extend(!0,{},this.flash),t&&(i.jPlayer.error=u.extend({},t)),n&&(i.jPlayer.warning=u.extend({},n)),this.element.trigger(i)},jPlayerFlashEvent:function(e,t){if(e===u.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var n=this.status.currentTime,i=this.status.paused;this.setMedia(this.status.media),this.volumeWorker(this.options.volume),0<n&&(i?this.pause(n):this.play(n))}this._trigger(u.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=t.version,this.version.needFlash!==this.version.flash&&this._error({type:u.jPlayer.error.VERSION,context:this.version.flash,message:u.jPlayer.errorMsg.VERSION+this.version.flash,hint:u.jPlayer.errorHint.VERSION}),this._trigger(u.jPlayer.event.repeat),this._trigger(e);if(this.flash.gate)switch(e){case u.jPlayer.event.progress:case u.jPlayer.event.timeupdate:this._getFlashStatus(t),this._updateInterface(),this._trigger(e);break;case u.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(e);break;case u.jPlayer.event.pause:case u.jPlayer.event.ended:this._updateButtons(!1),this._trigger(e);break;case u.jPlayer.event.click:this._trigger(e);break;case u.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:u.jPlayer.error.URL,context:t.src,message:u.jPlayer.errorMsg.URL,hint:u.jPlayer.errorHint.URL});break;case u.jPlayer.event.seeking:this._seeking(),this._trigger(e);break;case u.jPlayer.event.seeked:this._seeked(),this._trigger(e);break;case u.jPlayer.event.ready:break;default:this._trigger(e)}return!1},_getFlashStatus:function(e){this.status.seekPercent=e.seekPercent,this.status.currentPercentRelative=e.currentPercentRelative,this.status.currentPercentAbsolute=e.currentPercentAbsolute,this.status.currentTime=e.currentTime,this.status.duration=e.duration,this.status.remaining=e.duration-e.currentTime,this.status.videoWidth=e.videoWidth,this.status.videoHeight=e.videoHeight,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(e){e===l?e=!this.status.paused:this.status.paused=!e,e?this.addStateClass("playing"):this.removeStateClass("playing"),!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen"),this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped"),this.css.jq.play.length&&this.css.jq.pause.length&&(e?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide())),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));this.css.jq.currentTime.length&&this._convertTime(this.status.currentTime)!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime));var e="",t=this.status.duration,n=this.status.remaining;this.css.jq.duration.length&&("string"==typeof this.status.media.duration?e=this.status.media.duration:("number"==typeof this.status.media.duration&&(n=(t=this.status.media.duration)-this.status.currentTime),e=this.options.remainingDuration?(0<n?"-":"")+this._convertTime(n):this._convertTime(t)),e!==this.css.jq.duration.text()&&this.css.jq.duration.text(e))},_convertTime:e.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg"),this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg"),this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.aurora.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.aurora.active=!1,this.flash.active=!1},_escapeHtml:function(e){return e.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_qualifyURL:function(e){var t=document.createElement("div");return t.innerHTML='<a href="'+this._escapeHtml(e)+'">x</a>',t.firstChild.href},_absoluteMediaUrls:function(n){var i=this;return u.each(n,function(e,t){t&&i.format[e]&&"data:"!==t.substr(0,5)&&(n[e]=i._qualifyURL(t))}),n},addStateClass:function(e){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[e])},removeStateClass:function(e){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[e])},setMedia:function(o){var s=this,l=!1,e=this.status.media.poster!==o.poster;this._resetMedia(),this._resetGate(),this._resetActive(),this.androidFix.setMedia=!1,this.androidFix.play=!1,this.androidFix.pause=!1,o=this._absoluteMediaUrls(o),u.each(this.formats,function(e,a){var r="video"===s.format[a].media;if(u.each(s.solutions,function(e,t){if(s[t].support[a]&&s._validString(o[a])){var n="html"===t,i="aurora"===t;return r?(n?(s.html.video.gate=!0,s._html_setVideo(o),s.html.active=!0):(s.flash.gate=!0,s._flash_setVideo(o),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.show(),s.status.video=!0):(n?(s.html.audio.gate=!0,s._html_setAudio(o),s.html.active=!0,u.jPlayer.platform.android&&(s.androidFix.setMedia=!0)):i?(s.aurora.gate=!0,s._aurora_setAudio(o),s.aurora.active=!0):(s.flash.gate=!0,s._flash_setAudio(o),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.hide(),s.status.video=!1),!(l=!0)}}),l)return!1}),l?(this.status.nativeVideoControls&&this.html.video.gate||this._validString(o.poster)&&(e?this.htmlElement.poster.src=o.poster:this.internal.poster.jq.show()),"string"==typeof o.title&&(this.css.jq.title.length&&this.css.jq.title.html(o.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",o.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",o.title)),this.status.srcSet=!0,this.status.media=u.extend({},o),this._updateButtons(!1),this._updateInterface(),this._trigger(u.jPlayer.event.setmedia)):this._error({type:u.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:u.jPlayer.errorMsg.NO_SUPPORT,hint:u.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.aurora.active?this._aurora_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.aurora.active?this._aurora_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.aurora.active?this._aurora_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(u.jPlayer.focus=this)},play:function(e){"object"==typeof e&&this.options.useStateClassSkin&&!this.status.paused?this.pause(e):(e="number"==typeof e?e:NaN,this.status.srcSet?(this.focus(),this.html.active?this._html_play(e):this.aurora.active?this._aurora_play(e):this.flash.active&&this._flash_play(e)):this._urlNotSetError("play"))},videoPlay:function(){this.play()},pause:function(e){e="number"==typeof e?e:NaN,this.status.srcSet?this.html.active?this._html_pause(e):this.aurora.active?this._aurora_pause(e):this.flash.active&&this._flash_pause(e):this._urlNotSetError("pause")},tellOthers:function(e,t){var n=this,i="function"==typeof t,a=Array.prototype.slice.call(arguments);"string"==typeof e&&(i&&a.splice(1,1),u.jPlayer.prototype.destroyRemoved(),u.each(this.instances,function(){n.element!==this&&(i&&!t.call(this.data("jPlayer"),n)||this.jPlayer.apply(this,a))}))},pauseOthers:function(e){this.tellOthers("pause",function(){return this.status.srcSet},e)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.aurora.active?this._aurora_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(e){e=this._limitValue(e,0,100),
  this.status.srcSet?this.html.active?this._html_playHead(e):this.aurora.active?this._aurora_playHead(e):this.flash.active&&this._flash_playHead(e):this._urlNotSetError("playHead")},_muted:function(e){this.mutedWorker(e),this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},e)},mutedWorker:function(e){this.options.muted=e,this.html.used&&this._html_setProperty("muted",e),this.aurora.used&&this._aurora_mute(e),this.flash.used&&this._flash_mute(e),this.html.video.gate||this.html.audio.gate||(this._updateMute(e),this._updateVolume(this.options.volume),this._trigger(u.jPlayer.event.volumechange))},mute:function(e){"object"==typeof e&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(e=e===l||!!e,this._muted(e))},unmute:function(e){e=e===l||!!e,this._muted(!e)},_updateMute:function(e){e===l&&(e=this.options.muted),e?this.addStateClass("muted"):this.removeStateClass("muted"),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):e?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(e){this.volumeWorker(e),this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},e)},volumeWorker:function(e){e=this._limitValue(e,0,1),this.options.volume=e,this.html.used&&this._html_setProperty("volume",e),this.aurora.used&&this._aurora_volume(e),this.flash.used&&this._flash_volume(e),this.html.video.gate||this.html.audio.gate||(this._updateVolume(e),this._trigger(u.jPlayer.event.volumechange))},volumeBar:function(e){if(this.css.jq.volumeBar.length){var t=u(e.currentTarget),n=t.offset(),i=e.pageX-n.left,a=t.width(),r=t.height()-e.pageY+n.top,o=t.height();this.options.verticalVolume?this.volume(r/o):this.volume(i/a)}this.options.muted&&this._muted(!1)},_updateVolume:function(e){e===l&&(e=this.options.volume),e=this.options.muted?0:e,this.status.noVolume?(this.addStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.removeStateClass("noVolume"),this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*e+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(e){var n=this;this.options.cssSelectorAncestor=e,this._removeUiClass(),this.ancestorJq=e?u(e):[],e&&1!==this.ancestorJq.length&&this._warning({type:u.jPlayer.warning.CSS_SELECTOR_COUNT,context:e,message:u.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:u.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),u.each(this.options.cssSelector,function(e,t){n._cssSelector(e,t)}),this._updateInterface(),this._updateButtons(),this._updateAutohide(),this._updateVolume(),this._updateMute()},_cssSelector:function(t,e){var n=this;if("string"==typeof e)if(u.jPlayer.prototype.options.cssSelector[t]){if(this.css.jq[t]&&this.css.jq[t].length&&this.css.jq[t].unbind(".jPlayer"),this.options.cssSelector[t]=e,this.css.cs[t]=this.options.cssSelectorAncestor+" "+e,this.css.jq[t]=e?u(this.css.cs[t]):[],this.css.jq[t].length&&this[t]){var i=function(e){e.preventDefault(),n[t](e),n.options.autoBlur?u(this).blur():u(this).focus()};this.css.jq[t].bind("click.jPlayer",i)}e&&1!==this.css.jq[t].length&&this._warning({type:u.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[t],message:u.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[t].length+" found for "+t+" method.",hint:u.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:u.jPlayer.warning.CSS_SELECTOR_METHOD,context:t,message:u.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:u.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:u.jPlayer.warning.CSS_SELECTOR_STRING,context:e,message:u.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:u.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(e){this.options.toggleDuration&&(this.options.captureDuration&&e.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(e){if(this.css.jq.seekBar.length){var t=u(e.currentTarget),n=t.offset(),i=100*(e.pageX-n.left)/t.width();this.playHead(i)}},playbackRate:function(e){this._setOption("playbackRate",e)},playbackRateBar:function(e){if(this.css.jq.playbackRateBar.length){var t,n=u(e.currentTarget),i=n.offset(),a=e.pageX-i.left,r=n.width(),o=n.height()-e.pageY+i.top,s=n.height();t=(this.options.verticalPlaybackRate?o/s:a/r)*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate,this.playbackRate(t)}},_updatePlaybackRate:function(){var e=(this.options.playbackRate-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*e+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(e){"object"==typeof e&&this.options.useStateClassSkin&&this.options.loop?this._loop(!1):this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(e){this.options.loop!==e&&(this.options.loop=e,this._updateButtons(),this._trigger(u.jPlayer.event.repeat))},option:function(e,t){var n=e;if(0===arguments.length)return u.extend(!0,{},this.options);if("string"==typeof e){var i=e.split(".");if(t===l){for(var a=u.extend(!0,{},this.options),r=0;r<i.length;r++){if(a[i[r]]===l)return this._warning({type:u.jPlayer.warning.OPTION_KEY,context:e,message:u.jPlayer.warningMsg.OPTION_KEY,hint:u.jPlayer.warningHint.OPTION_KEY}),l;a=a[i[r]]}return a}for(var o=n={},s=0;s<i.length;s++)s<i.length-1?(o[i[s]]={},o=o[i[s]]):o[i[s]]=t}return this._setOptions(n),this},_setOptions:function(e){var n=this;return u.each(e,function(e,t){n._setOption(e,t)}),this},_setOption:function(e,t){var n=this;switch(e){case"volume":this.volume(t);break;case"muted":this._muted(t);break;case"globalVolume":this.options[e]=t;break;case"cssSelectorAncestor":this._cssSelectorAncestor(t);break;case"cssSelector":u.each(t,function(e,t){n._cssSelector(e,t)});break;case"playbackRate":this.options[e]=t=this._limitValue(t,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("playbackRate",t),this._updatePlaybackRate();break;case"defaultPlaybackRate":this.options[e]=t=this._limitValue(t,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("defaultPlaybackRate",t),this._updatePlaybackRate();break;case"minPlaybackRate":this.options[e]=t=this._limitValue(t,.1,this.options.maxPlaybackRate-.1),this._updatePlaybackRate();break;case"maxPlaybackRate":this.options[e]=t=this._limitValue(t,this.options.minPlaybackRate+.1,16),this._updatePlaybackRate();break;case"fullScreen":if(this.options[e]!==t){var i=u.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;(!i||i&&!this.status.waitForPlay)&&(i||(this.options[e]=t),t?this._requestFullscreen():this._exitFullscreen(),i||this._setOption("fullWindow",t))}break;case"fullWindow":this.options[e]!==t&&(this._removeUiClass(),this.options[e]=t,this._refreshSize());break;case"size":this.options.fullWindow||this.options[e].cssClass===t.cssClass||this._removeUiClass(),this.options[e]=u.extend({},this.options[e],t),this._refreshSize();break;case"sizeFull":this.options.fullWindow&&this.options[e].cssClass!==t.cssClass&&this._removeUiClass(),this.options[e]=u.extend({},this.options[e],t),this._refreshSize();break;case"autohide":this.options[e]=u.extend({},this.options[e],t),this._updateAutohide();break;case"loop":this._loop(t);break;case"remainingDuration":this.options[e]=t,this._updateInterface();break;case"toggleDuration":this.options[e]=t;break;case"nativeVideoControls":this.options[e]=u.extend({},this.options[e],t),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this._restrictNativeVideoControls(),this._updateNativeVideoControls();break;case"noFullWindow":this.options[e]=u.extend({},this.options[e],t),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this._restrictNativeVideoControls(),this._updateButtons();break;case"noVolume":this.options[e]=u.extend({},this.options[e],t),this.status.noVolume=this._uaBlocklist(this.options.noVolume),this._updateVolume(),this._updateMute();break;case"emulateHtml":this.options[e]!==t&&((this.options[e]=t)?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case"timeFormat":this.options[e]=u.extend({},this.options[e],t);break;case"keyEnabled":(this.options[e]=t)||this!==u.jPlayer.focus||(u.jPlayer.focus=null);break;case"keyBindings":this.options[e]=u.extend(!0,{},this.options[e],t);break;case"audioFullScreen":case"autoBlur":this.options[e]=t}return this},_refreshSize:function(){this._setSize(),this._addUiClass(),this._updateSize(),this._updateButtons(),this._updateAutohide(),this._trigger(u.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass),this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var a=this,e=".jPlayerAutohide",t="mousemove.jPlayer"+e,n=function(e){var t,n,i=!1;"undefined"!=typeof a.internal.mouse?(t=a.internal.mouse.x-e.pageX,n=a.internal.mouse.y-e.pageY,i=0<Math.floor(t)||0<Math.floor(n)):i=!0,a.internal.mouse={x:e.pageX,y:e.pageY},i&&a.css.jq.gui.fadeIn(a.options.autohide.fadeIn,function(){clearTimeout(a.internal.autohideId),a.internal.autohideId=setTimeout(function(){a.css.jq.gui.fadeOut(a.options.autohide.fadeOut)},a.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),delete this.internal.mouse,this.element.unbind(e),this.css.jq.gui.unbind(e),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(t,n),this.css.jq.gui.bind(t,n),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(e){"object"==typeof e&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var e=this,t=u.jPlayer.nativeFeatures.fullscreen;t.api.fullscreenEnabled&&t.event.fullscreenchange&&("function"!=typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){e._fullscreenchange()}),document.addEventListener(t.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var e=u.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(e.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!u.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var e=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],t=u.jPlayer.nativeFeatures.fullscreen;t.used.webkitVideo&&(e=this.htmlElement.video),t.api.fullscreenEnabled&&t.api.requestFullscreen(e)},_exitFullscreen:function(){var e,t=u.jPlayer.nativeFeatures.fullscreen;t.used.webkitVideo&&(e=this.htmlElement.video),t.api.fullscreenEnabled&&t.api.exitFullscreen(e)},_html_initMedia:function(e){var i=u(this.htmlElement.media).empty();u.each(e.track||[],function(e,t){var n=document.createElement("track");n.setAttribute("kind",t.kind?t.kind:""),n.setAttribute("src",t.src?t.src:""),n.setAttribute("srclang",t.srclang?t.srclang:""),n.setAttribute("label",t.label?t.label:""),t.def&&n.setAttribute("default",t.def),i.append(n)}),this.htmlElement.media.src=this.status.src,"none"!==this.options.preload&&this._html_load(),this._trigger(u.jPlayer.event.timeupdate)},_html_setFormat:function(n){var i=this;u.each(this.formats,function(e,t){if(i.html.support[t]&&n[t])return i.status.src=n[t],i.status.format[t]=!0,i.status.formatType=t,!1})},_html_setAudio:function(e){this._html_setFormat(e),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia(e)},_html_setVideo:function(e){this._html_setFormat(e),this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(e.poster)?e.poster:""),this.htmlElement.media=this.htmlElement.video,this._html_initMedia(e)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(e){var t=this,n=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=e;else if(isNaN(e))n.play();else{this.internal.cmdsIgnored&&n.play();try{if(n.seekable&&!("object"==typeof n.seekable&&0<n.seekable.length))throw 1;n.currentTime=e,n.play()}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){t.play(e)},250))}}this._html_checkWaitForPlay()},_html_pause:function(e){var t=this,n=this.htmlElement.media;if(this.androidFix.play=!1,0<e?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),n.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=e;else if(!isNaN(e))try{if(n.seekable&&!("object"==typeof n.seekable&&0<n.seekable.length))throw 1;n.currentTime=e}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){t.pause(e)},250))}0<e&&this._html_checkWaitForPlay()},_html_playHead:function(e){var t=this,n=this.htmlElement.media;this._html_load();try{if("object"==typeof n.seekable&&0<n.seekable.length)n.currentTime=e*n.seekable.end(n.seekable.length-1)/100;else{if(!(0<n.duration)||isNaN(n.duration))throw"e";n.currentTime=e*n.duration/100}}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){t.playHead(e)},250))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(e,t){this.html.audio.available&&(this.htmlElement.audio[e]=t),this.html.video.available&&(this.htmlElement.video[e]=t)},_aurora_setAudio:function(n){var i=this;u.each(this.formats,function(e,t){if(i.aurora.support[t]&&n[t])return i.status.src=n[t],i.status.format[t]=!0,i.status.formatType=t,!1}),this.aurora.player=new AV.Player.fromURL(this.status.src),this._addAuroraEventListeners(this.aurora.player,this.aurora),"auto"===this.options.preload&&(this._aurora_load(),this.status.waitForLoad=!1)},_aurora_resetMedia:function(){this.aurora.player&&this.aurora.player.stop()},_aurora_clearMedia:function(){},_aurora_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.aurora.player.preload())},_aurora_play:function(e){this.status.waitForLoad||isNaN(e)||this.aurora.player.seek(e),this.aurora.player.playing||this.aurora.player.play(),this.status.waitForLoad=!1,this._aurora_checkWaitForPlay(),this._updateButtons(!0),this._trigger(u.jPlayer.event.play)},_aurora_pause:function(e){isNaN(e)||this.aurora.player.seek(1e3*e),this.aurora.player.pause(),0<e&&this._aurora_checkWaitForPlay(),this._updateButtons(!1),this._trigger(u.jPlayer.event.pause)},_aurora_playHead:function(e){0<this.aurora.player.duration&&this.aurora.player.seek(e*this.aurora.player.duration/100),this.status.waitForLoad||this._aurora_checkWaitForPlay()},_aurora_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1)},_aurora_volume:function(e){this.aurora.player.volume=100*e},_aurora_mute:function(e){e?(this.aurora.properties.lastvolume=this.aurora.player.volume,this.aurora.player.volume=0):this.aurora.player.volume=this.aurora.properties.lastvolume,this.aurora.properties.muted=e},_flash_setAudio:function(n){var i=this;try{u.each(this.formats,function(e,t){if(i.flash.support[t]&&n[t]){switch(t){case"m4a":case"fla":i._getMovie().fl_setAudio_m4a(n[t]);break;case"mp3":i._getMovie().fl_setAudio_mp3(n[t]);break;case"rtmpa":i._getMovie().fl_setAudio_rtmp(n[t])}return i.status.src=n[t],i.status.format[t]=!0,i.status.formatType=t,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(e){this._flashError(e)}},_flash_setVideo:function(n){var i=this;try{u.each(this.formats,function(e,t){if(i.flash.support[t]&&n[t]){switch(t){case"m4v":case"flv":i._getMovie().fl_setVideo_m4v(n[t]);break;case"rtmpv":i._getMovie().fl_setVideo_rtmp(n[t])}return i.status.src=n[t],i.status.format[t]=!0,i.status.formatType=t,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(e){this._flashError(e)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(e){this._flashError(e)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(e){this._flashError(e)}this.status.waitForLoad=!1},_flash_play:function(e){try{this._getMovie().fl_play(e)}catch(t){this._flashError(t)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(e){try{this._getMovie().fl_pause(e)}catch(t){this._flashError(t)}0<e&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(e){try{this._getMovie().fl_play_head(e)}catch(t){this._flashError(t)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(e){try{this._getMovie().fl_volume(e)}catch(t){this._flashError(t)}},_flash_mute:function(e){try{this._getMovie().fl_mute(e)}catch(t){this._flashError(t)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var e,t=0;if(window.ActiveXObject)try{if(e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var n=e.GetVariable("$version");n&&(n=n.split(" ")[1].split(","),t=parseInt(n[0],10)+"."+parseInt(n[1],10))}}catch(i){}else navigator.plugins&&0<navigator.mimeTypes.length&&(e=navigator.plugins["Shockwave Flash"])&&(t=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1"));return 1*t},_checkForFlash:function(e){var t=!1;return this._getFlashPluginVersion()>=e&&(t=!0),t},_validString:function(e){return e&&"string"==typeof e},_limitValue:function(e,t,n){return e<t?t:n<e?n:e},_urlNotSetError:function(e){this._error({type:u.jPlayer.error.URL_NOT_SET,context:e,message:u.jPlayer.errorMsg.URL_NOT_SET,hint:u.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(e){var t;t=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:u.jPlayer.error[t],context:this.internal.flash.swf,message:u.jPlayer.errorMsg[t]+e.message,hint:u.jPlayer.errorHint[t]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(e){this._trigger(u.jPlayer.event.error,e),this.options.errorAlerts&&this._alert("Error!"+(e.message?"\n"+e.message:"")+(e.hint?"\n"+e.hint:"")+"\nContext: "+e.context)},_warning:function(e){this._trigger(u.jPlayer.event.warning,l,e),this.options.warningAlerts&&this._alert("Warning!"+(e.message?"\n"+e.message:"")+(e.hint?"\n"+e.hint:"")+"\nContext: "+e.context)},_alert:function(e){var t="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+e;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(t):alert(t)},_emulateHtmlBridge:function(){var a=this;u.each(u.jPlayer.emulateMethods.split(/\s+/g),function(e,t){a.internal.domNode[t]=function(e){a[t](e)}}),u.each(u.jPlayer.event,function(n,e){var i=!0;u.each(u.jPlayer.reservedEvent.split(/\s+/g),function(e,t){if(t===n)return i=!1}),i&&a.element.bind(e+".jPlayer.jPlayerHtml",function(){a._emulateHtmlUpdate();var e=document.createEvent("Event");e.initEvent(n,!1,!0),a.internal.domNode.dispatchEvent(e)})})},_emulateHtmlUpdate:function(){var n=this;u.each(u.jPlayer.emulateStatus.split(/\s+/g),function(e,t){n.internal.domNode[t]=n.status[t]}),u.each(u.jPlayer.emulateOptions.split(/\s+/g),function(e,t){n.internal.domNode[t]=n.options[t]})},_destroyHtmlBridge:function(){var n=this;this.element.unbind(".jPlayerHtml");var e=u.jPlayer.emulateMethods+" "+u.jPlayer.emulateStatus+" "+u.jPlayer.emulateOptions;u.each(e.split(/\s+/g),function(e,t){delete n.internal.domNode[t]})}},u.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},u.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+u.jPlayer.prototype.version.script+" needs Jplayer.swf version "+u.jPlayer.prototype.version.needFlash+" but found "},u.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},u.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},u.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},u.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});