github.com/topsteplocal/gophish@v0.6.0/static/js/dist/vendor.min.js (about) 1 if(function(t,e){function n(t){var e=t.length,n=ct.type(t);return!ct.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||"function"!==n&&(0===e||"number"==typeof e&&e>0&&e-1 in t)))}function i(t){var e=Mt[t]={};return ct.each(t.match(dt)||[],function(t,n){e[n]=!0}),e}function r(t,n,i,r){if(ct.acceptData(t)){var o,a,s=ct.expando,l=t.nodeType,u=l?ct.cache:t,c=l?t[s]:t[s]&&s;if(c&&u[c]&&(r||u[c].data)||i!==e||"string"!=typeof n)return c||(c=l?t[s]=et.pop()||ct.guid++:s),u[c]||(u[c]=l?{}:{toJSON:ct.noop}),("object"==typeof n||"function"==typeof n)&&(r?u[c]=ct.extend(u[c],n):u[c].data=ct.extend(u[c].data,n)),a=u[c],r||(a.data||(a.data={}),a=a.data),i!==e&&(a[ct.camelCase(n)]=i),"string"==typeof n?(o=a[n],null==o&&(o=a[ct.camelCase(n)])):o=a,o}}function o(t,e,n){if(ct.acceptData(t)){var i,r,o=t.nodeType,a=o?ct.cache:t,l=o?t[ct.expando]:ct.expando;if(a[l]){if(e&&(i=n?a[l]:a[l].data)){ct.isArray(e)?e=e.concat(ct.map(e,ct.camelCase)):e in i?e=[e]:(e=ct.camelCase(e),e=e in i?[e]:e.split(" ")),r=e.length;for(;r--;)delete i[e[r]];if(n?!s(i):!ct.isEmptyObject(i))return}(n||(delete a[l].data,s(a[l])))&&(o?ct.cleanData([t],!0):ct.support.deleteExpando||a!=a.window?delete a[l]:a[l]=null)}}}function a(t,n,i){if(i===e&&1===t.nodeType){var r="data-"+n.replace(Tt,"-$1").toLowerCase();if(i=t.getAttribute(r),"string"==typeof i){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:kt.test(i)?ct.parseJSON(i):i)}catch(t){}ct.data(t,n,i)}else i=e}return i}function s(t){var e;for(e in t)if(("data"!==e||!ct.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function l(){return!0}function u(){return!1}function c(){try{return Z.activeElement}catch(t){}}function h(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function d(t,e,n){if(ct.isFunction(e))return ct.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return ct.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(Wt.test(e))return ct.filter(e,t,n);e=ct.filter(e,t)}return ct.grep(t,function(t){return ct.inArray(t,e)>=0!==n})}function f(t){var e=Yt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function p(t,e){return ct.nodeName(t,"table")&&ct.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function g(t){return t.type=(null!==ct.find.attr(t,"type"))+"/"+t.type,t}function m(t){var e=re.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function v(t,e){for(var n,i=0;null!=(n=t[i]);i++)ct._data(n,"globalEval",!e||ct._data(e[i],"globalEval"))}function y(t,e){if(1===e.nodeType&&ct.hasData(t)){var n,i,r,o=ct._data(t),a=ct._data(e,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,r=s[n].length;r>i;i++)ct.event.add(e,n,s[n][i])}a.data&&(a.data=ct.extend({},a.data))}}function b(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!ct.support.noCloneEvent&&e[ct.expando]){r=ct._data(e);for(i in r.events)ct.removeEvent(e,i,r.handle);e.removeAttribute(ct.expando)}"script"===n&&e.text!==t.text?(g(e).text=t.text,m(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),ct.support.html5Clone&&t.innerHTML&&!ct.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&ee.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}function x(t,n){var i,r,o=0,a=typeof t.getElementsByTagName!==X?t.getElementsByTagName(n||"*"):typeof t.querySelectorAll!==X?t.querySelectorAll(n||"*"):e;if(!a)for(a=[],i=t.childNodes||t;null!=(r=i[o]);o++)!n||ct.nodeName(r,n)?a.push(r):ct.merge(a,x(r,n));return n===e||n&&ct.nodeName(t,n)?ct.merge([t],a):a}function w(t){ee.test(t.type)&&(t.defaultChecked=t.checked)}function S(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=Ce.length;r--;)if(e=Ce[r]+n,e in t)return e;return i}function _(t,e){return t=e||t,"none"===ct.css(t,"display")||!ct.contains(t.ownerDocument,t)}function C(t,e){for(var n,i,r,o=[],a=0,s=t.length;s>a;a++)i=t[a],i.style&&(o[a]=ct._data(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&_(i)&&(o[a]=ct._data(i,"olddisplay",D(i.nodeName)))):o[a]||(r=_(i),(n&&"none"!==n||!r)&&ct._data(i,"olddisplay",r?n:ct.css(i,"display"))));for(a=0;s>a;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function M(t,e,n){var i=ve.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function k(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=ct.css(t,n+_e[o],!0,r)),i?("content"===n&&(a-=ct.css(t,"padding"+_e[o],!0,r)),"margin"!==n&&(a-=ct.css(t,"border"+_e[o]+"Width",!0,r))):(a+=ct.css(t,"padding"+_e[o],!0,r),"padding"!==n&&(a+=ct.css(t,"border"+_e[o]+"Width",!0,r)));return a}function T(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=ce(t),a=ct.support.boxSizing&&"border-box"===ct.css(t,"boxSizing",!1,o);if(0>=r||null==r){if(r=he(t,e,o),(0>r||null==r)&&(r=t.style[e]),ye.test(r))return r;i=a&&(ct.support.boxSizingReliable||r===t.style[e]),r=parseFloat(r)||0}return r+k(t,e,n||(a?"border":"content"),i,o)+"px"}function D(t){var e=Z,n=xe[t];return n||(n=A(t,e),"none"!==n&&n||(ue=(ue||ct("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement),e=(ue[0].contentWindow||ue[0].contentDocument).document,e.write("<!doctype html><html><body>"),e.close(),n=A(t,e),ue.detach()),xe[t]=n),n}function A(t,e){var n=ct(e.createElement(t)).appendTo(e.body),i=ct.css(n[0],"display");return n.remove(),i}function E(t,e,n,i){var r;if(ct.isArray(e))ct.each(e,function(e,r){n||ke.test(t)?i(t,r):E(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==ct.type(e))i(t,e);else for(r in e)E(t+"["+r+"]",e[r],n,i)}function P(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(dt)||[];if(ct.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function O(t,n,i,r){function o(l){var u;return a[l]=!0,ct.each(t[l]||[],function(t,l){var c=l(n,i,r);return"string"!=typeof c||s||a[c]?s?!(u=c):e:(n.dataTypes.unshift(c),o(c),!1)}),u}var a={},s=t===$e;return o(n.dataTypes[0])||!a["*"]&&o("*")}function L(t,n){var i,r,o=ct.ajaxSettings.flatOptions||{};for(r in n)n[r]!==e&&((o[r]?t:i||(i={}))[r]=n[r]);return i&&ct.extend(!0,t,i),t}function N(t,n,i){for(var r,o,a,s,l=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),o===e&&(o=t.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in i)a=u[0];else{for(s in i){if(!u[0]||t.converters[s+" "+u[0]]){a=s;break}r||(r=s)}a=a||r}return a?(a!==u[0]&&u.unshift(a),i[a]):e}function I(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[r]:u[r]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function j(){try{return new t.XMLHttpRequest}catch(t){}}function F(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function R(){return setTimeout(function(){Ke=e}),Ke=ct.now()}function H(t,e,n){for(var i,r=(rn[e]||[]).concat(rn["*"]),o=0,a=r.length;a>o;o++)if(i=r[o].call(n,e,t))return i}function z(t,e,n){var i,r,o=0,a=nn.length,s=ct.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=Ke||R(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,o=1-i,a=0,l=u.tweens.length;l>a;a++)u.tweens[a].run(o);return s.notifyWith(t,[u,o,n]),1>o&&l?n:(s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:ct.extend({},e),opts:ct.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Ke||R(),duration:n.duration,tweens:[],createTween:function(e,n){var i=ct.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return e?s.resolveWith(t,[u,e]):s.rejectWith(t,[u,e]),this}}),c=u.props;for(B(c,u.opts.specialEasing);a>o;o++)if(i=nn[o].call(u,t,c,u.opts))return i;return ct.map(c,H,u),ct.isFunction(u.opts.start)&&u.opts.start.call(t,u),ct.fx.timer(ct.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function B(t,e){var n,i,r,o,a;for(n in t)if(i=ct.camelCase(n),r=e[i],o=t[n],ct.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),a=ct.cssHooks[i],a&&"expand"in a){o=a.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function W(t,e,n){var i,r,o,a,s,l,u=this,c={},h=t.style,d=t.nodeType&&_(t),f=ct._data(t,"fxshow");n.queue||(s=ct._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,ct.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"===ct.css(t,"display")&&"none"===ct.css(t,"float")&&(ct.support.inlineBlockNeedsLayout&&"inline"!==D(t.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",ct.support.shrinkWrapBlocks||u.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],Qe.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(d?"hide":"show"))continue;c[i]=f&&f[i]||ct.style(t,i)}if(!ct.isEmptyObject(c)){f?"hidden"in f&&(d=f.hidden):f=ct._data(t,"fxshow",{}),o&&(f.hidden=!d),d?ct(t).show():u.done(function(){ct(t).hide()}),u.done(function(){var e;ct._removeData(t,"fxshow");for(e in c)ct.style(t,e,c[e])});for(i in c)a=H(d?f[i]:0,i,u),i in f||(f[i]=a.start,d&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function $(t,e,n,i,r){return new $.prototype.init(t,e,n,i,r)}function U(t,e){var n,i={height:t},r=0;for(e=e?1:0;4>r;r+=2-e)n=_e[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function q(t){return ct.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var Y,G,X=typeof e,V=t.location,Z=t.document,K=Z.documentElement,J=t.jQuery,Q=t.$,tt={},et=[],nt="1.10.2",it=et.concat,rt=et.push,ot=et.slice,at=et.indexOf,st=tt.toString,lt=tt.hasOwnProperty,ut=nt.trim,ct=function(t,e){return new ct.fn.init(t,e,G)},ht=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,dt=/\S+/g,ft=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,pt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,mt=/^[\],:{}\s]*$/,vt=/(?:^|:|,)(?:\s*\[)+/g,yt=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,bt=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,xt=/^-ms-/,wt=/-([\da-z])/gi,St=function(t,e){return e.toUpperCase()},_t=function(t){(Z.addEventListener||"load"===t.type||"complete"===Z.readyState)&&(Ct(),ct.ready())},Ct=function(){Z.addEventListener?(Z.removeEventListener("DOMContentLoaded",_t,!1),t.removeEventListener("load",_t,!1)):(Z.detachEvent("onreadystatechange",_t),t.detachEvent("onload",_t))};ct.fn=ct.prototype={jquery:nt,constructor:ct,init:function(t,n,i){var r,o;if(!t)return this;if("string"==typeof t){if(r="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:pt.exec(t),!r||!r[1]&&n)return!n||n.jquery?(n||i).find(t):this.constructor(n).find(t);if(r[1]){if(n=n instanceof ct?n[0]:n,ct.merge(this,ct.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:Z,!0)),gt.test(r[1])&&ct.isPlainObject(n))for(r in n)ct.isFunction(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}if(o=Z.getElementById(r[2]),o&&o.parentNode){if(o.id!==r[2])return i.find(t);this.length=1,this[0]=o}return this.context=Z,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):ct.isFunction(t)?i.ready(t):(t.selector!==e&&(this.selector=t.selector,this.context=t.context),ct.makeArray(t,this))},selector:"",length:0,toArray:function(){return ot.call(this)},get:function(t){return null==t?this.toArray():0>t?this[this.length+t]:this[t]},pushStack:function(t){var e=ct.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return ct.each(this,t,e)},ready:function(t){return ct.ready.promise().done(t),this},slice:function(){return this.pushStack(ot.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},map:function(t){return this.pushStack(ct.map(this,function(e,n){return t.call(e,n,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:rt,sort:[].sort,splice:[].splice},ct.fn.init.prototype=ct.fn,ct.extend=ct.fn.extend=function(){var t,n,i,r,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||ct.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(r in o)t=s[r],i=o[r],s!==i&&(c&&i&&(ct.isPlainObject(i)||(n=ct.isArray(i)))?(n?(n=!1,a=t&&ct.isArray(t)?t:[]):a=t&&ct.isPlainObject(t)?t:{},s[r]=ct.extend(c,a,i)):i!==e&&(s[r]=i));return s},ct.extend({expando:"jQuery"+(nt+Math.random()).replace(/\D/g,""),noConflict:function(e){return t.$===ct&&(t.$=Q),e&&t.jQuery===ct&&(t.jQuery=J),ct},isReady:!1,readyWait:1,holdReady:function(t){t?ct.readyWait++:ct.ready(!0)},ready:function(t){if(t===!0?!--ct.readyWait:!ct.isReady){if(!Z.body)return setTimeout(ct.ready);ct.isReady=!0,t!==!0&&--ct.readyWait>0||(Y.resolveWith(Z,[ct]),ct.fn.trigger&&ct(Z).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===ct.type(t)},isArray:Array.isArray||function(t){return"array"===ct.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[st.call(t)]||"object":typeof t},isPlainObject:function(t){var n;if(!t||"object"!==ct.type(t)||t.nodeType||ct.isWindow(t))return!1;try{if(t.constructor&&!lt.call(t,"constructor")&&!lt.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(ct.support.ownLast)for(n in t)return lt.call(t,n);for(n in t);return n===e||lt.call(t,n)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw Error(t)},parseHTML:function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||Z;var i=gt.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=ct.buildFragment([t],e,r),r&&ct(r).remove(),ct.merge([],i.childNodes))},parseJSON:function(n){return t.JSON&&t.JSON.parse?t.JSON.parse(n):null===n?n:"string"==typeof n&&(n=ct.trim(n),n&&mt.test(n.replace(yt,"@").replace(bt,"]").replace(vt,"")))?Function("return "+n)():(ct.error("Invalid JSON: "+n),e)},parseXML:function(n){var i,r;if(!n||"string"!=typeof n)return null;try{t.DOMParser?(r=new DOMParser,i=r.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(t){i=e}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||ct.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(e){e&&ct.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(xt,"ms-").replace(wt,St)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var r,o=0,a=t.length,s=n(t);if(i){if(s)for(;a>o&&(r=e.apply(t[o],i),r!==!1);o++);else for(o in t)if(r=e.apply(t[o],i),r===!1)break}else if(s)for(;a>o&&(r=e.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=e.call(t[o],o,t[o]),r===!1)break;return t},trim:ut&&!ut.call("\ufeff ")?function(t){return null==t?"":ut.call(t)}:function(t){return null==t?"":(t+"").replace(ft,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?ct.merge(i,"string"==typeof t?[t]:t):rt.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(at)return at.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,n){var i=n.length,r=t.length,o=0;if("number"==typeof i)for(;i>o;o++)t[r++]=n[o];else for(;n[o]!==e;)t[r++]=n[o++];return t.length=r,t},grep:function(t,e,n){var i,r=[],o=0,a=t.length;for(n=!!n;a>o;o++)i=!!e(t[o],o),n!==i&&r.push(t[o]);return r},map:function(t,e,i){var r,o=0,a=t.length,s=n(t),l=[];if(s)for(;a>o;o++)r=e(t[o],o,i),null!=r&&(l[l.length]=r);else for(o in t)r=e(t[o],o,i),null!=r&&(l[l.length]=r);return it.apply([],l)},guid:1,proxy:function(t,n){var i,r,o;return"string"==typeof n&&(o=t[n],n=t,t=o),ct.isFunction(t)?(i=ot.call(arguments,2),r=function(){return t.apply(n||this,i.concat(ot.call(arguments)))},r.guid=t.guid=t.guid||ct.guid++,r):e},access:function(t,n,i,r,o,a,s){var l=0,u=t.length,c=null==i;if("object"===ct.type(i)){o=!0;for(l in i)ct.access(t,n,l,i[l],!0,a,s)}else if(r!==e&&(o=!0,ct.isFunction(r)||(s=!0),c&&(s?(n.call(t,r),n=null):(c=n,n=function(t,e,n){return c.call(ct(t),n)})),n))for(;u>l;l++)n(t[l],i,s?r:r.call(t[l],l,n(t[l],i)));return o?t:c?n.call(t):u?n(t[0],i):a},now:function(){return(new Date).getTime()},swap:function(t,e,n,i){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=a[o];return r}}),ct.ready.promise=function(e){if(!Y)if(Y=ct.Deferred(),"complete"===Z.readyState)setTimeout(ct.ready);else if(Z.addEventListener)Z.addEventListener("DOMContentLoaded",_t,!1),t.addEventListener("load",_t,!1);else{Z.attachEvent("onreadystatechange",_t),t.attachEvent("onload",_t);var n=!1;try{n=null==t.frameElement&&Z.documentElement}catch(t){}n&&n.doScroll&&function t(){if(!ct.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}Ct(),ct.ready()}}()}return Y.promise(e)},ct.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()}),G=ct(Z),function(t,e){function n(t,e,n,i){var r,o,a,s,l,u,c,h,p,g;if((e?e.ownerDocument||e:z)!==O&&P(e),e=e||O,n=n||[],!t||"string"!=typeof t)return n;if(1!==(s=e.nodeType)&&9!==s)return[];if(N&&!i){if(r=bt.exec(t))if(a=r[1]){if(9===s){if(o=e.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&R(e,o)&&o.id===a)return n.push(o),n}else{if(r[2])return tt.apply(n,e.getElementsByTagName(t)),n;if((a=r[3])&&_.getElementsByClassName&&e.getElementsByClassName)return tt.apply(n,e.getElementsByClassName(a)),n}if(_.qsa&&(!I||!I.test(t))){if(h=c=H,p=e,g=9===s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(u=d(t),(c=e.getAttribute("id"))?h=c.replace(St,"\\$&"):e.setAttribute("id",h),h="[id='"+h+"'] ",l=u.length;l--;)u[l]=h+f(u[l]);p=ft.test(t)&&e.parentNode||e,g=u.join(",")}if(g)try{return tt.apply(n,p.querySelectorAll(g)),n}catch(t){}finally{c||e.removeAttribute("id")}}}return w(t.replace(ut,"$1"),e,n,i)}function i(){function t(n,i){return e.push(n+=" ")>M.cacheLength&&delete t[e.shift()],t[n]=i}var e=[];return t}function r(t){return t[H]=!0,t}function o(t){var e=O.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t,e){for(var n=t.split("|"),i=t.length;i--;)M.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||V)-(~t.sourceIndex||V);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function l(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return r(function(e){return e=+e,r(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function h(){}function d(t,e){var i,r,o,a,s,l,u,c=U[t+" "];if(c)return e?0:c.slice(0);for(s=t,l=[],u=M.preFilter;s;){(!i||(r=ht.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=dt.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(ut," ")}),s=s.slice(i.length));for(a in M.filter)!(r=vt[a].exec(s))||u[a]&&!(r=u[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return e?s.length:s?n.error(t):U(t,l).slice(0)}function f(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=W++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,a){var s,l,u,c=B+" "+o;if(a){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||r)if(u=e[H]||(e[H]={}),(l=u[i])&&l[0]===c){if((s=l[1])===!0||s===C)return s===!0}else if(l=u[i]=[c],l[1]=t(e,n,a)||C,l[1]===!0)return!0}}function g(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function m(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;l>s;s++)(o=t[s])&&(!n||n(o,i,r))&&(a.push(o),u&&e.push(s));return a}function v(t,e,n,i,o,a){return i&&!i[H]&&(i=v(i)),o&&!o[H]&&(o=v(o,a)),r(function(r,a,s,l){var u,c,h,d=[],f=[],p=a.length,g=r||x(e||"*",s.nodeType?[s]:s,[]),v=!t||!r&&e?g:m(g,d,t,s,l),y=n?o||(r?t:p||i)?[]:a:v;if(n&&n(v,y,s,l),i)for(u=m(y,f),i(u,[],s,l),c=u.length;c--;)(h=u[c])&&(y[f[c]]=!(v[f[c]]=h));if(r){if(o||t){if(o){for(u=[],c=y.length;c--;)(h=y[c])&&u.push(v[c]=h);o(null,y=[],u,l)}for(c=y.length;c--;)(h=y[c])&&(u=o?nt.call(r,h):d[c])>-1&&(r[u]=!(a[u]=h))}}else y=m(y===a?y.splice(p,y.length):y),o?o(null,a,y,l):tt.apply(a,y)})}function y(t){for(var e,n,i,r=t.length,o=M.relative[t[0].type],a=o||M.relative[" "],s=o?1:0,l=p(function(t){return t===e},a,!0),u=p(function(t){return nt.call(e,t)>-1},a,!0),c=[function(t,n,i){return!o&&(i||n!==A)||((e=n).nodeType?l(t,n,i):u(t,n,i))}];r>s;s++)if(n=M.relative[t[s].type])c=[p(g(c),n)];else{if(n=M.filter[t[s].type].apply(null,t[s].matches),n[H]){for(i=++s;r>i&&!M.relative[t[i].type];i++);return v(s>1&&g(c),s>1&&f(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(ut,"$1"),n,i>s&&y(t.slice(s,i)),r>i&&y(t=t.slice(i)),r>i&&f(t))}c.push(n)}return g(c)}function b(t,e){var i=0,o=e.length>0,a=t.length>0,s=function(r,s,l,u,c){var h,d,f,p=[],g=0,v="0",y=r&&[],b=null!=c,x=A,w=r||a&&M.find.TAG("*",c&&s.parentNode||s),S=B+=null==x?1:Math.random()||.1;for(b&&(A=s!==O&&s,C=i);null!=(h=w[v]);v++){if(a&&h){for(d=0;f=t[d++];)if(f(h,s,l)){u.push(h);break}b&&(B=S,C=++i)}o&&((h=!f&&h)&&g--,r&&y.push(h))}if(g+=v,o&&v!==g){for(d=0;f=e[d++];)f(y,p,s,l);if(r){if(g>0)for(;v--;)y[v]||p[v]||(p[v]=J.call(u));p=m(p)}tt.apply(u,p),b&&!r&&p.length>0&&g+e.length>1&&n.uniqueSort(u)}return b&&(B=S,A=x),y};return o?r(s):s}function x(t,e,i){for(var r=0,o=e.length;o>r;r++)n(t,e[r],i);return i}function w(t,e,n,i){var r,o,a,s,l,u=d(t);if(!i&&1===u.length){if(o=u[0]=u[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&_.getById&&9===e.nodeType&&N&&M.relative[o[1].type]){if(e=(M.find.ID(a.matches[0].replace(_t,Ct),e)||[])[0],!e)return n;t=t.slice(o.shift().value.length)}for(r=vt.needsContext.test(t)?0:o.length;r--&&(a=o[r],!M.relative[s=a.type]);)if((l=M.find[s])&&(i=l(a.matches[0].replace(_t,Ct),ft.test(o[0].type)&&e.parentNode||e))){if(o.splice(r,1),t=i.length&&f(o),!t)return tt.apply(n,i),n;break}}return D(t,u)(i,e,!N,n,ft.test(t)),n}var S,_,C,M,k,T,D,A,E,P,O,L,N,I,j,F,R,H="sizzle"+-new Date,z=t.document,B=0,W=0,$=i(),U=i(),q=i(),Y=!1,G=function(t,e){return t===e?(Y=!0,0):0},X=typeof e,V=1<<31,Z={}.hasOwnProperty,K=[],J=K.pop,Q=K.push,tt=K.push,et=K.slice,nt=K.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},it="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",rt="[\\x20\\t\\r\\n\\f]",ot="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",at=ot.replace("w","w#"),st="\\["+rt+"*("+ot+")"+rt+"*(?:([*^$|!~]?=)"+rt+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+at+")|)|)"+rt+"*\\]",lt=":("+ot+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+st.replace(3,8)+")*)|.*)\\)|)",ut=RegExp("^"+rt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+rt+"+$","g"),ht=RegExp("^"+rt+"*,"+rt+"*"),dt=RegExp("^"+rt+"*([>+~]|"+rt+")"+rt+"*"),ft=RegExp(rt+"*[+~]"),pt=RegExp("="+rt+"*([^\\]'\"]*)"+rt+"*\\]","g"),gt=RegExp(lt),mt=RegExp("^"+at+"$"),vt={ID:RegExp("^#("+ot+")"),CLASS:RegExp("^\\.("+ot+")"),TAG:RegExp("^("+ot.replace("w","w*")+")"),ATTR:RegExp("^"+st),PSEUDO:RegExp("^"+lt),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rt+"*(even|odd|(([+-]|)(\\d*)n|)"+rt+"*(?:([+-]|)"+rt+"*(\\d+)|))"+rt+"*\\)|)","i"),bool:RegExp("^(?:"+it+")$","i"),needsContext:RegExp("^"+rt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rt+"*((?:-\\d)?\\d*)"+rt+"*\\)|)(?=[^-]|$)","i")},yt=/^[^{]+\{\s*\[native \w/,bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xt=/^(?:input|select|textarea|button)$/i,wt=/^h\d$/i,St=/'|\\/g,_t=RegExp("\\\\([\\da-f]{1,6}"+rt+"?|("+rt+")|.)","ig"),Ct=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(55296|i>>10,56320|1023&i)};try{tt.apply(K=et.call(z.childNodes),z.childNodes),K[z.childNodes.length].nodeType}catch(t){tt={apply:K.length?function(t,e){Q.apply(t,et.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}T=n.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},_=n.support={},P=n.setDocument=function(t){var n=t?t.ownerDocument||t:z,i=n.defaultView;return n!==O&&9===n.nodeType&&n.documentElement?(O=n,L=n.documentElement,N=!T(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){P()}),_.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),_.getElementsByTagName=o(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),_.getElementsByClassName=o(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),_.getById=o(function(t){return L.appendChild(t).id=H,!n.getElementsByName||!n.getElementsByName(H).length}),_.getById?(M.find.ID=function(t,e){if(typeof e.getElementById!==X&&N){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},M.filter.ID=function(t){var e=t.replace(_t,Ct);return function(t){return t.getAttribute("id")===e}}):(delete M.find.ID,M.filter.ID=function(t){var e=t.replace(_t,Ct);return function(t){var n=typeof t.getAttributeNode!==X&&t.getAttributeNode("id");return n&&n.value===e}}),M.find.TAG=_.getElementsByTagName?function(t,n){return typeof n.getElementsByTagName!==X?n.getElementsByTagName(t):e}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},M.find.CLASS=_.getElementsByClassName&&function(t,n){return typeof n.getElementsByClassName!==X&&N?n.getElementsByClassName(t):e},j=[],I=[],(_.qsa=yt.test(n.querySelectorAll))&&(o(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||I.push("\\["+rt+"*(?:value|"+it+")"),t.querySelectorAll(":checked").length||I.push(":checked")}),o(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&I.push("[*^$]="+rt+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(_.matchesSelector=yt.test(F=L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){_.disconnectedMatch=F.call(t,"div"),F.call(t,"[s!='']:x"),j.push("!=",lt)}),I=I.length&&RegExp(I.join("|")),j=j.length&&RegExp(j.join("|")),R=yt.test(L.contains)||L.compareDocumentPosition?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},G=L.compareDocumentPosition?function(t,e){if(t===e)return Y=!0,0;var i=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return i?1&i||!_.sortDetached&&e.compareDocumentPosition(t)===i?t===n||R(z,t)?-1:e===n||R(z,e)?1:E?nt.call(E,t)-nt.call(E,e):0:4&i?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var i,r=0,o=t.parentNode,a=e.parentNode,l=[t],u=[e];if(t===e)return Y=!0,0;if(!o||!a)return t===n?-1:e===n?1:o?-1:a?1:E?nt.call(E,t)-nt.call(E,e):0;if(o===a)return s(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?s(l[r],u[r]):l[r]===z?-1:u[r]===z?1:0},n):O},n.matches=function(t,e){return n(t,null,null,e)},n.matchesSelector=function(t,e){if((t.ownerDocument||t)!==O&&P(t),e=e.replace(pt,"='$1']"),!(!_.matchesSelector||!N||j&&j.test(e)||I&&I.test(e)))try{var i=F.call(t,e);if(i||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return n(e,O,null,[t]).length>0},n.contains=function(t,e){return(t.ownerDocument||t)!==O&&P(t),R(t,e)},n.attr=function(t,n){(t.ownerDocument||t)!==O&&P(t);var i=M.attrHandle[n.toLowerCase()],r=i&&Z.call(M.attrHandle,n.toLowerCase())?i(t,n,!N):e;return r===e?_.attributes||!N?t.getAttribute(n):(r=t.getAttributeNode(n))&&r.specified?r.value:null:r},n.error=function(t){throw Error("Syntax error, unrecognized expression: "+t)},n.uniqueSort=function(t){var e,n=[],i=0,r=0;if(Y=!_.detectDuplicates,E=!_.sortStable&&t.slice(0),t.sort(G),Y){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return t},k=n.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=k(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i];i++)n+=k(e);return n},M=n.selectors={cacheLength:50,createPseudo:r,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(_t,Ct),t[3]=(t[4]||t[5]||"").replace(_t,Ct),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||n.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&n.error(t[0]),t},PSEUDO:function(t){var n,i=!t[5]&&t[2];return vt.CHILD.test(t[0])?null:(t[3]&&t[4]!==e?t[2]=t[4]:i&>.test(i)&&(n=d(i,!0))&&(n=i.indexOf(")",i.length-n)-i.length)&&(t[0]=t[0].slice(0,n),t[2]=i.slice(0,n)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(_t,Ct).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=$[t+" "];return e||(e=RegExp("(^|"+rt+")"+t+"("+rt+"|$)"))&&$(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==X&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(r){var o=n.attr(r,t);return null==o?"!="===e:!e||(o+="","="===e?o===i:"!="===e?o!==i:"^="===e?i&&0===o.indexOf(i):"*="===e?i&&o.indexOf(i)>-1:"$="===e?i&&o.slice(-i.length)===i:"~="===e?(" "+o+" ").indexOf(i)>-1:"|="===e&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,h,d,f,p,g=o!==a?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s; 2 if(m){if(o){for(;g;){for(h=e;h=h[g];)if(s?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(c=m[H]||(m[H]={}),u=c[t]||[],f=u[0]===B&&u[1],d=u[0]===B&&u[2],h=f&&m.childNodes[f];h=++f&&h&&h[g]||(d=f=0)||p.pop();)if(1===h.nodeType&&++d&&h===e){c[t]=[B,f,d];break}}else if(y&&(u=(e[H]||(e[H]={}))[t])&&u[0]===B)d=u[1];else for(;(h=++f&&h&&h[g]||(d=f=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++d||(y&&((h[H]||(h[H]={}))[t]=[B,d]),h!==e)););return d-=r,d===i||0===d%i&&d/i>=0}}},PSEUDO:function(t,e){var i,o=M.pseudos[t]||M.setFilters[t.toLowerCase()]||n.error("unsupported pseudo: "+t);return o[H]?o(e):o.length>1?(i=[t,t,"",e],M.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,n){for(var i,r=o(t,e),a=r.length;a--;)i=nt.call(t,r[a]),t[i]=!(n[i]=r[a])}):function(t){return o(t,0,i)}):o}},pseudos:{not:r(function(t){var e=[],n=[],i=D(t.replace(ut,"$1"));return i[H]?r(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),!n.pop()}}),has:r(function(t){return function(e){return n(t,e).length>0}}),contains:r(function(t){return function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:r(function(t){return mt.test(t||"")||n.error("unsupported lang: "+t),t=t.replace(_t,Ct).toLowerCase(),function(e){var n;do if(n=N?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===L},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeName>"@"||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!M.pseudos.empty(t)},header:function(t){return wt.test(t.nodeName)},input:function(t){return xt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:c(function(){return[0]}),last:c(function(t,e){return[e-1]}),eq:c(function(t,e,n){return[0>n?n+e:n]}),even:c(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:c(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:c(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:c(function(t,e,n){for(var i=0>n?n+e:n;e>++i;)t.push(i);return t})}},M.pseudos.nth=M.pseudos.eq;for(S in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})M.pseudos[S]=l(S);for(S in{submit:!0,reset:!0})M.pseudos[S]=u(S);h.prototype=M.filters=M.pseudos,M.setFilters=new h,D=n.compile=function(t,e){var n,i=[],r=[],o=q[t+" "];if(!o){for(e||(e=d(t)),n=e.length;n--;)o=y(e[n]),o[H]?i.push(o):r.push(o);o=q(t,b(r,i))}return o},_.sortStable=H.split("").sort(G).join("")===H,_.detectDuplicates=Y,P(),_.sortDetached=o(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||a("type|href|height|width",function(t,n,i){return i?e:t.getAttribute(n,"type"===n.toLowerCase()?1:2)}),_.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||a("value",function(t,n,i){return i||"input"!==t.nodeName.toLowerCase()?e:t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||a(it,function(t,n,i){var r;return i?e:(r=t.getAttributeNode(n))&&r.specified?r.value:t[n]===!0?n.toLowerCase():null}),ct.find=n,ct.expr=n.selectors,ct.expr[":"]=ct.expr.pseudos,ct.unique=n.uniqueSort,ct.text=n.getText,ct.isXMLDoc=n.isXML,ct.contains=n.contains}(t);var Mt={};ct.Callbacks=function(t){t="string"==typeof t?Mt[t]||i(t):ct.extend({},t);var n,r,o,a,s,l,u=[],c=!t.once&&[],h=function(e){for(r=t.memory&&e,o=!0,s=l||0,l=0,a=u.length,n=!0;u&&a>s;s++)if(u[s].apply(e[0],e[1])===!1&&t.stopOnFalse){r=!1;break}n=!1,u&&(c?c.length&&h(c.shift()):r?u=[]:d.disable())},d={add:function(){if(u){var e=u.length;!function e(n){ct.each(n,function(n,i){var r=ct.type(i);"function"===r?t.unique&&d.has(i)||u.push(i):i&&i.length&&"string"!==r&&e(i)})}(arguments),n?a=u.length:r&&(l=e,h(r))}return this},remove:function(){return u&&ct.each(arguments,function(t,e){for(var i;(i=ct.inArray(e,u,i))>-1;)u.splice(i,1),n&&(a>=i&&a--,s>=i&&s--)}),this},has:function(t){return t?ct.inArray(t,u)>-1:!(!u||!u.length)},empty:function(){return u=[],a=0,this},disable:function(){return u=c=r=e,this},disabled:function(){return!u},lock:function(){return c=e,r||d.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!u||o&&!c||(e=e||[],e=[t,e.slice?e.slice():e],n?c.push(e):h(e)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!o}};return d},ct.extend({Deferred:function(t){var e=[["resolve","done",ct.Callbacks("once memory"),"resolved"],["reject","fail",ct.Callbacks("once memory"),"rejected"],["notify","progress",ct.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ct.Deferred(function(n){ct.each(e,function(e,o){var a=o[0],s=ct.isFunction(t[e])&&t[e];r[o[1]](function(){var t=s&&s.apply(this,arguments);t&&ct.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?ct.extend(t,i):i}},r={};return i.pipe=i.then,ct.each(e,function(t,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=ot.call(arguments),a=o.length,s=1!==a||t&&ct.isFunction(t.promise)?a:0,l=1===s?t:ct.Deferred(),u=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?ot.call(arguments):r,i===e?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(e=Array(a),n=Array(a),i=Array(a);a>r;r++)o[r]&&ct.isFunction(o[r].promise)?o[r].promise().done(u(r,i,o)).fail(l.reject).progress(u(r,n,e)):--s;return s||l.resolveWith(i,o),l.promise()}}),ct.support=function(e){var n,i,r,o,a,s,l,u,c,h=Z.createElement("div");if(h.setAttribute("className","t"),h.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=h.getElementsByTagName("*")||[],i=h.getElementsByTagName("a")[0],!i||!i.style||!n.length)return e;o=Z.createElement("select"),s=o.appendChild(Z.createElement("option")),r=h.getElementsByTagName("input")[0],i.style.cssText="top:1px;float:left;opacity:.5",e.getSetAttribute="t"!==h.className,e.leadingWhitespace=3===h.firstChild.nodeType,e.tbody=!h.getElementsByTagName("tbody").length,e.htmlSerialize=!!h.getElementsByTagName("link").length,e.style=/top/.test(i.getAttribute("style")),e.hrefNormalized="/a"===i.getAttribute("href"),e.opacity=/^0.5/.test(i.style.opacity),e.cssFloat=!!i.style.cssFloat,e.checkOn=!!r.value,e.optSelected=s.selected,e.enctype=!!Z.createElement("form").enctype,e.html5Clone="<:nav></:nav>"!==Z.createElement("nav").cloneNode(!0).outerHTML,e.inlineBlockNeedsLayout=!1,e.shrinkWrapBlocks=!1,e.pixelPosition=!1,e.deleteExpando=!0,e.noCloneEvent=!0,e.reliableMarginRight=!0,e.boxSizingReliable=!0,r.checked=!0,e.noCloneChecked=r.cloneNode(!0).checked,o.disabled=!0,e.optDisabled=!s.disabled;try{delete h.test}catch(t){e.deleteExpando=!1}r=Z.createElement("input"),r.setAttribute("value",""),e.input=""===r.getAttribute("value"),r.value="t",r.setAttribute("type","radio"),e.radioValue="t"===r.value,r.setAttribute("checked","t"),r.setAttribute("name","t"),a=Z.createDocumentFragment(),a.appendChild(r),e.appendChecked=r.checked,e.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,h.attachEvent&&(h.attachEvent("onclick",function(){e.noCloneEvent=!1}),h.cloneNode(!0).click());for(c in{submit:!0,change:!0,focusin:!0})h.setAttribute(l="on"+c,"t"),e[c+"Bubbles"]=l in t||h.attributes[l].expando===!1;h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===h.style.backgroundClip;for(c in ct(e))break;return e.ownLast="0"!==c,ct(function(){var n,i,r,o="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",a=Z.getElementsByTagName("body")[0];a&&(n=Z.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(h),h.innerHTML="<table><tr><td></td><td>t</td></tr></table>",r=h.getElementsByTagName("td"),r[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===r[0].offsetHeight,r[0].style.display="",r[1].style.display="none",e.reliableHiddenOffsets=u&&0===r[0].offsetHeight,h.innerHTML="",h.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",ct.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){e.boxSizing=4===h.offsetWidth}),t.getComputedStyle&&(e.pixelPosition="1%"!==(t.getComputedStyle(h,null)||{}).top,e.boxSizingReliable="4px"===(t.getComputedStyle(h,null)||{width:"4px"}).width,i=h.appendChild(Z.createElement("div")),i.style.cssText=h.style.cssText=o,i.style.marginRight=i.style.width="0",h.style.width="1px",e.reliableMarginRight=!parseFloat((t.getComputedStyle(i,null)||{}).marginRight)),typeof h.style.zoom!==X&&(h.innerHTML="",h.style.cssText=o+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=3===h.offsetWidth,h.style.display="block",h.innerHTML="<div></div>",h.firstChild.style.width="5px",e.shrinkWrapBlocks=3!==h.offsetWidth,e.inlineBlockNeedsLayout&&(a.style.zoom=1)),a.removeChild(n),n=h=r=i=null)}),n=o=a=s=i=r=null,e}({});var kt=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Tt=/([A-Z])/g;ct.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?ct.cache[t[ct.expando]]:t[ct.expando],!!t&&!s(t)},data:function(t,e,n){return r(t,e,n)},removeData:function(t,e){return o(t,e)},_data:function(t,e,n){return r(t,e,n,!0)},_removeData:function(t,e){return o(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&ct.noData[t.nodeName.toLowerCase()];return!e||e!==!0&&t.getAttribute("classid")===e}}),ct.fn.extend({data:function(t,n){var i,r,o=null,s=0,l=this[0];if(t===e){if(this.length&&(o=ct.data(l),1===l.nodeType&&!ct._data(l,"parsedAttrs"))){for(i=l.attributes;i.length>s;s++)r=i[s].name,0===r.indexOf("data-")&&(r=ct.camelCase(r.slice(5)),a(l,r,o[r]));ct._data(l,"parsedAttrs",!0)}return o}return"object"==typeof t?this.each(function(){ct.data(this,t)}):arguments.length>1?this.each(function(){ct.data(this,t,n)}):l?a(l,t,ct.data(l,t)):null},removeData:function(t){return this.each(function(){ct.removeData(this,t)})}}),ct.extend({queue:function(t,n,i){var r;return t?(n=(n||"fx")+"queue",r=ct._data(t,n),i&&(!r||ct.isArray(i)?r=ct._data(t,n,ct.makeArray(i)):r.push(i)),r||[]):e},dequeue:function(t,e){e=e||"fx";var n=ct.queue(t,e),i=n.length,r=n.shift(),o=ct._queueHooks(t,e),a=function(){ct.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return ct._data(t,n)||ct._data(t,n,{empty:ct.Callbacks("once memory").add(function(){ct._removeData(t,e+"queue"),ct._removeData(t,n)})})}}),ct.fn.extend({queue:function(t,n){var i=2;return"string"!=typeof t&&(n=t,t="fx",i--),i>arguments.length?ct.queue(this[0],t):n===e?this:this.each(function(){var e=ct.queue(this,t,n);ct._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ct.dequeue(this,t)})},dequeue:function(t){return this.each(function(){ct.dequeue(this,t)})},delay:function(t,e){return t=ct.fx?ct.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,n){var i,r=1,o=ct.Deferred(),a=this,s=this.length,l=function(){--r||o.resolveWith(a,[a])};for("string"!=typeof t&&(n=t,t=e),t=t||"fx";s--;)i=ct._data(a[s],t+"queueHooks"),i&&i.empty&&(r++,i.empty.add(l));return l(),o.promise(n)}});var Dt,At,Et=/[\t\r\n\f]/g,Pt=/\r/g,Ot=/^(?:input|select|textarea|button|object)$/i,Lt=/^(?:a|area)$/i,Nt=/^(?:checked|selected)$/i,It=ct.support.getSetAttribute,jt=ct.support.input;ct.fn.extend({attr:function(t,e){return ct.access(this,ct.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){ct.removeAttr(this,t)})},prop:function(t,e){return ct.access(this,ct.prop,t,e,arguments.length>1)},removeProp:function(t){return t=ct.propFix[t]||t,this.each(function(){try{this[t]=e,delete this[t]}catch(t){}})},addClass:function(t){var e,n,i,r,o,a=0,s=this.length,l="string"==typeof t&&t;if(ct.isFunction(t))return this.each(function(e){ct(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(dt)||[];s>a;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Et," "):" ")){for(o=0;r=e[o++];)0>i.indexOf(" "+r+" ")&&(i+=r+" ");n.className=ct.trim(i)}return this},removeClass:function(t){var e,n,i,r,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof t&&t;if(ct.isFunction(t))return this.each(function(e){ct(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(dt)||[];s>a;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Et," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");n.className=t?ct.trim(i):""}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):ct.isFunction(t)?this.each(function(n){ct(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var e,i=0,r=ct(this),o=t.match(dt)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(n===X||"boolean"===n)&&(this.className&&ct._data(this,"__className__",this.className),this.className=this.className||t===!1?"":ct._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Et," ").indexOf(e)>=0)return!0;return!1},val:function(t){var n,i,r,o=this[0];return arguments.length?(r=ct.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(o=r?t.call(this,n,ct(this).val()):t,null==o?o="":"number"==typeof o?o+="":ct.isArray(o)&&(o=ct.map(o,function(t){return null==t?"":t+""})),i=ct.valHooks[this.type]||ct.valHooks[this.nodeName.toLowerCase()],i&&"set"in i&&i.set(this,o,"value")!==e||(this.value=o))})):o?(i=ct.valHooks[o.type]||ct.valHooks[o.nodeName.toLowerCase()],i&&"get"in i&&(n=i.get(o,"value"))!==e?n:(n=o.value,"string"==typeof n?n.replace(Pt,""):null==n?"":n)):void 0}}),ct.extend({valHooks:{option:{get:function(t){var e=ct.find.attr(t,"value");return null!=e?e:t.text}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||0>r,a=o?null:[],s=o?r+1:i.length,l=0>r?s:o?r:0;s>l;l++)if(n=i[l],!(!n.selected&&l!==r||(ct.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&ct.nodeName(n.parentNode,"optgroup"))){if(e=ct(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=ct.makeArray(e),a=r.length;a--;)i=r[a],(i.selected=ct.inArray(ct(i).val(),o)>=0)&&(n=!0);return n||(t.selectedIndex=-1),o}}},attr:function(t,n,i){var r,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return typeof t.getAttribute===X?ct.prop(t,n,i):(1===a&&ct.isXMLDoc(t)||(n=n.toLowerCase(),r=ct.attrHooks[n]||(ct.expr.match.bool.test(n)?At:Dt)),i===e?r&&"get"in r&&null!==(o=r.get(t,n))?o:(o=ct.find.attr(t,n),null==o?e:o):null!==i?r&&"set"in r&&(o=r.set(t,i,n))!==e?o:(t.setAttribute(n,i+""),i):(ct.removeAttr(t,n),e))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(dt);if(o&&1===t.nodeType)for(;n=o[r++];)i=ct.propFix[n]||n,ct.expr.match.bool.test(n)?jt&&It||!Nt.test(n)?t[i]=!1:t[ct.camelCase("default-"+n)]=t[i]=!1:ct.attr(t,n,""),t.removeAttribute(It?n:i)},attrHooks:{type:{set:function(t,e){if(!ct.support.radioValue&&"radio"===e&&ct.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},propFix:{for:"htmlFor",class:"className"},prop:function(t,n,i){var r,o,a,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return a=1!==s||!ct.isXMLDoc(t),a&&(n=ct.propFix[n]||n,o=ct.propHooks[n]),i!==e?o&&"set"in o&&(r=o.set(t,i,n))!==e?r:t[n]=i:o&&"get"in o&&null!==(r=o.get(t,n))?r:t[n]},propHooks:{tabIndex:{get:function(t){var e=ct.find.attr(t,"tabindex");return e?parseInt(e,10):Ot.test(t.nodeName)||Lt.test(t.nodeName)&&t.href?0:-1}}}}),At={set:function(t,e,n){return e===!1?ct.removeAttr(t,n):jt&&It||!Nt.test(n)?t.setAttribute(!It&&ct.propFix[n]||n,n):t[ct.camelCase("default-"+n)]=t[n]=!0,n}},ct.each(ct.expr.match.bool.source.match(/\w+/g),function(t,n){var i=ct.expr.attrHandle[n]||ct.find.attr;ct.expr.attrHandle[n]=jt&&It||!Nt.test(n)?function(t,n,r){var o=ct.expr.attrHandle[n],a=r?e:(ct.expr.attrHandle[n]=e)!=i(t,n,r)?n.toLowerCase():null;return ct.expr.attrHandle[n]=o,a}:function(t,n,i){return i?e:t[ct.camelCase("default-"+n)]?n.toLowerCase():null}}),jt&&It||(ct.attrHooks.value={set:function(t,n,i){return ct.nodeName(t,"input")?(t.defaultValue=n,e):Dt&&Dt.set(t,n,i)}}),It||(Dt={set:function(t,n,i){var r=t.getAttributeNode(i);return r||t.setAttributeNode(r=t.ownerDocument.createAttribute(i)),r.value=n+="","value"===i||n===t.getAttribute(i)?n:e}},ct.expr.attrHandle.id=ct.expr.attrHandle.name=ct.expr.attrHandle.coords=function(t,n,i){var r;return i?e:(r=t.getAttributeNode(n))&&""!==r.value?r.value:null},ct.valHooks.button={get:function(t,n){var i=t.getAttributeNode(n);return i&&i.specified?i.value:e},set:Dt.set},ct.attrHooks.contenteditable={set:function(t,e,n){Dt.set(t,""!==e&&e,n)}},ct.each(["width","height"],function(t,n){ct.attrHooks[n]={set:function(t,i){return""===i?(t.setAttribute(n,"auto"),i):e}}})),ct.support.hrefNormalized||ct.each(["href","src"],function(t,e){ct.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),ct.support.style||(ct.attrHooks.style={get:function(t){return t.style.cssText||e},set:function(t,e){return t.style.cssText=e+""}}),ct.support.optSelected||(ct.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),ct.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ct.propFix[this.toLowerCase()]=this}),ct.support.enctype||(ct.propFix.enctype="encoding"),ct.each(["radio","checkbox"],function(){ct.valHooks[this]={set:function(t,n){return ct.isArray(n)?t.checked=ct.inArray(ct(t).val(),n)>=0:e}},ct.support.checkOn||(ct.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ft=/^(?:input|select|textarea)$/i,Rt=/^key/,Ht=/^(?:mouse|contextmenu)|click/,zt=/^(?:focusinfocus|focusoutblur)$/,Bt=/^([^.]*)(?:\.(.+)|)$/;ct.event={global:{},add:function(t,n,i,r,o){var a,s,l,u,c,h,d,f,p,g,m,v=ct._data(t);if(v){for(i.handler&&(u=i,i=u.handler,o=u.selector),i.guid||(i.guid=ct.guid++),(s=v.events)||(s=v.events={}),(h=v.handle)||(h=v.handle=function(t){return typeof ct===X||t&&ct.event.triggered===t.type?e:ct.event.dispatch.apply(h.elem,arguments)},h.elem=t),n=(n||"").match(dt)||[""],l=n.length;l--;)a=Bt.exec(n[l])||[],p=m=a[1],g=(a[2]||"").split(".").sort(),p&&(c=ct.event.special[p]||{},p=(o?c.delegateType:c.bindType)||p,c=ct.event.special[p]||{},d=ct.extend({type:p,origType:m,data:r,handler:i,guid:i.guid,selector:o,needsContext:o&&ct.expr.match.needsContext.test(o),namespace:g.join(".")},u),(f=s[p])||(f=s[p]=[],f.delegateCount=0,c.setup&&c.setup.call(t,r,g,h)!==!1||(t.addEventListener?t.addEventListener(p,h,!1):t.attachEvent&&t.attachEvent("on"+p,h))),c.add&&(c.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),o?f.splice(f.delegateCount++,0,d):f.push(d),ct.event.global[p]=!0);t=null}},remove:function(t,e,n,i,r){var o,a,s,l,u,c,h,d,f,p,g,m=ct.hasData(t)&&ct._data(t);if(m&&(c=m.events)){for(e=(e||"").match(dt)||[""],u=e.length;u--;)if(s=Bt.exec(e[u])||[],f=g=s[1],p=(s[2]||"").split(".").sort(),f){for(h=ct.event.special[f]||{},f=(i?h.delegateType:h.bindType)||f,d=c[f]||[],s=s[2]&&RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)a=d[o],!r&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,h.remove&&h.remove.call(t,a));l&&!d.length&&(h.teardown&&h.teardown.call(t,p,m.handle)!==!1||ct.removeEvent(t,f,m.handle),delete c[f])}else for(f in c)ct.event.remove(t,f+e[u],n,i,!0);ct.isEmptyObject(c)&&(delete m.handle,ct._removeData(t,"events"))}},trigger:function(n,i,r,o){var a,s,l,u,c,h,d,f=[r||Z],p=lt.call(n,"type")?n.type:n,g=lt.call(n,"namespace")?n.namespace.split("."):[];if(l=h=r=r||Z,3!==r.nodeType&&8!==r.nodeType&&!zt.test(p+ct.event.triggered)&&(p.indexOf(".")>=0&&(g=p.split("."),p=g.shift(),g.sort()),s=0>p.indexOf(":")&&"on"+p,n=n[ct.expando]?n:new ct.Event(p,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=g.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=e,n.target||(n.target=r),i=null==i?[n]:ct.makeArray(i,[n]),c=ct.event.special[p]||{},o||!c.trigger||c.trigger.apply(r,i)!==!1)){if(!o&&!c.noBubble&&!ct.isWindow(r)){for(u=c.delegateType||p,zt.test(u+p)||(l=l.parentNode);l;l=l.parentNode)f.push(l),h=l;h===(r.ownerDocument||Z)&&f.push(h.defaultView||h.parentWindow||t)}for(d=0;(l=f[d++])&&!n.isPropagationStopped();)n.type=d>1?u:c.bindType||p,a=(ct._data(l,"events")||{})[n.type]&&ct._data(l,"handle"),a&&a.apply(l,i),a=s&&l[s],a&&ct.acceptData(l)&&a.apply&&a.apply(l,i)===!1&&n.preventDefault();if(n.type=p,!o&&!n.isDefaultPrevented()&&(!c._default||c._default.apply(f.pop(),i)===!1)&&ct.acceptData(r)&&s&&r[p]&&!ct.isWindow(r)){h=r[s],h&&(r[s]=null),ct.event.triggered=p;try{r[p]()}catch(t){}ct.event.triggered=e,h&&(r[s]=h)}return n.result}},dispatch:function(t){t=ct.event.fix(t);var n,i,r,o,a,s=[],l=ot.call(arguments),u=(ct._data(this,"events")||{})[t.type]||[],c=ct.event.special[t.type]||{};if(l[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){for(s=ct.event.handlers.call(this,t,u),n=0;(o=s[n++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,a=0;(r=o.handlers[a++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(r.namespace))&&(t.handleObj=r,t.data=r.data,i=((ct.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l),i!==e&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,n){var i,r,o,a,s=[],l=n.delegateCount,u=t.target;if(l&&u.nodeType&&(!t.button||"click"!==t.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==t.type)){for(o=[],a=0;l>a;a++)r=n[a],i=r.selector+" ",o[i]===e&&(o[i]=r.needsContext?ct(i,this).index(u)>=0:ct.find(i,this,null,[u]).length),o[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(t){if(t[ct.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Ht.test(r)?this.mouseHooks:Rt.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new ct.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=o.srcElement||Z),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,n){var i,r,o,a=n.button,s=n.fromElement;return null==t.pageX&&null!=n.clientX&&(r=t.target.ownerDocument||Z,o=r.documentElement,i=r.body,t.pageX=n.clientX+(o&&o.scrollLeft||i&&i.scrollLeft||0)-(o&&o.clientLeft||i&&i.clientLeft||0),t.pageY=n.clientY+(o&&o.scrollTop||i&&i.scrollTop||0)-(o&&o.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?n.toElement:s),t.which||a===e||(t.which=1&a?1:2&a?3:4&a?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==c()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===c()&&this.blur?(this.blur(),!1):e},delegateType:"focusout"},click:{trigger:function(){return ct.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):e},_default:function(t){return ct.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==e&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=ct.extend(new ct.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?ct.event.trigger(r,null,e):ct.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},ct.removeEvent=Z.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===X&&(t[i]=null),t.detachEvent(i,n))},ct.Event=function(t,n){return this instanceof ct.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.returnValue===!1||t.getPreventDefault&&t.getPreventDefault()?l:u):this.type=t,n&&ct.extend(this,n),this.timeStamp=t&&t.timeStamp||ct.now(),this[ct.expando]=!0,e):new ct.Event(t,n)},ct.Event.prototype={isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=l,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=l,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=l,this.stopPropagation()}},ct.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){ct.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return(!r||r!==i&&!ct.contains(i,r))&&(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),ct.support.submitBubbles||(ct.event.special.submit={setup:function(){return!ct.nodeName(this,"form")&&(ct.event.add(this,"click._submit keypress._submit",function(t){var n=t.target,i=ct.nodeName(n,"input")||ct.nodeName(n,"button")?n.form:e;i&&!ct._data(i,"submitBubbles")&&(ct.event.add(i,"submit._submit",function(t){t._submit_bubble=!0}),ct._data(i,"submitBubbles",!0))}),e)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&ct.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!ct.nodeName(this,"form")&&(ct.event.remove(this,"._submit"),e)}}),ct.support.changeBubbles||(ct.event.special.change={setup:function(){return Ft.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(ct.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),ct.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),ct.event.simulate("change",this,t,!0)})),!1):(ct.event.add(this,"beforeactivate._change",function(t){var e=t.target;Ft.test(e.nodeName)&&!ct._data(e,"changeBubbles")&&(ct.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||ct.event.simulate("change",this.parentNode,t,!0)}),ct._data(e,"changeBubbles",!0))}),e)},handle:function(t){var n=t.target;return this!==n||t.isSimulated||t.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?t.handleObj.handler.apply(this,arguments):e},teardown:function(){return ct.event.remove(this,"._change"),!Ft.test(this.nodeName)}}),ct.support.focusinBubbles||ct.each({focus:"focusin",blur:"focusout"},function(t,e){var n=0,i=function(t){ct.event.simulate(e,t.target,ct.event.fix(t),!0)};ct.event.special[e]={setup:function(){0===n++&&Z.addEventListener(t,i,!0)},teardown:function(){0===--n&&Z.removeEventListener(t,i,!0)}}}),ct.fn.extend({on:function(t,n,i,r,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=e);for(a in t)this.on(a,n,i,t[a],o);return this}if(null==i&&null==r?(r=n,i=n=e):null==r&&("string"==typeof n?(r=i,i=e):(r=i,i=n,n=e)),r===!1)r=u;else if(!r)return this;return 1===o&&(s=r,r=function(t){return ct().off(t),s.apply(this,arguments)},r.guid=s.guid||(s.guid=ct.guid++)),this.each(function(){ct.event.add(this,t,r,i,n)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,n,i){var r,o;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,ct(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(o in t)this.off(o,n,t[o]);return this}return(n===!1||"function"==typeof n)&&(i=n,n=e),i===!1&&(i=u),this.each(function(){ct.event.remove(this,t,i,n)})},trigger:function(t,e){return this.each(function(){ct.event.trigger(t,e,this)})},triggerHandler:function(t,n){var i=this[0];return i?ct.event.trigger(t,n,i,!0):e}});var Wt=/^.[^:#\[\.,]*$/,$t=/^(?:parents|prev(?:Until|All))/,Ut=ct.expr.match.needsContext,qt={children:!0,contents:!0,next:!0,prev:!0};ct.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(ct(t).filter(function(){for(e=0;r>e;e++)if(ct.contains(i[e],this))return!0}));for(e=0;r>e;e++)ct.find(t,i[e],n);return n=this.pushStack(r>1?ct.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},has:function(t){var e,n=ct(t,this),i=n.length;return this.filter(function(){for(e=0;i>e;e++)if(ct.contains(this,n[e]))return!0})},not:function(t){return this.pushStack(d(this,t||[],!0))},filter:function(t){return this.pushStack(d(this,t||[],!1))},is:function(t){return!!d(this,"string"==typeof t&&Ut.test(t)?ct(t):t||[],!1).length},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=Ut.test(t)||"string"!=typeof t?ct(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&ct.find.matchesSelector(n,t))){n=o.push(n);break}return this.pushStack(o.length>1?ct.unique(o):o)},index:function(t){return t?"string"==typeof t?ct.inArray(this[0],ct(t)):ct.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var n="string"==typeof t?ct(t,e):ct.makeArray(t&&t.nodeType?[t]:t),i=ct.merge(this.get(),n);return this.pushStack(ct.unique(i))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ct.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return ct.dir(t,"parentNode")},parentsUntil:function(t,e,n){return ct.dir(t,"parentNode",n)},next:function(t){return h(t,"nextSibling")},prev:function(t){return h(t,"previousSibling")},nextAll:function(t){return ct.dir(t,"nextSibling"); 3 },prevAll:function(t){return ct.dir(t,"previousSibling")},nextUntil:function(t,e,n){return ct.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return ct.dir(t,"previousSibling",n)},siblings:function(t){return ct.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return ct.sibling(t.firstChild)},contents:function(t){return ct.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:ct.merge([],t.childNodes)}},function(t,e){ct.fn[t]=function(n,i){var r=ct.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ct.filter(i,r)),this.length>1&&(qt[t]||(r=ct.unique(r)),$t.test(t)&&(r=r.reverse())),this.pushStack(r)}}),ct.extend({filter:function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?ct.find.matchesSelector(i,t)?[i]:[]:ct.find.matches(t,ct.grep(e,function(t){return 1===t.nodeType}))},dir:function(t,n,i){for(var r=[],o=t[n];o&&9!==o.nodeType&&(i===e||1!==o.nodeType||!ct(o).is(i));)1===o.nodeType&&r.push(o),o=o[n];return r},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}});var Yt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Gt=/ jQuery\d+="(?:null|\d+)"/g,Xt=RegExp("<(?:"+Yt+")[\\s/>]","i"),Vt=/^\s+/,Zt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Kt=/<([\w:]+)/,Jt=/<tbody/i,Qt=/<|&#?\w+;/,te=/<(?:script|style|link)/i,ee=/^(?:checkbox|radio)$/i,ne=/checked\s*(?:[^=]|=\s*.checked.)/i,ie=/^$|\/(?:java|ecma)script/i,re=/^true\/(.*)/,oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ae={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:ct.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},se=f(Z),le=se.appendChild(Z.createElement("div"));ae.optgroup=ae.option,ae.tbody=ae.tfoot=ae.colgroup=ae.caption=ae.thead,ae.th=ae.td,ct.fn.extend({text:function(t){return ct.access(this,function(t){return t===e?ct.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Z).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=p(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=p(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?ct.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||ct.cleanData(x(n)),n.parentNode&&(e&&ct.contains(n.ownerDocument,n)&&v(x(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&ct.cleanData(x(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&ct.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ct.clone(this,t,e)})},html:function(t){return ct.access(this,function(t){var n=this[0]||{},i=0,r=this.length;if(t===e)return 1===n.nodeType?n.innerHTML.replace(Gt,""):e;if(!("string"!=typeof t||te.test(t)||!ct.support.htmlSerialize&&Xt.test(t)||!ct.support.leadingWhitespace&&Vt.test(t)||ae[(Kt.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Zt,"<$1></$2>");try{for(;r>i;i++)n=this[i]||{},1===n.nodeType&&(ct.cleanData(x(n,!1)),n.innerHTML=t);n=0}catch(t){}}n&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=ct.map(this,function(t){return[t.nextSibling,t.parentNode]}),e=0;return this.domManip(arguments,function(n){var i=t[e++],r=t[e++];r&&(i&&i.parentNode!==r&&(i=this.nextSibling),ct(this).remove(),r.insertBefore(n,i))},!0),e?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e,n){t=it.apply([],t);var i,r,o,a,s,l,u=0,c=this.length,h=this,d=c-1,f=t[0],p=ct.isFunction(f);if(p||!(1>=c||"string"!=typeof f||ct.support.checkClone)&&ne.test(f))return this.each(function(i){var r=h.eq(i);p&&(t[0]=f.call(this,i,r.html())),r.domManip(t,e,n)});if(c&&(l=ct.buildFragment(t,this[0].ownerDocument,!1,!n&&this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(a=ct.map(x(l,"script"),g),o=a.length;c>u;u++)r=l,u!==d&&(r=ct.clone(r,!0,!0),o&&ct.merge(a,x(r,"script"))),e.call(this[u],r,u);if(o)for(s=a[a.length-1].ownerDocument,ct.map(a,m),u=0;o>u;u++)r=a[u],ie.test(r.type||"")&&!ct._data(r,"globalEval")&&ct.contains(s,r)&&(r.src?ct._evalUrl(r.src):ct.globalEval((r.text||r.textContent||r.innerHTML||"").replace(oe,"")));l=i=null}return this}}),ct.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){ct.fn[t]=function(t){for(var n,i=0,r=[],o=ct(t),a=o.length-1;a>=i;i++)n=i===a?this:this.clone(!0),ct(o[i])[e](n),rt.apply(r,n.get());return this.pushStack(r)}}),ct.extend({clone:function(t,e,n){var i,r,o,a,s,l=ct.contains(t.ownerDocument,t);if(ct.support.html5Clone||ct.isXMLDoc(t)||!Xt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(le.innerHTML=t.outerHTML,le.removeChild(o=le.firstChild)),!(ct.support.noCloneEvent&&ct.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ct.isXMLDoc(t)))for(i=x(o),s=x(t),a=0;null!=(r=s[a]);++a)i[a]&&b(r,i[a]);if(e)if(n)for(s=s||x(t),i=i||x(o),a=0;null!=(r=s[a]);a++)y(r,i[a]);else y(t,o);return i=x(o,"script"),i.length>0&&v(i,!l&&x(t,"script")),i=s=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,a,s,l,u,c,h=t.length,d=f(e),p=[],g=0;h>g;g++)if(o=t[g],o||0===o)if("object"===ct.type(o))ct.merge(p,o.nodeType?[o]:o);else if(Qt.test(o)){for(s=s||d.appendChild(e.createElement("div")),l=(Kt.exec(o)||["",""])[1].toLowerCase(),c=ae[l]||ae._default,s.innerHTML=c[1]+o.replace(Zt,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!ct.support.leadingWhitespace&&Vt.test(o)&&p.push(e.createTextNode(Vt.exec(o)[0])),!ct.support.tbody)for(o="table"!==l||Jt.test(o)?"<table>"!==c[1]||Jt.test(o)?0:s:s.firstChild,r=o&&o.childNodes.length;r--;)ct.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(ct.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=d.lastChild}else p.push(e.createTextNode(o));for(s&&d.removeChild(s),ct.support.appendChecked||ct.grep(x(p,"input"),w),g=0;o=p[g++];)if((!i||-1===ct.inArray(o,i))&&(a=ct.contains(o.ownerDocument,o),s=x(d.appendChild(o),"script"),a&&v(s),n))for(r=0;o=s[r++];)ie.test(o.type||"")&&n.push(o);return s=null,d},cleanData:function(t,e){for(var n,i,r,o,a=0,s=ct.expando,l=ct.cache,u=ct.support.deleteExpando,c=ct.event.special;null!=(n=t[a]);a++)if((e||ct.acceptData(n))&&(r=n[s],o=r&&l[r])){if(o.events)for(i in o.events)c[i]?ct.event.remove(n,i):ct.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==X?n.removeAttribute(s):n[s]=null,et.push(r))}},_evalUrl:function(t){return ct.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),ct.fn.extend({wrapAll:function(t){if(ct.isFunction(t))return this.each(function(e){ct(this).wrapAll(t.call(this,e))});if(this[0]){var e=ct(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return ct.isFunction(t)?this.each(function(e){ct(this).wrapInner(t.call(this,e))}):this.each(function(){var e=ct(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=ct.isFunction(t);return this.each(function(n){ct(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){ct.nodeName(this,"body")||ct(this).replaceWith(this.childNodes)}).end()}});var ue,ce,he,de=/alpha\([^)]*\)/i,fe=/opacity\s*=\s*([^)]*)/,pe=/^(top|right|bottom|left)$/,ge=/^(none|table(?!-c[ea]).+)/,me=/^margin/,ve=RegExp("^("+ht+")(.*)$","i"),ye=RegExp("^("+ht+")(?!px)[a-z%]+$","i"),be=RegExp("^([+-])=("+ht+")","i"),xe={BODY:"block"},we={position:"absolute",visibility:"hidden",display:"block"},Se={letterSpacing:0,fontWeight:400},_e=["Top","Right","Bottom","Left"],Ce=["Webkit","O","Moz","ms"];ct.fn.extend({css:function(t,n){return ct.access(this,function(t,n,i){var r,o,a={},s=0;if(ct.isArray(n)){for(o=ce(t),r=n.length;r>s;s++)a[n[s]]=ct.css(t,n[s],!1,o);return a}return i!==e?ct.style(t,n,i):ct.css(t,n)},t,n,arguments.length>1)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){_(this)?ct(this).show():ct(this).hide()})}}),ct.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=he(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:ct.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,n,i,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,s,l=ct.camelCase(n),u=t.style;if(n=ct.cssProps[l]||(ct.cssProps[l]=S(u,l)),s=ct.cssHooks[n]||ct.cssHooks[l],i===e)return s&&"get"in s&&(o=s.get(t,!1,r))!==e?o:u[n];if(a=typeof i,"string"===a&&(o=be.exec(i))&&(i=(o[1]+1)*o[2]+parseFloat(ct.css(t,n)),a="number"),!(null==i||"number"===a&&isNaN(i)||("number"!==a||ct.cssNumber[l]||(i+="px"),ct.support.clearCloneStyle||""!==i||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(i=s.set(t,i,r))===e)))try{u[n]=i}catch(t){}}},css:function(t,n,i,r){var o,a,s,l=ct.camelCase(n);return n=ct.cssProps[l]||(ct.cssProps[l]=S(t.style,l)),s=ct.cssHooks[n]||ct.cssHooks[l],s&&"get"in s&&(a=s.get(t,!0,i)),a===e&&(a=he(t,n,r)),"normal"===a&&n in Se&&(a=Se[n]),""===i||i?(o=parseFloat(a),i===!0||ct.isNumeric(o)?o||0:a):a}}),t.getComputedStyle?(ce=function(e){return t.getComputedStyle(e,null)},he=function(t,n,i){var r,o,a,s=i||ce(t),l=s?s.getPropertyValue(n)||s[n]:e,u=t.style;return s&&(""!==l||ct.contains(t.ownerDocument,t)||(l=ct.style(t,n)),ye.test(l)&&me.test(n)&&(r=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=r,u.minWidth=o,u.maxWidth=a)),l}):Z.documentElement.currentStyle&&(ce=function(t){return t.currentStyle},he=function(t,n,i){var r,o,a,s=i||ce(t),l=s?s[n]:e,u=t.style;return null==l&&u&&u[n]&&(l=u[n]),ye.test(l)&&!pe.test(n)&&(r=u.left,o=t.runtimeStyle,a=o&&o.left,a&&(o.left=t.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=r,a&&(o.left=a)),""===l?"auto":l}),ct.each(["height","width"],function(t,n){ct.cssHooks[n]={get:function(t,i,r){return i?0===t.offsetWidth&&ge.test(ct.css(t,"display"))?ct.swap(t,we,function(){return T(t,n,r)}):T(t,n,r):e},set:function(t,e,i){var r=i&&ce(t);return M(t,e,i?k(t,n,i,ct.support.boxSizing&&"border-box"===ct.css(t,"boxSizing",!1,r),r):0)}}}),ct.support.opacity||(ct.cssHooks.opacity={get:function(t,e){return fe.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=ct.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===ct.trim(o.replace(de,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=de.test(o)?o.replace(de,r):o+" "+r)}}),ct(function(){ct.support.reliableMarginRight||(ct.cssHooks.marginRight={get:function(t,n){return n?ct.swap(t,{display:"inline-block"},he,[t,"marginRight"]):e}}),!ct.support.pixelPosition&&ct.fn.position&&ct.each(["top","left"],function(t,n){ct.cssHooks[n]={get:function(t,i){return i?(i=he(t,n),ye.test(i)?ct(t).position()[n]+"px":i):e}}})}),ct.expr&&ct.expr.filters&&(ct.expr.filters.hidden=function(t){return 0>=t.offsetWidth&&0>=t.offsetHeight||!ct.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||ct.css(t,"display"))},ct.expr.filters.visible=function(t){return!ct.expr.filters.hidden(t)}),ct.each({margin:"",padding:"",border:"Width"},function(t,e){ct.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+_e[i]+e]=o[i]||o[i-2]||o[0];return r}},me.test(t)||(ct.cssHooks[t+e].set=M)});var Me=/%20/g,ke=/\[\]$/,Te=/\r?\n/g,De=/^(?:submit|button|image|reset|file)$/i,Ae=/^(?:input|select|textarea|keygen)/i;ct.fn.extend({serialize:function(){return ct.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ct.prop(this,"elements");return t?ct.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ct(this).is(":disabled")&&Ae.test(this.nodeName)&&!De.test(t)&&(this.checked||!ee.test(t))}).map(function(t,e){var n=ct(this).val();return null==n?null:ct.isArray(n)?ct.map(n,function(t){return{name:e.name,value:t.replace(Te,"\r\n")}}):{name:e.name,value:n.replace(Te,"\r\n")}}).get()}}),ct.param=function(t,n){var i,r=[],o=function(t,e){e=ct.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(n===e&&(n=ct.ajaxSettings&&ct.ajaxSettings.traditional),ct.isArray(t)||t.jquery&&!ct.isPlainObject(t))ct.each(t,function(){o(this.name,this.value)});else for(i in t)E(i,t[i],n,o);return r.join("&").replace(Me,"+")},ct.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){ct.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),ct.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Ee,Pe,Oe=ct.now(),Le=/\?/,Ne=/#.*$/,Ie=/([?&])_=[^&]*/,je=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Fe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Re=/^(?:GET|HEAD)$/,He=/^\/\//,ze=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Be=ct.fn.load,We={},$e={},Ue="*/".concat("*");try{Pe=V.href}catch(t){Pe=Z.createElement("a"),Pe.href="",Pe=Pe.href}Ee=ze.exec(Pe.toLowerCase())||[],ct.fn.load=function(t,n,i){if("string"!=typeof t&&Be)return Be.apply(this,arguments);var r,o,a,s=this,l=t.indexOf(" ");return l>=0&&(r=t.slice(l,t.length),t=t.slice(0,l)),ct.isFunction(n)?(i=n,n=e):n&&"object"==typeof n&&(a="POST"),s.length>0&&ct.ajax({url:t,type:a,dataType:"html",data:n}).done(function(t){o=arguments,s.html(r?ct("<div>").append(ct.parseHTML(t)).find(r):t)}).complete(i&&function(t,e){s.each(i,o||[t.responseText,e,t])}),this},ct.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ct.fn[e]=function(t){return this.on(e,t)}}),ct.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pe,type:"GET",isLocal:Fe.test(Ee[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ue,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ct.parseJSON,"text xml":ct.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?L(L(t,ct.ajaxSettings),e):L(ct.ajaxSettings,t)},ajaxPrefilter:P(We),ajaxTransport:P($e),ajax:function(t,n){function i(t,n,i,r){var o,h,y,b,w,_=n;2!==x&&(x=2,l&&clearTimeout(l),c=e,s=r||"",S.readyState=t>0?4:0,o=t>=200&&300>t||304===t,i&&(b=N(d,S,i)),b=I(d,b,S,o),o?(d.ifModified&&(w=S.getResponseHeader("Last-Modified"),w&&(ct.lastModified[a]=w),w=S.getResponseHeader("etag"),w&&(ct.etag[a]=w)),204===t||"HEAD"===d.type?_="nocontent":304===t?_="notmodified":(_=b.state,h=b.data,y=b.error,o=!y)):(y=_,(t||!_)&&(_="error",0>t&&(t=0))),S.status=t,S.statusText=(n||_)+"",o?g.resolveWith(f,[h,_,S]):g.rejectWith(f,[S,_,y]),S.statusCode(v),v=e,u&&p.trigger(o?"ajaxSuccess":"ajaxError",[S,d,o?h:y]),m.fireWith(f,[S,_]),u&&(p.trigger("ajaxComplete",[S,d]),--ct.active||ct.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=e),n=n||{};var r,o,a,s,l,u,c,h,d=ct.ajaxSetup({},n),f=d.context||d,p=d.context&&(f.nodeType||f.jquery)?ct(f):ct.event,g=ct.Deferred(),m=ct.Callbacks("once memory"),v=d.statusCode||{},y={},b={},x=0,w="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(2===x){if(!h)for(h={};e=je.exec(s);)h[e[1].toLowerCase()]=e[2];e=h[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===x?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return x||(t=b[n]=b[n]||t,y[t]=e),this},overrideMimeType:function(t){return x||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>x)for(e in t)v[e]=[v[e],t[e]];else S.always(t[S.status]);return this},abort:function(t){var e=t||w;return c&&c.abort(e),i(0,e),this}};if(g.promise(S).complete=m.add,S.success=S.done,S.error=S.fail,d.url=((t||d.url||Pe)+"").replace(Ne,"").replace(He,Ee[1]+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=ct.trim(d.dataType||"*").toLowerCase().match(dt)||[""],null==d.crossDomain&&(r=ze.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]===Ee[1]&&r[2]===Ee[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(Ee[3]||("http:"===Ee[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=ct.param(d.data,d.traditional)),O(We,d,n,S),2===x)return S;u=d.global,u&&0===ct.active++&&ct.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Re.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(Le.test(a)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Ie.test(a)?a.replace(Ie,"$1_="+Oe++):a+(Le.test(a)?"&":"?")+"_="+Oe++)),d.ifModified&&(ct.lastModified[a]&&S.setRequestHeader("If-Modified-Since",ct.lastModified[a]),ct.etag[a]&&S.setRequestHeader("If-None-Match",ct.etag[a])),(d.data&&d.hasContent&&d.contentType!==!1||n.contentType)&&S.setRequestHeader("Content-Type",d.contentType),S.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ue+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)S.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(d.beforeSend.call(f,S,d)===!1||2===x))return S.abort();w="abort";for(o in{success:1,error:1,complete:1})S[o](d[o]);if(c=O($e,d,n,S)){S.readyState=1,u&&p.trigger("ajaxSend",[S,d]),d.async&&d.timeout>0&&(l=setTimeout(function(){S.abort("timeout")},d.timeout));try{x=1,c.send(y,i)}catch(t){if(!(2>x))throw t;i(-1,t)}}else i(-1,"No Transport");return S},getJSON:function(t,e,n){return ct.get(t,e,n,"json")},getScript:function(t,n){return ct.get(t,e,n,"script")}}),ct.each(["get","post"],function(t,n){ct[n]=function(t,i,r,o){return ct.isFunction(i)&&(o=o||r,r=i,i=e),ct.ajax({url:t,type:n,dataType:o,data:i,success:r})}}),ct.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return ct.globalEval(t),t}}}),ct.ajaxPrefilter("script",function(t){t.cache===e&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),ct.ajaxTransport("script",function(t){if(t.crossDomain){var n,i=Z.head||ct("head")[0]||Z.documentElement;return{send:function(e,r){n=Z.createElement("script"),n.async=!0,t.scriptCharset&&(n.charset=t.scriptCharset),n.src=t.url,n.onload=n.onreadystatechange=function(t,e){(e||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,e||r(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(e,!0)}}}});var qe=[],Ye=/(=)\?(?=&|$)|\?\?/;ct.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||ct.expando+"_"+Oe++;return this[t]=!0,t}}),ct.ajaxPrefilter("json jsonp",function(n,i,r){var o,a,s,l=n.jsonp!==!1&&(Ye.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ye.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=ct.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Ye,"$1"+o):n.jsonp!==!1&&(n.url+=(Le.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||ct.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=t[o],t[o]=function(){s=arguments},r.always(function(){t[o]=a,n[o]&&(n.jsonpCallback=i.jsonpCallback,qe.push(o)),s&&ct.isFunction(a)&&a(s[0]),s=a=e}),"script"):e});var Ge,Xe,Ve=0,Ze=t.ActiveXObject&&function(){var t;for(t in Ge)Ge[t](e,!0)};ct.ajaxSettings.xhr=t.ActiveXObject?function(){return!this.isLocal&&j()||F()}:j,Xe=ct.ajaxSettings.xhr(),ct.support.cors=!!Xe&&"withCredentials"in Xe,Xe=ct.support.ajax=!!Xe,Xe&&ct.ajaxTransport(function(n){if(!n.crossDomain||ct.support.cors){var i;return{send:function(r,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");try{for(s in r)l.setRequestHeader(s,r[s])}catch(t){}l.send(n.hasContent&&n.data||null),i=function(t,r){var s,u,c,h;try{if(i&&(r||4===l.readyState))if(i=e,a&&(l.onreadystatechange=ct.noop,Ze&&delete Ge[a]),r)4!==l.readyState&&l.abort();else{h={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(h.text=l.responseText);try{c=l.statusText}catch(t){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=h.text?200:404}}catch(t){r||o(-1,t)}h&&o(s,c,h,u)},n.async?4===l.readyState?setTimeout(i):(a=++Ve,Ze&&(Ge||(Ge={},ct(t).unload(Ze)),Ge[a]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(e,!0)}}}});var Ke,Je,Qe=/^(?:toggle|show|hide)$/,tn=RegExp("^(?:([+-])=|)("+ht+")([a-z%]*)$","i"),en=/queueHooks$/,nn=[W],rn={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=tn.exec(e),o=r&&r[3]||(ct.cssNumber[t]?"":"px"),a=(ct.cssNumber[t]||"px"!==o&&+i)&&tn.exec(ct.css(n.elem,t)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],r=r||[],a=+i||1;do s=s||".5",a/=s,ct.style(n.elem,t,a+o);while(s!==(s=n.cur()/i)&&1!==s&&--l)}return r&&(a=n.start=+a||+i||0,n.unit=o,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]};ct.Animation=ct.extend(z,{tweener:function(t,e){ct.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;r>i;i++)n=t[i],rn[n]=rn[n]||[],rn[n].unshift(e)},prefilter:function(t,e){e?nn.unshift(t):nn.push(t)}}),ct.Tween=$,$.prototype={constructor:$,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(ct.cssNumber[n]?"":"px")},cur:function(){var t=$.propHooks[this.prop];return t&&t.get?t.get(this):$.propHooks._default.get(this)},run:function(t){var e,n=$.propHooks[this.prop];return this.pos=e=this.options.duration?ct.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):$.propHooks._default.set(this),this}},$.prototype.init.prototype=$.prototype,$.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=ct.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){ct.fx.step[t.prop]?ct.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[ct.cssProps[t.prop]]||ct.cssHooks[t.prop])?ct.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},$.propHooks.scrollTop=$.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ct.each(["toggle","show","hide"],function(t,e){var n=ct.fn[e];ct.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(U(e,!0),t,i,r)}}),ct.fn.extend({fadeTo:function(t,e,n,i){return this.filter(_).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=ct.isEmptyObject(t),o=ct.speed(e,n,i),a=function(){var e=z(this,ct.extend({},t),o);(r||ct._data(this,"finish"))&&e.stop(!0)};return a.finish=a,r||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(t,n,i){var r=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=n,n=t,t=e),n&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,n=null!=t&&t+"queueHooks",o=ct.timers,a=ct._data(this);if(n)a[n]&&a[n].stop&&r(a[n]);else for(n in a)a[n]&&a[n].stop&&en.test(n)&&r(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=t&&o[n].queue!==t||(o[n].anim.stop(i),e=!1,o.splice(n,1));(e||!i)&&ct.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=ct._data(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=ct.timers,a=i?i.length:0;for(n.finish=!0,ct.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;a>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),ct.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){ct.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),ct.speed=function(t,e,n){var i=t&&"object"==typeof t?ct.extend({},t):{complete:n||!n&&e||ct.isFunction(t)&&t,duration:t,easing:n&&e||e&&!ct.isFunction(e)&&e};return i.duration=ct.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ct.fx.speeds?ct.fx.speeds[i.duration]:ct.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){ct.isFunction(i.old)&&i.old.call(this),i.queue&&ct.dequeue(this,i.queue)},i},ct.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},ct.timers=[],ct.fx=$.prototype.init,ct.fx.tick=function(){var t,n=ct.timers,i=0;for(Ke=ct.now();n.length>i;i++)t=n[i],t()||n[i]!==t||n.splice(i--,1);n.length||ct.fx.stop(),Ke=e},ct.fx.timer=function(t){t()&&ct.timers.push(t)&&ct.fx.start()},ct.fx.interval=13,ct.fx.start=function(){Je||(Je=setInterval(ct.fx.tick,ct.fx.interval))},ct.fx.stop=function(){clearInterval(Je),Je=null},ct.fx.speeds={slow:600,fast:200,_default:400},ct.fx.step={},ct.expr&&ct.expr.filters&&(ct.expr.filters.animated=function(t){return ct.grep(ct.timers,function(e){return t===e.elem}).length}),ct.fn.offset=function(t){if(arguments.length)return t===e?this:this.each(function(e){ct.offset.setOffset(this,t,e)});var n,i,r={top:0,left:0},o=this[0],a=o&&o.ownerDocument;return a?(n=a.documentElement,ct.contains(n,o)?(typeof o.getBoundingClientRect!==X&&(r=o.getBoundingClientRect()),i=q(a),{top:r.top+(i.pageYOffset||n.scrollTop)-(n.clientTop||0),left:r.left+(i.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):r):void 0},ct.offset={setOffset:function(t,e,n){var i=ct.css(t,"position");"static"===i&&(t.style.position="relative");var r,o,a=ct(t),s=a.offset(),l=ct.css(t,"top"),u=ct.css(t,"left"),c=("absolute"===i||"fixed"===i)&&ct.inArray("auto",[l,u])>-1,h={},d={};c?(d=a.position(),r=d.top,o=d.left):(r=parseFloat(l)||0,o=parseFloat(u)||0),ct.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(h.top=e.top-s.top+r),null!=e.left&&(h.left=e.left-s.left+o),"using"in e?e.using.call(t,h):a.css(h)}},ct.fn.extend({position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===ct.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ct.nodeName(t[0],"html")||(n=t.offset()),n.top+=ct.css(t[0],"borderTopWidth",!0),n.left+=ct.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-ct.css(i,"marginTop",!0),left:e.left-n.left-ct.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||K;t&&!ct.nodeName(t,"html")&&"static"===ct.css(t,"position");)t=t.offsetParent;return t||K})}}),ct.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var i=/Y/.test(n);ct.fn[t]=function(r){return ct.access(this,function(t,r,o){var a=q(t);return o===e?a?n in a?a[n]:a.document.documentElement[r]:t[r]:(a?a.scrollTo(i?ct(a).scrollLeft():o,i?o:ct(a).scrollTop()):t[r]=o,e)},t,r,arguments.length,null)}}),ct.each({Height:"height",Width:"width"},function(t,n){ct.each({padding:"inner"+t,content:n,"":"outer"+t},function(i,r){ct.fn[r]=function(r,o){var a=arguments.length&&(i||"boolean"!=typeof r),s=i||(r===!0||o===!0?"margin":"border");return ct.access(this,function(n,i,r){var o;return ct.isWindow(n)?n.document.documentElement["client"+t]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+t],o["scroll"+t],n.body["offset"+t],o["offset"+t],o["client"+t])):r===e?ct.css(n,i,s):ct.style(n,i,r,s)},n,a?r:e,a,null)}})}),ct.fn.size=function(){return this.length},ct.fn.andSelf=ct.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=ct:(t.jQuery=t.$=ct,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ct}))}(window),"undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]}}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one(t.support.transition.end,function(){n=!0});var r=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e()})}(jQuery),+function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.prototype.close=function(e){function n(){o.trigger("closed.bs.alert").remove()}var i=t(this),r=i.attr("data-target");r||(r=i.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));var o=t(r);e&&e.preventDefault(),o.length||(o=i.hasClass("alert")?i:i.parent()),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one(t.support.transition.end,n).emulateTransitionEnd(150):n())};var i=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var i=t(this),r=i.data("bs.alert");r||i.data("bs.alert",r=new n(this)),"string"==typeof e&&r[e].call(i)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),+function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i)};e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(t){var e="disabled",n=this.$element,i=n.is("input")?"val":"html",r=n.data();t+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[t]||this.options[t]),setTimeout(function(){"loadingText"==t?n.addClass(e).attr(e,e):n.removeClass(e).removeAttr(e)},0)},e.prototype.toggle=function(){var t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var e=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===e.prop("type")&&t.find(".active").removeClass("active")}this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=function(n){return this.each(function(){var i=t(this),r=i.data("bs.button"),o="object"==typeof n&&n;r||i.data("bs.button",r=new e(this,o)),"toggle"==n?r.toggle():n&&r.setState(n)})},t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=n, 4 this},t(document).on("click.bs.button.data-api","[data-toggle^=button]",function(e){var n=t(e.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle"),e.preventDefault()})}(jQuery),+function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",t.proxy(this.pause,this)).on("mouseleave",t.proxy(this.cycle,this))};e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},e.prototype.to=function(e){var n=this,i=this.getActiveIndex();return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid",function(){n.to(e)}):i==e?this.pause().cycle():this.slide(e>i?"next":"prev",t(this.$items[e]))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition.end&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){return this.sliding?void 0:this.slide("next")},e.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},e.prototype.slide=function(e,n){var i=this.$element.find(".item.active"),r=n||i[e](),o=this.interval,a="next"==e?"left":"right",s="next"==e?"first":"last",l=this;if(!r.length){if(!this.options.wrap)return;r=this.$element.find(".item")[s]()}this.sliding=!0,o&&this.pause();var u=t.Event("slide.bs.carousel",{relatedTarget:r[0],direction:a});if(!r.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var e=t(l.$indicators.children()[l.getActiveIndex()]);e&&e.addClass("active")})),t.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(u),u.isDefaultPrevented())return;r.addClass(e),r[0].offsetWidth,i.addClass(a),r.addClass(a),i.one(t.support.transition.end,function(){r.removeClass([e,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(u),u.isDefaultPrevented())return;i.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return o&&this.cycle(),this}};var n=t.fn.carousel;t.fn.carousel=function(n){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n),a="string"==typeof n?n:o.slide;r||i.data("bs.carousel",r=new e(this,o)),"number"==typeof n?r.to(n):a?r[a]():o.interval&&r.pause().cycle()})},t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this},t(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(e){var n,i=t(this),r=t(i.attr("data-target")||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"")),o=t.extend({},r.data(),i.data()),a=i.attr("data-slide-to");a&&(o.interval=!1),r.carousel(o),(a=i.attr("data-slide-to"))&&r.data("bs.carousel").to(a),e.preventDefault()}),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var e=t(this);e.carousel(e.data())})})}(jQuery),+function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.transitioning=null,this.options.parent&&(this.$parent=t(this.options.parent)),this.options.toggle&&this.toggle()};e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e=t.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.$parent&&this.$parent.find("> .panel > .in");if(n&&n.length){var i=n.data("bs.collapse");if(i&&i.transitioning)return;n.collapse("hide"),i||n.data("bs.collapse",null)}var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("in")[r]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return o.call(this);var a=t.camelCase(["scroll",r].join("-"));this.$element.one(t.support.transition.end,t.proxy(o,this)).emulateTransitionEnd(350)[r](this.$element[0][a])}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return t.support.transition?void this.$element[n](0).one(t.support.transition.end,t.proxy(i,this)).emulateTransitionEnd(350):i.call(this)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var n=t.fn.collapse;t.fn.collapse=function(n){return this.each(function(){var i=t(this),r=i.data("bs.collapse"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);r||i.data("bs.collapse",r=new e(this,o)),"string"==typeof n&&r[n]()})},t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(e){var n,i=t(this),r=i.attr("data-target")||e.preventDefault()||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""),o=t(r),a=o.data("bs.collapse"),s=a?"toggle":i.data(),l=i.attr("data-parent"),u=l&&t(l);a&&a.transitioning||(u&&u.find('[data-toggle=collapse][data-parent="'+l+'"]').not(i).addClass("collapsed"),i[o.hasClass("in")?"addClass":"removeClass"]("collapsed")),o.collapse(s)})}(jQuery),+function(t){"use strict";function e(){t(i).remove(),t(r).each(function(e){var i=n(t(this));i.hasClass("open")&&(i.trigger(e=t.Event("hide.bs.dropdown")),e.isDefaultPrevented()||i.removeClass("open").trigger("hidden.bs.dropdown"))})}function n(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}var i=".dropdown-backdrop",r="[data-toggle=dropdown]",o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var o=n(r),a=o.hasClass("open");if(e(),!a){if("ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e),o.trigger(i=t.Event("show.bs.dropdown")),i.isDefaultPrevented())return;o.toggleClass("open").trigger("shown.bs.dropdown"),r.focus()}return!1}},o.prototype.keydown=function(e){if(/(38|40|27)/.test(e.keyCode)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var o=n(i),a=o.hasClass("open");if(!a||a&&27==e.keyCode)return 27==e.which&&o.find(r).focus(),i.click();var s=t("[role=menu] li:not(.divider):visible a",o);if(s.length){var l=s.index(s.filter(":focus"));38==e.keyCode&&l>0&&l--,40==e.keyCode&&l<s.length-1&&l++,~l||(l=0),s.eq(l).focus()}}}};var a=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),i=n.data("dropdown");i||n.data("dropdown",i=new o(this)),"string"==typeof e&&i[e].call(n)})},t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,o.prototype.toggle).on("keydown.bs.dropdown.data-api",r+", [role=menu]",o.prototype.keydown)}(jQuery),+function(t){"use strict";var e=function(e,n){this.options=n,this.$element=t(e),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this[this.isShown?"hide":"show"](t)},e.prototype.show=function(e){var n=this,i=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.backdrop(function(){var i=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(document.body),n.$element.show(),i&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});i?n.$element.find(".modal-dialog").one(t.support.transition.end,function(){n.$element.focus().trigger(r)}).emulateTransitionEnd(300):n.$element.focus().trigger(r)}))},e.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one(t.support.transition.end,t.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.focus()},this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger("hidden.bs.modal")})},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(e){var n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=t.support.transition&&n;if(this.$backdrop=t('<div class="modal-backdrop '+n+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",t.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;i?this.$backdrop.one(t.support.transition.end,e).emulateTransitionEnd(150):e()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(t.support.transition.end,e).emulateTransitionEnd(150):e()):e&&e()};var n=t.fn.modal;t.fn.modal=function(n,i){return this.each(function(){var r=t(this),o=r.data("bs.modal"),a=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n);o||r.data("bs.modal",o=new e(this,a)),"string"==typeof n?o[n](i):a.show&&o.show(i)})},t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var n=t(this),i=n.attr("href"),r=t(n.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),o=r.data("modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},r.data(),n.data());e.preventDefault(),r.modal(o,this).one("hide",function(){n.is(":visible")&&n.focus()})}),t(document).on("show.bs.modal",".modal",function(){t(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){t(document.body).removeClass("modal-open")})}(jQuery),+function(t){"use strict";var e=function(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)};e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.prototype.init=function(e,n,i){this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i);for(var r=this.options.trigger.split(" "),o=r.length;o--;){var a=r[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focus",l="hover"==a?"mouseleave":"blur";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},e.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show()},e.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},e.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(e),e.isDefaultPrevented())return;var n=this.tip();this.setContent(),this.options.animation&&n.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,r=/\s?auto?\s?/i,o=r.test(i);o&&(i=i.replace(r,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(i),this.options.container?n.appendTo(this.options.container):n.insertAfter(this.$element);var a=this.getPosition(),s=n[0].offsetWidth,l=n[0].offsetHeight;if(o){var u=this.$element.parent(),c=i,h=document.documentElement.scrollTop||document.body.scrollTop,d="body"==this.options.container?window.innerWidth:u.outerWidth(),f="body"==this.options.container?window.innerHeight:u.outerHeight(),p="body"==this.options.container?0:u.offset().left;i="bottom"==i&&a.top+a.height+l-h>f?"top":"top"==i&&a.top-h-l<0?"bottom":"right"==i&&a.right+s>d?"left":"left"==i&&a.left-s<p?"right":i,n.removeClass(c).addClass(i)}var g=this.getCalculatedOffset(i,a,s,l);this.applyPlacement(g,i),this.$element.trigger("shown.bs."+this.type)}},e.prototype.applyPlacement=function(t,e){var n,i=this.tip(),r=i[0].offsetWidth,o=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top=t.top+a,t.left=t.left+s,i.offset(t).addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;if("top"==e&&u!=o&&(n=!0,t.top=t.top+o-u),/bottom|top/.test(e)){var c=0;t.left<0&&(c=-2*t.left,t.left=0,i.offset(t),l=i[0].offsetWidth,u=i[0].offsetHeight),this.replaceArrow(c-r+l,l,"left")}else this.replaceArrow(u-o,u,"top");n&&i.offset(t)},e.prototype.replaceArrow=function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(){function e(){"in"!=n.hoverState&&i.detach()}var n=this,i=this.tip(),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(i.removeClass("in"),t.support.transition&&this.$tip.hasClass("fade")?i.one(t.support.transition.end,e).emulateTransitionEnd(150):e(),this.$element.trigger("hidden.bs."+this.type),this)},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(){var e=this.$element[0];return t.extend({},"function"==typeof e.getBoundingClientRect?e.getBoundingClientRect():{width:e.offsetWidth,height:e.offsetHeight},this.$element.offset())},e.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},e.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var n=e?t(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;n.tip().hasClass("in")?n.leave(n):n.enter(n)},e.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var n=t.fn.tooltip;t.fn.tooltip=function(n){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),o="object"==typeof n&&n;r||i.data("bs.tooltip",r=new e(this,o)),"string"==typeof n&&r[n]()})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),+function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content")[this.options.html?"html":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},e.prototype.tip=function(){return this.$tip||(this.$tip=t(this.options.template)),this.$tip};var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var i=t(this),r=i.data("bs.popover"),o="object"==typeof n&&n;r||i.data("bs.popover",r=new e(this,o)),"string"==typeof n&&r[n]()})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),+function(t){"use strict";function e(n,i){var r,o=t.proxy(this.process,this);this.$element=t(t(n).is("body")?window:n),this.$body=t("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",o),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||(r=t(n).attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=t([]),this.targets=t([]),this.activeTarget=null,this.refresh(),this.process()}e.DEFAULTS={offset:10},e.prototype.refresh=function(){var e=this.$element[0]==window?"offset":"position";this.offsets=t([]),this.targets=t([]);var n=this;this.$body.find(this.selector).map(function(){var i=t(this),r=i.data("target")||i.attr("href"),o=/^#\w/.test(r)&&t(r);return o&&o.length&&[[o[e]().top+(!t.isWindow(n.$scrollElement.get(0))&&n.$scrollElement.scrollTop()),r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,i=n-this.$scrollElement.height(),r=this.offsets,o=this.targets,a=this.activeTarget;if(e>=i)return a!=(t=o.last()[0])&&this.activate(t);for(t=r.length;t--;)a!=o[t]&&e>=r[t]&&(!r[t+1]||e<=r[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,t(this.selector).parents(".active").removeClass("active");var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate")};var n=t.fn.scrollspy;t.fn.scrollspy=function(n){return this.each(function(){var i=t(this),r=i.data("bs.scrollspy"),o="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,o)),"string"==typeof n&&r[n]()})},t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);e.scrollspy(e.data())})})}(jQuery),+function(t){"use strict";var e=function(e){this.element=t(e)};e.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a")[0],o=t.Event("show.bs.tab",{relatedTarget:r});if(e.trigger(o),!o.isDefaultPrevented()){var a=t(i);this.activate(e.parent("li"),n),this.activate(a,a.parent(),function(){e.trigger({type:"shown.bs.tab",relatedTarget:r})})}}},e.prototype.activate=function(e,n,i){function r(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),e.addClass("active"),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu")&&e.closest("li.dropdown").addClass("active"),i&&i()}var o=n.find("> .active"),a=i&&t.support.transition&&o.hasClass("fade");a?o.one(t.support.transition.end,r).emulateTransitionEnd(150):r(),o.removeClass("in")};var n=t.fn.tab;t.fn.tab=function(n){return this.each(function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new e(this)),"string"==typeof n&&r[n]()})},t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=n,this},t(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault(),t(this).tab("show")})}(jQuery),+function(t){"use strict";var e=function(n,i){this.options=t.extend({},e.DEFAULTS,i),this.$window=t(window).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=this.unpin=null,this.checkPosition()};e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=t(document).height(),i=this.$window.scrollTop(),r=this.$element.offset(),o=this.options.offset,a=o.top,s=o.bottom;"object"!=typeof o&&(s=a=o),"function"==typeof a&&(a=o.top()),"function"==typeof s&&(s=o.bottom());var l=!(null!=this.unpin&&i+this.unpin<=r.top)&&(null!=s&&r.top+this.$element.height()>=n-s?"bottom":null!=a&&a>=i&&"top");this.affixed!==l&&(this.unpin&&this.$element.css("top",""),this.affixed=l,this.unpin="bottom"==l?r.top-i:null,this.$element.removeClass(e.RESET).addClass("affix"+(l?"-"+l:"")),"bottom"==l&&this.$element.offset({top:document.body.offsetHeight-s-this.$element.height()}))}};var n=t.fn.affix;t.fn.affix=function(n){return this.each(function(){var i=t(this),r=i.data("bs.affix"),o="object"==typeof n&&n;r||i.data("bs.affix",r=new e(this,o)),"string"==typeof n&&r[n]()})},t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),n=e.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),e.affix(n)})})}(jQuery),!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return En.apply(null,arguments)}function e(t){En=t}function n(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t,e){for(var n in e)o(e,n)&&(t[n]=e[n]);return o(e,"toString")&&(t.toString=e.toString),o(e,"valueOf")&&(t.valueOf=e.valueOf),t}function s(t,e,n,i){return Mt(t,e,n,i,!0).utc()}function l(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function u(t){return null==t._pf&&(t._pf=l()),t._pf}function c(t){if(null==t._isValid){var e=u(t);t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function h(t){var e=s(NaN);return null!=t?a(u(e),t):u(e).userInvalidated=!0,e}function d(t,e){var n,i,r;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=u(e)),"undefined"!=typeof e._locale&&(t._locale=e._locale),On.length>0)for(n in On)i=On[n],r=e[i],"undefined"!=typeof r&&(t[i]=r);return t}function f(e){d(this,e),this._d=new Date((+e._d)),Ln===!1&&(Ln=!0,t.updateOffset(this),Ln=!1)}function p(t){return t instanceof f||null!=t&&null!=t._isAMomentObject}function g(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function m(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(i=0;r>i;i++)(n&&t[i]!==e[i]||!n&&g(t[i])!==g(e[i]))&&a++;return a+o}function v(){}function y(t){return t?t.toLowerCase().replace("_","-"):t}function b(t){for(var e,n,i,r,o=0;o<t.length;){for(r=y(t[o]).split("-"),e=r.length,n=y(t[o+1]),n=n?n.split("-"):null;e>0;){if(i=x(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&m(r,n,!0)>=e-1)break;e--}o++}return null}function x(t){var e=null;if(!Nn[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=Pn._abbr,require("./locale/"+t),w(e)}catch(t){}return Nn[t]}function w(t,e){var n;return t&&(n="undefined"==typeof e?_(t):S(t,e),n&&(Pn=n)),Pn._abbr}function S(t,e){return null!==e?(e.abbr=t,Nn[t]||(Nn[t]=new v),Nn[t].set(e),w(t),Nn[t]):(delete Nn[t],null)}function _(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Pn;if(!n(t)){if(e=x(t))return e;t=[t]}return b(t)}function C(t,e){var n=t.toLowerCase();In[n]=In[n+"s"]=In[e]=t}function M(t){return"string"==typeof t?In[t]||In[t.toLowerCase()]:void 0}function k(t){var e,n,i={};for(n in t)o(t,n)&&(e=M(n),e&&(i[e]=t[n]));return i}function T(e,n){return function(i){return null!=i?(A(this,e,i),t.updateOffset(this,n),this):D(this,e)}}function D(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function A(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function E(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=M(t),"function"==typeof this[t])return this[t](e);return this}function P(t,e,n){for(var i=""+Math.abs(t),r=t>=0;i.length<e;)i="0"+i;return(r?n?"+":"":"-")+i}function O(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Hn[t]=r),e&&(Hn[e[0]]=function(){return P(r.apply(this,arguments),e[1],e[2])}),n&&(Hn[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function L(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function N(t){var e,n,i=t.match(jn);for(e=0,n=i.length;n>e;e++)Hn[i[e]]?i[e]=Hn[i[e]]:i[e]=L(i[e]);return function(r){var o="";for(e=0;n>e;e++)o+=i[e]instanceof Function?i[e].call(r,t):i[e];return o}}function I(t,e){return t.isValid()?(e=j(e,t.localeData()),Rn[e]||(Rn[e]=N(e)),Rn[e](t)):t.localeData().invalidDate()}function j(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Fn.lastIndex=0;i>=0&&Fn.test(t);)t=t.replace(Fn,n),Fn.lastIndex=0,i-=1;return t}function F(t,e,n){ti[t]="function"==typeof e?e:function(t){return t&&n?n:e}}function R(t,e){return o(ti,t)?ti[t](e._strict,e._locale):new RegExp(H(t))}function H(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function z(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=g(t)}),n=0;n<t.length;n++)ei[t[n]]=i}function B(t,e){z(t,function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)})}function W(t,e,n){null!=e&&o(ei,t)&&ei[t](e,n._a,n,t)}function $(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function U(t){return this._months[t.month()]}function q(t){return this._monthsShort[t.month()]}function Y(t,e,n){var i,r,o;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(r=s([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function G(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),$(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function X(e){return null!=e?(G(this,e),t.updateOffset(this,!0),this):D(this,"Month")}function V(){return $(this.year(),this.month())}function Z(t){var e,n=t._a;return n&&-2===u(t).overflow&&(e=n[ii]<0||n[ii]>11?ii:n[ri]<1||n[ri]>$(n[ni],n[ii])?ri:n[oi]<0||n[oi]>24||24===n[oi]&&(0!==n[ai]||0!==n[si]||0!==n[li])?oi:n[ai]<0||n[ai]>59?ai:n[si]<0||n[si]>59?si:n[li]<0||n[li]>999?li:-1,u(t)._overflowDayOfYear&&(ni>e||e>ri)&&(e=ri),u(t).overflow=e),t}function K(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function J(t,e){var n=!0,i=t+"\n"+(new Error).stack;return a(function(){return n&&(K(i),n=!1),e.apply(this,arguments)},e)}function Q(t,e){hi[t]||(K(e),hi[t]=!0)}function tt(t){var e,n,i=t._i,r=di.exec(i);if(r){for(u(t).iso=!0,e=0, 5 n=fi.length;n>e;e++)if(fi[e][1].exec(i)){t._f=fi[e][0]+(r[6]||" ");break}for(e=0,n=pi.length;n>e;e++)if(pi[e][1].exec(i)){t._f+=pi[e][0];break}i.match(Kn)&&(t._f+="Z"),bt(t)}else t._isValid=!1}function et(e){var n=gi.exec(e._i);return null!==n?void(e._d=new Date((+n[1]))):(tt(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function nt(t,e,n,i,r,o,a){var s=new Date(t,e,n,i,r,o,a);return 1970>t&&s.setFullYear(t),s}function it(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function rt(t){return ot(t)?366:365}function ot(t){return t%4===0&&t%100!==0||t%400===0}function at(){return ot(this.year())}function st(t,e,n){var i,r=n-e,o=n-t.day();return o>r&&(o-=7),r-7>o&&(o+=7),i=kt(t).add(o,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function lt(t){return st(t,this._week.dow,this._week.doy).week}function ut(){return this._week.dow}function ct(){return this._week.doy}function ht(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function dt(t){var e=st(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function ft(t,e,n,i,r){var o,a,s=it(t,0,1).getUTCDay();return s=0===s?7:s,n=null!=n?n:r,o=r-s+(s>i?7:0)-(r>s?7:0),a=7*(e-1)+(n-r)+o+1,{year:a>0?t:t-1,dayOfYear:a>0?a:rt(t-1)+a}}function pt(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function gt(t,e,n){return null!=t?t:null!=e?e:n}function mt(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function vt(t){var e,n,i,r,o=[];if(!t._d){for(i=mt(t),t._w&&null==t._a[ri]&&null==t._a[ii]&&yt(t),t._dayOfYear&&(r=gt(t._a[ni],i[ni]),t._dayOfYear>rt(r)&&(u(t)._overflowDayOfYear=!0),n=it(r,0,t._dayOfYear),t._a[ii]=n.getUTCMonth(),t._a[ri]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;7>e;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[oi]&&0===t._a[ai]&&0===t._a[si]&&0===t._a[li]&&(t._nextDay=!0,t._a[oi]=0),t._d=(t._useUTC?it:nt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[oi]=24)}}function yt(t){var e,n,i,r,o,a,s;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,a=4,n=gt(e.GG,t._a[ni],st(kt(),1,4).year),i=gt(e.W,1),r=gt(e.E,1)):(o=t._locale._week.dow,a=t._locale._week.doy,n=gt(e.gg,t._a[ni],st(kt(),o,a).year),i=gt(e.w,1),null!=e.d?(r=e.d,o>r&&++i):r=null!=e.e?e.e+o:o),s=ft(n,i,r,a,o),t._a[ni]=s.year,t._dayOfYear=s.dayOfYear}function bt(e){if(e._f===t.ISO_8601)return void tt(e);e._a=[],u(e).empty=!0;var n,i,r,o,a,s=""+e._i,l=s.length,c=0;for(r=j(e._f,e._locale).match(jn)||[],n=0;n<r.length;n++)o=r[n],i=(s.match(R(o,e))||[])[0],i&&(a=s.substr(0,s.indexOf(i)),a.length>0&&u(e).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),c+=i.length),Hn[o]?(i?u(e).empty=!1:u(e).unusedTokens.push(o),W(o,i,e)):e._strict&&!i&&u(e).unusedTokens.push(o);u(e).charsLeftOver=l-c,s.length>0&&u(e).unusedInput.push(s),u(e).bigHour===!0&&e._a[oi]<=12&&e._a[oi]>0&&(u(e).bigHour=void 0),e._a[oi]=xt(e._locale,e._a[oi],e._meridiem),vt(e),Z(e)}function xt(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&12>e&&(e+=12),i||12!==e||(e=0),e):e}function wt(t){var e,n,i,r,o;if(0===t._f.length)return u(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)o=0,e=d({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],bt(e),c(e)&&(o+=u(e).charsLeftOver,o+=10*u(e).unusedTokens.length,u(e).score=o,(null==i||i>o)&&(i=o,n=e));a(t,n||e)}function St(t){if(!t._d){var e=k(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],vt(t)}}function _t(t){var e,r=t._i,o=t._f;return t._locale=t._locale||_(t._l),null===r||void 0===o&&""===r?h({nullInput:!0}):("string"==typeof r&&(t._i=r=t._locale.preparse(r)),p(r)?new f(Z(r)):(n(o)?wt(t):o?bt(t):i(r)?t._d=r:Ct(t),e=new f(Z(t)),e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e))}function Ct(e){var o=e._i;void 0===o?e._d=new Date:i(o)?e._d=new Date((+o)):"string"==typeof o?et(e):n(o)?(e._a=r(o.slice(0),function(t){return parseInt(t,10)}),vt(e)):"object"==typeof o?St(e):"number"==typeof o?e._d=new Date(o):t.createFromInputFallback(e)}function Mt(t,e,n,i,r){var o={};return"boolean"==typeof n&&(i=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,_t(o)}function kt(t,e,n,i){return Mt(t,e,n,i,!1)}function Tt(t,e){var i,r;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return kt();for(i=e[0],r=1;r<e.length;++r)e[r][t](i)&&(i=e[r]);return i}function Dt(){var t=[].slice.call(arguments,0);return Tt("isBefore",t)}function At(){var t=[].slice.call(arguments,0);return Tt("isAfter",t)}function Et(t){var e=k(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+36e5*s,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=_(),this._bubble()}function Pt(t){return t instanceof Et}function Ot(t,e){O(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+P(~~(t/60),2)+e+P(~~t%60,2)})}function Lt(t){var e=(t||"").match(Kn)||[],n=e[e.length-1]||[],i=(n+"").match(xi)||["-",0,0],r=+(60*i[1])+g(i[2]);return"+"===i[0]?r:-r}function Nt(e,n){var r,o;return n._isUTC?(r=n.clone(),o=(p(e)||i(e)?+e:+kt(e))-+r,r._d.setTime(+r._d+o),t.updateOffset(r,!1),r):kt(e).local()}function It(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function jt(e,n){var i,r=this._offset||0;return null!=e?("string"==typeof e&&(e=Lt(e)),Math.abs(e)<16&&(e=60*e),!this._isUTC&&n&&(i=It(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!n||this._changeInProgress?Jt(this,Gt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:It(this)}function Ft(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Rt(t){return this.utcOffset(0,t)}function Ht(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(It(this),"m")),this}function zt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Lt(this._i)),this}function Bt(t){return t=t?kt(t).utcOffset():0,(this.utcOffset()-t)%60===0}function Wt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $t(){if(this._a){var t=this._isUTC?s(this._a):kt(this._a);return this.isValid()&&m(this._a,t.toArray())>0}return!1}function Ut(){return!this._isUTC}function qt(){return this._isUTC}function Yt(){return this._isUTC&&0===this._offset}function Gt(t,e){var n,i,r,a=t,s=null;return Pt(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(a={},e?a[e]=t:a.milliseconds=t):(s=wi.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:g(s[ri])*n,h:g(s[oi])*n,m:g(s[ai])*n,s:g(s[si])*n,ms:g(s[li])*n}):(s=Si.exec(t))?(n="-"===s[1]?-1:1,a={y:Xt(s[2],n),M:Xt(s[3],n),d:Xt(s[4],n),h:Xt(s[5],n),m:Xt(s[6],n),s:Xt(s[7],n),w:Xt(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=Zt(kt(a.from),kt(a.to)),a={},a.ms=r.milliseconds,a.M=r.months),i=new Et(a),Pt(t)&&o(t,"_locale")&&(i._locale=t._locale),i}function Xt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Vt(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Zt(t,e){var n;return e=Nt(e,t),t.isBefore(e)?n=Vt(t,e):(n=Vt(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function Kt(t,e){return function(n,i){var r,o;return null===i||isNaN(+i)||(Q(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),o=n,n=i,i=o),n="string"==typeof n?+n:n,r=Gt(n,i),Jt(this,r,t),this}}function Jt(e,n,i,r){var o=n._milliseconds,a=n._days,s=n._months;r=null==r||r,o&&e._d.setTime(+e._d+o*i),a&&A(e,"Date",D(e,"Date")+a*i),s&&G(e,D(e,"Month")+s*i),r&&t.updateOffset(e,a||s)}function Qt(t){var e=t||kt(),n=Nt(e,this).startOf("day"),i=this.diff(n,"days",!0),r=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse";return this.format(this.localeData().calendar(r,this,kt(e)))}function te(){return new f(this)}function ee(t,e){var n;return e=M("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=p(t)?t:kt(t),+this>+t):(n=p(t)?+t:+kt(t),n<+this.clone().startOf(e))}function ne(t,e){var n;return e=M("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=p(t)?t:kt(t),+t>+this):(n=p(t)?+t:+kt(t),+this.clone().endOf(e)<n)}function ie(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function re(t,e){var n;return e=M(e||"millisecond"),"millisecond"===e?(t=p(t)?t:kt(t),+this===+t):(n=+kt(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function oe(t){return 0>t?Math.ceil(t):Math.floor(t)}function ae(t,e,n){var i,r,o=Nt(t,this),a=6e4*(o.utcOffset()-this.utcOffset());return e=M(e),"year"===e||"month"===e||"quarter"===e?(r=se(this,o),"quarter"===e?r/=3:"year"===e&&(r/=12)):(i=this-o,r="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-a)/864e5:"week"===e?(i-a)/6048e5:i),n?r:oe(r)}function se(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(r,"months");return 0>e-o?(n=t.clone().add(r-1,"months"),i=(e-o)/(o-n)):(n=t.clone().add(r+1,"months"),i=(e-o)/(n-o)),-(r+i)}function le(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ue(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():I(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):I(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ce(e){var n=I(this,e||t.defaultFormat);return this.localeData().postformat(n)}function he(t,e){return this.isValid()?Gt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function de(t){return this.from(kt(),t)}function fe(t,e){return this.isValid()?Gt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function pe(t){return this.to(kt(),t)}function ge(t){var e;return void 0===t?this._locale._abbr:(e=_(t),null!=e&&(this._locale=e),this)}function me(){return this._locale}function ve(t){switch(t=M(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function ye(t){return t=M(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function be(){return+this._d-6e4*(this._offset||0)}function xe(){return Math.floor(+this/1e3)}function we(){return this._offset?new Date((+this)):this._d}function Se(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function _e(){return c(this)}function Ce(){return a({},u(this))}function Me(){return u(this).overflow}function ke(t,e){O(0,[t,t.length],0,e)}function Te(t,e,n){return st(kt([t,11,31+e-n]),e,n).week}function De(t){var e=st(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function Ae(t){var e=st(this,1,4).year;return null==t?e:this.add(t-e,"y")}function Ee(){return Te(this.year(),1,4)}function Pe(){var t=this.localeData()._week;return Te(this.year(),t.dow,t.doy)}function Oe(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Le(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function Ne(t){return this._weekdays[t.day()]}function Ie(t){return this._weekdaysShort[t.day()]}function je(t){return this._weekdaysMin[t.day()]}function Fe(t){var e,n,i;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e++)if(this._weekdaysParse[e]||(n=kt([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function Re(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Le(t,this.localeData()),this.add(t-e,"d")):e}function He(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function ze(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function Be(t,e){O(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function We(t,e){return e._meridiemParse}function $e(t){return"p"===(t+"").toLowerCase().charAt(0)}function Ue(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function qe(t){O(0,[t,3],0,"millisecond")}function Ye(){return this._isUTC?"UTC":""}function Ge(){return this._isUTC?"Coordinated Universal Time":""}function Xe(t){return kt(1e3*t)}function Ve(){return kt.apply(null,arguments).parseZone()}function Ze(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function Ke(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e}function Je(){return this._invalidDate}function Qe(t){return this._ordinal.replace("%d",t)}function tn(t){return t}function en(t,e,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)}function nn(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function rn(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function on(t,e,n,i){var r=_(),o=s().set(i,e);return r[n](o,t)}function an(t,e,n,i,r){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return on(t,e,n,r);var o,a=[];for(o=0;i>o;o++)a[o]=on(t,o,n,r);return a}function sn(t,e){return an(t,e,"months",12,"month")}function ln(t,e){return an(t,e,"monthsShort",12,"month")}function un(t,e){return an(t,e,"weekdays",7,"day")}function cn(t,e){return an(t,e,"weekdaysShort",7,"day")}function hn(t,e){return an(t,e,"weekdaysMin",7,"day")}function dn(){var t=this._data;return this._milliseconds=Ui(this._milliseconds),this._days=Ui(this._days),this._months=Ui(this._months),t.milliseconds=Ui(t.milliseconds),t.seconds=Ui(t.seconds),t.minutes=Ui(t.minutes),t.hours=Ui(t.hours),t.months=Ui(t.months),t.years=Ui(t.years),this}function fn(t,e,n,i){var r=Gt(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function pn(t,e){return fn(this,t,e,1)}function gn(t,e){return fn(this,t,e,-1)}function mn(){var t,e,n,i=this._milliseconds,r=this._days,o=this._months,a=this._data,s=0;return a.milliseconds=i%1e3,t=oe(i/1e3),a.seconds=t%60,e=oe(t/60),a.minutes=e%60,n=oe(e/60),a.hours=n%24,r+=oe(n/24),s=oe(vn(r)),r-=oe(yn(s)),o+=oe(r/30),r%=30,s+=oe(o/12),o%=12,a.days=r,a.months=o,a.years=s,this}function vn(t){return 400*t/146097}function yn(t){return 146097*t/400}function bn(t){var e,n,i=this._milliseconds;if(t=M(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+12*vn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(yn(this._months/12)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12)}function wn(t){return function(){return this.as(t)}}function Sn(t){return t=M(t),this[t+"s"]()}function _n(t){return function(){return this._data[t]}}function Cn(){return oe(this.days()/7)}function Mn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function kn(t,e,n){var i=Gt(t).abs(),r=ar(i.as("s")),o=ar(i.as("m")),a=ar(i.as("h")),s=ar(i.as("d")),l=ar(i.as("M")),u=ar(i.as("y")),c=r<sr.s&&["s",r]||1===o&&["m"]||o<sr.m&&["mm",o]||1===a&&["h"]||a<sr.h&&["hh",a]||1===s&&["d"]||s<sr.d&&["dd",s]||1===l&&["M"]||l<sr.M&&["MM",l]||1===u&&["y"]||["yy",u];return c[2]=e,c[3]=+t>0,c[4]=n,Mn.apply(null,c)}function Tn(t,e){return void 0!==sr[t]&&(void 0===e?sr[t]:(sr[t]=e,!0))}function Dn(t){var e=this.localeData(),n=kn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function An(){var t=lr(this.years()),e=lr(this.months()),n=lr(this.days()),i=lr(this.hours()),r=lr(this.minutes()),o=lr(this.seconds()+this.milliseconds()/1e3),a=this.asSeconds();return a?(0>a?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(i||r||o?"T":"")+(i?i+"H":"")+(r?r+"M":"")+(o?o+"S":""):"P0D"}var En,Pn,On=t.momentProperties=[],Ln=!1,Nn={},In={},jn=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,Fn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Rn={},Hn={},zn=/\d/,Bn=/\d\d/,Wn=/\d{3}/,$n=/\d{4}/,Un=/[+-]?\d{6}/,qn=/\d\d?/,Yn=/\d{1,3}/,Gn=/\d{1,4}/,Xn=/[+-]?\d{1,6}/,Vn=/\d+/,Zn=/[+-]?\d+/,Kn=/Z|[+-]\d\d:?\d\d/gi,Jn=/[+-]?\d+(\.\d{1,3})?/,Qn=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ti={},ei={},ni=0,ii=1,ri=2,oi=3,ai=4,si=5,li=6;O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),O("MMMM",0,0,function(t){return this.localeData().months(this,t)}),C("month","M"),F("M",qn),F("MM",qn,Bn),F("MMM",Qn),F("MMMM",Qn),z(["M","MM"],function(t,e){e[ii]=g(t)-1}),z(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[ii]=r:u(n).invalidMonth=t});var ui="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ci="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),hi={};t.suppressDeprecationWarnings=!1;var di=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],pi=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],gi=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=J("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),C("year","y"),F("Y",Zn),F("YY",qn,Bn),F("YYYY",Gn,$n),F("YYYYY",Xn,Un),F("YYYYYY",Xn,Un),z(["YYYY","YYYYY","YYYYYY"],ni),z("YY",function(e,n){n[ni]=t.parseTwoDigitYear(e)}),t.parseTwoDigitYear=function(t){return g(t)+(g(t)>68?1900:2e3)};var mi=T("FullYear",!1);O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),C("week","w"),C("isoWeek","W"),F("w",qn),F("ww",qn,Bn),F("W",qn),F("WW",qn,Bn),B(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=g(t)});var vi={dow:0,doy:6};O("DDD",["DDDD",3],"DDDo","dayOfYear"),C("dayOfYear","DDD"),F("DDD",Yn),F("DDDD",Wn),z(["DDD","DDDD"],function(t,e,n){n._dayOfYear=g(t)}),t.ISO_8601=function(){};var yi=J("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=kt.apply(null,arguments);return this>t?this:t}),bi=J("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=kt.apply(null,arguments);return t>this?this:t});Ot("Z",":"),Ot("ZZ",""),F("Z",Kn),F("ZZ",Kn),z(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Lt(t)});var xi=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var wi=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Si=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Gt.fn=Et.prototype;var _i=Kt(1,"add"),Ci=Kt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Mi=J("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ke("gggg","weekYear"),ke("ggggg","weekYear"),ke("GGGG","isoWeekYear"),ke("GGGGG","isoWeekYear"),C("weekYear","gg"),C("isoWeekYear","GG"),F("G",Zn),F("g",Zn),F("GG",qn,Bn),F("gg",qn,Bn),F("GGGG",Gn,$n),F("gggg",Gn,$n),F("GGGGG",Xn,Un),F("ggggg",Xn,Un),B(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=g(t)}),B(["gg","GG"],function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)}),O("Q",0,0,"quarter"),C("quarter","Q"),F("Q",zn),z("Q",function(t,e){e[ii]=3*(g(t)-1)}),O("D",["DD",2],"Do","date"),C("date","D"),F("D",qn),F("DD",qn,Bn),F("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),z(["D","DD"],ri),z("Do",function(t,e){e[ri]=g(t.match(qn)[0],10)});var ki=T("Date",!0);O("d",0,"do","day"),O("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),O("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),O("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),C("day","d"),C("weekday","e"),C("isoWeekday","E"),F("d",qn),F("e",qn),F("E",qn),F("dd",Qn),F("ddd",Qn),F("dddd",Qn),B(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:u(n).invalidWeekday=t}),B(["d","e","E"],function(t,e,n,i){e[i]=g(t)});var Ti="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Di="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ai="Su_Mo_Tu_We_Th_Fr_Sa".split("_");O("H",["HH",2],0,"hour"),O("h",["hh",2],0,function(){return this.hours()%12||12}),Be("a",!0),Be("A",!1),C("hour","h"),F("a",We),F("A",We),F("H",qn),F("h",qn),F("HH",qn,Bn),F("hh",qn,Bn),z(["H","HH"],oi),z(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),z(["h","hh"],function(t,e,n){e[oi]=g(t),u(n).bigHour=!0});var Ei=/[ap]\.?m?\.?/i,Pi=T("Hours",!0);O("m",["mm",2],0,"minute"),C("minute","m"),F("m",qn),F("mm",qn,Bn),z(["m","mm"],ai);var Oi=T("Minutes",!1);O("s",["ss",2],0,"second"),C("second","s"),F("s",qn),F("ss",qn,Bn),z(["s","ss"],si);var Li=T("Seconds",!1);O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),qe("SSS"),qe("SSSS"),C("millisecond","ms"),F("S",Yn,zn),F("SS",Yn,Bn),F("SSS",Yn,Wn),F("SSSS",Vn),z(["S","SS","SSS","SSSS"],function(t,e){e[li]=g(1e3*("0."+t))});var Ni=T("Milliseconds",!1);O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");var Ii=f.prototype;Ii.add=_i,Ii.calendar=Qt,Ii.clone=te,Ii.diff=ae,Ii.endOf=ye,Ii.format=ce,Ii.from=he,Ii.fromNow=de,Ii.to=fe,Ii.toNow=pe,Ii.get=E,Ii.invalidAt=Me,Ii.isAfter=ee,Ii.isBefore=ne,Ii.isBetween=ie,Ii.isSame=re,Ii.isValid=_e,Ii.lang=Mi,Ii.locale=ge,Ii.localeData=me,Ii.max=bi,Ii.min=yi,Ii.parsingFlags=Ce,Ii.set=E,Ii.startOf=ve,Ii.subtract=Ci,Ii.toArray=Se,Ii.toDate=we,Ii.toISOString=ue,Ii.toJSON=ue,Ii.toString=le,Ii.unix=xe,Ii.valueOf=be,Ii.year=mi,Ii.isLeapYear=at,Ii.weekYear=De,Ii.isoWeekYear=Ae,Ii.quarter=Ii.quarters=Oe,Ii.month=X,Ii.daysInMonth=V,Ii.week=Ii.weeks=ht,Ii.isoWeek=Ii.isoWeeks=dt,Ii.weeksInYear=Pe,Ii.isoWeeksInYear=Ee,Ii.date=ki,Ii.day=Ii.days=Re,Ii.weekday=He,Ii.isoWeekday=ze,Ii.dayOfYear=pt,Ii.hour=Ii.hours=Pi,Ii.minute=Ii.minutes=Oi,Ii.second=Ii.seconds=Li,Ii.millisecond=Ii.milliseconds=Ni,Ii.utcOffset=jt,Ii.utc=Rt,Ii.local=Ht,Ii.parseZone=zt,Ii.hasAlignedHourOffset=Bt,Ii.isDST=Wt,Ii.isDSTShifted=$t,Ii.isLocal=Ut,Ii.isUtcOffset=qt,Ii.isUtc=Yt,Ii.isUTC=Yt,Ii.zoneAbbr=Ye,Ii.zoneName=Ge,Ii.dates=J("dates accessor is deprecated. Use date instead.",ki),Ii.months=J("months accessor is deprecated. Use month instead",X),Ii.years=J("years accessor is deprecated. Use year instead",mi),Ii.zone=J("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ft);var ji=Ii,Fi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ri={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},Hi="Invalid date",zi="%d",Bi=/\d{1,2}/,Wi={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},$i=v.prototype;$i._calendar=Fi,$i.calendar=Ze,$i._longDateFormat=Ri,$i.longDateFormat=Ke,$i._invalidDate=Hi,$i.invalidDate=Je,$i._ordinal=zi,$i.ordinal=Qe,$i._ordinalParse=Bi,$i.preparse=tn,$i.postformat=tn,$i._relativeTime=Wi,$i.relativeTime=en,$i.pastFuture=nn,$i.set=rn,$i.months=U,$i._months=ui,$i.monthsShort=q,$i._monthsShort=ci,$i.monthsParse=Y,$i.week=lt,$i._week=vi,$i.firstDayOfYear=ct,$i.firstDayOfWeek=ut,$i.weekdays=Ne,$i._weekdays=Ti,$i.weekdaysMin=je,$i._weekdaysMin=Ai,$i.weekdaysShort=Ie,$i._weekdaysShort=Di,$i.weekdaysParse=Fe,$i.isPM=$e,$i._meridiemParse=Ei,$i.meridiem=Ue,w("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===g(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),t.lang=J("moment.lang is deprecated. Use moment.locale instead.",w),t.langData=J("moment.langData is deprecated. Use moment.localeData instead.",_);var Ui=Math.abs,qi=wn("ms"),Yi=wn("s"),Gi=wn("m"),Xi=wn("h"),Vi=wn("d"),Zi=wn("w"),Ki=wn("M"),Ji=wn("y"),Qi=_n("milliseconds"),tr=_n("seconds"),er=_n("minutes"),nr=_n("hours"),ir=_n("days"),rr=_n("months"),or=_n("years"),ar=Math.round,sr={s:45,m:45,h:22,d:26,M:11},lr=Math.abs,ur=Et.prototype;ur.abs=dn,ur.add=pn,ur.subtract=gn,ur.as=bn,ur.asMilliseconds=qi,ur.asSeconds=Yi,ur.asMinutes=Gi,ur.asHours=Xi,ur.asDays=Vi,ur.asWeeks=Zi,ur.asMonths=Ki,ur.asYears=Ji,ur.valueOf=xn,ur._bubble=mn,ur.get=Sn,ur.milliseconds=Qi,ur.seconds=tr,ur.minutes=er,ur.hours=nr,ur.days=ir,ur.weeks=Cn,ur.months=rr,ur.years=or,ur.humanize=Dn,ur.toISOString=An,ur.toString=An,ur.toJSON=An,ur.locale=ge,ur.localeData=me,ur.toIsoString=J("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",An),ur.lang=Mi,O("X",0,0,"unix"),O("x",0,0,"valueOf"),F("x",Zn),F("X",Jn),z("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),z("x",function(t,e,n){n._d=new Date(g(t))}),t.version="2.10.3",e(kt),t.fn=ji,t.min=Dt,t.max=At,t.utc=s,t.unix=Xe,t.months=sn,t.isDate=i,t.locale=w,t.invalid=h,t.duration=Gt,t.isMoment=p,t.weekdays=un,t.parseZone=Ve,t.localeData=_,t.isDuration=Pt,t.monthsShort=ln,t.weekdaysMin=hn,t.defineLocale=S,t.weekdaysShort=cn,t.normalizeUnits=M,t.relativeTimeThreshold=Tn;var cr=t;return cr}),!function(t,e){"function"==typeof define&&define.amd?define([],function(){return t.Chartist=e()}):"object"==typeof exports?module.exports=e():t.Chartist=e()}(this,function(){var t={version:"0.9.2"};return function(t,e,n){"use strict";n.noop=function(t){return t},n.alphaNumerate=function(t){return String.fromCharCode(97+t%26)},n.extend=function(t){t=t||{};var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(e){for(var i in e)"object"!=typeof e[i]||null===e[i]||e[i]instanceof Array?t[i]=e[i]:t[i]=n.extend({},t[i],e[i])}),t},n.replaceAll=function(t,e,n){return t.replace(new RegExp(e,"g"),n)},n.stripUnit=function(t){return"string"==typeof t&&(t=t.replace(/[^0-9\+-\.]/g,"")),+t},n.ensureUnit=function(t,e){return"number"==typeof t&&(t+=e),t},n.querySelector=function(t){return t instanceof Node?t:e.querySelector(t)},n.times=function(t){return Array.apply(null,new Array(t))},n.sum=function(t,e){return t+(e?e:0)},n.mapMultiply=function(t){return function(e){return e*t}},n.mapAdd=function(t){return function(e){return e+t}},n.serialMap=function(t,e){var i=[],r=Math.max.apply(null,t.map(function(t){return t.length}));return n.times(r).forEach(function(n,r){var o=t.map(function(t){return t[r]});i[r]=e.apply(null,o)}),i},n.roundWithPrecision=function(t,e){var i=Math.pow(10,e||n.precision);return Math.round(t*i)/i},n.precision=8,n.escapingMap={"&":"&","<":"<",">":">",'"':""","'":"'"},n.serialize=function(t){return null===t||void 0===t?t:("number"==typeof t?t=""+t:"object"==typeof t&&(t=JSON.stringify({data:t})),Object.keys(n.escapingMap).reduce(function(t,e){return n.replaceAll(t,e,n.escapingMap[e])},t))},n.deserialize=function(t){if("string"!=typeof t)return t;t=Object.keys(n.escapingMap).reduce(function(t,e){return n.replaceAll(t,n.escapingMap[e],e)},t);try{t=JSON.parse(t),t=void 0!==t.data?t.data:t}catch(t){}return t},n.createSvg=function(t,e,i,r){var o;return e=e||"100%",i=i||"100%",Array.prototype.slice.call(t.querySelectorAll("svg")).filter(function(t){return t.getAttributeNS("http://www.w3.org/2000/xmlns/",n.xmlNs.prefix)}).forEach(function(e){t.removeChild(e)}),o=new n.Svg("svg").attr({width:e,height:i}).addClass(r).attr({style:"width: "+e+"; height: "+i+";"}),t.appendChild(o._node),o},n.reverseData=function(t){t.labels.reverse(),t.series.reverse();for(var e=0;e<t.series.length;e++)"object"==typeof t.series[e]&&void 0!==t.series[e].data?t.series[e].data.reverse():t.series[e]instanceof Array&&t.series[e].reverse()},n.getDataArray=function(t,e,i){function r(t){if(!n.isFalseyButZero(t)){if((t.data||t)instanceof Array)return(t.data||t).map(r);if(t.hasOwnProperty("value"))return r(t.value);if(i){var e={};return"string"==typeof i?e[i]=n.getNumberOrUndefined(t):e.y=n.getNumberOrUndefined(t),e.x=t.hasOwnProperty("x")?n.getNumberOrUndefined(t.x):e.x,e.y=t.hasOwnProperty("y")?n.getNumberOrUndefined(t.y):e.y,e}return n.getNumberOrUndefined(t)}}return(e&&!t.reversed||!e&&t.reversed)&&(n.reverseData(t),t.reversed=!t.reversed),t.series.map(r)},n.normalizePadding=function(t,e){return e=e||0,"number"==typeof t?{top:t,right:t,bottom:t,left:t}:{top:"number"==typeof t.top?t.top:e,right:"number"==typeof t.right?t.right:e,bottom:"number"==typeof t.bottom?t.bottom:e,left:"number"==typeof t.left?t.left:e}},n.getMetaData=function(t,e){var i=t.data?t.data[e]:t[e];return i?n.serialize(i.meta):void 0},n.orderOfMagnitude=function(t){return Math.floor(Math.log(Math.abs(t))/Math.LN10)},n.projectLength=function(t,e,n){return e/n.range*t},n.getAvailableHeight=function(t,e){return Math.max((n.stripUnit(e.height)||t.height())-(e.chartPadding.top+e.chartPadding.bottom)-e.axisX.offset,0)},n.getHighLow=function(t,e,i){function r(t){if(void 0!==t)if(t instanceof Array)for(var e=0;e<t.length;e++)r(t[e]);else{var n=i?+t[i]:+t;a&&n>o.high&&(o.high=n),s&&n<o.low&&(o.low=n)}}e=n.extend({},e,i?e["axis"+i.toUpperCase()]:{});var o={high:void 0===e.high?-Number.MAX_VALUE:+e.high,low:void 0===e.low?Number.MAX_VALUE:+e.low},a=void 0===e.high,s=void 0===e.low;return(a||s)&&r(t),(e.referenceValue||0===e.referenceValue)&&(o.high=Math.max(e.referenceValue,o.high),o.low=Math.min(e.referenceValue,o.low)),o.high<=o.low&&(0===o.low?o.high=1:o.low<0?o.high=0:o.low=0),o},n.isNum=function(t){return!isNaN(t)&&isFinite(t)},n.isFalseyButZero=function(t){return!t&&0!==t},n.getNumberOrUndefined=function(t){return isNaN(+t)?void 0:+t},n.getMultiValue=function(t,e){return n.isNum(t)?+t:t?t[e||"y"]||0:0},n.rho=function(t){function e(t,n){return t%n===0?n:e(n,t%n)}function n(t){return t*t+1}if(1===t)return t;var i,r=2,o=2;if(t%2===0)return 2;do r=n(r)%t,o=n(n(o))%t,i=e(Math.abs(r-o),t);while(1===i);return i},n.getBounds=function(t,e,i,r){var o,a,s,l=0,u={high:e.high,low:e.low};u.valueRange=u.high-u.low, 6 u.oom=n.orderOfMagnitude(u.valueRange),u.step=Math.pow(10,u.oom),u.min=Math.floor(u.low/u.step)*u.step,u.max=Math.ceil(u.high/u.step)*u.step,u.range=u.max-u.min,u.numberOfSteps=Math.round(u.range/u.step);var c=n.projectLength(t,u.step,u),h=i>c,d=r?n.rho(u.range):0;if(r&&n.projectLength(t,1,u)>=i)u.step=1;else if(r&&d<u.step&&n.projectLength(t,d,u)>=i)u.step=d;else for(;;){if(h&&n.projectLength(t,u.step,u)<=i)u.step*=2;else{if(h||!(n.projectLength(t,u.step/2,u)>=i))break;if(u.step/=2,r&&u.step%1!==0){u.step*=2;break}}if(l++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}for(a=u.min,s=u.max;a+u.step<=u.low;)a+=u.step;for(;s-u.step>=u.high;)s-=u.step;for(u.min=a,u.max=s,u.range=u.max-u.min,u.values=[],o=u.min;o<=u.max;o+=u.step)u.values.push(n.roundWithPrecision(o));return u},n.polarToCartesian=function(t,e,n,i){var r=(i-90)*Math.PI/180;return{x:t+n*Math.cos(r),y:e+n*Math.sin(r)}},n.createChartRect=function(t,e,i){var r=!(!e.axisX&&!e.axisY),o=r?e.axisY.offset:0,a=r?e.axisX.offset:0,s=t.width()||n.stripUnit(e.width)||0,l=t.height()||n.stripUnit(e.height)||0,u=n.normalizePadding(e.chartPadding,i);s=Math.max(s,o+u.left+u.right),l=Math.max(l,a+u.top+u.bottom);var c={padding:u,width:function(){return this.x2-this.x1},height:function(){return this.y1-this.y2}};return r?("start"===e.axisX.position?(c.y2=u.top+a,c.y1=Math.max(l-u.bottom,c.y2+1)):(c.y2=u.top,c.y1=Math.max(l-u.bottom-a,c.y2+1)),"start"===e.axisY.position?(c.x1=u.left+o,c.x2=Math.max(s-u.right,c.x1+1)):(c.x1=u.left,c.x2=Math.max(s-u.right-o,c.x1+1))):(c.x1=u.left,c.x2=Math.max(s-u.right,c.x1+1),c.y2=u.top,c.y1=Math.max(l-u.bottom,c.y2+1)),c},n.createGrid=function(t,e,i,r,o,a,s,l){var u={};u[i.units.pos+"1"]=t,u[i.units.pos+"2"]=t,u[i.counterUnits.pos+"1"]=r,u[i.counterUnits.pos+"2"]=r+o;var c=a.elem("line",u,s.join(" "));l.emit("draw",n.extend({type:"grid",axis:i,index:e,group:a,element:c},u))},n.createLabel=function(t,e,i,r,o,a,s,l,u,c,h){var d,f={};if(f[o.units.pos]=t+s[o.units.pos],f[o.counterUnits.pos]=s[o.counterUnits.pos],f[o.units.len]=e,f[o.counterUnits.len]=a-10,c){var p='<span class="'+u.join(" ")+'" style="'+o.units.len+": "+Math.round(f[o.units.len])+"px; "+o.counterUnits.len+": "+Math.round(f[o.counterUnits.len])+'px">'+r[i]+"</span>";d=l.foreignObject(p,n.extend({style:"overflow: visible;"},f))}else d=l.elem("text",f,u.join(" ")).text(r[i]);h.emit("draw",n.extend({type:"label",axis:o,index:i,group:l,element:d,text:r[i]},f))},n.getSeriesOption=function(t,e,n){if(t.name&&e.series&&e.series[t.name]){var i=e.series[t.name];return i.hasOwnProperty(n)?i[n]:e[n]}return e[n]},n.optionsProvider=function(e,i,r){function o(e){var o=s;if(s=n.extend({},u),i)for(l=0;l<i.length;l++){var a=t.matchMedia(i[l][0]);a.matches&&(s=n.extend(s,i[l][1]))}r&&!e&&r.emit("optionsChanged",{previousOptions:o,currentOptions:s})}function a(){c.forEach(function(t){t.removeListener(o)})}var s,l,u=n.extend({},e),c=[];if(!t.matchMedia)throw"window.matchMedia not found! Make sure you're using a polyfill.";if(i)for(l=0;l<i.length;l++){var h=t.matchMedia(i[l][0]);h.addListener(o),c.push(h)}return o(!0),{removeMediaQueryListeners:a,getCurrentOptions:function(){return n.extend({},s)}}}}(window,document,t),function(t,e,n){"use strict";n.Interpolation={},n.Interpolation.none=function(){return function(t,e){for(var i=new n.Svg.Path,r=!0,o=1;o<t.length;o+=2){var a=e[(o-1)/2];void 0===a.value?r=!0:r?(i.move(t[o-1],t[o],!1,a),r=!1):i.line(t[o-1],t[o],!1,a)}return i}},n.Interpolation.simple=function(t){var e={divisor:2};t=n.extend({},e,t);var i=1/Math.max(1,t.divisor);return function(t,e){for(var r=new n.Svg.Path,o=!0,a=2;a<t.length;a+=2){var s=t[a-2],l=t[a-1],u=t[a],c=t[a+1],h=(u-s)*i,d=e[a/2-1],f=e[a/2];void 0===d.value?o=!0:(o&&r.move(s,l,!1,d),void 0!==f.value&&(r.curve(s+h,l,u-h,c,u,c,!1,f),o=!1))}return r}},n.Interpolation.cardinal=function(t){function e(t,e){for(var n=[],i=!0,r=0;r<t.length;r+=2)void 0===e[r/2].value?i=!0:(i&&(n.push({pathCoordinates:[],valueData:[]}),i=!1),n[n.length-1].pathCoordinates.push(t[r],t[r+1]),n[n.length-1].valueData.push(e[r/2]));return n}var i={tension:1};t=n.extend({},i,t);var r=Math.min(1,Math.max(0,t.tension)),o=1-r;return function t(i,a){var s=e(i,a);if(s.length>1){var l=[];return s.forEach(function(e){l.push(t(e.pathCoordinates,e.valueData))}),n.Svg.Path.join(l)}if(i=s[0].pathCoordinates,a=s[0].valueData,i.length<=4)return n.Interpolation.none()(i,a);for(var u,c=(new n.Svg.Path).move(i[0],i[1],!1,a[0]),h=0,d=i.length;d-2*!u>h;h+=2){var f=[{x:+i[h-2],y:+i[h-1]},{x:+i[h],y:+i[h+1]},{x:+i[h+2],y:+i[h+3]},{x:+i[h+4],y:+i[h+5]}];u?h?d-4===h?f[3]={x:+i[0],y:+i[1]}:d-2===h&&(f[2]={x:+i[0],y:+i[1]},f[3]={x:+i[2],y:+i[3]}):f[0]={x:+i[d-2],y:+i[d-1]}:d-4===h?f[3]=f[2]:h||(f[0]={x:+i[h],y:+i[h+1]}),c.curve(r*(-f[0].x+6*f[1].x+f[2].x)/6+o*f[2].x,r*(-f[0].y+6*f[1].y+f[2].y)/6+o*f[2].y,r*(f[1].x+6*f[2].x-f[3].x)/6+o*f[2].x,r*(f[1].y+6*f[2].y-f[3].y)/6+o*f[2].y,f[2].x,f[2].y,!1,a[(h+2)/2])}return c}},n.Interpolation.step=function(t){var e={postpone:!0};return t=n.extend({},e,t),function(e,i){for(var r=new n.Svg.Path,o=!0,a=2;a<e.length;a+=2){var s=e[a-2],l=e[a-1],u=e[a],c=e[a+1],h=i[a/2-1],d=i[a/2];void 0===h.value?o=!0:(o&&r.move(s,l,!1,h),void 0!==d.value&&(t.postpone?r.line(u,l,!1,h):r.line(s,c,!1,d),r.line(u,c,!1,d),o=!1))}return r}}}(window,document,t),function(t,e,n){"use strict";n.EventEmitter=function(){function t(t,e){i[t]=i[t]||[],i[t].push(e)}function e(t,e){i[t]&&(e?(i[t].splice(i[t].indexOf(e),1),0===i[t].length&&delete i[t]):delete i[t])}function n(t,e){i[t]&&i[t].forEach(function(t){t(e)}),i["*"]&&i["*"].forEach(function(n){n(t,e)})}var i=[];return{addEventHandler:t,removeEventHandler:e,emit:n}}}(window,document,t),function(t,e,n){"use strict";function i(t){var e=[];if(t.length)for(var n=0;n<t.length;n++)e.push(t[n]);return e}function r(t,e){var i=e||this.prototype||n.Class,r=Object.create(i);n.Class.cloneDefinitions(r,t);var o=function(){var t,e=r.constructor||function(){};return t=this===n?Object.create(r):this,e.apply(t,Array.prototype.slice.call(arguments,0)),t};return o.prototype=r,o.super=i,o.extend=this.extend,o}function o(){var t=i(arguments),e=t[0];return t.splice(1,t.length-1).forEach(function(t){Object.getOwnPropertyNames(t).forEach(function(n){delete e[n],Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}),e}n.Class={extend:r,cloneDefinitions:o}}(window,document,t),function(t,e,n){"use strict";function i(t,e,i){return t&&(this.data=t,this.eventEmitter.emit("data",{type:"update",data:this.data})),e&&(this.options=n.extend({},i?this.options:this.defaultOptions,e),this.initializeTimeoutId||(this.optionsProvider.removeMediaQueryListeners(),this.optionsProvider=n.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter))),this.initializeTimeoutId||this.createChart(this.optionsProvider.getCurrentOptions()),this}function r(){return this.initializeTimeoutId?t.clearTimeout(this.initializeTimeoutId):(t.removeEventListener("resize",this.resizeListener),this.optionsProvider.removeMediaQueryListeners()),this}function o(t,e){return this.eventEmitter.addEventHandler(t,e),this}function a(t,e){return this.eventEmitter.removeEventHandler(t,e),this}function s(){t.addEventListener("resize",this.resizeListener),this.optionsProvider=n.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.addEventHandler("optionsChanged",function(){this.update()}.bind(this)),this.options.plugins&&this.options.plugins.forEach(function(t){t instanceof Array?t[0](this,t[1]):t(this)}.bind(this)),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=void 0}function l(t,e,i,r,o){this.container=n.querySelector(t),this.data=e,this.defaultOptions=i,this.options=r,this.responsiveOptions=o,this.eventEmitter=n.EventEmitter(),this.supportsForeignObject=n.Svg.isSupported("Extensibility"),this.supportsAnimations=n.Svg.isSupported("AnimationEventsAttribute"),this.resizeListener=function(){this.update()}.bind(this),this.container&&(this.container.__chartist__&&this.container.__chartist__.detach(),this.container.__chartist__=this),this.initializeTimeoutId=setTimeout(s.bind(this),0)}n.Base=n.Class.extend({constructor:l,optionsProvider:void 0,container:void 0,svg:void 0,eventEmitter:void 0,createChart:function(){throw new Error("Base chart type can't be instantiated!")},update:i,detach:r,on:o,off:a,version:n.version,supportsForeignObject:!1})}(window,document,t),function(t,e,n){"use strict";function i(t,i,r,o,a){t instanceof Element?this._node=t:(this._node=e.createElementNS(M,t),"svg"===t&&this._node.setAttributeNS(k,n.xmlNs.qualifiedName,n.xmlNs.uri),i&&this.attr(i),r&&this.addClass(r),o&&(a&&o._node.firstChild?o._node.insertBefore(this._node,o._node.firstChild):o._node.appendChild(this._node)))}function r(t,e){return"string"==typeof t?e?this._node.getAttributeNS(e,t):this._node.getAttribute(t):(Object.keys(t).forEach(function(i){void 0!==t[i]&&(e?this._node.setAttributeNS(e,[n.xmlNs.prefix,":",i].join(""),t[i]):this._node.setAttribute(i,t[i]))}.bind(this)),this)}function o(t,e,i,r){return new n.Svg(t,e,i,this,r)}function a(){return this._node.parentNode instanceof SVGElement?new n.Svg(this._node.parentNode):null}function s(){for(var t=this._node;"svg"!==t.nodeName;)t=t.parentNode;return new n.Svg(t)}function l(t){var e=this._node.querySelector(t);return e?new n.Svg(e):null}function u(t){var e=this._node.querySelectorAll(t);return e.length?new n.Svg.List(e):null}function c(t,n,i,r){if("string"==typeof t){var o=e.createElement("div");o.innerHTML=t,t=o.firstChild}t.setAttribute("xmlns",T);var a=this.elem("foreignObject",n,i,r);return a._node.appendChild(t),a}function h(t){return this._node.appendChild(e.createTextNode(t)),this}function d(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this}function f(){return this._node.parentNode.removeChild(this._node),this.parent()}function p(t){return this._node.parentNode.replaceChild(t._node,this._node),t}function g(t,e){return e&&this._node.firstChild?this._node.insertBefore(t._node,this._node.firstChild):this._node.appendChild(t._node),this}function m(){return this._node.getAttribute("class")?this._node.getAttribute("class").trim().split(/\s+/):[]}function v(t){return this._node.setAttribute("class",this.classes(this._node).concat(t.trim().split(/\s+/)).filter(function(t,e,n){return n.indexOf(t)===e}).join(" ")),this}function y(t){var e=t.trim().split(/\s+/);return this._node.setAttribute("class",this.classes(this._node).filter(function(t){return-1===e.indexOf(t)}).join(" ")),this}function b(){return this._node.setAttribute("class",""),this}function x(t,e){try{return t.getBBox()[e]}catch(t){}return 0}function w(){return this._node.clientHeight||Math.round(x(this._node,"height"))||this._node.parentNode.clientHeight}function S(){return this._node.clientWidth||Math.round(x(this._node,"width"))||this._node.parentNode.clientWidth}function _(t,e,i){return void 0===e&&(e=!0),Object.keys(t).forEach(function(r){function o(t,e){var o,a,s,l={};t.easing&&(s=t.easing instanceof Array?t.easing:n.Svg.Easing[t.easing],delete t.easing),t.begin=n.ensureUnit(t.begin,"ms"),t.dur=n.ensureUnit(t.dur,"ms"),s&&(t.calcMode="spline",t.keySplines=s.join(" "),t.keyTimes="0;1"),e&&(t.fill="freeze",l[r]=t.from,this.attr(l),a=n.stripUnit(t.begin||0),t.begin="indefinite"),o=this.elem("animate",n.extend({attributeName:r},t)),e&&setTimeout(function(){try{o._node.beginElement()}catch(e){l[r]=t.to,this.attr(l),o.remove()}}.bind(this),a),i&&o._node.addEventListener("beginEvent",function(){i.emit("animationBegin",{element:this,animate:o._node,params:t})}.bind(this)),o._node.addEventListener("endEvent",function(){i&&i.emit("animationEnd",{element:this,animate:o._node,params:t}),e&&(l[r]=t.to,this.attr(l),o.remove())}.bind(this))}t[r]instanceof Array?t[r].forEach(function(t){o.bind(this)(t,!1)}.bind(this)):o.bind(this)(t[r],e)}.bind(this)),this}function C(t){var e=this;this.svgElements=[];for(var i=0;i<t.length;i++)this.svgElements.push(new n.Svg(t[i]));Object.keys(n.Svg.prototype).filter(function(t){return-1===["constructor","parent","querySelector","querySelectorAll","replace","append","classes","height","width"].indexOf(t)}).forEach(function(t){e[t]=function(){var i=Array.prototype.slice.call(arguments,0);return e.svgElements.forEach(function(e){n.Svg.prototype[t].apply(e,i)}),e}})}var M="http://www.w3.org/2000/svg",k="http://www.w3.org/2000/xmlns/",T="http://www.w3.org/1999/xhtml";n.xmlNs={qualifiedName:"xmlns:ct",prefix:"ct",uri:"http://gionkunz.github.com/chartist-js/ct"},n.Svg=n.Class.extend({constructor:i,attr:r,elem:o,parent:a,root:s,querySelector:l,querySelectorAll:u,foreignObject:c,text:h,empty:d,remove:f,replace:p,append:g,classes:m,addClass:v,removeClass:y,removeAllClasses:b,height:w,width:S,animate:_}),n.Svg.isSupported=function(t){return e.implementation.hasFeature("www.http://w3.org/TR/SVG11/feature#"+t,"1.1")};var D={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};n.Svg.Easing=D,n.Svg.List=n.Class.extend({constructor:C})}(window,document,t),function(t,e,n){"use strict";function i(t,e,i,r,o,a){var s=n.extend({command:o?t.toLowerCase():t.toUpperCase()},e,a?{data:a}:{});i.splice(r,0,s)}function r(t,e){t.forEach(function(n,i){x[n.command.toLowerCase()].forEach(function(r,o){e(n,r,i,o,t)})})}function o(t,e){this.pathElements=[],this.pos=0,this.close=t,this.options=n.extend({},w,e)}function a(t){return void 0!==t?(this.pos=Math.max(0,Math.min(this.pathElements.length,t)),this):this.pos}function s(t){return this.pathElements.splice(this.pos,t),this}function l(t,e,n,r){return i("M",{x:+t,y:+e},this.pathElements,this.pos++,n,r),this}function u(t,e,n,r){return i("L",{x:+t,y:+e},this.pathElements,this.pos++,n,r),this}function c(t,e,n,r,o,a,s,l){return i("C",{x1:+t,y1:+e,x2:+n,y2:+r,x:+o,y:+a},this.pathElements,this.pos++,s,l),this}function h(t,e,n,r,o,a,s,l,u){return i("A",{rx:+t,ry:+e,xAr:+n,lAf:+r,sf:+o,x:+a,y:+s},this.pathElements,this.pos++,l,u),this}function d(t){var e=t.replace(/([A-Za-z])([0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce(function(t,e){return e.match(/[A-Za-z]/)&&t.push([]),t[t.length-1].push(e),t},[]);"Z"===e[e.length-1][0].toUpperCase()&&e.pop();var i=e.map(function(t){var e=t.shift(),i=x[e.toLowerCase()];return n.extend({command:e},i.reduce(function(e,n,i){return e[n]=+t[i],e},{}))}),r=[this.pos,0];return Array.prototype.push.apply(r,i),Array.prototype.splice.apply(this.pathElements,r),this.pos+=i.length,this}function f(){var t=Math.pow(10,this.options.accuracy);return this.pathElements.reduce(function(e,n){var i=x[n.command.toLowerCase()].map(function(e){return this.options.accuracy?Math.round(n[e]*t)/t:n[e]}.bind(this));return e+n.command+i.join(",")}.bind(this),"")+(this.close?"Z":"")}function p(t,e){return r(this.pathElements,function(n,i){n[i]*="x"===i[0]?t:e}),this}function g(t,e){return r(this.pathElements,function(n,i){n[i]+="x"===i[0]?t:e}),this}function m(t){return r(this.pathElements,function(e,n,i,r,o){var a=t(e,n,i,r,o);(a||0===a)&&(e[n]=a)}),this}function v(t){var e=new n.Svg.Path(t||this.close);return e.pos=this.pos,e.pathElements=this.pathElements.slice().map(function(t){return n.extend({},t)}),e.options=n.extend({},this.options),e}function y(t){var e=[new n.Svg.Path];return this.pathElements.forEach(function(i){i.command===t.toUpperCase()&&0!==e[e.length-1].pathElements.length&&e.push(new n.Svg.Path),e[e.length-1].pathElements.push(i)}),e}function b(t,e,i){for(var r=new n.Svg.Path(e,i),o=0;o<t.length;o++)for(var a=t[o],s=0;s<a.pathElements.length;s++)r.pathElements.push(a.pathElements[s]);return r}var x={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},w={accuracy:3};n.Svg.Path=n.Class.extend({constructor:o,position:a,remove:s,move:l,line:u,curve:c,arc:h,scale:p,translate:g,transform:m,parse:d,stringify:f,clone:v,splitByCommand:y}),n.Svg.Path.elementDescriptions=x,n.Svg.Path.join=b}(window,document,t),function(t,e,n){"use strict";function i(t,e,n,i){this.units=t,this.counterUnits=t===o.x?o.y:o.x,this.chartRect=e,this.axisLength=e[t.rectEnd]-e[t.rectStart],this.gridOffset=e[t.rectOffset],this.ticks=n,this.options=i}function r(t,e,i,r,o){var a=r["axis"+this.units.pos.toUpperCase()],s=this.ticks.map(this.projectValue.bind(this)),l=this.ticks.map(a.labelInterpolationFnc);s.forEach(function(u,c){var h,d={x:0,y:0};h=s[c+1]?s[c+1]-u:Math.max(this.axisLength-u,30),(l[c]||0===l[c])&&("x"===this.units.pos?(u=this.chartRect.x1+u,d.x=r.axisX.labelOffset.x,"start"===r.axisX.position?d.y=this.chartRect.padding.top+r.axisX.labelOffset.y+(i?5:20):d.y=this.chartRect.y1+r.axisX.labelOffset.y+(i?5:20)):(u=this.chartRect.y1-u,d.y=r.axisY.labelOffset.y-(i?h:0),"start"===r.axisY.position?d.x=i?this.chartRect.padding.left+r.axisY.labelOffset.x:this.chartRect.x1-10:d.x=this.chartRect.x2+r.axisY.labelOffset.x+10),a.showGrid&&n.createGrid(u,c,this,this.gridOffset,this.chartRect[this.counterUnits.len](),t,[r.classNames.grid,r.classNames[this.units.dir]],o),a.showLabel&&n.createLabel(u,h,c,l,this,a.offset,d,e,[r.classNames.label,r.classNames[this.units.dir],r.classNames[a.position]],i,o))}.bind(this))}var o={x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}};n.Axis=n.Class.extend({constructor:i,createGridAndLabels:r,projectValue:function(t,e,n){throw new Error("Base axis can't be instantiated!")}}),n.Axis.units=o}(window,document,t),function(t,e,n){"use strict";function i(t,e,i,r){var o=r.highLow||n.getHighLow(e.normalized,r,t.pos);this.bounds=n.getBounds(i[t.rectEnd]-i[t.rectStart],o,r.scaleMinSpace||20,r.onlyInteger),this.range={min:this.bounds.min,max:this.bounds.max},n.AutoScaleAxis.super.constructor.call(this,t,i,this.bounds.values,r)}function r(t){return this.axisLength*(+n.getMultiValue(t,this.units.pos)-this.bounds.min)/this.bounds.range}n.AutoScaleAxis=n.Axis.extend({constructor:i,projectValue:r})}(window,document,t),function(t,e,n){"use strict";function i(t,e,i,r){var o=r.highLow||n.getHighLow(e.normalized,r,t.pos);this.divisor=r.divisor||1,this.ticks=r.ticks||n.times(this.divisor).map(function(t,e){return o.low+(o.high-o.low)/this.divisor*e}.bind(this)),this.range={min:o.low,max:o.high},n.FixedScaleAxis.super.constructor.call(this,t,i,this.ticks,r),this.stepLength=this.axisLength/this.divisor}function r(t){return this.axisLength*(+n.getMultiValue(t,this.units.pos)-this.range.min)/(this.range.max-this.range.min)}n.FixedScaleAxis=n.Axis.extend({constructor:i,projectValue:r})}(window,document,t),function(t,e,n){"use strict";function i(t,e,i,r){n.StepAxis.super.constructor.call(this,t,i,r.ticks,r),this.stepLength=this.axisLength/(r.ticks.length-(r.stretch?1:0))}function r(t,e){return this.stepLength*e}n.StepAxis=n.Axis.extend({constructor:i,projectValue:r})}(window,document,t),function(t,e,n){"use strict";function i(t){var e={raw:this.data,normalized:n.getDataArray(this.data,t.reverseData,!0)};this.svg=n.createSvg(this.container,t.width,t.height,t.classNames.chart);var i,r,a=this.svg.elem("g").addClass(t.classNames.gridGroup),s=this.svg.elem("g"),l=this.svg.elem("g").addClass(t.classNames.labelGroup),u=n.createChartRect(this.svg,t,o.padding);i=void 0===t.axisX.type?new n.StepAxis(n.Axis.units.x,e,u,n.extend({},t.axisX,{ticks:e.raw.labels,stretch:t.fullWidth})):t.axisX.type.call(n,n.Axis.units.x,e,u,t.axisX),r=void 0===t.axisY.type?new n.AutoScaleAxis(n.Axis.units.y,e,u,n.extend({},t.axisY,{high:n.isNum(t.high)?t.high:t.axisY.high,low:n.isNum(t.low)?t.low:t.axisY.low})):t.axisY.type.call(n,n.Axis.units.y,e,u,t.axisY),i.createGridAndLabels(a,l,this.supportsForeignObject,t,this.eventEmitter),r.createGridAndLabels(a,l,this.supportsForeignObject,t,this.eventEmitter),e.raw.series.forEach(function(o,a){var l=s.elem("g");l.attr({"series-name":o.name,meta:n.serialize(o.meta)},n.xmlNs.uri),l.addClass([t.classNames.series,o.className||t.classNames.series+"-"+n.alphaNumerate(a)].join(" "));var c=[],h=[];e.normalized[a].forEach(function(t,s){var l={x:u.x1+i.projectValue(t,s,e.normalized[a]),y:u.y1-r.projectValue(t,s,e.normalized[a])};c.push(l.x,l.y),h.push({value:t,valueIndex:s,meta:n.getMetaData(o,s)})}.bind(this));var d={lineSmooth:n.getSeriesOption(o,t,"lineSmooth"),showPoint:n.getSeriesOption(o,t,"showPoint"),showLine:n.getSeriesOption(o,t,"showLine"),showArea:n.getSeriesOption(o,t,"showArea"),areaBase:n.getSeriesOption(o,t,"areaBase")},f="function"==typeof d.lineSmooth?d.lineSmooth:d.lineSmooth?n.Interpolation.cardinal():n.Interpolation.none(),p=f(c,h);if(d.showPoint&&p.pathElements.forEach(function(e){var i=l.elem("line",{x1:e.x,y1:e.y,x2:e.x+.01,y2:e.y},t.classNames.point).attr({value:[e.data.value.x,e.data.value.y].filter(function(t){return t}).join(","),meta:e.data.meta},n.xmlNs.uri);this.eventEmitter.emit("draw",{type:"point",value:e.data.value,index:e.data.valueIndex,meta:e.data.meta,series:o,seriesIndex:a,group:l,element:i,x:e.x,y:e.y})}.bind(this)),d.showLine){var g=l.elem("path",{d:p.stringify()},t.classNames.line,!0);this.eventEmitter.emit("draw",{type:"line",values:e.normalized[a],path:p.clone(),chartRect:u,index:a,series:o,seriesIndex:a,group:l,element:g})}if(d.showArea&&r.range){var m=Math.max(Math.min(d.areaBase,r.range.max),r.range.min),v=u.y1-r.projectValue(m);p.splitByCommand("M").filter(function(t){return t.pathElements.length>1}).map(function(t){var e=t.pathElements[0],n=t.pathElements[t.pathElements.length-1];return t.clone(!0).position(0).remove(1).move(e.x,v).line(e.x,e.y).position(t.pathElements.length+1).line(n.x,v)}).forEach(function(i){var r=l.elem("path",{d:i.stringify()},t.classNames.area,!0).attr({values:e.normalized[a]},n.xmlNs.uri);this.eventEmitter.emit("draw",{type:"area",values:e.normalized[a],path:i.clone(),series:o,seriesIndex:a,chartRect:u,index:a,group:l,element:r})}.bind(this))}}.bind(this)),this.eventEmitter.emit("created",{bounds:r.bounds,chartRect:u,axisX:i,axisY:r,svg:this.svg,options:t})}function r(t,e,i,r){n.Line.super.constructor.call(this,t,e,o,n.extend({},o,i),r)}var o={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};n.Line=n.Base.extend({constructor:r,createChart:i})}(window,document,t),function(t,e,n){"use strict";function i(t){var e,i={raw:this.data,normalized:t.distributeSeries?n.getDataArray(this.data,t.reverseData,t.horizontalBars?"x":"y").map(function(t){return[t]}):n.getDataArray(this.data,t.reverseData,t.horizontalBars?"x":"y")};this.svg=n.createSvg(this.container,t.width,t.height,t.classNames.chart+(t.horizontalBars?" "+t.classNames.horizontalBars:""));var r=this.svg.elem("g").addClass(t.classNames.gridGroup),a=this.svg.elem("g"),s=this.svg.elem("g").addClass(t.classNames.labelGroup);if(t.stackBars){var l=n.serialMap(i.normalized,function(){return Array.prototype.slice.call(arguments).map(function(t){return t}).reduce(function(t,e){return{x:t.x+e.x||0,y:t.y+e.y||0}},{x:0,y:0})});e=n.getHighLow([l],n.extend({},t,{referenceValue:0}),t.horizontalBars?"x":"y")}else e=n.getHighLow(i.normalized,n.extend({},t,{referenceValue:0}),t.horizontalBars?"x":"y");e.high=+t.high||(0===t.high?0:e.high),e.low=+t.low||(0===t.low?0:e.low);var u,c,h,d,f,p=n.createChartRect(this.svg,t,o.padding);c=t.distributeSeries&&t.stackBars?i.raw.labels.slice(0,1):i.raw.labels,t.horizontalBars?(u=d=void 0===t.axisX.type?new n.AutoScaleAxis(n.Axis.units.x,i,p,n.extend({},t.axisX,{highLow:e,referenceValue:0})):t.axisX.type.call(n,n.Axis.units.x,i,p,n.extend({},t.axisX,{highLow:e,referenceValue:0})),h=f=void 0===t.axisY.type?new n.StepAxis(n.Axis.units.y,i,p,{ticks:c}):t.axisY.type.call(n,n.Axis.units.y,i,p,t.axisY)):(h=d=void 0===t.axisX.type?new n.StepAxis(n.Axis.units.x,i,p,{ticks:c}):t.axisX.type.call(n,n.Axis.units.x,i,p,t.axisX),u=f=void 0===t.axisY.type?new n.AutoScaleAxis(n.Axis.units.y,i,p,n.extend({},t.axisY,{highLow:e,referenceValue:0})):t.axisY.type.call(n,n.Axis.units.y,i,p,n.extend({},t.axisY,{highLow:e,referenceValue:0})));var g=t.horizontalBars?p.x1+u.projectValue(0):p.y1-u.projectValue(0),m=[];h.createGridAndLabels(r,s,this.supportsForeignObject,t,this.eventEmitter),u.createGridAndLabels(r,s,this.supportsForeignObject,t,this.eventEmitter),i.raw.series.forEach(function(e,r){var o,s,l=r-(i.raw.series.length-1)/2;o=t.distributeSeries&&!t.stackBars?h.axisLength/i.normalized.length/2:t.distributeSeries&&t.stackBars?h.axisLength/2:h.axisLength/i.normalized[r].length/2,s=a.elem("g"),s.attr({"series-name":e.name,meta:n.serialize(e.meta)},n.xmlNs.uri),s.addClass([t.classNames.series,e.className||t.classNames.series+"-"+n.alphaNumerate(r)].join(" ")),i.normalized[r].forEach(function(a,c){var d,f,v,y;if(y=t.distributeSeries&&!t.stackBars?r:t.distributeSeries&&t.stackBars?0:c,d=t.horizontalBars?{x:p.x1+u.projectValue(a.x||0,c,i.normalized[r]),y:p.y1-h.projectValue(a.y||0,y,i.normalized[r])}:{x:p.x1+h.projectValue(a.x||0,y,i.normalized[r]),y:p.y1-u.projectValue(a.y||0,c,i.normalized[r])},h instanceof n.StepAxis&&(h.options.stretch||(d[h.units.pos]+=o*(t.horizontalBars?-1:1)),d[h.units.pos]+=t.stackBars||t.distributeSeries?0:l*t.seriesBarDistance*(t.horizontalBars?-1:1)),v=m[c]||g,m[c]=v-(g-d[h.counterUnits.pos]),void 0!==a){var b={};b[h.units.pos+"1"]=d[h.units.pos],b[h.units.pos+"2"]=d[h.units.pos],b[h.counterUnits.pos+"1"]=t.stackBars?v:g,b[h.counterUnits.pos+"2"]=t.stackBars?m[c]:d[h.counterUnits.pos],b.x1=Math.min(Math.max(b.x1,p.x1),p.x2),b.x2=Math.min(Math.max(b.x2,p.x1),p.x2),b.y1=Math.min(Math.max(b.y1,p.y2),p.y1),b.y2=Math.min(Math.max(b.y2,p.y2),p.y1),f=s.elem("line",b,t.classNames.bar).attr({value:[a.x,a.y].filter(function(t){return t}).join(","),meta:n.getMetaData(e,c)},n.xmlNs.uri),this.eventEmitter.emit("draw",n.extend({type:"bar",value:a,index:c,meta:n.getMetaData(e,c),series:e,seriesIndex:r,chartRect:p,group:s,element:f},b))}}.bind(this))}.bind(this)),this.eventEmitter.emit("created",{bounds:u.bounds,chartRect:p,axisX:d,axisY:f,svg:this.svg,options:t})}function r(t,e,i,r){n.Bar.super.constructor.call(this,t,e,o,n.extend({},o,i),r)}var o={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,onlyInteger:!1,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,horizontalBars:!1,distributeSeries:!1,reverseData:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};n.Bar=n.Base.extend({constructor:r,createChart:i})}(window,document,t),function(t,e,n){"use strict";function i(t,e,n){var i=e.x>t.x;return i&&"explode"===n||!i&&"implode"===n?"start":i&&"implode"===n||!i&&"explode"===n?"end":"middle"}function r(t){var e,r,o,s,l,u=[],c=t.startAngle,h=n.getDataArray(this.data,t.reverseData);this.svg=n.createSvg(this.container,t.width,t.height,t.donut?t.classNames.chartDonut:t.classNames.chartPie),r=n.createChartRect(this.svg,t,a.padding),o=Math.min(r.width()/2,r.height()/2),l=t.total||h.reduce(function(t,e){return t+e},0),o-=t.donut?t.donutWidth/2:0,s="outside"===t.labelPosition||t.donut?o:"center"===t.labelPosition?0:o/2,s+=t.labelOffset;var d={x:r.x1+r.width()/2,y:r.y2+r.height()/2},f=1===this.data.series.filter(function(t){return t.hasOwnProperty("value")?0!==t.value:0!==t}).length;t.showLabel&&(e=this.svg.elem("g",null,null,!0));for(var p=0;p<this.data.series.length;p++){var g=this.data.series[p];u[p]=this.svg.elem("g",null,null,!0),u[p].attr({"series-name":g.name},n.xmlNs.uri),u[p].addClass([t.classNames.series,g.className||t.classNames.series+"-"+n.alphaNumerate(p)].join(" "));var m=c+h[p]/l*360;m-c===360&&(m-=.01);var v=n.polarToCartesian(d.x,d.y,o,c-(0===p||f?0:.2)),y=n.polarToCartesian(d.x,d.y,o,m),b=new n.Svg.Path((!t.donut)).move(y.x,y.y).arc(o,o,0,m-c>180,0,v.x,v.y);t.donut||b.line(d.x,d.y);var x=u[p].elem("path",{d:b.stringify()},t.donut?t.classNames.sliceDonut:t.classNames.slicePie);if(x.attr({value:h[p],meta:n.serialize(g.meta)},n.xmlNs.uri),t.donut&&x.attr({style:"stroke-width: "+ +t.donutWidth+"px"}),this.eventEmitter.emit("draw",{type:"slice",value:h[p],totalDataSum:l,index:p,meta:g.meta,series:g,group:u[p],element:x,path:b.clone(),center:d,radius:o,startAngle:c,endAngle:m}),t.showLabel){var w=n.polarToCartesian(d.x,d.y,s,c+(m-c)/2),S=t.labelInterpolationFnc(this.data.labels?this.data.labels[p]:h[p],p);if(S||0===S){var _=e.elem("text",{dx:w.x,dy:w.y,"text-anchor":i(d,w,t.labelDirection)},t.classNames.label).text(""+S);this.eventEmitter.emit("draw",{type:"label",index:p,group:e,element:_,text:""+S,x:w.x,y:w.y})}}c=m}this.eventEmitter.emit("created",{chartRect:r,svg:this.svg,options:t})}function o(t,e,i,r){n.Pie.super.constructor.call(this,t,e,a,n.extend({},a,i),r)}var a={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:n.noop,labelDirection:"neutral",reverseData:!1};n.Pie=n.Base.extend({constructor:o,createChart:r,determineAnchorPosition:i})}(window,document,t),t}),!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&"undefined"!=typeof exports?module.exports=e():t.Papa=e()}(this,function(){"use strict";function t(t,e){e=e||{};var n=e.dynamicTyping||!1;if(v(n)&&(e.dynamicTypingFunction=n,n={}),e.dynamicTyping=n,e.worker&&M.WORKERS_SUPPORTED){var s=c();return s.userStep=e.step,s.userChunk=e.chunk,s.userComplete=e.complete,s.userError=e.error,e.step=v(e.step),e.chunk=v(e.chunk),e.complete=v(e.complete),e.error=v(e.error),delete e.worker,void s.postMessage({input:t,config:e,workerId:s.id})}var l=null;return"string"==typeof t?l=e.download?new i(e):new o(e):t.readable===!0&&v(t.read)&&v(t.on)?l=new a(e):(b.File&&t instanceof File||t instanceof Object)&&(l=new r(e)),l.stream(t)}function e(t,e){function n(){"object"==typeof e&&("string"==typeof e.delimiter&&1===e.delimiter.length&&M.BAD_DELIMITERS.indexOf(e.delimiter)===-1&&(u=e.delimiter),("boolean"==typeof e.quotes||e.quotes instanceof Array)&&(s=e.quotes),"string"==typeof e.newline&&(c=e.newline), 7 "string"==typeof e.quoteChar&&(h=e.quoteChar),"boolean"==typeof e.header&&(l=e.header))}function i(t){if("object"!=typeof t)return[];var e=[];for(var n in t)e.push(n);return e}function r(t,e){var n="";"string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e));var i=t instanceof Array&&t.length>0,r=!(e[0]instanceof Array);if(i&&l){for(var a=0;a<t.length;a++)a>0&&(n+=u),n+=o(t[a],a);e.length>0&&(n+=c)}for(var s=0;s<e.length;s++){for(var h=i?t.length:e[s].length,d=0;d<h;d++){d>0&&(n+=u);var f=i&&r?t[d]:d;n+=o(e[s][f],d)}s<e.length-1&&(n+=c)}return n}function o(t,e){if("undefined"==typeof t||null===t)return"";t=t.toString().replace(d,h+h);var n="boolean"==typeof s&&s||s instanceof Array&&s[e]||a(t,M.BAD_DELIMITERS)||t.indexOf(u)>-1||" "===t.charAt(0)||" "===t.charAt(t.length-1);return n?h+t+h:t}function a(t,e){for(var n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return!0;return!1}var s=!1,l=!0,u=",",c="\r\n",h='"';n();var d=new RegExp(h,"g");if("string"==typeof t&&(t=JSON.parse(t)),t instanceof Array){if(!t.length||t[0]instanceof Array)return r(null,t);if("object"==typeof t[0])return r(i(t[0]),t)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),t.data instanceof Array&&(t.fields||(t.fields=t.meta&&t.meta.fields),t.fields||(t.fields=t.data[0]instanceof Array?t.fields:i(t.data[0])),t.data[0]instanceof Array||"object"==typeof t.data[0]||(t.data=[t.data])),r(t.fields||[],t.data||[]);throw"exception: Unable to serialize unrecognized input"}function n(t){function e(t){var e=g(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null),this._handle=new s(e),this._handle.streamer=this,this._config=e}this._handle=null,this._paused=!1,this._finished=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},e.call(this,t),this.parseChunk=function(t){if(this.isFirstChunk&&v(this._config.beforeFirstChunk)){var e=this._config.beforeFirstChunk(t);void 0!==e&&(t=e)}this.isFirstChunk=!1;var n=this._partialLine+t;this._partialLine="";var i=this._handle.parse(n,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var r=i.meta.cursor;this._finished||(this._partialLine=n.substring(r-this._baseIndex),this._baseIndex=r),i&&i.data&&(this._rowCount+=i.data.length);var o=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(w)b.postMessage({results:i,workerId:M.WORKER_ID,finished:o});else if(v(this._config.chunk)){if(this._config.chunk(i,this._handle),this._paused)return;i=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(i.data),this._completeResults.errors=this._completeResults.errors.concat(i.errors),this._completeResults.meta=i.meta),!o||!v(this._config.complete)||i&&i.meta.aborted||this._config.complete(this._completeResults,this._input),o||i&&i.meta.paused||this._nextChunk(),i}},this._sendError=function(t){v(this._config.error)?this._config.error(t):w&&this._config.error&&b.postMessage({workerId:M.WORKER_ID,error:t,finished:!1})}}function i(t){function e(t){var e=t.getResponseHeader("Content-Range");return null===e?-1:parseInt(e.substr(e.lastIndexOf("/")+1))}t=t||{},t.chunkSize||(t.chunkSize=M.RemoteChunkSize),n.call(this,t);var i;x?this._nextChunk=function(){this._readChunk(),this._chunkLoaded()}:this._nextChunk=function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)return void this._chunkLoaded();if(i=new XMLHttpRequest,this._config.withCredentials&&(i.withCredentials=this._config.withCredentials),x||(i.onload=m(this._chunkLoaded,this),i.onerror=m(this._chunkError,this)),i.open("GET",this._input,!x),this._config.downloadRequestHeaders){var t=this._config.downloadRequestHeaders;for(var e in t)i.setRequestHeader(e,t[e])}if(this._config.chunkSize){var n=this._start+this._config.chunkSize-1;i.setRequestHeader("Range","bytes="+this._start+"-"+n),i.setRequestHeader("If-None-Match","webkit-no-cache")}try{i.send()}catch(t){this._chunkError(t.message)}x&&0===i.status?this._chunkError():this._start+=this._config.chunkSize},this._chunkLoaded=function(){if(4==i.readyState){if(i.status<200||i.status>=400)return void this._chunkError();this._finished=!this._config.chunkSize||this._start>e(i),this.parseChunk(i.responseText)}},this._chunkError=function(t){var e=i.statusText||t;this._sendError(e)}}function r(t){t=t||{},t.chunkSize||(t.chunkSize=M.LocalChunkSize),n.call(this,t);var e,i,r="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,i=t.slice||t.webkitSlice||t.mozSlice,r?(e=new FileReader,e.onload=m(this._chunkLoaded,this),e.onerror=m(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t=this._input;if(this._config.chunkSize){var n=Math.min(this._start+this._config.chunkSize,this._input.size);t=i.call(t,this._start,n)}var o=e.readAsText(t,this._config.encoding);r||this._chunkLoaded({target:{result:o}})},this._chunkLoaded=function(t){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(e.error)}}function o(t){t=t||{},n.call(this,t);var e,i;this.stream=function(t){return e=t,i=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t=this._config.chunkSize,e=t?i.substr(0,t):i;return i=t?i.substr(t):"",this._finished=!i,this.parseChunk(e)}}}function a(t){t=t||{},n.call(this,t);var e=[],i=!0;this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._nextChunk=function(){e.length?this.parseChunk(e.shift()):i=!0},this._streamData=m(function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),i&&(i=!1,this.parseChunk(e.shift()))}catch(t){this._streamError(t)}},this),this._streamError=m(function(t){this._streamCleanUp(),this._sendError(t.message)},this),this._streamEnd=m(function(){this._streamCleanUp(),this._finished=!0,this._streamData("")},this),this._streamCleanUp=m(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function s(t){function e(){if(_&&p&&(h("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+M.DefaultDelimiter+"'"),p=!1),t.skipEmptyLines)for(var e=0;e<_.data.length;e++)1===_.data[e].length&&""===_.data[e][0]&&_.data.splice(e--,1);return n()&&i(),a()}function n(){return t.header&&0===S.length}function i(){if(_){for(var t=0;n()&&t<_.data.length;t++)for(var e=0;e<_.data[t].length;e++)S.push(_.data[t][e]);_.data.splice(0,1)}}function r(e){return t.dynamicTypingFunction&&void 0===t.dynamicTyping[e]&&(t.dynamicTyping[e]=t.dynamicTypingFunction(e)),(t.dynamicTyping[e]||t.dynamicTyping)===!0}function o(t,e){return r(t)?"true"===e||"TRUE"===e||"false"!==e&&"FALSE"!==e&&c(e):e}function a(){if(!_||!t.header&&!t.dynamicTyping)return _;for(var e=0;e<_.data.length;e++){for(var n=t.header?{}:[],i=0;i<_.data[e].length;i++){var r=i,a=_.data[e][i];t.header&&(r=i>=S.length?"__parsed_extra":S[i]),a=o(r,a),"__parsed_extra"===r?(n[r]=n[r]||[],n[r].push(a)):n[r]=a}_.data[e]=n,t.header&&(i>S.length?h("FieldMismatch","TooManyFields","Too many fields: expected "+S.length+" fields but parsed "+i,e):i<S.length&&h("FieldMismatch","TooFewFields","Too few fields: expected "+S.length+" fields but parsed "+i,e))}return t.header&&_.meta&&(_.meta.fields=S),_}function s(e,n,i){for(var r,o,a,s=[",","\t","|",";",M.RECORD_SEP,M.UNIT_SEP],u=0;u<s.length;u++){var c=s[u],h=0,d=0,f=0;a=void 0;for(var p=new l({delimiter:c,newline:n,preview:10}).parse(e),g=0;g<p.data.length;g++)if(i&&1===p.data[g].length&&0===p.data[g][0].length)f++;else{var m=p.data[g].length;d+=m,"undefined"!=typeof a?m>1&&(h+=Math.abs(m-a),a=m):a=m}p.data.length>0&&(d/=p.data.length-f),("undefined"==typeof o||h<o)&&d>1.99&&(o=h,r=c)}return t.delimiter=r,{successful:!!r,bestDelimiter:r}}function u(t){t=t.substr(0,1048576);var e=t.split("\r"),n=t.split("\n"),i=n.length>1&&n[0].length<e[0].length;if(1===e.length||i)return"\n";for(var r=0,o=0;o<e.length;o++)"\n"===e[o][0]&&r++;return r>=e.length/2?"\r\n":"\r"}function c(t){var e=m.test(t);return e?parseFloat(t):t}function h(t,e,n,i){_.errors.push({type:t,code:e,message:n,row:i})}var d,f,p,m=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,y=this,b=0,x=!1,w=!1,S=[],_={data:[],errors:[],meta:{}};if(v(t.step)){var C=t.step;t.step=function(i){if(_=i,n())e();else{if(e(),0===_.data.length)return;b+=i.data.length,t.preview&&b>t.preview?f.abort():C(_,y)}}}this.parse=function(n,i,r){if(t.newline||(t.newline=u(n)),p=!1,t.delimiter)v(t.delimiter)&&(t.delimiter=t.delimiter(n),_.meta.delimiter=t.delimiter);else{var o=s(n,t.newline,t.skipEmptyLines);o.successful?t.delimiter=o.bestDelimiter:(p=!0,t.delimiter=M.DefaultDelimiter),_.meta.delimiter=t.delimiter}var a=g(t);return t.preview&&t.header&&a.preview++,d=n,f=new l(a),_=f.parse(d,i,r),e(),x?{meta:{paused:!0}}:_||{meta:{paused:!1}}},this.paused=function(){return x},this.pause=function(){x=!0,f.abort(),d=d.substr(f.getCharIndex())},this.resume=function(){x=!1,y.streamer.parseChunk(d)},this.aborted=function(){return w},this.abort=function(){w=!0,f.abort(),_.meta.aborted=!0,v(t.complete)&&t.complete(_),d=""}}function l(t){t=t||{};var e=t.delimiter,n=t.newline,i=t.comments,r=t.step,o=t.preview,a=t.fastMode,s=t.quoteChar||'"';if(("string"!=typeof e||M.BAD_DELIMITERS.indexOf(e)>-1)&&(e=","),i===e)throw"Comment character same as delimiter";i===!0?i="#":("string"!=typeof i||M.BAD_DELIMITERS.indexOf(i)>-1)&&(i=!1),"\n"!=n&&"\r"!=n&&"\r\n"!=n&&(n="\n");var l=0,u=!1;this.parse=function(t,c,h){function d(t){_.push(t),k=l}function f(e){return h?g():("undefined"==typeof e&&(e=t.substr(l)),M.push(e),l=y,d(M),S&&m(),g())}function p(e){l=e,d(M),M=[],E=t.indexOf(n,l)}function g(t){return{data:_,errors:C,meta:{delimiter:e,linebreak:n,aborted:u,truncated:!!t,cursor:k+(c||0)}}}function m(){r(g()),_=[],C=[]}if("string"!=typeof t)throw"Input must be a string";var y=t.length,b=e.length,x=n.length,w=i.length,S=v(r);l=0;var _=[],C=[],M=[],k=0;if(!t)return g();if(a||a!==!1&&t.indexOf(s)===-1){for(var T=t.split(n),D=0;D<T.length;D++){var M=T[D];if(l+=M.length,D!==T.length-1)l+=n.length;else if(h)return g();if(!i||M.substr(0,w)!==i){if(S){if(_=[],d(M.split(e)),m(),u)return g()}else d(M.split(e));if(o&&D>=o)return _=_.slice(0,o),g(!0)}}return g()}for(var A=t.indexOf(e,l),E=t.indexOf(n,l),P=new RegExp(s+s,"g");;)if(t[l]!==s)if(i&&0===M.length&&t.substr(l,w)===i){if(E===-1)return g();l=E+x,E=t.indexOf(n,l),A=t.indexOf(e,l)}else if(A!==-1&&(A<E||E===-1))M.push(t.substring(l,A)),l=A+b,A=t.indexOf(e,l);else{if(E===-1)break;if(M.push(t.substring(l,E)),p(E+x),S&&(m(),u))return g();if(o&&_.length>=o)return g(!0)}else{var O=l;for(l++;;){var O=t.indexOf(s,O+1);if(O===-1)return h||C.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:_.length,index:l}),f();if(O===y-1){var L=t.substring(l,O).replace(P,s);return f(L)}if(t[O+1]!==s){if(t[O+1]===e){M.push(t.substring(l,O).replace(P,s)),l=O+1+b,A=t.indexOf(e,l),E=t.indexOf(n,l);break}if(t.substr(O+1,x)===n){if(M.push(t.substring(l,O).replace(P,s)),p(O+1+x),A=t.indexOf(e,l),S&&(m(),u))return g();if(o&&_.length>=o)return g(!0);break}C.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:_.length,index:l}),O++}else O++}}return f()},this.abort=function(){u=!0},this.getCharIndex=function(){return l}}function u(){var t=document.getElementsByTagName("script");return t.length?t[t.length-1].src:""}function c(){if(!M.WORKERS_SUPPORTED)return!1;if(!S&&null===M.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var t=M.SCRIPT_PATH||y;t+=(t.indexOf("?")!==-1?"&":"?")+"papaworker";var e=new b.Worker(t);return e.onmessage=h,e.id=C++,_[e.id]=e,e}function h(t){var e=t.data,n=_[e.workerId],i=!1;if(e.error)n.userError(e.error,e.file);else if(e.results&&e.results.data){var r=function(){i=!0,d(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},o={abort:r,pause:f,resume:f};if(v(n.userStep)){for(var a=0;a<e.results.data.length&&(n.userStep({data:[e.results.data[a]],errors:e.results.errors,meta:e.results.meta},o),!i);a++);delete e.results}else v(n.userChunk)&&(n.userChunk(e.results,o,e.file),delete e.results)}e.finished&&!i&&d(e.workerId,e.results)}function d(t,e){var n=_[t];v(n.userComplete)&&n.userComplete(e),n.terminate(),delete _[t]}function f(){throw"Not implemented."}function p(t){var e=t.data;if("undefined"==typeof M.WORKER_ID&&e&&(M.WORKER_ID=e.workerId),"string"==typeof e.input)b.postMessage({workerId:M.WORKER_ID,results:M.parse(e.input,e.config),finished:!0});else if(b.File&&e.input instanceof File||e.input instanceof Object){var n=M.parse(e.input,e.config);n&&b.postMessage({workerId:M.WORKER_ID,results:n,finished:!0})}}function g(t){if("object"!=typeof t)return t;var e=t instanceof Array?[]:{};for(var n in t)e[n]=g(t[n]);return e}function m(t,e){return function(){t.apply(e,arguments)}}function v(t){return"function"==typeof t}var y,b=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof b?b:{}}(),x=!b.document&&!!b.postMessage,w=x&&/(\?|&)papaworker(=|&|$)/.test(b.location.search),S=!1,_={},C=0,M={};if(M.parse=t,M.unparse=e,M.RECORD_SEP=String.fromCharCode(30),M.UNIT_SEP=String.fromCharCode(31),M.BYTE_ORDER_MARK="\ufeff",M.BAD_DELIMITERS=["\r","\n",'"',M.BYTE_ORDER_MARK],M.WORKERS_SUPPORTED=!x&&!!b.Worker,M.SCRIPT_PATH=null,M.LocalChunkSize=10485760,M.RemoteChunkSize=5242880,M.DefaultDelimiter=",",M.Parser=l,M.ParserHandle=s,M.NetworkStreamer=i,M.FileStreamer=r,M.StringStreamer=o,M.ReadableStreamStreamer=a,b.jQuery){var k=b.jQuery;k.fn.parse=function(t){function e(){if(0===o.length)return void(v(t.complete)&&t.complete());var e=o[0];if(v(t.before)){var r=t.before(e.file,e.inputElem);if("object"==typeof r){if("abort"===r.action)return void n("AbortError",e.file,e.inputElem,r.reason);if("skip"===r.action)return void i();"object"==typeof r.config&&(e.instanceConfig=k.extend(e.instanceConfig,r.config))}else if("skip"===r)return void i()}var a=e.instanceConfig.complete;e.instanceConfig.complete=function(t){v(a)&&a(t,e.file,e.inputElem),i()},M.parse(e.file,e.instanceConfig)}function n(e,n,i,r){v(t.error)&&t.error({name:e},n,i,r)}function i(){o.splice(0,1),e()}var r=t.config||{},o=[];return this.each(function(t){var e="INPUT"===k(this).prop("tagName").toUpperCase()&&"file"===k(this).attr("type").toLowerCase()&&b.FileReader;if(!e||!this.files||0===this.files.length)return!0;for(var n=0;n<this.files.length;n++)o.push({file:this.files[n],inputElem:this,instanceConfig:k.extend({},r)})}),e(),this}}return w?b.onmessage=p:M.WORKERS_SUPPORTED&&(y=u(),document.body?document.addEventListener("DOMContentLoaded",function(){S=!0},!0):S=!0),i.prototype=Object.create(n.prototype),i.prototype.constructor=i,r.prototype=Object.create(n.prototype),r.prototype.constructor=r,o.prototype=Object.create(o.prototype),o.prototype.constructor=o,a.prototype=Object.create(n.prototype),a.prototype.constructor=a,M}),!function(){function t(t,e){return e>t?-1:t>e?1:t>=e?0:NaN}function e(t){return null===t?NaN:+t}function n(t){return!isNaN(t)}function i(t){return{left:function(e,n,i,r){for(arguments.length<3&&(i=0),arguments.length<4&&(r=e.length);r>i;){var o=i+r>>>1;t(e[o],n)<0?i=o+1:r=o}return i},right:function(e,n,i,r){for(arguments.length<3&&(i=0),arguments.length<4&&(r=e.length);r>i;){var o=i+r>>>1;t(e[o],n)>0?r=o:i=o+1}return i}}}function r(t){return t.length}function o(t){for(var e=1;t*e%1;)e*=10;return e}function a(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function s(){this._=Object.create(null)}function l(t){return(t+="")===ga||t[0]===ma?ma+t:t}function u(t){return(t+="")[0]===ma?t.slice(1):t}function c(t){return l(t)in this._}function h(t){return(t=l(t))in this._&&delete this._[t]}function d(){var t=[];for(var e in this._)t.push(u(e));return t}function f(){var t=0;for(var e in this._)++t;return t}function p(){for(var t in this._)return!1;return!0}function g(){this._=Object.create(null)}function m(t,e,n){return function(){var i=n.apply(e,arguments);return i===e?t:i}}function v(t,e){if(e in t)return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var n=0,i=va.length;i>n;++n){var r=va[n]+e;if(r in t)return r}}function y(){}function b(){}function x(t){function e(){for(var e,i=n,r=-1,o=i.length;++r<o;)(e=i[r].on)&&e.apply(this,arguments);return t}var n=[],i=new s;return e.on=function(e,r){var o,a=i.get(e);return arguments.length<2?a&&a.on:(a&&(a.on=null,n=n.slice(0,o=n.indexOf(a)).concat(n.slice(o+1)),i.remove(e)),r&&n.push(i.set(e,{on:r})),t)},e}function w(){na.event.preventDefault()}function S(){for(var t,e=na.event;t=e.sourceEvent;)e=t;return e}function _(t){for(var e=new b,n=0,i=arguments.length;++n<i;)e[arguments[n]]=x(e);return e.of=function(n,i){return function(r){try{var o=r.sourceEvent=na.event;r.target=t,na.event=r,e[r.type].apply(n,i)}finally{na.event=o}}},e}function C(t){return ba(t,Ca),t}function M(t){return"function"==typeof t?t:function(){return xa(t,this)}}function k(t){return"function"==typeof t?t:function(){return wa(t,this)}}function T(t,e){function n(){this.removeAttribute(t)}function i(){this.removeAttributeNS(t.space,t.local)}function r(){this.setAttribute(t,e)}function o(){this.setAttributeNS(t.space,t.local,e)}function a(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}function s(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}return t=na.ns.qualify(t),null==e?t.local?i:n:"function"==typeof e?t.local?s:a:t.local?o:r}function D(t){return t.trim().replace(/\s+/g," ")}function A(t){return new RegExp("(?:^|\\s+)"+na.requote(t)+"(?:\\s+|$)","g")}function E(t){return(t+"").trim().split(/^|\s+/)}function P(t,e){function n(){for(var n=-1;++n<r;)t[n](this,e)}function i(){for(var n=-1,i=e.apply(this,arguments);++n<r;)t[n](this,i)}t=E(t).map(O);var r=t.length;return"function"==typeof e?i:n}function O(t){var e=A(t);return function(n,i){if(r=n.classList)return i?r.add(t):r.remove(t);var r=n.getAttribute("class")||"";i?(e.lastIndex=0,e.test(r)||n.setAttribute("class",D(r+" "+t))):n.setAttribute("class",D(r.replace(e," ")))}}function L(t,e,n){function i(){this.style.removeProperty(t)}function r(){this.style.setProperty(t,e,n)}function o(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}return null==e?i:"function"==typeof e?o:r}function N(t,e){function n(){delete this[t]}function i(){this[t]=e}function r(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}return null==e?n:"function"==typeof e?r:i}function I(t){return"function"==typeof t?t:(t=na.ns.qualify(t)).local?function(){return this.ownerDocument.createElementNS(t.space,t.local)}:function(){return this.ownerDocument.createElementNS(this.namespaceURI,t)}}function j(){var t=this.parentNode;t&&t.removeChild(this)}function F(t){return{__data__:t}}function R(t){return function(){return _a(this,t)}}function H(e){return arguments.length||(e=t),function(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}}function z(t,e){for(var n=0,i=t.length;i>n;n++)for(var r,o=t[n],a=0,s=o.length;s>a;a++)(r=o[a])&&e(r,a,n);return t}function B(t){return ba(t,ka),t}function W(t){var e,n;return function(i,r,o){var a,s=t[o].update,l=s.length;for(o!=n&&(n=o,e=0),r>=e&&(e=r+1);!(a=s[e])&&++e<l;);return a}}function $(t,e,n){function i(){var e=this[a];e&&(this.removeEventListener(t,e,e.$),delete this[a])}function r(){var r=l(e,ra(arguments));i.call(this),this.addEventListener(t,this[a]=r,r.$=n),r._=e}function o(){var e,n=new RegExp("^__on([^.]+)"+na.requote(t)+"$");for(var i in this)if(e=i.match(n)){var r=this[i];this.removeEventListener(e[1],r,r.$),delete this[i]}}var a="__on"+t,s=t.indexOf("."),l=U;s>0&&(t=t.slice(0,s));var u=Da.get(t);return u&&(t=u,l=q),s?e?r:i:e?y:o}function U(t,e){return function(n){var i=na.event;na.event=n,e[0]=this.__data__;try{t.apply(this,e)}finally{na.event=i}}}function q(t,e){var n=U(t,e);return function(t){var e=this,i=t.relatedTarget;i&&(i===e||8&i.compareDocumentPosition(e))||n.call(e,t)}}function Y(){var t=".dragsuppress-"+ ++Ea,e="click"+t,n=na.select(sa).on("touchmove"+t,w).on("dragstart"+t,w).on("selectstart"+t,w);if(Aa){var i=aa.style,r=i[Aa];i[Aa]="none"}return function(o){if(n.on(t,null),Aa&&(i[Aa]=r),o){var a=function(){n.on(e,null)};n.on(e,function(){w(),a()},!0),setTimeout(a,0)}}}function G(t,e){e.changedTouches&&(e=e.changedTouches[0]);var n=t.ownerSVGElement||t;if(n.createSVGPoint){var i=n.createSVGPoint();if(0>Pa&&(sa.scrollX||sa.scrollY)){n=na.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var r=n[0][0].getScreenCTM();Pa=!(r.f||r.e),n.remove()}return Pa?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i=i.matrixTransform(t.getScreenCTM().inverse()),[i.x,i.y]}var o=t.getBoundingClientRect();return[e.clientX-o.left-t.clientLeft,e.clientY-o.top-t.clientTop]}function X(){return na.event.changedTouches[0].identifier}function V(){return na.event.target}function Z(){return sa}function K(t){return t>0?1:0>t?-1:0}function J(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function Q(t){return t>1?0:-1>t?Na:Math.acos(t)}function tt(t){return t>1?Fa:-1>t?-Fa:Math.asin(t)}function et(t){return((t=Math.exp(t))-1/t)/2}function nt(t){return((t=Math.exp(t))+1/t)/2}function it(t){return((t=Math.exp(2*t))-1)/(t+1)}function rt(t){return(t=Math.sin(t/2))*t}function ot(){}function at(t,e,n){return this instanceof at?(this.h=+t,this.s=+e,void(this.l=+n)):arguments.length<2?t instanceof at?new at(t.h,t.s,t.l):xt(""+t,wt,at):new at(t,e,n)}function st(t,e,n){function i(t){return t>360?t-=360:0>t&&(t+=360),60>t?o+(a-o)*t/60:180>t?a:240>t?o+(a-o)*(240-t)/60:o}function r(t){return Math.round(255*i(t))}var o,a;return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)?0:0>e?0:e>1?1:e,n=0>n?0:n>1?1:n,a=.5>=n?n*(1+e):n+e-n*e,o=2*n-a,new mt(r(t+120),r(t),r(t-120))}function lt(t,e,n){return this instanceof lt?(this.h=+t,this.c=+e,void(this.l=+n)):arguments.length<2?t instanceof lt?new lt(t.h,t.c,t.l):t instanceof ct?dt(t.l,t.a,t.b):dt((t=St((t=na.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new lt(t,e,n)}function ut(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new ct(n,Math.cos(t*=Ra)*e,Math.sin(t)*e)}function ct(t,e,n){return this instanceof ct?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof ct?new ct(t.l,t.a,t.b):t instanceof lt?ut(t.h,t.c,t.l):St((t=mt(t)).r,t.g,t.b):new ct(t,e,n)}function ht(t,e,n){var i=(t+16)/116,r=i+e/500,o=i-n/200;return r=ft(r)*Va,i=ft(i)*Za,o=ft(o)*Ka,new mt(gt(3.2404542*r-1.5371385*i-.4985314*o),gt(-.969266*r+1.8760108*i+.041556*o),gt(.0556434*r-.2040259*i+1.0572252*o))}function dt(t,e,n){return t>0?new lt(Math.atan2(n,e)*Ha,Math.sqrt(e*e+n*n),t):new lt(NaN,NaN,t)}function ft(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function pt(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function gt(t){return Math.round(255*(.00304>=t?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function mt(t,e,n){return this instanceof mt?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof mt?new mt(t.r,t.g,t.b):xt(""+t,mt,st):new mt(t,e,n)}function vt(t){return new mt(t>>16,255&t>>8,255&t)}function yt(t){return vt(t)+""}function bt(t){return 16>t?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function xt(t,e,n){var i,r,o,a=0,s=0,l=0;if(i=/([a-z]+)\((.*)\)/i.exec(t))switch(r=i[2].split(","),i[1]){case"hsl":return n(parseFloat(r[0]),parseFloat(r[1])/100,parseFloat(r[2])/100);case"rgb":return e(Ct(r[0]),Ct(r[1]),Ct(r[2]))}return(o=ts.get(t))?e(o.r,o.g,o.b):(null==t||"#"!==t.charAt(0)||isNaN(o=parseInt(t.slice(1),16))||(4===t.length?(a=(3840&o)>>4,a=a>>4|a,s=240&o,s=s>>4|s,l=15&o,l=l<<4|l):7===t.length&&(a=(16711680&o)>>16,s=(65280&o)>>8,l=255&o)),e(a,s,l))}function wt(t,e,n){var i,r,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,l=(a+o)/2;return s?(r=.5>l?s/(a+o):s/(2-a-o),i=t==a?(e-n)/s+(n>e?6:0):e==a?(n-t)/s+2:(t-e)/s+4,i*=60):(i=NaN,r=l>0&&1>l?0:i),new at(i,r,l)}function St(t,e,n){t=_t(t),e=_t(e),n=_t(n);var i=pt((.4124564*t+.3575761*e+.1804375*n)/Va),r=pt((.2126729*t+.7151522*e+.072175*n)/Za),o=pt((.0193339*t+.119192*e+.9503041*n)/Ka);return ct(116*r-16,500*(i-r),200*(r-o))}function _t(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ct(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}function Mt(t){return"function"==typeof t?t:function(){return t}}function kt(t){return t}function Tt(t){return function(e,n,i){return 2===arguments.length&&"function"==typeof n&&(i=n,n=null),Dt(e,n,t,i)}}function Dt(t,e,n,i){function r(){var t,e=l.status;if(!e&&Et(l)||e>=200&&300>e||304===e){try{t=n.call(o,l)}catch(t){return void a.error.call(o,t)}a.load.call(o,t)}else a.error.call(o,l)}var o={},a=na.dispatch("beforesend","progress","load","error"),s={},l=new XMLHttpRequest,u=null;return!sa.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(t)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=r:l.onreadystatechange=function(){l.readyState>3&&r()},l.onprogress=function(t){var e=na.event;na.event=t;try{a.progress.call(o,l)}finally{na.event=e}},o.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?s[t]:(null==e?delete s[t]:s[t]=e+"",o)},o.mimeType=function(t){return arguments.length?(e=null==t?null:t+"",o):e},o.responseType=function(t){return arguments.length?(u=t,o):u},o.response=function(t){return n=t,o},["get","post"].forEach(function(t){o[t]=function(){return o.send.apply(o,[t].concat(ra(arguments)))}}),o.send=function(n,i,r){if(2===arguments.length&&"function"==typeof i&&(r=i,i=null),l.open(n,t,!0),null==e||"accept"in s||(s.accept=e+",*/*"),l.setRequestHeader)for(var c in s)l.setRequestHeader(c,s[c]);return null!=e&&l.overrideMimeType&&l.overrideMimeType(e),null!=u&&(l.responseType=u),null!=r&&o.on("error",r).on("load",function(t){r(null,t)}),a.beforesend.call(o,l),l.send(null==i?null:i),o},o.abort=function(){return l.abort(),o},na.rebind(o,a,"on"),null==i?o:o.get(At(i))}function At(t){return 1===t.length?function(e,n){t(null==e?n:null)}:t}function Et(t){var e=t.responseType;return e&&"text"!==e?t.response:t.responseText}function Pt(){var t=Ot(),e=Lt()-t;e>24?(isFinite(e)&&(clearTimeout(rs),rs=setTimeout(Pt,e)),is=0):(is=1,as(Pt))}function Ot(){var t=Date.now();for(os=es;os;)t>=os.t&&(os.f=os.c(t-os.t)),os=os.n;return t}function Lt(){for(var t,e=es,n=1/0;e;)e.f?e=t?t.n=e.n:es=e.n:(e.t<n&&(n=e.t),e=(t=e).n);return ns=t,n}function Nt(t,e){return e-(t?Math.ceil(Math.log(t)/Math.LN10):1)}function It(t,e){var n=Math.pow(10,3*pa(8-e));return{scale:e>8?function(t){return t/n}:function(t){return t*n},symbol:t}}function jt(t){var e=t.decimal,n=t.thousands,i=t.grouping,r=t.currency,o=i&&n?function(t,e){for(var r=t.length,o=[],a=0,s=i[0],l=0;r>0&&s>0&&(l+s+1>e&&(s=Math.max(1,e-l)),o.push(t.substring(r-=s,r+s)),!((l+=s+1)>e));)s=i[a=(a+1)%i.length];return o.reverse().join(n)}:kt;return function(t){var n=ls.exec(t),i=n[1]||" ",a=n[2]||">",s=n[3]||"-",l=n[4]||"",u=n[5],c=+n[6],h=n[7],d=n[8],f=n[9],p=1,g="",m="",v=!1,y=!0;switch(d&&(d=+d.substring(1)),(u||"0"===i&&"="===a)&&(u=i="0",a="="),f){case"n":h=!0,f="g";break;case"%":p=100,m="%",f="f";break;case"p":p=100,m="%",f="r";break;case"b":case"o":case"x":case"X":"#"===l&&(g="0"+f.toLowerCase());case"c":y=!1;case"d":v=!0,d=0;break;case"s":p=-1,f="r"}"$"===l&&(g=r[0],m=r[1]),"r"!=f||d||(f="g"),null!=d&&("g"==f?d=Math.max(1,Math.min(21,d)):("e"==f||"f"==f)&&(d=Math.max(0,Math.min(20,d)))),f=us.get(f)||Ft;var b=u&&h;return function(t){var n=m;if(v&&t%1)return"";var r=0>t||0===t&&0>1/t?(t=-t,"-"):"-"===s?"":s;if(0>p){var l=na.formatPrefix(t,d);t=l.scale(t),n=l.symbol+m}else t*=p;t=f(t,d);var x,w,S=t.lastIndexOf(".");if(0>S){var _=y?t.lastIndexOf("e"):-1;0>_?(x=t,w=""):(x=t.substring(0,_),w=t.substring(_))}else x=t.substring(0,S),w=e+t.substring(S+1);!u&&h&&(x=o(x,1/0));var C=g.length+x.length+w.length+(b?0:r.length),M=c>C?new Array(C=c-C+1).join(i):"";return b&&(x=o(M+x,M.length?c-w.length:1/0)),r+=g,t=x+w,("<"===a?r+t+M:">"===a?M+r+t:"^"===a?M.substring(0,C>>=1)+r+t+M.substring(C):r+(b?t:M+t))+n}}}function Ft(t){return t+""}function Rt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Ht(t,e,n){function i(e){var n=t(e),i=o(n,1);return i-e>e-n?n:i}function r(n){return e(n=t(new hs(n-1)),1),n}function o(t,n){return e(t=new hs((+t)),n),t}function a(t,i,o){var a=r(t),s=[];if(o>1)for(;i>a;)n(a)%o||s.push(new Date((+a))),e(a,1);else for(;i>a;)s.push(new Date((+a))),e(a,1);return s}function s(t,e,n){try{hs=Rt;var i=new Rt;return i._=t,a(i,e,n)}finally{hs=Date}}t.floor=t,t.round=i,t.ceil=r,t.offset=o,t.range=a;var l=t.utc=zt(t);return l.floor=l,l.round=zt(i),l.ceil=zt(r),l.offset=zt(o),l.range=s,t}function zt(t){return function(e,n){try{hs=Rt;var i=new Rt;return i._=e,t(i,n)._}finally{hs=Date}}}function Bt(t){function e(t){function e(e){for(var n,r,o,a=[],s=-1,l=0;++s<i;)37===t.charCodeAt(s)&&(a.push(t.slice(l,s)),null!=(r=fs[n=t.charAt(++s)])&&(n=t.charAt(++s)),(o=D[n])&&(n=o(e,null==r?"e"===n?" ":"0":r)),a.push(n),l=s+1);return a.push(t.slice(l,s)),a.join("")}var i=t.length;return e.parse=function(e){var i={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null},r=n(i,t,e,0);if(r!=e.length)return null;"p"in i&&(i.H=i.H%12+12*i.p);var o=null!=i.Z&&hs!==Rt,a=new(o?Rt:hs);return"j"in i?a.setFullYear(i.y,0,i.j):"w"in i&&("W"in i||"U"in i)?(a.setFullYear(i.y,0,1),a.setFullYear(i.y,0,"W"in i?(i.w+6)%7+7*i.W-(a.getDay()+5)%7:i.w+7*i.U-(a.getDay()+6)%7)):a.setFullYear(i.y,i.m,i.d),a.setHours(i.H+(0|i.Z/100),i.M+i.Z%100,i.S,i.L),o?a._:a},e.toString=function(){return t},e}function n(t,e,n,i){for(var r,o,a,s=0,l=e.length,u=n.length;l>s;){if(i>=u)return-1;if(r=e.charCodeAt(s++),37===r){if(a=e.charAt(s++),o=A[a in fs?e.charAt(s++):a],!o||(i=o(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}function i(t,e,n){S.lastIndex=0;var i=S.exec(e.slice(n));return i?(t.w=_.get(i[0].toLowerCase()),n+i[0].length):-1}function r(t,e,n){x.lastIndex=0;var i=x.exec(e.slice(n));return i?(t.w=w.get(i[0].toLowerCase()),n+i[0].length):-1}function o(t,e,n){k.lastIndex=0;var i=k.exec(e.slice(n));return i?(t.m=T.get(i[0].toLowerCase()),n+i[0].length):-1}function a(t,e,n){C.lastIndex=0;var i=C.exec(e.slice(n));return i?(t.m=M.get(i[0].toLowerCase()),n+i[0].length):-1}function s(t,e,i){return n(t,D.c.toString(),e,i)}function l(t,e,i){return n(t,D.x.toString(),e,i)}function u(t,e,i){return n(t,D.X.toString(),e,i)}function c(t,e,n){var i=b.get(e.slice(n,n+=2).toLowerCase());return null==i?-1:(t.p=i,n)}var h=t.dateTime,d=t.date,f=t.time,p=t.periods,g=t.days,m=t.shortDays,v=t.months,y=t.shortMonths;e.utc=function(t){function n(t){try{hs=Rt;var e=new hs;return e._=t,i(e)}finally{hs=Date}}var i=e(t);return n.parse=function(t){try{hs=Rt;var e=i.parse(t);return e&&e._}finally{hs=Date}},n.toString=i.toString,n},e.multi=e.utc.multi=se;var b=na.map(),x=$t(g),w=Ut(g),S=$t(m),_=Ut(m),C=$t(v),M=Ut(v),k=$t(y),T=Ut(y);p.forEach(function(t,e){b.set(t.toLowerCase(),e)});var D={a:function(t){return m[t.getDay()]},A:function(t){return g[t.getDay()]},b:function(t){return y[t.getMonth()]},B:function(t){return v[t.getMonth()]},c:e(h),d:function(t,e){return Wt(t.getDate(),e,2)},e:function(t,e){return Wt(t.getDate(),e,2)},H:function(t,e){return Wt(t.getHours(),e,2); 8 },I:function(t,e){return Wt(t.getHours()%12||12,e,2)},j:function(t,e){return Wt(1+cs.dayOfYear(t),e,3)},L:function(t,e){return Wt(t.getMilliseconds(),e,3)},m:function(t,e){return Wt(t.getMonth()+1,e,2)},M:function(t,e){return Wt(t.getMinutes(),e,2)},p:function(t){return p[+(t.getHours()>=12)]},S:function(t,e){return Wt(t.getSeconds(),e,2)},U:function(t,e){return Wt(cs.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return Wt(cs.mondayOfYear(t),e,2)},x:e(d),X:e(f),y:function(t,e){return Wt(t.getFullYear()%100,e,2)},Y:function(t,e){return Wt(t.getFullYear()%1e4,e,4)},Z:oe,"%":function(){return"%"}},A={a:i,A:r,b:o,B:a,c:s,d:Qt,e:Qt,H:ee,I:ee,j:te,L:re,m:Jt,M:ne,p:c,S:ie,U:Yt,w:qt,W:Gt,x:l,X:u,y:Vt,Y:Xt,Z:Zt,"%":ae};return e}function Wt(t,e,n){var i=0>t?"-":"",r=(i?-t:t)+"",o=r.length;return i+(n>o?new Array(n-o+1).join(e)+r:r)}function $t(t){return new RegExp("^(?:"+t.map(na.requote).join("|")+")","i")}function Ut(t){for(var e=new s,n=-1,i=t.length;++n<i;)e.set(t[n].toLowerCase(),n);return e}function qt(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function Yt(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n));return i?(t.U=+i[0],n+i[0].length):-1}function Gt(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n));return i?(t.W=+i[0],n+i[0].length):-1}function Xt(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function Vt(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+2));return i?(t.y=Kt(+i[0]),n+i[0].length):-1}function Zt(t,e,n){return/^[+-]\d{4}$/.test(e=e.slice(n,n+5))?(t.Z=-e,n+5):-1}function Kt(t){return t+(t>68?1900:2e3)}function Jt(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function Qt(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function te(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+3));return i?(t.j=+i[0],n+i[0].length):-1}function ee(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function ne(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function ie(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function re(t,e,n){ps.lastIndex=0;var i=ps.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function oe(t){var e=t.getTimezoneOffset(),n=e>0?"-":"+",i=0|pa(e)/60,r=pa(e)%60;return n+Wt(i,"0",2)+Wt(r,"0",2)}function ae(t,e,n){gs.lastIndex=0;var i=gs.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function se(t){for(var e=t.length,n=-1;++n<e;)t[n][0]=this(t[n][0]);return function(e){for(var n=0,i=t[n];!i[1](e);)i=t[++n];return i[0](e)}}function le(){}function ue(t,e,n){var i=n.s=t+e,r=i-t,o=i-r;n.t=t-o+(e-r)}function ce(t,e){t&&bs.hasOwnProperty(t.type)&&bs[t.type](t,e)}function he(t,e,n){var i,r=-1,o=t.length-n;for(e.lineStart();++r<o;)i=t[r],e.point(i[0],i[1],i[2]);e.lineEnd()}function de(t,e){var n=-1,i=t.length;for(e.polygonStart();++n<i;)he(t[n],e,1);e.polygonEnd()}function fe(){function t(t,e){t*=Ra,e=e*Ra/2+Na/4;var n=t-i,a=n>=0?1:-1,s=a*n,l=Math.cos(e),u=Math.sin(e),c=o*u,h=r*l+c*Math.cos(s),d=c*a*Math.sin(s);ws.add(Math.atan2(d,h)),i=t,r=l,o=u}var e,n,i,r,o;Ss.point=function(a,s){Ss.point=t,i=(e=a)*Ra,r=Math.cos(s=(n=s)*Ra/2+Na/4),o=Math.sin(s)},Ss.lineEnd=function(){t(e,n)}}function pe(t){var e=t[0],n=t[1],i=Math.cos(n);return[i*Math.cos(e),i*Math.sin(e),Math.sin(n)]}function ge(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function me(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function ve(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function ye(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function be(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function xe(t){return[Math.atan2(t[1],t[0]),tt(t[2])]}function we(t,e){return pa(t[0]-e[0])<Oa&&pa(t[1]-e[1])<Oa}function Se(t,e){t*=Ra;var n=Math.cos(e*=Ra);_e(n*Math.cos(t),n*Math.sin(t),Math.sin(e))}function _e(t,e,n){++_s,Ms+=(t-Ms)/_s,ks+=(e-ks)/_s,Ts+=(n-Ts)/_s}function Ce(){function t(t,r){t*=Ra;var o=Math.cos(r*=Ra),a=o*Math.cos(t),s=o*Math.sin(t),l=Math.sin(r),u=Math.atan2(Math.sqrt((u=n*l-i*s)*u+(u=i*a-e*l)*u+(u=e*s-n*a)*u),e*a+n*s+i*l);Cs+=u,Ds+=u*(e+(e=a)),As+=u*(n+(n=s)),Es+=u*(i+(i=l)),_e(e,n,i)}var e,n,i;Ns.point=function(r,o){r*=Ra;var a=Math.cos(o*=Ra);e=a*Math.cos(r),n=a*Math.sin(r),i=Math.sin(o),Ns.point=t,_e(e,n,i)}}function Me(){Ns.point=Se}function ke(){function t(t,e){t*=Ra;var n=Math.cos(e*=Ra),a=n*Math.cos(t),s=n*Math.sin(t),l=Math.sin(e),u=r*l-o*s,c=o*a-i*l,h=i*s-r*a,d=Math.sqrt(u*u+c*c+h*h),f=i*a+r*s+o*l,p=d&&-Q(f)/d,g=Math.atan2(d,f);Ps+=p*u,Os+=p*c,Ls+=p*h,Cs+=g,Ds+=g*(i+(i=a)),As+=g*(r+(r=s)),Es+=g*(o+(o=l)),_e(i,r,o)}var e,n,i,r,o;Ns.point=function(a,s){e=a,n=s,Ns.point=t,a*=Ra;var l=Math.cos(s*=Ra);i=l*Math.cos(a),r=l*Math.sin(a),o=Math.sin(s),_e(i,r,o)},Ns.lineEnd=function(){t(e,n),Ns.lineEnd=Me,Ns.point=Se}}function Te(t,e){function n(n,i){return n=t(n,i),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,i){return n=e.invert(n,i),n&&t.invert(n[0],n[1])}),n}function De(){return!0}function Ae(t,e,n,i,r){var o=[],a=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n=t[0],i=t[e];if(we(n,i)){r.lineStart();for(var s=0;e>s;++s)r.point((n=t[s])[0],n[1]);return void r.lineEnd()}var l=new Pe(n,t,null,(!0)),u=new Pe(n,null,l,(!1));l.o=u,o.push(l),a.push(u),l=new Pe(i,t,null,(!1)),u=new Pe(i,null,l,(!0)),l.o=u,o.push(l),a.push(u)}}),a.sort(e),Ee(o),Ee(a),o.length){for(var s=0,l=n,u=a.length;u>s;++s)a[s].e=l=!l;for(var c,h,d=o[0];;){for(var f=d,p=!0;f.v;)if((f=f.n)===d)return;c=f.z,r.lineStart();do{if(f.v=f.o.v=!0,f.e){if(p)for(var s=0,u=c.length;u>s;++s)r.point((h=c[s])[0],h[1]);else i(f.x,f.n.x,1,r);f=f.n}else{if(p){c=f.p.z;for(var s=c.length-1;s>=0;--s)r.point((h=c[s])[0],h[1])}else i(f.x,f.p.x,-1,r);f=f.p}f=f.o,c=f.z,p=!p}while(!f.v);r.lineEnd()}}}function Ee(t){if(e=t.length){for(var e,n,i=0,r=t[0];++i<e;)r.n=n=t[i],n.p=r,r=n;r.n=n=t[0],n.p=r}}function Pe(t,e,n,i){this.x=t,this.z=e,this.o=n,this.e=i,this.v=!1,this.n=this.p=null}function Oe(t,e,n,i){return function(r,o){function a(e,n){var i=r(e,n);t(e=i[0],n=i[1])&&o.point(e,n)}function s(t,e){var n=r(t,e);m.point(n[0],n[1])}function l(){y.point=s,m.lineStart()}function u(){y.point=a,m.lineEnd()}function c(t,e){g.push([t,e]);var n=r(t,e);x.point(n[0],n[1])}function h(){x.lineStart(),g=[]}function d(){c(g[0][0],g[0][1]),x.lineEnd();var t,e=x.clean(),n=b.buffer(),i=n.length;if(g.pop(),p.push(g),g=null,i)if(1&e){t=n[0];var r,i=t.length-1,a=-1;if(i>0){for(w||(o.polygonStart(),w=!0),o.lineStart();++a<i;)o.point((r=t[a])[0],r[1]);o.lineEnd()}}else i>1&&2&e&&n.push(n.pop().concat(n.shift())),f.push(n.filter(Le))}var f,p,g,m=e(o),v=r.invert(i[0],i[1]),y={point:a,lineStart:l,lineEnd:u,polygonStart:function(){y.point=c,y.lineStart=h,y.lineEnd=d,f=[],p=[]},polygonEnd:function(){y.point=a,y.lineStart=l,y.lineEnd=u,f=na.merge(f);var t=He(v,p);f.length?(w||(o.polygonStart(),w=!0),Ae(f,Ie,t,n,o)):t&&(w||(o.polygonStart(),w=!0),o.lineStart(),n(null,null,1,o),o.lineEnd()),w&&(o.polygonEnd(),w=!1),f=p=null},sphere:function(){o.polygonStart(),o.lineStart(),n(null,null,1,o),o.lineEnd(),o.polygonEnd()}},b=Ne(),x=e(b),w=!1;return y}}function Le(t){return t.length>1}function Ne(){var t,e=[];return{lineStart:function(){e.push(t=[])},point:function(e,n){t.push([e,n])},lineEnd:y,buffer:function(){var n=e;return e=[],t=null,n},rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))}}}function Ie(t,e){return((t=t.x)[0]<0?t[1]-Fa-Oa:Fa-t[1])-((e=e.x)[0]<0?e[1]-Fa-Oa:Fa-e[1])}function je(t){var e,n=NaN,i=NaN,r=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?Na:-Na,l=pa(o-n);pa(l-Na)<Oa?(t.point(n,i=(i+a)/2>0?Fa:-Fa),t.point(r,i),t.lineEnd(),t.lineStart(),t.point(s,i),t.point(o,i),e=0):r!==s&&l>=Na&&(pa(n-r)<Oa&&(n-=r*Oa),pa(o-s)<Oa&&(o-=s*Oa),i=Fe(n,i,o,a),t.point(r,i),t.lineEnd(),t.lineStart(),t.point(s,i),e=0),t.point(n=o,i=a),r=s},lineEnd:function(){t.lineEnd(),n=i=NaN},clean:function(){return 2-e}}}function Fe(t,e,n,i){var r,o,a=Math.sin(t-n);return pa(a)>Oa?Math.atan((Math.sin(e)*(o=Math.cos(i))*Math.sin(n)-Math.sin(i)*(r=Math.cos(e))*Math.sin(t))/(r*o*a)):(e+i)/2}function Re(t,e,n,i){var r;if(null==t)r=n*Fa,i.point(-Na,r),i.point(0,r),i.point(Na,r),i.point(Na,0),i.point(Na,-r),i.point(0,-r),i.point(-Na,-r),i.point(-Na,0),i.point(-Na,r);else if(pa(t[0]-e[0])>Oa){var o=t[0]<e[0]?Na:-Na;r=n*o/2,i.point(-o,r),i.point(0,r),i.point(o,r)}else i.point(e[0],e[1])}function He(t,e){var n=t[0],i=t[1],r=[Math.sin(n),-Math.cos(n),0],o=0,a=0;ws.reset();for(var s=0,l=e.length;l>s;++s){var u=e[s],c=u.length;if(c)for(var h=u[0],d=h[0],f=h[1]/2+Na/4,p=Math.sin(f),g=Math.cos(f),m=1;;){m===c&&(m=0),t=u[m];var v=t[0],y=t[1]/2+Na/4,b=Math.sin(y),x=Math.cos(y),w=v-d,S=w>=0?1:-1,_=S*w,C=_>Na,M=p*b;if(ws.add(Math.atan2(M*S*Math.sin(_),g*x+M*Math.cos(_))),o+=C?w+S*Ia:w,C^d>=n^v>=n){var k=me(pe(h),pe(t));be(k);var T=me(r,k);be(T);var D=(C^w>=0?-1:1)*tt(T[2]);(i>D||i===D&&(k[0]||k[1]))&&(a+=C^w>=0?1:-1)}if(!m++)break;d=v,p=b,g=x,h=t}}return(-Oa>o||Oa>o&&0>ws)^1&a}function ze(t){function e(t,e){return Math.cos(t)*Math.cos(e)>o}function n(t){var n,o,l,u,c;return{lineStart:function(){u=l=!1,c=1},point:function(h,d){var f,p=[h,d],g=e(h,d),m=a?g?0:r(h,d):g?r(h+(0>h?Na:-Na),d):0;if(!n&&(u=l=g)&&t.lineStart(),g!==l&&(f=i(n,p),(we(n,f)||we(p,f))&&(p[0]+=Oa,p[1]+=Oa,g=e(p[0],p[1]))),g!==l)c=0,g?(t.lineStart(),f=i(p,n),t.point(f[0],f[1])):(f=i(n,p),t.point(f[0],f[1]),t.lineEnd()),n=f;else if(s&&n&&a^g){var v;m&o||!(v=i(p,n,!0))||(c=0,a?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1])))}!g||n&&we(n,p)||t.point(p[0],p[1]),n=p,l=g,o=m},lineEnd:function(){l&&t.lineEnd(),n=null},clean:function(){return c|(u&&l)<<1}}}function i(t,e,n){var i=pe(t),r=pe(e),a=[1,0,0],s=me(i,r),l=ge(s,s),u=s[0],c=l-u*u;if(!c)return!n&&t;var h=o*l/c,d=-o*u/c,f=me(a,s),p=ye(a,h),g=ye(s,d);ve(p,g);var m=f,v=ge(p,m),y=ge(m,m),b=v*v-y*(ge(p,p)-1);if(!(0>b)){var x=Math.sqrt(b),w=ye(m,(-v-x)/y);if(ve(w,p),w=xe(w),!n)return w;var S,_=t[0],C=e[0],M=t[1],k=e[1];_>C&&(S=_,_=C,C=S);var T=C-_,D=pa(T-Na)<Oa,A=D||Oa>T;if(!D&&M>k&&(S=M,M=k,k=S),A?D?M+k>0^w[1]<(pa(w[0]-_)<Oa?M:k):M<=w[1]&&w[1]<=k:T>Na^(_<=w[0]&&w[0]<=C)){var E=ye(m,(-v+x)/y);return ve(E,p),[w,xe(E)]}}}function r(e,n){var i=a?t:Na-t,r=0;return-i>e?r|=1:e>i&&(r|=2),-i>n?r|=4:n>i&&(r|=8),r}var o=Math.cos(t),a=o>0,s=pa(o)>Oa,l=pn(t,6*Ra);return Oe(e,n,l,a?[0,-t]:[-Na,t-Na])}function Be(t,e,n,i){return function(r){var o,a=r.a,s=r.b,l=a.x,u=a.y,c=s.x,h=s.y,d=0,f=1,p=c-l,g=h-u;if(o=t-l,p||!(o>0)){if(o/=p,0>p){if(d>o)return;f>o&&(f=o)}else if(p>0){if(o>f)return;o>d&&(d=o)}if(o=n-l,p||!(0>o)){if(o/=p,0>p){if(o>f)return;o>d&&(d=o)}else if(p>0){if(d>o)return;f>o&&(f=o)}if(o=e-u,g||!(o>0)){if(o/=g,0>g){if(d>o)return;f>o&&(f=o)}else if(g>0){if(o>f)return;o>d&&(d=o)}if(o=i-u,g||!(0>o)){if(o/=g,0>g){if(o>f)return;o>d&&(d=o)}else if(g>0){if(d>o)return;f>o&&(f=o)}return d>0&&(r.a={x:l+d*p,y:u+d*g}),1>f&&(r.b={x:l+f*p,y:u+f*g}),r}}}}}}function We(t,e,n,i){function r(i,r){return pa(i[0]-t)<Oa?r>0?0:3:pa(i[0]-n)<Oa?r>0?2:1:pa(i[1]-e)<Oa?r>0?1:0:r>0?3:2}function o(t,e){return a(t.x,e.x)}function a(t,e){var n=r(t,1),i=r(e,1);return n!==i?n-i:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(s){function l(t){for(var e=0,n=m.length,i=t[1],r=0;n>r;++r)for(var o,a=1,s=m[r],l=s.length,u=s[0];l>a;++a)o=s[a],u[1]<=i?o[1]>i&&J(u,o,t)>0&&++e:o[1]<=i&&J(u,o,t)<0&&--e,u=o;return 0!==e}function u(o,s,l,u){var c=0,h=0;if(null==o||(c=r(o,l))!==(h=r(s,l))||a(o,s)<0^l>0){do u.point(0===c||3===c?t:n,c>1?i:e);while((c=(c+l+4)%4)!==h)}else u.point(s[0],s[1])}function c(r,o){return r>=t&&n>=r&&o>=e&&i>=o}function h(t,e){c(t,e)&&s.point(t,e)}function d(){A.point=p,m&&m.push(v=[]),C=!0,_=!1,w=S=NaN}function f(){g&&(p(y,b),x&&_&&T.rejoin(),g.push(T.buffer())),A.point=h,_&&s.lineEnd()}function p(t,e){t=Math.max(-js,Math.min(js,t)),e=Math.max(-js,Math.min(js,e));var n=c(t,e);if(m&&v.push([t,e]),C)y=t,b=e,x=n,C=!1,n&&(s.lineStart(),s.point(t,e));else if(n&&_)s.point(t,e);else{var i={a:{x:w,y:S},b:{x:t,y:e}};D(i)?(_||(s.lineStart(),s.point(i.a.x,i.a.y)),s.point(i.b.x,i.b.y),n||s.lineEnd(),M=!1):n&&(s.lineStart(),s.point(t,e),M=!1)}w=t,S=e,_=n}var g,m,v,y,b,x,w,S,_,C,M,k=s,T=Ne(),D=Be(t,e,n,i),A={point:h,lineStart:d,lineEnd:f,polygonStart:function(){s=T,g=[],m=[],M=!0},polygonEnd:function(){s=k,g=na.merge(g);var e=l([t,i]),n=M&&e,r=g.length;(n||r)&&(s.polygonStart(),n&&(s.lineStart(),u(null,null,1,s),s.lineEnd()),r&&Ae(g,o,e,u,s),s.polygonEnd()),g=m=v=null}};return A}}function $e(t){var e=0,n=Na/3,i=an(t),r=i(e,n);return r.parallels=function(t){return arguments.length?i(e=t[0]*Na/180,n=t[1]*Na/180):[180*(e/Na),180*(n/Na)]},r}function Ue(t,e){function n(t,e){var n=Math.sqrt(o-2*r*Math.sin(e))/r;return[n*Math.sin(t*=r),a-n*Math.cos(t)]}var i=Math.sin(t),r=(i+Math.sin(e))/2,o=1+i*(2*r-i),a=Math.sqrt(o)/r;return n.invert=function(t,e){var n=a-e;return[Math.atan2(t,n)/r,tt((o-(t*t+n*n)*r*r)/(2*r))]},n}function qe(){function t(t,e){Rs+=r*t-i*e,i=t,r=e}var e,n,i,r;$s.point=function(o,a){$s.point=t,e=i=o,n=r=a},$s.lineEnd=function(){t(e,n)}}function Ye(t,e){Hs>t&&(Hs=t),t>Bs&&(Bs=t),zs>e&&(zs=e),e>Ws&&(Ws=e)}function Ge(){function t(t,e){a.push("M",t,",",e,o)}function e(t,e){a.push("M",t,",",e),s.point=n}function n(t,e){a.push("L",t,",",e)}function i(){s.point=t}function r(){a.push("Z")}var o=Xe(4.5),a=[],s={point:t,lineStart:function(){s.point=e},lineEnd:i,polygonStart:function(){s.lineEnd=r},polygonEnd:function(){s.lineEnd=i,s.point=t},pointRadius:function(t){return o=Xe(t),s},result:function(){if(a.length){var t=a.join("");return a=[],t}}};return s}function Xe(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Ve(t,e){Ms+=t,ks+=e,++Ts}function Ze(){function t(t,i){var r=t-e,o=i-n,a=Math.sqrt(r*r+o*o);Ds+=a*(e+t)/2,As+=a*(n+i)/2,Es+=a,Ve(e=t,n=i)}var e,n;qs.point=function(i,r){qs.point=t,Ve(e=i,n=r)}}function Ke(){qs.point=Ve}function Je(){function t(t,e){var n=t-i,o=e-r,a=Math.sqrt(n*n+o*o);Ds+=a*(i+t)/2,As+=a*(r+e)/2,Es+=a,a=r*t-i*e,Ps+=a*(i+t),Os+=a*(r+e),Ls+=3*a,Ve(i=t,r=e)}var e,n,i,r;qs.point=function(o,a){qs.point=t,Ve(e=i=o,n=r=a)},qs.lineEnd=function(){t(e,n)}}function Qe(t){function e(e,n){t.moveTo(e+a,n),t.arc(e,n,a,0,Ia)}function n(e,n){t.moveTo(e,n),s.point=i}function i(e,n){t.lineTo(e,n)}function r(){s.point=e}function o(){t.closePath()}var a=4.5,s={point:e,lineStart:function(){s.point=n},lineEnd:r,polygonStart:function(){s.lineEnd=o},polygonEnd:function(){s.lineEnd=r,s.point=e},pointRadius:function(t){return a=t,s},result:y};return s}function tn(t){function e(t){return(s?i:n)(t)}function n(e){return rn(e,function(n,i){n=t(n,i),e.point(n[0],n[1])})}function i(e){function n(n,i){n=t(n,i),e.point(n[0],n[1])}function i(){b=NaN,C.point=o,e.lineStart()}function o(n,i){var o=pe([n,i]),a=t(n,i);r(b,x,y,w,S,_,b=a[0],x=a[1],y=n,w=o[0],S=o[1],_=o[2],s,e),e.point(b,x)}function a(){C.point=n,e.lineEnd()}function l(){i(),C.point=u,C.lineEnd=c}function u(t,e){o(h=t,d=e),f=b,p=x,g=w,m=S,v=_,C.point=o}function c(){r(b,x,y,w,S,_,f,p,h,g,m,v,s,e),C.lineEnd=a,a()}var h,d,f,p,g,m,v,y,b,x,w,S,_,C={point:n,lineStart:i,lineEnd:a,polygonStart:function(){e.polygonStart(),C.lineStart=l},polygonEnd:function(){e.polygonEnd(),C.lineStart=i}};return C}function r(e,n,i,s,l,u,c,h,d,f,p,g,m,v){var y=c-e,b=h-n,x=y*y+b*b;if(x>4*o&&m--){var w=s+f,S=l+p,_=u+g,C=Math.sqrt(w*w+S*S+_*_),M=Math.asin(_/=C),k=pa(pa(_)-1)<Oa||pa(i-d)<Oa?(i+d)/2:Math.atan2(S,w),T=t(k,M),D=T[0],A=T[1],E=D-e,P=A-n,O=b*E-y*P;(O*O/x>o||pa((y*E+b*P)/x-.5)>.3||a>s*f+l*p+u*g)&&(r(e,n,i,s,l,u,D,A,k,w/=C,S/=C,_,m,v),v.point(D,A),r(D,A,k,w,S,_,c,h,d,f,p,g,m,v))}}var o=.5,a=Math.cos(30*Ra),s=16;return e.precision=function(t){return arguments.length?(s=(o=t*t)>0&&16,e):Math.sqrt(o)},e}function en(t){var e=tn(function(e,n){return t([e*Ha,n*Ha])});return function(t){return sn(e(t))}}function nn(t){this.stream=t}function rn(t,e){return{point:e,sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function on(t){return an(function(){return t})()}function an(t){function e(t){return t=s(t[0]*Ra,t[1]*Ra),[t[0]*d+l,u-t[1]*d]}function n(t){return t=s.invert((t[0]-l)/d,(u-t[1])/d),t&&[t[0]*Ha,t[1]*Ha]}function i(){s=Te(a=cn(v,y,b),o);var t=o(g,m);return l=f-t[0]*d,u=p+t[1]*d,r()}function r(){return c&&(c.valid=!1,c=null),e}var o,a,s,l,u,c,h=tn(function(t,e){return t=o(t,e),[t[0]*d+l,u-t[1]*d]}),d=150,f=480,p=250,g=0,m=0,v=0,y=0,b=0,x=Is,w=kt,S=null,_=null;return e.stream=function(t){return c&&(c.valid=!1),c=sn(x(a,h(w(t)))),c.valid=!0,c},e.clipAngle=function(t){return arguments.length?(x=null==t?(S=t,Is):ze((S=+t)*Ra),r()):S},e.clipExtent=function(t){return arguments.length?(_=t,w=t?We(t[0][0],t[0][1],t[1][0],t[1][1]):kt,r()):_},e.scale=function(t){return arguments.length?(d=+t,i()):d},e.translate=function(t){return arguments.length?(f=+t[0],p=+t[1],i()):[f,p]},e.center=function(t){return arguments.length?(g=t[0]%360*Ra,m=t[1]%360*Ra,i()):[g*Ha,m*Ha]},e.rotate=function(t){return arguments.length?(v=t[0]%360*Ra,y=t[1]%360*Ra,b=t.length>2?t[2]%360*Ra:0,i()):[v*Ha,y*Ha,b*Ha]},na.rebind(e,h,"precision"),function(){return o=t.apply(this,arguments),e.invert=o.invert&&n,i()}}function sn(t){return rn(t,function(e,n){t.point(e*Ra,n*Ra)})}function ln(t,e){return[t,e]}function un(t,e){return[t>Na?t-Ia:-Na>t?t+Ia:t,e]}function cn(t,e,n){return t?e||n?Te(dn(t),fn(e,n)):dn(t):e||n?fn(e,n):un}function hn(t){return function(e,n){return e+=t,[e>Na?e-Ia:-Na>e?e+Ia:e,n]}}function dn(t){var e=hn(t);return e.invert=hn(-t),e}function fn(t,e){function n(t,e){var n=Math.cos(e),s=Math.cos(t)*n,l=Math.sin(t)*n,u=Math.sin(e),c=u*i+s*r;return[Math.atan2(l*o-c*a,s*i-u*r),tt(c*o+l*a)]}var i=Math.cos(t),r=Math.sin(t),o=Math.cos(e),a=Math.sin(e);return n.invert=function(t,e){var n=Math.cos(e),s=Math.cos(t)*n,l=Math.sin(t)*n,u=Math.sin(e),c=u*o-l*a;return[Math.atan2(l*o+u*a,s*i+c*r),tt(c*i-s*r)]},n}function pn(t,e){var n=Math.cos(t),i=Math.sin(t);return function(r,o,a,s){var l=a*e;null!=r?(r=gn(n,r),o=gn(n,o),(a>0?o>r:r>o)&&(r+=a*Ia)):(r=t+a*Ia,o=t-.5*l);for(var u,c=r;a>0?c>o:o>c;c-=l)s.point((u=xe([n,-i*Math.cos(c),-i*Math.sin(c)]))[0],u[1])}}function gn(t,e){var n=pe(e);n[0]-=t,be(n);var i=Q(-n[1]);return((-n[2]<0?-i:i)+2*Math.PI-Oa)%(2*Math.PI)}function mn(t,e,n){var i=na.range(t,e-Oa,n).concat(e);return function(t){return i.map(function(e){return[t,e]})}}function vn(t,e,n){var i=na.range(t,e-Oa,n).concat(e);return function(t){return i.map(function(e){return[e,t]})}}function yn(t){return t.source}function bn(t){return t.target}function xn(t,e,n,i){var r=Math.cos(e),o=Math.sin(e),a=Math.cos(i),s=Math.sin(i),l=r*Math.cos(t),u=r*Math.sin(t),c=a*Math.cos(n),h=a*Math.sin(n),d=2*Math.asin(Math.sqrt(rt(i-e)+r*a*rt(n-t))),f=1/Math.sin(d),p=d?function(t){var e=Math.sin(t*=d)*f,n=Math.sin(d-t)*f,i=n*l+e*c,r=n*u+e*h,a=n*o+e*s;return[Math.atan2(r,i)*Ha,Math.atan2(a,Math.sqrt(i*i+r*r))*Ha]}:function(){return[t*Ha,e*Ha]};return p.distance=d,p}function wn(){function t(t,r){var o=Math.sin(r*=Ra),a=Math.cos(r),s=pa((t*=Ra)-e),l=Math.cos(s);Ys+=Math.atan2(Math.sqrt((s=a*Math.sin(s))*s+(s=i*o-n*a*l)*s),n*o+i*a*l),e=t,n=o,i=a}var e,n,i;Gs.point=function(r,o){e=r*Ra,n=Math.sin(o*=Ra),i=Math.cos(o),Gs.point=t},Gs.lineEnd=function(){Gs.point=Gs.lineEnd=y}}function Sn(t,e){function n(e,n){var i=Math.cos(e),r=Math.cos(n),o=t(i*r);return[o*r*Math.sin(e),o*Math.sin(n)]}return n.invert=function(t,n){var i=Math.sqrt(t*t+n*n),r=e(i),o=Math.sin(r),a=Math.cos(r);return[Math.atan2(t*o,i*a),Math.asin(i&&n*o/i)]},n}function _n(t,e){function n(t,e){a>0?-Fa+Oa>e&&(e=-Fa+Oa):e>Fa-Oa&&(e=Fa-Oa);var n=a/Math.pow(r(e),o);return[n*Math.sin(o*t),a-n*Math.cos(o*t)]}var i=Math.cos(t),r=function(t){return Math.tan(Na/4+t/2)},o=t===e?Math.sin(t):Math.log(i/Math.cos(e))/Math.log(r(e)/r(t)),a=i*Math.pow(r(t),o)/o;return o?(n.invert=function(t,e){var n=a-e,i=K(o)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/o,2*Math.atan(Math.pow(a/i,1/o))-Fa]},n):Mn}function Cn(t,e){function n(t,e){var n=o-e;return[n*Math.sin(r*t),o-n*Math.cos(r*t)]}var i=Math.cos(t),r=t===e?Math.sin(t):(i-Math.cos(e))/(e-t),o=i/r+t;return pa(r)<Oa?ln:(n.invert=function(t,e){var n=o-e;return[Math.atan2(t,n)/r,o-K(r)*Math.sqrt(t*t+n*n)]},n)}function Mn(t,e){return[t,Math.log(Math.tan(Na/4+e/2))]}function kn(t){var e,n=on(t),i=n.scale,r=n.translate,o=n.clipExtent;return n.scale=function(){var t=i.apply(n,arguments);return t===n?e?n.clipExtent(null):n:t},n.translate=function(){var t=r.apply(n,arguments);return t===n?e?n.clipExtent(null):n:t},n.clipExtent=function(t){var a=o.apply(n,arguments);if(a===n){if(e=null==t){var s=Na*i(),l=r();o([[l[0]-s,l[1]-s],[l[0]+s,l[1]+s]])}}else e&&(a=null);return a},n.clipExtent(null)}function Tn(t,e){return[Math.log(Math.tan(Na/4+e/2)),-t]}function Dn(t){return t[0]}function An(t){return t[1]}function En(t){for(var e=t.length,n=[0,1],i=2,r=2;e>r;r++){for(;i>1&&J(t[n[i-2]],t[n[i-1]],t[r])<=0;)--i;n[i++]=r}return n.slice(0,i)}function Pn(t,e){return t[0]-e[0]||t[1]-e[1]}function On(t,e,n){return(n[0]-e[0])*(t[1]-e[1])<(n[1]-e[1])*(t[0]-e[0])}function Ln(t,e,n,i){var r=t[0],o=n[0],a=e[0]-r,s=i[0]-o,l=t[1],u=n[1],c=e[1]-l,h=i[1]-u,d=(s*(l-u)-h*(r-o))/(h*a-s*c);return[r+d*a,l+d*c]}function Nn(t){var e=t[0],n=t[t.length-1];return!(e[0]-n[0]||e[1]-n[1])}function In(){ni(this),this.edge=this.site=this.circle=null}function jn(t){var e=ol.pop()||new In;return e.site=t,e}function Fn(t){Gn(t),nl.remove(t),ol.push(t),ni(t)}function Rn(t){var e=t.circle,n=e.x,i=e.cy,r={x:n,y:i},o=t.P,a=t.N,s=[t];Fn(t);for(var l=o;l.circle&&pa(n-l.circle.x)<Oa&&pa(i-l.circle.cy)<Oa;)o=l.P,s.unshift(l),Fn(l),l=o;s.unshift(l),Gn(l);for(var u=a;u.circle&&pa(n-u.circle.x)<Oa&&pa(i-u.circle.cy)<Oa;)a=u.N,s.push(u),Fn(u),u=a;s.push(u),Gn(u);var c,h=s.length;for(c=1;h>c;++c)u=s[c],l=s[c-1],Qn(u.edge,l.site,u.site,r);l=s[0],u=s[h-1],u.edge=Kn(l.site,u.site,null,r),Yn(l),Yn(u)}function Hn(t){for(var e,n,i,r,o=t.x,a=t.y,s=nl._;s;)if(i=zn(s,a)-o,i>Oa)s=s.L;else{if(r=o-Bn(s,a),!(r>Oa)){i>-Oa?(e=s.P,n=s):r>-Oa?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}var l=jn(t);if(nl.insert(e,l),e||n){if(e===n)return Gn(e),n=jn(e.site),nl.insert(l,n),l.edge=n.edge=Kn(e.site,l.site),Yn(e),void Yn(n);if(!n)return void(l.edge=Kn(e.site,l.site));Gn(e),Gn(n);var u=e.site,c=u.x,h=u.y,d=t.x-c,f=t.y-h,p=n.site,g=p.x-c,m=p.y-h,v=2*(d*m-f*g),y=d*d+f*f,b=g*g+m*m,x={x:(m*y-f*b)/v+c,y:(d*b-g*y)/v+h};Qn(n.edge,u,p,x),l.edge=Kn(u,t,null,x),n.edge=Kn(t,p,null,x),Yn(e),Yn(n)}}function zn(t,e){var n=t.site,i=n.x,r=n.y,o=r-e;if(!o)return i;var a=t.P;if(!a)return-1/0;n=a.site;var s=n.x,l=n.y,u=l-e;if(!u)return s;var c=s-i,h=1/o-1/u,d=c/u;return h?(-d+Math.sqrt(d*d-2*h*(c*c/(-2*u)-l+u/2+r-o/2)))/h+i:(i+s)/2}function Bn(t,e){var n=t.N;if(n)return zn(n,e);var i=t.site;return i.y===e?i.x:1/0}function Wn(t){this.site=t,this.edges=[]}function $n(t){for(var e,n,i,r,o,a,s,l,u,c,h=t[0][0],d=t[1][0],f=t[0][1],p=t[1][1],g=el,m=g.length;m--;)if(o=g[m],o&&o.prepare())for(s=o.edges,l=s.length,a=0;l>a;)c=s[a].end(),i=c.x,r=c.y,u=s[++a%l].start(),e=u.x,n=u.y,(pa(i-e)>Oa||pa(r-n)>Oa)&&(s.splice(a,0,new ti(Jn(o.site,c,pa(i-h)<Oa&&p-r>Oa?{x:h,y:pa(e-h)<Oa?n:p}:pa(r-p)<Oa&&d-i>Oa?{x:pa(n-p)<Oa?e:d,y:p}:pa(i-d)<Oa&&r-f>Oa?{x:d,y:pa(e-d)<Oa?n:f}:pa(r-f)<Oa&&i-h>Oa?{x:pa(n-f)<Oa?e:h,y:f}:null),o.site,null)),++l)}function Un(t,e){return e.angle-t.angle}function qn(){ni(this),this.x=this.y=this.arc=this.site=this.cy=null}function Yn(t){var e=t.P,n=t.N;if(e&&n){var i=e.site,r=t.site,o=n.site;if(i!==o){var a=r.x,s=r.y,l=i.x-a,u=i.y-s,c=o.x-a,h=o.y-s,d=2*(l*h-u*c);if(!(d>=-La)){var f=l*l+u*u,p=c*c+h*h,g=(h*f-u*p)/d,m=(l*p-c*f)/d,h=m+s,v=al.pop()||new qn;v.arc=t,v.site=r,v.x=g+a,v.y=h+Math.sqrt(g*g+m*m),v.cy=h,t.circle=v;for(var y=null,b=rl._;b;)if(v.y<b.y||v.y===b.y&&v.x<=b.x){if(!b.L){y=b.P;break}b=b.L}else{if(!b.R){y=b;break}b=b.R}rl.insert(y,v),y||(il=v)}}}}function Gn(t){var e=t.circle;e&&(e.P||(il=e.N),rl.remove(e),al.push(e),ni(e),t.circle=null)}function Xn(t){for(var e,n=tl,i=Be(t[0][0],t[0][1],t[1][0],t[1][1]),r=n.length;r--;)e=n[r],(!Vn(e,t)||!i(e)||pa(e.a.x-e.b.x)<Oa&&pa(e.a.y-e.b.y)<Oa)&&(e.a=e.b=null,n.splice(r,1))}function Vn(t,e){var n=t.b;if(n)return!0;var i,r,o=t.a,a=e[0][0],s=e[1][0],l=e[0][1],u=e[1][1],c=t.l,h=t.r,d=c.x,f=c.y,p=h.x,g=h.y,m=(d+p)/2,v=(f+g)/2;if(g===f){if(a>m||m>=s)return;if(d>p){if(o){if(o.y>=u)return}else o={x:m,y:l};n={x:m,y:u}}else{if(o){if(o.y<l)return}else o={x:m,y:u};n={x:m,y:l}}}else if(i=(d-p)/(g-f),r=v-i*m,-1>i||i>1)if(d>p){if(o){if(o.y>=u)return}else o={x:(l-r)/i,y:l};n={x:(u-r)/i,y:u}}else{if(o){if(o.y<l)return}else o={x:(u-r)/i,y:u};n={x:(l-r)/i,y:l}}else if(g>f){if(o){if(o.x>=s)return}else o={x:a,y:i*a+r};n={x:s,y:i*s+r}}else{if(o){if(o.x<a)return}else o={x:s,y:i*s+r};n={x:a,y:i*a+r}}return t.a=o,t.b=n,!0}function Zn(t,e){this.l=t,this.r=e,this.a=this.b=null}function Kn(t,e,n,i){var r=new Zn(t,e);return tl.push(r),n&&Qn(r,t,e,n),i&&Qn(r,e,t,i),el[t.i].edges.push(new ti(r,t,e)),el[e.i].edges.push(new ti(r,e,t)),r}function Jn(t,e,n){var i=new Zn(t,null);return i.a=e,i.b=n,tl.push(i),i}function Qn(t,e,n,i){t.a||t.b?t.l===n?t.b=i:t.a=i:(t.a=i,t.l=e,t.r=n)}function ti(t,e,n){var i=t.a,r=t.b;this.edge=t,this.site=e,this.angle=n?Math.atan2(n.y-e.y,n.x-e.x):t.l===e?Math.atan2(r.x-i.x,i.y-r.y):Math.atan2(i.x-r.x,r.y-i.y)}function ei(){this._=null}function ni(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function ii(t,e){var n=e,i=e.R,r=n.U;r?r.L===n?r.L=i:r.R=i:t._=i,i.U=r,n.U=i,n.R=i.L,n.R&&(n.R.U=n),i.L=n}function ri(t,e){var n=e,i=e.L,r=n.U;r?r.L===n?r.L=i:r.R=i:t._=i,i.U=r,n.U=i,n.L=i.R,n.L&&(n.L.U=n),i.R=n}function oi(t){for(;t.L;)t=t.L;return t}function ai(t,e){var n,i,r,o=t.sort(si).pop();for(tl=[],el=new Array(t.length),nl=new ei,rl=new ei;;)if(r=il,o&&(!r||o.y<r.y||o.y===r.y&&o.x<r.x))(o.x!==n||o.y!==i)&&(el[o.i]=new Wn(o),Hn(o),n=o.x,i=o.y),o=t.pop();else{if(!r)break;Rn(r.arc)}e&&(Xn(e),$n(e));var a={cells:el,edges:tl};return nl=rl=tl=el=null,a}function si(t,e){return e.y-t.y||e.x-t.x}function li(t,e,n){return(t.x-n.x)*(e.y-t.y)-(t.x-e.x)*(n.y-t.y)}function ui(t){return t.x}function ci(t){return t.y}function hi(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function di(t,e,n,i,r,o){if(!t(e,n,i,r,o)){var a=.5*(n+r),s=.5*(i+o),l=e.nodes;l[0]&&di(t,l[0],n,i,a,s),l[1]&&di(t,l[1],a,i,r,s),l[2]&&di(t,l[2],n,s,a,o),l[3]&&di(t,l[3],a,s,r,o)}}function fi(t,e,n,i,r,o,a){var s,l=1/0;return function t(u,c,h,d,f){if(!(c>o||h>a||i>d||r>f)){if(p=u.point){var p,g=e-p[0],m=n-p[1],v=g*g+m*m;if(l>v){var y=Math.sqrt(l=v);i=e-y,r=n-y,o=e+y,a=n+y,s=p}}for(var b=u.nodes,x=.5*(c+d),w=.5*(h+f),S=e>=x,_=n>=w,C=_<<1|S,M=C+4;M>C;++C)if(u=b[3&C])switch(3&C){case 0:t(u,c,h,x,w);break;case 1:t(u,x,h,d,w);break;case 2:t(u,c,w,x,f);break;case 3:t(u,x,w,d,f)}}}(t,i,r,o,a),s}function pi(t,e){t=na.rgb(t),e=na.rgb(e);var n=t.r,i=t.g,r=t.b,o=e.r-n,a=e.g-i,s=e.b-r;return function(t){return"#"+bt(Math.round(n+o*t))+bt(Math.round(i+a*t))+bt(Math.round(r+s*t))}}function gi(t,e){var n,i={},r={};for(n in t)n in e?i[n]=yi(t[n],e[n]):r[n]=t[n];for(n in e)n in t||(r[n]=e[n]);return function(t){for(n in i)r[n]=i[n](t);return r}}function mi(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function vi(t,e){var n,i,r,o=ll.lastIndex=ul.lastIndex=0,a=-1,s=[],l=[];for(t+="",e+="";(n=ll.exec(t))&&(i=ul.exec(e));)(r=i.index)>o&&(r=e.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(n=n[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:mi(n,i)})),o=ul.lastIndex;return o<e.length&&(r=e.slice(o),s[a]?s[a]+=r:s[++a]=r),s.length<2?l[0]?(e=l[0].x,function(t){return e(t)+""}):function(){return e}:(e=l.length,function(t){for(var n,i=0;e>i;++i)s[(n=l[i]).i]=n.x(t);return s.join("")})}function yi(t,e){for(var n,i=na.interpolators.length;--i>=0&&!(n=na.interpolators[i](t,e)););return n}function bi(t,e){var n,i=[],r=[],o=t.length,a=e.length,s=Math.min(t.length,e.length);for(n=0;s>n;++n)i.push(yi(t[n],e[n]));for(;o>n;++n)r[n]=t[n];for(;a>n;++n)r[n]=e[n];return function(t){for(n=0;s>n;++n)r[n]=i[n](t);return r}}function xi(t){return function(e){return 0>=e?0:e>=1?1:t(e)}}function wi(t){return function(e){return 1-t(1-e)}}function Si(t){return function(e){return.5*(.5>e?t(2*e):2-t(2-2*e))}}function _i(t){return t*t}function Ci(t){return t*t*t}function Mi(t){if(0>=t)return 0;if(t>=1)return 1;var e=t*t,n=e*t;return 4*(.5>t?n:3*(t-e)+n-.75)}function ki(t){return function(e){return Math.pow(e,t)}}function Ti(t){return 1-Math.cos(t*Fa)}function Di(t){return Math.pow(2,10*(t-1))}function Ai(t){return 1-Math.sqrt(1-t*t)}function Ei(t,e){var n;return arguments.length<2&&(e=.45),arguments.length?n=e/Ia*Math.asin(1/t):(t=1,n=e/4),function(i){return 1+t*Math.pow(2,-10*i)*Math.sin((i-n)*Ia/e)}}function Pi(t){return t||(t=1.70158),function(e){return e*e*((t+1)*e-t)}}function Oi(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function Li(t,e){t=na.hcl(t),e=na.hcl(e);var n=t.h,i=t.c,r=t.l,o=e.h-n,a=e.c-i,s=e.l-r;return isNaN(a)&&(a=0,i=isNaN(i)?e.c:i),isNaN(o)?(o=0,n=isNaN(n)?e.h:n):o>180?o-=360:-180>o&&(o+=360),function(t){return ut(n+o*t,i+a*t,r+s*t)+""}}function Ni(t,e){t=na.hsl(t),e=na.hsl(e);var n=t.h,i=t.s,r=t.l,o=e.h-n,a=e.s-i,s=e.l-r;return isNaN(a)&&(a=0,i=isNaN(i)?e.s:i),isNaN(o)?(o=0,n=isNaN(n)?e.h:n):o>180?o-=360:-180>o&&(o+=360),function(t){return st(n+o*t,i+a*t,r+s*t)+""}}function Ii(t,e){t=na.lab(t),e=na.lab(e);var n=t.l,i=t.a,r=t.b,o=e.l-n,a=e.a-i,s=e.b-r;return function(t){return ht(n+o*t,i+a*t,r+s*t)+""}}function ji(t,e){return e-=t,function(n){return Math.round(t+e*n)}}function Fi(t){var e=[t.a,t.b],n=[t.c,t.d],i=Hi(e),r=Ri(e,n),o=Hi(zi(n,e,-r))||0;e[0]*n[1]<n[0]*e[1]&&(e[0]*=-1,e[1]*=-1,i*=-1,r*=-1),this.rotate=(i?Math.atan2(e[1],e[0]):Math.atan2(-n[0],n[1]))*Ha,this.translate=[t.e,t.f],this.scale=[i,o],this.skew=o?Math.atan2(r,o)*Ha:0}function Ri(t,e){return t[0]*e[0]+t[1]*e[1]}function Hi(t){var e=Math.sqrt(Ri(t,t));return e&&(t[0]/=e,t[1]/=e),e}function zi(t,e,n){return t[0]+=n*e[0],t[1]+=n*e[1],t}function Bi(t,e){var n,i=[],r=[],o=na.transform(t),a=na.transform(e),s=o.translate,l=a.translate,u=o.rotate,c=a.rotate,h=o.skew,d=a.skew,f=o.scale,p=a.scale;return s[0]!=l[0]||s[1]!=l[1]?(i.push("translate(",null,",",null,")"),r.push({i:1,x:mi(s[0],l[0])},{i:3,x:mi(s[1],l[1])})):l[0]||l[1]?i.push("translate("+l+")"):i.push(""),u!=c?(u-c>180?c+=360:c-u>180&&(u+=360),r.push({i:i.push(i.pop()+"rotate(",null,")")-2,x:mi(u,c)})):c&&i.push(i.pop()+"rotate("+c+")"),h!=d?r.push({i:i.push(i.pop()+"skewX(",null,")")-2,x:mi(h,d)}):d&&i.push(i.pop()+"skewX("+d+")"),f[0]!=p[0]||f[1]!=p[1]?(n=i.push(i.pop()+"scale(",null,",",null,")"),r.push({i:n-4,x:mi(f[0],p[0])},{i:n-2,x:mi(f[1],p[1])})):(1!=p[0]||1!=p[1])&&i.push(i.pop()+"scale("+p+")"),n=r.length,function(t){for(var e,o=-1;++o<n;)i[(e=r[o]).i]=e.x(t);return i.join("")}}function Wi(t,e){return e=(e-=t=+t)||1/e,function(n){return(n-t)/e}}function $i(t,e){return e=(e-=t=+t)||1/e,function(n){return Math.max(0,Math.min(1,(n-t)/e))}}function Ui(t){for(var e=t.source,n=t.target,i=Yi(e,n),r=[e];e!==i;)e=e.parent,r.push(e);for(var o=r.length;n!==i;)r.splice(o,0,n),n=n.parent;return r}function qi(t){for(var e=[],n=t.parent;null!=n;)e.push(t),t=n,n=n.parent;return e.push(t),e}function Yi(t,e){if(t===e)return t;for(var n=qi(t),i=qi(e),r=n.pop(),o=i.pop(),a=null;r===o;)a=r,r=n.pop(),o=i.pop();return a}function Gi(t){t.fixed|=2}function Xi(t){t.fixed&=-7}function Vi(t){t.fixed|=4,t.px=t.x,t.py=t.y}function Zi(t){t.fixed&=-5}function Ki(t,e,n){var i=0,r=0;if(t.charge=0,!t.leaf)for(var o,a=t.nodes,s=a.length,l=-1;++l<s;)o=a[l],null!=o&&(Ki(o,e,n),t.charge+=o.charge,i+=o.charge*o.cx,r+=o.charge*o.cy);if(t.point){t.leaf||(t.point.x+=Math.random()-.5,t.point.y+=Math.random()-.5);var u=e*n[t.point.index]; 9 t.charge+=t.pointCharge=u,i+=u*t.point.x,r+=u*t.point.y}t.cx=i/t.charge,t.cy=r/t.charge}function Ji(t,e){return na.rebind(t,e,"sort","children","value"),t.nodes=t,t.links=rr,t}function Qi(t,e){for(var n=[t];null!=(t=n.pop());)if(e(t),(r=t.children)&&(i=r.length))for(var i,r;--i>=0;)n.push(r[i])}function tr(t,e){for(var n=[t],i=[];null!=(t=n.pop());)if(i.push(t),(o=t.children)&&(r=o.length))for(var r,o,a=-1;++a<r;)n.push(o[a]);for(;null!=(t=i.pop());)e(t)}function er(t){return t.children}function nr(t){return t.value}function ir(t,e){return e.value-t.value}function rr(t){return na.merge(t.map(function(t){return(t.children||[]).map(function(e){return{source:t,target:e}})}))}function or(t){return t.x}function ar(t){return t.y}function sr(t,e,n){t.y0=e,t.y=n}function lr(t){return na.range(t.length)}function ur(t){for(var e=-1,n=t[0].length,i=[];++e<n;)i[e]=0;return i}function cr(t){for(var e,n=1,i=0,r=t[0][1],o=t.length;o>n;++n)(e=t[n][1])>r&&(i=n,r=e);return i}function hr(t){return t.reduce(dr,0)}function dr(t,e){return t+e[1]}function fr(t,e){return pr(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function pr(t,e){for(var n=-1,i=+t[0],r=(t[1]-i)/e,o=[];++n<=e;)o[n]=r*n+i;return o}function gr(t){return[na.min(t),na.max(t)]}function mr(t,e){return t.value-e.value}function vr(t,e){var n=t._pack_next;t._pack_next=e,e._pack_prev=t,e._pack_next=n,n._pack_prev=e}function yr(t,e){t._pack_next=e,e._pack_prev=t}function br(t,e){var n=e.x-t.x,i=e.y-t.y,r=t.r+e.r;return.999*r*r>n*n+i*i}function xr(t){function e(t){c=Math.min(t.x-t.r,c),h=Math.max(t.x+t.r,h),d=Math.min(t.y-t.r,d),f=Math.max(t.y+t.r,f)}if((n=t.children)&&(u=n.length)){var n,i,r,o,a,s,l,u,c=1/0,h=-1/0,d=1/0,f=-1/0;if(n.forEach(wr),i=n[0],i.x=-i.r,i.y=0,e(i),u>1&&(r=n[1],r.x=r.r,r.y=0,e(r),u>2))for(o=n[2],Cr(i,r,o),e(o),vr(i,o),i._pack_prev=o,vr(o,r),r=i._pack_next,a=3;u>a;a++){Cr(i,r,o=n[a]);var p=0,g=1,m=1;for(s=r._pack_next;s!==r;s=s._pack_next,g++)if(br(s,o)){p=1;break}if(1==p)for(l=i._pack_prev;l!==s._pack_prev&&!br(l,o);l=l._pack_prev,m++);p?(m>g||g==m&&r.r<i.r?yr(i,r=s):yr(i=l,r),a--):(vr(i,o),r=o,e(o))}var v=(c+h)/2,y=(d+f)/2,b=0;for(a=0;u>a;a++)o=n[a],o.x-=v,o.y-=y,b=Math.max(b,o.r+Math.sqrt(o.x*o.x+o.y*o.y));t.r=b,n.forEach(Sr)}}function wr(t){t._pack_next=t._pack_prev=t}function Sr(t){delete t._pack_next,delete t._pack_prev}function _r(t,e,n,i){var r=t.children;if(t.x=e+=i*t.x,t.y=n+=i*t.y,t.r*=i,r)for(var o=-1,a=r.length;++o<a;)_r(r[o],e,n,i)}function Cr(t,e,n){var i=t.r+n.r,r=e.x-t.x,o=e.y-t.y;if(i&&(r||o)){var a=e.r+n.r,s=r*r+o*o;a*=a,i*=i;var l=.5+(i-a)/(2*s),u=Math.sqrt(Math.max(0,2*a*(i+s)-(i-=s)*i-a*a))/(2*s);n.x=t.x+l*r+u*o,n.y=t.y+l*o-u*r}else n.x=t.x+i,n.y=t.y}function Mr(t,e){return t.parent==e.parent?1:2}function kr(t){var e=t.children;return e.length?e[0]:t.t}function Tr(t){var e,n=t.children;return(e=n.length)?n[e-1]:t.t}function Dr(t,e,n){var i=n/(e.i-t.i);e.c-=i,e.s+=n,t.c+=i,e.z+=n,e.m+=n}function Ar(t){for(var e,n=0,i=0,r=t.children,o=r.length;--o>=0;)e=r[o],e.z+=n,e.m+=n,n+=e.s+(i+=e.c)}function Er(t,e,n){return t.a.parent===e.parent?t.a:n}function Pr(t){return 1+na.max(t,function(t){return t.y})}function Or(t){return t.reduce(function(t,e){return t+e.x},0)/t.length}function Lr(t){var e=t.children;return e&&e.length?Lr(e[0]):t}function Nr(t){var e,n=t.children;return n&&(e=n.length)?Nr(n[e-1]):t}function Ir(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function jr(t,e){var n=t.x+e[3],i=t.y+e[0],r=t.dx-e[1]-e[3],o=t.dy-e[0]-e[2];return 0>r&&(n+=r/2,r=0),0>o&&(i+=o/2,o=0),{x:n,y:i,dx:r,dy:o}}function Fr(t){var e=t[0],n=t[t.length-1];return n>e?[e,n]:[n,e]}function Rr(t){return t.rangeExtent?t.rangeExtent():Fr(t.range())}function Hr(t,e,n,i){var r=n(t[0],t[1]),o=i(e[0],e[1]);return function(t){return o(r(t))}}function zr(t,e){var n,i=0,r=t.length-1,o=t[i],a=t[r];return o>a&&(n=i,i=r,r=n,n=o,o=a,a=n),t[i]=e.floor(o),t[r]=e.ceil(a),t}function Br(t){return t?{floor:function(e){return Math.floor(e/t)*t},ceil:function(e){return Math.ceil(e/t)*t}}:xl}function Wr(t,e,n,i){var r=[],o=[],a=0,s=Math.min(t.length,e.length)-1;for(t[s]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<=s;)r.push(n(t[a-1],t[a])),o.push(i(e[a-1],e[a]));return function(e){var n=na.bisect(t,e,1,s)-1;return o[n](r[n](e))}}function $r(t,e,n,i){function r(){var r=Math.min(t.length,e.length)>2?Wr:Hr,l=i?$i:Wi;return a=r(t,e,l,n),s=r(e,t,l,yi),o}function o(t){return a(t)}var a,s;return o.invert=function(t){return s(t)},o.domain=function(e){return arguments.length?(t=e.map(Number),r()):t},o.range=function(t){return arguments.length?(e=t,r()):e},o.rangeRound=function(t){return o.range(t).interpolate(ji)},o.clamp=function(t){return arguments.length?(i=t,r()):i},o.interpolate=function(t){return arguments.length?(n=t,r()):n},o.ticks=function(e){return Gr(t,e)},o.tickFormat=function(e,n){return Xr(t,e,n)},o.nice=function(e){return qr(t,e),r()},o.copy=function(){return $r(t,e,n,i)},r()}function Ur(t,e){return na.rebind(t,e,"range","rangeRound","interpolate","clamp")}function qr(t,e){return zr(t,Br(Yr(t,e)[2]))}function Yr(t,e){null==e&&(e=10);var n=Fr(t),i=n[1]-n[0],r=Math.pow(10,Math.floor(Math.log(i/e)/Math.LN10)),o=e/i*r;return.15>=o?r*=10:.35>=o?r*=5:.75>=o&&(r*=2),n[0]=Math.ceil(n[0]/r)*r,n[1]=Math.floor(n[1]/r)*r+.5*r,n[2]=r,n}function Gr(t,e){return na.range.apply(na,Yr(t,e))}function Xr(t,e,n){var i=Yr(t,e);if(n){var r=ls.exec(n);if(r.shift(),"s"===r[8]){var o=na.formatPrefix(Math.max(pa(i[0]),pa(i[1])));return r[7]||(r[7]="."+Vr(o.scale(i[2]))),r[8]="f",n=na.format(r.join("")),function(t){return n(o.scale(t))+o.symbol}}r[7]||(r[7]="."+Zr(r[8],i)),n=r.join("")}else n=",."+Vr(i[2])+"f";return na.format(n)}function Vr(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}function Zr(t,e){var n=Vr(e[2]);return t in wl?Math.abs(n-Vr(Math.max(pa(e[0]),pa(e[1]))))+ +("e"!==t):n-2*("%"===t)}function Kr(t,e,n,i){function r(t){return(n?Math.log(0>t?0:t):-Math.log(t>0?0:-t))/Math.log(e)}function o(t){return n?Math.pow(e,t):-Math.pow(e,-t)}function a(e){return t(r(e))}return a.invert=function(e){return o(t.invert(e))},a.domain=function(e){return arguments.length?(n=e[0]>=0,t.domain((i=e.map(Number)).map(r)),a):i},a.base=function(n){return arguments.length?(e=+n,t.domain(i.map(r)),a):e},a.nice=function(){var e=zr(i.map(r),n?Math:_l);return t.domain(e),i=e.map(o),a},a.ticks=function(){var t=Fr(i),a=[],s=t[0],l=t[1],u=Math.floor(r(s)),c=Math.ceil(r(l)),h=e%1?2:e;if(isFinite(c-u)){if(n){for(;c>u;u++)for(var d=1;h>d;d++)a.push(o(u)*d);a.push(o(u))}else for(a.push(o(u));u++<c;)for(var d=h-1;d>0;d--)a.push(o(u)*d);for(u=0;a[u]<s;u++);for(c=a.length;a[c-1]>l;c--);a=a.slice(u,c)}return a},a.tickFormat=function(t,e){if(!arguments.length)return Sl;arguments.length<2?e=Sl:"function"!=typeof e&&(e=na.format(e));var i,s=Math.max(.1,t/a.ticks().length),l=n?(i=1e-12,Math.ceil):(i=-1e-12,Math.floor);return function(t){return t/o(l(r(t)+i))<=s?e(t):""}},a.copy=function(){return Kr(t.copy(),e,n,i)},Ur(a,t)}function Jr(t,e,n){function i(e){return t(r(e))}var r=Qr(e),o=Qr(1/e);return i.invert=function(e){return o(t.invert(e))},i.domain=function(e){return arguments.length?(t.domain((n=e.map(Number)).map(r)),i):n},i.ticks=function(t){return Gr(n,t)},i.tickFormat=function(t,e){return Xr(n,t,e)},i.nice=function(t){return i.domain(qr(n,t))},i.exponent=function(a){return arguments.length?(r=Qr(e=a),o=Qr(1/e),t.domain(n.map(r)),i):e},i.copy=function(){return Jr(t.copy(),e,n)},Ur(i,t)}function Qr(t){return function(e){return 0>e?-Math.pow(-e,t):Math.pow(e,t)}}function to(t,e){function n(n){return o[((r.get(n)||("range"===e.t?r.set(n,t.push(n)):NaN))-1)%o.length]}function i(e,n){return na.range(t.length).map(function(t){return e+n*t})}var r,o,a;return n.domain=function(i){if(!arguments.length)return t;t=[],r=new s;for(var o,a=-1,l=i.length;++a<l;)r.has(o=i[a])||r.set(o,t.push(o));return n[e.t].apply(n,e.a)},n.range=function(t){return arguments.length?(o=t,a=0,e={t:"range",a:arguments},n):o},n.rangePoints=function(r,s){arguments.length<2&&(s=0);var l=r[0],u=r[1],c=t.length<2?(l=(l+u)/2,0):(u-l)/(t.length-1+s);return o=i(l+c*s/2,c),a=0,e={t:"rangePoints",a:arguments},n},n.rangeRoundPoints=function(r,s){arguments.length<2&&(s=0);var l=r[0],u=r[1],c=t.length<2?(l=u=Math.round((l+u)/2),0):0|(u-l)/(t.length-1+s);return o=i(l+Math.round(c*s/2+(u-l-(t.length-1+s)*c)/2),c),a=0,e={t:"rangeRoundPoints",a:arguments},n},n.rangeBands=function(r,s,l){arguments.length<2&&(s=0),arguments.length<3&&(l=s);var u=r[1]<r[0],c=r[u-0],h=r[1-u],d=(h-c)/(t.length-s+2*l);return o=i(c+d*l,d),u&&o.reverse(),a=d*(1-s),e={t:"rangeBands",a:arguments},n},n.rangeRoundBands=function(r,s,l){arguments.length<2&&(s=0),arguments.length<3&&(l=s);var u=r[1]<r[0],c=r[u-0],h=r[1-u],d=Math.floor((h-c)/(t.length-s+2*l));return o=i(c+Math.round((h-c-(t.length-s)*d)/2),d),u&&o.reverse(),a=Math.round(d*(1-s)),e={t:"rangeRoundBands",a:arguments},n},n.rangeBand=function(){return a},n.rangeExtent=function(){return Fr(e.a[0])},n.copy=function(){return to(t,e)},n.domain(t)}function eo(i,r){function o(){var t=0,e=r.length;for(s=[];++t<e;)s[t-1]=na.quantile(i,t/e);return a}function a(t){return isNaN(t=+t)?void 0:r[na.bisect(s,t)]}var s;return a.domain=function(r){return arguments.length?(i=r.map(e).filter(n).sort(t),o()):i},a.range=function(t){return arguments.length?(r=t,o()):r},a.quantiles=function(){return s},a.invertExtent=function(t){return t=r.indexOf(t),0>t?[NaN,NaN]:[t>0?s[t-1]:i[0],t<s.length?s[t]:i[i.length-1]]},a.copy=function(){return eo(i,r)},o()}function no(t,e,n){function i(e){return n[Math.max(0,Math.min(a,Math.floor(o*(e-t))))]}function r(){return o=n.length/(e-t),a=n.length-1,i}var o,a;return i.domain=function(n){return arguments.length?(t=+n[0],e=+n[n.length-1],r()):[t,e]},i.range=function(t){return arguments.length?(n=t,r()):n},i.invertExtent=function(e){return e=n.indexOf(e),e=0>e?NaN:e/o+t,[e,e+1/o]},i.copy=function(){return no(t,e,n)},r()}function io(t,e){function n(n){return n>=n?e[na.bisect(t,n)]:void 0}return n.domain=function(e){return arguments.length?(t=e,n):t},n.range=function(t){return arguments.length?(e=t,n):e},n.invertExtent=function(n){return n=e.indexOf(n),[t[n-1],t[n]]},n.copy=function(){return io(t,e)},n}function ro(t){function e(t){return+t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=n.map(e),e):t},e.ticks=function(e){return Gr(t,e)},e.tickFormat=function(e,n){return Xr(t,e,n)},e.copy=function(){return ro(t)},e}function oo(){return 0}function ao(t){return t.innerRadius}function so(t){return t.outerRadius}function lo(t){return t.startAngle}function uo(t){return t.endAngle}function co(t){return t&&t.padAngle}function ho(t,e,n,i){return(t-n)*e-(e-i)*t>0?0:1}function fo(t,e,n,i,r){var o=t[0]-e[0],a=t[1]-e[1],s=(r?i:-i)/Math.sqrt(o*o+a*a),l=s*a,u=-s*o,c=t[0]+l,h=t[1]+u,d=e[0]+l,f=e[1]+u,p=(c+d)/2,g=(h+f)/2,m=d-c,v=f-h,y=m*m+v*v,b=n-i,x=c*f-d*h,w=(0>v?-1:1)*Math.sqrt(b*b*y-x*x),S=(x*v-m*w)/y,_=(-x*m-v*w)/y,C=(x*v+m*w)/y,M=(-x*m+v*w)/y,k=S-p,T=_-g,D=C-p,A=M-g;return k*k+T*T>D*D+A*A&&(S=C,_=M),[[S-l,_-u],[S*n/b,_*n/b]]}function po(t){function e(e){function a(){u.push("M",o(t(c),s))}for(var l,u=[],c=[],h=-1,d=e.length,f=Mt(n),p=Mt(i);++h<d;)r.call(this,l=e[h],h)?c.push([+f.call(this,l,h),+p.call(this,l,h)]):c.length&&(a(),c=[]);return c.length&&a(),u.length?u.join(""):null}var n=Dn,i=An,r=De,o=go,a=o.key,s=.7;return e.x=function(t){return arguments.length?(n=t,e):n},e.y=function(t){return arguments.length?(i=t,e):i},e.defined=function(t){return arguments.length?(r=t,e):r},e.interpolate=function(t){return arguments.length?(a="function"==typeof t?o=t:(o=Al.get(t)||go).key,e):a},e.tension=function(t){return arguments.length?(s=t,e):s},e}function go(t){return t.join("L")}function mo(t){return go(t)+"Z"}function vo(t){for(var e=0,n=t.length,i=t[0],r=[i[0],",",i[1]];++e<n;)r.push("H",(i[0]+(i=t[e])[0])/2,"V",i[1]);return n>1&&r.push("H",i[0]),r.join("")}function yo(t){for(var e=0,n=t.length,i=t[0],r=[i[0],",",i[1]];++e<n;)r.push("V",(i=t[e])[1],"H",i[0]);return r.join("")}function bo(t){for(var e=0,n=t.length,i=t[0],r=[i[0],",",i[1]];++e<n;)r.push("H",(i=t[e])[0],"V",i[1]);return r.join("")}function xo(t,e){return t.length<4?go(t):t[1]+_o(t.slice(1,-1),Co(t,e))}function wo(t,e){return t.length<3?go(t):t[0]+_o((t.push(t[0]),t),Co([t[t.length-2]].concat(t,[t[1]]),e))}function So(t,e){return t.length<3?go(t):t[0]+_o(t,Co(t,e))}function _o(t,e){if(e.length<1||t.length!=e.length&&t.length!=e.length+2)return go(t);var n=t.length!=e.length,i="",r=t[0],o=t[1],a=e[0],s=a,l=1;if(n&&(i+="Q"+(o[0]-2*a[0]/3)+","+(o[1]-2*a[1]/3)+","+o[0]+","+o[1],r=t[1],l=2),e.length>1){s=e[1],o=t[l],l++,i+="C"+(r[0]+a[0])+","+(r[1]+a[1])+","+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1];for(var u=2;u<e.length;u++,l++)o=t[l],s=e[u],i+="S"+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1]}if(n){var c=t[l];i+="Q"+(o[0]+2*s[0]/3)+","+(o[1]+2*s[1]/3)+","+c[0]+","+c[1]}return i}function Co(t,e){for(var n,i=[],r=(1-e)/2,o=t[0],a=t[1],s=1,l=t.length;++s<l;)n=o,o=a,a=t[s],i.push([r*(a[0]-n[0]),r*(a[1]-n[1])]);return i}function Mo(t){if(t.length<3)return go(t);var e=1,n=t.length,i=t[0],r=i[0],o=i[1],a=[r,r,r,(i=t[1])[0]],s=[o,o,o,i[1]],l=[r,",",o,"L",Ao(Ol,a),",",Ao(Ol,s)];for(t.push(t[n-1]);++e<=n;)i=t[e],a.shift(),a.push(i[0]),s.shift(),s.push(i[1]),Eo(l,a,s);return t.pop(),l.push("L",i),l.join("")}function ko(t){if(t.length<4)return go(t);for(var e,n=[],i=-1,r=t.length,o=[0],a=[0];++i<3;)e=t[i],o.push(e[0]),a.push(e[1]);for(n.push(Ao(Ol,o)+","+Ao(Ol,a)),--i;++i<r;)e=t[i],o.shift(),o.push(e[0]),a.shift(),a.push(e[1]),Eo(n,o,a);return n.join("")}function To(t){for(var e,n,i=-1,r=t.length,o=r+4,a=[],s=[];++i<4;)n=t[i%r],a.push(n[0]),s.push(n[1]);for(e=[Ao(Ol,a),",",Ao(Ol,s)],--i;++i<o;)n=t[i%r],a.shift(),a.push(n[0]),s.shift(),s.push(n[1]),Eo(e,a,s);return e.join("")}function Do(t,e){var n=t.length-1;if(n)for(var i,r,o=t[0][0],a=t[0][1],s=t[n][0]-o,l=t[n][1]-a,u=-1;++u<=n;)i=t[u],r=u/n,i[0]=e*i[0]+(1-e)*(o+r*s),i[1]=e*i[1]+(1-e)*(a+r*l);return Mo(t)}function Ao(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function Eo(t,e,n){t.push("C",Ao(El,e),",",Ao(El,n),",",Ao(Pl,e),",",Ao(Pl,n),",",Ao(Ol,e),",",Ao(Ol,n))}function Po(t,e){return(e[1]-t[1])/(e[0]-t[0])}function Oo(t){for(var e=0,n=t.length-1,i=[],r=t[0],o=t[1],a=i[0]=Po(r,o);++e<n;)i[e]=(a+(a=Po(r=o,o=t[e+1])))/2;return i[e]=a,i}function Lo(t){for(var e,n,i,r,o=[],a=Oo(t),s=-1,l=t.length-1;++s<l;)e=Po(t[s],t[s+1]),pa(e)<Oa?a[s]=a[s+1]=0:(n=a[s]/e,i=a[s+1]/e,r=n*n+i*i,r>9&&(r=3*e/Math.sqrt(r),a[s]=r*n,a[s+1]=r*i));for(s=-1;++s<=l;)r=(t[Math.min(l,s+1)][0]-t[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),o.push([r||0,a[s]*r||0]);return o}function No(t){return t.length<3?go(t):t[0]+_o(t,Lo(t))}function Io(t){for(var e,n,i,r=-1,o=t.length;++r<o;)e=t[r],n=e[0],i=e[1]-Fa,e[0]=n*Math.cos(i),e[1]=n*Math.sin(i);return t}function jo(t){function e(e){function l(){g.push("M",s(t(v),h),c,u(t(m.reverse()),h),"Z")}for(var d,f,p,g=[],m=[],v=[],y=-1,b=e.length,x=Mt(n),w=Mt(r),S=n===i?function(){return f}:Mt(i),_=r===o?function(){return p}:Mt(o);++y<b;)a.call(this,d=e[y],y)?(m.push([f=+x.call(this,d,y),p=+w.call(this,d,y)]),v.push([+S.call(this,d,y),+_.call(this,d,y)])):m.length&&(l(),m=[],v=[]);return m.length&&l(),g.length?g.join(""):null}var n=Dn,i=Dn,r=0,o=An,a=De,s=go,l=s.key,u=s,c="L",h=.7;return e.x=function(t){return arguments.length?(n=i=t,e):i},e.x0=function(t){return arguments.length?(n=t,e):n},e.x1=function(t){return arguments.length?(i=t,e):i},e.y=function(t){return arguments.length?(r=o=t,e):o},e.y0=function(t){return arguments.length?(r=t,e):r},e.y1=function(t){return arguments.length?(o=t,e):o},e.defined=function(t){return arguments.length?(a=t,e):a},e.interpolate=function(t){return arguments.length?(l="function"==typeof t?s=t:(s=Al.get(t)||go).key,u=s.reverse||s,c=s.closed?"M":"L",e):l},e.tension=function(t){return arguments.length?(h=t,e):h},e}function Fo(t){return t.radius}function Ro(t){return[t.x,t.y]}function Ho(t){return function(){var e=t.apply(this,arguments),n=e[0],i=e[1]-Fa;return[n*Math.cos(i),n*Math.sin(i)]}}function zo(){return 64}function Bo(){return"circle"}function Wo(t){var e=Math.sqrt(t/Na);return"M0,"+e+"A"+e+","+e+" 0 1,1 0,"+-e+"A"+e+","+e+" 0 1,1 0,"+e+"Z"}function $o(t){return function(){var e,n;(e=this[t])&&(n=e[e.active])&&(--e.count?delete e[e.active]:delete this[t],e.active+=.5,n.event&&n.event.interrupt.call(this,this.__data__,n.index))}}function Uo(t,e,n){return ba(t,Hl),t.namespace=e,t.id=n,t}function qo(t,e,n,i){var r=t.id,o=t.namespace;return z(t,"function"==typeof n?function(t,a,s){t[o][r].tween.set(e,i(n.call(t,t.__data__,a,s)))}:(n=i(n),function(t){t[o][r].tween.set(e,n)}))}function Yo(t){return null==t&&(t=""),function(){this.textContent=t}}function Go(t){return null==t?"__transition__":"__transition_"+t+"__"}function Xo(t,e,n,i,r){var o=t[n]||(t[n]={active:0,count:0}),a=o[i];if(!a){var l=r.time;a=o[i]={tween:new s,time:l,delay:r.delay,duration:r.duration,ease:r.ease,index:e},r=null,++o.count,na.timer(function(r){function s(n){if(o.active>i)return c();var r=o[o.active];r&&(--o.count,delete o[o.active],r.event&&r.event.interrupt.call(t,t.__data__,r.index)),o.active=i,a.event&&a.event.start.call(t,t.__data__,e),a.tween.forEach(function(n,i){(i=i.call(t,t.__data__,e))&&g.push(i)}),d=a.ease,h=a.duration,na.timer(function(){return p.c=u(n||1)?De:u,1},0,l)}function u(n){if(o.active!==i)return 1;for(var r=n/h,s=d(r),l=g.length;l>0;)g[--l].call(t,s);return r>=1?(a.event&&a.event.end.call(t,t.__data__,e),c()):void 0}function c(){return--o.count?delete o[i]:delete t[n],1}var h,d,f=a.delay,p=os,g=[];return p.t=f+l,r>=f?s(r-f):void(p.c=s)},0,l)}}function Vo(t,e,n){t.attr("transform",function(t){var i=e(t);return"translate("+(isFinite(i)?i:n(t))+",0)"})}function Zo(t,e,n){t.attr("transform",function(t){var i=e(t);return"translate(0,"+(isFinite(i)?i:n(t))+")"})}function Ko(t){return t.toISOString()}function Jo(t,e,n){function i(e){return t(e)}function r(t,n){var i=t[1]-t[0],r=i/n,o=na.bisect(Xl,r);return o==Xl.length?[e.year,Yr(t.map(function(t){return t/31536e6}),n)[2]]:o?e[r/Xl[o-1]<Xl[o]/r?o-1:o]:[Kl,Yr(t,n)[2]]}return i.invert=function(e){return Qo(t.invert(e))},i.domain=function(e){return arguments.length?(t.domain(e),i):t.domain().map(Qo)},i.nice=function(t,e){function n(n){return!isNaN(n)&&!t.range(n,Qo(+n+1),e).length}var o=i.domain(),a=Fr(o),s=null==t?r(a,10):"number"==typeof t&&r(a,t);return s&&(t=s[0],e=s[1]),i.domain(zr(o,e>1?{floor:function(e){for(;n(e=t.floor(e));)e=Qo(e-1);return e},ceil:function(e){for(;n(e=t.ceil(e));)e=Qo(+e+1);return e}}:t))},i.ticks=function(t,e){var n=Fr(i.domain()),o=null==t?r(n,10):"number"==typeof t?r(n,t):!t.range&&[{range:t},e];return o&&(t=o[0],e=o[1]),t.range(n[0],Qo(+n[1]+1),1>e?1:e)},i.tickFormat=function(){return n},i.copy=function(){return Jo(t.copy(),e,n)},Ur(i,t)}function Qo(t){return new Date(t)}function ta(t){return JSON.parse(t.responseText)}function ea(t){var e=oa.createRange();return e.selectNode(oa.body),e.createContextualFragment(t.responseText)}var na={version:"3.5.3"};Date.now||(Date.now=function(){return+new Date});var ia=[].slice,ra=function(t){return ia.call(t)},oa=document,aa=oa.documentElement,sa=window;try{ra(aa.childNodes)[0].nodeType}catch(t){ra=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}try{oa.createElement("div").style.setProperty("opacity",0,"")}catch(t){var la=sa.Element.prototype,ua=la.setAttribute,ca=la.setAttributeNS,ha=sa.CSSStyleDeclaration.prototype,da=ha.setProperty;la.setAttribute=function(t,e){ua.call(this,t,e+"")},la.setAttributeNS=function(t,e,n){ca.call(this,t,e,n+"")},ha.setProperty=function(t,e,n){da.call(this,t,e+"",n)}}na.ascending=t,na.descending=function(t,e){return t>e?-1:e>t?1:e>=t?0:NaN},na.min=function(t,e){var n,i,r=-1,o=t.length;if(1===arguments.length){for(;++r<o;)if(null!=(i=t[r])&&i>=i){n=i;break}for(;++r<o;)null!=(i=t[r])&&n>i&&(n=i)}else{for(;++r<o;)if(null!=(i=e.call(t,t[r],r))&&i>=i){n=i;break}for(;++r<o;)null!=(i=e.call(t,t[r],r))&&n>i&&(n=i)}return n},na.max=function(t,e){var n,i,r=-1,o=t.length;if(1===arguments.length){for(;++r<o;)if(null!=(i=t[r])&&i>=i){n=i;break}for(;++r<o;)null!=(i=t[r])&&i>n&&(n=i)}else{for(;++r<o;)if(null!=(i=e.call(t,t[r],r))&&i>=i){n=i;break}for(;++r<o;)null!=(i=e.call(t,t[r],r))&&i>n&&(n=i)}return n},na.extent=function(t,e){var n,i,r,o=-1,a=t.length;if(1===arguments.length){for(;++o<a;)if(null!=(i=t[o])&&i>=i){n=r=i;break}for(;++o<a;)null!=(i=t[o])&&(n>i&&(n=i),i>r&&(r=i))}else{for(;++o<a;)if(null!=(i=e.call(t,t[o],o))&&i>=i){n=r=i;break}for(;++o<a;)null!=(i=e.call(t,t[o],o))&&(n>i&&(n=i),i>r&&(r=i))}return[n,r]},na.sum=function(t,e){var i,r=0,o=t.length,a=-1;if(1===arguments.length)for(;++a<o;)n(i=+t[a])&&(r+=i);else for(;++a<o;)n(i=+e.call(t,t[a],a))&&(r+=i);return r},na.mean=function(t,i){var r,o=0,a=t.length,s=-1,l=a;if(1===arguments.length)for(;++s<a;)n(r=e(t[s]))?o+=r:--l;else for(;++s<a;)n(r=e(i.call(t,t[s],s)))?o+=r:--l;return l?o/l:void 0},na.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r},na.median=function(i,r){var o,a=[],s=i.length,l=-1;if(1===arguments.length)for(;++l<s;)n(o=e(i[l]))&&a.push(o);else for(;++l<s;)n(o=e(r.call(i,i[l],l)))&&a.push(o);return a.length?na.quantile(a.sort(t),.5):void 0},na.variance=function(t,i){var r,o,a=t.length,s=0,l=0,u=-1,c=0;if(1===arguments.length)for(;++u<a;)n(r=e(t[u]))&&(o=r-s,s+=o/++c,l+=o*(r-s));else for(;++u<a;)n(r=e(i.call(t,t[u],u)))&&(o=r-s,s+=o/++c,l+=o*(r-s));return c>1?l/(c-1):void 0},na.deviation=function(){var t=na.variance.apply(this,arguments);return t?Math.sqrt(t):t};var fa=i(t);na.bisectLeft=fa.left,na.bisect=na.bisectRight=fa.right,na.bisector=function(e){return i(1===e.length?function(n,i){return t(e(n),i)}:e)},na.shuffle=function(t,e,n){(o=arguments.length)<3&&(n=t.length,2>o&&(e=0));for(var i,r,o=n-e;o;)r=0|Math.random()*o--,i=t[o+e],t[o+e]=t[r+e],t[r+e]=i;return t},na.permute=function(t,e){for(var n=e.length,i=new Array(n);n--;)i[n]=t[e[n]];return i},na.pairs=function(t){for(var e,n=0,i=t.length-1,r=t[0],o=new Array(0>i?0:i);i>n;)o[n]=[e=r,r=t[++n]];return o},na.zip=function(){if(!(i=arguments.length))return[];for(var t=-1,e=na.min(arguments,r),n=new Array(e);++t<e;)for(var i,o=-1,a=n[t]=new Array(i);++o<i;)a[o]=arguments[o][t];return n},na.transpose=function(t){return na.zip.apply(na,t)},na.keys=function(t){var e=[];for(var n in t)e.push(n);return e},na.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},na.entries=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},na.merge=function(t){for(var e,n,i,r=t.length,o=-1,a=0;++o<r;)a+=t[o].length;for(n=new Array(a);--r>=0;)for(i=t[r],e=i.length;--e>=0;)n[--a]=i[e];return n};var pa=Math.abs;na.range=function(t,e,n){if(arguments.length<3&&(n=1,arguments.length<2&&(e=t,t=0)),1/0===(e-t)/n)throw new Error("infinite range");var i,r=[],a=o(pa(n)),s=-1;if(t*=a,e*=a,n*=a,0>n)for(;(i=t+n*++s)>e;)r.push(i/a);else for(;(i=t+n*++s)<e;)r.push(i/a);return r},na.map=function(t,e){var n=new s;if(t instanceof s)t.forEach(function(t,e){n.set(t,e)});else if(Array.isArray(t)){var i,r=-1,o=t.length;if(1===arguments.length)for(;++r<o;)n.set(r,t[r]);else for(;++r<o;)n.set(e.call(t,i=t[r],r),i)}else for(var a in t)n.set(a,t[a]);return n};var ga="__proto__",ma="\0";a(s,{has:c,get:function(t){return this._[l(t)]},set:function(t,e){return this._[l(t)]=e},remove:h,keys:d,values:function(){var t=[];for(var e in this._)t.push(this._[e]);return t},entries:function(){var t=[];for(var e in this._)t.push({key:u(e),value:this._[e]});return t},size:f,empty:p,forEach:function(t){for(var e in this._)t.call(this,u(e),this._[e])}}),na.nest=function(){function t(e,a,l){if(l>=o.length)return i?i.call(r,a):n?a.sort(n):a;for(var u,c,h,d,f=-1,p=a.length,g=o[l++],m=new s;++f<p;)(d=m.get(u=g(c=a[f])))?d.push(c):m.set(u,[c]);return e?(c=e(),h=function(n,i){c.set(n,t(e,i,l))}):(c={},h=function(n,i){c[n]=t(e,i,l)}),m.forEach(h),c}function e(t,n){if(n>=o.length)return t;var i=[],r=a[n++];return t.forEach(function(t,r){i.push({key:t,values:e(r,n)})}),r?i.sort(function(t,e){return r(t.key,e.key)}):i}var n,i,r={},o=[],a=[];return r.map=function(e,n){return t(n,e,0)},r.entries=function(n){return e(t(na.map,n,0),0)},r.key=function(t){return o.push(t),r},r.sortKeys=function(t){return a[o.length-1]=t,r},r.sortValues=function(t){return n=t,r},r.rollup=function(t){return i=t,r},r},na.set=function(t){var e=new g;if(t)for(var n=0,i=t.length;i>n;++n)e.add(t[n]);return e},a(g,{has:c,add:function(t){return this._[l(t+="")]=!0,t},remove:h,values:d,size:f,empty:p,forEach:function(t){for(var e in this._)t.call(this,u(e))}}),na.behavior={},na.rebind=function(t,e){for(var n,i=1,r=arguments.length;++i<r;)t[n=arguments[i]]=m(t,e,e[n]);return t};var va=["webkit","ms","moz","Moz","o","O"];na.dispatch=function(){for(var t=new b,e=-1,n=arguments.length;++e<n;)t[arguments[e]]=x(t);return t},b.prototype.on=function(t,e){var n=t.indexOf("."),i="";if(n>=0&&(i=t.slice(n+1),t=t.slice(0,n)),t)return arguments.length<2?this[t].on(i):this[t].on(i,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(i,null);return this}},na.event=null,na.requote=function(t){return t.replace(ya,"\\$&")};var ya=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ba={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]},xa=function(t,e){return e.querySelector(t)},wa=function(t,e){return e.querySelectorAll(t)},Sa=aa.matches||aa[v(aa,"matchesSelector")],_a=function(t,e){return Sa.call(t,e)};"function"==typeof Sizzle&&(xa=function(t,e){return Sizzle(t,e)[0]||null},wa=Sizzle,_a=Sizzle.matchesSelector),na.selection=function(){return Ta};var Ca=na.selection.prototype=[];Ca.select=function(t){var e,n,i,r,o=[];t=M(t);for(var a=-1,s=this.length;++a<s;){o.push(e=[]),e.parentNode=(i=this[a]).parentNode;for(var l=-1,u=i.length;++l<u;)(r=i[l])?(e.push(n=t.call(r,r.__data__,l,a)),n&&"__data__"in r&&(n.__data__=r.__data__)):e.push(null)}return C(o)},Ca.selectAll=function(t){var e,n,i=[];t=k(t);for(var r=-1,o=this.length;++r<o;)for(var a=this[r],s=-1,l=a.length;++s<l;)(n=a[s])&&(i.push(e=ra(t.call(n,n.__data__,s,r))),e.parentNode=n);return C(i)};var Ma={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};na.ns={prefix:Ma,qualify:function(t){var e=t.indexOf(":"),n=t;return e>=0&&(n=t.slice(0,e),t=t.slice(e+1)),Ma.hasOwnProperty(n)?{space:Ma[n],local:t}:t}},Ca.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return t=na.ns.qualify(t),t.local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(T(e,t[e]));return this}return this.each(T(t,e))},Ca.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),i=(t=E(t)).length,r=-1;if(e=n.classList){for(;++r<i;)if(!e.contains(t[r]))return!1}else for(e=n.getAttribute("class");++r<i;)if(!A(t[r]).test(e))return!1;return!0}for(e in t)this.each(P(e,t[e]));return this}return this.each(P(t,e))},Ca.style=function(t,e,n){var i=arguments.length;if(3>i){if("string"!=typeof t){2>i&&(e="");for(n in t)this.each(L(n,t[n],e));return this}if(2>i)return sa.getComputedStyle(this.node(),null).getPropertyValue(t);n=""}return this.each(L(t,e,n))},Ca.property=function(t,e){if(arguments.length<2){if("string"==typeof t)return this.node()[t];for(e in t)this.each(N(e,t[e]));return this}return this.each(N(t,e))},Ca.text=function(t){return arguments.length?this.each("function"==typeof t?function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}:null==t?function(){this.textContent=""}:function(){this.textContent=t}):this.node().textContent},Ca.html=function(t){return arguments.length?this.each("function"==typeof t?function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}:null==t?function(){this.innerHTML=""}:function(){this.innerHTML=t}):this.node().innerHTML},Ca.append=function(t){return t=I(t),this.select(function(){return this.appendChild(t.apply(this,arguments))})},Ca.insert=function(t,e){return t=I(t),e=M(e),this.select(function(){return this.insertBefore(t.apply(this,arguments),e.apply(this,arguments)||null)})},Ca.remove=function(){return this.each(j)},Ca.data=function(t,e){function n(t,n){var i,r,o,a=t.length,h=n.length,d=Math.min(a,h),f=new Array(h),p=new Array(h),g=new Array(a);if(e){var m,v=new s,y=new Array(a);for(i=-1;++i<a;)v.has(m=e.call(r=t[i],r.__data__,i))?g[i]=r:v.set(m,r),y[i]=m;for(i=-1;++i<h;)(r=v.get(m=e.call(n,o=n[i],i)))?r!==!0&&(f[i]=r,r.__data__=o):p[i]=F(o),v.set(m,!0);for(i=-1;++i<a;)v.get(y[i])!==!0&&(g[i]=t[i])}else{for(i=-1;++i<d;)r=t[i],o=n[i],r?(r.__data__=o,f[i]=r):p[i]=F(o);for(;h>i;++i)p[i]=F(n[i]);for(;a>i;++i)g[i]=t[i]}p.update=f,p.parentNode=f.parentNode=g.parentNode=t.parentNode,l.push(p),u.push(f),c.push(g)}var i,r,o=-1,a=this.length;if(!arguments.length){for(t=new Array(a=(i=this[0]).length);++o<a;)(r=i[o])&&(t[o]=r.__data__);return t}var l=B([]),u=C([]),c=C([]);if("function"==typeof t)for(;++o<a;)n(i=this[o],t.call(i,i.parentNode.__data__,o));else for(;++o<a;)n(i=this[o],t);return u.enter=function(){return l},u.exit=function(){return c},u},Ca.datum=function(t){return arguments.length?this.property("__data__",t):this.property("__data__")},Ca.filter=function(t){var e,n,i,r=[];"function"!=typeof t&&(t=R(t));for(var o=0,a=this.length;a>o;o++){r.push(e=[]),e.parentNode=(n=this[o]).parentNode;for(var s=0,l=n.length;l>s;s++)(i=n[s])&&t.call(i,i.__data__,s,o)&&e.push(i)}return C(r)},Ca.order=function(){for(var t=-1,e=this.length;++t<e;)for(var n,i=this[t],r=i.length-1,o=i[r];--r>=0;)(n=i[r])&&(o&&o!==n.nextSibling&&o.parentNode.insertBefore(n,o),o=n);return this},Ca.sort=function(t){t=H.apply(this,arguments);for(var e=-1,n=this.length;++e<n;)this[e].sort(t);return this.order()},Ca.each=function(t){return z(this,function(e,n,i){t.call(e,e.__data__,n,i)})},Ca.call=function(t){var e=ra(arguments);return t.apply(e[0]=this,e),this},Ca.empty=function(){return!this.node()},Ca.node=function(){for(var t=0,e=this.length;e>t;t++)for(var n=this[t],i=0,r=n.length;r>i;i++){var o=n[i];if(o)return o}return null},Ca.size=function(){var t=0;return z(this,function(){++t}),t};var ka=[];na.selection.enter=B,na.selection.enter.prototype=ka,ka.append=Ca.append,ka.empty=Ca.empty,ka.node=Ca.node,ka.call=Ca.call,ka.size=Ca.size,ka.select=function(t){for(var e,n,i,r,o,a=[],s=-1,l=this.length;++s<l;){i=(r=this[s]).update,a.push(e=[]),e.parentNode=r.parentNode;for(var u=-1,c=r.length;++u<c;)(o=r[u])?(e.push(i[u]=n=t.call(r.parentNode,o.__data__,u,s)),n.__data__=o.__data__):e.push(null)}return C(a)},ka.insert=function(t,e){return arguments.length<2&&(e=W(this)),Ca.insert.call(this,t,e)},na.select=function(t){var e=["string"==typeof t?xa(t,oa):t];return e.parentNode=aa,C([e])},na.selectAll=function(t){var e=ra("string"==typeof t?wa(t,oa):t);return e.parentNode=aa,C([e])};var Ta=na.select(aa);Ca.on=function(t,e,n){var i=arguments.length;if(3>i){if("string"!=typeof t){2>i&&(e=!1);for(n in t)this.each($(n,t[n],e));return this}if(2>i)return(i=this.node()["__on"+t])&&i._;n=!1}return this.each($(t,e,n))};var Da=na.map({mouseenter:"mouseover",mouseleave:"mouseout"});Da.forEach(function(t){"on"+t in oa&&Da.remove(t)});var Aa="onselectstart"in oa?null:v(aa.style,"userSelect"),Ea=0;na.mouse=function(t){return G(t,S())};var Pa=/WebKit/.test(sa.navigator.userAgent)?-1:0;na.touch=function(t,e,n){if(arguments.length<3&&(n=e,e=S().changedTouches),e)for(var i,r=0,o=e.length;o>r;++r)if((i=e[r]).identifier===n)return G(t,i)},na.behavior.drag=function(){function t(){this.on("mousedown.drag",r).on("touchstart.drag",o)}function e(t,e,r,o,a){return function(){function s(){var t,n,i=e(d,g);i&&(t=i[0]-b[0],n=i[1]-b[1],p|=t|n,b=i,f({type:"drag",x:i[0]+u[0],y:i[1]+u[1],dx:t,dy:n}))}function l(){e(d,g)&&(v.on(o+m,null).on(a+m,null),y(p&&na.event.target===h),f({type:"dragend"}))}var u,c=this,h=na.event.target,d=c.parentNode,f=n.of(c,arguments),p=0,g=t(),m=".drag"+(null==g?"":"-"+g),v=na.select(r()).on(o+m,s).on(a+m,l),y=Y(),b=e(d,g); 10 i?(u=i.apply(c,arguments),u=[u.x-b[0],u.y-b[1]]):u=[0,0],f({type:"dragstart"})}}var n=_(t,"drag","dragstart","dragend"),i=null,r=e(y,na.mouse,Z,"mousemove","mouseup"),o=e(X,na.touch,V,"touchmove","touchend");return t.origin=function(e){return arguments.length?(i=e,t):i},na.rebind(t,n,"on")},na.touches=function(t,e){return arguments.length<2&&(e=S().touches),e?ra(e).map(function(e){var n=G(t,e);return n.identifier=e.identifier,n}):[]};var Oa=1e-6,La=Oa*Oa,Na=Math.PI,Ia=2*Na,ja=Ia-Oa,Fa=Na/2,Ra=Na/180,Ha=180/Na,za=Math.SQRT2,Ba=2,Wa=4;na.interpolateZoom=function(t,e){function n(t){var e=t*y;if(v){var n=nt(g),a=o/(Ba*d)*(n*it(za*e+g)-et(g));return[i+a*u,r+a*c,o*n/nt(za*e+g)]}return[i+t*u,r+t*c,o*Math.exp(za*e)]}var i=t[0],r=t[1],o=t[2],a=e[0],s=e[1],l=e[2],u=a-i,c=s-r,h=u*u+c*c,d=Math.sqrt(h),f=(l*l-o*o+Wa*h)/(2*o*Ba*d),p=(l*l-o*o-Wa*h)/(2*l*Ba*d),g=Math.log(Math.sqrt(f*f+1)-f),m=Math.log(Math.sqrt(p*p+1)-p),v=m-g,y=(v||Math.log(l/o))/za;return n.duration=1e3*y,n},na.behavior.zoom=function(){function t(t){t.on(E,c).on(qa+".zoom",d).on("dblclick.zoom",f).on(L,h)}function e(t){return[(t[0]-M.x)/M.k,(t[1]-M.y)/M.k]}function n(t){return[t[0]*M.k+M.x,t[1]*M.k+M.y]}function i(t){M.k=Math.max(T[0],Math.min(T[1],t))}function r(t,e){e=n(e),M.x+=t[0]-e[0],M.y+=t[1]-e[1]}function o(e,n,o,a){e.__chart__={x:M.x,y:M.y,k:M.k},i(Math.pow(2,a)),r(g=n,o),e=na.select(e),D>0&&(e=e.transition().duration(D)),e.call(t.event)}function a(){x&&x.domain(b.range().map(function(t){return(t-M.x)/M.k}).map(b.invert)),C&&C.domain(S.range().map(function(t){return(t-M.y)/M.k}).map(S.invert))}function s(t){A++||t({type:"zoomstart"})}function l(t){a(),t({type:"zoom",scale:M.k,translate:[M.x,M.y]})}function u(t){--A||t({type:"zoomend"}),g=null}function c(){function t(){c=1,r(na.mouse(i),d),l(a)}function n(){h.on(P,null).on(O,null),f(c&&na.event.target===o),u(a)}var i=this,o=na.event.target,a=N.of(i,arguments),c=0,h=na.select(sa).on(P,t).on(O,n),d=e(na.mouse(i)),f=Y();Rl.call(i),s(a)}function h(){function t(){var t=na.touches(p);return f=M.k,t.forEach(function(t){t.identifier in m&&(m[t.identifier]=e(t))}),t}function n(){var e=na.event.target;na.select(e).on(x,a).on(S,d),_.push(e);for(var n=na.event.changedTouches,i=0,r=n.length;r>i;++i)m[n[i].identifier]=null;var s=t(),l=Date.now();if(1===s.length){if(500>l-y){var u=s[0];o(p,u,m[u.identifier],Math.floor(Math.log(M.k)/Math.LN2)+1),w()}y=l}else if(s.length>1){var u=s[0],c=s[1],h=u[0]-c[0],f=u[1]-c[1];v=h*h+f*f}}function a(){var t,e,n,o,a=na.touches(p);Rl.call(p);for(var s=0,u=a.length;u>s;++s,o=null)if(n=a[s],o=m[n.identifier]){if(e)break;t=n,e=o}if(o){var c=(c=n[0]-t[0])*c+(c=n[1]-t[1])*c,h=v&&Math.sqrt(c/v);t=[(t[0]+n[0])/2,(t[1]+n[1])/2],e=[(e[0]+o[0])/2,(e[1]+o[1])/2],i(h*f)}y=null,r(t,e),l(g)}function d(){if(na.event.touches.length){for(var e=na.event.changedTouches,n=0,i=e.length;i>n;++n)delete m[e[n].identifier];for(var r in m)return void t()}na.selectAll(_).on(b,null),C.on(E,c).on(L,h),k(),u(g)}var f,p=this,g=N.of(p,arguments),m={},v=0,b=".zoom-"+na.event.changedTouches[0].identifier,x="touchmove"+b,S="touchend"+b,_=[],C=na.select(p),k=Y();n(),s(g),C.on(E,null).on(L,n)}function d(){var t=N.of(this,arguments);v?clearTimeout(v):(p=e(g=m||na.mouse(this)),Rl.call(this),s(t)),v=setTimeout(function(){v=null,u(t)},50),w(),i(Math.pow(2,.002*$a())*M.k),r(g,p),l(t)}function f(){var t=na.mouse(this),n=Math.log(M.k)/Math.LN2;o(this,t,e(t),na.event.shiftKey?Math.ceil(n)-1:Math.floor(n)+1)}var p,g,m,v,y,b,x,S,C,M={x:0,y:0,k:1},k=[960,500],T=Ua,D=250,A=0,E="mousedown.zoom",P="mousemove.zoom",O="mouseup.zoom",L="touchstart.zoom",N=_(t,"zoomstart","zoom","zoomend");return t.event=function(t){t.each(function(){var t=N.of(this,arguments),e=M;jl?na.select(this).transition().each("start.zoom",function(){M=this.__chart__||{x:0,y:0,k:1},s(t)}).tween("zoom:zoom",function(){var n=k[0],i=k[1],r=g?g[0]:n/2,o=g?g[1]:i/2,a=na.interpolateZoom([(r-M.x)/M.k,(o-M.y)/M.k,n/M.k],[(r-e.x)/e.k,(o-e.y)/e.k,n/e.k]);return function(e){var i=a(e),s=n/i[2];this.__chart__=M={x:r-i[0]*s,y:o-i[1]*s,k:s},l(t)}}).each("interrupt.zoom",function(){u(t)}).each("end.zoom",function(){u(t)}):(this.__chart__=M,s(t),l(t),u(t))})},t.translate=function(e){return arguments.length?(M={x:+e[0],y:+e[1],k:M.k},a(),t):[M.x,M.y]},t.scale=function(e){return arguments.length?(M={x:M.x,y:M.y,k:+e},a(),t):M.k},t.scaleExtent=function(e){return arguments.length?(T=null==e?Ua:[+e[0],+e[1]],t):T},t.center=function(e){return arguments.length?(m=e&&[+e[0],+e[1]],t):m},t.size=function(e){return arguments.length?(k=e&&[+e[0],+e[1]],t):k},t.duration=function(e){return arguments.length?(D=+e,t):D},t.x=function(e){return arguments.length?(x=e,b=e.copy(),M={x:0,y:0,k:1},t):x},t.y=function(e){return arguments.length?(C=e,S=e.copy(),M={x:0,y:0,k:1},t):C},na.rebind(t,N,"on")};var $a,Ua=[0,1/0],qa="onwheel"in oa?($a=function(){return-na.event.deltaY*(na.event.deltaMode?120:1)},"wheel"):"onmousewheel"in oa?($a=function(){return na.event.wheelDelta},"mousewheel"):($a=function(){return-na.event.detail},"MozMousePixelScroll");na.color=ot,ot.prototype.toString=function(){return this.rgb()+""},na.hsl=at;var Ya=at.prototype=new ot;Ya.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),new at(this.h,this.s,this.l/t)},Ya.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new at(this.h,this.s,t*this.l)},Ya.rgb=function(){return st(this.h,this.s,this.l)},na.hcl=lt;var Ga=lt.prototype=new ot;Ga.brighter=function(t){return new lt(this.h,this.c,Math.min(100,this.l+Xa*(arguments.length?t:1)))},Ga.darker=function(t){return new lt(this.h,this.c,Math.max(0,this.l-Xa*(arguments.length?t:1)))},Ga.rgb=function(){return ut(this.h,this.c,this.l).rgb()},na.lab=ct;var Xa=18,Va=.95047,Za=1,Ka=1.08883,Ja=ct.prototype=new ot;Ja.brighter=function(t){return new ct(Math.min(100,this.l+Xa*(arguments.length?t:1)),this.a,this.b)},Ja.darker=function(t){return new ct(Math.max(0,this.l-Xa*(arguments.length?t:1)),this.a,this.b)},Ja.rgb=function(){return ht(this.l,this.a,this.b)},na.rgb=mt;var Qa=mt.prototype=new ot;Qa.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var e=this.r,n=this.g,i=this.b,r=30;return e||n||i?(e&&r>e&&(e=r),n&&r>n&&(n=r),i&&r>i&&(i=r),new mt(Math.min(255,e/t),Math.min(255,n/t),Math.min(255,i/t))):new mt(r,r,r)},Qa.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new mt(t*this.r,t*this.g,t*this.b)},Qa.hsl=function(){return wt(this.r,this.g,this.b)},Qa.toString=function(){return"#"+bt(this.r)+bt(this.g)+bt(this.b)};var ts=na.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ts.forEach(function(t,e){ts.set(t,vt(e))}),na.functor=Mt,na.xhr=Tt(kt),na.dsv=function(t,e){function n(t,n,o){arguments.length<3&&(o=n,n=null);var a=Dt(t,e,null==n?i:r(n),o);return a.row=function(t){return arguments.length?a.response(null==(n=t)?i:r(t)):n},a}function i(t){return n.parse(t.responseText)}function r(t){return function(e){return n.parse(e.responseText,t)}}function o(e){return e.map(a).join(t)}function a(t){return s.test(t)?'"'+t.replace(/\"/g,'""')+'"':t}var s=new RegExp('["'+t+"\n]"),l=t.charCodeAt(0);return n.parse=function(t,e){var i;return n.parseRows(t,function(t,n){if(i)return i(t,n-1);var r=new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}");i=e?function(t,n){return e(r(t),n)}:r})},n.parseRows=function(t,e){function n(){if(c>=u)return a;if(r)return r=!1,o;var e=c;if(34===t.charCodeAt(e)){for(var n=e;n++<u;)if(34===t.charCodeAt(n)){if(34!==t.charCodeAt(n+1))break;++n}c=n+2;var i=t.charCodeAt(n+1);return 13===i?(r=!0,10===t.charCodeAt(n+2)&&++c):10===i&&(r=!0),t.slice(e+1,n).replace(/""/g,'"')}for(;u>c;){var i=t.charCodeAt(c++),s=1;if(10===i)r=!0;else if(13===i)r=!0,10===t.charCodeAt(c)&&(++c,++s);else if(i!==l)continue;return t.slice(e,c-s)}return t.slice(e)}for(var i,r,o={},a={},s=[],u=t.length,c=0,h=0;(i=n())!==a;){for(var d=[];i!==o&&i!==a;)d.push(i),i=n();e&&null==(d=e(d,h++))||s.push(d)}return s},n.format=function(e){if(Array.isArray(e[0]))return n.formatRows(e);var i=new g,r=[];return e.forEach(function(t){for(var e in t)i.has(e)||r.push(i.add(e))}),[r.map(a).join(t)].concat(e.map(function(e){return r.map(function(t){return a(e[t])}).join(t)})).join("\n")},n.formatRows=function(t){return t.map(o).join("\n")},n},na.csv=na.dsv(",","text/csv"),na.tsv=na.dsv("\t","text/tab-separated-values");var es,ns,is,rs,os,as=sa[v(sa,"requestAnimationFrame")]||function(t){setTimeout(t,17)};na.timer=function(t,e,n){var i=arguments.length;2>i&&(e=0),3>i&&(n=Date.now());var r=n+e,o={c:t,t:r,f:!1,n:null};ns?ns.n=o:es=o,ns=o,is||(rs=clearTimeout(rs),is=1,as(Pt))},na.timer.flush=function(){Ot(),Lt()},na.round=function(t,e){return e?Math.round(t*(e=Math.pow(10,e)))/e:Math.round(t)};var ss=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(It);na.formatPrefix=function(t,e){var n=0;return t&&(0>t&&(t*=-1),e&&(t=na.round(t,Nt(t,e))),n=1+Math.floor(1e-12+Math.log(t)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),ss[8+n/3]};var ls=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,us=na.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=na.round(t,Nt(t,e))).toFixed(Math.max(0,Math.min(20,Nt(t*(1+1e-15),e))))}}),cs=na.time={},hs=Date;Rt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){ds.setUTCDate.apply(this._,arguments)},setDay:function(){ds.setUTCDay.apply(this._,arguments)},setFullYear:function(){ds.setUTCFullYear.apply(this._,arguments)},setHours:function(){ds.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){ds.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){ds.setUTCMinutes.apply(this._,arguments)},setMonth:function(){ds.setUTCMonth.apply(this._,arguments)},setSeconds:function(){ds.setUTCSeconds.apply(this._,arguments)},setTime:function(){ds.setTime.apply(this._,arguments)}};var ds=Date.prototype;cs.year=Ht(function(t){return t=cs.day(t),t.setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),cs.years=cs.year.range,cs.years.utc=cs.year.utc.range,cs.day=Ht(function(t){var e=new hs(2e3,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e},function(t,e){t.setDate(t.getDate()+e)},function(t){return t.getDate()-1}),cs.days=cs.day.range,cs.days.utc=cs.day.utc.range,cs.dayOfYear=function(t){var e=cs.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(t,e){e=7-e;var n=cs[t]=Ht(function(t){return(t=cs.day(t)).setDate(t.getDate()-(t.getDay()+e)%7),t},function(t,e){t.setDate(t.getDate()+7*Math.floor(e))},function(t){var n=cs.year(t).getDay();return Math.floor((cs.dayOfYear(t)+(n+e)%7)/7)-(n!==e)});cs[t+"s"]=n.range,cs[t+"s"].utc=n.utc.range,cs[t+"OfYear"]=function(t){var n=cs.year(t).getDay();return Math.floor((cs.dayOfYear(t)+(n+e)%7)/7)}}),cs.week=cs.sunday,cs.weeks=cs.sunday.range,cs.weeks.utc=cs.sunday.utc.range,cs.weekOfYear=cs.sundayOfYear;var fs={"-":"",_:" ",0:"0"},ps=/^\s*\d+/,gs=/^%/;na.locale=function(t){return{numberFormat:jt(t),timeFormat:Bt(t)}};var ms=na.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});na.format=ms.numberFormat,na.geo={},le.prototype={s:0,t:0,add:function(t){ue(t,this.t,vs),ue(vs.s,this.s,this),this.s?this.t+=vs.t:this.s=vs.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var vs=new le;na.geo.stream=function(t,e){t&&ys.hasOwnProperty(t.type)?ys[t.type](t,e):ce(t,e)};var ys={Feature:function(t,e){ce(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,i=-1,r=n.length;++i<r;)ce(n[i].geometry,e)}},bs={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,i=-1,r=n.length;++i<r;)t=n[i],e.point(t[0],t[1],t[2])},LineString:function(t,e){he(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,i=-1,r=n.length;++i<r;)he(n[i],e,0)},Polygon:function(t,e){de(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,i=-1,r=n.length;++i<r;)de(n[i],e)},GeometryCollection:function(t,e){for(var n=t.geometries,i=-1,r=n.length;++i<r;)ce(n[i],e)}};na.geo.area=function(t){return xs=0,na.geo.stream(t,Ss),xs};var xs,ws=new le,Ss={sphere:function(){xs+=4*Na},point:y,lineStart:y,lineEnd:y,polygonStart:function(){ws.reset(),Ss.lineStart=fe},polygonEnd:function(){var t=2*ws;xs+=0>t?4*Na+t:t,Ss.lineStart=Ss.lineEnd=Ss.point=y}};na.geo.bounds=function(){function t(t,e){b.push(x=[c=t,d=t]),h>e&&(h=e),e>f&&(f=e)}function e(e,n){var i=pe([e*Ra,n*Ra]);if(v){var r=me(v,i),o=[r[1],-r[0],0],a=me(o,r);be(a),a=xe(a);var l=e-p,u=l>0?1:-1,g=a[0]*Ha*u,m=pa(l)>180;if(m^(g>u*p&&u*e>g)){var y=a[1]*Ha;y>f&&(f=y)}else if(g=(g+360)%360-180,m^(g>u*p&&u*e>g)){var y=-a[1]*Ha;h>y&&(h=y)}else h>n&&(h=n),n>f&&(f=n);m?p>e?s(c,e)>s(c,d)&&(d=e):s(e,d)>s(c,d)&&(c=e):d>=c?(c>e&&(c=e),e>d&&(d=e)):e>p?s(c,e)>s(c,d)&&(d=e):s(e,d)>s(c,d)&&(c=e)}else t(e,n);v=i,p=e}function n(){w.point=e}function i(){x[0]=c,x[1]=d,w.point=t,v=null}function r(t,n){if(v){var i=t-p;y+=pa(i)>180?i+(i>0?360:-360):i}else g=t,m=n;Ss.point(t,n),e(t,n)}function o(){Ss.lineStart()}function a(){r(g,m),Ss.lineEnd(),pa(y)>Oa&&(c=-(d=180)),x[0]=c,x[1]=d,v=null}function s(t,e){return(e-=t)<0?e+360:e}function l(t,e){return t[0]-e[0]}function u(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}var c,h,d,f,p,g,m,v,y,b,x,w={point:t,lineStart:n,lineEnd:i,polygonStart:function(){w.point=r,w.lineStart=o,w.lineEnd=a,y=0,Ss.polygonStart()},polygonEnd:function(){Ss.polygonEnd(),w.point=t,w.lineStart=n,w.lineEnd=i,0>ws?(c=-(d=180),h=-(f=90)):y>Oa?f=90:-Oa>y&&(h=-90),x[0]=c,x[1]=d}};return function(t){f=d=-(c=h=1/0),b=[],na.geo.stream(t,w);var e=b.length;if(e){b.sort(l);for(var n,i=1,r=b[0],o=[r];e>i;++i)n=b[i],u(n[0],r)||u(n[1],r)?(s(r[0],n[1])>s(r[0],r[1])&&(r[1]=n[1]),s(n[0],r[1])>s(r[0],r[1])&&(r[0]=n[0])):o.push(r=n);for(var a,n,p=-1/0,e=o.length-1,i=0,r=o[e];e>=i;r=n,++i)n=o[i],(a=s(r[1],n[0]))>p&&(p=a,c=n[0],d=r[1])}return b=x=null,1/0===c||1/0===h?[[NaN,NaN],[NaN,NaN]]:[[c,h],[d,f]]}}(),na.geo.centroid=function(t){_s=Cs=Ms=ks=Ts=Ds=As=Es=Ps=Os=Ls=0,na.geo.stream(t,Ns);var e=Ps,n=Os,i=Ls,r=e*e+n*n+i*i;return La>r&&(e=Ds,n=As,i=Es,Oa>Cs&&(e=Ms,n=ks,i=Ts),r=e*e+n*n+i*i,La>r)?[NaN,NaN]:[Math.atan2(n,e)*Ha,tt(i/Math.sqrt(r))*Ha]};var _s,Cs,Ms,ks,Ts,Ds,As,Es,Ps,Os,Ls,Ns={sphere:y,point:Se,lineStart:Ce,lineEnd:Me,polygonStart:function(){Ns.lineStart=ke},polygonEnd:function(){Ns.lineStart=Ce}},Is=Oe(De,je,Re,[-Na,-Na/2]),js=1e9;na.geo.clipExtent=function(){var t,e,n,i,r,o,a={stream:function(t){return r&&(r.valid=!1),r=o(t),r.valid=!0,r},extent:function(s){return arguments.length?(o=We(t=+s[0][0],e=+s[0][1],n=+s[1][0],i=+s[1][1]),r&&(r.valid=!1,r=null),a):[[t,e],[n,i]]}};return a.extent([[0,0],[960,500]])},(na.geo.conicEqualArea=function(){return $e(Ue)}).raw=Ue,na.geo.albers=function(){return na.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},na.geo.albersUsa=function(){function t(t){var o=t[0],a=t[1];return e=null,n(o,a),e||(i(o,a),e)||r(o,a),e}var e,n,i,r,o=na.geo.albers(),a=na.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=na.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,n){e=[t,n]}};return t.invert=function(t){var e=o.scale(),n=o.translate(),i=(t[0]-n[0])/e,r=(t[1]-n[1])/e;return(r>=.12&&.234>r&&i>=-.425&&-.214>i?a:r>=.166&&.234>r&&i>=-.214&&-.115>i?s:o).invert(t)},t.stream=function(t){var e=o.stream(t),n=a.stream(t),i=s.stream(t);return{point:function(t,r){e.point(t,r),n.point(t,r),i.point(t,r)},sphere:function(){e.sphere(),n.sphere(),i.sphere()},lineStart:function(){e.lineStart(),n.lineStart(),i.lineStart()},lineEnd:function(){e.lineEnd(),n.lineEnd(),i.lineEnd()},polygonStart:function(){e.polygonStart(),n.polygonStart(),i.polygonStart()},polygonEnd:function(){e.polygonEnd(),n.polygonEnd(),i.polygonEnd()}}},t.precision=function(e){return arguments.length?(o.precision(e),a.precision(e),s.precision(e),t):o.precision()},t.scale=function(e){return arguments.length?(o.scale(e),a.scale(.35*e),s.scale(e),t.translate(o.translate())):o.scale()},t.translate=function(e){if(!arguments.length)return o.translate();var u=o.scale(),c=+e[0],h=+e[1];return n=o.translate(e).clipExtent([[c-.455*u,h-.238*u],[c+.455*u,h+.238*u]]).stream(l).point,i=a.translate([c-.307*u,h+.201*u]).clipExtent([[c-.425*u+Oa,h+.12*u+Oa],[c-.214*u-Oa,h+.234*u-Oa]]).stream(l).point,r=s.translate([c-.205*u,h+.212*u]).clipExtent([[c-.214*u+Oa,h+.166*u+Oa],[c-.115*u-Oa,h+.234*u-Oa]]).stream(l).point,t},t.scale(1070)};var Fs,Rs,Hs,zs,Bs,Ws,$s={point:y,lineStart:y,lineEnd:y,polygonStart:function(){Rs=0,$s.lineStart=qe},polygonEnd:function(){$s.lineStart=$s.lineEnd=$s.point=y,Fs+=pa(Rs/2)}},Us={point:Ye,lineStart:y,lineEnd:y,polygonStart:y,polygonEnd:y},qs={point:Ve,lineStart:Ze,lineEnd:Ke,polygonStart:function(){qs.lineStart=Je},polygonEnd:function(){qs.point=Ve,qs.lineStart=Ze,qs.lineEnd=Ke}};na.geo.path=function(){function t(t){return t&&("function"==typeof s&&o.pointRadius(+s.apply(this,arguments)),a&&a.valid||(a=r(o)),na.geo.stream(t,a)),o.result()}function e(){return a=null,t}var n,i,r,o,a,s=4.5;return t.area=function(t){return Fs=0,na.geo.stream(t,r($s)),Fs},t.centroid=function(t){return Ms=ks=Ts=Ds=As=Es=Ps=Os=Ls=0,na.geo.stream(t,r(qs)),Ls?[Ps/Ls,Os/Ls]:Es?[Ds/Es,As/Es]:Ts?[Ms/Ts,ks/Ts]:[NaN,NaN]},t.bounds=function(t){return Bs=Ws=-(Hs=zs=1/0),na.geo.stream(t,r(Us)),[[Hs,zs],[Bs,Ws]]},t.projection=function(t){return arguments.length?(r=(n=t)?t.stream||en(t):kt,e()):n},t.context=function(t){return arguments.length?(o=null==(i=t)?new Ge:new Qe(t),"function"!=typeof s&&o.pointRadius(s),e()):i},t.pointRadius=function(e){return arguments.length?(s="function"==typeof e?e:(o.pointRadius(+e),+e),t):s},t.projection(na.geo.albersUsa()).context(null)},na.geo.transform=function(t){return{stream:function(e){var n=new nn(e);for(var i in t)n[i]=t[i];return n}}},nn.prototype={point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},na.geo.projection=on,na.geo.projectionMutator=an,(na.geo.equirectangular=function(){return on(ln)}).raw=ln.invert=ln,na.geo.rotation=function(t){function e(e){return e=t(e[0]*Ra,e[1]*Ra),e[0]*=Ha,e[1]*=Ha,e}return t=cn(t[0]%360*Ra,t[1]*Ra,t.length>2?t[2]*Ra:0),e.invert=function(e){return e=t.invert(e[0]*Ra,e[1]*Ra),e[0]*=Ha,e[1]*=Ha,e},e},un.invert=ln,na.geo.circle=function(){function t(){var t="function"==typeof i?i.apply(this,arguments):i,e=cn(-t[0]*Ra,-t[1]*Ra,0).invert,r=[];return n(null,null,1,{point:function(t,n){r.push(t=e(t,n)),t[0]*=Ha,t[1]*=Ha}}),{type:"Polygon",coordinates:[r]}}var e,n,i=[0,0],r=6;return t.origin=function(e){return arguments.length?(i=e,t):i},t.angle=function(i){return arguments.length?(n=pn((e=+i)*Ra,r*Ra),t):e},t.precision=function(i){return arguments.length?(n=pn(e*Ra,(r=+i)*Ra),t):r},t.angle(90)},na.geo.distance=function(t,e){var n,i=(e[0]-t[0])*Ra,r=t[1]*Ra,o=e[1]*Ra,a=Math.sin(i),s=Math.cos(i),l=Math.sin(r),u=Math.cos(r),c=Math.sin(o),h=Math.cos(o);return Math.atan2(Math.sqrt((n=h*a)*n+(n=u*c-l*h*s)*n),l*c+u*h*s)},na.geo.graticule=function(){function t(){return{type:"MultiLineString",coordinates:e()}}function e(){return na.range(Math.ceil(o/m)*m,r,m).map(d).concat(na.range(Math.ceil(u/v)*v,l,v).map(f)).concat(na.range(Math.ceil(i/p)*p,n,p).filter(function(t){return pa(t%m)>Oa}).map(c)).concat(na.range(Math.ceil(s/g)*g,a,g).filter(function(t){return pa(t%v)>Oa}).map(h))}var n,i,r,o,a,s,l,u,c,h,d,f,p=10,g=p,m=90,v=360,y=2.5;return t.lines=function(){return e().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[d(o).concat(f(l).slice(1),d(r).reverse().slice(1),f(u).reverse().slice(1))]}},t.extent=function(e){return arguments.length?t.majorExtent(e).minorExtent(e):t.minorExtent()},t.majorExtent=function(e){return arguments.length?(o=+e[0][0],r=+e[1][0],u=+e[0][1],l=+e[1][1],o>r&&(e=o,o=r,r=e),u>l&&(e=u,u=l,l=e),t.precision(y)):[[o,u],[r,l]]},t.minorExtent=function(e){return arguments.length?(i=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],i>n&&(e=i,i=n,n=e),s>a&&(e=s,s=a,a=e),t.precision(y)):[[i,s],[n,a]]},t.step=function(e){return arguments.length?t.majorStep(e).minorStep(e):t.minorStep()},t.majorStep=function(e){return arguments.length?(m=+e[0],v=+e[1],t):[m,v]},t.minorStep=function(e){return arguments.length?(p=+e[0],g=+e[1],t):[p,g]},t.precision=function(e){return arguments.length?(y=+e,c=mn(s,a,90),h=vn(i,n,y),d=mn(u,l,90),f=vn(o,r,y),t):y},t.majorExtent([[-180,-90+Oa],[180,90-Oa]]).minorExtent([[-180,-80-Oa],[180,80+Oa]])},na.geo.greatArc=function(){function t(){return{type:"LineString",coordinates:[e||i.apply(this,arguments),n||r.apply(this,arguments)]}}var e,n,i=yn,r=bn;return t.distance=function(){return na.geo.distance(e||i.apply(this,arguments),n||r.apply(this,arguments))},t.source=function(n){return arguments.length?(i=n,e="function"==typeof n?null:n,t):i},t.target=function(e){return arguments.length?(r=e,n="function"==typeof e?null:e,t):r},t.precision=function(){return arguments.length?t:0},t},na.geo.interpolate=function(t,e){return xn(t[0]*Ra,t[1]*Ra,e[0]*Ra,e[1]*Ra)},na.geo.length=function(t){return Ys=0,na.geo.stream(t,Gs),Ys};var Ys,Gs={sphere:y,point:y,lineStart:wn,lineEnd:y,polygonStart:y,polygonEnd:y},Xs=Sn(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});(na.geo.azimuthalEqualArea=function(){return on(Xs)}).raw=Xs;var Vs=Sn(function(t){var e=Math.acos(t);return e&&e/Math.sin(e)},kt);(na.geo.azimuthalEquidistant=function(){return on(Vs)}).raw=Vs,(na.geo.conicConformal=function(){return $e(_n)}).raw=_n,(na.geo.conicEquidistant=function(){return $e(Cn)}).raw=Cn;var Zs=Sn(function(t){return 1/t},Math.atan);(na.geo.gnomonic=function(){return on(Zs)}).raw=Zs,Mn.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-Fa]},(na.geo.mercator=function(){return kn(Mn)}).raw=Mn;var Ks=Sn(function(){return 1},Math.asin);(na.geo.orthographic=function(){return on(Ks)}).raw=Ks;var Js=Sn(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});(na.geo.stereographic=function(){return on(Js)}).raw=Js,Tn.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-Fa]},(na.geo.transverseMercator=function(){var t=kn(Tn),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):(t=e(),[t[1],-t[0]])},t.rotate=function(t){return t?n([t[0],t[1],t.length>2?t[2]+90:90]):(t=n(),[t[0],t[1],t[2]-90])},n([0,0,90])}).raw=Tn,na.geom={},na.geom.hull=function(t){function e(t){if(t.length<3)return[];var e,r=Mt(n),o=Mt(i),a=t.length,s=[],l=[];for(e=0;a>e;e++)s.push([+r.call(this,t[e],e),+o.call(this,t[e],e),e]);for(s.sort(Pn),e=0;a>e;e++)l.push([s[e][0],-s[e][1]]);var u=En(s),c=En(l),h=c[0]===u[0],d=c[c.length-1]===u[u.length-1],f=[];for(e=u.length-1;e>=0;--e)f.push(t[s[u[e]][2]]);for(e=+h;e<c.length-d;++e)f.push(t[s[c[e]][2]]);return f}var n=Dn,i=An;return arguments.length?e(t):(e.x=function(t){return arguments.length?(n=t,e):n},e.y=function(t){return arguments.length?(i=t,e):i},e)},na.geom.polygon=function(t){return ba(t,Qs),t};var Qs=na.geom.polygon.prototype=[];Qs.area=function(){for(var t,e=-1,n=this.length,i=this[n-1],r=0;++e<n;)t=i,i=this[e],r+=t[1]*i[0]-t[0]*i[1];return.5*r},Qs.centroid=function(t){var e,n,i=-1,r=this.length,o=0,a=0,s=this[r-1];for(arguments.length||(t=-1/(6*this.area()));++i<r;)e=s,s=this[i],n=e[0]*s[1]-s[0]*e[1],o+=(e[0]+s[0])*n,a+=(e[1]+s[1])*n;return[o*t,a*t]},Qs.clip=function(t){for(var e,n,i,r,o,a,s=Nn(t),l=-1,u=this.length-Nn(this),c=this[u-1];++l<u;){for(e=t.slice(),t.length=0,r=this[l],o=e[(i=e.length-s)-1],n=-1;++n<i;)a=e[n],On(a,c,r)?(On(o,c,r)||t.push(Ln(o,a,c,r)),t.push(a)):On(o,c,r)&&t.push(Ln(o,a,c,r)),o=a;s&&t.push(t[0]),c=r}return t};var tl,el,nl,il,rl,ol=[],al=[];Wn.prototype.prepare=function(){for(var t,e=this.edges,n=e.length;n--;)t=e[n].edge,t.b&&t.a||e.splice(n,1);return e.sort(Un),e.length},ti.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},ei.prototype={insert:function(t,e){var n,i,r;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=oi(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)i=n.U,n===i.L?(r=i.R,r&&r.C?(n.C=r.C=!1,i.C=!0,t=i):(t===n.R&&(ii(this,n),t=n,n=t.U),n.C=!1,i.C=!0,ri(this,i))):(r=i.L,r&&r.C?(n.C=r.C=!1,i.C=!0,t=i):(t===n.L&&(ri(this,n),t=n,n=t.U),n.C=!1,i.C=!0,ii(this,i))),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,i,r=t.U,o=t.L,a=t.R;if(n=o?a?oi(a):o:a,r?r.L===t?r.L=n:r.R=n:this._=n,o&&a?(i=n.C,n.C=t.C,n.L=o,o.U=n,n!==a?(r=n.U,n.U=t.U,t=n.R,r.L=t,n.R=a,a.U=n):(n.U=r,r=n,t=n.R)):(i=t.C,t=n),t&&(t.U=r),!i){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===r.L){if(e=r.R,e.C&&(e.C=!1,r.C=!0,ii(this,r),e=r.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,ri(this,e),e=r.R),e.C=r.C,r.C=e.R.C=!1,ii(this,r),t=this._;break}}else if(e=r.L,e.C&&(e.C=!1,r.C=!0,ri(this,r),e=r.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,ii(this,e),e=r.L),e.C=r.C,r.C=e.L.C=!1,ri(this,r),t=this._;break}e.C=!0,t=r,r=r.U}while(!t.C);t&&(t.C=!1)}}},na.geom.voronoi=function(t){function e(t){var e=new Array(t.length),i=s[0][0],r=s[0][1],o=s[1][0],a=s[1][1];return ai(n(t),s).cells.forEach(function(n,s){var l=n.edges,u=n.site,c=e[s]=l.length?l.map(function(t){var e=t.start();return[e.x,e.y]}):u.x>=i&&u.x<=o&&u.y>=r&&u.y<=a?[[i,a],[o,a],[o,r],[i,r]]:[];c.point=t[s]}),e}function n(t){return t.map(function(t,e){return{x:Math.round(o(t,e)/Oa)*Oa,y:Math.round(a(t,e)/Oa)*Oa,i:e}})}var i=Dn,r=An,o=i,a=r,s=sl;return t?e(t):(e.links=function(t){return ai(n(t)).edges.filter(function(t){return t.l&&t.r}).map(function(e){return{source:t[e.l.i],target:t[e.r.i]}})},e.triangles=function(t){var e=[];return ai(n(t)).cells.forEach(function(n,i){for(var r,o,a=n.site,s=n.edges.sort(Un),l=-1,u=s.length,c=s[u-1].edge,h=c.l===a?c.r:c.l;++l<u;)r=c,o=h,c=s[l].edge,h=c.l===a?c.r:c.l,i<o.i&&i<h.i&&li(a,o,h)<0&&e.push([t[i],t[o.i],t[h.i]])}),e},e.x=function(t){return arguments.length?(o=Mt(i=t),e):i},e.y=function(t){return arguments.length?(a=Mt(r=t),e):r},e.clipExtent=function(t){return arguments.length?(s=null==t?sl:t,e):s===sl?null:s},e.size=function(t){return arguments.length?e.clipExtent(t&&[[0,0],t]):s===sl?null:s&&s[1]},e)};var sl=[[-1e6,-1e6],[1e6,1e6]];na.geom.delaunay=function(t){return na.geom.voronoi().triangles(t)},na.geom.quadtree=function(t,e,n,i,r){function o(t){function o(t,e,n,i,r,o,a,s){if(!isNaN(n)&&!isNaN(i))if(t.leaf){var l=t.x,c=t.y;if(null!=l)if(pa(l-n)+pa(c-i)<.01)u(t,e,n,i,r,o,a,s);else{var h=t.point;t.x=t.y=t.point=null,u(t,h,l,c,r,o,a,s),u(t,e,n,i,r,o,a,s)}else t.x=n,t.y=i,t.point=e}else u(t,e,n,i,r,o,a,s)}function u(t,e,n,i,r,a,s,l){var u=.5*(r+s),c=.5*(a+l),h=n>=u,d=i>=c,f=d<<1|h;t.leaf=!1,t=t.nodes[f]||(t.nodes[f]=hi()),h?r=u:s=u,d?a=c:l=c,o(t,e,n,i,r,a,s,l)}var c,h,d,f,p,g,m,v,y,b=Mt(s),x=Mt(l);if(null!=e)g=e,m=n,v=i,y=r;else if(v=y=-(g=m=1/0),h=[],d=[],p=t.length,a)for(f=0;p>f;++f)c=t[f],c.x<g&&(g=c.x),c.y<m&&(m=c.y),c.x>v&&(v=c.x),c.y>y&&(y=c.y),h.push(c.x),d.push(c.y);else for(f=0;p>f;++f){var w=+b(c=t[f],f),S=+x(c,f);g>w&&(g=w),m>S&&(m=S),w>v&&(v=w),S>y&&(y=S),h.push(w),d.push(S)}var _=v-g,C=y-m;_>C?y=m+_:v=g+C;var M=hi();if(M.add=function(t){o(M,t,+b(t,++f),+x(t,f),g,m,v,y)},M.visit=function(t){di(t,M,g,m,v,y)},M.find=function(t){return fi(M,t[0],t[1],g,m,v,y)},f=-1,null==e){for(;++f<p;)o(M,t[f],h[f],d[f],g,m,v,y);--f}else t.forEach(M.add);return h=d=t=c=null,M}var a,s=Dn,l=An;return(a=arguments.length)?(s=ui,l=ci,3===a&&(r=n,i=e,n=e=0),o(t)):(o.x=function(t){return arguments.length?(s=t,o):s},o.y=function(t){return arguments.length?(l=t,o):l},o.extent=function(t){return arguments.length?(null==t?e=n=i=r=null:(e=+t[0][0], 11 n=+t[0][1],i=+t[1][0],r=+t[1][1]),o):null==e?null:[[e,n],[i,r]]},o.size=function(t){return arguments.length?(null==t?e=n=i=r=null:(e=n=0,i=+t[0],r=+t[1]),o):null==e?null:[i-e,r-n]},o)},na.interpolateRgb=pi,na.interpolateObject=gi,na.interpolateNumber=mi,na.interpolateString=vi;var ll=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ul=new RegExp(ll.source,"g");na.interpolate=yi,na.interpolators=[function(t,e){var n=typeof e;return("string"===n?ts.has(e)||/^(#|rgb\(|hsl\()/.test(e)?pi:vi:e instanceof ot?pi:Array.isArray(e)?bi:"object"===n&&isNaN(e)?gi:mi)(t,e)}],na.interpolateArray=bi;var cl=function(){return kt},hl=na.map({linear:cl,poly:ki,quad:function(){return _i},cubic:function(){return Ci},sin:function(){return Ti},exp:function(){return Di},circle:function(){return Ai},elastic:Ei,back:Pi,bounce:function(){return Oi}}),dl=na.map({in:kt,out:wi,"in-out":Si,"out-in":function(t){return Si(wi(t))}});na.ease=function(t){var e=t.indexOf("-"),n=e>=0?t.slice(0,e):t,i=e>=0?t.slice(e+1):"in";return n=hl.get(n)||cl,i=dl.get(i)||kt,xi(i(n.apply(null,ia.call(arguments,1))))},na.interpolateHcl=Li,na.interpolateHsl=Ni,na.interpolateLab=Ii,na.interpolateRound=ji,na.transform=function(t){var e=oa.createElementNS(na.ns.prefix.svg,"g");return(na.transform=function(t){if(null!=t){e.setAttribute("transform",t);var n=e.transform.baseVal.consolidate()}return new Fi(n?n.matrix:fl)})(t)},Fi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var fl={a:1,b:0,c:0,d:1,e:0,f:0};na.interpolateTransform=Bi,na.layout={},na.layout.bundle=function(){return function(t){for(var e=[],n=-1,i=t.length;++n<i;)e.push(Ui(t[n]));return e}},na.layout.chord=function(){function t(){var t,u,h,d,f,p={},g=[],m=na.range(o),v=[];for(n=[],i=[],t=0,d=-1;++d<o;){for(u=0,f=-1;++f<o;)u+=r[d][f];g.push(u),v.push(na.range(o)),t+=u}for(a&&m.sort(function(t,e){return a(g[t],g[e])}),s&&v.forEach(function(t,e){t.sort(function(t,n){return s(r[e][t],r[e][n])})}),t=(Ia-c*o)/t,u=0,d=-1;++d<o;){for(h=u,f=-1;++f<o;){var y=m[d],b=v[y][f],x=r[y][b],w=u,S=u+=x*t;p[y+"-"+b]={index:y,subindex:b,startAngle:w,endAngle:S,value:x}}i[y]={index:y,startAngle:h,endAngle:u,value:(u-h)/t},u+=c}for(d=-1;++d<o;)for(f=d-1;++f<o;){var _=p[d+"-"+f],C=p[f+"-"+d];(_.value||C.value)&&n.push(_.value<C.value?{source:C,target:_}:{source:_,target:C})}l&&e()}function e(){n.sort(function(t,e){return l((t.source.value+t.target.value)/2,(e.source.value+e.target.value)/2)})}var n,i,r,o,a,s,l,u={},c=0;return u.matrix=function(t){return arguments.length?(o=(r=t)&&r.length,n=i=null,u):r},u.padding=function(t){return arguments.length?(c=t,n=i=null,u):c},u.sortGroups=function(t){return arguments.length?(a=t,n=i=null,u):a},u.sortSubgroups=function(t){return arguments.length?(s=t,n=null,u):s},u.sortChords=function(t){return arguments.length?(l=t,n&&e(),u):l},u.chords=function(){return n||t(),n},u.groups=function(){return i||t(),i},u},na.layout.force=function(){function t(t){return function(e,n,i,r){if(e.point!==t){var o=e.cx-t.x,a=e.cy-t.y,s=r-n,l=o*o+a*a;if(l>s*s/m){if(p>l){var u=e.charge/l;t.px-=o*u,t.py-=a*u}return!0}if(e.point&&l&&p>l){var u=e.pointCharge/l;t.px-=o*u,t.py-=a*u}}return!e.charge}}function e(t){t.px=na.event.x,t.py=na.event.y,s.resume()}var n,i,r,o,a,s={},l=na.dispatch("start","tick","end"),u=[1,1],c=.9,h=pl,d=gl,f=-30,p=ml,g=.1,m=.64,v=[],y=[];return s.tick=function(){if((i*=.99)<.005)return l.end({type:"end",alpha:i=0}),!0;var e,n,s,h,d,p,m,b,x,w=v.length,S=y.length;for(n=0;S>n;++n)s=y[n],h=s.source,d=s.target,b=d.x-h.x,x=d.y-h.y,(p=b*b+x*x)&&(p=i*o[n]*((p=Math.sqrt(p))-r[n])/p,b*=p,x*=p,d.x-=b*(m=h.weight/(d.weight+h.weight)),d.y-=x*m,h.x+=b*(m=1-m),h.y+=x*m);if((m=i*g)&&(b=u[0]/2,x=u[1]/2,n=-1,m))for(;++n<w;)s=v[n],s.x+=(b-s.x)*m,s.y+=(x-s.y)*m;if(f)for(Ki(e=na.geom.quadtree(v),i,a),n=-1;++n<w;)(s=v[n]).fixed||e.visit(t(s));for(n=-1;++n<w;)s=v[n],s.fixed?(s.x=s.px,s.y=s.py):(s.x-=(s.px-(s.px=s.x))*c,s.y-=(s.py-(s.py=s.y))*c);l.tick({type:"tick",alpha:i})},s.nodes=function(t){return arguments.length?(v=t,s):v},s.links=function(t){return arguments.length?(y=t,s):y},s.size=function(t){return arguments.length?(u=t,s):u},s.linkDistance=function(t){return arguments.length?(h="function"==typeof t?t:+t,s):h},s.distance=s.linkDistance,s.linkStrength=function(t){return arguments.length?(d="function"==typeof t?t:+t,s):d},s.friction=function(t){return arguments.length?(c=+t,s):c},s.charge=function(t){return arguments.length?(f="function"==typeof t?t:+t,s):f},s.chargeDistance=function(t){return arguments.length?(p=t*t,s):Math.sqrt(p)},s.gravity=function(t){return arguments.length?(g=+t,s):g},s.theta=function(t){return arguments.length?(m=t*t,s):Math.sqrt(m)},s.alpha=function(t){return arguments.length?(t=+t,i?i=t>0?t:0:t>0&&(l.start({type:"start",alpha:i=t}),na.timer(s.tick)),s):i},s.start=function(){function t(t,i){if(!n){for(n=new Array(l),s=0;l>s;++s)n[s]=[];for(s=0;u>s;++s){var r=y[s];n[r.source.index].push(r.target),n[r.target.index].push(r.source)}}for(var o,a=n[e],s=-1,u=a.length;++s<u;)if(!isNaN(o=a[s][t]))return o;return Math.random()*i}var e,n,i,l=v.length,c=y.length,p=u[0],g=u[1];for(e=0;l>e;++e)(i=v[e]).index=e,i.weight=0;for(e=0;c>e;++e)i=y[e],"number"==typeof i.source&&(i.source=v[i.source]),"number"==typeof i.target&&(i.target=v[i.target]),++i.source.weight,++i.target.weight;for(e=0;l>e;++e)i=v[e],isNaN(i.x)&&(i.x=t("x",p)),isNaN(i.y)&&(i.y=t("y",g)),isNaN(i.px)&&(i.px=i.x),isNaN(i.py)&&(i.py=i.y);if(r=[],"function"==typeof h)for(e=0;c>e;++e)r[e]=+h.call(this,y[e],e);else for(e=0;c>e;++e)r[e]=h;if(o=[],"function"==typeof d)for(e=0;c>e;++e)o[e]=+d.call(this,y[e],e);else for(e=0;c>e;++e)o[e]=d;if(a=[],"function"==typeof f)for(e=0;l>e;++e)a[e]=+f.call(this,v[e],e);else for(e=0;l>e;++e)a[e]=f;return s.resume()},s.resume=function(){return s.alpha(.1)},s.stop=function(){return s.alpha(0)},s.drag=function(){return n||(n=na.behavior.drag().origin(kt).on("dragstart.force",Gi).on("drag.force",e).on("dragend.force",Xi)),arguments.length?void this.on("mouseover.force",Vi).on("mouseout.force",Zi).call(n):n},na.rebind(s,l,"on")};var pl=20,gl=1,ml=1/0;na.layout.hierarchy=function(){function t(r){var o,a=[r],s=[];for(r.depth=0;null!=(o=a.pop());)if(s.push(o),(u=n.call(t,o,o.depth))&&(l=u.length)){for(var l,u,c;--l>=0;)a.push(c=u[l]),c.parent=o,c.depth=o.depth+1;i&&(o.value=0),o.children=u}else i&&(o.value=+i.call(t,o,o.depth)||0),delete o.children;return tr(r,function(t){var n,r;e&&(n=t.children)&&n.sort(e),i&&(r=t.parent)&&(r.value+=t.value)}),s}var e=ir,n=er,i=nr;return t.sort=function(n){return arguments.length?(e=n,t):e},t.children=function(e){return arguments.length?(n=e,t):n},t.value=function(e){return arguments.length?(i=e,t):i},t.revalue=function(e){return i&&(Qi(e,function(t){t.children&&(t.value=0)}),tr(e,function(e){var n;e.children||(e.value=+i.call(t,e,e.depth)||0),(n=e.parent)&&(n.value+=e.value)})),e},t},na.layout.partition=function(){function t(e,n,i,r){var o=e.children;if(e.x=n,e.y=e.depth*r,e.dx=i,e.dy=r,o&&(a=o.length)){var a,s,l,u=-1;for(i=e.value?i/e.value:0;++u<a;)t(s=o[u],n,l=s.value*i,r),n+=l}}function e(t){var n=t.children,i=0;if(n&&(r=n.length))for(var r,o=-1;++o<r;)i=Math.max(i,e(n[o]));return 1+i}function n(n,o){var a=i.call(this,n,o);return t(a[0],0,r[0],r[1]/e(a[0])),a}var i=na.layout.hierarchy(),r=[1,1];return n.size=function(t){return arguments.length?(r=t,n):r},Ji(n,i)},na.layout.pie=function(){function t(a){var s,l=a.length,u=a.map(function(n,i){return+e.call(t,n,i)}),c=+("function"==typeof i?i.apply(this,arguments):i),h=("function"==typeof r?r.apply(this,arguments):r)-c,d=Math.min(Math.abs(h)/l,+("function"==typeof o?o.apply(this,arguments):o)),f=d*(0>h?-1:1),p=(h-l*f)/na.sum(u),g=na.range(l),m=[];return null!=n&&g.sort(n===vl?function(t,e){return u[e]-u[t]}:function(t,e){return n(a[t],a[e])}),g.forEach(function(t){m[t]={data:a[t],value:s=u[t],startAngle:c,endAngle:c+=s*p+f,padAngle:d}}),m}var e=Number,n=vl,i=0,r=Ia,o=0;return t.value=function(n){return arguments.length?(e=n,t):e},t.sort=function(e){return arguments.length?(n=e,t):n},t.startAngle=function(e){return arguments.length?(i=e,t):i},t.endAngle=function(e){return arguments.length?(r=e,t):r},t.padAngle=function(e){return arguments.length?(o=e,t):o},t};var vl={};na.layout.stack=function(){function t(s,l){if(!(d=s.length))return s;var u=s.map(function(n,i){return e.call(t,n,i)}),c=u.map(function(e){return e.map(function(e,n){return[o.call(t,e,n),a.call(t,e,n)]})}),h=n.call(t,c,l);u=na.permute(u,h),c=na.permute(c,h);var d,f,p,g,m=i.call(t,c,l),v=u[0].length;for(p=0;v>p;++p)for(r.call(t,u[0][p],g=m[p],c[0][p][1]),f=1;d>f;++f)r.call(t,u[f][p],g+=c[f-1][p][1],c[f][p][1]);return s}var e=kt,n=lr,i=ur,r=sr,o=or,a=ar;return t.values=function(n){return arguments.length?(e=n,t):e},t.order=function(e){return arguments.length?(n="function"==typeof e?e:yl.get(e)||lr,t):n},t.offset=function(e){return arguments.length?(i="function"==typeof e?e:bl.get(e)||ur,t):i},t.x=function(e){return arguments.length?(o=e,t):o},t.y=function(e){return arguments.length?(a=e,t):a},t.out=function(e){return arguments.length?(r=e,t):r},t};var yl=na.map({"inside-out":function(t){var e,n,i=t.length,r=t.map(cr),o=t.map(hr),a=na.range(i).sort(function(t,e){return r[t]-r[e]}),s=0,l=0,u=[],c=[];for(e=0;i>e;++e)n=a[e],l>s?(s+=o[n],u.push(n)):(l+=o[n],c.push(n));return c.reverse().concat(u)},reverse:function(t){return na.range(t.length).reverse()},default:lr}),bl=na.map({silhouette:function(t){var e,n,i,r=t.length,o=t[0].length,a=[],s=0,l=[];for(n=0;o>n;++n){for(e=0,i=0;r>e;e++)i+=t[e][n][1];i>s&&(s=i),a.push(i)}for(n=0;o>n;++n)l[n]=(s-a[n])/2;return l},wiggle:function(t){var e,n,i,r,o,a,s,l,u,c=t.length,h=t[0],d=h.length,f=[];for(f[0]=l=u=0,n=1;d>n;++n){for(e=0,r=0;c>e;++e)r+=t[e][n][1];for(e=0,o=0,s=h[n][0]-h[n-1][0];c>e;++e){for(i=0,a=(t[e][n][1]-t[e][n-1][1])/(2*s);e>i;++i)a+=(t[i][n][1]-t[i][n-1][1])/s;o+=a*t[e][n][1]}f[n]=l-=r?o/r*s:0,u>l&&(u=l)}for(n=0;d>n;++n)f[n]-=u;return f},expand:function(t){var e,n,i,r=t.length,o=t[0].length,a=1/r,s=[];for(n=0;o>n;++n){for(e=0,i=0;r>e;e++)i+=t[e][n][1];if(i)for(e=0;r>e;e++)t[e][n][1]/=i;else for(e=0;r>e;e++)t[e][n][1]=a}for(n=0;o>n;++n)s[n]=0;return s},zero:ur});na.layout.histogram=function(){function t(t,o){for(var a,s,l=[],u=t.map(n,this),c=i.call(this,u,o),h=r.call(this,c,u,o),o=-1,d=u.length,f=h.length-1,p=e?1:1/d;++o<f;)a=l[o]=[],a.dx=h[o+1]-(a.x=h[o]),a.y=0;if(f>0)for(o=-1;++o<d;)s=u[o],s>=c[0]&&s<=c[1]&&(a=l[na.bisect(h,s,1,f)-1],a.y+=p,a.push(t[o]));return l}var e=!0,n=Number,i=gr,r=fr;return t.value=function(e){return arguments.length?(n=e,t):n},t.range=function(e){return arguments.length?(i=Mt(e),t):i},t.bins=function(e){return arguments.length?(r="number"==typeof e?function(t){return pr(t,e)}:Mt(e),t):r},t.frequency=function(n){return arguments.length?(e=!!n,t):e},t},na.layout.pack=function(){function t(t,o){var a=n.call(this,t,o),s=a[0],l=r[0],u=r[1],c=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(s.x=s.y=0,tr(s,function(t){t.r=+c(t.value)}),tr(s,xr),i){var h=i*(e?1:Math.max(2*s.r/l,2*s.r/u))/2;tr(s,function(t){t.r+=h}),tr(s,xr),tr(s,function(t){t.r-=h})}return _r(s,l/2,u/2,e?1:1/Math.max(2*s.r/l,2*s.r/u)),a}var e,n=na.layout.hierarchy().sort(mr),i=0,r=[1,1];return t.size=function(e){return arguments.length?(r=e,t):r},t.radius=function(n){return arguments.length?(e=null==n||"function"==typeof n?n:+n,t):e},t.padding=function(e){return arguments.length?(i=+e,t):i},Ji(t,n)},na.layout.tree=function(){function t(t,r){var c=a.call(this,t,r),h=c[0],d=e(h);if(tr(d,n),d.parent.m=-d.z,Qi(d,i),u)Qi(h,o);else{var f=h,p=h,g=h;Qi(h,function(t){t.x<f.x&&(f=t),t.x>p.x&&(p=t),t.depth>g.depth&&(g=t)});var m=s(f,p)/2-f.x,v=l[0]/(p.x+s(p,f)/2+m),y=l[1]/(g.depth||1);Qi(h,function(t){t.x=(t.x+m)*v,t.y=t.depth*y})}return c}function e(t){for(var e,n={A:null,children:[t]},i=[n];null!=(e=i.pop());)for(var r,o=e.children,a=0,s=o.length;s>a;++a)i.push((o[a]=r={_:o[a],parent:e,children:(r=o[a].children)&&r.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:a}).a=r);return n.children[0]}function n(t){var e=t.children,n=t.parent.children,i=t.i?n[t.i-1]:null;if(e.length){Ar(t);var o=(e[0].z+e[e.length-1].z)/2;i?(t.z=i.z+s(t._,i._),t.m=t.z-o):t.z=o}else i&&(t.z=i.z+s(t._,i._));t.parent.A=r(t,i,t.parent.A||n[0])}function i(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function r(t,e,n){if(e){for(var i,r=t,o=t,a=e,l=r.parent.children[0],u=r.m,c=o.m,h=a.m,d=l.m;a=Tr(a),r=kr(r),a&&r;)l=kr(l),o=Tr(o),o.a=t,i=a.z+h-r.z-u+s(a._,r._),i>0&&(Dr(Er(a,t,n),t,i),u+=i,c+=i),h+=a.m,u+=r.m,d+=l.m,c+=o.m;a&&!Tr(o)&&(o.t=a,o.m+=h-c),r&&!kr(l)&&(l.t=r,l.m+=u-d,n=t)}return n}function o(t){t.x*=l[0],t.y=t.depth*l[1]}var a=na.layout.hierarchy().sort(null).value(null),s=Mr,l=[1,1],u=null;return t.separation=function(e){return arguments.length?(s=e,t):s},t.size=function(e){return arguments.length?(u=null==(l=e)?o:null,t):u?null:l},t.nodeSize=function(e){return arguments.length?(u=null==(l=e)?null:o,t):u?l:null},Ji(t,a)},na.layout.cluster=function(){function t(t,o){var a,s=e.call(this,t,o),l=s[0],u=0;tr(l,function(t){var e=t.children;e&&e.length?(t.x=Or(e),t.y=Pr(e)):(t.x=a?u+=n(t,a):0,t.y=0,a=t)});var c=Lr(l),h=Nr(l),d=c.x-n(c,h)/2,f=h.x+n(h,c)/2;return tr(l,r?function(t){t.x=(t.x-l.x)*i[0],t.y=(l.y-t.y)*i[1]}:function(t){t.x=(t.x-d)/(f-d)*i[0],t.y=(1-(l.y?t.y/l.y:1))*i[1]}),s}var e=na.layout.hierarchy().sort(null).value(null),n=Mr,i=[1,1],r=!1;return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(e){return arguments.length?(r=null==(i=e),t):r?null:i},t.nodeSize=function(e){return arguments.length?(r=null!=(i=e),t):r?i:null},Ji(t,e)},na.layout.treemap=function(){function t(t,e){for(var n,i,r=-1,o=t.length;++r<o;)i=(n=t[r]).value*(0>e?0:e),n.area=isNaN(i)||0>=i?0:i}function e(n){var o=n.children;if(o&&o.length){var a,s,l,u=h(n),c=[],d=o.slice(),p=1/0,g="slice"===f?u.dx:"dice"===f?u.dy:"slice-dice"===f?1&n.depth?u.dy:u.dx:Math.min(u.dx,u.dy);for(t(d,u.dx*u.dy/n.value),c.area=0;(l=d.length)>0;)c.push(a=d[l-1]),c.area+=a.area,"squarify"!==f||(s=i(c,g))<=p?(d.pop(),p=s):(c.area-=c.pop().area,r(c,g,u,!1),g=Math.min(u.dx,u.dy),c.length=c.area=0,p=1/0);c.length&&(r(c,g,u,!0),c.length=c.area=0),o.forEach(e)}}function n(e){var i=e.children;if(i&&i.length){var o,a=h(e),s=i.slice(),l=[];for(t(s,a.dx*a.dy/e.value),l.area=0;o=s.pop();)l.push(o),l.area+=o.area,null!=o.z&&(r(l,o.z?a.dx:a.dy,a,!s.length),l.length=l.area=0);i.forEach(n)}}function i(t,e){for(var n,i=t.area,r=0,o=1/0,a=-1,s=t.length;++a<s;)(n=t[a].area)&&(o>n&&(o=n),n>r&&(r=n));return i*=i,e*=e,i?Math.max(e*r*p/i,i/(e*o*p)):1/0}function r(t,e,n,i){var r,o=-1,a=t.length,s=n.x,u=n.y,c=e?l(t.area/e):0;if(e==n.dx){for((i||c>n.dy)&&(c=n.dy);++o<a;)r=t[o],r.x=s,r.y=u,r.dy=c,s+=r.dx=Math.min(n.x+n.dx-s,c?l(r.area/c):0);r.z=!0,r.dx+=n.x+n.dx-s,n.y+=c,n.dy-=c}else{for((i||c>n.dx)&&(c=n.dx);++o<a;)r=t[o],r.x=s,r.y=u,r.dx=c,u+=r.dy=Math.min(n.y+n.dy-u,c?l(r.area/c):0);r.z=!1,r.dy+=n.y+n.dy-u,n.x+=c,n.dx-=c}}function o(i){var r=a||s(i),o=r[0];return o.x=0,o.y=0,o.dx=u[0],o.dy=u[1],a&&s.revalue(o),t([o],o.dx*o.dy/o.value),(a?n:e)(o),d&&(a=r),r}var a,s=na.layout.hierarchy(),l=Math.round,u=[1,1],c=null,h=Ir,d=!1,f="squarify",p=.5*(1+Math.sqrt(5));return o.size=function(t){return arguments.length?(u=t,o):u},o.padding=function(t){function e(e){var n=t.call(o,e,e.depth);return null==n?Ir(e):jr(e,"number"==typeof n?[n,n,n,n]:n)}function n(e){return jr(e,t)}if(!arguments.length)return c;var i;return h=null==(c=t)?Ir:"function"==(i=typeof t)?e:"number"===i?(t=[t,t,t,t],n):n,o},o.round=function(t){return arguments.length?(l=t?Math.round:Number,o):l!=Number},o.sticky=function(t){return arguments.length?(d=t,a=null,o):d},o.ratio=function(t){return arguments.length?(p=t,o):p},o.mode=function(t){return arguments.length?(f=t+"",o):f},Ji(o,s)},na.random={normal:function(t,e){var n=arguments.length;return 2>n&&(e=1),1>n&&(t=0),function(){var n,i,r;do n=2*Math.random()-1,i=2*Math.random()-1,r=n*n+i*i;while(!r||r>1);return t+e*n*Math.sqrt(-2*Math.log(r)/r)}},logNormal:function(){var t=na.random.normal.apply(na,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=na.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(t){return function(){for(var e=0,n=0;t>n;n++)e+=Math.random();return e}}},na.scale={};var xl={floor:kt,ceil:kt};na.scale.linear=function(){return $r([0,1],[0,1],yi,!1)};var wl={s:1,g:1,p:1,r:1,e:1};na.scale.log=function(){return Kr(na.scale.linear().domain([0,1]),10,!0,[1,10])};var Sl=na.format(".0e"),_l={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};na.scale.pow=function(){return Jr(na.scale.linear(),1,[0,1])},na.scale.sqrt=function(){return na.scale.pow().exponent(.5)},na.scale.ordinal=function(){return to([],{t:"range",a:[[]]})},na.scale.category10=function(){return na.scale.ordinal().range(Cl)},na.scale.category20=function(){return na.scale.ordinal().range(Ml)},na.scale.category20b=function(){return na.scale.ordinal().range(kl)},na.scale.category20c=function(){return na.scale.ordinal().range(Tl)};var Cl=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(yt),Ml=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(yt),kl=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(yt),Tl=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(yt);na.scale.quantile=function(){return eo([],[])},na.scale.quantize=function(){return no(0,1,[0,1])},na.scale.threshold=function(){return io([.5],[0,1])},na.scale.identity=function(){return ro([0,1])},na.svg={},na.svg.arc=function(){function t(){var t=Math.max(0,+n.apply(this,arguments)),u=Math.max(0,+i.apply(this,arguments)),c=a.apply(this,arguments)-Fa,h=s.apply(this,arguments)-Fa,d=Math.abs(h-c),f=c>h?0:1;if(t>u&&(p=u,u=t,t=p),d>=ja)return e(u,f)+(t?e(t,1-f):"")+"Z";var p,g,m,v,y,b,x,w,S,_,C,M,k=0,T=0,D=[];if((v=(+l.apply(this,arguments)||0)/2)&&(m=o===Dl?Math.sqrt(t*t+u*u):+o.apply(this,arguments),f||(T*=-1),u&&(T=tt(m/u*Math.sin(v))),t&&(k=tt(m/t*Math.sin(v)))),u){y=u*Math.cos(c+T),b=u*Math.sin(c+T),x=u*Math.cos(h-T),w=u*Math.sin(h-T);var A=Math.abs(h-c-2*T)<=Na?0:1;if(T&&ho(y,b,x,w)===f^A){var E=(c+h)/2;y=u*Math.cos(E),b=u*Math.sin(E),x=w=null}}else y=b=0;if(t){S=t*Math.cos(h-k),_=t*Math.sin(h-k),C=t*Math.cos(c+k),M=t*Math.sin(c+k);var P=Math.abs(c-h+2*k)<=Na?0:1;if(k&&ho(S,_,C,M)===1-f^P){var O=(c+h)/2;S=t*Math.cos(O),_=t*Math.sin(O),C=M=null}}else S=_=0;if((p=Math.min(Math.abs(u-t)/2,+r.apply(this,arguments)))>.001){g=u>t^f?0:1;var L=null==C?[S,_]:null==x?[y,b]:Ln([y,b],[C,M],[x,w],[S,_]),N=y-L[0],I=b-L[1],j=x-L[0],F=w-L[1],R=1/Math.sin(Math.acos((N*j+I*F)/(Math.sqrt(N*N+I*I)*Math.sqrt(j*j+F*F)))/2),H=Math.sqrt(L[0]*L[0]+L[1]*L[1]);if(null!=x){var z=Math.min(p,(u-H)/(R+1)),B=fo(null==C?[S,_]:[C,M],[y,b],u,z,f),W=fo([x,w],[S,_],u,z,f);p===z?D.push("M",B[0],"A",z,",",z," 0 0,",g," ",B[1],"A",u,",",u," 0 ",1-f^ho(B[1][0],B[1][1],W[1][0],W[1][1]),",",f," ",W[1],"A",z,",",z," 0 0,",g," ",W[0]):D.push("M",B[0],"A",z,",",z," 0 1,",g," ",W[0])}else D.push("M",y,",",b);if(null!=C){var $=Math.min(p,(t-H)/(R-1)),U=fo([y,b],[C,M],t,-$,f),q=fo([S,_],null==x?[y,b]:[x,w],t,-$,f);p===$?D.push("L",q[0],"A",$,",",$," 0 0,",g," ",q[1],"A",t,",",t," 0 ",f^ho(q[1][0],q[1][1],U[1][0],U[1][1]),",",1-f," ",U[1],"A",$,",",$," 0 0,",g," ",U[0]):D.push("L",q[0],"A",$,",",$," 0 0,",g," ",U[0])}else D.push("L",S,",",_)}else D.push("M",y,",",b),null!=x&&D.push("A",u,",",u," 0 ",A,",",f," ",x,",",w),D.push("L",S,",",_),null!=C&&D.push("A",t,",",t," 0 ",P,",",1-f," ",C,",",M);return D.push("Z"),D.join("")}function e(t,e){return"M0,"+t+"A"+t+","+t+" 0 1,"+e+" 0,"+-t+"A"+t+","+t+" 0 1,"+e+" 0,"+t}var n=ao,i=so,r=oo,o=Dl,a=lo,s=uo,l=co;return t.innerRadius=function(e){return arguments.length?(n=Mt(e),t):n},t.outerRadius=function(e){return arguments.length?(i=Mt(e),t):i},t.cornerRadius=function(e){return arguments.length?(r=Mt(e),t):r},t.padRadius=function(e){return arguments.length?(o=e==Dl?Dl:Mt(e),t):o},t.startAngle=function(e){return arguments.length?(a=Mt(e),t):a},t.endAngle=function(e){return arguments.length?(s=Mt(e),t):s},t.padAngle=function(e){return arguments.length?(l=Mt(e),t):l},t.centroid=function(){var t=(+n.apply(this,arguments)+ +i.apply(this,arguments))/2,e=(+a.apply(this,arguments)+ +s.apply(this,arguments))/2-Fa;return[Math.cos(e)*t,Math.sin(e)*t]},t};var Dl="auto";na.svg.line=function(){return po(kt)};var Al=na.map({linear:go,"linear-closed":mo,step:vo,"step-before":yo,"step-after":bo,basis:Mo,"basis-open":ko,"basis-closed":To,bundle:Do,cardinal:So,"cardinal-open":xo,"cardinal-closed":wo,monotone:No});Al.forEach(function(t,e){e.key=t,e.closed=/-closed$/.test(t)});var El=[0,2/3,1/3,0],Pl=[0,1/3,2/3,0],Ol=[0,1/6,2/3,1/6];na.svg.line.radial=function(){var t=po(Io);return t.radius=t.x,delete t.x,t.angle=t.y,delete t.y,t},yo.reverse=bo,bo.reverse=yo,na.svg.area=function(){return jo(kt)},na.svg.area.radial=function(){var t=jo(Io);return t.radius=t.x,delete t.x,t.innerRadius=t.x0,delete t.x0,t.outerRadius=t.x1,delete t.x1,t.angle=t.y,delete t.y,t.startAngle=t.y0,delete t.y0,t.endAngle=t.y1,delete t.y1,t},na.svg.chord=function(){function t(t,s){var l=e(this,o,t,s),u=e(this,a,t,s);return"M"+l.p0+i(l.r,l.p1,l.a1-l.a0)+(n(l,u)?r(l.r,l.p1,l.r,l.p0):r(l.r,l.p1,u.r,u.p0)+i(u.r,u.p1,u.a1-u.a0)+r(u.r,u.p1,l.r,l.p0))+"Z"}function e(t,e,n,i){var r=e.call(t,n,i),o=s.call(t,r,i),a=l.call(t,r,i)-Fa,c=u.call(t,r,i)-Fa;return{r:o,a0:a,a1:c,p0:[o*Math.cos(a),o*Math.sin(a)],p1:[o*Math.cos(c),o*Math.sin(c)]}}function n(t,e){return t.a0==e.a0&&t.a1==e.a1}function i(t,e,n){return"A"+t+","+t+" 0 "+ +(n>Na)+",1 "+e}function r(t,e,n,i){return"Q 0,0 "+i}var o=yn,a=bn,s=Fo,l=lo,u=uo;return t.radius=function(e){return arguments.length?(s=Mt(e),t):s},t.source=function(e){return arguments.length?(o=Mt(e),t):o},t.target=function(e){return arguments.length?(a=Mt(e),t):a},t.startAngle=function(e){return arguments.length?(l=Mt(e),t):l},t.endAngle=function(e){return arguments.length?(u=Mt(e),t):u},t},na.svg.diagonal=function(){function t(t,r){var o=e.call(this,t,r),a=n.call(this,t,r),s=(o.y+a.y)/2,l=[o,{x:o.x,y:s},{x:a.x,y:s},a];return l=l.map(i),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var e=yn,n=bn,i=Ro;return t.source=function(n){return arguments.length?(e=Mt(n),t):e},t.target=function(e){return arguments.length?(n=Mt(e),t):n},t.projection=function(e){return arguments.length?(i=e,t):i},t},na.svg.diagonal.radial=function(){var t=na.svg.diagonal(),e=Ro,n=t.projection;return t.projection=function(t){return arguments.length?n(Ho(e=t)):e},t},na.svg.symbol=function(){function t(t,i){return(Ll.get(e.call(this,t,i))||Wo)(n.call(this,t,i))}var e=Bo,n=zo;return t.type=function(n){return arguments.length?(e=Mt(n),t):e},t.size=function(e){return arguments.length?(n=Mt(e),t):n},t};var Ll=na.map({circle:Wo,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*Il)),n=e*Il;return"M0,"+-e+"L"+n+",0 0,"+e+" "+-n+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return"M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/Nl),n=e*Nl/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/Nl),n=e*Nl/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});na.svg.symbolTypes=Ll.keys();var Nl=Math.sqrt(3),Il=Math.tan(30*Ra);Ca.transition=function(t){for(var e,n,i=jl||++zl,r=Go(t),o=[],a=Fl||{time:Date.now(),ease:Mi,delay:0,duration:250},s=-1,l=this.length;++s<l;){o.push(e=[]);for(var u=this[s],c=-1,h=u.length;++c<h;)(n=u[c])&&Xo(n,c,r,i,a),e.push(n)}return Uo(o,r,i)},Ca.interrupt=function(t){return this.each(null==t?Rl:$o(Go(t)))};var jl,Fl,Rl=$o(Go()),Hl=[],zl=0;Hl.call=Ca.call,Hl.empty=Ca.empty,Hl.node=Ca.node,Hl.size=Ca.size,na.transition=function(t,e){return t&&t.transition?jl?t.transition(e):t:Ta.transition(t)},na.transition.prototype=Hl,Hl.select=function(t){var e,n,i,r=this.id,o=this.namespace,a=[];t=M(t);for(var s=-1,l=this.length;++s<l;){a.push(e=[]);for(var u=this[s],c=-1,h=u.length;++c<h;)(i=u[c])&&(n=t.call(i,i.__data__,c,s))?("__data__"in i&&(n.__data__=i.__data__),Xo(n,c,o,r,i[o][r]),e.push(n)):e.push(null)}return Uo(a,o,r)},Hl.selectAll=function(t){var e,n,i,r,o,a=this.id,s=this.namespace,l=[];t=k(t);for(var u=-1,c=this.length;++u<c;)for(var h=this[u],d=-1,f=h.length;++d<f;)if(i=h[d]){o=i[s][a],n=t.call(i,i.__data__,d,u),l.push(e=[]);for(var p=-1,g=n.length;++p<g;)(r=n[p])&&Xo(r,p,s,a,o),e.push(r)}return Uo(l,s,a)},Hl.filter=function(t){var e,n,i,r=[];"function"!=typeof t&&(t=R(t));for(var o=0,a=this.length;a>o;o++){r.push(e=[]);for(var n=this[o],s=0,l=n.length;l>s;s++)(i=n[s])&&t.call(i,i.__data__,s,o)&&e.push(i)}return Uo(r,this.namespace,this.id)},Hl.tween=function(t,e){var n=this.id,i=this.namespace;return arguments.length<2?this.node()[i][n].tween.get(t):z(this,null==e?function(e){e[i][n].tween.remove(t)}:function(r){r[i][n].tween.set(t,e)})},Hl.attr=function(t,e){function n(){this.removeAttribute(s)}function i(){this.removeAttributeNS(s.space,s.local)}function r(t){return null==t?n:(t+="",function(){var e,n=this.getAttribute(s);return n!==t&&(e=a(n,t),function(t){this.setAttribute(s,e(t))})})}function o(t){return null==t?i:(t+="",function(){var e,n=this.getAttributeNS(s.space,s.local);return n!==t&&(e=a(n,t),function(t){this.setAttributeNS(s.space,s.local,e(t))})})}if(arguments.length<2){for(e in t)this.attr(e,t[e]);return this}var a="transform"==t?Bi:yi,s=na.ns.qualify(t);return qo(this,"attr."+t,e,s.local?o:r)},Hl.attrTween=function(t,e){function n(t,n){var i=e.call(this,t,n,this.getAttribute(r));return i&&function(t){this.setAttribute(r,i(t))}}function i(t,n){var i=e.call(this,t,n,this.getAttributeNS(r.space,r.local));return i&&function(t){this.setAttributeNS(r.space,r.local,i(t))}}var r=na.ns.qualify(t);return this.tween("attr."+t,r.local?i:n)},Hl.style=function(t,e,n){function i(){this.style.removeProperty(t)}function r(e){return null==e?i:(e+="",function(){var i,r=sa.getComputedStyle(this,null).getPropertyValue(t);return r!==e&&(i=yi(r,e),function(e){this.style.setProperty(t,i(e),n)})})}var o=arguments.length;if(3>o){if("string"!=typeof t){2>o&&(e="");for(n in t)this.style(n,t[n],e);return this}n=""}return qo(this,"style."+t,e,r)},Hl.styleTween=function(t,e,n){function i(i,r){var o=e.call(this,i,r,sa.getComputedStyle(this,null).getPropertyValue(t));return o&&function(e){this.style.setProperty(t,o(e),n)}}return arguments.length<3&&(n=""),this.tween("style."+t,i)},Hl.text=function(t){return qo(this,"text",t,Yo)},Hl.remove=function(){var t=this.namespace;return this.each("end.transition",function(){var e;this[t].count<2&&(e=this.parentNode)&&e.removeChild(this)})},Hl.ease=function(t){var e=this.id,n=this.namespace;return arguments.length<1?this.node()[n][e].ease:("function"!=typeof t&&(t=na.ease.apply(na,arguments)),z(this,function(i){i[n][e].ease=t}))},Hl.delay=function(t){var e=this.id,n=this.namespace;return arguments.length<1?this.node()[n][e].delay:z(this,"function"==typeof t?function(i,r,o){i[n][e].delay=+t.call(i,i.__data__,r,o)}:(t=+t,function(i){i[n][e].delay=t}))},Hl.duration=function(t){var e=this.id,n=this.namespace;return arguments.length<1?this.node()[n][e].duration:z(this,"function"==typeof t?function(i,r,o){i[n][e].duration=Math.max(1,t.call(i,i.__data__,r,o))}:(t=Math.max(1,t),function(i){i[n][e].duration=t}))},Hl.each=function(t,e){var n=this.id,i=this.namespace;if(arguments.length<2){var r=Fl,o=jl;try{jl=n,z(this,function(e,r,o){Fl=e[i][n],t.call(e,e.__data__,r,o)})}finally{Fl=r,jl=o}}else z(this,function(r){var o=r[i][n];(o.event||(o.event=na.dispatch("start","end","interrupt"))).on(t,e)});return this},Hl.transition=function(){for(var t,e,n,i,r=this.id,o=++zl,a=this.namespace,s=[],l=0,u=this.length;u>l;l++){s.push(t=[]);for(var e=this[l],c=0,h=e.length;h>c;c++)(n=e[c])&&(i=n[a][r],Xo(n,c,a,o,{time:i.time,ease:i.ease,delay:i.delay+i.duration,duration:i.duration})),t.push(n)}return Uo(s,a,o)},na.svg.axis=function(){function t(t){t.each(function(){var t,u=na.select(this),c=this.__chart__||n,h=this.__chart__=n.copy(),d=null==l?h.ticks?h.ticks.apply(h,s):h.domain():l,f=null==e?h.tickFormat?h.tickFormat.apply(h,s):kt:e,p=u.selectAll(".tick").data(d,h),g=p.enter().insert("g",".domain").attr("class","tick").style("opacity",Oa),m=na.transition(p.exit()).style("opacity",Oa).remove(),v=na.transition(p.order()).style("opacity",1),y=Math.max(r,0)+a,b=Rr(h),x=u.selectAll(".domain").data([0]),w=(x.enter().append("path").attr("class","domain"),na.transition(x));g.append("line"),g.append("text");var S,_,C,M,k=g.select("line"),T=v.select("line"),D=p.select("text").text(f),A=g.select("text"),E=v.select("text"),P="top"===i||"left"===i?-1:1;if("bottom"===i||"top"===i?(t=Vo,S="x",C="y",_="x2",M="y2",D.attr("dy",0>P?"0em":".71em").style("text-anchor","middle"),w.attr("d","M"+b[0]+","+P*o+"V0H"+b[1]+"V"+P*o)):(t=Zo,S="y",C="x",_="y2",M="x2",D.attr("dy",".32em").style("text-anchor",0>P?"end":"start"),w.attr("d","M"+P*o+","+b[0]+"H0V"+b[1]+"H"+P*o)),k.attr(M,P*r),A.attr(C,P*y),T.attr(_,0).attr(M,P*r),E.attr(S,0).attr(C,P*y),h.rangeBand){var O=h,L=O.rangeBand()/2;c=h=function(t){return O(t)+L}}else c.rangeBand?c=h:m.call(t,h,c);g.call(t,c,h),v.call(t,h,h)})}var e,n=na.scale.linear(),i=Bl,r=6,o=6,a=3,s=[10],l=null;return t.scale=function(e){return arguments.length?(n=e,t):n},t.orient=function(e){return arguments.length?(i=e in Wl?e+"":Bl,t):i},t.ticks=function(){return arguments.length?(s=arguments,t):s},t.tickValues=function(e){return arguments.length?(l=e,t):l},t.tickFormat=function(n){return arguments.length?(e=n,t):e},t.tickSize=function(e){var n=arguments.length;return n?(r=+e,o=+arguments[n-1],t):r},t.innerTickSize=function(e){return arguments.length?(r=+e,t):r},t.outerTickSize=function(e){return arguments.length?(o=+e,t):o},t.tickPadding=function(e){return arguments.length?(a=+e,t):a},t.tickSubdivide=function(){return arguments.length&&t},t};var Bl="bottom",Wl={top:1,right:1,bottom:1,left:1};na.svg.brush=function(){function t(o){o.each(function(){var o=na.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",r).on("touchstart.brush",r),a=o.selectAll(".background").data([0]);a.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),o.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var s=o.selectAll(".resize").data(p,kt);s.exit().remove(),s.enter().append("g").attr("class",function(t){return"resize "+t}).style("cursor",function(t){return $l[t]}).append("rect").attr("x",function(t){return/[ew]$/.test(t)?-3:null}).attr("y",function(t){return/^[ns]/.test(t)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),s.style("display",t.empty()?"none":null);var c,h=na.transition(o),d=na.transition(a);l&&(c=Rr(l),d.attr("x",c[0]).attr("width",c[1]-c[0]),n(h)),u&&(c=Rr(u),d.attr("y",c[0]).attr("height",c[1]-c[0]),i(h)),e(h)})}function e(t){t.selectAll(".resize").attr("transform",function(t){return"translate("+c[+/e$/.test(t)]+","+h[+/^s/.test(t)]+")"})}function n(t){t.select(".extent").attr("x",c[0]),t.selectAll(".extent,.n>rect,.s>rect").attr("width",c[1]-c[0])}function i(t){t.select(".extent").attr("y",h[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",h[1]-h[0])}function r(){function r(){32==na.event.keyCode&&(D||(y=null,E[0]-=c[1],E[1]-=h[1],D=2),w())}function p(){32==na.event.keyCode&&2==D&&(E[0]+=c[1],E[1]+=h[1],D=0,w())}function g(){ 12 var t=na.mouse(x),r=!1;b&&(t[0]+=b[0],t[1]+=b[1]),D||(na.event.altKey?(y||(y=[(c[0]+c[1])/2,(h[0]+h[1])/2]),E[0]=c[+(t[0]<y[0])],E[1]=h[+(t[1]<y[1])]):y=null),k&&m(t,l,0)&&(n(C),r=!0),T&&m(t,u,1)&&(i(C),r=!0),r&&(e(C),_({type:"brush",mode:D?"move":"resize"}))}function m(t,e,n){var i,r,s=Rr(e),l=s[0],u=s[1],p=E[n],g=n?h:c,m=g[1]-g[0];return D&&(l-=p,u-=m+p),i=(n?f:d)?Math.max(l,Math.min(u,t[n])):t[n],D?r=(i+=p)+m:(y&&(p=Math.max(l,Math.min(u,2*y[n]-i))),i>p?(r=i,i=p):r=p),g[0]!=i||g[1]!=r?(n?a=null:o=null,g[0]=i,g[1]=r,!0):void 0}function v(){g(),C.style("pointer-events","all").selectAll(".resize").style("display",t.empty()?"none":null),na.select("body").style("cursor",null),P.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),A(),_({type:"brushend"})}var y,b,x=this,S=na.select(na.event.target),_=s.of(x,arguments),C=na.select(x),M=S.datum(),k=!/^(n|s)$/.test(M)&&l,T=!/^(e|w)$/.test(M)&&u,D=S.classed("extent"),A=Y(),E=na.mouse(x),P=na.select(sa).on("keydown.brush",r).on("keyup.brush",p);if(na.event.changedTouches?P.on("touchmove.brush",g).on("touchend.brush",v):P.on("mousemove.brush",g).on("mouseup.brush",v),C.interrupt().selectAll("*").interrupt(),D)E[0]=c[0]-E[0],E[1]=h[0]-E[1];else if(M){var O=+/w$/.test(M),L=+/^n/.test(M);b=[c[1-O]-E[0],h[1-L]-E[1]],E[0]=c[O],E[1]=h[L]}else na.event.altKey&&(y=E.slice());C.style("pointer-events","none").selectAll(".resize").style("display",null),na.select("body").style("cursor",S.style("cursor")),_({type:"brushstart"}),g()}var o,a,s=_(t,"brushstart","brush","brushend"),l=null,u=null,c=[0,0],h=[0,0],d=!0,f=!0,p=Ul[0];return t.event=function(t){t.each(function(){var t=s.of(this,arguments),e={x:c,y:h,i:o,j:a},n=this.__chart__||e;this.__chart__=e,jl?na.select(this).transition().each("start.brush",function(){o=n.i,a=n.j,c=n.x,h=n.y,t({type:"brushstart"})}).tween("brush:brush",function(){var n=bi(c,e.x),i=bi(h,e.y);return o=a=null,function(r){c=e.x=n(r),h=e.y=i(r),t({type:"brush",mode:"resize"})}}).each("end.brush",function(){o=e.i,a=e.j,t({type:"brush",mode:"resize"}),t({type:"brushend"})}):(t({type:"brushstart"}),t({type:"brush",mode:"resize"}),t({type:"brushend"}))})},t.x=function(e){return arguments.length?(l=e,p=Ul[!l<<1|!u],t):l},t.y=function(e){return arguments.length?(u=e,p=Ul[!l<<1|!u],t):u},t.clamp=function(e){return arguments.length?(l&&u?(d=!!e[0],f=!!e[1]):l?d=!!e:u&&(f=!!e),t):l&&u?[d,f]:l?d:u?f:null},t.extent=function(e){var n,i,r,s,d;return arguments.length?(l&&(n=e[0],i=e[1],u&&(n=n[0],i=i[0]),o=[n,i],l.invert&&(n=l(n),i=l(i)),n>i&&(d=n,n=i,i=d),(n!=c[0]||i!=c[1])&&(c=[n,i])),u&&(r=e[0],s=e[1],l&&(r=r[1],s=s[1]),a=[r,s],u.invert&&(r=u(r),s=u(s)),r>s&&(d=r,r=s,s=d),(r!=h[0]||s!=h[1])&&(h=[r,s])),t):(l&&(o?(n=o[0],i=o[1]):(n=c[0],i=c[1],l.invert&&(n=l.invert(n),i=l.invert(i)),n>i&&(d=n,n=i,i=d))),u&&(a?(r=a[0],s=a[1]):(r=h[0],s=h[1],u.invert&&(r=u.invert(r),s=u.invert(s)),r>s&&(d=r,r=s,s=d))),l&&u?[[n,r],[i,s]]:l?[n,i]:u&&[r,s])},t.clear=function(){return t.empty()||(c=[0,0],h=[0,0],o=a=null),t},t.empty=function(){return!!l&&c[0]==c[1]||!!u&&h[0]==h[1]},na.rebind(t,s,"on")};var $l={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ul=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],ql=cs.format=ms.timeFormat,Yl=ql.utc,Gl=Yl("%Y-%m-%dT%H:%M:%S.%LZ");ql.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Ko:Gl,Ko.parse=function(t){var e=new Date(t);return isNaN(e)?null:e},Ko.toString=Gl.toString,cs.second=Ht(function(t){return new hs(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(t.getTime()+1e3*Math.floor(e))},function(t){return t.getSeconds()}),cs.seconds=cs.second.range,cs.seconds.utc=cs.second.utc.range,cs.minute=Ht(function(t){return new hs(6e4*Math.floor(t/6e4))},function(t,e){t.setTime(t.getTime()+6e4*Math.floor(e))},function(t){return t.getMinutes()}),cs.minutes=cs.minute.range,cs.minutes.utc=cs.minute.utc.range,cs.hour=Ht(function(t){var e=t.getTimezoneOffset()/60;return new hs(36e5*(Math.floor(t/36e5-e)+e))},function(t,e){t.setTime(t.getTime()+36e5*Math.floor(e))},function(t){return t.getHours()}),cs.hours=cs.hour.range,cs.hours.utc=cs.hour.utc.range,cs.month=Ht(function(t){return t=cs.day(t),t.setDate(1),t},function(t,e){t.setMonth(t.getMonth()+e)},function(t){return t.getMonth()}),cs.months=cs.month.range,cs.months.utc=cs.month.utc.range;var Xl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Vl=[[cs.second,1],[cs.second,5],[cs.second,15],[cs.second,30],[cs.minute,1],[cs.minute,5],[cs.minute,15],[cs.minute,30],[cs.hour,1],[cs.hour,3],[cs.hour,6],[cs.hour,12],[cs.day,1],[cs.day,2],[cs.week,1],[cs.month,1],[cs.month,3],[cs.year,1]],Zl=ql.multi([[".%L",function(t){return t.getMilliseconds()}],[":%S",function(t){return t.getSeconds()}],["%I:%M",function(t){return t.getMinutes()}],["%I %p",function(t){return t.getHours()}],["%a %d",function(t){return t.getDay()&&1!=t.getDate()}],["%b %d",function(t){return 1!=t.getDate()}],["%B",function(t){return t.getMonth()}],["%Y",De]]),Kl={range:function(t,e,n){return na.range(Math.ceil(t/n)*n,+e,n).map(Qo)},floor:kt,ceil:kt};Vl.year=cs.year,cs.scale=function(){return Jo(na.scale.linear(),Vl,Zl)};var Jl=Vl.map(function(t){return[t[0].utc,t[1]]}),Ql=Yl.multi([[".%L",function(t){return t.getUTCMilliseconds()}],[":%S",function(t){return t.getUTCSeconds()}],["%I:%M",function(t){return t.getUTCMinutes()}],["%I %p",function(t){return t.getUTCHours()}],["%a %d",function(t){return t.getUTCDay()&&1!=t.getUTCDate()}],["%b %d",function(t){return 1!=t.getUTCDate()}],["%B",function(t){return t.getUTCMonth()}],["%Y",De]]);Jl.year=cs.year.utc,cs.scale.utc=function(){return Jo(na.scale.linear(),Jl,Ql)},na.text=Tt(function(t){return t.responseText}),na.json=function(t,e){return Dt(t,"application/json",ta,e)},na.html=function(t,e){return Dt(t,"text/html",ea,e)},na.xml=Tt(function(t){return t.responseXML}),"function"==typeof define&&define.amd?define(na):"object"==typeof module&&module.exports&&(module.exports=na),this.d3=na}(),!function(){function t(t,e){function n(e){var n,i=t.arcs[0>e?~e:e],r=i[0];return t.transform?(n=[0,0],i.forEach(function(t){n[0]+=t[0],n[1]+=t[1]})):n=i[i.length-1],0>e?[n,r]:[r,n]}function i(t,e){for(var n in t){var i=t[n];delete e[i.start],delete i.start,delete i.end,i.forEach(function(t){r[0>t?~t:t]=1}),s.push(i)}}var r={},o={},a={},s=[],l=-1;return e.forEach(function(n,i){var r,o=t.arcs[0>n?~n:n];o.length<3&&!o[1][0]&&!o[1][1]&&(r=e[++l],e[l]=n,e[i]=r)}),e.forEach(function(t){var e,i,r=n(t),s=r[0],l=r[1];if(e=a[s])if(delete a[e.end],e.push(t),e.end=l,i=o[l]){delete o[i.start];var u=i===e?e:e.concat(i);o[u.start=e.start]=a[u.end=i.end]=u}else o[e.start]=a[e.end]=e;else if(e=o[l])if(delete o[e.start],e.unshift(t),e.start=s,i=a[s]){delete a[i.end];var c=i===e?e:i.concat(e);o[c.start=i.start]=a[c.end=e.end]=c}else o[e.start]=a[e.end]=e;else e=[t],o[e.start=s]=a[e.end=l]=e}),i(a,o),i(o,a),e.forEach(function(t){r[0>t?~t:t]||s.push([t])}),s}function e(e,n,i){function r(t){var e=0>t?~t:t;(c[e]||(c[e]=[])).push({i:t,g:u})}function o(t){t.forEach(r)}function a(t){t.forEach(o)}function s(t){"GeometryCollection"===t.type?t.geometries.forEach(s):t.type in h&&(u=t,h[t.type](t.arcs))}var l=[];if(arguments.length>1){var u,c=[],h={LineString:o,MultiLineString:a,Polygon:a,MultiPolygon:function(t){t.forEach(a)}};s(n),c.forEach(arguments.length<3?function(t){l.push(t[0].i)}:function(t){i(t[0].g,t[t.length-1].g)&&l.push(t[0].i)})}else for(var d=0,f=e.arcs.length;f>d;++d)l.push(d);return{type:"MultiLineString",arcs:t(e,l)}}function i(e,i){function r(t){t.forEach(function(e){e.forEach(function(e){(s[e=0>e?~e:e]||(s[e]=[])).push(t)})}),l.push(t)}function o(t){return h(a(e,{type:"Polygon",arcs:[t]}).coordinates[0])>0}var s={},l=[],u=[];return i.forEach(function(t){"Polygon"===t.type?r(t.arcs):"MultiPolygon"===t.type&&t.arcs.forEach(r)}),l.forEach(function(t){if(!t._){var e=[],n=[t];for(t._=1,u.push(e);t=n.pop();)e.push(t),t.forEach(function(t){t.forEach(function(t){s[0>t?~t:t].forEach(function(t){t._||(t._=1,n.push(t))})})})}}),l.forEach(function(t){delete t._}),{type:"MultiPolygon",arcs:u.map(function(i){var r=[];if(i.forEach(function(t){t.forEach(function(t){t.forEach(function(t){s[0>t?~t:t].length<2&&r.push(t)})})}),r=t(e,r),(n=r.length)>1)for(var a,l=o(i[0][0]),u=0;n>u;++u)if(l===o(r[u])){a=r[0],r[0]=r[u],r[u]=a;break}return r})}}function r(t,e){return"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map(function(e){return o(t,e)})}:o(t,e)}function o(t,e){var n={type:"Feature",id:e.id,properties:e.properties||{},geometry:a(t,e)};return null==e.id&&delete n.id,n}function a(t,e){function n(t,e){e.length&&e.pop();for(var n,i=c[0>t?~t:t],r=0,o=i.length;o>r;++r)e.push(n=i[r].slice()),u(n,r);0>t&&s(e,o)}function i(t){return t=t.slice(),u(t,0),t}function r(t){for(var e=[],i=0,r=t.length;r>i;++i)n(t[i],e);return e.length<2&&e.push(e[0].slice()),e}function o(t){for(var e=r(t);e.length<4;)e.push(e[0].slice());return e}function a(t){return t.map(o)}function l(t){var e=t.type;return"GeometryCollection"===e?{type:e,geometries:t.geometries.map(l)}:e in h?{type:e,coordinates:h[e](t)}:null}var u=g(t.transform),c=t.arcs,h={Point:function(t){return i(t.coordinates)},MultiPoint:function(t){return t.coordinates.map(i)},LineString:function(t){return r(t.arcs)},MultiLineString:function(t){return t.arcs.map(r)},Polygon:function(t){return a(t.arcs)},MultiPolygon:function(t){return t.arcs.map(a)}};return l(e)}function s(t,e){for(var n,i=t.length,r=i-e;r<--i;)n=t[r],t[r++]=t[i],t[i]=n}function l(t,e){for(var n=0,i=t.length;i>n;){var r=n+i>>>1;t[r]<e?n=r+1:i=r}return n}function u(t){function e(t,e){t.forEach(function(t){0>t&&(t=~t);var n=r[t];n?n.push(e):r[t]=[e]})}function n(t,n){t.forEach(function(t){e(t,n)})}function i(t,e){"GeometryCollection"===t.type?t.geometries.forEach(function(t){i(t,e)}):t.type in a&&a[t.type](t.arcs,e)}var r={},o=t.map(function(){return[]}),a={LineString:e,MultiLineString:n,Polygon:n,MultiPolygon:function(t,e){t.forEach(function(t){n(t,e)})}};t.forEach(i);for(var s in r)for(var u=r[s],c=u.length,h=0;c>h;++h)for(var d=h+1;c>d;++d){var f,p=u[h],g=u[d];(f=o[p])[s=l(f,g)]!==g&&f.splice(s,0,g),(f=o[g])[s=l(f,p)]!==p&&f.splice(s,0,p)}return o}function c(t,e){function n(t){a.remove(t),t[1][2]=e(t),a.push(t)}var i,r=g(t.transform),o=m(t.transform),a=p(),s=0;for(e||(e=d),t.arcs.forEach(function(t){var n=[];t.forEach(r);for(var o=1,s=t.length-1;s>o;++o)i=t.slice(o-1,o+2),i[1][2]=e(i),n.push(i),a.push(i);t[0][2]=t[s][2]=1/0;for(var o=0,s=n.length;s>o;++o)i=n[o],i.previous=n[o-1],i.next=n[o+1]});i=a.pop();){var l=i.previous,u=i.next;i[1][2]<s?i[1][2]=s:s=i[1][2],l&&(l.next=u,l[2]=i[2],n(l)),u&&(u.previous=l,u[0]=i[0],n(u))}return t.arcs.forEach(function(t){t.forEach(o)}),t}function h(t){for(var e,n=-1,i=t.length,r=t[i-1],o=0;++n<i;)e=r,r=t[n],o+=e[0]*r[1]-e[1]*r[0];return.5*o}function d(t){var e=t[0],n=t[1],i=t[2];return Math.abs((e[0]-i[0])*(n[1]-e[1])-(e[0]-n[0])*(i[1]-e[1]))}function f(t,e){return t[1][2]-e[1][2]}function p(){function t(t,e){for(;e>0;){var n=(e+1>>1)-1,r=i[n];if(f(t,r)>=0)break;i[r._=e]=r,i[t._=e=n]=t}}function e(t,e){for(;;){var n=e+1<<1,o=n-1,a=e,s=i[a];if(r>o&&f(i[o],s)<0&&(s=i[a=o]),r>n&&f(i[n],s)<0&&(s=i[a=n]),a===e)break;i[s._=e]=s,i[t._=e=a]=t}}var n={},i=[],r=0;return n.push=function(e){return t(i[e._=r]=e,r++),r},n.pop=function(){if(!(0>=r)){var t,n=i[0];return--r>0&&(t=i[r],e(i[t._=0]=t,0)),n}},n.remove=function(n){var o,a=n._;if(i[a]===n)return a!==--r&&(o=i[r],(f(o,n)<0?t:e)(i[o._=a]=o,a)),a},n}function g(t){if(!t)return v;var e,n,i=t.scale[0],r=t.scale[1],o=t.translate[0],a=t.translate[1];return function(t,s){s||(e=n=0),t[0]=(e+=t[0])*i+o,t[1]=(n+=t[1])*r+a}}function m(t){if(!t)return v;var e,n,i=t.scale[0],r=t.scale[1],o=t.translate[0],a=t.translate[1];return function(t,s){s||(e=n=0);var l=(t[0]-o)/i|0,u=(t[1]-a)/r|0;t[0]=l-e,t[1]=u-n,e=l,n=u}}function v(){}var y={version:"1.6.9",mesh:function(t){return a(t,e.apply(this,arguments))},meshArcs:e,merge:function(t){return a(t,i.apply(this,arguments))},mergeArcs:i,feature:r,neighbors:u,presimplify:c};"function"==typeof define&&define.amd?define(y):"object"==typeof module&&module.exports?module.exports=y:this.topojson=y}(),!function(){function t(t,e,n){"undefined"==typeof n&&(n=e,optionsValues=void 0);var i="undefined"!=typeof t?t:e;if("undefined"==typeof i)return null;if("function"==typeof i){var r=[n];return n.geography&&(r=[n.geography,n.data]),i.apply(null,r)}return i}function e(t,e,n){return this.svg=f.select(t).append("svg").attr("width",n||t.offsetWidth).attr("data-width",n||t.offsetWidth).attr("class","datamap").attr("height",e||t.offsetHeight).style("overflow","hidden"),this.options.responsive&&(f.select(this.options.element).style({position:"relative","padding-bottom":"60%"}),f.select(this.options.element).select("svg").style({position:"absolute",width:"100%",height:"100%"}),f.select(this.options.element).select("svg").select("g").selectAll("path").style("vector-effect","non-scaling-stroke")),this.svg}function n(t,e){var n,i,r=e.width||t.offsetWidth,o=e.height||t.offsetHeight,a=this.svg;return e&&"undefined"==typeof e.scope&&(e.scope="world"),"usa"===e.scope?n=f.geo.albersUsa().scale(r).translate([r/2,o/2]):"world"===e.scope&&(n=f.geo[e.projection]().scale((r+1)/2/Math.PI).translate([r/2,o/("mercator"===e.projection?1.45:1.8)])),"orthographic"===e.projection&&(a.append("defs").append("path").datum({type:"Sphere"}).attr("id","sphere").attr("d",i),a.append("use").attr("class","stroke").attr("xlink:href","#sphere"),a.append("use").attr("class","fill").attr("xlink:href","#sphere"),n.scale(250).clipAngle(90).rotate(e.projectionConfig.rotation)),i=f.geo.path().projection(n),{path:i,projection:n}}function i(){f.select(".datamaps-style-block").empty()&&f.select("head").append("style").attr("class","datamaps-style-block").html('.datamap path.datamaps-graticule { fill: none; stroke: #777; stroke-width: 0.5px; stroke-opacity: .5; pointer-events: none; } .datamap .labels {pointer-events: none;} .datamap path {stroke: #FFFFFF; stroke-width: 1px;} .datamaps-legend dt, .datamaps-legend dd { float: left; margin: 0 3px 0 0;} .datamaps-legend dd {width: 20px; margin-right: 6px; border-radius: 3px;} .datamaps-legend {padding-bottom: 20px; z-index: 1001; position: absolute; left: 4px; font-size: 12px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;} .datamaps-hoverover {display: none; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } .hoverinfo {padding: 4px; border-radius: 1px; background-color: #FFF; box-shadow: 1px 1px 5px #CCC; font-size: 12px; border: 1px solid #CCC; } .hoverinfo hr {border:1px dotted #CCC; }')}function r(e){var n=this.options.fills,i=this.options.data||{},r=this.options.geographyConfig,o=this.svg.select("g.datamaps-subunits");o.empty()&&(o=this.addLayer("datamaps-subunits",null,!0));var a=p.feature(e,e.objects[this.options.scope]).features;r.hideAntarctica&&(a=a.filter(function(t){return"ATA"!==t.id}));var s=o.selectAll("path.datamaps-subunit").data(a);s.enter().append("path").attr("d",this.path).attr("class",function(t){return"datamaps-subunit "+t.id}).attr("data-info",function(t){return JSON.stringify(i[t.id])}).style("fill",function(e){var r,o=i[e.id];return o&&o.fillKey&&(r=n[t(o.fillKey,{data:i[e.id],geography:e})]),"undefined"==typeof r&&(r=t(o&&o.fillColor,n.defaultFill,{data:i[e.id],geography:e})),r}).style("stroke-width",r.borderWidth).style("stroke",r.borderColor)}function o(){function e(){this.parentNode.appendChild(this)}var n=this.svg,i=this,r=this.options.geographyConfig;(r.highlightOnHover||r.popupOnHover)&&n.selectAll(".datamaps-subunit").on("mouseover",function(o){var a=f.select(this),s=i.options.data[o.id]||{};if(r.highlightOnHover){var l={fill:a.style("fill"),stroke:a.style("stroke"),"stroke-width":a.style("stroke-width"),"fill-opacity":a.style("fill-opacity")};a.style("fill",t(s.highlightFillColor,r.highlightFillColor,s)).style("stroke",t(s.highlightBorderColor,r.highlightBorderColor,s)).style("stroke-width",t(s.highlightBorderWidth,r.highlightBorderWidth,s)).style("fill-opacity",t(s.highlightFillOpacity,r.highlightFillOpacity,s)).attr("data-previousAttributes",JSON.stringify(l)),/((MSIE)|(Trident))/.test||e.call(this)}r.popupOnHover&&i.updatePopup(a,o,r,n)}).on("mouseout",function(){var t=f.select(this);if(r.highlightOnHover){var e=JSON.parse(t.attr("data-previousAttributes"));for(var n in e)t.style(n,e[n])}t.on("mousemove",null),f.selectAll(".datamaps-hoverover").style("display","none")})}function a(t,e){if(e=e||{},this.options.fills){var n="<dl>",i="";e.legendTitle&&(n="<h2>"+e.legendTitle+"</h2>"+n);for(var r in this.options.fills){if("defaultFill"===r){if(!e.defaultFillName)continue;i=e.defaultFillName}else i=e.labels&&e.labels[r]?e.labels[r]:r+": ";n+="<dt>"+i+"</dt>",n+='<dd style="background-color:'+this.options.fills[r]+'"> </dd>'}n+="</dl>",f.select(this.options.element).append("div").attr("class","datamaps-legend").html(n)}}function s(){var t=f.geo.graticule();this.svg.insert("path",".datamaps-subunits").datum(t).attr("class","datamaps-graticule").attr("d",this.path)}function l(e,n,i){var r=this;if(this.svg,!n||n&&!n.slice)throw"Datamaps Error - arcs must be an array";for(var o=0;o<n.length;o++)n[o]=h(n[o],n[o].options),delete n[o].options;"undefined"==typeof i&&(i=g.arcConfig);var a=e.selectAll("path.datamaps-arc").data(n,JSON.stringify),s=f.geo.path().projection(r.projection);a.enter().append("svg:path").attr("class","datamaps-arc").style("stroke-linecap","round").style("stroke",function(e){return t(e.strokeColor,i.strokeColor,e)}).style("fill","none").style("stroke-width",function(e){return t(e.strokeWidth,i.strokeWidth,e)}).attr("d",function(e){var n=r.latLngToXY(t(e.origin.latitude,e),t(e.origin.longitude,e)),o=r.latLngToXY(t(e.destination.latitude,e),t(e.destination.longitude,e)),a=[(n[0]+o[0])/2,(n[1]+o[1])/2];if(i.greatArc){var l=f.geo.greatArc().source(function(e){return[t(e.origin.longitude,e),t(e.origin.latitude,e)]}).target(function(e){return[t(e.destination.longitude,e),t(e.destination.latitude,e)]});return s(l(e))}var u=t(e.arcSharpness,i.arcSharpness,e);return"M"+n[0]+","+n[1]+"S"+(a[0]+50*u)+","+(a[1]-75*u)+","+o[0]+","+o[1]}).transition().delay(100).style("fill",function(e){var n=this.getTotalLength();return this.style.transition=this.style.WebkitTransition="none",this.style.strokeDasharray=n+" "+n,this.style.strokeDashoffset=n,this.getBoundingClientRect(),this.style.transition=this.style.WebkitTransition="stroke-dashoffset "+t(e.animationSpeed,i.animationSpeed,e)+"ms ease-out",this.style.strokeDashoffset="0","none"}),a.exit().transition().style("opacity",0).remove()}function u(t,e){var n=this;e=e||{};var i=this.projection([-67.707617,42.722131]);this.svg.selectAll(".datamaps-subunit").attr("data-foo",function(r){var o=n.path.centroid(r),a=7.5,s=5;["FL","KY","MI"].indexOf(r.id)>-1&&(a=-2.5),"NY"===r.id&&(a=-1),"MI"===r.id&&(s=18),"LA"===r.id&&(a=13);var l,u;l=o[0]-a,u=o[1]+s;var c=["VT","NH","MA","RI","CT","NJ","DE","MD","DC"].indexOf(r.id);if(c>-1){var h=i[1];l=i[0],u=h+c*(2+(e.fontSize||12)),t.append("line").attr("x1",l-3).attr("y1",u-5).attr("x2",o[0]).attr("y2",o[1]).style("stroke",e.labelColor||"#000").style("stroke-width",e.lineWidth||1)}return t.append("text").attr("x",l).attr("y",u).style("font-size",(e.fontSize||10)+"px").style("font-family",e.fontFamily||"Verdana").style("fill",e.labelColor||"#000").text(r.id),"bar"})}function c(e,n,i){function r(t){return"undefined"!=typeof t&&"undefined"!=typeof t.latitude&&"undefined"!=typeof t.longitude}var o=this,a=this.options.fills,s=this.svg;if(!n||n&&!n.slice)throw"Datamaps Error - bubbles must be an array";var l=e.selectAll("circle.datamaps-bubble").data(n,JSON.stringify);l.enter().append("svg:circle").attr("class","datamaps-bubble").attr("cx",function(t){var e;return r(t)?e=o.latLngToXY(t.latitude,t.longitude):t.centered&&(e=o.path.centroid(s.select("path."+t.centered).data()[0])),e?e[0]:void 0}).attr("cy",function(t){var e;return r(t)?e=o.latLngToXY(t.latitude,t.longitude):t.centered&&(e=o.path.centroid(s.select("path."+t.centered).data()[0])),e?e[1]:void 0}).attr("r",0).attr("data-info",function(t){return JSON.stringify(t)}).style("stroke",function(e){return t(e.borderColor,i.borderColor,e)}).style("stroke-width",function(e){return t(e.borderWidth,i.borderWidth,e)}).style("fill-opacity",function(e){return t(e.fillOpacity,i.fillOpacity,e)}).style("fill",function(e){var n=a[t(e.fillKey,i.fillKey,e)];return n||a.defaultFill}).on("mouseover",function(e){var n=f.select(this);if(i.highlightOnHover){var r={fill:n.style("fill"),stroke:n.style("stroke"),"stroke-width":n.style("stroke-width"),"fill-opacity":n.style("fill-opacity")};n.style("fill",t(e.highlightFillColor,i.highlightFillColor,e)).style("stroke",t(e.highlightBorderColor,i.highlightBorderColor,e)).style("stroke-width",t(e.highlightBorderWidth,i.highlightBorderWidth,e)).style("fill-opacity",t(e.highlightFillOpacity,i.highlightFillOpacity,e)).attr("data-previousAttributes",JSON.stringify(r))}i.popupOnHover&&o.updatePopup(n,e,i,s)}).on("mouseout",function(){var t=f.select(this);if(i.highlightOnHover){var e=JSON.parse(t.attr("data-previousAttributes"));for(var n in e)t.style(n,e[n])}f.selectAll(".datamaps-hoverover").style("display","none")}).transition().duration(400).attr("r",function(e){return t(e.radius,i.radius,e)}),l.exit().transition().delay(i.exitDelay).attr("r",0).remove()}function h(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){if(e)for(var n in e)null==t[n]&&(t[n]=e[n])}),t}function d(t){if("undefined"==typeof f||"undefined"==typeof p)throw new Error("Include d3.js (v3.0.3 or greater) and topojson on this page before creating a new map");return this.options=h(t,g),this.options.geographyConfig=h(t.geographyConfig,g.geographyConfig),this.options.projectionConfig=h(t.projectionConfig,g.projectionConfig),this.options.bubblesConfig=h(t.bubblesConfig,g.bubblesConfig),this.options.arcConfig=h(t.arcConfig,g.arcConfig),f.select(this.options.element).select("svg").length>0&&e.call(this,this.options.element,this.options.height,this.options.width),this.addPlugin("bubbles",c),this.addPlugin("legend",a),this.addPlugin("arc",l),this.addPlugin("labels",u),this.addPlugin("graticule",s),this.options.disableDefaultStyles||i(),this.draw()}var f=window.d3,p=window.topojson,g={scope:"world",responsive:!1,setProjection:n,projection:"equirectangular",dataType:"json",data:{},done:function(){},fills:{defaultFill:"#ABDDA4"},geographyConfig:{dataUrl:null,hideAntarctica:!0,borderWidth:1,borderColor:"#FDFDFD",popupTemplate:function(t){return'<div class="hoverinfo"><strong>'+t.properties.name+"</strong></div>"},popupOnHover:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2},projectionConfig:{rotation:[97,0]},bubblesConfig:{borderWidth:2,borderColor:"#FFFFFF",popupOnHover:!0,radius:null,popupTemplate:function(t,e){return'<div class="hoverinfo"><strong>'+e.name+"</strong></div>"},fillOpacity:.75,animate:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2,highlightFillOpacity:.85,exitDelay:100},arcConfig:{strokeColor:"#DD1C77",strokeWidth:1,arcSharpness:1,animationSpeed:600}};d.prototype.resize=function(){var t=this,e=t.options;if(e.responsive){var n="-webkit-transform"in document.body.style?"-webkit-":"-moz-transform"in document.body.style?"-moz-":"-ms-transform"in document.body.style?"-ms-":"",i=e.element.clientWidth,r=f.select(e.element).select("svg").attr("data-width");f.select(e.element).select("svg").selectAll("g").style(n+"transform","scale("+i/r+")")}},d.prototype.draw=function(){function t(t){e.options.dataUrl&&f[e.options.dataType](e.options.dataUrl,function(t){if("csv"===e.options.dataType&&t&&t.slice){for(var n={},i=0;i<t.length;i++)n[t[i].id]=t[i];t=n}Datamaps.prototype.updateChoropleth.call(e,t)}),r.call(e,t),o.call(e),(e.options.geographyConfig.popupOnHover||e.options.bubblesConfig.popupOnHover)&&(hoverover=f.select(e.options.element).append("div").attr("class","datamaps-hoverover").style("z-index",10001).style("position","absolute")),e.options.done(e)}var e=this,n=e.options,i=n.setProjection.apply(e,[n.element,n]);return this.path=i.path,this.projection=i.projection,n.geographyConfig.dataUrl?f.json(n.geographyConfig.dataUrl,function(n,i){if(n)throw new Error(n);e.customTopo=i,t(i)}):t(this[n.scope+"Topo"]||n.geographyConfig.dataJson),this},d.prototype.worldTopo={type:"Topology",objects:{world:{type:"GeometryCollection",geometries:[{type:"Polygon",properties:{name:"Afghanistan"},id:"AFG",arcs:[[0,1,2,3,4,5]]},{type:"MultiPolygon",properties:{name:"Angola"},id:"AGO",arcs:[[[6,7,8,9]],[[10,11,12]]]},{type:"Polygon",properties:{name:"Albania"},id:"ALB",arcs:[[13,14,15,16,17]]},{type:"Polygon",properties:{name:"United Arab Emirates"},id:"ARE",arcs:[[18,19,20,21,22]]},{type:"MultiPolygon",properties:{name:"Argentina"},id:"ARG",arcs:[[[23,24]],[[25,26,27,28,29,30]]]},{type:"Polygon",properties:{name:"Armenia"},id:"ARM",arcs:[[31,32,33,34,35]]},{type:"MultiPolygon",properties:{name:"Antarctica"},id:"ATA",arcs:[[[36]],[[37]],[[38]],[[39]],[[40]],[[41]],[[42]],[[43]]]},{type:"Polygon",properties:{name:"French Southern and Antarctic Lands"},id:"ATF",arcs:[[44]]},{type:"MultiPolygon",properties:{name:"Australia"},id:"AUS",arcs:[[[45]],[[46]]]},{type:"Polygon",properties:{name:"Austria"},id:"AUT",arcs:[[47,48,49,50,51,52,53]]},{type:"MultiPolygon",properties:{name:"Azerbaijan"},id:"AZE",arcs:[[[54,-35]],[[55,56,-33,57,58]]]},{type:"Polygon",properties:{name:"Burundi"},id:"BDI",arcs:[[59,60,61]]},{type:"Polygon",properties:{name:"Belgium"},id:"BEL",arcs:[[62,63,64,65,66]]},{type:"Polygon",properties:{name:"Benin"},id:"BEN",arcs:[[67,68,69,70,71]]},{type:"Polygon",properties:{name:"Burkina Faso"},id:"BFA",arcs:[[72,73,74,-70,75,76]]},{type:"Polygon",properties:{name:"Bangladesh"},id:"BGD",arcs:[[77,78,79]]},{type:"Polygon",properties:{name:"Bulgaria"},id:"BGR",arcs:[[80,81,82,83,84,85]]},{type:"MultiPolygon",properties:{name:"The Bahamas"},id:"BHS",arcs:[[[86]],[[87]],[[88]]]},{type:"Polygon",properties:{name:"Bosnia and Herzegovina"},id:"BIH",arcs:[[89,90,91]]},{type:"Polygon",properties:{name:"Belarus"},id:"BLR",arcs:[[92,93,94,95,96]]},{type:"Polygon",properties:{name:"Belize"},id:"BLZ",arcs:[[97,98,99]]},{type:"Polygon",properties:{name:"Bolivia"},id:"BOL",arcs:[[100,101,102,103,-31]]},{type:"Polygon",properties:{name:"Brazil"},id:"BRA",arcs:[[-27,104,-103,105,106,107,108,109,110,111,112]]},{type:"Polygon",properties:{name:"Brunei"},id:"BRN",arcs:[[113,114]]},{type:"Polygon",properties:{name:"Bhutan"},id:"BTN",arcs:[[115,116]]},{type:"Polygon",properties:{name:"Botswana"},id:"BWA",arcs:[[117,118,119,120]]},{type:"Polygon",properties:{name:"Central African Republic"},id:"CAF",arcs:[[121,122,123,124,125,126,127]]},{type:"MultiPolygon",properties:{name:"Canada"},id:"CAN",arcs:[[[128]],[[129]],[[130]],[[131]],[[132]],[[133]],[[134]],[[135]],[[136]],[[137]],[[138,139,140,141]],[[142]],[[143]],[[144]],[[145]],[[146]],[[147]],[[148]],[[149]],[[150]],[[151]],[[152]],[[153]],[[154]],[[155]],[[156]],[[157]],[[158]],[[159]],[[160]]]},{type:"Polygon",properties:{name:"Switzerland"},id:"CHE",arcs:[[-51,161,162,163]]},{type:"MultiPolygon",properties:{name:"Chile"},id:"CHL",arcs:[[[-24,164]],[[-30,165,166,-101]]]},{type:"MultiPolygon",properties:{name:"China"},id:"CHN",arcs:[[[167]],[[168,169,170,171,172,173,-117,174,175,176,177,-4,178,179,180,181,182,183]]]},{type:"Polygon",properties:{name:"Ivory Coast"},id:"CIV",arcs:[[184,185,186,187,-73,188]]},{type:"Polygon",properties:{name:"Cameroon"},id:"CMR",arcs:[[189,190,191,192,193,194,-128,195]]},{type:"Polygon",properties:{name:"Democratic Republic of the Congo"},id:"COD",arcs:[[196,197,-60,198,199,-10,200,-13,201,-126,202]]},{type:"Polygon",properties:{name:"Republic of the Congo"},id:"COG",arcs:[[-12,203,204,-196,-127,-202]]},{type:"Polygon",properties:{name:"Colombia"},id:"COL",arcs:[[205,206,207,208,209,-107,210]]},{type:"Polygon",properties:{name:"Costa Rica"},id:"CRI",arcs:[[211,212,213,214]]},{type:"Polygon",properties:{name:"Cuba"},id:"CUB",arcs:[[215]]},{type:"Polygon",properties:{name:"Northern Cyprus"},id:"-99",arcs:[[216,217]]},{type:"Polygon",properties:{name:"Cyprus"},id:"CYP",arcs:[[218,-218]]},{type:"Polygon",properties:{name:"Czech Republic"},id:"CZE",arcs:[[-53,219,220,221]]},{type:"Polygon",properties:{name:"Germany"},id:"DEU",arcs:[[222,223,-220,-52,-164,224,225,-64,226,227,228]]},{type:"Polygon",properties:{name:"Djibouti"},id:"DJI",arcs:[[229,230,231,232]]},{type:"MultiPolygon",properties:{name:"Denmark"},id:"DNK",arcs:[[[233]],[[-229,234]]]},{type:"Polygon",properties:{name:"Dominican Republic"},id:"DOM",arcs:[[235,236]]},{type:"Polygon",properties:{name:"Algeria"},id:"DZA",arcs:[[237,238,239,240,241,242,243,244]]},{type:"Polygon",properties:{name:"Ecuador"},id:"ECU",arcs:[[245,-206,246]]},{type:"Polygon",properties:{name:"Egypt"},id:"EGY",arcs:[[247,248,249,250,251]]},{type:"Polygon",properties:{name:"Eritrea"},id:"ERI",arcs:[[252,253,254,-233]]},{type:"Polygon",properties:{name:"Spain"},id:"ESP",arcs:[[255,256,257,258]]},{type:"Polygon",properties:{name:"Estonia"},id:"EST",arcs:[[259,260,261]]},{type:"Polygon",properties:{name:"Ethiopia"},id:"ETH",arcs:[[-232,262,263,264,265,266,267,-253]]},{type:"Polygon",properties:{name:"Finland"},id:"FIN",arcs:[[268,269,270,271]]},{type:"MultiPolygon",properties:{name:"Fiji"},id:"FJI",arcs:[[[272]],[[273,274]],[[275,-275]]]},{type:"Polygon",properties:{name:"Falkland Islands"},id:"FLK",arcs:[[276]]},{type:"MultiPolygon",properties:{name:"France"},id:"FRA",arcs:[[[277]],[[278,-225,-163,279,280,-257,281,-66]]]},{type:"Polygon",properties:{name:"French Guiana"},id:"GUF",arcs:[[282,283,284,285,-111]]},{type:"Polygon",properties:{name:"Gabon"},id:"GAB",arcs:[[286,287,-190,-205]]},{type:"MultiPolygon",properties:{name:"United Kingdom"},id:"GBR",arcs:[[[288,289]],[[290]]]},{type:"Polygon",properties:{name:"Georgia"},id:"GEO",arcs:[[291,292,-58,-32,293]]},{type:"Polygon",properties:{name:"Ghana"},id:"GHA",arcs:[[294,-189,-77,295]]},{type:"Polygon",properties:{name:"Guinea"},id:"GIN",arcs:[[296,297,298,299,300,301,-187]]},{type:"Polygon",properties:{name:"Gambia"},id:"GMB",arcs:[[302,303]]},{type:"Polygon",properties:{name:"Guinea Bissau"},id:"GNB",arcs:[[304,305,-300]]},{type:"Polygon",properties:{name:"Equatorial Guinea"},id:"GNQ",arcs:[[306,-191,-288]]},{type:"MultiPolygon",properties:{name:"Greece"},id:"GRC",arcs:[[[307]],[[308,-15,309,-84,310]]]},{type:"Polygon",properties:{name:"Greenland"},id:"GRL",arcs:[[311]]},{type:"Polygon",properties:{name:"Guatemala"},id:"GTM",arcs:[[312,313,-100,314,315,316]]},{type:"Polygon",properties:{name:"Guyana"},id:"GUY",arcs:[[317,318,-109,319]]},{type:"Polygon",properties:{name:"Honduras"},id:"HND",arcs:[[320,321,-316,322,323]]},{type:"Polygon",properties:{name:"Croatia"},id:"HRV",arcs:[[324,-92,325,326,327,328]]},{type:"Polygon",properties:{name:"Haiti"},id:"HTI",arcs:[[-237,329]]},{type:"Polygon",properties:{name:"Hungary"},id:"HUN",arcs:[[-48,330,331,332,333,-329,334]]},{type:"MultiPolygon",properties:{name:"Indonesia"},id:"IDN",arcs:[[[335]],[[336,337]],[[338]],[[339]],[[340]],[[341]],[[342]],[[343]],[[344,345]],[[346]],[[347]],[[348,349]],[[350]]]},{type:"Polygon",properties:{name:"India"},id:"IND",arcs:[[-177,351,-175,-116,-174,352,-80,353,354]]},{type:"Polygon",properties:{name:"Ireland"},id:"IRL",arcs:[[355,-289]]},{type:"Polygon",properties:{name:"Iran"},id:"IRN",arcs:[[356,-6,357,358,359,360,-55,-34,-57,361]]},{type:"Polygon",properties:{name:"Iraq"},id:"IRQ",arcs:[[362,363,364,365,366,367,-360]]},{type:"Polygon",properties:{name:"Iceland"},id:"ISL",arcs:[[368]]},{type:"Polygon", 13 properties:{name:"Israel"},id:"ISR",arcs:[[369,370,371,-252,372,373,374]]},{type:"MultiPolygon",properties:{name:"Italy"},id:"ITA",arcs:[[[375]],[[376]],[[377,378,-280,-162,-50]]]},{type:"Polygon",properties:{name:"Jamaica"},id:"JAM",arcs:[[379]]},{type:"Polygon",properties:{name:"Jordan"},id:"JOR",arcs:[[-370,380,-366,381,382,-372,383]]},{type:"MultiPolygon",properties:{name:"Japan"},id:"JPN",arcs:[[[384]],[[385]],[[386]]]},{type:"Polygon",properties:{name:"Kazakhstan"},id:"KAZ",arcs:[[387,388,389,390,-181,391]]},{type:"Polygon",properties:{name:"Kenya"},id:"KEN",arcs:[[392,393,394,395,-265,396]]},{type:"Polygon",properties:{name:"Kyrgyzstan"},id:"KGZ",arcs:[[-392,-180,397,398]]},{type:"Polygon",properties:{name:"Cambodia"},id:"KHM",arcs:[[399,400,401,402]]},{type:"Polygon",properties:{name:"South Korea"},id:"KOR",arcs:[[403,404]]},{type:"Polygon",properties:{name:"Kosovo"},id:"-99",arcs:[[-18,405,406,407]]},{type:"Polygon",properties:{name:"Kuwait"},id:"KWT",arcs:[[408,409,-364]]},{type:"Polygon",properties:{name:"Laos"},id:"LAO",arcs:[[410,411,-172,412,-401]]},{type:"Polygon",properties:{name:"Lebanon"},id:"LBN",arcs:[[-374,413,414]]},{type:"Polygon",properties:{name:"Liberia"},id:"LBR",arcs:[[415,416,-297,-186]]},{type:"Polygon",properties:{name:"Libya"},id:"LBY",arcs:[[417,-245,418,419,-250,420,421]]},{type:"Polygon",properties:{name:"Sri Lanka"},id:"LKA",arcs:[[422]]},{type:"Polygon",properties:{name:"Lesotho"},id:"LSO",arcs:[[423]]},{type:"Polygon",properties:{name:"Lithuania"},id:"LTU",arcs:[[424,425,426,-93,427]]},{type:"Polygon",properties:{name:"Luxembourg"},id:"LUX",arcs:[[-226,-279,-65]]},{type:"Polygon",properties:{name:"Latvia"},id:"LVA",arcs:[[428,-262,429,-94,-427]]},{type:"Polygon",properties:{name:"Morocco"},id:"MAR",arcs:[[-242,430,431]]},{type:"Polygon",properties:{name:"Moldova"},id:"MDA",arcs:[[432,433]]},{type:"Polygon",properties:{name:"Madagascar"},id:"MDG",arcs:[[434]]},{type:"Polygon",properties:{name:"Mexico"},id:"MEX",arcs:[[435,-98,-314,436,437]]},{type:"Polygon",properties:{name:"Macedonia"},id:"MKD",arcs:[[-408,438,-85,-310,-14]]},{type:"Polygon",properties:{name:"Mali"},id:"MLI",arcs:[[439,-239,440,-74,-188,-302,441]]},{type:"Polygon",properties:{name:"Myanmar"},id:"MMR",arcs:[[442,-78,-353,-173,-412,443]]},{type:"Polygon",properties:{name:"Montenegro"},id:"MNE",arcs:[[444,-326,-91,445,-406,-17]]},{type:"Polygon",properties:{name:"Mongolia"},id:"MNG",arcs:[[446,-183]]},{type:"Polygon",properties:{name:"Mozambique"},id:"MOZ",arcs:[[447,448,449,450,451,452,453,454]]},{type:"Polygon",properties:{name:"Mauritania"},id:"MRT",arcs:[[455,456,457,-240,-440]]},{type:"Polygon",properties:{name:"Malawi"},id:"MWI",arcs:[[-455,458,459]]},{type:"MultiPolygon",properties:{name:"Malaysia"},id:"MYS",arcs:[[[460,461]],[[-349,462,-115,463]]]},{type:"Polygon",properties:{name:"Namibia"},id:"NAM",arcs:[[464,-8,465,-119,466]]},{type:"Polygon",properties:{name:"New Caledonia"},id:"NCL",arcs:[[467]]},{type:"Polygon",properties:{name:"Niger"},id:"NER",arcs:[[-75,-441,-238,-418,468,-194,469,-71]]},{type:"Polygon",properties:{name:"Nigeria"},id:"NGA",arcs:[[470,-72,-470,-193]]},{type:"Polygon",properties:{name:"Nicaragua"},id:"NIC",arcs:[[471,-324,472,-213]]},{type:"Polygon",properties:{name:"Netherlands"},id:"NLD",arcs:[[-227,-63,473]]},{type:"MultiPolygon",properties:{name:"Norway"},id:"NOR",arcs:[[[474,-272,475,476]],[[477]],[[478]],[[479]]]},{type:"Polygon",properties:{name:"Nepal"},id:"NPL",arcs:[[-352,-176]]},{type:"MultiPolygon",properties:{name:"New Zealand"},id:"NZL",arcs:[[[480]],[[481]]]},{type:"MultiPolygon",properties:{name:"Oman"},id:"OMN",arcs:[[[482,483,-22,484]],[[-20,485]]]},{type:"Polygon",properties:{name:"Pakistan"},id:"PAK",arcs:[[-178,-355,486,-358,-5]]},{type:"Polygon",properties:{name:"Panama"},id:"PAN",arcs:[[487,-215,488,-208]]},{type:"Polygon",properties:{name:"Peru"},id:"PER",arcs:[[-167,489,-247,-211,-106,-102]]},{type:"MultiPolygon",properties:{name:"Philippines"},id:"PHL",arcs:[[[490]],[[491]],[[492]],[[493]],[[494]],[[495]],[[496]]]},{type:"MultiPolygon",properties:{name:"Papua New Guinea"},id:"PNG",arcs:[[[497]],[[498]],[[-345,499]],[[500]]]},{type:"Polygon",properties:{name:"Poland"},id:"POL",arcs:[[-224,501,502,-428,-97,503,504,-221]]},{type:"Polygon",properties:{name:"Puerto Rico"},id:"PRI",arcs:[[505]]},{type:"Polygon",properties:{name:"North Korea"},id:"PRK",arcs:[[506,507,-405,508,-169]]},{type:"Polygon",properties:{name:"Portugal"},id:"PRT",arcs:[[-259,509]]},{type:"Polygon",properties:{name:"Paraguay"},id:"PRY",arcs:[[-104,-105,-26]]},{type:"Polygon",properties:{name:"Qatar"},id:"QAT",arcs:[[510,511]]},{type:"Polygon",properties:{name:"Romania"},id:"ROU",arcs:[[512,-434,513,514,-81,515,-333]]},{type:"MultiPolygon",properties:{name:"Russia"},id:"RUS",arcs:[[[516]],[[-503,517,-425]],[[518,519]],[[520]],[[521]],[[522]],[[523]],[[524]],[[525]],[[526,-507,-184,-447,-182,-391,527,-59,-293,528,529,-95,-430,-261,530,-269,-475,531,-520]],[[532]],[[533]],[[534]]]},{type:"Polygon",properties:{name:"Rwanda"},id:"RWA",arcs:[[535,-61,-198,536]]},{type:"Polygon",properties:{name:"Western Sahara"},id:"ESH",arcs:[[-241,-458,537,-431]]},{type:"Polygon",properties:{name:"Saudi Arabia"},id:"SAU",arcs:[[538,-382,-365,-410,539,-512,540,-23,-484,541]]},{type:"Polygon",properties:{name:"Sudan"},id:"SDN",arcs:[[542,543,-123,544,-421,-249,545,-254,-268,546]]},{type:"Polygon",properties:{name:"South Sudan"},id:"SSD",arcs:[[547,-266,-396,548,-203,-125,549,-543]]},{type:"Polygon",properties:{name:"Senegal"},id:"SEN",arcs:[[550,-456,-442,-301,-306,551,-304]]},{type:"MultiPolygon",properties:{name:"Solomon Islands"},id:"SLB",arcs:[[[552]],[[553]],[[554]],[[555]],[[556]]]},{type:"Polygon",properties:{name:"Sierra Leone"},id:"SLE",arcs:[[557,-298,-417]]},{type:"Polygon",properties:{name:"El Salvador"},id:"SLV",arcs:[[558,-317,-322]]},{type:"Polygon",properties:{name:"Somaliland"},id:"-99",arcs:[[-263,-231,559,560]]},{type:"Polygon",properties:{name:"Somalia"},id:"SOM",arcs:[[-397,-264,-561,561]]},{type:"Polygon",properties:{name:"Republic of Serbia"},id:"SRB",arcs:[[-86,-439,-407,-446,-90,-325,-334,-516]]},{type:"Polygon",properties:{name:"Suriname"},id:"SUR",arcs:[[562,-285,563,-283,-110,-319]]},{type:"Polygon",properties:{name:"Slovakia"},id:"SVK",arcs:[[-505,564,-331,-54,-222]]},{type:"Polygon",properties:{name:"Slovenia"},id:"SVN",arcs:[[-49,-335,-328,565,-378]]},{type:"Polygon",properties:{name:"Sweden"},id:"SWE",arcs:[[-476,-271,566]]},{type:"Polygon",properties:{name:"Swaziland"},id:"SWZ",arcs:[[567,-451]]},{type:"Polygon",properties:{name:"Syria"},id:"SYR",arcs:[[-381,-375,-415,568,569,-367]]},{type:"Polygon",properties:{name:"Chad"},id:"TCD",arcs:[[-469,-422,-545,-122,-195]]},{type:"Polygon",properties:{name:"Togo"},id:"TGO",arcs:[[570,-296,-76,-69]]},{type:"Polygon",properties:{name:"Thailand"},id:"THA",arcs:[[571,-462,572,-444,-411,-400]]},{type:"Polygon",properties:{name:"Tajikistan"},id:"TJK",arcs:[[-398,-179,-3,573]]},{type:"Polygon",properties:{name:"Turkmenistan"},id:"TKM",arcs:[[-357,574,-389,575,-1]]},{type:"Polygon",properties:{name:"East Timor"},id:"TLS",arcs:[[576,-337]]},{type:"Polygon",properties:{name:"Trinidad and Tobago"},id:"TTO",arcs:[[577]]},{type:"Polygon",properties:{name:"Tunisia"},id:"TUN",arcs:[[-244,578,-419]]},{type:"MultiPolygon",properties:{name:"Turkey"},id:"TUR",arcs:[[[-294,-36,-361,-368,-570,579]],[[-311,-83,580]]]},{type:"Polygon",properties:{name:"Taiwan"},id:"TWN",arcs:[[581]]},{type:"Polygon",properties:{name:"United Republic of Tanzania"},id:"TZA",arcs:[[-394,582,-448,-460,583,-199,-62,-536,584]]},{type:"Polygon",properties:{name:"Uganda"},id:"UGA",arcs:[[-537,-197,-549,-395,-585]]},{type:"Polygon",properties:{name:"Ukraine"},id:"UKR",arcs:[[-530,585,-514,-433,-513,-332,-565,-504,-96]]},{type:"Polygon",properties:{name:"Uruguay"},id:"URY",arcs:[[-113,586,-28]]},{type:"MultiPolygon",properties:{name:"United States of America"},id:"USA",arcs:[[[587]],[[588]],[[589]],[[590]],[[591]],[[592,-438,593,-139]],[[594]],[[595]],[[596]],[[-141,597]]]},{type:"Polygon",properties:{name:"Uzbekistan"},id:"UZB",arcs:[[-576,-388,-399,-574,-2]]},{type:"Polygon",properties:{name:"Venezuela"},id:"VEN",arcs:[[598,-320,-108,-210]]},{type:"Polygon",properties:{name:"Vietnam"},id:"VNM",arcs:[[599,-402,-413,-171]]},{type:"MultiPolygon",properties:{name:"Vanuatu"},id:"VUT",arcs:[[[600]],[[601]]]},{type:"Polygon",properties:{name:"West Bank"},id:"PSE",arcs:[[-384,-371]]},{type:"Polygon",properties:{name:"Yemen"},id:"YEM",arcs:[[602,-542,-483]]},{type:"Polygon",properties:{name:"South Africa"},id:"ZAF",arcs:[[-467,-118,603,-452,-568,-450,604],[-424]]},{type:"Polygon",properties:{name:"Zambia"},id:"ZMB",arcs:[[-459,-454,605,-120,-466,-7,-200,-584]]},{type:"Polygon",properties:{name:"Zimbabwe"},id:"ZWE",arcs:[[-604,-121,-606,-453]]}]}},arcs:[[[6700,7164],[28,-23],[21,8],[6,27],[22,9],[15,18],[6,47],[23,11],[5,21],[13,-15],[8,-2]],[[6847,7265],[16,-1],[20,-12]],[[6883,7252],[9,-7],[20,19],[9,-12],[9,27],[17,-1],[4,9],[3,24],[12,20],[15,-13],[-3,-18],[9,-3],[-3,-50],[11,-19],[10,12],[12,6],[17,27],[19,-5],[29,0]],[[7082,7268],[5,-17]],[[7087,7251],[-16,-6],[-14,-11],[-32,-7],[-30,-13],[-16,-25],[6,-25],[4,-30],[-14,-25],[1,-22],[-8,-22],[-26,2],[11,-39],[-18,-15],[-12,-35],[2,-36],[-11,-16],[-10,5],[-22,-8],[-3,-16],[-20,0],[-16,-34],[-1,-50],[-36,-24],[-19,5],[-6,-13],[-16,7],[-28,-8],[-47,30]],[[6690,6820],[25,53],[-2,38],[-21,10],[-2,38],[-9,47],[12,32],[-12,9],[7,43],[12,74]],[[5664,4412],[3,-18],[-4,-29],[5,-28],[-4,-22],[3,-20],[-58,1],[-2,-188],[19,-49],[18,-37]],[[5644,4022],[-51,-24],[-67,9],[-19,28],[-113,-3],[-4,-4],[-17,27],[-18,2],[-16,-10],[-14,-12]],[[5325,4035],[-2,38],[4,51],[9,55],[2,25],[9,53],[6,24],[16,39],[9,26],[3,44],[-1,34],[-9,21],[-7,36],[-7,35],[2,12],[8,24],[-8,57],[-6,39],[-14,38],[3,11]],[[5342,4697],[11,8],[8,-1],[10,7],[82,-1],[7,-44],[8,-35],[6,-19],[11,-31],[18,5],[9,8],[16,-8],[4,14],[7,35],[17,2],[2,10],[14,1],[-3,-22],[34,1],[1,-37],[5,-23],[-4,-36],[2,-36],[9,-22],[-1,-70],[7,5],[12,-1],[17,8],[13,-3]],[[5338,4715],[-8,45]],[[5330,4760],[12,25],[8,10],[10,-20]],[[5360,4775],[-10,-12],[-4,-16],[-1,-25],[-7,-7]],[[5571,7530],[-3,-20],[4,-25],[11,-15]],[[5583,7470],[0,-15],[-9,-9],[-2,-19],[-13,-29]],[[5559,7398],[-5,5],[0,13],[-15,19],[-3,29],[2,40],[4,18],[-4,10]],[[5538,7532],[-2,18],[12,29],[1,-11],[8,6]],[[5557,7574],[6,-16],[7,-6],[1,-22]],[[6432,6490],[5,3],[1,-16],[22,9],[23,-2],[17,-1],[19,39],[20,38],[18,37]],[[6557,6597],[5,-20]],[[6562,6577],[4,-47]],[[6566,6530],[-14,0],[-3,-39],[5,-8],[-12,-12],[0,-24],[-8,-24],[-1,-24]],[[6533,6399],[-6,-12],[-83,29],[-11,60],[-1,14]],[[3140,1814],[-17,2],[-30,0],[0,132]],[[3093,1948],[11,-27],[14,-45],[36,-35],[39,-15],[-13,-30],[-26,-2],[-14,20]],[[3258,3743],[51,-96],[23,-9],[34,-44],[29,-23],[4,-26],[-28,-90],[28,-16],[32,-9],[22,10],[25,45],[4,52]],[[3482,3537],[14,11],[14,-34],[-1,-47],[-23,-33],[-19,-24],[-31,-57],[-37,-81]],[[3399,3272],[-7,-47],[-7,-61],[0,-58],[-6,-14],[-2,-38]],[[3377,3054],[-2,-31],[35,-50],[-4,-41],[18,-26],[-2,-29],[-26,-75],[-42,-32],[-55,-12],[-31,6],[6,-36],[-6,-44],[5,-30],[-16,-20],[-29,-8],[-26,21],[-11,-15],[4,-59],[18,-18],[16,19],[8,-31],[-26,-18],[-22,-37],[-4,-59],[-7,-32],[-26,0],[-22,-31],[-8,-44],[28,-43],[26,-12],[-9,-53],[-33,-33],[-18,-70],[-25,-23],[-12,-28],[9,-61],[19,-34],[-12,3]],[[3095,1968],[-26,9],[-67,8],[-11,34],[0,45],[-18,-4],[-10,21],[-3,63],[22,26],[9,37],[-4,30],[15,51],[10,78],[-3,35],[12,11],[-3,22],[-13,12],[10,25],[-13,22],[-6,68],[11,12],[-5,72],[7,61],[7,52],[17,22],[-9,58],[0,54],[21,38],[-1,50],[16,57],[0,55],[-7,11],[-13,102],[17,60],[-2,58],[10,53],[18,56],[20,36],[-9,24],[6,19],[-1,98],[30,29],[10,62],[-3,14]],[[3136,3714],[23,54],[36,-15],[16,-42],[11,47],[32,-2],[4,-13]],[[6210,7485],[39,9]],[[6249,7494],[5,-15],[11,-10],[-6,-15],[15,-21],[-8,-18],[12,-16],[13,-10],[0,-41]],[[6291,7348],[-10,-2]],[[6281,7346],[-11,34],[0,10],[-12,-1],[-9,16],[-5,-1]],[[6244,7404],[-11,17],[-21,15],[3,28],[-5,21]],[[3345,329],[-8,-30],[-8,-27],[-59,8],[-62,-3],[-34,20],[0,2],[-16,17],[63,-2],[60,-6],[20,24],[15,21],[29,-24]],[[577,361],[-53,-8],[-36,21],[-17,21],[-1,3],[-18,16],[17,22],[52,-9],[28,-18],[21,-21],[7,-27]],[[3745,447],[35,-26],[12,-36],[3,-25],[1,-30],[-43,-19],[-45,-15],[-52,-14],[-59,-11],[-65,3],[-37,20],[5,24],[59,16],[24,20],[18,26],[12,22],[17,20],[18,25],[14,0],[41,12],[42,-12]],[[1633,715],[36,-9],[33,10],[-16,-20],[-26,-15],[-39,4],[-27,21],[6,20],[33,-11]],[[1512,716],[43,-23],[-17,3],[-36,5],[-38,17],[20,12],[28,-14]],[[2250,808],[31,-8],[30,7],[17,-34],[-22,5],[-34,-2],[-34,2],[-38,-4],[-28,12],[-15,24],[18,11],[35,-8],[40,-5]],[[3098,866],[4,-27],[-5,-23],[-8,-22],[-33,-8],[-31,-12],[-36,1],[14,24],[-33,-9],[-31,-8],[-21,18],[-2,24],[30,23],[20,7],[32,-2],[8,30],[1,22],[0,47],[16,28],[25,9],[15,-22],[6,-22],[12,-26],[10,-26],[7,-26]],[[3371,1268],[-11,-13],[-21,9],[-23,-6],[-19,-14],[-20,-15],[-14,-17],[-4,-23],[2,-22],[13,-20],[-19,-14],[-26,-4],[-15,-20],[-17,-19],[-17,-25],[-4,-22],[9,-24],[15,-19],[23,-14],[21,-18],[12,-23],[6,-22],[8,-24],[13,-19],[8,-22],[4,-55],[8,-22],[2,-23],[9,-23],[-4,-31],[-15,-24],[-17,-20],[-37,-8],[-12,-21],[-17,-20],[-42,-22],[-37,-9],[-35,-13],[-37,-13],[-22,-24],[-45,-2],[-49,2],[-44,-4],[-47,0],[9,-24],[42,-10],[31,-16],[18,-21],[-31,-19],[-48,6],[-40,-15],[-2,-24],[-1,-23],[33,-20],[6,-22],[35,-22],[59,-9],[50,-16],[40,-19],[50,-18],[70,-10],[68,-16],[47,-17],[52,-20],[27,-28],[13,-22],[34,21],[46,17],[48,19],[58,15],[49,16],[69,1],[68,-8],[56,-14],[18,26],[39,17],[70,1],[55,13],[52,13],[58,8],[62,10],[43,15],[-20,21],[-12,21],[0,22],[-54,-2],[-57,-10],[-54,0],[-8,22],[4,44],[12,13],[40,14],[47,14],[34,17],[33,18],[25,23],[38,10],[38,8],[19,5],[43,2],[41,8],[34,12],[34,14],[30,14],[39,18],[24,20],[26,17],[9,24],[-30,13],[10,25],[18,18],[29,12],[31,14],[28,18],[22,23],[13,28],[21,16],[33,-3],[13,-20],[34,-2],[1,22],[14,23],[30,-6],[7,-22],[33,-3],[36,10],[35,7],[31,-3],[12,-25],[31,20],[28,10],[31,9],[31,8],[29,14],[31,9],[24,13],[17,20],[20,-15],[29,8],[20,-27],[16,-21],[32,11],[12,24],[28,16],[37,-4],[11,-22],[22,22],[30,7],[33,3],[29,-2],[31,-7],[30,-3],[13,-20],[18,-17],[31,10],[32,3],[32,0],[31,1],[28,8],[29,7],[25,16],[26,11],[28,5],[21,17],[15,32],[16,20],[29,-10],[11,-21],[24,-13],[29,4],[19,-21],[21,-15],[28,14],[10,26],[25,10],[29,20],[27,8],[33,11],[22,13],[22,14],[22,13],[26,-7],[25,21],[18,16],[26,-1],[23,14],[6,21],[23,16],[23,11],[28,10],[25,4],[25,-3],[26,-6],[22,-16],[3,-26],[24,-19],[17,-17],[33,-7],[19,-16],[23,-16],[26,-3],[23,11],[24,24],[26,-12],[27,-7],[26,-7],[27,-5],[28,0],[23,-61],[-1,-15],[-4,-27],[-26,-15],[-22,-22],[4,-23],[31,1],[-4,-23],[-14,-22],[-13,-24],[21,-19],[32,-6],[32,11],[15,23],[10,22],[15,18],[17,18],[7,21],[15,29],[18,5],[31,3],[28,7],[28,9],[14,23],[8,22],[19,22],[27,15],[23,12],[16,19],[15,11],[21,9],[27,-6],[25,6],[28,7],[30,-4],[20,17],[14,39],[11,-16],[13,-28],[23,-12],[27,-4],[26,7],[29,-5],[26,-1],[17,6],[24,-4],[21,-12],[25,8],[30,0],[25,8],[29,-8],[19,19],[14,20],[19,16],[35,44],[18,-8],[21,-16],[18,-21],[36,-36],[27,-1],[25,0],[30,7],[30,8],[23,16],[19,18],[31,2],[21,13],[22,-12],[14,-18],[19,-19],[31,2],[19,-15],[33,-15],[35,-5],[29,4],[21,19],[19,18],[25,5],[25,-8],[29,-6],[26,9],[25,0],[24,-6],[26,-5],[25,10],[30,9],[28,3],[32,0],[25,5],[25,5],[8,29],[1,24],[17,-16],[5,-27],[10,-24],[11,-20],[23,-10],[32,4],[36,1],[25,3],[37,0],[26,1],[36,-2],[31,-5],[20,-18],[-5,-22],[18,-18],[30,-13],[31,-15],[35,-11],[38,-9],[28,-9],[32,-2],[18,20],[24,-16],[21,-19],[25,-13],[34,-6],[32,-7],[13,-23],[32,-14],[21,-21],[31,-9],[32,1],[30,-4],[33,1],[34,-4],[31,-8],[28,-14],[29,-12],[20,-17],[-3,-23],[-15,-21],[-13,-27],[-9,-21],[-14,-24],[-36,-9],[-16,-21],[-36,-13],[-13,-23],[-19,-22],[-20,-18],[-11,-25],[-7,-22],[-3,-26],[0,-22],[16,-23],[6,-22],[13,-21],[52,-8],[11,-26],[-50,-9],[-43,-13],[-52,-2],[-24,-34],[-5,-27],[-12,-22],[-14,-22],[37,-20],[14,-24],[24,-22],[33,-20],[39,-19],[42,-18],[64,-19],[14,-29],[80,-12],[5,-5],[21,-17],[77,15],[63,-19],[48,-14],[-9997,-1],[24,35],[50,-19],[3,2],[30,19],[4,0],[3,-1],[40,-25],[35,25],[7,3],[81,11],[27,-14],[13,-7],[41,-20],[79,-15],[63,-18],[107,-14],[80,16],[118,-11],[67,-19],[73,17],[78,17],[6,27],[-110,3],[-89,14],[-24,23],[-74,12],[5,27],[10,24],[10,22],[-5,25],[-46,16],[-22,21],[-43,18],[68,-3],[64,9],[40,-20],[50,18],[45,22],[23,19],[-10,25],[-36,16],[-41,17],[-57,4],[-50,8],[-54,6],[-18,22],[-36,18],[-21,21],[-9,67],[14,-6],[25,-18],[45,6],[44,8],[23,-26],[44,6],[37,13],[35,16],[32,20],[41,5],[-1,22],[-9,22],[8,21],[36,11],[16,-20],[42,12],[32,15],[40,1],[38,6],[37,13],[30,13],[34,13],[22,-4],[19,-4],[41,8],[37,-10],[38,1],[37,8],[37,-6],[41,-6],[39,3],[40,-2],[42,-1],[38,3],[28,17],[34,9],[35,-13],[33,11],[30,21],[18,-19],[9,-21],[18,-19],[29,17],[33,-22],[38,-7],[32,-16],[39,3],[36,11],[41,-3],[38,-8],[38,-10],[15,25],[-18,20],[-14,21],[-36,5],[-15,22],[-6,22],[-10,43],[21,-8],[36,-3],[36,3],[33,-9],[28,-17],[12,-21],[38,-4],[36,9],[38,11],[34,7],[28,-14],[37,5],[24,45],[23,-27],[32,-10],[34,6],[23,-23],[37,-3],[33,-7],[34,-12],[21,22],[11,20],[28,-23],[38,6],[28,-13],[19,-19],[37,5],[29,13],[29,15],[33,8],[39,7],[36,8],[27,13],[16,19],[7,25],[-3,24],[-9,24],[-10,23],[-9,23],[-7,21],[-1,23],[2,23],[13,22],[11,24],[5,23],[-6,26],[-3,23],[14,27],[15,17],[18,22],[19,19],[22,17],[11,25],[15,17],[18,15],[26,3],[18,19],[19,11],[23,7],[20,15],[16,19],[22,7],[16,-15],[-10,-20],[-29,-17]],[[6914,2185],[18,-19],[26,-7],[1,-11],[-7,-27],[-43,-4],[-1,31],[4,25],[2,12]],[[9038,2648],[27,-21],[15,8],[22,12],[16,-4],[2,-70],[-9,-21],[-3,-47],[-10,16],[-19,-41],[-6,3],[-17,2],[-17,50],[-4,39],[-16,52],[1,27],[18,-5]],[[8987,4244],[10,-46],[18,22],[9,-25],[13,-23],[-3,-26],[6,-51],[5,-29],[7,-7],[7,-51],[-3,-30],[9,-40],[31,-31],[19,-28],[19,-26],[-4,-14],[16,-37],[11,-64],[11,13],[11,-26],[7,9],[5,-63],[19,-36],[13,-22],[22,-48],[8,-48],[1,-33],[-2,-37],[13,-50],[-2,-52],[-5,-28],[-7,-52],[1,-34],[-6,-43],[-12,-53],[-21,-29],[-10,-46],[-9,-29],[-8,-51],[-11,-30],[-7,-44],[-4,-41],[2,-18],[-16,-21],[-31,-2],[-26,-24],[-13,-23],[-17,-26],[-23,27],[-17,10],[5,31],[-15,-11],[-25,-43],[-24,16],[-15,9],[-16,4],[-27,17],[-18,37],[-5,45],[-7,30],[-13,24],[-27,7],[9,28],[-7,44],[-13,-41],[-25,-11],[14,33],[5,34],[10,29],[-2,44],[-22,-50],[-18,-21],[-10,-47],[-22,25],[1,31],[-18,43],[-14,22],[5,14],[-36,35],[-19,2],[-27,29],[-50,-6],[-36,-21],[-31,-20],[-27,4],[-29,-30],[-24,-14],[-6,-31],[-10,-24],[-23,-1],[-18,-5],[-24,10],[-20,-6],[-19,-3],[-17,-31],[-8,2],[-14,-16],[-13,-19],[-21,2],[-18,0],[-30,38],[-15,11],[1,34],[14,8],[4,14],[-1,21],[4,41],[-3,35],[-15,60],[-4,33],[1,34],[-11,38],[-1,18],[-12,23],[-4,47],[-16,46],[-4,26],[13,-26],[-10,55],[14,-17],[8,-23],[0,30],[-14,47],[-3,18],[-6,18],[3,34],[6,15],[4,29],[-3,35],[11,42],[2,-45],[12,41],[22,20],[14,25],[21,22],[13,4],[7,-7],[22,22],[17,6],[4,13],[8,6],[15,-2],[29,18],[15,26],[7,31],[17,30],[1,24],[1,32],[19,50],[12,-51],[12,12],[-10,28],[9,29],[12,-13],[3,45],[15,29],[7,23],[14,10],[0,17],[13,-7],[0,15],[12,8],[14,8],[20,-27],[16,-35],[17,0],[18,-6],[-6,33],[13,47],[13,15],[-5,15],[12,34],[17,21],[14,-7],[24,11],[-1,30],[-20,19],[15,9],[18,-15],[15,-24],[23,-15],[8,6],[17,-18],[17,17],[10,-5],[7,11],[12,-29],[-7,-32],[-11,-24],[-9,-2],[3,-23],[-8,-30],[-10,-29],[2,-17],[22,-32],[21,-19],[15,-20],[20,-35],[8,0],[14,-15],[4,-19],[27,-20],[18,20],[6,32],[5,26],[4,33],[8,47],[-4,28],[2,17],[-3,34],[4,45],[5,12],[-4,20],[7,31],[5,32],[1,17],[10,22],[8,-29],[2,-37],[7,-7],[1,-25],[10,-30],[2,-33],[-1,-22]],[[5471,7900],[-2,-24],[-16,0],[6,-13],[-9,-38]],[[5450,7825],[-6,-10],[-24,-1],[-14,-13],[-23,4]],[[5383,7805],[-40,15],[-6,21],[-27,-10],[-4,-12],[-16,9]],[[5290,7828],[-15,1],[-12,11],[4,15],[-1,10]],[[5266,7865],[8,3],[14,-16],[4,16],[25,-3],[20,11],[13,-2],[9,-12],[2,10],[-4,38],[10,8],[10,27]],[[5377,7945],[21,-19],[15,24],[10,5],[22,-18],[13,3],[13,-12]],[[5471,7928],[-3,-7],[3,-21]],[[6281,7346],[-19,8],[-14,27],[-4,23]],[[6349,7527],[15,-31],[14,-42],[13,-2],[8,-16],[-23,-5],[-5,-46],[-4,-21],[-11,-13],[1,-30]],[[6357,7321],[-7,-3],[-17,31],[10,30],[-9,17],[-10,-4],[-33,-44]],[[6249,7494],[6,10],[21,-17],[15,-4],[4,7],[-14,32],[7,9]],[[6288,7531],[8,-2],[19,-36],[13,-4],[4,15],[17,23]],[[5814,4792],[-1,71],[-7,27]],[[5806,4890],[17,-5],[8,34],[15,-4]],[[5846,4915],[1,-23],[6,-14],[1,-19],[-7,-12],[-11,-31],[-10,-22],[-12,-2]],[[5092,8091],[20,-5],[26,12],[17,-25],[16,-14]],[[5171,8059],[-4,-40]],[[5167,8019],[-7,-2],[-3,-33]],[[5157,7984],[-24,26],[-14,-4],[-20,28],[-13,23],[-13,1],[-4,21]],[[5069,8079],[23,12]],[[5074,5427],[-23,-7]],[[5051,5420],[-7,41],[2,136],[-6,12],[-1,29],[-10,21],[-8,17],[3,31]],[[5024,5707],[10,7],[6,26],[13,5],[6,18]],[[5059,5763],[10,17],[10,0],[21,-34]],[[5100,5746],[-1,-19],[6,-35],[-6,-24],[3,-16],[-13,-37],[-9,-18],[-5,-37],[1,-38],[-2,-95]],[[4921,5627],[-19,15],[-13,-2],[-10,-15],[-12,13],[-5,19],[-13,13]],[[4849,5670],[-1,34],[7,26],[-1,20],[23,48],[4,41],[7,14],[14,-8],[11,12],[4,16],[22,26],[5,19],[26,24],[15,9],[7,-12],[18,0]],[[5010,5939],[-2,-28],[3,-27],[16,-39],[1,-28],[32,-14],[-1,-40]],[[5024,5707],[-24,1]],[[5e3,5708],[-13,5],[-9,-9],[-12,4],[-48,-3],[-1,-33],[4,-45]],[[7573,6360],[0,-43],[-10,9],[2,-47]],[[7565,6279],[-8,30],[-1,31],[-6,28],[-11,34],[-26,3],[3,-25],[-9,-32],[-12,12],[-4,-11],[-8,6],[-11,5]],[[7472,6360],[-4,49],[-10,45],[5,35],[-17,16],[6,22],[18,22],[-20,31],[9,40],[22,-26],[14,-3],[2,-41],[26,-8],[26,1],[16,-10],[-13,-50],[-12,-3],[-9,-34],[16,-31],[4,38],[8,0],[14,-93]],[[5629,7671],[8,-25],[11,5],[21,-9],[41,-4],[13,16],[33,13],[20,-21],[17,-6]],[[5793,7640],[-15,-25],[-10,-42],[9,-34]],[[5777,7539],[-24,8],[-28,-18]],[[5725,7529],[0,-30],[-26,-5],[-19,20],[-22,-16],[-21,2]],[[5637,7500],[-2,39],[-14,19]],[[5621,7558],[5,8],[-3,7],[4,19],[11,18],[-14,26],[-2,21],[7,14]],[[2846,6461],[-7,-3],[-7,34],[-10,17],[6,38],[8,-3],[10,-49],[0,-34]],[[2838,6628],[-30,-10],[-2,22],[13,5],[18,-2],[1,-15]],[[2861,6628],[-5,-42],[-5,8],[0,31],[-12,23],[0,7],[22,-27]],[[5527,7708],[10,0],[-7,-26],[14,-23],[-4,-28],[-7,-2]],[[5533,7629],[-5,-6],[-9,-13],[-4,-33]],[[5515,7577],[-25,23],[-10,24],[-11,13],[-12,22],[-6,19],[-14,27],[6,25],[10,-14],[6,12],[13,2],[24,-10],[19,1],[12,-13]],[[5652,8242],[27,0],[30,22],[6,34],[23,19],[-3,26]],[[5735,8343],[17,10],[30,23]],[[5782,8376],[29,-15],[4,-15],[15,7],[27,-14],[3,-27],[-6,-16],[17,-39],[12,-11],[-2,-11],[19,-10],[8,-16],[-11,-13],[-23,2],[-5,-5],[7,-20],[6,-37]],[[5882,8136],[-23,-4],[-9,-13],[-2,-30],[-11,6],[-25,-3],[-7,14],[-11,-10],[-10,8],[-22,1],[-31,15],[-28,4],[-22,-1],[-15,-16],[-13,-2]],[[5653,8105],[-1,26],[-8,27],[17,12],[0,24],[-8,22],[-1,26]],[[2524,6110],[-1,8],[4,3],[5,-7],[10,36],[5,0]],[[2547,6150],[0,-8],[5,-1],[0,-16],[-5,-25],[3,-9],[-3,-21],[2,-6],[-4,-30],[-5,-16],[-5,-1],[-6,-21]],[[2529,5996],[-8,0],[2,67],[1,47]],[[3136,3714],[-20,-8],[-11,82],[-15,66],[9,57],[-15,25],[-4,43],[-13,40]],[[3067,4019],[17,64],[-12,49],[7,20],[-5,22],[10,30],[1,50],[1,41],[6,20],[-24,96]],[[3068,4411],[21,-5],[14,1],[6,18],[25,24],[14,22],[37,10],[-3,-44],[3,-23],[-2,-40],[30,-53],[31,-9],[11,-23],[19,-11],[11,-17],[18,0],[16,-17],[1,-34],[6,-18],[0,-25],[-8,-1],[11,-69],[53,-2],[-4,-35],[3,-23],[15,-16],[6,-37],[-4,-47],[-8,-26],[3,-33],[-9,-12]],[[3384,3866],[-1,18],[-25,30],[-26,1],[-49,-17],[-13,-52],[-1,-32],[-11,-71]],[[3482,3537],[6,34],[3,35],[1,32],[-10,11],[-11,-9],[-10,2],[-4,23],[-2,54],[-5,18],[-19,16],[-11,-12],[-30,11],[2,81],[-8,33]],[[3068,4411],[-15,-11],[-13,7],[2,90],[-23,-35],[-24,2],[-11,31],[-18,4],[5,25],[-15,36],[-11,53],[7,11],[0,25],[17,17],[-3,32],[7,20],[2,28],[32,40],[22,11],[4,9],[25,-2]],[[3058,4804],[13,162],[0,25],[-4,34],[-12,22],[0,42],[15,10],[6,-6],[1,23],[-16,6],[-1,37],[54,-2],[10,21],[7,-19],[6,-35],[5,8]],[[3142,5132],[15,-32],[22,4],[5,18],[21,14],[11,10],[4,25],[19,17],[-1,12],[-24,5],[-3,37],[1,40],[-13,15],[5,6],[21,-8],[22,-15],[8,14],[20,9],[31,23],[10,22],[-3,17]],[[3313,5365],[14,2],[7,-13],[-4,-26],[9,-9],[7,-28],[-8,-20],[-4,-51],[7,-30],[2,-27],[17,-28],[14,-3],[3,12],[8,3],[13,10],[9,16],[15,-5],[7,2]],[[3429,5170],[15,-5],[3,12],[-5,12],[3,17],[11,-5],[13,6],[16,-13]],[[3485,5194],[12,-12],[9,16],[6,-3],[4,-16],[13,4],[11,22],[8,44],[17,54]],[[3565,5303],[9,3],[7,-33],[16,-103],[14,-10],[1,-41],[-21,-48],[9,-18],[49,-9],[1,-60],[21,39],[35,-21],[46,-36],[14,-35],[-5,-32],[33,18],[54,-32],[41,3],[41,-49],[36,-66],[21,-17],[24,-3],[10,-18],[9,-76],[5,-35],[-11,-98],[-14,-39],[-39,-82],[-18,-67],[-21,-51],[-7,-1],[-7,-43],[2,-111],[-8,-91],[-3,-39],[-9,-23],[-5,-79],[-28,-77],[-5,-61],[-22,-26],[-7,-35],[-30,0],[-44,-23],[-19,-26],[-31,-18],[-33,-47],[-23,-58],[-5,-44],[5,-33],[-5,-60],[-6,-28],[-20,-33],[-31,-104],[-24,-47],[-19,-27],[-13,-57],[-18,-33]],[[3517,3063],[-8,33],[13,28],[-16,40],[-22,33],[-29,38],[-10,-2],[-28,46],[-18,-7]],[[8172,5325],[11,22],[23,32]],[[8206,5379],[-1,-29],[-2,-37],[-13,1],[-6,-20],[-12,31]],[[7546,6698],[12,-19],[-2,-36],[-23,-2],[-23,4],[-18,-9],[-25,22],[-1,12]],[[7466,6670],[19,44],[15,15],[20,-14],[14,-1],[12,-16]],[[5817,3752],[-39,-43],[-25,-44],[-10,-40],[-8,-22],[-15,-4],[-5,-29],[-3,-18],[-17,-14],[-23,3],[-13,17],[-12,7],[-14,-14],[-6,-28],[-14,-18],[-13,-26],[-20,-6],[-6,20],[2,36],[-16,56],[-8,9]],[[5552,3594],[0,173],[27,2],[1,210],[21,2],[43,21],[10,-24],[18,23],[9,0],[15,13]],[[5696,4014],[5,-4]],[[5701,4010],[11,-48],[5,-10],[9,-34],[32,-65],[12,-7],[0,-20],[8,-38],[21,-9],[18,-27]],[[5424,5496],[23,4],[5,16],[5,-2],[7,-13],[34,23],[12,23],[15,20],[-3,21],[8,6],[27,-4],[26,27],[20,65],[14,24],[18,10]],[[5635,5716],[3,-26],[16,-36],[0,-25],[-5,-24],[2,-18],[10,-18]],[[5661,5569],[21,-25]],[[5682,5544],[15,-24],[0,-19],[19,-31],[12,-26],[7,-35],[20,-24],[5,-18]],[[5760,5367],[-9,-7],[-18,2],[-21,6],[-10,-5],[-5,-14],[-9,-2],[-10,12],[-31,-29],[-13,6],[-4,-5],[-8,-35],[-21,11],[-20,6],[-18,22],[-23,20],[-15,-19],[-10,-30],[-3,-41]],[[5512,5265],[-18,3],[-19,10],[-16,-32],[-15,-55]],[[5444,5191],[-3,18],[-1,27],[-13,19],[-10,30],[-2,21],[-13,31],[2,18],[-3,25],[2,45],[7,11],[14,60]],[[3231,7808],[20,-8],[26,1],[-14,-24],[-10,-4],[-35,25],[-7,20],[10,18],[10,-28]],[[3283,7958],[-14,-1],[-36,19],[-26,28],[10,5],[37,-15],[28,-25],[1,-11]],[[1569,7923],[-14,-8],[-46,27],[-8,21],[-25,21],[-5,16],[-28,11],[-11,32],[2,14],[30,-13],[17,-9],[26,-6],[9,-21],[14,-28],[28,-24],[11,-33]],[[3440,8052],[-18,-52],[18,20],[19,-12],[-10,-21],[25,-16],[12,14],[28,-18],[-8,-43],[19,10],[4,-32],[8,-36],[-11,-52],[-13,-2],[-18,11],[6,48],[-8,8],[-32,-52],[-17,2],[20,28],[-27,14],[-30,-3],[-54,2],[-4,17],[17,21],[-12,16],[24,36],[28,94],[18,33],[24,21],[13,-3],[-6,-16],[-15,-37]],[[1313,8250],[27,5],[-8,-67],[24,-48],[-11,0],[-17,27],[-10,27],[-14,19],[-5,26],[1,19],[13,-8]],[[2798,8730],[-11,-31],[-12,5],[-8,17],[2,4],[10,18],[12,-1],[7,-12]],[[2725,8762],[-33,-32],[-19,1],[-6,16],[20,27],[38,0],[0,-12]],[[2634,8936],[5,-26],[15,9],[16,-15],[30,-20],[32,-19],[2,-28],[21,5],[20,-20],[-25,-18],[-43,14],[-16,26],[-27,-31],[-40,-31],[-9,35],[-38,-6],[24,30],[4,46],[9,54],[20,-5]],[[2892,9024],[-31,-3],[-7,29],[12,34],[26,8],[21,-17],[1,-25],[-4,-8],[-18,-18]],[[2343,9140],[-17,-21],[-38,18],[-22,-6],[-38,26],[24,19],[19,25],[30,-16],[17,-11],[8,-11],[17,-23]],[[3135,7724],[-18,33],[0,81],[-13,17],[-18,-10],[-10,16],[-21,-45],[-8,-46],[-10,-27],[-12,-9],[-9,-3],[-3,-15],[-51,0],[-42,0],[-12,-11],[-30,-42],[-3,-5],[-9,-23],[-26,0],[-27,0],[-12,-10],[4,-11],[2,-18],[0,-6],[-36,-30],[-29,-9],[-32,-31],[-7,0],[-10,9],[-3,8],[1,6],[6,21],[13,33],[8,35],[-5,51],[-6,53],[-29,28],[3,11],[-4,7],[-8,0],[-5,9],[-2,14],[-5,-6],[-7,2],[1,6],[-6,6],[-3,15],[-21,19],[-23,20],[-27,23],[-26,21],[-25,-17],[-9,0],[-34,15],[-23,-8],[-27,19],[-28,9],[-19,4],[-9,10],[-5,32],[-9,0],[-1,-23],[-57,0],[-95,0],[-94,0],[-84,0],[-83,0],[-82,0],[-85,0],[-27,0],[-82,0],[-79,0]],[[1588,7952],[-4,0],[-54,58],[-20,26],[-50,24],[-15,53],[3,36],[-35,25],[-5,48],[-34,43],[0,30]],[[1374,8295],[15,29],[0,37],[-48,37],[-28,68],[-17,42],[-26,27],[-19,24],[-14,31],[-28,-20],[-27,-33],[-25,39],[-19,26],[-27,16],[-28,2],[0,337],[1,219]],[[1084,9176],[51,-14],[44,-29],[29,-5],[24,24],[34,19],[41,-7],[42,26],[45,14],[20,-24],[20,14],[6,27],[20,-6],[47,-53],[37,40],[3,-45],[34,10],[11,17],[34,-3],[42,-25],[65,-22],[38,-10],[28,4],[37,-30],[-39,-29],[50,-13],[75,7],[24,11],[29,-36],[31,30],[-29,25],[18,20],[34,3],[22,6],[23,-14],[28,-32],[31,5],[49,-27],[43,9],[40,-1],[-3,37],[25,10],[43,-20],[0,-56],[17,47],[23,-1],[12,59],[-30,36],[-32,24],[2,65],[33,43],[37,-9],[28,-26],[38,-67],[-25,-29],[52,-12],[-1,-60],[38,46],[33,-38],[-9,-44],[27,-40],[29,43],[21,51],[1,65],[40,-5],[41,-8],[37,-30],[2,-29],[-21,-31],[20,-32],[-4,-29],[-54,-41],[-39,-9],[-29,18],[-8,-30],[-27,-50],[-8,-26],[-32,-40],[-40,-4],[-22,-25],[-2,-38],[-32,-7],[-34,-48],[-30,-67],[-11,-46],[-1,-69],[40,-10],[13,-55],[13,-45],[39,12],[51,-26],[28,-22],[20,-28],[35,-17],[29,-24],[46,-4],[30,-6],[-4,-51],[8,-59],[21,-66],[41,-56],[21,19],[15,61],[-14,93],[-20,31],[45,28],[31,41],[16,41],[-3,40],[-19,50],[-33,44],[32,62],[-12,54],[-9,92],[19,14],[48,-16],[29,-6],[23,15],[25,-20],[35,-34],[8,-23],[50,-4],[-1,-50],[9,-74],[25,-10],[21,-35],[40,33],[26,65],[19,28],[21,-53],[36,-75],[31,-71],[-11,-37],[37,-33],[25,-34],[44,-15],[18,-19],[11,-50],[22,-8],[11,-22],[2,-67],[-20,-22],[-20,-21],[-46,-21],[-35,-48],[-47,-10],[-59,13],[-42,0],[-29,-4],[-23,-43],[-35,-26],[-40,-78],[-32,-54],[23,9],[45,78],[58,49],[42,6],[24,-29],[-26,-40],[9,-63],[9,-45],[36,-29],[46,8],[28,67],[2,-43],[17,-22],[-34,-38],[-61,-36],[-28,-23],[-31,-43],[-21,4],[-1,50],[48,49],[-44,-2],[-31,-7]],[[1829,9377],[-14,-27],[61,17],[39,-29],[31,30],[26,-20],[23,-58],[14,25],[-20,60],[24,9],[28,-9],[31,-24],[17,-58],[9,-41],[47,-30],[50,-28],[-3,-26],[-46,-4],[18,-23],[-9,-22],[-51,9],[-48,16],[-32,-3],[-52,-20],[-70,-9],[-50,-6],[-15,28],[-38,16],[-24,-6],[-35,47],[19,6],[43,10],[39,-3],[36,11],[-54,13],[-59,-4],[-39,1],[-15,22],[64,23],[-42,-1],[-49,16],[23,44],[20,24],[74,36],[29,-12]],[[2097,9395],[-24,-39],[-44,41],[10,9],[37,2],[21,-13]],[[2879,9376],[3,-16],[-30,2],[-30,1],[-30,-8],[-8,3],[-31,32],[1,21],[14,4],[63,-6],[48,-33]],[[2595,9379],[22,-36],[26,47],[70,24],[48,-61],[-4,-38],[55,17],[26,23],[62,-30],[38,-28],[3,-25],[52,13],[29,-38],[67,-23],[24,-24],[26,-55],[-51,-28],[66,-38],[44,-13],[40,-55],[44,-3],[-9,-42],[-49,-69],[-34,26],[-44,57],[-36,-8],[-3,-34],[29,-34],[38,-27],[11,-16],[18,-58],[-9,-43],[-35,16],[-70,47],[39,-51],[29,-35],[5,-21],[-76,24],[-59,34],[-34,29],[10,17],[-42,30],[-40,29],[0,-18],[-80,-9],[-23,20],[18,44],[52,1],[57,7],[-9,21],[10,30],[36,57],[-8,27],[-11,20],[-42,29],[-57,20],[18,15],[-29,36],[-25,4],[-22,20],[-14,-18],[-51,-7],[-101,13],[-59,17],[-45,9],[-23,21],[29,27],[-39,0],[-9,60],[21,53],[29,24],[72,16],[-21,-39]],[[2212,9420],[33,-12],[50,7],[7,-17],[-26,-28],[42,-26],[-5,-53],[-45,-23],[-27,5],[-19,23],[-69,45],[0,19],[57,-7],[-31,38],[33,29]],[[2411,9357],[-30,-45],[-32,3],[-17,52],[1,29],[14,25],[28,16],[58,-2],[53,-14],[-42,-53],[-33,-11]],[[1654,9275],[-73,-29],[-15,26],[-64,31],[12,25],[19,43],[24,39],[-27,36],[94,10],[39,-13],[71,-3],[27,-17],[30,-25],[-35,-15],[-68,-41],[-34,-42],[0,-25]],[[2399,9487],[-15,-23],[-40,5],[-34,15],[15,27],[40,16],[24,-21],[10,-19]],[[2264,9590],[21,-27],[1,-31],[-13,-44],[-46,-6],[-30,10],[1,34],[-45,-4],[-2,45],[30,-2],[41,21],[40,-4],[2,8]],[[1994,9559],[11,-21],[25,10],[29,-2],[5,-29],[-17,-28],[-94,-10],[-70,-25],[-43,-2],[-3,20],[57,26],[-125,-7],[-39,10],[38,58],[26,17],[78,-20],[50,-35],[48,-5],[-40,57],[26,21],[29,-7],[9,-28]],[[2370,9612],[30,-19],[55,0],[24,-19],[-6,-22],[32,-14],[17,-14],[38,-2],[40,-5],[44,13],[57,5],[45,-5],[30,-22],[6,-24],[-17,-16],[-42,-13],[-35,8],[-80,-10],[-57,-1],[-45,8],[-74,19],[-9,32],[-4,29],[-27,26],[-58,7],[-32,19],[10,24],[58,-4]],[[1772,9645],[-4,-46],[-21,-20],[-26,-3],[-52,-26],[-44,-9],[-38,13],[47,44],[57,39],[43,-1],[38,9]],[[2393,9637],[-13,-2],[-52,4],[-7,17],[56,-1],[19,-11],[-3,-7]],[[1939,9648],[-52,-17],[-41,19],[23,19],[40,6],[39,-10],[-9,-17]],[[1954,9701],[-34,-11],[-46,0],[0,8],[29,18],[14,-3],[37,-12]],[[2338,9669],[-41,-12],[-23,13],[-12,23],[-2,24],[36,-2],[16,-4],[33,-21],[-7,-21]],[[2220,9685],[11,-25],[-45,7],[-46,19],[-62,2],[27,18],[-34,14],[-2,22],[55,-8],[75,-21],[21,-28]],[[2583,9764],[33,-20],[-38,-17],[-51,-45],[-50,-4],[-57,8],[-30,24],[0,21],[22,16],[-50,0],[-31,19],[-18,27],[20,26],[19,18],[28,4],[-12,14],[65,3],[35,-32],[47,-12],[46,-11],[22,-39]],[[3097,9967],[74,-4],[60,-8],[51,-16],[-2,-16],[-67,-25],[-68,-12],[-25,-14],[61,1],[-66,-36],[-45,-17],[-48,-48],[-57,-10],[-18,-12],[-84,-6],[39,-8],[-20,-10],[23,-29],[-26,-21],[-43,-16],[-13,-24],[-39,-17],[4,-14],[48,3],[0,-15],[-74,-35],[-73,16],[-81,-9],[-42,7],[-52,3],[-4,29],[52,13],[-14,43],[17,4],[74,-26],[-38,38],[-45,11],[23,23],[49,14],[8,21],[-39,23],[-12,31],[76,-3],[22,-6],[43,21],[-62,7],[-98,-4],[-49,20],[-23,24],[-32,17],[-6,21],[41,11],[32,2],[55,9],[41,22],[34,-3],[30,-16],[21,32],[37,9],[50,7],[85,2],[14,-6],[81,10],[60,-4],[60,-4]],[[5290,7828],[-3,-24],[-12,-10],[-20,7],[-6,-24],[-14,-2],[-5,10],[-15,-20],[-13,-3],[-12,13]],[[5190,7775],[-10,25],[-13,-9],[0,27],[21,33],[-1,15],[12,-5],[8,10]],[[5207,7871],[24,-1],[5,13],[30,-18]],[[3140,1814],[-10,-24],[-23,-18],[-14,2],[-16,5],[-21,18],[-29,8],[-35,33],[-28,32],[-38,66],[23,-12],[39,-40],[36,-21],[15,27],[9,41],[25,24],[20,-7]],[[3095,1968],[-25,0],[-13,-14],[-25,-22],[-5,-55],[-11,-1],[-32,19],[-32,41],[-34,34],[-9,37],[8,35],[-14,39],[-4,101],[12,57],[30,45],[-43,18],[27,52],[9,98],[31,-21],[15,123],[-19,15],[-9,-73],[-17,8],[9,84],[9,110],[13,40],[-8,58],[-2,66],[11,2],[17,96],[20,94],[11,88],[-6,89],[8,49],[-3,72],[16,73],[5,114],[9,123],[9,132],[-2,96],[-6,84]],[[3045,3974],[14,15],[8,30]],[[8064,6161],[-24,-28],[-23,18],[0,51],[13,26],[31,17],[16,-1],[6,-23],[-12,-26],[-7,-34]],[[8628,7562],[-18,35],[-11,-33],[-43,-26],[4,-31],[-24,2],[-13,19],[-19,-42],[-30,-32],[-23,-38]],[[8451,7416],[-39,-17],[-20,-27],[-30,-17],[15,28],[-6,23],[22,40],[-15,30],[-24,-20],[-32,-41],[-17,-39],[-27,-2],[-14,-28],[15,-40],[22,-10],[1,-26],[22,-17],[31,42],[25,-23],[18,-2],[4,-31],[-39,-16],[-13,-32],[-27,-30],[-14,-41],[30,-33],[11,-58],[17,-54],[18,-45],[0,-44],[-17,-16],[6,-32],[17,-18],[-5,-48],[-7,-47],[-15,-5],[-21,-64],[-22,-78],[-26,-70],[-38,-55],[-39,-50],[-31,-6],[-17,-27],[-10,20],[-15,-30],[-39,-29],[-29,-9],[-10,-63],[-15,-3],[-8,43],[7,22],[-37,19],[-13,-9]],[[8001,6331],[-28,15],[-14,24],[5,34],[-26,11],[-13,22],[-24,-31],[-27,-7],[-22,0],[-15,-14]],[[7837,6385],[-14,-9],[4,-68],[-15,2],[-2,14]],[[7810,6324],[-1,24],[-20,-17],[-12,11],[-21,22],[8,49],[-18,12],[-6,54],[-30,-10],[4,70],[26,50],[1,48],[-1,46],[-12,14],[-9,35],[-16,-5]],[[7703,6727],[-30,9],[9,25],[-13,36],[-20,-24],[-23,14],[-32,-37],[-25,-44],[-23,-8]],[[7466,6670],[-2,47],[-17,-13]],[[7447,6704],[-32,6],[-32,14],[-22,26],[-22,11],[-9,29],[-16,8],[-28,39],[-22,18],[-12,-14]],[[7252,6841],[-38,41],[-28,37],[-7,65],[20,-7],[1,30],[-12,30],[3,48],[-30,69]],[[7161,7154],[-45,24],[-8,46],[-21,27]],[[7082,7268],[-4,34],[1,23],[-17,13],[-9,-6],[-7,55]],[[7046,7387],[8,13],[-4,14],[26,28],[20,12],[29,-8],[11,38],[35,7],[10,23],[44,32],[4,13]],[[7229,7559],[-2,34],[19,15],[-25,103],[55,24],[14,13],[20,106],[55,-20],[15,27],[2,59],[23,6],[21,39]],[[7426,7965],[11,5]],[[7437,7970],[7,-41],[23,-32],[40,-22],[19,-47],[-10,-70],[10,-25],[33,-10],[37,-8],[33,-37],[18,-7],[12,-54],[17,-35],[30,1],[58,-13],[36,8],[28,-9],[41,-36],[34,0],[12,-18],[32,32],[45,20],[42,2],[32,21],[20,32],[20,20],[-5,19],[-9,23],[15,38],[15,-5],[29,-12],[28,31],[42,23],[20,39],[20,17],[40,8],[22,-7],[3,21],[-25,41],[-22,19],[-22,-22],[-27,10],[-16,-8],[-7,24],[20,59],[13,45]],[[8240,8005],[34,-23],[39,38],[-1,26],[26,62],[15,19],[0,33],[-16,14],[23,29],[35,11],[37,2],[41,-18],[25,-22],[17,-59],[10,-26],[10,-36],[10,-58],[49,-19],[32,-42],[12,-55],[42,0],[24,23],[46,17],[-15,-53],[-11,-21],[-9,-65],[-19,-58],[-33,11],[-24,-21],[7,-51],[-4,-69],[-14,-2],[0,-30]],[[4920,5353],[-12,-1],[-20,12],[-18,-1],[-33,-10],[-19,-18],[-27,-21],[-6,1]],[[4785,5315],[2,49],[3,7],[-1,24],[-12,24],[-8,4],[-8,17],[6,26],[-3,28],[1,18]],[[4765,5512],[5,0],[1,25],[-2,12],[3,8],[10,7],[-7,47],[-6,25],[2,20],[5,4]],[[4776,5660],[4,6],[8,-9],[21,-1],[5,18],[5,-1],[8,6],[4,-25],[7,7],[11,9]],[[4921,5627],[7,-84],[-11,-50],[-8,-66],[12,-51],[-1,-23]],[[5363,5191],[-4,4],[-16,-8],[-17,8],[-13,-4]],[[5313,5191],[-45,1]],[[5268,5192],[4,47],[-11,39],[-13,10],[-6,27],[-7,8],[1,16]],[[5236,5339],[7,42],[13,57],[8,1],[17,34],[10,1],[16,-24],[19,20],[2,25],[7,23],[4,30],[15,25],[5,41],[6,13],[4,31],[7,37],[24,46],[1,20],[3,10],[-11,24]],[[5393,5795],[1,19],[8,3]],[[5402,5817],[11,-38],[2,-39],[-1,-39],[15,-54],[-15,1],[-8,-4],[-13,6],[-6,-28],[16,-35],[13,-10],[3,-24],[9,-41],[-4,-16]],[[5444,5191],[-2,-31],[-22,14],[-22,15],[-35,2]],[[5856,5265],[-2,-69],[11,-8],[-9,-21],[-10,-16],[-11,-31],[-6,-27],[-1,-48],[-7,-22],[0,-45]],[[5821,4978],[-8,-16],[-1,-35],[-4,-5],[-2,-32]],[[5814,4792],[5,-55],[-2,-30],[5,-35],[16,-33],[15,-74]],[[5853,4565],[-11,6],[-37,-10],[-7,-7],[-8,-38],[6,-26],[-5,-70],[-3,-59],[7,-11],[19,-23],[8,11],[2,-64],[-21,1],[-11,32],[-10,25],[-22,9],[-6,31],[-17,-19],[-22,8],[-10,27],[-17,6],[-13,-2],[-2,19],[-9,1]],[[5342,4697],[-4,18]],[[5360,4775],[8,-6],[9,23],[15,-1],[2,-17],[11,-10],[16,37],[16,29],[7,19],[-1,48],[12,58],[13,30],[18,29],[3,18],[1,22],[5,21],[-2,33],[4,52],[5,37],[8,32],[2,36]],[[5760,5367],[17,-49],[12,-7],[8,10],[12,-4],[16,12],[6,-25],[25,-39]],[[5330,4760],[-22,62]],[[5308,4822],[21,33],[-11,39],[10,15],[19,7],[2,26],[15,-28],[24,-2],[9,27],[3,40],[-3,46],[-13,35],[12,68],[-7,12],[-21,-5],[-7,31],[2,25]],[[2906,5049],[-12,14],[-14,19],[-7,-9],[-24,8],[-7,25],[-5,-1],[-28,34]],[[2809,5139],[-3,18],[10,5],[-1,29],[6,22],[14,4],[12,37],[10,31],[-10,14],[5,34],[-6,54],[6,16],[-4,50],[-12,31]],[[2836,5484],[4,29],[9,-4],[5,17],[-6,35],[3,9]],[[2851,5570],[14,-2],[21,41],[12,6],[0,20],[5,50],[16,27],[17,1],[3,13],[21,-5],[22,30],[11,13],[14,28],[9,-3],[8,-16],[-6,-20]],[[3018,5753],[-18,-10],[-7,-29],[-10,-17],[-8,-22],[-4,-42],[-8,-35],[15,-4],[3,-27],[6,-13],[3,-24],[-4,-22],[1,-12],[7,-5],[7,-20],[36,5],[16,-7],[19,-51],[11,6],[20,-3],[16,7],[10,-10],[-5,-32],[-6,-20],[-2,-42],[5,-40],[8,-17],[1,-13],[-14,-30],[10,-13],[8,-21],[8,-58]],[[3058,4804],[-14,31],[-8,1],[18,61],[-21,27],[-17,-5],[-10,10],[-15,-15],[-21,7],[-16,62],[-13,15],[-9,28],[-19,28],[-7,-5]],[[2695,5543],[-15,14],[-6,12],[4,10],[-1,13],[-8,14],[-11,12],[-10,8],[-1,17],[-8,10],[2,-17],[-5,-14],[-7,17],[-9,5],[-4,12],[1,18],[3,19],[-8,8],[7,12]],[[2619,5713],[4,7],[18,-15],[7,7],[9,-5],[4,-12],[8,-4],[7,13]],[[2676,5704],[7,-32],[11,-24],[13,-25]],[[2707,5623],[-11,-6],[0,-23],[6,-9],[-4,-7],[1,-11],[-2,-12],[-2,-12]],[[2715,6427],[23,-4],[22,0],[26,-21],[11,-21],[26,6],[10,-13],[24,-37],[17,-27],[9,1],[17,-12],[-2,-17],[20,-2],[21,-24],[-3,-14],[-19,-7],[-18,-3],[-19,4],[-40,-5],[18,32],[-11,16],[-18,4],[-9,17],[-7,33],[-16,-2],[-26,16],[-8,12],[-36,10],[-10,11],[11,15],[-28,3],[-20,-31],[-11,-1],[-4,-14],[-14,-7],[-12,6],[15,18],[6,22],[13,13],[14,11],[21,6],[7,6]],[[5909,7133],[2,1],[4,14],[20,-1],[25,18],[-19,-25],[2,-11]],[[5943,7129],[-3,2],[-5,-5],[-4,1],[-2,-2],[0,6],[-2,4],[-6,0],[-7,-5],[-5,3]],[[5943,7129],[1,-5],[-28,-24],[-14,8],[-7,23],[14,2]],[[5377,7945],[-16,25],[-14,15],[-3,25],[-5,17],[21,13],[10,15],[20,11],[7,11],[7,-6],[13,6]],[[5417,8077],[13,-19],[21,-5],[-2,-17],[15,-12],[4,15],[19,-6],[3,-19],[20,-3],[13,-29]],[[5523,7982],[-8,0],[-4,-11],[-7,-3],[-2,-13],[-5,-3],[-1,-5],[-9,-7],[-12,1],[-4,-13]],[[5275,8306],[1,-23],[28,-14],[-1,-21],[29,11],[15,16],[32,-23],[13,-19]],[[5392,8233],[6,-30],[-8,-16],[11,-21],[6,-31],[-2,-21],[12,-37]],[[5207,7871],[3,42],[14,40],[-40,11],[-13,16]],[[5171,7980],[2,26],[-6,13]],[[5171,8059],[-5,62],[17,0],[7,22],[6,54],[-5,20]],[[5191,8217],[6,13],[23,3],[5,-13],[19,29],[-6,22],[-2,34]],[[5236,8305],[21,-8],[18,9]],[[6196,5808],[7,-19],[-1,-24],[-16,-14],[12,-16]],[[6198,5735],[-10,-32]],[[6188,5703],[-7,11],[-6,-5],[-16,1],[0,18],[-2,17],[9,27],[10,26]],[[6176,5798],[12,-5],[8,15]],[[5352,8343],[-17,-48],[-29,33],[-4,25],[41,19],[9,-29]],[[5236,8305],[-11,32],[-1,61],[5,16],[8,17],[24,4],[10,16],[22,17],[-1,-30],[-8,-20],[4,-16],[15,-9],[-7,-22],[-8,6],[-20,-42],[7,-29]],[[3008,6222],[3,10],[22,0],[16,-15],[8,1],[5,-21],[15,1],[-1,-17],[12,-2],[14,-22],[-10,-24],[-14,13],[-12,-3],[-9,3],[-5,-11],[-11,-3],[-4,14],[-10,-8],[-11,-41],[-7,10],[-1,17]],[[3008,6124],[0,16],[-7,17],[7,10],[2,23],[-2,32]],[[5333,6444],[-95,-112],[-81,-117],[-39,-26]],[[5118,6189],[-31,-6],[0,38],[-13,10],[-17,16],[-7,28],[-94,129],[-93,129]],[[4863,6533],[-105,143]],[[4758,6676],[1,11],[0,4]],[[4759,6691],[0,70],[44,44],[28,9],[23,16],[11,29],[32,24],[1,44],[16,5],[13,22],[36,9],[5,23],[-7,13],[-10,62],[-1,36],[-11,38]],[[4939,7135],[27,32],[30,11],[17,24],[27,18],[47,11],[46,4],[14,-8],[26,23],[30,0],[11,-13],[19,3]],[[5233,7240],[-5,-30],[4,-56],[-6,-49],[-18,-33],[3,-45],[23,-35],[0,-14],[17,-24],[12,-106]],[[5263,6848],[9,-52],[1,-28],[-5,-48],[2,-27],[-3,-32],[2,-37],[-11,-25],[17,-43],[1,-25],[10,-33],[13,11],[22,-28],[12,-37]],[[2769,4856],[15,45],[-6,25],[-11,-27],[-16,26],[5,16],[-4,54],[9,9],[5,37],[11,38],[-2,24],[15,13],[19,23]],[[2906,5049],[4,-45],[-9,-39],[-30,-62],[-33,-23],[-17,-51],[-6,-40],[-15,-24],[-12,29],[-11,7],[-12,-5],[-1,22],[8,14],[-3,24]],[[5969,6800],[-7,-23],[-6,-45],[-8,-31],[-6,-10],[-10,19],[-12,26],[-20,85],[-3,-5],[12,-63],[17,-59],[21,-92],[10,-32],[9,-34],[25,-65],[-6,-10],[1,-39],[33,-53],[4,-12]],[[6023,6357],[-110,0],[-107,0],[-112,0]],[[5694,6357],[0,218],[0,210],[-8,47],[7,37],[-5,25],[10,29]],[[5698,6923],[37,0],[27,-15],[28,-18],[13,-9],[21,19],[11,17],[25,5],[20,-8],[7,-29],[7,19],[22,-14],[22,-3],[13,15]],[[5951,6902],[18,-102]],[[6176,5798],[-10,20],[-11,34],[-12,19],[-8,21],[-24,23],[-19,1],[-7,12],[-16,-14],[-17,27],[-8,-44],[-33,13]],[[6011,5910],[-3,23],[12,87],[3,39],[9,18],[20,10],[14,34]],[[6066,6121],[16,-69],[8,-54],[15,-29],[38,-55],[16,-34],[15,-34],[8,-20],[14,-18]],[[4749,7532],[1,42],[-11,25],[39,43],[34,-11],[37,1],[30,-10],[23,3],[45,-2]],[[4947,7623],[11,-23],[51,-27],[10,13],[31,-27],[32,8]],[[5082,7567],[2,-35],[-26,-39],[-36,-12],[-2,-20],[-18,-33],[-10,-48],[11,-34],[-16,-26],[-6,-39],[-21,-11],[-20,-46],[-35,-1],[-27,1],[-17,-21],[-11,-22],[-13,5],[-11,20],[-8,34],[-26,9]],[[4792,7249],[-2,20],[10,22],[4,16],[-9,17],[7,39],[-11,36],[12,5],[1,27],[5,9],[0,46],[13,16],[-8,30],[-16,2],[-5,-8],[-16,0],[-7,29],[-11,-8],[-10,-15]],[[5675,8472],[3,35],[-10,-8],[-18,21],[-2,34],[35,17],[35,8],[30,-10],[29,2]],[[5777,8571],[4,-10],[-20,-34],[8,-55],[-12,-19]],[[5757,8453],[-22,0],[-24,22],[-13,7],[-23,-10]],[[6188,5703],[-6,-21],[10,-32],[10,-29],[11,-21],[90,-70],[24,0]],[[6327,5530],[-79,-177],[-36,-3],[-25,-41],[-17,-1],[-8,-19]],[[6162,5289],[-19,0],[-11,20],[-26,-25],[-8,-24],[-18,4],[-6,7],[-7,-1],[-9,0],[-35,50],[-19,0],[-10,20],[0,33],[-14,10]],[[5980,5383],[-17,64],[-12,14],[-5,23],[-14,29],[-17,4],[9,34],[15,2],[4,18]],[[5943,5571],[0,53]],[[5943,5624],[8,62],[13,16],[3,24],[12,45],[17,30],[11,58],[4,51]],[[5794,9138],[-4,-42],[42,-39],[-26,-45],[33,-67],[-19,-51],[25,-43],[-11,-39],[41,-40],[-11,-31],[-25,-34],[-60,-75]],[[5779,8632],[-50,-5],[-49,-21],[-45,-13],[-16,32],[-27,20],[6,58],[-14,53],[14,35],[25,37],[63,64],[19,12],[-3,25],[-39,28]],[[5663,8957],[-9,23],[-1,91],[-43,40],[-37,29]],[[5573,9140],[17,16],[30,-32],[37,3],[30,-14],[26,26],[14,44],[43,20],[35,-24],[-11,-41]],[[9954,4033],[9,-17],[-4,-31],[-17,-8],[-16,7],[-2,26],[10,21],[13,-8],[7,10]],[[0,4079],[9981,-14],[-17,-13],[-4,23],[14,12],[9,3],[-9983,18]],[[0,4108],[0,-29]],[[0,4108],[6,3],[-4,-28],[-2,-4]],[[3300,1994],[33,36],[24,-15],[16,24],[22,-27],[-8,-21],[-37,-17],[-13,20],[-23,-26],[-14,26]],[[5265,7548],[-9,-46],[-13,12],[-6,40],[5,22],[18,22],[5,-50]],[[5157,7984],[6,-6],[8,2]],[[5190,7775],[-2,-17],[9,-22],[-10,-18],[7,-46],[15,-8],[-3,-25]],[[5206,7639],[-25,-34],[-55,16],[-40,-19],[-4,-35]],[[4947,7623],[14,35],[5,118],[-28,62],[-21,30],[-42,23],[-3,43],[36,12],[47,-15],[-9,67],[26,-25],[65,46],[8,48],[24,12]],[[3485,5194],[7,25],[3,27]],[[3495,5246],[4,26],[-10,34]],[[3489,5306],[-3,41],[15,51]],[[3501,5398],[9,-7],[21,-14],[29,-50],[5,-24]],[[5308,4822],[-29,60],[-18,49],[-17,61],[1,19],[6,19],[7,43],[5,44]],[[5263,5117],[10,4],[40,-1],[0,71]],[[4827,8240],[-21,12],[-17,-1],[6,32],[-6,32]],[[4789,8315],[23,2],[30,-37],[-15,-40]],[[4916,8521],[-30,-63],[29,8],[30,-1],[-7,-48],[-25,-53],[29,-4],[2,-6],[25,-69],[19,-10],[17,-67],[8,-24],[33,-11],[-3,-38],[-14,-17],[11,-30],[-25,-31],[-37,0],[-48,-16],[-13,12],[-18,-28],[-26,7],[-19,-23],[-15,12],[41,62],[25,13],[-1,0],[-43,9],[-8,24],[29,18],[-15,32],[5,39],[42,-6],[4,35],[-19,36],[0,1],[-34,10],[-7,16],[10,27],[-9,16],[-15,-28],[-1,57],[-14,30],[10,61],[21,48],[23,-4],[33,4]],[[6154,7511],[4,26],[-7,40],[-16,22],[-16,6],[-10,19]],[[6109,7624],[4,6],[23,-10],[41,-9],[38,-28],[5,-11],[17,9],[25,-13],[9,-24],[17,-13]],[[6210,7485],[-27,29],[-29,-3]],[[5029,5408],[-44,-35],[-15,-20],[-25,-17],[-25,17]],[[5e3,5708],[-2,-18],[12,-30],[0,-43],[2,-47],[7,-21],[-6,-54],[2,-29],[8,-37],[6,-21]],[[4765,5512],[-8,1],[-5,-24],[-8,1],[-6,12],[2,24],[-11,36],[-8,-7],[-6,-1]],[[4715,5554],[-7,-3],[0,21],[-4,16],[0,17],[-6,25],[-7,21],[-23,0],[-6,-11],[-8,-1],[-4,-13],[-4,-17],[-14,-26]],[[4632,5583],[-13,35],[-10,24],[-8,7],[-6,12],[-4,26],[-4,13],[-8,10]],[[4579,5710],[13,29],[8,-2],[7,10],[6,0],[5,8],[-3,20],[3,6],[1,20]],[[4619,5801],[13,-1],[20,-14],[6,1],[3,7],[15,-5],[4,4]],[[4680,5793],[1,-22],[5,0],[7,8],[5,-2],[7,-15],[12,-5],[8,13],[9,8],[6,8],[6,-1],[6,-13],[3,-17],[12,-24],[-6,-16],[-1,-19],[6,6],[3,-7],[-1,-17],[8,-18]],[[4532,5834],[3,27]],[[4535,5861],[31,1],[6,14],[9,1],[11,-14],[8,-1],[9,10],[6,-17],[-12,-13],[-12,1],[-12,13],[-10,-14],[-5,-1],[-7,-8],[-25,1]],[[4579,5710],[-15,24],[-11,4],[-7,17],[1,9],[-9,13],[-2,12]],[[4536,5789],[15,10],[9,-2],[8,7],[51,-3]],[[5263,5117],[-5,9],[10,66]],[[5658,7167],[15,-20],[22,3],[20,-4],[0,-10],[15,7],[-4,-18],[-40,-5],[1,10],[-34,12],[5,25]],[[5723,7469],[-17,2],[-14,6],[-34,-16],[19,-33],[-14,-10],[-15,0],[-15,31],[-5,-13],[6,-36],[14,-27],[-10,-13],[15,-27],[14,-18],[0,-33],[-25,16],[8,-30],[-18,-7],[11,-52],[-19,-1],[-23,26],[-10,47],[-5,40],[-11,27],[-14,34],[-2,16]],[[5583,7470],[18,6],[11,13],[15,-2],[5,11],[5,2]],[[5725,7529],[13,-16],[-8,-37],[-7,-7]],[[3701,9939],[93,35],[97,-2],[36,21],[98,6],[222,-7],[174,-47],[-52,-23],[-106,-3],[-150,-5],[14,-11],[99,7],[83,-21],[54,18],[23,-21],[-30,-34],[71,22],[135,23],[83,-12],[15,-25],[-113,-42],[-16,-14],[-88,-10],[64,-3],[-32,-43],[-23,-38],[1,-66],[33,-38],[-43,-3],[-46,-19],[52,-31],[6,-50],[-30,-6],[36,-50],[-61,-5],[32,-24],[-9,-20],[-39,-10],[-39,0],[35,-40],[0,-26],[-55,24],[-14,-15],[37,-15],[37,-36],[10,-48],[-49,-11],[-22,22],[-34,34],[10,-40],[-33,-31],[73,-2],[39,-3],[-75,-52],[-75,-46],[-81,-21],[-31,0],[-29,-23],[-38,-62],[-60,-42],[-19,-2],[-37,-15],[-40,-13],[-24,-37],[0,-41],[-15,-39],[-45,-47],[11,-47],[-12,-48],[-14,-58],[-39,-4],[-41,49],[-56,0],[-27,32],[-18,58],[-49,73],[-14,39],[-3,53],[-39,54],[10,44],[-18,21],[27,69],[42,22],[11,25],[6,46],[-32,-21],[-15,-9],[-25,-8],[-34,19],[-2,40],[11,31],[25,1],[57,-15],[-48,37],[-24,20],[-28,-8],[-23,15],[31,55],[-17,22],[-22,41],[-34,62],[-35,23],[0,25],[-74,34],[-59,5],[-74,-3],[-68,-4],[-32,19],[-49,37],[73,19],[56,3],[-119,15],[-62,24],[3,23],[106,28],[101,29],[11,21],[-75,22],[24,23],[97,41],[40,7],[-12,26],[66,16],[86,9],[85,1],[30,-19],[74,33],[66,-22],[39,-5],[58,-19],[-66,32],[4,25]],[[2497,5869],[-14,10],[-17,1],[-13,12],[-15,24]],[[2438,5916],[1,18],[3,13],[-4,12],[13,48],[36,0],[1,20],[-5,4],[-3,12],[-10,14],[-11,20],[13,0],[0,33],[26,0],[26,0]],[[2529,5996],[10,-11],[2,9],[8,-7]],[[2549,5987],[-13,-23],[-13,-16],[-2,-12],[2,-11],[-5,-15]],[[2518,5910],[-7,-4],[2,-7],[-6,-6],[-9,-15],[-1,-9]],[[3340,5552],[18,-22],[17,-38],[1,-31],[10,-1],[15,-29],[11,-21]],[[3412,5410],[-4,-53],[-17,-15],[1,-14],[-5,-31],[13,-42],[9,-1],[3,-33],[17,-51]],[[3313,5365],[-19,45],[7,16],[0,27],[17,10],[7,11],[-10,22],[3,21],[22,35]],[[2574,5825],[-5,18],[-8,5]],[[2561,5848],[2,24],[-4,6],[-6,4],[-12,-7],[-1,8],[-8,10],[-6,12],[-8,5]],[[2549,5987],[3,-3],[6,11],[8,1],[3,-5],[4,3],[13,-6],[13,2],[9,6],[3,7],[9,-3],[6,-4],[8,1],[5,5],[13,-8],[4,-1],[9,-11],[8,-13],[10,-9],[7,-17]],[[2690,5943],[-9,2],[-4,-8],[-10,-8],[-7,0],[-6,-8],[-6,3],[-4,9],[-3,-2],[-4,-14],[-3,1],[0,-12],[-10,-17],[-5,-7],[-3,-7],[-8,12],[-6,-16],[-6,1],[-6,-2],[0,-29],[-4,0],[-3,-14],[-9,-2]],[[5522,7770],[7,-23],[9,-17],[-11,-22]],[[5515,7577],[-3,-10]],[[5512,7567],[-26,22],[-16,21],[-26,18],[-23,43],[6,5],[-13,25],[-1,19],[-17,10],[-9,-26],[-8,20],[0,21],[1,1]],[[5380,7746],[20,-2],[5,9],[9,-9],[11,-1],[0,16],[10,6],[2,24],[23,16]],[[5460,7805],[8,-7],[21,-26],[23,-11],[10,9]],[[3008,6124],[-19,10],[-13,-5],[-17,5],[-13,-11],[-15,18],[3,19],[25,-8],[21,-5],[10,13],[-12,26],[0,23],[-18,9],[7,16],[17,-3],[24,-9]],[[5471,7900],[14,-15],[10,-6],[24,7],[2,12],[11,2],[14,9],[3,-4],[13,8],[6,13],[9,4],[30,-18],[6,6]],[[5613,7918],[15,-16],[2,-16]],[[5630,7886],[-17,-12],[-13,-40],[-17,-40],[-22,-11]],[[5561,7783],[-17,2],[-22,-15]],[[5460,7805],[-6,20],[-4,0]],[[8352,4453],[-11,-2],[-37,42],[26,11],[14,-18],[10,-17],[-2,-16]],[[8471,4532],[2,-11],[1,-18]],[[8474,4503],[-18,-45],[-24,-13],[-3,8],[2,20],[12,36],[28,23]],[[8274,4579],[10,-16],[17,5],[7,-25],[-32,-12],[-19,-8],[-15,1],[10,34],[15,0],[7,21]],[[8413,4579],[-4,-32],[-42,-17],[-37,7],[0,22],[22,12],[18,-18],[18,5],[25,21]],[[8017,4657],[53,-6],[6,25],[51,-29],[10,-38],[42,-11],[34,-35],[-31,-23],[-31,24],[-25,-1],[-29,4],[-26,11],[-32,22],[-21,6],[-11,-7],[-51,24],[-5,25],[-25,5],[19,56],[34,-3],[22,-23],[12,-5],[4,-21]],[[8741,4690],[-14,-40],[-3,45],[5,21],[6,20],[7,-17],[-1,-29]],[[8534,4853],[-11,-19],[-19,10],[-5,26],[28,3],[7,-20]],[[8623,4875],[10,-45],[-23,24],[-23,5],[-16,-4],[-19,2],[6,33],[35,2],[30,-17]],[[8916,4904],[0,-193],[1,-192]],[[8917,4519],[-25,48],[-28,12],[-7,-17],[-35,-1],[12,48],[17,16],[-7,64],[-14,50],[-53,50],[-23,5],[-42,54],[-8,-28],[-11,-5],[-6,21],[0,26],[-21,29],[29,21],[20,-1],[-2,16],[-41,0],[-11,35],[-25,11],[-11,29],[37,14],[14,20],[45,-25],[4,-22],[8,-95],[29,-35],[23,62],[32,36],[25,0],[23,-21],[21,-21],[30,-11]],[[8478,5141],[-22,-58],[-21,-12],[-27,12],[-46,-3],[-24,-8],[-4,-45],[24,-53],[15,27],[52,20],[-2,-27],[-12,9],[-12,-35],[-25,-23],[27,-76],[-5,-20],[25,-68],[-1,-39],[-14,-17],[-11,20],[13,49],[-27,-23],[-7,16],[3,23],[-20,35],[3,57],[-19,-18],[2,-69],[1,-84],[-17,-9],[-12,18],[8,54],[-4,57],[-12,1],[-9,40],[12,39],[4,47],[14,89],[5,24],[24,44],[22,-18],[35,-8],[32,3],[27,43],[5,-14]],[[8574,5124],[-2,-51],[-14,6],[-4,-36],[11,-32],[-8,-7],[-11,38],[-8,75],[6,47],[9,22],[2,-32],[16,-5],[3,-25]],[[8045,5176],[5,-39],[19,-34],[18,12],[18,-4],[16,30],[13,5],[26,-17],[23,13],[14,82],[11,21],[10,67],[32,0],[24,-10]],[[8274,5302],[-16,-53],[20,-56],[-5,-28],[32,-54],[-33,-7],[-10,-40],[2,-54],[-27,-40],[-1,-59],[-10,-91],[-5,21],[-31,-26],[-11,36],[-20,3],[-14,19],[-33,-21],[-10,29],[-18,-4],[-23,7],[-4,79],[-14,17],[-13,50],[-4,52],[3,55],[16,39]],[[7939,4712],[-31,-1],[-24,49],[-35,48],[-12,36],[-21,48],[-14,44],[-21,83],[-24,49],[-9,51],[-10,46],[-25,37],[-14,51],[-21,33],[-29,65],[-3,30],[18,-2],[43,-12],[25,-57],[21,-40],[16,-25],[26,-63],[28,-1],[23,-41],[16,-49],[22,-27],[-12,-49],[16,-20],[10,-2],[5,-41],[10,-33],[20,-5],[14,-37],[-7,-74],[-1,-91]],[[7252,6841],[-17,-27],[-11,-55],[27,-23],[26,-29],[36,-33],[38,-8],[16,-30],[22,-5],[33,-14],[23,1],[4,23],[-4,38],[2,25]],[[7703,6727],[2,-22],[-10,-11],[2,-36],[-19,10],[-36,-41],[0,-33],[-15,-50],[-1,-29],[-13,-48],[-21,13],[-1,-61],[-7,-20],[3,-25],[-14,-14]],[[7472,6360],[-4,-21],[-19,1],[-34,-13],[2,-44],[-15,-35],[-40,-40],[-31,-69],[-21,-38],[-28,-38],[0,-27],[-13,-15],[-26,-21],[-12,-3],[-9,-45],[6,-77],[1,-49],[-11,-56],[0,-101],[-15,-2],[-12,-46],[8,-19],[-25,-17],[-10,-40],[-11,-17],[-26,55],[-13,83],[-11,60],[-9,28],[-15,56],[-7,74],[-5,37],[-25,81],[-12,115],[-8,75],[0,72],[-5,55],[-41,-35],[-19,7],[-36,71],[13,22],[-8,23],[-33,50]],[[6893,6457],[19,40],[61,-1],[-6,51],[-15,30],[-4,46],[-18,26],[31,62],[32,-4],[29,61],[18,60],[27,60],[-1,42],[24,34],[-23,29],[-9,40],[-10,52],[14,25],[42,-14],[31,9],[26,49]],[[4827,8240],[5,-42],[-21,-53],[-49,-35],[-40,9],[23,62],[-15,60],[38,46],[21,28]],[[6497,7255],[25,12],[19,33],[19,-1],[12,11],[20,-6],[31,-30],[22,-6],[31,-53],[21,-2],[3,-49]],[[6690,6820],[14,-31],[11,-36],[27,-26],[1,-52],[13,-10],[2,-27],[-40,-30],[-10,-69]],[[6708,6539],[-53,18],[-30,13],[-31,8],[-12,73],[-13,10],[-22,-11],[-28,-28],[-34,20],[-28,45],[-27,17],[-18,56],[-21,79],[-15,-10],[-17,20],[-11,-24]],[[6348,6825],[-15,32],[0,31],[-9,0],[5,43],[-15,45],[-34,32],[-19,56],[6,46],[14,21],[-2,34],[-18,18],[-18,70]],[[6243,7253],[-15,48],[5,18],[-8,68],[19,17]],[[6357,7321],[9,-43],[26,-13],[20,-29],[39,-10],[44,15],[2,14]],[[6348,6825],[-16,3]],[[6332,6828],[-19,5],[-20,-56]],[[6293,6777],[-52,4],[-78,119],[-41,41],[-34,16]],[[6088,6957],[-11,72]],[[6077,7029],[61,62],[11,71],[-3,43],[16,15],[14,37]],[[6176,7257],[12,9],[32,-8],[10,-15],[13,10]],[[4597,8984],[-7,-39],[31,-40],[-36,-45],[-80,-41],[-24,-10],[-36,8],[-78,19],[28,26],[-61,29],[49,12],[-1,17],[-58,14],[19,38],[42,9],[43,-40],[42,32],[35,-17],[45,32],[47,-4]],[[5992,6990],[-5,-19]],[[5987,6971],[-10,8],[-6,-39],[7,-7],[-7,-8],[-1,-15],[13,8]],[[5983,6918],[0,-23],[-14,-95]],[[5951,6902],[8,19],[-2,4],[8,27],[5,45],[4,15],[1,0]],[[5975,7012],[9,0],[3,11],[7,0]],[[5994,7023],[1,-24],[-4,-9],[1,0]],[[5431,7316],[-10,-46],[4,-19],[-6,-30],[-21,22],[-14,7],[-39,30],[4,30],[32,-6],[28,7],[22,5]],[[5255,7492],[17,-42],[-4,-78],[-13,4],[-11,-20],[-10,16],[-2,71],[-6,34],[15,-3],[14,18]],[[5383,7805],[-3,-29],[7,-25]],[[5387,7751],[-22,8],[-23,-20],[1,-30],[-3,-17],[9,-30],[26,-29],[14,-49],[31,-48],[22,0],[7,-13],[-8,-11],[25,-22],[20,-18],[24,-30],[3,-11],[-5,-22],[-16,28],[-24,10],[-12,-39],[20,-21],[-3,-31],[-11,-4],[-15,-50],[-12,-5],[0,18],[6,32],[6,12],[-11,35],[-8,29],[-12,8],[-8,25],[-18,11],[-12,24],[-21,4],[-21,26],[-26,39],[-19,34],[-8,58],[-14,7],[-23,20],[-12,-8],[-16,-28],[-12,-4]],[[2845,6150],[19,-5],[14,-15],[5,-16],[-19,-1],[-9,-10],[-15,10],[-16,21],[3,14],[12,4],[6,-2]],[[5992,6990],[31,-24],[54,63]],[[6088,6957],[-5,-8],[-56,-30],[28,-59],[-9,-10],[-5,-20],[-21,-8],[-7,-21],[-12,-19],[-31,10]],[[5970,6792],[-1,8]],[[5983,6918],[4,17],[0,36]],[[8739,7075],[4,-20],[-16,-36],[-11,19],[-15,-14],[-7,-34],[-18,16],[0,28],[15,36],[16,-7],[12,25],[20,-13]],[[8915,7252],[-10,-47],[4,-30],[-14,-42],[-35,-27],[-49,-4],[-40,-67],[-19,22],[-1,44],[-48,-13],[-33,-27],[-32,-2],[28,-43],[-19,-101],[-18,-24],[-13,23],[7,53],[-18,17],[-11,41],[26,18],[15,37],[28,30],[20,41],[55,17],[30,-12],[29,105],[19,-28],[40,59],[16,23],[18,72],[-5,67],[11,37],[30,11],[15,-82],[-1,-48],[-25,-59],[0,-61]],[[8997,7667],[19,-12],[20,25],[6,-67],[-41,-16],[-25,-59],[-43,41],[-15,-65],[-31,-1],[-4,59],[14,46],[29,3],[8,82],[9,46],[32,-62],[22,-20]],[[6970,7554],[-15,-10],[-37,-42],[-12,-42],[-11,0],[-7,28],[-36,2],[-5,48],[-14,0],[2,60],[-33,43],[-48,-5],[-32,-8],[-27,53],[-22,22],[-43,43],[-6,5],[-71,-35],[1,-218]],[[6554,7498],[-14,-3],[-20,46],[-18,17],[-32,-12],[-12,-20]],[[6458,7526],[-2,14],[7,25],[-5,21],[-32,20],[-13,53],[-15,15],[-1,19],[27,-6],[1,44],[23,9],[25,-9],[5,58],[-5,36],[-28,-2],[-24,14],[-32,-26],[-26,-12]],[[6363,7799],[-14,9],[3,31],[-18,39],[-20,-2],[-24,40],[16,45],[-8,12],[22,65],[29,-34],[3,43],[58,64],[43,2],[61,-41],[33,-24],[30,25],[44,1],[35,-30],[8,17],[39,-2],[7,28],[-45,40],[27,29],[-5,16],[26,15],[-20,41],[13,20],[104,21],[13,14],[70,22],[25,24],[50,-12],[9,-61],[29,14],[35,-20],[-2,-32],[27,3],[69,56],[-10,-19],[35,-46],[62,-150],[15,31],[39,-34],[39,16],[16,-11],[13,-34],[20,-12],[11,-25],[36,8],[15,-36]],[[7229,7559],[-17,9],[-14,21],[-42,6],[-46,2],[-10,-6],[-39,24],[-16,-12],[-4,-35],[-46,21],[-18,-9],[-7,-26]],[[6155,4958],[-20,-24],[-7,-24],[-10,-4],[-4,-42],[-9,-24],[-5,-39],[-12,-20]],[[6088,4781],[-40,59],[-1,35],[-101,120],[-5,6]],[[5941,5001],[0,63],[8,24],[14,39],[10,43],[-13,68],[-3,30],[-13,41]],[[5944,5309],[17,35],[19,39]],[[6162,5289],[-24,-67],[0,-215],[17,-49]],[[7046,7387],[-53,-9],[-34,19],[-30,-4],[3,34],[30,-10],[10,18]],[[6972,7435],[21,-6],[36,43],[-33,31],[-20,-15],[-21,22],[24,39],[-9,5]],[[7849,5777],[-7,72],[18,49],[36,11],[26,-8]],[[7922,5901],[23,-23],[12,40],[25,-21]],[[7982,5897],[6,-40],[-3,-71],[-47,-45],[13,-36],[-30,-4],[-24,-24]],[[7897,5677],[-23,9],[-11,30],[-14,61]],[[8564,7339],[24,-70],[7,-38],[0,-68],[-10,-33],[-25,-11],[-22,-25],[-25,-5],[-3,32],[5,45],[-13,61],[21,10],[-19,51]],[[8504,7288],[2,5],[12,-2],[11,27],[20,2],[11,4],[4,15]],[[5557,7574],[5,13]],[[5562,7587],[7,4],[4,20],[5,3],[4,-8],[5,-4],[3,-10],[5,-2],[5,-11],[4,0],[-3,-14],[-3,-7],[1,-5]],[[5599,7553],[-6,-2],[-17,-9],[-1,-12],[-4,0]],[[6332,6828],[6,-26],[-3,-13],[9,-45]],[[6344,6744],[-19,-1],[-7,28],[-25,6]],[[7922,5901],[9,26],[1,50],[-22,52],[-2,58],[-21,48],[-21,4],[-6,-20],[-16,-2],[-8,10],[-30,-35],[0,53],[7,62],[-19,3],[-2,36],[-12,18]],[[7780,6264],[6,21],[24,39]],[[7837,6385],[17,-47],[12,-54],[34,0],[11,-52],[-18,-15],[-8,-21],[34,-36],[23,-70],[17,-52],[21,-41],[7,-41],[-5,-59]],[[5975,7012],[10,49],[14,41],[0,2]],[[5999,7104],[13,-3],[4,-23],[-15,-22],[-7,-33]],[[4785,5315],[-7,0],[-29,28],[-25,45],[-24,32],[-18,38]],[[4682,5458],[6,19],[2,17],[12,33],[13,27]],[[5412,6408],[-20,-22],[-15,33],[-44,25]],[[5263,6848],[13,14],[3,25],[-3,24],[19,23],[8,19],[14,17],[2,45]],[[5319,7015],[32,-20],[12,5],[23,-10],[37,-26],[13,-53],[25,-11],[39,-25],[30,-29],[13,15],[13,27],[-6,45],[9,29],[20,28],[19,8],[37,-12],[10,-27],[10,0],[9,-10],[28,-7],[6,-19]],[[5694,6357],[0,-118],[-32,0],[0,-25]],[[5662,6214],[-111,113],[-111,113],[-28,-32]],[[7271,5502],[-4,-62],[-12,-16],[-24,-14],[-13,47],[-5,85],[13,96],[19,-33],[13,-42],[13,-61]],[[5804,3347],[10,-18],[-9,-29],[-4,-19],[-16,-9],[-5,-19],[-10,-6],[-21,46],[15,37],[15,23],[13,12],[12,-18]],[[5631,8267],[-2,15],[3,16],[-13,10],[-29,10]],[[5590,8318],[-6,50]],[[5584,8368],[32,18],[47,-4],[27,6],[4,-12],[15,-4],[26,-29]],[[5652,8242],[-7,19],[-14,6]],[[5584,8368],[1,44],[14,37],[26,20],[22,-44],[22,1],[6,46]],[[5757,8453],[14,-14],[2,-28],[9,-35]],[[4759,6691],[-4,0],[0,-31],[-17,-2],[-9,-14],[-13,0],[-10,8],[-23,-6],[-9,-46],[-9,-5],[-13,-74],[-38,-64],[-9,-81],[-12,-27],[-3,-21],[-63,-5]],[[4527,6323],[1,27],[11,17],[9,30],[-2,20],[10,42],[15,38],[9,9],[8,35],[0,31],[10,37],[19,21],[18,60],[0,1],[14,23],[26,6],[22,41],[14,16],[23,49],[-7,73],[10,51],[4,31],[18,40],[28,27],[21,25],[18,61],[9,36],[20,0],[17,-25],[26,4],[29,-13],[12,-1]],[[5739,7906],[6,9],[19,6],[20,-19],[12,-2],[12,-16],[-2,-20],[11,-9],[4,-25],[9,-15],[-2,-9],[5,-6],[-7,-4],[-16,1],[-3,9],[-6,-5],[2,-11],[-7,-19],[-5,-20],[-7,-6]],[[5784,7745],[-5,27],[3,25],[-1,26],[-16,35],[-9,25],[-9,17],[-8,6]],[[6376,4321],[7,-25],[7,-39],[4,-71],[7,-28],[-2,-28],[-5,-18],[-10,35],[-5,-18],[5,-43],[-2,-25],[-8,-14],[-1,-50],[-11,-69],[-14,-81],[-17,-112],[-11,-82],[-12,-69],[-23,-14],[-24,-25],[-16,15],[-22,21],[-8,31],[-2,53],[-10,47],[-2,42],[5,43],[13,10],[0,20],[13,45],[2,37],[-6,28],[-5,38],[-2,54],[9,33],[4,38],[14,2],[15,12],[11,10],[12,1],[16,34],[23,36],[8,30],[-4,25],[12,-7],[15,41],[1,36],[9,26],[10,-25]],[[2301,6586],[-10,-52],[-5,-43],[-2,-79],[-3,-29],[5,-32],[9,-29],[5,-45],[19,-44],[6,-34],[11,-29],[29,-16],[12,-25],[24,17],[21,6],[21,11],[18,10],[17,24],[7,34],[2,50],[5,17],[19,16],[29,13],[25,-2],[17,5],[6,-12],[-1,-29],[-15,-35],[-6,-36],[5,-10],[-4,-26],[-7,-46],[-7,15],[-6,-1]],[[2438,5916],[-32,64],[-14,19],[-23,16],[-15,-5],[-22,-22],[-14,-6],[-20,16],[-21,11],[-26,27],[-21,8],[-31,28],[-23,28],[-7,16],[-16,3],[-28,19],[-12,27],[-30,34],[-14,37],[-6,29],[9,5],[-3,17],[7,16],[0,20],[-10,27],[-2,23],[-9,30],[-25,59],[-28,46],[-13,37],[-24,24],[-5,14],[4,37],[-14,13],[-17,29],[-7,41],[-14,5],[-17,31],[-13,29],[-1,19],[-15,44],[-10,45],[1,23],[-20,23],[-10,-2],[-15,16],[-5,-24],[5,-28],[2,-45],[10,-24],[21,-41],[4,-14],[4,-4],[4,-20],[5,1],[6,-38],[8,-15],[6,-21],[17,-30],[10,-55],[8,-26],[8,-28],[1,-31],[13,-2],[12,-27],[10,-26],[-1,-11],[-12,-21],[-5,0],[-7,36],[-18,33],[-20,29],[-14,15],[1,43],[-5,32],[-13,19],[-19,26],[-4,-8],[-7,16],[-17,14],[-16,34],[2,5],[11,-4],[11,22],[1,27],[-22,42],[-16,17],[-10,36],[-11,39],[-12,47],[-12,54]],[[1746,6980],[32,4],[35,7],[-2,-12],[41,-29],[64,-41],[55,0],[22,0],[0,24],[48,0],[10,-20],[15,-19],[16,-26],[9,-31],[7,-32],[15,-18],[23,-18],[17,47],[23,1],[19,-24],[14,-40],[10,-35],[16,-34],[6,-41],[8,-28],[22,-18],[20,-13],[10,2]],[[5599,7553],[9,4],[13,1]],[[4661,5921],[10,11],[4,35],[9,1],[20,-16],[15,11],[11,-4],[4,13],[112,1],[6,42],[-5,7],[-13,255],[-14,255],[43,1]],[[5118,6189],[0,-136],[-15,-39],[-2,-37],[-25,-9],[-38,-5],[-10,-21],[-18,-3]],[[4680,5793],[1,18],[-2,23],[-11,16],[-5,34],[-2,37]],[[7737,5644],[-3,44],[9,45],[-10,35],[3,65],[-12,30],[-9,71],[-5,75],[-12,49],[-18,-30],[-32,-42],[-15,5],[-17,14],[9,73],[-6,56],[-21,68],[3,21],[-16,7],[-20,49]],[[7780,6264],[-16,-14],[-16,-26],[-20,-2],[-12,-64],[-12,-11],[14,-52],[17,-43],[12,-39],[-11,-51],[-9,-11],[6,-30],[19,-47],[3,-33],[0,-27],[11,-54],[-16,-55],[-13,-61]],[[5538,7532],[-6,4],[-8,19],[-12,12]],[[5533,7629],[8,-10],[4,-9],[9,-6],[10,-12],[-2,-5]],[[7437,7970],[29,10],[53,51],[42,28],[24,-18],[29,-1],[19,-28],[28,-2],[40,-15],[27,41],[-11,35],[28,61],[31,-24],[26,-7],[32,-15],[6,-44],[39,-25],[26,11],[36,7],[27,-7],[28,-29],[16,-30],[26,1],[35,-10],[26,15],[36,9],[41,42],[17,-6],[14,-20],[33,5]],[[5959,4377],[21,5],[34,-17],[7,8],[19,1],[10,18],[17,-1],[30,23],[22,34]],[[6119,4448],[5,-26],[-1,-59],[3,-52],[1,-92],[5,-29],[-8,-43],[-11,-41],[-18,-36],[-25,-23],[-31,-28],[-32,-64],[-10,-11],[-20,-42],[-11,-13],[-3,-42],[14,-45],[5,-35],[0,-17],[5,3],[-1,-58],[-4,-28],[6,-10],[-4,-25],[-11,-21],[-23,-20],[-34,-32],[-12,-21],[3,-25],[7,-4],[-3,-31]],[[5911,3478],[-21,0]],[[5890,3478],[-2,26],[-4,27]],[[5884,3531],[-3,21],[5,66],[-7,42],[-13,83]],[[5866,3743],[29,67],[7,43],[5,5],[3,35],[-5,17],[1,44],[6,41],[0,75],[-15,19],[-13,4],[-6,15],[-13,12],[-23,-1],[-2,22]],[[5840,4141],[-2,42],[84,49]],[[5922,4232],[16,-28],[8,5],[11,-15],[1,-23],[-6,-28],[2,-42],[19,-36],[8,41],[12,12],[-2,76],[-12,43],[-10,19],[-10,-1],[-7,77],[7,45]],[[4661,5921],[-18,41],[-17,43],[-18,16],[-13,17],[-16,-1],[-13,-12],[-14,5],[-10,-19]],[[4542,6011],[-2,32],[8,29],[3,55],[-3,59],[-3,29],[2,30],[-7,28],[-14,25]],[[4526,6298],[6,20],[108,-1],[-5,86],[7,30],[26,5],[-1,152],[91,-4],[0,90]],[[5922,4232],[-15,15],[9,55],[9,21],[-6,49],[6,48],[5,16],[-7,50],[-14,26]],[[5909,4512],[28,-11],[5,-16],[10,-28],[7,-80]],[[7836,5425],[7,-5],[16,-36],[12,-40],[2,-39],[-3,-27],[2,-21],[2,-35],[10,-16],[11,-52],[-1,-20],[-19,-4],[-27,44],[-32,47],[-4,30],[-16,39],[-4,49],[-10,32],[4,43],[-7,25]],[[7779,5439],[5,11],[23,-26],[2,-30],[18,7],[9,24]],[[8045,5176],[21,-20],[21,11],[6,50],[12,11],[33,13],[20,47],[14,37]],[[8206,5379],[22,41],[14,47],[11,0],[14,-30],[1,-26],[19,-16],[23,-18],[-2,-23],[-19,-3],[5,-29],[-20,-20]],[[5453,3369],[-20,45],[-11,43],[-6,58],[-7,42],[-9,91],[-1,71],[-3,32],[-11,25],[-15,48],[-14,71],[-6,37],[-23,58],[-2,45]],[[5644,4022],[23,14],[18,-4],[11,-13],[0,-5]],[[5552,3594],[0,-218],[-25,-30],[-15,-4],[-17,11],[-13,4],[-4,25],[-11,17],[-14,-30]],[[9604,3812],[23,-36],[14,-28],[-10,-14],[-16,16],[-19,27],[-18,31],[-19,42],[-4,20],[12,-1],[16,-20],[12,-20],[9,-17]],[[5412,6408],[7,-92],[10,-15],[1,-19],[11,-20],[-6,-25],[-11,-120],[-1,-77],[-35,-56],[-12,-78],[11,-22],[0,-38],[18,-1],[-3,-28]],[[5393,5795],[-5,-1],[-19,64],[-6,3],[-22,-33],[-21,17],[-15,3],[-8,-8],[-17,2],[-16,-25],[-14,-2],[-34,31],[-13,-15],[-14,1],[-10,23],[-28,22],[-30,-7],[-7,-13],[-4,-34],[-8,-24],[-2,-53]],[[5236,5339],[-29,-21],[-11,3],[-10,-13],[-23,1],[-15,37],[-9,43],[-19,39],[-21,-1],[-25,0]],[[2619,5713],[-10,18],[-13,24],[-6,20],[-12,19],[-13,26],[3,9],[4,-9],[2,5]],[[2690,5943],[-2,-5],[-2,-13],[3,-22],[-6,-20],[-3,-24],[-1,-26],[1,-15],[1,-27],[-4,-6],[-3,-25],[2,-15],[-6,-16],[2,-16],[4,-9]],[[5092,8091],[14,16],[24,87],[38,25],[23,-2]],[[5863,9167],[-47,-24],[-22,-5]],[[5573,9140],[-17,-2],[-4,-39],[-53,9],[-7,-33],[-27,1],[-18,-42],[-28,-66],[-43,-83],[10,-20],[-10,-24],[-27,1],[-18,-55],[2,-79],[17,-29],[-9,-70],[-23,-40],[-12,-34]],[[5306,8535],[-19,36],[-55,-69],[-37,-13],[-38,30],[-10,63],[-9,137],[26,38],[73,49],[55,61],[51,82],[66,115],[47,44],[76,74],[61,26],[46,-3],[42,49],[51,-3],[50,12],[87,-43],[-36,-16],[30,-37]],[[5686,9657],[-62,-24],[-49,13],[19,16],[-16,19],[57,11],[11,-22],[40,-13]],[[5506,9766],[92,-44],[-70,-23],[-15,-44],[-25,-11],[-13,-49],[-34,-2],[-59,36],[25,21],[-42,17],[-54,50],[-21,46],[75,21],[16,-20],[39,0],[11,21],[40,2],[35,-21]],[[5706,9808],[55,-21],[-41,-32],[-81,-7],[-82,10],[-5,16],[-40,1],[-30,27],[86,17],[40,-14],[28,17],[70,-14]],[[9805,2640],[6,-24],[20,24],[8,-25],[0,-25],[-10,-27],[-18,-44],[-14,-24],[10,-28],[-22,-1],[-23,-22],[-8,-39],[-16,-60],[-21,-26],[-14,-17],[-26,1],[-18,20],[-30,4],[-5,22],[15,43],[35,59],[18,11],[20,22],[24,31],[16,31],[13,44],[10,15],[5,33],[19,27],[6,-25]],[[9849,2922],[20,-63],[1,41],[13,-16],[4,-45],[22,-19],[19,-5],[16,22],[14,-6],[-7,-53],[-8,-34],[-22,1],[-7,-18],[3,-25],[-4,-11],[-11,-32],[-14,-41],[-21,-23],[-5,15],[-12,9],[16,48],[-9,33],[-30,23],[1,22],[20,20],[5,46],[-1,38],[-12,40],[1,10],[-13,25],[-22,52],[-12,42],[11,4],[15,-33],[21,-15],[8,-52]],[[6475,6041],[-9,41],[-22,98]],[[6444,6180],[83,59],[19,118],[-13,42]],[[6566,6530],[12,-40],[16,-22],[20,-8],[17,-10],[12,-34],[8,-20],[10,-7],[0,-13],[-10,-36],[-5,-16],[-12,-19],[-10,-41],[-13,3],[-5,-14],[-5,-30],[4,-39],[-3,-7],[-13,0],[-17,-22],[-3,-29],[-6,-12],[-18,0],[-10,-15],[0,-24],[-14,-16],[-15,5],[-19,-19],[-12,-4]],[[6557,6597],[8,20],[3,-5],[-2,-25],[-4,-10]],[[6893,6457],[-20,15],[-9,43],[-21,45],[-51,-12],[-45,-1],[-39,-8]],[[2836,5484],[-9,17],[-6,32],[7,16],[-7,4],[-5,20],[-14,16],[-12,-4],[-6,-20],[-11,-15],[-6,-2],[-3,-13],[13,-32],[-7,-7],[-4,-9],[-13,-3],[-5,35],[-4,-10],[-9,4],[-5,24],[-12,3],[-7,7],[-12,0],[-1,-13],[-3,9]],[[2707,5623],[10,-22],[-1,-12],[11,-3],[3,5],[8,-14],[13,4],[12,15],[17,12],[9,17],[16,-3],[-1,-6],[15,-2],[12,-10],[10,-18],[10,-16]],[[3045,3974],[-28,33],[-2,25],[-55,59],[-50,65],[-22,36],[-11,49],[4,17],[-23,77],[-28,109],[-26,118],[-11,27],[-9,43],[-21,39],[-20,24],[9,26],[-14,57],[9,41],[22,37]],[[8510,5555],[2,-40],[2,-33],[-9,-54],[-11,60],[-13,-30],[9,-43],[-8,-28],[-32,35],[-8,42],[8,28],[-17,28],[-9,-24],[-13,2],[-21,-33],[-4,17],[11,50],[17,17],[15,22],[10,-27],[21,17],[5,26],[19,1],[-1,46],[22,-28],[3,-30],[2,-21]],[[8443,5665],[-10,-20],[-9,-37],[-8,-17],[-17,40],[5,16],[7,17],[3,36],[16,4],[-5,-40],[21,57],[-3,-56]],[[8291,5608],[-37,-56],[14,41],[20,37],[16,41],[15,58],[5,-48],[-18,-33],[-15,-40]],[[8385,5760],[16,-18],[18,0],[0,-25],[-13,-25],[-18,-18],[-1,28],[2,30],[-4,28]],[[8485,5776],[8,-66],[-21,16],[0,-20],[7,-37],[-13,-13],[-1,42],[-9,3],[-4,36],[16,-5],[0,22],[-17,45],[27,-1],[7,-22]],[[8375,5830],[-7,-51],[-12,29],[-15,45],[24,-2],[10,-21]],[[8369,6151],[17,-17],[9,15],[2,-15],[-4,-24],[9,-43],[-7,-49],[-16,-19],[-5,-48],[7,-47],[14,-7],[13,7],[34,-32],[-2,-32],[9,-15],[-3,-27],[-22,29],[-10,31],[-7,-22],[-18,36],[-25,-9],[-14,13],[1,25],[9,15],[-8,13],[-4,-21],[-14,34],[-4,26],[-1,56],[11,-19],[3,92],[9,54],[17,0]],[[9329,4655],[-8,-6],[-12,22],[-12,38],[-6,45],[4,6],[3,-18],[8,-13],[14,-38],[13,-20],[-4,-16]],[[9221,4734],[-15,-5],[-4,-17],[-15,-14],[-15,-14],[-14,0],[-23,18],[-16,16],[2,18],[25,-8],[15,4],[5,29],[4,1],[2,-31],[16,4],[8,20],[16,21],[-4,35],[17,1],[6,-9],[-1,-33],[-9,-36]],[[8916,4904],[48,-41],[51,-34],[19,-30],[16,-30],[4,-34],[46,-37],[7,-31],[-25,-7],[6,-39],[25,-39],[18,-62],[15,2],[-1,-27],[22,-10],[-9,-11],[30,-25],[-3,-17],[-18,-4],[-7,16],[-24,6],[-28,9],[-22,38],[-16,32],[-14,52],[-36,26],[-24,-17],[-17,-20],[4,-43],[-22,-20],[-16,9],[-28,3]],[[9253,4792],[-9,-16],[-5,35],[-6,23],[-13,19],[-16,25],[-20,18],[8,14],[15,-17],[9,-13],[12,-14],[11,-25],[11,-19],[3,-30]],[[5392,8233],[19,18],[43,27],[35,20],[28,-10],[2,-14],[27,-1]],[[5546,8273],[34,-7],[51,1]],[[5653,8105],[14,-52],[-3,-17],[-14,-6],[-25,-50],[7,-26],[-6,3]],[[5626,7957],[-26,23],[-20,-8],[-13,6],[-17,-13],[-14,21],[-11,-8],[-2,4]],[[3159,6151],[14,-5],[5,-12],[-7,-15],[-21,1],[-17,-2],[-1,25],[4,9],[23,-1]],[[8628,7562],[4,-10]],[[8632,7552],[-11,3],[-12,-20],[-8,-20],[1,-42],[-14,-13],[-5,-11],[-11,-17],[-18,-10],[-12,-16],[-1,-25],[-3,-7],[11,-9],[15,-26]],[[8504,7288],[-13,11],[-4,-11],[-8,-5],[-1,11],[-7,5],[-8,10],[8,26],[7,7],[-3,11],[7,31],[-2,10],[-16,7],[-13,15]],[[4792,7249],[-11,-15],[-14,8],[-15,-6],[5,46],[-3,36],[-12,6],[-7,22],[2,39],[11,21],[2,24],[6,36],[-1,25],[-5,21],[-1,20]],[[6411,6520],[-2,43],[7,31],[8,6],[8,-18],[1,-35],[-6,-35]],[[6427,6512],[-8,-4],[-8,12]],[[5630,7886],[12,13],[17,-7],[18,0],[13,-14],[10,9],[20,5],[7,14],[12,0]],[[5784,7745],[12,-11],[13,9],[13,-10]],[[5822,7733],[0,-15],[-13,-13],[-9,6],[-7,-71]],[[5629,7671],[-5,10],[6,10],[-7,7],[-8,-13],[-17,17],[-2,25],[-17,14],[-3,18],[-15,24]],[[8989,8056],[28,-105],[-41,19],[-17,-85],[27,-61],[-1,-41],[-21,36],[-18,-46],[-5,50],[3,57],[-3,64],[6,45],[2,79],[-17,58],[3,80],[25,28],[-11,27],[13,8],[7,-39],[10,-57],[-1,-58],[11,-59]],[[5546,8273],[6,26],[38,19]],[[0,9132],[68,-45],[73,-59],[-3,-37],[19,-15],[-6,43],[75,-8],[55,-56],[-28,-26],[-46,-6],[0,-57],[-11,-13],[-26,2],[-22,21],[-36,17],[-7,26],[-28,9],[-31,-7],[-16,20],[6,22],[-33,-14],[13,-28],[-16,-25]],[[0,8896],[0,236]],[[0,9282],[9999,-40],[-30,-3],[-5,19],[-9964,24]],[[0,9282],[4,3],[23,0],[40,-17],[-2,-8],[-29,-14],[-36,-4],[0,40]],[[8988,9383],[-42,-1],[-57,7],[-5,3],[27,23],[34,6],[40,-23],[3,-15]],[[9186,9493],[-32,-23],[-44,5],[-52,23],[7,20],[51,-9],[70,-16]],[[9029,9522],[-22,-44],[-102,1],[-46,-14],[-55,39],[15,40],[37,11],[73,-2],[100,-31]],[[6598,9235],[-17,-5],[-91,8],[-7,26],[-50,16],[-4,32],[28,13],[-1,32],[55,50],[-25,7],[66,52],[-7,27],[62,31],[91,38],[93,11],[48,22],[54,8],[19,-23],[-19,-19],[-98,-29],[-85,-28],[-86,-57],[-42,-57],[-43,-57],[5,-49],[54,-49]],[[0,8896],[9963,-26],[-36,4],[25,-31],[17,-49],[13,-16],[3,-24],[-7,-16],[-52,13],[-78,-44],[-25,-7],[-42,-42],[-40,-36],[-11,-27],[-39,41],[-73,-46],[-12,22],[-27,-26],[-37,8],[-9,-38],[-33,-58],[1,-24],[31,-13],[-4,-86],[-25,-2],[-12,-49],[11,-26],[-48,-30],[-10,-67],[-41,-15],[-9,-60],[-40,-55],[-10,41],[-12,86],[-15,131],[13,82],[23,35],[2,28],[43,13],[50,75],[47,60],[50,48],[23,83],[-34,-5],[-17,-49],[-70,-65],[-23,73],[-72,-20],[-69,-99],[23,-36],[-62,-16],[-43,-6],[2,43],[-43,9],[-35,-29],[-85,10],[-91,-18],[-90,-115],[-106,-139],[43,-8],[14,-37],[27,-13],[18,30],[30,-4],[40,-65],[1,-50],[-21,-59],[-3,-71],[-12,-94],[-42,-86],[-9,-41],[-38,-69],[-38,-68],[-18,-35],[-37,-34],[-17,-1],[-17,29],[-38,-44],[-4,-19]],[[6363,7799],[-12,-35],[-27,-10],[-28,-61],[25,-56],[-2,-40],[30,-70]],[[6109,7624],[-35,49],[-32,23],[-24,34],[20,10],[23,49],[-15,24],[41,24],[-1,13],[-25,-10]],[[6061,7840],[1,26],[14,17],[27,4],[5,20],[-7,33],[12,30],[-1,18],[-41,19],[-16,-1],[-17,28],[-21,-9],[-35,20],[0,12],[-10,26],[-22,3],[-2,18],[7,12],[-18,33],[-29,-5],[-8,3],[-7,-14],[-11,3]],[[5777,8571],[31,33],[-29,28]],[[5863,9167],[29,20],[46,-35],[76,-14],[105,-67],[21,-28],[2,-40],[-31,-31],[-45,-15],[-124,44],[-21,-7],[45,-43],[2,-28],[2,-60],[36,-18],[22,-15],[3,28],[-17,26],[18,22],[67,-37],[24,15],[-19,43],[65,58],[25,-4],[26,-20],[16,40],[-23,35],[14,36],[-21,36],[78,-18],[16,-34],[-35,-7],[0,-33],[22,-20],[43,13],[7,38],[58,28],[97,50],[20,-3],[-27,-35],[35,-7],[19,21],[52,1],[42,25],[31,-36],[32,39],[-29,35],[14,19],[82,-18],[39,-18],[100,-68],[19,31],[-28,31],[-1,13],[-34,6],[10,28],[-15,46],[-1,19],[51,53],[18,54],[21,11],[74,-15],[5,-33],[-26,-48],[17,-19],[9,-41],[-6,-81],[31,-36],[-12,-40],[-55,-84],[32,-8],[11,21],[31,15],[7,29],[24,29],[-16,33],[13,39],[-31,5],[-6,33],[22,59],[-36,48],[50,40],[-7,42],[14,2],[15,-33],[-11,-57],[29,-11],[-12,43],[46,23],[58,3],[51,-34],[-25,49],[-2,63],[48,12],[67,-2],[60,7],[-23,31],[33,39],[31,2],[54,29],[74,8],[9,16],[73,6],[23,-14],[62,32],[51,-1],[8,25],[26,25],[66,25],[48,-19],[-38,-15],[63,-9],[7,-29],[25,14],[82,-1],[62,-29],[23,-22],[-7,-30],[-31,-18],[-73,-33],[-21,-17],[35,-8],[41,-15],[25,11],[14,-38],[12,15],[44,10],[90,-10],[6,-28],[116,-9],[2,46],[59,-11],[44,1],[45,-32],[13,-37],[-17,-25],[35,-47],[44,-24],[27,62],[44,-26],[48,16],[53,-18],[21,16],[45,-8],[-20,55],[37,25],[251,-38],[24,-35],[72,-45],[112,11],[56,-10],[23,-24],[-4,-44],[35,-16],[37,12],[49,1],[52,-11],[53,6],[49,-52],[34,19],[-23,37],[13,27],[88,-17],[58,4],[80,-29],[-9960,-25]],[[7918,9684],[-157,-23],[51,77],[23,7],[21,-4],[70,-33],[-8,-24]],[[6420,9816],[-37,-8],[-25,-4],[-4,-10],[-33,-10],[-30,14],[16,19],[-62,2],[54,10],[43,1],[5,-16],[16,14],[26,10],[42,-13],[-11,-9]],[[7775,9718],[-60,-8],[-78,17],[-46,23],[-21,42],[-38,12],[72,40],[60,14],[54,-30],[64,-57],[-7,-53]],[[5844,4990],[11,-33],[-1,-35],[-8,-7]],[[5821,4978],[7,-6],[16,18]],[[4526,6298],[1,25]],[[6188,6023],[-4,26],[-8,17],[-2,24],[-15,21],[-15,50],[-7,48],[-20,40],[-12,10],[-18,56],[-4,41],[2,35],[-16,66],[-13,23],[-15,12],[-10,34],[2,13],[-8,31],[-8,13],[-11,44],[-17,48],[-14,40],[-14,0],[5,33],[1,20],[3,24]],[[6344,6744],[11,-51],[14,-13],[5,-21],[18,-25],[2,-24],[-3,-20],[4,-20],[8,-16],[4,-20],[4,-14]],[[6427,6512],[5,-22]],[[6444,6180],[-80,-23],[-26,-26],[-20,-62],[-13,-10],[-7,20],[-11,-3],[-27,6],[-5,5],[-32,-1],[-7,-5],[-12,15],[-7,-29],[3,-25],[-12,-19]],[[5943,5617],[-4,1],[0,29],[-3,20],[-14,24],[-4,42],[4,44],[-13,4],[-2,-13],[-17,-3],[7,-17],[2,-36],[-15,-32],[-14,-43],[-14,-6],[-23,34],[-11,-12],[-3,-17],[-14,-11],[-1,-12],[-28,0],[-3,12],[-20,2],[-10,-10],[-8,5],[-14,34],[-5,17],[-20,-9],[-8,-27],[-7,-53],[-10,-11],[-8,-6]],[[5663,5567],[-2,2]],[[5635,5716],[0,14],[-10,17],[-1,35],[-5,23],[-10,-4],[3,22],[7,25],[-3,24],[9,18],[-6,14],[7,36],[13,44],[24,-4],[-1,234]],[[6023,6357],[9,-58],[-6,-10],[4,-61],[11,-71],[10,-14],[15,-22]],[[5943,5624],[0,-7]],[[5943,5617],[0,-46]],[[5944,5309],[-17,-28],[-20,1],[-22,-14],[-18,13],[-11,-16]],[[5682,5544],[-19,23]],[[4535,5861],[-11,46],[-14,21],[12,11],[14,41],[6,31]],[[4536,5789],[-4,45]],[[9502,4438],[8,-20],[-19,0],[-11,37],[17,-15],[5,-2]],[[9467,4474],[-11,-1],[-17,6],[-5,9],[1,23],[19,-9],[9,-12],[4,-16]],[[9490,4490],[-4,-11],[-21,52],[-5,35],[9,0],[10,-47],[11,-29]],[[9440,4565],[1,-12],[-22,25],[-15,21],[-10,20],[4,6],[13,-14],[23,-27],[6,-19]],[[9375,4623],[-5,-3],[-13,14],[-11,24],[1,10],[17,-25],[11,-20]],[[4682,5458],[-8,5],[-20,24],[-14,31],[-5,22],[-3,43]],[[2561,5848],[-3,-14],[-16,1],[-10,6],[-12,12],[-15,3],[-8,13]],[[6198,5735],[9,-11],[5,-25],[13,-24],[14,-1],[26,16],[30,7],[25,18],[13,4],[10,11],[16,2]],[[6359,5732],[0,-1],[0,-25],[0,-59],[0,-31],[-13,-36],[-19,-50]],[[6359,5732],[9,1],[13,9],[14,6],[14,20],[10,0],[1,-16],[-3,-35],[0,-31],[-6,-21],[-7,-64],[-14,-66],[-17,-75],[-24,-87],[-23,-66],[-33,-81],[-28,-48],[-42,-58],[-25,-45],[-31,-72],[-6,-31],[-6,-14]],[[3412,5410],[34,-11],[2,10],[23,4],[30,-15]],[[3489,5306],[10,-35],[-4,-25]],[[5626,7957],[-8,-15],[-5,-24]],[[5380,7746],[7,5]],[[5663,8957],[-47,-17],[-27,-41],[4,-36],[-44,-48],[-54,-50],[-20,-84],[20,-41],[26,-33],[-25,-67],[-29,-14],[-11,-99],[-15,-55],[-34,6],[-16,-47],[-32,-3],[-9,56],[-23,67],[-21,84]],[[5890,3478],[-5,-26],[-17,-6],[-16,32],[0,20],[7,22],[3,17],[8,5],[14,-11]],[[5999,7104],[-2,45],[7,25]],[[6004,7174],[7,13],[7,13],[2,33],[9,-12],[31,17],[14,-12],[23,1],[32,22],[15,-1],[32,9]],[[5051,5420],[-22,-12]],[[7849,5777],[-25,28],[-24,-2],[4,47],[-24,0],[-2,-65],[-15,-87],[-10,-52],[2,-43],[18,-2],[12,-53],[5,-52],[15,-33],[17,-7],[14,-31]],[[7779,5439],[-11,23],[-4,29],[-15,34],[-14,28],[-4,-35],[-5,33],[3,37],[8,56]],[[6883,7252],[16,60],[-6,44],[-20,14],[7,26],[23,-3],[13,33],[9,38],[37,13],[-6,-27],[4,-17],[12,2]],[[6497,7255],[-5,42],[4,62],[-22,20],[8,40],[-19,4],[6,49],[26,-14],[25,19],[-20,35],[-8,34],[-23,-15],[-3,-43],[-8,38]],[[6554,7498],[31,1],[-4,29],[24,21],[23,34],[37,-31],[3,-47],[11,-12],[30,2],[9,-10],[14,-61],[32,-41],[18,-28],[29,-29],[37,-25],[-1,-36]],[[8471,4532],[3,14],[24,13],[19,2],[9,8],[10,-8],[-10,-16],[-29,-25],[-23,-17]],[[3286,5693],[16,8],[6,-2],[-1,-44],[-23,-7],[-5,6],[8,16],[-1,23]],[[5233,7240],[31,24],[19,-7],[-1,-30],[24,22],[2,-12],[-14,-29],[0,-27],[9,-15],[-3,-51],[-19,-29],[6,-33],[14,-1],[7,-28],[11,-9]],[[6004,7174],[-11,27],[11,22],[-17,-5],[-23,13],[-19,-34],[-43,-6],[-22,31],[-30,2],[-6,-24],[-20,-7],[-26,31],[-31,-1],[-16,59],[-21,33],[14,46],[-18,28],[31,56],[43,3],[12,45],[53,-8],[33,38],[32,17],[46,1],[49,-42],[40,-22],[32,9],[24,-6],[33,31]],[[5777,7539],[3,-23],[25,-19],[-5,-14],[-33,-3],[-12,-19],[-23,-31],[-9,27],[0,12]],[[8382,6499],[-17,-95],[-12,-49],[-14,50],[-4,44],[17,58],[22,45],[13,-18],[-5,-35]],[[6088,4781],[-12,-73],[1,-33],[18,-22],[1,-15],[-8,-36],[2,-18],[-2,-28],[10,-37],[11,-58],[10,-13]],[[5909,4512],[-15,18],[-18,10],[-11,10],[-12,15]],[[5844,4990],[10,8],[31,-1],[56,4]],[[6061,7840],[-22,-5],[-18,-19],[-26,-3],[-24,-22],[1,-37],[14,-14],[28,4],[-5,-21],[-31,-11],[-37,-34],[-16,12],[6,28],[-30,17],[5,12],[26,19],[-8,14],[-43,15],[-2,22],[-25,-8],[-11,-32],[-21,-44]],[[3517,3063],[-12,-38],[-31,-32],[-21,11],[-15,-6],[-26,25],[-18,-1],[-17,32]],[[679,6185],[-4,-10],[-7,8],[1,17],[-4,21],[1,7],[5,10],[-2,11],[1,6],[3,-1],[10,-10],[5,-5],[5,-8],[7,-21],[-1,-3],[-11,-13],[-9,-9]],[[664,6277],[-9,-4],[-5,12],[-3,5],[0,4],[3,5],[9,-6],[8,-9],[-3,-7]],[[646,6309],[-1,-7],[-15,2],[2,7],[14,-2]],[[621,6317],[-2,-3],[-2,1],[-9,2],[-4,13],[-1,2],[7,8],[3,-3],[8,-20]],[[574,6356],[-4,-6],[-9,11],[1,4],[5,6],[6,-1],[1,-14]],[[3135,7724],[5,-19],[-30,-29],[-29,-20],[-29,-18],[-15,-35],[-4,-13],[-1,-31],[10,-32],[11,-1],[-3,21],[8,-13],[-2,-17],[-19,-9],[-13,1],[-20,-10],[-12,-3],[-17,-3],[-23,-17],[41,11],[8,-11],[-39,-18],[-17,0],[0,7],[-8,-16],[8,-3],[-6,-43],[-20,-45],[-2,15],[-6,3],[-9,15],[5,-32],[7,-10],[1,-23],[-9,-23],[-16,-47],[-2,3],[8,40],[-14,22],[-3,49],[-5,-25],[5,-38],[-18,10],[19,-19],[1,-57],[8,-4],[3,-20],[4,-59],[-17,-44],[-29,-18],[-18,-34],[-14,-4],[-14,-22],[-4,-20],[-31,-38],[-16,-28],[-13,-35],[-4,-42],[5,-41],[9,-51],[13,-41],[0,-26],[13,-69],[-1,-39],[-1,-23],[-7,-36],[-8,-8],[-14,7],[-4,26],[-11,14],[-15,51],[-13,45],[-4,23],[6,39],[-8,33],[-22,49],[-10,9],[-28,-27],[-5,3],[-14,28],[-17,14],[-32,-7],[-24,7],[-21,-5],[-12,-9],[5,-15],[0,-24],[5,-12],[-5,-8],[-10,9],[-11,-11],[-20,2],[-20,31],[-25,-8],[-20,14],[-17,-4],[-24,-14],[-25,-44],[-27,-25],[-16,-28],[-6,-27],[0,-41],[1,-28],[5,-20]],[[1746,6980],[-4,30],[-18,34],[-13,7],[-3,17],[-16,3],[-10,16],[-26,6],[-7,9],[-3,32],[-27,60],[-23,82],[1,14],[-13,19],[-21,50],[-4,48],[-15,32],[6,49],[-1,51],[-8,45],[10,56],[4,53],[3,54],[-5,79],[-9,51],[-8,27],[4,12],[40,-20],[15,-56],[7,15],[-5,49],[-9,48]],[[750,8432],[-28,-23],[-14,15],[-4,28],[25,21],[15,9],[18,-4],[12,-18],[-24,-28]],[[401,8597],[-18,-9],[-18,11],[-17,16],[28,10],[22,-6],[3,-22]],[[230,8826],[17,-12],[17,6],[23,-15],[27,-8],[-2,-7],[-21,-12],[-21,13],[-11,11],[-24,-4],[-7,5],[2,23]],[[1374,8295],[-15,22],[-25,19],[-8,52],[-36,47],[-15,56],[-26,4],[-44,2],[-33,17],[-57,61],[-27,11],[-49,21],[-38,-5],[-55,27],[-33,25],[-30,-12],[5,-41],[-15,-4],[-32,-12],[-25,-20],[-30,-13],[-4,35],[12,58],[30,18],[-8,15],[-35,-33],[-19,-39],[-40,-42],[20,-29],[-26,-42],[-30,-25],[-28,-18],[-7,-26],[-43,-31],[-9,-28],[-32,-25],[-20,5],[-25,-17],[-29,-20],[-23,-20],[-47,-16],[-5,9],[31,28],[27,18],[29,33],[35,6],[14,25],[38,35],[6,12],[21,21],[5,44],[14,35],[-32,-18],[-9,11],[-15,-22],[-18,30],[-8,-21],[-10,29],[-28,-23],[-17,0],[-3,35],[5,21],[-17,22],[-37,-12],[-23,28],[-19,14],[0,34],[-22,25],[11,34],[23,33],[10,30],[22,4],[19,-9],[23,28],[20,-5],[21,19],[-5,27],[-16,10],[21,23],[-17,-1],[-30,-13],[-8,-13],[-22,13],[-39,-6],[-41,14],[-12,24],[-35,34],[39,25],[62,29],[23,0],[-4,-30],[59,2],[-23,37],[-34,23],[-20,29],[-26,25],[-38,19],[15,31],[49,2],[35,27],[7,29],[28,28],[28,6],[52,27],[26,-4],[42,31],[42,-12],[21,-27],[12,11],[47,-3],[-2,-14],[43,-10],[28,6],[59,-18],[53,-6],[21,-8],[37,10],[42,-18],[31,-8]],[[3018,5753],[-1,-14],[-16,-7],[9,-26],[0,-31],[-12,-35],[10,-47],[12,4],[6,43],[-8,21],[-2,45],[35,24],[-4,27],[10,19],[10,-41],[19,-1],[18,-33],[1,-20],[25,0],[30,6],[16,-27],[21,-7],[16,18],[0,15],[34,4],[34,1],[-24,-18],[10,-28],[22,-4],[21,-29],[4,-48],[15,2],[11,-14]],[[8001,6331],[-37,-51],[-24,-56],[-6,-41],[22,-62],[25,-77],[26,-37],[17,-47],[12,-109],[-3,-104],[-24,-39],[-31,-38],[-23,-49],[-35,-55],[-10,37],[8,40],[-21,34]],[[9661,4085],[-9,-8],[-9,26],[1,16],[17,-34]],[[9641,4175],[4,-47],[-7,7],[-6,-3],[-4,16],[0,45],[13,-18]],[[6475,6041],[-21,-16],[-5,-26],[-1,-20],[-27,-25],[-45,-28],[-24,-41],[-13,-3],[-8,3],[-16,-25],[-18,-11],[-23,-3],[-7,-3],[-6,-16],[-8,-4],[-4,-15],[-14,1],[-9,-8],[-19,3],[-7,35],[1,32],[-5,17],[-5,44],[-8,24],[5,3],[-2,27],[3,12],[-1,25]],[[5817,3752],[11,0],[14,-10],[9,7],[15,-6]],[[5911,3478],[-7,-43],[-3,-49],[-7,-27],[-19,-30],[-5,-8],[-12,-30],[-8,-31],[-16,-42],[-31,-61],[-20,-36],[-21,-26],[-29,-23],[-14,-3],[-3,-17],[-17,9],[-14,-11],[-30,11],[-17,-7],[-12,3],[-28,-23],[-24,-10],[-17,-22],[-13,-1],[-11,21],[-10,1],[-12,26],[-1,-8],[-4,16],[0,34],[-9,40],[9,11],[0,45],[-19,55],[-14,50],[0,1],[-20,76]],[[5840,4141],[-21,-8],[-15,-23],[-4,-21],[-10,-4],[-24,-49],[-15,-38],[-10,-2],[-9,7],[-31,7]]], 14 transform:{scale:[.036003600360036005,.016927109510951093],translate:[-180,-85.609038]}},d.prototype.usaTopo="__USA__",d.prototype.latLngToXY=function(t,e){return this.projection([e,t])},d.prototype.addLayer=function(t,e,n){var i;return i=n?this.svg.insert("g",":first-child"):this.svg.append("g"),i.attr("id",e||"").attr("class",t||"")},d.prototype.updateChoropleth=function(t){var e=this.svg;for(var n in t)if(t.hasOwnProperty(n)){var i,r=t[n];if(!n)continue;i="string"==typeof r?r:"string"==typeof r.color?r.color:this.options.fills[r.fillKey],r===Object(r)&&(this.options.data[n]=h(r,this.options.data[n]||{}),this.svg.select("."+n).attr("data-info",JSON.stringify(this.options.data[n]))),e.selectAll("."+n).transition().style("fill",i)}},d.prototype.updatePopup=function(t,e,n){var i=this;t.on("mousemove",null),t.on("mousemove",function(){var r=f.mouse(i.options.element);f.select(i.svg[0][0].parentNode).select(".datamaps-hoverover").style("top",r[1]+30+"px").html(function(){var i=JSON.parse(t.attr("data-info"));return n.popupTemplate(e,i)}).style("left",r[0]+"px")}),f.select(i.svg[0][0].parentNode).select(".datamaps-hoverover").style("display","block")},d.prototype.addPlugin=function(t,e){var n=this;"undefined"==typeof d.prototype[t]&&(d.prototype[t]=function(i,r,o,a){var s;"undefined"==typeof a&&(a=!1),"function"==typeof r&&(o=r,r=void 0),r=h(r||{},n.options[t+"Config"]),!a&&this.options[t+"Layer"]?(s=this.options[t+"Layer"],r=r||this.options[t+"Options"]):(s=this.addLayer(t),this.options[t+"Layer"]=s,this.options[t+"Options"]=r),e.apply(this,[s,i,r]),o&&o(s)})},"function"==typeof define&&define.amd?define("datamaps",function(t){return f=t("d3"),p=t("topojson"),d}):window.Datamap=window.Datamaps=d,window.jQuery&&(window.jQuery.fn.datamaps=function(t,e){t=t||{},t.element=this[0];var n=new d(t);return"function"==typeof e&&e(n,t),this})}(),function(t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n||(n="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(n,e,e.document)}:t(jQuery,window,document)}(function(t,e,n,i){function r(e){var n,i,o={};t.each(e,function(t){(n=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(i=t.replace(n[0],n[2].toLowerCase()),o[i]=t,"o"===n[1]&&r(e[t]))}),e._hungarianMap=o}function o(e,n,a){e._hungarianMap||r(e);var s;t.each(n,function(r){s=e._hungarianMap[r],s===i||!a&&n[s]!==i||("o"===s.charAt(0)?(n[s]||(n[s]={}),t.extend(!0,n[s],n[r]),o(e[s],n[s],a)):n[s]=n[r])})}function a(t){var e=Ut.defaults.oLanguage,n=t.sZeroRecords;!t.sEmptyTable&&n&&"No data available in table"===e.sEmptyTable&&Lt(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&n&&"Loading..."===e.sLoadingRecords&&Lt(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),(t=t.sDecimal)&&Wt(t)}function s(t){if(de(t,"ordering","bSort"),de(t,"orderMulti","bSortMulti"),de(t,"orderClasses","bSortClasses"),de(t,"orderCellsTop","bSortCellsTop"),de(t,"order","aaSorting"),de(t,"orderFixed","aaSortingFixed"),de(t,"paging","bPaginate"),de(t,"pagingType","sPaginationType"),de(t,"pageLength","iDisplayLength"),de(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":""),t=t.aoSearchCols)for(var e=0,n=t.length;e<n;e++)t[e]&&o(Ut.models.oSearch,t[e])}function l(e){de(e,"orderable","bSortable"),de(e,"orderData","aDataSort"),de(e,"orderSequence","asSorting"),de(e,"orderDataType","sortDataType");var n=e.aDataSort;n&&!t.isArray(n)&&(e.aDataSort=[n])}function u(e){if(!Ut.__browser){var n={};Ut.__browser=n;var i=t("<div/>").css({position:"fixed",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(t("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(t("<div/>").css({width:"100%",height:10}))).appendTo("body"),r=i.children(),o=r.children();n.barWidth=r[0].offsetWidth-r[0].clientWidth,n.bScrollOversize=100===o[0].offsetWidth&&100!==r[0].clientWidth,n.bScrollbarLeft=1!==Math.round(o.offset().left),n.bBounding=!!i[0].getBoundingClientRect().width,i.remove()}t.extend(e.oBrowser,Ut.__browser),e.oScroll.iBarWidth=Ut.__browser.barWidth}function c(t,e,n,r,o,a){var s,l=!1;for(n!==i&&(s=n,l=!0);r!==o;)t.hasOwnProperty(r)&&(s=l?e(s,t[r],r,t):t[r],l=!0,r+=a);return s}function h(e,i){var r=Ut.defaults.column,o=e.aoColumns.length,r=t.extend({},Ut.models.oColumn,r,{nTh:i?i:n.createElement("th"),sTitle:r.sTitle?r.sTitle:i?i.innerHTML:"",aDataSort:r.aDataSort?r.aDataSort:[o],mData:r.mData?r.mData:o,idx:o});e.aoColumns.push(r),r=e.aoPreSearchCols,r[o]=t.extend({},Ut.models.oSearch,r[o]),d(e,o,t(i).data())}function d(e,n,r){var n=e.aoColumns[n],a=e.oClasses,s=t(n.nTh);if(!n.sWidthOrig){n.sWidthOrig=s.attr("width")||null;var u=(s.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);u&&(n.sWidthOrig=u[1])}r!==i&&null!==r&&(l(r),o(Ut.defaults.column,r),r.mDataProp!==i&&!r.mData&&(r.mData=r.mDataProp),r.sType&&(n._sManualType=r.sType),r.className&&!r.sClass&&(r.sClass=r.className),t.extend(n,r),Lt(n,r,"sWidth","sWidthOrig"),r.iDataSort!==i&&(n.aDataSort=[r.iDataSort]),Lt(n,r,"aDataSort"));var c=n.mData,h=M(c),d=n.mRender?M(n.mRender):null,r=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};n._bAttrSrc=t.isPlainObject(c)&&(r(c.sort)||r(c.type)||r(c.filter)),n._setter=null,n.fnGetData=function(t,e,n){var r=h(t,e,i,n);return d&&e?d(r,e,t,n):r},n.fnSetData=function(t,e,n){return k(c)(t,e,n)},"number"!=typeof c&&(e._rowReadObject=!0),e.oFeatures.bSort||(n.bSortable=!1,s.addClass(a.sSortableNone)),e=-1!==t.inArray("asc",n.asSorting),r=-1!==t.inArray("desc",n.asSorting),n.bSortable&&(e||r)?e&&!r?(n.sSortingClass=a.sSortableAsc,n.sSortingClassJUI=a.sSortJUIAscAllowed):!e&&r?(n.sSortingClass=a.sSortableDesc,n.sSortingClassJUI=a.sSortJUIDescAllowed):(n.sSortingClass=a.sSortable,n.sSortingClassJUI=a.sSortJUI):(n.sSortingClass=a.sSortableNone,n.sSortingClassJUI="")}function f(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;mt(t);for(var n=0,i=e.length;n<i;n++)e[n].nTh.style.width=e[n].sWidth}e=t.oScroll,(""!==e.sY||""!==e.sX)&&pt(t),Ft(t,null,"column-sizing",[t])}function p(t,e){var n=v(t,"bVisible");return"number"==typeof n[e]?n[e]:null}function g(e,n){var i=v(e,"bVisible"),i=t.inArray(n,i);return-1!==i?i:null}function m(e){return t(se(e.aoColumns,"nTh")).filter(":visible").length}function v(e,n){var i=[];return t.map(e.aoColumns,function(t,e){t[n]&&i.push(e)}),i}function y(t){var e,n,r,o,a,s,l,u,c,h=t.aoColumns,d=t.aoData,f=Ut.ext.type.detect;for(e=0,n=h.length;e<n;e++)if(l=h[e],c=[],!l.sType&&l._sManualType)l.sType=l._sManualType;else if(!l.sType){for(r=0,o=f.length;r<o;r++){for(a=0,s=d.length;a<s&&(c[a]===i&&(c[a]=S(t,a,e,"type")),u=f[r](c[a],t),u||r===f.length-1)&&"html"!==u;a++);if(u){l.sType=u;break}}l.sType||(l.sType="string")}}function b(e,n,r,o){var a,s,l,u,c,d,f=e.aoColumns;if(n)for(a=n.length-1;0<=a;a--){d=n[a];var p=d.targets!==i?d.targets:d.aTargets;for(t.isArray(p)||(p=[p]),s=0,l=p.length;s<l;s++)if("number"==typeof p[s]&&0<=p[s]){for(;f.length<=p[s];)h(e);o(p[s],d)}else if("number"==typeof p[s]&&0>p[s])o(f.length+p[s],d);else if("string"==typeof p[s])for(u=0,c=f.length;u<c;u++)("_all"==p[s]||t(f[u].nTh).hasClass(p[s]))&&o(u,d)}if(r)for(a=0,e=r.length;a<e;a++)o(a,r[a])}function x(e,n,r,o){var a=e.aoData.length,s=t.extend(!0,{},Ut.models.oRow,{src:r?"dom":"data",idx:a});s._aData=n,e.aoData.push(s);for(var l=e.aoColumns,u=0,c=l.length;u<c;u++)l[u].sType=null;return e.aiDisplayMaster.push(a),n=e.rowIdFn(n),n!==i&&(e.aIds[n]=s),(r||!e.oFeatures.bDeferRender)&&O(e,a,r,o),a}function w(e,n){var i;return n instanceof t||(n=t(n)),n.map(function(t,n){return i=P(e,n),x(e,i.data,n,i.cells)})}function S(t,e,n,r){var o=t.iDraw,a=t.aoColumns[n],s=t.aoData[e]._aData,l=a.sDefaultContent,u=a.fnGetData(s,r,{settings:t,row:e,col:n});if(u===i)return t.iDrawError!=o&&null===l&&(Ot(t,0,"Requested unknown parameter "+("function"==typeof a.mData?"{function}":"'"+a.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=o),l;if(u!==s&&null!==u||null===l||r===i){if("function"==typeof u)return u.call(s)}else u=l;return null===u&&"display"==r?"":u}function _(t,e,n,i){t.aoColumns[n].fnSetData(t.aoData[e]._aData,i,{settings:t,row:e,col:n})}function C(e){return t.map(e.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\./g,".")})}function M(e){if(t.isPlainObject(e)){var n={};return t.each(e,function(t,e){e&&(n[t]=M(e))}),function(t,e,r,o){var a=n[e]||n._;return a!==i?a(t,e,r,o):t}}if(null===e)return function(t){return t};if("function"==typeof e)return function(t,n,i,r){return e(t,n,i,r)};if("string"==typeof e&&(-1!==e.indexOf(".")||-1!==e.indexOf("[")||-1!==e.indexOf("("))){var r=function(e,n,o){var a,s;if(""!==o){s=C(o);for(var l=0,u=s.length;l<u;l++){if(o=s[l].match(fe),a=s[l].match(pe),o){if(s[l]=s[l].replace(fe,""),""!==s[l]&&(e=e[s[l]]),a=[],s.splice(0,l+1),s=s.join("."),t.isArray(e))for(l=0,u=e.length;l<u;l++)a.push(r(e[l],n,s));e=o[0].substring(1,o[0].length-1),e=""===e?a:a.join(e);break}if(a)s[l]=s[l].replace(pe,""),e=e[s[l]]();else{if(null===e||e[s[l]]===i)return i;e=e[s[l]]}}}return e};return function(t,n){return r(t,n,e)}}return function(t){return t[e]}}function k(e){if(t.isPlainObject(e))return k(e._);if(null===e)return function(){};if("function"==typeof e)return function(t,n,i){e(t,"set",n,i)};if("string"==typeof e&&(-1!==e.indexOf(".")||-1!==e.indexOf("[")||-1!==e.indexOf("("))){var n=function(e,r,o){var a,o=C(o);a=o[o.length-1];for(var s,l,u=0,c=o.length-1;u<c;u++){if(s=o[u].match(fe),l=o[u].match(pe),s){if(o[u]=o[u].replace(fe,""),e[o[u]]=[],a=o.slice(),a.splice(0,u+1),s=a.join("."),t.isArray(r))for(l=0,c=r.length;l<c;l++)a={},n(a,r[l],s),e[o[u]].push(a);else e[o[u]]=r;return}l&&(o[u]=o[u].replace(pe,""),e=e[o[u]](r)),null!==e[o[u]]&&e[o[u]]!==i||(e[o[u]]={}),e=e[o[u]]}a.match(pe)?e[a.replace(pe,"")](r):e[a.replace(fe,"")]=r};return function(t,i){return n(t,i,e)}}return function(t,n){t[e]=n}}function T(t){return se(t.aoData,"_aData")}function D(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function A(t,e,n){for(var r=-1,o=0,a=t.length;o<a;o++)t[o]==e?r=o:t[o]>e&&t[o]--;-1!=r&&n===i&&t.splice(r,1)}function E(t,e,n,r){var o,a=t.aoData[e],s=function(n,i){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTML=S(t,e,i,"display")};if("dom"!==n&&(n&&"auto"!==n||"dom"!==a.src)){var l=a.anCells;if(l)if(r!==i)s(l[r],r);else for(n=0,o=l.length;n<o;n++)s(l[n],n)}else a._aData=P(t,a,r,r===i?i:a._aData).data;if(a._aSortData=null,a._aFilterData=null,s=t.aoColumns,r!==i)s[r].sType=null;else{for(n=0,o=s.length;n<o;n++)s[n].sType=null;L(t,a)}}function P(e,n,r,o){var a,s,l,u=[],c=n.firstChild,h=0,d=e.aoColumns,f=e._rowReadObject,o=o!==i?o:f?{}:[],p=function(t,e){if("string"==typeof t){var n=t.indexOf("@");-1!==n&&(n=t.substring(n+1),k(t)(o,e.getAttribute(n)))}},g=function(e){r!==i&&r!==h||(s=d[h],l=t.trim(e.innerHTML),s&&s._bAttrSrc?(k(s.mData._)(o,l),p(s.mData.sort,e),p(s.mData.type,e),p(s.mData.filter,e)):f?(s._setter||(s._setter=k(s.mData)),s._setter(o,l)):o[h]=l),h++};if(c)for(;c;)a=c.nodeName.toUpperCase(),"TD"!=a&&"TH"!=a||(g(c),u.push(c)),c=c.nextSibling;else for(u=n.anCells,c=0,a=u.length;c<a;c++)g(u[c]);return(n=n.firstChild?n:n.nTr)&&(n=n.getAttribute("id"))&&k(e.rowId)(o,n),{data:o,cells:u}}function O(e,i,r,o){var a,s,l,u,c,h=e.aoData[i],d=h._aData,f=[];if(null===h.nTr){for(a=r||n.createElement("tr"),h.nTr=a,h.anCells=f,a._DT_RowIndex=i,L(e,h),u=0,c=e.aoColumns.length;u<c;u++)l=e.aoColumns[u],s=r?o[u]:n.createElement(l.sCellType),s._DT_CellIndex={row:i,column:u},f.push(s),r&&!l.mRender&&l.mData===u||t.isPlainObject(l.mData)&&l.mData._===u+".display"||(s.innerHTML=S(e,i,u,"display")),l.sClass&&(s.className+=" "+l.sClass),l.bVisible&&!r?a.appendChild(s):!l.bVisible&&r&&s.parentNode.removeChild(s),l.fnCreatedCell&&l.fnCreatedCell.call(e.oInstance,s,S(e,i,u),d,i,u);Ft(e,"aoRowCreatedCallback",null,[a,d,i])}h.nTr.setAttribute("role","row")}function L(e,n){var i=n.nTr,r=n._aData;if(i){var o=e.rowIdFn(r);o&&(i.id=o),r.DT_RowClass&&(o=r.DT_RowClass.split(" "),n.__rowc=n.__rowc?he(n.__rowc.concat(o)):o,t(i).removeClass(n.__rowc.join(" ")).addClass(r.DT_RowClass)),r.DT_RowAttr&&t(i).attr(r.DT_RowAttr),r.DT_RowData&&t(i).data(r.DT_RowData)}}function N(e){var n,i,r,o,a,s=e.nTHead,l=e.nTFoot,u=0===t("th, td",s).length,c=e.oClasses,h=e.aoColumns;for(u&&(o=t("<tr/>").appendTo(s)),n=0,i=h.length;n<i;n++)a=h[n],r=t(a.nTh).addClass(a.sClass),u&&r.appendTo(o),e.oFeatures.bSort&&(r.addClass(a.sSortingClass),!1!==a.bSortable&&(r.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),kt(e,a.nTh,n))),a.sTitle!=r[0].innerHTML&&r.html(a.sTitle),Ht(e,"header")(e,r,a,c);if(u&&H(e.aoHeader,s),t(s).find(">tr").attr("role","row"),t(s).find(">tr>th, >tr>td").addClass(c.sHeaderTH),t(l).find(">tr>th, >tr>td").addClass(c.sFooterTH),null!==l)for(e=e.aoFooter[0],n=0,i=e.length;n<i;n++)a=h[n],a.nTf=e[n].cell,a.sClass&&t(a.nTf).addClass(a.sClass)}function I(e,n,r){var o,a,s,l,u=[],c=[],h=e.aoColumns.length;if(n){for(r===i&&(r=!1),o=0,a=n.length;o<a;o++){for(u[o]=n[o].slice(),u[o].nTr=n[o].nTr,s=h-1;0<=s;s--)!e.aoColumns[s].bVisible&&!r&&u[o].splice(s,1);c.push([])}for(o=0,a=u.length;o<a;o++){if(e=u[o].nTr)for(;s=e.firstChild;)e.removeChild(s);for(s=0,n=u[o].length;s<n;s++)if(l=h=1,c[o][s]===i){for(e.appendChild(u[o][s].cell),c[o][s]=1;u[o+h]!==i&&u[o][s].cell==u[o+h][s].cell;)c[o+h][s]=1,h++;for(;u[o][s+l]!==i&&u[o][s].cell==u[o][s+l].cell;){for(r=0;r<h;r++)c[o+r][s+l]=1;l++}t(u[o][s].cell).attr("rowspan",h).attr("colspan",l)}}}}function j(e){var n=Ft(e,"aoPreDrawCallback","preDraw",[e]);if(-1!==t.inArray(!1,n))dt(e,!1);else{var n=[],r=0,o=e.asStripeClasses,a=o.length,s=e.oLanguage,l=e.iInitDisplayStart,u="ssp"==zt(e),c=e.aiDisplay;e.bDrawing=!0,l!==i&&-1!==l&&(e._iDisplayStart=u?l:l>=e.fnRecordsDisplay()?0:l,e.iInitDisplayStart=-1);var l=e._iDisplayStart,h=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,dt(e,!1);else if(u){if(!e.bDestroying&&!W(e))return}else e.iDraw++;if(0!==c.length)for(s=u?e.aoData.length:h,u=u?0:l;u<s;u++){var d=c[u],f=e.aoData[d];if(null===f.nTr&&O(e,d),d=f.nTr,0!==a){var p=o[r%a];f._sRowStripe!=p&&(t(d).removeClass(f._sRowStripe).addClass(p),f._sRowStripe=p)}Ft(e,"aoRowCallback",null,[d,f._aData,r,u]),n.push(d),r++}else r=s.sZeroRecords,1==e.iDraw&&"ajax"==zt(e)?r=s.sLoadingRecords:s.sEmptyTable&&0===e.fnRecordsTotal()&&(r=s.sEmptyTable),n[0]=t("<tr/>",{class:a?o[0]:""}).append(t("<td />",{valign:"top",colSpan:m(e),class:e.oClasses.sRowEmpty}).html(r))[0];Ft(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],T(e),l,h,c]),Ft(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],T(e),l,h,c]),o=t(e.nTBody),o.children().detach(),o.append(t(n)),Ft(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}}function F(t,e){var n=t.oFeatures,i=n.bFilter;n.bSort&&_t(t),i?G(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,j(t),t._drawHold=!1}function R(e){var n=e.oClasses,i=t(e.nTable),i=t("<div/>").insertBefore(i),r=e.oFeatures,o=t("<div/>",{id:e.sTableId+"_wrapper",class:n.sWrapper+(e.nTFoot?"":" "+n.sNoFooter)});e.nHolding=i[0],e.nTableWrapper=o[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var a,s,l,u,c,h,d=e.sDom.split(""),f=0;f<d.length;f++){if(a=null,s=d[f],"<"==s){if(l=t("<div/>")[0],u=d[f+1],"'"==u||'"'==u){for(c="",h=2;d[f+h]!=u;)c+=d[f+h],h++;"H"==c?c=n.sJUIHeader:"F"==c&&(c=n.sJUIFooter),-1!=c.indexOf(".")?(u=c.split("."),l.id=u[0].substr(1,u[0].length-1),l.className=u[1]):"#"==c.charAt(0)?l.id=c.substr(1,c.length-1):l.className=c,f+=h}o.append(l),o=t(l)}else if(">"==s)o=o.parent();else if("l"==s&&r.bPaginate&&r.bLengthChange)a=lt(e);else if("f"==s&&r.bFilter)a=Y(e);else if("r"==s&&r.bProcessing)a=ht(e);else if("t"==s)a=ft(e);else if("i"==s&&r.bInfo)a=nt(e);else if("p"==s&&r.bPaginate)a=ut(e);else if(0!==Ut.ext.feature.length)for(l=Ut.ext.feature,h=0,u=l.length;h<u;h++)if(s==l[h].cFeature){a=l[h].fnInit(e);break}a&&(l=e.aanFeatures,l[s]||(l[s]=[]),l[s].push(a),o.append(a))}i.replaceWith(o),e.nHolding=null}function H(e,n){var i,r,o,a,s,l,u,c,h,d,f=t(n).children("tr");for(e.splice(0,e.length),o=0,l=f.length;o<l;o++)e.push([]);for(o=0,l=f.length;o<l;o++)for(i=f[o],r=i.firstChild;r;){if("TD"==r.nodeName.toUpperCase()||"TH"==r.nodeName.toUpperCase()){for(c=1*r.getAttribute("colspan"),h=1*r.getAttribute("rowspan"),c=c&&0!==c&&1!==c?c:1,h=h&&0!==h&&1!==h?h:1,a=0,s=e[o];s[a];)a++;for(u=a,d=1===c,s=0;s<c;s++)for(a=0;a<h;a++)e[o+a][u+s]={cell:r,unique:d},e[o+a].nTr=i}r=r.nextSibling}}function z(t,e,n){var i=[];n||(n=t.aoHeader,e&&(n=[],H(n,e)));for(var e=0,r=n.length;e<r;e++)for(var o=0,a=n[e].length;o<a;o++)!n[e][o].unique||i[o]&&t.bSortCellsTop||(i[o]=n[e][o].cell);return i}function B(e,n,i){if(Ft(e,"aoServerParams","serverParams",[n]),n&&t.isArray(n)){var r={},o=/(.*?)\[\]$/;t.each(n,function(t,e){var n=e.name.match(o);n?(n=n[0],r[n]||(r[n]=[]),r[n].push(e.value)):r[e.name]=e.value}),n=r}var a,s=e.ajax,l=e.oInstance,u=function(t){Ft(e,null,"xhr",[e,t,e.jqXHR]),i(t)};if(t.isPlainObject(s)&&s.data){a=s.data;var c=t.isFunction(a)?a(n,e):a,n=t.isFunction(a)&&c?c:t.extend(!0,n,c);delete s.data}c={data:n,success:function(t){var n=t.error||t.sError;n&&Ot(e,0,n),e.json=t,u(t)},dataType:"json",cache:!1,type:e.sServerMethod,error:function(n,i){var r=Ft(e,null,"xhr",[e,null,e.jqXHR]);-1===t.inArray(!0,r)&&("parsererror"==i?Ot(e,0,"Invalid JSON response",1):4===n.readyState&&Ot(e,0,"Ajax error",7)),dt(e,!1)}},e.oAjaxData=n,Ft(e,null,"preXhr",[e,n]),e.fnServerData?e.fnServerData.call(l,e.sAjaxSource,t.map(n,function(t,e){return{name:e,value:t}}),u,e):e.sAjaxSource||"string"==typeof s?e.jqXHR=t.ajax(t.extend(c,{url:s||e.sAjaxSource})):t.isFunction(s)?e.jqXHR=s.call(l,n,u,e):(e.jqXHR=t.ajax(t.extend(c,s)),s.data=a)}function W(t){return!t.bAjaxDataGet||(t.iDraw++,dt(t,!0),B(t,$(t),function(e){U(t,e)}),!1)}function $(e){var n,i,r,o,a=e.aoColumns,s=a.length,l=e.oFeatures,u=e.oPreviousSearch,c=e.aoPreSearchCols,h=[],d=St(e);n=e._iDisplayStart,i=!1!==l.bPaginate?e._iDisplayLength:-1;var f=function(t,e){h.push({name:t,value:e})};f("sEcho",e.iDraw),f("iColumns",s),f("sColumns",se(a,"sName").join(",")),f("iDisplayStart",n),f("iDisplayLength",i);var p={draw:e.iDraw,columns:[],order:[],start:n,length:i,search:{value:u.sSearch,regex:u.bRegex}};for(n=0;n<s;n++)r=a[n],o=c[n],i="function"==typeof r.mData?"function":r.mData,p.columns.push({data:i,name:r.sName,searchable:r.bSearchable,orderable:r.bSortable,search:{value:o.sSearch,regex:o.bRegex}}),f("mDataProp_"+n,i),l.bFilter&&(f("sSearch_"+n,o.sSearch),f("bRegex_"+n,o.bRegex),f("bSearchable_"+n,r.bSearchable)),l.bSort&&f("bSortable_"+n,r.bSortable);return l.bFilter&&(f("sSearch",u.sSearch),f("bRegex",u.bRegex)),l.bSort&&(t.each(d,function(t,e){p.order.push({column:e.col,dir:e.dir}),f("iSortCol_"+t,e.col),f("sSortDir_"+t,e.dir)}),f("iSortingCols",d.length)),a=Ut.ext.legacy.ajax,null===a?e.sAjaxSource?h:p:a?h:p}function U(t,e){var n=q(t,e),r=e.sEcho!==i?e.sEcho:e.draw,o=e.iTotalRecords!==i?e.iTotalRecords:e.recordsTotal,a=e.iTotalDisplayRecords!==i?e.iTotalDisplayRecords:e.recordsFiltered;if(r){if(1*r<t.iDraw)return;t.iDraw=1*r}for(D(t),t._iRecordsTotal=parseInt(o,10),t._iRecordsDisplay=parseInt(a,10),r=0,o=n.length;r<o;r++)x(t,n[r]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,j(t),t._bInitComplete||at(t,e),t.bAjaxDataGet=!0,dt(t,!1)}function q(e,n){var r=t.isPlainObject(e.ajax)&&e.ajax.dataSrc!==i?e.ajax.dataSrc:e.sAjaxDataProp;return"data"===r?n.aaData||n[r]:""!==r?M(r)(n):n}function Y(e){var i=e.oClasses,r=e.sTableId,o=e.oLanguage,a=e.oPreviousSearch,s=e.aanFeatures,l='<input type="search" class="'+i.sFilterInput+'"/>',u=o.sSearch,u=u.match(/_INPUT_/)?u.replace("_INPUT_",l):u+l,i=t("<div/>",{id:s.f?null:r+"_filter",class:i.sFilter}).append(t("<label/>").append(u)),s=function(){var t=this.value?this.value:"";t!=a.sSearch&&(G(e,{sSearch:t,bRegex:a.bRegex,bSmart:a.bSmart,bCaseInsensitive:a.bCaseInsensitive}),e._iDisplayStart=0,j(e))},l=null!==e.searchDelay?e.searchDelay:"ssp"===zt(e)?400:0,c=t("input",i).val(a.sSearch).attr("placeholder",o.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT",l?vt(s,l):s).bind("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",r);return t(e.nTable).on("search.dt.DT",function(t,i){if(e===i)try{c[0]!==n.activeElement&&c.val(a.sSearch)}catch(t){}}),i[0]}function G(t,e,n){var r=t.oPreviousSearch,o=t.aoPreSearchCols,a=function(t){r.sSearch=t.sSearch,r.bRegex=t.bRegex,r.bSmart=t.bSmart,r.bCaseInsensitive=t.bCaseInsensitive};if(y(t),"ssp"!=zt(t)){for(Z(t,e.sSearch,n,e.bEscapeRegex!==i?!e.bEscapeRegex:e.bRegex,e.bSmart,e.bCaseInsensitive),a(e),e=0;e<o.length;e++)V(t,o[e].sSearch,e,o[e].bEscapeRegex!==i?!o[e].bEscapeRegex:o[e].bRegex,o[e].bSmart,o[e].bCaseInsensitive);X(t)}else a(e);t.bFiltered=!0,Ft(t,null,"search",[t])}function X(e){for(var n,i,r=Ut.ext.search,o=e.aiDisplay,a=0,s=r.length;a<s;a++){for(var l=[],u=0,c=o.length;u<c;u++)i=o[u],n=e.aoData[i],r[a](e,n._aFilterData,i,n._aData,u)&&l.push(i);o.length=0,t.merge(o,l)}}function V(t,e,n,i,r,o){if(""!==e)for(var a=t.aiDisplay,i=K(e,i,r,o),r=a.length-1;0<=r;r--)e=t.aoData[a[r]]._aFilterData[n],i.test(e)||a.splice(r,1)}function Z(t,e,n,i,r,o){var a,i=K(e,i,r,o),r=t.oPreviousSearch.sSearch,o=t.aiDisplayMaster;if(0!==Ut.ext.search.length&&(n=!0),a=Q(t),0>=e.length)t.aiDisplay=o.slice();else for((a||n||r.length>e.length||0!==e.indexOf(r)||t.bSorted)&&(t.aiDisplay=o.slice()),e=t.aiDisplay,n=e.length-1;0<=n;n--)i.test(t.aoData[e[n]]._sFilterRow)||e.splice(n,1)}function K(e,n,i,r){return e=n?e:J(e),i&&(e="^(?=.*?"+t.map(e.match(/"[^"]+"|[^ ]+/g)||[""],function(t){if('"'===t.charAt(0))var e=t.match(/^"(.*)"$/),t=e?e[1]:t;return t.replace('"',"")}).join(")(?=.*?")+").*$"),RegExp(e,r?"i":"")}function J(t){return t.replace(te,"\\$1")}function Q(t){var e,n,i,r,o,a,s,l,u=t.aoColumns,c=Ut.ext.type.search;for(e=!1,n=0,r=t.aoData.length;n<r;n++)if(l=t.aoData[n],!l._aFilterData){for(a=[],i=0,o=u.length;i<o;i++)e=u[i],e.bSearchable?(s=S(t,n,i,"filter"),c[e.sType]&&(s=c[e.sType](s)),null===s&&(s=""),"string"!=typeof s&&s.toString&&(s=s.toString())):s="",s.indexOf&&-1!==s.indexOf("&")&&(ge.innerHTML=s,s=me?ge.textContent:ge.innerText),s.replace&&(s=s.replace(/[\r\n]/g,"")),a.push(s);l._aFilterData=a,l._sFilterRow=a.join(" "),e=!0}return e}function tt(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function et(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function nt(e){var n=e.sTableId,i=e.aanFeatures.i,r=t("<div/>",{class:e.oClasses.sInfo,id:i?null:n+"_info"});return i||(e.aoDrawCallback.push({fn:it,sName:"information"}),r.attr("role","status").attr("aria-live","polite"),t(e.nTable).attr("aria-describedby",n+"_info")),r[0]}function it(e){var n=e.aanFeatures.i;if(0!==n.length){var i=e.oLanguage,r=e._iDisplayStart+1,o=e.fnDisplayEnd(),a=e.fnRecordsTotal(),s=e.fnRecordsDisplay(),l=s?i.sInfo:i.sInfoEmpty;s!==a&&(l+=" "+i.sInfoFiltered),l+=i.sInfoPostFix,l=rt(e,l),i=i.fnInfoCallback,null!==i&&(l=i.call(e.oInstance,e,r,o,a,s,l)),t(n).html(l)}}function rt(t,e){var n=t.fnFormatNumber,i=t._iDisplayStart+1,r=t._iDisplayLength,o=t.fnRecordsDisplay(),a=-1===r;return e.replace(/_START_/g,n.call(t,i)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,o)).replace(/_PAGE_/g,n.call(t,a?1:Math.ceil(i/r))).replace(/_PAGES_/g,n.call(t,a?1:Math.ceil(o/r)))}function ot(t){var e,n,i,r=t.iInitDisplayStart,o=t.aoColumns;n=t.oFeatures;var a=t.bDeferLoading;if(t.bInitialised){for(R(t),N(t),I(t,t.aoHeader),I(t,t.aoFooter),dt(t,!0),n.bAutoWidth&&mt(t),e=0,n=o.length;e<n;e++)i=o[e],i.sWidth&&(i.nTh.style.width=wt(i.sWidth));Ft(t,null,"preInit",[t]),F(t),o=zt(t),("ssp"!=o||a)&&("ajax"==o?B(t,[],function(n){var i=q(t,n);for(e=0;e<i.length;e++)x(t,i[e]);t.iInitDisplayStart=r,F(t),dt(t,!1),at(t,n)},t):(dt(t,!1),at(t)))}else setTimeout(function(){ot(t)},200)}function at(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&f(t),Ft(t,null,"plugin-init",[t,e]),Ft(t,"aoInitComplete","init",[t,e])}function st(t,e){var n=parseInt(e,10);t._iDisplayLength=n,Rt(t),Ft(t,null,"length",[t,n])}function lt(e){for(var n=e.oClasses,i=e.sTableId,r=e.aLengthMenu,o=t.isArray(r[0]),a=o?r[0]:r,r=o?r[1]:r,o=t("<select/>",{name:i+"_length","aria-controls":i,class:n.sLengthSelect}),s=0,l=a.length;s<l;s++)o[0][s]=new Option(r[s],a[s]);var u=t("<div><label/></div>").addClass(n.sLength);return e.aanFeatures.l||(u[0].id=i+"_length"),u.children().append(e.oLanguage.sLengthMenu.replace("_MENU_",o[0].outerHTML)),t("select",u).val(e._iDisplayLength).bind("change.DT",function(){st(e,t(this).val()),j(e)}),t(e.nTable).bind("length.dt.DT",function(n,i,r){e===i&&t("select",u).val(r)}),u[0]}function ut(e){var n=e.sPaginationType,i=Ut.ext.pager[n],r="function"==typeof i,o=function(t){j(t)},n=t("<div/>").addClass(e.oClasses.sPaging+n)[0],a=e.aanFeatures;return r||i.fnInit(e,n,o),a.p||(n.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(t){if(r){var e,n=t._iDisplayStart,s=t._iDisplayLength,l=t.fnRecordsDisplay(),u=-1===s,n=u?0:Math.ceil(n/s),s=u?1:Math.ceil(l/s),l=i(n,s),u=0;for(e=a.p.length;u<e;u++)Ht(t,"pageButton")(t,a.p[u],u,l,n,s)}else i.fnUpdate(t,o)},sName:"pagination"})),n}function ct(t,e,n){var i=t._iDisplayStart,r=t._iDisplayLength,o=t.fnRecordsDisplay();return 0===o||-1===r?i=0:"number"==typeof e?(i=e*r,i>o&&(i=0)):"first"==e?i=0:"previous"==e?(i=0<=r?i-r:0,0>i&&(i=0)):"next"==e?i+r<o&&(i+=r):"last"==e?i=Math.floor((o-1)/r)*r:Ot(t,0,"Unknown paging action: "+e,5),e=t._iDisplayStart!==i,t._iDisplayStart=i,e&&(Ft(t,null,"page",[t]),n&&j(t)),e}function ht(e){return t("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function dt(e,n){e.oFeatures.bProcessing&&t(e.aanFeatures.r).css("display",n?"block":"none"),Ft(e,null,"processing",[e,n])}function ft(e){var n=t(e.nTable);n.attr("role","grid");var i=e.oScroll;if(""===i.sX&&""===i.sY)return e.nTable;var r=i.sX,o=i.sY,a=e.oClasses,s=n.children("caption"),l=s.length?s[0]._captionSide:null,u=t(n[0].cloneNode(!1)),c=t(n[0].cloneNode(!1)),h=n.children("tfoot");h.length||(h=null),u=t("<div/>",{class:a.sScrollWrapper}).append(t("<div/>",{class:a.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:r?r?wt(r):null:"100%"}).append(t("<div/>",{class:a.sScrollHeadInner}).css({"box-sizing":"content-box",width:i.sXInner||"100%"}).append(u.removeAttr("id").css("margin-left",0).append("top"===l?s:null).append(n.children("thead"))))).append(t("<div/>",{class:a.sScrollBody}).css({position:"relative",overflow:"auto",width:r?wt(r):null}).append(n)),h&&u.append(t("<div/>",{class:a.sScrollFoot}).css({overflow:"hidden",border:0,width:r?r?wt(r):null:"100%"}).append(t("<div/>",{class:a.sScrollFootInner}).append(c.removeAttr("id").css("margin-left",0).append("bottom"===l?s:null).append(n.children("tfoot")))));var n=u.children(),d=n[0],a=n[1],f=h?n[2]:null;return r&&t(a).on("scroll.DT",function(){var t=this.scrollLeft;d.scrollLeft=t,h&&(f.scrollLeft=t)}),t(a).css(o&&i.bCollapse?"max-height":"height",o),e.nScrollHead=d,e.nScrollBody=a,e.nScrollFoot=f,e.aoDrawCallback.push({fn:pt,sName:"scrolling"}),u[0]}function pt(e){var n,r,o,a,s,l=e.oScroll,u=l.sX,c=l.sXInner,h=l.sY,l=l.iBarWidth,d=t(e.nScrollHead),g=d[0].style,m=d.children("div"),v=m[0].style,y=m.children("table"),m=e.nScrollBody,b=t(m),x=m.style,w=t(e.nScrollFoot).children("div"),S=w.children("table"),_=t(e.nTHead),C=t(e.nTable),M=C[0],k=M.style,T=e.nTFoot?t(e.nTFoot):null,D=e.oBrowser,A=D.bScrollOversize,E=se(e.aoColumns,"nTh"),P=[],O=[],L=[],N=[],I=function(t){t=t.style,t.paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0};r=m.scrollHeight>m.clientHeight,e.scrollBarVis!==r&&e.scrollBarVis!==i?(e.scrollBarVis=r,f(e)):(e.scrollBarVis=r,C.children("thead, tfoot").remove(),T&&(o=T.clone().prependTo(C),n=T.find("tr"),o=o.find("tr")),a=_.clone().prependTo(C),_=_.find("tr"),r=a.find("tr"),a.find("th, td").removeAttr("tabindex"),u||(x.width="100%",d[0].style.width="100%"),t.each(z(e,a),function(t,n){s=p(e,t),n.style.width=e.aoColumns[s].sWidth}),T&>(function(t){t.style.width=""},o),d=C.outerWidth(),""===u?(k.width="100%",A&&(C.find("tbody").height()>m.offsetHeight||"scroll"==b.css("overflow-y"))&&(k.width=wt(C.outerWidth()-l)),d=C.outerWidth()):""!==c&&(k.width=wt(c),d=C.outerWidth()),gt(I,r),gt(function(e){L.push(e.innerHTML),P.push(wt(t(e).css("width")))},r),gt(function(e,n){t.inArray(e,E)!==-1&&(e.style.width=P[n])},_),t(r).height(0),T&&(gt(I,o),gt(function(e){N.push(e.innerHTML),O.push(wt(t(e).css("width")))},o),gt(function(t,e){t.style.width=O[e]},n),t(o).height(0)),gt(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+L[e]+"</div>",t.style.width=P[e]},r),T&>(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+N[e]+"</div>",t.style.width=O[e]},o),C.outerWidth()<d?(n=m.scrollHeight>m.offsetHeight||"scroll"==b.css("overflow-y")?d+l:d,A&&(m.scrollHeight>m.offsetHeight||"scroll"==b.css("overflow-y"))&&(k.width=wt(n-l)),(""===u||""!==c)&&Ot(e,1,"Possible column misalignment",6)):n="100%",x.width=wt(n),g.width=wt(n),T&&(e.nScrollFoot.style.width=wt(n)),!h&&A&&(x.height=wt(M.offsetHeight+l)),u=C.outerWidth(),y[0].style.width=wt(u),v.width=wt(u),c=C.height()>m.clientHeight||"scroll"==b.css("overflow-y"),h="padding"+(D.bScrollbarLeft?"Left":"Right"),v[h]=c?l+"px":"0px",T&&(S[0].style.width=wt(u),w[0].style.width=wt(u),w[0].style[h]=c?l+"px":"0px"),C.children("colgroup").insertBefore(C.children("thead")),b.scroll(),!e.bSorted&&!e.bFiltered||e._drawHold||(m.scrollTop=0))}function gt(t,e,n){for(var i,r,o=0,a=0,s=e.length;a<s;){for(i=e[a].firstChild,r=n?n[a].firstChild:null;i;)1===i.nodeType&&(n?t(i,r,o):t(i,o),o++),i=i.nextSibling,r=n?r.nextSibling:null;a++}}function mt(n){var i,r,o=n.nTable,a=n.aoColumns,s=n.oScroll,l=s.sY,u=s.sX,c=s.sXInner,h=a.length,d=v(n,"bVisible"),g=t("th",n.nTHead),y=o.getAttribute("width"),b=o.parentNode,x=!1,w=n.oBrowser,s=w.bScrollOversize;for((i=o.style.width)&&-1!==i.indexOf("%")&&(y=i),i=0;i<d.length;i++)r=a[d[i]],null!==r.sWidth&&(r.sWidth=yt(r.sWidthOrig,b),x=!0);if(s||!x&&!u&&!l&&h==m(n)&&h==g.length)for(i=0;i<h;i++)d=p(n,i),null!==d&&(a[d].sWidth=wt(g.eq(i).width()));else{h=t(o).clone().css("visibility","hidden").removeAttr("id"),h.find("tbody tr").remove();var S=t("<tr/>").appendTo(h.find("tbody"));for(h.find("thead, tfoot").remove(),h.append(t(n.nTHead).clone()).append(t(n.nTFoot).clone()),h.find("tfoot th, tfoot td").css("width",""),g=z(n,h.find("thead")[0]),i=0;i<d.length;i++)r=a[d[i]],g[i].style.width=null!==r.sWidthOrig&&""!==r.sWidthOrig?wt(r.sWidthOrig):"",r.sWidthOrig&&u&&t(g[i]).append(t("<div/>").css({width:r.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(n.aoData.length)for(i=0;i<d.length;i++)x=d[i],r=a[x],t(bt(n,x)).clone(!1).append(r.sContentPadding).appendTo(S);for(t("[name]",h).removeAttr("name"),r=t("<div/>").css(u||l?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(h).appendTo(b),u&&c?h.width(c):u?(h.css("width","auto"),h.removeAttr("width"),h.width()<b.clientWidth&&y&&h.width(b.clientWidth)):l?h.width(b.clientWidth):y&&h.width(y),i=l=0;i<d.length;i++)b=t(g[i]),c=b.outerWidth()-b.width(),b=w.bBounding?Math.ceil(g[i].getBoundingClientRect().width):b.outerWidth(),l+=b,a[d[i]].sWidth=wt(b-c);o.style.width=wt(l),r.remove()}y&&(o.style.width=wt(y)),!y&&!u||n._reszEvt||(o=function(){t(e).bind("resize.DT-"+n.sInstance,vt(function(){f(n)}))},s?setTimeout(o,1e3):o(),n._reszEvt=!0)}function vt(t,e){var n,r,o=e!==i?e:200;return function(){var e=this,a=+new Date,s=arguments; 15 n&&a<n+o?(clearTimeout(r),r=setTimeout(function(){n=i,t.apply(e,s)},o)):(n=a,t.apply(e,s))}}function yt(e,i){if(!e)return 0;var r=t("<div/>").css("width",wt(e)).appendTo(i||n.body),o=r[0].offsetWidth;return r.remove(),o}function bt(e,n){var i=xt(e,n);if(0>i)return null;var r=e.aoData[i];return r.nTr?r.anCells[n]:t("<td/>").html(S(e,i,n,"display"))[0]}function xt(t,e){for(var n,i=-1,r=-1,o=0,a=t.aoData.length;o<a;o++)n=S(t,o,e,"display")+"",n=n.replace(ve,""),n=n.replace(/ /g," "),n.length>i&&(i=n.length,r=o);return r}function wt(t){return null===t?"0px":"number"==typeof t?0>t?"0px":t+"px":t.match(/\d$/)?t+"px":t}function St(e){var n,r,o,a,s,l,u=[],c=e.aoColumns;n=e.aaSortingFixed,r=t.isPlainObject(n);var h=[];for(o=function(e){e.length&&!t.isArray(e[0])?h.push(e):t.merge(h,e)},t.isArray(n)&&o(n),r&&n.pre&&o(n.pre),o(e.aaSorting),r&&n.post&&o(n.post),e=0;e<h.length;e++)for(l=h[e][0],o=c[l].aDataSort,n=0,r=o.length;n<r;n++)a=o[n],s=c[a].sType||"string",h[e]._idx===i&&(h[e]._idx=t.inArray(h[e][1],c[a].asSorting)),u.push({src:l,col:a,dir:h[e][1],index:h[e]._idx,type:s,formatter:Ut.ext.type.order[s+"-pre"]});return u}function _t(t){var e,n,i,r,o=[],a=Ut.ext.type.order,s=t.aoData,l=0,u=t.aiDisplayMaster;for(y(t),r=St(t),e=0,n=r.length;e<n;e++)i=r[e],i.formatter&&l++,Dt(t,i.col);if("ssp"!=zt(t)&&0!==r.length){for(e=0,n=u.length;e<n;e++)o[u[e]]=e;l===r.length?u.sort(function(t,e){var n,i,a,l,u=r.length,c=s[t]._aSortData,h=s[e]._aSortData;for(a=0;a<u;a++)if(l=r[a],n=c[l.col],i=h[l.col],n=n<i?-1:n>i?1:0,0!==n)return"asc"===l.dir?n:-n;return n=o[t],i=o[e],n<i?-1:n>i?1:0}):u.sort(function(t,e){var n,i,l,u,c=r.length,h=s[t]._aSortData,d=s[e]._aSortData;for(l=0;l<c;l++)if(u=r[l],n=h[u.col],i=d[u.col],u=a[u.type+"-"+u.dir]||a["string-"+u.dir],n=u(n,i),0!==n)return n;return n=o[t],i=o[e],n<i?-1:n>i?1:0})}t.bSorted=!0}function Ct(t){for(var e,n,i=t.aoColumns,r=St(t),t=t.oLanguage.oAria,o=0,a=i.length;o<a;o++){n=i[o];var s=n.asSorting;e=n.sTitle.replace(/<.*?>/g,"");var l=n.nTh;l.removeAttribute("aria-sort"),n.bSortable&&(0<r.length&&r[0].col==o?(l.setAttribute("aria-sort","asc"==r[0].dir?"ascending":"descending"),n=s[r[0].index+1]||s[0]):n=s[0],e+="asc"===n?t.sSortAscending:t.sSortDescending),l.setAttribute("aria-label",e)}}function Mt(e,n,r,o){var a=e.aaSorting,s=e.aoColumns[n].asSorting,l=function(e,n){var r=e._idx;return r===i&&(r=t.inArray(e[1],s)),r+1<s.length?r+1:n?null:0};"number"==typeof a[0]&&(a=e.aaSorting=[a]),r&&e.oFeatures.bSortMulti?(r=t.inArray(n,se(a,"0")),-1!==r?(n=l(a[r],!0),null===n&&1===a.length&&(n=0),null===n?a.splice(r,1):(a[r][1]=s[n],a[r]._idx=n)):(a.push([n,s[0],0]),a[a.length-1]._idx=0)):a.length&&a[0][0]==n?(n=l(a[0]),a.length=1,a[0][1]=s[n],a[0]._idx=n):(a.length=0,a.push([n,s[0]]),a[0]._idx=0),F(e),"function"==typeof o&&o(e)}function kt(t,e,n,i){var r=t.aoColumns[n];It(e,{},function(e){!1!==r.bSortable&&(t.oFeatures.bProcessing?(dt(t,!0),setTimeout(function(){Mt(t,n,e.shiftKey,i),"ssp"!==zt(t)&&dt(t,!1)},0)):Mt(t,n,e.shiftKey,i))})}function Tt(e){var n,i,r=e.aLastSort,o=e.oClasses.sSortColumn,a=St(e),s=e.oFeatures;if(s.bSort&&s.bSortClasses){for(s=0,n=r.length;s<n;s++)i=r[s].src,t(se(e.aoData,"anCells",i)).removeClass(o+(2>s?s+1:3));for(s=0,n=a.length;s<n;s++)i=a[s].src,t(se(e.aoData,"anCells",i)).addClass(o+(2>s?s+1:3))}e.aLastSort=a}function Dt(t,e){var n,i=t.aoColumns[e],r=Ut.ext.order[i.sSortDataType];r&&(n=r.call(t.oInstance,t,e,g(t,e)));for(var o,a=Ut.ext.type.order[i.sType+"-pre"],s=0,l=t.aoData.length;s<l;s++)i=t.aoData[s],i._aSortData||(i._aSortData=[]),(!i._aSortData[e]||r)&&(o=r?n[s]:S(t,s,e,"sort"),i._aSortData[e]=a?a(o):o)}function At(e){if(e.oFeatures.bStateSave&&!e.bDestroying){var n={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:t.extend(!0,[],e.aaSorting),search:tt(e.oPreviousSearch),columns:t.map(e.aoColumns,function(t,n){return{visible:t.bVisible,search:tt(e.aoPreSearchCols[n])}})};Ft(e,"aoStateSaveParams","stateSaveParams",[e,n]),e.oSavedState=n,e.fnStateSaveCallback.call(e.oInstance,e,n)}}function Et(e){var n,r,o=e.aoColumns;if(e.oFeatures.bStateSave){var a=e.fnStateLoadCallback.call(e.oInstance,e);if(a&&a.time&&(n=Ft(e,"aoStateLoadParams","stateLoadParams",[e,a]),-1===t.inArray(!1,n)&&(n=e.iStateDuration,!(0<n&&a.time<+new Date-1e3*n)&&o.length===a.columns.length))){for(e.oLoadedState=t.extend(!0,{},a),a.start!==i&&(e._iDisplayStart=a.start,e.iInitDisplayStart=a.start),a.length!==i&&(e._iDisplayLength=a.length),a.order!==i&&(e.aaSorting=[],t.each(a.order,function(t,n){e.aaSorting.push(n[0]>=o.length?[0,n[1]]:n)})),a.search!==i&&t.extend(e.oPreviousSearch,et(a.search)),n=0,r=a.columns.length;n<r;n++){var s=a.columns[n];s.visible!==i&&(o[n].bVisible=s.visible),s.search!==i&&t.extend(e.aoPreSearchCols[n],et(s.search))}Ft(e,"aoStateLoaded","stateLoaded",[e,a])}}}function Pt(e){var n=Ut.settings,e=t.inArray(e,se(n,"nTable"));return-1!==e?n[e]:null}function Ot(t,n,i,r){if(i="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+i,r&&(i+=". For more information about this error, please see http://datatables.net/tn/"+r),n)e.console&&console.log&&console.log(i);else if(n=Ut.ext,n=n.sErrMode||n.errMode,t&&Ft(t,null,"error",[t,r,i]),"alert"==n)alert(i);else{if("throw"==n)throw Error(i);"function"==typeof n&&n(t,r,i)}}function Lt(e,n,r,o){t.isArray(r)?t.each(r,function(i,r){t.isArray(r)?Lt(e,n,r[0],r[1]):Lt(e,n,r)}):(o===i&&(o=r),n[r]!==i&&(e[o]=n[r]))}function Nt(e,n,i){var r,o;for(o in n)n.hasOwnProperty(o)&&(r=n[o],t.isPlainObject(r)?(t.isPlainObject(e[o])||(e[o]={}),t.extend(!0,e[o],r)):e[o]=i&&"data"!==o&&"aaData"!==o&&t.isArray(r)?r.slice():r);return e}function It(e,n,i){t(e).bind("click.DT",n,function(t){e.blur(),i(t)}).bind("keypress.DT",n,function(t){13===t.which&&(t.preventDefault(),i(t))}).bind("selectstart.DT",function(){return!1})}function jt(t,e,n,i){n&&t[e].push({fn:n,sName:i})}function Ft(e,n,i,r){var o=[];return n&&(o=t.map(e[n].slice().reverse(),function(t){return t.fn.apply(e.oInstance,r)})),null!==i&&(n=t.Event(i+".dt"),t(e.nTable).trigger(n,r),o.push(n.result)),o}function Rt(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),i=t._iDisplayLength;e>=n&&(e=n-i),e-=e%i,(-1===i||0>e)&&(e=0),t._iDisplayStart=e}function Ht(e,n){var i=e.renderer,r=Ut.ext.renderer[n];return t.isPlainObject(i)&&i[n]?r[i[n]]||r._:"string"==typeof i?r[i]||r._:r._}function zt(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function Bt(t,e){var n=[],n=Ne.numbers_length,i=Math.floor(n/2);return e<=n?n=ue(0,e):t<=i?(n=ue(0,n-2),n.push("ellipsis"),n.push(e-1)):(t>=e-1-i?n=ue(e-(n-2),e):(n=ue(t-i+2,t+i-1),n.push("ellipsis"),n.push(e-1)),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}function Wt(e){t.each({num:function(t){return Ie(t,e)},"num-fmt":function(t){return Ie(t,e,ee)},"html-num":function(t){return Ie(t,e,Kt)},"html-num-fmt":function(t){return Ie(t,e,Kt,ee)}},function(t,n){qt.type.order[t+e+"-pre"]=n,t.match(/^html\-/)&&(qt.type.search[t+e]=qt.type.search.html)})}function $t(t){return function(){var e=[Pt(this[Ut.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return Ut.ext.internal[t].apply(this,e)}}var Ut,qt,Yt,Gt,Xt,Vt={},Zt=/[\r\n]/g,Kt=/<.*?>/g,Jt=/^[\w\+\-]/,Qt=/[\w\+\-]$/,te=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),ee=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,ne=function(t){return!t||!0===t||"-"===t},ie=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},re=function(t,e){return Vt[e]||(Vt[e]=RegExp(J(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(Vt[e],"."):t},oe=function(t,e,n){var i="string"==typeof t;return!!ne(t)||(e&&i&&(t=re(t,e)),n&&i&&(t=t.replace(ee,"")),!isNaN(parseFloat(t))&&isFinite(t))},ae=function(t,e,n){return!!ne(t)||(ne(t)||"string"==typeof t?!!oe(t.replace(Kt,""),e,n)||null:null)},se=function(t,e,n){var r=[],o=0,a=t.length;if(n!==i)for(;o<a;o++)t[o]&&t[o][e]&&r.push(t[o][e][n]);else for(;o<a;o++)t[o]&&r.push(t[o][e]);return r},le=function(t,e,n,r){var o=[],a=0,s=e.length;if(r!==i)for(;a<s;a++)t[e[a]][n]&&o.push(t[e[a]][n][r]);else for(;a<s;a++)o.push(t[e[a]][n]);return o},ue=function(t,e){var n,r=[];e===i?(e=0,n=t):(n=e,e=t);for(var o=e;o<n;o++)r.push(o);return r},ce=function(t){for(var e=[],n=0,i=t.length;n<i;n++)t[n]&&e.push(t[n]);return e},he=function(t){var e,n,i,r=[],o=t.length,a=0;n=0;t:for(;n<o;n++){for(e=t[n],i=0;i<a;i++)if(r[i]===e)continue t;r.push(e),a++}return r},de=function(t,e,n){t[e]!==i&&(t[n]=t[e])},fe=/\[.*?\]$/,pe=/\(\)$/,ge=t("<div>")[0],me=ge.textContent!==i,ve=/<.*?>/g;Ut=function(e){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new Yt(t?Pt(this[qt.iApiIndex]):this)},this.fnAddData=function(e,n){var r=this.api(!0),o=t.isArray(e)&&(t.isArray(e[0])||t.isPlainObject(e[0]))?r.rows.add(e):r.row.add(e);return(n===i||n)&&r.draw(),o.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],r=n.oScroll;t===i||t?e.draw(!1):(""!==r.sX||""!==r.sY)&&pt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===i||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var r=this.api(!0),t=r.rows(t),o=t.settings()[0],a=o.aoData[t[0][0]];return t.remove(),e&&e.call(this,o,a),(n===i||n)&&r.draw(),a},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,r,o,a){o=this.api(!0),null===e||e===i?o.search(t,n,r,a):o.column(e).search(t,n,r,a),o.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t!==i){var r=t.nodeName?t.nodeName.toLowerCase():"";return e!==i||"td"==r||"th"==r?n.cell(t,e).data():n.row(t).data()||null}return n.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==i?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();return"TR"==n?e.row(t).index():"TD"==n||"TH"==n?(t=e.cell(t).index(),[t.row,t.columnVisible,t.column]):null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){var n=this.api(!0).page(t);(e===i||e)&&n.draw(!1)},this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e),(n===i||n)&&t.columns.adjust().draw()},this.fnSettings=function(){return Pt(this[qt.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,r,o){var a=this.api(!0);return n===i||null===n?a.row(e).data(t):a.cell(e,n).data(t),(o===i||o)&&a.columns.adjust(),(r===i||r)&&a.draw(),0},this.fnVersionCheck=qt.fnVersionCheck;var n=this,r=e===i,c=this.length;r&&(e={}),this.oApi=this.internal=qt.internal;for(var f in Ut.ext.internal)f&&(this[f]=$t(f));return this.each(function(){var f,p={},p=1<c?Nt(p,e,!0):e,g=0,m=this.getAttribute("id"),v=!1,y=Ut.defaults,S=t(this);if("table"!=this.nodeName.toLowerCase())Ot(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{s(y),l(y.column),o(y,y,!0),o(y.column,y.column,!0),o(y,t.extend(p,S.data()));var _=Ut.settings,g=0;for(f=_.length;g<f;g++){var C=_[g];if(C.nTable==this||C.nTHead.parentNode==this||C.nTFoot&&C.nTFoot.parentNode==this){if(g=p.bRetrieve!==i?p.bRetrieve:y.bRetrieve,r||g)return C.oInstance;if(p.bDestroy!==i?p.bDestroy:y.bDestroy){C.oInstance.fnDestroy();break}return void Ot(C,0,"Cannot reinitialise DataTable",3)}if(C.sTableId==this.id){_.splice(g,1);break}}null!==m&&""!==m||(this.id=m="DataTables_Table_"+Ut.ext._unique++);var k=t.extend(!0,{},Ut.models.oSettings,{sDestroyWidth:S[0].style.width,sInstance:m,sTableId:m});k.nTable=this,k.oApi=n.internal,k.oInit=p,_.push(k),k.oInstance=1===n.length?n:S.dataTable(),s(p),p.oLanguage&&a(p.oLanguage),p.aLengthMenu&&!p.iDisplayLength&&(p.iDisplayLength=t.isArray(p.aLengthMenu[0])?p.aLengthMenu[0][0]:p.aLengthMenu[0]),p=Nt(t.extend(!0,{},y),p),Lt(k.oFeatures,p,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" ")),Lt(k,p,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"],["bJQueryUI","bJUI"]]),Lt(k.oScroll,p,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),Lt(k.oLanguage,p,"fnInfoCallback"),jt(k,"aoDrawCallback",p.fnDrawCallback,"user"),jt(k,"aoServerParams",p.fnServerParams,"user"),jt(k,"aoStateSaveParams",p.fnStateSaveParams,"user"),jt(k,"aoStateLoadParams",p.fnStateLoadParams,"user"),jt(k,"aoStateLoaded",p.fnStateLoaded,"user"),jt(k,"aoRowCallback",p.fnRowCallback,"user"),jt(k,"aoRowCreatedCallback",p.fnCreatedRow,"user"),jt(k,"aoHeaderCallback",p.fnHeaderCallback,"user"),jt(k,"aoFooterCallback",p.fnFooterCallback,"user"),jt(k,"aoInitComplete",p.fnInitComplete,"user"),jt(k,"aoPreDrawCallback",p.fnPreDrawCallback,"user"),k.rowIdFn=M(p.rowId),u(k),m=k.oClasses,p.bJQueryUI?(t.extend(m,Ut.ext.oJUIClasses,p.oClasses),p.sDom===y.sDom&&"lfrtip"===y.sDom&&(k.sDom='<"H"lfr>t<"F"ip>'),k.renderer?t.isPlainObject(k.renderer)&&!k.renderer.header&&(k.renderer.header="jqueryui"):k.renderer="jqueryui"):t.extend(m,Ut.ext.classes,p.oClasses),S.addClass(m.sTable),k.iInitDisplayStart===i&&(k.iInitDisplayStart=p.iDisplayStart,k._iDisplayStart=p.iDisplayStart),null!==p.iDeferLoading&&(k.bDeferLoading=!0,g=t.isArray(p.iDeferLoading),k._iRecordsDisplay=g?p.iDeferLoading[0]:p.iDeferLoading,k._iRecordsTotal=g?p.iDeferLoading[1]:p.iDeferLoading);var T=k.oLanguage;t.extend(!0,T,p.oLanguage),""!==T.sUrl&&(t.ajax({dataType:"json",url:T.sUrl,success:function(e){a(e),o(y.oLanguage,e),t.extend(!0,T,e),ot(k)},error:function(){ot(k)}}),v=!0),null===p.asStripeClasses&&(k.asStripeClasses=[m.sStripeOdd,m.sStripeEven]);var g=k.asStripeClasses,D=S.children("tbody").find("tr").eq(0);if(-1!==t.inArray(!0,t.map(g,function(t){return D.hasClass(t)}))&&(t("tbody tr",this).removeClass(g.join(" ")),k.asDestroyStripes=g.slice()),_=[],g=this.getElementsByTagName("thead"),0!==g.length&&(H(k.aoHeader,g[0]),_=z(k)),null===p.aoColumns)for(C=[],g=0,f=_.length;g<f;g++)C.push(null);else C=p.aoColumns;for(g=0,f=C.length;g<f;g++)h(k,_?_[g]:null);if(b(k,p.aoColumnDefs,C,function(t,e){d(k,t,e)}),D.length){var A=function(t,e){return null!==t.getAttribute("data-"+e)?e:null};t(D[0]).children("th, td").each(function(t,e){var n=k.aoColumns[t];if(n.mData===t){var r=A(e,"sort")||A(e,"order"),o=A(e,"filter")||A(e,"search");null===r&&null===o||(n.mData={_:t+".display",sort:null!==r?t+".@data-"+r:i,type:null!==r?t+".@data-"+r:i,filter:null!==o?t+".@data-"+o:i},d(k,t))}})}var E=k.oFeatures;if(p.bStateSave&&(E.bStateSave=!0,Et(k,p),jt(k,"aoDrawCallback",At,"state_save")),p.aaSorting===i)for(_=k.aaSorting,g=0,f=_.length;g<f;g++)_[g][1]=k.aoColumns[g].asSorting[0];if(Tt(k),E.bSort&&jt(k,"aoDrawCallback",function(){if(k.bSorted){var e=St(k),n={};t.each(e,function(t,e){n[e.src]=e.dir}),Ft(k,null,"order",[k,e,n]),Ct(k)}}),jt(k,"aoDrawCallback",function(){(k.bSorted||"ssp"===zt(k)||E.bDeferRender)&&Tt(k)},"sc"),g=S.children("caption").each(function(){this._captionSide=S.css("caption-side")}),f=S.children("thead"),0===f.length&&(f=t("<thead/>").appendTo(this)),k.nTHead=f[0],f=S.children("tbody"),0===f.length&&(f=t("<tbody/>").appendTo(this)),k.nTBody=f[0],f=S.children("tfoot"),0===f.length&&0<g.length&&(""!==k.oScroll.sX||""!==k.oScroll.sY)&&(f=t("<tfoot/>").appendTo(this)),0===f.length||0===f.children().length?S.addClass(m.sNoFooter):0<f.length&&(k.nTFoot=f[0],H(k.aoFooter,k.nTFoot)),p.aaData)for(g=0;g<p.aaData.length;g++)x(k,p.aaData[g]);else(k.bDeferLoading||"dom"==zt(k))&&w(k,t(k.nTBody).children("tr"));k.aiDisplay=k.aiDisplayMaster.slice(),k.bInitialised=!0,!1===v&&ot(k)}}),n=null,this};var ye=[],be=Array.prototype,xe=function(e){var n,i,r=Ut.settings,o=t.map(r,function(t){return t.nTable});return e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?(n=t.inArray(e,o),-1!==n?[r[n]]:null):e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?i=t(e):e instanceof t&&(i=e),i?i.map(function(){return n=t.inArray(this,o),-1!==n?r[n]:null}).toArray():void 0):[]};Yt=function(e,n){if(!(this instanceof Yt))return new Yt(e,n);var i=[],r=function(t){(t=xe(t))&&(i=i.concat(t))};if(t.isArray(e))for(var o=0,a=e.length;o<a;o++)r(e[o]);else r(e);this.context=he(i),n&&t.merge(this,n),this.selector={rows:null,cols:null,opts:null},Yt.extend(this,this,ye)},Ut.Api=Yt,t.extend(Yt.prototype,{any:function(){return 0!==this.count()},concat:be.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;e<n;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new Yt(e[t],this[t]):null},filter:function(t){var e=[];if(be.filter)e=be.filter.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)t.call(this,this[n],n,this)&&e.push(this[n]);return new Yt(this.context,e)},flatten:function(){var t=[];return new Yt(this.context,t.concat.apply(t,this.toArray()))},join:be.join,indexOf:be.indexOf||function(t,e){for(var n=e||0,i=this.length;n<i;n++)if(this[n]===t)return n;return-1},iterator:function(t,e,n,r){var o,a,s,l,u,c,h,d=[],f=this.context,p=this.selector;for("string"==typeof t&&(r=n,n=e,e=t,t=!1),a=0,s=f.length;a<s;a++){var g=new Yt(f[a]);if("table"===e)o=n.call(g,f[a],a),o!==i&&d.push(o);else if("columns"===e||"rows"===e)o=n.call(g,f[a],this[a],a),o!==i&&d.push(o);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(h=this[a],"column-rows"===e&&(c=Me(f[a],p.opts)),l=0,u=h.length;l<u;l++)o=h[l],o="cell"===e?n.call(g,f[a],o.row,o.column,a,l):n.call(g,f[a],o,a,l,c),o!==i&&d.push(o)}return d.length||r?(t=new Yt(f,t?d.concat.apply([],d):d),e=t.selector,e.rows=p.rows,e.cols=p.cols,e.opts=p.opts,t):this},lastIndexOf:be.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(be.map)e=be.map.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)e.push(t.call(this,this[n],n));return new Yt(this.context,e)},pluck:function(t){return this.map(function(e){return e[t]})},pop:be.pop,push:be.push,reduce:be.reduce||function(t,e){return c(this,t,e,0,this.length,1)},reduceRight:be.reduceRight||function(t,e){return c(this,t,e,this.length-1,-1,-1)},reverse:be.reverse,selector:null,shift:be.shift,sort:be.sort,splice:be.splice,toArray:function(){return be.slice.call(this)},to$:function(){return t(this)},toJQuery:function(){return t(this)},unique:function(){return new Yt(this.context,he(this))},unshift:be.unshift}),Yt.extend=function(e,n,i){if(i.length&&n&&(n instanceof Yt||n.__dt_wrapper)){var r,o,a,s=function(t,e,n){return function(){var i=e.apply(t,arguments);return Yt.extend(i,i,n.methodExt),i}};for(r=0,o=i.length;r<o;r++)a=i[r],n[a.name]="function"==typeof a.val?s(e,a.val,a):t.isPlainObject(a.val)?{}:a.val,n[a.name].__dt_wrapper=!0,Yt.extend(e,n[a.name],a.propExt)}},Yt.register=Gt=function(e,n){if(t.isArray(e))for(var i=0,r=e.length;i<r;i++)Yt.register(e[i],n);else for(var o,a,s=e.split("."),l=ye,i=0,r=s.length;i<r;i++){o=(a=-1!==s[i].indexOf("()"))?s[i].replace("()",""):s[i];var u;t:{u=0;for(var c=l.length;u<c;u++)if(l[u].name===o){u=l[u];break t}u=null}u||(u={name:o,val:{},methodExt:[],propExt:[]},l.push(u)),i===r-1?u.val=n:l=a?u.methodExt:u.propExt}},Yt.registerPlural=Xt=function(e,n,r){Yt.register(e,r),Yt.register(n,function(){var e=r.apply(this,arguments);return e===this?this:e instanceof Yt?e.length?t.isArray(e[0])?new Yt(e.context,e[0]):e[0]:i:e})},Gt("tables()",function(e){var n;if(e){n=Yt;var i=this.context;if("number"==typeof e)e=[i[e]];else var r=t.map(i,function(t){return t.nTable}),e=t(r).filter(e).map(function(){var e=t.inArray(this,r);return i[e]}).toArray();n=new n(e)}else n=this;return n}),Gt("table()",function(t){var t=this.tables(t),e=t.context;return e.length?new Yt(e[0]):t}),Xt("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),Xt("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),Xt("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),Xt("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),Xt("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),Gt("draw()",function(t){return this.iterator("table",function(e){"page"===t?j(e):("string"==typeof t&&(t="full-hold"!==t),F(e,!1===t))})}),Gt("page()",function(t){return t===i?this.page.info().page:this.iterator("table",function(e){ct(e,t)})}),Gt("page.info()",function(){if(0===this.context.length)return i;var t=this.context[0],e=t._iDisplayStart,n=t.oFeatures.bPaginate?t._iDisplayLength:-1,r=t.fnRecordsDisplay(),o=-1===n;return{page:o?0:Math.floor(e/n),pages:o?1:Math.ceil(r/n),start:e,end:t.fnDisplayEnd(),length:n,recordsTotal:t.fnRecordsTotal(),recordsDisplay:r,serverSide:"ssp"===zt(t)}}),Gt("page.len()",function(t){return t===i?0!==this.context.length?this.context[0]._iDisplayLength:i:this.iterator("table",function(e){st(e,t)})});var we=function(t,e,n){if(n){var i=new Yt(t);i.one("draw",function(){n(i.ajax.json())})}if("ssp"==zt(t))F(t,e);else{dt(t,!0);var r=t.jqXHR;r&&4!==r.readyState&&r.abort(),B(t,[],function(n){D(t);for(var n=q(t,n),i=0,r=n.length;i<r;i++)x(t,n[i]);F(t,e),dt(t,!1)})}};Gt("ajax.json()",function(){var t=this.context;if(0<t.length)return t[0].json}),Gt("ajax.params()",function(){var t=this.context;if(0<t.length)return t[0].oAjaxData}),Gt("ajax.reload()",function(t,e){return this.iterator("table",function(n){we(n,!1===e,t)})}),Gt("ajax.url()",function(e){var n=this.context;return e===i?0===n.length?i:(n=n[0],n.ajax?t.isPlainObject(n.ajax)?n.ajax.url:n.ajax:n.sAjaxSource):this.iterator("table",function(n){t.isPlainObject(n.ajax)?n.ajax.url=e:n.ajax=e})}),Gt("ajax.url().load()",function(t,e){return this.iterator("table",function(n){we(n,!1===e,t)})});var Se=function(e,n,r,o,a){var s,l,u,c,h,d,f=[];for(u=typeof n,n&&"string"!==u&&"function"!==u&&n.length!==i||(n=[n]),u=0,c=n.length;u<c;u++)for(l=n[u]&&n[u].split?n[u].split(","):[n[u]],h=0,d=l.length;h<d;h++)(s=r("string"==typeof l[h]?t.trim(l[h]):l[h]))&&s.length&&(f=f.concat(s));if(e=qt.selector[e],e.length)for(u=0,c=e.length;u<c;u++)f=e[u](o,a,f);return he(f)},_e=function(e){return e||(e={}),e.filter&&e.search===i&&(e.search=e.filter),t.extend({search:"none",order:"current",page:"all"},e)},Ce=function(t){for(var e=0,n=t.length;e<n;e++)if(0<t[e].length)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t},Me=function(e,n){var i,r,o,a=[],s=e.aiDisplay;i=e.aiDisplayMaster;var l=n.search;if(r=n.order,o=n.page,"ssp"==zt(e))return"removed"===l?[]:ue(0,i.length);if("current"==o)for(i=e._iDisplayStart,r=e.fnDisplayEnd();i<r;i++)a.push(s[i]);else if("current"==r||"applied"==r)a="none"==l?i.slice():"applied"==l?s.slice():t.map(i,function(e){return-1===t.inArray(e,s)?e:null});else if("index"==r||"original"==r)for(i=0,r=e.aoData.length;i<r;i++)"none"==l?a.push(i):(o=t.inArray(i,s),(-1===o&&"removed"==l||0<=o&&"applied"==l)&&a.push(i));return a};Gt("rows()",function(e,n){e===i?e="":t.isPlainObject(e)&&(n=e,e="");var n=_e(n),r=this.iterator("table",function(r){var o=n;return Se("row",e,function(e){var n=ie(e);if(null!==n&&!o)return[n];var a=Me(r,o);return null!==n&&t.inArray(n,a)!==-1?[n]:e?"function"==typeof e?t.map(a,function(t){var n=r.aoData[t];return e(t,n._aData,n.nTr)?t:null}):(n=ce(le(r.aoData,a,"nTr")),e.nodeName?e._DT_RowIndex!==i?[e._DT_RowIndex]:e._DT_CellIndex?[e._DT_CellIndex.row]:(n=t(e).closest("*[data-dt-row]"),n.length?[n.data("dt-row")]:[]):"string"==typeof e&&"#"===e.charAt(0)&&(a=r.aIds[e.replace(/^#/,"")],a!==i)?[a.idx]:t(n).filter(e).map(function(){return this._DT_RowIndex}).toArray()):a},r,o)},1);return r.selector.rows=e,r.selector.opts=n,r}),Gt("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||i},1)}),Gt("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return le(t.aoData,e,"_aData")},1)}),Xt("rows().cache()","row().cache()",function(t){return this.iterator("row",function(e,n){var i=e.aoData[n];return"search"===t?i._aFilterData:i._aSortData},1)}),Xt("rows().invalidate()","row().invalidate()",function(t){return this.iterator("row",function(e,n){E(e,n,t)})}),Xt("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),Xt("rows().ids()","row().id()",function(t){for(var e=[],n=this.context,i=0,r=n.length;i<r;i++)for(var o=0,a=this[i].length;o<a;o++){var s=n[i].rowIdFn(n[i].aoData[this[i][o]]._aData);e.push((!0===t?"#":"")+s)}return new Yt(n,e)}),Xt("rows().remove()","row().remove()",function(){var t=this;return this.iterator("row",function(e,n,r){var o,a,s,l,u,c=e.aoData,h=c[n];for(c.splice(n,1),o=0,a=c.length;o<a;o++)if(s=c[o],u=s.anCells,null!==s.nTr&&(s.nTr._DT_RowIndex=o),null!==u)for(s=0,l=u.length;s<l;s++)u[s]._DT_CellIndex.row=o;A(e.aiDisplayMaster,n),A(e.aiDisplay,n),A(t[r],n,!1),Rt(e),n=e.rowIdFn(h._aData),n!==i&&delete e.aIds[n]}),this.iterator("table",function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e}),this}),Gt("rows.add()",function(e){var n=this.iterator("table",function(t){var n,i,r,o=[];for(i=0,r=e.length;i<r;i++)n=e[i],n.nodeName&&"TR"===n.nodeName.toUpperCase()?o.push(w(t,n)[0]):o.push(x(t,n));return o},1),i=this.rows(-1);return i.pop(),t.merge(i,n),i}),Gt("row()",function(t,e){return Ce(this.rows(t,e))}),Gt("row().data()",function(t){var e=this.context;return t===i?e.length&&this.length?e[0].aoData[this[0]]._aData:i:(e[0].aoData[this[0]]._aData=t,E(e[0],this[0],"data"),this)}),Gt("row().node()",function(){var t=this.context;return t.length&&this.length?t[0].aoData[this[0]].nTr||null:null}),Gt("row.add()",function(e){e instanceof t&&e.length&&(e=e[0]);var n=this.iterator("table",function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?w(t,e)[0]:x(t,e)});return this.row(n[0])});var ke=function(t,e){var n=t.context;n.length&&(n=n[0].aoData[e!==i?e:t[0]])&&n._details&&(n._details.remove(),n._detailsShow=i,n._details=i)},Te=function(t,e){var n=t.context;if(n.length&&t.length){var i=n[0].aoData[t[0]];if(i._details){(i._detailsShow=e)?i._details.insertAfter(i.nTr):i._details.detach();var r=n[0],o=new Yt(r),a=r.aoData;o.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"),0<se(a,"_details").length&&(o.on("draw.dt.DT_details",function(t,e){r===e&&o.rows({page:"current"}).eq(0).each(function(t){t=a[t],t._detailsShow&&t._details.insertAfter(t.nTr)})}),o.on("column-visibility.dt.DT_details",function(t,e){if(r===e)for(var n,i=m(e),o=0,s=a.length;o<s;o++)n=a[o],n._details&&n._details.children("td[colspan]").attr("colspan",i)}),o.on("destroy.dt.DT_details",function(t,e){if(r===e)for(var n=0,i=a.length;n<i;n++)a[n]._details&&ke(o,n)}))}}};Gt("row().child()",function(e,n){var r=this.context;if(e===i)return r.length&&this.length?r[0].aoData[this[0]]._details:i;if(!0===e)this.child.show();else if(!1===e)ke(this);else if(r.length&&this.length){var o=r[0],r=r[0].aoData[this[0]],a=[],s=function(e,n){if(t.isArray(e)||e instanceof t)for(var i=0,r=e.length;i<r;i++)s(e[i],n);else e.nodeName&&"tr"===e.nodeName.toLowerCase()?a.push(e):(i=t("<tr><td/></tr>").addClass(n),t("td",i).addClass(n).html(e)[0].colSpan=m(o),a.push(i[0]))};s(e,n),r._details&&r._details.remove(),r._details=t(a),r._detailsShow&&r._details.insertAfter(r.nTr)}return this}),Gt(["row().child.show()","row().child().show()"],function(){return Te(this,!0),this}),Gt(["row().child.hide()","row().child().hide()"],function(){return Te(this,!1),this}),Gt(["row().child.remove()","row().child().remove()"],function(){return ke(this),this}),Gt("row().child.isShown()",function(){var t=this.context;return!(!t.length||!this.length)&&(t[0].aoData[this[0]]._detailsShow||!1)});var De=/^(.+):(name|visIdx|visible)$/,Ae=function(t,e,n,i,r){for(var n=[],i=0,o=r.length;i<o;i++)n.push(S(t,r[i],e));return n};Gt("columns()",function(e,n){e===i?e="":t.isPlainObject(e)&&(n=e,e="");var n=_e(n),r=this.iterator("table",function(i){var r=e,o=n,a=i.aoColumns,s=se(a,"sName"),l=se(a,"nTh");return Se("column",r,function(e){var n=ie(e);if(""===e)return ue(a.length);if(null!==n)return[n>=0?n:a.length+n];if("function"==typeof e){var r=Me(i,o);return t.map(a,function(t,n){return e(n,Ae(i,n,0,0,r),l[n])?n:null})}var u="string"==typeof e?e.match(De):"";if(u)switch(u[2]){case"visIdx":case"visible":if(n=parseInt(u[1],10),n<0){var c=t.map(a,function(t,e){return t.bVisible?e:null});return[c[c.length+n]]}return[p(i,n)];case"name":return t.map(s,function(t,e){return t===u[1]?e:null});default:return[]}return e.nodeName&&e._DT_CellIndex?[e._DT_CellIndex.column]:(n=t(l).filter(e).map(function(){return t.inArray(this,l)}).toArray(),n.length||!e.nodeName?n:(n=t(e).closest("*[data-dt-column]"),n.length?[n.data("dt-column")]:[]))},i,o)},1);return r.selector.cols=e,r.selector.opts=n,r}),Xt("columns().header()","column().header()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),Xt("columns().footer()","column().footer()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),Xt("columns().data()","column().data()",function(){return this.iterator("column-rows",Ae,1)}),Xt("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),Xt("columns().cache()","column().cache()",function(t){return this.iterator("column-rows",function(e,n,i,r,o){return le(e.aoData,o,"search"===t?"_aFilterData":"_aSortData",n)},1)}),Xt("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,n,i,r){return le(t.aoData,r,"anCells",e)},1)}),Xt("columns().visible()","column().visible()",function(e,n){return this.iterator("column",function(r,o){if(e===i)return r.aoColumns[o].bVisible;var a,s,l,u=r.aoColumns,c=u[o],h=r.aoData;if(e!==i&&c.bVisible!==e){if(e){var d=t.inArray(!0,se(u,"bVisible"),o+1);for(a=0,s=h.length;a<s;a++)l=h[a].nTr,u=h[a].anCells,l&&l.insertBefore(u[o],u[d]||null)}else t(se(r.aoData,"anCells",o)).detach();c.bVisible=e,I(r,r.aoHeader),I(r,r.aoFooter),(n===i||n)&&f(r),Ft(r,null,"column-visibility",[r,o,e,n]),At(r)}})}),Xt("columns().indexes()","column().index()",function(t){return this.iterator("column",function(e,n){return"visible"===t?g(e,n):n},1)}),Gt("columns.adjust()",function(){return this.iterator("table",function(t){f(t)},1)}),Gt("column.index()",function(t,e){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===t||"toData"===t)return p(n,e);if("fromData"===t||"toVisible"===t)return g(n,e)}}),Gt("column()",function(t,e){return Ce(this.columns(t,e))}),Gt("cells()",function(e,n,r){if(t.isPlainObject(e)&&(e.row===i?(r=e,e=null):(r=n,n=null)),t.isPlainObject(n)&&(r=n,n=null),null===n||n===i)return this.iterator("table",function(n){var o,a,s,l,u,c,h,d=e,f=_e(r),p=n.aoData,g=Me(n,f),m=ce(le(p,g,"anCells")),v=t([].concat.apply([],m)),y=n.aoColumns.length;return Se("cell",d,function(e){var r="function"==typeof e;if(null===e||e===i||r){for(a=[],s=0,l=g.length;s<l;s++)for(o=g[s],u=0;u<y;u++)c={row:o,column:u},r?(h=p[o],e(c,S(n,o,u),h.anCells?h.anCells[u]:null)&&a.push(c)):a.push(c);return a}return t.isPlainObject(e)?[e]:(r=v.filter(e).map(function(t,e){return{row:e._DT_CellIndex.row, 16 column:e._DT_CellIndex.column}}).toArray(),r.length||!e.nodeName?r:(h=t(e).closest("*[data-dt-row]"),h.length?[{row:h.data("dt-row"),column:h.data("dt-column")}]:[]))},n,f)});var o,a,s,l,u,c=this.columns(n,r),h=this.rows(e,r),d=this.iterator("table",function(t,e){for(o=[],a=0,s=h[e].length;a<s;a++)for(l=0,u=c[e].length;l<u;l++)o.push({row:h[e][a],column:c[e][l]});return o},1);return t.extend(d.selector,{cols:n,rows:e,opts:r}),d}),Xt("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,n){return(t=t.aoData[e])&&t.anCells?t.anCells[n]:i},1)}),Gt("cells().data()",function(){return this.iterator("cell",function(t,e,n){return S(t,e,n)},1)}),Xt("cells().cache()","cell().cache()",function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",function(e,n,i){return e.aoData[n][t][i]},1)}),Xt("cells().render()","cell().render()",function(t){return this.iterator("cell",function(e,n,i){return S(e,n,i,t)},1)}),Xt("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,n){return{row:e,column:n,columnVisible:g(t,n)}},1)}),Xt("cells().invalidate()","cell().invalidate()",function(t){return this.iterator("cell",function(e,n,i){E(e,n,t,i)})}),Gt("cell()",function(t,e,n){return Ce(this.cells(t,e,n))}),Gt("cell().data()",function(t){var e=this.context,n=this[0];return t===i?e.length&&n.length?S(e[0],n[0].row,n[0].column):i:(_(e[0],n[0].row,n[0].column,t),E(e[0],n[0].row,"data",n[0].column),this)}),Gt("order()",function(e,n){var r=this.context;return e===i?0!==r.length?r[0].aaSorting:i:("number"==typeof e?e=[[e,n]]:t.isArray(e[0])||(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(t){t.aaSorting=e.slice()}))}),Gt("order.listener()",function(t,e,n){return this.iterator("table",function(i){kt(i,t,e,n)})}),Gt("order.fixed()",function(e){if(!e){var n=this.context,n=n.length?n[0].aaSortingFixed:i;return t.isArray(n)?{pre:n}:n}return this.iterator("table",function(n){n.aaSortingFixed=t.extend(!0,{},e)})}),Gt(["columns().order()","column().order()"],function(e){var n=this;return this.iterator("table",function(i,r){var o=[];t.each(n[r],function(t,n){o.push([n,e])}),i.aaSorting=o})}),Gt("search()",function(e,n,r,o){var a=this.context;return e===i?0!==a.length?a[0].oPreviousSearch.sSearch:i:this.iterator("table",function(i){i.oFeatures.bFilter&&G(i,t.extend({},i.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===r||r,bCaseInsensitive:null===o||o}),1)})}),Xt("columns().search()","column().search()",function(e,n,r,o){return this.iterator("column",function(a,s){var l=a.aoPreSearchCols;return e===i?l[s].sSearch:void(a.oFeatures.bFilter&&(t.extend(l[s],{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===r||r,bCaseInsensitive:null===o||o}),G(a,a.oPreviousSearch,1)))})}),Gt("state()",function(){return this.context.length?this.context[0].oSavedState:null}),Gt("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),Gt("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),Gt("state.save()",function(){return this.iterator("table",function(t){At(t)})}),Ut.versionCheck=Ut.fnVersionCheck=function(t){for(var e,n,i=Ut.version.split("."),t=t.split("."),r=0,o=t.length;r<o;r++)if(e=parseInt(i[r],10)||0,n=parseInt(t[r],10)||0,e!==n)return e>n;return!0},Ut.isDataTable=Ut.fnIsDataTable=function(e){var n=t(e).get(0),i=!1;return t.each(Ut.settings,function(e,r){var o=r.nScrollHead?t("table",r.nScrollHead)[0]:null,a=r.nScrollFoot?t("table",r.nScrollFoot)[0]:null;r.nTable!==n&&o!==n&&a!==n||(i=!0)}),i},Ut.tables=Ut.fnTables=function(e){var n=!1;t.isPlainObject(e)&&(n=e.api,e=e.visible);var i=t.map(Ut.settings,function(n){if(!e||e&&t(n.nTable).is(":visible"))return n.nTable});return n?new Yt(i):i},Ut.util={throttle:vt,escapeRegex:J},Ut.camelToHungarian=o,Gt("$()",function(e,n){var i=this.rows(n).nodes(),i=t(i);return t([].concat(i.filter(e).toArray(),i.find(e).toArray()))}),t.each(["on","one","off"],function(e,n){Gt(n+"()",function(){var e=Array.prototype.slice.call(arguments);e[0].match(/\.dt\b/)||(e[0]+=".dt");var i=t(this.tables().nodes());return i[n].apply(i,e),this})}),Gt("clear()",function(){return this.iterator("table",function(t){D(t)})}),Gt("settings()",function(){return new Yt(this.context,this.context)}),Gt("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),Gt("data()",function(){return this.iterator("table",function(t){return se(t.aoData,"_aData")}).flatten()}),Gt("destroy()",function(n){return n=n||!1,this.iterator("table",function(i){var r,o=i.nTableWrapper.parentNode,a=i.oClasses,s=i.nTable,l=i.nTBody,u=i.nTHead,c=i.nTFoot,h=t(s),l=t(l),d=t(i.nTableWrapper),f=t.map(i.aoData,function(t){return t.nTr});i.bDestroying=!0,Ft(i,"aoDestroyCallback","destroy",[i]),n||new Yt(i).columns().visible(!0),d.unbind(".DT").find(":not(tbody *)").unbind(".DT"),t(e).unbind(".DT-"+i.sInstance),s!=u.parentNode&&(h.children("thead").detach(),h.append(u)),c&&s!=c.parentNode&&(h.children("tfoot").detach(),h.append(c)),i.aaSorting=[],i.aaSortingFixed=[],Tt(i),t(f).removeClass(i.asStripeClasses.join(" ")),t("th, td",u).removeClass(a.sSortable+" "+a.sSortableAsc+" "+a.sSortableDesc+" "+a.sSortableNone),i.bJUI&&(t("th span."+a.sSortIcon+", td span."+a.sSortIcon,u).detach(),t("th, td",u).each(function(){var e=t("div."+a.sSortJUIWrapper,this);t(this).append(e.contents()),e.detach()})),l.children().detach(),l.append(f),u=n?"remove":"detach",h[u](),d[u](),!n&&o&&(o.insertBefore(s,i.nTableReinsertBefore),h.css("width",i.sDestroyWidth).removeClass(a.sTable),(r=i.asDestroyStripes.length)&&l.children().each(function(e){t(this).addClass(i.asDestroyStripes[e%r])})),o=t.inArray(i,Ut.settings),-1!==o&&Ut.settings.splice(o,1)})}),t.each(["column","row","cell"],function(t,e){Gt(e+"s().every()",function(t){var n=this.selector.opts,r=this;return this.iterator(e,function(o,a,s,l,u){t.call(r[e](a,"cell"===e?s:n,"cell"===e?n:i),a,s,l,u)})})}),Gt("i18n()",function(e,n,r){var o=this.context[0],e=M(e)(o.oLanguage);return e===i&&(e=n),r!==i&&t.isPlainObject(e)&&(e=e[r]!==i?e[r]:e._),e.replace("%d",r)}),Ut.version="1.10.11",Ut.settings=[],Ut.models={},Ut.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},Ut.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},Ut.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},Ut.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:t.extend({},Ut.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},r(Ut.defaults),Ut.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},r(Ut.defaults.column),Ut.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:i,oAjaxData:i,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==zt(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==zt(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,i=this.aiDisplay.length,r=this.oFeatures,o=r.bPaginate;return r.bServerSide?!1===o||-1===t?e+i:Math.min(e+t,this._iRecordsDisplay):!o||n>i||-1===t?i:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},Ut.ext=qt={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:Ut.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:Ut.version},t.extend(qt,{afnFiltering:qt.search,aTypes:qt.type.detect,ofnSearch:qt.type.search,oSort:qt.type.order,afnSortData:qt.order,aoFeatures:qt.feature,oApi:qt.internal,oStdClasses:qt.classes,oPagination:qt.pager}),t.extend(Ut.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ee="",Ee="",Pe=Ee+"ui-state-default",Oe=Ee+"css_right ui-icon ui-icon-",Le=Ee+"fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix";t.extend(Ut.ext.oJUIClasses,Ut.ext.classes,{sPageButton:"fg-button ui-button "+Pe,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:Pe+" sorting_asc",sSortDesc:Pe+" sorting_desc",sSortable:Pe+" sorting",sSortableAsc:Pe+" sorting_asc_disabled",sSortableDesc:Pe+" sorting_desc_disabled",sSortableNone:Pe+" sorting_disabled",sSortJUIAsc:Oe+"triangle-1-n",sSortJUIDesc:Oe+"triangle-1-s",sSortJUI:Oe+"carat-2-n-s",sSortJUIAscAllowed:Oe+"carat-1-n",sSortJUIDescAllowed:Oe+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+Pe,sScrollFoot:"dataTables_scrollFoot "+Pe,sHeaderTH:Pe,sFooterTH:Pe,sJUIHeader:Le+" ui-corner-tl ui-corner-tr",sJUIFooter:Le+" ui-corner-bl ui-corner-br"});var Ne=Ut.ext.pager;t.extend(Ne,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(t,e){return[Bt(t,e)]},simple_numbers:function(t,e){return["previous",Bt(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Bt(t,e),"next","last"]},_numbers:Bt,numbers_length:7}),t.extend(!0,Ut.ext.renderer,{pageButton:{_:function(e,i,r,o,a,s){var l,u,c,h=e.oClasses,d=e.oLanguage.oPaginate,f=e.oLanguage.oAria.paginate||{},p=0,g=function(n,i){var o,c,m,v,y=function(t){ct(e,t.data.action,!0)};for(o=0,c=i.length;o<c;o++)if(v=i[o],t.isArray(v))m=t("<"+(v.DT_el||"div")+"/>").appendTo(n),g(m,v);else{switch(l=null,u="",v){case"ellipsis":n.append('<span class="ellipsis">…</span>');break;case"first":l=d.sFirst,u=v+(a>0?"":" "+h.sPageButtonDisabled);break;case"previous":l=d.sPrevious,u=v+(a>0?"":" "+h.sPageButtonDisabled);break;case"next":l=d.sNext,u=v+(a<s-1?"":" "+h.sPageButtonDisabled);break;case"last":l=d.sLast,u=v+(a<s-1?"":" "+h.sPageButtonDisabled);break;default:l=v+1,u=a===v?h.sPageButtonActive:""}null!==l&&(m=t("<a>",{class:h.sPageButton+" "+u,"aria-controls":e.sTableId,"aria-label":f[v],"data-dt-idx":p,tabindex:e.iTabIndex,id:0===r&&"string"==typeof v?e.sTableId+"_"+v:null}).html(l).appendTo(n),It(m,{action:v},y),p++)}};try{c=t(i).find(n.activeElement).data("dt-idx")}catch(t){}g(t(i).empty(),o),c&&t(i).find("[data-dt-idx="+c+"]").focus()}}}),t.extend(Ut.ext.type.detect,[function(t,e){var n=e.oLanguage.sDecimal;return oe(t,n)?"num"+n:null},function(t){if(t&&!(t instanceof Date)&&(!Jt.test(t)||!Qt.test(t)))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||ne(t)?"date":null},function(t,e){var n=e.oLanguage.sDecimal;return oe(t,n,!0)?"num-fmt"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return ae(t,n)?"html-num"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return ae(t,n,!0)?"html-num-fmt"+n:null},function(t){return ne(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),t.extend(Ut.ext.type.search,{html:function(t){return ne(t)?t:"string"==typeof t?t.replace(Zt," ").replace(Kt,""):""},string:function(t){return ne(t)?t:"string"==typeof t?t.replace(Zt," "):t}});var Ie=function(t,e,n,i){return 0===t||t&&"-"!==t?(e&&(t=re(t,e)),t.replace&&(n&&(t=t.replace(n,"")),i&&(t=t.replace(i,""))),1*t):-(1/0)};t.extend(qt.type.order,{"date-pre":function(t){return Date.parse(t)||0},"html-pre":function(t){return ne(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return ne(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:t>e?1:0},"string-desc":function(t,e){return t<e?1:t>e?-1:0}}),Wt(""),t.extend(!0,Ut.ext.renderer,{header:{_:function(e,n,i,r){t(e.nTable).on("order.dt.DT",function(t,o,a,s){e===o&&(t=i.idx,n.removeClass(i.sSortingClass+" "+r.sSortAsc+" "+r.sSortDesc).addClass("asc"==s[t]?r.sSortAsc:"desc"==s[t]?r.sSortDesc:i.sSortingClass))})},jqueryui:function(e,n,i,r){t("<div/>").addClass(r.sSortJUIWrapper).append(n.contents()).append(t("<span/>").addClass(r.sSortIcon+" "+i.sSortingClassJUI)).appendTo(n),t(e.nTable).on("order.dt.DT",function(t,o,a,s){e===o&&(t=i.idx,n.removeClass(r.sSortAsc+" "+r.sSortDesc).addClass("asc"==s[t]?r.sSortAsc:"desc"==s[t]?r.sSortDesc:i.sSortingClass),n.find("span."+r.sSortIcon).removeClass(r.sSortJUIAsc+" "+r.sSortJUIDesc+" "+r.sSortJUI+" "+r.sSortJUIAscAllowed+" "+r.sSortJUIDescAllowed).addClass("asc"==s[t]?r.sSortJUIAsc:"desc"==s[t]?r.sSortJUIDesc:i.sSortingClassJUI))})}}});var je=function(t){return"string"==typeof t?t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):t};return Ut.render={number:function(t,e,n,i,r){return{display:function(o){if("number"!=typeof o&&"string"!=typeof o)return o;var a=0>o?"-":"",s=parseFloat(o);return isNaN(s)?je(o):(o=Math.abs(s),s=parseInt(o,10),o=n?e+(o-s).toFixed(n).substring(2):"",a+(i||"")+s.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+o+(r||""))}}},text:function(){return{display:je}}},t.extend(Ut.ext.internal,{_fnExternApiFunc:$t,_fnBuildAjax:B,_fnAjaxUpdate:W,_fnAjaxParameters:$,_fnAjaxUpdateDraw:U,_fnAjaxDataSrc:q,_fnAddColumn:h,_fnColumnOptions:d,_fnAdjustColumnSizing:f,_fnVisibleToColumnIndex:p,_fnColumnIndexToVisible:g,_fnVisbleColumns:m,_fnGetColumns:v,_fnColumnTypes:y,_fnApplyColumnDefs:b,_fnHungarianMap:r,_fnCamelToHungarian:o,_fnLanguageCompat:a,_fnBrowserDetect:u,_fnAddData:x,_fnAddTr:w,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==i?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(e,n,i){return t.inArray(i,e.aoData[n].anCells)},_fnGetCellData:S,_fnSetCellData:_,_fnSplitObjNotation:C,_fnGetObjectDataFn:M,_fnSetObjectDataFn:k,_fnGetDataMaster:T,_fnClearTable:D,_fnDeleteIndex:A,_fnInvalidate:E,_fnGetRowElements:P,_fnCreateTr:O,_fnBuildHead:N,_fnDrawHead:I,_fnDraw:j,_fnReDraw:F,_fnAddOptionsHtml:R,_fnDetectHeader:H,_fnGetUniqueThs:z,_fnFeatureHtmlFilter:Y,_fnFilterComplete:G,_fnFilterCustom:X,_fnFilterColumn:V,_fnFilter:Z,_fnFilterCreateSearch:K,_fnEscapeRegex:J,_fnFilterData:Q,_fnFeatureHtmlInfo:nt,_fnUpdateInfo:it,_fnInfoMacros:rt,_fnInitialise:ot,_fnInitComplete:at,_fnLengthChange:st,_fnFeatureHtmlLength:lt,_fnFeatureHtmlPaginate:ut,_fnPageChange:ct,_fnFeatureHtmlProcessing:ht,_fnProcessingDisplay:dt,_fnFeatureHtmlTable:ft,_fnScrollDraw:pt,_fnApplyToChildren:gt,_fnCalculateColumnWidths:mt,_fnThrottle:vt,_fnConvertToWidth:yt,_fnGetWidestNode:bt,_fnGetMaxLenString:xt,_fnStringToCss:wt,_fnSortFlatten:St,_fnSort:_t,_fnSortAria:Ct,_fnSortListener:Mt,_fnSortAttachListener:kt,_fnSortingClasses:Tt,_fnSortData:Dt,_fnSaveState:At,_fnLoadState:Et,_fnSettingsFromNode:Pt,_fnLog:Ot,_fnMap:Lt,_fnBindAction:It,_fnCallbackReg:jt,_fnCallbackFire:Ft,_fnLengthOverflow:Rt,_fnRenderer:Ht,_fnDataSource:zt,_fnRowAttributes:L,_fnCalculateEnd:function(){}}),t.fn.dataTable=Ut,Ut.$=t,t.fn.dataTableSettings=Ut.settings,t.fn.dataTableExt=Ut.ext,t.fn.DataTable=function(e){return t(this).dataTable(e).api()},t.each(Ut,function(e,n){t.fn.DataTable[e]=n}),t.fn.dataTable}),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e||(e=window),n&&n.fn.dataTable||(n=require("datatables.net")(e,n).$),t(n,e,e.document)}:t(jQuery,window,document)}(function(t,e,n,i){"use strict";var r=t.fn.dataTable;return t.extend(!0,r.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"}),t.extend(r.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"}),r.ext.renderer.pageButton.bootstrap=function(e,i,o,a,s,l){var u,c,h,d=new r.Api(e),f=e.oClasses,p=e.oLanguage.oPaginate,g=e.oLanguage.oAria.paginate||{},m=0,v=function(n,i){var r,a,h,y,b=function(e){e.preventDefault(),t(e.currentTarget).hasClass("disabled")||d.page()==e.data.action||d.page(e.data.action).draw("page")};for(r=0,a=i.length;r<a;r++)if(y=i[r],t.isArray(y))v(n,y);else{switch(u="",c="",y){case"ellipsis":u="…",c="disabled";break;case"first":u=p.sFirst,c=y+(s>0?"":" disabled");break;case"previous":u=p.sPrevious,c=y+(s>0?"":" disabled");break;case"next":u=p.sNext,c=y+(s<l-1?"":" disabled");break;case"last":u=p.sLast,c=y+(s<l-1?"":" disabled");break;default:u=y+1,c=s===y?"active":""}u&&(h=t("<li>",{class:f.sPageButton+" "+c,id:0===o&&"string"==typeof y?e.sTableId+"_"+y:null}).append(t("<a>",{href:"#","aria-controls":e.sTableId,"aria-label":g[y],"data-dt-idx":m,tabindex:e.iTabIndex}).html(u)).appendTo(n),e.oApi._fnBindAction(h,{action:y},b),m++)}};try{h=t(i).find(n.activeElement).data("dt-idx")}catch(t){}v(t(i).empty().html('<ul class="pagination"/>').children("ul"),a),h&&t(i).find("[data-dt-idx="+h+"]").focus()},r}),function(t){t.fn.dataTable.moment=function(e,n){var i=t.fn.dataTable.ext.type;i.detect.unshift(function(t){return""===t||null===t?"moment-"+e:moment(t.replace?t.replace(/<.*?>/g,""):t,e,n,!0).isValid()?"moment-"+e:null}),i.order["moment-"+e+"-pre"]=function(t){return""===t||null===t?-(1/0):parseInt(moment(t.replace?t.replace(/<.*?>/g,""):t,e,n,!0).format("x"),10)}}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){var e=0,n=Array.prototype.slice;t.cleanData=function(e){return function(n){var i,r,o;for(o=0;null!=(r=n[o]);o++)try{i=t._data(r,"events"),i&&i.remove&&t(r).triggerHandler("remove")}catch(t){}e(n)}}(t.cleanData),t.widget=function(e,n,i){var r,o,a,s,l={},u=e.split(".")[0];return e=e.split(".")[1],r=u+"-"+e,i||(i=n,n=t.Widget),t.expr[":"][r.toLowerCase()]=function(e){return!!t.data(e,r)},t[u]=t[u]||{},o=t[u][e],a=t[u][e]=function(t,e){return this._createWidget?void(arguments.length&&this._createWidget(t,e)):new a(t,e)},t.extend(a,o,{version:i.version,_proto:t.extend({},i),_childConstructors:[]}),s=new n,s.options=t.widget.extend({},s.options),t.each(i,function(e,i){return t.isFunction(i)?void(l[e]=function(){var t=function(){return n.prototype[e].apply(this,arguments)},r=function(t){return n.prototype[e].apply(this,t)};return function(){var e,n=this._super,o=this._superApply;return this._super=t,this._superApply=r,e=i.apply(this,arguments),this._super=n,this._superApply=o,e}}()):void(l[e]=i)}),a.prototype=t.widget.extend(s,{widgetEventPrefix:o?s.widgetEventPrefix||e:e},l,{constructor:a,namespace:u,widgetName:e,widgetFullName:r}),o?(t.each(o._childConstructors,function(e,n){var i=n.prototype;t.widget(i.namespace+"."+i.widgetName,a,n._proto)}),delete o._childConstructors):n._childConstructors.push(a),t.widget.bridge(e,a),a},t.widget.extend=function(e){for(var i,r,o=n.call(arguments,1),a=0,s=o.length;a<s;a++)for(i in o[a])r=o[a][i],o[a].hasOwnProperty(i)&&void 0!==r&&(t.isPlainObject(r)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],r):t.widget.extend({},r):e[i]=r);return e},t.widget.bridge=function(e,i){var r=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,s=n.call(arguments,1),l=this;return o=!a&&s.length?t.widget.extend.apply(null,[o].concat(s)):o,a?this.each(function(){var n,i=t.data(this,r);return"instance"===o?(l=i,!1):i?t.isFunction(i[o])&&"_"!==o.charAt(0)?(n=i[o].apply(i,s),n!==i&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):this.each(function(){var e=t.data(this,r);e?(e.option(o||{}),e._init&&e._init()):t.data(this,r,new i(o,this))}),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(n,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),n),this.bindings=t(),this.hoverable=t(),this.focusable=t(),i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var i,r,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},i=e.split("."),e=i.shift(),i.length){for(r=a[e]=t.widget.extend({},this.options[e]),o=0;o<i.length-1;o++)r[i[o]]=r[i[o]]||{},r=r[i[o]];if(e=i.pop(),1===arguments.length)return void 0===r[e]?null:r[e];r[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=n}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!e),e&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(e,n,i){var r,o=this;"boolean"!=typeof e&&(i=n,n=e,e=!1),i?(n=r=t(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,r=this.widget()),t.each(i,function(i,a){function s(){if(e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?o[a]:a).apply(o,arguments)}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||t.guid++);var l=i.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+o.eventNamespace,c=l[2];c?r.delegate(c,u,s):n.bind(u,s)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function n(){return("string"==typeof t?i[t]:t).apply(i,arguments)}var i=this;return setTimeout(n,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,n,i){var r,o,a=this.options[e];if(i=i||{},n=t.Event(n),n.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(r in o)r in n||(n[r]=o[r]);return this.element.trigger(n,i),!(t.isFunction(a)&&a.apply(this.element[0],[n].concat(i))===!1||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(i,r,o){"string"==typeof r&&(r={effect:r});var a,s=r?r===!0||"number"==typeof r?n:r.effect||n:e;r=r||{},"number"==typeof r&&(r={duration:r}),a=!t.isEmptyObject(r),r.complete=o,r.delay&&i.delay(r.delay),a&&t.effects&&t.effects.effect[s]?i[e](r):s!==e&&i[s]?i[s](r.duration,r.easing,o):i.queue(function(n){t(this)[e](),o&&o.call(i[0]),n()})}});t.widget}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery.ui.widget"],t):"object"==typeof exports?t(require("jquery"),require("./vendor/jquery.ui.widget")):t(window.jQuery)}(function(t){"use strict";function e(e){var n="dragover"===e;return function(i){i.dataTransfer=i.originalEvent&&i.originalEvent.dataTransfer;var r=i.dataTransfer;r&&t.inArray("Files",r.types)!==-1&&this._trigger(e,t.Event(e,{delegatedEvent:i}))!==!1&&(i.preventDefault(),n&&(r.dropEffect="copy"))}}t.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||t('<input type="file">').prop("disabled")),t.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),t.support.xhrFormDataFileUpload=!!window.FormData,t.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),t.widget("blueimp.fileupload",{options:{dropZone:t(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(e,n){return e=this.messages[e]||e.toString(),n&&t.each(n,function(t,n){e=e.replace("{"+t+"}",n)}),e},formData:function(t){return t.serializeArray()},add:function(e,n){return!e.isDefaultPrevented()&&void((n.autoUpload||n.autoUpload!==!1&&t(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()}))},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:t.support.blobSlice&&function(){var t=this.slice||this.webkitSlice||this.mozSlice;return t.apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return(!this.bitrate||!n||i>n)&&(this.bitrate=(e-this.loaded)*(1e3/i)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&t.support.xhrFileUpload||t.support.xhrFormDataFileUpload)},_getFormData:function(e){var n;return"function"===t.type(e.formData)?e.formData(e.form):t.isArray(e.formData)?e.formData:"object"===t.type(e.formData)?(n=[],t.each(e.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(e){var n=0;return t.each(e,function(t,e){n+=e.size||1}),n},_initProgressObject:function(e){var n={loaded:0,total:0,bitrate:0};e._progress?t.extend(e._progress,n):e._progress=n},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var i,r=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&r-n._time<n.progressInterval&&e.loaded!==e.total)return; 17 n._time=r,i=Math.floor(e.loaded/e.total*(n.chunkSize||n._progress.total))+(n.uploadedBytes||0),this._progress.loaded+=i-n._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(r,this._progress.loaded,n.bitrateInterval),n._progress.loaded=n.loaded=i,n._progress.bitrate=n.bitrate=n._bitrateTimer.getBitrate(r,i,n.bitrateInterval),this._trigger("progress",t.Event("progress",{delegatedEvent:e}),n),this._trigger("progressall",t.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(e){var n=this,i=e.xhr?e.xhr():t.ajaxSettings.xhr();i.upload&&(t(i.upload).bind("progress",function(t){var i=t.originalEvent;t.lengthComputable=i.lengthComputable,t.loaded=i.loaded,t.total=i.total,n._onProgress(t,e)}),e.xhr=function(){return i})},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_initXHRData:function(e){var n,i=this,r=e.files[0],o=e.multipart||!t.support.xhrFileUpload,a="array"===t.type(e.paramName)?e.paramName[0]:e.paramName;e.headers=t.extend({},e.headers),e.contentRange&&(e.headers["Content-Range"]=e.contentRange),o&&!e.blob&&this._isInstanceOf("File",r)||(e.headers["Content-Disposition"]='attachment; filename="'+encodeURI(r.name)+'"'),o?t.support.xhrFormDataFileUpload&&(e.postMessage?(n=this._getFormData(e),e.blob?n.push({name:a,value:e.blob}):t.each(e.files,function(i,r){n.push({name:"array"===t.type(e.paramName)&&e.paramName[i]||a,value:r})})):(i._isInstanceOf("FormData",e.formData)?n=e.formData:(n=new FormData,t.each(this._getFormData(e),function(t,e){n.append(e.name,e.value)})),e.blob?n.append(a,e.blob,r.name):t.each(e.files,function(r,o){(i._isInstanceOf("File",o)||i._isInstanceOf("Blob",o))&&n.append("array"===t.type(e.paramName)&&e.paramName[r]||a,o,o.uploadName||o.name)})),e.data=n):(e.contentType=r.type||"application/octet-stream",e.data=e.blob||r),e.blob=null},_initIframeSettings:function(e){var n=t("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),i=e.paramName;return i?t.isArray(i)||(i=[i]):(i=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",r=(e.prop("files")||[1]).length;r;)i.push(n),r-=1}),i.length||(i=[n.prop("name")||"files[]"])),i},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(e,n,i){var r=t.Deferred(),o=r.promise();return n=n||this.options.context||o,e===!0?r.resolveWith(n,i):e===!1&&r.rejectWith(n,i),o.abort=r.promise,this._enhancePromise(o)},_addConvenienceMethods:function(e,n){var i=this,r=function(e){return t.Deferred().resolveWith(i,e).promise()};n.process=function(e,o){return(e||o)&&(n._processQueue=this._processQueue=(this._processQueue||r([this])).pipe(function(){return n.errorThrown?t.Deferred().rejectWith(i,[n]).promise():r(arguments)}).pipe(e,o)),this._processQueue||r([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=i._trigger("submit",t.Event("submit",{delegatedEvent:e}),this)!==!1&&i._onSend(e,this)),this.jqXHR||i._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",i._trigger("fail",null,this),i._getXHRPromise(!1))},n.state=function(){return this.jqXHR?i._getDeferredState(this.jqXHR):this._processQueue?i._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===i._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),i=n&&n.length>1&&parseInt(n[1],10);return i&&i+1},_chunkedUpload:function(e,n){e.uploadedBytes=e.uploadedBytes||0;var i,r,o=this,a=e.files[0],s=a.size,l=e.uploadedBytes,u=e.maxChunkSize||s,c=this._blobSlice,h=t.Deferred(),d=h.promise();return!(!(this._isXHRUpload(e)&&c&&(l||u<s))||e.data)&&(!!n||(l>=s?(a.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",a.error])):(r=function(){var n=t.extend({},e),d=n._progress.loaded;n.blob=c.call(a,l,l+u,a.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+s,o._initXHRData(n),o._initProgressListener(n),i=(o._trigger("chunksend",null,n)!==!1&&t.ajax(n)||o._getXHRPromise(!1,n.context)).done(function(i,a,u){l=o._getUploadedBytes(u)||l+n.chunkSize,d+n.chunkSize-n._progress.loaded&&o._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),e.uploadedBytes=n.uploadedBytes=l,n.result=i,n.textStatus=a,n.jqXHR=u,o._trigger("chunkdone",null,n),o._trigger("chunkalways",null,n),l<s?r():h.resolveWith(n.context,[i,a,u])}).fail(function(t,e,i){n.jqXHR=t,n.textStatus=e,n.errorThrown=i,o._trigger("chunkfail",null,n),o._trigger("chunkalways",null,n),h.rejectWith(n.context,[t,e,i])})},this._enhancePromise(d),d.abort=function(){return i.abort()},r(),d)))},_beforeSend:function(t,e){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(e),this._initProgressObject(e),e._progress.loaded=e.loaded=e.uploadedBytes||0,e._progress.total=e.total=this._getTotal(e.files)||1,e._progress.bitrate=e.bitrate=0,this._active+=1,this._progress.loaded+=e.loaded,this._progress.total+=e.total},_onDone:function(e,n,i,r){var o=r._progress.total,a=r._response;r._progress.loaded<o&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:o,total:o}),r),a.result=r.result=e,a.textStatus=r.textStatus=n,a.jqXHR=r.jqXHR=i,this._trigger("done",null,r)},_onFail:function(t,e,n,i){var r=i._response;i.recalculateProgress&&(this._progress.loaded-=i._progress.loaded,this._progress.total-=i._progress.total),r.jqXHR=i.jqXHR=t,r.textStatus=i.textStatus=e,r.errorThrown=i.errorThrown=n,this._trigger("fail",null,i)},_onAlways:function(t,e,n,i){this._trigger("always",null,i)},_onSend:function(e,n){n.submit||this._addConvenienceMethods(e,n);var i,r,o,a,s=this,l=s._getAJAXSettings(n),u=function(){return s._sending+=1,l._bitrateTimer=new s._BitrateTimer,i=i||((r||s._trigger("send",t.Event("send",{delegatedEvent:e}),l)===!1)&&s._getXHRPromise(!1,l.context,r)||s._chunkedUpload(l)||t.ajax(l)).done(function(t,e,n){s._onDone(t,e,n,l)}).fail(function(t,e,n){s._onFail(t,e,n,l)}).always(function(t,e,n){if(s._onAlways(t,e,n,l),s._sending-=1,s._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>s._sending)for(var i=s._slots.shift();i;){if("pending"===s._getDeferredState(i)){i.resolve();break}i=s._slots.shift()}0===s._active&&s._trigger("stop")})};return this._beforeSend(e,l),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(o=t.Deferred(),this._slots.push(o),a=o.pipe(u)):(this._sequence=this._sequence.pipe(u,u),a=this._sequence),a.abort=function(){return r=[void 0,"abort","abort"],i?i.abort():(o&&o.rejectWith(l.context,r),u())},this._enhancePromise(a)):u()},_onAdd:function(e,n){var i,r,o,a,s=this,l=!0,u=t.extend({},this.options,n),c=n.files,h=c.length,d=u.limitMultiFileUploads,f=u.limitMultiFileUploadSize,p=u.limitMultiFileUploadSizeOverhead,g=0,m=this._getParamName(u),v=0;if(!f||h&&void 0!==c[0].size||(f=void 0),(u.singleFileUploads||d||f)&&this._isXHRUpload(u))if(u.singleFileUploads||f||!d)if(!u.singleFileUploads&&f)for(o=[],i=[],a=0;a<h;a+=1)g+=c[a].size+p,(a+1===h||g+c[a+1].size+p>f||d&&a+1-v>=d)&&(o.push(c.slice(v,a+1)),r=m.slice(v,a+1),r.length||(r=m),i.push(r),v=a+1,g=0);else i=m;else for(o=[],i=[],a=0;a<h;a+=d)o.push(c.slice(a,a+d)),r=m.slice(a,a+d),r.length||(r=m),i.push(r);else o=[c],i=[m];return n.originalFiles=c,t.each(o||c,function(r,a){var u=t.extend({},n);return u.files=o?a:[a],u.paramName=i[r],s._initResponseObject(u),s._initProgressObject(u),s._addConvenienceMethods(e,u),l=s._trigger("add",t.Event("add",{delegatedEvent:e}),u)}),l},_replaceFileInput:function(e){var n=e.fileInput,i=n.clone(!0);e.fileInputClone=i,t("<form></form>").append(i)[0].reset(),n.after(i).detach(),t.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){var i,r=this,o=t.Deferred(),a=function(t){t&&!t.entry&&(t.entry=e),o.resolve([t])},s=function(t){r._handleFileTreeEntries(t,n+e.name+"/").done(function(t){o.resolve(t)}).fail(a)},l=function(){i.readEntries(function(t){t.length?(u=u.concat(t),l()):s(u)},a)},u=[];return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},a):e.isDirectory?(i=e.createReader(),l()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,n){var i=this;return t.when.apply(t,t.map(e,function(t){return i._handleFileTreeEntry(t,n)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){e=e||{};var n=e.items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(t.map(n,function(t){var e;return t.webkitGetAsEntry?(e=t.webkitGetAsEntry(),e&&(e._file=t.getAsFile()),e):t.getAsEntry()})):t.Deferred().resolve(t.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){e=t(e);var n,i,r=e.prop("webkitEntries")||e.prop("entries");if(r&&r.length)return this._handleFileTreeEntries(r);if(n=t.makeArray(e.prop("files")),n.length)void 0===n[0].name&&n[0].fileName&&t.each(n,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(i=e.prop("value"),!i)return t.Deferred().resolve([]).promise();n=[{name:i.replace(/^.*\\/,"")}]}return t.Deferred().resolve(n).promise()},_getFileInputFiles:function(e){return e instanceof t&&1!==e.length?t.when.apply(t,t.map(e,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(e){var n=this,i={fileInput:t(e.target),form:t(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(r){i.files=r,n.options.replaceFileInput&&n._replaceFileInput(i),n._trigger("change",t.Event("change",{delegatedEvent:e}),i)!==!1&&n._onAdd(e,i)})},_onPaste:function(e){var n=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,i={files:[]};n&&n.length&&(t.each(n,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&i.files.push(n)}),this._trigger("paste",t.Event("paste",{delegatedEvent:e}),i)!==!1&&this._onAdd(e,i))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,i=e.dataTransfer,r={};i&&i.files&&i.files.length&&(e.preventDefault(),this._getDroppedFiles(i).always(function(i){r.files=i,n._trigger("drop",t.Event("drop",{delegatedEvent:e}),r)!==!1&&n._onAdd(e,r)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),t.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(e,n){var i=t.inArray(e,this._specialOptions)!==-1;i&&this._destroyEventHandlers(),this._super(e,n),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof t||(e.fileInput=t(e.fileInput)),e.dropZone instanceof t||(e.dropZone=t(e.dropZone)),e.pasteZone instanceof t||(e.pasteZone=t(e.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(e,n){return"url"!==e&&"string"===t.type(n)&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var e=this,n=this.options,i=this.element.data();t.each(this.element[0].attributes,function(t,r){var o,a=r.name.toLowerCase();/^data-/.test(a)&&(a=a.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),o=i[a],e._isRegExpOption(a,o)&&(o=e._getRegExp(o)),n[a]=o)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=t.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,r=this,o=t.Deferred(),a=o.promise();return a.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),a)},this._getFileInputFiles(e.fileInput).always(function(t){if(!i){if(!t.length)return void o.reject();e.files=t,n=r._onSend(null,e),n.then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})}}),this._enhancePromise(a)}if(e.files=t.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery)}(function(t){"use strict";var e=0;t.ajaxTransport("iframe",function(n){if(n.async){var i,r,o,a=n.initialIframeSrc||"javascript:false;";return{send:function(s,l){i=t('<form style="display:none;"></form>'),i.attr("accept-charset",n.formAcceptCharset),o=/\?/.test(n.url)?"&":"?","DELETE"===n.type?(n.url=n.url+o+"_method=DELETE",n.type="POST"):"PUT"===n.type?(n.url=n.url+o+"_method=PUT",n.type="POST"):"PATCH"===n.type&&(n.url=n.url+o+"_method=PATCH",n.type="POST"),e+=1,r=t('<iframe src="'+a+'" name="iframe-transport-'+e+'"></iframe>').bind("load",function(){var e,o=t.isArray(n.paramName)?n.paramName:[n.paramName];r.unbind("load").bind("load",function(){var e;try{if(e=r.contents(),!e.length||!e[0].firstChild)throw new Error}catch(t){e=void 0}l(200,"success",{iframe:e}),t('<iframe src="'+a+'"></iframe>').appendTo(i),window.setTimeout(function(){i.remove()},0)}),i.prop("target",r.prop("name")).prop("action",n.url).prop("method",n.type),n.formData&&t.each(n.formData,function(e,n){t('<input type="hidden"/>').prop("name",n.name).val(n.value).appendTo(i)}),n.fileInput&&n.fileInput.length&&"POST"===n.type&&(e=n.fileInput.clone(),n.fileInput.after(function(t){return e[t]}),n.paramName&&n.fileInput.each(function(e){t(this).prop("name",o[e]||n.paramName)}),i.append(n.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),n.fileInput.removeAttr("form")),i.submit(),e&&e.length&&n.fileInput.each(function(n,i){var r=t(e[n]);t(i).prop("name",r.prop("name")).attr("form",r.attr("form")),r.replaceWith(i)})}),i.append(r).appendTo(document.body)},abort:function(){r&&r.unbind("load").prop("src",a),i&&i.remove()}}}}),t.ajaxSetup({converters:{"iframe text":function(e){return e&&t(e[0].body).text()},"iframe json":function(e){return e&&t.parseJSON(t(e[0].body).text())},"iframe html":function(e){return e&&t(e[0].body).html()},"iframe xml":function(e){var n=e&&e[0];return n&&t.isXMLDoc(n)?n:t.parseXML(n.XMLDocument&&n.XMLDocument.xml||t(n.body).html())},"iframe script":function(e){return e&&t.globalEval(t(e[0].body).text())}}})}),!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Sweetalert2=e()}(this,function(){"use strict";function t(){if(void 0===arguments[0])return console.error("sweetAlert2 expects at least 1 attribute!"),!1;var t=l({},N);switch(typeof arguments[0]){case"string":t.title=arguments[0],t.text=arguments[1]||"",t.type=arguments[2]||"";break;case"object":l(t,arguments[0]),t.extraParams=arguments[0].extraParams,"email"===t.input&&null===t.inputValidator&&(t.inputValidator=function(t){return new Promise(function(e,n){var i=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/;i.test(t)?e():n("Invalid email address")})});break;default:return console.error('Unexpected type of argument! Expected "string" or "object", got '+typeof arguments[0]),!1}I(t);var i=f();return new Promise(function(o,a){function s(t,e){for(var n=0;n<L.length;n++)if(t+=e,t===L.length?t=0:-1===t&&(t=L.length-1),L[t].offsetWidth||L[t].offsetHeight||L[t].getClientRects().length)return void L[t].focus()}function l(n){var i=n||window.event,r=i.keyCode||i.which;if(-1!==[9,13,32,27].indexOf(r)){for(var o=i.target||i.srcElement,l=-1,u=0;u<L.length;u++)if(o===L[u]){l=u;break}9===r?(i.shiftKey?s(l,-1):s(l,1),P(i)):13===r||32===r?-1===l&&E(A,i):27===r&&t.allowEscapeKey===!0&&(e.closeModal(t.onClose),a("esc"))}}t.timer&&(i.timeout=setTimeout(function(){e.closeModal(t.onClose),a("timer")},t.timer));var c=function(){switch(t.input){case"select":return w(i,r.select);case"radio":return i.querySelector("."+r.radio+" input:checked")||i.querySelector("."+r.radio+" input:first-child");case"checkbox":return i.querySelector("#"+r.checkbox);case"textarea":return w(i,r.textarea);default:return w(i,r.input)}},d=function(){var e=c();switch(t.input){case"checkbox":return e.checked?1:0;case"radio":return e.checked?e.value:null;case"file":return e.files.length?e.files[0]:null;default:return t.inputAutoTrim?e.value.trim():e.value}};t.input&&setTimeout(function(){var t=c();t&&y(t)},0);var f,k=function(n){t.showLoaderOnConfirm&&e.showLoading(),t.preConfirm?t.preConfirm(n,t.extraParams).then(function(i){e.closeModal(t.onClose),o(i||n)},function(t){e.hideLoading(),t&&e.showValidationError(t)}):(e.closeModal(t.onClose),o(n))},T=function(n){var r=n||window.event,o=r.target||r.srcElement,s=g()===o||g().contains(o),l=m()===o||m().contains(o),c=v(i,"visible");switch(r.type){case"mouseover":case"mouseup":case"focus":t.buttonsStyling&&(s?o.style.backgroundColor=u(t.confirmButtonColor,-.1):l&&(o.style.backgroundColor=u(t.cancelButtonColor,-.1)));break;case"mouseout":case"blur":t.buttonsStyling&&(s?o.style.backgroundColor=t.confirmButtonColor:l&&(o.style.backgroundColor=t.cancelButtonColor));break;case"mousedown":t.buttonsStyling&&(s?o.style.backgroundColor=u(t.confirmButtonColor,-.2):l&&(o.style.backgroundColor=u(t.cancelButtonColor,-.2)));break;case"click":if(s&&c)if(t.input){var h=d();t.inputValidator?(e.disableInput(),t.inputValidator(h,t.extraParams).then(function(){e.enableInput(),k(h)},function(t){e.enableInput(),t&&e.showValidationError(t)})):k(h)}else k(!0);else l&&c&&(e.closeModal(t.onClose),a("cancel"))}},D=i.querySelectorAll("button");for(f=0;f<D.length;f++)D[f].onclick=T,D[f].onmouseover=T,D[f].onmouseout=T,D[f].onmousedown=T;h.previousDocumentClick=document.onclick,document.onclick=function(n){var i=n||window.event,o=i.target||i.srcElement;v(o,r.close)?(e.closeModal(t.onClose),a("close")):o===p()&&t.allowOutsideClick&&(e.closeModal(t.onClose),a("overlay"))};var A=g(),O=m(),L=[A,O].concat(Array.prototype.slice.call(i.querySelectorAll("button:not([class^="+n+"]), input:not([type=hidden]), textarea, select")));for(f=0;f<L.length;f++)L[f].onfocus=T,L[f].onblur=T;t.reverseButtons&&A.parentNode.insertBefore(O,A),h.previousWindowKeyDown=window.onkeydown,window.onkeydown=l,t.buttonsStyling&&(A.style.borderLeftColor=t.confirmButtonColor,A.style.borderRightColor=t.confirmButtonColor),e.showLoading=e.enableLoading=function(){b(A,"loading"),b(i,"loading"),A.disabled=!0,O.disabled=!0},e.hideLoading=e.disableLoading=function(){x(A,"loading"),x(i,"loading"),A.disabled=!1,O.disabled=!1},e.enableButtons=function(){A.disabled=!1,O.disabled=!1},e.disableButtons=function(){A.disabled=!0,O.disabled=!0},e.enableInput=function(){var t=c();if("radio"===t.type)for(var e=t.parentNode.parentNode,n=e.querySelectorAll("input"),i=0;i<n.length;i++)n[i].disabled=!1;else t.disabled=!1},e.disableInput=function(){var t=c();if("radio"===t.type)for(var e=t.parentNode.parentNode,n=e.querySelectorAll("input"),i=0;i<n.length;i++)n[i].disabled=!0;else t.disabled=!0},e.showValidationError=function(t){var e=i.querySelector("."+r.validationerror);e.innerHTML=t,_(e);var n=c();y(n),b(n,"error")},e.resetValidationError=function(){var t=i.querySelector("."+r.validationerror);M(t);var e=c();e&&x(e,"error")},e.enableButtons(),e.hideLoading(),e.resetValidationError();var N,I=["input","select","radio","checkbox","textarea"];for(f=0;f<I.length;f++){var R=r[I[f]];for(N=w(i,R);N.attributes.length>0;)N.removeAttribute(N.attributes[0].name);for(var H in t.inputAttributes)N.setAttribute(H,t.inputAttributes[H]);N.className=R,t.inputClass&&b(N,t.inputClass),C(N)}var z;switch(t.input){case"text":case"email":case"password":case"file":N=w(i,r.input),N.value=t.inputValue,N.placeholder=t.inputPlaceholder,N.type=t.input,S(N);break;case"select":var B=w(i,r.select);if(B.innerHTML="",t.inputPlaceholder){var W=document.createElement("option");W.innerHTML=t.inputPlaceholder,W.value="",W.disabled=!0,W.selected=!0,B.appendChild(W)}z=function(e){for(var n in e){var i=document.createElement("option");i.value=n,i.innerHTML=e[n],t.inputValue===n&&(i.selected=!0),B.appendChild(i)}S(B),B.focus()};break;case"radio":var $=w(i,r.radio);$.innerHTML="",z=function(e){for(var n in e){var i=1,o=document.createElement("input"),a=document.createElement("label"),s=document.createElement("span");o.type="radio",o.name=r.radio,o.value=n,o.id=r.radio+"-"+i++,t.inputValue===n&&(o.checked=!0),s.innerHTML=e[n],a.appendChild(o),a.appendChild(s),a.for=o.id,$.appendChild(a)}S($);var l=$.querySelectorAll("input");l.length&&l[0].focus()};break;case"checkbox":var U=w(i,r.checkbox),q=i.querySelector("#"+r.checkbox);q.value=1,q.checked=Boolean(t.inputValue);var Y=U.getElementsByTagName("span");Y.length&&U.removeChild(Y[0]),Y=document.createElement("span"),Y.innerHTML=t.inputPlaceholder,U.appendChild(Y),S(U);break;case"textarea":var G=w(i,r.textarea);G.value=t.inputValue,G.placeholder=t.inputPlaceholder,S(G);break;case null:break;default:console.error('Unexpected type of input! Expected "text" or "email" or "password", "select", "checkbox", "textarea" or "file", got '+typeof arguments[0])}"select"!==t.input&&"radio"!==t.input||(t.inputOptions instanceof Promise?(e.showLoading(),t.inputOptions.then(function(t){e.hideLoading(),z(t)})):"object"==typeof t.inputOptions?z(t.inputOptions):console.error("Unexpected type of inputOptions! Expected object or Promise, got "+t.inputOptions)),F(),j(t.animation,t.onOpen),s(-1,1)})}function e(){var n=arguments,i=f();return null===i&&(e.init(),i=f()),v(i,"visible")&&L(),t.apply(this,n)}var n="swal2-",i=function(t){var e={};for(var i in t)e[t[i]]=n+t[i];return e},r=i(["container","modal","overlay","close","content","spacer","confirm","cancel","icon","image","input","select","radio","checkbox","textarea","validationerror"]),o=i(["success","warning","info","question","error"]),a={title:"",text:"",html:"",type:null,animation:!0,allowOutsideClick:!0,allowEscapeKey:!0,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonColor:"#3085d6",confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonColor:"#aaa",cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,showCloseButton:!1,showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageClass:null,timer:null,width:500,padding:20,background:"#fff",input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,onOpen:null,onClose:null},s='<div class="'+r.overlay+'" tabIndex="-1"></div><div class="'+r.modal+'" style="display: none" tabIndex="-1"><div class="'+r.icon+" "+o.error+'"><span class="x-mark"><span class="line left"></span><span class="line right"></span></span></div><div class="'+r.icon+" "+o.question+'">?</div><div class="'+r.icon+" "+o.warning+'">!</div><div class="'+r.icon+" "+o.info+'">i</div><div class="'+r.icon+" "+o.success+'"><span class="line tip"></span> <span class="line long"></span><div class="placeholder"></div> <div class="fix"></div></div><img class="'+r.image+'"><h2></h2><div class="'+r.content+'"></div><input class="'+r.input+'"><select class="'+r.select+'"></select><div class="'+r.radio+'"></div><label for="'+r.checkbox+'" class="'+r.checkbox+'"><input type="checkbox" id="'+r.checkbox+'"></label><textarea class="'+r.textarea+'"></textarea><div class="'+r.validationerror+'"></div><hr class="'+r.spacer+'"><button class="'+r.confirm+'">OK</button><button class="'+r.cancel+'">Cancel</button><span class="'+r.close+'">×</span></div>',l=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},u=function(t,e){t=String(t).replace(/[^0-9a-f]/gi,""),t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),e=e||0;for(var n="#",i=0;3>i;i++){var r=parseInt(t.substr(2*i,2),16);r=Math.round(Math.min(Math.max(0,r+r*e),255)).toString(16),n+=("00"+r).substr(r.length)}return n},c=n+"mediaquery",h={previousDocumentClick:null,previousWindowKeyDown:null,previousActiveElement:null},d=function(t){return document.querySelector("."+t)},f=function(){return d(r.modal)},p=function(){return d(r.overlay)},g=function(){return d(r.confirm)},m=function(){return d(r.cancel)},v=function(t,e){return new RegExp(" "+e+" ").test(" "+t.className+" ")},y=function(t){t.focus();var e=t.value;t.value="",t.value=e},b=function(t,e){e&&!v(t,e)&&(t.className+=" "+e)},x=function(t,e){var n=" "+t.className.replace(/[\t\r\n]/g," ")+" ";if(v(t,e)){for(;n.indexOf(" "+e+" ")>=0;)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},w=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(t.childNodes[n].classList.contains(e))return t.childNodes[n]},S=function(t){t.style.opacity="",t.style.display="block"},_=function(t){if(t&&!t.length)return S(t);for(var e=0;e<t.length;++e)S(t[e])},C=function(t){t.style.opacity="",t.style.display="none"},M=function(t){if(t&&!t.length)return C(t);for(var e=0;e<t.length;++e)C(t[e])},k=function(t,e){t.style.removeProperty?t.style.removeProperty(e):t.style.removeAttribute(e)},T=function(t){var e=t.style.display;t.style.left="-9999px",t.style.display="block";var n=t.clientHeight;return t.style.left="",t.style.display=e,"-"+parseInt(n/2,10)+"px"},D=function(t,e){if(+t.style.opacity<1){e=e||16,t.style.opacity=0,t.style.display="block";var n=+new Date,i=function(){var r=+t.style.opacity+(new Date-n)/100;t.style.opacity=r>1?1:r,n=+new Date,+t.style.opacity<1&&setTimeout(i,e)};i()}},A=function(t,e){if(+t.style.opacity>0){e=e||16;var n=t.style.opacity,i=+new Date,r=function(){var o=new Date-i,a=+t.style.opacity-o/(100*n);t.style.opacity=a,i=+new Date,+t.style.opacity>0?setTimeout(r,e):C(t)};r()}},E=function(t){if("function"==typeof MouseEvent){var e=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0});t.dispatchEvent(e)}else if(document.createEvent){var n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),t.dispatchEvent(n)}else document.createEventObject?t.fireEvent("onclick"):"function"==typeof t.onclick&&t.onclick()},P=function(t){"function"==typeof t.stopPropagation?(t.stopPropagation(),t.preventDefault()):window.event&&window.event.hasOwnProperty("cancelBubble")&&(window.event.cancelBubble=!0)},O=function(){var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",msAnimation:"MSAnimationEnd",animation:"animationend"};for(var n in e)if(e.hasOwnProperty(n)&&void 0!==t.style[n])return e[n];return!1}(),L=function(){var t=f();window.onkeydown=h.previousWindowKeyDown,document.onclick=h.previousDocumentClick,h.previousActiveElement&&h.previousActiveElement.focus(),clearTimeout(t.timeout);var e=document.getElementsByTagName("head")[0],n=document.getElementById(c);n&&e.removeChild(n)},N=l({},a),I=function(t){var e,n=f();n.style.width=t.width+"px",n.style.padding=t.padding+"px",n.style.marginLeft=-t.width/2+"px",n.style.background=t.background;var i=document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",a.id=c;var s=5,l=t.width+parseInt(t.width*(s/100)*2,10);a.innerHTML="@media screen and (max-width: "+l+"px) {."+r.modal+" {width: auto !important;left: "+s+"% !important;right: "+s+"% !important;margin-left: 0 !important;}}",i.appendChild(a);var u=n.querySelector("h2"),h=n.querySelector("."+r.content),d=g(),p=m(),v=n.querySelector("."+r.spacer),y=n.querySelector("."+r.close);if(u.innerHTML=t.title.split("\n").join("<br>"),t.text||t.html){if("object"==typeof t.html)if(h.innerHTML="",0 in t.html)for(e=0;e in t.html;e++)h.appendChild(t.html[e]);else h.appendChild(t.html);else h.innerHTML=t.html||t.text.split("\n").join("<br>");_(h)}else M(h);if(t.showCloseButton?_(y):M(y),n.className=r.modal,t.customClass&&b(n,t.customClass),M(n.querySelectorAll("."+r.icon)),t.type){var w=!1;for(var S in o)if(t.type===S){w=!0;break}if(!w)return console.error("Unknown alert type: "+t.type),!1;var C=n.querySelector("."+r.icon+"."+o[t.type]);switch(_(C),t.type){case"success":b(C,"animate"),b(C.querySelector(".tip"),"animate-success-tip"),b(C.querySelector(".long"),"animate-success-long");break;case"error":b(C,"animate-error-icon"),b(C.querySelector(".x-mark"),"animate-x-mark");break;case"warning":b(C,"pulse-warning")}}var T=n.querySelector("."+r.image);t.imageUrl?(T.setAttribute("src",t.imageUrl),_(T),t.imageWidth&&T.setAttribute("width",t.imageWidth),t.imageHeight&&T.setAttribute("height",t.imageHeight),t.imageClass&&b(T,t.imageClass)):M(T),t.showCancelButton?p.style.display="inline-block":M(p),t.showConfirmButton?k(d,"display"):M(d),t.showConfirmButton||t.showCancelButton?_(v):M(v),d.innerHTML=t.confirmButtonText,p.innerHTML=t.cancelButtonText,t.buttonsStyling&&(d.style.backgroundColor=t.confirmButtonColor,p.style.backgroundColor=t.cancelButtonColor),d.className=r.confirm,b(d,t.confirmButtonClass),p.className=r.cancel,b(p,t.cancelButtonClass),t.buttonsStyling?(b(d,"styled"),b(p,"styled")):(x(d,"styled"),x(p,"styled"),d.style.backgroundColor=d.style.borderLeftColor=d.style.borderRightColor="",p.style.backgroundColor=p.style.borderLeftColor=p.style.borderRightColor=""),t.animation===!0?x(n,"no-animation"):b(n,"no-animation")},j=function(t,e){var n=f();t?(D(p(),10),b(n,"show-swal2"),x(n,"hide-swal2")):_(p()),_(n),h.previousActiveElement=document.activeElement,b(n,"visible"),null!==e&&"function"==typeof e&&e.call(this,n)},F=function(){var t=f();t.style.marginTop=T(t)};return e.queue=function(t){return new Promise(function(n,i){!function r(o,a){o<t.length?e(t[o]).then(function(){r(o+1,a)},function(t){i(t)}):n()}(0)})},e.close=e.closeModal=function(t){ 18 var e=f();x(e,"show-swal2"),b(e,"hide-swal2"),x(e,"visible");var n=e.querySelector("."+r.icon+"."+o.success);x(n,"animate"),x(n.querySelector(".tip"),"animate-success-tip"),x(n.querySelector(".long"),"animate-success-long");var i=e.querySelector("."+r.icon+"."+o.error);x(i,"animate-error-icon"),x(i.querySelector(".x-mark"),"animate-x-mark");var a=e.querySelector("."+r.icon+"."+o.warning);x(a,"pulse-warning"),L(),O&&!v(e,"no-animation")?e.addEventListener(O,function t(){e.removeEventListener(O,t),v(e,"hide-swal2")&&(C(e),A(p(),0))}):(C(e),C(p())),null!==t&&"function"==typeof t&&t.call(this,e)},e.clickConfirm=function(){g().click()},e.clickCancel=function(){m().click()},e.init=function(){if("undefined"==typeof document)return void console.log("SweetAlert2 requires document to initialize");if(!document.getElementsByClassName(r.container).length){var t=document.createElement("div");t.className=r.container,t.innerHTML=s,document.body.appendChild(t);var n=f(),i=w(n,r.input),o=w(n,r.select),a=n.querySelector("#"+r.checkbox),l=w(n,r.textarea);i.oninput=function(){e.resetValidationError()},i.onkeyup=function(t){t.stopPropagation(),13===t.keyCode&&e.clickConfirm()},o.onchange=function(){e.resetValidationError()},a.onchange=function(){e.resetValidationError()},l.onchange=function(){e.resetValidationError()},window.addEventListener("resize",F,!1)}},e.setDefaults=function(t){if(!t)throw new Error("userParams is required");if("object"!=typeof t)throw new Error("userParams has to be a object");l(N,t)},e.resetDefaults=function(){N=l({},a)},e.version="4.0.8",window.sweetAlert=window.swal=e,function(){"complete"===document.readyState||"interactive"===document.readyState&&document.body?e.init():document.addEventListener("DOMContentLoaded",function t(){document.removeEventListener("DOMContentLoaded",t,!1),e.init()},!1)}(),"function"==typeof Promise&&(Promise.prototype.done=function(){return this.catch(function(){})}),e}),function(t){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],t);else if("object"==typeof exports)t(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";t(jQuery,moment)}}(function(t,e){"use strict";if(!e)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var n=function(n,i){var r,o,a,s,l,u,c,h={},d=!0,f=!1,p=!1,g=0,m=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],v=["days","months","years","decades"],y=["top","bottom","auto"],b=["left","right","auto"],x=["default","top","bottom"],w={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},S={},_=function(t){var n,r,o,a,s,l=!1;return void 0!==e.tz&&void 0!==i.timeZone&&null!==i.timeZone&&""!==i.timeZone&&(l=!0),void 0===t||null===t?n=l?e().tz(i.timeZone).startOf("d"):e().startOf("d"):l?(r=e().tz(i.timeZone).utcOffset(),o=e(t,u,i.useStrict).utcOffset(),o!==r?(a=e().tz(i.timeZone).format("Z"),s=e(t,u,i.useStrict).format("YYYY-MM-DD[T]HH:mm:ss")+a,n=e(s,u,i.useStrict).tz(i.timeZone)):n=e(t,u,i.useStrict).tz(i.timeZone)):n=e(t,u,i.useStrict),n},C=function(t){if("string"!=typeof t||t.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(t){case"y":return l.indexOf("Y")!==-1;case"M":return l.indexOf("M")!==-1;case"d":return l.toLowerCase().indexOf("d")!==-1;case"h":case"H":return l.toLowerCase().indexOf("h")!==-1;case"m":return l.indexOf("m")!==-1;case"s":return l.indexOf("s")!==-1;default:return!1}},M=function(){return C("h")||C("m")||C("s")},k=function(){return C("y")||C("M")||C("d")},T=function(){var e=t("<thead>").append(t("<tr>").append(t("<th>").addClass("prev").attr("data-action","previous").append(t("<span>").addClass(i.icons.previous))).append(t("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",i.calendarWeeks?"6":"5")).append(t("<th>").addClass("next").attr("data-action","next").append(t("<span>").addClass(i.icons.next)))),n=t("<tbody>").append(t("<tr>").append(t("<td>").attr("colspan",i.calendarWeeks?"8":"7")));return[t("<div>").addClass("datepicker-days").append(t("<table>").addClass("table-condensed").append(e).append(t("<tbody>"))),t("<div>").addClass("datepicker-months").append(t("<table>").addClass("table-condensed").append(e.clone()).append(n.clone())),t("<div>").addClass("datepicker-years").append(t("<table>").addClass("table-condensed").append(e.clone()).append(n.clone())),t("<div>").addClass("datepicker-decades").append(t("<table>").addClass("table-condensed").append(e.clone()).append(n.clone()))]},D=function(){var e=t("<tr>"),n=t("<tr>"),r=t("<tr>");return C("h")&&(e.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(t("<span>").addClass(i.icons.up)))),n.append(t("<td>").append(t("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:i.tooltips.pickHour}).attr("data-action","showHours"))),r.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(t("<span>").addClass(i.icons.down))))),C("m")&&(C("h")&&(e.append(t("<td>").addClass("separator")),n.append(t("<td>").addClass("separator").html(":")),r.append(t("<td>").addClass("separator"))),e.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(t("<span>").addClass(i.icons.up)))),n.append(t("<td>").append(t("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:i.tooltips.pickMinute}).attr("data-action","showMinutes"))),r.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(t("<span>").addClass(i.icons.down))))),C("s")&&(C("m")&&(e.append(t("<td>").addClass("separator")),n.append(t("<td>").addClass("separator").html(":")),r.append(t("<td>").addClass("separator"))),e.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(t("<span>").addClass(i.icons.up)))),n.append(t("<td>").append(t("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:i.tooltips.pickSecond}).attr("data-action","showSeconds"))),r.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(t("<span>").addClass(i.icons.down))))),s||(e.append(t("<td>").addClass("separator")),n.append(t("<td>").append(t("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:i.tooltips.togglePeriod}))),r.append(t("<td>").addClass("separator"))),t("<div>").addClass("timepicker-picker").append(t("<table>").addClass("table-condensed").append([e,n,r]))},A=function(){var e=t("<div>").addClass("timepicker-hours").append(t("<table>").addClass("table-condensed")),n=t("<div>").addClass("timepicker-minutes").append(t("<table>").addClass("table-condensed")),i=t("<div>").addClass("timepicker-seconds").append(t("<table>").addClass("table-condensed")),r=[D()];return C("h")&&r.push(e),C("m")&&r.push(n),C("s")&&r.push(i),r},E=function(){var e=[];return i.showTodayButton&&e.push(t("<td>").append(t("<a>").attr({"data-action":"today",title:i.tooltips.today}).append(t("<span>").addClass(i.icons.today)))),!i.sideBySide&&k()&&M()&&e.push(t("<td>").append(t("<a>").attr({"data-action":"togglePicker",title:i.tooltips.selectTime}).append(t("<span>").addClass(i.icons.time)))),i.showClear&&e.push(t("<td>").append(t("<a>").attr({"data-action":"clear",title:i.tooltips.clear}).append(t("<span>").addClass(i.icons.clear)))),i.showClose&&e.push(t("<td>").append(t("<a>").attr({"data-action":"close",title:i.tooltips.close}).append(t("<span>").addClass(i.icons.close)))),t("<table>").addClass("table-condensed").append(t("<tbody>").append(t("<tr>").append(e)))},P=function(){var e=t("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),n=t("<div>").addClass("datepicker").append(T()),r=t("<div>").addClass("timepicker").append(A()),o=t("<ul>").addClass("list-unstyled"),a=t("<li>").addClass("picker-switch"+(i.collapse?" accordion-toggle":"")).append(E());return i.inline&&e.removeClass("dropdown-menu"),s&&e.addClass("usetwentyfour"),C("s")&&!s&&e.addClass("wider"),i.sideBySide&&k()&&M()?(e.addClass("timepicker-sbs"),"top"===i.toolbarPlacement&&e.append(a),e.append(t("<div>").addClass("row").append(n.addClass("col-md-6")).append(r.addClass("col-md-6"))),"bottom"===i.toolbarPlacement&&e.append(a),e):("top"===i.toolbarPlacement&&o.append(a),k()&&o.append(t("<li>").addClass(i.collapse&&M()?"collapse in":"").append(n)),"default"===i.toolbarPlacement&&o.append(a),M()&&o.append(t("<li>").addClass(i.collapse&&k()?"collapse":"").append(r)),"bottom"===i.toolbarPlacement&&o.append(a),e.append(o))},O=function(){var e,r={};return e=n.is("input")||i.inline?n.data():n.find("input").data(),e.dateOptions&&e.dateOptions instanceof Object&&(r=t.extend(!0,r,e.dateOptions)),t.each(i,function(t){var n="date"+t.charAt(0).toUpperCase()+t.slice(1);void 0!==e[n]&&(r[t]=e[n])}),r},L=function(){var e,r=(f||n).position(),o=(f||n).offset(),a=i.widgetPositioning.vertical,s=i.widgetPositioning.horizontal;if(i.widgetParent)e=i.widgetParent.append(p);else if(n.is("input"))e=n.after(p).parent();else{if(i.inline)return void(e=n.append(p));e=n,n.children().first().after(p)}if("auto"===a&&(a=o.top+1.5*p.height()>=t(window).height()+t(window).scrollTop()&&p.height()+n.outerHeight()<o.top?"top":"bottom"),"auto"===s&&(s=e.width()<o.left+p.outerWidth()/2&&o.left+p.outerWidth()>t(window).width()?"right":"left"),"top"===a?p.addClass("top").removeClass("bottom"):p.addClass("bottom").removeClass("top"),"right"===s?p.addClass("pull-right"):p.removeClass("pull-right"),"relative"!==e.css("position")&&(e=e.parents().filter(function(){return"relative"===t(this).css("position")}).first()),0===e.length)throw new Error("datetimepicker component should be placed within a relative positioned container");p.css({top:"top"===a?"auto":r.top+n.outerHeight(),bottom:"top"===a?r.top+n.outerHeight():"auto",left:"left"===s?e===n?0:r.left:"auto",right:"left"===s?"auto":e.outerWidth()-n.outerWidth()-(e===n?0:r.left)})},N=function(t){"dp.change"===t.type&&(t.date&&t.date.isSame(t.oldDate)||!t.date&&!t.oldDate)||n.trigger(t)},I=function(t){"y"===t&&(t="YYYY"),N({type:"dp.update",change:t,viewDate:o.clone()})},j=function(t){p&&(t&&(c=Math.max(g,Math.min(3,c+t))),p.find(".datepicker > div").hide().filter(".datepicker-"+m[c].clsName).show())},F=function(){var e=t("<tr>"),n=o.clone().startOf("w").startOf("d");for(i.calendarWeeks===!0&&e.append(t("<th>").addClass("cw").text("#"));n.isBefore(o.clone().endOf("w"));)e.append(t("<th>").addClass("dow").text(n.format("dd"))),n.add(1,"d");p.find(".datepicker-days thead").append(e)},R=function(t){return i.disabledDates[t.format("YYYY-MM-DD")]===!0},H=function(t){return i.enabledDates[t.format("YYYY-MM-DD")]===!0},z=function(t){return i.disabledHours[t.format("H")]===!0},B=function(t){return i.enabledHours[t.format("H")]===!0},W=function(e,n){if(!e.isValid())return!1;if(i.disabledDates&&"d"===n&&R(e))return!1;if(i.enabledDates&&"d"===n&&!H(e))return!1;if(i.minDate&&e.isBefore(i.minDate,n))return!1;if(i.maxDate&&e.isAfter(i.maxDate,n))return!1;if(i.daysOfWeekDisabled&&"d"===n&&i.daysOfWeekDisabled.indexOf(e.day())!==-1)return!1;if(i.disabledHours&&("h"===n||"m"===n||"s"===n)&&z(e))return!1;if(i.enabledHours&&("h"===n||"m"===n||"s"===n)&&!B(e))return!1;if(i.disabledTimeIntervals&&("h"===n||"m"===n||"s"===n)){var r=!1;if(t.each(i.disabledTimeIntervals,function(){if(e.isBetween(this[0],this[1]))return r=!0,!1}),r)return!1}return!0},$=function(){for(var e=[],n=o.clone().startOf("y").startOf("d");n.isSame(o,"y");)e.push(t("<span>").attr("data-action","selectMonth").addClass("month").text(n.format("MMM"))),n.add(1,"M");p.find(".datepicker-months td").empty().append(e)},U=function(){var e=p.find(".datepicker-months"),n=e.find("th"),a=e.find("tbody").find("span");n.eq(0).find("span").attr("title",i.tooltips.prevYear),n.eq(1).attr("title",i.tooltips.selectYear),n.eq(2).find("span").attr("title",i.tooltips.nextYear),e.find(".disabled").removeClass("disabled"),W(o.clone().subtract(1,"y"),"y")||n.eq(0).addClass("disabled"),n.eq(1).text(o.year()),W(o.clone().add(1,"y"),"y")||n.eq(2).addClass("disabled"),a.removeClass("active"),r.isSame(o,"y")&&!d&&a.eq(r.month()).addClass("active"),a.each(function(e){W(o.clone().month(e),"M")||t(this).addClass("disabled")})},q=function(){var t=p.find(".datepicker-years"),e=t.find("th"),n=o.clone().subtract(5,"y"),a=o.clone().add(6,"y"),s="";for(e.eq(0).find("span").attr("title",i.tooltips.prevDecade),e.eq(1).attr("title",i.tooltips.selectDecade),e.eq(2).find("span").attr("title",i.tooltips.nextDecade),t.find(".disabled").removeClass("disabled"),i.minDate&&i.minDate.isAfter(n,"y")&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+a.year()),i.maxDate&&i.maxDate.isBefore(a,"y")&&e.eq(2).addClass("disabled");!n.isAfter(a,"y");)s+='<span data-action="selectYear" class="year'+(n.isSame(r,"y")&&!d?" active":"")+(W(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");t.find("td").html(s)},Y=function(){var t=p.find(".datepicker-decades"),n=t.find("th"),a=e({y:o.year()-o.year()%100-1}),s=a.clone().add(100,"y"),l=a.clone(),u="";for(n.eq(0).find("span").attr("title",i.tooltips.prevCentury),n.eq(2).find("span").attr("title",i.tooltips.nextCentury),t.find(".disabled").removeClass("disabled"),(a.isSame(e({y:1900}))||i.minDate&&i.minDate.isAfter(a,"y"))&&n.eq(0).addClass("disabled"),n.eq(1).text(a.year()+"-"+s.year()),(a.isSame(e({y:2e3}))||i.maxDate&&i.maxDate.isBefore(s,"y"))&&n.eq(2).addClass("disabled");!a.isAfter(s,"y");)u+='<span data-action="selectDecade" class="decade'+(a.isSame(r,"y")?" active":"")+(W(a,"y")?"":" disabled")+'" data-selection="'+(a.year()+6)+'">'+(a.year()+1)+" - "+(a.year()+12)+"</span>",a.add(12,"y");u+="<span></span><span></span><span></span>",t.find("td").html(u),n.eq(1).text(l.year()+1+"-"+a.year())},G=function(){var e,n,a,s,l=p.find(".datepicker-days"),u=l.find("th"),c=[];if(k()){for(u.eq(0).find("span").attr("title",i.tooltips.prevMonth),u.eq(1).attr("title",i.tooltips.selectMonth),u.eq(2).find("span").attr("title",i.tooltips.nextMonth),l.find(".disabled").removeClass("disabled"),u.eq(1).text(o.format(i.dayViewHeaderFormat)),W(o.clone().subtract(1,"M"),"M")||u.eq(0).addClass("disabled"),W(o.clone().add(1,"M"),"M")||u.eq(2).addClass("disabled"),e=o.clone().startOf("M").startOf("w").startOf("d"),s=0;s<42;s++)0===e.weekday()&&(n=t("<tr>"),i.calendarWeeks&&n.append('<td class="cw">'+e.week()+"</td>"),c.push(n)),a="",e.isBefore(o,"M")&&(a+=" old"),e.isAfter(o,"M")&&(a+=" new"),e.isSame(r,"d")&&!d&&(a+=" active"),W(e,"d")||(a+=" disabled"),e.isSame(_(),"d")&&(a+=" today"),0!==e.day()&&6!==e.day()||(a+=" weekend"),n.append('<td data-action="selectDay" data-day="'+e.format("L")+'" class="day'+a+'">'+e.date()+"</td>"),e.add(1,"d");l.find("tbody").empty().append(c),U(),q(),Y()}},X=function(){var e=p.find(".timepicker-hours table"),n=o.clone().startOf("d"),i=[],r=t("<tr>");for(o.hour()>11&&!s&&n.hour(12);n.isSame(o,"d")&&(s||o.hour()<12&&n.hour()<12||o.hour()>11);)n.hour()%4===0&&(r=t("<tr>"),i.push(r)),r.append('<td data-action="selectHour" class="hour'+(W(n,"h")?"":" disabled")+'">'+n.format(s?"HH":"hh")+"</td>"),n.add(1,"h");e.empty().append(i)},V=function(){for(var e=p.find(".timepicker-minutes table"),n=o.clone().startOf("h"),r=[],a=t("<tr>"),s=1===i.stepping?5:i.stepping;o.isSame(n,"h");)n.minute()%(4*s)===0&&(a=t("<tr>"),r.push(a)),a.append('<td data-action="selectMinute" class="minute'+(W(n,"m")?"":" disabled")+'">'+n.format("mm")+"</td>"),n.add(s,"m");e.empty().append(r)},Z=function(){for(var e=p.find(".timepicker-seconds table"),n=o.clone().startOf("m"),i=[],r=t("<tr>");o.isSame(n,"m");)n.second()%20===0&&(r=t("<tr>"),i.push(r)),r.append('<td data-action="selectSecond" class="second'+(W(n,"s")?"":" disabled")+'">'+n.format("ss")+"</td>"),n.add(5,"s");e.empty().append(i)},K=function(){var t,e,n=p.find(".timepicker span[data-time-component]");s||(t=p.find(".timepicker [data-action=togglePeriod]"),e=r.clone().add(r.hours()>=12?-12:12,"h"),t.text(r.format("A")),W(e,"h")?t.removeClass("disabled"):t.addClass("disabled")),n.filter("[data-time-component=hours]").text(r.format(s?"HH":"hh")),n.filter("[data-time-component=minutes]").text(r.format("mm")),n.filter("[data-time-component=seconds]").text(r.format("ss")),X(),V(),Z()},J=function(){p&&(G(),K())},Q=function(t){var e=d?null:r;return t?(t=t.clone().locale(i.locale),1!==i.stepping&&t.minutes(Math.round(t.minutes()/i.stepping)*i.stepping%60).seconds(0),void(W(t)?(r=t,o=r.clone(),a.val(r.format(l)),n.data("date",r.format(l)),d=!1,J(),N({type:"dp.change",date:r.clone(),oldDate:e})):(i.keepInvalid||a.val(d?"":r.format(l)),N({type:"dp.error",date:t})))):(d=!0,a.val(""),n.data("date",""),N({type:"dp.change",date:!1,oldDate:e}),void J())},tt=function(){var e=!1;return p?(p.find(".collapse").each(function(){var n=t(this).data("collapse");return!n||!n.transitioning||(e=!0,!1)}),e?h:(f&&f.hasClass("btn")&&f.toggleClass("active"),p.hide(),t(window).off("resize",L),p.off("click","[data-action]"),p.off("mousedown",!1),p.remove(),p=!1,N({type:"dp.hide",date:r.clone()}),a.blur(),h)):h},et=function(){Q(null)},nt={next:function(){var t=m[c].navFnc;o.add(m[c].navStep,t),G(),I(t)},previous:function(){var t=m[c].navFnc;o.subtract(m[c].navStep,t),G(),I(t)},pickerSwitch:function(){j(1)},selectMonth:function(e){var n=t(e.target).closest("tbody").find("span").index(t(e.target));o.month(n),c===g?(Q(r.clone().year(o.year()).month(o.month())),i.inline||tt()):(j(-1),G()),I("M")},selectYear:function(e){var n=parseInt(t(e.target).text(),10)||0;o.year(n),c===g?(Q(r.clone().year(o.year())),i.inline||tt()):(j(-1),G()),I("YYYY")},selectDecade:function(e){var n=parseInt(t(e.target).data("selection"),10)||0;o.year(n),c===g?(Q(r.clone().year(o.year())),i.inline||tt()):(j(-1),G()),I("YYYY")},selectDay:function(e){var n=o.clone();t(e.target).is(".old")&&n.subtract(1,"M"),t(e.target).is(".new")&&n.add(1,"M"),Q(n.date(parseInt(t(e.target).text(),10))),M()||i.keepOpen||i.inline||tt()},incrementHours:function(){var t=r.clone().add(1,"h");W(t,"h")&&Q(t)},incrementMinutes:function(){var t=r.clone().add(i.stepping,"m");W(t,"m")&&Q(t)},incrementSeconds:function(){var t=r.clone().add(1,"s");W(t,"s")&&Q(t)},decrementHours:function(){var t=r.clone().subtract(1,"h");W(t,"h")&&Q(t)},decrementMinutes:function(){var t=r.clone().subtract(i.stepping,"m");W(t,"m")&&Q(t)},decrementSeconds:function(){var t=r.clone().subtract(1,"s");W(t,"s")&&Q(t)},togglePeriod:function(){Q(r.clone().add(r.hours()>=12?-12:12,"h"))},togglePicker:function(e){var n,r=t(e.target),o=r.closest("ul"),a=o.find(".in"),s=o.find(".collapse:not(.in)");if(a&&a.length){if(n=a.data("collapse"),n&&n.transitioning)return;a.collapse?(a.collapse("hide"),s.collapse("show")):(a.removeClass("in"),s.addClass("in")),r.is("span")?r.toggleClass(i.icons.time+" "+i.icons.date):r.find("span").toggleClass(i.icons.time+" "+i.icons.date)}},showPicker:function(){p.find(".timepicker > div:not(.timepicker-picker)").hide(),p.find(".timepicker .timepicker-picker").show()},showHours:function(){p.find(".timepicker .timepicker-picker").hide(),p.find(".timepicker .timepicker-hours").show()},showMinutes:function(){p.find(".timepicker .timepicker-picker").hide(),p.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){p.find(".timepicker .timepicker-picker").hide(),p.find(".timepicker .timepicker-seconds").show()},selectHour:function(e){var n=parseInt(t(e.target).text(),10);s||(r.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),Q(r.clone().hours(n)),nt.showPicker.call(h)},selectMinute:function(e){Q(r.clone().minutes(parseInt(t(e.target).text(),10))),nt.showPicker.call(h)},selectSecond:function(e){Q(r.clone().seconds(parseInt(t(e.target).text(),10))),nt.showPicker.call(h)},clear:et,today:function(){var t=_();W(t,"d")&&Q(t)},close:tt},it=function(e){return!t(e.currentTarget).is(".disabled")&&(nt[t(e.currentTarget).data("action")].apply(h,arguments),!1)},rt=function(){var e,n={year:function(t){return t.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(t){return t.date(1).hours(0).seconds(0).minutes(0)},day:function(t){return t.hours(0).seconds(0).minutes(0)},hour:function(t){return t.seconds(0).minutes(0)},minute:function(t){return t.seconds(0)}};return a.prop("disabled")||!i.ignoreReadonly&&a.prop("readonly")||p?h:(void 0!==a.val()&&0!==a.val().trim().length?Q(at(a.val().trim())):i.useCurrent&&d&&(a.is("input")&&0===a.val().trim().length||i.inline)&&(e=_(),"string"==typeof i.useCurrent&&(e=n[i.useCurrent](e)),Q(e)),p=P(),F(),$(),p.find(".timepicker-hours").hide(),p.find(".timepicker-minutes").hide(),p.find(".timepicker-seconds").hide(),J(),j(),t(window).on("resize",L),p.on("click","[data-action]",it),p.on("mousedown",!1),f&&f.hasClass("btn")&&f.toggleClass("active"),p.show(),L(),i.focusOnShow&&!a.is(":focus")&&a.focus(),N({type:"dp.show"}),h)},ot=function(){return p?tt():rt()},at=function(t){return t=void 0===i.parseInputDate?e.isMoment(t)||t instanceof Date?e(t):_(t):i.parseInputDate(t),t.locale(i.locale),t},st=function(t){var e,n,r,o,a=null,s=[],l={},u=t.which,c="p";S[u]=c;for(e in S)S.hasOwnProperty(e)&&S[e]===c&&(s.push(e),parseInt(e,10)!==u&&(l[e]=!0));for(e in i.keyBinds)if(i.keyBinds.hasOwnProperty(e)&&"function"==typeof i.keyBinds[e]&&(r=e.split(" "),r.length===s.length&&w[u]===r[r.length-1])){for(o=!0,n=r.length-2;n>=0;n--)if(!(w[r[n]]in l)){o=!1;break}if(o){a=i.keyBinds[e];break}}a&&(a.call(h,p),t.stopPropagation(),t.preventDefault())},lt=function(t){S[t.which]="r",t.stopPropagation(),t.preventDefault()},ut=function(e){var n=t(e.target).val().trim(),i=n?at(n):null;return Q(i),e.stopImmediatePropagation(),!1},ct=function(){a.on({change:ut,blur:i.debug?"":tt,keydown:st,keyup:lt,focus:i.allowInputToggle?rt:""}),n.is("input")?a.on({focus:rt}):f&&(f.on("click",ot),f.on("mousedown",!1))},ht=function(){a.off({change:ut,blur:blur,keydown:st,keyup:lt,focus:i.allowInputToggle?tt:""}),n.is("input")?a.off({focus:rt}):f&&(f.off("click",ot),f.off("mousedown",!1))},dt=function(e){var n={};return t.each(e,function(){var t=at(this);t.isValid()&&(n[t.format("YYYY-MM-DD")]=!0)}),!!Object.keys(n).length&&n},ft=function(e){var n={};return t.each(e,function(){n[this]=!0}),!!Object.keys(n).length&&n},pt=function(){var t=i.format||"L LT";l=t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){var e=r.localeData().longDateFormat(t)||t;return e.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return r.localeData().longDateFormat(t)||t})}),u=i.extraFormats?i.extraFormats.slice():[],u.indexOf(t)<0&&u.indexOf(l)<0&&u.push(l),s=l.toLowerCase().indexOf("a")<1&&l.replace(/\[.*?\]/g,"").indexOf("h")<1,C("y")&&(g=2),C("M")&&(g=1),C("d")&&(g=0),c=Math.max(g,c),d||Q(r)};if(h.destroy=function(){tt(),ht(),n.removeData("DateTimePicker"),n.removeData("date")},h.toggle=ot,h.show=rt,h.hide=tt,h.disable=function(){return tt(),f&&f.hasClass("btn")&&f.addClass("disabled"),a.prop("disabled",!0),h},h.enable=function(){return f&&f.hasClass("btn")&&f.removeClass("disabled"),a.prop("disabled",!1),h},h.ignoreReadonly=function(t){if(0===arguments.length)return i.ignoreReadonly;if("boolean"!=typeof t)throw new TypeError("ignoreReadonly () expects a boolean parameter");return i.ignoreReadonly=t,h},h.options=function(e){if(0===arguments.length)return t.extend(!0,{},i);if(!(e instanceof Object))throw new TypeError("options() options parameter should be an object");return t.extend(!0,i,e),t.each(i,function(t,e){if(void 0===h[t])throw new TypeError("option "+t+" is not recognized!");h[t](e)}),h},h.date=function(t){if(0===arguments.length)return d?null:r.clone();if(!(null===t||"string"==typeof t||e.isMoment(t)||t instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return Q(null===t?null:at(t)),h},h.format=function(t){if(0===arguments.length)return i.format;if("string"!=typeof t&&("boolean"!=typeof t||t!==!1))throw new TypeError("format() expects a sting or boolean:false parameter "+t);return i.format=t,l&&pt(),h},h.timeZone=function(t){return 0===arguments.length?i.timeZone:(i.timeZone=t,h)},h.dayViewHeaderFormat=function(t){if(0===arguments.length)return i.dayViewHeaderFormat;if("string"!=typeof t)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return i.dayViewHeaderFormat=t,h},h.extraFormats=function(t){if(0===arguments.length)return i.extraFormats;if(t!==!1&&!(t instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return i.extraFormats=t,u&&pt(),h},h.disabledDates=function(e){if(0===arguments.length)return i.disabledDates?t.extend({},i.disabledDates):i.disabledDates;if(!e)return i.disabledDates=!1,J(),h;if(!(e instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return i.disabledDates=dt(e),i.enabledDates=!1,J(),h},h.enabledDates=function(e){if(0===arguments.length)return i.enabledDates?t.extend({},i.enabledDates):i.enabledDates;if(!e)return i.enabledDates=!1,J(),h;if(!(e instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return i.enabledDates=dt(e),i.disabledDates=!1,J(),h},h.daysOfWeekDisabled=function(t){if(0===arguments.length)return i.daysOfWeekDisabled.splice(0);if("boolean"==typeof t&&!t)return i.daysOfWeekDisabled=!1,J(),h;if(!(t instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(i.daysOfWeekDisabled=t.reduce(function(t,e){return e=parseInt(e,10),e>6||e<0||isNaN(e)?t:(t.indexOf(e)===-1&&t.push(e),t)},[]).sort(),i.useCurrent&&!i.keepInvalid){for(var e=0;!W(r,"d");){if(r.add(1,"d"),7===e)throw"Tried 7 times to find a valid date";e++}Q(r)}return J(),h},h.maxDate=function(t){if(0===arguments.length)return i.maxDate?i.maxDate.clone():i.maxDate;if("boolean"==typeof t&&t===!1)return i.maxDate=!1,J(),h;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=_()));var e=at(t);if(!e.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+t);if(i.minDate&&e.isBefore(i.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+e.format(l));return i.maxDate=e,i.useCurrent&&!i.keepInvalid&&r.isAfter(t)&&Q(i.maxDate),o.isAfter(e)&&(o=e.clone().subtract(i.stepping,"m")),J(),h},h.minDate=function(t){if(0===arguments.length)return i.minDate?i.minDate.clone():i.minDate;if("boolean"==typeof t&&t===!1)return i.minDate=!1,J(),h;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=_()));var e=at(t);if(!e.isValid())throw new TypeError("minDate() Could not parse date parameter: "+t);if(i.maxDate&&e.isAfter(i.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+e.format(l));return i.minDate=e,i.useCurrent&&!i.keepInvalid&&r.isBefore(t)&&Q(i.minDate),o.isBefore(e)&&(o=e.clone().add(i.stepping,"m")),J(),h},h.defaultDate=function(t){if(0===arguments.length)return i.defaultDate?i.defaultDate.clone():i.defaultDate;if(!t)return i.defaultDate=!1,h;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=_()));var e=at(t);if(!e.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+t);if(!W(e))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return i.defaultDate=e,(i.defaultDate&&i.inline||""===a.val().trim())&&Q(i.defaultDate),h},h.locale=function(t){if(0===arguments.length)return i.locale;if(!e.localeData(t))throw new TypeError("locale() locale "+t+" is not loaded from moment locales!");return i.locale=t,r.locale(i.locale),o.locale(i.locale),l&&pt(),p&&(tt(),rt()),h},h.stepping=function(t){return 0===arguments.length?i.stepping:(t=parseInt(t,10),(isNaN(t)||t<1)&&(t=1),i.stepping=t,h)},h.useCurrent=function(t){var e=["year","month","day","hour","minute"];if(0===arguments.length)return i.useCurrent;if("boolean"!=typeof t&&"string"!=typeof t)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof t&&e.indexOf(t.toLowerCase())===-1)throw new TypeError("useCurrent() expects a string parameter of "+e.join(", "));return i.useCurrent=t,h},h.collapse=function(t){if(0===arguments.length)return i.collapse;if("boolean"!=typeof t)throw new TypeError("collapse() expects a boolean parameter");return i.collapse===t?h:(i.collapse=t,p&&(tt(),rt()),h)},h.icons=function(e){if(0===arguments.length)return t.extend({},i.icons);if(!(e instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return t.extend(i.icons,e),p&&(tt(),rt()),h},h.tooltips=function(e){if(0===arguments.length)return t.extend({},i.tooltips);if(!(e instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return t.extend(i.tooltips,e),p&&(tt(),rt()),h},h.useStrict=function(t){if(0===arguments.length)return i.useStrict;if("boolean"!=typeof t)throw new TypeError("useStrict() expects a boolean parameter");return i.useStrict=t,h},h.sideBySide=function(t){if(0===arguments.length)return i.sideBySide;if("boolean"!=typeof t)throw new TypeError("sideBySide() expects a boolean parameter");return i.sideBySide=t,p&&(tt(),rt()),h},h.viewMode=function(t){if(0===arguments.length)return i.viewMode;if("string"!=typeof t)throw new TypeError("viewMode() expects a string parameter");if(v.indexOf(t)===-1)throw new TypeError("viewMode() parameter must be one of ("+v.join(", ")+") value");return i.viewMode=t,c=Math.max(v.indexOf(t),g),j(),h},h.toolbarPlacement=function(t){if(0===arguments.length)return i.toolbarPlacement;if("string"!=typeof t)throw new TypeError("toolbarPlacement() expects a string parameter");if(x.indexOf(t)===-1)throw new TypeError("toolbarPlacement() parameter must be one of ("+x.join(", ")+") value");return i.toolbarPlacement=t,p&&(tt(),rt()),h},h.widgetPositioning=function(e){if(0===arguments.length)return t.extend({},i.widgetPositioning);if("[object Object]"!=={}.toString.call(e))throw new TypeError("widgetPositioning() expects an object variable");if(e.horizontal){if("string"!=typeof e.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(e.horizontal=e.horizontal.toLowerCase(),b.indexOf(e.horizontal)===-1)throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+b.join(", ")+")");i.widgetPositioning.horizontal=e.horizontal}if(e.vertical){if("string"!=typeof e.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(e.vertical=e.vertical.toLowerCase(),y.indexOf(e.vertical)===-1)throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+y.join(", ")+")");i.widgetPositioning.vertical=e.vertical}return J(),h},h.calendarWeeks=function(t){if(0===arguments.length)return i.calendarWeeks;if("boolean"!=typeof t)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return i.calendarWeeks=t,J(),h},h.showTodayButton=function(t){if(0===arguments.length)return i.showTodayButton;if("boolean"!=typeof t)throw new TypeError("showTodayButton() expects a boolean parameter");return i.showTodayButton=t,p&&(tt(),rt()),h},h.showClear=function(t){if(0===arguments.length)return i.showClear;if("boolean"!=typeof t)throw new TypeError("showClear() expects a boolean parameter"); 19 return i.showClear=t,p&&(tt(),rt()),h},h.widgetParent=function(e){if(0===arguments.length)return i.widgetParent;if("string"==typeof e&&(e=t(e)),null!==e&&"string"!=typeof e&&!(e instanceof t))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return i.widgetParent=e,p&&(tt(),rt()),h},h.keepOpen=function(t){if(0===arguments.length)return i.keepOpen;if("boolean"!=typeof t)throw new TypeError("keepOpen() expects a boolean parameter");return i.keepOpen=t,h},h.focusOnShow=function(t){if(0===arguments.length)return i.focusOnShow;if("boolean"!=typeof t)throw new TypeError("focusOnShow() expects a boolean parameter");return i.focusOnShow=t,h},h.inline=function(t){if(0===arguments.length)return i.inline;if("boolean"!=typeof t)throw new TypeError("inline() expects a boolean parameter");return i.inline=t,h},h.clear=function(){return et(),h},h.keyBinds=function(t){return i.keyBinds=t,h},h.getMoment=function(t){return _(t)},h.debug=function(t){if("boolean"!=typeof t)throw new TypeError("debug() expects a boolean parameter");return i.debug=t,h},h.allowInputToggle=function(t){if(0===arguments.length)return i.allowInputToggle;if("boolean"!=typeof t)throw new TypeError("allowInputToggle() expects a boolean parameter");return i.allowInputToggle=t,h},h.showClose=function(t){if(0===arguments.length)return i.showClose;if("boolean"!=typeof t)throw new TypeError("showClose() expects a boolean parameter");return i.showClose=t,h},h.keepInvalid=function(t){if(0===arguments.length)return i.keepInvalid;if("boolean"!=typeof t)throw new TypeError("keepInvalid() expects a boolean parameter");return i.keepInvalid=t,h},h.datepickerInput=function(t){if(0===arguments.length)return i.datepickerInput;if("string"!=typeof t)throw new TypeError("datepickerInput() expects a string parameter");return i.datepickerInput=t,h},h.parseInputDate=function(t){if(0===arguments.length)return i.parseInputDate;if("function"!=typeof t)throw new TypeError("parseInputDate() sholud be as function");return i.parseInputDate=t,h},h.disabledTimeIntervals=function(e){if(0===arguments.length)return i.disabledTimeIntervals?t.extend({},i.disabledTimeIntervals):i.disabledTimeIntervals;if(!e)return i.disabledTimeIntervals=!1,J(),h;if(!(e instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return i.disabledTimeIntervals=e,J(),h},h.disabledHours=function(e){if(0===arguments.length)return i.disabledHours?t.extend({},i.disabledHours):i.disabledHours;if(!e)return i.disabledHours=!1,J(),h;if(!(e instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(i.disabledHours=ft(e),i.enabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!W(r,"h");){if(r.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}Q(r)}return J(),h},h.enabledHours=function(e){if(0===arguments.length)return i.enabledHours?t.extend({},i.enabledHours):i.enabledHours;if(!e)return i.enabledHours=!1,J(),h;if(!(e instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(i.enabledHours=ft(e),i.disabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!W(r,"h");){if(r.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}Q(r)}return J(),h},h.viewDate=function(t){if(0===arguments.length)return o.clone();if(!t)return o=r.clone(),h;if(!("string"==typeof t||e.isMoment(t)||t instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return o=at(t),I(),h},n.is("input"))a=n;else if(a=n.find(i.datepickerInput),0===a.size())a=n.find("input");else if(!a.is("input"))throw new Error('CSS class "'+i.datepickerInput+'" cannot be applied to non input element');if(n.hasClass("input-group")&&(f=0===n.find(".datepickerbutton").size()?n.find(".input-group-addon"):n.find(".datepickerbutton")),!i.inline&&!a.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return r=_(),o=r.clone(),t.extend(!0,i,O()),h.options(i),pt(),ct(),a.prop("disabled")&&h.disable(),a.is("input")&&0!==a.val().trim().length?Q(at(a.val().trim())):i.defaultDate&&void 0===a.attr("placeholder")&&Q(i.defaultDate),i.inline&&rt(),h};t.fn.datetimepicker=function(e){return this.each(function(){var i=t(this);i.data("DateTimePicker")||(e=t.extend(!0,{},t.fn.datetimepicker.defaults,e),i.data("DateTimePicker",n(i,e)))})},t.fn.datetimepicker.defaults={timeZone:"Etc/UTC",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:e.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(7,"d")):this.date(e.clone().add(this.stepping(),"m"))}},down:function(t){if(!t)return void this.show();var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(7,"d")):this.date(e.clone().subtract(this.stepping(),"m"))},"control up":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(1,"y")):this.date(e.clone().add(1,"h"))}},"control down":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(1,"y")):this.date(e.clone().subtract(1,"h"))}},left:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"d"))}},right:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"d"))}},pageUp:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"M"))}},pageDown:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(t){t.find(".timepicker").is(":visible")&&t.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1}}),!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var e;return function(){if(!e||!e.requirejs){e?n=e:e={};var t,n,i;!function(e){function r(t,e){return x.call(t,e)}function o(t,e){var n,i,r,o,a,s,l,u,c,h,d,f=e&&e.split("/"),p=y.map,g=p&&p["*"]||{};if(t&&"."===t.charAt(0))if(e){for(t=t.split("/"),a=t.length-1,y.nodeIdCompat&&S.test(t[a])&&(t[a]=t[a].replace(S,"")),t=f.slice(0,f.length-1).concat(t),c=0;c<t.length;c+=1)if(d=t[c],"."===d)t.splice(c,1),c-=1;else if(".."===d){if(1===c&&(".."===t[2]||".."===t[0]))break;c>0&&(t.splice(c-1,2),c-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((f||g)&&p){for(n=t.split("/"),c=n.length;c>0;c-=1){if(i=n.slice(0,c).join("/"),f)for(h=f.length;h>0;h-=1)if(r=p[f.slice(0,h).join("/")],r&&(r=r[i])){o=r,s=c;break}if(o)break;!l&&g&&g[i]&&(l=g[i],u=c)}!o&&l&&(o=l,s=u),o&&(n.splice(0,s,o),t=n.join("/"))}return t}function a(t,n){return function(){var i=w.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),f.apply(e,i.concat([t,n]))}}function s(t){return function(e){return o(e,t)}}function l(t){return function(e){m[t]=e}}function u(t){if(r(v,t)){var n=v[t];delete v[t],b[t]=!0,d.apply(e,n)}if(!r(m,t)&&!r(b,t))throw new Error("No "+t);return m[t]}function c(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function h(t){return function(){return y&&y.config&&y.config[t]||{}}}var d,f,p,g,m={},v={},y={},b={},x=Object.prototype.hasOwnProperty,w=[].slice,S=/\.js$/;p=function(t,e){var n,i=c(t),r=i[0];return t=i[1],r&&(r=o(r,e),n=u(r)),r?t=n&&n.normalize?n.normalize(t,s(e)):o(t,e):(t=o(t,e),i=c(t),r=i[0],t=i[1],r&&(n=u(r))),{f:r?r+"!"+t:t,n:t,pr:r,p:n}},g={require:function(t){return a(t)},exports:function(t){var e=m[t];return"undefined"!=typeof e?e:m[t]={}},module:function(t){return{id:t,uri:"",exports:m[t],config:h(t)}}},d=function(t,n,i,o){var s,c,h,d,f,y,x=[],w=typeof i;if(o=o||t,"undefined"===w||"function"===w){for(n=!n.length&&i.length?["require","exports","module"]:n,f=0;f<n.length;f+=1)if(d=p(n[f],o),c=d.f,"require"===c)x[f]=g.require(t);else if("exports"===c)x[f]=g.exports(t),y=!0;else if("module"===c)s=x[f]=g.module(t);else if(r(m,c)||r(v,c)||r(b,c))x[f]=u(c);else{if(!d.p)throw new Error(t+" missing "+c);d.p.load(d.n,a(o,!0),l(c),{}),x[f]=m[c]}h=i?i.apply(m[t],x):void 0,t&&(s&&s.exports!==e&&s.exports!==m[t]?m[t]=s.exports:h===e&&y||(m[t]=h))}else t&&(m[t]=i)},t=n=f=function(t,n,i,r,o){if("string"==typeof t)return g[t]?g[t](n):u(p(t,n).f);if(!t.splice){if(y=t,y.deps&&f(y.deps,y.callback),!n)return;n.splice?(t=n,n=i,i=null):t=e}return n=n||function(){},"function"==typeof i&&(i=r,r=o),r?d(e,t,n,i):setTimeout(function(){d(e,t,n,i)},4),f},f.config=function(t){return f(t)},t._defined=m,i=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),r(m,t)||r(v,t)||(v[t]=[t,e,n])},i.amd={jQuery:!0}}(),e.requirejs=t,e.require=n,e.define=i}}(),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){function e(t){var e=t.prototype,n=[];for(var i in e){var r=e[i];"function"==typeof r&&"constructor"!==i&&n.push(i)}return n}var n={};n.Extend=function(t,e){function n(){this.constructor=t}var i={}.hasOwnProperty;for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},n.Decorate=function(t,n){function i(){var e=Array.prototype.unshift,i=n.prototype.constructor.length,r=t.prototype.constructor;i>0&&(e.call(arguments,t.prototype.constructor),r=n.prototype.constructor),r.apply(this,arguments)}function r(){this.constructor=i}var o=e(n),a=e(t);n.displayName=t.displayName,i.prototype=new r;for(var s=0;s<a.length;s++){var l=a[s];i.prototype[l]=t.prototype[l]}for(var u=(function(t){var e=function(){};t in i.prototype&&(e=i.prototype[t]);var r=n.prototype[t];return function(){var t=Array.prototype.unshift;return t.call(arguments,e),r.apply(this,arguments)}}),c=0;c<o.length;c++){var h=o[c];i.prototype[h]=u(h)}return i};var i=function(){this.listeners={}};return i.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},i.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(t,e){for(var n=0,i=t.length;i>n;n++)t[n].apply(this,e)},n.Observable=i,n.generateChars=function(t){for(var e="",n=0;t>n;n++){var i=Math.floor(36*Math.random());e+=i.toString(36)}return e},n.bind=function(t,e){return function(){t.apply(e,arguments)}},n._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];o=o.substring(0,1).toLowerCase()+o.substring(1),o in i||(i[o]={}),r==n.length-1&&(i[o]=t[e]),i=i[o]}delete t[e]}}return t},n.hasScroll=function(e,n){var i=t(n),r=n.style.overflowX,o=n.style.overflowY;return(r!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===r||"scroll"===o||(i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth))},n.escapeMarkup=function(t){var e={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var i=t();t.map(n,function(t){i=i.add(t)}),n=i}e.append(n)},n}),e.define("select2/results",["jquery","./utils"],function(t,e){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=t('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),r=this.options.get("translations").get(e.message);i.append(n(r(e.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null==t.results||0===t.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],r=this.option(i);e.push(r)}this.$results.append(e)},n.prototype.position=function(t,e){var n=e.find(".select2-results");n.append(t)},n.prototype.sort=function(t){var e=this.options.get("sorter");return e(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var e=this;this.data.current(function(n){var i=t.map(n,function(t){return t.id.toString()}),r=e.$results.find(".select2-results__option[aria-selected]");r.each(function(){var e=t(this),n=t.data(this,"data"),r=""+n.id;null!=n.element&&n.element.selected||null==n.element&&t.inArray(r,i)>-1?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();var e=this.options.get("translations").get("searching"),n={disabled:!0,loading:!0,text:e(t)},i=this.option(n);i.className+=" loading-results",this.$results.prepend(i)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(e){var n=document.createElement("li");n.className="select2-results__option";var i={role:"treeitem","aria-selected":"false"};e.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==e.id&&delete i["aria-selected"],null!=e._resultId&&(n.id=e._resultId),e.title&&(n.title=e.title),e.children&&(i.role="group",i["aria-label"]=e.text,delete i["aria-selected"]);for(var r in i){var o=i[r];n.setAttribute(r,o)}if(e.children){var a=t(n),s=document.createElement("strong");s.className="select2-results__group",t(s),this.template(e,s);for(var l=[],u=0;u<e.children.length;u++){var c=e.children[u],h=this.option(c);l.push(h)}var d=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});d.append(l),a.append(s),a.append(d)}else this.template(e,n);return t.data(n,"data",e),n},n.prototype.bind=function(e,n){var i=this,r=e.id+"-results";this.$results.attr("id",r),e.on("results:all",function(t){i.clear(),i.append(t.data),e.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),e.on("results:append",function(t){i.append(t.data),e.isOpen()&&i.setClasses()}),e.on("query",function(t){i.hideMessages(),i.showLoading(t)}),e.on("select",function(){e.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),e.on("unselect",function(){e.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),e.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),e.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=i.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t=i.getHighlightedResults();if(0!==t.length){var e=t.data("data");"true"==t.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:e})}}),e.on("results:previous",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t);if(0!==n){var r=n-1;0===t.length&&(r=0);var o=e.eq(r);o.trigger("mouseenter");var a=i.$results.offset().top,s=o.offset().top,l=i.$results.scrollTop()+(s-a);0===r?i.$results.scrollTop(0):0>s-a&&i.$results.scrollTop(l)}}),e.on("results:next",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t),r=n+1;if(!(r>=e.length)){var o=e.eq(r);o.trigger("mouseenter");var a=i.$results.offset().top+i.$results.outerHeight(!1),s=o.offset().top+o.outerHeight(!1),l=i.$results.scrollTop()+s-a;0===r?i.$results.scrollTop(0):s>a&&i.$results.scrollTop(l)}}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){i.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-e+t.deltaY,r=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var n=t(this),r=n.data("data");return"true"===n.attr("aria-selected")?void(i.options.get("multiple")?i.trigger("unselect",{originalEvent:e,data:r}):i.trigger("close",{})):void i.trigger("select",{originalEvent:e,data:r})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var n=t(this).data("data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:n,element:t(this)})})},n.prototype.getHighlightedResults=function(){var t=this.$results.find(".select2-results__option--highlighted");return t},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]"),n=e.index(t),i=this.$results.offset().top,r=t.offset().top,o=this.$results.scrollTop()+(r-i),a=r-i;o-=2*t.outerHeight(!1),2>=n?this.$results.scrollTop(0):(a>this.$results.outerHeight()||0>a)&&this.$results.scrollTop(o)}},n.prototype.template=function(e,n){var i=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),o=i(e,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=r(o):t(n).append(o)},n}),e.define("select2/keys",[],function(){var t={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return t}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),this.$selection=e,e},i.prototype.bind=function(t,e){var i=this,r=(t.id+"-container",t.id+"-results");this.container=t,this.$selection.on("focus",function(t){i.trigger("focus",t)}),this.$selection.on("blur",function(t){i._handleBlur(t)}),this.$selection.on("keydown",function(t){i.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){i.update(t.data)}),t.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",r),i._attachCloseHandler(t)}),t.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),i._detachCloseHandler(t)}),t.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),t.on("disable",function(){i.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(e){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)},1)},i.prototype._attachCloseHandler=function(e){t(document.body).on("mousedown.select2."+e.id,function(e){var n=t(e.target),i=n.closest(".select2"),r=t(".select2.select2-container--open");r.each(function(){var e=t(this);if(this!=i[0]){var n=e.data("element");n.select2("close")}})})},i.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(t,e){var n=e.find(".selection");n.append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},i}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||n.$selection.focus()}),t.on("selection:update",function(t){n.update(t.data)})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(t,e){var n=this.options.get("templateSelection"),i=this.options.get("escapeMarkup");return i(n(t,e))},r.prototype.selectionContainer=function(){return t("<span></span>")},r.prototype.update=function(t){if(0===t.length)return void this.clear();var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i),n.prop("title",e.title||e.text)},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,n){function i(t,e){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},i.prototype.bind=function(e,n){var r=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){r.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!r.options.get("disabled")){var n=t(this),i=n.parent(),o=i.data("data");r.trigger("unselect",{originalEvent:e,data:o})}})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(t,e){var n=this.options.get("templateSelection"),i=this.options.get("escapeMarkup");return i(n(t,e))},i.prototype.selectionContainer=function(){var e=t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>');return e},i.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i<t.length;i++){var r=t[i],o=this.selectionContainer(),a=this.display(r,o);o.append(a),o.prop("title",r.title||r.text),o.data("data",r),e.push(o)}var s=this.$selection.find(".select2-selection__rendered");n.appendMany(s,e)}},i}),e.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id,i=e.length>1;if(i||n)return t.call(this,e);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},e}),e.define("select2/selection/allowClear",["jquery","../keys"],function(t,e){function n(){}return n.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){i._handleClear(t)}),e.on("keypress",function(t){i._handleKeyboardClear(t,e)})},n.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){e.stopPropagation();for(var i=n.data("data"),r=0;r<i.length;r++){var o={data:i[r]};if(this.trigger("unselect",o),o.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(t,n,i){i.isOpen()||(n.which==e.DELETE||n.which==e.BACKSPACE)&&this._handleClear(n)},n.prototype.update=function(e,n){if(e.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var i=t('<span class="select2-selection__clear">×</span>');i.data("data",n),this.$selection.find(".select2-selection__rendered").prepend(i)}},n}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,n){function i(t,e,n){t.call(this,e,n)}return i.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=e.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(t,e,i){var r=this;t.call(this,e,i),e.on("open",function(){r.$search.trigger("focus")}),e.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")}),e.on("enable",function(){r.$search.prop("disabled",!1),r._transferTabIndex()}),e.on("disable",function(){r.$search.prop("disabled",!0)}),e.on("focus",function(t){r.$search.trigger("focus")}),e.on("results:focus",function(t){r.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){r.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){r._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){t.stopPropagation(),r.trigger("keypress",t),r._keyUpPrevented=t.isDefaultPrevented();var e=t.which;if(e===n.BACKSPACE&&""===r.$search.val()){var i=r.$searchContainer.prev(".select2-selection__choice");if(i.length>0){var o=i.data("data");r.searchRemoveChoice(o),t.preventDefault()}}});var o=document.documentMode,a=o&&11>=o;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){return a?void r.$selection.off("input.search input.searchcheck"):void r.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(a&&"input"===t.type)return void r.$selection.off("input.search input.searchcheck");var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&r.handleSearch(t)})},i.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},i.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.focus()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";if(""!==this.$search.attr("placeholder"))t=this.$selection.find(".select2-selection__rendered").innerWidth();else{var e=this.$search.val().length+1;t=.75*e+"em"}this.$search.css("width",t)},i}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,n,i){var r=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting"],a=["opening","closing","selecting","unselecting"];e.call(this,n,i),n.on("*",function(e,n){if(-1!==t.inArray(e,o)){n=n||{};var i=t.Event("select2:"+e,{params:n});r.$element.trigger(i),-1!==t.inArray(e,a)&&(n.prevented=i.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var i=e(t);n._cache[t]=i}return new n(n._cache[t])},n}),e.define("select2/diacritics",[],function(){var t={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A", 20 "Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return t}),e.define("select2/data/base",["../utils"],function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var i=e.id+"-result-";return i+=t.generateChars(4),i+=null!=n.id?"-"+n.id.toString():"-"+t.generateChars(4)},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each(function(){var t=n(this),r=i.item(t);e.push(r)}),t(e)},i.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var r=[];t=[t],t.push.apply(t,i);for(var o=0;o<t.length;o++){var a=t[o].id;-1===n.inArray(a,r)&&r.push(a)}e.$element.val(r),e.$element.trigger("change")});else{var i=t.id;this.$element.val(i),this.$element.trigger("change")}},i.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple"))return t.selected=!1,n(t.element).is("option")?(t.element.selected=!1,void this.$element.trigger("change")):void this.current(function(i){for(var r=[],o=0;o<i.length;o++){var a=i[o].id;a!==t.id&&-1===n.inArray(a,r)&&r.push(a)}e.$element.val(r),e.$element.trigger("change")})},i.prototype.bind=function(t,e){var n=this;this.container=t,t.on("select",function(t){n.select(t.data)}),t.on("unselect",function(t){n.unselect(t.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},i.prototype.query=function(t,e){var i=[],r=this,o=this.$element.children();o.each(function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var o=r.item(e),a=r.matches(t,o);null!==a&&i.push(a)}}),e({results:i})},i.prototype.addOptions=function(t){e.appendMany(this.$element,t)},i.prototype.option=function(t){var e;t.children?(e=document.createElement("optgroup"),e.label=t.text):(e=document.createElement("option"),void 0!==e.textContent?e.textContent=t.text:e.innerText=t.text),t.id&&(e.value=t.id),t.disabled&&(e.disabled=!0),t.selected&&(e.selected=!0),t.title&&(e.title=t.title);var i=n(e),r=this._normalizeItem(t);return r.element=e,n.data(e,"data",r),i},i.prototype.item=function(t){var e={};if(e=n.data(t[0],"data"),null!=e)return e;if(t.is("option"))e={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){e={text:t.prop("label"),children:[],title:t.prop("title")};for(var i=t.children("option"),r=[],o=0;o<i.length;o++){var a=n(i[o]),s=this.item(a);r.push(s)}e.children=r}return e=this._normalizeItem(e),e.element=t[0],n.data(t[0],"data",e),e},i.prototype._normalizeItem=function(t){n.isPlainObject(t)||(t={id:t,text:t}),t=n.extend({},{text:""},t);var e={selected:!1,disabled:!1};return null!=t.id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},e,t)},i.prototype.matches=function(t,e){var n=this.options.get("matcher");return n(t,e)},i}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,n){function i(t,e){var n=e.get("data")||[];i.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(n))}return e.Extend(i,t),i.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,n){return n.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),i.__super__.select.call(this,t)},i.prototype.convertToOptions=function(t){function i(t){return function(){return n(this).val()==t.id}}for(var r=this,o=this.$element.find("option"),a=o.map(function(){return r.item(n(this)).id}).get(),s=[],l=0;l<t.length;l++){var u=this._normalizeItem(t[l]);if(n.inArray(u.id,a)>=0){var c=o.filter(i(u)),h=this.item(c),d=n.extend(!0,{},u,h),f=this.option(d);c.replaceWith(f)}else{var p=this.option(u);if(u.children){var g=this.convertToOptions(u.children);e.appendMany(p,g)}s.push(p)}}return s},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,n){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,i){var r=n.ajax(t);return r.then(e),r.fail(i),r}};return n.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(t,e){function i(){var i=o.transport(o,function(i){var o=r.processResults(i,t);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)},function(){i.status&&"0"===i.status||r.trigger("results:message",{message:"errorLoading"})});r._request=i}var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof o.url&&(o.url=o.url.call(this.$element,t)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),e.define("select2/data/tags",["jquery"],function(t){function e(e,n,i){var r=i.get("tags"),o=i.get("createTag");void 0!==o&&(this.createTag=o);var a=i.get("insertTag");if(void 0!==a&&(this.insertTag=a),e.call(this,n,i),t.isArray(r))for(var s=0;s<r.length;s++){var l=r[s],u=this._normalizeItem(l),c=this.option(u);this.$element.append(c)}}return e.prototype.query=function(t,e,n){function i(t,o){for(var a=t.results,s=0;s<a.length;s++){var l=a[s],u=null!=l.children&&!i({results:l.children},!0),c=l.text===e.term;if(c||u)return!o&&(t.data=a,void n(t))}if(o)return!0;var h=r.createTag(e);if(null!=h){var d=r.option(h);d.attr("data-select2-tag",!0),r.addOptions([d]),r.insertTag(a,h)}t.results=a,n(t)}var r=this;return this._removeOldTags(),null==e.term||null!=e.page?void t.call(this,e,n):void t.call(this,e,i)},e.prototype.createTag=function(e,n){var i=t.trim(n.term);return""===i?null:{id:i,text:i}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){var n=(this._lastTag,this.$element.find("option[data-select2-tag]"));n.each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,i){function r(e){var n=a._normalizeItem(e),i=a.$element.find("option").filter(function(){return t(this).val()===n.id});if(!i.length){var r=a.option(n);r.attr("data-select2-tag",!0),a._removeOldTags(),a.addOptions([r])}o(n)}function o(t){a.trigger("select",{data:t})}var a=this;n.term=n.term||"";var s=this.tokenizer(n,this.options,r);s.term!==n.term&&(this.$search.length&&(this.$search.val(s.term),this.$search.focus()),n.term=s.term),e.call(this,n,i)},e.prototype.tokenizer=function(e,n,i,r){for(var o=i.get("tokenSeparators")||[],a=n.term,s=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};s<a.length;){var u=a[s];if(-1!==t.inArray(u,o)){var c=a.substr(0,s),h=t.extend({},n,{term:c}),d=l(h);null!=d?(r(d),a=a.substr(s+1)||"",s=0):s++}else s++}return{term:a}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){return e.term=e.term||"",e.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):void t.call(this,e,n)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){return e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):void t.call(this,e,n)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){var i=this;this.current(function(r){var o=null!=r?r.length:0;return i.maximumSelectionLength>0&&o>=i.maximumSelectionLength?void i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):void t.call(i,e,n)})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function n(){}return n.prototype.render=function(e){var n=e.call(this),i=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(e,n,i){var r=this;e.call(this,n,i),this.$search.on("keydown",function(t){r.trigger("keypress",t),r._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){r.handleSearch(t)}),n.on("open",function(){r.$search.attr("tabindex",0),r.$search.focus(),window.setTimeout(function(){r.$search.focus()},0)}),n.on("close",function(){r.$search.attr("tabindex",-1),r.$search.val("")}),n.on("focus",function(){n.isOpen()&&r.$search.focus()}),n.on("results:all",function(t){if(null==t.query.term||""===t.query.term){var e=r.showSearch(t);e?r.$searchContainer.removeClass("select2-search--hide"):r.$searchContainer.addClass("select2-search--hide")}})},n.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.showSearch=function(t,e){return!0},n}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;i>=0;i--){var r=e[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,n,i){var r=this;e.call(this,n,i),n.on("query",function(t){r.lastParams=t,r.loading=!0}),n.on("query:append",function(t){r.lastParams=t,r.loading=!0}),this.$results.on("scroll",function(){var e=t.contains(document.documentElement,r.$loadingMore[0]);if(!r.loading&&e){var n=r.$results.offset().top+r.$results.outerHeight(!1),i=r.$loadingMore.offset().top+r.$loadingMore.outerHeight(!1);n+50>=i&&r.loadMore()}})},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function n(e,n,i){this.$dropdownParent=i.get("dropdownParent")||t(document.body),e.call(this,n,i)}return n.prototype.bind=function(t,e,n){var i=this,r=!1;t.call(this,e,n),e.on("open",function(){i._showDropdown(),i._attachPositioningHandler(e),r||(r=!0,e.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),e.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),i=e.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,i){var r=this,o="scroll.select2."+i.id,a="resize.select2."+i.id,s="orientationchange.select2."+i.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){t(this).data("select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(o,function(e){var n=t(this).data("select2-scroll-position");t(this).scrollTop(n.y)}),t(window).on(o+" "+a+" "+s,function(t){r._positionDropdown(),r._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var r="scroll.select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id,s=this.$container.parents().filter(e.hasScroll);s.off(r),t(window).off(r+" "+o+" "+a)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),r=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=o.top,a.bottom=o.top+a.height;var s={height:this.$dropdown.outerHeight(!1)},l={top:e.scrollTop(),bottom:e.scrollTop()+e.height()},u=l.top<o.top-s.height,c=l.bottom>o.bottom+s.height,h={left:o.left,top:a.bottom},d=this.$dropdownParent;"static"===d.css("position")&&(d=d.offsetParent());var f=d.offset();h.top-=f.top,h.left-=f.left,n||i||(r="below"),c||!u||n?!u&&c&&n&&(r="below"):r="above",("above"==r||n&&"below"!==r)&&(h.top=a.top-f.top-s.height),null!=r&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)),this.$dropdownContainer.css(h)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(e){for(var n=0,i=0;i<e.length;i++){var r=e[i];r.children?n+=t(r.children):n++}return n}function e(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return e.prototype.showSearch=function(e,n){return!(t(n.data.results)<this.minimumResultsForSearch)&&e.call(this,n)},e}),e.define("select2/dropdown/selectOnClose",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("close",function(t){i._handleSelectOnClose(t)})},t.prototype._handleSelectOnClose=function(t,e){if(e&&null!=e.originalSelect2Event){var n=e.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=i.data("data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},t}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(t){i._selectTriggered(t)}),e.on("unselect",function(t){i._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&n.ctrlKey||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){var e=t.minimum-t.input.length,n="Please enter "+e+" or more characters";return n},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,n,i,r,o,a,s,l,u,c,h,d,f,p,g,m,v,y,b,x,w,S,_,C,M,k,T,D){function A(){this.reset()}A.prototype.apply=function(h){if(h=t.extend(!0,{},this.defaults,h),null==h.dataAdapter){if(null!=h.ajax?h.dataAdapter=p:null!=h.data?h.dataAdapter=f:h.dataAdapter=d,h.minimumInputLength>0&&(h.dataAdapter=u.Decorate(h.dataAdapter,v)),h.maximumInputLength>0&&(h.dataAdapter=u.Decorate(h.dataAdapter,y)),h.maximumSelectionLength>0&&(h.dataAdapter=u.Decorate(h.dataAdapter,b)),h.tags&&(h.dataAdapter=u.Decorate(h.dataAdapter,g)),(null!=h.tokenSeparators||null!=h.tokenizer)&&(h.dataAdapter=u.Decorate(h.dataAdapter,m)),null!=h.query){var D=e(h.amdBase+"compat/query");h.dataAdapter=u.Decorate(h.dataAdapter,D)}if(null!=h.initSelection){var A=e(h.amdBase+"compat/initSelection");h.dataAdapter=u.Decorate(h.dataAdapter,A)}}if(null==h.resultsAdapter&&(h.resultsAdapter=n,null!=h.ajax&&(h.resultsAdapter=u.Decorate(h.resultsAdapter,_)),null!=h.placeholder&&(h.resultsAdapter=u.Decorate(h.resultsAdapter,S)),h.selectOnClose&&(h.resultsAdapter=u.Decorate(h.resultsAdapter,k))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=x;else{var E=u.Decorate(x,w);h.dropdownAdapter=E}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=u.Decorate(h.dropdownAdapter,M)),h.closeOnSelect&&(h.dropdownAdapter=u.Decorate(h.dropdownAdapter,T)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var P=e(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=u.Decorate(h.dropdownAdapter,P)}h.dropdownAdapter=u.Decorate(h.dropdownAdapter,C)}if(null==h.selectionAdapter){if(h.multiple?h.selectionAdapter=r:h.selectionAdapter=i,null!=h.placeholder&&(h.selectionAdapter=u.Decorate(h.selectionAdapter,o)),h.allowClear&&(h.selectionAdapter=u.Decorate(h.selectionAdapter,a)),h.multiple&&(h.selectionAdapter=u.Decorate(h.selectionAdapter,s)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var O=e(h.amdBase+"compat/containerCss");h.selectionAdapter=u.Decorate(h.selectionAdapter,O)}h.selectionAdapter=u.Decorate(h.selectionAdapter,l)}if("string"==typeof h.language)if(h.language.indexOf("-")>0){var L=h.language.split("-"),N=L[0];h.language=[h.language,N]}else h.language=[h.language];if(t.isArray(h.language)){var I=new c;h.language.push("en");for(var j=h.language,F=0;F<j.length;F++){var R=j[F],H={};try{H=c.loadPath(R)}catch(t){try{R=this.defaults.amdLanguageBase+R,H=c.loadPath(R)}catch(t){h.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+R+'" could not be automatically loaded. A fallback will be used instead.');continue}}I.extend(H)}h.translations=I}else{var z=c.loadPath(this.defaults.amdLanguageBase+"en"),B=new c(h.language);B.extend(z),h.translations=B}return h},A.prototype.reset=function(){function e(t){function e(t){return h[t]||t}return t.replace(/[^\u0000-\u007E]/g,e)}function n(i,r){if(""===t.trim(i.term))return r;if(r.children&&r.children.length>0){for(var o=t.extend(!0,{},r),a=r.children.length-1;a>=0;a--){var s=r.children[a],l=n(i,s);null==l&&o.children.splice(a,1)}return o.children.length>0?o:n(i,o)}var u=e(r.text).toUpperCase(),c=e(i.term).toUpperCase();return u.indexOf(c)>-1?r:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:u.escapeMarkup,language:D,matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},A.prototype.set=function(e,n){var i=t.camelCase(e),r={};r[i]=n;var o=u._convertData(r);t.extend(this.defaults,o)};var E=new A;return E}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,n,i){function r(e,r){if(this.options=e,null!=r&&this.fromElement(r),this.options=n.apply(this.options),r&&r.is("input")){var o=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,o)}}return r.prototype.fromElement=function(t){var n=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),t.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),t.data("data",t.data("select2Tags")),t.data("tags",!0)),t.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",t.data("ajaxUrl")),t.data("ajax--url",t.data("ajaxUrl")));var r={};r=e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset?e.extend(!0,{},t[0].dataset,t.data()):t.data();var o=e.extend(!0,{},r);o=i._convertData(o);for(var a in o)e.inArray(a,n)>-1||(e.isPlainObject(this.options[a])?e.extend(this.options[a],o[a]):this.options[a]=o[a]);return this},r.prototype.get=function(t){return this.options[t]},r.prototype.set=function(t,e){this.options[t]=e},r}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,n,i){var r=function(t,n){null!=t.data("select2")&&t.data("select2").destroy(),this.$element=t,this.id=this._generateId(t),n=n||{},this.options=new e(n,t),r.__super__.constructor.call(this);var i=t.attr("tabindex")||0;t.data("old-tabindex",i),t.attr("tabindex","-1");var o=this.options.get("dataAdapter");this.dataAdapter=new o(t,this.options);var a=this.render();this._placeContainer(a);var s=this.options.get("selectionAdapter");this.selection=new s(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var l=this.options.get("dropdownAdapter");this.dropdown=new l(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var u=this.options.get("resultsAdapter");this.results=new u(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var c=this; 21 this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){c.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),t.data("select2",this)};return n.Extend(r,n.Observable),r.prototype._generateId=function(t){var e="";return e=null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4),e=e.replace(/(:|\.|\[|\]|,)/g,""),e="select2-"+e},r.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},r.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var i=this._resolveWidth(t,"style");return null!=i?i:this._resolveWidth(t,"element")}if("element"==e){var r=t.outerWidth(!1);return 0>=r?"auto":r+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var a=o.split(";"),s=0,l=a.length;l>s;s+=1){var u=a[s].replace(/\s/g,""),c=u.match(n);if(null!==c&&c.length>=1)return c[1]}return null}return e},r.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},r.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){t.each(n,e._syncA),t.each(n,e._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},r.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,n){t.trigger(e,n)})},r.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(i,r){-1===t.inArray(i,n)&&e.trigger(i,r)})},r.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,n){t.trigger(e,n)})},r.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,n){t.trigger(e,n)})},r.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(n){t.trigger("results:all",{data:n,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(n){t.trigger("results:append",{data:n,query:e})})}),this.on("keypress",function(e){var n=e.which;t.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&e.altKey?(t.close(),e.preventDefault()):n===i.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===i.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===i.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===i.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},r.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},r.prototype._syncSubtree=function(t,e){var n=!1,i=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&e.addedNodes.length>0)for(var r=0;r<e.addedNodes.length;r++){var o=e.addedNodes[r];o.selected&&(n=!0)}else e.removedNodes&&e.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(t){i.trigger("selection:update",{data:t})})}},r.prototype.trigger=function(t,e){var n=r.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===e&&(e={}),t in i){var o=i[t],a={prevented:!1,name:t,args:e};if(n.call(this,o,a),a.prevented)return void(e.prevented=!0)}n.call(this,t,e)},r.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.trigger("query",{})},r.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},r.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},r.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},r.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==t||0===t.length)&&(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},r.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},r.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,function(t){return t.toString()})),this.$element.val(n).trigger("change")},r.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),e.data("element",this.$element),e},r}),e.define("jquery-mousewheel",["jquery"],function(t){return t}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(t,e,n,i){if(null==t.fn.select2){var r=["open","close","destroy"];t.fn.select2=function(e){if(e=e||{},"object"==typeof e)return this.each(function(){var i=t.extend(!0,{},e);new n(t(this),i)}),this;if("string"==typeof e){var i,o=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=t(this).data("select2");null==n&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=n[e].apply(n,o)}),t.inArray(e,r)>-1?this:i}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=i),n}),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n}),!function(t,e,n){"use strict";!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){n(1),n(50),n(51),n(52),n(54),n(55),n(58),n(59),n(60),n(61),n(62),n(63),n(64),n(65),n(66),n(68),n(70),n(72),n(74),n(77),n(78),n(79),n(83),n(86),n(87),n(88),n(89),n(91),n(92),n(93),n(94),n(95),n(97),n(99),n(100),n(101),n(103),n(104),n(105),n(107),n(108),n(109),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(126),n(130),n(131),n(132),n(133),n(137),n(139),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(158),n(159),n(161),n(162),n(163),n(167),n(168),n(169),n(170),n(171),n(173),n(174),n(175),n(176),n(179),n(181),n(182),n(183),n(185),n(187),n(189),n(190),n(191),n(193),n(194),n(195),n(196),n(203),n(206),n(207),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(231),n(234),n(235),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(258),n(259),n(261),n(262),n(263),n(264),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(291),n(156),n(293),n(292),n(294),n(295),n(296),n(297),n(298),n(300),n(301),n(302),n(304),t.exports=n(305)},function(t,e,i){var r=i(2),o=i(3),a=i(4),s=i(6),l=i(16),u=i(20).KEY,c=i(5),h=i(21),d=i(22),f=i(17),p=i(23),g=i(24),m=i(25),v=i(27),y=i(40),b=i(43),x=i(10),w=i(30),S=i(14),_=i(15),C=i(44),M=i(47),k=i(49),T=i(9),D=i(28),A=k.f,E=T.f,P=M.f,O=r.Symbol,L=r.JSON,N=L&&L.stringify,I="prototype",j=p("_hidden"),F=p("toPrimitive"),R={}.propertyIsEnumerable,H=h("symbol-registry"),z=h("symbols"),B=h("op-symbols"),W=Object[I],$="function"==typeof O,U=r.QObject,q=!U||!U[I]||!U[I].findChild,Y=a&&c(function(){return 7!=C(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=A(W,e);i&&delete W[e],E(t,e,n),i&&t!==W&&E(W,e,i)}:E,G=function(t){var e=z[t]=C(O[I]);return e._k=t,e},X=$&&"symbol"==typeof O.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof O},V=function(t,e,n){return t===W&&V(B,e,n),x(t),e=S(e,!0),x(n),o(z,e)?(n.enumerable?(o(t,j)&&t[j][e]&&(t[j][e]=!1),n=C(n,{enumerable:_(0,!1)})):(o(t,j)||E(t,j,_(1,{})),t[j][e]=!0),Y(t,e,n)):E(t,e,n)},Z=function(t,e){x(t);for(var n,i=y(e=w(e)),r=0,o=i.length;o>r;)V(t,n=i[r++],e[n]);return t},K=function(t,e){return e===n?C(t):Z(C(t),e)},J=function(t){var e=R.call(this,t=S(t,!0));return!(this===W&&o(z,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(z,t)||o(this,j)&&this[j][t])||e)},Q=function(t,e){if(t=w(t),e=S(e,!0),t!==W||!o(z,e)||o(B,e)){var n=A(t,e);return!n||!o(z,e)||o(t,j)&&t[j][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=P(w(t)),i=[],r=0;n.length>r;)o(z,e=n[r++])||e==j||e==u||i.push(e);return i},et=function(t){for(var e,n=t===W,i=P(n?B:w(t)),r=[],a=0;i.length>a;)!o(z,e=i[a++])||n&&!o(W,e)||r.push(z[e]);return r};$||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:n),e=function(n){this===W&&e.call(B,n),o(this,j)&&o(this[j],t)&&(this[j][t]=!1),Y(this,t,_(1,n))};return a&&q&&Y(W,t,{configurable:!0,set:e}),G(t)},l(O[I],"toString",function(){return this._k}),k.f=Q,T.f=V,i(48).f=M.f=tt,i(42).f=J,i(41).f=et,a&&!i(26)&&l(W,"propertyIsEnumerable",J,!0),g.f=function(t){return G(p(t))}),s(s.G+s.W+s.F*!$,{Symbol:O});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;nt.length>it;)p(nt[it++]);for(var nt=D(p.store),it=0;nt.length>it;)m(nt[it++]);s(s.S+s.F*!$,"Symbol",{for:function(t){return o(H,t+="")?H[t]:H[t]=O(t)},keyFor:function(t){if(X(t))return v(H,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),s(s.S+s.F*!$,"Object",{create:K,defineProperty:V,defineProperties:Z,getOwnPropertyDescriptor:Q,getOwnPropertyNames:tt,getOwnPropertySymbols:et}),L&&s(s.S+s.F*(!$||c(function(){var t=O();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){if(t!==n&&!X(t)){for(var e,i,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return e=r[1],"function"==typeof e&&(i=e),!i&&b(e)||(e=function(t,e){if(i&&(e=i.call(this,t,e)),!X(e))return e}),r[1]=e,N.apply(L,r)}}}),O[I][F]||i(8)(O[I],F,O[I].valueOf),d(O,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(t,n){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof e&&(e=i)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var r=i(2),o=i(7),a=i(8),s=i(16),l=i(18),u="prototype",c=function(t,e,i){var h,d,f,p,g=t&c.F,m=t&c.G,v=t&c.S,y=t&c.P,b=t&c.B,x=m?r:v?r[e]||(r[e]={}):(r[e]||{})[u],w=m?o:o[e]||(o[e]={}),S=w[u]||(w[u]={});m&&(i=e);for(h in i)d=!g&&x&&x[h]!==n,f=(d?x:i)[h],p=b&&d?l(f,r):y&&"function"==typeof f?l(Function.call,f):f,x&&s(x,h,f,t&c.U),w[h]!=f&&a(w,h,p),y&&S[h]!=f&&(S[h]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(e,n){var i=e.exports={version:"2.4.0"};"number"==typeof t&&(t=i)},function(t,e,n){var i=n(9),r=n(15);t.exports=n(4)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(10),r=n(12),o=n(14),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(11);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(4)&&!n(5)(function(){return 7!=Object.defineProperty(n(13)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(11),r=n(2).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){var i=n(11);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i=n(2),r=n(8),o=n(3),a=n(17)("src"),s="toString",l=Function[s],u=(""+l).split(s);n(7).inspectSource=function(t){return l.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(l&&(o(n,a)||r(n,a,t[e]?""+t[e]:u.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||l.call(this)})},function(t,e){var i=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(t===n?"":t,")_",(++i+r).toString(36))}},function(t,e,i){var r=i(19);t.exports=function(t,e,i){if(r(t),e===n)return t;switch(i){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var i=n(17)("meta"),r=n(11),o=n(3),a=n(9).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(5)(function(){return l(Object.preventExtensions({}))}),c=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},h=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[i].i},d=function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[i].w},f=function(t){return u&&p.NEED&&l(t)&&!o(t,i)&&c(t),t},p=t.exports={KEY:i,NEED:!1,fastKey:h,getWeak:d,onFreeze:f}},function(t,e,n){var i=n(2),r="__core-js_shared__",o=i[r]||(i[r]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var i=n(9).f,r=n(3),o=n(23)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(21)("wks"),r=n(17),o=n(2).Symbol,a="function"==typeof o,s=t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))};s.store=i},function(t,e,n){e.f=n(23)},function(t,e,n){var i=n(2),r=n(7),o=n(26),a=n(24),s=n(9).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e){t.exports=!1},function(t,e,n){var i=n(28),r=n(30);t.exports=function(t,e){for(var n,o=r(t),a=i(o),s=a.length,l=0;s>l;)if(o[n=a[l++]]===e)return n}},function(t,e,n){var i=n(29),r=n(39);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(3),r=n(30),o=n(34)(!1),a=n(38)("IE_PROTO");t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var i=n(31),r=n(33);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(32);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(t==n)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(30),r=n(35),o=n(37);t.exports=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){var i=n(36),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(36),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(21)("keys"),r=n(17);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(28),r=n(41),o=n(42);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var a,s=n(t),l=o.f,u=0;s.length>u;)l.call(t,a=s[u++])&&e.push(a);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var i=n(32);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,i){var r=i(10),o=i(45),a=i(39),s=i(38)("IE_PROTO"),l=function(){},u="prototype",c=function(){var t,e=i(13)("iframe"),n=a.length,r="<",o=">";for(e.style.display="none",i(46).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),c=t.F;n--;)delete c[u][a[n]];return c()};t.exports=Object.create||function(t,e){var i;return null!==t?(l[u]=r(t),i=new l,l[u]=null,i[s]=t):i=c(),e===n?i:o(i,e)}},function(t,e,n){var i=n(9),r=n(10),o=n(28);t.exports=n(4)?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),s=a.length,l=0;s>l;)i.f(t,n=a[l++],e[n]);return t}},function(t,e,n){t.exports=n(2).document&&document.documentElement},function(t,e,n){var i=n(30),r=n(48).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return r(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):r(i(t))}},function(t,e,n){var i=n(29),r=n(39).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(42),r=n(15),o=n(30),a=n(14),s=n(3),l=n(12),u=Object.getOwnPropertyDescriptor;e.f=n(4)?u:function(t,e){if(t=o(t),e=a(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(6);i(i.S+i.F*!n(4),"Object",{defineProperty:n(9).f})},function(t,e,n){var i=n(6);i(i.S+i.F*!n(4),"Object",{defineProperties:n(45)})},function(t,e,n){var i=n(30),r=n(49).f;n(53)("getOwnPropertyDescriptor",function(){return function(t,e){return r(i(t),e)}})},function(t,e,n){var i=n(6),r=n(7),o=n(5);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){var i=n(6);i(i.S,"Object",{create:n(44)})},function(t,e,n){var i=n(56),r=n(57);n(53)("getPrototypeOf",function(){return function(t){return r(i(t))}})},function(t,e,n){var i=n(33);t.exports=function(t){return Object(i(t))}},function(t,e,n){var i=n(3),r=n(56),o=n(38)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var i=n(56),r=n(28);n(53)("keys",function(){return function(t){return r(i(t))}})},function(t,e,n){n(53)("getOwnPropertyNames",function(){return n(47).f})},function(t,e,n){var i=n(11),r=n(20).onFreeze;n(53)("freeze",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},function(t,e,n){var i=n(11),r=n(20).onFreeze;n(53)("seal",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},function(t,e,n){var i=n(11),r=n(20).onFreeze;n(53)("preventExtensions",function(t){return function(e){return t&&i(e)?t(r(e)):e}})},function(t,e,n){var i=n(11);n(53)("isFrozen",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(11);n(53)("isSealed",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(11);n(53)("isExtensible",function(t){return function(e){return!!i(e)&&(!t||t(e))}})},function(t,e,n){var i=n(6);i(i.S+i.F,"Object",{assign:n(67)})},function(t,e,n){var i=n(28),r=n(41),o=n(42),a=n(56),s=n(31),l=Object.assign;t.exports=!l||n(5)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i})?function(t,e){for(var n=a(t),l=arguments.length,u=1,c=r.f,h=o.f;l>u;)for(var d,f=s(arguments[u++]),p=c?i(f).concat(c(f)):i(f),g=p.length,m=0;g>m;)h.call(f,d=p[m++])&&(n[d]=f[d]);return n}:l},function(t,e,n){var i=n(6);i(i.S,"Object",{is:n(69)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},function(t,e,n){var i=n(6);i(i.S,"Object",{setPrototypeOf:n(71).set})},function(t,e,i){var r=i(11),o=i(10),a=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{n=i(18)(Function.call,i(49).f(Object.prototype,"__proto__").set,2),n(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,i){return a(t,i),e?t.__proto__=i:n(t,i),t}}({},!1):n),check:a}},function(t,e,n){var i=n(73),r={};r[n(23)("toStringTag")]="z",r+""!="[object z]"&&n(16)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(t,e,i){var r=i(32),o=i(23)("toStringTag"),a="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,i,l;return t===n?"Undefined":null===t?"Null":"string"==typeof(i=s(e=Object(t),o))?i:a?r(e):"Object"==(l=r(e))&&"function"==typeof e.callee?"Arguments":l}},function(t,e,n){var i=n(6);i(i.P,"Function",{bind:n(75)})},function(t,e,n){var i=n(19),r=n(11),o=n(76),a=[].slice,s={},l=function(t,e,n){if(!(e in s)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";s[e]=Function("F,a","return new F("+i.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=i(this),n=a.call(arguments,1),s=function(){var i=n.concat(a.call(arguments));return this instanceof s?l(e,i.length,i):o(e,i,t)};return r(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e){t.exports=function(t,e,i){var r=i===n;switch(e.length){case 0:return r?t():t.call(i);case 1:return r?t(e[0]):t.call(i,e[0]);case 2:return r?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},function(t,e,n){var i=n(9).f,r=n(15),o=n(3),a=Function.prototype,s=/^\s*function ([^ (]*)/,l="name",u=Object.isExtensible||function(){return!0};l in a||n(4)&&i(a,l,{configurable:!0,get:function(){try{var t=this,e=(""+t).match(s)[1];return o(t,l)||!u(t)||i(t,l,r(5,e)),e}catch(t){return""}}})},function(t,e,n){var i=n(11),r=n(57),o=n(23)("hasInstance"),a=Function.prototype;o in a||n(9).f(a,o,{value:function(t){if("function"!=typeof this||!i(t))return!1;if(!i(this.prototype))return t instanceof this;for(;t=r(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var i=n(2),r=n(3),o=n(32),a=n(80),s=n(14),l=n(5),u=n(48).f,c=n(49).f,h=n(9).f,d=n(81).trim,f="Number",p=i[f],g=p,m=p.prototype,v=o(n(44)(m))==f,y="trim"in String.prototype,b=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():d(e,3);var n,i,r,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+e}for(var a,l=e.slice(2),u=0,c=l.length;u<c;u++)if(a=l.charCodeAt(u),a<48||a>r)return NaN;return parseInt(l,i)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(v?l(function(){m.valueOf.call(n)}):o(n)!=f)?a(new g(b(e)),n,p):b(e)};for(var x,w=n(4)?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)r(g,x=w[S])&&!r(p,x)&&h(p,x,c(g,x));p.prototype=m,m.constructor=p,n(16)(i,f,p)}},function(t,e,n){var i=n(11),r=n(71).set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&i(o)&&r&&r(t,o),t}},function(t,e,n){var i=n(6),r=n(33),o=n(5),a=n(82),s="["+a+"]",l=" ",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),h=function(t,e,n){var r={},s=o(function(){return!!a[t]()||l[t]()!=l}),u=r[t]=s?e(d):a[t];n&&(r[n]=u),i(i.P+i.F*s,"String",r)},d=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=h},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var i=n(6),r=n(36),o=n(84),a=n(85),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",h="0",d=function(t,e){for(var n=-1,i=e;++n<6;)i+=t*u[n],u[n]=i%1e7,i=l(i/1e7)},f=function(t){for(var e=6,n=0;--e>=0;)n+=u[e],u[e]=l(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+a.call(h,7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2===1?g(t,e-1,n*t):g(t*t,e/2,n)},m=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};i(i.P+i.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(5)(function(){s.call({})})),"Number",{toFixed:function(t){var e,n,i,s,l=o(this,c),u=r(t),v="",y=h;if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(v="-",l=-l),l>1e-21)if(e=m(l*g(2,69,1))-69,n=e<0?l*g(2,-e,1):l/g(2,e,1),n*=4503599627370496,e=52-e,e>0){for(d(0,n),i=u;i>=7;)d(1e7,0),i-=7;for(d(g(10,i,1),0),i=e-1;i>=23;)f(1<<23),i-=23;f(1<<i),d(1,1),f(2),y=p()}else d(0,n),d(1<<-e,0),y=p()+a.call(h,u);return u>0?(s=y.length,y=v+(s<=u?"0."+a.call(h,u-s)+y:y.slice(0,s-u)+"."+y.slice(s-u))):y=v+y,y}})},function(t,e,n){var i=n(32);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=i(t))throw TypeError(e);return+t}},function(t,e,n){var i=n(36),r=n(33);t.exports=function(t){var e=String(r(this)),n="",o=i(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,i){var r=i(6),o=i(5),a=i(84),s=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==s.call(1,n)})||!o(function(){s.call({})})),"Number",{toPrecision:function(t){var e=a(this,"Number#toPrecision: incorrect invocation!");return t===n?s.call(e):s.call(e,t)}})},function(t,e,n){var i=n(6);i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var i=n(6),r=n(2).isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},function(t,e,n){var i=n(6);i(i.S,"Number",{isInteger:n(90)})},function(t,e,n){var i=n(11),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},function(t,e,n){var i=n(6);i(i.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var i=n(6),r=n(90),o=Math.abs;i(i.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},function(t,e,n){var i=n(6);i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var i=n(6);i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var i=n(6),r=n(96);i(i.S+i.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},function(t,e,n){var i=n(2).parseFloat,r=n(81).trim;t.exports=1/i(n(82)+"-0")!==-(1/0)?function(t){var e=r(String(t),3),n=i(e);return 0===n&&"-"==e.charAt(0)?-0:n}:i},function(t,e,n){var i=n(6),r=n(98);i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},function(t,e,n){var i=n(2).parseInt,r=n(81).trim,o=n(82),a=/^[\-+]?0[xX]/;t.exports=8!==i(o+"08")||22!==i(o+"0x16")?function(t,e){var n=r(String(t),3);return i(n,e>>>0||(a.test(n)?16:10))}:i},function(t,e,n){var i=n(6),r=n(98);i(i.G+i.F*(parseInt!=r),{parseInt:r})},function(t,e,n){var i=n(6),r=n(96);i(i.G+i.F*(parseFloat!=r),{parseFloat:r})},function(t,e,n){var i=n(6),r=n(102),o=Math.sqrt,a=Math.acosh;i(i.S+i.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){function i(t){return isFinite(t=+t)&&0!=t?t<0?-i(-t):Math.log(t+Math.sqrt(t*t+1)):t}var r=n(6),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:i})},function(t,e,n){var i=n(6),r=Math.atanh;i(i.S+i.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var i=n(6),r=n(106);i(i.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var i=n(6);i(i.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32; 22 }})},function(t,e,n){var i=n(6),r=Math.exp;i(i.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},function(t,e,n){var i=n(6),r=n(110);i(i.S+i.F*(r!=Math.expm1),"Math",{expm1:r})},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var i=n(6),r=n(106),o=Math.pow,a=o(2,-52),s=o(2,-23),l=o(2,127)*(2-s),u=o(2,-126),c=function(t){return t+1/a-1/a};i(i.S,"Math",{fround:function(t){var e,n,i=Math.abs(t),o=r(t);return i<u?o*c(i/u/s)*u*s:(e=(1+s/a)*i,n=e-(e-i),n>l||n!=n?o*(1/0):o*n)}})},function(t,e,n){var i=n(6),r=Math.abs;i(i.S,"Math",{hypot:function(t,e){for(var n,i,o=0,a=0,s=arguments.length,l=0;a<s;)n=r(arguments[a++]),l<n?(i=l/n,o=o*i*i+1,l=n):n>0?(i=n/l,o+=i*i):o+=n;return l===1/0?1/0:l*Math.sqrt(o)}})},function(t,e,n){var i=n(6),r=Math.imul;i(i.S+i.F*n(5)(function(){return r(4294967295,5)!=-5||2!=r.length}),"Math",{imul:function(t,e){var n=65535,i=+t,r=+e,o=n&i,a=n&r;return 0|o*a+((n&i>>>16)*a+o*(n&r>>>16)<<16>>>0)}})},function(t,e,n){var i=n(6);i(i.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var i=n(6);i(i.S,"Math",{log1p:n(102)})},function(t,e,n){var i=n(6);i(i.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var i=n(6);i(i.S,"Math",{sign:n(106)})},function(t,e,n){var i=n(6),r=n(110),o=Math.exp;i(i.S+i.F*n(5)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var i=n(6),r=n(110),o=Math.exp;i(i.S,"Math",{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var i=n(6);i(i.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var i=n(6),r=n(37),o=String.fromCharCode,a=String.fromCodePoint;i(i.S+i.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,a=0;i>a;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}return n.join("")}})},function(t,e,n){var i=n(6),r=n(30),o=n(35);i(i.S,"String",{raw:function(t){for(var e=r(t.raw),n=o(e.length),i=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<i&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){n(81)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){var i=n(6),r=n(125)(!1);i(i.P,"String",{codePointAt:function(t){return r(this,t)}})},function(t,e,i){var r=i(36),o=i(33);t.exports=function(t){return function(e,i){var a,s,l=String(o(e)),u=r(i),c=l.length;return u<0||u>=c?t?"":n:(a=l.charCodeAt(u),a<55296||a>56319||u+1===c||(s=l.charCodeAt(u+1))<56320||s>57343?t?l.charAt(u):a:t?l.slice(u,u+2):(a-55296<<10)+(s-56320)+65536)}}},function(t,e,i){var r=i(6),o=i(35),a=i(127),s="endsWith",l=""[s];r(r.P+r.F*i(129)(s),"String",{endsWith:function(t){var e=a(this,t,s),i=arguments.length>1?arguments[1]:n,r=o(e.length),u=i===n?r:Math.min(o(i),r),c=String(t);return l?l.call(e,c,u):e.slice(u-c.length,u)===c}})},function(t,e,n){var i=n(128),r=n(33);t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},function(t,e,i){var r=i(11),o=i(32),a=i(23)("match");t.exports=function(t){var e;return r(t)&&((e=t[a])!==n?!!e:"RegExp"==o(t))}},function(t,e,n){var i=n(23)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,i){var r=i(6),o=i(127),a="includes";r(r.P+r.F*i(129)(a),"String",{includes:function(t){return!!~o(this,t,a).indexOf(t,arguments.length>1?arguments[1]:n)}})},function(t,e,n){var i=n(6);i(i.P,"String",{repeat:n(85)})},function(t,e,i){var r=i(6),o=i(35),a=i(127),s="startsWith",l=""[s];r(r.P+r.F*i(129)(s),"String",{startsWith:function(t){var e=a(this,t,s),i=o(Math.min(arguments.length>1?arguments[1]:n,e.length)),r=String(t);return l?l.call(e,r,i):e.slice(i,i+r.length)===r}})},function(t,e,i){var r=i(125)(!0);i(134)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:n,done:!0}:(t=r(e,i),this._i+=t.length,{value:t,done:!1})})},function(t,e,i){var r=i(26),o=i(6),a=i(16),s=i(8),l=i(3),u=i(135),c=i(136),h=i(22),d=i(57),f=i(23)("iterator"),p=!([].keys&&"next"in[].keys()),g="@@iterator",m="keys",v="values",y=function(){return this};t.exports=function(t,e,i,b,x,w,S){c(i,e,b);var _,C,M,k=function(t){if(!p&&t in E)return E[t];switch(t){case m:return function(){return new i(this,t)};case v:return function(){return new i(this,t)}}return function(){return new i(this,t)}},T=e+" Iterator",D=x==v,A=!1,E=t.prototype,P=E[f]||E[g]||x&&E[x],O=P||k(x),L=x?D?k("entries"):O:n,N="Array"==e?E.entries||P:P;if(N&&(M=d(N.call(new t)),M!==Object.prototype&&(h(M,T,!0),r||l(M,f)||s(M,f,y))),D&&P&&P.name!==v&&(A=!0,O=function(){return P.call(this)}),r&&!S||!p&&!A&&E[f]||s(E,f,O),u[e]=O,u[T]=y,x)if(_={values:D?O:k(v),keys:w?O:k(m),entries:L},S)for(C in _)C in E||a(E,C,_[C]);else o(o.P+o.F*(p||A),e,_);return _}},function(t,e){t.exports={}},function(t,e,n){var i=n(44),r=n(15),o=n(22),a={};n(8)(a,n(23)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){n(138)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){var i=n(6),r=n(5),o=n(33),a=/"/g,s=function(t,e,n,i){var r=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(a,""")+'"'),s+">"+r+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),i(i.P+i.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){n(138)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){n(138)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){n(138)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){n(138)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){n(138)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){n(138)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){n(138)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){n(138)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){n(138)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){n(138)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){n(138)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){n(138)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var i=n(6);i(i.S,"Array",{isArray:n(43)})},function(t,e,i){var r=i(18),o=i(6),a=i(56),s=i(153),l=i(154),u=i(35),c=i(155),h=i(156);o(o.S+o.F*!i(157)(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,o,d,f=a(t),p="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:n,v=m!==n,y=0,b=h(f);if(v&&(m=r(m,g>2?arguments[2]:n,2)),b==n||p==Array&&l(b))for(e=u(f.length),i=new p(e);e>y;y++)c(i,y,v?m(f[y],y):f[y]);else for(d=b.call(f),i=new p;!(o=d.next()).done;y++)c(i,y,v?s(d,m,[o.value,y],!0):o.value);return i.length=y,i}})},function(t,e,i){var r=i(10);t.exports=function(t,e,i,o){try{return o?e(r(i)[0],i[1]):e(i)}catch(e){var a=t.return;throw a!==n&&r(a.call(t)),e}}},function(t,e,i){var r=i(135),o=i(23)("iterator"),a=Array.prototype;t.exports=function(t){return t!==n&&(r.Array===t||a[o]===t)}},function(t,e,n){var i=n(9),r=n(15);t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},function(t,e,i){var r=i(73),o=i(23)("iterator"),a=i(135);t.exports=i(7).getIteratorMethod=function(t){if(t!=n)return t[o]||t["@@iterator"]||a[r(t)]}},function(t,e,n){var i=n(23)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],a=o[i]();a.next=function(){return{done:n=!0}},o[i]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){var i=n(6),r=n(155);i(i.S+i.F*n(5)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)r(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,i){var r=i(6),o=i(30),a=[].join;r(r.P+r.F*(i(31)!=Object||!i(160)(a)),"Array",{join:function(t){return a.call(o(this),t===n?",":t)}})},function(t,e,n){var i=n(5);t.exports=function(t,e){return!!t&&i(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,i){var r=i(6),o=i(46),a=i(32),s=i(37),l=i(35),u=[].slice;r(r.P+r.F*i(5)(function(){o&&u.call(o)}),"Array",{slice:function(t,e){var i=l(this.length),r=a(this);if(e=e===n?i:e,"Array"==r)return u.call(this,t,e);for(var o=s(t,i),c=s(e,i),h=l(c-o),d=Array(h),f=0;f<h;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(t,e,i){var r=i(6),o=i(19),a=i(56),s=i(5),l=[].sort,u=[1,2,3];r(r.P+r.F*(s(function(){u.sort(n)})||!s(function(){u.sort(null)})||!i(160)(l)),"Array",{sort:function(t){return t===n?l.call(a(this)):l.call(a(this),o(t))}})},function(t,e,n){var i=n(6),r=n(164)(0),o=n(160)([].forEach,!0);i(i.P+i.F*!o,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},function(t,e,i){var r=i(18),o=i(31),a=i(56),s=i(35),l=i(165);t.exports=function(t,e){var i=1==t,u=2==t,c=3==t,h=4==t,d=6==t,f=5==t||d,p=e||l;return function(e,l,g){for(var m,v,y=a(e),b=o(y),x=r(l,g,3),w=s(b.length),S=0,_=i?p(e,w):u?p(e,0):n;w>S;S++)if((f||S in b)&&(m=b[S],v=x(m,S,y),t))if(i)_[S]=v;else if(v)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:_.push(m)}else if(h)return!1;return d?-1:c||h?h:_}}},function(t,e,n){var i=n(166);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,i){var r=i(11),o=i(43),a=i(23)("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=n),r(e)&&(e=e[a],null===e&&(e=n))),e===n?Array:e}},function(t,e,n){var i=n(6),r=n(164)(1);i(i.P+i.F*!n(160)([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(164)(2);i(i.P+i.F*!n(160)([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(164)(3);i(i.P+i.F*!n(160)([].some,!0),"Array",{some:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(164)(4);i(i.P+i.F*!n(160)([].every,!0),"Array",{every:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(172);i(i.P+i.F*!n(160)([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){var i=n(19),r=n(56),o=n(31),a=n(35);t.exports=function(t,e,n,s,l){i(e);var u=r(t),c=o(u),h=a(u.length),d=l?h-1:0,f=l?-1:1;if(n<2)for(;;){if(d in c){s=c[d],d+=f;break}if(d+=f,l?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;l?d>=0:h>d;d+=f)d in c&&(s=e(s,c[d],d,u));return s}},function(t,e,n){var i=n(6),r=n(172);i(i.P+i.F*!n(160)([].reduceRight,!0),"Array",{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){var i=n(6),r=n(34)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n(160)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},function(t,e,n){var i=n(6),r=n(30),o=n(36),a=n(35),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(l||!n(160)(s)),"Array",{lastIndexOf:function(t){if(l)return s.apply(this,arguments)||0;var e=r(this),n=a(e.length),i=n-1;for(arguments.length>1&&(i=Math.min(i,o(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in e&&e[i]===t)return i||0;return-1}})},function(t,e,n){var i=n(6);i(i.P,"Array",{copyWithin:n(177)}),n(178)("copyWithin")},function(t,e,i){var r=i(56),o=i(37),a=i(35);t.exports=[].copyWithin||function(t,e){var i=r(this),s=a(i.length),l=o(t,s),u=o(e,s),c=arguments.length>2?arguments[2]:n,h=Math.min((c===n?s:o(c,s))-u,s-l),d=1;for(u<l&&l<u+h&&(d=-1,u+=h-1,l+=h-1);h-- >0;)u in i?i[l]=i[u]:delete i[l],l+=d,u+=d;return i}},function(t,e,i){var r=i(23)("unscopables"),o=Array.prototype;o[r]==n&&i(8)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var i=n(6);i(i.P,"Array",{fill:n(180)}),n(178)("fill")},function(t,e,i){var r=i(56),o=i(37),a=i(35);t.exports=function(t){for(var e=r(this),i=a(e.length),s=arguments.length,l=o(s>1?arguments[1]:n,i),u=s>2?arguments[2]:n,c=u===n?i:o(u,i);c>l;)e[l++]=t;return e}},function(t,e,i){var r=i(6),o=i(164)(5),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),r(r.P+r.F*s,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:n)}}),i(178)(a)},function(t,e,i){var r=i(6),o=i(164)(6),a="findIndex",s=!0;a in[]&&Array(1)[a](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:n)}}),i(178)(a)},function(t,e,i){var r=i(178),o=i(184),a=i(135),s=i(30);t.exports=i(134)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=n,o(1)):"keys"==e?o(0,i):"values"==e?o(0,t[i]):o(0,[i,t[i]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(186)("Array")},function(t,e,n){var i=n(2),r=n(9),o=n(4),a=n(23)("species");t.exports=function(t){var e=i[t];o&&e&&!e[a]&&r.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,i){var r=i(2),o=i(80),a=i(9).f,s=i(48).f,l=i(128),u=i(188),c=r.RegExp,h=c,d=c.prototype,f=/a/g,p=/a/g,g=new c(f)!==f;if(i(4)&&(!g||i(5)(function(){return p[i(23)("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")}))){c=function(t,e){var i=this instanceof c,r=l(t),a=e===n;return!i&&r&&t.constructor===c&&a?t:o(g?new h(r&&!a?t.source:t,e):h((r=t instanceof c)?t.source:t,r&&a?u.call(t):e),i?this:d,c)};for(var m=(function(t){t in c||a(c,t,{configurable:!0,get:function(){return h[t]},set:function(e){h[t]=e}})}),v=s(h),y=0;v.length>y;)m(v[y++]);d.constructor=c,c.prototype=d,i(16)(r,"RegExp",c)}i(186)("RegExp")},function(t,e,n){var i=n(10);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,i){i(190);var r=i(10),o=i(188),a=i(4),s="toString",l=/./[s],u=function(t){i(16)(RegExp.prototype,s,t,!0)};i(5)(function(){return"/a/b"!=l.call({source:"a",flags:"b"})})?u(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?o.call(t):n)}):l.name!=s&&u(function(){return l.call(this)})},function(t,e,n){n(4)&&"g"!=/./g.flags&&n(9).f(RegExp.prototype,"flags",{configurable:!0,get:n(188)})},function(t,e,i){i(192)("match",1,function(t,e,i){return[function(i){var r=t(this),o=i==n?n:i[e];return o!==n?o.call(i,r):new RegExp(i)[e](String(r))},i]})},function(t,e,n){var i=n(8),r=n(16),o=n(5),a=n(33),s=n(23);t.exports=function(t,e,n){var l=s(t),u=n(a,l,""[t]),c=u[0],h=u[1];o(function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})&&(r(String.prototype,t,c),i(RegExp.prototype,l,2==e?function(t,e){return h.call(t,this,e)}:function(t){return h.call(t,this)}))}},function(t,e,i){i(192)("replace",2,function(t,e,i){return[function(r,o){var a=t(this),s=r==n?n:r[e];return s!==n?s.call(r,a,o):i.call(String(a),r,o)},i]})},function(t,e,i){i(192)("search",1,function(t,e,i){return[function(i){var r=t(this),o=i==n?n:i[e];return o!==n?o.call(i,r):new RegExp(i)[e](String(r))},i]})},function(t,e,i){i(192)("split",2,function(t,e,r){var o=i(128),a=r,s=[].push,l="split",u="length",c="lastIndex";if("c"=="abbc"[l](/(b)*/)[1]||4!="test"[l](/(?:)/,-1)[u]||2!="ab"[l](/(?:ab)*/)[u]||4!="."[l](/(.?)(.?)/)[u]||"."[l](/()()/)[u]>1||""[l](/.?/)[u]){var h=/()??/.exec("")[1]===n;r=function(t,e){var i=String(this);if(t===n&&0===e)return[];if(!o(t))return a.call(i,t,e);var r,l,d,f,p,g=[],m=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,y=e===n?4294967295:e>>>0,b=new RegExp(t.source,m+"g");for(h||(r=new RegExp("^"+b.source+"$(?!\\s)",m));(l=b.exec(i))&&(d=l.index+l[0][u],!(d>v&&(g.push(i.slice(v,l.index)),!h&&l[u]>1&&l[0].replace(r,function(){for(p=1;p<arguments[u]-2;p++)arguments[p]===n&&(l[p]=n)}),l[u]>1&&l.index<i[u]&&s.apply(g,l.slice(1)),f=l[0][u],v=d,g[u]>=y)));)b[c]===l.index&&b[c]++;return v===i[u]?!f&&b.test("")||g.push(""):g.push(i.slice(v)),g[u]>y?g.slice(0,y):g}}else"0"[l](n,0)[u]&&(r=function(t,e){return t===n&&0===e?[]:a.call(this,t,e)});return[function(i,o){var a=t(this),s=i==n?n:i[e];return s!==n?s.call(i,a,o):r.call(String(a),i,o)},r]})},function(t,e,i){var r,o,a,s=i(26),l=i(2),u=i(18),c=i(73),h=i(6),d=i(11),f=i(19),p=i(197),g=i(198),m=i(199),v=i(200).set,y=i(201)(),b="Promise",x=l.TypeError,w=l.process,S=l[b],w=l.process,_="process"==c(w),C=function(){},M=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[i(23)("species")]=function(t){t(C,C)};return(_||"function"==typeof PromiseRejectionEvent)&&t.then(C)instanceof e}catch(t){}}(),k=function(t,e){return t===e||t===S&&e===a},T=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},D=function(t){return k(S,t)?new A(t):new o(t)},A=o=function(t){var e,i;this.promise=new t(function(t,r){if(e!==n||i!==n)throw x("Bad Promise constructor");e=t,i=r}),this.resolve=f(e),this.reject=f(i)},E=function(t){try{t()}catch(t){return{error:t}}},P=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var i=t._v,r=1==t._s,o=0,a=function(e){var n,o,a=r?e.ok:e.fail,s=e.resolve,l=e.reject,u=e.domain;try{a?(r||(2==t._h&&N(t),t._h=1),a===!0?n=i:(u&&u.enter(),n=a(i),u&&u.exit()),n===e.promise?l(x("Promise-chain cycle")):(o=T(n))?o.call(n,s,l):s(n)):l(i)}catch(t){l(t)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&O(t)})}},O=function(t){v.call(l,function(){var e,i,r,o=t._v;if(L(t)&&(e=E(function(){_?w.emit("unhandledRejection",o,t):(i=l.onunhandledrejection)?i({promise:t,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=_||L(t)?2:1),t._a=n,e)throw e.error})},L=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,i=0;n.length>i;)if(e=n[i++],e.fail||!L(e.promise))return!1;return!0},N=function(t){v.call(l,function(){var e;_?w.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},I=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),P(e,!0))},j=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw x("Promise can't be resolved itself");(e=T(t))?y(function(){var i={_w:n,_d:!1};try{e.call(t,u(j,i,1),u(I,i,1))}catch(t){I.call(i,t)}}):(n._v=t,n._s=1,P(n,!1))}catch(t){I.call({_w:n,_d:!1},t)}}};M||(S=function(t){p(this,S,b,"_h"),f(t),r.call(this);try{t(u(j,this,1),u(I,this,1))}catch(t){I.call(this,t)}},r=function(t){this._c=[],this._a=n,this._s=0,this._d=!1,this._v=n,this._h=0,this._n=!1},r.prototype=i(202)(S.prototype,{then:function(t,e){var i=D(m(this,S));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=_?w.domain:n,this._c.push(i),this._a&&this._a.push(i),this._s&&P(this,!1),i.promise},catch:function(t){return this.then(n,t)}}),A=function(){var t=new r;this.promise=t,this.resolve=u(j,t,1),this.reject=u(I,t,1)}),h(h.G+h.W+h.F*!M,{Promise:S}),i(22)(S,b),i(186)(b),a=i(7)[b],h(h.S+h.F*!M,b,{reject:function(t){var e=D(this),n=e.reject;return n(t),e.promise}}),h(h.S+h.F*(s||!M),b,{resolve:function(t){if(t instanceof S&&k(t.constructor,this))return t;var e=D(this),n=e.resolve;return n(t),e.promise}}),h(h.S+h.F*!(M&&i(157)(function(t){S.all(t).catch(C)})),b,{all:function(t){var e=this,i=D(e),r=i.resolve,o=i.reject,a=E(function(){var i=[],a=0,s=1;g(t,!1,function(t){var l=a++,u=!1;i.push(n),s++,e.resolve(t).then(function(t){u||(u=!0,i[l]=t,--s||r(i))},o)}),--s||r(i)});return a&&o(a.error),i.promise},race:function(t){var e=this,n=D(e),i=n.reject,r=E(function(){g(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r&&i(r.error),n.promise}})},function(t,e){t.exports=function(t,e,i,r){if(!(t instanceof e)||r!==n&&r in t)throw TypeError(i+": incorrect invocation!");return t}},function(t,e,n){var i=n(18),r=n(153),o=n(154),a=n(10),s=n(35),l=n(156),u={},c={},e=t.exports=function(t,e,n,h,d){var f,p,g,m,v=d?function(){return t}:l(t),y=i(n,h,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(f=s(t.length);f>b;b++)if(m=e?y(a(p=t[b])[0],p[1]):y(t[b]),m===u||m===c)return m}else for(g=v.call(t);!(p=g.next()).done;)if(m=r(g,y,p.value,e),m===u||m===c)return m};e.BREAK=u,e.RETURN=c},function(t,e,i){var r=i(10),o=i(19),a=i(23)("species");t.exports=function(t,e){var i,s=r(t).constructor;return s===n||(i=r(s)[a])==n?e:o(i)}},function(t,e,n){var i,r,o,a=n(18),s=n(76),l=n(46),u=n(13),c=n(2),h=c.process,d=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,g=0,m={},v="onreadystatechange",y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},b=function(t){y.call(t.data)};d&&f||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},i(g),g},f=function(t){delete m[t]},"process"==n(32)(h)?i=function(t){h.nextTick(a(y,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=b,i=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(i=function(t){c.postMessage(t+"","*")},c.addEventListener("message",b,!1)):i=v in u("script")?function(t){l.appendChild(u("script"))[v]=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:d,clear:f}},function(t,e,i){var r=i(2),o=i(200).set,a=r.MutationObserver||r.WebKitMutationObserver,s=r.process,l=r.Promise,u="process"==i(32)(s);t.exports=function(){var t,e,i,c=function(){var r,o;for(u&&(r=s.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?i():e=n,r}}e=n,r&&r.enter()};if(u)i=function(){s.nextTick(c)};else if(a){var h=!0,d=document.createTextNode("");new a(c).observe(d,{characterData:!0}),i=function(){d.data=h=!h}}else if(l&&l.resolve){var f=l.resolve();i=function(){f.then(c)}}else i=function(){o.call(r,c)};return function(r){var o={fn:r,next:n};e&&(e.next=o),t||(t=o,i()),e=o}}},function(t,e,n){var i=n(16);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},function(t,e,i){var r=i(204);t.exports=i(205)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:n)}},{get:function(t){var e=r.getEntry(this,t);return e&&e.v},set:function(t,e){return r.def(this,0===t?0:t,e)}},r,!0)},function(t,e,i){var r=i(9).f,o=i(44),a=i(202),s=i(18),l=i(197),u=i(33),c=i(198),h=i(134),d=i(184),f=i(186),p=i(4),g=i(20).fastKey,m=p?"_s":"size",v=function(t,e){var n,i=g(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,i,h){var d=t(function(t,r){l(t,d,e,"_i"),t._i=o(null),t._f=n,t._l=n,t[m]=0,r!=n&&c(r,i,t[h],t)});return a(d.prototype,{clear:function(){for(var t=this,e=t._i,i=t._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=n),delete e[i.i];t._f=t._l=n,t[m]=0},delete:function(t){var e=this,n=v(e,t);if(n){var i=n.n,r=n.p;delete e._i[n.i],n.r=!0,r&&(r.n=i),i&&(i.p=r),e._f==n&&(e._f=i),e._l==n&&(e._l=r),e[m]--}return!!n},forEach:function(t){l(this,d,"forEach");for(var e,i=s(t,arguments.length>1?arguments[1]:n,3);e=e?e.n:this._f;)for(i(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!v(this,t)}}),p&&r(d.prototype,"size",{get:function(){return u(this[m])}}),d},def:function(t,e,i){var r,o,a=v(t,e);return a?a.v=i:(t._l=a={i:o=g(e,!0),k:e,v:i,p:r=t._l,n:n,r:!1},t._f||(t._f=a),r&&(r.n=a),t[m]++,"F"!==o&&(t._i[o]=a)),t},getEntry:v,setStrong:function(t,e,i){h(t,e,function(t,e){this._t=t,this._k=e,this._l=n},function(){for(var t=this,e=t._k,i=t._l;i&&i.r;)i=i.p;return t._t&&(t._l=i=i?i.n:t._t._f)?"keys"==e?d(0,i.k):"values"==e?d(0,i.v):d(0,[i.k,i.v]):(t._t=n,d(1))},i?"entries":"values",!i,!0),f(e)}}},function(t,e,i){var r=i(2),o=i(6),a=i(16),s=i(202),l=i(20),u=i(198),c=i(197),h=i(11),d=i(5),f=i(157),p=i(22),g=i(80);t.exports=function(t,e,i,m,v,y){var b=r[t],x=b,w=v?"set":"add",S=x&&x.prototype,_={},C=function(t){var e=S[t];a(S,t,"delete"==t?function(t){return!(y&&!h(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!h(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!h(t)?n:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof x&&(y||S.forEach&&!d(function(){(new x).entries().next()}))){var M=new x,k=M[w](y?{}:-0,1)!=M,T=d(function(){M.has(1)}),D=f(function(t){new x(t)}),A=!y&&d(function(){for(var t=new x,e=5;e--;)t[w](e,e);return!t.has(-0)});D||(x=e(function(e,i){c(e,x,t);var r=g(new b,e,x);return i!=n&&u(i,v,r[w],r),r}),x.prototype=S,S.constructor=x),(T||A)&&(C("delete"),C("has"),v&&C("get")),(A||k)&&C(w),y&&S.clear&&delete S.clear}else x=m.getConstructor(e,t,v,w),s(x.prototype,i),l.NEED=!0;return p(x,t),_[t]=x,o(o.G+o.W+o.F*(x!=b),_),y||m.setStrong(x,t,v),x}},function(t,e,i){var r=i(204);t.exports=i(205)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:n)}},{add:function(t){return r.def(this,t=0===t?0:t,t)}},r)},function(t,e,i){var r,o=i(164)(0),a=i(16),s=i(20),l=i(67),u=i(208),c=i(11),h=s.getWeak,d=Object.isExtensible,f=u.ufstore,p={},g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:n)}},m={get:function(t){if(c(t)){var e=h(t);return e===!0?f(this).get(t):e?e[this._i]:n}},set:function(t,e){return u.def(this,t,e)}},v=t.exports=i(205)("WeakMap",g,m,u,!0,!0);7!=(new v).set((Object.freeze||Object)(p),7).get(p)&&(r=u.getConstructor(g),l(r.prototype,m),s.NEED=!0,o(["delete","has","get","set"],function(t){var e=v.prototype,n=e[t];a(e,t,function(e,i){if(c(e)&&!d(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e,i){var r=i(202),o=i(20).getWeak,a=i(10),s=i(11),l=i(197),u=i(198),c=i(164),h=i(3),d=c(5),f=c(6),p=0,g=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},v=function(t,e){return d(t.a,function(t){return t[0]===e})};m.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=f(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,i,a){var c=t(function(t,r){l(t,c,e,"_i"),t._i=p++,t._l=n,r!=n&&u(r,i,t[a],t)});return r(c.prototype,{delete:function(t){if(!s(t))return!1;var e=o(t);return e===!0?g(this).delete(t):e&&h(e,this._i)&&delete e[this._i]},has:function(t){if(!s(t))return!1;var e=o(t);return e===!0?g(this).has(t):e&&h(e,this._i)}}),c},def:function(t,e,n){var i=o(a(e),!0);return i===!0?g(t).set(e,n):i[t._i]=n,t},ufstore:g}},function(t,e,i){var r=i(208);i(205)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:n)}},{add:function(t){return r.def(this,t,!0)}},r,!1,!0)},function(t,e,n){var i=n(6),r=n(19),o=n(10),a=(n(2).Reflect||{}).apply,s=Function.apply;i(i.S+i.F*!n(5)(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var i=r(t),l=o(n);return a?a(i,e,l):s.call(i,e,l)}})},function(t,e,n){var i=n(6),r=n(44),o=n(19),a=n(10),s=n(11),l=n(5),u=n(75),c=(n(2).Reflect||{}).construct,h=l(function(){function t(){}return!(c(function(){},[],t)instanceof t)}),d=!l(function(){c(function(){})});i(i.S+i.F*(h||d),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(d&&!h)return c(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(u.apply(t,i))}var l=n.prototype,f=r(s(l)?l:Object.prototype),p=Function.apply.call(t,f,e);return s(p)?p:f}})},function(t,e,n){var i=n(9),r=n(6),o=n(10),a=n(14);r(r.S+r.F*n(5)(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return i.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var i=n(6),r=n(49).f,o=n(10);i(i.S,"Reflect",{deleteProperty:function(t,e){var n=r(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,i){var r=i(6),o=i(10),a=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};i(136)(a,"Object",function(){var t,e=this,i=e._k;do if(e._i>=i.length)return{value:n,done:!0};while(!((t=i[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new a(t)}})},function(t,e,i){function r(t,e){var i,l,h=arguments.length<3?t:arguments[2];return c(t)===h?t[e]:(i=o.f(t,e))?s(i,"value")?i.value:i.get!==n?i.get.call(h):n:u(l=a(t))?r(l,e,h):void 0}var o=i(49),a=i(57),s=i(3),l=i(6),u=i(11),c=i(10);l(l.S,"Reflect",{get:r})},function(t,e,n){var i=n(49),r=n(6),o=n(10);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return i.f(o(t),e)}})},function(t,e,n){var i=n(6),r=n(57),o=n(10);i(i.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},function(t,e,n){var i=n(6);i(i.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var i=n(6),r=n(10),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})},function(t,e,n){var i=n(6);i(i.S,"Reflect",{ownKeys:n(221)})},function(t,e,n){var i=n(48),r=n(41),o=n(10),a=n(2).Reflect;t.exports=a&&a.ownKeys||function(t){var e=i.f(o(t)),n=r.f;return n?e.concat(n(t)):e}},function(t,e,n){var i=n(6),r=n(10),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,i){function r(t,e,i){var u,f,p=arguments.length<4?t:arguments[3],g=a.f(h(t),e);if(!g){if(d(f=s(t)))return r(f,e,i,p);g=c(0)}return l(g,"value")?!(g.writable===!1||!d(p)||(u=a.f(p,e)||c(0),u.value=i,o.f(p,e,u),0)):g.set!==n&&(g.set.call(p,i),!0)}var o=i(9),a=i(49),s=i(57),l=i(3),u=i(6),c=i(15),h=i(10),d=i(11);u(u.S,"Reflect",{set:r})},function(t,e,n){var i=n(6),r=n(71);r&&i(i.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){var i=n(6);i(i.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){var i=n(6),r=n(56),o=n(14);i(i.P+i.F*n(5)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=r(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var i=n(6),r=n(5),o=Date.prototype.getTime,a=function(t){return t>9?t:"0"+t};i(i.P+i.F*(r(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!r(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),i=e<0?"-":e>9999?"+":"";return i+("00000"+Math.abs(e)).slice(i?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}})},function(t,e,n){var i=Date.prototype,r="Invalid Date",o="toString",a=i[o],s=i.getTime;new Date(NaN)+""!=r&&n(16)(i,o,function(){var t=s.call(this);return t===t?a.call(this):r})},function(t,e,n){var i=n(23)("toPrimitive"),r=Date.prototype;i in r||n(8)(r,i,n(230))},function(t,e,n){var i=n(10),r=n(14),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return r(i(this),t!=o)}},function(t,e,i){var r=i(6),o=i(232),a=i(233),s=i(10),l=i(37),u=i(35),c=i(11),h=i(2).ArrayBuffer,d=i(199),f=a.ArrayBuffer,p=a.DataView,g=o.ABV&&h.isView,m=f.prototype.slice,v=o.VIEW,y="ArrayBuffer"; 23 r(r.G+r.W+r.F*(h!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,y,{isView:function(t){return g&&g(t)||c(t)&&v in t}}),r(r.P+r.U+r.F*i(5)(function(){return!new f(2).slice(1,n).byteLength}),y,{slice:function(t,e){if(m!==n&&e===n)return m.call(s(this),t);for(var i=s(this).byteLength,r=l(t,i),o=l(e===n?i:e,i),a=new(d(this,f))(u(o-r)),c=new p(this),h=new p(a),g=0;r<o;)h.setUint8(g++,c.getUint8(r++));return a}}),i(186)(y)},function(t,e,n){for(var i,r=n(2),o=n(8),a=n(17),s=a("typed_array"),l=a("view"),u=!(!r.ArrayBuffer||!r.DataView),c=u,h=0,d=9,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");h<d;)(i=r[f[h++]])?(o(i.prototype,s,!0),o(i.prototype,l,!0)):c=!1;t.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},function(t,e,i){var r=i(2),o=i(4),a=i(26),s=i(232),l=i(8),u=i(202),c=i(5),h=i(197),d=i(36),f=i(35),p=i(48).f,g=i(9).f,m=i(180),v=i(22),y="ArrayBuffer",b="DataView",x="prototype",w="Wrong length!",S="Wrong index!",_=r[y],C=r[b],M=r.Math,k=r.RangeError,T=r.Infinity,D=_,A=M.abs,E=M.pow,P=M.floor,O=M.log,L=M.LN2,N="buffer",I="byteLength",j="byteOffset",F=o?"_b":N,R=o?"_l":I,H=o?"_o":j,z=function(t,e,n){var i,r,o,a=Array(n),s=8*n-e-1,l=(1<<s)-1,u=l>>1,c=23===e?E(2,-24)-E(2,-77):0,h=0,d=t<0||0===t&&1/t<0?1:0;for(t=A(t),t!=t||t===T?(r=t!=t?1:0,i=l):(i=P(O(t)/L),t*(o=E(2,-i))<1&&(i--,o*=2),t+=i+u>=1?c/o:c*E(2,1-u),t*o>=2&&(i++,o/=2),i+u>=l?(r=0,i=l):i+u>=1?(r=(t*o-1)*E(2,e),i+=u):(r=t*E(2,u-1)*E(2,e),i=0));e>=8;a[h++]=255&r,r/=256,e-=8);for(i=i<<e|r,s+=e;s>0;a[h++]=255&i,i/=256,s-=8);return a[--h]|=128*d,a},B=function(t,e,n){var i,r=8*n-e-1,o=(1<<r)-1,a=o>>1,s=r-7,l=n-1,u=t[l--],c=127&u;for(u>>=7;s>0;c=256*c+t[l],l--,s-=8);for(i=c&(1<<-s)-1,c>>=-s,s+=e;s>0;i=256*i+t[l],l--,s-=8);if(0===c)c=1-a;else{if(c===o)return i?NaN:u?-T:T;i+=E(2,e),c-=a}return(u?-1:1)*i*E(2,c-e)},W=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},$=function(t){return[255&t]},U=function(t){return[255&t,t>>8&255]},q=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Y=function(t){return z(t,52,8)},G=function(t){return z(t,23,4)},X=function(t,e,n){g(t[x],e,{get:function(){return this[n]}})},V=function(t,e,n,i){var r=+n,o=d(r);if(r!=o||o<0||o+e>t[R])throw k(S);var a=t[F]._b,s=o+t[H],l=a.slice(s,s+e);return i?l:l.reverse()},Z=function(t,e,n,i,r,o){var a=+n,s=d(a);if(a!=s||s<0||s+e>t[R])throw k(S);for(var l=t[F]._b,u=s+t[H],c=i(+r),h=0;h<e;h++)l[u+h]=c[o?h:e-h-1]},K=function(t,e){h(t,_,y);var n=+e,i=f(n);if(n!=i)throw k(w);return i};if(s.ABV){if(!c(function(){new _})||!c(function(){new _(.5)})){_=function(t){return new D(K(this,t))};for(var J,Q=_[x]=D[x],tt=p(D),et=0;tt.length>et;)(J=tt[et++])in _||l(_,J,D[J]);a||(Q.constructor=_)}var nt=new C(new _(2)),it=C[x].setInt8;nt.setInt8(0,2147483648),nt.setInt8(1,2147483649),!nt.getInt8(0)&&nt.getInt8(1)||u(C[x],{setInt8:function(t,e){it.call(this,t,e<<24>>24)},setUint8:function(t,e){it.call(this,t,e<<24>>24)}},!0)}else _=function(t){var e=K(this,t);this._b=m.call(Array(e),0),this[R]=e},C=function(t,e,i){h(this,C,b),h(t,_,b);var r=t[R],o=d(e);if(o<0||o>r)throw k("Wrong offset!");if(i=i===n?r-o:f(i),o+i>r)throw k(w);this[F]=t,this[H]=o,this[R]=i},o&&(X(_,I,"_l"),X(C,N,"_b"),X(C,I,"_l"),X(C,j,"_o")),u(C[x],{getInt8:function(t){return V(this,1,t)[0]<<24>>24},getUint8:function(t){return V(this,1,t)[0]},getInt16:function(t){var e=V(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=V(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return W(V(this,4,t,arguments[1]))},getUint32:function(t){return W(V(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return B(V(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return B(V(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){Z(this,1,t,$,e)},setUint8:function(t,e){Z(this,1,t,$,e)},setInt16:function(t,e){Z(this,2,t,U,e,arguments[2])},setUint16:function(t,e){Z(this,2,t,U,e,arguments[2])},setInt32:function(t,e){Z(this,4,t,q,e,arguments[2])},setUint32:function(t,e){Z(this,4,t,q,e,arguments[2])},setFloat32:function(t,e){Z(this,4,t,G,e,arguments[2])},setFloat64:function(t,e){Z(this,8,t,Y,e,arguments[2])}});v(_,y),v(C,b),l(C[x],s.VIEW,!0),e[y]=_,e[b]=C},function(t,e,n){var i=n(6);i(i.G+i.W+i.F*!n(232).ABV,{DataView:n(233).DataView})},function(t,e,n){n(236)("Int8",1,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,i){if(i(4)){var r=i(26),o=i(2),a=i(5),s=i(6),l=i(232),u=i(233),c=i(18),h=i(197),d=i(15),f=i(8),p=i(202),g=i(36),m=i(35),v=i(37),y=i(14),b=i(3),x=i(69),w=i(73),S=i(11),_=i(56),C=i(154),M=i(44),k=i(57),T=i(48).f,D=i(156),A=i(17),E=i(23),P=i(164),O=i(34),L=i(199),N=i(183),I=i(135),j=i(157),F=i(186),R=i(180),H=i(177),z=i(9),B=i(49),W=z.f,$=B.f,U=o.RangeError,q=o.TypeError,Y=o.Uint8Array,G="ArrayBuffer",X="Shared"+G,V="BYTES_PER_ELEMENT",Z="prototype",K=Array[Z],J=u.ArrayBuffer,Q=u.DataView,tt=P(0),et=P(2),nt=P(3),it=P(4),rt=P(5),ot=P(6),at=O(!0),st=O(!1),lt=N.values,ut=N.keys,ct=N.entries,ht=K.lastIndexOf,dt=K.reduce,ft=K.reduceRight,pt=K.join,gt=K.sort,mt=K.slice,vt=K.toString,yt=K.toLocaleString,bt=E("iterator"),xt=E("toStringTag"),wt=A("typed_constructor"),St=A("def_constructor"),_t=l.CONSTR,Ct=l.TYPED,Mt=l.VIEW,kt="Wrong length!",Tt=P(1,function(t,e){return Lt(L(t,t[St]),e)}),Dt=a(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),At=!!Y&&!!Y[Z].set&&a(function(){new Y(1).set({})}),Et=function(t,e){if(t===n)throw q(kt);var i=+t,r=m(t);if(e&&!x(i,r))throw U(kt);return r},Pt=function(t,e){var n=g(t);if(n<0||n%e)throw U("Wrong offset!");return n},Ot=function(t){if(S(t)&&Ct in t)return t;throw q(t+" is not a typed array!")},Lt=function(t,e){if(!(S(t)&&wt in t))throw q("It is not a typed array constructor!");return new t(e)},Nt=function(t,e){return It(L(t,t[St]),e)},It=function(t,e){for(var n=0,i=e.length,r=Lt(t,i);i>n;)r[n]=e[n++];return r},jt=function(t,e,n){W(t,e,{get:function(){return this._d[n]}})},Ft=function(t){var e,i,r,o,a,s,l=_(t),u=arguments.length,h=u>1?arguments[1]:n,d=h!==n,f=D(l);if(f!=n&&!C(f)){for(s=f.call(l),r=[],e=0;!(a=s.next()).done;e++)r.push(a.value);l=r}for(d&&u>2&&(h=c(h,arguments[2],2)),e=0,i=m(l.length),o=Lt(this,i);i>e;e++)o[e]=d?h(l[e],e):l[e];return o},Rt=function(){for(var t=0,e=arguments.length,n=Lt(this,e);e>t;)n[t]=arguments[t++];return n},Ht=!!Y&&a(function(){yt.call(new Y(1))}),zt=function(){return yt.apply(Ht?mt.call(Ot(this)):Ot(this),arguments)},Bt={copyWithin:function(t,e){return H.call(Ot(this),t,e,arguments.length>2?arguments[2]:n)},every:function(t){return it(Ot(this),t,arguments.length>1?arguments[1]:n)},fill:function(t){return R.apply(Ot(this),arguments)},filter:function(t){return Nt(this,et(Ot(this),t,arguments.length>1?arguments[1]:n))},find:function(t){return rt(Ot(this),t,arguments.length>1?arguments[1]:n)},findIndex:function(t){return ot(Ot(this),t,arguments.length>1?arguments[1]:n)},forEach:function(t){tt(Ot(this),t,arguments.length>1?arguments[1]:n)},indexOf:function(t){return st(Ot(this),t,arguments.length>1?arguments[1]:n)},includes:function(t){return at(Ot(this),t,arguments.length>1?arguments[1]:n)},join:function(t){return pt.apply(Ot(this),arguments)},lastIndexOf:function(t){return ht.apply(Ot(this),arguments)},map:function(t){return Tt(Ot(this),t,arguments.length>1?arguments[1]:n)},reduce:function(t){return dt.apply(Ot(this),arguments)},reduceRight:function(t){return ft.apply(Ot(this),arguments)},reverse:function(){for(var t,e=this,n=Ot(e).length,i=Math.floor(n/2),r=0;r<i;)t=e[r],e[r++]=e[--n],e[n]=t;return e},some:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:n)},sort:function(t){return gt.call(Ot(this),t)},subarray:function(t,e){var i=Ot(this),r=i.length,o=v(t,r);return new(L(i,i[St]))(i.buffer,i.byteOffset+o*i.BYTES_PER_ELEMENT,m((e===n?r:v(e,r))-o))}},Wt=function(t,e){return Nt(this,mt.call(Ot(this),t,e))},$t=function(t){Ot(this);var e=Pt(arguments[1],1),n=this.length,i=_(t),r=m(i.length),o=0;if(r+e>n)throw U(kt);for(;o<r;)this[e+o]=i[o++]},Ut={entries:function(){return ct.call(Ot(this))},keys:function(){return ut.call(Ot(this))},values:function(){return lt.call(Ot(this))}},qt=function(t,e){return S(t)&&t[Ct]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Yt=function(t,e){return qt(t,e=y(e,!0))?d(2,t[e]):$(t,e)},Gt=function(t,e,n){return!(qt(t,e=y(e,!0))&&S(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?W(t,e,n):(t[e]=n.value,t)};_t||(B.f=Yt,z.f=Gt),s(s.S+s.F*!_t,"Object",{getOwnPropertyDescriptor:Yt,defineProperty:Gt}),a(function(){vt.call({})})&&(vt=yt=function(){return pt.call(this)});var Xt=p({},Bt);p(Xt,Ut),f(Xt,bt,Ut.values),p(Xt,{slice:Wt,set:$t,constructor:function(){},toString:vt,toLocaleString:zt}),jt(Xt,"buffer","b"),jt(Xt,"byteOffset","o"),jt(Xt,"byteLength","l"),jt(Xt,"length","e"),W(Xt,xt,{get:function(){return this[Ct]}}),t.exports=function(t,e,i,u){u=!!u;var c=t+(u?"Clamped":"")+"Array",d="Uint8Array"!=c,p="get"+t,g="set"+t,v=o[c],y=v||{},b=v&&k(v),x=!v||!l.ABV,_={},C=v&&v[Z],D=function(t,n){var i=t._d;return i.v[p](n*e+i.o,Dt)},A=function(t,n,i){var r=t._d;u&&(i=(i=Math.round(i))<0?0:i>255?255:255&i),r.v[g](n*e+r.o,i,Dt)},E=function(t,e){W(t,e,{get:function(){return D(this,e)},set:function(t){return A(this,e,t)},enumerable:!0})};x?(v=i(function(t,i,r,o){h(t,v,c,"_d");var a,s,l,u,d=0,p=0;if(S(i)){if(!(i instanceof J||(u=w(i))==G||u==X))return Ct in i?It(v,i):Ft.call(v,i);a=i,p=Pt(r,e);var g=i.byteLength;if(o===n){if(g%e)throw U(kt);if(s=g-p,s<0)throw U(kt)}else if(s=m(o)*e,s+p>g)throw U(kt);l=s/e}else l=Et(i,!0),s=l*e,a=new J(s);for(f(t,"_d",{b:a,o:p,l:s,e:l,v:new Q(a)});d<l;)E(t,d++)}),C=v[Z]=M(Xt),f(C,"constructor",v)):j(function(t){new v(null),new v(t)},!0)||(v=i(function(t,i,r,o){h(t,v,c);var a;return S(i)?i instanceof J||(a=w(i))==G||a==X?o!==n?new y(i,Pt(r,e),o):r!==n?new y(i,Pt(r,e)):new y(i):Ct in i?It(v,i):Ft.call(v,i):new y(Et(i,d))}),tt(b!==Function.prototype?T(y).concat(T(b)):T(y),function(t){t in v||f(v,t,y[t])}),v[Z]=C,r||(C.constructor=v));var P=C[bt],O=!!P&&("values"==P.name||P.name==n),L=Ut.values;f(v,wt,!0),f(C,Ct,c),f(C,Mt,!0),f(C,St,v),(u?new v(1)[xt]==c:xt in C)||W(C,xt,{get:function(){return c}}),_[c]=v,s(s.G+s.W+s.F*(v!=y),_),s(s.S,c,{BYTES_PER_ELEMENT:e,from:Ft,of:Rt}),V in C||f(C,V,e),s(s.P,c,Bt),F(c),s(s.P+s.F*At,c,{set:$t}),s(s.P+s.F*!O,c,Ut),s(s.P+s.F*(C.toString!=vt),c,{toString:vt}),s(s.P+s.F*a(function(){new v(1).slice()}),c,{slice:Wt}),s(s.P+s.F*(a(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!a(function(){C.toLocaleString.call([1,2])})),c,{toLocaleString:zt}),I[c]=O?P:L,r||O||f(C,bt,L)}}else t.exports=function(){}},function(t,e,n){n(236)("Uint8",1,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(236)("Uint8",1,function(t){return function(e,n,i){return t(this,e,n,i)}},!0)},function(t,e,n){n(236)("Int16",2,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(236)("Uint16",2,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(236)("Int32",4,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(236)("Uint32",4,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(236)("Float32",4,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,n){n(236)("Float64",8,function(t){return function(e,n,i){return t(this,e,n,i)}})},function(t,e,i){var r=i(6),o=i(34)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:n)}}),i(178)("includes")},function(t,e,n){var i=n(6),r=n(125)(!0);i(i.P,"String",{at:function(t){return r(this,t)}})},function(t,e,i){var r=i(6),o=i(248);r(r.P,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:n,!0)}})},function(t,e,i){var r=i(35),o=i(85),a=i(33);t.exports=function(t,e,i,s){var l=String(a(t)),u=l.length,c=i===n?" ":String(i),h=r(e);if(h<=u||""==c)return l;var d=h-u,f=o.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),s?f+l:l+f}},function(t,e,i){var r=i(6),o=i(248);r(r.P,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:n,!1)}})},function(t,e,n){n(81)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){n(81)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){var i=n(6),r=n(33),o=n(35),a=n(128),s=n(188),l=RegExp.prototype,u=function(t,e){this._r=t,this._s=e};n(136)(u,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),i(i.P,"String",{matchAll:function(t){if(r(this),!a(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in l?String(t.flags):s.call(t),i=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return i.lastIndex=o(t.lastIndex),new u(i,e)}})},function(t,e,n){n(25)("asyncIterator")},function(t,e,n){n(25)("observable")},function(t,e,n){var i=n(6),r=n(221),o=n(30),a=n(49),s=n(155);i(i.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n=o(t),i=a.f,l=r(n),u={},c=0;l.length>c;)s(u,e=l[c++],i(n,e));return u}})},function(t,e,n){var i=n(6),r=n(257)(!1);i(i.S,"Object",{values:function(t){return r(t)}})},function(t,e,n){var i=n(28),r=n(30),o=n(42).f;t.exports=function(t){return function(e){for(var n,a=r(e),s=i(a),l=s.length,u=0,c=[];l>u;)o.call(a,n=s[u++])&&c.push(t?[n,a[n]]:a[n]);return c}}},function(t,e,n){var i=n(6),r=n(257)(!0);i(i.S,"Object",{entries:function(t){return r(t)}})},function(t,e,n){var i=n(6),r=n(56),o=n(19),a=n(9);n(4)&&i(i.P+n(260),"Object",{__defineGetter__:function(t,e){a.f(r(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){t.exports=n(26)||!n(5)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e,n){var i=n(6),r=n(56),o=n(19),a=n(9);n(4)&&i(i.P+n(260),"Object",{__defineSetter__:function(t,e){a.f(r(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var i=n(6),r=n(56),o=n(14),a=n(57),s=n(49).f;n(4)&&i(i.P+n(260),"Object",{__lookupGetter__:function(t){var e,n=r(this),i=o(t,!0);do if(e=s(n,i))return e.get;while(n=a(n))}})},function(t,e,n){var i=n(6),r=n(56),o=n(14),a=n(57),s=n(49).f;n(4)&&i(i.P+n(260),"Object",{__lookupSetter__:function(t){var e,n=r(this),i=o(t,!0);do if(e=s(n,i))return e.set;while(n=a(n))}})},function(t,e,n){var i=n(6);i(i.P+i.R,"Map",{toJSON:n(265)("Map")})},function(t,e,n){var i=n(73),r=n(266);t.exports=function(t){return function(){if(i(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},function(t,e,n){var i=n(198);t.exports=function(t,e){var n=[];return i(t,!1,n.push,n,e),n}},function(t,e,n){var i=n(6);i(i.P+i.R,"Set",{toJSON:n(265)("Set")})},function(t,e,n){var i=n(6);i(i.S,"System",{global:n(2)})},function(t,e,n){var i=n(6),r=n(32);i(i.S,"Error",{isError:function(t){return"Error"===r(t)}})},function(t,e,n){var i=n(6);i(i.S,"Math",{iaddh:function(t,e,n,i){var r=t>>>0,o=e>>>0,a=n>>>0;return o+(i>>>0)+((r&a|(r|a)&~(r+a>>>0))>>>31)|0}})},function(t,e,n){var i=n(6);i(i.S,"Math",{isubh:function(t,e,n,i){var r=t>>>0,o=e>>>0,a=n>>>0;return o-(i>>>0)-((~r&a|~(r^a)&r-a>>>0)>>>31)|0}})},function(t,e,n){var i=n(6);i(i.S,"Math",{imulh:function(t,e){var n=65535,i=+t,r=+e,o=i&n,a=r&n,s=i>>16,l=r>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>16)+((o*l>>>0)+(u&n)>>16)}})},function(t,e,n){var i=n(6);i(i.S,"Math",{umulh:function(t,e){var n=65535,i=+t,r=+e,o=i&n,a=r&n,s=i>>>16,l=r>>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>>16)+((o*l>>>0)+(u&n)>>>16)}})},function(t,e,n){var i=n(275),r=n(10),o=i.key,a=i.set;i.exp({defineMetadata:function(t,e,n,i){a(t,e,r(n),o(i))}})},function(t,e,i){var r=i(203),o=i(6),a=i(21)("metadata"),s=a.store||(a.store=new(i(207))),l=function(t,e,i){var o=s.get(t);if(!o){if(!i)return n;s.set(t,o=new r)}var a=o.get(e);if(!a){if(!i)return n;o.set(e,a=new r)}return a},u=function(t,e,i){var r=l(e,i,!1);return r!==n&&r.has(t)},c=function(t,e,i){var r=l(e,i,!1);return r===n?n:r.get(t)},h=function(t,e,n,i){l(n,i,!0).set(t,e)},d=function(t,e){var n=l(t,e,!1),i=[];return n&&n.forEach(function(t,e){i.push(e)}),i},f=function(t){return t===n||"symbol"==typeof t?t:String(t)},p=function(t){o(o.S,"Reflect",t)};t.exports={store:s,map:l,has:u,get:c,set:h,keys:d,key:f,exp:p}},function(t,e,i){var r=i(275),o=i(10),a=r.key,s=r.map,l=r.store;r.exp({deleteMetadata:function(t,e){var i=arguments.length<3?n:a(arguments[2]),r=s(o(e),i,!1);if(r===n||!r.delete(t))return!1;if(r.size)return!0;var u=l.get(e);return u.delete(i),!!u.size||l.delete(e)}})},function(t,e,i){var r=i(275),o=i(10),a=i(57),s=r.has,l=r.get,u=r.key,c=function(t,e,i){var r=s(t,e,i);if(r)return l(t,e,i);var o=a(e);return null!==o?c(t,o,i):n};r.exp({getMetadata:function(t,e){return c(t,o(e),arguments.length<3?n:u(arguments[2]))}})},function(t,e,i){var r=i(206),o=i(266),a=i(275),s=i(10),l=i(57),u=a.keys,c=a.key,h=function(t,e){var n=u(t,e),i=l(t);if(null===i)return n;var a=h(i,e);return a.length?n.length?o(new r(n.concat(a))):a:n};a.exp({getMetadataKeys:function(t){return h(s(t),arguments.length<2?n:c(arguments[1]))}})},function(t,e,i){var r=i(275),o=i(10),a=r.get,s=r.key;r.exp({getOwnMetadata:function(t,e){return a(t,o(e),arguments.length<3?n:s(arguments[2]))}})},function(t,e,i){var r=i(275),o=i(10),a=r.keys,s=r.key;r.exp({getOwnMetadataKeys:function(t){return a(o(t),arguments.length<2?n:s(arguments[1]))}})},function(t,e,i){var r=i(275),o=i(10),a=i(57),s=r.has,l=r.key,u=function(t,e,n){var i=s(t,e,n);if(i)return!0;var r=a(e);return null!==r&&u(t,r,n)};r.exp({hasMetadata:function(t,e){return u(t,o(e),arguments.length<3?n:l(arguments[2]))}})},function(t,e,i){var r=i(275),o=i(10),a=r.has,s=r.key;r.exp({hasOwnMetadata:function(t,e){return a(t,o(e),arguments.length<3?n:s(arguments[2]))}})},function(t,e,i){var r=i(275),o=i(10),a=i(19),s=r.key,l=r.set;r.exp({metadata:function(t,e){return function(i,r){l(t,e,(r!==n?o:a)(i),s(r))}}})},function(t,e,n){var i=n(6),r=n(201)(),o=n(2).process,a="process"==n(32)(o);i(i.G,{asap:function(t){var e=a&&o.domain;r(e?e.bind(t):t)}})},function(t,e,i){var r=i(6),o=i(2),a=i(7),s=i(201)(),l=i(23)("observable"),u=i(19),c=i(10),h=i(197),d=i(202),f=i(8),p=i(198),g=p.RETURN,m=function(t){return null==t?n:u(t)},v=function(t){var e=t._c;e&&(t._c=n,e())},y=function(t){return t._o===n},b=function(t){y(t)||(t._o=n,v(t))},x=function(t,e){c(t),this._c=n,this._o=t,t=new w(this);try{var i=e(t),r=i;null!=i&&("function"==typeof i.unsubscribe?i=function(){r.unsubscribe()}:u(i),this._c=i)}catch(e){return void t.error(e)}y(this)&&v(this)};x.prototype=d({},{unsubscribe:function(){b(this)}});var w=function(t){this._s=t};w.prototype=d({},{next:function(t){var e=this._s;if(!y(e)){var n=e._o;try{var i=m(n.next);if(i)return i.call(n,t)}catch(t){try{b(e)}finally{throw t}}}},error:function(t){var e=this._s;if(y(e))throw t;var i=e._o;e._o=n;try{var r=m(i.error);if(!r)throw t;t=r.call(i,t)}catch(t){try{v(e)}finally{throw t}}return v(e),t},complete:function(t){var e=this._s;if(!y(e)){var i=e._o;e._o=n;try{var r=m(i.complete);t=r?r.call(i,t):n}catch(t){try{v(e)}finally{throw t}}return v(e),t}}});var S=function(t){h(this,S,"Observable","_f")._f=u(t)};d(S.prototype,{subscribe:function(t){return new x(t,this._f)},forEach:function(t){var e=this;return new(a.Promise||o.Promise)(function(n,i){u(t);var r=e.subscribe({next:function(e){try{return t(e)}catch(t){i(t),r.unsubscribe()}},error:i,complete:n})})}}),d(S,{from:function(t){var e="function"==typeof this?this:S,n=m(c(t)[l]);if(n){var i=c(n.call(t));return i.constructor===e?i:new e(function(t){return i.subscribe(t)})}return new e(function(e){var n=!1;return s(function(){if(!n){try{if(p(t,!1,function(t){if(e.next(t),n)return g})===g)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=Array(e);t<e;)n[t]=arguments[t++];return new("function"==typeof this?this:S)(function(t){var e=!1;return s(function(){if(!e){for(var i=0;i<n.length;++i)if(t.next(n[i]),e)return;t.complete()}}),function(){e=!0}})}}),f(S.prototype,l,function(){return this}),r(r.G,{Observable:S}),i(186)("Observable")},function(t,e,n){var i=n(6),r=n(200);i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},function(t,e,n){for(var i=n(183),r=n(16),o=n(2),a=n(8),s=n(135),l=n(23),u=l("iterator"),c=l("toStringTag"),h=s.Array,d=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],f=0;f<5;f++){var p,g=d[f],m=o[g],v=m&&m.prototype;if(v){v[u]||a(v,u,h),v[c]||a(v,c,g),s[g]=h;for(p in i)v[p]||r(v,p,i[p],!0)}}},function(t,e,n){var i=n(2),r=n(6),o=n(76),a=n(289),s=i.navigator,l=!!s&&/MSIE .\./.test(s.userAgent),u=function(t){return l?function(e,n){return t(o(a,[].slice.call(arguments,2),"function"==typeof e?e:Function(e)),n)}:t};r(r.G+r.B+r.F*l,{setTimeout:u(i.setTimeout),setInterval:u(i.setInterval)})},function(t,e,n){var i=n(290),r=n(76),o=n(19);t.exports=function(){for(var t=o(this),e=arguments.length,n=Array(e),a=0,s=i._,l=!1;e>a;)(n[a]=arguments[a++])===s&&(l=!0);return function(){var i,o=this,a=arguments.length,u=0,c=0;if(!l&&!a)return r(t,n,o);if(i=n.slice(),l)for(;e>u;u++)i[u]===s&&(i[u]=arguments[c++]);for(;a>c;)i.push(arguments[c++]);return r(t,i,o)}}},function(t,e,n){t.exports=n(2)},function(t,e,i){function r(t){var e=p(null);return t!=n&&(w(t)?x(t,!0,function(t,n){e[t]=n}):f(e,t)),e}function o(t,e,n){b(e);var i,r,o=M(t),a=m(o),s=a.length,l=0;if(arguments.length<3){if(!s)throw TypeError("Reduce of empty object with no initial value");i=o[a[l++]]}else i=Object(n);for(;s>l;)T(o,r=a[l++])&&(i=e(i,o[r],r,t));return i}function a(t,e){return(e==e?y(t,e):A(t,function(t){return t!=t}))!==n}function s(t,e){if(T(t,e))return t[e]}function l(t,e,n){return k&&e in Object?v.f(t,e,d(0,n)):t[e]=n,t}function u(t){return C(t)&&g(t)===r.prototype}var c=i(18),h=i(6),d=i(15),f=i(67),p=i(44),g=i(57),m=i(28),v=i(9),y=i(27),b=i(19),x=i(198),w=i(292),S=i(136),_=i(184),C=i(11),M=i(30),k=i(4),T=i(3),D=function(t){var e=1==t,i=4==t;return function(o,a,s){var l,u,h,d=c(a,s,3),f=M(o),p=e||7==t||2==t?new("function"==typeof this?this:r):n;for(l in f)if(T(f,l)&&(u=f[l],h=d(u,l,o),t))if(e)p[l]=h;else if(h)switch(t){case 2:p[l]=u;break;case 3:return!0;case 5:return u;case 6:return l;case 7:p[h[0]]=h[1]}else if(i)return!1;return 3==t||i?i:p}},A=D(6),E=function(t){return function(e){return new P(e,t)}},P=function(t,e){this._t=M(t),this._a=m(t),this._i=0,this._k=e};S(P,"Dict",function(){var t,e=this,i=e._t,r=e._a,o=e._k;do if(e._i>=r.length)return e._t=n,_(1);while(!T(i,t=r[e._i++]));return"keys"==o?_(0,t):"values"==o?_(0,i[t]):_(0,[t,i[t]])}),r.prototype=null,h(h.G+h.F,{Dict:r}),h(h.S,"Dict",{keys:E("keys"),values:E("values"),entries:E("entries"),forEach:D(0),map:D(1),filter:D(2),some:D(3),every:D(4),find:D(5),findKey:A,mapPairs:D(7),reduce:o,keyOf:y,includes:a,has:T,get:s,set:l,isDict:u})},function(t,e,i){var r=i(73),o=i(23)("iterator"),a=i(135);t.exports=i(7).isIterable=function(t){var e=Object(t);return e[o]!==n||"@@iterator"in e||a.hasOwnProperty(r(e))}},function(t,e,n){var i=n(10),r=n(156);t.exports=n(7).getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},function(t,e,n){var i=n(2),r=n(7),o=n(6),a=n(289);o(o.G+o.F,{delay:function(t){return new(r.Promise||i.Promise)(function(e){setTimeout(a.call(e,!0),t)})}})},function(t,e,n){var i=n(290),r=n(6);n(7)._=i._=i._||{},r(r.P+r.F,"Function",{part:n(289)})},function(t,e,n){var i=n(6);i(i.S+i.F,"Object",{isObject:n(11)})},function(t,e,n){var i=n(6);i(i.S+i.F,"Object",{classof:n(73)})},function(t,e,n){var i=n(6),r=n(299);i(i.S+i.F,"Object",{define:r})},function(t,e,n){var i=n(9),r=n(49),o=n(221),a=n(30);t.exports=function(t,e){for(var n,s=o(a(e)),l=s.length,u=0;l>u;)i.f(t,n=s[u++],r.f(e,n));return t}},function(t,e,n){var i=n(6),r=n(299),o=n(44);i(i.S+i.F,"Object",{make:function(t,e){return r(o(t),e)}})},function(t,e,i){i(134)(Number,"Number",function(t){this._l=+t,this._i=0},function(){var t=this._i++,e=!(t<this._l);return{done:e,value:e?n:t}})},function(t,e,n){var i=n(6),r=n(303)(/[\\^$*+?.()|[\]{}]/g,"\\$&");i(i.S,"RegExp",{escape:function(t){return r(t)}})},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},function(t,e,n){var i=n(6),r=n(303)(/[&<>"']/g,{"&":"&","<":"<",">":">",'"':""","'":"'"});i(i.P+i.F,"String",{escapeHTML:function(){return r(this)}})},function(t,e,n){var i=n(6),r=n(303)(/&(?:amp|lt|gt|quot|apos);/g,{"&":"&","<":"<",">":">",""":'"',"'":"'"});i(i.P+i.F,"String",{unescapeHTML:function(){return r(this)}})}]),"undefined"!=typeof module&&module.exports?module.exports=t:"function"==typeof define&&define.amd?define(function(){return t}):e.core=t}(1,1),function(t,e){"object"==typeof module&&module.exports?module.exports=t.document?e(t):e:t.Highcharts=e(t)}("undefined"!=typeof window?window:this,function(t){t=function(){var t=window,e=t.document,n=t.navigator&&t.navigator.userAgent||"",i=e&&e.createElementNS&&!!e.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r=/(edge|msie|trident)/i.test(n)&&!window.opera,o=!i,a=/Firefox/.test(n),s=a&&4>parseInt(n.split("Firefox/")[1],10);return t.Highcharts?t.Highcharts.error(16,!0):{product:"Highcharts",version:"5.0.14",deg2rad:2*Math.PI/360,doc:e,hasBidiBug:s,hasTouch:e&&void 0!==e.documentElement.ontouchstart,isMS:r,isWebKit:/AppleWebKit/.test(n),isFirefox:a,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(n),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:i,vml:o,win:t,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[]}}(),function(t){var e=[],n=t.charts,i=t.doc,r=t.win;t.error=function(e,n){if(e=t.isNumber(e)?"Highcharts error #"+e+": www.highcharts.com/errors/"+e:e,n)throw Error(e);r.console&&console.log(e)},t.Fx=function(t,e,n){this.options=e,this.elem=t,this.prop=n},t.Fx.prototype={dSetter:function(){var t,e=this.paths[0],n=this.paths[1],i=[],r=this.now,o=e.length;if(1===r)i=this.toD;else if(o===n.length&&1>r)for(;o--;)t=parseFloat(e[o]),i[o]=isNaN(t)?e[o]:r*parseFloat(n[o]-t)+t;else i=n;this.elem.attr("d",i,null,!0)},update:function(){var t=this.elem,e=this.prop,n=this.now,i=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,i&&i.call(t,n,this)},run:function(t,n,i){var r,o=this,a=function(t){return!a.stopped&&o.step(t)};this.startTime=+new Date,this.start=t,this.end=n,this.unit=i,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===e.push(a)&&(a.timerId=setInterval(function(){for(r=0;r<e.length;r++)e[r]()||e.splice(r--,1);e.length||clearInterval(a.timerId)},13))},step:function(e){var n,i=+new Date,r=this.options,o=this.elem,a=r.complete,s=r.duration,l=r.curAnim;return o.attr&&!o.element?e=!1:e||i>=s+this.startTime?(this.now=this.end,this.pos=1,this.update(),n=l[this.prop]=!0,t.objectEach(l,function(t){!0!==t&&(n=!1)}),n&&a&&a.call(o),e=!1):(this.pos=r.easing((i-this.startTime)/s),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e},initPath:function(e,n,i){function r(t){var e,n;for(c=t.length;c--;)e="M"===t[c]||"L"===t[c],n=/[a-zA-Z]/.test(t[c+3]),e&&n&&t.splice(c+1,0,t[c+1],t[c+2],t[c+1],t[c+2])}function o(t,e){for(;t.length<l;){t[0]=e[l-t.length];var n=t.slice(0,p);[].splice.apply(t,[0,0].concat(n)),m&&(n=t.slice(t.length-p),[].splice.apply(t,[t.length,0].concat(n)),c--)}t[0]="M"}function a(t,e){for(var n=(l-t.length)/p;0<n&&n--;)u=t.slice().splice(t.length/v-p,p*v),u[0]=e[l-p-n*p],f&&(u[p-6]=u[p-2],u[p-5]=u[p-1]),[].splice.apply(t,[t.length/v,0].concat(u)),m&&n--}n=n||"";var s,l,u,c,h=e.startX,d=e.endX,f=-1<n.indexOf("C"),p=f?7:3;n=n.split(" "),i=i.slice();var g,m=e.isArea,v=m?2:1;if(f&&(r(n),r(i)),h&&d){for(c=0;c<h.length;c++){if(h[c]===d[0]){s=c;break}if(h[0]===d[d.length-h.length+c]){s=c,g=!0;break}}void 0===s&&(n=[])}return n.length&&t.isNumber(s)&&(l=i.length+s*v*p,g?(o(n,i),a(i,n)):(o(i,n),a(n,i))),[n,i]}},t.Fx.prototype.fillSetter=t.Fx.prototype.strokeSetter=function(){this.elem.attr(this.prop,t.color(this.start).tweenTo(t.color(this.end),this.pos),null,!0)},t.extend=function(t,e){var n;t||(t={});for(n in e)t[n]=e[n];return t},t.merge=function(){var e,n,i=arguments,r={},o=function(e,n){return"object"!=typeof e&&(e={}),t.objectEach(n,function(i,r){!t.isObject(i,!0)||t.isClass(i)||t.isDOMElement(i)?e[r]=n[r]:e[r]=o(e[r]||{},i)}),e};for(!0===i[0]&&(r=i[1],i=Array.prototype.slice.call(i,2)),n=i.length,e=0;e<n;e++)r=o(r,i[e]);return r},t.pInt=function(t,e){return parseInt(t,e||10)},t.isString=function(t){return"string"==typeof t},t.isArray=function(t){return t=Object.prototype.toString.call(t),"[object Array]"===t||"[object Array Iterator]"===t},t.isObject=function(e,n){return!(!e||"object"!=typeof e||n&&t.isArray(e))},t.isDOMElement=function(e){return t.isObject(e)&&"number"==typeof e.nodeType},t.isClass=function(e){var n=e&&e.constructor;return!(!t.isObject(e,!0)||t.isDOMElement(e)||!n||!n.name||"Object"===n.name)},t.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},t.erase=function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},t.defined=function(t){return void 0!==t&&null!==t},t.attr=function(e,n,i){var r;return t.isString(n)?t.defined(i)?e.setAttribute(n,i):e&&e.getAttribute&&(r=e.getAttribute(n)):t.defined(n)&&t.isObject(n)&&t.objectEach(n,function(t,n){e.setAttribute(n,t)}),r},t.splat=function(e){return t.isArray(e)?e:[e]},t.syncTimeout=function(t,e,n){return e?setTimeout(t,e,n):void t.call(0,n)},t.pick=function(){var t,e,n=arguments,i=n.length;for(t=0;t<i;t++)if(e=n[t],void 0!==e&&null!==e)return e},t.css=function(e,n){t.isMS&&!t.svg&&n&&void 0!==n.opacity&&(n.filter="alpha(opacity="+100*n.opacity+")"),t.extend(e.style,n)},t.createElement=function(e,n,r,o,a){e=i.createElement(e);var s=t.css;return n&&t.extend(e,n),a&&s(e,{padding:0,border:"none",margin:0}),r&&s(e,r),o&&o.appendChild(e),e},t.extendClass=function(e,n){var i=function(){};return i.prototype=new e,t.extend(i.prototype,n),i},t.pad=function(t,e,n){return Array((e||2)+1-String(t).length).join(n||0)+t},t.relativeLength=function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},t.wrap=function(t,e,n){var i=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,r=this;return r.proceed=function(){i.apply(r,arguments.length?arguments:e)},t.unshift(i),t=n.apply(this,t),r.proceed=null,t}},t.getTZOffset=function(e){var n=t.Date;return 6e4*(n.hcGetTimezoneOffset&&n.hcGetTimezoneOffset(e)||n.hcTimezoneOffset||0)},t.dateFormat=function(e,n,i){if(!t.defined(n)||isNaN(n))return t.defaultOptions.lang.invalidDate||"";e=t.pick(e,"%Y-%m-%d %H:%M:%S");var r=t.Date,o=new r(n-t.getTZOffset(n)),a=o[r.hcGetHours](),s=o[r.hcGetDay](),l=o[r.hcGetDate](),u=o[r.hcGetMonth](),c=o[r.hcGetFullYear](),h=t.defaultOptions.lang,d=h.weekdays,f=h.shortWeekdays,p=t.pad,r=t.extend({a:f?f[s]:d[s].substr(0,3),A:d[s],d:p(l),e:p(l,2," "),w:s,b:h.shortMonths[u],B:h.months[u],m:p(u+1),y:c.toString().substr(2,2),Y:c,H:p(a),k:a,I:p(a%12||12),l:a%12||12,M:p(o[r.hcGetMinutes]()),p:12>a?"AM":"PM",P:12>a?"am":"pm",S:p(o.getSeconds()),L:p(Math.round(n%1e3),3)},t.dateFormats);return t.objectEach(r,function(t,i){for(;-1!==e.indexOf("%"+i);)e=e.replace("%"+i,"function"==typeof t?t(n):t)}),i?e.substr(0,1).toUpperCase()+e.substr(1):e},t.formatSingle=function(e,n){var i=/\.([0-9])/,r=t.defaultOptions.lang;return/f$/.test(e)?(i=(i=e.match(i))?i[1]:-1,null!==n&&(n=t.numberFormat(n,i,r.decimalPoint,-1<e.indexOf(",")?r.thousandsSep:""))):n=t.dateFormat(e,n),n},t.format=function(e,n){for(var i,r,o,a,s,l="{",u=!1,c=[];e&&(l=e.indexOf(l),-1!==l);){if(i=e.slice(0,l),u){for(i=i.split(":"),r=i.shift().split("."),a=r.length,s=n,o=0;o<a;o++)s=s[r[o]];i.length&&(s=t.formatSingle(i.join(":"),s)),c.push(s)}else c.push(i);e=e.slice(l+1),l=(u=!u)?"}":"{"}return c.push(e),c.join("")},t.getMagnitude=function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},t.normalizeTickInterval=function(e,n,i,r,o){ 24 var a,s=e;for(i=t.pick(i,1),a=e/i,n||(n=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(1===i?n=t.grep(n,function(t){return 0===t%1}):.1>=i&&(n=[1/i]))),r=0;r<n.length&&(s=n[r],!(o&&s*i>=e||!o&&a<=(n[r]+(n[r+1]||n[r]))/2));r++);return s=t.correctFloat(s*i,-Math.round(Math.log(.001)/Math.LN10))},t.stableSort=function(t,e){var n,i,r=t.length;for(i=0;i<r;i++)t[i].safeI=i;for(t.sort(function(t,i){return n=e(t,i),0===n?t.safeI-i.safeI:n}),i=0;i<r;i++)delete t[i].safeI},t.arrayMin=function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},t.arrayMax=function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},t.destroyObjectProperties=function(e,n){t.objectEach(e,function(t,i){t&&t!==n&&t.destroy&&t.destroy(),delete e[i]})},t.discardElement=function(e){var n=t.garbageBin;n||(n=t.createElement("div")),e&&n.appendChild(e),n.innerHTML=""},t.correctFloat=function(t,e){return parseFloat(t.toPrecision(e||14))},t.setAnimation=function(e,n){n.renderer.globalAnimation=t.pick(e,n.options.chart.animation,!0)},t.animObject=function(e){return t.isObject(e)?t.merge(e):{duration:e?500:0}},t.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},t.numberFormat=function(e,n,i,r){e=+e||0,n=+n;var o,a,s=t.defaultOptions.lang,l=(e.toString().split(".")[1]||"").split("e")[0].length,u=e.toString().split("e");return-1===n?n=Math.min(l,20):t.isNumber(n)||(n=2),a=(Math.abs(u[1]?u[0]:e)+Math.pow(10,-Math.max(n,l)-1)).toFixed(n),l=String(t.pInt(a)),o=3<l.length?l.length%3:0,i=t.pick(i,s.decimalPoint),r=t.pick(r,s.thousandsSep),e=(0>e?"-":"")+(o?l.substr(0,o)+r:""),e+=l.substr(o).replace(/(\d{3})(?=\d)/g,"$1"+r),n&&(e+=i+a.slice(-n)),u[1]&&(e+="e"+u[1]),e},Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)},t.getStyle=function(e,n,i){return"width"===n?Math.min(e.offsetWidth,e.scrollWidth)-t.getStyle(e,"padding-left")-t.getStyle(e,"padding-right"):"height"===n?Math.min(e.offsetHeight,e.scrollHeight)-t.getStyle(e,"padding-top")-t.getStyle(e,"padding-bottom"):((e=r.getComputedStyle(e,void 0))&&(e=e.getPropertyValue(n),t.pick(i,!0)&&(e=t.pInt(e))),e)},t.inArray=function(t,e){return e.indexOf?e.indexOf(t):[].indexOf.call(e,t)},t.grep=function(t,e){return[].filter.call(t,e)},t.find=function(t,e){return[].find.call(t,e)},t.map=function(t,e){for(var n=[],i=0,r=t.length;i<r;i++)n[i]=e.call(t[i],t[i],i,t);return n},t.offset=function(t){var e=i.documentElement;return t=t.getBoundingClientRect(),{top:t.top+(r.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(r.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},t.stop=function(t,n){for(var i=e.length;i--;)e[i].elem!==t||n&&n!==e[i].prop||(e[i].stopped=!0)},t.each=function(t,e,n){return Array.prototype.forEach.call(t,e,n)},t.objectEach=function(t,e,n){for(var i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)},t.addEvent=function(e,n,i){function o(t){t.target=t.srcElement||r,i.call(e,t)}var a=e.hcEvents=e.hcEvents||{};return e.addEventListener?e.addEventListener(n,i,!1):e.attachEvent&&(e.hcEventsIE||(e.hcEventsIE={}),i.hcGetKey||(i.hcGetKey=t.uniqueKey()),e.hcEventsIE[i.hcGetKey]=o,e.attachEvent("on"+n,o)),a[n]||(a[n]=[]),a[n].push(i),function(){t.removeEvent(e,n,i)}},t.removeEvent=function(e,n,i){function r(t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.attachEvent&&(n=e.hcEventsIE[n.hcGetKey],e.detachEvent("on"+t,n))}function o(){var i,o;e.nodeName&&(n?(i={},i[n]=!0):i=l,t.objectEach(i,function(t,e){if(l[e])for(o=l[e].length;o--;)r(e,l[e][o])}))}var a,s,l=e.hcEvents;l&&(n?(a=l[n]||[],i?(s=t.inArray(i,a),-1<s&&(a.splice(s,1),l[n]=a),r(n,i)):(o(),l[n]=[])):(o(),e.hcEvents={}))},t.fireEvent=function(e,n,r,o){var a;a=e.hcEvents;var s,l;if(r=r||{},i.createEvent&&(e.dispatchEvent||e.fireEvent))a=i.createEvent("Events"),a.initEvent(n,!0,!0),t.extend(a,r),e.dispatchEvent?e.dispatchEvent(a):e.fireEvent(n,a);else if(a)for(a=a[n]||[],s=a.length,r.target||t.extend(r,{preventDefault:function(){r.defaultPrevented=!0},target:e,type:n}),n=0;n<s;n++)(l=a[n])&&!1===l.call(e,r)&&r.preventDefault();o&&!r.defaultPrevented&&o(r)},t.animate=function(e,n,i){var r,o,a,s,l="";t.isObject(i)||(s=arguments,i={duration:s[2],easing:s[3],complete:s[4]}),t.isNumber(i.duration)||(i.duration=400),i.easing="function"==typeof i.easing?i.easing:Math[i.easing]||Math.easeInOutSine,i.curAnim=t.merge(n),t.objectEach(n,function(s,u){t.stop(e,u),a=new t.Fx(e,i,u),o=null,"d"===u?(a.paths=a.initPath(e,e.d,n.d),a.toD=n.d,r=0,o=1):e.attr?r=e.attr(u):(r=parseFloat(t.getStyle(e,u))||0,"opacity"!==u&&(l="px")),o||(o=s),o&&o.match&&o.match("px")&&(o=o.replace(/px/g,"")),a.run(r,o,l)})},t.seriesType=function(e,n,i,r,o){var a=t.getOptions(),s=t.seriesTypes;return a.plotOptions[e]=t.merge(a.plotOptions[n],i),s[e]=t.extendClass(s[n]||function(){},r),s[e].prototype.type=e,o&&(s[e].prototype.pointClass=t.extendClass(t.Point,o)),s[e]},t.uniqueKey=function(){var t=Math.random().toString(36).substring(2,9),e=0;return function(){return"highcharts-"+t+"-"+e++}}(),r.jQuery&&(r.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[t.isString(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):n[t.attr(this[0],"data-highcharts-chart")]}),i&&!i.defaultView&&(t.getStyle=function(e,n){var i={width:"clientWidth",height:"clientHeight"}[n];return e.style[n]?t.pInt(e.style[n]):("opacity"===n&&(n="filter"),i?(e.style.zoom=1,Math.max(e[i]-2*t.getStyle(e,"padding"),0)):(e=e.currentStyle[n.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()})],"filter"===n&&(e=e.replace(/alpha\(opacity=([0-9]+)\)/,function(t,e){return e/100})),""===e?1:t.pInt(e)))}),Array.prototype.forEach||(t.each=function(t,e,n){for(var i=0,r=t.length;i<r;i++)if(!1===e.call(n,t[i],i,t))return i}),Array.prototype.indexOf||(t.inArray=function(t,e){var n,i=0;if(e)for(n=e.length;i<n;i++)if(e[i]===t)return i;return-1}),Array.prototype.filter||(t.grep=function(t,e){for(var n=[],i=0,r=t.length;i<r;i++)e(t[i],i)&&n.push(t[i]);return n}),Array.prototype.find||(t.find=function(t,e){var n,i=t.length;for(n=0;n<i;n++)if(e(t[n],n))return t[n]})}(t),function(t){var e=t.each,n=t.isNumber,i=t.map,r=t.merge,o=t.pInt;t.Color=function(e){return this instanceof t.Color?void this.init(e):new t.Color(e)},t.Color.prototype={parsers:[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),1]}}],names:{none:"rgba(255,255,255,0)",white:"#ffffff",black:"#000000"},init:function(e){var n,r,o,a;if((this.input=e=this.names[e&&e.toLowerCase?e.toLowerCase():""]||e)&&e.stops)this.stops=i(e.stops,function(e){return new t.Color(e[1])});else if(e&&"#"===e.charAt()&&(n=e.length,e=parseInt(e.substr(1),16),7===n?r=[(16711680&e)>>16,(65280&e)>>8,255&e,1]:4===n&&(r=[(3840&e)>>4|(3840&e)>>8,(240&e)>>4|240&e,(15&e)<<4|15&e,1])),!r)for(o=this.parsers.length;o--&&!r;)a=this.parsers[o],(n=a.regex.exec(e))&&(r=a.parse(n));this.rgba=r||[]},get:function(t){var i,o=this.input,a=this.rgba;return this.stops?(i=r(o),i.stops=[].concat(i.stops),e(this.stops,function(e,n){i.stops[n]=[i.stops[n][0],e.get(t)]})):i=a&&n(a[0])?"rgb"===t||!t&&1===a[3]?"rgb("+a[0]+","+a[1]+","+a[2]+")":"a"===t?a[3]:"rgba("+a.join(",")+")":o,i},brighten:function(t){var i,r=this.rgba;if(this.stops)e(this.stops,function(e){e.brighten(t)});else if(n(t)&&0!==t)for(i=0;3>i;i++)r[i]+=o(255*t),0>r[i]&&(r[i]=0),255<r[i]&&(r[i]=255);return this},setOpacity:function(t){return this.rgba[3]=t,this},tweenTo:function(t,e){var n,i;return t.rgba.length?(n=this.rgba,t=t.rgba,i=1!==t[3]||1!==n[3],t=(i?"rgba(":"rgb(")+Math.round(t[0]+(n[0]-t[0])*(1-e))+","+Math.round(t[1]+(n[1]-t[1])*(1-e))+","+Math.round(t[2]+(n[2]-t[2])*(1-e))+(i?","+(t[3]+(n[3]-t[3])*(1-e)):"")+")"):t=t.input||"none",t}},t.color=function(e){return new t.Color(e)}}(t),function(t){var e,n,i=t.addEvent,r=t.animate,o=t.attr,a=t.charts,s=t.color,l=t.css,u=t.createElement,c=t.defined,h=t.deg2rad,d=t.destroyObjectProperties,f=t.doc,p=t.each,g=t.extend,m=t.erase,v=t.grep,y=t.hasTouch,b=t.inArray,x=t.isArray,w=t.isFirefox,S=t.isMS,_=t.isObject,C=t.isString,M=t.isWebKit,k=t.merge,T=t.noop,D=t.objectEach,A=t.pick,E=t.pInt,P=t.removeEvent,O=t.stop,L=t.svg,N=t.SVG_NS,I=t.symbolSizes,j=t.win;e=t.SVGElement=function(){return this},g(e.prototype,{opacity:1,SVG_NS:N,textProps:"direction fontSize fontWeight fontFamily fontStyle color lineHeight width textAlign textDecoration textOverflow textOutline".split(" "),init:function(t,e){this.element="span"===e?u(e):f.createElementNS(this.SVG_NS,e),this.renderer=t},animate:function(e,n,i){return n=t.animObject(A(n,this.renderer.globalAnimation,!0)),0!==n.duration?(i&&(n.complete=i),r(this,e,n)):(this.attr(e,null,i),n.step&&n.step.call(this)),this},colorGradient:function(e,n,i){var r,o,a,s,l,u,h,d,f,g,m,v=this.renderer,y=[];e.radialGradient?o="radialGradient":e.linearGradient&&(o="linearGradient"),o&&(a=e[o],l=v.gradients,h=e.stops,g=i.radialReference,x(a)&&(e[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&g&&!c(a.gradientUnits)&&(s=a,a=k(a,v.getRadialAttr(g,s),{gradientUnits:"userSpaceOnUse"})),D(a,function(t,e){"id"!==e&&y.push(e,t)}),D(h,function(t){y.push(t)}),y=y.join(","),l[y]?g=l[y].attr("id"):(a.id=g=t.uniqueKey(),l[y]=u=v.createElement(o).attr(a).add(v.defs),u.radAttr=s,u.stops=[],p(h,function(e){0===e[1].indexOf("rgba")?(r=t.color(e[1]),d=r.get("rgb"),f=r.get("a")):(d=e[1],f=1),e=v.createElement("stop").attr({offset:e[0],"stop-color":d,"stop-opacity":f}).add(u),u.stops.push(e)})),m="url("+v.url+"#"+g+")",i.setAttribute(n,m),i.gradient=y,e.toString=function(){return m})},applyTextOutline:function(e){var n,i,r,a,s,l=this.element;if(-1!==e.indexOf("contrast")&&(e=e.replace(/contrast/g,this.renderer.getContrast(l.style.fill))),e=e.split(" "),i=e[e.length-1],(r=e[0])&&"none"!==r&&t.svg){for(this.fakeTS=!0,e=[].slice.call(l.getElementsByTagName("tspan")),this.ySetter=this.xSetter,r=r.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,n){return 2*e+n}),s=e.length;s--;)n=e[s],"highcharts-text-outline"===n.getAttribute("class")&&m(e,l.removeChild(n));a=l.firstChild,p(e,function(t,e){0===e&&(t.setAttribute("x",l.getAttribute("x")),e=l.getAttribute("y"),t.setAttribute("y",e||0),null===e&&l.setAttribute("y",0)),t=t.cloneNode(1),o(t,{class:"highcharts-text-outline",fill:i,stroke:i,"stroke-width":r,"stroke-linejoin":"round"}),l.insertBefore(t,a)})}},attr:function(t,e,n,i){var r,o,a,s,l=this.element,u=this;return"string"==typeof t&&void 0!==e&&(r=t,t={},t[r]=e),"string"==typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(D(t,function(e,n){a=!1,i||O(this,n),this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)$/.test(n)&&(o||(this.symbolAttr(t),o=!0),a=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),a||(s=this[n+"Setter"]||this._defaultSetter,s.call(this,e,n,l),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,s))},this),this.afterSetters()),n&&n(),u},afterSetters:function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},updateShadows:function(t,e,n){for(var i=this.shadows,r=i.length;r--;)n.call(i[r],"height"===t?Math.max(e-(i[r].cutHeight||0),0):"d"===t?this.d:e,t,i[r])},addClass:function(t,e){var n=this.attr("class")||"";return-1===n.indexOf(t)&&(e||(t=(n+(n?" ":"")+t).replace(" "," ")),this.attr("class",t)),this},hasClass:function(t){return-1!==b(t,(this.attr("class")||"").split(" "))},removeClass:function(t){return this.attr("class",(this.attr("class")||"").replace(t,""))},symbolAttr:function(t){var e=this;p("x y r start end width height innerR anchorX anchorY".split(" "),function(n){e[n]=A(t[n],e[n])}),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},clip:function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},crisp:function(t,e){var n,i=this,r={};return e=e||t.strokeWidth||0,n=Math.round(e)%2/2,t.x=Math.floor(t.x||i.x||0)+n,t.y=Math.floor(t.y||i.y||0)+n,t.width=Math.floor((t.width||i.width||0)-2*n),t.height=Math.floor((t.height||i.height||0)-2*n),c(t.strokeWidth)&&(t.strokeWidth=e),D(t,function(t,e){i[e]!==t&&(i[e]=r[e]=t)}),r},css:function(t){var e,n,i=this.styles,r={},a=this.element,s="",u=!i,c=["textOutline","textOverflow","width"];return t&&t.color&&(t.fill=t.color),i&&D(t,function(t,e){t!==i[e]&&(r[e]=t,u=!0)}),u&&(i&&(t=g(i,r)),e=this.textWidth=t&&t.width&&"auto"!==t.width&&"text"===a.nodeName.toLowerCase()&&E(t.width),this.styles=t,e&&!L&&this.renderer.forExport&&delete t.width,S&&!L?l(this.element,t):(n=function(t,e){return"-"+e.toLowerCase()},D(t,function(t,e){-1===b(e,c)&&(s+=e.replace(/([A-Z])/g,n)+":"+t+";")}),s&&o(a,"style",s)),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))),this},strokeWidth:function(){return this["stroke-width"]||0},on:function(t,e){var n=this,i=n.element;return y&&"click"===t?(i.ontouchstart=function(t){n.touchEventFired=Date.now(),t.preventDefault(),e.call(i,t)},i.onclick=function(t){(-1===j.navigator.userAgent.indexOf("Android")||1100<Date.now()-(n.touchEventFired||0))&&e.call(i,t)}):i["on"+t]=e,this},setRadialReference:function(t){var e=this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},translate:function(t,e){return this.attr({translateX:t,translateY:e})},invert:function(t){return this.inverted=t,this.updateTransform(),this},updateTransform:function(){var t=this.translateX||0,e=this.translateY||0,n=this.scaleX,i=this.scaleY,r=this.inverted,o=this.rotation,a=this.element;r&&(t+=this.width,e+=this.height),t=["translate("+t+","+e+")"],r?t.push("rotate(90) scale(-1,1)"):o&&t.push("rotate("+o+" "+(a.getAttribute("x")||0)+" "+(a.getAttribute("y")||0)+")"),(c(n)||c(i))&&t.push("scale("+A(n,1)+" "+A(i,1)+")"),t.length&&a.setAttribute("transform",t.join(" "))},toFront:function(){var t=this.element;return t.parentNode.appendChild(t),this},align:function(t,e,n){var i,r,o,a,s={};r=this.renderer,o=r.alignedObjects;var l,u;return t?(this.alignOptions=t,this.alignByTranslate=e,(!n||C(n))&&(this.alignTo=i=n||"renderer",m(o,this),o.push(this),n=null)):(t=this.alignOptions,e=this.alignByTranslate,i=this.alignTo),n=A(n,r[i],r),i=t.align,r=t.verticalAlign,o=(n.x||0)+(t.x||0),a=(n.y||0)+(t.y||0),"right"===i?l=1:"center"===i&&(l=2),l&&(o+=(n.width-(t.width||0))/l),s[e?"translateX":"x"]=Math.round(o),"bottom"===r?u=1:"middle"===r&&(u=2),u&&(a+=(n.height-(t.height||0))/u),s[e?"translateY":"y"]=Math.round(a),this[this.placed?"animate":"attr"](s),this.placed=!0,this.alignAttr=s,this},getBBox:function(t,e){var n,i,r,o,a,s=this.renderer,l=this.element,u=this.styles,c=this.textStr,d=s.cache,f=s.cacheKeys;if(e=A(e,this.rotation),i=e*h,r=u&&u.fontSize,void 0!==c&&(a=c.toString(),-1===a.indexOf("<")&&(a=a.replace(/[0-9]/g,"0")),a+=["",e||0,r,u&&u.width,u&&u.textOverflow].join()),a&&!t&&(n=d[a]),!n){if(l.namespaceURI===this.SVG_NS||s.forExport){try{(o=this.fakeTS&&function(t){p(l.querySelectorAll(".highcharts-text-outline"),function(e){e.style.display=t})})&&o("none"),n=l.getBBox?g({},l.getBBox()):{width:l.offsetWidth,height:l.offsetHeight},o&&o("")}catch(t){}(!n||0>n.width)&&(n={width:0,height:0})}else n=this.htmlGetBBox();if(s.isSVG&&(t=n.width,s=n.height,u&&"11px"===u.fontSize&&17===Math.round(s)&&(n.height=s=14),e&&(n.width=Math.abs(s*Math.sin(i))+Math.abs(t*Math.cos(i)),n.height=Math.abs(s*Math.cos(i))+Math.abs(t*Math.sin(i)))),a&&0<n.height){for(;250<f.length;)delete d[f.shift()];d[a]||f.push(a),d[a]=n}}return n},show:function(t){return this.attr({visibility:t?"inherit":"visible"})},hide:function(){return this.attr({visibility:"hidden"})},fadeOut:function(t){var e=this;e.animate({opacity:0},{duration:t||150,complete:function(){e.attr({y:-9999})}})},add:function(t){var e,n=this.renderer,i=this.element;return t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,void 0!==this.textStr&&n.buildText(this),this.added=!0,(!t||t.handleZ||this.zIndex)&&(e=this.zIndexSetter()),e||(t?t.element:n.box).appendChild(i),this.onAdd&&this.onAdd(),this},safeRemoveChild:function(t){var e=t.parentNode;e&&e.removeChild(t)},destroy:function(){var t=this,e=t.element||{},n=t.renderer.isSVG&&"SPAN"===e.nodeName&&t.parentGroup,i=e.ownerSVGElement;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,O(t),t.clipPath&&i&&(p(i.querySelectorAll("[clip-path]"),function(e){-1<e.getAttribute("clip-path").indexOf(t.clipPath.element.id+")")&&e.removeAttribute("clip-path")}),t.clipPath=t.clipPath.destroy()),t.stops){for(i=0;i<t.stops.length;i++)t.stops[i]=t.stops[i].destroy();t.stops=null}for(t.safeRemoveChild(e),t.destroyShadows();n&&n.div&&0===n.div.childNodes.length;)e=n.parentGroup,t.safeRemoveChild(n.div),delete n.div,n=e;return t.alignTo&&m(t.renderer.alignedObjects,t),D(t,function(e,n){delete t[n]}),null},shadow:function(t,e,n){var i,r,a,s,l,u,c=[],h=this.element;if(t){if(!this.shadows){for(s=A(t.width,3),l=(t.opacity||.15)/s,u=this.parentInverted?"(-1,-1)":"("+A(t.offsetX,1)+", "+A(t.offsetY,1)+")",i=1;i<=s;i++)r=h.cloneNode(0),a=2*s+1-2*i,o(r,{isShadow:"true",stroke:t.color||"#000000","stroke-opacity":l*i,"stroke-width":a,transform:"translate"+u,fill:"none"}),n&&(o(r,"height",Math.max(o(r,"height")-a,0)),r.cutHeight=a),e?e.element.appendChild(r):h.parentNode.insertBefore(r,h),c.push(r);this.shadows=c}}else this.destroyShadows();return this},destroyShadows:function(){p(this.shadows||[],function(t){this.safeRemoveChild(t)},this),this.shadows=void 0},xGetter:function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},_defaultGetter:function(t){return t=A(this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},dSetter:function(t,e,n){t&&t.join&&(t=t.join(" ")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)},dashstyleSetter:function(t){var e,n=this["stroke-width"];if("inherit"===n&&(n=1),t=t&&t.toLowerCase()){for(t=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(","),e=t.length;e--;)t[e]=E(t[e])*n;t=t.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},alignSetter:function(t){this.element.setAttribute("text-anchor",{left:"start",center:"middle",right:"end"}[t])},opacitySetter:function(t,e,n){this[e]=t,n.setAttribute(e,t)},titleSetter:function(t){var e=this.element.getElementsByTagName("title")[0];e||(e=f.createElementNS(this.SVG_NS,"title"),this.element.appendChild(e)),e.firstChild&&e.removeChild(e.firstChild),e.appendChild(f.createTextNode(String(A(t),"").replace(/<[^>]*>/g,"")))},textSetter:function(t){t!==this.textStr&&(delete this.bBox,this.textStr=t,this.added&&this.renderer.buildText(this))},fillSetter:function(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.colorGradient(t,e,n)},visibilitySetter:function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},zIndexSetter:function(t,e){var n,i,r=this.renderer,o=this.parentGroup,a=(o||r).element||r.box,s=this.element;n=this.added;var l;if(c(t)&&(s.zIndex=t,t=+t,this[e]===t&&(n=!1),this[e]=t),n){for((t=this.zIndex)&&o&&(o.handleZ=!0),e=a.childNodes,l=0;l<e.length&&!i;l++)o=e[l],n=o.zIndex,o!==s&&(E(n)>t||!c(t)&&c(n)||0>t&&!c(n)&&a!==r.box)&&(a.insertBefore(s,o),i=!0);i||a.appendChild(s)}return i},_defaultSetter:function(t,e,n){n.setAttribute(e,t)}}),e.prototype.yGetter=e.prototype.xGetter,e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.rotationSetter=e.prototype.verticalAlignSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=function(t,e){this[e]=t,this.doTransform=!0},e.prototype["stroke-widthSetter"]=e.prototype.strokeSetter=function(t,n,i){this[n]=t,this.stroke&&this["stroke-width"]?(e.prototype.fillSetter.call(this,this.stroke,"stroke",i),i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===t&&this.hasStroke&&(i.removeAttribute("stroke"),this.hasStroke=!1)},n=t.SVGRenderer=function(){this.init.apply(this,arguments)},g(n.prototype,{Element:e,SVG_NS:N,init:function(t,e,n,r,a,s){var u;r=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}).css(this.getStyle(r)),u=r.element,t.appendChild(u),-1===t.innerHTML.indexOf("xmlns")&&o(u,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=u,this.boxWrapper=r,this.alignedObjects=[],this.url=(w||M)&&f.getElementsByTagName("base").length?j.location.href.replace(/#.*?$/,"").replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 5.0.14")),this.defs=this.createElement("defs").add(),this.allowHTML=s,this.forExport=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1);var c;w&&t.getBoundingClientRect&&(e=function(){l(t,{left:0,top:0}),c=t.getBoundingClientRect(),l(t,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})},e(),this.unSubPixelFix=i(j,"resize",e))},getStyle:function(t){return this.style=g({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},setStyle:function(t){this.boxWrapper.css(this.getStyle(t))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),d(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},createElement:function(t){var e=new this.Element;return e.init(this,t),e},draw:T,getRadialAttr:function(t,e){return{cx:t[0]-t[2]/2+e.cx*t[2],cy:t[1]-t[2]/2+e.cy*t[2],r:e.r*t[2]}},getSpanWidth:function(t,e){var n=t.getBBox(!0).width;return!L&&this.forExport&&(n=this.measureSpanWidth(e.firstChild.data,t.styles)),n},applyEllipsis:function(t,e,n,i){var r,o,a=t.rotation,s=n,l=0,u=n.length,c=function(t){e.removeChild(e.firstChild),t&&e.appendChild(f.createTextNode(t))};if(t.rotation=0,s=this.getSpanWidth(t,e),o=s>i){for(;l<=u;)r=Math.ceil((l+u)/2),s=n.substring(0,r)+"…",c(s),s=this.getSpanWidth(t,e),l===u?l=u+1:s>i?u=r-1:l=r;0===u&&c("")}return t.rotation=a,o},buildText:function(t){var e,n,i,r,a,s,u=t.element,c=this,h=c.forExport,d=A(t.textStr,"").toString(),g=-1!==d.indexOf("<"),m=u.childNodes,y=o(u,"x"),b=t.styles,x=t.textWidth,w=b&&b.lineHeight,S=b&&b.textOutline,_=b&&"ellipsis"===b.textOverflow,C=b&&"nowrap"===b.whiteSpace,M=b&&b.fontSize,k=m.length,b=x&&!t.added&&this.box,T=function(t){var e;return e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:M||c.style.fontSize||12,w?E(w):c.fontMetrics(e,t.getAttribute("style")?t:u).h};if(a=[d,_,C,w,S,M,x].join(),a!==t.textCache){for(t.textCache=a;k--;)u.removeChild(m[k]);g||S||_||x||-1!==d.indexOf(" ")?(e=/<.*class="([^"]+)".*>/,n=/<.*style="([^"]+)".*>/,i=/<.*href="([^"]+)".*>/,b&&b.appendChild(u),d=g?d.replace(/<(b|strong)>/g,'<span style="font-weight:bold">').replace(/<(i|em)>/g,'<span style="font-style:italic">').replace(/<a/g,"<span").replace(/<\/(b|strong|i|em|a)>/g,"</span>").split(/<br.*?>/g):[d],d=v(d,function(t){return""!==t}),p(d,function(a,d){var g,m=0;a=a.replace(/^\s+|\s+$/g,"").replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||"),g=a.split("|||"),p(g,function(a){if(""!==a||1===g.length){var p,v,b={},w=f.createElementNS(c.SVG_NS,"tspan");if(e.test(a)&&(p=a.match(e)[1],o(w,"class",p)),n.test(a)&&(v=a.match(n)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),o(w,"style",v)),i.test(a)&&!h&&(o(w,"onclick",'location.href="'+a.match(i)[1]+'"'),l(w,{cursor:"pointer"})),a=(a.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"<").replace(/>/g,">")," "!==a){if(w.appendChild(f.createTextNode(a)),m?b.dx=0:d&&null!==y&&(b.x=y),o(w,b),u.appendChild(w),!m&&s&&(!L&&h&&l(w,{display:"block"}),o(w,"dy",T(w))),x){b=a.replace(/([^\^])-/g,"$1- ").split(" "),p=1<g.length||d||1<b.length&&!C;var S,M=[],k=T(w),D=t.rotation;for(_&&(r=c.applyEllipsis(t,w,a,x));!_&&p&&(b.length||M.length);)t.rotation=0,S=c.getSpanWidth(t,w),a=S>x,void 0===r&&(r=a),a&&1!==b.length?(w.removeChild(w.firstChild),M.unshift(b.pop())):(b=M,M=[],b.length&&!C&&(w=f.createElementNS(N,"tspan"),o(w,{dy:k,x:y}),v&&o(w,"style",v),u.appendChild(w)),S>x&&(x=S)),b.length&&w.appendChild(f.createTextNode(b.join(" ").replace(/- /g,"-")));t.rotation=D}m++}}}),s=s||u.childNodes.length}),r&&t.attr("title",t.textStr),b&&b.removeChild(u),S&&t.applyTextOutline&&t.applyTextOutline(S)):u.appendChild(f.createTextNode(d.replace(/</g,"<").replace(/>/g,">")))}},getContrast:function(t){return t=s(t).rgba,510<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},button:function(t,e,n,r,o,a,s,l,u){var c=this.label(t,e,n,u,null,null,null,null,"button"),h=0;c.attr(k({padding:8,r:2},o));var d,f,p,m;return o=k({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},o),d=o.style,delete o.style,a=k(o,{fill:"#e6e6e6"},a),f=a.style,delete a.style,s=k(o,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},s),p=s.style,delete s.style,l=k(o,{style:{color:"#cccccc"}},l),m=l.style,delete l.style,i(c.element,S?"mouseover":"mouseenter",function(){3!==h&&c.setState(1)}),i(c.element,S?"mouseout":"mouseleave",function(){3!==h&&c.setState(h)}),c.setState=function(t){1!==t&&(c.state=h=t),c.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),c.attr([o,a,s,l][t||0]).css([d,f,p,m][t||0])},c.attr(o).css(g({cursor:"default"},d)),c.on("click",function(t){3!==h&&r.call(c,t)})},crispLine:function(t,e){return t[1]===t[4]&&(t[1]=t[4]=Math.round(t[1])-e%2/2),t[2]===t[5]&&(t[2]=t[5]=Math.round(t[2])+e%2/2),t},path:function(t){var e={fill:"none"};return x(t)?e.d=t:_(t)&&g(e,t),this.createElement("path").attr(e)},circle:function(t,e,n){return t=_(t)?t:{x:t,y:e,r:n},e=this.createElement("circle"),e.xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},arc:function(t,e,n,i,r,o){return _(t)?(i=t,e=i.y,n=i.r,t=i.x):i={innerR:i,start:r,end:o},t=this.symbol("arc",t,e,n,n,i),t.r=n,t},rect:function(t,e,n,i,r,a){r=_(t)?t.r:r;var s=this.createElement("rect");return t=_(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(i,0)},void 0!==a&&(t.strokeWidth=a,t=s.crisp(t)),t.fill="none",r&&(t.r=r),s.rSetter=function(t,e,n){o(n,{rx:t,ry:t})},s.attr(t)},setSize:function(t,e,n){var i=this.alignedObjects,r=i.length;for(this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:A(n,!0)?void 0:0});r--;)i[r].align()},g:function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},image:function(t,e,n,i,r){var o={preserveAspectRatio:"none"};return 1<arguments.length&&g(o,{x:e,y:n,width:i,height:r}),o=this.createElement("image").attr(o),o.element.setAttributeNS?o.element.setAttributeNS("http://www.w3.org/1999/xlink","href",t):o.element.setAttribute("hc-svg-href",t),o},symbol:function(t,e,n,i,r,o){var s,h,d,m=this,v=/^url\((.*?)\)$/,y=v.test(t),b=!y&&(this.symbols[t]?t:"circle"),x=b&&this.symbols[b],w=c(e)&&x&&x.call(this.symbols,Math.round(e),Math.round(n),i,r,o);return x?(s=this.path(w),s.attr("fill","none"),g(s,{symbolName:b,x:e,y:n,width:i,height:r}),o&&g(s,o)):y&&(h=t.match(v)[1],s=this.image(h),s.imgwidth=A(I[h]&&I[h].width,o&&o.width),s.imgheight=A(I[h]&&I[h].height,o&&o.height),d=function(){s.attr({width:s.width,height:s.height})},p(["width","height"],function(t){s[t+"Setter"]=function(t,e){var n={},i=this["img"+e],r="width"===e?"translateX":"translateY";this[e]=t,c(i)&&(this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(n[r]=((this[e]||0)-i)/2,this.attr(n)))}}),c(e)&&s.attr({x:e,y:n}),s.isImg=!0,c(s.imgwidth)&&c(s.imgheight)?d():(s.attr({width:0,height:0}),u("img",{onload:function(){var t=a[m.chartIndex];0===this.width&&(l(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),I[h]={width:this.width,height:this.height},s.imgwidth=this.width,s.imgheight=this.height,s.element&&d(),this.parentNode&&this.parentNode.removeChild(this),m.imgCount--,!m.imgCount&&t&&t.onload&&t.onload()},src:h}),this.imgCount++)),s},symbols:{circle:function(t,e,n,i){return this.arc(t+n/2,e+i/2,n/2,i/2,{start:0,end:2*Math.PI,open:!1})},square:function(t,e,n,i){return["M",t,e,"L",t+n,e,t+n,e+i,t,e+i,"Z"]},triangle:function(t,e,n,i){return["M",t+n/2,e,"L",t+n,e+i,t,e+i,"Z"]},"triangle-down":function(t,e,n,i){return["M",t,e,"L",t+n,e,t+n/2,e+i,"Z"]},diamond:function(t,e,n,i){return["M",t+n/2,e,"L",t+n,e+i/2,t+n/2,e+i,t,e+i/2,"Z"]},arc:function(t,e,n,i,r){var o=r.start,a=r.r||n,s=r.r||i||n,l=r.end-.001;n=r.innerR,i=A(r.open,.001>Math.abs(r.end-r.start-2*Math.PI));var u=Math.cos(o),h=Math.sin(o),d=Math.cos(l),l=Math.sin(l);return r=.001>r.end-o-Math.PI?0:1,a=["M",t+a*u,e+s*h,"A",a,s,0,r,1,t+a*d,e+s*l],c(n)&&a.push(i?"M":"L",t+n*d,e+n*l,"A",n,n,0,r,0,t+n*u,e+n*h),a.push(i?"":"Z"),a},callout:function(t,e,n,i,r){var o=Math.min(r&&r.r||0,n,i),a=o+6,s=r&&r.anchorX;r=r&&r.anchorY;var l;return l=["M",t+o,e,"L",t+n-o,e,"C",t+n,e,t+n,e,t+n,e+o,"L",t+n,e+i-o,"C",t+n,e+i,t+n,e+i,t+n-o,e+i,"L",t+o,e+i,"C",t,e+i,t,e+i,t,e+i-o,"L",t,e+o,"C",t,e,t,e,t+o,e],s&&s>n?r>e+a&&r<e+i-a?l.splice(13,3,"L",t+n,r-6,t+n+6,r,t+n,r+6,t+n,e+i-o):l.splice(13,3,"L",t+n,i/2,s,r,t+n,i/2,t+n,e+i-o):s&&0>s?r>e+a&&r<e+i-a?l.splice(33,3,"L",t,r+6,t-6,r,t,r-6,t,e+o):l.splice(33,3,"L",t,i/2,s,r,t,i/2,t,e+o):r&&r>i&&s>t+a&&s<t+n-a?l.splice(23,3,"L",s+6,e+i,s,e+i+6,s-6,e+i,t+o,e+i):r&&0>r&&s>t+a&&s<t+n-a&&l.splice(3,3,"L",s-6,e,s,e-6,s+6,e,n-o,e),l}},clipRect:function(e,n,i,r){var o=t.uniqueKey(),a=this.createElement("clipPath").attr({id:o}).add(this.defs);return e=this.rect(e,n,i,r,0).add(a),e.id=o,e.clipPath=a,e.count=0,e},text:function(t,e,n,i){var r=!L&&this.forExport,o={};return!i||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),n&&(o.y=Math.round(n)),(t||0===t)&&(o.text=t),t=this.createElement("text").attr(o),r&&t.css({position:"absolute"}),i||(t.xSetter=function(t,e,n){var i,r,o=n.getElementsByTagName("tspan"),a=n.getAttribute(e);for(r=0;r<o.length;r++)i=o[r],i.getAttribute(e)===a&&i.setAttribute(e,t);n.setAttribute(e,t)}),t):this.html(t,e,n)},fontMetrics:function(t,e){return t=t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize,t=/px/.test(t)?E(t):/em/.test(t)?parseFloat(t)*(e?this.fontMetrics(null,e.parentNode).f:16):12,e=24>t?t+3:Math.round(1.2*t),{h:e,b:Math.round(.8*e),f:t}},rotCorr:function(t,e,n){var i=t;return e&&n&&(i=Math.max(i*Math.cos(e*h),4)),{x:-t/3*Math.sin(e*h),y:i}},label:function(n,i,r,o,a,s,l,u,h){var d,f,m,v,y,b,x,w,S,_,C,M,T,D=this,A=D.g("button"!==h&&"label"),E=A.text=D.text("",0,0,l).attr({zIndex:1}),O=0,L=3,N=0,I={},j=/^url\((.*?)\)$/.test(o),F=j;h&&A.addClass("highcharts-"+h),F=j,_=function(){return(w||0)%2/2},C=function(){var t=E.element.style,e={};f=(void 0===m||void 0===v||x)&&c(E.textStr)&&E.getBBox(),A.width=(m||f.width||0)+2*L+N,A.height=(v||f.height||0)+2*L,S=L+D.fontMetrics(t&&t.fontSize,E).b,F&&(d||(A.box=d=D.symbols[o]||j?D.symbol(o):D.rect(),d.addClass(("button"===h?"":"highcharts-label-box")+(h?" highcharts-"+h+"-box":"")),d.add(A),t=_(),e.x=t,e.y=(u?-S:0)+t),e.width=Math.round(A.width),e.height=Math.round(A.height),d.attr(g(e,I)),I={})},M=function(){var t,e=N+L;t=u?0:S,c(m)&&f&&("center"===x||"right"===x)&&(e+={center:.5,right:1}[x]*(m-f.width)),e===E.x&&t===E.y||(E.attr("x",e),void 0!==t&&E.attr("y",t)),E.x=e,E.y=t},T=function(t,e){d?d.attr(t,e):I[t]=e},A.onAdd=function(){E.add(A),A.attr({text:n||0===n?n:"",x:i,y:r}),d&&c(a)&&A.attr({ 25 anchorX:a,anchorY:s})},A.widthSetter=function(e){m=t.isNumber(e)?e:null},A.heightSetter=function(t){v=t},A["text-alignSetter"]=function(t){x=t},A.paddingSetter=function(t){c(t)&&t!==L&&(L=A.padding=t,M())},A.paddingLeftSetter=function(t){c(t)&&t!==N&&(N=t,M())},A.alignSetter=function(t){t={left:0,center:.5,right:1}[t],t!==O&&(O=t,f&&A.attr({x:y}))},A.textSetter=function(t){void 0!==t&&E.textSetter(t),C(),M()},A["stroke-widthSetter"]=function(t,e){t&&(F=!0),w=this["stroke-width"]=t,T(e,t)},A.strokeSetter=A.fillSetter=A.rSetter=function(t,e){"r"!==e&&("fill"===e&&t&&(F=!0),A[e]=t),T(e,t)},A.anchorXSetter=function(t,e){a=A.anchorX=t,T(e,Math.round(t)-_()-y)},A.anchorYSetter=function(t,e){s=A.anchorY=t,T(e,t-b)},A.xSetter=function(t){A.x=t,O&&(t-=O*((m||f.width)+2*L)),y=Math.round(t),A.attr("translateX",y)},A.ySetter=function(t){b=A.y=Math.round(t),A.attr("translateY",b)};var R=A.css;return g(A,{css:function(t){if(t){var e={};t=k(t),p(A.textProps,function(n){void 0!==t[n]&&(e[n]=t[n],delete t[n])}),E.css(e)}return R.call(A,t)},getBBox:function(){return{width:f.width+2*L,height:f.height+2*L,x:f.x-L,y:f.y-L}},shadow:function(t){return t&&(C(),d&&d.shadow(t)),A},destroy:function(){P(A.element,"mouseenter"),P(A.element,"mouseleave"),E&&(E=E.destroy()),d&&(d=d.destroy()),e.prototype.destroy.call(A),A=D=C=M=T=null}})}}),t.Renderer=n}(t),function(t){var e=t.attr,n=t.createElement,i=t.css,r=t.defined,o=t.each,a=t.extend,s=t.isFirefox,l=t.isMS,u=t.isWebKit,c=t.pInt,h=t.SVGRenderer,d=t.win,f=t.wrap;a(t.SVGElement.prototype,{htmlCss:function(t){var e=this.element;return(e=t&&"SPAN"===e.tagName&&t.width)&&(delete t.width,this.textWidth=e,this.updateTransform()),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=a(this.styles,t),i(this.element,t),this},htmlGetBBox:function(){var t=this.element;return"text"===t.nodeName&&(t.style.position="absolute"),{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,a=this.translateY||0,s=this.x||0,l=this.y||0,h=this.textAlign||"left",d={left:0,center:.5,right:1}[h],f=this.styles;if(i(e,{marginLeft:n,marginTop:a}),this.shadows&&o(this.shadows,function(t){i(t,{marginLeft:n+1,marginTop:a+1})}),this.inverted&&o(e.childNodes,function(n){t.invertChild(n,e)}),"SPAN"===e.tagName){var p=this.rotation,g=c(this.textWidth),m=f&&f.whiteSpace,v=[p,h,e.innerHTML,this.textWidth,this.textAlign].join();v!==this.cTT&&(f=t.fontMetrics(e.style.fontSize).b,r(p)&&this.setSpanRotation(p,d,f),i(e,{width:"",whiteSpace:m||"nowrap"}),e.offsetWidth>g&&/[ \-]/.test(e.textContent||e.innerText)&&i(e,{width:g+"px",display:"block",whiteSpace:m||"normal"}),this.getSpanCorrection(e.offsetWidth,f,d,p,h)),i(e,{left:s+(this.xCorr||0)+"px",top:l+(this.yCorr||0)+"px"}),u&&(f=e.offsetHeight),this.cTT=v}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,n){var r={},o=l?"-ms-transform":u?"-webkit-transform":s?"MozTransform":d.opera?"-o-transform":"";r[o]=r.transform="rotate("+t+"deg)",r[o+(s?"Origin":"-origin")]=r.transformOrigin=100*e+"% "+n+"px",i(this.element,r)},getSpanCorrection:function(t,e,n){this.xCorr=-t*n,this.yCorr=-e}}),a(h.prototype,{html:function(t,i,r){var s=this.createElement("span"),l=s.element,u=s.renderer,c=u.isSVG,h=function(t,e){o(["opacity","visibility"],function(n){f(t,n+"Setter",function(t,n,i,r){t.call(this,n,i,r),e[i]=n})})};return s.textSetter=function(t){t!==l.innerHTML&&delete this.bBox,l.innerHTML=this.textStr=t,s.htmlUpdateTransform()},c&&h(s,s.element.style),s.xSetter=s.ySetter=s.alignSetter=s.rotationSetter=function(t,e){"align"===e&&(e="textAlign"),s[e]=t,s.htmlUpdateTransform()},s.attr({text:t,x:Math.round(i),y:Math.round(r)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:"absolute"}),l.style.whiteSpace="nowrap",s.css=s.htmlCss,c&&(s.add=function(t){var i,r=u.box.parentNode,c=[];if(this.parentGroup=t){if(i=t.div,!i){for(;t;)c.push(t),t=t.parentGroup;o(c.reverse(),function(t){var o,l=e(t.element,"class");l&&(l={className:l}),i=t.div=t.div||n("div",l,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,pointerEvents:t.styles&&t.styles.pointerEvents},i||r),o=i.style,a(t,{classSetter:function(t){this.element.setAttribute("class",t),i.className=t},on:function(){return c[0].div&&s.on.apply({element:c[0].div},arguments),t},translateXSetter:function(e,n){o.left=e+"px",t[n]=e,t.doTransform=!0},translateYSetter:function(e,n){o.top=e+"px",t[n]=e,t.doTransform=!0}}),h(t,o)})}}else i=r;return i.appendChild(l),s.added=!0,s.alignOnAdd&&s.htmlUpdateTransform(),s}),s}})}(t),function(t){var e,n,i=t.createElement,r=t.css,o=t.defined,a=t.deg2rad,s=t.discardElement,l=t.doc,u=t.each,c=t.erase,h=t.extend;e=t.extendClass;var d=t.isArray,f=t.isNumber,p=t.isObject,g=t.merge;n=t.noop;var m=t.pick,v=t.pInt,y=t.SVGElement,b=t.SVGRenderer,x=t.win;t.svg||(n={docMode8:l&&8===l.documentMode,init:function(t,e){var n=["<",e,' filled="f" stroked="f"'],r=["position: ","absolute",";"],o="div"===e;("shape"===e||o)&&r.push("left:0;top:0;width:1px;height:1px;"),r.push("visibility: ",o?"hidden":"visible"),n.push(' style="',r.join(""),'"/>'),e&&(n=o||"span"===e||"img"===e?n.join(""):t.prepVML(n),this.element=i(n)),this.renderer=t},add:function(t){var e=this.renderer,n=this.element,i=e.box,r=t&&t.inverted,i=t?t.element||t:i;return t&&(this.parentGroup=t),r&&e.invertChild(n,i),i.appendChild(n),this.added=!0,this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(),this.onAdd&&this.onAdd(),this.className&&this.attr("class",this.className),this},updateTransform:y.prototype.htmlUpdateTransform,setSpanRotation:function(){var t=this.rotation,e=Math.cos(t*a),n=Math.sin(t*a);r(this.element,{filter:t?["progid:DXImageTransform.Microsoft.Matrix(M11=",e,", M12=",-n,", M21=",n,", M22=",e,", sizingMethod='auto expand')"].join(""):"none"})},getSpanCorrection:function(t,e,n,i,o){var s,l=i?Math.cos(i*a):1,u=i?Math.sin(i*a):0,c=m(this.elemHeight,this.element.offsetHeight);this.xCorr=0>l&&-t,this.yCorr=0>u&&-c,s=0>l*u,this.xCorr+=u*e*(s?1-n:n),this.yCorr-=l*e*(i?s?n:1-n:1),o&&"left"!==o&&(this.xCorr-=t*n*(0>l?-1:1),i&&(this.yCorr-=c*n*(0>u?-1:1)),r(this.element,{textAlign:o}))},pathToVML:function(t){for(var e=t.length,n=[];e--;)f(t[e])?n[e]=Math.round(10*t[e])-5:"Z"===t[e]?n[e]="x":(n[e]=t[e],!t.isArc||"wa"!==t[e]&&"at"!==t[e]||(n[e+5]===n[e+7]&&(n[e+7]+=t[e+7]>t[e+5]?1:-1),n[e+6]===n[e+8]&&(n[e+8]+=t[e+8]>t[e+6]?1:-1)));return n.join(" ")||"x"},clip:function(t){var e,n=this;return t?(e=t.members,c(e,n),e.push(n),n.destroyClip=function(){c(e,n)},t=t.getCSS(n)):(n.destroyClip&&n.destroyClip(),t={clip:n.docMode8?"inherit":"rect(auto)"}),n.css(t)},css:y.prototype.htmlCss,safeRemoveChild:function(t){t.parentNode&&s(t)},destroy:function(){return this.destroyClip&&this.destroyClip(),y.prototype.destroy.apply(this)},on:function(t,e){return this.element["on"+t]=function(){var t=x.event;t.target=t.srcElement,e(t)},this},cutOffPath:function(t,e){var n;return t=t.split(/[ ,]/),n=t.length,9!==n&&11!==n||(t[n-4]=t[n-2]=v(t[n-2])-10*e),t.join(" ")},shadow:function(t,e,n){var r,o,a,s,l,u,c,h=[],d=this.element,f=this.renderer,p=d.style,g=d.path;if(g&&"string"!=typeof g.value&&(g="x"),l=g,t){for(u=m(t.width,3),c=(t.opacity||.15)/u,r=1;3>=r;r++)s=2*u+1-2*r,n&&(l=this.cutOffPath(g.value,s+.5)),a=['<shape isShadow="true" strokeweight="',s,'" filled="false" path="',l,'" coordsize="10 10" style="',d.style.cssText,'" />'],o=i(f.prepVML(a),null,{left:v(p.left)+m(t.offsetX,1),top:v(p.top)+m(t.offsetY,1)}),n&&(o.cutOff=s+1),a=['<stroke color="',t.color||"#000000",'" opacity="',c*r,'"/>'],i(f.prepVML(a),null,null,o),e?e.element.appendChild(o):d.parentNode.insertBefore(o,d),h.push(o);this.shadows=h}return this},updateShadows:n,setAttr:function(t,e){this.docMode8?this.element[t]=e:this.element.setAttribute(t,e)},classSetter:function(t){(this.added?this.element:this).className=t},dashstyleSetter:function(t,e,n){(n.getElementsByTagName("stroke")[0]||i(this.renderer.prepVML(["<stroke/>"]),null,null,n))[e]=t||"solid",this[e]=t},dSetter:function(t,e,n){var i=this.shadows;if(t=t||[],this.d=t.join&&t.join(" "),n.path=t=this.pathToVML(t),i)for(n=i.length;n--;)i[n].path=i[n].cutOff?this.cutOffPath(t,i[n].cutOff):t;this.setAttr(e,t)},fillSetter:function(t,e,n){var i=n.nodeName;"SPAN"===i?n.style.color=t:"IMG"!==i&&(n.filled="none"!==t,this.setAttr("fillcolor",this.renderer.color(t,n,e,this)))},"fill-opacitySetter":function(t,e,n){i(this.renderer.prepVML(["<",e.split("-")[0],' opacity="',t,'"/>']),null,null,n)},opacitySetter:n,rotationSetter:function(t,e,n){n=n.style,this[e]=n[e]=t,n.left=-Math.round(Math.sin(t*a)+1)+"px",n.top=Math.round(Math.cos(t*a))+"px"},strokeSetter:function(t,e,n){this.setAttr("strokecolor",this.renderer.color(t,n,e,this))},"stroke-widthSetter":function(t,e,n){n.stroked=!!t,this[e]=t,f(t)&&(t+="px"),this.setAttr("strokeweight",t)},titleSetter:function(t,e){this.setAttr(e,t)},visibilitySetter:function(t,e,n){"inherit"===t&&(t="visible"),this.shadows&&u(this.shadows,function(n){n.style[e]=t}),"DIV"===n.nodeName&&(t="hidden"===t?"-999em":0,this.docMode8||(n.style[e]=t?"visible":"hidden"),e="top"),n.style[e]=t},xSetter:function(t,e,n){this[e]=t,"x"===e?e="left":"y"===e&&(e="top"),this.updateClipping?(this[e]=t,this.updateClipping()):n.style[e]=t},zIndexSetter:function(t,e,n){n.style[e]=t}},n["stroke-opacitySetter"]=n["fill-opacitySetter"],t.VMLElement=n=e(y,n),n.prototype.ySetter=n.prototype.widthSetter=n.prototype.heightSetter=n.prototype.xSetter,n={Element:n,isIE8:-1<x.navigator.userAgent.indexOf("MSIE 8.0"),init:function(t,e,n){var i,r;if(this.alignedObjects=[],i=this.createElement("div").css({position:"relative"}),r=i.element,t.appendChild(i.element),this.isVML=!0,this.box=r,this.boxWrapper=i,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),!l.namespaces.hcv){l.namespaces.add("hcv","urn:schemas-microsoft-com:vml");try{l.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}catch(t){l.styleSheets[0].cssText+="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}}},isHidden:function(){return!this.box.offsetWidth},clipRect:function(t,e,n,i){var r=this.createElement(),o=p(t);return h(r,{members:[],count:0,left:(o?t.x:t)+1,top:(o?t.y:e)+1,width:(o?t.width:n)-1,height:(o?t.height:i)-1,getCSS:function(t){var e=t.element,n=e.nodeName,i=t.inverted,r=this.top-("shape"===n?e.offsetTop:0),o=this.left,e=o+this.width,a=r+this.height,r={clip:"rect("+Math.round(i?o:r)+"px,"+Math.round(i?a:e)+"px,"+Math.round(i?e:a)+"px,"+Math.round(i?r:o)+"px)"};return!i&&t.docMode8&&"DIV"===n&&h(r,{width:e+"px",height:a+"px"}),r},updateClipping:function(){u(r.members,function(t){t.element&&t.css(r.getCSS(t))})}})},color:function(e,n,r,o){var a,s,l,c=this,h=/^rgba/,d="none";if(e&&e.linearGradient?l="gradient":e&&e.radialGradient&&(l="pattern"),l){var f,p,g,m,v,y,b,x=e.linearGradient||e.radialGradient,w="";e=e.stops;var S,_=[],C=function(){s=['<fill colors="'+_.join(",")+'" opacity="',v,'" o:opacity2="',m,'" type="',l,'" ',w,'focus="100%" method="any" />'],i(c.prepVML(s),null,null,n)};if(g=e[0],S=e[e.length-1],0<g[0]&&e.unshift([0,g[1]]),1>S[0]&&e.push([1,S[1]]),u(e,function(e,n){h.test(e[1])?(a=t.color(e[1]),f=a.get("rgb"),p=a.get("a")):(f=e[1],p=1),_.push(100*e[0]+"% "+f),n?(v=p,y=f):(m=p,b=f)}),"fill"===r)if("gradient"===l)r=x.x1||x[0]||0,e=x.y1||x[1]||0,g=x.x2||x[2]||0,x=x.y2||x[3]||0,w='angle="'+(90-180*Math.atan((x-e)/(g-r))/Math.PI)+'"',C();else{var M,d=x.r,k=2*d,T=2*d,D=x.cx,A=x.cy,E=n.radialReference,d=function(){E&&(M=o.getBBox(),D+=(E[0]-M.x)/M.width-.5,A+=(E[1]-M.y)/M.height-.5,k*=E[2]/M.width,T*=E[2]/M.height),w='src="'+t.getOptions().global.VMLRadialGradientURL+'" size="'+k+","+T+'" origin="0.5,0.5" position="'+D+","+A+'" color2="'+b+'" ',C()};o.added?d():o.onAdd=d,d=y}else d=f}else h.test(e)&&"IMG"!==n.tagName?(a=t.color(e),o[r+"-opacitySetter"](a.get("a"),r,n),d=a.get("rgb")):(d=n.getElementsByTagName(r),d.length&&(d[0].opacity=1,d[0].type="solid"),d=e);return d},prepVML:function(t){var e=this.isIE8;return t=t.join(""),e?(t=t.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),t=-1===t.indexOf('style="')?t.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):t.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):t=t.replace("<","<hcv:"),t},text:b.prototype.html,path:function(t){var e={coordsize:"10 10"};return d(t)?e.d=t:p(t)&&h(e,t),this.createElement("shape").attr(e)},circle:function(t,e,n){var i=this.symbol("circle");return p(t)&&(n=t.r,e=t.y,t=t.x),i.isCircle=!0,i.r=n,i.attr({x:t,y:e})},g:function(t){var e;return t&&(e={className:"highcharts-"+t,class:"highcharts-"+t}),this.createElement("div").attr(e)},image:function(t,e,n,i,r){var o=this.createElement("img").attr({src:t});return 1<arguments.length&&o.attr({x:e,y:n,width:i,height:r}),o},createElement:function(t){return"rect"===t?this.symbol(t):b.prototype.createElement.call(this,t)},invertChild:function(t,e){var n=this;e=e.style;var i="IMG"===t.tagName&&t.style;r(t,{flip:"x",left:v(e.width)-(i?v(i.top):1),top:v(e.height)-(i?v(i.left):1),rotation:-90}),u(t.childNodes,function(e){n.invertChild(e,t)})},symbols:{arc:function(t,e,n,i,r){var o=r.start,a=r.end,s=r.r||n||i;n=r.innerR,i=Math.cos(o);var l=Math.sin(o),u=Math.cos(a),c=Math.sin(a);return 0===a-o?["x"]:(o=["wa",t-s,e-s,t+s,e+s,t+s*i,e+s*l,t+s*u,e+s*c],r.open&&!n&&o.push("e","M",t,e),o.push("at",t-n,e-n,t+n,e+n,t+n*u,e+n*c,t+n*i,e+n*l,"x","e"),o.isArc=!0,o)},circle:function(t,e,n,i,r){return r&&o(r.r)&&(n=i=2*r.r),r&&r.isCircle&&(t-=n/2,e-=i/2),["wa",t,e,t+n,e+i,t+n,e+i/2,t+n,e+i/2,"e"]},rect:function(t,e,n,i,r){return b.prototype.symbols[o(r)&&r.r?"callout":"square"].call(0,t,e,n,i,r)}}},t.VMLRenderer=e=function(){this.init.apply(this,arguments)},e.prototype=g(b.prototype,n),t.Renderer=e),b.prototype.measureSpanWidth=function(t,e){var n=l.createElement("span");return t=l.createTextNode(t),n.appendChild(t),r(n,e),this.box.appendChild(n),e=n.offsetWidth,s(n),e}}(t),function(t){function e(){var e=t.defaultOptions.global,n=l.moment;if(e.timezone){if(n)return function(t){return-n.tz(t,e.timezone).utcOffset()};t.error(25)}return e.useUTC&&e.getTimezoneOffset}function n(){var n,i=t.defaultOptions.global,a=i.useUTC,u=a?"getUTC":"get",c=a?"setUTC":"set";t.Date=n=i.Date||l.Date,n.hcTimezoneOffset=a&&i.timezoneOffset,n.hcGetTimezoneOffset=e(),n.hcMakeTime=function(t,e,i,r,l,u){var c;return a?(c=n.UTC.apply(0,arguments),c+=o(c)):c=new n(t,e,s(i,1),s(r,0),s(l,0),s(u,0)).getTime(),c},r("Minutes Hours Day Date Month FullYear".split(" "),function(t){n["hcGet"+t]=u+t}),r("Milliseconds Seconds Minutes Hours Date Month FullYear".split(" "),function(t){n["hcSet"+t]=c+t})}var i=t.color,r=t.each,o=t.getTZOffset,a=t.merge,s=t.pick,l=t.win;t.defaultOptions={colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" "),symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{useUTC:!0,VMLRadialGradientURL:"http://code.highcharts.com/5.0.14/gfx/vml-radial-gradient.png"},chart:{borderRadius:0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:20},position:{align:"right",x:-10,y:10}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:t.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",padding:8,snap:t.isTouchDevice?25:10,backgroundColor:i("#f7f7f7").setOpacity(.85).get(),borderWidth:1,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",pointerEvents:"none",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},t.setOptions=function(e){return t.defaultOptions=a(!0,t.defaultOptions,e),n(),t.defaultOptions},t.getOptions=function(){return t.defaultOptions},t.defaultPlotOptions=t.defaultOptions.plotOptions,n()}(t),function(t){var e=t.correctFloat,n=t.defined,i=t.destroyObjectProperties,r=t.isNumber,o=t.merge,a=t.pick,s=t.deg2rad;t.Tick=function(t,e,n,i){this.axis=t,this.pos=e,this.type=n||"",this.isNewLabel=this.isNew=!0,n||i||this.addLabel()},t.Tick.prototype={addLabel:function(){var t,i=this.axis,r=i.options,s=i.chart,l=i.categories,u=i.names,c=this.pos,h=r.labels,d=i.tickPositions,f=c===d[0],p=c===d[d.length-1],u=l?a(l[c],u[c],c):c,l=this.label,d=d.info;i.isDatetimeAxis&&d&&(t=r.dateTimeLabelFormats[d.higherRanks[c]||d.unitName]),this.isFirst=f,this.isLast=p,r=i.labelFormatter.call({axis:i,chart:s,isFirst:f,isLast:p,dateTimeLabelFormat:t,value:i.isLog?e(i.lin2log(u)):u,pos:c}),n(l)?l&&l.attr({text:r}):(this.labelLength=(this.label=l=n(r)&&h.enabled?s.renderer.text(r,0,0,h.useHTML).css(o(h.style)).add(i.labelGroup):null)&&l.getBBox().width,this.rotation=0)},getLabelSize:function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},handleOverflow:function(t){var e,n=this.axis,i=t.x,r=n.chart.chartWidth,o=n.chart.spacing,l=a(n.labelLeft,Math.min(n.pos,o[3])),o=a(n.labelRight,Math.max(n.pos+n.len,r-o[1])),u=this.label,c=this.rotation,h={left:0,center:.5,right:1}[n.labelAlign],d=u.getBBox().width,f=n.getSlotWidth(),p=f,g=1,m={};c?0>c&&i-h*d<l?e=Math.round(i/Math.cos(c*s)-l):0<c&&i+h*d>o&&(e=Math.round((r-i)/Math.cos(c*s))):(r=i+(1-h)*d,i-h*d<l?p=t.x+p*(1-h)-l:r>o&&(p=o-t.x+p*h,g=-1),p=Math.min(f,p),p<f&&"center"===n.labelAlign&&(t.x+=g*(f-p-h*(f-Math.min(d,p)))),(d>p||n.autoRotation&&(u.styles||{}).width)&&(e=p)),e&&(m.width=e,(n.options.labels.style||{}).textOverflow||(m.textOverflow="ellipsis"),u.css(m))},getPosition:function(t,e,n,i){var r=this.axis,o=r.chart,a=i&&o.oldChartHeight||o.chartHeight;return{x:t?r.translate(e+n,null,null,i)+r.transB:r.left+r.offset+(r.opposite?(i&&o.oldChartWidth||o.chartWidth)-r.right-r.left:0),y:t?a-r.bottom+r.offset-(r.opposite?r.height:0):a-r.translate(e+n,null,null,i)-r.transB}},getLabelPosition:function(t,e,i,r,o,a,l,u){var c=this.axis,h=c.transA,d=c.reversed,f=c.staggerLines,p=c.tickRotCorr||{x:0,y:0},g=o.y;return n(g)||(g=0===c.side?i.rotation?-8:-i.getBBox().height:2===c.side?p.y+8:Math.cos(i.rotation*s)*(p.y-i.getBBox(!1,0).height/2)),t=t+o.x+p.x-(a&&r?a*h*(d?-1:1):0),e=e+g-(a&&!r?a*h*(d?1:-1):0),f&&(i=l/(u||1)%f,c.opposite&&(i=f-i-1),e+=c.labelOffset/f*i),{x:t,y:Math.round(e)}},getMarkPath:function(t,e,n,i,r,o){return o.crispLine(["M",t,e,"L",t+(r?0:-n),e+(r?n:0)],i)},renderGridLine:function(t,e,n){var i=this.axis,r=i.options,o=this.gridLine,a={},s=this.pos,l=this.type,u=i.tickmarkOffset,c=i.chart.renderer,h=l?l+"Grid":"grid",d=r[h+"LineWidth"],f=r[h+"LineColor"],r=r[h+"LineDashStyle"];o||(a.stroke=f,a["stroke-width"]=d,r&&(a.dashstyle=r),l||(a.zIndex=1),t&&(a.opacity=0),this.gridLine=o=c.path().attr(a).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(i.gridGroup)),!t&&o&&(t=i.getPlotLinePath(s+u,o.strokeWidth()*n,t,!0))&&o[this.isNew?"attr":"animate"]({d:t,opacity:e})},renderMark:function(t,e,n){var i=this.axis,r=i.options,o=i.chart.renderer,s=this.type,l=s?s+"Tick":"tick",u=i.tickSize(l),c=this.mark,h=!c,d=t.x;t=t.y;var f=a(r[l+"Width"],!s&&i.isXAxis?1:0),r=r[l+"Color"];u&&(i.opposite&&(u[0]=-u[0]),h&&(this.mark=c=o.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(i.axisGroup),c.attr({stroke:r,"stroke-width":f})),c[h?"attr":"animate"]({d:this.getMarkPath(d,t,u[0],c.strokeWidth()*n,i.horiz,o),opacity:e}))},renderLabel:function(t,e,n,i){var o=this.axis,s=o.horiz,l=o.options,u=this.label,c=l.labels,h=c.step,d=o.tickmarkOffset,f=!0,p=t.x;t=t.y,u&&r(p)&&(u.xy=t=this.getLabelPosition(p,t,u,s,c,d,i,h),this.isFirst&&!this.isLast&&!a(l.showFirstLabel,1)||this.isLast&&!this.isFirst&&!a(l.showLastLabel,1)?f=!1:!s||o.isRadial||c.step||c.rotation||e||0===n||this.handleOverflow(t),h&&i%h&&(f=!1),f&&r(t.y)?(t.opacity=n,u[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(u.attr("y",-9999),this.isNewLabel=!0),this.isNew=!1)},render:function(t,e,n){var i=this.axis,r=i.horiz,o=this.getPosition(r,this.pos,i.tickmarkOffset,e),s=o.x,l=o.y,i=r&&s===i.pos+i.len||!r&&l===i.pos?-1:1;n=a(n,1),this.isActive=!0,this.renderGridLine(e,n,i),this.renderMark(o,n,i),this.renderLabel(o,e,n,t)},destroy:function(){i(this,this.axis)}}}(t);var e=function(t){var e=t.addEvent,n=t.animObject,i=t.arrayMax,r=t.arrayMin,o=t.color,a=t.correctFloat,s=t.defaultOptions,l=t.defined,u=t.deg2rad,c=t.destroyObjectProperties,h=t.each,d=t.extend,f=t.fireEvent,p=t.format,g=t.getMagnitude,m=t.grep,v=t.inArray,y=t.isArray,b=t.isNumber,x=t.isString,w=t.merge,S=t.normalizeTickInterval,_=t.objectEach,C=t.pick,M=t.removeEvent,k=t.splat,T=t.syncTimeout,D=t.Tick,A=function(){this.init.apply(this,arguments)};return t.extend(A.prototype,{defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,labels:{enabled:!0,style:{color:"#666666",cursor:"default",fontSize:"11px"},x:0},minPadding:.01,maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},defaultYAxisOptions:{endOnTick:!0,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},maxPadding:.05,minPadding:.05,startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{allowOverlap:!1,enabled:!1,formatter:function(){return t.numberFormat(this.total,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"#000000",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},init:function(t,n){var i=n.isX,r=this;r.chart=t,r.horiz=t.inverted&&!r.isZAxis?!i:i,r.isXAxis=i,r.coll=r.coll||(i?"xAxis":"yAxis"),r.opposite=n.opposite,r.side=n.side||(r.horiz?r.opposite?0:2:r.opposite?1:3),r.setOptions(n);var o=this.options,a=o.type;r.labelFormatter=o.labels.formatter||r.defaultLabelFormatter,r.userOptions=n,r.minPixelPadding=0,r.reversed=o.reversed,r.visible=!1!==o.visible,r.zoomEnabled=!1!==o.zoomEnabled,r.hasNames="category"===a||!0===o.categories,r.categories=o.categories||r.hasNames,r.names=r.names||[],r.plotLinesAndBandsGroups={},r.isLog="logarithmic"===a,r.isDatetimeAxis="datetime"===a,r.positiveValuesOnly=r.isLog&&!r.allowNegativeLog,r.isLinked=l(o.linkedTo),r.ticks={},r.labelEdge=[],r.minorTicks={},r.plotLinesAndBands=[],r.alternateBands={},r.len=0,r.minRange=r.userMinRange=o.minRange||o.maxZoom,r.range=o.range,r.offset=o.offset||0,r.stacks={},r.oldStacks={},r.stacksTouched=0,r.max=null,r.min=null,r.crosshair=C(o.crosshair,k(t.options.tooltip.crosshairs)[i?0:1],!1),n=r.options.events,-1===v(r,t.axes)&&(i?t.axes.splice(t.xAxis.length,0,r):t.axes.push(r),t[r.coll].push(r)),r.series=r.series||[],t.inverted&&!r.isZAxis&&i&&void 0===r.reversed&&(r.reversed=!0),_(n,function(t,n){e(r,n,t)}),r.lin2log=o.linearToLogConverter||r.lin2log,r.isLog&&(r.val2lin=r.log2lin,r.lin2val=r.lin2log)},setOptions:function(t){this.options=w(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],w(s[this.coll],t))},defaultLabelFormatter:function(){var e,n=this.axis,i=this.value,r=n.categories,o=this.dateTimeLabelFormat,a=s.lang,l=a.numericSymbols,a=a.numericSymbolMagnitude||1e3,u=l&&l.length,c=n.options.labels.format,n=n.isLog?Math.abs(i):n.tickInterval;if(c)e=p(c,this);else if(r)e=i;else if(o)e=t.dateFormat(o,i);else if(u&&1e3<=n)for(;u--&&void 0===e;)r=Math.pow(a,u+1),n>=r&&0===10*i%r&&null!==l[u]&&0!==i&&(e=t.numberFormat(i/r,-1)+l[u]);return void 0===e&&(e=1e4<=Math.abs(i)?t.numberFormat(i,-1):t.numberFormat(i,-1,void 0,"")),e},getSeriesExtremes:function(){var t=this,e=t.chart;t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.buildStacks&&t.buildStacks(),h(t.series,function(n){if(n.visible||!e.options.chart.ignoreHiddenSeries){var o,a=n.options,s=a.threshold;t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=s&&(s=null),t.isXAxis?(a=n.xData,a.length&&(n=r(a),b(n)||n instanceof Date||(a=m(a,function(t){return b(t)}),n=r(a)),t.dataMin=Math.min(C(t.dataMin,a[0]),n),t.dataMax=Math.max(C(t.dataMax,a[0]),i(a)))):(n.getExtremes(),o=n.dataMax,n=n.dataMin,l(n)&&l(o)&&(t.dataMin=Math.min(C(t.dataMin,n),n),t.dataMax=Math.max(C(t.dataMax,o),o)),l(s)&&(t.threshold=s),(!a.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1))}})},translate:function(t,e,n,i,r,o){var a=this.linkedParent||this,s=1,l=0,u=i?a.oldTransA:a.transA;i=i?a.oldMin:a.min;var c=a.minPixelPadding;return r=(a.isOrdinal||a.isBroken||a.isLog&&r)&&a.lin2val,u||(u=a.transA),n&&(s*=-1,l=a.len),a.reversed&&(s*=-1,l-=s*(a.sector||a.len)),e?(t=(t*s+l-c)/u+i,r&&(t=a.lin2val(t))):(r&&(t=a.val2lin(t)),t=s*(t-i)*u+l+s*c+(b(o)?u*o:0)),t},toPixels:function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},toValue:function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(t,e,n,i,r){var o,a,s,l=this.chart,u=this.left,c=this.top,h=n&&l.oldChartHeight||l.chartHeight,d=n&&l.oldChartWidth||l.chartWidth;o=this.transB;var f=function(t,e,n){return(t<e||t>n)&&(i?t=Math.min(Math.max(e,t),n):s=!0),t};return r=C(r,this.translate(t,null,null,n)),t=n=Math.round(r+o),o=a=Math.round(h-r-o),b(r)?this.horiz?(o=c,a=h-this.bottom,t=n=f(t,u,u+this.width)):(t=u,n=d-this.right,o=a=f(o,c,c+this.height)):s=!0,s&&!i?null:l.renderer.crispLine(["M",t,o,"L",n,a],e||1)},getLinearTickPositions:function(t,e,n){var i,r=a(Math.floor(e/t)*t);n=a(Math.ceil(n/t)*t);var o=[];if(this.single)return[e];for(e=r;e<=n&&(o.push(e),e=a(e+t),e!==i);)i=e;return o},getMinorTickPositions:function(){var t=this,e=t.options,n=t.tickPositions,i=t.minorTickInterval,r=[],o=t.pointRangePadding||0,a=t.min-o,o=t.max+o,s=o-a;if(s&&s/i<t.len/3)if(t.isLog)h(this.paddedTicks,function(e,n,o){n&&r.push.apply(r,t.getLogTickPositions(i,o[n-1],o[n],!0))});else if(t.isDatetimeAxis&&"auto"===e.minorTickInterval)r=r.concat(t.getTimeTicks(t.normalizeTimeTickInterval(i),a,o,e.startOfWeek));else for(e=a+(n[0]-a)%i;e<=o&&e!==r[0];e+=i)r.push(e);return 0!==r.length&&t.trimTicks(r),r},adjustForMinRange:function(){var t,e,n,o,a,s,u,c,d=this.options,f=this.min,p=this.max;this.isXAxis&&void 0===this.minRange&&!this.isLog&&(l(d.min)||l(d.max)?this.minRange=null:(h(this.series,function(t){for(s=t.xData,o=u=t.xIncrement?1:s.length-1;0<o;o--)a=s[o]-s[o-1],(void 0===n||a<n)&&(n=a)}),this.minRange=Math.min(5*n,this.dataMax-this.dataMin))),p-f<this.minRange&&(e=this.dataMax-this.dataMin>=this.minRange,c=this.minRange,t=(c-p+f)/2,t=[f-t,C(d.min,f-t)],e&&(t[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),f=i(t),p=[f+c,C(d.max,f+c)],e&&(p[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),p=r(p),p-f<c&&(t[0]=p-c,t[1]=C(d.min,p-c),f=i(t))),this.min=f,this.max=p},getClosest:function(){var t;return this.categories?t=1:h(this.series,function(e){var n=e.closestPointRange,i=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&l(n)&&i&&(t=l(t)?Math.min(t,n):n)}),t},nameToX:function(t){var e,n=y(this.categories),i=n?this.categories:this.names,r=t.options.x;return t.series.requireSorting=!1,l(r)||(r=!1===this.options.uniqueNames?t.series.autoIncrement():v(t.name,i)),-1===r?n||(e=i.length):e=r,void 0!==e&&(this.names[e]=t.name),e},updateNames:function(){var t=this;0<this.names.length&&(this.names.length=0,this.minRange=this.userMinRange,h(this.series||[],function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(e.processData(),e.generatePoints()),h(e.points,function(n,i){var r;n.options&&(r=t.nameToX(n),void 0!==r&&r!==n.x&&(n.x=r,e.xData[i]=r))})}))},setAxisTranslation:function(t){var e,n=this,i=n.max-n.min,r=n.axisPointRange||0,o=0,a=0,s=n.linkedParent,l=!!n.categories,u=n.transA,c=n.isXAxis;(c||l||r)&&(e=n.getClosest(),s?(o=s.minPointOffset,a=s.pointRangePadding):h(n.series,function(t){var i=l?1:c?C(t.options.pointRange,e,0):n.axisPointRange||0;t=t.options.pointPlacement,r=Math.max(r,i),n.single||(o=Math.max(o,x(t)?0:i/2),a=Math.max(a,"on"===t?0:i))}),s=n.ordinalSlope&&e?n.ordinalSlope/e:1,n.minPointOffset=o*=s,n.pointRangePadding=a*=s,n.pointRange=Math.min(r,i),c&&(n.closestPointRange=e)),t&&(n.oldTransA=u),n.translationSlope=n.transA=u=n.options.staticScale||n.len/(i+a||1),n.transB=n.horiz?n.left:n.bottom,n.minPixelPadding=u*o},minFromRange:function(){return this.max-this.range},setTickInterval:function(e){var n,i,r,o,s=this,u=s.chart,c=s.options,d=s.isLog,p=s.log2lin,m=s.isDatetimeAxis,v=s.isXAxis,y=s.isLinked,x=c.maxPadding,w=c.minPadding,_=c.tickInterval,M=c.tickPixelInterval,k=s.categories,T=s.threshold,D=s.softThreshold;m||k||y||this.getTickAmount(),r=C(s.userMin,c.min),o=C(s.userMax,c.max),y?(s.linkedParent=u[s.coll][c.linkedTo],u=s.linkedParent.getExtremes(),s.min=C(u.min,u.dataMin),s.max=C(u.max,u.dataMax),c.type!==s.linkedParent.options.type&&t.error(11,1)):(!D&&l(T)&&(s.dataMin>=T?(n=T,w=0):s.dataMax<=T&&(i=T,x=0)),s.min=C(r,n,s.dataMin),s.max=C(o,i,s.dataMax)),d&&(s.positiveValuesOnly&&!e&&0>=Math.min(s.min,C(s.dataMin,s.min))&&t.error(10,1),s.min=a(p(s.min),15),s.max=a(p(s.max),15)),s.range&&l(s.max)&&(s.userMin=s.min=r=Math.max(s.dataMin,s.minFromRange()),s.userMax=o=s.max,s.range=null),f(s,"foundExtremes"),s.beforePadding&&s.beforePadding(),s.adjustForMinRange(),!(k||s.axisPointRange||s.usePercentage||y)&&l(s.min)&&l(s.max)&&(p=s.max-s.min)&&(!l(r)&&w&&(s.min-=p*w),!l(o)&&x&&(s.max+=p*x)),b(c.softMin)&&(s.min=Math.min(s.min,c.softMin)),b(c.softMax)&&(s.max=Math.max(s.max,c.softMax)),b(c.floor)&&(s.min=Math.max(s.min,c.floor)),b(c.ceiling)&&(s.max=Math.min(s.max,c.ceiling)),D&&l(s.dataMin)&&(T=T||0, 26 !l(r)&&s.min<T&&s.dataMin>=T?s.min=T:!l(o)&&s.max>T&&s.dataMax<=T&&(s.max=T)),s.tickInterval=s.min===s.max||void 0===s.min||void 0===s.max?1:y&&!_&&M===s.linkedParent.options.tickPixelInterval?_=s.linkedParent.tickInterval:C(_,this.tickAmount?(s.max-s.min)/Math.max(this.tickAmount-1,1):void 0,k?1:(s.max-s.min)*M/Math.max(s.len,M)),v&&!e&&h(s.series,function(t){t.processData(s.min!==s.oldMin||s.max!==s.oldMax)}),s.setAxisTranslation(!0),s.beforeSetTickPositions&&s.beforeSetTickPositions(),s.postProcessTickInterval&&(s.tickInterval=s.postProcessTickInterval(s.tickInterval)),s.pointRange&&!_&&(s.tickInterval=Math.max(s.pointRange,s.tickInterval)),e=C(c.minTickInterval,s.isDatetimeAxis&&s.closestPointRange),!_&&s.tickInterval<e&&(s.tickInterval=e),m||d||_||(s.tickInterval=S(s.tickInterval,null,g(s.tickInterval),C(c.allowDecimals,!(.5<s.tickInterval&&5>s.tickInterval&&1e3<s.max&&9999>s.max)),!!this.tickAmount)),this.tickAmount||(s.tickInterval=s.unsquish()),this.setTickPositions()},setTickPositions:function(){var t,e=this.options,n=e.tickPositions,i=e.tickPositioner,r=e.startOnTick,o=e.endOnTick;this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===e.minorTickInterval&&this.tickInterval?this.tickInterval/5:e.minorTickInterval,this.single=this.min===this.max&&l(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),this.tickPositions=t=n&&n.slice(),!t&&(t=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),t.length>this.len&&(t=[t[0],t.pop()]),this.tickPositions=t,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=t=i),this.paddedTicks=t.slice(0),this.trimTicks(t,r,o),this.isLinked||(this.single&&2>t.length&&(this.min-=.5,this.max+=.5),n||i||this.adjustTickAmount())},trimTicks:function(t,e,n){var i=t[0],r=t[t.length-1],o=this.minPointOffset||0;if(!this.isLinked){if(e&&-(1/0)!==i)this.min=i;else for(;this.min-o>t[0];)t.shift();if(n)this.max=r;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&l(i)&&t.push((r+i)/2)}},alignToOthers:function(){var t,e={},n=this.options;return!1===this.chart.options.chart.alignTicks||!1===n.alignTicks||this.isLog||h(this.chart[this.coll],function(n){var i=n.options,i=[n.horiz?i.left:i.top,i.width,i.height,i.pane].join();n.series.length&&(e[i]?t=!0:e[i]=1)}),t},getTickAmount:function(){var t=this.options,e=t.tickAmount,n=t.tickPixelInterval;!l(t.tickInterval)&&this.len<n&&!this.isRadial&&!this.isLog&&t.startOnTick&&t.endOnTick&&(e=2),!e&&this.alignToOthers()&&(e=Math.ceil(this.len/n)+1),4>e&&(this.finalTickAmt=e,e=5),this.tickAmount=e},adjustTickAmount:function(){var t=this.tickInterval,e=this.tickPositions,n=this.tickAmount,i=this.finalTickAmt,r=e&&e.length;if(r<n){for(;e.length<n;)e.push(a(e[e.length-1]+t));this.transA*=(r-1)/(n-1),this.max=e[e.length-1]}else r>n&&(this.tickInterval*=2,this.setTickPositions());if(l(i)){for(t=n=e.length;t--;)(3===i&&1===t%2||2>=i&&0<t&&t<n-1)&&e.splice(t,1);this.finalTickAmt=void 0}},setScale:function(){var t,e;this.oldMin=this.min,this.oldMax=this.max,this.oldAxisLength=this.len,this.setAxisSize(),e=this.len!==this.oldAxisLength,h(this.series,function(e){(e.isDirtyData||e.isDirty||e.xAxis.isDirty)&&(t=!0)}),e||t||this.isLinked||this.forceRedraw||this.userMin!==this.oldUserMin||this.userMax!==this.oldUserMax||this.alignToOthers()?(this.resetStacks&&this.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.oldUserMin=this.userMin,this.oldUserMax=this.userMax,this.isDirty||(this.isDirty=e||this.min!==this.oldMin||this.max!==this.oldMax)):this.cleanStacks&&this.cleanStacks()},setExtremes:function(t,e,n,i,r){var o=this,a=o.chart;n=C(n,!0),h(o.series,function(t){delete t.kdTree}),r=d(r,{min:t,max:e}),f(o,"setExtremes",r,function(){o.userMin=t,o.userMax=e,o.eventArgs=r,n&&a.redraw(i)})},zoom:function(t,e){var n=this.dataMin,i=this.dataMax,r=this.options,o=Math.min(n,C(r.min,n)),r=Math.max(i,C(r.max,i));return t===this.min&&e===this.max||(this.allowZoomOutside||(l(n)&&(t<o&&(t=o),t>r&&(t=r)),l(i)&&(e<o&&(e=o),e>r&&(e=r))),this.displayBtn=void 0!==t||void 0!==e,this.setExtremes(t,e,!1,void 0,{trigger:"zoom"})),!0},setAxisSize:function(){var e=this.chart,n=this.options,i=n.offsets||[0,0,0,0],r=this.horiz,o=this.width=Math.round(t.relativeLength(C(n.width,e.plotWidth-i[3]+i[1]),e.plotWidth)),a=this.height=Math.round(t.relativeLength(C(n.height,e.plotHeight-i[0]+i[2]),e.plotHeight)),s=this.top=Math.round(t.relativeLength(C(n.top,e.plotTop+i[0]),e.plotHeight,e.plotTop)),n=this.left=Math.round(t.relativeLength(C(n.left,e.plotLeft+i[3]),e.plotWidth,e.plotLeft));this.bottom=e.chartHeight-a-s,this.right=e.chartWidth-o-n,this.len=Math.max(r?o:a,0),this.pos=r?n:s},getExtremes:function(){var t=this.isLog,e=this.lin2log;return{min:t?a(e(this.min)):this.min,max:t?a(e(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(t){var e=this.isLog,n=this.lin2log,i=e?n(this.min):this.min,e=e?n(this.max):this.max;return null===t?t=i:i>t?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},autoLabelAlign:function(t){return t=(C(t,0)-90*this.side+720)%360,15<t&&165>t?"right":195<t&&345>t?"left":"center"},tickSize:function(t){var e=this.options,n=e[t+"Length"],i=C(e[t+"Width"],"tick"===t&&this.isXAxis?1:0);if(i&&n)return"inside"===e[t+"Position"]&&(n=-n),[n,i]},labelMetrics:function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},unsquish:function(){var t,e,n,i=this.options.labels,r=this.horiz,o=this.tickInterval,a=o,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),c=i.rotation,d=this.labelMetrics(),f=Number.MAX_VALUE,p=function(t){return t/=s||1,t=1<t?Math.ceil(t):1,t*o};return r?(n=!i.staggerLines&&!i.step&&(l(c)?[c]:s<C(i.autoRotationLimit,80)&&i.autoRotation))&&h(n,function(n){var i;(n===c||n&&-90<=n&&90>=n)&&(e=p(Math.abs(d.h/Math.sin(u*n))),i=e+Math.abs(n/360),i<f&&(f=i,t=n,a=e))}):i.step||(a=p(d.h)),this.autoRotation=n,this.labelRotation=C(t,c),a},getSlotWidth:function(){var t=this.chart,e=this.horiz,n=this.options.labels,i=Math.max(this.tickPositions.length-(this.categories?0:1),1),r=t.margin[3];return e&&2>(n.step||0)&&!n.rotation&&(this.staggerLines||1)*this.len/i||!e&&(r&&r-t.spacing[3]||.33*t.chartWidth)},renderUnsquish:function(){var t,e,n,i=this.chart,r=i.renderer,o=this.tickPositions,a=this.ticks,s=this.options.labels,l=this.horiz,u=this.getSlotWidth(),c=Math.max(1,Math.round(u-2*(s.padding||5))),d={},f=this.labelMetrics(),p=s.style&&s.style.textOverflow,g=0;if(x(s.rotation)||(d.rotation=s.rotation||0),h(o,function(t){(t=a[t])&&t.labelLength>g&&(g=t.labelLength)}),this.maxLabelLength=g,this.autoRotation)g>c&&g>f.h?d.rotation=this.labelRotation:this.labelRotation=0;else if(u&&(t={width:c+"px"},!p))for(t.textOverflow="clip",e=o.length;!l&&e--;)n=o[e],(c=a[n].label)&&(c.styles&&"ellipsis"===c.styles.textOverflow?c.css({textOverflow:"clip"}):a[n].labelLength>u&&c.css({width:u+"px"}),c.getBBox().height>this.len/o.length-(f.h-f.f)&&(c.specCss={textOverflow:"ellipsis"}));d.rotation&&(t={width:(g>.5*i.chartHeight?.33*i.chartHeight:i.chartHeight)+"px"},p||(t.textOverflow="ellipsis")),(this.labelAlign=s.align||this.autoLabelAlign(this.labelRotation))&&(d.align=this.labelAlign),h(o,function(e){var n=(e=a[e])&&e.label;n&&(n.attr(d),t&&n.css(w(t,n.specCss)),delete n.specCss,e.rotation=d.rotation)}),this.tickRotCorr=r.rotCorr(f.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||l(this.min)&&l(this.max)&&!!this.tickPositions},addTitle:function(t){var e,n=this.chart.renderer,i=this.horiz,r=this.opposite,o=this.options.title;this.axisTitle||((e=o.textAlign)||(e=(i?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[o.align]),this.axisTitle=n.text(o.text,0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title").css(o.style).add(this.axisGroup),this.axisTitle.isNew=!0),o.style.width||this.isRadial||this.axisTitle.css({width:this.len}),this.axisTitle[t?"show":"hide"](!0)},generateTick:function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new D(this,t)},getOffset:function(){var t,e,n,i=this,r=i.chart,o=r.renderer,a=i.options,s=i.tickPositions,u=i.ticks,c=i.horiz,d=i.side,f=r.inverted&&!i.isZAxis?[1,0,3,2][d]:d,p=0,g=0,m=a.title,v=a.labels,y=0,b=r.axisOffset,r=r.clipOffset,x=[-1,1,1,-1][d],w=a.className,S=i.axisParent,M=this.tickSize("tick");t=i.hasData(),i.showAxis=e=t||C(a.showEmpty,!0),i.staggerLines=i.horiz&&v.staggerLines,i.axisGroup||(i.gridGroup=o.g("grid").attr({zIndex:a.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(w||"")).add(S),i.axisGroup=o.g("axis").attr({zIndex:a.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(w||"")).add(S),i.labelGroup=o.g("axis-labels").attr({zIndex:v.zIndex||7}).addClass("highcharts-"+i.coll.toLowerCase()+"-labels "+(w||"")).add(S)),t||i.isLinked?(h(s,function(t,e){i.generateTick(t,e)}),i.renderUnsquish(),!1===v.reserveSpace||0!==d&&2!==d&&{1:"left",3:"right"}[d]!==i.labelAlign&&"center"!==i.labelAlign||h(s,function(t){y=Math.max(u[t].getLabelSize(),y)}),i.staggerLines&&(y*=i.staggerLines,i.labelOffset=y*(i.opposite?-1:1))):_(u,function(t,e){t.destroy(),delete u[e]}),m&&m.text&&!1!==m.enabled&&(i.addTitle(e),e&&!1!==m.reserveSpace&&(i.titleOffset=p=i.axisTitle.getBBox()[c?"height":"width"],n=m.offset,g=l(n)?0:C(m.margin,c?5:10))),i.renderLine(),i.offset=x*C(a.offset,b[d]),i.tickRotCorr=i.tickRotCorr||{x:0,y:0},o=0===d?-i.labelMetrics().h:2===d?i.tickRotCorr.y:0,g=Math.abs(y)+g,y&&(g=g-o+x*(c?C(v.y,i.tickRotCorr.y+8*x):v.x)),i.axisTitleMargin=C(n,g),b[d]=Math.max(b[d],i.axisTitleMargin+p+x*i.offset,g,t&&s.length&&M?M[0]+x*i.offset:0),s=2*Math.floor(i.axisLine.strokeWidth()/2),0<a.offset&&(s-=2*a.offset),r[f]=Math.max(r[f]||s,s)},getLinePath:function(t){var e=this.chart,n=this.opposite,i=this.offset,r=this.horiz,o=this.left+(n?this.width:0)+i,i=e.chartHeight-this.bottom-(n?this.height:0)+i;return n&&(t*=-1),e.renderer.crispLine(["M",r?this.left:o,r?i:this.top,"L",r?e.chartWidth-this.right:o,r?i:e.chartHeight-this.bottom],t)},renderLine:function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},getTitlePosition:function(){var t=this.horiz,e=this.left,n=this.top,i=this.len,r=this.options.title,o=t?e:n,a=this.opposite,s=this.offset,l=r.x||0,u=r.y||0,c=this.axisTitle,h=this.chart.renderer.fontMetrics(r.style&&r.style.fontSize,c),c=Math.max(c.getBBox(null,0).height-h.h-1,0),i={low:o+(t?0:i),middle:o+i/2,high:o+(t?i:0)}[r.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-c,c,h.f,-c][this.side];return{x:t?i+l:e+(a?this.width:0)+s+l,y:t?e+u-(a?this.height:0)+s:i+u}},renderMinorTick:function(t){var e=this.chart.hasRendered&&b(this.oldMin),n=this.minorTicks;n[t]||(n[t]=new D(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},renderTick:function(t,e){var n=this.isLinked,i=this.ticks,r=this.chart.hasRendered&&b(this.oldMin);(!n||t>=this.min&&t<=this.max)&&(i[t]||(i[t]=new D(this,t)),r&&i[t].isNew&&i[t].render(e,!0,.1),i[t].render(e))},render:function(){var e,i,r=this,o=r.chart,a=r.options,s=r.isLog,l=r.lin2log,u=r.isLinked,c=r.tickPositions,d=r.axisTitle,f=r.ticks,p=r.minorTicks,g=r.alternateBands,m=a.stackLabels,v=a.alternateGridColor,y=r.tickmarkOffset,x=r.axisLine,w=r.showAxis,S=n(o.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,h([f,p,g],function(t){_(t,function(t){t.isActive=!1})}),(r.hasData()||u)&&(r.minorTickInterval&&!r.categories&&h(r.getMinorTickPositions(),function(t){r.renderMinorTick(t)}),c.length&&(h(c,function(t,e){r.renderTick(t,e)}),y&&(0===r.min||r.single)&&(f[-1]||(f[-1]=new D(r,(-1),null,(!0))),f[-1].render(-1))),v&&h(c,function(n,a){i=void 0!==c[a+1]?c[a+1]+y:r.max-y,0===a%2&&n<r.max&&i<=r.max+(o.polar?-y:y)&&(g[n]||(g[n]=new t.PlotLineOrBand(r)),e=n+y,g[n].options={from:s?l(e):e,to:s?l(i):i,color:v},g[n].render(),g[n].isActive=!0)}),r._addedPlotLB||(h((a.plotLines||[]).concat(a.plotBands||[]),function(t){r.addPlotBandOrLine(t)}),r._addedPlotLB=!0)),h([f,p,g],function(t){var e,n=[],i=S.duration;_(t,function(t,e){t.isActive||(t.render(e,!1,0),t.isActive=!1,n.push(e))}),T(function(){for(e=n.length;e--;)t[n[e]]&&!t[n[e]].isActive&&(t[n[e]].destroy(),delete t[n[e]])},t!==g&&o.hasRendered&&i?i:0)}),x&&(x[x.isPlaced?"animate":"attr"]({d:this.getLinePath(x.strokeWidth())}),x.isPlaced=!0,x[w?"show":"hide"](!0)),d&&w&&(a=r.getTitlePosition(),b(a.y)?(d[d.isNew?"attr":"animate"](a),d.isNew=!1):(d.attr("y",-9999),d.isNew=!0)),m&&m.enabled&&r.renderStackTotals(),r.isDirty=!1},redraw:function(){this.visible&&(this.render(),h(this.plotLinesAndBands,function(t){t.render()})),h(this.series,function(t){t.isDirty=!0})},keepProps:"extKey hcEvents names series userMax userMin".split(" "),destroy:function(t){var e,n=this,i=n.stacks,r=n.plotLinesAndBands;if(t||M(n),_(i,function(t,e){c(t),i[e]=null}),h([n.ticks,n.minorTicks,n.alternateBands],function(t){c(t)}),r)for(t=r.length;t--;)r[t].destroy();h("stackTotalGroup axisLine axisTitle axisGroup gridGroup labelGroup cross".split(" "),function(t){n[t]&&(n[t]=n[t].destroy())});for(e in n.plotLinesAndBandsGroups)n.plotLinesAndBandsGroups[e]=n.plotLinesAndBandsGroups[e].destroy();_(n,function(t,e){-1===v(e,n.keepProps)&&delete n[e]})},drawCrosshair:function(t,e){var n,i,r=this.crosshair,a=C(r.snap,!0),s=this.cross;t||(t=this.cross&&this.cross.e),this.crosshair&&!1!==(l(e)||!a)?(a?l(e)&&(i=this.isXAxis?e.plotX:this.len-e.plotY):i=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),l(i)&&(n=this.getPlotLinePath(e&&(this.isXAxis?e.x:C(e.stackY,e.y)),null,null,null,i)||null),l(n)?(e=this.categories&&!this.isRadial,s||(this.cross=s=this.chart.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(e?"category ":"thin ")+r.className).attr({zIndex:C(r.zIndex,2)}).add(),s.attr({stroke:r.color||(e?o("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":C(r.width,1)}),r.dashStyle&&s.attr({dashstyle:r.dashStyle})),s.show().attr({d:n}),e&&!r.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t):this.hideCrosshair()):this.hideCrosshair()},hideCrosshair:function(){this.cross&&this.cross.hide()}}),t.Axis=A}(t);return function(t){var e=t.Axis,n=t.Date,i=t.dateFormat,r=t.defaultOptions,o=t.defined,a=t.each,s=t.extend,l=t.getMagnitude,u=t.getTZOffset,c=t.normalizeTickInterval,h=t.pick,d=t.timeUnits;e.prototype.getTimeTicks=function(t,e,l,c){var f,p,g,m=[],v={},y=r.global.useUTC,b=new n(e-Math.max(u(e),u(l))),x=n.hcMakeTime,w=t.unitRange,S=t.count;if(o(e)){b[n.hcSetMilliseconds](w>=d.second?0:S*Math.floor(b.getMilliseconds()/S)),w>=d.second&&b[n.hcSetSeconds](w>=d.minute?0:S*Math.floor(b.getSeconds()/S)),w>=d.minute&&b[n.hcSetMinutes](w>=d.hour?0:S*Math.floor(b[n.hcGetMinutes]()/S)),w>=d.hour&&b[n.hcSetHours](w>=d.day?0:S*Math.floor(b[n.hcGetHours]()/S)),w>=d.day&&b[n.hcSetDate](w>=d.month?1:S*Math.floor(b[n.hcGetDate]()/S)),w>=d.month&&(b[n.hcSetMonth](w>=d.year?0:S*Math.floor(b[n.hcGetMonth]()/S)),f=b[n.hcGetFullYear]()),w>=d.year&&b[n.hcSetFullYear](f-f%S),w===d.week&&b[n.hcSetDate](b[n.hcGetDate]()-b[n.hcGetDay]()+h(c,1)),f=b[n.hcGetFullYear](),c=b[n.hcGetMonth]();var _=b[n.hcGetDate](),C=b[n.hcGetHours]();for((n.hcTimezoneOffset||n.hcGetTimezoneOffset)&&(g=(!y||!!n.hcGetTimezoneOffset)&&(l-e>4*d.month||u(e)!==u(l)),b=b.getTime(),p=u(b),b=new n(b+p)),y=b.getTime(),e=1;y<l;)m.push(y),y=w===d.year?x(f+e*S,0):w===d.month?x(f,c+e*S):!g||w!==d.day&&w!==d.week?g&&w===d.hour?x(f,c,_,C+e*S,0,0,p)-p:y+w*S:x(f,c,_+e*S*(w===d.day?1:7)),e++;m.push(y),w<=d.hour&&1e4>m.length&&a(m,function(t){0===t%18e5&&"000000000"===i("%H%M%S%L",t)&&(v[t]="day")})}return m.info=s(t,{higherRanks:v,totalRange:w*S}),m},e.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var i,r=d[e[0]],o=e[1];for(i=0;i<n.length&&(e=n[i],r=d[e[0]],o=e[1],!(n[i+1]&&t<=(r*o[o.length-1]+d[n[i+1][0]])/2));i++);return r===d.year&&t<5*r&&(o=[1,2,5]),t=c(t/r,o,"year"===e[0]?Math.max(l(t/r),1):1),{unitRange:r,count:t,unitName:e[0]}}}(t),function(t){var e=t.Axis,n=t.getMagnitude,i=t.map,r=t.normalizeTickInterval,o=t.pick;e.prototype.getLogTickPositions=function(t,e,a,s){var l=this.options,u=this.len,c=this.lin2log,h=this.log2lin,d=[];if(s||(this._minorAutoInterval=null),.5<=t)t=Math.round(t),d=this.getLinearTickPositions(t,e,a);else if(.08<=t)for(var f,p,g,m,v,u=Math.floor(e),l=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];u<a+1&&!v;u++)for(p=l.length,f=0;f<p&&!v;f++)g=h(c(u)*l[f]),g>e&&(!s||m<=a)&&void 0!==m&&d.push(m),m>a&&(v=!0),m=g;else e=c(e),a=c(a),t=l[s?"minorTickInterval":"tickInterval"],t=o("auto"===t?null:t,this._minorAutoInterval,l.tickPixelInterval/(s?5:1)*(a-e)/((s?u/this.tickPositions.length:u)||1)),t=r(t,null,n(t)),d=i(this.getLinearTickPositions(t,e,a),h),s||(this._minorAutoInterval=t/5);return s||(this.tickInterval=t),d},e.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},e.prototype.lin2log=function(t){return Math.pow(10,t)}}(t),function(t,e){var n=t.arrayMax,i=t.arrayMin,r=t.defined,o=t.destroyObjectProperties,a=t.each,s=t.erase,l=t.merge,u=t.pick;t.PlotLineOrBand=function(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)},t.PlotLineOrBand.prototype={render:function(){var e=this,n=e.axis,i=n.horiz,o=e.options,a=o.label,s=e.label,c=o.to,h=o.from,d=o.value,f=r(h)&&r(c),p=r(d),g=e.svgElem,m=!g,v=[],y=o.color,b=u(o.zIndex,0),x=o.events,v={class:"highcharts-plot-"+(f?"band ":"line ")+(o.className||"")},w={},S=n.chart.renderer,_=f?"bands":"lines",C=n.log2lin;if(n.isLog&&(h=C(h),c=C(c),d=C(d)),p?(v={stroke:y,"stroke-width":o.width},o.dashStyle&&(v.dashstyle=o.dashStyle)):f&&(y&&(v.fill=y),o.borderWidth&&(v.stroke=o.borderColor,v["stroke-width"]=o.borderWidth)),w.zIndex=b,_+="-"+b,(y=n.plotLinesAndBandsGroups[_])||(n.plotLinesAndBandsGroups[_]=y=S.g("plot-"+_).attr(w).add()),m&&(e.svgElem=g=S.path().attr(v).add(y)),p)v=n.getPlotLinePath(d,g.strokeWidth());else{if(!f)return;v=n.getPlotBandPath(h,c,o)}return m&&v&&v.length?(g.attr({d:v}),x&&t.objectEach(x,function(t,n){g.on(n,function(t){x[n].apply(e,[t])})})):g&&(v?(g.show(),g.animate({d:v})):(g.hide(),s&&(e.label=s=s.destroy()))),a&&r(a.text)&&v&&v.length&&0<n.width&&0<n.height&&!v.flat?(a=l({align:i&&f&&"center",x:i?!f&&4:10,verticalAlign:!i&&f&&"middle",y:i?f?16:10:f?6:-4,rotation:i&&!f&&90},a),this.renderLabel(a,v,f,b)):s&&s.hide(),e},renderLabel:function(t,e,r,o){var a=this.label,s=this.axis.chart.renderer;a||(a={align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(t.className||"")},a.zIndex=o,this.label=a=s.text(t.text,0,0,t.useHTML).attr(a).add(),a.css(t.style)),o=[e[1],e[4],r?e[6]:e[1]],e=[e[2],e[5],r?e[7]:e[2]],r=i(o),s=i(e),a.align(t,!1,{x:r,y:s,width:n(o)-r,height:n(e)-s}),a.show()},destroy:function(){s(this.axis.plotLinesAndBands,this),delete this.axis,o(this)}},t.extend(e.prototype,{getPlotBandPath:function(t,e){var n=this.getPlotLinePath(e,null,null,!0),i=this.getPlotLinePath(t,null,null,!0),r=this.horiz,o=1;return t=t<this.min&&e<this.min||t>this.max&&e>this.max,i&&n?(t&&(i.flat=i.toString()===n.toString(),o=0),i.push(r&&n[4]===i[4]?n[4]+o:n[4],r||n[5]!==i[5]?n[5]:n[5]+o,r&&n[1]===i[1]?n[1]+o:n[1],r||n[2]!==i[2]?n[2]:n[2]+o)):i=null,i},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(e,n){var i=new t.PlotLineOrBand(this,e).render(),r=this.userOptions;return i&&(n&&(r[n]=r[n]||[],r[n].push(e)),this.plotLinesAndBands.push(i)),i},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,n=this.options,i=this.userOptions,r=e.length;r--;)e[r].id===t&&e[r].destroy();a([n.plotLines||[],i.plotLines||[],n.plotBands||[],i.plotBands||[]],function(e){for(r=e.length;r--;)e[r].id===t&&s(e,e[r])})},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}})}(t,e),function(t){var e=t.dateFormat,n=t.each,i=t.extend,r=t.format,o=t.isNumber,a=t.map,s=t.merge,l=t.pick,u=t.splat,c=t.syncTimeout,h=t.timeUnits;t.Tooltip=function(){this.init.apply(this,arguments)},t.Tooltip.prototype={init:function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted,this.shared=e.shared||this.split},cleanSplit:function(t){n(this.chart.series,function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)})},getLabel:function(){var t=this.chart.renderer,e=this.options;return this.label||(this.split?this.label=t.g("tooltip"):(this.label=t.label("",0,0,e.shape||"callout",null,null,e.useHTML,null,"tooltip").attr({padding:e.padding,r:e.borderRadius}),this.label.attr({fill:e.backgroundColor,"stroke-width":e.borderWidth}).css(e.style).shadow(e.shadow)),this.label.attr({zIndex:8}).add()),this.label},update:function(t){this.destroy(),s(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,s(!0,this.options,t))},destroy:function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(t,e,n,r){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),l=o.followPointer||1<o.len;i(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:l?void 0:s?(2*a.anchorX+n)/3:n,anchorY:l?void 0:s?(a.anchorY+r)/2:r}),o.getLabel().attr(a),s&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){o&&o.move(t,e,n,r)},32))},hide:function(t){var e=this;clearTimeout(this.hideTimer),t=l(t,this.options.hideDelay,500),this.isHidden||(this.hideTimer=c(function(){e.getLabel()[t?"fadeOut":"hide"](),e.isHidden=!0},t))},getAnchor:function(t,e){var i,r,o,s=this.chart,l=s.inverted,c=s.plotTop,h=s.plotLeft,d=0,f=0;return t=u(t),i=t[0].tooltipPos,this.followPointer&&e&&(void 0===e.chartX&&(e=s.pointer.normalize(e)),i=[e.chartX-s.plotLeft,e.chartY-c]),i||(n(t,function(t){r=t.series.yAxis,o=t.series.xAxis,d+=t.plotX+(!l&&o?o.left-h:0),f+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!l&&r?r.top-c:0)}),d/=t.length,f/=t.length,i=[l?s.plotWidth-f:d,this.shared&&!l&&1<t.length&&e?e.chartY-c:l?s.plotHeight-d:f]),a(i,Math.round)},getPosition:function(t,e,n){var i,r=this.chart,o=this.distance,a={},s=n.h||0,u=["y",r.chartHeight,e,n.plotY+r.plotTop,r.plotTop,r.plotTop+r.plotHeight],c=["x",r.chartWidth,t,n.plotX+r.plotLeft,r.plotLeft,r.plotLeft+r.plotWidth],h=!this.followPointer&&l(n.ttBelow,!r.inverted==!!n.negative),d=function(t,e,n,i,r,l){var u=n<i-o,c=i+o+n<e,d=i-o-n;if(i+=o,h&&c)a[t]=i;else if(!h&&u)a[t]=d;else if(u)a[t]=Math.min(l-n,0>d-s?d:d-s);else{if(!c)return!1;a[t]=Math.max(r,i+s+n>e?i:i+s)}},f=function(t,e,n,i){var r;return i<o||i>e-o?r=!1:a[t]=i<n/2?1:i>e-n/2?e-n-2:i-n/2,r},p=function(t){var e=u;u=c,c=e,i=t},g=function(){!1!==d.apply(0,u)?!1!==f.apply(0,c)||i||(p(!0),g()):i?a.x=a.y=0:(p(!0),g())};return(r.inverted||1<this.len)&&p(),g(),a},defaultFormatter:function(t){var e,n=this.points||u(this);return e=[t.tooltipFooterHeaderFormatter(n[0])],e=e.concat(t.bodyFormatter(n)),e.push(t.tooltipFooterHeaderFormatter(n[0],!0)),e},refresh:function(t,e){var i,r,o,a=this.options,s=t,c={},h=[];i=a.formatter||this.defaultFormatter;var d,c=this.shared;a.enabled&&(clearTimeout(this.hideTimer),this.followPointer=u(s)[0].series.tooltipOptions.followPointer,o=this.getAnchor(s,e),e=o[0],r=o[1],!c||s.series&&s.series.noSharedTooltip?c=s.getLabelConfig():(n(s,function(t){t.setState("hover"),h.push(t.getLabelConfig())}),c={x:s[0].category,y:s[0].y},c.points=h,s=s[0]),this.len=h.length,c=i.call(c,this),d=s.series,this.distance=l(d.tooltipOptions.distance,16),!1===c?this.hide():(i=this.getLabel(),this.isHidden&&i.attr({opacity:1}).show(),this.split?this.renderSplit(c,t):(a.style.width||i.css({width:this.chart.spacingBox.width}),i.attr({text:c&&c.join?c.join(""):c}),i.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+l(s.colorIndex,d.colorIndex)),i.attr({stroke:a.borderColor||s.color||d.color||"#666666"}),this.updatePosition({plotX:e,plotY:r,negative:s.negative,ttBelow:s.ttBelow,h:o[2]||0})),this.isHidden=!1))},renderSplit:function(e,i){var r=this,o=[],a=this.chart,s=a.renderer,u=!0,c=this.options,h=0,d=this.getLabel();n(e.slice(0,i.length+1),function(t,e){if(!1!==t){e=i[e-1]||{isHeader:!0,plotX:i[0].plotX};var n=e.series||r,f=n.tt,p=e.series||{},g="highcharts-color-"+l(e.colorIndex,p.colorIndex,"none");f||(n.tt=f=s.label(null,null,null,"callout").addClass("highcharts-tooltip-box "+g).attr({padding:c.padding,r:c.borderRadius,fill:c.backgroundColor,stroke:c.borderColor||e.color||p.color||"#333333","stroke-width":c.borderWidth}).add(d)),f.isActive=!0,f.attr({text:t}),f.css(c.style).shadow(c.shadow),t=f.getBBox(),p=t.width+f.strokeWidth(),e.isHeader?(h=t.height,p=Math.max(0,Math.min(e.plotX+a.plotLeft-p/2,a.chartWidth-p))):p=e.plotX+a.plotLeft-l(c.distance,16)-p,0>p&&(u=!1),t=(e.series&&e.series.yAxis&&e.series.yAxis.pos)+(e.plotY||0),t-=a.plotTop,o.push({target:e.isHeader?a.plotHeight+h:t,rank:e.isHeader?1:0,size:n.tt.getBBox().height+1,point:e,x:p,tt:f})}}),this.cleanSplit(),t.distribute(o,a.plotHeight+h),n(o,function(t){var e=t.point,n=e.series;t.tt.attr({visibility:void 0===t.pos?"hidden":"inherit",x:u||e.isHeader?t.x:e.plotX+a.plotLeft+l(c.distance,16),y:t.pos+a.plotTop,anchorX:e.isHeader?e.plotX+a.plotLeft:e.plotX+n.xAxis.pos,anchorY:e.isHeader?t.pos+a.plotTop-15:e.plotY+n.yAxis.pos})})},updatePosition:function(t){var e=this.chart,n=this.getLabel(),n=(this.options.positioner||this.getPosition).call(this,n.width,n.height,t);this.move(Math.round(n.x),Math.round(n.y||0),t.plotX+e.plotLeft,t.plotY+e.plotTop)},getDateFormat:function(t,n,i,r){var o,a,s=e("%m-%d %H:%M:%S.%L",n),l={millisecond:15,second:12,minute:9,hour:6,day:3},u="millisecond";for(a in h){if(t===h.week&&+e("%w",n)===i&&"00:00:00.000"===s.substr(6)){a="week";break}if(h[a]>t){a=u;break}if(l[a]&&s.substr(l[a])!=="01-01 00:00:00.000".substr(l[a]))break;"week"!==a&&(u=a)}return a&&(o=r[a]),o},getXDateFormat:function(t,e,n){e=e.dateTimeLabelFormats;var i=n&&n.closestPointRange;return(i?this.getDateFormat(i,t.x,n.options.startOfWeek,e):e.day)||e.year},tooltipFooterHeaderFormatter:function(t,e){var n=e?"footer":"header";e=t.series;var i=e.tooltipOptions,a=i.xDateFormat,s=e.xAxis,l=s&&"datetime"===s.options.type&&o(t.key),n=i[n+"Format"];return l&&!a&&(a=this.getXDateFormat(t,i,s)),l&&a&&(n=n.replace("{point.key}","{point.key:"+a+"}")),r(n,{point:t,series:e})},bodyFormatter:function(t){return a(t,function(t){var e=t.series.tooltipOptions;return(e.pointFormatter||t.point.tooltipFormatter).call(t.point,e.pointFormat)})}}}(t),function(t){var e=t.addEvent,n=t.attr,i=t.charts,r=t.color,o=t.css,a=t.defined,s=t.each,l=t.extend,u=t.find,c=t.fireEvent,h=t.isObject,d=t.offset,f=t.pick,p=t.removeEvent,g=t.splat,m=t.Tooltip,v=t.win;t.Pointer=function(t,e){this.init(t,e)},t.Pointer.prototype={init:function(t,e){this.options=e,this.chart=t,this.runChartClick=e.chart.events&&!!e.chart.events.click,this.pinchDown=[],this.lastValidTouch={},m&&(t.tooltip=new m(t,e.tooltip),this.followTouchMove=f(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},zoomOption:function(t){var e=this.chart,n=e.options.chart,i=n.zoomType||"",e=e.inverted;/touch/.test(t.type)&&(i=f(n.pinchType,i)),this.zoomX=t=/x/.test(i),this.zoomY=i=/y/.test(i),this.zoomHor=t&&!e||i&&e,this.zoomVert=i&&!e||t&&e,this.hasZoom=t||i},normalize:function(t,e){var n,i;return t=t||v.event,t.target||(t.target=t.srcElement),i=t.touches?t.touches.length?t.touches.item(0):t.changedTouches[0]:t,e||(this.chartPosition=e=d(this.chart.container)),void 0===i.pageX?(n=Math.max(t.x,t.clientX-e.left),e=t.y):(n=i.pageX-e.left,e=i.pageY-e.top),l(t,{chartX:Math.round(n),chartY:Math.round(e)})},getCoordinates:function(t){var e={xAxis:[],yAxis:[]};return s(this.chart.axes,function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})}),e},findNearestKDPoint:function(t,e,n){var i;return s(t,function(t){var r=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,r),(r=h(t,!0))&&!(r=!h(i,!0)))var r=i.distX-t.distX,o=i.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(i.series.group&&i.series.group.zIndex),r=0<(0!==r&&e?r:0!==o?o:0!==a?a:i.series.index>t.series.index?-1:1);r&&(i=t)}),i},getPointFromEvent:function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},getChartCoordinatesFromPoint:function(t,e){var n=t.series,i=n.xAxis,n=n.yAxis;if(i&&n)return e?{chartX:i.len+i.pos-t.clientX,chartY:n.len+n.pos-t.plotY}:{chartX:t.clientX+i.pos,chartY:t.plotY+n.pos}},getHoverData:function(e,n,i,r,o,a){var l,c=[];r=!(!r||!e);var d=n&&!n.stickyTracking?[n]:t.grep(i,function(t){return t.visible&&!(!o&&t.directTouch)&&f(t.options.enableMouseTracking,!0)&&t.stickyTracking});return n=(l=r?e:this.findNearestKDPoint(d,o,a))&&l.series,l&&(o&&!n.noSharedTooltip?(d=t.grep(i,function(t){return t.visible&&!(!o&&t.directTouch)&&f(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}),s(d,function(t){t=u(t.points,function(t){return t.x===l.x}),h(t)&&!t.isNull&&c.push(t)})):c.push(l)),{hoverPoint:l,hoverSeries:n,hoverPoints:c}},runPointActions:function(n,r){var o,a=this.chart,l=a.tooltip,u=!!l&&l.shared,c=r||a.hoverPoint,h=c&&c.series||a.hoverSeries,h=this.getHoverData(c,h,a.series,!!r||h&&h.directTouch&&this.isDirectTouch,u,n),c=h.hoverPoint;o=h.hoverPoints,r=(h=h.hoverSeries)&&h.tooltipOptions.followPointer,u=u&&h&&!h.noSharedTooltip,c&&(c!==a.hoverPoint||l&&l.isHidden)?(s(a.hoverPoints||[],function(e){-1===t.inArray(e,o)&&e.setState()}),s(o||[],function(t){t.setState("hover")}),a.hoverSeries!==h&&h.onMouseOver(),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),c.firePointEvent("mouseOver"),a.hoverPoints=o,a.hoverPoint=c,l&&l.refresh(u?o:c,n)):r&&l&&!l.isHidden&&(c=l.getAnchor([{}],n),l.updatePosition({plotX:c[0],plotY:c[1]})),this.unDocMouseMove||(this.unDocMouseMove=e(a.container.ownerDocument,"mousemove",function(e){var n=i[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),s(a.axes,function(e){var i=f(e.crosshair.snap,!0),r=i?t.find(o,function(t){return t.series[e.coll]===e}):void 0;r||!i?e.drawCrosshair(n,r):e.hideCrosshair()})},reset:function(t,e){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,l=a&&a.shared?o:r;t&&l&&s(g(l),function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?a&&l&&(a.refresh(l),r&&(r.setState(r.state,!0),s(n.axes,function(t){t.crosshair&&t.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),o&&s(o,function(t){t.setState()}),i&&i.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),s(n.axes,function(t){t.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},scaleGroups:function(t,e){var n,i=this.chart;s(i.series,function(r){n=t||r.getPlotBox(),r.xAxis&&r.xAxis.zoomEnabled&&r.group&&(r.group.attr(n),r.markerGroup&&(r.markerGroup.attr(n),r.markerGroup.clip(e?i.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(n))}),i.clipRect.attr(e||i.clipBox)},dragStart:function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX, 27 e.mouseDownY=this.mouseDownY=t.chartY},drag:function(t){var e,n=this.chart,i=n.options.chart,o=t.chartX,a=t.chartY,s=this.zoomHor,l=this.zoomVert,u=n.plotLeft,c=n.plotTop,h=n.plotWidth,d=n.plotHeight,f=this.selectionMarker,p=this.mouseDownX,g=this.mouseDownY,m=i.panKey&&t[i.panKey+"Key"];f&&f.touch||(o<u?o=u:o>u+h&&(o=u+h),a<c?a=c:a>c+d&&(a=c+d),this.hasDragged=Math.sqrt(Math.pow(p-o,2)+Math.pow(g-a,2)),10<this.hasDragged&&(e=n.isInsidePlot(p-u,g-c),n.hasCartesianSeries&&(this.zoomX||this.zoomY)&&e&&!m&&!f&&(this.selectionMarker=f=n.renderer.rect(u,c,s?1:h,l?1:d,0).attr({fill:i.selectionMarkerFill||r("#335cad").setOpacity(.25).get(),class:"highcharts-selection-marker",zIndex:7}).add()),f&&s&&(o-=p,f.attr({width:Math.abs(o),x:(0<o?0:o)+p})),f&&l&&(o=a-g,f.attr({height:Math.abs(o),y:(0<o?0:o)+g})),e&&!f&&i.panning&&n.pan(t,i.panning)))},drop:function(t){var e=this,n=this.chart,i=this.hasPinched;if(this.selectionMarker){var r,u={originalEvent:t,xAxis:[],yAxis:[]},h=this.selectionMarker,d=h.attr?h.attr("x"):h.x,f=h.attr?h.attr("y"):h.y,p=h.attr?h.attr("width"):h.width,g=h.attr?h.attr("height"):h.height;(this.hasDragged||i)&&(s(n.axes,function(n){if(n.zoomEnabled&&a(n.min)&&(i||e[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])){var o=n.horiz,s="touchend"===t.type?n.minPixelPadding:0,l=n.toValue((o?d:f)+s),o=n.toValue((o?d+p:f+g)-s);u[n.coll].push({axis:n,min:Math.min(l,o),max:Math.max(l,o)}),r=!0}}),r&&c(n,"selection",u,function(t){n.zoom(l(t,i?{animation:!1}:null))})),this.selectionMarker=this.selectionMarker.destroy(),i&&this.scaleGroups()}n&&(o(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},onContainerMouseDown:function(t){t=this.normalize(t),this.zoomOption(t),t.preventDefault&&t.preventDefault(),this.dragStart(t)},onDocumentMouseUp:function(e){i[t.hoverChartIndex]&&i[t.hoverChartIndex].pointer.drop(e)},onDocumentMouseMove:function(t){var e=this.chart,n=this.chartPosition;t=this.normalize(t,n),!n||this.inClass(t.target,"highcharts-tracker")||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||this.reset()},onContainerMouseLeave:function(e){var n=i[t.hoverChartIndex];n&&(e.relatedTarget||e.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=null)},onContainerMouseMove:function(e){var n=this.chart;a(t.hoverChartIndex)&&i[t.hoverChartIndex]&&i[t.hoverChartIndex].mouseIsDown||(t.hoverChartIndex=n.index),e=this.normalize(e),e.returnValue=!1,"mousedown"===n.mouseIsDown&&this.drag(e),!this.inClass(e.target,"highcharts-tracker")&&!n.isInsidePlot(e.chartX-n.plotLeft,e.chartY-n.plotTop)||n.openMenu||this.runPointActions(e)},inClass:function(t,e){for(var i;t;){if(i=n(t,"class")){if(-1!==i.indexOf(e))return!0;if(-1!==i.indexOf("highcharts-container"))return!1}t=t.parentNode}},onTrackerMouseOut:function(t){var e=this.chart.hoverSeries;t=t.relatedTarget||t.toElement,this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},onContainerClick:function(t){var e=this.chart,n=e.hoverPoint,i=e.plotLeft,r=e.plotTop;t=this.normalize(t),e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(c(n.series,"click",l(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(l(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-i,t.chartY-r)&&c(e,"click",t)))},setDOMEvents:function(){var n=this,i=n.chart.container,r=i.ownerDocument;i.onmousedown=function(t){n.onContainerMouseDown(t)},i.onmousemove=function(t){n.onContainerMouseMove(t)},i.onclick=function(t){n.onContainerClick(t)},e(i,"mouseleave",n.onContainerMouseLeave),1===t.chartCount&&e(r,"mouseup",n.onDocumentMouseUp),t.hasTouch&&(i.ontouchstart=function(t){n.onContainerTouchStart(t)},i.ontouchmove=function(t){n.onContainerTouchMove(t)},1===t.chartCount&&e(r,"touchend",n.onDocumentTouchEnd))},destroy:function(){var e=this,n=this.chart.container.ownerDocument;e.unDocMouseMove&&e.unDocMouseMove(),p(e.chart.container,"mouseleave",e.onContainerMouseLeave),t.chartCount||(p(n,"mouseup",e.onDocumentMouseUp),t.hasTouch&&p(n,"touchend",e.onDocumentTouchEnd)),clearInterval(e.tooltipTimeout),t.objectEach(e,function(t,n){e[n]=null})}}}(t),function(t){var e=t.charts,n=t.each,i=t.extend,r=t.map,o=t.noop,a=t.pick;i(t.Pointer.prototype,{pinchTranslate:function(t,e,n,i,r,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,n,i,r,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,n,i,r,o)},pinchTranslateDirection:function(t,e,n,i,r,o,a,s){var l,u,c,h=this.chart,d=t?"x":"y",f=t?"X":"Y",p="chart"+f,g=t?"width":"height",m=h["plot"+(t?"Left":"Top")],v=s||1,y=h.inverted,b=h.bounds[t?"h":"v"],x=1===e.length,w=e[0][p],S=n[0][p],_=!x&&e[1][p],C=!x&&n[1][p];n=function(){!x&&20<Math.abs(w-_)&&(v=s||Math.abs(S-C)/Math.abs(w-_)),u=(m-S)/v+w,l=h["plot"+(t?"Width":"Height")]/v},n(),e=u,e<b.min?(e=b.min,c=!0):e+l>b.max&&(e=b.max-l,c=!0),c?(S-=.8*(S-a[d][0]),x||(C-=.8*(C-a[d][1])),n()):a[d]=[S,C],y||(o[d]=u-m,o[g]=l),o=y?1/v:v,r[g]=l,r[d]=e,i[y?t?"scaleY":"scaleX":"scale"+f]=v,i["translate"+f]=o*m+(S-o*w)},pinch:function(t){var e=this,s=e.chart,l=e.pinchDown,u=t.touches,c=u.length,h=e.lastValidTouch,d=e.hasZoom,f=e.selectionMarker,p={},g=1===c&&(e.inClass(t.target,"highcharts-tracker")&&s.runTrackerClick||e.runChartClick),m={};1<c&&(e.initiated=!0),d&&e.initiated&&!g&&t.preventDefault(),r(u,function(t){return e.normalize(t)}),"touchstart"===t.type?(n(u,function(t,e){l[e]={chartX:t.chartX,chartY:t.chartY}}),h.x=[l[0].chartX,l[1]&&l[1].chartX],h.y=[l[0].chartY,l[1]&&l[1].chartY],n(s.axes,function(t){if(t.zoomEnabled){var e=s.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,i=t.toPixels(a(t.options.min,t.dataMin)),r=t.toPixels(a(t.options.max,t.dataMax)),o=Math.max(i,r);e.min=Math.min(t.pos,Math.min(i,r)-n),e.max=Math.max(t.pos+t.len,o+n)}}),e.res=!0):e.followTouchMove&&1===c?this.runPointActions(e.normalize(t)):l.length&&(f||(e.selectionMarker=f=i({destroy:o,touch:!0},s.plotBox)),e.pinchTranslate(l,u,p,f,m,h),e.hasPinched=d,e.scaleGroups(p,m),e.res&&(e.res=!1,this.reset(!1,0)))},touch:function(e,n){var i,r,o=this.chart;o.index!==t.hoverChartIndex&&this.onContainerMouseLeave({relatedTarget:!0}),t.hoverChartIndex=o.index,1===e.touches.length?(e=this.normalize(e),(r=o.isInsidePlot(e.chartX-o.plotLeft,e.chartY-o.plotTop))&&!o.openMenu?(n&&this.runPointActions(e),"touchmove"===e.type&&(n=this.pinchDown,i=!!n[0]&&4<=Math.sqrt(Math.pow(n[0].chartX-e.chartX,2)+Math.pow(n[0].chartY-e.chartY,2))),a(i,!0)&&this.pinch(e)):n&&this.reset()):2===e.touches.length&&this.pinch(e)},onContainerTouchStart:function(t){this.zoomOption(t),this.touch(t,!0)},onContainerTouchMove:function(t){this.touch(t)},onDocumentTouchEnd:function(n){e[t.hoverChartIndex]&&e[t.hoverChartIndex].pointer.drop(n)}})}(t),function(t){var e=t.addEvent,n=t.charts,i=t.css,r=t.doc,o=t.extend,a=t.noop,s=t.Pointer,l=t.removeEvent,u=t.win,c=t.wrap;if(!t.hasTouch&&(u.PointerEvent||u.MSPointerEvent)){var h={},d=!!u.PointerEvent,f=function(){var e=[];return e.item=function(t){return this[t]},t.objectEach(h,function(t){e.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),e},p=function(e,i,r,o){"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!n[t.hoverChartIndex]||(o(e),o=n[t.hoverChartIndex].pointer,o[i]({type:r,target:e.currentTarget,preventDefault:a,touches:f()}))};o(s.prototype,{onContainerPointerDown:function(t){p(t,"onContainerTouchStart","touchstart",function(t){h[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},onContainerPointerMove:function(t){p(t,"onContainerTouchMove","touchmove",function(t){h[t.pointerId]={pageX:t.pageX,pageY:t.pageY},h[t.pointerId].target||(h[t.pointerId].target=t.currentTarget)})},onDocumentPointerUp:function(t){p(t,"onDocumentTouchEnd","touchend",function(t){delete h[t.pointerId]})},batchMSEvents:function(t){t(this.chart.container,d?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,d?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(r,d?"pointerup":"MSPointerUp",this.onDocumentPointerUp)}}),c(s.prototype,"init",function(t,e,n){t.call(this,e,n),this.hasZoom&&i(e.container,{"-ms-touch-action":"none","touch-action":"none"})}),c(s.prototype,"setDOMEvents",function(t){t.apply(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(e)}),c(s.prototype,"destroy",function(t){this.batchMSEvents(l),t.call(this)})}}(t),function(t){var e=t.addEvent,n=t.css,i=t.discardElement,r=t.defined,o=t.each,a=t.isFirefox,s=t.marginNames,l=t.merge,u=t.pick,c=t.setAnimation,h=t.stableSort,d=t.win,f=t.wrap;t.Legend=function(t,e){this.init(t,e)},t.Legend.prototype={init:function(t,n){this.chart=t,this.setOptions(n),n.enabled&&(this.render(),e(this.chart,"endResize",function(){this.legend.positionCheckboxes()}))},setOptions:function(t){var e=u(t.padding,8);this.options=t,this.itemStyle=t.itemStyle,this.itemHiddenStyle=l(this.itemStyle,t.itemHiddenStyle),this.itemMarginTop=t.itemMarginTop||0,this.padding=e,this.initialItemY=e-5,this.itemHeight=this.maxItemWidth=0,this.symbolWidth=u(t.symbolWidth,16),this.pages=[]},update:function(t,e){var n=this.chart;this.setOptions(l(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,u(e,!0)&&n.redraw()},colorizeItem:function(t,e){t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden");var n=this.options,i=t.legendItem,r=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color,n=e?n.itemStyle.color:a,s=e?t.color||a:a,l=t.options&&t.options.marker,u={fill:s};i&&i.css({fill:n,color:n}),r&&r.attr({stroke:s}),o&&(l&&o.isMarker&&(u=t.pointAttribs(),e||(u.stroke=u.fill=a)),o.attr(u))},positionItem:function(t){var e=this.options,n=e.symbolPadding,e=!e.rtl,i=t._legendItemPos,r=i[0],i=i[1],o=t.checkbox;(t=t.legendGroup)&&t.element&&t.translate(e?r:this.legendWidth-r-2*n-4,i),o&&(o.x=r,o.y=i)},destroyItem:function(t){var e=t.checkbox;o(["legendItem","legendLine","legendSymbol","legendGroup"],function(e){t[e]&&(t[e]=t[e].destroy())}),e&&i(t.checkbox)},destroy:function(){function t(t){this[t]&&(this[t]=this[t].destroy())}o(this.getAllItems(),function(e){o(["legendItem","legendGroup"],t,e)}),o("clipRect up down pager nav box title group".split(" "),t,this),this.display=null},positionCheckboxes:function(t){var e,i=this.group&&this.group.alignAttr,r=this.clipHeight||this.legendHeight,a=this.titleHeight;i&&(e=i.translateY,o(this.allItems,function(o){var s,l=o.checkbox;l&&(s=e+a+l.y+(t||0)+3,n(l,{left:i.translateX+o.checkboxOffset+l.x-20+"px",top:s+"px",display:s>e-6&&s<e+r-6?"":"none"}))}))},renderTitle:function(){var t=this.options,e=this.padding,n=t.title,i=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}).css(n.style).add(this.group)),t=this.title.getBBox(),i=t.height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},setText:function(e){var n=this.options;e.legendItem.attr({text:n.labelFormat?t.format(n.labelFormat,e):n.labelFormatter.call(e)})},renderItem:function(t){var e=this.chart,n=e.renderer,i=this.options,r="horizontal"===i.layout,o=this.symbolWidth,a=i.symbolPadding,s=this.itemStyle,c=this.itemHiddenStyle,h=this.padding,d=r?u(i.itemDistance,20):0,f=!i.rtl,p=i.width,g=i.itemMarginBottom||0,m=this.itemMarginTop,v=t.legendItem,y=!t.series,b=!y&&t.series.drawLegendSymbol?t.series:t,x=b.options,w=this.createCheckboxForItem&&x&&x.showCheckbox,x=o+a+d+(w?20:0),S=i.useHTML,_=t.options.className;v||(t.legendGroup=n.g("legend-item").addClass("highcharts-"+b.type+"-series highcharts-color-"+t.colorIndex+(_?" "+_:"")+(y?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=v=n.text("",f?o+a:-a,this.baseline||0,S).css(l(t.visible?s:c)).attr({align:f?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(o=s.fontSize,this.fontMetrics=n.fontMetrics(o,v),this.baseline=this.fontMetrics.f+3+m,v.attr("y",this.baseline)),this.symbolHeight=i.symbolHeight||this.fontMetrics.f,b.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,v,S),w&&this.createCheckboxForItem(t)),this.colorizeItem(t,t.visible),s.width||v.css({width:(i.itemWidth||i.width||e.spacingBox.width)-x}),this.setText(t),n=v.getBBox(),s=t.checkboxOffset=i.itemWidth||t.legendItemWidth||n.width+x,this.itemHeight=n=Math.round(t.legendItemHeight||n.height||this.symbolHeight),r&&this.itemX-h+s>(p||e.spacingBox.width-2*h-i.x)&&(this.itemX=h,this.itemY+=m+this.lastLineHeight+g,this.lastLineHeight=0),this.maxItemWidth=Math.max(this.maxItemWidth,s),this.lastItemY=m+this.itemY+g,this.lastLineHeight=Math.max(n,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=s:(this.itemY+=m+n+g,this.lastLineHeight=n),this.offsetWidth=p||Math.max((r?this.itemX-h-(t.checkbox?0:d):s)+h,this.offsetWidth)},getAllItems:function(){var t=[];return o(this.chart.series,function(e){var n=e&&e.options;e&&u(n.showInLegend,!r(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))}),t},adjustMargins:function(t,e){var n=this.chart,i=this.options,a=i.align.charAt(0)+i.verticalAlign.charAt(0)+i.layout.charAt(0);i.floating||o([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(o,l){o.test(a)&&!r(t[l])&&(n[s[l]]=Math.max(n[s[l]],n.legend[(l+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][l]*i[l%2?"x":"y"]+u(i.margin,12)+e[l]))})},render:function(){var t,e,n,i,r=this,a=r.chart,s=a.renderer,u=r.group,c=r.box,d=r.options,f=r.padding;r.itemX=f,r.itemY=r.initialItemY,r.offsetWidth=0,r.lastItemY=0,u||(r.group=u=s.g("legend").attr({zIndex:7}).add(),r.contentGroup=s.g().attr({zIndex:1}).add(u),r.scrollGroup=s.g().add(r.contentGroup)),r.renderTitle(),t=r.getAllItems(),h(t,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),d.reversed&&t.reverse(),r.allItems=t,r.display=e=!!t.length,r.lastLineHeight=0,o(t,function(t){r.renderItem(t)}),n=(d.width||r.offsetWidth)+f,i=r.lastItemY+r.lastLineHeight+r.titleHeight,i=r.handleOverflow(i),i+=f,c||(r.box=c=s.rect().addClass("highcharts-legend-box").attr({r:d.borderRadius}).add(u),c.isNew=!0),c.attr({stroke:d.borderColor,"stroke-width":d.borderWidth||0,fill:d.backgroundColor||"none"}).shadow(d.shadow),0<n&&0<i&&(c[c.isNew?"attr":"animate"](c.crisp({x:0,y:0,width:n,height:i},c.strokeWidth())),c.isNew=!1),c[e?"show":"hide"](),r.legendWidth=n,r.legendHeight=i,o(t,function(t){r.positionItem(t)}),e&&u.align(l(d,{width:n,height:i}),!0,"spacingBox"),a.isResizing||this.positionCheckboxes()},handleOverflow:function(t){var e,n,i=this,r=this.chart,a=r.renderer,s=this.options,l=s.y,c=this.padding,r=r.spacingBox.height+("top"===s.verticalAlign?-l:l)-c,l=s.maxHeight,h=this.clipRect,d=s.navigation,f=u(d.animation,!0),p=d.arrowSize||12,g=this.nav,m=this.pages,v=this.allItems,y=function(t){"number"==typeof t?h.attr({height:t}):h&&(i.clipRect=h.destroy(),i.contentGroup.clip()),i.contentGroup.div&&(i.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")};return"horizontal"!==s.layout||"middle"===s.verticalAlign||s.floating||(r/=2),l&&(r=Math.min(r,l)),m.length=0,t>r&&!1!==d.enabled?(this.clipHeight=e=Math.max(r-20-this.titleHeight-c,0),this.currentPage=u(this.currentPage,1),this.fullHeight=t,o(v,function(t,i){var r=t._legendItemPos[1];t=Math.round(t.legendItem.getBBox().height);var o=m.length;(!o||r-m[o-1]>e&&(n||r)!==m[o-1])&&(m.push(n||r),o++),i===v.length-1&&r+t-m[o-1]>e&&m.push(r),r!==n&&(n=r)}),h||(h=i.clipRect=a.clipRect(0,c,9999,0),i.contentGroup.clip(h)),y(e),g||(this.nav=g=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,p,p).on("click",function(){i.scroll(-1,f)}).add(g),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation").css(d.style).add(g),this.down=a.symbol("triangle-down",0,0,p,p).on("click",function(){i.scroll(1,f)}).add(g)),i.scroll(0),t=r):g&&(y(),this.nav=g.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},scroll:function(t,e){var n=this.pages,i=n.length;t=this.currentPage+t;var r=this.clipHeight,o=this.options.navigation,a=this.pager,s=this.padding;t>i&&(t=i),0<t&&(void 0!==e&&c(e,this.chart),this.nav.attr({translateX:s,translateY:r+this.padding+7+this.titleHeight,visibility:"visible"}),this.up.attr({class:1===t?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"}),a.attr({text:t+"/"+i}),this.down.attr({x:18+this.pager.getBBox().width,class:t===i?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"}),this.up.attr({fill:1===t?o.inactiveColor:o.activeColor}).css({cursor:1===t?"default":"pointer"}),this.down.attr({fill:t===i?o.inactiveColor:o.activeColor}).css({cursor:t===i?"default":"pointer"}),e=-n[t-1]+this.initialItemY,this.scrollGroup.animate({translateY:e}),this.currentPage=t,this.positionCheckboxes(e))}},t.LegendSymbolMixin={drawRectangle:function(t,e){var n=t.symbolHeight,i=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(i?(t.symbolWidth-n)/2:0,t.baseline-n+1,i?n:t.symbolWidth,n,u(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e=this.options,n=e.marker,i=t.symbolWidth,r=t.symbolHeight,o=r/2,a=this.chart.renderer,s=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c;c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle),this.legendLine=a.path(["M",0,t,"L",i,t]).addClass("highcharts-graph").attr(c).add(s),n&&!1!==n.enabled&&(e=Math.min(u(n.radius,o),o),0===this.symbol.indexOf("url")&&(n=l(n,{width:r,height:r}),e=0),this.legendSymbol=n=a.symbol(this.symbol,i/2-e,t-e,2*e,2*e,n).addClass("highcharts-point").add(s),n.isMarker=!0)}},(/Trident\/7\.0/.test(d.navigator.userAgent)||a)&&f(t.Legend.prototype,"positionItem",function(t,e){var n=this,i=function(){e._legendItemPos&&t.call(n,e)};i(),setTimeout(i)})}(t),function(t){var e=t.addEvent,n=t.animate,i=t.animObject,r=t.attr,o=t.doc,a=t.Axis,s=t.createElement,l=t.defaultOptions,u=t.discardElement,c=t.charts,h=t.css,d=t.defined,f=t.each,p=t.extend,g=t.find,m=t.fireEvent,v=t.getStyle,y=t.grep,b=t.isNumber,x=t.isObject,w=t.isString,S=t.Legend,_=t.marginNames,C=t.merge,M=t.objectEach,k=t.Pointer,T=t.pick,D=t.pInt,A=t.removeEvent,E=t.seriesTypes,P=t.splat,O=t.svg,L=t.syncTimeout,N=t.win,I=t.Renderer,j=t.Chart=function(){this.getArgs.apply(this,arguments)};t.chart=function(t,e,n){return new j(t,e,n)},p(j.prototype,{callbacks:[],getArgs:function(){var t=[].slice.call(arguments);(w(t[0])||t[0].nodeName)&&(this.renderTo=t.shift()),this.init(t[0],t[1])},init:function(n,i){var r,o,a=n.series,s=n.plotOptions||{};n.series=null,r=C(l,n);for(o in r.plotOptions)r.plotOptions[o].tooltip=s[o]&&C(s[o].tooltip)||void 0;r.tooltip.userOptions=n.chart&&n.chart.forExport&&n.tooltip.userOptions||n.tooltip,r.series=n.series=a,this.userOptions=n,n=r.chart,o=n.events,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.callback=i,this.isResizing=0,this.options=r,this.axes=[],this.series=[],this.hasCartesianSeries=n.showAxes;var u=this;u.index=c.length,c.push(u),t.chartCount++,o&&M(o,function(t,n){e(u,n,t)}),u.xAxis=[],u.yAxis=[],u.pointCount=u.colorCounter=u.symbolCounter=0,u.firstRender()},initSeries:function(e){var n=this.options.chart;return(n=E[e.type||n.type||n.defaultSeriesType])||t.error(17,!0),n=new n,n.init(this,e),n},orderSeries:function(t){var e=this.series;for(t=t||0;t<e.length;t++)e[t]&&(e[t].index=t,e[t].name=e[t].name||"Series "+(e[t].index+1))},isInsidePlot:function(t,e,n){var i=n?e:t;return t=n?t:e,0<=i&&i<=this.plotWidth&&0<=t&&t<=this.plotHeight},redraw:function(e){var n,i,r,o=this.axes,a=this.series,s=this.pointer,l=this.legend,u=this.isDirtyLegend,c=this.hasCartesianSeries,h=this.isDirtyBox,d=this.renderer,g=d.isHidden(),v=[];for(this.setResponsive&&this.setResponsive(!1),t.setAnimation(e,this),g&&this.temporaryDisplay(),this.layOutTitles(),e=a.length;e--;)if(r=a[e],r.options.stacking&&(n=!0,r.isDirty)){i=!0;break}if(i)for(e=a.length;e--;)r=a[e],r.options.stacking&&(r.isDirty=!0);f(a,function(t){t.isDirty&&"point"===t.options.legendType&&(t.updateTotals&&t.updateTotals(),u=!0),t.isDirtyData&&m(t,"updatedData")}),u&&l.options.enabled&&(l.render(),this.isDirtyLegend=!1),n&&this.getStacks(),c&&f(o,function(t){t.updateNames(),t.setScale()}),this.getMargins(),c&&(f(o,function(t){t.isDirty&&(h=!0)}),f(o,function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,v.push(function(){m(t,"afterSetExtremes",p(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(h||n)&&t.redraw()})),h&&this.drawChartBox(),m(this,"predraw"),f(a,function(t){(h||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),s&&s.reset(!0),d.draw(),m(this,"redraw"),m(this,"render"),g&&this.temporaryDisplay(!0),f(v,function(t){t.call()})},get:function(t){function e(e){return e.id===t||e.options&&e.options.id===t}var n,i,r=this.series;for(n=g(this.axes,e)||g(this.series,e),i=0;!n&&i<r.length;i++)n=g(r[i].points||[],e);return n},getAxes:function(){var t=this,e=this.options,n=e.xAxis=P(e.xAxis||{}),e=e.yAxis=P(e.yAxis||{});f(n,function(t,e){t.index=e,t.isX=!0}),f(e,function(t,e){t.index=e}),n=n.concat(e),f(n,function(e){new a(t,e)})},getSelectedPoints:function(){var t=[];return f(this.series,function(e){t=t.concat(y(e.data||[],function(t){return t.selected}))}),t},getSelectedSeries:function(){return y(this.series,function(t){return t.selected})},setTitle:function(t,e,n){var i,r=this,o=r.options;i=o.title=C({style:{color:"#333333",fontSize:o.isStock?"16px":"18px"}},o.title,t),o=o.subtitle=C({style:{color:"#666666"}},o.subtitle,e),f([["title",t,i],["subtitle",e,o]],function(t,e){var n=t[0],i=r[n],o=t[1];t=t[2],i&&o&&(r[n]=i=i.destroy()),t&&t.text&&!i&&(r[n]=r.renderer.text(t.text,0,0,t.useHTML).attr({align:t.align,class:"highcharts-"+n,zIndex:t.zIndex||4}).add(),r[n].update=function(t){r.setTitle(!e&&t,e&&t)},r[n].css(t.style))}),r.layOutTitles(n)},layOutTitles:function(t){var e,n=0,i=this.renderer,r=this.spacingBox;f(["title","subtitle"],function(t){var e=this[t],o=this.options[t];t="title"===t?-3:o.verticalAlign?0:n+2;var a;e&&(a=o.style.fontSize,a=i.fontMetrics(a,e).b,e.css({width:(o.width||r.width+o.widthAdjust)+"px"}).align(p({y:t+a},o),!1,"spacingBox"),o.floating||o.verticalAlign||(n=Math.ceil(n+e.getBBox(o.useHTML).height)))},this),e=this.titleOffset!==n,this.titleOffset=n,!this.isDirtyBox&&e&&(this.isDirtyBox=e,this.hasRendered&&T(t,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var e=this.options.chart,n=e.width,e=e.height,i=this.renderTo;d(n)||(this.containerWidth=v(i,"width")),d(e)||(this.containerHeight=v(i,"height")),this.chartWidth=Math.max(0,n||this.containerWidth||600),this.chartHeight=Math.max(0,t.relativeLength(e,this.chartWidth)||this.containerHeight||400)},temporaryDisplay:function(e){var n=this.renderTo;if(e)for(;n&&n.style;)n.hcOrigStyle&&(t.css(n,n.hcOrigStyle),delete n.hcOrigStyle),n.hcOrigDetached&&(o.body.removeChild(n),n.hcOrigDetached=!1),n=n.parentNode;else for(;n&&n.style&&(o.body.contains(n)||(n.hcOrigDetached=!0,o.body.appendChild(n)),("none"===v(n,"display",!1)||n.hcOricDetached)&&(n.hcOrigStyle={display:n.style.display,height:n.style.height,overflow:n.style.overflow},e={display:"block",overflow:"hidden"},n!==this.renderTo&&(e.height=0),t.css(n,e),n.offsetWidth||n.style.setProperty("display","block","important")),n=n.parentNode,n!==o.body););},setClassName:function(t){this.container.className="highcharts-container "+(t||"")},getContainer:function(){var e,n,i,a=this.options,l=a.chart;e=this.renderTo;var u,h=t.uniqueKey();e||(this.renderTo=e=l.renderTo),w(e)&&(this.renderTo=e=o.getElementById(e)),e||t.error(13,!0),n=D(r(e,"data-highcharts-chart")),b(n)&&c[n]&&c[n].hasRendered&&c[n].destroy(),r(e,"data-highcharts-chart",this.index),e.innerHTML="",l.skipClone||e.offsetWidth||this.temporaryDisplay(),this.getChartSize(),n=this.chartWidth,i=this.chartHeight,u=p({position:"relative",overflow:"hidden",width:n+"px",height:i+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},l.style),this.container=e=s("div",{id:h},u,e),this._cursor=e.style.cursor,this.renderer=new(t[l.renderer]||I)(e,n,i,null,l.forExport,a.exporting&&a.exporting.allowHTML),this.setClassName(l.className),this.renderer.setStyle(l.style),this.renderer.chartIndex=this.index},getMargins:function(t){var e=this.spacing,n=this.margin,i=this.titleOffset;this.resetMargins(),i&&!d(n[0])&&(this.plotTop=Math.max(this.plotTop,i+this.options.title.margin+e[0])),this.legend.display&&this.legend.adjustMargins(n,e),this.extraMargin&&(this[this.extraMargin.type]=(this[this.extraMargin.type]||0)+this.extraMargin.value),this.extraTopMargin&&(this.plotTop+=this.extraTopMargin),t||this.getAxisMargins()},getAxisMargins:function(){var t=this,e=t.axisOffset=[0,0,0,0],n=t.margin;t.hasCartesianSeries&&f(t.axes,function(t){t.visible&&t.getOffset()}),f(_,function(i,r){d(n[r])||(t[i]+=e[r])}),t.setChartSize()},reflow:function(t){var e=this,n=e.options.chart,i=e.renderTo,r=d(n.width)&&d(n.height),a=n.width||v(i,"width"),n=n.height||v(i,"height"),i=t?t.target:N;r||e.isPrinting||!a||!n||i!==N&&i!==o||(a===e.containerWidth&&n===e.containerHeight||(clearTimeout(e.reflowTimeout),e.reflowTimeout=L(function(){e.container&&e.setSize(void 0,void 0,!1)},t?100:0)),e.containerWidth=a,e.containerHeight=n)},initReflow:function(){var t,n=this;t=e(N,"resize",function(t){n.reflow(t)}),e(n,"destroy",t)},setSize:function(e,r,o){var a=this,s=a.renderer;a.isResizing+=1,t.setAnimation(o,a),a.oldChartHeight=a.chartHeight,a.oldChartWidth=a.chartWidth,void 0!==e&&(a.options.chart.width=e),void 0!==r&&(a.options.chart.height=r),a.getChartSize(),e=s.globalAnimation,(e?n:h)(a.container,{width:a.chartWidth+"px",height:a.chartHeight+"px"},e),a.setChartSize(!0),s.setSize(a.chartWidth,a.chartHeight,o),f(a.axes,function(t){t.isDirty=!0,t.setScale()}),a.isDirtyLegend=!0,a.isDirtyBox=!0,a.layOutTitles(),a.getMargins(),a.redraw(o),a.oldChartHeight=null,m(a,"resize"),L(function(){a&&m(a,"endResize",null,function(){--a.isResizing})},i(e).duration)},setChartSize:function(t){function e(t){return t=p[t]||0,Math.max(a||t,t)/2}var n,i,r,o,a,s=this.inverted,l=this.renderer,u=this.chartWidth,c=this.chartHeight,h=this.options.chart,d=this.spacing,p=this.clipOffset;this.plotLeft=n=Math.round(this.plotLeft),this.plotTop=i=Math.round(this.plotTop),this.plotWidth=r=Math.max(0,Math.round(u-n-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(c-i-this.marginBottom)),this.plotSizeX=s?o:r,this.plotSizeY=s?r:o,this.plotBorderWidth=h.plotBorderWidth||0,this.spacingBox=l.spacingBox={x:d[3],y:d[0],width:u-d[3]-d[1],height:c-d[0]-d[2]},this.plotBox=l.plotBox={x:n,y:i,width:r,height:o},a=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(e(3)),l=Math.ceil(e(0)),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-e(1)-s),height:Math.max(0,Math.floor(this.plotSizeY-e(2)-l))},t||f(this.axes,function(t){t.setAxisSize(),t.setAxisTranslation()})},resetMargins:function(){var t=this,e=t.options.chart;f(["margin","spacing"],function(n){var i=e[n],r=x(i)?i:[i,i,i,i];f(["Top","Right","Bottom","Left"],function(i,o){t[n][o]=T(e[n+i],r[o])})}),f(_,function(e,n){t[e]=T(t.margin[n],t.spacing[n])}),t.axisOffset=[0,0,0,0],t.clipOffset=[]},drawChartBox:function(){var t,e,n=this.options.chart,i=this.renderer,r=this.chartWidth,o=this.chartHeight,a=this.chartBackground,s=this.plotBackground,l=this.plotBorder,u=this.plotBGImage,c=n.backgroundColor,h=n.plotBackgroundColor,d=n.plotBackgroundImage,f=this.plotLeft,p=this.plotTop,g=this.plotWidth,m=this.plotHeight,v=this.plotBox,y=this.clipRect,b=this.clipBox,x="animate";a||(this.chartBackground=a=i.rect().addClass("highcharts-background").add(),x="attr"),t=n.borderWidth||0,e=t+(n.shadow?8:0),c={fill:c||"none"},(t||a["stroke-width"])&&(c.stroke=n.borderColor,c["stroke-width"]=t),a.attr(c).shadow(n.shadow),a[x]({x:e/2,y:e/2,width:r-e-t%2,height:o-e-t%2,r:n.borderRadius}),x="animate",s||(x="attr",this.plotBackground=s=i.rect().addClass("highcharts-plot-background").add()),s[x](v),s.attr({fill:h||"none"}).shadow(n.plotShadow),d&&(u?u.animate(v):this.plotBGImage=i.image(d,f,p,g,m).add()),y?y.animate({width:b.width,height:b.height}):this.clipRect=i.clipRect(b),x="animate",l||(x="attr",this.plotBorder=l=i.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),l.attr({stroke:n.plotBorderColor,"stroke-width":n.plotBorderWidth||0,fill:"none"}),l[x](l.crisp({x:f,y:p,width:g,height:m},-l.strokeWidth())),this.isDirtyBox=!1},propFromSeries:function(){var t,e,n,i=this,r=i.options.chart,o=i.options.series;f(["inverted","angular","polar"],function(a){for(t=E[r.type||r.defaultSeriesType],n=r[a]||t&&t.prototype[a],e=o&&o.length;!n&&e--;)(t=E[o[e].type])&&t.prototype[a]&&(n=!0);i[a]=n})},linkSeries:function(){var t=this,e=t.series;f(e,function(t){t.linkedSeries.length=0}),f(e,function(e){var n=e.options.linkedTo;w(n)&&(n=":previous"===n?t.series[e.index-1]:t.get(n))&&n.linkedParent!==e&&(n.linkedSeries.push(e),e.linkedParent=n,e.visible=T(e.options.visible,n.options.visible,e.visible))})},renderSeries:function(){f(this.series,function(t){t.translate(),t.render()})},renderLabels:function(){var t=this,e=t.options.labels;e.items&&f(e.items,function(n){var i=p(e.style,n.style),r=D(i.left)+t.plotLeft,o=D(i.top)+t.plotTop+12;delete i.left,delete i.top,t.renderer.text(n.html,r,o).attr({zIndex:2}).css(i).add()})},render:function(){var t,e,n,i=this.axes,r=this.renderer,o=this.options;this.setTitle(),this.legend=new S(this,o.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),o=this.plotWidth,t=this.plotHeight-=21,f(i,function(t){t.setScale()}),this.getAxisMargins(),e=1.1<o/this.plotWidth,n=1.05<t/this.plotHeight,(e||n)&&(f(i,function(t){(t.horiz&&e||!t.horiz&&n)&&t.setTickInterval(!0)}),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries&&f(i,function(t){t.visible&&t.render()}),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},addCredits:function(t){var e=this;t=C(!0,this.options.credits,t),t.enabled&&!this.credits&&(this.credits=this.renderer.text(t.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){t.href&&(N.location.href=t.href)}).attr({align:t.position.align,zIndex:8}).css(t.style).add().align(t.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},destroy:function(){var e,n=this,i=n.axes,r=n.series,o=n.container,a=o&&o.parentNode;for(m(n,"destroy"),n.renderer.forExport?t.erase(c,n):c[n.index]=void 0,t.chartCount--,n.renderTo.removeAttribute("data-highcharts-chart"),A(n),e=i.length;e--;)i[e]=i[e].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),e=r.length;e--;)r[e]=r[e].destroy();f("title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" "),function(t){var e=n[t];e&&e.destroy&&(n[t]=e.destroy())}),o&&(o.innerHTML="",A(o),a&&u(o)),M(n,function(t,e){delete n[e]})},isReadyToRender:function(){var t=this;return!(!O&&N==N.top&&"complete"!==o.readyState)||(o.attachEvent("onreadystatechange",function(){o.detachEvent("onreadystatechange",t.firstRender),"complete"===o.readyState&&t.firstRender()}),!1)},firstRender:function(){var t=this,e=t.options;t.isReadyToRender()&&(t.getContainer(),m(t,"init"),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),f(e.series||[],function(e){t.initSeries(e)}),t.linkSeries(),m(t,"beforeRender"),k&&(t.pointer=new k(t,e)),t.render(),!t.renderer.imgCount&&t.onload&&t.onload(),t.temporaryDisplay(!0))},onload:function(){f([this.callback].concat(this.callbacks),function(t){t&&void 0!==this.index&&t.apply(this,[this])},this),m(this,"load"),m(this,"render"),d(this.index)&&!1!==this.options.chart.reflow&&this.initReflow(),this.onload=null}})}(t), 28 function(t){var e,n=t.each,i=t.extend,r=t.erase,o=t.fireEvent,a=t.format,s=t.isArray,l=t.isNumber,u=t.pick,c=t.removeEvent;t.Point=e=function(){},t.Point.prototype={init:function(t,e,n){return this.series=t,this.color=t.color,this.applyOptions(e,n),t.options.colorByPoint?(e=t.options.colors||t.chart.options.colors,this.color=this.color||e[t.colorCounter],e=e.length,n=t.colorCounter,t.colorCounter++,t.colorCounter===e&&(t.colorCounter=0)):n=t.colorIndex,this.colorIndex=u(this.colorIndex,n),t.chart.pointCount++,this},applyOptions:function(t,n){var r=this.series,o=r.options.pointValKey||r.pointValKey;return t=e.prototype.optionsToObject.call(this,t),i(this,t),this.options=this.options?i(this.options,t):t,t.group&&delete this.group,o&&(this.y=this[o]),this.isNull=u(this.isValid&&!this.isValid(),null===this.x||!l(this.y,!0)),this.selected&&(this.state="select"),"name"in this&&void 0===n&&r.xAxis&&r.xAxis.hasNames&&(this.x=r.xAxis.nameToX(this)),void 0===this.x&&r&&(this.x=void 0===n?r.autoIncrement(this):n),this},optionsToObject:function(t){var e={},n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,a=0,u=0;if(l(t)||null===t)e[r[0]]=t;else if(s(t))for(!i&&t.length>o&&(n=typeof t[0],"string"===n?e.name=t[0]:"number"===n&&(e.x=t[0]),a++);u<o;)i&&void 0===t[a]||(e[r[u]]=t[a]),a++,u++;else"object"==typeof t&&(e=t,t.dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return e},getClassName:function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},getZone:function(){var t,e=this.series,n=e.zones,e=e.zoneAxis||"y",i=0;for(t=n[i];this[e]>=t.value;)t=n[++i];return t&&t.color&&!this.options.color&&(this.color=t.color),t},destroy:function(){var t,e=this.series.chart,n=e.hoverPoints;e.pointCount--,n&&(this.setState(),r(n,this),n.length||(e.hoverPoints=null)),this===e.hoverPoint&&this.onMouseOut(),(this.graphic||this.dataLabel)&&(c(this),this.destroyElements()),this.legendItem&&e.legend.destroyItem(this);for(t in this)this[t]=null},destroyElements:function(){for(var t,e=["graphic","dataLabel","dataLabelUpper","connector","shadowGroup"],n=6;n--;)t=e[n],this[t]&&(this[t]=this[t].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(t){var e=this.series,i=e.tooltipOptions,r=u(i.valueDecimals,""),o=i.valuePrefix||"",s=i.valueSuffix||"";return n(e.pointArrayMap||["y"],function(e){e="{point."+e,(o||s)&&(t=t.replace(e+"}",o+e+"}"+s)),t=t.replace(e+"}",e+":,."+r+"f}")}),a(t,{point:this,series:this.series})},firePointEvent:function(t,e,n){var i=this,r=this.series.options;(r.point.events[t]||i.options&&i.options.events&&i.options.events[t])&&this.importEvents(),"click"===t&&r.allowPointSelect&&(n=function(t){i.select&&i.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),o(this,t,e,n)},visible:!0}}(t),function(t){var e=t.addEvent,n=t.animObject,i=t.arrayMax,r=t.arrayMin,o=t.correctFloat,a=t.Date,s=t.defaultOptions,l=t.defaultPlotOptions,u=t.defined,c=t.each,h=t.erase,d=t.extend,f=t.fireEvent,p=t.grep,g=t.isArray,m=t.isNumber,v=t.isString,y=t.merge,b=t.objectEach,x=t.pick,w=t.removeEvent,S=t.splat,_=t.SVGElement,C=t.syncTimeout,M=t.win;t.Series=t.seriesType("line",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{lineWidth:0,lineColor:"#ffffff",radius:4,states:{hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){return null===this.y?"":t.numberFormat(this.y,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},{isCartesian:!0,pointClass:t.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],coll:"series",init:function(t,n){var i,r,o=this,a=t.series;o.chart=t,o.options=n=o.setOptions(n),o.linkedSeries=[],o.bindAxes(),d(o,{name:n.name,state:"",visible:!1!==n.visible,selected:!0===n.selected}),i=n.events,b(i,function(t,n){e(o,n,t)}),(i&&i.click||n.point&&n.point.events&&n.point.events.click||n.allowPointSelect)&&(t.runTrackerClick=!0),o.getColor(),o.getSymbol(),c(o.parallelArrays,function(t){o[t+"Data"]=[]}),o.setData(n.data,!1),o.isCartesian&&(t.hasCartesianSeries=!0),a.length&&(r=a[a.length-1]),o._i=x(r&&r._i,-1)+1,t.orderSeries(this.insert(a))},insert:function(t){var e,n=this.options.index;if(m(n)){for(e=t.length;e--;)if(n>=x(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return x(e,t.length-1)},bindAxes:function(){var e,n=this,i=n.options,r=n.chart;c(n.axisTypes||[],function(o){c(r[o],function(t){e=t.options,(i[o]===e.index||void 0!==i[o]&&i[o]===e.id||void 0===i[o]&&0===e.index)&&(n.insert(t.series),n[o]=t,t.isDirty=!0)}),n[o]||n.optionalAxis===o||t.error(18,!0)})},updateParallelArrays:function(t,e){var n=t.series,i=arguments,r=m(e)?function(i){var r="y"===i&&n.toYData?n.toYData(t):t[i];n[i+"Data"][e]=r}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(i,2))};c(n.parallelArrays,r)},autoIncrement:function(){var t,e=this.options,n=this.xIncrement,i=e.pointIntervalUnit,n=x(n,e.pointStart,0);return this.pointInterval=t=x(this.pointInterval,e.pointInterval,1),i&&(e=new a(n),"day"===i?e=+e[a.hcSetDate](e[a.hcGetDate]()+t):"month"===i?e=+e[a.hcSetMonth](e[a.hcGetMonth]()+t):"year"===i&&(e=+e[a.hcSetFullYear](e[a.hcGetFullYear]()+t)),t=e-n),this.xIncrement=n+t,n},setOptions:function(t){var e=this.chart,n=e.options,i=n.plotOptions,r=(e.userOptions||{}).plotOptions||{},o=i[this.type];return this.userOptions=t,e=y(o,i.series,t),this.tooltipOptions=y(s.tooltip,s.plotOptions.series&&s.plotOptions.series.tooltip,s.plotOptions[this.type].tooltip,n.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,t.tooltip),this.stickyTracking=x(t.stickyTracking,r[this.type]&&r[this.type].stickyTracking,r.series&&r.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||e.stickyTracking),null===o.marker&&delete e.marker,this.zoneAxis=e.zoneAxis,t=this.zones=(e.zones||[]).slice(),!e.negativeColor&&!e.negativeFillColor||e.zones||t.push({value:e[this.zoneAxis+"Threshold"]||e.threshold||0,className:"highcharts-negative",color:e.negativeColor,fillColor:e.negativeFillColor}),t.length&&u(t[t.length-1].value)&&t.push({color:this.color,fillColor:this.fillColor}),e},getCyclic:function(t,e,n){var i,r=this.chart,o=this.userOptions,a=t+"Index",s=t+"Counter",l=n?n.length:x(r.options.chart[t+"Count"],r[t+"Count"]);e||(i=x(o[a],o["_"+a]),u(i)||(r.series.length||(r[s]=0),o["_"+a]=i=r[s]%l,r[s]+=1),n&&(e=n[i])),void 0!==i&&(this[a]=i),this[t]=e},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||l[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:t.LegendSymbolMixin.drawLineMarker,setData:function(e,n,i,r){var o,a=this,s=a.points,l=s&&s.length||0,u=a.options,h=a.chart,d=null,f=a.xAxis,p=u.turboThreshold,y=this.xData,b=this.yData,w=(o=a.pointArrayMap)&&o.length;if(e=e||[],o=e.length,n=x(n,!0),!1!==r&&o&&l===o&&!a.cropped&&!a.hasGroupedData&&a.visible)c(e,function(t,e){s[e].update&&t!==u.data[e]&&s[e].update(t,!1,null,!1)});else{if(a.xIncrement=null,a.colorCounter=0,c(this.parallelArrays,function(t){a[t+"Data"].length=0}),p&&o>p){for(i=0;null===d&&i<o;)d=e[i],i++;if(m(d))for(i=0;i<o;i++)y[i]=this.autoIncrement(),b[i]=e[i];else if(g(d))if(w)for(i=0;i<o;i++)d=e[i],y[i]=d[0],b[i]=d.slice(1,w+1);else for(i=0;i<o;i++)d=e[i],y[i]=d[0],b[i]=d[1];else t.error(12)}else for(i=0;i<o;i++)void 0!==e[i]&&(d={series:a},a.pointClass.prototype.applyOptions.apply(d,[e[i]]),a.updateParallelArrays(d,i));for(v(b[0])&&t.error(14,!0),a.data=[],a.options.data=a.userOptions.data=e,i=l;i--;)s[i]&&s[i].destroy&&s[i].destroy();f&&(f.minRange=f.userMinRange),a.isDirty=h.isDirtyBox=!0,a.isDirtyData=!!s,i=!1}"point"===u.legendType&&(this.processData(),this.generatePoints()),n&&h.redraw(i)},processData:function(e){var n,i=this.xData,r=this.yData,o=i.length;n=0;var a,s,l,u=this.xAxis,c=this.options;l=c.cropThreshold;var h,d,f=this.getExtremesFromAll||c.getExtremesFromAll,p=this.isCartesian,c=u&&u.val2lin,g=u&&u.isLog;if(p&&!this.isDirty&&!u.isDirty&&!this.yAxis.isDirty&&!e)return!1;for(u&&(e=u.getExtremes(),h=e.min,d=e.max),p&&this.sorted&&!f&&(!l||o>l||this.forceCrop)&&(i[o-1]<h||i[0]>d?(i=[],r=[]):(i[0]<h||i[o-1]>d)&&(n=this.cropData(this.xData,this.yData,h,d),i=n.xData,r=n.yData,n=n.start,a=!0)),l=i.length||1;--l;)o=g?c(i[l])-c(i[l-1]):i[l]-i[l-1],0<o&&(void 0===s||o<s)?s=o:0>o&&this.requireSorting&&t.error(15);this.cropped=a,this.cropStart=n,this.processedXData=i,this.processedYData=r,this.closestPointRange=s},cropData:function(t,e,n,i){var r,o=t.length,a=0,s=o,l=x(this.cropShoulder,1);for(r=0;r<o;r++)if(t[r]>=n){a=Math.max(0,r-l);break}for(n=r;n<o;n++)if(t[n]>i){s=n+l;break}return{xData:t.slice(a,s),yData:e.slice(a,s),start:a,end:s}},generatePoints:function(){var t,e,n,i,r=this.options,o=r.data,a=this.data,s=this.processedXData,l=this.processedYData,u=this.pointClass,c=s.length,h=this.cropStart||0,d=this.hasGroupedData,r=r.keys,f=[];for(a||d||(a=[],a.length=o.length,a=this.data=a),r&&d&&(this.options.keys=!1),i=0;i<c;i++)e=h+i,d?(n=(new u).init(this,[s[i]].concat(S(l[i]))),n.dataGroup=this.groupMap[i]):(n=a[e])||void 0===o[e]||(a[e]=n=(new u).init(this,o[e],s[i])),n&&(n.index=e,f[i]=n);if(this.options.keys=r,a&&(c!==(t=a.length)||d))for(i=0;i<t;i++)i!==h||d||(i+=c),a[i]&&(a[i].destroyElements(),a[i].plotX=void 0);this.data=a,this.points=f},getExtremes:function(t){var e,n=this.yAxis,o=this.processedXData,a=[],s=0;e=this.xAxis.getExtremes();var l,u,c,h,d=e.min,f=e.max;for(t=t||this.stackedYData||this.processedYData||[],e=t.length,h=0;h<e;h++)if(u=o[h],c=t[h],l=(m(c,!0)||g(c))&&(!n.positiveValuesOnly||c.length||0<c),u=this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||(o[h]||u)>=d&&(o[h]||u)<=f,l&&u)if(l=c.length)for(;l--;)null!==c[l]&&(a[s++]=c[l]);else a[s++]=c;this.dataMin=r(a),this.dataMax=i(a)},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n,i,r=this.options,a=r.stacking,s=this.xAxis,l=s.categories,c=this.yAxis,h=this.points,d=h.length,f=!!this.modifyValue,p=r.pointPlacement,g="between"===p||m(p),v=r.threshold,y=r.startFromThreshold?v:0,b=Number.MAX_VALUE;for("between"===p&&(p=.5),m(p)&&(p*=x(r.pointRange||s.pointRange)),r=0;r<d;r++){var w=h[r],S=w.x,_=w.y;e=w.low;var C,M=a&&c.stacks[(this.negStacks&&_<(y?0:v)?"-":"")+this.stackKey];c.positiveValuesOnly&&null!==_&&0>=_&&(w.isNull=!0),w.plotX=t=o(Math.min(Math.max(-1e5,s.translate(S,0,0,0,1,p,"flags"===this.type)),1e5)),a&&this.visible&&!w.isNull&&M&&M[S]&&(i=this.getStackIndicator(i,S,this.index),C=M[S],_=C.points[i.key],e=_[0],_=_[1],e===y&&i.key===M[S].base&&(e=x(v,c.min)),c.positiveValuesOnly&&0>=e&&(e=null),w.total=w.stackTotal=C.total,w.percentage=C.total&&w.y/C.total*100,w.stackY=_,C.setOffset(this.pointXOffset||0,this.barW||0)),w.yBottom=u(e)?c.translate(e,0,1,0,1):null,f&&(_=this.modifyValue(_,w)),w.plotY=e="number"==typeof _&&1/0!==_?Math.min(Math.max(-1e5,c.translate(_,0,1,0,1)),1e5):void 0,w.isInside=void 0!==e&&0<=e&&e<=c.len&&0<=t&&t<=s.len,w.clientX=g?o(s.translate(S,0,0,0,1,p)):t,w.negative=w.y<(v||0),w.category=l&&void 0!==l[w.x]?l[w.x]:w.x,w.isNull||(void 0!==n&&(b=Math.min(b,Math.abs(t-n))),n=t),w.zone=this.zones.length&&w.getZone()}this.closestPointRangePx=b},getValidPoints:function(t,e){var n=this.chart;return p(t||this.points||[],function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,n.inverted))&&!t.isNull})},setClip:function(t){var e=this.chart,n=this.options,i=e.renderer,r=e.inverted,o=this.clipBox,a=o||e.clipBox,s=this.sharedClipKey||["_sharedClip",t&&t.duration,t&&t.easing,a.height,n.xAxis,n.yAxis].join(),l=e[s],u=e[s+"m"];l||(t&&(a.width=0,e[s+"m"]=u=i.clipRect(-99,r?-e.plotLeft:-e.plotTop,99,r?e.chartWidth:e.chartHeight)),e[s]=l=i.clipRect(a),l.count={length:0}),t&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),!1!==n.clip&&(this.group.clip(t||o?l:e.clipRect),this.markerGroup.clip(u),this.sharedClipKey=s),t||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&s&&e[s]&&(o||(e[s]=e[s].destroy()),e[s+"m"]&&(e[s+"m"]=e[s+"m"].destroy())))},animate:function(t){var e,i=this.chart,r=n(this.options.animation);t?this.setClip(r):(e=this.sharedClipKey,(t=i[e])&&t.animate({width:i.plotSizeX},r),i[e+"m"]&&i[e+"m"].animate({width:i.plotSizeX+99},r),this.animate=null)},afterAnimate:function(){this.setClip(),f(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var t,e,n,i,r,o,a,s,l=this.points,u=this.chart,c=this.options.marker,h=this[this.specialGroup]||this.markerGroup,d=x(c.enabled,!!this.xAxis.isRadial||null,this.closestPointRangePx>=2*c.radius);if(!1!==c.enabled||this._hasPointMarkers)for(e=0;e<l.length;e++)n=l[e],t=n.plotY,i=n.graphic,r=n.marker||{},o=!!n.marker,a=d&&void 0===r.enabled||r.enabled,s=n.isInside,a&&m(t)&&null!==n.y?(t=x(r.symbol,this.symbol),n.hasImage=0===t.indexOf("url"),a=this.markerAttribs(n,n.selected&&"select"),i?i[s?"show":"hide"](!0).animate(a):s&&(0<a.width||n.hasImage)&&(n.graphic=i=u.renderer.symbol(t,a.x,a.y,a.width,a.height,o?r:c).add(h)),i&&i.attr(this.pointAttribs(n,n.selected&&"select")),i&&i.addClass(n.getClassName(),!0)):i&&(n.graphic=i.destroy())},markerAttribs:function(t,e){var n=this.options.marker,i=t.marker||{},r=x(i.radius,n.radius);return e&&(n=n.states[e],e=i.states&&i.states[e],r=x(e&&e.radius,n&&n.radius,r+(n&&n.radiusPlus||0))),t.hasImage&&(r=0),t={x:Math.floor(t.plotX)-r,y:t.plotY-r},r&&(t.width=t.height=2*r),t},pointAttribs:function(t,e){var n=this.options.marker,i=t&&t.options,r=i&&i.marker||{},o=this.color,a=i&&i.color,s=t&&t.color,i=x(r.lineWidth,n.lineWidth);return t=t&&t.zone&&t.zone.color,o=a||t||s||o,t=r.fillColor||n.fillColor||o,o=r.lineColor||n.lineColor||o,e&&(n=n.states[e],e=r.states&&r.states[e]||{},i=x(e.lineWidth,n.lineWidth,i+x(e.lineWidthPlus,n.lineWidthPlus,0)),t=e.fillColor||n.fillColor||t,o=e.lineColor||n.lineColor||o),{stroke:o,"stroke-width":i,fill:t}},destroy:function(){var t,e,n,i,r=this,o=r.chart,a=/AppleWebKit\/533/.test(M.navigator.userAgent),s=r.data||[];for(f(r,"destroy"),w(r),c(r.axisTypes||[],function(t){(i=r[t])&&i.series&&(h(i.series,r),i.isDirty=i.forceRedraw=!0)}),r.legendItem&&r.chart.legend.destroyItem(r),e=s.length;e--;)(n=s[e])&&n.destroy&&n.destroy();r.points=null,clearTimeout(r.animationTimeout),b(r,function(e,n){e instanceof _&&!e.survive&&(t=a&&"group"===n?"hide":"destroy",e[t]())}),o.hoverSeries===r&&(o.hoverSeries=null),h(o.series,r),o.orderSeries(),b(r,function(t,e){delete r[e]})},getGraphPath:function(t,e,n){var i,r,o=this,a=o.options,s=a.step,l=[],h=[];return t=t||o.points,(i=t.reversed)&&t.reverse(),(s={right:1,center:2}[s]||s&&3)&&i&&(s=4-s),!a.connectNulls||e||n||(t=this.getValidPoints(t)),c(t,function(i,c){var d=i.plotX,f=i.plotY,p=t[c-1];(i.leftCliff||p&&p.rightCliff)&&!n&&(r=!0),i.isNull&&!u(e)&&0<c?r=!a.connectNulls:i.isNull&&!e?r=!0:(0===c||r?c=["M",i.plotX,i.plotY]:o.getPointSpline?c=o.getPointSpline(t,i,c):s?(c=1===s?["L",p.plotX,f]:2===s?["L",(p.plotX+d)/2,p.plotY,"L",(p.plotX+d)/2,f]:["L",d,p.plotY],c.push("L",d,f)):c=["L",d,f],h.push(i.x),s&&h.push(i.x),l.push.apply(l,c),r=!1)}),l.xMap=h,o.graphPath=l},drawGraph:function(){var t=this,e=this.options,n=(this.gappedPath||this.getGraphPath).call(this),i=[["graph","highcharts-graph",e.lineColor||this.color,e.dashStyle]];c(this.zones,function(n,r){i.push(["zone-graph-"+r,"highcharts-graph highcharts-zone-graph-"+r+" "+(n.className||""),n.color||t.color,n.dashStyle||e.dashStyle])}),c(i,function(i,r){var o=i[0],a=t[o];a?(a.endX=n.xMap,a.animate({d:n})):n.length&&(t[o]=t.chart.renderer.path(n).addClass(i[1]).attr({zIndex:1}).add(t.group),a={stroke:i[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},i[3]?a.dashstyle=i[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),a=t[o].attr(a).shadow(2>r&&e.shadow)),a&&(a.startX=n.xMap,a.isArea=n.isArea)})},applyZones:function(){var t,e,n,i,r,o,a,s,l,u=this,h=this.chart,d=h.renderer,f=this.zones,p=this.clips||[],g=this.graph,m=this.area,v=Math.max(h.chartWidth,h.chartHeight),y=this[(this.zoneAxis||"y")+"Axis"],b=h.inverted,w=!1;f.length&&(g||m)&&y&&void 0!==y.min&&(r=y.reversed,o=y.horiz,g&&g.hide(),m&&m.hide(),i=y.getExtremes(),c(f,function(c,f){t=r?o?h.plotWidth:0:o?0:y.toPixels(i.min),t=Math.min(Math.max(x(e,t),0),v),e=Math.min(Math.max(Math.round(y.toPixels(x(c.value,i.max),!0)),0),v),w&&(t=e=y.toPixels(i.max)),a=Math.abs(t-e),s=Math.min(t,e),l=Math.max(t,e),y.isXAxis?(n={x:b?l:s,y:0,width:a,height:v},o||(n.x=h.plotHeight-n.x)):(n={x:0,y:b?l:s,width:v,height:a},o&&(n.y=h.plotWidth-n.y)),b&&d.isVML&&(n=y.isXAxis?{x:0,y:r?s:l,height:n.width,width:h.chartWidth}:{x:n.y-h.plotLeft-h.spacingBox.x,y:0,width:n.height,height:h.chartHeight}),p[f]?p[f].animate(n):(p[f]=d.clipRect(n),g&&u["zone-graph-"+f].clip(p[f]),m&&u["zone-area-"+f].clip(p[f])),w=c.value>i.max}),this.clips=p)},invertGroups:function(t){function n(){c(["group","markerGroup"],function(e){r[e]&&(o.renderer.isVML&&r[e].attr({width:r.yAxis.len,height:r.xAxis.len}),r[e].width=r.yAxis.len,r[e].height=r.xAxis.len,r[e].invert(t))})}var i,r=this,o=r.chart;r.xAxis&&(i=e(o,"resize",n),e(r,"destroy",i),n(t),r.invertGroups=n)},plotGroup:function(t,e,n,i,r){var o=this[t],a=!o;return a&&(this[t]=o=this.chart.renderer.g().attr({zIndex:i||.1}).add(r)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series highcharts-color-"+this.colorIndex+" "+(this.options.className||""),!0),o.attr({visibility:n})[a?"attr":"animate"](this.getPlotBox()),o},getPlotBox:function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},render:function(){var t,e=this,i=e.chart,r=e.options,o=!!e.animate&&i.renderer.isSVG&&n(r.animation).duration,a=e.visible?"inherit":"hidden",s=r.zIndex,l=e.hasRendered,u=i.seriesGroup,c=i.inverted;t=e.plotGroup("group","series",a,s,u),e.markerGroup=e.plotGroup("markerGroup","markers",a,s,u),o&&e.animate(!0),t.inverted=!!e.isCartesian&&c,e.drawGraph&&(e.drawGraph(),e.applyZones()),e.drawDataLabels&&e.drawDataLabels(),e.visible&&e.drawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.invertGroups(c),!1===r.clip||e.sharedClipKey||l||t.clip(i.clipRect),o&&e.animate(),l||(e.animationTimeout=C(function(){e.afterAnimate()},o)),e.isDirty=!1,e.hasRendered=!0},redraw:function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,i=this.xAxis,r=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:x(i&&i.left,t.plotLeft),translateY:x(r&&r.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(t,e){var n=this.xAxis,i=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:r?i.len-t.chartX+i.pos:t.chartY-i.pos},e)},buildKDTree:function(){function t(n,i,r){var o,a;if(a=n&&n.length)return o=e.kdAxisArray[i%r],n.sort(function(t,e){return t[o]-e[o]}),a=Math.floor(a/2),{point:n[a],left:t(n.slice(0,a),i+1,r),right:t(n.slice(a+1),i+1,r)}}this.buildingKdTree=!0;var e=this,n=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,C(function(){e.kdTree=t(e.getValidPoints(null,!e.directTouch),n,n),e.buildingKdTree=!1},e.options.kdNow?0:1)},searchKDTree:function(t,e){function n(t,e,s,l){var c,h,d=e.point,f=i.kdAxisArray[s%l],p=d;return h=u(t[r])&&u(d[r])?Math.pow(t[r]-d[r],2):null,c=u(t[o])&&u(d[o])?Math.pow(t[o]-d[o],2):null,c=(h||0)+(c||0),d.dist=u(c)?Math.sqrt(c):Number.MAX_VALUE,d.distX=u(h)?Math.sqrt(h):Number.MAX_VALUE,f=t[f]-d[f],c=0>f?"left":"right",h=0>f?"right":"left",e[c]&&(c=n(t,e[c],s+1,l),p=c[a]<p[a]?c:d),e[h]&&Math.sqrt(f*f)<p[a]&&(t=n(t,e[h],s+1,l),p=t[a]<p[a]?t:p),p}var i=this,r=this.kdAxisArray[0],o=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<i.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(),this.kdTree)return n(t,this.kdTree,e,e)}})}(t),function(t){var e=t.Axis,n=t.Chart,i=t.correctFloat,r=t.defined,o=t.destroyObjectProperties,a=t.each,s=t.format,l=t.objectEach,u=t.pick,c=t.Series;t.StackItem=function(t,e,n,i,r){var o=t.chart.inverted;this.axis=t,this.isNegative=n,this.options=e,this.x=i,this.total=null,this.points={},this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?n?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":n?"bottom":"top"),y:u(e.y,o?4:n?14:-6),x:u(e.x,o?n?-6:6:0)},this.textAlign=e.textAlign||(o?n?"right":"left":"center")},t.StackItem.prototype={destroy:function(){o(this,this.axis)},render:function(t){var e=this.options,n=e.format,n=n?s(n,this):e.formatter.call(this);this.label?this.label.attr({text:n,visibility:"hidden"}):this.label=this.axis.chart.renderer.text(n,null,null,e.useHTML).css(e.style).attr({align:this.textAlign,rotation:e.rotation,visibility:"hidden"}).add(t)},setOffset:function(t,e){var n=this.axis,i=n.chart,r=n.translate(n.usePercentage?100:this.total,0,0,0,1),n=n.translate(0),n=Math.abs(r-n);t=i.xAxis[0].translate(this.x)+t,r=this.getStackBox(i,this,t,r,e,n),(e=this.label)&&(e.align(this.alignOptions,null,r),r=e.alignAttr,e[!1===this.options.crop||i.isInsidePlot(r.x,r.y)?"show":"hide"](!0))},getStackBox:function(t,e,n,i,r,o){var a=e.axis.reversed,s=t.inverted;return t=t.plotHeight,e=e.isNegative&&!a||!e.isNegative&&a,{x:s?e?i:i-o:n,y:s?t-n-r:e?t-i-o:t-i,width:s?o:r,height:s?r:o}}},n.prototype.getStacks=function(){var t=this;a(t.yAxis,function(t){t.stacks&&t.hasVisibleSeries&&(t.oldStacks=t.stacks)}),a(t.series,function(e){!e.options.stacking||!0!==e.visible&&!1!==t.options.chart.ignoreHiddenSeries||(e.stackKey=e.type+u(e.options.stack,""))})},e.prototype.buildStacks=function(){var t,e=this.series,n=u(this.options.reversedStacks,!0),i=e.length;if(!this.isXAxis){for(this.usePercentage=!1,t=i;t--;)e[n?t:i-t-1].setStackedPoints();if(this.usePercentage)for(t=0;t<i;t++)e[t].setPercentStacks()}},e.prototype.renderStackTotals=function(){var t=this.chart,e=t.renderer,n=this.stacks,i=this.stackTotalGroup;i||(this.stackTotalGroup=i=e.g("stack-labels").attr({visibility:"visible",zIndex:6}).add()),i.translate(t.plotLeft,t.plotTop),l(n,function(t){l(t,function(t){t.render(i)})})},e.prototype.resetStacks=function(){var t=this,e=t.stacks;t.isXAxis||l(e,function(e){l(e,function(n,i){n.touched<t.stacksTouched?(n.destroy(),delete e[i]):(n.total=null,n.cum=null)})})},e.prototype.cleanStacks=function(){var t;this.isXAxis||(this.oldStacks&&(t=this.stacks=this.oldStacks),l(t,function(t){l(t,function(t){t.cum=t.total})}))},c.prototype.setStackedPoints=function(){if(this.options.stacking&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var e,n,o,a,s,l,c,h=this.processedXData,d=this.processedYData,f=[],p=d.length,g=this.options,m=g.threshold,v=g.startFromThreshold?m:0,y=g.stack,g=g.stacking,b=this.stackKey,x="-"+b,w=this.negStacks,S=this.yAxis,_=S.stacks,C=S.oldStacks;for(S.stacksTouched+=1,s=0;s<p;s++)l=h[s],c=d[s],e=this.getStackIndicator(e,l,this.index),a=e.key,o=(n=w&&c<(v?0:m))?x:b,_[o]||(_[o]={}),_[o][l]||(C[o]&&C[o][l]?(_[o][l]=C[o][l],_[o][l].total=null):_[o][l]=new t.StackItem(S,S.options.stackLabels,n,l,y)),o=_[o][l],null!==c&&(o.points[a]=o.points[this.index]=[u(o.cum,v)],r(o.cum)||(o.base=a),o.touched=S.stacksTouched,0<e.index&&!1===this.singleStacks&&(o.points[a][0]=o.points[this.index+","+l+",0"][0])),"percent"===g?(n=n?b:x,w&&_[n]&&_[n][l]?(n=_[n][l],o.total=n.total=Math.max(n.total,o.total)+Math.abs(c)||0):o.total=i(o.total+(Math.abs(c)||0))):o.total=i(o.total+(c||0)),o.cum=u(o.cum,v)+(c||0),null!==c&&(o.points[a].push(o.cum),f[s]=o.cum);"percent"===g&&(S.usePercentage=!0),this.stackedYData=f,S.oldStacks={}}},c.prototype.setPercentStacks=function(){var t,e=this,n=e.stackKey,r=e.yAxis.stacks,o=e.processedXData;a([n,"-"+n],function(n){for(var a,s,l=o.length;l--;)a=o[l],t=e.getStackIndicator(t,a,e.index,n),(a=(s=r[n]&&r[n][a])&&s.points[t.key])&&(s=s.total?100/s.total:0,a[0]=i(a[0]*s),a[1]=i(a[1]*s),e.stackedYData[l]=a[1])})},c.prototype.getStackIndicator=function(t,e,n,i){return!r(t)||t.x!==e||i&&t.key!==i?t={x:e,index:0,key:i}:t.index++,t.key=[n,e,t.index].join(),t}}(t),function(t){var e=t.addEvent,n=t.animate,i=t.Axis,r=t.createElement,o=t.css,a=t.defined,s=t.each,l=t.erase,u=t.extend,c=t.fireEvent,h=t.inArray,d=t.isNumber,f=t.isObject,p=t.isArray,g=t.merge,m=t.objectEach,v=t.pick,y=t.Point,b=t.Series,x=t.seriesTypes,w=t.setAnimation,S=t.splat;u(t.Chart.prototype,{addSeries:function(t,e,n){var i,r=this;return t&&(e=v(e,!0),c(r,"addSeries",{options:t},function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),e&&r.redraw(n)})),i},addAxis:function(t,e,n,r){var o=e?"xAxis":"yAxis",a=this.options;return t=g(t,{index:this[o].length,isX:e}),e=new i(this,t),a[o]=S(a[o]||{}),a[o].push(t),v(n,!0)&&this.redraw(r),e},showLoading:function(t){var i=this,a=i.options,s=i.loadingDiv,l=a.loading,c=function(){s&&o(s,{left:i.plotLeft+"px",top:i.plotTop+"px",width:i.plotWidth+"px",height:i.plotHeight+"px"})};s||(i.loadingDiv=s=r("div",{className:"highcharts-loading highcharts-loading-hidden"},null,i.container),i.loadingSpan=r("span",{className:"highcharts-loading-inner"},null,s),e(i,"redraw",c)),s.className="highcharts-loading",i.loadingSpan.innerHTML=t||a.lang.loading,o(s,u(l.style,{zIndex:10})),o(i.loadingSpan,l.labelStyle),i.loadingShown||(o(s,{opacity:0,display:""}),n(s,{opacity:l.style.opacity||.5},{duration:l.showDuration||0})),i.loadingShown=!0,c()},hideLoading:function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",n(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){o(e,{display:"none"})}})),this.loadingShown=!1},propsRequireDirtyBox:"backgroundColor borderColor borderWidth margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions tooltip".split(" "),update:function(t,e,n){var i,r,o=this,l={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle"},u=t.chart,c=[];u&&(g(!0,o.options.chart,u),"className"in u&&o.setClassName(u.className),("inverted"in u||"polar"in u)&&(o.propFromSeries(),i=!0),"alignTicks"in u&&(i=!0),m(u,function(t,e){-1!==h("chart."+e,o.propsRequireUpdateSeries)&&(r=!0),-1!==h(e,o.propsRequireDirtyBox)&&(o.isDirtyBox=!0)}),"style"in u&&o.renderer.setStyle(u.style)),t.colors&&(this.options.colors=t.colors),t.plotOptions&&g(!0,this.options.plotOptions,t.plotOptions),m(t,function(t,e){o[e]&&"function"==typeof o[e].update?o[e].update(t,!1):"function"==typeof o[l[e]]&&o[l[e]](t),"chart"!==e&&-1!==h(e,o.propsRequireUpdateSeries)&&(r=!0)}),s("xAxis yAxis zAxis series colorAxis pane".split(" "),function(e){t[e]&&(s(S(t[e]),function(t,i){(i=a(t.id)&&o.get(t.id)||o[e][i])&&i.coll===e&&(i.update(t,!1),n&&(i.touched=!0)),!i&&n&&("series"===e?o.addSeries(t,!1).touched=!0:"xAxis"!==e&&"yAxis"!==e||(o.addAxis(t,"xAxis"===e,!1).touched=!0))}),n&&s(o[e],function(t){t.touched?delete t.touched:c.push(t)}))}),s(c,function(t){t.remove(!1)}),i&&s(o.axes,function(t){t.update({},!1)}),r&&s(o.series,function(t){t.update({},!1)}),t.loading&&g(!0,o.options.loading,t.loading),i=u&&u.width,u=u&&u.height,d(i)&&i!==o.chartWidth||d(u)&&u!==o.chartHeight?o.setSize(i,u):v(e,!0)&&o.redraw()},setSubtitle:function(t){this.setTitle(void 0,t)}}),u(y.prototype,{update:function(t,e,n,i){function r(){a.applyOptions(t),null===a.y&&l&&(a.graphic=l.destroy()),f(t,!0)&&(l&&l.element&&t&&t.marker&&void 0!==t.marker.symbol&&(a.graphic=l.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy())),o=a.index,s.updateParallelArrays(a,o),c.data[o]=f(c.data[o],!0)||f(t,!0)?a.options:t,s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(u.isDirtyBox=!0),"point"===c.legendType&&(u.isDirtyLegend=!0),e&&u.redraw(n)}var o,a=this,s=a.series,l=a.graphic,u=s.chart,c=s.options;e=v(e,!0),!1===i?r():a.firePointEvent("update",{options:t},r)},remove:function(t,e){this.series.removePoint(h(this,this.series.data),t,e)}}),u(b.prototype,{addPoint:function(t,e,n,i){var r,o,a,s,l=this.options,u=this.data,c=this.chart,h=this.xAxis,h=h&&h.hasNames&&h.names,d=l.data,f=this.xData;if(e=v(e,!0),r={series:this},this.pointClass.prototype.applyOptions.apply(r,[t]),s=r.x,a=f.length,this.requireSorting&&s<f[a-1])for(o=!0;a&&f[a-1]>s;)a--;this.updateParallelArrays(r,"splice",a,0,0),this.updateParallelArrays(r,a),h&&r.name&&(h[s]=r.name),d.splice(a,0,t),o&&(this.data.splice(a,0,null),this.processData()),"point"===l.legendType&&this.generatePoints(),n&&(u[0]&&u[0].remove?u[0].remove(!1):(u.shift(),this.updateParallelArrays(r,"shift"),d.shift())),this.isDirtyData=this.isDirty=!0,e&&c.redraw(i)},removePoint:function(t,e,n){var i=this,r=i.data,o=r[t],a=i.points,s=i.chart,l=function(){a&&a.length===r.length&&a.splice(t,1),r.splice(t,1),i.options.data.splice(t,1),i.updateParallelArrays(o||{series:i},"splice",t,1),o&&o.destroy(),i.isDirty=!0,i.isDirtyData=!0,e&&s.redraw()};w(n,s),e=v(e,!0),o?o.firePointEvent("remove",null,l):l()},remove:function(t,e,n){function i(){r.destroy(),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),v(t,!0)&&o.redraw(e)}var r=this,o=r.chart;!1!==n?c(r,"remove",null,i):i()},update:function(t,e){var n,i=this,r=i.chart,o=i.userOptions,a=i.oldType||i.type,l=t.type||o.type||r.options.chart.type,c=x[a].prototype,h=["group","markerGroup","dataLabelsGroup","navigatorSeries","baseSeries"],d=i.finishedAnimating&&{animation:!1};if(Object.keys&&"data"===Object.keys(t).toString())return this.setData(t.data,e);(l&&l!==a||void 0!==t.zIndex)&&(h.length=0),s(h,function(t){h[t]=i[t],delete i[t]}),t=g(o,d,{index:i.index,pointStart:i.xData[0]},{data:i.options.data},t),i.remove(!1,null,!1);for(n in c)i[n]=void 0;u(i,x[l||a].prototype),s(h,function(t){i[t]=h[t]}),i.init(r,t),i.oldType=a,r.linkSeries(),v(e,!0)&&r.redraw(!1)}}),u(i.prototype,{update:function(t,e){var n=this.chart;t=n.options[this.coll][this.options.index]=g(this.userOptions,t),this.destroy(!0),this.init(n,u(t,{events:void 0})),n.isDirtyBox=!0,v(e,!0)&&n.redraw()},remove:function(t){for(var e=this.chart,n=this.coll,i=this.series,r=i.length;r--;)i[r]&&i[r].remove(!1);l(e.axes,this),l(e[n],this),p(e.options[n])?e.options[n].splice(this.options.index,1):delete e.options[n],s(e[n],function(t,e){t.options.index=e}),this.destroy(),e.isDirtyBox=!0,v(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}})}(t),function(t){var e=t.color,n=t.each,i=t.map,r=t.pick,o=t.Series,a=t.seriesType;a("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(e){var o,a,s=[],l=[],u=this.xAxis,c=this.yAxis,h=c.stacks[this.stackKey],d={},f=this.index,p=c.series,g=p.length,m=r(c.options.reversedStacks,!0)?1:-1; 29 if(e=e||this.points,this.options.stacking){for(a=0;a<e.length;a++)d[e[a].x]=e[a];t.objectEach(h,function(t,e){null!==t.total&&l.push(e)}),l.sort(function(t,e){return t-e}),o=i(p,function(){return this.visible}),n(l,function(t,e){var i,r,p=0;if(d[t]&&!d[t].isNull)s.push(d[t]),n([-1,1],function(n){var s=1===n?"rightNull":"leftNull",u=0,c=h[l[e+n]];if(c)for(a=f;0<=a&&a<g;)i=c.points[a],i||(a===f?d[t][s]=!0:o[a]&&(r=h[t].points[a])&&(u-=r[1]-r[0])),a+=m;d[t][1===n?"rightCliff":"leftCliff"]=u});else{for(a=f;0<=a&&a<g;){if(i=h[t].points[a]){p=i[1];break}a+=m}p=c.translate(p,0,1,0,1),s.push({isNull:!0,plotX:u.translate(t,0,0,0,1),x:t,plotY:p,yBottom:p})}})}return s},getGraphPath:function(t){var e,n,i,a,s=o.prototype.getGraphPath,l=this.options,u=l.stacking,c=this.yAxis,h=[],d=[],f=this.index,p=c.stacks[this.stackKey],g=l.threshold,m=c.getThreshold(l.threshold),l=l.connectNulls||"percent"===u,v=function(e,n,r){var o=t[e];e=u&&p[o.x].points[f];var a=o[r+"Null"]||0;r=o[r+"Cliff"]||0;var s,l,o=!0;r||a?(s=(a?e[0]:e[1])+r,l=e[0]+r,o=!!a):!u&&t[n]&&t[n].isNull&&(s=l=g),void 0!==s&&(d.push({plotX:i,plotY:null===s?m:c.getThreshold(s),isNull:o,isCliff:!0}),h.push({plotX:i,plotY:null===l?m:c.getThreshold(l),doCurve:!1}))};for(t=t||this.points,u&&(t=this.getStackPoints(t)),e=0;e<t.length;e++)n=t[e].isNull,i=r(t[e].rectPlotX,t[e].plotX),a=r(t[e].yBottom,m),(!n||l)&&(l||v(e,e-1,"left"),n&&!u&&l||(d.push(t[e]),h.push({x:e,plotX:i,plotY:a})),l||v(e,e+1,"right"));return e=s.call(this,d,!0,!0),h.reversed=!0,n=s.call(this,h,!0,!0),n.length&&(n[0]="L"),n=e.concat(n),s=s.call(this,d,!1,l),n.xMap=e.xMap,this.areaPath=n,s},drawGraph:function(){this.areaPath=[],o.prototype.drawGraph.apply(this);var t=this,i=this.areaPath,a=this.options,s=[["area","highcharts-area",this.color,a.fillColor]];n(this.zones,function(e,n){s.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+e.className,e.color||t.color,e.fillColor||a.fillColor])}),n(s,function(n){var o=n[0],s=t[o];s?(s.endX=i.xMap,s.animate({d:i})):(s=t[o]=t.chart.renderer.path(i).addClass(n[1]).attr({fill:r(n[3],e(n[2]).setOpacity(r(a.fillOpacity,.75)).get()),zIndex:0}).add(t.group),s.isArea=!0),s.startX=i.xMap,s.shiftUnit=a.step?2:1})},drawLegendSymbol:t.LegendSymbolMixin.drawRectangle})}(t),function(t){var e=t.pick;(t=t.seriesType)("spline","line",{},{getPointSpline:function(t,n,i){var r=n.plotX,o=n.plotY,a=t[i-1];i=t[i+1];var s,l,u,c;if(a&&!a.isNull&&!1!==a.doCurve&&!n.isCliff&&i&&!i.isNull&&!1!==i.doCurve&&!n.isCliff){t=a.plotY,u=i.plotX,i=i.plotY;var h=0;s=(1.5*r+a.plotX)/2.5,l=(1.5*o+t)/2.5,u=(1.5*r+u)/2.5,c=(1.5*o+i)/2.5,u!==s&&(h=(c-l)*(u-r)/(u-s)+o-c),l+=h,c+=h,l>t&&l>o?(l=Math.max(t,o),c=2*o-l):l<t&&l<o&&(l=Math.min(t,o),c=2*o-l),c>i&&c>o?(c=Math.max(i,o),l=2*o-c):c<i&&c<o&&(c=Math.min(i,o),l=2*o-c),n.rightContX=u,n.rightContY=c}return n=["C",e(a.rightContX,a.plotX),e(a.rightContY,a.plotY),e(s,r),e(l,o),r,o],a.rightContX=a.rightContY=null,n}})}(t),function(t){var e=t.seriesTypes.area.prototype,n=t.seriesType;n("areaspline","spline",t.defaultPlotOptions.area,{getStackPoints:e.getStackPoints,getGraphPath:e.getGraphPath,drawGraph:e.drawGraph,drawLegendSymbol:t.LegendSymbolMixin.drawRectangle})}(t),function(t){var e=t.animObject,n=t.color,i=t.each,r=t.extend,o=t.isNumber,a=t.merge,s=t.pick,l=t.Series,u=t.seriesType,c=t.svg;u("column","line",{borderRadius:0,crisp:!0,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1,shadow:!1},select:{color:"#cccccc",borderColor:"#000000",shadow:!1}},dataLabels:{align:null,verticalAlign:null,y:null},softThreshold:!1,startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"},{cropShoulder:0,directTouch:!0,trackerGroups:["group","dataLabelsGroup"],negStacks:!0,init:function(){l.prototype.init.apply(this,arguments);var t=this,e=t.chart;e.hasRendered&&i(e.series,function(e){e.type===t.type&&(e.isDirty=!0)})},getColumnMetrics:function(){var t,e=this,n=e.options,r=e.xAxis,o=e.yAxis,a=r.reversed,l={},u=0;!1===n.grouping?u=1:i(e.chart.series,function(n){var i,r=n.options,a=n.yAxis;n.type!==e.type||!n.visible&&e.chart.options.chart.ignoreHiddenSeries||o.len!==a.len||o.pos!==a.pos||(r.stacking?(t=n.stackKey,void 0===l[t]&&(l[t]=u++),i=l[t]):!1!==r.grouping&&(i=u++),n.columnIndex=i)});var c=Math.min(Math.abs(r.transA)*(r.ordinalSlope||n.pointRange||r.closestPointRange||r.tickInterval||1),r.len),h=c*n.groupPadding,d=(c-2*h)/(u||1),n=Math.min(n.maxPointWidth||r.len,s(n.pointWidth,d*(1-2*n.pointPadding)));return e.columnMetrics={width:n,offset:(d-n)/2+(h+((e.columnIndex||0)+(a?1:0))*d-c/2)*(a?-1:1)},e.columnMetrics},crispCol:function(t,e,n,i){var r=this.chart,o=this.borderWidth,a=-(o%2?.5:0),o=o%2?.5:1;return r.inverted&&r.renderer.isVML&&(o+=1),this.options.crisp&&(n=Math.round(t+n)+a,t=Math.round(t)+a,n-=t),i=Math.round(e+i)+o,a=.5>=Math.abs(e)&&.5<i,e=Math.round(e)+o,i-=e,a&&i&&(--e,i+=1),{x:t,y:e,width:n,height:i}},translate:function(){var t=this,e=t.chart,n=t.options,r=t.dense=2>t.closestPointRange*t.xAxis.transA,r=t.borderWidth=s(n.borderWidth,r?0:1),o=t.yAxis,a=t.translatedThreshold=o.getThreshold(n.threshold),u=s(n.minPointLength,5),c=t.getColumnMetrics(),h=c.width,d=t.barW=Math.max(h,1+2*r),f=t.pointXOffset=c.offset;e.inverted&&(a-=.5),n.pointPadding&&(d=Math.ceil(d)),l.prototype.translate.apply(t),i(t.points,function(n){var i,r=s(n.yBottom,a),l=999+Math.abs(r),l=Math.min(Math.max(-l,n.plotY),o.len+l),c=n.plotX+f,p=d,g=Math.min(l,r),m=Math.max(l,r)-g;Math.abs(m)<u&&u&&(m=u,i=!o.reversed&&!n.negative||o.reversed&&n.negative,g=Math.abs(g-a)>u?r-u:a-(i?u:0)),n.barX=c,n.pointWidth=h,n.tooltipPos=e.inverted?[o.len+o.pos-e.plotLeft-l,t.xAxis.len-c-p/2,m]:[c+p/2,l+o.pos-e.plotTop,m],n.shapeType="rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[c,a,p,0]:[c,g,p,m])})},getSymbol:t.noop,drawLegendSymbol:t.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(t,e){var i,r=this.options,o=this.pointAttrToOptions||{};i=o.stroke||"borderColor";var s=o["stroke-width"]||"borderWidth",l=t&&t.color||this.color,u=t[i]||r[i]||this.color||l,c=t[s]||r[s]||this[s]||0,o=r.dashStyle;return t&&this.zones.length&&(l=t.getZone(),l=t.options.color||l&&l.color||this.color),e&&(t=a(r.states[e],t.options.states&&t.options.states[e]||{}),e=t.brightness,l=t.color||void 0!==e&&n(l).brighten(t.brightness).get()||l,u=t[i]||u,c=t[s]||c,o=t.dashStyle||o),i={fill:l,stroke:u,"stroke-width":c},o&&(i.dashstyle=o),i},drawPoints:function(){var t,e=this,n=this.chart,r=e.options,s=n.renderer,l=r.animationLimit||250;i(e.points,function(i){var u=i.graphic;o(i.plotY)&&null!==i.y?(t=i.shapeArgs,u?u[n.pointCount<l?"animate":"attr"](a(t)):i.graphic=u=s[i.shapeType](t).add(i.group||e.group),r.borderRadius&&u.attr({r:r.borderRadius}),u.attr(e.pointAttribs(i,i.selected&&"select")).shadow(r.shadow,null,r.stacking&&!r.borderRadius),u.addClass(i.getClassName(),!0)):u&&(i.graphic=u.destroy())})},animate:function(t){var n=this,i=this.yAxis,o=n.options,a=this.chart.inverted,s={};c&&(t?(s.scaleY=.001,t=Math.min(i.pos+i.len,Math.max(i.pos,i.toPixels(o.threshold))),a?s.translateX=t-i.len:s.translateY=t,n.group.attr(s)):(s[a?"translateX":"translateY"]=i.pos,n.group.animate(s,r(e(n.options.animation),{step:function(t,e){n.group.attr({scaleY:Math.max(.001,e.pos)})}})),n.animate=null))},remove:function(){var t=this,e=t.chart;e.hasRendered&&i(e.series,function(e){e.type===t.type&&(e.isDirty=!0)}),l.prototype.remove.apply(t,arguments)}})}(t),function(t){(t=t.seriesType)("bar","column",null,{inverted:!0})}(t),function(t){var e=t.Series;(t=t.seriesType)("scatter","line",{lineWidth:0,findNearestPointBy:"xy",marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.85em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&e.prototype.drawGraph.call(this)}})}(t),function(t){var e=t.pick,n=t.relativeLength;t.CenteredSeriesMixin={getCenter:function(){var t,i,r=this.options,o=this.chart,a=2*(r.slicedOffset||0),s=o.plotWidth-2*a,o=o.plotHeight-2*a,l=r.center,l=[e(l[0],"50%"),e(l[1],"50%"),r.size||"100%",r.innerSize||0],u=Math.min(s,o);for(t=0;4>t;++t)i=l[t],r=2>t||2===t&&/%$/.test(i),l[t]=n(i,[s,o,u,l[2]][t])+(r?a:0);return l[3]>l[2]&&(l[3]=l[2]),l}}}(t),function(t){var e=t.addEvent,n=t.defined,i=t.each,r=t.extend,o=t.inArray,a=t.noop,s=t.pick,l=t.Point,u=t.Series,c=t.seriesType,h=t.setAnimation;c("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,states:{hover:{brightness:.1,shadow:!1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:t.seriesTypes.column.prototype.pointAttribs,animate:function(t){var e=this,n=e.points,r=e.startAngleRad;t||(i(n,function(t){var n=t.graphic,i=t.shapeArgs;n&&(n.attr({r:t.startR||e.center[3]/2,start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},e.options.animation))}),e.animate=null)},updateTotals:function(){var t,e,n=0,i=this.points,r=i.length,o=this.options.ignoreHiddenPoint;for(t=0;t<r;t++)e=i[t],n+=o&&!e.visible?0:e.isNull?0:e.y;for(this.total=n,t=0;t<r;t++)e=i[t],e.percentage=0<n&&(e.visible||!o)?e.y/n*100:0,e.total=n},generatePoints:function(){u.prototype.generatePoints.call(this),this.updateTotals()},translate:function(t){this.generatePoints();var e,n,i,r,o,a,l=0,u=this.options,c=u.slicedOffset,h=c+(u.borderWidth||0),d=u.startAngle||0,f=this.startAngleRad=Math.PI/180*(d-90),d=(this.endAngleRad=Math.PI/180*(s(u.endAngle,d+360)-90))-f,p=this.points,g=u.dataLabels.distance,u=u.ignoreHiddenPoint,m=p.length;for(t||(this.center=t=this.getCenter()),this.getX=function(e,n,r){return i=Math.asin(Math.min((e-t[1])/(t[2]/2+r.labelDistance),1)),t[0]+(n?-1:1)*Math.cos(i)*(t[2]/2+r.labelDistance)},o=0;o<m;o++)a=p[o],a.labelDistance=s(a.options.dataLabels&&a.options.dataLabels.distance,g),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,a.labelDistance),e=f+l*d,u&&!a.visible||(l+=a.percentage/100),n=f+l*d,a.shapeType="arc",a.shapeArgs={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*e)/1e3,end:Math.round(1e3*n)/1e3},i=(n+e)/2,i>1.5*Math.PI?i-=2*Math.PI:i<-Math.PI/2&&(i+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(i)*c),translateY:Math.round(Math.sin(i)*c)},n=Math.cos(i)*t[2]/2,r=Math.sin(i)*t[2]/2,a.tooltipPos=[t[0]+.7*n,t[1]+.7*r],a.half=i<-Math.PI/2||i>Math.PI/2?1:0,a.angle=i,e=Math.min(h,a.labelDistance/5),a.labelPos=[t[0]+n+Math.cos(i)*a.labelDistance,t[1]+r+Math.sin(i)*a.labelDistance,t[0]+n+Math.cos(i)*e,t[1]+r+Math.sin(i)*e,t[0]+n,t[1]+r,0>a.labelDistance?"center":a.half?"right":"left",i]},drawGraph:null,drawPoints:function(){var t,e,n,o,a=this,s=a.chart.renderer,l=a.options.shadow;l&&!a.shadowGroup&&(a.shadowGroup=s.g("shadow").add(a.group)),i(a.points,function(i){if(!i.isNull){e=i.graphic,o=i.shapeArgs,t=i.getTranslate();var u=i.shadowGroup;l&&!u&&(u=i.shadowGroup=s.g("shadow").add(a.shadowGroup)),u&&u.attr(t),n=a.pointAttribs(i,i.selected&&"select"),e?e.setRadialReference(a.center).attr(n).animate(r(o,t)):(i.graphic=e=s[i.shapeType](o).setRadialReference(a.center).attr(t).add(a.group),i.visible||e.attr({visibility:"hidden"}),e.attr(n).attr({"stroke-linejoin":"round"}).shadow(l,u)),e.addClass(i.getClassName())}})},searchPoint:a,sortByAngle:function(t,e){t.sort(function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e})},drawLegendSymbol:t.LegendSymbolMixin.drawRectangle,getCenter:t.CenteredSeriesMixin.getCenter,getSymbol:a},{init:function(){l.prototype.init.apply(this,arguments);var t,n=this;return n.name=s(n.name,"Slice"),t=function(t){n.slice("select"===t.type)},e(n,"select",t),e(n,"unselect",t),n},isValid:function(){return t.isNumber(this.y,!0)&&0<=this.y},setVisible:function(t,e){var n=this,r=n.series,a=r.chart,l=r.options.ignoreHiddenPoint;e=s(e,l),t!==n.visible&&(n.visible=n.options.visible=t=void 0===t?!n.visible:t,r.options.data[o(n,r.data)]=n.options,i(["graphic","dataLabel","connector","shadowGroup"],function(e){n[e]&&n[e][t?"show":"hide"](!0)}),n.legendItem&&a.legend.colorizeItem(n,t),t||"hover"!==n.state||n.setState(""),l&&(r.isDirty=!0),e&&a.redraw())},slice:function(t,e,i){var r=this.series;h(i,r.chart),s(e,!0),this.sliced=this.options.sliced=n(t)?t:!this.sliced,r.options.data[o(this,r.data)]=this.options,this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:this.shapeArgs.r,start:e.start,end:e.end})}})}(t),function(t){var e=t.addEvent,n=t.arrayMax,i=t.defined,r=t.each,o=t.extend,a=t.format,s=t.map,l=t.merge,u=t.noop,c=t.pick,h=t.relativeLength,d=t.Series,f=t.seriesTypes,p=t.stableSort;t.distribute=function(t,e){function n(t,e){return t.target-e.target}var i,o,a=!0,l=t,u=[];for(o=0,i=t.length;i--;)o+=t[i].size;if(o>e){for(p(t,function(t,e){return(e.rank||0)-(t.rank||0)}),o=i=0;o<=e;)o+=t[i].size,i++;u=t.splice(i-1,t.length)}for(p(t,n),t=s(t,function(t){return{size:t.size,targets:[t.target]}});a;){for(i=t.length;i--;)a=t[i],o=(Math.min.apply(0,a.targets)+Math.max.apply(0,a.targets))/2,a.pos=Math.min(Math.max(0,o-a.size/2),e-a.size);for(i=t.length,a=!1;i--;)0<i&&t[i-1].pos+t[i-1].size>t[i].pos&&(t[i-1].size+=t[i].size,t[i-1].targets=t[i-1].targets.concat(t[i].targets),t[i-1].pos+t[i-1].size>e&&(t[i-1].pos=e-t[i-1].size),t.splice(i,1),a=!0)}i=0,r(t,function(t){var e=0;r(t.targets,function(){l[i].pos=t.pos+e,e+=l[i].size,i++})}),l.push.apply(l,u),p(l,n)},d.prototype.drawDataLabels=function(){var n,o,s,u,h=this,d=h.options,f=d.dataLabels,p=h.points,g=h.hasRendered||0,m=c(f.defer,!!d.animation),v=h.chart.renderer;(f.enabled||h._hasPointLabels)&&(h.dlProcessOptions&&h.dlProcessOptions(f),u=h.plotGroup("dataLabelsGroup","data-labels",m&&!g?"hidden":"visible",f.zIndex||6),m&&(u.attr({opacity:+g}),g||e(h,"afterAnimate",function(){h.visible&&u.show(!0),u[d.animation?"animate":"attr"]({opacity:1},{duration:200})})),o=f,r(p,function(e){var r,p,g,m,y=e.dataLabel,b=e.connector,x=!y;n=e.dlOptions||e.options&&e.options.dataLabels,(r=c(n&&n.enabled,o.enabled)&&null!==e.y)&&(f=l(o,n),p=e.getLabelConfig(),s=f.format?a(f.format,p):f.formatter.call(p,f),m=f.style,p=f.rotation,m.color=c(f.color,m.color,h.color,"#000000"),"contrast"===m.color&&(e.contrastColor=v.getContrast(e.color||h.color),m.color=f.inside||0>c(e.labelDistance,f.distance)||d.stacking?e.contrastColor:"#000000"),d.cursor&&(m.cursor=d.cursor),g={fill:f.backgroundColor,stroke:f.borderColor,"stroke-width":f.borderWidth,r:f.borderRadius||0,rotation:p,padding:f.padding,zIndex:1},t.objectEach(g,function(t,e){void 0===t&&delete g[e]})),!y||r&&i(s)?r&&i(s)&&(y?g.text=s:(y=e.dataLabel=v[p?"text":"label"](s,0,-9999,f.shape,null,null,f.useHTML,null,"data-label"),y.addClass("highcharts-data-label-color-"+e.colorIndex+" "+(f.className||"")+(f.useHTML?"highcharts-tracker":""))),y.attr(g),y.css(m).shadow(f.shadow),y.added||y.add(u),h.alignDataLabel(e,y,f,null,x)):(e.dataLabel=y=y.destroy(),b&&(e.connector=b.destroy()))}))},d.prototype.alignDataLabel=function(t,e,n,i,r){var a,s=this.chart,l=s.inverted,u=c(t.plotX,-9999),h=c(t.plotY,-9999),d=e.getBBox(),f=n.rotation,p=n.align,g=this.visible&&(t.series.forceDL||s.isInsidePlot(u,Math.round(h),l)||i&&s.isInsidePlot(u,l?i.x+1:i.y+i.height-1,l)),m="justify"===c(n.overflow,"justify");g&&(a=n.style.fontSize,a=s.renderer.fontMetrics(a,e).b,i=o({x:l?this.yAxis.len-h:u,y:Math.round(l?this.xAxis.len-u:h),width:0,height:0},i),o(n,{width:d.width,height:d.height}),f?(m=!1,u=s.renderer.rotCorr(a,f),u={x:i.x+n.x+i.width/2+u.x,y:i.y+n.y+{top:0,middle:.5,bottom:1}[n.verticalAlign]*i.height},e[r?"attr":"animate"](u).attr({align:p}),h=(f+720)%360,h=180<h&&360>h,"left"===p?u.y-=h?d.height:0:"center"===p?(u.x-=d.width/2,u.y-=d.height/2):"right"===p&&(u.x-=d.width,u.y-=h?0:d.height)):(e.align(n,null,i),u=e.alignAttr),m?t.isLabelJustified=this.justifyDataLabel(e,n,u,d,i,r):c(n.crop,!0)&&(g=s.isInsidePlot(u.x,u.y)&&s.isInsidePlot(u.x+d.width,u.y+d.height)),n.shape&&!f)&&e[r?"attr":"animate"]({anchorX:l?s.plotWidth-t.plotY:t.plotX,anchorY:l?s.plotHeight-t.plotX:t.plotY}),g||(e.attr({y:-9999}),e.placed=!1)},d.prototype.justifyDataLabel=function(t,e,n,i,r,o){var a,s,l=this.chart,u=e.align,c=e.verticalAlign,h=t.box?0:t.padding||0;return a=n.x+h,0>a&&("right"===u?e.align="left":e.x=-a,s=!0),a=n.x+i.width-h,a>l.plotWidth&&("left"===u?e.align="right":e.x=l.plotWidth-a,s=!0),a=n.y+h,0>a&&("bottom"===c?e.verticalAlign="top":e.y=-a,s=!0),a=n.y+i.height-h,a>l.plotHeight&&("top"===c?e.verticalAlign="bottom":e.y=l.plotHeight-a,s=!0),s&&(t.placed=!o,t.align(e,null,r)),s},f.pie&&(f.pie.prototype.drawDataLabels=function(){var e,o,a,s,l,u,h,f,p,g,m=this,v=m.data,y=m.chart,b=m.options.dataLabels,x=c(b.connectorPadding,10),w=c(b.connectorWidth,1),S=y.plotWidth,_=y.plotHeight,C=m.center,M=C[2]/2,k=C[1],T=[[],[]],D=[0,0,0,0];m.visible&&(b.enabled||m._hasPointLabels)&&(r(v,function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)}),d.prototype.drawDataLabels.apply(m),r(v,function(t){t.dataLabel&&t.visible&&(T[t.half].push(t),t.dataLabel._pos=null)}),r(T,function(n,o){var d,v,w,T=n.length,A=[];if(T)for(m.sortByAngle(n,o-.5),0<m.maxLabelDistance&&(d=Math.max(0,k-M-m.maxLabelDistance),v=Math.min(k+M+m.maxLabelDistance,y.plotHeight),r(n,function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,k-M-t.labelDistance),t.bottom=Math.min(k+M+t.labelDistance,y.plotHeight),w=t.dataLabel.getBBox().height||21,t.positionsIndex=A.push({target:t.labelPos[1]-t.top+w/2,size:w,rank:t.y})-1)}),t.distribute(A,v+w-d)),g=0;g<T;g++)e=n[g],v=e.positionsIndex,l=e.labelPos,a=e.dataLabel,p=!1===e.visible?"hidden":"inherit",d=l[1],A&&i(A[v])?void 0===A[v].pos?p="hidden":(u=A[v].size,f=e.top+A[v].pos):f=d,delete e.positionIndex,h=b.justify?C[0]+(o?-1:1)*(M+e.labelDistance):m.getX(f<e.top+2||f>e.bottom-2?d:f,o,e),a._attr={visibility:p,align:l[6]},a._pos={x:h+b.x+({left:x,right:-x}[l[6]]||0),y:f+b.y-10},l.x=h,l.y=f,c(b.crop,!0)&&(s=a.getBBox().width,d=null,h-s<x?(d=Math.round(s-h+x),D[3]=Math.max(d,D[3])):h+s>S-x&&(d=Math.round(h+s-S+x),D[1]=Math.max(d,D[1])),0>f-u/2?D[0]=Math.max(Math.round(-f+u/2),D[0]):f+u/2>_&&(D[2]=Math.max(Math.round(f+u/2-_),D[2])),a.sideOverflow=d)}),0===n(D)||this.verifyDataLabelOverflow(D))&&(this.placeDataLabels(),w&&r(this.points,function(t){var e;o=t.connector,(a=t.dataLabel)&&a._pos&&t.visible&&0<t.labelDistance?(p=a._attr.visibility,(e=!o)&&(t.connector=o=y.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex).add(m.dataLabelsGroup),o.attr({"stroke-width":w,stroke:b.connectorColor||t.color||"#666666"})),o[e?"attr":"animate"]({d:m.connectorPath(t.labelPos)}),o.attr("visibility",p)):o&&(t.connector=o.destroy())}))},f.pie.prototype.connectorPath=function(t){var e=t.x,n=t.y;return c(this.options.dataLabels.softConnector,!0)?["M",e+("left"===t[6]?5:-5),n,"C",e,n,2*t[2]-t[4],2*t[3]-t[5],t[2],t[3],"L",t[4],t[5]]:["M",e+("left"===t[6]?5:-5),n,"L",t[2],t[3],"L",t[4],t[5]]},f.pie.prototype.placeDataLabels=function(){r(this.points,function(t){var e=t.dataLabel;e&&t.visible&&((t=e._pos)?(e.sideOverflow&&(e._attr.width=e.getBBox().width-e.sideOverflow,e.css({width:e._attr.width+"px",textOverflow:"ellipsis"}),e.shortened=!0),e.attr(e._attr),e[e.moved?"animate":"attr"](t),e.moved=!0):e&&e.attr({y:-9999}))},this)},f.pie.prototype.alignDataLabel=u,f.pie.prototype.verifyDataLabelOverflow=function(t){var e,n=this.center,i=this.options,r=i.center,o=i.minSize||80,a=null!==i.size;return a||(null!==r[0]?e=Math.max(n[2]-Math.max(t[1],t[3]),o):(e=Math.max(n[2]-t[1]-t[3],o),n[0]+=(t[3]-t[1])/2),null!==r[1]?e=Math.max(Math.min(e,n[2]-Math.max(t[0],t[2])),o):(e=Math.max(Math.min(e,n[2]-t[0]-t[2]),o),n[1]+=(t[0]-t[2])/2),e<n[2]?(n[2]=e,n[3]=Math.min(h(i.innerSize||0,e),e),this.translate(n),this.drawDataLabels&&this.drawDataLabels()):a=!0),a}),f.column&&(f.column.prototype.alignDataLabel=function(t,e,n,i,r){var o=this.chart.inverted,a=t.series,s=t.dlBox||t.shapeArgs,u=c(t.below,t.plotY>c(this.translatedThreshold,a.yAxis.len)),h=c(n.inside,!!this.options.stacking);s&&(i=l(s),0>i.y&&(i.height+=i.y,i.y=0),s=i.y+i.height-a.yAxis.len,0<s&&(i.height-=s),o&&(i={x:a.yAxis.len-i.y-i.height,y:a.xAxis.len-i.x-i.width,width:i.height,height:i.width}),h||(o?(i.x+=u?0:i.width,i.width=0):(i.y+=u?i.height:0,i.height=0))),n.align=c(n.align,!o||h?"center":u?"right":"left"),n.verticalAlign=c(n.verticalAlign,o||h?"middle":u?"top":"bottom"),d.prototype.alignDataLabel.call(this,t,e,n,i,r),t.isLabelJustified&&t.contrastColor&&t.dataLabel.css({color:t.contrastColor})})}(t),function(t){var e=t.Chart,n=t.each,i=t.objectEach,r=t.pick,o=t.addEvent;e.prototype.callbacks.push(function(t){function e(){var e=[];n(t.yAxis||[],function(t){t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&i(t.stacks,function(t){i(t,function(t){e.push(t.label)})})}),n(t.series||[],function(t){var i=t.options.dataLabels,o=t.dataLabelCollections||["dataLabel"];(i.enabled||t._hasPointLabels)&&!i.allowOverlap&&t.visible&&n(o,function(i){n(t.points,function(t){t[i]&&(t[i].labelrank=r(t.labelrank,t.shapeArgs&&t.shapeArgs.height),e.push(t[i]))})})}),t.hideOverlappingLabels(e)}e(),o(t,"redraw",e)}),e.prototype.hideOverlappingLabels=function(t){var e,i,r,o,a,s,l,u,c,h=t.length,d=function(t,e,n,i,r,o,a,s){return!(r>t+n||r+a<t||o>e+i||o+s<e)};for(i=0;i<h;i++)(e=t[i])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.width||(r=e.getBBox(),e.width=r.width,e.height=r.height));for(t.sort(function(t,e){return(e.labelrank||0)-(t.labelrank||0)}),i=0;i<h;i++)for(r=t[i],e=i+1;e<h;++e)o=t[e],r&&o&&r!==o&&r.placed&&o.placed&&0!==r.newOpacity&&0!==o.newOpacity&&(a=r.alignAttr,s=o.alignAttr,l=r.parentGroup,u=o.parentGroup,c=2*(r.box?0:r.padding||0),a=d(a.x+l.translateX,a.y+l.translateY,r.width-c,r.height-c,s.x+u.translateX,s.y+u.translateY,o.width-c,o.height-c))&&((r.labelrank<o.labelrank?r:o).newOpacity=0);n(t,function(t){var e,n;t&&(n=t.newOpacity,t.oldOpacity!==n&&t.placed&&(n?t.show(!0):e=function(){t.hide()},t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,e)),t.isOld=!0)})}}(t),function(t){var e,n=t.addEvent,i=t.Chart,r=t.createElement,o=t.css,a=t.defaultOptions,s=t.defaultPlotOptions,l=t.each,u=t.extend,c=t.fireEvent,h=t.hasTouch,d=t.inArray,f=t.isObject,p=t.Legend,g=t.merge,m=t.pick,v=t.Point,y=t.Series,b=t.seriesTypes,x=t.svg;e=t.TrackerMixin={drawTrackerPoint:function(){var t=this,e=t.chart.pointer,n=function(t){var n=e.getPointFromEvent(t);void 0!==n&&(e.isDirectTouch=!0,n.onMouseOver(t))};l(t.points,function(t){t.graphic&&(t.graphic.element.point=t),t.dataLabel&&(t.dataLabel.div?t.dataLabel.div.point=t:t.dataLabel.element.point=t)}),t._hasTracking||(l(t.trackerGroups,function(i){t[i]&&(t[i].addClass("highcharts-tracker").on("mouseover",n).on("mouseout",function(t){e.onTrackerMouseOut(t)}),h&&t[i].on("touchstart",n),t.options.cursor&&t[i].css(o).css({cursor:t.options.cursor}))}),t._hasTracking=!0)},drawTrackerGraph:function(){var t,e=this,n=e.options,i=n.trackByArea,r=[].concat(i?e.areaPath:e.graphPath),o=r.length,a=e.chart,s=a.pointer,u=a.renderer,c=a.options.tooltip.snap,d=e.tracker,f=function(){a.hoverSeries!==e&&e.onMouseOver()},p="rgba(192,192,192,"+(x?1e-4:.002)+")";if(o&&!i)for(t=o+1;t--;)"M"===r[t]&&r.splice(t+1,0,r[t+1]-c,r[t+2],"L"),(t&&"M"===r[t]||t===o)&&r.splice(t,0,"L",r[t-2]+c,r[t-1]);d?d.attr({d:r}):e.graph&&(e.tracker=u.path(r).attr({"stroke-linejoin":"round",visibility:e.visible?"visible":"hidden",stroke:p,fill:i?p:"none","stroke-width":e.graph.strokeWidth()+(i?0:2*c),zIndex:2}).add(e.group),l([e.tracker,e.markerGroup],function(t){t.addClass("highcharts-tracker").on("mouseover",f).on("mouseout",function(t){s.onTrackerMouseOut(t)}),n.cursor&&t.css({cursor:n.cursor}),h&&t.on("touchstart",f)}))}},b.column&&(b.column.prototype.drawTracker=e.drawTrackerPoint),b.pie&&(b.pie.prototype.drawTracker=e.drawTrackerPoint),b.scatter&&(b.scatter.prototype.drawTracker=e.drawTrackerPoint),u(p.prototype,{setItemEvents:function(t,e,n){var i=this,r=i.chart.renderer.boxWrapper,o="highcharts-legend-"+(t.series?"point":"series")+"-active";(n?e:t.legendGroup).on("mouseover",function(){t.setState("hover"),r.addClass(o),e.css(i.options.itemHoverStyle)}).on("mouseout",function(){e.css(g(t.visible?i.itemStyle:i.itemHiddenStyle)),r.removeClass(o),t.setState()}).on("click",function(e){var n=function(){t.setVisible&&t.setVisible()};e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,n):c(t,"legendItemClick",e,n)})},createCheckboxForItem:function(t){t.checkbox=r("input",{type:"checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),n(t.checkbox,"click",function(e){c(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},function(){t.select()})})}}),a.legend.itemStyle.cursor="pointer",u(i.prototype,{showResetZoom:function(){var t=this,e=a.lang,n=t.options.chart.resetZoomButton,i=n.theme,r=i.states,o="chart"===n.relativeTo?null:"plotBox";this.resetZoomButton=t.renderer.button(e.resetZoom,null,null,function(){t.zoomOut()},i,r&&r.hover).attr({align:n.position.align,title:e.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,o)},zoomOut:function(){var t=this;c(t,"selection",{resetSelection:!0},function(){t.zoom()})},zoom:function(t){var e,n,i=this.pointer,r=!1;!t||t.resetSelection?(l(this.axes,function(t){e=t.zoom()}),i.initiated=!1):l(t.xAxis.concat(t.yAxis),function(t){var n=t.axis;i[n.isXAxis?"zoomX":"zoomY"]&&(e=n.zoom(t.min,t.max),n.displayBtn&&(r=!0))}),n=this.resetZoomButton,r&&!n?this.showResetZoom():!r&&f(n)&&(this.resetZoomButton=n.destroy()),e&&this.redraw(m(this.options.chart.animation,t&&t.animation,100>this.pointCount))},pan:function(t,e){var n,i=this,r=i.hoverPoints;r&&l(r,function(t){t.setState()}),l("xy"===e?[1,0]:[1],function(e){e=i[e?"xAxis":"yAxis"][0];var r,o=e.horiz,a=t[o?"chartX":"chartY"],o=o?"mouseDownX":"mouseDownY",s=i[o],l=(e.pointRange||0)/2,u=e.getExtremes(),c=e.toValue(s-a,!0)+l,l=e.toValue(s+e.len-a,!0)-l,h=l<c,s=h?l:c,c=h?c:l,l=Math.min(u.dataMin,e.toValue(e.toPixels(u.min)-e.minPixelPadding)),h=Math.max(u.dataMax,e.toValue(e.toPixels(u.max)+e.minPixelPadding));r=l-s,0<r&&(c+=r,s=l),r=c-h,0<r&&(c=h,s-=r),e.series.length&&s!==u.min&&c!==u.max&&(e.setExtremes(s,c,!1,!1,{trigger:"pan"}),n=!0),i[o]=a}),n&&i.redraw(!1),o(i.container,{cursor:"move"})}}),u(v.prototype,{select:function(t,e){var n=this,i=n.series,r=i.chart;t=m(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},function(){n.selected=n.options.selected=t,i.options.data[d(n,i.data)]=n.options,n.setState(t&&"select"),e||l(r.getSelectedPoints(),function(t){t.selected&&t!==n&&(t.selected=t.options.selected=!1,i.options.data[d(t,i.data)]=t.options,t.setState(""),t.firePointEvent("unselect"))})})},onMouseOver:function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},onMouseOut:function(){var t=this.series.chart;this.firePointEvent("mouseOut"),l(t.hoverPoints||[],function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null},importEvents:function(){if(!this.hasImportedEvents){var e=this,i=g(e.series.options.point,e.options).events;e.events=i,t.objectEach(i,function(t,i){n(e,i,t)}),this.hasImportedEvents=!0}},setState:function(t,e){var n,i=Math.floor(this.plotX),r=this.plotY,o=this.series,a=o.options.states[t]||{},l=s[o.type].marker&&o.options.marker,c=l&&!1===l.enabled,h=l&&l.states&&l.states[t]||{},d=!1===h.enabled,f=o.stateMarkerGraphic,p=this.marker||{},g=o.chart,v=o.halo,y=l&&o.markerAttribs;t=t||"",t===this.state&&!e||this.selected&&"select"!==t||!1===a.enabled||t&&(d||c&&!1===h.enabled)||t&&p.states&&p.states[t]&&!1===p.states[t].enabled||(y&&(n=o.markerAttribs(this,t)),this.graphic?(this.state&&this.graphic.removeClass("highcharts-point-"+this.state),t&&this.graphic.addClass("highcharts-point-"+t),this.graphic.animate(o.pointAttribs(this,t),m(g.options.chart.animation,a.animation)),n&&this.graphic.animate(n,m(g.options.chart.animation,h.animation,l.animation)),f&&f.hide()):(t&&h&&(l=p.symbol||o.symbol,f&&f.currentSymbol!==l&&(f=f.destroy()),f?f[e?"animate":"attr"]({x:n.x,y:n.y}):l&&(o.stateMarkerGraphic=f=g.renderer.symbol(l,n.x,n.y,n.width,n.height).add(o.markerGroup),f.currentSymbol=l),f&&f.attr(o.pointAttribs(this,t))),f&&(f[t&&g.isInsidePlot(i,r,g.inverted)?"show":"hide"](),f.element.point=this)),(i=a.halo)&&i.size?(v||(o.halo=v=g.renderer.path().add((this.graphic||f).parentGroup)),v[e?"animate":"attr"]({d:this.haloPath(i.size)}),v.attr({class:"highcharts-halo highcharts-color-"+m(this.colorIndex,o.colorIndex)}),v.point=this,v.attr(u({fill:this.color||o.color,"fill-opacity":i.opacity,zIndex:-1},i.attributes))):v&&v.point&&v.point.haloPath&&v.animate({d:v.point.haloPath(0)}),this.state=t)},haloPath:function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)}}),u(y.prototype,{onMouseOver:function(){var t=this.chart,e=t.hoverSeries;e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&c(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},onMouseOut:function(){var t=this.options,e=this.chart,n=e.tooltip,i=e.hoverPoint;e.hoverSeries=null,i&&i.onMouseOut(),this&&t.events.mouseOut&&c(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),this.setState()},setState:function(t){var e=this,n=e.options,i=e.graph,r=n.states,o=n.lineWidth,n=0;if(t=t||"",e.state!==t&&(l([e.group,e.markerGroup,e.dataLabelsGroup],function(n){n&&(e.state&&n.removeClass("highcharts-series-"+e.state),t&&n.addClass("highcharts-series-"+t))}),e.state=t,!r[t]||!1!==r[t].enabled)&&(t&&(o=r[t].lineWidth||o+(r[t].lineWidthPlus||0)),i&&!i.dashstyle))for(o={"stroke-width":o},i.animate(o,m(e.chart.options.chart.animation,r[t]&&r[t].animation));e["zone-graph-"+n];)e["zone-graph-"+n].attr(o),n+=1},setVisible:function(t,e){var n,i=this,r=i.chart,o=i.legendItem,a=r.options.chart.ignoreHiddenSeries,s=i.visible;n=(i.visible=t=i.options.visible=i.userOptions.visible=void 0===t?!s:t)?"show":"hide",l(["group","dataLabelsGroup","markerGroup","tracker","tt"],function(t){i[t]&&i[t][n]()}),r.hoverSeries!==i&&(r.hoverPoint&&r.hoverPoint.series)!==i||i.onMouseOut(),o&&r.legend.colorizeItem(i,t),i.isDirty=!0,i.options.stacking&&l(r.series,function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),l(i.linkedSeries,function(e){e.setVisible(t,!1)}),a&&(r.isDirtyBox=!0),!1!==e&&r.redraw(),c(i,n)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){this.selected=t=void 0===t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),c(this,t?"select":"unselect")},drawTracker:e.drawTrackerGraph})}(t),function(t){var e=t.Chart,n=t.each,i=t.inArray,r=t.isArray,o=t.isObject,a=t.pick,s=t.splat;e.prototype.setResponsive=function(e){var i=this.options.responsive,r=[],o=this.currentResponsive;i&&i.rules&&n(i.rules,function(n){void 0===n._id&&(n._id=t.uniqueKey()),this.matchResponsiveRule(n,r,e)},this);var a=t.merge.apply(0,t.map(r,function(e){return t.find(i.rules,function(t){return t._id===e}).chartOptions})),r=r.toString()||void 0;r!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,e), 30 r?(this.currentResponsive={ruleIds:r,mergedOptions:a,undoOptions:this.currentOptions(a)},this.update(a,e)):this.currentResponsive=void 0)},e.prototype.matchResponsiveRule=function(t,e){var n=t.condition;(n.callback||function(){return this.chartWidth<=a(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=a(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=a(n.minWidth,0)&&this.chartHeight>=a(n.minHeight,0)}).call(this)&&e.push(t._id)},e.prototype.currentOptions=function(e){function n(e,a,l,u){var c;t.objectEach(e,function(t,h){if(!u&&-1<i(h,["series","xAxis","yAxis"]))for(e[h]=s(e[h]),l[h]=[],c=0;c<e[h].length;c++)a[h][c]&&(l[h][c]={},n(t[c],a[h][c],l[h][c],u+1));else o(t)?(l[h]=r(t)?[]:{},n(t,a[h]||{},l[h],u+1)):l[h]=a[h]||null})}var a={};return n(e,this.options,a,0),a}}(t),t});