| Hosted by CoCalc | Download
Kernel: Python 2
import numpy as np from bokeh.plotting import figure, output_notebook, show
output_notebook()
#grayscale");filter:gray;-webkit-filter:grayscale(100%)}.bk-logo-notebook{margin-right:10px}.bk-logo-small{width:20px;height:20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAOkSURBVDiNjZRtaJVlGMd/1/08zzln5zjP1LWcU9N0NkN8m2CYjpgQYQXqSs0I84OLIC0hkEKoPtiH3gmKoiJDU7QpLgoLjLIQCpEsNJ1vqUOdO7ppbuec5+V+rj4ctwzd8IIbbi6u+8f1539dt3A78eXC7QizUF7gyV1fD1Yqg4JWz84yffhm0qkFqBogB9rM8tZdtwVsPUhWhGcFJngGeWrPzHm5oaMmkfEg1usvLFyc8jLRqDOMru7AyC8saQr7GG7f5fvDeH7Ej8CM66nIF+8yngt6HWaKh7k49Soy9nXurCi1o3qUbS3zWfrYeQDTB/Qj6kX6Ybhw4B+bOYoLKCC9H3Nu/leUTZ1JdRWkkn2ldcCamzrcf47KKXdAJllSlxAOkRgyHsGC/zRday5Qld9DyoM4/q/rUoy/CXh3jzOu3bHUVZeU+DEn8FInkPBFlu3+nW3Nw0mk6vCDiWg8CeJaxEwuHS3+z5RgY+YBR6V1Z1nxSOfoaPa4LASWxxdNp+VWTk7+4vzaou8v8PN+xo+KY2xsw6une2frhw05CTYOmQvsEhjhWjn0bmXPjpE1+kplmmkP3suftwTubK9Vq22qKmrBhpY4jvd5afdRA3wGjFAgcnTK2s4hY0/GPNIb0nErGMCRxWOOX64Z8RAC4oCXdklmEvcL8o0BfkNK4lUg9HTl+oPlQxdNo3Mg4Nv175e/1LDGzZen30MEjRUtmXSfiTVu1kK8W4txyV6BMKlbgk3lMwYCiusNy9fVfvvwMxv8Ynl6vxoByANLTWplvuj/nF9m2+PDtt1eiHPBr1oIfhCChQMBw6Aw0UulqTKZdfVvfG7VcfIqLG9bcldL/+pdWTLxLUy8Qq38heUIjh4XlzZxzQm19lLFlr8vdQ97rjZVOLf8nclzckbcD4wxXMidpX30sFd37Fv/GtwwhzhxGVAprjbg0gCAEeIgwCZyTV2Z1REEW8O4py0wsjeloKoMr6iCY6dP92H6Vw/oTyICIthibxjm/DfN9lVz8IqtqKYLUXfoKVMVQVVJOElGjrnnUt9T9wbgp8AyYKaGlqingHZU/uG2NTZSVqwHQTWkx9hxjkpWDaCg6Ckj5qebgBVbT3V3NNXMSiWSDdGV3hrtzla7J+duwPOToIg42ChPQOQjspnSlp1V+Gjdged7+8UN5CRAV7a5EdFNwCjEaBR27b3W890TE7g24NAP/mMDXRWrGoFPQI9ls/MWO2dWFAar/xcOIImbbpA3zgAAAABJRU5ErkJggg==)}.bk-logo-medium{width:35px;height:35px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAf9SURBVFiFvZh7cFTVHcc/59y7793sJiFAwkvAYDRqFWwdraLVlj61diRYsDjqCFbFKrYo0CltlSq1tLaC2GprGIriGwqjFu10OlrGv8RiK/IICYECSWBDkt3s695zTv9IAtlHeOn0O7Mzu797z+/3Ob/z+p0VfBq9doNFljuABwAXw2PcvGHt6bgwxhz7Ls4YZNVXxxANLENwE2D1W9PAGmAhszZ0/X9gll5yCbHoOirLzmaQs0F6F8QMZq1v/8xgNm7DYwwjgXJLYL4witQ16+sv/U9HdDmV4WrKw6B06cZC/RMrM4MZ7xz61DAbtzEXmAvUAX4pMOVecg9/MFFu3j3Gz7gQBLygS2RGumBkL0cubiFRsR3LzVBV1UMk3IrW73PT9C2lYOwhQB4ClhX1AuKpjLcV27oEjy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exe0VEx4a3x8V1AaYwFJgTiwaOsDmeK2J8nMUOqsnB1A+dcA04ucCYt0urkjmflk9iT2v30q/gZn5rQPvor4n9Ou634PeBzoznes/iot/7WnClKoM/+zCIjH5kwT8ChQjTHPIPTjFV3PpU/Hx+DM/A9U3IXI4SPCYAAAAABJRU5ErkJggg==)}.bk-logo-large{width:75px;height:75px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAABNHSURBVHiczZx5nFxVlce/576q6uqq6q7e0t0habIRgQScfEBAJ4MLo4gogY9CAkkIApElCqOCI8IAKriMg6MwoqiBgERMIJEECCoIKKIYWcImS9KEJCxJOr2kt1rfu2f+eN2d7qS7tu4Efp9Pf7rqvvvOOfV759577r3nPuG9hF/PmQXmZEQ/CkwEtqLyV8Q+yPz7nn03TFLVgc/ybhiwD+469WiQLwOfAmqHqbEb1bWo/JCFa148kKa9t8hafuqVGLkWCBVQuxvVy1mw9hf726x+vDfIOqMxzCdm3U4sPK/oe1V/wIK1X98PVg2j6t0m63uzx2O95YyLn0BlFKwtRcrPmb/morE2bW8MJsvsb2X74PsfmoToAwScEwgFAM17ywi4kLtO+78xtCwvDixZPzjuGMQ8CRxFwIFgALRksgC+xF2n/WyMrMuLMWmG9zxLRQjGIYxjGFc5tJLsOX8+/Ij1LbX/g2gDVqE8BI3VYEdFVj9uYf6ai8dC0N4Y3AwDpQpZs4GZYjgVmCNwEBAFIsPV3ZXFa4wmo2QDEMr6hcGSVe8L8S7il0sitM66l2Ci1S/UXqz2kEgYKmKdTJray+lzukejpmiLVz9NNBjgOoRLASdffQGs0tOTDbyO0WkDF8rGiCwnk6FnQged0xcRTC4aKPcdopfaWkNNdRtepouVq5pRfQbVFZw1d2Oxqorqs377DNXBIL9H+AoFENVvc9CwvT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Ns1wmj/0rb7U6VHpEnHIZHbR0/s8IgEC6tISG88j00/rdU3AGLXD/R5L/0EC1ccVXX3lhst+X6jOMXm9Sj/qfrM5CSSBEeKUTtoqZjeL4y0v5Ahrbgie103/M/bEIZxJfNfDrnUFDQxHluJa67599fNf3zk63ft7ojwIbfHF80XkDkbxgESC9PQ+TyazE5GAp/Clafpq8WFNEXhX3p9V27n0LlV7dukSBNUsnpcASKnaM/Y3UXvjgL4/q7bz1hVW9WxKWMnoD0atzWxX7EnT2HjvfjAxJw74m9nqOpcuV9VFQLq4OxVV3exp4tOHsPldyTA88K+xw2+SKB/HP+ZWEKz1VgSdcbOn80be4X5/4V199eau+OJaB5YgcjbD78x4oH9W1VtqO2+950DbB++Ft0nuhfbKL0yyhk8JepIohwApFZ5BdVUy2f34xMzdRTbZscNgsv4fCI1BY5O1DJEAAAAASUVORK5CYII=)}.bk-sidebar{box-sizing:border-box}.bk-button-bar .bk-bs-dropdown{padding:10px 10px 0 5px}.bk-button-bar .bk-bs-dropdown a{color:transparent;font-size:0;display:block;float:left;width:13px;height:13px;margin:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGdSURBVCiRXZJPSxtRFMV/dyYTunBREASRIkKwddPSjYIL+x2K9plR+owR7K7L7vsZutIkZqhO8jZ+h25aQilUkbaUgv2zEOpGpAsZnbld+BJC7ubAvYd77uEeYaTaB25bhJqi44Kcq9LYWDOt/lxVkQG542ZFaQP3gB6wBLwDFoGfKtQ2qua7qhIAJB1XEeUE9CtSPLCxWQbObGxWEL0P+k2Uk3barQBImrrgWvmE8NnGpgaQpO4OcArM2Nhc+d4e8DCUcL6UwZYIk0WYzw9Zy4CnHm+9hNcvJI/+3GhuJUndR+A3yCpoCGQ2NkWfnKQuAMqo5Ih2gakScBeYBj32vE3gw5DqAtBCFGAcuCwBF8CRIFX1SiNf6AGPQXLwSgq7Aq+zMGPLrPdNB16h50+92uvul4MiWlJ4FZShAZxFebQztL0MHHoEICiiBvCrRJiI31wBvii8zQt9WV9f/Zek7sjG5lFzvzsWBvJGYA2Ye1599mOQiKTjZlVpCcwA74En/UQonIqwaX0ihJFKUlcH6sAE8Bdo2tg0B/9S5T8JNaZ11wlT0wAAAABJRU5ErkJggg==)}.bk-button-bar .bk-button-bar-list{margin:0;padding:0}.bk-button-bar-list>li{list-style-type:none;float:left;padding:0;margin:0;position:relative;display:block;overflow:visible;background-color:transparent}.bk-button-bar-list.bk-bs-dropdown:after,.bk-button-bar-list>li:last-child:after{content:"|";font-size:90%;color:#d3d3d3;display:inline-block;float:left;height:28px;line-height:28px;padding:0 3px}.bk-button-bar-list[type=help] li:after{content:""!important;display:none}.bk-button-bar-list>a:after{content:"|";font-size:90%;color:#d3d3d3;display:inline-block;float:left;height:28px;line-height:28px;padding:0 3px}.bk-button-bar .bk-button-bar-list .bk-bs-dropdown-menu{padding:10px 8px}.bk-button-bar .bk-button-bar-list .bk-bs-dropdown-menu li{float:none;clear:both;font-family:Helvetica,sans-serif;line-height:1.5em}.bk-button-bar .bk-button-bar-list .bk-bs-dropdown-menu li input{margin-right:8px}.bk-button-bar-list .bk-toolbar-button{width:30px;height:28px;padding:5px;border:none;border-radius:0!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;background:0 0!important}.bk-button-bar-list .bk-toolbar-button .bk-btn-icon{height:16px;margin:0!important;border:none!important;background:0 0!important;display:block;position:relative;z-index:10}.bk-button-bar-list .bk-toolbar-button span.tip{display:none}.bk-button-bar-list .bk-toolbar-button span.tip:before{display:none;content:" ";position:relative;width:100%;background-position:top left;background-repeat:no-repeat}.bk-bs-caret,.bk-button-bar-list li:hover .bk-toolbar-button span.tip:before,.bk-crossfilter-container,.bk-crossfilter-plot,.bk-facet-label{display:inline-block}.bk-button-bar-list li::hover .bk-toolbar-button{cursor:pointer;background:0 0!important}.bk-button-bar-list li:hover .bk-toolbar-button span.tip{z-index:100;font-size:100%;color:#fff;font-family:'Open Sans',sans-serif;white-space:nowrap;background-color:#818789;border-radius:3px!important;-moz-border-radius:3px!important;-webkit-border-radius:3px!important;display:inline-block;position:relative;top:25px;padding:3px 5px;transition:all .6s ease;-webkit-transition:all .6s ease;-moz-transition:all .6s ease;-o-transition:all .6s ease}.bk-button-bar-list li:hover .bk-toolbar-button span.tip>*{display:block;text-align:left}.bk-button-bar-list li:hover .bk-toolbar-button span.tip span{width:200px;white-space:normal}.bk-button-bar-list .bk-toolbar-button.active{background:#fff;-box-shadow:none!important;-webkit-box-shadow:none!important;-moz-box-shadow:none!important;outline:0!important;border-bottom:2px solid #26aae1}.bk-button-bar>.bk-toolbar-button.active{border-bottom:2px solid #26aae1}.bk-plot-above.bk-toolbar-active{border-bottom:2px solid #e5e5e5}.bk-plot-below.bk-toolbar-active{border-top:2px solid #e5e5e5;padding-bottom:45px}.bk-plot-above.bk-toolbar-active,.bk-plot-below.bk-toolbar-active{height:30px}.bk-plot-above.bk-toolbar-active .bk-logo,.bk-plot-below.bk-toolbar-active .bk-logo{float:left;top:5px;margin:5px 0}.bk-plot-above.bk-toolbar-active .bk-button-bar,.bk-plot-below.bk-toolbar-active .bk-button-bar{float:right;position:relative;top:5px}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-button-bar-list,.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-toolbar-button,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-button-bar-list,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-toolbar-button{float:left}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-button-bar-list.bk-bs-dropdown,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-button-bar-list.bk-bs-dropdown{margin-right:20px}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-button-bar-list.bk-bs-dropdown:before,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-button-bar-list.bk-bs-dropdown:before{right:-6px}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-button-bar-list.bk-bs-dropdown:after,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-button-bar-list.bk-bs-dropdown:after{right:-12px;position:absolute}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-button-bar-list .bk-bs-dropdown-menu:after,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-button-bar-list .bk-bs-dropdown-menu:after{content:""}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-toolbar-button.help,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-toolbar-button.help{float:right}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-toolbar-button.help span.tip,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-toolbar-button.help span.tip{right:0;text-align:left;width:200px;white-space:normal}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-toolbar-button.help span.tip>*,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-toolbar-button.help span.tip>*{margin-left:0;margin-right:0}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-toolbar-button span.tip,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-toolbar-button span.tip{top:41px;left:0;z-index:100;position:absolute;width:auto;padding:0 10px 5px}.bk-plot-above.bk-toolbar-active .bk-button-bar .bk-toolbar-button span.tip:before,.bk-plot-below.bk-toolbar-active .bk-button-bar .bk-toolbar-button span.tip:before{top:-7px;left:-5px;width:100%;height:9px;padding:0 10px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAJCAYAAAAGuM1UAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6e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0lEQVR42mL8//8/AymApamjC5dcJRBPBOJvyIJM2FQCbS0GUm1APAddDkPDv3//3BgZGTuh3Eig5lKcGv78+aPKxMS0HMhkhokBNbcDDfHApoGHmZl5HZAWQrOUGWQIyDBkDYxAqxcBTdPBEQACQMM2AGk+Jqgn64CKA/EFJ1BeC2QoE9B9AUBOPTFxAFTnDxBgAI5eL2ABBdyaAAAAAElFTkSuQmCC);display:block!important}.bk-plot-left.bk-toolbar-active{border-right:2px solid #e5e5e5}.bk-plot-right.bk-toolbar-active{border-left:2px solid #e5e5e5}.bk-plot-left.bk-toolbar-active,.bk-plot-right.bk-toolbar-active{display:block;margin:45px 0 0}.bk-plot-left.bk-toolbar-active .bk-logo,.bk-plot-right.bk-toolbar-active .bk-logo{left:6px;margin-bottom:20px}.bk-plot-left.bk-toolbar-active .bk-button-bar,.bk-plot-right.bk-toolbar-active .bk-button-bar{position:relative;left:3px}.bk-plot-left.bk-toolbar-active .bk-button-bar:after,.bk-plot-left.bk-toolbar-active .bk-button-bar:before,.bk-plot-right.bk-toolbar-active .bk-button-bar:after,.bk-plot-right.bk-toolbar-active .bk-button-bar:before{content:" ";display:block;height:0;clear:both}.bk-plot-left.bk-toolbar-active .bk-button-bar .bk-button-bar-list:after,.bk-plot-right.bk-toolbar-active .bk-button-bar .bk-button-bar-list:after{content:" ";height:0;display:block;clear:both}.bk-plot-left.bk-toolbar-active .bk-button-bar .bk-button-bar-list.bk-bs-dropdown:after,.bk-plot-right.bk-toolbar-active .bk-button-bar .bk-button-bar-list.bk-bs-dropdown:after{content:" \2014";float:none;clear:both;display:block;width:30px;height:8px;line-height:8px;padding:3px 0;text-align:center}.bk-plot-left.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li,.bk-plot-right.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li{clear:both}.bk-plot-left.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li:last-child:after,.bk-plot-right.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li:last-child:after{content:" \2014";float:none;clear:both;display:block;width:30px;height:8px;line-height:8px;padding:3px 0;text-align:center}.bk-plot-left.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li .bk-toolbar-button.active,.bk-plot-right.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li .bk-toolbar-button.active{border-bottom:none;border-right:2px solid #26aae1}.bk-plot-left.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li .bk-toolbar-button.help span.tip:before,.bk-plot-right.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li .bk-toolbar-button.help span.tip:before{left:-57%}.bk-plot-left.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li .bk-toolbar-button span.tip,.bk-plot-right.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li .bk-toolbar-button span.tip{position:absolute;top:4px;left:40px;padding:5px 10px}.bk-plot-left.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li .bk-toolbar-button span.tip:before,.bk-plot-right.bk-toolbar-active .bk-button-bar .bk-button-bar-list>li .bk-toolbar-button span.tip:before{top:2px;left:-19px;width:9px;height:15px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAPCAMAAAABFhU/AAAAA3NCSVQICAjb4U/gAAAAY1BMVEX////////8/Pz5+fn39/f19fX09PTv8fHv7+/t7e7s7Ozp6enn6Onm5ubj4+Ph4eHf39/X2drW1tfMzMzAw8S+wMGusbKorK6orK2nq6ufo6WcoaGYnZ+RlpiJj5GGjI6Bh4n1ho2QAAAAIXRSTlMA//////////////////////////////////////////9G9E6kAAAACXBIWXMAAAsSAAALEgHS3X78AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABR0RVh0Q3JlYXRpb24gVGltZQA5LzUvMTTY+fXxAAAAUklEQVQImTXN2xZAIABE0VQUIfdLwvz/V1rL1DztpzOi4EoIQoekNoIaH1AL8EvvoExEUkBWfWZZvyWVzq/vL6kbP9/sKdtPF8vKdMPBN1m5AR+0BAnD6uP50QAAAABJRU5ErkJggg==)}.bk-crossfilter-selector{list-style-type:none;-webkit-padding-start:0}.bk-crossfilter-selector li{display:inline;margin-bottom:10px;padding-left:10px;padding-right:10px}.bk-bs-caret{color:#d3d3d3;width:0;height:0;position:relative;left:11px;top:3px;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.bk-cell-index,.bk-cell-select,.bk-cell-special-defaults{background:#f5f5f5;border-right-color:silver;border-right-style:solid}.bk-crossfilter-row{height:100%;width:100%;margin:0}.bk-crossfilter-panel-heading{padding-top:5px;padding-bottom:5px}.bk-crossfilter-panel-continuous-heading{background-color:#396285!important}.bk-crossfilter-panel-factor-heading{background-color:#CE603D!important}.aligntable{vertical-align:top}.bk-crossfilter-container{height:100%;width:100%;whitespace:nowrap;overflow:auto}.bk-crossfilter-configuration{overflow:auto;float:left;padding-right:0!important;padding-left:15px!important;margin-left:0!important;margin-right:0!important}.bk-crossfilter-configuration .bk-bs-panel-body{padding:0!important}.bk-column-list{overflow-y:auto;height:100%;padding-right:0;padding-left:0}.bk-table{width:100%;border-top:none;margin-bottom:0;text-align:left}.bk-table>tbody>tr>td,.bk-table>tbody>tr>th,.bk-table>tfoot>tr>td,.bk-table>tfoot>tr>th,.bk-table>thead>tr>td,.bk-table>thead>tr>th{line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd;padding:5px}.bk-table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.bk-table>caption+thead>tr:first-child>td,.bk-table>caption+thead>tr:first-child>th,.bk-table>colgroup+thead>tr:first-child>td,.bk-table>colgroup+thead>tr:first-child>th,.bk-table>thead:first-child>tr:first-child>td,.bk-table>thead:first-child>tr:first-child>th{border-top:0}.bk-table>tbody+tbody{border-top:2px solid #ddd}.bk-table .bk-bs-table{background-color:#fff}.bk-table tr:nth-child(odd){background:#efefef}.bk-table tr td{padding:1px 5px!important;border:none!important}.bk-filters-facets{height:100%;padding-left:0;padding-right:0}.bk-filters{height:45%;overflow:hidden;position:relative}.bk-filters-selections{position:absolute;top:30px;left:0;right:0;bottom:0;overflow-y:auto;padding:5px!important}.bk-facet{height:14%;position:relative}.bk-facets-selections{position:absolute;top:30px;left:0;right:0;bottom:0}.bk-plot-selection{padding-right:0;padding-left:0}.bk-crossfilter-plot{float:left}.bk-facet-label{padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;background-color:#5bc0de;margin-left:5px;cursor:pointer}.bk-cell-editor-completion,.bk-data-table{font-size:11px}.bk-facet-label[href]:focus,.bk-facet-label[href]:hover{color:#fff;text-decoration:none;cursor:pointer;background-color:#31b0d5}.bk-facet-label:empty{display:none}.bk-bs-btn .bk-facet-label{position:relative;top:-1px}.bk-filters-selections .bk-sidebar{-webkit-transform:scale(.5,.5)!important;transform:scale(.5,.5)!important}.bk-crossfilter .bk-widget-form{padding:5px}.bk-data-table input[type=checkbox]{margin-left:4px;margin-right:4px}.bk-data-table *,.bk-data-table :after,.bk-data-table :before{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.bk-cell-index{text-align:right;color:gray}.bk-slick-row.selected .bk-cell-index{background-color:transparent}.bk-slick-cell{padding-left:4px;padding-right:4px}.bk-slick-cell.editable{padding-left:0;padding-right:0}.bk-cell-editor .bk-ui-spinner,.bk-cell-editor input,.bk-cell-editor select{width:100%;height:100%;border:0;margin:0;padding:0;outline:0;background:0 0;vertical-align:baseline}.bk-bs-open .bk-bs-dropdown-toggle.bk-toolbar-button,.bk-toolbar-button,.bk-toolbar-button.bk-bs-active,.bk-toolbar-button:active,.bk-widget-form-input{background-image:none}.bk-cell-editor input{padding-left:4px;padding-right:4px}.bk-hbox{-webkit-box-orient:horizontal;-webkit-box-align:stretch;-moz-box-orient:horizontal;-moz-box-align:stretch;box-orient:horizontal;box-align:stretch;display:flex;display:-webkit-flex;flex-direction:row;flex-wrap:nowrap}.bk-vbox{-webkit-box-orient:vertical;-webkit-box-align:stretch;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;width:auto}.bk-widget-form{padding:30px;overflow:hidden}.bk-widget-form-group{margin-bottom:15px}.bk-button-bar,.bk-toolbar-button{display:inline-block;margin-bottom:0}.bk-widget-form-input{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.bk-widget-form-input:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.bk-widget-form-input::-moz-placeholder{color:#999;opacity:1}.bk-widget-form-input:-ms-input-placeholder{color:#999}.bk-widget-form-input::-webkit-input-placeholder{color:#999}.bk-widget-form-input[disabled],.bk-widget-form-input[readonly],fieldset[disabled] .bk-widget-form-input{cursor:not-allowed;background-color:#eee;opacity:1}textarea.bk-widget-form-input{height:auto}.bk-slider-horizontal{width:100%;height:50px;min-width:200px}.bk-slider-vertical{height:100%;width:50px;min-height:200px}.bk-tooltip.bk-left::before,.bk-tooltip.bk-right::after{border-color:transparent;display:block;margin:-7px 0 0;height:0}.bk-button-bar{margin-top:0;padding-top:0;padding-bottom:2px;position:relative}.bk-button-bar>.bk-bs-btn{position:relative;float:left}.bk-button-bar>.bk-bs-btn.bk-bs-active,.bk-button-bar>.bk-bs-btn:active,.bk-button-bar>.bk-bs-btn:focus,.bk-button-bar>.bk-bs-btn:hover{z-index:2}.bk-button-bar>.bk-bs-btn:focus{outline:0}.bk-button-bar .bk-bs-btn+.bk-bs-btn,.bk-button-bar .bk-bs-btn+.bk-bs-btn-group,.bk-button-bar .bk-bs-btn-group+.bk-bs-btn,.bk-button-bar .bk-bs-btn-group+.bk-bs-btn-group{margin-left:-1px}.bk-toolbar-button{font-weight:400;text-align:center;cursor:pointer;border:1px solid transparent;white-space:nowrap;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px;color:#333;background-color:#fff;border-color:#ccc}.bk-toolbar-button.bk-bs-active:focus,.bk-toolbar-button:active:focus,.bk-toolbar-button:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.bk-toolbar-button:focus,.bk-toolbar-button:hover{text-decoration:none}.bk-toolbar-button.bk-bs-active,.bk-toolbar-button:active{outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.bk-toolbar-button.bk-bs-disabled,.bk-toolbar-button[disabled],fieldset[disabled] .bk-toolbar-button{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.bk-bs-open .bk-bs-dropdown-toggle.bk-toolbar-button,.bk-toolbar-button.bk-bs-active,.bk-toolbar-button:active,.bk-toolbar-button:focus,.bk-toolbar-button:hover{color:#333;background-color:#ebebeb;border-color:#adadad}.bk-toolbar-button.bk-bs-disabled,.bk-toolbar-button.bk-bs-disabled.bk-bs-active,.bk-toolbar-button.bk-bs-disabled:active,.bk-toolbar-button.bk-bs-disabled:focus,.bk-toolbar-button.bk-bs-disabled:hover,.bk-toolbar-button[disabled],.bk-toolbar-button[disabled].bk-bs-active,.bk-toolbar-button[disabled]:active,.bk-toolbar-button[disabled]:focus,.bk-toolbar-button[disabled]:hover,fieldset[disabled] .bk-toolbar-button,fieldset[disabled] .bk-toolbar-button.bk-bs-active,fieldset[disabled] .bk-toolbar-button:active,fieldset[disabled] .bk-toolbar-button:focus,fieldset[disabled] .bk-toolbar-button:hover{background-color:#fff;border-color:#ccc}.bk-toolbar-button .bk-bs-badge{color:#fff;background-color:#333}.bk-canvas-wrapper{position:relative;font-size:12pt;float:left}.bk-canvas{clear:both;position:absolute;font-size:12pt}.bk-canvas-wrapper .bk-canvas-map{position:absolute!important;z-index:-5}.bk-tooltip{position:absolute;padding:5px;border:1px solid #1e4b6c;background-color:#1e4b6c;border-radius:5px;pointer-events:none}.bk-tooltip.bk-left::before{position:absolute;top:50%;width:0;border-style:solid;border-width:7px 10px 7px 0;content:" ";left:-10px;border-right-color:#1e4b6c}.bk-tooltip.bk-right::after{position:absolute;top:50%;width:0;border-style:solid;border-width:7px 0 7px 10px;content:" ";right:-10px;border-left-color:#1e4b6c}.bk-tooltip.bk-tooltip-custom.bk-left::before{border-right-color:#000}.bk-tooltip.bk-tooltip-custom.bk-right::after{border-left-color:#000}.bk-tooltip.bk-tooltip-custom{border-color:#000;background-color:#fff}.bk-tooltip-row-label{color:#9ab9b1;font-family:Helvetica,sans-serif;text-align:right}.bk-tooltip-row-value{color:#e2ddbd;font-family:Helvetica,sans-serif}.bk-tooltip-color-block{width:12px;height:12px;margin-left:5px;margin-right:5px;outline:#ddd solid 1px;display:inline-block}.bk-canvas-map{position:absolute;border:0;z-index:-5}.shading{position:absolute;display:block;border:1px dashed green;z-index:100}.gridplot_container{position:relative}.gridplot_container .gp_plotwrapper{position:absolute}.table_wrap table{display:block;margin:5px;height:300px;overflow-y:scroll}.bk-table{overflow:auto}.bokehdelete{float:right}.plottitle{padding-left:50px;padding-bottom:10px} /* END /projects/sage/sage-6.7/local/lib/python2.7/site-packages/bokeh/server/static/css/bokeh.min.css */ ").addClass(this._triggerClass).html(o?t("").attr({ src:o,alt:r,title:r}):r)),e[a?"before":"after"](i.trigger),i.trigger.click(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,r,o=new Date(2009,11,20),s=this._get(t,"dateFormat");s.match(/[DM]/)&&(e=function(t){for(i=0,n=0,r=0;r",u=Y?"
"+(B?l:"")+(this._isInRange(t,a)?"":"")+(B?"":l)+"
":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,h=this._get(t,"showWeek"),p=this._get(t,"dayNames"),d=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),_=this._get(t,"showOtherMonths"),v=this._get(t,"selectOtherMonths"),y=this._getDefaultDate(t),b="",x=0;x<U[0];x++){for(k="",this.maxRows=4,C=0;C");b+=""}if(v||(y+=b+(!o&&m&&_?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!_)y+=""+i+"";else{for(h=this._get(t,"yearRange").split(":"),p=(new Date).getFullYear(),d=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?p+parseInt(t,10):parseInt(t,10);return isNaN(e)?p:e},f=d(h[0]),g=Math.max(f,d(h[1]||"")),f=n?Math.max(f,n.getFullYear()):f,g=r?Math.min(g,r.getFullYear()):g,t.yearshtml+="";t.yearshtml+="",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,"yearSuffix"),v&&(y+=(!o&&m&&_?"":" ")+b),y+=""},_adjustInstDate:function(t,e,i){var n=t.drawYear+("Y"===i?e:0),r=t.drawMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(n,r))+("D"===i?e:0),s=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,r,o)));t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),r=i&&i>e?i:e;return n&&r>n?n:r},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var r=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,n+(0>e?e:r[0]*r[1]),1));return 0>e&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,n,r=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),s=null,a=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),s=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(s+=n),i[1].match(/[+\-].*/)&&(a+=n)),(!r||e.getTime()>=r.getTime())&&(!o||e.getTime()").appendTo(o)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(r=this.containers.length-1;r>=0;r--)this.containers[r]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,n,r,o,s=this.options,a=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<s.scrollSensitivity?this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop+s.scrollSpeed:e.pageY-this.overflowOffset.top<s.scrollSensitivity&&(this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop-s.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<s.scrollSensitivity?this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft+s.scrollSpeed:e.pageX-this.overflowOffset.left<s.scrollSensitivity&&(this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft-s.scrollSpeed)):(e.pageY-t(document).scrollTop()<s.scrollSensitivity?a=t(document).scrollTop(t(document).scrollTop()-s.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<s.scrollSensitivity&&(a=t(document).scrollTop(t(document).scrollTop()+s.scrollSpeed)),e.pageX-t(document).scrollLeft()<s.scrollSensitivity?a=t(document).scrollLeft(t(document).scrollLeft()-s.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())").addClass(this._triggerClass).html(o?t("").attr({src:o,alt:r,title:r}):r)),e[a?"before":"after"](i.trigger),i.trigger.click(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,r,o=new Date(2009,11,20),s=this._get(t,"dateFormat");s.match(/[DM]/)&&(e=function(t){for(i=0,n=0,r=0;r",u=Y?"
"+(B?l:"")+(this._isInRange(t,a)?"":"")+(B?"":l)+"
":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,h=this._get(t,"showWeek"),p=this._get(t,"dayNames"),d=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),_=this._get(t,"showOtherMonths"),v=this._get(t,"selectOtherMonths"),y=this._getDefaultDate(t),b="",x=0;x<U[0];x++){for(k="",this.maxRows=4,C=0;C");b+=""}if(v||(y+=b+(!o&&m&&_?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!_)y+=""+i+"";else{for(h=this._get(t,"yearRange").split(":"),p=(new Date).getFullYear(),d=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?p+parseInt(t,10):parseInt(t,10);return isNaN(e)?p:e},f=d(h[0]),g=Math.max(f,d(h[1]||"")),f=n?Math.max(f,n.getFullYear()):f,g=r?Math.min(g,r.getFullYear()):g,t.yearshtml+="";t.yearshtml+="",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,"yearSuffix"),v&&(y+=(!o&&m&&_?"":" ")+b),y+=""},_adjustInstDate:function(t,e,i){var n=t.drawYear+("Y"===i?e:0),r=t.drawMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(n,r))+("D"===i?e:0),s=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,r,o)));t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),r=i&&i>e?i:e;return n&&r>n?n:r},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var r=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,n+(0>e?e:r[0]*r[1]),1));return 0>e&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,n,r=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),s=null,a=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),s=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(s+=n),i[1].match(/[+\-].*/)&&(a+=n)),(!r||e.getTime()>=r.getTime())&&(!o||e.getTime()").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title||t.html(" "),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=t("
").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("
").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?void this.uiDialog.removeClass("ui-dialog-buttons"):(t.each(i,function(i,n){var r,o;n=t.isFunction(n)?{click:n,text:i}:n,n=t.extend({type:"button"},n),r=n.click,n.click=function(){r.apply(e.element[0],arguments)},o={icons:n.icons,text:n.showText},delete n.icons,delete n.showText,t("",n).button(o).appendTo(e.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),void this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,n=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(n,r){t(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",n,e(r))},drag:function(t,n){i._trigger("drag",t,e(n))},stop:function(r,o){n.position=[o.position.left-i.document.scrollLeft(),o.position.top-i.document.scrollTop()],t(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",r,e(o))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var i=this,n=this.options,r=n.resizable,o=this.uiDialog.css("position"),s="string"==typeof r?r:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:n.maxWidth,maxHeight:n.maxHeight,minWidth:n.minWidth,minHeight:this._minHeight(),handles:s,start:function(n,r){t(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",n,e(r))},resize:function(t,n){i._trigger("resize",t,e(n))},stop:function(r,o){n.height=t(this).height(),n.width=t(this).width(),t(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",r,e(o))}}).css("position",o)},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var r=this,o=!1,s={};t.each(e,function(t,e){r._setOption(t,e),t in i&&(o=!0),t in n&&(s[t]=e)}),o&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,e){var i,n,r=this.uiDialog;"dialogClass"===t&&r.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&(i=r.is(":data(ui-draggable)"),i&&!e&&r.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&(n=r.is(":data(ui-resizable)"),n&&!e&&r.resizable("destroy"),n&&"string"==typeof e&&r.resizable("option","handles",e),n||e===!1||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),e=Math.max(0,n.minHeight-t),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-t):"none","auto"===n.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("
").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return t(e.target).closest(".ui-dialog").length?!0:!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=this,i=this.widgetFullName;t.ui.dialog.overlayInstances||this._delay(function(){t.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(n){e._allowInteraction(n)||(n.preventDefault(),t(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=t("
").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),t.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(t.ui.dialog.overlayInstances--,t.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),t.ui.dialog.overlayInstances=0,t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{_position:function(){var e,i=this.options.position,n=[],r=[0,0];i?(("string"==typeof i||"object"==typeof i&&"0"in i)&&(n=i.split?i.split(" "):[i[0],i[1]],1===n.length&&(n[1]=n[0]),t.each(["left","top"],function(t,e){+n[t]===n[t]&&(r[t]=n[t],n[t]=e)}),i={my:n[0]+(r[0]<0?r[0]:"+"+r[0])+" "+n[1]+(r[1]").appendTo(o)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(r=this.containers.length-1;r>=0;r--)this.containers[r]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,n,r,o,s=this.options,a=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageYParseError: KaTeX parse error: Got function '\"' with no arguments as argument to '\"' at position 18: …"+it+"*(?:''|\"\̲"̲)"),t.querySele…|!~]?="),t.querySelectorAll(":enabled").length||z.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),z.push(",.*:")})),(w.matchesSelector=_t.test(j=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&r(function(t){w.disconnectedMatch=j.call(t,"div"),j.call(t,"[s!='']:x"),O.push("!=",st)}),z=z.length&&new RegExp(z.join("|")),O=O.length&&new RegExp(O.join("|")),e=_t.test(R.compareDocumentPosition),F=e||_t.test(R.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!w.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===L&&F(L,t)?-1:e===n||e.ownerDocument===L&&F(L,e)?1:A?tt(A,t)-tt(A,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,r=0,o=t.parentNode,a=e.parentNode,l=[t],u=[e];if(!o||!a)return t===n?-1:e===n?1:o?-1:a?1:A?tt(A,t)-tt(A,e):0;if(o===a)return s(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?s(l[r],u[r]):l[r]===L?-1:u[r]===L?1:0},n):E},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==E&&I(t),i=i.replace(ht,"='ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 34: …Selector||!N||O&̲&O.test(i)||z&&…)"))&&Y(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(r){var o=e.attr(r,t);return null==o?"!="===i:i?(o+="","="===i?o===n:"!="===i?o!==n:"^="===i?n&&0===o.indexOf(n):"*="===i?n&&o.indexOf(n)>-1:"ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 9: ="===i?n&̲&o.slice(-n.len…1"));return r[H]?n(function(t,e,i,n){for(var o,s=r(t,null,n,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,n,o){return e[0]=t,r(e,null,o,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(wt,xt),function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:n(function(t){return dt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(wt,xt).toLowerCase(),function(e){var i;do if(i=N?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===R},focus:function(t){return t===E.activeElement&&(!E.hasFocus||E.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Ft.optgroup=Ft.option,Ft.tbody=Ft.tfoot=Ft.colgroup=Ft.caption=Ft.thead,Ft.th=Ft.td,Q.extend({clone:function(t,e,i){var n,r,o,s,a=t.cloneNode(!0),l=Q.contains(t.ownerDocument,t);if(!(Z.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Q.isXMLDoc(t)))for(s=_(a),o=_(t),n=0,r=o.length;r>n;n++)v(o[n],s[n]);if(e)if(i)for(o=o||_(t),s=s||_(a),n=0,r=o.length;r>n;n++)m(o[n],s[n]);else m(t,a);return s=_(a,"script"),s.length>0&&g(s,!l&&_(t,"script")),a},buildFragment:function(t,e,i,n){for(var r,o,s,a,l,u,c=e.createDocumentFragment(),h=[],p=0,d=t.length;d>p;p++)if(r=t[p],r||0===r)if("object"===Q.type(r))Q.merge(h,r.nodeType?[r]:r);else if(Et.test(r)){for(o=o||c.appendChild(e.createElement("div")),s=(It.exec(r)||["",""])[1].toLowerCase(),a=Ft[s]||Ft._default,o.innerHTML=a[1]+r.replace(Pt,"")+a[2],u=a[0];u--;)o=o.lastChild;Q.merge(h,o.childNodes),o=c.firstChild,o.textContent=""}else h.push(e.createTextNode(r));for(c.textContent="",p=0;r=h[p++];)if((!n||-1===Q.inArray(r,n))&&(l=Q.contains(r.ownerDocument,r),o=_(c.appendChild(r),"script"),l&&g(o),i))for(u=0;r=o[u++];)zt.test(r.type||"")&&i.push(r);return c},cleanData:function(t){for(var e,i,n,r,o=Q.event.special,s=0;void 0!==(i=t[s]);s++){if(Q.acceptData(i)&&(r=i[_t.expando],r&&(e=_t.cache[r]))){if(e.events)for(n in e.events)o[n]?Q.event.remove(i,n):Q.removeEvent(i,n,e.handle);_t.cache[r]&&delete _t.cache[r]}delete vt.cache[i[vt.expando]]}}}),Q.fn.extend({text:function(t){return mt(this,function(t){return void 0===t?Q.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=p(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=p(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?Q.filter(t,this):this,r=0;null!=(i=n[r]);r++)e||1!==i.nodeType||Q.cleanData(_(i)),i.parentNode&&(e&&Q.contains(i.ownerDocument,i)&&g(_(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(Q.cleanData(_(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return Q.clone(this,t,e)})},html:function(t){return mt(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Rt.test(t)&&!Ft[(It.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Pt,"");try{for(;n>i;i++)e=this[i]||{},1===e.nodeType&&(Q.cleanData(_(e,!1)),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,Q.cleanData(_(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 95: …on(p);if(g||u>1&̲&"string"==type…","i"),Yt=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)};!function(){function e(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",s.innerHTML="",r.appendChild(o);var e=t.getComputedStyle(s,null);i="1%"!==e.top,n="4px"===e.width,r.removeChild(o)}var i,n,r=J.documentElement,o=J.createElement("div"),s=J.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",Z.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(s),t.getComputedStyle&&Q.extend(Z,{pixelPosition:function(){return e(),i},boxSizingReliable:function(){return null==n&&e(),n},reliableMarginRight:function(){var e,i=s.appendChild(J.createElement("div"));return i.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",s.style.width="1px",r.appendChild(o),e=!parseFloat(t.getComputedStyle(i,null).marginRight),r.removeChild(o),s.removeChild(i),e}}))}(),Q.swap=function(t,e,i,n){var r,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];r=i.apply(t,n||[]);for(o in e)t.style[o]=s[o];return r};var t=/(none∣table(?!−c[ea]).+)/,Vt=newRegExp("("+wt+")(.∗)t=/^(none|table(?!-c[ea]).+)/,Vt=new RegExp("^("+wt+")(.*)","i"),Ut=new RegExp("^([+-])=("+wt+")","i"),qt={position:"absolute",visibility:"hidden",display:"block"},Gt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","O","Moz","ms"];Q.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=w(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=Q.camelCase(e),l=t.style;return e=Q.cssProps[a]||(Q.cssProps[a]=k(l,a)),s=Q.cssHooks[e]||Q.cssHooks[a],void 0===i?s&&"get"in s&&void 0!==(r=s.get(t,!1,n))?r:l[e]:(o=typeof i,"string"===o&&(r=Ut.exec(i))&&(i=(r[1]+1)*r[2]+parseFloat(Q.css(t,e)),o="number"),null!=i&&i===i&&("number"!==o||Q.cssNumber[a]||(i+="px"),Z.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(i=s.set(t,i,n))||(l[e]=i)),void 0)}},css:function(t,e,i,n){var r,o,s,a=Q.camelCase(e);return e=Q.cssProps[a]||(Q.cssProps[a]=k(t.style,a)),s=Q.cssHooks[e]||Q.cssHooks[a],s&&"get"in s&&(r=s.get(t,!0,i)),void 0===r&&(r=w(t,e,n)),"normal"===r&&e in Gt&&(r=Gt[e]),""===i||i?(o=parseFloat(r),i===!0||Q.isNumeric(o)?o||0:r):r}}),Q.each(["height","width"],function(t,e){Q.cssHooks[e]={get:function(t,i,n){return i?ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 27: …s(t,"display"))&̲&0===t.offsetWi…/,Qt=new RegExp("^(?:([+-])=|)("+wt+")([a-z%]*)","i"),te=/queueHooks","i"),te=/queueHooks/,ee=[E],ie={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),r=Qt.exec(e),o=r&&r[3]||(Q.cssNumber[t]?"":"px"),s=(Q.cssNumber[t]||"px"!==o&&+n)&&Qt.exec(Q.css(i.elem,t)),a=1,l=20;if(s&&s[3]!==o){o=o||s[3],r=r||[],s=+n||1;do a=a||".5",s/=a,Q.style(i.elem,t,s+o);while(a!==(a=i.cur()/n)&&1!==a&&--l)}return r&&(s=i.start=+s||+n||0,i.unit=o,i.end=r[1]?s+(r[1]+1)*r[2]:+r[2]),i}]};Q.Animation=Q.extend(N,{tweener:function(t,e){Q.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,r=t.length;r>n;n++)i=t[n],ie[i]=ie[i]||[],ie[i].unshift(e)},prefilter:function(t,e){e?ee.unshift(t):ee.push(t)}}),Q.speed=function(t,e,i){var n=t&&"object"==typeof t?Q.extend({},t):{complete:i||!i&&e||Q.isFunction(t)&&t,duration:t,easing:i&&e||e&&!Q.isFunction(e)&&e};return n.duration=Q.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in Q.fx.speeds?Q.fx.speeds[n.duration]:Q.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){Q.isFunction(n.old)&&n.old.call(this),n.queue&&Q.dequeue(this,n.queue)},n},Q.fn.extend({fadeTo:function(t,e,i,n){return this.filter(kt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=Q.isEmptyObject(t),o=Q.speed(e,i,n),s=function(){var e=N(this,Q.extend({},t),o);(r||_t.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=Q.timers,s=_t.get(this);if(r)s[r]&&s[r].stop&&n(s[r]);else for(r in s)s[r]&&s[r].stop&&te.test(r)&&n(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(i),e=!1,o.splice(r,1));(e||!i)&&Q.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,i=_t.get(this),n=i[t+"queue"],r=i[t+"queueHooks"],o=Q.timers,s=n?n.length:0;for(i.finish=!0,Q.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;s>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),Q.each(["toggle","show","hide"],function(t,e){var i=Q.fn[e];Q.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(P(e,!0),t,n,r)}}),Q.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Q.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),Q.timers=[],Q.fx.tick=function(){var t,e=0,i=Q.timers;for(Zt=Q.now();e/g,">").replace(/"/g,""")}),function(){(function(){this.map&&i.push('\n
\n'),i.push('\n
\n
\n')}).call(this)}.call(t),t.safe=n,t.escape=r,i.join("")}},{}],35:[function(t,e,i){var n,r,o,s,a,l,u,c,h=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;u=t("underscore"),s=t("./layout_box"),c=t("./logging").logging,a=t("../mapper/linear_mapper"),l=t("../mapper/log_mapper"),r=t("../mapper/categorical_mapper"),o=t("../mapper/grid_mapper"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.type="CartesianFrame",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property("x_ranges",function(){return this._get_ranges("x")},!0),this.add_dependencies("x_ranges",this,["x_range","extra_x_ranges"]),this.register_property("y_ranges",function(){return this._get_ranges("y")},!0),this.add_dependencies("y_ranges",this,["y_range","extra_y_ranges"]),this.register_property("x_mappers",function(){return this._get_mappers("x",this.get("x_ranges"),this.get("h_range"))},!0),this.add_dependencies("x_ranges",this,["x_ranges","h_range"]),this.register_property("y_mappers",function(){return this._get_mappers("y",this.get("y_ranges"),this.get("v_range"))},!0),this.add_dependencies("y_ranges",this,["y_ranges","v_range"]),this.register_property("mapper",function(){return new o.Model({domain_mapper:this.get("x_mapper"),codomain_mapper:this.get("y_mapper")})},!0),this.add_dependencies("mapper",this,["x_mapper","y_mapper"]),this.listenTo(this.solver,"layout_update",this._update_mappers)},e.prototype.map_to_screen=function(t,e,i,n,r){var o,s,a,l;return null==n&&(n="default"),null==r&&(r="default"),a=this.get("x_mappers")[n].v_map_to_target(t),o=i.v_vx_to_sx(a),l=this.get("y_mappers")[r].v_map_to_target(e),s=i.v_vy_to_sy(l),[o,s]},e.prototype._get_ranges=function(t){var e,i,n,r;if(r={},r["default"]=this.get(t+"_range"),e=this.get("extra_"+t+"_ranges"),null!=e)for(i in e)n=e[i],r[i]=this.resolve_ref(n);return r},e.prototype._get_mappers=function(t,e,i){var n,o,s,u;o={};for(s in e){if(u=e[s],"Range1d"===u.type||"DataRange1d"===u.type)n="log"===this.get(t+"_mapper_type")?l.Model:a.Model;else{if("FactorRange"!==u.type)return logger.warn("unknown range type for range '"+s+"': "+u),null;n=r.Model}o[s]=new n({source_range:u,target_range:i})}return o},e.prototype._update_mappers=function(){var t,e,i,n,r;i=this.get("x_mappers");for(e in i)t=i[e],t.set("target_range",this.get("h_range"));n=this.get("y_mappers"),r=[];for(e in n)t=n[e],r.push(t.set("target_range",this.get("v_range")));return r},e.prototype.defaults=function(){return u.extend({},e.__super__.defaults.call(this),{extra_x_ranges:{},extra_y_ranges:{}})},e}(s.Model),e.exports={Model:n}},{"../mapper/categorical_mapper":68,"../mapper/grid_mapper":69,"../mapper/linear_mapper":71,"../mapper/log_mapper":72,"./layout_box":46,"./logging":48,underscore:22}],36:[function(t,e,i){var n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;o=t("underscore"),r=t("./continuum_view"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e.prototype.attributes={"class":"bk-closewrapper"},e.prototype.delegateEvents=function(t){return e.__super__.delegateEvents.call(this,t)},e.prototype.events={"click .bk-close":"close"},e.prototype.close=function(t){return this.view.remove(),this.remove()},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.view=t.view,this.render()},e.prototype.render=function(){return this.view.el.detach(),this.el.detach(),this.el.empty(),this.$el.html("[x]"),this.el.append(this.view.el.append(this.view.el)},e}(r),e.exports={View:n}},{"./continuum_view":38,underscore:22}],37:[function(t,e,i){var n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;n=t("backbone"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e}(n.Collection),e.exports=r},{backbone:1}],38:[function(t,e,i){var n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;o=t("underscore"),n=t("backbone"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e.prototype.initialize=function(t){return o.has(t,"id")?void 0:this.id=o.uniqueId("ContinuumView")},e.prototype.bind_bokeh_events=function(){return"pass"},e.prototype.delegateEvents=function(t){return e.__super__.delegateEvents.call(this,t)},e.prototype.remove=function(){var t,i,n;if(o.has(this,"eventers")){t=this.eventers;for(i in t)a.call(t,i)&&(n=t[i],n.off(null,null,this))}return this.trigger("remove",this),e.__super__.remove.call(this)},e.prototype.mget=function(){return this.model.get.apply(this.model,arguments)},e.prototype.mset=function(){return this.model.set.apply(this.model,arguments)},e.prototype.render_end=function(){return"pass"},e}(n.View),e.exports=r},{backbone:1,underscore:22}],39:[function(t,e,i){var n,r;n=t("underscore"),r=function(){return n.uniqueId=function(t){var e,i,n,r,o;for(r=[],e="0123456789ABCDEF",i=n=0;31>=n;i=++n)r[i]=e.substr(Math.floor(16*Math.random()),1);return r[12]="4",r[16]=e.substr(3&r[16]|8,1),o=r.join(""),t?t+"-"+o:o}},n.isNullOrUndefined=function(t){return n.isNull(t)||n.isUndefined(t)},n.setdefault=function(t,e,i){return n.has(t,e)?t[e]:(t[e]=i,i)},e.exports={monkey_patch:r}},{underscore:22}],40:[function(t,e,i){var n,r,o,s,a,l=function(t,e){function i(){this.constructor=t}for(var n in e)u.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},u={}.hasOwnProperty;a=t("underscore"),s=t("./solver"),o=t("./plot"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,a.defaults(t,this.default_options)),this.zoom_count=null},e.prototype.bind_bokeh_events=function(){var t,i,n,r,o;return e.__super__.bind_bokeh_events.call(this),o=this.frame.get("width"),i=this.frame.get("height"),n=this.canvas.vx_to_sx(this.frame.get("left")),r=this.canvas.vy_to_sy(this.frame.get("top")),this.canvas_view.map_div.attr("style","top: "+r+"px; left: "+n+"px; position: absolute"),this.canvas_view.map_div.attr("style","width:"+o+"px;"),this.canvas_view.map_div.attr("style","height:"+i+"px;"),this.canvas_view.map_div.width(o+"px").height(i+"px"),this.initial_zoom=this.mget("map_options").zoom,t=function(t){return function(){var e,i;return i=t.mget("map_options"),e={center:[i.lat,i.lng],zoom:i.zoom,node:t.canvas_view.map_div[0]},t.map=geo.map(e),t.map.createLayer("osm")}}(this),ParseError: KaTeX parse error: Expected '}', got 'EOF' at end of input: …ction(){return .getScript("http://opengeoscience.github.io/geojs/lib/d3.v3.min.js",function(){return ParseError: KaTeX parse error: Expected '}', got 'EOF' at end of input: …ction(){return .getScript("http://opengeoscience.github.io/geojs/lib/vgl.js",function(){return ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 86: …(){return t()})}̲)})})})},e.prot…el.html(this.template()),i=this.mget("toolbar_location"),null!=i&&(n=".bk-plot-"+i,g.debug("attaching toolbar to "+n+" for plot "+this.model.id),this.tm_view=new h.View({model:this.mget("tool_manager"),el:this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 4: (n)}̲)),this.render(…el.detach();for(o=n("
"),this.(".bk−plot−canvas−wrapper").empty(),this.(".bk-plot-canvas-wrapper").empty(),this.(".bk-plot-canvas-wrapper").append(o),C=this.mget("toolbar_location"),null!=C&&(M=".bk-plot-"+C,this.tm_view=new h.View({model:this.mget("tool_manager"),el:this.$(M)}),this.tm_view.render()),k=this.viewstate.get("layout_heights"),r=this.viewstate.get("layout_widths"),I=[0],d.reduceRight(k.slice(1),function(t,e){var i;return i=t+e,I.push(i),i},0),I.reverse(),A=[0],d.reduce(r.slice(0),function(t,e){var i;return i=t+e,A.push(i),i},0),_=[],c=null,b=this.mget("children"),w=l=0,f=b.length;f>l;w=++l)for(x=b[w],i=u=0,g=x.length;g>u;i=++u)m=x[i],null!=m&&(T=this.child_views[m.id],E=this.viewstate.position_child_y(I[w],T.canvas.get("height")),P=this.viewstate.position_child_x(A[i],T.canvas.get("width")),v=n("
"),v.attr("style","position: absolute; left:"+P+"px; top:"+E+"px"),v.append(T.$el),o.append(v));return t=function(t,e){return t+e},D=d.reduce(k,t,0),s=D,S=d.reduce(r,t,0),o.attr("style","position:relative; height:"+s+"px;width:"+S+"px")},e}(o),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.type="GridPlot",e.prototype.default_view=a,e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property("tool_manager",function(){var t,e,i,n,r;for(t=[],r=d.flatten(this.get("children")),e=0,i=r.length;i>e;e++)n=r[e],null!=n&&t.push(n);return new l({tool_managers:function(){var e,i,r;for(r=[],e=0,i=t.length;i>e;e++)n=t[e],r.push(n.get("tool_manager"));return r}(),toolbar_location:this.get("toolbar_location"),num_plots:t.length})},!0)},e.prototype.defaults=function(){return d.extend({},e.__super__.defaults.call(this),{children:[[]],toolbar_location:"left"})},e}(c),e.exports={Model:s,View:a}},{"./build_views":31,"./continuum_view":38,"./has_properties":44,"./logging":48,"./plot_template":52,"./tool_manager":64,backbone:1,jquery:17,underscore:22}],43:[function(t,e,i){var n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;o=t("underscore"),r=t("./has_properties"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this._parent=r.prototype.get.apply(this,["parent"])},e.prototype.get=function(t){var i;return this._display_defaults||(this._display_defaults=this.display_defaults()),"parent"===t?this._parent:(i=e.__super__.get.call(this,t),o.isUndefined(i)?this._parent&&o.indexOf(this._parent.parent_properties,t)>=0&&(i=this._parent.get(t),!o.isUndefined(i))?i:this._display_defaults[t]:i)},e.prototype.display_defaults=function(){return{}},e}(r),e.exports=n},{"./has_properties":44,underscore:22}],44:[function(t,e,i){var n,r,o,s,a,l,u=function(t,e){return function(){return t.apply(e,arguments)}},c=function(t,e){function i(){this.constructor=t}for(var n in e)h.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},h={}.hasOwnProperty;n=t("jquery"),s=t("underscore"),r=t("backbone"),l=t("./logging").logger,a=function(t){var e;if(s.isObject(t)){if(e=s.keys(t).sort(),2===e.length)return"id"===e[0]&&"type"===e[1];if(3===e.length)return"id"===e[0]&&"subtype"===e[1]&&"type"===e[2]}return!1},o=function(e){function i(t,e){this.rpc=u(this.rpc,this),this.resolve_ref=u(this.resolve_ref,this),this.convert_to_ref=u(this.convert_to_ref,this); var i;i=t||{},e||(e={}),this.cid=s.uniqueId("c"),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{}),i=s.defaults({},i,s.result(this,"defaults")),this.set(i,e),this.changed={},this._base=!1,this.properties={},this.property_cache={},s.has(i,this.idAttribute)||(this.id=s.uniqueId(this.type),this.attributes[this.idAttribute]=this.id),e.defer_initialization||this.initialize.apply(this,arguments)}return c(i,e),i.prototype.toString=function(){return this.type+"("+this.id+")"},i.prototype.destroy=function(t){return i.__super__.destroy.call(this,t),this.stopListening()},i.prototype.isNew=function(){return!1},i.prototype.attrs_and_props=function(){var t,e,i,n,r;for(t=s.clone(this.attributes),r=s.keys(this.properties),e=0,i=r.length;i>e;e++)n=r[e],t[n]=this.get(n);return t},i.prototype.forceTrigger=function(t){var e,i,n,r,o;for(s.isArray(t)||(t=[t]),o={},i=this._changing,this._changing=!0,t.length&&(this._pending=!0),n=0,r=t.length;r>n;n++)e=t[n],this.trigger("change:"+e,this,this.attributes[e],o);if(i)return this;for(;this._pending;)this._pending=!1,this.trigger("change",this,o);return this._pending=!1,this._changing=!1,this},i.prototype.set_obj=function(t,e,i){var n,r;s.isObject(t)||null===t?(n=t,i=e):(n={},n[t]=e);for(t in n)h.call(n,t)&&(r=n[t],n[t]=this.convert_to_ref(r));return this.set(n,i)},i.prototype.set=function(t,e,n){var r,o,a,l,u;s.isObject(t)||null===t?(r=t,n=e):(r={},r[t]=e),l=[];for(t in r)h.call(r,t)&&(u=r[t],s.has(this,"properties")&&s.has(this.properties,t)&&this.properties[t].setter&&(this.properties[t].setter.call(this,u,t),l.push(t)));if(!s.isEmpty(l))for(r=s.clone(r),o=0,a=l.length;a>o;o++)t=l[o],delete r[t];return s.isEmpty(r)?void 0:i.__super__.set.call(this,r,n)},i.prototype.convert_to_ref=function(t){return s.isArray(t)?s.map(t,this.convert_to_ref):t instanceof i?t.ref():void 0},i.prototype.add_dependencies=function(t,e,i){var n,r,o,a,l;for(s.isArray(i)||(i=[i]),a=this.properties[t],a.dependencies=a.dependencies.concat({obj:e,fields:i}),l=[],r=0,o=i.length;o>r;r++)n=i[r],l.push(this.listenTo(e,"change:"+n,a.callbacks.changedep));return l},i.prototype.register_setter=function(t,e){var i;return i=this.properties[t],i.setter=e},i.prototype.register_property=function(t,e,i){var n,r,o;return s.isUndefined(i)&&(i=!0),s.has(this.properties,t)&&this.remove_property(t),n=function(e){return function(){return e.trigger("changedep:"+t)}}(this),o=function(e){return function(){var i,n,o;return i=!0,r.use_cache&&(o=e.get_cache(t),e.clear_cache(t),n=e.get(t),i=n!==o),i?(e.trigger("change:"+t,e,e.get(t)),e.trigger("change",e)):void 0}}(this),r={getter:e,dependencies:[],use_cache:i,setter:null,callbacks:{changedep:n,propchange:o}},this.properties[t]=r,this.listenTo(this,"changedep:"+t,r.callbacks.propchange),r},i.prototype.remove_property=function(t){var e,i,n,r,o,s,a,l,u,c;for(u=this.properties[t],i=u.dependencies,r=0,s=i.length;s>r;r++)for(e=i[r],l=e.obj,c=e.fields,o=0,a=c.length;a>o;o++)n=c[o],l.off("change:"+n,u.callbacks.changedep,this);return this.off("changedep:"+e),delete this.properties[t],u.use_cache?this.clear_cache(t):void 0},i.prototype.has_cache=function(t){return s.has(this.property_cache,t)},i.prototype.add_cache=function(t,e){return this.property_cache[t]=e},i.prototype.clear_cache=function(t,e){return delete this.property_cache[t]},i.prototype.get_cache=function(t){return this.property_cache[t]},i.prototype.get=function(t,e){var n;return null==e&&(e=!0),s.has(this.properties,t)?this._get_prop(t):(n=i.__super__.get.call(this,t),e?this.resolve_ref(n):n)},i.prototype._get_prop=function(t){var e,i,n;return n=this.properties[t],n.use_cache&&this.has_cache(t)?this.property_cache[t]:(i=n.getter,e=i.apply(this,[t]),this.properties[t].use_cache&&this.add_cache(t,e),e)},i.prototype.ref=function(){return{type:this.type,id:this.id}},i.prototype.resolve_ref=function(t){var e;return s.isUndefined(t)?t:s.isArray(t)?function(){var i,n,r;for(r=[],i=0,n=t.length;n>i;i++)e=t[i],r.push(this.resolve_ref(e));return r}.call(this):a(t)?t.type===this.type&&t.id===this.id?this:this.get_base().Collections(t.type).get(t.id):t},i.prototype.get_base=function(){return this._base||(this._base=t("./base")),this._base},i.prototype.url=function(){var t,e;return t=this.get("doc"),null==t&&l.error("unset 'doc' in "+this),e=this.get_base().Config.prefix+"bokeh/bb/"+t+"/"+this.type+"/",this.isNew()?e:e+this.get("id")+"/"},i.prototype.sync=function(t,e,i){return i.success(e.attributes,null,{})},i.prototype.defaults=function(){return{}},i.prototype.rpc=function(t,e,i){var r,o,s,a,l,u,c;if(a=this.get_base().Config.prefix,o=this.get("doc"),null==o)throw new Error("Unset 'doc' in "+this);return s=this.get("id"),u=this.type,c=a+"bokeh/bb/rpc/"+o+"/"+u+"/"+s+"/"+t+"/",r={args:e,kwargs:i},l=n.ajax({type:"POST",url:c,data:JSON.stringify(r),contentType:"application/json",xhrFields:{withCredentials:!0}})},i}(r.Model),e.exports=o},{"./base":29,"./logging":48,backbone:1,jquery:17,underscore:22}],45:[function(t,e,i){var n,r,o,s,a,l,u;l=function(t,e,i,n){var r,o,s,a,l,u,c,h;for(o=!1,l=i[i.length-1],c=n[n.length-1],r=s=0,a=i.length;a>=0?a>s:s>a;r=a>=0?++s:--s)u=i[r],h=n[r],e>c!=e>h&&t>l+(e-c)/(h-c)*(u-l)&&(o=!o),l=u,c=h;return o},r=function(){var t;return t={"0d":{flag:!1,indices:[]},"1d":{indices:[]},"2d":{indices:[]}}},u=function(t){return t*t},o=function(t,e,i,n){return u(t-i)+u(e-n)},a=function(t,e,i){var n,r;return n=o(e.x,e.y,i.x,i.y),0===n?o(t.x,t.y,e.x,e.y):(r=((t.x-e.x)*(i.x-e.x)+(t.y-e.y)*(i.y-e.y))/n,0>r?o(t.x,t.y,e.x,e.y):r>1?o(t.x,t.y,i.x,i.y):o(t.x,t.y,e.x+r*(i.x-e.x),e.y+r*(i.y-e.y)))},s=function(t,e,i){return Math.sqrt(a(t,e,i))},n=function(t,e,i,n,r,o,s,a){var l,u,c,h,p,d,f;return c=(a-o)*(i-t)-(s-r)*(n-e),0===c?{hit:!1,x:null,y:null}:(l=e-o,u=t-r,h=(s-r)*l-(a-o)*u,p=(i-t)*l-(n-e)*u,l=h/c,u=p/c,d=t+l*(i-t),f=e+l*(n-e),{hit:l>0&&1>l&&u>0&&1>u,x:d,y:f})},e.exports={point_in_poly:l,create_hit_test_result:r,dist_2_pts:o,dist_to_segment:s,check_2_segments_intersect:n}},{}],46:[function(t,e,i){(function(i){var n,r,o,s,a,l,u,c,h,p,d,f,g=function(t,e){function i(){this.constructor=t}for(var n in e)m.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},m={}.hasOwnProperty;d=t("underscore"),null!=i._bokehTest?f={}:(f=t("kiwi"),p=f.Variable,o=f.Expression,n=f.Constraint,c=f.Operator,r=c.Eq,u=c.Le,s=c.Ge),a=t("./has_properties"),h=t("../range/range1d"),l=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return g(e,t),e.prototype.type="LayoutBox",e.prototype.initialize=function(t,i){var a,l,u,c,d,g,m,_;for(e.__super__.initialize.call(this,t,i),this.solver=this.get("solver"),this.var_constraints={},g=["top","left","width","height"],a=0,u=g.length;u>a;a++)_=g[a],d="_"+_,this[d]=new p(_),this.register_property(_,this._get_var,!1),this.register_setter(_,this._set_var),this.solver.add_edit_variable(this[d],f.Strength.strong);for(m=["right","bottom"],l=0,c=m.length;c>l;l++)_=m[l],d="_"+_,this[d]=new p(_),this.register_property(_,this._get_var,!1);return this.solver.add_constraint(new n(new o(this._top),s)),this.solver.add_constraint(new n(new o(this._bottom),s)),this.solver.add_constraint(new n(new o(this._left),s)),this.solver.add_constraint(new n(new o(this._right),s)),this.solver.add_constraint(new n(new o(this._width),s)),this.solver.add_constraint(new n(new o(this._height),s)),this.solver.add_constraint(new n(new o(this._left,this._width,[-1,this._right]),r)),this.solver.add_constraint(new n(new o(this._bottom,this._height,[-1,this._top]),r)),this._h_range=new h.Model({start:this.get("left"),end:this.get("left")+this.get("width")}),this.register_property("h_range",function(t){return function(){return t._h_range.set("start",t.get("left")),t._h_range.set("end",t.get("left")+t.get("width")),t._h_range}}(this),!1),this.add_dependencies("h_range",this,["left","width"]),this._v_range=new h.Model({start:this.get("bottom"),end:this.get("bottom")+this.get("height")}),this.register_property("v_range",function(t){return function(){return t._v_range.set("start",t.get("bottom")),t._v_range.set("end",t.get("bottom")+t.get("height")),t._v_range}}(this),!1),this.add_dependencies("v_range",this,["bottom","height"]),this._aspect_constraint=null,this.register_property("aspect",function(t){return function(){return t.get("width")/t.get("height")}}(this),!0),this.register_setter("aspect",this._set_aspect),this.add_dependencies("aspect",this,["width","height"])},e.prototype.contains=function(t,e){return t>=this.get("left")&&t/g,">").replace(/"/g,""")}),function(){(function(){i.push("
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n")}).call(this)}.call(t),t.safe=n,t.escape=r,i.join("")}},{}],53:[function(t,e,i){var n,r,o,s;n=["image","underlay","glyph","overlay","annotation","tool"],r=function(t){return t()},o=("undefined"!=typeof window&&null!==window?window.requestAnimationFrame:void 0)||("undefined"!=typeof window&&null!==window?window.mozRequestAnimationFrame:void 0)||("undefined"!=typeof window&&null!==window?window.webkitRequestAnimationFrame:void 0)||("undefined"!=typeof window&&null!==window?window.msRequestAnimationFrame:void 0)||r,s=function(t,e){var i,n,r,s,a,l,u,c;return l=[null,null,null,null],n=l[0],i=l[1],c=l[2],u=l[3],a=0,s=!1,r=function(){return a=new Date,c=null,s=!1,u=t.apply(n,i)},function(){var t,l;return t=new Date,l=e-(t-a),n=this,i=arguments,0>=l&&!s?(clearTimeout(c),s=!0,o(r)):c||(c=setTimeout(function(){return o(r)},l)),u}},e.exports={LEVELS:n,throttle_animation:s}},{}],54:[function(t,e,i){var n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;n=t("./continuum_view"),r=function(t){function i(){return i.__super__.constructor.apply(this,arguments)}return o(i,t),i.prototype.tagName="div",i.prototype.initialize=function(t){return this.plot_model=t.plot_model,this.plot_view=t.plot_view},i.prototype.bind_bokeh_events=function(){},i.prototype.request_render=function(){return this.plot_view.request_render()},e.exports=i,i}(n)},{"./continuum_view":38}],55:[function(t,e,i){var n,r,o,s,a,l,u,c,h,p,d,f,g,m,_,v,y,b,w,x,k,C,M,D=function(t,e){function i(){this.constructor=t}for(var n in e)T.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},T={}.hasOwnProperty,S=[].indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(e in this&&this[e]===t)return e;return-1};y=t("underscore"),d=t("./has_properties"),C=t("./svg_colors"),m=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){var n,r,o;if(e.__super__.initialize.call(this,t,i),o=this.get("obj"),n=this.get("attr"),r=o.get(n),y.isObject(r)&&!y.isArray(r))if(this.spec=r,null!=this.spec.value)this.fixed_value=this.spec.value;else{if(null==this.spec.field)throw new Error("spec for property '"+n+"' needs one of 'value' or 'field'");this.field=this.spec.field}else this.fixed_value=r;if(null!=this.field&&!y.isString(this.field))throw new Error("field value for property '"+n+"' is not a string");return null!=this.fixed_value?this.validate(this.fixed_value,n):void 0},e.prototype.value=function(){var t;return t=null!=this.fixed_value?this.fixed_value:0/0,this.transform([t])[0]},e.prototype.array=function(t){var e,i,n,r;return e=t.get("data"),null!=this.field&&this.field in e?this.transform(t.get_column(this.field)):(n=t.get_length(),null==n&&(n=1),r=this.value(),function(){var t,e,o;for(o=[],i=t=0,e=n;e>=0?e>t:t>e;i=e>=0?++t:--t)o.push(r);return o}())},e.prototype.transform=function(t){return t},e.prototype.validate=function(t,e){return!0},e}(d),g=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.validate=function(t,e){if(!y.isNumber(t))throw new Error("numeric property '"+e+"' given invalid value: "+t);return!0},e.prototype.transform=function(t){var e,i,n,r;for(r=new Float64Array(t.length),e=i=0,n=t.length;n>=0?n>i:i>n;e=n>=0?++i:--i)r[e]=t[e];return r},e}(m),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){var n,r,o,s,a;if(e.__super__.initialize.call(this,t,i),r=this.get("obj"),n=this.get("attr"),this.units=null!=(o=null!=(s=null!=(a=this.spec)?a.units:void 0)?s:r.get(n+"_units"))?o:"rad","deg"!==this.units&&"rad"!==this.units)throw new Error("Angle units must be one of 'deg' or 'rad', given invalid value: "+this.units)},e.prototype.transform=function(t){var i;return"deg"===this.units&&(t=function(){var e,n,r;for(r=[],e=0,n=t.length;n>e;e++)i=t[e],r.push(i*Math.PI/180);return r}()),t=function(){var e,n,r;for(r=[],e=0,n=t.length;n>e;e++)i=t[e],r.push(-i);return r}(),e.__super__.transform.call(this,t)},e}(g),c=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){var n,r,o,s,a;if(e.__super__.initialize.call(this,t,i),r=this.get("obj"),n=this.get("attr"),this.units=null!=(o=null!=(s=null!=(a=this.spec)?a.units:void 0)?s:r.get(n+"_units"))?o:"data","data"!==this.units&&"screen"!==this.units)throw new Error("Distance units must be one of 'data' or 'screen', given invalid value: "+this.units)},e}(g),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.validate=function(t,e){ if(!y.isArray(t))throw new Error("array property '"+e+"' given invalid value: "+t);return!0},e}(m),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.validate=function(t,e){if(!y.isBoolean(t))throw new Error("boolean property '"+e+"' given invalid value: "+t);return!0},e}(m),l=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.validate=function(t,e){if(!y.isNumber(t)&&!y.isString(t))throw new Error("coordinate property '"+e+"' given invalid value: "+t);return!0},e}(m),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.validate=function(t,e){if(null==C[t]&&"#"!==t.substring(0,1))throw new Error("color property '"+e+"' given invalid value: "+t);return!0},e}(m),_=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.validate=function(t,e){if(!y.isString(t))throw new Error("string property '"+e+"' given invalid value: "+t);return!0},e}(m),h=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return D(e,t),e.prototype.initialize=function(t,i){return this.levels=t.values.split(" "),e.__super__.initialize.call(this,t,i)},e.prototype.validate=function(t,e){if(S.call(this.levels,t)/g,">").replace(/"/g,""")}),function(){(function(){null!=this.logo&&"grey"===this.logo?i.push("\n \n"):null!=this.logo&&i.push("\n\n"),i.push("\n
\n
    \n
      \n
        \n
          \n
            \n
              \n
                \n
                \n
                  \n
                \n")}).call(this)}.call(t),t.safe=n,t.escape=r,i.join("")}},{}],66:[function(t,e,i){(function(i){var n,r,o,s,a,l,u,c,h=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;n=t("jquery"),r=t("backbone"),null!=i._bokehTest?(c=i._bokehTest,o=c.Hammer,u=c.mousewhweel):(o=t("hammerjs"),l=t("jquery-mousewheel")(n)),a=t("./logging").logger,s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.initialize=function(t,i){var r;return e.__super__.initialize.call(this,t,i),r=this.get("hit_area"),this.hammer=new o(r[0]),this.hammer.get("doubletap").recognizeWith("tap"),this.hammer.get("tap").requireFailure("doubletap"),this.hammer.get("doubletap").dropRequireFailure("tap"),this.hammer.on("doubletap",function(t){return function(e){return t._doubletap(e)}}(this)),this.hammer.on("tap",function(t){return function(e){return t._tap(e)}}(this)),this.hammer.on("press",function(t){return function(e){return t._press(e)}}(this)),this.hammer.get("pan").set({direction:o.DIRECTION_ALL}),this.hammer.on("panstart",function(t){return function(e){return t._pan_start(e)}}(this)),this.hammer.on("pan",function(t){return function(e){return t._pan(e)}}(this)),this.hammer.on("panend",function(t){return function(e){return t._pan_end(e)}}(this)),this.hammer.get("pinch").set({enable:!0}),this.hammer.on("pinchstart",function(t){return function(e){return t._pinch_start(e)}}(this)),this.hammer.on("pinch",function(t){return function(e){return t._pinch(e)}}(this)),this.hammer.on("pinchend",function(t){return function(e){return t._pinch_end(e)}}(this)),this.hammer.get("rotate").set({enable:!0}),this.hammer.on("rotatestart",function(t){return function(e){return t._rotate_start(e)}}(this)),this.hammer.on("rotate",function(t){return function(e){return t._rotate(e)}}(this)),this.hammer.on("rotateend",function(t){return function(e){return t._rotate_end(e)}}(this)),r.mousemove(function(t){return function(e){return t._mouse_move(e)}}(this)),r.mouseenter(function(t){return function(e){return t._mouse_enter(e)}}(this)),r.mouseleave(function(t){return function(e){return t._mouse_exit(e)}}(this)),r.mousewheel(function(t){return function(e,i){return t._mouse_wheel(e,i)}}(this)),n(document).keydown(function(t){return function(e){return t._key_down(e)}}(this)),n(document).keyup(function(t){return function(e){return t._key_up(e)}}(this))},e.prototype.register_tool=function(t){var e,i,n;return e=t.mget("event_type"),i=t.mget("id"),n=t.model.type,null==e?void a.debug("Button tool: "+n):("pan"===e||"pinch"===e||"rotate"===e?(a.debug("Registering tool: "+n+" for event '"+e+"'"),null!=t["_"+e+"_start"]&&t.listenTo(this,e+":start:"+i,t["_"+e+"_start"]),t["_"+e]&&t.listenTo(this,e+":"+i,t["_"+e]),t["_"+e+"_end"]&&t.listenTo(this,e+":end:"+i,t["_"+e+"_end"])):"move"===e?(a.debug("Registering tool: "+n+" for event '"+e+"'"),null!=t._move_enter&&t.listenTo(this,"move:enter",t._move_enter),t.listenTo(this,"move",t._move),null!=t._move_exit&&t.listenTo(this,"move:exit",t._move_exit)):(a.debug("Registering tool: "+n+" for event '"+e+"'"),t.listenTo(this,e+":"+i,t["_"+e])),null!=t._keydown&&(a.debug("Registering tool: "+n+" for event 'keydown'"),t.listenTo(this,"keydown",t._keydown)),null!=t._keyup&&(a.debug("Registering tool: "+n+" for event 'keyup'"),t.listenTo(this,"keyup",t._keyup)),null!=t._doubletap?(a.debug("Registering tool: "+n+" for event 'doubletap'"),t.listenTo(this,"doubletap",t._doubletap)):void 0)},e.prototype._trigger=function(t,e){var i,n,r,o;return o=this.get("tool_manager"),n=t.split(":")[0],r=o.get("gestures"),i=r[n].active,null!=i?this.trigger(t+":"+i.id,e):void 0},e.prototype._bokify_hammer=function(t){var e,i,r,o,s;return"mouse"===t.pointerType?(i=n(t.target).offset(),e=null!=(r=i.left)?r:0,s=null!=(o=i.top)?o:0,t.bokeh={sx:t.srcEvent.pageX-e,sy:t.srcEvent.pageY-s}):t.bokeh={sx:t.center.x,sy:t.center.y}},e.prototype._bokify_jq=function(t){var e,i,r,o,s;return i=n(t.currentTarget).offset(),e=null!=(r=i.left)?r:0,s=null!=(o=i.top)?o:0,t.bokeh={sx:t.pageX-e,sy:t.pageY-s}},e.prototype._tap=function(t){return this._bokify_hammer(t),this._trigger("tap",t)},e.prototype._doubletap=function(t){return this._bokify_hammer(t),this.trigger("doubletap",t)},e.prototype._press=function(t){return this._bokify_hammer(t),this._trigger("press",t)},e.prototype._pan_start=function(t){return this._bokify_hammer(t),t.bokeh.sx-=t.deltaX,t.bokeh.sy-=t.deltaY,this._trigger("pan:start",t)},e.prototype._pan=function(t){return this._bokify_hammer(t),this._trigger("pan",t)},e.prototype._pan_end=function(t){return this._bokify_hammer(t),this._trigger("pan:end",t)},e.prototype._pinch_start=function(t){return this._bokify_hammer(t),this._trigger("pinch:start",t)},e.prototype._pinch=function(t){return this._bokify_hammer(t),this._trigger("pinch",t)},e.prototype._pinch_end=function(t){return this._bokify_hammer(t),this._trigger("pinch:end",t)},e.prototype._rotate_start=function(t){return this._bokify_hammer(t),this._trigger("rotate:start",t)},e.prototype._rotate=function(t){return this._bokify_hammer(t),this._trigger("rotate",t)},e.prototype._rotate_end=function(t){return this._bokify_hammer(t),this._trigger("rotate:end",t)},e.prototype._mouse_enter=function(t){return this._bokify_jq(t),this.trigger("move:enter",t)},e.prototype._mouse_move=function(t){return this._bokify_jq(t),this.trigger("move",t)},e.prototype._mouse_exit=function(t){return this._bokify_jq(t),this.trigger("move:exit",t)},e.prototype._mouse_wheel=function(t,e){return this._bokify_jq(t),t.bokeh.delta=e,this._trigger("scroll",t),t.preventDefault(),t.stopPropagation()},e.prototype._key_down=function(t){return this.trigger("keydown",t)},e.prototype._key_up=function(t){return this.trigger("keyup",t)},e}(r.Model),e.exports=s}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./logging":48,backbone:1,hammerjs:2,jquery:17,"jquery-mousewheel":3}],67:[function(t,e,i){var n,r,o,s;r={},r.require=t,r.version="0.9.0",r.index=t("./common/base").index,s=t("./common/logging"),r.logger=s.logger,r.set_log_level=s.set_log_level,window.Float64Array||(r.logger.warn("Float64Array is not supported. Using generic Array instead."),window.Float64Array=Array),r._=t("underscore"),r.=n=o=t("jquery"),t("jquery−ui"),r.Backbone=t("backbone"),r.Backbone.=n=o=t("jquery"),t("jquery-ui"),r.Backbone=t("backbone"),r.Backbone.=r.,r.Backbone.,r.Backbone..ui=o.ui,r.Collections=t("./common/base").Collections,r.Config=t("./common/base").Config,r.CartesianFrame=t("./common/cartesian_frame"),r.Canvas=t("./common/canvas"),r.GMapPlot=t("./common/gmap_plot"),r.GeoJSPlot=t("./common/geojs_plot"),r.GridPlot=t("./common/grid_plot"),r.HasParent=t("./common/has_parent"),r.HasProperties=t("./common/has_properties"),r.LayoutBox=t("./common/layout_box"),r.Plot=t("./common/plot"),r.Properties=t("./common/properties"),r.SelectionManager=t("./common/selection_manager"),r.Selector=t("./common/selector"),r.ToolEvents=t("./common/tool_events"),r.build_views=t("./common/build_views"),r.bulk_save=t("./common/bulk_save"),r.ContinuumView=t("./common/continuum_view"),r.load_models=t("./common/load_models"),r.PlotContext=t("./common/plot_context"),r.PlotWidget=t("./common/plot_widget"),r.Random=t("./common/random"),r.SVGColors=t("./common/svg_colors"),r.LinearMapper=t("./mapper/linear_mapper"),r.LogMapper=t("./mapper/log_mapper"),r.CategoricalMapper=t("./mapper/categorical_mapper"),r.GridMapper=t("./mapper/grid_mapper"), r.LinearColorMapper=t("./mapper/linear_color_mapper"),r.Palettes=t("./palettes/palettes"),r.Legend=t("./renderer/annotation/legend"),r.Span=t("./renderer/annotation/span"),r.Tooltip=t("./renderer/annotation/tooltip"),r.CategoricalAxis=t("./renderer/guide/categorical_axis"),r.DatetimeAxis=t("./renderer/guide/datetime_axis"),r.Grid=t("./renderer/guide/grid"),r.LinearAxis=t("./renderer/guide/linear_axis"),r.LogAxis=t("./renderer/guide/log_axis"),r.BoxSelection=t("./renderer/overlay/box_selection"),r.PolySelection=t("./renderer/overlay/poly_selection"),r.embed=t("./server/embed"),r.serverutils=t("./server/serverutils"),r.ColumnDataSource=t("./source/column_data_source"),r.AbstractTicker=t("./ticking/abstract_ticker"),r.AdaptiveTicker=t("./ticking/adaptive_ticker"),r.BasicTicker=t("./ticking/basic_ticker"),r.BasicTickFormatter=t("./ticking/basic_tick_formatter"),r.LogTicker=t("./ticking/log_ticker"),r.LogTickFormatter=t("./ticking/log_tick_formatter"),r.CategoricalTicker=t("./ticking/categorical_ticker"),r.CategoricalTickFormatter=t("./ticking/categorical_tick_formatter"),r.CompositeTicker=t("./ticking/composite_ticker"),r.DatetimeTicker=t("./ticking/datetime_ticker"),r.DatetimeTickFormatter=t("./ticking/datetime_tick_formatter"),r.DaysTicker=t("./ticking/days_ticker"),r.MonthsTicker=t("./ticking/months_ticker"),r.SingleIntervalTicker=t("./ticking/single_interval_ticker"),r.YearsTicker=t("./ticking/years_ticker"),r.ActionTool=t("./tool/actions/action_tool"),r.PreviewSaveTool=t("./tool/actions/preview_save_tool"),r.ResetTool=t("./tool/actions/reset_tool"),r.HelpTool=t("./tool/actions/help_tool"),r.BoxSelectTool=t("./tool/gestures/box_select_tool"),r.BoxZoomTool=t("./tool/gestures/box_zoom_tool"),r.LassoSelectTool=t("./tool/gestures/lasso_select_tool"),r.PanTool=t("./tool/gestures/pan_tool"),r.PolySelectTool=t("./tool/gestures/poly_select_tool"),r.ResizeTool=t("./tool/gestures/resize_tool"),r.SelectTool=t("./tool/gestures/select_tool"),r.TapTool=t("./tool/gestures/tap_tool"),r.WheelZoomTool=t("./tool/gestures/wheel_zoom_tool"),r.InspectTool=t("./tool/inspectors/inspect_tool"),r.HoverTool=t("./tool/inspectors/hover_tool"),r.CrosshairTool=t("./tool/inspectors/crosshair_tool"),r.HBox=t("./widget/hbox"),r.VBox=t("./widget/vbox"),r.TextInput=t("./widget/text_input"),t("./api/plugin"),r.Bokeh=r,window.Bokeh=r,e.exports=r},{"./api/plugin":27,"./common/base":29,"./common/build_views":31,"./common/bulk_save":32,"./common/canvas":33,"./common/cartesian_frame":35,"./common/continuum_view":38,"./common/geojs_plot":40,"./common/gmap_plot":41,"./common/grid_plot":42,"./common/has_parent":43,"./common/has_properties":44,"./common/layout_box":46,"./common/load_models":47,"./common/logging":48,"./common/plot":50,"./common/plot_context":51,"./common/plot_widget":54,"./common/properties":55,"./common/random":56,"./common/selection_manager":57,"./common/selector":58,"./common/svg_colors":61,"./common/tool_events":63,"./mapper/categorical_mapper":68,"./mapper/grid_mapper":69,"./mapper/linear_color_mapper":70,"./mapper/linear_mapper":71,"./mapper/log_mapper":72,"./palettes/palettes":73,"./renderer/annotation/legend":77,"./renderer/annotation/span":78,"./renderer/annotation/tooltip":79,"./renderer/guide/categorical_axis":117,"./renderer/guide/datetime_axis":118,"./renderer/guide/grid":119,"./renderer/guide/linear_axis":120,"./renderer/guide/log_axis":121,"./renderer/overlay/box_selection":122,"./renderer/overlay/poly_selection":123,"./server/embed":124,"./server/serverutils":125,"./source/column_data_source":132,"./ticking/abstract_ticker":135,"./ticking/adaptive_ticker":136,"./ticking/basic_tick_formatter":137,"./ticking/basic_ticker":138,"./ticking/categorical_tick_formatter":139,"./ticking/categorical_ticker":140,"./ticking/composite_ticker":141,"./ticking/datetime_tick_formatter":142,"./ticking/datetime_ticker":143,"./ticking/days_ticker":144,"./ticking/log_tick_formatter":145,"./ticking/log_ticker":146,"./ticking/months_ticker":147,"./ticking/single_interval_ticker":150,"./ticking/years_ticker":152,"./tool/actions/action_tool":153,"./tool/actions/help_tool":154,"./tool/actions/preview_save_tool":155,"./tool/actions/reset_tool":157,"./tool/gestures/box_select_tool":160,"./tool/gestures/box_zoom_tool":161,"./tool/gestures/lasso_select_tool":163,"./tool/gestures/pan_tool":164,"./tool/gestures/poly_select_tool":165,"./tool/gestures/resize_tool":166,"./tool/gestures/select_tool":167,"./tool/gestures/tap_tool":168,"./tool/gestures/wheel_zoom_tool":169,"./tool/inspectors/crosshair_tool":170,"./tool/inspectors/hover_tool":171,"./tool/inspectors/inspect_tool":172,"./widget/hbox":194,"./widget/text_input":215,"./widget/vbox":218,backbone:1,jquery:17,"jquery-ui":10,underscore:22}],68:[function(t,e,i){var n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;o=t("underscore"),r=t("./linear_mapper"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e.prototype.map_to_target=function(t,i){var n,r,s,a,l;return null==i&&(i=!1),o.isNumber(t)?i?t:e.__super__.map_to_target.call(this,t):(r=this.get("source_range").get("factors"),t.indexOf(":")>=0?(a=t.split(":"),n=a[0],s=a[1],s=parseFloat(s),l=r.indexOf(n)+.5+s):l=r.indexOf(t)+1,i?l:e.__super__.map_to_target.call(this,l))},e.prototype.v_map_to_target=function(t,i){var n,r,s,a,l,u,c,h,p;if(null==i&&(i=!1),o.isNumber(t[0]))return i?t:e.__super__.v_map_to_target.call(this,t);for(r=this.get("source_range").get("factors"),h=Array(t.length),s=a=0,u=t.length;u>=0?u>a:a>u;s=u>=0?++a:--a)p=t[s],p.indexOf(":")>=0?(c=p.split(":"),n=c[0],l=c[1],l=parseFloat(l),h[s]=r.indexOf(n)+.5+l):h[s]=r.indexOf(p)+1;return i?h:e.__super__.v_map_to_target.call(this,h)},e.prototype.map_from_target=function(t,i){var n;return null==i&&(i=!1),t=e.__super__.map_from_target.call(this,t),i?t:(n=this.get("source_range").get("factors"),n[Math.floor(t-.5)])},e.prototype.v_map_from_target=function(t,i){var n,r,o,s,a,l,u,c;for(null==i&&(i=!1),c=e.__super__.v_map_from_target.call(this,t),r=o=0,a=c.length;a>=0?a>o:o>a;r=a>=0?++o:--o)c[r]=c[r];if(i)return c;for(u=Array(c),n=this.get("source_range").get("factors"),r=s=0,l=t.length;l>=0?l>s:s>l;r=l>=0?++s:--s)u[r]=n[Math.floor(c[r]-.5)];return u},e}(r.Model),e.exports={Model:n}},{"./linear_mapper":71,underscore:22}],69:[function(t,e,i){var n,r,o=function(t,e){function i(){this.constructor=t}for(var n in e)s.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=t("../common/has_properties"),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return o(e,t),e.prototype.map_to_target=function(t,e){var i,n;return i=this.get("domain_mapper").map_to_target(t),n=this.get("codomain_mapper").map_to_target(e),[i,n]},e.prototype.v_map_to_target=function(t,e){var i,n;return i=this.get("domain_mapper").v_map_to_target(t),n=this.get("codomain_mapper").v_map_to_target(e),[i,n]},e.prototype.map_from_target=function(t,e){var i,n;return i=this.get("domain_mapper").map_from_target(t),n=this.get("codomain_mapper").map_from_target(e),[i,n]},e.prototype.v_map_from_target=function(t,e){var i,n;return i=this.get("domain_mapper").v_map_from_target(t),n=this.get("codomain_mapper").v_map_from_target(e),[i,n]},e}(r),e.exports={Model:n}},{"../common/has_properties":44}],70:[function(t,e,i){var n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;o=t("underscore"),n=t("../common/has_properties"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.palette=this._build_palette(this.get("palette")),this.little_endian=this._is_little_endian(),null!=this.get("reserve_color")?(this.reserve_color=parseInt(this.get("reserve_color").slice(1),16),this.reserve_val=this.get("reserve_val")):void 0},e.prototype.v_map_screen=function(t){var e,i,n,r,s,a,l,u,c,h,p,d,f,g,m,_;if(i=new ArrayBuffer(4*t.length),n=new Uint32Array(i),c=null!=(p=this.get("low"))?p:o.min(t),s=null!=(d=this.get("high"))?d:o.max(t),e=this.palette.length-1,m=e/(s-c),h=-m*c,this.little_endian)for(a=l=0,f=t.length;f>=0?f>l:l>f;a=f>=0?++l:--l)r=t[a],r===this.reserve_val?_=this.reserve_color:(r>s&&(r=s),c>r&&(r=c),_=this.palette[Math.floor(r*m+h)]),n[a]=255").replace(/"/g,""")}),function(){(function(){i.push("

                \n \n You have no Plots. Follow the instructions below to create some.\n \n

                \n")}).call(this)}.call(t),t.safe=n,t.escape=r,i.join("")}},{}],127:[function(t,e,i){var n,r,o,s,a,l,u,c,h,p,d,f,g,m,_,v,y=function(t,e){function i(){this.constructor=t}for(var n in e)b.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},b={}.hasOwnProperty;h=t("underscore"),n=t("jquery"),p=t("../../common/base"),d=t("../../common/build_views"),o=t("../../common/continuum_view"),r=t("../../common/collection"),l=t("../../common/has_parent"),g=t("../../common/load_models"),f=t("./documentationtemplate"),_=t("../serverutils").utility,m=t("./userdocstemplate"),v=t("./wrappertemplate"),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return y(e,t),e.prototype.template=v,e.prototype.attributes={"class":"panel-group"},e.prototype.events={"click .bokehdoclabel":"loaddoc","click .bokehdelete":"deldoc"},e.prototype.deldoc=function(t){return t.preventDefault(),this.model.destroy(),!1},e.prototype.loaddoc=function(){return this.model.load()},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render_init()},e.prototype.delegateEvents=function(t){return e.__super__.delegateEvents.call(this,t),this.listenTo(this.model,"loaded",this.render)},e.prototype.render_init=function(){var t;return t=this.template({model:this.model,bodyid:h.uniqueId()}),this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 11: el.html(t)}̲,e.prototype.re…el.find(".plots").append(this.plot_context_view.el),!0},e}(o),c=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return y(e,t),e.prototype.initialize=function(t){return this.docs=t.docs,this.collection=t.collection,this.views={},e.__super__.initialize.call(this,t),this.render()},e.prototype.attributes={"class":"usercontext"},e.prototype.events={"click .bokehrefresh":function(){return this.collection.fetch({update:!0})}},e.prototype.delegateEvents=function(t){return e.__super__.delegateEvents.call(this,t),this.listenTo(this.collection,"add",this.render),this.listenTo(this.collection,"remove",this.render),this.listenTo(this.collection,"add",function(t){return function(e,i,n){return t.listenTo(e,"loaded",function(){return t.listenTo(e.get("plot_context"),"change",function(){return t.trigger("show")})})}}(this)),this.listenTo(this.collection,"remove",function(t){return function(e,i,n){return t.stopListening(e)}}(this))},e.prototype.render_docs=function(){return this.el.html(f()),this.el.html(f()),this.el.append(this.docs)},e.prototype.render=function(){var t,e,i,n,r;if(0===this.collection.models.length&&this.docs)return this.render_docs();for(t=m(),h.map(h.values(this.views),function(t){return t.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 12: el.detach()}̲),r=this.collec…el.html(t),e=0,i=r.length;i>e;e++)n=r[e],this.$el.find(".accordion").append(this.views[n.id].el);return this},e}(o),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return y(e,t),e.prototype.default_view=a,e.prototype.idAttribute="docid",e.prototype.defaults=function(){return h.extend({},e.__super__.defaults.call(this),{docid:null,title:null,plot_context:null,apikey:null})},e.prototype.sync=function(){},e.prototype.destroy=function(t){return e.__super__.destroy.call(this,t),n.ajax({url:"/bokeh/doc/"+this.get("docid")+"/",type:"delete"})},e.prototype.load=function(t){var e,i,n;if(!this.loaded)return t?(n=this.get("title"),i=_.load_doc_by_title(n)):(e=this.get("docid"),i=_.load_doc(e)),i.done(function(t){return function(e){return t.set("docid",e.docid),t.set("apikey",e.apikey),t.set("plot_context",e.plot_context_ref),t.trigger("loaded"),t.loaded=!0}}(this))},e}(l),u=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return y(e,t),e.prototype.model=s,e.prototype.subscribe=function(t,e){return t.subscribe("bokehuser:"+e,null),this.listenTo(t,"msg:bokehuser:"+e,function(t){return t=JSON.parse(t),"docchange"===t.msgtype?this.fetch({update:!0}):void 0})},e.prototype.fetch=function(t){var e,i,r;return h.isUndefined(t)&&(t={}),r=p.Config.prefix+"bokeh/userinfo/",e=i=n.get(r,{}),e.done(function(e){return function(i){var n;return n=i.docs,t.update?e.set(n,t):e.reset(n,t)}}(this)),e},e}(r),e.exports={UserDocs:u,UserDocsView:c,Doc:s,DocView:a}},{"../../common/base":29,"../../common/build_views":31,"../../common/collection":37,"../../common/continuum_view":38,"../../common/has_parent":43,"../../common/load_models":47,"../serverutils":125,"./documentationtemplate":126,"./userdocstemplate":128,"./wrappertemplate":129,jquery:17,underscore:22}],128:[function(t,e,i){e.exports=function(t){t||(t={});var e,i=[],n=t.safe,r=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},r||(r=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}),function(){(function(){i.push('
                \n
                \n')}).call(this)}.call(t),t.safe=n,t.escape=r,i.join("")}},{}],129:[function(t,e,i){e.exports=function(t){t||(t={});var e,i=[],n=function(t){return t&&t.ecoSafe?t:"undefined"!=typeof t&&null!=t?o(t):""},r=t.safe,o=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},o||(o=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}),function(){(function(){i.push('\n')}).call(this)}.call(t),t.safe=r,t.escape=o,i.join("")}},{}],130:[function(t,e,i){var n,r,o,s,a,l,u,c=function(t,e){return function(){return t.apply(e,arguments)}},h=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;n=t("jquery"),l=t("underscore"),s=t("backbone"),u=t("../common/logging").logger,a=t("./remote_data_source"),r=function(t){function e(){return this.defaults=c(this.defaults,this),this.get_data=c(this.get_data,this),this.setup=c(this.setup,this),this.destroy=c(this.destroy,this),e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.type="AjaxDataSource",e.prototype.destroy=function(){ return null!=this.interval?clearInterval(this.interval):void 0},e.prototype.setup=function(t,e){return this.pv=t,this.get_data(this.get("mode")),this.get("polling_interval")?this.interval=setInterval(this.get_data,this.get("polling_interval"),this.get("mode"),this.get("max_size"),this.get("if_modified")):void 0},e.prototype.get_data=function(t,e,i){return null==e&&(e=0),null==i&&(i=!1),n.ajax({dataType:"json",ifModified:i,url:this.get("data_url"),xhrField:{withCredentials:!0},method:this.get("method"),contentType:"application/json"}).done(function(i){return function(n){var r,o,s,a,l;if("replace"===t)i.set("data",n);else if("append"===t){for(a=i.get("data"),l=i.columns(),o=0,s=l.length;s>o;o++)r=l[o],n[r]=a[r].concat(n[r]).slice(-e);i.set("data",n)}else u.error("unsupported mode: "+t);return u.debug(n),null}}(this)).error(function(){return u.error(arguments)}),null},e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{mode:"replace"})},e}(a.RemoteDataSource),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.model=r,e.prototype.defaults={url:"",expr:null},e}(s.Collection),e.exports={Model:r,Collection:new o}},{"../common/logging":48,"./remote_data_source":133,backbone:1,jquery:17,underscore:22}],131:[function(t,e,i){var n,r,o,s,a,l,u,c=function(t,e){return function(){return t.apply(e,arguments)}},h=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;n=t("jquery"),l=t("underscore"),r=t("backbone"),u=t("../common/logging").logger,a=t("./remote_data_source"),o=function(t){function e(){return this.update=c(this.update,this),this.setup=c(this.setup,this),this.destroy=c(this.destroy,this),e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.type="BlazeDataSource",e.prototype.destroy=function(){return null!=this.interval?clearInterval(this.interval):void 0},e.prototype.setup=function(t,e){return this.pv=t,this.update(),this.get("polling_interval")?this.interval=setInterval(this.update,this.get("polling_interval")):void 0},e.prototype.update=function(){var t;return t=JSON.stringify({expr:this.get("expr"),namespace:this.get("namespace")}),n.ajax({dataType:"json",url:this.get("data_url"),data:t,xhrField:{withCredentials:!0},method:"POST",contentType:"application/json"}).done(function(t){return function(e){var i,n,r,o,s,a,u,c;for(n=l.zip.apply(l,e.data),r={},c=e.names,s=o=0,a=c.length;a>o;s=++o)i=c[s],r[i]=n[s];return u=l.clone(t.get("data")),l.extend(u,r),t.set("data",u),null}}(this))},e}(a.RemoteDataSource),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.model=o,e.prototype.defaults={url:"",expr:null},e}(r.Collection),e.exports={Model:o,Collection:new s}},{"../common/logging":48,"./remote_data_source":133,backbone:1,jquery:17,underscore:22}],132:[function(t,e,i){var n,r,o,s,a,l=function(t,e){return function(){return t.apply(e,arguments)}},u=function(t,e){function i(){this.constructor=t}for(var n in e)c.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},c={}.hasOwnProperty;s=t("underscore"),r=t("../common/has_properties"),o=t("../common/selection_manager"),a=t("../common/hittest"),n=function(t){function e(){return this.defaults=l(this.defaults,this),e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type="ColumnDataSource",e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.listenTo(this,"change:selected",function(t){return function(){var e;return null!=(e=t.get("callback"))?e.execute(t):void 0}}(this))},e.prototype.get_column=function(t){var e;return null!=(e=this.get("data")[t])?e:null},e.prototype.get_length=function(){var t,e,i,n;return t=this.get("data"),0===s.keys(t).length?null:(i=s.uniq(function(){var i;i=[];for(e in t)n=t[e],i.push(n.length);return i}()),i[0])},e.prototype.columns=function(){return s.keys(this.get("data"))},e.prototype.defaults=function(){return s.extend({},e.__super__.defaults.call(this),{data:{},selection_manager:new o({source:this}),selected:a.create_hit_test_result()})},e}(r),e.exports={Model:n}},{"../common/has_properties":44,"../common/hittest":45,"../common/selection_manager":57,underscore:22}],133:[function(t,e,i){var n,r,o,s,a=function(t,e){function i(){this.constructor=t}for(var n in e)l.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},l={}.hasOwnProperty;s=t("underscore"),n=t("backbone"),r=t("./column_data_source"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e}(r.Model),e.exports={RemoteDataSource:o}},{"./column_data_source":132,backbone:1,underscore:22}],134:[function(t,e,i){var n,r,o,s,a,l,u,c,h,p,d,f,g,m,_=function(t,e){function i(){this.constructor=t}for(var n in e)v.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},v={}.hasOwnProperty,y=function(t,e){return function(){return t.apply(e,arguments)}};n=t("jquery"),f=t("underscore"),o=t("backbone"),a=t("../common/has_properties"),m=t("../common/logging").logger,c=t("../range/range1d"),s=t("../range/data_range1d"),h=t("./remote_data_source"),g=function(t){var e,i,n,r;return e=!1,r=null,n=!1,i=function(){return e?n?m.debug("already bound, ignoring"):(m.debug("busy, so doing it later"),n=!0,r.done(function(){return n=!1,i()})):(m.debug("executing"),e=!0,r=t(),r.done(function(){return m.debug("done, setting to false"),e=!1,r=null}))}},d=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.callbacks=[],this.plot_state={data_x:i.data_x,data_y:i.data_y,screen_x:i.screen_x,screen_y:i.screen_y},this.glyph=i.glyph,this.data_source=i.data_source,this.render_state=i.render_state,this.auto_bounds=i.data_source.get("transform").auto_bounds},e.prototype.stoplistening_for_updates=function(){var t,e,i,n,r;for(n=this.callbacks,r=[],e=0,i=n.length;i>e;e++)t=n[e],r.push(this.stopListening.apply(this,t));return r},e.prototype.listen_for_updates=function(){var t,e,i,n,r;for(this.stoplistening_for_updates(),t=g(function(t){return function(){return t.update()}}(this)),t=f.debounce(t,100),t(),r=[this.plot_state.data_x,this.plot_state.data_x,this.plot_state.screen_x,this.plot_state.screen_y],e=0,i=r.length;i>e;e++)n=r[e],this.listenTo(n,"change",t),this.callbacks.push([n,"change",t]);return null},e.prototype.update=function(){return null},e.prototype.plot_state_json=function(){var t,e,i,n,r;r={},n=this.plot_state;for(e in n)t=n[e],i=new c.Model,i.set("start",t.get("start")),i.set("end",t.get("end")),r[e]=i;return r},e.prototype.update_url=function(){var t,e,i,n,r,o;return i=this.glyph,this.get("data_url")?(o=data_url,t=o.replace("/compute.json","/render")):t=i.get_base().Config.prefix+"render",e=this.glyph.get("doc"),r=this.data_source.get("id"),n=i.get("id"),o=t+"/"+e+"/"+r+"/"+n},e}(o.Model),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.update=function(){var t,e,i,r;return e=this.plot_state,i=this.render_state,i||(i={}),e.screen_x.get("start")===e.screen_x.get("end")||e.screen_y.get("start")===e.screen_y.get("end")?(m.debug("skipping due to under-defined view state"),n.ajax()):(m.debug("Sent render State",i),t={plot_state:this.plot_state_json(),render_state:i,auto_bounds:this.auto_bounds},r=n.ajax({method:"POST",dataType:"json",url:this.update_url(),xhrField:{withCredentials:!0},contentType:"application/json",data:JSON.stringify(t),success:function(t){return function(i){var n;return"NO UPDATE"===i.render_state?void m.info("No update"):(t.auto_bounds&&(e.data_x.set({start:i.x_range.start,end:i.x_range.end}),e.data_y.set({start:i.y_range.start,end:i.y_range.end}),t.auto_bounds=!1),m.debug("New render State:",i.render_state),n=f.clone(t.data_source.get("data")),f.extend(n,i.data),t.data_source.set("data",n),null)}}(this)}))},e}(d),u=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.update=function(){var t,e,i,r;return e=this.plot_state,i=this.render_state,i||(i={}),e.screen_x.get("start")===e.screen_x.get("end")||e.screen_y.get("start")===e.screen_y.get("end")?(m.debug("skipping due to under-defined view state"),n.ajax()):(m.debug("Sent render State",i),t={plot_state:this.plot_state_json(),render_state:i,auto_bounds:this.auto_bounds},r=n.ajax({method:"POST",dataType:"json",url:this.update_url(),xhrField:{withCredentials:!0},contentType:"application/json",data:JSON.stringify(t),success:function(t){return function(i){var n;return"NO UPDATE"===i.render_state?void m.info("No update"):(t.auto_bounds&&(e.data_x.set({start:i.x_range.start,end:i.x_range.end}),e.data_y.set({start:i.y_range.start,end:i.y_range.end}),t.auto_bounds=!1),m.debug("New render State:",i.render_state),n=f.clone(t.data_source.get("data")),f.extend(n,i.data),t.data_source.set("data",n),null)}}(this)}))},e}(d),l=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.update=function(){var t,e,i,r;return e=this.plot_state,i=this.render_state,i||(i={}),e.screen_x.get("start")===e.screen_x.get("end")||e.screen_y.get("start")===e.screen_y.get("end")?(m.debug("skipping due to under-defined view state"),n.ajax()):(m.debug("Sent render State",i),t={plot_state:this.plot_state_json(),render_state:i,auto_bounds:this.auto_bounds},r=n.ajax({method:"POST",dataType:"json",url:this.update_url(),xhrField:{withCredentials:!0},contentType:"application/json",data:JSON.stringify(t),success:function(t){return function(i){var n;return"NO UPDATE"===i.render_state?void m.info("No update"):(t.auto_bounds&&(e.data_x.set({start:i.x_range.start,end:i.x_range.end}),e.data_y.set({start:i.y_range.start,end:i.y_range.end}),t.auto_bounds=!1),m.debug("New render State:",i.render_state),n=f.clone(t.data_source.get("data")),f.extend(n,i.data),t.data_source.set("data",n),null)}}(this)}))},e}(d),p=function(t){function e(){return this.setup_proxy=y(this.setup_proxy,this),this.setup=y(this.setup,this),this.initialize=y(this.initialize,this),e.__super__.constructor.apply(this,arguments)}return _(e,t),e.prototype.type="ServerDataSource",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i)},e.prototype.setup=function(t,e){var i,n,r,o,s;return o=s=i=n=r={data_x:t.x_range,data_y:t.y_range,screen_x:t.frame.get("h_range"),screen_y:t.frame.get("v_range"),glyph:e.model},this.setup_proxy(r)},e.prototype.setup_proxy=function(t){return t.data_source=this,"abstract rendering"===this.get("transform").resample?this.proxy=new r({},t):"line1d"===this.get("transform").resample?this.proxy=new u({},t):"heatmap"===this.get("transform").resample&&(this.proxy=new l({},t)),this.proxy.listen_for_updates()},e}(h.RemoteDataSource),e.exports={Model:p}},{"../common/has_properties":44,"../common/logging":48,"../range/data_range1d":74,"../range/range1d":76,"./remote_data_source":133,backbone:1,jquery:17,underscore:22}],135:[function(t,e,i){var n,r,o,s,a,l=function(t,e){function i(){this.constructor=t}for(var n in e)u.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},u={}.hasOwnProperty;s=t("underscore"),o=t("../common/has_properties"),a=function(t){var e,i,n,r,o;return null===t?"null":null==t?"undefined":t.constructor===Array?(i=function(){var i,n,r;for(r=[],i=0,n=t.length;n>i;i++)e=t[i],r.push(a(e));return r}().join(", "),"["+i+"]"):t.constructor===Object?(o=function(){var e;e=[];for(n in t)e.push(n+": "+a(t[n]));return e}().join(", "),"{"+o+"}"):t.constructor===String?'"'+t+'"':t.constructor===Function?"/g,">").replace(/"/g,""")}),function(){(function(){i.push('
                \n
                \n
                \n \n

                Image Preview (right click -> \'Save As\' to save PNG)

                \n
                \n
                \n \n
                \n
                \n \n
                \n
                \n
                ')}).call(this)}.call(t),t.safe=n,t.escape=r,i.join("")}},{}],157:[function(t,e,i){var n,r,o,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},a={}.hasOwnProperty;n=t("./action_tool"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e.prototype["do"]=function(){return this.plot_view.update_range()},e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return s(e,t),e.prototype.default_view=o,e.prototype.type="ResetTool",e.prototype.tool_name="Reset",e.prototype.icon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAgCAYAAABgrToAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCRTI5MDhFMDIwQjUxMUU0ODREQUYzNzM5QTM2MjBCRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyOUMzNDE3NDIwQkIxMUU0ODREQUYzNzM5QTM2MjBCRSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZ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QC+l5Sj5nEBdwAAAABJRU5ErkJggg==",e}(n.Model),e.exports={Model:r,View:o}},{"./action_tool":153}],158:[function(t,e,i){var n,r,o,s,a,l,u,c=function(t,e){function i(){this.constructor=t}for(var n in e)h.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},h={}.hasOwnProperty;l=t("underscore"),n=t("backbone"),a=t("./tool"),u=t("./button_tool_template"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.tagName="li",e.prototype.template=u,e.prototype.events=function(){return"ontouchstart"in document?{"touchstart .bk-toolbar-button":"_clicked"}:{"click .bk-toolbar-button":"_clicked"}},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 121: …),this.render()}̲,e.prototype.re…el.children("button").addClass("active"):this.$el.children("button").removeClass("active"),this},e.prototype._clicked=function(t){},e}(n.View),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e}(a.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.register_property("tooltip",function(){return this.get("tool_name")})},e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{active:!1,tool_name:this.tool_name,icon:this.icon})},e}(a.Model),e.exports={Model:r,View:s,ButtonView:o}},{"./button_tool_template":159,"./tool":174,backbone:1,underscore:22}],159:[function(t,e,i){e.exports=function(t){t||(t={});var e,i=[],n=function(t){return t&&t.ecoSafe?t:"undefined"!=typeof t&&null!=t?o(t):""},r=t.safe,o=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},o||(o=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}),function(){(function(){i.push('\n")}).call(this)}.call(t),t.safe=r,t.escape=o,i.join("")}},{}],160:[function(t,e,i){var n,r,o,s,a,l=function(t,e){function i(){this.constructor=t}for(var n in e)u.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},u={}.hasOwnProperty;a=t("underscore"),o=t("../../renderer/overlay/box_selection"),s=t("./select_tool"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._pan_start=function(t){var e;return e=this.plot_view.canvas,this._baseboint=[e.sx_to_vx(t.bokeh.sx),e.sy_to_vy(t.bokeh.sy)],null},e.prototype._pan=function(t){var e,i,n,r,o,s,a,l,u;return i=this.plot_view.canvas,n=[i.sx_to_vx(t.bokeh.sx),i.sy_to_vy(t.bokeh.sy)],o=this.plot_model.get("frame"),r=this.mget("dimensions"),s=this.model._get_dim_limits(this._baseboint,n,o,r),l=s[0],u=s[1],this.mget("overlay").set("data",{vxlim:l,vylim:u}),this.mget("select_every_mousemove")&&(e=null!=(a=t.srcEvent.shiftKey)?a:!1,this._select(l,u,!1,e)),null},e.prototype._pan_end=function(t){var e,i,n,r,o,s,a,l,u;return i=this.plot_view.canvas,n=[i.sx_to_vx(t.bokeh.sx),i.sy_to_vy(t.bokeh.sy)],o=this.plot_model.get("frame"),r=this.mget("dimensions"),s=this.model._get_dim_limits(this._baseboint,n,o,r),l=s[0],u=s[1],e=null!=(a=t.srcEvent.shiftKey)?a:!1,this._select(l,u,!0,e),this.mget("overlay").set("data",{}),this._baseboint=null,null},e.prototype._select=function(t,e,i,n){var r,o,s,a,l,u,c,h,p,d,f;for(h=t[0],p=t[1],d=e[0],f=e[1],null==n&&(n=!1),o={type:"rect",vx0:h,vx1:p,vy0:d,vy1:f},u=this.mget("renderers"),s=0,a=u.length;a>s;s++)l=u[s],r=l.get("data_source"),c=r.get("selection_manager"),c.select(this,this.plot_view.renderers[l.id],o,i,n);return this._save_geometry(o,i,n),null},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view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yMEJFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkE4NUM0MEJFMjBCMzExRTQ4NERBRjM3MzlBMzYyMEJFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+hdQ7dQAAAJdJREFUeNpiXLhs5X8GBPgIxAJQNjZxfiD+wIAKGCkUZ0SWZGIYZIAF3YVoPkEHH6kojhUMyhD6jydEaAlgaWnwh9BAgf9DKpfxDxYHjeay0Vw2bHMZw2guG81lwyXKRnMZWlt98JdDTFAX/x9NQwPkIH6kGMAVEyjyo7lstC4jouc69Moh9L42rlyBTZyYXDS00xBAgAEAqsguPe03+cYAAAAASUVORK5CYII=",e.prototype.event_type="pan",e.prototype.default_order=30,e.prototype.initialize=function(t,i){var n;return e.__super__.initialize.call(this,t,i),this.register_property("tooltip",function(){return this._get_dim_tooltip(this.get("tool_name"),this._check_dims(this.get("dimensions"),"box select tool"))},!1),this.add_dependencies("tooltip",this,["dimensions"]),this.set("overlay",new o.Model),n=this.get("plot").get("renderers"),n.push(this.get("overlay")),this.get("plot").set("renderers",n)},e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{dimensions:["width","height"],select_every_mousemove:!1})},e}(s.Model),e.exports={Model:n,View:r}},{"../../renderer/overlay/box_selection":122,"./select_tool":167,underscore:22}],161:[function(t,e,i){var n,r,o,s,a,l=function(t,e){function i(){this.constructor=t}for(var n in e)u.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},u={}.hasOwnProperty;a=t("underscore"),n=t("../../renderer/overlay/box_selection"),s=t("./gesture_tool"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._pan_start=function(t){var e;return e=this.plot_view.canvas,this._baseboint=[e.sx_to_vx(t.bokeh.sx),e.sy_to_vy(t.bokeh.sy)],null},e.prototype._pan=function(t){var e,i,n,r,o,s,a;return e=this.plot_view.canvas,i=[e.sx_to_vx(t.bokeh.sx),e.sy_to_vy(t.bokeh.sy)],r=this.plot_model.get("frame"),n=this.mget("dimensions"),o=this.model._get_dim_limits(this._baseboint,i,r,n),s=o[0],a=o[1],this.mget("overlay").set("data",{vxlim:s,vylim:a}),null},e.prototype._pan_end=function(t){var e,i,n,r,o,s,a;return e=this.plot_view.canvas,i=[e.sx_to_vx(t.bokeh.sx),e.sy_to_vy(t.bokeh.sy)],r=this.plot_model.get("frame"),n=this.mget("dimensions"),o=this.model._get_dim_limits(this._baseboint,i,r,n),s=o[0],a=o[1],this._update(s,a),this.mget("overlay").set("data",{}),this._baseboint=null,null},e.prototype._update=function(t,e){var i,n,r,o,s,a,l,u,c,h,p;c={},o=this.plot_view.frame.get("x_mappers");for(r in o)n=o[r],s=n.v_map_from_target(t,!0),u=s[0],i=s[1],c[r]={start:u,end:i};h={},a=this.plot_view.frame.get("y_mappers");for(r in a)n=a[r],l=n.v_map_from_target(e,!0),u=l[0],i=l[1],h[r]={start:u,end:i};return p={xrs:c,yrs:h},this.plot_view.update_range(p)},e}(s.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=o,e.prototype.type="BoxZoomTool",e.prototype.tool_name="Box Zoom",e.prototype.icon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4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3RjGBFZBpMG+xn4wM8NYJfWFwNXwXrwS96RiIUTwwYn6AxMgb+FvQ5c4zOUxzR4Ce5GLZyo5LfSsQP2G5xQbKO+bWFfoLWinA1OAEcoM2rFRpMe5sloJWgtm4j0iPZcPhVdkOWxBWvZONIi2uc+5sqxbTaO1Ij2o4+5T6JdGy1SF4Kg2mLsi01E/oh2l4+5HTKaNlmTEe0ka40XyNqTsYnIkWiTwC16rMRNci0bR0hJ7w1veizqy9uB5D4ZDZKBtI3WvLCCJoT9E3jHny4j1DdmWOcbrWWjNYuGoqaL2kdmKayTztio7yzTJprz4A/9PuI3a8YMh5IKVC9fetxAY5rB79pNzXdESMJ/GrSjm8/DCTjAgpjQZCDDh5I+w4HuQBBHOsE9USty4KB2KF85m9J+v5XX9KXr3T7fQZS26WefYlcU+ayJlxhDIT40jBnn21hQOPrfgFtEqAhdGETqK7gZ4h/Av4g4Jf5TUoYquQSuqJDhFpEJca3b4EoYOtyyhrSkHTzlcj4R4t4FZ9NL+j6yMzlT/ocZES9aky3D3r6y5t2gaw3xWXgs7XFhdyzsgSpr2fFXgAEAmp2J9DuX/WgAAAAASUVORK5CYII=",e.prototype.event_type="pan",e.prototype.default_order=20,e.prototype.initialize=function(t,i){var r;return e.__super__.initialize.call(this,t,i),this.register_property("tooltip",function(){return this._get_dim_tooltip(this.get("tool_name"),this._check_dims(this.get("dimensions"),"box zoom tool"))},!1),this.add_dependencies("tooltip",this,["dimensions"]),this.set("overlay",new n.Model),r=this.get("plot").get("renderers"),r.push(this.get("overlay")),this.get("plot").set("renderers",r)},e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{dimensions:["width","height"]})},e}(s.Model),e.exports={Model:r,View:o}},{"../../renderer/overlay/box_selection":122,"./gesture_tool":162,underscore:22}],162:[function(t,e,i){var n,r,o,s,a,l=function(t,e){function i(){this.constructor=t}for(var n in e)u.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},u={}.hasOwnProperty;a=t("underscore"),n=t("../button_tool"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype._clicked=function(){return this.model.set("active",!0)},e}(n.ButtonView),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e}(n.View),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{event_type:this.event_type,default_order:this.default_order})},e}(n.Model),e.exports={Model:r,View:s,ButtonView:o}},{"../button_tool":158,underscore:22}],163:[function(t,e,i){var n,r,o,s,a,l=function(t,e){function i(){this.constructor=t}for(var n in e)u.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},u={}.hasOwnProperty;a=t("underscore"),o=t("../../renderer/overlay/poly_selection"),s=t("./select_tool"),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.listenTo(this.model,"change:active",this._active_change),this.data=null},e.prototype._active_change=function(){return this.mget("active")?void 0:this._clear_overlay()},e.prototype._keyup=function(t){return 13===t.keyCode?this._clear_overlay():void 0},e.prototype._pan_start=function(t){var e,i,n;return e=this.plot_view.canvas,i=e.sx_to_vx(t.bokeh.sx),n=e.sy_to_vy(t.bokeh.sy),this.data={vx:[i],vy:[n]},null},e.prototype._pan=function(t){var e,i,n,r,o,s,l;return i=this.plot_view.canvas,s=i.sx_to_vx(t.bokeh.sx),l=i.sy_to_vy(t.bokeh.sy),this.data.vx.push(s),this.data.vy.push(l),r=this.mget("overlay"),n={},n.vx=a.clone(this.data.vx),n.vy=a.clone(this.data.vy),r.set("data",n),this.mget("select_every_mousemove")?(e=null!=(o=t.srcEvent.shiftKey)?o:!1,this._select(this.data.vx,this.data.vy,!1,e)):void 0},e.prototype._pan_end=function(t){var e,i;return this._clear_overlay(),e=null!=(i=t.srcEvent.shiftKey)?i:!1,this._select(this.data.vx,this.data.vy,!0,e)},e.prototype._clear_overlay=function(){return this.mget("overlay").set("data",null)},e.prototype._select=function(t,e,i,n){var r,o,s,a,l,u,c;for(o={type:"poly",vx:t,vy:e},u=this.mget("renderers"),s=0,a=u.length;a>s;s++)l=u[s],r=l.get("data_source"),c=r.get("selection_manager"),c.select(this,this.plot_view.renderers[l.id],o,i,n);return this._save_geometry(o,i,n),null},e}(s.View),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.default_view=r,e.prototype.type="LassoSelectTool",e.prototype.tool_name="Lasso Select",e.prototype.icon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAQCAYAAAAbBi9cAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAGlSURBVDiNldNNiM1hFMfxz/3PHQqxoCgWYmNDk0jyUqwsuP/719xnPVkQStl4mYWpsVXKQkYpL1m4qWmyYElZkDLKyiSbkdKYNBovo8m1uM+d/nPd/2TO6nn5nW+/c57zlCwQ9eGRBPuwF7uxAUswjme4V6tWxqFUAFiLXlSxDaswiz9RkqAL79Ffq1YeldoAXTiNs9iIn3iN0Zj0OULWYycORU1fKQdZh5s4ggncxX28DVk6W+D8MG5hrJQr5Ql68AADIUvfFTZvPuw5VpZjOVcjZCBk6eD/ACJkF7ZgMMEJVHB7kZDNeIhXGEpwEg3cWASkFy9i3vFatTJTxvJ4sAcvo3ANpkOW/sold+MgTsUKRlGbm6P68Mh59GvOSR2/cVTzqYfifisOYDtm4vmlkKVTjUZDC5TgIi5gBX7gG7qxVHNuluEjHuN6yNI3LadzoJz1HejDMXzP3X2Njp+GLJ1o79c/oBzwGgK+YHV0cyVk6eV27YKgCNuEKZzBubjeH7J0rAiUdAKFLP0QsnQSdzCp+Wl7Omlb0RGUi0+YRlmz+YXxF2YZkqkolYwKAAAAAElFTkSuQmCC",e.prototype.event_type="pan",e.prototype.default_order=12,e.prototype.initialize=function(t,i){var n;return e.__super__.initialize.call(this,t,i),this.set("overlay",new o.Model({line_width:2})),n=this.get("plot").get("renderers"),n.push(this.get("overlay")),this.get("plot").set("renderers",n)},e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{select_every_mousemove:!0})},e}(s.Model),e.exports={Model:n,View:r}},{"../../renderer/overlay/poly_selection":123,"./select_tool":167,underscore:22}],164:[function(t,e,i){var n,r,o,s,a=function(t,e){function i(){this.constructor=t}for(var n in e)l.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},l={}.hasOwnProperty;s=t("underscore"),n=t("./gesture_tool"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype._pan_start=function(t){var e,i,n,r,o,s;return this.last_dx=0,this.last_dy=0,e=this.plot_view.canvas,i=this.plot_view.frame,o=e.sx_to_vx(t.bokeh.sx),s=e.sy_to_vy(t.bokeh.sy),i.contains(o,s)||(n=i.get("h_range"),r=i.get("v_range"),(o/g,">").replace(/"/g,""")}),function(){(function(){i.push('\n")}).call(this)}.call(t),t.safe=r,t.escape=o,i.join("")}},{}],174:[function(t,e,i){var n,r,o,s,a,l,u=function(t,e){function i(){this.constructor=t}for(var n in e)c.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},c={}.hasOwnProperty;a=t("underscore"),n=t("../common/has_properties"),l=t("../common/logging").logger,r=t("../common/plot_widget"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.bind_bokeh_events=function(){return this.listenTo(this.model,"change:active",function(t){return function(){return t.mget("active")?t.activate():t.deactivate()}}(this))},e.prototype.activate=function(){},e.prototype.deactivate=function(){},e}(r),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype._check_dims=function(t,e){var i,n,r;return n=[!1,!1],r=n[0],i=n[1],0===t.length?l.warn(e+" given empty dimensions"):1===t.length?"width"!==t[0]&&"height"!==t[0]&&l.warn(e+" given unrecognized dimensions: "+t):2===t.length?(t.indexOf("width")<0||t.indexOf("height")/g,">")},e.prototype.defaults=function(){return h.extend({},e.__super__.defaults.call(this),this.formatterDefaults)},e}(a),c=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return p(e,t),e.prototype.type="StringFormatter",e.prototype.formatterDefaults={font_style:null,text_align:null,text_color:null},e.prototype.format=function(t,i,r,o,s){var a,l,u,c;if(l=e.__super__.format.call(this,t,i,r,o,s),a=this.get("font_style"),u=this.get("text_align"),c=this.get("text_color"),null!=a||null!=u||null!=c){switch(l=n(""+l+""),a){case"bold":l=l.css("font-weight","bold");break;case"italic":l=l.css("font-style","italic")}null!=u&&(l=l.css("text-align",u)),null!=c&&(l=l.css("color",c)),l=l.prop("outerHTML")}return l},e}(o),l=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return p(e,t),e.prototype.type="NumberFormatter",e.prototype.formatterDefaults={font_style:null,text_align:null,text_color:null,format:"0,0",language:"en",rounding:"round"},e.prototype.format=function(t,i,n,r,o){var s,a,l;return s=this.get("format"),a=this.get("language"),l=function(){switch(this.get("rounding")){case"round":case"nearest":return Math.round;case"floor":case"rounddown":return Math.floor;case"ceil":case"roundup":return Math.ceil}}.call(this),n=u.format(n,s,a,l),e.__super__.format.call(this,t,i,n,r,o)},e}(c),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return p(e,t),e.prototype.type="BooleanFormatter",e.prototype.formatterDefaults={icon:"check"},e.prototype.format=function(t,e,i,r,o){return i?n("").addClass(this.get("icon")).html():""},e}(o),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return p(e,t),e.prototype.type="DateFormatter",e.prototype.formatterDefaults={format:"yy M d"},e.prototype.getFormat=function(){var t,e;return t=this.get("format"),e=function(){switch(t){case"ATOM":case"W3C":case"RFC-3339":case"ISO-8601":return"ISO-8601";case"COOKIE":return"COOKIE";case"RFC-850":return"RFC-850";case"RFC-1036":return"RFC-1036";case"RFC-1123":return"RFC-1123";case"RFC-2822":return"RFC-2822";case"RSS":case"RFC-822":return"RFC-822";case"TICKS":return"TICKS";case"TIMESTAMP":return"TIMESTAMP";default:return null}}(),null!=e?n.datepicker[e]:t},e.prototype.format=function(t,i,r,o,s){var a;return r=h.isString(r)?parseInt(r,10):r,a=n.datepicker.formatDate(this.getFormat(),new Date(r)),e.__super__.format.call(this,t,i,a,o,s)},e}(o),e.exports={String:{Model:c},Number:{Model:l},Boolean:{Model:r},Date:{Model:s}}},{"../../vendor/numeral.js-1.5.3/numeral.js":230,"../common/has_properties":44,jquery:17,underscore:22}],182:[function(t,e,i){(function(i){var n,r,o,s,a,l,u,c=function(t,e){function i(){this.constructor=t}for(var n in e)h.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},h={}.hasOwnProperty,p=[].indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(e in this&&this[e]===t)return e;return-1};u=t("underscore"),n=t("jquery"),r=null!=i._bokehTest?void 0:t("bootstrap/button"),a=t("../common/continuum_view"),l=t("../common/has_parent"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.tagName="div",e.prototype.events={"change input":"change_input"},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render(),this.listenTo(this.model,"change",this.render)},e.prototype.render=function(){var t,e,i,r,o,s,a,l;for(this.el.empty(),this.el.empty(),this.el.addClass("bk-bs-btn-group"),this.ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 204: …,p.call(i,r)>=0&̲&e.addClass("bk…el.append(e);return this},e.prototype.change_input=function(){var t,e,i,n;return t=function(){var t,n,r,o;for(r=this.ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 59: …=r[i],e.checked&̲&o.push(i);retu…el.empty(),r=this.mget("active"),u=this.mget("labels"),o=s=0,l=u.length;l>s;o=++s)a=u[o],e=n('").text(a).prepend(e),this.mget("inline")?(i.addClass("bk-bs-checkbox-inline"),this.$el.append(i)):(t=n('
                ').append(i),this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 26: …t));return this}̲,e.prototype.ch…("input"),o=[],i=t=0,n=r.length;n>t;i=++t)e=r[i],e.checked&&o.push(i);return o}.call(this),this.mset("active",t),this.model.save(),null!=(n=this.mget("callback"))?n.execute(this.model):void 0},e}(s),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type="CheckboxGroup",e.prototype.default_view=o,e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{active:[],labels:[],inline:!1,disabled:!1})},e}(a),e.exports={Model:r,View:o}},{"../common/continuum_view":38,"../common/has_parent":43,jquery:17,underscore:22}],184:[function(t,e,i){(function(i){var n,r,o,s,a,l,u,c,h,p,d,f,g,m,_,v,y,b,w,x,k,C,M,D,T,S,A,P,I,E=function(t,e){function i(){this.constructor=t}for(var n in e)R.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},R={}.hasOwnProperty,N=function(t,e){return function(){return t.apply(e,arguments)}};C=t("underscore"),null!=i._bokehTest?(P=void 0,I=void 0):(P=t("jquery-ui/draggable"),I=t("jquery-ui/droppable")),M=t("../common/build_views"),n=t("../common/close_wrapper"),r=t("../common/collection"),c=t("../common/continuum_view"),y=t("../common/has_parent"),b=t("../common/has_properties"),A=t("./crossfilter_template"),T=t("./crossfilter_column_template"),S=t("./crossfilter_facet_template"),p=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return E(e,t),e.prototype.tag="div",e.prototype.attributes={"class":"bk-crossfilter"},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.views={},this.listenTo(this.model,"change:plot",this.render_plot),this.render(),this.render_plot()},e.prototype.render_plot=function(){var t;return null!=this.plot_view&&this.plot_view.remove(),t=this.mget("plot"),this.plot_view=new t.default_view({model:t}),this.el.find(".bk−crossfilter−plot").empty(),this.el.find(".bk-crossfilter-plot").empty(),this.el.find(".bk-crossfilter-plot").append(this.plot_view.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 9: el),this}̲,e.prototype.re…el.detach(),this.el.empty(),t=A(),this.el.empty(),t=A(),this.el.html(t),this.filterview=new v({el:this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 63: …odel:this.model}̲),this.facetsvi…el,model:this.model}),this.plotattributeview=new w({el:this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 20: …odel:this.model}̲),this.columnvi…(".bk-column-list").append(this.columnview.el),this.(".bk−crossfilter−configuration").height(this.mget("height")),this.(".bk-crossfilter-configuration").height(this.mget("height")),this.(".bk-crossfilter-configuration").width(400),this},e}(c),h=function(t){function e(){return this._set_columns=N(this._set_columns,this),e.__super__.constructor.apply(this,arguments)}return E(e,t),e.prototype.default_view=p,e.prototype.type="CrossFilter",e.prototype.initialize=function(t,i){return e.__super__.initialize.call(this,t,i),this.columns=new o,this._set_columns(),this.listenTo(this,"change:columns",this._set_columns)},e.prototype._set_columns=function(){return this.columns.reset(this.get("columns"))},e.prototype.defaults=function(){return C.extend({},e.__super__.defaults.call(this),{height:700,width:1300})},e}(y),d=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return E(e,t),e.prototype.model=h,e}(r),w=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return E(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.listenTo(this.model,"change:plot_selector",C.bind(this.render_selector,"plot")),this.listenTo(this.model,"change:x_selector",C.bind(this.render_selector,"x")),this.listenTo(this.model,"change:y_selector",C.bind(this.render_selector,"y")),this.listenTo(this.model,"change:agg_selector",C.bind(this.render_selector,"agg")),this.render_selector("plot"),this.render_selector("x"),this.render_selector("y"),this.render_selector("agg")},e.prototype.render_selector=function(t){var e,i;return i=this.(".bk−"+t+"−selector").empty(),e=this.mget(t+"selector"),this.plotselectorview=newe.defaultview(model:e),i.append(this.plotselectorview.(".bk-"+t+"-selector").empty(),e=this.mget(t+"_selector"),this.plot_selector_view=new e.default_view({model:e}),i.append(this.plot_selector_view.el)},e}(c),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return E(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.views={},this.listenTo(this.collection,"all",this.render),this.render()},e.prototype.render=function(){return C.map(this.views,function(t){return t.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 12: el.detach()}̲),M(this.views,…el.append(t.views[e.id].ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 4: el)}̲}(this)),this},…el.html(S({name:this.name})),this},e}(c),_=function(t){function e(){return this.drop_tab=N(this.drop_tab,this),this.drop_y=N(this.drop_y,this),this.drop_x=N(this.drop_x,this),this.drop=N(this.drop,this),this.add_facet=N(this.add_facet,this),this.remove_facet=N(this.remove_facet,this),e.__super__.constructor.apply(this,arguments)}return E(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render_init(),this.render_all_facets(),this.listenTo(this.model,"change:facet_x",this.render_all_facets),this.listenTo(this.model,"change:facet_y",this.render_all_facets),this.listenTo(this.model,"change:facet_tab",this.render_all_facets)},e.prototype.render_init=function(){return this.facet_x_node=this.ParseError: KaTeX parse error: Double subscript at position 29: …"),this.facet_y_̲node=this.(".bk-facet-y"),this.facet_tab_node=this.ParseError: KaTeX parse error: Double subscript at position 31: …"),this.facet_x_̲node.droppable(…el));return s},e.prototype.remove_facet=function(t,e){var i,n,r,o,s,a;for(null==e&&(e=!0),o=["facet_x","facet_y","facet_tab"],n=0,r=o.length;r>n;n++)s=o[n],i=C.clone(this.model.get(s)),i=function(){var e,n,r;for(r=[],e=0,n=i.length;n>e;e++)a=i[e],a!==t&&r.push(a);return r}(),this.model.set(s,i);return e?this.model.save():void 0},e.prototype.add_facet=function(t,e){var i,n;return this.remove_facet(e,n=!1),i=C.clone(this.model.get(t)),i.indexOf(e)/g,">").replace(/"/g,""")}),function(){(function(){var t,e,r,o;for(i.push("Continuous"===this.label?'\n
                \n':'\n
                \n'),i.push("\n "),i.push(n(this.name)),i.push(' ('),i.push(n(this.label)),i.push(')\n
                \n\n\n
                \n\n \n\n \n\n '),o=this.fields,e=0,r=o.length;r>e;e++)t=o[e],i.push("\n \n ");i.push("\n\n \n\n
                "),i.push(n(t)),i.push(" "),i.push(n(this[t])),i.push("
                \n\n
                ")}).call(this)}.call(t),t.safe=r,t.escape=o,i.join("")}},{}],186:[function(t,e,i){e.exports=function(t){t||(t={});var e,i=[],n=function(t){return t&&t.ecoSafe?t:"undefined"!=typeof t&&null!=t?o(t):""},r=t.safe,o=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},o||(o=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}),function(){(function(){i.push(n(this.name)),i.push("   [x]")}).call(this)}.call(t),t.safe=r,t.escape=o,i.join("")}},{}],187:[function(t,e,i){e.exports=function(t){t||(t={});var e,i=[],n=t.safe,r=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},r||(r=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}),function(){(function(){i.push('
                \n\n \n\n \n\n \n\n \n\n \n\n
                \n\n
                \n\n
                \n\n
                \n\n
                \n\n
                \n
                Filter
                \n
                \n
                \n\n
                \n
                Facet X
                \n
                \n
                \n\n
                \n
                Facet Y
                \n
                \n
                \n\n
                \n
                Facet Tab
                \n
                \n
                \n\n
                \n\n
                \n\n
                \n\n
                \n\n
                \n\n \n\n
                \n\n
                \n
                \n\n
                \n'); }).call(this)}.call(t),t.safe=n,t.escape=r,i.join("")}},{}],188:[function(t,e,i){(function(i){var n,r,o,s,a,l,u,c,h,p,d,f,g,m=function(t,e){function i(){this.constructor=t}for(var n in e)_.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},_={}.hasOwnProperty;f=t("underscore"),n=t("jquery"),null!=i._bokehTest?(r=void 0,d=void 0,p=void 0,o=void 0):(r=t("jquery-ui/sortable"),d=t("slick_grid/slick.grid"),p=t("slick_grid/plugins/slick.rowselectionmodel"),o=t("slick_grid/plugins/slick.checkboxselectcolumn")),s=t("../common/continuum_view"),h=t("../common/has_properties"),a=t("../util/dom_util"),g=t("../common/hittest"),l=function(){function t(t){var e;this.source=t,this.data=this.source.get("data"),this.fields=f.keys(this.data),f.contains(this.fields,"index")||(this.data.index=function(){e=[];for(var t=0,i=this.getLength();i>=0?i>t:t>i;i>=0?t++:t--)e.push(t);return e}.apply(this),this.fields.push("index"))}return t.prototype.getLength=function(){return this.source.get_length()},t.prototype.getItem=function(t){var e,i,n,r,o;for(i={index:t},o=this.fields,n=0,r=o.length;r>n;n++)e=o[n],i[e]=this.data[e][t];return i},t.prototype._setItem=function(t,e){var i,n;for(i in e)n=e[i],this.data[i][t]=n},t.prototype.setItem=function(t,e){return this._setItem(t,e),this.updateSource()},t.prototype.getField=function(t,e){return this.data[e][t]},t.prototype._setField=function(t,e,i){this.data[e][t]=i},t.prototype.setField=function(t,e,i){return this._setField(t,e,i),this.updateSource()},t.prototype.updateSource=function(){return this.source.forceTrigger("data")},t.prototype.getItemMetadata=function(t){return null},t.prototype.getRecords=function(){var t;return function(){var e,i,n;for(n=[],t=e=0,i=this.getLength();i>=0?i>e:e>i;t=i>=0?++e:--e)n.push(this.getItem(t));return n}.call(this)},t.prototype.sort=function(t){var e,i,n,r,o,s,a;for(e=function(){var e,n,r;for(r=[],e=0,n=t.length;n>e;e++)i=t[e],r.push([i.sortCol.field,i.sortAsc?1:-1]);return r}(),f.isEmpty(e)&&(e=[["index",1]]),a=this.getRecords(),a.sort(function(t,i){var n,r,o,s,a,l,u,c;for(r=0,o=e.length;o>r;r++)if(s=e[r],n=s[0],l=s[1],u=t[n],c=i[n],a=u===c?0:u>c?l:-l,0!==a)return a;return 0}),n=r=0,o=a.length;o>r;n=++r)s=a[n],this._setItem(n,s);return this.updateSource()},t}(),c=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.attributes={"class":"bk-data-table"},e.prototype.initialize=function(t){var i;return e.__super__.initialize.call(this,t),a.waitForElement(this.el,function(t){return function(){return t.render()}}(this)),this.listenTo(this.model,"change",function(t){return function(){return t.render()}}(this)),i=this.mget("source"),this.listenTo(i,"change:data",function(t){return function(){return t.updateGrid()}}(this)),this.listenTo(i,"change:selected",function(t){return function(){return t.updateSelection()}}(this))},e.prototype.updateGrid=function(){return this.data=new l(this.mget("source")),this.grid.setData(this.data),this.grid.render()},e.prototype.updateSelection=function(){var t;return t=this.mget("source").get("selected"),this.grid.setSelectedRows(t["1d"].indices)},e.prototype.newIndexColumn=function(){return{id:f.uniqueId(),name:"#",field:"index",width:40,behavior:"select",cannotTriggerInsert:!0,resizable:!1,selectable:!1,sortable:!0,cssClass:"bk-cell-index"}},e.prototype.render=function(){var t,e,i,n,r,s;return i=function(){var t,i,n,r;for(n=this.mget("columns"),r=[],t=0,i=n.length;i>t;t++)e=n[t],r.push(e.toColumn());return r}.call(this),"checkbox"===this.mget("selectable")&&(t=new o({cssClass:"bk-cell-select"}),i.unshift(t.getColumnDefinition())),this.mget("row_headers")&&null!=this.mget("source").get_column("index")&&i.unshift(this.newIndexColumn()),s=this.mget("width"),n=this.mget("height"),r={enableCellNavigation:this.mget("selectable")!==!1,enableColumnReorder:!0,forceFitColumns:this.mget("fit_columns"),autoHeight:"auto"===n,multiColumnSort:this.mget("sortable"),editable:this.mget("editable"),autoEdit:!1},null!=s&&this.ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 48: …+"px"}),null!=n&̲&"auto"!==n&&th…el.css({height:this.mget("height")+"px"}),this.data=new l(this.mget("source")),this.grid=new d(this.el,this.data,i,r),this.grid.onSort.subscribe(function(t){return function(e,n){return i=n.sortCols,t.data.sort(i),t.grid.invalidate(),t.grid.render()}}(this)),this.mget("selectable")!==!1&&(this.grid.setSelectionModel(new p({selectActiveRow:null==t})),null!=t&&this.grid.registerPlugin(t),this.grid.onSelectedRowsChanged.subscribe(function(t){return function(e,i){var n;return n=g.create_hit_test_result(),n["1d"].indices=i.rows,t.mget("source").set("selected",n)}}(this))),this},e}(s),u=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.type="DataTable",e.prototype.default_view=c,e.prototype.defaults=function(){return f.extend({},e.__super__.defaults.call(this),{columns:[],width:null,height:400,fit_columns:!0,sortable:!0,editable:!1,selectable:!0,row_headers:!0})},e}(h),e.exports={Model:u,View:c}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../common/continuum_view":38,"../common/has_properties":44,"../common/hittest":45,"../util/dom_util":176,jquery:17,"jquery-ui/sortable":14,"slick_grid/plugins/slick.checkboxselectcolumn":231,"slick_grid/plugins/slick.rowselectionmodel":232,"slick_grid/slick.grid":234,underscore:22}],189:[function(t,e,i){(function(i){var n,r,o,s,a,l,u,c=function(t,e){return function(){return t.apply(e,arguments)}},h=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;u=t("underscore"),n=t("jquery"),r=null!=i._bokehTest?void 0:t("jquery-ui/datepicker"),o=t("../common/continuum_view"),l=t("../common/has_properties"),a=function(t){function e(){return this.onSelect=c(this.onSelect,this),e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render()},e.prototype.render=function(){var t,e;return this.$el.empty(),e=n("/g,">").replace(/"/g,""")}),function(){(function(){i.push('
                \n
                \n
                \n
                \n '),this.closable&&i.push('\n \n '),i.push('\n

                '),i.push(n(this.title)),i.push('

                \n
                \n
                \n
                \n
                \n
                \n
                \n
                \n
                \n
                \n
                \n')}).call(this)}.call(t),t.safe=r,t.escape=o,i.join("")}},{}],193:[function(t,e,i){var n,r,o,s,a,l,u=function(t,e){function i(){this.constructor=t}for(var n in e)c.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},c={}.hasOwnProperty;l=t("underscore"),n=t("jquery"),r=t("../common/continuum_view"),a=t("../common/has_parent"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.tagName="div",e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render(),this.listenTo(this.model,"change",this.render)},e.prototype.render=function(){var t,e,i,r,o,s,a,l,u,c,h,p,d,f;for(this.$el.empty(),f=null!=this.mget("default_action"),e=n(""),e.addClass("bk-bs-btn"),e.addClass("bk-bs-btn-"+this.mget("type")),e.text(this.mget("label")),i=n(''),f?(e.click(function(t){return function(){return t.change_input(t.mget("default_action"))}}(this)),a=n(""),a.addClass("bk-bs-btn"),a.addClass("bk-bs-btn-"+this.mget("type")),a.addClass("bk-bs-dropdown-toggle"),a.attr("data-bk-bs-toggle","dropdown"),a.append(i)):(e.addClass("bk-bs-dropdown-toggle"),e.attr("data-bk-bs-toggle","dropdown"),e.append(document.createTextNode(" ")),e.append(i),a=n("")),s=n('
                  '),r=n('
                • '),d=this.mget("menu"),u=0,p=d.length;p>u;u++)c=d[u],o=null!=c?(h=c[0],l=c[1],c,t=n("").text(h),t.click(function(t){return function(){return t.change_input(l)}}(this)),n("
                • ").append(t)):r,s.append(o);return this.el.addClass("bk−bs−btn−group"),this.el.addClass("bk-bs-btn-group"),this.el.append([e,a,s]),this},e.prototype.change_input=function(t){var e;return this.mset("action",t),this.model.save(),null!=(e=this.mget("callback"))?e.execute(this.model):void 0},e}(r),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type="Dropdown",e.prototype.default_view=s,e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{action:null,default_action:null,label:"Dropdown",icon:null,type:"default",menu:[],disabled:!1})},e}(a),e.exports={Model:o,View:s}},{"../common/continuum_view":38,"../common/has_parent":43,jquery:17,underscore:22}],194:[function(t,e,i){var n,r,o,s,a,l,u=function(t,e){function i(){this.constructor=t}for(var n in e)c.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},c={}.hasOwnProperty;a=t("underscore"),l=t("../common/build_views"),n=t("../common/continuum_view"),s=t("../common/has_parent"),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.tag="div",e.prototype.attributes={"class":"bk-hbox"},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.views={},this.render(),this.listenTo(this.model,"change",this.render)},e.prototype.render=function(){var t,e,i,n,r,o,s,a,u;e=this.model.children(),l(this.views,e),s=this.views;for(r in s)c.call(s,r)&&(a=s[r],a.el.detach());for(this.el.detach());for(this.el.empty(),u=this.mget("width"),null!=u&&this.ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 53: …eight"),null!=i&̲&this.el.css({height:i+"px"}),n=0,o=e.length;o>n;n++)t=e[n],this.el.append(this.views[t.id].el.append(this.views[t.id].el);return this},e}(n),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type="HBox",e.prototype.default_view=o,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{children:[]})},e.prototype.children=function(){return this.get("children")},e}(s),e.exports={Model:r,View:o}},{"../common/build_views":31,"../common/continuum_view":38,"../common/has_parent":43,underscore:22}],195:[function(t,e,i){var n,r,o,s,a,l=function(t,e){function i(){this.constructor=t}for(var n in e)u.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},u={}.hasOwnProperty;a=t("underscore"),n=t("../common/continuum_view"),r=t("../common/has_parent"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.tagName="i",e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render(),this.listenTo(this.model,"change",this.render)},e.prototype.render=function(){var t,e;return this.el.empty(),this.el.empty(),this.el.addClass("bk-fa"),this.ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 68: …"size"),null!=e&̲&this.el.css({"font-size":e+"em"}),t=this.mget("flip"),null!=t&&this.ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 47: …is.mget("spin")&̲&this.el.addClass("bk-fa-spin"),this},e}(n),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.type="Icon",e.prototype.default_view=s,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{name:"",size:null,flip:null,spin:!1})},e}(r),e.exports={Model:o,View:s}},{"../common/continuum_view":38,"../common/has_parent":43,underscore:22}],196:[function(t,e,i){var n,r;r=t("../hbox"),n=t("./base"),e.exports=n("AppHBox",r)},{"../hbox":194,"./base":199}],197:[function(t,e,i){var n,r;r=t("../vbox"),n=t("./base"),e.exports=n("AppVBox",r)},{"../vbox":218,"./base":199}],198:[function(t,e,i){var n;n=t("../vboxform"),e.exports=t("./base")("AppVBoxForm",n)},{"../vboxform":219,"./base":199}],199:[function(t,e,i){var n,r,o,s,a=function(t,e){function i(){this.constructor=t}for(var n in e)l.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},l={}.hasOwnProperty;o=t("underscore"),s=t("../../common/build_views"),n=t("../../common/continuum_view"),r=t("../../common/has_parent"),e.exports=function(t,e){var i,n;return n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.initialize=function(t){var i;return e.__super__.initialize.call(this,t),i=this.mget("app"),this.listenTo(i,"change:objects",this.render)},e}(e.View),i=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return a(i,e),i.prototype.type=t,i.prototype.default_view=n,i.prototype.children=function(){var t,e,i,n;return t=this.get("app"),n=this.get("children"),i=t.get("objects"),e=o.map(n,function(t){return function(e){return o.isString(e)?t.resolve_ref(i[e]):e}}(this))},i}(r),{Model:i,View:n}}},{"../../common/build_views":31,"../../common/continuum_view":38,"../../common/has_parent":43,underscore:22}],200:[function(t,e,i){var n,r,o,s,a,l,u,c=function(t,e){return function(){return t.apply(e,arguments)}},h=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;l=t("jquery"),n=t("underscore"),r=t("../common/continuum_view"),o=t("../common/has_parent"),u=t("./multiselecttemplate"),a=function(t){function e(){return this.render_selection=c(this.render_selection,this),e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.tagName="div",e.prototype.template=u,e.prototype.events={"change select":"change_input"},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render(),this.listenTo(this.model,"change:value",this.render_selection),this.listenTo(this.model,"change:options",this.render),this.listenTo(this.model,"change:name",this.render),this.listenTo(this.model,"change:title",this.render)},e.prototype.render=function(){var t;return this.el.empty(),t=this.template(this.model.attributes),this.el.empty(),t=this.template(this.model.attributes),this.el.html(t),this.render_selection(),this},e.prototype.render_selection=function(){var t;return t={},l.map(this.mget("value"),function(e){return t[e]=!0}),this.ParseError: KaTeX parse error: Expected '}', got 'EOF' at end of input: …(i){return i=e.(i),t[i.attr("value")]?i.attr("selected","selected"):void 0}}(this))},e.prototype.change_input=function(){var t;return this.mset("value",this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 109: …s.model):void 0}̲,e}(r),s=functi…el.empty(),this},e}(r),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type="Panel",e.prototype.default_view=a,e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{title:"",child:null,closable:!1})},e}(o),e.exports={Model:s,View:a}},{"../common/continuum_view":38,"../common/has_properties":44,jquery:17,underscore:22}],203:[function(t,e,i){var n,r,o,s,a,l=function(t,e){function i(){this.constructor=t}for(var n in e)u.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},u={}.hasOwnProperty;a=t("underscore"),n=t("../common/continuum_view"),r=t("../common/has_parent"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return l(e,t),e.prototype.tagName="p",e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render(),this.listenTo(this.model,"change",this.render)},e.prototype.render=function(){return this.mget("height")&&this.ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 50: …s.mget("width")&̲&this.el.width(this.mget("width")),this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 32: …t("text")),this}̲,e}(n),o=functi…el.empty(),this.el.addClass("bk−bs−btn−group"),this.el.addClass("bk-bs-btn-group"),this.el.attr("data-bk-bs-toggle","buttons"),l=u.uniqueId("RadioButtonGroup"),i=this.mget("active"),c=this.mget("labels"),r=o=0,a=c.length;a>o;r=++o)s=c[r],t=n(''),e.text(s).prepend(t),e.addClass("bk-bs-btn-"+this.mget("type")),r===i&&e.addClass("bk-bs-active"),this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 25: …(e);return this}̲,e.prototype.ch…("input"),o=[],e=t=0,n=r.length;n>t;e=++t)i=r[e],i.checked&&o.push(e);return o}.call(this),this.mset("active",t[0]),this.model.save(),null!=(n=this.mget("callback"))?n.execute(this.model):void 0},e}(o),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.type="RadioButtonGroup",e.prototype.default_view=l,e.prototype.defaults=function(){return u.extend({},e.__super__.defaults.call(this),{active:null,labels:[],type:"default",disabled:!1})},e}(s),e.exports={Model:a,View:l}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../common/continuum_view":38,"../common/has_parent":43,"bootstrap/button":220,jquery:17,underscore:22}],206:[function(t,e,i){var n,r,o,s,a,l,u=function(t,e){function i(){this.constructor=t}for(var n in e)c.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},c={}.hasOwnProperty;l=t("underscore"),n=t("jquery"),r=t("../common/continuum_view"),o=t("../common/has_parent"),a=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.tagName="div",e.prototype.events={"change input":"change_input"},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render(),this.listenTo(this.model,"change",this.render)},e.prototype.render=function(){var t,e,i,r,o,s,a,u,c,h;for(this.el.empty(),c=l.uniqueId("RadioGroup"),r=this.mget("active"),h=this.mget("labels"),o=s=0,u=h.length;u>s;o=++s)a=h[o],e=n(′").text(a).prepend(e),this.mget("inline")?(i.addClass("bk−bs−radio−inline"),this.el.empty(),c=l.uniqueId("RadioGroup"),r=this.mget("active"),h=this.mget("labels"),o=s=0,u=h.length;u>s;o=++s)a=h[o],e=n('").text(a).prepend(e),this.mget("inline")?(i.addClass("bk-bs-radio-inline"),this.el.append(i)):(t=n('
                  ').append(i),this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 26: …t));return this}̲,e.prototype.ch…("input"),o=[],e=t=0,n=r.length;n>t;e=++t)i=r[e],i.checked&&o.push(e);return o}.call(this),this.mset("active",t[0]),this.model.save()},e}(r),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return u(e,t),e.prototype.type="RadioGroup",e.prototype.default_view=a,e.prototype.defaults=function(){return l.extend({},e.__super__.defaults.call(this),{active:null,labels:[],inline:!1,disabled:!1})},e}(o),e.exports={Model:s,View:a}},{"../common/continuum_view":38,"../common/has_parent":43,jquery:17,underscore:22}],207:[function(t,e,i){var n,r,o,s,a,l,u,c=function(t,e){function i(){this.constructor=t}for(var n in e)h.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},h={}.hasOwnProperty;a=t("underscore"),n=t("../common/continuum_view"),r=t("../common/has_parent"),l=t("../common/logging").logger,u=t("./selecttemplate"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return c(e,t),e.prototype.tagName="div",e.prototype.template=u,e.prototype.events={"change select":"change_input"},e.prototype.change_input=function(){var t,e;return e=this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 150: …s.model):void 0}̲,e.prototype.in…el.empty(),t=this.template(this.model.attributes),this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 16: el.html(t),this}̲,e}(n),o=functi…el.html(""),t=this.mget("layout"),this.layout_view=new t.default_view({model:t}),this.el.append(this.layoutview.el.append(this.layout_view.el),this},e}(n),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return a(e,t),e.prototype.type="SimpleApp",e.prototype.default_view=s,e}(r),e.exports={Model:o,View:s}},{"../common/continuum_view":38,"../common/has_parent":43}],210:[function(t,e,i){var n,r,o,s,a,l,u,c=function(t,e){return function(){return t.apply(e,arguments)}},h=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;a=t("underscore"),n=t("../common/continuum_view"),r=t("../common/has_parent"),l=t("../common/logging").logger,u=t("./slidertemplate"),s=function(t){function e(){return this.slide=c(this.slide,this),e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.tagName="div",e.prototype.template=u,e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render()},e.prototype.render=function(){var t,e,i,n;return this.el.empty(),t=this.template(this.model.attributes),this.el.empty(),t=this.template(this.model.attributes),this.el.html(t),e=this.mget("end"),i=this.mget("start"),n=this.mget("step")||(e-i)/50,l.debug("slider render: min, max, step = ("+i+", "+e+", "+n+")"),this.(".slider").slider(orientation:this.mget("orientation"),animate:"fast",slide:a.throttle(this.slide,200),value:this.mget("value"),min:i,max:e,step:n),this.(".slider").slider({orientation:this.mget("orientation"),animate:"fast",slide:a.throttle(this.slide,200),value:this.mget("value"),min:i,max:e,step:n}),this.("#"+this.mget("id")).val(this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 34: …("value")),this}̲,e.prototype.sl…("#"+this.mget("id")).val(e.value),this.mset("value",n),this.model.save(),null!=(i=this.mget("callback"))?i.execute(this.model):void 0},e}(n),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.type="Slider",e.prototype.default_view=s,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{title:"",value:.5,start:0,end:1,step:0,orientation:"horizontal"})},e}(r),e.exports={Model:o,View:s}},{"../common/continuum_view":38,"../common/has_parent":43,"../common/logging":48,"./slidertemplate":211,underscore:22}],211:[function(t,e,i){e.exports=function(t){t||(t={});var e,i=[],n=function(t){return t&&t.ecoSafe?t:"undefined"!=typeof t&&null!=t?o(t):""},r=t.safe,o=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},o||(o=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}),function(){(function(){i.push('\n/g,">").replace(/"/g,""")}),function(){(function(){var t,e,r,o,s,a,l,u;for(i.push('\n
                  \n '),l=this.tabs,t=r=0,s=l.length;s>r;t=++r)u=l[t],i.push('\n
                  \n ');i.push("\n
                  \n")}).call(this)}.call(t),t.safe=r,t.escape=o,i.join("")}},{}],215:[function(t,e,i){var n,r,o,s,a,l,u,c,h=function(t,e){function i(){this.constructor=t}for(var n in e)p.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},p={}.hasOwnProperty;a=t("underscore"),l=t("../common/build_views"),n=t("../common/continuum_view"),r=t("../common/has_parent"),u=t("../common/logging").logger,c=t("./text_input_template"),s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.tagName="div",e.prototype.attributes={"class":"bk-widget-form-group"},e.prototype.template=c,e.prototype.events={"change input":"change_input"},e.prototype.initialize=function(t){return e.__super__.initialize.call(this,t),this.render(),this.listenTo(this.model,"change",this.render)},e.prototype.render=function(){return this.ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 51: …tributes)),this}̲,e.prototype.ch…("input").val(),u.debug("widget/text_input: value = "+e),this.mset("value",e),this.model.save(),null!=(t=this.mget("callback"))?t.execute(this.model):void 0},e}(n),o=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return h(e,t),e.prototype.type="TextInput",e.prototype.default_view=s,e.prototype.defaults=function(){return a.extend({},e.__super__.defaults.call(this),{name:"",value:"",title:""})},e}(r),e.exports={Model:o,View:s}},{"../common/build_views":31,"../common/continuum_view":38,"../common/has_parent":43,"../common/logging":48,"./text_input_template":216,underscore:22}],216:[function(t,e,i){e.exports=function(t){t||(t={});var e,i=[],n=function(t){return t&&t.ecoSafe?t:"undefined"!=typeof t&&null!=t?o(t):""},r=t.safe,o=t.escape;return e=t.safe=function(t){if(t&&t.ecoSafe)return t;("undefined"==typeof t||null==t)&&(t="");var e=new String(t);return e.ecoSafe=!0,e},o||(o=t.escape=function(t){return(""+t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}),function(){(function(){i.push('\n/g,">")}function getFormatter(t,e){function i(t,e,i,n,r){return s.format(t,e,i,n,r)}var n=data.getItemMetadata&&data.getItemMetadata(t),r=n&&n.columns&&(n.columns[e.id]||n.columns[getColumnIndex(e.id)]),o=r&&r.formatter||n&&n.formatter||e.formatter||options.formatterFactory&&options.formatterFactory.getFormatter(e)||options.defaultFormatter;if(void 0!==o.format){var s=o;o=i}return o}function getEditor(t,e){var i,n=columns[e],r=data.getItemMetadata&&data.getItemMetadata(t),o=r&&r.columns;return i=o&&o[n.id]&&void 0!==o[n.id].editor?o[n.id].editor:o&&o[e]&&void 0!==o[e].editor?o[e].editor:n.editor||options.editorFactory&&options.editorFactory.getEditor(n),void 0!==i.default_view&&(i=i.default_view),i}function getDataItemValueForColumn(t,e){return options.dataItemColumnValueExtractor?options.dataItemColumnValueExtractor(t,e):t[e.field]}function appendRowHtml(t,e,i,n){var r=getDataItem(e),o=n>e&&!r,s="bk-slick-row"+(o?" loading":"")+(e===activeRow?" active":"")+(e%2==1?" odd":" even");r||(s+=" "+options.addNewRowCssClass);var a=data.getItemMetadata&&data.getItemMetadata(e);a&&a.cssClasses&&(s+=" "+a.cssClasses),t.push("
                  ");for(var l,u,c=0,h=columns.length;h>c;c++){if(u=columns[c],l=1,a&&a.columns){var p=a.columns[u.id]||a.columns[c];l=p&&p.colspan||1,"*"===l&&(l=h-c)}if(columnPosRight[Math.min(h-1,c+l-1)]>i.leftPx){if(columnPosLeft[c]>i.rightPx)break;appendCellHtml(t,e,c,l,r)}l>1&&(c+=l-1)}t.push("
                  ")}function appendCellHtml(t,e,i,n,r){var o=columns[i],s="bk-slick-cell l"+i+" r"+Math.min(columns.length-1,i+n-1)+(o.cssClass?" "+o.cssClass:"");e===activeRow&&i===activeCell&&(s+=" active");for(var a in cellCssClasses)cellCssClasses[a][e]&&cellCssClasses[a][e][o.id]&&(s+=" "+cellCssClasses[a][e][o.id]);if(t.push("
                  "),r){var l=getDataItemValueForColumn(r,o);t.push(getFormatter(e,o)(e,i,l,o,r))}t.push("
                  "),rowsCache[e].cellRenderQueue.push(i),rowsCache[e].cellColSpans[i]=n}function cleanupRows(t){for(var e in rowsCache)(e=parseInt(e,10))!==activeRow&&(e
                  BokehJS successfully loaded.
    x = np.arange(-np.pi, np.pi, 0.01) y = np.sin(x) fig = figure() fig.line(x, y) show(fig)