-
-
Save OAGr/14451670e91ff40ea219 to your computer and use it in GitHub Desktop.
test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Notebook</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
| <style type="text/css"> | |
| .clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0} | |
| .clearfix:after{clear:both} | |
| .hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0} | |
| .input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} | |
| article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block} | |
| audio,canvas,video{display:inline-block;*display:inline;*zoom:1} | |
| audio:not([controls]){display:none} | |
| html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%} | |
| a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px} | |
| a:hover,a:active{outline:0} | |
| sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline} | |
| sup{top:-0.5em} | |
| sub{bottom:-0.25em} | |
| img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic} | |
| #map_canvas img,.google-maps img{max-width:none} | |
| button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle} | |
| button,input{*overflow:visible;line-height:normal} | |
| button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0} | |
| button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer} | |
| label,select,button,input[type="button"],input[type="reset"],input[type="submit"],input[type="radio"],input[type="checkbox"]{cursor:pointer} | |
| input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield} | |
| input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none} | |
| textarea{overflow:auto;vertical-align:top} | |
| @media print{*{text-shadow:none !important;color:#000 !important;background:transparent !important;box-shadow:none !important} a,a:visited{text-decoration:underline} a[href]:after{content:" (" attr(href) ")"} abbr[title]:after{content:" (" attr(title) ")"} .ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""} pre,blockquote{border:1px solid #999;page-break-inside:avoid} thead{display:table-header-group} tr,img{page-break-inside:avoid} img{max-width:100% !important} @page {margin:.5cm}p,h2,h3{orphans:3;widows:3} h2,h3{page-break-after:avoid}}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:20px;color:#000;background-color:#fff} | |
| a{color:#08c;text-decoration:none} | |
| a:hover,a:focus{color:#005580;text-decoration:underline} | |
| .img-rounded{border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px} | |
| .img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1)} | |
| .img-circle{border-radius:500px;-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px} | |
| .row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:"";line-height:0} | |
| .row:after{clear:both} | |
| [class*="span"]{float:left;min-height:1px;margin-left:20px} | |
| .container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px} | |
| .span12{width:940px} | |
| .span11{width:860px} | |
| .span10{width:780px} | |
| .span9{width:700px} | |
| .span8{width:620px} | |
| .span7{width:540px} | |
| .span6{width:460px} | |
| .span5{width:380px} | |
| .span4{width:300px} | |
| .span3{width:220px} | |
| .span2{width:140px} | |
| .span1{width:60px} | |
| .offset12{margin-left:980px} | |
| .offset11{margin-left:900px} | |
| .offset10{margin-left:820px} | |
| .offset9{margin-left:740px} | |
| .offset8{margin-left:660px} | |
| .offset7{margin-left:580px} | |
| .offset6{margin-left:500px} | |
| .offset5{margin-left:420px} | |
| .offset4{margin-left:340px} | |
| .offset3{margin-left:260px} | |
| .offset2{margin-left:180px} | |
| .offset1{margin-left:100px} | |
| .row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:"";line-height:0} | |
| .row-fluid:after{clear:both} | |
| .row-fluid [class*="span"]{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.127659574468085%;*margin-left:2.074468085106383%} | |
| .row-fluid [class*="span"]:first-child{margin-left:0} | |
| .row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.127659574468085%} | |
| .row-fluid .span12{width:100%;*width:99.94680851063829%} | |
| .row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%} | |
| .row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%} | |
| .row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%} | |
| .row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%} | |
| .row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%} | |
| .row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%} | |
| .row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%} | |
| .row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%} | |
| .row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%} | |
| .row-fluid .span2{width:14.893617021276595%;*width:14.840425531914894%} | |
| .row-fluid .span1{width:6.382978723404255%;*width:6.329787234042553%} | |
| .row-fluid .offset12{margin-left:104.25531914893617%;*margin-left:104.14893617021275%} | |
| .row-fluid .offset12:first-child{margin-left:102.12765957446808%;*margin-left:102.02127659574467%} | |
| .row-fluid .offset11{margin-left:95.74468085106382%;*margin-left:95.6382978723404%} | |
| .row-fluid .offset11:first-child{margin-left:93.61702127659574%;*margin-left:93.51063829787232%} | |
| .row-fluid .offset10{margin-left:87.23404255319149%;*margin-left:87.12765957446807%} | |
| .row-fluid .offset10:first-child{margin-left:85.1063829787234%;*margin-left:84.99999999999999%} | |
| .row-fluid .offset9{margin-left:78.72340425531914%;*margin-left:78.61702127659572%} | |
| .row-fluid .offset9:first-child{margin-left:76.59574468085106%;*margin-left:76.48936170212764%} | |
| .row-fluid .offset8{margin-left:70.2127659574468%;*margin-left:70.10638297872339%} | |
| .row-fluid .offset8:first-child{margin-left:68.08510638297872%;*margin-left:67.9787234042553%} | |
| .row-fluid .offset7{margin-left:61.70212765957446%;*margin-left:61.59574468085106%} | |
| .row-fluid .offset7:first-child{margin-left:59.574468085106375%;*margin-left:59.46808510638297%} | |
| .row-fluid .offset6{margin-left:53.191489361702125%;*margin-left:53.085106382978715%} | |
| .row-fluid .offset6:first-child{margin-left:51.063829787234035%;*margin-left:50.95744680851063%} | |
| .row-fluid .offset5{margin-left:44.68085106382979%;*margin-left:44.57446808510638%} | |
| .row-fluid .offset5:first-child{margin-left:42.5531914893617%;*margin-left:42.4468085106383%} | |
| .row-fluid .offset4{margin-left:36.170212765957444%;*margin-left:36.06382978723405%} | |
| .row-fluid .offset4:first-child{margin-left:34.04255319148936%;*margin-left:33.93617021276596%} | |
| .row-fluid .offset3{margin-left:27.659574468085104%;*margin-left:27.5531914893617%} | |
| .row-fluid .offset3:first-child{margin-left:25.53191489361702%;*margin-left:25.425531914893618%} | |
| .row-fluid .offset2{margin-left:19.148936170212764%;*margin-left:19.04255319148936%} | |
| .row-fluid .offset2:first-child{margin-left:17.02127659574468%;*margin-left:16.914893617021278%} | |
| .row-fluid .offset1{margin-left:10.638297872340425%;*margin-left:10.53191489361702%} | |
| .row-fluid .offset1:first-child{margin-left:8.51063829787234%;*margin-left:8.404255319148938%} | |
| [class*="span"].hide,.row-fluid [class*="span"].hide{display:none} | |
| [class*="span"].pull-right,.row-fluid [class*="span"].pull-right{float:right} | |
| .container{margin-right:auto;margin-left:auto;*zoom:1}.container:before,.container:after{display:table;content:"";line-height:0} | |
| .container:after{clear:both} | |
| .container-fluid{padding-right:20px;padding-left:20px;*zoom:1}.container-fluid:before,.container-fluid:after{display:table;content:"";line-height:0} | |
| .container-fluid:after{clear:both} | |
| p{margin:0 0 10px} | |
| .lead{margin-bottom:20px;font-size:19.5px;font-weight:200;line-height:30px} | |
| small{font-size:85%} | |
| strong{font-weight:bold} | |
| em{font-style:italic} | |
| cite{font-style:normal} | |
| .muted{color:#999} | |
| a.muted:hover,a.muted:focus{color:#808080} | |
| .text-warning{color:#c09853} | |
| a.text-warning:hover,a.text-warning:focus{color:#a47e3c} | |
| .text-error{color:#b94a48} | |
| a.text-error:hover,a.text-error:focus{color:#953b39} | |
| .text-info{color:#3a87ad} | |
| a.text-info:hover,a.text-info:focus{color:#2d6987} | |
| .text-success{color:#468847} | |
| a.text-success:hover,a.text-success:focus{color:#356635} | |
| .text-left{text-align:left} | |
| .text-right{text-align:right} | |
| .text-center{text-align:center} | |
| h1,h2,h3,h4,h5,h6{margin:10px 0;font-family:inherit;font-weight:bold;line-height:20px;color:inherit;text-rendering:optimizelegibility}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;line-height:1;color:#999} | |
| h1,h2,h3{line-height:40px} | |
| h1{font-size:35.75px} | |
| h2{font-size:29.25px} | |
| h3{font-size:22.75px} | |
| h4{font-size:16.25px} | |
| h5{font-size:13px} | |
| h6{font-size:11.049999999999999px} | |
| h1 small{font-size:22.75px} | |
| h2 small{font-size:16.25px} | |
| h3 small{font-size:13px} | |
| h4 small{font-size:13px} | |
| .page-header{padding-bottom:9px;margin:20px 0 30px;border-bottom:1px solid #eee} | |
| ul,ol{padding:0;margin:0 0 10px 25px} | |
| ul ul,ul ol,ol ol,ol ul{margin-bottom:0} | |
| li{line-height:20px} | |
| ul.unstyled,ol.unstyled{margin-left:0;list-style:none} | |
| ul.inline,ol.inline{margin-left:0;list-style:none}ul.inline>li,ol.inline>li{display:inline-block;*display:inline;*zoom:1;padding-left:5px;padding-right:5px} | |
| dl{margin-bottom:20px} | |
| dt,dd{line-height:20px} | |
| dt{font-weight:bold} | |
| dd{margin-left:10px} | |
| .dl-horizontal{*zoom:1}.dl-horizontal:before,.dl-horizontal:after{display:table;content:"";line-height:0} | |
| .dl-horizontal:after{clear:both} | |
| .dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} | |
| .dl-horizontal dd{margin-left:180px} | |
| hr{margin:20px 0;border:0;border-top:1px solid #eee;border-bottom:1px solid #fff} | |
| abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999} | |
| abbr.initialism{font-size:90%;text-transform:uppercase} | |
| blockquote{padding:0 0 0 15px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{margin-bottom:0;font-size:16.25px;font-weight:300;line-height:1.25} | |
| blockquote small{display:block;line-height:20px;color:#999}blockquote small:before{content:'\2014 \00A0'} | |
| blockquote.pull-right{float:right;padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right} | |
| blockquote.pull-right small:before{content:''} | |
| blockquote.pull-right small:after{content:'\00A0 \2014'} | |
| q:before,q:after,blockquote:before,blockquote:after{content:""} | |
| address{display:block;margin-bottom:20px;font-style:normal;line-height:20px} | |
| code,pre{padding:0 3px 2px;font-family:monospace;font-size:11px;color:#333;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} | |
| code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;white-space:nowrap} | |
| pre{display:block;padding:9.5px;margin:0 0 10px;font-size:12px;line-height:20px;word-break:break-all;word-wrap:break-word;white-space:pre;white-space:pre-wrap;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}pre.prettyprint{margin-bottom:20px} | |
| pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0} | |
| .pre-scrollable{max-height:340px;overflow-y:scroll} | |
| form{margin:0 0 20px} | |
| fieldset{padding:0;margin:0;border:0} | |
| legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:19.5px;line-height:40px;color:#333;border:0;border-bottom:1px solid #e5e5e5}legend small{font-size:15px;color:#999} | |
| label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:20px} | |
| input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif} | |
| label{display:block;margin-bottom:5px} | |
| select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:20px;padding:4px 6px;margin-bottom:10px;font-size:13px;line-height:20px;color:#555;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;vertical-align:middle} | |
| input,textarea,.uneditable-input{width:206px} | |
| textarea{height:auto} | |
| textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear .2s, box-shadow linear .2s;-moz-transition:border linear .2s, box-shadow linear .2s;-o-transition:border linear .2s, box-shadow linear .2s;transition:border linear .2s, box-shadow linear .2s}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82,168,236,0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6)} | |
| input[type="radio"],input[type="checkbox"]{margin:4px 0 0;*margin-top:0;margin-top:1px \9;line-height:normal} | |
| input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto} | |
| select,input[type="file"]{height:30px;*margin-top:4px;line-height:30px} | |
| select{width:220px;border:1px solid #ccc;background-color:#fff} | |
| select[multiple],select[size]{height:auto} | |
| select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px} | |
| .uneditable-input,.uneditable-textarea{color:#999;background-color:#fcfcfc;border-color:#ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);cursor:not-allowed} | |
| .uneditable-input{overflow:hidden;white-space:nowrap} | |
| .uneditable-textarea{width:auto;height:auto} | |
| input:-moz-placeholder,textarea:-moz-placeholder{color:#999} | |
| input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999} | |
| input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999} | |
| .radio,.checkbox{min-height:20px;padding-left:20px} | |
| .radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-20px} | |
| .controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px} | |
| .radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle} | |
| .radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px} | |
| .input-mini{width:60px} | |
| .input-small{width:90px} | |
| .input-medium{width:150px} | |
| .input-large{width:210px} | |
| .input-xlarge{width:270px} | |
| .input-xxlarge{width:530px} | |
| input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"]{float:none;margin-left:0} | |
| .input-append input[class*="span"],.input-append .uneditable-input[class*="span"],.input-prepend input[class*="span"],.input-prepend .uneditable-input[class*="span"],.row-fluid input[class*="span"],.row-fluid select[class*="span"],.row-fluid textarea[class*="span"],.row-fluid .uneditable-input[class*="span"],.row-fluid .input-prepend [class*="span"],.row-fluid .input-append [class*="span"]{display:inline-block} | |
| input,textarea,.uneditable-input{margin-left:0} | |
| .controls-row [class*="span"]+[class*="span"]{margin-left:20px} | |
| input.span12,textarea.span12,.uneditable-input.span12{width:926px} | |
| input.span11,textarea.span11,.uneditable-input.span11{width:846px} | |
| input.span10,textarea.span10,.uneditable-input.span10{width:766px} | |
| input.span9,textarea.span9,.uneditable-input.span9{width:686px} | |
| input.span8,textarea.span8,.uneditable-input.span8{width:606px} | |
| input.span7,textarea.span7,.uneditable-input.span7{width:526px} | |
| input.span6,textarea.span6,.uneditable-input.span6{width:446px} | |
| input.span5,textarea.span5,.uneditable-input.span5{width:366px} | |
| input.span4,textarea.span4,.uneditable-input.span4{width:286px} | |
| input.span3,textarea.span3,.uneditable-input.span3{width:206px} | |
| input.span2,textarea.span2,.uneditable-input.span2{width:126px} | |
| input.span1,textarea.span1,.uneditable-input.span1{width:46px} | |
| .controls-row{*zoom:1}.controls-row:before,.controls-row:after{display:table;content:"";line-height:0} | |
| .controls-row:after{clear:both} | |
| .controls-row [class*="span"],.row-fluid .controls-row [class*="span"]{float:left} | |
| .controls-row .checkbox[class*="span"],.controls-row .radio[class*="span"]{padding-top:5px} | |
| input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#eee} | |
| input[type="radio"][disabled],input[type="checkbox"][disabled],input[type="radio"][readonly],input[type="checkbox"][readonly]{background-color:transparent} | |
| .control-group.warning .control-label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853} | |
| .control-group.warning .checkbox,.control-group.warning .radio,.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853} | |
| .control-group.warning input,.control-group.warning select,.control-group.warning textarea{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e} | |
| .control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853} | |
| .control-group.error .control-label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48} | |
| .control-group.error .checkbox,.control-group.error .radio,.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48} | |
| .control-group.error input,.control-group.error select,.control-group.error textarea{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392} | |
| .control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48} | |
| .control-group.success .control-label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847} | |
| .control-group.success .checkbox,.control-group.success .radio,.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847} | |
| .control-group.success input,.control-group.success select,.control-group.success textarea{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b} | |
| .control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847} | |
| .control-group.info .control-label,.control-group.info .help-block,.control-group.info .help-inline{color:#3a87ad} | |
| .control-group.info .checkbox,.control-group.info .radio,.control-group.info input,.control-group.info select,.control-group.info textarea{color:#3a87ad} | |
| .control-group.info input,.control-group.info select,.control-group.info textarea{border-color:#3a87ad;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.control-group.info input:focus,.control-group.info select:focus,.control-group.info textarea:focus{border-color:#2d6987;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7ab5d3} | |
| .control-group.info .input-prepend .add-on,.control-group.info .input-append .add-on{color:#3a87ad;background-color:#d9edf7;border-color:#3a87ad} | |
| input:focus:invalid,textarea:focus:invalid,select:focus:invalid{color:#b94a48;border-color:#ee5f5b}input:focus:invalid:focus,textarea:focus:invalid:focus,select:focus:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7} | |
| .form-actions{padding:19px 20px 20px;margin-top:20px;margin-bottom:20px;background-color:#f5f5f5;border-top:1px solid #e5e5e5;*zoom:1}.form-actions:before,.form-actions:after{display:table;content:"";line-height:0} | |
| .form-actions:after{clear:both} | |
| .help-block,.help-inline{color:#262626} | |
| .help-block{display:block;margin-bottom:10px} | |
| .help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px} | |
| .input-append,.input-prepend{display:inline-block;margin-bottom:10px;vertical-align:middle;font-size:0;white-space:nowrap}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input,.input-append .dropdown-menu,.input-prepend .dropdown-menu,.input-append .popover,.input-prepend .popover{font-size:13px} | |
| .input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input{position:relative;margin-bottom:0;*margin-left:0;vertical-align:top;border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.input-append input:focus,.input-prepend input:focus,.input-append select:focus,.input-prepend select:focus,.input-append .uneditable-input:focus,.input-prepend .uneditable-input:focus{z-index:2} | |
| .input-append .add-on,.input-prepend .add-on{display:inline-block;width:auto;height:20px;min-width:16px;padding:4px 5px;font-size:13px;font-weight:normal;line-height:20px;text-align:center;text-shadow:0 1px 0 #fff;background-color:#eee;border:1px solid #ccc} | |
| .input-append .add-on,.input-prepend .add-on,.input-append .btn,.input-prepend .btn,.input-append .btn-group>.dropdown-toggle,.input-prepend .btn-group>.dropdown-toggle{vertical-align:top;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| .input-append .active,.input-prepend .active{background-color:#a9dba9;border-color:#46a546} | |
| .input-prepend .add-on,.input-prepend .btn{margin-right:-1px} | |
| .input-prepend .add-on:first-child,.input-prepend .btn:first-child{border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px} | |
| .input-append input,.input-append select,.input-append .uneditable-input{border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.input-append input+.btn-group .btn:last-child,.input-append select+.btn-group .btn:last-child,.input-append .uneditable-input+.btn-group .btn:last-child{border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0} | |
| .input-append .add-on,.input-append .btn,.input-append .btn-group{margin-left:-1px} | |
| .input-append .add-on:last-child,.input-append .btn:last-child,.input-append .btn-group:last-child>.dropdown-toggle{border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0} | |
| .input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.input-prepend.input-append input+.btn-group .btn,.input-prepend.input-append select+.btn-group .btn,.input-prepend.input-append .uneditable-input+.btn-group .btn{border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0} | |
| .input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px} | |
| .input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0} | |
| .input-prepend.input-append .btn-group:first-child{margin-left:0} | |
| input.search-query{padding-right:14px;padding-right:4px \9;padding-left:14px;padding-left:4px \9;margin-bottom:0;border-radius:15px;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px} | |
| .form-search .input-append .search-query,.form-search .input-prepend .search-query{border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| .form-search .input-append .search-query{border-radius:14px 0 0 14px;-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px} | |
| .form-search .input-append .btn{border-radius:0 14px 14px 0;-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0} | |
| .form-search .input-prepend .search-query{border-radius:0 14px 14px 0;-webkit-border-radius:0 14px 14px 0;-moz-border-radius:0 14px 14px 0;border-radius:0 14px 14px 0} | |
| .form-search .input-prepend .btn{border-radius:14px 0 0 14px;-webkit-border-radius:14px 0 0 14px;-moz-border-radius:14px 0 0 14px;border-radius:14px 0 0 14px} | |
| .form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;*display:inline;*zoom:1;margin-bottom:0;vertical-align:middle} | |
| .form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none} | |
| .form-search label,.form-inline label,.form-search .btn-group,.form-inline .btn-group{display:inline-block} | |
| .form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0} | |
| .form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle} | |
| .form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0} | |
| .control-group{margin-bottom:10px} | |
| legend+.control-group{margin-top:20px;-webkit-margin-top-collapse:separate} | |
| .form-horizontal .control-group{margin-bottom:20px;*zoom:1}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:"";line-height:0} | |
| .form-horizontal .control-group:after{clear:both} | |
| .form-horizontal .control-label{float:left;width:160px;padding-top:5px;text-align:right} | |
| .form-horizontal .controls{*display:inline-block;*padding-left:20px;margin-left:180px;*margin-left:0}.form-horizontal .controls:first-child{*padding-left:180px} | |
| .form-horizontal .help-block{margin-bottom:0} | |
| .form-horizontal input+.help-block,.form-horizontal select+.help-block,.form-horizontal textarea+.help-block,.form-horizontal .uneditable-input+.help-block,.form-horizontal .input-prepend+.help-block,.form-horizontal .input-append+.help-block{margin-top:10px} | |
| .form-horizontal .form-actions{padding-left:180px} | |
| table{max-width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0} | |
| .table{width:100%;margin-bottom:20px}.table th,.table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #ddd} | |
| .table th{font-weight:bold} | |
| .table thead th{vertical-align:bottom} | |
| .table caption+thead tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0} | |
| .table tbody+tbody{border-top:2px solid #ddd} | |
| .table .table{background-color:#fff} | |
| .table-condensed th,.table-condensed td{padding:4px 5px} | |
| .table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapse;border-left:0;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.table-bordered th,.table-bordered td{border-left:1px solid #ddd} | |
| .table-bordered caption+thead tr:first-child th,.table-bordered caption+tbody tr:first-child th,.table-bordered caption+tbody tr:first-child td,.table-bordered colgroup+thead tr:first-child th,.table-bordered colgroup+tbody tr:first-child th,.table-bordered colgroup+tbody tr:first-child td,.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0} | |
| .table-bordered thead:first-child tr:first-child>th:first-child,.table-bordered tbody:first-child tr:first-child>td:first-child,.table-bordered tbody:first-child tr:first-child>th:first-child{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px} | |
| .table-bordered thead:first-child tr:first-child>th:last-child,.table-bordered tbody:first-child tr:first-child>td:last-child,.table-bordered tbody:first-child tr:first-child>th:last-child{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px} | |
| .table-bordered thead:last-child tr:last-child>th:first-child,.table-bordered tbody:last-child tr:last-child>td:first-child,.table-bordered tbody:last-child tr:last-child>th:first-child,.table-bordered tfoot:last-child tr:last-child>td:first-child,.table-bordered tfoot:last-child tr:last-child>th:first-child{-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px} | |
| .table-bordered thead:last-child tr:last-child>th:last-child,.table-bordered tbody:last-child tr:last-child>td:last-child,.table-bordered tbody:last-child tr:last-child>th:last-child,.table-bordered tfoot:last-child tr:last-child>td:last-child,.table-bordered tfoot:last-child tr:last-child>th:last-child{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px} | |
| .table-bordered tfoot+tbody:last-child tr:last-child td:first-child{-webkit-border-bottom-left-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0} | |
| .table-bordered tfoot+tbody:last-child tr:last-child td:last-child{-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomright:0;border-bottom-right-radius:0} | |
| .table-bordered caption+thead tr:first-child th:first-child,.table-bordered caption+tbody tr:first-child td:first-child,.table-bordered colgroup+thead tr:first-child th:first-child,.table-bordered colgroup+tbody tr:first-child td:first-child{-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px} | |
| .table-bordered caption+thead tr:first-child th:last-child,.table-bordered caption+tbody tr:first-child td:last-child,.table-bordered colgroup+thead tr:first-child th:last-child,.table-bordered colgroup+tbody tr:first-child td:last-child{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px} | |
| .table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#f9f9f9} | |
| .table-hover tbody tr:hover>td,.table-hover tbody tr:hover>th{background-color:#f5f5f5} | |
| table td[class*="span"],table th[class*="span"],.row-fluid table td[class*="span"],.row-fluid table th[class*="span"]{display:table-cell;float:none;margin-left:0} | |
| .table td.span1,.table th.span1{float:none;width:44px;margin-left:0} | |
| .table td.span2,.table th.span2{float:none;width:124px;margin-left:0} | |
| .table td.span3,.table th.span3{float:none;width:204px;margin-left:0} | |
| .table td.span4,.table th.span4{float:none;width:284px;margin-left:0} | |
| .table td.span5,.table th.span5{float:none;width:364px;margin-left:0} | |
| .table td.span6,.table th.span6{float:none;width:444px;margin-left:0} | |
| .table td.span7,.table th.span7{float:none;width:524px;margin-left:0} | |
| .table td.span8,.table th.span8{float:none;width:604px;margin-left:0} | |
| .table td.span9,.table th.span9{float:none;width:684px;margin-left:0} | |
| .table td.span10,.table th.span10{float:none;width:764px;margin-left:0} | |
| .table td.span11,.table th.span11{float:none;width:844px;margin-left:0} | |
| .table td.span12,.table th.span12{float:none;width:924px;margin-left:0} | |
| .table tbody tr.success>td{background-color:#dff0d8} | |
| .table tbody tr.error>td{background-color:#f2dede} | |
| .table tbody tr.warning>td{background-color:#fcf8e3} | |
| .table tbody tr.info>td{background-color:#d9edf7} | |
| .table-hover tbody tr.success:hover>td{background-color:#d0e9c6} | |
| .table-hover tbody tr.error:hover>td{background-color:#ebcccc} | |
| .table-hover tbody tr.warning:hover>td{background-color:#faf2cc} | |
| .table-hover tbody tr.info:hover>td{background-color:#c4e3f3} | |
| [class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat;margin-top:1px} | |
| .icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:focus>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>li>a:focus>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:focus>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"],.dropdown-submenu:focus>a>[class*=" icon-"]{background-image:url("../img/glyphicons-halflings-white.png")} | |
| .icon-glass{background-position:0 0} | |
| .icon-music{background-position:-24px 0} | |
| .icon-search{background-position:-48px 0} | |
| .icon-envelope{background-position:-72px 0} | |
| .icon-heart{background-position:-96px 0} | |
| .icon-star{background-position:-120px 0} | |
| .icon-star-empty{background-position:-144px 0} | |
| .icon-user{background-position:-168px 0} | |
| .icon-film{background-position:-192px 0} | |
| .icon-th-large{background-position:-216px 0} | |
| .icon-th{background-position:-240px 0} | |
| .icon-th-list{background-position:-264px 0} | |
| .icon-ok{background-position:-288px 0} | |
| .icon-remove{background-position:-312px 0} | |
| .icon-zoom-in{background-position:-336px 0} | |
| .icon-zoom-out{background-position:-360px 0} | |
| .icon-off{background-position:-384px 0} | |
| .icon-signal{background-position:-408px 0} | |
| .icon-cog{background-position:-432px 0} | |
| .icon-trash{background-position:-456px 0} | |
| .icon-home{background-position:0 -24px} | |
| .icon-file{background-position:-24px -24px} | |
| .icon-time{background-position:-48px -24px} | |
| .icon-road{background-position:-72px -24px} | |
| .icon-download-alt{background-position:-96px -24px} | |
| .icon-download{background-position:-120px -24px} | |
| .icon-upload{background-position:-144px -24px} | |
| .icon-inbox{background-position:-168px -24px} | |
| .icon-play-circle{background-position:-192px -24px} | |
| .icon-repeat{background-position:-216px -24px} | |
| .icon-refresh{background-position:-240px -24px} | |
| .icon-list-alt{background-position:-264px -24px} | |
| .icon-lock{background-position:-287px -24px} | |
| .icon-flag{background-position:-312px -24px} | |
| .icon-headphones{background-position:-336px -24px} | |
| .icon-volume-off{background-position:-360px -24px} | |
| .icon-volume-down{background-position:-384px -24px} | |
| .icon-volume-up{background-position:-408px -24px} | |
| .icon-qrcode{background-position:-432px -24px} | |
| .icon-barcode{background-position:-456px -24px} | |
| .icon-tag{background-position:0 -48px} | |
| .icon-tags{background-position:-25px -48px} | |
| .icon-book{background-position:-48px -48px} | |
| .icon-bookmark{background-position:-72px -48px} | |
| .icon-print{background-position:-96px -48px} | |
| .icon-camera{background-position:-120px -48px} | |
| .icon-font{background-position:-144px -48px} | |
| .icon-bold{background-position:-167px -48px} | |
| .icon-italic{background-position:-192px -48px} | |
| .icon-text-height{background-position:-216px -48px} | |
| .icon-text-width{background-position:-240px -48px} | |
| .icon-align-left{background-position:-264px -48px} | |
| .icon-align-center{background-position:-288px -48px} | |
| .icon-align-right{background-position:-312px -48px} | |
| .icon-align-justify{background-position:-336px -48px} | |
| .icon-list{background-position:-360px -48px} | |
| .icon-indent-left{background-position:-384px -48px} | |
| .icon-indent-right{background-position:-408px -48px} | |
| .icon-facetime-video{background-position:-432px -48px} | |
| .icon-picture{background-position:-456px -48px} | |
| .icon-pencil{background-position:0 -72px} | |
| .icon-map-marker{background-position:-24px -72px} | |
| .icon-adjust{background-position:-48px -72px} | |
| .icon-tint{background-position:-72px -72px} | |
| .icon-edit{background-position:-96px -72px} | |
| .icon-share{background-position:-120px -72px} | |
| .icon-check{background-position:-144px -72px} | |
| .icon-move{background-position:-168px -72px} | |
| .icon-step-backward{background-position:-192px -72px} | |
| .icon-fast-backward{background-position:-216px -72px} | |
| .icon-backward{background-position:-240px -72px} | |
| .icon-play{background-position:-264px -72px} | |
| .icon-pause{background-position:-288px -72px} | |
| .icon-stop{background-position:-312px -72px} | |
| .icon-forward{background-position:-336px -72px} | |
| .icon-fast-forward{background-position:-360px -72px} | |
| .icon-step-forward{background-position:-384px -72px} | |
| .icon-eject{background-position:-408px -72px} | |
| .icon-chevron-left{background-position:-432px -72px} | |
| .icon-chevron-right{background-position:-456px -72px} | |
| .icon-plus-sign{background-position:0 -96px} | |
| .icon-minus-sign{background-position:-24px -96px} | |
| .icon-remove-sign{background-position:-48px -96px} | |
| .icon-ok-sign{background-position:-72px -96px} | |
| .icon-question-sign{background-position:-96px -96px} | |
| .icon-info-sign{background-position:-120px -96px} | |
| .icon-screenshot{background-position:-144px -96px} | |
| .icon-remove-circle{background-position:-168px -96px} | |
| .icon-ok-circle{background-position:-192px -96px} | |
| .icon-ban-circle{background-position:-216px -96px} | |
| .icon-arrow-left{background-position:-240px -96px} | |
| .icon-arrow-right{background-position:-264px -96px} | |
| .icon-arrow-up{background-position:-289px -96px} | |
| .icon-arrow-down{background-position:-312px -96px} | |
| .icon-share-alt{background-position:-336px -96px} | |
| .icon-resize-full{background-position:-360px -96px} | |
| .icon-resize-small{background-position:-384px -96px} | |
| .icon-plus{background-position:-408px -96px} | |
| .icon-minus{background-position:-433px -96px} | |
| .icon-asterisk{background-position:-456px -96px} | |
| .icon-exclamation-sign{background-position:0 -120px} | |
| .icon-gift{background-position:-24px -120px} | |
| .icon-leaf{background-position:-48px -120px} | |
| .icon-fire{background-position:-72px -120px} | |
| .icon-eye-open{background-position:-96px -120px} | |
| .icon-eye-close{background-position:-120px -120px} | |
| .icon-warning-sign{background-position:-144px -120px} | |
| .icon-plane{background-position:-168px -120px} | |
| .icon-calendar{background-position:-192px -120px} | |
| .icon-random{background-position:-216px -120px;width:16px} | |
| .icon-comment{background-position:-240px -120px} | |
| .icon-magnet{background-position:-264px -120px} | |
| .icon-chevron-up{background-position:-288px -120px} | |
| .icon-chevron-down{background-position:-313px -119px} | |
| .icon-retweet{background-position:-336px -120px} | |
| .icon-shopping-cart{background-position:-360px -120px} | |
| .icon-folder-close{background-position:-384px -120px;width:16px} | |
| .icon-folder-open{background-position:-408px -120px;width:16px} | |
| .icon-resize-vertical{background-position:-432px -119px} | |
| .icon-resize-horizontal{background-position:-456px -118px} | |
| .icon-hdd{background-position:0 -144px} | |
| .icon-bullhorn{background-position:-24px -144px} | |
| .icon-bell{background-position:-48px -144px} | |
| .icon-certificate{background-position:-72px -144px} | |
| .icon-thumbs-up{background-position:-96px -144px} | |
| .icon-thumbs-down{background-position:-120px -144px} | |
| .icon-hand-right{background-position:-144px -144px} | |
| .icon-hand-left{background-position:-168px -144px} | |
| .icon-hand-up{background-position:-192px -144px} | |
| .icon-hand-down{background-position:-216px -144px} | |
| .icon-circle-arrow-right{background-position:-240px -144px} | |
| .icon-circle-arrow-left{background-position:-264px -144px} | |
| .icon-circle-arrow-up{background-position:-288px -144px} | |
| .icon-circle-arrow-down{background-position:-312px -144px} | |
| .icon-globe{background-position:-336px -144px} | |
| .icon-wrench{background-position:-360px -144px} | |
| .icon-tasks{background-position:-384px -144px} | |
| .icon-filter{background-position:-408px -144px} | |
| .icon-briefcase{background-position:-432px -144px} | |
| .icon-fullscreen{background-position:-456px -144px} | |
| .dropup,.dropdown{position:relative} | |
| .dropdown-toggle{*margin-bottom:-3px} | |
| .dropdown-toggle:active,.open .dropdown-toggle{outline:0} | |
| .caret{display:inline-block;width:0;height:0;vertical-align:top;border-top:4px solid #000;border-right:4px solid transparent;border-left:4px solid transparent;content:""} | |
| .dropdown .caret{margin-top:8px;margin-left:2px} | |
| .dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);*border-right-width:2px;*border-bottom-width:2px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto} | |
| .dropdown-menu .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff} | |
| .dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:20px;color:#333;white-space:nowrap} | |
| .dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-submenu:hover>a,.dropdown-submenu:focus>a{text-decoration:none;color:#fff;background-color:#0081c2;background-image:-moz-linear-gradient(top, #08c, #0077b3);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0077b3));background-image:-webkit-linear-gradient(top, #08c, #0077b3);background-image:-o-linear-gradient(top, #08c, #0077b3);background-image:linear-gradient(to bottom, #08c, #0077b3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0)} | |
| .dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#0081c2;background-image:-moz-linear-gradient(top, #08c, #0077b3);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0077b3));background-image:-webkit-linear-gradient(top, #08c, #0077b3);background-image:-o-linear-gradient(top, #08c, #0077b3);background-image:linear-gradient(to bottom, #08c, #0077b3);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0)} | |
| .dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999} | |
| .dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:default} | |
| .open{*z-index:1000}.open>.dropdown-menu{display:block} | |
| .dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990} | |
| .pull-right>.dropdown-menu{right:0;left:auto} | |
| .dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000;content:""} | |
| .dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px} | |
| .dropdown-submenu{position:relative} | |
| .dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;border-radius:0 6px 6px 6px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px} | |
| .dropdown-submenu:hover>.dropdown-menu{display:block} | |
| .dropup .dropdown-submenu>.dropdown-menu{top:auto;bottom:0;margin-top:0;margin-bottom:-2px;border-radius:5px 5px 5px 0;-webkit-border-radius:5px 5px 5px 0;-moz-border-radius:5px 5px 5px 0;border-radius:5px 5px 5px 0} | |
| .dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#ccc;margin-top:5px;margin-right:-10px} | |
| .dropdown-submenu:hover>a:after{border-left-color:#fff} | |
| .dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;border-radius:6px 0 6px 6px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px} | |
| .dropdown .dropdown-menu .nav-header{padding-left:20px;padding-right:20px} | |
| .typeahead{z-index:1051;margin-top:2px;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px} | |
| .well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)} | |
| .well-large{padding:24px;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px} | |
| .well-small{padding:9px;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} | |
| .fade{opacity:0;-webkit-transition:opacity .15s linear;-moz-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1} | |
| .collapse{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;-moz-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease}.collapse.in{height:auto} | |
| .close{float:right;font-size:20px;font-weight:bold;line-height:20px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)} | |
| button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none} | |
| .btn{display:inline-block;*display:inline;*zoom:1;padding:4px 12px;margin-bottom:0;font-size:13px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,0.75);background-color:#f5f5f5;background-image:-moz-linear-gradient(top, #fff, #e6e6e6);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));background-image:-webkit-linear-gradient(top, #fff, #e6e6e6);background-image:-o-linear-gradient(top, #fff, #e6e6e6);background-image:linear-gradient(to bottom, #fff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)}.btn:hover,.btn:focus,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{color:#333;background-color:#e6e6e6;*background-color:#d9d9d9} | |
| .btn:active,.btn.active{background-color:#ccc \9} | |
| .btn:first-child{*margin-left:0} | |
| .btn:hover,.btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear} | |
| .btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px} | |
| .btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)} | |
| .btn.disabled,.btn[disabled]{cursor:default;background-image:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none} | |
| .btn-large{padding:11px 19px;font-size:16.25px;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px} | |
| .btn-large [class^="icon-"],.btn-large [class*=" icon-"]{margin-top:4px} | |
| .btn-small{padding:2px 10px;font-size:11.049999999999999px;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} | |
| .btn-small [class^="icon-"],.btn-small [class*=" icon-"]{margin-top:0} | |
| .btn-mini [class^="icon-"],.btn-mini [class*=" icon-"]{margin-top:-1px} | |
| .btn-mini{padding:0 6px;font-size:9.75px;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} | |
| .btn-block{display:block;width:100%;padding-left:0;padding-right:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} | |
| .btn-block+.btn-block{margin-top:5px} | |
| input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%} | |
| .btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255,255,255,0.75)} | |
| .btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;background-image:-moz-linear-gradient(top, #08c, #04c);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#04c));background-image:-webkit-linear-gradient(top, #08c, #04c);background-image:-o-linear-gradient(top, #08c, #04c);background-image:linear-gradient(to bottom, #08c, #04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3} | |
| .btn-primary:active,.btn-primary.active{background-color:#039 \9} | |
| .btn-warning{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(to bottom, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#f89406;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{color:#fff;background-color:#f89406;*background-color:#df8505} | |
| .btn-warning:active,.btn-warning.active{background-color:#c67605 \9} | |
| .btn-danger{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#da4f49;background-image:-moz-linear-gradient(top, #ee5f5b, #bd362f);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));background-image:-webkit-linear-gradient(top, #ee5f5b, #bd362f);background-image:-o-linear-gradient(top, #ee5f5b, #bd362f);background-image:linear-gradient(to bottom, #ee5f5b, #bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#bd362f;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{color:#fff;background-color:#bd362f;*background-color:#a9302a} | |
| .btn-danger:active,.btn-danger.active{background-color:#942a25 \9} | |
| .btn-success{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#5bb75b;background-image:-moz-linear-gradient(top, #62c462, #51a351);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));background-image:-webkit-linear-gradient(top, #62c462, #51a351);background-image:-o-linear-gradient(top, #62c462, #51a351);background-image:linear-gradient(to bottom, #62c462, #51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#51a351;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{color:#fff;background-color:#51a351;*background-color:#499249} | |
| .btn-success:active,.btn-success.active{background-color:#408140 \9} | |
| .btn-info{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#49afcd;background-image:-moz-linear-gradient(top, #5bc0de, #2f96b4);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));background-image:-webkit-linear-gradient(top, #5bc0de, #2f96b4);background-image:-o-linear-gradient(top, #5bc0de, #2f96b4);background-image:linear-gradient(to bottom, #5bc0de, #2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#2f96b4;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{color:#fff;background-color:#2f96b4;*background-color:#2a85a0} | |
| .btn-info:active,.btn-info.active{background-color:#24748c \9} | |
| .btn-inverse{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#363636;background-image:-moz-linear-gradient(top, #444, #222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#444), to(#222));background-image:-webkit-linear-gradient(top, #444, #222);background-image:-o-linear-gradient(top, #444, #222);background-image:linear-gradient(to bottom, #444, #222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);border-color:#222 #222 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#222;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.btn-inverse:hover,.btn-inverse:focus,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{color:#fff;background-color:#222;*background-color:#151515} | |
| .btn-inverse:active,.btn-inverse.active{background-color:#080808 \9} | |
| button.btn,input[type="submit"].btn{*padding-top:3px;*padding-bottom:3px}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0} | |
| button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px} | |
| button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px} | |
| button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px} | |
| .btn-link,.btn-link:active,.btn-link[disabled]{background-color:transparent;background-image:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none} | |
| .btn-link{border-color:transparent;cursor:pointer;color:#08c;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| .btn-link:hover,.btn-link:focus{color:#005580;text-decoration:underline;background-color:transparent} | |
| .btn-link[disabled]:hover,.btn-link[disabled]:focus{color:#333;text-decoration:none} | |
| .btn-group{position:relative;display:inline-block;*display:inline;*zoom:1;font-size:0;vertical-align:middle;white-space:nowrap;*margin-left:.3em}.btn-group:first-child{*margin-left:0} | |
| .btn-group+.btn-group{margin-left:5px} | |
| .btn-toolbar{font-size:0;margin-top:10px;margin-bottom:10px}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group{margin-left:5px} | |
| .btn-group>.btn{position:relative;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| .btn-group>.btn+.btn{margin-left:-1px} | |
| .btn-group>.btn,.btn-group>.dropdown-menu,.btn-group>.popover{font-size:13px} | |
| .btn-group>.btn-mini{font-size:9.75px} | |
| .btn-group>.btn-small{font-size:11.049999999999999px} | |
| .btn-group>.btn-large{font-size:16.25px} | |
| .btn-group>.btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px} | |
| .btn-group>.btn:last-child,.btn-group>.dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px} | |
| .btn-group>.btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px} | |
| .btn-group>.btn.large:last-child,.btn-group>.large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px} | |
| .btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active{z-index:2} | |
| .btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0} | |
| .btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);*padding-top:5px;*padding-bottom:5px} | |
| .btn-group>.btn-mini+.dropdown-toggle{padding-left:5px;padding-right:5px;*padding-top:2px;*padding-bottom:2px} | |
| .btn-group>.btn-small+.dropdown-toggle{*padding-top:5px;*padding-bottom:4px} | |
| .btn-group>.btn-large+.dropdown-toggle{padding-left:12px;padding-right:12px;*padding-top:7px;*padding-bottom:7px} | |
| .btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)} | |
| .btn-group.open .btn.dropdown-toggle{background-color:#e6e6e6} | |
| .btn-group.open .btn-primary.dropdown-toggle{background-color:#04c} | |
| .btn-group.open .btn-warning.dropdown-toggle{background-color:#f89406} | |
| .btn-group.open .btn-danger.dropdown-toggle{background-color:#bd362f} | |
| .btn-group.open .btn-success.dropdown-toggle{background-color:#51a351} | |
| .btn-group.open .btn-info.dropdown-toggle{background-color:#2f96b4} | |
| .btn-group.open .btn-inverse.dropdown-toggle{background-color:#222} | |
| .btn .caret{margin-top:8px;margin-left:0} | |
| .btn-large .caret{margin-top:6px} | |
| .btn-large .caret{border-left-width:5px;border-right-width:5px;border-top-width:5px} | |
| .btn-mini .caret,.btn-small .caret{margin-top:8px} | |
| .dropup .btn-large .caret{border-bottom-width:5px} | |
| .btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#fff;border-bottom-color:#fff} | |
| .btn-group-vertical{display:inline-block;*display:inline;*zoom:1} | |
| .btn-group-vertical>.btn{display:block;float:none;max-width:100%;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| .btn-group-vertical>.btn+.btn{margin-left:0;margin-top:-1px} | |
| .btn-group-vertical>.btn:first-child{border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0} | |
| .btn-group-vertical>.btn:last-child{border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px} | |
| .btn-group-vertical>.btn-large:first-child{border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;-moz-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0} | |
| .btn-group-vertical>.btn-large:last-child{border-radius:0 0 6px 6px;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px} | |
| .alert{padding:8px 35px 8px 14px;margin-bottom:20px;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px} | |
| .alert,.alert h4{color:#c09853} | |
| .alert h4{margin:0} | |
| .alert .close{position:relative;top:-2px;right:-21px;line-height:20px} | |
| .alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847} | |
| .alert-success h4{color:#468847} | |
| .alert-danger,.alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48} | |
| .alert-danger h4,.alert-error h4{color:#b94a48} | |
| .alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad} | |
| .alert-info h4{color:#3a87ad} | |
| .alert-block{padding-top:14px;padding-bottom:14px} | |
| .alert-block>p,.alert-block>ul{margin-bottom:0} | |
| .alert-block p+p{margin-top:5px} | |
| .nav{margin-left:0;margin-bottom:20px;list-style:none} | |
| .nav>li>a{display:block} | |
| .nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee} | |
| .nav>li>a>img{max-width:none} | |
| .nav>.pull-right{float:right} | |
| .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:20px;color:#999;text-shadow:0 1px 0 rgba(255,255,255,0.5);text-transform:uppercase} | |
| .nav li+.nav-header{margin-top:9px} | |
| .nav-list{padding-left:15px;padding-right:15px;margin-bottom:0} | |
| .nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255,255,255,0.5)} | |
| .nav-list>li>a{padding:3px 15px} | |
| .nav-list>.active>a,.nav-list>.active>a:hover,.nav-list>.active>a:focus{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.2);background-color:#08c} | |
| .nav-list [class^="icon-"],.nav-list [class*=" icon-"]{margin-right:2px} | |
| .nav-list .divider{*width:100%;height:1px;margin:9px 1px;*margin:-5px 0 5px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #fff} | |
| .nav-tabs,.nav-pills{*zoom:1}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:"";line-height:0} | |
| .nav-tabs:after,.nav-pills:after{clear:both} | |
| .nav-tabs>li,.nav-pills>li{float:left} | |
| .nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px} | |
| .nav-tabs{border-bottom:1px solid #ddd} | |
| .nav-tabs>li{margin-bottom:-1px} | |
| .nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:20px;border:1px solid transparent;border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover,.nav-tabs>li>a:focus{border-color:#eee #eee #ddd} | |
| .nav-tabs>.active>a,.nav-tabs>.active>a:hover,.nav-tabs>.active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default} | |
| .nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px} | |
| .nav-pills>.active>a,.nav-pills>.active>a:hover,.nav-pills>.active>a:focus{color:#fff;background-color:#08c} | |
| .nav-stacked>li{float:none} | |
| .nav-stacked>li>a{margin-right:0} | |
| .nav-tabs.nav-stacked{border-bottom:0} | |
| .nav-tabs.nav-stacked>li>a{border:1px solid #ddd;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| .nav-tabs.nav-stacked>li:first-child>a{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px} | |
| .nav-tabs.nav-stacked>li:last-child>a{-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px} | |
| .nav-tabs.nav-stacked>li>a:hover,.nav-tabs.nav-stacked>li>a:focus{border-color:#ddd;z-index:2} | |
| .nav-pills.nav-stacked>li>a{margin-bottom:3px} | |
| .nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px} | |
| .nav-tabs .dropdown-menu{border-radius:0 0 6px 6px;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px} | |
| .nav-pills .dropdown-menu{border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px} | |
| .nav .dropdown-toggle .caret{border-top-color:#08c;border-bottom-color:#08c;margin-top:6px} | |
| .nav .dropdown-toggle:hover .caret,.nav .dropdown-toggle:focus .caret{border-top-color:#005580;border-bottom-color:#005580} | |
| .nav-tabs .dropdown-toggle .caret{margin-top:8px} | |
| .nav .active .dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff} | |
| .nav-tabs .active .dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555} | |
| .nav>.dropdown.active>a:hover,.nav>.dropdown.active>a:focus{cursor:pointer} | |
| .nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover,.nav>li.dropdown.open.active>a:focus{color:#fff;background-color:#999;border-color:#999} | |
| .nav li.dropdown.open .caret,.nav li.dropdown.open.active .caret,.nav li.dropdown.open a:hover .caret,.nav li.dropdown.open a:focus .caret{border-top-color:#fff;border-bottom-color:#fff;opacity:1;filter:alpha(opacity=100)} | |
| .tabs-stacked .open>a:hover,.tabs-stacked .open>a:focus{border-color:#999} | |
| .tabbable{*zoom:1}.tabbable:before,.tabbable:after{display:table;content:"";line-height:0} | |
| .tabbable:after{clear:both} | |
| .tab-content{overflow:auto} | |
| .tabs-below>.nav-tabs,.tabs-right>.nav-tabs,.tabs-left>.nav-tabs{border-bottom:0} | |
| .tab-content>.tab-pane,.pill-content>.pill-pane{display:none} | |
| .tab-content>.active,.pill-content>.active{display:block} | |
| .tabs-below>.nav-tabs{border-top:1px solid #ddd} | |
| .tabs-below>.nav-tabs>li{margin-top:-1px;margin-bottom:0} | |
| .tabs-below>.nav-tabs>li>a{border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.tabs-below>.nav-tabs>li>a:hover,.tabs-below>.nav-tabs>li>a:focus{border-bottom-color:transparent;border-top-color:#ddd} | |
| .tabs-below>.nav-tabs>.active>a,.tabs-below>.nav-tabs>.active>a:hover,.tabs-below>.nav-tabs>.active>a:focus{border-color:transparent #ddd #ddd #ddd} | |
| .tabs-left>.nav-tabs>li,.tabs-right>.nav-tabs>li{float:none} | |
| .tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px} | |
| .tabs-left>.nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd} | |
| .tabs-left>.nav-tabs>li>a{margin-right:-1px;border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px} | |
| .tabs-left>.nav-tabs>li>a:hover,.tabs-left>.nav-tabs>li>a:focus{border-color:#eee #ddd #eee #eee} | |
| .tabs-left>.nav-tabs .active>a,.tabs-left>.nav-tabs .active>a:hover,.tabs-left>.nav-tabs .active>a:focus{border-color:#ddd transparent #ddd #ddd;*border-right-color:#fff} | |
| .tabs-right>.nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd} | |
| .tabs-right>.nav-tabs>li>a{margin-left:-1px;border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0} | |
| .tabs-right>.nav-tabs>li>a:hover,.tabs-right>.nav-tabs>li>a:focus{border-color:#eee #eee #eee #ddd} | |
| .tabs-right>.nav-tabs .active>a,.tabs-right>.nav-tabs .active>a:hover,.tabs-right>.nav-tabs .active>a:focus{border-color:#ddd #ddd #ddd transparent;*border-left-color:#fff} | |
| .nav>.disabled>a{color:#999} | |
| .nav>.disabled>a:hover,.nav>.disabled>a:focus{text-decoration:none;background-color:transparent;cursor:default} | |
| .navbar{overflow:visible;margin-bottom:20px;*position:relative;*z-index:2} | |
| .navbar-inner{min-height:36px;padding-left:20px;padding-right:20px;background-color:#fafafa;background-image:-moz-linear-gradient(top, #fff, #f2f2f2);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f2f2f2));background-image:-webkit-linear-gradient(top, #fff, #f2f2f2);background-image:-o-linear-gradient(top, #fff, #f2f2f2);background-image:linear-gradient(to bottom, #fff, #f2f2f2);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);border:1px solid #d4d4d4;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.065);-moz-box-shadow:0 1px 4px rgba(0,0,0,0.065);box-shadow:0 1px 4px rgba(0,0,0,0.065);*zoom:1}.navbar-inner:before,.navbar-inner:after{display:table;content:"";line-height:0} | |
| .navbar-inner:after{clear:both} | |
| .navbar .container{width:auto} | |
| .nav-collapse.collapse{height:auto;overflow:visible} | |
| .navbar .brand{float:left;display:block;padding:8px 20px 8px;margin-left:-20px;font-size:20px;font-weight:200;color:#777;text-shadow:0 1px 0 #fff}.navbar .brand:hover,.navbar .brand:focus{text-decoration:none} | |
| .navbar-text{margin-bottom:0;line-height:36px;color:#777} | |
| .navbar-link{color:#777}.navbar-link:hover,.navbar-link:focus{color:#333} | |
| .navbar .divider-vertical{height:36px;margin:0 9px;border-left:1px solid #f2f2f2;border-right:1px solid #fff} | |
| .navbar .btn,.navbar .btn-group{margin-top:3px} | |
| .navbar .btn-group .btn,.navbar .input-prepend .btn,.navbar .input-append .btn,.navbar .input-prepend .btn-group,.navbar .input-append .btn-group{margin-top:0} | |
| .navbar-form{margin-bottom:0;*zoom:1}.navbar-form:before,.navbar-form:after{display:table;content:"";line-height:0} | |
| .navbar-form:after{clear:both} | |
| .navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:3px} | |
| .navbar-form input,.navbar-form select,.navbar-form .btn{display:inline-block;margin-bottom:0} | |
| .navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px} | |
| .navbar-form .input-append,.navbar-form .input-prepend{margin-top:5px;white-space:nowrap}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0} | |
| .navbar-search{position:relative;float:left;margin-top:3px;margin-bottom:0}.navbar-search .search-query{margin-bottom:0;padding:4px 14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;border-radius:15px;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px} | |
| .navbar-static-top{position:static;margin-bottom:0}.navbar-static-top .navbar-inner{border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| .navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0} | |
| .navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{border-width:0 0 1px} | |
| .navbar-fixed-bottom .navbar-inner{border-width:1px 0 0} | |
| .navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| .navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px} | |
| .navbar-fixed-top{top:0} | |
| .navbar-fixed-top .navbar-inner,.navbar-static-top .navbar-inner{-webkit-box-shadow:0 1px 10px rgba(0,0,0,.1);-moz-box-shadow:0 1px 10px rgba(0,0,0,.1);box-shadow:0 1px 10px rgba(0,0,0,.1)} | |
| .navbar-fixed-bottom{bottom:0}.navbar-fixed-bottom .navbar-inner{-webkit-box-shadow:0 -1px 10px rgba(0,0,0,.1);-moz-box-shadow:0 -1px 10px rgba(0,0,0,.1);box-shadow:0 -1px 10px rgba(0,0,0,.1)} | |
| .navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0} | |
| .navbar .nav.pull-right{float:right;margin-right:0} | |
| .navbar .nav>li{float:left} | |
| .navbar .nav>li>a{float:none;padding:8px 15px 8px;color:#777;text-decoration:none;text-shadow:0 1px 0 #fff} | |
| .navbar .nav .dropdown-toggle .caret{margin-top:8px} | |
| .navbar .nav>li>a:focus,.navbar .nav>li>a:hover{background-color:transparent;color:#333;text-decoration:none} | |
| .navbar .nav>.active>a,.navbar .nav>.active>a:hover,.navbar .nav>.active>a:focus{color:#555;text-decoration:none;background-color:#e5e5e5;-webkit-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);-moz-box-shadow:inset 0 3px 8px rgba(0,0,0,0.125);box-shadow:inset 0 3px 8px rgba(0,0,0,0.125)} | |
| .navbar .btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#ededed;background-image:-moz-linear-gradient(top, #f2f2f2, #e5e5e5);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5));background-image:-webkit-linear-gradient(top, #f2f2f2, #e5e5e5);background-image:-o-linear-gradient(top, #f2f2f2, #e5e5e5);background-image:linear-gradient(to bottom, #f2f2f2, #e5e5e5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0);border-color:#e5e5e5 #e5e5e5 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#e5e5e5;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075)}.navbar .btn-navbar:hover,.navbar .btn-navbar:focus,.navbar .btn-navbar:active,.navbar .btn-navbar.active,.navbar .btn-navbar.disabled,.navbar .btn-navbar[disabled]{color:#fff;background-color:#e5e5e5;*background-color:#d9d9d9} | |
| .navbar .btn-navbar:active,.navbar .btn-navbar.active{background-color:#ccc \9} | |
| .navbar .btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 1px 0 rgba(0,0,0,0.25);box-shadow:0 1px 0 rgba(0,0,0,0.25)} | |
| .btn-navbar .icon-bar+.icon-bar{margin-top:3px} | |
| .navbar .nav>li>.dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute;top:-7px;left:9px} | |
| .navbar .nav>li>.dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:10px} | |
| .navbar-fixed-bottom .nav>li>.dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);border-bottom:0;bottom:-7px;top:auto} | |
| .navbar-fixed-bottom .nav>li>.dropdown-menu:after{border-top:6px solid #fff;border-bottom:0;bottom:-6px;top:auto} | |
| .navbar .nav li.dropdown>a:hover .caret,.navbar .nav li.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333} | |
| .navbar .nav li.dropdown.open>.dropdown-toggle,.navbar .nav li.dropdown.active>.dropdown-toggle,.navbar .nav li.dropdown.open.active>.dropdown-toggle{background-color:#e5e5e5;color:#555} | |
| .navbar .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#777;border-bottom-color:#777} | |
| .navbar .nav li.dropdown.open>.dropdown-toggle .caret,.navbar .nav li.dropdown.active>.dropdown-toggle .caret,.navbar .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#555;border-bottom-color:#555} | |
| .navbar .pull-right>li>.dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right{left:auto;right:0}.navbar .pull-right>li>.dropdown-menu:before,.navbar .nav>li>.dropdown-menu.pull-right:before{left:auto;right:12px} | |
| .navbar .pull-right>li>.dropdown-menu:after,.navbar .nav>li>.dropdown-menu.pull-right:after{left:auto;right:13px} | |
| .navbar .pull-right>li>.dropdown-menu .dropdown-menu,.navbar .nav>li>.dropdown-menu.pull-right .dropdown-menu{left:auto;right:100%;margin-left:0;margin-right:-1px;border-radius:6px 0 6px 6px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px} | |
| .navbar-inverse .navbar-inner{background-color:#1b1b1b;background-image:-moz-linear-gradient(top, #222, #111);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#222), to(#111));background-image:-webkit-linear-gradient(top, #222, #111);background-image:-o-linear-gradient(top, #222, #111);background-image:linear-gradient(to bottom, #222, #111);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0);border-color:#252525} | |
| .navbar-inverse .brand,.navbar-inverse .nav>li>a{color:#999;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.navbar-inverse .brand:hover,.navbar-inverse .nav>li>a:hover,.navbar-inverse .brand:focus,.navbar-inverse .nav>li>a:focus{color:#fff} | |
| .navbar-inverse .brand{color:#999} | |
| .navbar-inverse .navbar-text{color:#999} | |
| .navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{background-color:transparent;color:#fff} | |
| .navbar-inverse .nav .active>a,.navbar-inverse .nav .active>a:hover,.navbar-inverse .nav .active>a:focus{color:#fff;background-color:#111} | |
| .navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover,.navbar-inverse .navbar-link:focus{color:#fff} | |
| .navbar-inverse .divider-vertical{border-left-color:#111;border-right-color:#222} | |
| .navbar-inverse .nav li.dropdown.open>.dropdown-toggle,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle{background-color:#111;color:#fff} | |
| .navbar-inverse .nav li.dropdown>a:hover .caret,.navbar-inverse .nav li.dropdown>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff} | |
| .navbar-inverse .nav li.dropdown>.dropdown-toggle .caret{border-top-color:#999;border-bottom-color:#999} | |
| .navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.active>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle .caret{border-top-color:#fff;border-bottom-color:#fff} | |
| .navbar-inverse .navbar-search .search-query{color:#fff;background-color:#515151;border-color:#111;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15);box-shadow:inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15);-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.navbar-inverse .navbar-search .search-query:-moz-placeholder{color:#ccc} | |
| .navbar-inverse .navbar-search .search-query:-ms-input-placeholder{color:#ccc} | |
| .navbar-inverse .navbar-search .search-query::-webkit-input-placeholder{color:#ccc} | |
| .navbar-inverse .navbar-search .search-query:focus,.navbar-inverse .navbar-search .search-query.focused{padding:5px 15px;color:#333;text-shadow:0 1px 0 #fff;background-color:#fff;border:0;-webkit-box-shadow:0 0 3px rgba(0,0,0,0.15);-moz-box-shadow:0 0 3px rgba(0,0,0,0.15);box-shadow:0 0 3px rgba(0,0,0,0.15);outline:0} | |
| .navbar-inverse .btn-navbar{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e0e0e;background-image:-moz-linear-gradient(top, #151515, #040404);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404));background-image:-webkit-linear-gradient(top, #151515, #040404);background-image:-o-linear-gradient(top, #151515, #040404);background-image:linear-gradient(to bottom, #151515, #040404);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515', endColorstr='#ff040404', GradientType=0);border-color:#040404 #040404 #000;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#040404;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.navbar-inverse .btn-navbar:hover,.navbar-inverse .btn-navbar:focus,.navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active,.navbar-inverse .btn-navbar.disabled,.navbar-inverse .btn-navbar[disabled]{color:#fff;background-color:#040404;*background-color:#000} | |
| .navbar-inverse .btn-navbar:active,.navbar-inverse .btn-navbar.active{background-color:#000 \9} | |
| .breadcrumb{padding:8px 15px;margin:0 0 20px;list-style:none;background-color:#f5f5f5;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.breadcrumb>li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #fff}.breadcrumb>li>.divider{padding:0 5px;color:#ccc} | |
| .breadcrumb>.active{color:#999} | |
| .pagination{margin:20px 0} | |
| .pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 2px rgba(0,0,0,0.05)} | |
| .pagination ul>li{display:inline} | |
| .pagination ul>li>a,.pagination ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;background-color:#fff;border:1px solid #ddd;border-left-width:0} | |
| .pagination ul>li>a:hover,.pagination ul>li>a:focus,.pagination ul>.active>a,.pagination ul>.active>span{background-color:#f5f5f5} | |
| .pagination ul>.active>a,.pagination ul>.active>span{color:#999;cursor:default} | |
| .pagination ul>.disabled>span,.pagination ul>.disabled>a,.pagination ul>.disabled>a:hover,.pagination ul>.disabled>a:focus{color:#999;background-color:transparent;cursor:default} | |
| .pagination ul>li:first-child>a,.pagination ul>li:first-child>span{border-left-width:1px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px} | |
| .pagination ul>li:last-child>a,.pagination ul>li:last-child>span{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px} | |
| .pagination-centered{text-align:center} | |
| .pagination-right{text-align:right} | |
| .pagination-large ul>li>a,.pagination-large ul>li>span{padding:11px 19px;font-size:16.25px} | |
| .pagination-large ul>li:first-child>a,.pagination-large ul>li:first-child>span{-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px} | |
| .pagination-large ul>li:last-child>a,.pagination-large ul>li:last-child>span{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px} | |
| .pagination-mini ul>li:first-child>a,.pagination-small ul>li:first-child>a,.pagination-mini ul>li:first-child>span,.pagination-small ul>li:first-child>span{-webkit-border-top-left-radius:3px;-moz-border-radius-topleft:3px;border-top-left-radius:3px;-webkit-border-bottom-left-radius:3px;-moz-border-radius-bottomleft:3px;border-bottom-left-radius:3px} | |
| .pagination-mini ul>li:last-child>a,.pagination-small ul>li:last-child>a,.pagination-mini ul>li:last-child>span,.pagination-small ul>li:last-child>span{-webkit-border-top-right-radius:3px;-moz-border-radius-topright:3px;border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;-moz-border-radius-bottomright:3px;border-bottom-right-radius:3px} | |
| .pagination-small ul>li>a,.pagination-small ul>li>span{padding:2px 10px;font-size:11.049999999999999px} | |
| .pagination-mini ul>li>a,.pagination-mini ul>li>span{padding:0 6px;font-size:9.75px} | |
| .pager{margin:20px 0;list-style:none;text-align:center;*zoom:1}.pager:before,.pager:after{display:table;content:"";line-height:0} | |
| .pager:after{clear:both} | |
| .pager li{display:inline} | |
| .pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px} | |
| .pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#f5f5f5} | |
| .pager .next>a,.pager .next>span{float:right} | |
| .pager .previous>a,.pager .previous>span{float:left} | |
| .pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;background-color:#fff;cursor:default} | |
| .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0} | |
| .modal-backdrop,.modal-backdrop.fade.in{opacity:.8;filter:alpha(opacity=80)} | |
| .modal{position:fixed;top:10%;left:50%;z-index:1050;width:560px;margin-left:-280px;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);box-shadow:0 3px 7px rgba(0,0,0,0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;outline:none}.modal.fade{-webkit-transition:opacity .3s linear, top .3s ease-out;-moz-transition:opacity .3s linear, top .3s ease-out;-o-transition:opacity .3s linear, top .3s ease-out;transition:opacity .3s linear, top .3s ease-out;top:-25%} | |
| .modal.fade.in{top:10%} | |
| .modal-header{padding:9px 15px;border-bottom:1px solid #eee}.modal-header .close{margin-top:2px} | |
| .modal-header h3{margin:0;line-height:30px} | |
| .modal-body{position:relative;overflow-y:auto;max-height:400px;padding:15px} | |
| .modal-form{margin-bottom:0} | |
| .modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #fff;-moz-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;*zoom:1}.modal-footer:before,.modal-footer:after{display:table;content:"";line-height:0} | |
| .modal-footer:after{clear:both} | |
| .modal-footer .btn+.btn{margin-left:5px;margin-bottom:0} | |
| .modal-footer .btn-group .btn+.btn{margin-left:-1px} | |
| .modal-footer .btn-block+.btn-block{margin-left:0} | |
| .tooltip{position:absolute;z-index:1030;display:block;visibility:visible;font-size:11px;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.8;filter:alpha(opacity=80)} | |
| .tooltip.top{margin-top:-3px;padding:5px 0} | |
| .tooltip.right{margin-left:3px;padding:0 5px} | |
| .tooltip.bottom{margin-top:3px;padding:5px 0} | |
| .tooltip.left{margin-left:-3px;padding:0 5px} | |
| .tooltip-inner{max-width:200px;padding:8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px} | |
| .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid} | |
| .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000} | |
| .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000} | |
| .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000} | |
| .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000} | |
| .popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;background-color:#fff;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);white-space:normal}.popover.top{margin-top:-10px} | |
| .popover.right{margin-left:10px} | |
| .popover.bottom{margin-top:10px} | |
| .popover.left{margin-left:-10px} | |
| .popover-title{margin:0;padding:8px 14px;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.popover-title:empty{display:none} | |
| .popover-content{padding:9px 14px} | |
| .popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid} | |
| .popover .arrow{border-width:11px} | |
| .popover .arrow:after{border-width:10px;content:""} | |
| .popover.top .arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);bottom:-11px}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff} | |
| .popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,0.25)}.popover.right .arrow:after{left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff} | |
| .popover.bottom .arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);top:-11px}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff} | |
| .popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,0.25)}.popover.left .arrow:after{right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px} | |
| .thumbnails{margin-left:-20px;list-style:none;*zoom:1}.thumbnails:before,.thumbnails:after{display:table;content:"";line-height:0} | |
| .thumbnails:after{clear:both} | |
| .row-fluid .thumbnails{margin-left:0} | |
| .thumbnails>li{float:left;margin-bottom:20px;margin-left:20px} | |
| .thumbnail{display:block;padding:4px;line-height:20px;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.055);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.055);box-shadow:0 1px 3px rgba(0,0,0,0.055);-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out} | |
| a.thumbnail:hover,a.thumbnail:focus{border-color:#08c;-webkit-box-shadow:0 1px 4px rgba(0,105,214,0.25);-moz-box-shadow:0 1px 4px rgba(0,105,214,0.25);box-shadow:0 1px 4px rgba(0,105,214,0.25)} | |
| .thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto} | |
| .thumbnail .caption{padding:9px;color:#555} | |
| .media,.media-body{overflow:hidden;*overflow:visible;zoom:1} | |
| .media,.media .media{margin-top:15px} | |
| .media:first-child{margin-top:0} | |
| .media-object{display:block} | |
| .media-heading{margin:0 0 5px} | |
| .media>.pull-left{margin-right:10px} | |
| .media>.pull-right{margin-left:10px} | |
| .media-list{margin-left:0;list-style:none} | |
| .label,.badge{display:inline-block;padding:2px 4px;font-size:10.998px;font-weight:bold;line-height:14px;color:#fff;vertical-align:baseline;white-space:nowrap;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#999} | |
| .label{border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} | |
| .badge{padding-left:9px;padding-right:9px;border-radius:9px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px} | |
| .label:empty,.badge:empty{display:none} | |
| a.label:hover,a.label:focus,a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer} | |
| .label-important,.badge-important{background-color:#b94a48} | |
| .label-important[href],.badge-important[href]{background-color:#953b39} | |
| .label-warning,.badge-warning{background-color:#f89406} | |
| .label-warning[href],.badge-warning[href]{background-color:#c67605} | |
| .label-success,.badge-success{background-color:#468847} | |
| .label-success[href],.badge-success[href]{background-color:#356635} | |
| .label-info,.badge-info{background-color:#3a87ad} | |
| .label-info[href],.badge-info[href]{background-color:#2d6987} | |
| .label-inverse,.badge-inverse{background-color:#333} | |
| .label-inverse[href],.badge-inverse[href]{background-color:#1a1a1a} | |
| .btn .label,.btn .badge{position:relative;top:-1px} | |
| .btn-mini .label,.btn-mini .badge{top:0} | |
| @-webkit-keyframes progress-bar-stripes{from{background-position:40px 0} to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0} to{background-position:0 0}}@-ms-keyframes progress-bar-stripes{from{background-position:40px 0} to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0} to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0} to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));background-image:-webkit-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-o-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:linear-gradient(to bottom, #f5f5f5, #f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px} | |
| .progress .bar{width:0;height:100%;color:#fff;float:left;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top, #149bdf, #0480be);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));background-image:-webkit-linear-gradient(top, #149bdf, #0480be);background-image:-o-linear-gradient(top, #149bdf, #0480be);background-image:linear-gradient(to bottom, #149bdf, #0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease} | |
| .progress .bar+.bar{-webkit-box-shadow:inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15);-moz-box-shadow:inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15)} | |
| .progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,0.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,0.15)), color-stop(.75, rgba(255,255,255,0.15)), color-stop(.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px} | |
| .progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite} | |
| .progress-danger .bar,.progress .bar-danger{background-color:#dd514c;background-image:-moz-linear-gradient(top, #ee5f5b, #c43c35);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));background-image:-webkit-linear-gradient(top, #ee5f5b, #c43c35);background-image:-o-linear-gradient(top, #ee5f5b, #c43c35);background-image:linear-gradient(to bottom, #ee5f5b, #c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0)} | |
| .progress-danger.progress-striped .bar,.progress-striped .bar-danger{background-color:#ee5f5b;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,0.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,0.15)), color-stop(.75, rgba(255,255,255,0.15)), color-stop(.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)} | |
| .progress-success .bar,.progress .bar-success{background-color:#5eb95e;background-image:-moz-linear-gradient(top, #62c462, #57a957);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));background-image:-webkit-linear-gradient(top, #62c462, #57a957);background-image:-o-linear-gradient(top, #62c462, #57a957);background-image:linear-gradient(to bottom, #62c462, #57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0)} | |
| .progress-success.progress-striped .bar,.progress-striped .bar-success{background-color:#62c462;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,0.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,0.15)), color-stop(.75, rgba(255,255,255,0.15)), color-stop(.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)} | |
| .progress-info .bar,.progress .bar-info{background-color:#4bb1cf;background-image:-moz-linear-gradient(top, #5bc0de, #339bb9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));background-image:-webkit-linear-gradient(top, #5bc0de, #339bb9);background-image:-o-linear-gradient(top, #5bc0de, #339bb9);background-image:linear-gradient(to bottom, #5bc0de, #339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0)} | |
| .progress-info.progress-striped .bar,.progress-striped .bar-info{background-color:#5bc0de;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,0.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,0.15)), color-stop(.75, rgba(255,255,255,0.15)), color-stop(.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)} | |
| .progress-warning .bar,.progress .bar-warning{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(to bottom, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0)} | |
| .progress-warning.progress-striped .bar,.progress-striped .bar-warning{background-color:#fbb450;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,0.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,0.15)), color-stop(.75, rgba(255,255,255,0.15)), color-stop(.75, transparent), to(transparent));background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)} | |
| .accordion{margin-bottom:20px} | |
| .accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px} | |
| .accordion-heading{border-bottom:0} | |
| .accordion-heading .accordion-toggle{display:block;padding:8px 15px} | |
| .accordion-toggle{cursor:pointer} | |
| .accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5} | |
| .carousel{position:relative;margin-bottom:20px;line-height:1} | |
| .carousel-inner{overflow:hidden;width:100%;position:relative} | |
| .carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;-moz-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;line-height:1} | |
| .carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block} | |
| .carousel-inner>.active{left:0} | |
| .carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%} | |
| .carousel-inner>.next{left:100%} | |
| .carousel-inner>.prev{left:-100%} | |
| .carousel-inner>.next.left,.carousel-inner>.prev.right{left:0} | |
| .carousel-inner>.active.left{left:-100%} | |
| .carousel-inner>.active.right{left:100%} | |
| .carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#fff;text-align:center;background:#222;border:3px solid #fff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:.5;filter:alpha(opacity=50)}.carousel-control.right{left:auto;right:15px} | |
| .carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)} | |
| .carousel-indicators{position:absolute;top:15px;right:15px;z-index:5;margin:0;list-style:none}.carousel-indicators li{display:block;float:left;width:10px;height:10px;margin-left:5px;text-indent:-999px;background-color:#ccc;background-color:rgba(255,255,255,0.25);border-radius:5px} | |
| .carousel-indicators .active{background-color:#fff} | |
| .carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:15px;background:#333;background:rgba(0,0,0,0.75)} | |
| .carousel-caption h4,.carousel-caption p{color:#fff;line-height:20px} | |
| .carousel-caption h4{margin:0 0 5px} | |
| .carousel-caption p{margin-bottom:0} | |
| .hero-unit{padding:60px;margin-bottom:30px;font-size:18px;font-weight:200;line-height:30px;color:inherit;background-color:#eee;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px} | |
| .hero-unit li{line-height:30px} | |
| .pull-right{float:right} | |
| .pull-left{float:left} | |
| .hide{display:none} | |
| .show{display:block} | |
| .invisible{visibility:hidden} | |
| .affix{position:fixed} | |
| @-ms-viewport{width:device-width}.hidden{display:none;visibility:hidden} | |
| .visible-phone{display:none !important} | |
| .visible-tablet{display:none !important} | |
| .hidden-desktop{display:none !important} | |
| .visible-desktop{display:inherit !important} | |
| @media (min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit !important} .visible-desktop{display:none !important} .visible-tablet{display:inherit !important} .hidden-tablet{display:none !important}}@media (max-width:767px){.hidden-desktop{display:inherit !important} .visible-desktop{display:none !important} .visible-phone{display:inherit !important} .hidden-phone{display:none !important}}.visible-print{display:none !important} | |
| @media print{.visible-print{display:inherit !important} .hidden-print{display:none !important}}@media (min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;content:"";line-height:0} .row:after{clear:both} [class*="span"]{float:left;min-height:1px;margin-left:30px} .container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px} .span12{width:1170px} .span11{width:1070px} .span10{width:970px} .span9{width:870px} .span8{width:770px} .span7{width:670px} .span6{width:570px} .span5{width:470px} .span4{width:370px} .span3{width:270px} .span2{width:170px} .span1{width:70px} .offset12{margin-left:1230px} .offset11{margin-left:1130px} .offset10{margin-left:1030px} .offset9{margin-left:930px} .offset8{margin-left:830px} .offset7{margin-left:730px} .offset6{margin-left:630px} .offset5{margin-left:530px} .offset4{margin-left:430px} .offset3{margin-left:330px} .offset2{margin-left:230px} .offset1{margin-left:130px} .row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:"";line-height:0} .row-fluid:after{clear:both} .row-fluid [class*="span"]{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%} .row-fluid [class*="span"]:first-child{margin-left:0} .row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%} .row-fluid .span12{width:100%;*width:99.94680851063829%} .row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%} .row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%} .row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%} .row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%} .row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%} .row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%} .row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%} .row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%} .row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%} .row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%} .row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%} .row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%} .row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%} .row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%} .row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%} .row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%} .row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%} .row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%} .row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%} .row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%} .row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%} .row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%} .row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%} .row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%} .row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%} .row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%} .row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%} .row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%} .row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%} .row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.0987452264048%} .row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%} .row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%} .row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%} .row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%} .row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%} input,textarea,.uneditable-input{margin-left:0} .controls-row [class*="span"]+[class*="span"]{margin-left:30px} input.span12,textarea.span12,.uneditable-input.span12{width:1156px} input.span11,textarea.span11,.uneditable-input.span11{width:1056px} input.span10,textarea.span10,.uneditable-input.span10{width:956px} input.span9,textarea.span9,.uneditable-input.span9{width:856px} input.span8,textarea.span8,.uneditable-input.span8{width:756px} input.span7,textarea.span7,.uneditable-input.span7{width:656px} input.span6,textarea.span6,.uneditable-input.span6{width:556px} input.span5,textarea.span5,.uneditable-input.span5{width:456px} input.span4,textarea.span4,.uneditable-input.span4{width:356px} input.span3,textarea.span3,.uneditable-input.span3{width:256px} input.span2,textarea.span2,.uneditable-input.span2{width:156px} input.span1,textarea.span1,.uneditable-input.span1{width:56px} .thumbnails{margin-left:-30px} .thumbnails>li{margin-left:30px} .row-fluid .thumbnails{margin-left:0}}@media (min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;content:"";line-height:0} .row:after{clear:both} [class*="span"]{float:left;min-height:1px;margin-left:20px} .container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px} .span12{width:724px} .span11{width:662px} .span10{width:600px} .span9{width:538px} .span8{width:476px} .span7{width:414px} .span6{width:352px} .span5{width:290px} .span4{width:228px} .span3{width:166px} .span2{width:104px} .span1{width:42px} .offset12{margin-left:764px} .offset11{margin-left:702px} .offset10{margin-left:640px} .offset9{margin-left:578px} .offset8{margin-left:516px} .offset7{margin-left:454px} .offset6{margin-left:392px} .offset5{margin-left:330px} .offset4{margin-left:268px} .offset3{margin-left:206px} .offset2{margin-left:144px} .offset1{margin-left:82px} .row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;content:"";line-height:0} .row-fluid:after{clear:both} .row-fluid [class*="span"]{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%} .row-fluid [class*="span"]:first-child{margin-left:0} .row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%} .row-fluid .span12{width:100%;*width:99.94680851063829%} .row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%} .row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%} .row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%} .row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%} .row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%} .row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%} .row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%} .row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%} .row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%} .row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%} .row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%} .row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%} .row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%} .row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%} .row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%} .row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%} .row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%} .row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%} .row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%} .row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%} .row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%} .row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%} .row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%} .row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%} .row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%} .row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%} .row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%} .row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%} .row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%} .row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%} .row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%} .row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%} .row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%} .row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%} .row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%} input,textarea,.uneditable-input{margin-left:0} .controls-row [class*="span"]+[class*="span"]{margin-left:20px} input.span12,textarea.span12,.uneditable-input.span12{width:710px} input.span11,textarea.span11,.uneditable-input.span11{width:648px} input.span10,textarea.span10,.uneditable-input.span10{width:586px} input.span9,textarea.span9,.uneditable-input.span9{width:524px} input.span8,textarea.span8,.uneditable-input.span8{width:462px} input.span7,textarea.span7,.uneditable-input.span7{width:400px} input.span6,textarea.span6,.uneditable-input.span6{width:338px} input.span5,textarea.span5,.uneditable-input.span5{width:276px} input.span4,textarea.span4,.uneditable-input.span4{width:214px} input.span3,textarea.span3,.uneditable-input.span3{width:152px} input.span2,textarea.span2,.uneditable-input.span2{width:90px} input.span1,textarea.span1,.uneditable-input.span1{width:28px}}@media (max-width:767px){body{padding-left:20px;padding-right:20px} .navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-left:-20px;margin-right:-20px} .container-fluid{padding:0} .dl-horizontal dt{float:none;clear:none;width:auto;text-align:left} .dl-horizontal dd{margin-left:0} .container{width:auto} .row-fluid{width:100%} .row,.thumbnails{margin-left:0} .thumbnails>li{float:none;margin-left:0} [class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{float:none;display:block;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} .span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} .row-fluid [class*="offset"]:first-child{margin-left:0} .input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box} .input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto} .controls-row [class*="span"]+[class*="span"]{margin-left:0} .modal{position:fixed;top:20px;left:20px;right:20px;width:auto;margin:0}.modal.fade{top:-100px} .modal.fade.in{top:20px}}@media (max-width:480px){.nav-collapse{-webkit-transform:translate3d(0, 0, 0)} .page-header h1 small{display:block;line-height:20px} input[type="checkbox"],input[type="radio"]{border:1px solid #ccc} .form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left} .form-horizontal .controls{margin-left:0} .form-horizontal .control-list{padding-top:0} .form-horizontal .form-actions{padding-left:10px;padding-right:10px} .media .pull-left,.media .pull-right{float:none;display:block;margin-bottom:10px} .media-object{margin-right:0;margin-left:0} .modal{top:10px;left:10px;right:10px} .modal-header .close{padding:10px;margin:-10px} .carousel-caption{position:static}}@media (max-width:979px){body{padding-top:0} .navbar-fixed-top,.navbar-fixed-bottom{position:static} .navbar-fixed-top{margin-bottom:20px} .navbar-fixed-bottom{margin-top:20px} .navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px} .navbar .container{width:auto;padding:0} .navbar .brand{padding-left:10px;padding-right:10px;margin:0 0 0 -5px} .nav-collapse{clear:both} .nav-collapse .nav{float:none;margin:0 0 10px} .nav-collapse .nav>li{float:none} .nav-collapse .nav>li>a{margin-bottom:2px} .nav-collapse .nav>.divider-vertical{display:none} .nav-collapse .nav .nav-header{color:#777;text-shadow:none} .nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} .nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px} .nav-collapse .dropdown-menu li+li a{margin-bottom:2px} .nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2} .navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999} .navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111} .nav-collapse.in .btn-group{margin-top:5px;padding:0} .nav-collapse .dropdown-menu{position:static;top:auto;left:auto;float:none;display:none;max-width:none;margin:0 15px;padding:0;background-color:transparent;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none} .nav-collapse .open>.dropdown-menu{display:block} .nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none} .nav-collapse .dropdown-menu .divider{display:none} .nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none} .nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1)} .navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111;border-bottom-color:#111} .navbar .nav-collapse .nav.pull-right{float:none;margin-left:0} .nav-collapse,.nav-collapse.collapse{overflow:hidden;height:0} .navbar .btn-navbar{display:block} .navbar-static .navbar-inner{padding-left:10px;padding-right:10px}}@media (min-width:979px + 1){.nav-collapse.collapse{height:auto !important;overflow:visible !important}}@font-face{font-family:'FontAwesome';src:url('../components/font-awesome/font/fontawesome-webfont.eot?v=3.2.1');src:url('../components/font-awesome/font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('../components/font-awesome/font/fontawesome-webfont.woff?v=3.2.1') format('woff'),url('../components/font-awesome/font/fontawesome-webfont.ttf?v=3.2.1') format('truetype'),url('../components/font-awesome/font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');font-weight:normal;font-style:normal}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em} | |
| [class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none} | |
| .icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em} | |
| a [class^="icon-"],a [class*=" icon-"]{display:inline} | |
| [class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:.2857142857142857em}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em} | |
| .icons-ul{margin-left:2.142857142857143em;list-style-type:none}.icons-ul>li{position:relative} | |
| .icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit} | |
| [class^="icon-"].hide,[class*=" icon-"].hide{display:none} | |
| .icon-muted{color:#eee} | |
| .icon-light{color:#fff} | |
| .icon-dark{color:#333} | |
| .icon-border{border:solid 1px #eee;padding:.2em .25em .15em;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px} | |
| .icon-2x{font-size:2em}.icon-2x.icon-border{border-width:2px;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px} | |
| .icon-3x{font-size:3em}.icon-3x.icon-border{border-width:3px;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px} | |
| .icon-4x{font-size:4em}.icon-4x.icon-border{border-width:4px;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px} | |
| .icon-5x{font-size:5em}.icon-5x.icon-border{border-width:5px;border-radius:7px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px} | |
| .pull-right{float:right} | |
| .pull-left{float:left} | |
| [class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em} | |
| [class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em} | |
| [class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0 0;background-repeat:repeat;margin-top:0} | |
| .icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none} | |
| .btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em} | |
| .btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block} | |
| .nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em} | |
| .btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em} | |
| .btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em} | |
| .btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em} | |
| .btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em} | |
| .btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em} | |
| .btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em} | |
| .nav-list [class^="icon-"],.nav-list [class*=" icon-"]{line-height:inherit} | |
| .icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em} | |
| .icon-stack .icon-stack-base{font-size:2em;*line-height:1em} | |
| .icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear} | |
| a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none} | |
| @-moz-keyframes spin{0%{-moz-transform:rotate(0deg)} 100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)} 100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)} 100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)} 100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)} 100%{transform:rotate(359deg)}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1)} | |
| .icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)} | |
| .icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)} | |
| .icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)} | |
| .icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)} | |
| a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block} | |
| .icon-glass:before{content:"\f000"} | |
| .icon-music:before{content:"\f001"} | |
| .icon-search:before{content:"\f002"} | |
| .icon-envelope-alt:before{content:"\f003"} | |
| .icon-heart:before{content:"\f004"} | |
| .icon-star:before{content:"\f005"} | |
| .icon-star-empty:before{content:"\f006"} | |
| .icon-user:before{content:"\f007"} | |
| .icon-film:before{content:"\f008"} | |
| .icon-th-large:before{content:"\f009"} | |
| .icon-th:before{content:"\f00a"} | |
| .icon-th-list:before{content:"\f00b"} | |
| .icon-ok:before{content:"\f00c"} | |
| .icon-remove:before{content:"\f00d"} | |
| .icon-zoom-in:before{content:"\f00e"} | |
| .icon-zoom-out:before{content:"\f010"} | |
| .icon-power-off:before,.icon-off:before{content:"\f011"} | |
| .icon-signal:before{content:"\f012"} | |
| .icon-gear:before,.icon-cog:before{content:"\f013"} | |
| .icon-trash:before{content:"\f014"} | |
| .icon-home:before{content:"\f015"} | |
| .icon-file-alt:before{content:"\f016"} | |
| .icon-time:before{content:"\f017"} | |
| .icon-road:before{content:"\f018"} | |
| .icon-download-alt:before{content:"\f019"} | |
| .icon-download:before{content:"\f01a"} | |
| .icon-upload:before{content:"\f01b"} | |
| .icon-inbox:before{content:"\f01c"} | |
| .icon-play-circle:before{content:"\f01d"} | |
| .icon-rotate-right:before,.icon-repeat:before{content:"\f01e"} | |
| .icon-refresh:before{content:"\f021"} | |
| .icon-list-alt:before{content:"\f022"} | |
| .icon-lock:before{content:"\f023"} | |
| .icon-flag:before{content:"\f024"} | |
| .icon-headphones:before{content:"\f025"} | |
| .icon-volume-off:before{content:"\f026"} | |
| .icon-volume-down:before{content:"\f027"} | |
| .icon-volume-up:before{content:"\f028"} | |
| .icon-qrcode:before{content:"\f029"} | |
| .icon-barcode:before{content:"\f02a"} | |
| .icon-tag:before{content:"\f02b"} | |
| .icon-tags:before{content:"\f02c"} | |
| .icon-book:before{content:"\f02d"} | |
| .icon-bookmark:before{content:"\f02e"} | |
| .icon-print:before{content:"\f02f"} | |
| .icon-camera:before{content:"\f030"} | |
| .icon-font:before{content:"\f031"} | |
| .icon-bold:before{content:"\f032"} | |
| .icon-italic:before{content:"\f033"} | |
| .icon-text-height:before{content:"\f034"} | |
| .icon-text-width:before{content:"\f035"} | |
| .icon-align-left:before{content:"\f036"} | |
| .icon-align-center:before{content:"\f037"} | |
| .icon-align-right:before{content:"\f038"} | |
| .icon-align-justify:before{content:"\f039"} | |
| .icon-list:before{content:"\f03a"} | |
| .icon-indent-left:before{content:"\f03b"} | |
| .icon-indent-right:before{content:"\f03c"} | |
| .icon-facetime-video:before{content:"\f03d"} | |
| .icon-picture:before{content:"\f03e"} | |
| .icon-pencil:before{content:"\f040"} | |
| .icon-map-marker:before{content:"\f041"} | |
| .icon-adjust:before{content:"\f042"} | |
| .icon-tint:before{content:"\f043"} | |
| .icon-edit:before{content:"\f044"} | |
| .icon-share:before{content:"\f045"} | |
| .icon-check:before{content:"\f046"} | |
| .icon-move:before{content:"\f047"} | |
| .icon-step-backward:before{content:"\f048"} | |
| .icon-fast-backward:before{content:"\f049"} | |
| .icon-backward:before{content:"\f04a"} | |
| .icon-play:before{content:"\f04b"} | |
| .icon-pause:before{content:"\f04c"} | |
| .icon-stop:before{content:"\f04d"} | |
| .icon-forward:before{content:"\f04e"} | |
| .icon-fast-forward:before{content:"\f050"} | |
| .icon-step-forward:before{content:"\f051"} | |
| .icon-eject:before{content:"\f052"} | |
| .icon-chevron-left:before{content:"\f053"} | |
| .icon-chevron-right:before{content:"\f054"} | |
| .icon-plus-sign:before{content:"\f055"} | |
| .icon-minus-sign:before{content:"\f056"} | |
| .icon-remove-sign:before{content:"\f057"} | |
| .icon-ok-sign:before{content:"\f058"} | |
| .icon-question-sign:before{content:"\f059"} | |
| .icon-info-sign:before{content:"\f05a"} | |
| .icon-screenshot:before{content:"\f05b"} | |
| .icon-remove-circle:before{content:"\f05c"} | |
| .icon-ok-circle:before{content:"\f05d"} | |
| .icon-ban-circle:before{content:"\f05e"} | |
| .icon-arrow-left:before{content:"\f060"} | |
| .icon-arrow-right:before{content:"\f061"} | |
| .icon-arrow-up:before{content:"\f062"} | |
| .icon-arrow-down:before{content:"\f063"} | |
| .icon-mail-forward:before,.icon-share-alt:before{content:"\f064"} | |
| .icon-resize-full:before{content:"\f065"} | |
| .icon-resize-small:before{content:"\f066"} | |
| .icon-plus:before{content:"\f067"} | |
| .icon-minus:before{content:"\f068"} | |
| .icon-asterisk:before{content:"\f069"} | |
| .icon-exclamation-sign:before{content:"\f06a"} | |
| .icon-gift:before{content:"\f06b"} | |
| .icon-leaf:before{content:"\f06c"} | |
| .icon-fire:before{content:"\f06d"} | |
| .icon-eye-open:before{content:"\f06e"} | |
| .icon-eye-close:before{content:"\f070"} | |
| .icon-warning-sign:before{content:"\f071"} | |
| .icon-plane:before{content:"\f072"} | |
| .icon-calendar:before{content:"\f073"} | |
| .icon-random:before{content:"\f074"} | |
| .icon-comment:before{content:"\f075"} | |
| .icon-magnet:before{content:"\f076"} | |
| .icon-chevron-up:before{content:"\f077"} | |
| .icon-chevron-down:before{content:"\f078"} | |
| .icon-retweet:before{content:"\f079"} | |
| .icon-shopping-cart:before{content:"\f07a"} | |
| .icon-folder-close:before{content:"\f07b"} | |
| .icon-folder-open:before{content:"\f07c"} | |
| .icon-resize-vertical:before{content:"\f07d"} | |
| .icon-resize-horizontal:before{content:"\f07e"} | |
| .icon-bar-chart:before{content:"\f080"} | |
| .icon-twitter-sign:before{content:"\f081"} | |
| .icon-facebook-sign:before{content:"\f082"} | |
| .icon-camera-retro:before{content:"\f083"} | |
| .icon-key:before{content:"\f084"} | |
| .icon-gears:before,.icon-cogs:before{content:"\f085"} | |
| .icon-comments:before{content:"\f086"} | |
| .icon-thumbs-up-alt:before{content:"\f087"} | |
| .icon-thumbs-down-alt:before{content:"\f088"} | |
| .icon-star-half:before{content:"\f089"} | |
| .icon-heart-empty:before{content:"\f08a"} | |
| .icon-signout:before{content:"\f08b"} | |
| .icon-linkedin-sign:before{content:"\f08c"} | |
| .icon-pushpin:before{content:"\f08d"} | |
| .icon-external-link:before{content:"\f08e"} | |
| .icon-signin:before{content:"\f090"} | |
| .icon-trophy:before{content:"\f091"} | |
| .icon-github-sign:before{content:"\f092"} | |
| .icon-upload-alt:before{content:"\f093"} | |
| .icon-lemon:before{content:"\f094"} | |
| .icon-phone:before{content:"\f095"} | |
| .icon-unchecked:before,.icon-check-empty:before{content:"\f096"} | |
| .icon-bookmark-empty:before{content:"\f097"} | |
| .icon-phone-sign:before{content:"\f098"} | |
| .icon-twitter:before{content:"\f099"} | |
| .icon-facebook:before{content:"\f09a"} | |
| .icon-github:before{content:"\f09b"} | |
| .icon-unlock:before{content:"\f09c"} | |
| .icon-credit-card:before{content:"\f09d"} | |
| .icon-rss:before{content:"\f09e"} | |
| .icon-hdd:before{content:"\f0a0"} | |
| .icon-bullhorn:before{content:"\f0a1"} | |
| .icon-bell:before{content:"\f0a2"} | |
| .icon-certificate:before{content:"\f0a3"} | |
| .icon-hand-right:before{content:"\f0a4"} | |
| .icon-hand-left:before{content:"\f0a5"} | |
| .icon-hand-up:before{content:"\f0a6"} | |
| .icon-hand-down:before{content:"\f0a7"} | |
| .icon-circle-arrow-left:before{content:"\f0a8"} | |
| .icon-circle-arrow-right:before{content:"\f0a9"} | |
| .icon-circle-arrow-up:before{content:"\f0aa"} | |
| .icon-circle-arrow-down:before{content:"\f0ab"} | |
| .icon-globe:before{content:"\f0ac"} | |
| .icon-wrench:before{content:"\f0ad"} | |
| .icon-tasks:before{content:"\f0ae"} | |
| .icon-filter:before{content:"\f0b0"} | |
| .icon-briefcase:before{content:"\f0b1"} | |
| .icon-fullscreen:before{content:"\f0b2"} | |
| .icon-group:before{content:"\f0c0"} | |
| .icon-link:before{content:"\f0c1"} | |
| .icon-cloud:before{content:"\f0c2"} | |
| .icon-beaker:before{content:"\f0c3"} | |
| .icon-cut:before{content:"\f0c4"} | |
| .icon-copy:before{content:"\f0c5"} | |
| .icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6"} | |
| .icon-save:before{content:"\f0c7"} | |
| .icon-sign-blank:before{content:"\f0c8"} | |
| .icon-reorder:before{content:"\f0c9"} | |
| .icon-list-ul:before{content:"\f0ca"} | |
| .icon-list-ol:before{content:"\f0cb"} | |
| .icon-strikethrough:before{content:"\f0cc"} | |
| .icon-underline:before{content:"\f0cd"} | |
| .icon-table:before{content:"\f0ce"} | |
| .icon-magic:before{content:"\f0d0"} | |
| .icon-truck:before{content:"\f0d1"} | |
| .icon-pinterest:before{content:"\f0d2"} | |
| .icon-pinterest-sign:before{content:"\f0d3"} | |
| .icon-google-plus-sign:before{content:"\f0d4"} | |
| .icon-google-plus:before{content:"\f0d5"} | |
| .icon-money:before{content:"\f0d6"} | |
| .icon-caret-down:before{content:"\f0d7"} | |
| .icon-caret-up:before{content:"\f0d8"} | |
| .icon-caret-left:before{content:"\f0d9"} | |
| .icon-caret-right:before{content:"\f0da"} | |
| .icon-columns:before{content:"\f0db"} | |
| .icon-sort:before{content:"\f0dc"} | |
| .icon-sort-down:before{content:"\f0dd"} | |
| .icon-sort-up:before{content:"\f0de"} | |
| .icon-envelope:before{content:"\f0e0"} | |
| .icon-linkedin:before{content:"\f0e1"} | |
| .icon-rotate-left:before,.icon-undo:before{content:"\f0e2"} | |
| .icon-legal:before{content:"\f0e3"} | |
| .icon-dashboard:before{content:"\f0e4"} | |
| .icon-comment-alt:before{content:"\f0e5"} | |
| .icon-comments-alt:before{content:"\f0e6"} | |
| .icon-bolt:before{content:"\f0e7"} | |
| .icon-sitemap:before{content:"\f0e8"} | |
| .icon-umbrella:before{content:"\f0e9"} | |
| .icon-paste:before{content:"\f0ea"} | |
| .icon-lightbulb:before{content:"\f0eb"} | |
| .icon-exchange:before{content:"\f0ec"} | |
| .icon-cloud-download:before{content:"\f0ed"} | |
| .icon-cloud-upload:before{content:"\f0ee"} | |
| .icon-user-md:before{content:"\f0f0"} | |
| .icon-stethoscope:before{content:"\f0f1"} | |
| .icon-suitcase:before{content:"\f0f2"} | |
| .icon-bell-alt:before{content:"\f0f3"} | |
| .icon-coffee:before{content:"\f0f4"} | |
| .icon-food:before{content:"\f0f5"} | |
| .icon-file-text-alt:before{content:"\f0f6"} | |
| .icon-building:before{content:"\f0f7"} | |
| .icon-hospital:before{content:"\f0f8"} | |
| .icon-ambulance:before{content:"\f0f9"} | |
| .icon-medkit:before{content:"\f0fa"} | |
| .icon-fighter-jet:before{content:"\f0fb"} | |
| .icon-beer:before{content:"\f0fc"} | |
| .icon-h-sign:before{content:"\f0fd"} | |
| .icon-plus-sign-alt:before{content:"\f0fe"} | |
| .icon-double-angle-left:before{content:"\f100"} | |
| .icon-double-angle-right:before{content:"\f101"} | |
| .icon-double-angle-up:before{content:"\f102"} | |
| .icon-double-angle-down:before{content:"\f103"} | |
| .icon-angle-left:before{content:"\f104"} | |
| .icon-angle-right:before{content:"\f105"} | |
| .icon-angle-up:before{content:"\f106"} | |
| .icon-angle-down:before{content:"\f107"} | |
| .icon-desktop:before{content:"\f108"} | |
| .icon-laptop:before{content:"\f109"} | |
| .icon-tablet:before{content:"\f10a"} | |
| .icon-mobile-phone:before{content:"\f10b"} | |
| .icon-circle-blank:before{content:"\f10c"} | |
| .icon-quote-left:before{content:"\f10d"} | |
| .icon-quote-right:before{content:"\f10e"} | |
| .icon-spinner:before{content:"\f110"} | |
| .icon-circle:before{content:"\f111"} | |
| .icon-mail-reply:before,.icon-reply:before{content:"\f112"} | |
| .icon-github-alt:before{content:"\f113"} | |
| .icon-folder-close-alt:before{content:"\f114"} | |
| .icon-folder-open-alt:before{content:"\f115"} | |
| .icon-expand-alt:before{content:"\f116"} | |
| .icon-collapse-alt:before{content:"\f117"} | |
| .icon-smile:before{content:"\f118"} | |
| .icon-frown:before{content:"\f119"} | |
| .icon-meh:before{content:"\f11a"} | |
| .icon-gamepad:before{content:"\f11b"} | |
| .icon-keyboard:before{content:"\f11c"} | |
| .icon-flag-alt:before{content:"\f11d"} | |
| .icon-flag-checkered:before{content:"\f11e"} | |
| .icon-terminal:before{content:"\f120"} | |
| .icon-code:before{content:"\f121"} | |
| .icon-reply-all:before{content:"\f122"} | |
| .icon-mail-reply-all:before{content:"\f122"} | |
| .icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123"} | |
| .icon-location-arrow:before{content:"\f124"} | |
| .icon-crop:before{content:"\f125"} | |
| .icon-code-fork:before{content:"\f126"} | |
| .icon-unlink:before{content:"\f127"} | |
| .icon-question:before{content:"\f128"} | |
| .icon-info:before{content:"\f129"} | |
| .icon-exclamation:before{content:"\f12a"} | |
| .icon-superscript:before{content:"\f12b"} | |
| .icon-subscript:before{content:"\f12c"} | |
| .icon-eraser:before{content:"\f12d"} | |
| .icon-puzzle-piece:before{content:"\f12e"} | |
| .icon-microphone:before{content:"\f130"} | |
| .icon-microphone-off:before{content:"\f131"} | |
| .icon-shield:before{content:"\f132"} | |
| .icon-calendar-empty:before{content:"\f133"} | |
| .icon-fire-extinguisher:before{content:"\f134"} | |
| .icon-rocket:before{content:"\f135"} | |
| .icon-maxcdn:before{content:"\f136"} | |
| .icon-chevron-sign-left:before{content:"\f137"} | |
| .icon-chevron-sign-right:before{content:"\f138"} | |
| .icon-chevron-sign-up:before{content:"\f139"} | |
| .icon-chevron-sign-down:before{content:"\f13a"} | |
| .icon-html5:before{content:"\f13b"} | |
| .icon-css3:before{content:"\f13c"} | |
| .icon-anchor:before{content:"\f13d"} | |
| .icon-unlock-alt:before{content:"\f13e"} | |
| .icon-bullseye:before{content:"\f140"} | |
| .icon-ellipsis-horizontal:before{content:"\f141"} | |
| .icon-ellipsis-vertical:before{content:"\f142"} | |
| .icon-rss-sign:before{content:"\f143"} | |
| .icon-play-sign:before{content:"\f144"} | |
| .icon-ticket:before{content:"\f145"} | |
| .icon-minus-sign-alt:before{content:"\f146"} | |
| .icon-check-minus:before{content:"\f147"} | |
| .icon-level-up:before{content:"\f148"} | |
| .icon-level-down:before{content:"\f149"} | |
| .icon-check-sign:before{content:"\f14a"} | |
| .icon-edit-sign:before{content:"\f14b"} | |
| .icon-external-link-sign:before{content:"\f14c"} | |
| .icon-share-sign:before{content:"\f14d"} | |
| .icon-compass:before{content:"\f14e"} | |
| .icon-collapse:before{content:"\f150"} | |
| .icon-collapse-top:before{content:"\f151"} | |
| .icon-expand:before{content:"\f152"} | |
| .icon-euro:before,.icon-eur:before{content:"\f153"} | |
| .icon-gbp:before{content:"\f154"} | |
| .icon-dollar:before,.icon-usd:before{content:"\f155"} | |
| .icon-rupee:before,.icon-inr:before{content:"\f156"} | |
| .icon-yen:before,.icon-jpy:before{content:"\f157"} | |
| .icon-renminbi:before,.icon-cny:before{content:"\f158"} | |
| .icon-won:before,.icon-krw:before{content:"\f159"} | |
| .icon-bitcoin:before,.icon-btc:before{content:"\f15a"} | |
| .icon-file:before{content:"\f15b"} | |
| .icon-file-text:before{content:"\f15c"} | |
| .icon-sort-by-alphabet:before{content:"\f15d"} | |
| .icon-sort-by-alphabet-alt:before{content:"\f15e"} | |
| .icon-sort-by-attributes:before{content:"\f160"} | |
| .icon-sort-by-attributes-alt:before{content:"\f161"} | |
| .icon-sort-by-order:before{content:"\f162"} | |
| .icon-sort-by-order-alt:before{content:"\f163"} | |
| .icon-thumbs-up:before{content:"\f164"} | |
| .icon-thumbs-down:before{content:"\f165"} | |
| .icon-youtube-sign:before{content:"\f166"} | |
| .icon-youtube:before{content:"\f167"} | |
| .icon-xing:before{content:"\f168"} | |
| .icon-xing-sign:before{content:"\f169"} | |
| .icon-youtube-play:before{content:"\f16a"} | |
| .icon-dropbox:before{content:"\f16b"} | |
| .icon-stackexchange:before{content:"\f16c"} | |
| .icon-instagram:before{content:"\f16d"} | |
| .icon-flickr:before{content:"\f16e"} | |
| .icon-adn:before{content:"\f170"} | |
| .icon-bitbucket:before{content:"\f171"} | |
| .icon-bitbucket-sign:before{content:"\f172"} | |
| .icon-tumblr:before{content:"\f173"} | |
| .icon-tumblr-sign:before{content:"\f174"} | |
| .icon-long-arrow-down:before{content:"\f175"} | |
| .icon-long-arrow-up:before{content:"\f176"} | |
| .icon-long-arrow-left:before{content:"\f177"} | |
| .icon-long-arrow-right:before{content:"\f178"} | |
| .icon-apple:before{content:"\f179"} | |
| .icon-windows:before{content:"\f17a"} | |
| .icon-android:before{content:"\f17b"} | |
| .icon-linux:before{content:"\f17c"} | |
| .icon-dribbble:before{content:"\f17d"} | |
| .icon-skype:before{content:"\f17e"} | |
| .icon-foursquare:before{content:"\f180"} | |
| .icon-trello:before{content:"\f181"} | |
| .icon-female:before{content:"\f182"} | |
| .icon-male:before{content:"\f183"} | |
| .icon-gittip:before{content:"\f184"} | |
| .icon-sun:before{content:"\f185"} | |
| .icon-moon:before{content:"\f186"} | |
| .icon-archive:before{content:"\f187"} | |
| .icon-bug:before{content:"\f188"} | |
| .icon-vk:before{content:"\f189"} | |
| .icon-weibo:before{content:"\f18a"} | |
| .icon-renren:before{content:"\f18b"} | |
| code{color:#000} | |
| pre{font-size:inherit;line-height:inherit} | |
| .border-box-sizing{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box} | |
| .corner-all{border-radius:4px} | |
| .hbox{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} | |
| .hbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;flex:none} | |
| .vbox{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} | |
| .vbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;flex:none} | |
| .hbox.reverse,.vbox.reverse,.reverse{-webkit-box-direction:reverse;-moz-box-direction:reverse;box-direction:reverse;flex-direction:row-reverse} | |
| .hbox.box-flex0,.vbox.box-flex0,.box-flex0{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;flex:none;width:auto} | |
| .hbox.box-flex1,.vbox.box-flex1,.box-flex1{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} | |
| .hbox.box-flex,.vbox.box-flex,.box-flex{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} | |
| .hbox.box-flex2,.vbox.box-flex2,.box-flex2{-webkit-box-flex:2;-moz-box-flex:2;box-flex:2;flex:2} | |
| .box-group1{-webkit-box-flex-group:1;-moz-box-flex-group:1;box-flex-group:1} | |
| .box-group2{-webkit-box-flex-group:2;-moz-box-flex-group:2;box-flex-group:2} | |
| .hbox.start,.vbox.start,.start{-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start} | |
| .hbox.end,.vbox.end,.end{-webkit-box-pack:end;-moz-box-pack:end;box-pack:end;justify-content:flex-end} | |
| .hbox.center,.vbox.center,.center{-webkit-box-pack:center;-moz-box-pack:center;box-pack:center;justify-content:center} | |
| .hbox.align-start,.vbox.align-start,.align-start{-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start} | |
| .hbox.align-end,.vbox.align-end,.align-end{-webkit-box-align:end;-moz-box-align:end;box-align:end;align-items:flex-end} | |
| .hbox.align-center,.vbox.align-center,.align-center{-webkit-box-align:center;-moz-box-align:center;box-align:center;align-items:center} | |
| div.error{margin:2em;text-align:center} | |
| div.error>h1{font-size:500%;line-height:normal} | |
| div.error>p{font-size:200%;line-height:normal} | |
| div.traceback-wrapper{text-align:left;max-width:800px;margin:auto} | |
| body{background-color:#fff;position:absolute;left:0;right:0;top:0;bottom:0;overflow:visible} | |
| div#header{display:none} | |
| #ipython_notebook{padding-left:16px} | |
| #noscript{width:auto;padding-top:16px;padding-bottom:16px;text-align:center;font-size:22px;color:#f00;font-weight:bold} | |
| #ipython_notebook img{font-family:Verdana,"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;height:24px;text-decoration:none;color:#000} | |
| #site{width:100%;display:none} | |
| .ui-button .ui-button-text{padding:.2em .8em;font-size:77%} | |
| input.ui-button{padding:.3em .9em} | |
| .navbar span{margin-top:3px} | |
| span#login_widget{float:right} | |
| .nav-header{text-transform:none} | |
| .navbar-nobg{background-color:transparent;background-image:none} | |
| #header>span{margin-top:10px} | |
| .modal_stretch{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;height:80%}.modal_stretch .modal-body{max-height:none;flex:1} | |
| @media (min-width:768px){.modal{width:700px;margin-left:-350px}}.center-nav{display:inline-block;margin-bottom:-4px} | |
| .alternate_upload{background-color:none;display:inline} | |
| .alternate_upload.form{padding:0;margin:0} | |
| .alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;height:26px} | |
| ul#tabs{margin-bottom:4px} | |
| ul#tabs a{padding-top:4px;padding-bottom:4px} | |
| ul.breadcrumb a:focus,ul.breadcrumb a:hover{text-decoration:none} | |
| ul.breadcrumb i.icon-home{font-size:16px;margin-right:4px} | |
| ul.breadcrumb span{color:#5e5e5e} | |
| .list_toolbar{padding:4px 0 4px 0} | |
| .list_toolbar [class*="span"]{min-height:26px} | |
| .list_header{font-weight:bold} | |
| .list_container{margin-top:4px;margin-bottom:20px;border:1px solid #ababab;border-radius:4px} | |
| .list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00} | |
| .list_container>div:last-child{border:none} | |
| .list_item:hover .list_item{background-color:#ddd} | |
| .list_item a{text-decoration:none} | |
| .list_header>div,.list_item>div{padding-top:4px;padding-bottom:4px;padding-left:7px;padding-right:7px;height:22px;line-height:22px} | |
| .item_name{line-height:22px;height:26px} | |
| .item_icon{font-size:14px;color:#5e5e5e;margin-right:7px} | |
| .item_buttons{line-height:1em} | |
| .toolbar_info{height:26px;line-height:26px} | |
| input.nbname_input,input.engine_num_input{padding-top:3px;padding-bottom:3px;height:14px;line-height:14px;margin:0} | |
| input.engine_num_input{width:60px} | |
| .highlight_text{color:#00f} | |
| #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold} | |
| .folder_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f114"} | |
| .notebook_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f02d"} | |
| .ansibold{font-weight:bold} | |
| .ansiblack{color:#000} | |
| .ansired{color:#8b0000} | |
| .ansigreen{color:#006400} | |
| .ansiyellow{color:#a52a2a} | |
| .ansiblue{color:#00008b} | |
| .ansipurple{color:#9400d3} | |
| .ansicyan{color:#4682b4} | |
| .ansigray{color:#808080} | |
| .ansibgblack{background-color:#000} | |
| .ansibgred{background-color:#f00} | |
| .ansibggreen{background-color:#008000} | |
| .ansibgyellow{background-color:#ff0} | |
| .ansibgblue{background-color:#00f} | |
| .ansibgpurple{background-color:#f0f} | |
| .ansibgcyan{background-color:#0ff} | |
| .ansibggray{background-color:#808080} | |
| div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}div.cell.selected{border-radius:4px;border:thin #ababab solid} | |
| div.cell.edit_mode{border-radius:4px;border:thin #008000 solid} | |
| div.cell{width:100%;padding:5px 5px 5px 0;margin:0;outline:none} | |
| div.prompt{min-width:11ex;padding:.4em;margin:0;font-family:monospace;text-align:right;line-height:1.21429em} | |
| @media (max-width:480px){div.prompt{text-align:left}}div.inner_cell{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} | |
| div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;line-height:1.21429em} | |
| div.prompt:empty{padding-top:0;padding-bottom:0} | |
| div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} | |
| @media (max-width:480px){div.input{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}}div.input_prompt{color:#000080;border-top:1px solid transparent} | |
| div.input_area>div.highlight{margin:.4em;border:none;padding:0;background-color:transparent} | |
| div.input_area>div.highlight>pre{margin:0;border:none;padding:0;background-color:transparent} | |
| .CodeMirror{line-height:1.21429em;height:auto;background:none;} | |
| .CodeMirror-scroll{overflow-y:hidden;overflow-x:auto} | |
| .CodeMirror-lines{padding:.4em} | |
| .CodeMirror-linenumber{padding:0 8px 0 4px} | |
| .CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px} | |
| .CodeMirror pre{padding:0;border:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| pre code{display:block;padding:.5em} | |
| .highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:#000} | |
| .highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#ba2121} | |
| .highlight-comment,pre .comment,pre .annotation,pre .template_comment,pre .diff .header,pre .chunk,pre .markdown .blockquote{color:#408080;font-style:italic} | |
| .highlight-number,pre .number,pre .date,pre .regexp,pre .literal,pre .smalltalk .symbol,pre .smalltalk .char,pre .go .constant,pre .change,pre .markdown .bullet,pre .markdown .link_url{color:#080} | |
| pre .label,pre .javadoc,pre .ruby .string,pre .decorator,pre .filter .argument,pre .localvars,pre .array,pre .attr_selector,pre .important,pre .pseudo,pre .pi,pre .doctype,pre .deletion,pre .envvar,pre .shebang,pre .apache .sqbracket,pre .nginx .built_in,pre .tex .formula,pre .erlang_repl .reserved,pre .prompt,pre .markdown .link_label,pre .vhdl .attribute,pre .clojure .attribute,pre .coffeescript .property{color:#88f} | |
| .highlight-keyword,pre .keyword,pre .id,pre .phpdoc,pre .aggregate,pre .css .tag,pre .javadoctag,pre .phpdoc,pre .yardoctag,pre .smalltalk .class,pre .winutils,pre .bash .variable,pre .apache .tag,pre .go .typename,pre .tex .command,pre .markdown .strong,pre .request,pre .status{color:#008000;font-weight:bold} | |
| .highlight-builtin,pre .built_in{color:#008000} | |
| pre .markdown .emphasis{font-style:italic} | |
| pre .nginx .built_in{font-weight:normal} | |
| pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .javascript,pre .xml .vbscript,pre .xml .css,pre .xml .cdata{opacity:.5} | |
| .cm-s-ipython span.cm-variable{color:#000} | |
| .cm-s-ipython span.cm-keyword{color:#008000;font-weight:bold} | |
| .cm-s-ipython span.cm-number{color:#080} | |
| .cm-s-ipython span.cm-comment{color:#408080;font-style:italic} | |
| .cm-s-ipython span.cm-string{color:#ba2121} | |
| .cm-s-ipython span.cm-builtin{color:#008000} | |
| .cm-s-ipython span.cm-error{color:#f00} | |
| .cm-s-ipython span.cm-operator{color:#a2f;font-weight:bold} | |
| .cm-s-ipython span.cm-meta{color:#a2f} | |
| .cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat} | |
| div.output_wrapper{position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} | |
| div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:4px;-webkit-box-shadow:inset 0 2px 8px rgba(0,0,0,0.8);-moz-box-shadow:inset 0 2px 8px rgba(0,0,0,0.8);box-shadow:inset 0 2px 8px rgba(0,0,0,0.8);display:block} | |
| div.output_collapsed{margin:0;padding:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} | |
| div.out_prompt_overlay{height:100%;padding:0 .4em;position:absolute;border-radius:4px} | |
| div.out_prompt_overlay:hover{-webkit-box-shadow:inset 0 0 1px #000;-moz-box-shadow:inset 0 0 1px #000;box-shadow:inset 0 0 1px #000;background:rgba(240,240,240,0.5)} | |
| div.output_prompt{color:#8b0000} | |
| div.output_area{padding:0;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}div.output_area .MathJax_Display{text-align:left !important} | |
| div.output_area .rendered_html table{margin-left:0;margin-right:0} | |
| div.output_area .rendered_html img{margin-left:0;margin-right:0} | |
| .output{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} | |
| @media (max-width:480px){div.output_area{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}}div.output_area pre{margin:0;padding:0;border:0;vertical-align:baseline;color:#000;background-color:transparent;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} | |
| div.output_subarea{padding:.4em .4em 0 .4em;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} | |
| div.output_text{text-align:left;color:#000;line-height:1.21429em} | |
| div.output_stderr{background:#fdd;} | |
| div.output_latex{text-align:left} | |
| div.output_javascript:empty{padding:0} | |
| .js-error{color:#8b0000} | |
| div.raw_input_container{font-family:monospace;padding-top:5px} | |
| span.raw_input_prompt{} | |
| input.raw_input{font-family:inherit;font-size:inherit;color:inherit;width:auto;vertical-align:baseline;padding:0 .25em;margin:0 .25em} | |
| input.raw_input:focus{box-shadow:none} | |
| p.p-space{margin-bottom:10px} | |
| .rendered_html{color:#000;}.rendered_html em{font-style:italic} | |
| .rendered_html strong{font-weight:bold} | |
| .rendered_html u{text-decoration:underline} | |
| .rendered_html :link{text-decoration:underline} | |
| .rendered_html :visited{text-decoration:underline} | |
| .rendered_html h1{font-size:185.7%;margin:1.08em 0 0 0;font-weight:bold;line-height:1} | |
| .rendered_html h2{font-size:157.1%;margin:1.27em 0 0 0;font-weight:bold;line-height:1} | |
| .rendered_html h3{font-size:128.6%;margin:1.55em 0 0 0;font-weight:bold;line-height:1} | |
| .rendered_html h4{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1} | |
| .rendered_html h5{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic} | |
| .rendered_html h6{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic} | |
| .rendered_html h1:first-child{margin-top:.538em} | |
| .rendered_html h2:first-child{margin-top:.636em} | |
| .rendered_html h3:first-child{margin-top:.777em} | |
| .rendered_html h4:first-child{margin-top:1em} | |
| .rendered_html h5:first-child{margin-top:1em} | |
| .rendered_html h6:first-child{margin-top:1em} | |
| .rendered_html ul{list-style:disc;margin:0 2em} | |
| .rendered_html ul ul{list-style:square;margin:0 2em} | |
| .rendered_html ul ul ul{list-style:circle;margin:0 2em} | |
| .rendered_html ol{list-style:decimal;margin:0 2em} | |
| .rendered_html ol ol{list-style:upper-alpha;margin:0 2em} | |
| .rendered_html ol ol ol{list-style:lower-alpha;margin:0 2em} | |
| .rendered_html ol ol ol ol{list-style:lower-roman;margin:0 2em} | |
| .rendered_html ol ol ol ol ol{list-style:decimal;margin:0 2em} | |
| .rendered_html *+ul{margin-top:1em} | |
| .rendered_html *+ol{margin-top:1em} | |
| .rendered_html hr{color:#000;background-color:#000} | |
| .rendered_html pre{margin:1em 2em} | |
| .rendered_html pre,.rendered_html code{border:0;background-color:#fff;color:#000;font-size:100%;padding:0} | |
| .rendered_html blockquote{margin:1em 2em} | |
| .rendered_html table{margin-left:auto;margin-right:auto;border:1px solid #000;border-collapse:collapse} | |
| .rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid #000;border-collapse:collapse;margin:1em 2em} | |
| .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px} | |
| .rendered_html th{font-weight:bold} | |
| .rendered_html *+table{margin-top:1em} | |
| .rendered_html p{text-align:justify} | |
| .rendered_html *+p{margin-top:1em} | |
| .rendered_html img{display:block;margin-left:auto;margin-right:auto} | |
| .rendered_html *+img{margin-top:1em} | |
| div.text_cell{padding:5px 5px 5px 0;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} | |
| @media (max-width:480px){div.text_cell>div.prompt{display:none}}div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:.5em .5em .5em .4em;color:#000} | |
| a.anchor-link:link{text-decoration:none;padding:0 20px;visibility:hidden} | |
| h1:hover .anchor-link,h2:hover .anchor-link,h3:hover .anchor-link,h4:hover .anchor-link,h5:hover .anchor-link,h6:hover .anchor-link{visibility:visible} | |
| div.cell.text_cell.rendered{padding:0} | |
| .widget-area{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}.widget-area .widget-subarea{padding:.44em .4em .4em 1px;margin-left:6px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:2;-moz-box-flex:2;box-flex:2;flex:2;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start} | |
| .widget-hlabel{min-width:10ex;padding-right:8px;padding-top:3px;text-align:right;vertical-align:text-top} | |
| .widget-vlabel{padding-bottom:5px;text-align:center;vertical-align:text-bottom} | |
| .widget-hreadout{padding-left:8px;padding-top:3px;text-align:left;vertical-align:text-top} | |
| .widget-vreadout{padding-top:5px;text-align:center;vertical-align:text-top} | |
| .slide-track{border:1px solid #ccc;background:#fff;border-radius:4px;} | |
| .widget-hslider{padding-left:8px;padding-right:5px;overflow:visible;width:348px;height:5px;max-height:5px;margin-top:11px;margin-bottom:10px;border:1px solid #ccc;background:#fff;border-radius:4px;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}.widget-hslider .ui-slider{border:0 !important;background:none !important;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}.widget-hslider .ui-slider .ui-slider-handle{width:14px !important;height:28px !important;margin-top:-8px !important} | |
| .widget-vslider{padding-bottom:8px;overflow:visible;width:5px;max-width:5px;height:250px;margin-left:12px;border:1px solid #ccc;background:#fff;border-radius:4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}.widget-vslider .ui-slider{border:0 !important;background:none !important;margin-left:-4px;margin-top:5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}.widget-vslider .ui-slider .ui-slider-handle{width:28px !important;height:14px !important;margin-left:-9px} | |
| .widget-text{width:350px;margin:0 !important} | |
| .widget-listbox{width:364px;margin-bottom:0} | |
| .widget-numeric-text{width:150px;margin:0 !important} | |
| .widget-progress{width:363px}.widget-progress .bar{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none} | |
| .widget-combo-btn{min-width:138px;} | |
| .widget-box{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start} | |
| .widget-hbox{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} | |
| .widget-hbox-single{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch;height:30px} | |
| .widget-vbox{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch} | |
| .widget-vbox-single{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;width:30px} | |
| .widget-modal{overflow:hidden;position:absolute !important;top:0;left:0;margin-left:0 !important} | |
| .widget-modal-body{max-height:none !important} | |
| .widget-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start} | |
| .widget-radio-box{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding-top:4px} | |
| .docked-widget-modal{overflow:hidden;position:relative !important;top:0 !important;left:0 !important;margin-left:0 !important} | |
| body{background-color:#fff} | |
| body.notebook_app{overflow:hidden} | |
| @media (max-width:767px){body.notebook_app{padding-left:0;padding-right:0}}span#notebook_name{height:1em;line-height:1em;padding:3px;border:none;font-size:146.5%} | |
| div#notebook_panel{margin:0 0 0 0;padding:0;-webkit-box-shadow:0 -1px 10px rgba(0,0,0,0.1);-moz-box-shadow:0 -1px 10px rgba(0,0,0,0.1);box-shadow:0 -1px 10px rgba(0,0,0,0.1)} | |
| div#notebook{font-size:14px;line-height:20px;overflow-y:scroll;overflow-x:auto;width:100%;padding:1em 0 1em 0;margin:0;border-top:1px solid #ababab;outline:none;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box} | |
| div.ui-widget-content{border:1px solid #ababab;outline:none} | |
| pre.dialog{background-color:#f7f7f7;border:1px solid #ddd;border-radius:4px;padding:.4em;padding-left:2em} | |
| p.dialog{padding:.2em} | |
| pre,code,kbd,samp{white-space:pre-wrap} | |
| #fonttest{font-family:monospace} | |
| p{margin-bottom:0} | |
| .end_space{height:200px} | |
| .celltoolbar{border:thin solid #cfcfcf;border-bottom:none;background:#eee;border-radius:3px 3px 0 0;width:100%;-webkit-box-pack:end;height:22px;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch;-webkit-box-direction:reverse;-moz-box-direction:reverse;box-direction:reverse;flex-direction:row-reverse} | |
| .ctb_hideshow{display:none;vertical-align:bottom;padding-right:2px} | |
| .celltoolbar>div{padding-top:0} | |
| .ctb_global_show .ctb_show.ctb_hideshow{display:block} | |
| .ctb_global_show .ctb_show+.input_area,.ctb_global_show .ctb_show+div.text_cell_input{border-top-right-radius:0;border-top-left-radius:0} | |
| .celltoolbar .button_container select{margin:10px;margin-top:1px;margin-bottom:0;padding:0;font-size:87%;width:auto;display:inline-block;height:18px;line-height:18px;vertical-align:top} | |
| .celltoolbar label{display:inline-block;height:15px;line-height:15px;vertical-align:top} | |
| .celltoolbar label span{font-size:85%} | |
| .celltoolbar input[type=checkbox]{margin:0;margin-left:4px;margin-right:4px} | |
| .celltoolbar .ui-button{border:none;vertical-align:top;height:20px;min-width:30px} | |
| .completions{position:absolute;z-index:10;overflow:hidden;border:1px solid #ababab;border-radius:4px;-webkit-box-shadow:0 6px 10px -1px #adadad;-moz-box-shadow:0 6px 10px -1px #adadad;box-shadow:0 6px 10px -1px #adadad} | |
| .completions select{background:#fff;outline:none;border:none;padding:0;margin:0;overflow:auto;font-family:monospace;font-size:110%;color:#000;width:auto} | |
| .completions select option.context{color:#0064cd} | |
| #menubar .navbar-inner{min-height:28px;border-top:1px;border-radius:0 0 4px 4px} | |
| #menubar .navbar{margin-bottom:8px} | |
| .nav-wrapper{border-bottom:1px solid #d4d4d4} | |
| #menubar li.dropdown{line-height:12px} | |
| i.menu-icon{padding-top:4px} | |
| ul#help_menu li a{overflow:hidden;padding-right:2.2em}ul#help_menu li a i{margin-right:-1.2em} | |
| #notification_area{z-index:10} | |
| .indicator_area{color:#777;padding:4px 3px;margin:0;width:11px;z-index:10;text-align:center} | |
| #kernel_indicator{margin-right:-16px} | |
| .edit_mode_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f040"} | |
| .command_mode_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:' '} | |
| .kernel_idle_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f10c"} | |
| .kernel_busy_icon:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f111"} | |
| .notification_widget{color:#777;padding:1px 12px;margin:2px 4px;z-index:10;border:1px solid #ccc;border-radius:4px;background:rgba(240,240,240,0.5)}.notification_widget.span{padding-right:2px} | |
| div#pager_splitter{height:8px} | |
| #pager-container{position:relative;padding:15px 0} | |
| div#pager{font-size:14px;line-height:20px;overflow:auto;display:none}div#pager pre{line-height:1.21429em;color:#000;background-color:#f7f7f7;padding:.4em} | |
| .quickhelp{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch} | |
| .shortcut_key{display:inline-block;width:20ex;text-align:right;font-family:monospace} | |
| .shortcut_descr{display:inline-block;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1} | |
| span#save_widget{padding:0 5px;margin-top:12px} | |
| span#checkpoint_status,span#autosave_status{font-size:small} | |
| @media (max-width:767px){span#save_widget{font-size:small} span#checkpoint_status,span#autosave_status{font-size:x-small}}@media (max-width:767px){span#checkpoint_status,span#autosave_status{display:none}}@media (min-width:768px) and (max-width:979px){span#checkpoint_status{display:none} span#autosave_status{font-size:x-small}}.toolbar{padding:0 10px;margin-top:-5px}.toolbar select,.toolbar label{width:auto;height:26px;vertical-align:middle;margin-right:2px;margin-bottom:0;display:inline;font-size:92%;margin-left:.3em;margin-right:.3em;padding:0;padding-top:3px} | |
| .toolbar .btn{padding:2px 8px} | |
| .toolbar .btn-group{margin-top:0} | |
| .toolbar-inner{border:none !important;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important} | |
| #maintoolbar{margin-bottom:0} | |
| @-moz-keyframes fadeOut{from{opacity:1} to{opacity:0}}@-webkit-keyframes fadeOut{from{opacity:1} to{opacity:0}}@-moz-keyframes fadeIn{from{opacity:0} to{opacity:1}}@-webkit-keyframes fadeIn{from{opacity:0} to{opacity:1}}.bigtooltip{overflow:auto;height:200px;-webkit-transition-property:height;-webkit-transition-duration:500ms;-moz-transition-property:height;-moz-transition-duration:500ms;transition-property:height;transition-duration:500ms} | |
| .smalltooltip{-webkit-transition-property:height;-webkit-transition-duration:500ms;-moz-transition-property:height;-moz-transition-duration:500ms;transition-property:height;transition-duration:500ms;text-overflow:ellipsis;overflow:hidden;height:80px} | |
| .tooltipbuttons{position:absolute;padding-right:15px;top:0;right:0} | |
| .tooltiptext{padding-right:30px} | |
| .ipython_tooltip{max-width:700px;-webkit-animation:fadeOut 400ms;-moz-animation:fadeOut 400ms;animation:fadeOut 400ms;-webkit-animation:fadeIn 400ms;-moz-animation:fadeIn 400ms;animation:fadeIn 400ms;vertical-align:middle;background-color:#f7f7f7;overflow:visible;border:#ababab 1px solid;outline:none;padding:3px;margin:0;padding-left:7px;font-family:monospace;min-height:50px;-moz-box-shadow:0 6px 10px -1px #adadad;-webkit-box-shadow:0 6px 10px -1px #adadad;box-shadow:0 6px 10px -1px #adadad;border-radius:4px;position:absolute;z-index:2}.ipython_tooltip a{float:right} | |
| .ipython_tooltip .tooltiptext pre{border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;font-size:100%;background-color:#f7f7f7} | |
| .pretooltiparrow{left:0;margin:0;top:-16px;width:40px;height:16px;overflow:hidden;position:absolute} | |
| .pretooltiparrow:before{background-color:#f7f7f7;border:1px #ababab solid;z-index:11;content:"";position:absolute;left:15px;top:10px;width:25px;height:25px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg)} | |
| </style> | |
| <style type="text/css"> | |
| .highlight .hll { background-color: #ffffcc } | |
| .highlight { background: #f8f8f8; } | |
| .highlight .c { color: #408080; font-style: italic } /* Comment */ | |
| .highlight .err { border: 1px solid #FF0000 } /* Error */ | |
| .highlight .k { color: #008000; font-weight: bold } /* Keyword */ | |
| .highlight .o { color: #666666 } /* Operator */ | |
| .highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */ | |
| .highlight .cp { color: #BC7A00 } /* Comment.Preproc */ | |
| .highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */ | |
| .highlight .cs { color: #408080; font-style: italic } /* Comment.Special */ | |
| .highlight .gd { color: #A00000 } /* Generic.Deleted */ | |
| .highlight .ge { font-style: italic } /* Generic.Emph */ | |
| .highlight .gr { color: #FF0000 } /* Generic.Error */ | |
| .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ | |
| .highlight .gi { color: #00A000 } /* Generic.Inserted */ | |
| .highlight .go { color: #888888 } /* Generic.Output */ | |
| .highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ | |
| .highlight .gs { font-weight: bold } /* Generic.Strong */ | |
| .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | |
| .highlight .gt { color: #0044DD } /* Generic.Traceback */ | |
| .highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ | |
| .highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ | |
| .highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ | |
| .highlight .kp { color: #008000 } /* Keyword.Pseudo */ | |
| .highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ | |
| .highlight .kt { color: #B00040 } /* Keyword.Type */ | |
| .highlight .m { color: #666666 } /* Literal.Number */ | |
| .highlight .s { color: #BA2121 } /* Literal.String */ | |
| .highlight .na { color: #7D9029 } /* Name.Attribute */ | |
| .highlight .nb { color: #008000 } /* Name.Builtin */ | |
| .highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */ | |
| .highlight .no { color: #880000 } /* Name.Constant */ | |
| .highlight .nd { color: #AA22FF } /* Name.Decorator */ | |
| .highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */ | |
| .highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ | |
| .highlight .nf { color: #0000FF } /* Name.Function */ | |
| .highlight .nl { color: #A0A000 } /* Name.Label */ | |
| .highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ | |
| .highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */ | |
| .highlight .nv { color: #19177C } /* Name.Variable */ | |
| .highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ | |
| .highlight .w { color: #bbbbbb } /* Text.Whitespace */ | |
| .highlight .mf { color: #666666 } /* Literal.Number.Float */ | |
| .highlight .mh { color: #666666 } /* Literal.Number.Hex */ | |
| .highlight .mi { color: #666666 } /* Literal.Number.Integer */ | |
| .highlight .mo { color: #666666 } /* Literal.Number.Oct */ | |
| .highlight .sb { color: #BA2121 } /* Literal.String.Backtick */ | |
| .highlight .sc { color: #BA2121 } /* Literal.String.Char */ | |
| .highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ | |
| .highlight .s2 { color: #BA2121 } /* Literal.String.Double */ | |
| .highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ | |
| .highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */ | |
| .highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ | |
| .highlight .sx { color: #008000 } /* Literal.String.Other */ | |
| .highlight .sr { color: #BB6688 } /* Literal.String.Regex */ | |
| .highlight .s1 { color: #BA2121 } /* Literal.String.Single */ | |
| .highlight .ss { color: #19177C } /* Literal.String.Symbol */ | |
| .highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */ | |
| .highlight .vc { color: #19177C } /* Name.Variable.Class */ | |
| .highlight .vg { color: #19177C } /* Name.Variable.Global */ | |
| .highlight .vi { color: #19177C } /* Name.Variable.Instance */ | |
| .highlight .il { color: #666666 } /* Literal.Number.Integer.Long */ | |
| </style> | |
| <style type="text/css"> | |
| /* Overrides of notebook CSS for static HTML export */ | |
| body { | |
| overflow: visible; | |
| padding: 8px; | |
| } | |
| div#notebook { | |
| overflow: visible; | |
| border-top: none; | |
| } | |
| @media print { | |
| div.cell { | |
| display: block; | |
| page-break-inside: avoid; | |
| } | |
| div.output_wrapper { | |
| display: block; | |
| page-break-inside: avoid; | |
| } | |
| div.output { | |
| display: block; | |
| page-break-inside: avoid; | |
| } | |
| } | |
| </style> | |
| <!-- Custom stylesheet, it must be in the same directory as the html file --> | |
| <link rel="stylesheet" href="custom.css"> | |
| <!-- Loading mathjax macro --> | |
| <!-- Load mathjax --> | |
| <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script> | |
| <!-- MathJax configuration --> | |
| <script type="text/x-mathjax-config"> | |
| MathJax.Hub.Config({ | |
| tex2jax: { | |
| inlineMath: [ ['$','$'], ["\\(","\\)"] ], | |
| displayMath: [ ['$$','$$'], ["\\[","\\]"] ], | |
| processEscapes: true, | |
| processEnvironments: true | |
| }, | |
| // Center justify equations in code and markdown cells. Elsewhere | |
| // we use CSS to left justify single line equations in code cells. | |
| displayAlign: 'center', | |
| "HTML-CSS": { | |
| styles: {'.MathJax_Display': {"margin": 0}}, | |
| linebreaks: { automatic: true } | |
| } | |
| }); | |
| </script> | |
| <!-- End of mathjax configuration --> | |
| </head> | |
| <body> | |
| <div tabindex="-1" id="notebook" class="border-box-sizing"> | |
| <div class="container" id="notebook-container"> | |
| <div class="cell border-box-sizing code_cell rendered"> | |
| <div class="input"> | |
| <div class="prompt input_prompt"> | |
| In [223]: | |
| </div> | |
| <div class="inner_cell"> | |
| <div class="input_area"> | |
| <div class="highlight"><pre><span class="k">using</span> <span class="n">Gadfly</span><span class="p">;</span> <span class="k">using</span> <span class="n">DataFrames</span><span class="p">;</span> | |
| </pre></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="cell border-box-sizing code_cell rendered"> | |
| <div class="input"> | |
| <div class="prompt input_prompt"> | |
| In [231]: | |
| </div> | |
| <div class="inner_cell"> | |
| <div class="input_area"> | |
| <div class="highlight"><pre><span class="n">Gthreshold</span> <span class="o">=</span> <span class="mi">20</span><span class="p">;</span> | |
| <span class="n">Fthreshold</span> <span class="o">=</span> <span class="mi">200</span><span class="p">;</span> | |
| </pre></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="cell border-box-sizing code_cell rendered"> | |
| <div class="input"> | |
| <div class="prompt input_prompt"> | |
| In [244]: | |
| </div> | |
| <div class="inner_cell"> | |
| <div class="input_area"> | |
| <div class="highlight"><pre><span class="n">df</span> <span class="o">=</span> <span class="n">DataFrame</span><span class="p">(</span><span class="n">research</span> <span class="o">=</span> <span class="p">[</span><span class="s">"AGI"</span><span class="p">,</span> <span class="s">"FAI"</span><span class="p">],</span> <span class="n">threshold</span> <span class="o">=</span> <span class="p">[</span><span class="n">Gthreshold</span><span class="p">,</span> <span class="n">Fthreshold</span><span class="p">])</span> | |
| <span class="n">plot</span><span class="p">(</span><span class="n">df</span><span class="p">,</span> <span class="n">x</span><span class="o">=</span><span class="n">df</span><span class="p">[:</span><span class="n">research</span><span class="p">],</span> <span class="n">y</span><span class="o">=</span><span class="n">df</span><span class="p">[:</span><span class="n">threshold</span><span class="p">],</span> <span class="n">Guide</span><span class="o">.</span><span class="n">xlabel</span><span class="p">(</span><span class="s">"Research Type"</span><span class="p">),</span> <span class="n">Guide</span><span class="o">.</span><span class="n">ylabel</span><span class="p">(</span><span class="s">"Research Rememaining (r)"</span><span class="p">),</span> <span class="n">Guide</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="s">"Remaining AGI and FAI Research"</span><span class="p">),</span> <span class="n">Geom</span><span class="o">.</span><span class="n">bar</span><span class="p">)</span> | |
| </pre></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="output_wrapper"> | |
| <div class="output"> | |
| <div class="output_area"><div class="prompt output_prompt"> | |
| Out[244]:</div> | |
| <div class="output_html rendered_html output_subarea output_pyout"> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <svg xmlns="http://www.w3.org/2000/svg" | |
| xmlns:xlink="http://www.w3.org/1999/xlink" | |
| xmlns:gadfly="http://www.gadflyjl.org/ns" | |
| version="1.2" | |
| width="141.42mm" height="100mm" viewBox="0 0 141.42 100" | |
| stroke="none" | |
| fill="#000000" | |
| stroke-width="0.3" | |
| font-size="3.88" | |
| id="fig-32dad49cf5354baaa1e313dd04c4471b"> | |
| <g class="plotroot yscalable" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-1"> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-2"> | |
| <text x="78.03" y="92" text-anchor="middle">Research Type</text> | |
| </g> | |
| <g class="guide xlabels" font-size="2.82" font-family="'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif" fill="#6C606B" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-3"> | |
| <text x="48.83" y="86.39" text-anchor="middle" gadfly:scale="1.0" visibility="visible">AGI</text> | |
| <text x="107.22" y="86.39" text-anchor="middle" gadfly:scale="1.0" visibility="visible">FAI</text> | |
| </g> | |
| <g clip-path="url(#fig-32dad49cf5354baaa1e313dd04c4471b-element-5)" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-4"> | |
| <g pointer-events="visible" opacity="1" fill="none" stroke="none" class="guide background" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-6"> | |
| <rect x="19.63" y="12.61" width="116.79" height="70.1"/> | |
| </g> | |
| <g class="guide ygridlines xfixed" stroke-dasharray="0.5,0.5" stroke-width="0.2" stroke="#D0D0E0" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-7"> | |
| <path fill="none" d="M19.63,163.34 L 136.42 163.34" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,146.82 L 136.42 146.82" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,130.29 L 136.42 130.29" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,113.77 L 136.42 113.77" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,97.24 L 136.42 97.24" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,80.72 L 136.42 80.72" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M19.63,64.19 L 136.42 64.19" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M19.63,47.66 L 136.42 47.66" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M19.63,31.14 L 136.42 31.14" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M19.63,14.61 L 136.42 14.61" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M19.63,-1.91 L 136.42 -1.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-18.44 L 136.42 -18.44" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-34.97 L 136.42 -34.97" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-51.49 L 136.42 -51.49" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-68.02 L 136.42 -68.02" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,146.82 L 136.42 146.82" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,143.51 L 136.42 143.51" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,140.21 L 136.42 140.21" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,136.9 L 136.42 136.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,133.6 L 136.42 133.6" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,130.29 L 136.42 130.29" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,126.99 L 136.42 126.99" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,123.68 L 136.42 123.68" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,120.38 L 136.42 120.38" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,117.07 L 136.42 117.07" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,113.77 L 136.42 113.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,110.46 L 136.42 110.46" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,107.16 L 136.42 107.16" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,103.85 L 136.42 103.85" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,100.55 L 136.42 100.55" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,97.24 L 136.42 97.24" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,93.94 L 136.42 93.94" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,90.63 L 136.42 90.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,87.33 L 136.42 87.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,84.02 L 136.42 84.02" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,80.72 L 136.42 80.72" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,77.41 L 136.42 77.41" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,74.1 L 136.42 74.1" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,70.8 L 136.42 70.8" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,67.49 L 136.42 67.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,64.19 L 136.42 64.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,60.88 L 136.42 60.88" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,57.58 L 136.42 57.58" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,54.27 L 136.42 54.27" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,50.97 L 136.42 50.97" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,47.66 L 136.42 47.66" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,44.36 L 136.42 44.36" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,41.05 L 136.42 41.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,37.75 L 136.42 37.75" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,34.44 L 136.42 34.44" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,31.14 L 136.42 31.14" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,27.83 L 136.42 27.83" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,24.53 L 136.42 24.53" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,21.22 L 136.42 21.22" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,17.92 L 136.42 17.92" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,14.61 L 136.42 14.61" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,11.31 L 136.42 11.31" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,8 L 136.42 8" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,4.7 L 136.42 4.7" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,1.39 L 136.42 1.39" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-1.91 L 136.42 -1.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-5.22 L 136.42 -5.22" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-8.52 L 136.42 -8.52" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-11.83 L 136.42 -11.83" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-15.13 L 136.42 -15.13" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-18.44 L 136.42 -18.44" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-21.75 L 136.42 -21.75" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-25.05 L 136.42 -25.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-28.36 L 136.42 -28.36" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-31.66 L 136.42 -31.66" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-34.97 L 136.42 -34.97" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-38.27 L 136.42 -38.27" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-41.58 L 136.42 -41.58" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-44.88 L 136.42 -44.88" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-48.19 L 136.42 -48.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-51.49 L 136.42 -51.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,146.82 L 136.42 146.82" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M19.63,80.72 L 136.42 80.72" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M19.63,14.61 L 136.42 14.61" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-51.49 L 136.42 -51.49" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M19.63,146.82 L 136.42 146.82" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,140.21 L 136.42 140.21" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,133.6 L 136.42 133.6" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,126.99 L 136.42 126.99" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,120.38 L 136.42 120.38" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,113.77 L 136.42 113.77" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,107.16 L 136.42 107.16" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,100.55 L 136.42 100.55" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,93.94 L 136.42 93.94" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,87.33 L 136.42 87.33" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,80.72 L 136.42 80.72" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,74.1 L 136.42 74.1" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,67.49 L 136.42 67.49" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,60.88 L 136.42 60.88" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,54.27 L 136.42 54.27" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,47.66 L 136.42 47.66" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,41.05 L 136.42 41.05" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,34.44 L 136.42 34.44" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,27.83 L 136.42 27.83" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,21.22 L 136.42 21.22" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,14.61 L 136.42 14.61" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,8 L 136.42 8" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,1.39 L 136.42 1.39" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-5.22 L 136.42 -5.22" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-11.83 L 136.42 -11.83" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-18.44 L 136.42 -18.44" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-25.05 L 136.42 -25.05" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-31.66 L 136.42 -31.66" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-38.27 L 136.42 -38.27" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-44.88 L 136.42 -44.88" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.63,-51.49 L 136.42 -51.49" gadfly:scale="5.0" visibility="hidden"/> | |
| </g> | |
| <g class="guide xgridlines yfixed" stroke-dasharray="0.5,0.5" stroke-width="0.2" stroke="#D0D0E0" visibility="visible" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-8"> | |
| <path fill="none" d="M78.03,12.61 L 78.03 82.72" gadfly:scale="1.0"/> | |
| </g> | |
| <g class="plotpanel" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-9"> | |
| <g stroke="none" fill="#00BFFF" shape-rendering="crispEdges" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-10"> | |
| <g class="geometry" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-11"> | |
| <rect x="19.63" y="74.1" width="58.39" height="6.61"/> | |
| <rect x="78.03" y="14.61" width="58.39" height="66.1"/> | |
| </g> | |
| </g> | |
| </g> | |
| <g opacity="0" class="guide zoomslider" stroke="none" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-12"> | |
| <g fill="#EAEAEA" stroke-width="0.3" stroke-opacity="0" stroke="#6A6A6A" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-13"> | |
| <rect x="129.42" y="15.61" width="4" height="4"/> | |
| <g class="button_logo" fill="#6A6A6A" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-14"> | |
| <path d="M130.22,17.21 L 131.02 17.21 131.02 16.41 131.82 16.41 131.82 17.21 132.62 17.21 132.62 18.01 131.82 18.01 131.82 18.81 131.02 18.81 131.02 18.01 130.22 18.01 z"/> | |
| </g> | |
| </g> | |
| <g fill="#EAEAEA" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-15"> | |
| <rect x="109.92" y="15.61" width="19" height="4"/> | |
| </g> | |
| <g class="zoomslider_thumb" fill="#6A6A6A" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-16"> | |
| <rect x="118.42" y="15.61" width="2" height="4"/> | |
| </g> | |
| <g fill="#EAEAEA" stroke-width="0.3" stroke-opacity="0" stroke="#6A6A6A" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-17"> | |
| <rect x="105.42" y="15.61" width="4" height="4"/> | |
| <g class="button_logo" fill="#6A6A6A" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-18"> | |
| <path d="M106.22,17.21 L 108.62 17.21 108.62 18.01 106.22 18.01 z"/> | |
| </g> | |
| </g> | |
| </g> | |
| </g> | |
| <g class="guide ylabels" font-size="2.82" font-family="'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif" fill="#6C606B" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-19"> | |
| <text x="18.63" y="163.34" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-250</text> | |
| <text x="18.63" y="146.82" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-200</text> | |
| <text x="18.63" y="130.29" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-150</text> | |
| <text x="18.63" y="113.77" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-100</text> | |
| <text x="18.63" y="97.24" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-50</text> | |
| <text x="18.63" y="80.72" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">0</text> | |
| <text x="18.63" y="64.19" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">50</text> | |
| <text x="18.63" y="47.66" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">100</text> | |
| <text x="18.63" y="31.14" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">150</text> | |
| <text x="18.63" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">200</text> | |
| <text x="18.63" y="-1.91" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">250</text> | |
| <text x="18.63" y="-18.44" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">300</text> | |
| <text x="18.63" y="-34.97" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">350</text> | |
| <text x="18.63" y="-51.49" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">400</text> | |
| <text x="18.63" y="-68.02" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">450</text> | |
| <text x="18.63" y="146.82" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-200</text> | |
| <text x="18.63" y="143.51" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-190</text> | |
| <text x="18.63" y="140.21" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-180</text> | |
| <text x="18.63" y="136.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-170</text> | |
| <text x="18.63" y="133.6" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-160</text> | |
| <text x="18.63" y="130.29" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-150</text> | |
| <text x="18.63" y="126.99" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-140</text> | |
| <text x="18.63" y="123.68" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-130</text> | |
| <text x="18.63" y="120.38" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-120</text> | |
| <text x="18.63" y="117.07" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-110</text> | |
| <text x="18.63" y="113.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-100</text> | |
| <text x="18.63" y="110.46" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-90</text> | |
| <text x="18.63" y="107.16" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-80</text> | |
| <text x="18.63" y="103.85" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-70</text> | |
| <text x="18.63" y="100.55" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-60</text> | |
| <text x="18.63" y="97.24" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-50</text> | |
| <text x="18.63" y="93.94" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-40</text> | |
| <text x="18.63" y="90.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-30</text> | |
| <text x="18.63" y="87.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-20</text> | |
| <text x="18.63" y="84.02" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-10</text> | |
| <text x="18.63" y="80.72" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0</text> | |
| <text x="18.63" y="77.41" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">10</text> | |
| <text x="18.63" y="74.1" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">20</text> | |
| <text x="18.63" y="70.8" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">30</text> | |
| <text x="18.63" y="67.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">40</text> | |
| <text x="18.63" y="64.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">50</text> | |
| <text x="18.63" y="60.88" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">60</text> | |
| <text x="18.63" y="57.58" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">70</text> | |
| <text x="18.63" y="54.27" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">80</text> | |
| <text x="18.63" y="50.97" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">90</text> | |
| <text x="18.63" y="47.66" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">100</text> | |
| <text x="18.63" y="44.36" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">110</text> | |
| <text x="18.63" y="41.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">120</text> | |
| <text x="18.63" y="37.75" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">130</text> | |
| <text x="18.63" y="34.44" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">140</text> | |
| <text x="18.63" y="31.14" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">150</text> | |
| <text x="18.63" y="27.83" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">160</text> | |
| <text x="18.63" y="24.53" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">170</text> | |
| <text x="18.63" y="21.22" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">180</text> | |
| <text x="18.63" y="17.92" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">190</text> | |
| <text x="18.63" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">200</text> | |
| <text x="18.63" y="11.31" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">210</text> | |
| <text x="18.63" y="8" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">220</text> | |
| <text x="18.63" y="4.7" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">230</text> | |
| <text x="18.63" y="1.39" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">240</text> | |
| <text x="18.63" y="-1.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">250</text> | |
| <text x="18.63" y="-5.22" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">260</text> | |
| <text x="18.63" y="-8.52" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">270</text> | |
| <text x="18.63" y="-11.83" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">280</text> | |
| <text x="18.63" y="-15.13" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">290</text> | |
| <text x="18.63" y="-18.44" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">300</text> | |
| <text x="18.63" y="-21.75" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">310</text> | |
| <text x="18.63" y="-25.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">320</text> | |
| <text x="18.63" y="-28.36" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">330</text> | |
| <text x="18.63" y="-31.66" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">340</text> | |
| <text x="18.63" y="-34.97" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">350</text> | |
| <text x="18.63" y="-38.27" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">360</text> | |
| <text x="18.63" y="-41.58" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">370</text> | |
| <text x="18.63" y="-44.88" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">380</text> | |
| <text x="18.63" y="-48.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">390</text> | |
| <text x="18.63" y="-51.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">400</text> | |
| <text x="18.63" y="146.82" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">-200</text> | |
| <text x="18.63" y="80.72" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">0</text> | |
| <text x="18.63" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">200</text> | |
| <text x="18.63" y="-51.49" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">400</text> | |
| <text x="18.63" y="146.82" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-200</text> | |
| <text x="18.63" y="140.21" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-180</text> | |
| <text x="18.63" y="133.6" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-160</text> | |
| <text x="18.63" y="126.99" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-140</text> | |
| <text x="18.63" y="120.38" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-120</text> | |
| <text x="18.63" y="113.77" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-100</text> | |
| <text x="18.63" y="107.16" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-80</text> | |
| <text x="18.63" y="100.55" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-60</text> | |
| <text x="18.63" y="93.94" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-40</text> | |
| <text x="18.63" y="87.33" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-20</text> | |
| <text x="18.63" y="80.72" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0</text> | |
| <text x="18.63" y="74.1" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">20</text> | |
| <text x="18.63" y="67.49" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">40</text> | |
| <text x="18.63" y="60.88" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">60</text> | |
| <text x="18.63" y="54.27" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">80</text> | |
| <text x="18.63" y="47.66" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">100</text> | |
| <text x="18.63" y="41.05" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">120</text> | |
| <text x="18.63" y="34.44" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">140</text> | |
| <text x="18.63" y="27.83" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">160</text> | |
| <text x="18.63" y="21.22" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">180</text> | |
| <text x="18.63" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">200</text> | |
| <text x="18.63" y="8" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">220</text> | |
| <text x="18.63" y="1.39" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">240</text> | |
| <text x="18.63" y="-5.22" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">260</text> | |
| <text x="18.63" y="-11.83" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">280</text> | |
| <text x="18.63" y="-18.44" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">300</text> | |
| <text x="18.63" y="-25.05" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">320</text> | |
| <text x="18.63" y="-31.66" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">340</text> | |
| <text x="18.63" y="-38.27" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">360</text> | |
| <text x="18.63" y="-44.88" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">380</text> | |
| <text x="18.63" y="-51.49" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">400</text> | |
| </g> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-20"> | |
| <text x="8.81" y="45.66" text-anchor="middle" dy="0.35em" transform="rotate(-90, 8.81, 47.66)">Research Rememaining (r)</text> | |
| </g> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-32dad49cf5354baaa1e313dd04c4471b-element-21"> | |
| <text x="78.03" y="10.61" text-anchor="middle">Remaining AGI and FAI Research</text> | |
| </g> | |
| </g> | |
| <defs> | |
| <clipPath id="fig-32dad49cf5354baaa1e313dd04c4471b-element-5"> | |
| <path d="M19.63,12.61 L 136.42 12.61 136.42 82.72 19.63 82.72" /> | |
| </clipPath | |
| ></defs> | |
| <script> <![CDATA[ | |
| (function(N){var k=/[\.\/]/,L=/\s*,\s*/,C=function(a,d){return a-d},a,v,y={n:{}},M=function(){for(var a=0,d=this.length;a<d;a++)if("undefined"!=typeof this[a])return this[a]},A=function(){for(var a=this.length;--a;)if("undefined"!=typeof this[a])return this[a]},w=function(k,d){k=String(k);var f=v,n=Array.prototype.slice.call(arguments,2),u=w.listeners(k),p=0,b,q=[],e={},l=[],r=a;l.firstDefined=M;l.lastDefined=A;a=k;for(var s=v=0,x=u.length;s<x;s++)"zIndex"in u[s]&&(q.push(u[s].zIndex),0>u[s].zIndex&& | |
| (e[u[s].zIndex]=u[s]));for(q.sort(C);0>q[p];)if(b=e[q[p++] ],l.push(b.apply(d,n)),v)return v=f,l;for(s=0;s<x;s++)if(b=u[s],"zIndex"in b)if(b.zIndex==q[p]){l.push(b.apply(d,n));if(v)break;do if(p++,(b=e[q[p] ])&&l.push(b.apply(d,n)),v)break;while(b)}else e[b.zIndex]=b;else if(l.push(b.apply(d,n)),v)break;v=f;a=r;return l};w._events=y;w.listeners=function(a){a=a.split(k);var d=y,f,n,u,p,b,q,e,l=[d],r=[];u=0;for(p=a.length;u<p;u++){e=[];b=0;for(q=l.length;b<q;b++)for(d=l[b].n,f=[d[a[u] ],d["*"] ],n=2;n--;)if(d= | |
| f[n])e.push(d),r=r.concat(d.f||[]);l=e}return r};w.on=function(a,d){a=String(a);if("function"!=typeof d)return function(){};for(var f=a.split(L),n=0,u=f.length;n<u;n++)(function(a){a=a.split(k);for(var b=y,f,e=0,l=a.length;e<l;e++)b=b.n,b=b.hasOwnProperty(a[e])&&b[a[e] ]||(b[a[e] ]={n:{}});b.f=b.f||[];e=0;for(l=b.f.length;e<l;e++)if(b.f[e]==d){f=!0;break}!f&&b.f.push(d)})(f[n]);return function(a){+a==+a&&(d.zIndex=+a)}};w.f=function(a){var d=[].slice.call(arguments,1);return function(){w.apply(null, | |
| [a,null].concat(d).concat([].slice.call(arguments,0)))}};w.stop=function(){v=1};w.nt=function(k){return k?(new RegExp("(?:\\.|\\/|^)"+k+"(?:\\.|\\/|$)")).test(a):a};w.nts=function(){return a.split(k)};w.off=w.unbind=function(a,d){if(a){var f=a.split(L);if(1<f.length)for(var n=0,u=f.length;n<u;n++)w.off(f[n],d);else{for(var f=a.split(k),p,b,q,e,l=[y],n=0,u=f.length;n<u;n++)for(e=0;e<l.length;e+=q.length-2){q=[e,1];p=l[e].n;if("*"!=f[n])p[f[n] ]&&q.push(p[f[n] ]);else for(b in p)p.hasOwnProperty(b)&& | |
| q.push(p[b]);l.splice.apply(l,q)}n=0;for(u=l.length;n<u;n++)for(p=l[n];p.n;){if(d){if(p.f){e=0;for(f=p.f.length;e<f;e++)if(p.f[e]==d){p.f.splice(e,1);break}!p.f.length&&delete p.f}for(b in p.n)if(p.n.hasOwnProperty(b)&&p.n[b].f){q=p.n[b].f;e=0;for(f=q.length;e<f;e++)if(q[e]==d){q.splice(e,1);break}!q.length&&delete p.n[b].f}}else for(b in delete p.f,p.n)p.n.hasOwnProperty(b)&&p.n[b].f&&delete p.n[b].f;p=p.n}}}else w._events=y={n:{}}};w.once=function(a,d){var f=function(){w.unbind(a,f);return d.apply(this, | |
| arguments)};return w.on(a,f)};w.version="0.4.2";w.toString=function(){return"You are running Eve 0.4.2"};"undefined"!=typeof module&&module.exports?module.exports=w:"function"===typeof define&&define.amd?define("eve",[],function(){return w}):N.eve=w})(this); | |
| (function(N,k){"function"===typeof define&&define.amd?define("Snap.svg",["eve"],function(L){return k(N,L)}):k(N,N.eve)})(this,function(N,k){var L=function(a){var k={},y=N.requestAnimationFrame||N.webkitRequestAnimationFrame||N.mozRequestAnimationFrame||N.oRequestAnimationFrame||N.msRequestAnimationFrame||function(a){setTimeout(a,16)},M=Array.isArray||function(a){return a instanceof Array||"[object Array]"==Object.prototype.toString.call(a)},A=0,w="M"+(+new Date).toString(36),z=function(a){if(null== | |
| a)return this.s;var b=this.s-a;this.b+=this.dur*b;this.B+=this.dur*b;this.s=a},d=function(a){if(null==a)return this.spd;this.spd=a},f=function(a){if(null==a)return this.dur;this.s=this.s*a/this.dur;this.dur=a},n=function(){delete k[this.id];this.update();a("mina.stop."+this.id,this)},u=function(){this.pdif||(delete k[this.id],this.update(),this.pdif=this.get()-this.b)},p=function(){this.pdif&&(this.b=this.get()-this.pdif,delete this.pdif,k[this.id]=this)},b=function(){var a;if(M(this.start)){a=[]; | |
| for(var b=0,e=this.start.length;b<e;b++)a[b]=+this.start[b]+(this.end[b]-this.start[b])*this.easing(this.s)}else a=+this.start+(this.end-this.start)*this.easing(this.s);this.set(a)},q=function(){var l=0,b;for(b in k)if(k.hasOwnProperty(b)){var e=k[b],f=e.get();l++;e.s=(f-e.b)/(e.dur/e.spd);1<=e.s&&(delete k[b],e.s=1,l--,function(b){setTimeout(function(){a("mina.finish."+b.id,b)})}(e));e.update()}l&&y(q)},e=function(a,r,s,x,G,h,J){a={id:w+(A++).toString(36),start:a,end:r,b:s,s:0,dur:x-s,spd:1,get:G, | |
| set:h,easing:J||e.linear,status:z,speed:d,duration:f,stop:n,pause:u,resume:p,update:b};k[a.id]=a;r=0;for(var K in k)if(k.hasOwnProperty(K)&&(r++,2==r))break;1==r&&y(q);return a};e.time=Date.now||function(){return+new Date};e.getById=function(a){return k[a]||null};e.linear=function(a){return a};e.easeout=function(a){return Math.pow(a,1.7)};e.easein=function(a){return Math.pow(a,0.48)};e.easeinout=function(a){if(1==a)return 1;if(0==a)return 0;var b=0.48-a/1.04,e=Math.sqrt(0.1734+b*b);a=e-b;a=Math.pow(Math.abs(a), | |
| 1/3)*(0>a?-1:1);b=-e-b;b=Math.pow(Math.abs(b),1/3)*(0>b?-1:1);a=a+b+0.5;return 3*(1-a)*a*a+a*a*a};e.backin=function(a){return 1==a?1:a*a*(2.70158*a-1.70158)};e.backout=function(a){if(0==a)return 0;a-=1;return a*a*(2.70158*a+1.70158)+1};e.elastic=function(a){return a==!!a?a:Math.pow(2,-10*a)*Math.sin(2*(a-0.075)*Math.PI/0.3)+1};e.bounce=function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a}; | |
| return N.mina=e}("undefined"==typeof k?function(){}:k),C=function(){function a(c,t){if(c){if(c.tagName)return x(c);if(y(c,"array")&&a.set)return a.set.apply(a,c);if(c instanceof e)return c;if(null==t)return c=G.doc.querySelector(c),x(c)}return new s(null==c?"100%":c,null==t?"100%":t)}function v(c,a){if(a){"#text"==c&&(c=G.doc.createTextNode(a.text||""));"string"==typeof c&&(c=v(c));if("string"==typeof a)return"xlink:"==a.substring(0,6)?c.getAttributeNS(m,a.substring(6)):"xml:"==a.substring(0,4)?c.getAttributeNS(la, | |
| a.substring(4)):c.getAttribute(a);for(var da in a)if(a[h](da)){var b=J(a[da]);b?"xlink:"==da.substring(0,6)?c.setAttributeNS(m,da.substring(6),b):"xml:"==da.substring(0,4)?c.setAttributeNS(la,da.substring(4),b):c.setAttribute(da,b):c.removeAttribute(da)}}else c=G.doc.createElementNS(la,c);return c}function y(c,a){a=J.prototype.toLowerCase.call(a);return"finite"==a?isFinite(c):"array"==a&&(c instanceof Array||Array.isArray&&Array.isArray(c))?!0:"null"==a&&null===c||a==typeof c&&null!==c||"object"== | |
| a&&c===Object(c)||$.call(c).slice(8,-1).toLowerCase()==a}function M(c){if("function"==typeof c||Object(c)!==c)return c;var a=new c.constructor,b;for(b in c)c[h](b)&&(a[b]=M(c[b]));return a}function A(c,a,b){function m(){var e=Array.prototype.slice.call(arguments,0),f=e.join("\u2400"),d=m.cache=m.cache||{},l=m.count=m.count||[];if(d[h](f)){a:for(var e=l,l=f,B=0,H=e.length;B<H;B++)if(e[B]===l){e.push(e.splice(B,1)[0]);break a}return b?b(d[f]):d[f]}1E3<=l.length&&delete d[l.shift()];l.push(f);d[f]=c.apply(a, | |
| e);return b?b(d[f]):d[f]}return m}function w(c,a,b,m,e,f){return null==e?(c-=b,a-=m,c||a?(180*I.atan2(-a,-c)/C+540)%360:0):w(c,a,e,f)-w(b,m,e,f)}function z(c){return c%360*C/180}function d(c){var a=[];c=c.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(c,b,m){m=m.split(/\s*,\s*|\s+/);"rotate"==b&&1==m.length&&m.push(0,0);"scale"==b&&(2<m.length?m=m.slice(0,2):2==m.length&&m.push(0,0),1==m.length&&m.push(m[0],0,0));"skewX"==b?a.push(["m",1,0,I.tan(z(m[0])),1,0,0]):"skewY"==b?a.push(["m",1,I.tan(z(m[0])), | |
| 0,1,0,0]):a.push([b.charAt(0)].concat(m));return c});return a}function f(c,t){var b=O(c),m=new a.Matrix;if(b)for(var e=0,f=b.length;e<f;e++){var h=b[e],d=h.length,B=J(h[0]).toLowerCase(),H=h[0]!=B,l=H?m.invert():0,E;"t"==B&&2==d?m.translate(h[1],0):"t"==B&&3==d?H?(d=l.x(0,0),B=l.y(0,0),H=l.x(h[1],h[2]),l=l.y(h[1],h[2]),m.translate(H-d,l-B)):m.translate(h[1],h[2]):"r"==B?2==d?(E=E||t,m.rotate(h[1],E.x+E.width/2,E.y+E.height/2)):4==d&&(H?(H=l.x(h[2],h[3]),l=l.y(h[2],h[3]),m.rotate(h[1],H,l)):m.rotate(h[1], | |
| h[2],h[3])):"s"==B?2==d||3==d?(E=E||t,m.scale(h[1],h[d-1],E.x+E.width/2,E.y+E.height/2)):4==d?H?(H=l.x(h[2],h[3]),l=l.y(h[2],h[3]),m.scale(h[1],h[1],H,l)):m.scale(h[1],h[1],h[2],h[3]):5==d&&(H?(H=l.x(h[3],h[4]),l=l.y(h[3],h[4]),m.scale(h[1],h[2],H,l)):m.scale(h[1],h[2],h[3],h[4])):"m"==B&&7==d&&m.add(h[1],h[2],h[3],h[4],h[5],h[6])}return m}function n(c,t){if(null==t){var m=!0;t="linearGradient"==c.type||"radialGradient"==c.type?c.node.getAttribute("gradientTransform"):"pattern"==c.type?c.node.getAttribute("patternTransform"): | |
| c.node.getAttribute("transform");if(!t)return new a.Matrix;t=d(t)}else t=a._.rgTransform.test(t)?J(t).replace(/\.{3}|\u2026/g,c._.transform||aa):d(t),y(t,"array")&&(t=a.path?a.path.toString.call(t):J(t)),c._.transform=t;var b=f(t,c.getBBox(1));if(m)return b;c.matrix=b}function u(c){c=c.node.ownerSVGElement&&x(c.node.ownerSVGElement)||c.node.parentNode&&x(c.node.parentNode)||a.select("svg")||a(0,0);var t=c.select("defs"),t=null==t?!1:t.node;t||(t=r("defs",c.node).node);return t}function p(c){return c.node.ownerSVGElement&& | |
| x(c.node.ownerSVGElement)||a.select("svg")}function b(c,a,m){function b(c){if(null==c)return aa;if(c==+c)return c;v(B,{width:c});try{return B.getBBox().width}catch(a){return 0}}function h(c){if(null==c)return aa;if(c==+c)return c;v(B,{height:c});try{return B.getBBox().height}catch(a){return 0}}function e(b,B){null==a?d[b]=B(c.attr(b)||0):b==a&&(d=B(null==m?c.attr(b)||0:m))}var f=p(c).node,d={},B=f.querySelector(".svg---mgr");B||(B=v("rect"),v(B,{x:-9E9,y:-9E9,width:10,height:10,"class":"svg---mgr", | |
| fill:"none"}),f.appendChild(B));switch(c.type){case "rect":e("rx",b),e("ry",h);case "image":e("width",b),e("height",h);case "text":e("x",b);e("y",h);break;case "circle":e("cx",b);e("cy",h);e("r",b);break;case "ellipse":e("cx",b);e("cy",h);e("rx",b);e("ry",h);break;case "line":e("x1",b);e("x2",b);e("y1",h);e("y2",h);break;case "marker":e("refX",b);e("markerWidth",b);e("refY",h);e("markerHeight",h);break;case "radialGradient":e("fx",b);e("fy",h);break;case "tspan":e("dx",b);e("dy",h);break;default:e(a, | |
| b)}f.removeChild(B);return d}function q(c){y(c,"array")||(c=Array.prototype.slice.call(arguments,0));for(var a=0,b=0,m=this.node;this[a];)delete this[a++];for(a=0;a<c.length;a++)"set"==c[a].type?c[a].forEach(function(c){m.appendChild(c.node)}):m.appendChild(c[a].node);for(var h=m.childNodes,a=0;a<h.length;a++)this[b++]=x(h[a]);return this}function e(c){if(c.snap in E)return E[c.snap];var a=this.id=V(),b;try{b=c.ownerSVGElement}catch(m){}this.node=c;b&&(this.paper=new s(b));this.type=c.tagName;this.anims= | |
| {};this._={transform:[]};c.snap=a;E[a]=this;"g"==this.type&&(this.add=q);if(this.type in{g:1,mask:1,pattern:1})for(var e in s.prototype)s.prototype[h](e)&&(this[e]=s.prototype[e])}function l(c){this.node=c}function r(c,a){var b=v(c);a.appendChild(b);return x(b)}function s(c,a){var b,m,f,d=s.prototype;if(c&&"svg"==c.tagName){if(c.snap in E)return E[c.snap];var l=c.ownerDocument;b=new e(c);m=c.getElementsByTagName("desc")[0];f=c.getElementsByTagName("defs")[0];m||(m=v("desc"),m.appendChild(l.createTextNode("Created with Snap")), | |
| b.node.appendChild(m));f||(f=v("defs"),b.node.appendChild(f));b.defs=f;for(var ca in d)d[h](ca)&&(b[ca]=d[ca]);b.paper=b.root=b}else b=r("svg",G.doc.body),v(b.node,{height:a,version:1.1,width:c,xmlns:la});return b}function x(c){return!c||c instanceof e||c instanceof l?c:c.tagName&&"svg"==c.tagName.toLowerCase()?new s(c):c.tagName&&"object"==c.tagName.toLowerCase()&&"image/svg+xml"==c.type?new s(c.contentDocument.getElementsByTagName("svg")[0]):new e(c)}a.version="0.3.0";a.toString=function(){return"Snap v"+ | |
| this.version};a._={};var G={win:N,doc:N.document};a._.glob=G;var h="hasOwnProperty",J=String,K=parseFloat,U=parseInt,I=Math,P=I.max,Q=I.min,Y=I.abs,C=I.PI,aa="",$=Object.prototype.toString,F=/^\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;a._.separator= | |
| RegExp("[,\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]+");var S=RegExp("[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*"),X={hs:1,rg:1},W=RegExp("([a-z])[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)", | |
| "ig"),ma=RegExp("([rstm])[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)","ig"),Z=RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*", | |
| "ig"),na=0,ba="S"+(+new Date).toString(36),V=function(){return ba+(na++).toString(36)},m="http://www.w3.org/1999/xlink",la="http://www.w3.org/2000/svg",E={},ca=a.url=function(c){return"url('#"+c+"')"};a._.$=v;a._.id=V;a.format=function(){var c=/\{([^\}]+)\}/g,a=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,b=function(c,b,m){var h=m;b.replace(a,function(c,a,b,m,t){a=a||m;h&&(a in h&&(h=h[a]),"function"==typeof h&&t&&(h=h()))});return h=(null==h||h==m?c:h)+""};return function(a,m){return J(a).replace(c, | |
| function(c,a){return b(c,a,m)})}}();a._.clone=M;a._.cacher=A;a.rad=z;a.deg=function(c){return 180*c/C%360};a.angle=w;a.is=y;a.snapTo=function(c,a,b){b=y(b,"finite")?b:10;if(y(c,"array"))for(var m=c.length;m--;){if(Y(c[m]-a)<=b)return c[m]}else{c=+c;m=a%c;if(m<b)return a-m;if(m>c-b)return a-m+c}return a};a.getRGB=A(function(c){if(!c||(c=J(c)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka};if("none"==c)return{r:-1,g:-1,b:-1,hex:"none",toString:ka};!X[h](c.toLowerCase().substring(0, | |
| 2))&&"#"!=c.charAt()&&(c=T(c));if(!c)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka};var b,m,e,f,d;if(c=c.match(F)){c[2]&&(e=U(c[2].substring(5),16),m=U(c[2].substring(3,5),16),b=U(c[2].substring(1,3),16));c[3]&&(e=U((d=c[3].charAt(3))+d,16),m=U((d=c[3].charAt(2))+d,16),b=U((d=c[3].charAt(1))+d,16));c[4]&&(d=c[4].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b*=2.55),m=K(d[1]),"%"==d[1].slice(-1)&&(m*=2.55),e=K(d[2]),"%"==d[2].slice(-1)&&(e*=2.55),"rgba"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])), | |
| d[3]&&"%"==d[3].slice(-1)&&(f/=100));if(c[5])return d=c[5].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b/=100),m=K(d[1]),"%"==d[1].slice(-1)&&(m/=100),e=K(d[2]),"%"==d[2].slice(-1)&&(e/=100),"deg"!=d[0].slice(-3)&&"\u00b0"!=d[0].slice(-1)||(b/=360),"hsba"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])),d[3]&&"%"==d[3].slice(-1)&&(f/=100),a.hsb2rgb(b,m,e,f);if(c[6])return d=c[6].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b/=100),m=K(d[1]),"%"==d[1].slice(-1)&&(m/=100),e=K(d[2]),"%"==d[2].slice(-1)&&(e/=100), | |
| "deg"!=d[0].slice(-3)&&"\u00b0"!=d[0].slice(-1)||(b/=360),"hsla"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])),d[3]&&"%"==d[3].slice(-1)&&(f/=100),a.hsl2rgb(b,m,e,f);b=Q(I.round(b),255);m=Q(I.round(m),255);e=Q(I.round(e),255);f=Q(P(f,0),1);c={r:b,g:m,b:e,toString:ka};c.hex="#"+(16777216|e|m<<8|b<<16).toString(16).slice(1);c.opacity=y(f,"finite")?f:1;return c}return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka}},a);a.hsb=A(function(c,b,m){return a.hsb2rgb(c,b,m).hex});a.hsl=A(function(c,b,m){return a.hsl2rgb(c, | |
| b,m).hex});a.rgb=A(function(c,a,b,m){if(y(m,"finite")){var e=I.round;return"rgba("+[e(c),e(a),e(b),+m.toFixed(2)]+")"}return"#"+(16777216|b|a<<8|c<<16).toString(16).slice(1)});var T=function(c){var a=G.doc.getElementsByTagName("head")[0]||G.doc.getElementsByTagName("svg")[0];T=A(function(c){if("red"==c.toLowerCase())return"rgb(255, 0, 0)";a.style.color="rgb(255, 0, 0)";a.style.color=c;c=G.doc.defaultView.getComputedStyle(a,aa).getPropertyValue("color");return"rgb(255, 0, 0)"==c?null:c});return T(c)}, | |
| qa=function(){return"hsb("+[this.h,this.s,this.b]+")"},ra=function(){return"hsl("+[this.h,this.s,this.l]+")"},ka=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},D=function(c,b,m){null==b&&y(c,"object")&&"r"in c&&"g"in c&&"b"in c&&(m=c.b,b=c.g,c=c.r);null==b&&y(c,string)&&(m=a.getRGB(c),c=m.r,b=m.g,m=m.b);if(1<c||1<b||1<m)c/=255,b/=255,m/=255;return[c,b,m]},oa=function(c,b,m,e){c=I.round(255*c);b=I.round(255*b);m=I.round(255*m);c={r:c, | |
| g:b,b:m,opacity:y(e,"finite")?e:1,hex:a.rgb(c,b,m),toString:ka};y(e,"finite")&&(c.opacity=e);return c};a.color=function(c){var b;y(c,"object")&&"h"in c&&"s"in c&&"b"in c?(b=a.hsb2rgb(c),c.r=b.r,c.g=b.g,c.b=b.b,c.opacity=1,c.hex=b.hex):y(c,"object")&&"h"in c&&"s"in c&&"l"in c?(b=a.hsl2rgb(c),c.r=b.r,c.g=b.g,c.b=b.b,c.opacity=1,c.hex=b.hex):(y(c,"string")&&(c=a.getRGB(c)),y(c,"object")&&"r"in c&&"g"in c&&"b"in c&&!("error"in c)?(b=a.rgb2hsl(c),c.h=b.h,c.s=b.s,c.l=b.l,b=a.rgb2hsb(c),c.v=b.b):(c={hex:"none"}, | |
| c.r=c.g=c.b=c.h=c.s=c.v=c.l=-1,c.error=1));c.toString=ka;return c};a.hsb2rgb=function(c,a,b,m){y(c,"object")&&"h"in c&&"s"in c&&"b"in c&&(b=c.b,a=c.s,c=c.h,m=c.o);var e,h,d;c=360*c%360/60;d=b*a;a=d*(1-Y(c%2-1));b=e=h=b-d;c=~~c;b+=[d,a,0,0,a,d][c];e+=[a,d,d,a,0,0][c];h+=[0,0,a,d,d,a][c];return oa(b,e,h,m)};a.hsl2rgb=function(c,a,b,m){y(c,"object")&&"h"in c&&"s"in c&&"l"in c&&(b=c.l,a=c.s,c=c.h);if(1<c||1<a||1<b)c/=360,a/=100,b/=100;var e,h,d;c=360*c%360/60;d=2*a*(0.5>b?b:1-b);a=d*(1-Y(c%2-1));b=e= | |
| h=b-d/2;c=~~c;b+=[d,a,0,0,a,d][c];e+=[a,d,d,a,0,0][c];h+=[0,0,a,d,d,a][c];return oa(b,e,h,m)};a.rgb2hsb=function(c,a,b){b=D(c,a,b);c=b[0];a=b[1];b=b[2];var m,e;m=P(c,a,b);e=m-Q(c,a,b);c=((0==e?0:m==c?(a-b)/e:m==a?(b-c)/e+2:(c-a)/e+4)+360)%6*60/360;return{h:c,s:0==e?0:e/m,b:m,toString:qa}};a.rgb2hsl=function(c,a,b){b=D(c,a,b);c=b[0];a=b[1];b=b[2];var m,e,h;m=P(c,a,b);e=Q(c,a,b);h=m-e;c=((0==h?0:m==c?(a-b)/h:m==a?(b-c)/h+2:(c-a)/h+4)+360)%6*60/360;m=(m+e)/2;return{h:c,s:0==h?0:0.5>m?h/(2*m):h/(2-2* | |
| m),l:m,toString:ra}};a.parsePathString=function(c){if(!c)return null;var b=a.path(c);if(b.arr)return a.path.clone(b.arr);var m={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},e=[];y(c,"array")&&y(c[0],"array")&&(e=a.path.clone(c));e.length||J(c).replace(W,function(c,a,b){var h=[];c=a.toLowerCase();b.replace(Z,function(c,a){a&&h.push(+a)});"m"==c&&2<h.length&&(e.push([a].concat(h.splice(0,2))),c="l",a="m"==a?"l":"L");"o"==c&&1==h.length&&e.push([a,h[0] ]);if("r"==c)e.push([a].concat(h));else for(;h.length>= | |
| m[c]&&(e.push([a].concat(h.splice(0,m[c]))),m[c]););});e.toString=a.path.toString;b.arr=a.path.clone(e);return e};var O=a.parseTransformString=function(c){if(!c)return null;var b=[];y(c,"array")&&y(c[0],"array")&&(b=a.path.clone(c));b.length||J(c).replace(ma,function(c,a,m){var e=[];a.toLowerCase();m.replace(Z,function(c,a){a&&e.push(+a)});b.push([a].concat(e))});b.toString=a.path.toString;return b};a._.svgTransform2string=d;a._.rgTransform=RegExp("^[a-z][\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*-?\\.?\\d", | |
| "i");a._.transform2matrix=f;a._unit2px=b;a._.getSomeDefs=u;a._.getSomeSVG=p;a.select=function(c){return x(G.doc.querySelector(c))};a.selectAll=function(c){c=G.doc.querySelectorAll(c);for(var b=(a.set||Array)(),m=0;m<c.length;m++)b.push(x(c[m]));return b};setInterval(function(){for(var c in E)if(E[h](c)){var a=E[c],b=a.node;("svg"!=a.type&&!b.ownerSVGElement||"svg"==a.type&&(!b.parentNode||"ownerSVGElement"in b.parentNode&&!b.ownerSVGElement))&&delete E[c]}},1E4);(function(c){function m(c){function a(c, | |
| b){var m=v(c.node,b);(m=(m=m&&m.match(d))&&m[2])&&"#"==m.charAt()&&(m=m.substring(1))&&(f[m]=(f[m]||[]).concat(function(a){var m={};m[b]=ca(a);v(c.node,m)}))}function b(c){var a=v(c.node,"xlink:href");a&&"#"==a.charAt()&&(a=a.substring(1))&&(f[a]=(f[a]||[]).concat(function(a){c.attr("xlink:href","#"+a)}))}var e=c.selectAll("*"),h,d=/^\s*url\(("|'|)(.*)\1\)\s*$/;c=[];for(var f={},l=0,E=e.length;l<E;l++){h=e[l];a(h,"fill");a(h,"stroke");a(h,"filter");a(h,"mask");a(h,"clip-path");b(h);var t=v(h.node, | |
| "id");t&&(v(h.node,{id:h.id}),c.push({old:t,id:h.id}))}l=0;for(E=c.length;l<E;l++)if(e=f[c[l].old])for(h=0,t=e.length;h<t;h++)e[h](c[l].id)}function e(c,a,b){return function(m){m=m.slice(c,a);1==m.length&&(m=m[0]);return b?b(m):m}}function d(c){return function(){var a=c?"<"+this.type:"",b=this.node.attributes,m=this.node.childNodes;if(c)for(var e=0,h=b.length;e<h;e++)a+=" "+b[e].name+'="'+b[e].value.replace(/"/g,'\\"')+'"';if(m.length){c&&(a+=">");e=0;for(h=m.length;e<h;e++)3==m[e].nodeType?a+=m[e].nodeValue: | |
| 1==m[e].nodeType&&(a+=x(m[e]).toString());c&&(a+="</"+this.type+">")}else c&&(a+="/>");return a}}c.attr=function(c,a){if(!c)return this;if(y(c,"string"))if(1<arguments.length){var b={};b[c]=a;c=b}else return k("snap.util.getattr."+c,this).firstDefined();for(var m in c)c[h](m)&&k("snap.util.attr."+m,this,c[m]);return this};c.getBBox=function(c){if(!a.Matrix||!a.path)return this.node.getBBox();var b=this,m=new a.Matrix;if(b.removed)return a._.box();for(;"use"==b.type;)if(c||(m=m.add(b.transform().localMatrix.translate(b.attr("x")|| | |
| 0,b.attr("y")||0))),b.original)b=b.original;else var e=b.attr("xlink:href"),b=b.original=b.node.ownerDocument.getElementById(e.substring(e.indexOf("#")+1));var e=b._,h=a.path.get[b.type]||a.path.get.deflt;try{if(c)return e.bboxwt=h?a.path.getBBox(b.realPath=h(b)):a._.box(b.node.getBBox()),a._.box(e.bboxwt);b.realPath=h(b);b.matrix=b.transform().localMatrix;e.bbox=a.path.getBBox(a.path.map(b.realPath,m.add(b.matrix)));return a._.box(e.bbox)}catch(d){return a._.box()}};var f=function(){return this.string}; | |
| c.transform=function(c){var b=this._;if(null==c){var m=this;c=new a.Matrix(this.node.getCTM());for(var e=n(this),h=[e],d=new a.Matrix,l=e.toTransformString(),b=J(e)==J(this.matrix)?J(b.transform):l;"svg"!=m.type&&(m=m.parent());)h.push(n(m));for(m=h.length;m--;)d.add(h[m]);return{string:b,globalMatrix:c,totalMatrix:d,localMatrix:e,diffMatrix:c.clone().add(e.invert()),global:c.toTransformString(),total:d.toTransformString(),local:l,toString:f}}c instanceof a.Matrix?this.matrix=c:n(this,c);this.node&& | |
| ("linearGradient"==this.type||"radialGradient"==this.type?v(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?v(this.node,{patternTransform:this.matrix}):v(this.node,{transform:this.matrix}));return this};c.parent=function(){return x(this.node.parentNode)};c.append=c.add=function(c){if(c){if("set"==c.type){var a=this;c.forEach(function(c){a.add(c)});return this}c=x(c);this.node.appendChild(c.node);c.paper=this.paper}return this};c.appendTo=function(c){c&&(c=x(c),c.append(this));return this}; | |
| c.prepend=function(c){if(c){if("set"==c.type){var a=this,b;c.forEach(function(c){b?b.after(c):a.prepend(c);b=c});return this}c=x(c);var m=c.parent();this.node.insertBefore(c.node,this.node.firstChild);this.add&&this.add();c.paper=this.paper;this.parent()&&this.parent().add();m&&m.add()}return this};c.prependTo=function(c){c=x(c);c.prepend(this);return this};c.before=function(c){if("set"==c.type){var a=this;c.forEach(function(c){var b=c.parent();a.node.parentNode.insertBefore(c.node,a.node);b&&b.add()}); | |
| this.parent().add();return this}c=x(c);var b=c.parent();this.node.parentNode.insertBefore(c.node,this.node);this.parent()&&this.parent().add();b&&b.add();c.paper=this.paper;return this};c.after=function(c){c=x(c);var a=c.parent();this.node.nextSibling?this.node.parentNode.insertBefore(c.node,this.node.nextSibling):this.node.parentNode.appendChild(c.node);this.parent()&&this.parent().add();a&&a.add();c.paper=this.paper;return this};c.insertBefore=function(c){c=x(c);var a=this.parent();c.node.parentNode.insertBefore(this.node, | |
| c.node);this.paper=c.paper;a&&a.add();c.parent()&&c.parent().add();return this};c.insertAfter=function(c){c=x(c);var a=this.parent();c.node.parentNode.insertBefore(this.node,c.node.nextSibling);this.paper=c.paper;a&&a.add();c.parent()&&c.parent().add();return this};c.remove=function(){var c=this.parent();this.node.parentNode&&this.node.parentNode.removeChild(this.node);delete this.paper;this.removed=!0;c&&c.add();return this};c.select=function(c){return x(this.node.querySelector(c))};c.selectAll= | |
| function(c){c=this.node.querySelectorAll(c);for(var b=(a.set||Array)(),m=0;m<c.length;m++)b.push(x(c[m]));return b};c.asPX=function(c,a){null==a&&(a=this.attr(c));return+b(this,c,a)};c.use=function(){var c,a=this.node.id;a||(a=this.id,v(this.node,{id:a}));c="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?r(this.type,this.node.parentNode):r("use",this.node.parentNode);v(c.node,{"xlink:href":"#"+a});c.original=this;return c};var l=/\S+/g;c.addClass=function(c){var a=(c|| | |
| "").match(l)||[];c=this.node;var b=c.className.baseVal,m=b.match(l)||[],e,h,d;if(a.length){for(e=0;d=a[e++];)h=m.indexOf(d),~h||m.push(d);a=m.join(" ");b!=a&&(c.className.baseVal=a)}return this};c.removeClass=function(c){var a=(c||"").match(l)||[];c=this.node;var b=c.className.baseVal,m=b.match(l)||[],e,h;if(m.length){for(e=0;h=a[e++];)h=m.indexOf(h),~h&&m.splice(h,1);a=m.join(" ");b!=a&&(c.className.baseVal=a)}return this};c.hasClass=function(c){return!!~(this.node.className.baseVal.match(l)||[]).indexOf(c)}; | |
| c.toggleClass=function(c,a){if(null!=a)return a?this.addClass(c):this.removeClass(c);var b=(c||"").match(l)||[],m=this.node,e=m.className.baseVal,h=e.match(l)||[],d,f,E;for(d=0;E=b[d++];)f=h.indexOf(E),~f?h.splice(f,1):h.push(E);b=h.join(" ");e!=b&&(m.className.baseVal=b);return this};c.clone=function(){var c=x(this.node.cloneNode(!0));v(c.node,"id")&&v(c.node,{id:c.id});m(c);c.insertAfter(this);return c};c.toDefs=function(){u(this).appendChild(this.node);return this};c.pattern=c.toPattern=function(c, | |
| a,b,m){var e=r("pattern",u(this));null==c&&(c=this.getBBox());y(c,"object")&&"x"in c&&(a=c.y,b=c.width,m=c.height,c=c.x);v(e.node,{x:c,y:a,width:b,height:m,patternUnits:"userSpaceOnUse",id:e.id,viewBox:[c,a,b,m].join(" ")});e.node.appendChild(this.node);return e};c.marker=function(c,a,b,m,e,h){var d=r("marker",u(this));null==c&&(c=this.getBBox());y(c,"object")&&"x"in c&&(a=c.y,b=c.width,m=c.height,e=c.refX||c.cx,h=c.refY||c.cy,c=c.x);v(d.node,{viewBox:[c,a,b,m].join(" "),markerWidth:b,markerHeight:m, | |
| orient:"auto",refX:e||0,refY:h||0,id:d.id});d.node.appendChild(this.node);return d};var E=function(c,a,b,m){"function"!=typeof b||b.length||(m=b,b=L.linear);this.attr=c;this.dur=a;b&&(this.easing=b);m&&(this.callback=m)};a._.Animation=E;a.animation=function(c,a,b,m){return new E(c,a,b,m)};c.inAnim=function(){var c=[],a;for(a in this.anims)this.anims[h](a)&&function(a){c.push({anim:new E(a._attrs,a.dur,a.easing,a._callback),mina:a,curStatus:a.status(),status:function(c){return a.status(c)},stop:function(){a.stop()}})}(this.anims[a]); | |
| return c};a.animate=function(c,a,b,m,e,h){"function"!=typeof e||e.length||(h=e,e=L.linear);var d=L.time();c=L(c,a,d,d+m,L.time,b,e);h&&k.once("mina.finish."+c.id,h);return c};c.stop=function(){for(var c=this.inAnim(),a=0,b=c.length;a<b;a++)c[a].stop();return this};c.animate=function(c,a,b,m){"function"!=typeof b||b.length||(m=b,b=L.linear);c instanceof E&&(m=c.callback,b=c.easing,a=b.dur,c=c.attr);var d=[],f=[],l={},t,ca,n,T=this,q;for(q in c)if(c[h](q)){T.equal?(n=T.equal(q,J(c[q])),t=n.from,ca= | |
| n.to,n=n.f):(t=+T.attr(q),ca=+c[q]);var la=y(t,"array")?t.length:1;l[q]=e(d.length,d.length+la,n);d=d.concat(t);f=f.concat(ca)}t=L.time();var p=L(d,f,t,t+a,L.time,function(c){var a={},b;for(b in l)l[h](b)&&(a[b]=l[b](c));T.attr(a)},b);T.anims[p.id]=p;p._attrs=c;p._callback=m;k("snap.animcreated."+T.id,p);k.once("mina.finish."+p.id,function(){delete T.anims[p.id];m&&m.call(T)});k.once("mina.stop."+p.id,function(){delete T.anims[p.id]});return T};var T={};c.data=function(c,b){var m=T[this.id]=T[this.id]|| | |
| {};if(0==arguments.length)return k("snap.data.get."+this.id,this,m,null),m;if(1==arguments.length){if(a.is(c,"object")){for(var e in c)c[h](e)&&this.data(e,c[e]);return this}k("snap.data.get."+this.id,this,m[c],c);return m[c]}m[c]=b;k("snap.data.set."+this.id,this,b,c);return this};c.removeData=function(c){null==c?T[this.id]={}:T[this.id]&&delete T[this.id][c];return this};c.outerSVG=c.toString=d(1);c.innerSVG=d()})(e.prototype);a.parse=function(c){var a=G.doc.createDocumentFragment(),b=!0,m=G.doc.createElement("div"); | |
| c=J(c);c.match(/^\s*<\s*svg(?:\s|>)/)||(c="<svg>"+c+"</svg>",b=!1);m.innerHTML=c;if(c=m.getElementsByTagName("svg")[0])if(b)a=c;else for(;c.firstChild;)a.appendChild(c.firstChild);m.innerHTML=aa;return new l(a)};l.prototype.select=e.prototype.select;l.prototype.selectAll=e.prototype.selectAll;a.fragment=function(){for(var c=Array.prototype.slice.call(arguments,0),b=G.doc.createDocumentFragment(),m=0,e=c.length;m<e;m++){var h=c[m];h.node&&h.node.nodeType&&b.appendChild(h.node);h.nodeType&&b.appendChild(h); | |
| "string"==typeof h&&b.appendChild(a.parse(h).node)}return new l(b)};a._.make=r;a._.wrap=x;s.prototype.el=function(c,a){var b=r(c,this.node);a&&b.attr(a);return b};k.on("snap.util.getattr",function(){var c=k.nt(),c=c.substring(c.lastIndexOf(".")+1),a=c.replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});return pa[h](a)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(a):v(this.node,c)});var pa={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0, | |
| "clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0, | |
| "lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};k.on("snap.util.attr",function(c){var a=k.nt(),b={},a=a.substring(a.lastIndexOf(".")+ | |
| 1);b[a]=c;var m=a.replace(/-(\w)/gi,function(c,a){return a.toUpperCase()}),a=a.replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});pa[h](a)?this.node.style[m]=null==c?aa:c:v(this.node,b)});a.ajax=function(c,a,b,m){var e=new XMLHttpRequest,h=V();if(e){if(y(a,"function"))m=b,b=a,a=null;else if(y(a,"object")){var d=[],f;for(f in a)a.hasOwnProperty(f)&&d.push(encodeURIComponent(f)+"="+encodeURIComponent(a[f]));a=d.join("&")}e.open(a?"POST":"GET",c,!0);a&&(e.setRequestHeader("X-Requested-With","XMLHttpRequest"), | |
| e.setRequestHeader("Content-type","application/x-www-form-urlencoded"));b&&(k.once("snap.ajax."+h+".0",b),k.once("snap.ajax."+h+".200",b),k.once("snap.ajax."+h+".304",b));e.onreadystatechange=function(){4==e.readyState&&k("snap.ajax."+h+"."+e.status,m,e)};if(4==e.readyState)return e;e.send(a);return e}};a.load=function(c,b,m){a.ajax(c,function(c){c=a.parse(c.responseText);m?b.call(m,c):b(c)})};a.getElementByPoint=function(c,a){var b,m,e=G.doc.elementFromPoint(c,a);if(G.win.opera&&"svg"==e.tagName){b= | |
| e;m=b.getBoundingClientRect();b=b.ownerDocument;var h=b.body,d=b.documentElement;b=m.top+(g.win.pageYOffset||d.scrollTop||h.scrollTop)-(d.clientTop||h.clientTop||0);m=m.left+(g.win.pageXOffset||d.scrollLeft||h.scrollLeft)-(d.clientLeft||h.clientLeft||0);h=e.createSVGRect();h.x=c-m;h.y=a-b;h.width=h.height=1;b=e.getIntersectionList(h,null);b.length&&(e=b[b.length-1])}return e?x(e):null};a.plugin=function(c){c(a,e,s,G,l)};return G.win.Snap=a}();C.plugin(function(a,k,y,M,A){function w(a,d,f,b,q,e){null== | |
| d&&"[object SVGMatrix]"==z.call(a)?(this.a=a.a,this.b=a.b,this.c=a.c,this.d=a.d,this.e=a.e,this.f=a.f):null!=a?(this.a=+a,this.b=+d,this.c=+f,this.d=+b,this.e=+q,this.f=+e):(this.a=1,this.c=this.b=0,this.d=1,this.f=this.e=0)}var z=Object.prototype.toString,d=String,f=Math;(function(n){function k(a){return a[0]*a[0]+a[1]*a[1]}function p(a){var d=f.sqrt(k(a));a[0]&&(a[0]/=d);a[1]&&(a[1]/=d)}n.add=function(a,d,e,f,n,p){var k=[[],[],[] ],u=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1] ];d=[[a, | |
| e,n],[d,f,p],[0,0,1] ];a&&a instanceof w&&(d=[[a.a,a.c,a.e],[a.b,a.d,a.f],[0,0,1] ]);for(a=0;3>a;a++)for(e=0;3>e;e++){for(f=n=0;3>f;f++)n+=u[a][f]*d[f][e];k[a][e]=n}this.a=k[0][0];this.b=k[1][0];this.c=k[0][1];this.d=k[1][1];this.e=k[0][2];this.f=k[1][2];return this};n.invert=function(){var a=this.a*this.d-this.b*this.c;return new w(this.d/a,-this.b/a,-this.c/a,this.a/a,(this.c*this.f-this.d*this.e)/a,(this.b*this.e-this.a*this.f)/a)};n.clone=function(){return new w(this.a,this.b,this.c,this.d,this.e, | |
| this.f)};n.translate=function(a,d){return this.add(1,0,0,1,a,d)};n.scale=function(a,d,e,f){null==d&&(d=a);(e||f)&&this.add(1,0,0,1,e,f);this.add(a,0,0,d,0,0);(e||f)&&this.add(1,0,0,1,-e,-f);return this};n.rotate=function(b,d,e){b=a.rad(b);d=d||0;e=e||0;var l=+f.cos(b).toFixed(9);b=+f.sin(b).toFixed(9);this.add(l,b,-b,l,d,e);return this.add(1,0,0,1,-d,-e)};n.x=function(a,d){return a*this.a+d*this.c+this.e};n.y=function(a,d){return a*this.b+d*this.d+this.f};n.get=function(a){return+this[d.fromCharCode(97+ | |
| a)].toFixed(4)};n.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"};n.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]};n.determinant=function(){return this.a*this.d-this.b*this.c};n.split=function(){var b={};b.dx=this.e;b.dy=this.f;var d=[[this.a,this.c],[this.b,this.d] ];b.scalex=f.sqrt(k(d[0]));p(d[0]);b.shear=d[0][0]*d[1][0]+d[0][1]*d[1][1];d[1]=[d[1][0]-d[0][0]*b.shear,d[1][1]-d[0][1]*b.shear];b.scaley=f.sqrt(k(d[1])); | |
| p(d[1]);b.shear/=b.scaley;0>this.determinant()&&(b.scalex=-b.scalex);var e=-d[0][1],d=d[1][1];0>d?(b.rotate=a.deg(f.acos(d)),0>e&&(b.rotate=360-b.rotate)):b.rotate=a.deg(f.asin(e));b.isSimple=!+b.shear.toFixed(9)&&(b.scalex.toFixed(9)==b.scaley.toFixed(9)||!b.rotate);b.isSuperSimple=!+b.shear.toFixed(9)&&b.scalex.toFixed(9)==b.scaley.toFixed(9)&&!b.rotate;b.noRotation=!+b.shear.toFixed(9)&&!b.rotate;return b};n.toTransformString=function(a){a=a||this.split();if(+a.shear.toFixed(9))return"m"+[this.get(0), | |
| this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)];a.scalex=+a.scalex.toFixed(4);a.scaley=+a.scaley.toFixed(4);a.rotate=+a.rotate.toFixed(4);return(a.dx||a.dy?"t"+[+a.dx.toFixed(4),+a.dy.toFixed(4)]:"")+(1!=a.scalex||1!=a.scaley?"s"+[a.scalex,a.scaley,0,0]:"")+(a.rotate?"r"+[+a.rotate.toFixed(4),0,0]:"")}})(w.prototype);a.Matrix=w;a.matrix=function(a,d,f,b,k,e){return new w(a,d,f,b,k,e)}});C.plugin(function(a,v,y,M,A){function w(h){return function(d){k.stop();d instanceof A&&1==d.node.childNodes.length&& | |
| ("radialGradient"==d.node.firstChild.tagName||"linearGradient"==d.node.firstChild.tagName||"pattern"==d.node.firstChild.tagName)&&(d=d.node.firstChild,b(this).appendChild(d),d=u(d));if(d instanceof v)if("radialGradient"==d.type||"linearGradient"==d.type||"pattern"==d.type){d.node.id||e(d.node,{id:d.id});var f=l(d.node.id)}else f=d.attr(h);else f=a.color(d),f.error?(f=a(b(this).ownerSVGElement).gradient(d))?(f.node.id||e(f.node,{id:f.id}),f=l(f.node.id)):f=d:f=r(f);d={};d[h]=f;e(this.node,d);this.node.style[h]= | |
| x}}function z(a){k.stop();a==+a&&(a+="px");this.node.style.fontSize=a}function d(a){var b=[];a=a.childNodes;for(var e=0,f=a.length;e<f;e++){var l=a[e];3==l.nodeType&&b.push(l.nodeValue);"tspan"==l.tagName&&(1==l.childNodes.length&&3==l.firstChild.nodeType?b.push(l.firstChild.nodeValue):b.push(d(l)))}return b}function f(){k.stop();return this.node.style.fontSize}var n=a._.make,u=a._.wrap,p=a.is,b=a._.getSomeDefs,q=/^url\(#?([^)]+)\)$/,e=a._.$,l=a.url,r=String,s=a._.separator,x="";k.on("snap.util.attr.mask", | |
| function(a){if(a instanceof v||a instanceof A){k.stop();a instanceof A&&1==a.node.childNodes.length&&(a=a.node.firstChild,b(this).appendChild(a),a=u(a));if("mask"==a.type)var d=a;else d=n("mask",b(this)),d.node.appendChild(a.node);!d.node.id&&e(d.node,{id:d.id});e(this.node,{mask:l(d.id)})}});(function(a){k.on("snap.util.attr.clip",a);k.on("snap.util.attr.clip-path",a);k.on("snap.util.attr.clipPath",a)})(function(a){if(a instanceof v||a instanceof A){k.stop();if("clipPath"==a.type)var d=a;else d= | |
| n("clipPath",b(this)),d.node.appendChild(a.node),!d.node.id&&e(d.node,{id:d.id});e(this.node,{"clip-path":l(d.id)})}});k.on("snap.util.attr.fill",w("fill"));k.on("snap.util.attr.stroke",w("stroke"));var G=/^([lr])(?:\(([^)]*)\))?(.*)$/i;k.on("snap.util.grad.parse",function(a){a=r(a);var b=a.match(G);if(!b)return null;a=b[1];var e=b[2],b=b[3],e=e.split(/\s*,\s*/).map(function(a){return+a==a?+a:a});1==e.length&&0==e[0]&&(e=[]);b=b.split("-");b=b.map(function(a){a=a.split(":");var b={color:a[0]};a[1]&& | |
| (b.offset=parseFloat(a[1]));return b});return{type:a,params:e,stops:b}});k.on("snap.util.attr.d",function(b){k.stop();p(b,"array")&&p(b[0],"array")&&(b=a.path.toString.call(b));b=r(b);b.match(/[ruo]/i)&&(b=a.path.toAbsolute(b));e(this.node,{d:b})})(-1);k.on("snap.util.attr.#text",function(a){k.stop();a=r(a);for(a=M.doc.createTextNode(a);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(a)})(-1);k.on("snap.util.attr.path",function(a){k.stop();this.attr({d:a})})(-1); | |
| k.on("snap.util.attr.class",function(a){k.stop();this.node.className.baseVal=a})(-1);k.on("snap.util.attr.viewBox",function(a){a=p(a,"object")&&"x"in a?[a.x,a.y,a.width,a.height].join(" "):p(a,"array")?a.join(" "):a;e(this.node,{viewBox:a});k.stop()})(-1);k.on("snap.util.attr.transform",function(a){this.transform(a);k.stop()})(-1);k.on("snap.util.attr.r",function(a){"rect"==this.type&&(k.stop(),e(this.node,{rx:a,ry:a}))})(-1);k.on("snap.util.attr.textpath",function(a){k.stop();if("text"==this.type){var d, | |
| f;if(!a&&this.textPath){for(a=this.textPath;a.node.firstChild;)this.node.appendChild(a.node.firstChild);a.remove();delete this.textPath}else if(p(a,"string")?(d=b(this),a=u(d.parentNode).path(a),d.appendChild(a.node),d=a.id,a.attr({id:d})):(a=u(a),a instanceof v&&(d=a.attr("id"),d||(d=a.id,a.attr({id:d})))),d)if(a=this.textPath,f=this.node,a)a.attr({"xlink:href":"#"+d});else{for(a=e("textPath",{"xlink:href":"#"+d});f.firstChild;)a.appendChild(f.firstChild);f.appendChild(a);this.textPath=u(a)}}})(-1); | |
| k.on("snap.util.attr.text",function(a){if("text"==this.type){for(var b=this.node,d=function(a){var b=e("tspan");if(p(a,"array"))for(var f=0;f<a.length;f++)b.appendChild(d(a[f]));else b.appendChild(M.doc.createTextNode(a));b.normalize&&b.normalize();return b};b.firstChild;)b.removeChild(b.firstChild);for(a=d(a);a.firstChild;)b.appendChild(a.firstChild)}k.stop()})(-1);k.on("snap.util.attr.fontSize",z)(-1);k.on("snap.util.attr.font-size",z)(-1);k.on("snap.util.getattr.transform",function(){k.stop(); | |
| return this.transform()})(-1);k.on("snap.util.getattr.textpath",function(){k.stop();return this.textPath})(-1);(function(){function b(d){return function(){k.stop();var b=M.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+d);return"none"==b?b:a(M.doc.getElementById(b.match(q)[1]))}}function d(a){return function(b){k.stop();var d="marker"+a.charAt(0).toUpperCase()+a.substring(1);if(""==b||!b)this.node.style[d]="none";else if("marker"==b.type){var f=b.node.id;f||e(b.node,{id:b.id}); | |
| this.node.style[d]=l(f)}}}k.on("snap.util.getattr.marker-end",b("end"))(-1);k.on("snap.util.getattr.markerEnd",b("end"))(-1);k.on("snap.util.getattr.marker-start",b("start"))(-1);k.on("snap.util.getattr.markerStart",b("start"))(-1);k.on("snap.util.getattr.marker-mid",b("mid"))(-1);k.on("snap.util.getattr.markerMid",b("mid"))(-1);k.on("snap.util.attr.marker-end",d("end"))(-1);k.on("snap.util.attr.markerEnd",d("end"))(-1);k.on("snap.util.attr.marker-start",d("start"))(-1);k.on("snap.util.attr.markerStart", | |
| d("start"))(-1);k.on("snap.util.attr.marker-mid",d("mid"))(-1);k.on("snap.util.attr.markerMid",d("mid"))(-1)})();k.on("snap.util.getattr.r",function(){if("rect"==this.type&&e(this.node,"rx")==e(this.node,"ry"))return k.stop(),e(this.node,"rx")})(-1);k.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){k.stop();var a=d(this.node);return 1==a.length?a[0]:a}})(-1);k.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1);k.on("snap.util.getattr.viewBox", | |
| function(){k.stop();var b=e(this.node,"viewBox");if(b)return b=b.split(s),a._.box(+b[0],+b[1],+b[2],+b[3])})(-1);k.on("snap.util.getattr.points",function(){var a=e(this.node,"points");k.stop();if(a)return a.split(s)})(-1);k.on("snap.util.getattr.path",function(){var a=e(this.node,"d");k.stop();return a})(-1);k.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1);k.on("snap.util.getattr.fontSize",f)(-1);k.on("snap.util.getattr.font-size",f)(-1)});C.plugin(function(a,v,y, | |
| M,A){function w(a){return a}function z(a){return function(b){return+b.toFixed(3)+a}}var d={"+":function(a,b){return a+b},"-":function(a,b){return a-b},"/":function(a,b){return a/b},"*":function(a,b){return a*b}},f=String,n=/[a-z]+$/i,u=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;k.on("snap.util.attr",function(a){if(a=f(a).match(u)){var b=k.nt(),b=b.substring(b.lastIndexOf(".")+1),q=this.attr(b),e={};k.stop();var l=a[3]||"",r=q.match(n),s=d[a[1] ];r&&r==l?a=s(parseFloat(q),+a[2]):(q=this.asPX(b), | |
| a=s(this.asPX(b),this.asPX(b,a[2]+l)));isNaN(q)||isNaN(a)||(e[b]=a,this.attr(e))}})(-10);k.on("snap.util.equal",function(a,b){var q=f(this.attr(a)||""),e=f(b).match(u);if(e){k.stop();var l=e[3]||"",r=q.match(n),s=d[e[1] ];if(r&&r==l)return{from:parseFloat(q),to:s(parseFloat(q),+e[2]),f:z(r)};q=this.asPX(a);return{from:q,to:s(q,this.asPX(a,e[2]+l)),f:w}}})(-10)});C.plugin(function(a,v,y,M,A){var w=y.prototype,z=a.is;w.rect=function(a,d,k,p,b,q){var e;null==q&&(q=b);z(a,"object")&&"[object Object]"== | |
| a?e=a:null!=a&&(e={x:a,y:d,width:k,height:p},null!=b&&(e.rx=b,e.ry=q));return this.el("rect",e)};w.circle=function(a,d,k){var p;z(a,"object")&&"[object Object]"==a?p=a:null!=a&&(p={cx:a,cy:d,r:k});return this.el("circle",p)};var d=function(){function a(){this.parentNode.removeChild(this)}return function(d,k){var p=M.doc.createElement("img"),b=M.doc.body;p.style.cssText="position:absolute;left:-9999em;top:-9999em";p.onload=function(){k.call(p);p.onload=p.onerror=null;b.removeChild(p)};p.onerror=a; | |
| b.appendChild(p);p.src=d}}();w.image=function(f,n,k,p,b){var q=this.el("image");if(z(f,"object")&&"src"in f)q.attr(f);else if(null!=f){var e={"xlink:href":f,preserveAspectRatio:"none"};null!=n&&null!=k&&(e.x=n,e.y=k);null!=p&&null!=b?(e.width=p,e.height=b):d(f,function(){a._.$(q.node,{width:this.offsetWidth,height:this.offsetHeight})});a._.$(q.node,e)}return q};w.ellipse=function(a,d,k,p){var b;z(a,"object")&&"[object Object]"==a?b=a:null!=a&&(b={cx:a,cy:d,rx:k,ry:p});return this.el("ellipse",b)}; | |
| w.path=function(a){var d;z(a,"object")&&!z(a,"array")?d=a:a&&(d={d:a});return this.el("path",d)};w.group=w.g=function(a){var d=this.el("g");1==arguments.length&&a&&!a.type?d.attr(a):arguments.length&&d.add(Array.prototype.slice.call(arguments,0));return d};w.svg=function(a,d,k,p,b,q,e,l){var r={};z(a,"object")&&null==d?r=a:(null!=a&&(r.x=a),null!=d&&(r.y=d),null!=k&&(r.width=k),null!=p&&(r.height=p),null!=b&&null!=q&&null!=e&&null!=l&&(r.viewBox=[b,q,e,l]));return this.el("svg",r)};w.mask=function(a){var d= | |
| this.el("mask");1==arguments.length&&a&&!a.type?d.attr(a):arguments.length&&d.add(Array.prototype.slice.call(arguments,0));return d};w.ptrn=function(a,d,k,p,b,q,e,l){if(z(a,"object"))var r=a;else arguments.length?(r={},null!=a&&(r.x=a),null!=d&&(r.y=d),null!=k&&(r.width=k),null!=p&&(r.height=p),null!=b&&null!=q&&null!=e&&null!=l&&(r.viewBox=[b,q,e,l])):r={patternUnits:"userSpaceOnUse"};return this.el("pattern",r)};w.use=function(a){return null!=a?(make("use",this.node),a instanceof v&&(a.attr("id")|| | |
| a.attr({id:ID()}),a=a.attr("id")),this.el("use",{"xlink:href":a})):v.prototype.use.call(this)};w.text=function(a,d,k){var p={};z(a,"object")?p=a:null!=a&&(p={x:a,y:d,text:k||""});return this.el("text",p)};w.line=function(a,d,k,p){var b={};z(a,"object")?b=a:null!=a&&(b={x1:a,x2:k,y1:d,y2:p});return this.el("line",b)};w.polyline=function(a){1<arguments.length&&(a=Array.prototype.slice.call(arguments,0));var d={};z(a,"object")&&!z(a,"array")?d=a:null!=a&&(d={points:a});return this.el("polyline",d)}; | |
| w.polygon=function(a){1<arguments.length&&(a=Array.prototype.slice.call(arguments,0));var d={};z(a,"object")&&!z(a,"array")?d=a:null!=a&&(d={points:a});return this.el("polygon",d)};(function(){function d(){return this.selectAll("stop")}function n(b,d){var f=e("stop"),k={offset:+d+"%"};b=a.color(b);k["stop-color"]=b.hex;1>b.opacity&&(k["stop-opacity"]=b.opacity);e(f,k);this.node.appendChild(f);return this}function u(){if("linearGradient"==this.type){var b=e(this.node,"x1")||0,d=e(this.node,"x2")|| | |
| 1,f=e(this.node,"y1")||0,k=e(this.node,"y2")||0;return a._.box(b,f,math.abs(d-b),math.abs(k-f))}b=this.node.r||0;return a._.box((this.node.cx||0.5)-b,(this.node.cy||0.5)-b,2*b,2*b)}function p(a,d){function f(a,b){for(var d=(b-u)/(a-w),e=w;e<a;e++)h[e].offset=+(+u+d*(e-w)).toFixed(2);w=a;u=b}var n=k("snap.util.grad.parse",null,d).firstDefined(),p;if(!n)return null;n.params.unshift(a);p="l"==n.type.toLowerCase()?b.apply(0,n.params):q.apply(0,n.params);n.type!=n.type.toLowerCase()&&e(p.node,{gradientUnits:"userSpaceOnUse"}); | |
| var h=n.stops,n=h.length,u=0,w=0;n--;for(var v=0;v<n;v++)"offset"in h[v]&&f(v,h[v].offset);h[n].offset=h[n].offset||100;f(n,h[n].offset);for(v=0;v<=n;v++){var y=h[v];p.addStop(y.color,y.offset)}return p}function b(b,k,p,q,w){b=a._.make("linearGradient",b);b.stops=d;b.addStop=n;b.getBBox=u;null!=k&&e(b.node,{x1:k,y1:p,x2:q,y2:w});return b}function q(b,k,p,q,w,h){b=a._.make("radialGradient",b);b.stops=d;b.addStop=n;b.getBBox=u;null!=k&&e(b.node,{cx:k,cy:p,r:q});null!=w&&null!=h&&e(b.node,{fx:w,fy:h}); | |
| return b}var e=a._.$;w.gradient=function(a){return p(this.defs,a)};w.gradientLinear=function(a,d,e,f){return b(this.defs,a,d,e,f)};w.gradientRadial=function(a,b,d,e,f){return q(this.defs,a,b,d,e,f)};w.toString=function(){var b=this.node.ownerDocument,d=b.createDocumentFragment(),b=b.createElement("div"),e=this.node.cloneNode(!0);d.appendChild(b);b.appendChild(e);a._.$(e,{xmlns:"http://www.w3.org/2000/svg"});b=b.innerHTML;d.removeChild(d.firstChild);return b};w.clear=function(){for(var a=this.node.firstChild, | |
| b;a;)b=a.nextSibling,"defs"!=a.tagName?a.parentNode.removeChild(a):w.clear.call({node:a}),a=b}})()});C.plugin(function(a,k,y,M){function A(a){var b=A.ps=A.ps||{};b[a]?b[a].sleep=100:b[a]={sleep:100};setTimeout(function(){for(var d in b)b[L](d)&&d!=a&&(b[d].sleep--,!b[d].sleep&&delete b[d])});return b[a]}function w(a,b,d,e){null==a&&(a=b=d=e=0);null==b&&(b=a.y,d=a.width,e=a.height,a=a.x);return{x:a,y:b,width:d,w:d,height:e,h:e,x2:a+d,y2:b+e,cx:a+d/2,cy:b+e/2,r1:F.min(d,e)/2,r2:F.max(d,e)/2,r0:F.sqrt(d* | |
| d+e*e)/2,path:s(a,b,d,e),vb:[a,b,d,e].join(" ")}}function z(){return this.join(",").replace(N,"$1")}function d(a){a=C(a);a.toString=z;return a}function f(a,b,d,h,f,k,l,n,p){if(null==p)return e(a,b,d,h,f,k,l,n);if(0>p||e(a,b,d,h,f,k,l,n)<p)p=void 0;else{var q=0.5,O=1-q,s;for(s=e(a,b,d,h,f,k,l,n,O);0.01<Z(s-p);)q/=2,O+=(s<p?1:-1)*q,s=e(a,b,d,h,f,k,l,n,O);p=O}return u(a,b,d,h,f,k,l,n,p)}function n(b,d){function e(a){return+(+a).toFixed(3)}return a._.cacher(function(a,h,l){a instanceof k&&(a=a.attr("d")); | |
| a=I(a);for(var n,p,D,q,O="",s={},c=0,t=0,r=a.length;t<r;t++){D=a[t];if("M"==D[0])n=+D[1],p=+D[2];else{q=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6]);if(c+q>h){if(d&&!s.start){n=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6],h-c);O+=["C"+e(n.start.x),e(n.start.y),e(n.m.x),e(n.m.y),e(n.x),e(n.y)];if(l)return O;s.start=O;O=["M"+e(n.x),e(n.y)+"C"+e(n.n.x),e(n.n.y),e(n.end.x),e(n.end.y),e(D[5]),e(D[6])].join();c+=q;n=+D[5];p=+D[6];continue}if(!b&&!d)return n=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6],h-c)}c+=q;n=+D[5];p=+D[6]}O+= | |
| D.shift()+D}s.end=O;return n=b?c:d?s:u(n,p,D[0],D[1],D[2],D[3],D[4],D[5],1)},null,a._.clone)}function u(a,b,d,e,h,f,k,l,n){var p=1-n,q=ma(p,3),s=ma(p,2),c=n*n,t=c*n,r=q*a+3*s*n*d+3*p*n*n*h+t*k,q=q*b+3*s*n*e+3*p*n*n*f+t*l,s=a+2*n*(d-a)+c*(h-2*d+a),t=b+2*n*(e-b)+c*(f-2*e+b),x=d+2*n*(h-d)+c*(k-2*h+d),c=e+2*n*(f-e)+c*(l-2*f+e);a=p*a+n*d;b=p*b+n*e;h=p*h+n*k;f=p*f+n*l;l=90-180*F.atan2(s-x,t-c)/S;return{x:r,y:q,m:{x:s,y:t},n:{x:x,y:c},start:{x:a,y:b},end:{x:h,y:f},alpha:l}}function p(b,d,e,h,f,n,k,l){a.is(b, | |
| "array")||(b=[b,d,e,h,f,n,k,l]);b=U.apply(null,b);return w(b.min.x,b.min.y,b.max.x-b.min.x,b.max.y-b.min.y)}function b(a,b,d){return b>=a.x&&b<=a.x+a.width&&d>=a.y&&d<=a.y+a.height}function q(a,d){a=w(a);d=w(d);return b(d,a.x,a.y)||b(d,a.x2,a.y)||b(d,a.x,a.y2)||b(d,a.x2,a.y2)||b(a,d.x,d.y)||b(a,d.x2,d.y)||b(a,d.x,d.y2)||b(a,d.x2,d.y2)||(a.x<d.x2&&a.x>d.x||d.x<a.x2&&d.x>a.x)&&(a.y<d.y2&&a.y>d.y||d.y<a.y2&&d.y>a.y)}function e(a,b,d,e,h,f,n,k,l){null==l&&(l=1);l=(1<l?1:0>l?0:l)/2;for(var p=[-0.1252, | |
| 0.1252,-0.3678,0.3678,-0.5873,0.5873,-0.7699,0.7699,-0.9041,0.9041,-0.9816,0.9816],q=[0.2491,0.2491,0.2335,0.2335,0.2032,0.2032,0.1601,0.1601,0.1069,0.1069,0.0472,0.0472],s=0,c=0;12>c;c++)var t=l*p[c]+l,r=t*(t*(-3*a+9*d-9*h+3*n)+6*a-12*d+6*h)-3*a+3*d,t=t*(t*(-3*b+9*e-9*f+3*k)+6*b-12*e+6*f)-3*b+3*e,s=s+q[c]*F.sqrt(r*r+t*t);return l*s}function l(a,b,d){a=I(a);b=I(b);for(var h,f,l,n,k,s,r,O,x,c,t=d?0:[],w=0,v=a.length;w<v;w++)if(x=a[w],"M"==x[0])h=k=x[1],f=s=x[2];else{"C"==x[0]?(x=[h,f].concat(x.slice(1)), | |
| h=x[6],f=x[7]):(x=[h,f,h,f,k,s,k,s],h=k,f=s);for(var G=0,y=b.length;G<y;G++)if(c=b[G],"M"==c[0])l=r=c[1],n=O=c[2];else{"C"==c[0]?(c=[l,n].concat(c.slice(1)),l=c[6],n=c[7]):(c=[l,n,l,n,r,O,r,O],l=r,n=O);var z;var K=x,B=c;z=d;var H=p(K),J=p(B);if(q(H,J)){for(var H=e.apply(0,K),J=e.apply(0,B),H=~~(H/8),J=~~(J/8),U=[],A=[],F={},M=z?0:[],P=0;P<H+1;P++){var C=u.apply(0,K.concat(P/H));U.push({x:C.x,y:C.y,t:P/H})}for(P=0;P<J+1;P++)C=u.apply(0,B.concat(P/J)),A.push({x:C.x,y:C.y,t:P/J});for(P=0;P<H;P++)for(K= | |
| 0;K<J;K++){var Q=U[P],L=U[P+1],B=A[K],C=A[K+1],N=0.001>Z(L.x-Q.x)?"y":"x",S=0.001>Z(C.x-B.x)?"y":"x",R;R=Q.x;var Y=Q.y,V=L.x,ea=L.y,fa=B.x,ga=B.y,ha=C.x,ia=C.y;if(W(R,V)<X(fa,ha)||X(R,V)>W(fa,ha)||W(Y,ea)<X(ga,ia)||X(Y,ea)>W(ga,ia))R=void 0;else{var $=(R*ea-Y*V)*(fa-ha)-(R-V)*(fa*ia-ga*ha),aa=(R*ea-Y*V)*(ga-ia)-(Y-ea)*(fa*ia-ga*ha),ja=(R-V)*(ga-ia)-(Y-ea)*(fa-ha);if(ja){var $=$/ja,aa=aa/ja,ja=+$.toFixed(2),ba=+aa.toFixed(2);R=ja<+X(R,V).toFixed(2)||ja>+W(R,V).toFixed(2)||ja<+X(fa,ha).toFixed(2)|| | |
| ja>+W(fa,ha).toFixed(2)||ba<+X(Y,ea).toFixed(2)||ba>+W(Y,ea).toFixed(2)||ba<+X(ga,ia).toFixed(2)||ba>+W(ga,ia).toFixed(2)?void 0:{x:$,y:aa}}else R=void 0}R&&F[R.x.toFixed(4)]!=R.y.toFixed(4)&&(F[R.x.toFixed(4)]=R.y.toFixed(4),Q=Q.t+Z((R[N]-Q[N])/(L[N]-Q[N]))*(L.t-Q.t),B=B.t+Z((R[S]-B[S])/(C[S]-B[S]))*(C.t-B.t),0<=Q&&1>=Q&&0<=B&&1>=B&&(z?M++:M.push({x:R.x,y:R.y,t1:Q,t2:B})))}z=M}else z=z?0:[];if(d)t+=z;else{H=0;for(J=z.length;H<J;H++)z[H].segment1=w,z[H].segment2=G,z[H].bez1=x,z[H].bez2=c;t=t.concat(z)}}}return t} | |
| function r(a){var b=A(a);if(b.bbox)return C(b.bbox);if(!a)return w();a=I(a);for(var d=0,e=0,h=[],f=[],l,n=0,k=a.length;n<k;n++)l=a[n],"M"==l[0]?(d=l[1],e=l[2],h.push(d),f.push(e)):(d=U(d,e,l[1],l[2],l[3],l[4],l[5],l[6]),h=h.concat(d.min.x,d.max.x),f=f.concat(d.min.y,d.max.y),d=l[5],e=l[6]);a=X.apply(0,h);l=X.apply(0,f);h=W.apply(0,h);f=W.apply(0,f);f=w(a,l,h-a,f-l);b.bbox=C(f);return f}function s(a,b,d,e,h){if(h)return[["M",+a+ +h,b],["l",d-2*h,0],["a",h,h,0,0,1,h,h],["l",0,e-2*h],["a",h,h,0,0,1, | |
| -h,h],["l",2*h-d,0],["a",h,h,0,0,1,-h,-h],["l",0,2*h-e],["a",h,h,0,0,1,h,-h],["z"] ];a=[["M",a,b],["l",d,0],["l",0,e],["l",-d,0],["z"] ];a.toString=z;return a}function x(a,b,d,e,h){null==h&&null==e&&(e=d);a=+a;b=+b;d=+d;e=+e;if(null!=h){var f=Math.PI/180,l=a+d*Math.cos(-e*f);a+=d*Math.cos(-h*f);var n=b+d*Math.sin(-e*f);b+=d*Math.sin(-h*f);d=[["M",l,n],["A",d,d,0,+(180<h-e),0,a,b] ]}else d=[["M",a,b],["m",0,-e],["a",d,e,0,1,1,0,2*e],["a",d,e,0,1,1,0,-2*e],["z"] ];d.toString=z;return d}function G(b){var e= | |
| A(b);if(e.abs)return d(e.abs);Q(b,"array")&&Q(b&&b[0],"array")||(b=a.parsePathString(b));if(!b||!b.length)return[["M",0,0] ];var h=[],f=0,l=0,n=0,k=0,p=0;"M"==b[0][0]&&(f=+b[0][1],l=+b[0][2],n=f,k=l,p++,h[0]=["M",f,l]);for(var q=3==b.length&&"M"==b[0][0]&&"R"==b[1][0].toUpperCase()&&"Z"==b[2][0].toUpperCase(),s,r,w=p,c=b.length;w<c;w++){h.push(s=[]);r=b[w];p=r[0];if(p!=p.toUpperCase())switch(s[0]=p.toUpperCase(),s[0]){case "A":s[1]=r[1];s[2]=r[2];s[3]=r[3];s[4]=r[4];s[5]=r[5];s[6]=+r[6]+f;s[7]=+r[7]+ | |
| l;break;case "V":s[1]=+r[1]+l;break;case "H":s[1]=+r[1]+f;break;case "R":for(var t=[f,l].concat(r.slice(1)),u=2,v=t.length;u<v;u++)t[u]=+t[u]+f,t[++u]=+t[u]+l;h.pop();h=h.concat(P(t,q));break;case "O":h.pop();t=x(f,l,r[1],r[2]);t.push(t[0]);h=h.concat(t);break;case "U":h.pop();h=h.concat(x(f,l,r[1],r[2],r[3]));s=["U"].concat(h[h.length-1].slice(-2));break;case "M":n=+r[1]+f,k=+r[2]+l;default:for(u=1,v=r.length;u<v;u++)s[u]=+r[u]+(u%2?f:l)}else if("R"==p)t=[f,l].concat(r.slice(1)),h.pop(),h=h.concat(P(t, | |
| q)),s=["R"].concat(r.slice(-2));else if("O"==p)h.pop(),t=x(f,l,r[1],r[2]),t.push(t[0]),h=h.concat(t);else if("U"==p)h.pop(),h=h.concat(x(f,l,r[1],r[2],r[3])),s=["U"].concat(h[h.length-1].slice(-2));else for(t=0,u=r.length;t<u;t++)s[t]=r[t];p=p.toUpperCase();if("O"!=p)switch(s[0]){case "Z":f=+n;l=+k;break;case "H":f=s[1];break;case "V":l=s[1];break;case "M":n=s[s.length-2],k=s[s.length-1];default:f=s[s.length-2],l=s[s.length-1]}}h.toString=z;e.abs=d(h);return h}function h(a,b,d,e){return[a,b,d,e,d, | |
| e]}function J(a,b,d,e,h,f){var l=1/3,n=2/3;return[l*a+n*d,l*b+n*e,l*h+n*d,l*f+n*e,h,f]}function K(b,d,e,h,f,l,n,k,p,s){var r=120*S/180,q=S/180*(+f||0),c=[],t,x=a._.cacher(function(a,b,c){var d=a*F.cos(c)-b*F.sin(c);a=a*F.sin(c)+b*F.cos(c);return{x:d,y:a}});if(s)v=s[0],t=s[1],l=s[2],u=s[3];else{t=x(b,d,-q);b=t.x;d=t.y;t=x(k,p,-q);k=t.x;p=t.y;F.cos(S/180*f);F.sin(S/180*f);t=(b-k)/2;v=(d-p)/2;u=t*t/(e*e)+v*v/(h*h);1<u&&(u=F.sqrt(u),e*=u,h*=u);var u=e*e,w=h*h,u=(l==n?-1:1)*F.sqrt(Z((u*w-u*v*v-w*t*t)/ | |
| (u*v*v+w*t*t)));l=u*e*v/h+(b+k)/2;var u=u*-h*t/e+(d+p)/2,v=F.asin(((d-u)/h).toFixed(9));t=F.asin(((p-u)/h).toFixed(9));v=b<l?S-v:v;t=k<l?S-t:t;0>v&&(v=2*S+v);0>t&&(t=2*S+t);n&&v>t&&(v-=2*S);!n&&t>v&&(t-=2*S)}if(Z(t-v)>r){var c=t,w=k,G=p;t=v+r*(n&&t>v?1:-1);k=l+e*F.cos(t);p=u+h*F.sin(t);c=K(k,p,e,h,f,0,n,w,G,[t,c,l,u])}l=t-v;f=F.cos(v);r=F.sin(v);n=F.cos(t);t=F.sin(t);l=F.tan(l/4);e=4/3*e*l;l*=4/3*h;h=[b,d];b=[b+e*r,d-l*f];d=[k+e*t,p-l*n];k=[k,p];b[0]=2*h[0]-b[0];b[1]=2*h[1]-b[1];if(s)return[b,d,k].concat(c); | |
| c=[b,d,k].concat(c).join().split(",");s=[];k=0;for(p=c.length;k<p;k++)s[k]=k%2?x(c[k-1],c[k],q).y:x(c[k],c[k+1],q).x;return s}function U(a,b,d,e,h,f,l,k){for(var n=[],p=[[],[] ],s,r,c,t,q=0;2>q;++q)0==q?(r=6*a-12*d+6*h,s=-3*a+9*d-9*h+3*l,c=3*d-3*a):(r=6*b-12*e+6*f,s=-3*b+9*e-9*f+3*k,c=3*e-3*b),1E-12>Z(s)?1E-12>Z(r)||(s=-c/r,0<s&&1>s&&n.push(s)):(t=r*r-4*c*s,c=F.sqrt(t),0>t||(t=(-r+c)/(2*s),0<t&&1>t&&n.push(t),s=(-r-c)/(2*s),0<s&&1>s&&n.push(s)));for(r=q=n.length;q--;)s=n[q],c=1-s,p[0][q]=c*c*c*a+3* | |
| c*c*s*d+3*c*s*s*h+s*s*s*l,p[1][q]=c*c*c*b+3*c*c*s*e+3*c*s*s*f+s*s*s*k;p[0][r]=a;p[1][r]=b;p[0][r+1]=l;p[1][r+1]=k;p[0].length=p[1].length=r+2;return{min:{x:X.apply(0,p[0]),y:X.apply(0,p[1])},max:{x:W.apply(0,p[0]),y:W.apply(0,p[1])}}}function I(a,b){var e=!b&&A(a);if(!b&&e.curve)return d(e.curve);var f=G(a),l=b&&G(b),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},k={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},p=function(a,b,c){if(!a)return["C",b.x,b.y,b.x,b.y,b.x,b.y];a[0]in{T:1,Q:1}||(b.qx=b.qy=null); | |
| switch(a[0]){case "M":b.X=a[1];b.Y=a[2];break;case "A":a=["C"].concat(K.apply(0,[b.x,b.y].concat(a.slice(1))));break;case "S":"C"==c||"S"==c?(c=2*b.x-b.bx,b=2*b.y-b.by):(c=b.x,b=b.y);a=["C",c,b].concat(a.slice(1));break;case "T":"Q"==c||"T"==c?(b.qx=2*b.x-b.qx,b.qy=2*b.y-b.qy):(b.qx=b.x,b.qy=b.y);a=["C"].concat(J(b.x,b.y,b.qx,b.qy,a[1],a[2]));break;case "Q":b.qx=a[1];b.qy=a[2];a=["C"].concat(J(b.x,b.y,a[1],a[2],a[3],a[4]));break;case "L":a=["C"].concat(h(b.x,b.y,a[1],a[2]));break;case "H":a=["C"].concat(h(b.x, | |
| b.y,a[1],b.y));break;case "V":a=["C"].concat(h(b.x,b.y,b.x,a[1]));break;case "Z":a=["C"].concat(h(b.x,b.y,b.X,b.Y))}return a},s=function(a,b){if(7<a[b].length){a[b].shift();for(var c=a[b];c.length;)q[b]="A",l&&(u[b]="A"),a.splice(b++,0,["C"].concat(c.splice(0,6)));a.splice(b,1);v=W(f.length,l&&l.length||0)}},r=function(a,b,c,d,e){a&&b&&"M"==a[e][0]&&"M"!=b[e][0]&&(b.splice(e,0,["M",d.x,d.y]),c.bx=0,c.by=0,c.x=a[e][1],c.y=a[e][2],v=W(f.length,l&&l.length||0))},q=[],u=[],c="",t="",x=0,v=W(f.length, | |
| l&&l.length||0);for(;x<v;x++){f[x]&&(c=f[x][0]);"C"!=c&&(q[x]=c,x&&(t=q[x-1]));f[x]=p(f[x],n,t);"A"!=q[x]&&"C"==c&&(q[x]="C");s(f,x);l&&(l[x]&&(c=l[x][0]),"C"!=c&&(u[x]=c,x&&(t=u[x-1])),l[x]=p(l[x],k,t),"A"!=u[x]&&"C"==c&&(u[x]="C"),s(l,x));r(f,l,n,k,x);r(l,f,k,n,x);var w=f[x],z=l&&l[x],y=w.length,U=l&&z.length;n.x=w[y-2];n.y=w[y-1];n.bx=$(w[y-4])||n.x;n.by=$(w[y-3])||n.y;k.bx=l&&($(z[U-4])||k.x);k.by=l&&($(z[U-3])||k.y);k.x=l&&z[U-2];k.y=l&&z[U-1]}l||(e.curve=d(f));return l?[f,l]:f}function P(a, | |
| b){for(var d=[],e=0,h=a.length;h-2*!b>e;e+=2){var f=[{x:+a[e-2],y:+a[e-1]},{x:+a[e],y:+a[e+1]},{x:+a[e+2],y:+a[e+3]},{x:+a[e+4],y:+a[e+5]}];b?e?h-4==e?f[3]={x:+a[0],y:+a[1]}:h-2==e&&(f[2]={x:+a[0],y:+a[1]},f[3]={x:+a[2],y:+a[3]}):f[0]={x:+a[h-2],y:+a[h-1]}:h-4==e?f[3]=f[2]:e||(f[0]={x:+a[e],y:+a[e+1]});d.push(["C",(-f[0].x+6*f[1].x+f[2].x)/6,(-f[0].y+6*f[1].y+f[2].y)/6,(f[1].x+6*f[2].x-f[3].x)/6,(f[1].y+6*f[2].y-f[3].y)/6,f[2].x,f[2].y])}return d}y=k.prototype;var Q=a.is,C=a._.clone,L="hasOwnProperty", | |
| N=/,?([a-z]),?/gi,$=parseFloat,F=Math,S=F.PI,X=F.min,W=F.max,ma=F.pow,Z=F.abs;M=n(1);var na=n(),ba=n(0,1),V=a._unit2px;a.path=A;a.path.getTotalLength=M;a.path.getPointAtLength=na;a.path.getSubpath=function(a,b,d){if(1E-6>this.getTotalLength(a)-d)return ba(a,b).end;a=ba(a,d,1);return b?ba(a,b).end:a};y.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()};y.getPointAtLength=function(a){return na(this.attr("d"),a)};y.getSubpath=function(b,d){return a.path.getSubpath(this.attr("d"), | |
| b,d)};a._.box=w;a.path.findDotsAtSegment=u;a.path.bezierBBox=p;a.path.isPointInsideBBox=b;a.path.isBBoxIntersect=q;a.path.intersection=function(a,b){return l(a,b)};a.path.intersectionNumber=function(a,b){return l(a,b,1)};a.path.isPointInside=function(a,d,e){var h=r(a);return b(h,d,e)&&1==l(a,[["M",d,e],["H",h.x2+10] ],1)%2};a.path.getBBox=r;a.path.get={path:function(a){return a.attr("path")},circle:function(a){a=V(a);return x(a.cx,a.cy,a.r)},ellipse:function(a){a=V(a);return x(a.cx||0,a.cy||0,a.rx, | |
| a.ry)},rect:function(a){a=V(a);return s(a.x||0,a.y||0,a.width,a.height,a.rx,a.ry)},image:function(a){a=V(a);return s(a.x||0,a.y||0,a.width,a.height)},line:function(a){return"M"+[a.attr("x1")||0,a.attr("y1")||0,a.attr("x2"),a.attr("y2")]},polyline:function(a){return"M"+a.attr("points")},polygon:function(a){return"M"+a.attr("points")+"z"},deflt:function(a){a=a.node.getBBox();return s(a.x,a.y,a.width,a.height)}};a.path.toRelative=function(b){var e=A(b),h=String.prototype.toLowerCase;if(e.rel)return d(e.rel); | |
| a.is(b,"array")&&a.is(b&&b[0],"array")||(b=a.parsePathString(b));var f=[],l=0,n=0,k=0,p=0,s=0;"M"==b[0][0]&&(l=b[0][1],n=b[0][2],k=l,p=n,s++,f.push(["M",l,n]));for(var r=b.length;s<r;s++){var q=f[s]=[],x=b[s];if(x[0]!=h.call(x[0]))switch(q[0]=h.call(x[0]),q[0]){case "a":q[1]=x[1];q[2]=x[2];q[3]=x[3];q[4]=x[4];q[5]=x[5];q[6]=+(x[6]-l).toFixed(3);q[7]=+(x[7]-n).toFixed(3);break;case "v":q[1]=+(x[1]-n).toFixed(3);break;case "m":k=x[1],p=x[2];default:for(var c=1,t=x.length;c<t;c++)q[c]=+(x[c]-(c%2?l: | |
| n)).toFixed(3)}else for(f[s]=[],"m"==x[0]&&(k=x[1]+l,p=x[2]+n),q=0,c=x.length;q<c;q++)f[s][q]=x[q];x=f[s].length;switch(f[s][0]){case "z":l=k;n=p;break;case "h":l+=+f[s][x-1];break;case "v":n+=+f[s][x-1];break;default:l+=+f[s][x-2],n+=+f[s][x-1]}}f.toString=z;e.rel=d(f);return f};a.path.toAbsolute=G;a.path.toCubic=I;a.path.map=function(a,b){if(!b)return a;var d,e,h,f,l,n,k;a=I(a);h=0;for(l=a.length;h<l;h++)for(k=a[h],f=1,n=k.length;f<n;f+=2)d=b.x(k[f],k[f+1]),e=b.y(k[f],k[f+1]),k[f]=d,k[f+1]=e;return a}; | |
| a.path.toString=z;a.path.clone=d});C.plugin(function(a,v,y,C){var A=Math.max,w=Math.min,z=function(a){this.items=[];this.bindings={};this.length=0;this.type="set";if(a)for(var f=0,n=a.length;f<n;f++)a[f]&&(this[this.items.length]=this.items[this.items.length]=a[f],this.length++)};v=z.prototype;v.push=function(){for(var a,f,n=0,k=arguments.length;n<k;n++)if(a=arguments[n])f=this.items.length,this[f]=this.items[f]=a,this.length++;return this};v.pop=function(){this.length&&delete this[this.length--]; | |
| return this.items.pop()};v.forEach=function(a,f){for(var n=0,k=this.items.length;n<k&&!1!==a.call(f,this.items[n],n);n++);return this};v.animate=function(d,f,n,u){"function"!=typeof n||n.length||(u=n,n=L.linear);d instanceof a._.Animation&&(u=d.callback,n=d.easing,f=n.dur,d=d.attr);var p=arguments;if(a.is(d,"array")&&a.is(p[p.length-1],"array"))var b=!0;var q,e=function(){q?this.b=q:q=this.b},l=0,r=u&&function(){l++==this.length&&u.call(this)};return this.forEach(function(a,l){k.once("snap.animcreated."+ | |
| a.id,e);b?p[l]&&a.animate.apply(a,p[l]):a.animate(d,f,n,r)})};v.remove=function(){for(;this.length;)this.pop().remove();return this};v.bind=function(a,f,k){var u={};if("function"==typeof f)this.bindings[a]=f;else{var p=k||a;this.bindings[a]=function(a){u[p]=a;f.attr(u)}}return this};v.attr=function(a){var f={},k;for(k in a)if(this.bindings[k])this.bindings[k](a[k]);else f[k]=a[k];a=0;for(k=this.items.length;a<k;a++)this.items[a].attr(f);return this};v.clear=function(){for(;this.length;)this.pop()}; | |
| v.splice=function(a,f,k){a=0>a?A(this.length+a,0):a;f=A(0,w(this.length-a,f));var u=[],p=[],b=[],q;for(q=2;q<arguments.length;q++)b.push(arguments[q]);for(q=0;q<f;q++)p.push(this[a+q]);for(;q<this.length-a;q++)u.push(this[a+q]);var e=b.length;for(q=0;q<e+u.length;q++)this.items[a+q]=this[a+q]=q<e?b[q]:u[q-e];for(q=this.items.length=this.length-=f-e;this[q];)delete this[q++];return new z(p)};v.exclude=function(a){for(var f=0,k=this.length;f<k;f++)if(this[f]==a)return this.splice(f,1),!0;return!1}; | |
| v.insertAfter=function(a){for(var f=this.items.length;f--;)this.items[f].insertAfter(a);return this};v.getBBox=function(){for(var a=[],f=[],k=[],u=[],p=this.items.length;p--;)if(!this.items[p].removed){var b=this.items[p].getBBox();a.push(b.x);f.push(b.y);k.push(b.x+b.width);u.push(b.y+b.height)}a=w.apply(0,a);f=w.apply(0,f);k=A.apply(0,k);u=A.apply(0,u);return{x:a,y:f,x2:k,y2:u,width:k-a,height:u-f,cx:a+(k-a)/2,cy:f+(u-f)/2}};v.clone=function(a){a=new z;for(var f=0,k=this.items.length;f<k;f++)a.push(this.items[f].clone()); | |
| return a};v.toString=function(){return"Snap\u2018s set"};v.type="set";a.set=function(){var a=new z;arguments.length&&a.push.apply(a,Array.prototype.slice.call(arguments,0));return a}});C.plugin(function(a,v,y,C){function A(a){var b=a[0];switch(b.toLowerCase()){case "t":return[b,0,0];case "m":return[b,1,0,0,1,0,0];case "r":return 4==a.length?[b,0,a[2],a[3] ]:[b,0];case "s":return 5==a.length?[b,1,1,a[3],a[4] ]:3==a.length?[b,1,1]:[b,1]}}function w(b,d,f){d=q(d).replace(/\.{3}|\u2026/g,b);b=a.parseTransformString(b)|| | |
| [];d=a.parseTransformString(d)||[];for(var k=Math.max(b.length,d.length),p=[],v=[],h=0,w,z,y,I;h<k;h++){y=b[h]||A(d[h]);I=d[h]||A(y);if(y[0]!=I[0]||"r"==y[0].toLowerCase()&&(y[2]!=I[2]||y[3]!=I[3])||"s"==y[0].toLowerCase()&&(y[3]!=I[3]||y[4]!=I[4])){b=a._.transform2matrix(b,f());d=a._.transform2matrix(d,f());p=[["m",b.a,b.b,b.c,b.d,b.e,b.f] ];v=[["m",d.a,d.b,d.c,d.d,d.e,d.f] ];break}p[h]=[];v[h]=[];w=0;for(z=Math.max(y.length,I.length);w<z;w++)w in y&&(p[h][w]=y[w]),w in I&&(v[h][w]=I[w])}return{from:u(p), | |
| to:u(v),f:n(p)}}function z(a){return a}function d(a){return function(b){return+b.toFixed(3)+a}}function f(b){return a.rgb(b[0],b[1],b[2])}function n(a){var b=0,d,f,k,n,h,p,q=[];d=0;for(f=a.length;d<f;d++){h="[";p=['"'+a[d][0]+'"'];k=1;for(n=a[d].length;k<n;k++)p[k]="val["+b++ +"]";h+=p+"]";q[d]=h}return Function("val","return Snap.path.toString.call(["+q+"])")}function u(a){for(var b=[],d=0,f=a.length;d<f;d++)for(var k=1,n=a[d].length;k<n;k++)b.push(a[d][k]);return b}var p={},b=/[a-z]+$/i,q=String; | |
| p.stroke=p.fill="colour";v.prototype.equal=function(a,b){return k("snap.util.equal",this,a,b).firstDefined()};k.on("snap.util.equal",function(e,k){var r,s;r=q(this.attr(e)||"");var x=this;if(r==+r&&k==+k)return{from:+r,to:+k,f:z};if("colour"==p[e])return r=a.color(r),s=a.color(k),{from:[r.r,r.g,r.b,r.opacity],to:[s.r,s.g,s.b,s.opacity],f:f};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return k instanceof a.Matrix&&(k=k.toTransformString()),a._.rgTransform.test(k)||(k=a._.svgTransform2string(k)), | |
| w(r,k,function(){return x.getBBox(1)});if("d"==e||"path"==e)return r=a.path.toCubic(r,k),{from:u(r[0]),to:u(r[1]),f:n(r[0])};if("points"==e)return r=q(r).split(a._.separator),s=q(k).split(a._.separator),{from:r,to:s,f:function(a){return a}};aUnit=r.match(b);s=q(k).match(b);return aUnit&&aUnit==s?{from:parseFloat(r),to:parseFloat(k),f:d(aUnit)}:{from:this.asPX(e),to:this.asPX(e,k),f:z}})});C.plugin(function(a,v,y,C){var A=v.prototype,w="createTouch"in C.doc;v="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel".split(" "); | |
| var z={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},d=function(a,b){var d="y"==a?"scrollTop":"scrollLeft",e=b&&b.node?b.node.ownerDocument:C.doc;return e[d in e.documentElement?"documentElement":"body"][d]},f=function(){this.returnValue=!1},n=function(){return this.originalEvent.preventDefault()},u=function(){this.cancelBubble=!0},p=function(){return this.originalEvent.stopPropagation()},b=function(){if(C.doc.addEventListener)return function(a,b,e,f){var k=w&&z[b]?z[b]:b,l=function(k){var l= | |
| d("y",f),q=d("x",f);if(w&&z.hasOwnProperty(b))for(var r=0,u=k.targetTouches&&k.targetTouches.length;r<u;r++)if(k.targetTouches[r].target==a||a.contains(k.targetTouches[r].target)){u=k;k=k.targetTouches[r];k.originalEvent=u;k.preventDefault=n;k.stopPropagation=p;break}return e.call(f,k,k.clientX+q,k.clientY+l)};b!==k&&a.addEventListener(b,l,!1);a.addEventListener(k,l,!1);return function(){b!==k&&a.removeEventListener(b,l,!1);a.removeEventListener(k,l,!1);return!0}};if(C.doc.attachEvent)return function(a, | |
| b,e,h){var k=function(a){a=a||h.node.ownerDocument.window.event;var b=d("y",h),k=d("x",h),k=a.clientX+k,b=a.clientY+b;a.preventDefault=a.preventDefault||f;a.stopPropagation=a.stopPropagation||u;return e.call(h,a,k,b)};a.attachEvent("on"+b,k);return function(){a.detachEvent("on"+b,k);return!0}}}(),q=[],e=function(a){for(var b=a.clientX,e=a.clientY,f=d("y"),l=d("x"),n,p=q.length;p--;){n=q[p];if(w)for(var r=a.touches&&a.touches.length,u;r--;){if(u=a.touches[r],u.identifier==n.el._drag.id||n.el.node.contains(u.target)){b= | |
| u.clientX;e=u.clientY;(a.originalEvent?a.originalEvent:a).preventDefault();break}}else a.preventDefault();b+=l;e+=f;k("snap.drag.move."+n.el.id,n.move_scope||n.el,b-n.el._drag.x,e-n.el._drag.y,b,e,a)}},l=function(b){a.unmousemove(e).unmouseup(l);for(var d=q.length,f;d--;)f=q[d],f.el._drag={},k("snap.drag.end."+f.el.id,f.end_scope||f.start_scope||f.move_scope||f.el,b);q=[]};for(y=v.length;y--;)(function(d){a[d]=A[d]=function(e,f){a.is(e,"function")&&(this.events=this.events||[],this.events.push({name:d, | |
| f:e,unbind:b(this.node||document,d,e,f||this)}));return this};a["un"+d]=A["un"+d]=function(a){for(var b=this.events||[],e=b.length;e--;)if(b[e].name==d&&(b[e].f==a||!a)){b[e].unbind();b.splice(e,1);!b.length&&delete this.events;break}return this}})(v[y]);A.hover=function(a,b,d,e){return this.mouseover(a,d).mouseout(b,e||d)};A.unhover=function(a,b){return this.unmouseover(a).unmouseout(b)};var r=[];A.drag=function(b,d,f,h,n,p){function u(r,v,w){(r.originalEvent||r).preventDefault();this._drag.x=v; | |
| this._drag.y=w;this._drag.id=r.identifier;!q.length&&a.mousemove(e).mouseup(l);q.push({el:this,move_scope:h,start_scope:n,end_scope:p});d&&k.on("snap.drag.start."+this.id,d);b&&k.on("snap.drag.move."+this.id,b);f&&k.on("snap.drag.end."+this.id,f);k("snap.drag.start."+this.id,n||h||this,v,w,r)}if(!arguments.length){var v;return this.drag(function(a,b){this.attr({transform:v+(v?"T":"t")+[a,b]})},function(){v=this.transform().local})}this._drag={};r.push({el:this,start:u});this.mousedown(u);return this}; | |
| A.undrag=function(){for(var b=r.length;b--;)r[b].el==this&&(this.unmousedown(r[b].start),r.splice(b,1),k.unbind("snap.drag.*."+this.id));!r.length&&a.unmousemove(e).unmouseup(l);return this}});C.plugin(function(a,v,y,C){y=y.prototype;var A=/^\s*url\((.+)\)/,w=String,z=a._.$;a.filter={};y.filter=function(d){var f=this;"svg"!=f.type&&(f=f.paper);d=a.parse(w(d));var k=a._.id(),u=z("filter");z(u,{id:k,filterUnits:"userSpaceOnUse"});u.appendChild(d.node);f.defs.appendChild(u);return new v(u)};k.on("snap.util.getattr.filter", | |
| function(){k.stop();var d=z(this.node,"filter");if(d)return(d=w(d).match(A))&&a.select(d[1])});k.on("snap.util.attr.filter",function(d){if(d instanceof v&&"filter"==d.type){k.stop();var f=d.node.id;f||(z(d.node,{id:d.id}),f=d.id);z(this.node,{filter:a.url(f)})}d&&"none"!=d||(k.stop(),this.node.removeAttribute("filter"))});a.filter.blur=function(d,f){null==d&&(d=2);return a.format('<feGaussianBlur stdDeviation="{def}"/>',{def:null==f?d:[d,f]})};a.filter.blur.toString=function(){return this()};a.filter.shadow= | |
| function(d,f,k,u,p){"string"==typeof k&&(p=u=k,k=4);"string"!=typeof u&&(p=u,u="#000");null==k&&(k=4);null==p&&(p=1);null==d&&(d=0,f=2);null==f&&(f=d);u=a.color(u||"#000");return a.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>', | |
| {color:u,dx:d,dy:f,blur:k,opacity:p})};a.filter.shadow.toString=function(){return this()};a.filter.grayscale=function(d){null==d&&(d=1);return a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:0.2126+0.7874*(1-d),b:0.7152-0.7152*(1-d),c:0.0722-0.0722*(1-d),d:0.2126-0.2126*(1-d),e:0.7152+0.2848*(1-d),f:0.0722-0.0722*(1-d),g:0.2126-0.2126*(1-d),h:0.0722+0.9278*(1-d)})};a.filter.grayscale.toString=function(){return this()};a.filter.sepia= | |
| function(d){null==d&&(d=1);return a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:0.393+0.607*(1-d),b:0.769-0.769*(1-d),c:0.189-0.189*(1-d),d:0.349-0.349*(1-d),e:0.686+0.314*(1-d),f:0.168-0.168*(1-d),g:0.272-0.272*(1-d),h:0.534-0.534*(1-d),i:0.131+0.869*(1-d)})};a.filter.sepia.toString=function(){return this()};a.filter.saturate=function(d){null==d&&(d=1);return a.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1- | |
| d})};a.filter.saturate.toString=function(){return this()};a.filter.hueRotate=function(d){return a.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:d||0})};a.filter.hueRotate.toString=function(){return this()};a.filter.invert=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:d, | |
| amount2:1-d})};a.filter.invert.toString=function(){return this()};a.filter.brightness=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:d})};a.filter.brightness.toString=function(){return this()};a.filter.contrast=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>', | |
| {amount:d,amount2:0.5-d/2})};a.filter.contrast.toString=function(){return this()}});return C}); | |
| ]]> </script> | |
| <script> <![CDATA[ | |
| (function (glob, factory) { | |
| // AMD support | |
| if (typeof define === "function" && define.amd) { | |
| // Define as an anonymous module | |
| define("Gadfly", ["Snap.svg"], function (Snap) { | |
| return factory(Snap); | |
| }); | |
| } else { | |
| // Browser globals (glob is window) | |
| // Snap adds itself to window | |
| glob.Gadfly = factory(glob.Snap); | |
| } | |
| }(this, function (Snap) { | |
| var Gadfly = {}; | |
| // Get an x/y coordinate value in pixels | |
| var xPX = function(fig, x) { | |
| var client_box = fig.node.getBoundingClientRect(); | |
| return x * fig.node.viewBox.baseVal.width / client_box.width; | |
| }; | |
| var yPX = function(fig, y) { | |
| var client_box = fig.node.getBoundingClientRect(); | |
| return y * fig.node.viewBox.baseVal.height / client_box.height; | |
| }; | |
| Snap.plugin(function (Snap, Element, Paper, global) { | |
| // Traverse upwards from a snap element to find and return the first | |
| // note with the "plotroot" class. | |
| Element.prototype.plotroot = function () { | |
| var element = this; | |
| while (!element.hasClass("plotroot") && element.parent() != null) { | |
| element = element.parent(); | |
| } | |
| return element; | |
| }; | |
| Element.prototype.svgroot = function () { | |
| var element = this; | |
| while (element.node.nodeName != "svg" && element.parent() != null) { | |
| element = element.parent(); | |
| } | |
| return element; | |
| }; | |
| Element.prototype.plotbounds = function () { | |
| var root = this.plotroot() | |
| var bbox = root.select(".guide.background").node.getBBox(); | |
| return { | |
| x0: bbox.x, | |
| x1: bbox.x + bbox.width, | |
| y0: bbox.y, | |
| y1: bbox.y + bbox.height | |
| }; | |
| }; | |
| Element.prototype.plotcenter = function () { | |
| var root = this.plotroot() | |
| var bbox = root.select(".guide.background").node.getBBox(); | |
| return { | |
| x: bbox.x + bbox.width / 2, | |
| y: bbox.y + bbox.height / 2 | |
| }; | |
| }; | |
| // Emulate IE style mouseenter/mouseleave events, since Microsoft always | |
| // does everything right. | |
| // See: http://www.dynamic-tools.net/toolbox/isMouseLeaveOrEnter/ | |
| var events = ["mouseenter", "mouseleave"]; | |
| for (i in events) { | |
| (function (event_name) { | |
| var event_name = events[i]; | |
| Element.prototype[event_name] = function (fn, scope) { | |
| if (Snap.is(fn, "function")) { | |
| var fn2 = function (event) { | |
| if (event.type != "mouseover" && event.type != "mouseout") { | |
| return; | |
| } | |
| var reltg = event.relatedTarget ? event.relatedTarget : | |
| event.type == "mouseout" ? event.toElement : event.fromElement; | |
| while (reltg && reltg != this.node) reltg = reltg.parentNode; | |
| if (reltg != this.node) { | |
| return fn.apply(this, event); | |
| } | |
| }; | |
| if (event_name == "mouseenter") { | |
| this.mouseover(fn2, scope); | |
| } else { | |
| this.mouseout(fn2, scope); | |
| } | |
| } | |
| return this; | |
| }; | |
| })(events[i]); | |
| } | |
| Element.prototype.mousewheel = function (fn, scope) { | |
| if (Snap.is(fn, "function")) { | |
| var el = this; | |
| var fn2 = function (event) { | |
| fn.apply(el, [event]); | |
| }; | |
| } | |
| this.node.addEventListener( | |
| /Firefox/i.test(navigator.userAgent) ? "DOMMouseScroll" : "mousewheel", | |
| fn2); | |
| return this; | |
| }; | |
| // Snap's attr function can be too slow for things like panning/zooming. | |
| // This is a function to directly update element attributes without going | |
| // through eve. | |
| Element.prototype.attribute = function(key, val) { | |
| if (val === undefined) { | |
| return this.node.getAttribute(key, val); | |
| } else { | |
| return this.node.setAttribute(key, val); | |
| } | |
| }; | |
| }); | |
| // When the plot is moused over, emphasize the grid lines. | |
| Gadfly.plot_mouseover = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var xgridlines = root.select(".xgridlines"), | |
| ygridlines = root.select(".ygridlines"); | |
| xgridlines.data("unfocused_strokedash", | |
| xgridlines.attr("stroke-dasharray").replace(/px/g, "mm")) | |
| ygridlines.data("unfocused_strokedash", | |
| ygridlines.attr("stroke-dasharray").replace(/px/g, "mm")) | |
| // emphasize grid lines | |
| var destcolor = root.data("focused_xgrid_color"); | |
| xgridlines.attr("stroke-dasharray", "none") | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| destcolor = root.data("focused_ygrid_color"); | |
| ygridlines.attr("stroke-dasharray", "none") | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| // reveal zoom slider | |
| root.select(".zoomslider") | |
| .animate({opacity: 1.0}, 250); | |
| }; | |
| // Unemphasize grid lines on mouse out. | |
| Gadfly.plot_mouseout = function(event) { | |
| var root = this.plotroot(); | |
| var xgridlines = root.select(".xgridlines"), | |
| ygridlines = root.select(".ygridlines"); | |
| var destcolor = root.data("unfocused_xgrid_color"); | |
| xgridlines.attr("stroke-dasharray", xgridlines.data("unfocused_strokedash")) | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| destcolor = root.data("unfocused_ygrid_color"); | |
| ygridlines.attr("stroke-dasharray", ygridlines.data("unfocused_strokedash")) | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| // hide zoom slider | |
| root.select(".zoomslider") | |
| .animate({opacity: 0.0}, 250); | |
| }; | |
| var set_geometry_transform = function(root, tx, ty, scale) { | |
| var xscalable = root.hasClass("xscalable"), | |
| yscalable = root.hasClass("yscalable"); | |
| var old_scale = root.data("scale"); | |
| var xscale = xscalable ? scale : 1.0, | |
| yscale = yscalable ? scale : 1.0; | |
| tx = xscalable ? tx : 0.0; | |
| ty = yscalable ? ty : 0.0; | |
| var t = new Snap.Matrix().translate(tx, ty).scale(xscale, yscale); | |
| root.selectAll(".geometry, image") | |
| .forEach(function (element, i) { | |
| element.transform(t); | |
| }); | |
| bounds = root.plotbounds(); | |
| if (yscalable) { | |
| var xfixed_t = new Snap.Matrix().translate(0, ty).scale(1.0, yscale); | |
| root.selectAll(".xfixed") | |
| .forEach(function (element, i) { | |
| element.transform(xfixed_t); | |
| }); | |
| root.select(".ylabels") | |
| .transform(xfixed_t) | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var cx = element.asPX("x"), | |
| cy = element.asPX("y"); | |
| var st = element.data("static_transform"); | |
| unscale_t = new Snap.Matrix(); | |
| unscale_t.scale(1, 1/scale, cx, cy).add(st); | |
| element.transform(unscale_t); | |
| var y = cy * scale + ty; | |
| element.attr("visibility", | |
| bounds.y0 <= y && y <= bounds.y1 ? "visible" : "hidden"); | |
| } | |
| }); | |
| } | |
| if (xscalable) { | |
| var yfixed_t = new Snap.Matrix().translate(tx, 0).scale(xscale, 1.0); | |
| var xtrans = new Snap.Matrix().translate(tx, 0); | |
| root.selectAll(".yfixed") | |
| .forEach(function (element, i) { | |
| element.transform(yfixed_t); | |
| }); | |
| root.select(".xlabels") | |
| .transform(yfixed_t) | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var cx = element.asPX("x"), | |
| cy = element.asPX("y"); | |
| var st = element.data("static_transform"); | |
| unscale_t = new Snap.Matrix(); | |
| unscale_t.scale(1/scale, 1, cx, cy).add(st); | |
| element.transform(unscale_t); | |
| var x = cx * scale + tx; | |
| element.attr("visibility", | |
| bounds.x0 <= x && x <= bounds.x1 ? "visible" : "hidden"); | |
| } | |
| }); | |
| } | |
| // we must unscale anything that is scale invariance: widths, raiduses, etc. | |
| var size_attribs = ["font-size"]; | |
| var unscaled_selection = ".geometry, .geometry *"; | |
| if (xscalable) { | |
| size_attribs.push("rx"); | |
| unscaled_selection += ", .xgridlines"; | |
| } | |
| if (yscalable) { | |
| size_attribs.push("ry"); | |
| unscaled_selection += ", .ygridlines"; | |
| } | |
| root.selectAll(unscaled_selection) | |
| .forEach(function (element, i) { | |
| // circle need special help | |
| if (element.node.nodeName == "circle") { | |
| var cx = element.attribute("cx"), | |
| cy = element.attribute("cy"); | |
| unscale_t = new Snap.Matrix().scale(1/xscale, 1/yscale, | |
| cx, cy); | |
| element.transform(unscale_t); | |
| return; | |
| } | |
| for (i in size_attribs) { | |
| var key = size_attribs[i]; | |
| var val = parseFloat(element.attribute(key)); | |
| if (val !== undefined && val != 0 && !isNaN(val)) { | |
| element.attribute(key, val * old_scale / scale); | |
| } | |
| } | |
| }); | |
| }; | |
| // Find the most appropriate tick scale and update label visibility. | |
| var update_tickscale = function(root, scale, axis) { | |
| if (!root.hasClass(axis + "scalable")) return; | |
| var tickscales = root.data(axis + "tickscales"); | |
| var best_tickscale = 1.0; | |
| var best_tickscale_dist = Infinity; | |
| for (tickscale in tickscales) { | |
| var dist = Math.abs(Math.log(tickscale) - Math.log(scale)); | |
| if (dist < best_tickscale_dist) { | |
| best_tickscale_dist = dist; | |
| best_tickscale = tickscale; | |
| } | |
| } | |
| if (best_tickscale != root.data(axis + "tickscale")) { | |
| root.data(axis + "tickscale", best_tickscale); | |
| var mark_inscale_gridlines = function (element, i) { | |
| var inscale = element.attr("gadfly:scale") == best_tickscale; | |
| element.attribute("gadfly:inscale", inscale); | |
| element.attr("visibility", inscale ? "visible" : "hidden"); | |
| }; | |
| var mark_inscale_labels = function (element, i) { | |
| var inscale = element.attr("gadfly:scale") == best_tickscale; | |
| element.attribute("gadfly:inscale", inscale); | |
| element.attr("visibility", inscale ? "visible" : "hidden"); | |
| }; | |
| root.select("." + axis + "gridlines").selectAll("path").forEach(mark_inscale_gridlines); | |
| root.select("." + axis + "labels").selectAll("text").forEach(mark_inscale_labels); | |
| } | |
| }; | |
| var set_plot_pan_zoom = function(root, tx, ty, scale) { | |
| var old_scale = root.data("scale"); | |
| var bounds = root.plotbounds(); | |
| var width = bounds.x1 - bounds.x0, | |
| height = bounds.y1 - bounds.y0; | |
| // compute the viewport derived from tx, ty, and scale | |
| var x_min = -width * scale - (scale * width - width), | |
| x_max = width * scale, | |
| y_min = -height * scale - (scale * height - height), | |
| y_max = height * scale; | |
| var x0 = bounds.x0 - scale * bounds.x0, | |
| y0 = bounds.y0 - scale * bounds.y0; | |
| var tx = Math.max(Math.min(tx - x0, x_max), x_min), | |
| ty = Math.max(Math.min(ty - y0, y_max), y_min); | |
| tx += x0; | |
| ty += y0; | |
| // when the scale change, we may need to alter which set of | |
| // ticks is being displayed | |
| if (scale != old_scale) { | |
| update_tickscale(root, scale, "x"); | |
| update_tickscale(root, scale, "y"); | |
| } | |
| set_geometry_transform(root, tx, ty, scale); | |
| root.data("scale", scale); | |
| root.data("tx", tx); | |
| root.data("ty", ty); | |
| }; | |
| var scale_centered_translation = function(root, scale) { | |
| var bounds = root.plotbounds(); | |
| var width = bounds.x1 - bounds.x0, | |
| height = bounds.y1 - bounds.y0; | |
| var tx0 = root.data("tx"), | |
| ty0 = root.data("ty"); | |
| var scale0 = root.data("scale"); | |
| // how off from center the current view is | |
| var xoff = tx0 - (bounds.x0 * (1 - scale0) + (width * (1 - scale0)) / 2), | |
| yoff = ty0 - (bounds.y0 * (1 - scale0) + (height * (1 - scale0)) / 2); | |
| // rescale offsets | |
| xoff = xoff * scale / scale0; | |
| yoff = yoff * scale / scale0; | |
| // adjust for the panel position being scaled | |
| var x_edge_adjust = bounds.x0 * (1 - scale), | |
| y_edge_adjust = bounds.y0 * (1 - scale); | |
| return { | |
| x: xoff + x_edge_adjust + (width - width * scale) / 2, | |
| y: yoff + y_edge_adjust + (height - height * scale) / 2 | |
| }; | |
| }; | |
| // Initialize data for panning zooming if it isn't already. | |
| var init_pan_zoom = function(root) { | |
| if (root.data("zoompan-ready")) { | |
| return; | |
| } | |
| // The non-scaling-stroke trick. Rather than try to correct for the | |
| // stroke-width when zooming, we force it to a fixed value. | |
| var px_per_mm = root.node.getCTM().a; | |
| // Drag events report deltas in pixels, which we'd like to convert to | |
| // millimeters. | |
| root.data("px_per_mm", px_per_mm); | |
| root.selectAll("path") | |
| .forEach(function (element, i) { | |
| sw = element.asPX("stroke-width") * px_per_mm; | |
| if (sw > 0) { | |
| element.attribute("stroke-width", sw); | |
| element.attribute("vector-effect", "non-scaling-stroke"); | |
| } | |
| }); | |
| // Store ticks labels original tranformation | |
| root.selectAll(".xlabels > text, .ylabels > text") | |
| .forEach(function (element, i) { | |
| var lm = element.transform().localMatrix; | |
| element.data("static_transform", | |
| new Snap.Matrix(lm.a, lm.b, lm.c, lm.d, lm.e, lm.f)); | |
| }); | |
| if (root.data("tx") === undefined) root.data("tx", 0); | |
| if (root.data("ty") === undefined) root.data("ty", 0); | |
| if (root.data("scale") === undefined) root.data("scale", 1.0); | |
| if (root.data("xtickscales") === undefined) { | |
| // index all the tick scales that are listed | |
| var xtickscales = {}; | |
| var ytickscales = {}; | |
| var add_x_tick_scales = function (element, i) { | |
| xtickscales[element.attribute("gadfly:scale")] = true; | |
| }; | |
| var add_y_tick_scales = function (element, i) { | |
| ytickscales[element.attribute("gadfly:scale")] = true; | |
| }; | |
| root.select(".xgridlines").selectAll("path").forEach(add_x_tick_scales); | |
| root.select(".ygridlines").selectAll("path").forEach(add_y_tick_scales); | |
| root.select(".xlabels").selectAll("text").forEach(add_x_tick_scales); | |
| root.select(".ylabels").selectAll("text").forEach(add_y_tick_scales); | |
| root.data("xtickscales", xtickscales); | |
| root.data("ytickscales", ytickscales); | |
| root.data("xtickscale", 1.0); | |
| } | |
| var min_scale = 1.0, max_scale = 1.0; | |
| for (scale in xtickscales) { | |
| min_scale = Math.min(min_scale, scale); | |
| max_scale = Math.max(max_scale, scale); | |
| } | |
| for (scale in ytickscales) { | |
| min_scale = Math.min(min_scale, scale); | |
| max_scale = Math.max(max_scale, scale); | |
| } | |
| root.data("min_scale", min_scale); | |
| root.data("max_scale", max_scale); | |
| // store the original positions of labels | |
| root.select(".xlabels") | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| element.data("x", element.asPX("x")); | |
| }); | |
| root.select(".ylabels") | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| element.data("y", element.asPX("y")); | |
| }); | |
| // mark grid lines and ticks as in or out of scale. | |
| var mark_inscale = function (element, i) { | |
| element.attribute("gadfly:inscale", element.attribute("gadfly:scale") == 1.0); | |
| }; | |
| root.select(".xgridlines").selectAll("path").forEach(mark_inscale); | |
| root.select(".ygridlines").selectAll("path").forEach(mark_inscale); | |
| root.select(".xlabels").selectAll("text").forEach(mark_inscale); | |
| root.select(".ylabels").selectAll("text").forEach(mark_inscale); | |
| // figure out the upper ond lower bounds on panning using the maximum | |
| // and minum grid lines | |
| var bounds = root.plotbounds(); | |
| var pan_bounds = { | |
| x0: 0.0, | |
| y0: 0.0, | |
| x1: 0.0, | |
| y1: 0.0 | |
| }; | |
| root.select(".xgridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var bbox = element.node.getBBox(); | |
| if (bounds.x1 - bbox.x < pan_bounds.x0) { | |
| pan_bounds.x0 = bounds.x1 - bbox.x; | |
| } | |
| if (bounds.x0 - bbox.x > pan_bounds.x1) { | |
| pan_bounds.x1 = bounds.x0 - bbox.x; | |
| } | |
| } | |
| }); | |
| root.select(".ygridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var bbox = element.node.getBBox(); | |
| if (bounds.y1 - bbox.y < pan_bounds.y0) { | |
| pan_bounds.y0 = bounds.y1 - bbox.y; | |
| } | |
| if (bounds.y0 - bbox.y > pan_bounds.y1) { | |
| pan_bounds.y1 = bounds.y0 - bbox.y; | |
| } | |
| } | |
| }); | |
| // nudge these values a little | |
| pan_bounds.x0 -= 5; | |
| pan_bounds.x1 += 5; | |
| pan_bounds.y0 -= 5; | |
| pan_bounds.y1 += 5; | |
| root.data("pan_bounds", pan_bounds); | |
| // Set all grid lines at scale 1.0 to visible. Out of bounds lines | |
| // will be clipped. | |
| root.select(".xgridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| element.attr("visibility", "visible"); | |
| } | |
| }); | |
| root.select(".ygridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| element.attr("visibility", "visible"); | |
| } | |
| }); | |
| root.data("zoompan-ready", true) | |
| }; | |
| // Panning | |
| Gadfly.guide_background_drag_onmove = function(dx, dy, x, y, event) { | |
| var root = this.plotroot(); | |
| var px_per_mm = root.data("px_per_mm"); | |
| dx /= px_per_mm; | |
| dy /= px_per_mm; | |
| var tx0 = root.data("tx"), | |
| ty0 = root.data("ty"); | |
| var dx0 = root.data("dx"), | |
| dy0 = root.data("dy"); | |
| root.data("dx", dx); | |
| root.data("dy", dy); | |
| dx = dx - dx0; | |
| dy = dy - dy0; | |
| var tx = tx0 + dx, | |
| ty = ty0 + dy; | |
| set_plot_pan_zoom(root, tx, ty, root.data("scale")); | |
| }; | |
| Gadfly.guide_background_drag_onstart = function(x, y, event) { | |
| var root = this.plotroot(); | |
| root.data("dx", 0); | |
| root.data("dy", 0); | |
| init_pan_zoom(root); | |
| }; | |
| Gadfly.guide_background_drag_onend = function(event) { | |
| var root = this.plotroot(); | |
| }; | |
| Gadfly.guide_background_scroll = function(event) { | |
| if (event.shiftKey) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var new_scale = root.data("scale") * Math.pow(2, 0.002 * event.wheelDelta); | |
| new_scale = Math.max( | |
| root.data("min_scale"), | |
| Math.min(root.data("max_scale"), new_scale)) | |
| update_plot_scale(root, new_scale); | |
| event.stopPropagation(); | |
| } | |
| }; | |
| Gadfly.zoomslider_button_mouseover = function(event) { | |
| this.select(".button_logo") | |
| .animate({fill: this.data("mouseover_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_button_mouseout = function(event) { | |
| this.select(".button_logo") | |
| .animate({fill: this.data("mouseout_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_zoomout_click = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var min_scale = root.data("min_scale"), | |
| scale = root.data("scale"); | |
| Snap.animate( | |
| scale, | |
| Math.max(min_scale, scale / 1.5), | |
| function (new_scale) { | |
| update_plot_scale(root, new_scale); | |
| }, | |
| 200); | |
| }; | |
| Gadfly.zoomslider_zoomin_click = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var max_scale = root.data("max_scale"), | |
| scale = root.data("scale"); | |
| Snap.animate( | |
| scale, | |
| Math.min(max_scale, scale * 1.5), | |
| function (new_scale) { | |
| update_plot_scale(root, new_scale); | |
| }, | |
| 200); | |
| }; | |
| Gadfly.zoomslider_track_click = function(event) { | |
| // TODO | |
| }; | |
| Gadfly.zoomslider_thumb_mousedown = function(event) { | |
| this.animate({fill: this.data("mouseover_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_thumb_mouseup = function(event) { | |
| this.animate({fill: this.data("mouseout_color")}, 100); | |
| }; | |
| // compute the position in [0, 1] of the zoom slider thumb from the current scale | |
| var slider_position_from_scale = function(scale, min_scale, max_scale) { | |
| if (scale >= 1.0) { | |
| return 0.5 + 0.5 * (Math.log(scale) / Math.log(max_scale)); | |
| } | |
| else { | |
| return 0.5 * (Math.log(scale) - Math.log(min_scale)) / (0 - Math.log(min_scale)); | |
| } | |
| } | |
| var update_plot_scale = function(root, new_scale) { | |
| var trans = scale_centered_translation(root, new_scale); | |
| set_plot_pan_zoom(root, trans.x, trans.y, new_scale); | |
| root.selectAll(".zoomslider_thumb") | |
| .forEach(function (element, i) { | |
| var min_pos = element.data("min_pos"), | |
| max_pos = element.data("max_pos"), | |
| min_scale = root.data("min_scale"), | |
| max_scale = root.data("max_scale"); | |
| var xmid = (min_pos + max_pos) / 2; | |
| var xpos = slider_position_from_scale(new_scale, min_scale, max_scale); | |
| element.transform(new Snap.Matrix().translate( | |
| Math.max(min_pos, Math.min( | |
| max_pos, min_pos + (max_pos - min_pos) * xpos)) - xmid, 0)); | |
| }); | |
| }; | |
| Gadfly.zoomslider_thumb_dragmove = function(dx, dy, x, y) { | |
| var root = this.plotroot(); | |
| var min_pos = this.data("min_pos"), | |
| max_pos = this.data("max_pos"), | |
| min_scale = root.data("min_scale"), | |
| max_scale = root.data("max_scale"), | |
| old_scale = root.data("old_scale"); | |
| var px_per_mm = root.data("px_per_mm"); | |
| dx /= px_per_mm; | |
| dy /= px_per_mm; | |
| var xmid = (min_pos + max_pos) / 2; | |
| var xpos = slider_position_from_scale(old_scale, min_scale, max_scale) + | |
| dx / (max_pos - min_pos); | |
| // compute the new scale | |
| var new_scale; | |
| if (xpos >= 0.5) { | |
| new_scale = Math.exp(2.0 * (xpos - 0.5) * Math.log(max_scale)); | |
| } | |
| else { | |
| new_scale = Math.exp(2.0 * xpos * (0 - Math.log(min_scale)) + | |
| Math.log(min_scale)); | |
| } | |
| new_scale = Math.min(max_scale, Math.max(min_scale, new_scale)); | |
| update_plot_scale(root, new_scale); | |
| }; | |
| Gadfly.zoomslider_thumb_dragstart = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| // keep track of what the scale was when we started dragging | |
| root.data("old_scale", root.data("scale")); | |
| }; | |
| Gadfly.zoomslider_thumb_dragend = function(event) { | |
| }; | |
| var toggle_color_class = function(root, color_class, ison) { | |
| var guides = root.selectAll(".guide." + color_class + ",.guide ." + color_class); | |
| var geoms = root.selectAll(".geometry." + color_class + ",.geometry ." + color_class); | |
| if (ison) { | |
| guides.animate({opacity: 0.5}, 250); | |
| geoms.animate({opacity: 0.0}, 250); | |
| } else { | |
| guides.animate({opacity: 1.0}, 250); | |
| geoms.animate({opacity: 1.0}, 250); | |
| } | |
| }; | |
| Gadfly.colorkey_swatch_click = function(event) { | |
| var root = this.plotroot(); | |
| var color_class = this.data("color_class"); | |
| if (event.shiftKey) { | |
| root.selectAll(".colorkey text") | |
| .forEach(function (element) { | |
| var other_color_class = element.data("color_class"); | |
| if (other_color_class != color_class) { | |
| toggle_color_class(root, other_color_class, | |
| element.attr("opacity") == 1.0); | |
| } | |
| }); | |
| } else { | |
| toggle_color_class(root, color_class, this.attr("opacity") == 1.0); | |
| } | |
| }; | |
| return Gadfly; | |
| })); | |
| //@ sourceURL=gadfly.js | |
| (function (glob, factory) { | |
| // AMD support | |
| if (typeof require === "function" && typeof define === "function" && define.amd) { | |
| require(["Snap.svg", "Gadfly"], function (Snap, Gadfly) { | |
| factory(Snap, Gadfly); | |
| }); | |
| } else { | |
| factory(glob.Snap, glob.Gadfly); | |
| } | |
| })(window, function (Snap, Gadfly) { | |
| var fig = Snap("#fig-32dad49cf5354baaa1e313dd04c4471b"); | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-4") | |
| .mouseenter(Gadfly.plot_mouseover) | |
| .mouseleave(Gadfly.plot_mouseout) | |
| .mousewheel(Gadfly.guide_background_scroll) | |
| .drag(Gadfly.guide_background_drag_onmove, | |
| Gadfly.guide_background_drag_onstart, | |
| Gadfly.guide_background_drag_onend) | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-7") | |
| .plotroot().data("unfocused_ygrid_color", "#D0D0E0") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-7") | |
| .plotroot().data("focused_ygrid_color", "#A0A0A0") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-8") | |
| .plotroot().data("unfocused_xgrid_color", "#D0D0E0") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-8") | |
| .plotroot().data("focused_xgrid_color", "#A0A0A0") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-13") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-13") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-13") | |
| .click(Gadfly.zoomslider_zoomin_click) | |
| .mouseenter(Gadfly.zoomslider_button_mouseover) | |
| .mouseleave(Gadfly.zoomslider_button_mouseout) | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-15") | |
| .data("max_pos", 120.42) | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-15") | |
| .data("min_pos", 103.42) | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-15") | |
| .click(Gadfly.zoomslider_track_click); | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-16") | |
| .data("max_pos", 120.42) | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-16") | |
| .data("min_pos", 103.42) | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-16") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-16") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-16") | |
| .drag(Gadfly.zoomslider_thumb_dragmove, | |
| Gadfly.zoomslider_thumb_dragstart, | |
| Gadfly.zoomslider_thumb_dragend) | |
| .mousedown(Gadfly.zoomslider_thumb_mousedown) | |
| .mouseup(Gadfly.zoomslider_thumb_mouseup) | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-17") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-17") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-32dad49cf5354baaa1e313dd04c4471b-element-17") | |
| .click(Gadfly.zoomslider_zoomout_click) | |
| .mouseenter(Gadfly.zoomslider_button_mouseover) | |
| .mouseleave(Gadfly.zoomslider_button_mouseout) | |
| ; | |
| }); | |
| ]]> </script> | |
| </svg> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="cell border-box-sizing code_cell rendered"> | |
| <div class="input"> | |
| <div class="prompt input_prompt"> | |
| In [246]: | |
| </div> | |
| <div class="inner_cell"> | |
| <div class="input_area"> | |
| <div class="highlight"><pre><span class="n">Ge</span> <span class="o">=</span> <span class="mi">10</span> | |
| <span class="n">Fe</span> <span class="o">=</span> <span class="mi">1</span> | |
| <span class="n">friendliness_ratio</span> <span class="o">=</span> <span class="n">Fthreshold</span> <span class="o">/</span> <span class="n">Gthreshold</span><span class="p">;</span> | |
| </pre></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="cell border-box-sizing code_cell rendered"> | |
| <div class="input"> | |
| <div class="prompt input_prompt"> | |
| In [234]: | |
| </div> | |
| <div class="inner_cell"> | |
| <div class="input_area"> | |
| <div class="highlight"><pre><span class="k">function</span><span class="nf"> Fi_per_year</span><span class="p">(</span><span class="n">Gi</span><span class="p">,</span> <span class="n">Ge</span><span class="p">,</span> <span class="n">Fe</span><span class="p">,</span> <span class="n">friendliness_ratio</span><span class="p">)</span> | |
| <span class="n">C0</span> <span class="o">=</span> <span class="p">(</span><span class="n">friendliness_ratio</span> <span class="o">*</span> <span class="n">Ge</span><span class="p">)</span> <span class="o">-</span> <span class="n">Fe</span><span class="p">;</span> | |
| <span class="n">C1</span> <span class="o">=</span> <span class="n">friendliness_ratio</span><span class="p">;</span> | |
| <span class="n">Fi</span> <span class="o">=</span> <span class="n">C0</span> <span class="o">+</span> <span class="n">C1</span><span class="o">*</span><span class="n">Gi</span> | |
| <span class="k">end</span><span class="p">;</span> | |
| <span class="n">plot</span><span class="p">(</span><span class="n">x</span> <span class="o">-></span> <span class="n">Fi_per_year</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">Ge</span><span class="p">,</span> <span class="n">Fe</span><span class="p">,</span> <span class="n">friendliness_ratio</span><span class="p">),</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">20</span><span class="p">,</span> <span class="n">Guide</span><span class="o">.</span><span class="n">xlabel</span><span class="p">(</span><span class="s">"G</span><span class="se">\'</span><span class="s"><sub>i</sub> Maximum"</span><span class="p">),</span> <span class="n">Guide</span><span class="o">.</span><span class="n">ylabel</span><span class="p">(</span><span class="s">"F</span><span class="se">\'</span><span class="s"><sub>i</sub>"</span><span class="p">),</span> <span class="n">Guide</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="s">"Maximum AGI Research Rate vs. FAI Research Rate"</span><span class="p">))</span> | |
| </pre></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="output_wrapper"> | |
| <div class="output"> | |
| <div class="output_area"><div class="prompt output_prompt"> | |
| Out[234]:</div> | |
| <div class="output_html rendered_html output_subarea output_pyout"> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <svg xmlns="http://www.w3.org/2000/svg" | |
| xmlns:xlink="http://www.w3.org/1999/xlink" | |
| xmlns:gadfly="http://www.gadflyjl.org/ns" | |
| version="1.2" | |
| width="141.42mm" height="100mm" viewBox="0 0 141.42 100" | |
| stroke="none" | |
| fill="#000000" | |
| stroke-width="0.3" | |
| font-size="3.88" | |
| id="fig-efd57231394b459aa56299ac2fae0b57"> | |
| <g class="plotroot xscalable yscalable" id="fig-efd57231394b459aa56299ac2fae0b57-element-1"> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-efd57231394b459aa56299ac2fae0b57-element-2"> | |
| <text x="78.16" y="92" text-anchor="middle">G'<tspan style="dominant-baseline:inherit" dy="0.6em" font-size="83%">i</tspan><tspan dy="-0.498000em"> Maximum</tspan></text> | |
| </g> | |
| <g class="guide xlabels" font-size="2.82" font-family="'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif" fill="#6C606B" id="fig-efd57231394b459aa56299ac2fae0b57-element-3"> | |
| <text x="-118.74" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-25</text> | |
| <text x="-90.61" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-20</text> | |
| <text x="-62.48" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-15</text> | |
| <text x="-34.35" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-10</text> | |
| <text x="-6.22" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-5</text> | |
| <text x="21.91" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">0</text> | |
| <text x="50.04" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">5</text> | |
| <text x="78.16" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">10</text> | |
| <text x="106.29" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">15</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">20</text> | |
| <text x="162.55" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">25</text> | |
| <text x="190.68" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">30</text> | |
| <text x="218.81" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">35</text> | |
| <text x="246.94" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">40</text> | |
| <text x="275.06" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">45</text> | |
| <text x="-90.61" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-20</text> | |
| <text x="-84.98" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-19</text> | |
| <text x="-79.36" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-18</text> | |
| <text x="-73.73" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-17</text> | |
| <text x="-68.11" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-16</text> | |
| <text x="-62.48" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-15</text> | |
| <text x="-56.85" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-14</text> | |
| <text x="-51.23" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-13</text> | |
| <text x="-45.6" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-12</text> | |
| <text x="-39.98" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-11</text> | |
| <text x="-34.35" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-10</text> | |
| <text x="-28.72" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-9</text> | |
| <text x="-23.1" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-8</text> | |
| <text x="-17.47" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-7</text> | |
| <text x="-11.85" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-6</text> | |
| <text x="-6.22" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-5</text> | |
| <text x="-0.6" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4</text> | |
| <text x="5.03" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3</text> | |
| <text x="10.66" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2</text> | |
| <text x="16.28" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1</text> | |
| <text x="21.91" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">0</text> | |
| <text x="27.53" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1</text> | |
| <text x="33.16" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2</text> | |
| <text x="38.78" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3</text> | |
| <text x="44.41" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4</text> | |
| <text x="50.04" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5</text> | |
| <text x="55.66" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6</text> | |
| <text x="61.29" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7</text> | |
| <text x="66.91" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8</text> | |
| <text x="72.54" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9</text> | |
| <text x="78.16" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">10</text> | |
| <text x="83.79" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">11</text> | |
| <text x="89.42" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">12</text> | |
| <text x="95.04" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">13</text> | |
| <text x="100.67" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">14</text> | |
| <text x="106.29" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">15</text> | |
| <text x="111.92" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">16</text> | |
| <text x="117.54" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">17</text> | |
| <text x="123.17" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">18</text> | |
| <text x="128.8" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">19</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">20</text> | |
| <text x="140.05" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">21</text> | |
| <text x="145.67" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">22</text> | |
| <text x="151.3" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">23</text> | |
| <text x="156.92" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">24</text> | |
| <text x="162.55" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">25</text> | |
| <text x="168.18" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">26</text> | |
| <text x="173.8" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">27</text> | |
| <text x="179.43" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">28</text> | |
| <text x="185.05" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">29</text> | |
| <text x="190.68" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">30</text> | |
| <text x="196.3" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">31</text> | |
| <text x="201.93" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">32</text> | |
| <text x="207.56" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">33</text> | |
| <text x="213.18" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">34</text> | |
| <text x="218.81" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">35</text> | |
| <text x="224.43" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">36</text> | |
| <text x="230.06" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">37</text> | |
| <text x="235.68" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">38</text> | |
| <text x="241.31" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">39</text> | |
| <text x="246.94" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">40</text> | |
| <text x="-90.61" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">-20</text> | |
| <text x="21.91" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">0</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">20</text> | |
| <text x="246.94" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">40</text> | |
| <text x="-90.61" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-20</text> | |
| <text x="-79.36" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-18</text> | |
| <text x="-68.11" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-16</text> | |
| <text x="-56.85" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-14</text> | |
| <text x="-45.6" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-12</text> | |
| <text x="-34.35" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-10</text> | |
| <text x="-23.1" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-8</text> | |
| <text x="-11.85" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-6</text> | |
| <text x="-0.6" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-4</text> | |
| <text x="10.66" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-2</text> | |
| <text x="21.91" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">0</text> | |
| <text x="33.16" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">2</text> | |
| <text x="44.41" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">4</text> | |
| <text x="55.66" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">6</text> | |
| <text x="66.91" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">8</text> | |
| <text x="78.16" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">10</text> | |
| <text x="89.42" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">12</text> | |
| <text x="100.67" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">14</text> | |
| <text x="111.92" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">16</text> | |
| <text x="123.17" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">18</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">20</text> | |
| <text x="145.67" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">22</text> | |
| <text x="156.92" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">24</text> | |
| <text x="168.18" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">26</text> | |
| <text x="179.43" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">28</text> | |
| <text x="190.68" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">30</text> | |
| <text x="201.93" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">32</text> | |
| <text x="213.18" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">34</text> | |
| <text x="224.43" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">36</text> | |
| <text x="235.68" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">38</text> | |
| <text x="246.94" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">40</text> | |
| </g> | |
| <g clip-path="url(#fig-efd57231394b459aa56299ac2fae0b57-element-5)" id="fig-efd57231394b459aa56299ac2fae0b57-element-4"> | |
| <g pointer-events="visible" opacity="1" fill="none" stroke="none" class="guide background" id="fig-efd57231394b459aa56299ac2fae0b57-element-6"> | |
| <rect x="19.91" y="12.61" width="116.51" height="68.3"/> | |
| </g> | |
| <g class="guide ygridlines xfixed" stroke-dasharray="0.5,0.5" stroke-width="0.2" stroke="#D0D0E0" id="fig-efd57231394b459aa56299ac2fae0b57-element-7"> | |
| <path fill="none" d="M19.91,164.64 L 136.42 164.64" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,143.21 L 136.42 143.21" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,121.77 L 136.42 121.77" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,100.34 L 136.42 100.34" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,78.91 L 136.42 78.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M19.91,57.48 L 136.42 57.48" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M19.91,36.04 L 136.42 36.04" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M19.91,14.61 L 136.42 14.61" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M19.91,-6.82 L 136.42 -6.82" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-28.25 L 136.42 -28.25" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-49.69 L 136.42 -49.69" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-71.12 L 136.42 -71.12" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,143.21 L 136.42 143.21" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,141.06 L 136.42 141.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,138.92 L 136.42 138.92" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,136.78 L 136.42 136.78" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,134.63 L 136.42 134.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,132.49 L 136.42 132.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,130.35 L 136.42 130.35" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,128.2 L 136.42 128.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,126.06 L 136.42 126.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,123.92 L 136.42 123.92" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,121.77 L 136.42 121.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,119.63 L 136.42 119.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,117.49 L 136.42 117.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,115.34 L 136.42 115.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,113.2 L 136.42 113.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,111.06 L 136.42 111.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,108.91 L 136.42 108.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,106.77 L 136.42 106.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,104.63 L 136.42 104.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,102.48 L 136.42 102.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,100.34 L 136.42 100.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,98.2 L 136.42 98.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,96.06 L 136.42 96.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,93.91 L 136.42 93.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,91.77 L 136.42 91.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,89.63 L 136.42 89.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,87.48 L 136.42 87.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,85.34 L 136.42 85.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,83.2 L 136.42 83.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,81.05 L 136.42 81.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,78.91 L 136.42 78.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,76.77 L 136.42 76.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,74.62 L 136.42 74.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,72.48 L 136.42 72.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,70.34 L 136.42 70.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,68.19 L 136.42 68.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,66.05 L 136.42 66.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,63.91 L 136.42 63.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,61.76 L 136.42 61.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,59.62 L 136.42 59.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,57.48 L 136.42 57.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,55.33 L 136.42 55.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,53.19 L 136.42 53.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,51.05 L 136.42 51.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,48.9 L 136.42 48.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,46.76 L 136.42 46.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,44.62 L 136.42 44.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,42.47 L 136.42 42.47" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,40.33 L 136.42 40.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,38.19 L 136.42 38.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,36.04 L 136.42 36.04" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,33.9 L 136.42 33.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,31.76 L 136.42 31.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,29.61 L 136.42 29.61" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,27.47 L 136.42 27.47" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,25.33 L 136.42 25.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,23.18 L 136.42 23.18" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,21.04 L 136.42 21.04" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,18.9 L 136.42 18.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,16.75 L 136.42 16.75" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,14.61 L 136.42 14.61" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,12.47 L 136.42 12.47" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,10.33 L 136.42 10.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,8.18 L 136.42 8.18" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,6.04 L 136.42 6.04" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,3.9 L 136.42 3.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,1.75 L 136.42 1.75" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-0.39 L 136.42 -0.39" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-2.53 L 136.42 -2.53" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-4.68 L 136.42 -4.68" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-6.82 L 136.42 -6.82" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-8.96 L 136.42 -8.96" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-11.11 L 136.42 -11.11" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-13.25 L 136.42 -13.25" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-15.39 L 136.42 -15.39" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-17.54 L 136.42 -17.54" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-19.68 L 136.42 -19.68" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-21.82 L 136.42 -21.82" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-23.97 L 136.42 -23.97" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-26.11 L 136.42 -26.11" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-28.25 L 136.42 -28.25" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-30.4 L 136.42 -30.4" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-32.54 L 136.42 -32.54" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-34.68 L 136.42 -34.68" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-36.83 L 136.42 -36.83" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-38.97 L 136.42 -38.97" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-41.11 L 136.42 -41.11" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-43.26 L 136.42 -43.26" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-45.4 L 136.42 -45.4" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-47.54 L 136.42 -47.54" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-49.69 L 136.42 -49.69" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,143.21 L 136.42 143.21" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M19.91,78.91 L 136.42 78.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M19.91,14.61 L 136.42 14.61" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-49.69 L 136.42 -49.69" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M19.91,143.21 L 136.42 143.21" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,138.92 L 136.42 138.92" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,134.63 L 136.42 134.63" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,130.35 L 136.42 130.35" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,126.06 L 136.42 126.06" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,121.77 L 136.42 121.77" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,117.49 L 136.42 117.49" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,113.2 L 136.42 113.2" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,108.91 L 136.42 108.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,104.63 L 136.42 104.63" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,100.34 L 136.42 100.34" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,96.06 L 136.42 96.06" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,91.77 L 136.42 91.77" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,87.48 L 136.42 87.48" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,83.2 L 136.42 83.2" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,78.91 L 136.42 78.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,74.62 L 136.42 74.62" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,70.34 L 136.42 70.34" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,66.05 L 136.42 66.05" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,61.76 L 136.42 61.76" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,57.48 L 136.42 57.48" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,53.19 L 136.42 53.19" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,48.9 L 136.42 48.9" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,44.62 L 136.42 44.62" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,40.33 L 136.42 40.33" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,36.04 L 136.42 36.04" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,31.76 L 136.42 31.76" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,27.47 L 136.42 27.47" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,23.18 L 136.42 23.18" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,18.9 L 136.42 18.9" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,14.61 L 136.42 14.61" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,10.33 L 136.42 10.33" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,6.04 L 136.42 6.04" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,1.75 L 136.42 1.75" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-2.53 L 136.42 -2.53" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-6.82 L 136.42 -6.82" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-11.11 L 136.42 -11.11" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-15.39 L 136.42 -15.39" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-19.68 L 136.42 -19.68" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-23.97 L 136.42 -23.97" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-28.25 L 136.42 -28.25" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-32.54 L 136.42 -32.54" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-36.83 L 136.42 -36.83" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-41.11 L 136.42 -41.11" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-45.4 L 136.42 -45.4" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M19.91,-49.69 L 136.42 -49.69" gadfly:scale="5.0" visibility="hidden"/> | |
| </g> | |
| <g class="guide xgridlines yfixed" stroke-dasharray="0.5,0.5" stroke-width="0.2" stroke="#D0D0E0" id="fig-efd57231394b459aa56299ac2fae0b57-element-8"> | |
| <path fill="none" d="M-118.74,12.61 L -118.74 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-90.61,12.61 L -90.61 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-62.48,12.61 L -62.48 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-34.35,12.61 L -34.35 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-6.22,12.61 L -6.22 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.91,12.61 L 21.91 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M50.04,12.61 L 50.04 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M78.16,12.61 L 78.16 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M106.29,12.61 L 106.29 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M162.55,12.61 L 162.55 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M190.68,12.61 L 190.68 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M218.81,12.61 L 218.81 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M246.94,12.61 L 246.94 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M275.06,12.61 L 275.06 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-90.61,12.61 L -90.61 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-84.98,12.61 L -84.98 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-79.36,12.61 L -79.36 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-73.73,12.61 L -73.73 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-68.11,12.61 L -68.11 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-62.48,12.61 L -62.48 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-56.85,12.61 L -56.85 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-51.23,12.61 L -51.23 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-45.6,12.61 L -45.6 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-39.98,12.61 L -39.98 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-34.35,12.61 L -34.35 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-28.72,12.61 L -28.72 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-23.1,12.61 L -23.1 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-17.47,12.61 L -17.47 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-11.85,12.61 L -11.85 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-6.22,12.61 L -6.22 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-0.6,12.61 L -0.6 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M5.03,12.61 L 5.03 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M10.66,12.61 L 10.66 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M16.28,12.61 L 16.28 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.91,12.61 L 21.91 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M27.53,12.61 L 27.53 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M33.16,12.61 L 33.16 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M38.78,12.61 L 38.78 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M44.41,12.61 L 44.41 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M50.04,12.61 L 50.04 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M55.66,12.61 L 55.66 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M61.29,12.61 L 61.29 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M66.91,12.61 L 66.91 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M72.54,12.61 L 72.54 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M78.16,12.61 L 78.16 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M83.79,12.61 L 83.79 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M89.42,12.61 L 89.42 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M95.04,12.61 L 95.04 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M100.67,12.61 L 100.67 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M106.29,12.61 L 106.29 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M111.92,12.61 L 111.92 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M117.54,12.61 L 117.54 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M123.17,12.61 L 123.17 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M128.8,12.61 L 128.8 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M140.05,12.61 L 140.05 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M145.67,12.61 L 145.67 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M151.3,12.61 L 151.3 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M156.92,12.61 L 156.92 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M162.55,12.61 L 162.55 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M168.18,12.61 L 168.18 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M173.8,12.61 L 173.8 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M179.43,12.61 L 179.43 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M185.05,12.61 L 185.05 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M190.68,12.61 L 190.68 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M196.3,12.61 L 196.3 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M201.93,12.61 L 201.93 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M207.56,12.61 L 207.56 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M213.18,12.61 L 213.18 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M218.81,12.61 L 218.81 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M224.43,12.61 L 224.43 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M230.06,12.61 L 230.06 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M235.68,12.61 L 235.68 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M241.31,12.61 L 241.31 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M246.94,12.61 L 246.94 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-90.61,12.61 L -90.61 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M21.91,12.61 L 21.91 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M246.94,12.61 L 246.94 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M-90.61,12.61 L -90.61 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-79.36,12.61 L -79.36 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-68.11,12.61 L -68.11 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-56.85,12.61 L -56.85 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-45.6,12.61 L -45.6 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-34.35,12.61 L -34.35 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-23.1,12.61 L -23.1 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-11.85,12.61 L -11.85 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-0.6,12.61 L -0.6 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M10.66,12.61 L 10.66 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.91,12.61 L 21.91 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M33.16,12.61 L 33.16 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M44.41,12.61 L 44.41 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M55.66,12.61 L 55.66 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M66.91,12.61 L 66.91 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M78.16,12.61 L 78.16 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M89.42,12.61 L 89.42 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M100.67,12.61 L 100.67 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M111.92,12.61 L 111.92 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M123.17,12.61 L 123.17 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M145.67,12.61 L 145.67 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M156.92,12.61 L 156.92 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M168.18,12.61 L 168.18 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M179.43,12.61 L 179.43 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M190.68,12.61 L 190.68 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M201.93,12.61 L 201.93 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M213.18,12.61 L 213.18 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M224.43,12.61 L 224.43 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M235.68,12.61 L 235.68 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M246.94,12.61 L 246.94 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| </g> | |
| <g class="plotpanel" id="fig-efd57231394b459aa56299ac2fae0b57-element-9"> | |
| <g stroke-width="0.3" fill="none" class="geometry" stroke="#00BFFF" id="fig-efd57231394b459aa56299ac2fae0b57-element-10"> | |
| <path fill="none" d="M21.91,57.69 L 22.36 57.52 22.81 57.35 23.26 57.17 23.71 57 24.17 56.83 24.62 56.66 25.07 56.49 25.52 56.31 25.97 56.14 26.43 55.97 26.88 55.8 27.33 55.63 27.78 55.45 28.23 55.28 28.68 55.11 29.14 54.94 29.59 54.76 30.04 54.59 30.49 54.42 30.94 54.25 31.4 54.08 31.85 53.9 32.3 53.73 32.75 53.56 33.2 53.39 33.66 53.22 34.11 53.04 34.56 52.87 35.01 52.7 35.46 52.53 35.91 52.35 36.37 52.18 36.82 52.01 37.27 51.84 37.72 51.67 38.17 51.49 38.63 51.32 39.08 51.15 39.53 50.98 39.98 50.81 40.43 50.63 40.89 50.46 41.34 50.29 41.79 50.12 42.24 49.94 42.69 49.77 43.14 49.6 43.6 49.43 44.05 49.26 44.5 49.08 44.95 48.91 45.4 48.74 45.86 48.57 46.31 48.39 46.76 48.22 47.21 48.05 47.66 47.88 48.11 47.71 48.57 47.53 49.02 47.36 49.47 47.19 49.92 47.02 50.37 46.85 50.83 46.67 51.28 46.5 51.73 46.33 52.18 46.16 52.63 45.98 53.09 45.81 53.54 45.64 53.99 45.47 54.44 45.3 54.89 45.12 55.34 44.95 55.8 44.78 56.25 44.61 56.7 44.44 57.15 44.26 57.6 44.09 58.06 43.92 58.51 43.75 58.96 43.57 59.41 43.4 59.86 43.23 60.32 43.06 60.77 42.89 61.22 42.71 61.67 42.54 62.12 42.37 62.57 42.2 63.03 42.03 63.48 41.85 63.93 41.68 64.38 41.51 64.83 41.34 65.29 41.16 65.74 40.99 66.19 40.82 66.64 40.65 67.09 40.48 67.55 40.3 68 40.13 68.45 39.96 68.9 39.79 69.35 39.62 69.8 39.44 70.26 39.27 70.71 39.1 71.16 38.93 71.61 38.75 72.06 38.58 72.52 38.41 72.97 38.24 73.42 38.07 73.87 37.89 74.32 37.72 74.78 37.55 75.23 37.38 75.68 37.21 76.13 37.03 76.58 36.86 77.03 36.69 77.49 36.52 77.94 36.34 78.39 36.17 78.84 36 79.29 35.83 79.75 35.66 80.2 35.48 80.65 35.31 81.1 35.14 81.55 34.97 82 34.8 82.46 34.62 82.91 34.45 83.36 34.28 83.81 34.11 84.26 33.93 84.72 33.76 85.17 33.59 85.62 33.42 86.07 33.25 86.52 33.07 86.98 32.9 87.43 32.73 87.88 32.56 88.33 32.39 88.78 32.21 89.23 32.04 89.69 31.87 90.14 31.7 90.59 31.52 91.04 31.35 91.49 31.18 91.95 31.01 92.4 30.84 92.85 30.66 93.3 30.49 93.75 30.32 94.21 30.15 94.66 29.98 95.11 29.8 95.56 29.63 96.01 29.46 96.46 29.29 96.92 29.11 97.37 28.94 97.82 28.77 98.27 28.6 98.72 28.43 99.18 28.25 99.63 28.08 100.08 27.91 100.53 27.74 100.98 27.56 101.44 27.39 101.89 27.22 102.34 27.05 102.79 26.88 103.24 26.7 103.69 26.53 104.15 26.36 104.6 26.19 105.05 26.02 105.5 25.84 105.95 25.67 106.41 25.5 106.86 25.33 107.31 25.15 107.76 24.98 108.21 24.81 108.66 24.64 109.12 24.47 109.57 24.29 110.02 24.12 110.47 23.95 110.92 23.78 111.38 23.61 111.83 23.43 112.28 23.26 112.73 23.09 113.18 22.92 113.64 22.74 114.09 22.57 114.54 22.4 114.99 22.23 115.44 22.06 115.89 21.88 116.35 21.71 116.8 21.54 117.25 21.37 117.7 21.2 118.15 21.02 118.61 20.85 119.06 20.68 119.51 20.51 119.96 20.33 120.41 20.16 120.87 19.99 121.32 19.82 121.77 19.65 122.22 19.47 122.67 19.3 123.12 19.13 123.58 18.96 124.03 18.79 124.48 18.61 124.93 18.44 125.38 18.27 125.84 18.1 126.29 17.92 126.74 17.75 127.19 17.58 127.64 17.41 128.1 17.24 128.55 17.06 129 16.89 129.45 16.72 129.9 16.55 130.35 16.38 130.81 16.2 131.26 16.03 131.71 15.86 132.16 15.69 132.61 15.51 133.07 15.34 133.52 15.17 133.97 15 134.42 14.83"/> | |
| </g> | |
| </g> | |
| <g opacity="0" class="guide zoomslider" stroke="none" id="fig-efd57231394b459aa56299ac2fae0b57-element-11"> | |
| <g fill="#EAEAEA" stroke-width="0.3" stroke-opacity="0" stroke="#6A6A6A" id="fig-efd57231394b459aa56299ac2fae0b57-element-12"> | |
| <rect x="129.42" y="15.61" width="4" height="4"/> | |
| <g class="button_logo" fill="#6A6A6A" id="fig-efd57231394b459aa56299ac2fae0b57-element-13"> | |
| <path d="M130.22,17.21 L 131.02 17.21 131.02 16.41 131.82 16.41 131.82 17.21 132.62 17.21 132.62 18.01 131.82 18.01 131.82 18.81 131.02 18.81 131.02 18.01 130.22 18.01 z"/> | |
| </g> | |
| </g> | |
| <g fill="#EAEAEA" id="fig-efd57231394b459aa56299ac2fae0b57-element-14"> | |
| <rect x="109.92" y="15.61" width="19" height="4"/> | |
| </g> | |
| <g class="zoomslider_thumb" fill="#6A6A6A" id="fig-efd57231394b459aa56299ac2fae0b57-element-15"> | |
| <rect x="118.42" y="15.61" width="2" height="4"/> | |
| </g> | |
| <g fill="#EAEAEA" stroke-width="0.3" stroke-opacity="0" stroke="#6A6A6A" id="fig-efd57231394b459aa56299ac2fae0b57-element-16"> | |
| <rect x="105.42" y="15.61" width="4" height="4"/> | |
| <g class="button_logo" fill="#6A6A6A" id="fig-efd57231394b459aa56299ac2fae0b57-element-17"> | |
| <path d="M106.22,17.21 L 108.62 17.21 108.62 18.01 106.22 18.01 z"/> | |
| </g> | |
| </g> | |
| </g> | |
| </g> | |
| <g class="guide ylabels" font-size="2.82" font-family="'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif" fill="#6C606B" id="fig-efd57231394b459aa56299ac2fae0b57-element-18"> | |
| <text x="18.91" y="164.64" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-400</text> | |
| <text x="18.91" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-300</text> | |
| <text x="18.91" y="121.77" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-200</text> | |
| <text x="18.91" y="100.34" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-100</text> | |
| <text x="18.91" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">0</text> | |
| <text x="18.91" y="57.48" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">100</text> | |
| <text x="18.91" y="36.04" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">200</text> | |
| <text x="18.91" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">300</text> | |
| <text x="18.91" y="-6.82" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">400</text> | |
| <text x="18.91" y="-28.25" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">500</text> | |
| <text x="18.91" y="-49.69" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">600</text> | |
| <text x="18.91" y="-71.12" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">700</text> | |
| <text x="18.91" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-300</text> | |
| <text x="18.91" y="141.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-290</text> | |
| <text x="18.91" y="138.92" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-280</text> | |
| <text x="18.91" y="136.78" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-270</text> | |
| <text x="18.91" y="134.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-260</text> | |
| <text x="18.91" y="132.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-250</text> | |
| <text x="18.91" y="130.35" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-240</text> | |
| <text x="18.91" y="128.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-230</text> | |
| <text x="18.91" y="126.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-220</text> | |
| <text x="18.91" y="123.92" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-210</text> | |
| <text x="18.91" y="121.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-200</text> | |
| <text x="18.91" y="119.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-190</text> | |
| <text x="18.91" y="117.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-180</text> | |
| <text x="18.91" y="115.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-170</text> | |
| <text x="18.91" y="113.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-160</text> | |
| <text x="18.91" y="111.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-150</text> | |
| <text x="18.91" y="108.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-140</text> | |
| <text x="18.91" y="106.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-130</text> | |
| <text x="18.91" y="104.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-120</text> | |
| <text x="18.91" y="102.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-110</text> | |
| <text x="18.91" y="100.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-100</text> | |
| <text x="18.91" y="98.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-90</text> | |
| <text x="18.91" y="96.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-80</text> | |
| <text x="18.91" y="93.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-70</text> | |
| <text x="18.91" y="91.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-60</text> | |
| <text x="18.91" y="89.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-50</text> | |
| <text x="18.91" y="87.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-40</text> | |
| <text x="18.91" y="85.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-30</text> | |
| <text x="18.91" y="83.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-20</text> | |
| <text x="18.91" y="81.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-10</text> | |
| <text x="18.91" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0</text> | |
| <text x="18.91" y="76.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">10</text> | |
| <text x="18.91" y="74.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">20</text> | |
| <text x="18.91" y="72.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">30</text> | |
| <text x="18.91" y="70.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">40</text> | |
| <text x="18.91" y="68.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">50</text> | |
| <text x="18.91" y="66.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">60</text> | |
| <text x="18.91" y="63.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">70</text> | |
| <text x="18.91" y="61.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">80</text> | |
| <text x="18.91" y="59.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">90</text> | |
| <text x="18.91" y="57.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">100</text> | |
| <text x="18.91" y="55.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">110</text> | |
| <text x="18.91" y="53.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">120</text> | |
| <text x="18.91" y="51.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">130</text> | |
| <text x="18.91" y="48.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">140</text> | |
| <text x="18.91" y="46.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">150</text> | |
| <text x="18.91" y="44.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">160</text> | |
| <text x="18.91" y="42.47" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">170</text> | |
| <text x="18.91" y="40.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">180</text> | |
| <text x="18.91" y="38.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">190</text> | |
| <text x="18.91" y="36.04" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">200</text> | |
| <text x="18.91" y="33.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">210</text> | |
| <text x="18.91" y="31.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">220</text> | |
| <text x="18.91" y="29.61" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">230</text> | |
| <text x="18.91" y="27.47" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">240</text> | |
| <text x="18.91" y="25.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">250</text> | |
| <text x="18.91" y="23.18" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">260</text> | |
| <text x="18.91" y="21.04" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">270</text> | |
| <text x="18.91" y="18.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">280</text> | |
| <text x="18.91" y="16.75" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">290</text> | |
| <text x="18.91" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">300</text> | |
| <text x="18.91" y="12.47" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">310</text> | |
| <text x="18.91" y="10.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">320</text> | |
| <text x="18.91" y="8.18" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">330</text> | |
| <text x="18.91" y="6.04" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">340</text> | |
| <text x="18.91" y="3.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">350</text> | |
| <text x="18.91" y="1.75" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">360</text> | |
| <text x="18.91" y="-0.39" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">370</text> | |
| <text x="18.91" y="-2.53" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">380</text> | |
| <text x="18.91" y="-4.68" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">390</text> | |
| <text x="18.91" y="-6.82" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">400</text> | |
| <text x="18.91" y="-8.96" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">410</text> | |
| <text x="18.91" y="-11.11" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">420</text> | |
| <text x="18.91" y="-13.25" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">430</text> | |
| <text x="18.91" y="-15.39" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">440</text> | |
| <text x="18.91" y="-17.54" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">450</text> | |
| <text x="18.91" y="-19.68" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">460</text> | |
| <text x="18.91" y="-21.82" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">470</text> | |
| <text x="18.91" y="-23.97" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">480</text> | |
| <text x="18.91" y="-26.11" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">490</text> | |
| <text x="18.91" y="-28.25" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">500</text> | |
| <text x="18.91" y="-30.4" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">510</text> | |
| <text x="18.91" y="-32.54" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">520</text> | |
| <text x="18.91" y="-34.68" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">530</text> | |
| <text x="18.91" y="-36.83" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">540</text> | |
| <text x="18.91" y="-38.97" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">550</text> | |
| <text x="18.91" y="-41.11" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">560</text> | |
| <text x="18.91" y="-43.26" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">570</text> | |
| <text x="18.91" y="-45.4" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">580</text> | |
| <text x="18.91" y="-47.54" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">590</text> | |
| <text x="18.91" y="-49.69" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">600</text> | |
| <text x="18.91" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">-300</text> | |
| <text x="18.91" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">0</text> | |
| <text x="18.91" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">300</text> | |
| <text x="18.91" y="-49.69" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">600</text> | |
| <text x="18.91" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-300</text> | |
| <text x="18.91" y="138.92" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-280</text> | |
| <text x="18.91" y="134.63" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-260</text> | |
| <text x="18.91" y="130.35" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-240</text> | |
| <text x="18.91" y="126.06" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-220</text> | |
| <text x="18.91" y="121.77" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-200</text> | |
| <text x="18.91" y="117.49" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-180</text> | |
| <text x="18.91" y="113.2" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-160</text> | |
| <text x="18.91" y="108.91" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-140</text> | |
| <text x="18.91" y="104.63" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-120</text> | |
| <text x="18.91" y="100.34" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-100</text> | |
| <text x="18.91" y="96.06" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-80</text> | |
| <text x="18.91" y="91.77" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-60</text> | |
| <text x="18.91" y="87.48" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-40</text> | |
| <text x="18.91" y="83.2" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-20</text> | |
| <text x="18.91" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0</text> | |
| <text x="18.91" y="74.62" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">20</text> | |
| <text x="18.91" y="70.34" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">40</text> | |
| <text x="18.91" y="66.05" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">60</text> | |
| <text x="18.91" y="61.76" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">80</text> | |
| <text x="18.91" y="57.48" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">100</text> | |
| <text x="18.91" y="53.19" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">120</text> | |
| <text x="18.91" y="48.9" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">140</text> | |
| <text x="18.91" y="44.62" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">160</text> | |
| <text x="18.91" y="40.33" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">180</text> | |
| <text x="18.91" y="36.04" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">200</text> | |
| <text x="18.91" y="31.76" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">220</text> | |
| <text x="18.91" y="27.47" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">240</text> | |
| <text x="18.91" y="23.18" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">260</text> | |
| <text x="18.91" y="18.9" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">280</text> | |
| <text x="18.91" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">300</text> | |
| <text x="18.91" y="10.33" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">320</text> | |
| <text x="18.91" y="6.04" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">340</text> | |
| <text x="18.91" y="1.75" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">360</text> | |
| <text x="18.91" y="-2.53" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">380</text> | |
| <text x="18.91" y="-6.82" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">400</text> | |
| <text x="18.91" y="-11.11" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">420</text> | |
| <text x="18.91" y="-15.39" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">440</text> | |
| <text x="18.91" y="-19.68" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">460</text> | |
| <text x="18.91" y="-23.97" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">480</text> | |
| <text x="18.91" y="-28.25" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">500</text> | |
| <text x="18.91" y="-32.54" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">520</text> | |
| <text x="18.91" y="-36.83" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">540</text> | |
| <text x="18.91" y="-41.11" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">560</text> | |
| <text x="18.91" y="-45.4" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">580</text> | |
| <text x="18.91" y="-49.69" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">600</text> | |
| </g> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-efd57231394b459aa56299ac2fae0b57-element-19"> | |
| <text x="10.89" y="46.76" text-anchor="end" dy="0.35em">F'<tspan style="dominant-baseline:inherit" dy="0.6em" font-size="83%">i</tspan><tspan dy="-0.498000em"></tspan></text> | |
| </g> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-efd57231394b459aa56299ac2fae0b57-element-20"> | |
| <text x="78.16" y="10.61" text-anchor="middle">Maximum AGI Research Rate vs. FAI Research Rate</text> | |
| </g> | |
| </g> | |
| <defs> | |
| <clipPath id="fig-efd57231394b459aa56299ac2fae0b57-element-5"> | |
| <path d="M19.91,12.61 L 136.42 12.61 136.42 80.91 19.91 80.91" /> | |
| </clipPath | |
| ></defs> | |
| <script> <![CDATA[ | |
| (function(N){var k=/[\.\/]/,L=/\s*,\s*/,C=function(a,d){return a-d},a,v,y={n:{}},M=function(){for(var a=0,d=this.length;a<d;a++)if("undefined"!=typeof this[a])return this[a]},A=function(){for(var a=this.length;--a;)if("undefined"!=typeof this[a])return this[a]},w=function(k,d){k=String(k);var f=v,n=Array.prototype.slice.call(arguments,2),u=w.listeners(k),p=0,b,q=[],e={},l=[],r=a;l.firstDefined=M;l.lastDefined=A;a=k;for(var s=v=0,x=u.length;s<x;s++)"zIndex"in u[s]&&(q.push(u[s].zIndex),0>u[s].zIndex&& | |
| (e[u[s].zIndex]=u[s]));for(q.sort(C);0>q[p];)if(b=e[q[p++] ],l.push(b.apply(d,n)),v)return v=f,l;for(s=0;s<x;s++)if(b=u[s],"zIndex"in b)if(b.zIndex==q[p]){l.push(b.apply(d,n));if(v)break;do if(p++,(b=e[q[p] ])&&l.push(b.apply(d,n)),v)break;while(b)}else e[b.zIndex]=b;else if(l.push(b.apply(d,n)),v)break;v=f;a=r;return l};w._events=y;w.listeners=function(a){a=a.split(k);var d=y,f,n,u,p,b,q,e,l=[d],r=[];u=0;for(p=a.length;u<p;u++){e=[];b=0;for(q=l.length;b<q;b++)for(d=l[b].n,f=[d[a[u] ],d["*"] ],n=2;n--;)if(d= | |
| f[n])e.push(d),r=r.concat(d.f||[]);l=e}return r};w.on=function(a,d){a=String(a);if("function"!=typeof d)return function(){};for(var f=a.split(L),n=0,u=f.length;n<u;n++)(function(a){a=a.split(k);for(var b=y,f,e=0,l=a.length;e<l;e++)b=b.n,b=b.hasOwnProperty(a[e])&&b[a[e] ]||(b[a[e] ]={n:{}});b.f=b.f||[];e=0;for(l=b.f.length;e<l;e++)if(b.f[e]==d){f=!0;break}!f&&b.f.push(d)})(f[n]);return function(a){+a==+a&&(d.zIndex=+a)}};w.f=function(a){var d=[].slice.call(arguments,1);return function(){w.apply(null, | |
| [a,null].concat(d).concat([].slice.call(arguments,0)))}};w.stop=function(){v=1};w.nt=function(k){return k?(new RegExp("(?:\\.|\\/|^)"+k+"(?:\\.|\\/|$)")).test(a):a};w.nts=function(){return a.split(k)};w.off=w.unbind=function(a,d){if(a){var f=a.split(L);if(1<f.length)for(var n=0,u=f.length;n<u;n++)w.off(f[n],d);else{for(var f=a.split(k),p,b,q,e,l=[y],n=0,u=f.length;n<u;n++)for(e=0;e<l.length;e+=q.length-2){q=[e,1];p=l[e].n;if("*"!=f[n])p[f[n] ]&&q.push(p[f[n] ]);else for(b in p)p.hasOwnProperty(b)&& | |
| q.push(p[b]);l.splice.apply(l,q)}n=0;for(u=l.length;n<u;n++)for(p=l[n];p.n;){if(d){if(p.f){e=0;for(f=p.f.length;e<f;e++)if(p.f[e]==d){p.f.splice(e,1);break}!p.f.length&&delete p.f}for(b in p.n)if(p.n.hasOwnProperty(b)&&p.n[b].f){q=p.n[b].f;e=0;for(f=q.length;e<f;e++)if(q[e]==d){q.splice(e,1);break}!q.length&&delete p.n[b].f}}else for(b in delete p.f,p.n)p.n.hasOwnProperty(b)&&p.n[b].f&&delete p.n[b].f;p=p.n}}}else w._events=y={n:{}}};w.once=function(a,d){var f=function(){w.unbind(a,f);return d.apply(this, | |
| arguments)};return w.on(a,f)};w.version="0.4.2";w.toString=function(){return"You are running Eve 0.4.2"};"undefined"!=typeof module&&module.exports?module.exports=w:"function"===typeof define&&define.amd?define("eve",[],function(){return w}):N.eve=w})(this); | |
| (function(N,k){"function"===typeof define&&define.amd?define("Snap.svg",["eve"],function(L){return k(N,L)}):k(N,N.eve)})(this,function(N,k){var L=function(a){var k={},y=N.requestAnimationFrame||N.webkitRequestAnimationFrame||N.mozRequestAnimationFrame||N.oRequestAnimationFrame||N.msRequestAnimationFrame||function(a){setTimeout(a,16)},M=Array.isArray||function(a){return a instanceof Array||"[object Array]"==Object.prototype.toString.call(a)},A=0,w="M"+(+new Date).toString(36),z=function(a){if(null== | |
| a)return this.s;var b=this.s-a;this.b+=this.dur*b;this.B+=this.dur*b;this.s=a},d=function(a){if(null==a)return this.spd;this.spd=a},f=function(a){if(null==a)return this.dur;this.s=this.s*a/this.dur;this.dur=a},n=function(){delete k[this.id];this.update();a("mina.stop."+this.id,this)},u=function(){this.pdif||(delete k[this.id],this.update(),this.pdif=this.get()-this.b)},p=function(){this.pdif&&(this.b=this.get()-this.pdif,delete this.pdif,k[this.id]=this)},b=function(){var a;if(M(this.start)){a=[]; | |
| for(var b=0,e=this.start.length;b<e;b++)a[b]=+this.start[b]+(this.end[b]-this.start[b])*this.easing(this.s)}else a=+this.start+(this.end-this.start)*this.easing(this.s);this.set(a)},q=function(){var l=0,b;for(b in k)if(k.hasOwnProperty(b)){var e=k[b],f=e.get();l++;e.s=(f-e.b)/(e.dur/e.spd);1<=e.s&&(delete k[b],e.s=1,l--,function(b){setTimeout(function(){a("mina.finish."+b.id,b)})}(e));e.update()}l&&y(q)},e=function(a,r,s,x,G,h,J){a={id:w+(A++).toString(36),start:a,end:r,b:s,s:0,dur:x-s,spd:1,get:G, | |
| set:h,easing:J||e.linear,status:z,speed:d,duration:f,stop:n,pause:u,resume:p,update:b};k[a.id]=a;r=0;for(var K in k)if(k.hasOwnProperty(K)&&(r++,2==r))break;1==r&&y(q);return a};e.time=Date.now||function(){return+new Date};e.getById=function(a){return k[a]||null};e.linear=function(a){return a};e.easeout=function(a){return Math.pow(a,1.7)};e.easein=function(a){return Math.pow(a,0.48)};e.easeinout=function(a){if(1==a)return 1;if(0==a)return 0;var b=0.48-a/1.04,e=Math.sqrt(0.1734+b*b);a=e-b;a=Math.pow(Math.abs(a), | |
| 1/3)*(0>a?-1:1);b=-e-b;b=Math.pow(Math.abs(b),1/3)*(0>b?-1:1);a=a+b+0.5;return 3*(1-a)*a*a+a*a*a};e.backin=function(a){return 1==a?1:a*a*(2.70158*a-1.70158)};e.backout=function(a){if(0==a)return 0;a-=1;return a*a*(2.70158*a+1.70158)+1};e.elastic=function(a){return a==!!a?a:Math.pow(2,-10*a)*Math.sin(2*(a-0.075)*Math.PI/0.3)+1};e.bounce=function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a}; | |
| return N.mina=e}("undefined"==typeof k?function(){}:k),C=function(){function a(c,t){if(c){if(c.tagName)return x(c);if(y(c,"array")&&a.set)return a.set.apply(a,c);if(c instanceof e)return c;if(null==t)return c=G.doc.querySelector(c),x(c)}return new s(null==c?"100%":c,null==t?"100%":t)}function v(c,a){if(a){"#text"==c&&(c=G.doc.createTextNode(a.text||""));"string"==typeof c&&(c=v(c));if("string"==typeof a)return"xlink:"==a.substring(0,6)?c.getAttributeNS(m,a.substring(6)):"xml:"==a.substring(0,4)?c.getAttributeNS(la, | |
| a.substring(4)):c.getAttribute(a);for(var da in a)if(a[h](da)){var b=J(a[da]);b?"xlink:"==da.substring(0,6)?c.setAttributeNS(m,da.substring(6),b):"xml:"==da.substring(0,4)?c.setAttributeNS(la,da.substring(4),b):c.setAttribute(da,b):c.removeAttribute(da)}}else c=G.doc.createElementNS(la,c);return c}function y(c,a){a=J.prototype.toLowerCase.call(a);return"finite"==a?isFinite(c):"array"==a&&(c instanceof Array||Array.isArray&&Array.isArray(c))?!0:"null"==a&&null===c||a==typeof c&&null!==c||"object"== | |
| a&&c===Object(c)||$.call(c).slice(8,-1).toLowerCase()==a}function M(c){if("function"==typeof c||Object(c)!==c)return c;var a=new c.constructor,b;for(b in c)c[h](b)&&(a[b]=M(c[b]));return a}function A(c,a,b){function m(){var e=Array.prototype.slice.call(arguments,0),f=e.join("\u2400"),d=m.cache=m.cache||{},l=m.count=m.count||[];if(d[h](f)){a:for(var e=l,l=f,B=0,H=e.length;B<H;B++)if(e[B]===l){e.push(e.splice(B,1)[0]);break a}return b?b(d[f]):d[f]}1E3<=l.length&&delete d[l.shift()];l.push(f);d[f]=c.apply(a, | |
| e);return b?b(d[f]):d[f]}return m}function w(c,a,b,m,e,f){return null==e?(c-=b,a-=m,c||a?(180*I.atan2(-a,-c)/C+540)%360:0):w(c,a,e,f)-w(b,m,e,f)}function z(c){return c%360*C/180}function d(c){var a=[];c=c.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(c,b,m){m=m.split(/\s*,\s*|\s+/);"rotate"==b&&1==m.length&&m.push(0,0);"scale"==b&&(2<m.length?m=m.slice(0,2):2==m.length&&m.push(0,0),1==m.length&&m.push(m[0],0,0));"skewX"==b?a.push(["m",1,0,I.tan(z(m[0])),1,0,0]):"skewY"==b?a.push(["m",1,I.tan(z(m[0])), | |
| 0,1,0,0]):a.push([b.charAt(0)].concat(m));return c});return a}function f(c,t){var b=O(c),m=new a.Matrix;if(b)for(var e=0,f=b.length;e<f;e++){var h=b[e],d=h.length,B=J(h[0]).toLowerCase(),H=h[0]!=B,l=H?m.invert():0,E;"t"==B&&2==d?m.translate(h[1],0):"t"==B&&3==d?H?(d=l.x(0,0),B=l.y(0,0),H=l.x(h[1],h[2]),l=l.y(h[1],h[2]),m.translate(H-d,l-B)):m.translate(h[1],h[2]):"r"==B?2==d?(E=E||t,m.rotate(h[1],E.x+E.width/2,E.y+E.height/2)):4==d&&(H?(H=l.x(h[2],h[3]),l=l.y(h[2],h[3]),m.rotate(h[1],H,l)):m.rotate(h[1], | |
| h[2],h[3])):"s"==B?2==d||3==d?(E=E||t,m.scale(h[1],h[d-1],E.x+E.width/2,E.y+E.height/2)):4==d?H?(H=l.x(h[2],h[3]),l=l.y(h[2],h[3]),m.scale(h[1],h[1],H,l)):m.scale(h[1],h[1],h[2],h[3]):5==d&&(H?(H=l.x(h[3],h[4]),l=l.y(h[3],h[4]),m.scale(h[1],h[2],H,l)):m.scale(h[1],h[2],h[3],h[4])):"m"==B&&7==d&&m.add(h[1],h[2],h[3],h[4],h[5],h[6])}return m}function n(c,t){if(null==t){var m=!0;t="linearGradient"==c.type||"radialGradient"==c.type?c.node.getAttribute("gradientTransform"):"pattern"==c.type?c.node.getAttribute("patternTransform"): | |
| c.node.getAttribute("transform");if(!t)return new a.Matrix;t=d(t)}else t=a._.rgTransform.test(t)?J(t).replace(/\.{3}|\u2026/g,c._.transform||aa):d(t),y(t,"array")&&(t=a.path?a.path.toString.call(t):J(t)),c._.transform=t;var b=f(t,c.getBBox(1));if(m)return b;c.matrix=b}function u(c){c=c.node.ownerSVGElement&&x(c.node.ownerSVGElement)||c.node.parentNode&&x(c.node.parentNode)||a.select("svg")||a(0,0);var t=c.select("defs"),t=null==t?!1:t.node;t||(t=r("defs",c.node).node);return t}function p(c){return c.node.ownerSVGElement&& | |
| x(c.node.ownerSVGElement)||a.select("svg")}function b(c,a,m){function b(c){if(null==c)return aa;if(c==+c)return c;v(B,{width:c});try{return B.getBBox().width}catch(a){return 0}}function h(c){if(null==c)return aa;if(c==+c)return c;v(B,{height:c});try{return B.getBBox().height}catch(a){return 0}}function e(b,B){null==a?d[b]=B(c.attr(b)||0):b==a&&(d=B(null==m?c.attr(b)||0:m))}var f=p(c).node,d={},B=f.querySelector(".svg---mgr");B||(B=v("rect"),v(B,{x:-9E9,y:-9E9,width:10,height:10,"class":"svg---mgr", | |
| fill:"none"}),f.appendChild(B));switch(c.type){case "rect":e("rx",b),e("ry",h);case "image":e("width",b),e("height",h);case "text":e("x",b);e("y",h);break;case "circle":e("cx",b);e("cy",h);e("r",b);break;case "ellipse":e("cx",b);e("cy",h);e("rx",b);e("ry",h);break;case "line":e("x1",b);e("x2",b);e("y1",h);e("y2",h);break;case "marker":e("refX",b);e("markerWidth",b);e("refY",h);e("markerHeight",h);break;case "radialGradient":e("fx",b);e("fy",h);break;case "tspan":e("dx",b);e("dy",h);break;default:e(a, | |
| b)}f.removeChild(B);return d}function q(c){y(c,"array")||(c=Array.prototype.slice.call(arguments,0));for(var a=0,b=0,m=this.node;this[a];)delete this[a++];for(a=0;a<c.length;a++)"set"==c[a].type?c[a].forEach(function(c){m.appendChild(c.node)}):m.appendChild(c[a].node);for(var h=m.childNodes,a=0;a<h.length;a++)this[b++]=x(h[a]);return this}function e(c){if(c.snap in E)return E[c.snap];var a=this.id=V(),b;try{b=c.ownerSVGElement}catch(m){}this.node=c;b&&(this.paper=new s(b));this.type=c.tagName;this.anims= | |
| {};this._={transform:[]};c.snap=a;E[a]=this;"g"==this.type&&(this.add=q);if(this.type in{g:1,mask:1,pattern:1})for(var e in s.prototype)s.prototype[h](e)&&(this[e]=s.prototype[e])}function l(c){this.node=c}function r(c,a){var b=v(c);a.appendChild(b);return x(b)}function s(c,a){var b,m,f,d=s.prototype;if(c&&"svg"==c.tagName){if(c.snap in E)return E[c.snap];var l=c.ownerDocument;b=new e(c);m=c.getElementsByTagName("desc")[0];f=c.getElementsByTagName("defs")[0];m||(m=v("desc"),m.appendChild(l.createTextNode("Created with Snap")), | |
| b.node.appendChild(m));f||(f=v("defs"),b.node.appendChild(f));b.defs=f;for(var ca in d)d[h](ca)&&(b[ca]=d[ca]);b.paper=b.root=b}else b=r("svg",G.doc.body),v(b.node,{height:a,version:1.1,width:c,xmlns:la});return b}function x(c){return!c||c instanceof e||c instanceof l?c:c.tagName&&"svg"==c.tagName.toLowerCase()?new s(c):c.tagName&&"object"==c.tagName.toLowerCase()&&"image/svg+xml"==c.type?new s(c.contentDocument.getElementsByTagName("svg")[0]):new e(c)}a.version="0.3.0";a.toString=function(){return"Snap v"+ | |
| this.version};a._={};var G={win:N,doc:N.document};a._.glob=G;var h="hasOwnProperty",J=String,K=parseFloat,U=parseInt,I=Math,P=I.max,Q=I.min,Y=I.abs,C=I.PI,aa="",$=Object.prototype.toString,F=/^\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;a._.separator= | |
| RegExp("[,\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]+");var S=RegExp("[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*"),X={hs:1,rg:1},W=RegExp("([a-z])[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)", | |
| "ig"),ma=RegExp("([rstm])[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)","ig"),Z=RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*", | |
| "ig"),na=0,ba="S"+(+new Date).toString(36),V=function(){return ba+(na++).toString(36)},m="http://www.w3.org/1999/xlink",la="http://www.w3.org/2000/svg",E={},ca=a.url=function(c){return"url('#"+c+"')"};a._.$=v;a._.id=V;a.format=function(){var c=/\{([^\}]+)\}/g,a=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,b=function(c,b,m){var h=m;b.replace(a,function(c,a,b,m,t){a=a||m;h&&(a in h&&(h=h[a]),"function"==typeof h&&t&&(h=h()))});return h=(null==h||h==m?c:h)+""};return function(a,m){return J(a).replace(c, | |
| function(c,a){return b(c,a,m)})}}();a._.clone=M;a._.cacher=A;a.rad=z;a.deg=function(c){return 180*c/C%360};a.angle=w;a.is=y;a.snapTo=function(c,a,b){b=y(b,"finite")?b:10;if(y(c,"array"))for(var m=c.length;m--;){if(Y(c[m]-a)<=b)return c[m]}else{c=+c;m=a%c;if(m<b)return a-m;if(m>c-b)return a-m+c}return a};a.getRGB=A(function(c){if(!c||(c=J(c)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka};if("none"==c)return{r:-1,g:-1,b:-1,hex:"none",toString:ka};!X[h](c.toLowerCase().substring(0, | |
| 2))&&"#"!=c.charAt()&&(c=T(c));if(!c)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka};var b,m,e,f,d;if(c=c.match(F)){c[2]&&(e=U(c[2].substring(5),16),m=U(c[2].substring(3,5),16),b=U(c[2].substring(1,3),16));c[3]&&(e=U((d=c[3].charAt(3))+d,16),m=U((d=c[3].charAt(2))+d,16),b=U((d=c[3].charAt(1))+d,16));c[4]&&(d=c[4].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b*=2.55),m=K(d[1]),"%"==d[1].slice(-1)&&(m*=2.55),e=K(d[2]),"%"==d[2].slice(-1)&&(e*=2.55),"rgba"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])), | |
| d[3]&&"%"==d[3].slice(-1)&&(f/=100));if(c[5])return d=c[5].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b/=100),m=K(d[1]),"%"==d[1].slice(-1)&&(m/=100),e=K(d[2]),"%"==d[2].slice(-1)&&(e/=100),"deg"!=d[0].slice(-3)&&"\u00b0"!=d[0].slice(-1)||(b/=360),"hsba"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])),d[3]&&"%"==d[3].slice(-1)&&(f/=100),a.hsb2rgb(b,m,e,f);if(c[6])return d=c[6].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b/=100),m=K(d[1]),"%"==d[1].slice(-1)&&(m/=100),e=K(d[2]),"%"==d[2].slice(-1)&&(e/=100), | |
| "deg"!=d[0].slice(-3)&&"\u00b0"!=d[0].slice(-1)||(b/=360),"hsla"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])),d[3]&&"%"==d[3].slice(-1)&&(f/=100),a.hsl2rgb(b,m,e,f);b=Q(I.round(b),255);m=Q(I.round(m),255);e=Q(I.round(e),255);f=Q(P(f,0),1);c={r:b,g:m,b:e,toString:ka};c.hex="#"+(16777216|e|m<<8|b<<16).toString(16).slice(1);c.opacity=y(f,"finite")?f:1;return c}return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka}},a);a.hsb=A(function(c,b,m){return a.hsb2rgb(c,b,m).hex});a.hsl=A(function(c,b,m){return a.hsl2rgb(c, | |
| b,m).hex});a.rgb=A(function(c,a,b,m){if(y(m,"finite")){var e=I.round;return"rgba("+[e(c),e(a),e(b),+m.toFixed(2)]+")"}return"#"+(16777216|b|a<<8|c<<16).toString(16).slice(1)});var T=function(c){var a=G.doc.getElementsByTagName("head")[0]||G.doc.getElementsByTagName("svg")[0];T=A(function(c){if("red"==c.toLowerCase())return"rgb(255, 0, 0)";a.style.color="rgb(255, 0, 0)";a.style.color=c;c=G.doc.defaultView.getComputedStyle(a,aa).getPropertyValue("color");return"rgb(255, 0, 0)"==c?null:c});return T(c)}, | |
| qa=function(){return"hsb("+[this.h,this.s,this.b]+")"},ra=function(){return"hsl("+[this.h,this.s,this.l]+")"},ka=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},D=function(c,b,m){null==b&&y(c,"object")&&"r"in c&&"g"in c&&"b"in c&&(m=c.b,b=c.g,c=c.r);null==b&&y(c,string)&&(m=a.getRGB(c),c=m.r,b=m.g,m=m.b);if(1<c||1<b||1<m)c/=255,b/=255,m/=255;return[c,b,m]},oa=function(c,b,m,e){c=I.round(255*c);b=I.round(255*b);m=I.round(255*m);c={r:c, | |
| g:b,b:m,opacity:y(e,"finite")?e:1,hex:a.rgb(c,b,m),toString:ka};y(e,"finite")&&(c.opacity=e);return c};a.color=function(c){var b;y(c,"object")&&"h"in c&&"s"in c&&"b"in c?(b=a.hsb2rgb(c),c.r=b.r,c.g=b.g,c.b=b.b,c.opacity=1,c.hex=b.hex):y(c,"object")&&"h"in c&&"s"in c&&"l"in c?(b=a.hsl2rgb(c),c.r=b.r,c.g=b.g,c.b=b.b,c.opacity=1,c.hex=b.hex):(y(c,"string")&&(c=a.getRGB(c)),y(c,"object")&&"r"in c&&"g"in c&&"b"in c&&!("error"in c)?(b=a.rgb2hsl(c),c.h=b.h,c.s=b.s,c.l=b.l,b=a.rgb2hsb(c),c.v=b.b):(c={hex:"none"}, | |
| c.r=c.g=c.b=c.h=c.s=c.v=c.l=-1,c.error=1));c.toString=ka;return c};a.hsb2rgb=function(c,a,b,m){y(c,"object")&&"h"in c&&"s"in c&&"b"in c&&(b=c.b,a=c.s,c=c.h,m=c.o);var e,h,d;c=360*c%360/60;d=b*a;a=d*(1-Y(c%2-1));b=e=h=b-d;c=~~c;b+=[d,a,0,0,a,d][c];e+=[a,d,d,a,0,0][c];h+=[0,0,a,d,d,a][c];return oa(b,e,h,m)};a.hsl2rgb=function(c,a,b,m){y(c,"object")&&"h"in c&&"s"in c&&"l"in c&&(b=c.l,a=c.s,c=c.h);if(1<c||1<a||1<b)c/=360,a/=100,b/=100;var e,h,d;c=360*c%360/60;d=2*a*(0.5>b?b:1-b);a=d*(1-Y(c%2-1));b=e= | |
| h=b-d/2;c=~~c;b+=[d,a,0,0,a,d][c];e+=[a,d,d,a,0,0][c];h+=[0,0,a,d,d,a][c];return oa(b,e,h,m)};a.rgb2hsb=function(c,a,b){b=D(c,a,b);c=b[0];a=b[1];b=b[2];var m,e;m=P(c,a,b);e=m-Q(c,a,b);c=((0==e?0:m==c?(a-b)/e:m==a?(b-c)/e+2:(c-a)/e+4)+360)%6*60/360;return{h:c,s:0==e?0:e/m,b:m,toString:qa}};a.rgb2hsl=function(c,a,b){b=D(c,a,b);c=b[0];a=b[1];b=b[2];var m,e,h;m=P(c,a,b);e=Q(c,a,b);h=m-e;c=((0==h?0:m==c?(a-b)/h:m==a?(b-c)/h+2:(c-a)/h+4)+360)%6*60/360;m=(m+e)/2;return{h:c,s:0==h?0:0.5>m?h/(2*m):h/(2-2* | |
| m),l:m,toString:ra}};a.parsePathString=function(c){if(!c)return null;var b=a.path(c);if(b.arr)return a.path.clone(b.arr);var m={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},e=[];y(c,"array")&&y(c[0],"array")&&(e=a.path.clone(c));e.length||J(c).replace(W,function(c,a,b){var h=[];c=a.toLowerCase();b.replace(Z,function(c,a){a&&h.push(+a)});"m"==c&&2<h.length&&(e.push([a].concat(h.splice(0,2))),c="l",a="m"==a?"l":"L");"o"==c&&1==h.length&&e.push([a,h[0] ]);if("r"==c)e.push([a].concat(h));else for(;h.length>= | |
| m[c]&&(e.push([a].concat(h.splice(0,m[c]))),m[c]););});e.toString=a.path.toString;b.arr=a.path.clone(e);return e};var O=a.parseTransformString=function(c){if(!c)return null;var b=[];y(c,"array")&&y(c[0],"array")&&(b=a.path.clone(c));b.length||J(c).replace(ma,function(c,a,m){var e=[];a.toLowerCase();m.replace(Z,function(c,a){a&&e.push(+a)});b.push([a].concat(e))});b.toString=a.path.toString;return b};a._.svgTransform2string=d;a._.rgTransform=RegExp("^[a-z][\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*-?\\.?\\d", | |
| "i");a._.transform2matrix=f;a._unit2px=b;a._.getSomeDefs=u;a._.getSomeSVG=p;a.select=function(c){return x(G.doc.querySelector(c))};a.selectAll=function(c){c=G.doc.querySelectorAll(c);for(var b=(a.set||Array)(),m=0;m<c.length;m++)b.push(x(c[m]));return b};setInterval(function(){for(var c in E)if(E[h](c)){var a=E[c],b=a.node;("svg"!=a.type&&!b.ownerSVGElement||"svg"==a.type&&(!b.parentNode||"ownerSVGElement"in b.parentNode&&!b.ownerSVGElement))&&delete E[c]}},1E4);(function(c){function m(c){function a(c, | |
| b){var m=v(c.node,b);(m=(m=m&&m.match(d))&&m[2])&&"#"==m.charAt()&&(m=m.substring(1))&&(f[m]=(f[m]||[]).concat(function(a){var m={};m[b]=ca(a);v(c.node,m)}))}function b(c){var a=v(c.node,"xlink:href");a&&"#"==a.charAt()&&(a=a.substring(1))&&(f[a]=(f[a]||[]).concat(function(a){c.attr("xlink:href","#"+a)}))}var e=c.selectAll("*"),h,d=/^\s*url\(("|'|)(.*)\1\)\s*$/;c=[];for(var f={},l=0,E=e.length;l<E;l++){h=e[l];a(h,"fill");a(h,"stroke");a(h,"filter");a(h,"mask");a(h,"clip-path");b(h);var t=v(h.node, | |
| "id");t&&(v(h.node,{id:h.id}),c.push({old:t,id:h.id}))}l=0;for(E=c.length;l<E;l++)if(e=f[c[l].old])for(h=0,t=e.length;h<t;h++)e[h](c[l].id)}function e(c,a,b){return function(m){m=m.slice(c,a);1==m.length&&(m=m[0]);return b?b(m):m}}function d(c){return function(){var a=c?"<"+this.type:"",b=this.node.attributes,m=this.node.childNodes;if(c)for(var e=0,h=b.length;e<h;e++)a+=" "+b[e].name+'="'+b[e].value.replace(/"/g,'\\"')+'"';if(m.length){c&&(a+=">");e=0;for(h=m.length;e<h;e++)3==m[e].nodeType?a+=m[e].nodeValue: | |
| 1==m[e].nodeType&&(a+=x(m[e]).toString());c&&(a+="</"+this.type+">")}else c&&(a+="/>");return a}}c.attr=function(c,a){if(!c)return this;if(y(c,"string"))if(1<arguments.length){var b={};b[c]=a;c=b}else return k("snap.util.getattr."+c,this).firstDefined();for(var m in c)c[h](m)&&k("snap.util.attr."+m,this,c[m]);return this};c.getBBox=function(c){if(!a.Matrix||!a.path)return this.node.getBBox();var b=this,m=new a.Matrix;if(b.removed)return a._.box();for(;"use"==b.type;)if(c||(m=m.add(b.transform().localMatrix.translate(b.attr("x")|| | |
| 0,b.attr("y")||0))),b.original)b=b.original;else var e=b.attr("xlink:href"),b=b.original=b.node.ownerDocument.getElementById(e.substring(e.indexOf("#")+1));var e=b._,h=a.path.get[b.type]||a.path.get.deflt;try{if(c)return e.bboxwt=h?a.path.getBBox(b.realPath=h(b)):a._.box(b.node.getBBox()),a._.box(e.bboxwt);b.realPath=h(b);b.matrix=b.transform().localMatrix;e.bbox=a.path.getBBox(a.path.map(b.realPath,m.add(b.matrix)));return a._.box(e.bbox)}catch(d){return a._.box()}};var f=function(){return this.string}; | |
| c.transform=function(c){var b=this._;if(null==c){var m=this;c=new a.Matrix(this.node.getCTM());for(var e=n(this),h=[e],d=new a.Matrix,l=e.toTransformString(),b=J(e)==J(this.matrix)?J(b.transform):l;"svg"!=m.type&&(m=m.parent());)h.push(n(m));for(m=h.length;m--;)d.add(h[m]);return{string:b,globalMatrix:c,totalMatrix:d,localMatrix:e,diffMatrix:c.clone().add(e.invert()),global:c.toTransformString(),total:d.toTransformString(),local:l,toString:f}}c instanceof a.Matrix?this.matrix=c:n(this,c);this.node&& | |
| ("linearGradient"==this.type||"radialGradient"==this.type?v(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?v(this.node,{patternTransform:this.matrix}):v(this.node,{transform:this.matrix}));return this};c.parent=function(){return x(this.node.parentNode)};c.append=c.add=function(c){if(c){if("set"==c.type){var a=this;c.forEach(function(c){a.add(c)});return this}c=x(c);this.node.appendChild(c.node);c.paper=this.paper}return this};c.appendTo=function(c){c&&(c=x(c),c.append(this));return this}; | |
| c.prepend=function(c){if(c){if("set"==c.type){var a=this,b;c.forEach(function(c){b?b.after(c):a.prepend(c);b=c});return this}c=x(c);var m=c.parent();this.node.insertBefore(c.node,this.node.firstChild);this.add&&this.add();c.paper=this.paper;this.parent()&&this.parent().add();m&&m.add()}return this};c.prependTo=function(c){c=x(c);c.prepend(this);return this};c.before=function(c){if("set"==c.type){var a=this;c.forEach(function(c){var b=c.parent();a.node.parentNode.insertBefore(c.node,a.node);b&&b.add()}); | |
| this.parent().add();return this}c=x(c);var b=c.parent();this.node.parentNode.insertBefore(c.node,this.node);this.parent()&&this.parent().add();b&&b.add();c.paper=this.paper;return this};c.after=function(c){c=x(c);var a=c.parent();this.node.nextSibling?this.node.parentNode.insertBefore(c.node,this.node.nextSibling):this.node.parentNode.appendChild(c.node);this.parent()&&this.parent().add();a&&a.add();c.paper=this.paper;return this};c.insertBefore=function(c){c=x(c);var a=this.parent();c.node.parentNode.insertBefore(this.node, | |
| c.node);this.paper=c.paper;a&&a.add();c.parent()&&c.parent().add();return this};c.insertAfter=function(c){c=x(c);var a=this.parent();c.node.parentNode.insertBefore(this.node,c.node.nextSibling);this.paper=c.paper;a&&a.add();c.parent()&&c.parent().add();return this};c.remove=function(){var c=this.parent();this.node.parentNode&&this.node.parentNode.removeChild(this.node);delete this.paper;this.removed=!0;c&&c.add();return this};c.select=function(c){return x(this.node.querySelector(c))};c.selectAll= | |
| function(c){c=this.node.querySelectorAll(c);for(var b=(a.set||Array)(),m=0;m<c.length;m++)b.push(x(c[m]));return b};c.asPX=function(c,a){null==a&&(a=this.attr(c));return+b(this,c,a)};c.use=function(){var c,a=this.node.id;a||(a=this.id,v(this.node,{id:a}));c="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?r(this.type,this.node.parentNode):r("use",this.node.parentNode);v(c.node,{"xlink:href":"#"+a});c.original=this;return c};var l=/\S+/g;c.addClass=function(c){var a=(c|| | |
| "").match(l)||[];c=this.node;var b=c.className.baseVal,m=b.match(l)||[],e,h,d;if(a.length){for(e=0;d=a[e++];)h=m.indexOf(d),~h||m.push(d);a=m.join(" ");b!=a&&(c.className.baseVal=a)}return this};c.removeClass=function(c){var a=(c||"").match(l)||[];c=this.node;var b=c.className.baseVal,m=b.match(l)||[],e,h;if(m.length){for(e=0;h=a[e++];)h=m.indexOf(h),~h&&m.splice(h,1);a=m.join(" ");b!=a&&(c.className.baseVal=a)}return this};c.hasClass=function(c){return!!~(this.node.className.baseVal.match(l)||[]).indexOf(c)}; | |
| c.toggleClass=function(c,a){if(null!=a)return a?this.addClass(c):this.removeClass(c);var b=(c||"").match(l)||[],m=this.node,e=m.className.baseVal,h=e.match(l)||[],d,f,E;for(d=0;E=b[d++];)f=h.indexOf(E),~f?h.splice(f,1):h.push(E);b=h.join(" ");e!=b&&(m.className.baseVal=b);return this};c.clone=function(){var c=x(this.node.cloneNode(!0));v(c.node,"id")&&v(c.node,{id:c.id});m(c);c.insertAfter(this);return c};c.toDefs=function(){u(this).appendChild(this.node);return this};c.pattern=c.toPattern=function(c, | |
| a,b,m){var e=r("pattern",u(this));null==c&&(c=this.getBBox());y(c,"object")&&"x"in c&&(a=c.y,b=c.width,m=c.height,c=c.x);v(e.node,{x:c,y:a,width:b,height:m,patternUnits:"userSpaceOnUse",id:e.id,viewBox:[c,a,b,m].join(" ")});e.node.appendChild(this.node);return e};c.marker=function(c,a,b,m,e,h){var d=r("marker",u(this));null==c&&(c=this.getBBox());y(c,"object")&&"x"in c&&(a=c.y,b=c.width,m=c.height,e=c.refX||c.cx,h=c.refY||c.cy,c=c.x);v(d.node,{viewBox:[c,a,b,m].join(" "),markerWidth:b,markerHeight:m, | |
| orient:"auto",refX:e||0,refY:h||0,id:d.id});d.node.appendChild(this.node);return d};var E=function(c,a,b,m){"function"!=typeof b||b.length||(m=b,b=L.linear);this.attr=c;this.dur=a;b&&(this.easing=b);m&&(this.callback=m)};a._.Animation=E;a.animation=function(c,a,b,m){return new E(c,a,b,m)};c.inAnim=function(){var c=[],a;for(a in this.anims)this.anims[h](a)&&function(a){c.push({anim:new E(a._attrs,a.dur,a.easing,a._callback),mina:a,curStatus:a.status(),status:function(c){return a.status(c)},stop:function(){a.stop()}})}(this.anims[a]); | |
| return c};a.animate=function(c,a,b,m,e,h){"function"!=typeof e||e.length||(h=e,e=L.linear);var d=L.time();c=L(c,a,d,d+m,L.time,b,e);h&&k.once("mina.finish."+c.id,h);return c};c.stop=function(){for(var c=this.inAnim(),a=0,b=c.length;a<b;a++)c[a].stop();return this};c.animate=function(c,a,b,m){"function"!=typeof b||b.length||(m=b,b=L.linear);c instanceof E&&(m=c.callback,b=c.easing,a=b.dur,c=c.attr);var d=[],f=[],l={},t,ca,n,T=this,q;for(q in c)if(c[h](q)){T.equal?(n=T.equal(q,J(c[q])),t=n.from,ca= | |
| n.to,n=n.f):(t=+T.attr(q),ca=+c[q]);var la=y(t,"array")?t.length:1;l[q]=e(d.length,d.length+la,n);d=d.concat(t);f=f.concat(ca)}t=L.time();var p=L(d,f,t,t+a,L.time,function(c){var a={},b;for(b in l)l[h](b)&&(a[b]=l[b](c));T.attr(a)},b);T.anims[p.id]=p;p._attrs=c;p._callback=m;k("snap.animcreated."+T.id,p);k.once("mina.finish."+p.id,function(){delete T.anims[p.id];m&&m.call(T)});k.once("mina.stop."+p.id,function(){delete T.anims[p.id]});return T};var T={};c.data=function(c,b){var m=T[this.id]=T[this.id]|| | |
| {};if(0==arguments.length)return k("snap.data.get."+this.id,this,m,null),m;if(1==arguments.length){if(a.is(c,"object")){for(var e in c)c[h](e)&&this.data(e,c[e]);return this}k("snap.data.get."+this.id,this,m[c],c);return m[c]}m[c]=b;k("snap.data.set."+this.id,this,b,c);return this};c.removeData=function(c){null==c?T[this.id]={}:T[this.id]&&delete T[this.id][c];return this};c.outerSVG=c.toString=d(1);c.innerSVG=d()})(e.prototype);a.parse=function(c){var a=G.doc.createDocumentFragment(),b=!0,m=G.doc.createElement("div"); | |
| c=J(c);c.match(/^\s*<\s*svg(?:\s|>)/)||(c="<svg>"+c+"</svg>",b=!1);m.innerHTML=c;if(c=m.getElementsByTagName("svg")[0])if(b)a=c;else for(;c.firstChild;)a.appendChild(c.firstChild);m.innerHTML=aa;return new l(a)};l.prototype.select=e.prototype.select;l.prototype.selectAll=e.prototype.selectAll;a.fragment=function(){for(var c=Array.prototype.slice.call(arguments,0),b=G.doc.createDocumentFragment(),m=0,e=c.length;m<e;m++){var h=c[m];h.node&&h.node.nodeType&&b.appendChild(h.node);h.nodeType&&b.appendChild(h); | |
| "string"==typeof h&&b.appendChild(a.parse(h).node)}return new l(b)};a._.make=r;a._.wrap=x;s.prototype.el=function(c,a){var b=r(c,this.node);a&&b.attr(a);return b};k.on("snap.util.getattr",function(){var c=k.nt(),c=c.substring(c.lastIndexOf(".")+1),a=c.replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});return pa[h](a)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(a):v(this.node,c)});var pa={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0, | |
| "clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0, | |
| "lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};k.on("snap.util.attr",function(c){var a=k.nt(),b={},a=a.substring(a.lastIndexOf(".")+ | |
| 1);b[a]=c;var m=a.replace(/-(\w)/gi,function(c,a){return a.toUpperCase()}),a=a.replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});pa[h](a)?this.node.style[m]=null==c?aa:c:v(this.node,b)});a.ajax=function(c,a,b,m){var e=new XMLHttpRequest,h=V();if(e){if(y(a,"function"))m=b,b=a,a=null;else if(y(a,"object")){var d=[],f;for(f in a)a.hasOwnProperty(f)&&d.push(encodeURIComponent(f)+"="+encodeURIComponent(a[f]));a=d.join("&")}e.open(a?"POST":"GET",c,!0);a&&(e.setRequestHeader("X-Requested-With","XMLHttpRequest"), | |
| e.setRequestHeader("Content-type","application/x-www-form-urlencoded"));b&&(k.once("snap.ajax."+h+".0",b),k.once("snap.ajax."+h+".200",b),k.once("snap.ajax."+h+".304",b));e.onreadystatechange=function(){4==e.readyState&&k("snap.ajax."+h+"."+e.status,m,e)};if(4==e.readyState)return e;e.send(a);return e}};a.load=function(c,b,m){a.ajax(c,function(c){c=a.parse(c.responseText);m?b.call(m,c):b(c)})};a.getElementByPoint=function(c,a){var b,m,e=G.doc.elementFromPoint(c,a);if(G.win.opera&&"svg"==e.tagName){b= | |
| e;m=b.getBoundingClientRect();b=b.ownerDocument;var h=b.body,d=b.documentElement;b=m.top+(g.win.pageYOffset||d.scrollTop||h.scrollTop)-(d.clientTop||h.clientTop||0);m=m.left+(g.win.pageXOffset||d.scrollLeft||h.scrollLeft)-(d.clientLeft||h.clientLeft||0);h=e.createSVGRect();h.x=c-m;h.y=a-b;h.width=h.height=1;b=e.getIntersectionList(h,null);b.length&&(e=b[b.length-1])}return e?x(e):null};a.plugin=function(c){c(a,e,s,G,l)};return G.win.Snap=a}();C.plugin(function(a,k,y,M,A){function w(a,d,f,b,q,e){null== | |
| d&&"[object SVGMatrix]"==z.call(a)?(this.a=a.a,this.b=a.b,this.c=a.c,this.d=a.d,this.e=a.e,this.f=a.f):null!=a?(this.a=+a,this.b=+d,this.c=+f,this.d=+b,this.e=+q,this.f=+e):(this.a=1,this.c=this.b=0,this.d=1,this.f=this.e=0)}var z=Object.prototype.toString,d=String,f=Math;(function(n){function k(a){return a[0]*a[0]+a[1]*a[1]}function p(a){var d=f.sqrt(k(a));a[0]&&(a[0]/=d);a[1]&&(a[1]/=d)}n.add=function(a,d,e,f,n,p){var k=[[],[],[] ],u=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1] ];d=[[a, | |
| e,n],[d,f,p],[0,0,1] ];a&&a instanceof w&&(d=[[a.a,a.c,a.e],[a.b,a.d,a.f],[0,0,1] ]);for(a=0;3>a;a++)for(e=0;3>e;e++){for(f=n=0;3>f;f++)n+=u[a][f]*d[f][e];k[a][e]=n}this.a=k[0][0];this.b=k[1][0];this.c=k[0][1];this.d=k[1][1];this.e=k[0][2];this.f=k[1][2];return this};n.invert=function(){var a=this.a*this.d-this.b*this.c;return new w(this.d/a,-this.b/a,-this.c/a,this.a/a,(this.c*this.f-this.d*this.e)/a,(this.b*this.e-this.a*this.f)/a)};n.clone=function(){return new w(this.a,this.b,this.c,this.d,this.e, | |
| this.f)};n.translate=function(a,d){return this.add(1,0,0,1,a,d)};n.scale=function(a,d,e,f){null==d&&(d=a);(e||f)&&this.add(1,0,0,1,e,f);this.add(a,0,0,d,0,0);(e||f)&&this.add(1,0,0,1,-e,-f);return this};n.rotate=function(b,d,e){b=a.rad(b);d=d||0;e=e||0;var l=+f.cos(b).toFixed(9);b=+f.sin(b).toFixed(9);this.add(l,b,-b,l,d,e);return this.add(1,0,0,1,-d,-e)};n.x=function(a,d){return a*this.a+d*this.c+this.e};n.y=function(a,d){return a*this.b+d*this.d+this.f};n.get=function(a){return+this[d.fromCharCode(97+ | |
| a)].toFixed(4)};n.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"};n.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]};n.determinant=function(){return this.a*this.d-this.b*this.c};n.split=function(){var b={};b.dx=this.e;b.dy=this.f;var d=[[this.a,this.c],[this.b,this.d] ];b.scalex=f.sqrt(k(d[0]));p(d[0]);b.shear=d[0][0]*d[1][0]+d[0][1]*d[1][1];d[1]=[d[1][0]-d[0][0]*b.shear,d[1][1]-d[0][1]*b.shear];b.scaley=f.sqrt(k(d[1])); | |
| p(d[1]);b.shear/=b.scaley;0>this.determinant()&&(b.scalex=-b.scalex);var e=-d[0][1],d=d[1][1];0>d?(b.rotate=a.deg(f.acos(d)),0>e&&(b.rotate=360-b.rotate)):b.rotate=a.deg(f.asin(e));b.isSimple=!+b.shear.toFixed(9)&&(b.scalex.toFixed(9)==b.scaley.toFixed(9)||!b.rotate);b.isSuperSimple=!+b.shear.toFixed(9)&&b.scalex.toFixed(9)==b.scaley.toFixed(9)&&!b.rotate;b.noRotation=!+b.shear.toFixed(9)&&!b.rotate;return b};n.toTransformString=function(a){a=a||this.split();if(+a.shear.toFixed(9))return"m"+[this.get(0), | |
| this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)];a.scalex=+a.scalex.toFixed(4);a.scaley=+a.scaley.toFixed(4);a.rotate=+a.rotate.toFixed(4);return(a.dx||a.dy?"t"+[+a.dx.toFixed(4),+a.dy.toFixed(4)]:"")+(1!=a.scalex||1!=a.scaley?"s"+[a.scalex,a.scaley,0,0]:"")+(a.rotate?"r"+[+a.rotate.toFixed(4),0,0]:"")}})(w.prototype);a.Matrix=w;a.matrix=function(a,d,f,b,k,e){return new w(a,d,f,b,k,e)}});C.plugin(function(a,v,y,M,A){function w(h){return function(d){k.stop();d instanceof A&&1==d.node.childNodes.length&& | |
| ("radialGradient"==d.node.firstChild.tagName||"linearGradient"==d.node.firstChild.tagName||"pattern"==d.node.firstChild.tagName)&&(d=d.node.firstChild,b(this).appendChild(d),d=u(d));if(d instanceof v)if("radialGradient"==d.type||"linearGradient"==d.type||"pattern"==d.type){d.node.id||e(d.node,{id:d.id});var f=l(d.node.id)}else f=d.attr(h);else f=a.color(d),f.error?(f=a(b(this).ownerSVGElement).gradient(d))?(f.node.id||e(f.node,{id:f.id}),f=l(f.node.id)):f=d:f=r(f);d={};d[h]=f;e(this.node,d);this.node.style[h]= | |
| x}}function z(a){k.stop();a==+a&&(a+="px");this.node.style.fontSize=a}function d(a){var b=[];a=a.childNodes;for(var e=0,f=a.length;e<f;e++){var l=a[e];3==l.nodeType&&b.push(l.nodeValue);"tspan"==l.tagName&&(1==l.childNodes.length&&3==l.firstChild.nodeType?b.push(l.firstChild.nodeValue):b.push(d(l)))}return b}function f(){k.stop();return this.node.style.fontSize}var n=a._.make,u=a._.wrap,p=a.is,b=a._.getSomeDefs,q=/^url\(#?([^)]+)\)$/,e=a._.$,l=a.url,r=String,s=a._.separator,x="";k.on("snap.util.attr.mask", | |
| function(a){if(a instanceof v||a instanceof A){k.stop();a instanceof A&&1==a.node.childNodes.length&&(a=a.node.firstChild,b(this).appendChild(a),a=u(a));if("mask"==a.type)var d=a;else d=n("mask",b(this)),d.node.appendChild(a.node);!d.node.id&&e(d.node,{id:d.id});e(this.node,{mask:l(d.id)})}});(function(a){k.on("snap.util.attr.clip",a);k.on("snap.util.attr.clip-path",a);k.on("snap.util.attr.clipPath",a)})(function(a){if(a instanceof v||a instanceof A){k.stop();if("clipPath"==a.type)var d=a;else d= | |
| n("clipPath",b(this)),d.node.appendChild(a.node),!d.node.id&&e(d.node,{id:d.id});e(this.node,{"clip-path":l(d.id)})}});k.on("snap.util.attr.fill",w("fill"));k.on("snap.util.attr.stroke",w("stroke"));var G=/^([lr])(?:\(([^)]*)\))?(.*)$/i;k.on("snap.util.grad.parse",function(a){a=r(a);var b=a.match(G);if(!b)return null;a=b[1];var e=b[2],b=b[3],e=e.split(/\s*,\s*/).map(function(a){return+a==a?+a:a});1==e.length&&0==e[0]&&(e=[]);b=b.split("-");b=b.map(function(a){a=a.split(":");var b={color:a[0]};a[1]&& | |
| (b.offset=parseFloat(a[1]));return b});return{type:a,params:e,stops:b}});k.on("snap.util.attr.d",function(b){k.stop();p(b,"array")&&p(b[0],"array")&&(b=a.path.toString.call(b));b=r(b);b.match(/[ruo]/i)&&(b=a.path.toAbsolute(b));e(this.node,{d:b})})(-1);k.on("snap.util.attr.#text",function(a){k.stop();a=r(a);for(a=M.doc.createTextNode(a);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(a)})(-1);k.on("snap.util.attr.path",function(a){k.stop();this.attr({d:a})})(-1); | |
| k.on("snap.util.attr.class",function(a){k.stop();this.node.className.baseVal=a})(-1);k.on("snap.util.attr.viewBox",function(a){a=p(a,"object")&&"x"in a?[a.x,a.y,a.width,a.height].join(" "):p(a,"array")?a.join(" "):a;e(this.node,{viewBox:a});k.stop()})(-1);k.on("snap.util.attr.transform",function(a){this.transform(a);k.stop()})(-1);k.on("snap.util.attr.r",function(a){"rect"==this.type&&(k.stop(),e(this.node,{rx:a,ry:a}))})(-1);k.on("snap.util.attr.textpath",function(a){k.stop();if("text"==this.type){var d, | |
| f;if(!a&&this.textPath){for(a=this.textPath;a.node.firstChild;)this.node.appendChild(a.node.firstChild);a.remove();delete this.textPath}else if(p(a,"string")?(d=b(this),a=u(d.parentNode).path(a),d.appendChild(a.node),d=a.id,a.attr({id:d})):(a=u(a),a instanceof v&&(d=a.attr("id"),d||(d=a.id,a.attr({id:d})))),d)if(a=this.textPath,f=this.node,a)a.attr({"xlink:href":"#"+d});else{for(a=e("textPath",{"xlink:href":"#"+d});f.firstChild;)a.appendChild(f.firstChild);f.appendChild(a);this.textPath=u(a)}}})(-1); | |
| k.on("snap.util.attr.text",function(a){if("text"==this.type){for(var b=this.node,d=function(a){var b=e("tspan");if(p(a,"array"))for(var f=0;f<a.length;f++)b.appendChild(d(a[f]));else b.appendChild(M.doc.createTextNode(a));b.normalize&&b.normalize();return b};b.firstChild;)b.removeChild(b.firstChild);for(a=d(a);a.firstChild;)b.appendChild(a.firstChild)}k.stop()})(-1);k.on("snap.util.attr.fontSize",z)(-1);k.on("snap.util.attr.font-size",z)(-1);k.on("snap.util.getattr.transform",function(){k.stop(); | |
| return this.transform()})(-1);k.on("snap.util.getattr.textpath",function(){k.stop();return this.textPath})(-1);(function(){function b(d){return function(){k.stop();var b=M.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+d);return"none"==b?b:a(M.doc.getElementById(b.match(q)[1]))}}function d(a){return function(b){k.stop();var d="marker"+a.charAt(0).toUpperCase()+a.substring(1);if(""==b||!b)this.node.style[d]="none";else if("marker"==b.type){var f=b.node.id;f||e(b.node,{id:b.id}); | |
| this.node.style[d]=l(f)}}}k.on("snap.util.getattr.marker-end",b("end"))(-1);k.on("snap.util.getattr.markerEnd",b("end"))(-1);k.on("snap.util.getattr.marker-start",b("start"))(-1);k.on("snap.util.getattr.markerStart",b("start"))(-1);k.on("snap.util.getattr.marker-mid",b("mid"))(-1);k.on("snap.util.getattr.markerMid",b("mid"))(-1);k.on("snap.util.attr.marker-end",d("end"))(-1);k.on("snap.util.attr.markerEnd",d("end"))(-1);k.on("snap.util.attr.marker-start",d("start"))(-1);k.on("snap.util.attr.markerStart", | |
| d("start"))(-1);k.on("snap.util.attr.marker-mid",d("mid"))(-1);k.on("snap.util.attr.markerMid",d("mid"))(-1)})();k.on("snap.util.getattr.r",function(){if("rect"==this.type&&e(this.node,"rx")==e(this.node,"ry"))return k.stop(),e(this.node,"rx")})(-1);k.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){k.stop();var a=d(this.node);return 1==a.length?a[0]:a}})(-1);k.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1);k.on("snap.util.getattr.viewBox", | |
| function(){k.stop();var b=e(this.node,"viewBox");if(b)return b=b.split(s),a._.box(+b[0],+b[1],+b[2],+b[3])})(-1);k.on("snap.util.getattr.points",function(){var a=e(this.node,"points");k.stop();if(a)return a.split(s)})(-1);k.on("snap.util.getattr.path",function(){var a=e(this.node,"d");k.stop();return a})(-1);k.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1);k.on("snap.util.getattr.fontSize",f)(-1);k.on("snap.util.getattr.font-size",f)(-1)});C.plugin(function(a,v,y, | |
| M,A){function w(a){return a}function z(a){return function(b){return+b.toFixed(3)+a}}var d={"+":function(a,b){return a+b},"-":function(a,b){return a-b},"/":function(a,b){return a/b},"*":function(a,b){return a*b}},f=String,n=/[a-z]+$/i,u=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;k.on("snap.util.attr",function(a){if(a=f(a).match(u)){var b=k.nt(),b=b.substring(b.lastIndexOf(".")+1),q=this.attr(b),e={};k.stop();var l=a[3]||"",r=q.match(n),s=d[a[1] ];r&&r==l?a=s(parseFloat(q),+a[2]):(q=this.asPX(b), | |
| a=s(this.asPX(b),this.asPX(b,a[2]+l)));isNaN(q)||isNaN(a)||(e[b]=a,this.attr(e))}})(-10);k.on("snap.util.equal",function(a,b){var q=f(this.attr(a)||""),e=f(b).match(u);if(e){k.stop();var l=e[3]||"",r=q.match(n),s=d[e[1] ];if(r&&r==l)return{from:parseFloat(q),to:s(parseFloat(q),+e[2]),f:z(r)};q=this.asPX(a);return{from:q,to:s(q,this.asPX(a,e[2]+l)),f:w}}})(-10)});C.plugin(function(a,v,y,M,A){var w=y.prototype,z=a.is;w.rect=function(a,d,k,p,b,q){var e;null==q&&(q=b);z(a,"object")&&"[object Object]"== | |
| a?e=a:null!=a&&(e={x:a,y:d,width:k,height:p},null!=b&&(e.rx=b,e.ry=q));return this.el("rect",e)};w.circle=function(a,d,k){var p;z(a,"object")&&"[object Object]"==a?p=a:null!=a&&(p={cx:a,cy:d,r:k});return this.el("circle",p)};var d=function(){function a(){this.parentNode.removeChild(this)}return function(d,k){var p=M.doc.createElement("img"),b=M.doc.body;p.style.cssText="position:absolute;left:-9999em;top:-9999em";p.onload=function(){k.call(p);p.onload=p.onerror=null;b.removeChild(p)};p.onerror=a; | |
| b.appendChild(p);p.src=d}}();w.image=function(f,n,k,p,b){var q=this.el("image");if(z(f,"object")&&"src"in f)q.attr(f);else if(null!=f){var e={"xlink:href":f,preserveAspectRatio:"none"};null!=n&&null!=k&&(e.x=n,e.y=k);null!=p&&null!=b?(e.width=p,e.height=b):d(f,function(){a._.$(q.node,{width:this.offsetWidth,height:this.offsetHeight})});a._.$(q.node,e)}return q};w.ellipse=function(a,d,k,p){var b;z(a,"object")&&"[object Object]"==a?b=a:null!=a&&(b={cx:a,cy:d,rx:k,ry:p});return this.el("ellipse",b)}; | |
| w.path=function(a){var d;z(a,"object")&&!z(a,"array")?d=a:a&&(d={d:a});return this.el("path",d)};w.group=w.g=function(a){var d=this.el("g");1==arguments.length&&a&&!a.type?d.attr(a):arguments.length&&d.add(Array.prototype.slice.call(arguments,0));return d};w.svg=function(a,d,k,p,b,q,e,l){var r={};z(a,"object")&&null==d?r=a:(null!=a&&(r.x=a),null!=d&&(r.y=d),null!=k&&(r.width=k),null!=p&&(r.height=p),null!=b&&null!=q&&null!=e&&null!=l&&(r.viewBox=[b,q,e,l]));return this.el("svg",r)};w.mask=function(a){var d= | |
| this.el("mask");1==arguments.length&&a&&!a.type?d.attr(a):arguments.length&&d.add(Array.prototype.slice.call(arguments,0));return d};w.ptrn=function(a,d,k,p,b,q,e,l){if(z(a,"object"))var r=a;else arguments.length?(r={},null!=a&&(r.x=a),null!=d&&(r.y=d),null!=k&&(r.width=k),null!=p&&(r.height=p),null!=b&&null!=q&&null!=e&&null!=l&&(r.viewBox=[b,q,e,l])):r={patternUnits:"userSpaceOnUse"};return this.el("pattern",r)};w.use=function(a){return null!=a?(make("use",this.node),a instanceof v&&(a.attr("id")|| | |
| a.attr({id:ID()}),a=a.attr("id")),this.el("use",{"xlink:href":a})):v.prototype.use.call(this)};w.text=function(a,d,k){var p={};z(a,"object")?p=a:null!=a&&(p={x:a,y:d,text:k||""});return this.el("text",p)};w.line=function(a,d,k,p){var b={};z(a,"object")?b=a:null!=a&&(b={x1:a,x2:k,y1:d,y2:p});return this.el("line",b)};w.polyline=function(a){1<arguments.length&&(a=Array.prototype.slice.call(arguments,0));var d={};z(a,"object")&&!z(a,"array")?d=a:null!=a&&(d={points:a});return this.el("polyline",d)}; | |
| w.polygon=function(a){1<arguments.length&&(a=Array.prototype.slice.call(arguments,0));var d={};z(a,"object")&&!z(a,"array")?d=a:null!=a&&(d={points:a});return this.el("polygon",d)};(function(){function d(){return this.selectAll("stop")}function n(b,d){var f=e("stop"),k={offset:+d+"%"};b=a.color(b);k["stop-color"]=b.hex;1>b.opacity&&(k["stop-opacity"]=b.opacity);e(f,k);this.node.appendChild(f);return this}function u(){if("linearGradient"==this.type){var b=e(this.node,"x1")||0,d=e(this.node,"x2")|| | |
| 1,f=e(this.node,"y1")||0,k=e(this.node,"y2")||0;return a._.box(b,f,math.abs(d-b),math.abs(k-f))}b=this.node.r||0;return a._.box((this.node.cx||0.5)-b,(this.node.cy||0.5)-b,2*b,2*b)}function p(a,d){function f(a,b){for(var d=(b-u)/(a-w),e=w;e<a;e++)h[e].offset=+(+u+d*(e-w)).toFixed(2);w=a;u=b}var n=k("snap.util.grad.parse",null,d).firstDefined(),p;if(!n)return null;n.params.unshift(a);p="l"==n.type.toLowerCase()?b.apply(0,n.params):q.apply(0,n.params);n.type!=n.type.toLowerCase()&&e(p.node,{gradientUnits:"userSpaceOnUse"}); | |
| var h=n.stops,n=h.length,u=0,w=0;n--;for(var v=0;v<n;v++)"offset"in h[v]&&f(v,h[v].offset);h[n].offset=h[n].offset||100;f(n,h[n].offset);for(v=0;v<=n;v++){var y=h[v];p.addStop(y.color,y.offset)}return p}function b(b,k,p,q,w){b=a._.make("linearGradient",b);b.stops=d;b.addStop=n;b.getBBox=u;null!=k&&e(b.node,{x1:k,y1:p,x2:q,y2:w});return b}function q(b,k,p,q,w,h){b=a._.make("radialGradient",b);b.stops=d;b.addStop=n;b.getBBox=u;null!=k&&e(b.node,{cx:k,cy:p,r:q});null!=w&&null!=h&&e(b.node,{fx:w,fy:h}); | |
| return b}var e=a._.$;w.gradient=function(a){return p(this.defs,a)};w.gradientLinear=function(a,d,e,f){return b(this.defs,a,d,e,f)};w.gradientRadial=function(a,b,d,e,f){return q(this.defs,a,b,d,e,f)};w.toString=function(){var b=this.node.ownerDocument,d=b.createDocumentFragment(),b=b.createElement("div"),e=this.node.cloneNode(!0);d.appendChild(b);b.appendChild(e);a._.$(e,{xmlns:"http://www.w3.org/2000/svg"});b=b.innerHTML;d.removeChild(d.firstChild);return b};w.clear=function(){for(var a=this.node.firstChild, | |
| b;a;)b=a.nextSibling,"defs"!=a.tagName?a.parentNode.removeChild(a):w.clear.call({node:a}),a=b}})()});C.plugin(function(a,k,y,M){function A(a){var b=A.ps=A.ps||{};b[a]?b[a].sleep=100:b[a]={sleep:100};setTimeout(function(){for(var d in b)b[L](d)&&d!=a&&(b[d].sleep--,!b[d].sleep&&delete b[d])});return b[a]}function w(a,b,d,e){null==a&&(a=b=d=e=0);null==b&&(b=a.y,d=a.width,e=a.height,a=a.x);return{x:a,y:b,width:d,w:d,height:e,h:e,x2:a+d,y2:b+e,cx:a+d/2,cy:b+e/2,r1:F.min(d,e)/2,r2:F.max(d,e)/2,r0:F.sqrt(d* | |
| d+e*e)/2,path:s(a,b,d,e),vb:[a,b,d,e].join(" ")}}function z(){return this.join(",").replace(N,"$1")}function d(a){a=C(a);a.toString=z;return a}function f(a,b,d,h,f,k,l,n,p){if(null==p)return e(a,b,d,h,f,k,l,n);if(0>p||e(a,b,d,h,f,k,l,n)<p)p=void 0;else{var q=0.5,O=1-q,s;for(s=e(a,b,d,h,f,k,l,n,O);0.01<Z(s-p);)q/=2,O+=(s<p?1:-1)*q,s=e(a,b,d,h,f,k,l,n,O);p=O}return u(a,b,d,h,f,k,l,n,p)}function n(b,d){function e(a){return+(+a).toFixed(3)}return a._.cacher(function(a,h,l){a instanceof k&&(a=a.attr("d")); | |
| a=I(a);for(var n,p,D,q,O="",s={},c=0,t=0,r=a.length;t<r;t++){D=a[t];if("M"==D[0])n=+D[1],p=+D[2];else{q=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6]);if(c+q>h){if(d&&!s.start){n=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6],h-c);O+=["C"+e(n.start.x),e(n.start.y),e(n.m.x),e(n.m.y),e(n.x),e(n.y)];if(l)return O;s.start=O;O=["M"+e(n.x),e(n.y)+"C"+e(n.n.x),e(n.n.y),e(n.end.x),e(n.end.y),e(D[5]),e(D[6])].join();c+=q;n=+D[5];p=+D[6];continue}if(!b&&!d)return n=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6],h-c)}c+=q;n=+D[5];p=+D[6]}O+= | |
| D.shift()+D}s.end=O;return n=b?c:d?s:u(n,p,D[0],D[1],D[2],D[3],D[4],D[5],1)},null,a._.clone)}function u(a,b,d,e,h,f,k,l,n){var p=1-n,q=ma(p,3),s=ma(p,2),c=n*n,t=c*n,r=q*a+3*s*n*d+3*p*n*n*h+t*k,q=q*b+3*s*n*e+3*p*n*n*f+t*l,s=a+2*n*(d-a)+c*(h-2*d+a),t=b+2*n*(e-b)+c*(f-2*e+b),x=d+2*n*(h-d)+c*(k-2*h+d),c=e+2*n*(f-e)+c*(l-2*f+e);a=p*a+n*d;b=p*b+n*e;h=p*h+n*k;f=p*f+n*l;l=90-180*F.atan2(s-x,t-c)/S;return{x:r,y:q,m:{x:s,y:t},n:{x:x,y:c},start:{x:a,y:b},end:{x:h,y:f},alpha:l}}function p(b,d,e,h,f,n,k,l){a.is(b, | |
| "array")||(b=[b,d,e,h,f,n,k,l]);b=U.apply(null,b);return w(b.min.x,b.min.y,b.max.x-b.min.x,b.max.y-b.min.y)}function b(a,b,d){return b>=a.x&&b<=a.x+a.width&&d>=a.y&&d<=a.y+a.height}function q(a,d){a=w(a);d=w(d);return b(d,a.x,a.y)||b(d,a.x2,a.y)||b(d,a.x,a.y2)||b(d,a.x2,a.y2)||b(a,d.x,d.y)||b(a,d.x2,d.y)||b(a,d.x,d.y2)||b(a,d.x2,d.y2)||(a.x<d.x2&&a.x>d.x||d.x<a.x2&&d.x>a.x)&&(a.y<d.y2&&a.y>d.y||d.y<a.y2&&d.y>a.y)}function e(a,b,d,e,h,f,n,k,l){null==l&&(l=1);l=(1<l?1:0>l?0:l)/2;for(var p=[-0.1252, | |
| 0.1252,-0.3678,0.3678,-0.5873,0.5873,-0.7699,0.7699,-0.9041,0.9041,-0.9816,0.9816],q=[0.2491,0.2491,0.2335,0.2335,0.2032,0.2032,0.1601,0.1601,0.1069,0.1069,0.0472,0.0472],s=0,c=0;12>c;c++)var t=l*p[c]+l,r=t*(t*(-3*a+9*d-9*h+3*n)+6*a-12*d+6*h)-3*a+3*d,t=t*(t*(-3*b+9*e-9*f+3*k)+6*b-12*e+6*f)-3*b+3*e,s=s+q[c]*F.sqrt(r*r+t*t);return l*s}function l(a,b,d){a=I(a);b=I(b);for(var h,f,l,n,k,s,r,O,x,c,t=d?0:[],w=0,v=a.length;w<v;w++)if(x=a[w],"M"==x[0])h=k=x[1],f=s=x[2];else{"C"==x[0]?(x=[h,f].concat(x.slice(1)), | |
| h=x[6],f=x[7]):(x=[h,f,h,f,k,s,k,s],h=k,f=s);for(var G=0,y=b.length;G<y;G++)if(c=b[G],"M"==c[0])l=r=c[1],n=O=c[2];else{"C"==c[0]?(c=[l,n].concat(c.slice(1)),l=c[6],n=c[7]):(c=[l,n,l,n,r,O,r,O],l=r,n=O);var z;var K=x,B=c;z=d;var H=p(K),J=p(B);if(q(H,J)){for(var H=e.apply(0,K),J=e.apply(0,B),H=~~(H/8),J=~~(J/8),U=[],A=[],F={},M=z?0:[],P=0;P<H+1;P++){var C=u.apply(0,K.concat(P/H));U.push({x:C.x,y:C.y,t:P/H})}for(P=0;P<J+1;P++)C=u.apply(0,B.concat(P/J)),A.push({x:C.x,y:C.y,t:P/J});for(P=0;P<H;P++)for(K= | |
| 0;K<J;K++){var Q=U[P],L=U[P+1],B=A[K],C=A[K+1],N=0.001>Z(L.x-Q.x)?"y":"x",S=0.001>Z(C.x-B.x)?"y":"x",R;R=Q.x;var Y=Q.y,V=L.x,ea=L.y,fa=B.x,ga=B.y,ha=C.x,ia=C.y;if(W(R,V)<X(fa,ha)||X(R,V)>W(fa,ha)||W(Y,ea)<X(ga,ia)||X(Y,ea)>W(ga,ia))R=void 0;else{var $=(R*ea-Y*V)*(fa-ha)-(R-V)*(fa*ia-ga*ha),aa=(R*ea-Y*V)*(ga-ia)-(Y-ea)*(fa*ia-ga*ha),ja=(R-V)*(ga-ia)-(Y-ea)*(fa-ha);if(ja){var $=$/ja,aa=aa/ja,ja=+$.toFixed(2),ba=+aa.toFixed(2);R=ja<+X(R,V).toFixed(2)||ja>+W(R,V).toFixed(2)||ja<+X(fa,ha).toFixed(2)|| | |
| ja>+W(fa,ha).toFixed(2)||ba<+X(Y,ea).toFixed(2)||ba>+W(Y,ea).toFixed(2)||ba<+X(ga,ia).toFixed(2)||ba>+W(ga,ia).toFixed(2)?void 0:{x:$,y:aa}}else R=void 0}R&&F[R.x.toFixed(4)]!=R.y.toFixed(4)&&(F[R.x.toFixed(4)]=R.y.toFixed(4),Q=Q.t+Z((R[N]-Q[N])/(L[N]-Q[N]))*(L.t-Q.t),B=B.t+Z((R[S]-B[S])/(C[S]-B[S]))*(C.t-B.t),0<=Q&&1>=Q&&0<=B&&1>=B&&(z?M++:M.push({x:R.x,y:R.y,t1:Q,t2:B})))}z=M}else z=z?0:[];if(d)t+=z;else{H=0;for(J=z.length;H<J;H++)z[H].segment1=w,z[H].segment2=G,z[H].bez1=x,z[H].bez2=c;t=t.concat(z)}}}return t} | |
| function r(a){var b=A(a);if(b.bbox)return C(b.bbox);if(!a)return w();a=I(a);for(var d=0,e=0,h=[],f=[],l,n=0,k=a.length;n<k;n++)l=a[n],"M"==l[0]?(d=l[1],e=l[2],h.push(d),f.push(e)):(d=U(d,e,l[1],l[2],l[3],l[4],l[5],l[6]),h=h.concat(d.min.x,d.max.x),f=f.concat(d.min.y,d.max.y),d=l[5],e=l[6]);a=X.apply(0,h);l=X.apply(0,f);h=W.apply(0,h);f=W.apply(0,f);f=w(a,l,h-a,f-l);b.bbox=C(f);return f}function s(a,b,d,e,h){if(h)return[["M",+a+ +h,b],["l",d-2*h,0],["a",h,h,0,0,1,h,h],["l",0,e-2*h],["a",h,h,0,0,1, | |
| -h,h],["l",2*h-d,0],["a",h,h,0,0,1,-h,-h],["l",0,2*h-e],["a",h,h,0,0,1,h,-h],["z"] ];a=[["M",a,b],["l",d,0],["l",0,e],["l",-d,0],["z"] ];a.toString=z;return a}function x(a,b,d,e,h){null==h&&null==e&&(e=d);a=+a;b=+b;d=+d;e=+e;if(null!=h){var f=Math.PI/180,l=a+d*Math.cos(-e*f);a+=d*Math.cos(-h*f);var n=b+d*Math.sin(-e*f);b+=d*Math.sin(-h*f);d=[["M",l,n],["A",d,d,0,+(180<h-e),0,a,b] ]}else d=[["M",a,b],["m",0,-e],["a",d,e,0,1,1,0,2*e],["a",d,e,0,1,1,0,-2*e],["z"] ];d.toString=z;return d}function G(b){var e= | |
| A(b);if(e.abs)return d(e.abs);Q(b,"array")&&Q(b&&b[0],"array")||(b=a.parsePathString(b));if(!b||!b.length)return[["M",0,0] ];var h=[],f=0,l=0,n=0,k=0,p=0;"M"==b[0][0]&&(f=+b[0][1],l=+b[0][2],n=f,k=l,p++,h[0]=["M",f,l]);for(var q=3==b.length&&"M"==b[0][0]&&"R"==b[1][0].toUpperCase()&&"Z"==b[2][0].toUpperCase(),s,r,w=p,c=b.length;w<c;w++){h.push(s=[]);r=b[w];p=r[0];if(p!=p.toUpperCase())switch(s[0]=p.toUpperCase(),s[0]){case "A":s[1]=r[1];s[2]=r[2];s[3]=r[3];s[4]=r[4];s[5]=r[5];s[6]=+r[6]+f;s[7]=+r[7]+ | |
| l;break;case "V":s[1]=+r[1]+l;break;case "H":s[1]=+r[1]+f;break;case "R":for(var t=[f,l].concat(r.slice(1)),u=2,v=t.length;u<v;u++)t[u]=+t[u]+f,t[++u]=+t[u]+l;h.pop();h=h.concat(P(t,q));break;case "O":h.pop();t=x(f,l,r[1],r[2]);t.push(t[0]);h=h.concat(t);break;case "U":h.pop();h=h.concat(x(f,l,r[1],r[2],r[3]));s=["U"].concat(h[h.length-1].slice(-2));break;case "M":n=+r[1]+f,k=+r[2]+l;default:for(u=1,v=r.length;u<v;u++)s[u]=+r[u]+(u%2?f:l)}else if("R"==p)t=[f,l].concat(r.slice(1)),h.pop(),h=h.concat(P(t, | |
| q)),s=["R"].concat(r.slice(-2));else if("O"==p)h.pop(),t=x(f,l,r[1],r[2]),t.push(t[0]),h=h.concat(t);else if("U"==p)h.pop(),h=h.concat(x(f,l,r[1],r[2],r[3])),s=["U"].concat(h[h.length-1].slice(-2));else for(t=0,u=r.length;t<u;t++)s[t]=r[t];p=p.toUpperCase();if("O"!=p)switch(s[0]){case "Z":f=+n;l=+k;break;case "H":f=s[1];break;case "V":l=s[1];break;case "M":n=s[s.length-2],k=s[s.length-1];default:f=s[s.length-2],l=s[s.length-1]}}h.toString=z;e.abs=d(h);return h}function h(a,b,d,e){return[a,b,d,e,d, | |
| e]}function J(a,b,d,e,h,f){var l=1/3,n=2/3;return[l*a+n*d,l*b+n*e,l*h+n*d,l*f+n*e,h,f]}function K(b,d,e,h,f,l,n,k,p,s){var r=120*S/180,q=S/180*(+f||0),c=[],t,x=a._.cacher(function(a,b,c){var d=a*F.cos(c)-b*F.sin(c);a=a*F.sin(c)+b*F.cos(c);return{x:d,y:a}});if(s)v=s[0],t=s[1],l=s[2],u=s[3];else{t=x(b,d,-q);b=t.x;d=t.y;t=x(k,p,-q);k=t.x;p=t.y;F.cos(S/180*f);F.sin(S/180*f);t=(b-k)/2;v=(d-p)/2;u=t*t/(e*e)+v*v/(h*h);1<u&&(u=F.sqrt(u),e*=u,h*=u);var u=e*e,w=h*h,u=(l==n?-1:1)*F.sqrt(Z((u*w-u*v*v-w*t*t)/ | |
| (u*v*v+w*t*t)));l=u*e*v/h+(b+k)/2;var u=u*-h*t/e+(d+p)/2,v=F.asin(((d-u)/h).toFixed(9));t=F.asin(((p-u)/h).toFixed(9));v=b<l?S-v:v;t=k<l?S-t:t;0>v&&(v=2*S+v);0>t&&(t=2*S+t);n&&v>t&&(v-=2*S);!n&&t>v&&(t-=2*S)}if(Z(t-v)>r){var c=t,w=k,G=p;t=v+r*(n&&t>v?1:-1);k=l+e*F.cos(t);p=u+h*F.sin(t);c=K(k,p,e,h,f,0,n,w,G,[t,c,l,u])}l=t-v;f=F.cos(v);r=F.sin(v);n=F.cos(t);t=F.sin(t);l=F.tan(l/4);e=4/3*e*l;l*=4/3*h;h=[b,d];b=[b+e*r,d-l*f];d=[k+e*t,p-l*n];k=[k,p];b[0]=2*h[0]-b[0];b[1]=2*h[1]-b[1];if(s)return[b,d,k].concat(c); | |
| c=[b,d,k].concat(c).join().split(",");s=[];k=0;for(p=c.length;k<p;k++)s[k]=k%2?x(c[k-1],c[k],q).y:x(c[k],c[k+1],q).x;return s}function U(a,b,d,e,h,f,l,k){for(var n=[],p=[[],[] ],s,r,c,t,q=0;2>q;++q)0==q?(r=6*a-12*d+6*h,s=-3*a+9*d-9*h+3*l,c=3*d-3*a):(r=6*b-12*e+6*f,s=-3*b+9*e-9*f+3*k,c=3*e-3*b),1E-12>Z(s)?1E-12>Z(r)||(s=-c/r,0<s&&1>s&&n.push(s)):(t=r*r-4*c*s,c=F.sqrt(t),0>t||(t=(-r+c)/(2*s),0<t&&1>t&&n.push(t),s=(-r-c)/(2*s),0<s&&1>s&&n.push(s)));for(r=q=n.length;q--;)s=n[q],c=1-s,p[0][q]=c*c*c*a+3* | |
| c*c*s*d+3*c*s*s*h+s*s*s*l,p[1][q]=c*c*c*b+3*c*c*s*e+3*c*s*s*f+s*s*s*k;p[0][r]=a;p[1][r]=b;p[0][r+1]=l;p[1][r+1]=k;p[0].length=p[1].length=r+2;return{min:{x:X.apply(0,p[0]),y:X.apply(0,p[1])},max:{x:W.apply(0,p[0]),y:W.apply(0,p[1])}}}function I(a,b){var e=!b&&A(a);if(!b&&e.curve)return d(e.curve);var f=G(a),l=b&&G(b),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},k={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},p=function(a,b,c){if(!a)return["C",b.x,b.y,b.x,b.y,b.x,b.y];a[0]in{T:1,Q:1}||(b.qx=b.qy=null); | |
| switch(a[0]){case "M":b.X=a[1];b.Y=a[2];break;case "A":a=["C"].concat(K.apply(0,[b.x,b.y].concat(a.slice(1))));break;case "S":"C"==c||"S"==c?(c=2*b.x-b.bx,b=2*b.y-b.by):(c=b.x,b=b.y);a=["C",c,b].concat(a.slice(1));break;case "T":"Q"==c||"T"==c?(b.qx=2*b.x-b.qx,b.qy=2*b.y-b.qy):(b.qx=b.x,b.qy=b.y);a=["C"].concat(J(b.x,b.y,b.qx,b.qy,a[1],a[2]));break;case "Q":b.qx=a[1];b.qy=a[2];a=["C"].concat(J(b.x,b.y,a[1],a[2],a[3],a[4]));break;case "L":a=["C"].concat(h(b.x,b.y,a[1],a[2]));break;case "H":a=["C"].concat(h(b.x, | |
| b.y,a[1],b.y));break;case "V":a=["C"].concat(h(b.x,b.y,b.x,a[1]));break;case "Z":a=["C"].concat(h(b.x,b.y,b.X,b.Y))}return a},s=function(a,b){if(7<a[b].length){a[b].shift();for(var c=a[b];c.length;)q[b]="A",l&&(u[b]="A"),a.splice(b++,0,["C"].concat(c.splice(0,6)));a.splice(b,1);v=W(f.length,l&&l.length||0)}},r=function(a,b,c,d,e){a&&b&&"M"==a[e][0]&&"M"!=b[e][0]&&(b.splice(e,0,["M",d.x,d.y]),c.bx=0,c.by=0,c.x=a[e][1],c.y=a[e][2],v=W(f.length,l&&l.length||0))},q=[],u=[],c="",t="",x=0,v=W(f.length, | |
| l&&l.length||0);for(;x<v;x++){f[x]&&(c=f[x][0]);"C"!=c&&(q[x]=c,x&&(t=q[x-1]));f[x]=p(f[x],n,t);"A"!=q[x]&&"C"==c&&(q[x]="C");s(f,x);l&&(l[x]&&(c=l[x][0]),"C"!=c&&(u[x]=c,x&&(t=u[x-1])),l[x]=p(l[x],k,t),"A"!=u[x]&&"C"==c&&(u[x]="C"),s(l,x));r(f,l,n,k,x);r(l,f,k,n,x);var w=f[x],z=l&&l[x],y=w.length,U=l&&z.length;n.x=w[y-2];n.y=w[y-1];n.bx=$(w[y-4])||n.x;n.by=$(w[y-3])||n.y;k.bx=l&&($(z[U-4])||k.x);k.by=l&&($(z[U-3])||k.y);k.x=l&&z[U-2];k.y=l&&z[U-1]}l||(e.curve=d(f));return l?[f,l]:f}function P(a, | |
| b){for(var d=[],e=0,h=a.length;h-2*!b>e;e+=2){var f=[{x:+a[e-2],y:+a[e-1]},{x:+a[e],y:+a[e+1]},{x:+a[e+2],y:+a[e+3]},{x:+a[e+4],y:+a[e+5]}];b?e?h-4==e?f[3]={x:+a[0],y:+a[1]}:h-2==e&&(f[2]={x:+a[0],y:+a[1]},f[3]={x:+a[2],y:+a[3]}):f[0]={x:+a[h-2],y:+a[h-1]}:h-4==e?f[3]=f[2]:e||(f[0]={x:+a[e],y:+a[e+1]});d.push(["C",(-f[0].x+6*f[1].x+f[2].x)/6,(-f[0].y+6*f[1].y+f[2].y)/6,(f[1].x+6*f[2].x-f[3].x)/6,(f[1].y+6*f[2].y-f[3].y)/6,f[2].x,f[2].y])}return d}y=k.prototype;var Q=a.is,C=a._.clone,L="hasOwnProperty", | |
| N=/,?([a-z]),?/gi,$=parseFloat,F=Math,S=F.PI,X=F.min,W=F.max,ma=F.pow,Z=F.abs;M=n(1);var na=n(),ba=n(0,1),V=a._unit2px;a.path=A;a.path.getTotalLength=M;a.path.getPointAtLength=na;a.path.getSubpath=function(a,b,d){if(1E-6>this.getTotalLength(a)-d)return ba(a,b).end;a=ba(a,d,1);return b?ba(a,b).end:a};y.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()};y.getPointAtLength=function(a){return na(this.attr("d"),a)};y.getSubpath=function(b,d){return a.path.getSubpath(this.attr("d"), | |
| b,d)};a._.box=w;a.path.findDotsAtSegment=u;a.path.bezierBBox=p;a.path.isPointInsideBBox=b;a.path.isBBoxIntersect=q;a.path.intersection=function(a,b){return l(a,b)};a.path.intersectionNumber=function(a,b){return l(a,b,1)};a.path.isPointInside=function(a,d,e){var h=r(a);return b(h,d,e)&&1==l(a,[["M",d,e],["H",h.x2+10] ],1)%2};a.path.getBBox=r;a.path.get={path:function(a){return a.attr("path")},circle:function(a){a=V(a);return x(a.cx,a.cy,a.r)},ellipse:function(a){a=V(a);return x(a.cx||0,a.cy||0,a.rx, | |
| a.ry)},rect:function(a){a=V(a);return s(a.x||0,a.y||0,a.width,a.height,a.rx,a.ry)},image:function(a){a=V(a);return s(a.x||0,a.y||0,a.width,a.height)},line:function(a){return"M"+[a.attr("x1")||0,a.attr("y1")||0,a.attr("x2"),a.attr("y2")]},polyline:function(a){return"M"+a.attr("points")},polygon:function(a){return"M"+a.attr("points")+"z"},deflt:function(a){a=a.node.getBBox();return s(a.x,a.y,a.width,a.height)}};a.path.toRelative=function(b){var e=A(b),h=String.prototype.toLowerCase;if(e.rel)return d(e.rel); | |
| a.is(b,"array")&&a.is(b&&b[0],"array")||(b=a.parsePathString(b));var f=[],l=0,n=0,k=0,p=0,s=0;"M"==b[0][0]&&(l=b[0][1],n=b[0][2],k=l,p=n,s++,f.push(["M",l,n]));for(var r=b.length;s<r;s++){var q=f[s]=[],x=b[s];if(x[0]!=h.call(x[0]))switch(q[0]=h.call(x[0]),q[0]){case "a":q[1]=x[1];q[2]=x[2];q[3]=x[3];q[4]=x[4];q[5]=x[5];q[6]=+(x[6]-l).toFixed(3);q[7]=+(x[7]-n).toFixed(3);break;case "v":q[1]=+(x[1]-n).toFixed(3);break;case "m":k=x[1],p=x[2];default:for(var c=1,t=x.length;c<t;c++)q[c]=+(x[c]-(c%2?l: | |
| n)).toFixed(3)}else for(f[s]=[],"m"==x[0]&&(k=x[1]+l,p=x[2]+n),q=0,c=x.length;q<c;q++)f[s][q]=x[q];x=f[s].length;switch(f[s][0]){case "z":l=k;n=p;break;case "h":l+=+f[s][x-1];break;case "v":n+=+f[s][x-1];break;default:l+=+f[s][x-2],n+=+f[s][x-1]}}f.toString=z;e.rel=d(f);return f};a.path.toAbsolute=G;a.path.toCubic=I;a.path.map=function(a,b){if(!b)return a;var d,e,h,f,l,n,k;a=I(a);h=0;for(l=a.length;h<l;h++)for(k=a[h],f=1,n=k.length;f<n;f+=2)d=b.x(k[f],k[f+1]),e=b.y(k[f],k[f+1]),k[f]=d,k[f+1]=e;return a}; | |
| a.path.toString=z;a.path.clone=d});C.plugin(function(a,v,y,C){var A=Math.max,w=Math.min,z=function(a){this.items=[];this.bindings={};this.length=0;this.type="set";if(a)for(var f=0,n=a.length;f<n;f++)a[f]&&(this[this.items.length]=this.items[this.items.length]=a[f],this.length++)};v=z.prototype;v.push=function(){for(var a,f,n=0,k=arguments.length;n<k;n++)if(a=arguments[n])f=this.items.length,this[f]=this.items[f]=a,this.length++;return this};v.pop=function(){this.length&&delete this[this.length--]; | |
| return this.items.pop()};v.forEach=function(a,f){for(var n=0,k=this.items.length;n<k&&!1!==a.call(f,this.items[n],n);n++);return this};v.animate=function(d,f,n,u){"function"!=typeof n||n.length||(u=n,n=L.linear);d instanceof a._.Animation&&(u=d.callback,n=d.easing,f=n.dur,d=d.attr);var p=arguments;if(a.is(d,"array")&&a.is(p[p.length-1],"array"))var b=!0;var q,e=function(){q?this.b=q:q=this.b},l=0,r=u&&function(){l++==this.length&&u.call(this)};return this.forEach(function(a,l){k.once("snap.animcreated."+ | |
| a.id,e);b?p[l]&&a.animate.apply(a,p[l]):a.animate(d,f,n,r)})};v.remove=function(){for(;this.length;)this.pop().remove();return this};v.bind=function(a,f,k){var u={};if("function"==typeof f)this.bindings[a]=f;else{var p=k||a;this.bindings[a]=function(a){u[p]=a;f.attr(u)}}return this};v.attr=function(a){var f={},k;for(k in a)if(this.bindings[k])this.bindings[k](a[k]);else f[k]=a[k];a=0;for(k=this.items.length;a<k;a++)this.items[a].attr(f);return this};v.clear=function(){for(;this.length;)this.pop()}; | |
| v.splice=function(a,f,k){a=0>a?A(this.length+a,0):a;f=A(0,w(this.length-a,f));var u=[],p=[],b=[],q;for(q=2;q<arguments.length;q++)b.push(arguments[q]);for(q=0;q<f;q++)p.push(this[a+q]);for(;q<this.length-a;q++)u.push(this[a+q]);var e=b.length;for(q=0;q<e+u.length;q++)this.items[a+q]=this[a+q]=q<e?b[q]:u[q-e];for(q=this.items.length=this.length-=f-e;this[q];)delete this[q++];return new z(p)};v.exclude=function(a){for(var f=0,k=this.length;f<k;f++)if(this[f]==a)return this.splice(f,1),!0;return!1}; | |
| v.insertAfter=function(a){for(var f=this.items.length;f--;)this.items[f].insertAfter(a);return this};v.getBBox=function(){for(var a=[],f=[],k=[],u=[],p=this.items.length;p--;)if(!this.items[p].removed){var b=this.items[p].getBBox();a.push(b.x);f.push(b.y);k.push(b.x+b.width);u.push(b.y+b.height)}a=w.apply(0,a);f=w.apply(0,f);k=A.apply(0,k);u=A.apply(0,u);return{x:a,y:f,x2:k,y2:u,width:k-a,height:u-f,cx:a+(k-a)/2,cy:f+(u-f)/2}};v.clone=function(a){a=new z;for(var f=0,k=this.items.length;f<k;f++)a.push(this.items[f].clone()); | |
| return a};v.toString=function(){return"Snap\u2018s set"};v.type="set";a.set=function(){var a=new z;arguments.length&&a.push.apply(a,Array.prototype.slice.call(arguments,0));return a}});C.plugin(function(a,v,y,C){function A(a){var b=a[0];switch(b.toLowerCase()){case "t":return[b,0,0];case "m":return[b,1,0,0,1,0,0];case "r":return 4==a.length?[b,0,a[2],a[3] ]:[b,0];case "s":return 5==a.length?[b,1,1,a[3],a[4] ]:3==a.length?[b,1,1]:[b,1]}}function w(b,d,f){d=q(d).replace(/\.{3}|\u2026/g,b);b=a.parseTransformString(b)|| | |
| [];d=a.parseTransformString(d)||[];for(var k=Math.max(b.length,d.length),p=[],v=[],h=0,w,z,y,I;h<k;h++){y=b[h]||A(d[h]);I=d[h]||A(y);if(y[0]!=I[0]||"r"==y[0].toLowerCase()&&(y[2]!=I[2]||y[3]!=I[3])||"s"==y[0].toLowerCase()&&(y[3]!=I[3]||y[4]!=I[4])){b=a._.transform2matrix(b,f());d=a._.transform2matrix(d,f());p=[["m",b.a,b.b,b.c,b.d,b.e,b.f] ];v=[["m",d.a,d.b,d.c,d.d,d.e,d.f] ];break}p[h]=[];v[h]=[];w=0;for(z=Math.max(y.length,I.length);w<z;w++)w in y&&(p[h][w]=y[w]),w in I&&(v[h][w]=I[w])}return{from:u(p), | |
| to:u(v),f:n(p)}}function z(a){return a}function d(a){return function(b){return+b.toFixed(3)+a}}function f(b){return a.rgb(b[0],b[1],b[2])}function n(a){var b=0,d,f,k,n,h,p,q=[];d=0;for(f=a.length;d<f;d++){h="[";p=['"'+a[d][0]+'"'];k=1;for(n=a[d].length;k<n;k++)p[k]="val["+b++ +"]";h+=p+"]";q[d]=h}return Function("val","return Snap.path.toString.call(["+q+"])")}function u(a){for(var b=[],d=0,f=a.length;d<f;d++)for(var k=1,n=a[d].length;k<n;k++)b.push(a[d][k]);return b}var p={},b=/[a-z]+$/i,q=String; | |
| p.stroke=p.fill="colour";v.prototype.equal=function(a,b){return k("snap.util.equal",this,a,b).firstDefined()};k.on("snap.util.equal",function(e,k){var r,s;r=q(this.attr(e)||"");var x=this;if(r==+r&&k==+k)return{from:+r,to:+k,f:z};if("colour"==p[e])return r=a.color(r),s=a.color(k),{from:[r.r,r.g,r.b,r.opacity],to:[s.r,s.g,s.b,s.opacity],f:f};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return k instanceof a.Matrix&&(k=k.toTransformString()),a._.rgTransform.test(k)||(k=a._.svgTransform2string(k)), | |
| w(r,k,function(){return x.getBBox(1)});if("d"==e||"path"==e)return r=a.path.toCubic(r,k),{from:u(r[0]),to:u(r[1]),f:n(r[0])};if("points"==e)return r=q(r).split(a._.separator),s=q(k).split(a._.separator),{from:r,to:s,f:function(a){return a}};aUnit=r.match(b);s=q(k).match(b);return aUnit&&aUnit==s?{from:parseFloat(r),to:parseFloat(k),f:d(aUnit)}:{from:this.asPX(e),to:this.asPX(e,k),f:z}})});C.plugin(function(a,v,y,C){var A=v.prototype,w="createTouch"in C.doc;v="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel".split(" "); | |
| var z={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},d=function(a,b){var d="y"==a?"scrollTop":"scrollLeft",e=b&&b.node?b.node.ownerDocument:C.doc;return e[d in e.documentElement?"documentElement":"body"][d]},f=function(){this.returnValue=!1},n=function(){return this.originalEvent.preventDefault()},u=function(){this.cancelBubble=!0},p=function(){return this.originalEvent.stopPropagation()},b=function(){if(C.doc.addEventListener)return function(a,b,e,f){var k=w&&z[b]?z[b]:b,l=function(k){var l= | |
| d("y",f),q=d("x",f);if(w&&z.hasOwnProperty(b))for(var r=0,u=k.targetTouches&&k.targetTouches.length;r<u;r++)if(k.targetTouches[r].target==a||a.contains(k.targetTouches[r].target)){u=k;k=k.targetTouches[r];k.originalEvent=u;k.preventDefault=n;k.stopPropagation=p;break}return e.call(f,k,k.clientX+q,k.clientY+l)};b!==k&&a.addEventListener(b,l,!1);a.addEventListener(k,l,!1);return function(){b!==k&&a.removeEventListener(b,l,!1);a.removeEventListener(k,l,!1);return!0}};if(C.doc.attachEvent)return function(a, | |
| b,e,h){var k=function(a){a=a||h.node.ownerDocument.window.event;var b=d("y",h),k=d("x",h),k=a.clientX+k,b=a.clientY+b;a.preventDefault=a.preventDefault||f;a.stopPropagation=a.stopPropagation||u;return e.call(h,a,k,b)};a.attachEvent("on"+b,k);return function(){a.detachEvent("on"+b,k);return!0}}}(),q=[],e=function(a){for(var b=a.clientX,e=a.clientY,f=d("y"),l=d("x"),n,p=q.length;p--;){n=q[p];if(w)for(var r=a.touches&&a.touches.length,u;r--;){if(u=a.touches[r],u.identifier==n.el._drag.id||n.el.node.contains(u.target)){b= | |
| u.clientX;e=u.clientY;(a.originalEvent?a.originalEvent:a).preventDefault();break}}else a.preventDefault();b+=l;e+=f;k("snap.drag.move."+n.el.id,n.move_scope||n.el,b-n.el._drag.x,e-n.el._drag.y,b,e,a)}},l=function(b){a.unmousemove(e).unmouseup(l);for(var d=q.length,f;d--;)f=q[d],f.el._drag={},k("snap.drag.end."+f.el.id,f.end_scope||f.start_scope||f.move_scope||f.el,b);q=[]};for(y=v.length;y--;)(function(d){a[d]=A[d]=function(e,f){a.is(e,"function")&&(this.events=this.events||[],this.events.push({name:d, | |
| f:e,unbind:b(this.node||document,d,e,f||this)}));return this};a["un"+d]=A["un"+d]=function(a){for(var b=this.events||[],e=b.length;e--;)if(b[e].name==d&&(b[e].f==a||!a)){b[e].unbind();b.splice(e,1);!b.length&&delete this.events;break}return this}})(v[y]);A.hover=function(a,b,d,e){return this.mouseover(a,d).mouseout(b,e||d)};A.unhover=function(a,b){return this.unmouseover(a).unmouseout(b)};var r=[];A.drag=function(b,d,f,h,n,p){function u(r,v,w){(r.originalEvent||r).preventDefault();this._drag.x=v; | |
| this._drag.y=w;this._drag.id=r.identifier;!q.length&&a.mousemove(e).mouseup(l);q.push({el:this,move_scope:h,start_scope:n,end_scope:p});d&&k.on("snap.drag.start."+this.id,d);b&&k.on("snap.drag.move."+this.id,b);f&&k.on("snap.drag.end."+this.id,f);k("snap.drag.start."+this.id,n||h||this,v,w,r)}if(!arguments.length){var v;return this.drag(function(a,b){this.attr({transform:v+(v?"T":"t")+[a,b]})},function(){v=this.transform().local})}this._drag={};r.push({el:this,start:u});this.mousedown(u);return this}; | |
| A.undrag=function(){for(var b=r.length;b--;)r[b].el==this&&(this.unmousedown(r[b].start),r.splice(b,1),k.unbind("snap.drag.*."+this.id));!r.length&&a.unmousemove(e).unmouseup(l);return this}});C.plugin(function(a,v,y,C){y=y.prototype;var A=/^\s*url\((.+)\)/,w=String,z=a._.$;a.filter={};y.filter=function(d){var f=this;"svg"!=f.type&&(f=f.paper);d=a.parse(w(d));var k=a._.id(),u=z("filter");z(u,{id:k,filterUnits:"userSpaceOnUse"});u.appendChild(d.node);f.defs.appendChild(u);return new v(u)};k.on("snap.util.getattr.filter", | |
| function(){k.stop();var d=z(this.node,"filter");if(d)return(d=w(d).match(A))&&a.select(d[1])});k.on("snap.util.attr.filter",function(d){if(d instanceof v&&"filter"==d.type){k.stop();var f=d.node.id;f||(z(d.node,{id:d.id}),f=d.id);z(this.node,{filter:a.url(f)})}d&&"none"!=d||(k.stop(),this.node.removeAttribute("filter"))});a.filter.blur=function(d,f){null==d&&(d=2);return a.format('<feGaussianBlur stdDeviation="{def}"/>',{def:null==f?d:[d,f]})};a.filter.blur.toString=function(){return this()};a.filter.shadow= | |
| function(d,f,k,u,p){"string"==typeof k&&(p=u=k,k=4);"string"!=typeof u&&(p=u,u="#000");null==k&&(k=4);null==p&&(p=1);null==d&&(d=0,f=2);null==f&&(f=d);u=a.color(u||"#000");return a.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>', | |
| {color:u,dx:d,dy:f,blur:k,opacity:p})};a.filter.shadow.toString=function(){return this()};a.filter.grayscale=function(d){null==d&&(d=1);return a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:0.2126+0.7874*(1-d),b:0.7152-0.7152*(1-d),c:0.0722-0.0722*(1-d),d:0.2126-0.2126*(1-d),e:0.7152+0.2848*(1-d),f:0.0722-0.0722*(1-d),g:0.2126-0.2126*(1-d),h:0.0722+0.9278*(1-d)})};a.filter.grayscale.toString=function(){return this()};a.filter.sepia= | |
| function(d){null==d&&(d=1);return a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:0.393+0.607*(1-d),b:0.769-0.769*(1-d),c:0.189-0.189*(1-d),d:0.349-0.349*(1-d),e:0.686+0.314*(1-d),f:0.168-0.168*(1-d),g:0.272-0.272*(1-d),h:0.534-0.534*(1-d),i:0.131+0.869*(1-d)})};a.filter.sepia.toString=function(){return this()};a.filter.saturate=function(d){null==d&&(d=1);return a.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1- | |
| d})};a.filter.saturate.toString=function(){return this()};a.filter.hueRotate=function(d){return a.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:d||0})};a.filter.hueRotate.toString=function(){return this()};a.filter.invert=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:d, | |
| amount2:1-d})};a.filter.invert.toString=function(){return this()};a.filter.brightness=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:d})};a.filter.brightness.toString=function(){return this()};a.filter.contrast=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>', | |
| {amount:d,amount2:0.5-d/2})};a.filter.contrast.toString=function(){return this()}});return C}); | |
| ]]> </script> | |
| <script> <![CDATA[ | |
| (function (glob, factory) { | |
| // AMD support | |
| if (typeof define === "function" && define.amd) { | |
| // Define as an anonymous module | |
| define("Gadfly", ["Snap.svg"], function (Snap) { | |
| return factory(Snap); | |
| }); | |
| } else { | |
| // Browser globals (glob is window) | |
| // Snap adds itself to window | |
| glob.Gadfly = factory(glob.Snap); | |
| } | |
| }(this, function (Snap) { | |
| var Gadfly = {}; | |
| // Get an x/y coordinate value in pixels | |
| var xPX = function(fig, x) { | |
| var client_box = fig.node.getBoundingClientRect(); | |
| return x * fig.node.viewBox.baseVal.width / client_box.width; | |
| }; | |
| var yPX = function(fig, y) { | |
| var client_box = fig.node.getBoundingClientRect(); | |
| return y * fig.node.viewBox.baseVal.height / client_box.height; | |
| }; | |
| Snap.plugin(function (Snap, Element, Paper, global) { | |
| // Traverse upwards from a snap element to find and return the first | |
| // note with the "plotroot" class. | |
| Element.prototype.plotroot = function () { | |
| var element = this; | |
| while (!element.hasClass("plotroot") && element.parent() != null) { | |
| element = element.parent(); | |
| } | |
| return element; | |
| }; | |
| Element.prototype.svgroot = function () { | |
| var element = this; | |
| while (element.node.nodeName != "svg" && element.parent() != null) { | |
| element = element.parent(); | |
| } | |
| return element; | |
| }; | |
| Element.prototype.plotbounds = function () { | |
| var root = this.plotroot() | |
| var bbox = root.select(".guide.background").node.getBBox(); | |
| return { | |
| x0: bbox.x, | |
| x1: bbox.x + bbox.width, | |
| y0: bbox.y, | |
| y1: bbox.y + bbox.height | |
| }; | |
| }; | |
| Element.prototype.plotcenter = function () { | |
| var root = this.plotroot() | |
| var bbox = root.select(".guide.background").node.getBBox(); | |
| return { | |
| x: bbox.x + bbox.width / 2, | |
| y: bbox.y + bbox.height / 2 | |
| }; | |
| }; | |
| // Emulate IE style mouseenter/mouseleave events, since Microsoft always | |
| // does everything right. | |
| // See: http://www.dynamic-tools.net/toolbox/isMouseLeaveOrEnter/ | |
| var events = ["mouseenter", "mouseleave"]; | |
| for (i in events) { | |
| (function (event_name) { | |
| var event_name = events[i]; | |
| Element.prototype[event_name] = function (fn, scope) { | |
| if (Snap.is(fn, "function")) { | |
| var fn2 = function (event) { | |
| if (event.type != "mouseover" && event.type != "mouseout") { | |
| return; | |
| } | |
| var reltg = event.relatedTarget ? event.relatedTarget : | |
| event.type == "mouseout" ? event.toElement : event.fromElement; | |
| while (reltg && reltg != this.node) reltg = reltg.parentNode; | |
| if (reltg != this.node) { | |
| return fn.apply(this, event); | |
| } | |
| }; | |
| if (event_name == "mouseenter") { | |
| this.mouseover(fn2, scope); | |
| } else { | |
| this.mouseout(fn2, scope); | |
| } | |
| } | |
| return this; | |
| }; | |
| })(events[i]); | |
| } | |
| Element.prototype.mousewheel = function (fn, scope) { | |
| if (Snap.is(fn, "function")) { | |
| var el = this; | |
| var fn2 = function (event) { | |
| fn.apply(el, [event]); | |
| }; | |
| } | |
| this.node.addEventListener( | |
| /Firefox/i.test(navigator.userAgent) ? "DOMMouseScroll" : "mousewheel", | |
| fn2); | |
| return this; | |
| }; | |
| // Snap's attr function can be too slow for things like panning/zooming. | |
| // This is a function to directly update element attributes without going | |
| // through eve. | |
| Element.prototype.attribute = function(key, val) { | |
| if (val === undefined) { | |
| return this.node.getAttribute(key, val); | |
| } else { | |
| return this.node.setAttribute(key, val); | |
| } | |
| }; | |
| }); | |
| // When the plot is moused over, emphasize the grid lines. | |
| Gadfly.plot_mouseover = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var xgridlines = root.select(".xgridlines"), | |
| ygridlines = root.select(".ygridlines"); | |
| xgridlines.data("unfocused_strokedash", | |
| xgridlines.attr("stroke-dasharray").replace(/px/g, "mm")) | |
| ygridlines.data("unfocused_strokedash", | |
| ygridlines.attr("stroke-dasharray").replace(/px/g, "mm")) | |
| // emphasize grid lines | |
| var destcolor = root.data("focused_xgrid_color"); | |
| xgridlines.attr("stroke-dasharray", "none") | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| destcolor = root.data("focused_ygrid_color"); | |
| ygridlines.attr("stroke-dasharray", "none") | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| // reveal zoom slider | |
| root.select(".zoomslider") | |
| .animate({opacity: 1.0}, 250); | |
| }; | |
| // Unemphasize grid lines on mouse out. | |
| Gadfly.plot_mouseout = function(event) { | |
| var root = this.plotroot(); | |
| var xgridlines = root.select(".xgridlines"), | |
| ygridlines = root.select(".ygridlines"); | |
| var destcolor = root.data("unfocused_xgrid_color"); | |
| xgridlines.attr("stroke-dasharray", xgridlines.data("unfocused_strokedash")) | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| destcolor = root.data("unfocused_ygrid_color"); | |
| ygridlines.attr("stroke-dasharray", ygridlines.data("unfocused_strokedash")) | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| // hide zoom slider | |
| root.select(".zoomslider") | |
| .animate({opacity: 0.0}, 250); | |
| }; | |
| var set_geometry_transform = function(root, tx, ty, scale) { | |
| var xscalable = root.hasClass("xscalable"), | |
| yscalable = root.hasClass("yscalable"); | |
| var old_scale = root.data("scale"); | |
| var xscale = xscalable ? scale : 1.0, | |
| yscale = yscalable ? scale : 1.0; | |
| tx = xscalable ? tx : 0.0; | |
| ty = yscalable ? ty : 0.0; | |
| var t = new Snap.Matrix().translate(tx, ty).scale(xscale, yscale); | |
| root.selectAll(".geometry, image") | |
| .forEach(function (element, i) { | |
| element.transform(t); | |
| }); | |
| bounds = root.plotbounds(); | |
| if (yscalable) { | |
| var xfixed_t = new Snap.Matrix().translate(0, ty).scale(1.0, yscale); | |
| root.selectAll(".xfixed") | |
| .forEach(function (element, i) { | |
| element.transform(xfixed_t); | |
| }); | |
| root.select(".ylabels") | |
| .transform(xfixed_t) | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var cx = element.asPX("x"), | |
| cy = element.asPX("y"); | |
| var st = element.data("static_transform"); | |
| unscale_t = new Snap.Matrix(); | |
| unscale_t.scale(1, 1/scale, cx, cy).add(st); | |
| element.transform(unscale_t); | |
| var y = cy * scale + ty; | |
| element.attr("visibility", | |
| bounds.y0 <= y && y <= bounds.y1 ? "visible" : "hidden"); | |
| } | |
| }); | |
| } | |
| if (xscalable) { | |
| var yfixed_t = new Snap.Matrix().translate(tx, 0).scale(xscale, 1.0); | |
| var xtrans = new Snap.Matrix().translate(tx, 0); | |
| root.selectAll(".yfixed") | |
| .forEach(function (element, i) { | |
| element.transform(yfixed_t); | |
| }); | |
| root.select(".xlabels") | |
| .transform(yfixed_t) | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var cx = element.asPX("x"), | |
| cy = element.asPX("y"); | |
| var st = element.data("static_transform"); | |
| unscale_t = new Snap.Matrix(); | |
| unscale_t.scale(1/scale, 1, cx, cy).add(st); | |
| element.transform(unscale_t); | |
| var x = cx * scale + tx; | |
| element.attr("visibility", | |
| bounds.x0 <= x && x <= bounds.x1 ? "visible" : "hidden"); | |
| } | |
| }); | |
| } | |
| // we must unscale anything that is scale invariance: widths, raiduses, etc. | |
| var size_attribs = ["font-size"]; | |
| var unscaled_selection = ".geometry, .geometry *"; | |
| if (xscalable) { | |
| size_attribs.push("rx"); | |
| unscaled_selection += ", .xgridlines"; | |
| } | |
| if (yscalable) { | |
| size_attribs.push("ry"); | |
| unscaled_selection += ", .ygridlines"; | |
| } | |
| root.selectAll(unscaled_selection) | |
| .forEach(function (element, i) { | |
| // circle need special help | |
| if (element.node.nodeName == "circle") { | |
| var cx = element.attribute("cx"), | |
| cy = element.attribute("cy"); | |
| unscale_t = new Snap.Matrix().scale(1/xscale, 1/yscale, | |
| cx, cy); | |
| element.transform(unscale_t); | |
| return; | |
| } | |
| for (i in size_attribs) { | |
| var key = size_attribs[i]; | |
| var val = parseFloat(element.attribute(key)); | |
| if (val !== undefined && val != 0 && !isNaN(val)) { | |
| element.attribute(key, val * old_scale / scale); | |
| } | |
| } | |
| }); | |
| }; | |
| // Find the most appropriate tick scale and update label visibility. | |
| var update_tickscale = function(root, scale, axis) { | |
| if (!root.hasClass(axis + "scalable")) return; | |
| var tickscales = root.data(axis + "tickscales"); | |
| var best_tickscale = 1.0; | |
| var best_tickscale_dist = Infinity; | |
| for (tickscale in tickscales) { | |
| var dist = Math.abs(Math.log(tickscale) - Math.log(scale)); | |
| if (dist < best_tickscale_dist) { | |
| best_tickscale_dist = dist; | |
| best_tickscale = tickscale; | |
| } | |
| } | |
| if (best_tickscale != root.data(axis + "tickscale")) { | |
| root.data(axis + "tickscale", best_tickscale); | |
| var mark_inscale_gridlines = function (element, i) { | |
| var inscale = element.attr("gadfly:scale") == best_tickscale; | |
| element.attribute("gadfly:inscale", inscale); | |
| element.attr("visibility", inscale ? "visible" : "hidden"); | |
| }; | |
| var mark_inscale_labels = function (element, i) { | |
| var inscale = element.attr("gadfly:scale") == best_tickscale; | |
| element.attribute("gadfly:inscale", inscale); | |
| element.attr("visibility", inscale ? "visible" : "hidden"); | |
| }; | |
| root.select("." + axis + "gridlines").selectAll("path").forEach(mark_inscale_gridlines); | |
| root.select("." + axis + "labels").selectAll("text").forEach(mark_inscale_labels); | |
| } | |
| }; | |
| var set_plot_pan_zoom = function(root, tx, ty, scale) { | |
| var old_scale = root.data("scale"); | |
| var bounds = root.plotbounds(); | |
| var width = bounds.x1 - bounds.x0, | |
| height = bounds.y1 - bounds.y0; | |
| // compute the viewport derived from tx, ty, and scale | |
| var x_min = -width * scale - (scale * width - width), | |
| x_max = width * scale, | |
| y_min = -height * scale - (scale * height - height), | |
| y_max = height * scale; | |
| var x0 = bounds.x0 - scale * bounds.x0, | |
| y0 = bounds.y0 - scale * bounds.y0; | |
| var tx = Math.max(Math.min(tx - x0, x_max), x_min), | |
| ty = Math.max(Math.min(ty - y0, y_max), y_min); | |
| tx += x0; | |
| ty += y0; | |
| // when the scale change, we may need to alter which set of | |
| // ticks is being displayed | |
| if (scale != old_scale) { | |
| update_tickscale(root, scale, "x"); | |
| update_tickscale(root, scale, "y"); | |
| } | |
| set_geometry_transform(root, tx, ty, scale); | |
| root.data("scale", scale); | |
| root.data("tx", tx); | |
| root.data("ty", ty); | |
| }; | |
| var scale_centered_translation = function(root, scale) { | |
| var bounds = root.plotbounds(); | |
| var width = bounds.x1 - bounds.x0, | |
| height = bounds.y1 - bounds.y0; | |
| var tx0 = root.data("tx"), | |
| ty0 = root.data("ty"); | |
| var scale0 = root.data("scale"); | |
| // how off from center the current view is | |
| var xoff = tx0 - (bounds.x0 * (1 - scale0) + (width * (1 - scale0)) / 2), | |
| yoff = ty0 - (bounds.y0 * (1 - scale0) + (height * (1 - scale0)) / 2); | |
| // rescale offsets | |
| xoff = xoff * scale / scale0; | |
| yoff = yoff * scale / scale0; | |
| // adjust for the panel position being scaled | |
| var x_edge_adjust = bounds.x0 * (1 - scale), | |
| y_edge_adjust = bounds.y0 * (1 - scale); | |
| return { | |
| x: xoff + x_edge_adjust + (width - width * scale) / 2, | |
| y: yoff + y_edge_adjust + (height - height * scale) / 2 | |
| }; | |
| }; | |
| // Initialize data for panning zooming if it isn't already. | |
| var init_pan_zoom = function(root) { | |
| if (root.data("zoompan-ready")) { | |
| return; | |
| } | |
| // The non-scaling-stroke trick. Rather than try to correct for the | |
| // stroke-width when zooming, we force it to a fixed value. | |
| var px_per_mm = root.node.getCTM().a; | |
| // Drag events report deltas in pixels, which we'd like to convert to | |
| // millimeters. | |
| root.data("px_per_mm", px_per_mm); | |
| root.selectAll("path") | |
| .forEach(function (element, i) { | |
| sw = element.asPX("stroke-width") * px_per_mm; | |
| if (sw > 0) { | |
| element.attribute("stroke-width", sw); | |
| element.attribute("vector-effect", "non-scaling-stroke"); | |
| } | |
| }); | |
| // Store ticks labels original tranformation | |
| root.selectAll(".xlabels > text, .ylabels > text") | |
| .forEach(function (element, i) { | |
| var lm = element.transform().localMatrix; | |
| element.data("static_transform", | |
| new Snap.Matrix(lm.a, lm.b, lm.c, lm.d, lm.e, lm.f)); | |
| }); | |
| if (root.data("tx") === undefined) root.data("tx", 0); | |
| if (root.data("ty") === undefined) root.data("ty", 0); | |
| if (root.data("scale") === undefined) root.data("scale", 1.0); | |
| if (root.data("xtickscales") === undefined) { | |
| // index all the tick scales that are listed | |
| var xtickscales = {}; | |
| var ytickscales = {}; | |
| var add_x_tick_scales = function (element, i) { | |
| xtickscales[element.attribute("gadfly:scale")] = true; | |
| }; | |
| var add_y_tick_scales = function (element, i) { | |
| ytickscales[element.attribute("gadfly:scale")] = true; | |
| }; | |
| root.select(".xgridlines").selectAll("path").forEach(add_x_tick_scales); | |
| root.select(".ygridlines").selectAll("path").forEach(add_y_tick_scales); | |
| root.select(".xlabels").selectAll("text").forEach(add_x_tick_scales); | |
| root.select(".ylabels").selectAll("text").forEach(add_y_tick_scales); | |
| root.data("xtickscales", xtickscales); | |
| root.data("ytickscales", ytickscales); | |
| root.data("xtickscale", 1.0); | |
| } | |
| var min_scale = 1.0, max_scale = 1.0; | |
| for (scale in xtickscales) { | |
| min_scale = Math.min(min_scale, scale); | |
| max_scale = Math.max(max_scale, scale); | |
| } | |
| for (scale in ytickscales) { | |
| min_scale = Math.min(min_scale, scale); | |
| max_scale = Math.max(max_scale, scale); | |
| } | |
| root.data("min_scale", min_scale); | |
| root.data("max_scale", max_scale); | |
| // store the original positions of labels | |
| root.select(".xlabels") | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| element.data("x", element.asPX("x")); | |
| }); | |
| root.select(".ylabels") | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| element.data("y", element.asPX("y")); | |
| }); | |
| // mark grid lines and ticks as in or out of scale. | |
| var mark_inscale = function (element, i) { | |
| element.attribute("gadfly:inscale", element.attribute("gadfly:scale") == 1.0); | |
| }; | |
| root.select(".xgridlines").selectAll("path").forEach(mark_inscale); | |
| root.select(".ygridlines").selectAll("path").forEach(mark_inscale); | |
| root.select(".xlabels").selectAll("text").forEach(mark_inscale); | |
| root.select(".ylabels").selectAll("text").forEach(mark_inscale); | |
| // figure out the upper ond lower bounds on panning using the maximum | |
| // and minum grid lines | |
| var bounds = root.plotbounds(); | |
| var pan_bounds = { | |
| x0: 0.0, | |
| y0: 0.0, | |
| x1: 0.0, | |
| y1: 0.0 | |
| }; | |
| root.select(".xgridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var bbox = element.node.getBBox(); | |
| if (bounds.x1 - bbox.x < pan_bounds.x0) { | |
| pan_bounds.x0 = bounds.x1 - bbox.x; | |
| } | |
| if (bounds.x0 - bbox.x > pan_bounds.x1) { | |
| pan_bounds.x1 = bounds.x0 - bbox.x; | |
| } | |
| } | |
| }); | |
| root.select(".ygridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var bbox = element.node.getBBox(); | |
| if (bounds.y1 - bbox.y < pan_bounds.y0) { | |
| pan_bounds.y0 = bounds.y1 - bbox.y; | |
| } | |
| if (bounds.y0 - bbox.y > pan_bounds.y1) { | |
| pan_bounds.y1 = bounds.y0 - bbox.y; | |
| } | |
| } | |
| }); | |
| // nudge these values a little | |
| pan_bounds.x0 -= 5; | |
| pan_bounds.x1 += 5; | |
| pan_bounds.y0 -= 5; | |
| pan_bounds.y1 += 5; | |
| root.data("pan_bounds", pan_bounds); | |
| // Set all grid lines at scale 1.0 to visible. Out of bounds lines | |
| // will be clipped. | |
| root.select(".xgridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| element.attr("visibility", "visible"); | |
| } | |
| }); | |
| root.select(".ygridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| element.attr("visibility", "visible"); | |
| } | |
| }); | |
| root.data("zoompan-ready", true) | |
| }; | |
| // Panning | |
| Gadfly.guide_background_drag_onmove = function(dx, dy, x, y, event) { | |
| var root = this.plotroot(); | |
| var px_per_mm = root.data("px_per_mm"); | |
| dx /= px_per_mm; | |
| dy /= px_per_mm; | |
| var tx0 = root.data("tx"), | |
| ty0 = root.data("ty"); | |
| var dx0 = root.data("dx"), | |
| dy0 = root.data("dy"); | |
| root.data("dx", dx); | |
| root.data("dy", dy); | |
| dx = dx - dx0; | |
| dy = dy - dy0; | |
| var tx = tx0 + dx, | |
| ty = ty0 + dy; | |
| set_plot_pan_zoom(root, tx, ty, root.data("scale")); | |
| }; | |
| Gadfly.guide_background_drag_onstart = function(x, y, event) { | |
| var root = this.plotroot(); | |
| root.data("dx", 0); | |
| root.data("dy", 0); | |
| init_pan_zoom(root); | |
| }; | |
| Gadfly.guide_background_drag_onend = function(event) { | |
| var root = this.plotroot(); | |
| }; | |
| Gadfly.guide_background_scroll = function(event) { | |
| if (event.shiftKey) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var new_scale = root.data("scale") * Math.pow(2, 0.002 * event.wheelDelta); | |
| new_scale = Math.max( | |
| root.data("min_scale"), | |
| Math.min(root.data("max_scale"), new_scale)) | |
| update_plot_scale(root, new_scale); | |
| event.stopPropagation(); | |
| } | |
| }; | |
| Gadfly.zoomslider_button_mouseover = function(event) { | |
| this.select(".button_logo") | |
| .animate({fill: this.data("mouseover_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_button_mouseout = function(event) { | |
| this.select(".button_logo") | |
| .animate({fill: this.data("mouseout_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_zoomout_click = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var min_scale = root.data("min_scale"), | |
| scale = root.data("scale"); | |
| Snap.animate( | |
| scale, | |
| Math.max(min_scale, scale / 1.5), | |
| function (new_scale) { | |
| update_plot_scale(root, new_scale); | |
| }, | |
| 200); | |
| }; | |
| Gadfly.zoomslider_zoomin_click = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var max_scale = root.data("max_scale"), | |
| scale = root.data("scale"); | |
| Snap.animate( | |
| scale, | |
| Math.min(max_scale, scale * 1.5), | |
| function (new_scale) { | |
| update_plot_scale(root, new_scale); | |
| }, | |
| 200); | |
| }; | |
| Gadfly.zoomslider_track_click = function(event) { | |
| // TODO | |
| }; | |
| Gadfly.zoomslider_thumb_mousedown = function(event) { | |
| this.animate({fill: this.data("mouseover_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_thumb_mouseup = function(event) { | |
| this.animate({fill: this.data("mouseout_color")}, 100); | |
| }; | |
| // compute the position in [0, 1] of the zoom slider thumb from the current scale | |
| var slider_position_from_scale = function(scale, min_scale, max_scale) { | |
| if (scale >= 1.0) { | |
| return 0.5 + 0.5 * (Math.log(scale) / Math.log(max_scale)); | |
| } | |
| else { | |
| return 0.5 * (Math.log(scale) - Math.log(min_scale)) / (0 - Math.log(min_scale)); | |
| } | |
| } | |
| var update_plot_scale = function(root, new_scale) { | |
| var trans = scale_centered_translation(root, new_scale); | |
| set_plot_pan_zoom(root, trans.x, trans.y, new_scale); | |
| root.selectAll(".zoomslider_thumb") | |
| .forEach(function (element, i) { | |
| var min_pos = element.data("min_pos"), | |
| max_pos = element.data("max_pos"), | |
| min_scale = root.data("min_scale"), | |
| max_scale = root.data("max_scale"); | |
| var xmid = (min_pos + max_pos) / 2; | |
| var xpos = slider_position_from_scale(new_scale, min_scale, max_scale); | |
| element.transform(new Snap.Matrix().translate( | |
| Math.max(min_pos, Math.min( | |
| max_pos, min_pos + (max_pos - min_pos) * xpos)) - xmid, 0)); | |
| }); | |
| }; | |
| Gadfly.zoomslider_thumb_dragmove = function(dx, dy, x, y) { | |
| var root = this.plotroot(); | |
| var min_pos = this.data("min_pos"), | |
| max_pos = this.data("max_pos"), | |
| min_scale = root.data("min_scale"), | |
| max_scale = root.data("max_scale"), | |
| old_scale = root.data("old_scale"); | |
| var px_per_mm = root.data("px_per_mm"); | |
| dx /= px_per_mm; | |
| dy /= px_per_mm; | |
| var xmid = (min_pos + max_pos) / 2; | |
| var xpos = slider_position_from_scale(old_scale, min_scale, max_scale) + | |
| dx / (max_pos - min_pos); | |
| // compute the new scale | |
| var new_scale; | |
| if (xpos >= 0.5) { | |
| new_scale = Math.exp(2.0 * (xpos - 0.5) * Math.log(max_scale)); | |
| } | |
| else { | |
| new_scale = Math.exp(2.0 * xpos * (0 - Math.log(min_scale)) + | |
| Math.log(min_scale)); | |
| } | |
| new_scale = Math.min(max_scale, Math.max(min_scale, new_scale)); | |
| update_plot_scale(root, new_scale); | |
| }; | |
| Gadfly.zoomslider_thumb_dragstart = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| // keep track of what the scale was when we started dragging | |
| root.data("old_scale", root.data("scale")); | |
| }; | |
| Gadfly.zoomslider_thumb_dragend = function(event) { | |
| }; | |
| var toggle_color_class = function(root, color_class, ison) { | |
| var guides = root.selectAll(".guide." + color_class + ",.guide ." + color_class); | |
| var geoms = root.selectAll(".geometry." + color_class + ",.geometry ." + color_class); | |
| if (ison) { | |
| guides.animate({opacity: 0.5}, 250); | |
| geoms.animate({opacity: 0.0}, 250); | |
| } else { | |
| guides.animate({opacity: 1.0}, 250); | |
| geoms.animate({opacity: 1.0}, 250); | |
| } | |
| }; | |
| Gadfly.colorkey_swatch_click = function(event) { | |
| var root = this.plotroot(); | |
| var color_class = this.data("color_class"); | |
| if (event.shiftKey) { | |
| root.selectAll(".colorkey text") | |
| .forEach(function (element) { | |
| var other_color_class = element.data("color_class"); | |
| if (other_color_class != color_class) { | |
| toggle_color_class(root, other_color_class, | |
| element.attr("opacity") == 1.0); | |
| } | |
| }); | |
| } else { | |
| toggle_color_class(root, color_class, this.attr("opacity") == 1.0); | |
| } | |
| }; | |
| return Gadfly; | |
| })); | |
| //@ sourceURL=gadfly.js | |
| (function (glob, factory) { | |
| // AMD support | |
| if (typeof require === "function" && typeof define === "function" && define.amd) { | |
| require(["Snap.svg", "Gadfly"], function (Snap, Gadfly) { | |
| factory(Snap, Gadfly); | |
| }); | |
| } else { | |
| factory(glob.Snap, glob.Gadfly); | |
| } | |
| })(window, function (Snap, Gadfly) { | |
| var fig = Snap("#fig-efd57231394b459aa56299ac2fae0b57"); | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-4") | |
| .mouseenter(Gadfly.plot_mouseover) | |
| .mouseleave(Gadfly.plot_mouseout) | |
| .mousewheel(Gadfly.guide_background_scroll) | |
| .drag(Gadfly.guide_background_drag_onmove, | |
| Gadfly.guide_background_drag_onstart, | |
| Gadfly.guide_background_drag_onend) | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-7") | |
| .plotroot().data("unfocused_ygrid_color", "#D0D0E0") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-7") | |
| .plotroot().data("focused_ygrid_color", "#A0A0A0") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-8") | |
| .plotroot().data("unfocused_xgrid_color", "#D0D0E0") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-8") | |
| .plotroot().data("focused_xgrid_color", "#A0A0A0") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-12") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-12") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-12") | |
| .click(Gadfly.zoomslider_zoomin_click) | |
| .mouseenter(Gadfly.zoomslider_button_mouseover) | |
| .mouseleave(Gadfly.zoomslider_button_mouseout) | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-14") | |
| .data("max_pos", 120.42) | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-14") | |
| .data("min_pos", 103.42) | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-14") | |
| .click(Gadfly.zoomslider_track_click); | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-15") | |
| .data("max_pos", 120.42) | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-15") | |
| .data("min_pos", 103.42) | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-15") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-15") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-15") | |
| .drag(Gadfly.zoomslider_thumb_dragmove, | |
| Gadfly.zoomslider_thumb_dragstart, | |
| Gadfly.zoomslider_thumb_dragend) | |
| .mousedown(Gadfly.zoomslider_thumb_mousedown) | |
| .mouseup(Gadfly.zoomslider_thumb_mouseup) | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-16") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-16") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-efd57231394b459aa56299ac2fae0b57-element-16") | |
| .click(Gadfly.zoomslider_zoomout_click) | |
| .mouseenter(Gadfly.zoomslider_button_mouseover) | |
| .mouseleave(Gadfly.zoomslider_button_mouseout) | |
| ; | |
| }); | |
| ]]> </script> | |
| </svg> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="cell border-box-sizing code_cell rendered"> | |
| <div class="input"> | |
| <div class="prompt input_prompt"> | |
| In [235]: | |
| </div> | |
| <div class="inner_cell"> | |
| <div class="input_area"> | |
| <div class="highlight"><pre><span class="k">function</span><span class="nf"> Gi_per_year</span><span class="p">(</span><span class="n">Fi</span><span class="p">,</span> <span class="n">Ge</span><span class="p">,</span> <span class="n">Fe</span><span class="p">,</span> <span class="n">friendliness_ratio</span><span class="p">)</span> | |
| <span class="n">C1</span> <span class="o">=</span> <span class="mi">1</span><span class="o">/</span><span class="n">friendliness_ratio</span> | |
| <span class="n">C0</span> <span class="o">=</span> <span class="o">-</span><span class="p">(</span><span class="n">Ge</span> <span class="o">+</span> <span class="p">(</span><span class="n">Fe</span><span class="o">/</span><span class="n">friendliness_ratio</span><span class="p">))</span> | |
| <span class="n">C0</span> <span class="o">+</span> <span class="n">C1</span><span class="o">*</span><span class="n">Fi</span> | |
| <span class="k">end</span><span class="p">;</span> | |
| <span class="n">plot</span><span class="p">(</span><span class="n">x</span> <span class="o">-></span> <span class="n">Gi_per_year</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">Ge</span><span class="p">,</span> <span class="n">Fe</span><span class="p">,</span> <span class="n">friendliness_ratio</span><span class="p">),</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">5000</span><span class="p">,</span> <span class="n">Guide</span><span class="o">.</span><span class="n">xlabel</span><span class="p">(</span><span class="s">"F</span><span class="se">\'</span><span class="s"><sub>i</sub>"</span><span class="p">),</span> <span class="n">Guide</span><span class="o">.</span><span class="n">ylabel</span><span class="p">(</span><span class="s">"G</span><span class="se">\'</span><span class="s"><sub>i</sub> Maximum"</span><span class="p">),</span> <span class="n">Guide</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="s">"Maximum AGI Research Rate vs. FAI Research Rate (Inverted)"</span><span class="p">))</span> | |
| </pre></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="output_wrapper"> | |
| <div class="output"> | |
| <div class="output_area"><div class="prompt output_prompt"> | |
| Out[235]:</div> | |
| <div class="output_html rendered_html output_subarea output_pyout"> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <svg xmlns="http://www.w3.org/2000/svg" | |
| xmlns:xlink="http://www.w3.org/1999/xlink" | |
| xmlns:gadfly="http://www.gadflyjl.org/ns" | |
| version="1.2" | |
| width="141.42mm" height="100mm" viewBox="0 0 141.42 100" | |
| stroke="none" | |
| fill="#000000" | |
| stroke-width="0.3" | |
| font-size="3.88" | |
| id="fig-c1f5e8da1bb043a3b60723f3eee95dfe"> | |
| <g class="plotroot xscalable yscalable" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-1"> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-2"> | |
| <text x="79.49" y="92" text-anchor="middle">F'<tspan style="dominant-baseline:inherit" dy="0.6em" font-size="83%">i</tspan><tspan dy="-0.498000em"></tspan></text> | |
| </g> | |
| <g class="guide xlabels" font-size="2.82" font-family="'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif" fill="#6C606B" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-3"> | |
| <text x="-107.29" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-6.0×10³</text> | |
| <text x="-85.32" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-5.0×10³</text> | |
| <text x="-63.35" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-4.0×10³</text> | |
| <text x="-41.37" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-3.0×10³</text> | |
| <text x="-19.4" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-2.0×10³</text> | |
| <text x="2.58" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-1.0×10³</text> | |
| <text x="24.55" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">0</text> | |
| <text x="46.52" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">1.0×10³</text> | |
| <text x="68.5" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">2.0×10³</text> | |
| <text x="90.47" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">3.0×10³</text> | |
| <text x="112.45" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">4.0×10³</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">5.0×10³</text> | |
| <text x="156.4" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">6.0×10³</text> | |
| <text x="178.37" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">7.0×10³</text> | |
| <text x="200.34" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">8.0×10³</text> | |
| <text x="222.32" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">9.0×10³</text> | |
| <text x="244.29" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">1.0×10⁴</text> | |
| <text x="266.27" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">1.1×10⁴</text> | |
| <text x="-85.32" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-5.00×10³</text> | |
| <text x="-80.92" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.80×10³</text> | |
| <text x="-76.53" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.60×10³</text> | |
| <text x="-72.14" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.40×10³</text> | |
| <text x="-67.74" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.20×10³</text> | |
| <text x="-63.35" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.00×10³</text> | |
| <text x="-58.95" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.80×10³</text> | |
| <text x="-54.56" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.60×10³</text> | |
| <text x="-50.16" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.40×10³</text> | |
| <text x="-45.77" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.20×10³</text> | |
| <text x="-41.37" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.00×10³</text> | |
| <text x="-36.98" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.80×10³</text> | |
| <text x="-32.58" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.60×10³</text> | |
| <text x="-28.19" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.40×10³</text> | |
| <text x="-23.79" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.20×10³</text> | |
| <text x="-19.4" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.00×10³</text> | |
| <text x="-15" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.80×10³</text> | |
| <text x="-10.61" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.60×10³</text> | |
| <text x="-6.21" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.40×10³</text> | |
| <text x="-1.82" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.20×10³</text> | |
| <text x="2.58" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.00×10³</text> | |
| <text x="6.97" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-8.00×10²</text> | |
| <text x="11.37" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-6.00×10²</text> | |
| <text x="15.76" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.00×10²</text> | |
| <text x="20.16" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.00×10²</text> | |
| <text x="24.55" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">0</text> | |
| <text x="28.95" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.00×10²</text> | |
| <text x="33.34" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.00×10²</text> | |
| <text x="37.74" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.00×10²</text> | |
| <text x="42.13" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.00×10²</text> | |
| <text x="46.52" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.00×10³</text> | |
| <text x="50.92" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.20×10³</text> | |
| <text x="55.31" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.40×10³</text> | |
| <text x="59.71" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.60×10³</text> | |
| <text x="64.1" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.80×10³</text> | |
| <text x="68.5" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.00×10³</text> | |
| <text x="72.89" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.20×10³</text> | |
| <text x="77.29" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.40×10³</text> | |
| <text x="81.68" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.60×10³</text> | |
| <text x="86.08" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.80×10³</text> | |
| <text x="90.47" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.00×10³</text> | |
| <text x="94.87" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.20×10³</text> | |
| <text x="99.26" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.40×10³</text> | |
| <text x="103.66" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.60×10³</text> | |
| <text x="108.05" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.80×10³</text> | |
| <text x="112.45" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.00×10³</text> | |
| <text x="116.84" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.20×10³</text> | |
| <text x="121.24" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.40×10³</text> | |
| <text x="125.63" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.60×10³</text> | |
| <text x="130.03" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.80×10³</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.00×10³</text> | |
| <text x="138.82" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.20×10³</text> | |
| <text x="143.21" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.40×10³</text> | |
| <text x="147.61" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.60×10³</text> | |
| <text x="152" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.80×10³</text> | |
| <text x="156.4" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.00×10³</text> | |
| <text x="160.79" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.20×10³</text> | |
| <text x="165.19" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.40×10³</text> | |
| <text x="169.58" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.60×10³</text> | |
| <text x="173.97" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.80×10³</text> | |
| <text x="178.37" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.00×10³</text> | |
| <text x="182.76" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.20×10³</text> | |
| <text x="187.16" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.40×10³</text> | |
| <text x="191.55" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.60×10³</text> | |
| <text x="195.95" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.80×10³</text> | |
| <text x="200.34" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.00×10³</text> | |
| <text x="204.74" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.20×10³</text> | |
| <text x="209.13" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.40×10³</text> | |
| <text x="213.53" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.60×10³</text> | |
| <text x="217.92" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.80×10³</text> | |
| <text x="222.32" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.00×10³</text> | |
| <text x="226.71" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.20×10³</text> | |
| <text x="231.11" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.40×10³</text> | |
| <text x="235.5" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.60×10³</text> | |
| <text x="239.9" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.80×10³</text> | |
| <text x="244.29" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.00×10⁴</text> | |
| <text x="-85.32" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">-5.0×10³</text> | |
| <text x="24.55" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">0</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">5.0×10³</text> | |
| <text x="244.29" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">1.0×10⁴</text> | |
| <text x="-85.32" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-5.00×10³</text> | |
| <text x="-74.33" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-4.50×10³</text> | |
| <text x="-63.35" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-4.00×10³</text> | |
| <text x="-52.36" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-3.50×10³</text> | |
| <text x="-41.37" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-3.00×10³</text> | |
| <text x="-30.38" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-2.50×10³</text> | |
| <text x="-19.4" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-2.00×10³</text> | |
| <text x="-8.41" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-1.50×10³</text> | |
| <text x="2.58" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-1.00×10³</text> | |
| <text x="13.56" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-5.00×10²</text> | |
| <text x="24.55" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">0</text> | |
| <text x="35.54" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">5.00×10²</text> | |
| <text x="46.52" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">1.00×10³</text> | |
| <text x="57.51" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">1.50×10³</text> | |
| <text x="68.5" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">2.00×10³</text> | |
| <text x="79.49" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">2.50×10³</text> | |
| <text x="90.47" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">3.00×10³</text> | |
| <text x="101.46" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">3.50×10³</text> | |
| <text x="112.45" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">4.00×10³</text> | |
| <text x="123.43" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">4.50×10³</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">5.00×10³</text> | |
| <text x="145.41" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">5.50×10³</text> | |
| <text x="156.4" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">6.00×10³</text> | |
| <text x="167.38" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">6.50×10³</text> | |
| <text x="178.37" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">7.00×10³</text> | |
| <text x="189.36" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">7.50×10³</text> | |
| <text x="200.34" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">8.00×10³</text> | |
| <text x="211.33" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">8.50×10³</text> | |
| <text x="222.32" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">9.00×10³</text> | |
| <text x="233.3" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">9.50×10³</text> | |
| <text x="244.29" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">1.00×10⁴</text> | |
| </g> | |
| <g clip-path="url(#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-5)" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-4"> | |
| <g pointer-events="visible" opacity="1" fill="none" stroke="none" class="guide background" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-6"> | |
| <rect x="22.55" y="12.61" width="113.87" height="68.3"/> | |
| </g> | |
| <g class="guide ygridlines xfixed" stroke-dasharray="0.5,0.5" stroke-width="0.2" stroke="#D0D0E0" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-7"> | |
| <path fill="none" d="M22.55,153.92 L 136.42 153.92" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,143.21 L 136.42 143.21" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,132.49 L 136.42 132.49" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,121.77 L 136.42 121.77" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,111.06 L 136.42 111.06" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,100.34 L 136.42 100.34" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,89.63 L 136.42 89.63" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,78.91 L 136.42 78.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M22.55,68.19 L 136.42 68.19" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M22.55,57.48 L 136.42 57.48" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M22.55,46.76 L 136.42 46.76" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M22.55,36.04 L 136.42 36.04" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M22.55,25.33 L 136.42 25.33" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M22.55,14.61 L 136.42 14.61" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M22.55,3.9 L 136.42 3.9" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-6.82 L 136.42 -6.82" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-17.54 L 136.42 -17.54" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-28.25 L 136.42 -28.25" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-38.97 L 136.42 -38.97" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-49.69 L 136.42 -49.69" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-60.4 L 136.42 -60.4" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,143.21 L 136.42 143.21" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,141.06 L 136.42 141.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,138.92 L 136.42 138.92" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,136.78 L 136.42 136.78" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,134.63 L 136.42 134.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,132.49 L 136.42 132.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,130.35 L 136.42 130.35" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,128.2 L 136.42 128.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,126.06 L 136.42 126.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,123.92 L 136.42 123.92" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,121.77 L 136.42 121.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,119.63 L 136.42 119.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,117.49 L 136.42 117.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,115.34 L 136.42 115.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,113.2 L 136.42 113.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,111.06 L 136.42 111.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,108.91 L 136.42 108.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,106.77 L 136.42 106.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,104.63 L 136.42 104.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,102.48 L 136.42 102.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,100.34 L 136.42 100.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,98.2 L 136.42 98.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,96.06 L 136.42 96.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,93.91 L 136.42 93.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,91.77 L 136.42 91.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,89.63 L 136.42 89.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,87.48 L 136.42 87.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,85.34 L 136.42 85.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,83.2 L 136.42 83.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,81.05 L 136.42 81.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,78.91 L 136.42 78.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,76.77 L 136.42 76.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,74.62 L 136.42 74.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,72.48 L 136.42 72.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,70.34 L 136.42 70.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,68.19 L 136.42 68.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,66.05 L 136.42 66.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,63.91 L 136.42 63.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,61.76 L 136.42 61.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,59.62 L 136.42 59.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,57.48 L 136.42 57.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,55.33 L 136.42 55.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,53.19 L 136.42 53.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,51.05 L 136.42 51.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,48.9 L 136.42 48.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,46.76 L 136.42 46.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,44.62 L 136.42 44.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,42.47 L 136.42 42.47" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,40.33 L 136.42 40.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,38.19 L 136.42 38.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,36.04 L 136.42 36.04" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,33.9 L 136.42 33.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,31.76 L 136.42 31.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,29.61 L 136.42 29.61" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,27.47 L 136.42 27.47" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,25.33 L 136.42 25.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,23.18 L 136.42 23.18" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,21.04 L 136.42 21.04" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,18.9 L 136.42 18.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,16.75 L 136.42 16.75" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,14.61 L 136.42 14.61" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,12.47 L 136.42 12.47" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,10.33 L 136.42 10.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,8.18 L 136.42 8.18" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,6.04 L 136.42 6.04" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,3.9 L 136.42 3.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,1.75 L 136.42 1.75" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-0.39 L 136.42 -0.39" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-2.53 L 136.42 -2.53" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-4.68 L 136.42 -4.68" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-6.82 L 136.42 -6.82" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-8.96 L 136.42 -8.96" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-11.11 L 136.42 -11.11" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-13.25 L 136.42 -13.25" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-15.39 L 136.42 -15.39" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-17.54 L 136.42 -17.54" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-19.68 L 136.42 -19.68" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-21.82 L 136.42 -21.82" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-23.97 L 136.42 -23.97" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-26.11 L 136.42 -26.11" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-28.25 L 136.42 -28.25" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-30.4 L 136.42 -30.4" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-32.54 L 136.42 -32.54" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-34.68 L 136.42 -34.68" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-36.83 L 136.42 -36.83" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-38.97 L 136.42 -38.97" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-41.11 L 136.42 -41.11" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-43.26 L 136.42 -43.26" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-45.4 L 136.42 -45.4" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-47.54 L 136.42 -47.54" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-49.69 L 136.42 -49.69" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,175.36 L 136.42 175.36" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M22.55,68.19 L 136.42 68.19" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-38.97 L 136.42 -38.97" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-146.13 L 136.42 -146.13" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M22.55,143.21 L 136.42 143.21" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,137.85 L 136.42 137.85" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,132.49 L 136.42 132.49" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,127.13 L 136.42 127.13" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,121.77 L 136.42 121.77" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,116.42 L 136.42 116.42" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,111.06 L 136.42 111.06" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,105.7 L 136.42 105.7" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,100.34 L 136.42 100.34" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,94.98 L 136.42 94.98" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,89.63 L 136.42 89.63" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,84.27 L 136.42 84.27" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,78.91 L 136.42 78.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,73.55 L 136.42 73.55" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,68.19 L 136.42 68.19" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,62.83 L 136.42 62.83" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,57.48 L 136.42 57.48" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,52.12 L 136.42 52.12" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,46.76 L 136.42 46.76" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,41.4 L 136.42 41.4" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,36.04 L 136.42 36.04" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,30.69 L 136.42 30.69" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,25.33 L 136.42 25.33" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,19.97 L 136.42 19.97" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,14.61 L 136.42 14.61" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,9.25 L 136.42 9.25" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,3.9 L 136.42 3.9" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-1.46 L 136.42 -1.46" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-6.82 L 136.42 -6.82" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-12.18 L 136.42 -12.18" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-17.54 L 136.42 -17.54" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-22.9 L 136.42 -22.9" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-28.25 L 136.42 -28.25" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-33.61 L 136.42 -33.61" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-38.97 L 136.42 -38.97" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-44.33 L 136.42 -44.33" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M22.55,-49.69 L 136.42 -49.69" gadfly:scale="5.0" visibility="hidden"/> | |
| </g> | |
| <g class="guide xgridlines yfixed" stroke-dasharray="0.5,0.5" stroke-width="0.2" stroke="#D0D0E0" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-8"> | |
| <path fill="none" d="M-107.29,12.61 L -107.29 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-85.32,12.61 L -85.32 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-63.35,12.61 L -63.35 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-41.37,12.61 L -41.37 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-19.4,12.61 L -19.4 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M2.58,12.61 L 2.58 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M24.55,12.61 L 24.55 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M46.52,12.61 L 46.52 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M68.5,12.61 L 68.5 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M90.47,12.61 L 90.47 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M112.45,12.61 L 112.45 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M156.4,12.61 L 156.4 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M178.37,12.61 L 178.37 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M200.34,12.61 L 200.34 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M222.32,12.61 L 222.32 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M244.29,12.61 L 244.29 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M266.27,12.61 L 266.27 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-85.32,12.61 L -85.32 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-80.92,12.61 L -80.92 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-76.53,12.61 L -76.53 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-72.14,12.61 L -72.14 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-67.74,12.61 L -67.74 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-63.35,12.61 L -63.35 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-58.95,12.61 L -58.95 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-54.56,12.61 L -54.56 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-50.16,12.61 L -50.16 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-45.77,12.61 L -45.77 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-41.37,12.61 L -41.37 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-36.98,12.61 L -36.98 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-32.58,12.61 L -32.58 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-28.19,12.61 L -28.19 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-23.79,12.61 L -23.79 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-19.4,12.61 L -19.4 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-15,12.61 L -15 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-10.61,12.61 L -10.61 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-6.21,12.61 L -6.21 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-1.82,12.61 L -1.82 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M2.58,12.61 L 2.58 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M6.97,12.61 L 6.97 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M11.37,12.61 L 11.37 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M15.76,12.61 L 15.76 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M20.16,12.61 L 20.16 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M24.55,12.61 L 24.55 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M28.95,12.61 L 28.95 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M33.34,12.61 L 33.34 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M37.74,12.61 L 37.74 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M42.13,12.61 L 42.13 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M46.52,12.61 L 46.52 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M50.92,12.61 L 50.92 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M55.31,12.61 L 55.31 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M59.71,12.61 L 59.71 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M64.1,12.61 L 64.1 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M68.5,12.61 L 68.5 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M72.89,12.61 L 72.89 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M77.29,12.61 L 77.29 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M81.68,12.61 L 81.68 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M86.08,12.61 L 86.08 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M90.47,12.61 L 90.47 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M94.87,12.61 L 94.87 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M99.26,12.61 L 99.26 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M103.66,12.61 L 103.66 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M108.05,12.61 L 108.05 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M112.45,12.61 L 112.45 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M116.84,12.61 L 116.84 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M121.24,12.61 L 121.24 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M125.63,12.61 L 125.63 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M130.03,12.61 L 130.03 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M138.82,12.61 L 138.82 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M143.21,12.61 L 143.21 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M147.61,12.61 L 147.61 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M152,12.61 L 152 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M156.4,12.61 L 156.4 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M160.79,12.61 L 160.79 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M165.19,12.61 L 165.19 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M169.58,12.61 L 169.58 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M173.97,12.61 L 173.97 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M178.37,12.61 L 178.37 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M182.76,12.61 L 182.76 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M187.16,12.61 L 187.16 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M191.55,12.61 L 191.55 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M195.95,12.61 L 195.95 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M200.34,12.61 L 200.34 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M204.74,12.61 L 204.74 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M209.13,12.61 L 209.13 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M213.53,12.61 L 213.53 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M217.92,12.61 L 217.92 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M222.32,12.61 L 222.32 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M226.71,12.61 L 226.71 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M231.11,12.61 L 231.11 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M235.5,12.61 L 235.5 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M239.9,12.61 L 239.9 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M244.29,12.61 L 244.29 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-85.32,12.61 L -85.32 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M24.55,12.61 L 24.55 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M244.29,12.61 L 244.29 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M-85.32,12.61 L -85.32 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-74.33,12.61 L -74.33 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-63.35,12.61 L -63.35 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-52.36,12.61 L -52.36 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-41.37,12.61 L -41.37 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-30.38,12.61 L -30.38 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-19.4,12.61 L -19.4 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-8.41,12.61 L -8.41 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M2.58,12.61 L 2.58 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M13.56,12.61 L 13.56 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M24.55,12.61 L 24.55 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M35.54,12.61 L 35.54 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M46.52,12.61 L 46.52 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M57.51,12.61 L 57.51 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M68.5,12.61 L 68.5 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M79.49,12.61 L 79.49 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M90.47,12.61 L 90.47 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M101.46,12.61 L 101.46 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M112.45,12.61 L 112.45 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M123.43,12.61 L 123.43 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M145.41,12.61 L 145.41 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M156.4,12.61 L 156.4 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M167.38,12.61 L 167.38 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M178.37,12.61 L 178.37 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M189.36,12.61 L 189.36 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M200.34,12.61 L 200.34 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M211.33,12.61 L 211.33 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M222.32,12.61 L 222.32 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M233.3,12.61 L 233.3 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M244.29,12.61 L 244.29 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| </g> | |
| <g class="plotpanel" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-9"> | |
| <g stroke-width="0.3" fill="none" class="geometry" stroke="#00BFFF" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-10"> | |
| <path fill="none" d="M24.55,69.28 L 24.99 69.06 25.43 68.84 25.87 68.63 26.32 68.41 26.76 68.2 27.2 67.98 27.64 67.77 28.08 67.55 28.52 67.34 28.96 67.12 29.4 66.91 29.85 66.69 30.29 66.48 30.73 66.26 31.17 66.05 31.61 65.83 32.05 65.62 32.49 65.4 32.93 65.19 33.38 64.97 33.82 64.76 34.26 64.54 34.7 64.33 35.14 64.11 35.58 63.9 36.02 63.68 36.46 63.47 36.91 63.25 37.35 63.03 37.79 62.82 38.23 62.6 38.67 62.39 39.11 62.17 39.55 61.96 39.99 61.74 40.44 61.53 40.88 61.31 41.32 61.1 41.76 60.88 42.2 60.67 42.64 60.45 43.08 60.24 43.52 60.02 43.97 59.81 44.41 59.59 44.85 59.38 45.29 59.16 45.73 58.95 46.17 58.73 46.61 58.52 47.05 58.3 47.5 58.09 47.94 57.87 48.38 57.66 48.82 57.44 49.26 57.22 49.7 57.01 50.14 56.79 50.58 56.58 51.03 56.36 51.47 56.15 51.91 55.93 52.35 55.72 52.79 55.5 53.23 55.29 53.67 55.07 54.11 54.86 54.56 54.64 55 54.43 55.44 54.21 55.88 54 56.32 53.78 56.76 53.57 57.2 53.35 57.64 53.14 58.09 52.92 58.53 52.71 58.97 52.49 59.41 52.28 59.85 52.06 60.29 51.85 60.73 51.63 61.17 51.41 61.62 51.2 62.06 50.98 62.5 50.77 62.94 50.55 63.38 50.34 63.82 50.12 64.26 49.91 64.7 49.69 65.15 49.48 65.59 49.26 66.03 49.05 66.47 48.83 66.91 48.62 67.35 48.4 67.79 48.19 68.23 47.97 68.68 47.76 69.12 47.54 69.56 47.33 70 47.11 70.44 46.9 70.88 46.68 71.32 46.47 71.76 46.25 72.21 46.04 72.65 45.82 73.09 45.6 73.53 45.39 73.97 45.17 74.41 44.96 74.85 44.74 75.29 44.53 75.74 44.31 76.18 44.1 76.62 43.88 77.06 43.67 77.5 43.45 77.94 43.24 78.38 43.02 78.82 42.81 79.27 42.59 79.71 42.38 80.15 42.16 80.59 41.95 81.03 41.73 81.47 41.52 81.91 41.3 82.35 41.09 82.8 40.87 83.24 40.66 83.68 40.44 84.12 40.23 84.56 40.01 85 39.79 85.44 39.58 85.88 39.36 86.33 39.15 86.77 38.93 87.21 38.72 87.65 38.5 88.09 38.29 88.53 38.07 88.97 37.86 89.41 37.64 89.86 37.43 90.3 37.21 90.74 37 91.18 36.78 91.62 36.57 92.06 36.35 92.5 36.14 92.94 35.92 93.39 35.71 93.83 35.49 94.27 35.28 94.71 35.06 95.15 34.85 95.59 34.63 96.03 34.42 96.47 34.2 96.92 33.98 97.36 33.77 97.8 33.55 98.24 33.34 98.68 33.12 99.12 32.91 99.56 32.69 100 32.48 100.45 32.26 100.89 32.05 101.33 31.83 101.77 31.62 102.21 31.4 102.65 31.19 103.09 30.97 103.53 30.76 103.98 30.54 104.42 30.33 104.86 30.11 105.3 29.9 105.74 29.68 106.18 29.47 106.62 29.25 107.06 29.04 107.51 28.82 107.95 28.61 108.39 28.39 108.83 28.17 109.27 27.96 109.71 27.74 110.15 27.53 110.59 27.31 111.04 27.1 111.48 26.88 111.92 26.67 112.36 26.45 112.8 26.24 113.24 26.02 113.68 25.81 114.12 25.59 114.57 25.38 115.01 25.16 115.45 24.95 115.89 24.73 116.33 24.52 116.77 24.3 117.21 24.09 117.65 23.87 118.1 23.66 118.54 23.44 118.98 23.23 119.42 23.01 119.86 22.8 120.3 22.58 120.74 22.36 121.18 22.15 121.63 21.93 122.07 21.72 122.51 21.5 122.95 21.29 123.39 21.07 123.83 20.86 124.27 20.64 124.71 20.43 125.16 20.21 125.6 20 126.04 19.78 126.48 19.57 126.92 19.35 127.36 19.14 127.8 18.92 128.24 18.71 128.69 18.49 129.13 18.28 129.57 18.06 130.01 17.85 130.45 17.63 130.89 17.42 131.33 17.2 131.77 16.99 132.22 16.77 132.66 16.55 133.1 16.34 133.54 16.12 133.98 15.91 134.42 15.69"/> | |
| </g> | |
| </g> | |
| <g opacity="0" class="guide zoomslider" stroke="none" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-11"> | |
| <g fill="#EAEAEA" stroke-width="0.3" stroke-opacity="0" stroke="#6A6A6A" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-12"> | |
| <rect x="129.42" y="15.61" width="4" height="4"/> | |
| <g class="button_logo" fill="#6A6A6A" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-13"> | |
| <path d="M130.22,17.21 L 131.02 17.21 131.02 16.41 131.82 16.41 131.82 17.21 132.62 17.21 132.62 18.01 131.82 18.01 131.82 18.81 131.02 18.81 131.02 18.01 130.22 18.01 z"/> | |
| </g> | |
| </g> | |
| <g fill="#EAEAEA" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-14"> | |
| <rect x="109.92" y="15.61" width="19" height="4"/> | |
| </g> | |
| <g class="zoomslider_thumb" fill="#6A6A6A" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-15"> | |
| <rect x="118.42" y="15.61" width="2" height="4"/> | |
| </g> | |
| <g fill="#EAEAEA" stroke-width="0.3" stroke-opacity="0" stroke="#6A6A6A" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-16"> | |
| <rect x="105.42" y="15.61" width="4" height="4"/> | |
| <g class="button_logo" fill="#6A6A6A" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-17"> | |
| <path d="M106.22,17.21 L 108.62 17.21 108.62 18.01 106.22 18.01 z"/> | |
| </g> | |
| </g> | |
| </g> | |
| </g> | |
| <g class="guide ylabels" font-size="2.82" font-family="'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif" fill="#6C606B" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-18"> | |
| <text x="21.55" y="153.92" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-800</text> | |
| <text x="21.55" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-700</text> | |
| <text x="21.55" y="132.49" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-600</text> | |
| <text x="21.55" y="121.77" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-500</text> | |
| <text x="21.55" y="111.06" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-400</text> | |
| <text x="21.55" y="100.34" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-300</text> | |
| <text x="21.55" y="89.63" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-200</text> | |
| <text x="21.55" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">-100</text> | |
| <text x="21.55" y="68.19" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">0</text> | |
| <text x="21.55" y="57.48" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">100</text> | |
| <text x="21.55" y="46.76" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">200</text> | |
| <text x="21.55" y="36.04" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">300</text> | |
| <text x="21.55" y="25.33" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">400</text> | |
| <text x="21.55" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">500</text> | |
| <text x="21.55" y="3.9" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">600</text> | |
| <text x="21.55" y="-6.82" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">700</text> | |
| <text x="21.55" y="-17.54" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">800</text> | |
| <text x="21.55" y="-28.25" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">900</text> | |
| <text x="21.55" y="-38.97" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">1000</text> | |
| <text x="21.55" y="-49.69" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">1100</text> | |
| <text x="21.55" y="-60.4" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">1200</text> | |
| <text x="21.55" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-700</text> | |
| <text x="21.55" y="141.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-680</text> | |
| <text x="21.55" y="138.92" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-660</text> | |
| <text x="21.55" y="136.78" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-640</text> | |
| <text x="21.55" y="134.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-620</text> | |
| <text x="21.55" y="132.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-600</text> | |
| <text x="21.55" y="130.35" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-580</text> | |
| <text x="21.55" y="128.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-560</text> | |
| <text x="21.55" y="126.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-540</text> | |
| <text x="21.55" y="123.92" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-520</text> | |
| <text x="21.55" y="121.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-500</text> | |
| <text x="21.55" y="119.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-480</text> | |
| <text x="21.55" y="117.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-460</text> | |
| <text x="21.55" y="115.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-440</text> | |
| <text x="21.55" y="113.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-420</text> | |
| <text x="21.55" y="111.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-400</text> | |
| <text x="21.55" y="108.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-380</text> | |
| <text x="21.55" y="106.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-360</text> | |
| <text x="21.55" y="104.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-340</text> | |
| <text x="21.55" y="102.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-320</text> | |
| <text x="21.55" y="100.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-300</text> | |
| <text x="21.55" y="98.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-280</text> | |
| <text x="21.55" y="96.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-260</text> | |
| <text x="21.55" y="93.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-240</text> | |
| <text x="21.55" y="91.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-220</text> | |
| <text x="21.55" y="89.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-200</text> | |
| <text x="21.55" y="87.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-180</text> | |
| <text x="21.55" y="85.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-160</text> | |
| <text x="21.55" y="83.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-140</text> | |
| <text x="21.55" y="81.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-120</text> | |
| <text x="21.55" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-100</text> | |
| <text x="21.55" y="76.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-80</text> | |
| <text x="21.55" y="74.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-60</text> | |
| <text x="21.55" y="72.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-40</text> | |
| <text x="21.55" y="70.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-20</text> | |
| <text x="21.55" y="68.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0</text> | |
| <text x="21.55" y="66.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">20</text> | |
| <text x="21.55" y="63.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">40</text> | |
| <text x="21.55" y="61.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">60</text> | |
| <text x="21.55" y="59.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">80</text> | |
| <text x="21.55" y="57.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">100</text> | |
| <text x="21.55" y="55.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">120</text> | |
| <text x="21.55" y="53.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">140</text> | |
| <text x="21.55" y="51.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">160</text> | |
| <text x="21.55" y="48.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">180</text> | |
| <text x="21.55" y="46.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">200</text> | |
| <text x="21.55" y="44.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">220</text> | |
| <text x="21.55" y="42.47" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">240</text> | |
| <text x="21.55" y="40.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">260</text> | |
| <text x="21.55" y="38.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">280</text> | |
| <text x="21.55" y="36.04" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">300</text> | |
| <text x="21.55" y="33.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">320</text> | |
| <text x="21.55" y="31.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">340</text> | |
| <text x="21.55" y="29.61" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">360</text> | |
| <text x="21.55" y="27.47" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">380</text> | |
| <text x="21.55" y="25.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">400</text> | |
| <text x="21.55" y="23.18" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">420</text> | |
| <text x="21.55" y="21.04" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">440</text> | |
| <text x="21.55" y="18.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">460</text> | |
| <text x="21.55" y="16.75" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">480</text> | |
| <text x="21.55" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">500</text> | |
| <text x="21.55" y="12.47" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">520</text> | |
| <text x="21.55" y="10.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">540</text> | |
| <text x="21.55" y="8.18" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">560</text> | |
| <text x="21.55" y="6.04" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">580</text> | |
| <text x="21.55" y="3.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">600</text> | |
| <text x="21.55" y="1.75" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">620</text> | |
| <text x="21.55" y="-0.39" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">640</text> | |
| <text x="21.55" y="-2.53" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">660</text> | |
| <text x="21.55" y="-4.68" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">680</text> | |
| <text x="21.55" y="-6.82" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">700</text> | |
| <text x="21.55" y="-8.96" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">720</text> | |
| <text x="21.55" y="-11.11" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">740</text> | |
| <text x="21.55" y="-13.25" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">760</text> | |
| <text x="21.55" y="-15.39" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">780</text> | |
| <text x="21.55" y="-17.54" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">800</text> | |
| <text x="21.55" y="-19.68" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">820</text> | |
| <text x="21.55" y="-21.82" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">840</text> | |
| <text x="21.55" y="-23.97" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">860</text> | |
| <text x="21.55" y="-26.11" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">880</text> | |
| <text x="21.55" y="-28.25" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">900</text> | |
| <text x="21.55" y="-30.4" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">920</text> | |
| <text x="21.55" y="-32.54" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">940</text> | |
| <text x="21.55" y="-34.68" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">960</text> | |
| <text x="21.55" y="-36.83" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">980</text> | |
| <text x="21.55" y="-38.97" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">1000</text> | |
| <text x="21.55" y="-41.11" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">1020</text> | |
| <text x="21.55" y="-43.26" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">1040</text> | |
| <text x="21.55" y="-45.4" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">1060</text> | |
| <text x="21.55" y="-47.54" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">1080</text> | |
| <text x="21.55" y="-49.69" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">1100</text> | |
| <text x="21.55" y="175.36" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">-1000</text> | |
| <text x="21.55" y="68.19" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">0</text> | |
| <text x="21.55" y="-38.97" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">1000</text> | |
| <text x="21.55" y="-146.13" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">2000</text> | |
| <text x="21.55" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-700</text> | |
| <text x="21.55" y="137.85" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-650</text> | |
| <text x="21.55" y="132.49" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-600</text> | |
| <text x="21.55" y="127.13" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-550</text> | |
| <text x="21.55" y="121.77" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-500</text> | |
| <text x="21.55" y="116.42" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-450</text> | |
| <text x="21.55" y="111.06" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-400</text> | |
| <text x="21.55" y="105.7" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-350</text> | |
| <text x="21.55" y="100.34" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-300</text> | |
| <text x="21.55" y="94.98" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-250</text> | |
| <text x="21.55" y="89.63" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-200</text> | |
| <text x="21.55" y="84.27" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-150</text> | |
| <text x="21.55" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-100</text> | |
| <text x="21.55" y="73.55" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-50</text> | |
| <text x="21.55" y="68.19" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0</text> | |
| <text x="21.55" y="62.83" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">50</text> | |
| <text x="21.55" y="57.48" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">100</text> | |
| <text x="21.55" y="52.12" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">150</text> | |
| <text x="21.55" y="46.76" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">200</text> | |
| <text x="21.55" y="41.4" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">250</text> | |
| <text x="21.55" y="36.04" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">300</text> | |
| <text x="21.55" y="30.69" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">350</text> | |
| <text x="21.55" y="25.33" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">400</text> | |
| <text x="21.55" y="19.97" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">450</text> | |
| <text x="21.55" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">500</text> | |
| <text x="21.55" y="9.25" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">550</text> | |
| <text x="21.55" y="3.9" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">600</text> | |
| <text x="21.55" y="-1.46" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">650</text> | |
| <text x="21.55" y="-6.82" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">700</text> | |
| <text x="21.55" y="-12.18" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">750</text> | |
| <text x="21.55" y="-17.54" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">800</text> | |
| <text x="21.55" y="-22.9" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">850</text> | |
| <text x="21.55" y="-28.25" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">900</text> | |
| <text x="21.55" y="-33.61" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">950</text> | |
| <text x="21.55" y="-38.97" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">1000</text> | |
| <text x="21.55" y="-44.33" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">1050</text> | |
| <text x="21.55" y="-49.69" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">1100</text> | |
| </g> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-19"> | |
| <text x="9.71" y="44.76" text-anchor="middle" dy="0.35em" transform="rotate(-90, 9.71, 46.76)">G'<tspan style="dominant-baseline:inherit" dy="0.6em" font-size="83%">i</tspan><tspan dy="-0.498000em"> Maximum</tspan></text> | |
| </g> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-20"> | |
| <text x="79.49" y="10.61" text-anchor="middle">Maximum AGI Research Rate vs. FAI Research Rate (Inverted)</text> | |
| </g> | |
| </g> | |
| <defs> | |
| <clipPath id="fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-5"> | |
| <path d="M22.55,12.61 L 136.42 12.61 136.42 80.91 22.55 80.91" /> | |
| </clipPath | |
| ></defs> | |
| <script> <![CDATA[ | |
| (function(N){var k=/[\.\/]/,L=/\s*,\s*/,C=function(a,d){return a-d},a,v,y={n:{}},M=function(){for(var a=0,d=this.length;a<d;a++)if("undefined"!=typeof this[a])return this[a]},A=function(){for(var a=this.length;--a;)if("undefined"!=typeof this[a])return this[a]},w=function(k,d){k=String(k);var f=v,n=Array.prototype.slice.call(arguments,2),u=w.listeners(k),p=0,b,q=[],e={},l=[],r=a;l.firstDefined=M;l.lastDefined=A;a=k;for(var s=v=0,x=u.length;s<x;s++)"zIndex"in u[s]&&(q.push(u[s].zIndex),0>u[s].zIndex&& | |
| (e[u[s].zIndex]=u[s]));for(q.sort(C);0>q[p];)if(b=e[q[p++] ],l.push(b.apply(d,n)),v)return v=f,l;for(s=0;s<x;s++)if(b=u[s],"zIndex"in b)if(b.zIndex==q[p]){l.push(b.apply(d,n));if(v)break;do if(p++,(b=e[q[p] ])&&l.push(b.apply(d,n)),v)break;while(b)}else e[b.zIndex]=b;else if(l.push(b.apply(d,n)),v)break;v=f;a=r;return l};w._events=y;w.listeners=function(a){a=a.split(k);var d=y,f,n,u,p,b,q,e,l=[d],r=[];u=0;for(p=a.length;u<p;u++){e=[];b=0;for(q=l.length;b<q;b++)for(d=l[b].n,f=[d[a[u] ],d["*"] ],n=2;n--;)if(d= | |
| f[n])e.push(d),r=r.concat(d.f||[]);l=e}return r};w.on=function(a,d){a=String(a);if("function"!=typeof d)return function(){};for(var f=a.split(L),n=0,u=f.length;n<u;n++)(function(a){a=a.split(k);for(var b=y,f,e=0,l=a.length;e<l;e++)b=b.n,b=b.hasOwnProperty(a[e])&&b[a[e] ]||(b[a[e] ]={n:{}});b.f=b.f||[];e=0;for(l=b.f.length;e<l;e++)if(b.f[e]==d){f=!0;break}!f&&b.f.push(d)})(f[n]);return function(a){+a==+a&&(d.zIndex=+a)}};w.f=function(a){var d=[].slice.call(arguments,1);return function(){w.apply(null, | |
| [a,null].concat(d).concat([].slice.call(arguments,0)))}};w.stop=function(){v=1};w.nt=function(k){return k?(new RegExp("(?:\\.|\\/|^)"+k+"(?:\\.|\\/|$)")).test(a):a};w.nts=function(){return a.split(k)};w.off=w.unbind=function(a,d){if(a){var f=a.split(L);if(1<f.length)for(var n=0,u=f.length;n<u;n++)w.off(f[n],d);else{for(var f=a.split(k),p,b,q,e,l=[y],n=0,u=f.length;n<u;n++)for(e=0;e<l.length;e+=q.length-2){q=[e,1];p=l[e].n;if("*"!=f[n])p[f[n] ]&&q.push(p[f[n] ]);else for(b in p)p.hasOwnProperty(b)&& | |
| q.push(p[b]);l.splice.apply(l,q)}n=0;for(u=l.length;n<u;n++)for(p=l[n];p.n;){if(d){if(p.f){e=0;for(f=p.f.length;e<f;e++)if(p.f[e]==d){p.f.splice(e,1);break}!p.f.length&&delete p.f}for(b in p.n)if(p.n.hasOwnProperty(b)&&p.n[b].f){q=p.n[b].f;e=0;for(f=q.length;e<f;e++)if(q[e]==d){q.splice(e,1);break}!q.length&&delete p.n[b].f}}else for(b in delete p.f,p.n)p.n.hasOwnProperty(b)&&p.n[b].f&&delete p.n[b].f;p=p.n}}}else w._events=y={n:{}}};w.once=function(a,d){var f=function(){w.unbind(a,f);return d.apply(this, | |
| arguments)};return w.on(a,f)};w.version="0.4.2";w.toString=function(){return"You are running Eve 0.4.2"};"undefined"!=typeof module&&module.exports?module.exports=w:"function"===typeof define&&define.amd?define("eve",[],function(){return w}):N.eve=w})(this); | |
| (function(N,k){"function"===typeof define&&define.amd?define("Snap.svg",["eve"],function(L){return k(N,L)}):k(N,N.eve)})(this,function(N,k){var L=function(a){var k={},y=N.requestAnimationFrame||N.webkitRequestAnimationFrame||N.mozRequestAnimationFrame||N.oRequestAnimationFrame||N.msRequestAnimationFrame||function(a){setTimeout(a,16)},M=Array.isArray||function(a){return a instanceof Array||"[object Array]"==Object.prototype.toString.call(a)},A=0,w="M"+(+new Date).toString(36),z=function(a){if(null== | |
| a)return this.s;var b=this.s-a;this.b+=this.dur*b;this.B+=this.dur*b;this.s=a},d=function(a){if(null==a)return this.spd;this.spd=a},f=function(a){if(null==a)return this.dur;this.s=this.s*a/this.dur;this.dur=a},n=function(){delete k[this.id];this.update();a("mina.stop."+this.id,this)},u=function(){this.pdif||(delete k[this.id],this.update(),this.pdif=this.get()-this.b)},p=function(){this.pdif&&(this.b=this.get()-this.pdif,delete this.pdif,k[this.id]=this)},b=function(){var a;if(M(this.start)){a=[]; | |
| for(var b=0,e=this.start.length;b<e;b++)a[b]=+this.start[b]+(this.end[b]-this.start[b])*this.easing(this.s)}else a=+this.start+(this.end-this.start)*this.easing(this.s);this.set(a)},q=function(){var l=0,b;for(b in k)if(k.hasOwnProperty(b)){var e=k[b],f=e.get();l++;e.s=(f-e.b)/(e.dur/e.spd);1<=e.s&&(delete k[b],e.s=1,l--,function(b){setTimeout(function(){a("mina.finish."+b.id,b)})}(e));e.update()}l&&y(q)},e=function(a,r,s,x,G,h,J){a={id:w+(A++).toString(36),start:a,end:r,b:s,s:0,dur:x-s,spd:1,get:G, | |
| set:h,easing:J||e.linear,status:z,speed:d,duration:f,stop:n,pause:u,resume:p,update:b};k[a.id]=a;r=0;for(var K in k)if(k.hasOwnProperty(K)&&(r++,2==r))break;1==r&&y(q);return a};e.time=Date.now||function(){return+new Date};e.getById=function(a){return k[a]||null};e.linear=function(a){return a};e.easeout=function(a){return Math.pow(a,1.7)};e.easein=function(a){return Math.pow(a,0.48)};e.easeinout=function(a){if(1==a)return 1;if(0==a)return 0;var b=0.48-a/1.04,e=Math.sqrt(0.1734+b*b);a=e-b;a=Math.pow(Math.abs(a), | |
| 1/3)*(0>a?-1:1);b=-e-b;b=Math.pow(Math.abs(b),1/3)*(0>b?-1:1);a=a+b+0.5;return 3*(1-a)*a*a+a*a*a};e.backin=function(a){return 1==a?1:a*a*(2.70158*a-1.70158)};e.backout=function(a){if(0==a)return 0;a-=1;return a*a*(2.70158*a+1.70158)+1};e.elastic=function(a){return a==!!a?a:Math.pow(2,-10*a)*Math.sin(2*(a-0.075)*Math.PI/0.3)+1};e.bounce=function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a}; | |
| return N.mina=e}("undefined"==typeof k?function(){}:k),C=function(){function a(c,t){if(c){if(c.tagName)return x(c);if(y(c,"array")&&a.set)return a.set.apply(a,c);if(c instanceof e)return c;if(null==t)return c=G.doc.querySelector(c),x(c)}return new s(null==c?"100%":c,null==t?"100%":t)}function v(c,a){if(a){"#text"==c&&(c=G.doc.createTextNode(a.text||""));"string"==typeof c&&(c=v(c));if("string"==typeof a)return"xlink:"==a.substring(0,6)?c.getAttributeNS(m,a.substring(6)):"xml:"==a.substring(0,4)?c.getAttributeNS(la, | |
| a.substring(4)):c.getAttribute(a);for(var da in a)if(a[h](da)){var b=J(a[da]);b?"xlink:"==da.substring(0,6)?c.setAttributeNS(m,da.substring(6),b):"xml:"==da.substring(0,4)?c.setAttributeNS(la,da.substring(4),b):c.setAttribute(da,b):c.removeAttribute(da)}}else c=G.doc.createElementNS(la,c);return c}function y(c,a){a=J.prototype.toLowerCase.call(a);return"finite"==a?isFinite(c):"array"==a&&(c instanceof Array||Array.isArray&&Array.isArray(c))?!0:"null"==a&&null===c||a==typeof c&&null!==c||"object"== | |
| a&&c===Object(c)||$.call(c).slice(8,-1).toLowerCase()==a}function M(c){if("function"==typeof c||Object(c)!==c)return c;var a=new c.constructor,b;for(b in c)c[h](b)&&(a[b]=M(c[b]));return a}function A(c,a,b){function m(){var e=Array.prototype.slice.call(arguments,0),f=e.join("\u2400"),d=m.cache=m.cache||{},l=m.count=m.count||[];if(d[h](f)){a:for(var e=l,l=f,B=0,H=e.length;B<H;B++)if(e[B]===l){e.push(e.splice(B,1)[0]);break a}return b?b(d[f]):d[f]}1E3<=l.length&&delete d[l.shift()];l.push(f);d[f]=c.apply(a, | |
| e);return b?b(d[f]):d[f]}return m}function w(c,a,b,m,e,f){return null==e?(c-=b,a-=m,c||a?(180*I.atan2(-a,-c)/C+540)%360:0):w(c,a,e,f)-w(b,m,e,f)}function z(c){return c%360*C/180}function d(c){var a=[];c=c.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(c,b,m){m=m.split(/\s*,\s*|\s+/);"rotate"==b&&1==m.length&&m.push(0,0);"scale"==b&&(2<m.length?m=m.slice(0,2):2==m.length&&m.push(0,0),1==m.length&&m.push(m[0],0,0));"skewX"==b?a.push(["m",1,0,I.tan(z(m[0])),1,0,0]):"skewY"==b?a.push(["m",1,I.tan(z(m[0])), | |
| 0,1,0,0]):a.push([b.charAt(0)].concat(m));return c});return a}function f(c,t){var b=O(c),m=new a.Matrix;if(b)for(var e=0,f=b.length;e<f;e++){var h=b[e],d=h.length,B=J(h[0]).toLowerCase(),H=h[0]!=B,l=H?m.invert():0,E;"t"==B&&2==d?m.translate(h[1],0):"t"==B&&3==d?H?(d=l.x(0,0),B=l.y(0,0),H=l.x(h[1],h[2]),l=l.y(h[1],h[2]),m.translate(H-d,l-B)):m.translate(h[1],h[2]):"r"==B?2==d?(E=E||t,m.rotate(h[1],E.x+E.width/2,E.y+E.height/2)):4==d&&(H?(H=l.x(h[2],h[3]),l=l.y(h[2],h[3]),m.rotate(h[1],H,l)):m.rotate(h[1], | |
| h[2],h[3])):"s"==B?2==d||3==d?(E=E||t,m.scale(h[1],h[d-1],E.x+E.width/2,E.y+E.height/2)):4==d?H?(H=l.x(h[2],h[3]),l=l.y(h[2],h[3]),m.scale(h[1],h[1],H,l)):m.scale(h[1],h[1],h[2],h[3]):5==d&&(H?(H=l.x(h[3],h[4]),l=l.y(h[3],h[4]),m.scale(h[1],h[2],H,l)):m.scale(h[1],h[2],h[3],h[4])):"m"==B&&7==d&&m.add(h[1],h[2],h[3],h[4],h[5],h[6])}return m}function n(c,t){if(null==t){var m=!0;t="linearGradient"==c.type||"radialGradient"==c.type?c.node.getAttribute("gradientTransform"):"pattern"==c.type?c.node.getAttribute("patternTransform"): | |
| c.node.getAttribute("transform");if(!t)return new a.Matrix;t=d(t)}else t=a._.rgTransform.test(t)?J(t).replace(/\.{3}|\u2026/g,c._.transform||aa):d(t),y(t,"array")&&(t=a.path?a.path.toString.call(t):J(t)),c._.transform=t;var b=f(t,c.getBBox(1));if(m)return b;c.matrix=b}function u(c){c=c.node.ownerSVGElement&&x(c.node.ownerSVGElement)||c.node.parentNode&&x(c.node.parentNode)||a.select("svg")||a(0,0);var t=c.select("defs"),t=null==t?!1:t.node;t||(t=r("defs",c.node).node);return t}function p(c){return c.node.ownerSVGElement&& | |
| x(c.node.ownerSVGElement)||a.select("svg")}function b(c,a,m){function b(c){if(null==c)return aa;if(c==+c)return c;v(B,{width:c});try{return B.getBBox().width}catch(a){return 0}}function h(c){if(null==c)return aa;if(c==+c)return c;v(B,{height:c});try{return B.getBBox().height}catch(a){return 0}}function e(b,B){null==a?d[b]=B(c.attr(b)||0):b==a&&(d=B(null==m?c.attr(b)||0:m))}var f=p(c).node,d={},B=f.querySelector(".svg---mgr");B||(B=v("rect"),v(B,{x:-9E9,y:-9E9,width:10,height:10,"class":"svg---mgr", | |
| fill:"none"}),f.appendChild(B));switch(c.type){case "rect":e("rx",b),e("ry",h);case "image":e("width",b),e("height",h);case "text":e("x",b);e("y",h);break;case "circle":e("cx",b);e("cy",h);e("r",b);break;case "ellipse":e("cx",b);e("cy",h);e("rx",b);e("ry",h);break;case "line":e("x1",b);e("x2",b);e("y1",h);e("y2",h);break;case "marker":e("refX",b);e("markerWidth",b);e("refY",h);e("markerHeight",h);break;case "radialGradient":e("fx",b);e("fy",h);break;case "tspan":e("dx",b);e("dy",h);break;default:e(a, | |
| b)}f.removeChild(B);return d}function q(c){y(c,"array")||(c=Array.prototype.slice.call(arguments,0));for(var a=0,b=0,m=this.node;this[a];)delete this[a++];for(a=0;a<c.length;a++)"set"==c[a].type?c[a].forEach(function(c){m.appendChild(c.node)}):m.appendChild(c[a].node);for(var h=m.childNodes,a=0;a<h.length;a++)this[b++]=x(h[a]);return this}function e(c){if(c.snap in E)return E[c.snap];var a=this.id=V(),b;try{b=c.ownerSVGElement}catch(m){}this.node=c;b&&(this.paper=new s(b));this.type=c.tagName;this.anims= | |
| {};this._={transform:[]};c.snap=a;E[a]=this;"g"==this.type&&(this.add=q);if(this.type in{g:1,mask:1,pattern:1})for(var e in s.prototype)s.prototype[h](e)&&(this[e]=s.prototype[e])}function l(c){this.node=c}function r(c,a){var b=v(c);a.appendChild(b);return x(b)}function s(c,a){var b,m,f,d=s.prototype;if(c&&"svg"==c.tagName){if(c.snap in E)return E[c.snap];var l=c.ownerDocument;b=new e(c);m=c.getElementsByTagName("desc")[0];f=c.getElementsByTagName("defs")[0];m||(m=v("desc"),m.appendChild(l.createTextNode("Created with Snap")), | |
| b.node.appendChild(m));f||(f=v("defs"),b.node.appendChild(f));b.defs=f;for(var ca in d)d[h](ca)&&(b[ca]=d[ca]);b.paper=b.root=b}else b=r("svg",G.doc.body),v(b.node,{height:a,version:1.1,width:c,xmlns:la});return b}function x(c){return!c||c instanceof e||c instanceof l?c:c.tagName&&"svg"==c.tagName.toLowerCase()?new s(c):c.tagName&&"object"==c.tagName.toLowerCase()&&"image/svg+xml"==c.type?new s(c.contentDocument.getElementsByTagName("svg")[0]):new e(c)}a.version="0.3.0";a.toString=function(){return"Snap v"+ | |
| this.version};a._={};var G={win:N,doc:N.document};a._.glob=G;var h="hasOwnProperty",J=String,K=parseFloat,U=parseInt,I=Math,P=I.max,Q=I.min,Y=I.abs,C=I.PI,aa="",$=Object.prototype.toString,F=/^\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;a._.separator= | |
| RegExp("[,\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]+");var S=RegExp("[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*"),X={hs:1,rg:1},W=RegExp("([a-z])[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)", | |
| "ig"),ma=RegExp("([rstm])[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)","ig"),Z=RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*", | |
| "ig"),na=0,ba="S"+(+new Date).toString(36),V=function(){return ba+(na++).toString(36)},m="http://www.w3.org/1999/xlink",la="http://www.w3.org/2000/svg",E={},ca=a.url=function(c){return"url('#"+c+"')"};a._.$=v;a._.id=V;a.format=function(){var c=/\{([^\}]+)\}/g,a=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,b=function(c,b,m){var h=m;b.replace(a,function(c,a,b,m,t){a=a||m;h&&(a in h&&(h=h[a]),"function"==typeof h&&t&&(h=h()))});return h=(null==h||h==m?c:h)+""};return function(a,m){return J(a).replace(c, | |
| function(c,a){return b(c,a,m)})}}();a._.clone=M;a._.cacher=A;a.rad=z;a.deg=function(c){return 180*c/C%360};a.angle=w;a.is=y;a.snapTo=function(c,a,b){b=y(b,"finite")?b:10;if(y(c,"array"))for(var m=c.length;m--;){if(Y(c[m]-a)<=b)return c[m]}else{c=+c;m=a%c;if(m<b)return a-m;if(m>c-b)return a-m+c}return a};a.getRGB=A(function(c){if(!c||(c=J(c)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka};if("none"==c)return{r:-1,g:-1,b:-1,hex:"none",toString:ka};!X[h](c.toLowerCase().substring(0, | |
| 2))&&"#"!=c.charAt()&&(c=T(c));if(!c)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka};var b,m,e,f,d;if(c=c.match(F)){c[2]&&(e=U(c[2].substring(5),16),m=U(c[2].substring(3,5),16),b=U(c[2].substring(1,3),16));c[3]&&(e=U((d=c[3].charAt(3))+d,16),m=U((d=c[3].charAt(2))+d,16),b=U((d=c[3].charAt(1))+d,16));c[4]&&(d=c[4].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b*=2.55),m=K(d[1]),"%"==d[1].slice(-1)&&(m*=2.55),e=K(d[2]),"%"==d[2].slice(-1)&&(e*=2.55),"rgba"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])), | |
| d[3]&&"%"==d[3].slice(-1)&&(f/=100));if(c[5])return d=c[5].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b/=100),m=K(d[1]),"%"==d[1].slice(-1)&&(m/=100),e=K(d[2]),"%"==d[2].slice(-1)&&(e/=100),"deg"!=d[0].slice(-3)&&"\u00b0"!=d[0].slice(-1)||(b/=360),"hsba"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])),d[3]&&"%"==d[3].slice(-1)&&(f/=100),a.hsb2rgb(b,m,e,f);if(c[6])return d=c[6].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b/=100),m=K(d[1]),"%"==d[1].slice(-1)&&(m/=100),e=K(d[2]),"%"==d[2].slice(-1)&&(e/=100), | |
| "deg"!=d[0].slice(-3)&&"\u00b0"!=d[0].slice(-1)||(b/=360),"hsla"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])),d[3]&&"%"==d[3].slice(-1)&&(f/=100),a.hsl2rgb(b,m,e,f);b=Q(I.round(b),255);m=Q(I.round(m),255);e=Q(I.round(e),255);f=Q(P(f,0),1);c={r:b,g:m,b:e,toString:ka};c.hex="#"+(16777216|e|m<<8|b<<16).toString(16).slice(1);c.opacity=y(f,"finite")?f:1;return c}return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka}},a);a.hsb=A(function(c,b,m){return a.hsb2rgb(c,b,m).hex});a.hsl=A(function(c,b,m){return a.hsl2rgb(c, | |
| b,m).hex});a.rgb=A(function(c,a,b,m){if(y(m,"finite")){var e=I.round;return"rgba("+[e(c),e(a),e(b),+m.toFixed(2)]+")"}return"#"+(16777216|b|a<<8|c<<16).toString(16).slice(1)});var T=function(c){var a=G.doc.getElementsByTagName("head")[0]||G.doc.getElementsByTagName("svg")[0];T=A(function(c){if("red"==c.toLowerCase())return"rgb(255, 0, 0)";a.style.color="rgb(255, 0, 0)";a.style.color=c;c=G.doc.defaultView.getComputedStyle(a,aa).getPropertyValue("color");return"rgb(255, 0, 0)"==c?null:c});return T(c)}, | |
| qa=function(){return"hsb("+[this.h,this.s,this.b]+")"},ra=function(){return"hsl("+[this.h,this.s,this.l]+")"},ka=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},D=function(c,b,m){null==b&&y(c,"object")&&"r"in c&&"g"in c&&"b"in c&&(m=c.b,b=c.g,c=c.r);null==b&&y(c,string)&&(m=a.getRGB(c),c=m.r,b=m.g,m=m.b);if(1<c||1<b||1<m)c/=255,b/=255,m/=255;return[c,b,m]},oa=function(c,b,m,e){c=I.round(255*c);b=I.round(255*b);m=I.round(255*m);c={r:c, | |
| g:b,b:m,opacity:y(e,"finite")?e:1,hex:a.rgb(c,b,m),toString:ka};y(e,"finite")&&(c.opacity=e);return c};a.color=function(c){var b;y(c,"object")&&"h"in c&&"s"in c&&"b"in c?(b=a.hsb2rgb(c),c.r=b.r,c.g=b.g,c.b=b.b,c.opacity=1,c.hex=b.hex):y(c,"object")&&"h"in c&&"s"in c&&"l"in c?(b=a.hsl2rgb(c),c.r=b.r,c.g=b.g,c.b=b.b,c.opacity=1,c.hex=b.hex):(y(c,"string")&&(c=a.getRGB(c)),y(c,"object")&&"r"in c&&"g"in c&&"b"in c&&!("error"in c)?(b=a.rgb2hsl(c),c.h=b.h,c.s=b.s,c.l=b.l,b=a.rgb2hsb(c),c.v=b.b):(c={hex:"none"}, | |
| c.r=c.g=c.b=c.h=c.s=c.v=c.l=-1,c.error=1));c.toString=ka;return c};a.hsb2rgb=function(c,a,b,m){y(c,"object")&&"h"in c&&"s"in c&&"b"in c&&(b=c.b,a=c.s,c=c.h,m=c.o);var e,h,d;c=360*c%360/60;d=b*a;a=d*(1-Y(c%2-1));b=e=h=b-d;c=~~c;b+=[d,a,0,0,a,d][c];e+=[a,d,d,a,0,0][c];h+=[0,0,a,d,d,a][c];return oa(b,e,h,m)};a.hsl2rgb=function(c,a,b,m){y(c,"object")&&"h"in c&&"s"in c&&"l"in c&&(b=c.l,a=c.s,c=c.h);if(1<c||1<a||1<b)c/=360,a/=100,b/=100;var e,h,d;c=360*c%360/60;d=2*a*(0.5>b?b:1-b);a=d*(1-Y(c%2-1));b=e= | |
| h=b-d/2;c=~~c;b+=[d,a,0,0,a,d][c];e+=[a,d,d,a,0,0][c];h+=[0,0,a,d,d,a][c];return oa(b,e,h,m)};a.rgb2hsb=function(c,a,b){b=D(c,a,b);c=b[0];a=b[1];b=b[2];var m,e;m=P(c,a,b);e=m-Q(c,a,b);c=((0==e?0:m==c?(a-b)/e:m==a?(b-c)/e+2:(c-a)/e+4)+360)%6*60/360;return{h:c,s:0==e?0:e/m,b:m,toString:qa}};a.rgb2hsl=function(c,a,b){b=D(c,a,b);c=b[0];a=b[1];b=b[2];var m,e,h;m=P(c,a,b);e=Q(c,a,b);h=m-e;c=((0==h?0:m==c?(a-b)/h:m==a?(b-c)/h+2:(c-a)/h+4)+360)%6*60/360;m=(m+e)/2;return{h:c,s:0==h?0:0.5>m?h/(2*m):h/(2-2* | |
| m),l:m,toString:ra}};a.parsePathString=function(c){if(!c)return null;var b=a.path(c);if(b.arr)return a.path.clone(b.arr);var m={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},e=[];y(c,"array")&&y(c[0],"array")&&(e=a.path.clone(c));e.length||J(c).replace(W,function(c,a,b){var h=[];c=a.toLowerCase();b.replace(Z,function(c,a){a&&h.push(+a)});"m"==c&&2<h.length&&(e.push([a].concat(h.splice(0,2))),c="l",a="m"==a?"l":"L");"o"==c&&1==h.length&&e.push([a,h[0] ]);if("r"==c)e.push([a].concat(h));else for(;h.length>= | |
| m[c]&&(e.push([a].concat(h.splice(0,m[c]))),m[c]););});e.toString=a.path.toString;b.arr=a.path.clone(e);return e};var O=a.parseTransformString=function(c){if(!c)return null;var b=[];y(c,"array")&&y(c[0],"array")&&(b=a.path.clone(c));b.length||J(c).replace(ma,function(c,a,m){var e=[];a.toLowerCase();m.replace(Z,function(c,a){a&&e.push(+a)});b.push([a].concat(e))});b.toString=a.path.toString;return b};a._.svgTransform2string=d;a._.rgTransform=RegExp("^[a-z][\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*-?\\.?\\d", | |
| "i");a._.transform2matrix=f;a._unit2px=b;a._.getSomeDefs=u;a._.getSomeSVG=p;a.select=function(c){return x(G.doc.querySelector(c))};a.selectAll=function(c){c=G.doc.querySelectorAll(c);for(var b=(a.set||Array)(),m=0;m<c.length;m++)b.push(x(c[m]));return b};setInterval(function(){for(var c in E)if(E[h](c)){var a=E[c],b=a.node;("svg"!=a.type&&!b.ownerSVGElement||"svg"==a.type&&(!b.parentNode||"ownerSVGElement"in b.parentNode&&!b.ownerSVGElement))&&delete E[c]}},1E4);(function(c){function m(c){function a(c, | |
| b){var m=v(c.node,b);(m=(m=m&&m.match(d))&&m[2])&&"#"==m.charAt()&&(m=m.substring(1))&&(f[m]=(f[m]||[]).concat(function(a){var m={};m[b]=ca(a);v(c.node,m)}))}function b(c){var a=v(c.node,"xlink:href");a&&"#"==a.charAt()&&(a=a.substring(1))&&(f[a]=(f[a]||[]).concat(function(a){c.attr("xlink:href","#"+a)}))}var e=c.selectAll("*"),h,d=/^\s*url\(("|'|)(.*)\1\)\s*$/;c=[];for(var f={},l=0,E=e.length;l<E;l++){h=e[l];a(h,"fill");a(h,"stroke");a(h,"filter");a(h,"mask");a(h,"clip-path");b(h);var t=v(h.node, | |
| "id");t&&(v(h.node,{id:h.id}),c.push({old:t,id:h.id}))}l=0;for(E=c.length;l<E;l++)if(e=f[c[l].old])for(h=0,t=e.length;h<t;h++)e[h](c[l].id)}function e(c,a,b){return function(m){m=m.slice(c,a);1==m.length&&(m=m[0]);return b?b(m):m}}function d(c){return function(){var a=c?"<"+this.type:"",b=this.node.attributes,m=this.node.childNodes;if(c)for(var e=0,h=b.length;e<h;e++)a+=" "+b[e].name+'="'+b[e].value.replace(/"/g,'\\"')+'"';if(m.length){c&&(a+=">");e=0;for(h=m.length;e<h;e++)3==m[e].nodeType?a+=m[e].nodeValue: | |
| 1==m[e].nodeType&&(a+=x(m[e]).toString());c&&(a+="</"+this.type+">")}else c&&(a+="/>");return a}}c.attr=function(c,a){if(!c)return this;if(y(c,"string"))if(1<arguments.length){var b={};b[c]=a;c=b}else return k("snap.util.getattr."+c,this).firstDefined();for(var m in c)c[h](m)&&k("snap.util.attr."+m,this,c[m]);return this};c.getBBox=function(c){if(!a.Matrix||!a.path)return this.node.getBBox();var b=this,m=new a.Matrix;if(b.removed)return a._.box();for(;"use"==b.type;)if(c||(m=m.add(b.transform().localMatrix.translate(b.attr("x")|| | |
| 0,b.attr("y")||0))),b.original)b=b.original;else var e=b.attr("xlink:href"),b=b.original=b.node.ownerDocument.getElementById(e.substring(e.indexOf("#")+1));var e=b._,h=a.path.get[b.type]||a.path.get.deflt;try{if(c)return e.bboxwt=h?a.path.getBBox(b.realPath=h(b)):a._.box(b.node.getBBox()),a._.box(e.bboxwt);b.realPath=h(b);b.matrix=b.transform().localMatrix;e.bbox=a.path.getBBox(a.path.map(b.realPath,m.add(b.matrix)));return a._.box(e.bbox)}catch(d){return a._.box()}};var f=function(){return this.string}; | |
| c.transform=function(c){var b=this._;if(null==c){var m=this;c=new a.Matrix(this.node.getCTM());for(var e=n(this),h=[e],d=new a.Matrix,l=e.toTransformString(),b=J(e)==J(this.matrix)?J(b.transform):l;"svg"!=m.type&&(m=m.parent());)h.push(n(m));for(m=h.length;m--;)d.add(h[m]);return{string:b,globalMatrix:c,totalMatrix:d,localMatrix:e,diffMatrix:c.clone().add(e.invert()),global:c.toTransformString(),total:d.toTransformString(),local:l,toString:f}}c instanceof a.Matrix?this.matrix=c:n(this,c);this.node&& | |
| ("linearGradient"==this.type||"radialGradient"==this.type?v(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?v(this.node,{patternTransform:this.matrix}):v(this.node,{transform:this.matrix}));return this};c.parent=function(){return x(this.node.parentNode)};c.append=c.add=function(c){if(c){if("set"==c.type){var a=this;c.forEach(function(c){a.add(c)});return this}c=x(c);this.node.appendChild(c.node);c.paper=this.paper}return this};c.appendTo=function(c){c&&(c=x(c),c.append(this));return this}; | |
| c.prepend=function(c){if(c){if("set"==c.type){var a=this,b;c.forEach(function(c){b?b.after(c):a.prepend(c);b=c});return this}c=x(c);var m=c.parent();this.node.insertBefore(c.node,this.node.firstChild);this.add&&this.add();c.paper=this.paper;this.parent()&&this.parent().add();m&&m.add()}return this};c.prependTo=function(c){c=x(c);c.prepend(this);return this};c.before=function(c){if("set"==c.type){var a=this;c.forEach(function(c){var b=c.parent();a.node.parentNode.insertBefore(c.node,a.node);b&&b.add()}); | |
| this.parent().add();return this}c=x(c);var b=c.parent();this.node.parentNode.insertBefore(c.node,this.node);this.parent()&&this.parent().add();b&&b.add();c.paper=this.paper;return this};c.after=function(c){c=x(c);var a=c.parent();this.node.nextSibling?this.node.parentNode.insertBefore(c.node,this.node.nextSibling):this.node.parentNode.appendChild(c.node);this.parent()&&this.parent().add();a&&a.add();c.paper=this.paper;return this};c.insertBefore=function(c){c=x(c);var a=this.parent();c.node.parentNode.insertBefore(this.node, | |
| c.node);this.paper=c.paper;a&&a.add();c.parent()&&c.parent().add();return this};c.insertAfter=function(c){c=x(c);var a=this.parent();c.node.parentNode.insertBefore(this.node,c.node.nextSibling);this.paper=c.paper;a&&a.add();c.parent()&&c.parent().add();return this};c.remove=function(){var c=this.parent();this.node.parentNode&&this.node.parentNode.removeChild(this.node);delete this.paper;this.removed=!0;c&&c.add();return this};c.select=function(c){return x(this.node.querySelector(c))};c.selectAll= | |
| function(c){c=this.node.querySelectorAll(c);for(var b=(a.set||Array)(),m=0;m<c.length;m++)b.push(x(c[m]));return b};c.asPX=function(c,a){null==a&&(a=this.attr(c));return+b(this,c,a)};c.use=function(){var c,a=this.node.id;a||(a=this.id,v(this.node,{id:a}));c="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?r(this.type,this.node.parentNode):r("use",this.node.parentNode);v(c.node,{"xlink:href":"#"+a});c.original=this;return c};var l=/\S+/g;c.addClass=function(c){var a=(c|| | |
| "").match(l)||[];c=this.node;var b=c.className.baseVal,m=b.match(l)||[],e,h,d;if(a.length){for(e=0;d=a[e++];)h=m.indexOf(d),~h||m.push(d);a=m.join(" ");b!=a&&(c.className.baseVal=a)}return this};c.removeClass=function(c){var a=(c||"").match(l)||[];c=this.node;var b=c.className.baseVal,m=b.match(l)||[],e,h;if(m.length){for(e=0;h=a[e++];)h=m.indexOf(h),~h&&m.splice(h,1);a=m.join(" ");b!=a&&(c.className.baseVal=a)}return this};c.hasClass=function(c){return!!~(this.node.className.baseVal.match(l)||[]).indexOf(c)}; | |
| c.toggleClass=function(c,a){if(null!=a)return a?this.addClass(c):this.removeClass(c);var b=(c||"").match(l)||[],m=this.node,e=m.className.baseVal,h=e.match(l)||[],d,f,E;for(d=0;E=b[d++];)f=h.indexOf(E),~f?h.splice(f,1):h.push(E);b=h.join(" ");e!=b&&(m.className.baseVal=b);return this};c.clone=function(){var c=x(this.node.cloneNode(!0));v(c.node,"id")&&v(c.node,{id:c.id});m(c);c.insertAfter(this);return c};c.toDefs=function(){u(this).appendChild(this.node);return this};c.pattern=c.toPattern=function(c, | |
| a,b,m){var e=r("pattern",u(this));null==c&&(c=this.getBBox());y(c,"object")&&"x"in c&&(a=c.y,b=c.width,m=c.height,c=c.x);v(e.node,{x:c,y:a,width:b,height:m,patternUnits:"userSpaceOnUse",id:e.id,viewBox:[c,a,b,m].join(" ")});e.node.appendChild(this.node);return e};c.marker=function(c,a,b,m,e,h){var d=r("marker",u(this));null==c&&(c=this.getBBox());y(c,"object")&&"x"in c&&(a=c.y,b=c.width,m=c.height,e=c.refX||c.cx,h=c.refY||c.cy,c=c.x);v(d.node,{viewBox:[c,a,b,m].join(" "),markerWidth:b,markerHeight:m, | |
| orient:"auto",refX:e||0,refY:h||0,id:d.id});d.node.appendChild(this.node);return d};var E=function(c,a,b,m){"function"!=typeof b||b.length||(m=b,b=L.linear);this.attr=c;this.dur=a;b&&(this.easing=b);m&&(this.callback=m)};a._.Animation=E;a.animation=function(c,a,b,m){return new E(c,a,b,m)};c.inAnim=function(){var c=[],a;for(a in this.anims)this.anims[h](a)&&function(a){c.push({anim:new E(a._attrs,a.dur,a.easing,a._callback),mina:a,curStatus:a.status(),status:function(c){return a.status(c)},stop:function(){a.stop()}})}(this.anims[a]); | |
| return c};a.animate=function(c,a,b,m,e,h){"function"!=typeof e||e.length||(h=e,e=L.linear);var d=L.time();c=L(c,a,d,d+m,L.time,b,e);h&&k.once("mina.finish."+c.id,h);return c};c.stop=function(){for(var c=this.inAnim(),a=0,b=c.length;a<b;a++)c[a].stop();return this};c.animate=function(c,a,b,m){"function"!=typeof b||b.length||(m=b,b=L.linear);c instanceof E&&(m=c.callback,b=c.easing,a=b.dur,c=c.attr);var d=[],f=[],l={},t,ca,n,T=this,q;for(q in c)if(c[h](q)){T.equal?(n=T.equal(q,J(c[q])),t=n.from,ca= | |
| n.to,n=n.f):(t=+T.attr(q),ca=+c[q]);var la=y(t,"array")?t.length:1;l[q]=e(d.length,d.length+la,n);d=d.concat(t);f=f.concat(ca)}t=L.time();var p=L(d,f,t,t+a,L.time,function(c){var a={},b;for(b in l)l[h](b)&&(a[b]=l[b](c));T.attr(a)},b);T.anims[p.id]=p;p._attrs=c;p._callback=m;k("snap.animcreated."+T.id,p);k.once("mina.finish."+p.id,function(){delete T.anims[p.id];m&&m.call(T)});k.once("mina.stop."+p.id,function(){delete T.anims[p.id]});return T};var T={};c.data=function(c,b){var m=T[this.id]=T[this.id]|| | |
| {};if(0==arguments.length)return k("snap.data.get."+this.id,this,m,null),m;if(1==arguments.length){if(a.is(c,"object")){for(var e in c)c[h](e)&&this.data(e,c[e]);return this}k("snap.data.get."+this.id,this,m[c],c);return m[c]}m[c]=b;k("snap.data.set."+this.id,this,b,c);return this};c.removeData=function(c){null==c?T[this.id]={}:T[this.id]&&delete T[this.id][c];return this};c.outerSVG=c.toString=d(1);c.innerSVG=d()})(e.prototype);a.parse=function(c){var a=G.doc.createDocumentFragment(),b=!0,m=G.doc.createElement("div"); | |
| c=J(c);c.match(/^\s*<\s*svg(?:\s|>)/)||(c="<svg>"+c+"</svg>",b=!1);m.innerHTML=c;if(c=m.getElementsByTagName("svg")[0])if(b)a=c;else for(;c.firstChild;)a.appendChild(c.firstChild);m.innerHTML=aa;return new l(a)};l.prototype.select=e.prototype.select;l.prototype.selectAll=e.prototype.selectAll;a.fragment=function(){for(var c=Array.prototype.slice.call(arguments,0),b=G.doc.createDocumentFragment(),m=0,e=c.length;m<e;m++){var h=c[m];h.node&&h.node.nodeType&&b.appendChild(h.node);h.nodeType&&b.appendChild(h); | |
| "string"==typeof h&&b.appendChild(a.parse(h).node)}return new l(b)};a._.make=r;a._.wrap=x;s.prototype.el=function(c,a){var b=r(c,this.node);a&&b.attr(a);return b};k.on("snap.util.getattr",function(){var c=k.nt(),c=c.substring(c.lastIndexOf(".")+1),a=c.replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});return pa[h](a)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(a):v(this.node,c)});var pa={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0, | |
| "clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0, | |
| "lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};k.on("snap.util.attr",function(c){var a=k.nt(),b={},a=a.substring(a.lastIndexOf(".")+ | |
| 1);b[a]=c;var m=a.replace(/-(\w)/gi,function(c,a){return a.toUpperCase()}),a=a.replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});pa[h](a)?this.node.style[m]=null==c?aa:c:v(this.node,b)});a.ajax=function(c,a,b,m){var e=new XMLHttpRequest,h=V();if(e){if(y(a,"function"))m=b,b=a,a=null;else if(y(a,"object")){var d=[],f;for(f in a)a.hasOwnProperty(f)&&d.push(encodeURIComponent(f)+"="+encodeURIComponent(a[f]));a=d.join("&")}e.open(a?"POST":"GET",c,!0);a&&(e.setRequestHeader("X-Requested-With","XMLHttpRequest"), | |
| e.setRequestHeader("Content-type","application/x-www-form-urlencoded"));b&&(k.once("snap.ajax."+h+".0",b),k.once("snap.ajax."+h+".200",b),k.once("snap.ajax."+h+".304",b));e.onreadystatechange=function(){4==e.readyState&&k("snap.ajax."+h+"."+e.status,m,e)};if(4==e.readyState)return e;e.send(a);return e}};a.load=function(c,b,m){a.ajax(c,function(c){c=a.parse(c.responseText);m?b.call(m,c):b(c)})};a.getElementByPoint=function(c,a){var b,m,e=G.doc.elementFromPoint(c,a);if(G.win.opera&&"svg"==e.tagName){b= | |
| e;m=b.getBoundingClientRect();b=b.ownerDocument;var h=b.body,d=b.documentElement;b=m.top+(g.win.pageYOffset||d.scrollTop||h.scrollTop)-(d.clientTop||h.clientTop||0);m=m.left+(g.win.pageXOffset||d.scrollLeft||h.scrollLeft)-(d.clientLeft||h.clientLeft||0);h=e.createSVGRect();h.x=c-m;h.y=a-b;h.width=h.height=1;b=e.getIntersectionList(h,null);b.length&&(e=b[b.length-1])}return e?x(e):null};a.plugin=function(c){c(a,e,s,G,l)};return G.win.Snap=a}();C.plugin(function(a,k,y,M,A){function w(a,d,f,b,q,e){null== | |
| d&&"[object SVGMatrix]"==z.call(a)?(this.a=a.a,this.b=a.b,this.c=a.c,this.d=a.d,this.e=a.e,this.f=a.f):null!=a?(this.a=+a,this.b=+d,this.c=+f,this.d=+b,this.e=+q,this.f=+e):(this.a=1,this.c=this.b=0,this.d=1,this.f=this.e=0)}var z=Object.prototype.toString,d=String,f=Math;(function(n){function k(a){return a[0]*a[0]+a[1]*a[1]}function p(a){var d=f.sqrt(k(a));a[0]&&(a[0]/=d);a[1]&&(a[1]/=d)}n.add=function(a,d,e,f,n,p){var k=[[],[],[] ],u=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1] ];d=[[a, | |
| e,n],[d,f,p],[0,0,1] ];a&&a instanceof w&&(d=[[a.a,a.c,a.e],[a.b,a.d,a.f],[0,0,1] ]);for(a=0;3>a;a++)for(e=0;3>e;e++){for(f=n=0;3>f;f++)n+=u[a][f]*d[f][e];k[a][e]=n}this.a=k[0][0];this.b=k[1][0];this.c=k[0][1];this.d=k[1][1];this.e=k[0][2];this.f=k[1][2];return this};n.invert=function(){var a=this.a*this.d-this.b*this.c;return new w(this.d/a,-this.b/a,-this.c/a,this.a/a,(this.c*this.f-this.d*this.e)/a,(this.b*this.e-this.a*this.f)/a)};n.clone=function(){return new w(this.a,this.b,this.c,this.d,this.e, | |
| this.f)};n.translate=function(a,d){return this.add(1,0,0,1,a,d)};n.scale=function(a,d,e,f){null==d&&(d=a);(e||f)&&this.add(1,0,0,1,e,f);this.add(a,0,0,d,0,0);(e||f)&&this.add(1,0,0,1,-e,-f);return this};n.rotate=function(b,d,e){b=a.rad(b);d=d||0;e=e||0;var l=+f.cos(b).toFixed(9);b=+f.sin(b).toFixed(9);this.add(l,b,-b,l,d,e);return this.add(1,0,0,1,-d,-e)};n.x=function(a,d){return a*this.a+d*this.c+this.e};n.y=function(a,d){return a*this.b+d*this.d+this.f};n.get=function(a){return+this[d.fromCharCode(97+ | |
| a)].toFixed(4)};n.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"};n.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]};n.determinant=function(){return this.a*this.d-this.b*this.c};n.split=function(){var b={};b.dx=this.e;b.dy=this.f;var d=[[this.a,this.c],[this.b,this.d] ];b.scalex=f.sqrt(k(d[0]));p(d[0]);b.shear=d[0][0]*d[1][0]+d[0][1]*d[1][1];d[1]=[d[1][0]-d[0][0]*b.shear,d[1][1]-d[0][1]*b.shear];b.scaley=f.sqrt(k(d[1])); | |
| p(d[1]);b.shear/=b.scaley;0>this.determinant()&&(b.scalex=-b.scalex);var e=-d[0][1],d=d[1][1];0>d?(b.rotate=a.deg(f.acos(d)),0>e&&(b.rotate=360-b.rotate)):b.rotate=a.deg(f.asin(e));b.isSimple=!+b.shear.toFixed(9)&&(b.scalex.toFixed(9)==b.scaley.toFixed(9)||!b.rotate);b.isSuperSimple=!+b.shear.toFixed(9)&&b.scalex.toFixed(9)==b.scaley.toFixed(9)&&!b.rotate;b.noRotation=!+b.shear.toFixed(9)&&!b.rotate;return b};n.toTransformString=function(a){a=a||this.split();if(+a.shear.toFixed(9))return"m"+[this.get(0), | |
| this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)];a.scalex=+a.scalex.toFixed(4);a.scaley=+a.scaley.toFixed(4);a.rotate=+a.rotate.toFixed(4);return(a.dx||a.dy?"t"+[+a.dx.toFixed(4),+a.dy.toFixed(4)]:"")+(1!=a.scalex||1!=a.scaley?"s"+[a.scalex,a.scaley,0,0]:"")+(a.rotate?"r"+[+a.rotate.toFixed(4),0,0]:"")}})(w.prototype);a.Matrix=w;a.matrix=function(a,d,f,b,k,e){return new w(a,d,f,b,k,e)}});C.plugin(function(a,v,y,M,A){function w(h){return function(d){k.stop();d instanceof A&&1==d.node.childNodes.length&& | |
| ("radialGradient"==d.node.firstChild.tagName||"linearGradient"==d.node.firstChild.tagName||"pattern"==d.node.firstChild.tagName)&&(d=d.node.firstChild,b(this).appendChild(d),d=u(d));if(d instanceof v)if("radialGradient"==d.type||"linearGradient"==d.type||"pattern"==d.type){d.node.id||e(d.node,{id:d.id});var f=l(d.node.id)}else f=d.attr(h);else f=a.color(d),f.error?(f=a(b(this).ownerSVGElement).gradient(d))?(f.node.id||e(f.node,{id:f.id}),f=l(f.node.id)):f=d:f=r(f);d={};d[h]=f;e(this.node,d);this.node.style[h]= | |
| x}}function z(a){k.stop();a==+a&&(a+="px");this.node.style.fontSize=a}function d(a){var b=[];a=a.childNodes;for(var e=0,f=a.length;e<f;e++){var l=a[e];3==l.nodeType&&b.push(l.nodeValue);"tspan"==l.tagName&&(1==l.childNodes.length&&3==l.firstChild.nodeType?b.push(l.firstChild.nodeValue):b.push(d(l)))}return b}function f(){k.stop();return this.node.style.fontSize}var n=a._.make,u=a._.wrap,p=a.is,b=a._.getSomeDefs,q=/^url\(#?([^)]+)\)$/,e=a._.$,l=a.url,r=String,s=a._.separator,x="";k.on("snap.util.attr.mask", | |
| function(a){if(a instanceof v||a instanceof A){k.stop();a instanceof A&&1==a.node.childNodes.length&&(a=a.node.firstChild,b(this).appendChild(a),a=u(a));if("mask"==a.type)var d=a;else d=n("mask",b(this)),d.node.appendChild(a.node);!d.node.id&&e(d.node,{id:d.id});e(this.node,{mask:l(d.id)})}});(function(a){k.on("snap.util.attr.clip",a);k.on("snap.util.attr.clip-path",a);k.on("snap.util.attr.clipPath",a)})(function(a){if(a instanceof v||a instanceof A){k.stop();if("clipPath"==a.type)var d=a;else d= | |
| n("clipPath",b(this)),d.node.appendChild(a.node),!d.node.id&&e(d.node,{id:d.id});e(this.node,{"clip-path":l(d.id)})}});k.on("snap.util.attr.fill",w("fill"));k.on("snap.util.attr.stroke",w("stroke"));var G=/^([lr])(?:\(([^)]*)\))?(.*)$/i;k.on("snap.util.grad.parse",function(a){a=r(a);var b=a.match(G);if(!b)return null;a=b[1];var e=b[2],b=b[3],e=e.split(/\s*,\s*/).map(function(a){return+a==a?+a:a});1==e.length&&0==e[0]&&(e=[]);b=b.split("-");b=b.map(function(a){a=a.split(":");var b={color:a[0]};a[1]&& | |
| (b.offset=parseFloat(a[1]));return b});return{type:a,params:e,stops:b}});k.on("snap.util.attr.d",function(b){k.stop();p(b,"array")&&p(b[0],"array")&&(b=a.path.toString.call(b));b=r(b);b.match(/[ruo]/i)&&(b=a.path.toAbsolute(b));e(this.node,{d:b})})(-1);k.on("snap.util.attr.#text",function(a){k.stop();a=r(a);for(a=M.doc.createTextNode(a);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(a)})(-1);k.on("snap.util.attr.path",function(a){k.stop();this.attr({d:a})})(-1); | |
| k.on("snap.util.attr.class",function(a){k.stop();this.node.className.baseVal=a})(-1);k.on("snap.util.attr.viewBox",function(a){a=p(a,"object")&&"x"in a?[a.x,a.y,a.width,a.height].join(" "):p(a,"array")?a.join(" "):a;e(this.node,{viewBox:a});k.stop()})(-1);k.on("snap.util.attr.transform",function(a){this.transform(a);k.stop()})(-1);k.on("snap.util.attr.r",function(a){"rect"==this.type&&(k.stop(),e(this.node,{rx:a,ry:a}))})(-1);k.on("snap.util.attr.textpath",function(a){k.stop();if("text"==this.type){var d, | |
| f;if(!a&&this.textPath){for(a=this.textPath;a.node.firstChild;)this.node.appendChild(a.node.firstChild);a.remove();delete this.textPath}else if(p(a,"string")?(d=b(this),a=u(d.parentNode).path(a),d.appendChild(a.node),d=a.id,a.attr({id:d})):(a=u(a),a instanceof v&&(d=a.attr("id"),d||(d=a.id,a.attr({id:d})))),d)if(a=this.textPath,f=this.node,a)a.attr({"xlink:href":"#"+d});else{for(a=e("textPath",{"xlink:href":"#"+d});f.firstChild;)a.appendChild(f.firstChild);f.appendChild(a);this.textPath=u(a)}}})(-1); | |
| k.on("snap.util.attr.text",function(a){if("text"==this.type){for(var b=this.node,d=function(a){var b=e("tspan");if(p(a,"array"))for(var f=0;f<a.length;f++)b.appendChild(d(a[f]));else b.appendChild(M.doc.createTextNode(a));b.normalize&&b.normalize();return b};b.firstChild;)b.removeChild(b.firstChild);for(a=d(a);a.firstChild;)b.appendChild(a.firstChild)}k.stop()})(-1);k.on("snap.util.attr.fontSize",z)(-1);k.on("snap.util.attr.font-size",z)(-1);k.on("snap.util.getattr.transform",function(){k.stop(); | |
| return this.transform()})(-1);k.on("snap.util.getattr.textpath",function(){k.stop();return this.textPath})(-1);(function(){function b(d){return function(){k.stop();var b=M.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+d);return"none"==b?b:a(M.doc.getElementById(b.match(q)[1]))}}function d(a){return function(b){k.stop();var d="marker"+a.charAt(0).toUpperCase()+a.substring(1);if(""==b||!b)this.node.style[d]="none";else if("marker"==b.type){var f=b.node.id;f||e(b.node,{id:b.id}); | |
| this.node.style[d]=l(f)}}}k.on("snap.util.getattr.marker-end",b("end"))(-1);k.on("snap.util.getattr.markerEnd",b("end"))(-1);k.on("snap.util.getattr.marker-start",b("start"))(-1);k.on("snap.util.getattr.markerStart",b("start"))(-1);k.on("snap.util.getattr.marker-mid",b("mid"))(-1);k.on("snap.util.getattr.markerMid",b("mid"))(-1);k.on("snap.util.attr.marker-end",d("end"))(-1);k.on("snap.util.attr.markerEnd",d("end"))(-1);k.on("snap.util.attr.marker-start",d("start"))(-1);k.on("snap.util.attr.markerStart", | |
| d("start"))(-1);k.on("snap.util.attr.marker-mid",d("mid"))(-1);k.on("snap.util.attr.markerMid",d("mid"))(-1)})();k.on("snap.util.getattr.r",function(){if("rect"==this.type&&e(this.node,"rx")==e(this.node,"ry"))return k.stop(),e(this.node,"rx")})(-1);k.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){k.stop();var a=d(this.node);return 1==a.length?a[0]:a}})(-1);k.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1);k.on("snap.util.getattr.viewBox", | |
| function(){k.stop();var b=e(this.node,"viewBox");if(b)return b=b.split(s),a._.box(+b[0],+b[1],+b[2],+b[3])})(-1);k.on("snap.util.getattr.points",function(){var a=e(this.node,"points");k.stop();if(a)return a.split(s)})(-1);k.on("snap.util.getattr.path",function(){var a=e(this.node,"d");k.stop();return a})(-1);k.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1);k.on("snap.util.getattr.fontSize",f)(-1);k.on("snap.util.getattr.font-size",f)(-1)});C.plugin(function(a,v,y, | |
| M,A){function w(a){return a}function z(a){return function(b){return+b.toFixed(3)+a}}var d={"+":function(a,b){return a+b},"-":function(a,b){return a-b},"/":function(a,b){return a/b},"*":function(a,b){return a*b}},f=String,n=/[a-z]+$/i,u=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;k.on("snap.util.attr",function(a){if(a=f(a).match(u)){var b=k.nt(),b=b.substring(b.lastIndexOf(".")+1),q=this.attr(b),e={};k.stop();var l=a[3]||"",r=q.match(n),s=d[a[1] ];r&&r==l?a=s(parseFloat(q),+a[2]):(q=this.asPX(b), | |
| a=s(this.asPX(b),this.asPX(b,a[2]+l)));isNaN(q)||isNaN(a)||(e[b]=a,this.attr(e))}})(-10);k.on("snap.util.equal",function(a,b){var q=f(this.attr(a)||""),e=f(b).match(u);if(e){k.stop();var l=e[3]||"",r=q.match(n),s=d[e[1] ];if(r&&r==l)return{from:parseFloat(q),to:s(parseFloat(q),+e[2]),f:z(r)};q=this.asPX(a);return{from:q,to:s(q,this.asPX(a,e[2]+l)),f:w}}})(-10)});C.plugin(function(a,v,y,M,A){var w=y.prototype,z=a.is;w.rect=function(a,d,k,p,b,q){var e;null==q&&(q=b);z(a,"object")&&"[object Object]"== | |
| a?e=a:null!=a&&(e={x:a,y:d,width:k,height:p},null!=b&&(e.rx=b,e.ry=q));return this.el("rect",e)};w.circle=function(a,d,k){var p;z(a,"object")&&"[object Object]"==a?p=a:null!=a&&(p={cx:a,cy:d,r:k});return this.el("circle",p)};var d=function(){function a(){this.parentNode.removeChild(this)}return function(d,k){var p=M.doc.createElement("img"),b=M.doc.body;p.style.cssText="position:absolute;left:-9999em;top:-9999em";p.onload=function(){k.call(p);p.onload=p.onerror=null;b.removeChild(p)};p.onerror=a; | |
| b.appendChild(p);p.src=d}}();w.image=function(f,n,k,p,b){var q=this.el("image");if(z(f,"object")&&"src"in f)q.attr(f);else if(null!=f){var e={"xlink:href":f,preserveAspectRatio:"none"};null!=n&&null!=k&&(e.x=n,e.y=k);null!=p&&null!=b?(e.width=p,e.height=b):d(f,function(){a._.$(q.node,{width:this.offsetWidth,height:this.offsetHeight})});a._.$(q.node,e)}return q};w.ellipse=function(a,d,k,p){var b;z(a,"object")&&"[object Object]"==a?b=a:null!=a&&(b={cx:a,cy:d,rx:k,ry:p});return this.el("ellipse",b)}; | |
| w.path=function(a){var d;z(a,"object")&&!z(a,"array")?d=a:a&&(d={d:a});return this.el("path",d)};w.group=w.g=function(a){var d=this.el("g");1==arguments.length&&a&&!a.type?d.attr(a):arguments.length&&d.add(Array.prototype.slice.call(arguments,0));return d};w.svg=function(a,d,k,p,b,q,e,l){var r={};z(a,"object")&&null==d?r=a:(null!=a&&(r.x=a),null!=d&&(r.y=d),null!=k&&(r.width=k),null!=p&&(r.height=p),null!=b&&null!=q&&null!=e&&null!=l&&(r.viewBox=[b,q,e,l]));return this.el("svg",r)};w.mask=function(a){var d= | |
| this.el("mask");1==arguments.length&&a&&!a.type?d.attr(a):arguments.length&&d.add(Array.prototype.slice.call(arguments,0));return d};w.ptrn=function(a,d,k,p,b,q,e,l){if(z(a,"object"))var r=a;else arguments.length?(r={},null!=a&&(r.x=a),null!=d&&(r.y=d),null!=k&&(r.width=k),null!=p&&(r.height=p),null!=b&&null!=q&&null!=e&&null!=l&&(r.viewBox=[b,q,e,l])):r={patternUnits:"userSpaceOnUse"};return this.el("pattern",r)};w.use=function(a){return null!=a?(make("use",this.node),a instanceof v&&(a.attr("id")|| | |
| a.attr({id:ID()}),a=a.attr("id")),this.el("use",{"xlink:href":a})):v.prototype.use.call(this)};w.text=function(a,d,k){var p={};z(a,"object")?p=a:null!=a&&(p={x:a,y:d,text:k||""});return this.el("text",p)};w.line=function(a,d,k,p){var b={};z(a,"object")?b=a:null!=a&&(b={x1:a,x2:k,y1:d,y2:p});return this.el("line",b)};w.polyline=function(a){1<arguments.length&&(a=Array.prototype.slice.call(arguments,0));var d={};z(a,"object")&&!z(a,"array")?d=a:null!=a&&(d={points:a});return this.el("polyline",d)}; | |
| w.polygon=function(a){1<arguments.length&&(a=Array.prototype.slice.call(arguments,0));var d={};z(a,"object")&&!z(a,"array")?d=a:null!=a&&(d={points:a});return this.el("polygon",d)};(function(){function d(){return this.selectAll("stop")}function n(b,d){var f=e("stop"),k={offset:+d+"%"};b=a.color(b);k["stop-color"]=b.hex;1>b.opacity&&(k["stop-opacity"]=b.opacity);e(f,k);this.node.appendChild(f);return this}function u(){if("linearGradient"==this.type){var b=e(this.node,"x1")||0,d=e(this.node,"x2")|| | |
| 1,f=e(this.node,"y1")||0,k=e(this.node,"y2")||0;return a._.box(b,f,math.abs(d-b),math.abs(k-f))}b=this.node.r||0;return a._.box((this.node.cx||0.5)-b,(this.node.cy||0.5)-b,2*b,2*b)}function p(a,d){function f(a,b){for(var d=(b-u)/(a-w),e=w;e<a;e++)h[e].offset=+(+u+d*(e-w)).toFixed(2);w=a;u=b}var n=k("snap.util.grad.parse",null,d).firstDefined(),p;if(!n)return null;n.params.unshift(a);p="l"==n.type.toLowerCase()?b.apply(0,n.params):q.apply(0,n.params);n.type!=n.type.toLowerCase()&&e(p.node,{gradientUnits:"userSpaceOnUse"}); | |
| var h=n.stops,n=h.length,u=0,w=0;n--;for(var v=0;v<n;v++)"offset"in h[v]&&f(v,h[v].offset);h[n].offset=h[n].offset||100;f(n,h[n].offset);for(v=0;v<=n;v++){var y=h[v];p.addStop(y.color,y.offset)}return p}function b(b,k,p,q,w){b=a._.make("linearGradient",b);b.stops=d;b.addStop=n;b.getBBox=u;null!=k&&e(b.node,{x1:k,y1:p,x2:q,y2:w});return b}function q(b,k,p,q,w,h){b=a._.make("radialGradient",b);b.stops=d;b.addStop=n;b.getBBox=u;null!=k&&e(b.node,{cx:k,cy:p,r:q});null!=w&&null!=h&&e(b.node,{fx:w,fy:h}); | |
| return b}var e=a._.$;w.gradient=function(a){return p(this.defs,a)};w.gradientLinear=function(a,d,e,f){return b(this.defs,a,d,e,f)};w.gradientRadial=function(a,b,d,e,f){return q(this.defs,a,b,d,e,f)};w.toString=function(){var b=this.node.ownerDocument,d=b.createDocumentFragment(),b=b.createElement("div"),e=this.node.cloneNode(!0);d.appendChild(b);b.appendChild(e);a._.$(e,{xmlns:"http://www.w3.org/2000/svg"});b=b.innerHTML;d.removeChild(d.firstChild);return b};w.clear=function(){for(var a=this.node.firstChild, | |
| b;a;)b=a.nextSibling,"defs"!=a.tagName?a.parentNode.removeChild(a):w.clear.call({node:a}),a=b}})()});C.plugin(function(a,k,y,M){function A(a){var b=A.ps=A.ps||{};b[a]?b[a].sleep=100:b[a]={sleep:100};setTimeout(function(){for(var d in b)b[L](d)&&d!=a&&(b[d].sleep--,!b[d].sleep&&delete b[d])});return b[a]}function w(a,b,d,e){null==a&&(a=b=d=e=0);null==b&&(b=a.y,d=a.width,e=a.height,a=a.x);return{x:a,y:b,width:d,w:d,height:e,h:e,x2:a+d,y2:b+e,cx:a+d/2,cy:b+e/2,r1:F.min(d,e)/2,r2:F.max(d,e)/2,r0:F.sqrt(d* | |
| d+e*e)/2,path:s(a,b,d,e),vb:[a,b,d,e].join(" ")}}function z(){return this.join(",").replace(N,"$1")}function d(a){a=C(a);a.toString=z;return a}function f(a,b,d,h,f,k,l,n,p){if(null==p)return e(a,b,d,h,f,k,l,n);if(0>p||e(a,b,d,h,f,k,l,n)<p)p=void 0;else{var q=0.5,O=1-q,s;for(s=e(a,b,d,h,f,k,l,n,O);0.01<Z(s-p);)q/=2,O+=(s<p?1:-1)*q,s=e(a,b,d,h,f,k,l,n,O);p=O}return u(a,b,d,h,f,k,l,n,p)}function n(b,d){function e(a){return+(+a).toFixed(3)}return a._.cacher(function(a,h,l){a instanceof k&&(a=a.attr("d")); | |
| a=I(a);for(var n,p,D,q,O="",s={},c=0,t=0,r=a.length;t<r;t++){D=a[t];if("M"==D[0])n=+D[1],p=+D[2];else{q=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6]);if(c+q>h){if(d&&!s.start){n=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6],h-c);O+=["C"+e(n.start.x),e(n.start.y),e(n.m.x),e(n.m.y),e(n.x),e(n.y)];if(l)return O;s.start=O;O=["M"+e(n.x),e(n.y)+"C"+e(n.n.x),e(n.n.y),e(n.end.x),e(n.end.y),e(D[5]),e(D[6])].join();c+=q;n=+D[5];p=+D[6];continue}if(!b&&!d)return n=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6],h-c)}c+=q;n=+D[5];p=+D[6]}O+= | |
| D.shift()+D}s.end=O;return n=b?c:d?s:u(n,p,D[0],D[1],D[2],D[3],D[4],D[5],1)},null,a._.clone)}function u(a,b,d,e,h,f,k,l,n){var p=1-n,q=ma(p,3),s=ma(p,2),c=n*n,t=c*n,r=q*a+3*s*n*d+3*p*n*n*h+t*k,q=q*b+3*s*n*e+3*p*n*n*f+t*l,s=a+2*n*(d-a)+c*(h-2*d+a),t=b+2*n*(e-b)+c*(f-2*e+b),x=d+2*n*(h-d)+c*(k-2*h+d),c=e+2*n*(f-e)+c*(l-2*f+e);a=p*a+n*d;b=p*b+n*e;h=p*h+n*k;f=p*f+n*l;l=90-180*F.atan2(s-x,t-c)/S;return{x:r,y:q,m:{x:s,y:t},n:{x:x,y:c},start:{x:a,y:b},end:{x:h,y:f},alpha:l}}function p(b,d,e,h,f,n,k,l){a.is(b, | |
| "array")||(b=[b,d,e,h,f,n,k,l]);b=U.apply(null,b);return w(b.min.x,b.min.y,b.max.x-b.min.x,b.max.y-b.min.y)}function b(a,b,d){return b>=a.x&&b<=a.x+a.width&&d>=a.y&&d<=a.y+a.height}function q(a,d){a=w(a);d=w(d);return b(d,a.x,a.y)||b(d,a.x2,a.y)||b(d,a.x,a.y2)||b(d,a.x2,a.y2)||b(a,d.x,d.y)||b(a,d.x2,d.y)||b(a,d.x,d.y2)||b(a,d.x2,d.y2)||(a.x<d.x2&&a.x>d.x||d.x<a.x2&&d.x>a.x)&&(a.y<d.y2&&a.y>d.y||d.y<a.y2&&d.y>a.y)}function e(a,b,d,e,h,f,n,k,l){null==l&&(l=1);l=(1<l?1:0>l?0:l)/2;for(var p=[-0.1252, | |
| 0.1252,-0.3678,0.3678,-0.5873,0.5873,-0.7699,0.7699,-0.9041,0.9041,-0.9816,0.9816],q=[0.2491,0.2491,0.2335,0.2335,0.2032,0.2032,0.1601,0.1601,0.1069,0.1069,0.0472,0.0472],s=0,c=0;12>c;c++)var t=l*p[c]+l,r=t*(t*(-3*a+9*d-9*h+3*n)+6*a-12*d+6*h)-3*a+3*d,t=t*(t*(-3*b+9*e-9*f+3*k)+6*b-12*e+6*f)-3*b+3*e,s=s+q[c]*F.sqrt(r*r+t*t);return l*s}function l(a,b,d){a=I(a);b=I(b);for(var h,f,l,n,k,s,r,O,x,c,t=d?0:[],w=0,v=a.length;w<v;w++)if(x=a[w],"M"==x[0])h=k=x[1],f=s=x[2];else{"C"==x[0]?(x=[h,f].concat(x.slice(1)), | |
| h=x[6],f=x[7]):(x=[h,f,h,f,k,s,k,s],h=k,f=s);for(var G=0,y=b.length;G<y;G++)if(c=b[G],"M"==c[0])l=r=c[1],n=O=c[2];else{"C"==c[0]?(c=[l,n].concat(c.slice(1)),l=c[6],n=c[7]):(c=[l,n,l,n,r,O,r,O],l=r,n=O);var z;var K=x,B=c;z=d;var H=p(K),J=p(B);if(q(H,J)){for(var H=e.apply(0,K),J=e.apply(0,B),H=~~(H/8),J=~~(J/8),U=[],A=[],F={},M=z?0:[],P=0;P<H+1;P++){var C=u.apply(0,K.concat(P/H));U.push({x:C.x,y:C.y,t:P/H})}for(P=0;P<J+1;P++)C=u.apply(0,B.concat(P/J)),A.push({x:C.x,y:C.y,t:P/J});for(P=0;P<H;P++)for(K= | |
| 0;K<J;K++){var Q=U[P],L=U[P+1],B=A[K],C=A[K+1],N=0.001>Z(L.x-Q.x)?"y":"x",S=0.001>Z(C.x-B.x)?"y":"x",R;R=Q.x;var Y=Q.y,V=L.x,ea=L.y,fa=B.x,ga=B.y,ha=C.x,ia=C.y;if(W(R,V)<X(fa,ha)||X(R,V)>W(fa,ha)||W(Y,ea)<X(ga,ia)||X(Y,ea)>W(ga,ia))R=void 0;else{var $=(R*ea-Y*V)*(fa-ha)-(R-V)*(fa*ia-ga*ha),aa=(R*ea-Y*V)*(ga-ia)-(Y-ea)*(fa*ia-ga*ha),ja=(R-V)*(ga-ia)-(Y-ea)*(fa-ha);if(ja){var $=$/ja,aa=aa/ja,ja=+$.toFixed(2),ba=+aa.toFixed(2);R=ja<+X(R,V).toFixed(2)||ja>+W(R,V).toFixed(2)||ja<+X(fa,ha).toFixed(2)|| | |
| ja>+W(fa,ha).toFixed(2)||ba<+X(Y,ea).toFixed(2)||ba>+W(Y,ea).toFixed(2)||ba<+X(ga,ia).toFixed(2)||ba>+W(ga,ia).toFixed(2)?void 0:{x:$,y:aa}}else R=void 0}R&&F[R.x.toFixed(4)]!=R.y.toFixed(4)&&(F[R.x.toFixed(4)]=R.y.toFixed(4),Q=Q.t+Z((R[N]-Q[N])/(L[N]-Q[N]))*(L.t-Q.t),B=B.t+Z((R[S]-B[S])/(C[S]-B[S]))*(C.t-B.t),0<=Q&&1>=Q&&0<=B&&1>=B&&(z?M++:M.push({x:R.x,y:R.y,t1:Q,t2:B})))}z=M}else z=z?0:[];if(d)t+=z;else{H=0;for(J=z.length;H<J;H++)z[H].segment1=w,z[H].segment2=G,z[H].bez1=x,z[H].bez2=c;t=t.concat(z)}}}return t} | |
| function r(a){var b=A(a);if(b.bbox)return C(b.bbox);if(!a)return w();a=I(a);for(var d=0,e=0,h=[],f=[],l,n=0,k=a.length;n<k;n++)l=a[n],"M"==l[0]?(d=l[1],e=l[2],h.push(d),f.push(e)):(d=U(d,e,l[1],l[2],l[3],l[4],l[5],l[6]),h=h.concat(d.min.x,d.max.x),f=f.concat(d.min.y,d.max.y),d=l[5],e=l[6]);a=X.apply(0,h);l=X.apply(0,f);h=W.apply(0,h);f=W.apply(0,f);f=w(a,l,h-a,f-l);b.bbox=C(f);return f}function s(a,b,d,e,h){if(h)return[["M",+a+ +h,b],["l",d-2*h,0],["a",h,h,0,0,1,h,h],["l",0,e-2*h],["a",h,h,0,0,1, | |
| -h,h],["l",2*h-d,0],["a",h,h,0,0,1,-h,-h],["l",0,2*h-e],["a",h,h,0,0,1,h,-h],["z"] ];a=[["M",a,b],["l",d,0],["l",0,e],["l",-d,0],["z"] ];a.toString=z;return a}function x(a,b,d,e,h){null==h&&null==e&&(e=d);a=+a;b=+b;d=+d;e=+e;if(null!=h){var f=Math.PI/180,l=a+d*Math.cos(-e*f);a+=d*Math.cos(-h*f);var n=b+d*Math.sin(-e*f);b+=d*Math.sin(-h*f);d=[["M",l,n],["A",d,d,0,+(180<h-e),0,a,b] ]}else d=[["M",a,b],["m",0,-e],["a",d,e,0,1,1,0,2*e],["a",d,e,0,1,1,0,-2*e],["z"] ];d.toString=z;return d}function G(b){var e= | |
| A(b);if(e.abs)return d(e.abs);Q(b,"array")&&Q(b&&b[0],"array")||(b=a.parsePathString(b));if(!b||!b.length)return[["M",0,0] ];var h=[],f=0,l=0,n=0,k=0,p=0;"M"==b[0][0]&&(f=+b[0][1],l=+b[0][2],n=f,k=l,p++,h[0]=["M",f,l]);for(var q=3==b.length&&"M"==b[0][0]&&"R"==b[1][0].toUpperCase()&&"Z"==b[2][0].toUpperCase(),s,r,w=p,c=b.length;w<c;w++){h.push(s=[]);r=b[w];p=r[0];if(p!=p.toUpperCase())switch(s[0]=p.toUpperCase(),s[0]){case "A":s[1]=r[1];s[2]=r[2];s[3]=r[3];s[4]=r[4];s[5]=r[5];s[6]=+r[6]+f;s[7]=+r[7]+ | |
| l;break;case "V":s[1]=+r[1]+l;break;case "H":s[1]=+r[1]+f;break;case "R":for(var t=[f,l].concat(r.slice(1)),u=2,v=t.length;u<v;u++)t[u]=+t[u]+f,t[++u]=+t[u]+l;h.pop();h=h.concat(P(t,q));break;case "O":h.pop();t=x(f,l,r[1],r[2]);t.push(t[0]);h=h.concat(t);break;case "U":h.pop();h=h.concat(x(f,l,r[1],r[2],r[3]));s=["U"].concat(h[h.length-1].slice(-2));break;case "M":n=+r[1]+f,k=+r[2]+l;default:for(u=1,v=r.length;u<v;u++)s[u]=+r[u]+(u%2?f:l)}else if("R"==p)t=[f,l].concat(r.slice(1)),h.pop(),h=h.concat(P(t, | |
| q)),s=["R"].concat(r.slice(-2));else if("O"==p)h.pop(),t=x(f,l,r[1],r[2]),t.push(t[0]),h=h.concat(t);else if("U"==p)h.pop(),h=h.concat(x(f,l,r[1],r[2],r[3])),s=["U"].concat(h[h.length-1].slice(-2));else for(t=0,u=r.length;t<u;t++)s[t]=r[t];p=p.toUpperCase();if("O"!=p)switch(s[0]){case "Z":f=+n;l=+k;break;case "H":f=s[1];break;case "V":l=s[1];break;case "M":n=s[s.length-2],k=s[s.length-1];default:f=s[s.length-2],l=s[s.length-1]}}h.toString=z;e.abs=d(h);return h}function h(a,b,d,e){return[a,b,d,e,d, | |
| e]}function J(a,b,d,e,h,f){var l=1/3,n=2/3;return[l*a+n*d,l*b+n*e,l*h+n*d,l*f+n*e,h,f]}function K(b,d,e,h,f,l,n,k,p,s){var r=120*S/180,q=S/180*(+f||0),c=[],t,x=a._.cacher(function(a,b,c){var d=a*F.cos(c)-b*F.sin(c);a=a*F.sin(c)+b*F.cos(c);return{x:d,y:a}});if(s)v=s[0],t=s[1],l=s[2],u=s[3];else{t=x(b,d,-q);b=t.x;d=t.y;t=x(k,p,-q);k=t.x;p=t.y;F.cos(S/180*f);F.sin(S/180*f);t=(b-k)/2;v=(d-p)/2;u=t*t/(e*e)+v*v/(h*h);1<u&&(u=F.sqrt(u),e*=u,h*=u);var u=e*e,w=h*h,u=(l==n?-1:1)*F.sqrt(Z((u*w-u*v*v-w*t*t)/ | |
| (u*v*v+w*t*t)));l=u*e*v/h+(b+k)/2;var u=u*-h*t/e+(d+p)/2,v=F.asin(((d-u)/h).toFixed(9));t=F.asin(((p-u)/h).toFixed(9));v=b<l?S-v:v;t=k<l?S-t:t;0>v&&(v=2*S+v);0>t&&(t=2*S+t);n&&v>t&&(v-=2*S);!n&&t>v&&(t-=2*S)}if(Z(t-v)>r){var c=t,w=k,G=p;t=v+r*(n&&t>v?1:-1);k=l+e*F.cos(t);p=u+h*F.sin(t);c=K(k,p,e,h,f,0,n,w,G,[t,c,l,u])}l=t-v;f=F.cos(v);r=F.sin(v);n=F.cos(t);t=F.sin(t);l=F.tan(l/4);e=4/3*e*l;l*=4/3*h;h=[b,d];b=[b+e*r,d-l*f];d=[k+e*t,p-l*n];k=[k,p];b[0]=2*h[0]-b[0];b[1]=2*h[1]-b[1];if(s)return[b,d,k].concat(c); | |
| c=[b,d,k].concat(c).join().split(",");s=[];k=0;for(p=c.length;k<p;k++)s[k]=k%2?x(c[k-1],c[k],q).y:x(c[k],c[k+1],q).x;return s}function U(a,b,d,e,h,f,l,k){for(var n=[],p=[[],[] ],s,r,c,t,q=0;2>q;++q)0==q?(r=6*a-12*d+6*h,s=-3*a+9*d-9*h+3*l,c=3*d-3*a):(r=6*b-12*e+6*f,s=-3*b+9*e-9*f+3*k,c=3*e-3*b),1E-12>Z(s)?1E-12>Z(r)||(s=-c/r,0<s&&1>s&&n.push(s)):(t=r*r-4*c*s,c=F.sqrt(t),0>t||(t=(-r+c)/(2*s),0<t&&1>t&&n.push(t),s=(-r-c)/(2*s),0<s&&1>s&&n.push(s)));for(r=q=n.length;q--;)s=n[q],c=1-s,p[0][q]=c*c*c*a+3* | |
| c*c*s*d+3*c*s*s*h+s*s*s*l,p[1][q]=c*c*c*b+3*c*c*s*e+3*c*s*s*f+s*s*s*k;p[0][r]=a;p[1][r]=b;p[0][r+1]=l;p[1][r+1]=k;p[0].length=p[1].length=r+2;return{min:{x:X.apply(0,p[0]),y:X.apply(0,p[1])},max:{x:W.apply(0,p[0]),y:W.apply(0,p[1])}}}function I(a,b){var e=!b&&A(a);if(!b&&e.curve)return d(e.curve);var f=G(a),l=b&&G(b),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},k={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},p=function(a,b,c){if(!a)return["C",b.x,b.y,b.x,b.y,b.x,b.y];a[0]in{T:1,Q:1}||(b.qx=b.qy=null); | |
| switch(a[0]){case "M":b.X=a[1];b.Y=a[2];break;case "A":a=["C"].concat(K.apply(0,[b.x,b.y].concat(a.slice(1))));break;case "S":"C"==c||"S"==c?(c=2*b.x-b.bx,b=2*b.y-b.by):(c=b.x,b=b.y);a=["C",c,b].concat(a.slice(1));break;case "T":"Q"==c||"T"==c?(b.qx=2*b.x-b.qx,b.qy=2*b.y-b.qy):(b.qx=b.x,b.qy=b.y);a=["C"].concat(J(b.x,b.y,b.qx,b.qy,a[1],a[2]));break;case "Q":b.qx=a[1];b.qy=a[2];a=["C"].concat(J(b.x,b.y,a[1],a[2],a[3],a[4]));break;case "L":a=["C"].concat(h(b.x,b.y,a[1],a[2]));break;case "H":a=["C"].concat(h(b.x, | |
| b.y,a[1],b.y));break;case "V":a=["C"].concat(h(b.x,b.y,b.x,a[1]));break;case "Z":a=["C"].concat(h(b.x,b.y,b.X,b.Y))}return a},s=function(a,b){if(7<a[b].length){a[b].shift();for(var c=a[b];c.length;)q[b]="A",l&&(u[b]="A"),a.splice(b++,0,["C"].concat(c.splice(0,6)));a.splice(b,1);v=W(f.length,l&&l.length||0)}},r=function(a,b,c,d,e){a&&b&&"M"==a[e][0]&&"M"!=b[e][0]&&(b.splice(e,0,["M",d.x,d.y]),c.bx=0,c.by=0,c.x=a[e][1],c.y=a[e][2],v=W(f.length,l&&l.length||0))},q=[],u=[],c="",t="",x=0,v=W(f.length, | |
| l&&l.length||0);for(;x<v;x++){f[x]&&(c=f[x][0]);"C"!=c&&(q[x]=c,x&&(t=q[x-1]));f[x]=p(f[x],n,t);"A"!=q[x]&&"C"==c&&(q[x]="C");s(f,x);l&&(l[x]&&(c=l[x][0]),"C"!=c&&(u[x]=c,x&&(t=u[x-1])),l[x]=p(l[x],k,t),"A"!=u[x]&&"C"==c&&(u[x]="C"),s(l,x));r(f,l,n,k,x);r(l,f,k,n,x);var w=f[x],z=l&&l[x],y=w.length,U=l&&z.length;n.x=w[y-2];n.y=w[y-1];n.bx=$(w[y-4])||n.x;n.by=$(w[y-3])||n.y;k.bx=l&&($(z[U-4])||k.x);k.by=l&&($(z[U-3])||k.y);k.x=l&&z[U-2];k.y=l&&z[U-1]}l||(e.curve=d(f));return l?[f,l]:f}function P(a, | |
| b){for(var d=[],e=0,h=a.length;h-2*!b>e;e+=2){var f=[{x:+a[e-2],y:+a[e-1]},{x:+a[e],y:+a[e+1]},{x:+a[e+2],y:+a[e+3]},{x:+a[e+4],y:+a[e+5]}];b?e?h-4==e?f[3]={x:+a[0],y:+a[1]}:h-2==e&&(f[2]={x:+a[0],y:+a[1]},f[3]={x:+a[2],y:+a[3]}):f[0]={x:+a[h-2],y:+a[h-1]}:h-4==e?f[3]=f[2]:e||(f[0]={x:+a[e],y:+a[e+1]});d.push(["C",(-f[0].x+6*f[1].x+f[2].x)/6,(-f[0].y+6*f[1].y+f[2].y)/6,(f[1].x+6*f[2].x-f[3].x)/6,(f[1].y+6*f[2].y-f[3].y)/6,f[2].x,f[2].y])}return d}y=k.prototype;var Q=a.is,C=a._.clone,L="hasOwnProperty", | |
| N=/,?([a-z]),?/gi,$=parseFloat,F=Math,S=F.PI,X=F.min,W=F.max,ma=F.pow,Z=F.abs;M=n(1);var na=n(),ba=n(0,1),V=a._unit2px;a.path=A;a.path.getTotalLength=M;a.path.getPointAtLength=na;a.path.getSubpath=function(a,b,d){if(1E-6>this.getTotalLength(a)-d)return ba(a,b).end;a=ba(a,d,1);return b?ba(a,b).end:a};y.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()};y.getPointAtLength=function(a){return na(this.attr("d"),a)};y.getSubpath=function(b,d){return a.path.getSubpath(this.attr("d"), | |
| b,d)};a._.box=w;a.path.findDotsAtSegment=u;a.path.bezierBBox=p;a.path.isPointInsideBBox=b;a.path.isBBoxIntersect=q;a.path.intersection=function(a,b){return l(a,b)};a.path.intersectionNumber=function(a,b){return l(a,b,1)};a.path.isPointInside=function(a,d,e){var h=r(a);return b(h,d,e)&&1==l(a,[["M",d,e],["H",h.x2+10] ],1)%2};a.path.getBBox=r;a.path.get={path:function(a){return a.attr("path")},circle:function(a){a=V(a);return x(a.cx,a.cy,a.r)},ellipse:function(a){a=V(a);return x(a.cx||0,a.cy||0,a.rx, | |
| a.ry)},rect:function(a){a=V(a);return s(a.x||0,a.y||0,a.width,a.height,a.rx,a.ry)},image:function(a){a=V(a);return s(a.x||0,a.y||0,a.width,a.height)},line:function(a){return"M"+[a.attr("x1")||0,a.attr("y1")||0,a.attr("x2"),a.attr("y2")]},polyline:function(a){return"M"+a.attr("points")},polygon:function(a){return"M"+a.attr("points")+"z"},deflt:function(a){a=a.node.getBBox();return s(a.x,a.y,a.width,a.height)}};a.path.toRelative=function(b){var e=A(b),h=String.prototype.toLowerCase;if(e.rel)return d(e.rel); | |
| a.is(b,"array")&&a.is(b&&b[0],"array")||(b=a.parsePathString(b));var f=[],l=0,n=0,k=0,p=0,s=0;"M"==b[0][0]&&(l=b[0][1],n=b[0][2],k=l,p=n,s++,f.push(["M",l,n]));for(var r=b.length;s<r;s++){var q=f[s]=[],x=b[s];if(x[0]!=h.call(x[0]))switch(q[0]=h.call(x[0]),q[0]){case "a":q[1]=x[1];q[2]=x[2];q[3]=x[3];q[4]=x[4];q[5]=x[5];q[6]=+(x[6]-l).toFixed(3);q[7]=+(x[7]-n).toFixed(3);break;case "v":q[1]=+(x[1]-n).toFixed(3);break;case "m":k=x[1],p=x[2];default:for(var c=1,t=x.length;c<t;c++)q[c]=+(x[c]-(c%2?l: | |
| n)).toFixed(3)}else for(f[s]=[],"m"==x[0]&&(k=x[1]+l,p=x[2]+n),q=0,c=x.length;q<c;q++)f[s][q]=x[q];x=f[s].length;switch(f[s][0]){case "z":l=k;n=p;break;case "h":l+=+f[s][x-1];break;case "v":n+=+f[s][x-1];break;default:l+=+f[s][x-2],n+=+f[s][x-1]}}f.toString=z;e.rel=d(f);return f};a.path.toAbsolute=G;a.path.toCubic=I;a.path.map=function(a,b){if(!b)return a;var d,e,h,f,l,n,k;a=I(a);h=0;for(l=a.length;h<l;h++)for(k=a[h],f=1,n=k.length;f<n;f+=2)d=b.x(k[f],k[f+1]),e=b.y(k[f],k[f+1]),k[f]=d,k[f+1]=e;return a}; | |
| a.path.toString=z;a.path.clone=d});C.plugin(function(a,v,y,C){var A=Math.max,w=Math.min,z=function(a){this.items=[];this.bindings={};this.length=0;this.type="set";if(a)for(var f=0,n=a.length;f<n;f++)a[f]&&(this[this.items.length]=this.items[this.items.length]=a[f],this.length++)};v=z.prototype;v.push=function(){for(var a,f,n=0,k=arguments.length;n<k;n++)if(a=arguments[n])f=this.items.length,this[f]=this.items[f]=a,this.length++;return this};v.pop=function(){this.length&&delete this[this.length--]; | |
| return this.items.pop()};v.forEach=function(a,f){for(var n=0,k=this.items.length;n<k&&!1!==a.call(f,this.items[n],n);n++);return this};v.animate=function(d,f,n,u){"function"!=typeof n||n.length||(u=n,n=L.linear);d instanceof a._.Animation&&(u=d.callback,n=d.easing,f=n.dur,d=d.attr);var p=arguments;if(a.is(d,"array")&&a.is(p[p.length-1],"array"))var b=!0;var q,e=function(){q?this.b=q:q=this.b},l=0,r=u&&function(){l++==this.length&&u.call(this)};return this.forEach(function(a,l){k.once("snap.animcreated."+ | |
| a.id,e);b?p[l]&&a.animate.apply(a,p[l]):a.animate(d,f,n,r)})};v.remove=function(){for(;this.length;)this.pop().remove();return this};v.bind=function(a,f,k){var u={};if("function"==typeof f)this.bindings[a]=f;else{var p=k||a;this.bindings[a]=function(a){u[p]=a;f.attr(u)}}return this};v.attr=function(a){var f={},k;for(k in a)if(this.bindings[k])this.bindings[k](a[k]);else f[k]=a[k];a=0;for(k=this.items.length;a<k;a++)this.items[a].attr(f);return this};v.clear=function(){for(;this.length;)this.pop()}; | |
| v.splice=function(a,f,k){a=0>a?A(this.length+a,0):a;f=A(0,w(this.length-a,f));var u=[],p=[],b=[],q;for(q=2;q<arguments.length;q++)b.push(arguments[q]);for(q=0;q<f;q++)p.push(this[a+q]);for(;q<this.length-a;q++)u.push(this[a+q]);var e=b.length;for(q=0;q<e+u.length;q++)this.items[a+q]=this[a+q]=q<e?b[q]:u[q-e];for(q=this.items.length=this.length-=f-e;this[q];)delete this[q++];return new z(p)};v.exclude=function(a){for(var f=0,k=this.length;f<k;f++)if(this[f]==a)return this.splice(f,1),!0;return!1}; | |
| v.insertAfter=function(a){for(var f=this.items.length;f--;)this.items[f].insertAfter(a);return this};v.getBBox=function(){for(var a=[],f=[],k=[],u=[],p=this.items.length;p--;)if(!this.items[p].removed){var b=this.items[p].getBBox();a.push(b.x);f.push(b.y);k.push(b.x+b.width);u.push(b.y+b.height)}a=w.apply(0,a);f=w.apply(0,f);k=A.apply(0,k);u=A.apply(0,u);return{x:a,y:f,x2:k,y2:u,width:k-a,height:u-f,cx:a+(k-a)/2,cy:f+(u-f)/2}};v.clone=function(a){a=new z;for(var f=0,k=this.items.length;f<k;f++)a.push(this.items[f].clone()); | |
| return a};v.toString=function(){return"Snap\u2018s set"};v.type="set";a.set=function(){var a=new z;arguments.length&&a.push.apply(a,Array.prototype.slice.call(arguments,0));return a}});C.plugin(function(a,v,y,C){function A(a){var b=a[0];switch(b.toLowerCase()){case "t":return[b,0,0];case "m":return[b,1,0,0,1,0,0];case "r":return 4==a.length?[b,0,a[2],a[3] ]:[b,0];case "s":return 5==a.length?[b,1,1,a[3],a[4] ]:3==a.length?[b,1,1]:[b,1]}}function w(b,d,f){d=q(d).replace(/\.{3}|\u2026/g,b);b=a.parseTransformString(b)|| | |
| [];d=a.parseTransformString(d)||[];for(var k=Math.max(b.length,d.length),p=[],v=[],h=0,w,z,y,I;h<k;h++){y=b[h]||A(d[h]);I=d[h]||A(y);if(y[0]!=I[0]||"r"==y[0].toLowerCase()&&(y[2]!=I[2]||y[3]!=I[3])||"s"==y[0].toLowerCase()&&(y[3]!=I[3]||y[4]!=I[4])){b=a._.transform2matrix(b,f());d=a._.transform2matrix(d,f());p=[["m",b.a,b.b,b.c,b.d,b.e,b.f] ];v=[["m",d.a,d.b,d.c,d.d,d.e,d.f] ];break}p[h]=[];v[h]=[];w=0;for(z=Math.max(y.length,I.length);w<z;w++)w in y&&(p[h][w]=y[w]),w in I&&(v[h][w]=I[w])}return{from:u(p), | |
| to:u(v),f:n(p)}}function z(a){return a}function d(a){return function(b){return+b.toFixed(3)+a}}function f(b){return a.rgb(b[0],b[1],b[2])}function n(a){var b=0,d,f,k,n,h,p,q=[];d=0;for(f=a.length;d<f;d++){h="[";p=['"'+a[d][0]+'"'];k=1;for(n=a[d].length;k<n;k++)p[k]="val["+b++ +"]";h+=p+"]";q[d]=h}return Function("val","return Snap.path.toString.call(["+q+"])")}function u(a){for(var b=[],d=0,f=a.length;d<f;d++)for(var k=1,n=a[d].length;k<n;k++)b.push(a[d][k]);return b}var p={},b=/[a-z]+$/i,q=String; | |
| p.stroke=p.fill="colour";v.prototype.equal=function(a,b){return k("snap.util.equal",this,a,b).firstDefined()};k.on("snap.util.equal",function(e,k){var r,s;r=q(this.attr(e)||"");var x=this;if(r==+r&&k==+k)return{from:+r,to:+k,f:z};if("colour"==p[e])return r=a.color(r),s=a.color(k),{from:[r.r,r.g,r.b,r.opacity],to:[s.r,s.g,s.b,s.opacity],f:f};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return k instanceof a.Matrix&&(k=k.toTransformString()),a._.rgTransform.test(k)||(k=a._.svgTransform2string(k)), | |
| w(r,k,function(){return x.getBBox(1)});if("d"==e||"path"==e)return r=a.path.toCubic(r,k),{from:u(r[0]),to:u(r[1]),f:n(r[0])};if("points"==e)return r=q(r).split(a._.separator),s=q(k).split(a._.separator),{from:r,to:s,f:function(a){return a}};aUnit=r.match(b);s=q(k).match(b);return aUnit&&aUnit==s?{from:parseFloat(r),to:parseFloat(k),f:d(aUnit)}:{from:this.asPX(e),to:this.asPX(e,k),f:z}})});C.plugin(function(a,v,y,C){var A=v.prototype,w="createTouch"in C.doc;v="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel".split(" "); | |
| var z={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},d=function(a,b){var d="y"==a?"scrollTop":"scrollLeft",e=b&&b.node?b.node.ownerDocument:C.doc;return e[d in e.documentElement?"documentElement":"body"][d]},f=function(){this.returnValue=!1},n=function(){return this.originalEvent.preventDefault()},u=function(){this.cancelBubble=!0},p=function(){return this.originalEvent.stopPropagation()},b=function(){if(C.doc.addEventListener)return function(a,b,e,f){var k=w&&z[b]?z[b]:b,l=function(k){var l= | |
| d("y",f),q=d("x",f);if(w&&z.hasOwnProperty(b))for(var r=0,u=k.targetTouches&&k.targetTouches.length;r<u;r++)if(k.targetTouches[r].target==a||a.contains(k.targetTouches[r].target)){u=k;k=k.targetTouches[r];k.originalEvent=u;k.preventDefault=n;k.stopPropagation=p;break}return e.call(f,k,k.clientX+q,k.clientY+l)};b!==k&&a.addEventListener(b,l,!1);a.addEventListener(k,l,!1);return function(){b!==k&&a.removeEventListener(b,l,!1);a.removeEventListener(k,l,!1);return!0}};if(C.doc.attachEvent)return function(a, | |
| b,e,h){var k=function(a){a=a||h.node.ownerDocument.window.event;var b=d("y",h),k=d("x",h),k=a.clientX+k,b=a.clientY+b;a.preventDefault=a.preventDefault||f;a.stopPropagation=a.stopPropagation||u;return e.call(h,a,k,b)};a.attachEvent("on"+b,k);return function(){a.detachEvent("on"+b,k);return!0}}}(),q=[],e=function(a){for(var b=a.clientX,e=a.clientY,f=d("y"),l=d("x"),n,p=q.length;p--;){n=q[p];if(w)for(var r=a.touches&&a.touches.length,u;r--;){if(u=a.touches[r],u.identifier==n.el._drag.id||n.el.node.contains(u.target)){b= | |
| u.clientX;e=u.clientY;(a.originalEvent?a.originalEvent:a).preventDefault();break}}else a.preventDefault();b+=l;e+=f;k("snap.drag.move."+n.el.id,n.move_scope||n.el,b-n.el._drag.x,e-n.el._drag.y,b,e,a)}},l=function(b){a.unmousemove(e).unmouseup(l);for(var d=q.length,f;d--;)f=q[d],f.el._drag={},k("snap.drag.end."+f.el.id,f.end_scope||f.start_scope||f.move_scope||f.el,b);q=[]};for(y=v.length;y--;)(function(d){a[d]=A[d]=function(e,f){a.is(e,"function")&&(this.events=this.events||[],this.events.push({name:d, | |
| f:e,unbind:b(this.node||document,d,e,f||this)}));return this};a["un"+d]=A["un"+d]=function(a){for(var b=this.events||[],e=b.length;e--;)if(b[e].name==d&&(b[e].f==a||!a)){b[e].unbind();b.splice(e,1);!b.length&&delete this.events;break}return this}})(v[y]);A.hover=function(a,b,d,e){return this.mouseover(a,d).mouseout(b,e||d)};A.unhover=function(a,b){return this.unmouseover(a).unmouseout(b)};var r=[];A.drag=function(b,d,f,h,n,p){function u(r,v,w){(r.originalEvent||r).preventDefault();this._drag.x=v; | |
| this._drag.y=w;this._drag.id=r.identifier;!q.length&&a.mousemove(e).mouseup(l);q.push({el:this,move_scope:h,start_scope:n,end_scope:p});d&&k.on("snap.drag.start."+this.id,d);b&&k.on("snap.drag.move."+this.id,b);f&&k.on("snap.drag.end."+this.id,f);k("snap.drag.start."+this.id,n||h||this,v,w,r)}if(!arguments.length){var v;return this.drag(function(a,b){this.attr({transform:v+(v?"T":"t")+[a,b]})},function(){v=this.transform().local})}this._drag={};r.push({el:this,start:u});this.mousedown(u);return this}; | |
| A.undrag=function(){for(var b=r.length;b--;)r[b].el==this&&(this.unmousedown(r[b].start),r.splice(b,1),k.unbind("snap.drag.*."+this.id));!r.length&&a.unmousemove(e).unmouseup(l);return this}});C.plugin(function(a,v,y,C){y=y.prototype;var A=/^\s*url\((.+)\)/,w=String,z=a._.$;a.filter={};y.filter=function(d){var f=this;"svg"!=f.type&&(f=f.paper);d=a.parse(w(d));var k=a._.id(),u=z("filter");z(u,{id:k,filterUnits:"userSpaceOnUse"});u.appendChild(d.node);f.defs.appendChild(u);return new v(u)};k.on("snap.util.getattr.filter", | |
| function(){k.stop();var d=z(this.node,"filter");if(d)return(d=w(d).match(A))&&a.select(d[1])});k.on("snap.util.attr.filter",function(d){if(d instanceof v&&"filter"==d.type){k.stop();var f=d.node.id;f||(z(d.node,{id:d.id}),f=d.id);z(this.node,{filter:a.url(f)})}d&&"none"!=d||(k.stop(),this.node.removeAttribute("filter"))});a.filter.blur=function(d,f){null==d&&(d=2);return a.format('<feGaussianBlur stdDeviation="{def}"/>',{def:null==f?d:[d,f]})};a.filter.blur.toString=function(){return this()};a.filter.shadow= | |
| function(d,f,k,u,p){"string"==typeof k&&(p=u=k,k=4);"string"!=typeof u&&(p=u,u="#000");null==k&&(k=4);null==p&&(p=1);null==d&&(d=0,f=2);null==f&&(f=d);u=a.color(u||"#000");return a.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>', | |
| {color:u,dx:d,dy:f,blur:k,opacity:p})};a.filter.shadow.toString=function(){return this()};a.filter.grayscale=function(d){null==d&&(d=1);return a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:0.2126+0.7874*(1-d),b:0.7152-0.7152*(1-d),c:0.0722-0.0722*(1-d),d:0.2126-0.2126*(1-d),e:0.7152+0.2848*(1-d),f:0.0722-0.0722*(1-d),g:0.2126-0.2126*(1-d),h:0.0722+0.9278*(1-d)})};a.filter.grayscale.toString=function(){return this()};a.filter.sepia= | |
| function(d){null==d&&(d=1);return a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:0.393+0.607*(1-d),b:0.769-0.769*(1-d),c:0.189-0.189*(1-d),d:0.349-0.349*(1-d),e:0.686+0.314*(1-d),f:0.168-0.168*(1-d),g:0.272-0.272*(1-d),h:0.534-0.534*(1-d),i:0.131+0.869*(1-d)})};a.filter.sepia.toString=function(){return this()};a.filter.saturate=function(d){null==d&&(d=1);return a.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1- | |
| d})};a.filter.saturate.toString=function(){return this()};a.filter.hueRotate=function(d){return a.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:d||0})};a.filter.hueRotate.toString=function(){return this()};a.filter.invert=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:d, | |
| amount2:1-d})};a.filter.invert.toString=function(){return this()};a.filter.brightness=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:d})};a.filter.brightness.toString=function(){return this()};a.filter.contrast=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>', | |
| {amount:d,amount2:0.5-d/2})};a.filter.contrast.toString=function(){return this()}});return C}); | |
| ]]> </script> | |
| <script> <![CDATA[ | |
| (function (glob, factory) { | |
| // AMD support | |
| if (typeof define === "function" && define.amd) { | |
| // Define as an anonymous module | |
| define("Gadfly", ["Snap.svg"], function (Snap) { | |
| return factory(Snap); | |
| }); | |
| } else { | |
| // Browser globals (glob is window) | |
| // Snap adds itself to window | |
| glob.Gadfly = factory(glob.Snap); | |
| } | |
| }(this, function (Snap) { | |
| var Gadfly = {}; | |
| // Get an x/y coordinate value in pixels | |
| var xPX = function(fig, x) { | |
| var client_box = fig.node.getBoundingClientRect(); | |
| return x * fig.node.viewBox.baseVal.width / client_box.width; | |
| }; | |
| var yPX = function(fig, y) { | |
| var client_box = fig.node.getBoundingClientRect(); | |
| return y * fig.node.viewBox.baseVal.height / client_box.height; | |
| }; | |
| Snap.plugin(function (Snap, Element, Paper, global) { | |
| // Traverse upwards from a snap element to find and return the first | |
| // note with the "plotroot" class. | |
| Element.prototype.plotroot = function () { | |
| var element = this; | |
| while (!element.hasClass("plotroot") && element.parent() != null) { | |
| element = element.parent(); | |
| } | |
| return element; | |
| }; | |
| Element.prototype.svgroot = function () { | |
| var element = this; | |
| while (element.node.nodeName != "svg" && element.parent() != null) { | |
| element = element.parent(); | |
| } | |
| return element; | |
| }; | |
| Element.prototype.plotbounds = function () { | |
| var root = this.plotroot() | |
| var bbox = root.select(".guide.background").node.getBBox(); | |
| return { | |
| x0: bbox.x, | |
| x1: bbox.x + bbox.width, | |
| y0: bbox.y, | |
| y1: bbox.y + bbox.height | |
| }; | |
| }; | |
| Element.prototype.plotcenter = function () { | |
| var root = this.plotroot() | |
| var bbox = root.select(".guide.background").node.getBBox(); | |
| return { | |
| x: bbox.x + bbox.width / 2, | |
| y: bbox.y + bbox.height / 2 | |
| }; | |
| }; | |
| // Emulate IE style mouseenter/mouseleave events, since Microsoft always | |
| // does everything right. | |
| // See: http://www.dynamic-tools.net/toolbox/isMouseLeaveOrEnter/ | |
| var events = ["mouseenter", "mouseleave"]; | |
| for (i in events) { | |
| (function (event_name) { | |
| var event_name = events[i]; | |
| Element.prototype[event_name] = function (fn, scope) { | |
| if (Snap.is(fn, "function")) { | |
| var fn2 = function (event) { | |
| if (event.type != "mouseover" && event.type != "mouseout") { | |
| return; | |
| } | |
| var reltg = event.relatedTarget ? event.relatedTarget : | |
| event.type == "mouseout" ? event.toElement : event.fromElement; | |
| while (reltg && reltg != this.node) reltg = reltg.parentNode; | |
| if (reltg != this.node) { | |
| return fn.apply(this, event); | |
| } | |
| }; | |
| if (event_name == "mouseenter") { | |
| this.mouseover(fn2, scope); | |
| } else { | |
| this.mouseout(fn2, scope); | |
| } | |
| } | |
| return this; | |
| }; | |
| })(events[i]); | |
| } | |
| Element.prototype.mousewheel = function (fn, scope) { | |
| if (Snap.is(fn, "function")) { | |
| var el = this; | |
| var fn2 = function (event) { | |
| fn.apply(el, [event]); | |
| }; | |
| } | |
| this.node.addEventListener( | |
| /Firefox/i.test(navigator.userAgent) ? "DOMMouseScroll" : "mousewheel", | |
| fn2); | |
| return this; | |
| }; | |
| // Snap's attr function can be too slow for things like panning/zooming. | |
| // This is a function to directly update element attributes without going | |
| // through eve. | |
| Element.prototype.attribute = function(key, val) { | |
| if (val === undefined) { | |
| return this.node.getAttribute(key, val); | |
| } else { | |
| return this.node.setAttribute(key, val); | |
| } | |
| }; | |
| }); | |
| // When the plot is moused over, emphasize the grid lines. | |
| Gadfly.plot_mouseover = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var xgridlines = root.select(".xgridlines"), | |
| ygridlines = root.select(".ygridlines"); | |
| xgridlines.data("unfocused_strokedash", | |
| xgridlines.attr("stroke-dasharray").replace(/px/g, "mm")) | |
| ygridlines.data("unfocused_strokedash", | |
| ygridlines.attr("stroke-dasharray").replace(/px/g, "mm")) | |
| // emphasize grid lines | |
| var destcolor = root.data("focused_xgrid_color"); | |
| xgridlines.attr("stroke-dasharray", "none") | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| destcolor = root.data("focused_ygrid_color"); | |
| ygridlines.attr("stroke-dasharray", "none") | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| // reveal zoom slider | |
| root.select(".zoomslider") | |
| .animate({opacity: 1.0}, 250); | |
| }; | |
| // Unemphasize grid lines on mouse out. | |
| Gadfly.plot_mouseout = function(event) { | |
| var root = this.plotroot(); | |
| var xgridlines = root.select(".xgridlines"), | |
| ygridlines = root.select(".ygridlines"); | |
| var destcolor = root.data("unfocused_xgrid_color"); | |
| xgridlines.attr("stroke-dasharray", xgridlines.data("unfocused_strokedash")) | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| destcolor = root.data("unfocused_ygrid_color"); | |
| ygridlines.attr("stroke-dasharray", ygridlines.data("unfocused_strokedash")) | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| // hide zoom slider | |
| root.select(".zoomslider") | |
| .animate({opacity: 0.0}, 250); | |
| }; | |
| var set_geometry_transform = function(root, tx, ty, scale) { | |
| var xscalable = root.hasClass("xscalable"), | |
| yscalable = root.hasClass("yscalable"); | |
| var old_scale = root.data("scale"); | |
| var xscale = xscalable ? scale : 1.0, | |
| yscale = yscalable ? scale : 1.0; | |
| tx = xscalable ? tx : 0.0; | |
| ty = yscalable ? ty : 0.0; | |
| var t = new Snap.Matrix().translate(tx, ty).scale(xscale, yscale); | |
| root.selectAll(".geometry, image") | |
| .forEach(function (element, i) { | |
| element.transform(t); | |
| }); | |
| bounds = root.plotbounds(); | |
| if (yscalable) { | |
| var xfixed_t = new Snap.Matrix().translate(0, ty).scale(1.0, yscale); | |
| root.selectAll(".xfixed") | |
| .forEach(function (element, i) { | |
| element.transform(xfixed_t); | |
| }); | |
| root.select(".ylabels") | |
| .transform(xfixed_t) | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var cx = element.asPX("x"), | |
| cy = element.asPX("y"); | |
| var st = element.data("static_transform"); | |
| unscale_t = new Snap.Matrix(); | |
| unscale_t.scale(1, 1/scale, cx, cy).add(st); | |
| element.transform(unscale_t); | |
| var y = cy * scale + ty; | |
| element.attr("visibility", | |
| bounds.y0 <= y && y <= bounds.y1 ? "visible" : "hidden"); | |
| } | |
| }); | |
| } | |
| if (xscalable) { | |
| var yfixed_t = new Snap.Matrix().translate(tx, 0).scale(xscale, 1.0); | |
| var xtrans = new Snap.Matrix().translate(tx, 0); | |
| root.selectAll(".yfixed") | |
| .forEach(function (element, i) { | |
| element.transform(yfixed_t); | |
| }); | |
| root.select(".xlabels") | |
| .transform(yfixed_t) | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var cx = element.asPX("x"), | |
| cy = element.asPX("y"); | |
| var st = element.data("static_transform"); | |
| unscale_t = new Snap.Matrix(); | |
| unscale_t.scale(1/scale, 1, cx, cy).add(st); | |
| element.transform(unscale_t); | |
| var x = cx * scale + tx; | |
| element.attr("visibility", | |
| bounds.x0 <= x && x <= bounds.x1 ? "visible" : "hidden"); | |
| } | |
| }); | |
| } | |
| // we must unscale anything that is scale invariance: widths, raiduses, etc. | |
| var size_attribs = ["font-size"]; | |
| var unscaled_selection = ".geometry, .geometry *"; | |
| if (xscalable) { | |
| size_attribs.push("rx"); | |
| unscaled_selection += ", .xgridlines"; | |
| } | |
| if (yscalable) { | |
| size_attribs.push("ry"); | |
| unscaled_selection += ", .ygridlines"; | |
| } | |
| root.selectAll(unscaled_selection) | |
| .forEach(function (element, i) { | |
| // circle need special help | |
| if (element.node.nodeName == "circle") { | |
| var cx = element.attribute("cx"), | |
| cy = element.attribute("cy"); | |
| unscale_t = new Snap.Matrix().scale(1/xscale, 1/yscale, | |
| cx, cy); | |
| element.transform(unscale_t); | |
| return; | |
| } | |
| for (i in size_attribs) { | |
| var key = size_attribs[i]; | |
| var val = parseFloat(element.attribute(key)); | |
| if (val !== undefined && val != 0 && !isNaN(val)) { | |
| element.attribute(key, val * old_scale / scale); | |
| } | |
| } | |
| }); | |
| }; | |
| // Find the most appropriate tick scale and update label visibility. | |
| var update_tickscale = function(root, scale, axis) { | |
| if (!root.hasClass(axis + "scalable")) return; | |
| var tickscales = root.data(axis + "tickscales"); | |
| var best_tickscale = 1.0; | |
| var best_tickscale_dist = Infinity; | |
| for (tickscale in tickscales) { | |
| var dist = Math.abs(Math.log(tickscale) - Math.log(scale)); | |
| if (dist < best_tickscale_dist) { | |
| best_tickscale_dist = dist; | |
| best_tickscale = tickscale; | |
| } | |
| } | |
| if (best_tickscale != root.data(axis + "tickscale")) { | |
| root.data(axis + "tickscale", best_tickscale); | |
| var mark_inscale_gridlines = function (element, i) { | |
| var inscale = element.attr("gadfly:scale") == best_tickscale; | |
| element.attribute("gadfly:inscale", inscale); | |
| element.attr("visibility", inscale ? "visible" : "hidden"); | |
| }; | |
| var mark_inscale_labels = function (element, i) { | |
| var inscale = element.attr("gadfly:scale") == best_tickscale; | |
| element.attribute("gadfly:inscale", inscale); | |
| element.attr("visibility", inscale ? "visible" : "hidden"); | |
| }; | |
| root.select("." + axis + "gridlines").selectAll("path").forEach(mark_inscale_gridlines); | |
| root.select("." + axis + "labels").selectAll("text").forEach(mark_inscale_labels); | |
| } | |
| }; | |
| var set_plot_pan_zoom = function(root, tx, ty, scale) { | |
| var old_scale = root.data("scale"); | |
| var bounds = root.plotbounds(); | |
| var width = bounds.x1 - bounds.x0, | |
| height = bounds.y1 - bounds.y0; | |
| // compute the viewport derived from tx, ty, and scale | |
| var x_min = -width * scale - (scale * width - width), | |
| x_max = width * scale, | |
| y_min = -height * scale - (scale * height - height), | |
| y_max = height * scale; | |
| var x0 = bounds.x0 - scale * bounds.x0, | |
| y0 = bounds.y0 - scale * bounds.y0; | |
| var tx = Math.max(Math.min(tx - x0, x_max), x_min), | |
| ty = Math.max(Math.min(ty - y0, y_max), y_min); | |
| tx += x0; | |
| ty += y0; | |
| // when the scale change, we may need to alter which set of | |
| // ticks is being displayed | |
| if (scale != old_scale) { | |
| update_tickscale(root, scale, "x"); | |
| update_tickscale(root, scale, "y"); | |
| } | |
| set_geometry_transform(root, tx, ty, scale); | |
| root.data("scale", scale); | |
| root.data("tx", tx); | |
| root.data("ty", ty); | |
| }; | |
| var scale_centered_translation = function(root, scale) { | |
| var bounds = root.plotbounds(); | |
| var width = bounds.x1 - bounds.x0, | |
| height = bounds.y1 - bounds.y0; | |
| var tx0 = root.data("tx"), | |
| ty0 = root.data("ty"); | |
| var scale0 = root.data("scale"); | |
| // how off from center the current view is | |
| var xoff = tx0 - (bounds.x0 * (1 - scale0) + (width * (1 - scale0)) / 2), | |
| yoff = ty0 - (bounds.y0 * (1 - scale0) + (height * (1 - scale0)) / 2); | |
| // rescale offsets | |
| xoff = xoff * scale / scale0; | |
| yoff = yoff * scale / scale0; | |
| // adjust for the panel position being scaled | |
| var x_edge_adjust = bounds.x0 * (1 - scale), | |
| y_edge_adjust = bounds.y0 * (1 - scale); | |
| return { | |
| x: xoff + x_edge_adjust + (width - width * scale) / 2, | |
| y: yoff + y_edge_adjust + (height - height * scale) / 2 | |
| }; | |
| }; | |
| // Initialize data for panning zooming if it isn't already. | |
| var init_pan_zoom = function(root) { | |
| if (root.data("zoompan-ready")) { | |
| return; | |
| } | |
| // The non-scaling-stroke trick. Rather than try to correct for the | |
| // stroke-width when zooming, we force it to a fixed value. | |
| var px_per_mm = root.node.getCTM().a; | |
| // Drag events report deltas in pixels, which we'd like to convert to | |
| // millimeters. | |
| root.data("px_per_mm", px_per_mm); | |
| root.selectAll("path") | |
| .forEach(function (element, i) { | |
| sw = element.asPX("stroke-width") * px_per_mm; | |
| if (sw > 0) { | |
| element.attribute("stroke-width", sw); | |
| element.attribute("vector-effect", "non-scaling-stroke"); | |
| } | |
| }); | |
| // Store ticks labels original tranformation | |
| root.selectAll(".xlabels > text, .ylabels > text") | |
| .forEach(function (element, i) { | |
| var lm = element.transform().localMatrix; | |
| element.data("static_transform", | |
| new Snap.Matrix(lm.a, lm.b, lm.c, lm.d, lm.e, lm.f)); | |
| }); | |
| if (root.data("tx") === undefined) root.data("tx", 0); | |
| if (root.data("ty") === undefined) root.data("ty", 0); | |
| if (root.data("scale") === undefined) root.data("scale", 1.0); | |
| if (root.data("xtickscales") === undefined) { | |
| // index all the tick scales that are listed | |
| var xtickscales = {}; | |
| var ytickscales = {}; | |
| var add_x_tick_scales = function (element, i) { | |
| xtickscales[element.attribute("gadfly:scale")] = true; | |
| }; | |
| var add_y_tick_scales = function (element, i) { | |
| ytickscales[element.attribute("gadfly:scale")] = true; | |
| }; | |
| root.select(".xgridlines").selectAll("path").forEach(add_x_tick_scales); | |
| root.select(".ygridlines").selectAll("path").forEach(add_y_tick_scales); | |
| root.select(".xlabels").selectAll("text").forEach(add_x_tick_scales); | |
| root.select(".ylabels").selectAll("text").forEach(add_y_tick_scales); | |
| root.data("xtickscales", xtickscales); | |
| root.data("ytickscales", ytickscales); | |
| root.data("xtickscale", 1.0); | |
| } | |
| var min_scale = 1.0, max_scale = 1.0; | |
| for (scale in xtickscales) { | |
| min_scale = Math.min(min_scale, scale); | |
| max_scale = Math.max(max_scale, scale); | |
| } | |
| for (scale in ytickscales) { | |
| min_scale = Math.min(min_scale, scale); | |
| max_scale = Math.max(max_scale, scale); | |
| } | |
| root.data("min_scale", min_scale); | |
| root.data("max_scale", max_scale); | |
| // store the original positions of labels | |
| root.select(".xlabels") | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| element.data("x", element.asPX("x")); | |
| }); | |
| root.select(".ylabels") | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| element.data("y", element.asPX("y")); | |
| }); | |
| // mark grid lines and ticks as in or out of scale. | |
| var mark_inscale = function (element, i) { | |
| element.attribute("gadfly:inscale", element.attribute("gadfly:scale") == 1.0); | |
| }; | |
| root.select(".xgridlines").selectAll("path").forEach(mark_inscale); | |
| root.select(".ygridlines").selectAll("path").forEach(mark_inscale); | |
| root.select(".xlabels").selectAll("text").forEach(mark_inscale); | |
| root.select(".ylabels").selectAll("text").forEach(mark_inscale); | |
| // figure out the upper ond lower bounds on panning using the maximum | |
| // and minum grid lines | |
| var bounds = root.plotbounds(); | |
| var pan_bounds = { | |
| x0: 0.0, | |
| y0: 0.0, | |
| x1: 0.0, | |
| y1: 0.0 | |
| }; | |
| root.select(".xgridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var bbox = element.node.getBBox(); | |
| if (bounds.x1 - bbox.x < pan_bounds.x0) { | |
| pan_bounds.x0 = bounds.x1 - bbox.x; | |
| } | |
| if (bounds.x0 - bbox.x > pan_bounds.x1) { | |
| pan_bounds.x1 = bounds.x0 - bbox.x; | |
| } | |
| } | |
| }); | |
| root.select(".ygridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var bbox = element.node.getBBox(); | |
| if (bounds.y1 - bbox.y < pan_bounds.y0) { | |
| pan_bounds.y0 = bounds.y1 - bbox.y; | |
| } | |
| if (bounds.y0 - bbox.y > pan_bounds.y1) { | |
| pan_bounds.y1 = bounds.y0 - bbox.y; | |
| } | |
| } | |
| }); | |
| // nudge these values a little | |
| pan_bounds.x0 -= 5; | |
| pan_bounds.x1 += 5; | |
| pan_bounds.y0 -= 5; | |
| pan_bounds.y1 += 5; | |
| root.data("pan_bounds", pan_bounds); | |
| // Set all grid lines at scale 1.0 to visible. Out of bounds lines | |
| // will be clipped. | |
| root.select(".xgridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| element.attr("visibility", "visible"); | |
| } | |
| }); | |
| root.select(".ygridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| element.attr("visibility", "visible"); | |
| } | |
| }); | |
| root.data("zoompan-ready", true) | |
| }; | |
| // Panning | |
| Gadfly.guide_background_drag_onmove = function(dx, dy, x, y, event) { | |
| var root = this.plotroot(); | |
| var px_per_mm = root.data("px_per_mm"); | |
| dx /= px_per_mm; | |
| dy /= px_per_mm; | |
| var tx0 = root.data("tx"), | |
| ty0 = root.data("ty"); | |
| var dx0 = root.data("dx"), | |
| dy0 = root.data("dy"); | |
| root.data("dx", dx); | |
| root.data("dy", dy); | |
| dx = dx - dx0; | |
| dy = dy - dy0; | |
| var tx = tx0 + dx, | |
| ty = ty0 + dy; | |
| set_plot_pan_zoom(root, tx, ty, root.data("scale")); | |
| }; | |
| Gadfly.guide_background_drag_onstart = function(x, y, event) { | |
| var root = this.plotroot(); | |
| root.data("dx", 0); | |
| root.data("dy", 0); | |
| init_pan_zoom(root); | |
| }; | |
| Gadfly.guide_background_drag_onend = function(event) { | |
| var root = this.plotroot(); | |
| }; | |
| Gadfly.guide_background_scroll = function(event) { | |
| if (event.shiftKey) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var new_scale = root.data("scale") * Math.pow(2, 0.002 * event.wheelDelta); | |
| new_scale = Math.max( | |
| root.data("min_scale"), | |
| Math.min(root.data("max_scale"), new_scale)) | |
| update_plot_scale(root, new_scale); | |
| event.stopPropagation(); | |
| } | |
| }; | |
| Gadfly.zoomslider_button_mouseover = function(event) { | |
| this.select(".button_logo") | |
| .animate({fill: this.data("mouseover_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_button_mouseout = function(event) { | |
| this.select(".button_logo") | |
| .animate({fill: this.data("mouseout_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_zoomout_click = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var min_scale = root.data("min_scale"), | |
| scale = root.data("scale"); | |
| Snap.animate( | |
| scale, | |
| Math.max(min_scale, scale / 1.5), | |
| function (new_scale) { | |
| update_plot_scale(root, new_scale); | |
| }, | |
| 200); | |
| }; | |
| Gadfly.zoomslider_zoomin_click = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var max_scale = root.data("max_scale"), | |
| scale = root.data("scale"); | |
| Snap.animate( | |
| scale, | |
| Math.min(max_scale, scale * 1.5), | |
| function (new_scale) { | |
| update_plot_scale(root, new_scale); | |
| }, | |
| 200); | |
| }; | |
| Gadfly.zoomslider_track_click = function(event) { | |
| // TODO | |
| }; | |
| Gadfly.zoomslider_thumb_mousedown = function(event) { | |
| this.animate({fill: this.data("mouseover_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_thumb_mouseup = function(event) { | |
| this.animate({fill: this.data("mouseout_color")}, 100); | |
| }; | |
| // compute the position in [0, 1] of the zoom slider thumb from the current scale | |
| var slider_position_from_scale = function(scale, min_scale, max_scale) { | |
| if (scale >= 1.0) { | |
| return 0.5 + 0.5 * (Math.log(scale) / Math.log(max_scale)); | |
| } | |
| else { | |
| return 0.5 * (Math.log(scale) - Math.log(min_scale)) / (0 - Math.log(min_scale)); | |
| } | |
| } | |
| var update_plot_scale = function(root, new_scale) { | |
| var trans = scale_centered_translation(root, new_scale); | |
| set_plot_pan_zoom(root, trans.x, trans.y, new_scale); | |
| root.selectAll(".zoomslider_thumb") | |
| .forEach(function (element, i) { | |
| var min_pos = element.data("min_pos"), | |
| max_pos = element.data("max_pos"), | |
| min_scale = root.data("min_scale"), | |
| max_scale = root.data("max_scale"); | |
| var xmid = (min_pos + max_pos) / 2; | |
| var xpos = slider_position_from_scale(new_scale, min_scale, max_scale); | |
| element.transform(new Snap.Matrix().translate( | |
| Math.max(min_pos, Math.min( | |
| max_pos, min_pos + (max_pos - min_pos) * xpos)) - xmid, 0)); | |
| }); | |
| }; | |
| Gadfly.zoomslider_thumb_dragmove = function(dx, dy, x, y) { | |
| var root = this.plotroot(); | |
| var min_pos = this.data("min_pos"), | |
| max_pos = this.data("max_pos"), | |
| min_scale = root.data("min_scale"), | |
| max_scale = root.data("max_scale"), | |
| old_scale = root.data("old_scale"); | |
| var px_per_mm = root.data("px_per_mm"); | |
| dx /= px_per_mm; | |
| dy /= px_per_mm; | |
| var xmid = (min_pos + max_pos) / 2; | |
| var xpos = slider_position_from_scale(old_scale, min_scale, max_scale) + | |
| dx / (max_pos - min_pos); | |
| // compute the new scale | |
| var new_scale; | |
| if (xpos >= 0.5) { | |
| new_scale = Math.exp(2.0 * (xpos - 0.5) * Math.log(max_scale)); | |
| } | |
| else { | |
| new_scale = Math.exp(2.0 * xpos * (0 - Math.log(min_scale)) + | |
| Math.log(min_scale)); | |
| } | |
| new_scale = Math.min(max_scale, Math.max(min_scale, new_scale)); | |
| update_plot_scale(root, new_scale); | |
| }; | |
| Gadfly.zoomslider_thumb_dragstart = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| // keep track of what the scale was when we started dragging | |
| root.data("old_scale", root.data("scale")); | |
| }; | |
| Gadfly.zoomslider_thumb_dragend = function(event) { | |
| }; | |
| var toggle_color_class = function(root, color_class, ison) { | |
| var guides = root.selectAll(".guide." + color_class + ",.guide ." + color_class); | |
| var geoms = root.selectAll(".geometry." + color_class + ",.geometry ." + color_class); | |
| if (ison) { | |
| guides.animate({opacity: 0.5}, 250); | |
| geoms.animate({opacity: 0.0}, 250); | |
| } else { | |
| guides.animate({opacity: 1.0}, 250); | |
| geoms.animate({opacity: 1.0}, 250); | |
| } | |
| }; | |
| Gadfly.colorkey_swatch_click = function(event) { | |
| var root = this.plotroot(); | |
| var color_class = this.data("color_class"); | |
| if (event.shiftKey) { | |
| root.selectAll(".colorkey text") | |
| .forEach(function (element) { | |
| var other_color_class = element.data("color_class"); | |
| if (other_color_class != color_class) { | |
| toggle_color_class(root, other_color_class, | |
| element.attr("opacity") == 1.0); | |
| } | |
| }); | |
| } else { | |
| toggle_color_class(root, color_class, this.attr("opacity") == 1.0); | |
| } | |
| }; | |
| return Gadfly; | |
| })); | |
| //@ sourceURL=gadfly.js | |
| (function (glob, factory) { | |
| // AMD support | |
| if (typeof require === "function" && typeof define === "function" && define.amd) { | |
| require(["Snap.svg", "Gadfly"], function (Snap, Gadfly) { | |
| factory(Snap, Gadfly); | |
| }); | |
| } else { | |
| factory(glob.Snap, glob.Gadfly); | |
| } | |
| })(window, function (Snap, Gadfly) { | |
| var fig = Snap("#fig-c1f5e8da1bb043a3b60723f3eee95dfe"); | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-4") | |
| .mouseenter(Gadfly.plot_mouseover) | |
| .mouseleave(Gadfly.plot_mouseout) | |
| .mousewheel(Gadfly.guide_background_scroll) | |
| .drag(Gadfly.guide_background_drag_onmove, | |
| Gadfly.guide_background_drag_onstart, | |
| Gadfly.guide_background_drag_onend) | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-7") | |
| .plotroot().data("unfocused_ygrid_color", "#D0D0E0") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-7") | |
| .plotroot().data("focused_ygrid_color", "#A0A0A0") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-8") | |
| .plotroot().data("unfocused_xgrid_color", "#D0D0E0") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-8") | |
| .plotroot().data("focused_xgrid_color", "#A0A0A0") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-12") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-12") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-12") | |
| .click(Gadfly.zoomslider_zoomin_click) | |
| .mouseenter(Gadfly.zoomslider_button_mouseover) | |
| .mouseleave(Gadfly.zoomslider_button_mouseout) | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-14") | |
| .data("max_pos", 120.42) | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-14") | |
| .data("min_pos", 103.42) | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-14") | |
| .click(Gadfly.zoomslider_track_click); | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-15") | |
| .data("max_pos", 120.42) | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-15") | |
| .data("min_pos", 103.42) | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-15") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-15") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-15") | |
| .drag(Gadfly.zoomslider_thumb_dragmove, | |
| Gadfly.zoomslider_thumb_dragstart, | |
| Gadfly.zoomslider_thumb_dragend) | |
| .mousedown(Gadfly.zoomslider_thumb_mousedown) | |
| .mouseup(Gadfly.zoomslider_thumb_mouseup) | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-16") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-16") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-c1f5e8da1bb043a3b60723f3eee95dfe-element-16") | |
| .click(Gadfly.zoomslider_zoomout_click) | |
| .mouseenter(Gadfly.zoomslider_button_mouseover) | |
| .mouseleave(Gadfly.zoomslider_button_mouseout) | |
| ; | |
| }); | |
| ]]> </script> | |
| </svg> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="cell border-box-sizing code_cell rendered"> | |
| <div class="input"> | |
| <div class="prompt input_prompt"> | |
| In [236]: | |
| </div> | |
| <div class="inner_cell"> | |
| <div class="input_area"> | |
| <div class="highlight"><pre><span class="k">function</span><span class="nf"> Gi_per_year</span><span class="p">(</span><span class="n">Fi</span><span class="p">,</span> <span class="n">Ge</span><span class="p">,</span> <span class="n">Fe</span><span class="p">,</span> <span class="n">friendliness_ratio</span><span class="p">)</span> | |
| <span class="n">C1</span> <span class="o">=</span> <span class="mi">1</span><span class="o">/</span><span class="n">friendliness_ratio</span> | |
| <span class="n">C0</span> <span class="o">=</span> <span class="o">-</span><span class="p">(</span><span class="n">Ge</span> <span class="o">+</span> <span class="p">(</span><span class="n">Fe</span><span class="o">/</span><span class="n">friendliness_ratio</span><span class="p">))</span> | |
| <span class="n">Gi</span> <span class="o">=</span> <span class="n">C0</span> <span class="o">+</span> <span class="n">C1</span><span class="o">*</span><span class="n">Fi</span> | |
| <span class="n">ratio</span> <span class="o">=</span> <span class="n">Gi</span><span class="o">/</span><span class="n">Fi</span> | |
| <span class="k">end</span><span class="p">;</span> | |
| <span class="n">plot</span><span class="p">(</span><span class="n">x</span> <span class="o">-></span> <span class="n">Gi_per_year</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">Ge</span><span class="p">,</span> <span class="n">Fe</span><span class="p">,</span> <span class="n">friendliness_ratio</span><span class="p">),</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">5000</span><span class="p">,</span> <span class="n">Guide</span><span class="o">.</span><span class="n">xlabel</span><span class="p">(</span><span class="s">"F</span><span class="se">\'</span><span class="s"><sub>i</sub>"</span><span class="p">),</span> <span class="n">Guide</span><span class="o">.</span><span class="n">ylabel</span><span class="p">(</span><span class="s">"G</span><span class="se">\'</span><span class="s"><sub>i</sub> Maximum"</span><span class="p">),</span> <span class="n">Guide</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="s">"Doom Chart"</span><span class="p">))</span> | |
| </pre></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="output_wrapper"> | |
| <div class="output"> | |
| <div class="output_area"><div class="prompt output_prompt"> | |
| Out[236]:</div> | |
| <div class="output_html rendered_html output_subarea output_pyout"> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <svg xmlns="http://www.w3.org/2000/svg" | |
| xmlns:xlink="http://www.w3.org/1999/xlink" | |
| xmlns:gadfly="http://www.gadflyjl.org/ns" | |
| version="1.2" | |
| width="141.42mm" height="100mm" viewBox="0 0 141.42 100" | |
| stroke="none" | |
| fill="#000000" | |
| stroke-width="0.3" | |
| font-size="3.88" | |
| id="fig-ea408692ed4849c492eab13dda79f05c"> | |
| <g class="plotroot xscalable yscalable" id="fig-ea408692ed4849c492eab13dda79f05c-element-1"> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-ea408692ed4849c492eab13dda79f05c-element-2"> | |
| <text x="78.99" y="92" text-anchor="middle">F'<tspan style="dominant-baseline:inherit" dy="0.6em" font-size="83%">i</tspan><tspan dy="-0.498000em"></tspan></text> | |
| </g> | |
| <g class="guide xlabels" font-size="2.82" font-family="'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif" fill="#6C606B" id="fig-ea408692ed4849c492eab13dda79f05c-element-3"> | |
| <text x="-109.49" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-6.0×10³</text> | |
| <text x="-87.32" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-5.0×10³</text> | |
| <text x="-65.15" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-4.0×10³</text> | |
| <text x="-42.97" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-3.0×10³</text> | |
| <text x="-20.8" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-2.0×10³</text> | |
| <text x="1.38" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">-1.0×10³</text> | |
| <text x="23.55" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">0</text> | |
| <text x="45.72" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">1.0×10³</text> | |
| <text x="67.9" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">2.0×10³</text> | |
| <text x="90.07" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">3.0×10³</text> | |
| <text x="112.25" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">4.0×10³</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="visible">5.0×10³</text> | |
| <text x="156.6" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">6.0×10³</text> | |
| <text x="178.77" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">7.0×10³</text> | |
| <text x="200.94" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">8.0×10³</text> | |
| <text x="223.12" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">9.0×10³</text> | |
| <text x="245.29" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">1.0×10⁴</text> | |
| <text x="267.47" y="84.58" text-anchor="middle" gadfly:scale="1.0" visibility="hidden">1.1×10⁴</text> | |
| <text x="-87.32" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-5.00×10³</text> | |
| <text x="-82.88" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.80×10³</text> | |
| <text x="-78.45" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.60×10³</text> | |
| <text x="-74.02" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.40×10³</text> | |
| <text x="-69.58" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.20×10³</text> | |
| <text x="-65.15" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.00×10³</text> | |
| <text x="-60.71" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.80×10³</text> | |
| <text x="-56.28" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.60×10³</text> | |
| <text x="-51.84" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.40×10³</text> | |
| <text x="-47.41" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.20×10³</text> | |
| <text x="-42.97" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-3.00×10³</text> | |
| <text x="-38.54" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.80×10³</text> | |
| <text x="-34.1" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.60×10³</text> | |
| <text x="-29.67" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.40×10³</text> | |
| <text x="-25.23" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.20×10³</text> | |
| <text x="-20.8" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.00×10³</text> | |
| <text x="-16.36" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.80×10³</text> | |
| <text x="-11.93" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.60×10³</text> | |
| <text x="-7.49" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.40×10³</text> | |
| <text x="-3.06" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.20×10³</text> | |
| <text x="1.38" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-1.00×10³</text> | |
| <text x="5.81" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-8.00×10²</text> | |
| <text x="10.25" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-6.00×10²</text> | |
| <text x="14.68" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-4.00×10²</text> | |
| <text x="19.12" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">-2.00×10²</text> | |
| <text x="23.55" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">0</text> | |
| <text x="27.99" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.00×10²</text> | |
| <text x="32.42" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.00×10²</text> | |
| <text x="36.86" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.00×10²</text> | |
| <text x="41.29" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.00×10²</text> | |
| <text x="45.72" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.00×10³</text> | |
| <text x="50.16" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.20×10³</text> | |
| <text x="54.59" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.40×10³</text> | |
| <text x="59.03" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.60×10³</text> | |
| <text x="63.46" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.80×10³</text> | |
| <text x="67.9" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.00×10³</text> | |
| <text x="72.33" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.20×10³</text> | |
| <text x="76.77" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.40×10³</text> | |
| <text x="81.2" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.60×10³</text> | |
| <text x="85.64" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">2.80×10³</text> | |
| <text x="90.07" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.00×10³</text> | |
| <text x="94.51" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.20×10³</text> | |
| <text x="98.94" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.40×10³</text> | |
| <text x="103.38" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.60×10³</text> | |
| <text x="107.81" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">3.80×10³</text> | |
| <text x="112.25" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.00×10³</text> | |
| <text x="116.68" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.20×10³</text> | |
| <text x="121.12" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.40×10³</text> | |
| <text x="125.55" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.60×10³</text> | |
| <text x="129.99" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">4.80×10³</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.00×10³</text> | |
| <text x="138.86" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.20×10³</text> | |
| <text x="143.29" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.40×10³</text> | |
| <text x="147.73" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.60×10³</text> | |
| <text x="152.16" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">5.80×10³</text> | |
| <text x="156.6" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.00×10³</text> | |
| <text x="161.03" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.20×10³</text> | |
| <text x="165.47" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.40×10³</text> | |
| <text x="169.9" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.60×10³</text> | |
| <text x="174.33" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">6.80×10³</text> | |
| <text x="178.77" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.00×10³</text> | |
| <text x="183.2" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.20×10³</text> | |
| <text x="187.64" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.40×10³</text> | |
| <text x="192.07" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.60×10³</text> | |
| <text x="196.51" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">7.80×10³</text> | |
| <text x="200.94" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.00×10³</text> | |
| <text x="205.38" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.20×10³</text> | |
| <text x="209.81" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.40×10³</text> | |
| <text x="214.25" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.60×10³</text> | |
| <text x="218.68" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">8.80×10³</text> | |
| <text x="223.12" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.00×10³</text> | |
| <text x="227.55" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.20×10³</text> | |
| <text x="231.99" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.40×10³</text> | |
| <text x="236.42" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.60×10³</text> | |
| <text x="240.86" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">9.80×10³</text> | |
| <text x="245.29" y="84.58" text-anchor="middle" gadfly:scale="10.0" visibility="hidden">1.00×10⁴</text> | |
| <text x="-87.32" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">-5.0×10³</text> | |
| <text x="23.55" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">0</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">5.0×10³</text> | |
| <text x="245.29" y="84.58" text-anchor="middle" gadfly:scale="0.5" visibility="hidden">1.0×10⁴</text> | |
| <text x="-87.32" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-5.00×10³</text> | |
| <text x="-76.23" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-4.50×10³</text> | |
| <text x="-65.15" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-4.00×10³</text> | |
| <text x="-54.06" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-3.50×10³</text> | |
| <text x="-42.97" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-3.00×10³</text> | |
| <text x="-31.88" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-2.50×10³</text> | |
| <text x="-20.8" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-2.00×10³</text> | |
| <text x="-9.71" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-1.50×10³</text> | |
| <text x="1.38" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-1.00×10³</text> | |
| <text x="12.46" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">-5.00×10²</text> | |
| <text x="23.55" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">0</text> | |
| <text x="34.64" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">5.00×10²</text> | |
| <text x="45.72" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">1.00×10³</text> | |
| <text x="56.81" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">1.50×10³</text> | |
| <text x="67.9" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">2.00×10³</text> | |
| <text x="78.99" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">2.50×10³</text> | |
| <text x="90.07" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">3.00×10³</text> | |
| <text x="101.16" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">3.50×10³</text> | |
| <text x="112.25" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">4.00×10³</text> | |
| <text x="123.33" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">4.50×10³</text> | |
| <text x="134.42" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">5.00×10³</text> | |
| <text x="145.51" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">5.50×10³</text> | |
| <text x="156.6" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">6.00×10³</text> | |
| <text x="167.68" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">6.50×10³</text> | |
| <text x="178.77" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">7.00×10³</text> | |
| <text x="189.86" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">7.50×10³</text> | |
| <text x="200.94" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">8.00×10³</text> | |
| <text x="212.03" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">8.50×10³</text> | |
| <text x="223.12" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">9.00×10³</text> | |
| <text x="234.2" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">9.50×10³</text> | |
| <text x="245.29" y="84.58" text-anchor="middle" gadfly:scale="5.0" visibility="hidden">1.00×10⁴</text> | |
| </g> | |
| <g clip-path="url(#fig-ea408692ed4849c492eab13dda79f05c-element-5)" id="fig-ea408692ed4849c492eab13dda79f05c-element-4"> | |
| <g pointer-events="visible" opacity="1" fill="none" stroke="none" class="guide background" id="fig-ea408692ed4849c492eab13dda79f05c-element-6"> | |
| <rect x="21.55" y="12.61" width="114.87" height="68.3"/> | |
| </g> | |
| <g class="guide ygridlines xfixed" stroke-dasharray="0.5,0.5" stroke-width="0.2" stroke="#D0D0E0" id="fig-ea408692ed4849c492eab13dda79f05c-element-7"> | |
| <path fill="none" d="M21.55,156.07 L 136.42 156.07" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,149.64 L 136.42 149.64" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,143.21 L 136.42 143.21" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,136.78 L 136.42 136.78" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,130.35 L 136.42 130.35" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,123.92 L 136.42 123.92" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,117.49 L 136.42 117.49" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,111.06 L 136.42 111.06" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M21.55,104.63 L 136.42 104.63" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M21.55,98.2 L 136.42 98.2" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M21.55,91.77 L 136.42 91.77" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M21.55,85.34 L 136.42 85.34" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M21.55,78.91 L 136.42 78.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M21.55,72.48 L 136.42 72.48" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M21.55,66.05 L 136.42 66.05" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,59.62 L 136.42 59.62" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,53.19 L 136.42 53.19" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,46.76 L 136.42 46.76" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,40.33 L 136.42 40.33" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,33.9 L 136.42 33.9" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,27.47 L 136.42 27.47" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,149.64 L 136.42 149.64" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,148.35 L 136.42 148.35" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,147.06 L 136.42 147.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,145.78 L 136.42 145.78" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,144.49 L 136.42 144.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,143.21 L 136.42 143.21" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,141.92 L 136.42 141.92" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,140.63 L 136.42 140.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,139.35 L 136.42 139.35" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,138.06 L 136.42 138.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,136.78 L 136.42 136.78" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,135.49 L 136.42 135.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,134.21 L 136.42 134.21" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,132.92 L 136.42 132.92" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,131.63 L 136.42 131.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,130.35 L 136.42 130.35" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,129.06 L 136.42 129.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,127.78 L 136.42 127.78" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,126.49 L 136.42 126.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,125.2 L 136.42 125.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,123.92 L 136.42 123.92" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,122.63 L 136.42 122.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,121.35 L 136.42 121.35" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,120.06 L 136.42 120.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,118.77 L 136.42 118.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,117.49 L 136.42 117.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,116.2 L 136.42 116.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,114.92 L 136.42 114.92" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,113.63 L 136.42 113.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,112.34 L 136.42 112.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,111.06 L 136.42 111.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,109.77 L 136.42 109.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,108.49 L 136.42 108.49" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,107.2 L 136.42 107.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,105.91 L 136.42 105.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,104.63 L 136.42 104.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,103.34 L 136.42 103.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,102.06 L 136.42 102.06" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,100.77 L 136.42 100.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,99.48 L 136.42 99.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,98.2 L 136.42 98.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,96.91 L 136.42 96.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,95.63 L 136.42 95.63" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,94.34 L 136.42 94.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,93.05 L 136.42 93.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,91.77 L 136.42 91.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,90.48 L 136.42 90.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,89.2 L 136.42 89.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,87.91 L 136.42 87.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,86.62 L 136.42 86.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,85.34 L 136.42 85.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,84.05 L 136.42 84.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,82.77 L 136.42 82.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,81.48 L 136.42 81.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,80.2 L 136.42 80.2" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,78.91 L 136.42 78.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,77.62 L 136.42 77.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,76.34 L 136.42 76.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,75.05 L 136.42 75.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,73.77 L 136.42 73.77" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,72.48 L 136.42 72.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,71.19 L 136.42 71.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,69.91 L 136.42 69.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,68.62 L 136.42 68.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,67.34 L 136.42 67.34" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,66.05 L 136.42 66.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,64.76 L 136.42 64.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,63.48 L 136.42 63.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,62.19 L 136.42 62.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,60.91 L 136.42 60.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,59.62 L 136.42 59.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,58.33 L 136.42 58.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,57.05 L 136.42 57.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,55.76 L 136.42 55.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,54.48 L 136.42 54.48" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,53.19 L 136.42 53.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,51.9 L 136.42 51.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,50.62 L 136.42 50.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,49.33 L 136.42 49.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,48.05 L 136.42 48.05" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,46.76 L 136.42 46.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,45.47 L 136.42 45.47" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,44.19 L 136.42 44.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,42.9 L 136.42 42.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,41.62 L 136.42 41.62" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,40.33 L 136.42 40.33" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,39.04 L 136.42 39.04" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,37.76 L 136.42 37.76" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,36.47 L 136.42 36.47" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,35.19 L 136.42 35.19" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,33.9 L 136.42 33.9" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,207.5 L 136.42 207.5" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M21.55,143.21 L 136.42 143.21" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M21.55,78.91 L 136.42 78.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M21.55,14.61 L 136.42 14.61" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M21.55,149.64 L 136.42 149.64" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,146.42 L 136.42 146.42" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,143.21 L 136.42 143.21" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,139.99 L 136.42 139.99" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,136.78 L 136.42 136.78" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,133.56 L 136.42 133.56" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,130.35 L 136.42 130.35" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,127.13 L 136.42 127.13" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,123.92 L 136.42 123.92" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,120.7 L 136.42 120.7" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,117.49 L 136.42 117.49" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,114.27 L 136.42 114.27" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,111.06 L 136.42 111.06" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,107.84 L 136.42 107.84" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,104.63 L 136.42 104.63" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,101.41 L 136.42 101.41" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,98.2 L 136.42 98.2" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,94.98 L 136.42 94.98" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,91.77 L 136.42 91.77" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,88.55 L 136.42 88.55" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,85.34 L 136.42 85.34" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,82.12 L 136.42 82.12" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,78.91 L 136.42 78.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,75.69 L 136.42 75.69" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,72.48 L 136.42 72.48" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,69.26 L 136.42 69.26" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,66.05 L 136.42 66.05" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,62.83 L 136.42 62.83" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,59.62 L 136.42 59.62" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,56.41 L 136.42 56.41" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,53.19 L 136.42 53.19" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,49.98 L 136.42 49.98" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,46.76 L 136.42 46.76" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,43.55 L 136.42 43.55" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,40.33 L 136.42 40.33" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,37.12 L 136.42 37.12" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M21.55,33.9 L 136.42 33.9" gadfly:scale="5.0" visibility="hidden"/> | |
| </g> | |
| <g class="guide xgridlines yfixed" stroke-dasharray="0.5,0.5" stroke-width="0.2" stroke="#D0D0E0" id="fig-ea408692ed4849c492eab13dda79f05c-element-8"> | |
| <path fill="none" d="M-109.49,12.61 L -109.49 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-87.32,12.61 L -87.32 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-65.15,12.61 L -65.15 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-42.97,12.61 L -42.97 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-20.8,12.61 L -20.8 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M1.38,12.61 L 1.38 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M23.55,12.61 L 23.55 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M45.72,12.61 L 45.72 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M67.9,12.61 L 67.9 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M90.07,12.61 L 90.07 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M112.25,12.61 L 112.25 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="1.0" visibility="visible"/> | |
| <path fill="none" d="M156.6,12.61 L 156.6 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M178.77,12.61 L 178.77 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M200.94,12.61 L 200.94 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M223.12,12.61 L 223.12 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M245.29,12.61 L 245.29 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M267.47,12.61 L 267.47 80.91" gadfly:scale="1.0" visibility="hidden"/> | |
| <path fill="none" d="M-87.32,12.61 L -87.32 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-82.88,12.61 L -82.88 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-78.45,12.61 L -78.45 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-74.02,12.61 L -74.02 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-69.58,12.61 L -69.58 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-65.15,12.61 L -65.15 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-60.71,12.61 L -60.71 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-56.28,12.61 L -56.28 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-51.84,12.61 L -51.84 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-47.41,12.61 L -47.41 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-42.97,12.61 L -42.97 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-38.54,12.61 L -38.54 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-34.1,12.61 L -34.1 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-29.67,12.61 L -29.67 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-25.23,12.61 L -25.23 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-20.8,12.61 L -20.8 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-16.36,12.61 L -16.36 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-11.93,12.61 L -11.93 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-7.49,12.61 L -7.49 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-3.06,12.61 L -3.06 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M1.38,12.61 L 1.38 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M5.81,12.61 L 5.81 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M10.25,12.61 L 10.25 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M14.68,12.61 L 14.68 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M19.12,12.61 L 19.12 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M23.55,12.61 L 23.55 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M27.99,12.61 L 27.99 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M32.42,12.61 L 32.42 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M36.86,12.61 L 36.86 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M41.29,12.61 L 41.29 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M45.72,12.61 L 45.72 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M50.16,12.61 L 50.16 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M54.59,12.61 L 54.59 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M59.03,12.61 L 59.03 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M63.46,12.61 L 63.46 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M67.9,12.61 L 67.9 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M72.33,12.61 L 72.33 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M76.77,12.61 L 76.77 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M81.2,12.61 L 81.2 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M85.64,12.61 L 85.64 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M90.07,12.61 L 90.07 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M94.51,12.61 L 94.51 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M98.94,12.61 L 98.94 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M103.38,12.61 L 103.38 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M107.81,12.61 L 107.81 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M112.25,12.61 L 112.25 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M116.68,12.61 L 116.68 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M121.12,12.61 L 121.12 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M125.55,12.61 L 125.55 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M129.99,12.61 L 129.99 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M138.86,12.61 L 138.86 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M143.29,12.61 L 143.29 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M147.73,12.61 L 147.73 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M152.16,12.61 L 152.16 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M156.6,12.61 L 156.6 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M161.03,12.61 L 161.03 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M165.47,12.61 L 165.47 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M169.9,12.61 L 169.9 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M174.33,12.61 L 174.33 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M178.77,12.61 L 178.77 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M183.2,12.61 L 183.2 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M187.64,12.61 L 187.64 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M192.07,12.61 L 192.07 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M196.51,12.61 L 196.51 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M200.94,12.61 L 200.94 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M205.38,12.61 L 205.38 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M209.81,12.61 L 209.81 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M214.25,12.61 L 214.25 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M218.68,12.61 L 218.68 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M223.12,12.61 L 223.12 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M227.55,12.61 L 227.55 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M231.99,12.61 L 231.99 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M236.42,12.61 L 236.42 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M240.86,12.61 L 240.86 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M245.29,12.61 L 245.29 80.91" gadfly:scale="10.0" visibility="hidden"/> | |
| <path fill="none" d="M-87.32,12.61 L -87.32 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M23.55,12.61 L 23.55 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M245.29,12.61 L 245.29 80.91" gadfly:scale="0.5" visibility="hidden"/> | |
| <path fill="none" d="M-87.32,12.61 L -87.32 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-76.23,12.61 L -76.23 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-65.15,12.61 L -65.15 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-54.06,12.61 L -54.06 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-42.97,12.61 L -42.97 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-31.88,12.61 L -31.88 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-20.8,12.61 L -20.8 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M-9.71,12.61 L -9.71 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M1.38,12.61 L 1.38 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M12.46,12.61 L 12.46 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M23.55,12.61 L 23.55 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M34.64,12.61 L 34.64 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M45.72,12.61 L 45.72 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M56.81,12.61 L 56.81 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M67.9,12.61 L 67.9 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M78.99,12.61 L 78.99 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M90.07,12.61 L 90.07 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M101.16,12.61 L 101.16 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M112.25,12.61 L 112.25 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M123.33,12.61 L 123.33 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M134.42,12.61 L 134.42 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M145.51,12.61 L 145.51 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M156.6,12.61 L 156.6 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M167.68,12.61 L 167.68 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M178.77,12.61 L 178.77 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M189.86,12.61 L 189.86 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M200.94,12.61 L 200.94 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M212.03,12.61 L 212.03 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M223.12,12.61 L 223.12 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M234.2,12.61 L 234.2 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| <path fill="none" d="M245.29,12.61 L 245.29 80.91" gadfly:scale="5.0" visibility="hidden"/> | |
| </g> | |
| <g class="plotpanel" id="fig-ea408692ed4849c492eab13dda79f05c-element-9"> | |
| <g stroke-width="0.3" fill="none" class="geometry" stroke="#00BFFF" id="fig-ea408692ed4849c492eab13dda79f05c-element-10"> | |
| <path fill="none" d="M24,104.82 L 24.44 88.65 24.89 83.26 25.33 80.56 25.78 78.95 26.22 77.87 26.67 77.1 27.11 76.52 27.56 76.07 28 75.71 28.45 75.42 28.89 75.17 29.34 74.97 29.78 74.79 30.23 74.64 30.68 74.5 31.12 74.38 31.57 74.28 32.01 74.18 32.46 74.1 32.9 74.02 33.35 73.95 33.79 73.89 34.24 73.83 34.68 73.77 35.13 73.72 35.57 73.68 36.02 73.63 36.46 73.59 36.91 73.56 37.35 73.52 37.8 73.49 38.24 73.46 38.69 73.43 39.14 73.4 39.58 73.38 40.03 73.35 40.47 73.33 40.92 73.31 41.36 73.29 41.81 73.27 42.25 73.25 42.7 73.23 43.14 73.21 43.59 73.2 44.03 73.18 44.48 73.17 44.92 73.15 45.37 73.14 45.81 73.13 46.26 73.11 46.7 73.1 47.15 73.09 47.6 73.08 48.04 73.07 48.49 73.06 48.93 73.05 49.38 73.04 49.82 73.03 50.27 73.02 50.71 73.01 51.16 73 51.6 72.99 52.05 72.98 52.49 72.98 52.94 72.97 53.38 72.96 53.83 72.96 54.27 72.95 54.72 72.94 55.16 72.93 55.61 72.93 56.06 72.92 56.5 72.92 56.95 72.91 57.39 72.9 57.84 72.9 58.28 72.89 58.73 72.89 59.17 72.88 59.62 72.88 60.06 72.87 60.51 72.87 60.95 72.86 61.4 72.86 61.84 72.86 62.29 72.85 62.73 72.85 63.18 72.84 63.62 72.84 64.07 72.83 64.52 72.83 64.96 72.83 65.41 72.82 65.85 72.82 66.3 72.82 66.74 72.81 67.19 72.81 67.63 72.81 68.08 72.8 68.52 72.8 68.97 72.8 69.41 72.79 69.86 72.79 70.3 72.79 70.75 72.78 71.19 72.78 71.64 72.78 72.08 72.78 72.53 72.77 72.98 72.77 73.42 72.77 73.87 72.77 74.31 72.76 74.76 72.76 75.2 72.76 75.65 72.76 76.09 72.75 76.54 72.75 76.98 72.75 77.43 72.75 77.87 72.74 78.32 72.74 78.76 72.74 79.21 72.74 79.65 72.74 80.1 72.73 80.54 72.73 80.99 72.73 81.44 72.73 81.88 72.73 82.33 72.72 82.77 72.72 83.22 72.72 83.66 72.72 84.11 72.72 84.55 72.72 85 72.71 85.44 72.71 85.89 72.71 86.33 72.71 86.78 72.71 87.22 72.71 87.67 72.7 88.11 72.7 88.56 72.7 89 72.7 89.45 72.7 89.9 72.7 90.34 72.7 90.79 72.69 91.23 72.69 91.68 72.69 92.12 72.69 92.57 72.69 93.01 72.69 93.46 72.69 93.9 72.68 94.35 72.68 94.79 72.68 95.24 72.68 95.68 72.68 96.13 72.68 96.57 72.68 97.02 72.68 97.46 72.67 97.91 72.67 98.36 72.67 98.8 72.67 99.25 72.67 99.69 72.67 100.14 72.67 100.58 72.67 101.03 72.67 101.47 72.66 101.92 72.66 102.36 72.66 102.81 72.66 103.25 72.66 103.7 72.66 104.14 72.66 104.59 72.66 105.03 72.66 105.48 72.66 105.92 72.65 106.37 72.65 106.82 72.65 107.26 72.65 107.71 72.65 108.15 72.65 108.6 72.65 109.04 72.65 109.49 72.65 109.93 72.65 110.38 72.65 110.82 72.64 111.27 72.64 111.71 72.64 112.16 72.64 112.6 72.64 113.05 72.64 113.49 72.64 113.94 72.64 114.38 72.64 114.83 72.64 115.28 72.64 115.72 72.64 116.17 72.63 116.61 72.63 117.06 72.63 117.5 72.63 117.95 72.63 118.39 72.63 118.84 72.63 119.28 72.63 119.73 72.63 120.17 72.63 120.62 72.63 121.06 72.63 121.51 72.63 121.95 72.63 122.4 72.63 122.84 72.62 123.29 72.62 123.74 72.62 124.18 72.62 124.63 72.62 125.07 72.62 125.52 72.62 125.96 72.62 126.41 72.62 126.85 72.62 127.3 72.62 127.74 72.62 128.19 72.62 128.63 72.62 129.08 72.62 129.52 72.62 129.97 72.61 130.41 72.61 130.86 72.61 131.3 72.61 131.75 72.61 132.2 72.61 132.64 72.61 133.09 72.61 133.53 72.61 133.98 72.61 134.42 72.61"/> | |
| </g> | |
| </g> | |
| <g opacity="0" class="guide zoomslider" stroke="none" id="fig-ea408692ed4849c492eab13dda79f05c-element-11"> | |
| <g fill="#EAEAEA" stroke-width="0.3" stroke-opacity="0" stroke="#6A6A6A" id="fig-ea408692ed4849c492eab13dda79f05c-element-12"> | |
| <rect x="129.42" y="15.61" width="4" height="4"/> | |
| <g class="button_logo" fill="#6A6A6A" id="fig-ea408692ed4849c492eab13dda79f05c-element-13"> | |
| <path d="M130.22,17.21 L 131.02 17.21 131.02 16.41 131.82 16.41 131.82 17.21 132.62 17.21 132.62 18.01 131.82 18.01 131.82 18.81 131.02 18.81 131.02 18.01 130.22 18.01 z"/> | |
| </g> | |
| </g> | |
| <g fill="#EAEAEA" id="fig-ea408692ed4849c492eab13dda79f05c-element-14"> | |
| <rect x="109.92" y="15.61" width="19" height="4"/> | |
| </g> | |
| <g class="zoomslider_thumb" fill="#6A6A6A" id="fig-ea408692ed4849c492eab13dda79f05c-element-15"> | |
| <rect x="118.42" y="15.61" width="2" height="4"/> | |
| </g> | |
| <g fill="#EAEAEA" stroke-width="0.3" stroke-opacity="0" stroke="#6A6A6A" id="fig-ea408692ed4849c492eab13dda79f05c-element-16"> | |
| <rect x="105.42" y="15.61" width="4" height="4"/> | |
| <g class="button_logo" fill="#6A6A6A" id="fig-ea408692ed4849c492eab13dda79f05c-element-17"> | |
| <path d="M106.22,17.21 L 108.62 17.21 108.62 18.01 106.22 18.01 z"/> | |
| </g> | |
| </g> | |
| </g> | |
| </g> | |
| <g class="guide ylabels" font-size="2.82" font-family="'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif" fill="#6C606B" id="fig-ea408692ed4849c492eab13dda79f05c-element-18"> | |
| <text x="20.55" y="156.07" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-1.2</text> | |
| <text x="20.55" y="149.64" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-1.1</text> | |
| <text x="20.55" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-1.0</text> | |
| <text x="20.55" y="136.78" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-0.9</text> | |
| <text x="20.55" y="130.35" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-0.8</text> | |
| <text x="20.55" y="123.92" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-0.7</text> | |
| <text x="20.55" y="117.49" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">-0.6</text> | |
| <text x="20.55" y="111.06" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">-0.5</text> | |
| <text x="20.55" y="104.63" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">-0.4</text> | |
| <text x="20.55" y="98.2" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">-0.3</text> | |
| <text x="20.55" y="91.77" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">-0.2</text> | |
| <text x="20.55" y="85.34" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">-0.1</text> | |
| <text x="20.55" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">0.0</text> | |
| <text x="20.55" y="72.48" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="visible">0.1</text> | |
| <text x="20.55" y="66.05" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">0.2</text> | |
| <text x="20.55" y="59.62" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">0.3</text> | |
| <text x="20.55" y="53.19" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">0.4</text> | |
| <text x="20.55" y="46.76" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">0.5</text> | |
| <text x="20.55" y="40.33" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">0.6</text> | |
| <text x="20.55" y="33.9" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">0.7</text> | |
| <text x="20.55" y="27.47" text-anchor="end" dy="0.35em" gadfly:scale="1.0" visibility="hidden">0.8</text> | |
| <text x="20.55" y="149.64" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-1.10</text> | |
| <text x="20.55" y="148.35" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-1.08</text> | |
| <text x="20.55" y="147.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-1.06</text> | |
| <text x="20.55" y="145.78" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-1.04</text> | |
| <text x="20.55" y="144.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-1.02</text> | |
| <text x="20.55" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-1.00</text> | |
| <text x="20.55" y="141.92" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.98</text> | |
| <text x="20.55" y="140.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.96</text> | |
| <text x="20.55" y="139.35" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.94</text> | |
| <text x="20.55" y="138.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.92</text> | |
| <text x="20.55" y="136.78" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.90</text> | |
| <text x="20.55" y="135.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.88</text> | |
| <text x="20.55" y="134.21" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.86</text> | |
| <text x="20.55" y="132.92" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.84</text> | |
| <text x="20.55" y="131.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.82</text> | |
| <text x="20.55" y="130.35" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.80</text> | |
| <text x="20.55" y="129.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.78</text> | |
| <text x="20.55" y="127.78" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.76</text> | |
| <text x="20.55" y="126.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.74</text> | |
| <text x="20.55" y="125.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.72</text> | |
| <text x="20.55" y="123.92" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.70</text> | |
| <text x="20.55" y="122.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.68</text> | |
| <text x="20.55" y="121.35" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.66</text> | |
| <text x="20.55" y="120.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.64</text> | |
| <text x="20.55" y="118.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.62</text> | |
| <text x="20.55" y="117.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.60</text> | |
| <text x="20.55" y="116.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.58</text> | |
| <text x="20.55" y="114.92" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.56</text> | |
| <text x="20.55" y="113.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.54</text> | |
| <text x="20.55" y="112.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.52</text> | |
| <text x="20.55" y="111.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.50</text> | |
| <text x="20.55" y="109.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.48</text> | |
| <text x="20.55" y="108.49" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.46</text> | |
| <text x="20.55" y="107.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.44</text> | |
| <text x="20.55" y="105.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.42</text> | |
| <text x="20.55" y="104.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.40</text> | |
| <text x="20.55" y="103.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.38</text> | |
| <text x="20.55" y="102.06" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.36</text> | |
| <text x="20.55" y="100.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.34</text> | |
| <text x="20.55" y="99.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.32</text> | |
| <text x="20.55" y="98.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.30</text> | |
| <text x="20.55" y="96.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.28</text> | |
| <text x="20.55" y="95.63" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.26</text> | |
| <text x="20.55" y="94.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.24</text> | |
| <text x="20.55" y="93.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.22</text> | |
| <text x="20.55" y="91.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.20</text> | |
| <text x="20.55" y="90.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.18</text> | |
| <text x="20.55" y="89.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.16</text> | |
| <text x="20.55" y="87.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.14</text> | |
| <text x="20.55" y="86.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.12</text> | |
| <text x="20.55" y="85.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.10</text> | |
| <text x="20.55" y="84.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.08</text> | |
| <text x="20.55" y="82.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.06</text> | |
| <text x="20.55" y="81.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.04</text> | |
| <text x="20.55" y="80.2" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">-0.02</text> | |
| <text x="20.55" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.00</text> | |
| <text x="20.55" y="77.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.02</text> | |
| <text x="20.55" y="76.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.04</text> | |
| <text x="20.55" y="75.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.06</text> | |
| <text x="20.55" y="73.77" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.08</text> | |
| <text x="20.55" y="72.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.10</text> | |
| <text x="20.55" y="71.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.12</text> | |
| <text x="20.55" y="69.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.14</text> | |
| <text x="20.55" y="68.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.16</text> | |
| <text x="20.55" y="67.34" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.18</text> | |
| <text x="20.55" y="66.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.20</text> | |
| <text x="20.55" y="64.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.22</text> | |
| <text x="20.55" y="63.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.24</text> | |
| <text x="20.55" y="62.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.26</text> | |
| <text x="20.55" y="60.91" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.28</text> | |
| <text x="20.55" y="59.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.30</text> | |
| <text x="20.55" y="58.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.32</text> | |
| <text x="20.55" y="57.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.34</text> | |
| <text x="20.55" y="55.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.36</text> | |
| <text x="20.55" y="54.48" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.38</text> | |
| <text x="20.55" y="53.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.40</text> | |
| <text x="20.55" y="51.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.42</text> | |
| <text x="20.55" y="50.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.44</text> | |
| <text x="20.55" y="49.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.46</text> | |
| <text x="20.55" y="48.05" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.48</text> | |
| <text x="20.55" y="46.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.50</text> | |
| <text x="20.55" y="45.47" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.52</text> | |
| <text x="20.55" y="44.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.54</text> | |
| <text x="20.55" y="42.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.56</text> | |
| <text x="20.55" y="41.62" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.58</text> | |
| <text x="20.55" y="40.33" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.60</text> | |
| <text x="20.55" y="39.04" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.62</text> | |
| <text x="20.55" y="37.76" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.64</text> | |
| <text x="20.55" y="36.47" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.66</text> | |
| <text x="20.55" y="35.19" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.68</text> | |
| <text x="20.55" y="33.9" text-anchor="end" dy="0.35em" gadfly:scale="10.0" visibility="hidden">0.70</text> | |
| <text x="20.55" y="207.5" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">-2</text> | |
| <text x="20.55" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">-1</text> | |
| <text x="20.55" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">0</text> | |
| <text x="20.55" y="14.61" text-anchor="end" dy="0.35em" gadfly:scale="0.5" visibility="hidden">1</text> | |
| <text x="20.55" y="149.64" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-1.10</text> | |
| <text x="20.55" y="146.42" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-1.05</text> | |
| <text x="20.55" y="143.21" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-1.00</text> | |
| <text x="20.55" y="139.99" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.95</text> | |
| <text x="20.55" y="136.78" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.90</text> | |
| <text x="20.55" y="133.56" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.85</text> | |
| <text x="20.55" y="130.35" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.80</text> | |
| <text x="20.55" y="127.13" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.75</text> | |
| <text x="20.55" y="123.92" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.70</text> | |
| <text x="20.55" y="120.7" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.65</text> | |
| <text x="20.55" y="117.49" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.60</text> | |
| <text x="20.55" y="114.27" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.55</text> | |
| <text x="20.55" y="111.06" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.50</text> | |
| <text x="20.55" y="107.84" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.45</text> | |
| <text x="20.55" y="104.63" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.40</text> | |
| <text x="20.55" y="101.41" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.35</text> | |
| <text x="20.55" y="98.2" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.30</text> | |
| <text x="20.55" y="94.98" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.25</text> | |
| <text x="20.55" y="91.77" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.20</text> | |
| <text x="20.55" y="88.55" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.15</text> | |
| <text x="20.55" y="85.34" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.10</text> | |
| <text x="20.55" y="82.12" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">-0.05</text> | |
| <text x="20.55" y="78.91" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.00</text> | |
| <text x="20.55" y="75.69" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.05</text> | |
| <text x="20.55" y="72.48" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.10</text> | |
| <text x="20.55" y="69.26" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.15</text> | |
| <text x="20.55" y="66.05" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.20</text> | |
| <text x="20.55" y="62.83" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.25</text> | |
| <text x="20.55" y="59.62" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.30</text> | |
| <text x="20.55" y="56.41" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.35</text> | |
| <text x="20.55" y="53.19" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.40</text> | |
| <text x="20.55" y="49.98" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.45</text> | |
| <text x="20.55" y="46.76" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.50</text> | |
| <text x="20.55" y="43.55" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.55</text> | |
| <text x="20.55" y="40.33" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.60</text> | |
| <text x="20.55" y="37.12" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.65</text> | |
| <text x="20.55" y="33.9" text-anchor="end" dy="0.35em" gadfly:scale="5.0" visibility="hidden">0.70</text> | |
| </g> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-ea408692ed4849c492eab13dda79f05c-element-19"> | |
| <text x="9.71" y="44.76" text-anchor="middle" dy="0.35em" transform="rotate(-90, 9.71, 46.76)">G'<tspan style="dominant-baseline:inherit" dy="0.6em" font-size="83%">i</tspan><tspan dy="-0.498000em"> Maximum</tspan></text> | |
| </g> | |
| <g font-size="3.88" font-family="'PT Sans','Helvetica Neue','Helvetica',sans-serif" fill="#564A55" stroke="none" id="fig-ea408692ed4849c492eab13dda79f05c-element-20"> | |
| <text x="78.99" y="10.61" text-anchor="middle">Doom Chart</text> | |
| </g> | |
| </g> | |
| <defs> | |
| <clipPath id="fig-ea408692ed4849c492eab13dda79f05c-element-5"> | |
| <path d="M21.55,12.61 L 136.42 12.61 136.42 80.91 21.55 80.91" /> | |
| </clipPath | |
| ></defs> | |
| <script> <![CDATA[ | |
| (function(N){var k=/[\.\/]/,L=/\s*,\s*/,C=function(a,d){return a-d},a,v,y={n:{}},M=function(){for(var a=0,d=this.length;a<d;a++)if("undefined"!=typeof this[a])return this[a]},A=function(){for(var a=this.length;--a;)if("undefined"!=typeof this[a])return this[a]},w=function(k,d){k=String(k);var f=v,n=Array.prototype.slice.call(arguments,2),u=w.listeners(k),p=0,b,q=[],e={},l=[],r=a;l.firstDefined=M;l.lastDefined=A;a=k;for(var s=v=0,x=u.length;s<x;s++)"zIndex"in u[s]&&(q.push(u[s].zIndex),0>u[s].zIndex&& | |
| (e[u[s].zIndex]=u[s]));for(q.sort(C);0>q[p];)if(b=e[q[p++] ],l.push(b.apply(d,n)),v)return v=f,l;for(s=0;s<x;s++)if(b=u[s],"zIndex"in b)if(b.zIndex==q[p]){l.push(b.apply(d,n));if(v)break;do if(p++,(b=e[q[p] ])&&l.push(b.apply(d,n)),v)break;while(b)}else e[b.zIndex]=b;else if(l.push(b.apply(d,n)),v)break;v=f;a=r;return l};w._events=y;w.listeners=function(a){a=a.split(k);var d=y,f,n,u,p,b,q,e,l=[d],r=[];u=0;for(p=a.length;u<p;u++){e=[];b=0;for(q=l.length;b<q;b++)for(d=l[b].n,f=[d[a[u] ],d["*"] ],n=2;n--;)if(d= | |
| f[n])e.push(d),r=r.concat(d.f||[]);l=e}return r};w.on=function(a,d){a=String(a);if("function"!=typeof d)return function(){};for(var f=a.split(L),n=0,u=f.length;n<u;n++)(function(a){a=a.split(k);for(var b=y,f,e=0,l=a.length;e<l;e++)b=b.n,b=b.hasOwnProperty(a[e])&&b[a[e] ]||(b[a[e] ]={n:{}});b.f=b.f||[];e=0;for(l=b.f.length;e<l;e++)if(b.f[e]==d){f=!0;break}!f&&b.f.push(d)})(f[n]);return function(a){+a==+a&&(d.zIndex=+a)}};w.f=function(a){var d=[].slice.call(arguments,1);return function(){w.apply(null, | |
| [a,null].concat(d).concat([].slice.call(arguments,0)))}};w.stop=function(){v=1};w.nt=function(k){return k?(new RegExp("(?:\\.|\\/|^)"+k+"(?:\\.|\\/|$)")).test(a):a};w.nts=function(){return a.split(k)};w.off=w.unbind=function(a,d){if(a){var f=a.split(L);if(1<f.length)for(var n=0,u=f.length;n<u;n++)w.off(f[n],d);else{for(var f=a.split(k),p,b,q,e,l=[y],n=0,u=f.length;n<u;n++)for(e=0;e<l.length;e+=q.length-2){q=[e,1];p=l[e].n;if("*"!=f[n])p[f[n] ]&&q.push(p[f[n] ]);else for(b in p)p.hasOwnProperty(b)&& | |
| q.push(p[b]);l.splice.apply(l,q)}n=0;for(u=l.length;n<u;n++)for(p=l[n];p.n;){if(d){if(p.f){e=0;for(f=p.f.length;e<f;e++)if(p.f[e]==d){p.f.splice(e,1);break}!p.f.length&&delete p.f}for(b in p.n)if(p.n.hasOwnProperty(b)&&p.n[b].f){q=p.n[b].f;e=0;for(f=q.length;e<f;e++)if(q[e]==d){q.splice(e,1);break}!q.length&&delete p.n[b].f}}else for(b in delete p.f,p.n)p.n.hasOwnProperty(b)&&p.n[b].f&&delete p.n[b].f;p=p.n}}}else w._events=y={n:{}}};w.once=function(a,d){var f=function(){w.unbind(a,f);return d.apply(this, | |
| arguments)};return w.on(a,f)};w.version="0.4.2";w.toString=function(){return"You are running Eve 0.4.2"};"undefined"!=typeof module&&module.exports?module.exports=w:"function"===typeof define&&define.amd?define("eve",[],function(){return w}):N.eve=w})(this); | |
| (function(N,k){"function"===typeof define&&define.amd?define("Snap.svg",["eve"],function(L){return k(N,L)}):k(N,N.eve)})(this,function(N,k){var L=function(a){var k={},y=N.requestAnimationFrame||N.webkitRequestAnimationFrame||N.mozRequestAnimationFrame||N.oRequestAnimationFrame||N.msRequestAnimationFrame||function(a){setTimeout(a,16)},M=Array.isArray||function(a){return a instanceof Array||"[object Array]"==Object.prototype.toString.call(a)},A=0,w="M"+(+new Date).toString(36),z=function(a){if(null== | |
| a)return this.s;var b=this.s-a;this.b+=this.dur*b;this.B+=this.dur*b;this.s=a},d=function(a){if(null==a)return this.spd;this.spd=a},f=function(a){if(null==a)return this.dur;this.s=this.s*a/this.dur;this.dur=a},n=function(){delete k[this.id];this.update();a("mina.stop."+this.id,this)},u=function(){this.pdif||(delete k[this.id],this.update(),this.pdif=this.get()-this.b)},p=function(){this.pdif&&(this.b=this.get()-this.pdif,delete this.pdif,k[this.id]=this)},b=function(){var a;if(M(this.start)){a=[]; | |
| for(var b=0,e=this.start.length;b<e;b++)a[b]=+this.start[b]+(this.end[b]-this.start[b])*this.easing(this.s)}else a=+this.start+(this.end-this.start)*this.easing(this.s);this.set(a)},q=function(){var l=0,b;for(b in k)if(k.hasOwnProperty(b)){var e=k[b],f=e.get();l++;e.s=(f-e.b)/(e.dur/e.spd);1<=e.s&&(delete k[b],e.s=1,l--,function(b){setTimeout(function(){a("mina.finish."+b.id,b)})}(e));e.update()}l&&y(q)},e=function(a,r,s,x,G,h,J){a={id:w+(A++).toString(36),start:a,end:r,b:s,s:0,dur:x-s,spd:1,get:G, | |
| set:h,easing:J||e.linear,status:z,speed:d,duration:f,stop:n,pause:u,resume:p,update:b};k[a.id]=a;r=0;for(var K in k)if(k.hasOwnProperty(K)&&(r++,2==r))break;1==r&&y(q);return a};e.time=Date.now||function(){return+new Date};e.getById=function(a){return k[a]||null};e.linear=function(a){return a};e.easeout=function(a){return Math.pow(a,1.7)};e.easein=function(a){return Math.pow(a,0.48)};e.easeinout=function(a){if(1==a)return 1;if(0==a)return 0;var b=0.48-a/1.04,e=Math.sqrt(0.1734+b*b);a=e-b;a=Math.pow(Math.abs(a), | |
| 1/3)*(0>a?-1:1);b=-e-b;b=Math.pow(Math.abs(b),1/3)*(0>b?-1:1);a=a+b+0.5;return 3*(1-a)*a*a+a*a*a};e.backin=function(a){return 1==a?1:a*a*(2.70158*a-1.70158)};e.backout=function(a){if(0==a)return 0;a-=1;return a*a*(2.70158*a+1.70158)+1};e.elastic=function(a){return a==!!a?a:Math.pow(2,-10*a)*Math.sin(2*(a-0.075)*Math.PI/0.3)+1};e.bounce=function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a}; | |
| return N.mina=e}("undefined"==typeof k?function(){}:k),C=function(){function a(c,t){if(c){if(c.tagName)return x(c);if(y(c,"array")&&a.set)return a.set.apply(a,c);if(c instanceof e)return c;if(null==t)return c=G.doc.querySelector(c),x(c)}return new s(null==c?"100%":c,null==t?"100%":t)}function v(c,a){if(a){"#text"==c&&(c=G.doc.createTextNode(a.text||""));"string"==typeof c&&(c=v(c));if("string"==typeof a)return"xlink:"==a.substring(0,6)?c.getAttributeNS(m,a.substring(6)):"xml:"==a.substring(0,4)?c.getAttributeNS(la, | |
| a.substring(4)):c.getAttribute(a);for(var da in a)if(a[h](da)){var b=J(a[da]);b?"xlink:"==da.substring(0,6)?c.setAttributeNS(m,da.substring(6),b):"xml:"==da.substring(0,4)?c.setAttributeNS(la,da.substring(4),b):c.setAttribute(da,b):c.removeAttribute(da)}}else c=G.doc.createElementNS(la,c);return c}function y(c,a){a=J.prototype.toLowerCase.call(a);return"finite"==a?isFinite(c):"array"==a&&(c instanceof Array||Array.isArray&&Array.isArray(c))?!0:"null"==a&&null===c||a==typeof c&&null!==c||"object"== | |
| a&&c===Object(c)||$.call(c).slice(8,-1).toLowerCase()==a}function M(c){if("function"==typeof c||Object(c)!==c)return c;var a=new c.constructor,b;for(b in c)c[h](b)&&(a[b]=M(c[b]));return a}function A(c,a,b){function m(){var e=Array.prototype.slice.call(arguments,0),f=e.join("\u2400"),d=m.cache=m.cache||{},l=m.count=m.count||[];if(d[h](f)){a:for(var e=l,l=f,B=0,H=e.length;B<H;B++)if(e[B]===l){e.push(e.splice(B,1)[0]);break a}return b?b(d[f]):d[f]}1E3<=l.length&&delete d[l.shift()];l.push(f);d[f]=c.apply(a, | |
| e);return b?b(d[f]):d[f]}return m}function w(c,a,b,m,e,f){return null==e?(c-=b,a-=m,c||a?(180*I.atan2(-a,-c)/C+540)%360:0):w(c,a,e,f)-w(b,m,e,f)}function z(c){return c%360*C/180}function d(c){var a=[];c=c.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(c,b,m){m=m.split(/\s*,\s*|\s+/);"rotate"==b&&1==m.length&&m.push(0,0);"scale"==b&&(2<m.length?m=m.slice(0,2):2==m.length&&m.push(0,0),1==m.length&&m.push(m[0],0,0));"skewX"==b?a.push(["m",1,0,I.tan(z(m[0])),1,0,0]):"skewY"==b?a.push(["m",1,I.tan(z(m[0])), | |
| 0,1,0,0]):a.push([b.charAt(0)].concat(m));return c});return a}function f(c,t){var b=O(c),m=new a.Matrix;if(b)for(var e=0,f=b.length;e<f;e++){var h=b[e],d=h.length,B=J(h[0]).toLowerCase(),H=h[0]!=B,l=H?m.invert():0,E;"t"==B&&2==d?m.translate(h[1],0):"t"==B&&3==d?H?(d=l.x(0,0),B=l.y(0,0),H=l.x(h[1],h[2]),l=l.y(h[1],h[2]),m.translate(H-d,l-B)):m.translate(h[1],h[2]):"r"==B?2==d?(E=E||t,m.rotate(h[1],E.x+E.width/2,E.y+E.height/2)):4==d&&(H?(H=l.x(h[2],h[3]),l=l.y(h[2],h[3]),m.rotate(h[1],H,l)):m.rotate(h[1], | |
| h[2],h[3])):"s"==B?2==d||3==d?(E=E||t,m.scale(h[1],h[d-1],E.x+E.width/2,E.y+E.height/2)):4==d?H?(H=l.x(h[2],h[3]),l=l.y(h[2],h[3]),m.scale(h[1],h[1],H,l)):m.scale(h[1],h[1],h[2],h[3]):5==d&&(H?(H=l.x(h[3],h[4]),l=l.y(h[3],h[4]),m.scale(h[1],h[2],H,l)):m.scale(h[1],h[2],h[3],h[4])):"m"==B&&7==d&&m.add(h[1],h[2],h[3],h[4],h[5],h[6])}return m}function n(c,t){if(null==t){var m=!0;t="linearGradient"==c.type||"radialGradient"==c.type?c.node.getAttribute("gradientTransform"):"pattern"==c.type?c.node.getAttribute("patternTransform"): | |
| c.node.getAttribute("transform");if(!t)return new a.Matrix;t=d(t)}else t=a._.rgTransform.test(t)?J(t).replace(/\.{3}|\u2026/g,c._.transform||aa):d(t),y(t,"array")&&(t=a.path?a.path.toString.call(t):J(t)),c._.transform=t;var b=f(t,c.getBBox(1));if(m)return b;c.matrix=b}function u(c){c=c.node.ownerSVGElement&&x(c.node.ownerSVGElement)||c.node.parentNode&&x(c.node.parentNode)||a.select("svg")||a(0,0);var t=c.select("defs"),t=null==t?!1:t.node;t||(t=r("defs",c.node).node);return t}function p(c){return c.node.ownerSVGElement&& | |
| x(c.node.ownerSVGElement)||a.select("svg")}function b(c,a,m){function b(c){if(null==c)return aa;if(c==+c)return c;v(B,{width:c});try{return B.getBBox().width}catch(a){return 0}}function h(c){if(null==c)return aa;if(c==+c)return c;v(B,{height:c});try{return B.getBBox().height}catch(a){return 0}}function e(b,B){null==a?d[b]=B(c.attr(b)||0):b==a&&(d=B(null==m?c.attr(b)||0:m))}var f=p(c).node,d={},B=f.querySelector(".svg---mgr");B||(B=v("rect"),v(B,{x:-9E9,y:-9E9,width:10,height:10,"class":"svg---mgr", | |
| fill:"none"}),f.appendChild(B));switch(c.type){case "rect":e("rx",b),e("ry",h);case "image":e("width",b),e("height",h);case "text":e("x",b);e("y",h);break;case "circle":e("cx",b);e("cy",h);e("r",b);break;case "ellipse":e("cx",b);e("cy",h);e("rx",b);e("ry",h);break;case "line":e("x1",b);e("x2",b);e("y1",h);e("y2",h);break;case "marker":e("refX",b);e("markerWidth",b);e("refY",h);e("markerHeight",h);break;case "radialGradient":e("fx",b);e("fy",h);break;case "tspan":e("dx",b);e("dy",h);break;default:e(a, | |
| b)}f.removeChild(B);return d}function q(c){y(c,"array")||(c=Array.prototype.slice.call(arguments,0));for(var a=0,b=0,m=this.node;this[a];)delete this[a++];for(a=0;a<c.length;a++)"set"==c[a].type?c[a].forEach(function(c){m.appendChild(c.node)}):m.appendChild(c[a].node);for(var h=m.childNodes,a=0;a<h.length;a++)this[b++]=x(h[a]);return this}function e(c){if(c.snap in E)return E[c.snap];var a=this.id=V(),b;try{b=c.ownerSVGElement}catch(m){}this.node=c;b&&(this.paper=new s(b));this.type=c.tagName;this.anims= | |
| {};this._={transform:[]};c.snap=a;E[a]=this;"g"==this.type&&(this.add=q);if(this.type in{g:1,mask:1,pattern:1})for(var e in s.prototype)s.prototype[h](e)&&(this[e]=s.prototype[e])}function l(c){this.node=c}function r(c,a){var b=v(c);a.appendChild(b);return x(b)}function s(c,a){var b,m,f,d=s.prototype;if(c&&"svg"==c.tagName){if(c.snap in E)return E[c.snap];var l=c.ownerDocument;b=new e(c);m=c.getElementsByTagName("desc")[0];f=c.getElementsByTagName("defs")[0];m||(m=v("desc"),m.appendChild(l.createTextNode("Created with Snap")), | |
| b.node.appendChild(m));f||(f=v("defs"),b.node.appendChild(f));b.defs=f;for(var ca in d)d[h](ca)&&(b[ca]=d[ca]);b.paper=b.root=b}else b=r("svg",G.doc.body),v(b.node,{height:a,version:1.1,width:c,xmlns:la});return b}function x(c){return!c||c instanceof e||c instanceof l?c:c.tagName&&"svg"==c.tagName.toLowerCase()?new s(c):c.tagName&&"object"==c.tagName.toLowerCase()&&"image/svg+xml"==c.type?new s(c.contentDocument.getElementsByTagName("svg")[0]):new e(c)}a.version="0.3.0";a.toString=function(){return"Snap v"+ | |
| this.version};a._={};var G={win:N,doc:N.document};a._.glob=G;var h="hasOwnProperty",J=String,K=parseFloat,U=parseInt,I=Math,P=I.max,Q=I.min,Y=I.abs,C=I.PI,aa="",$=Object.prototype.toString,F=/^\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;a._.separator= | |
| RegExp("[,\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]+");var S=RegExp("[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*"),X={hs:1,rg:1},W=RegExp("([a-z])[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)", | |
| "ig"),ma=RegExp("([rstm])[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)","ig"),Z=RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*", | |
| "ig"),na=0,ba="S"+(+new Date).toString(36),V=function(){return ba+(na++).toString(36)},m="http://www.w3.org/1999/xlink",la="http://www.w3.org/2000/svg",E={},ca=a.url=function(c){return"url('#"+c+"')"};a._.$=v;a._.id=V;a.format=function(){var c=/\{([^\}]+)\}/g,a=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,b=function(c,b,m){var h=m;b.replace(a,function(c,a,b,m,t){a=a||m;h&&(a in h&&(h=h[a]),"function"==typeof h&&t&&(h=h()))});return h=(null==h||h==m?c:h)+""};return function(a,m){return J(a).replace(c, | |
| function(c,a){return b(c,a,m)})}}();a._.clone=M;a._.cacher=A;a.rad=z;a.deg=function(c){return 180*c/C%360};a.angle=w;a.is=y;a.snapTo=function(c,a,b){b=y(b,"finite")?b:10;if(y(c,"array"))for(var m=c.length;m--;){if(Y(c[m]-a)<=b)return c[m]}else{c=+c;m=a%c;if(m<b)return a-m;if(m>c-b)return a-m+c}return a};a.getRGB=A(function(c){if(!c||(c=J(c)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka};if("none"==c)return{r:-1,g:-1,b:-1,hex:"none",toString:ka};!X[h](c.toLowerCase().substring(0, | |
| 2))&&"#"!=c.charAt()&&(c=T(c));if(!c)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka};var b,m,e,f,d;if(c=c.match(F)){c[2]&&(e=U(c[2].substring(5),16),m=U(c[2].substring(3,5),16),b=U(c[2].substring(1,3),16));c[3]&&(e=U((d=c[3].charAt(3))+d,16),m=U((d=c[3].charAt(2))+d,16),b=U((d=c[3].charAt(1))+d,16));c[4]&&(d=c[4].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b*=2.55),m=K(d[1]),"%"==d[1].slice(-1)&&(m*=2.55),e=K(d[2]),"%"==d[2].slice(-1)&&(e*=2.55),"rgba"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])), | |
| d[3]&&"%"==d[3].slice(-1)&&(f/=100));if(c[5])return d=c[5].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b/=100),m=K(d[1]),"%"==d[1].slice(-1)&&(m/=100),e=K(d[2]),"%"==d[2].slice(-1)&&(e/=100),"deg"!=d[0].slice(-3)&&"\u00b0"!=d[0].slice(-1)||(b/=360),"hsba"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])),d[3]&&"%"==d[3].slice(-1)&&(f/=100),a.hsb2rgb(b,m,e,f);if(c[6])return d=c[6].split(S),b=K(d[0]),"%"==d[0].slice(-1)&&(b/=100),m=K(d[1]),"%"==d[1].slice(-1)&&(m/=100),e=K(d[2]),"%"==d[2].slice(-1)&&(e/=100), | |
| "deg"!=d[0].slice(-3)&&"\u00b0"!=d[0].slice(-1)||(b/=360),"hsla"==c[1].toLowerCase().slice(0,4)&&(f=K(d[3])),d[3]&&"%"==d[3].slice(-1)&&(f/=100),a.hsl2rgb(b,m,e,f);b=Q(I.round(b),255);m=Q(I.round(m),255);e=Q(I.round(e),255);f=Q(P(f,0),1);c={r:b,g:m,b:e,toString:ka};c.hex="#"+(16777216|e|m<<8|b<<16).toString(16).slice(1);c.opacity=y(f,"finite")?f:1;return c}return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ka}},a);a.hsb=A(function(c,b,m){return a.hsb2rgb(c,b,m).hex});a.hsl=A(function(c,b,m){return a.hsl2rgb(c, | |
| b,m).hex});a.rgb=A(function(c,a,b,m){if(y(m,"finite")){var e=I.round;return"rgba("+[e(c),e(a),e(b),+m.toFixed(2)]+")"}return"#"+(16777216|b|a<<8|c<<16).toString(16).slice(1)});var T=function(c){var a=G.doc.getElementsByTagName("head")[0]||G.doc.getElementsByTagName("svg")[0];T=A(function(c){if("red"==c.toLowerCase())return"rgb(255, 0, 0)";a.style.color="rgb(255, 0, 0)";a.style.color=c;c=G.doc.defaultView.getComputedStyle(a,aa).getPropertyValue("color");return"rgb(255, 0, 0)"==c?null:c});return T(c)}, | |
| qa=function(){return"hsb("+[this.h,this.s,this.b]+")"},ra=function(){return"hsl("+[this.h,this.s,this.l]+")"},ka=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},D=function(c,b,m){null==b&&y(c,"object")&&"r"in c&&"g"in c&&"b"in c&&(m=c.b,b=c.g,c=c.r);null==b&&y(c,string)&&(m=a.getRGB(c),c=m.r,b=m.g,m=m.b);if(1<c||1<b||1<m)c/=255,b/=255,m/=255;return[c,b,m]},oa=function(c,b,m,e){c=I.round(255*c);b=I.round(255*b);m=I.round(255*m);c={r:c, | |
| g:b,b:m,opacity:y(e,"finite")?e:1,hex:a.rgb(c,b,m),toString:ka};y(e,"finite")&&(c.opacity=e);return c};a.color=function(c){var b;y(c,"object")&&"h"in c&&"s"in c&&"b"in c?(b=a.hsb2rgb(c),c.r=b.r,c.g=b.g,c.b=b.b,c.opacity=1,c.hex=b.hex):y(c,"object")&&"h"in c&&"s"in c&&"l"in c?(b=a.hsl2rgb(c),c.r=b.r,c.g=b.g,c.b=b.b,c.opacity=1,c.hex=b.hex):(y(c,"string")&&(c=a.getRGB(c)),y(c,"object")&&"r"in c&&"g"in c&&"b"in c&&!("error"in c)?(b=a.rgb2hsl(c),c.h=b.h,c.s=b.s,c.l=b.l,b=a.rgb2hsb(c),c.v=b.b):(c={hex:"none"}, | |
| c.r=c.g=c.b=c.h=c.s=c.v=c.l=-1,c.error=1));c.toString=ka;return c};a.hsb2rgb=function(c,a,b,m){y(c,"object")&&"h"in c&&"s"in c&&"b"in c&&(b=c.b,a=c.s,c=c.h,m=c.o);var e,h,d;c=360*c%360/60;d=b*a;a=d*(1-Y(c%2-1));b=e=h=b-d;c=~~c;b+=[d,a,0,0,a,d][c];e+=[a,d,d,a,0,0][c];h+=[0,0,a,d,d,a][c];return oa(b,e,h,m)};a.hsl2rgb=function(c,a,b,m){y(c,"object")&&"h"in c&&"s"in c&&"l"in c&&(b=c.l,a=c.s,c=c.h);if(1<c||1<a||1<b)c/=360,a/=100,b/=100;var e,h,d;c=360*c%360/60;d=2*a*(0.5>b?b:1-b);a=d*(1-Y(c%2-1));b=e= | |
| h=b-d/2;c=~~c;b+=[d,a,0,0,a,d][c];e+=[a,d,d,a,0,0][c];h+=[0,0,a,d,d,a][c];return oa(b,e,h,m)};a.rgb2hsb=function(c,a,b){b=D(c,a,b);c=b[0];a=b[1];b=b[2];var m,e;m=P(c,a,b);e=m-Q(c,a,b);c=((0==e?0:m==c?(a-b)/e:m==a?(b-c)/e+2:(c-a)/e+4)+360)%6*60/360;return{h:c,s:0==e?0:e/m,b:m,toString:qa}};a.rgb2hsl=function(c,a,b){b=D(c,a,b);c=b[0];a=b[1];b=b[2];var m,e,h;m=P(c,a,b);e=Q(c,a,b);h=m-e;c=((0==h?0:m==c?(a-b)/h:m==a?(b-c)/h+2:(c-a)/h+4)+360)%6*60/360;m=(m+e)/2;return{h:c,s:0==h?0:0.5>m?h/(2*m):h/(2-2* | |
| m),l:m,toString:ra}};a.parsePathString=function(c){if(!c)return null;var b=a.path(c);if(b.arr)return a.path.clone(b.arr);var m={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},e=[];y(c,"array")&&y(c[0],"array")&&(e=a.path.clone(c));e.length||J(c).replace(W,function(c,a,b){var h=[];c=a.toLowerCase();b.replace(Z,function(c,a){a&&h.push(+a)});"m"==c&&2<h.length&&(e.push([a].concat(h.splice(0,2))),c="l",a="m"==a?"l":"L");"o"==c&&1==h.length&&e.push([a,h[0] ]);if("r"==c)e.push([a].concat(h));else for(;h.length>= | |
| m[c]&&(e.push([a].concat(h.splice(0,m[c]))),m[c]););});e.toString=a.path.toString;b.arr=a.path.clone(e);return e};var O=a.parseTransformString=function(c){if(!c)return null;var b=[];y(c,"array")&&y(c[0],"array")&&(b=a.path.clone(c));b.length||J(c).replace(ma,function(c,a,m){var e=[];a.toLowerCase();m.replace(Z,function(c,a){a&&e.push(+a)});b.push([a].concat(e))});b.toString=a.path.toString;return b};a._.svgTransform2string=d;a._.rgTransform=RegExp("^[a-z][\t\n\x0B\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*-?\\.?\\d", | |
| "i");a._.transform2matrix=f;a._unit2px=b;a._.getSomeDefs=u;a._.getSomeSVG=p;a.select=function(c){return x(G.doc.querySelector(c))};a.selectAll=function(c){c=G.doc.querySelectorAll(c);for(var b=(a.set||Array)(),m=0;m<c.length;m++)b.push(x(c[m]));return b};setInterval(function(){for(var c in E)if(E[h](c)){var a=E[c],b=a.node;("svg"!=a.type&&!b.ownerSVGElement||"svg"==a.type&&(!b.parentNode||"ownerSVGElement"in b.parentNode&&!b.ownerSVGElement))&&delete E[c]}},1E4);(function(c){function m(c){function a(c, | |
| b){var m=v(c.node,b);(m=(m=m&&m.match(d))&&m[2])&&"#"==m.charAt()&&(m=m.substring(1))&&(f[m]=(f[m]||[]).concat(function(a){var m={};m[b]=ca(a);v(c.node,m)}))}function b(c){var a=v(c.node,"xlink:href");a&&"#"==a.charAt()&&(a=a.substring(1))&&(f[a]=(f[a]||[]).concat(function(a){c.attr("xlink:href","#"+a)}))}var e=c.selectAll("*"),h,d=/^\s*url\(("|'|)(.*)\1\)\s*$/;c=[];for(var f={},l=0,E=e.length;l<E;l++){h=e[l];a(h,"fill");a(h,"stroke");a(h,"filter");a(h,"mask");a(h,"clip-path");b(h);var t=v(h.node, | |
| "id");t&&(v(h.node,{id:h.id}),c.push({old:t,id:h.id}))}l=0;for(E=c.length;l<E;l++)if(e=f[c[l].old])for(h=0,t=e.length;h<t;h++)e[h](c[l].id)}function e(c,a,b){return function(m){m=m.slice(c,a);1==m.length&&(m=m[0]);return b?b(m):m}}function d(c){return function(){var a=c?"<"+this.type:"",b=this.node.attributes,m=this.node.childNodes;if(c)for(var e=0,h=b.length;e<h;e++)a+=" "+b[e].name+'="'+b[e].value.replace(/"/g,'\\"')+'"';if(m.length){c&&(a+=">");e=0;for(h=m.length;e<h;e++)3==m[e].nodeType?a+=m[e].nodeValue: | |
| 1==m[e].nodeType&&(a+=x(m[e]).toString());c&&(a+="</"+this.type+">")}else c&&(a+="/>");return a}}c.attr=function(c,a){if(!c)return this;if(y(c,"string"))if(1<arguments.length){var b={};b[c]=a;c=b}else return k("snap.util.getattr."+c,this).firstDefined();for(var m in c)c[h](m)&&k("snap.util.attr."+m,this,c[m]);return this};c.getBBox=function(c){if(!a.Matrix||!a.path)return this.node.getBBox();var b=this,m=new a.Matrix;if(b.removed)return a._.box();for(;"use"==b.type;)if(c||(m=m.add(b.transform().localMatrix.translate(b.attr("x")|| | |
| 0,b.attr("y")||0))),b.original)b=b.original;else var e=b.attr("xlink:href"),b=b.original=b.node.ownerDocument.getElementById(e.substring(e.indexOf("#")+1));var e=b._,h=a.path.get[b.type]||a.path.get.deflt;try{if(c)return e.bboxwt=h?a.path.getBBox(b.realPath=h(b)):a._.box(b.node.getBBox()),a._.box(e.bboxwt);b.realPath=h(b);b.matrix=b.transform().localMatrix;e.bbox=a.path.getBBox(a.path.map(b.realPath,m.add(b.matrix)));return a._.box(e.bbox)}catch(d){return a._.box()}};var f=function(){return this.string}; | |
| c.transform=function(c){var b=this._;if(null==c){var m=this;c=new a.Matrix(this.node.getCTM());for(var e=n(this),h=[e],d=new a.Matrix,l=e.toTransformString(),b=J(e)==J(this.matrix)?J(b.transform):l;"svg"!=m.type&&(m=m.parent());)h.push(n(m));for(m=h.length;m--;)d.add(h[m]);return{string:b,globalMatrix:c,totalMatrix:d,localMatrix:e,diffMatrix:c.clone().add(e.invert()),global:c.toTransformString(),total:d.toTransformString(),local:l,toString:f}}c instanceof a.Matrix?this.matrix=c:n(this,c);this.node&& | |
| ("linearGradient"==this.type||"radialGradient"==this.type?v(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?v(this.node,{patternTransform:this.matrix}):v(this.node,{transform:this.matrix}));return this};c.parent=function(){return x(this.node.parentNode)};c.append=c.add=function(c){if(c){if("set"==c.type){var a=this;c.forEach(function(c){a.add(c)});return this}c=x(c);this.node.appendChild(c.node);c.paper=this.paper}return this};c.appendTo=function(c){c&&(c=x(c),c.append(this));return this}; | |
| c.prepend=function(c){if(c){if("set"==c.type){var a=this,b;c.forEach(function(c){b?b.after(c):a.prepend(c);b=c});return this}c=x(c);var m=c.parent();this.node.insertBefore(c.node,this.node.firstChild);this.add&&this.add();c.paper=this.paper;this.parent()&&this.parent().add();m&&m.add()}return this};c.prependTo=function(c){c=x(c);c.prepend(this);return this};c.before=function(c){if("set"==c.type){var a=this;c.forEach(function(c){var b=c.parent();a.node.parentNode.insertBefore(c.node,a.node);b&&b.add()}); | |
| this.parent().add();return this}c=x(c);var b=c.parent();this.node.parentNode.insertBefore(c.node,this.node);this.parent()&&this.parent().add();b&&b.add();c.paper=this.paper;return this};c.after=function(c){c=x(c);var a=c.parent();this.node.nextSibling?this.node.parentNode.insertBefore(c.node,this.node.nextSibling):this.node.parentNode.appendChild(c.node);this.parent()&&this.parent().add();a&&a.add();c.paper=this.paper;return this};c.insertBefore=function(c){c=x(c);var a=this.parent();c.node.parentNode.insertBefore(this.node, | |
| c.node);this.paper=c.paper;a&&a.add();c.parent()&&c.parent().add();return this};c.insertAfter=function(c){c=x(c);var a=this.parent();c.node.parentNode.insertBefore(this.node,c.node.nextSibling);this.paper=c.paper;a&&a.add();c.parent()&&c.parent().add();return this};c.remove=function(){var c=this.parent();this.node.parentNode&&this.node.parentNode.removeChild(this.node);delete this.paper;this.removed=!0;c&&c.add();return this};c.select=function(c){return x(this.node.querySelector(c))};c.selectAll= | |
| function(c){c=this.node.querySelectorAll(c);for(var b=(a.set||Array)(),m=0;m<c.length;m++)b.push(x(c[m]));return b};c.asPX=function(c,a){null==a&&(a=this.attr(c));return+b(this,c,a)};c.use=function(){var c,a=this.node.id;a||(a=this.id,v(this.node,{id:a}));c="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?r(this.type,this.node.parentNode):r("use",this.node.parentNode);v(c.node,{"xlink:href":"#"+a});c.original=this;return c};var l=/\S+/g;c.addClass=function(c){var a=(c|| | |
| "").match(l)||[];c=this.node;var b=c.className.baseVal,m=b.match(l)||[],e,h,d;if(a.length){for(e=0;d=a[e++];)h=m.indexOf(d),~h||m.push(d);a=m.join(" ");b!=a&&(c.className.baseVal=a)}return this};c.removeClass=function(c){var a=(c||"").match(l)||[];c=this.node;var b=c.className.baseVal,m=b.match(l)||[],e,h;if(m.length){for(e=0;h=a[e++];)h=m.indexOf(h),~h&&m.splice(h,1);a=m.join(" ");b!=a&&(c.className.baseVal=a)}return this};c.hasClass=function(c){return!!~(this.node.className.baseVal.match(l)||[]).indexOf(c)}; | |
| c.toggleClass=function(c,a){if(null!=a)return a?this.addClass(c):this.removeClass(c);var b=(c||"").match(l)||[],m=this.node,e=m.className.baseVal,h=e.match(l)||[],d,f,E;for(d=0;E=b[d++];)f=h.indexOf(E),~f?h.splice(f,1):h.push(E);b=h.join(" ");e!=b&&(m.className.baseVal=b);return this};c.clone=function(){var c=x(this.node.cloneNode(!0));v(c.node,"id")&&v(c.node,{id:c.id});m(c);c.insertAfter(this);return c};c.toDefs=function(){u(this).appendChild(this.node);return this};c.pattern=c.toPattern=function(c, | |
| a,b,m){var e=r("pattern",u(this));null==c&&(c=this.getBBox());y(c,"object")&&"x"in c&&(a=c.y,b=c.width,m=c.height,c=c.x);v(e.node,{x:c,y:a,width:b,height:m,patternUnits:"userSpaceOnUse",id:e.id,viewBox:[c,a,b,m].join(" ")});e.node.appendChild(this.node);return e};c.marker=function(c,a,b,m,e,h){var d=r("marker",u(this));null==c&&(c=this.getBBox());y(c,"object")&&"x"in c&&(a=c.y,b=c.width,m=c.height,e=c.refX||c.cx,h=c.refY||c.cy,c=c.x);v(d.node,{viewBox:[c,a,b,m].join(" "),markerWidth:b,markerHeight:m, | |
| orient:"auto",refX:e||0,refY:h||0,id:d.id});d.node.appendChild(this.node);return d};var E=function(c,a,b,m){"function"!=typeof b||b.length||(m=b,b=L.linear);this.attr=c;this.dur=a;b&&(this.easing=b);m&&(this.callback=m)};a._.Animation=E;a.animation=function(c,a,b,m){return new E(c,a,b,m)};c.inAnim=function(){var c=[],a;for(a in this.anims)this.anims[h](a)&&function(a){c.push({anim:new E(a._attrs,a.dur,a.easing,a._callback),mina:a,curStatus:a.status(),status:function(c){return a.status(c)},stop:function(){a.stop()}})}(this.anims[a]); | |
| return c};a.animate=function(c,a,b,m,e,h){"function"!=typeof e||e.length||(h=e,e=L.linear);var d=L.time();c=L(c,a,d,d+m,L.time,b,e);h&&k.once("mina.finish."+c.id,h);return c};c.stop=function(){for(var c=this.inAnim(),a=0,b=c.length;a<b;a++)c[a].stop();return this};c.animate=function(c,a,b,m){"function"!=typeof b||b.length||(m=b,b=L.linear);c instanceof E&&(m=c.callback,b=c.easing,a=b.dur,c=c.attr);var d=[],f=[],l={},t,ca,n,T=this,q;for(q in c)if(c[h](q)){T.equal?(n=T.equal(q,J(c[q])),t=n.from,ca= | |
| n.to,n=n.f):(t=+T.attr(q),ca=+c[q]);var la=y(t,"array")?t.length:1;l[q]=e(d.length,d.length+la,n);d=d.concat(t);f=f.concat(ca)}t=L.time();var p=L(d,f,t,t+a,L.time,function(c){var a={},b;for(b in l)l[h](b)&&(a[b]=l[b](c));T.attr(a)},b);T.anims[p.id]=p;p._attrs=c;p._callback=m;k("snap.animcreated."+T.id,p);k.once("mina.finish."+p.id,function(){delete T.anims[p.id];m&&m.call(T)});k.once("mina.stop."+p.id,function(){delete T.anims[p.id]});return T};var T={};c.data=function(c,b){var m=T[this.id]=T[this.id]|| | |
| {};if(0==arguments.length)return k("snap.data.get."+this.id,this,m,null),m;if(1==arguments.length){if(a.is(c,"object")){for(var e in c)c[h](e)&&this.data(e,c[e]);return this}k("snap.data.get."+this.id,this,m[c],c);return m[c]}m[c]=b;k("snap.data.set."+this.id,this,b,c);return this};c.removeData=function(c){null==c?T[this.id]={}:T[this.id]&&delete T[this.id][c];return this};c.outerSVG=c.toString=d(1);c.innerSVG=d()})(e.prototype);a.parse=function(c){var a=G.doc.createDocumentFragment(),b=!0,m=G.doc.createElement("div"); | |
| c=J(c);c.match(/^\s*<\s*svg(?:\s|>)/)||(c="<svg>"+c+"</svg>",b=!1);m.innerHTML=c;if(c=m.getElementsByTagName("svg")[0])if(b)a=c;else for(;c.firstChild;)a.appendChild(c.firstChild);m.innerHTML=aa;return new l(a)};l.prototype.select=e.prototype.select;l.prototype.selectAll=e.prototype.selectAll;a.fragment=function(){for(var c=Array.prototype.slice.call(arguments,0),b=G.doc.createDocumentFragment(),m=0,e=c.length;m<e;m++){var h=c[m];h.node&&h.node.nodeType&&b.appendChild(h.node);h.nodeType&&b.appendChild(h); | |
| "string"==typeof h&&b.appendChild(a.parse(h).node)}return new l(b)};a._.make=r;a._.wrap=x;s.prototype.el=function(c,a){var b=r(c,this.node);a&&b.attr(a);return b};k.on("snap.util.getattr",function(){var c=k.nt(),c=c.substring(c.lastIndexOf(".")+1),a=c.replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});return pa[h](a)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(a):v(this.node,c)});var pa={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0, | |
| "clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0, | |
| "lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};k.on("snap.util.attr",function(c){var a=k.nt(),b={},a=a.substring(a.lastIndexOf(".")+ | |
| 1);b[a]=c;var m=a.replace(/-(\w)/gi,function(c,a){return a.toUpperCase()}),a=a.replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});pa[h](a)?this.node.style[m]=null==c?aa:c:v(this.node,b)});a.ajax=function(c,a,b,m){var e=new XMLHttpRequest,h=V();if(e){if(y(a,"function"))m=b,b=a,a=null;else if(y(a,"object")){var d=[],f;for(f in a)a.hasOwnProperty(f)&&d.push(encodeURIComponent(f)+"="+encodeURIComponent(a[f]));a=d.join("&")}e.open(a?"POST":"GET",c,!0);a&&(e.setRequestHeader("X-Requested-With","XMLHttpRequest"), | |
| e.setRequestHeader("Content-type","application/x-www-form-urlencoded"));b&&(k.once("snap.ajax."+h+".0",b),k.once("snap.ajax."+h+".200",b),k.once("snap.ajax."+h+".304",b));e.onreadystatechange=function(){4==e.readyState&&k("snap.ajax."+h+"."+e.status,m,e)};if(4==e.readyState)return e;e.send(a);return e}};a.load=function(c,b,m){a.ajax(c,function(c){c=a.parse(c.responseText);m?b.call(m,c):b(c)})};a.getElementByPoint=function(c,a){var b,m,e=G.doc.elementFromPoint(c,a);if(G.win.opera&&"svg"==e.tagName){b= | |
| e;m=b.getBoundingClientRect();b=b.ownerDocument;var h=b.body,d=b.documentElement;b=m.top+(g.win.pageYOffset||d.scrollTop||h.scrollTop)-(d.clientTop||h.clientTop||0);m=m.left+(g.win.pageXOffset||d.scrollLeft||h.scrollLeft)-(d.clientLeft||h.clientLeft||0);h=e.createSVGRect();h.x=c-m;h.y=a-b;h.width=h.height=1;b=e.getIntersectionList(h,null);b.length&&(e=b[b.length-1])}return e?x(e):null};a.plugin=function(c){c(a,e,s,G,l)};return G.win.Snap=a}();C.plugin(function(a,k,y,M,A){function w(a,d,f,b,q,e){null== | |
| d&&"[object SVGMatrix]"==z.call(a)?(this.a=a.a,this.b=a.b,this.c=a.c,this.d=a.d,this.e=a.e,this.f=a.f):null!=a?(this.a=+a,this.b=+d,this.c=+f,this.d=+b,this.e=+q,this.f=+e):(this.a=1,this.c=this.b=0,this.d=1,this.f=this.e=0)}var z=Object.prototype.toString,d=String,f=Math;(function(n){function k(a){return a[0]*a[0]+a[1]*a[1]}function p(a){var d=f.sqrt(k(a));a[0]&&(a[0]/=d);a[1]&&(a[1]/=d)}n.add=function(a,d,e,f,n,p){var k=[[],[],[] ],u=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1] ];d=[[a, | |
| e,n],[d,f,p],[0,0,1] ];a&&a instanceof w&&(d=[[a.a,a.c,a.e],[a.b,a.d,a.f],[0,0,1] ]);for(a=0;3>a;a++)for(e=0;3>e;e++){for(f=n=0;3>f;f++)n+=u[a][f]*d[f][e];k[a][e]=n}this.a=k[0][0];this.b=k[1][0];this.c=k[0][1];this.d=k[1][1];this.e=k[0][2];this.f=k[1][2];return this};n.invert=function(){var a=this.a*this.d-this.b*this.c;return new w(this.d/a,-this.b/a,-this.c/a,this.a/a,(this.c*this.f-this.d*this.e)/a,(this.b*this.e-this.a*this.f)/a)};n.clone=function(){return new w(this.a,this.b,this.c,this.d,this.e, | |
| this.f)};n.translate=function(a,d){return this.add(1,0,0,1,a,d)};n.scale=function(a,d,e,f){null==d&&(d=a);(e||f)&&this.add(1,0,0,1,e,f);this.add(a,0,0,d,0,0);(e||f)&&this.add(1,0,0,1,-e,-f);return this};n.rotate=function(b,d,e){b=a.rad(b);d=d||0;e=e||0;var l=+f.cos(b).toFixed(9);b=+f.sin(b).toFixed(9);this.add(l,b,-b,l,d,e);return this.add(1,0,0,1,-d,-e)};n.x=function(a,d){return a*this.a+d*this.c+this.e};n.y=function(a,d){return a*this.b+d*this.d+this.f};n.get=function(a){return+this[d.fromCharCode(97+ | |
| a)].toFixed(4)};n.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"};n.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]};n.determinant=function(){return this.a*this.d-this.b*this.c};n.split=function(){var b={};b.dx=this.e;b.dy=this.f;var d=[[this.a,this.c],[this.b,this.d] ];b.scalex=f.sqrt(k(d[0]));p(d[0]);b.shear=d[0][0]*d[1][0]+d[0][1]*d[1][1];d[1]=[d[1][0]-d[0][0]*b.shear,d[1][1]-d[0][1]*b.shear];b.scaley=f.sqrt(k(d[1])); | |
| p(d[1]);b.shear/=b.scaley;0>this.determinant()&&(b.scalex=-b.scalex);var e=-d[0][1],d=d[1][1];0>d?(b.rotate=a.deg(f.acos(d)),0>e&&(b.rotate=360-b.rotate)):b.rotate=a.deg(f.asin(e));b.isSimple=!+b.shear.toFixed(9)&&(b.scalex.toFixed(9)==b.scaley.toFixed(9)||!b.rotate);b.isSuperSimple=!+b.shear.toFixed(9)&&b.scalex.toFixed(9)==b.scaley.toFixed(9)&&!b.rotate;b.noRotation=!+b.shear.toFixed(9)&&!b.rotate;return b};n.toTransformString=function(a){a=a||this.split();if(+a.shear.toFixed(9))return"m"+[this.get(0), | |
| this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)];a.scalex=+a.scalex.toFixed(4);a.scaley=+a.scaley.toFixed(4);a.rotate=+a.rotate.toFixed(4);return(a.dx||a.dy?"t"+[+a.dx.toFixed(4),+a.dy.toFixed(4)]:"")+(1!=a.scalex||1!=a.scaley?"s"+[a.scalex,a.scaley,0,0]:"")+(a.rotate?"r"+[+a.rotate.toFixed(4),0,0]:"")}})(w.prototype);a.Matrix=w;a.matrix=function(a,d,f,b,k,e){return new w(a,d,f,b,k,e)}});C.plugin(function(a,v,y,M,A){function w(h){return function(d){k.stop();d instanceof A&&1==d.node.childNodes.length&& | |
| ("radialGradient"==d.node.firstChild.tagName||"linearGradient"==d.node.firstChild.tagName||"pattern"==d.node.firstChild.tagName)&&(d=d.node.firstChild,b(this).appendChild(d),d=u(d));if(d instanceof v)if("radialGradient"==d.type||"linearGradient"==d.type||"pattern"==d.type){d.node.id||e(d.node,{id:d.id});var f=l(d.node.id)}else f=d.attr(h);else f=a.color(d),f.error?(f=a(b(this).ownerSVGElement).gradient(d))?(f.node.id||e(f.node,{id:f.id}),f=l(f.node.id)):f=d:f=r(f);d={};d[h]=f;e(this.node,d);this.node.style[h]= | |
| x}}function z(a){k.stop();a==+a&&(a+="px");this.node.style.fontSize=a}function d(a){var b=[];a=a.childNodes;for(var e=0,f=a.length;e<f;e++){var l=a[e];3==l.nodeType&&b.push(l.nodeValue);"tspan"==l.tagName&&(1==l.childNodes.length&&3==l.firstChild.nodeType?b.push(l.firstChild.nodeValue):b.push(d(l)))}return b}function f(){k.stop();return this.node.style.fontSize}var n=a._.make,u=a._.wrap,p=a.is,b=a._.getSomeDefs,q=/^url\(#?([^)]+)\)$/,e=a._.$,l=a.url,r=String,s=a._.separator,x="";k.on("snap.util.attr.mask", | |
| function(a){if(a instanceof v||a instanceof A){k.stop();a instanceof A&&1==a.node.childNodes.length&&(a=a.node.firstChild,b(this).appendChild(a),a=u(a));if("mask"==a.type)var d=a;else d=n("mask",b(this)),d.node.appendChild(a.node);!d.node.id&&e(d.node,{id:d.id});e(this.node,{mask:l(d.id)})}});(function(a){k.on("snap.util.attr.clip",a);k.on("snap.util.attr.clip-path",a);k.on("snap.util.attr.clipPath",a)})(function(a){if(a instanceof v||a instanceof A){k.stop();if("clipPath"==a.type)var d=a;else d= | |
| n("clipPath",b(this)),d.node.appendChild(a.node),!d.node.id&&e(d.node,{id:d.id});e(this.node,{"clip-path":l(d.id)})}});k.on("snap.util.attr.fill",w("fill"));k.on("snap.util.attr.stroke",w("stroke"));var G=/^([lr])(?:\(([^)]*)\))?(.*)$/i;k.on("snap.util.grad.parse",function(a){a=r(a);var b=a.match(G);if(!b)return null;a=b[1];var e=b[2],b=b[3],e=e.split(/\s*,\s*/).map(function(a){return+a==a?+a:a});1==e.length&&0==e[0]&&(e=[]);b=b.split("-");b=b.map(function(a){a=a.split(":");var b={color:a[0]};a[1]&& | |
| (b.offset=parseFloat(a[1]));return b});return{type:a,params:e,stops:b}});k.on("snap.util.attr.d",function(b){k.stop();p(b,"array")&&p(b[0],"array")&&(b=a.path.toString.call(b));b=r(b);b.match(/[ruo]/i)&&(b=a.path.toAbsolute(b));e(this.node,{d:b})})(-1);k.on("snap.util.attr.#text",function(a){k.stop();a=r(a);for(a=M.doc.createTextNode(a);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(a)})(-1);k.on("snap.util.attr.path",function(a){k.stop();this.attr({d:a})})(-1); | |
| k.on("snap.util.attr.class",function(a){k.stop();this.node.className.baseVal=a})(-1);k.on("snap.util.attr.viewBox",function(a){a=p(a,"object")&&"x"in a?[a.x,a.y,a.width,a.height].join(" "):p(a,"array")?a.join(" "):a;e(this.node,{viewBox:a});k.stop()})(-1);k.on("snap.util.attr.transform",function(a){this.transform(a);k.stop()})(-1);k.on("snap.util.attr.r",function(a){"rect"==this.type&&(k.stop(),e(this.node,{rx:a,ry:a}))})(-1);k.on("snap.util.attr.textpath",function(a){k.stop();if("text"==this.type){var d, | |
| f;if(!a&&this.textPath){for(a=this.textPath;a.node.firstChild;)this.node.appendChild(a.node.firstChild);a.remove();delete this.textPath}else if(p(a,"string")?(d=b(this),a=u(d.parentNode).path(a),d.appendChild(a.node),d=a.id,a.attr({id:d})):(a=u(a),a instanceof v&&(d=a.attr("id"),d||(d=a.id,a.attr({id:d})))),d)if(a=this.textPath,f=this.node,a)a.attr({"xlink:href":"#"+d});else{for(a=e("textPath",{"xlink:href":"#"+d});f.firstChild;)a.appendChild(f.firstChild);f.appendChild(a);this.textPath=u(a)}}})(-1); | |
| k.on("snap.util.attr.text",function(a){if("text"==this.type){for(var b=this.node,d=function(a){var b=e("tspan");if(p(a,"array"))for(var f=0;f<a.length;f++)b.appendChild(d(a[f]));else b.appendChild(M.doc.createTextNode(a));b.normalize&&b.normalize();return b};b.firstChild;)b.removeChild(b.firstChild);for(a=d(a);a.firstChild;)b.appendChild(a.firstChild)}k.stop()})(-1);k.on("snap.util.attr.fontSize",z)(-1);k.on("snap.util.attr.font-size",z)(-1);k.on("snap.util.getattr.transform",function(){k.stop(); | |
| return this.transform()})(-1);k.on("snap.util.getattr.textpath",function(){k.stop();return this.textPath})(-1);(function(){function b(d){return function(){k.stop();var b=M.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+d);return"none"==b?b:a(M.doc.getElementById(b.match(q)[1]))}}function d(a){return function(b){k.stop();var d="marker"+a.charAt(0).toUpperCase()+a.substring(1);if(""==b||!b)this.node.style[d]="none";else if("marker"==b.type){var f=b.node.id;f||e(b.node,{id:b.id}); | |
| this.node.style[d]=l(f)}}}k.on("snap.util.getattr.marker-end",b("end"))(-1);k.on("snap.util.getattr.markerEnd",b("end"))(-1);k.on("snap.util.getattr.marker-start",b("start"))(-1);k.on("snap.util.getattr.markerStart",b("start"))(-1);k.on("snap.util.getattr.marker-mid",b("mid"))(-1);k.on("snap.util.getattr.markerMid",b("mid"))(-1);k.on("snap.util.attr.marker-end",d("end"))(-1);k.on("snap.util.attr.markerEnd",d("end"))(-1);k.on("snap.util.attr.marker-start",d("start"))(-1);k.on("snap.util.attr.markerStart", | |
| d("start"))(-1);k.on("snap.util.attr.marker-mid",d("mid"))(-1);k.on("snap.util.attr.markerMid",d("mid"))(-1)})();k.on("snap.util.getattr.r",function(){if("rect"==this.type&&e(this.node,"rx")==e(this.node,"ry"))return k.stop(),e(this.node,"rx")})(-1);k.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){k.stop();var a=d(this.node);return 1==a.length?a[0]:a}})(-1);k.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1);k.on("snap.util.getattr.viewBox", | |
| function(){k.stop();var b=e(this.node,"viewBox");if(b)return b=b.split(s),a._.box(+b[0],+b[1],+b[2],+b[3])})(-1);k.on("snap.util.getattr.points",function(){var a=e(this.node,"points");k.stop();if(a)return a.split(s)})(-1);k.on("snap.util.getattr.path",function(){var a=e(this.node,"d");k.stop();return a})(-1);k.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1);k.on("snap.util.getattr.fontSize",f)(-1);k.on("snap.util.getattr.font-size",f)(-1)});C.plugin(function(a,v,y, | |
| M,A){function w(a){return a}function z(a){return function(b){return+b.toFixed(3)+a}}var d={"+":function(a,b){return a+b},"-":function(a,b){return a-b},"/":function(a,b){return a/b},"*":function(a,b){return a*b}},f=String,n=/[a-z]+$/i,u=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;k.on("snap.util.attr",function(a){if(a=f(a).match(u)){var b=k.nt(),b=b.substring(b.lastIndexOf(".")+1),q=this.attr(b),e={};k.stop();var l=a[3]||"",r=q.match(n),s=d[a[1] ];r&&r==l?a=s(parseFloat(q),+a[2]):(q=this.asPX(b), | |
| a=s(this.asPX(b),this.asPX(b,a[2]+l)));isNaN(q)||isNaN(a)||(e[b]=a,this.attr(e))}})(-10);k.on("snap.util.equal",function(a,b){var q=f(this.attr(a)||""),e=f(b).match(u);if(e){k.stop();var l=e[3]||"",r=q.match(n),s=d[e[1] ];if(r&&r==l)return{from:parseFloat(q),to:s(parseFloat(q),+e[2]),f:z(r)};q=this.asPX(a);return{from:q,to:s(q,this.asPX(a,e[2]+l)),f:w}}})(-10)});C.plugin(function(a,v,y,M,A){var w=y.prototype,z=a.is;w.rect=function(a,d,k,p,b,q){var e;null==q&&(q=b);z(a,"object")&&"[object Object]"== | |
| a?e=a:null!=a&&(e={x:a,y:d,width:k,height:p},null!=b&&(e.rx=b,e.ry=q));return this.el("rect",e)};w.circle=function(a,d,k){var p;z(a,"object")&&"[object Object]"==a?p=a:null!=a&&(p={cx:a,cy:d,r:k});return this.el("circle",p)};var d=function(){function a(){this.parentNode.removeChild(this)}return function(d,k){var p=M.doc.createElement("img"),b=M.doc.body;p.style.cssText="position:absolute;left:-9999em;top:-9999em";p.onload=function(){k.call(p);p.onload=p.onerror=null;b.removeChild(p)};p.onerror=a; | |
| b.appendChild(p);p.src=d}}();w.image=function(f,n,k,p,b){var q=this.el("image");if(z(f,"object")&&"src"in f)q.attr(f);else if(null!=f){var e={"xlink:href":f,preserveAspectRatio:"none"};null!=n&&null!=k&&(e.x=n,e.y=k);null!=p&&null!=b?(e.width=p,e.height=b):d(f,function(){a._.$(q.node,{width:this.offsetWidth,height:this.offsetHeight})});a._.$(q.node,e)}return q};w.ellipse=function(a,d,k,p){var b;z(a,"object")&&"[object Object]"==a?b=a:null!=a&&(b={cx:a,cy:d,rx:k,ry:p});return this.el("ellipse",b)}; | |
| w.path=function(a){var d;z(a,"object")&&!z(a,"array")?d=a:a&&(d={d:a});return this.el("path",d)};w.group=w.g=function(a){var d=this.el("g");1==arguments.length&&a&&!a.type?d.attr(a):arguments.length&&d.add(Array.prototype.slice.call(arguments,0));return d};w.svg=function(a,d,k,p,b,q,e,l){var r={};z(a,"object")&&null==d?r=a:(null!=a&&(r.x=a),null!=d&&(r.y=d),null!=k&&(r.width=k),null!=p&&(r.height=p),null!=b&&null!=q&&null!=e&&null!=l&&(r.viewBox=[b,q,e,l]));return this.el("svg",r)};w.mask=function(a){var d= | |
| this.el("mask");1==arguments.length&&a&&!a.type?d.attr(a):arguments.length&&d.add(Array.prototype.slice.call(arguments,0));return d};w.ptrn=function(a,d,k,p,b,q,e,l){if(z(a,"object"))var r=a;else arguments.length?(r={},null!=a&&(r.x=a),null!=d&&(r.y=d),null!=k&&(r.width=k),null!=p&&(r.height=p),null!=b&&null!=q&&null!=e&&null!=l&&(r.viewBox=[b,q,e,l])):r={patternUnits:"userSpaceOnUse"};return this.el("pattern",r)};w.use=function(a){return null!=a?(make("use",this.node),a instanceof v&&(a.attr("id")|| | |
| a.attr({id:ID()}),a=a.attr("id")),this.el("use",{"xlink:href":a})):v.prototype.use.call(this)};w.text=function(a,d,k){var p={};z(a,"object")?p=a:null!=a&&(p={x:a,y:d,text:k||""});return this.el("text",p)};w.line=function(a,d,k,p){var b={};z(a,"object")?b=a:null!=a&&(b={x1:a,x2:k,y1:d,y2:p});return this.el("line",b)};w.polyline=function(a){1<arguments.length&&(a=Array.prototype.slice.call(arguments,0));var d={};z(a,"object")&&!z(a,"array")?d=a:null!=a&&(d={points:a});return this.el("polyline",d)}; | |
| w.polygon=function(a){1<arguments.length&&(a=Array.prototype.slice.call(arguments,0));var d={};z(a,"object")&&!z(a,"array")?d=a:null!=a&&(d={points:a});return this.el("polygon",d)};(function(){function d(){return this.selectAll("stop")}function n(b,d){var f=e("stop"),k={offset:+d+"%"};b=a.color(b);k["stop-color"]=b.hex;1>b.opacity&&(k["stop-opacity"]=b.opacity);e(f,k);this.node.appendChild(f);return this}function u(){if("linearGradient"==this.type){var b=e(this.node,"x1")||0,d=e(this.node,"x2")|| | |
| 1,f=e(this.node,"y1")||0,k=e(this.node,"y2")||0;return a._.box(b,f,math.abs(d-b),math.abs(k-f))}b=this.node.r||0;return a._.box((this.node.cx||0.5)-b,(this.node.cy||0.5)-b,2*b,2*b)}function p(a,d){function f(a,b){for(var d=(b-u)/(a-w),e=w;e<a;e++)h[e].offset=+(+u+d*(e-w)).toFixed(2);w=a;u=b}var n=k("snap.util.grad.parse",null,d).firstDefined(),p;if(!n)return null;n.params.unshift(a);p="l"==n.type.toLowerCase()?b.apply(0,n.params):q.apply(0,n.params);n.type!=n.type.toLowerCase()&&e(p.node,{gradientUnits:"userSpaceOnUse"}); | |
| var h=n.stops,n=h.length,u=0,w=0;n--;for(var v=0;v<n;v++)"offset"in h[v]&&f(v,h[v].offset);h[n].offset=h[n].offset||100;f(n,h[n].offset);for(v=0;v<=n;v++){var y=h[v];p.addStop(y.color,y.offset)}return p}function b(b,k,p,q,w){b=a._.make("linearGradient",b);b.stops=d;b.addStop=n;b.getBBox=u;null!=k&&e(b.node,{x1:k,y1:p,x2:q,y2:w});return b}function q(b,k,p,q,w,h){b=a._.make("radialGradient",b);b.stops=d;b.addStop=n;b.getBBox=u;null!=k&&e(b.node,{cx:k,cy:p,r:q});null!=w&&null!=h&&e(b.node,{fx:w,fy:h}); | |
| return b}var e=a._.$;w.gradient=function(a){return p(this.defs,a)};w.gradientLinear=function(a,d,e,f){return b(this.defs,a,d,e,f)};w.gradientRadial=function(a,b,d,e,f){return q(this.defs,a,b,d,e,f)};w.toString=function(){var b=this.node.ownerDocument,d=b.createDocumentFragment(),b=b.createElement("div"),e=this.node.cloneNode(!0);d.appendChild(b);b.appendChild(e);a._.$(e,{xmlns:"http://www.w3.org/2000/svg"});b=b.innerHTML;d.removeChild(d.firstChild);return b};w.clear=function(){for(var a=this.node.firstChild, | |
| b;a;)b=a.nextSibling,"defs"!=a.tagName?a.parentNode.removeChild(a):w.clear.call({node:a}),a=b}})()});C.plugin(function(a,k,y,M){function A(a){var b=A.ps=A.ps||{};b[a]?b[a].sleep=100:b[a]={sleep:100};setTimeout(function(){for(var d in b)b[L](d)&&d!=a&&(b[d].sleep--,!b[d].sleep&&delete b[d])});return b[a]}function w(a,b,d,e){null==a&&(a=b=d=e=0);null==b&&(b=a.y,d=a.width,e=a.height,a=a.x);return{x:a,y:b,width:d,w:d,height:e,h:e,x2:a+d,y2:b+e,cx:a+d/2,cy:b+e/2,r1:F.min(d,e)/2,r2:F.max(d,e)/2,r0:F.sqrt(d* | |
| d+e*e)/2,path:s(a,b,d,e),vb:[a,b,d,e].join(" ")}}function z(){return this.join(",").replace(N,"$1")}function d(a){a=C(a);a.toString=z;return a}function f(a,b,d,h,f,k,l,n,p){if(null==p)return e(a,b,d,h,f,k,l,n);if(0>p||e(a,b,d,h,f,k,l,n)<p)p=void 0;else{var q=0.5,O=1-q,s;for(s=e(a,b,d,h,f,k,l,n,O);0.01<Z(s-p);)q/=2,O+=(s<p?1:-1)*q,s=e(a,b,d,h,f,k,l,n,O);p=O}return u(a,b,d,h,f,k,l,n,p)}function n(b,d){function e(a){return+(+a).toFixed(3)}return a._.cacher(function(a,h,l){a instanceof k&&(a=a.attr("d")); | |
| a=I(a);for(var n,p,D,q,O="",s={},c=0,t=0,r=a.length;t<r;t++){D=a[t];if("M"==D[0])n=+D[1],p=+D[2];else{q=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6]);if(c+q>h){if(d&&!s.start){n=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6],h-c);O+=["C"+e(n.start.x),e(n.start.y),e(n.m.x),e(n.m.y),e(n.x),e(n.y)];if(l)return O;s.start=O;O=["M"+e(n.x),e(n.y)+"C"+e(n.n.x),e(n.n.y),e(n.end.x),e(n.end.y),e(D[5]),e(D[6])].join();c+=q;n=+D[5];p=+D[6];continue}if(!b&&!d)return n=f(n,p,D[1],D[2],D[3],D[4],D[5],D[6],h-c)}c+=q;n=+D[5];p=+D[6]}O+= | |
| D.shift()+D}s.end=O;return n=b?c:d?s:u(n,p,D[0],D[1],D[2],D[3],D[4],D[5],1)},null,a._.clone)}function u(a,b,d,e,h,f,k,l,n){var p=1-n,q=ma(p,3),s=ma(p,2),c=n*n,t=c*n,r=q*a+3*s*n*d+3*p*n*n*h+t*k,q=q*b+3*s*n*e+3*p*n*n*f+t*l,s=a+2*n*(d-a)+c*(h-2*d+a),t=b+2*n*(e-b)+c*(f-2*e+b),x=d+2*n*(h-d)+c*(k-2*h+d),c=e+2*n*(f-e)+c*(l-2*f+e);a=p*a+n*d;b=p*b+n*e;h=p*h+n*k;f=p*f+n*l;l=90-180*F.atan2(s-x,t-c)/S;return{x:r,y:q,m:{x:s,y:t},n:{x:x,y:c},start:{x:a,y:b},end:{x:h,y:f},alpha:l}}function p(b,d,e,h,f,n,k,l){a.is(b, | |
| "array")||(b=[b,d,e,h,f,n,k,l]);b=U.apply(null,b);return w(b.min.x,b.min.y,b.max.x-b.min.x,b.max.y-b.min.y)}function b(a,b,d){return b>=a.x&&b<=a.x+a.width&&d>=a.y&&d<=a.y+a.height}function q(a,d){a=w(a);d=w(d);return b(d,a.x,a.y)||b(d,a.x2,a.y)||b(d,a.x,a.y2)||b(d,a.x2,a.y2)||b(a,d.x,d.y)||b(a,d.x2,d.y)||b(a,d.x,d.y2)||b(a,d.x2,d.y2)||(a.x<d.x2&&a.x>d.x||d.x<a.x2&&d.x>a.x)&&(a.y<d.y2&&a.y>d.y||d.y<a.y2&&d.y>a.y)}function e(a,b,d,e,h,f,n,k,l){null==l&&(l=1);l=(1<l?1:0>l?0:l)/2;for(var p=[-0.1252, | |
| 0.1252,-0.3678,0.3678,-0.5873,0.5873,-0.7699,0.7699,-0.9041,0.9041,-0.9816,0.9816],q=[0.2491,0.2491,0.2335,0.2335,0.2032,0.2032,0.1601,0.1601,0.1069,0.1069,0.0472,0.0472],s=0,c=0;12>c;c++)var t=l*p[c]+l,r=t*(t*(-3*a+9*d-9*h+3*n)+6*a-12*d+6*h)-3*a+3*d,t=t*(t*(-3*b+9*e-9*f+3*k)+6*b-12*e+6*f)-3*b+3*e,s=s+q[c]*F.sqrt(r*r+t*t);return l*s}function l(a,b,d){a=I(a);b=I(b);for(var h,f,l,n,k,s,r,O,x,c,t=d?0:[],w=0,v=a.length;w<v;w++)if(x=a[w],"M"==x[0])h=k=x[1],f=s=x[2];else{"C"==x[0]?(x=[h,f].concat(x.slice(1)), | |
| h=x[6],f=x[7]):(x=[h,f,h,f,k,s,k,s],h=k,f=s);for(var G=0,y=b.length;G<y;G++)if(c=b[G],"M"==c[0])l=r=c[1],n=O=c[2];else{"C"==c[0]?(c=[l,n].concat(c.slice(1)),l=c[6],n=c[7]):(c=[l,n,l,n,r,O,r,O],l=r,n=O);var z;var K=x,B=c;z=d;var H=p(K),J=p(B);if(q(H,J)){for(var H=e.apply(0,K),J=e.apply(0,B),H=~~(H/8),J=~~(J/8),U=[],A=[],F={},M=z?0:[],P=0;P<H+1;P++){var C=u.apply(0,K.concat(P/H));U.push({x:C.x,y:C.y,t:P/H})}for(P=0;P<J+1;P++)C=u.apply(0,B.concat(P/J)),A.push({x:C.x,y:C.y,t:P/J});for(P=0;P<H;P++)for(K= | |
| 0;K<J;K++){var Q=U[P],L=U[P+1],B=A[K],C=A[K+1],N=0.001>Z(L.x-Q.x)?"y":"x",S=0.001>Z(C.x-B.x)?"y":"x",R;R=Q.x;var Y=Q.y,V=L.x,ea=L.y,fa=B.x,ga=B.y,ha=C.x,ia=C.y;if(W(R,V)<X(fa,ha)||X(R,V)>W(fa,ha)||W(Y,ea)<X(ga,ia)||X(Y,ea)>W(ga,ia))R=void 0;else{var $=(R*ea-Y*V)*(fa-ha)-(R-V)*(fa*ia-ga*ha),aa=(R*ea-Y*V)*(ga-ia)-(Y-ea)*(fa*ia-ga*ha),ja=(R-V)*(ga-ia)-(Y-ea)*(fa-ha);if(ja){var $=$/ja,aa=aa/ja,ja=+$.toFixed(2),ba=+aa.toFixed(2);R=ja<+X(R,V).toFixed(2)||ja>+W(R,V).toFixed(2)||ja<+X(fa,ha).toFixed(2)|| | |
| ja>+W(fa,ha).toFixed(2)||ba<+X(Y,ea).toFixed(2)||ba>+W(Y,ea).toFixed(2)||ba<+X(ga,ia).toFixed(2)||ba>+W(ga,ia).toFixed(2)?void 0:{x:$,y:aa}}else R=void 0}R&&F[R.x.toFixed(4)]!=R.y.toFixed(4)&&(F[R.x.toFixed(4)]=R.y.toFixed(4),Q=Q.t+Z((R[N]-Q[N])/(L[N]-Q[N]))*(L.t-Q.t),B=B.t+Z((R[S]-B[S])/(C[S]-B[S]))*(C.t-B.t),0<=Q&&1>=Q&&0<=B&&1>=B&&(z?M++:M.push({x:R.x,y:R.y,t1:Q,t2:B})))}z=M}else z=z?0:[];if(d)t+=z;else{H=0;for(J=z.length;H<J;H++)z[H].segment1=w,z[H].segment2=G,z[H].bez1=x,z[H].bez2=c;t=t.concat(z)}}}return t} | |
| function r(a){var b=A(a);if(b.bbox)return C(b.bbox);if(!a)return w();a=I(a);for(var d=0,e=0,h=[],f=[],l,n=0,k=a.length;n<k;n++)l=a[n],"M"==l[0]?(d=l[1],e=l[2],h.push(d),f.push(e)):(d=U(d,e,l[1],l[2],l[3],l[4],l[5],l[6]),h=h.concat(d.min.x,d.max.x),f=f.concat(d.min.y,d.max.y),d=l[5],e=l[6]);a=X.apply(0,h);l=X.apply(0,f);h=W.apply(0,h);f=W.apply(0,f);f=w(a,l,h-a,f-l);b.bbox=C(f);return f}function s(a,b,d,e,h){if(h)return[["M",+a+ +h,b],["l",d-2*h,0],["a",h,h,0,0,1,h,h],["l",0,e-2*h],["a",h,h,0,0,1, | |
| -h,h],["l",2*h-d,0],["a",h,h,0,0,1,-h,-h],["l",0,2*h-e],["a",h,h,0,0,1,h,-h],["z"] ];a=[["M",a,b],["l",d,0],["l",0,e],["l",-d,0],["z"] ];a.toString=z;return a}function x(a,b,d,e,h){null==h&&null==e&&(e=d);a=+a;b=+b;d=+d;e=+e;if(null!=h){var f=Math.PI/180,l=a+d*Math.cos(-e*f);a+=d*Math.cos(-h*f);var n=b+d*Math.sin(-e*f);b+=d*Math.sin(-h*f);d=[["M",l,n],["A",d,d,0,+(180<h-e),0,a,b] ]}else d=[["M",a,b],["m",0,-e],["a",d,e,0,1,1,0,2*e],["a",d,e,0,1,1,0,-2*e],["z"] ];d.toString=z;return d}function G(b){var e= | |
| A(b);if(e.abs)return d(e.abs);Q(b,"array")&&Q(b&&b[0],"array")||(b=a.parsePathString(b));if(!b||!b.length)return[["M",0,0] ];var h=[],f=0,l=0,n=0,k=0,p=0;"M"==b[0][0]&&(f=+b[0][1],l=+b[0][2],n=f,k=l,p++,h[0]=["M",f,l]);for(var q=3==b.length&&"M"==b[0][0]&&"R"==b[1][0].toUpperCase()&&"Z"==b[2][0].toUpperCase(),s,r,w=p,c=b.length;w<c;w++){h.push(s=[]);r=b[w];p=r[0];if(p!=p.toUpperCase())switch(s[0]=p.toUpperCase(),s[0]){case "A":s[1]=r[1];s[2]=r[2];s[3]=r[3];s[4]=r[4];s[5]=r[5];s[6]=+r[6]+f;s[7]=+r[7]+ | |
| l;break;case "V":s[1]=+r[1]+l;break;case "H":s[1]=+r[1]+f;break;case "R":for(var t=[f,l].concat(r.slice(1)),u=2,v=t.length;u<v;u++)t[u]=+t[u]+f,t[++u]=+t[u]+l;h.pop();h=h.concat(P(t,q));break;case "O":h.pop();t=x(f,l,r[1],r[2]);t.push(t[0]);h=h.concat(t);break;case "U":h.pop();h=h.concat(x(f,l,r[1],r[2],r[3]));s=["U"].concat(h[h.length-1].slice(-2));break;case "M":n=+r[1]+f,k=+r[2]+l;default:for(u=1,v=r.length;u<v;u++)s[u]=+r[u]+(u%2?f:l)}else if("R"==p)t=[f,l].concat(r.slice(1)),h.pop(),h=h.concat(P(t, | |
| q)),s=["R"].concat(r.slice(-2));else if("O"==p)h.pop(),t=x(f,l,r[1],r[2]),t.push(t[0]),h=h.concat(t);else if("U"==p)h.pop(),h=h.concat(x(f,l,r[1],r[2],r[3])),s=["U"].concat(h[h.length-1].slice(-2));else for(t=0,u=r.length;t<u;t++)s[t]=r[t];p=p.toUpperCase();if("O"!=p)switch(s[0]){case "Z":f=+n;l=+k;break;case "H":f=s[1];break;case "V":l=s[1];break;case "M":n=s[s.length-2],k=s[s.length-1];default:f=s[s.length-2],l=s[s.length-1]}}h.toString=z;e.abs=d(h);return h}function h(a,b,d,e){return[a,b,d,e,d, | |
| e]}function J(a,b,d,e,h,f){var l=1/3,n=2/3;return[l*a+n*d,l*b+n*e,l*h+n*d,l*f+n*e,h,f]}function K(b,d,e,h,f,l,n,k,p,s){var r=120*S/180,q=S/180*(+f||0),c=[],t,x=a._.cacher(function(a,b,c){var d=a*F.cos(c)-b*F.sin(c);a=a*F.sin(c)+b*F.cos(c);return{x:d,y:a}});if(s)v=s[0],t=s[1],l=s[2],u=s[3];else{t=x(b,d,-q);b=t.x;d=t.y;t=x(k,p,-q);k=t.x;p=t.y;F.cos(S/180*f);F.sin(S/180*f);t=(b-k)/2;v=(d-p)/2;u=t*t/(e*e)+v*v/(h*h);1<u&&(u=F.sqrt(u),e*=u,h*=u);var u=e*e,w=h*h,u=(l==n?-1:1)*F.sqrt(Z((u*w-u*v*v-w*t*t)/ | |
| (u*v*v+w*t*t)));l=u*e*v/h+(b+k)/2;var u=u*-h*t/e+(d+p)/2,v=F.asin(((d-u)/h).toFixed(9));t=F.asin(((p-u)/h).toFixed(9));v=b<l?S-v:v;t=k<l?S-t:t;0>v&&(v=2*S+v);0>t&&(t=2*S+t);n&&v>t&&(v-=2*S);!n&&t>v&&(t-=2*S)}if(Z(t-v)>r){var c=t,w=k,G=p;t=v+r*(n&&t>v?1:-1);k=l+e*F.cos(t);p=u+h*F.sin(t);c=K(k,p,e,h,f,0,n,w,G,[t,c,l,u])}l=t-v;f=F.cos(v);r=F.sin(v);n=F.cos(t);t=F.sin(t);l=F.tan(l/4);e=4/3*e*l;l*=4/3*h;h=[b,d];b=[b+e*r,d-l*f];d=[k+e*t,p-l*n];k=[k,p];b[0]=2*h[0]-b[0];b[1]=2*h[1]-b[1];if(s)return[b,d,k].concat(c); | |
| c=[b,d,k].concat(c).join().split(",");s=[];k=0;for(p=c.length;k<p;k++)s[k]=k%2?x(c[k-1],c[k],q).y:x(c[k],c[k+1],q).x;return s}function U(a,b,d,e,h,f,l,k){for(var n=[],p=[[],[] ],s,r,c,t,q=0;2>q;++q)0==q?(r=6*a-12*d+6*h,s=-3*a+9*d-9*h+3*l,c=3*d-3*a):(r=6*b-12*e+6*f,s=-3*b+9*e-9*f+3*k,c=3*e-3*b),1E-12>Z(s)?1E-12>Z(r)||(s=-c/r,0<s&&1>s&&n.push(s)):(t=r*r-4*c*s,c=F.sqrt(t),0>t||(t=(-r+c)/(2*s),0<t&&1>t&&n.push(t),s=(-r-c)/(2*s),0<s&&1>s&&n.push(s)));for(r=q=n.length;q--;)s=n[q],c=1-s,p[0][q]=c*c*c*a+3* | |
| c*c*s*d+3*c*s*s*h+s*s*s*l,p[1][q]=c*c*c*b+3*c*c*s*e+3*c*s*s*f+s*s*s*k;p[0][r]=a;p[1][r]=b;p[0][r+1]=l;p[1][r+1]=k;p[0].length=p[1].length=r+2;return{min:{x:X.apply(0,p[0]),y:X.apply(0,p[1])},max:{x:W.apply(0,p[0]),y:W.apply(0,p[1])}}}function I(a,b){var e=!b&&A(a);if(!b&&e.curve)return d(e.curve);var f=G(a),l=b&&G(b),n={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},k={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},p=function(a,b,c){if(!a)return["C",b.x,b.y,b.x,b.y,b.x,b.y];a[0]in{T:1,Q:1}||(b.qx=b.qy=null); | |
| switch(a[0]){case "M":b.X=a[1];b.Y=a[2];break;case "A":a=["C"].concat(K.apply(0,[b.x,b.y].concat(a.slice(1))));break;case "S":"C"==c||"S"==c?(c=2*b.x-b.bx,b=2*b.y-b.by):(c=b.x,b=b.y);a=["C",c,b].concat(a.slice(1));break;case "T":"Q"==c||"T"==c?(b.qx=2*b.x-b.qx,b.qy=2*b.y-b.qy):(b.qx=b.x,b.qy=b.y);a=["C"].concat(J(b.x,b.y,b.qx,b.qy,a[1],a[2]));break;case "Q":b.qx=a[1];b.qy=a[2];a=["C"].concat(J(b.x,b.y,a[1],a[2],a[3],a[4]));break;case "L":a=["C"].concat(h(b.x,b.y,a[1],a[2]));break;case "H":a=["C"].concat(h(b.x, | |
| b.y,a[1],b.y));break;case "V":a=["C"].concat(h(b.x,b.y,b.x,a[1]));break;case "Z":a=["C"].concat(h(b.x,b.y,b.X,b.Y))}return a},s=function(a,b){if(7<a[b].length){a[b].shift();for(var c=a[b];c.length;)q[b]="A",l&&(u[b]="A"),a.splice(b++,0,["C"].concat(c.splice(0,6)));a.splice(b,1);v=W(f.length,l&&l.length||0)}},r=function(a,b,c,d,e){a&&b&&"M"==a[e][0]&&"M"!=b[e][0]&&(b.splice(e,0,["M",d.x,d.y]),c.bx=0,c.by=0,c.x=a[e][1],c.y=a[e][2],v=W(f.length,l&&l.length||0))},q=[],u=[],c="",t="",x=0,v=W(f.length, | |
| l&&l.length||0);for(;x<v;x++){f[x]&&(c=f[x][0]);"C"!=c&&(q[x]=c,x&&(t=q[x-1]));f[x]=p(f[x],n,t);"A"!=q[x]&&"C"==c&&(q[x]="C");s(f,x);l&&(l[x]&&(c=l[x][0]),"C"!=c&&(u[x]=c,x&&(t=u[x-1])),l[x]=p(l[x],k,t),"A"!=u[x]&&"C"==c&&(u[x]="C"),s(l,x));r(f,l,n,k,x);r(l,f,k,n,x);var w=f[x],z=l&&l[x],y=w.length,U=l&&z.length;n.x=w[y-2];n.y=w[y-1];n.bx=$(w[y-4])||n.x;n.by=$(w[y-3])||n.y;k.bx=l&&($(z[U-4])||k.x);k.by=l&&($(z[U-3])||k.y);k.x=l&&z[U-2];k.y=l&&z[U-1]}l||(e.curve=d(f));return l?[f,l]:f}function P(a, | |
| b){for(var d=[],e=0,h=a.length;h-2*!b>e;e+=2){var f=[{x:+a[e-2],y:+a[e-1]},{x:+a[e],y:+a[e+1]},{x:+a[e+2],y:+a[e+3]},{x:+a[e+4],y:+a[e+5]}];b?e?h-4==e?f[3]={x:+a[0],y:+a[1]}:h-2==e&&(f[2]={x:+a[0],y:+a[1]},f[3]={x:+a[2],y:+a[3]}):f[0]={x:+a[h-2],y:+a[h-1]}:h-4==e?f[3]=f[2]:e||(f[0]={x:+a[e],y:+a[e+1]});d.push(["C",(-f[0].x+6*f[1].x+f[2].x)/6,(-f[0].y+6*f[1].y+f[2].y)/6,(f[1].x+6*f[2].x-f[3].x)/6,(f[1].y+6*f[2].y-f[3].y)/6,f[2].x,f[2].y])}return d}y=k.prototype;var Q=a.is,C=a._.clone,L="hasOwnProperty", | |
| N=/,?([a-z]),?/gi,$=parseFloat,F=Math,S=F.PI,X=F.min,W=F.max,ma=F.pow,Z=F.abs;M=n(1);var na=n(),ba=n(0,1),V=a._unit2px;a.path=A;a.path.getTotalLength=M;a.path.getPointAtLength=na;a.path.getSubpath=function(a,b,d){if(1E-6>this.getTotalLength(a)-d)return ba(a,b).end;a=ba(a,d,1);return b?ba(a,b).end:a};y.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()};y.getPointAtLength=function(a){return na(this.attr("d"),a)};y.getSubpath=function(b,d){return a.path.getSubpath(this.attr("d"), | |
| b,d)};a._.box=w;a.path.findDotsAtSegment=u;a.path.bezierBBox=p;a.path.isPointInsideBBox=b;a.path.isBBoxIntersect=q;a.path.intersection=function(a,b){return l(a,b)};a.path.intersectionNumber=function(a,b){return l(a,b,1)};a.path.isPointInside=function(a,d,e){var h=r(a);return b(h,d,e)&&1==l(a,[["M",d,e],["H",h.x2+10] ],1)%2};a.path.getBBox=r;a.path.get={path:function(a){return a.attr("path")},circle:function(a){a=V(a);return x(a.cx,a.cy,a.r)},ellipse:function(a){a=V(a);return x(a.cx||0,a.cy||0,a.rx, | |
| a.ry)},rect:function(a){a=V(a);return s(a.x||0,a.y||0,a.width,a.height,a.rx,a.ry)},image:function(a){a=V(a);return s(a.x||0,a.y||0,a.width,a.height)},line:function(a){return"M"+[a.attr("x1")||0,a.attr("y1")||0,a.attr("x2"),a.attr("y2")]},polyline:function(a){return"M"+a.attr("points")},polygon:function(a){return"M"+a.attr("points")+"z"},deflt:function(a){a=a.node.getBBox();return s(a.x,a.y,a.width,a.height)}};a.path.toRelative=function(b){var e=A(b),h=String.prototype.toLowerCase;if(e.rel)return d(e.rel); | |
| a.is(b,"array")&&a.is(b&&b[0],"array")||(b=a.parsePathString(b));var f=[],l=0,n=0,k=0,p=0,s=0;"M"==b[0][0]&&(l=b[0][1],n=b[0][2],k=l,p=n,s++,f.push(["M",l,n]));for(var r=b.length;s<r;s++){var q=f[s]=[],x=b[s];if(x[0]!=h.call(x[0]))switch(q[0]=h.call(x[0]),q[0]){case "a":q[1]=x[1];q[2]=x[2];q[3]=x[3];q[4]=x[4];q[5]=x[5];q[6]=+(x[6]-l).toFixed(3);q[7]=+(x[7]-n).toFixed(3);break;case "v":q[1]=+(x[1]-n).toFixed(3);break;case "m":k=x[1],p=x[2];default:for(var c=1,t=x.length;c<t;c++)q[c]=+(x[c]-(c%2?l: | |
| n)).toFixed(3)}else for(f[s]=[],"m"==x[0]&&(k=x[1]+l,p=x[2]+n),q=0,c=x.length;q<c;q++)f[s][q]=x[q];x=f[s].length;switch(f[s][0]){case "z":l=k;n=p;break;case "h":l+=+f[s][x-1];break;case "v":n+=+f[s][x-1];break;default:l+=+f[s][x-2],n+=+f[s][x-1]}}f.toString=z;e.rel=d(f);return f};a.path.toAbsolute=G;a.path.toCubic=I;a.path.map=function(a,b){if(!b)return a;var d,e,h,f,l,n,k;a=I(a);h=0;for(l=a.length;h<l;h++)for(k=a[h],f=1,n=k.length;f<n;f+=2)d=b.x(k[f],k[f+1]),e=b.y(k[f],k[f+1]),k[f]=d,k[f+1]=e;return a}; | |
| a.path.toString=z;a.path.clone=d});C.plugin(function(a,v,y,C){var A=Math.max,w=Math.min,z=function(a){this.items=[];this.bindings={};this.length=0;this.type="set";if(a)for(var f=0,n=a.length;f<n;f++)a[f]&&(this[this.items.length]=this.items[this.items.length]=a[f],this.length++)};v=z.prototype;v.push=function(){for(var a,f,n=0,k=arguments.length;n<k;n++)if(a=arguments[n])f=this.items.length,this[f]=this.items[f]=a,this.length++;return this};v.pop=function(){this.length&&delete this[this.length--]; | |
| return this.items.pop()};v.forEach=function(a,f){for(var n=0,k=this.items.length;n<k&&!1!==a.call(f,this.items[n],n);n++);return this};v.animate=function(d,f,n,u){"function"!=typeof n||n.length||(u=n,n=L.linear);d instanceof a._.Animation&&(u=d.callback,n=d.easing,f=n.dur,d=d.attr);var p=arguments;if(a.is(d,"array")&&a.is(p[p.length-1],"array"))var b=!0;var q,e=function(){q?this.b=q:q=this.b},l=0,r=u&&function(){l++==this.length&&u.call(this)};return this.forEach(function(a,l){k.once("snap.animcreated."+ | |
| a.id,e);b?p[l]&&a.animate.apply(a,p[l]):a.animate(d,f,n,r)})};v.remove=function(){for(;this.length;)this.pop().remove();return this};v.bind=function(a,f,k){var u={};if("function"==typeof f)this.bindings[a]=f;else{var p=k||a;this.bindings[a]=function(a){u[p]=a;f.attr(u)}}return this};v.attr=function(a){var f={},k;for(k in a)if(this.bindings[k])this.bindings[k](a[k]);else f[k]=a[k];a=0;for(k=this.items.length;a<k;a++)this.items[a].attr(f);return this};v.clear=function(){for(;this.length;)this.pop()}; | |
| v.splice=function(a,f,k){a=0>a?A(this.length+a,0):a;f=A(0,w(this.length-a,f));var u=[],p=[],b=[],q;for(q=2;q<arguments.length;q++)b.push(arguments[q]);for(q=0;q<f;q++)p.push(this[a+q]);for(;q<this.length-a;q++)u.push(this[a+q]);var e=b.length;for(q=0;q<e+u.length;q++)this.items[a+q]=this[a+q]=q<e?b[q]:u[q-e];for(q=this.items.length=this.length-=f-e;this[q];)delete this[q++];return new z(p)};v.exclude=function(a){for(var f=0,k=this.length;f<k;f++)if(this[f]==a)return this.splice(f,1),!0;return!1}; | |
| v.insertAfter=function(a){for(var f=this.items.length;f--;)this.items[f].insertAfter(a);return this};v.getBBox=function(){for(var a=[],f=[],k=[],u=[],p=this.items.length;p--;)if(!this.items[p].removed){var b=this.items[p].getBBox();a.push(b.x);f.push(b.y);k.push(b.x+b.width);u.push(b.y+b.height)}a=w.apply(0,a);f=w.apply(0,f);k=A.apply(0,k);u=A.apply(0,u);return{x:a,y:f,x2:k,y2:u,width:k-a,height:u-f,cx:a+(k-a)/2,cy:f+(u-f)/2}};v.clone=function(a){a=new z;for(var f=0,k=this.items.length;f<k;f++)a.push(this.items[f].clone()); | |
| return a};v.toString=function(){return"Snap\u2018s set"};v.type="set";a.set=function(){var a=new z;arguments.length&&a.push.apply(a,Array.prototype.slice.call(arguments,0));return a}});C.plugin(function(a,v,y,C){function A(a){var b=a[0];switch(b.toLowerCase()){case "t":return[b,0,0];case "m":return[b,1,0,0,1,0,0];case "r":return 4==a.length?[b,0,a[2],a[3] ]:[b,0];case "s":return 5==a.length?[b,1,1,a[3],a[4] ]:3==a.length?[b,1,1]:[b,1]}}function w(b,d,f){d=q(d).replace(/\.{3}|\u2026/g,b);b=a.parseTransformString(b)|| | |
| [];d=a.parseTransformString(d)||[];for(var k=Math.max(b.length,d.length),p=[],v=[],h=0,w,z,y,I;h<k;h++){y=b[h]||A(d[h]);I=d[h]||A(y);if(y[0]!=I[0]||"r"==y[0].toLowerCase()&&(y[2]!=I[2]||y[3]!=I[3])||"s"==y[0].toLowerCase()&&(y[3]!=I[3]||y[4]!=I[4])){b=a._.transform2matrix(b,f());d=a._.transform2matrix(d,f());p=[["m",b.a,b.b,b.c,b.d,b.e,b.f] ];v=[["m",d.a,d.b,d.c,d.d,d.e,d.f] ];break}p[h]=[];v[h]=[];w=0;for(z=Math.max(y.length,I.length);w<z;w++)w in y&&(p[h][w]=y[w]),w in I&&(v[h][w]=I[w])}return{from:u(p), | |
| to:u(v),f:n(p)}}function z(a){return a}function d(a){return function(b){return+b.toFixed(3)+a}}function f(b){return a.rgb(b[0],b[1],b[2])}function n(a){var b=0,d,f,k,n,h,p,q=[];d=0;for(f=a.length;d<f;d++){h="[";p=['"'+a[d][0]+'"'];k=1;for(n=a[d].length;k<n;k++)p[k]="val["+b++ +"]";h+=p+"]";q[d]=h}return Function("val","return Snap.path.toString.call(["+q+"])")}function u(a){for(var b=[],d=0,f=a.length;d<f;d++)for(var k=1,n=a[d].length;k<n;k++)b.push(a[d][k]);return b}var p={},b=/[a-z]+$/i,q=String; | |
| p.stroke=p.fill="colour";v.prototype.equal=function(a,b){return k("snap.util.equal",this,a,b).firstDefined()};k.on("snap.util.equal",function(e,k){var r,s;r=q(this.attr(e)||"");var x=this;if(r==+r&&k==+k)return{from:+r,to:+k,f:z};if("colour"==p[e])return r=a.color(r),s=a.color(k),{from:[r.r,r.g,r.b,r.opacity],to:[s.r,s.g,s.b,s.opacity],f:f};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return k instanceof a.Matrix&&(k=k.toTransformString()),a._.rgTransform.test(k)||(k=a._.svgTransform2string(k)), | |
| w(r,k,function(){return x.getBBox(1)});if("d"==e||"path"==e)return r=a.path.toCubic(r,k),{from:u(r[0]),to:u(r[1]),f:n(r[0])};if("points"==e)return r=q(r).split(a._.separator),s=q(k).split(a._.separator),{from:r,to:s,f:function(a){return a}};aUnit=r.match(b);s=q(k).match(b);return aUnit&&aUnit==s?{from:parseFloat(r),to:parseFloat(k),f:d(aUnit)}:{from:this.asPX(e),to:this.asPX(e,k),f:z}})});C.plugin(function(a,v,y,C){var A=v.prototype,w="createTouch"in C.doc;v="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel".split(" "); | |
| var z={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},d=function(a,b){var d="y"==a?"scrollTop":"scrollLeft",e=b&&b.node?b.node.ownerDocument:C.doc;return e[d in e.documentElement?"documentElement":"body"][d]},f=function(){this.returnValue=!1},n=function(){return this.originalEvent.preventDefault()},u=function(){this.cancelBubble=!0},p=function(){return this.originalEvent.stopPropagation()},b=function(){if(C.doc.addEventListener)return function(a,b,e,f){var k=w&&z[b]?z[b]:b,l=function(k){var l= | |
| d("y",f),q=d("x",f);if(w&&z.hasOwnProperty(b))for(var r=0,u=k.targetTouches&&k.targetTouches.length;r<u;r++)if(k.targetTouches[r].target==a||a.contains(k.targetTouches[r].target)){u=k;k=k.targetTouches[r];k.originalEvent=u;k.preventDefault=n;k.stopPropagation=p;break}return e.call(f,k,k.clientX+q,k.clientY+l)};b!==k&&a.addEventListener(b,l,!1);a.addEventListener(k,l,!1);return function(){b!==k&&a.removeEventListener(b,l,!1);a.removeEventListener(k,l,!1);return!0}};if(C.doc.attachEvent)return function(a, | |
| b,e,h){var k=function(a){a=a||h.node.ownerDocument.window.event;var b=d("y",h),k=d("x",h),k=a.clientX+k,b=a.clientY+b;a.preventDefault=a.preventDefault||f;a.stopPropagation=a.stopPropagation||u;return e.call(h,a,k,b)};a.attachEvent("on"+b,k);return function(){a.detachEvent("on"+b,k);return!0}}}(),q=[],e=function(a){for(var b=a.clientX,e=a.clientY,f=d("y"),l=d("x"),n,p=q.length;p--;){n=q[p];if(w)for(var r=a.touches&&a.touches.length,u;r--;){if(u=a.touches[r],u.identifier==n.el._drag.id||n.el.node.contains(u.target)){b= | |
| u.clientX;e=u.clientY;(a.originalEvent?a.originalEvent:a).preventDefault();break}}else a.preventDefault();b+=l;e+=f;k("snap.drag.move."+n.el.id,n.move_scope||n.el,b-n.el._drag.x,e-n.el._drag.y,b,e,a)}},l=function(b){a.unmousemove(e).unmouseup(l);for(var d=q.length,f;d--;)f=q[d],f.el._drag={},k("snap.drag.end."+f.el.id,f.end_scope||f.start_scope||f.move_scope||f.el,b);q=[]};for(y=v.length;y--;)(function(d){a[d]=A[d]=function(e,f){a.is(e,"function")&&(this.events=this.events||[],this.events.push({name:d, | |
| f:e,unbind:b(this.node||document,d,e,f||this)}));return this};a["un"+d]=A["un"+d]=function(a){for(var b=this.events||[],e=b.length;e--;)if(b[e].name==d&&(b[e].f==a||!a)){b[e].unbind();b.splice(e,1);!b.length&&delete this.events;break}return this}})(v[y]);A.hover=function(a,b,d,e){return this.mouseover(a,d).mouseout(b,e||d)};A.unhover=function(a,b){return this.unmouseover(a).unmouseout(b)};var r=[];A.drag=function(b,d,f,h,n,p){function u(r,v,w){(r.originalEvent||r).preventDefault();this._drag.x=v; | |
| this._drag.y=w;this._drag.id=r.identifier;!q.length&&a.mousemove(e).mouseup(l);q.push({el:this,move_scope:h,start_scope:n,end_scope:p});d&&k.on("snap.drag.start."+this.id,d);b&&k.on("snap.drag.move."+this.id,b);f&&k.on("snap.drag.end."+this.id,f);k("snap.drag.start."+this.id,n||h||this,v,w,r)}if(!arguments.length){var v;return this.drag(function(a,b){this.attr({transform:v+(v?"T":"t")+[a,b]})},function(){v=this.transform().local})}this._drag={};r.push({el:this,start:u});this.mousedown(u);return this}; | |
| A.undrag=function(){for(var b=r.length;b--;)r[b].el==this&&(this.unmousedown(r[b].start),r.splice(b,1),k.unbind("snap.drag.*."+this.id));!r.length&&a.unmousemove(e).unmouseup(l);return this}});C.plugin(function(a,v,y,C){y=y.prototype;var A=/^\s*url\((.+)\)/,w=String,z=a._.$;a.filter={};y.filter=function(d){var f=this;"svg"!=f.type&&(f=f.paper);d=a.parse(w(d));var k=a._.id(),u=z("filter");z(u,{id:k,filterUnits:"userSpaceOnUse"});u.appendChild(d.node);f.defs.appendChild(u);return new v(u)};k.on("snap.util.getattr.filter", | |
| function(){k.stop();var d=z(this.node,"filter");if(d)return(d=w(d).match(A))&&a.select(d[1])});k.on("snap.util.attr.filter",function(d){if(d instanceof v&&"filter"==d.type){k.stop();var f=d.node.id;f||(z(d.node,{id:d.id}),f=d.id);z(this.node,{filter:a.url(f)})}d&&"none"!=d||(k.stop(),this.node.removeAttribute("filter"))});a.filter.blur=function(d,f){null==d&&(d=2);return a.format('<feGaussianBlur stdDeviation="{def}"/>',{def:null==f?d:[d,f]})};a.filter.blur.toString=function(){return this()};a.filter.shadow= | |
| function(d,f,k,u,p){"string"==typeof k&&(p=u=k,k=4);"string"!=typeof u&&(p=u,u="#000");null==k&&(k=4);null==p&&(p=1);null==d&&(d=0,f=2);null==f&&(f=d);u=a.color(u||"#000");return a.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>', | |
| {color:u,dx:d,dy:f,blur:k,opacity:p})};a.filter.shadow.toString=function(){return this()};a.filter.grayscale=function(d){null==d&&(d=1);return a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:0.2126+0.7874*(1-d),b:0.7152-0.7152*(1-d),c:0.0722-0.0722*(1-d),d:0.2126-0.2126*(1-d),e:0.7152+0.2848*(1-d),f:0.0722-0.0722*(1-d),g:0.2126-0.2126*(1-d),h:0.0722+0.9278*(1-d)})};a.filter.grayscale.toString=function(){return this()};a.filter.sepia= | |
| function(d){null==d&&(d=1);return a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:0.393+0.607*(1-d),b:0.769-0.769*(1-d),c:0.189-0.189*(1-d),d:0.349-0.349*(1-d),e:0.686+0.314*(1-d),f:0.168-0.168*(1-d),g:0.272-0.272*(1-d),h:0.534-0.534*(1-d),i:0.131+0.869*(1-d)})};a.filter.sepia.toString=function(){return this()};a.filter.saturate=function(d){null==d&&(d=1);return a.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1- | |
| d})};a.filter.saturate.toString=function(){return this()};a.filter.hueRotate=function(d){return a.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:d||0})};a.filter.hueRotate.toString=function(){return this()};a.filter.invert=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:d, | |
| amount2:1-d})};a.filter.invert.toString=function(){return this()};a.filter.brightness=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:d})};a.filter.brightness.toString=function(){return this()};a.filter.contrast=function(d){null==d&&(d=1);return a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>', | |
| {amount:d,amount2:0.5-d/2})};a.filter.contrast.toString=function(){return this()}});return C}); | |
| ]]> </script> | |
| <script> <![CDATA[ | |
| (function (glob, factory) { | |
| // AMD support | |
| if (typeof define === "function" && define.amd) { | |
| // Define as an anonymous module | |
| define("Gadfly", ["Snap.svg"], function (Snap) { | |
| return factory(Snap); | |
| }); | |
| } else { | |
| // Browser globals (glob is window) | |
| // Snap adds itself to window | |
| glob.Gadfly = factory(glob.Snap); | |
| } | |
| }(this, function (Snap) { | |
| var Gadfly = {}; | |
| // Get an x/y coordinate value in pixels | |
| var xPX = function(fig, x) { | |
| var client_box = fig.node.getBoundingClientRect(); | |
| return x * fig.node.viewBox.baseVal.width / client_box.width; | |
| }; | |
| var yPX = function(fig, y) { | |
| var client_box = fig.node.getBoundingClientRect(); | |
| return y * fig.node.viewBox.baseVal.height / client_box.height; | |
| }; | |
| Snap.plugin(function (Snap, Element, Paper, global) { | |
| // Traverse upwards from a snap element to find and return the first | |
| // note with the "plotroot" class. | |
| Element.prototype.plotroot = function () { | |
| var element = this; | |
| while (!element.hasClass("plotroot") && element.parent() != null) { | |
| element = element.parent(); | |
| } | |
| return element; | |
| }; | |
| Element.prototype.svgroot = function () { | |
| var element = this; | |
| while (element.node.nodeName != "svg" && element.parent() != null) { | |
| element = element.parent(); | |
| } | |
| return element; | |
| }; | |
| Element.prototype.plotbounds = function () { | |
| var root = this.plotroot() | |
| var bbox = root.select(".guide.background").node.getBBox(); | |
| return { | |
| x0: bbox.x, | |
| x1: bbox.x + bbox.width, | |
| y0: bbox.y, | |
| y1: bbox.y + bbox.height | |
| }; | |
| }; | |
| Element.prototype.plotcenter = function () { | |
| var root = this.plotroot() | |
| var bbox = root.select(".guide.background").node.getBBox(); | |
| return { | |
| x: bbox.x + bbox.width / 2, | |
| y: bbox.y + bbox.height / 2 | |
| }; | |
| }; | |
| // Emulate IE style mouseenter/mouseleave events, since Microsoft always | |
| // does everything right. | |
| // See: http://www.dynamic-tools.net/toolbox/isMouseLeaveOrEnter/ | |
| var events = ["mouseenter", "mouseleave"]; | |
| for (i in events) { | |
| (function (event_name) { | |
| var event_name = events[i]; | |
| Element.prototype[event_name] = function (fn, scope) { | |
| if (Snap.is(fn, "function")) { | |
| var fn2 = function (event) { | |
| if (event.type != "mouseover" && event.type != "mouseout") { | |
| return; | |
| } | |
| var reltg = event.relatedTarget ? event.relatedTarget : | |
| event.type == "mouseout" ? event.toElement : event.fromElement; | |
| while (reltg && reltg != this.node) reltg = reltg.parentNode; | |
| if (reltg != this.node) { | |
| return fn.apply(this, event); | |
| } | |
| }; | |
| if (event_name == "mouseenter") { | |
| this.mouseover(fn2, scope); | |
| } else { | |
| this.mouseout(fn2, scope); | |
| } | |
| } | |
| return this; | |
| }; | |
| })(events[i]); | |
| } | |
| Element.prototype.mousewheel = function (fn, scope) { | |
| if (Snap.is(fn, "function")) { | |
| var el = this; | |
| var fn2 = function (event) { | |
| fn.apply(el, [event]); | |
| }; | |
| } | |
| this.node.addEventListener( | |
| /Firefox/i.test(navigator.userAgent) ? "DOMMouseScroll" : "mousewheel", | |
| fn2); | |
| return this; | |
| }; | |
| // Snap's attr function can be too slow for things like panning/zooming. | |
| // This is a function to directly update element attributes without going | |
| // through eve. | |
| Element.prototype.attribute = function(key, val) { | |
| if (val === undefined) { | |
| return this.node.getAttribute(key, val); | |
| } else { | |
| return this.node.setAttribute(key, val); | |
| } | |
| }; | |
| }); | |
| // When the plot is moused over, emphasize the grid lines. | |
| Gadfly.plot_mouseover = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var xgridlines = root.select(".xgridlines"), | |
| ygridlines = root.select(".ygridlines"); | |
| xgridlines.data("unfocused_strokedash", | |
| xgridlines.attr("stroke-dasharray").replace(/px/g, "mm")) | |
| ygridlines.data("unfocused_strokedash", | |
| ygridlines.attr("stroke-dasharray").replace(/px/g, "mm")) | |
| // emphasize grid lines | |
| var destcolor = root.data("focused_xgrid_color"); | |
| xgridlines.attr("stroke-dasharray", "none") | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| destcolor = root.data("focused_ygrid_color"); | |
| ygridlines.attr("stroke-dasharray", "none") | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| // reveal zoom slider | |
| root.select(".zoomslider") | |
| .animate({opacity: 1.0}, 250); | |
| }; | |
| // Unemphasize grid lines on mouse out. | |
| Gadfly.plot_mouseout = function(event) { | |
| var root = this.plotroot(); | |
| var xgridlines = root.select(".xgridlines"), | |
| ygridlines = root.select(".ygridlines"); | |
| var destcolor = root.data("unfocused_xgrid_color"); | |
| xgridlines.attr("stroke-dasharray", xgridlines.data("unfocused_strokedash")) | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| destcolor = root.data("unfocused_ygrid_color"); | |
| ygridlines.attr("stroke-dasharray", ygridlines.data("unfocused_strokedash")) | |
| .selectAll("path") | |
| .animate({stroke: destcolor}, 250); | |
| // hide zoom slider | |
| root.select(".zoomslider") | |
| .animate({opacity: 0.0}, 250); | |
| }; | |
| var set_geometry_transform = function(root, tx, ty, scale) { | |
| var xscalable = root.hasClass("xscalable"), | |
| yscalable = root.hasClass("yscalable"); | |
| var old_scale = root.data("scale"); | |
| var xscale = xscalable ? scale : 1.0, | |
| yscale = yscalable ? scale : 1.0; | |
| tx = xscalable ? tx : 0.0; | |
| ty = yscalable ? ty : 0.0; | |
| var t = new Snap.Matrix().translate(tx, ty).scale(xscale, yscale); | |
| root.selectAll(".geometry, image") | |
| .forEach(function (element, i) { | |
| element.transform(t); | |
| }); | |
| bounds = root.plotbounds(); | |
| if (yscalable) { | |
| var xfixed_t = new Snap.Matrix().translate(0, ty).scale(1.0, yscale); | |
| root.selectAll(".xfixed") | |
| .forEach(function (element, i) { | |
| element.transform(xfixed_t); | |
| }); | |
| root.select(".ylabels") | |
| .transform(xfixed_t) | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var cx = element.asPX("x"), | |
| cy = element.asPX("y"); | |
| var st = element.data("static_transform"); | |
| unscale_t = new Snap.Matrix(); | |
| unscale_t.scale(1, 1/scale, cx, cy).add(st); | |
| element.transform(unscale_t); | |
| var y = cy * scale + ty; | |
| element.attr("visibility", | |
| bounds.y0 <= y && y <= bounds.y1 ? "visible" : "hidden"); | |
| } | |
| }); | |
| } | |
| if (xscalable) { | |
| var yfixed_t = new Snap.Matrix().translate(tx, 0).scale(xscale, 1.0); | |
| var xtrans = new Snap.Matrix().translate(tx, 0); | |
| root.selectAll(".yfixed") | |
| .forEach(function (element, i) { | |
| element.transform(yfixed_t); | |
| }); | |
| root.select(".xlabels") | |
| .transform(yfixed_t) | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var cx = element.asPX("x"), | |
| cy = element.asPX("y"); | |
| var st = element.data("static_transform"); | |
| unscale_t = new Snap.Matrix(); | |
| unscale_t.scale(1/scale, 1, cx, cy).add(st); | |
| element.transform(unscale_t); | |
| var x = cx * scale + tx; | |
| element.attr("visibility", | |
| bounds.x0 <= x && x <= bounds.x1 ? "visible" : "hidden"); | |
| } | |
| }); | |
| } | |
| // we must unscale anything that is scale invariance: widths, raiduses, etc. | |
| var size_attribs = ["font-size"]; | |
| var unscaled_selection = ".geometry, .geometry *"; | |
| if (xscalable) { | |
| size_attribs.push("rx"); | |
| unscaled_selection += ", .xgridlines"; | |
| } | |
| if (yscalable) { | |
| size_attribs.push("ry"); | |
| unscaled_selection += ", .ygridlines"; | |
| } | |
| root.selectAll(unscaled_selection) | |
| .forEach(function (element, i) { | |
| // circle need special help | |
| if (element.node.nodeName == "circle") { | |
| var cx = element.attribute("cx"), | |
| cy = element.attribute("cy"); | |
| unscale_t = new Snap.Matrix().scale(1/xscale, 1/yscale, | |
| cx, cy); | |
| element.transform(unscale_t); | |
| return; | |
| } | |
| for (i in size_attribs) { | |
| var key = size_attribs[i]; | |
| var val = parseFloat(element.attribute(key)); | |
| if (val !== undefined && val != 0 && !isNaN(val)) { | |
| element.attribute(key, val * old_scale / scale); | |
| } | |
| } | |
| }); | |
| }; | |
| // Find the most appropriate tick scale and update label visibility. | |
| var update_tickscale = function(root, scale, axis) { | |
| if (!root.hasClass(axis + "scalable")) return; | |
| var tickscales = root.data(axis + "tickscales"); | |
| var best_tickscale = 1.0; | |
| var best_tickscale_dist = Infinity; | |
| for (tickscale in tickscales) { | |
| var dist = Math.abs(Math.log(tickscale) - Math.log(scale)); | |
| if (dist < best_tickscale_dist) { | |
| best_tickscale_dist = dist; | |
| best_tickscale = tickscale; | |
| } | |
| } | |
| if (best_tickscale != root.data(axis + "tickscale")) { | |
| root.data(axis + "tickscale", best_tickscale); | |
| var mark_inscale_gridlines = function (element, i) { | |
| var inscale = element.attr("gadfly:scale") == best_tickscale; | |
| element.attribute("gadfly:inscale", inscale); | |
| element.attr("visibility", inscale ? "visible" : "hidden"); | |
| }; | |
| var mark_inscale_labels = function (element, i) { | |
| var inscale = element.attr("gadfly:scale") == best_tickscale; | |
| element.attribute("gadfly:inscale", inscale); | |
| element.attr("visibility", inscale ? "visible" : "hidden"); | |
| }; | |
| root.select("." + axis + "gridlines").selectAll("path").forEach(mark_inscale_gridlines); | |
| root.select("." + axis + "labels").selectAll("text").forEach(mark_inscale_labels); | |
| } | |
| }; | |
| var set_plot_pan_zoom = function(root, tx, ty, scale) { | |
| var old_scale = root.data("scale"); | |
| var bounds = root.plotbounds(); | |
| var width = bounds.x1 - bounds.x0, | |
| height = bounds.y1 - bounds.y0; | |
| // compute the viewport derived from tx, ty, and scale | |
| var x_min = -width * scale - (scale * width - width), | |
| x_max = width * scale, | |
| y_min = -height * scale - (scale * height - height), | |
| y_max = height * scale; | |
| var x0 = bounds.x0 - scale * bounds.x0, | |
| y0 = bounds.y0 - scale * bounds.y0; | |
| var tx = Math.max(Math.min(tx - x0, x_max), x_min), | |
| ty = Math.max(Math.min(ty - y0, y_max), y_min); | |
| tx += x0; | |
| ty += y0; | |
| // when the scale change, we may need to alter which set of | |
| // ticks is being displayed | |
| if (scale != old_scale) { | |
| update_tickscale(root, scale, "x"); | |
| update_tickscale(root, scale, "y"); | |
| } | |
| set_geometry_transform(root, tx, ty, scale); | |
| root.data("scale", scale); | |
| root.data("tx", tx); | |
| root.data("ty", ty); | |
| }; | |
| var scale_centered_translation = function(root, scale) { | |
| var bounds = root.plotbounds(); | |
| var width = bounds.x1 - bounds.x0, | |
| height = bounds.y1 - bounds.y0; | |
| var tx0 = root.data("tx"), | |
| ty0 = root.data("ty"); | |
| var scale0 = root.data("scale"); | |
| // how off from center the current view is | |
| var xoff = tx0 - (bounds.x0 * (1 - scale0) + (width * (1 - scale0)) / 2), | |
| yoff = ty0 - (bounds.y0 * (1 - scale0) + (height * (1 - scale0)) / 2); | |
| // rescale offsets | |
| xoff = xoff * scale / scale0; | |
| yoff = yoff * scale / scale0; | |
| // adjust for the panel position being scaled | |
| var x_edge_adjust = bounds.x0 * (1 - scale), | |
| y_edge_adjust = bounds.y0 * (1 - scale); | |
| return { | |
| x: xoff + x_edge_adjust + (width - width * scale) / 2, | |
| y: yoff + y_edge_adjust + (height - height * scale) / 2 | |
| }; | |
| }; | |
| // Initialize data for panning zooming if it isn't already. | |
| var init_pan_zoom = function(root) { | |
| if (root.data("zoompan-ready")) { | |
| return; | |
| } | |
| // The non-scaling-stroke trick. Rather than try to correct for the | |
| // stroke-width when zooming, we force it to a fixed value. | |
| var px_per_mm = root.node.getCTM().a; | |
| // Drag events report deltas in pixels, which we'd like to convert to | |
| // millimeters. | |
| root.data("px_per_mm", px_per_mm); | |
| root.selectAll("path") | |
| .forEach(function (element, i) { | |
| sw = element.asPX("stroke-width") * px_per_mm; | |
| if (sw > 0) { | |
| element.attribute("stroke-width", sw); | |
| element.attribute("vector-effect", "non-scaling-stroke"); | |
| } | |
| }); | |
| // Store ticks labels original tranformation | |
| root.selectAll(".xlabels > text, .ylabels > text") | |
| .forEach(function (element, i) { | |
| var lm = element.transform().localMatrix; | |
| element.data("static_transform", | |
| new Snap.Matrix(lm.a, lm.b, lm.c, lm.d, lm.e, lm.f)); | |
| }); | |
| if (root.data("tx") === undefined) root.data("tx", 0); | |
| if (root.data("ty") === undefined) root.data("ty", 0); | |
| if (root.data("scale") === undefined) root.data("scale", 1.0); | |
| if (root.data("xtickscales") === undefined) { | |
| // index all the tick scales that are listed | |
| var xtickscales = {}; | |
| var ytickscales = {}; | |
| var add_x_tick_scales = function (element, i) { | |
| xtickscales[element.attribute("gadfly:scale")] = true; | |
| }; | |
| var add_y_tick_scales = function (element, i) { | |
| ytickscales[element.attribute("gadfly:scale")] = true; | |
| }; | |
| root.select(".xgridlines").selectAll("path").forEach(add_x_tick_scales); | |
| root.select(".ygridlines").selectAll("path").forEach(add_y_tick_scales); | |
| root.select(".xlabels").selectAll("text").forEach(add_x_tick_scales); | |
| root.select(".ylabels").selectAll("text").forEach(add_y_tick_scales); | |
| root.data("xtickscales", xtickscales); | |
| root.data("ytickscales", ytickscales); | |
| root.data("xtickscale", 1.0); | |
| } | |
| var min_scale = 1.0, max_scale = 1.0; | |
| for (scale in xtickscales) { | |
| min_scale = Math.min(min_scale, scale); | |
| max_scale = Math.max(max_scale, scale); | |
| } | |
| for (scale in ytickscales) { | |
| min_scale = Math.min(min_scale, scale); | |
| max_scale = Math.max(max_scale, scale); | |
| } | |
| root.data("min_scale", min_scale); | |
| root.data("max_scale", max_scale); | |
| // store the original positions of labels | |
| root.select(".xlabels") | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| element.data("x", element.asPX("x")); | |
| }); | |
| root.select(".ylabels") | |
| .selectAll("text") | |
| .forEach(function (element, i) { | |
| element.data("y", element.asPX("y")); | |
| }); | |
| // mark grid lines and ticks as in or out of scale. | |
| var mark_inscale = function (element, i) { | |
| element.attribute("gadfly:inscale", element.attribute("gadfly:scale") == 1.0); | |
| }; | |
| root.select(".xgridlines").selectAll("path").forEach(mark_inscale); | |
| root.select(".ygridlines").selectAll("path").forEach(mark_inscale); | |
| root.select(".xlabels").selectAll("text").forEach(mark_inscale); | |
| root.select(".ylabels").selectAll("text").forEach(mark_inscale); | |
| // figure out the upper ond lower bounds on panning using the maximum | |
| // and minum grid lines | |
| var bounds = root.plotbounds(); | |
| var pan_bounds = { | |
| x0: 0.0, | |
| y0: 0.0, | |
| x1: 0.0, | |
| y1: 0.0 | |
| }; | |
| root.select(".xgridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var bbox = element.node.getBBox(); | |
| if (bounds.x1 - bbox.x < pan_bounds.x0) { | |
| pan_bounds.x0 = bounds.x1 - bbox.x; | |
| } | |
| if (bounds.x0 - bbox.x > pan_bounds.x1) { | |
| pan_bounds.x1 = bounds.x0 - bbox.x; | |
| } | |
| } | |
| }); | |
| root.select(".ygridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| var bbox = element.node.getBBox(); | |
| if (bounds.y1 - bbox.y < pan_bounds.y0) { | |
| pan_bounds.y0 = bounds.y1 - bbox.y; | |
| } | |
| if (bounds.y0 - bbox.y > pan_bounds.y1) { | |
| pan_bounds.y1 = bounds.y0 - bbox.y; | |
| } | |
| } | |
| }); | |
| // nudge these values a little | |
| pan_bounds.x0 -= 5; | |
| pan_bounds.x1 += 5; | |
| pan_bounds.y0 -= 5; | |
| pan_bounds.y1 += 5; | |
| root.data("pan_bounds", pan_bounds); | |
| // Set all grid lines at scale 1.0 to visible. Out of bounds lines | |
| // will be clipped. | |
| root.select(".xgridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| element.attr("visibility", "visible"); | |
| } | |
| }); | |
| root.select(".ygridlines") | |
| .selectAll("path") | |
| .forEach(function (element, i) { | |
| if (element.attribute("gadfly:inscale") == "true") { | |
| element.attr("visibility", "visible"); | |
| } | |
| }); | |
| root.data("zoompan-ready", true) | |
| }; | |
| // Panning | |
| Gadfly.guide_background_drag_onmove = function(dx, dy, x, y, event) { | |
| var root = this.plotroot(); | |
| var px_per_mm = root.data("px_per_mm"); | |
| dx /= px_per_mm; | |
| dy /= px_per_mm; | |
| var tx0 = root.data("tx"), | |
| ty0 = root.data("ty"); | |
| var dx0 = root.data("dx"), | |
| dy0 = root.data("dy"); | |
| root.data("dx", dx); | |
| root.data("dy", dy); | |
| dx = dx - dx0; | |
| dy = dy - dy0; | |
| var tx = tx0 + dx, | |
| ty = ty0 + dy; | |
| set_plot_pan_zoom(root, tx, ty, root.data("scale")); | |
| }; | |
| Gadfly.guide_background_drag_onstart = function(x, y, event) { | |
| var root = this.plotroot(); | |
| root.data("dx", 0); | |
| root.data("dy", 0); | |
| init_pan_zoom(root); | |
| }; | |
| Gadfly.guide_background_drag_onend = function(event) { | |
| var root = this.plotroot(); | |
| }; | |
| Gadfly.guide_background_scroll = function(event) { | |
| if (event.shiftKey) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var new_scale = root.data("scale") * Math.pow(2, 0.002 * event.wheelDelta); | |
| new_scale = Math.max( | |
| root.data("min_scale"), | |
| Math.min(root.data("max_scale"), new_scale)) | |
| update_plot_scale(root, new_scale); | |
| event.stopPropagation(); | |
| } | |
| }; | |
| Gadfly.zoomslider_button_mouseover = function(event) { | |
| this.select(".button_logo") | |
| .animate({fill: this.data("mouseover_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_button_mouseout = function(event) { | |
| this.select(".button_logo") | |
| .animate({fill: this.data("mouseout_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_zoomout_click = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var min_scale = root.data("min_scale"), | |
| scale = root.data("scale"); | |
| Snap.animate( | |
| scale, | |
| Math.max(min_scale, scale / 1.5), | |
| function (new_scale) { | |
| update_plot_scale(root, new_scale); | |
| }, | |
| 200); | |
| }; | |
| Gadfly.zoomslider_zoomin_click = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| var max_scale = root.data("max_scale"), | |
| scale = root.data("scale"); | |
| Snap.animate( | |
| scale, | |
| Math.min(max_scale, scale * 1.5), | |
| function (new_scale) { | |
| update_plot_scale(root, new_scale); | |
| }, | |
| 200); | |
| }; | |
| Gadfly.zoomslider_track_click = function(event) { | |
| // TODO | |
| }; | |
| Gadfly.zoomslider_thumb_mousedown = function(event) { | |
| this.animate({fill: this.data("mouseover_color")}, 100); | |
| }; | |
| Gadfly.zoomslider_thumb_mouseup = function(event) { | |
| this.animate({fill: this.data("mouseout_color")}, 100); | |
| }; | |
| // compute the position in [0, 1] of the zoom slider thumb from the current scale | |
| var slider_position_from_scale = function(scale, min_scale, max_scale) { | |
| if (scale >= 1.0) { | |
| return 0.5 + 0.5 * (Math.log(scale) / Math.log(max_scale)); | |
| } | |
| else { | |
| return 0.5 * (Math.log(scale) - Math.log(min_scale)) / (0 - Math.log(min_scale)); | |
| } | |
| } | |
| var update_plot_scale = function(root, new_scale) { | |
| var trans = scale_centered_translation(root, new_scale); | |
| set_plot_pan_zoom(root, trans.x, trans.y, new_scale); | |
| root.selectAll(".zoomslider_thumb") | |
| .forEach(function (element, i) { | |
| var min_pos = element.data("min_pos"), | |
| max_pos = element.data("max_pos"), | |
| min_scale = root.data("min_scale"), | |
| max_scale = root.data("max_scale"); | |
| var xmid = (min_pos + max_pos) / 2; | |
| var xpos = slider_position_from_scale(new_scale, min_scale, max_scale); | |
| element.transform(new Snap.Matrix().translate( | |
| Math.max(min_pos, Math.min( | |
| max_pos, min_pos + (max_pos - min_pos) * xpos)) - xmid, 0)); | |
| }); | |
| }; | |
| Gadfly.zoomslider_thumb_dragmove = function(dx, dy, x, y) { | |
| var root = this.plotroot(); | |
| var min_pos = this.data("min_pos"), | |
| max_pos = this.data("max_pos"), | |
| min_scale = root.data("min_scale"), | |
| max_scale = root.data("max_scale"), | |
| old_scale = root.data("old_scale"); | |
| var px_per_mm = root.data("px_per_mm"); | |
| dx /= px_per_mm; | |
| dy /= px_per_mm; | |
| var xmid = (min_pos + max_pos) / 2; | |
| var xpos = slider_position_from_scale(old_scale, min_scale, max_scale) + | |
| dx / (max_pos - min_pos); | |
| // compute the new scale | |
| var new_scale; | |
| if (xpos >= 0.5) { | |
| new_scale = Math.exp(2.0 * (xpos - 0.5) * Math.log(max_scale)); | |
| } | |
| else { | |
| new_scale = Math.exp(2.0 * xpos * (0 - Math.log(min_scale)) + | |
| Math.log(min_scale)); | |
| } | |
| new_scale = Math.min(max_scale, Math.max(min_scale, new_scale)); | |
| update_plot_scale(root, new_scale); | |
| }; | |
| Gadfly.zoomslider_thumb_dragstart = function(event) { | |
| var root = this.plotroot(); | |
| init_pan_zoom(root); | |
| // keep track of what the scale was when we started dragging | |
| root.data("old_scale", root.data("scale")); | |
| }; | |
| Gadfly.zoomslider_thumb_dragend = function(event) { | |
| }; | |
| var toggle_color_class = function(root, color_class, ison) { | |
| var guides = root.selectAll(".guide." + color_class + ",.guide ." + color_class); | |
| var geoms = root.selectAll(".geometry." + color_class + ",.geometry ." + color_class); | |
| if (ison) { | |
| guides.animate({opacity: 0.5}, 250); | |
| geoms.animate({opacity: 0.0}, 250); | |
| } else { | |
| guides.animate({opacity: 1.0}, 250); | |
| geoms.animate({opacity: 1.0}, 250); | |
| } | |
| }; | |
| Gadfly.colorkey_swatch_click = function(event) { | |
| var root = this.plotroot(); | |
| var color_class = this.data("color_class"); | |
| if (event.shiftKey) { | |
| root.selectAll(".colorkey text") | |
| .forEach(function (element) { | |
| var other_color_class = element.data("color_class"); | |
| if (other_color_class != color_class) { | |
| toggle_color_class(root, other_color_class, | |
| element.attr("opacity") == 1.0); | |
| } | |
| }); | |
| } else { | |
| toggle_color_class(root, color_class, this.attr("opacity") == 1.0); | |
| } | |
| }; | |
| return Gadfly; | |
| })); | |
| //@ sourceURL=gadfly.js | |
| (function (glob, factory) { | |
| // AMD support | |
| if (typeof require === "function" && typeof define === "function" && define.amd) { | |
| require(["Snap.svg", "Gadfly"], function (Snap, Gadfly) { | |
| factory(Snap, Gadfly); | |
| }); | |
| } else { | |
| factory(glob.Snap, glob.Gadfly); | |
| } | |
| })(window, function (Snap, Gadfly) { | |
| var fig = Snap("#fig-ea408692ed4849c492eab13dda79f05c"); | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-4") | |
| .mouseenter(Gadfly.plot_mouseover) | |
| .mouseleave(Gadfly.plot_mouseout) | |
| .mousewheel(Gadfly.guide_background_scroll) | |
| .drag(Gadfly.guide_background_drag_onmove, | |
| Gadfly.guide_background_drag_onstart, | |
| Gadfly.guide_background_drag_onend) | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-7") | |
| .plotroot().data("unfocused_ygrid_color", "#D0D0E0") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-7") | |
| .plotroot().data("focused_ygrid_color", "#A0A0A0") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-8") | |
| .plotroot().data("unfocused_xgrid_color", "#D0D0E0") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-8") | |
| .plotroot().data("focused_xgrid_color", "#A0A0A0") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-12") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-12") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-12") | |
| .click(Gadfly.zoomslider_zoomin_click) | |
| .mouseenter(Gadfly.zoomslider_button_mouseover) | |
| .mouseleave(Gadfly.zoomslider_button_mouseout) | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-14") | |
| .data("max_pos", 120.42) | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-14") | |
| .data("min_pos", 103.42) | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-14") | |
| .click(Gadfly.zoomslider_track_click); | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-15") | |
| .data("max_pos", 120.42) | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-15") | |
| .data("min_pos", 103.42) | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-15") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-15") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-15") | |
| .drag(Gadfly.zoomslider_thumb_dragmove, | |
| Gadfly.zoomslider_thumb_dragstart, | |
| Gadfly.zoomslider_thumb_dragend) | |
| .mousedown(Gadfly.zoomslider_thumb_mousedown) | |
| .mouseup(Gadfly.zoomslider_thumb_mouseup) | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-16") | |
| .data("mouseover_color", "#cd5c5c") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-16") | |
| .data("mouseout_color", "#6a6a6a") | |
| ; | |
| fig.select("#fig-ea408692ed4849c492eab13dda79f05c-element-16") | |
| .click(Gadfly.zoomslider_zoomout_click) | |
| .mouseenter(Gadfly.zoomslider_button_mouseover) | |
| .mouseleave(Gadfly.zoomslider_button_mouseout) | |
| ; | |
| }); | |
| ]]> </script> | |
| </svg> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment