gophish/static/js/dist/vendor.min.js

1 line
955 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

if(!function(p,w){function e(t,e){return e.toUpperCase()}function i(t){!m.addEventListener&&"load"!==t.type&&"complete"!==m.readyState||(L(),vt.ready())}var r,n,g=typeof w,t=p.location,m=p.document,o=m.documentElement,a=p.jQuery,s=p.$,l={},h=[],u="1.10.2",y=h.concat,c=h.push,d=h.slice,f=h.indexOf,v=l.toString,b=l.hasOwnProperty,x=u.trim,vt=function(t,e){return new vt.fn.init(t,e,n)},S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,M=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,T=/^[\],:{}\s]*$/,D=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,P=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,E=/^-ms-/,O=/-([\da-z])/gi,L=function(){m.addEventListener?(m.removeEventListener("DOMContentLoaded",i,!1),p.removeEventListener("load",i,!1)):(m.detachEvent("onreadystatechange",i),p.detachEvent("onload",i))};function I(t){var e=t.length,n=vt.type(t);return!vt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||"function"!==n&&(0===e||"number"==typeof e&&0<e&&e-1 in t)))}vt.fn=vt.prototype={jquery:u,constructor:vt,init:function(t,e,n){var i,r;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):vt.isFunction(t)?n.ready(t):(t.selector!==w&&(this.selector=t.selector,this.context=t.context),vt.makeArray(t,this));if(!(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:k.exec(t))||!i[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(i[1]){if(e=e instanceof vt?e[0]:e,vt.merge(this,vt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:m,!0)),M.test(i[1])&&vt.isPlainObject(e))for(i in e)vt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if((r=m.getElementById(i[2]))&&r.parentNode){if(r.id!==i[2])return n.find(t);this.length=1,this[0]=r}return this.context=m,this.selector=t,this},selector:"",length:0,toArray:function(){return d.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){t=vt.merge(this.constructor(),t);return t.prevObject=this,t.context=this.context,t},each:function(t,e){return vt.each(this,t,e)},ready:function(t){return vt.ready.promise().done(t),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},map:function(n){return this.pushStack(vt.map(this,function(t,e){return n.call(t,e,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:c,sort:[].sort,splice:[].splice},vt.fn.init.prototype=vt.fn,vt.extend=vt.fn.extend=function(){var t,e,n,i,r,o=arguments[0]||{},a=1,s=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[1]||{},a=2),"object"==typeof o||vt.isFunction(o)||(o={}),s===a&&(o=this,--a);a<s;a++)if(null!=(i=arguments[a]))for(n in i)r=o[n],e=i[n],o!==e&&(l&&e&&(vt.isPlainObject(e)||(t=vt.isArray(e)))?(r=t?(t=!1,r&&vt.isArray(r)?r:[]):r&&vt.isPlainObject(r)?r:{},o[n]=vt.extend(l,r,e)):e!==w&&(o[n]=e));return o},vt.extend({expando:"jQuery"+(u+Math.random()).replace(/\D/g,""),noConflict:function(t){return p.$===vt&&(p.$=s),t&&p.jQuery===vt&&(p.jQuery=a),vt},isReady:!1,readyWait:1,holdReady:function(t){t?vt.readyWait++:vt.ready(!0)},ready:function(t){if(!0===t?!--vt.readyWait:!vt.isReady){if(!m.body)return setTimeout(vt.ready);(vt.isReady=!0)!==t&&0<--vt.readyWait||(r.resolveWith(m,[vt]),vt.fn.trigger&&vt(m).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===vt.type(t)},isArray:Array.isArray||function(t){return"array"===vt.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?l[v.call(t)]||"object":typeof t},isPlainObject:function(t){if(!t||"object"!==vt.type(t)||t.nodeType||vt.isWindow(t))return!1;try{if(t.constructor&&!b.call(t,"constructor")&&!b.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(vt.support.ownLast)for(var e in t)return b.call(t,e);for(e in t);return e===w||b.call(t,e)},isEmptyObject:function(t){for(var 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||m;var i=M.exec(t),n=!n&&[];return i?[e.createElement(i[1])]:(i=vt.buildFragment([t],e,n),n&&vt(n).remove(),vt.merge([],i.childNodes))},parseJSON:function(t){return p.JSON&&p.JSON.parse?p.JSON.parse(t):null===t?t:"string"==typeof t&&((t=vt.trim(t))&&T.test(t.replace(A,"@").replace(P,"]").replace(D,"")))?Function("return "+t)():(vt.error("Invalid JSON: "+t),w)},parseXML:function(t){var e;if(!t||"string"!=typeof t)return null;try{p.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){e=w}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||vt.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&vt.trim(t)&&(p.execScript||function(t){p.eval.call(p,t)})(t)},camelCase:function(t){return t.replace(E,"ms-").replace(O,e)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i,r=0,o=t.length,a=I(t);if(n){if(a)for(;r<o&&!1!==(i=e.apply(t[r],n));r++);else for(r in t)if(i=e.apply(t[r],n),!1===i)break}else if(a)for(;r<o&&!1!==(i=e.call(t[r],r,t[r]));r++);else for(r in t)if(i=e.call(t[r],r,t[r]),!1===i)break;return t},trim:x&&!x.call("\ufeff ")?function(t){return null==t?"":x.call(t)}:function(t){return null==t?"":(t+"").replace(C,"")},makeArray:function(t,e){e=e||[];return null!=t&&(I(Object(t))?vt.merge(e,"string"==typeof t?[t]:t):c.call(e,t)),e},inArray:function(t,e,n){var i;if(e){if(f)return f.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){var n=e.length,i=t.length,r=0;if("number"==typeof n)for(;r<n;r++)t[i++]=e[r];else for(;e[r]!==w;)t[i++]=e[r++];return t.length=i,t},grep:function(t,e,n){var i=[],r=0,o=t.length;for(n=!!n;r<o;r++)n!==!!e(t[r],r)&&i.push(t[r]);return i},map:function(t,e,n){var i,r=0,o=t.length,a=[];if(I(t))for(;r<o;r++)null!=(i=e(t[r],r,n))&&(a[a.length]=i);else for(r in t)i=e(t[r],r,n),null!=i&&(a[a.length]=i);return y.apply([],a)},guid:1,proxy:function(t,e){var n,i;return"string"==typeof e&&(i=t[e],e=t,t=i),vt.isFunction(t)?(n=d.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(d.call(arguments)))}).guid=t.guid=t.guid||vt.guid++,i):w},access:function(t,e,n,i,r,o,a){var s=0,l=t.length,u=null==n;if("object"===vt.type(n))for(s in r=!0,n)vt.access(t,e,s,n[s],!0,o,a);else if(i!==w&&(r=!0,vt.isFunction(i)||(a=!0),e=u?a?(e.call(t,i),null):(u=e,function(t,e,n){return u.call(vt(t),n)}):e))for(;s<l;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:u?e.call(t):l?e(t[0],n):o},now:function(){return(new Date).getTime()},swap:function(t,e,n,i){var r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.apply(t,i||[]),e)t.style[r]=o[r];return i}}),vt.ready.promise=function(t){if(!r)if(r=vt.Deferred(),"complete"===m.readyState)setTimeout(vt.ready);else if(m.addEventListener)m.addEventListener("DOMContentLoaded",i,!1),p.addEventListener("load",i,!1);else{m.attachEvent("onreadystatechange",i),p.attachEvent("onload",i);var n=!1;try{n=null==p.frameElement&&m.documentElement}catch(t){}n&&n.doScroll&&function e(){if(!vt.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}L(),vt.ready()}}()}return r.promise(t)},vt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){l["[object "+e+"]"]=e.toLowerCase()}),n=vt(m),function(n,i){var t,h,w,S,o,e,d,_,u,f,C,r,p,g,a,s,m,b="sizzle"+-new Date,y=n.document,k=0,v=0,l=rt(),c=rt(),x=rt(),M=!1,T=function(t,e){return t===e&&(M=!0),0},D=typeof i,A={}.hasOwnProperty,P=[],E=P.pop,O=P.push,L=P.push,I=P.slice,N=P.indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",H=j.replace("w","w#"),B="\\["+F+"*("+j+")"+F+"*(?:([*^$|!~]?=)"+F+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+H+")|)|)"+F+"*\\]",z=":("+j+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+B.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),$=RegExp("^"+F+"*,"+F+"*"),q=RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),U=RegExp(F+"*[+~]"),Y=RegExp("="+F+"*([^\\]'\"]*)"+F+"*\\]","g"),G=RegExp(z),X=RegExp("^"+H+"$"),V={ID:RegExp("^#("+j+")"),CLASS:RegExp("^\\.("+j+")"),TAG:RegExp("^("+j.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+z),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:RegExp("^(?:"+R+")$","i"),needsContext:RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,tt=/'|\\/g,et=RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),nt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(65536+i):String.fromCharCode(55296|i>>10,56320|1023&i)};try{L.apply(P=I.call(y.childNodes),y.childNodes),P[y.childNodes.length].nodeType}catch(t){L={apply:P.length?function(t,e){O.apply(t,I.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function it(t,e,n,i){var r,o,a,s,l,u,c;if((e?e.ownerDocument||e:y)!==C&&f(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(r=(e=e||C).nodeType)&&9!==r)return[];if(p&&!i){if(u=K.exec(t))if(c=u[1]){if(9===r){if(!(s=e.getElementById(c))||!s.parentNode)return n;if(s.id===c)return n.push(s),n}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(c))&&m(e,s)&&s.id===c)return n.push(s),n}else{if(u[2])return L.apply(n,e.getElementsByTagName(t)),n;if((c=u[3])&&h.getElementsByClassName&&e.getElementsByClassName)return L.apply(n,e.getElementsByClassName(c)),n}if(h.qsa&&(!g||!g.test(t))){if(l=s=b,u=e,c=9===r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(a=ht(t),(s=e.getAttribute("id"))?l=s.replace(tt,"\\$&"):e.setAttribute("id",l),l="[id='"+l+"'] ",o=a.length;o--;)a[o]=l+dt(a[o]);u=U.test(t)&&e.parentNode||e,c=a.join(",")}if(c)try{return L.apply(n,u.querySelectorAll(c)),n}catch(t){}finally{s||e.removeAttribute("id")}}}return function(t,e,n,i){var r,o,a,s,l,u=ht(t);if(!i&&1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(a=o[0]).type&&h.getById&&9===e.nodeType&&p&&S.relative[o[1].type]){if(!(e=(S.find.ID(a.matches[0].replace(et,nt),e)||[])[0]))return n;t=t.slice(o.shift().value.length)}for(r=V.needsContext.test(t)?0:o.length;r--&&(a=o[r],!S.relative[s=a.type]);)if((l=S.find[s])&&(i=l(a.matches[0].replace(et,nt),U.test(o[0].type)&&e.parentNode||e))){if(o.splice(r,1),!(t=i.length&&dt(o)))return L.apply(n,i),n;break}}return d(t,u)(i,e,!p,n,U.test(t)),n}(t.replace(W,"$1"),e,n,i)}function rt(){var n=[];function i(t,e){return n.push(t+=" ")>S.cacheLength&&delete i[n.shift()],i[t]=e}return i}function ot(t){return t[b]=!0,t}function at(t){var e=C.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function st(t,e){for(var n=t.split("|"),i=t.length;i--;)S.attrHandle[n[i]]=e}function lt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ut(a){return ot(function(o){return o=+o,ot(function(t,e){for(var n,i=a([],t.length,o),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}for(t in e=it.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},h=it.support={},f=it.setDocument=function(t){var l=t?t.ownerDocument||t:y,t=l.defaultView;return l!==C&&9===l.nodeType&&l.documentElement?(r=(C=l).documentElement,p=!e(l),t&&t.attachEvent&&t!==t.top&&t.attachEvent("onbeforeunload",function(){f()}),h.attributes=at(function(t){return t.className="i",!t.getAttribute("className")}),h.getElementsByTagName=at(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),h.getElementsByClassName=at(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),h.getById=at(function(t){return r.appendChild(t).id=b,!l.getElementsByName||!l.getElementsByName(b).length}),h.getById?(S.find.ID=function(t,e){if(typeof e.getElementById!=D&&p){t=e.getElementById(t);return t&&t.parentNode?[t]:[]}},S.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}}):(delete S.find.ID,S.filter.ID=function(t){var e=t.replace(et,nt);return function(t){t=typeof t.getAttributeNode!=D&&t.getAttributeNode("id");return t&&t.value===e}}),S.find.TAG=h.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!=D?e.getElementsByTagName(t):i}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},S.find.CLASS=h.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!=D&&p?e.getElementsByClassName(t):i},a=[],g=[],(h.qsa=Z.test(l.querySelectorAll))&&(at(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||g.push("\\["+F+"*(?:value|"+R+")"),t.querySelectorAll(":checked").length||g.push(":checked")}),at(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&g.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(h.matchesSelector=Z.test(s=r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector||r.msMatchesSelector))&&at(function(t){h.disconnectedMatch=s.call(t,"div"),s.call(t,"[s!='']:x"),a.push("!=",z)}),g=g.length&&RegExp(g.join("|")),a=a.length&&RegExp(a.join("|")),m=Z.test(r.contains)||r.compareDocumentPosition?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},T=r.compareDocumentPosition?function(t,e){if(t===e)return M=!0,0;var n=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e);return n?1&n||!h.sortDetached&&e.compareDocumentPosition(t)===n?t===l||m(y,t)?-1:e===l||m(y,e)?1:u?N.call(u,t)-N.call(u,e):0:4&n?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(t===e)return M=!0,0;if(!r||!o)return t===l?-1:e===l?1:r?-1:o?1:u?N.call(u,t)-N.call(u,e):0;if(r===o)return lt(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?lt(a[i],s[i]):a[i]===y?-1:s[i]===y?1:0},l):C},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&f(t),e=e.replace(Y,"='$1']"),!(!h.matchesSelector||!p||a&&a.test(e)||g&&g.test(e)))try{var n=s.call(t,e);if(n||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<it(e,C,null,[t]).length},it.contains=function(t,e){return(t.ownerDocument||t)!==C&&f(t),m(t,e)},it.attr=function(t,e){(t.ownerDocument||t)!==C&&f(t);var n=S.attrHandle[e.toLowerCase()],n=n&&A.call(S.attrHandle,e.toLowerCase())?n(t,e,!p):i;return n===i?h.attributes||!p?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null:n},it.error=function(t){throw Error("Syntax error, unrecognized expression: "+t)},it.uniqueSort=function(t){var e,n=[],i=0,r=0;if(M=!h.detectDuplicates,u=!h.sortStable&&t.slice(0),t.sort(T),M){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return t},o=it.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+=o(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i];i++)n+=o(e);return n},(S=it.selectors={cacheLength:50,createPseudo:ot,match:V,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(et,nt),t[3]=(t[4]||t[5]||"").replace(et,nt),"~="===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]||it.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]&&it.error(t[0]),t},PSEUDO:function(t){var e,n=!t[5]&&t[2];return V.CHILD.test(t[0])?null:(t[3]&&t[4]!==i?t[2]=t[4]:n&&G.test(n)&&(e=ht(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=l[t+" "];return e||(e=RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&l(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!=D&&t.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(t){t=it.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===i:"!="===n?t!==i:"^="===n?i&&0===t.indexOf(i):"*="===n?i&&-1<t.indexOf(i):"$="===n?i&&t.slice(-i.length)===i:"~="===n?-1<(" "+t+" ").indexOf(i):"|="===n&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(f,t,e,p,g){var m="nth"!==f.slice(0,3),y="last"!==f.slice(-4),v="of-type"===t;return 1===p&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var i,r,o,a,s,l,u=m!=y?"nextSibling":"previousSibling",c=t.parentNode,h=v&&t.nodeName.toLowerCase(),d=!n&&!v;if(c){if(m){for(;u;){for(o=t;o=o[u];)if(v?o.nodeName.toLowerCase()===h:1===o.nodeType)return!1;l=u="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&d){for(s=(i=(r=c[b]||(c[b]={}))[f]||[])[0]===k&&i[1],a=i[0]===k&&i[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(a=s=0)||l.pop();)if(1===o.nodeType&&++a&&o===t){r[f]=[k,s,a];break}}else if(d&&(i=(t[b]||(t[b]={}))[f])&&i[0]===k)a=i[1];else for(;(o=++s&&o&&o[u]||(a=s=0)||l.pop())&&((v?o.nodeName.toLowerCase()!==h:1!==o.nodeType)||!++a||(d&&((o[b]||(o[b]={}))[f]=[k,a]),o!==t)););return(a-=g)===p||0==a%p&&0<=a/p}}},PSEUDO:function(t,o){var e,a=S.pseudos[t]||S.setFilters[t.toLowerCase()]||it.error("unsupported pseudo: "+t);return a[b]?a(o):1<a.length?(e=[t,t,"",o],S.setFilters.hasOwnProperty(t.toLowerCase())?ot(function(t,e){for(var n,i=a(t,o),r=i.length;r--;)t[n=N.call(t,i[r])]=!(e[n]=i[r])}):function(t){return a(t,0,e)}):a}},pseudos:{not:ot(function(t){var i=[],r=[],s=d(t.replace(W,"$1"));return s[b]?ot(function(t,e,n,i){for(var r,o=s(t,null,i,[]),a=t.length;a--;)(r=o[a])&&(t[a]=!(e[a]=r))}):function(t,e,n){return i[0]=t,s(i,null,n,r),!r.pop()}}),has:ot(function(e){return function(t){return 0<it(e,t).length}}),contains:ot(function(e){return function(t){return-1<(t.textContent||t.innerText||o(t)).indexOf(e)}}),lang:ot(function(n){return X.test(n||"")||it.error("unsupported lang: "+n),n=n.replace(et,nt).toLowerCase(),function(t){var e;do{if(e=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===r},focus:function(t){return t===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},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,!0===t.selected},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!S.pseudos.empty(t)},header:function(t){return Q.test(t.nodeName)},input:function(t){return J.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:ut(function(){return[0]}),last:ut(function(t,e){return[e-1]}),eq:ut(function(t,e,n){return[n<0?n+e:n]}),even:ut(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:ut(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:ut(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:ut(function(t,e,n){for(var i=n<0?n+e:n;e>++i;)t.push(i);return t})}}).pseudos.nth=S.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})S.pseudos[t]=function(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}(t);function ct(){}function ht(t,e){var n,i,r,o,a,s,l,u=c[t+" "];if(u)return e?0:u.slice(0);for(a=t,s=[],l=S.preFilter;a;){for(o in n&&!(i=$.exec(a))||(i&&(a=a.slice(i[0].length)||a),s.push(r=[])),n=!1,(i=q.exec(a))&&(n=i.shift(),r.push({value:n,type:i[0].replace(W," ")}),a=a.slice(n.length)),S.filter)!(i=V[o].exec(a))||l[o]&&!(i=l[o](i))||(n=i.shift(),r.push({value:n,type:o,matches:i}),a=a.slice(n.length));if(!n)break}return e?a.length:a?it.error(t):c(t,s).slice(0)}function dt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function ft(s,t,e){var l=t.dir,u=e&&"parentNode"===l,c=v++;return t.first?function(t,e,n){for(;t=t[l];)if(1===t.nodeType||u)return s(t,e,n)}:function(t,e,n){var i,r,o,a=k+" "+c;if(n){for(;t=t[l];)if((1===t.nodeType||u)&&s(t,e,n))return!0}else for(;t=t[l];)if(1===t.nodeType||u)if((r=(o=t[b]||(t[b]={}))[l])&&r[0]===a){if(!0===(i=r[1])||i===w)return!0===i}else if((r=o[l]=[a])[1]=s(t,e,n)||w,!0===r[1])return!0}}function pt(r){return 1<r.length?function(t,e,n){for(var i=r.length;i--;)if(!r[i](t,e,n))return!1;return!0}:r[0]}function gt(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)!(o=t[s])||n&&!n(o,i,r)||(a.push(o),u&&e.push(s));return a}function mt(f,p,g,m,y,t){return m&&!m[b]&&(m=mt(m)),y&&!y[b]&&(y=mt(y,t)),ot(function(t,e,n,i){var r,o,a,s=[],l=[],u=e.length,c=t||function(t,e,n){for(var i=0,r=e.length;i<r;i++)it(t,e[i],n);return n}(p||"*",n.nodeType?[n]:n,[]),h=!f||!t&&p?c:gt(c,s,f,n,i),d=g?y||(t?f:u||m)?[]:e:h;if(g&&g(h,d,n,i),m)for(r=gt(d,l),m(r,[],n,i),o=r.length;o--;)(a=r[o])&&(d[l[o]]=!(h[l[o]]=a));if(t){if(y||f){if(y){for(r=[],o=d.length;o--;)(a=d[o])&&r.push(h[o]=a);y(null,d=[],r,i)}for(o=d.length;o--;)(a=d[o])&&-1<(r=y?N.call(t,a):s[o])&&(t[r]=!(e[r]=a))}}else d=gt(d===e?d.splice(u,d.length):d),y?y(null,e,d,i):L.apply(e,d)})}function yt(m,y){function t(t,e,n,i,r){var o,a,s,l=[],u=0,c="0",h=t&&[],d=null!=r,f=_,p=t||x&&S.find.TAG("*",r&&e.parentNode||e),g=k+=null==f?1:Math.random()||.1;for(d&&(_=e!==C&&e,w=v);null!=(o=p[c]);c++){if(x&&o){for(a=0;s=m[a++];)if(s(o,e,n)){i.push(o);break}d&&(k=g,w=++v)}b&&((o=!s&&o)&&u--,t&&h.push(o))}if(u+=c,b&&c!==u){for(a=0;s=y[a++];)s(h,l,e,n);if(t){if(0<u)for(;c--;)h[c]||l[c]||(l[c]=E.call(i));l=gt(l)}L.apply(i,l),d&&!t&&0<l.length&&1<u+y.length&&it.uniqueSort(i)}return d&&(k=g,_=f),h}var v=0,b=0<y.length,x=0<m.length;return b?ot(t):t}ct.prototype=S.filters=S.pseudos,S.setFilters=new ct,d=it.compile=function(t,e){var n,i=[],r=[],o=x[t+" "];if(!o){for(n=(e=e||ht(t)).length;n--;)((o=function t(e){for(var i,n,r,o=e.length,a=S.relative[e[0].type],s=a||S.relative[" "],l=a?1:0,u=ft(function(t){return t===i},s,!0),c=ft(function(t){return-1<N.call(i,t)},s,!0),h=[function(t,e,n){return!a&&(n||e!==_)||((i=e).nodeType?u:c)(t,e,n)}];l<o;l++)if(n=S.relative[e[l].type])h=[ft(pt(h),n)];else{if((n=S.filter[e[l].type].apply(null,e[l].matches))[b]){for(r=++l;r<o&&!S.relative[e[r].type];r++);return mt(1<l&&pt(h),1<l&&dt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(W,"$1"),n,l<r&&t(e.slice(l,r)),r<o&&t(e=e.slice(r)),r<o&&dt(e))}h.push(n)}return pt(h)}(e[n]))[b]?i:r).push(o);o=x(t,yt(r,i))}return o},h.sortStable=b.split("").sort(T).join("")===b,h.detectDuplicates=M,f(),h.sortDetached=at(function(t){return 1&t.compareDocumentPosition(C.createElement("div"))}),at(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||st("type|href|height|width",function(t,e,n){return n?i:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),h.attributes&&at(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||st("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?i:t.defaultValue}),at(function(t){return null==t.getAttribute("disabled")})||st(R,function(t,e,n){return n?i:(n=t.getAttributeNode(e))&&n.specified?n.value:!0===t[e]?e.toLowerCase():null}),vt.find=it,vt.expr=it.selectors,vt.expr[":"]=vt.expr.pseudos,vt.unique=it.uniqueSort,vt.text=it.getText,vt.isXMLDoc=it.isXML,vt.contains=it.contains}(p);var N={};vt.Callbacks=function(r){var t,n;r="string"==typeof r?N[r]||(n=N[t=r]={},vt.each(t.match(_)||[],function(t,e){n[e]=!0}),n):vt.extend({},r);var i,e,o,a,s,l,u=[],c=!r.once&&[],h=function(t){for(e=r.memory&&t,o=!0,s=l||0,l=0,a=u.length,i=!0;u&&s<a;s++)if(!1===u[s].apply(t[0],t[1])&&r.stopOnFalse){e=!1;break}i=!1,u&&(c?c.length&&h(c.shift()):e?u=[]:d.disable())},d={add:function(){var t;return u&&(t=u.length,function i(t){vt.each(t,function(t,e){var n=vt.type(e);"function"===n?r.unique&&d.has(e)||u.push(e):e&&e.length&&"string"!==n&&i(e)})}(arguments),i?a=u.length:e&&(l=t,h(e))),this},remove:function(){return u&&vt.each(arguments,function(t,e){for(var n;-1<(n=vt.inArray(e,u,n));)u.splice(n,1),i&&(n<=a&&a--,n<=s&&s--)}),this},has:function(t){return t?-1<vt.inArray(t,u):!(!u||!u.length)},empty:function(){return u=[],a=0,this},disable:function(){return u=c=e=w,this},disabled:function(){return!u},lock:function(){return c=w,e||d.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!u||o&&!c||(e=[t,(e=e||[]).slice?e.slice():e],i?c.push(e):h(e)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!o}};return d},vt.extend({Deferred:function(t){var a=[["resolve","done",vt.Callbacks("once memory"),"resolved"],["reject","fail",vt.Callbacks("once memory"),"rejected"],["notify","progress",vt.Callbacks("memory")]],r="pending",s={state:function(){return r},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return vt.Deferred(function(r){vt.each(a,function(t,e){var n=e[0],i=vt.isFunction(o[t])&&o[t];l[e[1]](function(){var t=i&&i.apply(this,arguments);t&&vt.isFunction(t.promise)?t.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[n+"With"](this===s?r.promise():this,i?[t]:arguments)})}),o=null}).promise()},promise:function(t){return null!=t?vt.extend(t,s):s}},l={};return s.pipe=s.then,vt.each(a,function(t,e){var n=e[2],i=e[3];s[e[1]]=n.add,i&&n.add(function(){r=i},a[1^t][2].disable,a[2][2].lock),l[e[0]]=function(){return l[e[0]+"With"](this===l?s:this,arguments),this},l[e[0]+"With"]=n.fireWith}),s.promise(l),t&&t.call(l,l),l},when:function(t){function e(e,n,i){return function(t){n[e]=this,i[e]=1<arguments.length?d.call(arguments):t,i===r?u.notifyWith(n,i):--l||u.resolveWith(n,i)}}var r,n,i,o=0,a=d.call(arguments),s=a.length,l=1!==s||t&&vt.isFunction(t.promise)?s:0,u=1===l?t:vt.Deferred();if(1<s)for(r=Array(s),n=Array(s),i=Array(s);o<s;o++)a[o]&&vt.isFunction(a[o].promise)?a[o].promise().done(e(o,i,a)).fail(u.reject).progress(e(o,n,r)):--l;return l||u.resolveWith(i,a),u.promise()}}),vt.support=function(o){var t,e,n,i,r,a,s,l,u,c=m.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=c.getElementsByTagName("*")||[],!(e=c.getElementsByTagName("a")[0])||!e.style||!t.length)return o;a=(i=m.createElement("select")).appendChild(m.createElement("option")),n=c.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(e.getAttribute("style")),o.hrefNormalized="/a"===e.getAttribute("href"),o.opacity=/^0.5/.test(e.style.opacity),o.cssFloat=!!e.style.cssFloat,o.checkOn=!!n.value,o.optSelected=a.selected,o.enctype=!!m.createElement("form").enctype,o.html5Clone="<:nav></:nav>"!==m.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,n.checked=!0,o.noCloneChecked=n.cloneNode(!0).checked,i.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(t){o.deleteExpando=!1}for(u in(n=m.createElement("input")).setAttribute("value",""),o.input=""===n.getAttribute("value"),n.value="t",n.setAttribute("type","radio"),o.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),(r=m.createDocumentFragment()).appendChild(n),o.appendChecked=n.checked,o.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(s="on"+u,"t"),o[u+"Bubbles"]=s in p||!1===c.attributes[s].expando;for(u in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,vt(o))break;return o.ownLast="0"!==u,vt(function(){var t,e,n,i="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",r=m.getElementsByTagName("body")[0];r&&((t=m.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",r.appendChild(t).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=l&&0===n[0].offsetHeight,c.innerHTML="",c.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%;",vt.swap(r,null!=r.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),p.getComputedStyle&&(o.pixelPosition="1%"!==(p.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(p.getComputedStyle(c,null)||{width:"4px"}).width,(e=c.appendChild(m.createElement("div"))).style.cssText=c.style.cssText=i,e.style.marginRight=e.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((p.getComputedStyle(e,null)||{}).marginRight)),typeof c.style.zoom!==g&&(c.innerHTML="",c.style.cssText=i+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(r.style.zoom=1)),r.removeChild(t),t=c=n=e=null)}),t=i=r=e=n=null,o}({});var R=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,F=/([A-Z])/g;function j(t,e,n,i){if(vt.acceptData(t)){var r,o=vt.expando,a=t.nodeType,s=a?vt.cache:t,l=a?t[o]:t[o]&&o;if(l&&s[l]&&(i||s[l].data)||n!==w||"string"!=typeof e)return s[l=l||(a?t[o]=h.pop()||vt.guid++:o)]||(s[l]=a?{}:{toJSON:vt.noop}),"object"!=typeof e&&"function"!=typeof e||(i?s[l]=vt.extend(s[l],e):s[l].data=vt.extend(s[l].data,e)),l=s[l],i||(l.data||(l.data={}),l=l.data),n!==w&&(l[vt.camelCase(e)]=n),"string"==typeof e?null==(r=l[e])&&(r=l[vt.camelCase(e)]):r=l,r}}function H(t,e,n){if(vt.acceptData(t)){var i,r,o=t.nodeType,a=o?vt.cache:t,s=o?t[vt.expando]:vt.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){r=(e=vt.isArray(e)?e.concat(vt.map(e,vt.camelCase)):e in i?[e]:(e=vt.camelCase(e))in i?[e]:e.split(" ")).length;for(;r--;)delete i[e[r]];if(n?!z(i):!vt.isEmptyObject(i))return}(n||(delete a[s].data,z(a[s])))&&(o?vt.cleanData([t],!0):vt.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function B(t,e,n){if(n===w&&1===t.nodeType){var i="data-"+e.replace(F,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:R.test(n)?vt.parseJSON(n):n)}catch(t){}vt.data(t,e,n)}else n=w}return n}function z(t){for(var e in t)if(("data"!==e||!vt.isEmptyObject(t[e]))&&"toJSON"!==e)return;return 1}vt.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?vt.cache[t[vt.expando]]:t[vt.expando])&&!z(t)},data:function(t,e,n){return j(t,e,n)},removeData:function(t,e){return H(t,e)},_data:function(t,e,n){return j(t,e,n,!0)},_removeData:function(t,e){return H(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&vt.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),vt.fn.extend({data:function(t,e){var n,i,r=null,o=0,a=this[0];if(t!==w)return"object"==typeof t?this.each(function(){vt.data(this,t)}):1<arguments.length?this.each(function(){vt.data(this,t,e)}):a?B(a,t,vt.data(a,t)):null;if(this.length&&(r=vt.data(a),1===a.nodeType&&!vt._data(a,"parsedAttrs"))){for(n=a.attributes;n.length>o;o++)0===(i=n[o].name).indexOf("data-")&&B(a,i=vt.camelCase(i.slice(5)),r[i]);vt._data(a,"parsedAttrs",!0)}return r},removeData:function(t){return this.each(function(){vt.removeData(this,t)})}}),vt.extend({queue:function(t,e,n){var i;return t?(i=vt._data(t,e=(e||"fx")+"queue"),n&&(!i||vt.isArray(n)?i=vt._data(t,e,vt.makeArray(n)):i.push(n)),i||[]):w},dequeue:function(t,e){var n=vt.queue(t,e=e||"fx"),i=n.length,r=n.shift(),o=vt._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){vt.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return vt._data(t,n)||vt._data(t,n,{empty:vt.Callbacks("once memory").add(function(){vt._removeData(t,e+"queue"),vt._removeData(t,n)})})}}),vt.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?vt.queue(this[0],e):n===w?this:this.each(function(){var t=vt.queue(this,e,n);vt._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&vt.dequeue(this,e)})},dequeue:function(t){return this.each(function(){vt.dequeue(this,t)})},delay:function(i,t){return i=vt.fx&&vt.fx.speeds[i]||i,this.queue(t=t||"fx",function(t,e){var n=setTimeout(t,i);e.stop=function(){clearTimeout(n)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--r||o.resolveWith(a,[a])}var i,r=1,o=vt.Deferred(),a=this,s=this.length;for("string"!=typeof t&&(e=t,t=w),t=t||"fx";s--;)(i=vt._data(a[s],t+"queueHooks"))&&i.empty&&(r++,i.empty.add(n));return n(),o.promise(e)}});var W,$,q=/[\t\r\n\f]/g,U=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,G=/^(?:a|area)$/i,X=/^(?:checked|selected)$/i,V=vt.support.getSetAttribute,Z=vt.support.input;vt.fn.extend({attr:function(t,e){return vt.access(this,vt.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){vt.removeAttr(this,t)})},prop:function(t,e){return vt.access(this,vt.prop,t,e,1<arguments.length)},removeProp:function(t){return t=vt.propFix[t]||t,this.each(function(){try{this[t]=w,delete this[t]}catch(t){}})},addClass:function(e){var t,n,i,r,o,a=0,s=this.length,l="string"==typeof e&&e;if(vt.isFunction(e))return this.each(function(t){vt(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(_)||[];a<s;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(q," "):" ")){for(o=0;r=t[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");n.className=vt.trim(i)}return this},removeClass:function(e){var t,n,i,r,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(vt.isFunction(e))return this.each(function(t){vt(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(_)||[];a<s;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(q," "):"")){for(o=0;r=t[o++];)for(;0<=i.indexOf(" "+r+" ");)i=i.replace(" "+r+" "," ");n.className=e?vt.trim(i):""}return this},toggleClass:function(r,e){var o=typeof r;return"boolean"==typeof e&&"string"==o?e?this.addClass(r):this.removeClass(r):vt.isFunction(r)?this.each(function(t){vt(this).toggleClass(r.call(this,t,this.className,e),e)}):this.each(function(){if("string"==o)for(var t,e=0,n=vt(this),i=r.match(_)||[];t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else o!==g&&"boolean"!=o||(this.className&&vt._data(this,"__className__",this.className),this.className=!this.className&&!1!==r&&vt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(q," ").indexOf(e))return!0;return!1},val:function(e){var t,n,i,r=this[0];return arguments.length?(i=vt.isFunction(e),this.each(function(t){1===this.nodeType&&(null==(t=i?e.call(this,t,vt(this).val()):e)?t="":"number"==typeof t?t+="":vt.isArray(t)&&(t=vt.map(t,function(t){return null==t?"":t+""})),(n=vt.valHooks[this.type]||vt.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,t,"value")!==w||(this.value=t))})):r?(n=vt.valHooks[r.type]||vt.valHooks[r.nodeName.toLowerCase()])&&"get"in n&&(t=n.get(r,"value"))!==w?t:"string"==typeof(t=r.value)?t.replace(U,""):null==t?"":t:void 0}}),vt.extend({valHooks:{option:{get:function(t){var e=vt.find.attr(t,"value");return null!=e?e:t.text}},select:{get:function(t){for(var e,n=t.options,i=t.selectedIndex,r="select-one"===t.type||i<0,o=r?null:[],a=r?i+1:n.length,s=i<0?a:r?i:0;s<a;s++)if(!(!(e=n[s]).selected&&s!==i||(vt.support.optDisabled?e.disabled:null!==e.getAttribute("disabled"))||e.parentNode.disabled&&vt.nodeName(e.parentNode,"optgroup"))){if(e=vt(e).val(),r)return e;o.push(e)}return o},set:function(t,e){for(var n,i,r=t.options,o=vt.makeArray(e),a=r.length;a--;)((i=r[a]).selected=0<=vt.inArray(vt(i).val(),o))&&(n=!0);return n||(t.selectedIndex=-1),o}}},attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===g?vt.prop(t,e,n):(1===o&&vt.isXMLDoc(t)||(e=e.toLowerCase(),i=vt.attrHooks[e]||(vt.expr.match.bool.test(e)?$:W)),n===w?i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=vt.find.attr(t,e))?w:r:null!==n?i&&"set"in i&&(r=i.set(t,n,e))!==w?r:(t.setAttribute(e,n+""),n):(vt.removeAttr(t,e),w))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(_);if(o&&1===t.nodeType)for(;n=o[r++];)i=vt.propFix[n]||n,vt.expr.match.bool.test(n)?Z&&V||!X.test(n)?t[i]=!1:t[vt.camelCase("default-"+n)]=t[i]=!1:vt.attr(t,n,""),t.removeAttribute(V?n:i)},attrHooks:{type:{set:function(t,e){if(!vt.support.radioValue&&"radio"===e&&vt.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,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!vt.isXMLDoc(t))&&(e=vt.propFix[e]||e,r=vt.propHooks[e]),n!==w?r&&"set"in r&&(i=r.set(t,n,e))!==w?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=vt.find.attr(t,"tabindex");return e?parseInt(e,10):Y.test(t.nodeName)||G.test(t.nodeName)&&t.href?0:-1}}}}),$={set:function(t,e,n){return!1===e?vt.removeAttr(t,n):Z&&V||!X.test(n)?t.setAttribute(!V&&vt.propFix[n]||n,n):t[vt.camelCase("default-"+n)]=t[n]=!0,n}},vt.each(vt.expr.match.bool.source.match(/\w+/g),function(t,e){var r=vt.expr.attrHandle[e]||vt.find.attr;vt.expr.attrHandle[e]=Z&&V||!X.test(e)?function(t,e,n){var i=vt.expr.attrHandle[e],n=n?w:(vt.expr.attrHandle[e]=w)!=r(t,e,n)?e.toLowerCase():null;return vt.expr.attrHandle[e]=i,n}:function(t,e,n){return n?w:t[vt.camelCase("default-"+e)]?e.toLowerCase():null}}),Z&&V||(vt.attrHooks.value={set:function(t,e,n){return vt.nodeName(t,"input")?(t.defaultValue=e,w):W&&W.set(t,e,n)}}),V||(W={set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n)?e:w}},vt.expr.attrHandle.id=vt.expr.attrHandle.name=vt.expr.attrHandle.coords=function(t,e,n){return n?w:(e=t.getAttributeNode(e))&&""!==e.value?e.value:null},vt.valHooks.button={get:function(t,e){e=t.getAttributeNode(e);return e&&e.specified?e.value:w},set:W.set},vt.attrHooks.contenteditable={set:function(t,e,n){W.set(t,""!==e&&e,n)}},vt.each(["width","height"],function(t,n){vt.attrHooks[n]={set:function(t,e){return""===e?(t.setAttribute(n,"auto"),e):w}}})),vt.support.hrefNormalized||vt.each(["href","src"],function(t,e){vt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),vt.support.style||(vt.attrHooks.style={get:function(t){return t.style.cssText||w},set:function(t,e){return t.style.cssText=e+""}}),vt.support.optSelected||(vt.propHooks.selected={get:function(t){t=t.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),vt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){vt.propFix[this.toLowerCase()]=this}),vt.support.enctype||(vt.propFix.enctype="encoding"),vt.each(["radio","checkbox"],function(){vt.valHooks[this]={set:function(t,e){return vt.isArray(e)?t.checked=0<=vt.inArray(vt(t).val(),e):w}},vt.support.checkOn||(vt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var K=/^(?:input|select|textarea)$/i,J=/^key/,Q=/^(?:mouse|contextmenu)|click/,tt=/^(?:focusinfocus|focusoutblur)$/,et=/^([^.]*)(?:\.(.+)|)$/;function nt(){return!0}function it(){return!1}function rt(){try{return m.activeElement}catch(t){}}vt.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,h,d,f,p=vt._data(t);if(p){for(n.handler&&(n=(s=n).handler,r=s.selector),n.guid||(n.guid=vt.guid++),(o=p.events)||(o=p.events={}),(u=p.handle)||((u=p.handle=function(t){return typeof vt===g||t&&vt.event.triggered===t.type?w:vt.event.dispatch.apply(u.elem,arguments)}).elem=t),a=(e=(e||"").match(_)||[""]).length;a--;)h=f=(c=et.exec(e[a])||[])[1],d=(c[2]||"").split(".").sort(),h&&(l=vt.event.special[h]||{},h=(r?l.delegateType:l.bindType)||h,l=vt.event.special[h]||{},c=vt.extend({type:h,origType:f,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&vt.expr.match.needsContext.test(r),namespace:d.join(".")},s),(f=o[h])||((f=o[h]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,i,d,u)||(t.addEventListener?t.addEventListener(h,u,!1):t.attachEvent&&t.attachEvent("on"+h,u))),l.add&&(l.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,c):f.push(c),vt.event.global[h]=!0);t=null}},remove:function(t,e,n,i,r){var o,a,s,l,u,c,h,d,f,p,g,m=vt.hasData(t)&&vt._data(t);if(m&&(c=m.events)){for(u=(e=(e||"").match(_)||[""]).length;u--;)if(f=g=(s=et.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),f){for(h=vt.event.special[f]||{},d=c[f=(i?h.delegateType:h.bindType)||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&&!1!==h.teardown.call(t,p,m.handle)||vt.removeEvent(t,f,m.handle),delete c[f])}else for(f in c)vt.event.remove(t,f+e[u],n,i,!0);vt.isEmptyObject(c)&&(delete m.handle,vt._removeData(t,"events"))}},trigger:function(t,e,n,i){var r,o,a,s,l,u,c=[n||m],h=b.call(t,"type")?t.type:t,d=b.call(t,"namespace")?t.namespace.split("."):[],f=l=n=n||m;if(3!==n.nodeType&&8!==n.nodeType&&!tt.test(h+vt.event.triggered)&&(0<=h.indexOf(".")&&(h=(d=h.split(".")).shift(),d.sort()),o=h.indexOf(":")<0&&"on"+h,(t=t[vt.expando]?t:new vt.Event(h,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=d.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=w,t.target||(t.target=n),e=null==e?[t]:vt.makeArray(e,[t]),s=vt.event.special[h]||{},i||!s.trigger||!1!==s.trigger.apply(n,e))){if(!i&&!s.noBubble&&!vt.isWindow(n)){for(a=s.delegateType||h,tt.test(a+h)||(f=f.parentNode);f;f=f.parentNode)c.push(f),l=f;l===(n.ownerDocument||m)&&c.push(l.defaultView||l.parentWindow||p)}for(u=0;(f=c[u++])&&!t.isPropagationStopped();)t.type=1<u?a:s.bindType||h,(r=(vt._data(f,"events")||{})[t.type]&&vt._data(f,"handle"))&&r.apply(f,e),(r=o&&f[o])&&vt.acceptData(f)&&r.apply&&!1===r.apply(f,e)&&t.preventDefault();if(t.type=h,!i&&!t.isDefaultPrevented()&&(!s._default||!1===s._default.apply(c.pop(),e))&&vt.acceptData(n)&&o&&n[h]&&!vt.isWindow(n)){(l=n[o])&&(n[o]=null),vt.event.triggered=h;try{n[h]()}catch(t){}vt.event.triggered=w,l&&(n[o]=l)}return t.result}},dispatch:function(t){t=vt.event.fix(t);var e,n,i,r,o,a=d.call(arguments),s=(vt._data(this,"events")||{})[t.type]||[],l=vt.event.special[t.type]||{};if((a[0]=t).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(o=vt.event.handlers.call(this,t,s),e=0;(i=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,r=0;(n=i.handlers[r++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,(n=((vt.event.special[n.origType]||{}).handle||n.handler).apply(i.elem,a))!==w&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,a=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(r=[],o=0;o<s;o++)r[n=(i=e[o]).selector+" "]===w&&(r[n]=i.needsContext?0<=vt(n,this).index(l):vt.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&a.push({elem:l,handlers:r})}return e.length>s&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[vt.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Q.test(r)?this.mouseHooks:J.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new vt.Event(o),e=i.length;e--;)t[n=i[e]]=o[n];return t.target||(t.target=o.srcElement||m),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,e){var n,i,r=e.button,o=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=(n=t.target.ownerDocument||m).documentElement,n=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&o&&(t.relatedTarget=o===t.target?e.toElement:o),t.which||r===w||(t.which=1&r?1:2&r?3:4&r?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==rt()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===rt()&&this.blur?(this.blur(),!1):w},delegateType:"focusout"},click:{trigger:function(){return vt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):w},_default:function(t){return vt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==w&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){t=vt.extend(new vt.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?vt.event.trigger(t,null,e):vt.event.dispatch.call(e,t),t.isDefaultPrevented()&&n.preventDefault()}},vt.removeEvent=m.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){e="on"+e;t.detachEvent&&(typeof t[e]===g&&(t[e]=null),t.detachEvent(e,n))},vt.Event=function(t,e){return this instanceof vt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?nt:it):this.type=t,e&&vt.extend(this,e),this.timeStamp=t&&t.timeStamp||vt.now(),this[vt.expando]=!0,w):new vt.Event(t,e)},vt.Event.prototype={isDefaultPrevented:it,isPropagationStopped:it,isImmediatePropagationStopped:it,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=nt,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=nt,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=nt,this.stopPropagation()}},vt.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,r){vt.event.special[t]={delegateType:r,bindType:r,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||vt.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=r),e}}}),vt.support.submitBubbles||(vt.event.special.submit={setup:function(){return!vt.nodeName(this,"form")&&(vt.event.add(this,"click._submit keypress._submit",function(t){t=t.target,t=vt.nodeName(t,"input")||vt.nodeName(t,"button")?t.form:w;t&&!vt._data(t,"submitBubbles")&&(vt.event.add(t,"submit._submit",function(t){t._submit_bubble=!0}),vt._data(t,"submitBubbles",!0))}),w)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&vt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!vt.nodeName(this,"form")&&(vt.event.remove(this,"._submit"),w)}}),vt.support.changeBubbles||(vt.event.special.change={setup:function(){return K.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(vt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),vt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),vt.event.simulate("change",this,t,!0)})),!1):(vt.event.add(this,"beforeactivate._change",function(t){t=t.target;K.test(t.nodeName)&&!vt._data(t,"changeBubbles")&&(vt.event.add(t,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||vt.event.simulate("change",this.parentNode,t,!0)}),vt._data(t,"changeBubbles",!0))}),w)},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):w},teardown:function(){return vt.event.remove(this,"._change"),!K.test(this.nodeName)}}),vt.support.focusinBubbles||vt.each({focus:"focusin",blur:"focusout"},function(t,e){function n(t){vt.event.simulate(e,t.target,vt.event.fix(t),!0)}var i=0;vt.event.special[e]={setup:function(){0==i++&&m.addEventListener(t,n,!0)},teardown:function(){0==--i&&m.removeEventListener(t,n,!0)}}}),vt.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(n=n||e,e=w),t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=w):null==i&&("string"==typeof e?(i=n,n=w):(i=n,n=e,e=w)),!1===i)i=it;else if(!i)return this;return 1===r&&(a=i,(i=function(t){return vt().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=vt.guid++)),this.each(function(){vt.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,vt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=w),!1===n&&(n=it),this.each(function(){vt.event.remove(this,t,n,e)});for(r in t)this.off(r,e,t[r]);return this},trigger:function(t,e){return this.each(function(){vt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?vt.event.trigger(t,e,n,!0):w}});var ot=/^.[^:#\[\.,]*$/,at=/^(?:parents|prev(?:Until|All))/,st=vt.expr.match.needsContext,lt={children:!0,contents:!0,next:!0,prev:!0};function ut(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function ct(t,n,i){if(vt.isFunction(n))return vt.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return vt.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(ot.test(n))return vt.filter(n,t,i);n=vt.filter(n,t)}return vt.grep(t,function(t){return 0<=vt.inArray(t,n)!==i})}function ht(t){var e=dt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}vt.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(vt(t).filter(function(){for(e=0;e<r;e++)if(vt.contains(i[e],this))return!0}));for(e=0;e<r;e++)vt.find(t,i[e],n);return(n=this.pushStack(1<r?vt.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},has:function(t){var e,n=vt(t,this),i=n.length;return this.filter(function(){for(e=0;e<i;e++)if(vt.contains(this,n[e]))return!0})},not:function(t){return this.pushStack(ct(this,t||[],!0))},filter:function(t){return this.pushStack(ct(this,t||[],!1))},is:function(t){return!!ct(this,"string"==typeof t&&st.test(t)?vt(t):t||[],!1).length},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=st.test(t)||"string"!=typeof t?vt(t,e||this.context):0;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&vt.find.matchesSelector(n,t))){n=o.push(n);break}return this.pushStack(1<o.length?vt.unique(o):o)},index:function(t){return t?"string"==typeof t?vt.inArray(this[0],vt(t)):vt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){t="string"==typeof t?vt(t,e):vt.makeArray(t&&t.nodeType?[t]:t),t=vt.merge(this.get(),t);return this.pushStack(vt.unique(t))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),vt.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return vt.dir(t,"parentNode")},parentsUntil:function(t,e,n){return vt.dir(t,"parentNode",n)},next:function(t){return ut(t,"nextSibling")},prev:function(t){return ut(t,"previousSibling")},nextAll:function(t){return vt.dir(t,"nextSibling")},prevAll:function(t){return vt.dir(t,"previousSibling")},nextUntil:function(t,e,n){return vt.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return vt.dir(t,"previousSibling",n)},siblings:function(t){return vt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return vt.sibling(t.firstChild)},contents:function(t){return vt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:vt.merge([],t.childNodes)}},function(i,r){vt.fn[i]=function(t,e){var n=vt.map(this,r,t);return(e="Until"!==i.slice(-5)?t:e)&&"string"==typeof e&&(n=vt.filter(e,n)),1<this.length&&(lt[i]||(n=vt.unique(n)),at.test(i)&&(n=n.reverse())),this.pushStack(n)}}),vt.extend({filter:function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?vt.find.matchesSelector(i,t)?[i]:[]:vt.find.matches(t,vt.grep(e,function(t){return 1===t.nodeType}))},dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(n===w||1!==r.nodeType||!vt(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}});var dt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ft=/ jQuery\d+="(?:null|\d+)"/g,pt=RegExp("<(?:"+dt+")[\\s/>]","i"),gt=/^\s+/,mt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,yt=/<([\w:]+)/,bt=/<tbody/i,xt=/<|&#?\w+;/,wt=/<(?:script|style|link)/i,St=/^(?:checkbox|radio)$/i,_t=/checked\s*(?:[^=]|=\s*.checked.)/i,Ct=/^$|\/(?:java|ecma)script/i,kt=/^true\/(.*)/,Mt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Tt={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:vt.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Dt=ht(m).appendChild(m.createElement("div"));function At(t,e){return vt.nodeName(t,"table")&&vt.nodeName(1===e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function Pt(t){return t.type=(null!==vt.find.attr(t,"type"))+"/"+t.type,t}function Et(t){var e=kt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Ot(t,e){for(var n,i=0;null!=(n=t[i]);i++)vt._data(n,"globalEval",!e||vt._data(e[i],"globalEval"))}function Lt(t,e){if(1===e.nodeType&&vt.hasData(t)){var n,i,r,o=vt._data(t),t=vt._data(e,o),a=o.events;if(a)for(n in delete t.handle,t.events={},a)for(i=0,r=a[n].length;i<r;i++)vt.event.add(e,n,a[n][i]);t.data&&(t.data=vt.extend({},t.data))}}function It(t,e){var n,i,r=0,o=typeof t.getElementsByTagName!==g?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==g?t.querySelectorAll(e||"*"):w;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||vt.nodeName(i,e)?o.push(i):vt.merge(o,It(i,e));return e===w||e&&vt.nodeName(t,e)?vt.merge([t],o):o}function Nt(t){St.test(t.type)&&(t.defaultChecked=t.checked)}Tt.optgroup=Tt.option,Tt.tbody=Tt.tfoot=Tt.colgroup=Tt.caption=Tt.thead,Tt.th=Tt.td,vt.fn.extend({text:function(t){return vt.access(this,function(t){return t===w?vt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||m).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||At(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=At(this,t)).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?vt.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||vt.cleanData(It(n)),n.parentNode&&(e&&vt.contains(n.ownerDocument,n)&&Ot(It(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&vt.cleanData(It(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&vt.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 vt.clone(this,t,e)})},html:function(t){return vt.access(this,function(t){var e=this[0]||{},n=0,i=this.length;if(t===w)return 1===e.nodeType?e.innerHTML.replace(ft,""):w;if(!("string"!=typeof t||wt.test(t)||!vt.support.htmlSerialize&&pt.test(t)||!vt.support.leadingWhitespace&&gt.test(t)||Tt[(yt.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(mt,"<$1></$2>");try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(vt.cleanData(It(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=vt.map(this,function(t){return[t.nextSibling,t.parentNode]}),r=0;return this.domManip(arguments,function(t){var e=i[r++],n=i[r++];n&&(e&&e.parentNode!==n&&(e=this.nextSibling),vt(this).remove(),n.insertBefore(t,e))},!0),r?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(n,i,r){n=y.apply([],n);var t,e,o,a,s,l,u=0,c=this.length,h=this,d=c-1,f=n[0],p=vt.isFunction(f);if(p||!(c<=1||"string"!=typeof f||vt.support.checkClone)&&_t.test(f))return this.each(function(t){var e=h.eq(t);p&&(n[0]=f.call(this,t,e.html())),e.domManip(n,i,r)});if(c&&(t=(l=vt.buildFragment(n,this[0].ownerDocument,!1,!r&&this)).firstChild,1===l.childNodes.length&&(l=t),t)){for(o=(a=vt.map(It(l,"script"),Pt)).length;u<c;u++)e=l,u!==d&&(e=vt.clone(e,!0,!0),o&&vt.merge(a,It(e,"script"))),i.call(this[u],e,u);if(o)for(s=a[a.length-1].ownerDocument,vt.map(a,Et),u=0;u<o;u++)e=a[u],Ct.test(e.type||"")&&!vt._data(e,"globalEval")&&vt.contains(s,e)&&(e.src?vt._evalUrl(e.src):vt.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Mt,"")));l=t=null}return this}}),vt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){vt.fn[t]=function(t){for(var e,n=0,i=[],r=vt(t),o=r.length-1;n<=o;n++)e=n===o?this:this.clone(!0),vt(r[n])[a](e),c.apply(i,e.get());return this.pushStack(i)}}),vt.extend({clone:function(t,e,n){var i,r,o,a,s,l=vt.contains(t.ownerDocument,t);if(vt.support.html5Clone||vt.isXMLDoc(t)||!pt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Dt.innerHTML=t.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(vt.support.noCloneEvent&&vt.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||vt.isXMLDoc(t)))for(i=It(o),s=It(t),a=0;null!=(r=s[a]);++a)i[a]&&function(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!vt.support.noCloneEvent&&e[vt.expando]){for(i in(r=vt._data(e)).events)vt.removeEvent(e,i,r.handle);e.removeAttribute(vt.expando)}"script"===n&&e.text!==t.text?(Pt(e).text=t.text,Et(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),vt.support.html5Clone&&t.innerHTML&&!vt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&St.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)}}(r,i[a]);if(e)if(n)for(s=s||It(t),i=i||It(o),a=0;null!=(r=s[a]);a++)Lt(r,i[a]);else Lt(t,o);return 0<(i=It(o,"script")).length&&Ot(i,!l&&It(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=ht(e),f=[],p=0;p<h;p++)if((o=t[p])||0===o)if("object"===vt.type(o))vt.merge(f,o.nodeType?[o]:o);else if(xt.test(o)){for(s=s||d.appendChild(e.createElement("div")),l=(yt.exec(o)||["",""])[1].toLowerCase(),c=Tt[l]||Tt._default,s.innerHTML=c[1]+o.replace(mt,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!vt.support.leadingWhitespace&&gt.test(o)&&f.push(e.createTextNode(gt.exec(o)[0])),!vt.support.tbody)for(r=(o="table"!==l||bt.test(o)?"<table>"!==c[1]||bt.test(o)?0:s:s.firstChild)&&o.childNodes.length;r--;)vt.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(vt.merge(f,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=d.lastChild}else f.push(e.createTextNode(o));for(s&&d.removeChild(s),vt.support.appendChecked||vt.grep(It(f,"input"),Nt),p=0;o=f[p++];)if((!i||-1===vt.inArray(o,i))&&(a=vt.contains(o.ownerDocument,o),s=It(d.appendChild(o),"script"),a&&Ot(s),n))for(r=0;o=s[r++];)Ct.test(o.type||"")&&n.push(o);return s=null,d},cleanData:function(t,e){for(var n,i,r,o,a=0,s=vt.expando,l=vt.cache,u=vt.support.deleteExpando,c=vt.event.special;null!=(n=t[a]);a++)if((e||vt.acceptData(n))&&(o=(r=n[s])&&l[r])){if(o.events)for(i in o.events)c[i]?vt.event.remove(n,i):vt.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==g?n.removeAttribute(s):n[s]=null,h.push(r))}},_evalUrl:function(t){return vt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),vt.fn.extend({wrapAll:function(e){return vt.isFunction(e)?this.each(function(t){vt(this).wrapAll(e.call(this,t))}):(this[0]&&(t=vt(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)),this);var t},wrapInner:function(n){return vt.isFunction(n)?this.each(function(t){vt(this).wrapInner(n.call(this,t))}):this.each(function(){var t=vt(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=vt.isFunction(e);return this.each(function(t){vt(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){vt.nodeName(this,"body")||vt(this).replaceWith(this.childNodes)}).end()}});var Rt,Ft,jt,Ht=/alpha\([^)]*\)/i,Bt=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Wt=/^(none|table(?!-c[ea]).+)/,$t=/^margin/,qt=RegExp("^("+S+")(.*)$","i"),Ut=RegExp("^("+S+")(?!px)[a-z%]+$","i"),Yt=RegExp("^([+-])=("+S+")","i"),Gt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],Kt=["Webkit","O","Moz","ms"];function Jt(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=Kt.length;r--;)if((e=Kt[r]+n)in t)return e;return i}function Qt(t,e){return"none"===vt.css(t=e||t,"display")||!vt.contains(t.ownerDocument,t)}function te(t,e){for(var n,i,r,o=[],a=0,s=t.length;a<s;a++)(i=t[a]).style&&(o[a]=vt._data(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&Qt(i)&&(o[a]=vt._data(i,"olddisplay",re(i.nodeName)))):o[a]||(r=Qt(i),(n&&"none"!==n||!r)&&vt._data(i,"olddisplay",r?n:vt.css(i,"display"))));for(a=0;a<s;a++)(i=t[a]).style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function ee(t,e,n){var i=qt.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function ne(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=vt.css(t,n+Zt[o],!0,r)),i?("content"===n&&(a-=vt.css(t,"padding"+Zt[o],!0,r)),"margin"!==n&&(a-=vt.css(t,"border"+Zt[o]+"Width",!0,r))):(a+=vt.css(t,"padding"+Zt[o],!0,r),"padding"!==n&&(a+=vt.css(t,"border"+Zt[o]+"Width",!0,r)));return a}function ie(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=Ft(t),a=vt.support.boxSizing&&"border-box"===vt.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(((r=jt(t,e,o))<0||null==r)&&(r=t.style[e]),Ut.test(r))return r;i=a&&(vt.support.boxSizingReliable||r===t.style[e]),r=parseFloat(r)||0}return r+ne(t,e,n||(a?"border":"content"),i,o)+"px"}function re(t){var e=m,n=Gt[t];return n||("none"!==(n=oe(t,e))&&n||((e=((Rt=(Rt||vt("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||Rt[0].contentDocument).document).write("<!doctype html><html><body>"),e.close(),n=oe(t,e),Rt.detach()),Gt[t]=n),n}function oe(t,e){t=vt(e.createElement(t)).appendTo(e.body),e=vt.css(t[0],"display");return t.remove(),e}vt.fn.extend({css:function(t,e){return vt.access(this,function(t,e,n){var i,r,o={},a=0;if(vt.isArray(e)){for(r=Ft(t),i=e.length;a<i;a++)o[e[a]]=vt.css(t,e[a],!1,r);return o}return n!==w?vt.style(t,e,n):vt.css(t,e)},t,e,1<arguments.length)},show:function(){return te(this,!0)},hide:function(){return te(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Qt(this)?vt(this).show():vt(this).hide()})}}),vt.extend({cssHooks:{opacity:{get:function(t,e){if(e){t=jt(t,"opacity");return""===t?"1":t}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:vt.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=vt.camelCase(e),l=t.style;if(e=vt.cssProps[s]||(vt.cssProps[s]=Jt(l,s)),a=vt.cssHooks[e]||vt.cssHooks[s],n===w)return a&&"get"in a&&(r=a.get(t,!1,i))!==w?r:l[e];if("string"===(o=typeof n)&&(r=Yt.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(vt.css(t,e)),o="number"),!(null==n||"number"===o&&isNaN(n)||("number"!==o||vt.cssNumber[s]||(n+="px"),vt.support.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&(n=a.set(t,n,i))===w)))try{l[e]=n}catch(t){}}},css:function(t,e,n,i){var r,o=vt.camelCase(e);return e=vt.cssProps[o]||(vt.cssProps[o]=Jt(t.style,o)),"normal"===(r=(r=(o=vt.cssHooks[e]||vt.cssHooks[o])&&"get"in o?o.get(t,!0,n):r)===w?jt(t,e,i):r)&&e in Vt&&(r=Vt[e]),""===n||n?(e=parseFloat(r),!0===n||vt.isNumeric(e)?e||0:r):r}}),p.getComputedStyle?(Ft=function(t){return p.getComputedStyle(t,null)},jt=function(t,e,n){var i=n||Ft(t),r=i?i.getPropertyValue(e)||i[e]:w,o=t.style;return i&&(""!==r||vt.contains(t.ownerDocument,t)||(r=vt.style(t,e)),Ut.test(r)&&$t.test(e)&&(n=o.width,t=o.minWidth,e=o.maxWidth,o.minWidth=o.maxWidth=o.width=r,r=i.width,o.width=n,o.minWidth=t,o.maxWidth=e)),r}):m.documentElement.currentStyle&&(Ft=function(t){return t.currentStyle},jt=function(t,e,n){var i,r=n||Ft(t),o=r?r[e]:w,a=t.style;return null==o&&a&&a[e]&&(o=a[e]),Ut.test(o)&&!zt.test(e)&&(i=a.left,(r=(n=t.runtimeStyle)&&n.left)&&(n.left=t.currentStyle.left),a.left="fontSize"===e?"1em":o,o=a.pixelLeft+"px",a.left=i,r&&(n.left=r)),""===o?"auto":o}),vt.each(["height","width"],function(t,r){vt.cssHooks[r]={get:function(t,e,n){return e?0===t.offsetWidth&&Wt.test(vt.css(t,"display"))?vt.swap(t,Xt,function(){return ie(t,r,n)}):ie(t,r,n):w},set:function(t,e,n){var i=n&&Ft(t);return ee(0,e,n?ne(t,r,n,vt.support.boxSizing&&"border-box"===vt.css(t,"boxSizing",!1,i),i):0)}}}),vt.support.opacity||(vt.cssHooks.opacity={get:function(t,e){return Bt.test((e&&t.currentStyle?t.currentStyle:t.style).filter||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=vt.isNumeric(e)?"alpha(opacity="+100*e+")":"",t=i&&i.filter||n.filter||"";((n.zoom=1)<=e||""===e)&&""===vt.trim(t.replace(Ht,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=Ht.test(t)?t.replace(Ht,r):t+" "+r)}}),vt(function(){vt.support.reliableMarginRight||(vt.cssHooks.marginRight={get:function(t,e){return e?vt.swap(t,{display:"inline-block"},jt,[t,"marginRight"]):w}}),!vt.support.pixelPosition&&vt.fn.position&&vt.each(["top","left"],function(t,n){vt.cssHooks[n]={get:function(t,e){return e?(e=jt(t,n),Ut.test(e)?vt(t).position()[n]+"px":e):w}}})}),vt.expr&&vt.expr.filters&&(vt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!vt.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||vt.css(t,"display"))},vt.expr.filters.visible=function(t){return!vt.expr.filters.hidden(t)}),vt.each({margin:"",padding:"",border:"Width"},function(r,o){vt.cssHooks[r+o]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[r+Zt[e]+o]=i[e]||i[e-2]||i[0];return n}},$t.test(r)||(vt.cssHooks[r+o].set=ee)});var ae=/%20/g,se=/\[\]$/,le=/\r?\n/g,ue=/^(?:submit|button|image|reset|file)$/i,ce=/^(?:input|select|textarea|keygen)/i;vt.fn.extend({serialize:function(){return vt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=vt.prop(this,"elements");return t?vt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!vt(this).is(":disabled")&&ce.test(this.nodeName)&&!ue.test(t)&&(this.checked||!St.test(t))}).map(function(t,e){var n=vt(this).val();return null==n?null:vt.isArray(n)?vt.map(n,function(t){return{name:e.name,value:t.replace(le,"\r\n")}}):{name:e.name,value:n.replace(le,"\r\n")}}).get()}}),vt.param=function(t,e){function n(t,e){e=vt.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)}var i,r=[];if(e===w&&(e=vt.ajaxSettings&&vt.ajaxSettings.traditional),vt.isArray(t)||t.jquery&&!vt.isPlainObject(t))vt.each(t,function(){n(this.name,this.value)});else for(i in t)!function n(i,t,r,o){if(vt.isArray(t))vt.each(t,function(t,e){r||se.test(i)?o(i,e):n(i+"["+("object"==typeof e?t:"")+"]",e,r,o)});else if(r||"object"!==vt.type(t))o(i,t);else for(var e in t)n(i+"["+e+"]",t[e],r,o)}(i,t[i],e,n);return r.join("&").replace(ae,"+")},vt.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,n){vt.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),vt.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 he,de,fe=vt.now(),pe=/\?/,ge=/#.*$/,me=/([?&])_=[^&]*/,ye=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,ve=/^(?:GET|HEAD)$/,be=/^\/\//,xe=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,we=vt.fn.load,Se={},_e={},Ce="*/".concat("*");try{de=t.href}catch(t){(de=m.createElement("a")).href="",de=de.href}function ke(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,r=t.toLowerCase().match(_)||[];if(vt.isFunction(e))for(;n=r[i++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(e)):(o[n]=o[n]||[]).push(e)}}function Me(e,i,r,o){var a={},s=e===_e;function l(t){var n;return a[t]=!0,vt.each(e[t]||[],function(t,e){e=e(i,r,o);return"string"!=typeof e||s||a[e]?s?!(n=e):w:(i.dataTypes.unshift(e),l(e),!1)}),n}return l(i.dataTypes[0])||!a["*"]&&l("*")}function Te(t,e){var n,i,r=vt.ajaxSettings.flatOptions||{};for(i in e)e[i]!==w&&((r[i]?t:n=n||{})[i]=e[i]);return n&&vt.extend(!0,t,n),t}he=xe.exec(de.toLowerCase())||[],vt.fn.load=function(t,e,n){if("string"!=typeof t&&we)return we.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return 0<=s&&(i=t.slice(s,t.length),t=t.slice(0,s)),vt.isFunction(e)?(n=e,e=w):e&&"object"==typeof e&&(o="POST"),0<a.length&&vt.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,a.html(i?vt("<div>").append(vt.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,r||[t.responseText,e,t])}),this},vt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){vt.fn[e]=function(t){return this.on(e,t)}}),vt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:de,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(he[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ce,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":vt.parseJSON,"text xml":vt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Te(Te(t,vt.ajaxSettings),e):Te(vt.ajaxSettings,t)},ajaxPrefilter:ke(Se),ajaxTransport:ke(_e),ajax:function(t,e){"object"==typeof t&&(e=t,t=w);var n,l,u,c,h,d,i,f=vt.ajaxSetup({},e=e||{}),p=f.context||f,g=f.context&&(p.nodeType||p.jquery)?vt(p):vt.event,m=vt.Deferred(),y=vt.Callbacks("once memory"),v=f.statusCode||{},r={},o={},b=0,a="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!i)for(i={};e=ye.exec(u);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?u:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=o[n]=o[n]||t,r[t]=e),this},overrideMimeType:function(t){return b||(f.mimeType=t),this},statusCode:function(t){if(t)if(b<2)for(var e in t)v[e]=[v[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){t=t||a;return d&&d.abort(t),s(0,t),this}};if(m.promise(x).complete=y.add,x.success=x.done,x.error=x.fail,f.url=((t||f.url||de)+"").replace(ge,"").replace(be,he[1]+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=vt.trim(f.dataType||"*").toLowerCase().match(_)||[""],null==f.crossDomain&&(t=xe.exec(f.url.toLowerCase()),f.crossDomain=!(!t||t[1]===he[1]&&t[2]===he[2]&&(t[3]||("http:"===t[1]?"80":"443"))===(he[3]||("http:"===he[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=vt.param(f.data,f.traditional)),Me(Se,f,e,x),2===b)return x;for(n in(h=f.global)&&0==vt.active++&&vt.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!ve.test(f.type),l=f.url,f.hasContent||(f.data&&(l=f.url+=(pe.test(l)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=me.test(l)?l.replace(me,"$1_="+fe++):l+(pe.test(l)?"&":"?")+"_="+fe++)),f.ifModified&&(vt.lastModified[l]&&x.setRequestHeader("If-Modified-Since",vt.lastModified[l]),vt.etag[l]&&x.setRequestHeader("If-None-Match",vt.etag[l])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&x.setRequestHeader("Content-Type",f.contentType),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ce+"; q=0.01":""):f.accepts["*"]),f.headers)x.setRequestHeader(n,f.headers[n]);if(f.beforeSend&&(!1===f.beforeSend.call(p,x,f)||2===b))return x.abort();for(n in a="abort",{success:1,error:1,complete:1})x[n](f[n]);if(d=Me(_e,f,e,x)){x.readyState=1,h&&g.trigger("ajaxSend",[x,f]),f.async&&0<f.timeout&&(c=setTimeout(function(){x.abort("timeout")},f.timeout));try{b=1,d.send(r,s)}catch(t){if(!(b<2))throw t;s(-1,t)}}else s(-1,"No Transport");function s(t,e,n,i){var r,o,a,s=e;2!==b&&(b=2,c&&clearTimeout(c),d=w,u=i||"",x.readyState=0<t?4:0,i=200<=t&&t<300||304===t,n&&(a=function(t,e,n){var i,r,o,a,s=t.contents,l=t.dataTypes;for(;"*"===l[0];)l.shift(),r===w&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||t.converters[a+" "+l[0]]){o=a;break}i=i||a}o=o||i}return o?(o!==l[0]&&l.unshift(o),n[o]):w}(f,x,n)),a=function(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];o=c.shift();for(;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]))for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)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}}(f,a,x,i),i?(f.ifModified&&((n=x.getResponseHeader("Last-Modified"))&&(vt.lastModified[l]=n),(n=x.getResponseHeader("etag"))&&(vt.etag[l]=n)),204===t||"HEAD"===f.type?s="nocontent":304===t?s="notmodified":(s=a.state,r=a.data,i=!(o=a.error))):(o=s,!t&&s||(s="error",t<0&&(t=0))),x.status=t,x.statusText=(e||s)+"",i?m.resolveWith(p,[r,s,x]):m.rejectWith(p,[x,s,o]),x.statusCode(v),v=w,h&&g.trigger(i?"ajaxSuccess":"ajaxError",[x,f,i?r:o]),y.fireWith(p,[x,s]),h&&(g.trigger("ajaxComplete",[x,f]),--vt.active||vt.event.trigger("ajaxStop")))}return x},getJSON:function(t,e,n){return vt.get(t,e,n,"json")},getScript:function(t,e){return vt.get(t,w,e,"script")}}),vt.each(["get","post"],function(t,r){vt[r]=function(t,e,n,i){return vt.isFunction(e)&&(i=i||n,n=e,e=w),vt.ajax({url:t,type:r,dataType:i,data:e,success:n})}}),vt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return vt.globalEval(t),t}}}),vt.ajaxPrefilter("script",function(t){t.cache===w&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),vt.ajaxTransport("script",function(e){if(e.crossDomain){var i,r=m.head||vt("head")[0]||m.documentElement;return{send:function(t,n){(i=m.createElement("script")).async=!0,e.scriptCharset&&(i.charset=e.scriptCharset),i.src=e.url,i.onload=i.onreadystatechange=function(t,e){!e&&i.readyState&&!/loaded|complete/.test(i.readyState)||(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,e||n(200,"success"))},r.insertBefore(i,r.firstChild)},abort:function(){i&&i.onload(w,!0)}}}});var De=[],Ae=/(=)\?(?=&|$)|\?\?/;vt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=De.pop()||vt.expando+"_"+fe++;return this[t]=!0,t}}),vt.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,o,a=!1!==t.jsonp&&(Ae.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ae.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=vt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ae,"$1"+i):!1!==t.jsonp&&(t.url+=(pe.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||vt.error(i+" was not called"),o[0]},t.dataTypes[0]="json",r=p[i],p[i]=function(){o=arguments},n.always(function(){p[i]=r,t[i]&&(t.jsonpCallback=e.jsonpCallback,De.push(i)),o&&vt.isFunction(r)&&r(o[0]),o=r=w}),"script"):w});var Pe,Ee=0,Oe=p.ActiveXObject&&function(){for(var t in Pe)Pe[t](w,!0)};function Le(){try{return new p.XMLHttpRequest}catch(t){}}vt.ajaxSettings.xhr=p.ActiveXObject?function(){return!this.isLocal&&Le()||function(){try{return new p.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:Le,t=vt.ajaxSettings.xhr(),vt.support.cors=!!t&&"withCredentials"in t,(t=vt.support.ajax=!!t)&&vt.ajaxTransport(function(u){var c;if(!u.crossDomain||vt.support.cors)return{send:function(t,a){var s,e,l=u.xhr();if(u.username?l.open(u.type,u.url,u.async,u.username,u.password):l.open(u.type,u.url,u.async),u.xhrFields)for(e in u.xhrFields)l[e]=u.xhrFields[e];u.mimeType&&l.overrideMimeType&&l.overrideMimeType(u.mimeType),u.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest");try{for(e in t)l.setRequestHeader(e,t[e])}catch(t){}l.send(u.hasContent&&u.data||null),c=function(t,e){var n,i,r,o;try{if(c&&(e||4===l.readyState))if(c=w,s&&(l.onreadystatechange=vt.noop,Oe&&delete Pe[s]),e)4!==l.readyState&&l.abort();else{o={},n=l.status,i=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(o.text=l.responseText);try{r=l.statusText}catch(t){r=""}n||!u.isLocal||u.crossDomain?1223===n&&(n=204):n=o.text?200:404}}catch(t){e||a(-1,t)}o&&a(n,r,o,i)},u.async?4===l.readyState?setTimeout(c):(s=++Ee,Oe&&(Pe||(Pe={},vt(p).unload(Oe)),Pe[s]=c),l.onreadystatechange=c):c()},abort:function(){c&&c(w,!0)}}});var Ie,Ne,Re=/^(?:toggle|show|hide)$/,Fe=RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),je=/queueHooks$/,He=[function(e,t,n){var i,r,o,a,s,l,u=this,c={},h=e.style,d=e.nodeType&&Qt(e),f=vt._data(e,"fxshow");for(i in n.queue||(null==(s=vt._queueHooks(e,"fx")).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--,vt.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],"inline"===vt.css(e,"display")&&"none"===vt.css(e,"float")&&(vt.support.inlineBlockNeedsLayout&&"inline"!==re(e.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",vt.support.shrinkWrapBlocks||u.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),t)if(r=t[i],Re.exec(r)){if(delete t[i],o=o||"toggle"===r,r===(d?"hide":"show"))continue;c[i]=f&&f[i]||vt.style(e,i)}if(!vt.isEmptyObject(c))for(i in f?"hidden"in f&&(d=f.hidden):f=vt._data(e,"fxshow",{}),o&&(f.hidden=!d),d?vt(e).show():u.done(function(){vt(e).hide()}),u.done(function(){for(var t in vt._removeData(e,"fxshow"),c)vt.style(e,t,c[t])}),c)a=We(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))}],Be={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),e=Fe.exec(e),r=e&&e[3]||(vt.cssNumber[t]?"":"px"),o=(vt.cssNumber[t]||"px"!==r&&+i)&&Fe.exec(vt.css(n.elem,t)),a=1,s=20;if(o&&o[3]!==r)for(r=r||o[3],e=e||[],o=+i||1;vt.style(n.elem,t,(o/=a=a||".5")+r),a!==(a=n.cur()/i)&&1!==a&&--s;);return e&&(o=n.start=+o||+i||0,n.unit=r,n.end=e[1]?o+(e[1]+1)*e[2]:+e[2]),n}]};function ze(){return setTimeout(function(){Ie=w}),Ie=vt.now()}function We(t,e,n){for(var i,r=(Be[e]||[]).concat(Be["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function $e(r,t,e){var n,o,i=0,a=He.length,s=vt.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=Ie||ze(),t=Math.max(0,u.startTime+u.duration-t),e=1-(t/u.duration||0),n=0,i=u.tweens.length;n<i;n++)u.tweens[n].run(e);return s.notifyWith(r,[u,e,t]),e<1&&i?t:(s.resolveWith(r,[u]),!1)},u=s.promise({elem:r,props:vt.extend({},t),opts:vt.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:Ie||ze(),duration:e.duration,tweens:[],createTween:function(t,e){t=vt.Tween(r,u.opts,t,e,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(t),t},stop:function(t){var e=0,n=t?u.tweens.length:0;if(o)return this;for(o=!0;e<n;e++)u.tweens[e].run(1);return t?s.resolveWith(r,[u,t]):s.rejectWith(r,[u,t]),this}}),c=u.props;for(function(t,e){var n,i,r,o,a;for(n in t)if(i=vt.camelCase(n),r=e[i],o=t[n],vt.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),a=vt.cssHooks[i],a&&"expand"in a)for(n in o=a.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(c,u.opts.specialEasing);i<a;i++)if(n=He[i].call(u,r,c,u.opts))return n;return vt.map(c,We,u),vt.isFunction(u.opts.start)&&u.opts.start.call(r,u),vt.fx.timer(vt.extend(l,{elem:r,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function qe(t,e,n,i,r){return new qe.prototype.init(t,e,n,i,r)}function Ue(t,e){var n,i={height:t},r=0;for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=Zt[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function Ye(t){return vt.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}vt.Animation=vt.extend($e,{tweener:function(t,e){for(var n,i=0,r=(t=vt.isFunction(t)?(e=t,["*"]):t.split(" ")).length;i<r;i++)n=t[i],Be[n]=Be[n]||[],Be[n].unshift(e)},prefilter:function(t,e){e?He.unshift(t):He.push(t)}}),(vt.Tween=qe).prototype={constructor:qe,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||(vt.cssNumber[n]?"":"px")},cur:function(){var t=qe.propHooks[this.prop];return(t&&t.get?t:qe.propHooks._default).get(this)},run:function(t){var e=qe.propHooks[this.prop];return this.pos=t=this.options.duration?vt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(e&&e.set?e:qe.propHooks._default).set(this),this}},qe.prototype.init.prototype=qe.prototype,qe.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=vt.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){vt.fx.step[t.prop]?vt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[vt.cssProps[t.prop]]||vt.cssHooks[t.prop])?vt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},qe.propHooks.scrollTop=qe.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},vt.each(["toggle","show","hide"],function(t,i){var r=vt.fn[i];vt.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?r.apply(this,arguments):this.animate(Ue(i,!0),t,e,n)}}),vt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Qt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){var r=vt.isEmptyObject(e),o=vt.speed(t,n,i),i=function(){var t=$e(this,vt.extend({},e),o);(r||vt._data(this,"finish"))&&t.stop(!0)};return i.finish=i,r||!1===o.queue?this.each(i):this.queue(o.queue,i)},stop:function(r,t,o){function a(t){var e=t.stop;delete t.stop,e(o)}return"string"!=typeof r&&(o=t,t=r,r=w),t&&!1!==r&&this.queue(r||"fx",[]),this.each(function(){var t=!0,e=null!=r&&r+"queueHooks",n=vt.timers,i=vt._data(this);if(e)i[e]&&i[e].stop&&a(i[e]);else for(e in i)i[e]&&i[e].stop&&je.test(e)&&a(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=r&&n[e].queue!==r||(n[e].anim.stop(o),t=!1,n.splice(e,1));!t&&o||vt.dequeue(this,r)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=vt._data(this),n=e[a+"queue"],i=e[a+"queueHooks"],r=vt.timers,o=n?n.length:0;for(e.finish=!0,vt.queue(this,a,[]),i&&i.stop&&i.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===a&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),vt.each({slideDown:Ue("show"),slideUp:Ue("hide"),slideToggle:Ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){vt.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),vt.speed=function(t,e,n){var i=t&&"object"==typeof t?vt.extend({},t):{complete:n||!n&&e||vt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!vt.isFunction(e)&&e};return i.duration=vt.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in vt.fx.speeds?vt.fx.speeds[i.duration]:vt.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){vt.isFunction(i.old)&&i.old.call(this),i.queue&&vt.dequeue(this,i.queue)},i},vt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},vt.timers=[],vt.fx=qe.prototype.init,vt.fx.tick=function(){var t,e=vt.timers,n=0;for(Ie=vt.now();e.length>n;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||vt.fx.stop(),Ie=w},vt.fx.timer=function(t){t()&&vt.timers.push(t)&&vt.fx.start()},vt.fx.interval=13,vt.fx.start=function(){Ne=Ne||setInterval(vt.fx.tick,vt.fx.interval)},vt.fx.stop=function(){clearInterval(Ne),Ne=null},vt.fx.speeds={slow:600,fast:200,_default:400},vt.fx.step={},vt.expr&&vt.expr.filters&&(vt.expr.filters.animated=function(e){return vt.grep(vt.timers,function(t){return e===t.elem}).length}),vt.fn.offset=function(e){if(arguments.length)return e===w?this:this.each(function(t){vt.offset.setOffset(this,e,t)});var t,n={top:0,left:0},i=this[0],r=i&&i.ownerDocument;return r?(t=r.documentElement,vt.contains(t,i)?(typeof i.getBoundingClientRect!==g&&(n=i.getBoundingClientRect()),r=Ye(r),{top:n.top+(r.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(r.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):n):void 0},vt.offset={setOffset:function(t,e,n){var i=vt.css(t,"position");"static"===i&&(t.style.position="relative");var r,o,a=vt(t),s=a.offset(),l=vt.css(t,"top"),u=vt.css(t,"left"),c={},u=("absolute"===i||"fixed"===i)&&-1<vt.inArray("auto",[l,u])?(o=(r=a.position()).top,r.left):(o=parseFloat(l)||0,parseFloat(u)||0);null!=(e=vt.isFunction(e)?e.call(t,n,s):e).top&&(c.top=e.top-s.top+o),null!=e.left&&(c.left=e.left-s.left+u),"using"in e?e.using.call(t,c):a.css(c)}},vt.fn.extend({position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===vt.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),(n=!vt.nodeName(t[0],"html")?t.offset():n).top+=vt.css(t[0],"borderTopWidth",!0),n.left+=vt.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-vt.css(i,"marginTop",!0),left:e.left-n.left-vt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||o;t&&!vt.nodeName(t,"html")&&"static"===vt.css(t,"position");)t=t.offsetParent;return t||o})}}),vt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var o=/Y/.test(r);vt.fn[e]=function(t){return vt.access(this,function(t,e,n){var i=Ye(t);return n===w?i?r in i?i[r]:i.document.documentElement[e]:t[e]:(i?i.scrollTo(o?vt(i).scrollLeft():n,o?n:vt(i).scrollTop()):t[e]=n,w)},e,t,arguments.length,null)}}),vt.each({Height:"height",Width:"width"},function(o,a){vt.each({padding:"inner"+o,content:a,"":"outer"+o},function(i,t){vt.fn[t]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),r=i||(!0===t||!0===e?"margin":"border");return vt.access(this,function(t,e,n){var i;return vt.isWindow(t)?t.document.documentElement["client"+o]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+o],i["scroll"+o],t.body["offset"+o],i["offset"+o],i["client"+o])):n===w?vt.css(t,e,r):vt.style(t,e,n,r)},a,n?t:w,n,null)}})}),vt.fn.size=function(){return this.length},vt.fn.andSelf=vt.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=vt:(p.jQuery=p.$=vt,"function"==typeof define&&define.amd&&define("jquery",[],function(){return vt}))}(window),"undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");!function(i){"use strict";i.fn.emulateTransitionEnd=function(t){var e=!1,n=this;i(this).one(i.support.transition.end,function(){e=!0});return setTimeout(function(){e||i(n).trigger(i.support.transition.end)},t),this},i(function(){i.support.transition=function(){var t,e=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==e.style[t])return{end:n[t]}}()})}(jQuery),function(o){"use strict";function i(t){o(t).on("click",e,this.close)}var e='[data-dismiss="alert"]';i.prototype.close=function(t){function e(){r.trigger("closed.bs.alert").remove()}var n=o(this),i=n.attr("data-target");i||(i=(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""));var r=o(i);t&&t.preventDefault(),(r=!r.length?n.hasClass("alert")?n:n.parent():r).trigger(t=o.Event("close.bs.alert")),t.isDefaultPrevented()||(r.removeClass("in"),o.support.transition&&r.hasClass("fade")?r.one(o.support.transition.end,e).emulateTransitionEnd(150):e())};var t=o.fn.alert;o.fn.alert=function(n){return this.each(function(){var t=o(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new i(this)),"string"==typeof n&&e[n].call(t)})},o.fn.alert.Constructor=i,o.fn.alert.noConflict=function(){return o.fn.alert=t,this},o(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(i){"use strict";var r=function(t,e){this.$element=i(t),this.options=i.extend({},r.DEFAULTS,e)};r.DEFAULTS={loadingText:"loading..."},r.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)},r.prototype.toggle=function(){var t=this.$element.closest('[data-toggle="buttons"]');t.length&&"radio"===this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change").prop("type")&&t.find(".active").removeClass("active"),this.$element.toggleClass("active")};var t=i.fn.button;i.fn.button=function(n){return this.each(function(){var t=i(this),e=t.data("bs.button");e||t.data("bs.button",e=new r(this,"object"==typeof n&&n)),"toggle"==n?e.toggle():n&&e.setState(n)})},i.fn.button.Constructor=r,i.fn.button.noConflict=function(){return i.fn.button=t,this},i(document).on("click.bs.button.data-api","[data-toggle^=button]",function(t){var e=i(t.target);(e=!e.hasClass("btn")?e.closest(".btn"):e).button("toggle"),t.preventDefault()})}(jQuery),function(s){"use strict";function o(t,e){this.$element=s(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",s.proxy(this.pause,this)).on("mouseleave",s.proxy(this.cycle,this))}o.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},o.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(s.proxy(this.next,this),this.options.interval)),this},o.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},o.prototype.to=function(t){var e=this,n=this.getActiveIndex();return t>this.$items.length-1||t<0?void 0:this.sliding?this.$element.one("slid",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(n<t?"next":"prev",s(this.$items[t]))},o.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&s.support.transition.end&&(this.$element.trigger(s.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},o.prototype.next=function(){return this.sliding?void 0:this.slide("next")},o.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},o.prototype.slide=function(t,e){var n=this.$element.find(".item.active"),i=e||n[t](),r=this.interval,o="next"==t?"left":"right",e="next"==t?"first":"last",a=this;if(!i.length){if(!this.options.wrap)return;i=this.$element.find(".item")[e]()}this.sliding=!0,r&&this.pause();e=s.Event("slide.bs.carousel",{relatedTarget:i[0],direction:o});if(!i.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=s(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")})),s.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(e),e.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,n.addClass(o),i.addClass(o),n.one(s.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),n.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(e),e.isDefaultPrevented())return;n.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return r&&this.cycle(),this}};var t=s.fn.carousel;s.fn.carousel=function(r){return this.each(function(){var t=s(this),e=t.data("bs.carousel"),n=s.extend({},o.DEFAULTS,t.data(),"object"==typeof r&&r),i="string"==typeof r?r:n.slide;e||t.data("bs.carousel",e=new o(this,n)),"number"==typeof r?e.to(r):i?e[i]():n.interval&&e.pause().cycle()})},s.fn.carousel.Constructor=o,s.fn.carousel.noConflict=function(){return s.fn.carousel=t,this},s(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(t){var e,n=s(this),i=s(n.attr("data-target")||(e=n.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")),r=s.extend({},i.data(),n.data());(e=n.attr("data-slide-to"))&&(r.interval=!1),i.carousel(r),(e=n.attr("data-slide-to"))&&i.data("bs.carousel").to(e),t.preventDefault()}),s(window).on("load",function(){s('[data-ride="carousel"]').each(function(){var t=s(this);t.carousel(t.data())})})}(jQuery),function(a){"use strict";var r=function(t,e){this.$element=a(t),this.options=a.extend({},r.DEFAULTS,e),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t=a.Event("show.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){t=this.$parent&&this.$parent.find("> .panel > .in");if(t&&t.length){var e=t.data("bs.collapse");if(e&&e.transitioning)return;t.collapse("hide"),e||t.data("bs.collapse",null)}var n=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[n](0),this.transitioning=1;e=function(){this.$element.removeClass("collapsing").addClass("in")[n]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return e.call(this);t=a.camelCase(["scroll",n].join("-"));this.$element.one(a.support.transition.end,a.proxy(e,this)).emulateTransitionEnd(350)[n](this.$element[0][t])}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;t=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[e](0).one(a.support.transition.end,a.proxy(t,this)).emulateTransitionEnd(350):t.call(this)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var t=a.fn.collapse;a.fn.collapse=function(i){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),n=a.extend({},r.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.collapse",e=new r(this,n)),"string"==typeof i&&e[i]()})},a.fn.collapse.Constructor=r,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(t){var e=a(this),n=e.attr("data-target")||t.preventDefault()||(o=e.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""),i=a(n),r=i.data("bs.collapse"),t=r?"toggle":e.data(),o=e.attr("data-parent"),n=o&&a(o);r&&r.transitioning||(n&&n.find('[data-toggle=collapse][data-parent="'+o+'"]').not(e).addClass("collapsed"),e[i.hasClass("in")?"addClass":"removeClass"]("collapsed")),i.collapse(t)})}(jQuery),function(r){"use strict";function o(){r(".dropdown-backdrop").remove(),r(s).each(function(t){var e=a(r(this));e.hasClass("open")&&(e.trigger(t=r.Event("hide.bs.dropdown")),t.isDefaultPrevented()||e.removeClass("open").trigger("hidden.bs.dropdown"))})}function a(t){var e=t.attr("data-target"),e=(e=!e?(e=t.attr("href"))&&/#/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""):e)&&r(e);return e&&e.length?e:t.parent()}function i(t){r(t).on("click.bs.dropdown",this.toggle)}var s="[data-toggle=dropdown]";i.prototype.toggle=function(t){var e=r(this);if(!e.is(".disabled, :disabled")){var n=a(e),i=n.hasClass("open");if(o(),!i){if("ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&r('<div class="dropdown-backdrop"/>').insertAfter(r(this)).on("click",o),n.trigger(t=r.Event("show.bs.dropdown")),t.isDefaultPrevented())return;n.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},i.prototype.keydown=function(t){if(/(38|40|27)/.test(t.keyCode)){var e=r(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var n=a(e),i=n.hasClass("open");if(!i||i&&27==t.keyCode)return 27==t.which&&n.find(s).focus(),e.click();e=r("[role=menu] li:not(.divider):visible a",n);e.length&&(n=e.index(e.filter(":focus")),38==t.keyCode&&0<n&&n--,40==t.keyCode&&n<e.length-1&&n++,e.eq(n=!~n?0:n).focus())}}};var t=r.fn.dropdown;r.fn.dropdown=function(n){return this.each(function(){var t=r(this),e=t.data("dropdown");e||t.data("dropdown",e=new i(this)),"string"==typeof n&&e[n].call(t)})},r.fn.dropdown.Constructor=i,r.fn.dropdown.noConflict=function(){return r.fn.dropdown=t,this},r(document).on("click.bs.dropdown.data-api",o).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,i.prototype.toggle).on("keydown.bs.dropdown.data-api",s+", [role=menu]",i.prototype.keydown)}(jQuery),function(o){"use strict";function a(t,e){this.options=e,this.$element=o(t),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)}a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(t){return this[this.isShown?"hide":"show"](t)},a.prototype.show=function(n){var i=this,t=o.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',o.proxy(this.hide,this)),this.backdrop(function(){var t=o.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(document.body),i.$element.show(),t&&i.$element[0].offsetWidth,i.$element.addClass("in").attr("aria-hidden",!1),i.enforceFocus();var e=o.Event("shown.bs.modal",{relatedTarget:n});t?i.$element.find(".modal-dialog").one(o.support.transition.end,function(){i.$element.focus().trigger(e)}).emulateTransitionEnd(300):i.$element.focus().trigger(e)}))},a.prototype.hide=function(t){t&&t.preventDefault(),t=o.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),o(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),o.support.transition&&this.$element.hasClass("fade")?this.$element.one(o.support.transition.end,o.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},a.prototype.enforceFocus=function(){o(document).off("focusin.bs.modal").on("focusin.bs.modal",o.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.focus()},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",o.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},a.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.removeBackdrop(),t.$element.trigger("hidden.bs.modal")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(t){var e,n=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(e=o.support.transition&&n,this.$backdrop=o('<div class="modal-backdrop '+n+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",o.proxy(function(t){t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),t&&(e?this.$backdrop.one(o.support.transition.end,t).emulateTransitionEnd(150):t())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),o.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(o.support.transition.end,t).emulateTransitionEnd(150):t()):t&&t()};var t=o.fn.modal;o.fn.modal=function(i,r){return this.each(function(){var t=o(this),e=t.data("bs.modal"),n=o.extend({},a.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.modal",e=new a(this,n)),"string"==typeof i?e[i](r):n.show&&e.show(r)})},o.fn.modal.Constructor=a,o.fn.modal.noConflict=function(){return o.fn.modal=t,this},o(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=o(this),n=e.attr("href"),i=o(e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),n=i.data("modal")?"toggle":o.extend({remote:!/#/.test(n)&&n},i.data(),e.data());t.preventDefault(),i.modal(n,this).one("hide",function(){e.is(":visible")&&e.focus()})}),o(document).on("show.bs.modal",".modal",function(){o(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){o(document.body).removeClass("modal-open")})}(jQuery),function(c){"use strict";function i(t,e){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",t,e)}i.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},i.prototype.init=function(t,e,n){this.enabled=!0,this.type=t,this.$element=c(e),this.options=this.getOptions(n);for(var i=this.options.trigger.split(" "),r=i.length;r--;){var o,a=i[r];"click"==a?this.$element.on("click."+this.type,this.options.selector,c.proxy(this.toggle,this)):"manual"!=a&&(o="hover"==a?"mouseleave":"blur",this.$element.on(("hover"==a?"mouseenter":"focus")+"."+this.type,this.options.selector,c.proxy(this.enter,this)),this.$element.on(o+"."+this.type,this.options.selector,c.proxy(this.leave,this)))}this.options.selector?this._options=c.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(t){return(t=c.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},i.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&c.each(this._options,function(t,e){i[t]!=e&&(n[t]=e)}),n},i.prototype.enter=function(t){var e=t instanceof this.constructor?t:c(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(e.timeout),e.hoverState="in",e.options.delay&&e.options.delay.show?void(e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)):e.show()},i.prototype.leave=function(t){var e=t instanceof this.constructor?t:c(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(e.timeout),e.hoverState="out",e.options.delay&&e.options.delay.hide?void(e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)):e.hide()},i.prototype.show=function(){var t,e,n,i,r,o,a,s,l,u=c.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(u),u.isDefaultPrevented()||(t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s="function"==typeof this.options.placement?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,(o=(r=/\s?auto?\s?/i).test(s))&&(s=s.replace(r,"")||"top"),t.detach().css({top:0,left:0,display:"block"}).addClass(s),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),e=this.getPosition(),n=t[0].offsetWidth,l=t[0].offsetHeight,o&&(a=this.$element.parent(),i=s,u=document.documentElement.scrollTop||document.body.scrollTop,r="body"==this.options.container?window.innerWidth:a.outerWidth(),o="body"==this.options.container?window.innerHeight:a.outerHeight(),a="body"==this.options.container?0:a.offset().left,s="bottom"==s&&e.top+e.height+l-u>o?"top":"top"==s&&e.top-u-l<0?"bottom":"right"==s&&e.right+n>r?"left":"left"==s&&e.left-n<a?"right":s,t.removeClass(i).addClass(s)),l=this.getCalculatedOffset(s,e,n,l),this.applyPlacement(l,s),this.$element.trigger("shown.bs."+this.type)))},i.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");a=i[0].offsetWidth,s=i[0].offsetHeight;"top"==e&&s!=o&&(n=!0,t.top=t.top+o-s),/bottom|top/.test(e)?(t.left<(e=0)&&(e=-2*t.left,t.left=0,i.offset(t),a=i[0].offsetWidth,s=i[0].offsetHeight),this.replaceArrow(e-r+a,a,"left")):this.replaceArrow(s-o,s,"top"),n&&i.offset(t)},i.prototype.replaceArrow=function(t,e,n){this.arrow().css(n,t?50*(1-t/e)+"%":"")},i.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")},i.prototype.hide=function(){function t(){"in"!=e.hoverState&&n.detach()}var e=this,n=this.tip(),i=c.Event("hide.bs."+this.type);return this.$element.trigger(i),i.isDefaultPrevented()?void 0:(n.removeClass("in"),c.support.transition&&this.$tip.hasClass("fade")?n.one(c.support.transition.end,t).emulateTransitionEnd(150):t(),this.$element.trigger("hidden.bs."+this.type),this)},i.prototype.fixTitle=function(){var t=this.$element;!t.attr("title")&&"string"==typeof t.attr("data-original-title")||t.attr("data-original-title",t.attr("title")||"").attr("title","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(){var t=this.$element[0];return c.extend({},"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},i.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}},i.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},i.prototype.tip=function(){return this.$tip=this.$tip||c(this.options.template)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(t){t=t?c(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;t.tip().hasClass("in")?t.leave(t):t.enter(t)},i.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var t=c.fn.tooltip;c.fn.tooltip=function(n){return this.each(function(){var t=c(this),e=t.data("bs.tooltip");e||t.data("bs.tooltip",e=new i(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},c.fn.tooltip.Constructor=i,c.fn.tooltip.noConflict=function(){return c.fn.tooltip=t,this}}(jQuery),function(i){"use strict";function r(t,e){this.init("popover",t,e)}if(!i.fn.tooltip)throw new Error("Popover requires tooltip.js");r.DEFAULTS=i.extend({},i.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>'}),((r.prototype=i.extend({},i.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.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()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.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)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},r.prototype.tip=function(){return this.$tip||(this.$tip=i(this.options.template)),this.$tip};var t=i.fn.popover;i.fn.popover=function(n){return this.each(function(){var t=i(this),e=t.data("bs.popover");e||t.data("bs.popover",e=new r(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},i.fn.popover.Constructor=r,i.fn.popover.noConflict=function(){return i.fn.popover=t,this}}(jQuery),function(r){"use strict";function i(t,e){var n=r.proxy(this.process,this);this.$element=r(t).is("body")?r(window):r(t),this.$body=r("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",n),this.options=r.extend({},i.DEFAULTS,e),this.selector=(this.options.target||(t=r(t).attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=r([]),this.targets=r([]),this.activeTarget=null,this.refresh(),this.process()}i.DEFAULTS={offset:10},i.prototype.refresh=function(){var n=this.$element[0]==window?"offset":"position";this.offsets=r([]),this.targets=r([]);var i=this;this.$body.find(this.selector).map(function(){var t=r(this),e=t.data("target")||t.attr("href"),t=/^#\w/.test(e)&&r(e);return t&&t.length?[[t[n]().top+(!r.isWindow(i.$scrollElement.get(0))&&i.$scrollElement.scrollTop()),e]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){i.offsets.push(this[0]),i.targets.push(this[1])})},i.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=(this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight)-this.$scrollElement.height(),i=this.offsets,r=this.targets,o=this.activeTarget;if(n<=e)return o!=(t=r.last()[0])&&this.activate(t);for(t=i.length;t--;)o!=r[t]&&e>=i[t]&&(!i[t+1]||e<=i[t+1])&&this.activate(r[t])},i.prototype.activate=function(t){this.activeTarget=t,r(this.selector).parents(".active").removeClass("active");t=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',t=r(t).parents("li").addClass("active");(t=t.parent(".dropdown-menu").length?t.closest("li.dropdown").addClass("active"):t).trigger("activate")};var t=r.fn.scrollspy;r.fn.scrollspy=function(n){return this.each(function(){var t=r(this),e=t.data("bs.scrollspy");e||t.data("bs.scrollspy",e=new i(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},r.fn.scrollspy.Constructor=i,r.fn.scrollspy.noConflict=function(){return r.fn.scrollspy=t,this},r(window).on("load",function(){r('[data-spy="scroll"]').each(function(){var t=r(this);t.scrollspy(t.data())})})}(jQuery),function(a){"use strict";function i(t){this.element=a(t)}i.prototype.show=function(){var t,e,n=this.element,i=n.closest("ul:not(.dropdown-menu)"),r=n.data("target");r||(r=(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),n.parent("li").hasClass("active")||(t=i.find(".active:last a")[0],e=a.Event("show.bs.tab",{relatedTarget:t}),n.trigger(e),e.isDefaultPrevented()||(r=a(r),this.activate(n.parent("li"),i),this.activate(r,r.parent(),function(){n.trigger({type:"shown.bs.tab",relatedTarget:t})})))},i.prototype.activate=function(t,e,n){function i(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),n&&n()}var r=e.find("> .active"),o=n&&a.support.transition&&r.hasClass("fade");o?r.one(a.support.transition.end,i).emulateTransitionEnd(150):i(),r.removeClass("in")};var t=a.fn.tab;a.fn.tab=function(n){return this.each(function(){var t=a(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new i(this)),"string"==typeof n&&e[n]()})},a.fn.tab.Constructor=i,a.fn.tab.noConflict=function(){return a.fn.tab=t,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),a(this).tab("show")})}(jQuery),function(a){"use strict";var s=function(t,e){this.options=a.extend({},s.DEFAULTS,e),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(t),this.affixed=this.unpin=null,this.checkPosition()};s.RESET="affix affix-top affix-bottom",s.DEFAULTS={offset:0},s.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},s.prototype.checkPosition=function(){var t,e,n,i,r,o;this.$element.is(":visible")&&(t=a(document).height(),e=this.$window.scrollTop(),n=this.$element.offset(),o=(i=this.options.offset).top,r=i.bottom,"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top()),"function"==typeof r&&(r=i.bottom()),o=!(null!=this.unpin&&e+this.unpin<=n.top)&&(null!=r&&n.top+this.$element.height()>=t-r?"bottom":null!=o&&e<=o&&"top"),this.affixed!==o&&(this.unpin&&this.$element.css("top",""),this.affixed=o,this.unpin="bottom"==o?n.top-e:null,this.$element.removeClass(s.RESET).addClass("affix"+(o?"-"+o:"")),"bottom"==o&&this.$element.offset({top:document.body.offsetHeight-r-this.$element.height()})))};var t=a.fn.affix;a.fn.affix=function(n){return this.each(function(){var t=a(this),e=t.data("bs.affix");e||t.data("bs.affix",e=new s(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})},a.fn.affix.Constructor=s,a.fn.affix.noConflict=function(){return a.fn.affix=t,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var t=a(this),e=t.data();e.offset=e.offset||{},e.offsetBottom&&(e.offset.bottom=e.offsetBottom),e.offsetTop&&(e.offset.top=e.offsetTop),t.affix(e)})})}(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 f(){return Pt.apply(null,arguments)}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t,e){for(var n in e)p(e,n)&&(t[n]=e[n]);return p(e,"toString")&&(t.toString=e.toString),p(e,"valueOf")&&(t.valueOf=e.valueOf),t}function o(t,e,n,i){return Z(t,e,n,i,!0).utc()}function g(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}),t._pf}function s(t){var e;return null==t._isValid&&(e=g(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)),t._isValid}function l(t){var e=o(NaN);return null!=t?a(g(e),t):g(e).userInvalidated=!0,e}function u(t,e){var n,i,r;if(void 0!==e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),void 0!==e._i&&(t._i=e._i),void 0!==e._f&&(t._f=e._f),void 0!==e._l&&(t._l=e._l),void 0!==e._strict&&(t._strict=e._strict),void 0!==e._tzm&&(t._tzm=e._tzm),void 0!==e._isUTC&&(t._isUTC=e._isUTC),void 0!==e._offset&&(t._offset=e._offset),void 0!==e._pf&&(t._pf=g(e)),void 0!==e._locale&&(t._locale=e._locale),0<Ot.length)for(n in Ot)i=Ot[n],r=e[i],void 0!==r&&(t[i]=r);return t}function c(t){u(this,t),this._d=new Date(+t._d),!1===Lt&&(Lt=!0,f.updateOffset(this),Lt=!1)}function h(t){return t instanceof c||null!=t&&null!=t._isAMomentObject}function d(t){var e=+t,t=0;return t=0!=e&&isFinite(e)?0<=e?Math.floor(e):Math.ceil(e):t}function m(t,e,n){for(var i=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0,a=0;a<i;a++)(n&&t[a]!==e[a]||!n&&d(t[a])!==d(e[a]))&&o++;return o+r}function n(){}function y(t){return t&&t.toLowerCase().replace("_","-")}function v(t){var e;if(!It[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=Et._abbr,require("./locale/"+t),b(e)}catch(t){}return It[t]}function b(t,e){return t&&((e=void 0===e?w(t):x(t,e))&&(Et=e)),Et._abbr}function x(t,e){return null!==e?(e.abbr=t,It[t]||(It[t]=new n),It[t].set(e),b(t),It[t]):(delete It[t],null)}function w(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return Et;if(!r(t)){if(e=v(t))return e;t=[t]}return function(t){for(var e,n,i,r,o=0;o<t.length;){for(e=(r=y(t[o]).split("-")).length,n=(n=y(t[o+1]))?n.split("-"):null;0<e;){if(i=v(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&m(r,n,!0)>=e-1)break;e--}o++}return null}(t)}function t(t,e){var n=t.toLowerCase();Nt[n]=Nt[n+"s"]=Nt[e]=t}function S(t){return"string"==typeof t?Nt[t]||Nt[t.toLowerCase()]:void 0}function _(t){var e,n,i={};for(n in t)p(t,n)&&(e=S(n),e&&(i[e]=t[n]));return i}function e(e,n){return function(t){return null!=t?(k(this,e,t),f.updateOffset(this,n),this):C(this,e)}}function C(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function k(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function M(t,e){if("object"==typeof t)for(var n in t)this.set(n,t[n]);else if("function"==typeof this[t=S(t)])return this[t](e);return this}function T(t,e,n){for(var i=""+Math.abs(t),t=0<=t;i.length<e;)i="0"+i;return(t?n?"+":"":"-")+i}function D(t,e,n,i){var r="string"==typeof i?function(){return this[i]()}:i;t&&(Ht[t]=r),e&&(Ht[e[0]]=function(){return T(r.apply(this,arguments),e[1],e[2])}),n&&(Ht[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function A(t,e){return t.isValid()?(e=P(e,t.localeData()),jt[e]||(jt[e]=function(n){for(var t,i=n.match(Rt),r=0,o=i.length;r<o;r++)Ht[i[r]]?i[r]=Ht[i[r]]:i[r]=(t=i[r]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){var e="";for(r=0;r<o;r++)e+=i[r]instanceof Function?i[r].call(t,n):i[r];return e}}(e)),jt[e](t)):t.localeData().invalidDate()}function P(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Ft.lastIndex=0;0<=i&&Ft.test(t);)t=t.replace(Ft,n),Ft.lastIndex=0,--i;return t}function E(t,e,n){Jt[t]="function"==typeof e?e:function(t){return t&&n?n:e}}function O(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),"number"==typeof n&&(i=function(t,e){e[n]=d(t)}),e=0;e<t.length;e++)Qt[t[e]]=i}function L(t,r){O(t,function(t,e,n,i){n._w=n._w||{},r(t,n._w,n,i)})}function I(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function N(t,e){var n;return"string"==typeof e&&"number"!=typeof(e=t.localeData().monthsParse(e))||(n=Math.min(t.date(),I(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n)),t}function R(t){return null!=t?(N(this,t),f.updateOffset(this,!0),this):C(this,"Month")}function F(t){var e=t._a;return e&&-2===g(t).overflow&&(e=e[ee]<0||11<e[ee]?ee:e[ne]<1||e[ne]>I(e[te],e[ee])?ne:e[ie]<0||24<e[ie]||24===e[ie]&&(0!==e[re]||0!==e[oe]||0!==e[ae])?ie:e[re]<0||59<e[re]?re:e[oe]<0||59<e[oe]?oe:e[ae]<0||999<e[ae]?ae:-1,g(t)._overflowDayOfYear&&(e<te||ne<e)&&(e=ne),g(t).overflow=e),t}function j(t){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function H(t,e){var n=!0,i=t+"\n"+(new Error).stack;return a(function(){return n&&(j(i),n=!1),e.apply(this,arguments)},e)}function B(t){var e,n,i=t._i,r=ce.exec(i);if(r){for(g(t).iso=!0,e=0,n=he.length;e<n;e++)if(he[e][1].exec(i)){t._f=he[e][0]+(r[6]||" ");break}for(e=0,n=de.length;e<n;e++)if(de[e][1].exec(i)){t._f+=de[e][0];break}i.match(Zt)&&(t._f+="Z"),X(t)}else t._isValid=!1}function z(t,e,n,i,r,o,a){a=new Date(t,e,n,i,r,o,a);return t<1970&&a.setFullYear(t),a}function W(t){var e=new Date(Date.UTC.apply(null,arguments));return t<1970&&e.setUTCFullYear(t),e}function $(t){return q(t)?366:365}function q(t){return t%4==0&&t%100!=0||t%400==0}function U(t,e,n){var e=n-e,n=n-t.day();return e<n&&(n-=7),n<e-7&&(n+=7),n=K(t).add(n,"d"),{week:Math.ceil(n.dayOfYear()/7),year:n.year()}}function Y(t,e,n){return null!=t?t:null!=e?e:n}function G(t){var e,n,i,r,o,a,s,l,u,c=[];if(!t._d){for(l=t,u=new Date,n=l._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],t._w&&null==t._a[ne]&&null==t._a[ee]&&(null!=(u=(l=t)._w).GG||null!=u.W||null!=u.E?(s=1,a=4,i=Y(u.GG,l._a[te],U(K(),1,4).year),r=Y(u.W,1),o=Y(u.E,1)):(s=l._locale._week.dow,a=l._locale._week.doy,i=Y(u.gg,l._a[te],U(K(),s,a).year),r=Y(u.w,1),null!=u.d?(o=u.d)<s&&++r:o=null!=u.e?u.e+s:s),s=function(t,e,n,i,r){var o=W(t,0,1).getUTCDay();return{year:0<(r=7*(e-1)+((n=null!=n?n:r)-r)+(r-(o=0===o?7:o)+(i<o?7:0)-(o<r?7:0))+1)?t:t-1,dayOfYear:0<r?r:$(t-1)+r}}(i,r,o,a,s),l._a[te]=s.year,l._dayOfYear=s.dayOfYear),t._dayOfYear&&(s=Y(t._a[te],n[te]),t._dayOfYear>$(s)&&(g(t)._overflowDayOfYear=!0),s=W(s,0,t._dayOfYear),t._a[ee]=s.getUTCMonth(),t._a[ne]=s.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=c[e]=n[e];for(;e<7;e++)t._a[e]=c[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ie]&&0===t._a[re]&&0===t._a[oe]&&0===t._a[ae]&&(t._nextDay=!0,t._a[ie]=0),t._d=(t._useUTC?W:z).apply(null,c),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ie]=24)}}function X(t){if(t._f===f.ISO_8601)return B(t),0;t._a=[],g(t).empty=!0;for(var e,n,i,r,o,a,s,l=""+t._i,u=l.length,c=0,h=P(t._f,t._locale).match(Rt)||[],d=0;d<h.length;d++)n=h[d],(e=(l.match((o=t,p(Jt,r=n)?Jt[r](o._strict,o._locale):new RegExp(r.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))))||[])[0])&&(0<(i=l.substr(0,l.indexOf(e))).length&&g(t).unusedInput.push(i),l=l.slice(l.indexOf(e)+e.length),c+=e.length),Ht[n]?(e?g(t).empty=!1:g(t).unusedTokens.push(n),o=n,r=t,null!=(i=e)&&p(Qt,o)&&Qt[o](i,r._a,r,o)):t._strict&&!e&&g(t).unusedTokens.push(n);g(t).charsLeftOver=u-c,0<l.length&&g(t).unusedInput.push(l),!0===g(t).bigHour&&t._a[ie]<=12&&0<t._a[ie]&&(g(t).bigHour=void 0),t._a[ie]=(a=t._locale,s=t._a[ie],null==(u=t._meridiem)?s:null!=a.meridiemHour?a.meridiemHour(s,u):null!=a.isPM?((u=a.isPM(u))&&s<12&&(s+=12),s=u||12!==s?s:0):s),G(t),F(t)}function V(t){var e=t._i,n=t._f;return t._locale=t._locale||w(t._l),null===e||void 0===n&&""===e?l({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),h(e)?new c(F(e)):(r(n)?function(t){var e,n,i,r,o;if(0===t._f.length)return g(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)o=0,e=u({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],X(e),s(e)&&(o+=g(e).charsLeftOver,o+=10*g(e).unusedTokens.length,g(e).score=o,(null==i||o<i)&&(i=o,n=e));a(t,n||e)}(t):n?X(t):i(e)?t._d=e:void 0===(e=(n=t)._i)?n._d=new Date:i(e)?n._d=new Date(+e):"string"==typeof e?function(t){var e=fe.exec(t._i);null!==e?t._d=new Date(+e[1]):(B(t),!1===t._isValid&&(delete t._isValid,f.createFromInputFallback(t)))}(n):r(e)?(n._a=function(t,e){for(var n=[],i=0;i<t.length;++i)n.push(e(t[i],i));return n}(e.slice(0),function(t){return parseInt(t,10)}),G(n)):"object"==typeof e?function(t){var e;t._d||(e=_(t._i),t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],G(t))}(n):"number"==typeof e?n._d=new Date(e):f.createFromInputFallback(n),(t=new c(F(t)))._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t))}function Z(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,V(o)}function K(t,e,n,i){return Z(t,e,n,i,!1)}function J(t,e){var n,i;if(!(e=1===e.length&&r(e[0])?e[0]:e).length)return K();for(n=e[0],i=1;i<e.length;++i)e[i][t](n)&&(n=e[i]);return n}function Q(t){var e=_(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,t=e.second||0,e=e.millisecond||0;this._milliseconds=+e+1e3*t+6e4*l+36e5*s,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=w(),this._bubble()}function tt(t){return t instanceof Q}function et(t,n){D(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+T(~~(t/60),2)+n+T(~~t%60,2)})}function nt(t){var e=(t||"").match(Zt)||[],t=((e[e.length-1]||[])+"").match(ye)||["-",0,0],e=60*t[1]+d(t[2]);return"+"===t[0]?e:-e}function it(t,e){var n;return e._isUTC?(n=e.clone(),e=(h(t)||i(t)?+t:+K(t))-+n,n._d.setTime(+n._d+e),f.updateOffset(n,!1),n):K(t).local()}function rt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function ot(){return this._isUTC&&0===this._offset}function at(t,e){var n,i,r=t,o=null;return tt(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(r={},e?r[e]=t:r.milliseconds=t):(o=ve.exec(t))?(n="-"===o[1]?-1:1,r={y:0,d:d(o[ne])*n,h:d(o[ie])*n,m:d(o[re])*n,s:d(o[oe])*n,ms:d(o[ae])*n}):(o=be.exec(t))?(n="-"===o[1]?-1:1,r={y:st(o[2],n),M:st(o[3],n),d:st(o[4],n),h:st(o[5],n),m:st(o[6],n),s:st(o[7],n),w:st(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=K(r.from),n=it(n=K(r.to),o),o.isBefore(n)?i=lt(o,n):((i=lt(n,o)).milliseconds=-i.milliseconds,i.months=-i.months),(r={}).ms=(i=i).milliseconds,r.M=i.months),r=new Q(r),tt(t)&&p(t,"_locale")&&(r._locale=t._locale),r}function st(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function lt(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 ut(r,o){return function(t,e){var n,i;return null===e||isNaN(+e)||(i="moment()."+(n=o)+"(period, number) is deprecated. Please use moment()."+o+"(number, period).",ue[n]||(j(i),ue[n]=!0),n=t,t=e,e=n),ct(this,at(t="string"==typeof t?+t:t,e),r),this}}function ct(t,e,n,i){var r=e._milliseconds,o=e._days,e=e._months;i=null==i||i,r&&t._d.setTime(+t._d+r*n),o&&k(t,"Date",C(t,"Date")+o*n),e&&N(t,C(t,"Month")+e*n),i&&f.updateOffset(t,o||e)}function ht(t){return t<0?Math.ceil(t):Math.floor(t)}function dt(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():A(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):A(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ft(t){return void 0===t?this._locale._abbr:(null!=(t=w(t))&&(this._locale=t),this)}function pt(){return this._locale}function gt(t,e){D(0,[t,t.length],0,e)}function mt(t,e,n){return U(K([t,11,31+e-n]),e,n).week}function yt(t,e){D(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function vt(t,e){return e._meridiemParse}function bt(t){D(0,[t,3],0,"millisecond")}function xt(t){return t}function wt(t,e,n,i){var r=w(),e=o().set(i,e);return r[n](e,t)}function St(t,e,n,i,r){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return wt(t,e,n,r);for(var o=[],a=0;a<i;a++)o[a]=wt(t,a,n,r);return o}function _t(t,e,n,i){n=at(e,n);return t._milliseconds+=i*n._milliseconds,t._days+=i*n._days,t._months+=i*n._months,t._bubble()}function Ct(t){return 400*t/146097}function kt(t){return 146097*t/400}function Mt(t){return function(){return this.as(t)}}function Tt(t){return function(){return this._data[t]}}function Dt(t,e,n){var i=at(t).abs(),r=Me(i.as("s")),o=Me(i.as("m")),a=Me(i.as("h")),s=Me(i.as("d")),l=Me(i.as("M")),i=Me(i.as("y")),i=(r<Te.s?["s",r]:1===o&&["m"])||o<Te.m&&["mm",o]||1===a&&["h"]||a<Te.h&&["hh",a]||1===s&&["d"]||s<Te.d&&["dd",s]||1===l&&["M"]||l<Te.M&&["MM",l]||1===i&&["y"]||["yy",i];return i[2]=e,i[3]=0<+t,i[4]=n,function(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}.apply(null,i)}function At(){var t=De(this.years()),e=De(this.months()),n=De(this.days()),i=De(this.hours()),r=De(this.minutes()),o=De(this.seconds()+this.milliseconds()/1e3),a=this.asSeconds();return a?(a<0?"-":"")+"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 Pt,Et,Ot=f.momentProperties=[],Lt=!1,It={},Nt={},Rt=/(\[[^\[]*\])|(\\)?(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,Ft=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jt={},Ht={},Bt=/\d/,zt=/\d\d/,Wt=/\d{3}/,$t=/\d{4}/,qt=/[+-]?\d{6}/,Ut=/\d\d?/,Yt=/\d{1,3}/,Gt=/\d{1,4}/,Xt=/[+-]?\d{1,6}/,Vt=/[+-]?\d+/,Zt=/Z|[+-]\d\d:?\d\d/gi,Kt=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Jt={},Qt={},te=0,ee=1,ne=2,ie=3,re=4,oe=5,ae=6;D("M",["MM",2],"Mo",function(){return this.month()+1}),D("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),D("MMMM",0,0,function(t){return this.localeData().months(this,t)}),t("month","M"),E("M",Ut),E("MM",Ut,zt),E("MMM",Kt),E("MMMM",Kt),O(["M","MM"],function(t,e){e[ee]=d(t)-1}),O(["MMM","MMMM"],function(t,e,n,i){i=n._locale.monthsParse(t,i,n._strict);null!=i?e[ee]=i:g(n).invalidMonth=t});var se="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ue={};f.suppressDeprecationWarnings=!1;var ce=/^\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)?)?$/,he=[["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}/]],de=[["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/]],fe=/^\/?Date\((\-?\d+)/i;f.createFromInputFallback=H("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":""))}),D(0,["YY",2],0,function(){return this.year()%100}),D(0,["YYYY",4],0,"year"),D(0,["YYYYY",5],0,"year"),D(0,["YYYYYY",6,!0],0,"year"),t("year","y"),E("Y",Vt),E("YY",Ut,zt),E("YYYY",Gt,$t),E("YYYYY",Xt,qt),E("YYYYYY",Xt,qt),O(["YYYY","YYYYY","YYYYYY"],te),O("YY",function(t,e){e[te]=f.parseTwoDigitYear(t)});var pe=e("FullYear",!(f.parseTwoDigitYear=function(t){return d(t)+(68<d(t)?1900:2e3)}));D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),E("w",Ut),E("ww",Ut,zt),E("W",Ut),E("WW",Ut,zt),L(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=d(t)});D("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),E("DDD",Yt),E("DDDD",Wt),O(["DDD","DDDD"],function(t,e,n){n._dayOfYear=d(t)}),f.ISO_8601=function(){};var ge=H("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=K.apply(null,arguments);return t<this?this:t}),me=H("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=K.apply(null,arguments);return this<t?this:t});et("Z",":"),et("ZZ",""),E("Z",Zt),E("ZZ",Zt),O(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=nt(t)});var ye=/([\+\-]|\d\d)/gi;f.updateOffset=function(){};var ve=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,be=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;at.fn=Q.prototype;var xe=ut(1,"add"),we=ut(-1,"subtract");f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Se=H("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)});D(0,["gg",2],0,function(){return this.weekYear()%100}),D(0,["GG",2],0,function(){return this.isoWeekYear()%100}),gt("gggg","weekYear"),gt("ggggg","weekYear"),gt("GGGG","isoWeekYear"),gt("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),E("G",Vt),E("g",Vt),E("GG",Ut,zt),E("gg",Ut,zt),E("GGGG",Gt,$t),E("gggg",Gt,$t),E("GGGGG",Xt,qt),E("ggggg",Xt,qt),L(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=d(t)}),L(["gg","GG"],function(t,e,n,i){e[i]=f.parseTwoDigitYear(t)}),D("Q",0,0,"quarter"),t("quarter","Q"),E("Q",Bt),O("Q",function(t,e){e[ee]=3*(d(t)-1)}),D("D",["DD",2],"Do","date"),t("date","D"),E("D",Ut),E("DD",Ut,zt),E("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),O(["D","DD"],ne),O("Do",function(t,e){e[ne]=d(t.match(Ut)[0])});var _e=e("Date",!0);D("d",0,"do","day"),D("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),D("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),D("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),D("e",0,0,"weekday"),D("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),E("d",Ut),E("e",Ut),E("E",Ut),E("dd",Kt),E("ddd",Kt),E("dddd",Kt),L(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:g(n).invalidWeekday=t}),L(["d","e","E"],function(t,e,n,i){e[i]=d(t)});var Ce="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$t="Su_Mo_Tu_We_Th_Fr_Sa".split("_");D("H",["HH",2],0,"hour"),D("h",["hh",2],0,function(){return this.hours()%12||12}),yt("a",!0),yt("A",!1),t("hour","h"),E("a",vt),E("A",vt),E("H",Ut),E("h",Ut),E("HH",Ut,zt),E("hh",Ut,zt),O(["H","HH"],ie),O(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),O(["h","hh"],function(t,e,n){e[ie]=d(t),g(n).bigHour=!0});Xt=e("Hours",!0);D("m",["mm",2],0,"minute"),t("minute","m"),E("m",Ut),E("mm",Ut,zt),O(["m","mm"],re);qt=e("Minutes",!1);D("s",["ss",2],0,"second"),t("second","s"),E("s",Ut),E("ss",Ut,zt),O(["s","ss"],oe);Kt=e("Seconds",!1);D("S",0,0,function(){return~~(this.millisecond()/100)}),D(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),bt("SSS"),bt("SSSS"),t("millisecond","ms"),E("S",Yt,Bt),E("SS",Yt,zt),E("SSS",Yt,Wt),E("SSSS",/\d+/),O(["S","SS","SSS","SSSS"],function(t,e){e[ae]=d(1e3*("0."+t))});zt=e("Milliseconds",!1);D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");Yt=c.prototype;Yt.add=xe,Yt.calendar=function(t){var e=t||K(),t=it(e,this).startOf("day"),t=(t=this.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse";return this.format(this.localeData().calendar(t,this,K(e)))},Yt.clone=function(){return new c(this)},Yt.diff=function(t,e,n){var i,r,o,a,s=it(t,this),l=6e4*(s.utcOffset()-this.utcOffset());return"year"===(e=S(e))||"month"===e||"quarter"===e?(i=this,t=12*((r=s).year()-i.year())+(r.month()-i.month()),a=i.clone().add(t,"months"),a=r-a<0?(o=i.clone().add(t-1,"months"),(r-a)/(a-o)):(o=i.clone().add(1+t,"months"),(r-a)/(o-a)),a=-(t+a),"quarter"===e?a/=3:"year"===e&&(a/=12)):(s=this-s,a="second"===e?s/1e3:"minute"===e?s/6e4:"hour"===e?s/36e5:"day"===e?(s-l)/864e5:"week"===e?(s-l)/6048e5:s),n?a:ht(a)},Yt.endOf=function(t){return void 0===(t=S(t))||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},Yt.format=function(t){return t=A(this,t||f.defaultFormat),this.localeData().postformat(t)},Yt.from=function(t,e){return this.isValid()?at({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Yt.fromNow=function(t){return this.from(K(),t)},Yt.to=function(t,e){return this.isValid()?at({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Yt.toNow=function(t){return this.to(K(),t)},Yt.get=M,Yt.invalidAt=function(){return g(this).overflow},Yt.isAfter=function(t,e){return"millisecond"===(e=S(void 0!==e?e:"millisecond"))?+(t=h(t)?t:K(t))<+this:(h(t)?+t:+K(t))<+this.clone().startOf(e)},Yt.isBefore=function(t,e){return"millisecond"===(e=S(void 0!==e?e:"millisecond"))?+this<+(t=h(t)?t:K(t)):(t=h(t)?+t:+K(t),+this.clone().endOf(e)<t)},Yt.isBetween=function(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)},Yt.isSame=function(t,e){return"millisecond"===(e=S(e||"millisecond"))?+this==+(t=h(t)?t:K(t)):(t=+K(t),+this.clone().startOf(e)<=t&&t<=+this.clone().endOf(e))},Yt.isValid=function(){return s(this)},Yt.lang=Se,Yt.locale=ft,Yt.localeData=pt,Yt.max=me,Yt.min=ge,Yt.parsingFlags=function(){return a({},g(this))},Yt.set=M,Yt.startOf=function(t){switch(t=S(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},Yt.subtract=we,Yt.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Yt.toDate=function(){return this._offset?new Date(+this):this._d},Yt.toISOString=dt,Yt.toJSON=dt,Yt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Yt.unix=function(){return Math.floor(+this/1e3)},Yt.valueOf=function(){return+this._d-6e4*(this._offset||0)},Yt.year=pe,Yt.isLeapYear=function(){return q(this.year())},Yt.weekYear=function(t){var e=U(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")},Yt.isoWeekYear=function(t){var e=U(this,1,4).year;return null==t?e:this.add(t-e,"y")},Yt.quarter=Yt.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Yt.month=R,Yt.daysInMonth=function(){return I(this.year(),this.month())},Yt.week=Yt.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Yt.isoWeek=Yt.isoWeeks=function(t){var e=U(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Yt.weeksInYear=function(){var t=this.localeData()._week;return mt(this.year(),t.dow,t.doy)},Yt.isoWeeksInYear=function(){return mt(this.year(),1,4)},Yt.date=_e,Yt.day=Yt.days=function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){if("string"==typeof t)if(isNaN(t)){if("number"!=typeof(t=e.weekdaysParse(t)))return null}else t=parseInt(t,10);return t}(t,this.localeData()),this.add(t-e,"d")):e},Yt.weekday=function(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},Yt.isoWeekday=function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},Yt.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},Yt.hour=Yt.hours=Xt,Yt.minute=Yt.minutes=qt,Yt.second=Yt.seconds=Kt,Yt.millisecond=Yt.milliseconds=zt,Yt.utcOffset=function(t,e){var n,i=this._offset||0;return null!=t?("string"==typeof t&&(t=nt(t)),Math.abs(t)<16&&(t*=60),!this._isUTC&&e&&(n=rt(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==t&&(!e||this._changeInProgress?ct(this,at(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:rt(this)},Yt.utc=function(t){return this.utcOffset(0,t)},Yt.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(rt(this),"m")),this},Yt.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(nt(this._i)),this},Yt.hasAlignedHourOffset=function(t){return t=t?K(t).utcOffset():0,(this.utcOffset()-t)%60==0},Yt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Yt.isDSTShifted=function(){if(this._a){var t=(this._isUTC?o:K)(this._a);return this.isValid()&&0<m(this._a,t.toArray())}return!1},Yt.isLocal=function(){return!this._isUTC},Yt.isUtcOffset=function(){return this._isUTC},Yt.isUtc=ot,Yt.isUTC=ot,Yt.zoneAbbr=function(){return this._isUTC?"UTC":""},Yt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Yt.dates=H("dates accessor is deprecated. Use date instead.",_e),Yt.months=H("months accessor is deprecated. Use month instead",R),Yt.years=H("years accessor is deprecated. Use year instead",pe),Yt.zone=H("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()});Wt=Yt,xe=n.prototype;xe._calendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},xe.calendar=function(t,e,n){return"function"==typeof(t=this._calendar[t])?t.call(e,n):t},xe._longDateFormat={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"},xe.longDateFormat=function(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},xe._invalidDate="Invalid date",xe.invalidDate=function(){return this._invalidDate},xe._ordinal="%d",xe.ordinal=function(t){return this._ordinal.replace("%d",t)},xe._ordinalParse=/\d{1,2}/,xe.preparse=xt,xe.postformat=xt,xe._relativeTime={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"},xe.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)},xe.pastFuture=function(t,e){return"function"==typeof(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},xe.set=function(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)},xe.months=function(t){return this._months[t.month()]},xe._months=se,xe.monthsShort=function(t){return this._monthsShort[t.month()]},xe._monthsShort=le,xe.monthsParse=function(t,e,n){var i,r;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=o([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]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},xe.week=function(t){return U(t,this._week.dow,this._week.doy).week},xe._week={dow:0,doy:6},xe.firstDayOfYear=function(){return this._week.doy},xe.firstDayOfWeek=function(){return this._week.dow},xe.weekdays=function(t){return this._weekdays[t.day()]},xe._weekdays=Ce,xe.weekdaysMin=function(t){return this._weekdaysMin[t.day()]},xe._weekdaysMin=$t,xe.weekdaysShort=function(t){return this._weekdaysShort[t.day()]},xe._weekdaysShort=Gt,xe.weekdaysParse=function(t){var e,n;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;e<7;e++)if(this._weekdaysParse[e]||(n=K([2e3,1]).day(e),n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(n.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},xe.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},xe._meridiemParse=/[ap]\.?m?\.?/i,xe.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},b("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===d(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),f.lang=H("moment.lang is deprecated. Use moment.locale instead.",b),f.langData=H("moment.langData is deprecated. Use moment.localeData instead.",w);var ke=Math.abs,me=Mt("ms"),ge=Mt("s"),we=Mt("m"),Xt=Mt("h"),qt=Mt("d"),Kt=Mt("w"),zt=Mt("M"),_e=Mt("y"),pe=Tt("milliseconds"),Yt=Tt("seconds"),se=Tt("minutes"),le=Tt("hours"),Ce=Tt("days"),$t=Tt("months"),Gt=Tt("years"),Me=Math.round,Te={s:45,m:45,h:22,d:26,M:11},De=Math.abs,xe=Q.prototype;return xe.abs=function(){var t=this._data;return this._milliseconds=ke(this._milliseconds),this._days=ke(this._days),this._months=ke(this._months),t.milliseconds=ke(t.milliseconds),t.seconds=ke(t.seconds),t.minutes=ke(t.minutes),t.hours=ke(t.hours),t.months=ke(t.months),t.years=ke(t.years),this},xe.add=function(t,e){return _t(this,t,e,1)},xe.subtract=function(t,e){return _t(this,t,e,-1)},xe.as=function(t){var e,n,i=this._milliseconds;if("month"===(t=S(t))||"year"===t)return e=this._days+i/864e5,n=this._months+12*Ct(e),"month"===t?n:n/12;switch(e=this._days+Math.round(kt(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)}},xe.asMilliseconds=me,xe.asSeconds=ge,xe.asMinutes=we,xe.asHours=Xt,xe.asDays=qt,xe.asWeeks=Kt,xe.asMonths=zt,xe.asYears=_e,xe.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*d(this._months/12)},xe._bubble=function(){var t=this._milliseconds,e=this._days,n=this._months,i=this._data;return i.milliseconds=t%1e3,t=ht(t/1e3),i.seconds=t%60,t=ht(t/60),i.minutes=t%60,t=ht(t/60),i.hours=t%24,e+=ht(t/24),t=ht(Ct(e)),e-=ht(kt(t)),n+=ht(e/30),e%=30,t+=ht(n/12),n%=12,i.days=e,i.months=n,i.years=t,this},xe.get=function(t){return this[(t=S(t))+"s"]()},xe.milliseconds=pe,xe.seconds=Yt,xe.minutes=se,xe.hours=le,xe.days=Ce,xe.weeks=function(){return ht(this.days()/7)},xe.months=$t,xe.years=Gt,xe.humanize=function(t){var e=this.localeData(),n=Dt(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},xe.toISOString=At,xe.toString=At,xe.toJSON=At,xe.locale=ft,xe.localeData=pt,xe.toIsoString=H("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",At),xe.lang=Se,D("X",0,0,"unix"),D("x",0,0,"valueOf"),E("x",Vt),E("X",/[+-]?\d+(\.\d{1,3})?/),O("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),O("x",function(t,e,n){n._d=new Date(d(t))}),f.version="2.10.3",Pt=K,f.fn=Wt,f.min=function(){return J("isBefore",[].slice.call(arguments,0))},f.max=function(){return J("isAfter",[].slice.call(arguments,0))},f.utc=o,f.unix=function(t){return K(1e3*t)},f.months=function(t,e){return St(t,e,"months",12,"month")},f.isDate=i,f.locale=b,f.invalid=l,f.duration=at,f.isMoment=h,f.weekdays=function(t,e){return St(t,e,"weekdays",7,"day")},f.parseZone=function(){return K.apply(null,arguments).parseZone()},f.localeData=w,f.isDuration=tt,f.monthsShort=function(t,e){return St(t,e,"monthsShort",12,"month")},f.weekdaysMin=function(t,e){return St(t,e,"weekdaysMin",7,"day")},f.defineLocale=x,f.weekdaysShort=function(t,e){return St(t,e,"weekdaysShort",7,"day")},f.normalizeUnits=S,f.relativeTimeThreshold=function(t,e){return void 0!==Te[t]&&(void 0===e?Te[t]:(Te[t]=e,!0))},f}),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&"undefined"!=typeof exports?module.exports=e():t.Papa=e()}(this,function r(){"use strict";var o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==o?o:{};var c,a=!o.document&&!!o.postMessage,s=a&&/blob:/i.test((o.location||{}).protocol),l={},u=0,x={};function h(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!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:{}},function(t){var e=S(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null);this._handle=new n(e),(this._handle.streamer=this)._config=e}.call(this,t),this.parseChunk=function(t,e){this.isFirstChunk&&F(this._config.beforeFirstChunk)&&(void 0!==(i=this._config.beforeFirstChunk(t))&&(t=i)),this.isFirstChunk=!1,this._halted=!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()){t=i.meta.cursor;this._finished||(this._partialLine=n.substring(t-this._baseIndex),this._baseIndex=t),i&&i.data&&(this._rowCount+=i.data.length);t=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(s)o.postMessage({results:i,workerId:x.WORKER_ID,finished:t});else if(F(this._config.chunk)&&!e){if(this._config.chunk(i,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=i=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),this._completed||!t||!F(this._config.complete)||i&&i.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),t||i&&i.meta.paused||this._nextChunk(),i}this._halted=!0},this._sendError=function(t){F(this._config.error)?this._config.error(t):s&&this._config.error&&o.postMessage({workerId:x.WORKER_ID,error:t,finished:!1})}}function d(t){var i;(t=t||{}).chunkSize||(t.chunkSize=x.RemoteChunkSize),h.call(this,t),this._nextChunk=a?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(i=new XMLHttpRequest,this._config.withCredentials&&(i.withCredentials=this._config.withCredentials),a||(i.onload=_(this._chunkLoaded,this),i.onerror=_(this._chunkError,this)),i.open(this._config.downloadRequestBody?"POST":"GET",this._input,!a),this._config.downloadRequestHeaders){var t,e=this._config.downloadRequestHeaders;for(t in e)i.setRequestHeader(t,e[t])}var n;this._config.chunkSize&&(n=this._start+this._config.chunkSize-1,i.setRequestHeader("Range","bytes="+this._start+"-"+n));try{i.send(this._config.downloadRequestBody)}catch(t){this._chunkError(t.message)}a&&0===i.status&&this._chunkError()}},this._chunkLoaded=function(){4===i.readyState&&(i.status<200||400<=i.status?this._chunkError():(this._start+=this._config.chunkSize||i.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(t){t=t.getResponseHeader("Content-Range");return null!==t?parseInt(t.substring(t.lastIndexOf("/")+1)):-1}(i),this.parseChunk(i.responseText)))},this._chunkError=function(t){t=i.statusText||t;this._sendError(new Error(t))}}function f(t){var n,i;(t=t||{}).chunkSize||(t.chunkSize=x.LocalChunkSize),h.call(this,t);var r="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,i=t.slice||t.webkitSlice||t.mozSlice,r?((n=new FileReader).onload=_(this._chunkLoaded,this),n.onerror=_(this._chunkError,this)):n=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t,e=this._input;this._config.chunkSize&&(t=Math.min(this._start+this._config.chunkSize,this._input.size),e=i.call(e,this._start,t));e=n.readAsText(e,this._config.encoding);r||this._chunkLoaded({target:{result:e}})},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(n.error)}}function p(t){var n;h.call(this,t=t||{}),this.stream=function(t){return n=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t,e=this._config.chunkSize;return n=e?(t=n.substring(0,e),n.substring(e)):(t=n,""),this._finished=!n,this.parseChunk(t)}}}function g(t){h.call(this,t=t||{});var e=[],n=!0,i=!1;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},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._checkIsFinished=function(){i&&1===e.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):n=!0},this._streamData=_(function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}},this),this._streamError=_(function(t){this._streamCleanUp(),this._sendError(t)},this),this._streamEnd=_(function(){this._streamCleanUp(),i=!0,this._streamData("")},this),this._streamCleanUp=_(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function m(t){var e=require("stream").Duplex,n=S(t),i=!0,r=!1,o=[],a=null;this._onCsvData=function(t){t=t.data;a.push(t)||this._handle.paused()||this._handle.pause()},this._onCsvComplete=function(){a.push(null)},n.step=_(this._onCsvData,this),n.complete=_(this._onCsvComplete,this),h.call(this,n),this._nextChunk=function(){r&&1===o.length&&(this._finished=!0),o.length?o.shift()():i=!0},this._addToParseQueue=function(t,e){o.push(_(function(){if(this.parseChunk("string"==typeof t?t:t.toString(n.encoding)),F(e))return e()},this)),i&&(i=!1,this._nextChunk())},this._onRead=function(){this._handle.paused()&&this._handle.resume()},this._onWrite=function(t,e,n){this._addToParseQueue(t,n)},this._onWriteComplete=function(){r=!0,this._addToParseQueue("")},this.getStream=function(){return a},(a=new e({readableObjectMode:!0,decodeStrings:!1,read:_(this._onRead,this),write:_(this._onWrite,this)})).once("finish",_(this._onWriteComplete,this))}function n(y){var o,a,s,e,l=Math.pow(2,53),u=-l,c=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)(e[-+]?\d+)?\s*$/,h=/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,n=this,i=0,d=0,f=!1,t=!1,p=[],g={data:[],errors:[],meta:{}};function v(t){return"greedy"===y.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function m(){if(g&&s&&(b("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+x.DefaultDelimiter+"'"),s=!1),y.skipEmptyLines)for(var t=0;t<g.data.length;t++)v(g.data[t])&&g.data.splice(t--,1);return r()&&function(){if(g)if(Array.isArray(g.data[0])){for(var t=0;r()&&t<g.data.length;t++)g.data[t].forEach(e);g.data.splice(0,1)}else g.data.forEach(e);function e(t,e){F(y.transformHeader)&&(t=y.transformHeader(t,e)),p.push(t)}}(),function(){if(!g||!y.header&&!y.dynamicTyping&&!y.transform)return g;function t(t,e){for(var n=y.header?{}:[],i=0;i<t.length;i++){var r=i,o=t[i],o=function(t,e){if(function(t){y.dynamicTypingFunction&&void 0===y.dynamicTyping[t]&&(y.dynamicTyping[t]=y.dynamicTypingFunction(t));return!0===(y.dynamicTyping[t]||y.dynamicTyping)}(t))return"true"===e||"TRUE"===e||"false"!==e&&"FALSE"!==e&&(function(t){if(c.test(t)){t=parseFloat(t);if(u<t&&t<l)return 1}}(e)?parseFloat(e):h.test(e)?new Date(e):""===e?null:e);return e}(r=y.header?i>=p.length?"__parsed_extra":p[i]:r,o=y.transform?y.transform(o,r):o);"__parsed_extra"===r?(n[r]=n[r]||[],n[r].push(o)):n[r]=o}return y.header&&(i>p.length?b("FieldMismatch","TooManyFields","Too many fields: expected "+p.length+" fields but parsed "+i,d+e):i<p.length&&b("FieldMismatch","TooFewFields","Too few fields: expected "+p.length+" fields but parsed "+i,d+e)),n}var e=1;!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(t),e=g.data.length):g.data=t(g.data,0);y.header&&g.meta&&(g.meta.fields=p);return d+=e,g}()}function r(){return y.header&&0===p.length}function b(t,e,n,i){n={type:t,code:e,message:n};void 0!==i&&(n.row=i),g.errors.push(n)}F(y.step)&&(e=y.step,y.step=function(t){g=t,r()?m():(m(),0!==g.data.length&&(i+=t.data.length,y.preview&&i>y.preview?a.abort():(g.data=g.data[0],e(g,n))))}),this.parse=function(t,e,n){var i=y.quoteChar||'"';y.newline||(y.newline=function(t,e){t=t.substring(0,1048576);var e=new RegExp(R(e)+"([^]*?)"+R(e),"gm"),n=(t=t.replace(e,"")).split("\r"),t=t.split("\n"),t=1<t.length&&t[0].length<n[0].length;if(1===n.length||t)return"\n";for(var i=0,r=0;r<n.length;r++)"\n"===n[r][0]&&i++;return i>=n.length/2?"\r\n":"\r"}(t,i)),s=!1,y.delimiter?F(y.delimiter)&&(y.delimiter=y.delimiter(t),g.meta.delimiter=y.delimiter):((r=function(t,e,n,i,r){var o,a,s,l;r=r||[",","\t","|",";",x.RECORD_SEP,x.UNIT_SEP];for(var u=0;u<r.length;u++){var c=r[u],h=0,d=0,f=0;s=void 0;for(var p,g=new w({comments:i,delimiter:c,newline:e,preview:10}).parse(t),m=0;m<g.data.length;m++)n&&v(g.data[m])?f++:(p=g.data[m].length,d+=p,void 0!==s?0<p&&(h+=Math.abs(p-s),s=p):s=p);0<g.data.length&&(d/=g.data.length-f),(void 0===a||h<=a)&&(void 0===l||l<d)&&1.99<d&&(a=h,o=c,l=d)}return{successful:!!(y.delimiter=o),bestDelimiter:o}}(t,y.newline,y.skipEmptyLines,y.comments,y.delimitersToGuess)).successful?y.delimiter=r.bestDelimiter:(s=!0,y.delimiter=x.DefaultDelimiter),g.meta.delimiter=y.delimiter);var r=S(y);return y.preview&&y.header&&r.preview++,o=t,a=new w(r),g=a.parse(o,e,n),m(),f?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return f},this.pause=function(){f=!0,a.abort(),o=F(y.chunk)?"":o.substring(a.getCharIndex())},this.resume=function(){n.streamer._halted?(f=!1,n.streamer.parseChunk(o,!0)):setTimeout(n.resume,3)},this.aborted=function(){return t},this.abort=function(){t=!0,a.abort(),g.meta.aborted=!0,F(y.complete)&&y.complete(g),o=""}}function R(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function w(t){var M=(t=t||{}).delimiter,T=t.newline,D=t.comments,A=t.step,P=t.preview,E=t.fastMode,O=void 0===t.quoteChar?'"':t.quoteChar,L=O;if(void 0!==t.escapeChar&&(L=t.escapeChar),("string"!=typeof M||-1<x.BAD_DELIMITERS.indexOf(M))&&(M=","),D===M)throw new Error("Comment character same as delimiter");!0===D?D="#":("string"!=typeof D||-1<x.BAD_DELIMITERS.indexOf(D))&&(D=!1),"\n"!==T&&"\r"!==T&&"\r\n"!==T&&(T="\n");var I=0,N=!1;this.parse=function(s,e,n){if("string"!=typeof s)throw new Error("Input must be a string");var i=s.length,t=M.length,r=T.length,o=D.length,a=F(A),l=[],u=[],c=[],h=I=0;if(!s)return C();if(E||!1!==E&&-1===s.indexOf(O)){for(var d=s.split(T),f=0;f<d.length;f++){if(c=d[f],I+=c.length,f!==d.length-1)I+=T.length;else if(n)return C();if(!D||c.substring(0,o)!==D){if(a){if(l=[],x(c.split(M)),k(),N)return C()}else x(c.split(M));if(P&&P<=f)return l=l.slice(0,P),C(!0)}}return C()}for(var p=s.indexOf(M,I),g=s.indexOf(T,I),m=new RegExp(R(L)+R(O),"g"),y=s.indexOf(O,I);;)if(s[I]!==O)if(D&&0===c.length&&s.substring(I,I+o)===D){if(-1===g)return C();I=g+r,g=s.indexOf(T,I),p=s.indexOf(M,I)}else{if(-1!==p&&(p<g||-1===g)){if(!(p<y)){c.push(s.substring(I,p)),I=p+t,p=s.indexOf(M,I);continue}var v=function t(e,n,i){var r={nextDelim:void 0,quoteSearch:void 0};var o=s.indexOf(O,n+1);if(n<e&&e<o&&(o<i||-1===i)){var a=s.indexOf(M,o);if(-1===a)return r;o<a&&(o=s.indexOf(O,o+1)),r=t(a,o,i)}else r={nextDelim:e,quoteSearch:n};return r}(p,y,g);if(v&&void 0!==v.nextDelim){p=v.nextDelim,y=v.quoteSearch,c.push(s.substring(I,p)),I=p+t,p=s.indexOf(M,I);continue}}if(-1===g)break;if(c.push(s.substring(I,g)),_(g+r),a&&(k(),N))return C();if(P&&l.length>=P)return C(!0)}else for(y=I,I++;;){if(-1===(y=s.indexOf(O,y+1)))return n||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:l.length,index:I}),S();if(y===i-1)return S(s.substring(I,y).replace(m,O));if(O!==L||s[y+1]!==L){if(O===L||0===y||s[y-1]!==L){-1!==p&&p<y+1&&(p=s.indexOf(M,y+1));var b=w(-1===(g=-1!==g&&g<y+1?s.indexOf(T,y+1):g)?p:Math.min(p,g));if(s[y+1+b]===M){c.push(s.substring(I,y).replace(m,O)),s[I=y+1+b+t]!==O&&(y=s.indexOf(O,I)),p=s.indexOf(M,I),g=s.indexOf(T,I);break}b=w(g);if(s.substring(y+1+b,y+1+b+r)===T){if(c.push(s.substring(I,y).replace(m,O)),_(y+1+b+r),p=s.indexOf(M,I),y=s.indexOf(O,I),a&&(k(),N))return C();if(P&&l.length>=P)return C(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:l.length,index:I}),y++}}else y++}return S();function x(t){l.push(t),h=I}function w(t){var e=0;return-1===t||(t=s.substring(y+1,t))&&""===t.trim()&&(e=t.length),e}function S(t){return n||(void 0===t&&(t=s.substring(I)),c.push(t),I=i,x(c),a&&k()),C()}function _(t){I=t,x(c),c=[],g=s.indexOf(T,I)}function C(t){return{data:l,errors:u,meta:{delimiter:M,linebreak:T,aborted:N,truncated:!!t,cursor:h+(e||0)}}}function k(){A(C()),l=[],u=[]}},this.abort=function(){N=!0},this.getCharIndex=function(){return I}}function y(t){var e=t.data,n=l[e.workerId],i=!1;if(e.error)n.userError(e.error,e.file);else if(e.results&&e.results.data){var r={abort:function(){i=!0,v(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:b,resume:b};if(F(n.userStep)){for(var o=0;o<e.results.data.length&&(n.userStep({data:e.results.data[o],errors:e.results.errors,meta:e.results.meta},r),!i);o++);delete e.results}else F(n.userChunk)&&(n.userChunk(e.results,r,e.file),delete e.results)}e.finished&&!i&&v(e.workerId,e.results)}function v(t,e){var n=l[t];F(n.userComplete)&&n.userComplete(e),n.terminate(),delete l[t]}function b(){throw new Error("Not implemented.")}function S(t){if("object"!=typeof t||null===t)return t;var e,n=Array.isArray(t)?[]:{};for(e in t)n[e]=S(t[e]);return n}function _(t,e){return function(){t.apply(e,arguments)}}function F(t){return"function"==typeof t}return x.parse=function(t,e){var n=(e=e||{}).dynamicTyping||!1;F(n)&&(e.dynamicTypingFunction=n,n={});if(e.dynamicTyping=n,e.transform=!!F(e.transform)&&e.transform,!e.worker||!x.WORKERS_SUPPORTED){var i=null;return t===x.NODE_STREAM_INPUT&&"undefined"==typeof PAPA_BROWSER_CONTEXT?(i=new m(e)).getStream():("string"==typeof t?i=new(e.download?d:p)(e):!0===t.readable&&F(t.read)&&F(t.on)?i=new g(e):(o.File&&t instanceof File||t instanceof Object)&&(i=new f(e)),i.stream(t))}i=function(){if(!x.WORKERS_SUPPORTED)return!1;var t=function(){var t=o.URL||o.webkitURL||null,e=r.toString();return x.BLOB_URL||(x.BLOB_URL=t.createObjectURL(new Blob(["(",e,")();"],{type:"text/javascript"})))}(),t=new o.Worker(t);return t.onmessage=y,t.id=u++,l[t.id]=t}();i.userStep=e.step,i.userChunk=e.chunk,i.userComplete=e.complete,i.userError=e.error,e.step=F(e.step),e.chunk=F(e.chunk),e.complete=F(e.complete),e.error=F(e.error),delete e.worker,i.postMessage({input:t,config:e,workerId:i.id})},x.unparse=function(t,e){var i=!1,m=!0,y=",",v="\r\n",r='"',o=r+r,n=!1,a=null,s=!1;!function(){if("object"==typeof e){if("string"!=typeof e.delimiter||x.BAD_DELIMITERS.filter(function(t){return-1!==e.delimiter.indexOf(t)}).length||(y=e.delimiter),"boolean"!=typeof e.quotes&&"function"!=typeof e.quotes&&!Array.isArray(e.quotes)||(i=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(n=e.skipEmptyLines),"string"==typeof e.newline&&(v=e.newline),"string"==typeof e.quoteChar&&(r=e.quoteChar),"boolean"==typeof e.header&&(m=e.header),Array.isArray(e.columns)){if(0===e.columns.length)throw new Error("Option columns is empty");a=e.columns}void 0!==e.escapeChar&&(o=e.escapeChar+r),"boolean"==typeof e.escapeFormulae&&(s=e.escapeFormulae)}}();var l=new RegExp(R(r),"g");"string"==typeof t&&(t=JSON.parse(t));if(Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return c(null,t,n);if("object"==typeof t[0])return c(a||u(t[0]),t,n)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:u(t.data[0])),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),c(t.fields||[],t.data||[],n);throw new Error("Unable to serialize unrecognized input");function u(t){if("object"!=typeof t)return[];var e,n=[];for(e in t)n.push(e);return n}function c(t,e,n){var i="";"string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e));var r=Array.isArray(t)&&0<t.length,o=!Array.isArray(e[0]);if(r&&m){for(var a=0;a<t.length;a++)0<a&&(i+=y),i+=b(t[a],a);0<e.length&&(i+=v)}for(var s=0;s<e.length;s++){var l=(r?t:e[s]).length,u=!1,c=r?0===Object.keys(e[s]).length:0===e[s].length;if(n&&!r&&(u="greedy"===n?""===e[s].join("").trim():1===e[s].length&&0===e[s][0].length),"greedy"===n&&r){for(var h=[],d=0;d<l;d++){var f=o?t[d]:d;h.push(e[s][f])}u=""===h.join("").trim()}if(!u){for(var p=0;p<l;p++){0<p&&!c&&(i+=y);var g=r&&o?t[p]:p;i+=b(e[s][g],p)}s<e.length-1&&(!n||0<l&&!c)&&(i+=v)}}return i}function b(t,e){if(null==t)return"";if(t.constructor===Date)return JSON.stringify(t).slice(1,25);var n=(t=!0===s&&"string"==typeof t&&null!==t.match(/^[=+\-@].*$/)?"'"+t:t).toString().replace(l,o);return"boolean"==typeof i&&i||"function"==typeof i&&i(t,e)||Array.isArray(i)&&i[e]||function(t,e){for(var n=0;n<e.length;n++)if(-1<t.indexOf(e[n]))return!0;return!1}(n,x.BAD_DELIMITERS)||-1<n.indexOf(y)||" "===n.charAt(0)||" "===n.charAt(n.length-1)?r+n+r:n}},x.RECORD_SEP=String.fromCharCode(30),x.UNIT_SEP=String.fromCharCode(31),x.BYTE_ORDER_MARK="\ufeff",x.BAD_DELIMITERS=["\r","\n",'"',x.BYTE_ORDER_MARK],x.WORKERS_SUPPORTED=!a&&!!o.Worker,x.NODE_STREAM_INPUT=1,x.LocalChunkSize=10485760,x.RemoteChunkSize=5242880,x.DefaultDelimiter=",",x.Parser=w,x.ParserHandle=n,x.NetworkStreamer=d,x.FileStreamer=f,x.StringStreamer=p,x.ReadableStreamStreamer=g,"undefined"==typeof PAPA_BROWSER_CONTEXT&&(x.DuplexStreamStreamer=m),o.jQuery&&((c=o.jQuery).fn.parse=function(s){var n=s.config||{},l=[];return this.each(function(t){if(!("INPUT"===c(this).prop("tagName").toUpperCase()&&"file"===c(this).attr("type").toLowerCase()&&o.FileReader)||!this.files||0===this.files.length)return!0;for(var e=0;e<this.files.length;e++)l.push({file:this.files[e],inputElem:this,instanceConfig:c.extend({},n)})}),t(),this;function t(){if(0!==l.length){var t,e,n,i,r=l[0];if(F(s.before)){var o=s.before(r.file,r.inputElem);if("object"==typeof o){if("abort"===o.action)return t="AbortError",e=r.file,n=r.inputElem,i=o.reason,void(F(s.error)&&s.error({name:t},e,n,i));if("skip"===o.action)return void u();"object"==typeof o.config&&(r.instanceConfig=c.extend(r.instanceConfig,o.config))}else if("skip"===o)return void u()}var a=r.instanceConfig.complete;r.instanceConfig.complete=function(t){F(a)&&a(t,r.file,r.inputElem),u()},x.parse(r.file,r.instanceConfig)}else F(s.complete)&&s.complete()}function u(){l.splice(0,1),t()}}),s&&(o.onmessage=function(t){t=t.data;void 0===x.WORKER_ID&&t&&(x.WORKER_ID=t.workerId);"string"==typeof t.input?o.postMessage({workerId:x.WORKER_ID,results:x.parse(t.input,t.config),finished:!0}):!(o.File&&t.input instanceof File||t.input instanceof Object)||(t=x.parse(t.input,t.config))&&o.postMessage({workerId:x.WORKER_ID,results:t,finished:!0})}),(d.prototype=Object.create(h.prototype)).constructor=d,(f.prototype=Object.create(h.prototype)).constructor=f,(p.prototype=Object.create(p.prototype)).constructor=p,(g.prototype=Object.create(h.prototype)).constructor=g,"undefined"==typeof PAPA_BROWSER_CONTEXT&&((m.prototype=Object.create(h.prototype)).constructor=m),x}),function(){function a(t,e){return t<e?-1:e<t?1:e<=t?0:NaN}function u(t){return null===t?NaN:+t}function c(t){return!isNaN(t)}function t(o){return{left:function(t,e,n,i){for(arguments.length<3&&(n=0),arguments.length<4&&(i=t.length);n<i;){var r=n+i>>>1;o(t[r],e)<0?n=1+r:i=r}return n},right:function(t,e,n,i){for(arguments.length<3&&(n=0),arguments.length<4&&(i=t.length);n<i;){var r=n+i>>>1;0<o(t[r],e)?i=r:n=1+r}return n}}}function s(t){return t.length}function e(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function v(){this._=Object.create(null)}function n(t){return(t+="")===io||t[0]===ro?ro+t:t}function i(t){return(t+="")[0]===ro?t.slice(1):t}function r(t){return n(t)in this._}function o(t){return(t=n(t))in this._&&delete this._[t]}function l(){var t,e=[];for(t in this._)e.push(i(t));return e}function h(){var t,e=0;for(t in this._)++e;return e}function d(){for(var t in this._)return!1;return!0}function f(){this._=Object.create(null)}function p(t,e){if(e in t)return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var n=0,i=oo.length;n<i;++n){var r=oo[n]+e;if(r in t)return r}}function y(){}function g(){}function m(r){function t(){for(var t,e=o,n=-1,i=e.length;++n<i;)(t=e[n].on)&&t.apply(this,arguments);return r}var o=[],i=new v;return t.on=function(t,e){var n=i.get(t);return arguments.length<2?n&&n.on:(n&&(n.on=null,o=o.slice(0,n=o.indexOf(n)).concat(o.slice(n+1)),i.remove(t)),e&&o.push(i.set(t,{on:e})),r)},t}function L(){qr.event.preventDefault()}function b(){for(var t,e=qr.event;t=e.sourceEvent;)e=t;return e}function I(r){for(var o=new g,t=0,e=arguments.length;++t<e;)o[arguments[t]]=m(o);return o.of=function(n,i){return function(t){try{var e=t.sourceEvent=qr.event;t.target=r,qr.event=t,o[t.type].apply(n,i)}finally{qr.event=e}}},o}function x(t){return so(t,fo),t}function w(t){return"function"==typeof t?t:function(){return lo(t,this)}}function S(t){return"function"==typeof t?t:function(){return uo(t,this)}}function _(e,n){return e=qr.ns.qualify(e),null==n?e.local?function(){this.removeAttributeNS(e.space,e.local)}:function(){this.removeAttribute(e)}:"function"==typeof n?e.local?function(){var t=n.apply(this,arguments);null==t?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,t)}:function(){var t=n.apply(this,arguments);null==t?this.removeAttribute(e):this.setAttribute(e,t)}:e.local?function(){this.setAttributeNS(e.space,e.local,n)}:function(){this.setAttribute(e,n)}}function C(t){return t.trim().replace(/\s+/g," ")}function k(t){return new RegExp("(?:^|\\s+)"+qr.requote(t)+"(?:\\s+|$)","g")}function M(t){return(t+"").trim().split(/^|\s+/)}function T(n,i){var r=(n=M(n).map(D)).length;return"function"==typeof i?function(){for(var t=-1,e=i.apply(this,arguments);++t<r;)n[t](this,e)}:function(){for(var t=-1;++t<r;)n[t](this,i)}}function D(i){var r=k(i);return function(t,e){if(n=t.classList)return e?n.add(i):n.remove(i);var n=t.getAttribute("class")||"";e?(r.lastIndex=0,r.test(n)||t.setAttribute("class",C(n+" "+i))):t.setAttribute("class",C(n.replace(r," ")))}}function A(e,n,i){return null==n?function(){this.style.removeProperty(e)}:"function"==typeof n?function(){var t=n.apply(this,arguments);null==t?this.style.removeProperty(e):this.style.setProperty(e,t,i)}:function(){this.style.setProperty(e,n,i)}}function P(e,n){return null==n?function(){delete this[e]}:"function"==typeof n?function(){var t=n.apply(this,arguments);null==t?delete this[e]:this[e]=t}:function(){this[e]=n}}function E(t){return"function"==typeof t?t:(t=qr.ns.qualify(t)).local?function(){return this.ownerDocument.createElementNS(t.space,t.local)}:function(){return this.ownerDocument.createElementNS(this.namespaceURI,t)}}function O(){var t=this.parentNode;t&&t.removeChild(this)}function N(t){return{__data__:t}}function R(t){return function(){return ho(this,t)}}function F(t,e){for(var n=0,i=t.length;n<i;n++)for(var r,o=t[n],a=0,s=o.length;a<s;a++)(r=o[a])&&e(r,a,n);return t}function j(t){return so(t,go),t}function H(r,e,n){function i(){var t=this[o];t&&(this.removeEventListener(r,t,t.$),delete this[o])}var o="__on"+r,t=r.indexOf("."),a=B;0<t&&(r=r.slice(0,t));var s=yo.get(r);return s&&(r=s,a=z),t?e?function(){var t=a(e,Yr(arguments));i.call(this),this.addEventListener(r,this[o]=t,t.$=n),t._=e}:i:e?y:function(){var t,e,n,i=new RegExp("^__on([^.]+)"+qr.requote(r)+"$");for(e in this)(t=e.match(i))&&(n=this[e],this.removeEventListener(t[1],n,n.$),delete this[e])}}function B(n,i){return function(t){var e=qr.event;qr.event=t,i[0]=this.__data__;try{n.apply(this,i)}finally{qr.event=e}}}function z(t,e){var n=B(t,e);return function(t){var e=t.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||n.call(this,t)}}function W(){var n,i,r=".dragsuppress-"+ ++bo,o="click"+r,a=qr.select(Vr).on("touchmove"+r,L).on("dragstart"+r,L).on("selectstart"+r,L);return vo&&(n=Xr.style,i=n[vo],n[vo]="none"),function(t){var e;a.on(r,null),vo&&(n[vo]=i),t&&(e=function(){a.on(o,null)},a.on(o,function(){L(),e()},!0),setTimeout(e,0))}}function $(t,e){if(e.changedTouches&&(e=e.changedTouches[0]),(n=t.ownerSVGElement||t).createSVGPoint){var n,i,r=n.createSVGPoint();return xo<0&&(Vr.scrollX||Vr.scrollY)&&(i=(n=qr.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important"))[0][0].getScreenCTM(),xo=!(i.f||i.e),n.remove()),xo?(r.x=e.pageX,r.y=e.pageY):(r.x=e.clientX,r.y=e.clientY),[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}r=t.getBoundingClientRect();return[e.clientX-r.left-t.clientLeft,e.clientY-r.top-t.clientTop]}function q(){return qr.event.changedTouches[0].identifier}function U(){return qr.event.target}function Y(){return Vr}function G(t){return 0<t?1:t<0?-1:0}function X(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function V(t){return 1<t?0:t<-1?_o:Math.acos(t)}function Z(t){return 1<t?Mo:t<-1?-Mo:Math.asin(t)}function K(t){return((t=Math.exp(t))+1/t)/2}function J(t){return(t=Math.sin(t/2))*t}function Q(){}function tt(t,e,n){return this instanceof tt?(this.h=+t,this.s=+e,void(this.l=+n)):arguments.length<2?t instanceof tt?new tt(t.h,t.s,t.l):pt(""+t,gt,tt):new tt(t,e,n)}function et(t,e,n){function i(t){return Math.round(255*(360<(t=t)?t-=360:t<0&&(t+=360),t<60?r+(o-r)*t/60:t<180?o:t<240?r+(o-r)*(240-t)/60:r))}var r,o;return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)||e<0?0:1<e?1:e,r=2*(n=n<0?0:1<n?1:n)-(o=n<=.5?n*(1+e):n+e-n*e),new ct(i(t+120),i(t),i(t-120))}function nt(t,e,n){return this instanceof nt?(this.h=+t,this.c=+e,void(this.l=+n)):arguments.length<2?t instanceof nt?new nt(t.h,t.c,t.l):at((t instanceof rt?t:t=mt((t=qr.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new nt(t,e,n)}function it(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new rt(n,Math.cos(t*=To)*e,Math.sin(t)*e)}function rt(t,e,n){return this instanceof rt?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof rt?new rt(t.l,t.a,t.b):t instanceof nt?it(t.h,t.c,t.l):mt((t=ct(t)).r,t.g,t.b):new rt(t,e,n)}function ot(t,e,n){t=(t+16)/116,n=t-n/200;return new ct(ut(3.2404542*(e=st(e=t+e/500)*Io)-1.5371385*(t=st(t)*No)-.4985314*(n=st(n)*Ro)),ut(-.969266*e+1.8760108*t+.041556*n),ut(.0556434*e-.2040259*t+1.0572252*n))}function at(t,e,n){return 0<t?new nt(Math.atan2(n,e)*Do,Math.sqrt(e*e+n*n),t):new nt(NaN,NaN,t)}function st(t){return.206893034<t?t*t*t:(t-4/29)/7.787037}function lt(t){return.008856<t?Math.pow(t,1/3):7.787037*t+4/29}function ut(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function ct(t,e,n){return this instanceof ct?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof ct?new ct(t.r,t.g,t.b):pt(""+t,ct,et):new ct(t,e,n)}function ht(t){return new ct(t>>16,255&t>>8,255&t)}function dt(t){return ht(t)+""}function ft(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function pt(t,e,n){var i,r,o=0,a=0,s=0;if(r=/([a-z]+)\((.*)\)/i.exec(t))switch(i=r[2].split(","),r[1]){case"hsl":return n(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return e(vt(i[0]),vt(i[1]),vt(i[2]))}return(r=Fo.get(t))?e(r.r,r.g,r.b):(null==t||"#"!==t.charAt(0)||isNaN(r=parseInt(t.slice(1),16))||(4===t.length?(o=(3840&r)>>4,o|=o>>4,a=240&r,a|=a>>4,s=15&r,s|=s<<4):7===t.length&&(o=(16711680&r)>>16,a=(65280&r)>>8,s=255&r)),e(o,a,s))}function gt(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=l<.5?s/(a+o):s/(2-a-o),i=t==a?(e-n)/s+(e<n?6:0):e==a?(n-t)/s+2:(t-e)/s+4,i*=60):(i=NaN,r=0<l&&l<1?0:i),new tt(i,r,l)}function mt(t,e,n){var i=lt((.4124564*(t=yt(t))+.3575761*(e=yt(e))+.1804375*(n=yt(n)))/Io),r=lt((.2126729*t+.7151522*e+.072175*n)/No);return rt(116*r-16,500*(i-r),200*(r-lt((.0193339*t+.119192*e+.9503041*n)/Ro)))}function yt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function vt(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}function bt(t){return"function"==typeof t?t:function(){return t}}function xt(t){return t}function wt(i){return function(t,e,n){return 2===arguments.length&&"function"==typeof e&&(n=e,e=null),St(t,e,i,n)}}function St(r,o,a,t){function e(){var t,e,n,i=c.status;if(!i&&((n=(e=c).responseType)&&"text"!==n?e.response:e.responseText)||200<=i&&i<300||304===i){try{t=a.call(s,c)}catch(t){return void l.error.call(s,t)}l.load.call(s,t)}else l.error.call(s,c)}var n,s={},l=qr.dispatch("beforesend","progress","load","error"),u={},c=new XMLHttpRequest,h=null;return"onload"in(c=Vr.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(r)?new XDomainRequest:c)?c.onload=c.onerror=e:c.onreadystatechange=function(){3<c.readyState&&e()},c.onprogress=function(t){var e=qr.event;qr.event=t;try{l.progress.call(s,c)}finally{qr.event=e}},s.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?u[t]:(null==e?delete u[t]:u[t]=e+"",s)},s.mimeType=function(t){return arguments.length?(o=null==t?null:t+"",s):o},s.responseType=function(t){return arguments.length?(h=t,s):h},s.response=function(t){return a=t,s},["get","post"].forEach(function(t){s[t]=function(){return s.send.apply(s,[t].concat(Yr(arguments)))}}),s.send=function(t,e,n){if(2===arguments.length&&"function"==typeof e&&(n=e,e=null),c.open(t,r,!0),null==o||"accept"in u||(u.accept=o+",*/*"),c.setRequestHeader)for(var i in u)c.setRequestHeader(i,u[i]);return null!=o&&c.overrideMimeType&&c.overrideMimeType(o),null!=h&&(c.responseType=h),null!=n&&s.on("error",n).on("load",function(t){n(null,t)}),l.beforesend.call(s,c),c.send(null==e?null:e),s},s.abort=function(){return c.abort(),s},qr.rebind(s,l,"on"),null==t?s:s.get(1===(n=t).length?function(t,e){n(null==t?e:null)}:n)}function _t(){var t=Ct(),t=kt()-t;24<t?(isFinite(t)&&(clearTimeout(zo),zo=setTimeout(_t,t)),Bo=0):(Bo=1,$o(_t))}function Ct(){var t=Date.now();for(Wo=jo;Wo;)t>=Wo.t&&(Wo.f=Wo.c(t-Wo.t)),Wo=Wo.n;return t}function kt(){for(var t,e=jo,n=1/0;e;)e=e.f?t?t.n=e.n:jo=e.n:(e.t<n&&(n=e.t),(t=e).n);return Ho=t,n}function Mt(t,e){return e-(t?Math.ceil(Math.log(t)/Math.LN10):1)}function Tt(t){return t+""}function Dt(){this._=new Date(1<arguments.length?Date.UTC.apply(this,arguments):arguments[0])}function At(i,o,a){function t(t){var e=i(t),n=r(e,1);return t-e<n-t?e:n}function s(t){return o(t=i(new Xo(t-1)),1),t}function r(t,e){return o(t=new Xo(+t),e),t}function l(t,e,n){var i=s(t),r=[];if(1<n)for(;i<e;)a(i)%n||r.push(new Date(+i)),o(i,1);else for(;i<e;)r.push(new Date(+i)),o(i,1);return r}(i.floor=i).round=t,i.ceil=s,i.offset=r,i.range=l;var e=i.utc=Pt(i);return(e.floor=e).round=Pt(t),e.ceil=Pt(s),e.offset=Pt(r),e.range=function(t,e,n){try{var i=new(Xo=Dt);return i._=t,l(i,e,n)}finally{Xo=Date}},i}function Pt(i){return function(t,e){try{var n=new(Xo=Dt);return n._=t,i(n,e)._}finally{Xo=Date}}}function Et(t){function i(s){function t(t){for(var e,n,i,r=[],o=-1,a=0;++o<l;)37===s.charCodeAt(o)&&(r.push(s.slice(a,o)),null!=(n=Zo[e=s.charAt(++o)])&&(e=s.charAt(++o)),(i=x[e])&&(e=i(t,null==n?"e"===e?" ":"0":n)),r.push(e),a=o+1);return r.push(s.slice(a,o)),r.join("")}var l=s.length;return t.parse=function(t){var e={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null};if(r(e,s,t,0)!=t.length)return null;"p"in e&&(e.H=e.H%12+12*e.p);var n=null!=e.Z&&Xo!==Dt,t=new(n?Dt:Xo);return"j"in e?t.setFullYear(e.y,0,e.j):"w"in e&&("W"in e||"U"in e)?(t.setFullYear(e.y,0,1),t.setFullYear(e.y,0,"W"in e?(e.w+6)%7+7*e.W-(t.getDay()+5)%7:e.w+7*e.U-(t.getDay()+6)%7)):t.setFullYear(e.y,e.m,e.d),t.setHours(e.H+(0|e.Z/100),e.M+e.Z%100,e.S,e.L),n?t._:t},t.toString=function(){return s},t}function r(t,e,n,i){for(var r,o,a=0,s=e.length,l=n.length;a<s;){if(l<=i)return-1;if(37===(r=e.charCodeAt(a++))){if(o=e.charAt(a++),!(o=w[o in Zo?e.charAt(a++):o])||(i=o(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}var e=t.dateTime,n=t.date,o=t.time,a=t.periods,s=t.days,l=t.shortDays,u=t.months,c=t.shortMonths;i.multi=(i.utc=function(t){function e(t){try{var e=new(Xo=Dt);return e._=t,n(e)}finally{Xo=Date}}var n=i(t);return e.parse=function(t){try{Xo=Dt;var e=n.parse(t);return e&&e._}finally{Xo=Date}},e.toString=n.toString,e}).multi=Zt;var h=qr.map(),d=Lt(s),f=It(s),p=Lt(l),g=It(l),m=Lt(u),y=It(u),v=Lt(c),b=It(c);a.forEach(function(t,e){h.set(t.toLowerCase(),e)});var x={a:function(t){return l[t.getDay()]},A:function(t){return s[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:i(e),d:function(t,e){return Ot(t.getDate(),e,2)},e:function(t,e){return Ot(t.getDate(),e,2)},H:function(t,e){return Ot(t.getHours(),e,2)},I:function(t,e){return Ot(t.getHours()%12||12,e,2)},j:function(t,e){return Ot(1+Go.dayOfYear(t),e,3)},L:function(t,e){return Ot(t.getMilliseconds(),e,3)},m:function(t,e){return Ot(t.getMonth()+1,e,2)},M:function(t,e){return Ot(t.getMinutes(),e,2)},p:function(t){return a[+(12<=t.getHours())]},S:function(t,e){return Ot(t.getSeconds(),e,2)},U:function(t,e){return Ot(Go.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return Ot(Go.mondayOfYear(t),e,2)},x:i(n),X:i(o),y:function(t,e){return Ot(t.getFullYear()%100,e,2)},Y:function(t,e){return Ot(t.getFullYear()%1e4,e,4)},Z:Xt,"%":function(){return"%"}},w={a:function(t,e,n){return p.lastIndex=0,(e=p.exec(e.slice(n)))?(t.w=g.get(e[0].toLowerCase()),n+e[0].length):-1},A:function(t,e,n){return d.lastIndex=0,(e=d.exec(e.slice(n)))?(t.w=f.get(e[0].toLowerCase()),n+e[0].length):-1},b:function(t,e,n){return v.lastIndex=0,(e=v.exec(e.slice(n)))?(t.m=b.get(e[0].toLowerCase()),n+e[0].length):-1},B:function(t,e,n){return m.lastIndex=0,(e=m.exec(e.slice(n)))?(t.m=y.get(e[0].toLowerCase()),n+e[0].length):-1},c:function(t,e,n){return r(t,x.c.toString(),e,n)},d:Wt,e:Wt,H:qt,I:qt,j:$t,L:Gt,m:zt,M:Ut,p:function(t,e,n){return null==(e=h.get(e.slice(n,n+=2).toLowerCase()))?-1:(t.p=e,n)},S:Yt,U:Rt,w:Nt,W:Ft,x:function(t,e,n){return r(t,x.x.toString(),e,n)},X:function(t,e,n){return r(t,x.X.toString(),e,n)},y:Ht,Y:jt,Z:Bt,"%":Vt};return i}function Ot(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",t=r.length;return i+(t<n?new Array(n-t+1).join(e)+r:r)}function Lt(t){return new RegExp("^(?:"+t.map(qr.requote).join("|")+")","i")}function It(t){for(var e=new v,n=-1,i=t.length;++n<i;)e.set(t[n].toLowerCase(),n);return e}function Nt(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+1));return e?(t.w=+e[0],n+e[0].length):-1}function Rt(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n));return e?(t.U=+e[0],n+e[0].length):-1}function Ft(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n));return e?(t.W=+e[0],n+e[0].length):-1}function jt(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+4));return e?(t.y=+e[0],n+e[0].length):-1}function Ht(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+2));return e?(t.y=(t=+e[0])+(68<t?1900:2e3),n+e[0].length):-1}function Bt(t,e,n){return/^[+-]\d{4}$/.test(e=e.slice(n,n+5))?(t.Z=-e,n+5):-1}function zt(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+2));return e?(t.m=e[0]-1,n+e[0].length):-1}function Wt(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+2));return e?(t.d=+e[0],n+e[0].length):-1}function $t(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+3));return e?(t.j=+e[0],n+e[0].length):-1}function qt(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+2));return e?(t.H=+e[0],n+e[0].length):-1}function Ut(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+2));return e?(t.M=+e[0],n+e[0].length):-1}function Yt(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+2));return e?(t.S=+e[0],n+e[0].length):-1}function Gt(t,e,n){Ko.lastIndex=0;e=Ko.exec(e.slice(n,n+3));return e?(t.L=+e[0],n+e[0].length):-1}function Xt(t){var e=t.getTimezoneOffset(),n=0<e?"-":"+",t=0|no(e)/60,e=no(e)%60;return n+Ot(t,"0",2)+Ot(e,"0",2)}function Vt(t,e,n){Jo.lastIndex=0;e=Jo.exec(e.slice(n,n+1));return e?n+e[0].length:-1}function Zt(i){for(var t=i.length,e=-1;++e<t;)i[e][0]=this(i[e][0]);return function(t){for(var e=0,n=i[e];!n[1](t);)n=i[++e];return n[0](t)}}function Kt(){}function Jt(t,e,n){var i=n.s=t+e,r=i-t;n.t=t-(i-r)+(e-r)}function Qt(t,e){t&&ea.hasOwnProperty(t.type)&&ea[t.type](t,e)}function te(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 ee(t,e){var n=-1,i=t.length;for(e.polygonStart();++n<i;)te(t[n],e,1);e.polygonEnd()}function ne(){function n(t,e){e=e*To/2+_o/4;var n=(t*=To)-s,i=0<=n?1:-1,r=i*n,o=Math.cos(e),a=Math.sin(e),n=u*a,e=l*o+n*Math.cos(r),r=n*i*Math.sin(r);ga.add(Math.atan2(r,e)),s=t,l=o,u=a}var i,r,s,l,u;ma.point=function(t,e){ma.point=n,s=(i=t)*To,l=Math.cos(e=(r=e)*To/2+_o/4),u=Math.sin(e)},ma.lineEnd=function(){n(i,r)}}function ie(t){var e=t[0],n=t[1],t=Math.cos(n);return[t*Math.cos(e),t*Math.sin(e),Math.sin(n)]}function re(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function oe(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 ae(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function se(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function le(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 ue(t){return[Math.atan2(t[1],t[0]),Z(t[2])]}function ce(t,e){return no(t[0]-e[0])<wo&&no(t[1]-e[1])<wo}function he(t,e){t*=To;var n=Math.cos(e*=To);de(n*Math.cos(t),n*Math.sin(t),Math.sin(e))}function de(t,e,n){Aa+=(t-Aa)/++Ta,Pa+=(e-Pa)/Ta,Ea+=(n-Ea)/Ta}function fe(){function i(t,e){t*=To;var n=Math.cos(e*=To),i=n*Math.cos(t),n=n*Math.sin(t),t=Math.sin(e),e=Math.atan2(Math.sqrt((e=o*t-a*n)*e+(e=a*i-r*t)*e+(e=r*n-o*i)*e),r*i+o*n+a*t);Da+=e,Oa+=e*(r+(r=i)),La+=e*(o+(o=n)),Ia+=e*(a+(a=t)),de(r,o,a)}var r,o,a;ja.point=function(t,e){t*=To;var n=Math.cos(e*=To);r=n*Math.cos(t),o=n*Math.sin(t),a=Math.sin(e),ja.point=i,de(r,o,a)}}function pe(){ja.point=he}function ge(){function i(t,e){t*=To;var n=Math.cos(e*=To),i=n*Math.cos(t),r=n*Math.sin(t),o=Math.sin(e),a=c*o-h*r,s=h*i-u*o,l=u*r-c*i,n=Math.sqrt(a*a+s*s+l*l),t=u*i+c*r+h*o,e=n&&-V(t)/n,t=Math.atan2(n,t);Na+=e*a,Ra+=e*s,Fa+=e*l,Da+=t,Oa+=t*(u+(u=i)),La+=t*(c+(c=r)),Ia+=t*(h+(h=o)),de(u,c,h)}var r,o,u,c,h;ja.point=function(t,e){r=t,o=e,ja.point=i,t*=To;var n=Math.cos(e*=To);u=n*Math.cos(t),c=n*Math.sin(t),h=Math.sin(e),de(u,c,h)},ja.lineEnd=function(){i(r,o),ja.lineEnd=pe,ja.point=he}}function me(n,i){function t(t,e){return t=n(t,e),i(t[0],t[1])}return n.invert&&i.invert&&(t.invert=function(t,e){return(t=i.invert(t,e))&&n.invert(t[0],t[1])}),t}function ye(){return!0}function ve(t,e,n,i,s){var l=[],u=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n=t[0],i=t[e];if(ce(n,i)){s.lineStart();for(var r=0;r<e;++r)s.point((n=t[r])[0],n[1]);s.lineEnd()}else{var o=new xe(n,t,null,!0),a=new xe(n,null,o,!1);o.o=a,l.push(o),u.push(a),o=new xe(i,t,null,!1),a=new xe(i,null,o,!0),o.o=a,l.push(o),u.push(a)}}}),u.sort(e),be(l),be(u),l.length){for(var r=0,o=n,a=u.length;r<a;++r)u[r].e=o=!o;for(var c,h=l[0];;){for(var d=h,f=!0;d.v;)if((d=d.n)===h)return;p=d.z,s.lineStart();do{if(d.v=d.o.v=!0,d.e){if(f)for(r=0,a=p.length;r<a;++r)s.point((c=p[r])[0],c[1]);else i(d.x,d.n.x,1,s);d=d.n}else{if(f)for(var p,r=(p=d.p.z).length-1;0<=r;--r)s.point((c=p[r])[0],c[1]);else i(d.x,d.p.x,-1,s);d=d.p}}while(p=(d=d.o).z,f=!f,!d.v);s.lineEnd()}}}function be(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 xe(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 we(v,b,x,w){return function(i,a){function e(t,e){var n=i(t,e);v(t=n[0],e=n[1])&&a.point(t,e)}function t(t,e){e=i(t,e);d.point(e[0],e[1])}function n(){p.point=t,d.lineStart()}function r(){p.point=e,d.lineEnd()}function s(t,e){h.push([t,e]);e=i(t,e);m.point(e[0],e[1])}function o(){m.lineStart(),h=[]}function l(){s(h[0][0],h[0][1]),m.lineEnd();var t=m.clean(),e=g.buffer(),n=e.length;if(h.pop(),c.push(h),h=null,n)if(1&t){var i,r,o=-1;if(0<(n=(i=e[0]).length-1)){for(y||(a.polygonStart(),y=!0),a.lineStart();++o<n;)a.point((r=i[o])[0],r[1]);a.lineEnd()}}else 1<n&&2&t&&e.push(e.pop().concat(e.shift())),u.push(e.filter(Se))}var u,c,h,d=b(a),f=i.invert(w[0],w[1]),p={point:e,lineStart:n,lineEnd:r,polygonStart:function(){p.point=s,p.lineStart=o,p.lineEnd=l,u=[],c=[]},polygonEnd:function(){p.point=e,p.lineStart=n,p.lineEnd=r,u=qr.merge(u);var t=function(t,e){var n=t[0],i=t[1],r=[Math.sin(n),-Math.cos(n),0],o=0,a=0;ga.reset();for(var s=0,l=e.length;s<l;++s){var u=e[s],c=u.length;if(c)for(var h=u[0],d=h[0],f=h[1]/2+_o/4,p=Math.sin(f),g=Math.cos(f),m=1;;){var y=(t=u[m=m===c?0:m])[0],v=t[1]/2+_o/4,b=Math.sin(v),x=Math.cos(v),w=y-d,S=0<=w?1:-1,_=S*w,C=_o<_,v=p*b;if(ga.add(Math.atan2(v*S*Math.sin(_),g*x+v*Math.cos(_))),o+=C?w+S*Co:w,C^n<=d^n<=y&&(le(_=oe(ie(h),ie(t))),le(S=oe(r,_)),((S=(C^0<=w?-1:1)*Z(S[2]))<i||i===S&&(_[0]||_[1]))&&(a+=C^0<=w?1:-1)),!m++)break;d=y,p=b,g=x,h=t}}return(o<-wo||o<wo&&ga<0)^1&a}(f,c);u.length?(y||(a.polygonStart(),y=!0),ve(u,Ce,t,x,a)):t&&(y||(a.polygonStart(),y=!0),a.lineStart(),x(null,null,1,a),a.lineEnd()),y&&(a.polygonEnd(),y=!1),u=c=null},sphere:function(){a.polygonStart(),a.lineStart(),x(null,null,1,a),a.lineEnd(),a.polygonEnd()}},g=_e(),m=b(g),y=!1;return p}}function Se(t){return 1<t.length}function _e(){var n,e=[];return{lineStart:function(){e.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:y,buffer:function(){var t=e;return e=[],n=null,t},rejoin:function(){1<e.length&&e.push(e.pop().concat(e.shift()))}}}function Ce(t,e){return((t=t.x)[0]<0?t[1]-Mo-wo:Mo-t[1])-((e=e.x)[0]<0?e[1]-Mo-wo:Mo-e[1])}function ke(r){function d(t,e){return Math.cos(t)*Math.cos(e)>g}function f(t,e,n){var i=[1,0,0],r=oe(ie(t),ie(e)),o=re(r,r),a=r[0],s=o-a*a;if(!s)return!n&&t;var l=oe(i,r),u=se(i,g*o/s);ae(u,se(r,-g*a/s));var c=l,h=re(u,c),i=re(c,c),o=h*h-i*(re(u,u)-1);if(!(o<0)){r=Math.sqrt(o),a=se(c,(-h-r)/i);if(ae(a,u),a=ue(a),!n)return a;var d,s=t[0],l=e[0],o=t[1],n=e[1];l<s&&(d=s,s=l,l=d);t=l-s,e=no(t-_o)<wo;if(!e&&n<o&&(d=o,o=n,n=d),e||t<wo?e?0<o+n^a[1]<(no(a[0]-s)<wo?o:n):o<=a[1]&&a[1]<=n:_o<t^(s<=a[0]&&a[0]<=l)){i=se(c,(-h+r)/i);return ae(i,u),[a,ue(i)]}}}function p(t,e){var n=m?r:_o-r,i=0;return t<-n?i|=1:n<t&&(i|=2),e<-n?i|=4:n<e&&(i|=8),i}var g=Math.cos(r),m=0<g,y=no(g)>wo;return we(d,function(a){var s,l,u,c,h;return{lineStart:function(){c=u=!1,h=1},point:function(t,e){var n,i,r=[t,e],o=d(t,e),e=m?o?0:p(t,e):o?p(t+(t<0?_o:-_o),e):0;!s&&(c=u=o)&&a.lineStart(),o!==u&&(n=f(s,r),(ce(s,n)||ce(r,n))&&(r[0]+=wo,r[1]+=wo,o=d(r[0],r[1]))),o!==u?(h=0,o?(a.lineStart(),n=f(r,s),a.point(n[0],n[1])):(n=f(s,r),a.point(n[0],n[1]),a.lineEnd()),s=n):y&&s&&m^o&&(e&l||!(i=f(r,s,!0))||(h=0,m?(a.lineStart(),a.point(i[0][0],i[0][1]),a.point(i[1][0],i[1][1]),a.lineEnd()):(a.point(i[1][0],i[1][1]),a.lineEnd(),a.lineStart(),a.point(i[0][0],i[0][1])))),!o||s&&ce(s,r)||a.point(r[0],r[1]),s=r,u=o,l=e},lineEnd:function(){u&&a.lineEnd(),s=null},clean:function(){return h|(c&&u)<<1}}},Ze(r,6*To),m?[0,-r]:[-_o,r-_o])}function Me(l,u,c,h){return function(t){var e=t.a,n=t.b,i=e.x,r=e.y,o=0,a=1,s=n.x-i,e=n.y-r,n=l-i;if(s||!(0<n)){if(n/=s,s<0){if(n<o)return;n<a&&(a=n)}else if(0<s){if(a<n)return;o<n&&(o=n)}if(n=c-i,s||!(n<0)){if(n/=s,s<0){if(a<n)return;o<n&&(o=n)}else if(0<s){if(n<o)return;n<a&&(a=n)}if(n=u-r,e||!(0<n)){if(n/=e,e<0){if(n<o)return;n<a&&(a=n)}else if(0<e){if(a<n)return;o<n&&(o=n)}if(n=h-r,e||!(n<0)){if(n/=e,e<0){if(a<n)return;o<n&&(o=n)}else if(0<e){if(n<o)return;n<a&&(a=n)}return 0<o&&(t.a={x:i+o*s,y:r+o*e}),a<1&&(t.b={x:i+a*s,y:r+a*e}),t}}}}}}function Te(x,w,S,_){function C(t,e){return no(t[0]-x)<wo?0<e?0:3:no(t[0]-S)<wo?0<e?2:1:no(t[1]-w)<wo?0<e?1:0:0<e?3:2}function k(t,e){return M(t.x,e.x)}function M(t,e){var n=C(t,1),i=C(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(r){function i(t,e,n,i){var r=0,o=0;if(null==t||(r=C(t,n))!==(o=C(e,n))||M(t,e)<0^0<n)for(;i.point(0===r||3===r?x:S,1<r?_:w),(r=(r+n+4)%4)!==o;);else i.point(e[0],e[1])}function o(t,e){return x<=t&&t<=S&&w<=e&&e<=_}function t(t,e){o(t,e)&&r.point(t,e)}function e(t,e){var n,i=o(t=Math.max(-Ba,Math.min(Ba,t)),e=Math.max(-Ba,Math.min(Ba,e)));c&&s.push([t,e]),g?(l=t,u=e,g=!1,(h=i)&&(r.lineStart(),r.point(t,e))):i&&p?r.point(t,e):v(n={a:{x:d,y:f},b:{x:t,y:e}})?(p||(r.lineStart(),r.point(n.a.x,n.a.y)),r.point(n.b.x,n.b.y),i||r.lineEnd(),m=!1):i&&(r.lineStart(),r.point(t,e),m=!1),d=t,f=e,p=i}var a,c,s,l,u,h,d,f,p,g,m,y=r,n=_e(),v=Me(x,w,S,_),b={point:t,lineStart:function(){b.point=e,c&&c.push(s=[]),p=!(g=!0),d=f=NaN},lineEnd:function(){a&&(e(l,u),h&&p&&n.rejoin(),a.push(n.buffer())),b.point=t,p&&r.lineEnd()},polygonStart:function(){r=n,a=[],c=[],m=!0},polygonEnd:function(){r=y,a=qr.merge(a);var t=function(t){for(var e=0,n=c.length,i=t[1],r=0;r<n;++r)for(var o,a=1,s=c[r],l=s.length,u=s[0];a<l;++a)o=s[a],u[1]<=i?o[1]>i&&0<X(u,o,t)&&++e:o[1]<=i&&X(u,o,t)<0&&--e,u=o;return 0!==e}([x,_]),e=m&&t,n=a.length;(e||n)&&(r.polygonStart(),e&&(r.lineStart(),i(null,null,1,r),r.lineEnd()),n&&ve(a,k,t,i,r),r.polygonEnd()),a=c=s=null}};return b}}function De(t){var e=0,n=_o/3,i=We(t),t=i(e,n);return t.parallels=function(t){return arguments.length?i(e=t[0]*_o/180,n=t[1]*_o/180):[e/_o*180,n/_o*180]},t}function Ae(t,e){function n(t,e){e=Math.sqrt(r-2*i*Math.sin(e))/i;return[e*Math.sin(t*=i),o-e*Math.cos(t)]}var t=Math.sin(t),i=(t+Math.sin(e))/2,r=1+t*(2*i-t),o=Math.sqrt(r)/i;return n.invert=function(t,e){e=o-e;return[Math.atan2(t,e)/i,Z((r-(t*t+e*e)*i*i)/(2*i))]},n}function Pe(){function n(t,e){Wa+=a*t-o*e,o=t,a=e}var i,r,o,a;Ga.point=function(t,e){Ga.point=n,i=o=t,r=a=e},Ga.lineEnd=function(){n(i,r)}}function Ee(){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=Oe(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=Oe(t),s},result:function(){if(a.length){var t=a.join("");return a=[],t}}};return s}function Oe(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Le(t,e){Aa+=t,Pa+=e,++Ea}function Ie(){function n(t,e){var n=t-r,i=e-o,i=Math.sqrt(n*n+i*i);Oa+=i*(r+t)/2,La+=i*(o+e)/2,Ia+=i,Le(r=t,o=e)}var r,o;Va.point=function(t,e){Va.point=n,Le(r=t,o=e)}}function Ne(){Va.point=Le}function Re(){function n(t,e){var n=t-o,i=e-a,i=Math.sqrt(n*n+i*i);Oa+=i*(o+t)/2,La+=i*(a+e)/2,Ia+=i,Na+=(i=a*t-o*e)*(o+t),Ra+=i*(a+e),Fa+=3*i,Le(o=t,a=e)}var i,r,o,a;Va.point=function(t,e){Va.point=n,Le(i=o=t,r=a=e)},Va.lineEnd=function(){n(i,r)}}function Fe(n){function t(t,e){n.moveTo(t+a,e),n.arc(t,e,a,0,Co)}function e(t,e){n.moveTo(t,e),s.point=i}function i(t,e){n.lineTo(t,e)}function r(){s.point=t}function o(){n.closePath()}var a=4.5,s={point:t,lineStart:function(){s.point=e},lineEnd:r,polygonStart:function(){s.lineEnd=o},polygonEnd:function(){s.lineEnd=r,s.point=t},pointRadius:function(t){return a=t,s},result:y};return s}function je(T){function e(t){return(w?i:n)(t)}function n(n){return Be(n,function(t,e){t=T(t,e),n.point(t[0],t[1])})}function i(i){function t(t,e){t=T(t,e),i.point(t[0],t[1])}function e(){g=NaN,x.point=n,i.lineStart()}function n(t,e){var n=ie([t,e]),e=T(t,e);D(g,m,p,y,v,b,g=e[0],m=e[1],p=t,y=n[0],v=n[1],b=n[2],w,i),i.point(g,m)}function r(){x.point=t,i.lineEnd()}function o(){e(),x.point=a,x.lineEnd=s}function a(t,e){n(l=t,e),u=g,c=m,h=y,d=v,f=b,x.point=n}function s(){D(g,m,p,y,v,b,u,c,l,h,d,f,w,i),x.lineEnd=r,r()}var l,u,c,h,d,f,p,g,m,y,v,b,x={point:t,lineStart:e,lineEnd:r,polygonStart:function(){i.polygonStart(),x.lineStart=o},polygonEnd:function(){i.polygonEnd(),x.lineStart=e}};return x}function D(t,e,n,i,r,o,a,s,l,u,c,h,d,f){var p,g,m,y,v,b,x,w,S,_,C=a-t,k=s-e,M=C*C+k*k;4*A<M&&d--&&(p=i+u,g=r+c,m=o+h,y=Math.sqrt(p*p+g*g+m*m),S=Math.asin(m/=y),v=no(no(m)-1)<wo||no(n-l)<wo?(n+l)/2:Math.atan2(g,p),b=(_=T(v,S))[0],x=_[1],(A<(_=k*(w=b-t)-C*(S=x-e))*_/M||.3<no((C*w+k*S)/M-.5)||i*u+r*c+o*h<P)&&(D(t,e,n,i,r,o,b,x,v,p/=y,g/=y,m,d,f),f.point(b,x),D(b,x,v,p,g,m,a,s,l,u,c,h,d,f)))}var A=.5,P=Math.cos(30*To),w=16;return e.precision=function(t){return arguments.length?(w=0<(A=t*t)&&16,e):Math.sqrt(A)},e}function He(t){this.stream=t}function Be(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 ze(t){return We(function(){return t})()}function We(t){function e(t){return[(t=s(t[0]*To,t[1]*To))[0]*d+l,u-t[1]*d]}function n(t){return(t=s.invert((t[0]-l)/d,(u-t[1])/d))&&[t[0]*Do,t[1]*Do]}function i(){s=me(a=Ye(y,v,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=je(function(t,e){return[(t=o(t,e))[0]*d+l,u-t[1]*d]}),d=150,f=480,p=250,g=0,m=0,y=0,v=0,b=0,x=Ha,w=xt,S=null,_=null;return e.stream=function(t){return c&&(c.valid=!1),(c=$e(x(a,h(w(t))))).valid=!0,c},e.clipAngle=function(t){return arguments.length?(x=null==t?(S=t,Ha):ke((S=+t)*To),r()):S},e.clipExtent=function(t){return arguments.length?(w=(_=t)?Te(t[0][0],t[0][1],t[1][0],t[1][1]):xt,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*To,m=t[1]%360*To,i()):[g*Do,m*Do]},e.rotate=function(t){return arguments.length?(y=t[0]%360*To,v=t[1]%360*To,b=2<t.length?t[2]%360*To:0,i()):[y*Do,v*Do,b*Do]},qr.rebind(e,h,"precision"),function(){return o=t.apply(this,arguments),e.invert=o.invert&&n,i()}}function $e(n){return Be(n,function(t,e){n.point(t*To,e*To)})}function qe(t,e){return[t,e]}function Ue(t,e){return[_o<t?t-Co:t<-_o?t+Co:t,e]}function Ye(t,e,n){return t?e||n?me(Xe(t),Ve(e,n)):Xe(t):e||n?Ve(e,n):Ue}function Ge(n){return function(t,e){return[_o<(t+=n)?t-Co:t<-_o?t+Co:t,e]}}function Xe(t){var e=Ge(t);return e.invert=Ge(-t),e}function Ve(t,e){function n(t,e){var n=Math.cos(e),i=Math.cos(t)*n,t=Math.sin(t)*n,n=Math.sin(e),e=n*r+i*o;return[Math.atan2(t*a-e*s,i*r-n*o),Z(e*a+t*s)]}var r=Math.cos(t),o=Math.sin(t),a=Math.cos(e),s=Math.sin(e);return n.invert=function(t,e){var n=Math.cos(e),i=Math.cos(t)*n,t=Math.sin(t)*n,n=Math.sin(e),e=n*a-t*s;return[Math.atan2(t*a+n*s,i*r+e*o),Z(e*r-i*o)]},n}function Ze(s,l){var u=Math.cos(s),c=Math.sin(s);return function(t,e,n,i){var r=n*l;null!=t?(t=Ke(u,t),e=Ke(u,e),(0<n?t<e:e<t)&&(t+=n*Co)):(t=s+n*Co,e=s-.5*r);for(var o,a=t;0<n?e<a:a<e;a-=r)i.point((o=ue([u,-c*Math.cos(a),-c*Math.sin(a)]))[0],o[1])}}function Ke(t,e){e=ie(e);e[0]-=t,le(e);t=V(-e[1]);return((-e[2]<0?-t:t)+2*Math.PI-wo)%(2*Math.PI)}function Je(t,e,n){var i=qr.range(t,e-wo,n).concat(e);return function(e){return i.map(function(t){return[e,t]})}}function Qe(t,e,n){var i=qr.range(t,e-wo,n).concat(e);return function(e){return i.map(function(t){return[t,e]})}}function tn(t){return t.source}function en(t){return t.target}function nn(r,o){function t(t,e){var n=Math.cos(t),i=Math.cos(e),n=r(n*i);return[n*i*Math.sin(t),n*Math.sin(e)]}return t.invert=function(t,e){var n=Math.sqrt(t*t+e*e),i=o(n),r=Math.sin(i),i=Math.cos(i);return[Math.atan2(t*r,n*i),Math.asin(n&&e*r/n)]},t}function rn(t,e){function n(t,e){0<a?e<-Mo+wo&&(e=-Mo+wo):Mo-wo<e&&(e=Mo-wo);e=a/Math.pow(i(e),o);return[e*Math.sin(o*t),a-e*Math.cos(o*t)]}function i(t){return Math.tan(_o/4+t/2)}var r=Math.cos(t),o=t===e?Math.sin(t):Math.log(r/Math.cos(e))/Math.log(i(e)/i(t)),a=r*Math.pow(i(t),o)/o;return o?(n.invert=function(t,e){var n=a-e,e=G(o)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/o,2*Math.atan(Math.pow(a/e,1/o))-Mo]},n):an}function on(t,e){function n(t,e){e=o-e;return[e*Math.sin(r*t),o-e*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 no(r)<wo?qe:(n.invert=function(t,e){e=o-e;return[Math.atan2(t,e)/r,o-G(r)*Math.sqrt(t*t+e*e)]},n)}function an(t,e){return[t,Math.log(Math.tan(_o/4+e/2))]}function sn(t){var r,o=ze(t),a=o.scale,s=o.translate,l=o.clipExtent;return o.scale=function(){var t=a.apply(o,arguments);return t===o?r?o.clipExtent(null):o:t},o.translate=function(){var t=s.apply(o,arguments);return t===o?r?o.clipExtent(null):o:t},o.clipExtent=function(t){var e,n,i=l.apply(o,arguments);return i===o?(r=null==t)&&(e=_o*a(),n=s(),l([[n[0]-e,n[1]-e],[n[0]+e,n[1]+e]])):r&&(i=null),i},o.clipExtent(null)}function ln(t,e){return[Math.log(Math.tan(_o/4+e/2)),-t]}function un(t){return t[0]}function cn(t){return t[1]}function hn(t){for(var e=t.length,n=[0,1],i=2,r=2;r<e;r++){for(;1<i&&X(t[n[i-2]],t[n[i-1]],t[r])<=0;)--i;n[i++]=r}return n.slice(0,i)}function dn(t,e){return t[0]-e[0]||t[1]-e[1]}function fn(t,e,n){return(n[0]-e[0])*(t[1]-e[1])<(n[1]-e[1])*(t[0]-e[0])}function pn(t,e,n,i){var r=t[0],o=n[0],a=e[0]-r,s=i[0]-o,t=t[1],n=n[1],e=e[1]-t,i=i[1]-n,s=(s*(t-n)-i*(r-o))/(i*a-s*e);return[r+s*a,t+s*e]}function gn(t){var e=t[0],t=t[t.length-1];return!(e[0]-t[0]||e[1]-t[1])}function mn(){Ln(this),this.edge=this.site=this.circle=null}function yn(t){var e=us.pop()||new mn;return e.site=t,e}function vn(t){Mn(t),as.remove(t),us.push(t),Ln(t)}function bn(t){for(var e,n,i,r,o=t.x,a=t.y,s=as._;s;)if(i=xn(s,a)-o,wo<i)s=s.L;else{if(r=o-function(t,e){var n=t.N;if(n)return xn(n,e);t=t.site;return t.y===e?t.x:1/0}(s,a),!(wo<r)){-wo<i?(e=s.P,n=s):-wo<r?n=(e=s).N:e=n=s;break}if(!s.R){e=s;break}s=s.R}var l=yn(t);if(as.insert(e,l),e||n){if(e===n)return Mn(e),n=yn(e.site),as.insert(l,n),l.edge=n.edge=An(e.site,l.site),kn(e),kn(n),0;if(!n)return l.edge=An(e.site,l.site),0;Mn(e),Mn(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,y=2*(d*m-f*g),v=d*d+f*f,b=g*g+m*m,h={x:(m*v-f*b)/y+c,y:(d*b-g*v)/y+h};Pn(n.edge,u,p,h),l.edge=An(u,t,null,h),n.edge=An(t,p,null,h),kn(e),kn(n)}}function xn(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;var s=(n=a.site).x,l=n.y,t=l-e;if(!t)return s;a=s-i,n=1/o-1/t,e=a/t;return n?(-e+Math.sqrt(e*e-2*n*(a*a/(-2*t)-l+t/2+r-o/2)))/n+i:(i+s)/2}function wn(t){this.site=t,this.edges=[]}function Sn(t){for(var e,n,i,r,o,a,s,l,u,c=t[0][0],h=t[1][0],d=t[0][1],f=t[1][1],p=os,g=p.length;g--;)if((r=p[g])&&r.prepare())for(s=(a=r.edges).length,o=0;o<s;)n=(u=a[o].end()).x,i=u.y,e=(l=a[++o%s].start()).x,l=l.y,(no(n-e)>wo||no(i-l)>wo)&&(a.splice(o,0,new En(function(t,e,n){t=new Dn(t,null);return t.a=e,t.b=n,rs.push(t),t}(r.site,u,no(n-c)<wo&&wo<f-i?{x:c,y:no(e-c)<wo?l:f}:no(i-f)<wo&&wo<h-n?{x:no(l-f)<wo?e:h,y:f}:no(n-h)<wo&&wo<i-d?{x:h,y:no(e-h)<wo?l:d}:no(i-d)<wo&&wo<n-c?{x:no(l-d)<wo?e:c,y:d}:null),r.site,null)),++s)}function _n(t,e){return e.angle-t.angle}function Cn(){Ln(this),this.x=this.y=this.arc=this.site=this.cy=null}function kn(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,n=2*(l*(e=o.y-s)-u*c);if(!(-So<=n)){var i=l*l+u*u,o=c*c+e*e,u=(e*i-u*o)/n,n=(l*o-c*i)/n,e=n+s,h=cs.pop()||new Cn;h.arc=t,h.site=r,h.x=u+a,h.y=e+Math.sqrt(u*u+n*n),h.cy=e,t.circle=h;for(var d=null,f=ls._;f;)if(h.y<f.y||h.y===f.y&&h.x<=f.x){if(!f.L){d=f.P;break}f=f.L}else{if(!f.R){d=f;break}f=f.R}ls.insert(d,h),d||(ss=h)}}}}function Mn(t){var e=t.circle;e&&(e.P||(ss=e.N),ls.remove(e),cs.push(e),Ln(e),t.circle=null)}function Tn(t){for(var e,n=rs,i=Me(t[0][0],t[0][1],t[1][0],t[1][1]),r=n.length;r--;)(function(t,e){var n=t.b;if(n)return!0;var i=t.a,r=e[0][0],o=e[1][0],a=e[0][1],s=e[1][1],l=t.l,u=t.r,c=l.x,h=l.y,d=u.x,e=u.y,l=(c+d)/2,u=(h+e)/2;if(e===h){if(l<r||o<=l)return;if(d<c){if(i){if(i.y>=s)return}else i={x:l,y:a};n={x:l,y:s}}else{if(i){if(i.y<a)return}else i={x:l,y:s};n={x:l,y:a}}}else if(l=u-(u=(c-d)/(e-h))*l,u<-1||1<u)if(d<c){if(i){if(i.y>=s)return}else i={x:(a-l)/u,y:a};n={x:(s-l)/u,y:s}}else{if(i){if(i.y<a)return}else i={x:(s-l)/u,y:s};n={x:(a-l)/u,y:a}}else if(h<e){if(i){if(i.x>=o)return}else i={x:r,y:u*r+l};n={x:o,y:u*o+l}}else{if(i){if(i.x<r)return}else i={x:o,y:u*o+l};n={x:r,y:u*r+l}}return t.a=i,t.b=n,!0})(e=n[r],t)&&i(e)&&!(no(e.a.x-e.b.x)<wo&&no(e.a.y-e.b.y)<wo)||(e.a=e.b=null,n.splice(r,1))}function Dn(t,e){this.l=t,this.r=e,this.a=this.b=null}function An(t,e,n,i){var r=new Dn(t,e);return rs.push(r),n&&Pn(r,t,e,n),i&&Pn(r,e,t,i),os[t.i].edges.push(new En(r,t,e)),os[e.i].edges.push(new En(r,e,t)),r}function Pn(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 En(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 On(){this._=null}function Ln(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function In(t,e){var n=e,i=e.R,e=n.U;e?e.L===n?e.L=i:e.R=i:t._=i,i.U=e,n.U=i,n.R=i.L,n.R&&(n.R.U=n),i.L=n}function Nn(t,e){var n=e,i=e.L,e=n.U;e?e.L===n?e.L=i:e.R=i:t._=i,i.U=e,n.U=i,n.L=i.R,n.L&&(n.L.U=n),i.R=n}function Rn(t){for(;t.L;)t=t.L;return t}function Fn(t,e){var n,i,r,o=t.sort(jn).pop();for(rs=[],os=new Array(t.length),as=new On,ls=new On;;)if(r=ss,o&&(!r||o.y<r.y||o.y===r.y&&o.x<r.x))o.x===n&&o.y===i||(os[o.i]=new wn(o),bn(o),n=o.x,i=o.y),o=t.pop();else{if(!r)break;!function(t){var e=t.circle,n=e.x,i=e.cy,r={x:n,y:i},o=t.P,a=t.N,s=[t];vn(t);for(var l=o;l.circle&&no(n-l.circle.x)<wo&&no(i-l.circle.cy)<wo;)o=l.P,s.unshift(l),vn(l),l=o;s.unshift(l),Mn(l);for(var u=a;u.circle&&no(n-u.circle.x)<wo&&no(i-u.circle.cy)<wo;)a=u.N,s.push(u),vn(u),u=a;s.push(u),Mn(u);for(var c=s.length,h=1;h<c;++h)u=s[h],l=s[h-1],Pn(u.edge,l.site,u.site,r);l=s[0],(u=s[c-1]).edge=An(l.site,u.site,null,r),kn(l),kn(u)}(r.arc)}e&&(Tn(e),Sn(e));e={cells:os,edges:rs};return as=ls=rs=os=null,e}function jn(t,e){return e.y-t.y||e.x-t.x}function Hn(t){return t.x}function Bn(t){return t.y}function zn(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Wn(t,e){t=qr.rgb(t),e=qr.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"#"+ft(Math.round(n+o*t))+ft(Math.round(i+a*t))+ft(Math.round(r+s*t))}}function $n(t,e){var n,i={},r={};for(n in t)n in e?i[n]=Yn(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 qn(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function Un(t,i){var e,n,r,o=ds.lastIndex=fs.lastIndex=0,a=-1,s=[],l=[];for(t+="",i+="";(e=ds.exec(t))&&(n=fs.exec(i));)(r=n.index)>o&&(r=i.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(e=e[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:qn(e,n)})),o=fs.lastIndex;return o<i.length&&(r=i.slice(o),s[a]?s[a]+=r:s[++a]=r),s.length<2?l[0]?(i=l[0].x,function(t){return i(t)+""}):function(){return i}:(i=l.length,function(t){for(var e,n=0;n<i;++n)s[(e=l[n]).i]=e.x(t);return s.join("")})}function Yn(t,e){for(var n,i=qr.interpolators.length;0<=--i&&!(n=qr.interpolators[i](t,e)););return n}function Gn(t,e){for(var n=[],i=[],r=t.length,o=e.length,a=Math.min(t.length,e.length),s=0;s<a;++s)n.push(Yn(t[s],e[s]));for(;s<r;++s)i[s]=t[s];for(;s<o;++s)i[s]=e[s];return function(t){for(s=0;s<a;++s)i[s]=n[s](t);return i}}function Xn(e){return function(t){return 1-e(1-t)}}function Vn(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function Zn(t){return t*t}function Kn(t){return t*t*t}function Jn(t){if(t<=0)return 0;if(1<=t)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function Qn(t){return 1-Math.cos(t*Mo)}function ti(t){return Math.pow(2,10*(t-1))}function ei(t){return 1-Math.sqrt(1-t*t)}function ni(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function ii(e,n){return n-=e,function(t){return Math.round(e+n*t)}}function ri(t){var e,n,i,r=[t.a,t.b],o=[t.c,t.d],a=ai(r),s=oi(r,o),e=ai(((e=o)[0]+=(i=-s)*(n=r)[0],e[1]+=i*n[1],e))||0;r[0]*o[1]<o[0]*r[1]&&(r[0]*=-1,r[1]*=-1,a*=-1,s*=-1),this.rotate=(a?Math.atan2(r[1],r[0]):Math.atan2(-o[0],o[1]))*Do,this.translate=[t.e,t.f],this.scale=[a,e],this.skew=e?Math.atan2(s,e)*Do:0}function oi(t,e){return t[0]*e[0]+t[1]*e[1]}function ai(t){var e=Math.sqrt(oi(t,t));return e&&(t[0]/=e,t[1]/=e),e}function si(t,e){var i,r=[],o=[],n=qr.transform(t),a=qr.transform(e),s=n.translate,l=a.translate,u=n.rotate,c=a.rotate,t=n.skew,e=a.skew,n=n.scale,a=a.scale;return s[0]!=l[0]||s[1]!=l[1]?(r.push("translate(",null,",",null,")"),o.push({i:1,x:qn(s[0],l[0])},{i:3,x:qn(s[1],l[1])})):l[0]||l[1]?r.push("translate("+l+")"):r.push(""),u!=c?(180<u-c?c+=360:180<c-u&&(u+=360),o.push({i:r.push(r.pop()+"rotate(",null,")")-2,x:qn(u,c)})):c&&r.push(r.pop()+"rotate("+c+")"),t!=e?o.push({i:r.push(r.pop()+"skewX(",null,")")-2,x:qn(t,e)}):e&&r.push(r.pop()+"skewX("+e+")"),n[0]!=a[0]||n[1]!=a[1]?(i=r.push(r.pop()+"scale(",null,",",null,")"),o.push({i:i-4,x:qn(n[0],a[0])},{i:i-2,x:qn(n[1],a[1])})):1==a[0]&&1==a[1]||r.push(r.pop()+"scale("+a+")"),i=o.length,function(t){for(var e,n=-1;++n<i;)r[(e=o[n]).i]=e.x(t);return r.join("")}}function li(e,n){return n=(n-=e=+e)||1/n,function(t){return(t-e)/n}}function ui(e,n){return n=(n-=e=+e)||1/n,function(t){return Math.max(0,Math.min(1,(t-e)/n))}}function ci(t){for(var e=t.source,n=t.target,i=function(t,e){if(t===e)return t;for(var n=hi(t),i=hi(e),r=n.pop(),o=i.pop(),a=null;r===o;)a=r,r=n.pop(),o=i.pop();return a}(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 hi(t){for(var e=[],n=t.parent;null!=n;)e.push(t),n=(t=n).parent;return e.push(t),e}function di(t){t.fixed|=2}function fi(t){t.fixed&=-7}function pi(t){t.fixed|=4,t.px=t.x,t.py=t.y}function gi(t){t.fixed&=-5}function mi(t,e){return qr.rebind(t,e,"sort","children","value"),(t.nodes=t).links=Si,t}function yi(t,e){for(var n,i,r=[t];null!=(t=r.pop());)if(e(t),(i=t.children)&&(n=i.length))for(;0<=--n;)r.push(i[n])}function vi(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 bi(t){return t.children}function xi(t){return t.value}function wi(t,e){return e.value-t.value}function Si(t){return qr.merge(t.map(function(e){return(e.children||[]).map(function(t){return{source:e,target:t}})}))}function _i(t){return t.x}function Ci(t){return t.y}function ki(t,e,n){t.y0=e,t.y=n}function Mi(t){return qr.range(t.length)}function Ti(t){for(var e=-1,n=t[0].length,i=[];++e<n;)i[e]=0;return i}function Di(t){for(var e,n=1,i=0,r=t[0][1],o=t.length;n<o;++n)(e=t[n][1])>r&&(i=n,r=e);return i}function Ai(t){return t.reduce(Pi,0)}function Pi(t,e){return t+e[1]}function Ei(t,e){return Oi(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function Oi(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 Li(t){return[qr.min(t),qr.max(t)]}function Ii(t,e){return t.value-e.value}function Ni(t,e){var n=t._pack_next;(t._pack_next=e)._pack_prev=t,(e._pack_next=n)._pack_prev=e}function Ri(t,e){(t._pack_next=e)._pack_prev=t}function Fi(t,e){var n=e.x-t.x,i=e.y-t.y,e=t.r+e.r;return n*n+i*i<.999*e*e}function ji(t){function e(t){l=Math.min(t.x-t.r,l),u=Math.max(t.x+t.r,u),c=Math.min(t.y-t.r,c),h=Math.max(t.y+t.r,h)}if((n=t.children)&&(s=n.length)){var n,i,r,o,a,s,l=1/0,u=-1/0,c=1/0,h=-1/0;if(n.forEach(Hi),(i=n[0]).x=-i.r,i.y=0,e(i),1<s&&((r=n[1]).x=r.r,r.y=0,e(r),2<s))for(zi(i,r,o=n[2]),e(o),Ni(i,o),Ni(i._pack_prev=o,r),r=i._pack_next,b=3;b<s;b++){zi(i,r,o=n[b]);for(var d=0,f=1,p=1,g=r._pack_next;g!==r;g=g._pack_next,f++)if(Fi(g,o)){d=1;break}if(1==d)for(a=i._pack_prev;a!==g._pack_prev&&!Fi(a,o);a=a._pack_prev,p++);d?(f<p||f==p&&r.r<i.r?Ri(i,r=g):Ri(i=a,r),b--):(Ni(i,o),e(r=o))}for(var m=(l+u)/2,y=(c+h)/2,v=0,b=0;b<s;b++)(o=n[b]).x-=m,o.y-=y,v=Math.max(v,o.r+Math.sqrt(o.x*o.x+o.y*o.y));t.r=v,n.forEach(Bi)}}function Hi(t){t._pack_next=t._pack_prev=t}function Bi(t){delete t._pack_next,delete t._pack_prev}function zi(t,e,n){var i,r,o=t.r+n.r,a=e.x-t.x,s=e.y-t.y;o&&(a||s)?(i=e.r+n.r,e=.5+((o*=o)-(i*=i))/(2*(r=a*a+s*s)),r=Math.sqrt(Math.max(0,2*i*(o+r)-(o-=r)*o-i*i))/(2*r),n.x=t.x+e*a+r*s,n.y=t.y+e*s-r*a):(n.x=t.x+o,n.y=t.y)}function Wi(t,e){return t.parent==e.parent?1:2}function $i(t){var e=t.children;return e.length?e[0]:t.t}function qi(t){var e,n=t.children;return(e=n.length)?n[e-1]:t.t}function Ui(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function Yi(t,e){var n=t.x+e[3],i=t.y+e[0],r=t.dx-e[1]-e[3],e=t.dy-e[0]-e[2];return r<0&&(n+=r/2,r=0),e<0&&(i+=e/2,e=0),{x:n,y:i,dx:r,dy:e}}function Gi(t){var e=t[0],t=t[t.length-1];return e<t?[e,t]:[t,e]}function Xi(t){return t.rangeExtent?t.rangeExtent():Gi(t.range())}function Vi(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 Zi(t,e){var n,i=0,r=t.length-1,o=t[i],a=t[r];return a<o&&(n=i,i=r,r=n,n=o,o=a,a=n),t[i]=e.floor(o),t[r]=e.ceil(a),t}function Ki(n,t,e,i){var r=[],o=[],a=0,s=Math.min(n.length,t.length)-1;for(n[s]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++a<=s;)r.push(e(n[a-1],n[a])),o.push(i(t[a-1],t[a]));return function(t){var e=qr.bisect(n,t,1,s)-1;return o[e](r[e](t))}}function Ji(t,e){return qr.rebind(t,e,"range","rangeRound","interpolate","clamp")}function Qi(t,e){return Zi(t,(n=tr(t,e)[2])?{floor:function(t){return Math.floor(t/n)*n},ceil:function(t){return Math.ceil(t/n)*n}}:Cs);var n}function tr(t,e){null==e&&(e=10);var n=Gi(t),i=n[1]-n[0],t=Math.pow(10,Math.floor(Math.log(i/e)/Math.LN10)),i=e/i*t;return i<=.15?t*=10:i<=.35?t*=5:i<=.75&&(t*=2),n[0]=Math.ceil(n[0]/t)*t,n[1]=Math.floor(n[1]/t)*t+.5*t,n[2]=t,n}function er(t,e){return qr.range.apply(qr,tr(t,e))}function nr(t,e,n){var i,r=tr(t,e);if(n){var o=Uo.exec(n);if(o.shift(),"s"===o[8]){var a=qr.formatPrefix(Math.max(no(r[0]),no(r[1])));return o[7]||(o[7]="."+ir(a.scale(r[2]))),o[8]="f",n=qr.format(o.join("")),function(t){return n(a.scale(t))+a.symbol}}o[7]||(o[7]="."+(i=o[8],e=ir((t=r)[2]),i in ks?Math.abs(e-ir(Math.max(no(t[0]),no(t[1]))))+ +("e"!==i):e-2*("%"===i))),n=o.join("")}else n=",."+ir(r[2])+"f";return qr.format(n)}function ir(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}function rr(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function or(){return 0}function ar(t){return t.innerRadius}function sr(t){return t.outerRadius}function lr(t){return t.startAngle}function ur(t){return t.endAngle}function cr(t){return t&&t.padAngle}function hr(t,e,n,i){return 0<(t-n)*e-(e-i)*t?0:1}function dr(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,r=(c+d)/2,a=(h+f)/2,s=d-c,o=f-h,t=s*s+o*o,e=n-i,i=c*f-d*h,c=(o<0?-1:1)*Math.sqrt(e*e*t-i*i),f=(i*o-s*c)/t,d=(-i*s-o*c)/t,h=(i*o+s*c)/t,o=(-i*s+o*c)/t,c=f-r,t=d-a,r=h-r,a=o-a;return r*r+a*a<c*c+t*t&&(f=h,d=o),[[f-l,d-u],[f*n/e,d*n/e]]}function fr(u){function e(t){function e(){i.push("M",f(u(r),p))}for(var n,i=[],r=[],o=-1,a=t.length,s=bt(c),l=bt(h);++o<a;)d.call(this,n=t[o],o)?r.push([+s.call(this,n,o),+l.call(this,n,o)]):r.length&&(e(),r=[]);return r.length&&e(),i.length?i.join(""):null}var c=un,h=cn,d=ye,f=pr,n=f.key,p=.7;return e.x=function(t){return arguments.length?(c=t,e):c},e.y=function(t){return arguments.length?(h=t,e):h},e.defined=function(t){return arguments.length?(d=t,e):d},e.interpolate=function(t){return arguments.length?(n="function"==typeof t?f=t:(f=Ls.get(t)||pr).key,e):n},e.tension=function(t){return arguments.length?(p=t,e):p},e}function pr(t){return t.join("L")}function gr(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 mr(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 yr(t,e){if(e.length<1||t.length!=e.length&&t.length!=e.length+2)return pr(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),1<e.length){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]}return n&&(n=t[l],i+="Q"+(o[0]+2*s[0]/3)+","+(o[1]+2*s[1]/3)+","+n[0]+","+n[1]),i}function vr(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 br(t){if(t.length<3)return pr(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",xr(Rs,a),",",xr(Rs,s)];for(t.push(t[n-1]);++e<=n;)i=t[e],a.shift(),a.push(i[0]),s.shift(),s.push(i[1]),wr(l,a,s);return t.pop(),l.push("L",i),l.join("")}function xr(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function wr(t,e,n){t.push("C",xr(Is,e),",",xr(Is,n),",",xr(Ns,e),",",xr(Ns,n),",",xr(Rs,e),",",xr(Rs,n))}function Sr(t,e){return(e[1]-t[1])/(e[0]-t[0])}function _r(t){for(var e,n,i,r,o=[],a=function(t){for(var e=0,n=t.length-1,i=[],r=t[0],o=t[1],a=i[0]=Sr(r,o);++e<n;)i[e]=(a+(a=Sr(o,o=t[e+1])))/2;return i[e]=a,i}(t),s=-1,l=t.length-1;++s<l;)e=Sr(t[s],t[s+1]),no(e)<wo?a[s]=a[s+1]=0:9<(r=(n=a[s]/e)*n+(i=a[s+1]/e)*i)&&(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 Cr(t){for(var e,n,i,r=-1,o=t.length;++r<o;)n=(e=t[r])[0],i=e[1]-Mo,e[0]=n*Math.cos(i),e[1]=n*Math.sin(i);return t}function kr(p){function e(t){function e(){o.push("M",x(p(s),_),S,w(p(a.reverse()),_),"Z")}for(var n,i,r,o=[],a=[],s=[],l=-1,u=t.length,c=bt(g),h=bt(y),d=g===m?function(){return i}:bt(m),f=y===v?function(){return r}:bt(v);++l<u;)b.call(this,n=t[l],l)?(a.push([i=+c.call(this,n,l),r=+h.call(this,n,l)]),s.push([+d.call(this,n,l),+f.call(this,n,l)])):a.length&&(e(),a=[],s=[]);return a.length&&e(),o.length?o.join(""):null}var g=un,m=un,y=0,v=cn,b=ye,x=pr,n=x.key,w=x,S="L",_=.7;return e.x=function(t){return arguments.length?(g=m=t,e):m},e.x0=function(t){return arguments.length?(g=t,e):g},e.x1=function(t){return arguments.length?(m=t,e):m},e.y=function(t){return arguments.length?(y=v=t,e):v},e.y0=function(t){return arguments.length?(y=t,e):y},e.y1=function(t){return arguments.length?(v=t,e):v},e.defined=function(t){return arguments.length?(b=t,e):b},e.interpolate=function(t){return arguments.length?(n="function"==typeof t?x=t:(x=Ls.get(t)||pr).key,w=x.reverse||x,S=x.closed?"M":"L",e):n},e.tension=function(t){return arguments.length?(_=t,e):_},e}function Mr(t){return t.radius}function Tr(t){return[t.x,t.y]}function Dr(){return 64}function Ar(){return"circle"}function Pr(t){t=Math.sqrt(t/_o);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}function Er(n){return function(){var t,e;(t=this[n])&&(e=t[t.active])&&(--t.count?delete t[t.active]:delete this[n],t.active+=.5,e.event&&e.event.interrupt.call(this,this.__data__,e.index))}}function Or(t,e,n){return so(t,$s),t.namespace=e,t.id=n,t}function Lr(t,i,r,o){var a=t.id,s=t.namespace;return F(t,"function"==typeof r?function(t,e,n){t[s][a].tween.set(i,o(r.call(t,t.__data__,e,n)))}:(r=o(r),function(t){t[s][a].tween.set(i,r)}))}function Ir(t){return null==t&&(t=""),function(){this.textContent=t}}function Nr(t){return null==t?"__transition__":"__transition_"+t+"__"}function Rr(u,c,h,d,t){var f,p=u[h]||(u[h]={active:0,count:0}),g=p[d];g||(f=t.time,g=p[d]={tween:new v,time:f,delay:t.delay,duration:t.duration,ease:t.ease,index:c},t=null,++p.count,qr.timer(function(t){function e(t){if(p.active>d)return i();var e=p[p.active];e&&(--p.count,delete p[p.active],e.event&&e.event.interrupt.call(u,u.__data__,e.index)),p.active=d,g.event&&g.event.start.call(u,u.__data__,c),g.tween.forEach(function(t,e){(e=e.call(u,u.__data__,c))&&l.push(e)}),o=g.ease,r=g.duration,qr.timer(function(){return s.c=n(t||1)?ye:n,1},0,f)}function n(t){if(p.active!==d)return 1;for(var t=t/r,e=o(t),n=l.length;0<n;)l[--n].call(u,e);return 1<=t?(g.event&&g.event.end.call(u,u.__data__,c),i()):void 0}function i(){return--p.count?delete p[d]:delete u[h],1}var r,o,a=g.delay,s=Wo,l=[];return s.t=a+f,a<=t?e(t-a):void(s.c=e)},0,f))}function Fr(t,n,i){t.attr("transform",function(t){var e=n(t);return"translate("+(isFinite(e)?e:i(t))+",0)"})}function jr(t,n,i){t.attr("transform",function(t){var e=n(t);return"translate(0,"+(isFinite(e)?e:i(t))+")"})}function Hr(t){return t.toISOString()}function Br(e,r,t){function o(t){return e(t)}function a(t,e){var n=(t[1]-t[0])/e,i=qr.bisect(Vs,n);return i==Vs.length?[r.year,tr(t.map(function(t){return t/31536e6}),e)[2]]:i?r[n/Vs[i-1]<Vs[i]/n?i-1:i]:[Js,tr(t,e)[2]]}return o.invert=function(t){return zr(e.invert(t))},o.domain=function(t){return arguments.length?(e.domain(t),o):e.domain().map(zr)},o.nice=function(e,n){function i(t){return!isNaN(t)&&!e.range(t,zr(+t+1),n).length}var t=o.domain(),r=Gi(t),r=null==e?a(r,10):"number"==typeof e&&a(r,e);return r&&(e=r[0],n=r[1]),o.domain(Zi(t,1<n?{floor:function(t){for(;i(t=e.floor(t));)t=zr(t-1);return t},ceil:function(t){for(;i(t=e.ceil(t));)t=zr(+t+1);return t}}:e))},o.ticks=function(t,e){var n=Gi(o.domain()),i=null==t?a(n,10):"number"==typeof t?a(n,t):!t.range&&[{range:t},e];return i&&(t=i[0],e=i[1]),t.range(n[0],zr(+n[1]+1),e<1?1:e)},o.tickFormat=function(){return t},o.copy=function(){return Br(e.copy(),r,t)},Ji(o,e)}function zr(t){return new Date(t)}function Wr(t){return JSON.parse(t.responseText)}function $r(t){var e=Gr.createRange();return e.selectNode(Gr.body),e.createContextualFragment(t.responseText)}var qr={version:"3.5.3"};Date.now||(Date.now=function(){return+new Date});var Ur=[].slice,Yr=function(t){return Ur.call(t)},Gr=document,Xr=Gr.documentElement,Vr=window;try{Yr(Xr.childNodes)[0].nodeType}catch(t){Yr=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}try{Gr.createElement("div").style.setProperty("opacity",0,"")}catch(t){var Zr=Vr.Element.prototype,Kr=Zr.setAttribute,Jr=Zr.setAttributeNS,Qr=Vr.CSSStyleDeclaration.prototype,to=Qr.setProperty;Zr.setAttribute=function(t,e){Kr.call(this,t,e+"")},Zr.setAttributeNS=function(t,e,n){Jr.call(this,t,e,n+"")},Qr.setProperty=function(t,e,n){to.call(this,t,e+"",n)}}qr.ascending=a,qr.descending=function(t,e){return e<t?-1:t<e?1:t<=e?0:NaN},qr.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])&&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},qr.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])&&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},qr.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])&&(i<n&&(n=i),r<i&&(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))&&(i<n&&(n=i),r<i&&(r=i))}return[n,r]},qr.sum=function(t,e){var n,i=0,r=t.length,o=-1;if(1===arguments.length)for(;++o<r;)c(n=+t[o])&&(i+=n);else for(;++o<r;)c(n=+e.call(t,t[o],o))&&(i+=n);return i},qr.mean=function(t,e){var n,i=0,r=t.length,o=-1,a=r;if(1===arguments.length)for(;++o<r;)c(n=u(t[o]))?i+=n:--a;else for(;++o<r;)c(n=u(e.call(t,t[o],o)))?i+=n:--a;return a?i/a:void 0},qr.quantile=function(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),e=+t[i-1],n=n-i;return n?e+n*(t[i]-e):e},qr.median=function(t,e){var n,i=[],r=t.length,o=-1;if(1===arguments.length)for(;++o<r;)c(n=u(t[o]))&&i.push(n);else for(;++o<r;)c(n=u(e.call(t,t[o],o)))&&i.push(n);return i.length?qr.quantile(i.sort(a),.5):void 0},qr.variance=function(t,e){var n,i,r=t.length,o=0,a=0,s=-1,l=0;if(1===arguments.length)for(;++s<r;)c(n=u(t[s]))&&(a+=(i=n-o)*(n-(o+=i/++l)));else for(;++s<r;)c(n=u(e.call(t,t[s],s)))&&(a+=(i=n-o)*(n-(o+=i/++l)));return 1<l?a/(l-1):void 0},qr.deviation=function(){var t=qr.variance.apply(this,arguments);return t&&Math.sqrt(t)};var eo=t(a);qr.bisectLeft=eo.left,qr.bisect=qr.bisectRight=eo.right,qr.bisector=function(n){return t(1===n.length?function(t,e){return a(n(t),e)}:n)},qr.shuffle=function(t,e,n){(o=arguments.length)<3&&(n=t.length,o<2&&(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},qr.permute=function(t,e){for(var n=e.length,i=new Array(n);n--;)i[n]=t[e[n]];return i},qr.pairs=function(t){for(var e=0,n=t.length-1,i=t[0],r=new Array(n<0?0:n);e<n;)r[e]=[i,i=t[++e]];return r},qr.zip=function(){if(!(i=arguments.length))return[];for(var t=-1,e=qr.min(arguments,s),n=new Array(e);++t<e;)for(var i,r=-1,o=n[t]=new Array(i);++r<i;)o[r]=arguments[r][t];return n},qr.transpose=function(t){return qr.zip.apply(qr,t)},qr.keys=function(t){var e,n=[];for(e in t)n.push(e);return n},qr.values=function(t){var e,n=[];for(e in t)n.push(t[e]);return n},qr.entries=function(t){var e,n=[];for(e in t)n.push({key:e,value:t[e]});return n},qr.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);0<=--r;)for(e=(i=t[r]).length;0<=--e;)n[--a]=i[e];return n};var no=Math.abs;qr.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=[],o=function(t){for(var e=1;t*e%1;)e*=10;return e}(no(n)),a=-1;if(t*=o,e*=o,(n*=o)<0)for(;(i=t+n*++a)>e;)r.push(i/o);else for(;(i=t+n*++a)<e;)r.push(i/o);return r},qr.map=function(t,e){var n=new v;if(t instanceof v)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 io="__proto__",ro="\0";e(v,{has:r,get:function(t){return this._[n(t)]},set:function(t,e){return this._[n(t)]=e},remove:o,keys:l,values:function(){var t,e=[];for(t in this._)e.push(this._[t]);return e},entries:function(){var t,e=[];for(t in this._)e.push({key:i(t),value:this._[t]});return e},size:h,empty:d,forEach:function(t){for(var e in this._)t.call(this,i(e),this._[e])}}),qr.nest=function(){function h(n,t,i){if(i>=g.length)return f?f.call(p,t):d?t.sort(d):t;for(var e,r,o,a,s=-1,l=t.length,u=g[i++],c=new v;++s<l;)(a=c.get(e=u(r=t[s])))?a.push(r):c.set(e,[r]);return o=n?(r=n(),function(t,e){r.set(t,h(n,e,i))}):(r={},function(t,e){r[t]=h(n,e,i)}),c.forEach(o),r}var d,f,p={},g=[],e=[];return p.map=function(t,e){return h(e,t,0)},p.entries=function(t){return function n(t,i){if(i>=g.length)return t;var r=[],o=e[i++];return t.forEach(function(t,e){r.push({key:t,values:n(e,i)})}),o?r.sort(function(t,e){return o(t.key,e.key)}):r}(h(qr.map,t,0),0)},p.key=function(t){return g.push(t),p},p.sortKeys=function(t){return e[g.length-1]=t,p},p.sortValues=function(t){return d=t,p},p.rollup=function(t){return f=t,p},p},qr.set=function(t){var e=new f;if(t)for(var n=0,i=t.length;n<i;++n)e.add(t[n]);return e},e(f,{has:r,add:function(t){return this._[n(t+="")]=!0,t},remove:o,values:l,size:h,empty:d,forEach:function(t){for(var e in this._)t.call(this,i(e))}}),qr.behavior={},qr.rebind=function(t,e){for(var n,i=1,r=arguments.length;++i<r;)t[n=arguments[i]]=function(e,n,i){return function(){var t=i.apply(n,arguments);return t===n?e:t}}(t,e,e[n]);return t};var oo=["webkit","ms","moz","Moz","o","O"];qr.dispatch=function(){for(var t=new g,e=-1,n=arguments.length;++e<n;)t[arguments[e]]=m(t);return t},g.prototype.on=function(t,e){var n=t.indexOf("."),i="";if(0<=n&&(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}},qr.event=null,qr.requote=function(t){return t.replace(ao,"\\$&")};var ao=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,so={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]},lo=function(t,e){return e.querySelector(t)},uo=function(t,e){return e.querySelectorAll(t)},co=Xr.matches||Xr[p(Xr,"matchesSelector")],ho=function(t,e){return co.call(t,e)};"function"==typeof Sizzle&&(lo=function(t,e){return Sizzle(t,e)[0]||null},ho=(uo=Sizzle).matchesSelector),qr.selection=function(){return mo};var fo=qr.selection.prototype=[];fo.select=function(t){var e,n,i,r,o=[];t=w(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 x(o)},fo.selectAll=function(t){var e,n,i=[];t=S(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=Yr(t.call(n,n.__data__,s,r))),e.parentNode=n);return x(i)};var po={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/"};qr.ns={prefix:po,qualify:function(t){var e=t.indexOf(":"),n=t;return 0<=e&&(n=t.slice(0,e),t=t.slice(e+1)),po.hasOwnProperty(n)?{space:po[n],local:t}:t}},fo.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return(t=qr.ns.qualify(t)).local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(_(e,t[e]));return this}return this.each(_(t,e))},fo.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),i=(t=M(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(!k(t[r]).test(e))return!1;return!0}for(e in t)this.each(T(e,t[e]));return this}return this.each(T(t,e))},fo.style=function(t,e,n){var i=arguments.length;if(i<3){if("string"!=typeof t){for(n in i<2&&(e=""),t)this.each(A(n,t[n],e));return this}if(i<2)return Vr.getComputedStyle(this.node(),null).getPropertyValue(t);n=""}return this.each(A(t,e,n))},fo.property=function(t,e){if(arguments.length<2){if("string"==typeof t)return this.node()[t];for(e in t)this.each(P(e,t[e]));return this}return this.each(P(t,e))},fo.text=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}:null==e?function(){this.textContent=""}:function(){this.textContent=e}):this.node().textContent},fo.html=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}:null==e?function(){this.innerHTML=""}:function(){this.innerHTML=e}):this.node().innerHTML},fo.append=function(t){return t=E(t),this.select(function(){return this.appendChild(t.apply(this,arguments))})},fo.insert=function(t,e){return t=E(t),e=w(e),this.select(function(){return this.insertBefore(t.apply(this,arguments),e.apply(this,arguments)||null)})},fo.remove=function(){return this.each(O)},fo.data=function(t,p){function e(t,e){var n,i,r=t.length,o=e.length,a=Math.min(r,o),s=new Array(o),l=new Array(o),u=new Array(r);if(p){for(var c,h=new v,d=new Array(r),f=-1;++f<r;)h.has(c=p.call(n=t[f],n.__data__,f))?u[f]=n:h.set(c,n),d[f]=c;for(f=-1;++f<o;)(n=h.get(c=p.call(e,i=e[f],f)))?!0!==n&&((s[f]=n).__data__=i):l[f]=N(i),h.set(c,!0);for(f=-1;++f<r;)!0!==h.get(d[f])&&(u[f]=t[f])}else{for(f=-1;++f<a;)n=t[f],i=e[f],n?(n.__data__=i,s[f]=n):l[f]=N(i);for(;f<o;++f)l[f]=N(e[f]);for(;f<r;++f)u[f]=t[f]}l.update=s,l.parentNode=s.parentNode=u.parentNode=t.parentNode,g.push(l),m.push(s),y.push(u)}var n,i,r=-1,o=this.length;if(!arguments.length){for(t=new Array(o=(n=this[0]).length);++r<o;)(i=n[r])&&(t[r]=i.__data__);return t}var g=j([]),m=x([]),y=x([]);if("function"==typeof t)for(;++r<o;)e(n=this[r],t.call(n,n.parentNode.__data__,r));else for(;++r<o;)e(n=this[r],t);return m.enter=function(){return g},m.exit=function(){return y},m},fo.datum=function(t){return arguments.length?this.property("__data__",t):this.property("__data__")},fo.filter=function(t){var e,n,i,r=[];"function"!=typeof t&&(t=R(t));for(var o=0,a=this.length;o<a;o++){r.push(e=[]),e.parentNode=(n=this[o]).parentNode;for(var s=0,l=n.length;s<l;s++)(i=n[s])&&t.call(i,i.__data__,s,o)&&e.push(i)}return x(r)},fo.order=function(){for(var t=-1,e=this.length;++t<e;)for(var n,i=this[t],r=i.length-1,o=i[r];0<=--r;)(n=i[r])&&(o&&o!==n.nextSibling&&o.parentNode.insertBefore(n,o),o=n);return this},fo.sort=function(t){t=function(n){return arguments.length||(n=a),function(t,e){return t&&e?n(t.__data__,e.__data__):!t-!e}}.apply(this,arguments);for(var e=-1,n=this.length;++e<n;)this[e].sort(t);return this.order()},fo.each=function(i){return F(this,function(t,e,n){i.call(t,t.__data__,e,n)})},fo.call=function(t){var e=Yr(arguments);return t.apply(e[0]=this,e),this},fo.empty=function(){return!this.node()},fo.node=function(){for(var t=0,e=this.length;t<e;t++)for(var n=this[t],i=0,r=n.length;i<r;i++){var o=n[i];if(o)return o}return null},fo.size=function(){var t=0;return F(this,function(){++t}),t};var go=[];qr.selection.enter=j,(qr.selection.enter.prototype=go).append=fo.append,go.empty=fo.empty,go.node=fo.node,go.call=fo.call,go.size=fo.size,go.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 x(a)},go.insert=function(t,e){return arguments.length<2&&(a=this,e=function(t,e,n){var i,r=a[n].update,o=r.length;for(n!=l&&(l=n,s=0),s<=e&&(s=e+1);!(i=r[s])&&++s<o;);return i}),fo.insert.call(this,t,e);var a,s,l},qr.select=function(t){t=["string"==typeof t?lo(t,Gr):t];return t.parentNode=Xr,x([t])},qr.selectAll=function(t){t=Yr("string"==typeof t?uo(t,Gr):t);return t.parentNode=Xr,x([t])};var mo=qr.select(Xr);fo.on=function(t,e,n){var i=arguments.length;if(i<3){if("string"!=typeof t){for(n in i<2&&(e=!1),t)this.each(H(n,t[n],e));return this}if(i<2)return(i=this.node()["__on"+t])&&i._;n=!1}return this.each(H(t,e,n))};var yo=qr.map({mouseenter:"mouseover",mouseleave:"mouseout"});yo.forEach(function(t){"on"+t in Gr&&yo.remove(t)});var vo="onselectstart"in Gr?null:p(Xr.style,"userSelect"),bo=0;qr.mouse=function(t){return $(t,b())};var xo=/WebKit/.test(Vr.navigator.userAgent)?-1:0;qr.touch=function(t,e,n){if(arguments.length<3&&(n=e,e=b().changedTouches),e)for(var i,r=0,o=e.length;r<o;++r)if((i=e[r]).identifier===n)return $(t,i)},qr.behavior.drag=function(){function e(){this.on("mousedown.drag",n).on("touchstart.drag",i)}function t(c,h,d,f,p){return function(){var t=qr.event.target,i=this.parentNode,r=g.of(this,arguments),o=0,a=c(),e=".drag"+(null==a?"":"-"+a),n=qr.select(d()).on(f+e,function(){var t,e,n=h(i,a);n&&(t=n[0]-l[0],e=n[1]-l[1],o|=t|e,r({type:"drag",x:(l=n)[0]+u[0],y:n[1]+u[1],dx:t,dy:e}))}).on(p+e,function(){h(i,a)&&(n.on(f+e,null).on(p+e,null),s(o&&qr.event.target===t),r({type:"dragend"}))}),s=W(),l=h(i,a),u=m?[(u=m.apply(this,arguments)).x-l[0],u.y-l[1]]:[0,0];r({type:"dragstart"})}}var g=I(e,"drag","dragstart","dragend"),m=null,n=t(y,qr.mouse,Y,"mousemove","mouseup"),i=t(q,qr.touch,U,"touchmove","touchend");return e.origin=function(t){return arguments.length?(m=t,e):m},qr.rebind(e,g,"on")},qr.touches=function(n,t){return(t=arguments.length<2?b().touches:t)?Yr(t).map(function(t){var e=$(n,t);return e.identifier=t.identifier,e}):[]};var wo=1e-6,So=wo*wo,_o=Math.PI,Co=2*_o,ko=Co-wo,Mo=_o/2,To=_o/180,Do=180/_o,Ao=Math.SQRT2;qr.interpolateZoom=function(t,e){function n(t){var e=t*d;if(h){var n=K(c),i=a/(2*u)*(n*(i=Ao*e+c,((i=Math.exp(2*i))-1)/(i+1))-(i=c,((i=Math.exp(c))-1/i)/2));return[r+i*s,o+i*l,a*n/K(Ao*e+c)]}return[r+t*s,o+t*l,a*Math.exp(Ao*e)]}var r=t[0],o=t[1],a=t[2],i=e[0],t=e[1],e=e[2],s=i-r,l=t-o,i=s*s+l*l,u=Math.sqrt(i),t=(e*e-a*a+4*i)/(2*a*2*u),i=(e*e-a*a-4*i)/(2*e*2*u),c=Math.log(Math.sqrt(t*t+1)-t),h=Math.log(Math.sqrt(i*i+1)-i)-c,d=(h||Math.log(e/a))/Ao;return n.duration=1e3*d,n},qr.behavior.zoom=function(){function r(t){t.on(A,k).on(Oo+".zoom",n).on("dblclick.zoom",i).on(E,M)}function v(t){return[(t[0]-D.x)/D.k,(t[1]-D.y)/D.k]}function b(t){D.k=Math.max(p[0],Math.min(p[1],t))}function x(t,e){e=[e[0]*D.k+D.x,e[1]*D.k+D.y],D.x+=t[0]-e[0],D.y+=t[1]-e[1]}function w(t,e,n,i){t.__chart__={x:D.x,y:D.y,k:D.k},b(Math.pow(2,i)),x(s=e,n),t=qr.select(t),(t=0<g?t.transition().duration(g):t).call(r.event)}function e(){c&&c.domain(u.range().map(function(t){return(t-D.x)/D.k}).map(u.invert)),d&&d.domain(h.range().map(function(t){return(t-D.y)/D.k}).map(h.invert))}function S(t){m++||t({type:"zoomstart"})}function _(t){e(),t({type:"zoom",scale:D.k,translate:[D.x,D.y]})}function C(t){--m||t({type:"zoomend"}),s=null}function k(){var t=this,e=qr.event.target,n=O.of(t,arguments),i=0,r=qr.select(Vr).on(y,function(){i=1,x(qr.mouse(t),o),_(n)}).on(P,function(){r.on(y,null).on(P,null),a(i&&qr.event.target===e),C(n)}),o=v(qr.mouse(t)),a=W();Ws.call(t),S(n)}function M(){function a(){var t=qr.touches(c);return u=D.k,t.forEach(function(t){t.identifier in d&&(d[t.identifier]=v(t))}),t}function t(){var t=qr.event.target;qr.select(t).on(p,s).on(g,l),m.push(t);for(var e=qr.event.changedTouches,n=0,i=e.length;n<i;++n)d[e[n].identifier]=null;var r,o=a(),t=Date.now();1===o.length?(t-T<500&&(r=o[0],w(c,r,d[r.identifier],Math.floor(Math.log(D.k)/Math.LN2)+1),L()),T=t):1<o.length&&(r=o[0],t=o[1],o=r[0]-t[0],t=r[1]-t[1],f=o*o+t*t)}function s(){var t,e,n=qr.touches(c);Ws.call(c);for(var i,r,o,a=0,s=n.length;a<s;++a,e=null)if(t=n[a],e=d[t.identifier]){if(o)break;r=t,o=e}e&&(i=(i=t[0]-r[0])*i+(i=t[1]-r[1])*i,i=f&&Math.sqrt(i/f),r=[(r[0]+t[0])/2,(r[1]+t[1])/2],o=[(o[0]+e[0])/2,(o[1]+e[1])/2],b(i*u)),T=null,x(r,o),_(h)}function l(){if(qr.event.touches.length){for(var t,e=qr.event.changedTouches,n=0,i=e.length;n<i;++n)delete d[e[n].identifier];for(t in d)return void a()}qr.selectAll(m).on(r,null),o.on(A,k).on(E,M),y(),C(h)}var u,c=this,h=O.of(c,arguments),d={},f=0,r=".zoom-"+qr.event.changedTouches[0].identifier,p="touchmove"+r,g="touchend"+r,m=[],o=qr.select(c),y=W();t(),S(h),o.on(A,null).on(E,t)}function n(){var t=O.of(this,arguments);l?clearTimeout(l):(o=v(s=a||qr.mouse(this)),Ws.call(this),S(t)),l=setTimeout(function(){l=null,C(t)},50),L(),b(Math.pow(2,.002*Po())*D.k),x(s,o),_(t)}function i(){var t=qr.mouse(this),e=Math.log(D.k)/Math.LN2;w(this,t,v(t),qr.event.shiftKey?Math.ceil(e)-1:Math.floor(e)+1)}var o,s,a,l,T,u,c,h,d,D={x:0,y:0,k:1},f=[960,500],p=Eo,g=250,m=0,A="mousedown.zoom",y="mousemove.zoom",P="mouseup.zoom",E="touchstart.zoom",O=I(r,"zoomstart","zoom","zoomend");return r.event=function(t){t.each(function(){var a=O.of(this,arguments),e=D;Bs?qr.select(this).transition().each("start.zoom",function(){D=this.__chart__||{x:0,y:0,k:1},S(a)}).tween("zoom:zoom",function(){var n=f[0],t=f[1],i=s?s[0]:n/2,r=s?s[1]:t/2,o=qr.interpolateZoom([(i-D.x)/D.k,(r-D.y)/D.k,n/D.k],[(i-e.x)/e.k,(r-e.y)/e.k,n/e.k]);return function(t){var e=o(t),t=n/e[2];this.__chart__=D={x:i-e[0]*t,y:r-e[1]*t,k:t},_(a)}}).each("interrupt.zoom",function(){C(a)}).each("end.zoom",function(){C(a)}):(this.__chart__=D,S(a),_(a),C(a))})},r.translate=function(t){return arguments.length?(D={x:+t[0],y:+t[1],k:D.k},e(),r):[D.x,D.y]},r.scale=function(t){return arguments.length?(D={x:D.x,y:D.y,k:+t},e(),r):D.k},r.scaleExtent=function(t){return arguments.length?(p=null==t?Eo:[+t[0],+t[1]],r):p},r.center=function(t){return arguments.length?(a=t&&[+t[0],+t[1]],r):a},r.size=function(t){return arguments.length?(f=t&&[+t[0],+t[1]],r):f},r.duration=function(t){return arguments.length?(g=+t,r):g},r.x=function(t){return arguments.length?(u=(c=t).copy(),D={x:0,y:0,k:1},r):c},r.y=function(t){return arguments.length?(h=(d=t).copy(),D={x:0,y:0,k:1},r):d},qr.rebind(r,O,"on")};var Po,Eo=[0,1/0],Oo="onwheel"in Gr?(Po=function(){return-qr.event.deltaY*(qr.event.deltaMode?120:1)},"wheel"):"onmousewheel"in Gr?(Po=function(){return qr.event.wheelDelta},"mousewheel"):(Po=function(){return-qr.event.detail},"MozMousePixelScroll");(qr.color=Q).prototype.toString=function(){return this.rgb()+""};Zr=(qr.hsl=tt).prototype=new Q;Zr.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),new tt(this.h,this.s,this.l/t)},Zr.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new tt(this.h,this.s,t*this.l)},Zr.rgb=function(){return et(this.h,this.s,this.l)};Qr=(qr.hcl=nt).prototype=new Q;Qr.brighter=function(t){return new nt(this.h,this.c,Math.min(100,this.l+Lo*(arguments.length?t:1)))},Qr.darker=function(t){return new nt(this.h,this.c,Math.max(0,this.l-Lo*(arguments.length?t:1)))},Qr.rgb=function(){return it(this.h,this.c,this.l).rgb()},qr.lab=rt;var Lo=18,Io=.95047,No=1,Ro=1.08883,eo=rt.prototype=new Q;eo.brighter=function(t){return new rt(Math.min(100,this.l+Lo*(arguments.length?t:1)),this.a,this.b)},eo.darker=function(t){return new rt(Math.max(0,this.l-Lo*(arguments.length?t:1)),this.a,this.b)},eo.rgb=function(){return ot(this.l,this.a,this.b)};Zr=(qr.rgb=ct).prototype=new Q;Zr.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var e=this.r,n=this.g,i=this.b;return e||n||i?(e&&e<30&&(e=30),n&&n<30&&(n=30),i&&i<30&&(i=30),new ct(Math.min(255,e/t),Math.min(255,n/t),Math.min(255,i/t))):new ct(30,30,30)},Zr.darker=function(t){return new ct((t=Math.pow(.7,arguments.length?t:1))*this.r,t*this.g,t*this.b)},Zr.hsl=function(){return gt(this.r,this.g,this.b)},Zr.toString=function(){return"#"+ft(this.r)+ft(this.g)+ft(this.b)};var Fo=qr.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});Fo.forEach(function(t,e){Fo.set(t,ht(e))}),qr.functor=bt,qr.xhr=wt(xt),qr.dsv=function(r,o){function a(t,e,n){arguments.length<3&&(n=e,e=null);var i=St(t,o,null==e?s:l(e),n);return i.row=function(t){return arguments.length?i.response(null==(e=t)?s:l(t)):e},i}function s(t){return a.parse(t.responseText)}function l(e){return function(t){return a.parse(t.responseText,e)}}function e(t){return t.map(u).join(r)}function u(t){return n.test(t)?'"'+t.replace(/\"/g,'""')+'"':t}var n=new RegExp('["'+r+"\n]"),d=r.charCodeAt(0);return a.parse=function(t,i){var r;return a.parseRows(t,function(t,e){if(r)return r(t,e-1);var n=new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}");r=i?function(t,e){return i(n(t),e)}:n})},a.parseRows=function(r,t){function e(){if(l<=u)return s;if(o)return o=!1,a;var t=u;if(34===r.charCodeAt(t)){for(var e=t;e++<l;)if(34===r.charCodeAt(e)){if(34!==r.charCodeAt(e+1))break;++e}return u=e+2,13===(n=r.charCodeAt(e+1))?(o=!0,10===r.charCodeAt(e+2)&&++u):10===n&&(o=!0),r.slice(t+1,e).replace(/""/g,'"')}for(;u<l;){var n,i=1;if(10===(n=r.charCodeAt(u++)))o=!0;else if(13===n)o=!0,10===r.charCodeAt(u)&&(++u,++i);else if(n!==d)continue;return r.slice(t,u-i)}return r.slice(t)}for(var n,o,a={},s={},i=[],l=r.length,u=0,c=0;(n=e())!==s;){for(var h=[];n!==a&&n!==s;)h.push(n),n=e();t&&null==(h=t(h,c++))||i.push(h)}return i},a.format=function(t){if(Array.isArray(t[0]))return a.formatRows(t);var n=new f,i=[];return t.forEach(function(t){for(var e in t)n.has(e)||i.push(n.add(e))}),[i.map(u).join(r)].concat(t.map(function(e){return i.map(function(t){return u(e[t])}).join(r)})).join("\n")},a.formatRows=function(t){return t.map(e).join("\n")},a},qr.csv=qr.dsv(",","text/csv"),qr.tsv=qr.dsv("\t","text/tab-separated-values");var jo,Ho,Bo,zo,Wo,$o=Vr[p(Vr,"requestAnimationFrame")]||function(t){setTimeout(t,17)};qr.timer=function(t,e,n){var i=arguments.length;i<2&&(e=0);i={c:t,t:(n=i<3?Date.now():n)+e,f:!1,n:null};Ho?Ho.n=i:jo=i,Ho=i,Bo||(zo=clearTimeout(zo),Bo=1,$o(_t))},qr.timer.flush=function(){Ct(),kt()},qr.round=function(t,e){return e?Math.round(t*(e=Math.pow(10,e)))/e:Math.round(t)};var qo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(function(t,e){var n=Math.pow(10,3*no(8-e));return{scale:8<e?function(t){return t/n}:function(t){return t*n},symbol:t}});qr.formatPrefix=function(t,e){var n=0;return t&&(t<0&&(t*=-1),e&&(t=qr.round(t,Mt(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)))),qo[8+n/3]};var Uo=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Yo=qr.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=qr.round(t,Mt(t,e))).toFixed(Math.max(0,Math.min(20,Mt(t*(1+1e-15),e))))}}),Go=qr.time={},Xo=Date;Dt.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(){Vo.setUTCDate.apply(this._,arguments)},setDay:function(){Vo.setUTCDay.apply(this._,arguments)},setFullYear:function(){Vo.setUTCFullYear.apply(this._,arguments)},setHours:function(){Vo.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Vo.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Vo.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Vo.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Vo.setUTCSeconds.apply(this._,arguments)},setTime:function(){Vo.setTime.apply(this._,arguments)}};var Vo=Date.prototype;Go.year=At(function(t){return(t=Go.day(t)).setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),Go.years=Go.year.range,Go.years.utc=Go.year.utc.range,Go.day=At(function(t){var e=new Xo(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}),Go.days=Go.day.range,Go.days.utc=Go.day.utc.range,Go.dayOfYear=function(t){var e=Go.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(t,n){n=7-n;var e=Go[t]=At(function(t){return(t=Go.day(t)).setDate(t.getDate()-(t.getDay()+n)%7),t},function(t,e){t.setDate(t.getDate()+7*Math.floor(e))},function(t){var e=Go.year(t).getDay();return Math.floor((Go.dayOfYear(t)+(e+n)%7)/7)-(e!==n)});Go[t+"s"]=e.range,Go[t+"s"].utc=e.utc.range,Go[t+"OfYear"]=function(t){var e=Go.year(t).getDay();return Math.floor((Go.dayOfYear(t)+(e+n)%7)/7)}}),Go.week=Go.sunday,Go.weeks=Go.sunday.range,Go.weeks.utc=Go.sunday.utc.range,Go.weekOfYear=Go.sundayOfYear;var Zo={"-":"",_:" ",0:"0"},Ko=/^\s*\d+/,Jo=/^%/;qr.locale=function(t){return{numberFormat:(w=t.decimal,s=t.thousands,l=t.grouping,n=t.currency,S=l&&s?function(t,e){for(var n=t.length,i=[],r=0,o=l[0],a=0;0<n&&0<o&&(e<a+o+1&&(o=Math.max(1,e-a)),i.push(t.substring(n-=o,n+o)),!((a+=o+1)>e));)o=l[r=(r+1)%l.length];return i.reverse().join(s)}:xt,function(t){var t=Uo.exec(t),s=t[1]||" ",l=t[2]||">",u=t[3]||"-",e=t[4]||"",c=t[5],h=+t[6],d=t[7],f=t[8],p=t[9],g=1,m="",y="",v=!1,b=!0,f=f&&+f.substring(1);switch((c||"0"===s&&"="===l)&&(c=s="0",l="="),p){case"n":d=!0,p="g";break;case"%":g=100,y="%",p="f";break;case"p":g=100,y="%",p="r";break;case"b":case"o":case"x":case"X":"#"===e&&(m="0"+p.toLowerCase());case"c":b=!1;case"d":v=!0,f=0;break;case"s":g=-1,p="r"}"$"===e&&(m=n[0],y=n[1]),"r"!=p||f||(p="g"),null!=f&&("g"==p?f=Math.max(1,Math.min(21,f)):"e"!=p&&"f"!=p||(f=Math.max(0,Math.min(20,f))));var p=Yo.get(p)||Tt,x=c&&d;return function(t){var e=y;if(v&&t%1)return"";var n=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===u?"":u;g<0?(t=(r=qr.formatPrefix(t,f)).scale(t),e=r.symbol+y):t*=g;var i,r,o=(t=p(t,f)).lastIndexOf(".");r=o<0?(a=b?t.lastIndexOf("e"):-1)<0?(i=t,""):(i=t.substring(0,a),t.substring(a)):(i=t.substring(0,o),w+t.substring(o+1)),!c&&d&&(i=S(i,1/0));var a=m.length+i.length+r.length+(x?0:n.length),o=a<h?new Array(a=h-a+1).join(s):"";return x&&(i=S(o+i,o.length?h-r.length:1/0)),n+=m,t=i+r,("<"===l?n+t+o:">"===l?o+n+t:"^"===l?o.substring(0,a>>=1)+n+t+o.substring(a):n+(x?t:o+t))+e}}),timeFormat:Et(t)};var w,s,l,n,S};Qr=qr.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"]});qr.format=Qr.numberFormat,qr.geo={},Kt.prototype={s:0,t:0,add:function(t){Jt(t,this.t,Qo),Jt(Qo.s,this.s,this),this.s?this.t+=Qo.t:this.s=Qo.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var Qo=new Kt;qr.geo.stream=function(t,e){t&&ta.hasOwnProperty(t.type)?ta[t.type](t,e):Qt(t,e)};var ta={Feature:function(t,e){Qt(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,i=-1,r=n.length;++i<r;)Qt(n[i].geometry,e)}},ea={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){te(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,i=-1,r=n.length;++i<r;)te(n[i],e,0)},Polygon:function(t,e){ee(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,i=-1,r=n.length;++i<r;)ee(n[i],e)},GeometryCollection:function(t,e){for(var n=t.geometries,i=-1,r=n.length;++i<r;)Qt(n[i],e)}};qr.geo.area=function(t){return na=0,qr.geo.stream(t,ma),na};var na,ia,ra,oa,aa,sa,la,ua,ca,ha,da,fa,pa,ga=new Kt,ma={sphere:function(){na+=4*_o},point:y,lineStart:y,lineEnd:y,polygonStart:function(){ga.reset(),ma.lineStart=ne},polygonEnd:function(){var t=2*ga;na+=t<0?4*_o+t:t,ma.lineStart=ma.lineEnd=ma.point=y}};function ya(t,e){da.push(fa=[ia=t,oa=t]),e<ra&&(ra=e),aa<e&&(aa=e)}function va(t,e){var n,i,r,o,a,s=ie([t*To,e*To]);ca?(r=oe(ca,s),le(n=oe([r[1],-r[0],0],r)),r=(n=ue(n))[0]*Do*(i=0<(o=t-sa)?1:-1),(o=180<no(o))^(i*sa<r&&r<i*t)?(a=n[1]*Do,aa<a&&(aa=a)):o^(i*sa<(r=(r+360)%360-180)&&r<i*t)?(a=-n[1]*Do)<ra&&(ra=a):(e<ra&&(ra=e),aa<e&&(aa=e)),o?t<sa?Ca(ia,t)>Ca(ia,oa)&&(oa=t):Ca(t,oa)>Ca(ia,oa)&&(ia=t):ia<=oa?(t<ia&&(ia=t),oa<t&&(oa=t)):sa<t?Ca(ia,t)>Ca(ia,oa)&&(oa=t):Ca(t,oa)>Ca(ia,oa)&&(ia=t)):ya(t,e),ca=s,sa=t}function ba(){pa.point=va}function xa(){fa[0]=ia,fa[1]=oa,pa.point=ya,ca=null}function wa(t,e){var n;ca?ha+=180<no(n=t-sa)?n+(0<n?360:-360):n:(la=t,ua=e),ma.point(t,e),va(t,e)}function Sa(){ma.lineStart()}function _a(){wa(la,ua),ma.lineEnd(),no(ha)>wo&&(ia=-(oa=180)),fa[0]=ia,fa[1]=oa,ca=null}function Ca(t,e){return(e-=t)<0?e+360:e}function ka(t,e){return t[0]-e[0]}function Ma(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}qr.geo.bounds=(pa={point:ya,lineStart:ba,lineEnd:xa,polygonStart:function(){pa.point=wa,pa.lineStart=Sa,pa.lineEnd=_a,ha=0,ma.polygonStart()},polygonEnd:function(){ma.polygonEnd(),pa.point=ya,pa.lineStart=ba,pa.lineEnd=xa,ga<0?(ia=-(oa=180),ra=-(aa=90)):wo<ha?aa=90:ha<-wo&&(ra=-90),fa[0]=ia,fa[1]=oa}},function(t){if(aa=oa=-(ia=ra=1/0),da=[],qr.geo.stream(t,pa),o=da.length){da.sort(ka);for(var e=1,n=[s=da[0]];e<o;++e)Ma((r=da[e])[0],s)||Ma(r[1],s)?(Ca(s[0],r[1])>Ca(s[0],s[1])&&(s[1]=r[1]),Ca(r[0],s[1])>Ca(s[0],s[1])&&(s[0]=r[0])):n.push(s=r);for(var i,r,o,a=-1/0,e=0,s=n[o=n.length-1];e<=o;s=r,++e)r=n[e],(i=Ca(s[1],r[0]))>a&&(a=i,ia=r[0],oa=s[1])}return da=fa=null,1/0===ia||1/0===ra?[[NaN,NaN],[NaN,NaN]]:[[ia,ra],[oa,aa]]}),qr.geo.centroid=function(t){Ta=Da=Aa=Pa=Ea=Oa=La=Ia=Na=Ra=Fa=0,qr.geo.stream(t,ja);var e=Na,n=Ra,i=Fa,t=e*e+n*n+i*i;return t<So&&(e=Oa,n=La,i=Ia,Da<wo&&(e=Aa,n=Pa,i=Ea),(t=e*e+n*n+i*i)<So)?[NaN,NaN]:[Math.atan2(n,e)*Do,Z(i/Math.sqrt(t))*Do]};var Ta,Da,Aa,Pa,Ea,Oa,La,Ia,Na,Ra,Fa,ja={sphere:y,point:he,lineStart:fe,lineEnd:pe,polygonStart:function(){ja.lineStart=ge},polygonEnd:function(){ja.lineStart=fe}},Ha=we(ye,function(u){var c,h=NaN,d=NaN,f=NaN;return{lineStart:function(){u.lineStart(),c=1},point:function(t,e){var n,i,r,o,a,s=0<t?_o:-_o,l=no(t-h);no(l-_o)<wo?(u.point(h,d=0<(d+e)/2?Mo:-Mo),u.point(f,d),u.lineEnd(),u.lineStart(),u.point(s,d),u.point(t,d),c=0):f!==s&&_o<=l&&(no(h-f)<wo&&(h-=f*wo),no(t-s)<wo&&(t-=s*wo),n=h,i=d,r=t,o=e,a=Math.sin(n-r),d=no(a)>wo?Math.atan((Math.sin(i)*(l=Math.cos(o))*Math.sin(r)-Math.sin(o)*(r=Math.cos(i))*Math.sin(n))/(r*l*a)):(i+o)/2,u.point(f,d),u.lineEnd(),u.lineStart(),u.point(s,d),c=0),u.point(h=t,d=e),f=s},lineEnd:function(){u.lineEnd(),h=d=NaN},clean:function(){return 2-c}}},function(t,e,n,i){var r;null==t?(i.point(-_o,r=n*Mo),i.point(0,r),i.point(_o,r),i.point(_o,0),i.point(_o,-r),i.point(0,-r),i.point(-_o,-r),i.point(-_o,0),i.point(-_o,r)):no(t[0]-e[0])>wo?(t=t[0]<e[0]?_o:-_o,i.point(-t,r=n*t/2),i.point(0,r),i.point(t,r)):i.point(e[0],e[1])},[-_o,-_o/2]),Ba=1e9;qr.geo.clipExtent=function(){var e,n,i,r,o,a,s={stream:function(t){return o&&(o.valid=!1),(o=a(t)).valid=!0,o},extent:function(t){return arguments.length?(a=Te(e=+t[0][0],n=+t[0][1],i=+t[1][0],r=+t[1][1]),o&&(o.valid=!1,o=null),s):[[e,n],[i,r]]}};return s.extent([[0,0],[960,500]])},(qr.geo.conicEqualArea=function(){return De(Ae)}).raw=Ae,qr.geo.albers=function(){return qr.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},qr.geo.albersUsa=function(){function r(t){var e=t[0],t=t[1];return n=null,o(e,t),n||(a(e,t),n)||s(e,t),n}var n,o,a,s,l=qr.geo.albers(),u=qr.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=qr.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),h={point:function(t,e){n=[t,e]}};return r.invert=function(t){var e=l.scale(),n=l.translate(),i=(t[0]-n[0])/e,e=(t[1]-n[1])/e;return(.12<=e&&e<.234&&-.425<=i&&i<-.214?u:.166<=e&&e<.234&&-.214<=i&&i<-.115?c:l).invert(t)},r.stream=function(t){var n=l.stream(t),i=u.stream(t),r=c.stream(t);return{point:function(t,e){n.point(t,e),i.point(t,e),r.point(t,e)},sphere:function(){n.sphere(),i.sphere(),r.sphere()},lineStart:function(){n.lineStart(),i.lineStart(),r.lineStart()},lineEnd:function(){n.lineEnd(),i.lineEnd(),r.lineEnd()},polygonStart:function(){n.polygonStart(),i.polygonStart(),r.polygonStart()},polygonEnd:function(){n.polygonEnd(),i.polygonEnd(),r.polygonEnd()}}},r.precision=function(t){return arguments.length?(l.precision(t),u.precision(t),c.precision(t),r):l.precision()},r.scale=function(t){return arguments.length?(l.scale(t),u.scale(.35*t),c.scale(t),r.translate(l.translate())):l.scale()},r.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],i=+t[1];return o=l.translate(t).clipExtent([[n-.455*e,i-.238*e],[n+.455*e,i+.238*e]]).stream(h).point,a=u.translate([n-.307*e,i+.201*e]).clipExtent([[n-.425*e+wo,i+.12*e+wo],[n-.214*e-wo,i+.234*e-wo]]).stream(h).point,s=c.translate([n-.205*e,i+.212*e]).clipExtent([[n-.214*e+wo,i+.166*e+wo],[n-.115*e-wo,i+.234*e-wo]]).stream(h).point,r},r.scale(1070)};var za,Wa,$a,qa,Ua,Ya,Ga={point:y,lineStart:y,lineEnd:y,polygonStart:function(){Wa=0,Ga.lineStart=Pe},polygonEnd:function(){Ga.lineStart=Ga.lineEnd=Ga.point=y,za+=no(Wa/2)}},Xa={point:function(t,e){t<$a&&($a=t),Ua<t&&(Ua=t),e<qa&&(qa=e),Ya<e&&(Ya=e)},lineStart:y,lineEnd:y,polygonStart:y,polygonEnd:y},Va={point:Le,lineStart:Ie,lineEnd:Ne,polygonStart:function(){Va.lineStart=Re},polygonEnd:function(){Va.point=Le,Va.lineStart=Ie,Va.lineEnd=Ne}};qr.geo.path=function(){function e(t){return t&&("function"==typeof l&&a.pointRadius(+l.apply(this,arguments)),s&&s.valid||(s=o(a)),qr.geo.stream(t,s)),a.result()}function i(){return s=null,e}var r,n,o,a,s,l=4.5;return e.area=function(t){return za=0,qr.geo.stream(t,o(Ga)),za},e.centroid=function(t){return Aa=Pa=Ea=Oa=La=Ia=Na=Ra=Fa=0,qr.geo.stream(t,o(Va)),Fa?[Na/Fa,Ra/Fa]:Ia?[Oa/Ia,La/Ia]:Ea?[Aa/Ea,Pa/Ea]:[NaN,NaN]},e.bounds=function(t){return Ua=Ya=-($a=qa=1/0),qr.geo.stream(t,o(Xa)),[[$a,qa],[Ua,Ya]]},e.projection=function(t){return arguments.length?(o=(r=t)?t.stream||(n=t,e=je(function(t,e){return n([t*Do,e*Do])}),function(t){return $e(e(t))}):xt,i()):r;var n,e},e.context=function(t){return arguments.length?(a=null==(n=t)?new Ee:new Fe(t),"function"!=typeof l&&a.pointRadius(l),i()):n},e.pointRadius=function(t){return arguments.length?(l="function"==typeof t?t:(a.pointRadius(+t),+t),e):l},e.projection(qr.geo.albersUsa()).context(null)},qr.geo.transform=function(i){return{stream:function(t){var e,n=new He(t);for(e in i)n[e]=i[e];return n}}},He.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()}},qr.geo.projection=ze,qr.geo.projectionMutator=We,(qr.geo.equirectangular=function(){return ze(qe)}).raw=qe.invert=qe,qr.geo.rotation=function(e){function t(t){return(t=e(t[0]*To,t[1]*To))[0]*=Do,t[1]*=Do,t}return e=Ye(e[0]%360*To,e[1]*To,2<e.length?e[2]*To:0),t.invert=function(t){return(t=e.invert(t[0]*To,t[1]*To))[0]*=Do,t[1]*=Do,t},t},Ue.invert=qe,qr.geo.circle=function(){function e(){var t="function"==typeof o?o.apply(this,arguments):o,n=Ye(-t[0]*To,-t[1]*To,0).invert,i=[];return r(null,null,1,{point:function(t,e){i.push(t=n(t,e)),t[0]*=Do,t[1]*=Do}}),{type:"Polygon",coordinates:[i]}}var n,r,o=[0,0],i=6;return e.origin=function(t){return arguments.length?(o=t,e):o},e.angle=function(t){return arguments.length?(r=Ze((n=+t)*To,i*To),e):n},e.precision=function(t){return arguments.length?(r=Ze(n*To,(i=+t)*To),e):i},e.angle(90)},qr.geo.distance=function(t,e){var n=(e[0]-t[0])*To,i=t[1]*To,r=e[1]*To,o=Math.sin(n),t=Math.cos(n),e=Math.sin(i),n=Math.cos(i),i=Math.sin(r),r=Math.cos(r);return Math.atan2(Math.sqrt((o=r*o)*o+(o=n*i-e*r*t)*o),e*i+n*r*t)},qr.geo.graticule=function(){function e(){return{type:"MultiLineString",coordinates:t()}}function t(){return qr.range(Math.ceil(o/m)*m,r,m).map(d).concat(qr.range(Math.ceil(u/y)*y,l,y).map(f)).concat(qr.range(Math.ceil(i/p)*p,n,p).filter(function(t){return no(t%m)>wo}).map(c)).concat(qr.range(Math.ceil(s/g)*g,a,g).filter(function(t){return no(t%y)>wo}).map(h))}var n,i,r,o,a,s,l,u,c,h,d,f,p=10,g=p,m=90,y=360,v=2.5;return e.lines=function(){return t().map(function(t){return{type:"LineString",coordinates:t}})},e.outline=function(){return{type:"Polygon",coordinates:[d(o).concat(f(l).slice(1),d(r).reverse().slice(1),f(u).reverse().slice(1))]}},e.extent=function(t){return arguments.length?e.majorExtent(t).minorExtent(t):e.minorExtent()},e.majorExtent=function(t){return arguments.length?(o=+t[0][0],r=+t[1][0],u=+t[0][1],l=+t[1][1],r<o&&(t=o,o=r,r=t),l<u&&(t=u,u=l,l=t),e.precision(v)):[[o,u],[r,l]]},e.minorExtent=function(t){return arguments.length?(i=+t[0][0],n=+t[1][0],s=+t[0][1],a=+t[1][1],n<i&&(t=i,i=n,n=t),a<s&&(t=s,s=a,a=t),e.precision(v)):[[i,s],[n,a]]},e.step=function(t){return arguments.length?e.majorStep(t).minorStep(t):e.minorStep()},e.majorStep=function(t){return arguments.length?(m=+t[0],y=+t[1],e):[m,y]},e.minorStep=function(t){return arguments.length?(p=+t[0],g=+t[1],e):[p,g]},e.precision=function(t){return arguments.length?(v=+t,c=Je(s,a,90),h=Qe(i,n,v),d=Je(u,l,90),f=Qe(o,r,v),e):v},e.majorExtent([[-180,-90+wo],[180,90-wo]]).minorExtent([[-180,-80-wo],[180,80+wo]])},qr.geo.greatArc=function(){function e(){return{type:"LineString",coordinates:[n||r.apply(this,arguments),i||o.apply(this,arguments)]}}var n,i,r=tn,o=en;return e.distance=function(){return qr.geo.distance(n||r.apply(this,arguments),i||o.apply(this,arguments))},e.source=function(t){return arguments.length?(n="function"==typeof(r=t)?null:t,e):r},e.target=function(t){return arguments.length?(i="function"==typeof(o=t)?null:t,e):o},e.precision=function(){return arguments.length?e:0},e},qr.geo.interpolate=function(t,e){return n=t[0]*To,i=t[1]*To,r=e[0]*To,o=e[1]*To,t=Math.cos(i),a=Math.sin(i),e=Math.cos(o),s=Math.sin(o),l=t*Math.cos(n),u=t*Math.sin(n),c=e*Math.cos(r),h=e*Math.sin(r),d=2*Math.asin(Math.sqrt(J(o-i)+t*e*J(r-n))),f=1/Math.sin(d),(r=d?function(t){var e=Math.sin(t*=d)*f,n=Math.sin(d-t)*f,i=n*l+e*c,t=n*u+e*h,e=n*a+e*s;return[Math.atan2(t,i)*Do,Math.atan2(e,Math.sqrt(i*i+t*t))*Do]}:function(){return[n*Do,i*Do]}).distance=d,r;var n,i,r,o,a,s,l,u,c,h,d,f},qr.geo.length=function(t){return Za=0,qr.geo.stream(t,Ka),Za};var Za,Ka={sphere:y,point:y,lineStart:function(){function n(t,e){var n=Math.sin(e*=To),i=Math.cos(e),r=no((t*=To)-o),e=Math.cos(r);Za+=Math.atan2(Math.sqrt((r=i*Math.sin(r))*r+(r=s*n-a*i*e)*r),a*n+s*i*e),o=t,a=n,s=i}var o,a,s;Ka.point=function(t,e){o=t*To,a=Math.sin(e*=To),s=Math.cos(e),Ka.point=n},Ka.lineEnd=function(){Ka.point=Ka.lineEnd=y}},lineEnd:y,polygonStart:y,polygonEnd:y},Ja=nn(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});(qr.geo.azimuthalEqualArea=function(){return ze(Ja)}).raw=Ja;var Qa=nn(function(t){t=Math.acos(t);return t&&t/Math.sin(t)},xt);(qr.geo.azimuthalEquidistant=function(){return ze(Qa)}).raw=Qa,(qr.geo.conicConformal=function(){return De(rn)}).raw=rn,(qr.geo.conicEquidistant=function(){return De(on)}).raw=on;var ts=nn(function(t){return 1/t},Math.atan);(qr.geo.gnomonic=function(){return ze(ts)}).raw=ts,an.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-Mo]},(qr.geo.mercator=function(){return sn(an)}).raw=an;var es=nn(function(){return 1},Math.asin);(qr.geo.orthographic=function(){return ze(es)}).raw=es;var ns=nn(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});(qr.geo.stereographic=function(){return ze(ns)}).raw=ns,ln.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-Mo]},(qr.geo.transverseMercator=function(){var t=sn(ln),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return t?n([t[0],t[1],2<t.length?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90])}).raw=ln,qr.geom={},qr.geom.hull=function(t){function e(t){if(t.length<3)return[];for(var e=bt(d),n=bt(f),i=t.length,r=[],o=[],a=0;a<i;a++)r.push([+e.call(this,t[a],a),+n.call(this,t[a],a),a]);for(r.sort(dn),a=0;a<i;a++)o.push([r[a][0],-r[a][1]]);var s=hn(r),l=hn(o),u=l[0]===s[0],c=l[l.length-1]===s[s.length-1],h=[];for(a=s.length-1;0<=a;--a)h.push(t[r[s[a]][2]]);for(a=+u;a<l.length-c;++a)h.push(t[r[l[a]][2]]);return h}var d=un,f=cn;return arguments.length?e(t):(e.x=function(t){return arguments.length?(d=t,e):d},e.y=function(t){return arguments.length?(f=t,e):f},e)},qr.geom.polygon=function(t){return so(t,is),t};var is=qr.geom.polygon.prototype=[];is.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},is.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]},is.clip=function(t){for(var e,n,i,r,o,a,s=gn(t),l=-1,u=this.length-gn(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;)fn(a=e[n],c,r)?(fn(o,c,r)||t.push(pn(o,a,c,r)),t.push(a)):fn(o,c,r)&&t.push(pn(o,a,c,r)),o=a;s&&t.push(t[0]),c=r}return t};var rs,os,as,ss,ls,us=[],cs=[];wn.prototype.prepare=function(){for(var t,e=this.edges,n=e.length;n--;)(t=e[n].edge).b&&t.a||e.splice(n,1);return e.sort(_n),e.length},En.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}},On.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 n=this._?(t=Rn(this._),e.P=null,(e.N=t).P=t.L=e,t):(e.P=e.N=null,this._=e,null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(i=n.U).L?(r=i.R)&&r.C?(n.C=r.C=!1,i.C=!0,t=i):(t===n.R&&(In(this,n),n=(t=n).U),n.C=!1,i.C=!0,Nn(this,i)):(r=i.L)&&r.C?(n.C=r.C=!1,i.C=!0,t=i):(t===n.L&&(Nn(this,n),n=(t=n).U),n.C=!1,i.C=!0,In(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=t.U,r=t.L,o=t.R,a=r?o?Rn(o):r:o;if(i?i.L===t?i.L=a:i.R=a:this._=a,r&&o?(n=a.C,a.C=t.C,((a.L=r).U=a)!==o?(i=a.U,a.U=t.U,t=a.R,i.L=t,(a.R=o).U=a):(a.U=i,t=(i=a).R)):(n=t.C,t=a),t&&(t.U=i),!n)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,In(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Nn(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,In(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,Nn(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,In(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,Nn(this,i),t=this._;break}}while(e.C=!0,i=(t=i).U,!t.C);t&&(t.C=!1)}}},qr.geom.voronoi=function(t){function e(i){var r=new Array(i.length),o=u[0][0],a=u[0][1],s=u[1][0],l=u[1][1];return Fn(n(i),u).cells.forEach(function(t,e){var n=t.edges,t=t.site;(r[e]=n.length?n.map(function(t){t=t.start();return[t.x,t.y]}):t.x>=o&&t.x<=s&&t.y>=a&&t.y<=l?[[o,l],[s,l],[s,a],[o,a]]:[]).point=i[e]}),r}function n(t){return t.map(function(t,e){return{x:Math.round(o(t,e)/wo)*wo,y:Math.round(a(t,e)/wo)*wo,i:e}})}var i=un,r=cn,o=i,a=r,u=hs;return t?e(t):(e.links=function(e){return Fn(n(e)).edges.filter(function(t){return t.l&&t.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},e.triangles=function(u){var c=[];return Fn(n(u)).cells.forEach(function(t,e){for(var n,i=t.site,r=t.edges.sort(_n),o=-1,a=r.length,s=r[a-1].edge,l=s.l===i?s.r:s.l;++o<a;)n=l,l=(s=r[o].edge).l===i?s.r:s.l,e<n.i&&e<l.i&&(i.x-l.x)*(n.y-i.y)-(i.x-n.x)*(l.y-i.y)<0&&c.push([u[e],u[n.i],u[l.i]])}),c},e.x=function(t){return arguments.length?(o=bt(i=t),e):i},e.y=function(t){return arguments.length?(a=bt(r=t),e):r},e.clipExtent=function(t){return arguments.length?(u=null==t?hs:t,e):u===hs?null:u},e.size=function(t){return arguments.length?e.clipExtent(t&&[[0,0],t]):u===hs?null:u&&u[1]},e)};var hs=[[-1e6,-1e6],[1e6,1e6]];qr.geom.delaunay=function(t){return qr.geom.voronoi().triangles(t)},qr.geom.quadtree=function(t,v,b,x,S){function e(t){function f(t,e,n,i,r,o,a,s){var l,u,c;isNaN(n)||isNaN(i)||(t.leaf?(l=t.x,u=t.y,null!=l?(no(l-n)+no(u-i)<.01||(c=t.point,t.x=t.y=t.point=null,h(t,c,l,u,r,o,a,s)),h(t,e,n,i,r,o,a,s)):(t.x=n,t.y=i,t.point=e)):h(t,e,n,i,r,o,a,s))}function h(t,e,n,i,r,o,a,s){var l=.5*(r+a),u=.5*(o+s),c=l<=n,h=u<=i,d=h<<1|c;t.leaf=!1,c?r=l:a=l,h?o=u:s=u,f(t=t.nodes[d]||(t.nodes[d]=zn()),e,n,i,r,o,a,s)}var e,n,i,r,o,a,s,l,u,c=bt(C),d=bt(k);if(null!=v)a=v,s=b,l=x,u=S;else if(l=u=-(a=s=1/0),n=[],i=[],o=t.length,_)for(r=0;r<o;++r)(e=t[r]).x<a&&(a=e.x),e.y<s&&(s=e.y),e.x>l&&(l=e.x),e.y>u&&(u=e.y),n.push(e.x),i.push(e.y);else for(r=0;r<o;++r){var p=+c(e=t[r],r),g=+d(e,r);p<a&&(a=p),g<s&&(s=g),l<p&&(l=p),u<g&&(u=g),n.push(p),i.push(g)}var m=l-a,y=u-s;y<m?u=s+m:l=a+y;var w=zn();if(w.add=function(t){f(w,t,+c(t,++r),+d(t,r),a,s,l,u)},w.visit=function(t){!function t(e,n,i,r,o,a){var s,l;e(n,i,r,o,a)||(s=.5*(i+o),l=.5*(r+a),(n=n.nodes)[0]&&t(e,n[0],i,r,s,l),n[1]&&t(e,n[1],s,r,o,l),n[2]&&t(e,n[2],i,l,s,a),n[3]&&t(e,n[3],s,l,o,a))}(t,w,a,s,l,u)},w.find=function(t){return f=t[0],p=t[1],x=1/0,function t(e,n,i,r,o){if(!(y<n||v<i||r<g||o<m)){var a,s;!(a=e.point)||(s=(s=f-a[0])*s+(s=p-a[1])*s)<x&&(s=Math.sqrt(x=s),g=f-s,m=p-s,y=f+s,v=p+s,b=a);for(var l=e.nodes,u=.5*(n+r),c=.5*(i+o),h=(c<=p)<<1|u<=f,d=h+4;h<d;++h)if(e=l[3&h])switch(3&h){case 0:t(e,n,i,u,c);break;case 1:t(e,u,i,r,c);break;case 2:t(e,n,c,u,o);break;case 3:t(e,u,c,r,o)}}}(w,g=a,m=s,y=l,v=u),b;var f,p,g,m,y,v,b,x},r=-1,null==v){for(;++r<o;)f(w,t[r],n[r],i[r],a,s,l,u);--r}else t.forEach(w.add);return n=i=t=e=null,w}var _,C=un,k=cn;return(_=arguments.length)?(C=Hn,k=Bn,3===_&&(S=b,x=v,b=v=0),e(t)):(e.x=function(t){return arguments.length?(C=t,e):C},e.y=function(t){return arguments.length?(k=t,e):k},e.extent=function(t){return arguments.length?(null==t?v=b=x=S=null:(v=+t[0][0],b=+t[0][1],x=+t[1][0],S=+t[1][1]),e):null==v?null:[[v,b],[x,S]]},e.size=function(t){return arguments.length?(null==t?v=b=x=S=null:(v=b=0,x=+t[0],S=+t[1]),e):null==v?null:[x-v,S-b]},e)},qr.interpolateRgb=Wn,qr.interpolateObject=$n,qr.interpolateNumber=qn,qr.interpolateString=Un;var ds=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,fs=new RegExp(ds.source,"g");qr.interpolate=Yn,qr.interpolators=[function(t,e){var n=typeof e;return("string"==n?Fo.has(e)||/^(#|rgb\(|hsl\()/.test(e)?Wn:Un:e instanceof Q?Wn:Array.isArray(e)?Gn:"object"==n&&isNaN(e)?$n:qn)(t,e)}],qr.interpolateArray=Gn;function ps(){return xt}var gs=qr.map({linear:ps,poly:function(e){return function(t){return Math.pow(t,e)}},quad:function(){return Zn},cubic:function(){return Kn},sin:function(){return Qn},exp:function(){return ti},circle:function(){return ei},elastic:function(e,n){var i;return arguments.length<2&&(n=.45),i=arguments.length?n/Co*Math.asin(1/e):(e=1,n/4),function(t){return 1+e*Math.pow(2,-10*t)*Math.sin((t-i)*Co/n)}},back:function(e){return e=e||1.70158,function(t){return t*t*((e+1)*t-e)}},bounce:function(){return ni}}),ms=qr.map({in:xt,out:Xn,"in-out":Vn,"out-in":function(t){return Vn(Xn(t))}});qr.ease=function(t){var e,n=t.indexOf("-"),i=0<=n?t.slice(0,n):t,n=0<=n?t.slice(n+1):"in",i=gs.get(i)||ps,n=ms.get(n)||xt;return e=n(i.apply(null,Ur.call(arguments,1))),function(t){return t<=0?0:1<=t?1:e(t)}},qr.interpolateHcl=function(t,e){t=qr.hcl(t),e=qr.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):180<o?o-=360:o<-180&&(o+=360),function(t){return it(n+o*t,i+a*t,r+s*t)+""}},qr.interpolateHsl=function(t,e){t=qr.hsl(t),e=qr.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):180<o?o-=360:o<-180&&(o+=360),function(t){return et(n+o*t,i+a*t,r+s*t)+""}},qr.interpolateLab=function(t,e){t=qr.lab(t),e=qr.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 ot(n+o*t,i+a*t,r+s*t)+""}},qr.interpolateRound=ii,qr.transform=function(t){var n=Gr.createElementNS(qr.ns.prefix.svg,"g");return(qr.transform=function(t){var e;return null!=t&&(n.setAttribute("transform",t),e=n.transform.baseVal.consolidate()),new ri(e?e.matrix:ys)})(t)},ri.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var ys={a:1,b:0,c:0,d:1,e:0,f:0};qr.interpolateTransform=si,qr.layout={},qr.layout.bundle=function(){return function(t){for(var e=[],n=-1,i=t.length;++n<i;)e.push(ci(t[n]));return e}},qr.layout.chord=function(){function t(){var t,e,n,i,r,o={},a=[],s=qr.range(x),l=[];for(y=[],v=[],t=0,i=-1;++i<x;){for(e=0,r=-1;++r<x;)e+=b[i][r];a.push(e),l.push(qr.range(x)),t+=e}for(w&&s.sort(function(t,e){return w(a[t],a[e])}),S&&l.forEach(function(t,n){t.sort(function(t,e){return S(b[n][t],b[n][e])})}),t=(Co-C*x)/t,e=0,i=-1;++i<x;){for(n=e,r=-1;++r<x;){var u=s[i],c=l[u][r],h=b[u][c],d=e,f=e+=h*t;o[u+"-"+c]={index:u,subindex:c,startAngle:d,endAngle:f,value:h}}v[u]={index:u,startAngle:n,endAngle:e,value:(e-n)/t},e+=C}for(i=-1;++i<x;)for(r=i-1;++r<x;){var p=o[i+"-"+r],g=o[r+"-"+i];(p.value||g.value)&&y.push(p.value<g.value?{source:g,target:p}:{source:p,target:g})}_&&m()}function m(){y.sort(function(t,e){return _((t.source.value+t.target.value)/2,(e.source.value+e.target.value)/2)})}var y,v,b,x,w,S,_,e={},C=0;return e.matrix=function(t){return arguments.length?(x=(b=t)&&b.length,y=v=null,e):b},e.padding=function(t){return arguments.length?(C=t,y=v=null,e):C},e.sortGroups=function(t){return arguments.length?(w=t,y=v=null,e):w},e.sortSubgroups=function(t){return arguments.length?(S=t,y=null,e):S},e.sortChords=function(t){return arguments.length?(_=t,y&&m(),e):_},e.chords=function(){return y||t(),y},e.groups=function(){return v||t(),v},e},qr.layout.force=function(){function t(t){t.px=qr.event.x,t.py=qr.event.y,o.resume()}var e,h,d,f,p,o={},g=qr.dispatch("start","tick","end"),m=[1,1],y=.9,a=vs,c=bs,v=-30,b=xs,x=.1,w=.64,S=[],_=[];return o.tick=function(){if((h*=.99)<.005)return g.end({type:"end",alpha:h=0}),!0;for(var t,e,n,i,r,o,a,s,l=S.length,u=_.length,c=0;c<u;++c)n=(e=_[c]).source,(r=(a=(i=e.target).x-n.x)*a+(s=i.y-n.y)*s)&&(s*=r=h*f[c]*((r=Math.sqrt(r))-d[c])/r,i.x-=(a*=r)*(o=n.weight/(i.weight+n.weight)),i.y-=s*o,n.x+=a*(o=1-o),n.y+=s*o);if((o=h*x)&&(a=m[0]/2,s=m[1]/2,c=-1,o))for(;++c<l;)(e=S[c]).x+=(a-e.x)*o,e.y+=(s-e.y)*o;if(v)for(function t(e,n,i){var r,o=0,a=0;if(e.charge=0,!e.leaf)for(var s,l=e.nodes,u=l.length,c=-1;++c<u;)null!=(s=l[c])&&(t(s,n,i),e.charge+=s.charge,o+=s.charge*s.cx,a+=s.charge*s.cy);e.point&&(e.leaf||(e.point.x+=Math.random()-.5,e.point.y+=Math.random()-.5),r=n*i[e.point.index],e.charge+=e.pointCharge=r,o+=r*e.point.x,a+=r*e.point.y),e.cx=o/e.charge,e.cy=a/e.charge}(t=qr.geom.quadtree(S),h,p),c=-1;++c<l;)(e=S[c]).fixed||t.visit(function(s){return function(t,e,n,i){if(t.point!==s){var r,o=t.cx-s.x,a=t.cy-s.y,i=i-e,e=o*o+a*a;if(i*i/w<e)return e<b&&(r=t.charge/e,s.px-=o*r,s.py-=a*r),!0;t.point&&e&&e<b&&(r=t.pointCharge/e,s.px-=o*r,s.py-=a*r)}return!t.charge}}(e));for(c=-1;++c<l;)(e=S[c]).fixed?(e.x=e.px,e.y=e.py):(e.x-=(e.px-(e.px=e.x))*y,e.y-=(e.py-(e.py=e.y))*y);g.tick({type:"tick",alpha:h})},o.nodes=function(t){return arguments.length?(S=t,o):S},o.links=function(t){return arguments.length?(_=t,o):_},o.size=function(t){return arguments.length?(m=t,o):m},o.linkDistance=function(t){return arguments.length?(a="function"==typeof t?t:+t,o):a},o.distance=o.linkDistance,o.linkStrength=function(t){return arguments.length?(c="function"==typeof t?t:+t,o):c},o.friction=function(t){return arguments.length?(y=+t,o):y},o.charge=function(t){return arguments.length?(v="function"==typeof t?t:+t,o):v},o.chargeDistance=function(t){return arguments.length?(b=t*t,o):Math.sqrt(b)},o.gravity=function(t){return arguments.length?(x=+t,o):x},o.theta=function(t){return arguments.length?(w=t*t,o):Math.sqrt(w)},o.alpha=function(t){return arguments.length?(t=+t,h?h=0<t?t:0:0<t&&(g.start({type:"start",alpha:h=t}),qr.timer(o.tick)),o):h},o.start=function(){function t(t,e){if(!s){for(s=new Array(l),o=0;o<l;++o)s[o]=[];for(o=0;o<a;++o){var n=_[o];s[n.source.index].push(n.target),s[n.target.index].push(n.source)}}for(var i,r=s[u],o=-1,a=r.length;++o<a;)if(!isNaN(i=r[o][t]))return i;return Math.random()*e}for(var s,e,l=S.length,n=_.length,i=m[0],r=m[1],u=0;u<l;++u)(e=S[u]).index=u,e.weight=0;for(u=0;u<n;++u)"number"==typeof(e=_[u]).source&&(e.source=S[e.source]),"number"==typeof e.target&&(e.target=S[e.target]),++e.source.weight,++e.target.weight;for(u=0;u<l;++u)e=S[u],isNaN(e.x)&&(e.x=t("x",i)),isNaN(e.y)&&(e.y=t("y",r)),isNaN(e.px)&&(e.px=e.x),isNaN(e.py)&&(e.py=e.y);if(d=[],"function"==typeof a)for(u=0;u<n;++u)d[u]=+a.call(this,_[u],u);else for(u=0;u<n;++u)d[u]=a;if(f=[],"function"==typeof c)for(u=0;u<n;++u)f[u]=+c.call(this,_[u],u);else for(u=0;u<n;++u)f[u]=c;if(p=[],"function"==typeof v)for(u=0;u<l;++u)p[u]=+v.call(this,S[u],u);else for(u=0;u<l;++u)p[u]=v;return o.resume()},o.resume=function(){return o.alpha(.1)},o.stop=function(){return o.alpha(0)},o.drag=function(){return e=e||qr.behavior.drag().origin(xt).on("dragstart.force",di).on("drag.force",t).on("dragend.force",fi),arguments.length?void this.on("mouseover.force",pi).on("mouseout.force",gi).call(e):e},qr.rebind(o,g,"on")};var vs=20,bs=1,xs=1/0;qr.layout.hierarchy=function(){function s(t){var e,n,i,r,o=[t],a=[];for(t.depth=0;null!=(e=o.pop());)if(a.push(e),(i=u.call(s,e,e.depth))&&(n=i.length)){for(;0<=--n;)o.push(r=i[n]),r.parent=e,r.depth=e.depth+1;c&&(e.value=0),e.children=i}else c&&(e.value=+c.call(s,e,e.depth)||0),delete e.children;return vi(t,function(t){var e,n;l&&(e=t.children)&&e.sort(l),c&&(n=t.parent)&&(n.value+=t.value)}),a}var l=wi,u=bi,c=xi;return s.sort=function(t){return arguments.length?(l=t,s):l},s.children=function(t){return arguments.length?(u=t,s):u},s.value=function(t){return arguments.length?(c=t,s):c},s.revalue=function(t){return c&&(yi(t,function(t){t.children&&(t.value=0)}),vi(t,function(t){var e;t.children||(t.value=+c.call(s,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},s},qr.layout.partition=function(){function e(t,e){e=n.call(this,t,e);return 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=-1;for(i=e.value?i/e.value:0;++l<a;)t(s=o[l],n,s=s.value*i,r),n+=s}}(e[0],0,i[0],i[1]/function t(e){var n=e.children,i=0;if(n&&(r=n.length))for(var r,o=-1;++o<r;)i=Math.max(i,t(n[o]));return 1+i}(e[0])),e}var n=qr.layout.hierarchy(),i=[1,1];return e.size=function(t){return arguments.length?(i=t,e):i},mi(e,n)},qr.layout.pie=function(){function c(n){var e,t=n.length,i=n.map(function(t,e){return+h.call(c,t,e)}),r=+("function"==typeof f?f.apply(this,arguments):f),o=("function"==typeof p?p.apply(this,arguments):p)-r,a=Math.min(Math.abs(o)/t,+("function"==typeof g?g.apply(this,arguments):g)),s=a*(o<0?-1:1),l=(o-t*s)/qr.sum(i),t=qr.range(t),u=[];return null!=d&&t.sort(d===ws?function(t,e){return i[e]-i[t]}:function(t,e){return d(n[t],n[e])}),t.forEach(function(t){u[t]={data:n[t],value:e=i[t],startAngle:r,endAngle:r+=e*l+s,padAngle:a}}),u}var h=Number,d=ws,f=0,p=Co,g=0;return c.value=function(t){return arguments.length?(h=t,c):h},c.sort=function(t){return arguments.length?(d=t,c):d},c.startAngle=function(t){return arguments.length?(f=t,c):f},c.endAngle=function(t){return arguments.length?(p=t,c):p},c.padAngle=function(t){return arguments.length?(g=t,c):g},c};var ws={};qr.layout.stack=function(){function h(t,e){if(!(n=t.length))return t;for(var n,i,r,o=(s=t.map(function(t,e){return d.call(h,t,e)})).map(function(t){return t.map(function(t,e){return[m.call(h,t,e),y.call(h,t,e)]})}),a=f.call(h,o,e),s=qr.permute(s,a),o=qr.permute(o,a),l=p.call(h,o,e),u=s[0].length,c=0;c<u;++c)for(g.call(h,s[0][c],r=l[c],o[0][c][1]),i=1;i<n;++i)g.call(h,s[i][c],r+=o[i-1][c][1],o[i][c][1]);return t}var d=xt,f=Mi,p=Ti,g=ki,m=_i,y=Ci;return h.values=function(t){return arguments.length?(d=t,h):d},h.order=function(t){return arguments.length?(f="function"==typeof t?t:Ss.get(t)||Mi,h):f},h.offset=function(t){return arguments.length?(p="function"==typeof t?t:_s.get(t)||Ti,h):p},h.x=function(t){return arguments.length?(m=t,h):m},h.y=function(t){return arguments.length?(y=t,h):y},h.out=function(t){return arguments.length?(g=t,h):g},h};var Ss=qr.map({"inside-out":function(t){for(var e,n=t.length,i=t.map(Di),r=t.map(Ai),o=qr.range(n).sort(function(t,e){return i[t]-i[e]}),a=0,s=0,l=[],u=[],c=0;c<n;++c)e=o[c],a<s?(a+=r[e],l.push(e)):(s+=r[e],u.push(e));return u.reverse().concat(l)},reverse:function(t){return qr.range(t.length).reverse()},default:Mi}),_s=qr.map({silhouette:function(t){for(var e,n,i=t.length,r=t[0].length,o=[],a=0,s=[],l=0;l<r;++l){for(n=e=0;e<i;e++)n+=t[e][l][1];a<n&&(a=n),o.push(n)}for(l=0;l<r;++l)s[l]=(a-o[l])/2;return s},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;n<d;++n){for(r=e=0;e<c;++e)r+=t[e][n][1];for(s=h[n][o=e=0]-h[n-1][0];e<c;++e){for(i=0,a=(t[e][n][1]-t[e][n-1][1])/(2*s);i<e;++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,l<u&&(u=l)}for(n=0;n<d;++n)f[n]-=u;return f},expand:function(t){for(var e,n,i=t.length,r=t[0].length,o=1/i,a=[],s=0;s<r;++s){for(n=e=0;e<i;e++)n+=t[e][s][1];if(n)for(e=0;e<i;e++)t[e][s][1]/=n;else for(e=0;e<i;e++)t[e][s][1]=o}for(s=0;s<r;++s)a[s]=0;return a},zero:Ti});qr.layout.histogram=function(){function n(t,e){for(var n,i,r=[],o=t.map(d,this),a=f.call(this,o,e),s=p.call(this,a,o,e),e=-1,l=o.length,u=s.length-1,c=h?1:1/l;++e<u;)(n=r[e]=[]).dx=s[e+1]-(n.x=s[e]),n.y=0;if(0<u)for(e=-1;++e<l;)(i=o[e])>=a[0]&&i<=a[1]&&((n=r[qr.bisect(s,i,1,u)-1]).y+=c,n.push(t[e]));return r}var h=!0,d=Number,f=Li,p=Ei;return n.value=function(t){return arguments.length?(d=t,n):d},n.range=function(t){return arguments.length?(f=bt(t),n):f},n.bins=function(e){return arguments.length?(p="number"==typeof e?function(t){return Oi(t,e)}:bt(e),n):p},n.frequency=function(t){return arguments.length?(h=!!t,n):h},n},qr.layout.pack=function(){function e(t,e){var n,i=s.call(this,t,e),r=i[0],t=u[0],e=u[1],o=null==a?Math.sqrt:"function"==typeof a?a:function(){return a};return r.x=r.y=0,vi(r,function(t){t.r=+o(t.value)}),vi(r,ji),l&&(n=l*(a?1:Math.max(2*r.r/t,2*r.r/e))/2,vi(r,function(t){t.r+=n}),vi(r,ji),vi(r,function(t){t.r-=n})),function t(e,n,i,r){var o=e.children;if(e.x=n+=r*e.x,e.y=i+=r*e.y,e.r*=r,o)for(var a=-1,s=o.length;++a<s;)t(o[a],n,i,r)}(r,t/2,e/2,a?1:1/Math.max(2*r.r/t,2*r.r/e)),i}var a,s=qr.layout.hierarchy().sort(Ii),l=0,u=[1,1];return e.size=function(t){return arguments.length?(u=t,e):u},e.radius=function(t){return arguments.length?(a=null==t||"function"==typeof t?t:+t,e):a},e.padding=function(t){return arguments.length?(l=+t,e):l},mi(e,s)},qr.layout.tree=function(){function e(t,e){var n,i,r,o,a,s,l=d.call(this,t,e),t=l[0],e=function(t){for(var e,t={A:null,children:[t]},n=[t];null!=(e=n.pop());)for(var i,r=e.children,o=0,a=r.length;o<a;++o)n.push((r[o]=i={_:r[o],parent:e,children:(i=r[o].children)&&i.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=i);return t.children[0]}(t);return vi(e,u),e.parent.m=-e.z,yi(e,c),g?yi(t,h):(yi(r=i=n=t,function(t){t.x<n.x&&(n=t),t.x>i.x&&(i=t),t.depth>r.depth&&(r=t)}),o=f(n,i)/2-n.x,a=p[0]/(i.x+f(i,n)/2+o),s=p[1]/(r.depth||1),yi(t,function(t){t.x=(t.x+o)*a,t.y=t.depth*s})),l}function u(t){var e=t.children,n=t.parent.children,i=t.i?n[t.i-1]:null;e.length?(function(t){for(var e,n=0,i=0,r=t.children,o=r.length;0<=--o;)(e=r[o]).z+=n,e.m+=n,n+=e.s+(i+=e.c)}(t),e=(e[0].z+e[e.length-1].z)/2,i?(t.z=i.z+f(t._,i._),t.m=t.z-e):t.z=e):i&&(t.z=i.z+f(t._,i._)),t.parent.A=function(t,e,n){if(e){for(var i,r=t,o=t,a=e,s=r.parent.children[0],l=r.m,u=o.m,c=a.m,h=s.m;a=qi(a),r=$i(r),a&&r;)s=$i(s),(o=qi(o)).a=t,0<(i=a.z+c-r.z-l+f(a._,r._))&&(function(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(t,e,n){return t.a.parent===e.parent?t.a:n}(a,t,n),t,i),l+=i,u+=i),c+=a.m,l+=r.m,h+=s.m,u+=o.m;a&&!qi(o)&&(o.t=a,o.m+=c-u),r&&!$i(s)&&(s.t=r,s.m+=l-h,n=t)}return n}(t,i,t.parent.A||n[0])}function c(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function h(t){t.x*=p[0],t.y=t.depth*p[1]}var d=qr.layout.hierarchy().sort(null).value(null),f=Wi,p=[1,1],g=null;return e.separation=function(t){return arguments.length?(f=t,e):f},e.size=function(t){return arguments.length?(g=null==(p=t)?h:null,e):g?null:p},e.nodeSize=function(t){return arguments.length?(g=null==(p=t)?null:h,e):g?p:null},mi(e,d)},qr.layout.cluster=function(){function e(t,e){var i,n=l.call(this,t,e),r=n[0],o=0;vi(r,function(t){var e,n=t.children;n&&n.length?(t.x=(e=n).reduce(function(t,e){return t+e.x},0)/e.length,t.y=1+qr.max(n,function(t){return t.y})):(t.x=i?o+=u(t,i):0,t.y=0,i=t)});var t=function t(e){var n=e.children;return n&&n.length?t(n[0]):e}(r),e=function t(e){var n,i=e.children;return i&&(n=i.length)?t(i[n-1]):e}(r),a=t.x-u(t,e)/2,s=e.x+u(e,t)/2;return vi(r,h?function(t){t.x=(t.x-r.x)*c[0],t.y=(r.y-t.y)*c[1]}:function(t){t.x=(t.x-a)/(s-a)*c[0],t.y=(1-(r.y?t.y/r.y:1))*c[1]}),n}var l=qr.layout.hierarchy().sort(null).value(null),u=Wi,c=[1,1],h=!1;return e.separation=function(t){return arguments.length?(u=t,e):u},e.size=function(t){return arguments.length?(h=null==(c=t),e):h?null:c},e.nodeSize=function(t){return arguments.length?(h=null!=(c=t),e):h?c:null},mi(e,l)},qr.layout.treemap=function(){function u(t,e){for(var n,i,r=-1,o=t.length;++r<o;)i=(n=t[r]).value*(e<0?0:e),n.area=isNaN(i)||i<=0?0:i}function c(t){var e=t.children;if(e&&e.length){var n,i,r=f(t),o=[],a=e.slice(),s=1/0,l="slice"===p?r.dx:"dice"===p?r.dy:"slice-dice"===p?1&t.depth?r.dy:r.dx:Math.min(r.dx,r.dy);for(u(a,r.dx*r.dy/t.value),o.area=0;0<(i=a.length);)o.push(i=a[i-1]),o.area+=i.area,s="squarify"!==p||(n=function(t,e){for(var n,i=t.area,r=0,o=1/0,a=-1,s=t.length;++a<s;)(n=t[a].area)&&(n<o&&(o=n),r<n&&(r=n));return e*=e,(i*=i)?Math.max(e*r*g/i,i/(e*o*g)):1/0}(o,l))<=s?(a.pop(),n):(o.area-=o.pop().area,h(o,l,r,!1),l=Math.min(r.dx,r.dy),1/(o.length=o.area=0));o.length&&(h(o,l,r,!0),o.length=o.area=0),e.forEach(c)}}function a(t){var e=t.children;if(e&&e.length){var n,i=f(t),r=e.slice(),o=[];for(u(r,i.dx*i.dy/t.value),o.area=0;n=r.pop();)o.push(n),o.area+=n.area,null!=n.z&&(h(o,n.z?i.dx:i.dy,i,!r.length),o.length=o.area=0);e.forEach(a)}}function h(t,e,n,i){var r,o=-1,a=t.length,s=n.x,l=n.y,u=e?d(t.area/e):0;if(e==n.dx){for((i||u>n.dy)&&(u=n.dy);++o<a;)(r=t[o]).x=s,r.y=l,r.dy=u,s+=r.dx=Math.min(n.x+n.dx-s,u?d(r.area/u):0);r.z=!0,r.dx+=n.x+n.dx-s,n.y+=u,n.dy-=u}else{for((i||u>n.dx)&&(u=n.dx);++o<a;)(r=t[o]).x=s,r.y=l,r.dx=u,l+=r.dy=Math.min(n.y+n.dy-l,u?d(r.area/u):0);r.z=!1,r.dy+=n.y+n.dy-l,n.x+=u,n.dx-=u}}function i(t){var e=n||r(t),t=e[0];return t.x=0,t.y=0,t.dx=o[0],t.dy=o[1],n&&r.revalue(t),u([t],t.dx*t.dy/t.value),(n?a:c)(t),l&&(n=e),e}var n,r=qr.layout.hierarchy(),d=Math.round,o=[1,1],s=null,f=Ui,l=!1,p="squarify",g=.5*(1+Math.sqrt(5));return i.size=function(t){return arguments.length?(o=t,i):o},i.padding=function(n){function t(t){return Yi(t,n)}return arguments.length?(f=null==(s=n)?Ui:"function"==(e=typeof n)?function(t){var e=n.call(i,t,t.depth);return null==e?Ui(t):Yi(t,"number"==typeof e?[e,e,e,e]:e)}:("number"==e&&(n=[n,n,n,n]),t),i):s;var e},i.round=function(t){return arguments.length?(d=t?Math.round:Number,i):d!=Number},i.sticky=function(t){return arguments.length?(l=t,n=null,i):l},i.ratio=function(t){return arguments.length?(g=t,i):g},i.mode=function(t){return arguments.length?(p=t+"",i):p},mi(i,r)},qr.random={normal:function(i,r){var t=arguments.length;return t<2&&(r=1),t<1&&(i=0),function(){for(var t,e,n;!(n=(t=2*Math.random()-1)*t+(e=2*Math.random()-1)*e)||1<n;);return i+r*t*Math.sqrt(-2*Math.log(n)/n)}},logNormal:function(){var t=qr.random.normal.apply(qr,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=qr.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(n){return function(){for(var t=0,e=0;e<n;e++)t+=Math.random();return t}}},qr.scale={};var Cs={floor:xt,ceil:xt};qr.scale.linear=function(){return function t(n,i,r,o){function e(){var t=2<Math.min(n.length,i.length)?Ki:Vi,e=o?ui:li;return s=t(n,i,e,r),l=t(i,n,e,Yn),a}function a(t){return s(t)}var s,l;return a.invert=function(t){return l(t)},a.domain=function(t){return arguments.length?(n=t.map(Number),e()):n},a.range=function(t){return arguments.length?(i=t,e()):i},a.rangeRound=function(t){return a.range(t).interpolate(ii)},a.clamp=function(t){return arguments.length?(o=t,e()):o},a.interpolate=function(t){return arguments.length?(r=t,e()):r},a.ticks=function(t){return er(n,t)},a.tickFormat=function(t,e){return nr(n,t,e)},a.nice=function(t){return Qi(n,t),e()},a.copy=function(){return t(n,i,r,o)},e()}([0,1],[0,1],Yn,!1)};var ks={s:1,g:1,p:1,r:1,e:1};qr.scale.log=function(){return function t(e,l,u,c){function h(t){return(u?Math.log(t<0?0:t):-Math.log(0<t?0:-t))/Math.log(l)}function d(t){return u?Math.pow(l,t):-Math.pow(l,-t)}function o(t){return e(h(t))}return o.invert=function(t){return d(e.invert(t))},o.domain=function(t){return arguments.length?(u=0<=t[0],e.domain((c=t.map(Number)).map(h)),o):c},o.base=function(t){return arguments.length?(l=+t,e.domain(c.map(h)),o):l},o.nice=function(){var t=Zi(c.map(h),u?Math:Ts);return e.domain(t),c=t.map(d),o},o.ticks=function(){var t=Gi(c),e=[],n=t[0],i=t[1],r=Math.floor(h(n)),o=Math.ceil(h(i)),a=l%1?2:l;if(isFinite(o-r)){if(u){for(;r<o;r++)for(var s=1;s<a;s++)e.push(d(r)*s);e.push(d(r))}else for(e.push(d(r));r++<o;)for(s=a-1;0<s;s--)e.push(d(r)*s);for(r=0;e[r]<n;r++);for(o=e.length;e[o-1]>i;o--);e=e.slice(r,o)}return e},o.tickFormat=function(t,e){if(!arguments.length)return Ms;arguments.length<2?e=Ms:"function"!=typeof e&&(e=qr.format(e));var n,i=Math.max(.1,t/o.ticks().length),r=u?(n=1e-12,Math.ceil):(n=-1e-12,Math.floor);return function(t){return t/d(r(h(t)+n))<=i?e(t):""}},o.copy=function(){return t(e.copy(),l,u,c)},Ji(o,e)}(qr.scale.linear().domain([0,1]),10,!0,[1,10])};var Ms=qr.format(".0e"),Ts={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};qr.scale.pow=function(){return function t(e,n,i){function r(t){return e(o(t))}var o=rr(n),a=rr(1/n);return r.invert=function(t){return a(e.invert(t))},r.domain=function(t){return arguments.length?(e.domain((i=t.map(Number)).map(o)),r):i},r.ticks=function(t){return er(i,t)},r.tickFormat=function(t,e){return nr(i,t,e)},r.nice=function(t){return r.domain(Qi(i,t))},r.exponent=function(t){return arguments.length?(o=rr(n=t),a=rr(1/n),e.domain(i.map(o)),r):n},r.copy=function(){return t(e.copy(),n,i)},Ji(r,e)}(qr.scale.linear(),1,[0,1])},qr.scale.sqrt=function(){return qr.scale.pow().exponent(.5)},qr.scale.ordinal=function(){return function t(s,l){function u(t){return h[((r.get(t)||("range"===l.t?r.set(t,s.push(t)):NaN))-1)%h.length]}function c(e,n){return qr.range(s.length).map(function(t){return e+n*t})}var r,h,d;return u.domain=function(t){if(!arguments.length)return s;s=[],r=new v;for(var e,n=-1,i=t.length;++n<i;)r.has(e=t[n])||r.set(e,s.push(e));return u[l.t].apply(u,l.a)},u.range=function(t){return arguments.length?(h=t,d=0,l={t:"range",a:arguments},u):h},u.rangePoints=function(t,e){arguments.length<2&&(e=0);var n=t[0],i=t[1],i=s.length<2?(n=(n+i)/2,0):(i-n)/(s.length-1+e);return h=c(n+i*e/2,i),d=0,l={t:"rangePoints",a:arguments},u},u.rangeRoundPoints=function(t,e){arguments.length<2&&(e=0);var n=t[0],i=t[1],r=s.length<2?(n=i=Math.round((n+i)/2),0):0|(i-n)/(s.length-1+e);return h=c(n+Math.round(r*e/2+(i-n-(s.length-1+e)*r)/2),r),d=0,l={t:"rangeRoundPoints",a:arguments},u},u.rangeBands=function(t,e,n){var i=t[1]<t[0],r=t[+i],o=(t[1-i]-r)/(s.length-(e=arguments.length<2?0:e)+2*(n=arguments.length<3?e:n));return h=c(r+o*n,o),i&&h.reverse(),d=o*(1-e),l={t:"rangeBands",a:arguments},u},u.rangeRoundBands=function(t,e,n){arguments.length<2&&(e=0),arguments.length<3&&(n=e);var i=t[1]<t[0],r=t[+i],o=t[1-i],a=Math.floor((o-r)/(s.length-e+2*n));return h=c(r+Math.round((o-r-(s.length-e)*a)/2),a),i&&h.reverse(),d=Math.round(a*(1-e)),l={t:"rangeRoundBands",a:arguments},u},u.rangeBand=function(){return d},u.rangeExtent=function(){return Gi(l.a[0])},u.copy=function(){return t(s,l)},u.domain(s)}([],{t:"range",a:[[]]})},qr.scale.category10=function(){return qr.scale.ordinal().range(Ds)},qr.scale.category20=function(){return qr.scale.ordinal().range(As)},qr.scale.category20b=function(){return qr.scale.ordinal().range(Ps)},qr.scale.category20c=function(){return qr.scale.ordinal().range(Es)};var Ds=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(dt),As=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(dt),Ps=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(dt),Es=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(dt);qr.scale.quantile=function(){return function t(n,i){function e(){var t=0,e=i.length;for(o=[];++t<e;)o[t-1]=qr.quantile(n,t/e);return r}function r(t){return isNaN(t=+t)?void 0:i[qr.bisect(o,t)]}var o;return r.domain=function(t){return arguments.length?(n=t.map(u).filter(c).sort(a),e()):n},r.range=function(t){return arguments.length?(i=t,e()):i},r.quantiles=function(){return o},r.invertExtent=function(t){return(t=i.indexOf(t))<0?[NaN,NaN]:[0<t?o[t-1]:n[0],t<o.length?o[t]:n[n.length-1]]},r.copy=function(){return t(n,i)},e()}([],[])},qr.scale.quantize=function(){return function t(e,n,i){function r(t){return i[Math.max(0,Math.min(s,Math.floor(a*(t-e))))]}function o(){return a=i.length/(n-e),s=i.length-1,r}var a,s;return r.domain=function(t){return arguments.length?(e=+t[0],n=+t[t.length-1],o()):[e,n]},r.range=function(t){return arguments.length?(i=t,o()):i},r.invertExtent=function(t){return[t=(t=i.indexOf(t))<0?NaN:t/a+e,t+1/a]},r.copy=function(){return t(e,n,i)},o()}(0,1,[0,1])},qr.scale.threshold=function(){return function t(e,n){function i(t){return t<=t?n[qr.bisect(e,t)]:void 0}return i.domain=function(t){return arguments.length?(e=t,i):e},i.range=function(t){return arguments.length?(n=t,i):n},i.invertExtent=function(t){return t=n.indexOf(t),[e[t-1],e[t]]},i.copy=function(){return t(e,n)},i}([.5],[0,1])},qr.scale.identity=function(){return function t(n){function e(t){return+t}return(e.invert=e).domain=e.range=function(t){return arguments.length?(n=t.map(e),e):n},e.ticks=function(t){return er(n,t)},e.tickFormat=function(t,e){return nr(n,t,e)},e.copy=function(){return t(n)},e}([0,1])},qr.svg={},qr.svg.arc=function(){function e(){var t=Math.max(0,+k.apply(this,arguments)),e=Math.max(0,+M.apply(this,arguments)),n=A.apply(this,arguments)-Mo,i=P.apply(this,arguments)-Mo,r=Math.abs(i-n),o=i<n?0:1;if(e<t&&(a=e,e=t,t=a),ko<=r)return C(e,o)+(t?C(t,1-o):"")+"Z";var a,s,l,u,c,h,d,f,p,g,m,y,v,b,x,w=0,S=0,_=[];return(s=(+E.apply(this,arguments)||0)/2)&&(r=D===Os?Math.sqrt(t*t+e*e):+D.apply(this,arguments),o||(S*=-1),e&&(S=Z(r/e*Math.sin(s))),t&&(w=Z(r/t*Math.sin(s)))),e?(c=e*Math.cos(n+S),h=e*Math.sin(n+S),d=e*Math.cos(i-S),l=e*Math.sin(i-S),u=Math.abs(i-n-2*S)<=_o?0:1,S&&hr(c,h,d,l)===o^u&&(b=(n+i)/2,c=e*Math.cos(b),h=e*Math.sin(b),d=l=null)):c=h=0,t?(g=t*Math.cos(i-w),m=t*Math.sin(i-w),y=t*Math.cos(n+w),f=t*Math.sin(n+w),p=Math.abs(n-i+2*w)<=_o?0:1,w&&hr(g,m,y,f)===1-o^p&&(v=(n+i)/2,g=t*Math.cos(v),m=t*Math.sin(v),y=f=null)):g=m=0,.001<(a=Math.min(Math.abs(e-t)/2,+T.apply(this,arguments)))?(S=t<e^o?0:1,w=c-(b=null==y?[g,m]:null==d?[c,h]:pn([c,h],[y,f],[d,l],[g,m]))[0],n=h-b[1],i=d-b[0],v=l-b[1],n=1/Math.sin(Math.acos((w*i+n*v)/(Math.sqrt(w*w+n*n)*Math.sqrt(i*i+v*v)))/2),i=Math.sqrt(b[0]*b[0]+b[1]*b[1]),null!=d?(b=dr(null==y?[g,m]:[y,f],[c,h],e,v=Math.min(a,(e-i)/(1+n)),o),x=dr([d,l],[g,m],e,v,o),a===v?_.push("M",b[0],"A",v,",",v," 0 0,",S," ",b[1],"A",e,",",e," 0 ",1-o^hr(b[1][0],b[1][1],x[1][0],x[1][1]),",",o," ",x[1],"A",v,",",v," 0 0,",S," ",x[0]):_.push("M",b[0],"A",v,",",v," 0 1,",S," ",x[0])):_.push("M",c,",",h),null!=y?(i=dr([c,h],[y,f],t,-(x=Math.min(a,(t-i)/(n-1))),o),n=dr([g,m],null==d?[c,h]:[d,l],t,-x,o),a===x?_.push("L",n[0],"A",x,",",x," 0 0,",S," ",n[1],"A",t,",",t," 0 ",o^hr(n[1][0],n[1][1],i[1][0],i[1][1]),",",1-o," ",i[1],"A",x,",",x," 0 0,",S," ",i[0]):_.push("L",n[0],"A",x,",",x," 0 0,",S," ",i[0])):_.push("L",g,",",m)):(_.push("M",c,",",h),null!=d&&_.push("A",e,",",e," 0 ",u,",",o," ",d,",",l),_.push("L",g,",",m),null!=y&&_.push("A",t,",",t," 0 ",p,",",1-o," ",y,",",f)),_.push("Z"),_.join("")}function C(t,e){return"M0,"+t+"A"+t+","+t+" 0 1,"+e+" 0,"+-t+"A"+t+","+t+" 0 1,"+e+" 0,"+t}var k=ar,M=sr,T=or,D=Os,A=lr,P=ur,E=cr;return e.innerRadius=function(t){return arguments.length?(k=bt(t),e):k},e.outerRadius=function(t){return arguments.length?(M=bt(t),e):M},e.cornerRadius=function(t){return arguments.length?(T=bt(t),e):T},e.padRadius=function(t){return arguments.length?(D=t==Os?Os:bt(t),e):D},e.startAngle=function(t){return arguments.length?(A=bt(t),e):A},e.endAngle=function(t){return arguments.length?(P=bt(t),e):P},e.padAngle=function(t){return arguments.length?(E=bt(t),e):E},e.centroid=function(){var t=(+k.apply(this,arguments)+ +M.apply(this,arguments))/2,e=(+A.apply(this,arguments)+ +P.apply(this,arguments))/2-Mo;return[Math.cos(e)*t,Math.sin(e)*t]},e};var Os="auto";qr.svg.line=function(){return fr(xt)};var Ls=qr.map({linear:pr,"linear-closed":function(t){return pr(t)+"Z"},step:function(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 1<n&&r.push("H",i[0]),r.join("")},"step-before":gr,"step-after":mr,basis:br,"basis-open":function(t){if(t.length<4)return pr(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(xr(Rs,o)+","+xr(Rs,a)),--i;++i<r;)e=t[i],o.shift(),o.push(e[0]),a.shift(),a.push(e[1]),wr(n,o,a);return n.join("")},"basis-closed":function(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=[xr(Rs,a),",",xr(Rs,s)],--i;++i<o;)n=t[i%r],a.shift(),a.push(n[0]),s.shift(),s.push(n[1]),wr(e,a,s);return e.join("")},bundle:function(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])[0]=e*i[0]+(1-e)*(o+(r=u/n)*s),i[1]=e*i[1]+(1-e)*(a+r*l);return br(t)},cardinal:function(t,e){return t.length<3?pr(t):t[0]+yr(t,vr(t,e))},"cardinal-open":function(t,e){return t.length<4?pr(t):t[1]+yr(t.slice(1,-1),vr(t,e))},"cardinal-closed":function(t,e){return t.length<3?pr(t):t[0]+yr((t.push(t[0]),t),vr([t[t.length-2]].concat(t,[t[1]]),e))},monotone:function(t){return t.length<3?pr(t):t[0]+yr(t,_r(t))}});Ls.forEach(function(t,e){e.key=t,e.closed=/-closed$/.test(t)});var Is=[0,2/3,1/3,0],Ns=[0,1/3,2/3,0],Rs=[0,1/6,2/3,1/6];qr.svg.line.radial=function(){var t=fr(Cr);return t.radius=t.x,delete t.x,t.angle=t.y,delete t.y,t},(gr.reverse=mr).reverse=gr,qr.svg.area=function(){return kr(xt)},qr.svg.area.radial=function(){var t=kr(Cr);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},qr.svg.chord=function(){function e(t,e){var n=r(this,s,t,e),i=r(this,l,t,e);return"M"+n.p0+o(n.r,n.p1,n.a1-n.a0)+(t=i,(e=n).a0==t.a0&&e.a1==t.a1?a(n.r,n.p1,n.r,n.p0):a(n.r,n.p1,i.r,i.p0)+o(i.r,i.p1,i.a1-i.a0)+a(i.r,i.p1,n.r,n.p0))+"Z"}function r(t,e,n,i){var r=e.call(t,n,i),e=u.call(t,r,i),n=c.call(t,r,i)-Mo,i=h.call(t,r,i)-Mo;return{r:e,a0:n,a1:i,p0:[e*Math.cos(n),e*Math.sin(n)],p1:[e*Math.cos(i),e*Math.sin(i)]}}function o(t,e,n){return"A"+t+","+t+" 0 "+ +(_o<n)+",1 "+e}function a(t,e,n,i){return"Q 0,0 "+i}var s=tn,l=en,u=Mr,c=lr,h=ur;return e.radius=function(t){return arguments.length?(u=bt(t),e):u},e.source=function(t){return arguments.length?(s=bt(t),e):s},e.target=function(t){return arguments.length?(l=bt(t),e):l},e.startAngle=function(t){return arguments.length?(c=bt(t),e):c},e.endAngle=function(t){return arguments.length?(h=bt(t),e):h},e},qr.svg.diagonal=function(){function e(t,e){var n=i.call(this,t,e),t=r.call(this,t,e),e=(n.y+t.y)/2,t=[n,{x:n.x,y:e},{x:t.x,y:e},t];return"M"+(t=t.map(o))[0]+"C"+t[1]+" "+t[2]+" "+t[3]}var i=tn,r=en,o=Tr;return e.source=function(t){return arguments.length?(i=bt(t),e):i},e.target=function(t){return arguments.length?(r=bt(t),e):r},e.projection=function(t){return arguments.length?(o=t,e):o},e},qr.svg.diagonal.radial=function(){var t=qr.svg.diagonal(),e=Tr,i=t.projection;return t.projection=function(t){return arguments.length?i((n=e=t,function(){var t=n.apply(this,arguments),e=t[0],t=t[1]-Mo;return[e*Math.cos(t),e*Math.sin(t)]})):e;var n},t},qr.svg.symbol=function(){function e(t,e){return(Fs.get(n.call(this,t,e))||Pr)(i.call(this,t,e))}var n=Ar,i=Dr;return e.type=function(t){return arguments.length?(n=bt(t),e):n},e.size=function(t){return arguments.length?(i=bt(t),e):i},e};var Fs=qr.map({circle:Pr,cross:function(t){t=Math.sqrt(t/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*Hs)),t=e*Hs;return"M0,"+-e+"L"+t+",0 0,"+e+" "+-t+",0Z"},square:function(t){t=Math.sqrt(t)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/js),t=e*js/2;return"M0,"+t+"L"+e+","+-t+" "+-e+","+-t+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/js),t=e*js/2;return"M0,"+-t+"L"+e+","+t+" "+-e+","+t+"Z"}});qr.svg.symbolTypes=Fs.keys();var js=Math.sqrt(3),Hs=Math.tan(30*To);fo.transition=function(t){for(var e,n,i=Bs||++qs,r=Nr(t),o=[],a=zs||{time:Date.now(),ease:Jn,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])&&Rr(n,c,r,i,a),e.push(n)}return Or(o,r,i)},fo.interrupt=function(t){return this.each(null==t?Ws:Er(Nr(t)))};var Bs,zs,Ws=Er(Nr()),$s=[],qs=0;$s.call=fo.call,$s.empty=fo.empty,$s.node=fo.node,$s.size=fo.size,qr.transition=function(t,e){return t&&t.transition?Bs?t.transition(e):t:mo.transition(t)},(qr.transition.prototype=$s).select=function(t){var e,n,i,r=this.id,o=this.namespace,a=[];t=w(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__),Rr(n,c,o,r,i[o][r]),e.push(n)):e.push(null)}return Or(a,o,r)},$s.selectAll=function(t){var e,n,i,r,o,a=this.id,s=this.namespace,l=[];t=S(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])&&Rr(r,p,s,a,o),e.push(r)}return Or(l,s,a)},$s.filter=function(t){var e,n,i=[];"function"!=typeof t&&(t=R(t));for(var r=0,o=this.length;r<o;r++){i.push(e=[]);for(var a,s=0,l=(a=this[r]).length;s<l;s++)(n=a[s])&&t.call(n,n.__data__,s,r)&&e.push(n)}return Or(i,this.namespace,this.id)},$s.tween=function(e,n){var i=this.id,r=this.namespace;return arguments.length<2?this.node()[r][i].tween.get(e):F(this,null==n?function(t){t[r][i].tween.remove(e)}:function(t){t[r][i].tween.set(e,n)})},$s.attr=function(t,e){function i(){this.removeAttribute(a)}function r(){this.removeAttributeNS(a.space,a.local)}if(arguments.length<2){for(e in t)this.attr(e,t[e]);return this}var o="transform"==t?si:Yn,a=qr.ns.qualify(t);return Lr(this,"attr."+t,e,a.local?function(n){return null==n?r:(n+="",function(){var e,t=this.getAttributeNS(a.space,a.local);return t!==n&&(e=o(t,n),function(t){this.setAttributeNS(a.space,a.local,e(t))})})}:function(n){return null==n?i:(n+="",function(){var e,t=this.getAttribute(a);return t!==n&&(e=o(t,n),function(t){this.setAttribute(a,e(t))})})})},$s.attrTween=function(t,i){var r=qr.ns.qualify(t);return this.tween("attr."+t,r.local?function(t,e){var n=i.call(this,t,e,this.getAttributeNS(r.space,r.local));return n&&function(t){this.setAttributeNS(r.space,r.local,n(t))}}:function(t,e){var n=i.call(this,t,e,this.getAttribute(r));return n&&function(t){this.setAttribute(r,n(t))}})},$s.style=function(i,t,r){function e(){this.style.removeProperty(i)}var n=arguments.length;if(n<3){if("string"!=typeof i){for(r in n<2&&(t=""),i)this.style(r,i[r],t);return this}r=""}return Lr(this,"style."+i,t,function(n){return null==n?e:(n+="",function(){var e,t=Vr.getComputedStyle(this,null).getPropertyValue(i);return t!==n&&(e=Yn(t,n),function(t){this.style.setProperty(i,e(t),r)})})})},$s.styleTween=function(i,r,o){return arguments.length<3&&(o=""),this.tween("style."+i,function(t,e){var n=r.call(this,t,e,Vr.getComputedStyle(this,null).getPropertyValue(i));return n&&function(t){this.style.setProperty(i,n(t),o)}})},$s.text=function(t){return Lr(this,"text",t,Ir)},$s.remove=function(){var e=this.namespace;return this.each("end.transition",function(){var t;this[e].count<2&&(t=this.parentNode)&&t.removeChild(this)})},$s.ease=function(e){var n=this.id,i=this.namespace;return arguments.length<1?this.node()[i][n].ease:("function"!=typeof e&&(e=qr.ease.apply(qr,arguments)),F(this,function(t){t[i][n].ease=e}))},$s.delay=function(i){var r=this.id,o=this.namespace;return arguments.length<1?this.node()[o][r].delay:F(this,"function"==typeof i?function(t,e,n){t[o][r].delay=+i.call(t,t.__data__,e,n)}:(i=+i,function(t){t[o][r].delay=i}))},$s.duration=function(i){var r=this.id,o=this.namespace;return arguments.length<1?this.node()[o][r].duration:F(this,"function"==typeof i?function(t,e,n){t[o][r].duration=Math.max(1,i.call(t,t.__data__,e,n))}:(i=Math.max(1,i),function(t){t[o][r].duration=i}))},$s.each=function(i,e){var r=this.id,o=this.namespace;if(arguments.length<2){var t=zs,n=Bs;try{Bs=r,F(this,function(t,e,n){zs=t[o][r],i.call(t,t.__data__,e,n)})}finally{zs=t,Bs=n}}else F(this,function(t){t=t[o][r];(t.event||(t.event=qr.dispatch("start","end","interrupt"))).on(i,e)});return this},$s.transition=function(){for(var t,e,n,i=this.id,r=++qs,o=this.namespace,a=[],s=0,l=this.length;s<l;s++){a.push(t=[]);for(var u,c=0,h=(u=this[s]).length;c<h;c++)(e=u[c])&&Rr(e,c,o,r,{time:(n=e[o][i]).time,ease:n.ease,delay:n.delay+n.duration,duration:n.duration}),t.push(e)}return Or(a,o,r)},qr.svg.axis=function(){function n(t){t.each(function(){var t,e=qr.select(this),n=this.__chart__||S,i=this.__chart__=S.copy(),r=null==D?i.ticks?i.ticks.apply(i,T):i.domain():D,o=null==w?i.tickFormat?i.tickFormat.apply(i,T):xt:w,a=e.selectAll(".tick").data(r,i),s=a.enter().insert("g",".domain").attr("class","tick").style("opacity",wo),l=qr.transition(a.exit()).style("opacity",wo).remove(),u=qr.transition(a.order()).style("opacity",1),c=Math.max(C,0)+M,h=Xi(i),d=e.selectAll(".domain").data([0]),f=(d.enter().append("path").attr("class","domain"),qr.transition(d));s.append("line"),s.append("text");var p,g,m,y,v,b,x=s.select("line"),r=u.select("line"),e=a.select("text").text(o),d=s.select("text"),a=u.select("text"),o="top"===_||"left"===_?-1:1;"bottom"===_||"top"===_?(t=Fr,p="x",m="y",g="x2",y="y2",e.attr("dy",o<0?"0em":".71em").style("text-anchor","middle"),f.attr("d","M"+h[0]+","+o*k+"V0H"+h[1]+"V"+o*k)):(t=jr,p="y",m="x",g="y2",y="x2",e.attr("dy",".32em").style("text-anchor",o<0?"end":"start"),f.attr("d","M"+o*k+","+h[0]+"H0V"+h[1]+"H"+o*k)),x.attr(y,o*C),d.attr(m,o*c),r.attr(g,0).attr(y,o*C),a.attr(p,0).attr(m,o*c),i.rangeBand?(b=(v=i).rangeBand()/2,n=i=function(t){return v(t)+b}):n.rangeBand?n=i:l.call(t,i,n),s.call(t,n,i),u.call(t,i,i)})}var w,S=qr.scale.linear(),_=Us,C=6,k=6,M=3,T=[10],D=null;return n.scale=function(t){return arguments.length?(S=t,n):S},n.orient=function(t){return arguments.length?(_=t in Ys?t+"":Us,n):_},n.ticks=function(){return arguments.length?(T=arguments,n):T},n.tickValues=function(t){return arguments.length?(D=t,n):D},n.tickFormat=function(t){return arguments.length?(w=t,n):w},n.tickSize=function(t){var e=arguments.length;return e?(C=+t,k=+arguments[e-1],n):C},n.innerTickSize=function(t){return arguments.length?(C=+t,n):C},n.outerTickSize=function(t){return arguments.length?(k=+t,n):k},n.tickPadding=function(t){return arguments.length?(M=+t,n):M},n.tickSubdivide=function(){return arguments.length&&n},n};var Us="bottom",Ys={top:1,right:1,bottom:1,left:1};qr.svg.brush=function(){function y(t){t.each(function(){var t=qr.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",r).on("touchstart.brush",r),e=t.selectAll(".background").data([0]);e.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var n=t.selectAll(".resize").data(o,xt);n.exit().remove(),n.enter().append("g").attr("class",function(t){return"resize "+t}).style("cursor",function(t){return Gs[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"),n.style("display",y.empty()?"none":null);var i,t=qr.transition(t),e=qr.transition(e);C&&(i=Xi(C),e.attr("x",i[0]).attr("width",i[1]-i[0]),b(t)),k&&(i=Xi(k),e.attr("y",i[0]).attr("height",i[1]-i[0]),x(t)),v(t)})}function v(t){t.selectAll(".resize").attr("transform",function(t){return"translate("+M[+/e$/.test(t)]+","+T[+/^s/.test(t)]+")"})}function b(t){t.select(".extent").attr("x",M[0]),t.selectAll(".extent,.n>rect,.s>rect").attr("width",M[1]-M[0])}function x(t){t.select(".extent").attr("y",T[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",T[1]-T[0])}function r(){function t(){var t=qr.mouse(o),e=!1;r&&(t[0]+=r[0],t[1]+=r[1]),f||(qr.event.altKey?(l=l||[(M[0]+M[1])/2,(T[0]+T[1])/2],g[0]=M[+(t[0]<l[0])],g[1]=T[+(t[1]<l[1])]):l=null),h&&n(t,C,0)&&(b(u),e=!0),d&&n(t,k,1)&&(x(u),e=!0),e&&(v(u),s({type:"brush",mode:f?"move":"resize"}))}function n(t,e,n){var i,r=Xi(e),o=r[0],a=r[1],s=g[n],e=n?T:M,r=e[1]-e[0];return f&&(o-=s,a-=r+s),t=(n?A:D)?Math.max(o,Math.min(a,t[n])):t[n],f?i=(t+=s)+r:(s=l?Math.max(o,Math.min(a,2*l[n]-t)):s)<t?(i=t,t=s):i=s,(e[0]!=t||e[1]!=i)&&(n?S=null:w=null,e[0]=t,e[1]=i,1)}function e(){t(),u.style("pointer-events","all").selectAll(".resize").style("display",y.empty()?"none":null),qr.select("body").style("cursor",null),m.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),p(),s({type:"brushend"})}var l,i,r,o=this,a=qr.select(qr.event.target),s=_.of(o,arguments),u=qr.select(o),c=a.datum(),h=!/^(n|s)$/.test(c)&&C,d=!/^(e|w)$/.test(c)&&k,f=a.classed("extent"),p=W(),g=qr.mouse(o),m=qr.select(Vr).on("keydown.brush",function(){32==qr.event.keyCode&&(f||(l=null,g[0]-=M[1],g[1]-=T[1],f=2),L())}).on("keyup.brush",function(){32==qr.event.keyCode&&2==f&&(g[0]+=M[1],g[1]+=T[1],f=0,L())});qr.event.changedTouches?m.on("touchmove.brush",t).on("touchend.brush",e):m.on("mousemove.brush",t).on("mouseup.brush",e),u.interrupt().selectAll("*").interrupt(),f?(g[0]=M[0]-g[0],g[1]=T[0]-g[1]):c?(i=+/w$/.test(c),c=+/^n/.test(c),r=[M[1-i]-g[0],T[1-c]-g[1]],g[0]=M[i],g[1]=T[c]):qr.event.altKey&&(l=g.slice()),u.style("pointer-events","none").selectAll(".resize").style("display",null),qr.select("body").style("cursor",a.style("cursor")),s({type:"brushstart"}),t()}var w,S,_=I(y,"brushstart","brush","brushend"),C=null,k=null,M=[0,0],T=[0,0],D=!0,A=!0,o=Xs[0];return y.event=function(t){t.each(function(){var i=_.of(this,arguments),r={x:M,y:T,i:w,j:S},t=this.__chart__||r;this.__chart__=r,Bs?qr.select(this).transition().each("start.brush",function(){w=t.i,S=t.j,M=t.x,T=t.y,i({type:"brushstart"})}).tween("brush:brush",function(){var e=Gn(M,r.x),n=Gn(T,r.y);return w=S=null,function(t){M=r.x=e(t),T=r.y=n(t),i({type:"brush",mode:"resize"})}}).each("end.brush",function(){w=r.i,S=r.j,i({type:"brush",mode:"resize"}),i({type:"brushend"})}):(i({type:"brushstart"}),i({type:"brush",mode:"resize"}),i({type:"brushend"}))})},y.x=function(t){return arguments.length?(o=Xs[!(C=t)<<1|!k],y):C},y.y=function(t){return arguments.length?(o=Xs[!C<<1|!(k=t)],y):k},y.clamp=function(t){return arguments.length?(C&&k?(D=!!t[0],A=!!t[1]):C?D=!!t:k&&(A=!!t),y):C&&k?[D,A]:C?D:k?A:null},y.extent=function(t){var e,n,i,r,o;return arguments.length?(C&&(e=t[0],n=t[1],k&&(e=e[0],n=n[0]),w=[e,n],C.invert&&(e=C(e),n=C(n)),n<e&&(o=e,e=n,n=o),e==M[0]&&n==M[1]||(M=[e,n])),k&&(i=t[0],r=t[1],C&&(i=i[1],r=r[1]),S=[i,r],k.invert&&(i=k(i),r=k(r)),r<i&&(o=i,i=r,r=o),i==T[0]&&r==T[1]||(T=[i,r])),y):(C&&(w?(e=w[0],n=w[1]):(e=M[0],n=M[1],C.invert&&(e=C.invert(e),n=C.invert(n)),n<e&&(o=e,e=n,n=o))),k&&(S?(i=S[0],r=S[1]):(i=T[0],r=T[1],k.invert&&(i=k.invert(i),r=k.invert(r)),r<i&&(o=i,i=r,r=o))),C&&k?[[e,i],[n,r]]:C?[e,n]:k&&[i,r])},y.clear=function(){return y.empty()||(M=[0,0],T=[0,0],w=S=null),y},y.empty=function(){return!!C&&M[0]==M[1]||!!k&&T[0]==T[1]},qr.rebind(y,_,"on")};var Gs={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Xs=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],eo=Go.format=Qr.timeFormat,Zr=eo.utc,Qr=Zr("%Y-%m-%dT%H:%M:%S.%LZ");eo.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Hr:Qr,Hr.parse=function(t){t=new Date(t);return isNaN(t)?null:t},Hr.toString=Qr.toString,Go.second=At(function(t){return new Xo(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(t.getTime()+1e3*Math.floor(e))},function(t){return t.getSeconds()}),Go.seconds=Go.second.range,Go.seconds.utc=Go.second.utc.range,Go.minute=At(function(t){return new Xo(6e4*Math.floor(t/6e4))},function(t,e){t.setTime(t.getTime()+6e4*Math.floor(e))},function(t){return t.getMinutes()}),Go.minutes=Go.minute.range,Go.minutes.utc=Go.minute.utc.range,Go.hour=At(function(t){var e=t.getTimezoneOffset()/60;return new Xo(36e5*(Math.floor(t/36e5-e)+e))},function(t,e){t.setTime(t.getTime()+36e5*Math.floor(e))},function(t){return t.getHours()}),Go.hours=Go.hour.range,Go.hours.utc=Go.hour.utc.range,Go.month=At(function(t){return(t=Go.day(t)).setDate(1),t},function(t,e){t.setMonth(t.getMonth()+e)},function(t){return t.getMonth()}),Go.months=Go.month.range,Go.months.utc=Go.month.utc.range;var Vs=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Zs=[[Go.second,1],[Go.second,5],[Go.second,15],[Go.second,30],[Go.minute,1],[Go.minute,5],[Go.minute,15],[Go.minute,30],[Go.hour,1],[Go.hour,3],[Go.hour,6],[Go.hour,12],[Go.day,1],[Go.day,2],[Go.week,1],[Go.month,1],[Go.month,3],[Go.year,1]],Ks=eo.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",ye]]),Js={range:function(t,e,n){return qr.range(Math.ceil(t/n)*n,+e,n).map(zr)},floor:xt,ceil:xt};Zs.year=Go.year,Go.scale=function(){return Br(qr.scale.linear(),Zs,Ks)};var Qs=Zs.map(function(t){return[t[0].utc,t[1]]}),tl=Zr.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",ye]]);Qs.year=Go.year.utc,Go.scale.utc=function(){return Br(qr.scale.linear(),Qs,tl)},qr.text=wt(function(t){return t.responseText}),qr.json=function(t,e){return St(t,"application/json",Wr,e)},qr.html=function(t,e){return St(t,"text/html",$r,e)},qr.xml=wt(function(t){return t.responseXML}),"function"==typeof define&&define.amd?define(qr):"object"==typeof module&&module.exports&&(module.exports=qr),this.d3=qr}(),function(){function d(s,i){function t(t,e){for(var n in t){n=t[n];delete e[n.start],delete n.start,delete n.end,n.forEach(function(t){r[t<0?~t:t]=1}),o.push(n)}}var r={},l={},u={},o=[],a=-1;return i.forEach(function(t,e){var n=s.arcs[t<0?~t:t];n.length<3&&!n[1][0]&&!n[1][1]&&(n=i[++a],i[a]=t,i[e]=n)}),i.forEach(function(t){var e,n,i,r,o,a=(n=t,a=s.arcs[n<0?~n:n],r=a[0],s.transform?(i=[0,0],a.forEach(function(t){i[0]+=t[0],i[1]+=t[1]})):i=a[a.length-1],n<0?[i,r]:[r,i]),n=a[0],r=a[1];(a=u[n])?(delete u[a.end],a.push(t),a.end=r,(e=l[r])?(delete l[e.start],o=e===a?a:a.concat(e),l[o.start=a.start]=u[o.end=e.end]=o):l[a.start]=u[a.end]=a):(a=l[r])?(delete l[a.start],a.unshift(t),a.start=n,(e=u[n])?(delete u[e.end],o=e===a?a:e.concat(a),l[o.start=e.start]=u[o.end=a.end]=o):l[a.start]=u[a.end]=a):l[(a=[t]).start=n]=u[a.end=r]=a}),t(u,l),t(l,u),i.forEach(function(t){r[t<0?~t:t]||o.push([t])}),o}function e(t,e,n){function i(t){var e=t<0?~t:t;(l[e]||(l[e]=[])).push({i:t,g:s})}function r(t){t.forEach(i)}function o(t){t.forEach(r)}var a=[];if(1<arguments.length){var s,l=[],u={LineString:r,MultiLineString:o,Polygon:o,MultiPolygon:function(t){t.forEach(o)}};(function t(e){"GeometryCollection"===e.type?e.geometries.forEach(t):e.type in u&&u[(s=e).type](e.arcs)})(e),l.forEach(arguments.length<3?function(t){a.push(t[0].i)}:function(t){n(t[0].g,t[t.length-1].g)&&a.push(t[0].i)})}else for(var c=0,h=t.arcs.length;c<h;++c)a.push(c);return{type:"MultiLineString",arcs:d(t,a)}}function i(a,t){function e(e){e.forEach(function(t){t.forEach(function(t){(l[t=t<0?~t:t]||(l[t]=[])).push(e)})}),i.push(e)}function s(t){return 0<function(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}(o(a,{type:"Polygon",arcs:[t]}).coordinates[0])}var l={},i=[],r=[];return t.forEach(function(t){"Polygon"===t.type?e(t.arcs):"MultiPolygon"===t.type&&t.arcs.forEach(e)}),i.forEach(function(t){if(!t._){var e=[],n=[t];for(t._=1,r.push(e);t=n.pop();)e.push(t),t.forEach(function(t){t.forEach(function(t){l[t<0?~t:t].forEach(function(t){t._||(t._=1,n.push(t))})})})}}),i.forEach(function(t){delete t._}),{type:"MultiPolygon",arcs:r.map(function(t){var e=[];if(t.forEach(function(t){t.forEach(function(t){t.forEach(function(t){l[t<0?~t:t].length<2&&e.push(t)})})}),e=d(a,e),1<(n=e.length))for(var i,r=s(t[0][0]),o=0;n>o;++o)if(r===s(e[o])){i=e[0],e[0]=e[o],e[o]=i;break}return e})}}function r(t,e){t={type:"Feature",id:e.id,properties:e.properties||{},geometry:o(t,e)};return null==e.id&&delete t.id,t}function o(t,e){function r(t,e){e.length&&e.pop();for(var n,i=l[t<0?~t:t],r=0,o=i.length;r<o;++r)e.push(n=i[r].slice()),s(n,r);t<0&&function(t,e){for(var n,i=t.length,r=i-e;r<--i;)n=t[r],t[r++]=t[i],t[i]=n}(e,o)}function n(t){return t=t.slice(),s(t,0),t}function i(t){for(var e=[],n=0,i=t.length;n<i;++n)r(t[n],e);return e.length<2&&e.push(e[0].slice()),e}function o(t){for(var e=i(t);e.length<4;)e.push(e[0].slice());return e}function a(t){return t.map(o)}var s=y(t.transform),l=t.arcs,u={Point:function(t){return n(t.coordinates)},MultiPoint:function(t){return t.coordinates.map(n)},LineString:function(t){return i(t.arcs)},MultiLineString:function(t){return t.arcs.map(i)},Polygon:function(t){return a(t.arcs)},MultiPolygon:function(t){return t.arcs.map(a)}};return function t(e){var n=e.type;return"GeometryCollection"===n?{type:n,geometries:e.geometries.map(t)}:n in u?{type:n,coordinates:u[n](e)}:null}(e)}function p(t,e){for(var n=0,i=t.length;n<i;){var r=n+i>>>1;t[r]<e?n=1+r:i=r}return n}function g(t){var e=t[0],n=t[1],t=t[2];return Math.abs((e[0]-t[0])*(n[1]-e[1])-(e[0]-n[0])*(t[1]-e[1]))}function m(t,e){return t[1][2]-e[1][2]}function y(t){if(!t)return v;var n,i,r=t.scale[0],o=t.scale[1],a=t.translate[0],s=t.translate[1];return function(t,e){e||(n=i=0),t[0]=(n+=t[0])*r+a,t[1]=(i+=t[1])*o+s}}function v(){}var t={version:"1.6.9",mesh:function(t){return o(t,e.apply(this,arguments))},meshArcs:e,merge:function(t){return o(t,i.apply(this,arguments))},mergeArcs:i,feature:function(e,t){return"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map(function(t){return r(e,t)})}:r(e,t)},neighbors:function(t){function n(t,n){t.forEach(function(t){var e=r[t=t<0?~t:t];e?e.push(n):r[t]=[n]})}function i(t,e){t.forEach(function(t){n(t,e)})}var e,r={},o=t.map(function(){return[]}),a={LineString:n,MultiLineString:i,Polygon:i,MultiPolygon:function(t,e){t.forEach(function(t){i(t,e)})}};for(e in t.forEach(function e(t,n){"GeometryCollection"===t.type?t.geometries.forEach(function(t){e(t,n)}):t.type in a&&a[t.type](t.arcs,n)}),r)for(var s=r[e],l=s.length,u=0;u<l;++u)for(var c=u+1;c<l;++c){var h,d=s[u],f=s[c];(h=o[d])[e=p(h,f)]!==f&&h.splice(e,0,f),(h=o[f])[e=p(h,d)]!==d&&h.splice(e,0,d)}return o},presimplify:function(t,r){function e(t){u.remove(t),t[1][2]=r(t),u.push(t)}var o,n,a,s,l=y(t.transform),i=function(t){if(!t)return v;var i,r,o=t.scale[0],a=t.scale[1],s=t.translate[0],l=t.translate[1];return function(t,e){e||(i=r=0);var n=(t[0]-s)/o|0,e=(t[1]-l)/a|0;t[0]=n-i,t[1]=e-r,i=n,r=e}}(t.transform),u=(a=[],s=0,(n={}).push=function(t){return h(a[t._=s]=t,s++),s},n.pop=function(){if(!(s<=0)){var t,e=a[0];return 0<--s&&(t=a[s],d(a[t._=0]=t,0)),e}},n.remove=function(t){var e,n=t._;if(a[n]===t)return n!==--s&&(m(e=a[s],t)<0?h:d)(a[e._=n]=e,n),n},n),c=0;function h(t,e){for(;0<e;){var n=(e+1>>1)-1,i=a[n];if(0<=m(t,i))break;a[i._=e]=i,a[t._=e=n]=t}}function d(t,e){for(;;){var n=e+1<<1,i=n-1,r=e,o=a[r];if(i<s&&m(a[i],o)<0&&(o=a[r=i]),n<s&&m(a[n],o)<0&&(o=a[r=n]),r===e)break;a[o._=e]=o,a[t._=e=r]=t}}for(r=r||g,t.arcs.forEach(function(t){var e=[];t.forEach(l);for(var n=1,i=t.length-1;n<i;++n)(o=t.slice(n-1,n+2))[1][2]=r(o),e.push(o),u.push(o);t[0][2]=t[i][2]=1/0;for(n=0,i=e.length;n<i;++n)(o=e[n]).previous=e[n-1],o.next=e[n+1]});o=u.pop();){var f=o.previous,p=o.next;o[1][2]<c?o[1][2]=c:c=o[1][2],f&&(f.next=p,f[2]=o[2],e(f)),p&&(p.previous=f,p[0]=o[0],e(p))}return t.arcs.forEach(function(t){t.forEach(i)}),t}};"function"==typeof define&&define.amd?define(t):"object"==typeof module&&module.exports?module.exports=t:this.topojson=t}(),function(){function l(t,e,n){void 0===n&&(n=e,optionsValues=void 0);t=void 0!==t?t:e;if(void 0===t)return null;if("function"!=typeof t)return t;e=[n];return n.geography&&(e=[n.geography,n.data]),t.apply(null,e)}function e(t,e){if(e=e||{},this.options.fills){var n,i="<dl>",r="";for(n in e.legendTitle&&(i="<h2>"+e.legendTitle+"</h2>"+i),this.options.fills){if("defaultFill"===n){if(!e.defaultFillName)continue;r=e.defaultFillName}else r=e.labels&&e.labels[n]?e.labels[n]:n+": ";i+="<dt>"+r+"</dt>",i+='<dd style="background-color:'+this.options.fills[n]+'">&nbsp;</dd>'}i+="</dl>",h.select(this.options.element).append("div").attr("class","datamaps-legend").html(i)}}function n(){var t=h.geo.graticule();this.svg.insert("path",".datamaps-subunits").datum(t).attr("class","datamaps-graticule").attr("d",this.path)}function i(t,e,o){var a=this;if(this.svg,!e||e&&!e.slice)throw"Datamaps Error - arcs must be an array";for(var n=0;n<e.length;n++)e[n]=u(e[n],e[n].options),delete e[n].options;void 0===o&&(o=d.arcConfig);var t=t.selectAll("path.datamaps-arc").data(e,JSON.stringify),s=h.geo.path().projection(a.projection);t.enter().append("svg:path").attr("class","datamaps-arc").style("stroke-linecap","round").style("stroke",function(t){return l(t.strokeColor,o.strokeColor,t)}).style("fill","none").style("stroke-width",function(t){return l(t.strokeWidth,o.strokeWidth,t)}).attr("d",function(t){var e=a.latLngToXY(l(t.origin.latitude,t),l(t.origin.longitude,t)),n=a.latLngToXY(l(t.destination.latitude,t),l(t.destination.longitude,t)),i=[(e[0]+n[0])/2,(e[1]+n[1])/2];if(o.greatArc){var r=h.geo.greatArc().source(function(t){return[l(t.origin.longitude,t),l(t.origin.latitude,t)]}).target(function(t){return[l(t.destination.longitude,t),l(t.destination.latitude,t)]});return s(r(t))}t=l(t.arcSharpness,o.arcSharpness,t);return"M"+e[0]+","+e[1]+"S"+(i[0]+50*t)+","+(i[1]-75*t)+","+n[0]+","+n[1]}).transition().delay(100).style("fill",function(t){var e=this.getTotalLength();return this.style.transition=this.style.WebkitTransition="none",this.style.strokeDasharray=e+" "+e,this.style.strokeDashoffset=e,this.getBoundingClientRect(),this.style.transition=this.style.WebkitTransition="stroke-dashoffset "+l(t.animationSpeed,o.animationSpeed,t)+"ms ease-out",this.style.strokeDashoffset="0","none"}),t.exit().transition().style("opacity",0).remove()}function r(a,s){var l=this;s=s||{};var u=this.projection([-67.707617,42.722131]);this.svg.selectAll(".datamaps-subunit").attr("data-foo",function(t){var e=l.path.centroid(t),n=7.5,i=5;-1<["FL","KY","MI"].indexOf(t.id)&&(n=-2.5),"NY"===t.id&&(n=-1),"MI"===t.id&&(i=18),"LA"===t.id&&(n=13),r=e[0]-n,o=e[1]+i;var r,o,n=["VT","NH","MA","RI","CT","NJ","DE","MD","DC"].indexOf(t.id);return-1<n&&(i=u[1],r=u[0],o=i+n*(2+(s.fontSize||12)),a.append("line").attr("x1",r-3).attr("y1",o-5).attr("x2",e[0]).attr("y2",e[1]).style("stroke",s.labelColor||"#000").style("stroke-width",s.lineWidth||1)),a.append("text").attr("x",r).attr("y",o).style("font-size",(s.fontSize||10)+"px").style("font-family",s.fontFamily||"Verdana").style("fill",s.labelColor||"#000").text(t.id),"bar"})}function o(t,e,i){function n(t){return void 0!==t&&void 0!==t.latitude&&void 0!==t.longitude}var r=this,o=this.options.fills,a=this.svg;if(!e||e&&!e.slice)throw"Datamaps Error - bubbles must be an array";e=t.selectAll("circle.datamaps-bubble").data(e,JSON.stringify);e.enter().append("svg:circle").attr("class","datamaps-bubble").attr("cx",function(t){var e;return n(t)?e=r.latLngToXY(t.latitude,t.longitude):t.centered&&(e=r.path.centroid(a.select("path."+t.centered).data()[0])),e?e[0]:void 0}).attr("cy",function(t){var e;return n(t)?e=r.latLngToXY(t.latitude,t.longitude):t.centered&&(e=r.path.centroid(a.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(t){return l(t.borderColor,i.borderColor,t)}).style("stroke-width",function(t){return l(t.borderWidth,i.borderWidth,t)}).style("fill-opacity",function(t){return l(t.fillOpacity,i.fillOpacity,t)}).style("fill",function(t){return o[l(t.fillKey,i.fillKey,t)]||o.defaultFill}).on("mouseover",function(t){var e,n=h.select(this);i.highlightOnHover&&(e={fill:n.style("fill"),stroke:n.style("stroke"),"stroke-width":n.style("stroke-width"),"fill-opacity":n.style("fill-opacity")},n.style("fill",l(t.highlightFillColor,i.highlightFillColor,t)).style("stroke",l(t.highlightBorderColor,i.highlightBorderColor,t)).style("stroke-width",l(t.highlightBorderWidth,i.highlightBorderWidth,t)).style("fill-opacity",l(t.highlightFillOpacity,i.highlightFillOpacity,t)).attr("data-previousAttributes",JSON.stringify(e))),i.popupOnHover&&r.updatePopup(n,t,i,a)}).on("mouseout",function(){var t=h.select(this);if(i.highlightOnHover){var e,n=JSON.parse(t.attr("data-previousAttributes"));for(e in n)t.style(e,n[e])}h.selectAll(".datamaps-hoverover").style("display","none")}).transition().duration(400).attr("r",function(t){return l(t.radius,i.radius,t)}),e.exit().transition().delay(i.exitDelay).attr("r",0).remove()}function u(n){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t)for(var e in t)null==n[e]&&(n[e]=t[e])}),n}function c(t){if(void 0===h||void 0===a)throw new Error("Include d3.js (v3.0.3 or greater) and topojson on this page before creating a new map");return this.options=u(t,d),this.options.geographyConfig=u(t.geographyConfig,d.geographyConfig),this.options.projectionConfig=u(t.projectionConfig,d.projectionConfig),this.options.bubblesConfig=u(t.bubblesConfig,d.bubblesConfig),this.options.arcConfig=u(t.arcConfig,d.arcConfig),0<h.select(this.options.element).select("svg").length&&function(t,e,n){return this.svg=h.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&&(h.select(this.options.element).style({position:"relative","padding-bottom":"60%"}),h.select(this.options.element).select("svg").style({position:"absolute",width:"100%",height:"100%"}),h.select(this.options.element).select("svg").select("g").selectAll("path").style("vector-effect","non-scaling-stroke")),this.svg}.call(this,this.options.element,this.options.height,this.options.width),this.addPlugin("bubbles",o),this.addPlugin("legend",e),this.addPlugin("arc",i),this.addPlugin("labels",r),this.addPlugin("graticule",n),this.options.disableDefaultStyles||h.select(".datamaps-style-block").empty()&&h.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; }'),this.draw()}var h=window.d3,a=window.topojson,d={scope:"world",responsive:!1,setProjection:function(t,e){var n,i,r=e.width||t.offsetWidth,o=e.height||t.offsetHeight,t=this.svg;return e&&void 0===e.scope&&(e.scope="world"),"usa"===e.scope?n=h.geo.albersUsa().scale(r).translate([r/2,o/2]):"world"===e.scope&&(n=h.geo[e.projection]().scale((r+1)/2/Math.PI).translate([r/2,o/("mercator"===e.projection?1.45:1.8)])),"orthographic"===e.projection&&(t.append("defs").append("path").datum({type:"Sphere"}).attr("id","sphere").attr("d",i),t.append("use").attr("class","stroke").attr("xlink:href","#sphere"),t.append("use").attr("class","fill").attr("xlink:href","#sphere"),n.scale(250).clipAngle(90).rotate(e.projectionConfig.rotation)),{path:i=h.geo.path().projection(n),projection: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}};c.prototype.resize=function(){var t,e,n,i=this.options;i.responsive&&(t="-webkit-transform"in document.body.style?"-webkit-":"-moz-transform"in document.body.style?"-moz-":"-ms-transform"in document.body.style?"-ms-":"",e=i.element.clientWidth,n=h.select(i.element).select("svg").attr("data-width"),h.select(i.element).select("svg").selectAll("g").style(t+"transform","scale("+e/n+")"))},c.prototype.draw=function(){function n(t){i.options.dataUrl&&h[i.options.dataType](i.options.dataUrl,function(t){if("csv"===i.options.dataType&&t&&t.slice){for(var e={},n=0;n<t.length;n++)e[t[n].id]=t[n];t=e}Datamaps.prototype.updateChoropleth.call(i,t)}),function(t){var i=this.options.fills,r=this.options.data||{},e=this.options.geographyConfig,n=this.svg.select("g.datamaps-subunits");n.empty()&&(n=this.addLayer("datamaps-subunits",null,!0)),t=a.feature(t,t.objects[this.options.scope]).features,e.hideAntarctica&&(t=t.filter(function(t){return"ATA"!==t.id})),n.selectAll("path.datamaps-subunit").data(t).enter().append("path").attr("d",this.path).attr("class",function(t){return"datamaps-subunit "+t.id}).attr("data-info",function(t){return JSON.stringify(r[t.id])}).style("fill",function(t){var e,n=r[t.id];return e=void 0===(e=n&&n.fillKey?i[l(n.fillKey,{data:r[t.id],geography:t})]:e)?l(n&&n.fillColor,i.defaultFill,{data:r[t.id],geography:t}):e}).style("stroke-width",e.borderWidth).style("stroke",e.borderColor)}.call(i,t),function(){var r=this.svg,o=this,a=this.options.geographyConfig;(a.highlightOnHover||a.popupOnHover)&&r.selectAll(".datamaps-subunit").on("mouseover",function(t){var e,n=h.select(this),i=o.options.data[t.id]||{};a.highlightOnHover&&(e={fill:n.style("fill"),stroke:n.style("stroke"),"stroke-width":n.style("stroke-width"),"fill-opacity":n.style("fill-opacity")},n.style("fill",l(i.highlightFillColor,a.highlightFillColor,i)).style("stroke",l(i.highlightBorderColor,a.highlightBorderColor,i)).style("stroke-width",l(i.highlightBorderWidth,a.highlightBorderWidth,i)).style("fill-opacity",l(i.highlightFillOpacity,a.highlightFillOpacity,i)).attr("data-previousAttributes",JSON.stringify(e)),/((MSIE)|(Trident))/.test||function(){this.parentNode.appendChild(this)}.call(this)),a.popupOnHover&&o.updatePopup(n,t,a,r)}).on("mouseout",function(){var t=h.select(this);if(a.highlightOnHover){var e,n=JSON.parse(t.attr("data-previousAttributes"));for(e in n)t.style(e,n[e])}t.on("mousemove",null),h.selectAll(".datamaps-hoverover").style("display","none")})}.call(i),(i.options.geographyConfig.popupOnHover||i.options.bubblesConfig.popupOnHover)&&(hoverover=h.select(i.options.element).append("div").attr("class","datamaps-hoverover").style("z-index",10001).style("position","absolute")),i.options.done(i)}var i=this,t=i.options,e=t.setProjection.apply(i,[t.element,t]);return this.path=e.path,this.projection=e.projection,t.geographyConfig.dataUrl?h.json(t.geographyConfig.dataUrl,function(t,e){if(t)throw new Error(t);i.customTopo=e,n(e)}):n(this[t.scope+"Topo"]||t.geographyConfig.dataJson),this},c.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",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]]],transform:{scale:[.036003600360036005,.016927109510951093],translate:[-180,-85.609038]}},c.prototype.usaTopo="__USA__",c.prototype.latLngToXY=function(t,e){return this.projection([e,t])},c.prototype.addLayer=function(t,e,n){return(n?this.svg.insert("g",":first-child"):this.svg.append("g")).attr("id",e||"").attr("class",t||"")},c.prototype.updateChoropleth=function(t){var e,n=this.svg;for(e in t)if(t.hasOwnProperty(e)){var i,r=t[e];if(!e)continue;i="string"==typeof r?r:"string"==typeof r.color?r.color:this.options.fills[r.fillKey],r===Object(r)&&(this.options.data[e]=u(r,this.options.data[e]||{}),this.svg.select("."+e).attr("data-info",JSON.stringify(this.options.data[e]))),n.selectAll("."+e).transition().style("fill",i)}},c.prototype.updatePopup=function(e,n,i){var r=this;e.on("mousemove",null),e.on("mousemove",function(){var t=h.mouse(r.options.element);h.select(r.svg[0][0].parentNode).select(".datamaps-hoverover").style("top",t[1]+30+"px").html(function(){var t=JSON.parse(e.attr("data-info"));return i.popupTemplate(n,t)}).style("left",t[0]+"px")}),h.select(r.svg[0][0].parentNode).select(".datamaps-hoverover").style("display","block")},c.prototype.addPlugin=function(o,a){var s=this;void 0===c.prototype[o]&&(c.prototype[o]=function(t,e,n,i){var r;void 0===i&&(i=!1),"function"==typeof e&&(n=e,e=void 0),e=u(e||{},s.options[o+"Config"]),!i&&this.options[o+"Layer"]?(r=this.options[o+"Layer"],e=e||this.options[o+"Options"]):(r=this.addLayer(o),this.options[o+"Layer"]=r,this.options[o+"Options"]=e),a.apply(this,[r,t,e]),n&&n(r)})},"function"==typeof define&&define.amd?define("datamaps",function(t){return h=t("d3"),a=t("topojson"),c}):window.Datamap=window.Datamaps=c,window.jQuery&&(window.jQuery.fn.datamaps=function(t,e){(t=t||{}).element=this[0];var n=new c(t);return"function"==typeof e&&e(n,t),this})}(),function(n){"function"==typeof define&&define.amd?define(["jquery"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(t)),n(e,t,t.document)}:n(jQuery,window,document)}(function(O,y,v,L){function o(e){var n,i,r={};O.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()),r[i]=t,"o"===n[1]&&o(e[t]))}),e._hungarianMap=r}function b(e,n,i){var r;e._hungarianMap||o(e),O.each(n,function(t){(r=e._hungarianMap[t])===L||!i&&n[r]!==L||("o"===r.charAt(0)?(n[r]||(n[r]={}),O.extend(!0,n[r],n[t]),b(e[r],n[r],i)):n[r]=n[t])})}function x(t){var e=ge.defaults.oLanguage,n=t.sZeroRecords;!t.sEmptyTable&&n&&"No data available in table"===e.sEmptyTable&&It(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&n&&"Loading..."===e.sLoadingRecords&&It(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),(t=t.sDecimal)&&$t(t)}function w(t){if(ue(t,"ordering","bSort"),ue(t,"orderMulti","bSortMulti"),ue(t,"orderClasses","bSortClasses"),ue(t,"orderCellsTop","bSortCellsTop"),ue(t,"order","aaSorting"),ue(t,"orderFixed","aaSortingFixed"),ue(t,"paging","bPaginate"),ue(t,"pagingType","sPaginationType"),ue(t,"pageLength","iDisplayLength"),ue(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]&&b(ge.models.oSearch,t[e])}function S(t){ue(t,"orderable","bSortable"),ue(t,"orderData","aDataSort"),ue(t,"orderSequence","asSorting"),ue(t,"orderDataType","sortDataType");var e=t.aDataSort;e&&!O.isArray(e)&&(t.aDataSort=[e])}function _(t){var e,n,i,r;ge.__browser||(ge.__browser=e={},r=(i=(n=O("<div/>").css({position:"fixed",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(O("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(O("<div/>").css({width:"100%",height:10}))).appendTo("body")).children()).children(),e.barWidth=i[0].offsetWidth-i[0].clientWidth,e.bScrollOversize=100===r[0].offsetWidth&&100!==i[0].clientWidth,e.bScrollbarLeft=1!==Math.round(r.offset().left),e.bBounding=!!n[0].getBoundingClientRect().width,n.remove()),O.extend(t.oBrowser,ge.__browser),t.oScroll.iBarWidth=ge.__browser.barWidth}function n(t,e,n,i,r,o){var a,s=!1;for(n!==L&&(a=n,s=!0);i!==r;)t.hasOwnProperty(i)&&(a=s?e(a,t[i],i,t):t[i],s=!0,i+=o);return a}function C(t,e){var n=ge.defaults.column,i=t.aoColumns.length,n=O.extend({},ge.models.oColumn,n,{nTh:e||v.createElement("th"),sTitle:n.sTitle||(e?e.innerHTML:""),aDataSort:n.aDataSort||[i],mData:n.mData||i,idx:i});t.aoColumns.push(n),(n=t.aoPreSearchCols)[i]=O.extend({},ge.models.oSearch,n[i]),k(t,i,O(e).data())}function k(t,e,n){var i,e=t.aoColumns[e],r=t.oClasses,o=O(e.nTh);e.sWidthOrig||(e.sWidthOrig=o.attr("width")||null,(i=(o.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/))&&(e.sWidthOrig=i[1])),n!==L&&null!==n&&(S(n),b(ge.defaults.column,n),n.mDataProp===L||n.mData||(n.mData=n.mDataProp),n.sType&&(e._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),O.extend(e,n),It(e,n,"sWidth","sWidthOrig"),n.iDataSort!==L&&(e.aDataSort=[n.iDataSort]),It(e,n,"aDataSort"));var a=e.mData,s=R(a),l=e.mRender?R(e.mRender):null,n=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};e._bAttrSrc=O.isPlainObject(a)&&(n(a.sort)||n(a.type)||n(a.filter)),e._setter=null,e.fnGetData=function(t,e,n){var i=s(t,e,L,n);return l&&e?l(i,e,t,n):i},e.fnSetData=function(t,e,n){return p(a)(t,e,n)},"number"!=typeof a&&(t._rowReadObject=!0),t.oFeatures.bSort||(e.bSortable=!1,o.addClass(r.sSortableNone)),t=-1!==O.inArray("asc",e.asSorting),n=-1!==O.inArray("desc",e.asSorting),e.bSortable&&(t||n)?t&&!n?(e.sSortingClass=r.sSortableAsc,e.sSortingClassJUI=r.sSortJUIAscAllowed):!t&&n?(e.sSortingClass=r.sSortableDesc,e.sSortingClassJUI=r.sSortJUIDescAllowed):(e.sSortingClass=r.sSortable,e.sSortingClassJUI=r.sSortJUI):(e.sSortingClass=r.sSortableNone,e.sSortingClassJUI="")}function I(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;yt(t);for(var n=0,i=e.length;n<i;n++)e[n].nTh.style.width=e[n].sWidth}""===(e=t.oScroll).sY&&""===e.sX||gt(t),jt(t,null,"column-sizing",[t])}function N(t,e){t=T(t,"bVisible");return"number"==typeof t[e]?t[e]:null}function u(t,e){t=T(t,"bVisible");return-1!==(t=O.inArray(e,t))?t:null}function M(t){return O(se(t.aoColumns,"nTh")).filter(":visible").length}function T(t,n){var i=[];return O.map(t.aoColumns,function(t,e){t[n]&&i.push(e)}),i}function a(t){for(var e,n,i,r,o,a,s,l=t.aoColumns,u=t.aoData,c=ge.ext.type.detect,h=0,d=l.length;h<d;h++)if(s=[],!(o=l[h]).sType&&o._sManualType)o.sType=o._sManualType;else if(!o.sType){for(e=0,n=c.length;e<n;e++){for(i=0,r=u.length;i<r&&(s[i]===L&&(s[i]=E(t,i,h,"type")),(a=c[e](s[i],t))||e===c.length-1)&&"html"!==a;i++);if(a){o.sType=a;break}}o.sType||(o.sType="string")}}function D(t,e,n,i){var r,o,a,s=t.aoColumns;if(e)for(r=e.length-1;0<=r;r--)for(var l,u=(l=e[r]).targets!==L?l.targets:l.aTargets,c=0,h=(u=!O.isArray(u)?[u]:u).length;c<h;c++)if("number"==typeof u[c]&&0<=u[c]){for(;s.length<=u[c];)C(t);i(u[c],l)}else if("number"==typeof u[c]&&u[c]<0)i(s.length+u[c],l);else if("string"==typeof u[c])for(o=0,a=s.length;o<a;o++)"_all"!=u[c]&&!O(s[o].nTh).hasClass(u[c])||i(o,l);if(n)for(r=0,t=n.length;r<t;r++)i(r,n[r])}function A(t,e,n,i){var r=t.aoData.length,o=O.extend(!0,{},ge.models.oRow,{src:n?"dom":"data",idx:r});o._aData=e,t.aoData.push(o);for(var a=t.aoColumns,s=0,l=a.length;s<l;s++)a[s].sType=null;return t.aiDisplayMaster.push(r),(e=t.rowIdFn(e))!==L&&(t.aIds[e]=o),!n&&t.oFeatures.bDeferRender||g(t,r,n,i),r}function P(n,t){var i;return(t=!(t instanceof O)?O(t):t).map(function(t,e){return i=l(n,e),A(n,i.data,e,i.cells)})}function E(t,e,n,i){var r=t.iDraw,o=t.aoColumns[n],a=t.aoData[e]._aData,s=o.sDefaultContent,l=o.fnGetData(a,i,{settings:t,row:e,col:n});if(l===L)return t.iDrawError!=r&&null===s&&(Lt(t,0,"Requested unknown parameter "+("function"==typeof o.mData?"{function}":"'"+o.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=r),s;if(l!==a&&null!==l||null===s||i===L){if("function"==typeof l)return l.call(a)}else l=s;return null===l&&"display"==i?"":l}function i(t,e,n,i){t.aoColumns[n].fnSetData(t.aoData[e]._aData,i,{settings:t,row:e,col:n})}function c(t){return O.map(t.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\./g,".")})}function R(r){if(O.isPlainObject(r)){var o={};return O.each(r,function(t,e){e&&(o[t]=R(e))}),function(t,e,n,i){var r=o[e]||o._;return r!==L?r(t,e,n,i):t}}if(null===r)return function(t){return t};if("function"==typeof r)return function(t,e,n,i){return r(t,e,n,i)};if("string"!=typeof r||-1===r.indexOf(".")&&-1===r.indexOf("[")&&-1===r.indexOf("("))return function(t){return t[r]};var s=function(t,e,n){var i;if(""!==n)for(var r,o=0,a=(r=c(n)).length;o<a;o++){if(n=r[o].match(ce),i=r[o].match(he),n){if(r[o]=r[o].replace(ce,""),""!==r[o]&&(t=t[r[o]]),i=[],r.splice(0,o+1),r=r.join("."),O.isArray(t))for(o=0,a=t.length;o<a;o++)i.push(s(t[o],e,r));t=""===(t=n[0].substring(1,n[0].length-1))?i:i.join(t);break}if(i)r[o]=r[o].replace(he,""),t=t[r[o]]();else{if(null===t||t[r[o]]===L)return L;t=t[r[o]]}}return t};return function(t,e){return s(t,e,r)}}function p(i){if(O.isPlainObject(i))return p(i._);if(null===i)return function(){};if("function"==typeof i)return function(t,e,n){i(t,"set",e,n)};if("string"!=typeof i||-1===i.indexOf(".")&&-1===i.indexOf("[")&&-1===i.indexOf("("))return function(t,e){t[i]=e};var l=function(t,e,n){for(var i,r,o=(n=c(n))[n.length-1],a=0,s=n.length-1;a<s;a++){if(i=n[a].match(ce),r=n[a].match(he),i){if(n[a]=n[a].replace(ce,""),t[n[a]]=[],(o=n.slice()).splice(0,a+1),i=o.join("."),O.isArray(e))for(r=0,s=e.length;r<s;r++)l(o={},e[r],i),t[n[a]].push(o);else t[n[a]]=e;return}r&&(n[a]=n[a].replace(he,""),t=t[n[a]](e)),null!==t[n[a]]&&t[n[a]]!==L||(t[n[a]]={}),t=t[n[a]]}o.match(he)?t[o.replace(he,"")](e):t[o.replace(ce,"")]=e};return function(t,e){return l(t,e,i)}}function f(t){return se(t.aoData,"_aData")}function s(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function h(t,e,n){for(var i=-1,r=0,o=t.length;r<o;r++)t[r]==e?i=r:t[r]>e&&t[r]--;-1!=i&&n===L&&t.splice(i,1)}function r(n,i,t,e){var r,o=n.aoData[i],a=function(t,e){for(;t.childNodes.length;)t.removeChild(t.firstChild);t.innerHTML=E(n,i,e,"display")};if("dom"!==t&&(t&&"auto"!==t||"dom"!==o.src)){var s=o.anCells;if(s)if(e!==L)a(s[e],e);else for(t=0,r=s.length;t<r;t++)a(s[t],t)}else o._aData=l(n,o,e,e===L?L:o._aData).data;if(o._aSortData=null,o._aFilterData=null,a=n.aoColumns,e!==L)a[e].sType=null;else{for(t=0,r=a.length;t<r;t++)a[t].sType=null;d(n,o)}}function l(t,e,n,i){function r(t,e){var n;"string"!=typeof t||-1!==(n=t.indexOf("@"))&&(n=t.substring(n+1),p(t)(i,e.getAttribute(n)))}function o(t){n!==L&&n!==h||(s=d[h],l=O.trim(t.innerHTML),s&&s._bAttrSrc?(p(s.mData._)(i,l),r(s.mData.sort,t),r(s.mData.type,t),r(s.mData.filter,t)):f?(s._setter||(s._setter=p(s.mData)),s._setter(i,l)):i[h]=l),h++}var a,s,l,u=[],c=e.firstChild,h=0,d=t.aoColumns,f=t._rowReadObject,i=i!==L?i:f?{}:[];if(c)for(;c;)"TD"!=(a=c.nodeName.toUpperCase())&&"TH"!=a||(o(c),u.push(c)),c=c.nextSibling;else for(c=0,a=(u=e.anCells).length;c<a;c++)o(u[c]);return(e=e.firstChild?e:e.nTr)&&(e=e.getAttribute("id"))&&p(t.rowId)(i,e),{data:i,cells:u}}function g(t,e,n,i){var r,o,a,s,l,u=t.aoData[e],c=u._aData,h=[];if(null===u.nTr){for(r=n||v.createElement("tr"),u.nTr=r,u.anCells=h,r._DT_RowIndex=e,d(t,u),s=0,l=t.aoColumns.length;s<l;s++)a=t.aoColumns[s],(o=n?i[s]:v.createElement(a.sCellType))._DT_CellIndex={row:e,column:s},h.push(o),n&&!a.mRender&&a.mData===s||O.isPlainObject(a.mData)&&a.mData._===s+".display"||(o.innerHTML=E(t,e,s,"display")),a.sClass&&(o.className+=" "+a.sClass),a.bVisible&&!n?r.appendChild(o):!a.bVisible&&n&&o.parentNode.removeChild(o),a.fnCreatedCell&&a.fnCreatedCell.call(t.oInstance,o,E(t,e,s),c,e,s);jt(t,"aoRowCreatedCallback",null,[r,c,e])}u.nTr.setAttribute("role","row")}function d(t,e){var n=e.nTr,i=e._aData;n&&((t=t.rowIdFn(i))&&(n.id=t),i.DT_RowClass&&(t=i.DT_RowClass.split(" "),e.__rowc=e.__rowc?le(e.__rowc.concat(t)):t,O(n).removeClass(e.__rowc.join(" ")).addClass(i.DT_RowClass)),i.DT_RowAttr&&O(n).attr(i.DT_RowAttr),i.DT_RowData&&O(n).data(i.DT_RowData))}function m(t){var e,n,i,r,o,a=t.nTHead,s=t.nTFoot,l=0===O("th, td",a).length,u=t.oClasses,c=t.aoColumns;for(l&&(r=O("<tr/>").appendTo(a)),e=0,n=c.length;e<n;e++)o=c[e],i=O(o.nTh).addClass(o.sClass),l&&i.appendTo(r),t.oFeatures.bSort&&(i.addClass(o.sSortingClass),!1!==o.bSortable&&(i.attr("tabindex",t.iTabIndex).attr("aria-controls",t.sTableId),Tt(t,o.nTh,e))),o.sTitle!=i[0].innerHTML&&i.html(o.sTitle),Bt(t,"header")(t,i,o,u);if(l&&z(t.aoHeader,a),O(a).find(">tr").attr("role","row"),O(a).find(">tr>th, >tr>td").addClass(u.sHeaderTH),O(s).find(">tr>th, >tr>td").addClass(u.sFooterTH),null!==s)for(n=(t=t.aoFooter[e=0]).length;e<n;e++)(o=c[e]).nTf=t[e].cell,o.sClass&&O(o.nTf).addClass(o.sClass)}function F(t,e,n){var i,r,o,a,s=[],l=[],u=t.aoColumns.length;if(e){for(n===L&&(n=!1),i=0,r=e.length;i<r;i++){for(s[i]=e[i].slice(),s[i].nTr=e[i].nTr,o=u-1;0<=o;o--)t.aoColumns[o].bVisible||n||s[i].splice(o,1);l.push([])}for(i=0,r=s.length;i<r;i++){if(t=s[i].nTr)for(;o=t.firstChild;)t.removeChild(o);for(o=0,e=s[i].length;o<e;o++)if(a=u=1,l[i][o]===L){for(t.appendChild(s[i][o].cell),l[i][o]=1;s[i+u]!==L&&s[i][o].cell==s[i+u][o].cell;)l[i+u][o]=1,u++;for(;s[i][o+a]!==L&&s[i][o].cell==s[i][o+a].cell;){for(n=0;n<u;n++)l[i+n][o+a]=1;a++}O(s[i][o].cell).attr("rowspan",u).attr("colspan",a)}}}}function j(t){var e=jt(t,"aoPreDrawCallback","preDraw",[t]);if(-1!==O.inArray(!1,e))ft(t,!1);else{var e=[],n=0,i=t.asStripeClasses,r=i.length,o=t.oLanguage,a=t.iInitDisplayStart,s="ssp"==zt(t),l=t.aiDisplay;t.bDrawing=!0,a!==L&&-1!==a&&(t._iDisplayStart=!s&&a>=t.fnRecordsDisplay()?0:a,t.iInitDisplayStart=-1);var a=t._iDisplayStart,u=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,ft(t,!1);else if(s){if(!t.bDestroying&&!q(t))return}else t.iDraw++;if(0!==l.length)for(o=s?t.aoData.length:u,s=s?0:a;s<o;s++){var c,h=l[s],d=t.aoData[h];null===d.nTr&&g(t,h),h=d.nTr,0!==r&&(c=i[n%r],d._sRowStripe!=c&&(O(h).removeClass(d._sRowStripe).addClass(c),d._sRowStripe=c)),jt(t,"aoRowCallback",null,[h,d._aData,n,s]),e.push(h),n++}else n=o.sZeroRecords,1==t.iDraw&&"ajax"==zt(t)?n=o.sLoadingRecords:o.sEmptyTable&&0===t.fnRecordsTotal()&&(n=o.sEmptyTable),e[0]=O("<tr/>",{class:r?i[0]:""}).append(O("<td />",{valign:"top",colSpan:M(t),class:t.oClasses.sRowEmpty}).html(n))[0];jt(t,"aoHeaderCallback","header",[O(t.nTHead).children("tr")[0],f(t),a,u,l]),jt(t,"aoFooterCallback","footer",[O(t.nTFoot).children("tr")[0],f(t),a,u,l]),(i=O(t.nTBody)).children().detach(),i.append(O(e)),jt(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function H(t,e){var n=t.oFeatures,i=n.bFilter;n.bSort&&Ct(t),i?X(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,j(t),t._drawHold=!1}function B(t){var e=t.oClasses,n=O(t.nTable),n=O("<div/>").insertBefore(n),i=t.oFeatures,r=O("<div/>",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=n[0],t.nTableWrapper=r[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var o,a,s,l,u,c,h=t.sDom.split(""),d=0;d<h.length;d++){if(o=null,"<"==(a=h[d])){if(s=O("<div/>")[0],"'"==(l=h[d+1])||'"'==l){for(u="",c=2;h[d+c]!=l;)u+=h[d+c],c++;"H"==u?u=e.sJUIHeader:"F"==u&&(u=e.sJUIFooter),-1!=u.indexOf(".")?(l=u.split("."),s.id=l[0].substr(1,l[0].length-1),s.className=l[1]):"#"==u.charAt(0)?s.id=u.substr(1,u.length-1):s.className=u,d+=c}r.append(s),r=O(s)}else if(">"==a)r=r.parent();else if("l"==a&&i.bPaginate&&i.bLengthChange)o=ut(t);else if("f"==a&&i.bFilter)o=G(t);else if("r"==a&&i.bProcessing)o=dt(t);else if("t"==a)o=pt(t);else if("i"==a&&i.bInfo)o=it(t);else if("p"==a&&i.bPaginate)o=ct(t);else if(0!==ge.ext.feature.length)for(c=0,l=(s=ge.ext.feature).length;c<l;c++)if(a==s[c].cFeature){o=s[c].fnInit(t);break}o&&((s=t.aanFeatures)[a]||(s[a]=[]),s[a].push(o),r.append(o))}n.replaceWith(r),t.nHolding=null}function z(t,e){var n,i,r,o,a,s,l,u,c,h,d=O(e).children("tr");for(t.splice(0,t.length),r=0,s=d.length;r<s;r++)t.push([]);for(r=0,s=d.length;r<s;r++)for(i=(n=d[r]).firstChild;i;){if("TD"==i.nodeName.toUpperCase()||"TH"==i.nodeName.toUpperCase()){for(u=(u=+i.getAttribute("colspan"))&&0!==u&&1!==u?u:1,c=(c=+i.getAttribute("rowspan"))&&0!==c&&1!==c?c:1,o=0,a=t[r];a[o];)o++;for(l=o,h=1===u,a=0;a<u;a++)for(o=0;o<c;o++)t[r+o][l+a]={cell:i,unique:h},t[r+o].nTr=n}i=i.nextSibling}}function W(t,e,n){var i=[];n||(n=t.aoHeader,e&&z(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 $(i,t,e){var r,o;jt(i,"aoServerParams","serverParams",[t]),t&&O.isArray(t)&&(r={},o=/(.*?)\[\]$/,O.each(t,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}),t=r);function n(t){jt(i,null,"xhr",[i,t,i.jqXHR]),e(t)}var a,s,l=i.ajax,u=i.oInstance;O.isPlainObject(l)&&l.data&&(a=l.data,s=O.isFunction(a)?a(t,i):a,t=O.isFunction(a)&&s?s:O.extend(!0,t,s),delete l.data),s={data:t,success:function(t){var e=t.error||t.sError;e&&Lt(i,0,e),i.json=t,n(t)},dataType:"json",cache:!1,type:i.sServerMethod,error:function(t,e){var n=jt(i,null,"xhr",[i,null,i.jqXHR]);-1===O.inArray(!0,n)&&("parsererror"==e?Lt(i,0,"Invalid JSON response",1):4===t.readyState&&Lt(i,0,"Ajax error",7)),ft(i,!1)}},i.oAjaxData=t,jt(i,null,"preXhr",[i,t]),i.fnServerData?i.fnServerData.call(u,i.sAjaxSource,O.map(t,function(t,e){return{name:e,value:t}}),n,i):i.sAjaxSource||"string"==typeof l?i.jqXHR=O.ajax(O.extend(s,{url:l||i.sAjaxSource})):O.isFunction(l)?i.jqXHR=l.call(u,t,n,i):(i.jqXHR=O.ajax(O.extend(s,l)),l.data=a)}function q(e){return!e.bAjaxDataGet||(e.iDraw++,ft(e,!0),$(e,t(e),function(t){U(e,t)}),!1)}function t(t){function n(t,e){u.push({name:t,value:e})}var e,i,r=t.aoColumns,o=r.length,a=t.oFeatures,s=t.oPreviousSearch,l=t.aoPreSearchCols,u=[],c=_t(t),h=t._iDisplayStart,d=!1!==a.bPaginate?t._iDisplayLength:-1;n("sEcho",t.iDraw),n("iColumns",o),n("sColumns",se(r,"sName").join(",")),n("iDisplayStart",h),n("iDisplayLength",d);var f={draw:t.iDraw,columns:[],order:[],start:h,length:d,search:{value:s.sSearch,regex:s.bRegex}};for(h=0;h<o;h++)e=r[h],i=l[h],d="function"==typeof e.mData?"function":e.mData,f.columns.push({data:d,name:e.sName,searchable:e.bSearchable,orderable:e.bSortable,search:{value:i.sSearch,regex:i.bRegex}}),n("mDataProp_"+h,d),a.bFilter&&(n("sSearch_"+h,i.sSearch),n("bRegex_"+h,i.bRegex),n("bSearchable_"+h,e.bSearchable)),a.bSort&&n("bSortable_"+h,e.bSortable);return a.bFilter&&(n("sSearch",s.sSearch),n("bRegex",s.bRegex)),a.bSort&&(O.each(c,function(t,e){f.order.push({column:e.col,dir:e.dir}),n("iSortCol_"+t,e.col),n("sSortDir_"+t,e.dir)}),n("iSortingCols",c.length)),null===(r=ge.ext.legacy.ajax)?t.sAjaxSource?u:f:r?u:f}function U(t,e){var n=Y(t,e),i=e.sEcho!==L?e.sEcho:e.draw,r=e.iTotalRecords!==L?e.iTotalRecords:e.recordsTotal,o=e.iTotalDisplayRecords!==L?e.iTotalDisplayRecords:e.recordsFiltered;if(i){if(+i<t.iDraw)return;t.iDraw=+i}for(s(t),t._iRecordsTotal=parseInt(r,10),t._iRecordsDisplay=parseInt(o,10),i=0,r=n.length;i<r;i++)A(t,n[i]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,j(t),t._bInitComplete||st(t,e),t.bAjaxDataGet=!0,ft(t,!1)}function Y(t,e){t=O.isPlainObject(t.ajax)&&t.ajax.dataSrc!==L?t.ajax.dataSrc:t.sAjaxDataProp;return"data"===t?e.aaData||e[t]:""!==t?R(t)(e):e}function G(n){var t=n.oClasses,e=n.sTableId,i=n.oLanguage,r=n.oPreviousSearch,o=n.aanFeatures,a='<input type="search" class="'+t.sFilterInput+'"/>',s=(s=i.sSearch).match(/_INPUT_/)?s.replace("_INPUT_",a):s+a,t=O("<div/>",{id:o.f?null:e+"_filter",class:t.sFilter}).append(O("<label/>").append(s)),o=function(){var t=this.value||"";t!=r.sSearch&&(X(n,{sSearch:t,bRegex:r.bRegex,bSmart:r.bSmart,bCaseInsensitive:r.bCaseInsensitive}),n._iDisplayStart=0,j(n))},a=null!==n.searchDelay?n.searchDelay:"ssp"===zt(n)?400:0,l=O("input",t).val(r.sSearch).attr("placeholder",i.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT",a?vt(o,a):o).bind("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",e);return O(n.nTable).on("search.dt.DT",function(t,e){if(n===e)try{l[0]!==v.activeElement&&l.val(r.sSearch)}catch(t){}}),t[0]}function X(t,e,n){function i(t){r.sSearch=t.sSearch,r.bRegex=t.bRegex,r.bSmart=t.bSmart,r.bCaseInsensitive=t.bCaseInsensitive}var r=t.oPreviousSearch,o=t.aoPreSearchCols;if(a(t),"ssp"!=zt(t)){for(K(t,e.sSearch,n,e.bEscapeRegex!==L?!e.bEscapeRegex:e.bRegex,e.bSmart,e.bCaseInsensitive),i(e),e=0;e<o.length;e++)Z(t,o[e].sSearch,e,o[e].bEscapeRegex!==L?!o[e].bEscapeRegex:o[e].bRegex,o[e].bSmart,o[e].bCaseInsensitive);V(t)}else i(e);t.bFiltered=!0,jt(t,null,"search",[t])}function V(t){for(var e,n,i=ge.ext.search,r=t.aiDisplay,o=0,a=i.length;o<a;o++){for(var s=[],l=0,u=r.length;l<u;l++)n=r[l],e=t.aoData[n],i[o](t,e._aFilterData,n,e._aData,l)&&s.push(n);r.length=0,O.merge(r,s)}}function Z(t,e,n,i,r,o){if(""!==e)for(var a=t.aiDisplay,i=J(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 K(t,e,n,i,r,o){var a,i=J(e,i,r,o),r=t.oPreviousSearch.sSearch,o=t.aiDisplayMaster;if(0!==ge.ext.search.length&&(n=!0),a=tt(t),e.length<=0)t.aiDisplay=o.slice();else for((a||n||r.length>e.length||0!==e.indexOf(r)||t.bSorted)&&(t.aiDisplay=o.slice()),n=(e=t.aiDisplay).length-1;0<=n;n--)i.test(t.aoData[e[n]]._sFilterRow)||e.splice(n,1)}function J(t,e,n,i){return t=e?t:Q(t),n&&(t="^(?=.*?"+O.map(t.match(/"[^"]+"|[^ ]+/g)||[""],function(t){var e;return(t='"'===t.charAt(0)?(e=t.match(/^"(.*)"$/))?e[1]:t:t).replace('"',"")}).join(")(?=.*?")+").*$"),RegExp(t,i?"i":"")}function Q(t){return t.replace(oe,"\\$1")}function tt(t){for(var e,n,i,r,o,a=t.aoColumns,s=ge.ext.type.search,l=!1,u=0,c=t.aoData.length;u<c;u++)if(!(o=t.aoData[u])._aFilterData){for(i=[],e=0,n=a.length;e<n;e++)(l=a[e]).bSearchable?(r=E(t,u,e,"filter"),"string"!=typeof(r=null===(r=s[l.sType]?s[l.sType](r):r)?"":r)&&r.toString&&(r=r.toString())):r="",r.indexOf&&-1!==r.indexOf("&")&&(de.innerHTML=r,r=fe?de.textContent:de.innerText),r.replace&&(r=r.replace(/[\r\n]/g,"")),i.push(r);o._aFilterData=i,o._sFilterRow=i.join(" "),l=!0}return l}function et(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function nt(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function it(t){var e=t.sTableId,n=t.aanFeatures.i,i=O("<div/>",{class:t.oClasses.sInfo,id:n?null:e+"_info"});return n||(t.aoDrawCallback.push({fn:rt,sName:"information"}),i.attr("role","status").attr("aria-live","polite"),O(t.nTable).attr("aria-describedby",e+"_info")),i[0]}function rt(t){var e,n,i,r,o,a,s=t.aanFeatures.i;0!==s.length&&(e=t.oLanguage,n=t._iDisplayStart+1,i=t.fnDisplayEnd(),r=t.fnRecordsTotal(),a=(o=t.fnRecordsDisplay())?e.sInfo:e.sInfoEmpty,o!==r&&(a+=" "+e.sInfoFiltered),a=ot(t,a+=e.sInfoPostFix),null!==(e=e.fnInfoCallback)&&(a=e.call(t.oInstance,t,n,i,r,o,a)),O(s).html(a))}function ot(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 at(n){var i,t,r=n.iInitDisplayStart,e=n.aoColumns,o=n.oFeatures,a=n.bDeferLoading;if(n.bInitialised){for(B(n),m(n),F(n,n.aoHeader),F(n,n.aoFooter),ft(n,!0),o.bAutoWidth&&yt(n),i=0,o=e.length;i<o;i++)(t=e[i]).sWidth&&(t.nTh.style.width=St(t.sWidth));jt(n,null,"preInit",[n]),H(n),"ssp"==(e=zt(n))&&!a||("ajax"==e?$(n,[],function(t){var e=Y(n,t);for(i=0;i<e.length;i++)A(n,e[i]);n.iInitDisplayStart=r,H(n),ft(n,!1),st(n,t)}):(ft(n,!1),st(n)))}else setTimeout(function(){at(n)},200)}function st(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&I(t),jt(t,null,"plugin-init",[t,e]),jt(t,"aoInitComplete","init",[t,e])}function lt(t,e){e=parseInt(e,10);t._iDisplayLength=e,Ht(t),jt(t,null,"length",[t,e])}function ut(i){for(var t=i.oClasses,e=i.sTableId,n=i.aLengthMenu,r=(o=O.isArray(n[0]))?n[0]:n,n=o?n[1]:n,o=O("<select/>",{name:e+"_length","aria-controls":e,class:t.sLengthSelect}),a=0,s=r.length;a<s;a++)o[0][a]=new Option(n[a],r[a]);var l=O("<div><label/></div>").addClass(t.sLength);return i.aanFeatures.l||(l[0].id=e+"_length"),l.children().append(i.oLanguage.sLengthMenu.replace("_MENU_",o[0].outerHTML)),O("select",l).val(i._iDisplayLength).bind("change.DT",function(){lt(i,O(this).val()),j(i)}),O(i.nTable).bind("length.dt.DT",function(t,e,n){i===e&&O("select",l).val(n)}),l[0]}function ct(t){function a(t){j(t)}var e=t.sPaginationType,s=ge.ext.pager[e],l="function"==typeof s,e=O("<div/>").addClass(t.oClasses.sPaging+e)[0],u=t.aanFeatures;return l||s.fnInit(t,e,a),u.p||(e.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(l)for(var e=t._iDisplayStart,n=t._iDisplayLength,i=t.fnRecordsDisplay(),e=(r=-1===n)?0:Math.ceil(e/n),n=r?1:Math.ceil(i/n),i=s(e,n),r=0,o=u.p.length;r<o;r++)Bt(t,"pageButton")(t,u.p[r],r,i,e,n);else s.fnUpdate(t,a)},sName:"pagination"})),e}function ht(t,e,n){var i=t._iDisplayStart,r=t._iDisplayLength,o=t.fnRecordsDisplay();return 0===o||-1===r?i=0:"number"==typeof e?o<(i=e*r)&&(i=0):"first"==e?i=0:"previous"==e?(i=0<=r?i-r:0)<0&&(i=0):"next"==e?i+r<o&&(i+=r):"last"==e?i=Math.floor((o-1)/r)*r:Lt(t,0,"Unknown paging action: "+e,5),e=t._iDisplayStart!==i,t._iDisplayStart=i,e&&(jt(t,null,"page",[t]),n&&j(t)),e}function dt(t){return O("<div/>",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function ft(t,e){t.oFeatures.bProcessing&&O(t.aanFeatures.r).css("display",e?"block":"none"),jt(t,null,"processing",[t,e])}function pt(t){var e=O(t.nTable);e.attr("role","grid");var n=t.oScroll;if(""===n.sX&&""===n.sY)return t.nTable;var i=n.sX,r=n.sY,o=t.oClasses,a=e.children("caption"),s=a.length?a[0]._captionSide:null,l=O(e[0].cloneNode(!1)),u=O(e[0].cloneNode(!1)),c=e.children("tfoot");c.length||(c=null),l=O("<div/>",{class:o.sScrollWrapper}).append(O("<div/>",{class:o.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:i?i?St(i):null:"100%"}).append(O("<div/>",{class:o.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===s?a:null).append(e.children("thead"))))).append(O("<div/>",{class:o.sScrollBody}).css({position:"relative",overflow:"auto",width:i?St(i):null}).append(e)),c&&l.append(O("<div/>",{class:o.sScrollFoot}).css({overflow:"hidden",border:0,width:i?i?St(i):null:"100%"}).append(O("<div/>",{class:o.sScrollFootInner}).append(u.removeAttr("id").css("margin-left",0).append("bottom"===s?a:null).append(e.children("tfoot")))));var h=(e=l.children())[0],o=e[1],d=c?e[2]:null;return i&&O(o).on("scroll.DT",function(){var t=this.scrollLeft;h.scrollLeft=t,c&&(d.scrollLeft=t)}),O(o).css(r&&n.bCollapse?"max-height":"height",r),t.nScrollHead=h,t.nScrollBody=o,t.nScrollFoot=d,t.aoDrawCallback.push({fn:gt,sName:"scrolling"}),l[0]}function gt(n){function t(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0}var e,i,r,o,a=(u=n.oScroll).sX,s=u.sXInner,l=u.sY,u=u.iBarWidth,c=O(n.nScrollHead),h=c[0].style,d=(p=c.children("div"))[0].style,f=p.children("table"),p=n.nScrollBody,g=O(p),m=p.style,y=O(n.nScrollFoot).children("div"),v=y.children("table"),b=O(n.nTHead),x=O(n.nTable),w=x[0],S=w.style,_=n.nTFoot?O(n.nTFoot):null,C=n.oBrowser,k=C.bScrollOversize,M=se(n.aoColumns,"nTh"),T=[],D=[],A=[],P=[],E=p.scrollHeight>p.clientHeight;n.scrollBarVis!==E&&n.scrollBarVis!==L?(n.scrollBarVis=E,I(n)):(n.scrollBarVis=E,x.children("thead, tfoot").remove(),_&&(i=_.clone().prependTo(x),e=_.find("tr"),i=i.find("tr")),r=b.clone().prependTo(x),b=b.find("tr"),E=r.find("tr"),r.find("th, td").removeAttr("tabindex"),a||(m.width="100%",c[0].style.width="100%"),O.each(W(n,r),function(t,e){o=N(n,t),e.style.width=n.aoColumns[o].sWidth}),_&&mt(function(t){t.style.width=""},i),c=x.outerWidth(),""===a?(S.width="100%",k&&(x.find("tbody").height()>p.offsetHeight||"scroll"==g.css("overflow-y"))&&(S.width=St(x.outerWidth()-u)),c=x.outerWidth()):""!==s&&(S.width=St(s),c=x.outerWidth()),mt(t,E),mt(function(t){A.push(t.innerHTML),T.push(St(O(t).css("width")))},E),mt(function(t,e){-1!==O.inArray(t,M)&&(t.style.width=T[e])},b),O(E).height(0),_&&(mt(t,i),mt(function(t){P.push(t.innerHTML),D.push(St(O(t).css("width")))},i),mt(function(t,e){t.style.width=D[e]},e),O(i).height(0)),mt(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+A[e]+"</div>",t.style.width=T[e]},E),_&&mt(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+P[e]+"</div>",t.style.width=D[e]},i),x.outerWidth()<c?(e=p.scrollHeight>p.offsetHeight||"scroll"==g.css("overflow-y")?c+u:c,k&&(p.scrollHeight>p.offsetHeight||"scroll"==g.css("overflow-y"))&&(S.width=St(e-u)),""!==a&&""===s||Lt(n,1,"Possible column misalignment",6)):e="100%",m.width=St(e),h.width=St(e),_&&(n.nScrollFoot.style.width=St(e)),!l&&k&&(m.height=St(w.offsetHeight+u)),a=x.outerWidth(),f[0].style.width=St(a),d.width=St(a),s=x.height()>p.clientHeight||"scroll"==g.css("overflow-y"),d[l="padding"+(C.bScrollbarLeft?"Left":"Right")]=s?u+"px":"0px",_&&(v[0].style.width=St(a),y[0].style.width=St(a),y[0].style[l]=s?u+"px":"0px"),x.children("colgroup").insertBefore(x.children("thead")),g.scroll(),!n.bSorted&&!n.bFiltered||n._drawHold||(p.scrollTop=0))}function mt(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 yt(t){var e,n,i=t.nTable,r=t.aoColumns,o=(g=t.oScroll).sY,a=g.sX,s=g.sXInner,l=r.length,u=T(t,"bVisible"),c=O("th",t.nTHead),h=i.getAttribute("width"),d=i.parentNode,f=!1,p=t.oBrowser,g=p.bScrollOversize;for((e=i.style.width)&&-1!==e.indexOf("%")&&(h=e),e=0;e<u.length;e++)null!==(n=r[u[e]]).sWidth&&(n.sWidth=bt(n.sWidthOrig,d),f=!0);if(g||!f&&!a&&!o&&l==M(t)&&l==c.length)for(e=0;e<l;e++)null!==(u=N(t,e))&&(r[u].sWidth=St(c.eq(e).width()));else{(l=O(i).clone().css("visibility","hidden").removeAttr("id")).find("tbody tr").remove();var m=O("<tr/>").appendTo(l.find("tbody"));for(l.find("thead, tfoot").remove(),l.append(O(t.nTHead).clone()).append(O(t.nTFoot).clone()),l.find("tfoot th, tfoot td").css("width",""),c=W(t,l.find("thead")[0]),e=0;e<u.length;e++)n=r[u[e]],c[e].style.width=null!==n.sWidthOrig&&""!==n.sWidthOrig?St(n.sWidthOrig):"",n.sWidthOrig&&a&&O(c[e]).append(O("<div/>").css({width:n.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(t.aoData.length)for(e=0;e<u.length;e++)n=r[f=u[e]],O(xt(t,f)).clone(!1).append(n.sContentPadding).appendTo(m);for(O("[name]",l).removeAttr("name"),n=O("<div/>").css(a||o?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(l).appendTo(d),a&&s?l.width(s):a?(l.css("width","auto"),l.removeAttr("width"),l.width()<d.clientWidth&&h&&l.width(d.clientWidth)):o?l.width(d.clientWidth):h&&l.width(h),e=o=0;e<u.length;e++)s=(d=O(c[e])).outerWidth()-d.width(),o+=d=p.bBounding?Math.ceil(c[e].getBoundingClientRect().width):d.outerWidth(),r[u[e]].sWidth=St(d-s);i.style.width=St(o),n.remove()}h&&(i.style.width=St(h)),!h&&!a||t._reszEvt||(i=function(){O(y).bind("resize.DT-"+t.sInstance,vt(function(){I(t)}))},g?setTimeout(i,1e3):i(),t._reszEvt=!0)}function vt(i,t){var r,o,a=t!==L?t:200;return function(){var t=this,e=+new Date,n=arguments;r&&e<r+a?(clearTimeout(o),o=setTimeout(function(){r=L,i.apply(t,n)},a)):(r=e,i.apply(t,n))}}function bt(t,e){if(!t)return 0;t=O("<div/>").css("width",St(t)).appendTo(e||v.body),e=t[0].offsetWidth;return t.remove(),e}function xt(t,e){var n=wt(t,e);if(n<0)return null;var i=t.aoData[n];return i.nTr?i.anCells[e]:O("<td/>").html(E(t,n,e,"display"))[0]}function wt(t,e){for(var n,i=-1,r=-1,o=0,a=t.aoData.length;o<a;o++)(n=(n=(n=E(t,o,e,"display")+"").replace(pe,"")).replace(/&nbsp;/g," ")).length>i&&(i=n.length,r=o);return r}function St(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function _t(t){var e,n,i,r=[],o=t.aoColumns,a=t.aaSortingFixed,s=O.isPlainObject(a),l=[],u=function(t){t.length&&!O.isArray(t[0])?l.push(t):O.merge(l,t)};for(O.isArray(a)&&u(a),s&&a.pre&&u(a.pre),u(t.aaSorting),s&&a.post&&u(a.post),t=0;t<l.length;t++)for(s=(u=o[i=l[t][a=0]].aDataSort).length;a<s;a++)n=o[e=u[a]].sType||"string",l[t]._idx===L&&(l[t]._idx=O.inArray(l[t][1],o[e].asSorting)),r.push({src:i,col:e,dir:l[t][1],index:l[t]._idx,type:n,formatter:ge.ext.type.order[n+"-pre"]});return r}function Ct(t){var e,n,i,u,c=[],h=ge.ext.type.order,d=t.aoData,r=0,o=t.aiDisplayMaster;for(a(t),e=0,n=(u=_t(t)).length;e<n;e++)(i=u[e]).formatter&&r++,At(t,i.col);if("ssp"!=zt(t)&&0!==u.length){for(e=0,n=o.length;e<n;e++)c[o[e]]=e;r===u.length?o.sort(function(t,e){for(var n,i,r,o=u.length,a=d[t]._aSortData,s=d[e]._aSortData,l=0;l<o;l++)if(0!==(n=(n=a[(r=u[l]).col])<(i=s[r.col])?-1:i<n?1:0))return"asc"===r.dir?n:-n;return(n=c[t])<(i=c[e])?-1:i<n?1:0}):o.sort(function(t,e){for(var n,i,r,o=u.length,a=d[t]._aSortData,s=d[e]._aSortData,l=0;l<o;l++)if(n=a[(r=u[l]).col],i=s[r.col],0!==(n=(r=h[r.type+"-"+r.dir]||h["string-"+r.dir])(n,i)))return n;return(n=c[t])<(i=c[e])?-1:i<n?1:0})}t.bSorted=!0}function kt(t){for(var e=t.aoColumns,n=_t(t),t=t.oLanguage.oAria,i=0,r=e.length;i<r;i++){var o,a=(o=e[i]).asSorting,s=o.sTitle.replace(/<.*?>/g,""),l=o.nTh;l.removeAttribute("aria-sort"),o.bSortable&&(s+="asc"===(o=0<n.length&&n[0].col==i?(l.setAttribute("aria-sort","asc"==n[0].dir?"ascending":"descending"),a[n[0].index+1]||a[0]):a[0])?t.sSortAscending:t.sSortDescending),l.setAttribute("aria-label",s)}}function Mt(t,e,n,i){function r(t,e){var n=t._idx;return(n=n===L?O.inArray(t[1],a):n)+1<a.length?n+1:e?null:0}var o=t.aaSorting,a=t.aoColumns[e].asSorting;"number"==typeof o[0]&&(o=t.aaSorting=[o]),n&&t.oFeatures.bSortMulti?-1!==(n=O.inArray(e,se(o,"0")))?null===(e=null===(e=r(o[n],!0))&&1===o.length?0:e)?o.splice(n,1):(o[n][1]=a[e],o[n]._idx=e):(o.push([e,a[0],0]),o[o.length-1]._idx=0):o.length&&o[0][0]==e?(e=r(o[0]),o.length=1,o[0][1]=a[e],o[0]._idx=e):(o.length=0,o.push([e,a[0]]),o[0]._idx=0),H(t),"function"==typeof i&&i(t)}function Tt(e,t,n,i){var r=e.aoColumns[n];Rt(t,{},function(t){!1!==r.bSortable&&(e.oFeatures.bProcessing?(ft(e,!0),setTimeout(function(){Mt(e,n,t.shiftKey,i),"ssp"!==zt(e)&&ft(e,!1)},0)):Mt(e,n,t.shiftKey,i))})}function Dt(t){var e,n,i=t.aLastSort,r=t.oClasses.sSortColumn,o=_t(t),a=t.oFeatures;if(a.bSort&&a.bSortClasses){for(a=0,e=i.length;a<e;a++)n=i[a].src,O(se(t.aoData,"anCells",n)).removeClass(r+(a<2?a+1:3));for(a=0,e=o.length;a<e;a++)n=o[a].src,O(se(t.aoData,"anCells",n)).addClass(r+(a<2?a+1:3))}t.aLastSort=o}function At(t,e){var n,i=t.aoColumns[e],r=ge.ext.order[i.sSortDataType];r&&(n=r.call(t.oInstance,t,e,u(t,e)));for(var o,a=ge.ext.type.order[i.sType+"-pre"],s=0,l=t.aoData.length;s<l;s++)(i=t.aoData[s])._aSortData||(i._aSortData=[]),i._aSortData[e]&&!r||(o=r?n[s]:E(t,s,e,"sort"),i._aSortData[e]=a?a(o):o)}function Pt(n){var t;n.oFeatures.bStateSave&&!n.bDestroying&&(t={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:O.extend(!0,[],n.aaSorting),search:et(n.oPreviousSearch),columns:O.map(n.aoColumns,function(t,e){return{visible:t.bVisible,search:et(n.aoPreSearchCols[e])}})},jt(n,"aoStateSaveParams","stateSaveParams",[n,t]),n.oSavedState=t,n.fnStateSaveCallback.call(n.oInstance,n,t))}function Et(n){var t,e,i=n.aoColumns;if(n.oFeatures.bStateSave){var r=n.fnStateLoadCallback.call(n.oInstance,n);if(r&&r.time&&(t=jt(n,"aoStateLoadParams","stateLoadParams",[n,r]),-1===O.inArray(!1,t)&&(!(0<(t=n.iStateDuration)&&r.time<+new Date-1e3*t)&&i.length===r.columns.length))){for(n.oLoadedState=O.extend(!0,{},r),r.start!==L&&(n._iDisplayStart=r.start,n.iInitDisplayStart=r.start),r.length!==L&&(n._iDisplayLength=r.length),r.order!==L&&(n.aaSorting=[],O.each(r.order,function(t,e){n.aaSorting.push(e[0]>=i.length?[0,e[1]]:e)})),r.search!==L&&O.extend(n.oPreviousSearch,nt(r.search)),t=0,e=r.columns.length;t<e;t++){var o=r.columns[t];o.visible!==L&&(i[t].bVisible=o.visible),o.search!==L&&O.extend(n.aoPreSearchCols[t],nt(o.search))}jt(n,"aoStateLoaded","stateLoaded",[n,r])}}}function Ot(t){var e=ge.settings;return-1!==(t=O.inArray(t,se(e,"nTable")))?e[t]:null}function Lt(t,e,n,i){if(n="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+n,i&&(n+=". For more information about this error, please see http://datatables.net/tn/"+i),e)y.console&&console.log&&console.log(n);else if(e=(e=ge.ext).sErrMode||e.errMode,t&&jt(t,null,"error",[t,i,n]),"alert"==e)alert(n);else{if("throw"==e)throw Error(n);"function"==typeof e&&e(t,i,n)}}function It(n,i,t,e){O.isArray(t)?O.each(t,function(t,e){O.isArray(e)?It(n,i,e[0],e[1]):It(n,i,e)}):(e===L&&(e=t),i[t]!==L&&(n[e]=i[t]))}function Nt(t,e,n){var i,r;for(r in e)e.hasOwnProperty(r)&&(i=e[r],O.isPlainObject(i)?(O.isPlainObject(t[r])||(t[r]={}),O.extend(!0,t[r],i)):t[r]=n&&"data"!==r&&"aaData"!==r&&O.isArray(i)?i.slice():i);return t}function Rt(e,t,n){O(e).bind("click.DT",t,function(t){e.blur(),n(t)}).bind("keypress.DT",t,function(t){13===t.which&&(t.preventDefault(),n(t))}).bind("selectstart.DT",function(){return!1})}function Ft(t,e,n,i){n&&t[e].push({fn:n,sName:i})}function jt(e,t,n,i){var r=[];return t&&(r=O.map(e[t].slice().reverse(),function(t){return t.fn.apply(e.oInstance,i)})),null!==n&&(t=O.Event(n+".dt"),O(e.nTable).trigger(t,i),r.push(t.result)),r}function Ht(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),i=t._iDisplayLength;n<=e&&(e=n-i),e-=e%i,t._iDisplayStart=e=-1===i||e<0?0:e}function Bt(t,e){var n=t.renderer,t=ge.ext.renderer[e];return O.isPlainObject(n)&&n[e]?t[n[e]]||t._:"string"==typeof n&&t[n]||t._}function zt(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function Wt(t,e){var n=[],n=Ee.numbers_length,i=Math.floor(n/2);return e<=n?n=Zt(0,e):t<=i?((n=Zt(0,n-2)).push("ellipsis"),n.push(e-1)):(e-1-i<=t?n=Zt(e-(n-2),e):((n=Zt(t-i+2,t+i-1)).push("ellipsis"),n.push(e-1)),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}function $t(n){O.each({num:function(t){return Oe(t,n)},"num-fmt":function(t){return Oe(t,n,ae)},"html-num":function(t){return Oe(t,n,ne)},"html-num-fmt":function(t){return Oe(t,n,ne,ae)}},function(t,e){Jt.type.order[t+n+"-pre"]=e,t.match(/^html\-/)&&(Jt.type.search[t+n]=Jt.type.search.html)})}function e(e){return function(){var t=[Ot(this[ge.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return ge.ext.internal[e].apply(this,t)}}function qt(t){return!t||!0===t||"-"===t}function Ut(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null}function Yt(t,e){return te[e]||(te[e]=RegExp(Q(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(te[e],"."):t}function Gt(t,e,n){var i="string"==typeof t;return!!qt(t)||(e&&i&&(t=Yt(t,e)),n&&i&&(t=t.replace(ae,"")),!isNaN(parseFloat(t))&&isFinite(t))}function Xt(t,e,n){return!!qt(t)||((qt(t)||"string"==typeof t)&&!!Gt(t.replace(ne,""),e,n)||null)}function Vt(t,e,n,i){var r=[],o=0,a=e.length;if(i!==L)for(;o<a;o++)t[e[o]][n]&&r.push(t[e[o]][n][i]);else for(;o<a;o++)r.push(t[e[o]][n]);return r}function Zt(t,e){var n,i=[];e===L?(e=0,n=t):(n=e,e=t);for(var r=e;r<n;r++)i.push(r);return i}function Kt(t){for(var e=[],n=0,i=t.length;n<i;n++)t[n]&&e.push(t[n]);return e}var Jt,Qt,te={},ee=/[\r\n]/g,ne=/<.*?>/g,ie=/^[\w\+\-]/,re=/[\w\+\-]$/,oe=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),ae=/[',$£¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,se=function(t,e,n){var i=[],r=0,o=t.length;if(n!==L)for(;r<o;r++)t[r]&&t[r][e]&&i.push(t[r][e][n]);else for(;r<o;r++)t[r]&&i.push(t[r][e]);return i},le=function(t){var e,n,i=[],r=t.length,o=0,a=0;t:for(;a<r;a++){for(e=t[a],n=0;n<o;n++)if(i[n]===e)continue t;i.push(e),o++}return i},ue=function(t,e,n){t[e]!==L&&(t[n]=t[e])},ce=/\[.*?\]$/,he=/\(\)$/,de=O("<div>")[0],fe=de.textContent!==L,pe=/<.*?>/g,ge=function(p){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 ve(t?Ot(this[Jt.iApiIndex]):this)},this.fnAddData=function(t,e){var n=this.api(!0),t=(O.isArray(t)&&(O.isArray(t[0])||O.isPlainObject(t[0]))?n.rows:n.row).add(t);return e!==L&&!e||n.draw(),t.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],i=n.oScroll;t===L||t?e.draw(!1):""===i.sX&&""===i.sY||gt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();t!==L&&!t||e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var i=this.api(!0),r=(t=i.rows(t)).settings()[0],o=r.aoData[t[0][0]];return t.remove(),e&&e.call(this,r,o),n!==L&&!n||i.draw(),o},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,i,r,o){r=this.api(!0),(null===e||e===L?r:r.column(e)).search(t,n,i,o),r.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t===L)return n.data().toArray();var i=t.nodeName?t.nodeName.toLowerCase():"";return e!==L||"td"==i||"th"==i?n.cell(t,e).data():n.row(t).data()||null},this.fnGetNodes=function(t){var e=this.api(!0);return t!==L?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()).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){t=this.api(!0).page(t);e!==L&&!e||t.draw(!1)},this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e),n!==L&&!n||t.columns.adjust().draw()},this.fnSettings=function(){return Ot(this[Jt.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,i,r){var o=this.api(!0);return(n===L||null===n?o.row(e):o.cell(e,n)).data(t),r!==L&&!r||o.columns.adjust(),i!==L&&!i||o.draw(),0},this.fnVersionCheck=Jt.fnVersionCheck;var t,g=this,m=p===L,y=this.length;for(t in m&&(p={}),this.oApi=this.internal=Jt.internal,ge.ext.internal)t&&(this[t]=e(t));return this.each(function(){var t={},t=1<y?Nt(t,p,!0):p,e=0,n=this.getAttribute("id"),i=!1,r=ge.defaults,o=O(this);if("table"!=this.nodeName.toLowerCase())Lt(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{w(r),S(r.column),b(r,r,!0),b(r.column,r.column,!0),b(r,O.extend(t,o.data()));for(var a=ge.settings,e=0,s=a.length;e<s;e++){var l=a[e];if(l.nTable==this||l.nTHead.parentNode==this||l.nTFoot&&l.nTFoot.parentNode==this){if(e=(t.bRetrieve!==L?t:r).bRetrieve,m||e)return l.oInstance;if((t.bDestroy!==L?t:r).bDestroy){l.oInstance.fnDestroy();break}return void Lt(l,0,"Cannot reinitialise DataTable",3)}if(l.sTableId==this.id){a.splice(e,1);break}}null!==n&&""!==n||(this.id=n="DataTables_Table_"+ge.ext._unique++);var u=O.extend(!0,{},ge.models.oSettings,{sDestroyWidth:o[0].style.width,sInstance:n,sTableId:n});u.nTable=this,u.oApi=g.internal,u.oInit=t,a.push(u),u.oInstance=1===g.length?g:o.dataTable(),w(t),t.oLanguage&&x(t.oLanguage),t.aLengthMenu&&!t.iDisplayLength&&(t.iDisplayLength=(O.isArray(t.aLengthMenu[0])?t.aLengthMenu[0]:t.aLengthMenu)[0]),t=Nt(O.extend(!0,{},r),t),It(u.oFeatures,t,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" ")),It(u,t,["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"]]),It(u.oScroll,t,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),It(u.oLanguage,t,"fnInfoCallback"),Ft(u,"aoDrawCallback",t.fnDrawCallback,"user"),Ft(u,"aoServerParams",t.fnServerParams,"user"),Ft(u,"aoStateSaveParams",t.fnStateSaveParams,"user"),Ft(u,"aoStateLoadParams",t.fnStateLoadParams,"user"),Ft(u,"aoStateLoaded",t.fnStateLoaded,"user"),Ft(u,"aoRowCallback",t.fnRowCallback,"user"),Ft(u,"aoRowCreatedCallback",t.fnCreatedRow,"user"),Ft(u,"aoHeaderCallback",t.fnHeaderCallback,"user"),Ft(u,"aoFooterCallback",t.fnFooterCallback,"user"),Ft(u,"aoInitComplete",t.fnInitComplete,"user"),Ft(u,"aoPreDrawCallback",t.fnPreDrawCallback,"user"),u.rowIdFn=R(t.rowId),_(u),n=u.oClasses,t.bJQueryUI?(O.extend(n,ge.ext.oJUIClasses,t.oClasses),t.sDom===r.sDom&&"lfrtip"===r.sDom&&(u.sDom='<"H"lfr>t<"F"ip>'),u.renderer?O.isPlainObject(u.renderer)&&!u.renderer.header&&(u.renderer.header="jqueryui"):u.renderer="jqueryui"):O.extend(n,ge.ext.classes,t.oClasses),o.addClass(n.sTable),u.iInitDisplayStart===L&&(u.iInitDisplayStart=t.iDisplayStart,u._iDisplayStart=t.iDisplayStart),null!==t.iDeferLoading&&(u.bDeferLoading=!0,e=O.isArray(t.iDeferLoading),u._iRecordsDisplay=e?t.iDeferLoading[0]:t.iDeferLoading,u._iRecordsTotal=e?t.iDeferLoading[1]:t.iDeferLoading);var c=u.oLanguage;O.extend(!0,c,t.oLanguage),""!==c.sUrl&&(O.ajax({dataType:"json",url:c.sUrl,success:function(t){x(t),b(r.oLanguage,t),O.extend(!0,c,t),at(u)},error:function(){at(u)}}),i=!0),null===t.asStripeClasses&&(u.asStripeClasses=[n.sStripeOdd,n.sStripeEven]);var h,e=u.asStripeClasses,d=o.children("tbody").find("tr").eq(0);if(-1!==O.inArray(!0,O.map(e,function(t){return d.hasClass(t)}))&&(O("tbody tr",this).removeClass(e.join(" ")),u.asDestroyStripes=e.slice()),a=[],0!==(e=this.getElementsByTagName("thead")).length&&(z(u.aoHeader,e[0]),a=W(u)),null===t.aoColumns)for(l=[],e=0,s=a.length;e<s;e++)l.push(null);else l=t.aoColumns;for(e=0,s=l.length;e<s;e++)C(u,a?a[e]:null);D(u,t.aoColumnDefs,l,function(t,e){k(u,t,e)}),d.length&&(h=function(t,e){return null!==t.getAttribute("data-"+e)?e:null},O(d[0]).children("th, td").each(function(t,e){var n,i=u.aoColumns[t];i.mData===t&&(n=h(e,"sort")||h(e,"order"),e=h(e,"filter")||h(e,"search"),null===n&&null===e||(i.mData={_:t+".display",sort:null!==n?t+".@data-"+n:L,type:null!==n?t+".@data-"+n:L,filter:null!==e?t+".@data-"+e:L},k(u,t)))}));var f=u.oFeatures;if(t.bStateSave&&(f.bStateSave=!0,Et(u),Ft(u,"aoDrawCallback",Pt,"state_save")),t.aaSorting===L)for(e=0,s=(a=u.aaSorting).length;e<s;e++)a[e][1]=u.aoColumns[e].asSorting[0];if(Dt(u),f.bSort&&Ft(u,"aoDrawCallback",function(){var t,n;u.bSorted&&(t=_t(u),n={},O.each(t,function(t,e){n[e.src]=e.dir}),jt(u,null,"order",[u,t,n]),kt(u))}),Ft(u,"aoDrawCallback",function(){(u.bSorted||"ssp"===zt(u)||f.bDeferRender)&&Dt(u)},"sc"),e=o.children("caption").each(function(){this._captionSide=o.css("caption-side")}),0===(s=o.children("thead")).length&&(s=O("<thead/>").appendTo(this)),u.nTHead=s[0],0===(s=o.children("tbody")).length&&(s=O("<tbody/>").appendTo(this)),u.nTBody=s[0],0===(s=0===(s=o.children("tfoot")).length&&0<e.length&&(""!==u.oScroll.sX||""!==u.oScroll.sY)?O("<tfoot/>").appendTo(this):s).length||0===s.children().length?o.addClass(n.sNoFooter):0<s.length&&(u.nTFoot=s[0],z(u.aoFooter,u.nTFoot)),t.aaData)for(e=0;e<t.aaData.length;e++)A(u,t.aaData[e]);else!u.bDeferLoading&&"dom"!=zt(u)||P(u,O(u.nTBody).children("tr"));u.aiDisplay=u.aiDisplayMaster.slice(),!(u.bInitialised=!0)===i&&at(u)}}),g=null,this},me=[],ye=Array.prototype,ve=function(t,e){if(!(this instanceof ve))return new ve(t,e);function n(t){var e,n,i,r,o;e=t,r=ge.settings,o=O.map(r,function(t){return t.nTable}),(t=e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(n=O.inArray(e,o))?[r[n]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?i=O(e):e instanceof O&&(i=e),i?i.map(function(){return-1!==(n=O.inArray(this,o))?r[n]:null}).toArray():void 0):[])&&(a=a.concat(t))}var a=[];if(O.isArray(t))for(var i=0,r=t.length;i<r;i++)n(t[i]);else n(t);this.context=le(a),e&&O.merge(this,e),this.selector={rows:null,cols:null,opts:null},ve.extend(this,this,me)};ge.Api=ve,O.extend(ve.prototype,{any:function(){return 0!==this.count()},concat:ye.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 ve(e[t],this[t]):null},filter:function(t){var e=[];if(ye.filter)e=ye.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 ve(this.context,e)},flatten:function(){var t=[];return new ve(this.context,t.concat.apply(t,this.toArray()))},join:ye.join,indexOf:ye.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,i){var r,o,a,s,l,u,c,h=[],d=this.context,f=this.selector;for("string"==typeof t&&(i=n,n=e,e=t,t=!1),o=0,a=d.length;o<a;o++){var p=new ve(d[o]);if("table"===e)(r=n.call(p,d[o],o))!==L&&h.push(r);else if("columns"===e||"rows"===e)(r=n.call(p,d[o],this[o],o))!==L&&h.push(r);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(c=this[o],"column-rows"===e&&(u=_e(d[o],f.opts)),s=0,l=c.length;s<l;s++)r=c[s],(r="cell"===e?n.call(p,d[o],r.row,r.column,o,s):n.call(p,d[o],r,o,s,u))!==L&&h.push(r)}return h.length||i?((e=(t=new ve(d,t?h.concat.apply([],h):h)).selector).rows=f.rows,e.cols=f.cols,e.opts=f.opts,t):this},lastIndexOf:ye.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(ye.map)e=ye.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 ve(this.context,e)},pluck:function(e){return this.map(function(t){return t[e]})},pop:ye.pop,push:ye.push,reduce:ye.reduce||function(t,e){return n(this,t,e,0,this.length,1)},reduceRight:ye.reduceRight||function(t,e){return n(this,t,e,this.length-1,-1,-1)},reverse:ye.reverse,selector:null,shift:ye.shift,sort:ye.sort,splice:ye.splice,toArray:function(){return ye.slice.call(this)},to$:function(){return O(this)},toJQuery:function(){return O(this)},unique:function(){return new ve(this.context,le(this))},unshift:ye.unshift}),ve.extend=function(t,e,n){if(n.length&&e&&(e instanceof ve||e.__dt_wrapper))for(var i,r=0,o=n.length;r<o;r++)e[(i=n[r]).name]="function"==typeof i.val?function(e,n,i){return function(){var t=n.apply(e,arguments);return ve.extend(t,t,i.methodExt),t}}(t,i.val,i):O.isPlainObject(i.val)?{}:i.val,e[i.name].__dt_wrapper=!0,ve.extend(t,e[i.name],i.propExt)},ve.register=Qt=function(t,e){if(O.isArray(t))for(var n=0,i=t.length;n<i;n++)ve.register(t[n],e);else for(var r,o=t.split("."),a=me,n=0,i=o.length;n<i;n++){var s=(r=-1!==o[n].indexOf("()"))?o[n].replace("()",""):o[n];t:{for(var l=0,u=a.length;l<u;l++)if(a[l].name===s){l=a[l];break t}l=null}l||a.push(l={name:s,val:{},methodExt:[],propExt:[]}),n===i-1?l.val=e:a=r?l.methodExt:l.propExt}},ve.registerPlural=Pe=function(t,e,n){ve.register(t,n),ve.register(e,function(){var t=n.apply(this,arguments);return t===this?this:t instanceof ve?t.length?O.isArray(t[0])?new ve(t.context,t[0]):t[0]:L:t})},Qt("tables()",function(t){var e,n;return t?(e=this.context,new ve(t="number"==typeof t?[e[t]]:(n=O.map(e,function(t){return t.nTable}),O(n).filter(t).map(function(){var t=O.inArray(this,n);return e[t]}).toArray()))):this}),Qt("table()",function(t){var e=(t=this.tables(t)).context;return e.length?new ve(e[0]):t}),Pe("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),Pe("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),Pe("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),Pe("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),Pe("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),Qt("draw()",function(e){return this.iterator("table",function(t){"page"===e?j(t):H(t,!1===(e="string"==typeof e?"full-hold"!==e:e))})}),Qt("page()",function(e){return e===L?this.page.info().page:this.iterator("table",function(t){ht(t,e)})}),Qt("page.info()",function(){if(0===this.context.length)return L;var t=this.context[0],e=t._iDisplayStart,n=t.oFeatures.bPaginate?t._iDisplayLength:-1,i=t.fnRecordsDisplay(),r=-1===n;return{page:r?0:Math.floor(e/n),pages:r?1:Math.ceil(i/n),start:e,end:t.fnDisplayEnd(),length:n,recordsTotal:t.fnRecordsTotal(),recordsDisplay:i,serverSide:"ssp"===zt(t)}}),Qt("page.len()",function(e){return e===L?0!==this.context.length?this.context[0]._iDisplayLength:L:this.iterator("table",function(t){lt(t,e)})});function be(i,r,t){var e,n;t&&(e=new ve(i)).one("draw",function(){t(e.ajax.json())}),"ssp"==zt(i)?H(i,r):(ft(i,!0),(n=i.jqXHR)&&4!==n.readyState&&n.abort(),$(i,[],function(t){s(i);for(var e=0,n=(t=Y(i,t)).length;e<n;e++)A(i,t[e]);H(i,r),ft(i,!1)}))}Qt("ajax.json()",function(){var t=this.context;if(0<t.length)return t[0].json}),Qt("ajax.params()",function(){var t=this.context;if(0<t.length)return t[0].oAjaxData}),Qt("ajax.reload()",function(e,n){return this.iterator("table",function(t){be(t,!1===n,e)})}),Qt("ajax.url()",function(e){var t=this.context;return e===L?0===t.length?L:(t=t[0]).ajax?O.isPlainObject(t.ajax)?t.ajax.url:t.ajax:t.sAjaxSource:this.iterator("table",function(t){O.isPlainObject(t.ajax)?t.ajax.url=e:t.ajax=e})}),Qt("ajax.url().load()",function(e,n){return this.iterator("table",function(t){be(t,!1===n,e)})});function xe(t,e,n,i,r){var o,a,s,l,u,c=[],h=typeof e;for(e&&"string"!==h&&"function"!==h&&e.length!==L||(e=[e]),h=0,s=e.length;h<s;h++)for(l=0,u=(a=e[h]&&e[h].split?e[h].split(","):[e[h]]).length;l<u;l++)(o=n("string"==typeof a[l]?O.trim(a[l]):a[l]))&&o.length&&(c=c.concat(o));if((t=Jt.selector[t]).length)for(h=0,s=t.length;h<s;h++)c=t[h](i,r,c);return le(c)}function we(t){return(t=t||{}).filter&&t.search===L&&(t.search=t.filter),O.extend({search:"none",order:"current",page:"all"},t)}function Se(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}var _e=function(t,e){var n=[],i=t.aiDisplay,r=t.aiDisplayMaster,o=e.search,a=e.order,s=e.page;if("ssp"==zt(t))return"removed"===o?[]:Zt(0,r.length);if("current"==s)for(r=t._iDisplayStart,a=t.fnDisplayEnd();r<a;r++)n.push(i[r]);else if("current"==a||"applied"==a)n="none"==o?r.slice():"applied"==o?i.slice():O.map(r,function(t){return-1===O.inArray(t,i)?t:null});else if("index"==a||"original"==a)for(r=0,a=t.aoData.length;r<a;r++)"none"==o?n.push(r):(-1===(s=O.inArray(r,i))&&"removed"==o||0<=s&&"applied"==o)&&n.push(r);return n};Qt("rows()",function(t,e){t===L?t="":O.isPlainObject(t)&&(e=t,t="");var e=we(e),n=this.iterator("table",function(i){var r=e;return xe("row",t,function(n){var t=Ut(n);if(null!==t&&!r)return[t];var e=_e(i,r);return null!==t&&-1!==O.inArray(t,e)?[t]:n?"function"==typeof n?O.map(e,function(t){var e=i.aoData[t];return n(t,e._aData,e.nTr)?t:null}):(t=Kt(Vt(i.aoData,e,"nTr")),n.nodeName?n._DT_RowIndex!==L?[n._DT_RowIndex]:n._DT_CellIndex?[n._DT_CellIndex.row]:(t=O(n).closest("*[data-dt-row]")).length?[t.data("dt-row")]:[]:"string"==typeof n&&"#"===n.charAt(0)&&(e=i.aIds[n.replace(/^#/,"")])!==L?[e.idx]:O(t).filter(n).map(function(){return this._DT_RowIndex}).toArray()):e},i,r)},1);return n.selector.rows=t,n.selector.opts=e,n}),Qt("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||L},1)}),Qt("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return Vt(t.aoData,e,"_aData")},1)}),Pe("rows().cache()","row().cache()",function(n){return this.iterator("row",function(t,e){e=t.aoData[e];return"search"===n?e._aFilterData:e._aSortData},1)}),Pe("rows().invalidate()","row().invalidate()",function(n){return this.iterator("row",function(t,e){r(t,e,n)})}),Pe("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),Pe("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 ve(n,e)}),Pe("rows().remove()","row().remove()",function(){var c=this;return this.iterator("row",function(t,e,n){var i,r,o,a,s,l=t.aoData,u=l[e];for(l.splice(e,1),i=0,r=l.length;i<r;i++)if(s=(o=l[i]).anCells,null!==o.nTr&&(o.nTr._DT_RowIndex=i),null!==s)for(o=0,a=s.length;o<a;o++)s[o]._DT_CellIndex.row=i;h(t.aiDisplayMaster,e),h(t.aiDisplay,e),h(c[n],e,!1),Ht(t),(e=t.rowIdFn(u._aData))!==L&&delete t.aIds[e]}),this.iterator("table",function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e}),this}),Qt("rows.add()",function(o){var t=this.iterator("table",function(t){for(var e,n=[],i=0,r=o.length;i<r;i++)(e=o[i]).nodeName&&"TR"===e.nodeName.toUpperCase()?n.push(P(t,e)[0]):n.push(A(t,e));return n},1),e=this.rows(-1);return e.pop(),O.merge(e,t),e}),Qt("row()",function(t,e){return Se(this.rows(t,e))}),Qt("row().data()",function(t){var e=this.context;return t===L?e.length&&this.length?e[0].aoData[this[0]]._aData:L:(e[0].aoData[this[0]]._aData=t,r(e[0],this[0],"data"),this)}),Qt("row().node()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null}),Qt("row.add()",function(e){e instanceof O&&e.length&&(e=e[0]);var t=this.iterator("table",function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?P(t,e)[0]:A(t,e)});return this.row(t[0])});function Ce(t,e){var n=t.context;n.length&&(n=n[0].aoData[e!==L?e:t[0]])&&n._details&&(n._details.remove(),n._detailsShow=L,n._details=L)}function ke(t,e){var a,r,s,n=t.context;n.length&&t.length&&((t=n[0].aoData[t[0]])._details&&((t._detailsShow=e)?t._details.insertAfter(t.nTr):t._details.detach(),a=n[0],r=new ve(a),s=a.aoData,r.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"),0<se(s,"_details").length&&(r.on("draw.dt.DT_details",function(t,e){a===e&&r.rows({page:"current"}).eq(0).each(function(t){(t=s[t])._detailsShow&&t._details.insertAfter(t.nTr)})}),r.on("column-visibility.dt.DT_details",function(t,e){if(a===e)for(var n,i=M(e),r=0,o=s.length;r<o;r++)(n=s[r])._details&&n._details.children("td[colspan]").attr("colspan",i)}),r.on("destroy.dt.DT_details",function(t,e){if(a===e)for(var n=0,i=s.length;n<i;n++)s[n]._details&&Ce(r,n)}))))}Qt("row().child()",function(t,e){var r,o,a,n=this.context;return t===L?n.length&&this.length?n[0].aoData[this[0]]._details:L:(!0===t?this.child.show():!1===t?Ce(this):n.length&&this.length&&(r=n[0],n=n[0].aoData[this[0]],o=[],(a=function(t,e){if(O.isArray(t)||t instanceof O)for(var n=0,i=t.length;n<i;n++)a(t[n],e);else t.nodeName&&"tr"===t.nodeName.toLowerCase()?o.push(t):(n=O("<tr><td/></tr>").addClass(e),O("td",n).addClass(e).html(t)[0].colSpan=M(r),o.push(n[0]))})(t,e),n._details&&n._details.remove(),n._details=O(o),n._detailsShow&&n._details.insertAfter(n.nTr)),this)}),Qt(["row().child.show()","row().child().show()"],function(){return ke(this,!0),this}),Qt(["row().child.hide()","row().child().hide()"],function(){return ke(this,!1),this}),Qt(["row().child.remove()","row().child().remove()"],function(){return Ce(this),this}),Qt("row().child.isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1});function Me(t,e,n,i,r){for(var n=[],i=0,o=r.length;i<o;i++)n.push(E(t,r[i],e));return n}var Te=/^(.+):(name|visIdx|visible)$/;Qt("columns()",function(e,n){e===L?e="":O.isPlainObject(e)&&(n=e,e="");var n=we(n),t=this.iterator("table",function(o){var t=e,a=n,s=o.aoColumns,l=se(s,"sName"),u=se(s,"nTh");return xe("column",t,function(n){var t=Ut(n);if(""===n)return Zt(s.length);if(null!==t)return[0<=t?t:s.length+t];if("function"==typeof n){var i=_e(o,a);return O.map(s,function(t,e){return n(e,Me(o,e,0,0,i),u[e])?e:null})}var r="string"==typeof n?n.match(Te):"";if(r)switch(r[2]){case"visIdx":case"visible":if((t=parseInt(r[1],10))<0){var e=O.map(s,function(t,e){return t.bVisible?e:null});return[e[e.length+t]]}return[N(o,t)];case"name":return O.map(l,function(t,e){return t===r[1]?e:null});default:return[]}return n.nodeName&&n._DT_CellIndex?[n._DT_CellIndex.column]:(t=O(u).filter(n).map(function(){return O.inArray(this,u)}).toArray()).length||!n.nodeName?t:(t=O(n).closest("*[data-dt-column]")).length?[t.data("dt-column")]:[]},o,a)},1);return t.selector.cols=e,t.selector.opts=n,t}),Pe("columns().header()","column().header()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),Pe("columns().footer()","column().footer()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),Pe("columns().data()","column().data()",function(){return this.iterator("column-rows",Me,1)}),Pe("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),Pe("columns().cache()","column().cache()",function(o){return this.iterator("column-rows",function(t,e,n,i,r){return Vt(t.aoData,r,"search"===o?"_aFilterData":"_aSortData",e)},1)}),Pe("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,n,i,r){return Vt(t.aoData,r,"anCells",e)},1)}),Pe("columns().visible()","column().visible()",function(u,c){return this.iterator("column",function(t,e){if(u===L)return t.aoColumns[e].bVisible;var n,i=t.aoColumns,r=i[e],o=t.aoData;if(u!==L&&r.bVisible!==u){if(u)for(var a=O.inArray(!0,se(i,"bVisible"),e+1),s=0,l=o.length;s<l;s++)n=o[s].nTr,i=o[s].anCells,n&&n.insertBefore(i[e],i[a]||null);else O(se(t.aoData,"anCells",e)).detach();r.bVisible=u,F(t,t.aoHeader),F(t,t.aoFooter),c!==L&&!c||I(t),jt(t,null,"column-visibility",[t,e,u,c]),Pt(t)}})}),Pe("columns().indexes()","column().index()",function(n){return this.iterator("column",function(t,e){return"visible"===n?u(t,e):e},1)}),Qt("columns.adjust()",function(){return this.iterator("table",function(t){I(t)},1)}),Qt("column.index()",function(t,e){if(0!==this.context.length){var n=this.context[0];return"fromVisible"===t||"toData"===t?N(n,e):"fromData"===t||"toVisible"===t?u(n,e):void 0}}),Qt("column()",function(t,e){return Se(this.columns(t,e))}),Qt("cells()",function(g,t,m){if(O.isPlainObject(g)&&(g.row===L?(m=g,g=null):(m=t,t=null)),O.isPlainObject(t)&&(m=t,t=null),null===t||t===L)return this.iterator("table",function(n){var i,r,o,a,s,l,u,t=g,e=we(m),c=n.aoData,h=_e(n,e),d=Kt(Vt(c,h,"anCells")),f=O([].concat.apply([],d)),p=n.aoColumns.length;return xe("cell",t,function(t){var e="function"==typeof t;if(null===t||t===L||e){for(r=[],o=0,a=h.length;o<a;o++)for(i=h[o],s=0;s<p;s++)l={row:i,column:s},e?(u=c[i],t(l,E(n,i,s),u.anCells?u.anCells[s]:null)&&r.push(l)):r.push(l);return r}return O.isPlainObject(t)?[t]:(e=f.filter(t).map(function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}}).toArray()).length||!t.nodeName?e:(u=O(t).closest("*[data-dt-row]")).length?[{row:u.data("dt-row"),column:u.data("dt-column")}]:[]},n,e)});var n,i,r,o,a,s=this.columns(t,m),l=this.rows(g,m),e=this.iterator("table",function(t,e){for(n=[],i=0,r=l[e].length;i<r;i++)for(o=0,a=s[e].length;o<a;o++)n.push({row:l[e][i],column:s[e][o]});return n},1);return O.extend(e.selector,{cols:t,rows:g,opts:m}),e}),Pe("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,n){return(t=t.aoData[e])&&t.anCells?t.anCells[n]:L},1)}),Qt("cells().data()",function(){return this.iterator("cell",function(t,e,n){return E(t,e,n)},1)}),Pe("cells().cache()","cell().cache()",function(i){return i="search"===i?"_aFilterData":"_aSortData",this.iterator("cell",function(t,e,n){return t.aoData[e][i][n]},1)}),Pe("cells().render()","cell().render()",function(i){return this.iterator("cell",function(t,e,n){return E(t,e,n,i)},1)}),Pe("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,n){return{row:e,column:n,columnVisible:u(t,n)}},1)}),Pe("cells().invalidate()","cell().invalidate()",function(i){return this.iterator("cell",function(t,e,n){r(t,e,i,n)})}),Qt("cell()",function(t,e,n){return Se(this.cells(t,e,n))}),Qt("cell().data()",function(t){var e=this.context,n=this[0];return t===L?e.length&&n.length?E(e[0],n[0].row,n[0].column):L:(i(e[0],n[0].row,n[0].column,t),r(e[0],n[0].row,"data",n[0].column),this)}),Qt("order()",function(e,t){var n=this.context;return e===L?0!==n.length?n[0].aaSorting:L:("number"==typeof e?e=[[e,t]]:O.isArray(e[0])||(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(t){t.aaSorting=e.slice()}))}),Qt("order.listener()",function(e,n,i){return this.iterator("table",function(t){Tt(t,e,n,i)})}),Qt("order.fixed()",function(e){if(e)return this.iterator("table",function(t){t.aaSortingFixed=O.extend(!0,{},e)});var t=(t=this.context).length?t[0].aaSortingFixed:L;return O.isArray(t)?{pre:t}:t}),Qt(["columns().order()","column().order()"],function(i){var r=this;return this.iterator("table",function(t,e){var n=[];O.each(r[e],function(t,e){n.push([e,i])}),t.aaSorting=n})}),Qt("search()",function(e,n,i,r){var t=this.context;return e===L?0!==t.length?t[0].oPreviousSearch.sSearch:L:this.iterator("table",function(t){t.oFeatures.bFilter&&X(t,O.extend({},t.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===i||i,bCaseInsensitive:null===r||r}),1)})}),Pe("columns().search()","column().search()",function(i,r,o,a){return this.iterator("column",function(t,e){var n=t.aoPreSearchCols;if(i===L)return n[e].sSearch;t.oFeatures.bFilter&&(O.extend(n[e],{sSearch:i+"",bRegex:null!==r&&r,bSmart:null===o||o,bCaseInsensitive:null===a||a}),X(t,t.oPreviousSearch,1))})}),Qt("state()",function(){return this.context.length?this.context[0].oSavedState:null}),Qt("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),Qt("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),Qt("state.save()",function(){return this.iterator("table",function(t){Pt(t)})}),ge.versionCheck=ge.fnVersionCheck=function(t){for(var e,n,i=ge.version.split("."),r=0,o=(t=t.split(".")).length;r<o;r++)if((e=parseInt(i[r],10)||0)!==(n=parseInt(t[r],10)||0))return n<e;return!0},ge.isDataTable=ge.fnIsDataTable=function(t){var r=O(t).get(0),o=!1;return O.each(ge.settings,function(t,e){var n=e.nScrollHead?O("table",e.nScrollHead)[0]:null,i=e.nScrollFoot?O("table",e.nScrollFoot)[0]:null;e.nTable!==r&&n!==r&&i!==r||(o=!0)}),o},ge.tables=ge.fnTables=function(e){var t=!1;O.isPlainObject(e)&&(t=e.api,e=e.visible);var n=O.map(ge.settings,function(t){if(!e||e&&O(t.nTable).is(":visible"))return t.nTable});return t?new ve(n):n},ge.util={throttle:vt,escapeRegex:Q},ge.camelToHungarian=b,Qt("$()",function(t,e){e=this.rows(e).nodes(),e=O(e);return O([].concat(e.filter(t).toArray(),e.find(t).toArray()))}),O.each(["on","one","off"],function(t,n){Qt(n+"()",function(){var t=Array.prototype.slice.call(arguments);t[0].match(/\.dt\b/)||(t[0]+=".dt");var e=O(this.tables().nodes());return e[n].apply(e,t),this})}),Qt("clear()",function(){return this.iterator("table",function(t){s(t)})}),Qt("settings()",function(){return new ve(this.context,this.context)}),Qt("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),Qt("data()",function(){return this.iterator("table",function(t){return se(t.aoData,"_aData")}).flatten()}),Qt("destroy()",function(h){return h=h||!1,this.iterator("table",function(e){var n,t=e.nTableWrapper.parentNode,i=e.oClasses,r=e.nTable,o=e.nTBody,a=e.nTHead,s=e.nTFoot,l=O(r),o=O(o),u=O(e.nTableWrapper),c=O.map(e.aoData,function(t){return t.nTr});e.bDestroying=!0,jt(e,"aoDestroyCallback","destroy",[e]),h||new ve(e).columns().visible(!0),u.unbind(".DT").find(":not(tbody *)").unbind(".DT"),O(y).unbind(".DT-"+e.sInstance),r!=a.parentNode&&(l.children("thead").detach(),l.append(a)),s&&r!=s.parentNode&&(l.children("tfoot").detach(),l.append(s)),e.aaSorting=[],e.aaSortingFixed=[],Dt(e),O(c).removeClass(e.asStripeClasses.join(" ")),O("th, td",a).removeClass(i.sSortable+" "+i.sSortableAsc+" "+i.sSortableDesc+" "+i.sSortableNone),e.bJUI&&(O("th span."+i.sSortIcon+", td span."+i.sSortIcon,a).detach(),O("th, td",a).each(function(){var t=O("div."+i.sSortJUIWrapper,this);O(this).append(t.contents()),t.detach()})),o.children().detach(),o.append(c),l[a=h?"remove":"detach"](),u[a](),!h&&t&&(t.insertBefore(r,e.nTableReinsertBefore),l.css("width",e.sDestroyWidth).removeClass(i.sTable),(n=e.asDestroyStripes.length)&&o.children().each(function(t){O(this).addClass(e.asDestroyStripes[t%n])})),-1!==(t=O.inArray(e,ge.settings))&&ge.settings.splice(t,1)})}),O.each(["column","row","cell"],function(t,l){Qt(l+"s().every()",function(o){var a=this.selector.opts,s=this;return this.iterator(l,function(t,e,n,i,r){o.call(s[l](e,"cell"===l?n:a,"cell"===l?a:L),e,n,i,r)})})}),Qt("i18n()",function(t,e,n){var i=this.context[0];return(t=R(t)(i.oLanguage))===L&&(t=e),(t=n!==L&&O.isPlainObject(t)?t[n]!==L?t[n]:t._:t).replace("%d",n)}),ge.version="1.10.11",ge.settings=[],ge.models={},ge.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},ge.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},ge.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},ge.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:O.extend({},ge.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},o(ge.defaults),ge.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},o(ge.defaults.column),ge.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:L,oAjaxData:L,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)?+this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==zt(this)?+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||i<n||-1===t?i:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},ge.ext=Jt={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:ge.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:ge.version},O.extend(Jt,{afnFiltering:Jt.search,aTypes:Jt.type.detect,ofnSearch:Jt.type.search,oSort:Jt.type.order,afnSortData:Jt.order,aoFeatures:Jt.feature,oApi:Jt.internal,oStdClasses:Jt.classes,oPagination:Jt.pager}),O.extend(ge.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 De="ui-state-default",Ae="css_right ui-icon ui-icon-",Pe="fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix";O.extend(ge.ext.oJUIClasses,ge.ext.classes,{sPageButton:"fg-button ui-button "+De,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:De+" sorting_asc",sSortDesc:De+" sorting_desc",sSortable:De+" sorting",sSortableAsc:De+" sorting_asc_disabled",sSortableDesc:De+" sorting_desc_disabled",sSortableNone:De+" sorting_disabled",sSortJUIAsc:Ae+"triangle-1-n",sSortJUIDesc:Ae+"triangle-1-s",sSortJUI:Ae+"carat-2-n-s",sSortJUIAscAllowed:Ae+"carat-1-n",sSortJUIDescAllowed:Ae+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+De,sScrollFoot:"dataTables_scrollFoot "+De,sHeaderTH:De,sFooterTH:De,sJUIHeader:Pe+" ui-corner-tl ui-corner-tr",sJUIFooter:Pe+" ui-corner-bl ui-corner-br"});var Ee=ge.ext.pager;O.extend(Ee,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(t,e){return[Wt(t,e)]},simple_numbers:function(t,e){return["previous",Wt(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Wt(t,e),"next","last"]},_numbers:Wt,numbers_length:7}),O.extend(!0,ge.ext.renderer,{pageButton:{_:function(s,t,l,e,u,c){var h,d,n,f=s.oClasses,p=s.oLanguage.oPaginate,g=s.oLanguage.oAria.paginate||{},m=0,y=function(t,e){function n(t){ht(s,t.data.action,!0)}for(var i,r,o=0,a=e.length;o<a;o++)if(r=e[o],O.isArray(r))i=O("<"+(r.DT_el||"div")+"/>").appendTo(t),y(i,r);else{switch(h=null,d="",r){case"ellipsis":t.append('<span class="ellipsis">&#x2026;</span>');break;case"first":h=p.sFirst,d=r+(0<u?"":" "+f.sPageButtonDisabled);break;case"previous":h=p.sPrevious,d=r+(0<u?"":" "+f.sPageButtonDisabled);break;case"next":h=p.sNext,d=r+(u<c-1?"":" "+f.sPageButtonDisabled);break;case"last":h=p.sLast,d=r+(u<c-1?"":" "+f.sPageButtonDisabled);break;default:h=r+1,d=u===r?f.sPageButtonActive:""}null!==h&&(Rt(i=O("<a>",{class:f.sPageButton+" "+d,"aria-controls":s.sTableId,"aria-label":g[r],"data-dt-idx":m,tabindex:s.iTabIndex,id:0===l&&"string"==typeof r?s.sTableId+"_"+r:null}).html(h).appendTo(t),{action:r},n),m++)}};try{n=O(t).find(v.activeElement).data("dt-idx")}catch(t){}y(O(t).empty(),e),n&&O(t).find("[data-dt-idx="+n+"]").focus()}}}),O.extend(ge.ext.type.detect,[function(t,e){e=e.oLanguage.sDecimal;return Gt(t,e)?"num"+e:null},function(t){if(t&&!(t instanceof Date)&&(!ie.test(t)||!re.test(t)))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||qt(t)?"date":null},function(t,e){e=e.oLanguage.sDecimal;return Gt(t,e,!0)?"num-fmt"+e:null},function(t,e){e=e.oLanguage.sDecimal;return Xt(t,e)?"html-num"+e:null},function(t,e){e=e.oLanguage.sDecimal;return Xt(t,e,!0)?"html-num-fmt"+e:null},function(t){return qt(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),O.extend(ge.ext.type.search,{html:function(t){return qt(t)?t:"string"==typeof t?t.replace(ee," ").replace(ne,""):""},string:function(t){return!qt(t)&&"string"==typeof t?t.replace(ee," "):t}});var Oe=function(t,e,n,i){return 0===t||t&&"-"!==t?((t=e?Yt(t,e):t).replace&&(n&&(t=t.replace(n,"")),i&&(t=t.replace(i,""))),+t):-1/0};O.extend(Jt.type.order,{"date-pre":function(t){return Date.parse(t)||0},"html-pre":function(t){return qt(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return qt(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:e<t?1:0},"string-desc":function(t,e){return t<e?1:e<t?-1:0}}),$t(""),O.extend(!0,ge.ext.renderer,{header:{_:function(r,o,a,s){O(r.nTable).on("order.dt.DT",function(t,e,n,i){r===e&&(t=a.idx,o.removeClass(a.sSortingClass+" "+s.sSortAsc+" "+s.sSortDesc).addClass("asc"==i[t]?s.sSortAsc:"desc"==i[t]?s.sSortDesc:a.sSortingClass))})},jqueryui:function(r,o,a,s){O("<div/>").addClass(s.sSortJUIWrapper).append(o.contents()).append(O("<span/>").addClass(s.sSortIcon+" "+a.sSortingClassJUI)).appendTo(o),O(r.nTable).on("order.dt.DT",function(t,e,n,i){r===e&&(t=a.idx,o.removeClass(s.sSortAsc+" "+s.sSortDesc).addClass("asc"==i[t]?s.sSortAsc:"desc"==i[t]?s.sSortDesc:a.sSortingClass),o.find("span."+s.sSortIcon).removeClass(s.sSortJUIAsc+" "+s.sSortJUIDesc+" "+s.sSortJUI+" "+s.sSortJUIAscAllowed+" "+s.sSortJUIDescAllowed).addClass("asc"==i[t]?s.sSortJUIAsc:"desc"==i[t]?s.sSortJUIDesc:a.sSortingClassJUI))})}}});function Le(t){return"string"==typeof t?t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):t}return ge.render={number:function(i,r,o,a,s){return{display:function(t){if("number"!=typeof t&&"string"!=typeof t)return t;var e=t<0?"-":"",n=parseFloat(t);return isNaN(n)?Le(t):(t=Math.abs(n),n=parseInt(t,10),t=o?r+(t-n).toFixed(o).substring(2):"",e+(a||"")+n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,i)+t+(s||""))}}},text:function(){return{display:Le}}},O.extend(ge.ext.internal,{_fnExternApiFunc:e,_fnBuildAjax:$,_fnAjaxUpdate:q,_fnAjaxParameters:t,_fnAjaxUpdateDraw:U,_fnAjaxDataSrc:Y,_fnAddColumn:C,_fnColumnOptions:k,_fnAdjustColumnSizing:I,_fnVisibleToColumnIndex:N,_fnColumnIndexToVisible:u,_fnVisbleColumns:M,_fnGetColumns:T,_fnColumnTypes:a,_fnApplyColumnDefs:D,_fnHungarianMap:o,_fnCamelToHungarian:b,_fnLanguageCompat:x,_fnBrowserDetect:_,_fnAddData:A,_fnAddTr:P,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==L?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,n){return O.inArray(n,t.aoData[e].anCells)},_fnGetCellData:E,_fnSetCellData:i,_fnSplitObjNotation:c,_fnGetObjectDataFn:R,_fnSetObjectDataFn:p,_fnGetDataMaster:f,_fnClearTable:s,_fnDeleteIndex:h,_fnInvalidate:r,_fnGetRowElements:l,_fnCreateTr:g,_fnBuildHead:m,_fnDrawHead:F,_fnDraw:j,_fnReDraw:H,_fnAddOptionsHtml:B,_fnDetectHeader:z,_fnGetUniqueThs:W,_fnFeatureHtmlFilter:G,_fnFilterComplete:X,_fnFilterCustom:V,_fnFilterColumn:Z,_fnFilter:K,_fnFilterCreateSearch:J,_fnEscapeRegex:Q,_fnFilterData:tt,_fnFeatureHtmlInfo:it,_fnUpdateInfo:rt,_fnInfoMacros:ot,_fnInitialise:at,_fnInitComplete:st,_fnLengthChange:lt,_fnFeatureHtmlLength:ut,_fnFeatureHtmlPaginate:ct,_fnPageChange:ht,_fnFeatureHtmlProcessing:dt,_fnProcessingDisplay:ft,_fnFeatureHtmlTable:pt,_fnScrollDraw:gt,_fnApplyToChildren:mt,_fnCalculateColumnWidths:yt,_fnThrottle:vt,_fnConvertToWidth:bt,_fnGetWidestNode:xt,_fnGetMaxLenString:wt,_fnStringToCss:St,_fnSortFlatten:_t,_fnSort:Ct,_fnSortAria:kt,_fnSortListener:Mt,_fnSortAttachListener:Tt,_fnSortingClasses:Dt,_fnSortData:At,_fnSaveState:Pt,_fnLoadState:Et,_fnSettingsFromNode:Ot,_fnLog:Lt,_fnMap:It,_fnBindAction:Rt,_fnCallbackReg:Ft,_fnCallbackFire:jt,_fnLengthOverflow:Ht,_fnRenderer:Bt,_fnDataSource:zt,_fnRowAttributes:d,_fnCalculateEnd:function(){}}),((O.fn.dataTable=ge).$=O).fn.dataTableSettings=ge.settings,O.fn.dataTableExt=ge.ext,O.fn.DataTable=function(t){return O(this).dataTable(t).api()},O.each(ge,function(t,e){O.fn.DataTable[t]=e}),O.fn.dataTable}),function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,0,t.document)}:n(jQuery,window,document)}(function(b,t,i,e){"use strict";var r=b.fn.dataTable;return b.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"}),b.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(s,t,l,e,u,c){var h,d,n,f=new r.Api(s),p=s.oClasses,g=s.oLanguage.oPaginate,m=s.oLanguage.oAria.paginate||{},y=0,v=function(t,e){for(var n,i,r=function(t){t.preventDefault(),b(t.currentTarget).hasClass("disabled")||f.page()==t.data.action||f.page(t.data.action).draw("page")},o=0,a=e.length;o<a;o++)if(i=e[o],b.isArray(i))v(t,i);else{switch(d=h="",i){case"ellipsis":h="&#x2026;",d="disabled";break;case"first":h=g.sFirst,d=i+(0<u?"":" disabled");break;case"previous":h=g.sPrevious,d=i+(0<u?"":" disabled");break;case"next":h=g.sNext,d=i+(u<c-1?"":" disabled");break;case"last":h=g.sLast,d=i+(u<c-1?"":" disabled");break;default:h=i+1,d=u===i?"active":""}h&&(n=b("<li>",{class:p.sPageButton+" "+d,id:0===l&&"string"==typeof i?s.sTableId+"_"+i:null}).append(b("<a>",{href:"#","aria-controls":s.sTableId,"aria-label":m[i],"data-dt-idx":y,tabindex:s.iTabIndex}).html(h)).appendTo(t),s.oApi._fnBindAction(n,{action:i},r),y++)}};try{n=b(t).find(i.activeElement).data("dt-idx")}catch(t){}v(b(t).empty().html('<ul class="pagination"/>').children("ul"),e),n&&b(t).find("[data-dt-idx="+n+"]").focus()},r}),function(i){i.fn.dataTable.moment=function(e,n){var t=i.fn.dataTable.ext.type;t.detect.unshift(function(t){return""===t||null===t||moment(t.replace?t.replace(/<.*?>/g,""):t,e,n,!0).isValid()?"moment-"+e:null}),t.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):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(u){var r,n=0,s=Array.prototype.slice;u.cleanData=(r=u.cleanData,function(t){for(var e,n,i=0;null!=(n=t[i]);i++)try{(e=u._data(n,"events"))&&e.remove&&u(n).triggerHandler("remove")}catch(t){}r(t)}),u.widget=function(t,n,e){var i,r,o,a,s={},l=t.split(".")[0];return t=t.split(".")[1],e||(e=n,n=u.Widget),u.expr[":"][(i=l+"-"+t).toLowerCase()]=function(t){return!!u.data(t,i)},u[l]=u[l]||{},r=u[l][t],o=u[l][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},u.extend(o,r,{version:e.version,_proto:u.extend({},e),_childConstructors:[]}),(a=new n).options=u.widget.extend({},a.options),u.each(e,function(e,i){function r(){return n.prototype[e].apply(this,arguments)}function o(t){return n.prototype[e].apply(this,t)}u.isFunction(i)?s[e]=function(){var t,e=this._super,n=this._superApply;return this._super=r,this._superApply=o,t=i.apply(this,arguments),this._super=e,this._superApply=n,t}:s[e]=i}),o.prototype=u.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||t},s,{constructor:o,namespace:l,widgetName:t,widgetFullName:i}),r?(u.each(r._childConstructors,function(t,e){var n=e.prototype;u.widget(n.namespace+"."+n.widgetName,o,e._proto)}),delete r._childConstructors):n._childConstructors.push(o),u.widget.bridge(t,o),o},u.widget.extend=function(t){for(var e,n,i=s.call(arguments,1),r=0,o=i.length;r<o;r++)for(e in i[r])n=i[r][e],i[r].hasOwnProperty(e)&&void 0!==n&&(u.isPlainObject(n)?t[e]=u.isPlainObject(t[e])?u.widget.extend({},t[e],n):u.widget.extend({},n):t[e]=n);return t},u.widget.bridge=function(o,e){var a=e.prototype.widgetFullName||o;u.fn[o]=function(n){var t="string"==typeof n,i=s.call(arguments,1),r=this;return n=!t&&i.length?u.widget.extend.apply(null,[n].concat(i)):n,t?this.each(function(){var t,e=u.data(this,a);return"instance"===n?(r=e,!1):e?u.isFunction(e[n])&&"_"!==n.charAt(0)?(t=e[n].apply(e,i))!==e&&void 0!==t?(r=t&&t.jquery?r.pushStack(t.get()):t,!1):void 0:u.error("no such method '"+n+"' for "+o+" widget instance"):u.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+n+"'")}):this.each(function(){var t=u.data(this,a);t?(t.option(n||{}),t._init&&t._init()):u.data(this,a,new e(n,this))}),r}},u.Widget=function(){},u.Widget._childConstructors=[],u.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=u(e||this.defaultElement||this)[0],this.element=u(e),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=u.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=u(),this.hoverable=u(),this.focusable=u(),e!==this&&(u.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=u(e.style?e.ownerDocument:e.document||e),this.window=u(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:u.noop,_getCreateEventData:u.noop,_create:u.noop,_init:u.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(u.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:u.noop,widget:function(){return this.element},option:function(t,e){var n,i,r,o=t;if(0===arguments.length)return u.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(n=t.split(".")).shift(),n.length){for(i=o[t]=u.widget.extend({},this.options[t]),r=0;r<n.length-1;r++)i[n[r]]=i[n[r]]||{},i=i[n[r]];if(t=n.pop(),1===arguments.length)return void 0===i[t]?null:i[t];i[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){for(var 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(r,o,t){var a,s=this;"boolean"!=typeof r&&(t=o,o=r,r=!1),t?(o=a=u(o),this.bindings=this.bindings.add(o)):(t=o,o=this.element,a=this.widget()),u.each(t,function(t,e){function n(){if(r||!0!==s.options.disabled&&!u(this).hasClass("ui-state-disabled"))return("string"==typeof e?s[e]:e).apply(s,arguments)}"string"!=typeof e&&(n.guid=e.guid=e.guid||n.guid||u.guid++);var i=t.match(/^([\w:-]*)\s*(.*)$/),t=i[1]+s.eventNamespace,i=i[2];i?a.delegate(i,t,n):o.bind(t,n)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){var n=this;return setTimeout(function(){return("string"==typeof t?n[t]:t).apply(n,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){u(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){u(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){u(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){u(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,n){var i,r,o=this.options[t];if(n=n||{},(e=u.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],r=e.originalEvent)for(i in r)i in e||(e[i]=r[i]);return this.element.trigger(e,n),!(u.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(n))||e.isDefaultPrevented())}},u.each({show:"fadeIn",hide:"fadeOut"},function(o,a){u.Widget.prototype["_"+o]=function(e,t,n){var i=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||a:o,r=!u.isEmptyObject(t="number"==typeof(t=t||{})?{duration:t}:t);t.complete=n,t.delay&&e.delay(t.delay),r&&u.effects&&u.effects.effect[i]?e[o](t):i!==o&&e[i]?e[i](t.duration,t.easing,n):e.queue(function(t){u(this)[o](),n&&n.call(e[0]),t()})}});u.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(y){"use strict";function t(n){var i="dragover"===n;return function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var e=t.dataTransfer;e&&-1!==y.inArray("Files",e.types)&&!1!==this._trigger(n,y.Event(n,{delegatedEvent:t}))&&(t.preventDefault(),i&&(e.dropEffect="copy"))}}y.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)||y('<input type="file">').prop("disabled")),y.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),y.support.xhrFormDataFileUpload=!!window.FormData,y.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),y.widget("blueimp.fileupload",{options:{dropZone:y(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(n,t){return n=this.messages[n]||n.toString(),t&&y.each(t,function(t,e){n=n.replace("{"+t+"}",e)}),n},formData:function(t){return t.serializeArray()},add:function(t,e){if(t.isDefaultPrevented())return!1;(e.autoUpload||!1!==e.autoUpload&&y(this).fileupload("option","autoUpload"))&&e.process().done(function(){e.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:y.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).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&&!(n<i)||(this.bitrate=(e-this.loaded)*(1e3/i)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(t){return!t.forceIframeTransport&&(!t.multipart&&y.support.xhrFileUpload||y.support.xhrFormDataFileUpload)},_getFormData:function(t){var n;return"function"===y.type(t.formData)?t.formData(t.form):y.isArray(t.formData)?t.formData:"object"===y.type(t.formData)?(n=[],y.each(t.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(t){var n=0;return y.each(t,function(t,e){n+=e.size||1}),n},_initProgressObject:function(t){var e={loaded:0,total:0,bitrate:0};t._progress?y.extend(t._progress,e):t._progress=e},_initResponseObject:function(t){if(t._response)for(var e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(t,e){var n,i;t.lengthComputable&&(n=Date.now?Date.now():(new Date).getTime(),e._time&&e.progressInterval&&n-e._time<e.progressInterval&&t.loaded!==t.total||(e._time=n,i=Math.floor(t.loaded/t.total*(e.chunkSize||e._progress.total))+(e.uploadedBytes||0),this._progress.loaded+=i-e._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(n,this._progress.loaded,e.bitrateInterval),e._progress.loaded=e.loaded=i,e._progress.bitrate=e.bitrate=e._bitrateTimer.getBitrate(n,i,e.bitrateInterval),this._trigger("progress",y.Event("progress",{delegatedEvent:t}),e),this._trigger("progressall",y.Event("progressall",{delegatedEvent:t}),this._progress)))},_initProgressListener:function(n){var i=this,t=(n.xhr?n:y.ajaxSettings).xhr();t.upload&&(y(t.upload).bind("progress",function(t){var e=t.originalEvent;t.lengthComputable=e.lengthComputable,t.loaded=e.loaded,t.total=e.total,i._onProgress(t,n)}),n.xhr=function(){return t})},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_initXHRData:function(n){var i,r=this,t=n.files[0],e=n.multipart||!y.support.xhrFileUpload,o="array"===y.type(n.paramName)?n.paramName[0]:n.paramName;n.headers=y.extend({},n.headers),n.contentRange&&(n.headers["Content-Range"]=n.contentRange),e&&!n.blob&&this._isInstanceOf("File",t)||(n.headers["Content-Disposition"]='attachment; filename="'+encodeURI(t.name)+'"'),e?y.support.xhrFormDataFileUpload&&(n.postMessage?(i=this._getFormData(n),n.blob?i.push({name:o,value:n.blob}):y.each(n.files,function(t,e){i.push({name:"array"===y.type(n.paramName)&&n.paramName[t]||o,value:e})})):(r._isInstanceOf("FormData",n.formData)?i=n.formData:(i=new FormData,y.each(this._getFormData(n),function(t,e){i.append(e.name,e.value)})),n.blob?i.append(o,n.blob,t.name):y.each(n.files,function(t,e){(r._isInstanceOf("File",e)||r._isInstanceOf("Blob",e))&&i.append("array"===y.type(n.paramName)&&n.paramName[t]||o,e,e.uploadName||e.name)})),n.data=i):(n.contentType=t.type||"application/octet-stream",n.data=n.blob||t),n.blob=null},_initIframeSettings:function(t){var e=y("<a></a>").prop("href",t.url).prop("host");t.dataType="iframe "+(t.dataType||""),t.formData=this._getFormData(t),t.redirect&&e&&e!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.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(t){var e=y(t.fileInput),i=t.paramName;return i?y.isArray(i)||(i=[i]):(i=[],e.each(function(){for(var t=y(this),e=t.prop("name")||"files[]",n=(t.prop("files")||[1]).length;n;)i.push(e),--n}),i.length||(i=[e.prop("name")||"files[]"])),i},_initFormSettings:function(t){t.form&&t.form.length||(t.form=y(t.fileInput.prop("form")),t.form.length||(t.form=y(this.options.fileInput.prop("form")))),t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||"string"===y.type(t.form.prop("method"))&&t.form.prop("method")||"").toUpperCase(),"POST"!==t.type&&"PUT"!==t.type&&"PATCH"!==t.type&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){t=y.extend({},this.options,t);return this._initFormSettings(t),this._initDataSettings(t),t},_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(t,e,n){var i=y.Deferred(),r=i.promise();return e=e||this.options.context||r,!0===t?i.resolveWith(e,n):!1===t&&i.rejectWith(e,n),r.abort=i.promise,this._enhancePromise(r)},_addConvenienceMethods:function(t,n){function i(t){return y.Deferred().resolveWith(r,t).promise()}var r=this;n.process=function(t,e){return(t||e)&&(n._processQueue=this._processQueue=(this._processQueue||i([this])).pipe(function(){return n.errorThrown?y.Deferred().rejectWith(r,[n]).promise():i(arguments)}).pipe(t,e)),this._processQueue||i([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==r._trigger("submit",y.Event("submit",{delegatedEvent:t}),this)&&r._onSend(t,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){return this.jqXHR?r._getDeferredState(this.jqXHR):this._processQueue?r._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===r._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){t=t.getResponseHeader("Range"),t=t&&t.split("-"),t=t&&1<t.length&&parseInt(t[1],10);return t&&t+1},_chunkedUpload:function(o,t){o.uploadedBytes=o.uploadedBytes||0;var e,a,s=this,n=o.files[0],l=n.size,u=o.uploadedBytes,c=o.maxChunkSize||l,h=this._blobSlice,d=y.Deferred(),i=d.promise();return!(!(this._isXHRUpload(o)&&h&&(u||c<l))||o.data)&&(!!t||(l<=u?(n.error=o.i18n("uploadedBytes"),this._getXHRPromise(!1,o.context,[null,"error",n.error])):(a=function(){var i=y.extend({},o),r=i._progress.loaded;i.blob=h.call(n,u,u+c,n.type),i.chunkSize=i.blob.size,i.contentRange="bytes "+u+"-"+(u+i.chunkSize-1)+"/"+l,s._initXHRData(i),s._initProgressListener(i),e=(!1!==s._trigger("chunksend",null,i)&&y.ajax(i)||s._getXHRPromise(!1,i.context)).done(function(t,e,n){u=s._getUploadedBytes(n)||u+i.chunkSize,r+i.chunkSize-i._progress.loaded&&s._onProgress(y.Event("progress",{lengthComputable:!0,loaded:u-i.uploadedBytes,total:u-i.uploadedBytes}),i),o.uploadedBytes=i.uploadedBytes=u,i.result=t,i.textStatus=e,i.jqXHR=n,s._trigger("chunkdone",null,i),s._trigger("chunkalways",null,i),u<l?a():d.resolveWith(i.context,[t,e,n])}).fail(function(t,e,n){i.jqXHR=t,i.textStatus=e,i.errorThrown=n,s._trigger("chunkfail",null,i),s._trigger("chunkalways",null,i),d.rejectWith(i.context,[t,e,n])})},this._enhancePromise(i),i.abort=function(){return e.abort()},a(),i)))},_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(t,e,n,i){var r=i._progress.total,o=i._response;i._progress.loaded<r&&this._onProgress(y.Event("progress",{lengthComputable:!0,loaded:r,total:r}),i),o.result=i.result=t,o.textStatus=i.textStatus=e,o.jqXHR=i.jqXHR=n,this._trigger("done",null,i)},_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(t,e){e.submit||this._addConvenienceMethods(t,e);function n(){return a._sending+=1,s._bitrateTimer=new a._BitrateTimer,i=i||((r||!1===a._trigger("send",y.Event("send",{delegatedEvent:t}),s))&&a._getXHRPromise(!1,s.context,r)||a._chunkedUpload(s)||y.ajax(s)).done(function(t,e,n){a._onDone(t,e,n,s)}).fail(function(t,e,n){a._onFail(t,e,n,s)}).always(function(t,e,n){if(a._onAlways(t,e,n,s),--a._sending,--a._active,s.limitConcurrentUploads&&s.limitConcurrentUploads>a._sending)for(var i=a._slots.shift();i;){if("pending"===a._getDeferredState(i)){i.resolve();break}i=a._slots.shift()}0===a._active&&a._trigger("stop")})}var i,r,o,a=this,s=a._getAJAXSettings(e);return this._beforeSend(t,s),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((e=1<this.options.limitConcurrentUploads?(o=y.Deferred(),this._slots.push(o),o.pipe(n)):(this._sequence=this._sequence.pipe(n,n),this._sequence)).abort=function(){return r=[void 0,"abort","abort"],i?i.abort():(o&&o.rejectWith(s.context,r),n())},this._enhancePromise(e)):n()},_onAdd:function(i,r){var o,t,a,e,s=this,l=!0,n=y.extend({},this.options,r),u=r.files,c=u.length,h=n.limitMultiFileUploads,d=n.limitMultiFileUploadSize,f=n.limitMultiFileUploadSizeOverhead,p=0,g=this._getParamName(n),m=0;if(!d||c&&void 0!==u[0].size||(d=void 0),(n.singleFileUploads||h||d)&&this._isXHRUpload(n))if(n.singleFileUploads||d||!h)if(!n.singleFileUploads&&d)for(a=[],o=[],e=0;e<c;e+=1)p+=u[e].size+f,(e+1===c||p+u[e+1].size+f>d||h&&h<=e+1-m)&&(a.push(u.slice(m,e+1)),(t=g.slice(m,e+1)).length||(t=g),o.push(t),m=e+1,p=0);else o=g;else for(a=[],o=[],e=0;e<c;e+=h)a.push(u.slice(e,e+h)),(t=g.slice(e,e+h)).length||(t=g),o.push(t);else a=[u],o=[g];return r.originalFiles=u,y.each(a||u,function(t,e){var n=y.extend({},r);return n.files=a?e:[e],n.paramName=o[t],s._initResponseObject(n),s._initProgressObject(n),s._addConvenienceMethods(i,n),l=s._trigger("add",y.Event("add",{delegatedEvent:i}),n)}),l},_replaceFileInput:function(t){var n=t.fileInput,i=n.clone(!0);t.fileInputClone=i,y("<form></form>").append(i)[0].reset(),n.after(i).detach(),y.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){function i(t){t&&!t.entry&&(t.entry=e),o.resolve([t])}var t,r=this,o=y.Deferred(),a=function(){t.readEntries(function(t){t.length?(s=s.concat(t),a()):r._handleFileTreeEntries(s,n+e.name+"/").done(function(t){o.resolve(t)}).fail(i)},i)},s=[];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)},i):e.isDirectory?(t=e.createReader(),a()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(t,e){var n=this;return y.when.apply(y,y.map(t,function(t){return n._handleFileTreeEntry(t,e)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){var e=(t=t||{}).items;return e&&e.length&&(e[0].webkitGetAsEntry||e[0].getAsEntry)?this._handleFileTreeEntries(y.map(e,function(t){var e;return t.webkitGetAsEntry?((e=t.webkitGetAsEntry())&&(e._file=t.getAsFile()),e):t.getAsEntry()})):y.Deferred().resolve(y.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){var e=(t=y(t)).prop("webkitEntries")||t.prop("entries");if(e&&e.length)return this._handleFileTreeEntries(e);if((e=y.makeArray(t.prop("files"))).length)void 0===e[0].name&&e[0].fileName&&y.each(e,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(t=t.prop("value")))return y.Deferred().resolve([]).promise();e=[{name:t.replace(/^.*\\/,"")}]}return y.Deferred().resolve(e).promise()},_getFileInputFiles:function(t){return t instanceof y&&1!==t.length?y.when.apply(y,y.map(t,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(e){var n=this,i={fileInput:y(e.target),form:y(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(t){i.files=t,n.options.replaceFileInput&&n._replaceFileInput(i),!1!==n._trigger("change",y.Event("change",{delegatedEvent:e}),i)&&n._onAdd(e,i)})},_onPaste:function(t){var e=t.originalEvent&&t.originalEvent.clipboardData&&t.originalEvent.clipboardData.items,n={files:[]};e&&e.length&&(y.each(e,function(t,e){e=e.getAsFile&&e.getAsFile();e&&n.files.push(e)}),!1!==this._trigger("paste",y.Event("paste",{delegatedEvent:t}),n)&&this._onAdd(t,n))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,t=e.dataTransfer,i={};t&&t.files&&t.files.length&&(e.preventDefault(),this._getDroppedFiles(t).always(function(t){i.files=t,!1!==n._trigger("drop",y.Event("drop",{delegatedEvent:e}),i)&&n._onAdd(e,i)}))},_onDragOver:t("dragover"),_onDragEnter:t("dragenter"),_onDragLeave:t("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})),y.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(t,e){var n=-1!==y.inArray(t,this._specialOptions);n&&this._destroyEventHandlers(),this._super(t,e),n&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;void 0===t.fileInput?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof y||(t.fileInput=y(t.fileInput)),t.dropZone instanceof y||(t.dropZone=y(t.dropZone)),t.pasteZone instanceof y||(t.pasteZone=y(t.pasteZone))},_getRegExp:function(t){var e=t.split("/"),t=e.pop();return e.shift(),new RegExp(e.join("/"),t)},_isRegExpOption:function(t,e){return"url"!==t&&"string"===y.type(e)&&/^\/.*\/[igm]{0,3}$/.test(e)},_initDataAttributes:function(){var i=this,r=this.options,o=this.element.data();y.each(this.element[0].attributes,function(t,e){var n=e.name.toLowerCase();/^data-/.test(n)&&(n=n.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),e=o[n],i._isRegExpOption(n,e)&&(e=i._getRegExp(e)),r[n]=e)})},_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=y.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=y.Deferred(),t=o.promise();return t.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),t)},this._getFileInputFiles(e.fileInput).always(function(t){i||(t.length?(e.files=t,(n=r._onSend(null,e)).then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})):o.reject())}),this._enhancePromise(t)}if(e.files=y.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):"object"==typeof exports?t(require("jquery")):t(window.jQuery)}(function(l){"use strict";var n=0;l.ajaxTransport("iframe",function(r){if(r.async){var o,a,e,s=r.initialIframeSrc||"javascript:false;";return{send:function(t,i){(o=l('<form style="display:none;"></form>')).attr("accept-charset",r.formAcceptCharset),e=/\?/.test(r.url)?"&":"?","DELETE"===r.type?(r.url=r.url+e+"_method=DELETE",r.type="POST"):"PUT"===r.type?(r.url=r.url+e+"_method=PUT",r.type="POST"):"PATCH"===r.type&&(r.url=r.url+e+"_method=PATCH",r.type="POST"),a=l('<iframe src="'+s+'" name="iframe-transport-'+(n+=1)+'"></iframe>').bind("load",function(){var n,e=l.isArray(r.paramName)?r.paramName:[r.paramName];a.unbind("load").bind("load",function(){var e;try{if(!(e=a.contents()).length||!e[0].firstChild)throw new Error}catch(t){e=void 0}i(200,"success",{iframe:e}),l('<iframe src="'+s+'"></iframe>').appendTo(o),window.setTimeout(function(){o.remove()},0)}),o.prop("target",a.prop("name")).prop("action",r.url).prop("method",r.type),r.formData&&l.each(r.formData,function(t,e){l('<input type="hidden"/>').prop("name",e.name).val(e.value).appendTo(o)}),r.fileInput&&r.fileInput.length&&"POST"===r.type&&(n=r.fileInput.clone(),r.fileInput.after(function(t){return n[t]}),r.paramName&&r.fileInput.each(function(t){l(this).prop("name",e[t]||r.paramName)}),o.append(r.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),r.fileInput.removeAttr("form")),o.submit(),n&&n.length&&r.fileInput.each(function(t,e){t=l(n[t]);l(e).prop("name",t.prop("name")).attr("form",t.attr("form")),t.replaceWith(e)})}),o.append(a).appendTo(document.body)},abort:function(){a&&a.unbind("load").prop("src",s),o&&o.remove()}}}}),l.ajaxSetup({converters:{"iframe text":function(t){return t&&l(t[0].body).text()},"iframe json":function(t){return t&&l.parseJSON(l(t[0].body).text())},"iframe html":function(t){return t&&l(t[0].body).html()},"iframe xml":function(t){t=t&&t[0];return t&&l.isXMLDoc(t)?t:l.parseXML(t.XMLDocument&&t.XMLDocument.xml||l(t.body).html())},"iframe script":function(t){return t&&l.globalEval(l(t[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 u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function t(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e,n){return(l=function(){if("undefined"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(t){return}}}()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);i=new(Function.bind.apply(t,i));return n&&a(i,n.prototype),i}).apply(null,arguments)}function c(t,e,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){t=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=o(t)););return t}(t,e);if(t){e=Object.getOwnPropertyDescriptor(t,e);return e.get?e.get.call(n):e.value}})(t,e,n||t)}function h(e){return Object.keys(e).map(function(t){return e[t]})}function d(t){return Array.prototype.slice.call(t)}function f(t){console.error("".concat(n," ").concat(t))}function p(t,e){e='"'.concat(t,'" is deprecated and will be removed in the next major release. Please use "').concat(e,'" instead.'),-1===x.indexOf(e)&&(x.push(e),b(e))}function g(t){return t&&Promise.resolve(t)===t}function e(t){var e,n={};for(e in t)n[t[e]]="swal2-"+t[e];return n}function m(t,e){return t.classList.contains(e)}function y(e,t,n){d(e.classList).forEach(function(t){-1===h(S).indexOf(t)&&-1===h(_).indexOf(t)&&e.classList.remove(t)}),t&&t[n]&&rt(e,t[n])}function v(t){return"function"==typeof t?t():t}var n="SweetAlert2:",b=function(t){console.warn("".concat(n," ").concat(t))},x=[],w=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),S=e(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),_=e(["success","warning","info","question","error"]),C={previousBodyPadding:null};function k(t,e){if(!e)return null;switch(e){case"select":case"textarea":case"file":return at(t,S[e]);case"checkbox":return t.querySelector(".".concat(S.checkbox," input"));case"radio":return t.querySelector(".".concat(S.radio," input:checked"))||t.querySelector(".".concat(S.radio," input:first-child"));case"range":return t.querySelector(".".concat(S.range," input"));default:return at(t,S.input)}}function M(t){var e;t.focus(),"file"!==t.type&&(e=t.value,t.value="",t.value=e)}function T(t,e,n){t&&e&&(e="string"==typeof e?e.split(/\s+/).filter(Boolean):e).forEach(function(e){t.forEach?t.forEach(function(t){n?t.classList.add(e):t.classList.remove(e)}):n?t.classList.add(e):t.classList.remove(e)})}function D(t,e,n){n||0===parseInt(n)?t.style[e]="number"==typeof n?n+"px":n:t.style.removeProperty(e)}function A(t,e){e=1<arguments.length&&void 0!==e?e:"flex";t.style.opacity="",t.style.display=e}function P(t){t.style.opacity="",t.style.display="none"}function E(t,e,n){e?A(t,n):P(t)}function O(t){return!(!t||!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))}function L(t){var e=window.getComputedStyle(t),t=parseFloat(e.getPropertyValue("animation-duration")||"0"),e=parseFloat(e.getPropertyValue("transition-duration")||"0");return 0<t||0<e}function I(){return document.body.querySelector("."+S.container)}function N(t){var e=I();return e?e.querySelector(t):null}function R(t){return N("."+t)}function F(){return R(S.popup)}function j(){return d(F().querySelectorAll("."+S.icon))}function H(){var t=j().filter(O);return t.length?t[0]:null}function B(){return R(S.title)}function z(){return R(S.content)}function W(){return R(S.image)}function $(){return R(S["progress-steps"])}function q(){return R(S["validation-message"])}function U(){return N("."+S.actions+" ."+S.confirm)}function Y(){return N("."+S.actions+" ."+S.cancel)}function G(){return R(S.actions)}function X(){return R(S.header)}function V(){return R(S.footer)}function Z(){return R(S.close)}function K(){var t=d(F().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(t,e){return t=parseInt(t.getAttribute("tabindex")),(e=parseInt(e.getAttribute("tabindex")))<t?1:t<e?-1:0}),e=d(F().querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n')).filter(function(t){return"-1"!==t.getAttribute("tabindex")});return function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(t.concat(e)).filter(O)}function J(){return!st()&&!document.body.classList.contains(S["no-backdrop"])}function Q(){return"undefined"==typeof window||"undefined"==typeof document}function tt(t){we.isVisible()&&it!==t.target.value&&we.resetValidationMessage(),it=t.target.value}function et(t,e){t instanceof HTMLElement?e.appendChild(t):"object"===u(t)?ut(e,t):t&&(e.innerHTML=t)}function nt(t,e){var n=G(),i=U(),r=Y();e.showConfirmButton||e.showCancelButton||P(n),y(n,e.customClass,"actions"),ht(i,"confirm",e),ht(r,"cancel",e),e.buttonsStyling?function(t,e,n){rt([t,e],S.styled),n.confirmButtonColor&&(t.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(e.style.backgroundColor=n.cancelButtonColor);n=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=n,t.style.borderRightColor=n}(i,r,e):(ot([i,r],S.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""),e.reverseButtons&&i.parentNode.insertBefore(r,i)}var it,rt=function(t,e){T(t,e,!0)},ot=function(t,e){T(t,e,!1)},at=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(m(t.childNodes[n],e))return t.childNodes[n]},st=function(){return document.body.classList.contains(S["toast-shown"])},lt='\n <div aria-labelledby="'.concat(S.title,'" aria-describedby="').concat(S.content,'" class="').concat(S.popup,'" tabindex="-1">\n <div class="').concat(S.header,'">\n <ul class="').concat(S["progress-steps"],'"></ul>\n <div class="').concat(S.icon," ").concat(_.error,'">\n <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n </div>\n <div class="').concat(S.icon," ").concat(_.question,'"></div>\n <div class="').concat(S.icon," ").concat(_.warning,'"></div>\n <div class="').concat(S.icon," ").concat(_.info,'"></div>\n <div class="').concat(S.icon," ").concat(_.success,'">\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n </div>\n <img class="').concat(S.image,'" />\n <h2 class="').concat(S.title,'" id="').concat(S.title,'"></h2>\n <button type="button" class="').concat(S.close,'"></button>\n </div>\n <div class="').concat(S.content,'">\n <div id="').concat(S.content,'"></div>\n <input class="').concat(S.input,'" />\n <input type="file" class="').concat(S.file,'" />\n <div class="').concat(S.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(S.select,'"></select>\n <div class="').concat(S.radio,'"></div>\n <label for="').concat(S.checkbox,'" class="').concat(S.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(S.label,'"></span>\n </label>\n <textarea class="').concat(S.textarea,'"></textarea>\n <div class="').concat(S["validation-message"],'" id="').concat(S["validation-message"],'"></div>\n </div>\n <div class="').concat(S.actions,'">\n <button type="button" class="').concat(S.confirm,'">OK</button>\n <button type="button" class="').concat(S.cancel,'">Cancel</button>\n </div>\n <div class="').concat(S.footer,'">\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),ut=function(t,e){if(t.innerHTML="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},ct=function(){if(Q())return!1;var t,e=document.createElement("div"),n={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&void 0!==e.style[t])return n[t];return!1}();function ht(t,e,n){E(t,n["showC"+e.substring(1)+"Button"],"inline-block"),t.innerHTML=n[e+"ButtonText"],t.setAttribute("aria-label",n[e+"ButtonAriaLabel"]),t.className=S[e],y(t,n.customClass,e+"Button"),rt(t,n[e+"ButtonClass"])}function dt(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)}var ft={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},pt=["input","file","range","select","radio","checkbox","textarea"],gt=function(t){if(!vt[t.input])return f('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=vt[t.input](t);A(e),setTimeout(function(){M(e)})},mt=function(t,e){var n=k(z(),t);if(n)for(var i in function(t){for(var e=0;e<t.attributes.length;e++){var n=t.attributes[e].name;-1===["type","value","style"].indexOf(n)&&t.removeAttribute(n)}}(n),e)"range"===t&&"placeholder"===i||n.setAttribute(i,e[i])},yt=function(t,e,n){t.className=e,n.inputClass&&rt(t,n.inputClass),n.customClass&&rt(t,n.customClass.input)},vt={};function bt(t,r){var o=$();if(!r.progressSteps||0===r.progressSteps.length)return P(o),0;A(o),o.innerHTML="";var a=parseInt(null===r.currentProgressStep?we.getQueueStep():r.currentProgressStep);a>=r.progressSteps.length&&b("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),r.progressSteps.forEach(function(t,e){var n,i,i=(n=t,i=document.createElement("li"),rt(i,S["progress-step"]),i.innerHTML=n,i);o.appendChild(i),e===a&&rt(i,S["active-progress-step"]),e!==r.progressSteps.length-1&&(e=t,t=document.createElement("li"),rt(t,S["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),o.appendChild(t))})}function xt(t,e){var n;y(X(),e.customClass,"header"),bt(0,e),n=e,(t=ft.innerParams.get(t))&&n.type===t.type&&H()?y(H(),n.customClass,"icon"):(_t(),n.type&&(Ct(),-1!==Object.keys(_).indexOf(n.type)?(A(t=N(".".concat(S.icon,".").concat(_[n.type]))),y(t,n.customClass,"icon"),T(t,"swal2-animate-".concat(n.type,"-icon"),n.animation)):f('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(n.type,'"')))),function(t){var e=W();if(!t.imageUrl)return P(e);A(e),e.setAttribute("src",t.imageUrl),e.setAttribute("alt",t.imageAlt),D(e,"width",t.imageWidth),D(e,"height",t.imageHeight),e.className=S.image,y(e,t.customClass,"image"),t.imageClass&&rt(e,t.imageClass)}(e),t=e,E(n=B(),t.title||t.titleText),t.title&&et(t.title,n),t.titleText&&(n.innerText=t.titleText),y(n,t.customClass,"title"),t=e,(e=Z()).innerHTML=t.closeButtonHtml,y(e,t.customClass,"closeButton"),E(e,t.showCloseButton),e.setAttribute("aria-label",t.closeButtonAriaLabel)}function wt(t,e){var i,r,o,n,a,s,l;s=e,D(l=F(),"width",s.width),D(l,"padding",s.padding),s.background&&(l.style.background=s.background),l.className=S.popup,s.toast?(rt([document.documentElement,document.body],S["toast-shown"]),rt(l,S.toast)):rt(l,S.modal),y(l,s.customClass,"popup"),"string"==typeof s.customClass&&rt(l,s.customClass),T(l,S.noanimation,!s.animation),n=e,(a=I())&&("string"==typeof(l=n.backdrop)?a.style.background=l:l||rt([document.documentElement,document.body],S["no-backdrop"]),!n.backdrop&&n.allowOutsideClick&&b('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),s=a,(l=n.position)in S?rt(s,S[l]):(b('The "position" parameter is not valid, defaulting to "center"'),rt(s,S.center)),l=a,!(s=n.grow)||"string"!=typeof s||(s="grow-"+s)in S&&rt(l,S[s]),y(a,n.customClass,"container"),n.customContainerClass&&rt(a,n.customContainerClass)),xt(t,e),a=t,n=e,t=z().querySelector("#"+S.content),n.html?(et(n.html,t),A(t,"block")):n.text?(t.textContent=n.text,A(t,"block")):P(t),a=a,i=n,r=z(),a=ft.innerParams.get(a),o=!a||i.input!==a.input,pt.forEach(function(t){var e=S[t],n=at(r,e);mt(t,i.inputAttributes),yt(n,e,i),o&&P(n)}),i.input&&o&&gt(i),y(z(),n.customClass,"content"),nt(0,e),a=e,E(n=V(),a.footer),a.footer&&et(a.footer,n),y(n,a.customClass,"footer"),"function"==typeof e.onRender&&e.onRender(F())}function St(){return U()&&U().click()}vt.text=vt.email=vt.password=vt.number=vt.tel=vt.url=function(t){var e=at(z(),S.input);return"string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:g(t.inputValue)||b('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(u(t.inputValue),'"')),dt(e,t),e.type=t.input,e},vt.file=function(t){var e=at(z(),S.file);return dt(e,t),e.type=t.input,e},vt.range=function(t){var e=at(z(),S.range),n=e.querySelector("input"),i=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,i.value=t.inputValue,e},vt.select=function(t){var e,n=at(z(),S.select);return n.innerHTML="",t.inputPlaceholder&&((e=document.createElement("option")).innerHTML=t.inputPlaceholder,e.value="",e.disabled=!0,e.selected=!0,n.appendChild(e)),n},vt.radio=function(){var t=at(z(),S.radio);return t.innerHTML="",t},vt.checkbox=function(t){var e=at(z(),S.checkbox),n=k(z(),"checkbox");return n.type="checkbox",n.value=1,n.id=S.checkbox,n.checked=Boolean(t.inputValue),e.querySelector("span").innerHTML=t.inputPlaceholder,e},vt.textarea=function(t){var e,n,i=at(z(),S.textarea);return i.value=t.inputValue,dt(i,t),"MutationObserver"in window&&(e=parseInt(window.getComputedStyle(F()).width),n=parseInt(window.getComputedStyle(F()).paddingLeft)+parseInt(window.getComputedStyle(F()).paddingRight),new MutationObserver(function(){var t=i.offsetWidth+n;F().style.width=e<t?t+"px":null}).observe(i,{attributes:!0,attributeFilter:["style"]})),i};var _t=function(){for(var t=j(),e=0;e<t.length;e++)P(t[e])},Ct=function(){for(var t=F(),e=window.getComputedStyle(t).getPropertyValue("background-color"),n=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),i=0;i<n.length;i++)n[i].style.backgroundColor=e};function kt(){(t=F())||we.fire("");var t=F(),e=G(),n=U(),i=Y();A(e),A(n),rt([t,e],S.loading),n.disabled=!0,i.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()}function Mt(t){return Object.prototype.hasOwnProperty.call(Pt,t)}function Tt(t){return Ot[t]}var Dt=[],At={},Pt={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:"",cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:"",buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:"",timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:"",inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onOpen:null,onRender:null,onClose:null,onAfterClose:null,scrollbarPadding:!0},Et=["title","titleText","text","html","type","customClass","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","confirmButtonClass","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","cancelButtonClass","buttonsStyling","reverseButtons","imageUrl","imageWidth","imageHeigth","imageAlt","imageClass","progressSteps","currentProgressStep"],Ot={customContainerClass:"customClass",confirmButtonClass:"customClass",cancelButtonClass:"customClass",imageClass:"customClass",inputClass:"customClass"},Lt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],It=Object.freeze({isValidParameter:Mt,isUpdatableParameter:function(t){return-1!==Et.indexOf(t)},isDeprecatedParameter:Tt,argsToParams:function(n){var i={};return"object"===u(n[0])?s(i,n[0]):["title","html","type"].forEach(function(t,e){switch(u(n[e])){case"string":i[t]=n[e];break;case"undefined":break;default:f("Unexpected type of ".concat(t,'! Expected "string", got ').concat(u(n[e])))}}),i},isVisible:function(){return O(F())},clickConfirm:St,clickCancel:function(){return Y()&&Y().click()},getContainer:I,getPopup:F,getTitle:B,getContent:z,getImage:W,getIcon:H,getIcons:j,getCloseButton:Z,getActions:G,getConfirmButton:U,getCancelButton:Y,getHeader:X,getFooter:V,getFocusableElements:K,getValidationMessage:q,isLoading:function(){return F().hasAttribute("data-loading")},fire:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return l(this,e)},mixin:function(e){return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,this),t(n,[{key:"_main",value:function(t){return c(o(n.prototype),"_main",this).call(this,s({},e,t))}}]),n;function n(){return i(this,n),t=this,!(e=o(n).apply(this,arguments))||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e;var t,e}},queue:function(t){var o=this;function a(t,e){Dt=[],document.body.removeAttribute("data-swal2-queue-step"),t(e)}Dt=t;var s=[];return new Promise(function(r){!function e(n,i){n<Dt.length?(document.body.setAttribute("data-swal2-queue-step",n),o.fire(Dt[n]).then(function(t){void 0!==t.value?(s.push(t.value),e(n+1,i)):a(r,{dismiss:t.dismiss})})):a(r,{value:s})}(0)})},getQueueStep:function(){return document.body.getAttribute("data-swal2-queue-step")},insertQueueStep:function(t,e){return e&&e<Dt.length?Dt.splice(e,0,t):Dt.push(t)},deleteQueueStep:function(t){void 0!==Dt[t]&&Dt.splice(t,1)},showLoading:kt,enableLoading:kt,getTimerLeft:function(){return At.timeout&&At.timeout.getTimerLeft()},stopTimer:function(){return At.timeout&&At.timeout.stop()},resumeTimer:function(){return At.timeout&&At.timeout.start()},toggleTimer:function(){var t=At.timeout;return t&&(t.running?t.stop():t.start())},increaseTimer:function(t){return At.timeout&&At.timeout.increase(t)},isTimerRunning:function(){return At.timeout&&At.timeout.isRunning()}});function Nt(){var t=ft.innerParams.get(this),e=ft.domCache.get(this);t.showConfirmButton||(P(e.confirmButton),t.showCancelButton||P(e.actions)),ot([e.popup,e.actions],S.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1}function Rt(){return window.MSInputMethodContext&&document.documentMode}function Ft(){var t=I(),e=F();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")}var jt={swalPromiseResolve:new WeakMap};function Ht(t,e,n,i){n?Wt(t,i):(new Promise(function(t){var e=window.scrollX,n=window.scrollY;At.restoreFocusTimeout=setTimeout(function(){At.previousActiveElement&&At.previousActiveElement.focus?(At.previousActiveElement.focus(),At.previousActiveElement=null):document.body&&document.body.focus(),t()},100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)}).then(function(){return Wt(t,i)}),At.keydownTarget.removeEventListener("keydown",At.keydownHandler,{capture:At.keydownListenerCapture}),At.keydownHandlerAdded=!1),e.parentNode&&e.parentNode.removeChild(e),J()&&(null!==C.previousBodyPadding&&(document.body.style.paddingRight=C.previousBodyPadding+"px",C.previousBodyPadding=null),m(document.body,S.iosfix)&&(e=parseInt(document.body.style.top,10),ot(document.body,S.iosfix),document.body.style.top="",document.body.scrollTop=-1*e),"undefined"!=typeof window&&Rt()&&window.removeEventListener("resize",Ft),d(document.body.children).forEach(function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})),ot([document.documentElement,document.body],[S.shown,S["height-auto"],S["no-backdrop"],S["toast-shown"],S["toast-column"]])}function Bt(t){var e,n,i,r,o,a,s,l=F();!l||m(l,S.hide)||(s=ft.innerParams.get(this))&&(e=jt.swalPromiseResolve.get(this),ot(l,S.show),rt(l,S.hide),n=this,i=l,r=s,a=I(),l=ct&&L(i),s=r.onClose,r=r.onAfterClose,null!==s&&"function"==typeof s&&s(i),l?(o=i,i=r,At.swalCloseEventFinishedCallback=Ht.bind(null,n,a,st(),i),o.addEventListener(ct,function(t){t.target===o&&(At.swalCloseEventFinishedCallback(),delete At.swalCloseEventFinishedCallback)})):Ht(n,a,st(),r),e(t||{}))}function zt(t){for(var e in t)t[e]=new WeakMap}var Wt=function(t,e){setTimeout(function(){null!==e&&"function"==typeof e&&e(),F()||(delete t.params,delete At.keydownHandler,delete At.keydownTarget,zt(ft),zt(jt))})};function $t(t,e,n){var i=ft.domCache.get(t);e.forEach(function(t){i[t].disabled=n})}function qt(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode.querySelectorAll("input"),i=0;i<n.length;i++)n[i].disabled=e;else t.disabled=e}var Ut=(t(Gt,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(t){var e=this.running;return e&&this.stop(),this.remaining+=t,e&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),Gt),Yt={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(t)?Promise.resolve():Promise.resolve(e||"Invalid URL")}};function Gt(t,e){i(this,Gt),this.callback=t,this.remaining=e,this.running=!1,this.start()}function Xt(t){var e,n,i,r,o,a,s;(s=t).inputValidator||Object.keys(Yt).forEach(function(t){s.input===t&&(s.inputValidator=Yt[t])}),t.showLoaderOnConfirm&&!t.preConfirm&&b("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),t.animation=v(t.animation),(a=t).target&&("string"!=typeof a.target||document.querySelector(a.target))&&("string"==typeof a.target||a.target.appendChild)||(b('Target parameter is not valid, defaulting to "body"'),a.target="body"),"string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),e=t,(o=I())&&(o.parentNode.removeChild(o),ot([document.documentElement,document.body],[S["no-backdrop"],S["toast-shown"],S["has-column"]])),Q()?f("SweetAlert2 requires document to initialize"):((n=document.createElement("div")).className=S.container,n.innerHTML=lt,(t="string"==typeof(a=e.target)?document.querySelector(a):a).appendChild(n),o=e,(a=F()).setAttribute("role",o.toast?"alert":"dialog"),a.setAttribute("aria-live",o.toast?"polite":"assertive"),o.toast||a.setAttribute("aria-modal","true"),"rtl"===window.getComputedStyle(t).direction&&rt(I(),S.rtl),n=z(),e=at(n,S.input),o=at(n,S.file),i=n.querySelector(".".concat(S.range," input")),r=n.querySelector(".".concat(S.range," output")),a=at(n,S.select),t=n.querySelector(".".concat(S.checkbox," input")),n=at(n,S.textarea),e.oninput=tt,o.onchange=tt,a.onchange=tt,t.onchange=tt,n.oninput=tt,i.oninput=function(t){tt(t),r.value=i.value},i.onchange=function(t){tt(t),i.nextSibling.value=i.value})}function Vt(t,e){t.removeEventListener(ct,Vt),e.style.overflowY="auto"}function Zt(t){var e,n,i,r,o=I(),a=F();"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(a),n=o,i=a,(r=t).animation&&(rt(i,S.show),rt(n,S.fade)),A(i),rt([document.documentElement,document.body,n],S.shown),r.heightAuto&&r.backdrop&&!r.toast&&rt([document.documentElement,document.body],S["height-auto"]),n=o,r=a,ct&&L(r)?(n.style.overflowY="hidden",r.addEventListener(ct,Vt.bind(null,r,n))):n.style.overflowY="auto",J()&&(e=o,o=t.scrollbarPadding,function(){var t,e,n;!/iPad|iPhone|iPod/.test(navigator.userAgent)||window.MSStream||m(document.body,S.iosfix)||(t=document.body.scrollTop,document.body.style.top=-1*t+"px",rt(document.body,S.iosfix),(n=I()).ontouchstart=function(t){e=t.target===n||!(n.scrollHeight>n.clientHeight)&&"INPUT"!==t.target.tagName},n.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())})}(),"undefined"!=typeof window&&Rt()&&(Ft(),window.addEventListener("resize",Ft)),d(document.body.children).forEach(function(t){var e,n;t===I()||(e=t,n=I(),"function"==typeof e.contains&&e.contains(n))||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),!o||null===C.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(C.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=C.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px"),setTimeout(function(){e.scrollTop=0})),st()||At.previousActiveElement||(At.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout(function(){return t.onOpen(a)})}function Kt(t,e){var n,i,r,o,a,s;function l(t){return re[a.input](s,oe(t),a)}"select"===e.input||"radio"===e.input?(o=t,a=e,s=z(),g(a.inputOptions)?(kt(),a.inputOptions.then(function(t){o.hideLoading(),l(t)})):"object"===u(a.inputOptions)?l(a.inputOptions):f("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(u(a.inputOptions)))):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&g(e.inputValue)&&(i=e,P(r=(n=t).getInput()),i.inputValue.then(function(t){r.value="number"===i.input?parseFloat(t)||0:t+"",A(r),r.focus(),n.hideLoading()}).catch(function(t){f("Error in inputValue promise: "+t),r.value="",A(r),r.focus(),n.hideLoading()}))}function Jt(t,e){var n,i,r;t.disableButtons(),e.input?(r=se(n=t,i=e),i.inputValidator?(n.disableInput(),Promise.resolve().then(function(){return i.inputValidator(r,i.validationMessage)}).then(function(t){n.enableButtons(),n.enableInput(),t?n.showValidationMessage(t):ae(n,i,r)})):n.getInput().checkValidity()?ae(n,i,r):(n.enableButtons(),n.showValidationMessage(i.validationMessage))):ae(t,e,!0)}function Qt(t,e){t.closePopup({value:e})}function te(r,t,o,a){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),o.toast||(t.keydownHandler=function(t){return e=r,n=t,i=a,(t=o).stopKeydownPropagation&&n.stopPropagation(),void("Enter"===n.key?fe(e,n,t):"Tab"===n.key?pe(n,t):-1!==he.indexOf(n.key)?ge():-1!==de.indexOf(n.key)&&me(n,t,i));var e,n,i},t.keydownTarget=o.keydownListenerCapture?window:F(),t.keydownListenerCapture=o.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)}function ee(t,e,n){var i=K(t.focusCancel),t=0;if(t<i.length)return(e+=n)===i.length?e=0:-1===e&&(e=i.length-1),i[e].focus();F().focus()}function ne(t,e,n){var i,r,o,a,s,l,u;e.toast?(l=e,u=n,t.popup.onclick=function(){l.showConfirmButton||l.showCancelButton||l.showCloseButton||l.input||u(w.close)}):((s=t).popup.onmousedown=function(){s.container.onmouseup=function(t){s.container.onmouseup=void 0,t.target===s.container&&(ye=!0)}},(a=t).container.onmousedown=function(){a.popup.onmouseup=function(t){a.popup.onmouseup=void 0,t.target!==a.popup&&!a.popup.contains(t.target)||(ye=!0)}},r=e,o=n,(i=t).container.onclick=function(t){ye?ye=!1:t.target===i.container&&v(r.allowOutsideClick)&&o(w.backdrop)})}var ie,re={select:function(t,e,i){var r=at(t,S.select);e.forEach(function(t){var e=t[0],n=t[1],t=document.createElement("option");t.value=e,t.innerHTML=n,i.inputValue.toString()===e.toString()&&(t.selected=!0),r.appendChild(t)}),r.focus()},radio:function(t,e,r){var o=at(t,S.radio);e.forEach(function(t){var e=t[0],n=t[1],i=document.createElement("input"),t=document.createElement("label");i.type="radio",i.name=S.radio,i.value=e,r.inputValue.toString()===e.toString()&&(i.checked=!0);e=document.createElement("span");e.innerHTML=n,e.className=S.label,t.appendChild(i),t.appendChild(e),o.appendChild(t)});e=o.querySelectorAll("input");e.length&&e[0].focus()}},oe=function(e){var n=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(function(t,e){n.push([e,t])}):Object.keys(e).forEach(function(t){n.push([t,e[t]])}),n},ae=function(e,t,n){t.showLoaderOnConfirm&&kt(),t.preConfirm?(e.resetValidationMessage(),Promise.resolve().then(function(){return t.preConfirm(n,t.validationMessage)}).then(function(t){O(q())||!1===t?e.hideLoading():Qt(e,void 0===t?n:t)})):Qt(e,n)},se=function(t,e){var n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return le(n);case"radio":return ue(n);case"file":return ce(n);default:return e.inputAutoTrim?n.value.trim():n.value}},le=function(t){return t.checked?1:0},ue=function(t){return t.checked?t.value:null},ce=function(t){return t.files.length?t.files[0]:null},he=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"],de=["Escape","Esc"],fe=function(t,e,n){!e.isComposing&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML&&-1===["textarea","file"].indexOf(n.input)&&(St(),e.preventDefault())},pe=function(t,e){for(var n=t.target,i=K(e.focusCancel),r=-1,o=0;o<i.length;o++)if(n===i[o]){r=o;break}t.shiftKey?ee(e,r,-1):ee(e,r,1),t.stopPropagation(),t.preventDefault()},ge=function(){var t=U(),e=Y();document.activeElement===t&&O(e)?e.focus():document.activeElement===e&&O(t)&&t.focus()},me=function(t,e,n){v(e.allowEscapeKey)&&(t.preventDefault(),n(w.esc))},ye=!1,ve=function(){document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()},be=Object.freeze({hideLoading:Nt,disableLoading:Nt,getInput:function(t){var e=ft.innerParams.get(t||this),t=ft.domCache.get(t||this);return t?k(t.content,e.input):null},close:Bt,closePopup:Bt,closeModal:Bt,closeToast:Bt,enableButtons:function(){$t(this,["confirmButton","cancelButton"],!1)},disableButtons:function(){$t(this,["confirmButton","cancelButton"],!0)},enableConfirmButton:function(){p("Swal.enableConfirmButton()","Swal.getConfirmButton().removeAttribute('disabled')"),$t(this,["confirmButton"],!1)},disableConfirmButton:function(){p("Swal.disableConfirmButton()","Swal.getConfirmButton().setAttribute('disabled', '')"),$t(this,["confirmButton"],!0)},enableInput:function(){return qt(this.getInput(),!1)},disableInput:function(){return qt(this.getInput(),!0)},showValidationMessage:function(t){var e=ft.domCache.get(this);e.validationMessage.innerHTML=t;t=window.getComputedStyle(e.popup);e.validationMessage.style.marginLeft="-".concat(t.getPropertyValue("padding-left")),e.validationMessage.style.marginRight="-".concat(t.getPropertyValue("padding-right")),A(e.validationMessage);e=this.getInput();e&&(e.setAttribute("aria-invalid",!0),e.setAttribute("aria-describedBy",S["validation-message"]),M(e),rt(e,S.inputerror))},resetValidationMessage:function(){var t=ft.domCache.get(this);t.validationMessage&&P(t.validationMessage);t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedBy"),ot(t,S.inputerror))},getProgressSteps:function(){return p("Swal.getProgressSteps()","const swalInstance = Swal.fire({progressSteps: ['1', '2', '3']}); const progressSteps = swalInstance.params.progressSteps"),ft.innerParams.get(this).progressSteps},setProgressSteps:function(t){p("Swal.setProgressSteps()","Swal.update()");t=s({},ft.innerParams.get(this),{progressSteps:t});bt(0,t),ft.innerParams.set(this,t)},showProgressSteps:function(){A(ft.domCache.get(this).progressSteps)},hideProgressSteps:function(){P(ft.domCache.get(this).progressSteps)},_main:function(t){!function(t){for(var e in t)Mt(n=e)||b('Unknown parameter "'.concat(n,'"')),t.toast&&(e=e,-1!==Lt.indexOf(e)&&b('The parameter "'.concat(e,'" is incompatible with toasts'))),Tt(void 0)&&p(void 0,Ot[void 0]);var n}(t),F()&&At.swalCloseEventFinishedCallback&&(At.swalCloseEventFinishedCallback(),delete At.swalCloseEventFinishedCallback),At.deferDisposalTimer&&(clearTimeout(At.deferDisposalTimer),delete At.deferDisposalTimer);var e=s({},Pt,t);Xt(e),Object.freeze(e),At.timeout&&(At.timeout.stop(),delete At.timeout),clearTimeout(At.restoreFocusTimeout);var n,r,o,a,t=(n=this,t={popup:F(),container:I(),content:z(),actions:G(),confirmButton:U(),cancelButton:Y(),closeButton:Z(),validationMessage:q(),progressSteps:$()},ft.domCache.set(n,t),t);return wt(this,e),ft.innerParams.set(this,e),r=this,o=t,a=e,new Promise(function(t){function e(t){r.closePopup({dismiss:t})}var n,i;jt.swalPromiseResolve.set(r,t),n=At,i=e,(t=a).timer&&(n.timeout=new Ut(function(){i("timer"),delete n.timeout},t.timer)),o.confirmButton.onclick=function(){return Jt(r,a)},o.cancelButton.onclick=function(){return t=e,r.disableButtons(),void t(w.cancel);var t},o.closeButton.onclick=function(){return e(w.close)},ne(o,a,e),te(r,At,a,e),(a.toast&&(a.input||a.footer||a.showCloseButton)?rt:ot)(document.body,S["toast-column"]),Kt(r,a),Zt(a),function(t,e){if(!e.toast)v(e.allowEnterKey)?e.focusCancel&&O(t.cancelButton)?t.cancelButton.focus():e.focusConfirm&&O(t.confirmButton)?t.confirmButton.focus():ee(e,-1,1):ve()}(o,a),o.container.scrollTop=0})},update:function(e){var n={};Object.keys(e).forEach(function(t){we.isUpdatableParameter(t)?n[t]=e[t]:b('Invalid parameter to update: "'.concat(t,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js'))});var t=s({},ft.innerParams.get(this),n);wt(this,t),ft.innerParams.set(this,t),Object.defineProperties(this,{params:{value:s({},this.params,e),writable:!1,enumerable:!0}})}});function xe(){if("undefined"!=typeof window){"undefined"==typeof Promise&&f("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),ie=this;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:i,writable:!1,enumerable:!0,configurable:!0}});i=this._main(this.params);ft.promise.set(this,i)}}xe.prototype.then=function(t){return ft.promise.get(this).then(t)},xe.prototype.finally=function(t){return ft.promise.get(this).finally(t)},s(xe.prototype,be),s(xe,It),Object.keys(be).forEach(function(t){xe[t]=function(){if(ie)return ie[t].apply(ie,arguments)}}),xe.DismissReason=w,xe.version="8.17.1";var we=xe;return we.default=we}),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),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(K,J){"use strict";if(!J)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");function n(o,u){function l(t){var e=!1;return void 0!==J.tz&&void 0!==u.timeZone&&null!==u.timeZone&&""!==u.timeZone&&(e=!0),null==t?(e?J().tz(u.timeZone):J()).startOf("d"):e?(e=J().tz(u.timeZone).utcOffset(),J(t,L,u.useStrict).utcOffset()!==e?(e=J().tz(u.timeZone).format("Z"),e=J(t,L,u.useStrict).format("YYYY-MM-DD[T]HH:mm:ss")+e,J(e,L,u.useStrict).tz(u.timeZone)):J(t,L,u.useStrict).tz(u.timeZone)):J(t,L,u.useStrict)}function a(t){if("string"!=typeof t||1<t.length)throw new TypeError("isEnabled expects a single character string parameter");switch(t){case"y":return-1!==O.indexOf("Y");case"M":return-1!==O.indexOf("M");case"d":return-1!==O.toLowerCase().indexOf("d");case"h":case"H":return-1!==O.toLowerCase().indexOf("h");case"m":return-1!==O.indexOf("m");case"s":return-1!==O.indexOf("s");default:return!1}}function s(){return a("h")||a("m")||a("s")}function c(){return a("y")||a("M")||a("d")}function h(){var t,e,n=K("<div>").addClass("timepicker-hours").append(K("<table>").addClass("table-condensed")),i=K("<div>").addClass("timepicker-minutes").append(K("<table>").addClass("table-condensed")),r=K("<div>").addClass("timepicker-seconds").append(K("<table>").addClass("table-condensed")),o=[(t=K("<tr>"),e=K("<tr>"),o=K("<tr>"),a("h")&&(t.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(K("<span>").addClass(u.icons.up)))),e.append(K("<td>").append(K("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:u.tooltips.pickHour}).attr("data-action","showHours"))),o.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(K("<span>").addClass(u.icons.down))))),a("m")&&(a("h")&&(t.append(K("<td>").addClass("separator")),e.append(K("<td>").addClass("separator").html(":")),o.append(K("<td>").addClass("separator"))),t.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(K("<span>").addClass(u.icons.up)))),e.append(K("<td>").append(K("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:u.tooltips.pickMinute}).attr("data-action","showMinutes"))),o.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(K("<span>").addClass(u.icons.down))))),a("s")&&(a("m")&&(t.append(K("<td>").addClass("separator")),e.append(K("<td>").addClass("separator").html(":")),o.append(K("<td>").addClass("separator"))),t.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(K("<span>").addClass(u.icons.up)))),e.append(K("<td>").append(K("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:u.tooltips.pickSecond}).attr("data-action","showSeconds"))),o.append(K("<td>").append(K("<a>").attr({href:"#",tabindex:"-1",title:u.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(K("<span>").addClass(u.icons.down))))),E||(t.append(K("<td>").addClass("separator")),e.append(K("<td>").append(K("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:u.tooltips.togglePeriod}))),o.append(K("<td>").addClass("separator"))),K("<div>").addClass("timepicker-picker").append(K("<table>").addClass("table-condensed").append([t,e,o])))];return a("h")&&o.push(n),a("m")&&o.push(i),a("s")&&o.push(r),o}function e(){var t=K("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),e=K("<div>").addClass("datepicker").append((i=K("<thead>").append(K("<tr>").append(K("<th>").addClass("prev").attr("data-action","previous").append(K("<span>").addClass(u.icons.previous))).append(K("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",u.calendarWeeks?"6":"5")).append(K("<th>").addClass("next").attr("data-action","next").append(K("<span>").addClass(u.icons.next)))),r=K("<tbody>").append(K("<tr>").append(K("<td>").attr("colspan",u.calendarWeeks?"8":"7"))),[K("<div>").addClass("datepicker-days").append(K("<table>").addClass("table-condensed").append(i).append(K("<tbody>"))),K("<div>").addClass("datepicker-months").append(K("<table>").addClass("table-condensed").append(i.clone()).append(r.clone())),K("<div>").addClass("datepicker-years").append(K("<table>").addClass("table-condensed").append(i.clone()).append(r.clone())),K("<div>").addClass("datepicker-decades").append(K("<table>").addClass("table-condensed").append(i.clone()).append(r.clone()))])),n=K("<div>").addClass("timepicker").append(h()),i=K("<ul>").addClass("list-unstyled"),r=K("<li>").addClass("picker-switch"+(u.collapse?" accordion-toggle":"")).append((r=[],u.showTodayButton&&r.push(K("<td>").append(K("<a>").attr({"data-action":"today",title:u.tooltips.today}).append(K("<span>").addClass(u.icons.today)))),!u.sideBySide&&c()&&s()&&r.push(K("<td>").append(K("<a>").attr({"data-action":"togglePicker",title:u.tooltips.selectTime}).append(K("<span>").addClass(u.icons.time)))),u.showClear&&r.push(K("<td>").append(K("<a>").attr({"data-action":"clear",title:u.tooltips.clear}).append(K("<span>").addClass(u.icons.clear)))),u.showClose&&r.push(K("<td>").append(K("<a>").attr({"data-action":"close",title:u.tooltips.close}).append(K("<span>").addClass(u.icons.close)))),K("<table>").addClass("table-condensed").append(K("<tbody>").append(K("<tr>").append(r)))));return u.inline&&t.removeClass("dropdown-menu"),E&&t.addClass("usetwentyfour"),a("s")&&!E&&t.addClass("wider"),u.sideBySide&&c()&&s()?(t.addClass("timepicker-sbs"),"top"===u.toolbarPlacement&&t.append(r),t.append(K("<div>").addClass("row").append(e.addClass("col-md-6")).append(n.addClass("col-md-6"))),"bottom"===u.toolbarPlacement&&t.append(r),t):("top"===u.toolbarPlacement&&i.append(r),c()&&i.append(K("<li>").addClass(u.collapse&&s()?"collapse in":"").append(e)),"default"===u.toolbarPlacement&&i.append(r),s()&&i.append(K("<li>").addClass(u.collapse&&c()?"collapse":"").append(n)),"bottom"===u.toolbarPlacement&&i.append(r),t.append(i))}function n(){var t,e=(H||o).position(),n=(H||o).offset(),i=u.widgetPositioning.vertical,r=u.widgetPositioning.horizontal;if(u.widgetParent)t=u.widgetParent.append(B);else if(o.is("input"))t=o.after(B).parent();else{if(u.inline)return void(t=o.append(B));(t=o).children().first().after(B)}if("auto"===i&&(i=n.top+1.5*B.height()>=K(window).height()+K(window).scrollTop()&&B.height()+o.outerHeight()<n.top?"top":"bottom"),"auto"===r&&(r=t.width()<n.left+B.outerWidth()/2&&n.left+B.outerWidth()>K(window).width()?"right":"left"),"top"===i?B.addClass("top").removeClass("bottom"):B.addClass("bottom").removeClass("top"),"right"===r?B.addClass("pull-right"):B.removeClass("pull-right"),0===(t="relative"!==t.css("position")?t.parents().filter(function(){return"relative"===K(this).css("position")}).first():t).length)throw new Error("datetimepicker component should be placed within a relative positioned container");B.css({top:"top"===i?"auto":e.top+o.outerHeight(),bottom:"top"===i?e.top+o.outerHeight():"auto",left:"left"===r?t===o?0:e.left:"auto",right:"left"===r?"auto":t.outerWidth()-o.outerWidth()-(t===o?0:e.left)})}function i(t){"dp.change"===t.type&&(t.date&&t.date.isSame(t.oldDate)||!t.date&&!t.oldDate)||o.trigger(t)}function r(t){i({type:"dp.update",change:t="y"===t?"YYYY":t,viewDate:A.clone()})}function d(t){B&&(t&&(I=Math.max(z,Math.min(3,I+t))),B.find(".datepicker > div").hide().filter(".datepicker-"+W[I].clsName).show())}function f(t,e){if(t.isValid()&&!(u.disabledDates&&"d"===e&&!0===u.disabledDates[t.format("YYYY-MM-DD")]||u.enabledDates&&"d"===e&&!0!==u.enabledDates[t.format("YYYY-MM-DD")]||u.minDate&&t.isBefore(u.minDate,e)||u.maxDate&&t.isAfter(u.maxDate,e)||u.daysOfWeekDisabled&&"d"===e&&-1!==u.daysOfWeekDisabled.indexOf(t.day())||u.disabledHours&&("h"===e||"m"===e||"s"===e)&&!0===u.disabledHours[t.format("H")]||u.enabledHours&&("h"===e||"m"===e||"s"===e)&&!0!==u.enabledHours[t.format("H")])){if(u.disabledTimeIntervals&&("h"===e||"m"===e||"s"===e)){var n=!1;if(K.each(u.disabledTimeIntervals,function(){if(t.isBetween(this[0],this[1]))return!(n=!0)}),n)return}return 1}}function p(){var t,e,n,i,r,o=B.find(".datepicker-days"),a=o.find("th"),s=[];if(c()){for(a.eq(0).find("span").attr("title",u.tooltips.prevMonth),a.eq(1).attr("title",u.tooltips.selectMonth),a.eq(2).find("span").attr("title",u.tooltips.nextMonth),o.find(".disabled").removeClass("disabled"),a.eq(1).text(A.format(u.dayViewHeaderFormat)),f(A.clone().subtract(1,"M"),"M")||a.eq(0).addClass("disabled"),f(A.clone().add(1,"M"),"M")||a.eq(2).addClass("disabled"),t=A.clone().startOf("M").startOf("w").startOf("d"),i=0;i<42;i++)0===t.weekday()&&(e=K("<tr>"),u.calendarWeeks&&e.append('<td class="cw">'+t.week()+"</td>"),s.push(e)),n="",t.isBefore(A,"M")&&(n+=" old"),t.isAfter(A,"M")&&(n+=" new"),t.isSame(D,"d")&&!j&&(n+=" active"),f(t,"d")||(n+=" disabled"),t.isSame(l(),"d")&&(n+=" today"),0!==t.day()&&6!==t.day()||(n+=" weekend"),e.append('<td data-action="selectDay" data-day="'+t.format("L")+'" class="day'+n+'">'+t.date()+"</td>"),t.add(1,"d");o.find("tbody").empty().append(s),r=B.find(".datepicker-months"),a=r.find("th"),o=r.find("tbody").find("span"),a.eq(0).find("span").attr("title",u.tooltips.prevYear),a.eq(1).attr("title",u.tooltips.selectYear),a.eq(2).find("span").attr("title",u.tooltips.nextYear),r.find(".disabled").removeClass("disabled"),f(A.clone().subtract(1,"y"),"y")||a.eq(0).addClass("disabled"),a.eq(1).text(A.year()),f(A.clone().add(1,"y"),"y")||a.eq(2).addClass("disabled"),o.removeClass("active"),D.isSame(A,"y")&&!j&&o.eq(D.month()).addClass("active"),o.each(function(t){f(A.clone().month(t),"M")||K(this).addClass("disabled")}),function(){var t=B.find(".datepicker-years"),e=t.find("th"),n=A.clone().subtract(5,"y"),i=A.clone().add(6,"y"),r="";for(e.eq(0).find("span").attr("title",u.tooltips.prevDecade),e.eq(1).attr("title",u.tooltips.selectDecade),e.eq(2).find("span").attr("title",u.tooltips.nextDecade),t.find(".disabled").removeClass("disabled"),u.minDate&&u.minDate.isAfter(n,"y")&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+i.year()),u.maxDate&&u.maxDate.isBefore(i,"y")&&e.eq(2).addClass("disabled");!n.isAfter(i,"y");)r+='<span data-action="selectYear" class="year'+(n.isSame(D,"y")&&!j?" active":"")+(f(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");t.find("td").html(r)}(),function(){var t=B.find(".datepicker-decades"),e=t.find("th"),n=J({y:A.year()-A.year()%100-1}),i=n.clone().add(100,"y"),r=n.clone(),o="";for(e.eq(0).find("span").attr("title",u.tooltips.prevCentury),e.eq(2).find("span").attr("title",u.tooltips.nextCentury),t.find(".disabled").removeClass("disabled"),(n.isSame(J({y:1900}))||u.minDate&&u.minDate.isAfter(n,"y"))&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+i.year()),(n.isSame(J({y:2e3}))||u.maxDate&&u.maxDate.isBefore(i,"y"))&&e.eq(2).addClass("disabled");!n.isAfter(i,"y");)o+='<span data-action="selectDecade" class="decade'+(n.isSame(D,"y")?" active":"")+(f(n,"y")?"":" disabled")+'" data-selection="'+(n.year()+6)+'">'+(n.year()+1)+" - "+(n.year()+12)+"</span>",n.add(12,"y");o+="<span></span><span></span><span></span>",t.find("td").html(o),e.eq(1).text(r.year()+1+"-"+n.year())}()}}function t(){var t,e,n=B.find(".timepicker span[data-time-component]");E||(t=B.find(".timepicker [data-action=togglePeriod]"),e=D.clone().add(12<=D.hours()?-12:12,"h"),t.text(D.format("A")),f(e,"h")?t.removeClass("disabled"):t.addClass("disabled")),n.filter("[data-time-component=hours]").text(D.format(E?"HH":"hh")),n.filter("[data-time-component=minutes]").text(D.format("mm")),n.filter("[data-time-component=seconds]").text(D.format("ss")),function(){var t=B.find(".timepicker-hours table"),e=A.clone().startOf("d"),n=[],i=K("<tr>");for(11<A.hour()&&!E&&e.hour(12);e.isSame(A,"d")&&(E||A.hour()<12&&e.hour()<12||11<A.hour());)e.hour()%4==0&&(i=K("<tr>"),n.push(i)),i.append('<td data-action="selectHour" class="hour'+(f(e,"h")?"":" disabled")+'">'+e.format(E?"HH":"hh")+"</td>"),e.add(1,"h");t.empty().append(n)}(),function(){for(var t=B.find(".timepicker-minutes table"),e=A.clone().startOf("h"),n=[],i=K("<tr>"),r=1===u.stepping?5:u.stepping;A.isSame(e,"h");)e.minute()%(4*r)==0&&(i=K("<tr>"),n.push(i)),i.append('<td data-action="selectMinute" class="minute'+(f(e,"m")?"":" disabled")+'">'+e.format("mm")+"</td>"),e.add(r,"m");t.empty().append(n)}(),function(){for(var t=B.find(".timepicker-seconds table"),e=A.clone().startOf("m"),n=[],i=K("<tr>");A.isSame(e,"m");)e.second()%20==0&&(i=K("<tr>"),n.push(i)),i.append('<td data-action="selectSecond" class="second'+(f(e,"s")?"":" disabled")+'">'+e.format("ss")+"</td>"),e.add(5,"s");t.empty().append(n)}()}function g(){B&&(p(),t())}function m(t){var e=j?null:D;if(!t)return j=!0,P.val(""),o.data("date",""),i({type:"dp.change",date:!1,oldDate:e}),g(),0;t=t.clone().locale(u.locale),1!==u.stepping&&t.minutes(Math.round(t.minutes()/u.stepping)*u.stepping%60).seconds(0),f(t)?(A=(D=t).clone(),P.val(D.format(O)),o.data("date",D.format(O)),j=!1,g(),i({type:"dp.change",date:D.clone(),oldDate:e})):(u.keepInvalid||P.val(j?"":D.format(O)),i({type:"dp.error",date:t}))}function y(){var e=!1;return B?(B.find(".collapse").each(function(){var t=K(this).data("collapse");return!t||!t.transitioning||!(e=!0)}),e||(H&&H.hasClass("btn")&&H.toggleClass("active"),B.hide(),K(window).off("resize",n),B.off("click","[data-action]"),B.off("mousedown",!1),B.remove(),B=!1,i({type:"dp.hide",date:D.clone()}),P.blur()),F):F}function v(){m(null)}function b(t){return K(t.currentTarget).is(".disabled")||V[K(t.currentTarget).data("action")].apply(F,arguments),!1}function x(){var t;return P.prop("disabled")||!u.ignoreReadonly&&P.prop("readonly")||B||(void 0!==P.val()&&0!==P.val().trim().length?m(Z(P.val().trim())):u.useCurrent&&j&&(P.is("input")&&0===P.val().trim().length||u.inline)&&(t=l(),"string"==typeof u.useCurrent&&(t={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)}}[u.useCurrent](t)),m(t)),B=e(),function(){var t=K("<tr>"),e=A.clone().startOf("w").startOf("d");for(!0===u.calendarWeeks&&t.append(K("<th>").addClass("cw").text("#"));e.isBefore(A.clone().endOf("w"));)t.append(K("<th>").addClass("dow").text(e.format("dd"))),e.add(1,"d");B.find(".datepicker-days thead").append(t)}(),function(){for(var t=[],e=A.clone().startOf("y").startOf("d");e.isSame(A,"y");)t.push(K("<span>").attr("data-action","selectMonth").addClass("month").text(e.format("MMM"))),e.add(1,"M");B.find(".datepicker-months td").empty().append(t)}(),B.find(".timepicker-hours").hide(),B.find(".timepicker-minutes").hide(),B.find(".timepicker-seconds").hide(),g(),d(),K(window).on("resize",n),B.on("click","[data-action]",b),B.on("mousedown",!1),H&&H.hasClass("btn")&&H.toggleClass("active"),B.show(),n(),u.focusOnShow&&!P.is(":focus")&&P.focus(),i({type:"dp.show"})),F}function w(){return(B?y:x)()}function S(t){var e,n,i,r,o=null,a=[],s={},l=t.which;for(e in X[l]="p",X)X.hasOwnProperty(e)&&"p"===X[e]&&(a.push(e),parseInt(e,10)!==l&&(s[e]=!0));for(e in u.keyBinds)if(u.keyBinds.hasOwnProperty(e)&&"function"==typeof u.keyBinds[e]&&(i=e.split(" ")).length===a.length&&G[l]===i[i.length-1]){for(r=!0,n=i.length-2;0<=n;n--)if(!(G[i[n]]in s)){r=!1;break}if(r){o=u.keyBinds[e];break}}o&&(o.call(F,B),t.stopPropagation(),t.preventDefault())}function _(t){X[t.which]="r",t.stopPropagation(),t.preventDefault()}function C(t){var e=(e=K(t.target).val().trim())?Z(e):null;return m(e),t.stopImmediatePropagation(),!1}function k(t){var e={};return K.each(t,function(){var t=Z(this);t.isValid()&&(e[t.format("YYYY-MM-DD")]=!0)}),!!Object.keys(e).length&&e}function M(t){var e={};return K.each(t,function(){e[this]=!0}),!!Object.keys(e).length&&e}function T(){var t=u.format||"L LT";O=t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return(D.localeData().longDateFormat(t)||t).replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return D.localeData().longDateFormat(t)||t})}),(L=u.extraFormats?u.extraFormats.slice():[]).indexOf(t)<0&&L.indexOf(O)<0&&L.push(O),E=O.toLowerCase().indexOf("a")<1&&O.replace(/\[.*?\]/g,"").indexOf("h")<1,a("y")&&(z=2),a("M")&&(z=1),a("d")&&(z=0),I=Math.max(z,I),j||m(D)}var D,A,P,E,O,L,I,N,R,F={},j=!0,H=!1,B=!1,z=0,W=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],$=["days","months","years","decades"],q=["top","bottom","auto"],U=["left","right","auto"],Y=["default","top","bottom"],G={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"},X={},V={next:function(){var t=W[I].navFnc;A.add(W[I].navStep,t),p(),r(t)},previous:function(){var t=W[I].navFnc;A.subtract(W[I].navStep,t),p(),r(t)},pickerSwitch:function(){d(1)},selectMonth:function(t){t=K(t.target).closest("tbody").find("span").index(K(t.target));A.month(t),I===z?(m(D.clone().year(A.year()).month(A.month())),u.inline||y()):(d(-1),p()),r("M")},selectYear:function(t){t=parseInt(K(t.target).text(),10)||0;A.year(t),I===z?(m(D.clone().year(A.year())),u.inline||y()):(d(-1),p()),r("YYYY")},selectDecade:function(t){t=parseInt(K(t.target).data("selection"),10)||0;A.year(t),I===z?(m(D.clone().year(A.year())),u.inline||y()):(d(-1),p()),r("YYYY")},selectDay:function(t){var e=A.clone();K(t.target).is(".old")&&e.subtract(1,"M"),K(t.target).is(".new")&&e.add(1,"M"),m(e.date(parseInt(K(t.target).text(),10))),s()||u.keepOpen||u.inline||y()},incrementHours:function(){var t=D.clone().add(1,"h");f(t,"h")&&m(t)},incrementMinutes:function(){var t=D.clone().add(u.stepping,"m");f(t,"m")&&m(t)},incrementSeconds:function(){var t=D.clone().add(1,"s");f(t,"s")&&m(t)},decrementHours:function(){var t=D.clone().subtract(1,"h");f(t,"h")&&m(t)},decrementMinutes:function(){var t=D.clone().subtract(u.stepping,"m");f(t,"m")&&m(t)},decrementSeconds:function(){var t=D.clone().subtract(1,"s");f(t,"s")&&m(t)},togglePeriod:function(){m(D.clone().add(12<=D.hours()?-12:12,"h"))},togglePicker:function(t){var e=K(t.target),n=e.closest("ul"),i=n.find(".in"),t=n.find(".collapse:not(.in)");i&&i.length&&((n=i.data("collapse"))&&n.transitioning||(i.collapse?(i.collapse("hide"),t.collapse("show")):(i.removeClass("in"),t.addClass("in")),(e.is("span")?e:e.find("span")).toggleClass(u.icons.time+" "+u.icons.date)))},showPicker:function(){B.find(".timepicker > div:not(.timepicker-picker)").hide(),B.find(".timepicker .timepicker-picker").show()},showHours:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-hours").show()},showMinutes:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){B.find(".timepicker .timepicker-picker").hide(),B.find(".timepicker .timepicker-seconds").show()},selectHour:function(t){t=parseInt(K(t.target).text(),10);E||(12<=D.hours()?12!==t&&(t+=12):12===t&&(t=0)),m(D.clone().hours(t)),V.showPicker.call(F)},selectMinute:function(t){m(D.clone().minutes(parseInt(K(t.target).text(),10))),V.showPicker.call(F)},selectSecond:function(t){m(D.clone().seconds(parseInt(K(t.target).text(),10))),V.showPicker.call(F)},clear:v,today:function(){var t=l();f(t,"d")&&m(t)},close:y},Z=function(t){return(t=void 0===u.parseInputDate?(J.isMoment(t)||t instanceof Date?J:l)(t):u.parseInputDate(t)).locale(u.locale),t};if(F.destroy=function(){y(),P.off({change:C,blur:blur,keydown:S,keyup:_,focus:u.allowInputToggle?y:""}),o.is("input")?P.off({focus:x}):H&&(H.off("click",w),H.off("mousedown",!1)),o.removeData("DateTimePicker"),o.removeData("date")},F.toggle=w,F.show=x,F.hide=y,F.disable=function(){return y(),H&&H.hasClass("btn")&&H.addClass("disabled"),P.prop("disabled",!0),F},F.enable=function(){return H&&H.hasClass("btn")&&H.removeClass("disabled"),P.prop("disabled",!1),F},F.ignoreReadonly=function(t){if(0===arguments.length)return u.ignoreReadonly;if("boolean"!=typeof t)throw new TypeError("ignoreReadonly () expects a boolean parameter");return u.ignoreReadonly=t,F},F.options=function(t){if(0===arguments.length)return K.extend(!0,{},u);if(!(t instanceof Object))throw new TypeError("options() options parameter should be an object");return K.extend(!0,u,t),K.each(u,function(t,e){if(void 0===F[t])throw new TypeError("option "+t+" is not recognized!");F[t](e)}),F},F.date=function(t){if(0===arguments.length)return j?null:D.clone();if(!(null===t||"string"==typeof t||J.isMoment(t)||t instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return m(null===t?null:Z(t)),F},F.format=function(t){if(0===arguments.length)return u.format;if("string"!=typeof t&&("boolean"!=typeof t||!1!==t))throw new TypeError("format() expects a sting or boolean:false parameter "+t);return u.format=t,O&&T(),F},F.timeZone=function(t){return 0===arguments.length?u.timeZone:(u.timeZone=t,F)},F.dayViewHeaderFormat=function(t){if(0===arguments.length)return u.dayViewHeaderFormat;if("string"!=typeof t)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return u.dayViewHeaderFormat=t,F},F.extraFormats=function(t){if(0===arguments.length)return u.extraFormats;if(!1!==t&&!(t instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return u.extraFormats=t,L&&T(),F},F.disabledDates=function(t){if(0===arguments.length)return u.disabledDates&&K.extend({},u.disabledDates);if(!t)return u.disabledDates=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return u.disabledDates=k(t),u.enabledDates=!1,g(),F},F.enabledDates=function(t){if(0===arguments.length)return u.enabledDates&&K.extend({},u.enabledDates);if(!t)return u.enabledDates=!1,g(),F;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return u.enabledDates=k(t),u.disabledDates=!1,g(),F},F.daysOfWeekDisabled=function(t){if(0===arguments.length)return u.daysOfWeekDisabled.splice(0);if("boolean"==typeof t&&!t)return u.daysOfWeekDisabled=!1,g(),F;if(!(t instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(u.daysOfWeekDisabled=t.reduce(function(t,e){return 6<(e=parseInt(e,10))||e<0||isNaN(e)||-1===t.indexOf(e)&&t.push(e),t},[]).sort(),u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"d");){if(D.add(1,"d"),7===e)throw"Tried 7 times to find a valid date";e++}m(D)}return g(),F},F.maxDate=function(t){if(0===arguments.length)return u.maxDate&&u.maxDate.clone();if("boolean"==typeof t&&!1===t)return u.maxDate=!1,g(),F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=l()));var e=Z(t);if(!e.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+t);if(u.minDate&&e.isBefore(u.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+e.format(O));return u.maxDate=e,u.useCurrent&&!u.keepInvalid&&D.isAfter(t)&&m(u.maxDate),A.isAfter(e)&&(A=e.clone().subtract(u.stepping,"m")),g(),F},F.minDate=function(t){if(0===arguments.length)return u.minDate&&u.minDate.clone();if("boolean"==typeof t&&!1===t)return u.minDate=!1,g(),F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=l()));var e=Z(t);if(!e.isValid())throw new TypeError("minDate() Could not parse date parameter: "+t);if(u.maxDate&&e.isAfter(u.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+e.format(O));return u.minDate=e,u.useCurrent&&!u.keepInvalid&&D.isBefore(t)&&m(u.minDate),A.isBefore(e)&&(A=e.clone().add(u.stepping,"m")),g(),F},F.defaultDate=function(t){if(0===arguments.length)return u.defaultDate&&u.defaultDate.clone();if(!t)return u.defaultDate=!1,F;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=l()));var e=Z(t);if(!e.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+t);if(!f(e))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return u.defaultDate=e,(u.defaultDate&&u.inline||""===P.val().trim())&&m(u.defaultDate),F},F.locale=function(t){if(0===arguments.length)return u.locale;if(!J.localeData(t))throw new TypeError("locale() locale "+t+" is not loaded from moment locales!");return u.locale=t,D.locale(u.locale),A.locale(u.locale),O&&T(),B&&(y(),x()),F},F.stepping=function(t){return 0===arguments.length?u.stepping:(t=parseInt(t,10),(isNaN(t)||t<1)&&(t=1),u.stepping=t,F)},F.useCurrent=function(t){var e=["year","month","day","hour","minute"];if(0===arguments.length)return u.useCurrent;if("boolean"!=typeof t&&"string"!=typeof t)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof t&&-1===e.indexOf(t.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+e.join(", "));return u.useCurrent=t,F},F.collapse=function(t){if(0===arguments.length)return u.collapse;if("boolean"!=typeof t)throw new TypeError("collapse() expects a boolean parameter");return u.collapse===t||(u.collapse=t,B&&(y(),x())),F},F.icons=function(t){if(0===arguments.length)return K.extend({},u.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return K.extend(u.icons,t),B&&(y(),x()),F},F.tooltips=function(t){if(0===arguments.length)return K.extend({},u.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return K.extend(u.tooltips,t),B&&(y(),x()),F},F.useStrict=function(t){if(0===arguments.length)return u.useStrict;if("boolean"!=typeof t)throw new TypeError("useStrict() expects a boolean parameter");return u.useStrict=t,F},F.sideBySide=function(t){if(0===arguments.length)return u.sideBySide;if("boolean"!=typeof t)throw new TypeError("sideBySide() expects a boolean parameter");return u.sideBySide=t,B&&(y(),x()),F},F.viewMode=function(t){if(0===arguments.length)return u.viewMode;if("string"!=typeof t)throw new TypeError("viewMode() expects a string parameter");if(-1===$.indexOf(t))throw new TypeError("viewMode() parameter must be one of ("+$.join(", ")+") value");return u.viewMode=t,I=Math.max($.indexOf(t),z),d(),F},F.toolbarPlacement=function(t){if(0===arguments.length)return u.toolbarPlacement;if("string"!=typeof t)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===Y.indexOf(t))throw new TypeError("toolbarPlacement() parameter must be one of ("+Y.join(", ")+") value");return u.toolbarPlacement=t,B&&(y(),x()),F},F.widgetPositioning=function(t){if(0===arguments.length)return K.extend({},u.widgetPositioning);if("[object Object]"!=={}.toString.call(t))throw new TypeError("widgetPositioning() expects an object variable");if(t.horizontal){if("string"!=typeof t.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(t.horizontal=t.horizontal.toLowerCase(),-1===U.indexOf(t.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+U.join(", ")+")");u.widgetPositioning.horizontal=t.horizontal}if(t.vertical){if("string"!=typeof t.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(t.vertical=t.vertical.toLowerCase(),-1===q.indexOf(t.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+q.join(", ")+")");u.widgetPositioning.vertical=t.vertical}return g(),F},F.calendarWeeks=function(t){if(0===arguments.length)return u.calendarWeeks;if("boolean"!=typeof t)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return u.calendarWeeks=t,g(),F},F.showTodayButton=function(t){if(0===arguments.length)return u.showTodayButton;if("boolean"!=typeof t)throw new TypeError("showTodayButton() expects a boolean parameter");return u.showTodayButton=t,B&&(y(),x()),F},F.showClear=function(t){if(0===arguments.length)return u.showClear;if("boolean"!=typeof t)throw new TypeError("showClear() expects a boolean parameter");return u.showClear=t,B&&(y(),x()),F},F.widgetParent=function(t){if(0===arguments.length)return u.widgetParent;if(null!==(t="string"==typeof t?K(t):t)&&"string"!=typeof t&&!(t instanceof K))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return u.widgetParent=t,B&&(y(),x()),F},F.keepOpen=function(t){if(0===arguments.length)return u.keepOpen;if("boolean"!=typeof t)throw new TypeError("keepOpen() expects a boolean parameter");return u.keepOpen=t,F},F.focusOnShow=function(t){if(0===arguments.length)return u.focusOnShow;if("boolean"!=typeof t)throw new TypeError("focusOnShow() expects a boolean parameter");return u.focusOnShow=t,F},F.inline=function(t){if(0===arguments.length)return u.inline;if("boolean"!=typeof t)throw new TypeError("inline() expects a boolean parameter");return u.inline=t,F},F.clear=function(){return v(),F},F.keyBinds=function(t){return u.keyBinds=t,F},F.getMoment=l,F.debug=function(t){if("boolean"!=typeof t)throw new TypeError("debug() expects a boolean parameter");return u.debug=t,F},F.allowInputToggle=function(t){if(0===arguments.length)return u.allowInputToggle;if("boolean"!=typeof t)throw new TypeError("allowInputToggle() expects a boolean parameter");return u.allowInputToggle=t,F},F.showClose=function(t){if(0===arguments.length)return u.showClose;if("boolean"!=typeof t)throw new TypeError("showClose() expects a boolean parameter");return u.showClose=t,F},F.keepInvalid=function(t){if(0===arguments.length)return u.keepInvalid;if("boolean"!=typeof t)throw new TypeError("keepInvalid() expects a boolean parameter");return u.keepInvalid=t,F},F.datepickerInput=function(t){if(0===arguments.length)return u.datepickerInput;if("string"!=typeof t)throw new TypeError("datepickerInput() expects a string parameter");return u.datepickerInput=t,F},F.parseInputDate=function(t){if(0===arguments.length)return u.parseInputDate;if("function"!=typeof t)throw new TypeError("parseInputDate() sholud be as function");return u.parseInputDate=t,F},F.disabledTimeIntervals=function(t){if(0===arguments.length)return u.disabledTimeIntervals&&K.extend({},u.disabledTimeIntervals);if(!t)return u.disabledTimeIntervals=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return u.disabledTimeIntervals=t,g(),F},F.disabledHours=function(t){if(0===arguments.length)return u.disabledHours&&K.extend({},u.disabledHours);if(!t)return u.disabledHours=!1,g(),F;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(u.disabledHours=M(t),u.enabledHours=!1,u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"h");){if(D.add(1,"h"),24===e)throw"Tried 24 times to find a valid date";e++}m(D)}return g(),F},F.enabledHours=function(t){if(0===arguments.length)return u.enabledHours&&K.extend({},u.enabledHours);if(!t)return u.enabledHours=!1,g(),F;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(u.enabledHours=M(t),u.disabledHours=!1,u.useCurrent&&!u.keepInvalid){for(var e=0;!f(D,"h");){if(D.add(1,"h"),24===e)throw"Tried 24 times to find a valid date";e++}m(D)}return g(),F},F.viewDate=function(t){if(0===arguments.length)return A.clone();if(!t)return A=D.clone(),F;if(!("string"==typeof t||J.isMoment(t)||t instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return A=Z(t),r(),F},o.is("input"))P=o;else if(0===(P=o.find(u.datepickerInput)).size())P=o.find("input");else if(!P.is("input"))throw new Error('CSS class "'+u.datepickerInput+'" cannot be applied to non input element');if(o.hasClass("input-group")&&(H=0===o.find(".datepickerbutton").size()?o.find(".input-group-addon"):o.find(".datepickerbutton")),!u.inline&&!P.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return D=l(),A=D.clone(),K.extend(!0,u,(N={},(R=(o.is("input")||u.inline?o:o.find("input")).data()).dateOptions&&R.dateOptions instanceof Object&&(N=K.extend(!0,N,R.dateOptions)),K.each(u,function(t){var e="date"+t.charAt(0).toUpperCase()+t.slice(1);void 0!==R[e]&&(N[t]=R[e])}),N)),F.options(u),T(),P.on({change:C,blur:u.debug?"":y,keydown:S,keyup:_,focus:u.allowInputToggle?x:""}),o.is("input")?P.on({focus:x}):H&&(H.on("click",w),H.on("mousedown",!1)),P.prop("disabled")&&F.disable(),P.is("input")&&0!==P.val().trim().length?m(Z(P.val().trim())):u.defaultDate&&void 0===P.attr("placeholder")&&m(u.defaultDate),u.inline&&x(),F}K.fn.datetimepicker=function(e){return this.each(function(){var t=K(this);t.data("DateTimePicker")||(e=K.extend(!0,{},K.fn.datetimepicker.defaults,e),t.data("DateTimePicker",n(t,e)))})},K.fn.datetimepicker.defaults={timeZone:"Etc/UTC",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:J.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){var e;t&&(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){var e;t?(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"))):this.show()},"control up":function(t){var e;t&&(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){var e;t&&(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){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"d")))},right:function(t){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"d")))},pageUp:function(t){var e;t&&(e=this.date()||this.getMoment(),t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"M")))},pageDown:function(t){var e;t&&(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(e){var t,n,i,r,h,o,d,f,g,p,a,s,m,y,v,l,r=((t=e&&e.fn&&e.fn.select2&&e.fn.select2.amd?e.fn.select2.amd:t)&&t.requirejs||(t?i=t:t={},d={},f={},g={},p={},a=Object.prototype.hasOwnProperty,s=[].slice,m=/\.js$/,y=function(t,e){var n,i,r=c(t),o=r[0];return t=r[1],o&&(n=w(o=u(o,e))),o?t=n&&n.normalize?n.normalize(t,(i=e,function(t){return u(t,i)})):u(t,e):(o=(r=c(t=u(t,e)))[0],t=r[1],o&&(n=w(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:n}},v={require:function(t){return x(t)},exports:function(t){var e=d[t];return void 0!==e?e:d[t]={}},module:function(t){return{id:t,uri:"",exports:d[t],config:(e=t,function(){return g&&g.config&&g.config[e]||{}})};var e}},l=function(t,e,n,i){var r,o,a,s,l,u=[],c=typeof n;if(i=i||t,"undefined"==c||"function"==c){for(e=!e.length&&n.length?["require","exports","module"]:e,s=0;s<e.length;s+=1)if("require"===(o=(a=y(e[s],i)).f))u[s]=v.require(t);else if("exports"===o)u[s]=v.exports(t),l=!0;else if("module"===o)r=u[s]=v.module(t);else if(b(d,o)||b(f,o)||b(p,o))u[s]=w(o);else{if(!a.p)throw new Error(t+" missing "+o);a.p.load(a.n,x(i,!0),function(e){return function(t){d[e]=t}}(o),{}),u[s]=d[o]}c=n?n.apply(d[t],u):void 0,t&&(r&&r.exports!==h&&r.exports!==d[t]?d[t]=r.exports:c===h&&l||(d[t]=c))}else t&&(d[t]=n)},n=i=o=function(t,e,n,i,r){if("string"==typeof t)return v[t]?v[t](e):w(y(t,e).f);if(!t.splice){if((g=t).deps&&o(g.deps,g.callback),!e)return;e.splice?(t=e,e=n,n=null):t=h}return e=e||function(){},"function"==typeof n&&(n=i,i=r),i?l(h,t,e,n):setTimeout(function(){l(h,t,e,n)},4),o},o.config=function(t){return o(t)},n._defined=d,(r=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=[]),b(d,t)||b(f,t)||(f[t]=[t,e,n])}).amd={jQuery:!0},t.requirejs=n,t.require=i,t.define=r),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&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."),t}),t.define("select2/utils",["jquery"],function(o){function u(t){var e,n=t.prototype,i=[];for(e in n)"function"==typeof n[e]&&"constructor"!==e&&i.push(e);return i}var t={Extend:function(t,e){function n(){this.constructor=t}var i,r={}.hasOwnProperty;for(i in e)r.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t}};t.Decorate=function(i,r){function o(){var t=Array.prototype.unshift,e=r.prototype.constructor.length,n=i.prototype.constructor;0<e&&(t.call(arguments,i.prototype.constructor),n=r.prototype.constructor),n.apply(this,arguments)}var t=u(r),e=u(i);r.displayName=i.displayName,o.prototype=new function(){this.constructor=o};for(var n=0;n<e.length;n++){var a=e[n];o.prototype[a]=i.prototype[a]}for(var s=0;s<t.length;s++){var l=t[s];o.prototype[l]=function(t){var e=function(){};t in o.prototype&&(e=o.prototype[t]);var n=r.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),n.apply(this,arguments)}}(l)}return o};function e(){this.listeners={}}return e.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},e.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},0===(n=null==n?[]:n).length&&n.push({}),(n[0]._type=t)in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].apply(this,e)},t.Observable=e,t.generateChars=function(t){for(var e="",n=0;n<t;n++)e+=Math.floor(36*Math.random()).toString(36);return e},t.bind=function(t,e){return function(){t.apply(e,arguments)}},t._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))in i||(i[o]={}),r==n.length-1&&(i[o]=t[e]),i=i[o]}delete t[e]}}return t},t.hasScroll=function(t,e){var n=o(e),i=e.style.overflowX,r=e.style.overflowY;return(i!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===i||"scroll"===r||(n.innerHeight()<e.scrollHeight||n.innerWidth()<e.scrollWidth))},t.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},t.appendMany=function(t,e){var n;"1.7"===o.fn.jquery.substr(0,3)&&(n=o(),o.map(e,function(t){n=n.add(t)}),e=n),t.append(e)},t}),t.define("select2/results",["jquery","./utils"],function(h,t){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=h('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(t){var e=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=h('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(t.message);n.append(e(i(t.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],i=this.option(i);e.push(i)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(t,e){e.find(".select2-results").append(t)},i.prototype.sort=function(t){return this.options.get("sorter")(t)},i.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");(0<e.length?e:t).first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var e=this;this.data.current(function(t){var i=h.map(t,function(t){return t.id.toString()});e.$results.find(".select2-results__option[aria-selected]").each(function(){var t=h(this),e=h.data(this,"data"),n=""+e.id;null!=e.element&&e.element.selected||null==e.element&&-1<h.inArray(n,i)?t.attr("aria-selected","true"):t.attr("aria-selected","false")})})},i.prototype.showLoading=function(t){this.hideLoading();t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},t=this.option(t);t.className+=" loading-results",this.$results.prepend(t)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(t){var e=document.createElement("li");e.className="select2-results__option";var n,i={role:"treeitem","aria-selected":"false"};for(n in t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(e.id=t._resultId),t.title&&(e.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]),i){var r=i[n];e.setAttribute(n,r)}if(t.children){var o=h(e),a=document.createElement("strong");a.className="select2-results__group",h(a),this.template(t,a);for(var s=[],l=0;l<t.children.length;l++){var u=t.children[l],u=this.option(u);s.push(u)}var c=h("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});c.append(s),o.append(a),o.append(c)}else this.template(t,e);return h.data(e,"data",t),e},i.prototype.bind=function(e,t){var r=this,n=e.id+"-results";this.$results.attr("id",n),e.on("results:all",function(t){r.clear(),r.append(t.data),e.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),e.on("results:append",function(t){r.append(t.data),e.isOpen()&&r.setClasses()}),e.on("query",function(t){r.hideMessages(),r.showLoading(t)}),e.on("select",function(){e.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),e.on("unselect",function(){e.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),e.on("open",function(){r.$results.attr("aria-expanded","true"),r.$results.attr("aria-hidden","false"),r.setClasses(),r.ensureHighlightVisible()}),e.on("close",function(){r.$results.attr("aria-expanded","false"),r.$results.attr("aria-hidden","true"),r.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=r.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t,e=r.getHighlightedResults();0!==e.length&&(t=e.data("data"),"true"==e.attr("aria-selected")?r.trigger("close",{}):r.trigger("select",{data:t}))}),e.on("results:previous",function(){var t,e=r.getHighlightedResults(),n=r.$results.find("[aria-selected]"),i=n.index(e);0!==i&&(t=i-1,0===e.length&&(t=0),(i=n.eq(t)).trigger("mouseenter"),e=r.$results.offset().top,n=i.offset().top,i=r.$results.scrollTop()+(n-e),0===t?r.$results.scrollTop(0):n-e<0&&r.$results.scrollTop(i))}),e.on("results:next",function(){var t,e=r.getHighlightedResults(),n=r.$results.find("[aria-selected]"),i=n.index(e)+1;i>=n.length||((t=n.eq(i)).trigger("mouseenter"),e=r.$results.offset().top+r.$results.outerHeight(!1),n=t.offset().top+t.outerHeight(!1),t=r.$results.scrollTop()+n-e,0===i?r.$results.scrollTop(0):e<n&&r.$results.scrollTop(t))}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){r.displayMessage(t)}),h.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=r.$results.scrollTop(),n=r.$results.get(0).scrollHeight-e+t.deltaY,e=0<t.deltaY&&e-t.deltaY<=0,n=t.deltaY<0&&n<=r.$results.height();e?(r.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):n&&(r.$results.scrollTop(r.$results.get(0).scrollHeight-r.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var e=h(this),n=e.data("data");return"true"===e.attr("aria-selected")?void(r.options.get("multiple")?r.trigger("unselect",{originalEvent:t,data:n}):r.trigger("close",{})):void r.trigger("select",{originalEvent:t,data:n})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(t){var e=h(this).data("data");r.getHighlightedResults().removeClass("select2-results__option--highlighted"),r.trigger("results:focus",{data:e,element:h(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t,e,n,i,r=this.getHighlightedResults();0!==r.length&&(t=this.$results.find("[aria-selected]").index(r),i=this.$results.offset().top,e=r.offset().top,n=this.$results.scrollTop()+(e-i),i=e-i,n-=2*r.outerHeight(!1),t<=2?this.$results.scrollTop(0):(i>this.$results.outerHeight()||i<0)&&this.$results.scrollTop(n))},i.prototype.template=function(t,e){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),t=n(t,e);null==t?e.style.display="none":"string"==typeof t?e.innerHTML=i(t):h(e).append(t)},i}),t.define("select2/keys",[],function(){return{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}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(n,t,r){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=n('<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")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t},i.prototype.bind=function(t,e){var n=this,i=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n._handleBlur(t)}),this.$selection.on("keydown",function(t){n.trigger("keypress",t),t.which===r.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){n.update(t.data)}),t.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(t)}),t.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.focus(),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),t.on("disable",function(){n.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(t){var e=this;window.setTimeout(function(){document.activeElement==e.$selection[0]||n.contains(e.$selection[0],document.activeElement)||e.trigger("blur",t)},1)},i.prototype._attachCloseHandler=function(t){n(document.body).on("mousedown.select2."+t.id,function(t){var e=n(t.target).closest(".select2");n(".select2.select2-container--open").each(function(){var t=n(this);this!=e[0]&&t.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(t){n(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(t,e){e.find(".selection").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}),t.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(e,t){var n=this;r.__super__.bind.apply(this,arguments);var i=e.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){}),e.on("focus",function(t){e.isOpen()||n.$selection.focus()}),e.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");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t("<span></span>")},r.prototype.update=function(t){var e,n;0!==t.length?(e=t[0],n=this.$selection.find(".select2-selection__rendered"),t=this.display(e,n),n.empty().append(t),n.prop("title",e.title||e.text)):this.clear()},r}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,t,s){function r(t,e){r.__super__.constructor.apply(this,arguments)}return s.Extend(r,t),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){n.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){var e;n.options.get("disabled")||(e=i(this).parent().data("data"),n.trigger("unselect",{originalEvent:t,data:e}))})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return i('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},r.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n<t.length;n++){var i=t[n],r=this.selectionContainer(),o=this.display(i,r);r.append(o),r.prop("title",i.title||i.text),r.data("data",i),e.push(r)}var a=this.$selection.find(".select2-selection__rendered");s.appendMany(a,e)}},r}),t.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 e="string"==typeof 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;if(1<e.length||n)return t.call(this,e);this.clear();e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},e}),t.define("select2/selection/allowClear",["jquery","../keys"],function(n,i){function t(){}return t.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)})},t.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",{})}}},t.prototype._handleKeyboardClear=function(t,e,n){n.isOpen()||e.which!=i.DELETE&&e.which!=i.BACKSPACE||this._handleClear(e)},t.prototype.update=function(t,e){t.call(this,e),0<this.$selection.find(".select2-selection__placeholder").length||0===e.length||((t=n('<span class="select2-selection__clear">&times;</span>')).data("data",e),this.$selection.find(".select2-selection__rendered").prepend(t))},t}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(n,t,o){function e(t,e,n){t.call(this,e,n)}return e.prototype.render=function(t){var e=n('<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=e,this.$search=e.find("input");t=t.call(this);return this._transferTabIndex(),t},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",function(){i.$search.trigger("focus")}),e.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),e.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),e.on("disable",function(){i.$search.prop("disabled",!0)}),e.on("focus",function(t){i.$search.trigger("focus")}),e.on("results:focus",function(t){i.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){i.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){i._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){var e;t.stopPropagation(),i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented(),t.which!==o.BACKSPACE||""!==i.$search.val()||0<(e=i.$searchContainer.prev(".select2-selection__choice")).length&&(e=e.data("data"),i.searchRemoveChoice(e),t.preventDefault())});var e=document.documentMode,r=e&&e<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){return r?void i.$selection.off("input.search input.searchcheck"):void i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){var e;r&&"input"===t.type?i.$selection.off("input.search input.searchcheck"):(e=t.which)!=o.SHIFT&&e!=o.CTRL&&e!=o.ALT&&e!=o.TAB&&i.handleSearch(t)})},e.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},e.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()},e.prototype.handleSearch=function(){var t;this.resizeSearch(),this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},e}),t.define("select2/selection/eventRelay",["jquery"],function(a){function t(){}return t.prototype.bind=function(t,e,n){var i=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting"],o=["opening","closing","selecting","unselecting"];t.call(this,e,n),e.on("*",function(t,e){var n;-1!==a.inArray(t,r)&&(n=a.Event("select2:"+t,{params:e=e||{}}),i.$element.trigger(n),-1!==a.inArray(t,o)&&(e.prevented=n.isDefaultPrevented()))})},t}),t.define("select2/translation",["jquery","require"],function(e,n){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},i._cache={},i.loadPath=function(t){var e;return t in i._cache||(e=n(t),i._cache[t]=e),new i(i._cache[t])},i}),t.define("select2/diacritics",[],function(){return{"":"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","":"C","":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","":"C","Ƈ":"C","Ȼ":"C","":"C","":"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","":"F","":"F","":"F","Ƒ":"F","":"F","":"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","":"I","":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","":"I","":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","":"I","Į":"I","":"I","Ɨ":"I","":"J","":"J","Ĵ":"J","Ɉ":"J","":"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","LJ":"LJ","Lj":"Lj","":"M","":"M","":"M","":"M","":"M","":"M","Ɯ":"M","":"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","Ƣ":"OI","":"OO","Ȣ":"OU","":"P","":"P","":"P","":"P","Ƥ":"P","":"P","":"P","":"P","":"P","":"Q","":"Q","":"Q","":"Q","Ɋ":"Q","":"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","":"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","":"V","":"V","":"V","":"V","Ʋ":"V","":"V","Ʌ":"V","":"VY","":"W","":"W","":"W","":"W","Ŵ":"W","":"W","":"W","":"W","":"W","":"X","":"X","":"X","":"X","":"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","":"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","":"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","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","":"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","ƕ":"hv","":"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","":"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","":"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","ƣ":"oi","ȣ":"ou","":"oo","":"p","":"p","":"p","":"p","ƥ":"p","":"p","":"p","":"p","":"p","":"q","":"q","ɋ":"q","":"q","":"q","":"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","":"v","":"v","":"v","ṿ":"v","ʋ":"v","":"v","ʌ":"v","":"vy","":"w","":"w","":"w","":"w","ŵ":"w","":"w","":"w","":"w","":"w","":"w","":"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","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),t.define("select2/data/base",["../utils"],function(n){function i(t,e){i.__super__.constructor.call(this)}return n.Extend(i,n.Observable),i.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},i.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},i.prototype.bind=function(t,e){},i.prototype.destroy=function(){},i.prototype.generateResultId=function(t,e){t=t.id+"-result-";return(t+=n.generateChars(4))+(null!=e.id?"-"+e.id.toString():"-"+n.generateChars(4))},i}),t.define("select2/data/select",["./base","../utils","jquery"],function(t,e,a){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,t),n.prototype.current=function(t){var e=[],n=this;this.$element.find(":selected").each(function(){var t=a(this),t=n.item(t);e.push(t)}),t(e)},n.prototype.select=function(r){var t,o=this;if(r.selected=!0,a(r.element).is("option"))return r.element.selected=!0,void this.$element.trigger("change");this.$element.prop("multiple")?this.current(function(t){var e=[];(r=[r]).push.apply(r,t);for(var n=0;n<r.length;n++){var i=r[n].id;-1===a.inArray(i,e)&&e.push(i)}o.$element.val(e),o.$element.trigger("change")}):(t=r.id,this.$element.val(t),this.$element.trigger("change"))},n.prototype.unselect=function(r){var o=this;if(this.$element.prop("multiple"))return r.selected=!1,a(r.element).is("option")?(r.element.selected=!1,void this.$element.trigger("change")):void this.current(function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n].id;i!==r.id&&-1===a.inArray(i,e)&&e.push(i)}o.$element.val(e),o.$element.trigger("change")})},n.prototype.bind=function(t,e){var n=this;(this.container=t).on("select",function(t){n.select(t.data)}),t.on("unselect",function(t){n.unselect(t.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){a.removeData(this,"data")})},n.prototype.query=function(e,t){var n=[],i=this;this.$element.children().each(function(){var t=a(this);(t.is("option")||t.is("optgroup"))&&(t=i.item(t),null!==(t=i.matches(e,t))&&n.push(t))}),t({results:n})},n.prototype.addOptions=function(t){e.appendMany(this.$element,t)},n.prototype.option=function(t){var e;t.children?(e=document.createElement("optgroup")).label=t.text:void 0!==(e=document.createElement("option")).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 n=a(e),t=this._normalizeItem(t);return t.element=e,a.data(e,"data",t),n},n.prototype.item=function(t){var e={};if(null!=(e=a.data(t[0],"data")))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")){for(var e={text:t.prop("label"),children:[],title:t.prop("title")},n=t.children("option"),i=[],r=0;r<n.length;r++){var o=a(n[r]),o=this.item(o);i.push(o)}e.children=i}return(e=this._normalizeItem(e)).element=t[0],a.data(t[0],"data",e),e},n.prototype._normalizeItem=function(t){a.isPlainObject(t)||(t={id:t,text:t});return null!=(t=a.extend({},{text:""},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)),a.extend({},{selected:!1,disabled:!1},t)},n.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},n}),t.define("select2/data/array",["./select","../utils","jquery"],function(t,u,c){function i(t,e){var n=e.get("data")||[];i.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(n))}return u.Extend(i,t),i.prototype.select=function(n){var t;0===(t=this.$element.find("option").filter(function(t,e){return e.value==n.id.toString()})).length&&(t=this.option(n),this.addOptions(t)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(t){for(var e=this,n=this.$element.find("option"),i=n.map(function(){return e.item(c(this)).id}).get(),r=[],o=0;o<t.length;o++){var a,s,l=this._normalizeItem(t[o]);0<=c.inArray(l.id,i)?(a=n.filter(function(t){return function(){return c(this).val()==t.id}}(l)),s=this.item(a),s=c.extend(!0,{},l,s),s=this.option(s),a.replaceWith(s)):(s=this.option(l),l.children&&(l=this.convertToOptions(l.children),u.appendMany(s,l)),r.push(s))}return r},i}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,o){function n(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,t,e)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){var e={data:function(t){return o.extend({},t,{q:t.term})},transport:function(t,e,n){t=o.ajax(t);return t.then(e),t.fail(n),t}};return o.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(e,n){function t(){var t=r.transport(r,function(t){t=i.processResults(t,e);i.options.get("debug")&&window.console&&console.error&&(t&&t.results&&o.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),n(t)},function(){t.status&&"0"===t.status||i.trigger("results:message",{message:"errorLoading"})});i._request=t}var i=this;null!=this._request&&(o.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=o.extend({type:"GET"},this.ajaxOptions);"function"==typeof r.url&&(r.url=r.url.call(this.$element,e)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(t,this.ajaxOptions.delay)):t()},n}),t.define("select2/data/tags",["jquery"],function(s){function t(t,e,n){var i=n.get("tags"),r=n.get("createTag");void 0!==r&&(this.createTag=r);r=n.get("insertTag");if(void 0!==r&&(this.insertTag=r),t.call(this,e,n),s.isArray(i))for(var o=0;o<i.length;o++){var a=i[o],a=this._normalizeItem(a),a=this.option(a);this.$element.append(a)}}return t.prototype.query=function(t,u,c){var h=this;return this._removeOldTags(),null==u.term||null!=u.page?void t.call(this,u,c):void t.call(this,u,function t(e,n){for(var i=e.results,r=0;r<i.length;r++){var o=i[r],a=null!=o.children&&!t({results:o.children},!0);if(o.text===u.term||a)return!n&&(e.data=i,void c(e))}if(n)return!0;var s,l=h.createTag(u);null!=l&&((s=h.option(l)).attr("data-select2-tag",!0),h.addOptions([s]),h.insertTag(i,l)),e.results=i,c(e)})},t.prototype.createTag=function(t,e){e=s.trim(e.term);return""===e?null:{id:e,text:e}},t.prototype.insertTag=function(t,e,n){e.unshift(n)},t.prototype._removeOldTags=function(t){(this._lastTag,this.$element.find("option[data-select2-tag]")).each(function(){this.selected||s(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(u){function t(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,e,n){var i=this;e.term=e.term||"";var r=this.tokenizer(e,this.options,function(t){var e=i._normalizeItem(t);i.$element.find("option").filter(function(){return u(this).val()===e.id}).length||((t=i.option(e)).attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([t])),i.trigger("select",{data:e})});r.term!==e.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.focus()),e.term=r.term),t.call(this,e,n)},t.prototype.tokenizer=function(t,e,n,i){for(var r=n.get("tokenSeparators")||[],o=e.term,a=0,s=this.createTag||function(t){return{id:t.term,text:t.term}};a<o.length;){var l=o[a];-1!==u.inArray(l,r)?(l=o.substr(0,a),null!=(l=s(u.extend({},e,{term:l})))?(i(l),o=o.substr(a+1)||"",a=0):a++):a++}return{term:o}},t}),t.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}),t.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||"",0<this.maximumInputLength&&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}),t.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(e,n,i){var r=this;this.current(function(t){t=null!=t?t.length:0;return 0<r.maximumSelectionLength&&t>=r.maximumSelectionLength?void r.trigger("results:message",{message:"maximumSelected",args:{maximum:r.maximumSelectionLength}}):void e.call(r,n,i)})},t}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(r,t){function e(){}return e.prototype.render=function(t){var e=t.call(this),t=r('<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=t,this.$search=t.find("input"),e.prepend(t),e},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),this.$search.on("keydown",function(t){i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(t){r(this).off("keyup")}),this.$search.on("keyup input",function(t){i.handleSearch(t)}),e.on("open",function(){i.$search.attr("tabindex",0),i.$search.focus(),window.setTimeout(function(){i.$search.focus()},0)}),e.on("close",function(){i.$search.attr("tabindex",-1),i.$search.val("")}),e.on("focus",function(){e.isOpen()&&i.$search.focus()}),e.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(i.showSearch(t)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))})},e.prototype.handleSearch=function(t){var e;this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e}),t.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 e="string"==typeof e?{id:"",text:e}:e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;0<=i;i--){var r=e[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},t}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(r){function t(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("query",function(t){i.lastParams=t,i.loading=!0}),e.on("query:append",function(t){i.lastParams=t,i.loading=!0}),this.$results.on("scroll",function(){var t=r.contains(document.documentElement,i.$loadingMore[0]);!i.loading&&t&&(t=i.$results.offset().top+i.$results.outerHeight(!1),i.$loadingMore.offset().top+i.$loadingMore.outerHeight(!1)<=t+50&&i.loadMore())})},t.prototype.loadMore=function(){this.loading=!0;var t=r.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},t.prototype.createLoadingMore=function(){var t=r('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),e=this.options.get("translations").get("loadingMore");return t.html(e(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(u,a){function t(t,e,n){this.$dropdownParent=n.get("dropdownParent")||u(document.body),t.call(this,e,n)}return t.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()})},t.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},t.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},t.prototype.render=function(t){var e=u("<span></span>"),t=t.call(this);return e.append(t),this.$dropdownContainer=e},t.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},t.prototype._attachPositioningHandler=function(t,e){var n=this,i="scroll.select2."+e.id,r="resize.select2."+e.id,o="orientationchange.select2."+e.id,e=this.$container.parents().filter(a.hasScroll);e.each(function(){u(this).data("select2-scroll-position",{x:u(this).scrollLeft(),y:u(this).scrollTop()})}),e.on(i,function(t){var e=u(this).data("select2-scroll-position");u(this).scrollTop(e.y)}),u(window).on(i+" "+r+" "+o,function(t){n._positionDropdown(),n._resizeDropdown()})},t.prototype._detachPositioningHandler=function(t,e){var n="scroll.select2."+e.id,i="resize.select2."+e.id,e="orientationchange.select2."+e.id;this.$container.parents().filter(a.hasScroll).off(n),u(window).off(n+" "+i+" "+e)},t.prototype._positionDropdown=function(){var t=u(window),e=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=r.top,o.bottom=r.top+o.height;var a=this.$dropdown.outerHeight(!1),s=t.scrollTop(),l=t.scrollTop()+t.height(),t=s<r.top-a,s=l>r.bottom+a,l={left:r.left,top:o.bottom},r=this.$dropdownParent,r=(r="static"===r.css("position")?r.offsetParent():r).offset();l.top-=r.top,l.left-=r.left,e||n||(i="below"),s||!t||e?!t&&s&&e&&(i="below"):i="above",("above"==i||e&&"below"!==i)&&(l.top=o.top-r.top-a),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(l)},t.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)},t.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},t}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return t.prototype.showSearch=function(t,e){return!(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}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),t.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}n=this.getHighlightedResults();n.length<1||(null!=(n=n.data("data")).element&&n.element.selected||null==n.element&&n.selected||this.trigger("select",{data:n}))},t}),t.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}),t.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,t="Please delete "+e+" character";return 1!=e&&(t+="s"),t},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},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"}}}),t.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(c,h,d,f,p,g,m,y,v,b,x,e,w,S,_,C,k,M,T,D,A,P,E,O,L,I,N,R,t){function n(){this.reset()}return n.prototype.apply=function(e){var t,n;if(null==(e=c.extend(!0,{},this.defaults,e)).dataAdapter&&(null!=e.ajax?e.dataAdapter=_:null!=e.data?e.dataAdapter=S:e.dataAdapter=w,0<e.minimumInputLength&&(e.dataAdapter=b.Decorate(e.dataAdapter,M)),0<e.maximumInputLength&&(e.dataAdapter=b.Decorate(e.dataAdapter,T)),0<e.maximumSelectionLength&&(e.dataAdapter=b.Decorate(e.dataAdapter,D)),e.tags&&(e.dataAdapter=b.Decorate(e.dataAdapter,C)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=b.Decorate(e.dataAdapter,k)),null!=e.query&&(t=h(e.amdBase+"compat/query"),e.dataAdapter=b.Decorate(e.dataAdapter,t)),null!=e.initSelection&&(t=h(e.amdBase+"compat/initSelection"),e.dataAdapter=b.Decorate(e.dataAdapter,t))),null==e.resultsAdapter&&(e.resultsAdapter=d,null!=e.ajax&&(e.resultsAdapter=b.Decorate(e.resultsAdapter,O)),null!=e.placeholder&&(e.resultsAdapter=b.Decorate(e.resultsAdapter,E)),e.selectOnClose&&(e.resultsAdapter=b.Decorate(e.resultsAdapter,N))),null==e.dropdownAdapter&&(e.multiple?e.dropdownAdapter=A:(n=b.Decorate(A,P),e.dropdownAdapter=n),0!==e.minimumResultsForSearch&&(e.dropdownAdapter=b.Decorate(e.dropdownAdapter,I)),e.closeOnSelect&&(e.dropdownAdapter=b.Decorate(e.dropdownAdapter,R)),null==e.dropdownCssClass&&null==e.dropdownCss&&null==e.adaptDropdownCssClass||(n=h(e.amdBase+"compat/dropdownCss"),e.dropdownAdapter=b.Decorate(e.dropdownAdapter,n)),e.dropdownAdapter=b.Decorate(e.dropdownAdapter,L)),null==e.selectionAdapter&&(e.multiple?e.selectionAdapter=p:e.selectionAdapter=f,null!=e.placeholder&&(e.selectionAdapter=b.Decorate(e.selectionAdapter,g)),e.allowClear&&(e.selectionAdapter=b.Decorate(e.selectionAdapter,m)),e.multiple&&(e.selectionAdapter=b.Decorate(e.selectionAdapter,y)),null==e.containerCssClass&&null==e.containerCss&&null==e.adaptContainerCssClass||(l=h(e.amdBase+"compat/containerCss"),e.selectionAdapter=b.Decorate(e.selectionAdapter,l)),e.selectionAdapter=b.Decorate(e.selectionAdapter,v)),"string"==typeof e.language&&(0<e.language.indexOf("-")?(u=e.language.split("-")[0],e.language=[e.language,u]):e.language=[e.language]),c.isArray(e.language)){var i=new x;e.language.push("en");for(var r=e.language,o=0;o<r.length;o++){var a=r[o],s={};try{s=x.loadPath(a)}catch(t){try{a=this.defaults.amdLanguageBase+a,s=x.loadPath(a)}catch(t){e.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+a+'" could not be automatically loaded. A fallback will be used instead.');continue}}i.extend(s)}e.translations=i}else{var l=x.loadPath(this.defaults.amdLanguageBase+"en"),u=new x(e.language);u.extend(l),e.translations=u}return e},n.prototype.reset=function(){function s(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return e[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:b.escapeMarkup,language:t,matcher:function t(e,n){if(""===c.trim(e.term))return n;if(n.children&&0<n.children.length){for(var i=c.extend(!0,{},n),r=n.children.length-1;0<=r;r--)null==t(e,n.children[r])&&i.children.splice(r,1);return 0<i.children.length?i:t(e,i)}var o=s(n.text).toUpperCase(),a=s(e.term).toUpperCase();return-1<o.indexOf(a)?n:null},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"}},n.prototype.set=function(t,e){var n={};n[c.camelCase(t)]=e;n=b._convertData(n);c.extend(this.defaults,n)},new n}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(n,o,i,a){function t(t,e){this.options=t,null!=e&&this.fromElement(e),this.options=i.apply(this.options),e&&e.is("input")&&(e=n(this.get("amdBase")+"compat/inputData"),this.options.dataAdapter=a.Decorate(this.options.dataAdapter,e))}return t.prototype.fromElement=function(t){var e=["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 n,i=o.fn.jquery&&"1."==o.fn.jquery.substr(0,2)&&t[0].dataset?o.extend(!0,{},t[0].dataset,t.data()):t.data(),r=o.extend(!0,{},i);for(n in r=a._convertData(r))-1<o.inArray(n,e)||(o.isPlainObject(this.options[n])?o.extend(this.options[n],r[n]):this.options[n]=r[n]);return this},t.prototype.get=function(t){return this.options[t]},t.prototype.set=function(t,e){this.options[t]=e},t}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(r,o,n,i){var a=function(t,e){null!=t.data("select2")&&t.data("select2").destroy(),this.$element=t,this.id=this._generateId(t),this.options=new o(e=e||{},t),a.__super__.constructor.call(this);var n=t.attr("tabindex")||0;t.data("old-tabindex",n),t.attr("tabindex","-1");e=this.options.get("dataAdapter");this.dataAdapter=new e(t,this.options);n=this.render();this._placeContainer(n);e=this.options.get("selectionAdapter");this.selection=new e(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,n);e=this.options.get("dropdownAdapter");this.dropdown=new e(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,n);n=this.options.get("resultsAdapter");this.results=new n(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var i=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){i.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),t.data("select2",this)};return n.Extend(a,n.Observable),a.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},a.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},a.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){i=t.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"!=e)return e;t=t.attr("style");if("string"!=typeof t)return null;for(var r=t.split(";"),o=0,a=r.length;o<a;o+=1){var s=r[o].replace(/\s/g,"").match(n);if(null!==s&&1<=s.length)return s[1]}return null},a.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)},a.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 t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=t?(this._observer=new t(function(t){r.each(t,e._syncA),r.each(t,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))},a.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(t,e){n.trigger(t,e)})},a.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(t){n.focus(t)}),this.selection.on("*",function(t,e){-1===r.inArray(t,i)&&n.trigger(t,e)})},a.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(t,e){n.trigger(t,e)})},a.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(t,e){n.trigger(t,e)})},a.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(e){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(e,function(t){n.trigger("results:all",{data:t,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(t){n.trigger("results:append",{data:t,query:e})})}),this.on("keypress",function(t){var e=t.which;n.isOpen()?e===i.ESC||e===i.TAB||e===i.UP&&t.altKey?(n.close(),t.preventDefault()):e===i.ENTER?(n.trigger("results:select",{}),t.preventDefault()):e===i.SPACE&&t.ctrlKey?(n.trigger("results:toggle",{}),t.preventDefault()):e===i.UP?(n.trigger("results:previous",{}),t.preventDefault()):e===i.DOWN&&(n.trigger("results:next",{}),t.preventDefault()):(e===i.ENTER||e===i.SPACE||e===i.DOWN&&t.altKey)&&(n.open(),t.preventDefault())})},a.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",{})},a.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&&0<e.addedNodes.length)for(var r=0;r<e.addedNodes.length;r++)e.addedNodes[r].selected&&(n=!0);else e.removedNodes&&0<e.removedNodes.length&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(t){i.trigger("selection:update",{data:t})})}},a.prototype.trigger=function(t,e){var n=a.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===e&&(e={}),t in i){var r={prevented:!1,name:t,args:e};if(n.call(this,i[t],r),r.prevented)return void(e.prevented=!0)}n.call(this,t,e)},a.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},a.prototype.open=function(){this.isOpen()||this.trigger("query",{})},a.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},a.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},a.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},a.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},a.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.');t=!(t=null==t||0===t.length?[!0]:t)[0];this.$element.prop("disabled",t)},a.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&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 e=[];return this.dataAdapter.current(function(t){e=t}),e},a.prototype.val=function(t){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==t||0===t.length)return this.$element.val();t=t[0];r.isArray(t)&&(t=r.map(t,function(t){return t.toString()})),this.$element.val(t).trigger("change")},a.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},a.prototype.render=function(){var t=r('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},a}),t.define("jquery-mousewheel",["jquery"],function(t){return t}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(r,t,o,e){var a;return null==r.fn.select2&&(a=["open","close","destroy"],r.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var t=r.extend(!0,{},e);new o(r(this),t)}),this;if("string"!=typeof e)throw new Error("Invalid arguments for Select2: "+e);var n,i=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=r(this).data("select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),n=t[e].apply(t,i)}),-1<r.inArray(e,a)?this:n}),null==r.fn.select2.defaults&&(r.fn.select2.defaults=e),o}),{define:t.define,require:t.require}),t=r.require("jquery.select2");function b(t,e){return a.call(t,e)}function u(t,e){var n,i,r,o,a,s,l,u,c,h,d=e&&e.split("/"),f=g.map,p=f&&f["*"]||{};if(t&&"."===t.charAt(0))if(e){for(e=(t=t.split("/")).length-1,g.nodeIdCompat&&m.test(t[e])&&(t[e]=t[e].replace(m,"")),t=d.slice(0,d.length-1).concat(t),u=0;u<t.length;u+=1)if("."===(h=t[u]))t.splice(u,1),--u;else if(".."===h){if(1===u&&(".."===t[2]||".."===t[0]))break;0<u&&(t.splice(u-1,2),u-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((d||p)&&f){for(u=(n=t.split("/")).length;0<u;--u){if(i=n.slice(0,u).join("/"),d)for(c=d.length;0<c;--c)if(r=(r=f[d.slice(0,c).join("/")])&&r[i]){o=r,a=u;break}if(o)break;!s&&p&&p[i]&&(s=p[i],l=u)}!o&&s&&(o=s,a=l),o&&(n.splice(0,a,o),t=n.join("/"))}return t}function x(e,n){return function(){var t=s.call(arguments,0);return"string"!=typeof t[0]&&1===t.length&&t.push(null),o.apply(h,t.concat([e,n]))}}function w(t){var e;if(b(f,t)&&(e=f[t],delete f[t],p[t]=!0,l.apply(h,e)),!b(d,t)&&!b(p,t))throw new Error("No "+t);return d[t]}function c(t){var e,n=t?t.indexOf("!"):-1;return-1<n&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}return e.fn.select2.amd=r,t}),function(n,i,$t){"use strict";function r(t){if(a[t])return a[t].exports;var e=a[t]={exports:{},id:t,loaded:!1};return o[t].call(e.exports,e,e.exports,r),e.loaded=!0,e.exports}var o,a;a={},r.m=o=[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,n){function i(t){var e=$[t]=T(N[j]);return e._k=t,e}function r(t,e){_(t);for(var n,i=w(e=C(e)),r=0,o=i.length;r<o;)K(t,n=i[r++],e[n]);return t}function o(t){var e=z.call(this,t=k(t,!0));return!(this===U&&l($,t)&&!l(q,t))&&(!(e||!l(this,t)||!l($,t)||l(this,H)&&this[H][t])||e)}function a(t,e){if(t=C(t),e=k(e,!0),t!==U||!l($,e)||l(q,e)){var n=O(t,e);return!n||!l($,e)||l(t,H)&&t[H][e]||(n.enumerable=!0),n}}var s=n(2),l=n(3),u=n(4),c=n(6),h=n(16),d=n(20).KEY,f=n(5),p=n(21),g=n(22),m=n(17),y=n(23),v=n(24),b=n(25),x=n(27),w=n(40),S=n(43),_=n(10),C=n(30),k=n(14),M=n(15),T=n(44),D=n(47),A=n(49),P=n(9),E=n(28),O=A.f,L=P.f,I=D.f,N=s.Symbol,R=s.JSON,F=R&&R.stringify,j="prototype",H=y("_hidden"),B=y("toPrimitive"),z={}.propertyIsEnumerable,W=p("symbol-registry"),$=p("symbols"),q=p("op-symbols"),U=Object[j],Y="function"==typeof N,G=s.QObject,X=!G||!G[j]||!G[j].findChild,V=u&&f(function(){return 7!=T(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=O(U,e);i&&delete U[e],L(t,e,n),i&&t!==U&&L(U,e,i)}:L,Z=Y&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},K=function(t,e,n){return t===U&&K(q,e,n),_(t),e=k(e,!0),_(n),l($,e)?(n.enumerable?(l(t,H)&&t[H][e]&&(t[H][e]=!1),n=T(n,{enumerable:M(0,!1)})):(l(t,H)||L(t,H,M(1,{})),t[H][e]=!0),V(t,e,n)):L(t,e,n)},p=function(t){for(var e,n=I(C(t)),i=[],r=0;n.length>r;)l($,e=n[r++])||e==H||e==d||i.push(e);return i},G=function(t){for(var e,n=t===U,i=I(n?q:C(t)),r=[],o=0;i.length>o;)!l($,e=i[o++])||n&&!l(U,e)||r.push($[e]);return r};Y||(h((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=m(0<arguments.length?arguments[0]:$t),n=function(t){this===U&&n.call(q,t),l(this,H)&&l(this[H],e)&&(this[H][e]=!1),V(this,e,M(1,t))};return u&&X&&V(U,e,{configurable:!0,set:n}),i(e)})[j],"toString",function(){return this._k}),A.f=a,P.f=K,n(48).f=D.f=p,n(42).f=o,n(41).f=G,u&&!n(26)&&h(U,"propertyIsEnumerable",o,!0),v.f=function(t){return i(y(t))}),c(c.G+c.W+c.F*!Y,{Symbol:N});for(var J="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Q=0;J.length>Q;)y(J[Q++]);for(J=E(y.store),Q=0;J.length>Q;)b(J[Q++]);c(c.S+c.F*!Y,"Symbol",{for:function(t){return l(W,t+="")?W[t]:W[t]=N(t)},keyFor:function(t){if(Z(t))return x(W,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){X=!0},useSimple:function(){X=!1}}),c(c.S+c.F*!Y,"Object",{create:function(t,e){return e===$t?T(t):r(T(t),e)},defineProperty:K,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:p,getOwnPropertySymbols:G}),R&&c(c.S+c.F*(!Y||f(function(){var t=N();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){if(t!==$t&&!Z(t)){for(var n,e=[t],i=1;i<arguments.length;)e.push(arguments[i++]);return t=e[1],!(n="function"==typeof t?t:n)&&S(t)||(t=function(t,e){if(n&&(e=n.call(this,t,e)),!Z(e))return e}),e[1]=t,F.apply(R,e)}}}),N[j][B]||n(8)(N[j],B,N[j].valueOf),g(N,"Symbol"),g(Math,"Math",!0),g(s.JSON,"JSON",!0)},function(t,e){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof i&&(i=t)},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,n){var p=n(2),g=n(7),m=n(8),y=n(16),v=n(18),b="prototype",x=function(t,e,n){var i,r,o,a=t&x.F,s=t&x.G,l=t&x.S,u=t&x.P,c=t&x.B,h=s?p:l?p[e]||(p[e]={}):(p[e]||{})[b],d=s?g:g[e]||(g[e]={}),f=d[b]||(d[b]={});for(i in n=s?e:n)o=!a&&h&&h[i]!==$t,r=(o?h:n)[i],o=c&&o?v(r,p):u&&"function"==typeof r?v(Function.call,r):r,h&&y(h,i,r,t&x.U),d[i]!=r&&m(d,i,o),u&&f[i]!=r&&(f[i]=r)};p.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,t.exports=x},function(t,e){t=t.exports={version:"2.4.0"};"number"==typeof n&&(n=t)},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 r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;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 o=n(2),a=n(8),s=n(3),l=n(17)("src"),i="toString",r=Function[i],u=(""+r).split(i);n(7).inspectSource=function(t){return r.call(t)},(t.exports=function(t,e,n,i){var r="function"==typeof n;r&&(s(n,"name")||a(n,"name",e)),t[e]!==n&&(r&&(s(n,l)||a(n,l,t[e]?""+t[e]:u.join(String(e)))),t===o?t[e]=n:i?t[e]?t[e]=n:a(t,e,n):(delete t[e],a(t,e,n)))})(Function.prototype,i,function(){return"function"==typeof this&&this[l]||r.call(this)})},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(t===$t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var o=n(19);t.exports=function(i,r,t){if(o(i),r===$t)return i;switch(t){case 1:return function(t){return i.call(r,t)};case 2:return function(t,e){return i.call(r,t,e)};case 3:return function(t,e,n){return i.call(r,t,e,n)}}return function(){return i.apply(r,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){function i(t){s(t,r,{value:{i:"O"+ ++l,w:{}}})}var r=n(17)("meta"),o=n(11),a=n(3),s=n(9).f,l=0,u=Object.isExtensible||function(){return!0},c=!n(5)(function(){return u(Object.preventExtensions({}))}),h=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!u(t))return"F";if(!e)return"E";i(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!u(t))return!0;if(!e)return!1;i(t)}return t[r].w},onFreeze:function(t){return c&&h.NEED&&u(t)&&!a(t,r)&&i(t),t}}},function(t,e,n){var i=n(2),n="__core-js_shared__",r=i[n]||(i[n]={});t.exports=function(t){return r[t]||(r[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;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).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 s=n(28),l=n(30);t.exports=function(t,e){for(var n,i=l(t),r=s(i),o=r.length,a=0;a<o;)if(i[n=r[a++]]===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 a=n(3),s=n(30),l=n(34)(!1),u=n(38)("IE_PROTO");t.exports=function(t,e){var n,i=s(t),r=0,o=[];for(n in i)n!=u&&a(i,n)&&o.push(n);for(;e.length>r;)a(i,n=e[r++])&&(~l(o,n)||o.push(n));return o}},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==$t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var l=n(30),u=n(35),c=n(37);t.exports=function(s){return function(t,e,n){var i,r=l(t),o=u(r.length),a=c(n,o);if(s&&e!=e){for(;a<o;)if((i=r[a++])!=i)return!0}else for(;a<o;a++)if((s||a in r)&&r[a]===e)return s||a||0;return!s&&-1}}},function(t,e,n){var i=n(36),r=Math.min;t.exports=function(t){return 0<t?r(i(t),9007199254740991):0}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?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))<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 s=n(28),l=n(41),u=n(42);t.exports=function(t){var e=s(t),n=l.f;if(n)for(var i,r=n(t),o=u.f,a=0;r.length>a;)o.call(t,i=r[a++])&&e.push(i);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,n){function i(){}var r=n(10),o=n(45),a=n(39),s=n(38)("IE_PROTO"),l="prototype",u=function(){var t=n(13)("iframe"),e=a.length;for(t.style.display="none",n(46).appendChild(t),t.src="javascript:",(t=t.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;e--;)delete u[l][a[e]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(i[l]=r(t),n=new i,i[l]=null,n[s]=t):n=u(),e===$t?n:o(n,e)}},function(t,e,n){var a=n(9),s=n(10),l=n(28);t.exports=n(4)?Object.defineProperties:function(t,e){s(t);for(var n,i=l(e),r=i.length,o=0;o<r;)a.f(t,n=i[o++],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):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(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 r=n(6),o=n(7),a=n(5);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},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(e){return function(t){return e&&i(t)?e(r(t)):t}})},function(t,e,n){var i=n(11),r=n(20).onFreeze;n(53)("seal",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},function(t,e,n){var i=n(11),r=n(20).onFreeze;n(53)("preventExtensions",function(e){return function(t){return e&&i(t)?e(r(t)):t}})},function(t,e,n){var i=n(11);n(53)("isFrozen",function(e){return function(t){return!i(t)||!!e&&e(t)}})},function(t,e,n){var i=n(11);n(53)("isSealed",function(e){return function(t){return!i(t)||!!e&&e(t)}})},function(t,e,n){var i=n(11);n(53)("isExtensible",function(e){return function(t){return!!i(t)&&(!e||e(t))}})},function(t,e,n){var i=n(6);i(i.S+i.F,"Object",{assign:n(67)})},function(t,e,n){var d=n(28),f=n(41),p=n(42),g=n(56),m=n(31),r=Object.assign;t.exports=!r||n(5)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=r({},t)[n]||Object.keys(r({},e)).join("")!=i})?function(t,e){for(var n=g(t),i=arguments.length,r=1,o=f.f,a=p.f;r<i;)for(var s,l=m(arguments[r++]),u=o?d(l).concat(o(l)):d(l),c=u.length,h=0;h<c;)a.call(l,s=u[h++])&&(n[s]=l[s]);return n}:r},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,r){function o(t,e){if(i(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")}var n=r(11),i=r(10);t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,i){try{(i=r(18)(Function.call,r(49).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:i(t,e),t}}({},!1):$t),check:o}},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,n){var i=n(32),r=n(23)("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e;return t===$t?"Undefined":null===t?"Null":"string"==typeof(t=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?t:o?i(e):"Object"==(t=i(e))&&"function"==typeof e.callee?"Arguments":t}},function(t,e,n){var i=n(6);i(i.P,"Function",{bind:n(75)})},function(t,e,n){var o=n(19),a=n(11),s=n(76),l=[].slice,u={};t.exports=Function.bind||function(e){var n=o(this),i=l.call(arguments,1),r=function(){var t=i.concat(l.call(arguments));return this instanceof r?function(t,e,n){if(!(e in u)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";u[e]=Function("F,a","return new F("+i.join(",")+")")}return u[e](t,n)}(n,t.length,t):s(n,t,e)};return a(n.prototype)&&(r.prototype=n.prototype),r}},function(t,e){t.exports=function(t,e,n){var i=n===$t;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,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).match(s)[1];return o(this,l)||!u(this)||i(this,l,r(5,t)),t}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){function i(t){if("string"==typeof(e=u(t,!1))&&2<e.length){var e,n,i,r=(e=v?e.trim():f(e,3)).charCodeAt(0);if(43===r||45===r){if(88===(t=e.charCodeAt(2))||120===t)return NaN}else if(48===r){switch(e.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+e}for(var o,a=e.slice(2),s=0,l=a.length;s<l;s++)if((o=a.charCodeAt(s))<48||i<o)return NaN;return parseInt(a,n)}}return+e}var r=n(2),o=n(3),a=n(32),s=n(80),u=n(14),l=n(5),c=n(48).f,h=n(49).f,d=n(9).f,f=n(81).trim,p="Number",g=x=r[p],m=x.prototype,y=a(n(44)(m))==p,v="trim"in String.prototype;if(!x(" 0o1")||!x("0b1")||x("+0x1")){for(var b,x=function(t){var t=arguments.length<1?0:t,e=this;return e instanceof x&&(y?l(function(){m.valueOf.call(e)}):a(e)!=p)?s(new g(i(t)),e,x):i(t)},w=n(4)?c(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++)o(g,b=w[S])&&!o(x,b)&&d(x,b,h(g,b));(x.prototype=m).constructor=x,n(16)(r,p,x)}},function(t,e,n){var r=n(11),o=n(71).set;t.exports=function(t,e,n){var i,e=e.constructor;return e!==n&&"function"==typeof e&&(i=e.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e,n){var o=n(6),i=n(33),a=n(5),s=n(82),n="["+s+"]",r=RegExp("^"+n+n+"*"),l=RegExp(n+n+"*$"),n=function(t,e,n){var i={},r=a(function(){return!!s[t]()||"…"!="…"[t]()}),e=i[t]=r?e(u):s[t];n&&(i[n]=e),o(o.P+o.F*r,"String",i)},u=n.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(r,"")),t=2&e?t.replace(l,""):t};t.exports=n},function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},function(t,e,n){function a(t,e){for(var n=-1,i=e;++n<6;)i+=t*d[n],d[n]=i%1e7,i=o(i/1e7)}function s(t){for(var e=6,n=0;0<=--e;)n+=d[e],d[e]=o(n/t),n=n%t*1e7}function l(){for(var t,e=6,n="";0<=--e;)""===n&&0!==e&&0===d[e]||(t=String(d[e]),n=""===n?t:n+h.call("0",7-t.length)+t);return n}var i=n(6),u=n(36),c=n(84),h=n(85),r=1..toFixed,o=Math.floor,d=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",p=function(t,e,n){return 0===e?n:e%2==1?p(t,e-1,n*t):p(t*t,e/2,n)};i(i.P+i.F*(!!r&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))||!n(5)(function(){r.call({})})),"Number",{toFixed:function(t){var e,n,i=c(this,f),r=u(t),o="",t="0";if(r<0||20<r)throw RangeError(f);if(i!=i)return"NaN";if(i<=-1e21||1e21<=i)return String(i);if(i<0&&(o="-",i=-i),1e-21<i)if(i=(n=function(t){for(var e=0,n=t;4096<=n;)e+=12,n/=4096;for(;2<=n;)e+=1,n/=2;return e}(i*p(2,69,1))-69)<0?i*p(2,-n,1):i/p(2,n,1),i*=4503599627370496,0<(n=52-n)){for(a(0,i),e=r;7<=e;)a(1e7,0),e-=7;for(a(p(10,e,1),0),e=n-1;23<=e;)s(1<<23),e-=23;s(1<<e),a(1,1),s(2),t=l()}else a(0,i),a(1<<-n,0),t=l()+h.call("0",r);return t=0<r?o+((n=t.length)<=r?"0."+h.call("0",r-n)+t:t.slice(0,n-r)+"."+t.slice(n-r)):o+t}})},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 r=n(36),o=n(33);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;0<i;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e,n){var i=n(6),r=n(5),o=n(84),a=1..toPrecision;i(i.P+i.F*(r(function(){return"1"!==a.call(1,$t)})||!r(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return t===$t?a.call(e):a.call(e,t)}})},function(t,e,n){n=n(6);n(n.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){n=n(6);n(n.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){n=n(6);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){n=n(6);n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var i=n(6),n=n(96);i(i.S+i.F*(Number.parseFloat!=n),"Number",{parseFloat:n})},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),t=i(e);return 0===t&&"-"==e.charAt(0)?-0:t}:i},function(t,e,n){var i=n(6),n=n(98);i(i.S+i.F*(Number.parseInt!=n),"Number",{parseInt:n})},function(t,e,n){var i=n(2).parseInt,r=n(81).trim,n=n(82),o=/^[\-+]?0[xX]/;t.exports=8!==i(n+"08")||22!==i(n+"0x16")?function(t,e){t=r(String(t),3);return i(t,e>>>0||(o.test(t)?16:10))}:i},function(t,e,n){var i=n(6),n=n(98);i(i.G+i.F*(parseInt!=n),{parseInt:n})},function(t,e,n){var i=n(6),n=n(96);i(i.G+i.F*(parseFloat!=n),{parseFloat:n})},function(t,e,n){var i=n(6),r=n(102),o=Math.sqrt,n=Math.acosh;i(i.S+i.F*!(n&&710==Math.floor(n(Number.MAX_VALUE))&&n(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:94906265.62425156<t?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},function(t,e){t.exports=Math.log1p||function(t){return-1e-8<(t=+t)&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var i=n(6),n=Math.asinh;i(i.S+i.F*!(n&&0<1/n(0)),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var i=n(6),n=Math.atanh;i(i.S+i.F*!(n&&1/n(-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){n=n(6);n(n.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var n=n(6),i=Math.exp;n(n.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var i=n(6),n=n(110);i(i.S+i.F*(n!=Math.expm1),"Math",{expm1:n})},function(t,e){var n=Math.expm1;t.exports=!n||22025.465794806718<n(10)||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:-1e-6<t&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var i=n(6),r=n(106),n=Math.pow,o=n(2,-52),a=n(2,-23),s=n(2,127)*(2-a),l=n(2,-126);i(i.S,"Math",{fround:function(t){var e=Math.abs(t),n=r(t);return e<l?n*(e/l/a+1/o-1/o)*l*a:s<(e=(t=(1+a/o)*e)-(t-e))||e!=e?n*(1/0):n*e}})},function(t,e,n){var n=n(6),l=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var n,i,r=0,o=0,a=arguments.length,s=0;o<a;)s<(n=l(arguments[o++]))?(r=r*(i=s/n)*i+1,s=n):0<n?r+=(i=n/s)*i:r+=n;return s===1/0?1/0:s*Math.sqrt(r)}})},function(t,e,n){var i=n(6),r=Math.imul;i(i.S+i.F*n(5)(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(t,e){var n=+t,i=+e,t=65535&n,e=65535&i;return 0|t*e+((65535&n>>>16)*e+t*(65535&i>>>16)<<16>>>0)}})},function(t,e,n){n=n(6);n(n.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){n=n(6);n(n.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-2e-17!=!Math.sinh(-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){n=n(6);n(n.S,"Math",{trunc:function(t){return(0<t?Math.floor:Math.ceil)(t)}})},function(t,e,n){var i=n(6),o=n(37),a=String.fromCharCode,n=String.fromCodePoint;i(i.S+i.F*(!!n&&1!=n.length),"String",{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,r=0;r<i;){if(e=+arguments[r++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?a(e):a(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var i=n(6),a=n(30),s=n(35);i(i.S,"String",{raw:function(t){for(var e=a(t.raw),n=s(e.length),i=arguments.length,r=[],o=0;o<n;)r.push(String(e[o++])),o<i&&r.push(String(arguments[o]));return r.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,n){var a=n(36),s=n(33);t.exports=function(o){return function(t,e){var n,i=String(s(t)),r=a(e),t=i.length;return r<0||t<=r?o?"":$t:(e=i.charCodeAt(r))<55296||56319<e||r+1===t||(n=i.charCodeAt(r+1))<56320||57343<n?o?i.charAt(r):e:o?i.slice(r,r+2):n-56320+(e-55296<<10)+65536}}},function(t,e,n){var i=n(6),r=n(35),o=n(127),a="endsWith",s=""[a];i(i.P+i.F*n(129)(a),"String",{endsWith:function(t){var e=o(this,t,a),n=1<arguments.length?arguments[1]:$t,i=r(e.length),i=n===$t?i:Math.min(r(n),i),t=String(t);return s?s.call(e,t,i):e.slice(i-t.length,i)===t}})},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,n){var i=n(11),r=n(32),o=n(23)("match");t.exports=function(t){var e;return i(t)&&((e=t[o])!==$t?!!e:"RegExp"==r(t))}},function(t,e,n){var i=n(23)("match");t.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[i]=!1,!"/./"[e](n)}catch(t){}}return!0}},function(t,e,n){var i=n(6),r=n(127);i(i.P+i.F*n(129)("includes"),"String",{includes:function(t){return!!~r(this,t,"includes").indexOf(t,1<arguments.length?arguments[1]:$t)}})},function(t,e,n){var i=n(6);i(i.P,"String",{repeat:n(85)})},function(t,e,n){var i=n(6),r=n(35),o=n(127),a="startsWith",s=""[a];i(i.P+i.F*n(129)(a),"String",{startsWith:function(t){var e=o(this,t,a),n=r(Math.min(1<arguments.length?arguments[1]:$t,e.length)),t=String(t);return s?s.call(e,t,n):e.slice(n,n+t.length)===t}})},function(t,e,n){var i=n(125)(!0);n(134)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t=this._t,e=this._i;return e>=t.length?{value:$t,done:!0}:(e=i(t,e),this._i+=e.length,{value:e,done:!1})})},function(t,e,n){function y(){return this}var v=n(26),b=n(6),x=n(16),w=n(8),S=n(3),_=n(135),C=n(136),k=n(22),M=n(57),T=n(23)("iterator"),D=!([].keys&&"next"in[].keys()),A="values";t.exports=function(t,e,n,i,r,o,a){C(n,e,i);function s(t){if(!D&&t in f)return f[t];switch(t){case"keys":case A:return function(){return new n(this,t)}}return function(){return new n(this,t)}}var l,u,c=e+" Iterator",h=r==A,d=!1,f=t.prototype,p=f[T]||f["@@iterator"]||r&&f[r],g=p||s(r),m=r?h?s("entries"):g:$t,i="Array"==e&&f.entries||p;if(i&&((t=M(i.call(new t)))!==Object.prototype&&(k(t,c,!0),v||S(t,T)||w(t,T,y))),h&&p&&p.name!==A&&(d=!0,g=function(){return p.call(this)}),v&&!a||!D&&!d&&f[T]||w(f,T,g),_[e]=g,_[c]=y,r)if(l={values:h?g:s(A),keys:o?g:s("keys"),entries:m},a)for(u in l)u in f||x(f,u,l[u]);else b(b.P+b.F*(D||d),e,l);return l}},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(e){return function(t){return e(this,"a","name",t)}})},function(t,e,n){function i(t,e,n,i){var r=String(a(t)),t="<"+e;return""!==n&&(t+=" "+n+'="'+String(i).replace(s,"&quot;")+'"'),t+">"+r+"</"+e+">"}var r=n(6),o=n(5),a=n(33),s=/"/g;t.exports=function(e,t){var n={};n[e]=t(i),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length}),"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(e){return function(t){return e(this,"font","color",t)}})},function(t,e,n){n(138)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(t,e,n){n(138)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){n(138)("link",function(e){return function(t){return e(this,"a","href",t)}})},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,n){var h=n(18),i=n(6),d=n(56),f=n(153),p=n(154),g=n(35),m=n(155),y=n(156);i(i.S+i.F*!n(157)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,r,o=d(t),a="function"==typeof this?this:Array,s=arguments.length,l=1<s?arguments[1]:$t,u=l!==$t,c=0,t=y(o);if(u&&(l=h(l,2<s?arguments[2]:$t,2)),t==$t||a==Array&&p(t))for(n=new a(e=g(o.length));c<e;c++)m(n,c,u?l(o[c],c):o[c]);else for(r=t.call(o),n=new a;!(i=r.next()).done;c++)m(n,c,u?f(r,l,[i.value,c],!0):i.value);return n.length=c,n}})},function(t,e,n){var r=n(10);t.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){n=e.return;throw n!==$t&&r(n.call(e)),t}}},function(t,e,n){var i=n(135),r=n(23)("iterator"),o=Array.prototype;t.exports=function(t){return t!==$t&&(i.Array===t||o[r]===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,n){var i=n(73),r=n(23)("iterator"),o=n(135);t.exports=n(7).getIteratorMethod=function(t){if(t!=$t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){var o=n(23)("iterator"),a=!1;try{var i=[7][o]();i.return=function(){a=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!a)return!1;var n=!1;try{var i=[7],r=i[o]();r.next=function(){return{done:n=!0}},i[o]=function(){return r},t(i)}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);t<e;)r(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){var i=n(6),r=n(30),o=[].join;i(i.P+i.F*(n(31)!=Object||!n(160)(o)),"Array",{join:function(t){return o.call(r(this),t===$t?",":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,n){var i=n(6),r=n(46),l=n(32),u=n(37),c=n(35),h=[].slice;i(i.P+i.F*n(5)(function(){r&&h.call(r)}),"Array",{slice:function(t,e){var n=c(this.length),i=l(this);if(e=e===$t?n:e,"Array"==i)return h.call(this,t,e);for(var r=u(t,n),n=u(e,n),o=c(n-r),a=Array(o),s=0;s<o;s++)a[s]="String"==i?this.charAt(r+s):this[r+s];return a}})},function(t,e,n){var i=n(6),r=n(19),o=n(56),a=n(5),s=[].sort,l=[1,2,3];i(i.P+i.F*(a(function(){l.sort($t)})||!a(function(){l.sort(null)})||!n(160)(s)),"Array",{sort:function(t){return t===$t?s.call(o(this)):s.call(o(this),r(t))}})},function(t,e,n){var i=n(6),r=n(164)(0),n=n(160)([].forEach,!0);i(i.P+i.F*!n,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},function(t,e,n){var b=n(18),x=n(31),w=n(56),S=n(35),i=n(165);t.exports=function(h,t){var d=1==h,f=2==h,p=3==h,g=4==h,m=6==h,y=5==h||m,v=t||i;return function(t,e,n){for(var i,r,o=w(t),a=x(o),s=b(e,n,3),l=S(a.length),u=0,c=d?v(t,l):f?v(t,0):$t;u<l;u++)if((y||u in a)&&(r=s(i=a[u],u,o),h))if(d)c[u]=r;else if(r)switch(h){case 3:return!0;case 5:return i;case 6:return u;case 2:c.push(i)}else if(g)return!1;return m?-1:p||g?g:c}}},function(t,e,n){var i=n(166);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){var i=n(11),r=n(43),o=n(23)("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=$t),i(e)&&(null===(e=e[o])&&(e=$t))),e===$t?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 c=n(19),h=n(56),d=n(31),f=n(35);t.exports=function(t,e,n,i,r){c(e);var o=h(t),a=d(o),s=f(o.length),l=r?s-1:0,u=r?-1:1;if(n<2)for(;;){if(l in a){i=a[l],l+=u;break}if(l+=u,r?l<0:s<=l)throw TypeError("Reduce of empty array with no initial value")}for(;r?0<=l:l<s;l+=u)l in a&&(i=e(i,a[l],l,o));return i}},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((i=1<arguments.length?Math.min(i,o(arguments[1])):i)<0&&(i=n+i);0<=i;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,n){var l=n(56),u=n(37),c=n(35);t.exports=[].copyWithin||function(t,e){var n=l(this),i=c(n.length),r=u(t,i),o=u(e,i),e=2<arguments.length?arguments[2]:$t,a=Math.min((e===$t?i:u(e,i))-o,i-r),s=1;for(o<r&&r<o+a&&(s=-1,o+=a-1,r+=a-1);0<a--;)o in n?n[r]=n[o]:delete n[r],r+=s,o+=s;return n}},function(t,e,n){var i=n(23)("unscopables"),r=Array.prototype;r[i]==$t&&n(8)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e,n){var i=n(6);i(i.P,"Array",{fill:n(180)}),n(178)("fill")},function(t,e,n){var a=n(56),s=n(37),l=n(35);t.exports=function(t){for(var e=a(this),n=l(e.length),i=arguments.length,r=s(1<i?arguments[1]:$t,n),i=2<i?arguments[2]:$t,o=i===$t?n:s(i,n);r<o;)e[r++]=t;return e}},function(t,e,n){var i=n(6),r=n(164)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(t){return r(this,t,1<arguments.length?arguments[1]:$t)}}),n(178)("find")},function(t,e,n){var i=n(6),r=n(164)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),i(i.P+i.F*a,"Array",{findIndex:function(t){return r(this,t,1<arguments.length?arguments[1]:$t)}}),n(178)(o)},function(t,e,n){var i=n(178),r=n(184),o=n(135),a=n(30);t.exports=n(134)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=$t,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("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){t=i[t];o&&t&&!t[a]&&r.f(t,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(2),o=n(80),r=n(9).f,a=n(48).f,s=n(128),l=n(188),u=p=i.RegExp,c=p.prototype,h=/a/g,d=/a/g,f=new p(h)!==h;if(n(4)&&(!f||n(5)(function(){return d[n(23)("match")]=!1,p(h)!=h||p(d)==d||"/a/i"!=p(h,"i")}))){for(var p=function(t,e){var n=this instanceof p,i=s(t),r=e===$t;return!n&&i&&t.constructor===p&&r?t:o(f?new u(i&&!r?t.source:t,e):u((i=t instanceof p)?t.source:t,i&&r?l.call(t):e),n?this:c,p)},g=a(u),m=0;g.length>m;)!function(e){e in p||r(p,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}(g[m++]);(c.constructor=p).prototype=c,n(16)(i,"RegExp",p)}n(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,n){n(190);function i(t){n(16)(RegExp.prototype,s,t,!0)}var r=n(10),o=n(188),a=n(4),s="toString",l=/./[s];n(5)(function(){return"/a/b"!=l.call({source:"a",flags:"b"})})?i(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?o.call(t):$t)}):l.name!=s&&i(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,n){n(192)("match",1,function(i,r,t){return[function(t){var e=i(this),n=t==$t?$t:t[r];return n!==$t?n.call(t,e):new RegExp(t)[r](String(e))},t]})},function(t,e,n){var a=n(8),s=n(16),l=n(5),u=n(33),c=n(23);t.exports=function(e,t,n){var i=c(e),r=n(u,i,""[e]),n=r[0],o=r[1];l(function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})&&(s(String.prototype,e,n),a(RegExp.prototype,i,2==t?function(t,e){return o.call(t,this,e)}:function(t){return o.call(t,this)}))}},function(t,e,n){n(192)("replace",2,function(r,o,a){return[function(t,e){var n=r(this),i=t==$t?$t:t[o];return i!==$t?i.call(t,n,e):a.call(String(n),t,e)},a]})},function(t,e,n){n(192)("search",1,function(i,r,t){return[function(t){var e=i(this),n=t==$t?$t:t[r];return n!==$t?n.call(t,e):new RegExp(t)[r](String(e))},t]})},function(t,e,n){n(192)("split",2,function(r,o,a){var f,p=n(128),g=a,m=[].push,t="split",y="length";return"c"=="abbc"[t](/(b)*/)[1]||4!="test"[t](/(?:)/,-1)[y]||2!="ab"[t](/(?:ab)*/)[y]||4!="."[t](/(.?)(.?)/)[y]||1<"."[t](/()()/)[y]||""[t](/.?/)[y]?(f=/()??/.exec("")[1]===$t,a=function(t,e){var n=String(this);if(t===$t&&0===e)return[];if(!p(t))return g.call(n,t,e);var i,r,o,a,s,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,h=e===$t?4294967295:e>>>0,d=new RegExp(t.source,u+"g");for(f||(i=new RegExp("^"+d.source+"$(?!\\s)",u));(r=d.exec(n))&&!(c<(o=r.index+r[0][y])&&(l.push(n.slice(c,r.index)),!f&&1<r[y]&&r[0].replace(i,function(){for(s=1;s<arguments[y]-2;s++)arguments[s]===$t&&(r[s]=$t)}),1<r[y]&&r.index<n[y]&&m.apply(l,r.slice(1)),a=r[0][y],c=o,l[y]>=h));)d.lastIndex===r.index&&d.lastIndex++;return c===n[y]?!a&&d.test("")||l.push(""):l.push(n.slice(c)),l[y]>h?l.slice(0,h):l}):"0"[t]($t,0)[y]&&(a=function(t,e){return t===$t&&0===e?[]:g.call(this,t,e)}),[function(t,e){var n=r(this),i=t==$t?$t:t[o];return i!==$t?i.call(t,n,e):a.call(String(n),t,e)},a]})},function(t,e,n){function i(){}function r(t,e){return t===e||t===D&&e===d}function c(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e}function o(t){return new(r(D,t)?P:h)(t)}function u(t){try{t()}catch(t){return{error:t}}}function a(u,e){var n;u._n||(u._n=!0,n=u._c,C(function(){for(var s=u._v,l=1==u._s,t=0;n.length>t;)!function(t){var e,n,i=l?t.ok:t.fail,r=t.resolve,o=t.reject,a=t.domain;try{i?(l||(2==u._h&&L(u),u._h=1),!0===i?e=s:(a&&a.enter(),e=i(s),a&&a.exit()),e===t.promise?o(M("Promise-chain cycle")):(n=c(e))?n.call(e,r,o):r(e)):o(s)}catch(t){o(t)}}(n[t++]);u._c=[],u._n=!1,e&&!u._h&&E(u)}))}function s(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var l,h,d,f=n(26),p=n(2),g=n(18),m=n(73),y=n(6),v=n(11),b=n(19),x=n(197),w=n(198),S=n(199),_=n(200).set,C=n(201)(),k="Promise",M=p.TypeError,T=p.process,D=p[k],A="process"==m(T=p.process),m=!!function(){try{var t=D.resolve(1),e=(t.constructor={})[n(23)("species")]=function(t){t(i,i)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(i)instanceof e}catch(t){}}(),P=h=function(t){var n,i;this.promise=new t(function(t,e){if(n!==$t||i!==$t)throw M("Bad Promise constructor");n=t,i=e}),this.resolve=b(n),this.reject=b(i)},E=function(i){_.call(p,function(){var t,e,n=i._v;if(O(i)&&(t=u(function(){A?T.emit("unhandledRejection",n,i):(e=p.onunhandledrejection)?e({promise:i,reason:n}):(e=p.console)&&e.error&&e.error("Unhandled promise rejection",n)}),i._h=A||O(i)?2:1),i._a=$t,t)throw t.error})},O=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++]).fail||!O(e.promise))return!1;return!0},L=function(e){_.call(p,function(){var t;A?T.emit("rejectionHandled",e):(t=p.onrejectionhandled)&&t({promise:e,reason:e._v})})},I=function(t){var n,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===t)throw M("Promise can't be resolved itself");(n=c(t))?C(function(){var e={_w:i,_d:!1};try{n.call(t,g(I,e,1),g(s,e,1))}catch(t){s.call(e,t)}}):(i._v=t,i._s=1,a(i,!1))}catch(t){s.call({_w:i,_d:!1},t)}}};m||(D=function(t){x(this,D,k,"_h"),b(t),l.call(this);try{t(g(I,this,1),g(s,this,1))}catch(t){s.call(this,t)}},(l=function(t){this._c=[],this._a=$t,this._s=0,this._d=!1,this._v=$t,this._h=0,this._n=!1}).prototype=n(202)(D.prototype,{then:function(t,e){var n=o(S(this,D));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?T.domain:$t,this._c.push(n),this._a&&this._a.push(n),this._s&&a(this,!1),n.promise},catch:function(t){return this.then($t,t)}}),P=function(){var t=new l;this.promise=t,this.resolve=g(I,t,1),this.reject=g(s,t,1)}),y(y.G+y.W+y.F*!m,{Promise:D}),n(22)(D,k),n(186)(k),d=n(7)[k],y(y.S+y.F*!m,k,{reject:function(t){var e=o(this);return(0,e.reject)(t),e.promise}}),y(y.S+y.F*(f||!m),k,{resolve:function(t){if(t instanceof D&&r(t.constructor,this))return t;var e=o(this);return(0,e.resolve)(t),e.promise}}),y(y.S+y.F*!(m&&n(157)(function(t){D.all(t).catch(i)})),k,{all:function(t){var a=this,e=o(a),s=e.resolve,l=e.reject,n=u(function(){var i=[],r=0,o=1;w(t,!1,function(t){var e=r++,n=!1;i.push($t),o++,a.resolve(t).then(function(t){n||(n=!0,i[e]=t,--o||s(i))},l)}),--o||s(i)});return n&&l(n.error),e.promise},race:function(t){var e=this,n=o(e),i=n.reject,r=u(function(){w(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,n,i){if(!(t instanceof e)||i!==$t&&i in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var h=n(18),d=n(153),f=n(154),p=n(10),g=n(35),m=n(156),y={},v={};(e=t.exports=function(t,e,n,i,r){var o,a,s,l,r=r?function(){return t}:m(t),u=h(n,i,e?2:1),c=0;if("function"!=typeof r)throw TypeError(t+" is not iterable!");if(f(r)){for(o=g(t.length);c<o;c++)if((l=e?u(p(a=t[c])[0],a[1]):u(t[c]))===y||l===v)return l}else for(s=r.call(t);!(a=s.next()).done;)if((l=d(s,u,a.value,e))===y||l===v)return l}).BREAK=y,e.RETURN=v},function(t,e,n){var i=n(10),r=n(19),o=n(23)("species");t.exports=function(t,e){var n,t=i(t).constructor;return t===$t||(n=i(t)[o])==$t?e:r(n)}},function(t,e,n){function i(){var t,e=+this;m.hasOwnProperty(e)&&(t=m[e],delete m[e],t())}function r(t){i.call(t.data)}var 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={},y="onreadystatechange";d&&f||(d=function(t){for(var e=[],n=1;n<arguments.length;)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},o(g),g},f=function(t){delete m[t]},"process"==n(32)(h)?o=function(t){h.nextTick(a(i,t,1))}:p?(p=(n=new p).port2,n.port1.onmessage=r,o=a(p.postMessage,p,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(o=function(t){c.postMessage(t+"","*")},c.addEventListener("message",r,!1)):o=y in u("script")?function(t){l.appendChild(u("script"))[y]=function(){l.removeChild(this),i.call(t)}}:function(t){setTimeout(a(i,t,1),0)}),t.exports={set:d,clear:f}},function(t,e,n){var s=n(2),l=n(200).set,u=s.MutationObserver||s.WebKitMutationObserver,c=s.process,h=s.Promise,d="process"==n(32)(c);t.exports=function(){function t(){var t,e;for(d&&(t=c.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?a():i=$t,t}}i=$t,t&&t.enter()}var n,i,e,r,o,a;return a=d?function(){c.nextTick(t)}:u?(e=!0,r=document.createTextNode(""),new u(t).observe(r,{characterData:!0}),function(){r.data=e=!e}):h&&h.resolve?(o=h.resolve(),function(){o.then(t)}):function(){l.call(s,t)},function(t){t={fn:t,next:$t};i&&(i.next=t),n||(n=t,a()),i=t}}},function(t,e,n){var r=n(16);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var i=n(204);t.exports=n(205)("Map",function(t){return function(){return t(this,0<arguments.length?arguments[0]:$t)}},{get:function(t){t=i.getEntry(this,t);return t&&t.v},set:function(t,e){return i.def(this,0===t?0:t,e)}},i,!0)},function(t,e,n){function a(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}var s=n(9).f,l=n(44),u=n(202),c=n(18),h=n(197),d=n(33),f=n(198),i=n(134),r=n(184),o=n(186),p=n(4),g=n(20).fastKey,m=p?"_s":"size";t.exports={getConstructor:function(t,n,i,r){var o=t(function(t,e){h(t,o,n,"_i"),t._i=l(null),t._f=$t,t._l=$t,t[m]=0,e!=$t&&f(e,i,t[r],t)});return u(o.prototype,{clear:function(){for(var t=this._i,e=this._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=$t),delete t[e.i];this._f=this._l=$t,this[m]=0},delete:function(t){var e,n=a(this,t);return n&&(e=n.n,t=n.p,delete this._i[n.i],n.r=!0,t&&(t.n=e),e&&(e.p=t),this._f==n&&(this._f=e),this._l==n&&(this._l=t),this[m]--),!!n},forEach:function(t){h(this,o,"forEach");for(var e,n=c(t,1<arguments.length?arguments[1]:$t,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!a(this,t)}}),p&&s(o.prototype,"size",{get:function(){return d(this[m])}}),o},def:function(t,e,n){var i,r=a(t,e);return r?r.v=n:(t._l=r={i:i=g(e,!0),k:e,v:n,p:n=t._l,n:$t,r:!1},t._f||(t._f=r),n&&(n.n=r),t[m]++,"F"!==i&&(t._i[i]=r)),t},getEntry:a,setStrong:function(t,e,n){i(t,e,function(t,e){this._t=t,this._k=e,this._l=$t},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?r(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=$t,r(1))},n?"entries":"values",!n,!0),o(e)}}},function(t,e,n){var y=n(2),v=n(6),b=n(16),x=n(202),w=n(20),S=n(198),_=n(197),C=n(11),k=n(5),M=n(157),T=n(22),D=n(80);t.exports=function(n,t,e,i,r,o){function a(t){var n=g[t];b(g,t,"delete"==t?function(t){return!(o&&!C(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!C(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!C(t)?$t:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})}var s,l,u,c,h,d=y[n],f=d,p=r?"set":"add",g=f&&f.prototype,m={};return"function"==typeof f&&(o||g.forEach&&!k(function(){(new f).entries().next()}))?(l=(s=new f)[p](o?{}:-0,1)!=s,u=k(function(){s.has(1)}),c=M(function(t){new f(t)}),h=!o&&k(function(){for(var t=new f,e=5;e--;)t[p](e,e);return!t.has(-0)}),c||(((f=t(function(t,e){_(t,f,n);t=D(new d,t,f);return e!=$t&&S(e,r,t[p],t),t})).prototype=g).constructor=f),(u||h)&&(a("delete"),a("has"),r&&a("get")),(h||l)&&a(p),o&&g.clear&&delete g.clear):(f=i.getConstructor(t,n,r,p),x(f.prototype,e),w.NEED=!0),T(f,n),m[n]=f,v(v.G+v.W+v.F*(f!=d),m),o||i.setStrong(f,n,r),f}},function(t,e,n){var i=n(204);t.exports=n(205)("Set",function(t){return function(){return t(this,0<arguments.length?arguments[0]:$t)}},{add:function(t){return i.def(this,t=0===t?0:t,t)}},i)},function(t,e,n){function i(t){return function(){return t(this,0<arguments.length?arguments[0]:$t)}}var r,o=n(164)(0),a=n(16),s=n(20),l=n(67),u=n(208),c=n(11),h=s.getWeak,d=Object.isExtensible,f=u.ufstore,p={},g={get:function(t){if(c(t)){var e=h(t);return!0===e?f(this).get(t):e?e[this._i]:$t}},set:function(t,e){return u.def(this,t,e)}},m=t.exports=n(205)("WeakMap",i,g,u,!0,!0);7!=(new m).set((Object.freeze||Object)(p),7).get(p)&&(l((r=u.getConstructor(i)).prototype,g),s.NEED=!0,o(["delete","has","get","set"],function(n){var t=m.prototype,i=t[n];a(t,n,function(t,e){if(!c(t)||d(t))return i.call(this,t,e);this._f||(this._f=new r);e=this._f[n](t,e);return"set"==n?this:e})}))},function(t,e,n){function a(t){return t._l||(t._l=new m)}function i(t,e){return f(t.a,function(t){return t[0]===e})}var s=n(202),l=n(20).getWeak,r=n(10),u=n(11),c=n(197),h=n(198),o=n(164),d=n(3),f=o(5),p=o(6),g=0,m=function(){this.a=[]};m.prototype={get:function(t){t=i(this,t);if(t)return t[1]},has:function(t){return!!i(this,t)},set:function(t,e){var n=i(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},t.exports={getConstructor:function(t,n,i,r){var o=t(function(t,e){c(t,o,n,"_i"),t._i=g++,e!=(t._l=$t)&&h(e,i,t[r],t)});return s(o.prototype,{delete:function(t){if(!u(t))return!1;var e=l(t);return!0===e?a(this).delete(t):e&&d(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=l(t);return!0===e?a(this).has(t):e&&d(e,this._i)}}),o},def:function(t,e,n){var i=l(r(e),!0);return!0===i?a(t).set(e,n):i[t._i]=n,t},ufstore:a}},function(t,e,n){var i=n(208);n(205)("WeakSet",function(t){return function(){return t(this,0<arguments.length?arguments[0]:$t)}},{add:function(t){return i.def(this,t,!0)}},i,!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){t=r(t),n=o(n);return a?a(t,e,n):s.call(t,e,n)}})},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))}i=n.prototype,n=r(s(i)?i:Object.prototype),i=Function.apply.call(t,n,e);return s(i)?i:n}})},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,n){function i(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)}var r=n(6),o=n(10);n(136)(i,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:$t,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){var o=n(49),a=n(57),s=n(3),i=n(6),l=n(11),u=n(10);i(i.S,"Reflect",{get:function t(e,n){var i,r=arguments.length<3?e:arguments[2];return u(e)===r?e[n]:(i=o.f(e,n))?s(i,"value")?i.value:i.get!==$t?i.get.call(r):$t:l(e=a(e))?t(e,n,r):void 0}})},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){n=n(6);n(n.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),n=n(2).Reflect;t.exports=n&&n.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,n){var s=n(9),l=n(49),u=n(57),c=n(3),i=n(6),h=n(15),d=n(10),f=n(11);i(i.S,"Reflect",{set:function t(e,n,i){var r,o=arguments.length<4?e:arguments[3],a=l.f(d(e),n);if(!a){if(f(r=u(e)))return t(r,n,i,o);a=h(0)}return c(a,"value")?!(!1===a.writable||!f(o)||((r=l.f(o,n)||h(0)).value=i,s.f(o,n,r),0)):a.set!==$t&&(a.set.call(o,i),!0)}})},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){n=n(6);n(n.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){function i(t){return 9<t?t:"0"+t}var r=n(6),n=n(5),o=Date.prototype.getTime;r(r.P+r.F*(n(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!n(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":9999<t?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"."+(99<e?e:"0"+i(e))+"Z"}})},function(t,e,n){var i=Date.prototype,r="Invalid Date",o=i.toString,a=i.getTime;new Date(NaN)+""!=r&&n(16)(i,"toString",function(){var t=a.call(this);return t==t?o.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);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(i(this),"number"!=t)}},function(t,e,n){var i=n(6),r=n(232),o=n(233),l=n(10),u=n(37),c=n(35),a=n(11),s=n(2).ArrayBuffer,h=n(199),d=o.ArrayBuffer,f=o.DataView,p=r.ABV&&s.isView,g=d.prototype.slice,m=r.VIEW,o="ArrayBuffer";i(i.G+i.W+i.F*(s!==d),{ArrayBuffer:d}),i(i.S+i.F*!r.CONSTR,o,{isView:function(t){return p&&p(t)||a(t)&&m in t}}),i(i.P+i.U+i.F*n(5)(function(){return!new d(2).slice(1,$t).byteLength}),o,{slice:function(t,e){if(g!==$t&&e===$t)return g.call(l(this),t);for(var n=l(this).byteLength,i=u(t,n),r=u(e===$t?n:e,n),n=new(h(this,d))(c(r-i)),o=new f(this),a=new f(n),s=0;i<r;)a.setUint8(s++,o.getUint8(i++));return n}}),n(186)(o)},function(t,e,n){for(var i,r=n(2),o=n(8),n=n(17),a=n("typed_array"),s=n("view"),n=!(!r.ArrayBuffer||!r.DataView),l=n,u=0,c="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");u<9;)(i=r[c[u++]])?(o(i.prototype,a,!0),o(i.prototype,s,!0)):l=!1;t.exports={ABV:n,CONSTR:l,TYPED:a,VIEW:s}},function(t,e,n){function i(t,e,n){var i,r,o=Array(n),a=8*n-e-1,s=(1<<a)-1,l=s>>1,u=23===e?B(2,-24)-B(2,-77):0,c=0,h=t<0||0===t&&1/t<0?1:0;for((t=H(t))!=t||t===F?(r=t!=t?1:0,i=s):(i=z(W(t)/$),t*(n=B(2,-i))<1&&(i--,n*=2),2<=(t+=1<=i+l?u/n:u*B(2,1-l))*n&&(i++,n/=2),s<=i+l?(r=0,i=s):1<=i+l?(r=(t*n-1)*B(2,e),i+=l):(r=t*B(2,l-1)*B(2,e),i=0));8<=e;o[c++]=255&r,r/=256,e-=8);for(i=i<<e|r,a+=e;0<a;o[c++]=255&i,i/=256,a-=8);return o[--c]|=128*h,o}function r(t,e,n){var i,r=8*n-e-1,o=(1<<r)-1,a=o>>1,s=r-7,l=n-1,u=127&(n=t[l--]);for(n>>=7;0<s;u=256*u+t[l],l--,s-=8);for(i=u&(1<<-s)-1,u>>=-s,s+=e;0<s;i=256*i+t[l],l--,s-=8);if(0===u)u=1-a;else{if(u===o)return i?NaN:n?-F:F;i+=B(2,e),u-=a}return(n?-1:1)*i*B(2,u-e)}function o(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function a(t){return[255&t]}function s(t){return[255&t,t>>8&255]}function l(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function u(t){return i(t,52,8)}function c(t){return i(t,23,4)}function h(t,e,n,i){var r=+n,n=S(r);if(r!=n||n<0||n+e>t[U])throw R(O);return r=t[q]._b,t=n+t[Y],e=r.slice(t,t+e),i?e:e.reverse()}function d(t,e,n,i,r,o){var a=+n,n=S(a);if(a!=n||n<0||n+e>t[U])throw R(O);for(var s=t[q]._b,l=n+t[Y],u=i(+r),c=0;c<e;c++)s[l+c]=u[o?c:e-c-1]}function f(t,e){if(w(t,L,D),e=_(t=+e),t!=e)throw R(E);return e}var p=n(2),g=n(4),m=n(26),y=n(232),v=n(8),b=n(202),x=n(5),w=n(197),S=n(36),_=n(35),C=n(48).f,k=n(9).f,M=n(180),T=n(22),D="ArrayBuffer",A="DataView",P="prototype",E="Wrong length!",O="Wrong index!",L=p[D],I=p[A],N=p.Math,R=p.RangeError,F=p.Infinity,j=L,H=N.abs,B=N.pow,z=N.floor,W=N.log,$=N.LN2,n="byteLength",p="byteOffset",q=g?"_b":"buffer",U=g?"_l":n,Y=g?"_o":p,N=function(t,e,n){k(t[P],e,{get:function(){return this[n]}})};if(y.ABV){if(!x(function(){new L})||!x(function(){new L(.5)})){for(var G,X=(L=function(t){return new j(f(this,t))})[P]=j[P],V=C(j),Z=0;V.length>Z;)(G=V[Z++])in L||v(L,G,j[G]);m||(X.constructor=L)}var X=new I(new L(2)),K=I[P].setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||b(I[P],{setInt8:function(t,e){K.call(this,t,e<<24>>24)},setUint8:function(t,e){K.call(this,t,e<<24>>24)}},!0)}else L=function(t){t=f(this,t);this._b=M.call(Array(t),0),this[U]=t},I=function(t,e,n){w(this,I,A),w(t,L,A);var i=t[U],e=S(e);if(e<0||i<e)throw R("Wrong offset!");if(i<e+(n=n===$t?i-e:_(n)))throw R(E);this[q]=t,this[Y]=e,this[U]=n},g&&(N(L,n,"_l"),N(I,"buffer","_b"),N(I,n,"_l"),N(I,p,"_o")),b(I[P],{getInt8:function(t){return h(this,1,t)[0]<<24>>24},getUint8:function(t){return h(this,1,t)[0]},getInt16:function(t){t=h(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=h(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return o(h(this,4,t,arguments[1]))},getUint32:function(t){return o(h(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return r(h(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return r(h(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){d(this,1,t,a,e)},setUint8:function(t,e){d(this,1,t,a,e)},setInt16:function(t,e){d(this,2,t,s,e,arguments[2])},setUint16:function(t,e){d(this,2,t,s,e,arguments[2])},setInt32:function(t,e){d(this,4,t,l,e,arguments[2])},setUint32:function(t,e){d(this,4,t,l,e,arguments[2])},setFloat32:function(t,e){d(this,4,t,c,e,arguments[2])},setFloat64:function(t,e){d(this,8,t,u,e,arguments[2])}});T(L,D),T(I,A),v(I[P],y.VIEW,!0),e[D]=L,e[A]=I},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(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){var p,g,m,y,v,i,h,b,r,x,o,a,w,s,l,u,c,S,_,d,f,C,k,M,T,D,A,P,E,O,L,I,N,R,F,j,H,B,z,W,$,q,U,Y,G,X,V,Z,K,J,Q,tt,et,nt,it,rt,ot,at,st,lt,ut,ct,ht,dt,ft,pt,gt,mt,yt,vt,bt,xt,wt,St,_t,Ct,kt,Mt,Tt,Dt,At,Pt,Et,Ot,Lt,It,Nt,Rt,Ft,jt,Ht,Bt,zt,Wt;n(4)?(p=n(26),g=n(2),m=n(5),y=n(6),v=n(232),i=n(233),h=n(18),b=n(197),r=n(15),x=n(8),o=n(202),a=n(36),w=n(35),s=n(37),l=n(14),u=n(3),c=n(69),S=n(73),_=n(11),d=n(56),f=n(154),C=n(44),k=n(57),M=n(48).f,T=n(156),Bt=n(17),Pt=n(23),zt=n(164),D=n(34),A=n(199),P=n(183),E=n(135),O=n(157),L=n(186),I=n(180),N=n(177),R=n(9),F=n(49),j=R.f,H=F.f,B=g.RangeError,z=g.TypeError,W=g.Uint8Array,q="Shared"+($="ArrayBuffer"),U="BYTES_PER_ELEMENT",Y="prototype",n=Array[Y],G=i.ArrayBuffer,X=i.DataView,V=zt(0),Z=zt(2),K=zt(3),J=zt(4),Q=zt(5),tt=zt(6),et=D(!0),nt=D(!1),it=P.values,rt=P.keys,ot=P.entries,at=n.lastIndexOf,st=n.reduce,lt=n.reduceRight,ut=n.join,ct=n.sort,ht=n.slice,dt=n.toString,ft=n.toLocaleString,pt=Pt("iterator"),gt=Pt("toStringTag"),mt=Bt("typed_constructor"),yt=Bt("def_constructor"),n=v.CONSTR,vt=v.TYPED,bt=v.VIEW,xt="Wrong length!",wt=zt(1,function(t,e){return Tt(A(t,t[yt]),e)}),St=m(function(){return 1===new W(new Uint16Array([1]).buffer)[0]}),_t=!!W&&!!W[Y].set&&m(function(){new W(1).set({})}),Ct=function(t,e){if(t===$t)throw z(xt);var n=+t,t=w(t);if(e&&!c(n,t))throw B(xt);return t},kt=function(t,e){t=a(t);if(t<0||t%e)throw B("Wrong offset!");return t},Mt=function(t){if(_(t)&&vt in t)return t;throw z(t+" is not a typed array!")},Tt=function(t,e){if(!(_(t)&&mt in t))throw z("It is not a typed array constructor!");return new t(e)},Dt=function(t,e){return At(A(t,t[yt]),e)},At=function(t,e){for(var n=0,i=e.length,r=Tt(t,i);n<i;)r[n]=e[n++];return r},Pt=function(t,e,n){j(t,e,{get:function(){return this._d[n]}})},Et=function(t){var e,n,i,r,o,a,s=d(t),l=arguments.length,u=1<l?arguments[1]:$t,c=u!==$t,t=T(s);if(t!=$t&&!f(t)){for(a=t.call(s),i=[],e=0;!(o=a.next()).done;e++)i.push(o.value);s=i}for(c&&2<l&&(u=h(u,arguments[2],2)),e=0,n=w(s.length),r=Tt(this,n);e<n;e++)r[e]=c?u(s[e],e):s[e];return r},Ot=function(){for(var t=0,e=arguments.length,n=Tt(this,e);t<e;)n[t]=arguments[t++];return n},Lt=!!W&&m(function(){ft.call(new W(1))}),It=function(){return ft.apply(Lt?ht.call(Mt(this)):Mt(this),arguments)},Nt={copyWithin:function(t,e){return N.call(Mt(this),t,e,2<arguments.length?arguments[2]:$t)},every:function(t){return J(Mt(this),t,1<arguments.length?arguments[1]:$t)},fill:function(t){return I.apply(Mt(this),arguments)},filter:function(t){return Dt(this,Z(Mt(this),t,1<arguments.length?arguments[1]:$t))},find:function(t){return Q(Mt(this),t,1<arguments.length?arguments[1]:$t)},findIndex:function(t){return tt(Mt(this),t,1<arguments.length?arguments[1]:$t)},forEach:function(t){V(Mt(this),t,1<arguments.length?arguments[1]:$t)},indexOf:function(t){return nt(Mt(this),t,1<arguments.length?arguments[1]:$t)},includes:function(t){return et(Mt(this),t,1<arguments.length?arguments[1]:$t)},join:function(t){return ut.apply(Mt(this),arguments)},lastIndexOf:function(t){return at.apply(Mt(this),arguments)},map:function(t){return wt(Mt(this),t,1<arguments.length?arguments[1]:$t)},reduce:function(t){return st.apply(Mt(this),arguments)},reduceRight:function(t){return lt.apply(Mt(this),arguments)},reverse:function(){for(var t,e=Mt(this).length,n=Math.floor(e/2),i=0;i<n;)t=this[i],this[i++]=this[--e],this[e]=t;return this},some:function(t){return K(Mt(this),t,1<arguments.length?arguments[1]:$t)},sort:function(t){return ct.call(Mt(this),t)},subarray:function(t,e){var n=Mt(this),i=n.length,t=s(t,i);return new(A(n,n[yt]))(n.buffer,n.byteOffset+t*n.BYTES_PER_ELEMENT,w((e===$t?i:s(e,i))-t))}},Rt=function(t,e){return Dt(this,ht.call(Mt(this),t,e))},Ft=function(t){Mt(this);var e=kt(arguments[1],1),n=this.length,i=d(t),r=w(i.length),o=0;if(n<r+e)throw B(xt);for(;o<r;)this[e+o]=i[o++]},jt={entries:function(){return ot.call(Mt(this))},keys:function(){return rt.call(Mt(this))},values:function(){return it.call(Mt(this))}},Ht=function(t,e){return _(t)&&t[vt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Bt=function(t,e){return Ht(t,e=l(e,!0))?r(2,t[e]):H(t,e)},zt=function(t,e,n){return!(Ht(t,e=l(e,!0))&&_(n)&&u(n,"value"))||u(n,"get")||u(n,"set")||n.configurable||u(n,"writable")&&!n.writable||u(n,"enumerable")&&!n.enumerable?j(t,e,n):(t[e]=n.value,t)},n||(F.f=Bt,R.f=zt),y(y.S+y.F*!n,"Object",{getOwnPropertyDescriptor:Bt,defineProperty:zt}),m(function(){dt.call({})})&&(dt=ft=function(){return ut.call(this)}),Wt=o({},Nt),o(Wt,jt),x(Wt,pt,jt.values),o(Wt,{slice:Rt,set:Ft,constructor:function(){},toString:dt,toLocaleString:It}),Pt(Wt,"buffer","b"),Pt(Wt,"byteOffset","o"),Pt(Wt,"byteLength","l"),Pt(Wt,"length","e"),j(Wt,gt,{get:function(){return this[vt]}}),t.exports=function(t,u,e,i){function c(t,e){j(t,e,{get:function(){return function(t,e){t=t._d;return t.v[n](e*u+t.o,St)}(this,e)},set:function(t){return function(t,e,n){t=t._d;i&&(n=(n=Math.round(n))<0?0:255<n?255:255&n),t.v[r](e*u+t.o,n,St)}(this,e,t)},enumerable:!0})}var h=t+((i=!!i)?"Clamped":"")+"Array",o="Uint8Array"!=h,n="get"+t,r="set"+t,d=g[h],a=d||{},s=d&&k(d),l=!d||!v.ABV,t={},f=d&&d[Y];l?(d=e(function(t,e,n,i){b(t,d,h,"_d");var r,o,a=0,s=0;if(_(e)){if(!(e instanceof G||(l=S(e))==$||l==q))return vt in e?At(d,e):Et.call(d,e);var l=e,s=kt(n,u),n=e.byteLength;if(i===$t){if(n%u)throw B(xt);if((r=n-s)<0)throw B(xt)}else if(n<(r=w(i)*u)+s)throw B(xt);o=r/u}else o=Ct(e,!0),l=new G(r=o*u);for(x(t,"_d",{b:l,o:s,l:r,e:o,v:new X(l)});a<o;)c(t,a++)}),f=d[Y]=C(Wt),x(f,"constructor",d)):O(function(t){new d(null),new d(t)},!0)||(d=e(function(t,e,n,i){var r;return b(t,d,h),_(e)?e instanceof G||(r=S(e))==$||r==q?i!==$t?new a(e,kt(n,u),i):n!==$t?new a(e,kt(n,u)):new a(e):vt in e?At(d,e):Et.call(d,e):new a(Ct(e,o))}),V(s!==Function.prototype?M(a).concat(M(s)):M(a),function(t){t in d||x(d,t,a[t])}),d[Y]=f,p||(f.constructor=d));l=f[pt],e=!!l&&("values"==l.name||l.name==$t),s=jt.values;x(d,mt,!0),x(f,vt,h),x(f,bt,!0),x(f,yt,d),(i?new d(1)[gt]==h:gt in f)||j(f,gt,{get:function(){return h}}),t[h]=d,y(y.G+y.W+y.F*(d!=a),t),y(y.S,h,{BYTES_PER_ELEMENT:u,from:Et,of:Ot}),U in f||x(f,U,u),y(y.P,h,Nt),L(h),y(y.P+y.F*_t,h,{set:Ft}),y(y.P+y.F*!e,h,jt),y(y.P+y.F*(f.toString!=dt),h,{toString:dt}),y(y.P+y.F*m(function(){new d(1).slice()}),h,{slice:Rt}),y(y.P+y.F*(m(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!m(function(){f.toLocaleString.call([1,2])})),h,{toLocaleString:It}),E[h]=e?l:s,p||e||x(f,pt,s)}):t.exports=function(){}},function(t,e,n){n(236)("Uint8",1,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Uint8",1,function(i){return function(t,e,n){return i(this,t,e,n)}},!0)},function(t,e,n){n(236)("Int16",2,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Uint16",2,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Int32",4,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Uint32",4,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Float32",4,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){n(236)("Float64",8,function(i){return function(t,e,n){return i(this,t,e,n)}})},function(t,e,n){var i=n(6),r=n(34)(!0);i(i.P,"Array",{includes:function(t){return r(this,t,1<arguments.length?arguments[1]:$t)}}),n(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,n){var i=n(6),r=n(248);i(i.P,"String",{padStart:function(t){return r(this,t,1<arguments.length?arguments[1]:$t,!0)}})},function(t,e,n){var o=n(35),a=n(85),s=n(33);t.exports=function(t,e,n,i){var r=String(s(t)),t=r.length,n=n===$t?" ":String(n),e=o(e);if(e<=t||""==n)return r;t=e-t,n=a.call(n,Math.ceil(t/n.length));return n.length>t&&(n=n.slice(0,t)),i?n+r:r+n}},function(t,e,n){var i=n(6),r=n(248);i(i.P,"String",{padEnd:function(t){return r(this,t,1<arguments.length?arguments[1]:$t,!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){function i(t,e){this._r=t,this._s=e}var r=n(6),o=n(33),a=n(35),s=n(128),l=n(188),u=RegExp.prototype;n(136)(i,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(o(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in u?String(t.flags):l.call(t),n=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return n.lastIndex=a(t.lastIndex),new i(n,e)}})},function(t,e,n){n(25)("asyncIterator")},function(t,e,n){n(25)("observable")},function(t,e,n){var i=n(6),s=n(221),l=n(30),u=n(49),c=n(155);i(i.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n=l(t),i=u.f,r=s(n),o={},a=0;r.length>a;)c(o,e=r[a++],i(n,e));return o}})},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 l=n(28),u=n(30),c=n(42).f;t.exports=function(s){return function(t){for(var e,n=u(t),i=l(n),r=i.length,o=0,a=[];o<r;)c.call(n,e=i[o++])&&a.push(s?[e,n[e]]:n[e]);return a}}},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){n=n(6);n(n.S,"Math",{iaddh:function(t,e,n,i){t>>>=0,n>>>=0;return(e>>>0)+(i>>>0)+((t&n|(t|n)&~(t+n>>>0))>>>31)|0}})},function(t,e,n){n=n(6);n(n.S,"Math",{isubh:function(t,e,n,i){t>>>=0,n>>>=0;return(e>>>0)-(i>>>0)-((~t&n|~(t^n)&t-n>>>0)>>>31)|0}})},function(t,e,n){n=n(6);n(n.S,"Math",{imulh:function(t,e){var n=+t,i=+e,t=65535&n,e=65535&i,n=n>>16,i=i>>16,e=(n*e>>>0)+(t*e>>>16);return n*i+(e>>16)+((t*i>>>0)+(65535&e)>>16)}})},function(t,e,n){n=n(6);n(n.S,"Math",{umulh:function(t,e){var n=+t,i=+e,t=65535&n,e=65535&i,n=n>>>16,i=i>>>16,e=(n*e>>>0)+(t*e>>>16);return n*i+(e>>>16)+((t*i>>>0)+(65535&e)>>>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,n){function r(t,e,n){var i=s.get(t);if(!i){if(!n)return $t;s.set(t,i=new o)}if(!(t=i.get(e))){if(!n)return $t;i.set(e,t=new o)}return t}var o=n(203),i=n(6),a=n(21)("metadata"),s=a.store||(a.store=new(n(207)));t.exports={store:s,map:r,has:function(t,e,n){n=r(e,n,!1);return n!==$t&&n.has(t)},get:function(t,e,n){n=r(e,n,!1);return n===$t?$t:n.get(t)},set:function(t,e,n,i){r(n,i,!0).set(t,e)},keys:function(t,e){var e=r(t,e,!1),n=[];return e&&e.forEach(function(t,e){n.push(e)}),n},key:function(t){return t===$t||"symbol"==typeof t?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},function(t,e,n){var i=n(275),r=n(10),o=i.key,a=i.map,s=i.store;i.exp({deleteMetadata:function(t,e){var n=arguments.length<3?$t:o(arguments[2]),i=a(r(e),n,!1);if(i===$t||!i.delete(t))return!1;if(i.size)return!0;i=s.get(e);return i.delete(n),!!i.size||s.delete(e)}})},function(t,e,n){var i=n(275),r=n(10),o=n(57),a=i.has,s=i.get,l=i.key,u=function(t,e,n){if(a(t,e,n))return s(t,e,n);e=o(e);return null!==e?u(t,e,n):$t};i.exp({getMetadata:function(t,e){return u(t,r(e),arguments.length<3?$t:l(arguments[2]))}})},function(t,e,n){var i=n(206),r=n(266),o=n(275),a=n(10),s=n(57),l=o.keys,u=o.key,c=function(t,e){var n=l(t,e),t=s(t);if(null===t)return n;e=c(t,e);return e.length?n.length?r(new i(n.concat(e))):e:n};o.exp({getMetadataKeys:function(t){return c(a(t),arguments.length<2?$t:u(arguments[1]))}})},function(t,e,n){var i=n(275),r=n(10),o=i.get,a=i.key;i.exp({getOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?$t:a(arguments[2]))}})},function(t,e,n){var i=n(275),r=n(10),o=i.keys,a=i.key;i.exp({getOwnMetadataKeys:function(t){return o(r(t),arguments.length<2?$t:a(arguments[1]))}})},function(t,e,n){var i=n(275),r=n(10),o=n(57),a=i.has,s=i.key,l=function(t,e,n){if(a(t,e,n))return!0;e=o(e);return null!==e&&l(t,e,n)};i.exp({hasMetadata:function(t,e){return l(t,r(e),arguments.length<3?$t:s(arguments[2]))}})},function(t,e,n){var i=n(275),r=n(10),o=i.has,a=i.key;i.exp({hasOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?$t:a(arguments[2]))}})},function(t,e,n){var i=n(275),r=n(10),o=n(19),a=i.key,s=i.set;i.exp({metadata:function(n,i){return function(t,e){s(n,i,(e!==$t?r:o)(t),a(e))}}})},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,n){function r(t){return null==t?$t:f(t)}function o(t){var e=t._c;e&&(t._c=$t,e())}function a(t){return t._o===$t}function s(t){a(t)||(t._o=$t,o(t))}function i(e,t){p(e),this._c=$t,this._o=e,e=new x(this);try{var n=t(e),i=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){i.unsubscribe()}:f(n),this._c=n)}catch(t){return void e.error(t)}a(this)&&o(this)}var l=n(6),u=n(2),c=n(7),h=n(201)(),d=n(23)("observable"),f=n(19),p=n(10),g=n(197),m=n(202),y=n(8),v=n(198),b=v.RETURN;i.prototype=m({},{unsubscribe:function(){s(this)}});var x=function(t){this._s=t};x.prototype=m({},{next:function(t){var e=this._s;if(!a(e)){var n=e._o;try{var i=r(n.next);if(i)return i.call(n,t)}catch(t){try{s(e)}finally{throw t}}}},error:function(t){var e=this._s;if(a(e))throw t;var n=e._o;e._o=$t;try{var i=r(n.error);if(!i)throw t;t=i.call(n,t)}catch(t){try{o(e)}finally{throw t}}return o(e),t},complete:function(t){var e=this._s;if(!a(e)){var n=e._o;e._o=$t;try{var i=r(n.complete);t=i?i.call(n,t):$t}catch(t){try{o(e)}finally{throw t}}return o(e),t}}});var w=function(t){g(this,w,"Observable","_f")._f=f(t)};m(w.prototype,{subscribe:function(t){return new i(t,this._f)},forEach:function(i){var r=this;return new(c.Promise||u.Promise)(function(t,e){f(i);var n=r.subscribe({next:function(t){try{return i(t)}catch(t){e(t),n.unsubscribe()}},error:e,complete:t})})}}),m(w,{from:function(t){var e="function"==typeof this?this:w,n=r(p(t)[d]);if(n){var i=p(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 h(function(){if(!n){try{if(v(t,!1,function(t){if(e.next(t),n)return b})===b)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,i=Array(e);t<e;)i[t]=arguments[t++];return new("function"==typeof this?this:w)(function(e){var n=!1;return h(function(){if(!n){for(var t=0;t<i.length;++t)if(e.next(i[t]),n)return;e.complete()}}),function(){n=!0}})}}),y(w.prototype,d,function(){return this}),l(l.G,{Observable:w}),n(186)("Observable")},function(t,e,n){var i=n(6),n=n(200);i(i.G+i.B,{setImmediate:n.set,clearImmediate:n.clear})},function(t,e,n){for(var i=n(183),r=n(16),o=n(2),a=n(8),s=n(135),n=n(23),l=n("iterator"),u=n("toStringTag"),c=s.Array,h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],d=0;d<5;d++){var f,p=h[d],g=o[p],m=g&&g.prototype;if(m)for(f in m[l]||a(m,l,c),m[u]||a(m,u,p),s[p]=c,i)m[f]||r(m,f,i[f],!0)}},function(t,e,n){var i=n(2),r=n(6),o=n(76),a=n(289),n=i.navigator,s=!!n&&/MSIE .\./.test(n.userAgent),n=function(n){return s?function(t,e){return n(o(a,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),e)}:n};r(r.G+r.B+r.F*s,{setTimeout:n(i.setTimeout),setInterval:n(i.setInterval)})},function(t,e,n){var i=n(290),u=n(76),c=n(19);t.exports=function(){for(var r=c(this),o=arguments.length,a=Array(o),t=0,s=i._,l=!1;t<o;)(a[t]=arguments[t++])===s&&(l=!0);return function(){var t,e=arguments.length,n=0,i=0;if(!l&&!e)return u(r,a,this);if(t=a.slice(),l)for(;n<o;n++)t[n]===s&&(t[n]=arguments[i++]);for(;i<e;)t.push(arguments[i++]);return u(r,t,this)}}},function(t,e,n){t.exports=n(2)},function(t,e,n){function d(t){var n=s(null);return t!=$t&&(m(t)?g(t,!0,function(t,e){n[t]=e}):a(n,t)),n}function i(u){var c=1==u,h=4==u;return function(t,e,n){var i,r,o,a=f(e,n,3),s=x(t),l=c||7==u||2==u?new("function"==typeof this?this:d):$t;for(i in s)if(S(s,i)&&(r=s[i],o=a(r,i,t),u))if(c)l[i]=o;else if(o)switch(u){case 2:l[i]=r;break;case 3:return!0;case 5:return r;case 6:return i;case 7:l[o[0]]=o[1]}else if(h)return!1;return 3==u||h?h:l}}var f=n(18),r=n(6),o=n(15),a=n(67),s=n(44),l=n(57),u=n(28),c=n(9),h=n(27),p=n(19),g=n(198),m=n(292),y=n(136),v=n(184),b=n(11),x=n(30),w=n(4),S=n(3),_=i(6),n=function(e){return function(t){return new C(t,e)}},C=function(t,e){this._t=x(t),this._a=u(t),this._i=0,this._k=e};y(C,"Dict",function(){var t,e=this._t,n=this._a,i=this._k;do{if(this._i>=n.length)return this._t=$t,v(1)}while(!S(e,t=n[this._i++]));return v(0,"keys"==i?t:"values"==i?e[t]:[t,e[t]])}),d.prototype=null,r(r.G+r.F,{Dict:d}),r(r.S,"Dict",{keys:n("keys"),values:n("values"),entries:n("entries"),forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findKey:_,mapPairs:i(7),reduce:function(t,e,n){p(e);var i,r,o=x(t),a=u(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(;l<s;)S(o,r=a[l++])&&(i=e(i,o[r],r,t));return i},keyOf:h,includes:function(t,e){return(e==e?h(t,e):_(t,function(t){return t!=t}))!==$t},has:S,get:function(t,e){if(S(t,e))return t[e]},set:function(t,e,n){return w&&e in Object?c.f(t,e,o(0,n)):t[e]=n,t},isDict:function(t){return b(t)&&l(t)===d.prototype}})},function(t,e,n){var i=n(73),r=n(23)("iterator"),o=n(135);t.exports=n(7).isIterable=function(t){t=Object(t);return t[r]!==$t||"@@iterator"in t||o.hasOwnProperty(i(t))}},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(e){return new(r.Promise||i.Promise)(function(t){setTimeout(a.call(t,!0),e)})}})},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),n=n(299);i(i.S+i.F,"Object",{define:n})},function(t,e,n){var a=n(9),s=n(49),l=n(221),u=n(30);t.exports=function(t,e){for(var n,i=l(u(e)),r=i.length,o=0;o<r;)a.f(t,n=i[o++],s.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,n){n(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?$t: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(e,n){var i=n===Object(n)?function(t){return n[t]}:n;return function(t){return String(t).replace(e,i)}}},function(t,e,n){var i=n(6),r=n(303)(/[&<>"']/g,{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"});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,{"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'"});i(i.P+i.F,"String",{unescapeHTML:function(){return r(this)}})}],r.c=a,r.p="",r(0),"undefined"!=typeof module&&module.exports?module.exports=n:"function"==typeof define&&define.amd?define(function(){return n}):i.core=n}(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){var e,n,y,i,r,a,o,s,l,u,c,h,d,f,p,O,g,m,M,v,b,T,x,L,w,S,D,I,N,_,A,C,k,P,E,R,F,j,H,B,z,W,$,q,U,Y,G,X,V,Z,K,J,Q,tt,et,nt,it,rt,ot,at,st,lt,ut,ct,ht,dt,ft,pt,gt,mt,yt,vt,bt,xt,wt,St,_t,Ct,kt,Mt,Tt,Dt,At,Pt,Et,Ot,Lt,It,Nt,Rt,Ft,jt,Ht;function Bt(){var s,t=Tt.defaultOptions.global,l=t.useUTC,e=l?"getUTC":"get",n=l?"setUTC":"set";Tt.Date=s=t.Date||Ot.Date,s.hcTimezoneOffset=l&&t.timezoneOffset,s.hcGetTimezoneOffset=function(){var e=Tt.defaultOptions.global,n=Ot.moment;if(e.timezone){if(n)return function(t){return-n.tz(t,e.timezone).utcOffset()};Tt.error(25)}return e.useUTC&&e.getTimezoneOffset}(),s.hcMakeTime=function(t,e,n,i,r,o){var a;return l?(a=s.UTC.apply(0,arguments),a+=At(a)):a=new s(t,e,Et(n,1),Et(i,0),Et(r,0),Et(o,0)).getTime(),a},Dt("Minutes Hours Day Date Month FullYear".split(" "),function(t){s["hcGet"+t]=e+t}),Dt("Milliseconds Seconds Minutes Hours Date Month FullYear".split(" "),function(t){s["hcSet"+t]=n+t})}Go=window,e=Go.document,ra=Go.navigator&&Go.navigator.userAgent||"",qo=e&&e.createElementNS&&!!e.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,Ko=/(edge|msie|trident)/i.test(ra)&&!window.opera,Xo=!qo,Lo=/Firefox/.test(ra),n=Lo&&parseInt(ra.split("Firefox/")[1],10)<4,t=Go.Highcharts?Go.Highcharts.error(16,!0):{product:"Highcharts",version:"5.0.14",deg2rad:2*Math.PI/360,doc:e,hasBidiBug:n,hasTouch:e&&void 0!==e.documentElement.ontouchstart,isMS:Ko,isWebKit:/AppleWebKit/.test(ra),isFirefox:Lo,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(ra),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:qo,vml:Xo,win:Go,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[]},a=[],o=(y=t).charts,s=y.doc,l=y.win,y.error=function(t,e){if(t=y.isNumber(t)?"Highcharts error #"+t+": www.highcharts.com/errors/"+t:t,e)throw Error(t);l.console&&console.log(t)},y.Fx=function(t,e,n){this.options=e,this.elem=t,this.prop=n},y.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&&r<1)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,e,n){var i,r=this,o=function(t){return!o.stopped&&r.step(t)};this.startTime=+new Date,this.start=t,this.end=e,this.unit=n,this.now=this.start,this.pos=0,o.elem=this.elem,o.prop=this.prop,o()&&1===a.push(o)&&(o.timerId=setInterval(function(){for(i=0;i<a.length;i++)a[i]()||a.splice(i--,1);a.length||clearInterval(o.timerId)},13))},step:function(t){var e,n=+new Date,i=this.options,r=this.elem,o=i.complete,a=i.duration,s=i.curAnim;return t=!(r.attr&&!r.element)&&(t||n>=a+this.startTime?(this.now=this.end,this.pos=1,this.update(),e=s[this.prop]=!0,y.objectEach(s,function(t){!0!==t&&(e=!1)}),e&&o&&o.call(r),!1):(this.pos=i.easing((n-this.startTime)/a),this.now=this.start+(this.end-this.start)*this.pos,this.update(),!0))},initPath:function(t,e,n){function i(t){var e,n;for(u=t.length;u--;)e="M"===t[u]||"L"===t[u],n=/[a-zA-Z]/.test(t[u+3]),e&&n&&t.splice(u+1,0,t[u+1],t[u+2],t[u+1],t[u+2])}function r(t,e){for(;t.length<s;){t[0]=e[s-t.length];var n=t.slice(0,f);[].splice.apply(t,[0,0].concat(n)),g&&(n=t.slice(t.length-f),[].splice.apply(t,[t.length,0].concat(n)),u--)}t[0]="M"}function o(t,e){for(var n=(s-t.length)/f;0<n&&n--;)(l=t.slice().splice(t.length/m-f,f*m))[0]=e[s-f-n*f],d&&(l[f-6]=l[f-2],l[f-5]=l[f-1]),[].splice.apply(t,[t.length/m,0].concat(l)),g&&n--}var a,s,l,u,c=t.startX,h=t.endX,d=-1<(e=e||"").indexOf("C"),f=d?7:3;e=e.split(" "),n=n.slice();var p,g=t.isArea,m=g?2:1;if(d&&(i(e),i(n)),c&&h){for(u=0;u<c.length;u++){if(c[u]===h[0]){a=u;break}if(c[0]===h[h.length-c.length+u]){a=u,p=!0;break}}void 0===a&&(e=[])}return e.length&&y.isNumber(a)&&(s=n.length+a*m*f,p?(r(e,n),o(n,e)):(r(n,e),o(e,n))),[e,n]}},y.Fx.prototype.fillSetter=y.Fx.prototype.strokeSetter=function(){this.elem.attr(this.prop,y.color(this.start).tweenTo(y.color(this.end),this.pos),null,!0)},y.extend=function(t,e){for(var n in t=t||{},e)t[n]=e[n];return t},y.merge=function(){var t,e,n=arguments,i={},r=function(n,i){return"object"!=typeof n&&(n={}),y.objectEach(i,function(t,e){!y.isObject(t,!0)||y.isClass(t)||y.isDOMElement(t)?n[e]=i[e]:n[e]=r(n[e]||{},t)}),n};for(!0===n[0]&&(i=n[1],n=Array.prototype.slice.call(n,2)),e=n.length,t=0;t<e;t++)i=r(i,n[t]);return i},y.pInt=function(t,e){return parseInt(t,e||10)},y.isString=function(t){return"string"==typeof t},y.isArray=function(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t},y.isObject=function(t,e){return!(!t||"object"!=typeof t||e&&y.isArray(t))},y.isDOMElement=function(t){return y.isObject(t)&&"number"==typeof t.nodeType},y.isClass=function(t){var e=t&&t.constructor;return!(!y.isObject(t,!0)||y.isDOMElement(t)||!e||!e.name||"Object"===e.name)},y.isNumber=function(t){return"number"==typeof t&&!isNaN(t)},y.erase=function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},y.defined=function(t){return null!=t},y.attr=function(n,t,e){var i;return y.isString(t)?y.defined(e)?n.setAttribute(t,e):n&&n.getAttribute&&(i=n.getAttribute(t)):y.defined(t)&&y.isObject(t)&&y.objectEach(t,function(t,e){n.setAttribute(e,t)}),i},y.splat=function(t){return y.isArray(t)?t:[t]},y.syncTimeout=function(t,e,n){if(e)return setTimeout(t,e,n);t.call(0,n)},y.pick=function(){for(var t,e=arguments,n=e.length,i=0;i<n;i++)if(null!=(t=e[i]))return t},y.css=function(t,e){y.isMS&&!y.svg&&e&&void 0!==e.opacity&&(e.filter="alpha(opacity="+100*e.opacity+")"),y.extend(t.style,e)},y.createElement=function(t,e,n,i,r){t=s.createElement(t);var o=y.css;return e&&y.extend(t,e),r&&o(t,{padding:0,border:"none",margin:0}),n&&o(t,n),i&&i.appendChild(t),t},y.extendClass=function(t,e){function n(){}return n.prototype=new t,y.extend(n.prototype,e),n},y.pad=function(t,e,n){return Array((e||2)+1-String(t).length).join(n||0)+t},y.relativeLength=function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},y.wrap=function(t,e,i){var r=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,n=this;return n.proceed=function(){r.apply(n,arguments.length?arguments:e)},t.unshift(r),t=i.apply(this,t),n.proceed=null,t}},y.getTZOffset=function(t){var e=y.Date;return 6e4*(e.hcGetTimezoneOffset&&e.hcGetTimezoneOffset(t)||e.hcTimezoneOffset||0)},y.dateFormat=function(n,i,t){if(!y.defined(i)||isNaN(i))return y.defaultOptions.lang.invalidDate||"";n=y.pick(n,"%Y-%m-%d %H:%M:%S");var e=new(f=y.Date)(i-y.getTZOffset(i)),r=e[f.hcGetHours](),o=e[f.hcGetDay](),a=e[f.hcGetDate](),s=e[f.hcGetMonth](),l=e[f.hcGetFullYear](),u=y.defaultOptions.lang,c=u.weekdays,h=u.shortWeekdays,d=y.pad,f=y.extend({a:h?h[o]:c[o].substr(0,3),A:c[o],d:d(a),e:d(a,2," "),w:o,b:u.shortMonths[s],B:u.months[s],m:d(s+1),y:l.toString().substr(2,2),Y:l,H:d(r),k:r,I:d(r%12||12),l:r%12||12,M:d(e[f.hcGetMinutes]()),p:r<12?"AM":"PM",P:r<12?"am":"pm",S:d(e.getSeconds()),L:d(Math.round(i%1e3),3)},y.dateFormats);return y.objectEach(f,function(t,e){for(;-1!==n.indexOf("%"+e);)n=n.replace("%"+e,"function"==typeof t?t(i):t)}),t?n.substr(0,1).toUpperCase()+n.substr(1):n},y.formatSingle=function(t,e){var n=/\.([0-9])/,i=y.defaultOptions.lang;return/f$/.test(t)?(n=(n=t.match(n))?n[1]:-1,null!==e&&(e=y.numberFormat(e,n,i.decimalPoint,-1<t.indexOf(",")?i.thousandsSep:""))):e=y.dateFormat(t,e),e},y.format=function(t,e){for(var n,i,r,o,a,s="{",l=!1,u=[];t&&-1!==(s=t.indexOf(s));){if(n=t.slice(0,s),l){for(o=(i=(n=n.split(":")).shift().split(".")).length,a=e,r=0;r<o;r++)a=a[i[r]];n.length&&(a=y.formatSingle(n.join(":"),a)),u.push(a)}else u.push(n);t=t.slice(s+1),s=(l=!l)?"}":"{"}return u.push(t),u.join("")},y.getMagnitude=function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},y.normalizeTickInterval=function(t,e,n,i,r){var o=t,a=t/(n=y.pick(n,1));for(e||(e=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?e=y.grep(e,function(t){return 0==t%1}):n<=.1&&(e=[1/n]))),i=0;i<e.length&&(o=e[i],!(r&&t<=o*n||!r&&a<=(e[i]+(e[i+1]||e[i]))/2));i++);return y.correctFloat(o*n,-Math.round(Math.log(.001)/Math.LN10))},y.stableSort=function(t,n){for(var i,e=t.length,r=0;r<e;r++)t[r].safeI=r;for(t.sort(function(t,e){return 0===(i=n(t,e))?t.safeI-e.safeI:i}),r=0;r<e;r++)delete t[r].safeI},y.arrayMin=function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},y.arrayMax=function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},y.destroyObjectProperties=function(n,i){y.objectEach(n,function(t,e){t&&t!==i&&t.destroy&&t.destroy(),delete n[e]})},y.discardElement=function(t){var e=(e=y.garbageBin)||y.createElement("div");t&&e.appendChild(t),e.innerHTML=""},y.correctFloat=function(t,e){return parseFloat(t.toPrecision(e||14))},y.setAnimation=function(t,e){e.renderer.globalAnimation=y.pick(t,e.options.chart.animation,!0)},y.animObject=function(t){return y.isObject(t)?y.merge(t):{duration:t?500:0}},y.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},y.numberFormat=function(t,e,n,i){e=+e;var r,o,a=y.defaultOptions.lang,s=((t=+t||0).toString().split(".")[1]||"").split("e")[0].length,l=t.toString().split("e");return-1===e?e=Math.min(s,20):y.isNumber(e)||(e=2),o=(Math.abs(l[1]?l[0]:t)+Math.pow(10,-Math.max(e,s)-1)).toFixed(e),r=3<(s=String(y.pInt(o))).length?s.length%3:0,n=y.pick(n,a.decimalPoint),i=y.pick(i,a.thousandsSep),t=(t<0?"-":"")+(r?s.substr(0,r)+i:""),t+=s.substr(r).replace(/(\d{3})(?=\d)/g,"$1"+i),e&&(t+=n+o.slice(-e)),l[1]&&(t+="e"+l[1]),t},Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)},y.getStyle=function(t,e,n){return"width"===e?Math.min(t.offsetWidth,t.scrollWidth)-y.getStyle(t,"padding-left")-y.getStyle(t,"padding-right"):"height"===e?Math.min(t.offsetHeight,t.scrollHeight)-y.getStyle(t,"padding-top")-y.getStyle(t,"padding-bottom"):((t=l.getComputedStyle(t,void 0))&&(t=t.getPropertyValue(e),y.pick(n,!0)&&(t=y.pInt(t))),t)},y.inArray=function(t,e){return e.indexOf?e.indexOf(t):[].indexOf.call(e,t)},y.grep=function(t,e){return[].filter.call(t,e)},y.find=function(t,e){return[].find.call(t,e)},y.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},y.offset=function(t){var e=s.documentElement;return{top:(t=t.getBoundingClientRect()).top+(l.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(l.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}},y.stop=function(t,e){for(var n=a.length;n--;)a[n].elem!==t||e&&e!==a[n].prop||(a[n].stopped=!0)},y.each=function(t,e,n){return Array.prototype.forEach.call(t,e,n)},y.objectEach=function(t,e,n){for(var i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)},y.addEvent=function(e,t,n){function i(t){t.target=t.srcElement||l,n.call(e,t)}var r=e.hcEvents=e.hcEvents||{};return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&(e.hcEventsIE||(e.hcEventsIE={}),n.hcGetKey||(n.hcGetKey=y.uniqueKey()),e.hcEventsIE[n.hcGetKey]=i,e.attachEvent("on"+t,i)),r[t]||(r[t]=[]),r[t].push(n),function(){y.removeEvent(e,t,n)}},y.removeEvent=function(i,e,t){function r(t,e){i.removeEventListener?i.removeEventListener(t,e,!1):i.attachEvent&&(e=i.hcEventsIE[e.hcGetKey],i.detachEvent("on"+t,e))}function n(){var t,n;i.nodeName&&(e?(t={})[e]=!0:t=s,y.objectEach(t,function(t,e){if(s[e])for(n=s[e].length;n--;)r(e,s[e][n])}))}var o,a,s=i.hcEvents;s&&(e?(o=s[e]||[],t?(-1<(a=y.inArray(t,o))&&(o.splice(a,1),s[e]=o),r(e,t)):(n(),s[e]=[])):(n(),i.hcEvents={}))},y.fireEvent=function(t,e,n,i){var r,o,a=t.hcEvents;if(n=n||{},s.createEvent&&(t.dispatchEvent||t.fireEvent))(a=s.createEvent("Events")).initEvent(e,!0,!0),y.extend(a,n),t.dispatchEvent?t.dispatchEvent(a):t.fireEvent(e,a);else if(a)for(r=(a=a[e]||[]).length,n.target||y.extend(n,{preventDefault:function(){n.defaultPrevented=!0},target:t,type:e}),e=0;e<r;e++)(o=a[e])&&!1===o.call(t,n)&&n.preventDefault();i&&!n.defaultPrevented&&i(n)},y.animate=function(n,i,r){var o,a,s,t,l="";y.isObject(r)||(r={duration:(t=arguments)[2],easing:t[3],complete:t[4]}),y.isNumber(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=y.merge(i),y.objectEach(i,function(t,e){y.stop(n,e),s=new y.Fx(n,r,e),a=null,"d"===e?(s.paths=s.initPath(n,n.d,i.d),s.toD=i.d,o=0,a=1):n.attr?o=n.attr(e):(o=parseFloat(y.getStyle(n,e))||0,"opacity"!==e&&(l="px")),(a=a||t)&&a.match&&a.match("px")&&(a=a.replace(/px/g,"")),s.run(o,a,l)})},y.seriesType=function(t,e,n,i,r){var o=y.getOptions(),a=y.seriesTypes;return o.plotOptions[t]=y.merge(o.plotOptions[e],n),a[t]=y.extendClass(a[e]||function(){},i),a[t].prototype.type=t,r&&(a[t].prototype.pointClass=y.extendClass(y.Point,r)),a[t]},y.uniqueKey=(i=Math.random().toString(36).substring(2,9),r=0,function(){return"highcharts-"+i+"-"+r++}),l.jQuery&&(l.jQuery.fn.highcharts=function(){var t=[].slice.call(arguments);if(this[0])return t[0]?(new y[y.isString(t[0])?t.shift():"Chart"](this[0],t[0],t[1]),this):o[y.attr(this[0],"data-highcharts-chart")]}),s&&!s.defaultView&&(y.getStyle=function(t,e){var n={width:"clientWidth",height:"clientHeight"}[e];return t.style[e]?y.pInt(t.style[e]):("opacity"===e&&(e="filter"),n?(t.style.zoom=1,Math.max(t[n]-2*y.getStyle(t,"padding"),0)):(t=t.currentStyle[e.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()})],""===(t="filter"===e?t.replace(/alpha\(opacity=([0-9]+)\)/,function(t,e){return e/100}):t)?1:y.pInt(t)))}),Array.prototype.forEach||(y.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||(y.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||(y.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||(y.find=function(t,e){for(var n=t.length,i=0;i<n;i++)if(e(t[i],i))return t[i]}),c=(u=t).each,h=u.isNumber,d=u.map,f=u.merge,p=u.pInt,u.Color=function(t){if(!(this instanceof u.Color))return new u.Color(t);this.init(t)},u.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[p(t[1]),p(t[2]),p(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[p(t[1]),p(t[2]),p(t[3]),1]}}],names:{none:"rgba(255,255,255,0)",white:"#ffffff",black:"#000000"},init:function(t){var e,n,i,r;if((this.input=t=this.names[t&&t.toLowerCase?t.toLowerCase():""]||t)&&t.stops)this.stops=d(t.stops,function(t){return new u.Color(t[1])});else if(t&&"#"===t.charAt()&&(e=t.length,t=parseInt(t.substr(1),16),7===e?n=[(16711680&t)>>16,(65280&t)>>8,255&t,1]:4===e&&(n=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])),!n)for(i=this.parsers.length;i--&&!n;)(e=(r=this.parsers[i]).regex.exec(t))&&(n=r.parse(e));this.rgba=n||[]},get:function(n){var i,t=this.input,e=this.rgba;return this.stops?((i=f(t)).stops=[].concat(i.stops),c(this.stops,function(t,e){i.stops[e]=[i.stops[e][0],t.get(n)]})):i=e&&h(e[0])?"rgb"===n||!n&&1===e[3]?"rgb("+e[0]+","+e[1]+","+e[2]+")":"a"===n?e[3]:"rgba("+e.join(",")+")":t,i},brighten:function(e){var t,n=this.rgba;if(this.stops)c(this.stops,function(t){t.brighten(e)});else if(h(e)&&0!==e)for(t=0;t<3;t++)n[t]+=p(255*e),n[t]<0&&(n[t]=0),255<n[t]&&(n[t]=255);return this},setOpacity:function(t){return this.rgba[3]=t,this},tweenTo:function(t,e){var n,i;return t=t.rgba.length?(n=this.rgba,((i=1!==(t=t.rgba)[3]||1!==n[3])?"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.input||"none"}},u.color=function(t){return new u.Color(t)},g=(O=t).addEvent,m=O.animate,M=O.attr,v=O.charts,b=O.color,T=O.css,x=O.createElement,L=O.defined,w=O.deg2rad,S=O.destroyObjectProperties,D=O.doc,I=O.each,N=O.extend,_=O.erase,A=O.grep,C=O.hasTouch,k=O.inArray,P=O.isArray,E=O.isFirefox,R=O.isMS,F=O.isObject,j=O.isString,H=O.isWebKit,B=O.merge,Ko=O.noop,z=O.objectEach,W=O.pick,$=O.pInt,q=O.removeEvent,U=O.stop,Y=O.svg,G=O.SVG_NS,X=O.symbolSizes,V=O.win,Z=O.SVGElement=function(){return this},N(Z.prototype,{opacity:1,SVG_NS:G,textProps:"direction fontSize fontWeight fontFamily fontStyle color lineHeight width textAlign textDecoration textOverflow textOutline".split(" "),init:function(t,e){this.element="span"===e?x(e):D.createElementNS(this.SVG_NS,e),this.renderer=t},animate:function(t,e,n){return 0!==(e=O.animObject(W(e,this.renderer.globalAnimation,!0))).duration?(n&&(e.complete=n),m(this,t,e)):(this.attr(t,null,n),e.step&&e.step.call(this)),this},colorGradient:function(t,e,n){var i,r,o,a,s,l,u,c,h,d,f=this.renderer,p=[];t.radialGradient?i="radialGradient":t.linearGradient&&(i="linearGradient"),i&&(r=t[i],a=f.gradients,l=t.stops,h=n.radialReference,P(r)&&(t[i]=r={x1:r[0],y1:r[1],x2:r[2],y2:r[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===i&&h&&!L(r.gradientUnits)&&(r=B(o=r,f.getRadialAttr(h,o),{gradientUnits:"userSpaceOnUse"})),z(r,function(t,e){"id"!==e&&p.push(e,t)}),z(l,function(t){p.push(t)}),a[p=p.join(",")]?h=a[p].attr("id"):(r.id=h=O.uniqueKey(),a[p]=s=f.createElement(i).attr(r).add(f.defs),s.radAttr=o,s.stops=[],I(l,function(t){c=0===t[1].indexOf("rgba")?(c=O.color(t[1]),u=c.get("rgb"),c.get("a")):(u=t[1],1),t=f.createElement("stop").attr({offset:t[0],"stop-color":u,"stop-opacity":c}).add(s),s.stops.push(t)})),d="url("+f.url+"#"+h+")",n.setAttribute(e,d),n.gradient=p,t.toString=function(){return d})},applyTextOutline:function(t){var e,n,i,r,o,a=this.element;if(t=(t=-1!==t.indexOf("contrast")?t.replace(/contrast/g,this.renderer.getContrast(a.style.fill)):t).split(" "),n=t[t.length-1],(i=t[0])&&"none"!==i&&O.svg){for(this.fakeTS=!0,t=[].slice.call(a.getElementsByTagName("tspan")),this.ySetter=this.xSetter,i=i.replace(/(^[\d\.]+)(.*?)$/g,function(t,e,n){return 2*e+n}),o=t.length;o--;)"highcharts-text-outline"===(e=t[o]).getAttribute("class")&&_(t,a.removeChild(e));r=a.firstChild,I(t,function(t,e){0===e&&(t.setAttribute("x",a.getAttribute("x")),e=a.getAttribute("y"),t.setAttribute("y",e||0),null===e&&a.setAttribute("y",0)),t=t.cloneNode(1),M(t,{class:"highcharts-text-outline",fill:n,stroke:n,"stroke-width":i,"stroke-linejoin":"round"}),a.insertBefore(t,r)})}},attr:function(n,t,e,i){var r,o,a,s=this.element,l=this;return"string"==typeof n&&void 0!==t&&(r=n,(n={})[r]=t),"string"==typeof n?l=(this[n+"Getter"]||this._defaultGetter).call(this,n,s):(z(n,function(t,e){a=!1,i||U(this,e),this.symbolName&&/^(x|y|width|height|r|start|end|innerR|anchorX|anchorY)$/.test(e)&&(o||(this.symbolAttr(n),o=!0),a=!0),!this.rotation||"x"!==e&&"y"!==e||(this.doTransform=!0),a||((a=this[e+"Setter"]||this._defaultSetter).call(this,t,e,s),this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(e)&&this.updateShadows(e,t,a))},this),this.afterSetters()),e&&e(),l},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!==k(t,(this.attr("class")||"").split(" "))},removeClass:function(t){return this.attr("class",(this.attr("class")||"").replace(t,""))},symbolAttr:function(e){var n=this;I("x y r start end width height innerR anchorX anchorY".split(" "),function(t){n[t]=W(e[t],n[t])}),n.attr({d:n.renderer.symbols[n.symbolName](n.x,n.y,n.width,n.height,n)})},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),L(t.strokeWidth)&&(t.strokeWidth=e),z(t,function(t,e){i[e]!==t&&(i[e]=r[e]=t)}),r},css:function(t){var e,n,i=this.styles,r={},o=this.element,a="",s=!i,l=["textOutline","textOverflow","width"];return t&&t.color&&(t.fill=t.color),i&&z(t,function(t,e){t!==i[e]&&(r[e]=t,s=!0)}),s&&(i&&(t=N(i,r)),e=this.textWidth=t&&t.width&&"auto"!==t.width&&"text"===o.nodeName.toLowerCase()&&$(t.width),this.styles=t,e&&!Y&&this.renderer.forExport&&delete t.width,R&&!Y?T(this.element,t):(n=function(t,e){return"-"+e.toLowerCase()},z(t,function(t,e){-1===k(e,l)&&(a+=e.replace(/([A-Z])/g,n)+":"+t+";")}),a&&M(o,"style",a)),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 C&&"click"===t?(i.ontouchstart=function(t){n.touchEventFired=Date.now(),t.preventDefault(),e.call(i,t)},i.onclick=function(t){(-1===V.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)+")"),(L(n)||L(i))&&t.push("scale("+W(n,1)+" "+W(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={},l=this.renderer,u=l.alignedObjects;return t?(this.alignOptions=t,this.alignByTranslate=e,n&&!j(n)||(this.alignTo=i=n||"renderer",_(u,this),u.push(this),n=null)):(t=this.alignOptions,e=this.alignByTranslate,i=this.alignTo),n=W(n,l[i],l),i=t.align,l=t.verticalAlign,u=(n.x||0)+(t.x||0),r=(n.y||0)+(t.y||0),"right"===i?o=1:"center"===i&&(o=2),o&&(u+=(n.width-(t.width||0))/o),s[e?"translateX":"x"]=Math.round(u),"bottom"===l?a=1:"middle"===l&&(a=2),a&&(r+=(n.height-(t.height||0))/a),s[e?"translateY":"y"]=Math.round(r),this[this.placed?"animate":"attr"](s),this.placed=!0,this.alignAttr=s,this},getBBox:function(t,e){var n,i,r,o=this.renderer,a=this.element,s=this.styles,l=this.textStr,u=o.cache,c=o.cacheKeys,h=(e=W(e,this.rotation))*w,d=s&&s.fontSize;if(void 0!==l&&(-1===(r=l.toString()).indexOf("<")&&(r=r.replace(/[0-9]/g,"0")),r+=["",e||0,d,s&&s.width,s&&s.textOverflow].join()),!(n=r&&!t?u[r]:n)){if(a.namespaceURI===this.SVG_NS||o.forExport){try{(i=this.fakeTS&&function(e){I(a.querySelectorAll(".highcharts-text-outline"),function(t){t.style.display=e})})&&i("none"),n=a.getBBox?N({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight},i&&i("")}catch(t){}(!n||n.width<0)&&(n={width:0,height:0})}else n=this.htmlGetBBox();if(o.isSVG&&(t=n.width,o=n.height,s&&"11px"===s.fontSize&&17===Math.round(o)&&(n.height=o=14),e&&(n.width=Math.abs(o*Math.sin(h))+Math.abs(t*Math.cos(h)),n.height=Math.abs(o*Math.cos(h))+Math.abs(t*Math.sin(h)))),r&&0<n.height){for(;250<c.length;)delete u[c.shift()];u[r]||c.push(r),u[r]=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,(e=!t||t.handleZ||this.zIndex?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 n=this,t=n.element||{},e=n.renderer.isSVG&&"SPAN"===t.nodeName&&n.parentGroup,i=t.ownerSVGElement;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,U(n),n.clipPath&&i&&(I(i.querySelectorAll("[clip-path]"),function(t){-1<t.getAttribute("clip-path").indexOf(n.clipPath.element.id+")")&&t.removeAttribute("clip-path")}),n.clipPath=n.clipPath.destroy()),n.stops){for(i=0;i<n.stops.length;i++)n.stops[i]=n.stops[i].destroy();n.stops=null}for(n.safeRemoveChild(t),n.destroyShadows();e&&e.div&&0===e.div.childNodes.length;)t=e.parentGroup,n.safeRemoveChild(e.div),delete e.div,e=t;return n.alignTo&&_(n.renderer.alignedObjects,n),z(n,function(t,e){delete n[e]}),null},shadow:function(t,e,n){var i,r,o,a,s,l,u=[],c=this.element;if(t){if(!this.shadows){for(a=W(t.width,3),s=(t.opacity||.15)/a,l=this.parentInverted?"(-1,-1)":"("+W(t.offsetX,1)+", "+W(t.offsetY,1)+")",i=1;i<=a;i++)r=c.cloneNode(0),M(r,{isShadow:"true",stroke:t.color||"#000000","stroke-opacity":s*i,"stroke-width":o=2*a+1-2*i,transform:"translate"+l,fill:"none"}),n&&(M(r,"height",Math.max(M(r,"height")-o,0)),r.cutHeight=o),e?e.element.appendChild(r):c.parentNode.insertBefore(r,c),u.push(r);this.shadows=u}}else this.destroyShadows();return this},destroyShadows:function(){I(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=W(this[t],this.element?this.element.getAttribute(t):null,0),t=/^[\-0-9\.]+$/.test(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(e=(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(",")).length;e--;)t[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=D.createElementNS(this.SVG_NS,"title"),this.element.appendChild(e)),e.firstChild&&e.removeChild(e.firstChild),e.appendChild(D.createTextNode(String(W(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,l=this.added;if(L(t)&&(s.zIndex=t,this[e]===(t=+t)&&(l=!1),this[e]=t),l){for((t=this.zIndex)&&o&&(o.handleZ=!0),e=a.childNodes,i=0;i<e.length&&!n;i++)l=(o=e[i]).zIndex,o!==s&&($(l)>t||!L(t)&&L(l)||t<0&&!L(l)&&a!==r.box)&&(a.insertBefore(s,o),n=!0);n||a.appendChild(s)}return n},_defaultSetter:function(t,e,n){n.setAttribute(e,t)}}),Z.prototype.yGetter=Z.prototype.xGetter,Z.prototype.translateXSetter=Z.prototype.translateYSetter=Z.prototype.rotationSetter=Z.prototype.verticalAlignSetter=Z.prototype.scaleXSetter=Z.prototype.scaleYSetter=function(t,e){this[e]=t,this.doTransform=!0},Z.prototype["stroke-widthSetter"]=Z.prototype.strokeSetter=function(t,e,n){this[e]=t,this.stroke&&this["stroke-width"]?(Z.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===e&&0===t&&this.hasStroke&&(n.removeAttribute("stroke"),this.hasStroke=!1)},Lo=O.SVGRenderer=function(){this.init.apply(this,arguments)},N(Lo.prototype,{Element:Z,SVG_NS:G,init:function(t,e,n,i,r,o){var a,s=(i=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}).css(this.getStyle(i))).element;t.appendChild(s),-1===t.innerHTML.indexOf("xmlns")&&M(s,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=s,this.boxWrapper=i,this.alignedObjects=[],this.url=(E||H)&&D.getElementsByTagName("base").length?V.location.href.replace(/#.*?$/,"").replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(D.createTextNode("Created with Highcharts 5.0.14")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=r,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),E&&t.getBoundingClientRect&&((e=function(){T(t,{left:0,top:0}),a=t.getBoundingClientRect(),T(t,{left:Math.ceil(a.left)-a.left+"px",top:Math.ceil(a.top)-a.top+"px"})})(),this.unSubPixelFix=g(V,"resize",e))},getStyle:function(t){return this.style=N({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(),S(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:Ko,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 n=!Y&&this.forExport?this.measureSpanWidth(e.firstChild.data,t.styles):n},applyEllipsis:function(t,e,n,i){function r(t){e.removeChild(e.firstChild),t&&e.appendChild(D.createTextNode(t))}var o,a,s,l=t.rotation,u=0,c=n.length;if(t.rotation=0,s=i<this.getSpanWidth(t,e)){for(;u<=c;)a=Math.ceil((u+c)/2),r(n.substring(0,a)+""),o=this.getSpanWidth(t,e),u===c?u=c+1:i<o?c=a-1:u=a;0===c&&r("")}return t.rotation=l,s},buildText:function(d){function f(t){var e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:a||x.style.fontSize||12;return r?$(r):x.fontMetrics(e,t.getAttribute("style")?t:b).h}var p,g,m,y,v,b=d.element,x=this,w=x.forExport,t=W(d.textStr,"").toString(),e=-1!==t.indexOf("<"),n=b.childNodes,S=M(b,"x"),i=d.styles,_=d.textWidth,r=i&&i.lineHeight,o=i&&i.textOutline,C=i&&"ellipsis"===i.textOverflow,k=i&&"nowrap"===i.whiteSpace,a=i&&i.fontSize,s=n.length,i=_&&!d.added&&this.box,l=[t,C,k,r,o,a,_].join();if(l!==d.textCache){for(d.textCache=l;s--;)b.removeChild(n[s]);e||o||C||_||-1!==t.indexOf(" ")?(p=/<.*class="([^"]+)".*>/,g=/<.*style="([^"]+)".*>/,m=/<.*href="([^"]+)".*>/,i&&i.appendChild(b),t=e?t.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):[t],t=A(t,function(t){return""!==t}),I(t,function(t,u){var c,h=0;t=t.replace(/^\s+|\s+$/g,"").replace(/<span/g,"|||<span").replace(/<\/span>/g,"</span>|||"),c=t.split("|||"),I(c,function(t){if(""!==t||1===c.length){var e,n={},i=D.createElementNS(x.SVG_NS,"tspan");if(p.test(t)&&(o=t.match(p)[1],M(i,"class",o)),g.test(t)&&(e=t.match(g)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),M(i,"style",e)),m.test(t)&&!w&&(M(i,"onclick",'location.href="'+t.match(m)[1]+'"'),T(i,{cursor:"pointer"}))," "!==(t=(t.replace(/<(.|\n)*?>/g,"")||" ").replace(/&lt;/g,"<").replace(/&gt;/g,">"))){if(i.appendChild(D.createTextNode(t)),h?n.dx=0:u&&null!==S&&(n.x=S),M(i,n),b.appendChild(i),!h&&v&&(!Y&&w&&T(i,{display:"block"}),M(i,"dy",f(i))),_){var r,n=t.replace(/([^\^])-/g,"$1- ").split(" "),o=1<c.length||u||1<n.length&&!k,a=[],s=f(i),l=d.rotation;for(C&&(y=x.applyEllipsis(d,i,t,_));!C&&o&&(n.length||a.length);)d.rotation=0,r=x.getSpanWidth(d,i),t=_<r,void 0===y&&(y=t),t&&1!==n.length?(i.removeChild(i.firstChild),a.unshift(n.pop())):(n=a,a=[],n.length&&!k&&(i=D.createElementNS(G,"tspan"),M(i,{dy:s,x:S}),e&&M(i,"style",e),b.appendChild(i)),_<r&&(_=r)),n.length&&i.appendChild(D.createTextNode(n.join(" ").replace(/- /g,"-")));d.rotation=l}h++}}}),v=v||b.childNodes.length}),y&&d.attr("title",d.textStr),i&&i.removeChild(b),o&&d.applyTextOutline&&d.applyTextOutline(o)):b.appendChild(D.createTextNode(t.replace(/&lt;/g,"<").replace(/&gt;/g,">")))}},getContrast:function(t){return 510<(t=b(t).rgba)[0]+t[1]+t[2]?"#000000":"#FFFFFF"},button:function(t,e,n,i,r,o,a,s,l){var u,c,h,d,f=this.label(t,e,n,l,null,null,null,null,"button"),p=0;return f.attr(B({padding:8,r:2},r)),r=B({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},r),u=r.style,delete r.style,o=B(r,{fill:"#e6e6e6"},o),c=o.style,delete o.style,a=B(r,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},a),h=a.style,delete a.style,s=B(r,{style:{color:"#cccccc"}},s),d=s.style,delete s.style,g(f.element,R?"mouseover":"mouseenter",function(){3!==p&&f.setState(1)}),g(f.element,R?"mouseout":"mouseleave",function(){3!==p&&f.setState(p)}),f.setState=function(t){1!==t&&(f.state=p=t),f.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f.attr([r,o,a,s][t||0]).css([u,c,h,d][t||0])},f.attr(r).css(N({cursor:"default"},u)),f.on("click",function(t){3!==p&&i.call(f,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 P(t)?e.d=t:F(t)&&N(e,t),this.createElement("path").attr(e)},circle:function(t,e,n){return t=F(t)?t:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},arc:function(t,e,n,i,r,o){return F(t)?(e=(i=t).y,n=i.r,t=i.x):i={innerR:i,start:r,end:o},(t=this.symbol("arc",t,e,n,n,i)).r=n,t},rect:function(t,e,n,i,r,o){r=F(t)?t.r:r;var a=this.createElement("rect");return t=F(t)?t:void 0===t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(i,0)},void 0!==o&&(t.strokeWidth=o,t=a.crisp(t)),t.fill="none",r&&(t.r=r),a.rSetter=function(t,e,n){M(n,{rx:t,ry:t})},a.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:W(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&&N(o,{x:e,y:n,width:i,height:r}),(o=this.createElement("image").attr(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 a,s,l,u=this,c=/^url\((.*?)\)$/,h=c.test(t),d=!h&&(this.symbols[t]?t:"circle"),f=d&&this.symbols[d],p=L(e)&&f&&f.call(this.symbols,Math.round(e),Math.round(n),i,r,o);return f?((a=this.path(p)).attr("fill","none"),N(a,{symbolName:d,x:e,y:n,width:i,height:r}),o&&N(a,o)):h&&(s=t.match(c)[1],(a=this.image(s)).imgwidth=W(X[s]&&X[s].width,o&&o.width),a.imgheight=W(X[s]&&X[s].height,o&&o.height),l=function(){a.attr({width:a.width,height:a.height})},I(["width","height"],function(t){a[t+"Setter"]=function(t,e){var n={},i=this["img"+e],r="width"===e?"translateX":"translateY";this[e]=t,L(i)&&(this.element&&this.element.setAttribute(e,i),this.alignByTranslate||(n[r]=((this[e]||0)-i)/2,this.attr(n)))}}),L(e)&&a.attr({x:e,y:n}),a.isImg=!0,L(a.imgwidth)&&L(a.imgheight)?l():(a.attr({width:0,height:0}),x("img",{onload:function(){var t=v[u.chartIndex];0===this.width&&(T(this,{position:"absolute",top:"-999em"}),D.body.appendChild(this)),X[s]={width:this.width,height:this.height},a.imgwidth=this.width,a.imgheight=this.height,a.element&&l(),this.parentNode&&this.parentNode.removeChild(this),u.imgCount--,!u.imgCount&&t&&t.onload&&t.onload()},src:s}),this.imgCount++)),a},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=W(r.open,Math.abs(r.end-r.start-2*Math.PI)<.001);var u=Math.cos(o),c=Math.sin(o),h=Math.cos(l),l=Math.sin(l),a=["M",t+a*u,e+s*c,"A",a,s,0,r=r.end-o-Math.PI<.001?0:1,1,t+a*h,e+s*l];return L(n)&&a.push(i?"M":"L",t+n*h,e+n*l,"A",n,n,0,r,0,t+n*u,e+n*c),a.push(i?"":"Z"),a},callout:function(t,e,n,i,r){var o,a=Math.min(r&&r.r||0,n,i),s=a+6,l=r&&r.anchorX;return r=r&&r.anchorY,o=["M",t+a,e,"L",t+n-a,e,"C",t+n,e,t+n,e,t+n,e+a,"L",t+n,e+i-a,"C",t+n,e+i,t+n,e+i,t+n-a,e+i,"L",t+a,e+i,"C",t,e+i,t,e+i,t,e+i-a,"L",t,e+a,"C",t,e,t,e,t+a,e],l&&n<l?e+s<r&&r<e+i-s?o.splice(13,3,"L",t+n,r-6,t+n+6,r,t+n,r+6,t+n,e+i-a):o.splice(13,3,"L",t+n,i/2,l,r,t+n,i/2,t+n,e+i-a):l&&l<0?e+s<r&&r<e+i-s?o.splice(33,3,"L",t,r+6,t-6,r,t,r-6,t,e+a):o.splice(33,3,"L",t,i/2,l,r,t,i/2,t,e+a):r&&i<r&&t+s<l&&l<t+n-s?o.splice(23,3,"L",l+6,e+i,l,e+i+6,l-6,e+i,t+a,e+i):r&&r<0&&t+s<l&&l<t+n-s&&o.splice(3,3,"L",l-6,e,l,e-6,l+6,e,n-a,e),o}},clipRect:function(t,e,n,i){var r=O.uniqueKey(),o=this.createElement("clipPath").attr({id:r}).add(this.defs);return(t=this.rect(t,e,n,i,0).add(o)).id=r,t.clipPath=o,t.count=0,t},text:function(t,e,n,i){var r=!Y&&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){for(var i,r=n.getElementsByTagName("tspan"),o=n.getAttribute(e),a=0;a<r.length;a++)(i=r[a]).getAttribute(e)===o&&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,{h:e=(t=/px/.test(t)?$(t):/em/.test(t)?parseFloat(t)*(e?this.fontMetrics(null,e.parentNode).f:16):12)<24?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},rotCorr:function(t,e,n){var i=t;return e&&n&&(i=Math.max(t*Math.cos(e*w),4)),{x:-t/3*Math.sin(e*w),y:i}},label:function(t,e,n,i,r,o,a,s,l){var u,c,h,d,f,p,g,m,y,v,b,x,w,S=this,_=S.g("button"!==l&&"label"),C=_.text=S.text("",0,0,a).attr({zIndex:1}),k=0,M=3,T=0,D={},A=/^url\((.*?)\)$/.test(i),P=A;l&&_.addClass("highcharts-"+l),P=A,v=function(){return(m||0)%2/2},b=function(){var t=C.element.style,e={};c=(void 0===h||void 0===d||g)&&L(C.textStr)&&C.getBBox(),_.width=(h||c.width||0)+2*M+T,_.height=(d||c.height||0)+2*M,y=M+S.fontMetrics(t&&t.fontSize,C).b,P&&(u||(_.box=u=S.symbols[i]||A?S.symbol(i):S.rect(),u.addClass(("button"===l?"":"highcharts-label-box")+(l?" highcharts-"+l+"-box":"")),u.add(_),t=v(),e.x=t,e.y=(s?-y:0)+t),e.width=Math.round(_.width),e.height=Math.round(_.height),u.attr(N(e,D)),D={})},x=function(){var t=T+M,e=s?0:y;L(h)&&c&&("center"===g||"right"===g)&&(t+={center:.5,right:1}[g]*(h-c.width)),t===C.x&&e===C.y||(C.attr("x",t),void 0!==e&&C.attr("y",e)),C.x=t,C.y=e},w=function(t,e){u?u.attr(t,e):D[t]=e},_.onAdd=function(){C.add(_),_.attr({text:t||0===t?t:"",x:e,y:n}),u&&L(r)&&_.attr({anchorX:r,anchorY:o})},_.widthSetter=function(t){h=O.isNumber(t)?t:null},_.heightSetter=function(t){d=t},_["text-alignSetter"]=function(t){g=t},_.paddingSetter=function(t){L(t)&&t!==M&&(M=_.padding=t,x())},_.paddingLeftSetter=function(t){L(t)&&t!==T&&(T=t,x())},_.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==k&&(k=t,c&&_.attr({x:f}))},_.textSetter=function(t){void 0!==t&&C.textSetter(t),b(),x()},_["stroke-widthSetter"]=function(t,e){t&&(P=!0),m=this["stroke-width"]=t,w(e,t)},_.strokeSetter=_.fillSetter=_.rSetter=function(t,e){"r"!==e&&("fill"===e&&t&&(P=!0),_[e]=t),w(e,t)},_.anchorXSetter=function(t,e){r=_.anchorX=t,w(e,Math.round(t)-v()-f)},_.anchorYSetter=function(t,e){o=_.anchorY=t,w(e,t-p)},_.xSetter=function(t){_.x=t,k&&(t-=k*((h||c.width)+2*M)),f=Math.round(t),_.attr("translateX",f)},_.ySetter=function(t){p=_.y=Math.round(t),_.attr("translateY",p)};var E=_.css;return N(_,{css:function(e){var n;return e&&(n={},e=B(e),I(_.textProps,function(t){void 0!==e[t]&&(n[t]=e[t],delete e[t])}),C.css(n)),E.call(_,e)},getBBox:function(){return{width:c.width+2*M,height:c.height+2*M,x:c.x-M,y:c.y-M}},shadow:function(t){return t&&(b(),u&&u.shadow(t)),_},destroy:function(){q(_.element,"mouseenter"),q(_.element,"mouseleave"),C=C&&C.destroy(),u=u&&u.destroy(),Z.prototype.destroy.call(_),_=S=b=x=w=null}})}}),O.Renderer=Lo,K=t.attr,J=t.createElement,Q=t.css,tt=t.defined,et=t.each,nt=t.extend,it=t.isFirefox,rt=t.isMS,ot=t.isWebKit,at=t.pInt,ra=t.SVGRenderer,st=t.win,lt=t.wrap,nt(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=nt(this.styles,t),Q(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(){var e,n,i,r,t,o,a,s,l,u,c,h,d;this.added?(e=this.renderer,n=this.element,i=this.translateX||0,r=this.translateY||0,t=this.x||0,o=this.y||0,s={left:0,center:.5,right:1}[a=this.textAlign||"left"],l=this.styles,Q(n,{marginLeft:i,marginTop:r}),this.shadows&&et(this.shadows,function(t){Q(t,{marginLeft:i+1,marginTop:r+1})}),this.inverted&&et(n.childNodes,function(t){e.invertChild(t,n)}),"SPAN"===n.tagName&&(u=this.rotation,c=at(this.textWidth),h=l&&l.whiteSpace,(d=[u,a,n.innerHTML,this.textWidth,this.textAlign].join())!==this.cTT&&(l=e.fontMetrics(n.style.fontSize).b,tt(u)&&this.setSpanRotation(u,s,l),Q(n,{width:"",whiteSpace:h||"nowrap"}),n.offsetWidth>c&&/[ \-]/.test(n.textContent||n.innerText)&&Q(n,{width:c+"px",display:"block",whiteSpace:h||"normal"}),this.getSpanCorrection(n.offsetWidth,l,s,u,a)),Q(n,{left:t+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),ot&&(l=n.offsetHeight),this.cTT=d)):this.alignOnAdd=!0},setSpanRotation:function(t,e,n){var i={},r=rt?"-ms-transform":ot?"-webkit-transform":it?"MozTransform":st.opera?"-o-transform":"";i[r]=i.transform="rotate("+t+"deg)",i[r+(it?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",Q(this.element,i)},getSpanCorrection:function(t,e,n){this.xCorr=-t*n,this.yCorr=-e}}),nt(ra.prototype,{html:function(t,e,n){function a(e,r){et(["opacity","visibility"],function(t){lt(e,t+"Setter",function(t,e,n,i){t.call(this,e,n,i),r[n]=e})})}var s=this.createElement("span"),i=s.element,l=s.renderer,r=l.isSVG;return s.textSetter=function(t){t!==i.innerHTML&&delete this.bBox,i.innerHTML=this.textStr=t,s.htmlUpdateTransform()},r&&a(s,s.element.style),s.xSetter=s.ySetter=s.alignSetter=s.rotationSetter=function(t,e){s[e="align"===e?"textAlign":e]=t,s.htmlUpdateTransform()},s.attr({text:t,x:Math.round(e),y:Math.round(n)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:"absolute"}),i.style.whiteSpace="nowrap",s.css=s.htmlCss,r&&(s.add=function(t){var e,r=l.box.parentNode,o=[];if(this.parentGroup=t){if(!(e=t.div)){for(;t;)o.push(t),t=t.parentGroup;et(o.reverse(),function(n){var i,t=(t=K(n.element,"class"))&&{className:t};e=n.div=n.div||J("div",t,{position:"absolute",left:(n.translateX||0)+"px",top:(n.translateY||0)+"px",display:n.display,opacity:n.opacity,pointerEvents:n.styles&&n.styles.pointerEvents},e||r),i=e.style,nt(n,{classSetter:function(t){this.element.setAttribute("class",t),e.className=t},on:function(){return o[0].div&&s.on.apply({element:o[0].div},arguments),n},translateXSetter:function(t,e){i.left=t+"px",n[e]=t,n.doTransform=!0},translateYSetter:function(t,e){i.top=t+"px",n[e]=t,n.doTransform=!0}}),a(n,i)})}}else e=r;return e.appendChild(i),s.added=!0,s.alignOnAdd&&s.htmlUpdateTransform(),s}),s}}),ct=(ut=t).createElement,ht=ut.css,dt=ut.defined,ft=ut.deg2rad,pt=ut.discardElement,gt=ut.doc,mt=ut.each,yt=ut.erase,vt=ut.extend,qo=ut.extendClass,bt=ut.isArray,xt=ut.isNumber,wt=ut.isObject,Xo=ut.merge,Go=ut.noop,St=ut.pick,_t=ut.pInt,Ct=ut.SVGElement,kt=ut.SVGRenderer,Mt=ut.win,ut.svg||((Go={docMode8:gt&&8===gt.documentMode,init:function(t,e){var n=["<",e,' filled="f" stroked="f"'],i=["position: ","absolute",";"],r="div"===e;"shape"!==e&&!r||i.push("left:0;top:0;width:1px;height:1px;"),i.push("visibility: ",r?"hidden":"visible"),n.push(' style="',i.join(""),'"/>'),e&&(n=r||"span"===e||"img"===e?n.join(""):t.prepVML(n),this.element=ct(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:Ct.prototype.htmlUpdateTransform,setSpanRotation:function(){var t=this.rotation,e=Math.cos(t*ft),n=Math.sin(t*ft);ht(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,r){var o,a=i?Math.cos(i*ft):1,s=i?Math.sin(i*ft):0,l=St(this.elemHeight,this.element.offsetHeight);this.xCorr=a<0&&-t,this.yCorr=s<0&&-l,this.xCorr+=s*e*((o=a*s<0)?1-n:n),this.yCorr-=a*e*(i?o?n:1-n:1),r&&"left"!==r&&(this.xCorr-=t*n*(a<0?-1:1),i&&(this.yCorr-=l*n*(s<0?-1:1)),ht(this.element,{textAlign:r}))},pathToVML:function(t){for(var e=t.length,n=[];e--;)xt(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=t?(e=t.members,yt(e,n),e.push(n),n.destroyClip=function(){yt(e,n)},t.getCSS(n)):(n.destroyClip&&n.destroyClip(),{clip:n.docMode8?"inherit":"rect(auto)"}),n.css(t)},css:Ct.prototype.htmlCss,safeRemoveChild:function(t){t.parentNode&&pt(t)},destroy:function(){return this.destroyClip&&this.destroyClip(),Ct.prototype.destroy.apply(this)},on:function(t,e){return this.element["on"+t]=function(){var t=Mt.event;t.target=t.srcElement,e(t)},this},cutOffPath:function(t,e){var n;return 9!==(n=(t=t.split(/[ ,]/)).length)&&11!==n||(t[n-4]=t[n-2]=_t(t[n-2])-10*e),t.join(" ")},shadow:function(t,e,n){var i,r,o,a,s,l,u=[],c=this.element,h=this.renderer,d=c.style,f=c.path,p=f=f&&"string"!=typeof f.value?"x":f;if(t){for(s=St(t.width,3),l=(t.opacity||.15)/s,i=1;i<=3;i++)o=['<shape isShadow="true" strokeweight="',a=2*s+1-2*i,'" filled="false" path="',p=n?this.cutOffPath(f.value,.5+a):p,'" coordsize="10 10" style="',c.style.cssText,'" />'],r=ct(h.prepVML(o),null,{left:_t(d.left)+St(t.offsetX,1),top:_t(d.top)+St(t.offsetY,1)}),n&&(r.cutOff=1+a),o=['<stroke color="',t.color||"#000000",'" opacity="',l*i,'"/>'],ct(h.prepVML(o),null,null,r),e?e.element.appendChild(r):c.parentNode.insertBefore(r,c),u.push(r);this.shadows=u}return this},updateShadows:Go,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]||ct(this.renderer.prepVML(["<stroke/>"]),null,null,n))[e]=t||"solid",this[e]=t},dSetter:function(t,e,n){var i=this.shadows;if(this.d=(t=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){ct(this.renderer.prepVML(["<",e.split("-")[0],' opacity="',t,'"/>']),null,null,n)},opacitySetter:Go,rotationSetter:function(t,e,n){n=n.style,this[e]=n[e]=t,n.left=-Math.round(Math.sin(t*ft)+1)+"px",n.top=Math.round(Math.cos(t*ft))+"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,xt(t)&&(t+="px"),this.setAttr("strokeweight",t)},titleSetter:function(t,e){this.setAttr(e,t)},visibilitySetter:function(e,n,t){"inherit"===e&&(e="visible"),this.shadows&&mt(this.shadows,function(t){t.style[n]=e}),"DIV"===t.nodeName&&(e="hidden"===e?"-999em":0,this.docMode8||(t.style[n]=e?"visible":"hidden"),n="top"),t.style[n]=e},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}})["stroke-opacitySetter"]=Go["fill-opacitySetter"],ut.VMLElement=Go=qo(Ct,Go),Go.prototype.ySetter=Go.prototype.widthSetter=Go.prototype.heightSetter=Go.prototype.xSetter,Go={Element:Go,isIE8:-1<Mt.navigator.userAgent.indexOf("MSIE 8.0"),init:function(t,e,n){var i,r;if(this.alignedObjects=[],r=(i=this.createElement("div").css({position:"relative"})).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),!gt.namespaces.hcv){gt.namespaces.add("hcv","urn:schemas-microsoft-com:vml");try{gt.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "}catch(t){gt.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=wt(t);return vt(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=(o=t.element).nodeName,n=t.inverted,i=this.top-("shape"===e?o.offsetTop:0),r=this.left,o=r+this.width,a=i+this.height,i={clip:"rect("+Math.round(n?r:i)+"px,"+Math.round(n?a:o)+"px,"+Math.round(n?o:a)+"px,"+Math.round(n?i:r)+"px)"};return!n&&t.docMode8&&"DIV"===e&&vt(i,{width:o+"px",height:a+"px"}),i},updateClipping:function(){mt(r.members,function(t){t.element&&t.css(r.getCSS(t))})}})},color:function(t,e,n,i){var r,o,a,s,l,u,c,h,d,f,p,g,m,y,v,b,x,w,S,_,C,k=this,M=/^rgba/,T="none";return t&&t.linearGradient?a="gradient":t&&t.radialGradient&&(a="pattern"),a?(u=t.linearGradient||t.radialGradient,p="",t=t.stops,g=[],m=function(){o=['<fill colors="'+g.join(",")+'" opacity="',h,'" o:opacity2="',c,'" type="',a,'" ',p,'focus="100%" method="any" />'],ct(k.prepVML(o),null,null,e)},_=t[0],C=t[t.length-1],0<_[0]&&t.unshift([0,_[1]]),C[0]<1&&t.push([1,C[1]]),mt(t,function(t,e){l=M.test(t[1])?(r=ut.color(t[1]),s=r.get("rgb"),r.get("a")):(s=t[1],1),g.push(100*t[0]+"% "+s),e?(h=l,d=s):(c=l,f=s)}),"fill"===n?"gradient"===a?(n=u.x1||u[0]||0,t=u.y1||u[1]||0,_=u.x2||u[2]||0,u=u.y2||u[3]||0,p='angle="'+(90-180*Math.atan((u-t)/(_-n))/Math.PI)+'"',m()):(y=2*(T=u.r),v=2*T,b=u.cx,x=u.cy,w=e.radialReference,T=function(){w&&(S=i.getBBox(),b+=(w[0]-S.x)/S.width-.5,x+=(w[1]-S.y)/S.height-.5,y*=w[2]/S.width,v*=w[2]/S.height),p='src="'+ut.getOptions().global.VMLRadialGradientURL+'" size="'+y+","+v+'" origin="0.5,0.5" position="'+b+","+x+'" color2="'+f+'" ',m()},i.added?T():i.onAdd=T,T=d):T=s):T=M.test(t)&&"IMG"!==e.tagName?(r=ut.color(t),i[n+"-opacitySetter"](r.get("a"),n,e),r.get("rgb")):((T=e.getElementsByTagName(n)).length&&(T[0].opacity=1,T[0].type="solid"),t),T},prepVML:function(t){var e=this.isIE8;return t=t.join(""),t=e?-1===(t=t.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />')).indexOf('style="')?t.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):t.replace('style="','style="display:inline-block;behavior:url(#default#VML);'):t.replace("<","<hcv:")},text:kt.prototype.html,path:function(t){var e={coordsize:"10 10"};return bt(t)?e.d=t:wt(t)&&vt(e,t),this.createElement("shape").attr(e)},circle:function(t,e,n){var i=this.symbol("circle");return wt(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):kt.prototype.createElement.call(this,t)},invertChild:function(e,t){var n=this;t=t.style;var i="IMG"===e.tagName&&e.style;ht(e,{flip:"x",left:_t(t.width)-(i?_t(i.top):1),top:_t(t.height)-(i?_t(i.left):1),rotation:-90}),mt(e.childNodes,function(t){n.invertChild(t,e)})},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&&dt(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 kt.prototype.symbols[dt(r)&&r.r?"callout":"square"].call(0,t,e,n,i,r)}}},ut.VMLRenderer=qo=function(){this.init.apply(this,arguments)},qo.prototype=Xo(kt.prototype,Go),ut.Renderer=qo),kt.prototype.measureSpanWidth=function(t,e){var n=gt.createElement("span");return t=gt.createTextNode(t),n.appendChild(t),ht(n,e),this.box.appendChild(n),e=n.offsetWidth,pt(n),e},Ko=(Tt=t).color,Dt=Tt.each,At=Tt.getTZOffset,Pt=Tt.merge,Et=Tt.pick,Ot=Tt.win,Tt.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:Tt.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:Tt.isTouchDevice?25:10,backgroundColor:Ko("#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"}},Tt.setOptions=function(t){return Tt.defaultOptions=Pt(!0,Tt.defaultOptions,t),Bt(),Tt.defaultOptions},Tt.getOptions=function(){return Tt.defaultOptions},Tt.defaultPlotOptions=Tt.defaultOptions.plotOptions,Bt(),Lt=(Lo=t).correctFloat,It=Lo.defined,Nt=Lo.destroyObjectProperties,Rt=Lo.isNumber,Ft=Lo.merge,jt=Lo.pick,Ht=Lo.deg2rad,Lo.Tick=function(t,e,n,i){this.axis=t,this.pos=e,this.type=n||"",this.isNewLabel=this.isNew=!0,n||i||this.addLabel()},Lo.Tick.prototype={addLabel:function(){var t,e=this.axis,n=e.options,i=e.chart,r=e.categories,o=e.names,a=this.pos,s=n.labels,l=a===(c=e.tickPositions)[0],u=a===c[c.length-1],o=r?jt(r[a],o[a],a):a,r=this.label,c=c.info;e.isDatetimeAxis&&c&&(t=n.dateTimeLabelFormats[c.higherRanks[a]||c.unitName]),this.isFirst=l,this.isLast=u,n=e.labelFormatter.call({axis:e,chart:i,isFirst:l,isLast:u,dateTimeLabelFormat:t,value:e.isLog?Lt(e.lin2log(o)):o,pos:a}),It(r)?r&&r.attr({text:n}):(this.labelLength=(this.label=r=It(n)&&s.enabled?i.renderer.text(n,0,0,s.useHTML).css(Ft(s.style)).add(e.labelGroup):null)&&r.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,a=jt(n.labelLeft,Math.min(n.pos,o[3])),o=jt(n.labelRight,Math.max(n.pos+n.len,r-o[1])),s=this.label,l=this.rotation,u={left:0,center:.5,right:1}[n.labelAlign],c=s.getBBox().width,h=n.getSlotWidth(),d=h,f=1,p={};l?l<0&&i-u*c<a?e=Math.round(i/Math.cos(l*Ht)-a):0<l&&o<i+u*c&&(e=Math.round((r-i)/Math.cos(l*Ht))):(r=i+(1-u)*c,i-u*c<a?d=t.x+d*(1-u)-a:o<r&&(d=o-t.x+d*u,f=-1),(d=Math.min(h,d))<h&&"center"===n.labelAlign&&(t.x+=f*(h-d-u*(h-Math.min(c,d)))),(d<c||n.autoRotation&&(s.styles||{}).width)&&(e=d)),e&&(p.width=e,(n.options.labels.style||{}).textOverflow||(p.textOverflow="ellipsis"),s.css(p))},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,n,i,r,o,a,s){var l=this.axis,u=l.transA,c=l.reversed,h=l.staggerLines,d=l.tickRotCorr||{x:0,y:0},f=r.y;return It(f)||(f=0===l.side?n.rotation?-8:-n.getBBox().height:2===l.side?d.y+8:Math.cos(n.rotation*Ht)*(d.y-n.getBBox(!1,0).height/2)),t=t+r.x+d.x-(o&&i?o*u*(c?-1:1):0),e=e+f-(o&&!i?o*u*(c?1:-1):0),h&&(n=a/(s||1)%h,l.opposite&&(n=h-n-1),e+=l.labelOffset/h*n),{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,a=this.type,s=a?a+"Tick":"tick",l=i.tickSize(s),u=this.mark,c=!u,h=t.x;t=t.y;var d=jt(r[s+"Width"],!a&&i.isXAxis?1:0),r=r[s+"Color"];l&&(i.opposite&&(l[0]=-l[0]),c&&(this.mark=u=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(i.axisGroup),u.attr({stroke:r,"stroke-width":d})),u[c?"attr":"animate"]({d:this.getMarkPath(h,t,l[0],u.strokeWidth()*n,i.horiz,o),opacity:e}))},renderLabel:function(t,e,n,i){var r=this.axis,o=r.horiz,a=r.options,s=this.label,l=a.labels,u=l.step,c=r.tickmarkOffset,h=!0,d=t.x;t=t.y,s&&Rt(d)&&(s.xy=t=this.getLabelPosition(d,t,s,o,l,c,i,u),this.isFirst&&!this.isLast&&!jt(a.showFirstLabel,1)||this.isLast&&!this.isFirst&&!jt(a.showLastLabel,1)?h=!1:!o||r.isRadial||l.step||l.rotation||e||0===n||this.handleOverflow(t),(h=u&&i%u?!1:h)&&Rt(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0),this.isNew=!1)},render:function(t,e,n){var i=(s=this.axis).horiz,r=this.getPosition(i,this.pos,s.tickmarkOffset,e),o=r.x,a=r.y,s=i&&o===s.pos+s.len||!i&&a===s.pos?-1:1;n=jt(n,1),this.isActive=!0,this.renderGridLine(e,n,s),this.renderMark(r,n,s),this.renderLabel(r,e,n,t)},destroy:function(){Nt(this,this.axis)}};var zt,Wt,$t,qt,Ut,Yt,Gt,Xt,Vt,Zt,Kt,Jt,Qt,te,ee,ne,ie,re,oe,ae,se,le,ue,ce,he,de,fe,pe,ge,me,ye,ve,be,xe,we,Se,_e,Ce,ke,Me,Te,De,Ae,Pe,Ee,Oe,Le,Ie,Ne,Re,Fe,je,He,Be,ze,We,$e,qe,Ue,Ye,Ge,Xe,Ve,Ze,Ke,Je,Qe,tn,en,nn,rn,on,an,sn,ln,un,cn,hn,dn,fn,pn,gn,mn,yn,vn,bn,xn,wn,Sn,_n,Cn,kn,Mn,Tn,Dn,An,Pn,En,On,Ln,In,Nn,Rn,Fn,jn,Hn,Bn,zn,Wn,$n,qn,Un,Yn,Gn,Xn,Vn,Zn,Kn,Jn,Qn,ti,ei,ni,ii,ri,oi,ai,si,li,ui,ci,hi,di,fi,pi,gi,mi,yi,vi,bi,xi,wi,Si,_i,Ci,ki,Mi,Ti,Di,Ai,Pi,Ei,Oi,Li,Ii,Ni,Ri,Fi,ji,Hi,Bi,zi,Wi,$i,qi,Ui,Yi,Gi,Xi,Vi,Zi,Ki,Ji,Qi,tr,er,nr,ir,rr,or,ar,sr,lr,ur,cr,hr,dr,fr,pr,gr,mr,yr,vr,br,xr,wr,Sr,_r,Cr,kr,Mr,Tr,Dr,Ar,Pr,Er,Or,Lr,Ir,Nr,Rr,Fr,jr,Hr,Br,zr,Wr,$r,qr,Ur,Yr,Gr,Xr,Vr,Zr,Kr,Jr,Qr,to,eo,no,io,ro,oo,ao,so,lo,uo,co,ho,fo,po,go,mo,yo,vo,bo,xo,wo,So,_o,Co,ko,Mo,To,Do,Ao,Po,Eo,Oo,Lo,Io,No,Ro,Fo,jo,Ho,Bo,zo,Wo,$o,qo,Uo,Yo,Go,Xo,Vo,Zo,Ko,Jo,Qo,ta,ea,na,ia,ra=(Wt=(zt=t).addEvent,$t=zt.animObject,qt=zt.arrayMax,Ut=zt.arrayMin,Yt=zt.color,Gt=zt.correctFloat,Xt=zt.defaultOptions,Vt=zt.defined,Zt=zt.deg2rad,Kt=zt.destroyObjectProperties,Jt=zt.each,Qt=zt.extend,te=zt.fireEvent,ee=zt.format,ne=zt.getMagnitude,ie=zt.grep,re=zt.inArray,oe=zt.isArray,ae=zt.isNumber,se=zt.isString,le=zt.merge,ue=zt.normalizeTickInterval,ce=zt.objectEach,he=zt.pick,de=zt.removeEvent,fe=zt.splat,pe=zt.syncTimeout,ge=zt.Tick,zt.extend(oa.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 zt.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,e){var n=e.isX,i=this;i.chart=t,i.horiz=t.inverted&&!i.isZAxis?!n:n,i.isXAxis=n,i.coll=i.coll||(n?"xAxis":"yAxis"),i.opposite=e.opposite,i.side=e.side||(i.horiz?i.opposite?0:2:i.opposite?1:3),i.setOptions(e);var r=this.options,o=r.type;i.labelFormatter=r.labels.formatter||i.defaultLabelFormatter,i.userOptions=e,i.minPixelPadding=0,i.reversed=r.reversed,i.visible=!1!==r.visible,i.zoomEnabled=!1!==r.zoomEnabled,i.hasNames="category"===o||!0===r.categories,i.categories=r.categories||i.hasNames,i.names=i.names||[],i.plotLinesAndBandsGroups={},i.isLog="logarithmic"===o,i.isDatetimeAxis="datetime"===o,i.positiveValuesOnly=i.isLog&&!i.allowNegativeLog,i.isLinked=Vt(r.linkedTo),i.ticks={},i.labelEdge=[],i.minorTicks={},i.plotLinesAndBands=[],i.alternateBands={},i.len=0,i.minRange=i.userMinRange=r.minRange||r.maxZoom,i.range=r.range,i.offset=r.offset||0,i.stacks={},i.oldStacks={},i.stacksTouched=0,i.max=null,i.min=null,i.crosshair=he(r.crosshair,fe(t.options.tooltip.crosshairs)[n?0:1],!1),e=i.options.events,-1===re(i,t.axes)&&(n?t.axes.splice(t.xAxis.length,0,i):t.axes.push(i),t[i.coll].push(i)),i.series=i.series||[],t.inverted&&!i.isZAxis&&n&&void 0===i.reversed&&(i.reversed=!0),ce(e,function(t,e){Wt(i,e,t)}),i.lin2log=r.linearToLogConverter||i.lin2log,i.isLog&&(i.val2lin=i.log2lin,i.lin2val=i.lin2log)},setOptions:function(t){this.options=le(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],le(Xt[this.coll],t))},defaultLabelFormatter:function(){var t,e=this.axis,n=this.value,i=e.categories,r=this.dateTimeLabelFormat,o=(a=Xt.lang).numericSymbols,a=a.numericSymbolMagnitude||1e3,s=o&&o.length,l=e.options.labels.format,e=e.isLog?Math.abs(n):e.tickInterval;if(l)t=ee(l,this);else if(i)t=n;else if(r)t=zt.dateFormat(r,n);else if(s&&1e3<=e)for(;s--&&void 0===t;)(i=Math.pow(a,s+1))<=e&&0==10*n%i&&null!==o[s]&&0!==n&&(t=zt.numberFormat(n/i,-1)+o[s]);return t=void 0===t?1e4<=Math.abs(n)?zt.numberFormat(n,-1):zt.numberFormat(n,-1,void 0,""):t},getSeriesExtremes:function(){var r=this,o=r.chart;r.hasVisibleSeries=!1,r.dataMin=r.dataMax=r.threshold=null,r.softThreshold=!r.isXAxis,r.buildStacks&&r.buildStacks(),Jt(r.series,function(t){var e,n,i;!t.visible&&o.options.chart.ignoreHiddenSeries||(n=(e=t.options).threshold,r.hasVisibleSeries=!0,r.positiveValuesOnly&&n<=0&&(n=null),r.isXAxis?(e=t.xData).length&&(t=Ut(e),ae(t)||t instanceof Date||(e=ie(e,function(t){return ae(t)}),t=Ut(e)),r.dataMin=Math.min(he(r.dataMin,e[0]),t),r.dataMax=Math.max(he(r.dataMax,e[0]),qt(e))):(t.getExtremes(),i=t.dataMax,t=t.dataMin,Vt(t)&&Vt(i)&&(r.dataMin=Math.min(he(r.dataMin,t),t),r.dataMax=Math.max(he(r.dataMax,i),i)),Vt(n)&&(r.threshold=n),e.softThreshold&&!r.positiveValuesOnly||(r.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&&(l-=(s*=-1)*(a.sector||a.len)),e?(t=(t*s+l-c)/u+i,r&&(t=a.lin2val(t))):t=s*((t=r?a.val2lin(t):t)-i)*u+l+s*c+(ae(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){function o(t,e,n){return(t<e||n<t)&&(i?t=Math.min(Math.max(e,t),n):s=!0),t}var a,s,l=this.chart,u=this.left,c=this.top,h=n&&l.oldChartHeight||l.chartHeight,d=n&&l.oldChartWidth||l.chartWidth,f=this.transB;return r=he(r,this.translate(t,null,null,n)),t=n=Math.round(r+f),f=a=Math.round(h-r-f),ae(r)?this.horiz?(f=c,a=h-this.bottom,t=n=o(t,u,u+this.width)):(t=u,n=d-this.right,f=a=o(f,c,c+this.height)):s=!0,s&&!i?null:l.renderer.crispLine(["M",t,f,"L",n,a],e||1)},getLinearTickPositions:function(t,e,n){var i,r=Gt(Math.floor(e/t)*t);n=Gt(Math.ceil(n/t)*t);var o=[];if(this.single)return[e];for(e=r;e<=n&&(o.push(e),(e=Gt(e+t))!==i);)i=e;return o},getMinorTickPositions:function(){var i=this,t=i.options,e=i.tickPositions,r=i.minorTickInterval,o=[],n=i.pointRangePadding||0,a=i.min-n,s=(n=i.max+n)-a;if(s&&s/r<i.len/3)if(i.isLog)Jt(this.paddedTicks,function(t,e,n){e&&o.push.apply(o,i.getLogTickPositions(r,n[e-1],n[e],!0))});else if(i.isDatetimeAxis&&"auto"===t.minorTickInterval)o=o.concat(i.getTimeTicks(i.normalizeTimeTickInterval(r),a,n,t.startOfWeek));else for(t=a+(e[0]-a)%r;t<=n&&t!==o[0];t+=r)o.push(t);return 0!==o.length&&i.trimTicks(o),o},adjustForMinRange:function(){var t,e,n,i,r,o,a,s=this.options,l=this.min,u=this.max;this.isXAxis&&void 0===this.minRange&&!this.isLog&&(Vt(s.min)||Vt(s.max)?this.minRange=null:(Jt(this.series,function(t){for(o=t.xData,i=t.xIncrement?1:o.length-1;0<i;i--)r=o[i]-o[i-1],(void 0===n||r<n)&&(n=r)}),this.minRange=Math.min(5*n,this.dataMax-this.dataMin))),u-l<this.minRange&&(e=this.dataMax-this.dataMin>=this.minRange,t=[l-(t=((a=this.minRange)-u+l)/2),he(s.min,l-t)],e&&(t[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),u=[(l=qt(t))+a,he(s.max,l+a)],e&&(u[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),(u=Ut(u))-l<a&&(t[0]=u-a,t[1]=he(s.min,u-a),l=qt(t))),this.min=l,this.max=u},getClosest:function(){var i;return this.categories?i=1:Jt(this.series,function(t){var e=t.closestPointRange,n=t.visible||!t.chart.options.chart.ignoreHiddenSeries;!t.noSharedTooltip&&Vt(e)&&n&&(i=Vt(i)?Math.min(i,e):e)}),i},nameToX:function(t){var e,n=oe(this.categories),i=n?this.categories:this.names,r=t.options.x;return t.series.requireSorting=!1,-1===(r=!Vt(r)?!1===this.options.uniqueNames?t.series.autoIncrement():re(t.name,i):r)?n||(e=i.length):e=r,void 0!==e&&(this.names[e]=t.name),e},updateNames:function(){var r=this;0<this.names.length&&(this.names.length=0,this.minRange=this.userMinRange,Jt(this.series||[],function(i){i.xIncrement=null,i.points&&!i.isDirtyData||(i.processData(),i.generatePoints()),Jt(i.points,function(t,e){var n;!t.options||void 0!==(n=r.nameToX(t))&&n!==t.x&&(t.x=n,i.xData[e]=n)})}))},setAxisTranslation:function(t){var n,i=this,e=i.max-i.min,r=i.axisPointRange||0,o=0,a=0,s=i.linkedParent,l=!!i.categories,u=i.transA,c=i.isXAxis;(c||l||r)&&(n=i.getClosest(),s?(o=s.minPointOffset,a=s.pointRangePadding):Jt(i.series,function(t){var e=l?1:c?he(t.options.pointRange,n,0):i.axisPointRange||0;t=t.options.pointPlacement,r=Math.max(r,e),i.single||(o=Math.max(o,se(t)?0:e/2),a=Math.max(a,"on"===t?0:e))}),s=i.ordinalSlope&&n?i.ordinalSlope/n:1,i.minPointOffset=o*=s,i.pointRangePadding=a*=s,i.pointRange=Math.min(r,e),c&&(i.closestPointRange=n)),t&&(i.oldTransA=u),i.translationSlope=i.transA=u=i.options.staticScale||i.len/(e+a||1),i.transB=i.horiz?i.left:i.bottom,i.minPixelPadding=u*o},minFromRange:function(){return this.max-this.range},setTickInterval:function(t){var e,n,i,r,o=this,a=o.chart,s=o.options,l=o.isLog,u=o.log2lin,c=o.isDatetimeAxis,h=o.isXAxis,d=o.isLinked,f=s.maxPadding,p=s.minPadding,g=s.tickInterval,m=s.tickPixelInterval,y=o.categories,v=o.threshold,b=o.softThreshold;c||y||d||this.getTickAmount(),i=he(o.userMin,s.min),r=he(o.userMax,s.max),d?(o.linkedParent=a[o.coll][s.linkedTo],a=o.linkedParent.getExtremes(),o.min=he(a.min,a.dataMin),o.max=he(a.max,a.dataMax),s.type!==o.linkedParent.options.type&&zt.error(11,1)):(!b&&Vt(v)&&(o.dataMin>=v?(e=v,p=0):o.dataMax<=v&&(n=v,f=0)),o.min=he(i,e,o.dataMin),o.max=he(r,n,o.dataMax)),l&&(o.positiveValuesOnly&&!t&&Math.min(o.min,he(o.dataMin,o.min))<=0&&zt.error(10,1),o.min=Gt(u(o.min),15),o.max=Gt(u(o.max),15)),o.range&&Vt(o.max)&&(o.userMin=o.min=i=Math.max(o.dataMin,o.minFromRange()),o.userMax=r=o.max,o.range=null),te(o,"foundExtremes"),o.beforePadding&&o.beforePadding(),o.adjustForMinRange(),!(y||o.axisPointRange||o.usePercentage||d)&&Vt(o.min)&&Vt(o.max)&&(u=o.max-o.min)&&(!Vt(i)&&p&&(o.min-=u*p),!Vt(r)&&f&&(o.max+=u*f)),ae(s.softMin)&&(o.min=Math.min(o.min,s.softMin)),ae(s.softMax)&&(o.max=Math.max(o.max,s.softMax)),ae(s.floor)&&(o.min=Math.max(o.min,s.floor)),ae(s.ceiling)&&(o.max=Math.min(o.max,s.ceiling)),b&&Vt(o.dataMin)&&(v=v||0,!Vt(i)&&o.min<v&&o.dataMin>=v?o.min=v:!Vt(r)&&o.max>v&&o.dataMax<=v&&(o.max=v)),o.tickInterval=o.min===o.max||void 0===o.min||void 0===o.max?1:d&&!g&&m===o.linkedParent.options.tickPixelInterval?g=o.linkedParent.tickInterval:he(g,this.tickAmount?(o.max-o.min)/Math.max(this.tickAmount-1,1):void 0,y?1:(o.max-o.min)*m/Math.max(o.len,m)),h&&!t&&Jt(o.series,function(t){t.processData(o.min!==o.oldMin||o.max!==o.oldMax)}),o.setAxisTranslation(!0),o.beforeSetTickPositions&&o.beforeSetTickPositions(),o.postProcessTickInterval&&(o.tickInterval=o.postProcessTickInterval(o.tickInterval)),o.pointRange&&!g&&(o.tickInterval=Math.max(o.pointRange,o.tickInterval)),t=he(s.minTickInterval,o.isDatetimeAxis&&o.closestPointRange),!g&&o.tickInterval<t&&(o.tickInterval=t),c||l||g||(o.tickInterval=ue(o.tickInterval,null,ne(o.tickInterval),he(s.allowDecimals,!(.5<o.tickInterval&&o.tickInterval<5&&1e3<o.max&&o.max<9999)),!!this.tickAmount)),this.tickAmount||(o.tickInterval=o.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&&Vt(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)).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&&t.length<2&&(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&&Vt(i)&&t.push((r+i)/2)}},alignToOthers:function(){var n,i={},t=this.options;return!1===this.chart.options.chart.alignTicks||!1===t.alignTicks||this.isLog||Jt(this.chart[this.coll],function(t){var e=t.options,e=[t.horiz?e.left:e.top,e.width,e.height,e.pane].join();t.series.length&&(i[e]?n=!0:i[e]=1)}),n},getTickAmount:function(){var t=this.options,e=t.tickAmount,n=t.tickPixelInterval;(e=!(e=!Vt(t.tickInterval)&&this.len<n&&!this.isRadial&&!this.isLog&&t.startOnTick&&t.endOnTick?2:e)&&this.alignToOthers()?Math.ceil(this.len/n)+1:e)<4&&(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(Gt(e[e.length-1]+t));this.transA*=(r-1)/(n-1),this.max=e[e.length-1]}else n<r&&(this.tickInterval*=2,this.setTickPositions());if(Vt(i)){for(t=n=e.length;t--;)(3===i&&1==t%2||i<=2&&0<t&&t<n-1)&&e.splice(t,1);this.finalTickAmt=void 0}},setScale:function(){var e,t;this.oldMin=this.min,this.oldMax=this.max,this.oldAxisLength=this.len,this.setAxisSize(),t=this.len!==this.oldAxisLength,Jt(this.series,function(t){(t.isDirtyData||t.isDirty||t.xAxis.isDirty)&&(e=!0)}),t||e||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=t||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=he(n,!0),Jt(o.series,function(t){delete t.kdTree}),r=Qt(r,{min:t,max:e}),te(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,he(r.min,n)),r=Math.max(i,he(r.max,i));return t===this.min&&e===this.max||(this.allowZoomOutside||(!Vt(n)||r<(t=t<o?o:t)&&(t=r),!Vt(i)||r<(e=e<o?o:e)&&(e=r)),this.displayBtn=void 0!==t||void 0!==e,this.setExtremes(t,e,!1,void 0,{trigger:"zoom"})),!0},setAxisSize:function(){var t=this.chart,e=(a=this.options).offsets||[0,0,0,0],n=this.horiz,i=this.width=Math.round(zt.relativeLength(he(a.width,t.plotWidth-e[3]+e[1]),t.plotWidth)),r=this.height=Math.round(zt.relativeLength(he(a.height,t.plotHeight-e[0]+e[2]),t.plotHeight)),o=this.top=Math.round(zt.relativeLength(he(a.top,t.plotTop+e[0]),t.plotHeight,t.plotTop)),a=this.left=Math.round(zt.relativeLength(he(a.left,t.plotLeft+e[3]),t.plotWidth,t.plotLeft));this.bottom=t.chartHeight-r-o,this.right=t.chartWidth-i-a,this.len=Math.max(n?i:r,0),this.pos=n?a:o},getExtremes:function(){var t=this.isLog,e=this.lin2log;return{min:t?Gt(e(this.min)):this.min,max:t?Gt(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?t=i:e<t&&(t=e),this.translate(t,0,1,0,1)},autoLabelAlign:function(t){return 15<(t=(he(t,0)-90*this.side+720)%360)&&t<165?"right":195<t&&t<345?"left":"center"},tickSize:function(t){var e=this.options,n=e[t+"Length"],i=he(e[t+"Width"],"tick"===t&&this.isXAxis?1:0);if(i&&n)return[n="inside"===e[t+"Position"]?-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(){function n(t){return(t=1<(t/=l||1)?Math.ceil(t):1)*a}var i,r,t,e=this.options.labels,o=this.horiz,a=this.tickInterval,s=a,l=this.len/(((this.categories?1:0)+this.max-this.min)/a),u=e.rotation,c=this.labelMetrics(),h=Number.MAX_VALUE;return o?(t=!e.staggerLines&&!e.step&&(Vt(u)?[u]:l<he(e.autoRotationLimit,80)&&e.autoRotation))&&Jt(t,function(t){var e;!(t===u||t&&-90<=t&&t<=90)||(e=(r=n(Math.abs(c.h/Math.sin(Zt*t))))+Math.abs(t/360))<h&&(h=e,i=t,s=r)}):e.step||(s=n(c.h)),this.autoRotation=t,this.labelRotation=he(i,u),s},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&&(n.step||0)<2&&!n.rotation&&(this.staggerLines||1)*this.len/i||!e&&(r&&r-t.spacing[3]||.33*t.chartWidth)},renderUnsquish:function(){var n,t,e,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))),h={},d=this.labelMetrics(),f=s.style&&s.style.textOverflow,p=0;if(se(s.rotation)||(h.rotation=s.rotation||0),Jt(o,function(t){(t=a[t])&&t.labelLength>p&&(p=t.labelLength)}),this.maxLabelLength=p,this.autoRotation)c<p&&p>d.h?h.rotation=this.labelRotation:this.labelRotation=0;else if(u&&(n={width:c+"px"},!f))for(n.textOverflow="clip",t=o.length;!l&&t--;)e=o[t],(c=a[e].label)&&(c.styles&&"ellipsis"===c.styles.textOverflow?c.css({textOverflow:"clip"}):a[e].labelLength>u&&c.css({width:u+"px"}),c.getBBox().height>this.len/o.length-(d.h-d.f)&&(c.specCss={textOverflow:"ellipsis"}));h.rotation&&(n={width:(p>.5*i.chartHeight?.33*i.chartHeight:i.chartHeight)+"px"},f||(n.textOverflow="ellipsis")),(this.labelAlign=s.align||this.autoLabelAlign(this.labelRotation))&&(h.align=this.labelAlign),Jt(o,function(t){var e=(t=a[t])&&t.label;e&&(e.attr(h),n&&e.css(le(n,e.specCss)),delete e.specCss,t.rotation=h.rotation)}),this.tickRotCorr=r.rotCorr(d.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||Vt(this.min)&&Vt(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 ge(this,t)},getOffset:function(){var t,e,n=this,i=(m=n.chart).renderer,r=n.options,o=n.tickPositions,a=n.ticks,s=n.horiz,l=n.side,u=m.inverted&&!n.isZAxis?[1,0,3,2][l]:l,c=0,h=0,d=r.title,f=r.labels,p=0,g=m.axisOffset,m=m.clipOffset,y=[-1,1,1,-1][l],v=r.className,b=n.axisParent,x=this.tickSize("tick"),w=n.hasData();n.showAxis=t=w||he(r.showEmpty,!0),n.staggerLines=n.horiz&&f.staggerLines,n.axisGroup||(n.gridGroup=i.g("grid").attr({zIndex:r.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(v||"")).add(b),n.axisGroup=i.g("axis").attr({zIndex:r.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(v||"")).add(b),n.labelGroup=i.g("axis-labels").attr({zIndex:f.zIndex||7}).addClass("highcharts-"+n.coll.toLowerCase()+"-labels "+(v||"")).add(b)),w||n.isLinked?(Jt(o,function(t,e){n.generateTick(t,e)}),n.renderUnsquish(),!1===f.reserveSpace||0!==l&&2!==l&&{1:"left",3:"right"}[l]!==n.labelAlign&&"center"!==n.labelAlign||Jt(o,function(t){p=Math.max(a[t].getLabelSize(),p)}),n.staggerLines&&(p*=n.staggerLines,n.labelOffset=p*(n.opposite?-1:1))):ce(a,function(t,e){t.destroy(),delete a[e]}),d&&d.text&&!1!==d.enabled&&(n.addTitle(t),t&&!1!==d.reserveSpace&&(n.titleOffset=c=n.axisTitle.getBBox()[s?"height":"width"],e=d.offset,h=Vt(e)?0:he(d.margin,s?5:10))),n.renderLine(),n.offset=y*he(r.offset,g[l]),n.tickRotCorr=n.tickRotCorr||{x:0,y:0},i=0===l?-n.labelMetrics().h:2===l?n.tickRotCorr.y:0,h=Math.abs(p)+h,p&&(h=h-i+y*(s?he(f.y,n.tickRotCorr.y+8*y):f.x)),n.axisTitleMargin=he(e,h),g[l]=Math.max(g[l],n.axisTitleMargin+c+y*n.offset,h,w&&o.length&&x?x[0]+y*n.offset:0),o=2*Math.floor(n.axisLine.strokeWidth()/2),0<r.offset&&(o-=2*r.offset),m[u]=Math.max(m[u]||o,o)},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&&ae(this.oldMin),n=this.minorTicks;n[t]||(n[t]=new ge(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&&ae(this.oldMin);(!n||t>=this.min&&t<=this.max)&&(i[t]||(i[t]=new ge(this,t)),r&&i[t].isNew&&i[t].render(e,!0,.1),i[t].render(e))},render:function(){var n,i,r=this,o=r.chart,t=r.options,a=r.isLog,s=r.lin2log,e=r.isLinked,l=r.tickPositions,u=r.axisTitle,c=r.ticks,h=r.minorTicks,d=r.alternateBands,f=t.stackLabels,p=t.alternateGridColor,g=r.tickmarkOffset,m=r.axisLine,y=r.showAxis,v=$t(o.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,Jt([c,h,d],function(t){ce(t,function(t){t.isActive=!1})}),(r.hasData()||e)&&(r.minorTickInterval&&!r.categories&&Jt(r.getMinorTickPositions(),function(t){r.renderMinorTick(t)}),l.length&&(Jt(l,function(t,e){r.renderTick(t,e)}),g&&(0===r.min||r.single)&&(c[-1]||(c[-1]=new ge(r,-1,null,!0)),c[-1].render(-1))),p&&Jt(l,function(t,e){i=void 0!==l[e+1]?l[e+1]+g:r.max-g,0==e%2&&t<r.max&&i<=r.max+(o.polar?-g:g)&&(d[t]||(d[t]=new zt.PlotLineOrBand(r)),n=t+g,d[t].options={from:a?s(n):n,to:a?s(i):i,color:p},d[t].render(),d[t].isActive=!0)}),r._addedPlotLB||(Jt((t.plotLines||[]).concat(t.plotBands||[]),function(t){r.addPlotBandOrLine(t)}),r._addedPlotLB=!0)),Jt([c,h,d],function(t){var e,n=[],i=v.duration;ce(t,function(t,e){t.isActive||(t.render(e,!1,0),t.isActive=!1,n.push(e))}),pe(function(){for(e=n.length;e--;)t[n[e]]&&!t[n[e]].isActive&&(t[n[e]].destroy(),delete t[n[e]])},t!==d&&o.hasRendered&&i?i:0)}),m&&(m[m.isPlaced?"animate":"attr"]({d:this.getLinePath(m.strokeWidth())}),m.isPlaced=!0,m[y?"show":"hide"](!0)),u&&y&&(t=r.getTitlePosition(),ae(t.y)?(u[u.isNew?"attr":"animate"](t),u.isNew=!1):(u.attr("y",-9999),u.isNew=!0)),f&&f.enabled&&r.renderStackTotals(),r.isDirty=!1},redraw:function(){this.visible&&(this.render(),Jt(this.plotLinesAndBands,function(t){t.render()})),Jt(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||de(n),ce(i,function(t,e){Kt(t),i[e]=null}),Jt([n.ticks,n.minorTicks,n.alternateBands],function(t){Kt(t)}),r)for(t=r.length;t--;)r[t].destroy();for(e in Jt("stackTotalGroup axisLine axisTitle axisGroup gridGroup labelGroup cross".split(" "),function(t){n[t]&&(n[t]=n[t].destroy())}),n.plotLinesAndBandsGroups)n.plotLinesAndBandsGroups[e]=n.plotLinesAndBandsGroups[e].destroy();ce(n,function(t,e){-1===re(e,n.keepProps)&&delete n[e]})},drawCrosshair:function(t,e){var n,i,r=this.crosshair,o=he(r.snap,!0),a=this.cross;t=t||this.cross&&this.cross.e,this.crosshair&&!1!==(Vt(e)||!o)?(o?Vt(e)&&(i=this.isXAxis?e.plotX:this.len-e.plotY):i=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),Vt(i)&&(n=this.getPlotLinePath(e&&(this.isXAxis?e.x:he(e.stackY,e.y)),null,null,null,i)||null),Vt(n)?(e=this.categories&&!this.isRadial,a||(this.cross=a=this.chart.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(e?"category ":"thin ")+r.className).attr({zIndex:he(r.zIndex,2)}).add(),a.attr({stroke:r.color||(e?Yt("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":he(r.width,1)}),r.dashStyle&&a.attr({dashstyle:r.dashStyle})),a.show().attr({d:n}),e&&!r.width&&a.attr({"stroke-width":this.transA}),this.cross.e=t):this.hideCrosshair()):this.hideCrosshair()},hideCrosshair:function(){this.cross&&this.cross.hide()}}),zt.Axis=oa);function oa(){this.init.apply(this,arguments)}return Xo=t.Axis,me=t.Date,ye=t.dateFormat,ve=t.defaultOptions,be=t.defined,xe=t.each,we=t.extend,Se=t.getMagnitude,_e=t.getTZOffset,Ce=t.normalizeTickInterval,ke=t.pick,Me=t.timeUnits,Xo.prototype.getTimeTicks=function(t,e,n,i){var r,o,a,s=[],l={},u=ve.global.useUTC,c=new me(e-Math.max(_e(e),_e(n))),h=me.hcMakeTime,d=t.unitRange,f=t.count;if(be(e)){c[me.hcSetMilliseconds](d>=Me.second?0:f*Math.floor(c.getMilliseconds()/f)),d>=Me.second&&c[me.hcSetSeconds](d>=Me.minute?0:f*Math.floor(c.getSeconds()/f)),d>=Me.minute&&c[me.hcSetMinutes](d>=Me.hour?0:f*Math.floor(c[me.hcGetMinutes]()/f)),d>=Me.hour&&c[me.hcSetHours](d>=Me.day?0:f*Math.floor(c[me.hcGetHours]()/f)),d>=Me.day&&c[me.hcSetDate](d>=Me.month?1:f*Math.floor(c[me.hcGetDate]()/f)),d>=Me.month&&(c[me.hcSetMonth](d>=Me.year?0:f*Math.floor(c[me.hcGetMonth]()/f)),r=c[me.hcGetFullYear]()),d>=Me.year&&c[me.hcSetFullYear](r-r%f),d===Me.week&&c[me.hcSetDate](c[me.hcGetDate]()-c[me.hcGetDay]()+ke(i,1)),r=c[me.hcGetFullYear](),i=c[me.hcGetMonth]();var p=c[me.hcGetDate](),g=c[me.hcGetHours]();for((me.hcTimezoneOffset||me.hcGetTimezoneOffset)&&(a=(!u||!!me.hcGetTimezoneOffset)&&(n-e>4*Me.month||_e(e)!==_e(n)),c=c.getTime(),o=_e(c),c=new me(c+o)),u=c.getTime(),e=1;u<n;)s.push(u),u=d===Me.year?h(r+e*f,0):d===Me.month?h(r,i+e*f):!a||d!==Me.day&&d!==Me.week?a&&d===Me.hour?h(r,i,p,g+e*f,0,0,o)-o:u+d*f:h(r,i,p+e*f*(d===Me.day?1:7)),e++;s.push(u),d<=Me.hour&&s.length<1e4&&xe(s,function(t){0==t%18e5&&"000000000"===ye("%H%M%S%L",t)&&(l[t]="day")})}return s.info=we(t,{higherRanks:l,totalRange:d*f}),s},Xo.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];for(var i=Me[e[0]],r=e[1],o=0;o<n.length&&(e=n[o],i=Me[e[0]],r=e[1],!(n[o+1]&&t<=(i*r[r.length-1]+Me[n[o+1][0]])/2));o++);return i===Me.year&&t<5*i&&(r=[1,2,5]),{unitRange:i,count:t=Ce(t/i,r,"year"===e[0]?Math.max(Se(t/i),1):1),unitName:e[0]}},Go=t.Axis,Te=t.getMagnitude,De=t.map,Ae=t.normalizeTickInterval,Pe=t.pick,Go.prototype.getLogTickPositions=function(t,e,n,i){var r=this.options,o=this.len,a=this.lin2log,s=this.log2lin,l=[];if(i||(this._minorAutoInterval=null),.5<=t)t=Math.round(t),l=this.getLinearTickPositions(t,e,n);else if(.08<=t)for(var u,c,h,d,f,o=Math.floor(e),r=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];o<n+1&&!f;o++)for(c=r.length,u=0;u<c&&!f;u++)e<(h=s(a(o)*r[u]))&&(!i||d<=n)&&void 0!==d&&l.push(d),n<d&&(f=!0),d=h;else e=a(e),n=a(n),t=r[i?"minorTickInterval":"tickInterval"],t=Pe("auto"===t?null:t,this._minorAutoInterval,r.tickPixelInterval/(i?5:1)*(n-e)/((i?o/this.tickPositions.length:o)||1)),t=Ae(t,null,Te(t)),l=De(this.getLinearTickPositions(t,e,n),s),i||(this._minorAutoInterval=t/5);return i||(this.tickInterval=t),l},Go.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},Go.prototype.lin2log=function(t){return Math.pow(10,t)},qo=ra,Oe=(Ee=t).arrayMax,Le=Ee.arrayMin,Ie=Ee.defined,Ne=Ee.destroyObjectProperties,Re=Ee.each,Fe=Ee.erase,je=Ee.merge,He=Ee.pick,Ee.PlotLineOrBand=function(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)},Ee.PlotLineOrBand.prototype={render:function(){var n=this,t=n.axis,e=t.horiz,i=n.options,r=i.label,o=n.label,a=i.to,s=i.from,l=i.value,u=Ie(s)&&Ie(a),c=Ie(l),h=n.svgElem,d=!h,f=[],p=i.color,g=He(i.zIndex,0),m=i.events,f={class:"highcharts-plot-"+(u?"band ":"line ")+(i.className||"")},y={},v=t.chart.renderer,b=u?"bands":"lines",x=t.log2lin;if(t.isLog&&(s=x(s),a=x(a),l=x(l)),c?(f={stroke:p,"stroke-width":i.width},i.dashStyle&&(f.dashstyle=i.dashStyle)):u&&(p&&(f.fill=p),i.borderWidth&&(f.stroke=i.borderColor,f["stroke-width"]=i.borderWidth)),y.zIndex=g,(p=t.plotLinesAndBandsGroups[b+="-"+g])||(t.plotLinesAndBandsGroups[b]=p=v.g("plot-"+b).attr(y).add()),d&&(n.svgElem=h=v.path().attr(f).add(p)),c)f=t.getPlotLinePath(l,h.strokeWidth());else{if(!u)return;f=t.getPlotBandPath(s,a,i)}return d&&f&&f.length?(h.attr({d:f}),m&&Ee.objectEach(m,function(t,e){h.on(e,function(t){m[e].apply(n,[t])})})):h&&(f?(h.show(),h.animate({d:f})):(h.hide(),o&&(n.label=o=o.destroy()))),r&&Ie(r.text)&&f&&f.length&&0<t.width&&0<t.height&&!f.flat?(r=je({align:e&&u&&"center",x:e?!u&&4:10,verticalAlign:!e&&u&&"middle",y:e?u?16:10:u?6:-4,rotation:e&&!u&&90},r),this.renderLabel(r,f,u,g)):o&&o.hide(),n},renderLabel:function(t,e,n,i){var r=this.label,o=this.axis.chart.renderer;r||((r={align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(n?"band":"line")+"-label "+(t.className||"")}).zIndex=i,this.label=r=o.text(t.text,0,0,t.useHTML).attr(r).add(),r.css(t.style)),i=[e[1],e[4],n?e[6]:e[1]],e=[e[2],e[5],n?e[7]:e[2]],n=Le(i),o=Le(e),r.align(t,!1,{x:n,y:o,width:Oe(i)-n,height:Oe(e)-o}),r.show()},destroy:function(){Fe(this.axis.plotLinesAndBands,this),delete this.axis,Ne(this)}},Ee.extend(qo.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(t,e){var n=new Ee.PlotLineOrBand(this,t).render(),i=this.userOptions;return n&&(e&&(i[e]=i[e]||[],i[e].push(t)),this.plotLinesAndBands.push(n)),n},removePlotBandOrLine:function(e){for(var t=this.plotLinesAndBands,n=this.options,i=this.userOptions,r=t.length;r--;)t[r].id===e&&t[r].destroy();Re([n.plotLines||[],i.plotLines||[],n.plotBands||[],i.plotBands||[]],function(t){for(r=t.length;r--;)t[r].id===e&&Fe(t,t[r])})},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}}),ze=(Be=t).dateFormat,We=Be.each,$e=Be.extend,qe=Be.format,Ue=Be.isNumber,Ye=Be.map,Ge=Be.merge,Xe=Be.pick,Ve=Be.splat,Ze=Be.syncTimeout,Ke=Be.timeUnits,Be.Tooltip=function(){this.init.apply(this,arguments)},Be.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(n){We(this.chart.series,function(t){var e=t&&t.tt;e&&(!e.isActive||n?t.tt=e.destroy():e.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(),Ge(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,Ge(!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,i){var r=this,o=r.now,a=!1!==r.options.animation&&!r.isHidden&&(1<Math.abs(t-o.x)||1<Math.abs(e-o.y)),s=r.followPointer||1<r.len;$e(o,{x:a?(2*o.x+t)/3:t,y:a?(o.y+e)/2:e,anchorX:s?void 0:a?(2*o.anchorX+n)/3:n,anchorY:s?void 0:a?(o.anchorY+i)/2:i}),r.getLabel().attr(o),a&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){r&&r.move(t,e,n,i)},32))},hide:function(t){var e=this;clearTimeout(this.hideTimer),t=Xe(t,this.options.hideDelay,500),this.isHidden||(this.hideTimer=Ze(function(){e.getLabel()[t?"fadeOut":"hide"](),e.isHidden=!0},t))},getAnchor:function(t,e){var n,i,r=this.chart,o=r.inverted,a=r.plotTop,s=r.plotLeft,l=0,u=0,c=(t=Ve(t))[0].tooltipPos;return(c=this.followPointer&&e?[(e=void 0===e.chartX?r.pointer.normalize(e):e).chartX-r.plotLeft,e.chartY-a]:c)||(We(t,function(t){n=t.series.yAxis,i=t.series.xAxis,l+=t.plotX+(!o&&i?i.left-s:0),u+=(t.plotLow?(t.plotLow+t.plotHigh)/2:t.plotY)+(!o&&n?n.top-a:0)}),l/=t.length,u/=t.length,c=[o?r.plotWidth-u:l,this.shared&&!o&&1<t.length&&e?e.chartY-a:o?r.plotHeight-l:u]),Ye(c,Math.round)},getPosition:function(t,e,n){function i(t){var e=a;a=s,s=e,r=t}var r,o=this.chart,u=this.distance,c={},h=n.h||0,a=["y",o.chartHeight,e,n.plotY+o.plotTop,o.plotTop,o.plotTop+o.plotHeight],s=["x",o.chartWidth,t,n.plotX+o.plotLeft,o.plotLeft,o.plotLeft+o.plotWidth],d=!this.followPointer&&Xe(n.ttBelow,!o.inverted==!!n.negative),l=function(){!1!==function(t,e,n,i,r,o){var a=n<i-u,s=i+u+n<e,l=i-u-n;if(i+=u,d&&s)c[t]=i;else if(!d&&a)c[t]=l;else if(a)c[t]=Math.min(o-n,l-h<0?l:l-h);else{if(!s)return!1;c[t]=Math.max(r,e<i+h+n?i:i+h)}}.apply(0,a)?!1!==function(t,e,n,i){var r;return i<u||e-u<i?r=!1:c[t]=i<n/2?1:e-n/2<i?e-n-2:i-n/2,r}.apply(0,s)||r||(i(!0),l()):r?c.x=c.y=0:(i(!0),l())};return(o.inverted||1<this.len)&&i(),l(),c},defaultFormatter:function(t){var e=this.points||Ve(this),n=[t.tooltipFooterHeaderFormatter(e[0])];return(n=n.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),n},refresh:function(t,e){var n,i,r,o=this.options,a=t,s={},l=[],u=o.formatter||this.defaultFormatter,s=this.shared;o.enabled&&(clearTimeout(this.hideTimer),this.followPointer=Ve(a)[0].series.tooltipOptions.followPointer,e=(i=this.getAnchor(a,e))[0],n=i[1],!s||a.series&&a.series.noSharedTooltip?s=a.getLabelConfig():(We(a,function(t){t.setState("hover"),l.push(t.getLabelConfig())}),(s={x:a[0].category,y:a[0].y}).points=l,a=a[0]),this.len=l.length,s=u.call(s,this),r=a.series,this.distance=Xe(r.tooltipOptions.distance,16),!1===s?this.hide():(u=this.getLabel(),this.isHidden&&u.attr({opacity:1}).show(),this.split?this.renderSplit(s,t):(o.style.width||u.css({width:this.chart.spacingBox.width}),u.attr({text:s&&s.join?s.join(""):s}),u.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+Xe(a.colorIndex,r.colorIndex)),u.attr({stroke:o.borderColor||a.color||r.color||"#666666"}),this.updatePosition({plotX:e,plotY:n,negative:a.negative,ttBelow:a.ttBelow,h:i[2]||0})),this.isHidden=!1))},renderSplit:function(t,a){var s=this,l=[],u=this.chart,c=u.renderer,h=!0,d=this.options,f=0,p=this.getLabel();We(t.slice(0,a.length+1),function(t,e){var n,i,r,o;!1!==t&&(i=(n=(e=a[e-1]||{isHeader:!0,plotX:a[0].plotX}).series||s).tt,r=e.series||{},o="highcharts-color-"+Xe(e.colorIndex,r.colorIndex,"none"),i||(n.tt=i=c.label(null,null,null,"callout").addClass("highcharts-tooltip-box "+o).attr({padding:d.padding,r:d.borderRadius,fill:d.backgroundColor,stroke:d.borderColor||e.color||r.color||"#333333","stroke-width":d.borderWidth}).add(p)),i.isActive=!0,i.attr({text:t}),i.css(d.style).shadow(d.shadow),r=(t=i.getBBox()).width+i.strokeWidth(),(r=e.isHeader?(f=t.height,Math.max(0,Math.min(e.plotX+u.plotLeft-r/2,u.chartWidth-r))):e.plotX+u.plotLeft-Xe(d.distance,16)-r)<0&&(h=!1),t=(e.series&&e.series.yAxis&&e.series.yAxis.pos)+(e.plotY||0),t-=u.plotTop,l.push({target:e.isHeader?u.plotHeight+f:t,rank:e.isHeader?1:0,size:n.tt.getBBox().height+1,point:e,x:r,tt:i}))}),this.cleanSplit(),Be.distribute(l,u.plotHeight+f),We(l,function(t){var e=t.point,n=e.series;t.tt.attr({visibility:void 0===t.pos?"hidden":"inherit",x:h||e.isHeader?t.x:e.plotX+u.plotLeft+Xe(d.distance,16),y:t.pos+u.plotTop,anchorX:e.isHeader?e.plotX+u.plotLeft:e.plotX+n.xAxis.pos,anchorY:e.isHeader?t.pos+u.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,e,n,i){var r,o,a=ze("%m-%d %H:%M:%S.%L",e),s={millisecond:15,second:12,minute:9,hour:6,day:3},l="millisecond";for(o in Ke){if(t===Ke.week&&+ze("%w",e)===n&&"00:00:00.000"===a.substr(6)){o="week";break}if(Ke[o]>t){o=l;break}if(s[o]&&a.substr(s[o])!=="01-01 00:00:00.000".substr(s[o]))break;"week"!==o&&(l=o)}return r=o?i[o]:r},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",i=(e=t.series).tooltipOptions,r=i.xDateFormat,o=e.xAxis,a=o&&"datetime"===o.options.type&&Ue(t.key),n=i[n+"Format"];return a&&!r&&(r=this.getXDateFormat(t,i,o)),a&&r&&(n=n.replace("{point.key}","{point.key:"+r+"}")),qe(n,{point:t,series:e})},bodyFormatter:function(t){return Ye(t,function(t){var e=t.series.tooltipOptions;return(e.pointFormatter||t.point.tooltipFormatter).call(t.point,e.pointFormat)})}},Qe=(Je=t).addEvent,tn=Je.attr,en=Je.charts,nn=Je.color,rn=Je.css,on=Je.defined,an=Je.each,sn=Je.extend,ln=Je.find,un=Je.fireEvent,cn=Je.isObject,hn=Je.offset,dn=Je.pick,fn=Je.removeEvent,pn=Je.splat,gn=Je.Tooltip,mn=Je.win,Je.Pointer=function(t,e){this.init(t,e)},Je.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={},gn&&(t.tooltip=new gn(t,e.tooltip),this.followTouchMove=dn(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},zoomOption:function(t){var e=(i=this.chart).options.chart,n=e.zoomType||"",i=i.inverted;/touch/.test(t.type)&&(n=dn(e.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=n=/y/.test(n),this.zoomHor=t&&!i||n&&i,this.zoomVert=n&&!i||t&&i,this.hasZoom=t||n},normalize:function(t,e){var n,i;return(t=t||mn.event).target||(t.target=t.srcElement),i=t.touches?t.touches.length?t.touches.item(0):t.changedTouches[0]:t,e||(this.chartPosition=e=hn(this.chart.container)),e=void 0===i.pageX?(n=Math.max(t.x,t.clientX-e.left),t.y):(n=i.pageX-e.left,i.pageY-e.top),sn(t,{chartX:Math.round(n),chartY:Math.round(e)})},getCoordinates:function(e){var n={xAxis:[],yAxis:[]};return an(this.chart.axes,function(t){n[t.isXAxis?"xAxis":"yAxis"].push({axis:t,value:t.toValue(e[t.horiz?"chartX":"chartY"])})}),n},findNearestKDPoint:function(t,r,o){var a;return an(t,function(t){var e,n,i=!(t.noSharedTooltip&&r)&&t.options.findNearestPointBy.indexOf("y")<0;t=t.searchPoint(o,i),(i=cn(t,!0))&&!(i=!cn(a,!0))&&(i=a.distX-t.distX,e=a.dist-t.dist,n=(t.series.group&&t.series.group.zIndex)-(a.series.group&&a.series.group.zIndex),i=0<(0!==i&&r?i:0!=e?e:0!=n?n:a.series.index>t.series.index?-1:1)),i&&(a=t)}),a},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=(i=t.series).xAxis,i=i.yAxis;if(n&&i)return e?{chartX:n.len+n.pos-t.clientX,chartY:i.len+i.pos-t.plotY}:{chartX:t.clientX+n.pos,chartY:t.plotY+i.pos}},getHoverData:function(t,e,n,i,r,o){var a,s=[];i=!(!i||!t);var l=e&&!e.stickyTracking?[e]:Je.grep(n,function(t){return t.visible&&!(!r&&t.directTouch)&&dn(t.options.enableMouseTracking,!0)&&t.stickyTracking});return e=(a=i?t:this.findNearestKDPoint(l,r,o))&&a.series,a&&(r&&!e.noSharedTooltip?(l=Je.grep(n,function(t){return t.visible&&!(!r&&t.directTouch)&&dn(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}),an(l,function(t){t=ln(t.points,function(t){return t.x===a.x}),cn(t)&&!t.isNull&&s.push(t)})):s.push(a)),{hoverPoint:a,hoverSeries:e,hoverPoints:s}},runPointActions:function(i,t){var e=this.chart,n=e.tooltip,r=!!n&&n.shared,o=(a=t||e.hoverPoint)&&a.series||e.hoverSeries,a=(o=this.getHoverData(a,o,e.series,!!t||o&&o.directTouch&&this.isDirectTouch,r,i)).hoverPoint,s=o.hoverPoints;t=(o=o.hoverSeries)&&o.tooltipOptions.followPointer,r=r&&o&&!o.noSharedTooltip,a&&(a!==e.hoverPoint||n&&n.isHidden)?(an(e.hoverPoints||[],function(t){-1===Je.inArray(t,s)&&t.setState()}),an(s||[],function(t){t.setState("hover")}),e.hoverSeries!==o&&o.onMouseOver(),e.hoverPoint&&e.hoverPoint.firePointEvent("mouseOut"),a.firePointEvent("mouseOver"),e.hoverPoints=s,e.hoverPoint=a,n&&n.refresh(r?s:a,i)):t&&n&&!n.isHidden&&(a=n.getAnchor([{}],i),n.updatePosition({plotX:a[0],plotY:a[1]})),this.unDocMouseMove||(this.unDocMouseMove=Qe(e.container.ownerDocument,"mousemove",function(t){var e=en[Je.hoverChartIndex];e&&e.pointer.onDocumentMouseMove(t)})),an(e.axes,function(e){var t=dn(e.crosshair.snap,!0),n=t?Je.find(s,function(t){return t.series[e.coll]===e}):void 0;n||!t?e.drawCrosshair(i,n):e.hideCrosshair()})},reset:function(e,t){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,s=a&&a.shared?o:r;e&&s&&an(pn(s),function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?a&&s&&(a.refresh(s),r&&(r.setState(r.state,!0),an(n.axes,function(t){t.crosshair&&t.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),o&&an(o,function(t){t.setState()}),i&&i.onMouseOut(),a&&a.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),an(n.axes,function(t){t.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},scaleGroups:function(e,n){var i,r=this.chart;an(r.series,function(t){i=e||t.getPlotBox(),t.xAxis&&t.xAxis.zoomEnabled&&t.group&&(t.group.attr(i),t.markerGroup&&(t.markerGroup.attr(i),t.markerGroup.clip(n?r.clipRect:null)),t.dataLabelsGroup&&t.dataLabelsGroup.attr(i))}),r.clipRect.attr(n||r.clipBox)},dragStart:function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},drag:function(t){var e,n=this.chart,i=n.options.chart,r=t.chartX,o=t.chartY,a=this.zoomHor,s=this.zoomVert,l=n.plotLeft,u=n.plotTop,c=n.plotWidth,h=n.plotHeight,d=this.selectionMarker,f=this.mouseDownX,p=this.mouseDownY,g=i.panKey&&t[i.panKey+"Key"];d&&d.touch||(r<l?r=l:l+c<r&&(r=l+c),o<u?o=u:u+h<o&&(o=u+h),this.hasDragged=Math.sqrt(Math.pow(f-r,2)+Math.pow(p-o,2)),10<this.hasDragged&&(e=n.isInsidePlot(f-l,p-u),n.hasCartesianSeries&&(this.zoomX||this.zoomY)&&e&&!g&&!d&&(this.selectionMarker=d=n.renderer.rect(l,u,a?1:c,s?1:h,0).attr({fill:i.selectionMarkerFill||nn("#335cad").setOpacity(.25).get(),class:"highcharts-selection-marker",zIndex:7}).add()),d&&a&&(r-=f,d.attr({width:Math.abs(r),x:(0<r?0:r)+f})),d&&s&&(r=o-p,d.attr({height:Math.abs(r),y:(0<r?0:r)+p})),e&&!d&&i.panning&&n.pan(t,i.panning)))},drop:function(r){var o,t,a,s,l,u,c,h=this,e=this.chart,d=this.hasPinched;this.selectionMarker&&(o={originalEvent:r,xAxis:[],yAxis:[]},t=this.selectionMarker,a=t.attr?t.attr("x"):t.x,s=t.attr?t.attr("y"):t.y,l=t.attr?t.attr("width"):t.width,u=t.attr?t.attr("height"):t.height,(this.hasDragged||d)&&(an(e.axes,function(t){var e,n,i;t.zoomEnabled&&on(t.min)&&(d||h[{xAxis:"zoomX",yAxis:"zoomY"}[t.coll]])&&(i=t.horiz,e="touchend"===r.type?t.minPixelPadding:0,n=t.toValue((i?a:s)+e),i=t.toValue((i?a+l:s+u)-e),o[t.coll].push({axis:t,min:Math.min(n,i),max:Math.max(n,i)}),c=!0)}),c&&un(e,"selection",o,function(t){e.zoom(sn(t,d?{animation:!1}:null))})),this.selectionMarker=this.selectionMarker.destroy(),d&&this.scaleGroups()),e&&(rn(e.container,{cursor:e._cursor}),e.cancelClick=10<this.hasDragged,e.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(t){en[Je.hoverChartIndex]&&en[Je.hoverChartIndex].pointer.drop(t)},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(t){var e=en[Je.hoverChartIndex];e&&(t.relatedTarget||t.toElement)&&(e.pointer.reset(),e.pointer.chartPosition=null)},onContainerMouseMove:function(t){var e=this.chart;on(Je.hoverChartIndex)&&en[Je.hoverChartIndex]&&en[Je.hoverChartIndex].mouseIsDown||(Je.hoverChartIndex=e.index),(t=this.normalize(t)).returnValue=!1,"mousedown"===e.mouseIsDown&&this.drag(t),!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop)||e.openMenu||this.runPointActions(t)},inClass:function(t,e){for(var n;t;){if(n=tn(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.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")?(un(n.series,"click",sn(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(sn(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-i,t.chartY-r)&&un(e,"click",t)))},setDOMEvents:function(){var e=this,t=e.chart.container,n=t.ownerDocument;t.onmousedown=function(t){e.onContainerMouseDown(t)},t.onmousemove=function(t){e.onContainerMouseMove(t)},t.onclick=function(t){e.onContainerClick(t)},Qe(t,"mouseleave",e.onContainerMouseLeave),1===Je.chartCount&&Qe(n,"mouseup",e.onDocumentMouseUp),Je.hasTouch&&(t.ontouchstart=function(t){e.onContainerTouchStart(t)},t.ontouchmove=function(t){e.onContainerTouchMove(t)},1===Je.chartCount&&Qe(n,"touchend",e.onDocumentTouchEnd))},destroy:function(){var n=this,t=this.chart.container.ownerDocument;n.unDocMouseMove&&n.unDocMouseMove(),fn(n.chart.container,"mouseleave",n.onContainerMouseLeave),Je.chartCount||(fn(t,"mouseup",n.onDocumentMouseUp),Je.hasTouch&&fn(t,"touchend",n.onDocumentTouchEnd)),clearInterval(n.tooltipTimeout),Je.objectEach(n,function(t,e){n[e]=null})}},vn=(yn=t).charts,bn=yn.each,xn=yn.extend,wn=yn.map,Sn=yn.noop,_n=yn.pick,xn(yn.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")],y=s||1,v=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-_)&&(y=s||Math.abs(S-C)/Math.abs(w-_)),u=(m-S)/y+w,l=h["plot"+(t?"Width":"Height")]/y})(),(e=u)<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],v||(o[d]=u-m,o[g]=l),o=v?1/y:y,r[g]=l,r[d]=e,i[v?t?"scaleY":"scaleX":"scale"+f]=y,i["translate"+f]=o*m+(S-o*w)},pinch:function(t){var e=this,a=e.chart,n=e.pinchDown,i=t.touches,r=i.length,o=e.lastValidTouch,s=e.hasZoom,l=e.selectionMarker,u={},c=1===r&&(e.inClass(t.target,"highcharts-tracker")&&a.runTrackerClick||e.runChartClick),h={};1<r&&(e.initiated=!0),s&&e.initiated&&!c&&t.preventDefault(),wn(i,function(t){return e.normalize(t)}),"touchstart"===t.type?(bn(i,function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}}),o.x=[n[0].chartX,n[1]&&n[1].chartX],o.y=[n[0].chartY,n[1]&&n[1].chartY],bn(a.axes,function(t){var e,n,i,r,o;t.zoomEnabled&&(e=a.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,i=t.toPixels(_n(t.options.min,t.dataMin)),r=t.toPixels(_n(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===r?this.runPointActions(e.normalize(t)):n.length&&(l||(e.selectionMarker=l=xn({destroy:Sn,touch:!0},a.plotBox)),e.pinchTranslate(n,i,u,l,h,o),e.hasPinched=s,e.scaleGroups(u,h),e.res&&(e.res=!1,this.reset(!1,0)))},touch:function(t,e){var n,i=this.chart;i.index!==yn.hoverChartIndex&&this.onContainerMouseLeave({relatedTarget:!0}),yn.hoverChartIndex=i.index,1===t.touches.length?(t=this.normalize(t),i.isInsidePlot(t.chartX-i.plotLeft,t.chartY-i.plotTop)&&!i.openMenu?(e&&this.runPointActions(t),"touchmove"===t.type&&(n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2))),_n(n,!0)&&this.pinch(t)):e&&this.reset()):2===t.touches.length&&this.pinch(t)},onContainerTouchStart:function(t){this.zoomOption(t),this.touch(t,!0)},onContainerTouchMove:function(t){this.touch(t)},onDocumentTouchEnd:function(t){vn[yn.hoverChartIndex]&&vn[yn.hoverChartIndex].pointer.drop(t)}}),Dn=(Cn=t).addEvent,An=Cn.charts,Pn=Cn.css,En=Cn.doc,Ko=Cn.extend,On=Cn.noop,Lo=Cn.Pointer,Ln=Cn.removeEvent,Xo=Cn.win,Go=Cn.wrap,Cn.hasTouch||!Xo.PointerEvent&&!Xo.MSPointerEvent||(kn={},Mn=!!Xo.PointerEvent,Tn=function(t,e,n,i){var r;"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!An[Cn.hoverChartIndex]||(i(t),(i=An[Cn.hoverChartIndex].pointer)[e]({type:n,target:t.currentTarget,preventDefault:On,touches:((r=[]).item=function(t){return this[t]},Cn.objectEach(kn,function(t){r.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),r)}))},Ko(Lo.prototype,{onContainerPointerDown:function(t){Tn(t,"onContainerTouchStart","touchstart",function(t){kn[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}})},onContainerPointerMove:function(t){Tn(t,"onContainerTouchMove","touchmove",function(t){kn[t.pointerId]={pageX:t.pageX,pageY:t.pageY},kn[t.pointerId].target||(kn[t.pointerId].target=t.currentTarget)})},onDocumentPointerUp:function(t){Tn(t,"onDocumentTouchEnd","touchend",function(t){delete kn[t.pointerId]})},batchMSEvents:function(t){t(this.chart.container,Mn?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,Mn?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(En,Mn?"pointerup":"MSPointerUp",this.onDocumentPointerUp)}}),Go(Lo.prototype,"init",function(t,e,n){t.call(this,e,n),this.hasZoom&&Pn(e.container,{"-ms-touch-action":"none","touch-action":"none"})}),Go(Lo.prototype,"setDOMEvents",function(t){t.apply(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(Dn)}),Go(Lo.prototype,"destroy",function(t){this.batchMSEvents(Ln),t.call(this)})),Nn=(In=t).addEvent,Rn=In.css,Fn=In.discardElement,jn=In.defined,Hn=In.each,ra=In.isFirefox,Bn=In.marginNames,zn=In.merge,Wn=In.pick,$n=In.setAnimation,qn=In.stableSort,qo=In.win,Xo=In.wrap,In.Legend=function(t,e){this.init(t,e)},In.Legend.prototype={init:function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),Nn(this.chart,"endResize",function(){this.legend.positionCheckboxes()}))},setOptions:function(t){var e=Wn(t.padding,8);this.options=t,this.itemStyle=t.itemStyle,this.itemHiddenStyle=zn(this.itemStyle,t.itemHiddenStyle),this.itemMarginTop=t.itemMarginTop||0,this.padding=e,this.initialItemY=e-5,this.itemHeight=this.maxItemWidth=0,this.symbolWidth=Wn(t.symbolWidth,16),this.pages=[]},update:function(t,e){var n=this.chart;this.setOptions(zn(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,Wn(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,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=(n=this.options).symbolPadding,n=!n.rtl,i=(r=t._legendItemPos)[0],r=r[1],o=t.checkbox;(t=t.legendGroup)&&t.element&&t.translate(n?i:this.legendWidth-i-2*e-4,r),o&&(o.x=i,o.y=r)},destroyItem:function(e){var t=e.checkbox;Hn(["legendItem","legendLine","legendSymbol","legendGroup"],function(t){e[t]&&(e[t]=e[t].destroy())}),t&&Fn(e.checkbox)},destroy:function(){function e(t){this[t]&&(this[t]=this[t].destroy())}Hn(this.getAllItems(),function(t){Hn(["legendItem","legendGroup"],e,t)}),Hn("clipRect up down pager nav box title group".split(" "),e,this),this.display=null},positionCheckboxes:function(i){var r,o=this.group&&this.group.alignAttr,a=this.clipHeight||this.legendHeight,s=this.titleHeight;o&&(r=o.translateY,Hn(this.allItems,function(t){var e,n=t.checkbox;n&&(e=r+s+n.y+(i||0)+3,Rn(n,{left:o.translateX+t.checkboxOffset+n.x-20+"px",top:e+"px",display:r-6<e&&e<r+a-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)),i=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},setText:function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?In.format(e.labelFormat,t):e.labelFormatter.call(t)})},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,l=this.itemHiddenStyle,u=this.padding,c=r?Wn(i.itemDistance,20):0,h=!i.rtl,d=i.width,f=i.itemMarginBottom||0,p=this.itemMarginTop,g=t.legendItem,m=!t.series,y=!m&&t.series.drawLegendSymbol?t.series:t,v=y.options,b=this.createCheckboxForItem&&v&&v.showCheckbox,v=o+a+c+(b?20:0),x=i.useHTML,w=t.options.className;g||(t.legendGroup=n.g("legend-item").addClass("highcharts-"+y.type+"-series highcharts-color-"+t.colorIndex+(w?" "+w:"")+(m?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=g=n.text("",h?o+a:-a,this.baseline||0,x).css(zn(t.visible?s:l)).attr({align:h?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(o=s.fontSize,this.fontMetrics=n.fontMetrics(o,g),this.baseline=this.fontMetrics.f+3+p,g.attr("y",this.baseline)),this.symbolHeight=i.symbolHeight||this.fontMetrics.f,y.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,g,x),b&&this.createCheckboxForItem(t)),this.colorizeItem(t,t.visible),s.width||g.css({width:(i.itemWidth||i.width||e.spacingBox.width)-v}),this.setText(t),n=g.getBBox(),s=t.checkboxOffset=i.itemWidth||t.legendItemWidth||n.width+v,this.itemHeight=n=Math.round(t.legendItemHeight||n.height||this.symbolHeight),r&&this.itemX-u+s>(d||e.spacingBox.width-2*u-i.x)&&(this.itemX=u,this.itemY+=p+this.lastLineHeight+f,this.lastLineHeight=0),this.maxItemWidth=Math.max(this.maxItemWidth,s),this.lastItemY=p+this.itemY+f,this.lastLineHeight=Math.max(n,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=s:(this.itemY+=p+n+f,this.lastLineHeight=n),this.offsetWidth=d||Math.max((r?this.itemX-u-(t.checkbox?0:c):s)+u,this.offsetWidth)},getAllItems:function(){var n=[];return Hn(this.chart.series,function(t){var e=t&&t.options;t&&Wn(e.showInLegend,!jn(e.linkedTo)&&void 0,!0)&&(n=n.concat(t.legendItems||("point"===e.legendType?t.data:t)))}),n},adjustMargins:function(n,i){var r=this.chart,o=this.options,a=o.align.charAt(0)+o.verticalAlign.charAt(0)+o.layout.charAt(0);o.floating||Hn([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(t,e){t.test(a)&&!jn(n[e])&&(r[Bn[e]]=Math.max(r[Bn[e]],r.legend[(e+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][e]*o[e%2?"x":"y"]+Wn(o.margin,12)+i[e]))})},render:function(){var t,e,n,i,r=this,o=r.chart,a=o.renderer,s=r.group,l=r.box,u=r.options,c=r.padding;r.itemX=c,r.itemY=r.initialItemY,r.offsetWidth=0,r.lastItemY=0,s||(r.group=s=a.g("legend").attr({zIndex:7}).add(),r.contentGroup=a.g().attr({zIndex:1}).add(s),r.scrollGroup=a.g().add(r.contentGroup)),r.renderTitle(),t=r.getAllItems(),qn(t,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),u.reversed&&t.reverse(),r.allItems=t,r.display=e=!!t.length,r.lastLineHeight=0,Hn(t,function(t){r.renderItem(t)}),n=(u.width||r.offsetWidth)+c,i=r.lastItemY+r.lastLineHeight+r.titleHeight,i=r.handleOverflow(i),i+=c,l||(r.box=l=a.rect().addClass("highcharts-legend-box").attr({r:u.borderRadius}).add(s),l.isNew=!0),l.attr({stroke:u.borderColor,"stroke-width":u.borderWidth||0,fill:u.backgroundColor||"none"}).shadow(u.shadow),0<n&&0<i&&(l[l.isNew?"attr":"animate"](l.crisp({x:0,y:0,width:n,height:i},l.strokeWidth())),l.isNew=!1),l[e?"show":"hide"](),r.legendWidth=n,r.legendHeight=i,Hn(t,function(t){r.positionItem(t)}),e&&s.align(zn(u,{width:n,height:i}),!0,"spacingBox"),o.isResizing||this.positionCheckboxes()},handleOverflow:function(t){function e(t){"number"==typeof t?c.attr({height:t}):c&&(n.clipRect=c.destroy(),n.contentGroup.clip()),n.contentGroup.div&&(n.contentGroup.div.style.clip=t?"rect("+l+"px,9999px,"+(l+t)+"px,0)":"auto")}var r,o,n=this,i=(u=this.chart).renderer,a=this.options,s=a.y,l=this.padding,u=u.spacingBox.height+("top"===a.verticalAlign?-s:s)-l,s=a.maxHeight,c=this.clipRect,h=a.navigation,d=Wn(h.animation,!0),f=h.arrowSize||12,p=this.nav,g=this.pages,m=this.allItems;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(u/=2),s&&(u=Math.min(u,s)),g.length=0,u<t&&!1!==h.enabled?(this.clipHeight=r=Math.max(u-20-this.titleHeight-l,0),this.currentPage=Wn(this.currentPage,1),this.fullHeight=t,Hn(m,function(t,e){var n=t._legendItemPos[1];t=Math.round(t.legendItem.getBBox().height);var i=g.length;(!i||n-g[i-1]>r&&(o||n)!==g[i-1])&&(g.push(o||n),i++),e===m.length-1&&n+t-g[i-1]>r&&g.push(n),n!==o&&(o=n)}),c||(c=n.clipRect=i.clipRect(0,l,9999,0),n.contentGroup.clip(c)),e(r),p||(this.nav=p=i.g().attr({zIndex:1}).add(this.group),this.up=i.symbol("triangle",0,0,f,f).on("click",function(){n.scroll(-1,d)}).add(p),this.pager=i.text("",15,10).addClass("highcharts-legend-navigation").css(h.style).add(p),this.down=i.symbol("triangle-down",0,0,f,f).on("click",function(){n.scroll(1,d)}).add(p)),n.scroll(0),t=u):p&&(e(),this.nav=p.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;0<(t=i<t?i:t)&&(void 0!==e&&$n(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))}},In.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,Wn(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)},drawLineMarker:function(t){var e,n=this.options,i=n.marker,r=t.symbolWidth,o=t.symbolHeight,a=o/2,s=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b),e={"stroke-width":n.lineWidth||0},n.dashStyle&&(e.dashstyle=n.dashStyle),this.legendLine=s.path(["M",0,t,"L",r,t]).addClass("highcharts-graph").attr(e).add(l),i&&!1!==i.enabled&&(n=Math.min(Wn(i.radius,a),a),0===this.symbol.indexOf("url")&&(i=zn(i,{width:o,height:o}),n=0),this.legendSymbol=i=s.symbol(this.symbol,r/2-n,t-n,2*n,2*n,i).addClass("highcharts-point").add(l),i.isMarker=!0)}},(/Trident\/7\.0/.test(qo.navigator.userAgent)||ra)&&Xo(In.Legend.prototype,"positionItem",function(t,e){function n(){e._legendItemPos&&t.call(i,e)}var i=this;n(),setTimeout(n)}),Yn=(Un=t).addEvent,Gn=Un.animate,Xn=Un.animObject,Vn=Un.attr,Zn=Un.doc,Kn=Un.Axis,Jn=Un.createElement,Qn=Un.defaultOptions,ti=Un.discardElement,ei=Un.charts,ni=Un.css,ii=Un.defined,ri=Un.each,oi=Un.extend,ai=Un.find,si=Un.fireEvent,li=Un.getStyle,ui=Un.grep,ci=Un.isNumber,hi=Un.isObject,di=Un.isString,fi=Un.Legend,pi=Un.marginNames,gi=Un.merge,mi=Un.objectEach,yi=Un.Pointer,vi=Un.pick,bi=Un.pInt,xi=Un.removeEvent,wi=Un.seriesTypes,Si=Un.splat,_i=Un.svg,Ci=Un.syncTimeout,ki=Un.win,Mi=Un.Renderer,Ti=Un.Chart=function(){this.getArgs.apply(this,arguments)},Un.chart=function(t,e,n){return new Ti(t,e,n)},oi(Ti.prototype,{callbacks:[],getArgs:function(){var t=[].slice.call(arguments);(di(t[0])||t[0].nodeName)&&(this.renderTo=t.shift()),this.init(t[0],t[1])},init:function(t,e){var n,i,r=t.series,o=t.plotOptions||{};for(i in t.series=null,(n=gi(Qn,t)).plotOptions)n.plotOptions[i].tooltip=o[i]&&gi(o[i].tooltip)||void 0;n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,n.series=t.series=r,this.userOptions=t,i=(t=n.chart).events,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.hasCartesianSeries=t.showAxes;var a=this;a.index=ei.length,ei.push(a),Un.chartCount++,i&&mi(i,function(t,e){Yn(a,e,t)}),a.xAxis=[],a.yAxis=[],a.pointCount=a.colorCounter=a.symbolCounter=0,a.firstRender()},initSeries:function(t){var e=this.options.chart;return(e=wi[t.type||e.type||e.defaultSeriesType])||Un.error(17,!0),(e=new e).init(this,t),e},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(t){var n,e,i,r=this.axes,o=this.series,a=this.pointer,s=this.legend,l=this.isDirtyLegend,u=this.hasCartesianSeries,c=this.isDirtyBox,h=this.renderer,d=h.isHidden(),f=[];for(this.setResponsive&&this.setResponsive(!1),Un.setAnimation(t,this),d&&this.temporaryDisplay(),this.layOutTitles(),t=o.length;t--;)if((i=o[t]).options.stacking&&(n=!0,i.isDirty)){e=!0;break}if(e)for(t=o.length;t--;)(i=o[t]).options.stacking&&(i.isDirty=!0);ri(o,function(t){t.isDirty&&"point"===t.options.legendType&&(t.updateTotals&&t.updateTotals(),l=!0),t.isDirtyData&&si(t,"updatedData")}),l&&s.options.enabled&&(s.render(),this.isDirtyLegend=!1),n&&this.getStacks(),u&&ri(r,function(t){t.updateNames(),t.setScale()}),this.getMargins(),u&&(ri(r,function(t){t.isDirty&&(c=!0)}),ri(r,function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,f.push(function(){si(t,"afterSetExtremes",oi(t.eventArgs,t.getExtremes())),delete t.eventArgs})),(c||n)&&t.redraw()})),c&&this.drawChartBox(),si(this,"predraw"),ri(o,function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1}),a&&a.reset(!0),h.draw(),si(this,"redraw"),si(this,"render"),d&&this.temporaryDisplay(!0),ri(f,function(t){t.call()})},get:function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var n=this.series,i=ai(this.axes,t)||ai(this.series,t),r=0;!i&&r<n.length;r++)i=ai(n[r].points||[],t);return i},getAxes:function(){var e=this,t=(n=this.options).xAxis=Si(n.xAxis||{}),n=n.yAxis=Si(n.yAxis||{});ri(t,function(t,e){t.index=e,t.isX=!0}),ri(n,function(t,e){t.index=e}),t=t.concat(n),ri(t,function(t){new Kn(e,t)})},getSelectedPoints:function(){var e=[];return ri(this.series,function(t){e=e.concat(ui(t.data||[],function(t){return t.selected}))}),e},getSelectedSeries:function(){return ui(this.series,function(t){return t.selected})},setTitle:function(t,e,n){var o=this,i=(r=o.options).title=gi({style:{color:"#333333",fontSize:r.isStock?"16px":"18px"}},r.title,t),r=r.subtitle=gi({style:{color:"#666666"}},r.subtitle,e);ri([["title",t,i],["subtitle",e,r]],function(t,e){var n=t[0],i=o[n],r=t[1];t=t[2],i&&r&&(o[n]=i=i.destroy()),t&&t.text&&!i&&(o[n]=o.renderer.text(t.text,0,0,t.useHTML).attr({align:t.align,class:"highcharts-"+n,zIndex:t.zIndex||4}).add(),o[n].update=function(t){o.setTitle(!e&&t,e&&t)},o[n].css(t.style))}),o.layOutTitles(n)},layOutTitles:function(t){var e,r=0,o=this.renderer,a=this.spacingBox;ri(["title","subtitle"],function(t){var e,n=this[t],i=this.options[t];t="title"===t?-3:i.verticalAlign?0:r+2,n&&(e=i.style.fontSize,e=o.fontMetrics(e,n).b,n.css({width:(i.width||a.width+i.widthAdjust)+"px"}).align(oi({y:t+e},i),!1,"spacingBox"),i.floating||i.verticalAlign||(r=Math.ceil(r+n.getBBox(i.useHTML).height)))},this),e=this.titleOffset!==r,this.titleOffset=r,!this.isDirtyBox&&e&&(this.isDirtyBox=e,this.hasRendered&&vi(t,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var t=(e=this.options.chart).width,e=e.height,n=this.renderTo;ii(t)||(this.containerWidth=li(n,"width")),ii(e)||(this.containerHeight=li(n,"height")),this.chartWidth=Math.max(0,t||this.containerWidth||600),this.chartHeight=Math.max(0,Un.relativeLength(e,this.chartWidth)||this.containerHeight||400)},temporaryDisplay:function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(Un.css(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(Zn.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(Zn.body.contains(e)||(e.hcOrigDetached=!0,Zn.body.appendChild(e)),"none"!==li(e,"display",!1)&&!e.hcOricDetached||(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),Un.css(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==Zn.body););},setClassName:function(t){this.container.className="highcharts-container "+(t||"")},getContainer:function(){var t,e,n,i=this.options,r=i.chart,o=this.renderTo,a=Un.uniqueKey();o||(this.renderTo=o=r.renderTo),di(o)&&(this.renderTo=o=Zn.getElementById(o)),o||Un.error(13,!0),t=bi(Vn(o,"data-highcharts-chart")),ci(t)&&ei[t]&&ei[t].hasRendered&&ei[t].destroy(),Vn(o,"data-highcharts-chart",this.index),o.innerHTML="",r.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize(),t=this.chartWidth,e=this.chartHeight,n=oi({position:"relative",overflow:"hidden",width:t+"px",height:e+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},r.style),this.container=o=Jn("div",{id:a},n,o),this._cursor=o.style.cursor,this.renderer=new(Un[r.renderer]||Mi)(o,t,e,null,r.forExport,i.exporting&&i.exporting.allowHTML),this.setClassName(r.className),this.renderer.setStyle(r.style),this.renderer.chartIndex=this.index},getMargins:function(t){var e=this.spacing,n=this.margin,i=this.titleOffset;this.resetMargins(),i&&!ii(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 n=this,i=n.axisOffset=[0,0,0,0],r=n.margin;n.hasCartesianSeries&&ri(n.axes,function(t){t.visible&&t.getOffset()}),ri(pi,function(t,e){ii(r[e])||(n[t]+=i[e])}),n.setChartSize()},reflow:function(t){var e=this,n=e.options.chart,i=e.renderTo,r=ii(n.width)&&ii(n.height),o=n.width||li(i,"width"),n=n.height||li(i,"height"),i=t?t.target:ki;r||e.isPrinting||!o||!n||i!==ki&&i!==Zn||(o===e.containerWidth&&n===e.containerHeight||(clearTimeout(e.reflowTimeout),e.reflowTimeout=Ci(function(){e.container&&e.setSize(void 0,void 0,!1)},t?100:0)),e.containerWidth=o,e.containerHeight=n)},initReflow:function(){var e=this,t=Yn(ki,"resize",function(t){e.reflow(t)});Yn(e,"destroy",t)},setSize:function(t,e,n){var i=this,r=i.renderer;i.isResizing+=1,Un.setAnimation(n,i),i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==t&&(i.options.chart.width=t),void 0!==e&&(i.options.chart.height=e),i.getChartSize(),((t=r.globalAnimation)?Gn:ni)(i.container,{width:i.chartWidth+"px",height:i.chartHeight+"px"},t),i.setChartSize(!0),r.setSize(i.chartWidth,i.chartHeight,n),ri(i.axes,function(t){t.isDirty=!0,t.setScale()}),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(n),i.oldChartHeight=null,si(i,"resize"),Ci(function(){i&&si(i,"endResize",null,function(){--i.isResizing})},Xn(t).duration)},setChartSize:function(t){function e(t){return t=f[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,f=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||ri(this.axes,function(t){t.setAxisSize(),t.setAxisTranslation()})},resetMargins:function(){var r=this,o=r.options.chart;ri(["margin","spacing"],function(n){var t=o[n],i=hi(t)?t:[t,t,t,t];ri(["Top","Right","Bottom","Left"],function(t,e){r[n][e]=vi(o[n+t],i[e])})}),ri(pi,function(t,e){r[t]=vi(r.margin[e],r.spacing[e])}),r.axisOffset=[0,0,0,0],r.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,y=this.plotBox,v=this.clipRect,b=this.clipBox,x="animate";a||(this.chartBackground=a=i.rect().addClass("highcharts-background").add(),x="attr"),e=(t=n.borderWidth||0)+(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](y),s.attr({fill:h||"none"}).shadow(n.plotShadow),d&&(u?u.animate(y):this.plotBGImage=i.image(d,f,p,g,m).add()),v?v.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 e,n,i,r=this,o=r.options.chart,a=r.options.series;ri(["inverted","angular","polar"],function(t){for(e=wi[o.type||o.defaultSeriesType],i=o[t]||e&&e.prototype[t],n=a&&a.length;!i&&n--;)(e=wi[a[n].type])&&e.prototype[t]&&(i=!0);r[t]=i})},linkSeries:function(){var n=this,t=n.series;ri(t,function(t){t.linkedSeries.length=0}),ri(t,function(t){var e=t.options.linkedTo;di(e)&&(e=":previous"===e?n.series[t.index-1]:n.get(e))&&e.linkedParent!==t&&(e.linkedSeries.push(t),t.linkedParent=e,t.visible=vi(t.options.visible,e.options.visible,t.visible))})},renderSeries:function(){ri(this.series,function(t){t.translate(),t.render()})},renderLabels:function(){var r=this,o=r.options.labels;o.items&&ri(o.items,function(t){var e=oi(o.style,t.style),n=bi(e.left)+r.plotLeft,i=bi(e.top)+r.plotTop+12;delete e.left,delete e.top,r.renderer.text(t.html,n,i).attr({zIndex:2}).css(e).add()})},render:function(){var t,e,n,i=this.axes,r=this.renderer,o=this.options;this.setTitle(),this.legend=new fi(this,o.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),o=this.plotWidth,t=this.plotHeight-=21,ri(i,function(t){t.setScale()}),this.getAxisMargins(),e=1.1<o/this.plotWidth,n=1.05<t/this.plotHeight,(e||n)&&(ri(i,function(t){(t.horiz&&e||!t.horiz&&n)&&t.setTickInterval(!0)}),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries&&ri(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=gi(!0,this.options.credits,t)).enabled&&!this.credits&&(this.credits=this.renderer.text(t.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){t.href&&(ki.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 t,n=this,e=n.axes,i=n.series,r=n.container,o=r&&r.parentNode;for(si(n,"destroy"),n.renderer.forExport?Un.erase(ei,n):ei[n.index]=void 0,Un.chartCount--,n.renderTo.removeAttribute("data-highcharts-chart"),xi(n),t=e.length;t--;)e[t]=e[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=i.length;t--;)i[t]=i[t].destroy();ri("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())}),r&&(r.innerHTML="",xi(r),o&&ti(r)),mi(n,function(t,e){delete n[e]})},isReadyToRender:function(){var t=this;return!(!_i&&ki==ki.top&&"complete"!==Zn.readyState)||(Zn.attachEvent("onreadystatechange",function(){Zn.detachEvent("onreadystatechange",t.firstRender),"complete"===Zn.readyState&&t.firstRender()}),!1)},firstRender:function(){var e=this,t=e.options;e.isReadyToRender()&&(e.getContainer(),si(e,"init"),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),ri(t.series||[],function(t){e.initSeries(t)}),e.linkSeries(),si(e,"beforeRender"),yi&&(e.pointer=new yi(e,t)),e.render(),!e.renderer.imgCount&&e.onload&&e.onload(),e.temporaryDisplay(!0))},onload:function(){ri([this.callback].concat(this.callbacks),function(t){t&&void 0!==this.index&&t.apply(this,[this])},this),si(this,"load"),si(this,"render"),ii(this.index)&&!1!==this.options.chart.reflow&&this.initReflow(),this.onload=null}}),Ai=(Ko=t).each,Pi=Ko.extend,Ei=Ko.erase,Oi=Ko.fireEvent,Li=Ko.format,Ii=Ko.isArray,Ni=Ko.isNumber,Ri=Ko.pick,Fi=Ko.removeEvent,Ko.Point=Di=function(){},Ko.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=Ri(this.colorIndex,n),t.chart.pointCount++,this},applyOptions:function(t,e){var n=this.series,i=n.options.pointValKey||n.pointValKey;return t=Di.prototype.optionsToObject.call(this,t),Pi(this,t),this.options=this.options?Pi(this.options,t):t,t.group&&delete this.group,i&&(this.y=this[i]),this.isNull=Ri(this.isValid&&!this.isValid(),null===this.x||!Ni(this.y,!0)),this.selected&&(this.state="select"),"name"in this&&void 0===e&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),void 0===this.x&&n&&(this.x=void 0===e?n.autoIncrement(this):e),this},optionsToObject:function(t){var e={},n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],o=r.length,a=0,s=0;if(Ni(t)||null===t)e[r[0]]=t;else if(Ii(t))for(!i&&t.length>o&&("string"===(n=typeof t[0])?e.name=t[0]:"number"===n&&(e.x=t[0]),a++);s<o;)i&&void 0===t[a]||(e[r[s]]=t[a]),a++,s++;else"object"==typeof t&&((e=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(){for(var t=(e=this.series).zones,e=e.zoneAxis||"y",n=0,i=t[n];this[e]>=i.value;)i=t[++n];return i&&i.color&&!this.options.color&&(this.color=i.color),i},destroy:function(){var t,e=this.series.chart,n=e.hoverPoints;for(t in e.pointCount--,n&&(this.setState(),Ei(n,this),n.length||(e.hoverPoints=null)),this===e.hoverPoint&&this.onMouseOut(),(this.graphic||this.dataLabel)&&(Fi(this),this.destroyElements()),this.legendItem&&e.legend.destroyItem(this),this)this[t]=null},destroyElements:function(){for(var t,e=["graphic","dataLabel","dataLabelUpper","connector","shadowGroup"],n=6;n--;)this[t=e[n]]&&(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(e){var t=this.series,n=t.tooltipOptions,i=Ri(n.valueDecimals,""),r=n.valuePrefix||"",o=n.valueSuffix||"";return Ai(t.pointArrayMap||["y"],function(t){t="{point."+t,e=(e=r||o?e.replace(t+"}",r+t+"}"+o):e).replace(t+"}",t+":,."+i+"f}")}),Li(e,{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)}),Oi(this,t,e,n)},visible:!0},Hi=(ji=t).addEvent,Bi=ji.animObject,zi=ji.arrayMax,Wi=ji.arrayMin,$i=ji.correctFloat,qi=ji.Date,Ui=ji.defaultOptions,Yi=ji.defaultPlotOptions,Gi=ji.defined,Xi=ji.each,Vi=ji.erase,Zi=ji.extend,Ki=ji.fireEvent,Ji=ji.grep,Qi=ji.isArray,tr=ji.isNumber,er=ji.isString,nr=ji.merge,ir=ji.objectEach,rr=ji.pick,or=ji.removeEvent,ar=ji.splat,sr=ji.SVGElement,lr=ji.syncTimeout,ur=ji.win,ji.Series=ji.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?"":ji.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:ji.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],coll:"series",init:function(t,e){var n,i,r=this,o=t.series;r.chart=t,r.options=e=r.setOptions(e),r.linkedSeries=[],r.bindAxes(),Zi(r,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),n=e.events,ir(n,function(t,e){Hi(r,e,t)}),(n&&n.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),Xi(r.parallelArrays,function(t){r[t+"Data"]=[]}),r.setData(e.data,!1),r.isCartesian&&(t.hasCartesianSeries=!0),o.length&&(i=o[o.length-1]),r._i=rr(i&&i._i,-1)+1,t.orderSeries(this.insert(o))},insert:function(t){var e,n=this.options.index;if(tr(n)){for(e=t.length;e--;)if(n>=rr(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 rr(e,t.length-1)},bindAxes:function(){var n,i=this,r=i.options,t=i.chart;Xi(i.axisTypes||[],function(e){Xi(t[e],function(t){n=t.options,(r[e]===n.index||void 0!==r[e]&&r[e]===n.id||void 0===r[e]&&0===n.index)&&(i.insert(t.series),(i[e]=t).isDirty=!0)}),i[e]||i.optionalAxis===e||ji.error(18,!0)})},updateParallelArrays:function(n,i){var r=n.series,e=arguments,t=tr(i)?function(t){var e="y"===t&&r.toYData?r.toYData(n):n[t];r[t+"Data"][i]=e}:function(t){Array.prototype[i].apply(r[t+"Data"],Array.prototype.slice.call(e,2))};Xi(r.parallelArrays,t)},autoIncrement:function(){var t,e=this.options,n=this.xIncrement,i=e.pointIntervalUnit,n=rr(n,e.pointStart,0);return this.pointInterval=t=rr(this.pointInterval,e.pointInterval,1),i&&(e=new qi(n),"day"===i?e=+e[qi.hcSetDate](e[qi.hcGetDate]()+t):"month"===i?e=+e[qi.hcSetMonth](e[qi.hcGetMonth]()+t):"year"===i&&(e=+e[qi.hcSetFullYear](e[qi.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=nr(o,i.series,t),this.tooltipOptions=nr(Ui.tooltip,Ui.plotOptions.series&&Ui.plotOptions.series.tooltip,Ui.plotOptions[this.type].tooltip,n.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,t.tooltip),this.stickyTracking=rr(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&&Gi(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:rr(r.options.chart[t+"Count"],r[t+"Count"]);e||(i=rr(o[a],o["_"+a]),Gi(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||Yi[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:ji.LegendSymbolMixin.drawLineMarker,setData:function(t,e,n,i){var r=this,o=r.points,a=o&&o.length||0,s=r.options,l=r.chart,u=null,c=r.xAxis,h=s.turboThreshold,d=this.xData,f=this.yData,p=(g=r.pointArrayMap)&&g.length,g=(t=t||[]).length;if(e=rr(e,!0),!1!==i&&g&&a===g&&!r.cropped&&!r.hasGroupedData&&r.visible)Xi(t,function(t,e){o[e].update&&t!==s.data[e]&&o[e].update(t,!1,null,!1)});else{if(r.xIncrement=null,r.colorCounter=0,Xi(this.parallelArrays,function(t){r[t+"Data"].length=0}),h&&h<g){for(n=0;null===u&&n<g;)u=t[n],n++;if(tr(u))for(n=0;n<g;n++)d[n]=this.autoIncrement(),f[n]=t[n];else if(Qi(u))if(p)for(n=0;n<g;n++)u=t[n],d[n]=u[0],f[n]=u.slice(1,p+1);else for(n=0;n<g;n++)u=t[n],d[n]=u[0],f[n]=u[1];else ji.error(12)}else for(n=0;n<g;n++)void 0!==t[n]&&(r.pointClass.prototype.applyOptions.apply(u={series:r},[t[n]]),r.updateParallelArrays(u,n));for(er(f[0])&&ji.error(14,!0),r.data=[],r.options.data=r.userOptions.data=t,n=a;n--;)o[n]&&o[n].destroy&&o[n].destroy();c&&(c.minRange=c.userMinRange),r.isDirty=l.isDirtyBox=!0,r.isDirtyData=!!o,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(n)},processData:function(t){var e,n,i,r,o=this.xData,a=this.yData,s=o.length,l=0,u=this.xAxis,c=(f=this.options).cropThreshold,h=this.getExtremesFromAll||f.getExtremesFromAll,d=this.isCartesian,f=u&&u.val2lin,p=u&&u.isLog;if(d&&!this.isDirty&&!u.isDirty&&!this.yAxis.isDirty&&!t)return!1;for(u&&(i=(t=u.getExtremes()).min,r=t.max),d&&this.sorted&&!h&&(!c||c<s||this.forceCrop)&&(o[s-1]<i||o[0]>r?(o=[],a=[]):(o[0]<i||o[s-1]>r)&&(o=(l=this.cropData(this.xData,this.yData,i,r)).xData,a=l.yData,l=l.start,e=!0)),c=o.length||1;--c;)0<(s=p?f(o[c])-f(o[c-1]):o[c]-o[c-1])&&(void 0===n||s<n)?n=s:s<0&&this.requireSorting&&ji.error(15);this.cropped=e,this.cropStart=l,this.processedXData=o,this.processedYData=a,this.closestPointRange=n},cropData:function(t,e,n,i){for(var r=t.length,o=0,a=r,s=rr(this.cropShoulder,1),l=0;l<r;l++)if(t[l]>=n){o=Math.max(0,l-s);break}for(n=l;n<r;n++)if(t[n]>i){a=n+s;break}return{xData:t.slice(o,a),yData:e.slice(o,a),start:o,end:a}},generatePoints:function(){var t,e,n,i,r=(d=this.options).data,o=this.data,a=this.processedXData,s=this.processedYData,l=this.pointClass,u=a.length,c=this.cropStart||0,h=this.hasGroupedData,d=d.keys,f=[];for(o||h||((o=[]).length=r.length,o=this.data=o),d&&h&&(this.options.keys=!1),i=0;i<u;i++)e=c+i,h?(n=(new l).init(this,[a[i]].concat(ar(s[i])))).dataGroup=this.groupMap[i]:(n=o[e])||void 0===r[e]||(o[e]=n=(new l).init(this,r[e],a[i])),n&&(n.index=e,f[i]=n);if(this.options.keys=d,o&&(u!==(t=o.length)||h))for(i=0;i<t;i++)i!==c||h||(i+=u),o[i]&&(o[i].destroyElements(),o[i].plotX=void 0);this.data=o,this.points=f},getExtremes:function(t){var e,n,i,r,o=this.yAxis,a=this.processedXData,s=[],l=0,u=this.xAxis.getExtremes(),c=u.min,h=u.max;for(u=(t=t||this.stackedYData||this.processedYData||[]).length,r=0;r<u;r++)if(n=a[r],i=t[r],e=(tr(i,!0)||Qi(i))&&(!o.positiveValuesOnly||i.length||0<i),n=this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||(a[r]||n)>=c&&(a[r]||n)<=h,e&&n)if(e=i.length)for(;e--;)null!==i[e]&&(s[l++]=i[e]);else s[l++]=i;this.dataMin=Wi(s),this.dataMax=zi(s)},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n,i=this.options,r=i.stacking,o=this.xAxis,a=o.categories,s=this.yAxis,l=this.points,u=l.length,c=!!this.modifyValue,h=i.pointPlacement,d="between"===h||tr(h),f=i.threshold,p=i.startFromThreshold?f:0,g=Number.MAX_VALUE;for(tr(h="between"===h?.5:h)&&(h*=rr(i.pointRange||o.pointRange)),i=0;i<u;i++){var m,y=l[i],v=y.x,b=y.y,x=y.low,w=r&&s.stacks[(this.negStacks&&b<(p?0:f)?"-":"")+this.stackKey];s.positiveValuesOnly&&null!==b&&b<=0&&(y.isNull=!0),y.plotX=t=$i(Math.min(Math.max(-1e5,o.translate(v,0,0,0,1,h,"flags"===this.type)),1e5)),r&&this.visible&&!y.isNull&&w&&w[v]&&(n=this.getStackIndicator(n,v,this.index),x=(b=(m=w[v]).points[n.key])[0],b=b[1],x===p&&n.key===w[v].base&&(x=rr(f,s.min)),s.positiveValuesOnly&&x<=0&&(x=null),y.total=y.stackTotal=m.total,y.percentage=m.total&&y.y/m.total*100,y.stackY=b,m.setOffset(this.pointXOffset||0,this.barW||0)),y.yBottom=Gi(x)?s.translate(x,0,1,0,1):null,c&&(b=this.modifyValue(b,y)),y.plotY=x="number"==typeof b&&1/0!==b?Math.min(Math.max(-1e5,s.translate(b,0,1,0,1)),1e5):void 0,y.isInside=void 0!==x&&0<=x&&x<=s.len&&0<=t&&t<=o.len,y.clientX=d?$i(o.translate(v,0,0,0,1,h)):t,y.negative=y.y<(f||0),y.category=a&&void 0!==a[y.x]?a[y.x]:y.x,y.isNull||(void 0!==e&&(g=Math.min(g,Math.abs(t-e))),e=t),y.zone=this.zones.length&&y.getZone()}this.closestPointRangePx=g},getValidPoints:function(t,e){var n=this.chart;return Ji(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,n=this.chart,i=Bi(this.options.animation);t?this.setClip(i):((t=n[e=this.sharedClipKey])&&t.animate({width:n.plotSizeX},i),n[e+"m"]&&n[e+"m"].animate({width:n.plotSizeX+99},i),this.animate=null)},afterAnimate:function(){this.setClip(),Ki(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=rr(c.enabled,!!this.xAxis.isRadial||null,this.closestPointRangePx>=2*c.radius);if(!1!==c.enabled||this._hasPointMarkers)for(e=0;e<l.length;e++)t=(n=l[e]).plotY,i=n.graphic,r=n.marker||{},o=!!n.marker,a=d&&void 0===r.enabled||r.enabled,s=n.isInside,a&&tr(t)&&null!==n.y?(t=rr(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=rr(i.radius,n.radius);return e&&(n=n.states[e],e=i.states&&i.states[e],r=rr(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=(s=t&&t.options)&&s.marker||{},r=this.color,o=s&&s.color,a=t&&t.color,s=rr(i.lineWidth,n.lineWidth);return t=t&&t.zone&&t.zone.color,r=o||t||a||r,t=i.fillColor||n.fillColor||r,r=i.lineColor||n.lineColor||r,e&&(n=n.states[e],e=i.states&&i.states[e]||{},s=rr(e.lineWidth,n.lineWidth,s+rr(e.lineWidthPlus,n.lineWidthPlus,0)),t=e.fillColor||n.fillColor||t,r=e.lineColor||n.lineColor||r),{stroke:r,"stroke-width":s,fill:t}},destroy:function(){var t,e,n,i=this,r=i.chart,o=/AppleWebKit\/533/.test(ur.navigator.userAgent),a=i.data||[];for(Ki(i,"destroy"),or(i),Xi(i.axisTypes||[],function(t){(n=i[t])&&n.series&&(Vi(n.series,i),n.isDirty=n.forceRedraw=!0)}),i.legendItem&&i.chart.legend.destroyItem(i),t=a.length;t--;)(e=a[t])&&e.destroy&&e.destroy();i.points=null,clearTimeout(i.animationTimeout),ir(i,function(t,e){t instanceof sr&&!t.survive&&t[o&&"group"===e?"hide":"destroy"]()}),r.hoverSeries===i&&(r.hoverSeries=null),Vi(r.series,i),r.orderSeries(),ir(i,function(t,e){delete i[e]})},getGraphPath:function(o,a,s){var t,l,u=this,c=u.options,h=c.step,d=[],f=[];return(t=(o=o||u.points).reversed)&&o.reverse(),(h={right:1,center:2}[h]||h&&3)&&t&&(h=4-h),!c.connectNulls||a||s||(o=this.getValidPoints(o)),Xi(o,function(t,e){var n=t.plotX,i=t.plotY,r=o[e-1];(t.leftCliff||r&&r.rightCliff)&&!s&&(l=!0),l=t.isNull&&!Gi(a)&&0<e?!c.connectNulls:!(!t.isNull||a)||(0===e||l?e=["M",t.plotX,t.plotY]:u.getPointSpline?e=u.getPointSpline(o,t,e):h?(e=1===h?["L",r.plotX,i]:2===h?["L",(r.plotX+n)/2,r.plotY,"L",(r.plotX+n)/2,i]:["L",n,r.plotY]).push("L",n,i):e=["L",n,i],f.push(t.x),h&&f.push(t.x),d.push.apply(d,e),!1)}),d.xMap=f,u.graphPath=d},drawGraph:function(){var r=this,o=this.options,a=(this.gappedPath||this.getGraphPath).call(this),n=[["graph","highcharts-graph",o.lineColor||this.color,o.dashStyle]];Xi(this.zones,function(t,e){n.push(["zone-graph-"+e,"highcharts-graph highcharts-zone-graph-"+e+" "+(t.className||""),t.color||r.color,t.dashStyle||o.dashStyle])}),Xi(n,function(t,e){var n=t[0],i=r[n];i?(i.endX=a.xMap,i.animate({d:a})):a.length&&(r[n]=r.chart.renderer.path(a).addClass(t[1]).attr({zIndex:1}).add(r.group),i={stroke:t[2],"stroke-width":o.lineWidth,fill:r.fillGraph&&r.color||"none"},t[3]?i.dashstyle=t[3]:"square"!==o.linecap&&(i["stroke-linecap"]=i["stroke-linejoin"]="round"),i=r[n].attr(i).shadow(e<2&&o.shadow)),i&&(i.startX=a.xMap,i.isArea=a.isArea)})},applyZones:function(){var n,i,r,o,a,s,l,u,c=this,h=this.chart,d=h.renderer,t=this.zones,f=this.clips||[],p=this.graph,g=this.area,m=Math.max(h.chartWidth,h.chartHeight),y=this[(this.zoneAxis||"y")+"Axis"],v=h.inverted,b=!1;t.length&&(p||g)&&y&&void 0!==y.min&&(o=y.reversed,a=y.horiz,p&&p.hide(),g&&g.hide(),r=y.getExtremes(),Xi(t,function(t,e){u=o?a?h.plotWidth:0:a?0:y.toPixels(r.min),u=Math.min(Math.max(rr(n,u),0),m),n=Math.min(Math.max(Math.round(y.toPixels(rr(t.value,r.max),!0)),0),m),b&&(u=n=y.toPixels(r.max)),s=Math.abs(u-n),l=Math.min(u,n),u=Math.max(u,n),y.isXAxis?(i={x:v?u:l,y:0,width:s,height:m},a||(i.x=h.plotHeight-i.x)):(i={x:0,y:v?u:l,width:m,height:s},a&&(i.y=h.plotWidth-i.y)),v&&d.isVML&&(i=y.isXAxis?{x:0,y:o?l:u,height:i.width,width:h.chartWidth}:{x:i.y-h.plotLeft-h.spacingBox.x,y:0,width:i.height,height:h.chartHeight}),f[e]?f[e].animate(i):(f[e]=d.clipRect(i),p&&c["zone-graph-"+e].clip(f[e]),g&&c["zone-area-"+e].clip(f[e])),b=t.value>r.max}),this.clips=f)},invertGroups:function(e){function t(){Xi(["group","markerGroup"],function(t){i[t]&&(r.renderer.isVML&&i[t].attr({width:i.yAxis.len,height:i.xAxis.len}),i[t].width=i.yAxis.len,i[t].height=i.xAxis.len,i[t].invert(e))})}var n,i=this,r=i.chart;i.xAxis&&(n=Hi(r,"resize",t),Hi(i,"destroy",n),t(),i.invertGroups=t)},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=this,e=t.chart,n=t.options,i=!!t.animate&&e.renderer.isSVG&&Bi(n.animation).duration,r=t.visible?"inherit":"hidden",o=n.zIndex,a=t.hasRendered,s=e.seriesGroup,l=e.inverted,u=t.plotGroup("group","series",r,o,s);t.markerGroup=t.plotGroup("markerGroup","markers",r,o,s),i&&t.animate(!0),u.inverted=!!t.isCartesian&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.drawDataLabels&&t.drawDataLabels(),t.visible&&t.drawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),!1===n.clip||t.sharedClipKey||a||u.clip(e.clipRect),i&&t.animate(),a||(t.animationTimeout=lr(function(){t.afterAnimate()},i)),t.isDirty=!1,t.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:rr(i&&i.left,t.plotLeft),translateY:rr(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(){this.buildingKdTree=!0;var a=this,t=-1<a.options.findNearestPointBy.indexOf("y")?2:1;delete a.kdTree,lr(function(){a.kdTree=function t(e,n,i){var r,o;if(o=e&&e.length)return r=a.kdAxisArray[n%i],e.sort(function(t,e){return t[r]-e[r]}),{point:e[o=Math.floor(o/2)],left:t(e.slice(0,o),n+1,i),right:t(e.slice(o+1),n+1,i)}}(a.getValidPoints(null,!a.directTouch),t,t),a.buildingKdTree=!1},a.options.kdNow?0:1)},searchKDTree:function(t,e){var c=this,h=this.kdAxisArray[0],d=this.kdAxisArray[1],f=e?"distX":"dist";if(e=-1<c.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(),this.kdTree)return function t(e,n,i,r){var o=n.point,a=c.kdAxisArray[i%r],s=o,l=Gi(e[h])&&Gi(o[h])?Math.pow(e[h]-o[h],2):null,u=Gi(e[d])&&Gi(o[d])?Math.pow(e[d]-o[d],2):null;return o.dist=Gi(u=(l||0)+(u||0))?Math.sqrt(u):Number.MAX_VALUE,o.distX=Gi(l)?Math.sqrt(l):Number.MAX_VALUE,l=(a=e[a]-o[a])<0?"right":"left",n[u=a<0?"left":"right"]&&(s=(u=t(e,n[u],i+1,r))[f]<s[f]?u:o),s=n[l]&&Math.sqrt(a*a)<s[f]&&(e=t(e,n[l],i+1,r))[f]<s[f]?e:s}(t,this.kdTree,e,e)}}),Go=(cr=t).Axis,Lo=cr.Chart,hr=cr.correctFloat,dr=cr.defined,fr=cr.destroyObjectProperties,pr=cr.each,gr=cr.format,mr=cr.objectEach,yr=cr.pick,qo=cr.Series,cr.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:yr(e.y,o?4:n?14:-6),x:yr(e.x,o?n?-6:6:0)},this.textAlign=e.textAlign||(o?n?"right":"left":"center")},cr.StackItem.prototype={destroy:function(){fr(this,this.axis)},render:function(t){var e=this.options,n=(n=e.format)?gr(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=(r=this.axis).chart,i=r.translate(r.usePercentage?100:this.total,0,0,0,1),r=r.translate(0),r=Math.abs(i-r);t=n.xAxis[0].translate(this.x)+t,i=this.getStackBox(n,this,t,i,e,r),(e=this.label)&&(e.align(this.alignOptions,null,i),i=e.alignAttr,e[!1===this.options.crop||n.isInsidePlot(i.x,i.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}}},Lo.prototype.getStacks=function(){var e=this;pr(e.yAxis,function(t){t.stacks&&t.hasVisibleSeries&&(t.oldStacks=t.stacks)}),pr(e.series,function(t){!t.options.stacking||!0!==t.visible&&!1!==e.options.chart.ignoreHiddenSeries||(t.stackKey=t.type+yr(t.options.stack,""))})},Go.prototype.buildStacks=function(){var t,e=this.series,n=yr(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()}},Go.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),mr(n,function(t){mr(t,function(t){t.render(i)})})},Go.prototype.resetStacks=function(){var i=this,t=i.stacks;i.isXAxis||mr(t,function(n){mr(n,function(t,e){t.touched<i.stacksTouched?(t.destroy(),delete n[e]):(t.total=null,t.cum=null)})})},Go.prototype.cleanStacks=function(){var t;this.isXAxis||(this.oldStacks&&(t=this.stacks=this.oldStacks),mr(t,function(t){mr(t,function(t){t.cum=t.total})}))},qo.prototype.setStackedPoints=function(){if(this.options.stacking&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var t,e,n,i,r,o,a,s=this.processedXData,l=this.processedYData,u=[],c=l.length,h=(p=this.options).threshold,d=p.startFromThreshold?h:0,f=p.stack,p=p.stacking,g=this.stackKey,m="-"+g,y=this.negStacks,v=this.yAxis,b=v.stacks,x=v.oldStacks;for(v.stacksTouched+=1,r=0;r<c;r++)o=s[r],a=l[r],i=(t=this.getStackIndicator(t,o,this.index)).key,b[n=(e=y&&a<(d?0:h))?m:g]||(b[n]={}),b[n][o]||(x[n]&&x[n][o]?(b[n][o]=x[n][o],b[n][o].total=null):b[n][o]=new cr.StackItem(v,v.options.stackLabels,e,o,f)),n=b[n][o],null!==a&&(n.points[i]=n.points[this.index]=[yr(n.cum,d)],dr(n.cum)||(n.base=i),n.touched=v.stacksTouched,0<t.index&&!1===this.singleStacks&&(n.points[i][0]=n.points[this.index+","+o+",0"][0])),"percent"===p?(e=e?g:m,y&&b[e]&&b[e][o]?(e=b[e][o],n.total=e.total=Math.max(e.total,n.total)+Math.abs(a)||0):n.total=hr(n.total+(Math.abs(a)||0))):n.total=hr(n.total+(a||0)),n.cum=yr(n.cum,d)+(a||0),null!==a&&(n.points[i].push(n.cum),u[r]=n.cum);"percent"===p&&(v.usePercentage=!0),this.stackedYData=u,v.oldStacks={}}},qo.prototype.setPercentStacks=function(){var r,o=this,t=o.stackKey,a=o.yAxis.stacks,s=o.processedXData;pr([t,"-"+t],function(t){for(var e,n,i=s.length;i--;)e=s[i],r=o.getStackIndicator(r,e,o.index,t),(e=(n=a[t]&&a[t][e])&&n.points[r.key])&&(n=n.total?100/n.total:0,e[0]=hr(e[0]*n),e[1]=hr(e[1]*n),o.stackedYData[i]=e[1])})},qo.prototype.getStackIndicator=function(t,e,n,i){return!dr(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},vr=t.addEvent,br=t.animate,xr=t.Axis,wr=t.createElement,Sr=t.css,_r=t.defined,Cr=t.each,kr=t.erase,Mr=t.extend,Tr=t.fireEvent,Dr=t.inArray,Ar=t.isNumber,Pr=t.isObject,Er=t.isArray,Or=t.merge,Lr=t.objectEach,Ir=t.pick,ra=t.Point,Xo=t.Series,Nr=t.seriesTypes,Rr=t.setAnimation,Fr=t.splat,Mr(t.Chart.prototype,{addSeries:function(t,e,n){var i,r=this;return t&&(e=Ir(e,!0),Tr(r,"addSeries",{options:t},function(){i=r.initSeries(t),r.isDirtyLegend=!0,r.linkSeries(),e&&r.redraw(n)})),i},addAxis:function(t,e,n,i){var r=e?"xAxis":"yAxis",o=this.options;return t=Or(t,{index:this[r].length,isX:e}),e=new xr(this,t),o[r]=Fr(o[r]||{}),o[r].push(t),Ir(n,!0)&&this.redraw(i),e},showLoading:function(t){function e(){r&&Sr(r,{left:n.plotLeft+"px",top:n.plotTop+"px",width:n.plotWidth+"px",height:n.plotHeight+"px"})}var n=this,i=n.options,r=n.loadingDiv,o=i.loading;r||(n.loadingDiv=r=wr("div",{className:"highcharts-loading highcharts-loading-hidden"},null,n.container),n.loadingSpan=wr("span",{className:"highcharts-loading-inner"},null,r),vr(n,"redraw",e)),r.className="highcharts-loading",n.loadingSpan.innerHTML=t||i.lang.loading,Sr(r,Mr(o.style,{zIndex:10})),Sr(n.loadingSpan,o.labelStyle),n.loadingShown||(Sr(r,{opacity:0,display:""}),br(r,{opacity:o.style.opacity||.5},{duration:o.showDuration||0})),n.loadingShown=!0,e()},hideLoading:function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",br(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){Sr(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,i){var n,r,o=this,a={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle"},s=t.chart,l=[];s&&(Or(!0,o.options.chart,s),"className"in s&&o.setClassName(s.className),("inverted"in s||"polar"in s)&&(o.propFromSeries(),n=!0),"alignTicks"in s&&(n=!0),Lr(s,function(t,e){-1!==Dr("chart."+e,o.propsRequireUpdateSeries)&&(r=!0),-1!==Dr(e,o.propsRequireDirtyBox)&&(o.isDirtyBox=!0)}),"style"in s&&o.renderer.setStyle(s.style)),t.colors&&(this.options.colors=t.colors),t.plotOptions&&Or(!0,this.options.plotOptions,t.plotOptions),Lr(t,function(t,e){o[e]&&"function"==typeof o[e].update?o[e].update(t,!1):"function"==typeof o[a[e]]&&o[a[e]](t),"chart"!==e&&-1!==Dr(e,o.propsRequireUpdateSeries)&&(r=!0)}),Cr("xAxis yAxis zAxis series colorAxis pane".split(" "),function(n){t[n]&&(Cr(Fr(t[n]),function(t,e){(e=_r(t.id)&&o.get(t.id)||o[n][e])&&e.coll===n&&(e.update(t,!1),i&&(e.touched=!0)),!e&&i&&("series"===n?o.addSeries(t,!1).touched=!0:"xAxis"!==n&&"yAxis"!==n||(o.addAxis(t,"xAxis"===n,!1).touched=!0))}),i&&Cr(o[n],function(t){t.touched?delete t.touched:l.push(t)}))}),Cr(l,function(t){t.remove(!1)}),n&&Cr(o.axes,function(t){t.update({},!1)}),r&&Cr(o.series,function(t){t.update({},!1)}),t.loading&&Or(!0,o.options.loading,t.loading),n=s&&s.width,s=s&&s.height,Ar(n)&&n!==o.chartWidth||Ar(s)&&s!==o.chartHeight?o.setSize(n,s):Ir(e,!0)&&o.redraw()},setSubtitle:function(t){this.setTitle(void 0,t)}}),Mr(ra.prototype,{update:function(t,e,n,i){function r(){a.applyOptions(t),null===a.y&&l&&(a.graphic=l.destroy()),Pr(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]=Pr(c.data[o],!0)||Pr(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=Ir(e,!0),!1===i?r():a.firePointEvent("update",{options:t},r)},remove:function(t,e){this.series.removePoint(Dr(this,this.series.data),t,e)}}),Mr(Xo.prototype,{addPoint:function(t,e,n,i){var r,o,a,s,l=this.options,u=this.data,c=this.chart,h=(h=this.xAxis)&&h.hasNames&&h.names,d=l.data,f=this.xData;if(e=Ir(e,!0),this.pointClass.prototype.applyOptions.apply(r={series:this},[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){function i(){s&&s.length===o.length&&s.splice(t,1),o.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(a||{series:r},"splice",t,1),a&&a.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&l.redraw()}var r=this,o=r.data,a=o[t],s=r.points,l=r.chart;Rr(n,l),e=Ir(e,!0),a?a.firePointEvent("remove",null,i):i()},remove:function(t,e,n){function i(){r.destroy(),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),Ir(t,!0)&&o.redraw(e)}var r=this,o=r.chart;!1!==n?Tr(r,"remove",null,i):i()},update:function(t,e){var n,i=this,r=i.chart,o=i.userOptions,a=i.oldType||i.type,s=t.type||o.type||r.options.chart.type,l=Nr[a].prototype,u=["group","markerGroup","dataLabelsGroup","navigatorSeries","baseSeries"],c=i.finishedAnimating&&{animation:!1};if(Object.keys&&"data"===Object.keys(t).toString())return this.setData(t.data,e);for(n in(s&&s!==a||void 0!==t.zIndex)&&(u.length=0),Cr(u,function(t){u[t]=i[t],delete i[t]}),t=Or(o,c,{index:i.index,pointStart:i.xData[0]},{data:i.options.data},t),i.remove(!1,null,!1),l)i[n]=void 0;Mr(i,Nr[s||a].prototype),Cr(u,function(t){i[t]=u[t]}),i.init(r,t),i.oldType=a,r.linkSeries(),Ir(e,!0)&&r.redraw(!1)}}),Mr(xr.prototype,{update:function(t,e){var n=this.chart;t=n.options[this.coll][this.options.index]=Or(this.userOptions,t),this.destroy(!0),this.init(n,Mr(t,{events:void 0})),n.isDirtyBox=!0,Ir(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);kr(e.axes,this),kr(e[n],this),Er(e.options[n])?e.options[n].splice(this.options.index,1):delete e.options[n],Cr(e[n],function(t,e){t.options.index=e}),this.destroy(),e.isDirtyBox=!0,Ir(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}}),Hr=(jr=t).color,Br=jr.each,zr=jr.map,Wr=jr.pick,$r=jr.Series,(0,jr.seriesType)("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(t){var l,u,e=[],c=[],n=this.xAxis,i=this.yAxis,h=i.stacks[this.stackKey],d={},f=this.index,r=i.series,p=r.length,g=Wr(i.options.reversedStacks,!0)?1:-1;if(t=t||this.points,this.options.stacking){for(u=0;u<t.length;u++)d[t[u].x]=t[u];jr.objectEach(h,function(t,e){null!==t.total&&c.push(e)}),c.sort(function(t,e){return t-e}),l=zr(r,function(){return this.visible}),Br(c,function(r,o){var a,s,t=0;if(d[r]&&!d[r].isNull)e.push(d[r]),Br([-1,1],function(t){var e=1===t?"rightNull":"leftNull",n=0,i=h[c[o+t]];if(i)for(u=f;0<=u&&u<p;)(a=i.points[u])||(u===f?d[r][e]=!0:l[u]&&(s=h[r].points[u])&&(n-=s[1]-s[0])),u+=g;d[r][1===t?"rightCliff":"leftCliff"]=n});else{for(u=f;0<=u&&u<p;){if(a=h[r].points[u]){t=a[1];break}u+=g}t=i.translate(t,0,1,0,1),e.push({isNull:!0,plotX:n.translate(r,0,0,0,1),x:r,plotY:t,yBottom:t})}})}return e},getGraphPath:function(s){function t(t,e,n){var i=s[t];t=u&&p[i.x].points[f];var r=i[n+"Null"]||0;n=i[n+"Cliff"]||0;var o,a,i=!0;n||r?(o=(r?t[0]:t[1])+n,a=t[0]+n,i=!!r):!u&&s[e]&&s[e].isNull&&(o=a=g),void 0!==o&&(d.push({plotX:l,plotY:null===o?m:c.getThreshold(o),isNull:i,isCliff:!0}),h.push({plotX:l,plotY:null===a?m:c.getThreshold(a),doCurve:!1}))}var e,n,l,i,r=$r.prototype.getGraphPath,u=(o=this.options).stacking,c=this.yAxis,h=[],d=[],f=this.index,p=c.stacks[this.stackKey],g=o.threshold,m=c.getThreshold(o.threshold),o=o.connectNulls||"percent"===u;for(s=s||this.points,u&&(s=this.getStackPoints(s)),e=0;e<s.length;e++)n=s[e].isNull,l=Wr(s[e].rectPlotX,s[e].plotX),i=Wr(s[e].yBottom,m),n&&!o||(o||t(e,e-1,"left"),n&&!u&&o||(d.push(s[e]),h.push({x:e,plotX:l,plotY:i})),o||t(e,e+1,"right"));return e=r.call(this,d,!0,!0),h.reversed=!0,(n=r.call(this,h,!0,!0)).length&&(n[0]="L"),n=e.concat(n),r=r.call(this,d,!1,o),n.xMap=e.xMap,this.areaPath=n,r},drawGraph:function(){this.areaPath=[],$r.prototype.drawGraph.apply(this);var i=this,r=this.areaPath,o=this.options,n=[["area","highcharts-area",this.color,o.fillColor]];Br(this.zones,function(t,e){n.push(["zone-area-"+e,"highcharts-area highcharts-zone-area-"+e+" "+t.className,t.color||i.color,t.fillColor||o.fillColor])}),Br(n,function(t){var e=t[0],n=i[e];n?(n.endX=r.xMap,n.animate({d:r})):(n=i[e]=i.chart.renderer.path(r).addClass(t[1]).attr({fill:Wr(t[3],Hr(t[2]).setOpacity(Wr(o.fillOpacity,.75)).get()),zIndex:0}).add(i.group)).isArea=!0,n.startX=r.xMap,n.shiftUnit=o.step?2:1})},drawLegendSymbol:jr.LegendSymbolMixin.drawRectangle}),qr=t.pick,(0,t.seriesType)("spline","line",{},{getPointSpline:function(t,e,n){var i,r,o,a,s,l=e.plotX,u=e.plotY,c=t[n-1];return n=t[n+1],!c||c.isNull||!1===c.doCurve||e.isCliff||!n||n.isNull||!1===n.doCurve||e.isCliff||(t=c.plotY,a=n.plotX,i=0,o=(1.5*u+t)/2.5,s=(1.5*u+(n=n.plotY))/2.5,s+=i=(a=(1.5*l+a)/2.5)!==(r=(1.5*l+c.plotX)/2.5)?(s-o)*(a-l)/(a-r)+u-s:i,t<(o+=i)&&u<o?s=2*u-(o=Math.max(t,u)):o<t&&o<u&&(s=2*u-(o=Math.min(t,u))),n<s&&u<s?o=2*u-(s=Math.max(n,u)):s<n&&s<u&&(o=2*u-(s=Math.min(n,u))),e.rightContX=a,e.rightContY=s),e=["C",qr(c.rightContX,c.plotX),qr(c.rightContY,c.plotY),qr(r,l),qr(o,u),l,u],c.rightContX=c.rightContY=null,e}}),Ko=t.seriesTypes.area.prototype,(0,t.seriesType)("areaspline","spline",t.defaultPlotOptions.area,{getStackPoints:Ko.getStackPoints,getGraphPath:Ko.getGraphPath,drawGraph:Ko.drawGraph,drawLegendSymbol:t.LegendSymbolMixin.drawRectangle}),Ur=t.animObject,Yr=t.color,Gr=t.each,Xr=t.extend,Vr=t.isNumber,Zr=t.merge,Kr=t.pick,Jr=t.Series,Lo=t.seriesType,Qr=t.svg,Lo("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(){Jr.prototype.init.apply(this,arguments);var e=this,t=e.chart;t.hasRendered&&Gr(t.series,function(t){t.type===e.type&&(t.isDirty=!0)})},getColumnMetrics:function(){var r,o=this,t=o.options,e=o.xAxis,a=o.yAxis,n=e.reversed,s={},l=0;!1===t.grouping?l=1:Gr(o.chart.series,function(t){var e,n=t.options,i=t.yAxis;t.type!==o.type||!t.visible&&o.chart.options.chart.ignoreHiddenSeries||a.len!==i.len||a.pos!==i.pos||(n.stacking?(r=t.stackKey,void 0===s[r]&&(s[r]=l++),e=s[r]):!1!==n.grouping&&(e=l++),t.columnIndex=e)});var i=Math.min(Math.abs(e.transA)*(e.ordinalSlope||t.pointRange||e.closestPointRange||e.tickInterval||1),e.len),u=i*t.groupPadding,c=(i-2*u)/(l||1),t=Math.min(t.maxPointWidth||e.len,Kr(t.pointWidth,c*(1-2*t.pointPadding)));return o.columnMetrics={width:t,offset:(c-t)/2+(u+((o.columnIndex||0)+(n?1:0))*c-i/2)*(n?-1:1)},o.columnMetrics},crispCol:function(t,e,n,i){var r=this.chart,o=-((a=this.borderWidth)%2?.5:0),a=a%2?.5:1;return r.inverted&&r.renderer.isVML&&(a+=1),this.options.crisp&&(n=Math.round(t+n)+o,n-=t=Math.round(t)+o),i=Math.round(e+i)+a,o=Math.abs(e)<=.5&&.5<i,i-=e=Math.round(e)+a,o&&i&&(--e,i+=1),{x:t,y:e,width:n,height:i}},translate:function(){var l=this,u=l.chart,t=l.options,e=l.dense=l.closestPointRange*l.xAxis.transA<2,e=l.borderWidth=Kr(t.borderWidth,e?0:1),c=l.yAxis,h=l.translatedThreshold=c.getThreshold(t.threshold),d=Kr(t.minPointLength,5),n=l.getColumnMetrics(),f=n.width,p=l.barW=Math.max(f,1+2*e),g=l.pointXOffset=n.offset;u.inverted&&(h-=.5),t.pointPadding&&(p=Math.ceil(p)),Jr.prototype.translate.apply(l),Gr(l.points,function(t){var e,n=Kr(t.yBottom,h),i=999+Math.abs(n),i=Math.min(Math.max(-i,t.plotY),c.len+i),r=t.plotX+g,o=p,a=Math.min(i,n),s=Math.max(i,n)-a;Math.abs(s)<d&&d&&(s=d,e=!c.reversed&&!t.negative||c.reversed&&t.negative,a=Math.abs(a-h)>d?n-d:h-(e?d:0)),t.barX=r,t.pointWidth=f,t.tooltipPos=u.inverted?[c.len+c.pos-u.plotLeft-i,l.xAxis.len-r-o/2,s]:[r+o/2,i+c.pos-u.plotTop,s],t.shapeType="rect",t.shapeArgs=l.crispCol.apply(l,t.isNull?[r,h,o,0]:[r,a,o,s])})},getSymbol:t.noop,drawLegendSymbol:t.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(t,e){var n=this.options,i=(l=this.pointAttrToOptions||{}).stroke||"borderColor",r=l["stroke-width"]||"borderWidth",o=t&&t.color||this.color,a=t[i]||n[i]||this.color||o,s=t[r]||n[r]||this[r]||0,l=n.dashStyle;return t&&this.zones.length&&(o=t.getZone(),o=t.options.color||o&&o.color||this.color),e&&(e=(t=Zr(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,o=t.color||void 0!==e&&Yr(o).brighten(t.brightness).get()||o,a=t[i]||a,s=t[r]||s,l=t.dashStyle||l),i={fill:o,stroke:a,"stroke-width":s},l&&(i.dashstyle=l),i},drawPoints:function(){var n,i=this,r=this.chart,o=i.options,a=r.renderer,s=o.animationLimit||250;Gr(i.points,function(t){var e=t.graphic;Vr(t.plotY)&&null!==t.y?(n=t.shapeArgs,e?e[r.pointCount<s?"animate":"attr"](Zr(n)):t.graphic=e=a[t.shapeType](n).add(t.group||i.group),o.borderRadius&&e.attr({r:o.borderRadius}),e.attr(i.pointAttribs(t,t.selected&&"select")).shadow(o.shadow,null,o.stacking&&!o.borderRadius),e.addClass(t.getClassName(),!0)):e&&(t.graphic=e.destroy())})},animate:function(t){var n=this,e=this.yAxis,i=n.options,r=this.chart.inverted,o={};Qr&&(t?(o.scaleY=.001,t=Math.min(e.pos+e.len,Math.max(e.pos,e.toPixels(i.threshold))),r?o.translateX=t-e.len:o.translateY=t,n.group.attr(o)):(o[r?"translateX":"translateY"]=e.pos,n.group.animate(o,Xr(Ur(n.options.animation),{step:function(t,e){n.group.attr({scaleY:Math.max(.001,e.pos)})}})),n.animate=null))},remove:function(){var e=this,t=e.chart;t.hasRendered&&Gr(t.series,function(t){t.type===e.type&&(t.isDirty=!0)}),Jr.prototype.remove.apply(e,arguments)}}),(0,t.seriesType)("bar","column",null,{inverted:!0}),to=t.Series,(0,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&&to.prototype.drawGraph.call(this)}}),eo=t.pick,no=t.relativeLength,t.CenteredSeriesMixin={getCenter:function(){for(var t,e=this.options,n=this.chart,i=2*(e.slicedOffset||0),r=n.plotWidth-2*i,n=n.plotHeight-2*i,o=e.center,o=[eo(o[0],"50%"),eo(o[1],"50%"),e.size||"100%",e.innerSize||0],a=Math.min(r,n),s=0;s<4;++s)t=o[s],e=s<2||2===s&&/%$/.test(t),o[s]=no(t,[r,n,a,o[2]][s])+(e?i:0);return o[3]>o[2]&&(o[3]=o[2]),o}},ro=(io=t).addEvent,oo=io.defined,ao=io.each,so=io.extend,lo=io.inArray,Go=io.noop,uo=io.pick,co=io.Point,ho=io.Series,qo=io.seriesType,fo=io.setAnimation,qo("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:io.seriesTypes.column.prototype.pointAttribs,animate:function(t){var i=this,e=i.points,r=i.startAngleRad;t||(ao(e,function(t){var e=t.graphic,n=t.shapeArgs;e&&(e.attr({r:t.startR||i.center[3]/2,start:r,end:r}),e.animate({r:n.r,start:n.start,end:n.end},i.options.animation))}),i.animate=null)},updateTotals:function(){for(var t,e=0,n=this.points,i=n.length,r=this.options.ignoreHiddenPoint,o=0;o<i;o++)t=n[o],e+=r&&!t.visible||t.isNull?0:t.y;for(this.total=e,o=0;o<i;o++)(t=n[o]).percentage=0<e&&(t.visible||!r)?t.y/e*100:0,t.total=e},generatePoints:function(){ho.prototype.generatePoints.call(this),this.updateTotals()},translate:function(i){this.generatePoints();var t,e,r,n,o,a,s=0,l=(p=this.options).slicedOffset,u=l+(p.borderWidth||0),c=p.startAngle||0,h=this.startAngleRad=Math.PI/180*(c-90),c=(this.endAngleRad=Math.PI/180*(uo(p.endAngle,c+360)-90))-h,d=this.points,f=p.dataLabels.distance,p=p.ignoreHiddenPoint,g=d.length;for(i||(this.center=i=this.getCenter()),this.getX=function(t,e,n){return r=Math.asin(Math.min((t-i[1])/(i[2]/2+n.labelDistance),1)),i[0]+(e?-1:1)*Math.cos(r)*(i[2]/2+n.labelDistance)},o=0;o<g;o++)(a=d[o]).labelDistance=uo(a.options.dataLabels&&a.options.dataLabels.distance,f),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,a.labelDistance),t=h+s*c,p&&!a.visible||(s+=a.percentage/100),e=h+s*c,a.shapeType="arc",a.shapeArgs={x:i[0],y:i[1],r:i[2]/2,innerR:i[3]/2,start:Math.round(1e3*t)/1e3,end:Math.round(1e3*e)/1e3},(r=(e+t)/2)>1.5*Math.PI?r-=2*Math.PI:r<-Math.PI/2&&(r+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(r)*l),translateY:Math.round(Math.sin(r)*l)},e=Math.cos(r)*i[2]/2,n=Math.sin(r)*i[2]/2,a.tooltipPos=[i[0]+.7*e,i[1]+.7*n],a.half=r<-Math.PI/2||r>Math.PI/2?1:0,a.angle=r,t=Math.min(u,a.labelDistance/5),a.labelPos=[i[0]+e+Math.cos(r)*a.labelDistance,i[1]+n+Math.sin(r)*a.labelDistance,i[0]+e+Math.cos(r)*t,i[1]+n+Math.sin(r)*t,i[0]+e,i[1]+n,a.labelDistance<0?"center":a.half?"right":"left",r]},drawGraph:null,drawPoints:function(){var n,i,r,o,a=this,s=a.chart.renderer,l=a.options.shadow;l&&!a.shadowGroup&&(a.shadowGroup=s.g("shadow").add(a.group)),ao(a.points,function(t){var e;t.isNull||(i=t.graphic,o=t.shapeArgs,n=t.getTranslate(),e=t.shadowGroup,(e=l&&!e?t.shadowGroup=s.g("shadow").add(a.shadowGroup):e)&&e.attr(n),r=a.pointAttribs(t,t.selected&&"select"),i?i.setRadialReference(a.center).attr(r).animate(so(o,n)):(t.graphic=i=s[t.shapeType](o).setRadialReference(a.center).attr(n).add(a.group),t.visible||i.attr({visibility:"hidden"}),i.attr(r).attr({"stroke-linejoin":"round"}).shadow(l,e)),i.addClass(t.getClassName()))})},searchPoint:Go,sortByAngle:function(t,n){t.sort(function(t,e){return void 0!==t.angle&&(e.angle-t.angle)*n})},drawLegendSymbol:io.LegendSymbolMixin.drawRectangle,getCenter:io.CenteredSeriesMixin.getCenter,getSymbol:Go},{init:function(){co.prototype.init.apply(this,arguments);var t,e=this;return e.name=uo(e.name,"Slice"),t=function(t){e.slice("select"===t.type)},ro(e,"select",t),ro(e,"unselect",t),e},isValid:function(){return io.isNumber(this.y,!0)&&0<=this.y},setVisible:function(e,t){var n=this,i=n.series,r=i.chart,o=i.options.ignoreHiddenPoint;t=uo(t,o),e!==n.visible&&(n.visible=n.options.visible=e=void 0===e?!n.visible:e,i.options.data[lo(n,i.data)]=n.options,ao(["graphic","dataLabel","connector","shadowGroup"],function(t){n[t]&&n[t][e?"show":"hide"](!0)}),n.legendItem&&r.legend.colorizeItem(n,e),e||"hover"!==n.state||n.setState(""),o&&(i.isDirty=!0),t&&r.redraw())},slice:function(t,e,n){var i=this.series;fo(n,i.chart),uo(e,!0),this.sliced=this.options.sliced=oo(t)?t:!this.sliced,i.options.data[lo(this,i.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})}}),go=(po=t).addEvent,mo=po.arrayMax,yo=po.defined,vo=po.each,bo=po.extend,xo=po.format,wo=po.map,So=po.merge,ra=po.noop,_o=po.pick,Co=po.relativeLength,ko=po.Series,Xo=po.seriesTypes,Mo=po.stableSort,po.distribute=function(t,e){function n(t,e){return t.target-e.target}for(var i=!0,r=t,o=[],a=0,s=t.length;s--;)a+=t[s].size;if(e<a){for(Mo(t,function(t,e){return(e.rank||0)-(t.rank||0)}),a=s=0;a<=e;)a+=t[s].size,s++;o=t.splice(s-1,t.length)}for(Mo(t,n),t=wo(t,function(t){return{size:t.size,targets:[t.target]}});i;){for(s=t.length;s--;)i=t[s],a=(Math.min.apply(0,i.targets)+Math.max.apply(0,i.targets))/2,i.pos=Math.min(Math.max(0,a-i.size/2),e-i.size);for(s=t.length,i=!1;s--;)0<s&&t[s-1].pos+t[s-1].size>t[s].pos&&(t[s-1].size+=t[s].size,t[s-1].targets=t[s-1].targets.concat(t[s].targets),t[s-1].pos+t[s-1].size>e&&(t[s-1].pos=e-t[s-1].size),t.splice(s,1),i=!0)}s=0,vo(t,function(t){var e=0;vo(t.targets,function(){r[s].pos=t.pos+e,e+=r[s].size,s++})}),r.push.apply(r,o),Mo(r,n)},ko.prototype.drawDataLabels=function(){var l,u,c,h,d=this,f=d.options,p=f.dataLabels,t=d.points,e=d.hasRendered||0,n=_o(p.defer,!!f.animation),g=d.chart.renderer;(p.enabled||d._hasPointLabels)&&(d.dlProcessOptions&&d.dlProcessOptions(p),h=d.plotGroup("dataLabelsGroup","data-labels",n&&!e?"hidden":"visible",p.zIndex||6),n&&(h.attr({opacity:+e}),e||go(d,"afterAnimate",function(){d.visible&&h.show(!0),h[f.animation?"animate":"attr"]({opacity:1},{duration:200})})),u=p,vo(t,function(t){var e,n,i,r,o=t.dataLabel,a=t.connector,s=!o;l=t.dlOptions||t.options&&t.options.dataLabels,(e=_o(l&&l.enabled,u.enabled)&&null!==t.y)&&(p=So(u,l),n=t.getLabelConfig(),c=p.format?xo(p.format,n):p.formatter.call(n,p),r=p.style,n=p.rotation,r.color=_o(p.color,r.color,d.color,"#000000"),"contrast"===r.color&&(t.contrastColor=g.getContrast(t.color||d.color),r.color=p.inside||_o(t.labelDistance,p.distance)<0||f.stacking?t.contrastColor:"#000000"),f.cursor&&(r.cursor=f.cursor),i={fill:p.backgroundColor,stroke:p.borderColor,"stroke-width":p.borderWidth,r:p.borderRadius||0,rotation:n,padding:p.padding,zIndex:1},po.objectEach(i,function(t,e){void 0===t&&delete i[e]})),!o||e&&yo(c)?e&&yo(c)&&(o?i.text=c:(o=t.dataLabel=g[n?"text":"label"](c,0,-9999,p.shape,null,null,p.useHTML,null,"data-label")).addClass("highcharts-data-label-color-"+t.colorIndex+" "+(p.className||"")+(p.useHTML?"highcharts-tracker":"")),o.attr(i),o.css(r).shadow(p.shadow),o.added||o.add(h),d.alignDataLabel(t,o,p,null,s)):(t.dataLabel=o=o.destroy(),a&&(t.connector=a.destroy()))}))},ko.prototype.alignDataLabel=function(t,e,n,i,r){var o,a=this.chart,s=a.inverted,l=_o(t.plotX,-9999),u=_o(t.plotY,-9999),c=e.getBBox(),h=n.rotation,d=n.align,f=this.visible&&(t.series.forceDL||a.isInsidePlot(l,Math.round(u),s)||i&&a.isInsidePlot(l,s?i.x+1:i.y+i.height-1,s)),p="justify"===_o(n.overflow,"justify");f&&(o=n.style.fontSize,o=a.renderer.fontMetrics(o,e).b,i=bo({x:s?this.yAxis.len-u:l,y:Math.round(s?this.xAxis.len-l:u),width:0,height:0},i),bo(n,{width:c.width,height:c.height}),h?(p=!1,l=a.renderer.rotCorr(o,h),l={x:i.x+n.x+i.width/2+l.x,y:i.y+n.y+{top:0,middle:.5,bottom:1}[n.verticalAlign]*i.height},e[r?"attr":"animate"](l).attr({align:d}),u=180<(u=(h+720)%360)&&u<360,"left"===d?l.y-=u?c.height:0:"center"===d?(l.x-=c.width/2,l.y-=c.height/2):"right"===d&&(l.x-=c.width,l.y-=u?0:c.height)):(e.align(n,null,i),l=e.alignAttr),p?t.isLabelJustified=this.justifyDataLabel(e,n,l,c,i,r):_o(n.crop,!0)&&(f=a.isInsidePlot(l.x,l.y)&&a.isInsidePlot(l.x+c.width,l.y+c.height)),n.shape&&!h)&&e[r?"attr":"animate"]({anchorX:s?a.plotWidth-t.plotY:t.plotX,anchorY:s?a.plotHeight-t.plotX:t.plotY}),f||(e.attr({y:-9999}),e.placed=!1)},ko.prototype.justifyDataLabel=function(t,e,n,i,r,o){var a,s=this.chart,l=e.align,u=e.verticalAlign,c=!t.box&&t.padding||0,h=n.x+c;return h<0&&("right"===l?e.align="left":e.x=-h,a=!0),(h=n.x+i.width-c)>s.plotWidth&&("left"===l?e.align="right":e.x=s.plotWidth-h,a=!0),(h=n.y+c)<0&&("bottom"===u?e.verticalAlign="top":e.y=-h,a=!0),(h=n.y+i.height-c)>s.plotHeight&&("top"===u?e.verticalAlign="bottom":e.y=s.plotHeight-h,a=!0),a&&(t.placed=!o,t.align(e,null,r)),a},Xo.pie&&(Xo.pie.prototype.drawDataLabels=function(){var n,s,l,u,c,h,d,f,p=this,t=p.data,g=p.chart,m=p.options.dataLabels,y=_o(m.connectorPadding,10),i=_o(m.connectorWidth,1),v=g.plotWidth,b=g.plotHeight,x=p.center,w=x[2]/2,S=x[1],e=[[],[]],_=[0,0,0,0];p.visible&&(m.enabled||p._hasPointLabels)&&(vo(t,function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)}),ko.prototype.drawDataLabels.apply(p),vo(t,function(t){t.dataLabel&&t.visible&&(e[t.half].push(t),t.dataLabel._pos=null)}),vo(e,function(t,e){var n,i,r,o=t.length,a=[];if(o)for(p.sortByAngle(t,e-.5),0<p.maxLabelDistance&&(n=Math.max(0,S-w-p.maxLabelDistance),i=Math.min(S+w+p.maxLabelDistance,g.plotHeight),vo(t,function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,S-w-t.labelDistance),t.bottom=Math.min(S+w+t.labelDistance,g.plotHeight),r=t.dataLabel.getBBox().height||21,t.positionsIndex=a.push({target:t.labelPos[1]-t.top+r/2,size:r,rank:t.y})-1)}),po.distribute(a,i+r-n)),f=0;f<o;f++)i=(c=t[f]).positionsIndex,l=c.labelPos,s=c.dataLabel,d=!1===c.visible?"hidden":"inherit",n=l[1],a&&yo(a[i])?void 0===a[i].pos?d="hidden":(u=a[i].size,h=c.top+a[i].pos):h=n,delete c.positionIndex,c=m.justify?x[0]+(e?-1:1)*(w+c.labelDistance):p.getX(h<c.top+2||h>c.bottom-2?n:h,e,c),s._attr={visibility:d,align:l[6]},s._pos={x:c+m.x+({left:y,right:-y}[l[6]]||0),y:h+m.y-10},l.x=c,l.y=h,_o(m.crop,!0)&&(l=s.getBBox().width,n=null,c-l<y?(n=Math.round(l-c+y),_[3]=Math.max(n,_[3])):v-y<c+l&&(n=Math.round(c+l-v+y),_[1]=Math.max(n,_[1])),h-u/2<0?_[0]=Math.max(Math.round(u/2-h),_[0]):b<h+u/2&&(_[2]=Math.max(Math.round(h+u/2-b),_[2])),s.sideOverflow=n)}),0===mo(_)||this.verifyDataLabelOverflow(_))&&(this.placeDataLabels(),i&&vo(this.points,function(t){var e;n=t.connector,(s=t.dataLabel)&&s._pos&&t.visible&&0<t.labelDistance?(d=s._attr.visibility,(e=!n)&&(t.connector=n=g.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+t.colorIndex).add(p.dataLabelsGroup),n.attr({"stroke-width":i,stroke:m.connectorColor||t.color||"#666666"})),n[e?"attr":"animate"]({d:p.connectorPath(t.labelPos)}),n.attr("visibility",d)):n&&(t.connector=n.destroy())}))},Xo.pie.prototype.connectorPath=function(t){var e=t.x,n=t.y;return _o(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]]},Xo.pie.prototype.placeDataLabels=function(){vo(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)},Xo.pie.prototype.alignDataLabel=ra,Xo.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(Co(i.innerSize||0,e),e),this.translate(n),this.drawDataLabels&&this.drawDataLabels()):a=!0),a}),Xo.column&&(Xo.column.prototype.alignDataLabel=function(t,e,n,i,r){var o=this.chart.inverted,a=t.series,s=t.dlBox||t.shapeArgs,l=_o(t.below,t.plotY>_o(this.translatedThreshold,a.yAxis.len)),u=_o(n.inside,!!this.options.stacking);s&&((i=So(s)).y<0&&(i.height+=i.y,i.y=0),0<(s=i.y+i.height-a.yAxis.len)&&(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}),u||(o?(i.x+=l?0:i.width,i.width=0):(i.y+=l?i.height:0,i.height=0))),n.align=_o(n.align,!o||u?"center":l?"right":"left"),n.verticalAlign=_o(n.verticalAlign,o||u?"middle":l?"top":"bottom"),ko.prototype.alignDataLabel.call(this,t,e,n,i,r),t.isLabelJustified&&t.contrastColor&&t.dataLabel.css({color:t.contrastColor})}),Ko=t.Chart,To=t.each,Do=t.objectEach,Ao=t.pick,Po=t.addEvent,Ko.prototype.callbacks.push(function(t){function e(){var i=[];To(t.yAxis||[],function(t){t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&Do(t.stacks,function(t){Do(t,function(t){i.push(t.label)})})}),To(t.series||[],function(t){var e=t.options.dataLabels,n=t.dataLabelCollections||["dataLabel"];(e.enabled||t._hasPointLabels)&&!e.allowOverlap&&t.visible&&To(n,function(e){To(t.points,function(t){t[e]&&(t[e].labelrank=Ao(t.labelrank,t.shapeArgs&&t.shapeArgs.height),i.push(t[e]))})})}),t.hideOverlappingLabels(i)}e(),Po(t,"redraw",e)}),Ko.prototype.hideOverlappingLabels=function(t){for(var e,n,i,r,o,a,s,l,u,c,h,d,f,p,g,m,y=t.length,v=0;v<y;v++)(e=t[v])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.width||(n=e.getBBox(),e.width=n.width,e.height=n.height));for(t.sort(function(t,e){return(e.labelrank||0)-(t.labelrank||0)}),v=0;v<y;v++)for(n=t[v],e=v+1;e<y;++e)i=t[e],n&&i&&n!==i&&n.placed&&i.placed&&0!==n.newOpacity&&0!==i.newOpacity&&(r=n.alignAttr,o=i.alignAttr,a=n.parentGroup,s=i.parentGroup,l=2*(!n.box&&n.padding||0),u=r.x+a.translateX,c=r.y+a.translateY,h=n.width-l,d=n.height-l,f=o.x+s.translateX,p=o.y+s.translateY,g=i.width-l,m=i.height-l,!(u+h<f||f+g<u||c+d<p||p+m<c))&&((n.labelrank<i.labelrank?n:i).newOpacity=0);To(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)})},Oo=(Eo=t).addEvent,Lo=Eo.Chart,Io=Eo.createElement,No=Eo.css,Ro=Eo.defaultOptions,Fo=Eo.defaultPlotOptions,jo=Eo.each,Ho=Eo.extend,Bo=Eo.fireEvent,zo=Eo.hasTouch,Wo=Eo.inArray,$o=Eo.isObject,qo=Eo.Legend,Uo=Eo.merge,Yo=Eo.pick,Go=Eo.Point,ra=Eo.Series,Xo=Eo.seriesTypes,Vo=Eo.svg,Ko=Eo.TrackerMixin={drawTrackerPoint:function(){function e(t){var e=i.getPointFromEvent(t);void 0!==e&&(i.isDirectTouch=!0,e.onMouseOver(t))}var n=this,i=n.chart.pointer;jo(n.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)}),n._hasTracking||(jo(n.trackerGroups,function(t){n[t]&&(n[t].addClass("highcharts-tracker").on("mouseover",e).on("mouseout",function(t){i.onTrackerMouseOut(t)}),zo&&n[t].on("touchstart",e),n.options.cursor&&n[t].css(No).css({cursor:n.options.cursor}))}),n._hasTracking=!0)},drawTrackerGraph:function(){function e(){s.hoverSeries!==n&&n.onMouseOver()}var t,n=this,i=n.options,r=i.trackByArea,o=[].concat(r?n.areaPath:n.graphPath),a=o.length,s=n.chart,l=s.pointer,u=s.renderer,c=s.options.tooltip.snap,h=n.tracker,d="rgba(192,192,192,"+(Vo?1e-4:.002)+")";if(a&&!r)for(t=a+1;t--;)"M"===o[t]&&o.splice(t+1,0,o[t+1]-c,o[t+2],"L"),(t&&"M"===o[t]||t===a)&&o.splice(t,0,"L",o[t-2]+c,o[t-1]);h?h.attr({d:o}):n.graph&&(n.tracker=u.path(o).attr({"stroke-linejoin":"round",visibility:n.visible?"visible":"hidden",stroke:d,fill:r?d:"none","stroke-width":n.graph.strokeWidth()+(r?0:2*c),zIndex:2}).add(n.group),jo([n.tracker,n.markerGroup],function(t){t.addClass("highcharts-tracker").on("mouseover",e).on("mouseout",function(t){l.onTrackerMouseOut(t)}),i.cursor&&t.css({cursor:i.cursor}),zo&&t.on("touchstart",e)}))}},Xo.column&&(Xo.column.prototype.drawTracker=Ko.drawTrackerPoint),Xo.pie&&(Xo.pie.prototype.drawTracker=Ko.drawTrackerPoint),Xo.scatter&&(Xo.scatter.prototype.drawTracker=Ko.drawTrackerPoint),Ho(qo.prototype,{setItemEvents:function(n,t,e){var i=this,r=i.chart.renderer.boxWrapper,o="highcharts-legend-"+(n.series?"point":"series")+"-active";(e?t:n.legendGroup).on("mouseover",function(){n.setState("hover"),r.addClass(o),t.css(i.options.itemHoverStyle)}).on("mouseout",function(){t.css(Uo(n.visible?i.itemStyle:i.itemHiddenStyle)),r.removeClass(o),n.setState()}).on("click",function(t){function e(){n.setVisible&&n.setVisible()}t={browserEvent:t},n.firePointEvent?n.firePointEvent("legendItemClick",t,e):Bo(n,"legendItemClick",t,e)})},createCheckboxForItem:function(e){e.checkbox=Io("input",{type:"checkbox",checked:e.selected,defaultChecked:e.selected},this.options.itemCheckboxStyle,this.chart.container),Oo(e.checkbox,"click",function(t){Bo(e.series||e,"checkboxClick",{checked:t.target.checked,item:e},function(){e.select()})})}}),Ro.legend.itemStyle.cursor="pointer",Ho(Lo.prototype,{showResetZoom:function(){var t=this,e=Ro.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;Bo(t,"selection",{resetSelection:!0},function(){t.zoom()})},zoom:function(t){var n,e,i=this.pointer,r=!1;!t||t.resetSelection?(jo(this.axes,function(t){n=t.zoom()}),i.initiated=!1):jo(t.xAxis.concat(t.yAxis),function(t){var e=t.axis;i[e.isXAxis?"zoomX":"zoomY"]&&(n=e.zoom(t.min,t.max),e.displayBtn&&(r=!0))}),e=this.resetZoomButton,r&&!e?this.showResetZoom():!r&&$o(e)&&(this.resetZoomButton=e.destroy()),n&&this.redraw(Yo(this.options.chart.animation,t&&t.animation,this.pointCount<100))},pan:function(u,t){var c,h=this,e=h.hoverPoints;e&&jo(e,function(t){t.setState()}),jo("xy"===t?[1,0]:[1],function(t){var e=(t=h[t?"xAxis":"yAxis"][0]).horiz,n=u[e?"chartX":"chartY"],i=h[e=e?"mouseDownX":"mouseDownY"],r=(t.pointRange||0)/2,o=t.getExtremes(),a=t.toValue(i-n,!0)+r,s=(r=t.toValue(i+t.len-n,!0)-r)<a,i=s?r:a,a=s?a:r,l=(r=Math.min(o.dataMin,t.toValue(t.toPixels(o.min)-t.minPixelPadding)))-i;0<l&&(a+=l,i=r),0<(l=a-(s=Math.max(o.dataMax,t.toValue(t.toPixels(o.max)+t.minPixelPadding))))&&(a=s,i-=l),t.series.length&&i!==o.min&&a!==o.max&&(t.setExtremes(i,a,!1,!1,{trigger:"pan"}),c=!0),h[e]=n}),c&&h.redraw(!1),No(h.container,{cursor:"move"})}}),Ho(Go.prototype,{select:function(t,e){var n=this,i=n.series,r=i.chart;t=Yo(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},function(){n.selected=n.options.selected=t,i.options.data[Wo(n,i.data)]=n.options,n.setState(t&&"select"),e||jo(r.getSelectedPoints(),function(t){t.selected&&t!==n&&(t.selected=t.options.selected=!1,i.options.data[Wo(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"),jo(t.hoverPoints||[],function(t){t.setState()}),t.hoverPoints=t.hoverPoint=null},importEvents:function(){var n,t;this.hasImportedEvents||(t=Uo((n=this).series.options.point,n.options).events,n.events=t,Eo.objectEach(t,function(t,e){Oo(n,e,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]||{},s=Fo[o.type].marker&&o.options.marker,l=s&&!1===s.enabled,u=s&&s.states&&s.states[t]||{},c=!1===u.enabled,h=o.stateMarkerGraphic,d=this.marker||{},f=o.chart,p=o.halo,g=s&&o.markerAttribs;(t=t||"")===this.state&&!e||this.selected&&"select"!==t||!1===a.enabled||t&&(c||l&&!1===u.enabled)||t&&d.states&&d.states[t]&&!1===d.states[t].enabled||(g&&(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),Yo(f.options.chart.animation,a.animation)),n&&this.graphic.animate(n,Yo(f.options.chart.animation,u.animation,s.animation)),h&&h.hide()):(t&&u&&(s=d.symbol||o.symbol,(h=h&&h.currentSymbol!==s?h.destroy():h)?h[e?"animate":"attr"]({x:n.x,y:n.y}):s&&(o.stateMarkerGraphic=h=f.renderer.symbol(s,n.x,n.y,n.width,n.height).add(o.markerGroup),h.currentSymbol=s),h&&h.attr(o.pointAttribs(this,t))),h&&(h[t&&f.isInsidePlot(i,r,f.inverted)?"show":"hide"](),h.element.point=this)),(i=a.halo)&&i.size?(p||(o.halo=p=f.renderer.path().add((this.graphic||h).parentGroup)),p[e?"animate":"attr"]({d:this.haloPath(i.size)}),p.attr({class:"highcharts-halo highcharts-color-"+Yo(this.colorIndex,o.colorIndex)}),p.point=this,p.attr(Ho({fill:this.color||o.color,"fill-opacity":i.opacity,zIndex:-1},i.attributes))):p&&p.point&&p.point.haloPath&&p.animate({d:p.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)}}),Ho(ra.prototype,{onMouseOver:function(){var t=this.chart,e=t.hoverSeries;e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&Bo(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&&Bo(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),this.setState()},setState:function(e){var n=this,t=n.options,i=n.graph,r=t.states,o=t.lineWidth,t=0;if(n.state!==(e=e||"")&&(jo([n.group,n.markerGroup,n.dataLabelsGroup],function(t){t&&(n.state&&t.removeClass("highcharts-series-"+n.state),e&&t.addClass("highcharts-series-"+e))}),!r[n.state=e]||!1!==r[e].enabled)&&(e&&(o=r[e].lineWidth||o+(r[e].lineWidthPlus||0)),i&&!i.dashstyle))for(i.animate(o={"stroke-width":o},Yo(n.chart.options.chart.animation,r[e]&&r[e].animation));n["zone-graph-"+t];)n["zone-graph-"+t].attr(o),t+=1},setVisible:function(e,t){var n=this,i=n.chart,r=n.legendItem,o=i.options.chart.ignoreHiddenSeries,a=n.visible,s=(n.visible=e=n.options.visible=n.userOptions.visible=void 0===e?!a:e)?"show":"hide";jo(["group","dataLabelsGroup","markerGroup","tracker","tt"],function(t){n[t]&&n[t][s]()}),i.hoverSeries!==n&&(i.hoverPoint&&i.hoverPoint.series)!==n||n.onMouseOut(),r&&i.legend.colorizeItem(n,e),n.isDirty=!0,n.options.stacking&&jo(i.series,function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)}),jo(n.linkedSeries,function(t){t.setVisible(e,!1)}),o&&(i.isDirtyBox=!0),!1!==t&&i.redraw(),Bo(n,s)},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),Bo(this,t?"select":"unselect")},drawTracker:Ko.drawTrackerGraph}),Ko=(Zo=t).Chart,Jo=Zo.each,Qo=Zo.inArray,ta=Zo.isArray,ea=Zo.isObject,na=Zo.pick,ia=Zo.splat,Ko.prototype.setResponsive=function(e){var t=this.options.responsive,n=[],i=this.currentResponsive;t&&t.rules&&Jo(t.rules,function(t){void 0===t._id&&(t._id=Zo.uniqueKey()),this.matchResponsiveRule(t,n,e)},this);var r=Zo.merge.apply(0,Zo.map(n,function(e){return Zo.find(t.rules,function(t){return t._id===e}).chartOptions}));(n=n.toString()||void 0)!==(i&&i.ruleIds)&&(i&&this.update(i.undoOptions,e),n?(this.currentResponsive={ruleIds:n,mergedOptions:r,undoOptions:this.currentOptions(r)},this.update(r,e)):this.currentResponsive=void 0)},Ko.prototype.matchResponsiveRule=function(t,e){var n=t.condition;(n.callback||function(){return this.chartWidth<=na(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=na(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=na(n.minWidth,0)&&this.chartHeight>=na(n.minHeight,0)}).call(this)&&e.push(t._id)},Ko.prototype.currentOptions=function(t){var e={};return function n(i,r,o,a){var s;Zo.objectEach(i,function(t,e){if(!a&&-1<Qo(e,["series","xAxis","yAxis"]))for(i[e]=ia(i[e]),o[e]=[],s=0;s<i[e].length;s++)r[e][s]&&(o[e][s]={},n(t[s],r[e][s],o[e][s],a+1));else ea(t)?(o[e]=ta(t)?[]:{},n(t,r[e]||{},o[e],a+1)):o[e]=r[e]||null})}(t,this.options,e,0),e},t}),function(r,h){"use strict";var d="function",t="undefined",e="model",n="name",i="type",o="vendor",a="version",s="architecture",l="console",u="mobile",c="tablet",f="smarttv",p="wearable",g={extend:function(t,e){var n,i={};for(n in t)e[n]&&e[n].length%2==0?i[n]=e[n].concat(t[n]):i[n]=t[n];return i},has:function(t,e){return"string"==typeof t&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:h},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},m={rgx:function(t,e){for(var n,i,r,o,a,s=0;s<e.length&&!o;){for(var l=e[s],u=e[s+1],c=n=0;c<l.length&&!o;)if(o=l[c++].exec(t))for(i=0;i<u.length;i++)a=o[++n],"object"==typeof(r=u[i])&&0<r.length?2==r.length?typeof r[1]==d?this[r[0]]=r[1].call(this,a):this[r[0]]=r[1]:3==r.length?typeof r[1]!=d||r[1].exec&&r[1].test?this[r[0]]=a?a.replace(r[1],r[2]):h:this[r[0]]=a?r[1].call(this,a,r[2]):h:4==r.length&&(this[r[0]]=a?r[3].call(this,a.replace(r[1],r[2])):h):this[r]=a||h;s+=2}},str:function(t,e){for(var n in e)if("object"==typeof e[n]&&0<e[n].length){for(var i=0;i<e[n].length;i++)if(g.has(e[n][i],t))return"?"===n?h:n}else if(g.has(e[n],t))return"?"===n?h:n;return t}},y={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},v={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[n,a],[/(opios)[\/\s]+([\w\.]+)/i],[[n,"Opera Mini"],a],[/\s(opr)\/([\w\.]+)/i],[[n,"Opera"],a],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[n,a],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[n,"IE"],a],[/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i],[[n,"Edge"],a],[/(yabrowser)\/([\w\.]+)/i],[[n,"Yandex"],a],[/(puffin)\/([\w\.]+)/i],[[n,"Puffin"],a],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[n,"UCBrowser"],a],[/(comodo_dragon)\/([\w\.]+)/i],[[n,/_/g," "],a],[/(micromessenger)\/([\w\.]+)/i],[[n,"WeChat"],a],[/(qqbrowserlite)\/([\w\.]+)/i],[n,a],[/(QQ)\/([\d\.]+)/i],[n,a],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[n,a],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[n,a],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[n,a],[/(MetaSr)[\/\s]?([\w\.]+)/i],[n],[/(LBBROWSER)/i],[n],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[a,[n,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[a,[n,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[a,[n,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[n,/(.+)/,"$1 WebView"],a],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[n,/(.+(?:g|us))(.+)/,"$1 $2"],a],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[a,[n,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[n,a],[/(dolfin)\/([\w\.]+)/i],[[n,"Dolphin"],a],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[n,"Chrome"],a],[/(coast)\/([\w\.]+)/i],[[n,"Opera Coast"],a],[/fxios\/([\w\.-]+)/i],[a,[n,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[a,[n,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[a,n],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[n,"GSA"],a],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[n,[a,m.str,y.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[n,a],[/(navigator|netscape)\/([\w\.-]+)/i],[[n,"Netscape"],a],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[n,a]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[s,"amd64"]],[/(ia32(?=;))/i],[[s,g.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[s,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[s,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[s,/ower/,"",g.lowerize]],[/(sun4\w)[;\)]/i],[[s,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[s,g.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[e,o,[i,c]],[/applecoremedia\/[\w\.]+ \((ipad)/],[e,[o,"Apple"],[i,c]],[/(apple\s{0,1}tv)/i],[[e,"Apple TV"],[o,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[o,e,[i,c]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[e,[o,"Amazon"],[i,c]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[e,m.str,y.device.amazon.model],[o,"Amazon"],[i,u]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[e,o,[i,u]],[/\((ip[honed|\s\w*]+);/i],[e,[o,"Apple"],[i,u]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[o,e,[i,u]],[/\(bb10;\s(\w+)/i],[e,[o,"BlackBerry"],[i,u]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[e,[o,"Asus"],[i,c]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[o,"Sony"],[e,"Xperia Tablet"],[i,c]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[e,[o,"Sony"],[i,u]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[o,e,[i,l]],[/android.+;\s(shield)\sbuild/i],[e,[o,"Nvidia"],[i,l]],[/(playstation\s[34portablevi]+)/i],[e,[o,"Sony"],[i,l]],[/(sprint\s(\w+))/i],[[o,m.str,y.device.sprint.vendor],[e,m.str,y.device.sprint.model],[i,u]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[o,e,[i,c]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[o,[e,/_/g," "],[i,u]],[/(nexus\s9)/i],[e,[o,"HTC"],[i,c]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[e,[o,"Huawei"],[i,u]],[/(microsoft);\s(lumia[\s\w]+)/i],[o,e,[i,u]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[e,[o,"Microsoft"],[i,l]],[/(kin\.[onetw]{3})/i],[[e,/\./g," "],[o,"Microsoft"],[i,u]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[e,[o,"Motorola"],[i,u]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[e,[o,"Motorola"],[i,c]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[o,g.trim],[e,g.trim],[i,f]],[/hbbtv.+maple;(\d+)/i],[[e,/^/,"SmartTV"],[o,"Samsung"],[i,f]],[/\(dtv[\);].+(aquos)/i],[e,[o,"Sharp"],[i,f]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[o,"Samsung"],e,[i,c]],[/smart-tv.+(samsung)/i],[o,[i,f],e],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[o,"Samsung"],e,[i,u]],[/sie-(\w*)/i],[e,[o,"Siemens"],[i,u]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[o,"Nokia"],e,[i,u]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[e,[o,"Acer"],[i,c]],[/android.+([vl]k\-?\d{3})\s+build/i],[e,[o,"LG"],[i,c]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[o,"LG"],e,[i,c]],[/(lg) netcast\.tv/i],[o,e,[i,f]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[e,[o,"LG"],[i,u]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[e,[o,"Lenovo"],[i,c]],[/linux;.+((jolla));/i],[o,e,[i,u]],[/((pebble))app\/[\d\.]+\s/i],[o,e,[i,p]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[o,e,[i,u]],[/crkey/i],[[e,"Chromecast"],[o,"Google"]],[/android.+;\s(glass)\s\d/i],[e,[o,"Google"],[i,p]],[/android.+;\s(pixel c)\s/i],[e,[o,"Google"],[i,c]],[/android.+;\s(pixel xl|pixel)\s/i],[e,[o,"Google"],[i,u]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[o,"Xiaomi"],[i,u]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[e,/_/g," "],[o,"Xiaomi"],[i,c]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[e,[o,"Meizu"],[i,c]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[e,[o,"OnePlus"],[i,u]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[e,[o,"RCA"],[i,c]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[e,[o,"Dell"],[i,c]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[e,[o,"Verizon"],[i,c]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[o,"Barnes & Noble"],e,[i,c]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[e,[o,"NuVision"],[i,c]],[/android.+;\s(k88)\sbuild/i],[e,[o,"ZTE"],[i,c]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[e,[o,"Swiss"],[i,u]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[e,[o,"Swiss"],[i,c]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[e,[o,"Zeki"],[i,c]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[o,"Dragon Touch"],e,[i,c]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[e,[o,"Insignia"],[i,c]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[e,[o,"NextBook"],[i,c]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[o,"Voice"],e,[i,u]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[o,"LvTel"],e,[i,u]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[e,[o,"Envizen"],[i,c]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[o,e,[i,c]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[e,[o,"MachSpeed"],[i,c]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[o,e,[i,c]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[e,[o,"Rotor"],[i,c]],[/android.+(KS(.+))\s+build/i],[e,[o,"Amazon"],[i,c]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[o,e,[i,c]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[i,g.lowerize],o,e],[/(android[\w\.\s\-]{0,9});.+build/i],[e,[o,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[a,[n,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[n,a],[/rv\:([\w\.]{1,9}).+(gecko)/i],[a,n]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[n,a],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[n,[a,m.str,y.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[n,"Windows"],[a,m.str,y.os.windows.version]],[/\((bb)(10);/i],[[n,"BlackBerry"],a],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[n,a],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[n,"Symbian"],a],[/\((series40);/i],[n],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[n,"Firefox OS"],a],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[n,a],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[n,"Chromium OS"],a],[/(sunos)\s?([\w\.\d]*)/i],[[n,"Solaris"],a],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[n,a],[/(haiku)\s(\w+)/i],[n,a],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[a,/_/g,"."],[n,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[n,"Mac OS"],[a,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]*)/i],[n,a]]},b=function(t,e){if("object"==typeof t&&(e=t,t=h),!(this instanceof b))return new b(t,e).getResult();var n=t||(r&&r.navigator&&r.navigator.userAgent?r.navigator.userAgent:""),i=e?g.extend(v,e):v;return this.getBrowser=function(){var t={name:h,version:h};return m.rgx.call(t,n,i.browser),t.major=g.major(t.version),t},this.getCPU=function(){var t={architecture:h};return m.rgx.call(t,n,i.cpu),t},this.getDevice=function(){var t={vendor:h,model:h,type:h};return m.rgx.call(t,n,i.device),t},this.getEngine=function(){var t={name:h,version:h};return m.rgx.call(t,n,i.engine),t},this.getOS=function(){var t={name:h,version:h};return m.rgx.call(t,n,i.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=t,this},this};b.VERSION="0.7.18",b.BROWSER={NAME:n,MAJOR:"major",VERSION:a},b.CPU={ARCHITECTURE:s},b.DEVICE={MODEL:e,VENDOR:o,TYPE:i,CONSOLE:l,MOBILE:u,SMARTTV:f,TABLET:c,WEARABLE:p,EMBEDDED:"embedded"},b.ENGINE={NAME:n,VERSION:a},b.OS={NAME:n,VERSION:a},typeof exports!=t?(typeof module!=t&&module.exports&&(exports=module.exports=b),exports.UAParser=b):typeof define==d&&define.amd?define(function(){return b}):r&&(r.UAParser=b);var x,w=r&&(r.jQuery||r.Zepto);typeof w!=t&&(x=new b,w.ua=x.getResult(),w.ua.get=function(){return x.getUA()},w.ua.set=function(t){x.setUA(t);var e,n=x.getResult();for(e in n)w.ua[e]=n[e]})}("object"==typeof window?window:this);