Current section
Files
Jump to
Current section
Files
lib/wobserver/assets.ex
defmodule Wobserver.Assets do
@moduledoc false
@lint false
@doc false
@spec html :: String.t
def html do
~S"""
<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="ie=edge"><title>Wobserver NG</title><meta name="description" content="A web based version of the Erlang observer."><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="theme-color" content="#3636e2"><link rel="apple-touch-icon" href="apple-touch-icon.png"><!-- Place favicon.ico in the root directory --><link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"><link rel="stylesheet" href="main.css"><script src="app.js"></script></head><body><div id="wobserver"></div></body></html>
"""
end
_ = @lint
@lint false
@doc false
@spec css :: String.t
def css do
~S"""
@import url(https://fonts.googleapis.com/css?family=Roboto);.wobserver-chart{display:inline-block;width:100% !important;height:20em;vertical-align:top;margin-bottom:2em !important}.wobserver-chart canvas{margin-bottom:2em}.wobserver-chart .chart-legend{margin-top:-4.2em}.wobserver-chart .chart-legend ul{list-style:none}.wobserver-chart .chart-legend ul li{display:inline-block}.wobserver-chart .chart-legend ul li+li{margin-left:1em}.wobserver-chart .chart-legend ul span{position:relative;top:0.2em;display:inline-block;border-radius:0.3em;border:solid 1px #000;width:1em;height:1em;margin-right:0.5em}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline}:focus{outline:0}html,body{width:100%;height:100%;color:#131313;background-color:#fefefe;font-family:"Roboto","Open Sans","Lato","Droid Sans",Verdana,Geneva,sans-serif;text-rendering:optimizeLegibility;text-rendering:geometricPrecision;font-smooth:always;font-smoothing:antialiased;-moz-font-smoothing:antialiased;-webkit-font-smoothing:antialiased;-webkit-font-smoothing:subpixel-antialiased;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input,select,textarea{font-family:"Roboto","Open Sans","Lato","Droid Sans",Verdana,Geneva,sans-serif}a{text-decoration:none;cursor:pointer;color:#574ba6}a:hover{cursor:pointer;color:#8e84d3}p{text-indent:2em}p+p{margin-top:1em}ul,ol{list-style-position:inside}h1{font-size:1.7em;font-weight:bold;color:#472e66}h2{font-size:1.4em;font-weight:bold;color:#472e66}h1::before,h2::before{font-family:FontAwesome, sans-serif;font-weight:normal;color:rgba(0,0,0,0.5);font-size:1rem;padding-right:0.7em;position:relative;left:0.2em;bottom:0.1em}p+h1,p+h2{margin-top:0.5em}#wobserver{position:relative;padding:0;height:100%;width:100%;margin:auto}input[type=submit]{-webkit-appearance:button;cursor:pointer;box-sizing:content-box}button{box-sizing:content-box;font-size:1rem;height:1.2em}.button,.button-primary,.button-success,.button-danger,.button-info{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;display:inline-block;margin:0.3em 0.3em;padding:0.5em 1em;color:#333;background-color:#fff;border:0;text-shadow:0 1px 2px rgba(0,0,0,0.25);box-shadow:0 0 5px 0 rgba(0,0,0,0.25);font-weight:400;text-align:center;text-indent:0;cursor:pointer;transition:background-color 0.1s;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.button:hover,.button-primary:hover,.button-success:hover,.button-danger:hover,.button-info:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.button:after,.button-primary:after,.button-success:after,.button-danger:after,.button-info:after{position:absolute;content:"";left:0;bottom:0;right:0;height:0.2em;background-color:rgba(0,0,0,0.4)}.button:active:after,.button-primary:active:after,.button-success:active:after,.button-danger:active:after,.button-info:active:after{background-color:rgba(0,0,0,0.2)}.button .disabled,.button-primary .disabled,.button-success .disabled,.button-danger .disabled,.button-info .disabled{opacity:0.6;cursor:not-allowed}.button-primary{color:#eee;background-color:#533678}.button-primary:hover{color:#eee;background-color:#3b2654}.button-success{color:#fff;background-color:#4cae4c}.button-success:hover{color:#fff;background-color:#449d44}.button-danger{color:#fff;background-color:#e44}.button-danger:hover{color:#fff;background-color:#ea1515}.button-info{color:#fff;background-color:#4d7fff}.button-info:hover{color:#fff;background-color:#1a5aff}#menu{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:inset -10px 0 20px -10px rgba(0,0,0,0.6);z-index:10;position:fixed;height:110%;overflow:hidden;text-overflow:ellipsis;background-color:#463366;color:#e5e5e5;transition:width 1s;width:3em;white-space:nowrap}@media screen and (min-width: 91.1em){#menu{box-shadow:none}}@media screen and (min-width: 720px){#menu{width:10em}}@media screen and (min-width: 91.1em){#menu{left:0;right:0;top:0;height:5.5em;width:auto;overflow:visible;margin:0;padding:0;transition:top 1s}#menu.hidden{top:-3em}#menu.hidden ol>li ol{top:2.5em}#menu.hidden ol>li header{top:2.5em}}@media screen and (max-width: 720px){#menu:hover{transition-delay:1s;width:10em}}#menu>header{display:block;box-sizing:border-box;transition:top 1s;width:10em;text-align:center;height:3em;line-height:3em;background-color:#5d4488;color:#eee;font-weight:bold;box-shadow:inset -10px 0 20px -10px rgba(0,0,0,0.6);padding:0 1em 0 3.5em}@media screen and (min-width: 91.1em){#menu>header{margin:0;padding:0;box-shadow:none;height:3em;line-height:3em;width:100%}}#menu>header i{box-sizing:border-box;position:absolute;left:0.25em;top:0.25em;width:2.5em;height:2.5em;background-size:100% 100%;display:inline-block;border-radius:0.5em}#menu>footer{display:none;position:absolute;bottom:0;box-sizing:border-box;width:10em;text-align:center;height:3em;line-height:3em;color:#5d4488}@media screen and (min-width: 720px){#menu>footer{display:block}}@media screen and (min-width: 91.1em){#menu>footer{display:none}}#menu ol{list-style-type:none}@media screen and (min-width: 91.1em){#menu ol{display:inline-block;width:auto}}#menu ol .separator{border-bottom:solid 1px #5d4488;margin:0.3em;width:9.4em}#menu ol>li ol{background-color:rgba(0,0,0,0.08);border-top:solid 1px #5d4488;border-bottom:solid 1px #5d4488}@media screen and (min-width: 91.1em){#menu ol>li ol{display:none}}@media screen and (max-height: 40.5em){#menu ol>li ol{display:none}}#menu ol>li header{display:none}@media screen and (min-width: 91.1em){#menu ol>li ol{z-index:90;margin:0;display:block;position:fixed;top:5.5em;left:20em;right:0;height:0;background-color:#231a33;border-top:none;border-bottom:none;overflow:hidden;transition:height 0.5s}#menu ol>li ol li{display:block}#menu ol>li ol.smallDropDown{left:0}#menu ol>li header{z-index:90;display:block;position:fixed;box-sizing:border-box;padding:0;white-space:normal;top:5.5em;left:0;width:20em;height:0;background-color:#171122;box-shadow:inset -10px 0 20px -10px rgba(0,0,0,0.6);overflow:hidden;transition:height 0.5s}#menu ol>li header p,#menu ol>li header h1{color:#656369;margin:0.5em 0.8em 0.5em 0.8em}#menu ol>li:hover ol{height:15em}#menu ol>li:hover ol.smallDropDown{height:2.5em}#menu ol>li:hover header{height:15em}}#menu ol li{position:relative;width:10em;transition:background-color 0.2s linear}@media screen and (min-width: 91.1em){#menu ol li{display:inline-block;width:auto;max-width:10em;float:left}}#menu ol li a{display:block;color:inherit;height:2.5em;line-height:2.5em;padding:0 0.5em 0 3em}@media screen and (min-width: 91.1em){#menu ol li a{height:2.5em;line-height:2.5em}}#menu ol li a>span{display:inline-block;width:6.5em;overflow:hidden;text-overflow:ellipsis}#menu ol li a .menuIcon{position:absolute;display:inline-block;left:1em;top:0.75em;width:1em;height:1em;text-align:center}#menu ol li a:hover{background-color:#2f2244}#menu ol li a::before{top:.625em;right:0;content:"";display:block;position:absolute;z-index:80;width:0;height:0;border-top:.625em solid transparent;border-bottom:.625em solid transparent;border-right:0 solid #fefefe;transition:border-right-width 0.2s linear, border-top-width 0.2s linear}@media screen and (min-width: 91.1em){#menu ol li a::before{border-right:.625em solid transparent;border-left:.625em solid transparent;border-top:0 solid #2f2244;top:2.5em;left:4.375em}}#menu ol li .selected{color:#fff;background-color:#2f2244}@media screen and (min-width: 720px){#menu ol li .selected::before{border-right-width:.625em}}@media screen and (min-width: 91.1em){#menu ol li .selected::before{border-top-width:.625em}}#menu .menu-footer{display:block;bottom:0;position:fixed;width:3em;text-align:center}@media screen and (max-width: 720px){#menu .menu-footer .button,#menu .menu-footer .button-primary,#menu .menu-footer .button-success,#menu .menu-footer .button-danger,#menu .menu-footer .button-info{padding:0;width:2.3em;height:2.3em;display:inline-block;margin-left:0.25em}#menu .menu-footer .button i,#menu .menu-footer .button-primary i,#menu .menu-footer .button-success i,#menu .menu-footer .button-danger i,#menu .menu-footer .button-info i{margin:0.65em}#menu .menu-footer .button span,#menu .menu-footer .button-primary span,#menu .menu-footer .button-success span,#menu .menu-footer .button-danger span,#menu .menu-footer .button-info span{display:none}}@media screen and (min-width: 720px){#menu .menu-footer{width:10.5em}}@media screen and (min-width: 91.1em){#menu .menu-footer{display:none}}.elixir-icon{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAEI6SURBVHhe7Z0HeFtVtu+3ZVmWFbcEZkKKrXJU3YtkyZJrnF4JLbSENiQESIDQIfQyhF6HDumkN5LQe01CCaH3XqbfO+XOffd+75v3W3sf2Q4w79373rwZHLy/7/8dWZato7N++7/WOk3qxz5aVWtupZrcWKumjref6h8/jjHVUaH2TVSpqXOq1b5X1ap9T7B/0T/29BFTo60KNenYKjX50mo19cJqNeVCAaFeHeu0X9I/9sRRr+qdMTVhXKWacEGlmngR1n8uy3Nq1L7nV6kp86LqgAH2S/vHnjYq1eiamBpDwMddSNBZTjjbaNLZBH9+jZp8ZlxNGWS/vH/sSSOa29FG0L+pUONXV6gxp8TUODv4WU08p1pNxgnGD7X/pH/sKSOqRo2qVON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CJEwQEf2FFZq+99ho8pDQwXAAoxwWG7z08IAAMsQHwDvJGCX7VkGJvLc+FfUW+PeerX34oQ64xkFlOAUinMOH0mOwl1BDIaWQj26b+jV2q8vWs8gWWlspURFVmpKXSk+gOJlAYjgvk1Y213LiBM3Go5ZJTzFIzZWm5EifK6Wb+gqqqIUOGDJIcPmTgkGH7lPq1C5SRBgSEYXsHLAl4WWlZhcCwjyfUd6/m7SujWo0iLYzbz1xUMgYYJBWMnif7A4Dj//R1K7kA0BF0ZCZKTRDMSR0SzkkfE8ppPjbsTB8TdKVmBV3J2T6gGDLQGlbkKyr2D/b/pHyv8sFAMEQg6O0Ekg7k8dABQwfyv/vt/h85qtTYYZVqzGjqgJkxNZaWcfQZUhdE1egJAkm9mlhgv1QPOS8xxPO0iAeQDo4Iq9aj0THUBsdQI8wMOtLHhZzN07zOuppwSUlhOFxSKLOf3L/XbhCUDhkuIOy1l/+npaWlcjPnPfssnh/6iKr2AVE1qpJaYAIgHC1uQDcgQBxrdhCNJm2MmGKOGXTNDqvO4+gQjjVqOzakWmdEVcsEv7O50l/sL+If5pUAgLfQWyIzWyAYPHjw3oMHB/YeOnTowNLSqATdad69f/ygxlCVdBP44QS6DicYCRT7ydFCOXdAAJDOIKw6JkdUx2jASUZUS4i/GTjfnsXRaDSPGV9AwD0yu6sGV3nkZ3meX/dbfN8c83PE/rOyn/y+IQHOqt/W+8eePpT6X8lbb+37Mvj3AAAAAElFTkSuQmCC")}#content{display:block;padding:1em 1em 1em 1em;position:relative;box-sizing:border-box;min-height:100%;background-color:#fefefe;transition:margin-left 1s, margin-left 1s, opacity 0.3s linear;margin-left:3em;margin-right:0;text-align:center}@media screen and (min-width: 720px){#content{margin-left:10em;padding-top:1em}}@media screen and (min-width: 91.1em){#content{margin-left:0;margin-right:0;padding-top:7em;padding-bottom:3em}}#content>div{text-align:left;display:inline-block;width:auto;margin:auto}#content>table{text-align:left}#content>footer{display:block;position:absolute;bottom:0.8em;left:0;right:0;text-align:center;color:#e5e5e5}@media screen and (min-width: 720px){#content>footer{display:none}}#content select{font-size:100%}#footer{position:fixed;bottom:0;right:0;left:0;color:#eee;background-color:#5d4488;display:none}@media screen and (min-width: 91.1em){#footer{display:block}}#node_selection{overflow:hidden;margin:auto;width:20em;border-radius:0.5em;border:solid 1px #000;background-color:#fefefe}#node_selection>span{color:#fff;background-color:#564376;width:100%;display:block;padding:0.3em;font-size:120%}#node_selection ul{margin:0;padding:0;list-style:none}#node_selection ul li.node{padding:0.5em;cursor:pointer}#node_selection ul li.node span{font-weight:bold;display:block;font-size:120%}#node_selection ul li.node detail{font-size:90%;padding-left:2em;font-style:italic}#node_selection ul li.node:hover{background-color:rgba(47,34,68,0.2)}#node_selection ul .selected{cursor:default !important;color:#999}#node_selection ul .selected:hover{background-color:rgba(0,0,0,0) !important}#popup-overlay{position:fixed;left:0;right:0;top:0;bottom:0;z-index:15;background-color:rgba(0,0,0,0.8);display:flex;align-content:center}#process_information{overflow:hidden;position:absolute;left:0;right:0;top:0;bottom:0;margin:auto;max-width:35em;width:100%;height:50em;border-radius:0.5em;border:solid 1px #000;background-color:#fefefe}#process_information pre{height:19em;overflow:auto;margin:1em;background-color:rgba(255,255,255,0.5);border-radius:0.1em}#process_information>span{color:#fff;background-color:#564376;width:100%;display:block;padding:0.3em;font-size:120%}#process_information table{margin:0 1em;width:100%;text-align:left}#process_information table caption{color:#564376;font-weight:bold;font-size:115%}#process_information table+table{margin-top:1em}#process_information table tr th{width:50%;font-weight:bold}#process_information div#process_relations{text-align:center;margin-top:1em}#process_information div#process_relations div{width:30%;display:inline-block;text-align:left}#process_information div#process_relations div span{font-weight:bold}#process_information div#process_relations div ul{margin-top:-0.1em;height:4em;overflow:auto;background-color:rgba(255,255,255,0.1);padding-left:0}#process_information div#process_relations div ul li{list-style:none}#table_information{overflow:hidden;margin:auto;max-width:90%;width:auto;max-height:95%;height:auto;border-radius:0.5em;border:solid 1px #000;background-color:#eee}#table_information>span{color:#fff;background-color:#564376;width:100%;display:block;padding:0.3em;font-size:120%}#table_information>div{overflow:auto;height:auto;max-height:90vh}#table_information pre{margin:0}#table_information table{border-collapse:collapse;white-space:nowrap;padding:0;margin:0;min-width:100%}#table_information table tr:nth-child(even){background-color:rgba(86,67,118,0.1)}#table_information table th{font-weight:bold}#table_information table td,#table_information table th{height:100%;vertical-align:top;padding:0.3em;background-color:rgba(255,255,255,0.8);vertical-align:bottom;border-bottom:1px solid rgba(86,67,118,0.1);border-left:1px solid rgba(86,67,118,0.1)}#alloc_table{padding-top:2em}#alloc_table table{padding:0;margin:0;min-width:100%}#alloc_table table tr:nth-child(even){background-color:rgba(0,0,0,0.1)}#alloc_table table td{height:100%;vertical-align:top}.process-node{font-size:90%;border:1px solid #000;border-radius:1em;cursor:pointer}.process-node p{margin:0.3em 0.7em 0.3em -1em}.process-node p:nth-child(even){font-style:italic}.gen_server{background-color:#ddd}.supervisor{background-color:#7ff}.application{background-color:#9f9}.unknown{background-color:#fff}.process-node:hover{border:1px solid #000;border-radius:1em;background-color:#adf}#applications_app_list{margin-left:0.3em}#applications_header{position:absolute;top:1em;left:1em;z-index:1}@media screen and (min-width: 91.1em){#applications_header{top:6em}}#application_chart{box-sizing:border-box;position:absolute;left:0;right:0;top:1em;bottom:1em}@media screen and (min-width: 91.1em){#application_chart{top:6em;bottom:3em}}.Treant{position:relative;overflow:hidden;padding:0 !important}.Treant>.node,.Treant>.pseudo{position:absolute;display:block;visibility:hidden}.Treant.Treant-loaded .node,.Treant.Treant-loaded .pseudo{visibility:visible}.Treant>.pseudo{width:0;height:0;border:none;padding:0}.Treant .collapse-switch{width:3px;height:3px;display:block;border:1px solid black;position:absolute;top:1px;right:1px;cursor:pointer}.Treant .collapsed .collapse-switch{background-color:#868DEE}.Treant>.node img{border:none;float:left}table.inline{max-width:27em;width:100%;display:inline-block;background-color:rgba(0,0,0,0.1);border-radius:0.5em;border:solid 1px rgba(0,0,0,0.1);margin:0.8em;vertical-align:top}table.inline caption{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:110%;background-color:rgba(0,0,0,0.1);border-bottom:solid 1px rgba(0,0,0,0.1);padding:0.1em 0 0.1em 0}table.inline th{text-align:left;width:14em}table.inline th::after{content:':'}table.inline td{width:13em}table.inline td .load{display:inline-block;width:2em;text-align:right}table.inline td .high{color:#f00}div.table-holder{max-width:100%;overflow:auto}table.process_table{border-collapse:collapse;white-space:nowrap;border:solid 1px rgba(0,0,0,0.2)}table.process_table td,table.process_table th{vertical-align:bottom;border-bottom:1px solid rgba(86,67,118,0.1)}table.process_table thead{color:#fff;background-color:#564376;font-size:105%;cursor:pointer}table.process_table thead th{padding:0.5em}table.process_table td{padding:0.3em;background-color:rgba(255,255,255,0.8)}table.process_table tr:nth-child(even){background-color:rgba(86,67,118,0.1)}table.generic_array_table{border-collapse:collapse;white-space:nowrap;border:solid 1px rgba(0,0,0,0.2)}table.generic_array_table td,table.generic_array_table th{vertical-align:bottom;border-bottom:1px solid rgba(86,67,118,0.1)}table.generic_array_table caption{font-size:1.7em;font-weight:bold;color:#472e66;text-transform:capitalize}table.generic_array_table thead{color:#fff;background-color:#564376;font-size:105%;cursor:pointer}table.generic_array_table thead th{padding:0.5em}table.generic_array_table td{padding:0.3em;background-color:rgba(255,255,255,0.8)}table.generic_array_table tr:nth-child(even){background-color:rgba(86,67,118,0.1)}.about{max-width:100%}.about table{width:100%}.about table th{font-weight:bold;padding:0 1em 0 1em}.about table th::after{content:':'}
"""
end
_ = @lint
@lint false
@doc false
@spec js :: String.t
def js do
~S"""
(function(){"use strict";function o(t){function i(t,i){return t["offset"+i]||document.defaultView.getComputedStyle(t).getPropertyValue(i)}this.canvas=t.canvas,this.ctx=t;var e=this.width=i(t.canvas,"Width"),s=this.height=i(t.canvas,"Height");return t.canvas.width=e,t.canvas.height=s,this.width=t.canvas.width,this.height=t.canvas.height,this.aspectRatio=this.width/this.height,u.retinaScale(this),this}var t,i,e=this,s=e.Chart,u=(o.defaults={global:{animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:"<%=value%>",scaleIntegersOnly:!0,scaleBeginAtZero:!1,scaleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",responsive:!1,maintainAspectRatio:!0,showTooltips:!0,customTooltips:!1,tooltipEvents:["mousemove","touchstart","touchmove","mouseout"],tooltipFillColor:"rgba(0,0,0,0.8)",tooltipFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipFontSize:14,tooltipFontStyle:"normal",tooltipFontColor:"#fff",tooltipTitleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipTitleFontSize:14,tooltipTitleFontStyle:"bold",tooltipTitleFontColor:"#fff",tooltipYPadding:6,tooltipXPadding:6,tooltipCaretSize:8,tooltipCornerRadius:6,tooltipXOffset:10,tooltipTemplate:"<%if (label){%><%=label%>: <%}%><%= value %>",multiTooltipTemplate:"<%= value %>",multiTooltipKeyBackground:"#fff",onAnimationProgress:function(){},onAnimationComplete:function(){}}},o.types={},o.helpers={}),d=u.each=function(t,i,e){var s=Array.prototype.slice.call(arguments,3);if(t)if(t.length===+t.length)for(var n=0;n<t.length;n++)i.apply(e,[t[n],n].concat(s));else for(var o in t)i.apply(e,[t[o],o].concat(s))},a=u.clone=function(e){var s={};return d(e,function(t,i){e.hasOwnProperty(i)&&(s[i]=t)}),s},h=u.extend=function(s){return d(Array.prototype.slice.call(arguments,1),function(e){d(e,function(t,i){e.hasOwnProperty(i)&&(s[i]=t)})}),s},l=u.merge=function(){var t=Array.prototype.slice.call(arguments,0);return t.unshift({}),h.apply(null,t)},n=u.indexOf=function(t,i){if(Array.prototype.indexOf)return t.indexOf(i);for(var e=0;e<t.length;e++)if(t[e]===i)return e;return-1},r=(u.where=function(t,i){var e=[];return u.each(t,function(t){i(t)&&e.push(t)}),e},u.findNextWhere=function(t,i,e){for(var s=(e=e||-1)+1;s<t.length;s++){var n=t[s];if(i(n))return n}},u.findPreviousWhere=function(t,i,e){for(var s=(e=e||t.length)-1;0<=s;s--){var n=t[s];if(i(n))return n}},u.inherits=function(t){function i(){this.constructor=s}var e=this,s=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)};return i.prototype=e.prototype,s.prototype=new i,s.extend=r,t&&h(s.prototype,t),s.__super__=e.prototype,s}),c=u.noop=function(){},p=u.uid=(t=0,function(){return"chart-"+t++}),f=u.warn=function(t){window.console&&"function"==typeof window.console.warn&&console.warn(t)},g=u.amd="function"==typeof define&&define.amd,m=u.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},S=u.max=function(t){return Math.max.apply(Math,t)},x=u.min=function(t){return Math.min.apply(Math,t)},v=(u.cap=function(t,i,e){if(m(i)){if(i<t)return i}else if(m(e)&&t<e)return e;return t},u.getDecimalPlaces=function(t){return t%1!=0&&m(t)?t.toString().split(".")[1].length:0}),y=u.radians=function(t){return t*(Math.PI/180)},C=(u.getAngleFromPoint=function(t,i){var e=i.x-t.x,i=i.y-t.y,t=Math.sqrt(e*e+i*i),s=2*Math.PI+Math.atan2(i,e);return e<0&&i<0&&(s+=2*Math.PI),{angle:s,distance:t}},u.aliasPixel=function(t){return t%2==0?0:.5}),w=(u.splineCurve=function(t,i,e,s){var n=Math.sqrt(Math.pow(i.x-t.x,2)+Math.pow(i.y-t.y,2)),o=Math.sqrt(Math.pow(e.x-i.x,2)+Math.pow(e.y-i.y,2)),a=s*n/(n+o),s=s*o/(n+o);return{inner:{x:i.x-a*(e.x-t.x),y:i.y-a*(e.y-t.y)},outer:{x:i.x+s*(e.x-t.x),y:i.y+s*(e.y-t.y)}}},u.calculateOrderOfMagnitude=function(t){return Math.floor(Math.log(t)/Math.LN10)}),b=(u.calculateScaleRange=function(t,i,e,s,n){var o=Math.floor(i/(1.5*e)),a=o<=2,i=S(t),e=x(t);i===e&&(i+=.5,.5<=e&&!s?e-=.5:i+=.5);for(var t=Math.abs(i-e),h=w(t),t=Math.ceil(i/+Math.pow(10,h))*Math.pow(10,h),i=s?0:Math.floor(e/+Math.pow(10,h))*Math.pow(10,h),l=t-i,r=Math.pow(10,h),c=Math.round(l/r);(o<c||2*c<o)&&!a;)if(o<c)r*=2,(c=Math.round(l/r))%1!=0&&(a=!0);else{if(n&&0<=h&&r/2%1!=0)break;r/=2,c=Math.round(l/r)}return a&&(r=l/(c=2)),{steps:c,stepValue:r,min:i,max:i+c*r}},u.template=function(t,i){var e;return t instanceof Function||(e={},i=i,t=/\W/.test(t=t)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+t.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split("\t").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');"):e[t],i)?t(i):t}),P=(u.generateLabels=function(e,t,s,n){var o=new Array(t);return labelTemplateString&&d(o,function(t,i){o[i]=b(e,{value:s+n*(i+1)})}),o},u.easingEffects={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t=+t-1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=+t-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return(t/=1)*t*t*t*t},easeOutQuint:function(t){return(t=+t-1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(+t*(Math.PI/2))+1},easeOutSine:function(t){return+Math.sin(+t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?1:+Math.pow(2,10*(+t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return+Math.sqrt(1-(t=+t-1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var i=1.70158,e=0,s=1;return 0===t?0:1==(t/=1)?1:(e=e||.3,i=s<Math.abs(1)?(s=1,e/4):e/(2*Math.PI)*Math.asin(1/s),-(s*Math.pow(2,10*--t)*Math.sin(2*(+t-i)*Math.PI/e)))},easeOutElastic:function(t){var i=1.70158,e=0,s=1;return 0===t?0:1==(t/=1)?1:(e=e||.3,i=s<Math.abs(1)?(s=1,e/4):e/(2*Math.PI)*Math.asin(1/s),s*Math.pow(2,-10*t)*Math.sin(2*(+t-i)*Math.PI/e)+1)},easeInOutElastic:function(t){var i=1.70158,e=0,s=1;return 0===t?0:2==(t/=.5)?1:(e=e||.3*1.5,i=s<Math.abs(1)?(s=1,e/4):e/(2*Math.PI)*Math.asin(1/s),t<1?-.5*s*Math.pow(2,10*--t)*Math.sin(2*(+t-i)*Math.PI/e):s*Math.pow(2,-10*--t)*Math.sin(2*(+t-i)*Math.PI/e)*.5+1)},easeInBack:function(t){return(t/=1)*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t=+t-1)*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var i=1.70158;return(t/=.5)<1?.5*t*t*((1+(i*=1.525))*t-i):.5*((t-=2)*t*((1+(i*=1.525))*t+i)+2)},easeInBounce:function(t){return 1-P.easeOutBounce(1-t)},easeOutBounce:function(t){return(t/=1)<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},easeInOutBounce:function(t){return t<.5?.5*P.easeInBounce(2*t):.5*P.easeOutBounce(2*t-1)+.5}}),L=u.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},k=u.cancelAnimFrame=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(t){return window.clearTimeout(t,1e3/60)},F=(u.animationLoop=function(e,s,t,n,o,a){function h(){var t=++l/s,i=r(t);e.call(a,i,t,l),n.call(a,i,t),l<s?a.animationFrame=L(h):o.apply(a)}var l=0,r=P[t]||P.linear;L(h)},u.getRelativePosition=function(t){var i,e=t.originalEvent||t,t=(t.currentTarget||t.srcElement).getBoundingClientRect(),e=e.touches?(i=e.touches[0].clientX-t.left,e.touches[0].clientY-t.top):(i=e.clientX-t.left,e.clientY-t.top);return{x:i,y:e}},u.addEvent=function(t,i,e){t.addEventListener?t.addEventListener(i,e):t.attachEvent?t.attachEvent("on"+i,e):t["on"+i]=e}),R=u.removeEvent=function(t,i,e){t.removeEventListener?t.removeEventListener(i,e,!1):t.detachEvent?t.detachEvent("on"+i,e):t["on"+i]=c},T=(u.bindEvents=function(i,t,e){i.events||(i.events={}),d(t,function(t){i.events[t]=function(){e.apply(i,arguments)},F(i.chart.canvas,t,i.events[t])})},u.unbindEvents=function(e,t){d(t,function(t,i){R(e.chart.canvas,i,t)})}),A=u.getMaximumWidth=function(t){return t.parentNode.clientWidth},M=u.getMaximumHeight=function(t){return t.parentNode.clientHeight},W=(u.getMaximumSize=u.getMaximumWidth,u.retinaScale=function(t){var i=t.ctx,e=t.canvas.width,t=t.canvas.height;window.devicePixelRatio&&(i.canvas.style.width=e+"px",i.canvas.style.height=t+"px",i.canvas.height=t*window.devicePixelRatio,i.canvas.width=e*window.devicePixelRatio,i.scale(window.devicePixelRatio,window.devicePixelRatio))}),O=u.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},z=u.fontString=function(t,i,e){return i+" "+t+"px "+e},B=u.longestText=function(i,t,e){i.font=t;var s=0;return d(e,function(t){t=i.measureText(t).width;s=s<t?t:s}),s},E=u.drawRoundedRectangle=function(t,i,e,s,n,o){t.beginPath(),t.moveTo(i+o,e),t.lineTo(i+s-o,e),t.quadraticCurveTo(i+s,e,i+s,e+o),t.lineTo(i+s,e+n-o),t.quadraticCurveTo(i+s,e+n,i+s-o,e+n),t.lineTo(i+o,e+n),t.quadraticCurveTo(i,e+n,i,e+n-o),t.lineTo(i,e+o),t.quadraticCurveTo(i,e,i+o,e),t.closePath()};o.instances={},h((o.Type=function(t,i,e){this.options=i,this.chart=e,this.id=p(),o.instances[this.id]=this,i.responsive&&this.resize(),this.initialize.call(this,t)}).prototype,{initialize:function(){return this},clear:function(){return O(this.chart),this},stop:function(){return k(this.animationFrame),this},resize:function(t){this.stop();var i=this.chart.canvas,e=A(this.chart.canvas),s=this.options.maintainAspectRatio?e/this.chart.aspectRatio:M(this.chart.canvas);return i.width=this.chart.width=e,i.height=this.chart.height=s,W(this.chart),"function"==typeof t&&t.apply(this,Array.prototype.slice.call(arguments,1)),this},reflow:c,render:function(t){return t&&this.reflow(),this.options.animation&&!t?u.animationLoop(this.draw,this.options.animationSteps,this.options.animationEasing,this.options.onAnimationProgress,this.options.onAnimationComplete,this):(this.draw(),this.options.onAnimationComplete.call(this)),this},generateLegend:function(){return b(this.options.legendTemplate,this)},destroy:function(){this.clear(),T(this,this.events);var t=this.chart.canvas;t.width=this.chart.width,t.height=this.chart.height,t.style.removeProperty?(t.style.removeProperty("width"),t.style.removeProperty("height")):(t.style.removeAttribute("width"),t.style.removeAttribute("height")),delete o.instances[this.id]},showTooltip:function(t,i){if(void 0===this.activeElements&&(this.activeElements=[]),function(t){var e=!1;return t.length!==this.activeElements.length?e=!0:(d(t,function(t,i){t!==this.activeElements[i]&&(e=!0)},this),e)}.call(this,t)||i){if(this.activeElements=t,this.draw(),this.options.customTooltips&&this.options.customTooltips(!1),0<t.length)if(this.datasets&&1<this.datasets.length){for(var e,l,s=this.datasets.length-1;0<=s&&(e=this.datasets[s].points||this.datasets[s].bars||this.datasets[s].segments,-1===(l=n(e,t[0])));s--);var r=[],c=[],i=function(){var i,t,e,s,n,o=[],a=[],h=[];return u.each(this.datasets,function(t){(i=t.points||t.bars||t.segments)[l]&&i[l].hasValue()&&o.push(i[l])}),u.each(o,function(t){a.push(t.x),h.push(t.y),r.push(u.template(this.options.multiTooltipTemplate,t)),c.push({fill:t._saved.fillColor||t.fillColor,stroke:t._saved.strokeColor||t.strokeColor})},this),n=x(h),e=S(h),s=x(a),t=S(a),{x:s>this.chart.width/2?s:t,y:(n+e)/2}}.call(this,l);new o.MultiTooltip({x:i.x,y:i.y,xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,xOffset:this.options.tooltipXOffset,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,titleTextColor:this.options.tooltipTitleFontColor,titleFontFamily:this.options.tooltipTitleFontFamily,titleFontStyle:this.options.tooltipTitleFontStyle,titleFontSize:this.options.tooltipTitleFontSize,cornerRadius:this.options.tooltipCornerRadius,labels:r,legendColors:c,legendColorBackground:this.options.multiTooltipKeyBackground,title:t[0].label,chart:this.chart,ctx:this.chart.ctx,custom:this.options.customTooltips}).draw()}else d(t,function(t){var i=t.tooltipPosition();new o.Tooltip({x:Math.round(i.x),y:Math.round(i.y),xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,caretHeight:this.options.tooltipCaretSize,cornerRadius:this.options.tooltipCornerRadius,text:b(this.options.tooltipTemplate,t),chart:this.chart,custom:this.options.customTooltips}).draw()},this);return this}},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)}}),o.Type.extend=function(t){function e(){return n.apply(this,arguments)}var s,i,n=this;return e.prototype=a(n.prototype),h(e.prototype,t),e.extend=o.Type.extend,t.name||n.prototype.name?(s=t.name||n.prototype.name,i=o.defaults[n.prototype.name]?a(o.defaults[n.prototype.name]):{},o.defaults[s]=h(i,t.defaults),o.types[s]=e,o.prototype[s]=function(t,i){i=l(o.defaults.global,o.defaults[s],i||{});return new e(t,i,this)}):f("Name not provided for this chart, so it hasn't been registered"),n},h((o.Element=function(t){h(this,t),this.initialize.apply(this,arguments),this.save()}).prototype,{initialize:function(){},restore:function(t){return t?d(t,function(t){this[t]=this._saved[t]},this):h(this,this._saved),this},save:function(){return this._saved=a(this),delete this._saved._saved,this},update:function(t){return d(t,function(t,i){this._saved[i]=this[i],this[i]=t},this),this},transition:function(t,e){return d(t,function(t,i){this[i]=(t-this._saved[i])*e+this._saved[i]},this),this},tooltipPosition:function(){return{x:this.x,y:this.y}},hasValue:function(){return m(this.value)}}),o.Element.extend=r,o.Point=o.Element.extend({display:!0,inRange:function(t,i){var e=this.hitDetectionRadius+this.radius;return Math.pow(t-this.x,2)+Math.pow(i-this.y,2)<Math.pow(e,2)},draw:function(){var t;this.display&&((t=this.ctx).beginPath(),t.arc(this.x,this.y,this.radius,0,2*Math.PI),t.closePath(),t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.fillStyle=this.fillColor,t.fill(),t.stroke())}}),o.Arc=o.Element.extend({inRange:function(t,i){t=u.getAngleFromPoint(this,{x:t,y:i}),i=t.angle>=this.startAngle&&t.angle<=this.endAngle,t=t.distance>=this.innerRadius&&t.distance<=this.outerRadius;return i&&t},tooltipPosition:function(){var t=this.startAngle+(this.endAngle-this.startAngle)/2,i=(this.outerRadius-this.innerRadius)/2+this.innerRadius;return{x:this.x+Math.cos(t)*i,y:this.y+Math.sin(t)*i}},draw:function(t){var i=this.ctx;i.beginPath(),i.arc(this.x,this.y,this.outerRadius,this.startAngle,this.endAngle),i.arc(this.x,this.y,this.innerRadius,this.endAngle,this.startAngle,!0),i.closePath(),i.strokeStyle=this.strokeColor,i.lineWidth=this.strokeWidth,i.fillStyle=this.fillColor,i.fill(),i.lineJoin="bevel",this.showStroke&&i.stroke()}}),o.Rectangle=o.Element.extend({draw:function(){var t=this.ctx,i=this.width/2,e=this.x-i,i=this.x+i,s=this.base-(this.base-this.y),n=this.strokeWidth/2;this.showStroke&&(e+=n,i-=n,s+=n),t.beginPath(),t.fillStyle=this.fillColor,t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.moveTo(e,this.base),t.lineTo(e,s),t.lineTo(i,s),t.lineTo(i,this.base),t.fill(),this.showStroke&&t.stroke()},height:function(){return this.base-this.y},inRange:function(t,i){return t>=this.x-this.width/2&&t<=this.x+this.width/2&&i>=this.y&&i<=this.base}}),o.Tooltip=o.Element.extend({draw:function(){var t=this.chart.ctx,i=(t.font=z(this.fontSize,this.fontStyle,this.fontFamily),this.xAlign="center",this.yAlign="above",this.caretPadding=2,t.measureText(this.text).width+2*this.xPadding),e=this.fontSize+2*this.yPadding,s=e+this.caretHeight+2,n=(this.x+i/2>this.chart.width?this.xAlign="left":this.x-i/2<0&&(this.xAlign="right"),this.y-s<0&&(this.yAlign="below"),this.x-i/2),o=this.y-s;if(t.fillStyle=this.fillColor,this.custom)this.custom(this);else{switch(this.yAlign){case"above":t.beginPath(),t.moveTo(this.x,this.y-2),t.lineTo(this.x+this.caretHeight,this.y-(2+this.caretHeight)),t.lineTo(this.x-this.caretHeight,this.y-(2+this.caretHeight)),t.closePath(),t.fill();break;case"below":o=this.y+2+this.caretHeight,t.beginPath(),t.moveTo(this.x,this.y+2),t.lineTo(this.x+this.caretHeight,this.y+2+this.caretHeight),t.lineTo(this.x-this.caretHeight,this.y+2+this.caretHeight),t.closePath(),t.fill()}switch(this.xAlign){case"left":n=this.x-i+(this.cornerRadius+this.caretHeight);break;case"right":n=this.x-(this.cornerRadius+this.caretHeight)}E(t,n,o,i,e,this.cornerRadius),t.fill(),t.fillStyle=this.textColor,t.textAlign="center",t.textBaseline="middle",t.fillText(this.text,n+i/2,o+e/2)}}}),o.MultiTooltip=o.Element.extend({initialize:function(){this.font=z(this.fontSize,this.fontStyle,this.fontFamily),this.titleFont=z(this.titleFontSize,this.titleFontStyle,this.titleFontFamily),this.height=this.labels.length*this.fontSize+(this.labels.length-1)*(this.fontSize/2)+2*this.yPadding+1.5*this.titleFontSize,this.ctx.font=this.titleFont;var t=this.ctx.measureText(this.title).width,i=B(this.ctx,this.font,this.labels)+this.fontSize+3,i=S([i,t]),t=(this.width=i+2*this.xPadding,this.height/2);this.y-t<0?this.y=t:this.y+t>this.chart.height&&(this.y=this.chart.height-t),this.x>this.chart.width/2?this.x-=this.xOffset+this.width:this.x+=this.xOffset},getLineHeight:function(t){var i=this.y-this.height/2+this.yPadding;return 0===t?i+this.titleFontSize/2:i+(1.5*this.fontSize*(t-1)+this.fontSize/2)+1.5*this.titleFontSize},draw:function(){var e;this.custom?this.custom(this):(E(this.ctx,this.x,this.y-this.height/2,this.width,this.height,this.cornerRadius),(e=this.ctx).fillStyle=this.fillColor,e.fill(),e.closePath(),e.textAlign="left",e.textBaseline="middle",e.fillStyle=this.titleTextColor,e.font=this.titleFont,e.fillText(this.title,this.x+this.xPadding,this.getLineHeight(0)),e.font=this.font,u.each(this.labels,function(t,i){e.fillStyle=this.textColor,e.fillText(t,this.x+this.xPadding+this.fontSize+3,this.getLineHeight(i+1)),e.fillStyle=this.legendColorBackground,e.fillRect(this.x+this.xPadding,this.getLineHeight(i+1)-this.fontSize/2,this.fontSize,this.fontSize),e.fillStyle=this.legendColors[i].fill,e.fillRect(this.x+this.xPadding,this.getLineHeight(i+1)-this.fontSize/2,this.fontSize,this.fontSize)},this))}}),o.Scale=o.Element.extend({initialize:function(){this.fit()},buildYLabels:function(){this.yLabels=[];for(var t=v(this.stepValue),i=0;i<=this.steps;i++)this.yLabels.push(b(this.templateString,{value:(this.min+i*this.stepValue).toFixed(t)}));this.yLabelWidth=this.display&&this.showLabels?B(this.ctx,this.font,this.yLabels):0},addXLabel:function(t){this.xLabels.push(t),this.valuesCount++,this.fit()},removeXLabel:function(){this.xLabels.shift(),this.valuesCount--,this.fit()},fit:function(){this.startPoint=this.display?this.fontSize:0,this.endPoint=this.display?this.height-1.5*this.fontSize-5:this.height,this.startPoint+=this.padding,this.endPoint-=this.padding;var t,i=this.endPoint-this.startPoint;for(this.calculateYRange(i),this.buildYLabels(),this.calculateXLabelRotation();i>this.endPoint-this.startPoint;)i=this.endPoint-this.startPoint,t=this.yLabelWidth,this.calculateYRange(i),this.buildYLabels(),t<this.yLabelWidth&&this.calculateXLabelRotation()},calculateXLabelRotation:function(){this.ctx.font=this.font;var t,i=this.ctx.measureText(this.xLabels[0]).width,e=this.ctx.measureText(this.xLabels[this.xLabels.length-1]).width;if(this.xScalePaddingRight=e/2+3,this.xScalePaddingLeft=i/2>this.yLabelWidth+10?i/2:this.yLabelWidth+10,this.xLabelRotation=0,this.display){var s,n=B(this.ctx,this.font,this.xLabels);this.xLabelWidth=n;for(var o=Math.floor(this.calculateX(1)-this.calculateX(0))-6;this.xLabelWidth>o&&0===this.xLabelRotation||this.xLabelWidth>o&&this.xLabelRotation<=90&&0<this.xLabelRotation;)s=Math.cos(y(this.xLabelRotation)),(t=s*i)+this.fontSize/2>this.yLabelWidth+8&&(this.xScalePaddingLeft=t+this.fontSize/2),this.xScalePaddingRight=this.fontSize/2,this.xLabelRotation++,this.xLabelWidth=s*n;0<this.xLabelRotation&&(this.endPoint-=Math.sin(y(this.xLabelRotation))*n+3)}else this.xLabelWidth=0,this.xScalePaddingRight=this.padding,this.xScalePaddingLeft=this.padding},calculateYRange:c,drawingArea:function(){return this.startPoint-this.endPoint},calculateY:function(t){var i=this.drawingArea()/(this.min-this.max);return this.endPoint-i*(t-this.min)},calculateX:function(t){this.xLabelRotation;var i=(this.width-(this.xScalePaddingLeft+this.xScalePaddingRight))/Math.max(this.valuesCount-(this.offsetGridLines?0:1),1),t=i*t+this.xScalePaddingLeft;return this.offsetGridLines&&(t+=i/2),Math.round(t)},update:function(t){u.extend(this,t),this.fit()},draw:function(){var a=this.ctx,o=(this.endPoint-this.startPoint)/this.steps,h=Math.round(this.xScalePaddingLeft);this.display&&(a.fillStyle=this.textColor,a.font=this.font,d(this.yLabels,function(t,i){var e=this.endPoint-o*i,s=Math.round(e),n=this.showHorizontalLines;a.textAlign="right",a.textBaseline="middle",this.showLabels&&a.fillText(t,h-10,e),(n=0===i?n||!0:n)&&a.beginPath(),0<i?(a.lineWidth=this.gridLineWidth,a.strokeStyle=this.gridLineColor):(a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor),s+=u.aliasPixel(a.lineWidth),n&&(a.moveTo(h,s),a.lineTo(this.width,s),a.stroke(),a.closePath()),a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor,a.beginPath(),a.moveTo(h-5,s),a.lineTo(h,s),a.stroke(),a.closePath()},this),d(this.xLabels,function(t,i){var e=this.calculateX(i)+C(this.lineWidth),s=this.calculateX(i-(this.offsetGridLines?.5:0))+C(this.lineWidth),n=0<this.xLabelRotation,o=this.showVerticalLines;(o=0===i?o||!0:o)&&a.beginPath(),0<i?(a.lineWidth=this.gridLineWidth,a.strokeStyle=this.gridLineColor):(a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor),o&&(a.moveTo(s,this.endPoint),a.lineTo(s,this.startPoint-3),a.stroke(),a.closePath()),a.lineWidth=this.lineWidth,a.strokeStyle=this.lineColor,a.beginPath(),a.moveTo(s,this.endPoint),a.lineTo(s,this.endPoint+5),a.stroke(),a.closePath(),a.save(),a.translate(e,n?this.endPoint+12:this.endPoint+8),a.rotate(-1*y(this.xLabelRotation)),a.font=this.font,a.textAlign=n?"right":"center",a.textBaseline=n?"middle":"top",a.fillText(t,0,0),a.restore()},this))}}),o.RadialScale=o.Element.extend({initialize:function(){this.size=x([this.height,this.width]),this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2},calculateCenterOffset:function(t){var i=this.drawingArea/(this.max-this.min);return(t-this.min)*i},update:function(){this.lineArc?this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2:this.setScaleSize(),this.buildYLabels()},buildYLabels:function(){this.yLabels=[];for(var t=v(this.stepValue),i=0;i<=this.steps;i++)this.yLabels.push(b(this.templateString,{value:(this.min+i*this.stepValue).toFixed(t)}))},getCircumference:function(){return 2*Math.PI/this.valuesCount},setScaleSize:function(){var t,i,e,s,n,o,a,h,l,r,c=x([this.height/2-this.pointLabelFontSize-5,this.width/2]),u=this.width,d=0;for(this.ctx.font=z(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),i=0;i<this.valuesCount;i++)t=this.getPointPosition(i,c),e=this.ctx.measureText(b(this.templateString,{value:this.labels[i]})).width+5,0===i||i===this.valuesCount/2?(t.x+(s=e/2)>u&&(u=t.x+s,n=i),t.x-s<d&&(d=t.x-s,o=i)):i<this.valuesCount/2?t.x+e>u&&(u=t.x+e,n=i):i>this.valuesCount/2&&t.x-e<d&&(d=t.x-e,o=i);h=d,l=Math.ceil(u-this.width),r=this.getIndexAngle(n),a=this.getIndexAngle(o),l=l/Math.sin(r+Math.PI/2),r=h/Math.sin(a+Math.PI/2),l=m(l)?l:0,r=m(r)?r:0,this.drawingArea=c-(r+l)/2,this.setCenterPoint(r,l)},setCenterPoint:function(t,i){i=this.width-i-this.drawingArea,t+=this.drawingArea;this.xCenter=(t+i)/2,this.yCenter=this.height/2},getIndexAngle:function(t){return t*(2*Math.PI/this.valuesCount)-Math.PI/2},getPointPosition:function(t,i){t=this.getIndexAngle(t);return{x:Math.cos(t)*i+this.xCenter,y:Math.sin(t)*i+this.yCenter}},draw:function(){if(this.display){var a=this.ctx;if(d(this.yLabels,function(t,i){if(0<i){var e,s=i*(this.drawingArea/this.steps),n=this.yCenter-s;if(0<this.lineWidth){if(a.strokeStyle=this.lineColor,a.lineWidth=this.lineWidth,this.lineArc)a.beginPath(),a.arc(this.xCenter,this.yCenter,s,0,2*Math.PI);else{a.beginPath();for(var o=0;o<this.valuesCount;o++)e=this.getPointPosition(o,this.calculateCenterOffset(this.min+i*this.stepValue)),0===o?a.moveTo(e.x,e.y):a.lineTo(e.x,e.y)}a.closePath(),a.stroke()}this.showLabels&&(a.font=z(this.fontSize,this.fontStyle,this.fontFamily),this.showLabelBackdrop&&(s=a.measureText(t).width,a.fillStyle=this.backdropColor,a.fillRect(this.xCenter-s/2-this.backdropPaddingX,n-this.fontSize/2-this.backdropPaddingY,s+2*this.backdropPaddingX,this.fontSize+2*this.backdropPaddingY)),a.textAlign="center",a.textBaseline="middle",a.fillStyle=this.fontColor,a.fillText(t,this.xCenter,n))}},this),!this.lineArc){a.lineWidth=this.angleLineWidth,a.strokeStyle=this.angleLineColor;for(var t=this.valuesCount-1;0<=t;t--){0<this.angleLineWidth&&(i=this.getPointPosition(t,this.calculateCenterOffset(this.max)),a.beginPath(),a.moveTo(this.xCenter,this.yCenter),a.lineTo(i.x,i.y),a.stroke(),a.closePath());var i=this.getPointPosition(t,this.calculateCenterOffset(this.max)+5),e=(a.font=z(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),a.fillStyle=this.pointLabelFontColor,this.labels.length),s=this.labels.length/2,n=s/2,o=t<n||e-n<t,e=t===n||t===e-n;a.textAlign=0===t||t===s?"center":t<s?"left":"right",a.textBaseline=e?"middle":o?"bottom":"top",a.fillText(this.labels[t],i.x,i.y)}}}}}),u.addEvent(window,"resize",function(){clearTimeout(i),i=setTimeout(function(){d(o.instances,function(t){t.options.responsive&&t.resize(t.render,!0)})},50)}),g?define(function(){return o}):"object"==typeof module&&module.exports&&(module.exports=o),(e.Chart=o).noConflict=function(){return e.Chart=s,o}}).call(this),function(){"use strict";var t=this.Chart,a=t.helpers;t.Type.extend({name:"Bar",defaults:{scaleBeginAtZero:!0,scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,barShowStroke:!0,barStrokeWidth:2,barValueSpacing:5,barDatasetSpacing:1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].fillColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(n){var o=this.options;this.ScaleClass=t.Scale.extend({offsetGridLines:!0,calculateBarX:function(t,i,e){var s=this.calculateBaseWidth(),e=this.calculateX(e)-s/2,s=this.calculateBarWidth(t);return e+s*i+i*o.barDatasetSpacing+s/2},calculateBaseWidth:function(){return this.calculateX(1)-this.calculateX(0)-2*o.barValueSpacing},calculateBarWidth:function(t){return(this.calculateBaseWidth()-(t-1)*o.barDatasetSpacing)/t}}),this.datasets=[],this.options.showTooltips&&a.bindEvents(this,this.options.tooltipEvents,function(t){t="mouseout"!==t.type?this.getBarsAtEvent(t):[];this.eachBars(function(t){t.restore(["fillColor","strokeColor"])}),a.each(t,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(t)}),this.BarClass=t.Rectangle.extend({strokeWidth:this.options.barStrokeWidth,showStroke:this.options.barShowStroke,ctx:this.chart.ctx}),a.each(n.datasets,function(e){var s={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,bars:[]};this.datasets.push(s),a.each(e.data,function(t,i){s.bars.push(new this.BarClass({value:t,label:n.labels[i],datasetLabel:e.label,strokeColor:e.strokeColor,fillColor:e.fillColor,highlightFill:e.highlightFill||e.fillColor,highlightStroke:e.highlightStroke||e.strokeColor}))},this)},this),this.buildScale(n.labels),this.BarClass.prototype.base=this.scale.endPoint,this.eachBars(function(t,i,e){a.extend(t,{width:this.scale.calculateBarWidth(this.datasets.length),x:this.scale.calculateBarX(this.datasets.length,e,i),y:this.scale.endPoint}),t.save()},this),this.render()},update:function(){this.scale.update(),a.each(this.activeElements,function(t){t.restore(["fillColor","strokeColor"])}),this.eachBars(function(t){t.save()}),this.render()},eachBars:function(e){a.each(this.datasets,function(t,i){a.each(t.bars,e,this,i)},this)},getBarsAtEvent:function(t){for(var i,e=[],s=a.getRelativePosition(t),n=function(t){e.push(t.bars[i])},o=0;o<this.datasets.length;o++)for(i=0;i<this.datasets[o].bars.length;i++)if(this.datasets[o].bars[i].inRange(s.x,s.y))return a.each(this.datasets,n),e;return e},buildScale:function(t){var e=this,t={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:t.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(t){var i,t=a.calculateScaleRange((i=[],e.eachBars(function(t){i.push(t.value)}),i),t,this.fontSize,this.beginAtZero,this.integersOnly);a.extend(this,t)},xLabels:t,font:a.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:!this.options.showScale&&this.options.barShowStroke?this.options.barStrokeWidth:0,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&a.extend(t,{calculateYRange:a.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new this.ScaleClass(t)},addData:function(t,e){a.each(t,function(t,i){this.datasets[i].bars.push(new this.BarClass({value:t,label:e,x:this.scale.calculateBarX(this.datasets.length,i,this.scale.valuesCount+1),y:this.scale.endPoint,width:this.scale.calculateBarWidth(this.datasets.length),base:this.scale.endPoint,strokeColor:this.datasets[i].strokeColor,fillColor:this.datasets[i].fillColor}))},this),this.scale.addXLabel(e),this.update()},removeData:function(){this.scale.removeXLabel(),a.each(this.datasets,function(t){t.bars.shift()},this),this.update()},reflow:function(){a.extend(this.BarClass.prototype,{y:this.scale.endPoint,base:this.scale.endPoint});var t=a.extend({height:this.chart.height,width:this.chart.width});this.scale.update(t)},draw:function(t){var s=t||1;this.clear(),this.chart.ctx,this.scale.draw(s),a.each(this.datasets,function(t,e){a.each(t.bars,function(t,i){t.hasValue()&&(t.base=this.scale.endPoint,t.transition({x:this.scale.calculateBarX(this.datasets.length,e,i),y:this.scale.calculateY(t.value),width:this.scale.calculateBarWidth(this.datasets.length)},s).draw())},this)},this)}})}.call(this),function(){"use strict";var i=this.Chart,s=i.helpers,t={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};i.Type.extend({name:"Doughnut",defaults:t,initialize:function(t){this.segments=[],this.outerRadius=(s.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,this.SegmentArc=i.Arc.extend({ctx:this.chart.ctx,x:this.chart.width/2,y:this.chart.height/2}),this.options.showTooltips&&s.bindEvents(this,this.options.tooltipEvents,function(t){t="mouseout"!==t.type?this.getSegmentsAtEvent(t):[];s.each(this.segments,function(t){t.restore(["fillColor"])}),s.each(t,function(t){t.fillColor=t.highlightColor}),this.showTooltip(t)}),this.calculateTotal(t),s.each(t,function(t,i){this.addData(t,i,!0)},this),this.render()},getSegmentsAtEvent:function(t){var i=[],e=s.getRelativePosition(t);return s.each(this.segments,function(t){t.inRange(e.x,e.y)&&i.push(t)},this),i},addData:function(t,i,e){i=i||this.segments.length;this.segments.splice(i,0,new this.SegmentArc({value:t.value,outerRadius:this.options.animateScale?0:this.outerRadius,innerRadius:this.options.animateScale?0:this.outerRadius/100*this.options.percentageInnerCutout,fillColor:t.color,highlightColor:t.highlight||t.color,showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,startAngle:1.5*Math.PI,circumference:this.options.animateRotate?0:this.calculateCircumference(t.value),label:t.label})),e||(this.reflow(),this.update())},calculateCircumference:function(t){return 2*Math.PI*(Math.abs(t)/this.total)},calculateTotal:function(t){this.total=0,s.each(t,function(t){this.total+=Math.abs(t.value)},this)},update:function(){this.calculateTotal(this.segments),s.each(this.activeElements,function(t){t.restore(["fillColor"])}),s.each(this.segments,function(t){t.save()}),this.render()},removeData:function(t){t=s.isNumber(t)?t:this.segments.length-1;this.segments.splice(t,1),this.reflow(),this.update()},reflow:function(){s.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.outerRadius=(s.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,s.each(this.segments,function(t){t.update({outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout})},this)},draw:function(t){var e=t||1;this.clear(),s.each(this.segments,function(t,i){t.transition({circumference:this.calculateCircumference(t.value),outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout},e),t.endAngle=t.startAngle+t.circumference,t.draw(),0===i&&(t.startAngle=1.5*Math.PI),i<this.segments.length-1&&(this.segments[i+1].startAngle=t.endAngle)},this)}}),i.types.Doughnut.extend({name:"Pie",defaults:s.merge(t,{percentageInnerCutout:0})})}.call(this),function(){"use strict";var i=this.Chart,h=i.helpers;i.Type.extend({name:"Line",defaults:{scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,bezierCurve:!0,bezierCurveTension:.4,pointDot:!0,pointDotRadius:4,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(n){this.PointClass=i.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx,inRange:function(t){return Math.pow(t-this.x,2)<Math.pow(this.radius+this.hitDetectionRadius,2)}}),this.datasets=[],this.options.showTooltips&&h.bindEvents(this,this.options.tooltipEvents,function(t){t="mouseout"!==t.type?this.getPointsAtEvent(t):[];this.eachPoints(function(t){t.restore(["fillColor","strokeColor"])}),h.each(t,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(t)}),h.each(n.datasets,function(e){var s={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,pointColor:e.pointColor,pointStrokeColor:e.pointStrokeColor,points:[]};this.datasets.push(s),h.each(e.data,function(t,i){s.points.push(new this.PointClass({value:t,label:n.labels[i],datasetLabel:e.label,strokeColor:e.pointStrokeColor,fillColor:e.pointColor,highlightFill:e.pointHighlightFill||e.pointColor,highlightStroke:e.pointHighlightStroke||e.pointStrokeColor}))},this),this.buildScale(n.labels),this.eachPoints(function(t,i){h.extend(t,{x:this.scale.calculateX(i),y:this.scale.endPoint}),t.save()},this)},this),this.render()},update:function(){this.scale.update(),h.each(this.activeElements,function(t){t.restore(["fillColor","strokeColor"])}),this.eachPoints(function(t){t.save()}),this.render()},eachPoints:function(i){h.each(this.datasets,function(t){h.each(t.points,i,this)},this)},getPointsAtEvent:function(t){var i=[],e=h.getRelativePosition(t);return h.each(this.datasets,function(t){h.each(t.points,function(t){t.inRange(e.x,e.y)&&i.push(t)})},this),i},buildScale:function(t){var e=this,t={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:t.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(t){var i,t=h.calculateScaleRange((i=[],e.eachPoints(function(t){i.push(t.value)}),i),t,this.fontSize,this.beginAtZero,this.integersOnly);h.extend(this,t)},xLabels:t,font:h.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.pointDotRadius+this.options.pointDotStrokeWidth,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&h.extend(t,{calculateYRange:h.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new i.Scale(t)},addData:function(t,e){h.each(t,function(t,i){this.datasets[i].points.push(new this.PointClass({value:t,label:e,x:this.scale.calculateX(this.scale.valuesCount+1),y:this.scale.endPoint,strokeColor:this.datasets[i].pointStrokeColor,fillColor:this.datasets[i].pointColor}))},this),this.scale.addXLabel(e),this.update()},removeData:function(){this.scale.removeXLabel(),h.each(this.datasets,function(t){t.points.shift()},this),this.update()},reflow:function(){var t=h.extend({height:this.chart.height,width:this.chart.width});this.scale.update(t)},draw:function(t){function o(t,i,e){return h.findPreviousWhere(i,a,e)||t}var e=t||1,s=(this.clear(),this.chart.ctx),a=function(t){return null!==t.value};this.scale.draw(e),h.each(this.datasets,function(t){var n=h.where(t.points,a);h.each(t.points,function(t,i){t.hasValue()&&t.transition({y:this.scale.calculateY(t.value),x:this.scale.calculateX(i)},e)},this),this.options.bezierCurve&&h.each(n,function(t,i){var e,s=0<i&&i<n.length-1?this.options.bezierCurveTension:0;t.controlPoints=h.splineCurve(o(t,n,i),t,(e=t,h.findNextWhere(n,a,i)||e),s),t.controlPoints.outer.y>this.scale.endPoint?t.controlPoints.outer.y=this.scale.endPoint:t.controlPoints.outer.y<this.scale.startPoint&&(t.controlPoints.outer.y=this.scale.startPoint),t.controlPoints.inner.y>this.scale.endPoint?t.controlPoints.inner.y=this.scale.endPoint:t.controlPoints.inner.y<this.scale.startPoint&&(t.controlPoints.inner.y=this.scale.startPoint)},this),s.lineWidth=this.options.datasetStrokeWidth,s.strokeStyle=t.strokeColor,s.beginPath(),h.each(n,function(t,i){0===i?s.moveTo(t.x,t.y):this.options.bezierCurve?(i=o(t,n,i),s.bezierCurveTo(i.controlPoints.outer.x,i.controlPoints.outer.y,t.controlPoints.inner.x,t.controlPoints.inner.y,t.x,t.y)):s.lineTo(t.x,t.y)},this),s.stroke(),this.options.datasetFill&&0<n.length&&(s.lineTo(n[n.length-1].x,this.scale.endPoint),s.lineTo(n[0].x,this.scale.endPoint),s.fillStyle=t.fillColor,s.closePath(),s.fill()),h.each(n,function(t){t.draw()})},this)}})}.call(this),function(){"use strict";var i=this.Chart,s=i.helpers;i.Type.extend({name:"PolarArea",defaults:{scaleShowLabelBackdrop:!0,scaleBackdropColor:"rgba(255,255,255,0.75)",scaleBeginAtZero:!0,scaleBackdropPaddingY:2,scaleBackdropPaddingX:2,scaleShowLine:!0,segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'},initialize:function(t){this.segments=[],this.SegmentArc=i.Arc.extend({showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,ctx:this.chart.ctx,innerRadius:0,x:this.chart.width/2,y:this.chart.height/2}),this.scale=new i.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,lineArc:!0,width:this.chart.width,height:this.chart.height,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,valuesCount:t.length}),this.updateScaleRange(t),this.scale.update(),s.each(t,function(t,i){this.addData(t,i,!0)},this),this.options.showTooltips&&s.bindEvents(this,this.options.tooltipEvents,function(t){t="mouseout"!==t.type?this.getSegmentsAtEvent(t):[];s.each(this.segments,function(t){t.restore(["fillColor"])}),s.each(t,function(t){t.fillColor=t.highlightColor}),this.showTooltip(t)}),this.render()},getSegmentsAtEvent:function(t){var i=[],e=s.getRelativePosition(t);return s.each(this.segments,function(t){t.inRange(e.x,e.y)&&i.push(t)},this),i},addData:function(t,i,e){i=i||this.segments.length;this.segments.splice(i,0,new this.SegmentArc({fillColor:t.color,highlightColor:t.highlight||t.color,label:t.label,value:t.value,outerRadius:this.options.animateScale?0:this.scale.calculateCenterOffset(t.value),circumference:this.options.animateRotate?0:this.scale.getCircumference(),startAngle:1.5*Math.PI})),e||(this.reflow(),this.update())},removeData:function(t){t=s.isNumber(t)?t:this.segments.length-1;this.segments.splice(t,1),this.reflow(),this.update()},calculateTotal:function(t){this.total=0,s.each(t,function(t){this.total+=t.value},this),this.scale.valuesCount=this.segments.length},updateScaleRange:function(t){var i=[],t=(s.each(t,function(t){i.push(t.value)}),this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:s.calculateScaleRange(i,s.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly));s.extend(this.scale,t,{size:s.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2})},update:function(){this.calculateTotal(this.segments),s.each(this.segments,function(t){t.save()}),this.reflow(),this.render()},reflow:function(){s.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.updateScaleRange(this.segments),this.scale.update(),s.extend(this.scale,{xCenter:this.chart.width/2,yCenter:this.chart.height/2}),s.each(this.segments,function(t){t.update({outerRadius:this.scale.calculateCenterOffset(t.value)})},this)},draw:function(t){var e=t||1;this.clear(),s.each(this.segments,function(t,i){t.transition({circumference:this.scale.getCircumference(),outerRadius:this.scale.calculateCenterOffset(t.value)},e),t.endAngle=t.startAngle+t.circumference,0===i&&(t.startAngle=1.5*Math.PI),i<this.segments.length-1&&(this.segments[i+1].startAngle=t.endAngle),t.draw()},this),this.scale.draw()}})}.call(this),function(){"use strict";var i=this.Chart,a=i.helpers;i.Type.extend({name:"Radar",defaults:{scaleShowLine:!0,angleShowLineOut:!0,scaleShowLabels:!1,scaleBeginAtZero:!0,angleLineColor:"rgba(0,0,0,.1)",angleLineWidth:1,pointLabelFontFamily:"'Arial'",pointLabelFontStyle:"normal",pointLabelFontSize:10,pointLabelFontColor:"#666",pointDot:!0,pointDotRadius:3,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(o){this.PointClass=i.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx}),this.datasets=[],this.buildScale(o),this.options.showTooltips&&a.bindEvents(this,this.options.tooltipEvents,function(t){t="mouseout"!==t.type?this.getPointsAtEvent(t):[];this.eachPoints(function(t){t.restore(["fillColor","strokeColor"])}),a.each(t,function(t){t.fillColor=t.highlightFill,t.strokeColor=t.highlightStroke}),this.showTooltip(t)}),a.each(o.datasets,function(s){var n={label:s.label||null,fillColor:s.fillColor,strokeColor:s.strokeColor,pointColor:s.pointColor,pointStrokeColor:s.pointStrokeColor,points:[]};this.datasets.push(n),a.each(s.data,function(t,i){var e;this.scale.animation||(e=this.scale.getPointPosition(i,this.scale.calculateCenterOffset(t))),n.points.push(new this.PointClass({value:t,label:o.labels[i],datasetLabel:s.label,x:this.options.animation?this.scale.xCenter:e.x,y:this.options.animation?this.scale.yCenter:e.y,strokeColor:s.pointStrokeColor,fillColor:s.pointColor,highlightFill:s.pointHighlightFill||s.pointColor,highlightStroke:s.pointHighlightStroke||s.pointStrokeColor}))},this)},this),this.render()},eachPoints:function(i){a.each(this.datasets,function(t){a.each(t.points,i,this)},this)},getPointsAtEvent:function(t){var t=a.getRelativePosition(t),t=a.getAngleFromPoint({x:this.scale.xCenter,y:this.scale.yCenter},t),i=2*Math.PI/this.scale.valuesCount,e=Math.round((t.angle-1.5*Math.PI)/i),s=[];return(e>=this.scale.valuesCount||e<0)&&(e=0),t.distance<=this.scale.drawingArea&&a.each(this.datasets,function(t){s.push(t.points[e])}),s},buildScale:function(t){this.scale=new i.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,angleLineColor:this.options.angleLineColor,angleLineWidth:this.options.angleShowLineOut?this.options.angleLineWidth:0,pointLabelFontColor:this.options.pointLabelFontColor,pointLabelFontSize:this.options.pointLabelFontSize,pointLabelFontFamily:this.options.pointLabelFontFamily,pointLabelFontStyle:this.options.pointLabelFontStyle,height:this.chart.height,width:this.chart.width,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,labels:t.labels,valuesCount:t.datasets[0].data.length}),this.scale.setScaleSize(),this.updateScaleRange(t.datasets),this.scale.buildYLabels()},updateScaleRange:function(t){i=[],a.each(t,function(t){t.data?i=i.concat(t.data):a.each(t.points,function(t){i.push(t.value)})});var i,t=i,t=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:a.calculateScaleRange(t,a.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);a.extend(this.scale,t)},addData:function(t,s){this.scale.valuesCount++,a.each(t,function(t,i){var e=this.scale.getPointPosition(this.scale.valuesCount,this.scale.calculateCenterOffset(t));this.datasets[i].points.push(new this.PointClass({value:t,label:s,x:e.x,y:e.y,strokeColor:this.datasets[i].pointStrokeColor,fillColor:this.datasets[i].pointColor}))},this),this.scale.labels.push(s),this.reflow(),this.update()},removeData:function(){this.scale.valuesCount--,this.scale.labels.shift(),a.each(this.datasets,function(t){t.points.shift()},this),this.reflow(),this.update()},update:function(){this.eachPoints(function(t){t.save()}),this.reflow(),this.render()},reflow:function(){a.extend(this.scale,{width:this.chart.width,height:this.chart.height,size:a.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2}),this.updateScaleRange(this.datasets),this.scale.setScaleSize(),this.scale.buildYLabels()},draw:function(t){var e=t||1,s=this.chart.ctx;this.clear(),this.scale.draw(),a.each(this.datasets,function(t){a.each(t.points,function(t,i){t.hasValue()&&t.transition(this.scale.getPointPosition(i,this.scale.calculateCenterOffset(t.value)),e)},this),s.lineWidth=this.options.datasetStrokeWidth,s.strokeStyle=t.strokeColor,s.beginPath(),a.each(t.points,function(t,i){0===i?s.moveTo(t.x,t.y):s.lineTo(t.x,t.y)},this),s.closePath(),s.stroke(),s.fillStyle=t.fillColor,s.fill(),a.each(t.points,function(t){t.hasValue()&&t.draw()})},this)}})}.call(this);
!function(){function i(){this.reset()}function t(t,e,i){t instanceof Array&&(t=a.make(t)),i&&(s=i),this.tree=n.createTree(t),this.tree.positionTree(e)}var e,s=null,d={inheritAttrs:function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]instanceof Object&&e[i]instanceof Object&&"function"!=typeof e[i]?this.inheritAttrs(t[i],e[i]):t[i]=e[i])},createMerge:function(t,e){var i={};return t&&this.inheritAttrs(i,this.cloneObj(t)),e&&this.inheritAttrs(i,e),i},extend:function(){return s?(Array.prototype.unshift.apply(arguments,[!0,{}]),s.extend.apply(s,arguments)):d.createMerge.apply(this,arguments)},cloneObj:function(t){if(Object(t)!==t)return t;var e,i=new t.constructor;for(e in t)t.hasOwnProperty(e)&&(i[e]=this.cloneObj(t[e]));return i},addEvent:function(t,e,i){s?s(t).on(e+".treant",i):t.addEventListener?t.addEventListener(e,i,!1):t.attachEvent?t.attachEvent("on"+e,i):t["on"+e]=i},findEl:function(t,e,i){var n;if(i=i||document,s)return n=s(t,i),e?n.get(0):n;if("#"==t.charAt(0))return i.getElementById(t.substring(1));if("."==t.charAt(0))return(e=i.getElementsByClassName(t.substring(1))).length?e[0]:null;throw new Error("Unknown container element")},getOuterHeight:function(t){return"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect().height:s?Math.ceil(s(t).outerHeight())+1:Math.ceil(t.clientHeight+d.getStyle(t,"border-top-width",!0)+d.getStyle(t,"border-bottom-width",!0)+d.getStyle(t,"padding-top",!0)+d.getStyle(t,"padding-bottom",!0)+1)},getOuterWidth:function(t){return"function"==typeof t.getBoundingClientRect?t.getBoundingClientRect().width:s?Math.ceil(s(t).outerWidth())+1:Math.ceil(t.clientWidth+d.getStyle(t,"border-left-width",!0)+d.getStyle(t,"border-right-width",!0)+d.getStyle(t,"padding-left",!0)+d.getStyle(t,"padding-right",!0)+1)},getStyle:function(t,e,i){var n="";return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,"").getPropertyValue(e):t.currentStyle&&(e=e.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()}),n=t.currentStyle[e]),i?parseFloat(n):n},addClass:function(t,e){s?s(t).addClass(e):d.hasClass(t,e)||(t.classList?t.classList.add(e):t.className+=" "+e)},hasClass:function(t,e){return-1<(" "+t.className+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")},toggleClass:function(t,e,i){s?s(t).toggleClass(e,i):i?t.classList.add(e):t.classList.remove(e)},setDimensions:function(t,e,i){s?s(t).width(e).height(i):(t.style.width=e+"px",t.style.height=i+"px")}},n=(i.prototype={reset:function(){return this.loading=[],this},processNode:function(t){for(var e=t.nodeDOM.getElementsByTagName("img"),i=e.length;i--;)this.create(t,e[i]);return this},removeAll:function(t){for(var e=this.loading.length;e--;)this.loading[e]===t&&this.loading.splice(e,1);return this},create:function(t,e){function i(){n.removeAll(o),t.width=t.nodeDOM.offsetWidth,t.height=t.nodeDOM.offsetHeight}var n=this,o=e.src;if(0!==e.src.indexOf("data:")){if(this.loading.push(o),e.complete)return i();d.addEvent(e,"load",i),d.addEvent(e,"error",i),e.src+="?"+(new Date).getTime()}else i()},isNotLoading:function(){return 0===this.loading.length}},{store:[],createTree:function(t){var e=this.store.length;return this.store.push(new o(t,e)),this.get(e)},get:function(t){return this.store[t]},destroy:function(t){var e=this.get(t);if(e){e._R.remove();for(var i=e.drawArea;i.firstChild;)i.removeChild(i.firstChild);for(var n=i.className.split(" "),o=[],r=0;r<n.length;r++){var s=n[r];"Treant"!=s&&"Treant-loaded"!=s&&o.push(s)}i.style.overflowY="",i.style.overflowX="",i.className=o.join(" "),this.store[t]=null}return this}}),o=function(t,e){this.reset=function(t,e){if(this.initJsonConfig=t,this.initTreeId=e,this.id=e,this.CONFIG=d.extend(o.CONFIG,t.chart),this.drawArea=d.findEl(this.CONFIG.container,!0),this.drawArea)return d.addClass(this.drawArea,"Treant"),this.drawArea.innerHTML="",this.imageLoader=new i,this.nodeDB=new r(t.nodeStructure,this),this.connectionStore={},this.loaded=!1,this._R=new Raphael(this.drawArea,100,100),this;throw new Error('Failed to find element by selector "'+selector+'"')},this.reload=function(){return this.reset(this.initJsonConfig,this.initTreeId).redraw(),this},this.reset(t,e)},r=(o.prototype={getNodeDb:function(){return this.nodeDB},addNode:function(t,e){this.nodeDB.get(t.id),this.CONFIG.callback.onBeforeAddNode.apply(this,[t,e]);var i=this.nodeDB.createNode(e,t.id,this);return i.createGeometry(this),i.parent().createSwitchGeometry(this),this.positionTree(),this.CONFIG.callback.onAfterAddNode.apply(this,[i,t,e]),i},redraw:function(){return this.positionTree(),this},positionTree:function(t){var e,i=this;return this.imageLoader.isNotLoading()?(e=this.root(),this.CONFIG.rootOrientation,this.resetLevelData(),this.firstWalk(e,0),this.secondWalk(e,0,0,0),this.positionNodes(),this.CONFIG.animateOnInit&&setTimeout(function(){e.toggleCollapse()},this.CONFIG.animateOnInitDelay),this.loaded||(d.addClass(this.drawArea,"Treant-loaded"),"[object Function]"===Object.prototype.toString.call(t)&&t(i),i.CONFIG.callback.onTreeLoaded.apply(i,[e]),this.loaded=!0)):setTimeout(function(){i.positionTree(t)},10),this},firstWalk:function(t,e){t.prelim=null,t.modifier=null,this.setNeighbors(t,e),this.calcLevelDim(t,e);var i=t.leftSibling();if(0===t.childrenCount()||e==this.CONFIG.maxDepth)t.prelim=i?i.prelim+i.size()+this.CONFIG.siblingSeparation:0;else{for(var n=0,o=t.childrenCount();n<o;n++)this.firstWalk(t.childAt(n),e+1);var r=t.childrenCenter()-t.size()/2;i?(t.prelim=i.prelim+i.size()+this.CONFIG.siblingSeparation,t.modifier=t.prelim-r,this.apportion(t,e)):t.prelim=r,t.stackParent?t.modifier+=this.nodeDB.get(t.stackChildren[0]).size()/2+t.connStyle.stackIndent:t.stackParentId&&(t.prelim=0)}return this},apportion:function(t,e){for(var i=t.firstChild(),n=i.leftNeighbor(),o=1,r=this.CONFIG.maxDepth-e;i&&n&&o<=r;){for(var s=0,h=0,a=n,l=i,d=0;d<o;d++)a=a.parent(),l=l.parent(),h+=a.modifier,s+=l.modifier,void 0!==l.stackParent&&(s+=l.size()/2);var c=n.prelim+h+n.size()+this.CONFIG.subTeeSeparation-(i.prelim+s);if(0<c){for(var u=t,p=0;u&&u.id!=a.id;)u=u.leftSibling(),p++;if(u)for(var f=t,g=c/p;f.id!=a.id;)f.prelim+=c,f.modifier+=c,c-=g,f=f.leftSibling()}o++,(i=0===i.childrenCount()?t.leftMost(0,o):i.firstChild())&&(n=i.leftNeighbor())}},secondWalk:function(t,e,i,n){var o,r,s,h,a,l;e<=this.CONFIG.maxDepth&&(l=t.prelim+i,s=n,h=this.CONFIG.nodeAlign,"NORTH"==(a=this.CONFIG.rootOrientation)||"SOUTH"==a?(o=this.levelMaxDim[e].height,r=t.height,t.pseudo&&(t.height=o)):"WEST"!=a&&"EAST"!=a||(o=this.levelMaxDim[e].width,r=t.width,t.pseudo&&(t.width=o)),t.X=l,t.pseudo?"NORTH"==a||"WEST"==a?t.Y=s:"SOUTH"!=a&&"EAST"!=a||(t.Y=s+(o-r)):t.Y="CENTER"==h?s+(o-r)/2:"TOP"==h?s+(o-r):s,"WEST"!=a&&"EAST"!=a||(l=t.X,t.X=t.Y,t.Y=l),"SOUTH"==a?t.Y=-t.Y-r:"EAST"==a&&(t.X=-t.X-r),0!==t.childrenCount()&&(0===t.id&&this.CONFIG.hideRootNode?this.secondWalk(t.firstChild(),e+1,i+t.modifier,n):this.secondWalk(t.firstChild(),e+1,i+t.modifier,n+o+this.CONFIG.levelSeparation)),t.rightSibling())&&this.secondWalk(t.rightSibling(),e,i,n)},positionNodes:function(){var t=this,e={x:t.nodeDB.getMinMaxCoord("X",null,null),y:t.nodeDB.getMinMaxCoord("Y",null,null)},i=e.x.max-e.x.min,n=e.y.max-e.y.min,o={x:e.x.max-i/2,y:e.y.max-n/2};this.handleOverflow(i,n);for(var r,s,h,a={x:t.drawArea.clientWidth/2,y:t.drawArea.clientHeight/2},l=a.x-o.x,d=a.y-o.y,c=e.x.min+l<=0?Math.abs(e.x.min):0,u=e.y.min+d<=0?Math.abs(e.y.min):0,p=0,f=this.nodeDB.db.length;p<f;p++)r=this.nodeDB.get(p),t.CONFIG.callback.onBeforePositionNode.apply(t,[r,p,a,o]),0===r.id&&this.CONFIG.hideRootNode||(r.X+=c+(i<this.drawArea.clientWidth?l:this.CONFIG.padding),r.Y+=u+(n<this.drawArea.clientHeight?d:this.CONFIG.padding),h=null,(s=r.collapsedParent())?(h=s.connectorPoint(!0),r.hide(h)):r.positioned?r.show():(r.nodeDOM.style.left=r.X+"px",r.nodeDOM.style.top=r.Y+"px",r.positioned=!0),0===r.id||0===r.parent().id&&this.CONFIG.hideRootNode?!this.CONFIG.hideRootNode&&r.drawLineThrough&&r.drawLineThroughMe():this.setConnectionToParent(r,h)),t.CONFIG.callback.onAfterPositionNode.apply(t,[r,p,a,o]);return this},handleOverflow:function(t,e){var i=t<this.drawArea.clientWidth?this.drawArea.clientWidth:t+2*this.CONFIG.padding,n=e<this.drawArea.clientHeight?this.drawArea.clientHeight:e+2*this.CONFIG.padding;return this._R.setSize(i,n),"resize"==this.CONFIG.scrollbar?d.setDimensions(this.drawArea,i,n):null==s||"native"==this.CONFIG.scrollbar?(this.drawArea.clientWidth<t&&(this.drawArea.style.overflowX="auto"),this.drawArea.clientHeight<e&&(this.drawArea.style.overflowY="auto")):"fancy"==this.CONFIG.scrollbar&&((t=s(this.drawArea)).hasClass("ps-container")?(t.find(".Treant").css({width:i,height:n}),t.perfectScrollbar("update")):((e=t.wrapInner('<div class="Treant"/>')).find(".Treant").css({width:i,height:n}),e.perfectScrollbar())),this},setConnectionToParent:function(t,e){var i,n=t.stackParentId,o=n?this.nodeDB.get(n):t.parent(),n=e?this.getPointPathString(e):this.getPathString(o,t,n);return this.connectionStore[t.id]?(i=this.connectionStore[t.id],this.animatePath(i,n)):(i=this._R.path(n),this.connectionStore[t.id]=i,t.pseudo&&delete o.connStyle.style["arrow-end"],o.pseudo&&delete o.connStyle.style["arrow-start"],i.attr(o.connStyle.style),(t.drawLineThrough||t.pseudo)&&t.drawLineThroughMe(e)),t.connector=i,this},getPointPathString:function(t){return["_M",t.x,",",t.y,"L",t.x,",",t.y,t.x,",",t.y].join(" ")},animatePath:function(t,e){return t.hidden&&"_"!==e.charAt(0)&&(t.show(),t.hidden=!1),t.animate({path:"_"===e.charAt(0)?e.substring(1):e},this.CONFIG.animation.connectorsSpeed,this.CONFIG.animation.connectorsAnimation,function(){"_"===e.charAt(0)&&(t.hide(),t.hidden=!0)}),this},getPathString:function(t,e,i){var n=t.connectorPoint(!0),e=e.connectorPoint(!1),o=this.CONFIG.rootOrientation,r=t.connStyle.type,s={},h={};"NORTH"==o||"SOUTH"==o?(s.y=h.y=(n.y+e.y)/2,s.x=n.x,h.x=e.x):"EAST"!=o&&"WEST"!=o||(s.x=h.x=(n.x+e.x)/2,s.y=n.y,h.y=e.y);var a,l,d=n.x+","+n.y,c=s.x+","+s.y,u=h.x+","+h.y,p=e.x+","+e.y;return i?(i="EAST"==o||"WEST"==o?e.x+","+n.y:n.x+","+e.y,"step"==r||"straight"==r?a=["M",d,"L",i,"L",p]:"curve"!=r&&"bCurve"!=r||(t=t.connStyle.stackIndent,"NORTH"==o?l=e.x-t+","+(e.y-t):"SOUTH"==o?l=e.x-t+","+(e.y+t):"EAST"==o?l=e.x+t+","+n.y:"WEST"==o&&(l=e.x-t+","+n.y),a=["M",d,"L",l,"S",i,p])):"step"==r?a=["M",d,"L",c,"L",u,"L",p]:"curve"==r?a=["M",d,"C",c,u,p]:"bCurve"==r?a=["M",d,"Q",c,(s.x+h.x)/2+","+(s.y+h.y)/2,"T",p]:"straight"==r&&(a=["M",d,"L",d,p]),a.join(" ")},setNeighbors:function(t,e){return t.leftNeighborId=this.lastNodeOnLevel[e],t.leftNeighborId&&(t.leftNeighbor().rightNeighborId=t.id),this.lastNodeOnLevel[e]=t.id,this},calcLevelDim:function(t,e){return this.levelMaxDim[e]={width:Math.max(this.levelMaxDim[e]?this.levelMaxDim[e].width:0,t.width),height:Math.max(this.levelMaxDim[e]?this.levelMaxDim[e].height:0,t.height)},this},resetLevelData:function(){return this.lastNodeOnLevel=[],this.levelMaxDim=[],this},root:function(){return this.nodeDB.get(0)}},function(t,e){this.reset(t,e)}),h=(r.prototype={reset:function(t,a){this.db=[];var l=this;return a.CONFIG.animateOnInit&&(t.collapsed=!0),function t(e,i){var n=l.createNode(e,i,a,null);if(e.children){if(e.childrenDropLevel&&0<e.childrenDropLevel)for(;e.childrenDropLevel--;){var o=d.cloneObj(n.connStyle);(n=l.createNode("pseudo",n.id,a,null)).connStyle=o,n.children=[]}var r=e.stackChildren&&!l.hasGrandChildren(e)?n.id:null;null!==r&&(n.stackChildren=[]);for(var s=0,h=e.children.length;s<h;s++)null!==r?(n=l.createNode(e.children[s],n.id,a,r),s+1<h&&(n.children=[])):t(e.children[s],n.id)}}(t,-1),this.createGeometries(a),this},createGeometries:function(t){for(var e=this.db.length;e--;)this.get(e).createGeometry(t);return this},get:function(t){return this.db[t]},walk:function(t){for(var e=this.db.length;e--;)t.apply(this,[this.get(e)]);return this},createNode:function(t,e,i,n){i=new h(t,this.db.length,e,i,n);return this.db.push(i),0<=e&&(e=this.get(e),!t.position||"left"==t.position?e.children.push(i.id):"right"==t.position?e.children.splice(0,0,i.id):"center"==t.position?e.children.splice(Math.floor(e.children.length/2),0,i.id):(t=parseInt(t.position),1==e.children.length&&0<t?e.children.splice(0,0,i.id):e.children.splice(Math.max(t,e.children.length-1),0,i.id))),n&&(this.get(n).stackParent=!0,this.get(n).stackChildren.push(i.id)),i},getMinMaxCoord:function(t,e,i){e=e||this.get(0),i=i||{min:e[t],max:e[t]+("X"==t?e.width:e.height)};for(var n=e.childrenCount();n--;){var o=e.childAt(n),r=o[t]+("X"==t?o.width:o.height),s=o[t];r>i.max&&(i.max=r),s<i.min&&(i.min=s),this.getMinMaxCoord(t,o,i)}return i},hasGrandChildren:function(t){for(var e=t.children.length;e--;)if(t.children[e].children)return!0;return!1}},function(t,e,i,n,o){this.reset(t,e,i,n,o)}),a=(h.prototype={reset:function(t,e,i,n,o){return this.id=e,this.parentId=i,this.treeId=n.id,this.prelim=0,this.modifier=0,this.leftNeighborId=null,this.stackParentId=o,this.pseudo="pseudo"===t||t.pseudo,this.meta=t.meta||{},this.image=t.image||null,this.link=d.createMerge(n.CONFIG.node.link,t.link),this.connStyle=d.createMerge(n.CONFIG.connectors,t.connectors),this.connector=null,this.drawLineThrough=!1!==t.drawLineThrough&&(t.drawLineThrough||n.CONFIG.node.drawLineThrough),this.collapsable=!1!==t.collapsable&&(t.collapsable||n.CONFIG.node.collapsable),this.collapsed=t.collapsed,this.text=t.text,this.nodeInnerHTML=t.innerHTML,this.nodeHTMLclass=(n.CONFIG.node.HTMLclass||"")+(t.HTMLclass?" "+t.HTMLclass:""),this.nodeHTMLid=t.HTMLid,this.children=[],this},getTree:function(){return n.get(this.treeId)},getTreeConfig:function(){return this.getTree().CONFIG},getTreeNodeDb:function(){return this.getTree().getNodeDb()},lookupNode:function(t){return this.getTreeNodeDb().get(t)},Tree:function(){return n.get(this.treeId)},dbGet:function(t){return this.getTreeNodeDb().get(t)},size:function(){var t=this.getTreeConfig().rootOrientation;return this.pseudo?-this.getTreeConfig().subTeeSeparation:"NORTH"==t||"SOUTH"==t?this.width:"WEST"==t||"EAST"==t?this.height:void 0},childrenCount:function(){return this.collapsed||!this.children?0:this.children.length},childAt:function(t){return this.dbGet(this.children[t])},firstChild:function(){return this.childAt(0)},lastChild:function(){return this.childAt(this.children.length-1)},parent:function(){return this.lookupNode(this.parentId)},leftNeighbor:function(){if(this.leftNeighborId)return this.lookupNode(this.leftNeighborId)},rightNeighbor:function(){if(this.rightNeighborId)return this.lookupNode(this.rightNeighborId)},leftSibling:function(){var t=this.leftNeighbor();if(t&&t.parentId==this.parentId)return t},rightSibling:function(){var t=this.rightNeighbor();if(t&&t.parentId==this.parentId)return t},childrenCenter:function(){var t=this.firstChild(),e=this.lastChild();return t.prelim+(e.prelim-t.prelim+e.size())/2},collapsedParent:function(){var t=this.parent();return!!t&&(t.collapsed?t:t.collapsedParent())},leftMost:function(t,e){if(e<=t)return this;if(0!==this.childrenCount())for(var i=0,n=this.childrenCount();i<n;i++){var o=this.childAt(i).leftMost(t+1,e);if(o)return o}},connectorPoint:function(t){var e=this.Tree().CONFIG.rootOrientation,i={};return this.stackParentId&&("NORTH"==e||"SOUTH"==e?e="WEST":"EAST"!=e&&"WEST"!=e||(e="NORTH")),"NORTH"==e?(i.x=this.pseudo?this.X-this.Tree().CONFIG.subTeeSeparation/2:this.X+this.width/2,i.y=t?this.Y+this.height:this.Y):"SOUTH"==e?(i.x=this.pseudo?this.X-this.Tree().CONFIG.subTeeSeparation/2:this.X+this.width/2,i.y=t?this.Y:this.Y+this.height):"EAST"==e?(i.x=t?this.X:this.X+this.width,i.y=this.pseudo?this.Y-this.Tree().CONFIG.subTeeSeparation/2:this.Y+this.height/2):"WEST"==e&&(i.x=t?this.X+this.width:this.X,i.y=this.pseudo?this.Y-this.Tree().CONFIG.subTeeSeparation/2:this.Y+this.height/2),i},pathStringThrough:function(){var t=this.connectorPoint(!0),e=this.connectorPoint(!1);return["M",t.x+","+t.y,"L",e.x+","+e.y].join(" ")},drawLineThroughMe:function(t){var e=t?this.Tree().getPointPathString(t):this.pathStringThrough(),e=(this.lineThroughMe=this.lineThroughMe||this.Tree()._R.path(e),d.cloneObj(this.connStyle.style));delete e["arrow-start"],delete e["arrow-end"],this.lineThroughMe.attr(e),t&&(this.lineThroughMe.hide(),this.lineThroughMe.hidden=!0)},addSwitchEvent:function(e){var i=this;d.addEvent(e,"click",function(t){return t.preventDefault(),!1!==i.getTreeConfig().callback.onBeforeClickCollapseSwitch.apply(i,[e,t])&&(i.toggleCollapse(),void i.getTreeConfig().callback.onAfterClickCollapseSwitch.apply(i,[e,t]))})},collapse:function(){return this.collapsed||this.toggleCollapse(),this},expand:function(){return this.collapsed&&this.toggleCollapse(),this},toggleCollapse:function(){var t,e=this.getTree();return e.inAnimation||(e.inAnimation=!0,this.collapsed=!this.collapsed,d.toggleClass(this.nodeDOM,"collapsed",this.collapsed),e.positionTree(),t=this,setTimeout(function(){e.inAnimation=!1,e.CONFIG.callback.onToggleCollapseFinished.apply(e,[t,t.collapsed])},e.CONFIG.animation.nodeSpeed>e.CONFIG.animation.connectorsSpeed?e.CONFIG.animation.nodeSpeed:e.CONFIG.animation.connectorsSpeed)),this},hide:function(t){t=t||!1;var e=this.hidden,i=(this.hidden=!0,this.nodeDOM.style.overflow="hidden",this.getTree()),n=this.getTreeConfig(),o={opacity:0};return t&&(o.left=t.x,o.top=t.y),!this.positioned||e?(this.nodeDOM.style.visibility="hidden",s?s(this.nodeDOM).css(o):(this.nodeDOM.style.left=o.left+"px",this.nodeDOM.style.top=o.top+"px"),this.positioned=!0):s?s(this.nodeDOM).animate(o,n.animation.nodeSpeed,n.animation.nodeAnimation,function(){this.style.visibility="hidden"}):(this.nodeDOM.style.transition="all "+n.animation.nodeSpeed+"ms ease",this.nodeDOM.style.transitionProperty="opacity, left, top",this.nodeDOM.style.opacity=o.opacity,this.nodeDOM.style.left=o.left+"px",this.nodeDOM.style.top=o.top+"px",this.nodeDOM.style.visibility="hidden"),this.lineThroughMe&&(n=i.getPointPathString(t),e?this.lineThroughMe.attr({path:n}):i.animatePath(this.lineThroughMe,i.getPointPathString(t))),this},hideConnector:function(){var t=this.Tree(),e=t.connectionStore[this.id];return e&&e.animate({opacity:0},t.CONFIG.animation.connectorsSpeed,t.CONFIG.animation.connectorsAnimation),this},show:function(){this.hidden,this.hidden=!1,this.nodeDOM.style.visibility="visible";this.Tree();var t={left:this.X,top:this.Y,opacity:1},e=this.getTreeConfig();return s?s(this.nodeDOM).animate(t,e.animation.nodeSpeed,e.animation.nodeAnimation,function(){this.style.overflow=""}):(this.nodeDOM.style.transition="all "+e.animation.nodeSpeed+"ms ease",this.nodeDOM.style.transitionProperty="opacity, left, top",this.nodeDOM.style.left=t.left+"px",this.nodeDOM.style.top=t.top+"px",this.nodeDOM.style.opacity=t.opacity,this.nodeDOM.style.overflow=""),this.lineThroughMe&&this.getTree().animatePath(this.lineThroughMe,this.pathStringThrough()),this},showConnector:function(){var t=this.Tree(),e=t.connectionStore[this.id];return e&&e.animate({opacity:1},t.CONFIG.animation.connectorsSpeed,t.CONFIG.animation.connectorsAnimation),this}},h.prototype.createGeometry=function(t){if(0===this.id&&t.CONFIG.hideRootNode)this.width=0,this.height=0;else{var e,i,n=t.drawArea,o=document.createElement(this.link.href?"a":"div");if(o.className=this.pseudo?"pseudo":h.CONFIG.nodeHTMLclass,this.nodeHTMLclass&&!this.pseudo&&(o.className+=" "+this.nodeHTMLclass),this.nodeHTMLid&&(o.id=this.nodeHTMLid),this.link.href&&(o.href=this.link.href,o.target=this.link.target),s?s(o).data("treenode",this):o.data={treenode:this},!this.pseudo){if(this.nodeInnerHTML)"#"===this.nodeInnerHTML.charAt(0)?(e=document.getElementById(this.nodeInnerHTML.substring(1)))?((o=e.cloneNode(!0)).id+="-clone",o.className+=" node"):o.innerHTML="<b> Wrong ID selector </b>":o.innerHTML=this.nodeInnerHTML;else if(this.image&&((e=document.createElement("img")).src=this.image,o.appendChild(e)),this.text)for(var r in this.text)h.CONFIG.textClass[r]&&(i=document.createElement(this.text[r].href?"a":"p"),this.text[r].href&&(i.href=this.text[r].href,this.text[r].target)&&(i.target=this.text[r].target),i.className=h.CONFIG.textClass[r],i.appendChild(document.createTextNode(this.text[r].val||(this.text[r]instanceof Object?"'val' param missing!":this.text[r]))),o.appendChild(i));(this.collapsed||this.collapsable&&this.childrenCount()&&!this.stackParentId)&&this.createSwitchGeometry(t,o)}t.CONFIG.callback.onCreateNode.apply(t,[this,o]),n.appendChild(o),this.width=o.offsetWidth,this.height=o.offsetHeight,this.nodeDOM=o,t.imageLoader.processNode(this)}},h.prototype.createSwitchGeometry=function(t,e){e=e||this.nodeDOM;var i=d.findEl(".collapse-switch",!0,e);return i||((i=document.createElement("a")).className="collapse-switch",e.appendChild(i),this.addSwitchEvent(i),this.collapsed&&(e.className+=" collapsed"),t.CONFIG.callback.onCreateNodeCollapseSwitch.apply(t,[this,e,i])),i},o.CONFIG={maxDepth:100,rootOrientation:"NORTH",nodeAlign:"CENTER",levelSeparation:30,siblingSeparation:30,subTeeSeparation:30,hideRootNode:!1,animateOnInit:!1,animateOnInitDelay:500,padding:15,scrollbar:"native",connectors:{type:"curve",style:{stroke:"black"},stackIndent:15},node:{link:{target:"_self"}},animation:{nodeSpeed:450,nodeAnimation:"linear",connectorsSpeed:450,connectorsAnimation:"linear"},callback:{onCreateNode:function(t,e){},onCreateNodeCollapseSwitch:function(t,e,i){},onAfterAddNode:function(t,e,i){},onBeforeAddNode:function(t,e){},onAfterPositionNode:function(t,e,i,n){},onBeforePositionNode:function(t,e,i,n){},onToggleCollapseFinished:function(t,e){},onAfterClickCollapseSwitch:function(t,e){},onBeforeClickCollapseSwitch:function(t,e){},onTreeLoaded:function(t){}}},h.CONFIG={nodeHTMLclass:"node",textClass:{name:"node-name",title:"node-title",desc:"node-desc",contact:"node-contact"}},{make:function(t){var e,i=t.length;for(this.jsonStructure={chart:null,nodeStructure:null};i--;)(e=t[i]).hasOwnProperty("container")?this.jsonStructure.chart=e:e.hasOwnProperty("parent")||e.hasOwnProperty("container")||((this.jsonStructure.nodeStructure=e).myID=this.getID());return this.findChildren(t),this.jsonStructure},findChildren:function(t){for(var e=[0];e.length;){for(var i=e.pop(),n=this.findNode(this.jsonStructure.nodeStructure,i),o=0,r=t.length,s=[];o<r;o++){var h=t[o];h.parent&&h.parent.myID==i&&(h.myID=this.getID(),delete h.parent,s.push(h),e.push(h.myID))}s.length&&(n.children=s)}},findNode:function(t,e){var i,n;if(t.myID===e)return t;if(t.children)for(i=t.children.length;i--;)if(n=this.findNode(t.children[i],e))return n},getID:(e=0,function(){return e++})});t.prototype.destroy=function(){n.destroy(this.tree.id)},window.Treant=t}();
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(w,P){"use strict";var e=[],T=w.document,R=Object.getPrototypeOf,a=e.slice,M=e.concat,I=e.push,i=e.indexOf,n={},W=n.toString,$=n.hasOwnProperty,B=$.toString,_=B.call(Object),g={};function z(e,t){var n=(t=t||T).createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function X(e,t){return t.toUpperCase()}var t="3.1.1",C=function(e,t){return new C.fn.init(e,t)},U=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,V=/^-ms-/,G=/-([a-z])/g;function Y(e){var t=!!e&&"length"in e&&e.length,n=C.type(e);return"function"!==n&&!C.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}C.fn=C.prototype={jquery:t,constructor:C,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=C.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return C.each(this,e)},map:function(n){return this.pushStack(C.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:I,sort:e.sort,splice:e.splice},C.extend=C.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},s=1,a=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||C.isFunction(o)||(o={}),s===a&&(o=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)i=o[t],n=e[t],o!==n&&(u&&n&&(C.isPlainObject(n)||(r=C.isArray(n)))?(i=r?(r=!1,i&&C.isArray(i)?i:[]):i&&C.isPlainObject(i)?i:{},o[t]=C.extend(u,i,n)):void 0!==n&&(o[t]=n));return o},C.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===C.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){return!(!e||"[object Object]"!==W.call(e)||(e=R(e))&&("function"!=typeof(e=$.call(e,"constructor")&&e.constructor)||B.call(e)!==_))},isEmptyObject:function(e){for(var t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[W.call(e)]||"object":typeof e},globalEval:function(e){z(e)},camelCase:function(e){return e.replace(V,"ms-").replace(G,X)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(Y(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(U,"")},makeArray:function(e,t){t=t||[];return null!=e&&(Y(Object(e))?C.merge(t,"string"==typeof e?[e]:e):I.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!=s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(Y(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)i=t(e[o],o,n),null!=i&&s.push(i);return M.apply([],s)},guid:1,proxy:function(e,t){var n,r;if("string"==typeof t&&(r=e[t],t=e,e=r),C.isFunction(e))return n=a.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(a.call(arguments)))}).guid=e.guid=e.guid||C.guid++,r},now:Date.now,support:g}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=e[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});function r(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&C(e).is(n))break;r.push(e)}return r}function Q(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var t=function(P){function f(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320)}function R(e,t){return t?"\0"===e?"ļæ½":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function M(){T()}var e,d,b,o,I,h,W,$,w,u,l,T,C,n,E,g,r,i,m,k="sizzle"+ +new Date,y=P.document,N=0,B=0,_=fe(),z=fe(),v=fe(),X=function(e,t){return e===t&&(l=!0),0},U={}.hasOwnProperty,t=[],V=t.pop,G=t.push,S=t.push,Y=t.slice,x=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",s="[\\x20\\t\\r\\n\\f]",a="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",J="\\["+s+"*("+a+")(?:"+s+"*([*^$|!~]?=)"+s+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+a+"))|)"+s+"*\\]",K=":("+a+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+J+")*)|.*)\\)|)",Z=new RegExp(s+"+","g"),D=new RegExp("^"+s+"+|((?:^|[^\\\\])(?:\\\\.)*)"+s+"+$","g"),ee=new RegExp("^"+s+"*,"+s+"*"),te=new RegExp("^"+s+"*([>+~]|"+s+")"+s+"*"),ne=new RegExp("="+s+"*([^\\]'\"]*?)"+s+"*\\]","g"),re=new RegExp(K),ie=new RegExp("^"+a+"$"),p={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},oe=/^(?:input|select|textarea|button)$/i,se=/^h\d$/i,c=/^[^{]+\{\s*\[native \w/,ae=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ue=/[+~]/,j=new RegExp("\\\\([\\da-f]{1,6}"+s+"?|("+s+")|.)","ig"),le=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ce=O(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{S.apply(t=Y.call(y.childNodes),y.childNodes),t[y.childNodes.length].nodeType}catch(e){S={apply:t.length?function(e,t){G.apply(e,Y.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function A(e,t,n,r){var i,o,s,a,u,l,c,f=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!r&&((t?t.ownerDocument||t:y)!==C&&T(t),t=t||C,E)){if(11!==p&&(u=ae.exec(e)))if(i=u[1]){if(9===p){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(f&&(s=f.getElementById(i))&&m(t,s)&&s.id===i)return n.push(s),n}else{if(u[2])return S.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&d.getElementsByClassName&&t.getElementsByClassName)return S.apply(n,t.getElementsByClassName(i)),n}if(d.qsa&&!v[e+" "]&&(!g||!g.test(e))){if(1!==p)f=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(le,R):t.setAttribute("id",a=k),o=(l=h(e)).length;o--;)l[o]="#"+a+" "+F(l[o]);c=l.join(","),f=ue.test(e)&&ge(t.parentNode)||t}if(c)try{return S.apply(n,f.querySelectorAll(c)),n}catch(e){}finally{a===k&&t.removeAttribute("id")}}}return $(e.replace(D,"$1"),t,n,r)}function fe(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function q(e){return e[k]=!0,e}function L(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function pe(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ce(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function H(s){return q(function(o){return o=+o,q(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=A.support={},I=A.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},T=A.setDocument=function(e){var e=e?e.ownerDocument||e:y;return e!==C&&9===e.nodeType&&e.documentElement&&(n=(C=e).documentElement,E=!I(C),y!==C&&(e=C.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",M,!1):e.attachEvent&&e.attachEvent("onunload",M)),d.attributes=L(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=L(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=c.test(C.getElementsByClassName),d.getById=L(function(e){return n.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(j,f);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E)return(t=t.getElementById(e))?[t]:[]}):(b.filter.ID=function(e){var t=e.replace(j,f);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},r=[],g=[],(d.qsa=c.test(C.querySelectorAll))&&(L(function(e){n.appendChild(e).innerHTML="<a id='"+k+"'></a><select id='"+k+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+s+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+s+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+k+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||g.push(".#.+[+~]")}),L(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+s+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(d.matchesSelector=c.test(i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&L(function(e){d.disconnectedMatch=i.call(e,"*"),i.call(e,"[s!='']:x"),r.push("!=",K)}),g=g.length&&new RegExp(g.join("|")),r=r.length&&new RegExp(r.join("|")),e=c.test(n.compareDocumentPosition),m=e||c.test(n.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=e?function(e,t){var n;return e===t?(l=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===y&&m(y,e)?-1:t===C||t.ownerDocument===y&&m(y,t)?1:u?x(u,e)-x(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?x(u,e)-x(u,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?de(s[r],a[r]):s[r]===y?-1:a[r]===y?1:0}),C},A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),t=t.replace(ne,"='$1']"),d.matchesSelector&&E&&!v[t+" "]&&(!r||!r.test(t))&&(!g||!g.test(t)))try{var n=i.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<A(t,C,null,[e]).length},A.contains=function(e,t){return(e.ownerDocument||e)!==C&&T(e),m(e,t)},A.attr=function(e,t){(e.ownerDocument||e)!==C&&T(e);var n=b.attrHandle[t.toLowerCase()],n=n&&U.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==n?n:d.attributes||!E?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},A.escape=function(e){return(e+"").replace(le,R)},A.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},A.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(X),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},o=A.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=A.selectors={cacheLength:50,createPseudo:q,match:p,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(j,f),e[3]=(e[3]||e[4]||e[5]||"").replace(j,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||A.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&A.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return p.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&re.test(n)&&(t=(t=h(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(j,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&_(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=A.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1<e.indexOf(r):"$="===n?r&&e.slice(-r.length)===r:"~="===n?-1<(" "+e.replace(Z," ")+" ").indexOf(r):"|="===n&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(h,e,t,g,m){var y="nth"!==h.slice(0,3),v="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,s,a,u,l=y!=v?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(y){for(;l;){for(s=e;s=s[l];)if(x?s.nodeName.toLowerCase()===f:1===s.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[v?c.firstChild:c.lastChild],v&&p){for(d=(a=(r=(i=(o=(s=c)[k]||(s[k]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1])&&r[2],s=a&&c.childNodes[a];s=++a&&s&&s[l]||(d=a=0,u.pop());)if(1===s.nodeType&&++d&&s===e){i[h]=[N,a,d];break}}else if(!1===(d=p?a=(r=(i=(o=(s=e)[k]||(s[k]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]||[])[0]===N&&r[1]:d))for(;(s=++a&&s&&s[l]||(d=a=0,u.pop()))&&((x?s.nodeName.toLowerCase()!==f:1!==s.nodeType)||!++d||(p&&((i=(o=s[k]||(s[k]={}))[s.uniqueID]||(o[s.uniqueID]={}))[h]=[N,d]),s!==e)););return(d-=m)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,s=b.pseudos[e]||b.setFilters[e.toLowerCase()]||A.error("unsupported pseudo: "+e);return s[k]?s(o):1<s.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?q(function(e,t){for(var n,r=s(e,o),i=r.length;i--;)e[n=x(e,r[i])]=!(t[n]=r[i])}):function(e){return s(e,0,t)}):s}},pseudos:{not:q(function(e){var r=[],i=[],a=W(e.replace(D,"$1"));return a[k]?q(function(e,t,n,r){for(var i,o=a(e,null,r,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))}):function(e,t,n){return r[0]=e,a(r,null,n,i),r[0]=null,!i.pop()}}),has:q(function(t){return function(e){return 0<A(t,e).length}}),contains:q(function(t){return t=t.replace(j,f),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:q(function(n){return ie.test(n||"")||A.error("unsupported lang: "+n),n=n.replace(j,f).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=P.location&&P.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===n},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return se.test(e.nodeName)},input:function(e){return oe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:H(function(){return[0]}),last:H(function(e,t){return[t-1]}),eq:H(function(e,t,n){return[n<0?n+t:n]}),even:H(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:H(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:H(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:H(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function me(){}function F(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function O(s,e,t){var a=e.dir,u=e.next,l=u||a,c=t&&"parentNode"===l,f=B++;return e.first?function(e,t,n){for(;e=e[a];)if(1===e.nodeType||c)return s(e,t,n);return!1}:function(e,t,n){var r,i,o=[N,f];if(n){for(;e=e[a];)if((1===e.nodeType||c)&&s(e,t,n))return!0}else for(;e=e[a];)if(1===e.nodeType||c)if(i=(i=e[k]||(e[k]={}))[e.uniqueID]||(i[e.uniqueID]={}),u&&u===e.nodeName.toLowerCase())e=e[a]||e;else{if((r=i[l])&&r[0]===N&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=s(e,t,n))return!0}return!1}}function ye(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function ve(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a<u;a++)!(o=e[a])||n&&!n(o,r,i)||(s.push(o),l&&t.push(a));return s}function xe(d,h,g,m,y,e){return m&&!m[k]&&(m=xe(m)),y&&!y[k]&&(y=xe(y,e)),q(function(e,t,n,r){var i,o,s,a=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)A(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:ve(c,a,d,n,r),p=g?y||(e?d:l||m)?[]:t:f;if(g&&g(f,p,n,r),m)for(i=ve(p,u),m(i,[],n,r),o=i.length;o--;)(s=i[o])&&(p[u[o]]=!(f[u[o]]=s));if(e){if(y||d){if(y){for(i=[],o=p.length;o--;)(s=p[o])&&i.push(f[o]=s);y(null,p=[],i,r)}for(o=p.length;o--;)(s=p[o])&&-1<(i=y?x(e,s):a[o])&&(e[i]=!(t[i]=s))}}else p=ve(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):S.apply(t,p)})}function be(m,y){function e(e,t,n,r,i){var o,s,a,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=N+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t===C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){for(s=0,t||o.ownerDocument===C||(T(o),n=!E);a=m[s++];)if(a(o,t||C,n)){r.push(o);break}i&&(N=h)}v&&((o=!a&&o)&&u--,e)&&c.push(o)}if(u+=l,v&&l!==u){for(s=0;a=y[s++];)a(c,f,t,n);if(e){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=V.call(r));f=ve(f)}S.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&A.uniqueSort(r)}return i&&(N=h,w=p),c}var v=0<y.length,x=0<m.length;return v?q(e):e}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=A.tokenize=function(e,t){var n,r,i,o,s,a,u,l=z[e+" "];if(l)return t?0:l.slice(0);for(s=e,a=[],u=b.preFilter;s;){for(o in n&&!(r=ee.exec(s))||(r&&(s=s.slice(r[0].length)||s),a.push(i=[])),n=!1,(r=te.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(D," ")}),s=s.slice(n.length)),b.filter)!(r=p[o].exec(s))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?A.error(e):z(e,a).slice(0)},W=A.compile=function(e,t){var n,r=[],i=[],o=v[e+" "];if(!o){for(n=(t=t||h(e)).length;n--;)((o=function e(t){for(var r,n,i,o=t.length,s=b.relative[t[0].type],a=s||b.relative[" "],u=s?1:0,l=O(function(e){return e===r},a,!0),c=O(function(e){return-1<x(r,e)},a,!0),f=[function(e,t,n){return e=!s&&(n||t!==w)||((r=t).nodeType?l:c)(e,t,n),r=null,e}];u<o;u++)if(n=b.relative[t[u].type])f=[O(ye(f),n)];else{if((n=b.filter[t[u].type].apply(null,t[u].matches))[k]){for(i=++u;i<o&&!b.relative[t[i].type];i++);return xe(1<u&&ye(f),1<u&&F(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(D,"$1"),n,u<i&&e(t.slice(u,i)),i<o&&e(t=t.slice(i)),i<o&&F(t))}f.push(n)}return ye(f)}(t[n]))[k]?r:i).push(o);(o=v(e,be(i,r))).selector=e}return o},$=A.select=function(e,t,n,r){var i,o,s,a,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(s=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(s.matches[0].replace(j,f),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=p.needsContext.test(e)?0:o.length;i--&&(s=o[i],!b.relative[a=s.type]);)if((u=b.find[a])&&(r=u(s.matches[0].replace(j,f),ue.test(o[0].type)&&ge(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&F(o))break;return S.apply(n,r),n}}return(l||W(e,c))(r,t,!E,n,!t||ue.test(e)&&ge(t.parentNode)||t),n},d.sortStable=k.split("").sort(X).join("")===k,d.detectDuplicates=!!l,T(),d.sortDetached=L(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),L(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||pe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&L(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||pe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),L(function(e){return null==e.getAttribute("disabled")})||pe(Q,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),A}(w),J=(C.find=t,C.expr=t.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=t.uniqueSort,C.text=t.getText,C.isXMLDoc=t.isXML,C.contains=t.contains,C.escapeSelector=t.escape,C.expr.match.needsContext),K=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Z=/^.[^:#\[\.,]*$/;function ee(e,n,r){return C.isFunction(n)?C.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?C.grep(e,function(e){return e===n!==r}):"string"!=typeof n?C.grep(e,function(e){return-1<i.call(n,e)!==r}):Z.test(n)?C.filter(n,e,r):(n=C.filter(n,e),C.grep(e,function(e){return-1<i.call(n,e)!==r&&1===e.nodeType}))}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t<r;t++)if(C.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)C.find(e,i[t],n);return 1<r?C.uniqueSort(n):n},filter:function(e){return this.pushStack(ee(this,e||[],!1))},not:function(e){return this.pushStack(ee(this,e||[],!0))},is:function(e){return!!ee(this,"string"==typeof e&&J.test(e)?C(e):e||[],!1).length}});var te,ne=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,re=((C.fn.init=function(e,t,n){if(e){if(n=n||te,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):C.isFunction(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:ne.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),K.test(r[1])&&C.isPlainObject(t))for(var r in t)C.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r])}else(n=T.getElementById(r[2]))&&(this[0]=n,this.length=1)}return this}).prototype=C.fn,te=C(T),/^(?:parents|prev(?:Until|All))/),ie={children:!0,contents:!0,next:!0,prev:!0};function oe(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],s="string"!=typeof e&&C(e);if(!J.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&C.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?C.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(C(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return r(e,"parentNode")},parentsUntil:function(e,t,n){return r(e,"parentNode",n)},next:function(e){return oe(e,"nextSibling")},prev:function(e){return oe(e,"previousSibling")},nextAll:function(e){return r(e,"nextSibling")},prevAll:function(e){return r(e,"previousSibling")},nextUntil:function(e,t,n){return r(e,"nextSibling",n)},prevUntil:function(e,t,n){return r(e,"previousSibling",n)},siblings:function(e){return Q((e.parentNode||{}).firstChild,e)},children:function(e){return Q(e.firstChild)},contents:function(e){return e.contentDocument||C.merge([],e.childNodes)}},function(r,i){C.fn[r]=function(e,t){var n=C.map(this,i,e);return(t="Until"!==r.slice(-5)?e:t)&&"string"==typeof t&&(n=C.filter(t,n)),1<this.length&&(ie[r]||C.uniqueSort(n),re.test(r))&&n.reverse(),this.pushStack(n)}});var E=/[^\x20\t\r\n\f]+/g;function c(e){return e}function se(e){throw e}function ae(e,t,n){var r;try{e&&C.isFunction(r=e.promise)?r.call(e).done(t).fail(n):e&&C.isFunction(r=e.then)?r.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}C.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},C.each(e.match(E)||[],function(e,t){n[t]=!0}),n):C.extend({},r);function i(){for(a=r.once,s=o=!0;l.length;c=-1)for(t=l.shift();++c<u.length;)!1===u[c].apply(t[0],t[1])&&r.stopOnFalse&&(c=u.length,t=!1);r.memory||(t=!1),o=!1,a&&(u=t?[]:"")}var o,t,s,a,u=[],l=[],c=-1,f={add:function(){return u&&(t&&!o&&(c=u.length-1,l.push(t)),function n(e){C.each(e,function(e,t){C.isFunction(t)?r.unique&&f.has(t)||u.push(t):t&&t.length&&"string"!==C.type(t)&&n(t)})}(arguments),t)&&!o&&i(),this},remove:function(){return C.each(arguments,function(e,t){for(var n;-1<(n=C.inArray(t,u,n));)u.splice(n,1),n<=c&&c--}),this},has:function(e){return e?-1<C.inArray(e,u):0<u.length},empty:function(){return u=u&&[],this},disable:function(){return a=l=[],u=t="",this},disabled:function(){return!u},lock:function(){return a=l=[],t||o||(u=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),o)||i(),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!s}};return f},C.extend({Deferred:function(e){var o=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],i="pending",s={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return s.then(null,e)},pipe:function(){var i=arguments;return C.Deferred(function(r){C.each(o,function(e,t){var n=C.isFunction(i[t[4]])&&i[t[4]];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&C.isFunction(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,s,a){return function(){function e(){var e,t;if(!(i<u)){if((e=s.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,C.isFunction(t)?a?t.call(e,l(u,o,c,a),l(u,o,se,a)):(u++,t.call(e,l(u,o,c,a),l(u,o,se,a),l(u,o,c,o.notifyWith))):(s!==c&&(n=void 0,r=[e]),(a||o.resolveWith)(n,r))}}var n=this,r=arguments,t=a?e:function(){try{e()}catch(e){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(s!==se&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(C.Deferred.getStackHook&&(t.stackTrace=C.Deferred.getStackHook()),w.setTimeout(t))}}return C.Deferred(function(e){o[0][3].add(l(0,e,C.isFunction(r)?r:c,e.notifyWith)),o[1][3].add(l(0,e,C.isFunction(t)?t:c)),o[2][3].add(l(0,e,C.isFunction(n)?n:se))}).promise()},promise:function(e){return null!=e?C.extend(e,s):s}},a={};return C.each(o,function(e,t){var n=t[2],r=t[5];s[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[0][2].lock),n.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(e){function t(t){return function(e){i[t]=this,o[t]=1<arguments.length?a.call(arguments):e,--n||s.resolveWith(i,o)}}var n=arguments.length,r=n,i=Array(r),o=a.call(arguments),s=C.Deferred();if(n<=1&&(ae(e,s.done(t(r)).resolve,s.reject),"pending"===s.state()||C.isFunction(o[r]&&o[r].then)))return s.then();for(;r--;)ae(o[r],t(r),s.reject);return s.promise()}});var ue=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,le=(C.Deferred.exceptionHook=function(e,t){w.console&&w.console.warn&&e&&ue.test(e.name)&&w.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){w.setTimeout(function(){throw e})},C.Deferred());function ce(){T.removeEventListener("DOMContentLoaded",ce),w.removeEventListener("load",ce),C.ready()}C.fn.ready=function(e){return le.then(e).catch(function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,holdReady:function(e){e?C.readyWait++:C.ready(!0)},ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0)!==e&&0<--C.readyWait||le.resolveWith(T,[C])}}),C.ready.then=le.then,"complete"===T.readyState||"loading"!==T.readyState&&!T.documentElement.doScroll?w.setTimeout(C.ready):(T.addEventListener("DOMContentLoaded",ce),w.addEventListener("load",ce));function f(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===C.type(n))for(a in i=!0,n)f(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,C.isFunction(r)||(s=!0),t=l?s?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(C(e),n)}):t))for(;a<u;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o}function fe(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function o(){this.expando=C.expando+o.uid++}o.uid=1,o.prototype={cache:function(e){var t=e[this.expando];return t||(t={},fe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[C.camelCase(t)]=n;else for(r in t)i[C.camelCase(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][C.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=C.isArray(t)?t.map(C.camelCase):(t=C.camelCase(t))in r?[t]:t.match(E)||[]).length;for(;n--;)delete r[t[n]]}void 0!==t&&!C.isEmptyObject(r)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var y=new o,u=new o,pe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,de=/[A-Z]/g;function he(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(de,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:pe.test(i)?JSON.parse(i):i)}catch(e){}u.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return u.hasData(e)||y.hasData(e)},data:function(e,t,n){return u.access(e,t,n)},removeData:function(e,t){u.remove(e,t)},_data:function(e,t,n){return y.access(e,t,n)},_removeData:function(e,t){y.remove(e,t)}}),C.fn.extend({data:function(n,e){var t,r,i,o=this[0],s=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){u.set(this,n)}):f(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=u.get(o,n))||void 0!==(t=he(o,n))?t:void 0;this.each(function(){u.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=u.get(o),1===o.nodeType)&&!y.get(o,"hasDataAttrs")){for(t=s.length;t--;)s[t]&&0===(r=s[t].name).indexOf("data-")&&(r=C.camelCase(r.slice(5)),he(o,r,i[r]));y.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){u.remove(this,e)})}}),C.extend({queue:function(e,t,n){var r;if(e)return r=y.get(e,t=(t||"fx")+"queue"),n&&(!r||C.isArray(n)?r=y.access(e,t,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,i=n.shift(),o=C._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){C.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return y.get(e,n)||y.access(e,n,{empty:C.Callbacks("once memory").add(function(){y.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?C.queue(this[0],t):void 0===n?this:this.each(function(){var e=C.queue(this,t,n);C._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&C.dequeue(this,t)})},dequeue:function(e){return this.each(function(){C.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(s,[s])}var r,i=1,o=C.Deferred(),s=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=y.get(s[a],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});function ge(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&C.contains(e.ownerDocument,e)&&"none"===C.css(e,"display")}function me(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=n.apply(e,r||[]),t)e.style[i]=o[i];return n}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,p=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),l=["Top","Right","Bottom","Left"];function ye(e,t,n,r){var i,o=1,s=20,a=r?function(){return r.cur()}:function(){return C.css(e,t,"")},u=a(),l=n&&n[3]||(C.cssNumber[t]?"":"px"),c=(C.cssNumber[t]||"px"!==l&&+u)&&p.exec(C.css(e,t));if(c&&c[3]!==l)for(l=l||c[3],n=n||[],c=+u||1;C.style(e,t,(c/=o=o||".5")+l),o!==(o=a()/u)&&1!==o&&--s;);return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r)&&(r.unit=l,r.start=c,r.end=i),i}var ve={};function m(e,t){for(var n,r,i,o,s,a=[],u=0,l=e.length;u<l;u++)(r=e[u]).style&&(n=r.style.display,t?("none"===n&&(a[u]=y.get(r,"display")||null,a[u]||(r.style.display="")),""===r.style.display&&ge(r)&&(a[u]=(s=o=void 0,o=(i=r).ownerDocument,i=i.nodeName,(s=ve[i])||(o=o.body.appendChild(o.createElement(i)),s=C.css(o,"display"),o.parentNode.removeChild(o),ve[i]=s="none"===s?"block":s)))):"none"!==n&&(a[u]="none",y.set(r,"display",n)));for(u=0;u<l;u++)null!=a[u]&&(e[u].style.display=a[u]);return e}C.fn.extend({show:function(){return m(this,!0)},hide:function(){return m(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ge(this)?C(this).show():C(this).hide()})}});var xe=/^(?:checkbox|radio)$/i,be=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,we=/^$|\/(?:java|ecma)script/i,h={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function v(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&C.nodeName(e,t)?C.merge([e],n):n}function Te(e,t){for(var n=0,r=e.length;n<r;n++)y.set(e[n],"globalEval",!t||y.get(t[n],"globalEval"))}h.optgroup=h.option,h.tbody=h.tfoot=h.colgroup=h.caption=h.thead,h.th=h.td;var Ce=/<|&#?\w+;/;function Ee(e,t,n,r,i){for(var o,s,a,u,l,c=t.createDocumentFragment(),f=[],p=0,d=e.length;p<d;p++)if((o=e[p])||0===o)if("object"===C.type(o))C.merge(f,o.nodeType?[o]:o);else if(Ce.test(o)){for(s=s||c.appendChild(t.createElement("div")),a=(be.exec(o)||["",""])[1].toLowerCase(),a=h[a]||h._default,s.innerHTML=a[1]+C.htmlPrefilter(o)+a[2],l=a[0];l--;)s=s.lastChild;C.merge(f,s.childNodes),(s=c.firstChild).textContent=""}else f.push(t.createTextNode(o));for(c.textContent="",p=0;o=f[p++];)if(r&&-1<C.inArray(o,r))i&&i.push(o);else if(u=C.contains(o.ownerDocument,o),s=v(c.appendChild(o),"script"),u&&Te(s),n)for(l=0;o=s[l++];)we.test(o.type||"")&&n.push(o);return c}t=T.createDocumentFragment().appendChild(T.createElement("div")),(j=T.createElement("input")).setAttribute("type","radio"),j.setAttribute("checked","checked"),j.setAttribute("name","t"),t.appendChild(j),g.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue;var ke=T.documentElement,Ne=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,De=/^([^.]*)(?:\.(.+)|)/;function je(){return!0}function d(){return!1}function Ae(){try{return T.activeElement}catch(e){}}function qe(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)qe(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=d;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return C().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),e.each(function(){C.event.add(this,t,i,r,n)})}C.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h=y.get(t);if(h)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(ke,i),n.guid||(n.guid=C.guid++),a=(a=h.events)||(h.events={}),s=(s=h.handle)||(h.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(E)||[""]).length;u--;)f=d=(p=De.exec(e[u])||[])[1],p=(p[2]||"").split(".").sort(),f&&(l=C.event.special[f]||{},f=(i?l.delegateType:l.bindType)||f,l=C.event.special[f]||{},d=C.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:p.join(".")},o),(c=a[f])||((c=a[f]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,r,p,s))||t.addEventListener&&t.addEventListener(f,s),l.add&&(l.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),i?c.splice(c.delegateCount++,0,d):c.push(d),C.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,m=y.hasData(e)&&y.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(E)||[""]).length;l--;)if(d=g=(a=De.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=C.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||C.removeEvent(e,d,m.handle),delete u[d])}else for(d in u)C.event.remove(e,d+t[l],n,r,!0);C.isEmptyObject(u)&&y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s=C.event.fix(e),a=new Array(arguments.length),e=(y.get(this,"events")||{})[s.type]||[],u=C.event.special[s.type]||{};for(a[0]=s,t=1;t<arguments.length;t++)a[t]=arguments[t];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(o=C.event.handlers.call(this,s,e),t=0;(r=o[t++])&&!s.isPropagationStopped();)for(s.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(i=((C.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,a))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,s,a=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],s={},n=0;n<u;n++)void 0===s[i=(r=t[n]).selector+" "]&&(s[i]=r.needsContext?-1<C(i,this).index(l):C.find(i,this,null,[l]).length),s[i]&&o.push(r);o.length&&a.push({elem:l,handlers:o})}return l=this,u<t.length&&a.push({elem:l,handlers:t.slice(u)}),a},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:C.isFunction(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Ae()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Ae()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&C.nodeName(this,"input"))return this.click(),!1},_default:function(e){return C.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){return this instanceof C.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?je:d,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||C.now(),void(this[C.expando]=!0)):new C.Event(e,t)},C.Event.prototype={constructor:C.Event,isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=je,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=je,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=je,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ne.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Se.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},C.event.addProp),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){C.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||C.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),C.fn.extend({on:function(e,t,n,r){return qe(this,e,t,n,r)},one:function(e,t,n,r){return qe(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)r=e.handleObj,C(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=d),this.each(function(){C.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i])}return this}});var Le=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,He=/<script|<style|<link/i,Fe=/checked\s*(?:[^=]|=\s*.checked.)/i,Oe=/^true\/(.*)/,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Re(e,t){return C.nodeName(e,"table")&&C.nodeName(11!==t.nodeType?t:t.firstChild,"tr")&&e.getElementsByTagName("tbody")[0]||e}function Me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){var t=Oe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function We(e,t){var n,r,i,o,s,a;if(1===t.nodeType){if(y.hasData(e)&&(o=y.access(e),s=y.set(t,o),a=o.events))for(i in delete s.handle,s.events={},a)for(n=0,r=a[i].length;n<r;n++)C.event.add(t,i,a[i][n]);u.hasData(e)&&(o=u.access(e),s=C.extend({},o),u.set(t,s))}}function x(n,r,i,o){r=M.apply([],r);var e,t,s,a,u,l,c=0,f=n.length,p=f-1,d=r[0],h=C.isFunction(d);if(h||1<f&&"string"==typeof d&&!g.checkClone&&Fe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),x(t,r,i,o)});if(f&&(t=(e=Ee(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(s=C.map(v(e,"script"),Me)).length;c<f;c++)u=e,c!==p&&(u=C.clone(u,!0,!0),a)&&C.merge(s,v(u,"script")),i.call(n[c],u,c);if(a)for(l=s[s.length-1].ownerDocument,C.map(s,Ie),c=0;c<a;c++)u=s[c],we.test(u.type||"")&&!y.access(u,"globalEval")&&C.contains(l,u)&&(u.src?C._evalUrl&&C._evalUrl(u.src):z(u.textContent.replace(Pe,""),l))}return n}function $e(e,t,n){for(var r,i=t?C.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||C.cleanData(v(r)),r.parentNode&&(n&&C.contains(r.ownerDocument,r)&&Te(v(r,"script")),r.parentNode.removeChild(r));return e}C.extend({htmlPrefilter:function(e){return e.replace(Le,"<$1></$2>")},clone:function(e,t,n){var r,i,o,s,a,u,l,c=e.cloneNode(!0),f=C.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(s=v(c),r=0,i=(o=v(e)).length;r<i;r++)a=o[r],u=s[r],l=void 0,"input"===(l=u.nodeName.toLowerCase())&&xe.test(a.type)?u.checked=a.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=a.defaultValue);if(t)if(n)for(o=o||v(e),s=s||v(c),r=0,i=o.length;r<i;r++)We(o[r],s[r]);else We(e,c);return 0<(s=v(c,"script")).length&&Te(s,!f&&v(e,"script")),c},cleanData:function(e){for(var t,n,r,i=C.event.special,o=0;void 0!==(n=e[o]);o++)if(fe(n)){if(t=n[y.expando]){if(t.events)for(r in t.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[y.expando]=void 0}n[u.expando]&&(n[u.expando]=void 0)}}}),C.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return f(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return x(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return x(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Re(this,e)).insertBefore(e,t.firstChild)})},before:function(){return x(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return x(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(v(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return f(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!He.test(e)&&!h[(be.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(v(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return x(this,arguments,function(e){var t=this.parentNode;C.inArray(this,n)<0&&(C.cleanData(v(this)),t)&&t.replaceChild(e,this)},n)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,s){C.fn[e]=function(e){for(var t,n=[],r=C(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),C(r[o])[s](t),I.apply(n,t.get());return this.pushStack(n)}});function Be(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:w).getComputedStyle(e)}var _e,ze,Xe,Ue,s,b,Ve=/^margin/,Ge=new RegExp("^("+e+")(?!px)[a-z%]+$","i");function Ye(){var e;b&&(b.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",b.innerHTML="",ke.appendChild(s),e=w.getComputedStyle(b),_e="1%"!==e.top,Ue="2px"===e.marginLeft,ze="4px"===e.width,b.style.marginRight="50%",Xe="4px"===e.marginRight,ke.removeChild(s),b=null)}function k(e,t,n){var r,i,o=e.style;return(n=n||Be(e))&&(""!==(i=n.getPropertyValue(t)||n[t])||C.contains(e.ownerDocument,e)||(i=C.style(e,t)),!g.pixelMarginRight())&&Ge.test(i)&&Ve.test(t)&&(e=o.width,t=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=e,o.minWidth=t,o.maxWidth=r),void 0!==i?i+"":i}function Qe(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}s=T.createElement("div"),(b=T.createElement("div")).style&&(b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===b.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(b),C.extend(g,{pixelPosition:function(){return Ye(),_e},boxSizingReliable:function(){return Ye(),ze},pixelMarginRight:function(){return Ye(),Xe},reliableMarginLeft:function(){return Ye(),Ue}}));var Je=/^(none|table(?!-c[ea]).+)/,Ke={position:"absolute",visibility:"hidden",display:"block"},Ze={letterSpacing:"0",fontWeight:"400"},et=["Webkit","Moz","ms"],tt=T.createElement("div").style;function nt(e){if(e in tt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=et.length;n--;)if((e=et[n]+t)in tt)return e}function rt(e,t,n){var r=p.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i){for(var o=0,s=n===(r?"border":"content")?4:"width"===t?1:0;s<4;s+=2)"margin"===n&&(o+=C.css(e,n+l[s],!0,i)),r?("content"===n&&(o-=C.css(e,"padding"+l[s],!0,i)),"margin"!==n&&(o-=C.css(e,"border"+l[s]+"Width",!0,i))):(o+=C.css(e,"padding"+l[s],!0,i),"padding"!==n&&(o+=C.css(e,"border"+l[s]+"Width",!0,i)));return o}function ot(e,t,n){var r,i=!0,o=Be(e),s="border-box"===C.css(e,"boxSizing",!1,o);if((r=e.getClientRects().length?e.getBoundingClientRect()[t]:r)<=0||null==r){if(((r=k(e,t,o))<0||null==r)&&(r=e.style[t]),Ge.test(r))return r;i=s&&(g.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+it(e,t,n||(s?"border":"content"),i,o)+"px"}function N(e,t,n,r,i){return new N.prototype.init(e,t,n,r,i)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=k(e,"opacity"))?"1":t}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){var i,o,s,a,u;if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style)return a=C.camelCase(t),u=e.style,t=C.cssProps[a]||(C.cssProps[a]=nt(a)||a),s=C.cssHooks[t]||C.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:u[t]:("string"===(o=typeof n)&&(i=p.exec(n))&&i[1]&&(n=ye(e,t,i),o="number"),void(null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(C.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u[t]=n))))},css:function(e,t,n,r){var i,o=C.camelCase(t);return t=C.cssProps[o]||(C.cssProps[o]=nt(o)||o),"normal"===(i=void 0===(i=(o=C.cssHooks[t]||C.cssHooks[o])&&"get"in o?o.get(e,!0,n):i)?k(e,t,r):i)&&t in Ze&&(i=Ze[t]),(""===n||n)&&(o=parseFloat(i),!0===n||isFinite(o))?o||0:i}}),C.each(["height","width"],function(e,i){C.cssHooks[i]={get:function(e,t,n){if(t)return!Je.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,i,n):me(e,Ke,function(){return ot(e,i,n)})},set:function(e,t,n){var r=n&&Be(e),n=n&&it(e,i,n,"border-box"===C.css(e,"boxSizing",!1,r),r);return n&&(r=p.exec(t))&&"px"!==(r[3]||"px")&&(e.style[i]=t,t=C.css(e,i)),rt(0,t,n)}}}),C.cssHooks.marginLeft=Qe(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(k(e,"marginLeft"))||e.getBoundingClientRect().left-me(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(i,o){C.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+l[t]+o]=r[t]||r[t-2]||r[0];return n}},Ve.test(i)||(C.cssHooks[i+o].set=rt)}),C.fn.extend({css:function(e,t){return f(this,function(e,t,n){var r,i,o={},s=0;if(C.isArray(t)){for(r=Be(e),i=t.length;s<i;s++)o[t[s]]=C.css(e,t[s],!1,r);return o}return void 0!==n?C.style(e,t,n):C.css(e,t)},e,t,1<arguments.length)}}),((C.Tween=N).prototype={constructor:N,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var e=N.propHooks[this.prop];return(e&&e.get?e:N.propHooks._default).get(this)},run:function(e){var t,n=N.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:N.propHooks._default).set(this),this}}).init.prototype=N.prototype,(N.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=C.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[C.cssProps[e.prop]]&&!C.cssHooks[e.prop]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=N.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=N.prototype.init,C.fx.step={};var S,D,j,st=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function ut(){D&&(w.requestAnimationFrame(ut),C.fx.tick())}function lt(){return w.setTimeout(function(){S=void 0}),S=C.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=l[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ft(e,t,n){for(var r,i=(A.tweeners[t]||[]).concat(A.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function A(i,e,t){var n,o,r,s,a,u,l,c=0,f=A.prefilters.length,p=C.Deferred().always(function(){delete d.elem}),d=function(){if(o)return!1;for(var e=S||lt(),e=Math.max(0,h.startTime+h.duration-e),t=1-(e/h.duration||0),n=0,r=h.tweens.length;n<r;n++)h.tweens[n].run(t);return p.notifyWith(i,[h,t,e]),t<1&&r?e:(p.resolveWith(i,[h]),!1)},h=p.promise({elem:i,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},t),originalProperties:e,originalOptions:t,startTime:S||lt(),duration:t.duration,tweens:[],createTween:function(e,t){t=C.Tween(i,h.opts,e,t,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(t),t},stop:function(e){var t=0,n=e?h.tweens.length:0;if(!o){for(o=!0;t<n;t++)h.tweens[t].run(1);e?(p.notifyWith(i,[h,1,0]),p.resolveWith(i,[h,e])):p.rejectWith(i,[h,e])}return this}}),g=h.props,m=g,y=h.opts.specialEasing;for(r in m)if(s=C.camelCase(r),a=y[s],u=m[r],C.isArray(u)&&(a=u[1],u=m[r]=u[0]),r!==s&&(m[s]=u,delete m[r]),l=C.cssHooks[s],l&&"expand"in l)for(r in u=l.expand(u),delete m[s],u)r in m||(m[r]=u[r],y[r]=a);else y[s]=a;for(;c<f;c++)if(n=A.prefilters[c].call(h,i,g,h.opts))return C.isFunction(n.stop)&&(C._queueHooks(h.elem,h.opts.queue).stop=C.proxy(n.stop,n)),n;return C.map(g,ft,h),C.isFunction(h.opts.start)&&h.opts.start.call(i,h),C.fx.timer(C.extend(d,{elem:i,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}C.Animation=C.extend(A,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ye(n.elem,e,p.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=C.isFunction(e)?(t=e,["*"]):e.match(E)).length;r<i;r++)n=e[r],A.tweeners[n]=A.tweeners[n]||[],A.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,s,a,u,l,c="width"in t||"height"in t,f=this,p={},d=e.style,h=e.nodeType&&ge(e),g=y.get(e,"fxshow");for(r in n.queue||(null==(s=C._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,C.queue(e,"fx").length||s.empty.fire()})})),t)if(i=t[r],st.test(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;h=!0}p[r]=g&&g[r]||C.style(e,r)}if((u=!C.isEmptyObject(t))||!C.isEmptyObject(p))for(r in c&&1===e.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(l=g&&g.display)&&(l=y.get(e,"display")),"none"===(c=C.css(e,"display"))&&(l?c=l:(m([e],!0),l=e.style.display||l,c=C.css(e,"display"),m([e]))),"inline"===c||"inline-block"===c&&null!=l)&&"none"===C.css(e,"float")&&(u||(f.done(function(){d.display=l}),null==l&&(c=d.display,l="none"===c?"":c)),d.display="inline-block"),n.overflow&&(d.overflow="hidden",f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),u=!1,p)u||(g?"hidden"in g&&(h=g.hidden):g=y.access(e,"fxshow",{display:l}),o&&(g.hidden=!h),h&&m([e],!0),f.done(function(){for(r in h||m([e]),y.remove(e,"fxshow"),p)C.style(e,r,p[r])})),u=ft(h?g[r]:0,r,f),r in g||(g[r]=u.start,h&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?A.prefilters.unshift(e):A.prefilters.push(e)}}),C.speed=function(e,t,n){var r=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||C.isFunction(e)&&e,duration:e,easing:n&&t||t&&!C.isFunction(t)&&t};return C.fx.off||T.hidden?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){C.isFunction(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ge).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=A(this,C.extend({},t),s);(o||y.get(this,"finish"))&&e.stop(!0)}var o=C.isEmptyObject(t),s=C.speed(e,n,r);return i.finish=i,o||!1===s.queue?this.each(i):this.queue(s.queue,i)},stop:function(i,e,o){function s(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=C.timers,r=y.get(this);if(t)r[t]&&r[t].stop&&s(r[t]);else for(t in r)r[t]&&r[t].stop&&at.test(t)&&s(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||C.dequeue(this,i)})},finish:function(s){return!1!==s&&(s=s||"fx"),this.each(function(){var e,t=y.get(this),n=t[s+"queue"],r=t[s+"queueHooks"],i=C.timers,o=n?n.length:0;for(t.finish=!0,C.queue(this,s,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===s&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),C.each(["toggle","show","hide"],function(e,r){var i=C.fn[r];C.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(ct(r,!0),e,t,n)}}),C.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){C.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(S=C.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),S=void 0},C.fx.timer=function(e){C.timers.push(e),e()?C.fx.start():C.timers.pop()},C.fx.interval=13,C.fx.start=function(){D=D||(w.requestAnimationFrame?w.requestAnimationFrame(ut):w.setInterval(C.fx.tick,C.fx.interval))},C.fx.stop=function(){w.cancelAnimationFrame?w.cancelAnimationFrame(D):w.clearInterval(D),D=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(r,e){return r=C.fx&&C.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=w.setTimeout(e,r);t.stop=function(){w.clearTimeout(n)}})},j=T.createElement("input"),t=T.createElement("select").appendChild(T.createElement("option")),j.type="checkbox",g.checkOn=""!==j.value,g.optSelected=t.selected,(j=T.createElement("input")).value="t",j.type="radio",g.radioValue="t"===j.value;var pt,q=C.expr.attrHandle,dt=(C.fn.extend({attr:function(e,t){return f(this,C.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?C.prop(e,t,n):(1===o&&C.isXMLDoc(e)||(i=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):!(i&&"get"in i&&null!==(r=i.get(e,t)))&&null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){var n;if(!g.radioValue&&"radio"===t&&C.nodeName(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(E);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var s=q[t]||C.find.attr;q[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=q[o],q[o]=r,r=null!=s(e,t,n)?o:null,q[o]=i),r}}),/^(?:input|select|textarea|button)$/i),ht=/^(?:a|area)$/i;function L(e){return(e.match(E)||[]).join(" ")}function H(e){return e.getAttribute&&e.getAttribute("class")||""}C.fn.extend({prop:function(e,t){return f(this,C.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(e)||(t=C.propFix[t]||t,i=C.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):dt.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(t){var e,n,r,i,o,s,a=0;if(C.isFunction(t))return this.each(function(e){C(this).addClass(t.call(this,e,H(this)))});if("string"==typeof t&&t)for(e=t.match(E)||[];n=this[a++];)if(s=H(n),r=1===n.nodeType&&" "+L(s)+" "){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s!==(s=L(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,s,a=0;if(C.isFunction(t))return this.each(function(e){C(this).removeClass(t.call(this,e,H(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(E)||[];n=this[a++];)if(s=H(n),r=1===n.nodeType&&" "+L(s)+" "){for(o=0;i=e[o++];)for(;-1<r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");s!==(s=L(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i;return"boolean"==typeof t&&"string"==o?t?this.addClass(i):this.removeClass(i):C.isFunction(i)?this.each(function(e){C(this).toggleClass(i.call(this,e,H(this),t),t)}):this.each(function(){var e,t,n,r;if("string"==o)for(t=0,n=C(this),r=i.match(E)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!=o||((e=H(this))&&y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==i&&y.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,r=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+L(H(t))+" ").indexOf(r))return!0;return!1}});var gt=/\r/g,mt=(C.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=C.isFunction(t),this.each(function(e){1===this.nodeType&&(null==(e=r?t.call(this,e,C(this).val()):t)?e="":"number"==typeof e?e+="":C.isArray(e)&&(e=C.map(e,function(e){return null==e?"":e+""})),(n=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):i?(n=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(gt,""):null==e?"":e:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:L(C.text(e))}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type,o=i?null:[],s=i?r+1:n.length,a=r<0?s:i?r:0;a<s;a++)if(((t=n[a]).selected||a===r)&&!t.disabled&&(!t.parentNode.disabled||!C.nodeName(t.parentNode,"optgroup"))){if(t=C(t).val(),i)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,o=C.makeArray(t),s=i.length;s--;)((r=i[s]).selected=-1<C.inArray(C.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(C.isArray(t))return e.checked=-1<C.inArray(C(e).val(),t)}},g.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),/^(?:focusinfocus|focusoutblur)$/),F=(C.extend(C.event,{trigger:function(e,t,n,r){var i,o,s,a,u,l,c=[n||T],f=$.call(e,"type")?e.type:e,p=$.call(e,"namespace")?e.namespace.split("."):[],d=o=n=n||T;if(3!==n.nodeType&&8!==n.nodeType&&!mt.test(f+C.event.triggered)&&(-1<f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),a=f.indexOf(":")<0&&"on"+f,(e=e[C.expando]?e:new C.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:C.makeArray(t,[e]),l=C.event.special[f]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!C.isWindow(n)){for(s=l.delegateType||f,mt.test(s+f)||(d=d.parentNode);d;d=d.parentNode)c.push(d),o=d;o===(n.ownerDocument||T)&&c.push(o.defaultView||o.parentWindow||w)}for(i=0;(d=c[i++])&&!e.isPropagationStopped();)e.type=1<i?s:l.bindType||f,(u=(y.get(d,"events")||{})[e.type]&&y.get(d,"handle"))&&u.apply(d,t),(u=a&&d[a])&&u.apply&&fe(d)&&(e.result=u.apply(d,t),!1===e.result)&&e.preventDefault();return e.type=f,r||e.isDefaultPrevented()||l._default&&!1!==l._default.apply(c.pop(),t)||!fe(n)||a&&C.isFunction(n[f])&&!C.isWindow(n)&&((o=n[a])&&(n[a]=null),n[C.event.triggered=f](),C.event.triggered=void 0,o)&&(n[a]=o),e.result}},simulate:function(e,t,n){n=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(n,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){C.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),C.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),g.focusin="onfocusin"in w,g.focusin||C.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){C.event.simulate(r,e.target,C.event.fix(e))}C.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=y.access(e,r);t||e.addEventListener(n,i,!0),y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=y.access(e,r)-1;t?y.access(e,r,t):(e.removeEventListener(n,i,!0),y.remove(e,r))}}}),w.location),yt=C.now(),vt=/\?/,xt=(C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new w.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t},/\[\]$/),bt=/\r?\n/g,wt=/^(?:submit|button|image|reset|file)$/i,Tt=/^(?:input|select|textarea|keygen)/i;C.param=function(e,t){function n(e,t){t=C.isFunction(t)?t():t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var r,i=[];if(C.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(C.isArray(e))C.each(e,function(e,t){i||xt.test(r)?o(r,t):n(r+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,o)});else if(i||"object"!==C.type(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&Tt.test(this.nodeName)&&!wt.test(e)&&(this.checked||!xe.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:C.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(bt,"\r\n")}}):{name:t.name,value:n.replace(bt,"\r\n")}}).get()}});var Ct=/%20/g,Et=/#.*$/,kt=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,St=/^(?:GET|HEAD)$/,Dt=/^\/\//,jt={},At={},qt="*/".concat("*"),Lt=T.createElement("a");function Ht(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(E)||[];if(C.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Ft(t,r,i,o){var s={},a=t===At;function u(e){var n;return s[e]=!0,C.each(t[e]||[],function(e,t){t=t(r,i,o);return"string"!=typeof t||a||s[t]?a?!(n=t):void 0:(r.dataTypes.unshift(t),u(t),!1)}),n}return u(r.dataTypes[0])||!s["*"]&&u("*")}function Ot(e,t){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r=r||{})[n]=t[n]);return r&&C.extend(!0,e,r),e}Lt.href=F.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:F.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(F.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ot(Ot(e,C.ajaxSettings),t):Ot(C.ajaxSettings,e)},ajaxPrefilter:Ht(jt),ajaxTransport:Ht(At),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var u,l,c,n,f,p,d,r,h=C.ajaxSetup({},t=t||{}),g=h.context||h,m=h.context&&(g.nodeType||g.jquery)?C(g):C.event,y=C.Deferred(),v=C.Callbacks("once memory"),x=h.statusCode||{},i={},o={},s="canceled",b={readyState:0,getResponseHeader:function(e){var t;if(p){if(!n)for(n={};t=Nt.exec(c);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return p?c:null},setRequestHeader:function(e,t){return null==p&&(e=o[e.toLowerCase()]=o[e.toLowerCase()]||e,i[e]=t),this},overrideMimeType:function(e){return null==p&&(h.mimeType=e),this},statusCode:function(e){if(e)if(p)b.always(e[b.status]);else for(var t in e)x[t]=[x[t],e[t]];return this},abort:function(e){e=e||s;return u&&u.abort(e),a(0,e),this}};if(y.promise(b),h.url=((e||h.url||F.href)+"").replace(Dt,F.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(E)||[""],null==h.crossDomain){e=T.createElement("a");try{e.href=h.url,e.href=e.href,h.crossDomain=Lt.protocol+"//"+Lt.host!=e.protocol+"//"+e.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=C.param(h.data,h.traditional)),Ft(jt,h,t,b),!p){for(r in(d=C.event&&h.global)&&0==C.active++&&C.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!St.test(h.type),l=h.url.replace(Et,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ct,"+")):(e=h.url.slice(l.length),h.data&&(l+=(vt.test(l)?"&":"?")+h.data,delete h.data),!1===h.cache&&(l=l.replace(kt,"$1"),e=(vt.test(l)?"&":"?")+"_="+yt+++e),h.url=l+e),h.ifModified&&(C.lastModified[l]&&b.setRequestHeader("If-Modified-Since",C.lastModified[l]),C.etag[l])&&b.setRequestHeader("If-None-Match",C.etag[l]),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&b.setRequestHeader("Content-Type",h.contentType),b.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+qt+"; q=0.01":""):h.accepts["*"]),h.headers)b.setRequestHeader(r,h.headers[r]);if(h.beforeSend&&(!1===h.beforeSend.call(g,b,h)||p))return b.abort();if(s="abort",v.add(h.complete),b.done(h.success),b.fail(h.error),u=Ft(At,h,t,b)){if(b.readyState=1,d&&m.trigger("ajaxSend",[b,h]),p)return b;h.async&&0<h.timeout&&(f=w.setTimeout(function(){b.abort("timeout")},h.timeout));try{p=!1,u.send(i,a)}catch(e){if(p)throw e;a(-1,e)}}else a(-1,"No Transport")}return b;function a(e,t,n,r){var i,o,s,a=t;p||(p=!0,f&&w.clearTimeout(f),u=void 0,c=r||"",b.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s=s||i}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}(h,b,n)),s=function(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if(a=i.split(" "),a[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(h,s,b,r),r?(h.ifModified&&((n=b.getResponseHeader("Last-Modified"))&&(C.lastModified[l]=n),n=b.getResponseHeader("etag"))&&(C.etag[l]=n),204===e||"HEAD"===h.type?a="nocontent":304===e?a="notmodified":(a=s.state,i=s.data,r=!(o=s.error))):(o=a,!e&&a||(a="error",e<0&&(e=0))),b.status=e,b.statusText=(t||a)+"",r?y.resolveWith(g,[i,a,b]):y.rejectWith(g,[b,a,o]),b.statusCode(x),x=void 0,d&&m.trigger(r?"ajaxSuccess":"ajaxError",[b,h,r?i:o]),v.fireWith(g,[b,a]),d&&(m.trigger("ajaxComplete",[b,h]),--C.active||C.event.trigger("ajaxStop")))}},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,i){C[i]=function(e,t,n,r){return C.isFunction(t)&&(r=r||n,n=t,t=void 0),C.ajax(C.extend({url:e,type:i,dataType:r,data:t,success:n},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(e){return this[0]&&(C.isFunction(e)&&(e=e.call(this[0])),e=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return C.isFunction(n)?this.each(function(e){C(this).wrapInner(n.call(this,e))}):this.each(function(){var e=C(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=C.isFunction(t);return this.each(function(e){C(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new w.XMLHttpRequest}catch(e){}};var Pt={0:200,1223:204},O=C.ajaxSettings.xhr(),Rt=(g.cors=!!O&&"withCredentials"in O,g.ajax=O=!!O,C.ajaxTransport(function(i){var o,s;if(g.cors||O&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=s=r.onload=r.onerror=r.onabort=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Pt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),s=r.onerror=o("error"),void 0!==r.onabort?r.onabort=s:r.onreadystatechange=function(){4===r.readyState&&w.setTimeout(function(){o&&s()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(n){var r,i;if(n.crossDomain)return{send:function(e,t){r=C("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),T.head.appendChild(r[0])},abort:function(){i&&i()}}}),[]),Mt=/(=)\?(?=&|$)|\?\?/;function It(e){return C.isWindow(e)?e:9===e.nodeType&&e.defaultView}C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Rt.pop()||C.expando+"_"+yt++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(Mt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Mt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=C.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Mt,"$1"+r):!1!==e.jsonp&&(e.url+=(vt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||C.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=w[r],w[r]=function(){o=arguments},n.always(function(){void 0===i?C(w).removeProp(r):w[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Rt.push(r)),o&&C.isFunction(i)&&i(o[0]),o=i=void 0}),"script"}),g.createHTMLDocument=((e=T.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),C.parseHTML=function(e,t,n){var r;return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,t.head.appendChild(r)):t=T),r=!n&&[],(n=K.exec(e))?[t.createElement(n[1])]:(n=Ee([e],t,r),r&&r.length&&C(r).remove(),C.merge([],n.childNodes)))},C.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return-1<a&&(r=L(e.slice(a)),e=e.slice(0,a)),C.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<s.length&&C.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?C("<div>").append(C.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.expr.pseudos.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(e,t,n){var r,i,o,s,a=C.css(e,"position"),u=C(e),l={};"static"===a&&(e.style.position="relative"),o=u.offset(),r=C.css(e,"top"),s=C.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(i=(a=u.position()).top,a.left):(i=parseFloat(r)||0,parseFloat(s)||0),null!=(t=C.isFunction(t)?t.call(e,n,C.extend({},o)):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+a),"using"in t?t.using.call(e,l):u.css(l)}},C.fn.extend({offset:function(t){var e,n,r;return arguments.length?void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)}):(r=this[0])?r.getClientRects().length?(n=r.getBoundingClientRect()).width||n.height?(e=It(r=r.ownerDocument),r=r.documentElement,{top:n.top+e.pageYOffset-r.clientTop,left:n.left+e.pageXOffset-r.clientLeft}):n:{top:0,left:0}:void 0},position:function(){var e,t,n,r;if(this[0])return n=this[0],r={top:0,left:0},"fixed"===C.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),r={top:(r=C.nodeName(e[0],"html")?r:e.offset()).top+C.css(e[0],"borderTopWidth",!0),left:r.left+C.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-C.css(n,"marginTop",!0),left:t.left-r.left-C.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ke})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;C.fn[t]=function(e){return f(this,function(e,t,n){var r=It(e);return void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),C.each(["top","left"],function(e,n){C.cssHooks[n]=Qe(g.pixelPosition,function(e,t){if(t)return t=k(e,n),Ge.test(t)?C(e).position()[n]+"px":t})}),C.each({Height:"height",Width:"width"},function(s,a){C.each({padding:"inner"+s,content:a,"":"outer"+s},function(r,o){C.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return f(this,function(e,t,n){var r;return C.isWindow(e)?0===o.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+s],r["scroll"+s],e.body["offset"+s],r["offset"+s],r["client"+s])):void 0===n?C.css(e,t,i):C.style(e,t,n,i)},a,n?e:void 0,n)}})}),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),C.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return C});var Wt=w.jQuery,$t=w.$;return C.noConflict=function(e){return w.$===C&&(w.$=$t),e&&w.jQuery===C&&(w.jQuery=Wt),C},P||(w.jQuery=w.$=C),C});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Raphael=e():t.Raphael=e()}(this,function(){return i=[function(t,e,r){r=[r(1),r(3),r(4)],e=function(t){return t}.apply(e,r);void 0!==e&&(t.exports=e)},function(t,e,r){r=[r(2)],e=function(M){function N(t){var e,r;return N.is(t,"function")?U?t():M.on("raphael.DOMload",t):N.is(t,v)?N._engine.create[b](N,t.splice(0,3+N.is(t[0],j))).add(t):(e=Array.prototype.slice.call(arguments,0),N.is(e[e.length-1],"function")?(r=e.pop(),U?r.call(N._engine.create[b](N,e)):M.on("raphael.DOMload",function(){r.call(N._engine.create[b](N,e))})):N._engine.create[b](N,arguments))}function x(t){if("function"==typeof t||Object(t)!==t)return t;var e,r=new t.constructor;for(e in t)t[z](e)&&(r[e]=x(t[e]));return r}function B(n,s,a){function o(){var t=Array.prototype.slice.call(arguments,0),e=t.join("ā"),r=o.cache=o.cache||{},i=o.count=o.count||[];return r[z](e)?function(t,e){for(var r=0,i=t.length;r<i;r++)if(t[r]===e)return t.push(t.splice(r,1)[0])}(i,e):(1e3<=i.length&&delete r[i.shift()],i.push(e),r[e]=n[b](s,t)),a?a(r[e]):r[e]}return o}function l(){return this.hex}function m(t,e){for(var r=[],i=0,n=t.length;i<n-2*!e;i+=2){var s=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?n-4==i?s[3]={x:+t[0],y:+t[1]}:n-2==i&&(s[2]={x:+t[0],y:+t[1]},s[3]={x:+t[2],y:+t[3]}):s[0]={x:+t[n-2],y:+t[n-1]}:n-4==i?s[3]=s[2]:i||(s[0]={x:+t[i],y:+t[i+1]}),r.push(["C",(-s[0].x+6*s[1].x+s[2].x)/6,(-s[0].y+6*s[1].y+s[2].y)/6,(s[1].x+6*s[2].x-s[3].x)/6,(s[1].y+6*s[2].y-s[3].y)/6,s[2].x,s[2].y])}return r}function O(t,e,r,i,n){return t*(t*(-3*e+9*r-9*i+3*n)+6*e-12*r+6*i)-3*e+3*r}function _(t,e,r,i,n,s,a,o,l){for(var h=(l=1<(l=null==l?1:l)?1:l<0?0:l)/2,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],c=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],f=0,p=0;p<12;p++){var d=h*u[p]+h,g=O(d,t,r,n,a),d=O(d,e,i,s,o);f+=c[p]*C.sqrt(g*g+d*d)}return h*f}function V(t,e,r){var i=N.bezierBBox(t),n=N.bezierBBox(e);if(!N.isBBoxIntersect(i,n))return r?0:[];for(var i=_.apply(0,t),n=_.apply(0,e),s=k(~~(i/5),1),a=k(~~(n/5),1),o=[],l=[],h={},u=r?0:[],c=0;c<s+1;c++){var f=N.findDotsAtSegment.apply(N,t.concat(c/s));o.push({x:f.x,y:f.y,t:c/s})}for(c=0;c<a+1;c++)f=N.findDotsAtSegment.apply(N,e.concat(c/a)),l.push({x:f.x,y:f.y,t:c/a});for(c=0;c<s;c++)for(var p=0;p<a;p++){var d=o[c],g=o[c+1],x=l[p],y=l[p+1],v=A(g.x-d.x)<.001?"y":"x",m=A(y.x-x.x)<.001?"y":"x",b=function(t,e,r,i,n,s,a,o){if(!(k(t,r)<S(n,a)||S(t,r)>k(n,a)||k(e,i)<S(s,o)||S(e,i)>k(s,o))){var l=(t-r)*(s-o)-(e-i)*(n-a);if(l){var h=((t*i-e*r)*(n-a)-(t-r)*(n*o-s*a))/l,l=((t*i-e*r)*(s-o)-(e-i)*(n*o-s*a))/l,u=+h.toFixed(2),c=+l.toFixed(2);if(!(u<+S(t,r).toFixed(2)||u>+k(t,r).toFixed(2)||u<+S(n,a).toFixed(2)||u>+k(n,a).toFixed(2)||c<+S(e,i).toFixed(2)||c>+k(e,i).toFixed(2)||c<+S(s,o).toFixed(2)||c>+k(s,o).toFixed(2)))return{x:h,y:l}}}}(d.x,d.y,g.x,g.y,x.x,x.y,y.x,y.y);b&&h[b.x.toFixed(4)]!=b.y.toFixed(4)&&(h[b.x.toFixed(4)]=b.y.toFixed(4),v=d.t+A((b[v]-d[v])/(g[v]-d[v]))*(g.t-d.t),g=x.t+A((b[m]-x[m])/(y[m]-x[m]))*(y.t-x.t),0<=v)&&v<=1.001&&0<=g&&g<=1.001&&(r?u++:u.push({x:b.x,y:b.y,t1:S(v,1),t2:S(g,1)}))}return u}function h(t,e,r){t=N._path2curve(t),e=N._path2curve(e);for(var i,n,s,a,o,l,h,u,c=r?0:[],f=0,p=t.length;f<p;f++){var d=t[f];if("M"==d[0])i=s=d[1],g=a=d[2];else for(var g="C"==d[0]?(i=(h=[i,g].concat(d.slice(1)))[6],h[7]):(h=[i,g,i,g,s,a,s,a],i=s,a),x=0,y=e.length;x<y;x++){var v=e[x];if("M"==v[0])n=o=v[1],m=l=v[2];else{var m="C"==v[0]?(n=(u=[n,m].concat(v.slice(1)))[6],u[7]):(u=[n,m,n,m,o,l,o,l],n=o,l),b=V(h,u,r);if(r)c+=b;else{for(var _=0,w=b.length;_<w;_++)b[_].segment1=f,b[_].segment2=x,b[_].bez1=h,b[_].bez2=u;c=c.concat(b)}}}}return c}function L(t,e,r,i,n,s){null!=t?(this.a=+t,this.b=+e,this.c=+r,this.d=+i,this.e=+n,this.f=+s):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function f(){return this.x+tt+this.y+tt+this.width+" Ć "+this.height}function Y(t,e,r,i,n,s){function l(t){return((c*t+u)*t+h)*t}var h=3*e,u=3*(i-e)-h,c=1-h-u,i=3*r,e=3*(n-r)-i,n=1-i-e;return r=function(t,e){var r,i,n,s,a,o;for(n=t,o=0;o<8;o++){if(s=l(n)-t,A(s)<e)return n;if(A(a=(3*c*n+2*u)*n+h)<1e-6)break;n-=s/a}if(i=1,(n=t)<(r=0))return r;if(i<n)return i;for(;r<i;){if(s=l(n),A(s-t)<e)return n;s<t?r=n:i=n,n=(i-r)/2+r}return n}(r=t,1/(200*s)),((n*r+e)*r+i)*r}function u(t,e){var r=[],i={};if(this.ms=e,this.times=1,t){for(var n in t)t[z](n)&&(i[I(n)]=t[n],r.push(I(n)));r.sort(G)}this.anim=i,this.top=r[r.length-1],this.percents=r}function w(t,e,r,i,n,s){r=I(r);var a,o,l,h,u,c=t.ms,f={},p={},d={};if(i)for(x=0,y=D.length;x<y;x++){var g=D[x];if(g.el.id==e.id&&g.anim==t){g.percent!=r?(D.splice(x,1),l=1):o=g,e.attr(g.totalOrigin);break}}else i=+p;for(var x=0,y=t.percents.length;x<y;x++){if(t.percents[x]==r||t.percents[x]>i*t.top){r=t.percents[x],u=t.percents[x-1]||0,c=c/t.top*(r-u),h=t.percents[x+1],a=t.anim[r];break}i&&e.attr(t.anim[t.percents[x]])}if(a){if(o)o.initstatus=i,o.start=new Date-o.ms*i;else{for(var v in a)if(a[z](v)&&(ft[z](v)||e.paper.customAttributes[z](v)))switch(f[v]=e.attr(v),null==f[v]&&(f[v]=ct[v]),p[v]=a[v],ft[v]){case j:d[v]=(p[v]-f[v])/c;break;case"colour":f[v]=N.getRGB(f[v]);var m=N.getRGB(p[v]);d[v]={r:(m.r-f[v].r)/c,g:(m.g-f[v].g)/c,b:(m.b-f[v].b)/c};break;case"path":var m=It(f[v],p[v]),b=m[1];for(f[v]=m[0],d[v]=[],x=0,y=f[v].length;x<y;x++){d[v][x]=[0];for(var _=1,w=f[v][x].length;_<w;_++)d[v][x][_]=(b[x][_]-f[v][x][_])/c}break;case"transform":var k=e._,B=Vt(k[v],p[v]);if(B)for(f[v]=B.from,p[v]=B.to,d[v]=[],d[v].real=!0,x=0,y=f[v].length;x<y;x++)for(d[v][x]=[f[v][x][0]],_=1,w=f[v][x].length;_<w;_++)d[v][x][_]=(p[v][x][_]-f[v][x][_])/c;else{B=e.matrix||new L,k={_:{transform:k.transform},getBBox:function(){return e.getBBox(1)}};f[v]=[B.a,B.b,B.c,B.d,B.e,B.f],Ot(k,p[v]),p[v]=k._.transform,d[v]=[(k.matrix.a-B.a)/c,(k.matrix.b-B.b)/c,(k.matrix.c-B.c)/c,(k.matrix.d-B.d)/c,(k.matrix.e-B.e)/c,(k.matrix.f-B.f)/c]}break;case"csv":var C=F(a[v])[R]($),S=F(f[v])[R]($);if("clip-rect"==v)for(f[v]=S,d[v]=[],x=S.length;x--;)d[v][x]=(C[x]-f[v][x])/c;p[v]=C;break;default:for(C=[][P](a[v]),S=[][P](f[v]),d[v]=[],x=e.paper.customAttributes[v].length;x--;)d[v][x]=((C[x]||0)-(S[x]||0))/c}var A,T=a.easing,E=N.easing_formulas[T];if(E=E||((E=F(T).match(lt))&&5==E.length?(A=E,function(t){return Y(t,+A[1],+A[2],+A[3],+A[4],c)}):H),g={anim:t,percent:r,timestamp:T=a.start||t.start||+new Date,start:T+(t.del||0),status:0,initstatus:i||0,stop:!1,ms:c,easing:E,from:f,diff:d,to:p,el:e,callback:a.callback,prev:u,next:h,repeat:s||t.times,origin:e.attr(),totalOrigin:n},D.push(g),i&&!o&&!l&&(g.stop=!0,g.start=new Date-c*i,1==D.length))return ce();l&&(g.start=new Date-g.ms*i),1==D.length&&ue(ce)}M("raphael.anim.start."+e.id,e,t)}}function p(t){for(var e=0;e<D.length;e++)D[e].el.paper==t&&D.splice(e--,1)}N.version="2.2.0",N.eve=M;function W(){this.ca=this.customAttributes={}}function G(t,e){return I(t)-I(e)}function H(t){return t}function X(t,e,r,i){return[["M",t,e],["m",0,-(i=null==i?r:i)],["a",r,i,0,1,1,0,2*i],["a",r,i,0,1,1,0,-2*i],["z"]]}var U,$=/[, ]+/,Z={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},Q=/\{(\d+)\}/g,z="hasOwnProperty",d={doc:document,win:window},J={was:Object.prototype[z].call(d.win,"Raphael"),is:d.win.Raphael},b="apply",P="concat",K="ontouchstart"in d.win||d.win.DocumentTouch&&d.doc instanceof DocumentTouch,tt=" ",F=String,R="split",et="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[R](tt),rt={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},it=F.prototype.toLowerCase,C=Math,k=C.max,S=C.min,A=C.abs,y=C.pow,T=C.PI,j="number",nt="string",v="array",st=Object.prototype.toString,at=(N._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),ot={NaN:1,Infinity:1,"-Infinity":1},lt=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,ht=C.round,I=parseFloat,c=parseInt,ut=F.prototype.toUpperCase,ct=N._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},ft=N._availableAnimAttrs={blur:j,"clip-rect":"csv",cx:j,cy:j,fill:"colour","fill-opacity":j,"font-size":j,height:j,opacity:j,path:"path",r:j,rx:j,ry:j,stroke:"colour","stroke-opacity":j,"stroke-width":j,transform:"transform",width:j,x:j,y:j},pt=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,dt={hs:1,rg:1},gt=/,?([achlmqrstvxz]),?/gi,xt=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,yt=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,vt=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,n=(N._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),mt=N._rectPath=function(t,e,r,i,n){return n?[["M",t+n,e],["l",r-2*n,0],["a",n,n,0,0,1,n,n],["l",0,i-2*n],["a",n,n,0,0,1,-n,n],["l",2*n-r,0],["a",n,n,0,0,1,-n,-n],["l",0,2*n-i],["a",n,n,0,0,1,n,-n],["z"]]:[["M",t,e],["l",r,0],["l",0,i],["l",-r,0],["z"]]},bt=N._getPath={path:function(t){return t.attr("path")},circle:function(t){t=t.attrs;return X(t.cx,t.cy,t.r)},ellipse:function(t){t=t.attrs;return X(t.cx,t.cy,t.rx,t.ry)},rect:function(t){t=t.attrs;return mt(t.x,t.y,t.width,t.height,t.r)},image:function(t){t=t.attrs;return mt(t.x,t.y,t.width,t.height)},text:function(t){t=t._getBBox();return mt(t.x,t.y,t.width,t.height)},set:function(t){t=t._getBBox();return mt(t.x,t.y,t.width,t.height)}},_t=N.mapPath=function(t,e){if(e)for(var r,i,n,s,a,o=0,l=(t=It(t)).length;o<l;o++)for(n=1,s=(a=t[o]).length;n<s;n+=2)r=e.x(a[n],a[n+1]),i=e.y(a[n],a[n+1]),a[n]=r,a[n+1]=i;return t};if(N._g=d,N.type=d.win.SVGAngle||d.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==N.type){var t,e=d.doc.createElement("div");if(e.innerHTML='<v:shape adj="1"/>',(t=e.firstChild).style.behavior="url(#default#VML)",!t||"object"!=typeof t.adj)return N.type="";e=null}N.svg=!(N.vml="VML"==N.type),N._Paper=W,N.fn=t=W.prototype=N.prototype,N._id=0,N.is=function(t,e){return"finite"==(e=it.call(e))?!ot[z](+t):"array"==e?t instanceof Array:"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||"array"==e&&Array.isArray&&Array.isArray(t)||st.call(t).slice(8,-1).toLowerCase()==e},N.angle=function(t,e,r,i,n,s){var a,o;return null==n?(o=e-i,(a=t-r)||o?(180+180*C.atan2(-o,-a)/T+360)%360:0):N.angle(t,e,n,s)-N.angle(r,i,n,s)},N.rad=function(t){return t%360*T/180},N.deg=function(t){return Math.round(180*t/T%360*1e3)/1e3},N.snapTo=function(t,e,r){if(r=N.is(r,"finite")?r:10,N.is(t,v)){for(var i=t.length;i--;)if(A(t[i]-e)<=r)return t[i]}else{var n=e%(t=+t);if(n<r)return e-n;if(t-r<n)return e-n+t}return e};N.createUUID=(Nt=/[xy]/g,Lt=function(t){var e=16*C.random()|0;return("x"==t?e:3&e|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(Nt,Lt).toUpperCase()});function wt(){return"hsb("+[this.h,this.s,this.b]+")"}function kt(){return"hsl("+[this.h,this.s,this.l]+")"}function Bt(){return this.hex}function Ct(t,e,r){var i;return null==e&&N.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(r=t.b,e=t.g,t=t.r),null==e&&N.is(t,nt)&&(t=(i=N.getRGB(t)).r,e=i.g,r=i.b),(1<t||1<e||1<r)&&(t/=255,e/=255,r/=255),[t,e,r]}function St(t,e,r,i){return t={r:t*=255,g:e*=255,b:r*=255,hex:N.rgb(t,e,r),toString:Bt},N.is(i,"finite")&&(t.opacity=i),t}function At(t,e,r,i){return[t,e,r,i,r,i]}function Tt(t,e,r,i,n,s){return[1/3*t+2/3*r,1/3*e+2/3*i,1/3*n+2/3*r,1/3*s+2/3*i,n,s]}function Et(t,e,r,i,n,s,a,o,l){var h=1-l;return{x:y(h,3)*t+3*y(h,2)*l*r+3*h*l*l*n+y(l,3)*a,y:y(h,3)*e+3*y(h,2)*l*i+3*h*l*l*s+y(l,3)*o}}function Mt(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}}N.setWindow=function(t){M("raphael.setWindow",N,d.win,t),d.win=t,d.doc=d.win.document,N._engine.initWin&&N._engine.initWin(d.win)};var Nt,Lt,zt=function(t){if(N.vml){var r,i=/^\s+|\s+$/g;try{var e=new ActiveXObject("htmlfile");e.write("<body>"),e.close(),r=e.body}catch(t){r=createPopup().document.body}var n=r.createTextRange();zt=B(function(t){try{r.style.color=F(t).replace(i,"");var e=n.queryCommandValue("ForeColor");return"#"+("000000"+(e=(255&e)<<16|65280&e|(16711680&e)>>>16).toString(16)).slice(-6)}catch(t){return"none"}})}else{var s=d.doc.createElement("i");s.title="RaphaĆ«l Colour Picker",s.style.display="none",d.doc.body.appendChild(s),zt=B(function(t){return s.style.color=t,d.doc.defaultView.getComputedStyle(s,"").getPropertyValue("color")})}return zt(t)},E=(N.color=function(t){var e;return N.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(e=N.hsb2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.hex=e.hex):N.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(e=N.hsl2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.hex=e.hex):(N.is(t,"string")&&(t=N.getRGB(t)),N.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(e=N.rgb2hsl(t),t.h=e.h,t.s=e.s,t.l=e.l,e=N.rgb2hsb(t),t.v=e.b):(t={hex:"none"}).r=t.g=t.b=t.h=t.s=t.v=t.l=-1),t.toString=Bt,t},N.hsb2rgb=function(t,e,r,i){var n,s,a;return this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(r=t.b,e=t.s,i=t.o,t=t.h),a=(e=r*e)*(1-A((t=(t*=360)%360/60)%2-1)),n=s=r=r-e,St(n+=[e,a,0,0,a,e][t=~~t],s+=[a,e,e,a,0,0][t],r+=[0,0,a,e,e,a][t],i)},N.hsl2rgb=function(t,e,r,i){var n,s,a;return this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(r=t.l,e=t.s,t=t.h),(1<t||1<e||1<r)&&(t/=360,e/=100,r/=100),a=(e=2*e*(r<.5?r:1-r))*(1-A((t=(t*=360)%360/60)%2-1)),n=s=r=r-e/2,St(n+=[e,a,0,0,a,e][t=~~t],s+=[a,e,e,a,0,0][t],r+=[0,0,a,e,e,a][t],i)},N.rgb2hsb=function(t,e,r){var i,n;return t=(r=Ct(t,e,r))[0],e=r[1],r=r[2],{h:((0==(n=(i=k(t,e,r))-S(t,e,r))?null:i==t?(e-r)/n:i==e?(r-t)/n+2:(t-e)/n+4)+360)%6*60/360,s:0==n?0:n/i,b:i,toString:wt}},N.rgb2hsl=function(t,e,r){var i,n,s;return t=(r=Ct(t,e,r))[0],e=r[1],r=r[2],i=((n=k(t,e,r))+(s=S(t,e,r)))/2,{h:((0==(s=n-s)?null:n==t?(e-r)/s:n==e?(r-t)/s+2:(t-e)/s+4)+360)%6*60/360,s:0==s?0:i<.5?s/(2*i):s/(2-2*i),l:i,toString:kt}},N._path2string=function(){return this.join(",").replace(gt,"$1")},N._preload=function(t,e){var r=d.doc.createElement("img");r.style.cssText="position:absolute;left:-9999em;top:-9999em",r.onload=function(){e.call(this),this.onload=null,d.doc.body.removeChild(this)},r.onerror=function(){d.doc.body.removeChild(this)},d.doc.body.appendChild(r),r.src=t},N.getRGB=B(function(t){var e,r,i,n,s,a;return!t||(t=F(t)).indexOf("-")+1?{r:-1,g:-1,b:-1,hex:"none",error:1,toString:l}:"none"==t?{r:-1,g:-1,b:-1,hex:"none",toString:l}:(t=(t=dt[z](t.toLowerCase().substring(0,2))||"#"==t.charAt()?t:zt(t)).match(at))?(t[2]&&(i=c(t[2].substring(5),16),r=c(t[2].substring(3,5),16),e=c(t[2].substring(1,3),16)),t[3]&&(i=c((s=t[3].charAt(3))+s,16),r=c((s=t[3].charAt(2))+s,16),e=c((s=t[3].charAt(1))+s,16)),t[4]&&(a=t[4][R](pt),e=I(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),r=I(a[1]),"%"==a[1].slice(-1)&&(r*=2.55),i=I(a[2]),"%"==a[2].slice(-1)&&(i*=2.55),"rgba"==t[1].toLowerCase().slice(0,4)&&(n=I(a[3])),a[3])&&"%"==a[3].slice(-1)&&(n/=100),t[5]?(a=t[5][R](pt),e=I(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),r=I(a[1]),"%"==a[1].slice(-1)&&(r*=2.55),i=I(a[2]),"%"==a[2].slice(-1)&&(i*=2.55),"deg"!=a[0].slice(-3)&&"°"!=a[0].slice(-1)||(e/=360),"hsba"==t[1].toLowerCase().slice(0,4)&&(n=I(a[3])),a[3]&&"%"==a[3].slice(-1)&&(n/=100),N.hsb2rgb(e,r,i,n)):t[6]?(a=t[6][R](pt),e=I(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),r=I(a[1]),"%"==a[1].slice(-1)&&(r*=2.55),i=I(a[2]),"%"==a[2].slice(-1)&&(i*=2.55),"deg"!=a[0].slice(-3)&&"°"!=a[0].slice(-1)||(e/=360),"hsla"==t[1].toLowerCase().slice(0,4)&&(n=I(a[3])),a[3]&&"%"==a[3].slice(-1)&&(n/=100),N.hsl2rgb(e,r,i,n)):((t={r:e,g:r,b:i,toString:l}).hex="#"+(16777216|i|r<<8|e<<16).toString(16).slice(1),N.is(n,"finite")&&(t.opacity=n),t)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:l}},N),N.hsb=B(function(t,e,r){return N.hsb2rgb(t,e,r).hex}),N.hsl=B(function(t,e,r){return N.hsl2rgb(t,e,r).hex}),N.rgb=B(function(t,e,r){function i(t){return t+.5|0}return"#"+(16777216|i(r)|i(e)<<8|i(t)<<16).toString(16).slice(1)}),N.getColor=function(t){var t=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},e=this.hsb2rgb(t.h,t.s,t.b);return t.h+=.075,1<t.h&&(t.h=0,t.s-=.2,t.s<=0)&&(this.getColor.start={h:0,s:1,b:t.b}),e.hex},N.getColor.reset=function(){delete this.start},N.parsePathString=function(t){var e,s,a;return t?(e=E(t)).arr?q(e.arr):(s={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},a=[],(a=N.is(t,v)&&N.is(t[0],v)?q(t):a).length||F(t).replace(xt,function(t,e,r){var i=[],n=e.toLowerCase();if(r.replace(vt,function(t,e){e&&i.push(+e)}),"m"==n&&2<i.length&&(a.push([e][P](i.splice(0,2))),n="l",e="m"==e?"l":"L"),"r"==n)a.push([e][P](i));else for(;s[n]<=i.length&&(a.push([e][P](i.splice(0,s[n]))),s[n]););}),a.toString=N._path2string,e.arr=q(a),a):null},N.parseTransformString=B(function(t){var n;return t?(n=[],(n=N.is(t,v)&&N.is(t[0],v)?q(t):n).length||F(t).replace(yt,function(t,e,r){var i=[];it.call(e);r.replace(vt,function(t,e){e&&i.push(+e)}),n.push([e][P](i))}),n.toString=N._path2string,n):null}),function(e){var r=E.ps=E.ps||{};return r[e]?r[e].sleep=100:r[e]={sleep:100},setTimeout(function(){for(var t in r)r[z](t)&&t!=e&&(r[t].sleep--,!r[t].sleep)&&delete r[t]}),r[e]}),Pt=(N.findDotsAtSegment=function(t,e,r,i,n,s,a,o,l){var h=1-l,u=y(h,3),c=y(h,2),f=l*l,p=f*l,d=u*t+3*c*l*r+3*h*l*l*n+p*a,u=u*e+3*c*l*i+3*h*l*l*s+p*o,c=t+2*l*(r-t)+f*(n-2*r+t),p=e+2*l*(i-e)+f*(s-2*i+e),g=r+2*l*(n-r)+f*(a-2*n+r),f=i+2*l*(s-i)+f*(o-2*s+i),t=h*t+l*r,r=h*e+l*i,e=h*n+l*a,i=h*s+l*o,n=90-180*C.atan2(c-g,p-f)/T;return(g<c||p<f)&&(n+=180),{x:d,y:u,m:{x:c,y:p},n:{x:g,y:f},start:{x:t,y:r},end:{x:e,y:i},alpha:n}},N.bezierBBox=function(t,e,r,i,n,s,a,o){N.is(t,"array")||(t=[t,e,r,i,n,s,a,o]);e=jt.apply(null,t);return{x:e.min.x,y:e.min.y,x2:e.max.x,y2:e.max.y,width:e.max.x-e.min.x,height:e.max.y-e.min.y}},N.isPointInsideBBox=function(t,e,r){return e>=t.x&&e<=t.x2&&r>=t.y&&r<=t.y2},N.isBBoxIntersect=function(t,e){var r=N.isPointInsideBBox;return r(e,t.x,t.y)||r(e,t.x2,t.y)||r(e,t.x,t.y2)||r(e,t.x2,t.y2)||r(t,e.x,e.y)||r(t,e.x2,e.y)||r(t,e.x,e.y2)||r(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)},N.pathIntersection=function(t,e){return h(t,e)},N.pathIntersectionNumber=function(t,e){return h(t,e,1)},N.isPointInsidePath=function(t,e,r){var i=N.pathBBox(t);return N.isPointInsideBBox(i,e,r)&&h(t,[["M",e,r],["H",i.x2+10]],1)%2==1},N._removedFactory=function(t){return function(){M("raphael.log",null,"RaphaĆ«l: you are calling to method ā"+t+"ā of removed object",t)}},N.pathBBox=function(t){var e=E(t);if(e.bbox)return x(e.bbox);if(!t)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var r,i,n=0,s=0,a=[],o=[],l=0,h=(t=It(t)).length;l<h;l++)"M"==(r=t[l])[0]?(n=r[1],s=r[2],a.push(n),o.push(s)):(i=jt(n,s,r[1],r[2],r[3],r[4],r[5],r[6]),a=a[P](i.min.x,i.max.x),o=o[P](i.min.y,i.max.y),n=r[5],s=r[6]);var u=S[b](0,a),c=S[b](0,o),f=k[b](0,a),p=k[b](0,o),d=f-u,g=p-c,f={x:u,y:c,x2:f,y2:p,width:d,height:g,cx:u+d/2,cy:c+g/2};return e.bbox=x(f),f}),q=function(t){t=x(t);return t.toString=N._path2string,t},e=N._pathToRelative=function(t){var e=E(t);if(e.rel)return q(e.rel);var r=[],i=0,n=0,s=0,a=0,o=0;"M"==(t=N.is(t,v)&&N.is(t&&t[0],v)?t:N.parsePathString(t))[0][0]&&(s=i=t[0][1],a=n=t[0][2],o++,r.push(["M",i,n]));for(var l=o,h=t.length;l<h;l++){var u=r[l]=[],c=t[l];if(c[0]!=it.call(c[0]))switch(u[0]=it.call(c[0]),u[0]){case"a":u[1]=c[1],u[2]=c[2],u[3]=c[3],u[4]=c[4],u[5]=c[5],u[6]=+(c[6]-i).toFixed(3),u[7]=+(c[7]-n).toFixed(3);break;case"v":u[1]=+(c[1]-n).toFixed(3);break;case"m":s=c[1],a=c[2];default:for(var f=1,p=c.length;f<p;f++)u[f]=+(c[f]-(f%2?i:n)).toFixed(3)}else{u=r[l]=[],"m"==c[0]&&(s=c[1]+i,a=c[2]+n);for(var d=0,g=c.length;d<g;d++)r[l][d]=c[d]}var x=r[l].length;switch(r[l][0]){case"z":i=s,n=a;break;case"h":i+=+r[l][x-1];break;case"v":n+=+r[l][x-1];break;default:i+=+r[l][x-2],n+=+r[l][x-1]}}return r.toString=N._path2string,e.rel=q(r),r},Ft=N._pathToAbsolute=function(t){var e=E(t);if(e.abs)return q(e.abs);if(!(t=N.is(t,v)&&N.is(t&&t[0],v)?t:N.parsePathString(t))||!t.length)return[["M",0,0]];var r=[],i=0,n=0,s=0,a=0,o=0;"M"==t[0][0]&&(s=i=+t[0][1],a=n=+t[0][2],o++,r[0]=["M",i,n]);for(var l,h,u=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),c=o,f=t.length;c<f;c++){if(r.push(l=[]),(h=t[c])[0]!=ut.call(h[0]))switch(l[0]=ut.call(h[0]),l[0]){case"A":l[1]=h[1],l[2]=h[2],l[3]=h[3],l[4]=h[4],l[5]=h[5],l[6]=+(h[6]+i),l[7]=+(h[7]+n);break;case"V":l[1]=+h[1]+n;break;case"H":l[1]=+h[1]+i;break;case"R":for(var p=[i,n][P](h.slice(1)),d=2,g=p.length;d<g;d++)p[d]=+p[d]+i,p[++d]=+p[d]+n;r.pop(),r=r[P](m(p,u));break;case"M":s=+h[1]+i,a=+h[2]+n;default:for(d=1,g=h.length;d<g;d++)l[d]=+h[d]+(d%2?i:n)}else if("R"==h[0])p=[i,n][P](h.slice(1)),r.pop(),r=r[P](m(p,u)),l=["R"][P](h.slice(-2));else for(var x=0,y=h.length;x<y;x++)l[x]=h[x];switch(l[0]){case"Z":i=s,n=a;break;case"H":i=l[1];break;case"V":n=l[1];break;case"M":s=l[l.length-2],a=l[l.length-1];default:i=l[l.length-2],n=l[l.length-1]}}return r.toString=N._path2string,e.abs=q(r),r},Rt=function(t,e,r,i,n,s,a,o,l,h){var u=120*T/180,c=T/180*(+n||0),f=[],p=B(function(t,e,r){return{x:t*C.cos(r)-e*C.sin(r),y:t*C.sin(r)+e*C.cos(r)}}),s=(h?(m=h[0],b=h[1],y=h[2],v=h[3]):(t=(g=p(t,e,-c)).x,e=g.y,o=(g=p(o,l,-c)).x,l=g.y,C.cos(T/180*n),C.sin(T/180*n),1<(d=(g=(t-o)/2)*g/(r*r)+(x=(e-l)/2)*x/(i*i))&&(r*=d=C.sqrt(d),i*=d),y=(d=(s==a?-1:1)*C.sqrt(A(((d=r*r)*(s=i*i)-d*x*x-s*g*g)/(d*x*x+s*g*g))))*r*x/i+(t+o)/2,m=C.asin(((e-(v=d*-i*g/r+(e+l)/2))/i).toFixed(9)),b=C.asin(((l-v)/i).toFixed(9)),(m=t<y?T-m:m)<0&&(m=2*T+m),(b=o<y?T-b:b)<0&&(b=2*T+b),a&&b<m&&(m-=2*T),!a&&m<b&&(b-=2*T)),b-m),u=(A(s)>u&&(x=b,d=o,g=l,o=y+r*C.cos(b=m+u*(a&&m<b?1:-1)),l=v+i*C.sin(b),f=Rt(o,l,r,i,n,0,a,d,g,[b,x,y,v])),s=b-m,C.cos(m)),n=C.sin(m),a=C.cos(b),d=C.sin(b),g=C.tan(s/4),x=4/3*r*g,y=4/3*i*g,v=[t,e],m=[t+x*n,e-y*u],b=[o+x*d,l-y*a],s=[o,l];if(m[0]=2*v[0]-m[0],m[1]=2*v[1]-m[1],h)return[m,b,s][P](f);for(var _=[],w=0,k=(f=[m,b,s][P](f).join()[R](",")).length;w<k;w++)_[w]=w%2?p(f[w-1],f[w],c).y:p(f[w],f[w+1],c).x;return _},jt=B(function(t,e,r,i,n,s,a,o){var l,h=n-2*r+t-(a-2*n+r),u=2*(r-t)-2*(n-r),c=t-r,f=(-u+C.sqrt(u*u-4*h*c))/2/h,p=(-u-C.sqrt(u*u-4*h*c))/2/h,d=[e,o],g=[t,a];return"1e12"<A(f)&&(f=.5),"1e12"<A(p)&&(p=.5),0<f&&f<1&&(l=Et(t,e,r,i,n,s,a,o,f),g.push(l.x),d.push(l.y)),0<p&&p<1&&(l=Et(t,e,r,i,n,s,a,o,p),g.push(l.x),d.push(l.y)),f=(-(u=2*(i-e)-2*(s-i))+C.sqrt(u*u-4*(h=s-2*i+e-(o-2*s+i))*(c=e-i)))/2/h,p=(-u-C.sqrt(u*u-4*h*c))/2/h,"1e12"<A(f)&&(f=.5),"1e12"<A(p)&&(p=.5),0<f&&f<1&&(l=Et(t,e,r,i,n,s,a,o,f),g.push(l.x),d.push(l.y)),0<p&&p<1&&(l=Et(t,e,r,i,n,s,a,o,p),g.push(l.x),d.push(l.y)),{min:{x:S[b](0,g),y:S[b](0,d)},max:{x:k[b](0,g),y:k[b](0,d)}}}),It=N._path2curve=B(function(t,e){var r=!e&&E(t);if(!e&&r.curve)return q(r.curve);function i(t,e,r){var i,n;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(t[0]in{T:1,Q:1}||(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][P](Rt[b](0,[e.x,e.y][P](t.slice(1))));break;case"S":n="C"==r||"S"==r?(i=2*e.x-e.bx,2*e.y-e.by):(i=e.x,e.y),t=["C",i,n][P](t.slice(1));break;case"T":"Q"==r||"T"==r?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"][P](Tt(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][P](Tt(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][P](At(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][P](At(e.x,e.y,t[1],e.y));break;case"V":t=["C"][P](At(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][P](At(e.x,e.y,e.X,e.Y))}return t}function n(t,e){if(7<t[e].length){t[e].shift();for(var r=t[e];r.length;)u[e]="A",o&&(c[e]="A"),t.splice(e++,0,["C"][P](r.splice(0,6)));t.splice(e,1),g=k(a.length,o&&o.length||0)}}function s(t,e,r,i,n){t&&e&&"M"==t[n][0]&&"M"!=e[n][0]&&(e.splice(n,0,["M",i.x,i.y]),r.bx=0,r.by=0,r.x=t[n][1],r.y=t[n][2],g=k(a.length,o&&o.length||0))}for(var a=Ft(t),o=e&&Ft(e),l={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},h={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},u=[],c=[],f="",p="",d=0,g=k(a.length,o&&o.length||0);d<g;d++){"C"!=(f=a[d]?a[d][0]:f)&&(u[d]=f,d)&&(p=u[d-1]),a[d]=i(a[d],l,p),"A"!=u[d]&&"C"==f&&(u[d]="C"),n(a,d),o&&("C"!=(f=o[d]?o[d][0]:f)&&(c[d]=f,d)&&(p=c[d-1]),o[d]=i(o[d],h,p),"A"!=c[d]&&"C"==f&&(c[d]="C"),n(o,d)),s(a,o,l,h,d),s(o,a,h,l,d);var x=a[d],y=o&&o[d],v=x.length,m=o&&y.length;l.x=x[v-2],l.y=x[v-1],l.bx=I(x[v-4])||l.x,l.by=I(x[v-3])||l.y,h.bx=o&&(I(y[m-4])||h.x),h.by=o&&(I(y[m-3])||h.y),h.x=o&&y[m-2],h.y=o&&y[m-1]}return o||(r.curve=q(a)),o?[a,o]:a},null,q),qt=(N._parseDots=B(function(t){for(var e=[],r=0,i=t.length;r<i;r++){var n={},s=t[r].match(/^([^:]*):?([\d\.]*)/);if(n.color=N.getRGB(s[1]),n.color.error)return null;n.opacity=n.color.opacity,n.color=n.color.hex,s[2]&&(n.offset=s[2]+"%"),e.push(n)}for(i=e.length-(r=1);r<i;r++)if(!e[r].offset){for(var a=I(e[r-1].offset||0),o=0,l=r+1;l<i;l++)if(e[l].offset){o=e[l].offset;break}o||(o=100,l=i);for(var h=((o=I(o))-a)/(l-r+1);r<l;r++)a+=h,e[r].offset=a+"%"}return e}),N._tear=function(t,e){t==e.top&&(e.top=t.prev),t==e.bottom&&(e.bottom=t.next),t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next)}),Dt=(N._tofront=function(t,e){e.top!==t&&(qt(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},N._toback=function(t,e){e.bottom!==t&&(qt(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},N._insertafter=function(t,e,r){qt(t,r),e==r.top&&(r.top=t),e.next&&(e.next.prev=t),t.next=e.next,(t.prev=e).next=t},N._insertbefore=function(t,e,r){qt(t,r),e==r.bottom&&(r.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,(e.prev=t).next=e},N.toMatrix=function(t,e){var r=Pt(t),t={_:{transform:""},getBBox:function(){return r}};return Ot(t,e),t.matrix}),Ot=(N.transformPath=function(t,e){return _t(t,Dt(t,e))},N._extractTransform=function(t,e){if(null==e)return t._.transform;e=F(e).replace(/\.{3}|\u2026/g,t._.transform||"");var r,i=N.parseTransformString(e),n=0,s=1,a=1,o=t._,l=new L;if(o.transform=i||[],i)for(var h=0,u=i.length;h<u;h++){var c,f,p,d,g,x=i[h],y=x.length,v=F(x[0]).toLowerCase(),m=x[0]!=v,b=m?l.invert():0;"t"==v&&3==y?m?(c=b.x(0,0),f=b.y(0,0),p=b.x(x[1],x[2]),d=b.y(x[1],x[2]),l.translate(p-c,d-f)):l.translate(x[1],x[2]):"r"==v?2==y?(g=g||t.getBBox(1),l.rotate(x[1],g.x+g.width/2,g.y+g.height/2),n+=x[1]):4==y&&(m?(p=b.x(x[2],x[3]),d=b.y(x[2],x[3]),l.rotate(x[1],p,d)):l.rotate(x[1],x[2],x[3]),n+=x[1]):"s"==v?2==y||3==y?(g=g||t.getBBox(1),l.scale(x[1],x[y-1],g.x+g.width/2,g.y+g.height/2),s*=x[1],a*=x[y-1]):5==y&&(m?(p=b.x(x[3],x[4]),d=b.y(x[3],x[4]),l.scale(x[1],x[2],p,d)):l.scale(x[1],x[2],x[3],x[4]),s*=x[1],a*=x[2]):"m"==v&&7==y&&l.add(x[1],x[2],x[3],x[4],x[5],x[6]),o.dirtyT=1,t.matrix=l}t.matrix=l,o.sx=s,o.sy=a,o.deg=n,o.dx=e=l.e,o.dy=r=l.f,1==s&&1==a&&!n&&o.bbox?(o.bbox.x+=+e,o.bbox.y+=+r):o.dirtyT=1}),Vt=N._equaliseTransform=function(t,e){e=F(e).replace(/\.{3}|\u2026/g,t),t=N.parseTransformString(t)||[],e=N.parseTransformString(e)||[];for(var r,i,n,s,a=k(t.length,e.length),o=[],l=[],h=0;h<a;h++){if(n=t[h]||Mt(e[h]),s=e[h]||Mt(n),n[0]!=s[0]||"r"==n[0].toLowerCase()&&(n[2]!=s[2]||n[3]!=s[3])||"s"==n[0].toLowerCase()&&(n[3]!=s[3]||n[4]!=s[4]))return;for(o[h]=[],l[h]=[],r=0,i=k(n.length,s.length);r<i;r++)r in n&&(o[h][r]=n[r]),r in s&&(l[h][r]=s[r])}return{from:o,to:l}};function Yt(t){return t[0]*t[0]+t[1]*t[1]}function Wt(t){var e=C.sqrt(Yt(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}N._getContainer=function(t,e,r,i){var n=null!=i||N.is(t,"object")?t:d.doc.getElementById(t);if(null!=n)return n.tagName?null==e?{container:n,width:n.style.pixelWidth||n.offsetWidth,height:n.style.pixelHeight||n.offsetHeight}:{container:n,width:e,height:r}:{container:1,x:t,y:e,width:r,height:i}},N.pathToRelative=e,N._engine={},N.path2curve=It,N.matrix=function(t,e,r,i,n,s){return new L(t,e,r,i,n,s)},(e=L.prototype).add=function(t,e,r,i,n,s){var a,o,l,h,u=[[],[],[]],c=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],f=[[t,r,n],[e,i,s],[0,0,1]];for(t&&t instanceof L&&(f=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),a=0;a<3;a++)for(o=0;o<3;o++){for(l=h=0;l<3;l++)h+=c[a][l]*f[l][o];u[a][o]=h}this.a=u[0][0],this.b=u[1][0],this.c=u[0][1],this.d=u[1][1],this.e=u[0][2],this.f=u[1][2]},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new L(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},e.clone=function(){return new L(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(t,e){this.add(1,0,0,1,t,e)},e.scale=function(t,e,r,i){null==e&&(e=t),(r||i)&&this.add(1,0,0,1,r,i),this.add(t,0,0,e,0,0),(r||i)&&this.add(1,0,0,1,-r,-i)},e.rotate=function(t,e,r){t=N.rad(t),e=e||0,r=r||0;var i=+C.cos(t).toFixed(9),t=+C.sin(t).toFixed(9);this.add(i,t,-t,i,e,r),this.add(1,0,0,1,-e,-r)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[F.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return N.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},e.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.split=function(){var t={},e=(t.dx=this.e,t.dy=this.f,[[this.a,this.c],[this.b,this.d]]),r=(t.scalex=C.sqrt(Yt(e[0])),Wt(e[0]),t.shear=e[0][0]*e[1][0]+e[0][1]*e[1][1],e[1]=[e[1][0]-e[0][0]*t.shear,e[1][1]-e[0][1]*t.shear],t.scaley=C.sqrt(Yt(e[1])),Wt(e[1]),t.shear/=t.scaley,-e[0][1]),e=e[1][1];return e<0?(t.rotate=N.deg(C.acos(e)),r<0&&(t.rotate=360-t.rotate)):t.rotate=N.deg(C.asin(r)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},e.toTransformString=function(t){t=t||this[R]();return t.isSimple?(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[t.dx,t.dy]:"")+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:"")+(t.rotate?"r"+[t.rotate,0,0]:"")):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]};function Gt(){this.returnValue=!1}function Ht(){return this.originalEvent.preventDefault()}function Xt(){this.cancelBubble=!0}function Ut(){return this.originalEvent.stopPropagation()}function $t(t){var e=d.doc.documentElement.scrollTop||d.doc.body.scrollTop,r=d.doc.documentElement.scrollLeft||d.doc.body.scrollLeft;return{x:t.clientX+r,y:t.clientY+e}}for(var Zt=d.doc.addEventListener?function(s,t,a,o){function e(t){var e=$t(t);return a.call(o,t,e.x,e.y)}var r;return s.addEventListener(t,e,!1),K&&rt[t]&&(r=function(t){for(var e=$t(t),r=t,i=0,n=t.targetTouches&&t.targetTouches.length;i<n;i++)if(t.targetTouches[i].target==s){(t=t.targetTouches[i]).originalEvent=r,t.preventDefault=Ht,t.stopPropagation=Ut;break}return a.call(o,t,e.x,e.y)},s.addEventListener(rt[t],r,!1)),function(){return s.removeEventListener(t,e,!1),K&&rt[t]&&s.removeEventListener(rt[t],r,!1),!0}}:d.doc.attachEvent?function(t,e,i,n){function r(t){t=t||d.win.event;var e=d.doc.documentElement.scrollTop||d.doc.body.scrollTop,r=d.doc.documentElement.scrollLeft||d.doc.body.scrollLeft,r=t.clientX+r,e=t.clientY+e;return t.preventDefault=t.preventDefault||Gt,t.stopPropagation=t.stopPropagation||Xt,i.call(n,t,r,e)}t.attachEvent("on"+e,r);return function(){return t.detachEvent("on"+e,r),!0}}:void 0,g=[],Qt=function(t){for(var e,r=t.clientX,i=t.clientY,n=d.doc.documentElement.scrollTop||d.doc.body.scrollTop,s=d.doc.documentElement.scrollLeft||d.doc.body.scrollLeft,a=g.length;a--;){if(e=g[a],K&&t.touches){for(var o,l=t.touches.length;l--;)if((o=t.touches[l]).identifier==e.el._drag.id){r=o.clientX,i=o.clientY,(t.originalEvent||t).preventDefault();break}}else t.preventDefault();var h,u=e.el.node,c=u.nextSibling,f=u.parentNode,p=u.style.display;d.win.opera&&f.removeChild(u),u.style.display="none",h=e.el.paper.getElementByPoint(r,i),u.style.display=p,d.win.opera&&(c?f.insertBefore(u,c):f.appendChild(u)),h&&M("raphael.drag.over."+e.el.id,e.el,h),r+=s,i+=n,M("raphael.drag.move."+e.el.id,e.move_scope||e.el,r-e.el._drag.x,i-e.el._drag.y,r,i,t)}},Jt=function(t){N.unmousemove(Qt).unmouseup(Jt);for(var e,r=g.length;r--;)(e=g[r]).el._drag={},M("raphael.drag.end."+e.el.id,e.end_scope||e.start_scope||e.move_scope||e.el,t);g=[]},s=N.el={},Kt=et.length;Kt--;)!function(i){N[i]=s[i]=function(t,e){return N.is(t,"function")&&(this.events=this.events||[],this.events.push({name:i,f:t,unbind:Zt(this.shape||this.node||d.doc,i,t,e||this)})),this},N["un"+i]=s["un"+i]=function(t){for(var e=this.events||[],r=e.length;r--;)e[r].name!=i||!N.is(t,"undefined")&&e[r].f!=t||(e[r].unbind(),e.splice(r,1),e.length)||delete this.events;return this}}(et[Kt]);s.data=function(t,e){var r=n[this.id]=n[this.id]||{};if(0==arguments.length)return r;if(1!=arguments.length)return r[t]=e,M("raphael.data.set."+this.id,this,e,t),this;if(N.is(t,"object")){for(var i in t)t[z](i)&&this.data(i,t[i]);return this}return M("raphael.data.get."+this.id,this,r[t],t),r[t]},s.removeData=function(t){return null==t?n[this.id]={}:n[this.id]&&delete n[this.id][t],this},s.getData=function(){return x(n[this.id]||{})},s.hover=function(t,e,r,i){return this.mouseover(t,r).mouseout(e,i||r)},s.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};function te(t,e,r,i,n,s,a,o,l){return null==l?_(t,e,r,i,n,s,a,o):N.findDotsAtSegment(t,e,r,i,n,s,a,o,function(t,e,r,i,n,s,a,o,l){if(!(l<0||_(t,e,r,i,n,s,a,o)<l)){for(var h=.5,u=1-h,c=_(t,e,r,i,n,s,a,o,u);.01<A(c-l);)c=_(t,e,r,i,n,s,a,o,u+=(c<l?1:-1)*(h/=2));return u}}(t,e,r,i,n,s,a,o,l))}function ee(p,d){return function(t,e,r){for(var i,n,s,a,o,l="",h={},u=0,c=0,f=(t=It(t)).length;c<f;c++){if("M"==(s=t[c])[0])i=+s[1],n=+s[2];else{if(e<u+(a=te(i,n,s[1],s[2],s[3],s[4],s[5],s[6]))){if(d&&!h.start){if(l+=["C"+(o=te(i,n,s[1],s[2],s[3],s[4],s[5],s[6],e-u)).start.x,o.start.y,o.m.x,o.m.y,o.x,o.y],r)return l;h.start=l,l=["M"+o.x,o.y+"C"+o.n.x,o.n.y,o.end.x,o.end.y,s[5],s[6]].join(),u+=a,i=+s[5],n=+s[6];continue}if(!p&&!d)return{x:(o=te(i,n,s[1],s[2],s[3],s[4],s[5],s[6],e-u)).x,y:o.y,alpha:o.alpha}}u+=a,i=+s[5],n=+s[6]}l+=s.shift()+s}return h.end=l,o=(o=p?u:d?h:N.findDotsAtSegment(i,n,s[0],s[1],s[2],s[3],s[4],s[5],1)).alpha?{x:o.x,y:o.y,alpha:o.alpha}:o}}var re,r,ie,ne,se,ae,i=[],oe=(s.drag=function(o,l,h,u,c,f){function t(t){(t.originalEvent||t).preventDefault();var e=t.clientX,r=t.clientY,i=d.doc.documentElement.scrollTop||d.doc.body.scrollTop,n=d.doc.documentElement.scrollLeft||d.doc.body.scrollLeft;if(this._drag.id=t.identifier,K&&t.touches)for(var s,a=t.touches.length;a--;)if(s=t.touches[a],this._drag.id=s.identifier,s.identifier==this._drag.id){e=s.clientX,r=s.clientY;break}this._drag.x=e+n,this._drag.y=r+i,g.length||N.mousemove(Qt).mouseup(Jt),g.push({el:this,move_scope:u,start_scope:c,end_scope:f}),l&&M.on("raphael.drag.start."+this.id,l),o&&M.on("raphael.drag.move."+this.id,o),h&&M.on("raphael.drag.end."+this.id,h),M("raphael.drag.start."+this.id,c||u||this,t.clientX+n,t.clientY+i,t)}return this._drag={},i.push({el:this,start:t}),this.mousedown(t),this},s.onDragOver=function(t){t?M.on("raphael.drag.over."+this.id,t):M.unbind("raphael.drag.over."+this.id)},s.undrag=function(){for(var t=i.length;t--;)i[t].el==this&&(this.unmousedown(i[t].start),i.splice(t,1),M.unbind("raphael.drag.*."+this.id));i.length||N.unmousemove(Qt).unmouseup(Jt),g=[]},t.circle=function(t,e,r){t=N._engine.circle(this,t||0,e||0,r||0);return this.__set__&&this.__set__.push(t),t},t.rect=function(t,e,r,i,n){t=N._engine.rect(this,t||0,e||0,r||0,i||0,n||0);return this.__set__&&this.__set__.push(t),t},t.ellipse=function(t,e,r,i){t=N._engine.ellipse(this,t||0,e||0,r||0,i||0);return this.__set__&&this.__set__.push(t),t},t.path=function(t){!t||N.is(t,nt)||N.is(t[0],v)||(t+="");var e=N._engine.path(N.format[b](N,arguments),this);return this.__set__&&this.__set__.push(e),e},t.image=function(t,e,r,i,n){t=N._engine.image(this,t||"about:blank",e||0,r||0,i||0,n||0);return this.__set__&&this.__set__.push(t),t},t.text=function(t,e,r){t=N._engine.text(this,t||0,e||0,F(r));return this.__set__&&this.__set__.push(t),t},t.set=function(t){N.is(t,"array")||(t=Array.prototype.splice.call(arguments,0,arguments.length));var e=new pe(t);return this.__set__&&this.__set__.push(e),e.paper=this,e.type="set",e},t.setStart=function(t){this.__set__=t||this.set()},t.setFinish=function(t){var e=this.__set__;return delete this.__set__,e},t.getSize=function(){var t=this.canvas.parentNode;return{width:t.offsetWidth,height:t.offsetHeight}},t.setSize=function(t,e){return N._engine.setSize.call(this,t,e)},t.setViewBox=function(t,e,r,i,n){return N._engine.setViewBox.call(this,t,e,r,i,n)},t.top=t.bottom=null,t.raphael=N,t.getElementByPoint=function(t,e){var r,i,n,s,a,o=this.canvas,l=d.doc.elementFromPoint(t,e);if(!(l=d.win.opera&&"svg"==l.tagName&&(i=(r=o).getBoundingClientRect(),r=r.ownerDocument,n=r.body,r=r.documentElement,s=r.clientTop||n.clientTop||0,a=r.clientLeft||n.clientLeft||0,s={y:i.top+(d.win.pageYOffset||r.scrollTop||n.scrollTop)-s,x:i.left+(d.win.pageXOffset||r.scrollLeft||n.scrollLeft)-a},(i=o.createSVGRect()).x=t-s.x,i.y=e-s.y,i.width=i.height=1,(r=o.getIntersectionList(i,null)).length)?r[r.length-1]:l))return null;for(;l.parentNode&&l!=o.parentNode&&!l.raphael;)l=l.parentNode;return(l=l==this.canvas.parentNode?o:l)&&l.raphael?this.getById(l.raphaelid):null},t.getElementsByBBox=function(e){var r=this.set();return this.forEach(function(t){N.isBBoxIntersect(t.getBBox(),e)&&r.push(t)}),r},t.getById=function(t){for(var e=this.bottom;e;){if(e.id==t)return e;e=e.next}return null},t.forEach=function(t,e){for(var r=this.bottom;r;){if(!1===t.call(e,r))return this;r=r.next}return this},t.getElementsByPoint=function(e,r){var i=this.set();return this.forEach(function(t){t.isPointInside(e,r)&&i.push(t)}),i},s.isPointInside=function(t,e){var r=this.realPath=bt[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(r=N.transformPath(r,this.attr("transform"))),N.isPointInsidePath(r,t,e)},s.getBBox=function(t){var e;return this.removed?{}:(e=this._,t?(!e.dirty&&e.bboxwt||(this.realPath=bt[this.type](this),e.bboxwt=Pt(this.realPath),e.bboxwt.toString=f,e.dirty=0),e.bboxwt):(!e.dirty&&!e.dirtyT&&e.bbox||(!e.dirty&&this.realPath||(e.bboxwt=0,this.realPath=bt[this.type](this)),e.bbox=Pt(_t(this.realPath,this.matrix)),e.bbox.toString=f,e.dirty=e.dirtyT=0),e.bbox))},s.clone=function(){var t;return this.removed?null:(t=this.paper[this.type]().attr(this.attr()),this.__set__&&this.__set__.push(t),t)},s.glow=function(t){if("text"==this.type)return null;for(var e={width:((t=t||{}).width||10)+(+this.attr("stroke-width")||1),fill:t.fill||!1,opacity:null==t.opacity?.5:t.opacity,offsetx:t.offsetx||0,offsety:t.offsety||0,color:t.color||"#000"},r=e.width/2,i=this.paper,n=i.set(),s=this.realPath||bt[this.type](this),s=this.matrix?_t(s,this.matrix):s,a=1;a<1+r;a++)n.push(i.path(s).attr({stroke:e.color,fill:e.fill?e.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width/r*a).toFixed(3),opacity:+(e.opacity/r).toFixed(3)}));return n.insertBefore(this).translate(e.offsetx,e.offsety)},ee(1)),le=ee(),he=ee(0,1),a=(N.getTotalLength=oe,N.getPointAtLength=le,N.getSubpath=function(t,e,r){return this.getTotalLength(t)-r<1e-6||(t=he(t,r,1),e)?he(t,e).end:t},s.getTotalLength=function(){var t=this.getPath();if(t)return this.node.getTotalLength?this.node.getTotalLength():oe(t)},s.getPointAtLength=function(t){var e=this.getPath();if(e)return le(e,t)},s.getPath=function(){var t,e=N._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return t=e?e(this):t},s.getSubpath=function(t,e){var r=this.getPath();if(r)return N.getSubpath(r,t,e)},N.easing_formulas={linear:function(t){return t},"<":function(t){return y(t,1.7)},">":function(t){return y(t,.48)},"<>":function(t){var t=.48-t/1.04,e=C.sqrt(.1734+t*t),r=e-t,e=-e-t,t=y(A(r),1/3)*(r<0?-1:1)+y(A(e),1/3)*(e<0?-1:1)+.5;return 3*(1-t)*t*t+t*t*t},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},elastic:function(t){return t==!!t?t:y(2,-10*t)*C.sin(2*T*(t-.075)/.3)+1},bounce:function(t){var e=7.5625,r=2.75,e=t<1/r?e*t*t:t<2/r?e*(t-=1.5/r)*t+.75:t<2.5/r?e*(t-=2.25/r)*t+.9375:e*(t-=2.625/r)*t+.984375;return e}}),D=(a.easeIn=a["ease-in"]=a["<"],a.easeOut=a["ease-out"]=a[">"],a.easeInOut=a["ease-in-out"]=a["<>"],a["back-in"]=a.backIn,a["back-out"]=a.backOut,[]),ue=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},ce=function(){for(var t=+new Date,e=0;e<D.length;e++){var r=D[e];if(!r.el.removed&&!r.paused){var i,n=t-r.start,s=r.ms,a=r.easing,o=r.from,l=r.diff,h=r.to,u=(r.t,r.el),c={},f={};if(r.initstatus?(n=(r.initstatus*r.anim.top-r.prev)/(r.percent-r.prev)*s,r.status=r.initstatus,delete r.initstatus,r.stop&&D.splice(e--,1)):r.status=(r.prev+(r.percent-r.prev)*(n/s))/r.anim.top,!(n<0))if(n<s){var p,d=a(n/s);for(p in o)if(o[z](p)){switch(ft[p]){case j:g=+o[p]+d*s*l[p];break;case"colour":g="rgb("+[fe(ht(o[p].r+d*s*l[p].r)),fe(ht(o[p].g+d*s*l[p].g)),fe(ht(o[p].b+d*s*l[p].b))].join(",")+")";break;case"path":for(var g=[],x=0,y=o[p].length;x<y;x++){g[x]=[o[p][x][0]];for(var v=1,m=o[p][x].length;v<m;v++)g[x][v]=+o[p][x][v]+d*s*l[p][x][v];g[x]=g[x].join(tt)}g=g.join(tt);break;case"transform":if(l[p].real)for(g=[],x=0,y=o[p].length;x<y;x++)for(g[x]=[o[p][x][0]],v=1,m=o[p][x].length;v<m;v++)g[x][v]=o[p][x][v]+d*s*l[p][x][v];else{function b(t){return+o[p][t]+d*s*l[p][t]}g=[["m",b(0),b(1),b(2),b(3),b(4),b(5)]]}break;case"csv":if("clip-rect"==p)for(g=[],x=4;x--;)g[x]=+o[p][x]+d*s*l[p][x];break;default:var _=[][P](o[p]);for(g=[],x=u.paper.customAttributes[p].length;x--;)g[x]=+_[x]+d*s*l[p][x]}c[p]=g}u.attr(c),function(t,e,r){setTimeout(function(){M("raphael.anim.frame."+t,e,r)})}(u.id,u,r.anim)}else{if(function(t,e,r){setTimeout(function(){M("raphael.anim.frame."+e.id,e,r),M("raphael.anim.finish."+e.id,e,r),N.is(t,"function")&&t.call(e)})}(r.callback,u,r.anim),u.attr(h),D.splice(e--,1),1<r.repeat&&!r.next){for(i in h)h[z](i)&&(f[i]=r.totalOrigin[i]);r.el.attr(f),w(r.anim,r.el,r.anim.percents[0],null,r.totalOrigin,r.repeat-1)}r.next&&!r.stop&&w(r.anim,r.el,r.next,null,r.totalOrigin,r.repeat)}}}D.length&&ue(ce)},fe=function(t){return 255<t?255:t<0?0:t},pe=(s.animateWith=function(t,e,r,i,n,s){var a=this;if(a.removed)s&&s.call(a);else{r=r instanceof u?r:N.animation(r,i,n,s);w(r,a,r.percents[0],null,a.attr());for(var o=0,l=D.length;o<l;o++)if(D[o].anim==e&&D[o].el==t){D[l-1].start=D[o].start;break}}return a},s.onAnimation=function(t){return t?M.on("raphael.anim.frame."+this.id,t):M.unbind("raphael.anim.frame."+this.id),this},u.prototype.delay=function(t){var e=new u(this.anim,this.ms);return e.times=this.times,e.del=+t||0,e},u.prototype.repeat=function(t){var e=new u(this.anim,this.ms);return e.del=this.del,e.times=C.floor(k(t,0))||1,e},N.animation=function(t,e,r,i){if(t instanceof u)return t;!N.is(r,"function")&&r||(i=i||r||null,r=null),e=+e||0;var n,s,a={};for(s in t=Object(t))t[z](s)&&I(s)!=s&&I(s)+"%"!=s&&(n=!0,a[s]=t[s]);if(n)return r&&(a.easing=r),i&&(a.callback=i),new u({100:a},e);if(i){var o,l=0;for(o in t){var h=c(o);t[z](o)&&l<h&&(l=h)}t[l+="%"].callback||(t[l].callback=i)}return new u(t,e)},s.animate=function(t,e,r,i){var n=this;return n.removed?i&&i.call(n):w(t=t instanceof u?t:N.animation(t,e,r,i),n,t.percents[0],null,n.attr()),n},s.setTime=function(t,e){return t&&null!=e&&this.status(t,S(e,t.ms)/t.ms),this},s.status=function(t,e){var r,i,n=[],s=0;if(null!=e)return w(t,this,-1,S(e,1)),this;for(r=D.length;s<r;s++)if((i=D[s]).el.id==this.id&&(!t||i.anim==t)){if(t)return i.status;n.push({anim:i.anim,status:i.status})}return t?0:n},s.pause=function(t){for(var e=0;e<D.length;e++)D[e].el.id!=this.id||t&&D[e].anim!=t||!1!==M("raphael.anim.pause."+this.id,this,D[e].anim)&&(D[e].paused=!0);return this},s.resume=function(t){for(var e,r=0;r<D.length;r++)D[r].el.id!=this.id||t&&D[r].anim!=t||(e=D[r],!1!==M("raphael.anim.resume."+this.id,this,e.anim)&&(delete e.paused,this.status(e.anim,e.status)));return this},s.stop=function(t){for(var e=0;e<D.length;e++)D[e].el.id!=this.id||t&&D[e].anim!=t||!1!==M("raphael.anim.stop."+this.id,this,D[e].anim)&&D.splice(e--,1);return this},M.on("raphael.remove",p),M.on("raphael.clear",p),s.toString=function(){return"RaphaĆ«lās object"},function(t){if(this.items=[],this.length=0,this.type="set",t)for(var e=0,r=t.length;e<r;e++)!t[e]||t[e].constructor!=s.constructor&&t[e].constructor!=pe||(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)}),o=pe.prototype;for(re in o.push=function(){for(var t,e,r=0,i=arguments.length;r<i;r++)!(t=arguments[r])||t.constructor!=s.constructor&&t.constructor!=pe||(this[e=this.items.length]=this.items[e]=t,this.length++);return this},o.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},o.forEach=function(t,e){for(var r=0,i=this.items.length;r<i;r++)if(!1===t.call(e,this.items[r],r))return this;return this},s)s[z](re)&&(o[re]=function(r){return function(){var e=arguments;return this.forEach(function(t){t[r][b](t,e)})}}(re));return o.attr=function(t,e){if(t&&N.is(t,v)&&N.is(t[0],"object"))for(var r=0,i=t.length;r<i;r++)this.items[r].attr(t[r]);else for(var n=0,s=this.items.length;n<s;n++)this.items[n].attr(t,e);return this},o.clear=function(){for(;this.length;)this.pop()},o.splice=function(t,e,r){t=t<0?k(this.length+t,0):t,e=k(0,S(this.length-t,e));for(var i=[],n=[],s=[],a=2;a<arguments.length;a++)s.push(arguments[a]);for(a=0;a<e;a++)n.push(this[t+a]);for(;a<this.length-t;a++)i.push(this[t+a]);var o=s.length;for(a=0;a<o+i.length;a++)this.items[t+a]=this[t+a]=a<o?s[a]:i[a-o];for(a=this.items.length=this.length-=e-o;this[a];)delete this[a++];return new pe(n)},o.exclude=function(t){for(var e=0,r=this.length;e<r;e++)if(this[e]==t)return this.splice(e,1),!0},o.animate=function(t,e,r,i){!N.is(r,"function")&&r||(i=r||null);var n,s=this.items.length,a=s,o=this;if(s){i&&(n=function(){--s||i.call(o)}),r=N.is(r,nt)?r:n;for(var l=N.animation(t,e,r,n),h=this.items[--a].animate(l);a--;)this.items[a]&&!this.items[a].removed&&this.items[a].animateWith(h,l,l),this.items[a]&&!this.items[a].removed||s--}return this},o.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},o.getBBox=function(){for(var t,e=[],r=[],i=[],n=[],s=this.items.length;s--;)this.items[s].removed||(t=this.items[s].getBBox(),e.push(t.x),r.push(t.y),i.push(t.x+t.width),n.push(t.y+t.height));return{x:e=S[b](0,e),y:r=S[b](0,r),x2:i=k[b](0,i),y2:n=k[b](0,n),width:i-e,height:n-r}},o.clone=function(t){t=this.paper.set();for(var e=0,r=this.items.length;e<r;e++)t.push(this.items[e].clone());return t},o.toString=function(){return"RaphaĆ«lās set"},o.glow=function(r){var i=this.paper.set();return this.forEach(function(t,e){t=t.glow(r);null!=t&&t.forEach(function(t,e){i.push(t)})}),i},o.isPointInside=function(e,r){var i=!1;return this.forEach(function(t){if(t.isPointInside(e,r))return!(i=!0)}),i},N.registerFont=function(t){if(t.face){this.fonts=this.fonts||{};var e,r={w:t.w,face:{},glyphs:{}},i=t.face["font-family"];for(e in t.face)t.face[z](e)&&(r.face[e]=t.face[e]);if(this.fonts[i]?this.fonts[i].push(r):this.fonts[i]=[r],!t.svg)for(var n in r.face["units-per-em"]=c(t.face["units-per-em"],10),t.glyphs)if(t.glyphs[z](n)){var s=t.glyphs[n];if(r.glyphs[n]={w:s.w,k:{},d:s.d&&"M"+s.d.replace(/[mlcxtrv]/g,function(t){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[t]||"M"})+"z"},s.k)for(var a in s.k)s[z](a)&&(r.glyphs[n].k[a]=s.k[a])}}return t},t.getFont=function(t,e,r,i){if(i=i||"normal",r=r||"normal",e=+e||{normal:400,bold:700,lighter:300,bolder:800}[e]||400,N.fonts){var n,s=N.fonts[t];if(!s){var a,o=new RegExp("(^|\\s)"+t.replace(/[^\w\d\s+!~.:_-]/g,"")+"(\\s|$)","i");for(a in N.fonts)if(N.fonts[z](a)&&o.test(a)){s=N.fonts[a];break}}if(s)for(var l=0,h=s.length;l<h&&((n=s[l]).face["font-weight"]!=e||n.face["font-style"]!=r&&n.face["font-style"]||n.face["font-stretch"]!=i);l++);return n}},t.print=function(t,e,r,i,n,s,a,o){s=s||"middle",a=k(S(a||0,1),-1),o=k(S(o||1,3),1);var l=F(r)[R](""),h=0,u=0,c="";if(i=N.is(i,"string")?this.getFont(i):i)for(var f,p,d=(n||16)/i.face["units-per-em"],r=i.face.bbox[R]($),g=+r[0],x=r[3]-r[1],y=0,v=+r[1]+("baseline"==s?x+ +i.face.descent:x/2),m=0,b=l.length;m<b;m++)"\n"==l[m]?(u=p=h=0,y+=x*o):(f=u&&i.glyphs[l[m-1]]||{},p=i.glyphs[l[m]],h+=u?(f.w||i.w)+(f.k&&f.k[l[m]]||0)+i.w*a:0,u=1),p&&p.d&&(c+=N.transformPath(p.d,["t",h*d,y*d,"s",d,d,g,v,"t",(t-g)/d,(e-v)/d]));return this.path(c).attr({fill:"#000",stroke:"none"})},t.add=function(t){if(N.is(t,"array"))for(var e,r=this.set(),i=0,n=t.length;i<n;i++)e=t[i]||{},Z[z](e.type)&&r.push(this[e.type]().attr(e));return r},N.format=function(t,e){var r=N.is(e,v)?[0][P](e):arguments;return(t=t&&N.is(t,nt)&&r.length-1?t.replace(Q,function(t,e){return null==r[++e]?"":r[e]}):t)||""},N.fullfill=(se=/\{([^\}]+)\}/g,ae=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(t,i){return String(t).replace(se,function(t,e){return t=t,s=r=i,e.replace(ae,function(t,e,r,i,n){e=e||i,s&&"function"==typeof(s=e in s?s[e]:s)&&n&&(s=s())}),s=(null==s||s==r?t:s)+"";var r,s})}),N.ninja=function(){if(J.was)d.win.Raphael=J.is;else{window.Raphael=void 0;try{delete window.Raphael}catch(t){}}return N},N.st=o,M.on("raphael.DOMload",function(){U=!0}),r=document,ie="DOMContentLoaded",null==r.readyState&&r.addEventListener&&(r.addEventListener(ie,ne=function(){r.removeEventListener(ie,ne,!1),r.readyState="complete"},!1),r.readyState="loading"),function t(){/in/.test(r.readyState)?setTimeout(t,9):N.eve("raphael.DOMload")}(),N}.apply(e,r);void 0!==e&&(t.exports=e)},function(t,e,r){var p,d,f,g,x,y,i,v,m;function b(t,e){return t-e}function _(){for(var t=0,e=this.length;t<e;t++)if(void 0!==this[t])return this[t]}function w(){for(var t=this.length;--t;)if(void 0!==this[t])return this[t]}f="hasOwnProperty",g=/[\.\/]/,x=/\s*,\s*/,y={n:{}},i=Object.prototype.toString,v=String,m=Array.isArray||function(t){return t instanceof Array||"[object Array]"==i.call(t)},(eve=function(t,e){var r,i=d,n=Array.prototype.slice.call(arguments,2),s=eve.listeners(t),a=0,o=[],l={},h=[],u=p;h.firstDefined=_,h.lastDefined=w,p=t;for(var c=d=0,f=s.length;c<f;c++)"zIndex"in s[c]&&(o.push(s[c].zIndex),s[c].zIndex<0)&&(l[s[c].zIndex]=s[c]);for(o.sort(b);o[a]<0;)if(r=l[o[a++]],h.push(r.apply(e,n)),d)return d=i,h;for(c=0;c<f;c++)if("zIndex"in(r=s[c]))if(r.zIndex==o[a]){if(h.push(r.apply(e,n)),d)break;do{if((r=l[o[++a]])&&h.push(r.apply(e,n)),d)break}while(r)}else l[r.zIndex]=r;else if(h.push(r.apply(e,n)),d)break;return d=i,p=u,h})._events=y,eve.listeners=function(t){for(var e,r,i,n,s,a,o,l=m(t)?t:t.split(g),h=[y],u=[],c=0,f=l.length;c<f;c++){for(o=[],s=0,a=h.length;s<a;s++)for(i=[(e=h[s].n)[l[c]],e["*"]],n=2;n--;)(r=i[n])&&(o.push(r),u=u.concat(r.f||[]));h=o}return u},eve.separator=function(t){g=t?(t="["+(t=v(t).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",new RegExp(t)):/[\.\/]/},eve.on=function(t,e){if("function"!=typeof e)return function(){};for(var r=m(t)?m(t[0])?t:[t]:v(t).split(x),i=0,n=r.length;i<n;i++){o=void 0;l=void 0;a=void 0;h=void 0;u=void 0;var s=r[i];for(var a,o=m(s)?s:v(s).split(g),l=y,h=0,u=o.length;h<u;h++)l=(l=l.n).hasOwnProperty(o[h])&&l[o[h]]||(l[o[h]]={n:{}});for(l.f=l.f||[],h=0,u=l.f.length;h<u;h++)if(l.f[h]==e){a=!0;break}a||l.f.push(e)}return function(t){+t==+t&&(e.zIndex=+t)}},eve.f=function(t){var e=[].slice.call(arguments,1);return function(){eve.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},eve.stop=function(){d=1},eve.nt=function(t){var e=m(p)?p.join("."):p;return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(e):e},eve.nts=function(){return m(p)?p:p.split(g)},eve.off=eve.unbind=function(t,e){if(t)if(1<(o=m(t)?m(t[0])?t:[t]:v(t).split(x)).length)for(var r=0,i=o.length;r<i;r++)eve.off(o[r],e);else{var n,s,a,o=m(t)?t:v(t).split(g),l=[y];for(r=0,i=o.length;r<i;r++)for(u=0;u<l.length;u+=a.length-2){if(a=[u,1],n=l[u].n,"*"!=o[r])n[o[r]]&&a.push(n[o[r]]);else for(s in n)n[f](s)&&a.push(n[s]);l.splice.apply(l,a)}for(r=0,i=l.length;r<i;r++)for(n=l[r];n.n;){if(e){if(n.f){for(u=0,c=n.f.length;u<c;u++)if(n.f[u]==e){n.f.splice(u,1);break}n.f.length||delete n.f}for(s in n.n)if(n.n[f](s)&&n.n[s].f){for(var h=n.n[s].f,u=0,c=h.length;u<c;u++)if(h[u]==e){h.splice(u,1);break}h.length||delete n.n[s].f}}else for(s in delete n.f,n.n)n.n[f](s)&&n.n[s].f&&delete n.n[s].f;n=n.n}}else eve._events=y={n:{}}},eve.once=function(t,e){function r(){return eve.off(t,r),e.apply(this,arguments)}return eve.on(t,r)},eve.version="0.5.0",eve.toString=function(){return"You are running Eve 0.5.0"},void 0!==t&&t.exports?t.exports=eve:void 0!==(e=function(){return eve}.apply(e,[]))&&(t.exports=e)},function(t,e,r){r=[r(1)],e=function(A){if(!A||A.svg){function T(t,e){var i="linear",r=t.id+e,n=.5,s=.5,a=t.node,o=t.paper,l=a.style,h=A._g.doc.getElementById(r);if(!h){if(e=(e=z(e).replace(A._radial_gradient,function(t,e,r){return i="radial",e&&r&&(n=g(e),e=2*(.5<(s=g(r)))-1,.25<y(n-.5,2)+y(s-.5,2))&&(s=x.sqrt(.25-y(n-.5,2))*e+.5)&&.5!=s&&(s=s.toFixed(5)-1e-5*e),I})).split(/\s*\-\s*/),"linear"==i){var u=e.shift(),u=-g(u);if(isNaN(u))return null;var u=[0,0,x.cos(A.rad(u)),x.sin(A.rad(u))],c=1/(F(R(u[2]),R(u[3]))||1);u[2]*=c,u[3]*=c,u[2]<0&&(u[0]=-u[2],u[2]=0),u[3]<0&&(u[1]=-u[3],u[3]=0)}var f=A._parseDots(e);if(!f)return null;if(r=r.replace(/[\(\)\s,\xb0#]/g,"_"),t.gradient&&r!=t.gradient.id&&(o.defs.removeChild(t.gradient),delete t.gradient),!t.gradient){h=D(i+"Gradient",{id:r}),t.gradient=h,D(h,"radial"==i?{fx:n,fy:s}:{x1:u[0],y1:u[1],x2:u[2],y2:u[3],gradientTransform:t.matrix.invert()}),o.defs.appendChild(h);for(var p=0,d=f.length;p<d;p++)h.appendChild(D("stop",{offset:f[p].offset||(p?"100%":"0%"),"stop-color":f[p].color||"#fff","stop-opacity":isFinite(f[p].opacity)?f[p].opacity:1}))}}return D(a,{fill:v(r),opacity:1,"fill-opacity":1}),l.fill=I,l.opacity=1,l.fillOpacity=1}function E(t){var e=t.getBBox(1);D(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})}function M(t,e,r){if("path"==t.type){for(var i,n,s,a,o,l,h,u,c,f=z(e).toLowerCase().split("-"),p=t.paper,d=r?"end":"start",g=t.node,x=t.attrs,y=x["stroke-width"],v=f.length,m="classic",b=3,_=3,w=5;v--;)switch(f[v]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":m=f[v];break;case"wide":_=5;break;case"narrow":_=2;break;case"long":b=5;break;case"short":b=2}for(u in u="open"==m?(b+=2,_+=2,w+=2,n=1,l=r?4:1,{fill:"none",stroke:x.stroke}):(l=n=b/2,{fill:x.stroke,stroke:"none"}),t._.arrows?r?(t._.arrows.endPath&&B[t._.arrows.endPath]--,t._.arrows.endMarker&&B[t._.arrows.endMarker]--):(t._.arrows.startPath&&B[t._.arrows.startPath]--,t._.arrows.startMarker&&B[t._.arrows.startMarker]--):t._.arrows={},"none"!=m?(a="raphael-marker-"+d+m+b+_+"-obj"+t.id,A._g.doc.getElementById(s="raphael-marker-"+m)?B[s]++:(p.defs.appendChild(D(D("path"),{"stroke-linecap":"round",d:k[m],id:s})),B[s]=1),(h=A._g.doc.getElementById(a))?(B[a]++,o=h.getElementsByTagName("use")[0]):(h=D(D("marker"),{id:a,markerHeight:_,markerWidth:b,orient:"auto",refX:l,refY:_/2}),o=D(D("use"),{"xlink:href":"#"+s,transform:(r?"rotate(180 "+b/2+" "+_/2+") ":I)+"scale("+b/w+","+_/w+")","stroke-width":(1/((b/w+_/w)/2)).toFixed(4)}),h.appendChild(o),p.defs.appendChild(h),B[a]=1),D(o,u),l=n*("diamond"!=m&&"oval"!=m),h=r?(i=t._.arrows.startdx*y||0,A.getTotalLength(x.path)-l*y):(i=l*y,A.getTotalLength(x.path)-(t._.arrows.enddx*y||0)),(u={})["marker-"+d]="url(#"+a+")",(h||i)&&(u.d=A.getSubpath(x.path,i,h)),D(g,u),t._.arrows[d+"Path"]=s,t._.arrows[d+"Marker"]=a,t._.arrows[d+"dx"]=l,t._.arrows[d+"Type"]=m,t._.arrows[d+"String"]=e):(h=r?(i=t._.arrows.startdx*y||0,A.getTotalLength(x.path)-i):(i=0,A.getTotalLength(x.path)-(t._.arrows.enddx*y||0)),t._.arrows[d+"Path"]&&D(g,{d:A.getSubpath(x.path,i,h)}),delete t._.arrows[d+"Path"],delete t._.arrows[d+"Marker"],delete t._.arrows[d+"dx"],delete t._.arrows[d+"Type"],delete t._.arrows[d+"String"]),B)B[L](u)&&!B[u]&&(c=A._g.doc.getElementById(u))&&c.parentNode.removeChild(c)}}function N(t,e,r){if(e=l[z(e).toLowerCase()]){for(var i=t.attrs["stroke-width"]||"1",n={round:i,square:i,butt:0}[t.attrs["stroke-linecap"]||r["stroke-linecap"]]||0,s=[],a=e.length;a--;)s[a]=e[a]*i+(a%2?1:-1)*n;D(t.node,{"stroke-dasharray":s.join(",")})}else D(t.node,{"stroke-dasharray":"none"})}function f(t,e){var r,i=t.node,n=t.attrs,s=i.style.visibility;for(r in i.style.visibility="hidden",e)if(e[L](r)){if(!A._availableAttrs[L](r))continue;var a=e[r];switch(n[r]=a,r){case"blur":t.blur(a);break;case"title":var o=i.getElementsByTagName("title");o.length&&(o=o[0])?o.firstChild.nodeValue=a:(o=D("title"),l=A._g.doc.createTextNode(a),o.appendChild(l),i.appendChild(o));break;case"href":case"target":var l=i.parentNode;"a"!=l.tagName.toLowerCase()&&(o=D("a"),l.insertBefore(o,i),o.appendChild(i),l=o),"target"==r?l.setAttributeNS(q,"show","blank"==a?"new":a):l.setAttributeNS(q,r,a);break;case"cursor":i.style.cursor=a;break;case"transform":t.transform(a);break;case"arrow-start":M(t,a);break;case"arrow-end":M(t,a,1);break;case"clip-rect":var h,u=z(a).split(j);4==u.length&&(t.clip&&t.clip.parentNode.parentNode.removeChild(t.clip.parentNode),f=D("clipPath"),h=D("rect"),f.id=A.createUUID(),D(h,{x:u[0],y:u[1],width:u[2],height:u[3]}),f.appendChild(h),t.paper.defs.appendChild(f),D(i,{"clip-path":"url(#"+f.id+")"}),t.clip=h),a||(u=i.getAttribute("clip-path"))&&((h=A._g.doc.getElementById(u.replace(/(^url\(#|\)$)/g,I)))&&h.parentNode.removeChild(h),D(i,{"clip-path":I}),delete t.clip);break;case"path":"path"==t.type&&(D(i,{d:a?n.path=A._pathToAbsolute(a):"M0,0"}),t._.dirty=1,t._.arrows)&&("startString"in t._.arrows&&M(t,t._.arrows.startString),"endString"in t._.arrows)&&M(t,t._.arrows.endString,1);break;case"width":if(i.setAttribute(r,a),t._.dirty=1,!n.fx)break;r="x",a=n.x;case"x":n.fx&&(a=-n.x-(n.width||0));case"rx":if("rx"==r&&"rect"==t.type)break;case"cx":i.setAttribute(r,a),t.pattern&&E(t),t._.dirty=1;break;case"height":if(i.setAttribute(r,a),t._.dirty=1,!n.fy)break;r="y",a=n.y;case"y":n.fy&&(a=-n.y-(n.height||0));case"ry":if("ry"==r&&"rect"==t.type)break;case"cy":i.setAttribute(r,a),t.pattern&&E(t),t._.dirty=1;break;case"r":"rect"==t.type?D(i,{rx:a,ry:a}):i.setAttribute(r,a),t._.dirty=1;break;case"src":"image"==t.type&&i.setAttributeNS(q,"href",a);break;case"stroke-width":1==t._.sx&&1==t._.sy||(a/=F(R(t._.sx),R(t._.sy))||1),i.setAttribute(r,a),n["stroke-dasharray"]&&N(t,n["stroke-dasharray"],e),t._.arrows&&("startString"in t._.arrows&&M(t,t._.arrows.startString),"endString"in t._.arrows)&&M(t,t._.arrows.endString,1);break;case"stroke-dasharray":N(t,a,e);break;case"fill":var c=z(a).match(A._ISURL);if(c){var f=D("pattern"),p=D("image");f.id=A.createUUID(),D(f,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),D(p,{x:0,y:0,"xlink:href":c[1]}),f.appendChild(p),function(r){A._preload(c[1],function(){var t=this.offsetWidth,e=this.offsetHeight;D(r,{width:t,height:e}),D(p,{width:t,height:e})})}(f),t.paper.defs.appendChild(f),D(i,{fill:"url(#"+f.id+")"}),t.pattern=f,t.pattern&&E(t);break}var d,g,x=A.getRGB(a);if(x.error){if(("circle"==t.type||"ellipse"==t.type||"r"!=z(a).charAt())&&T(t,a)){("opacity"in n||"fill-opacity"in n)&&(d=A._g.doc.getElementById(i.getAttribute("fill").replace(/^url\(#|\)$/g,I)))&&(g=d.getElementsByTagName("stop"),D(g[g.length-1],{"stop-opacity":("opacity"in n?n.opacity:1)*("fill-opacity"in n?n["fill-opacity"]:1)})),n.gradient=a,n.fill="none";break}}else delete e.gradient,delete n.gradient,!A.is(n.opacity,"undefined")&&A.is(e.opacity,"undefined")&&D(i,{opacity:n.opacity}),!A.is(n["fill-opacity"],"undefined")&&A.is(e["fill-opacity"],"undefined")&&D(i,{"fill-opacity":n["fill-opacity"]});x[L]("opacity")&&D(i,{"fill-opacity":1<x.opacity?x.opacity/100:x.opacity});case"stroke":x=A.getRGB(a),i.setAttribute(r,x.hex),"stroke"==r&&x[L]("opacity")&&D(i,{"stroke-opacity":1<x.opacity?x.opacity/100:x.opacity}),"stroke"==r&&t._.arrows&&("startString"in t._.arrows&&M(t,t._.arrows.startString),"endString"in t._.arrows)&&M(t,t._.arrows.endString,1);break;case"gradient":"circle"!=t.type&&"ellipse"!=t.type&&"r"==z(a).charAt()||T(t,a);break;case"opacity":n.gradient&&!n[L]("stroke-opacity")&&D(i,{"stroke-opacity":1<a?a/100:a});case"fill-opacity":if(n.gradient){(d=A._g.doc.getElementById(i.getAttribute("fill").replace(/^url\(#|\)$/g,I)))&&(g=d.getElementsByTagName("stop"),D(g[g.length-1],{"stop-opacity":a}));break}default:"font-size"==r&&(a=P(a,10)+"px");u=r.replace(/(\-.)/g,function(t){return t.substring(1).toUpperCase()});i.style[u]=a,t._.dirty=1,i.setAttribute(r,a)}}var y=t,v=e;if("text"==y.type&&(v[L]("text")||v[L]("font")||v[L]("font-size")||v[L]("x")||v[L]("y"))){var m=y.attrs,b=y.node,_=b.firstChild?P(A._g.doc.defaultView.getComputedStyle(b.firstChild,I).getPropertyValue("font-size"),10):10;if(v[L]("text")){for(m.text=v.text;b.firstChild;)b.removeChild(b.firstChild);for(var w,k=z(v.text).split("\n"),B=[],C=0,S=k.length;C<S;C++)w=D("tspan"),C&&D(w,{dy:_*O,x:m.x}),w.appendChild(A._g.doc.createTextNode(k[C])),b.appendChild(w),B[C]=w}else for(B=b.getElementsByTagName("tspan"),C=0,S=B.length;C<S;C++)C?D(B[C],{dy:_*O,x:m.x}):D(B[0],{dy:0});D(b,{x:m.x,y:m.y}),y._.dirty=1,v=y._getBBox(),(y=m.y-(v.y+v.height/2))&&A.is(y,"finite")&&D(B[0],{dy:y})}i.style.visibility=s}function i(t){return t.parentNode&&"a"===t.parentNode.tagName.toLowerCase()?t.parentNode:t}function o(t,e){(this[0]=this.node=t).raphael=!0,this.id=("0000"+(Math.random()*Math.pow(36,5)<<0).toString(36)).slice(-5),t.raphaelid=this.id,this.matrix=A.matrix(),this.realPath=null,this.paper=e,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},e.bottom||(e.bottom=this),this.prev=e.top,e.top&&(e.top.next=this),(e.top=this).next=null}var t,L="hasOwnProperty",z=String,g=parseFloat,P=parseInt,x=Math,F=x.max,R=x.abs,y=x.pow,j=/[, ]+/,p=A.eve,I="",q="http://www.w3.org/1999/xlink",k={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},B={},D=(A.toString=function(){return"Your browser supports SVG.\nYou are running RaphaĆ«l "+this.version},function(t,e){if(e)for(var r in"string"==typeof t&&(t=D(t)),e)e[L](r)&&("xlink:"==r.substring(0,6)?t.setAttributeNS(q,r.substring(6),z(e[r])):t.setAttribute(r,z(e[r])));else(t=A._g.doc.createElementNS("http://www.w3.org/2000/svg",t)).style&&(t.style.webkitTapHighlightColor="rgba(0,0,0,0)");return t}),r=function(){var t=document.documentMode;return t&&(9===t||10===t)},v=function(t){var e;return r()?"url('#"+t+"')":"url('"+((e=document.location).protocol+"//"+e.host+e.pathname+e.search)+"#"+t+"')"},l={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},O=1.2,e=A.el,n=((o.prototype=e).constructor=o,A._engine.path=function(t,e){var r=D("path"),r=(e.canvas&&e.canvas.appendChild(r),new o(r,e));return r.type="path",f(r,{fill:"none",stroke:"#000",path:t}),r},e.rotate=function(t,e,r){var i;return this.removed||((t=z(t).split(j)).length-1&&(e=g(t[1]),r=g(t[2])),t=g(t[0]),null!=(e=null==r?r:e)&&null!=r||(e=(i=this.getBBox(1)).x+i.width/2,r=i.y+i.height/2),this.transform(this._.transform.concat([["r",t,e,r]]))),this},e.scale=function(t,e,r,i){var n;return this.removed||((t=z(t).split(j)).length-1&&(e=g(t[1]),r=g(t[2]),i=g(t[3])),t=g(t[0]),null==e&&(e=t),null!=(r=null==i?i:r)&&null!=i||(n=this.getBBox(1)),r=null==r?n.x+n.width/2:r,i=null==i?n.y+n.height/2:i,this.transform(this._.transform.concat([["s",t,e,r,i]]))),this},e.translate=function(t,e){return this.removed||((t=z(t).split(j)).length-1&&(e=g(t[1])),t=g(t[0])||0,this.transform(this._.transform.concat([["t",t,e=+e||0]]))),this},e.transform=function(t){var e=this._;return null==t?e.transform:(A._extractTransform(this,t),this.clip&&D(this.clip,{transform:this.matrix.invert()}),this.pattern&&E(this),this.node&&D(this.node,{transform:this.matrix}),1==e.sx&&1==e.sy||(t=this.attrs[L]("stroke-width")?this.attrs["stroke-width"]:1,this.attr({"stroke-width":t})),this)},e.hide=function(){return this.removed||(this.node.style.display="none"),this},e.show=function(){return this.removed||(this.node.style.display=""),this},e.remove=function(){var t=i(this.node);if(!this.removed&&t.parentNode){var e,r=this.paper;for(e in r.__set__&&r.__set__.exclude(this),p.unbind("raphael.*.*."+this.id),this.gradient&&r.defs.removeChild(this.gradient),A._tear(this,r),t.parentNode.removeChild(t),this.removeData(),this)this[e]="function"==typeof this[e]?A._removedFactory(e):null;this.removed=!0}},e._getBBox=function(){"none"==this.node.style.display&&(this.show(),t=!0);var t,e,r=!1,i=(this.paper.canvas.parentElement?e=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(e=this.paper.canvas.parentNode.style),e&&"none"==e.display&&(r=!0,e.display=""),{});try{i=this.node.getBBox()}catch(t){i={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{i=i||{},r&&(e.display="none")}return t&&this.hide(),i},e.attr=function(t,e){if(!this.removed){if(null==t){var r,i={};for(r in this.attrs)this.attrs[L](r)&&(i[r]=this.attrs[r]);return i.gradient&&"none"==i.fill&&(i.fill=i.gradient)&&delete i.gradient,i.transform=this._.transform,i}if(null==e&&A.is(t,"string")){if("fill"==t&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==t)return this._.transform;for(var n=t.split(j),s={},a=0,o=n.length;a<o;a++)(t=n[a])in this.attrs?s[t]=this.attrs[t]:A.is(this.paper.customAttributes[t],"function")?s[t]=this.paper.customAttributes[t].def:s[t]=A._availableAttrs[t];return o-1?s:s[n[0]]}if(null==e&&A.is(t,"array")){for(s={},a=0,o=t.length;a<o;a++)s[t[a]]=this.attr(t[a]);return s}var l,h;for(h in null!=e?(l={})[t]=e:null!=t&&A.is(t,"object")&&(l=t),l)p("raphael.attr."+h+"."+this.id,this,l[h]);for(h in this.paper.customAttributes)if(this.paper.customAttributes[L](h)&&l[L](h)&&A.is(this.paper.customAttributes[h],"function")){var u,c=this.paper.customAttributes[h].apply(this,[].concat(l[h]));for(u in this.attrs[h]=l[h],c)c[L](u)&&(l[u]=c[u])}f(this,l)}return this},e.toFront=function(){var t;return this.removed||((t=i(this.node)).parentNode.appendChild(t),(t=this.paper).top!=this&&A._tofront(this,t)),this},e.toBack=function(){var t,e;return this.removed||((e=(t=i(this.node)).parentNode).insertBefore(t,e.firstChild),A._toback(this,this.paper),this.paper),this},e.insertAfter=function(t){var e,r;return!this.removed&&t&&(e=i(this.node),(r=i(t.node||t[t.length-1].node)).nextSibling?r.parentNode.insertBefore(e,r.nextSibling):r.parentNode.appendChild(e),A._insertafter(this,t,this.paper)),this},e.insertBefore=function(t){var e,r;return!this.removed&&t&&(e=i(this.node),(r=i(t.node||t[0].node)).parentNode.insertBefore(e,r),A._insertbefore(this,t,this.paper)),this},e.blur=function(t){var e,r,i=this;return 0!=+t?(e=D("filter"),r=D("feGaussianBlur"),i.attrs.blur=t,e.id=A.createUUID(),D(r,{stdDeviation:+t||1.5}),e.appendChild(r),i.paper.defs.appendChild(e),i._blur=e,D(i.node,{filter:"url(#"+e.id+")"})):(i._blur&&(i._blur.parentNode.removeChild(i._blur),delete i._blur,delete i.attrs.blur),i.node.removeAttribute("filter")),i},A._engine.circle=function(t,e,r,i){var n=D("circle"),t=(t.canvas&&t.canvas.appendChild(n),new o(n,t));return t.attrs={cx:e,cy:r,r:i,fill:"none",stroke:"#000"},t.type="circle",D(n,t.attrs),t},A._engine.rect=function(t,e,r,i,n,s){var a=D("rect"),t=(t.canvas&&t.canvas.appendChild(a),new o(a,t));return t.attrs={x:e,y:r,width:i,height:n,rx:s||0,ry:s||0,fill:"none",stroke:"#000"},t.type="rect",D(a,t.attrs),t},A._engine.ellipse=function(t,e,r,i,n){var s=D("ellipse"),t=(t.canvas&&t.canvas.appendChild(s),new o(s,t));return t.attrs={cx:e,cy:r,rx:i,ry:n,fill:"none",stroke:"#000"},t.type="ellipse",D(s,t.attrs),t},A._engine.image=function(t,e,r,i,n,s){var a=D("image"),a=(D(a,{x:r,y:i,width:n,height:s,preserveAspectRatio:"none"}),a.setAttributeNS(q,"href",e),t.canvas&&t.canvas.appendChild(a),new o(a,t));return a.attrs={x:r,y:i,width:n,height:s,src:e},a.type="image",a},A._engine.text=function(t,e,r,i){var n=D("text"),n=(t.canvas&&t.canvas.appendChild(n),new o(n,t));return n.attrs={x:e,y:r,"text-anchor":"middle",text:i,"font-family":A._availableAttrs["font-family"],"font-size":A._availableAttrs["font-size"],stroke:"none",fill:"#000"},n.type="text",f(n,n.attrs),n},A._engine.setSize=function(t,e){return this.width=t||this.width,this.height=e||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},A._engine.create=function(){var t,e,r,i=A._getContainer.apply(0,arguments),n=i&&i.container,s=i.x,a=i.y,o=i.width,i=i.height;if(n)return t=D("svg"),e="overflow:hidden;",s=s||0,a=a||0,D(t,{height:i=i||342,version:1.1,width:o=o||512,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),1==n?(t.style.cssText=e+"position:absolute;left:"+s+"px;top:"+a+"px",A._g.doc.body.appendChild(t),r=1):(t.style.cssText=e+"position:relative",n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t)),(n=new A._Paper).width=o,n.height=i,n.canvas=t,n.clear(),n._left=n._top=0,r&&(n.renderfix=function(){}),n.renderfix(),n;throw new Error("SVG container not found.")},A._engine.setViewBox=function(t,e,r,i,n){p("raphael.setViewBox",this,this._viewBox,[t,e,r,i,n]);var s,a=this.getSize(),o=F(r/a.width,i/a.height),l=this.top,a=n?"xMidYMid meet":"xMinYMin",h=null==t?(this._vbSize&&(o=1),delete this._vbSize,"0 0 "+this.width+" "+this.height):(this._vbSize=o,t+" "+e+" "+r+" "+i);for(D(this.canvas,{viewBox:h,preserveAspectRatio:a});o&&l;)s="stroke-width"in l.attrs?l.attrs["stroke-width"]:1,l.attr({"stroke-width":s}),l._.dirty=1,l._.dirtyT=1,l=l.prev;return this._viewBox=[t,e,r,i,!!n],this},A.prototype.renderfix=function(){var e=this.canvas,t=e.style;try{r=e.getScreenCTM()||e.createSVGMatrix()}catch(t){r=e.createSVGMatrix()}var e=-r.e%1,r=-r.f%1;(e||r)&&(e&&(this._left=(this._left+e)%1,t.left=this._left+"px"),r)&&(this._top=(this._top+r)%1,t.top=this._top+"px")},A.prototype.clear=function(){A.eve("raphael.clear",this);for(var t=this.canvas;t.firstChild;)t.removeChild(t.firstChild);this.bottom=this.top=null,(this.desc=D("desc")).appendChild(A._g.doc.createTextNode("Created with RaphaĆ«l "+A.version)),t.appendChild(this.desc),t.appendChild(this.defs=D("defs"))},A.prototype.remove=function(){for(var t in p("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[t]="function"==typeof this[t]?A._removedFactory(t):null},A.st);for(t in e)e[L](t)&&!n[L](t)&&(n[t]=function(r){return function(){var e=arguments;return this.forEach(function(t){t[r].apply(t,e)})}}(t))}}.apply(e,r);void 0!==e&&(t.exports=e)},function(t,e,r){r=[r(1)],e=function(g){if(!g||g.vml){function x(t,e,r){var i=g.matrix();return i.rotate(-t,.5,.5),{dx:i.x(e,r),dy:i.y(e,r)}}function y(t,e,r,i,n,s){var a,o=t._,l=t.matrix,h=o.fillpos,t=t.node,u=t.style,c=1,f="",p=F/e,d=F/r;u.visibility="hidden",e&&r&&(t.coordsize=A(p)+M+A(d),u.rotation=s*(e*r<0?-1:1),s&&(i=(a=x(s,i,n)).dx,n=a.dy),e<0&&(f+="x"),r<0&&(f+=" y")&&(c=-1),u.flip=f,t.coordorigin=i*-p+M+n*-d,(h||o.fillsize)&&(f=(f=t.getElementsByTagName(T))&&f[0],t.removeChild(f),h&&(a=x(s,l.x(h[0],h[1]),l.y(h[0],h[1])),f.position=a.dx*c+M+a.dy*c),o.fillsize&&(f.size=o.fillsize[0]*A(e)+M+o.fillsize[1]*A(r)),t.appendChild(f)),u.visibility="visible")}function v(t,e,r){for(var i=_(e).toLowerCase().split("-"),e=r?"end":"start",n=i.length,s="classic",a="medium",o="medium";n--;)switch(i[n]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":s=i[n];break;case"wide":case"narrow":o=i[n];break;case"long":case"short":a=i[n]}r=t.node.getElementsByTagName("stroke")[0];r[e+"arrow"]=s,r[e+"arrowlength"]=a,r[e+"arrowwidth"]=o}function f(t,e){t.attrs=t.attrs||{};var r,i=t.node,n=t.attrs,s=i.style,a=R[t.type]&&(e.x!=n.x||e.y!=n.y||e.width!=n.width||e.height!=n.height||e.cx!=n.cx||e.cy!=n.cy||e.rx!=n.rx||e.ry!=n.ry||e.r!=n.r),o=j[t.type]&&(n.cx!=e.cx||n.cy!=e.cy||n.r!=e.r||n.rx!=e.rx||n.ry!=e.ry),l=t;for(r in e)e[b](r)&&(n[r]=e[r]);if(a&&(n.path=g._getPath[t.type](t),t._.dirty=1),e.href&&(i.href=e.href),e.title&&(i.title=e.title),e.target&&(i.target=e.target),e.cursor&&(s.cursor=e.cursor),"blur"in e&&t.blur(e.blur),(e.path&&"path"==t.type||a)&&(i.path=function(t){var e=/[ahqstv]/gi,r=g._pathToAbsolute;if(_(t).match(e)&&(r=g._path2curve),e=/[clmz]/g,r==g._pathToAbsolute&&!_(t).match(e))return a=_(t).replace(z,function(t,e,r){var i=[],n="m"==e.toLowerCase(),s=L[e];return r.replace(P,function(t){n&&2==i.length&&(s+=i+L["m"==e?"l":"L"],i=[]),i.push(B(t*F))}),s+i});for(var i,n,s=r(t),a=[],o=0,l=s.length;o<l;o++){i=s[o],"z"==(n=s[o][0].toLowerCase())&&(n="x");for(var h=1,u=i.length;h<u;h++)n+=B(i[h]*F)+(h!=u-1?",":N);a.push(n)}return a.join(M)}(~_(n.path).toLowerCase().indexOf("r")?g._pathToAbsolute(n.path):n.path),t._.dirty=1,"image"==t.type)&&(t._.fillpos=[n.x,n.y],t._.fillsize=[n.width,n.height],y(t,1,1,0,0,0)),"transform"in e&&t.transform(e.transform),o&&(a=+n.cx,o=+n.cy,h=+n.rx||+n.r||0,c=+n.ry||+n.r||0,i.path=g.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",B((a-h)*F),B((o-c)*F),B((a+h)*F),B((o+c)*F),B(a*F)),t._.dirty=1),"clip-rect"in e&&(4==(h=_(e["clip-rect"]).split(E)).length&&(h[2]=+h[2]+ +h[0],h[3]=+h[3]+ +h[1],(c=(o=i.clipRect||g._g.doc.createElement("div")).style).clip=g.format("rect({1}px {2}px {3}px {0}px)",h),i.clipRect||(c.position="absolute",c.top=0,c.left=0,c.width=t.paper.width+"px",c.height=t.paper.height+"px",i.parentNode.insertBefore(o,i),o.appendChild(i),i.clipRect=o)),e["clip-rect"]||i.clipRect&&(i.clipRect.style.clip="auto")),t.textpath&&(a=t.textpath.style,e.font&&(a.font=e.font),e["font-family"]&&(a.fontFamily='"'+e["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,N)+'"'),e["font-size"]&&(a.fontSize=e["font-size"]),e["font-weight"]&&(a.fontWeight=e["font-weight"]),e["font-style"])&&(a.fontStyle=e["font-style"]),"arrow-start"in e&&v(l,e["arrow-start"]),"arrow-end"in e&&v(l,e["arrow-end"],1),null==e.opacity&&null==e.fill&&null==e.src&&null==e.stroke&&null==e["stroke-width"]&&null==e["stroke-opacity"]&&null==e["fill-opacity"]&&null==e["stroke-dasharray"]&&null==e["stroke-miterlimit"]&&null==e["stroke-linejoin"]&&null==e["stroke-linecap"]||((h=(h=i.getElementsByTagName(T))&&h[0])||(h=m(T)),"image"==t.type&&e.src&&(h.src=e.src),e.fill&&(h.on=!0),null!=h.on&&"none"!=e.fill&&null!==e.fill||(h.on=!1),h.on&&e.fill&&((c=_(e.fill).match(g._ISURL))?(h.parentNode==i&&i.removeChild(h),h.rotate=!0,h.src=c[1],h.type="tile",o=t.getBBox(1),h.position=o.x+M+o.y,t._.fillpos=[o.x,o.y],g._preload(c[1],function(){t._.fillsize=[this.offsetWidth,this.offsetHeight]})):(h.color=g.getRGB(e.fill).hex,h.src=N,h.type="solid",g.getRGB(e.fill).error&&(l.type in{circle:1,ellipse:1}||"r"!=_(e.fill).charAt())&&function(t,e,r){t.attrs=t.attrs||{};var i=t.attrs,n=Math.pow,s,a,o="linear",l=".5 .5";if(t.attrs.gradient=e,e=(e=_(e).replace(g._radial_gradient,function(t,e,r){return o="radial",e&&r&&(e=w(e),r=w(r),n(e-.5,2)+n(r-.5,2)>.25&&(r=k.sqrt(.25-n(e-.5,2))*(2*(r>.5)-1)+.5),l=e+M+r),N})).split(/\s*\-\s*/),"linear"==o){var h=e.shift();if(h=-w(h),isNaN(h))return null}var u=g._parseDots(e);if(!u)return null;if(t=t.shape||t.node,u.length){t.removeChild(r),r.on=!0,r.method="none",r.color=u[0].color,r.color2=u[u.length-1].color;for(var c=[],f=0,p=u.length;f<p;f++)u[f].offset&&c.push(u[f].offset+M+u[f].color);r.colors=c.length?c.join():"0% "+r.color,"radial"==o?(r.type="gradientTitle",r.focus="100%",r.focussize="0 0",r.focusposition=l,r.angle=0):(r.type="gradient",r.angle=(270-h)%360),t.appendChild(r)}return 1}(l,e.fill,h)&&(n.fill="none",n.gradient=e.fill,h.rotate=!1))),("fill-opacity"in e||"opacity"in e)&&(u=((+n["fill-opacity"]+1||2)-1)*((+n.opacity+1||2)-1)*((+g.getRGB(e.fill).o+1||2)-1),u=S(C(u,0),1),h.opacity=u,h.src)&&(h.color="none"),i.appendChild(h),a=!1,(o=i.getElementsByTagName("stroke")&&i.getElementsByTagName("stroke")[0])||(a=o=m("stroke")),(e.stroke&&"none"!=e.stroke||e["stroke-width"]||null!=e["stroke-opacity"]||e["stroke-dasharray"]||e["stroke-miterlimit"]||e["stroke-linejoin"]||e["stroke-linecap"])&&(o.on=!0),"none"!=e.stroke&&null!==e.stroke&&null!=o.on&&0!=e.stroke&&0!=e["stroke-width"]||(o.on=!1),c=g.getRGB(e.stroke),o.on&&e.stroke&&(o.color=c.hex),u=((+n["stroke-opacity"]+1||2)-1)*((+n.opacity+1||2)-1)*((+c.o+1||2)-1),h=.75*(w(e["stroke-width"])||1),u=S(C(u,0),1),null==e["stroke-width"]&&(h=n["stroke-width"]),e["stroke-width"]&&(o.weight=h),h&&h<1&&(u*=h)&&(o.weight=1),o.opacity=u,e["stroke-linejoin"]&&(o.joinstyle=e["stroke-linejoin"]||"miter"),o.miterlimit=e["stroke-miterlimit"]||8,e["stroke-linecap"]&&(o.endcap="butt"==e["stroke-linecap"]?"flat":"square"==e["stroke-linecap"]?"square":"round"),"stroke-dasharray"in e&&(o.dashstyle=(c={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"})[b](e["stroke-dasharray"])?c[e["stroke-dasharray"]]:N),a&&i.appendChild(o)),"text"==l.type){l.paper.canvas.style.display=N;var h=l.paper.span,u=n.font&&n.font.match(/\d+(?:\.\d*)?(?=px)/),s=h.style,c=(n.font&&(s.font=n.font),n["font-family"]&&(s.fontFamily=n["font-family"]),n["font-weight"]&&(s.fontWeight=n["font-weight"]),n["font-style"]&&(s.fontStyle=n["font-style"]),u=w(n["font-size"]||u&&u[0])||10,s.fontSize=100*u+"px",l.textpath.string&&(h.innerHTML=_(l.textpath.string).replace(/</g,"<").replace(/&/g,"&").replace(/\n/g,"<br>")),h.getBoundingClientRect());l.W=n.w=(c.right-c.left)/100,l.H=n.h=(c.bottom-c.top)/100,l.X=n.x,l.Y=n.y+l.H/2,("x"in e||"y"in e)&&(l.path.v=g.format("m{0},{1}l{2},{1}",B(n.x*F),B(n.y*F),B(n.x*F)+1));for(var f=["x","y","text","font","font-family","font-weight","font-style","font-size"],p=0,d=f.length;p<d;p++)if(f[p]in e){l._.dirty=1;break}switch(n["text-anchor"]){case"start":l.textpath.style["v-text-align"]="left",l.bbx=l.W/2;break;case"end":l.textpath.style["v-text-align"]="right",l.bbx=-l.W/2;break;default:l.textpath.style["v-text-align"]="center",l.bbx=0}l.textpath.style["v-text-kern"]=!0}}function h(t,e){(this[0]=this.node=t).raphael=!0,this.id=g._oid++,t.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=e,this.matrix=g.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},e.bottom||(e.bottom=this),this.prev=e.top,e.top&&(e.top.next=this),(e.top=this).next=null}var m,t,b="hasOwnProperty",_=String,w=parseFloat,k=Math,B=k.round,C=k.max,S=k.min,A=k.abs,T="fill",E=/[, ]+/,p=g.eve,M=" ",N="",L={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},z=/([clmz]),?([^clmz]*)/gi,i=/ progid:\S+Blur\([^\)]+\)/g,P=/-?[^,\s-]+/g,u="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",F=21600,R={path:1,rect:1,image:1},j={circle:1,ellipse:1},e=(g.toString=function(){return"Your browser doesnāt support SVG. Falling down to VML.\nYou are running RaphaĆ«l "+this.version},g.el),r=((h.prototype=e).constructor=h,e.transform=function(t){var e,r,i,n,s,a,o;return null==t?this._.transform:(i=(r=this.paper._viewBoxShift)?"s"+[r.scale,r.scale]+"-1-1t"+[r.dx,r.dy]:N,r&&(e=t=_(t).replace(/\.{3}|\u2026/g,this._.transform||N)),g._extractTransform(this,i+t),r=this.matrix.clone(),i=this.skew,t=this.node,o=~_(this.attrs.fill).indexOf("-"),n=!_(this.attrs.fill).indexOf("url("),r.translate(1,1),n||o||"image"==this.type?(i.matrix="1 0 0 1",i.offset="0 0",n=r.split(),o&&n.noRotation||!n.isSimple?(t.style.filter=r.toFilter(),o=this.getBBox(),s=this.getBBox(1),a=o.x-s.x,o=o.y-s.y,t.coordorigin=a*-F+M+o*-F,y(this,1,1,a,o,0)):(t.style.filter=N,y(this,n.scalex,n.scaley,n.dx,n.dy,n.rotate))):(t.style.filter=N,i.matrix=_(r),i.offset=r.offset()),null!==e&&(this._.transform=e,g._extractTransform(this,e)),this)},e.rotate=function(t,e,r){var i;return this.removed?this:null!=t?((t=_(t).split(E)).length-1&&(e=w(t[1]),r=w(t[2])),t=w(t[0]),null!=(e=null==r?r:e)&&null!=r||(e=(i=this.getBBox(1)).x+i.width/2,r=i.y+i.height/2),this._.dirtyT=1,this.transform(this._.transform.concat([["r",t,e,r]])),this):void 0},e.translate=function(t,e){return this.removed||((t=_(t).split(E)).length-1&&(e=w(t[1])),t=w(t[0])||0,e=+e||0,this._.bbox&&(this._.bbox.x+=t,this._.bbox.y+=e),this.transform(this._.transform.concat([["t",t,e]]))),this},e.scale=function(t,e,r,i){var n;return this.removed||((t=_(t).split(E)).length-1&&(e=w(t[1]),r=w(t[2]),i=w(t[3]),isNaN(r)&&(r=null),isNaN(i))&&(i=null),t=w(t[0]),null==e&&(e=t),null!=(r=null==i?i:r)&&null!=i||(n=this.getBBox(1)),r=null==r?n.x+n.width/2:r,i=null==i?n.y+n.height/2:i,this.transform(this._.transform.concat([["s",t,e,r,i]])),this._.dirtyT=1),this},e.hide=function(){return this.removed||(this.node.style.display="none"),this},e.show=function(){return this.removed||(this.node.style.display=N),this},e.auxGetBBox=g.el.getBBox,e.getBBox=function(){var t,e,r=this.auxGetBBox();return this.paper&&this.paper._viewBoxShift?(e=1/this.paper._viewBoxShift.scale,(t={}).x=r.x-this.paper._viewBoxShift.dx,t.x*=e,t.y=r.y-this.paper._viewBoxShift.dy,t.y*=e,t.width=r.width*e,t.height=r.height*e,t.x2=t.x+t.width,t.y2=t.y+t.height,t):r},e._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},e.remove=function(){if(!this.removed&&this.node.parentNode){for(var t in this.paper.__set__&&this.paper.__set__.exclude(this),g.eve.unbind("raphael.*.*."+this.id),g._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape),this)this[t]="function"==typeof this[t]?g._removedFactory(t):null;this.removed=!0}},e.attr=function(t,e){if(!this.removed){if(null==t){var r,i={};for(r in this.attrs)this.attrs[b](r)&&(i[r]=this.attrs[r]);return i.gradient&&"none"==i.fill&&(i.fill=i.gradient)&&delete i.gradient,i.transform=this._.transform,i}if(null==e&&g.is(t,"string")){if(t==T&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var n=t.split(E),s={},a=0,o=n.length;a<o;a++)(t=n[a])in this.attrs?s[t]=this.attrs[t]:g.is(this.paper.customAttributes[t],"function")?s[t]=this.paper.customAttributes[t].def:s[t]=g._availableAttrs[t];return o-1?s:s[n[0]]}if(this.attrs&&null==e&&g.is(t,"array")){for(s={},a=0,o=t.length;a<o;a++)s[t[a]]=this.attr(t[a]);return s}var l,h;for(h in null!=e&&((l={})[t]=e),l=null==e&&g.is(t,"object")?t:l)p("raphael.attr."+h+"."+this.id,this,l[h]);if(l){for(h in this.paper.customAttributes)if(this.paper.customAttributes[b](h)&&l[b](h)&&g.is(this.paper.customAttributes[h],"function")){var u,c=this.paper.customAttributes[h].apply(this,[].concat(l[h]));for(u in this.attrs[h]=l[h],c)c[b](u)&&(l[u]=c[u])}l.text&&"text"==this.type&&(this.textpath.string=l.text),f(this,l)}}return this},e.toFront=function(){return this.removed||this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&g._tofront(this,this.paper),this},e.toBack=function(){return this.removed||this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),g._toback(this,this.paper)),this},e.insertAfter=function(t){return this.removed||((t=t.constructor==g.st.constructor?t[t.length-1]:t).node.nextSibling?t.node.parentNode.insertBefore(this.node,t.node.nextSibling):t.node.parentNode.appendChild(this.node),g._insertafter(this,t,this.paper)),this},e.insertBefore=function(t){return this.removed||((t=t.constructor==g.st.constructor?t[0]:t).node.parentNode.insertBefore(this.node,t.node),g._insertbefore(this,t,this.paper)),this},e.blur=function(t){var e=this.node.runtimeStyle,r=(r=e.filter).replace(i,N);return 0!=+t?(this.attrs.blur=t,e.filter=r+M+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+t||1.5)+")",e.margin=g.format("-{0}px 0 0 -{0}px",B(+t||1.5))):(e.filter=r,e.margin=0,delete this.attrs.blur),this},g._engine.path=function(t,e){var r=m("shape"),i=(r.style.cssText=u,r.coordsize=F+M+F,r.coordorigin=e.coordorigin,new h(r,e)),n={fill:"none",stroke:"#000"},t=(t&&(n.path=t),i.type="path",i.path=[],i.Path=N,f(i,n),e.canvas&&e.canvas.appendChild(r),m("skew"));return t.on=!0,r.appendChild(t),i.skew=t,i.transform(N),i},g._engine.rect=function(t,e,r,i,n,s){var a=g._rectPath(e,r,i,n,s),t=t.path(a),o=t.attrs;return t.X=o.x=e,t.Y=o.y=r,t.W=o.width=i,t.H=o.height=n,o.r=s,o.path=a,t.type="rect",t},g._engine.ellipse=function(t,e,r,i,n){t=t.path();t.attrs;return t.X=e-i,t.Y=r-n,t.W=2*i,t.H=2*n,t.type="ellipse",f(t,{cx:e,cy:r,rx:i,ry:n}),t},g._engine.circle=function(t,e,r,i){t=t.path();t.attrs;return t.X=e-i,t.Y=r-i,t.W=t.H=2*i,t.type="circle",f(t,{cx:e,cy:r,r:i}),t},g._engine.image=function(t,e,r,i,n,s){var a=g._rectPath(r,i,n,s),t=t.path(a).attr({stroke:"none"}),o=t.attrs,l=t.node,h=l.getElementsByTagName(T)[0];return o.src=e,t.X=o.x=r,t.Y=o.y=i,t.W=o.width=n,t.H=o.height=s,o.path=a,t.type="image",h.parentNode==l&&l.removeChild(h),h.rotate=!0,h.src=e,h.type="tile",t._.fillpos=[r,i],t._.fillsize=[n,s],l.appendChild(h),y(t,1,1,0,0,0),t},g._engine.text=function(t,e,r,i){var n=m("shape"),s=m("path"),a=m("textpath"),o=(r=r||0,i=i||"",s.v=g.format("m{0},{1}l{2},{1}",B((e=e||0)*F),B(r*F),B(e*F)+1),s.textpathok=!0,a.string=_(i),a.on=!0,n.style.cssText=u,n.coordsize=F+M+F,n.coordorigin="0 0",new h(n,t)),l={fill:"#000",stroke:"none",font:g._availableAttrs.font,text:i},i=(o.shape=n,o.path=s,o.textpath=a,o.type="text",o.attrs.text=_(i),o.attrs.x=e,o.attrs.y=r,o.attrs.w=1,o.attrs.h=1,f(o,l),n.appendChild(a),n.appendChild(s),t.canvas.appendChild(n),m("skew"));return i.on=!0,n.appendChild(i),o.skew=i,o.transform(N),o},g._engine.setSize=function(t,e){var r=this.canvas.style;return(this.width=t)==+t&&(t+="px"),(this.height=e)==+e&&(e+="px"),r.width=t,r.height=e,r.clip="rect(0 "+t+" "+e+" 0)",this._viewBox&&g._engine.setViewBox.apply(this,this._viewBox),this},g._engine.setViewBox=function(t,e,r,i,n){g.eve("raphael.setViewBox",this,this._viewBox,[t,e,r,i,n]);var s,a=this.getSize(),o=a.width,l=a.height;return n&&(r*(s=l/i)<o&&(t-=(o-r*s)/2/s),i*(s=o/r)<l)&&(e-=(l-i*s)/2/s),this._viewBox=[t,e,r,i,!!n],this._viewBoxShift={dx:-t,dy:-e,scale:a},this.forEach(function(t){t.transform("...")}),this},g._engine.initWin=function(t){var e=t.document;(e.styleSheets.length<31?e.createStyleSheet():e.styleSheets[0]).addRule(".rvml","behavior:url(#default#VML)");try{e.namespaces.rvml||e.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),m=function(t){return e.createElement("<rvml:"+t+' class="rvml">')}}catch(t){m=function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},g._engine.initWin(g._g.win),g._engine.create=function(){var t,e,r,i=g._getContainer.apply(0,arguments),n=i.container,s=i.height,a=i.width,o=i.x,i=i.y;if(n)return r=(e=(t=new g._Paper).canvas=g._g.doc.createElement("div")).style,o=o||0,i=i||0,s=s||342,(t.width=a=a||512)==+a&&(a+="px"),(t.height=s)==+s&&(s+="px"),t.coordsize=1e3*F+M+1e3*F,t.coordorigin="0 0",t.span=g._g.doc.createElement("span"),t.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",e.appendChild(t.span),r.cssText=g.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",a,s),1==n?(g._g.doc.body.appendChild(e),r.left=o+"px",r.top=i+"px",r.position="absolute"):n.firstChild?n.insertBefore(e,n.firstChild):n.appendChild(e),t.renderfix=function(){},t;throw new Error("VML container not found.")},g.prototype.clear=function(){g.eve("raphael.clear",this),this.canvas.innerHTML=N,this.span=g._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},g.prototype.remove=function(){for(var t in g.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[t]="function"==typeof this[t]?g._removedFactory(t):null;return!0},g.st);for(t in e)e[b](t)&&!r[b](t)&&(r[t]=function(r){return function(){var e=arguments;return this.forEach(function(t){t[r].apply(t,e)})}}(t))}}.apply(e,r);void 0!==e&&(t.exports=e)}],n={},r.m=i,r.c=n,r.p="",r(0);function r(t){var e;return(n[t]||(e=n[t]={exports:{},id:t,loaded:!1},i[t].call(e.exports,e,e.exports,r),e.loaded=!0,e)).exports}var i,n});
var _timer,stIsIE=!1;function dean_addEvent(t,e,r){var o;t.addEventListener?t.addEventListener(e,r,!1):(r.$$guid||(r.$$guid=dean_addEvent.guid++),t.events||(t.events={}),(o=t.events[e])||(o=t.events[e]={},t["on"+e]&&(o[0]=t["on"+e])),o[r.$$guid]=r,t["on"+e]=handleEvent)}function removeEvent(t,e,r){t.removeEventListener?t.removeEventListener(e,r,!1):t.events&&t.events[e]&&delete t.events[e][r.$$guid]}function handleEvent(t){var e,r=!0,o=(t=t||fixEvent(((this.ownerDocument||this.document||this).parentWindow||window).event),this.events[t.type]);for(e in o)this.$$handleEvent=o[e],!1===this.$$handleEvent(t)&&(r=!1);return r}function fixEvent(t){return t.preventDefault=fixEvent.preventDefault,t.stopPropagation=fixEvent.stopPropagation,t}sorttable={init:function(){arguments.callee.done||(arguments.callee.done=!0,_timer&&clearInterval(_timer),document.createElement&&document.getElementsByTagName&&(sorttable.DATE_RE=/^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/,forEach(document.getElementsByTagName("table"),function(t){-1!=t.className.search(/\bsortable\b/)&&sorttable.makeSortable(t)})))},makeSortable:function(t){if(0==t.getElementsByTagName("thead").length&&((the=document.createElement("thead")).appendChild(t.rows[0]),t.insertBefore(the,t.firstChild)),null==t.tHead&&(t.tHead=t.getElementsByTagName("thead")[0]),1==t.tHead.rows.length){sortbottomrows=[];for(var e=0;e<t.rows.length;e++)-1!=t.rows[e].className.search(/\bsortbottom\b/)&&(sortbottomrows[sortbottomrows.length]=t.rows[e]);if(sortbottomrows){null==t.tFoot&&(tfo=document.createElement("tfoot"),t.appendChild(tfo));for(e=0;e<sortbottomrows.length;e++)tfo.appendChild(sortbottomrows[e]);delete sortbottomrows}headrow=t.tHead.rows[0].cells;for(e=0;e<headrow.length;e++)headrow[e].className.match(/\bsorttable_nosort\b/)||((mtch=headrow[e].className.match(/\bsorttable_([a-z0-9]+)\b/))&&(override=mtch[1]),mtch&&"function"==typeof sorttable["sort_"+override]?headrow[e].sorttable_sortfunction=sorttable["sort_"+override]:headrow[e].sorttable_sortfunction=sorttable.guessType(t,e),headrow[e].sorttable_columnindex=e,headrow[e].sorttable_tbody=t.tBodies[0],dean_addEvent(headrow[e],"click",sorttable.innerSortFunction=function(t){if(-1!=this.className.search(/\bsorttable_sorted\b/))sorttable.reverse(this.sorttable_tbody),this.className=this.className.replace("sorttable_sorted","sorttable_sorted_reverse"),this.removeChild(document.getElementById("sorttable_sortfwdind")),(sortrevind=document.createElement("span")).id="sorttable_sortrevind",sortrevind.innerHTML=stIsIE?' <font face="webdings">5</font>':" ▴",this.appendChild(sortrevind);else if(-1!=this.className.search(/\bsorttable_sorted_reverse\b/))sorttable.reverse(this.sorttable_tbody),this.className=this.className.replace("sorttable_sorted_reverse","sorttable_sorted"),this.removeChild(document.getElementById("sorttable_sortrevind")),(sortfwdind=document.createElement("span")).id="sorttable_sortfwdind",sortfwdind.innerHTML=stIsIE?' <font face="webdings">6</font>':" ▾",this.appendChild(sortfwdind);else{theadrow=this.parentNode,forEach(theadrow.childNodes,function(t){1==t.nodeType&&(t.className=t.className.replace("sorttable_sorted_reverse",""),t.className=t.className.replace("sorttable_sorted",""))}),(sortfwdind=document.getElementById("sorttable_sortfwdind"))&&sortfwdind.parentNode.removeChild(sortfwdind),(sortrevind=document.getElementById("sorttable_sortrevind"))&&sortrevind.parentNode.removeChild(sortrevind),this.className+=" sorttable_sorted",(sortfwdind=document.createElement("span")).id="sorttable_sortfwdind",sortfwdind.innerHTML=stIsIE?' <font face="webdings">6</font>':" ▾",this.appendChild(sortfwdind),row_array=[],col=this.sorttable_columnindex,rows=this.sorttable_tbody.rows;for(var e=0;e<rows.length;e++)row_array[row_array.length]=[sorttable.getInnerText(rows[e].cells[col]),rows[e]];row_array.sort(this.sorttable_sortfunction),tb=this.sorttable_tbody;for(e=0;e<row_array.length;e++)tb.appendChild(row_array[e][1]);delete row_array}}))}},guessType:function(t,e){sortfn=sorttable.sort_alpha;for(var r=0;r<t.tBodies[0].rows.length;r++)if(""!=(text=sorttable.getInnerText(t.tBodies[0].rows[r].cells[e]))){if(text.match(/^-?[ļæ½$ļæ½]?[\d,.]+%?$/))return sorttable.sort_numeric;if(possdate=text.match(sorttable.DATE_RE)){if(first=parseInt(possdate[1]),second=parseInt(possdate[2]),12<first)return sorttable.sort_ddmm;if(12<second)return sorttable.sort_mmdd;sortfn=sorttable.sort_ddmm}}return sortfn},getInnerText:function(t){if(!t)return"";if(hasInputs="function"==typeof t.getElementsByTagName&&t.getElementsByTagName("input").length,null!=t.getAttribute("sorttable_customkey"))return t.getAttribute("sorttable_customkey");if(void 0!==t.textContent&&!hasInputs)return t.textContent.replace(/^\s+|\s+$/g,"");if(void 0!==t.innerText&&!hasInputs)return t.innerText.replace(/^\s+|\s+$/g,"");if(void 0!==t.text&&!hasInputs)return t.text.replace(/^\s+|\s+$/g,"");switch(t.nodeType){case 3:if("input"==t.nodeName.toLowerCase())return t.value.replace(/^\s+|\s+$/g,"");case 4:return t.nodeValue.replace(/^\s+|\s+$/g,"");case 1:case 11:for(var e="",r=0;r<t.childNodes.length;r++)e+=sorttable.getInnerText(t.childNodes[r]);return e.replace(/^\s+|\s+$/g,"");default:return""}},reverse:function(t){newrows=[];for(var e=0;e<t.rows.length;e++)newrows[newrows.length]=t.rows[e];for(e=newrows.length-1;0<=e;e--)t.appendChild(newrows[e]);delete newrows},sort_numeric:function(t,e){return aa=parseFloat(t[0].replace(/[^0-9.-]/g,"")),isNaN(aa)&&(aa=0),bb=parseFloat(e[0].replace(/[^0-9.-]/g,"")),isNaN(bb)&&(bb=0),aa-bb},sort_alpha:function(t,e){return t[0]==e[0]?0:t[0]<e[0]?-1:1},sort_ddmm:function(t,e){return mtch=t[0].match(sorttable.DATE_RE),y=mtch[3],m=mtch[2],d=mtch[1],1==m.length&&(m="0"+m),1==d.length&&(d="0"+d),dt1=y+m+d,mtch=e[0].match(sorttable.DATE_RE),y=mtch[3],m=mtch[2],d=mtch[1],1==m.length&&(m="0"+m),1==d.length&&(d="0"+d),dt2=y+m+d,dt1==dt2?0:dt1<dt2?-1:1},sort_mmdd:function(t,e){return mtch=t[0].match(sorttable.DATE_RE),y=mtch[3],d=mtch[2],1==(m=mtch[1]).length&&(m="0"+m),1==d.length&&(d="0"+d),dt1=y+m+d,mtch=e[0].match(sorttable.DATE_RE),y=mtch[3],d=mtch[2],1==(m=mtch[1]).length&&(m="0"+m),1==d.length&&(d="0"+d),dt2=y+m+d,dt1==dt2?0:dt1<dt2?-1:1},shaker_sort:function(t,e){for(var r=0,o=t.length-1,n=!0;n;){for(var n=!1,s=r;s<o;++s)0<e(t[s],t[s+1])&&(a=t[s],t[s]=t[s+1],t[s+1]=a,n=!0);if(o--,!n)break;for(var a,s=o;r<s;--s)e(t[s],t[s-1])<0&&(a=t[s],t[s]=t[s-1],t[s-1]=a,n=!0);r++}}},document.addEventListener&&document.addEventListener("DOMContentLoaded",sorttable.init,!1),/WebKit/i.test(navigator.userAgent)&&(_timer=setInterval(function(){/loaded|complete/.test(document.readyState)&&sorttable.init()},10)),window.onload=sorttable.init,dean_addEvent.guid=1,fixEvent.preventDefault=function(){this.returnValue=!1},fixEvent.stopPropagation=function(){this.cancelBubble=!0},Array.forEach||(Array.forEach=function(t,e,r){for(var o=0;o<t.length;o++)e.call(r,t[o],o,t)}),Function.prototype.forEach=function(t,e,r){for(var o in t)void 0===this.prototype[o]&&e.call(r,t[o],o,t)},String.forEach=function(r,o,n){Array.forEach(r.split(""),function(t,e){o.call(n,t,e,r)})};var forEach=function(t,e,r){if(t){var o=Object;if(t instanceof Function)o=Function;else{if(t.forEach instanceof Function)return void t.forEach(e,r);"string"==typeof t?o=String:"number"==typeof t.length&&(o=Array)}o.forEach(t,e,r)}};
!function o(r,a,i){function c(e,t){if(!a[e]){if(!r[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(s)return s(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}n=a[e]={exports:{}},r[e][0].call(n.exports,function(t){return c(r[e][1][t]||t)},n,n.exports,o,r,a,i)}return a[e].exports}for(var s="function"==typeof require&&require,t=0;t<i.length;t++)c(i[t]);return c}({1:[function(t,e,n){"use strict";var t=t("./wobserver"),o=window.location.host+window.location.pathname;o.endsWith("/")&&(o=o.substr(0,o.length-1)),new t.Wobserver(o)},{"./wobserver":8}],2:[function(t,e,n){"use strict";function o(t){return{HTMLclass:t.meta.class,text:{name:t.name.replace(/^Elixir\./,""),title:t.pid},meta:{process:t},children:t.children.map(o)}}Object.defineProperty(n,"__esModule",{value:!0}),n.ApplicationGraph=void 0,n.ApplicationGraph={show:function(t,e){t=o(t),new Treant({chart:{container:"#"+e,rootOrientation:"WEST",levelSeparation:30,siblingSeparation:15,subTeeSeparation:25,node:{HTMLclass:"process-node",drawLineThrough:!1},connectors:{type:"straight",style:{"stroke-width":2,stroke:"#ccc"}}},nodeStructure:t})}}},{}],3:[function(t,e,n){"use strict";function a(t){return(a="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 o(t,e){for(var n,o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(n=function(t,e){if("object"!==a(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return String(t);if("object"!==a(n=n.call(t,e)))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(r.key,"string"),"symbol"===a(n)?n:String(n)),r)}}Object.defineProperty(n,"__esModule",{value:!0}),n.WobserverChart=void 0;var r,i=100;function c(t,e,n){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");var o,r;this.chart=(t=t,e=e,n=n,o=this,(t=document.getElementById(t)).className="wobserver-chart",r=document.createElement("canvas"),t.appendChild(r),r=r.getContext("2d"),e={labels:Array(i).fill(""),datasets:e.map(function(t){var e="rgba("+t.r+", "+t.g+", "+t.b;return{label:t.label,type:"line",fillColor:e+", 0.1)",strokeColor:e+", 0.8)",pointColor:e+", 0)",pointStrokeColor:e+", 0)",multiTooltipTemplate:t.label+" - <%= value %>",data:Array(i).fill(0)}})},n={responsive:!0,maintainAspectRatio:!1,animationSteps:1,scaleLabel:"<%=value%> "+n,multiTooltipTemplate:"<%=value%> "+n,scales:{xAxes:[{type:"time",time:{displayFormats:{millisecond:"MMM DD",second:"MMM DD",minute:"MMM DD",hour:"MMM DD",day:"MMM DD",week:"MMM DD",month:"MMM DD",quarter:"MMM DD",year:"MMM DD"}}}]},legendTemplate:'<ul><% for (var i=0; i<datasets.length; i++) { %><li><span style="background-color:<%= datasets[i].strokeColor %>"></span><% if (datasets[i].label) { %><%= datasets[i].label %><% } %></li><% } %></ul>'},r=new Chart(r).Line(e,n),(e=document.createElement("div")).className="chart-legend",e.innerHTML=r.generateLegend(),t.append(e),t.chart=o,r),this.last_timestamp=""}o((r=c).prototype,[{key:"update",value:function(t){this.chart.addData(t,function(t,e){var n;return Math.floor((1<arguments.length&&void 0!==e?e:"")/5)==Math.floor(t/5)?" ":((t=(e=new Date(1e3*t)).getMinutes())<10&&(t="0"+t),(n=e.getSeconds())<10&&(n="0"+n),e.getHours()+":"+t+":"+n)}(t.timestamp,this.last_timestamp)),this.chart.removeData(),this.last_timestamp=t.timestamp}}]),Object.defineProperty(r,"prototype",{writable:!1}),n.WobserverChart=c},{}],4:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.NodeDialog=void 0;var o,i=t("./popup.js");function a(t){return(a="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 r(t,e){for(var n,o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(n=function(t){if("object"!==a(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!==a(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(r.key),"symbol"===a(n)?n:String(n)),r)}}function c(t){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");this.wobserver=t}r((o=c).prototype,[{key:"show",value:function(){var a=this;this.wobserver.client.command_promise("nodes").then(function(t){var t=t.data,r=(i.Popup.show('\n <div id="node_selection">\n <span>Select node:</span>\n <ul id="node_options">\n </ul>\n </div>\n '),document.getElementById("node_options"));t.forEach(function(t){var e=document.createElement("li"),n=a.wobserver.client.node==t.name,o=(e.className=n?"node selected":"node",t["local?"]?" (local)":"");e.innerHTML="<span>".concat(t.name).concat(o,"</span><detail>").concat(t.host,":").concat(t.port,"</detail>"),n?e.addEventListener("click",function(){return a.hide()}):e.addEventListener("click",function(){a.wobserver.client.set_node(t.name),a.hide()}),r.appendChild(e)})})}},{key:"hide",value:function(){i.Popup.hide()}}]),Object.defineProperty(o,"prototype",{writable:!1}),n.NodeDialog=t=c},{"./popup.js":5}],5:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Popup=void 0;var o=null;function r(){return o||((o=document.createElement("div")).id="popup-overlay",o.style.display="none",o.addEventListener("click",function(t){"popup-overlay"==t.target.id&&a.hide()}),document.body.appendChild(o)),o}var a={show:function(t){var e=r();e.innerHTML=t,e.style.display="flex"},hide:function(){r().style.display="none"}};n.Popup=a},{}],6:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ProcessDetail=void 0;var o,r=t("./popup.js");function a(t){return(a="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){for(var n,o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(n=function(t){if("object"!==a(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!==a(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(r.key),"symbol"===a(n)?n:String(n)),r)}}function c(t){return t.startsWith("#Port")?t:"<li><a href=\"javascript:window.show_process('".concat(t,"')\">").concat(t.replace(/^Elixir\./,""),"</a></li>")}function s(t,e){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");this.process=t,this.wobserver=e}i((o=s).prototype,[{key:"show",value:function(){this.wobserver.client.command_promise("process/"+this.process).then(function(t){var e,n,o;"error"==(t=t.data)?r.Popup.show('\n <div id="process_information">\n <span>Process information:</span>\n <p>Process is either dead or protected and therefore can not be shown.</p>\n </div>\n '):(e=t.relations.links.map(c).join(""),n=t.relations.ancestors.map(c).join(""),o=t.state.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),r.Popup.show('\n <div id="process_information">\n <span>Process information:</span>\n <table>\n <caption>Overview</caption>\n <tr><th>Process id:</th><td>'.concat(t.pid,"</td></tr>\n <tr><th>Registered name:</th><td>").concat(t.registered_name,"</td></tr>\n <tr><th>Status:</th><td>").concat(t.meta.status,"</td></tr>\n <tr><th>Message Queue Length:</th><td>").concat(t.message_queue_len,"</td></tr>\n <tr><th>Group Leader:</th><td><a href=\"javascript:window.show_process('").concat(t.relations.group_leader,"')\">").concat(t.relations.group_leader,"</a></td></tr>\n </table>\n <table>\n <caption>Memory</caption>\n <tr><th>Total:</th><td>").concat(t.memory.total,"</td></tr>\n <tr><th>Heap Size:</th><td>").concat(t.memory.heap_size,"</td></tr>\n <tr><th>Stack Size:</th><td>").concat(t.memory.stack_size,"</td></tr>\n <tr><th>GC Min Heap Size:</th><td>").concat(t.memory.gc_min_heap_size,"</td></tr>\n <tr><th>GC FullSweep After:</th><td>").concat(t.memory.gc_full_sweep_after,'</td></tr>\n </table>\n <div id="process_relations">\n <div>\n <span>Links</span>\n <ul>\n ').concat(e,"\n </ul>\n </div>\n <div>\n <span>Ancestors</span>\n <ul>\n ").concat(n,"\n </ul>\n </div>\n <div>\n <span>Monitors</span>\n <ul>\n ").concat("","\n </ul>\n </div>\n </div>\n <span>State</span>\n <pre>").concat(o,"</pre>\n </div>\n ")))})}},{key:"hide",value:function(){r.Popup.hide()}}]),Object.defineProperty(o,"prototype",{writable:!1}),n.ProcessDetail=t=s},{"./popup.js":5}],7:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TableDetail=void 0;var o,r=t("./popup.js");function a(t){return(a="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){for(var n,o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(n=function(t){if("object"!==a(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!==a(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(r.key),"symbol"===a(n)?n:String(n)),r)}}function c(t,e){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");this.table=t,this.wobserver=e}i((o=c).prototype,[{key:"show",value:function(){this.wobserver.client.command_promise("table/"+this.table).then(function(t){if("error"!=(t=t.data))return t.data.length<=0?r.Popup.show('\n <div id="table_information">\n <span>Table has no content.</span>\n </div>\n '):(t=t.data.map(function(t,e){return t=t.map(function(t){return"<td><pre>".concat(t,"</pre></td>")}).join(""),"<tr><th>".concat(e+1,"</th>").concat(t,"</tr>")}).join(""),void r.Popup.show('\n <div id="table_information">\n <span>Table Information:</span>\n <div>\n <table>\n '.concat(t,"\n </table>\n </div>\n </div>\n ")));r.Popup.show('\n <div id="process_information">\n Can not show table.\n </div>\n ')})}},{key:"hide",value:function(){r.Popup.hide()}}]),Object.defineProperty(o,"prototype",{writable:!1}),n.TableDetail=t=c},{"./popup.js":5}],8:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Wobserver=void 0;var o,r=t("./wobserver_client"),a=t("./wobserver_render");function i(t){return(i="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 c(t,e){for(var n,o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(n=function(t){if("object"!==i(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!==i(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(r.key),"symbol"===i(n)?n:String(n)),r)}}function s(t){t.client.on_disconnect=function(){return a.WobserverRender.disconnect_popup(!0)},t.client.on_reconnect=function(){return a.WobserverRender.disconnect_popup(!1)}}function l(t){var e=this;if(!(this instanceof l))throw new TypeError("Cannot call a class as a function");this.host=t,this.update_interval=1e3,this.refreshTimer=null,a.WobserverRender.init(this),this.client=new r.WobserverClient(t),this.client.connect(function(t){return a.WobserverRender.set_node(t)},function(t){e.client=t,s(e)},function(){return a.WobserverRender.load_menu(e)}),s(this),window.show_process=function(t){return a.WobserverRender.show_process(t,e)},window.show_table=function(t){return a.WobserverRender.show_table(t,e)}}c((o=l).prototype,[{key:"display",value:function(t,e){this.client.command_promise(t).then(function(t){return e(t)})}},{key:"open",value:function(t,e,n){var o=this;clearInterval(this.refreshTimer),this.display(t,n),0<e&&(this.refreshTimer=setInterval(function(){return o.display(t,n)},e*this.update_interval))}},{key:"close",value:function(t,e){}}]),Object.defineProperty(o,"prototype",{writable:!1}),n.Wobserver=t=l},{"./wobserver_client":10,"./wobserver_render":11}],9:[function(t,e,n){"use strict";function a(t){return(a="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 o(t,e){for(var n,o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(n=function(t){if("object"!==a(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!==a(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(r.key),"symbol"===a(n)?n:String(n)),r)}}function r(t,e,n){return"local"==(n=2<arguments.length&&void 0!==n?n:"")?"http://"+t+"/api/"+encodeURI(e).replace(/#/g,"%23"):"http://"+t+"/api/"+encodeURI(n)+"/"+encodeURI(e).replace(/#/g,"%23")}var i;function c(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"local";if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");this.host=t,this.node=e,this.connected=!0}Object.defineProperty(n,"__esModule",{value:!0}),n.WobserverApiFallback=void 0,o((i=c).prototype,[{key:"command",value:function(t){fetch(r(this.host,t,this.node))}},{key:"command_promise",value:function(e){var n=this;return fetch(r(this.host,e,this.node)).then(function(t){return t.json()}).then(function(t){return{data:t,timestamp:Date.now()/1e3|0,type:e}}).then(function(t){return n.connected||(n.connected=!0,n.on_reconnect()),t}).catch(function(t){n.connected=!1,n.on_disconnect()})}},{key:"set_node",value:function(t){this.node=t}}]),Object.defineProperty(i,"prototype",{writable:!1}),n.WobserverApiFallback=c},{}],10:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.WobserverClient=void 0;var o,r=t("./wobserver_api_fallback");function a(t){return(a="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){for(var n,o=0;o<e.length;o++){var r=e[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(n=function(t){if("object"!==a(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return String(t);if("object"!==a(e=e.call(t,"string")))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(r.key),"symbol"===a(n)?n:String(n)),r)}}function c(t){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function");this.host=t,this.socket=null,this.node="local",this.promises={},this.state=0,this.url=("https:"==location.protocol?"wss":"ws")+"://"+this.host+"/ws"}i((o=c).prototype,[{key:"connect",value:function(t,e,n){var o=this;this.node_change=t,this.socket=new WebSocket(this.url),this.socket.onerror=function(t){3==o.socket.readyState&&0==o.state&&(console.log("Socket can not connect, falling back to json api."),e(new r.WobserverApiFallback(o.host,o.node)),n())},this.socket.onopen=function(){o.state=1,n(),o.command("hello"),setInterval(function(t){return o.command("ping")},55e3)},this.add_handlers()}},{key:"disconnected",value:function(){1==this.state&&(this.state=-1,this.reconnect()),this.on_disconnect&&this.on_disconnect()}},{key:"reconnect",value:function(){var e=this,t=new WebSocket(this.url);t.onerror=function(t){3==e.socket.readyState&&(console.log("Reconnect failed, trying again in 5 seconds."),setTimeout(function(t){return e.reconnect()},5e3))},t.onopen=function(){e.socket=t,e.state=1,e.add_handlers(),e.command("hello"),e.on_reconnect&&e.on_reconnect()}}},{key:"add_handlers",value:function(){var n=this;this.socket.onmessage=function(t){var e;"ehlo"==(t=JSON.parse(t.data)).type?(n.node=t.data.name,n.node_change(n.node)):"setup_proxy"==t.type&&t.data.node?(n.node=t.data.node,n.node_change(n.node)):n.promises[t.type]&&(e=n.promises[t.type].pop())&&e(t)}}},{key:"command",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;3==this.socket.readyState?this.disconnected():(t=JSON.stringify({command:t,data:e}),this.socket.send(t))}},{key:"command_promise",value:function(e){var n=this,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;return 3==this.socket.readyState?(this.disconnected(),new Promise(function(t){})):new Promise(function(t){n.promises[e]?n.promises[e].push(t):n.promises[e]=[t],n.command(e,o)})}},{key:"set_node",value:function(t){this.node!=t&&this.command("setup_proxy",t)}}]),Object.defineProperty(o,"prototype",{writable:!1}),n.WobserverClient=t=c},{"./wobserver_api_fallback":9}],11:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.WobserverRender=void 0;var o=t("./interface/popup.js"),c=t("./interface/node_dialog.js"),r=t("./interface/process_detail.js"),a=t("./interface/table_detail.js"),i=t("./interface/application_graph"),l=t("./interface/chart");function u(t){for(var e=["B","kB","MB","GB"],n=0;n<e.length&&8<t/1024;)t/=1024,n++;return Math.round(t)+" "+e[n]}function s(t,e,n){document.querySelectorAll("#menu a").forEach(function(t){return t.className=""}),e.className="selected",t.lastItem&&t.lastItem.on_close&&t.lastItem.on_close(),n.on_open(),t.lastItem=n,history.pushState?history.pushState(null,null,"#"+n.title.replace(" ","")):location.hash="#"+n.title.replace(" ","")}function d(e,t){var n,o,t=1<arguments.length&&void 0!==t?t:[],r=[{title:"System",icon:"fa-heartbeat",on_open:function(){return e.open("system",1,m.display_system)},on_close:function(){return e.close("system",1)}},{title:"Load Charts",icon:"fa-area-chart",on_open:function(){return e.open("system",.25,m.display_load_charts)},on_close:function(){return e.close("system",.25)}},{title:"Memory Allocators",icon:"fa-microchip",on_open:function(){return e.open("allocators",.25,m.display_allocators)},on_close:function(){return e.close("allocators",.25)}},{title:"Applications",icon:"fa-desktop",on_open:function(){return e.open("application",0,function(t){return m.display_applications(t,e)})}},{title:"Processes",icon:"fa-list-alt",on_open:function(){return e.open("process",4,m.display_processes)},on_close:function(){return e.close("process",4)}},{title:"Ports",icon:"fa-usb",on_open:function(){return e.open("ports",8,m.display_ports)},on_close:function(){return e.close("ports",8)}},{title:"Table Viewer",icon:"fa-table",on_open:function(){return e.open("table",0,m.display_table)},on_close:function(){return e.close("table",0)}}],t=(1==t.length?r.push(t[0]):1<t.length&&r.push({title:"Plugins",icon:"fa-bolt",on_open:function(){},children:t}),r.push({title:"About",icon:"fa-info",on_open:function(){return e.open("about",0,m.display_about)}}),document.getElementById("menu")),a=t.querySelector("ol"),i=document.createElement("header");if(t.appendChild(i),i.innerHTML='<i class="elixir-icon"></i> Wobserver NG',a)for(;a.hasChildNodes();)a.removeChild(a.lastChild);else a=document.createElement("ol"),t.appendChild(a);a.lastItem=null,function r(t,a){t.map(function(t){var e=document.createElement("li"),n=document.createElement("a"),o=(e.appendChild(n),t.icon||"fa-home");return n.innerHTML='<i class="menuIcon fa fa-fw '.concat(o,'"></i><span>').concat(t.title,"</span>"),t.children?((o=document.createElement("ol")).className="smallDropDown",r(t.children,o),n.style.cursor="default",e.appendChild(o)):n.addEventListener("click",function(){s(a,n,t)}),a.appendChild(e),t.menu_item=n,t})}(r,a),setTimeout(function(){var t=r.find(function(t){return"#"+t.title.replace(" ","")==window.location.hash});s(a,(t=t||r[0]).menu_item,t)},100),t.querySelector(".menu-footer")||((i=document.createElement("div")).className="menu-footer",(n=document.createElement("span")).className="button-primary",n.style.marginRight="1em",n.innerHTML='<i class="fa fa-plug" aria-hidden="true"></i><span> Switch Node</span>',o=new c.NodeDialog(e),n.addEventListener("click",function(){return o.show()}),i.appendChild(n),t.appendChild(i))}function p(e,n,o){o.client.command_promise("application/"+e).then(function(t){t=t.data,document.getElementById("application_app_description").innerHTML=e!=n?n:"",i.ApplicationGraph.show(t,"application_chart"),document.querySelectorAll(".process-node").forEach(function(t){var e=t.getElementsByClassName("node-name")[0].innerText;t.addEventListener("click",function(t){new r.ProcessDetail(e,o).show()})})})}var h=0,m={init:function(r){window.onload=function(){var t,e,n,o;document.getElementById("wobserver").innerHTML='<nav id="menu"></nav>\n <div id="content"></div>\n <div id="footer"></div>',t=r,e=document.getElementById("footer"),(n=document.createElement("span")).className="button-primary",n.style.marginRight="1em",n.innerHTML="Switch Node",o=new c.NodeDialog(t),n.addEventListener("click",function(){return o.show()}),e.appendChild(n),(t=document.createElement("span")).innerHTML='Connected to: <em id="connected_node">local</em>.',e.appendChild(t),1==h&&m.load_menu(r),h=2}},load_menu:function(n){0==h?h=1:n.client.command_promise("custom").then(function(e){d(n,e.data.filter(function(t){return!e.api_only}).map(function(t){return{title:t.title,on_open:function(){return n.open(t.command,t.refresh,m.show_custom)},on_close:function(){return n.close(t.command,t.refresh)}}}))}).catch(function(t){return d(n)})},set_node:function(t){var e=document.getElementById("connected_node");e?e.innerHTML=t:setTimeout(function(){return m.set_node(t)},100)},display_system:function(t){var n,e,o,r,t=t.data,a=document.getElementById("content"),i='<table class="inline">\n <caption>System and Architecture</caption>\n <tr><th>System Version</th><td>'.concat(t.architecture.elixir_version,"</td></tr>\n <tr><th>Erlang/OTP Version</th><td>").concat(t.architecture.otp_release,"</td></tr>\n <tr><th>ERTS Version</th><td>").concat(t.architecture.erts_version,"</td></tr>\n <tr><th>Compiled for</th><td>").concat(t.architecture.system_architecture,"</td></tr>\n <tr><th>Emulated Wordsize</th><td>").concat(t.architecture.wordsize_external,"</td></tr>\n <tr><th>Process Wordsize</th><td>").concat(t.architecture.wordsize_internal,"</td></tr>\n <tr><th>SMP Support</th><td>").concat(t.architecture.smp_support,"</td></tr>\n <tr><th>Thread Support</th><td>").concat(t.architecture.threads,"</td></tr>\n <tr><th>Async thread pool size</th><td>").concat(t.architecture.thread_pool_size,"</td></tr>\n </table>"),c=t.scheduler.map(function(t){return(.9<=t?'<span class="load high">':'<span class="load">')+Math.floor(100*t)+"</span>%"}).join(" "),c="<table class=\"inline\">\n <caption>CPU's and Threads</caption>\n <tr><th>Logical CPU's</th><td>".concat(t.cpu.logical_processors,"</td></tr>\n <tr><th>Online Logical CPU's</th><td>").concat(t.cpu.logical_processors_online,"</td></tr>\n <tr><th>Available Logical CPU's</th><td>").concat(t.cpu.logical_processors_available,"</td></tr>\n <tr><th>Schedulers</th><td>").concat(t.cpu.schedulers,"</td></tr>\n <tr><th>Online schedulers</th><td>").concat(t.cpu.schedulers_online,"</td></tr>\n <tr><th>Available schedulers</th><td>").concat(t.cpu.schedulers_available,"</td></tr>\n <tr><th>Average sch. Load</th><td>").concat(c,"</td></tr>\n </table>"),s=(n=t.memory,Object.keys(n).reduce(function(t,e){return t[e]=u(n[e]),t},{})),s='<table class="inline">\n <caption>Memory Usage</caption>\n <tr><th>Total</th><td>'.concat(s.total,"</td></tr>\n <tr><th>Processes</th><td>").concat(s.process,"</td></tr>\n <tr><th>Atoms</th><td>").concat(s.atom,"</td></tr>\n <tr><th>Binaries</th><td>").concat(s.binary,"</td></tr>\n <tr><th>Code</th><td>").concat(s.code,"</td></tr>\n <tr><th>ETS</th><td>").concat(s.ets,"</td></tr>\n </table>"),l='<table class="inline">\n <caption>Statistics</caption>\n <tr><th>Up time</th><td>'.concat((e=t.statistics.uptime,e=Math.floor(e/1e3),e=(e=(e-=86400*(l=Math.floor(e/86400)))-3600*(o=Math.floor(e/3600)))-60*(r=Math.floor(e/60)),o<10&&(o="0"+o),r<10&&(r="0"+r),e<10&&(e="0"+e),0<l?l+"days, "+o+":"+r+":"+e:o+":"+r+":"+e),"</td></tr>\n <tr><th>Max Processes</th><td>").concat(t.statistics.process_max,"</td></tr>\n <tr><th>Processes</th><td>").concat(t.statistics.process_total,"</td></tr>\n <tr><th>Run Queue</th><td>").concat(t.statistics.process_running,"</td></tr>\n <tr><th>IO Input</th><td>").concat(u(t.statistics.input),"</td></tr>\n <tr><th>IO Output</th><td>").concat(u(t.statistics.output),"</td></tr>\n </table>");a.innerHTML=i+c+s+l},display_applications:function(t,e){(t=t.data).sort(function(t,e){return t.name.localeCompare(e.name)}),document.getElementById("content").innerHTML='<div id="applications_header">\n <label for="applications_app_list">Application:</label>\n <select id="applications_app_list"></select>\n <p id="application_app_description"></p>\n </div><div class="chart" id="application_chart"></div>';var n=document.getElementById("applications_app_list"),o={};t.forEach(function(t){var e=document.createElement("option");e.value=t.name,e.innerHTML="".concat(t.name," (").concat(t.version,")"),o[t.name]=t.description,n.appendChild(e)}),n.addEventListener("change",function(t){p(n.value,o[n.value],e)}),p(t[0].name,t[0].description,e)},display_processes:function(t){var t=t.data,e=document.getElementById("content"),n=e.querySelector("table"),o=-1,r=!1,t=(n&&n.querySelectorAll("th").forEach(function(t,e){t.className.includes("sorttable_sorted_reverse")?(o=e,r=!0):t.className.includes("sorttable_sorted")&&(o=e)}),t.map(function(t){var e=t.init.startsWith("Elixir.")?t.init.substr(7):t.init;return"<tr>\n <td><a href=\"javascript:window.show_process('".concat(t.pid,"')\">").concat(t.pid,"</a></td>\n <td>").concat(e,"</td>\n <td>").concat(t.reductions,"</td>\n <td>").concat(t.memory,"</td>\n <td>").concat(t.message_queue_length,"</td>\n <td>").concat(t.current,"</td>\n </tr>")}).join(""));e.innerHTML='\n <div class="table-holder"><table class="process_table" style="text-align: left;">\n <thead><tr>\n <th>Pid</th>\n <th>Name or Initial Function</th>\n <th>Reds</th>\n <th>Memory</th>\n <th>MsgQ</th>\n <th>Current Function</th>\n </tr></thead>\n '.concat(t,"\n </table></div>\n "),n=e.querySelector("table"),sorttable.makeSortable(n),0<=o&&(t=n.getElementsByTagName("th")[o],sorttable.innerSortFunction.apply(t,[]),r)&&sorttable.innerSortFunction.apply(t,[])},display_ports:function(t){var t=t.data,e=document.getElementById("content"),n=e.querySelector("table"),o=-1,r=!1,t=(n&&n.querySelectorAll("th").forEach(function(t,e){t.className.includes("sorttable_sorted_reverse")?(o=e,r=!0):t.className.includes("sorttable_sorted")&&(o=e)}),t.map(function(t){var e=t.links.map(function(t){return"<a href=\"javascript:window.show_process('".concat(t,"')\">").concat(t,"</a>")}).join("");return"<tr>\n <td>".concat(t.id,"</td>\n <td>").concat(t.name,"</td>\n <td><a href=\"javascript:window.show_process('").concat(t.connected,"')\">").concat(t.connected,"</a></td>\n <td>").concat(t.input,"</td>\n <td>").concat(t.output,"</td>\n <td>").concat(e,"</td>\n </tr>")}).join(""));e.innerHTML='\n <div class="table-holder"><table class="process_table" style="text-align: left;">\n <thead><tr>\n <th>ID</th>\n <th>Name</th>\n <th>Owner</th>\n <th>Input</th>\n <th>Output</th>\n <th>Links</th>\n </tr></thead>\n '.concat(t,"\n </table></div>\n "),n=e.querySelector("table"),sorttable.makeSortable(n),0<=o&&(t=n.getElementsByTagName("th")[o],sorttable.innerSortFunction.apply(t,[]),r)&&sorttable.innerSortFunction.apply(t,[])},display_load_charts:function(t){var n,o,r,e=t.data,a=document.getElementById("content"),i=null,c=null,s=null,s=document.getElementById("memory_chart")?(i=document.getElementById("scheduler_chart").chart,c=document.getElementById("memory_chart").chart,document.getElementById("io_chart").chart):(a.innerHTML='<div id="scheduler_chart" style="width:100%;"></div><div id="memory_chart"></div><div id="io_chart"></div>',n=[1,0,0,1,0,1,1,0],o=[0,1,0,1,1,0,1,0],r=[0,0,1,0,1,1,1,0],a=e.scheduler.map(function(t,e){return{label:"S"+(e+1),r:1==n[e%8]?255:0,g:1==o[e%8]?255:0,b:1==r[e%8]?255:0}}),i=new l.WobserverChart("scheduler_chart",a,"%"),c=new l.WobserverChart("memory_chart",[{label:"Total",r:255,g:0,b:0},{label:"Process",r:0,g:255,b:0},{label:"Atom",r:0,g:0,b:255},{label:"Binary",r:255,g:255,b:0},{label:"Code",r:0,g:255,b:255},{label:"Ets",r:255,g:0,b:255}],"MB"),new l.WobserverChart("io_chart",[{label:"Input",r:255,g:0,b:0},{label:"Output",r:0,g:255,b:0}],"MB"));(a=e.scheduler.map(function(t){return Math.floor(1e4*t)/100})).timestamp=t.timestamp,i.update(a),(a=[e.memory.total,e.memory.process,e.memory.atom,e.memory.binary,e.memory.code,e.memory.ets].map(function(t){return Math.floor(t/1048576)})).timestamp=t.timestamp,c.update(a),(a=[e.statistics.input,e.statistics.output].map(function(t){return Math.floor(t/1048576)})).timestamp=t.timestamp,s.update(a)},display_allocators:function(t){var n,o,r,e=t.data,a=document.getElementById("content"),i=null,c=null,c=(e.unshift(e.reduce(function(t,e){return t.carrier+=e.carrier,t.block+=e.block,t},{type:"Total",carrier:0,block:0})),document.getElementById("size_chart")?(i=document.getElementById("size_chart").chart,document.getElementById("util_chart").chart):(a.innerHTML='<div id="size_chart" style="width:100%;height: 22em;"></div><div id="util_chart" style="width:100%;height: 22em;"></div><div id="alloc_table"></div>',n=[1,0,0,1,0,1,1,0],o=[0,1,0,1,1,0,1,0],r=[0,0,1,0,1,1,1,0],a=e.map(function(t,e){return{label:t.type,r:1==n[e%8]?255:0,g:1==o[e%8]?255:0,b:1==r[e%8]?255:0}}),i=new l.WobserverChart("size_chart",a,"%"),new l.WobserverChart("util_chart",a,"MB"))),i=((a=e.map(function(t){return Math.floor(100*t.block/t.carrier)})).timestamp=t.timestamp,i.update(a),(a=e.map(function(t){return Math.floor(t.carrier/1048576)})).timestamp=t.timestamp,c.update(a),document.getElementById("alloc_table")),t=e.map(function(t){return"<tr><td>".concat(t.type,"</td><td>").concat(u(t.block),"</td><td>").concat(u(t.carrier),"</td></tr>")}).join("");i.innerHTML='\n <table class="process_table" style="text-align: left;">\n <thead><tr>\n <th>Type</th>\n <th>Block Size</th>\n <th>Carrier Size</th>\n </tr></thead>\n '.concat(t,"\n </table>\n ")},display_table:function(t){var t=t.data,e=document.getElementById("content"),n=e.querySelector("table"),o=-1,r=!1,t=(n&&n.querySelectorAll("th").forEach(function(t,e){t.className.includes("sorttable_sorted_reverse")?(o=e,r=!0):t.className.includes("sorttable_sorted")&&(o=e)}),t.map(function(t){var e=!isNaN(parseFloat(t.id))&&isFinite(t.id)?t.id:"";return"<tr>\n <td><a href=\"javascript:window.show_table('".concat(t.id,"')\">").concat(t.name.replace(/^Elixir\./,""),"</a></td>\n <td>").concat(e,"</td>\n <td>").concat(t.size,"</td>\n <td>").concat(u(t.memory),"</td>\n <td>").concat(t.protection,"</td>\n <td><a href=\"javascript:window.show_process('").concat(t.owner,"')\">").concat(t.owner,"</a></td>\n </tr>")}).join(""));e.innerHTML='\n <div class="table-holder"><table class="process_table" style="text-align: left;">\n <thead><tr>\n <th>Name</th>\n <th>ID</th>\n <th>Objects</th>\n <th>Size</th>\n <th>Protection</th>\n <th>Owner</th>\n </tr></thead>\n '.concat(t,"\n </table></table>\n "),n=e.querySelector("table"),sorttable.makeSortable(n),0<=o&&(t=n.getElementsByTagName("th")[o],sorttable.innerSortFunction.apply(t,[]),r)&&sorttable.innerSortFunction.apply(t,[])},display_about:function(t){var t=t.data,e=document.getElementById("content"),n=t.links.map(function(t){return"<tr><th>".concat(t.name,'</th><td><a href="').concat(t.url,'">').concat(t.url,"</a></td></tr>")}).join("");e.innerHTML='<div class="about">\n <h1 style="margin-bottom:0;">'.concat(t.name,'</h1>\n <span style="font-weight:bold;font-size:80%;font-style:italic;">Version: ').concat(t.version,"</span>\n <p>").concat(t.description,'</p>\n <h2>Info</h2>\n <div class="table-holder"><table style="text-align: left;">\n <tr><th>Licence</th><td><a href="').concat(t.license.url,'">').concat(t.license.name,"</a></td></tr>\n ").concat(n,"\n </table></div></div>\n ")},show_process:function(t,e){new r.ProcessDetail(t,e).show()},show_table:function(t,e){new a.TableDetail(t,e).show()},disconnect_popup:function(t){t?o.Popup.show('\n <div id="table_information">\n <span>Connection lost.</span>\n </div>'):o.Popup.hide()},show_custom:function(t){document.getElementById("content").innerHTML=function o(t,e){e=1<arguments.length&&void 0!==e?e:"";return(t instanceof Array?function(t){var e,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return t.length<=0?"":(e=Object.keys(t[0]).map(function(t){return"<th>".concat(t,"</th>")}).join(""),t=t.map(function(e){return Object.keys(e).map(function(t){return"<td>".concat(e[t],"</td>")}).join("")}).map(function(t){return"<tr>".concat(t,"</tr>")}).join(""),'\n <div class="table-holder"><table class="generic_array_table">\n <caption>'.concat(n,"</caption>\n <thead>\n <tr>").concat(e,"</tr>\n </thead>\n ").concat(t,"\n </table></div>\n "))}:function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return Object.keys(e).map(function(t){return e[t]instanceof Object}).reduce(function(t,e){return t||e})?(t=Object.keys(e).map(function(t){return o(e[t],t)}).join(""),"\n <div>\n <span>".concat(n,"</span>\n ").concat(t,"\n </div>\n ")):(t=Object.keys(e).map(function(t){return"<tr><th>".concat(t,"</th><td>").concat(e[t],"</td></tr>")}).join(""),'\n <div class="table-holder"><table class="inline">\n <caption>'.concat(n,"</caption>\n ").concat(t,"\n </table></div>\n "))})(t,e)}(t.data)},loading:function(t){document.getElementById("content").style.opacity=t?0:1}};n.WobserverRender=m},{"./interface/application_graph":2,"./interface/chart":3,"./interface/node_dialog.js":4,"./interface/popup.js":5,"./interface/process_detail.js":6,"./interface/table_detail.js":7}]},{},[1]);
"""
end
_ = @lint
@lint false
@doc false
@spec license :: String.t
def license do
~S"""
MIT License
Copyright (c) 2017 Ian Luites
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
end
_ = @lint
end